/* Metro module 1001; source: unknown; dependencies: [153, 6, 7] */ import * as ClassCallCheckModule from './module-00006-ClassCallCheck.js'; /* Metro dependency 6 */ import * as CreateClassModule from './module-00007-CreateClass.js'; /* Metro dependency 7 */ import * as Module00153Module from './module-00153.js'; /* Metro dependency 153 */ function _fun10486(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#10486, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1128:6, offset: 0x00d8f349, size: 117 bytes, params: 8, frame: 18 Module00153Module; const Object = global.Object; const defineProperty = Object.defineProperty; const Symbol = global.Symbol; Reflect.apply(defineProperty, Object, [exports, Symbol.toStringTag, {value: 'Module'}]); exports.LRUMap = _fun10487(); function _fun10487() { // fn#10487, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1128:129, offset: 0x00d8f3be, size: 193 bytes, params: 1, frame: 15 return CreateClassModule(LRUMap, [{key: 'size', get: function() { return this._cache.size; }}, {key: 'get', value: function(a0) { var _cache = this._cache; var value = _cache.get(a0); if (value !== undefined) { _cache = this._cache; _cache.delete(a0); _cache = this._cache; _cache.set(a0, value); return value; } }}, {key: 'set', value: function(a0, a1) { var property = this._cache.size; if (property >= this._maxSize) { property = this._cache; property = property.keys().next().value; this._cache.delete(property); } this._cache.set(a0, a1); }}, {key: 'remove', value: function(a0) { var value = this._cache.get(a0); if (value) { this._cache.delete(a0); } return value; }}, {key: 'clear', value: function() { this._cache.clear(); }}, {key: 'keys', value: function() { var Array = global.Array; return Array.from(this._cache.keys()); }}, {key: 'values', value: function() { this._cache.forEach(_fun10496); return []; }}]); function LRUMap(a0) { // fn#10488, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1128:163, offset: 0x00d8f47f, size: 70 bytes, params: 2, frame: 13 const value = environment.__proto__; env1_0(this, LRUMap); this._maxSize = a0; const Map = global.Map; this._cache = new Map(); } function value_10495() { // fn#10495, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1128:825, offset: 0x00d8f5de, size: 36 bytes, params: 1, frame: 12 this._cache.forEach(_fun10496); return []; function _fun10496(a0) { // fn#10496, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1128:885, offset: 0x00c60fe4, size: 22 bytes, params: 2, frame: 11 return ClassCallCheckModule.push(a0); } } } } global.__d(_fun10486, 1001, [153, 6, 7]) /* metro module 1001, dependencies: [153, 6, 7] */;