212 lines
8.3 KiB
JavaScript
212 lines
8.3 KiB
JavaScript
/* Metro module 9190; source: unknown; dependencies: [9191] */
|
|
function _fun72003(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#72003, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9375:6, offset: 0x01d35e8e, size: 95 bytes, params: 8, frame: 4
|
|
const env0_0 = require;
|
|
const exports_720042 = exports_72004;
|
|
exports_720042.prototype = {get: function(a0) {
|
|
return this.num[a0];
|
|
}, getLength: function() {
|
|
return this.num.length;
|
|
}, multiply: multiply_72007, mod: mod_72008};
|
|
module.exports = exports_720042;
|
|
function multiply_72007(a0) { // fn#72007, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9375:355, offset: 0x01d35ff2, size: 291 bytes, params: 2, frame: 26
|
|
var r4;
|
|
var r8;
|
|
var value6;
|
|
var property;
|
|
var moduleValue;
|
|
var gexp;
|
|
var moduleValue2;
|
|
var glog;
|
|
var get;
|
|
var value7;
|
|
var moduleValue3;
|
|
var value8;
|
|
var value9;
|
|
const Array = global.Array;
|
|
let getLength = this.getLength;
|
|
let value = Reflect.apply(getLength, this, []);
|
|
getLength = a0.getLength;
|
|
value += Reflect.apply(getLength, a0, []);
|
|
value -= 1;
|
|
const array = new Array(value);
|
|
const length = this.getLength();
|
|
const value4 = 0;
|
|
if (value4 < length) {
|
|
r4 = value4;
|
|
reducibleLoop1: while (true) {
|
|
getLength = a0.getLength;
|
|
if (value4 < Reflect.apply(getLength, a0, [])) {
|
|
r8 = value4;
|
|
reducibleLoop2: while (true) {
|
|
value6 = r4 + r8;
|
|
property = array[value6];
|
|
moduleValue = require(dependencyMap[value4]);
|
|
gexp = moduleValue.gexp;
|
|
moduleValue2 = require(dependencyMap[value4]);
|
|
glog = moduleValue2.glog;
|
|
get = this.get;
|
|
value7 = Reflect.apply(glog, moduleValue2, [Reflect.apply(get, this, [r4])]);
|
|
moduleValue3 = require(dependencyMap[value4]);
|
|
glog = moduleValue3.glog;
|
|
get = a0.get;
|
|
array[value6] = property ^ Reflect.apply(gexp, moduleValue, [value7 + Reflect.apply(glog,
|
|
moduleValue3,
|
|
[Reflect.apply(get, a0, [r8])])]);
|
|
value8 = typeof r8 === 'bigint' ? r8 + 1n : +r8 + 1;
|
|
getLength = a0.getLength;
|
|
if (value8 < Reflect.apply(getLength, a0, [])) {
|
|
r8 = value8;
|
|
continue reducibleLoop2;
|
|
}
|
|
break reducibleLoop2;
|
|
}
|
|
}
|
|
value9 = typeof r4 === 'bigint' ? r4 + 1n : +r4 + 1;
|
|
getLength = this.getLength;
|
|
if (value9 < Reflect.apply(getLength, this, [])) {
|
|
r4 = value9;
|
|
continue reducibleLoop1;
|
|
}
|
|
break reducibleLoop1;
|
|
}
|
|
}
|
|
const exports_72004Binding = exports_72004;
|
|
const value10 = Object.create(exports_72004Binding.prototype, {constructor: {value: exports_72004Binding}});
|
|
const exports_720042 = new exports_72004Binding(array, value4);
|
|
return exports_720042 instanceof Object ? exports_720042 : value10;
|
|
}
|
|
|
|
function mod_72008(a0) { // fn#72008, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9375:594, offset: 0x01d36115, size: 357 bytes, params: 2, frame: 23
|
|
var r6;
|
|
var value8;
|
|
var property;
|
|
var moduleValue3;
|
|
var gexp;
|
|
var moduleValue4;
|
|
var value9;
|
|
let getLength = this.getLength;
|
|
let value = Reflect.apply(getLength, this, []);
|
|
getLength = a0.getLength;
|
|
value -= Reflect.apply(getLength, a0, []);
|
|
const value2 = 0;
|
|
if (value < value2) {
|
|
return this;
|
|
}
|
|
const moduleValue = require(dependencyMap[value2]);
|
|
let glog = moduleValue.glog;
|
|
let get = this.get;
|
|
const value3 = Reflect.apply(glog, moduleValue, [Reflect.apply(get, this, [value2])]);
|
|
const moduleValue2 = require(dependencyMap[value2]);
|
|
glog = moduleValue2.glog;
|
|
get = a0.get;
|
|
const value4 = value3 - Reflect.apply(glog, moduleValue2, [Reflect.apply(get, a0, [value2])]);
|
|
const Array = global.Array;
|
|
const array = new Array(this.getLength());
|
|
getLength = this.getLength;
|
|
if (value2 < Reflect.apply(getLength, this, [])) {
|
|
r6 = value2;
|
|
reducibleLoop2: while (true) {
|
|
get = this.get;
|
|
array[r6] = Reflect.apply(get, this, [r6]);
|
|
value8 = typeof r6 === 'bigint' ? r6 + 1n : +r6 + 1;
|
|
getLength = this.getLength;
|
|
if (value8 < Reflect.apply(getLength, this, [])) {
|
|
r6 = value8;
|
|
continue reducibleLoop2;
|
|
}
|
|
break reducibleLoop2;
|
|
}
|
|
}
|
|
getLength = a0.getLength;
|
|
if (value2 < Reflect.apply(getLength, a0, [])) {
|
|
r6 = value2;
|
|
reducibleLoop4: while (true) {
|
|
property = array[r6];
|
|
moduleValue3 = require(dependencyMap[value2]);
|
|
gexp = moduleValue3.gexp;
|
|
moduleValue4 = require(dependencyMap[value2]);
|
|
glog = moduleValue4.glog;
|
|
get = a0.get;
|
|
array[r6] = property ^ Reflect.apply(gexp, moduleValue3, [Reflect.apply(glog, moduleValue4,
|
|
[Reflect.apply(get,
|
|
a0,
|
|
[r6])]) + value4]);
|
|
value9 = typeof r6 === 'bigint' ? r6 + 1n : +r6 + 1;
|
|
getLength = a0.getLength;
|
|
if (value9 < Reflect.apply(getLength, a0, [])) {
|
|
r6 = value9;
|
|
continue reducibleLoop4;
|
|
}
|
|
break reducibleLoop4;
|
|
}
|
|
}
|
|
return new exports_72004(array, value2).mod(a0);
|
|
}
|
|
|
|
}
|
|
|
|
function exports_72004(a0, a1) { // fn#72004, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9375:32, offset: 0x01d35eed, size: 229 bytes, params: 3, frame: 16
|
|
var r6;
|
|
var r3;
|
|
var r4;
|
|
var value;
|
|
var value2;
|
|
var num;
|
|
var Error;
|
|
let length = a0.length;
|
|
if (length == null) {
|
|
Error = global.Error;
|
|
value = a0.length + '/' + a1;
|
|
throw new Error();
|
|
}
|
|
length = a0.length;
|
|
value = 0;
|
|
reducibleJoin5: while (true) {
|
|
if (!(value < length)) {
|
|
r3 = value;
|
|
break reducibleJoin5;
|
|
}
|
|
if (value != a0[value]) {
|
|
r3 = value;
|
|
break reducibleJoin5;
|
|
}
|
|
r6 = value;
|
|
reducibleLoop3: while (true) {
|
|
value2 = typeof r6 === 'bigint' ? r6 + 1n : +r6 + 1;
|
|
length = a0.length;
|
|
if (value2 < length) {
|
|
if (value == a0[value2]) {
|
|
r6 = value2;
|
|
continue reducibleLoop3;
|
|
}
|
|
r3 = value2;
|
|
break reducibleJoin5;
|
|
}
|
|
r3 = value2;
|
|
break reducibleJoin5;
|
|
}
|
|
}
|
|
const Array = global.Array;
|
|
const value3 = a0.length - r3 + a1;
|
|
const value4 = Object.create(Array.prototype, {constructor: {value: Array}});
|
|
const array = new Array(value3);
|
|
this.num = array instanceof Object ? array : value4;
|
|
length = a0.length;
|
|
if (value < length - r3) {
|
|
r4 = value;
|
|
reducibleLoop6: while (true) {
|
|
num = this.num;
|
|
num[r4] = a0[r4 + r3];
|
|
value = typeof r4 === 'bigint' ? r4 + 1n : +r4 + 1;
|
|
length = a0.length;
|
|
if (value < length - r3) {
|
|
r4 = value;
|
|
continue reducibleLoop6;
|
|
}
|
|
break reducibleLoop6;
|
|
}
|
|
}
|
|
}
|
|
|
|
global.__d(_fun72003, 9190, [9191]) /* metro module 9190, dependencies: [9191] */;
|