decord/source/modules/verification/native/components/ChangeEmailComplete.tsx
2026-08-25 06:04:03 +00:00

68 lines
3.6 KiB
TypeScript

// Module ID: 8670
// Function ID: 8671
// Name: handlePress
// Dependencies: [19, 17, 8610, 21, 4380, 712, 8608, 8619, 4376, 1236, 4815, 2]
// Exports: default
// Module 8670 (handlePress)
import noopAll from "noop" /* 19 */;
import ThemesDefault from "Themes" /* 712 */;
import getSystemLocale from "getSystemLocale" /* 1236 */;
import Text from "Text" /* 4376 */;
import Button from "Button" /* 4815 */;
import _modDef8608 from "module_8608" /* 8608 */;
import registerAssetDefault from "registerAsset" /* 8619 */;
import get_ActivityIndicator from "get ActivityIndicator" /* 17 */;
import { resetChangeEmailStore } from "ChangeEmailFields" /* 8610 */;
import jsxProd from "jsxProd" /* 21 */;
import createCacheKey from "createCacheKey" /* 4380 */;
require = arg1;
function handlePress() {
resetChangeEmailStore();
_modDef8608.close();
}
noopAll;
({ View: c3, Image: c4, ScrollView: c5 } = get_ActivityIndicator);
({ jsx: error, jsxs: closure_8 } = jsxProd);
createCacheKey = { contentContainer: null, image: null, title: null, body: null, bodyInner: null, tooltip: null };
createCacheKey = { flexGrow: 2, paddingHorizontal: ThemesDefault.space.PX_16, paddingBottom: ThemesDefault.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(ThemesDefault.shadows.SHADOW_LOW);
createCacheKey[5] = { backgroundColor: ThemesDefault.colors.BACKGROUND_SURFACE_HIGH, width: "100%", padding: 12, borderWidth: 1, borderStyle: "solid", borderRadius: ThemesDefault.radii.sm, borderColor: ThemesDefault.colors.BORDER_SUBTLE };
let closure_9 = createCacheKey.createStyles(createCacheKey);
let obj1 = { backgroundColor: ThemesDefault.colors.BACKGROUND_SURFACE_HIGH, width: "100%", padding: 12, borderWidth: 1, borderStyle: "solid", borderRadius: ThemesDefault.radii.sm, borderColor: ThemesDefault.colors.BORDER_SUBTLE };
const result = require("set").fileFinishedImporting("modules/verification/native/components/ChangeEmailComplete.tsx");
export default function ChangeEmailComplete(email) {
const tmp = callback3();
let obj = { keyboardShouldPersistTaps: "handled", alwaysBounceVertical: false, contentContainerStyle: tmp.contentContainer, children: null };
obj = { style: tmp.image, source: registerAssetDefault };
const items = [callback(closure_4, obj), , , ];
obj = { style: tmp.bodyInner, children: null };
obj1 = { style: tmp.title, accessibilityRole: "header", variant: "heading-xl/extrabold", color: "mobile-text-heading-primary", children: null };
const intl = getSystemLocale.intl;
obj1[4] = intl.string(getSystemLocale.t["8O+nF7"]);
const items1 = [callback(Text.Text, obj1), ];
const obj2 = { style: tmp.body, variant: "text-sm/medium", color: "text-default", children: null };
const intl2 = getSystemLocale.intl;
obj2[3] = intl2.format(getSystemLocale.t.Zvx0O3, { email: email.email });
items1[1] = callback(Text.Text, obj2);
obj[1] = items1;
items[1] = callback2(closure_3, obj);
const obj3 = { style: tmp.tooltip, variant: "text-sm/normal", children: null };
const intl3 = getSystemLocale.intl;
obj3[2] = intl3.string(getSystemLocale.t.yb7itQ);
items[2] = callback(Text.Text, obj3);
const obj4 = { text: null, onPress: null, grow: true };
const intl4 = getSystemLocale.intl;
obj4[0] = intl4.string(getSystemLocale.t.BddRzS);
obj4[1] = handlePress;
items[3] = callback(Button.Button, obj4);
obj[3] = items;
return callback2(closure_5, obj);
};