/* Metro module 4163; source: unknown; dependencies: [1409, 4164, 4165, 4166] */ function _fun34423(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#34423, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4334:6, offset: 0x010558e2, size: 82 bytes, params: 8, frame: 4 const env0_0 = require; const Symbol = global.Symbol; const env0_2 = typeof Symbol === 'function' && typeof global.Symbol.iterator === 'symbol'; module.exports = exports_34424; function exports_34424(a0) { // fn#34424, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4334:120, offset: 0x01055934, size: 764 bytes, params: 2, frame: 24 var r4; var r1; var r6; var valueOf; var r7; var r8; var value4; var String; var value5; var value6; var Number; var value7; var Symbol; var toPrimitive; var prototype; var property; var TypeError; var value9; var typeError; var value11; var value12; var value13; var call; var value16; var value17; var value19; let value = undefined; if ((require(4164) /* metro dependency 4164 */)(a0)) { return a0; } const value3 = 'default'; reducibleJoin7: while (true) { if (arguments.length > 1) { value4 = arguments[1]; String = global.String; value5 = 'string'; reducibleJoin6: while (true) { if (value4 === String) { r1 = value5; break reducibleJoin6; } value6 = arguments[1]; Number = global.Number; reducibleJoin5: while (true) { if (value6 !== Number) { r4 = value3; break reducibleJoin5; } value7 = 'number'; r4 = value7; break reducibleJoin5; } r1 = r4; break reducibleJoin6; } r6 = r1; break reducibleJoin7; } r6 = value3; break reducibleJoin7; } if (env0_2) { Symbol = global.Symbol; toPrimitive = Symbol.toPrimitive; reducibleJoin17: while (true) { reducibleJoin16: while (true) { if (toPrimitive) { Symbol = global.Symbol; toPrimitive = Symbol.toPrimitive; property = a0[toPrimitive]; if (property != null) { reducibleJoin15: while (true) { if (!(require(1409) /* metro dependency 1409 */)(property)) { TypeError = global.TypeError; value = property + ' returned for property ' + global.String(toPrimitive); value = value + ' of object ' + a0; value9 = Object.create(TypeError.prototype, {constructor: {value: TypeError}}); value += ' is not a function'; typeError = new TypeError(value); value = typeError instanceof Object ? typeError : value9; throw value; } r7 = property; break reducibleJoin15; } } else { r7 = value; } r1 = r7; break reducibleJoin16; } reducibleJoin11: while (true) { if ((require(4165) /* metro dependency 4165 */)(a0)) { Symbol = global.Symbol; prototype = Symbol.prototype; valueOf = prototype.valueOf; break reducibleJoin11; } valueOf = value; break reducibleJoin11; } r1 = valueOf; break reducibleJoin16; } r4 = r1; break reducibleJoin17; } } else { r4 = value; } if (value !== r4) { value19 = r4.call(a0, r6); if ((require(4164) /* metro dependency 4164 */)(value19)) { return value19; } throw new global.TypeError('unable to convert exotic object to primitive'); } const value10 = value3 === r6; reducibleJoin22: while (true) { if (value10) { value11 = (require(4166) /* metro dependency 4166 */)(a0); reducibleJoin21: while (true) { if (value11) { r7 = value11; break reducibleJoin21; } value12 = (require(4165) /* metro dependency 4165 */)(a0); r7 = value12; break reducibleJoin21; } r1 = r7; break reducibleJoin22; } r1 = value10; break reducibleJoin22; } reducibleJoin24: while (true) { if (r1) { value13 = 'string'; r8 = value13; break reducibleJoin24; } r8 = r6; break reducibleJoin24; } const value14 = 'number'; r7 = value3 === r8 ? value14 : r8; if (a0 == null) { throw new global.TypeError('Cannot call method on ' + a0); } if (value14 !== r7) { reducibleJoin28: while (true) { if (r7 !== 'string') { throw new global.TypeError('hint must be "string" or "number"'); } break reducibleJoin28; } } const r11 = r7 === 'string' ? ['toString', 'valueOf'] : ['valueOf', 'toString']; let length = r11.length; const value15 = 0; if (value15 < length) { r8 = value15; reducibleLoop32: while (true) { property = a0[r11[r8]]; if (require(dependencyMap[value15])(property)) { call = property.call; value16 = Reflect.apply(call, property, [a0]); reducibleJoin34: while (true) { if ((require(4164) /* metro dependency 4164 */)(value16)) { return value16; } break reducibleJoin34; } } value17 = typeof r8 === 'bigint' ? r8 + 1n : +r8 + 1; length = r11.length; if (!(value17 < length)) { throw new global.TypeError('No default value'); } r8 = value17; continue reducibleLoop32; } } TypeError = global.TypeError; throw new TypeError('No default value'); } } global.__d(_fun34423, 4163, [1409, 4164, 4165, 4166]) /* metro module 4163, dependencies: [1409, 4164, 4165, 4166] */;