decord/source/polyfillsNative.tsx

50 lines
1.3 KiB
TypeScript
Raw Normal View History

2026-07-24 07:16:23 +00:00
// Module ID: 13279
// Function ID: 101973
// Dependencies: [3, 13280, 13350, 13368, 13371, 13374, 488, 1190, 2]
2026-07-23 10:11:24 +00:00
2026-07-24 07:16:23 +00:00
// Module 13279
2026-07-23 10:11:24 +00:00
import timestamp from "_mergeNamespaces";
2026-07-24 07:16:23 +00:00
import module_13280 from "module_13280";
2026-07-23 10:11:24 +00:00
import get_ActivityIndicator from "get ActivityIndicator";
import _mergeNamespaces from "_mergeNamespaces";
import CanonicalizeLocaleList from "CanonicalizeLocaleList";
2026-07-20 16:05:17 +00:00
if ("undefined" === typeof process) {
const _window = window;
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-07-23 10:11:24 +00:00
const _module5 = require("_callSuper");
2026-07-20 16:05:17 +00:00
const _window2 = window;
window.crypto = global.crypto;
}
if (null == global.Buffer) {
2026-07-23 10:11:24 +00:00
global.Buffer = require("createBuffer").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) {
const _window3 = window;
tmp7 = null != window.TextDecoder;
}
if (!tmp7) {
2026-07-23 10:11:24 +00:00
const _module6 = require("k");
2026-07-20 16:05:17 +00:00
}
2026-07-23 10:11:24 +00:00
const result = require("get ActivityIndicator").fileFinishedImporting("polyfillsNative.tsx");