/* Metro module 1409; source: unknown; dependencies: [] */ function _fun16527(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#16527, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1536:6, offset: 0x00e51d19, size: 426 bytes, params: 8, frame: 22 var r6; var r4; var r2; var value3; var apply; var Object; var defineProperty; var object; var closure; var object2; var value5; var error; var value6; var Symbol; var value7; var toStringTag; var value8; var document; var all; var call; var value9; const value = undefined; const Function = global.Function; let prototype = Function.prototype; let toString = prototype.toString; let Reflect = global.Reflect; const value2 = typeof Reflect === 'object'; reducibleJoin2: while (true) { if (value2) { Reflect = global.Reflect; value3 = Reflect !== null; r6 = value3; break reducibleJoin2; } r6 = value2; break reducibleJoin2; } reducibleJoin4: while (true) { if (r6) { Reflect = global.Reflect; apply = Reflect.apply; r6 = apply; break reducibleJoin4; } break reducibleJoin4; } reducibleJoin6: while (true) { reduciblePort25: while (true) { exceptionLanding23: while (true) { var env0_3 = r6; if (typeof r6 !== 'function') { break reducibleJoin6; } Object = global.Object; defineProperty = Object.defineProperty; if (typeof defineProperty === 'function') { try { Object = global.Object; } catch (error) { r4 = value; break exceptionLanding23; } try { defineProperty = Object.defineProperty; } catch (error) { r4 = value; break exceptionLanding23; } try { object = {}; } catch (error) { r4 = value; break exceptionLanding23; } try { closure = get_16528; } catch (error) { r4 = value; break exceptionLanding23; } try { object.get = closure; } catch (error) { r4 = value; break exceptionLanding23; } try { object2 = {}; } catch (error) { r4 = value; break exceptionLanding23; } try { value5 = Reflect.apply(defineProperty, Object, [object2, 'length', object]); } catch (error) { r4 = value; break exceptionLanding23; } try { var env0_0 = value5; } catch (error) { r4 = value; break exceptionLanding23; } try { object = {}; } catch (error) { r4 = value; break exceptionLanding23; } try { var env0_1 = object; } catch (error) { r4 = object; break exceptionLanding23; } try { closure = function() { throw 42; }; } catch (error) { r4 = object; break exceptionLanding23; } try { r6(closure, null, value5); } catch (error) { r4 = object; break exceptionLanding23; } r2 = r6; break reduciblePort25; } break reducibleJoin6; } reducibleJoin25: while (true) { if (error === r4) { r2 = r6; break reducibleJoin25; } value6 = null; env0_3 = value6; r2 = value6; break reducibleJoin25; } break reduciblePort25; } var env0_4 = RegExp('^\\s*class\\b', ''); var isES6ClassFunctionBinding = isES6ClassFunction; var tryFunctionToStrBinding = tryFunctionToStr; Object = global.Object; prototype = Object.prototype; toString = prototype.toString; var env0_7 = toString; Symbol = global.Symbol; value7 = typeof Symbol === 'function'; reducibleJoin27: while (true) { if (value7) { Symbol = global.Symbol; toStringTag = Symbol.toStringTag; value8 = !!toStringTag; r4 = value8; break reducibleJoin27; } r4 = value7; break reducibleJoin27; } var env0_8 = r4; object = []; object.length = 1; var result = !(0 in object); var env0_10 = isDocumentDotAll; document = global.document; reducibleJoin30: while (true) { if (typeof document !== 'object') { break reducibleJoin30; } document = global.document; all = document.all; call = toString.call; value9 = Reflect.apply(call, toString, [all]); call = toString.call; document = global.document; all = document.all; if (value9 !== Reflect.apply(call, toString, [all])) { break reducibleJoin30; } env0_10 = isDocumentDotAll_16533; break reducibleJoin30; } if (r2) { closure = isCallable; r2 = closure; } else { closure = isCallable_16535; r2 = closure; } module.exports = r2; return value; } r2 = null; var env0_4 = RegExp('^\\s*class\\b', ''); Object = global.Object; toString = Object.prototype.toString; Symbol = global.Symbol; value7 = typeof Symbol === 'function'; reducibleJoin27: while (true) { if (value7) { Symbol = global.Symbol; toStringTag = Symbol.toStringTag; value8 = !!toStringTag; r4 = value8; break reducibleJoin27; } r4 = value7; break reducibleJoin27; } object = []; object.length = 1; var result = !(0 in object); var env0_10 = function() { return false; }; document = global.document; reducibleJoin30: while (true) { if (typeof document !== 'object') { break reducibleJoin30; } document = global.document; all = document.all; call = toString.call; value9 = Reflect.apply(call, toString, [all]); call = toString.call; document = global.document; all = document.all; if (value9 !== Reflect.apply(call, toString, [all])) { break reducibleJoin30; } env0_10 = isDocumentDotAll_16533; break reducibleJoin30; } r2 = r2 ? isCallable : isCallable_16535; module.exports = r2; return value; function get_16528() { // fn#16528, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1536:251, offset: 0x00e51ec3, size: 9 bytes, params: 1, frame: 1 throw env0_1; } function isES6ClassFunction(a0) { // fn#16530, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1536:374, offset: 0x00e51ed1, size: 42 bytes, params: 2, frame: 12 var value; var value2; var binding; var error; try { value = environment; value2 = toString.call(a0); binding = env0_4; value = binding.test(value2); } catch (error) { return false; } return value; } function tryFunctionToStr(a0) { // fn#16531, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1536:464, offset: 0x00e51efb, size: 53 bytes, params: 2, frame: 14 var r0; var value; var isES6ClassFunction2; var value2; var error; try { value = environment; isES6ClassFunction2 = isES6ClassFunction(a0); value2 = !isES6ClassFunction2; if (isES6ClassFunction2) { r0 = value2; } else { toString.call(a0); value = true; r0 = value; } } catch (error) { return false; } return r0; } function isDocumentDotAll_16533(a0) { // fn#16533, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1536:762, offset: 0x00e51f30, size: 164 bytes, params: 2, frame: 17 var r2; var r0; var toStringBinding; var call; var error; var value; if (result) { if (a0 !== undefined) { if (typeof a0 !== 'object') { return false; } } } else { if (a0) { return false; } if (a0 !== undefined) { if (typeof a0 !== 'object') { return false; } } } try { toStringBinding = toString; } catch (error) { return false; } try { call = toStringBinding.call; } catch (error) { return false; } try { value = Reflect.apply(call, toStringBinding, [a0]); } catch (error) { return false; } const r5 = value === '[object HTMLAllCollection]' || value === '[object HTML document.all class]' || value === '[object HTMLCollection]'; if (r5) { r2 = r5; } else { value = value === '[object Object]'; r2 = value; } if (r2) { try { value = a0(''); } catch (error) { return false; } try { value = value == null; } catch (error) { return false; } r0 = value; } else { r0 = r2; } return r0; } function isCallable(a0) { // fn#16534, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1536:1037, offset: 0x00e51fd4, size: 137 bytes, params: 2, frame: 17 var r0; var value2; var binding; var binding2; var error; var isES6ClassFunction2; var value3; let value = environment; if (env0_10(a0)) { return true; } if (a0) { value2 = typeof a0; if (value2 !== 'function') { reducibleJoin5: while (true) { if (value2 !== 'object') { return false; } break reducibleJoin5; } } reducibleJoin6: while (true) { reduciblePort11: while (true) { exceptionLanding10: while (true) { try { binding = env0_3; } catch (error) { break exceptionLanding10; } break reducibleJoin6; } reducibleJoin11: while (true) { if (error !== env0_1) { return false; } break reducibleJoin11; } break reduciblePort11; } isES6ClassFunction2 = isES6ClassFunction(a0); value3 = !isES6ClassFunction2; reducibleJoin13: while (true) { if (isES6ClassFunction2) { r0 = value3; break reducibleJoin13; } value = tryFunctionToStr(a0); r0 = value; break reducibleJoin13; } return r0; } try { binding2 = env0_0; } catch (error) { break exceptionLanding10; } try { binding(a0, null, binding2); } catch (error) { break exceptionLanding10; } isES6ClassFunction2 = isES6ClassFunction(a0); value3 = !isES6ClassFunction2; reducibleJoin13: while (true) { if (isES6ClassFunction2) { r0 = value3; break reducibleJoin13; } value = tryFunctionToStr(a0); r0 = value; break reducibleJoin13; } return r0; } return false; } function isCallable_16535(a0) { // fn#16535, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1536:1207, offset: 0x00e5205d, size: 173 bytes, params: 2, frame: 15 var r4; var value2; var value3; var regexp; if (env0_10(a0)) { return true; } if (a0) { value2 = typeof a0; if (value2 === 'function') { if (env0_8) { return tryFunctionToStr(a0); } if (isES6ClassFunction(a0)) { return false; } value3 = toString.call(a0); r4 = value3 !== '[object Function]' && value3 !== '[object GeneratorFunction]'; if (r4) { regexp = RegExp('^\\[object HTML', ''); r4 = !regexp.test(value3); } return !r4 && tryFunctionToStr(a0); } if (value2 !== 'object') { return false; } if (env0_8) { return tryFunctionToStr(a0); } if (isES6ClassFunction(a0)) { return false; } value3 = toString.call(a0); r4 = value3 !== '[object Function]' && value3 !== '[object GeneratorFunction]'; if (r4) { regexp = RegExp('^\\[object HTML', ''); r4 = !regexp.test(value3); } return !r4 && tryFunctionToStr(a0); } return false; } } function isDocumentDotAll() { // fn#16532, offset: 0x00c3b9e0, size: 4 bytes, params: 1, frame: 1 return false; } global.__d(_fun16527, 1409, []) /* metro module 1409 */;