/* Metro module 9878; source: stores/native/AlertStore.tsx; dependencies: [6, 7, 15, 17, 18, 566, 694, 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 Flux from '../../external/discord_common/js/packages/flux/index.tsx'; /* Metro dependency 566 */ import * as FileImportTrackerModule from '../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */ function _fun77465(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#77465, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10064:6, offset: 0x01dfda16, size: 301 bytes, params: 8, frame: 18 const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); const Store = (Flux).Store; let value = _fun77469(Store); value.displayName = 'AlertStore'; value = new value(importDefault(694) /* metro dependency 694: Dispatcher */, {ALERT_OPEN: ALERT_OPEN, ALERT_CLOSE: function() { env0_5 = null; env0_7 = null; }}); (FileImportTrackerModule).fileFinishedImporting('stores/native/AlertStore.tsx'); exports.default = value; function _isNativeReflectConstruct_77466() { // fn#77466, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10064:148, offset: 0x01dfdb43, 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_77466_isNativeReflectConstruct = function() { return !!result; })(); } function _fun77469(a0) { // fn#77469, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10064:370, offset: 0x01dfdba5, size: 126 bytes, params: 2, frame: 16 const AlertStore2 = AlertStore; Inherits(AlertStore2, a0); return CreateClass(AlertStore2, [{key: 'getAlert', value: value_77471}, {key: 'getAlertKey', value: value_77472}, {key: 'isAlertDismissable', value: value_77473}]); function AlertStore() { // fn#77470, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10064:382, offset: 0x00e4046a, size: 113 bytes, params: 1, frame: 20 const value = environment.__proto__; env1_0(this, AlertStore); const value3 = env1_3(AlertStore); return env1_2(this, _isNativeReflectConstruct_77466() ? global.Reflect.construct(value3, arguments, env1_3(this).constructor) : value3.apply(this, arguments)); } function value_77471() { // fn#77471, offset: 0x00e40571, size: 9 bytes, params: 1, frame: 1 return env1_5; } function value_77472() { // fn#77472, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10064:695, offset: 0x01dfdc23, size: 33 bytes, params: 1, frame: 11 return 'alert-store-' + env1_6; } function value_77473() { // fn#77473, offset: 0x00fbd9cb, size: 9 bytes, params: 1, frame: 1 return env1_7; } } function ALERT_OPEN({alert, isDismissable}) { // fn#77474, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10064:864, offset: 0x01dfdc44, size: 45 bytes, params: 2, frame: 5 env0_6 += 1; } } global.__d(_fun77465, 9878, [6, 7, 15, 17, 18, 566, 694, 2]) /* metro module 9878, dependencies: [6, 7, 15, 17, 18, 566, 694, 2] */;