decord/source/modules/verification/native/components/ChangeEmailComplete.tsx

67 lines
3.6 KiB
TypeScript
Raw Normal View History

2026-08-05 07:35:12 +00:00
// Module ID: 8298
// Function ID: 8299
2026-07-20 16:05:17 +00:00
// Name: handlePress
2026-08-05 07:35:12 +00:00
// Dependencies: [19, 17, 8236, 21, 4255, 712, 8234, 8245, 4251, 1236, 4665, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-08-05 07:35:12 +00:00
// Module 8298 (handlePress)
2026-07-29 08:29:29 +00:00
import "noop";
2026-07-23 10:11:24 +00:00
import get_ActivityIndicator from "get ActivityIndicator";
2026-07-29 08:29:29 +00:00
import { resetChangeEmailStore } from "ChangeEmailFields";
2026-07-23 10:11:24 +00:00
import jsxProd from "jsxProd";
2026-07-29 08:29:29 +00:00
import createCacheKey from "createCacheKey";
2026-07-23 10:11:24 +00:00
2026-07-29 08:29:29 +00:00
let c3;
let c4;
let c5;
let error;
let metroImportAll;
2026-07-23 10:11:24 +00:00
const require = arg1;
2026-07-20 16:05:17 +00:00
function handlePress() {
resetChangeEmailStore();
2026-08-05 07:35:12 +00:00
importDefault(8234).close();
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
({ View: c3, Image: c4, ScrollView: c5 } = get_ActivityIndicator);
({ jsx: error, jsxs: metroImportAll } = jsxProd);
createCacheKey = { contentContainer: null, image: null, title: null, body: null, bodyInner: null, tooltip: null };
createCacheKey = { flexGrow: 2, paddingHorizontal: require("Themes").space.PX_16, paddingBottom: require("Themes").space.PX_16, gap: 20, alignItems: "center" };
createCacheKey[0] = createCacheKey;
createCacheKey[1] = { height: 190, width: 220, resizeMode: "contain" };
createCacheKey[2] = { textAlign: "center" };
createCacheKey[3] = { textAlign: "center" };
createCacheKey[4] = { gap: 2 };
const merged = Object.assign(require("Themes").shadows.SHADOW_LOW);
createCacheKey[5] = { backgroundColor: require("Themes").colors.BACKGROUND_SURFACE_HIGH, width: "100%", padding: 12, borderWidth: 1, borderStyle: "solid", borderRadius: require("Themes").radii.sm, borderColor: require("Themes").colors.BORDER_SUBTLE };
createCacheKey = createCacheKey.createStyles(createCacheKey);
let obj1 = { backgroundColor: require("Themes").colors.BACKGROUND_SURFACE_HIGH, width: "100%", padding: 12, borderWidth: 1, borderStyle: "solid", borderRadius: require("Themes").radii.sm, borderColor: require("Themes").colors.BORDER_SUBTLE };
const result = require("ChangeEmailFields").fileFinishedImporting("modules/verification/native/components/ChangeEmailComplete.tsx");
2026-07-20 16:05:17 +00:00
export default function ChangeEmailComplete(email) {
2026-07-29 08:29:29 +00:00
const tmp = createCacheKey();
let obj = { keyboardShouldPersistTaps: "handled", alwaysBounceVertical: false, contentContainerStyle: tmp.contentContainer, children: null };
2026-08-05 07:35:12 +00:00
obj = { style: tmp.image, source: importDefault(8245) };
2026-07-20 16:05:17 +00:00
const items = [callback(closure_4, obj), , , ];
2026-07-29 08:29:29 +00:00
obj = { style: tmp.bodyInner, children: null };
const obj1 = { style: tmp.title, accessibilityRole: "header", variant: "heading-xl/extrabold", color: "mobile-text-heading-primary", children: null };
const intl = require(1236) /* getSystemLocale */.intl;
obj1[4] = intl.string(require(1236) /* getSystemLocale */.t["8O+nF7"]);
2026-08-05 07:35:12 +00:00
const items1 = [callback(require(4251) /* Text */.Text, obj1), ];
2026-07-29 08:29:29 +00:00
const obj2 = { style: tmp.body, variant: "text-sm/medium", color: "text-default", children: null };
const intl2 = require(1236) /* getSystemLocale */.intl;
obj2[3] = intl2.format(require(1236) /* getSystemLocale */.t.Zvx0O3, { email: email.email });
2026-08-05 07:35:12 +00:00
items1[1] = callback(require(4251) /* Text */.Text, obj2);
2026-07-29 08:29:29 +00:00
obj[1] = items1;
2026-07-20 16:05:17 +00:00
items[1] = callback2(closure_3, obj);
2026-07-29 08:29:29 +00:00
const obj3 = { style: tmp.tooltip, variant: "text-sm/normal", children: null };
const intl3 = require(1236) /* getSystemLocale */.intl;
obj3[2] = intl3.string(require(1236) /* getSystemLocale */.t.yb7itQ);
2026-08-05 07:35:12 +00:00
items[2] = callback(require(4251) /* Text */.Text, obj3);
2026-07-29 08:29:29 +00:00
const obj4 = { text: null, onPress: null, grow: true };
const intl4 = require(1236) /* getSystemLocale */.intl;
obj4[0] = intl4.string(require(1236) /* getSystemLocale */.t.BddRzS);
obj4[1] = handlePress;
2026-08-05 07:35:12 +00:00
items[3] = callback(require(4665) /* Button */.Button, obj4);
2026-07-29 08:29:29 +00:00
obj[3] = items;
2026-07-20 16:05:17 +00:00
return callback2(closure_5, obj);
};