Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
29 lines
663 B
JavaScript
29 lines
663 B
JavaScript
// Module ID: 12927
|
|
// Function ID: 12928
|
|
// Dependencies: [12928]
|
|
// Exports: getGlobalSingleton
|
|
|
|
// Module 12927
|
|
import _mod12928 from "module_12928" /* 12928 */;
|
|
|
|
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[_mod12928.SDK_VERSION] || {};
|
|
tmp2[_mod12928.SDK_VERSION] = tmp3;
|
|
let tmp4 = tmp3[arg0];
|
|
if (!tmp4) {
|
|
const tmp6 = fn();
|
|
tmp3[arg0] = tmp6;
|
|
tmp4 = tmp6;
|
|
}
|
|
return tmp4;
|
|
};
|