/* Metro module 15664; source: modules/quests/native/ATTModal/ATTManager.android.tsx; dependencies: [6, 7, 15, 17, 18, 7125, 1216, 4860, 2] */ import ClassCallCheck from '../../../../by-id/module-00006-ClassCallCheck.js'; /* Metro dependency 6 */ import CreateClass from '../../../../by-id/module-00007-CreateClass.js'; /* Metro dependency 7 */ import PossibleConstructorReturn from '../../../../by-id/module-00015-PossibleConstructorReturn.js'; /* Metro dependency 15 */ import Module00017 from '../../../../by-id/module-00017.js'; /* Metro dependency 17 */ import Inherits from '../../../../by-id/module-00018-Inherits.js'; /* Metro dependency 18 */ import AutomaticLifecycleManager from '../../../../lib/AutomaticLifecycleManager.tsx'; /* Metro dependency 4860 */ import * as FileImportTrackerModule from '../../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */ function _fun120097(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#120097, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15872:6, offset: 0x02520c5b, size: 230 bytes, params: 8, frame: 19 const env0_0 = require; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); let value = AutomaticLifecycleManager; value = _fun120101(value); value = new value(); (FileImportTrackerModule).fileFinishedImporting('modules/quests/native/ATTModal/ATTManager.android.tsx'); exports.default = value; function _isNativeReflectConstruct_120098() { // fn#120098, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15872:148, offset: 0x02520d41, size: 98 bytes, params: 1, frame: 18 var Boolean; var prototype; var valueOf; var call; var Reflect; var construct; var closure; var value; var error; try { Boolean = global.Boolean; prototype = Boolean.prototype; valueOf = prototype.valueOf; call = valueOf.call; Reflect = global.Reflect; construct = Reflect.construct; Boolean = global.Boolean; closure = function() { }; value = Reflect.apply(construct, Reflect, [Boolean, [], closure]); value = Reflect.apply(call, valueOf, [value]); var result = !value; } catch (error) { } return (_isNativeReflectConstruct_120098_isNativeReflectConstruct = function() { return !!result; })(); } function _fun120101(a0) { // fn#120101, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15872:351, offset: 0x02520da3, size: 97 bytes, params: 2, frame: 16 const ATTManager2 = ATTManager; Inherits(ATTManager2, a0); return CreateClass(ATTManager2, [{key: 'onPostConnectionOpen', value: value_120103}, {key: '_terminate', value: function() { if (this._openATTPrePromptOrFlowTimeoutId != null) { global.clearTimeout(this._openATTPrePromptOrFlowTimeoutId); this._openATTPrePromptOrFlowTimeoutId = null; } }}]); function ATTManager(a0) { // fn#120102, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15872:363, offset: 0x02520e04, size: 153 bytes, params: 2, frame: 19 var r0; var Reflect; let value = copyRestArgs(0, undefined); let binding = env1_3; binding(this, ATTManager); const items2 = []; arraySpread(items2, value, 0, items2); value = env1_6(ATTManager); binding = env1_5; if (_isNativeReflectConstruct_120098()) { Reflect = global.Reflect; value = Reflect.construct(value, items2, env1_6(this).constructor); r0 = value; } else { value = value.apply(this, items2); r0 = value; } value = binding(this, r0); value._openATTPrePromptOrFlowTimeoutId = null; value.actions = {POST_CONNECTION_OPEN: value.onPostConnectionOpen}; return value; } function value_120103() { // fn#120103, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15872:748, offset: 0x02520e9d, size: 86 bytes, params: 1, frame: 12 var value; var property; var moduleValue; var error; try { value = environment.__proto__; property = dependencyMap[5]; moduleValue = require(property); moduleValue.fetchAdUser('post_connection_open'); } catch (error) { value = importDefault(dependencyMap[6]); value.captureException(error); } } } } global.__d(_fun120097, 15664, [6, 7, 15, 17, 18, 7125, 1216, 4860, 2]) /* metro module 15664, dependencies: [6, 7, 15, 17, 18, 7125, 1216, 4860, 2] */;