2026-09-12 13:45:10 +00:00
|
|
|
// Module ID: 14381
|
|
|
|
|
// Function ID: 14382
|
2026-09-10 05:38:07 +00:00
|
|
|
// Name: polyfillsNative
|
2026-09-12 13:45:10 +00:00
|
|
|
// Dependencies: [3, 14382, 14452, 14470, 14473, 14476, 1253, 1238, 2]
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-09-12 13:45:10 +00:00
|
|
|
// Module 14381 (polyfillsNative)
|
2026-09-05 10:56:28 +00:00
|
|
|
import q from "q" /* 1238 */;
|
|
|
|
|
import Buffer from "Buffer" /* 1253 */;
|
2026-09-12 13:45:10 +00:00
|
|
|
import _mod14476 from "module_14476" /* 14476 */;
|
2026-09-10 05:38:07 +00:00
|
|
|
import Logger from "Logger" /* 3 */;
|
2026-09-12 13:45:10 +00:00
|
|
|
import module_14382 from "module_14382" /* 14382 */;
|
|
|
|
|
import get_ActivityIndicator from "module_14452" /* 14452 */;
|
|
|
|
|
import _typeof from "module_14470" /* 14470 */;
|
|
|
|
|
import GetOption from "module_14473" /* 14473 */;
|
2026-09-10 05:38:07 +00:00
|
|
|
import size from "module_2" /* 2 */;
|
2026-07-20 16:05:17 +00:00
|
|
|
|
2026-08-04 21:03:28 +00:00
|
|
|
if (typeof process === "undefined") {
|
2026-07-29 08:29:29 +00:00
|
|
|
const _window3 = window;
|
2026-07-20 16:05:17 +00:00
|
|
|
window.process = {};
|
|
|
|
|
}
|
|
|
|
|
window.process.nextTick = setImmediate;
|
|
|
|
|
if (null == global.location) {
|
2026-07-23 10:11:24 +00:00
|
|
|
global.location = { protocol: "https:", host: "discord.com" };
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
if (!global.self) {
|
|
|
|
|
global.self = global;
|
|
|
|
|
}
|
|
|
|
|
if (null == window.crypto) {
|
2026-09-12 13:45:10 +00:00
|
|
|
const _module5 = _mod14476;
|
2026-07-29 08:29:29 +00:00
|
|
|
const _window = window;
|
2026-07-20 16:05:17 +00:00
|
|
|
window.crypto = global.crypto;
|
|
|
|
|
}
|
|
|
|
|
if (null == global.Buffer) {
|
2026-08-24 06:08:38 +00:00
|
|
|
global.Buffer = Buffer.Buffer;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
if (null == global.__reanimatedWorkletInit) {
|
|
|
|
|
global.__reanimatedWorkletInit = () => {
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
const fn = function() {
|
|
|
|
|
return Array.from(this);
|
|
|
|
|
};
|
|
|
|
|
Map.prototype.toJSON = fn;
|
|
|
|
|
Set.prototype.toJSON = fn;
|
|
|
|
|
let tmp7 = null != window.TextEncoder;
|
|
|
|
|
if (tmp7) {
|
2026-07-29 08:29:29 +00:00
|
|
|
const _window2 = window;
|
2026-07-20 16:05:17 +00:00
|
|
|
tmp7 = null != window.TextDecoder;
|
|
|
|
|
}
|
|
|
|
|
if (!tmp7) {
|
2026-08-24 06:08:38 +00:00
|
|
|
const _module6 = q;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
2026-09-10 05:38:07 +00:00
|
|
|
const result = size.fileFinishedImporting("polyfillsNative.tsx");
|