Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4759.js (118.4 MB)
41 lines
1.2 KiB
JavaScript
41 lines
1.2 KiB
JavaScript
// Module ID: 1035
|
|
// Function ID: 1036
|
|
// Dependencies: [867, 889]
|
|
// Exports: breadcrumbsIntegration
|
|
|
|
// Module 1035
|
|
import _mod867 from "module_867" /* 867 */;
|
|
import feedbackAsyncIntegration from "feedbackAsyncIntegration" /* 889 */;
|
|
|
|
require = arg1;
|
|
const dependencyMap = arg6;
|
|
|
|
export const 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 = _mod867.isWeb();
|
|
}
|
|
const obj3 = { fetch: _fetch, dom: null, history: null };
|
|
let isWebResult = _mod867.isWeb();
|
|
if (isWebResult) {
|
|
const dom = obj.dom;
|
|
isWebResult = null === dom || undefined === dom || dom;
|
|
const tmp7 = null === dom || undefined === dom || dom;
|
|
}
|
|
obj3.dom = isWebResult;
|
|
let isWebResult1 = _mod867.isWeb();
|
|
if (isWebResult1) {
|
|
const history = obj.history;
|
|
isWebResult1 = null === history || undefined === history || history;
|
|
const tmp9 = null === history || undefined === history || history;
|
|
}
|
|
obj3.history = isWebResult1;
|
|
const merged1 = Object.assign(merged, obj3);
|
|
const tmp4Result = _mod867;
|
|
return feedbackAsyncIntegration.breadcrumbsIntegration(merged1);
|
|
};
|