/* Metro module 11486; source: modules/safety_hub/AutomatedUnderageAppealModalActionCreators.native.tsx; dependencies: [5, 5267, 5262, 33, 694, 4080, 11487, 1962, 5080, 5470, 5074, 11480, 2] */ import Module00005 from '../../by-id/module-00005.js'; /* Metro dependency 5 */ import Dispatcher from '../../Dispatcher.tsx'; /* Metro dependency 694 */ import ModalActionCreators from '../../actions/ModalActionCreators.tsx'; /* Metro dependency 5080 */ import * as FileImportTrackerModule from '../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */ import * as JsxRuntimeModule from '../../by-id/module-00033-JsxRuntime.js'; /* Metro dependency 33 */ import * as AgeVerificationConstantsModule from '../age_assurance/AgeVerificationConstants.tsx'; /* Metro dependency 5262 */ import * as SafetyHubConstantsModule from './SafetyHubConstants.tsx'; /* Metro dependency 5267 */ import * as SafetyHubActionCreatorsModule from './SafetyHubActionCreators.tsx'; /* Metro dependency 11480 */ function _fun87996(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#87996, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11672:6, offset: 0x01fd0b28, size: 252 bytes, params: 8, frame: 19 const env0_0 = require; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); object = {open: open_87997, openV2: openV2, close: close_88003, success: success, start_verification_check: function() { importDefault(dependencyMap[4]).dispatch({type: 'SAFETY_HUB_AUTOMATED_UNDERAGE_APPEAL_START_POLL'}); global.setTimeout(_fun88006, AGE_CHECK_POLL_DELAY_MS); }}; (FileImportTrackerModule).fileFinishedImporting('modules/safety_hub/AutomatedUnderageAppealModalActionCreators.native.tsx'); exports.default = object; function open_87997(a0, a1) { // fn#87997, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11672:247, offset: 0x01fd0c24, size: 130 bytes, params: 3, frame: 18 importDefault(dependencyMap[4]).dispatch({type: 'SAFETY_HUB_AUTOMATED_UNDERAGE_APPEAL_MODAL_OPEN'}); const defaultImport2 = importDefault(dependencyMap[5]); defaultImport2.openLazy(require(dependencyMap[7])(dependencyMap[6], dependencyMap.paths), AGE_APPEAL_ACTION_SHEET_NAME, {classificationId: a0, onClose: a1}); } function openV2(a0, a1) { // fn#87998, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11672:406, offset: 0x01fd0ca6, size: 117 bytes, params: 3, frame: 20 const env0_0 = a0; const env0_1 = a1; (Dispatcher).dispatch({type: 'SAFETY_HUB_AUTOMATED_UNDERAGE_APPEAL_MODAL_OPEN'}); const defaultImport2 = ModalActionCreators; defaultImport2.pushLazy(Module00005(_fun88000), {onClose: a1}, AGE_VERIFICATION_GET_STARTED_MODAL_KEY); function* _fun88000() { // fn#88000, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11672:513, offset: 0x01fd0d26, size: 91 bytes, params: 1, frame: 15 var environment; if (false) { return undefined; } value = environment.__proto__.__proto__; const binding = env2_0; const binding2 = env2_2; yield binding(binding2[7])(binding2[9], binding2.paths); value = undefined; if (false) { return value; } const env0_0 = value.default; return _fun88001; function _fun88001() { // fn#88001, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11672:575, offset: 0x01fd0d81, size: 103 bytes, params: 1, frame: 15 const binding = env3_7; const binding2 = env0_0; const object = {}; object.classificationId = require; const AgeVerificationModalEntryPoint = env3_0(env3_2[10]).AgeVerificationModalEntryPoint; const AUTOMATED_UNDERAGE_APPEALS = AgeVerificationModalEntryPoint.AUTOMATED_UNDERAGE_APPEALS; object.entryPoint = AUTOMATED_UNDERAGE_APPEALS; object.isRetry = false; object.useEmbeddedMethods = true; object.onComplete = onComplete_88002; return binding(binding2, object); function onComplete_88002() { // fn#88002, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11672:725, offset: 0x01fd0de8, size: 54 bytes, params: 1, frame: 11 env4_8.success(); if (importDefault != null) { importDefault(); } env4_8.start_verification_check(); } } } } function close_88003() { // fn#88003, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11672:843, offset: 0x01fd0e1e, size: 49 bytes, params: 1, frame: 13 (Dispatcher).dispatch({type: 'SAFETY_HUB_AUTOMATED_UNDERAGE_APPEAL_MODAL_CLOSE'}); } function success() { // fn#88004, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11672:928, offset: 0x01fd0e4f, size: 49 bytes, params: 1, frame: 13 (Dispatcher).dispatch({type: 'SAFETY_HUB_AUTOMATED_UNDERAGE_APPEAL_SUBMIT_SUCCESS'}); } function start_verification_check() { // fn#88005, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11672:1018, offset: 0x01fd0e80, size: 76 bytes, params: 1, frame: 15 (Dispatcher).dispatch({type: 'SAFETY_HUB_AUTOMATED_UNDERAGE_APPEAL_START_POLL'}); global.setTimeout(_fun88006, AGE_CHECK_POLL_DELAY_MS); function _fun88006() { // fn#88006, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11672:1132, offset: 0x01fd0ecc, size: 37 bytes, params: 1, frame: 11 const value = environment.__proto__; return (SafetyHubActionCreatorsModule).checkSuspendedUserAgeVerification(); } } } global.__d(_fun87996, 11486, [5, 5267, 5262, 33, 694, 4080, 11487, 1962, 5080, 5470, 5074, 11480, 2]) /* metro module 11486, dependencies: [5, 5267, 5262, 33, 694, 4080, 11487, 1962, 5080, 5470, 5074, 11480, 2] */;