2026-10-12 16:32:48 +00:00
|
|
|
// Module ID: 14547
|
|
|
|
|
// Function ID: 14548
|
2026-09-18 19:45:33 +00:00
|
|
|
// Name: polyfillsNative
|
2026-10-12 16:32:48 +00:00
|
|
|
// Dependencies: [3, 14548, 14618, 14636, 14639, 14642, 1276, 1261, 2]
|
2026-09-18 19:45:33 +00:00
|
|
|
|
2026-10-12 16:32:48 +00:00
|
|
|
// Module 14547 (polyfillsNative)
|
|
|
|
|
import _mod1261 from "module_1261" /* 1261 */;
|
|
|
|
|
import Buffer from "Buffer" /* 1276 */;
|
|
|
|
|
import _mod14642 from "module_14642" /* 14642 */;
|
2026-09-18 19:45:33 +00:00
|
|
|
import Logger from "Logger" /* 3 */;
|
2026-10-12 16:32:48 +00:00
|
|
|
import module_14548 from "module_14548" /* 14548 */;
|
|
|
|
|
import react_native from "react-native" /* 14618 */;
|
|
|
|
|
import getPluralRules from "getPluralRules" /* 14636 */;
|
|
|
|
|
import module_14639 from "module_14639" /* 14639 */;
|
2026-09-18 19:45:33 +00:00
|
|
|
import size from "module_2" /* 2 */;
|
|
|
|
|
|
|
|
|
|
if (typeof process === "undefined") {
|
|
|
|
|
const _window3 = window;
|
|
|
|
|
window.process = {};
|
|
|
|
|
}
|
|
|
|
|
window.process.nextTick = setImmediate;
|
|
|
|
|
if (null == global.location) {
|
|
|
|
|
global.location = { protocol: "https:", host: "discord.com" };
|
|
|
|
|
}
|
|
|
|
|
if (!global.self) {
|
|
|
|
|
global.self = global;
|
|
|
|
|
}
|
|
|
|
|
if (null == window.crypto) {
|
2026-10-12 16:32:48 +00:00
|
|
|
const _module5 = _mod14642;
|
2026-09-18 19:45:33 +00:00
|
|
|
const _window = window;
|
|
|
|
|
window.crypto = global.crypto;
|
|
|
|
|
}
|
|
|
|
|
if (null == global.Buffer) {
|
|
|
|
|
global.Buffer = Buffer.Buffer;
|
|
|
|
|
}
|
|
|
|
|
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) {
|
|
|
|
|
const _window2 = window;
|
|
|
|
|
tmp7 = null != window.TextDecoder;
|
|
|
|
|
}
|
|
|
|
|
if (!tmp7) {
|
2026-10-12 16:32:48 +00:00
|
|
|
const _module6 = _mod1261;
|
2026-09-18 19:45:33 +00:00
|
|
|
}
|
|
|
|
|
const result = size.fileFinishedImporting("polyfillsNative.tsx");
|