decord/stable/source/polyfillsNative.tsx
github-actions 528a3dd5ba chore: update source for stable 345.9
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4745.js (118.4 MB)
2026-09-18 20:18:48 +00:00

54 lines
1.4 KiB
TypeScript

// Module ID: 14296
// Function ID: 14297
// Name: polyfillsNative
// Dependencies: [3, 14297, 14367, 14385, 14388, 14391, 1253, 1238, 2]
// Module 14296 (polyfillsNative)
import q from "q" /* 1238 */;
import Buffer from "Buffer" /* 1253 */;
import _mod14391 from "module_14391" /* 14391 */;
import Logger from "Logger" /* 3 */;
import module_14297 from "module_14297" /* 14297 */;
import get_ActivityIndicator from "module_14367" /* 14367 */;
import _typeof from "module_14385" /* 14385 */;
import GetOption from "module_14388" /* 14388 */;
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 = _mod14391;
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");