Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4792.js (118.4 MB)
33 lines
1 KiB
JavaScript
33 lines
1 KiB
JavaScript
// Module ID: 12910
|
|
// Function ID: 12911
|
|
// Dependencies: [12893, 12894]
|
|
// Exports: getMainCarrier, getSentryCarrier
|
|
|
|
// Module 12910
|
|
import _mod12893 from "module_12893" /* 12893 */;
|
|
import _mod12894 from "module_12894" /* 12894 */;
|
|
|
|
require = arg1;
|
|
const dependencyMap = arg6;
|
|
|
|
export const getMainCarrier = function getMainCarrier() {
|
|
const GLOBAL_OBJ = _mod12893.GLOBAL_OBJ;
|
|
const tmp3 = GLOBAL_OBJ.__SENTRY__ || {};
|
|
GLOBAL_OBJ.__SENTRY__ = tmp3;
|
|
tmp3.version = tmp3.version || _mod12894.SDK_VERSION;
|
|
const tmp4 = tmp3.version || _mod12894.SDK_VERSION;
|
|
tmp3[_mod12894.SDK_VERSION] = tmp3[_mod12894.SDK_VERSION] || {};
|
|
return _mod12893.GLOBAL_OBJ;
|
|
};
|
|
export const getSentryCarrier = function getSentryCarrier(__SENTRY__) {
|
|
const tmp = __SENTRY__.__SENTRY__ || {};
|
|
__SENTRY__.__SENTRY__ = tmp;
|
|
let SDK_VERSION = tmp.version;
|
|
if (!SDK_VERSION) {
|
|
SDK_VERSION = _mod12894.SDK_VERSION;
|
|
}
|
|
tmp.version = SDK_VERSION;
|
|
const tmp4 = tmp[_mod12894.SDK_VERSION] || {};
|
|
tmp[_mod12894.SDK_VERSION] = tmp4;
|
|
return tmp4;
|
|
};
|