81 lines
2.8 KiB
JavaScript
81 lines
2.8 KiB
JavaScript
/* Metro module 501; source: unknown; dependencies: [502, 493, 494] */
|
|
import * as UnsafeStringifyModule from './module-00494-unsafeStringify.js'; /* Metro dependency 494 */
|
|
|
|
function _fun6442(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#6442, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:551:6, offset: 0x00cfb508, size: 73 bytes, params: 8, frame: 16
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
exports.default = v4;
|
|
function v4(a0, a1, a2) { // fn#6443, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:551:99, offset: 0x00cfb551, size: 241 bytes, params: 4, frame: 18
|
|
var r5;
|
|
var r2;
|
|
var r4;
|
|
var r3;
|
|
var rng;
|
|
let value = a0;
|
|
const value2 = a2;
|
|
const value4 = 0;
|
|
if (importDefault(dependencyMap[value4]).randomUUID) {
|
|
reducibleJoin4: while (true) {
|
|
if (a1) {
|
|
break reducibleJoin4;
|
|
}
|
|
if (!value) {
|
|
value = importDefault(dependencyMap[value4]);
|
|
return value.randomUUID();
|
|
}
|
|
break reducibleJoin4;
|
|
}
|
|
}
|
|
reducibleJoin6: while (true) {
|
|
if (value) {
|
|
r5 = value;
|
|
break reducibleJoin6;
|
|
}
|
|
r5 = {};
|
|
break reducibleJoin6;
|
|
}
|
|
const random = r5.random;
|
|
reducibleJoin10: while (true) {
|
|
if (random) {
|
|
r2 = random;
|
|
break reducibleJoin10;
|
|
}
|
|
rng = r5.rng;
|
|
reducibleJoin9: while (true) {
|
|
if (rng) {
|
|
r5 = rng;
|
|
break reducibleJoin9;
|
|
}
|
|
value = importDefault(493) /* metro dependency 493 */;
|
|
r5 = value;
|
|
break reducibleJoin9;
|
|
}
|
|
value = r5();
|
|
r2 = value;
|
|
break reducibleJoin10;
|
|
}
|
|
r2[6] = 15 & r2[6] | 64;
|
|
r2[8] = 63 & r2[8] | 128;
|
|
if (a1) {
|
|
r4 = value2 || value4;
|
|
r3 = value4;
|
|
reducibleLoop14: while (true) {
|
|
value = r4 + r3;
|
|
a1[value] = r2[r3];
|
|
value = typeof r3 === 'bigint' ? r3 + 1n : +r3 + 1;
|
|
if (value < 16) {
|
|
r3 = value;
|
|
continue reducibleLoop14;
|
|
}
|
|
break reducibleLoop14;
|
|
}
|
|
return a1;
|
|
}
|
|
return (UnsafeStringifyModule).unsafeStringify(r2);
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun6442, 501, [502, 493, 494]) /* metro module 501, dependencies: [502, 493, 494] */;
|