46 lines
2.0 KiB
JavaScript
46 lines
2.0 KiB
JavaScript
/* Metro module 1187; source: unknown; dependencies: [65] */
|
|
import Module00065 from './module-00065.js'; /* Metro dependency 65 */
|
|
|
|
function _fun13173(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#13173, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1314:6, offset: 0x00de31fa, size: 73 bytes, params: 8, frame: 16
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
exports.mergeOutcomes = mergeOutcomes;
|
|
function mergeOutcomes() { // fn#13174, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1314:122, offset: 0x00de3243, size: 141 bytes, params: 1, frame: 16
|
|
var r1;
|
|
var value6;
|
|
const Map = global.Map;
|
|
const map = new Map();
|
|
const map2 = map;
|
|
const length = arguments.length;
|
|
const Array = global.Array;
|
|
const array = new Array(length);
|
|
const value5 = 0;
|
|
if (value5 < length) {
|
|
for (r1 = value5; true; r1 = value6) {
|
|
array[r1] = arguments[r1];
|
|
value6 = typeof r1 === 'bigint' ? r1 + 1n : +r1 + 1;
|
|
if (!(value6 < length)) {
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
array.forEach(function(a0) {
|
|
return a0.forEach(process);
|
|
});
|
|
return map2(map.values());
|
|
function process(a0) { // fn#13175, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1314:167, owner: mergeOutcomes.process, offset: 0x00de32d0, size: 105 bytes, params: 2, frame: 16
|
|
const value = '' + a0.reason + ':' + a0.category;
|
|
const value3 = Module00065.get(value);
|
|
if (value3) {
|
|
value3.quantity = value3.quantity + a0.quantity;
|
|
} else {
|
|
Module00065.set(value, a0);
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun13173, 1187, [65]) /* metro module 1187, dependencies: [65] */;
|