// Module ID: 7623 // Function ID: 60683 // Name: AgeVerificationEmbeddedIntroScreen // Dependencies: [31, 653, 33, 4130, 689, 7588, 7616, 7624, 7613, 7614, 4541, 5807, 4126, 4347, 7629, 1212, 2716, 7581, 1920, 2] // Exports: default // Module 7623 (AgeVerificationEmbeddedIntroScreen) import result from "result"; import { HelpdeskArticles } from "ME"; import jsxProd from "jsxProd"; import _createForOfIteratorHelperLoose from "_createForOfIteratorHelperLoose"; let closure_5; let closure_6; const require = arg1; ({ jsx: closure_5, jsxs: closure_6 } = jsxProd); _createForOfIteratorHelperLoose = { header: { textAlign: "center" } }; _createForOfIteratorHelperLoose = { marginTop: require("_createForOfIteratorHelperLoose").space.PX_16, textAlign: "center" }; _createForOfIteratorHelperLoose.helpLink = _createForOfIteratorHelperLoose; _createForOfIteratorHelperLoose = _createForOfIteratorHelperLoose.createStyles(_createForOfIteratorHelperLoose); const result = require("jsxProd").fileFinishedImporting("modules/age_assurance/native/AgeVerificationEmbeddedIntroScreen.tsx"); export default function AgeVerificationEmbeddedIntroScreen(arg0) { let classificationId; let entryPoint; let modalSessionId; let navigation; let onClose; ({ entryPoint, navigation } = arg0); ({ onClose, modalSessionId, classificationId } = arg0); const tmp = _createForOfIteratorHelperLoose(); let obj = navigation(7588); const items = [navigation]; const isSuspendedUser = obj.useIsSuspendedUser(); const callback = React.useCallback(() => { navigation.navigate(navigation(outer1_2[6]).AgeVerificationGetStartedModalScenes.GOOGLE_WALLET_VERIFICATION); }, items); obj = {}; obj = {}; const obj1 = { align: "center", justify: "center", spacing: 24 }; const obj2 = { align: "center", justify: "center", spacing: 16 }; const items1 = [callback(navigation(5807).ShieldSpotIllustration, { height: 100, width: 177 }), ]; const obj3 = { align: "center", justify: "center", spacing: 8 }; const obj4 = { accessibilityRole: "header", variant: "heading-xl/bold", color: "mobile-text-heading-primary" }; let obj7 = navigation(4347); obj4.children = obj7.getAgeVerificationGetStartedTitle(entryPoint); const items2 = [callback(navigation(4126).Text, obj4), ]; const obj5 = { variant: "text-md/medium", color: "text-strong", style: tmp.header, children: navigation(4347).getAgeVerificationGetStartedSubtitle(entryPoint, undefined, isSuspendedUser) }; items2[1] = callback(navigation(4126).Text, obj5); obj3.children = items2; items1[1] = callback2(navigation(4541).Stack, obj3); obj2.children = items1; const items3 = [callback2(navigation(4541).Stack, obj2), callback(navigation(7629).AgeVerificationMethodsContainer, { ageVerificationMethods: importDefault(7624)({ onClose, classificationId, onGoogleWalletSelect: callback }).ageVerificationMethods, modalSessionId })]; obj1.children = items3; const items4 = [callback2(navigation(4541).Stack, obj1), ]; const obj6 = { variant: "text-xs/medium", color: "text-muted", style: tmp.helpLink }; const intl = navigation(1212).intl; obj7 = { handleOnHelpUrlHook() { const obj = outer1_1(outer1_2[17]); obj.openUrl(outer1_1(outer1_2[18]).getArticleURL(outer1_4.TIGGER_PAWTECT_LEARN_MORE)); } }; obj6.children = intl.format(importDefault(2716).lG69e1, obj7); items4[1] = callback(navigation(4126).Text, obj6); obj.children = items4; obj.children = callback2(navigation(7614).ModalContent, obj); return callback(navigation(7613).ModalScreen, obj); };