decord/source/802_getSentryCarrier.js

46 lines
1.3 KiB
JavaScript
Raw Normal View History

2026-07-20 16:05:17 +00:00
// Module ID: 802
2026-07-24 07:16:23 +00:00
// Function ID: 9019
2026-07-20 16:05:17 +00:00
// Name: getSentryCarrier
2026-07-23 10:11:24 +00:00
// Dependencies: [798, 803]
2026-07-20 16:05:17 +00:00
// Module 802 (getSentryCarrier)
2026-07-23 10:11:24 +00:00
const require = arg1;
const dependencyMap = arg6;
2026-07-20 16:05:17 +00:00
function getSentryCarrier(__SENTRY__) {
const tmp = __SENTRY__.__SENTRY__ || {};
__SENTRY__.__SENTRY__ = tmp;
let SDK_VERSION = tmp.version;
if (!SDK_VERSION) {
2026-07-23 10:11:24 +00:00
SDK_VERSION = require(803).SDK_VERSION;
2026-07-20 16:05:17 +00:00
}
tmp.version = SDK_VERSION;
2026-07-23 10:11:24 +00:00
const tmp4 = tmp[require(undefined, 803).SDK_VERSION] || {};
tmp[require(803).SDK_VERSION] = tmp4;
2026-07-20 16:05:17 +00:00
return tmp4;
}
Object.defineProperty(arg5, Symbol.toStringTag, { value: "Module" });
arg5.getGlobalSingleton = function getGlobalSingleton(arg0, arg1) {
if (arguments.length > 2) {
if (undefined !== arguments[2]) {
let GLOBAL_OBJ = arguments[2];
}
const tmp = GLOBAL_OBJ.__SENTRY__ || {};
GLOBAL_OBJ.__SENTRY__ = tmp;
2026-07-23 10:11:24 +00:00
const tmp4 = tmp[require(undefined, 803).SDK_VERSION] || {};
tmp[require(803).SDK_VERSION] = tmp4;
2026-07-20 16:05:17 +00:00
let tmp5 = tmp4[arg0];
if (!tmp5) {
const tmp7 = arg1();
tmp4[arg0] = tmp7;
tmp5 = tmp7;
}
return tmp5;
}
2026-07-23 10:11:24 +00:00
GLOBAL_OBJ = require(798).GLOBAL_OBJ;
2026-07-20 16:05:17 +00:00
};
arg5.getMainCarrier = function getMainCarrier() {
2026-07-23 10:11:24 +00:00
getSentryCarrier(require(798).GLOBAL_OBJ);
return require(798).GLOBAL_OBJ;
2026-07-20 16:05:17 +00:00
};
arg5.getSentryCarrier = getSentryCarrier;