decord/source/__polyfill/13xxx/module_13040.js
github-actions 8d58bae3b2 chore: update source for alpha 347.4
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4907.js (118.4 MB)
2026-09-18 06:58:00 +00:00

29 lines
663 B
JavaScript

// Module ID: 13040
// Function ID: 13041
// Dependencies: [13041]
// Exports: getGlobalSingleton
// Module 13040
import _mod13041 from "module_13041" /* 13041 */;
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[_mod13041.SDK_VERSION] || {};
tmp2[_mod13041.SDK_VERSION] = tmp3;
let tmp4 = tmp3[arg0];
if (!tmp4) {
const tmp6 = fn();
tmp3[arg0] = tmp6;
tmp4 = tmp6;
}
return tmp4;
};