decord/source/__polyfill/12xxx/module_12933.js
github-actions f0f877e8ce chore: update source for alpha 347.1
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4824.js (118.4 MB)
2026-09-15 14:23:42 +00:00

29 lines
663 B
JavaScript

// Module ID: 12933
// Function ID: 12934
// Dependencies: [12934]
// Exports: getGlobalSingleton
// Module 12933
import _mod12934 from "module_12934" /* 12934 */;
require = arg1;
const dependencyMap = arg6;
export const GLOBAL_OBJ = globalThis;
export const getGlobalSingleton = function getGlobalSingleton(arg0, fn, arg2) {
let tmp = arg2;
if (!arg2) {
tmp = globalThis;
}
const tmp2 = tmp.__SENTRY__ || {};
tmp.__SENTRY__ = tmp2;
const tmp3 = tmp2[_mod12934.SDK_VERSION] || {};
tmp2[_mod12934.SDK_VERSION] = tmp3;
let tmp4 = tmp3[arg0];
if (!tmp4) {
const tmp6 = fn();
tmp3[arg0] = tmp6;
tmp4 = tmp6;
}
return tmp4;
};