/* Metro module 12597; source: records/XboxApplicationRecord.tsx; dependencies: [6, 7, 15, 17, 18, 4235, 4915, 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 ApplicationRecord from './ApplicationRecord.tsx'; /* Metro dependency 4235 */ import * as FileImportTrackerModule from '../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */ function _fun96566(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#96566, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12787:6, offset: 0x02160b3c, size: 218 bytes, params: 8, frame: 18 const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); let value = ApplicationRecord; value = _fun96570(value); (FileImportTrackerModule).fileFinishedImporting('records/XboxApplicationRecord.tsx'); exports.default = value; exports.XBOX_APPLICATION_ID_PREFIX = 'xbox:'; function _isNativeReflectConstruct_96567() { // fn#96567, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12787:158, offset: 0x02160c16, 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_96567_isNativeReflectConstruct = function() { return !!result; })(); } function _fun96570(a0) { // fn#96570, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12787:367, offset: 0x02160c78, size: 72 bytes, params: 2, frame: 15 const XboxApplicationRecord2 = XboxApplicationRecord; Inherits(XboxApplicationRecord2, a0); return CreateClass(XboxApplicationRecord2, [{key: 'getIconURL', value: value_96572}]); function XboxApplicationRecord(a0) { // fn#96571, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12787:379, offset: 0x02160cc0, size: 166 bytes, params: 2, frame: 20 let value = environment.__proto__; env1_2(this, XboxApplicationRecord); const items2 = [a0]; const value3 = env1_5(XboxApplicationRecord); value = env1_4(this, _isNativeReflectConstruct_96567() ? global.Reflect.construct(value3, items2, env1_5(this).constructor) : value3.apply(this, items2)); value.id = '' + 'xbox:' + a0.name; value.name = a0.name; return value; } function value_96572() { // fn#96572, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12787:742, offset: 0x02160d66, size: 52 bytes, params: 1, frame: 11 let value = environment.__proto__; value = importDefault(4915) /* metro dependency 4915: Platforms */; const get = value.get; return Reflect.apply(get, value, ['xbox']).icon.lightPNG; } } } global.__d(_fun96566, 12597, [6, 7, 15, 17, 18, 4235, 4915, 2]) /* metro module 12597, dependencies: [6, 7, 15, 17, 18, 4235, 4915, 2] */;