/* Metro module 1470; source: unknown; dependencies: [] */ function _fun16796(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#16796, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1597:6, offset: 0x00e5a028, size: 29 bytes, params: 8, frame: 2 const stringifyPrimitive = function(a0) { var value = a0; var value2 = typeof value; if (value2 === 'string') { return value; } if (value2 === 'boolean') { return value ? 'true' : 'false'; } if (value2 === 'number') { return (0, global.isFinite)(value) ? value : ''; } return ''; }; module.exports = exports_16798; function exports_16798(a0, a1, a2, a3) { // fn#16798, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1597:223, offset: 0x00e5a093, size: 194 bytes, params: 5, frame: 18 var r0; var encodeURIComponent; var stringifyPrimitiveBinding; let value = a0; const value2 = a1; const value3 = a2; const r3 = value2 || '&'; const r8 = value3 || '='; const r6 = value !== null ? value : undefined; if (typeof r6 === 'object') { value = global.Object.keys(r6); value = value.map(_fun16799); value = value.filter(global.Boolean); value = value.join(r3); r0 = value; } else { value = ''; if (a3) { encodeURIComponent = global.encodeURIComponent; stringifyPrimitiveBinding = stringifyPrimitive; value = encodeURIComponent(stringifyPrimitiveBinding(a3)) + r8; encodeURIComponent = global.encodeURIComponent; value += encodeURIComponent(stringifyPrimitiveBinding(r6)); r0 = value; } else { r0 = value; } } return r0; function _fun16799(a0) { // fn#16799, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1597:326, offset: 0x00e5a155, size: 147 bytes, params: 2, frame: 18 var environment; var r0; const encodeURIComponent = global.encodeURIComponent; let value = environment.__proto__; const value4 = encodeURIComponent(stringifyPrimitive(a0)) + importDefault; const env0_0 = value4; const Array = global.Array; if (Array.isArray(env0_0[a0])) { value = env0_0[a0].map(_fun16800); value = value.join(require); r0 = value; } else { r0 = value4 + global.encodeURIComponent(stringifyPrimitive(env0_0[a0])); } return r0; function _fun16800(a0) { // fn#16800, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1597:408, offset: 0x00e5a1e8, size: 43 bytes, params: 2, frame: 13 return env0_0 + global.encodeURIComponent(stringifyPrimitive(a0)); } } } } global.__d(_fun16796, 1470, []) /* metro module 1470 */;