47 lines
1.5 KiB
JavaScript
47 lines
1.5 KiB
JavaScript
// Module ID: 825
|
|
// Function ID: 826
|
|
// Name: getGlobalSingleton
|
|
// Dependencies: [821, 826]
|
|
|
|
// Module 825 (getGlobalSingleton)
|
|
const require = arg1;
|
|
const dependencyMap = arg6;
|
|
Object.defineProperty(arg5, Symbol.toStringTag, { value: "Module" });
|
|
arg5.getGlobalSingleton = function getGlobalSingleton(arg0, arg1) {
|
|
let GLOBAL_OBJ = arg2;
|
|
if (arg2 === undefined) {
|
|
GLOBAL_OBJ = require(821).GLOBAL_OBJ;
|
|
}
|
|
const tmp3 = GLOBAL_OBJ.__SENTRY__ || {};
|
|
GLOBAL_OBJ.__SENTRY__ = tmp3;
|
|
const tmp4 = tmp3[require(undefined, 826).SDK_VERSION] || {};
|
|
tmp3[require(826).SDK_VERSION] = tmp4;
|
|
let tmp5 = tmp4[arg0];
|
|
if (!tmp5) {
|
|
const tmp7 = arg1();
|
|
tmp4[arg0] = tmp7;
|
|
tmp5 = tmp7;
|
|
}
|
|
return tmp5;
|
|
};
|
|
arg5.getMainCarrier = function getMainCarrier() {
|
|
const GLOBAL_OBJ = require(821).GLOBAL_OBJ;
|
|
const tmp3 = GLOBAL_OBJ.__SENTRY__ || {};
|
|
GLOBAL_OBJ.__SENTRY__ = tmp3;
|
|
tmp3.version = tmp3.version || require(826).SDK_VERSION;
|
|
const tmp4 = tmp3.version || require(826).SDK_VERSION;
|
|
tmp3[require(826).SDK_VERSION] = tmp3[require(undefined, 826).SDK_VERSION] || {};
|
|
return require(821).GLOBAL_OBJ;
|
|
};
|
|
arg5.getSentryCarrier = function getSentryCarrier(__SENTRY__) {
|
|
const tmp = __SENTRY__.__SENTRY__ || {};
|
|
__SENTRY__.__SENTRY__ = tmp;
|
|
let SDK_VERSION = tmp.version;
|
|
if (!SDK_VERSION) {
|
|
SDK_VERSION = require(826).SDK_VERSION;
|
|
}
|
|
tmp.version = SDK_VERSION;
|
|
const tmp4 = tmp[require(undefined, 826).SDK_VERSION] || {};
|
|
tmp[require(826).SDK_VERSION] = tmp4;
|
|
return tmp4;
|
|
};
|