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

66 lines
3.4 KiB
TypeScript
Raw Normal View History

// Module ID: 8513
// Function ID: 8514
2026-07-20 16:05:17 +00:00
// Name: AgeVerificationEmbeddedIntroScreen
// Dependencies: [19, 673, 21, 4481, 709, 8348, 8506, 8514, 8351, 8352, 4934, 5647, 4477, 4741, 8516, 1233, 2918, 8341, 1994, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
// Module 8513 (AgeVerificationEmbeddedIntroScreen)
2026-09-02 09:53:35 +00:00
import ThemesDefault from "Themes" /* 709 */;
import messagesProxyDefault from "messagesProxy" /* 2918 */;
import useAgeVerificationMethodsDefault from "useAgeVerificationMethods" /* 8514 */;
2026-08-24 06:08:38 +00:00
import closure_3 from "noop" /* 19 */;
2026-09-02 09:53:35 +00:00
import { HelpdeskArticles } from "ME" /* 673 */;
2026-08-24 06:08:38 +00:00
import jsxProd from "jsxProd" /* 21 */;
import createCacheKey from "createCacheKey" /* 4481 */;
2026-07-23 10:11:24 +00:00
const require = arg1;
2026-07-29 08:29:29 +00:00
({ jsx: c5, jsxs: closure_6 } = jsxProd);
createCacheKey = { header: { textAlign: "center" }, helpLink: null };
2026-08-24 06:08:38 +00:00
createCacheKey = { marginTop: ThemesDefault.space.PX_16, textAlign: "center" };
2026-07-29 08:29:29 +00:00
createCacheKey[1] = createCacheKey;
2026-08-24 06:08:38 +00:00
let closure_7 = createCacheKey.createStyles(createCacheKey);
const result = require("set").fileFinishedImporting("modules/age_assurance/native/AgeVerificationEmbeddedIntroScreen.tsx");
2026-07-20 16:05:17 +00:00
export default function AgeVerificationEmbeddedIntroScreen(arg0) {
({ entryPoint, navigation } = arg0);
({ onClose, modalSessionId, classificationId } = arg0);
2026-08-24 06:08:38 +00:00
const tmp = callback3();
let obj = navigation(8348);
2026-07-20 16:05:17 +00:00
const items = [navigation];
const isSuspendedUser = obj.useIsSuspendedUser();
const callback = React.useCallback(() => {
2026-08-24 06:08:38 +00:00
navigation.navigate(navigation(closure_1_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 };
2026-08-24 06:08:38 +00:00
obj1 = { align: "center", justify: "center", spacing: 24, children: null };
2026-07-29 08:29:29 +00:00
const obj2 = { align: "center", justify: "center", spacing: 16, children: null };
const items1 = [callback(navigation(5647).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 };
let obj7 = navigation(4741);
2026-07-29 08:29:29 +00:00
obj4[3] = obj7.getAgeVerificationGetStartedTitle(entryPoint);
const items2 = [callback(navigation(4477).Text, obj4), ];
const obj5 = { variant: "text-md/medium", color: "text-strong", style: tmp.header, children: navigation(4741).getAgeVerificationGetStartedSubtitle(entryPoint, undefined, isSuspendedUser) };
items2[1] = callback(navigation(4477).Text, obj5);
2026-07-29 08:29:29 +00:00
obj3[3] = items2;
items1[1] = callback2(navigation(4934).Stack, obj3);
2026-07-29 08:29:29 +00:00
obj2[3] = items1;
const items3 = [callback2(navigation(4934).Stack, obj2), callback(navigation(8516).AgeVerificationMethodsContainer, { ageVerificationMethods: useAgeVerificationMethodsDefault({ onClose, classificationId, onGoogleWalletSelect: callback }).ageVerificationMethods, modalSessionId })];
2026-07-29 08:29:29 +00:00
obj1[3] = items3;
const items4 = [callback2(navigation(4934).Stack, obj1), ];
2026-07-29 08:29:29 +00:00
const obj6 = { variant: "text-xs/medium", color: "text-muted", style: tmp.helpLink, children: null };
2026-09-02 09:53:35 +00:00
const intl = navigation(1233).intl;
2026-07-20 16:05:17 +00:00
obj7 = {
handleOnHelpUrlHook() {
const obj = callback(8341);
2026-09-02 09:53:35 +00:00
obj.openUrl(callback(1994).getArticleURL(constants.TIGGER_PAWTECT_LEARN_MORE));
2026-07-20 16:05:17 +00:00
}
};
2026-08-24 06:08:38 +00:00
obj6[3] = intl.format(messagesProxyDefault.lG69e1, obj7);
items4[1] = callback(navigation(4477).Text, obj6);
2026-07-29 08:29:29 +00:00
obj[0] = items4;
obj[0] = callback2(navigation(8352).ModalContent, obj);
return callback(navigation(8351).ModalScreen, obj);
2026-07-20 16:05:17 +00:00
};