decord/source/1170_breadcrumbsIntegration.js
2026-08-24 06:08:38 +00:00

41 lines
1.2 KiB
JavaScript

// Module ID: 1170
// Function ID: 1171
// Name: breadcrumbsIntegration
// Dependencies: [1002, 1024]
// Module 1170 (breadcrumbsIntegration)
import isHermesEnabled from "isHermesEnabled" /* 1002 */;
require = arg1;
const dependencyMap = arg6;
arg5.breadcrumbsIntegration = () => {
let obj = arg0;
if (arg0 === undefined) {
obj = {};
}
let _fetch = obj.fetch;
const merged = Object.assign({ xhr: true, console: true, sentry: true }, obj);
if (null === _fetch) {
_fetch = isHermesEnabled.isWeb();
const obj2 = isHermesEnabled;
}
obj = { fetch: _fetch, dom: null, history: null };
let isWebResult = isHermesEnabled.isWeb();
if (isWebResult) {
const dom = obj.dom;
isWebResult = null === dom || undefined === dom || dom;
const tmp7 = null === dom || undefined === dom || dom;
}
obj[1] = isWebResult;
let tmp4Result = tmp4(1002);
let isWebResult1 = tmp4Result.isWeb();
if (isWebResult1) {
const history = obj.history;
isWebResult1 = null === history || undefined === history || history;
const tmp9 = null === history || undefined === history || history;
}
obj[2] = isWebResult1;
const merged1 = Object.assign(merged, obj);
tmp4Result = tmp4(1024);
return tmp4Result.breadcrumbsIntegration(merged1);
};