123 lines
4.6 KiB
JavaScript
123 lines
4.6 KiB
JavaScript
/* Metro module 1493; source: unknown; dependencies: [] */
|
|
function _fun17014(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#17014, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1620:6, offset: 0x00e6197b, size: 65 bytes, params: 8, frame: 16
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
exports.nanoid = function() {
|
|
var r0;
|
|
var r2;
|
|
var r6;
|
|
var Math;
|
|
var value4;
|
|
var value5;
|
|
var value = 21;
|
|
reducibleJoin3: while (true) {
|
|
if (arguments.length > 0) {
|
|
if (arguments[0] === undefined) {
|
|
r0 = value;
|
|
break reducibleJoin3;
|
|
}
|
|
value = arguments[0];
|
|
r0 = value;
|
|
break reducibleJoin3;
|
|
}
|
|
r0 = value;
|
|
break reducibleJoin3;
|
|
}
|
|
value = r0 | 0;
|
|
var value2 = typeof value === 'bigint' ? value - 1n : +value - 1;
|
|
var value3 = '';
|
|
if (value) {
|
|
r2 = value3;
|
|
r6 = value2;
|
|
reducibleLoop4: while (true) {
|
|
Math = global.Math;
|
|
value = r2 + 'useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict'[64 * Math.random() | 0];
|
|
value4 = typeof r6 === 'bigint' ? r6 : +r6;
|
|
value5 = typeof value4 === 'bigint' ? value4 - 1n : +value4 - 1;
|
|
if (value4) {
|
|
r2 = value;
|
|
r6 = value5;
|
|
continue reducibleLoop4;
|
|
}
|
|
r0 = value;
|
|
break reducibleLoop4;
|
|
}
|
|
} else {
|
|
r0 = value3;
|
|
}
|
|
return r0;
|
|
};
|
|
exports.customAlphabet = function(a0) {
|
|
var env0_0 = a0;
|
|
var value = 21;
|
|
var env0_1 = arguments.length > 1 ? arguments[1] === undefined ? value : arguments[1] : value;
|
|
return _fun17017;
|
|
};
|
|
function customAlphabet(a0) { // fn#17016, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1620:319, offset: 0x00e61a29, size: 58 bytes, params: 2, frame: 7
|
|
const env0_0 = a0;
|
|
const value = 21;
|
|
const env0_1 = arguments.length > 1 ? arguments[1] === undefined ? value : arguments[1] : value;
|
|
return _fun17017;
|
|
function _fun17017() { // fn#17017, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1620:417, offset: 0x00e61a63, size: 109 bytes, params: 1, frame: 15
|
|
var r0;
|
|
var r2;
|
|
var r5;
|
|
var value;
|
|
var binding;
|
|
var Math;
|
|
var random;
|
|
var length;
|
|
var value5;
|
|
var value6;
|
|
reducibleJoin4: while (true) {
|
|
reducibleJoin2: while (true) {
|
|
if (arguments.length > 0) {
|
|
if (arguments[0] !== undefined) {
|
|
value = arguments[0];
|
|
r0 = value;
|
|
break reducibleJoin4;
|
|
}
|
|
break reducibleJoin2;
|
|
}
|
|
break reducibleJoin2;
|
|
}
|
|
value = environment;
|
|
binding = env0_1;
|
|
r0 = binding;
|
|
break reducibleJoin4;
|
|
}
|
|
value = r0 | 0;
|
|
const value2 = typeof value === 'bigint' ? value - 1n : +value - 1;
|
|
const value3 = '';
|
|
if (value) {
|
|
r2 = value3;
|
|
r5 = value2;
|
|
reducibleLoop5: while (true) {
|
|
binding = env0_0;
|
|
Math = global.Math;
|
|
random = Math.random;
|
|
value = Reflect.apply(random, Math, []);
|
|
length = binding.length;
|
|
value = r2 + binding[value * length | 0];
|
|
value5 = typeof r5 === 'bigint' ? r5 : +r5;
|
|
value6 = typeof value5 === 'bigint' ? value5 - 1n : +value5 - 1;
|
|
if (value5) {
|
|
r2 = value;
|
|
r5 = value6;
|
|
continue reducibleLoop5;
|
|
}
|
|
r0 = value;
|
|
break reducibleLoop5;
|
|
}
|
|
} else {
|
|
r0 = value3;
|
|
}
|
|
return r0;
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun17014, 1493, []) /* metro module 1493 */;
|