100 lines
4.5 KiB
JavaScript
100 lines
4.5 KiB
JavaScript
// Module ID: 1075
|
|
// Function ID: 1076
|
|
// Name: forceLoad
|
|
// Dependencies: [817, 1076, 1077, 1078, 1079, 1080, 1081, 1082, 1073, 1032, 1030]
|
|
|
|
// Module 1075 (forceLoad)
|
|
import registerSpanErrorInstrumentation from "registerSpanErrorInstrumentation" /* 817 */;
|
|
import _isNativeReflectConstruct from "_isNativeReflectConstruct" /* 1030 */;
|
|
import makeFetchTransport from "makeFetchTransport" /* 1032 */;
|
|
import _wrapTimeFunction from "_wrapTimeFunction" /* 1076 */;
|
|
import breadcrumbsIntegration from "breadcrumbsIntegration" /* 1077 */;
|
|
import _getUnhandledRejectionError from "_getUnhandledRejectionError" /* 1078 */;
|
|
import linkedErrorsIntegration from "linkedErrorsIntegration" /* 1079 */;
|
|
import httpContextIntegration from "httpContextIntegration" /* 1080 */;
|
|
import browserSessionIntegration from "browserSessionIntegration" /* 1081 */;
|
|
import checkAndWarnIfIsEmbeddedBrowserExtension from "checkAndWarnIfIsEmbeddedBrowserExtension" /* 1082 */;
|
|
|
|
require = arg1;
|
|
const dependencyMap = arg6;
|
|
Object.defineProperty(arg5, Symbol.toStringTag, { value: "Module" });
|
|
arg5.forceLoad = function forceLoad() {
|
|
|
|
};
|
|
arg5.getDefaultIntegrations = function getDefaultIntegrations(arg0) {
|
|
const items = [registerSpanErrorInstrumentation.inboundFiltersIntegration(), , , , , , , , ];
|
|
const obj = registerSpanErrorInstrumentation;
|
|
items[1] = registerSpanErrorInstrumentation.functionToStringIntegration();
|
|
const obj2 = registerSpanErrorInstrumentation;
|
|
items[2] = _wrapTimeFunction.browserApiErrorsIntegration();
|
|
const obj3 = _wrapTimeFunction;
|
|
items[3] = breadcrumbsIntegration.breadcrumbsIntegration();
|
|
const obj4 = breadcrumbsIntegration;
|
|
items[4] = _getUnhandledRejectionError.globalHandlersIntegration();
|
|
const obj5 = _getUnhandledRejectionError;
|
|
items[5] = linkedErrorsIntegration.linkedErrorsIntegration();
|
|
const obj6 = linkedErrorsIntegration;
|
|
items[6] = registerSpanErrorInstrumentation.dedupeIntegration();
|
|
const obj7 = registerSpanErrorInstrumentation;
|
|
items[7] = httpContextIntegration.httpContextIntegration();
|
|
const obj8 = httpContextIntegration;
|
|
items[8] = browserSessionIntegration.browserSessionIntegration();
|
|
return items;
|
|
};
|
|
arg5.init = function init() {
|
|
let obj = arg0;
|
|
if (arg0 === undefined) {
|
|
obj = {};
|
|
}
|
|
const skipBrowserExtensionCheck = obj.skipBrowserExtensionCheck;
|
|
let result = !skipBrowserExtensionCheck;
|
|
if (!skipBrowserExtensionCheck) {
|
|
result = checkAndWarnIfIsEmbeddedBrowserExtension.checkAndWarnIfIsEmbeddedBrowserExtension();
|
|
const obj2 = checkAndWarnIfIsEmbeddedBrowserExtension;
|
|
}
|
|
if (null == obj.defaultIntegrations) {
|
|
const items = [registerSpanErrorInstrumentation.inboundFiltersIntegration(), , , , , , , , ];
|
|
const obj3 = registerSpanErrorInstrumentation;
|
|
items[1] = registerSpanErrorInstrumentation.functionToStringIntegration();
|
|
const obj4 = registerSpanErrorInstrumentation;
|
|
items[2] = _wrapTimeFunction.browserApiErrorsIntegration();
|
|
const obj5 = _wrapTimeFunction;
|
|
items[3] = breadcrumbsIntegration.breadcrumbsIntegration();
|
|
const obj6 = breadcrumbsIntegration;
|
|
items[4] = _getUnhandledRejectionError.globalHandlersIntegration();
|
|
const obj7 = _getUnhandledRejectionError;
|
|
items[5] = linkedErrorsIntegration.linkedErrorsIntegration();
|
|
const obj8 = linkedErrorsIntegration;
|
|
items[6] = registerSpanErrorInstrumentation.dedupeIntegration();
|
|
const obj9 = registerSpanErrorInstrumentation;
|
|
items[7] = httpContextIntegration.httpContextIntegration();
|
|
const obj10 = httpContextIntegration;
|
|
items[8] = browserSessionIntegration.browserSessionIntegration();
|
|
let defaultIntegrations = items;
|
|
const obj11 = browserSessionIntegration;
|
|
} else {
|
|
defaultIntegrations = obj.defaultIntegrations;
|
|
}
|
|
obj = {};
|
|
const merged = Object.assign(obj);
|
|
let enabled = !result;
|
|
if (!result) {
|
|
enabled = obj.enabled;
|
|
}
|
|
obj.enabled = enabled;
|
|
let defaultStackParser = obj.stackParser;
|
|
if (!defaultStackParser) {
|
|
defaultStackParser = tmp7(1073).defaultStackParser;
|
|
}
|
|
obj.stackParser = registerSpanErrorInstrumentation.stackParserFromStackParserOptions(defaultStackParser);
|
|
let tmp7Result = tmp7(817);
|
|
obj = { integrations: obj.integrations, defaultIntegrations };
|
|
obj.integrations = tmp7Result.getIntegrationsToSetup(obj);
|
|
const obj13 = registerSpanErrorInstrumentation;
|
|
obj.transport = obj.transport || makeFetchTransport.makeFetchTransport;
|
|
tmp7Result = tmp7(817);
|
|
return tmp7Result.initAndBind(_isNativeReflectConstruct.BrowserClient, obj);
|
|
};
|
|
arg5.onLoad = function onLoad(arg0) {
|
|
arg0();
|
|
};
|