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

70 lines
3.3 KiB
TypeScript
Raw Normal View History

2026-07-24 07:16:23 +00:00
// Module ID: 9226
// Function ID: 72181
2026-07-20 16:05:17 +00:00
// Name: ConfirmEmailChangeStart
2026-07-24 07:16:23 +00:00
// Dependencies: [5, 57, 31, 27, 1849, 33, 4130, 1456, 566, 9227, 668, 4030, 3831, 1212, 9228, 4126, 4543, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-07-24 07:16:23 +00:00
// Module 9226 (ConfirmEmailChangeStart)
2026-07-23 10:11:24 +00:00
import closure_3 from "jsxProd";
import _slicedToArray from "_slicedToArray";
import result from "result";
import get_ActivityIndicator from "get ActivityIndicator";
import _isNativeReflectConstruct from "_isNativeReflectConstruct";
import jsxProd from "jsxProd";
import _createForOfIteratorHelperLoose from "_createForOfIteratorHelperLoose";
let closure_10;
let closure_11;
let closure_6;
let closure_7;
let closure_8;
let require = arg1;
({ View: closure_6, Image: closure_7, ScrollView: closure_8 } = get_ActivityIndicator);
({ jsx: closure_10, jsxs: closure_11 } = jsxProd);
let closure_12 = _createForOfIteratorHelperLoose.createStyles({ container: { flex: 1, padding: 16, alignItems: "center", justifyContent: "center" }, image: { height: 190, width: 220, resizeMode: "contain" }, title: { marginTop: 16, textAlign: "center" }, body: { marginTop: 8, lineHeight: 18, textAlign: "center" }, button: { marginTop: 16, width: "100%" } });
const result = require("result").fileFinishedImporting("modules/verification/native/components/ConfirmEmailChangeStart.tsx");
2026-07-20 16:05:17 +00:00
export default function ConfirmEmailChangeStart() {
const tmp = callback4();
2026-07-23 10:11:24 +00:00
const require = tmp;
let obj = require(1456) /* useNavigation */;
2026-07-20 16:05:17 +00:00
const navigation = obj.useNavigation();
2026-07-23 10:11:24 +00:00
let obj1 = require(566) /* initialize */;
const items = [_isNativeReflectConstruct];
const stateFromStores = obj1.useStateFromStores(items, () => outer1_9.getCurrentUser());
2026-07-20 16:05:17 +00:00
const tmp4 = callback(React.useState(false), 2);
2026-07-23 10:11:24 +00:00
const dependencyMap = tmp4[1];
2026-07-20 16:05:17 +00:00
// CreateGeneratorClosureLongIndex (0x67)
[][0] = navigation;
if (null == stateFromStores) {
return null;
} else {
2026-07-23 10:11:24 +00:00
const intl = require(1212) /* getSystemLocale */.intl;
2026-07-20 16:05:17 +00:00
obj = { oldEmail: stateFromStores.email };
2026-07-23 10:11:24 +00:00
obj = { keyboardShouldPersistTaps: "handled", alwaysBounceVertical: false };
2026-07-20 16:05:17 +00:00
obj1 = { style: tmp.container };
2026-07-24 07:16:23 +00:00
const obj2 = { style: tmp.image, source: navigation(9228) };
2026-07-20 16:05:17 +00:00
const items1 = [callback2(closure_7, obj2), , , ];
2026-07-23 10:11:24 +00:00
const obj3 = { style: tmp.title, accessibilityRole: "header", variant: "heading-xl/extrabold", color: "mobile-text-heading-primary" };
const intl2 = require(1212) /* getSystemLocale */.intl;
obj3.children = intl2.string(require(1212) /* getSystemLocale */.t.dQ71Wa);
items1[1] = callback2(require(4126) /* Text */.Text, obj3);
items1[2] = intl.format(require(1212) /* getSystemLocale */.t.oMFSgi, obj).map((children) => {
const obj = { style: tmp.body, variant: "text-sm/medium", color: "text-default", children };
return outer1_10(tmp(table[15]).Text, obj, arg1);
});
2026-07-20 16:05:17 +00:00
const obj4 = { style: tmp.button };
const obj5 = {};
2026-07-23 10:11:24 +00:00
const intl3 = require(1212) /* getSystemLocale */.intl;
obj5.text = intl3.string(require(1212) /* getSystemLocale */.t.rXV81H);
2026-07-20 16:05:17 +00:00
obj5.onPress = tmp5;
obj5.loading = tmp4[0];
obj5.grow = true;
2026-07-23 10:11:24 +00:00
obj4.children = callback2(require(4543) /* Button */.Button, obj5);
2026-07-20 16:05:17 +00:00
items1[3] = callback2(closure_6, obj4);
obj1.children = items1;
obj.children = callback3(closure_6, obj1);
return callback2(closure_8, obj);
}
};