/* Metro module 1395; source: unknown; dependencies: [] */ function _fun16355(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#16355, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1522:6, offset: 0x00e4daaa, size: 266 bytes, params: 8, frame: 18 let closure = exports_16356; const same = function(a0, a1) { return a0 === a1 || a0 != a0 && a1 != a1; }; const Entry_16360 = function(a0, a1, a2) { this.key = a0; this.value = a1; this._index = a2; }; const find_16361 = function(a0, a1) { var r4; var r5; var value5; var value6; var value7; var value = '_' + a1; if (hasOwnProperty.call(a0, value)) { r4 = value; r5 = 0; loopExit1: while (true) { if (same(a0[r4].key, a1)) { return a0[r4]; } value5 = typeof r5 === 'bigint' ? r5 : +r5; value6 = typeof value5 === 'bigint' ? value5 + 1n : +value5 + 1; value7 = value + value5; if (hasOwnProperty.call(a0, value7)) { r4 = value7; r5 = value6; continue; } break loopExit1; } } }; let Object = global.Object; let prototype = Object.prototype; let env0_0 = prototype.hasOwnProperty; module.exports = closure; closure.prototype.forEach = function(a0, a1) { var value = a1; var value2 = this; var env0_0 = a0; var env0_1 = value; env0_1 = value || value2; var Object = global.Object; Object.keys(value2._data).forEach(_fun16363, value2); }; closure.prototype.has = function(a0) { return !!find_16361(this._data, a0); }; closure.prototype.get = get_16365; closure.prototype.set = set_16366; closure.prototype.delete = _fun16367; closure.prototype.clear = function() { var Object = global.Object; var value = Object.create(null); value.size = 0; Object = global.Object; Object.defineProperty(this, '_data', {'value': null, 'enumerable': false, 'configurable': true, 'writable': false, value: value}); }; Object = global.Object; Object.defineProperty(closure.prototype, 'size', {get: function() { return this._data.size; }, set: function(a0) { }, enumerable: true, configurable: true}); prototype = closure.prototype; const prototype2 = closure.prototype; const prototype3 = closure.prototype; closure = function() { var Error = global.Error; throw new Error('iterators are not implemented in this version'); }; prototype3.entries = closure; prototype2.keys = closure; prototype.values = closure; function exports_16356(a0) { // fn#16356, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1522:70, offset: 0x00e4dbb4, size: 206 bytes, params: 2, frame: 16 var Map; var Array; if (this instanceof exports_16356) { this.clear(); if (a0) { if (a0 instanceof exports_16356) { a0.forEach(function(a0, a1) { this.set(a1, a0); }, this); return undefined; } Map = global.Map; if (typeof Map !== 'function') { Array = global.Array; if (Array.isArray(a0)) { a0.forEach(_fun16358, this); return undefined; } throw new global.TypeError('invalid argument'); } Map = global.Map; if (a0 instanceof Map) { a0.forEach(_fun16357, this); return undefined; } Array = global.Array; if (Array.isArray(a0)) { a0.forEach(_fun16358, this); return undefined; } throw new global.TypeError('invalid argument'); } return undefined; } const TypeError = global.TypeError; throw new TypeError("Constructor PseudoMap requires 'new'"); } function forEach_16362(a0, a1) { // fn#16362, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1522:682, offset: 0x00e4dd45, size: 72 bytes, params: 3, frame: 14 const value = a1; const value2 = this; const env0_0 = a0; const env0_1 = value || value2; const Object = global.Object; Object.keys(value2._data).forEach(_fun16363, value2); function _fun16363(a0) { // fn#16363, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1522:739, offset: 0x00e4dd8d, size: 70 bytes, params: 2, frame: 16 var value; var binding; var call; var _data; if (a0 !== 'size') { binding = env0_0; call = binding.call; _data = this._data; value = _data[a0].value; _data = this._data; Reflect.apply(call, binding, [require, value, _data[a0].key]); } } } function get_16365(a0) { // fn#16365, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1522:908, offset: 0x00e4ddf5, size: 39 bytes, params: 2, frame: 13 const value = find_16361(this._data, a0); return value && value.value; } function set_16366(a0, a1) { // fn#16366, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1522:988, offset: 0x00e4de1c, size: 177 bytes, params: 3, frame: 23 var r8; var r9; var r5; var sameBinding; var key; var value5; var value6; var value7; var size; var prototype; var entry_16360; const _data = this._data; let value = '_' + a0; if (hasOwnProperty.call(_data, value)) { r8 = value; r9 = 0; loopExit1: while (true) { sameBinding = same; key = _data[r8].key; if (sameBinding(key, a0)) { _data[r8].value = a1; break loopExit1; } value5 = typeof r9 === 'bigint' ? r9 : +r9; value6 = typeof value5 === 'bigint' ? value5 + 1n : +value5 + 1; value7 = value + value5; hasOwnPropertyBinding = hasOwnProperty; if (hasOwnPropertyBinding.call(_data, value7)) { r8 = value7; r9 = value6; continue; } r5 = value7; size = _data.size; _data.size = typeof size === 'bigint' ? size + 1n : +size + 1; prototype = Entry_16360.prototype; value = Object.create(prototype, {constructor: {value: Entry_16360}}); entry_16360 = new Entry_16360(a0, a1); value = entry_16360 instanceof Object ? entry_16360 : value; _data[r5] = value; break loopExit1; } } else { r5 = value; size = _data.size; _data.size = typeof size === 'bigint' ? size + 1n : +size + 1; _data[r5] = new Entry_16360(a0, a1); } } function _fun16367(a0) { // fn#16367, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1522:1189, offset: 0x00e4decd, size: 67 bytes, params: 2, frame: 14 var size; const find_16361Binding = find_16361; let _data = this._data; const value = find_16361Binding(_data, a0); if (value) { _data = this._data; delete _data[value._index]; _data = this._data; size = _data.size; _data.size = typeof size === 'bigint' ? size - 1n : +size - 1; } } } function _fun16357(a0, a1) { // fn#16357, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1522:281, offset: 0x00e4dc82, size: 23 bytes, params: 3, frame: 13 this.set(a1, a0); } function _fun16358(a0) { // fn#16358, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1522:394, offset: 0x00e4dc99, size: 33 bytes, params: 2, frame: 14 this.set(a0[0], a0[1]); } global.__d(_fun16355, 1395, []) /* metro module 1395 */;