decord/source/7232_getGlobalSingleton.js

25 lines
595 B
JavaScript
Raw Normal View History

2026-07-21 22:01:30 +00:00
// Module ID: 7232
// Function ID: 58226
2026-07-20 16:05:17 +00:00
// Name: getGlobalSingleton
// Dependencies: []
2026-07-21 22:01:30 +00:00
// Module 7232 (getGlobalSingleton)
2026-07-20 16:05:17 +00:00
arg5.GLOBAL_OBJ = globalThis;
arg5.getGlobalSingleton = function getGlobalSingleton(arg0, arg1, arg2) {
let tmp = arg2;
if (!arg2) {
tmp = globalThis;
}
const tmp2 = tmp.__SENTRY__ || {};
tmp.__SENTRY__ = tmp2;
const tmp3 = tmp2[closure_0(undefined, closure_1[0]).SDK_VERSION] || {};
tmp2[arg1(arg6[0]).SDK_VERSION] = tmp3;
let tmp4 = tmp3[arg0];
if (!tmp4) {
const tmp6 = arg1();
tmp3[arg0] = tmp6;
tmp4 = tmp6;
}
return tmp4;
};