44 lines
1.8 KiB
React
44 lines
1.8 KiB
React
/* Metro module 1187; source: unknown; dependencies: [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});
|
|
const env0_0 = importDefault(65) /* metro dependency 65 */;
|
|
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 env0_0 = 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(mergeOutcomesProcess);
|
|
});
|
|
return env0_0(map.values());
|
|
}
|
|
|
|
function mergeOutcomesProcess(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 = env0_0.get(value);
|
|
if (value3) {
|
|
value3.quantity = value3.quantity + a0.quantity;
|
|
} else {
|
|
env0_0.set(value, a0);
|
|
}
|
|
}
|
|
|