Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/05xxx/module_5051.js (118.4 MB)
54 lines
1.4 KiB
TypeScript
54 lines
1.4 KiB
TypeScript
// Module ID: 13980
|
|
// Function ID: 13981
|
|
// Name: polyfillsNative
|
|
// Dependencies: [3, 13981, 14051, 14069, 14072, 14075, 1252, 1237, 2]
|
|
|
|
// Module 13980 (polyfillsNative)
|
|
import q from "q" /* 1237 */;
|
|
import Buffer from "Buffer" /* 1252 */;
|
|
import _mod14075 from "module_14075" /* 14075 */;
|
|
import Logger from "Logger" /* 3 */;
|
|
import module_13981 from "module_13981" /* 13981 */;
|
|
import get_ActivityIndicator from "module_14051" /* 14051 */;
|
|
import _typeof from "module_14069" /* 14069 */;
|
|
import GetOption from "module_14072" /* 14072 */;
|
|
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) {
|
|
const _module5 = _mod14075;
|
|
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) {
|
|
const _module6 = q;
|
|
}
|
|
const result = size.fileFinishedImporting("polyfillsNative.tsx");
|