decord/source/modules/age_assurance/native/AgeVerificationEmbeddedIntroScreen.tsx

71 lines
3.4 KiB
TypeScript
Raw Normal View History

2026-08-05 07:35:12 +00:00
// Module ID: 7740
// Function ID: 7741
2026-07-20 16:05:17 +00:00
// Name: AgeVerificationEmbeddedIntroScreen
2026-08-05 07:35:12 +00:00
// Dependencies: [19, 676, 21, 4255, 712, 7699, 7733, 7741, 7729, 7730, 4663, 5921, 4251, 4470, 7743, 1236, 2773, 7692, 1945, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-08-05 07:35:12 +00:00
// Module 7740 (AgeVerificationEmbeddedIntroScreen)
2026-07-29 08:29:29 +00:00
import set from "set";
2026-07-23 10:11:24 +00:00
import { HelpdeskArticles } from "ME";
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 c5;
2026-07-23 10:11:24 +00:00
let closure_6;
const require = arg1;
2026-07-29 08:29:29 +00:00
({ jsx: c5, jsxs: closure_6 } = jsxProd);
createCacheKey = { header: { textAlign: "center" }, helpLink: null };
createCacheKey = { marginTop: require("Themes").space.PX_16, textAlign: "center" };
createCacheKey[1] = createCacheKey;
createCacheKey = createCacheKey.createStyles(createCacheKey);
2026-07-23 10:11:24 +00:00
const result = require("jsxProd").fileFinishedImporting("modules/age_assurance/native/AgeVerificationEmbeddedIntroScreen.tsx");
2026-07-20 16:05:17 +00:00
export default function AgeVerificationEmbeddedIntroScreen(arg0) {
let classificationId;
let entryPoint;
let modalSessionId;
let navigation;
let onClose;
({ entryPoint, navigation } = arg0);
({ onClose, modalSessionId, classificationId } = arg0);
2026-07-29 08:29:29 +00:00
const tmp = createCacheKey();
2026-08-05 07:35:12 +00:00
let obj = navigation(7699);
2026-07-20 16:05:17 +00:00
const items = [navigation];
const isSuspendedUser = obj.useIsSuspendedUser();
const callback = React.useCallback(() => {
2026-07-23 10:11:24 +00:00
navigation.navigate(navigation(outer1_2[6]).AgeVerificationGetStartedModalScenes.GOOGLE_WALLET_VERIFICATION);
2026-07-20 16:05:17 +00:00
}, items);
2026-07-29 08:29:29 +00:00
obj = { children: null };
obj = { children: null };
const obj1 = { align: "center", justify: "center", spacing: 24, children: null };
const obj2 = { align: "center", justify: "center", spacing: 16, children: null };
2026-08-05 07:35:12 +00:00
const items1 = [callback(navigation(5921).ShieldSpotIllustration, { height: 100, width: 177 }), ];
2026-07-29 08:29:29 +00:00
const obj3 = { align: "center", justify: "center", spacing: 8, children: null };
const obj4 = { accessibilityRole: "header", variant: "heading-xl/bold", color: "mobile-text-heading-primary", children: null };
2026-08-05 07:35:12 +00:00
let obj7 = navigation(4470);
2026-07-29 08:29:29 +00:00
obj4[3] = obj7.getAgeVerificationGetStartedTitle(entryPoint);
2026-08-05 07:35:12 +00:00
const items2 = [callback(navigation(4251).Text, obj4), ];
2026-07-29 08:29:29 +00:00
const obj5 = { variant: "text-md/medium", color: "text-strong", style: tmp.header, children: null };
2026-08-05 07:35:12 +00:00
obj5[3] = navigation(4470).getAgeVerificationGetStartedSubtitle(entryPoint, undefined, isSuspendedUser);
items2[1] = callback(navigation(4251).Text, obj5);
2026-07-29 08:29:29 +00:00
obj3[3] = items2;
2026-08-05 07:35:12 +00:00
items1[1] = callback2(navigation(4663).Stack, obj3);
2026-07-29 08:29:29 +00:00
obj2[3] = items1;
2026-08-05 07:35:12 +00:00
const items3 = [callback2(navigation(4663).Stack, obj2), callback(navigation(7743).AgeVerificationMethodsContainer, { ageVerificationMethods: importDefault(7741)({ onClose, classificationId, onGoogleWalletSelect: callback }).ageVerificationMethods, modalSessionId })];
2026-07-29 08:29:29 +00:00
obj1[3] = items3;
2026-08-05 07:35:12 +00:00
const items4 = [callback2(navigation(4663).Stack, obj1), ];
2026-07-29 08:29:29 +00:00
const obj6 = { variant: "text-xs/medium", color: "text-muted", style: tmp.helpLink, children: null };
const intl = navigation(1236).intl;
2026-07-20 16:05:17 +00:00
obj7 = {
handleOnHelpUrlHook() {
2026-08-05 07:35:12 +00:00
const obj = callback(7692);
2026-07-29 08:29:29 +00:00
obj.openUrl(callback(1945).getArticleURL(constants.TIGGER_PAWTECT_LEARN_MORE));
2026-07-20 16:05:17 +00:00
}
};
2026-08-05 07:35:12 +00:00
obj6[3] = intl.format(importDefault(2773).lG69e1, obj7);
items4[1] = callback(navigation(4251).Text, obj6);
2026-07-29 08:29:29 +00:00
obj[0] = items4;
2026-08-05 07:35:12 +00:00
obj[0] = callback2(navigation(7730).ModalContent, obj);
return callback(navigation(7729).ModalScreen, obj);
2026-07-20 16:05:17 +00:00
};