Files
discord-decomp/_bundle/Module1170.js
T
2026-11-01 12:12:55 +02:00

33 lines
792 B
JavaScript

// Metro module 1170 (f1171).
import { isWeb } from "./Module1002";
import * as _Module1024 from "./Module1024";
export const breadcrumbsIntegration = function(r5 = {}) {
const r8 = Object;
const r14 = {
xhr: true,
console: true,
sentry: true,
...r5
};
let fetch2 = r5.fetch;
const r10 = r5;
if (!(fetch2 !== null && fetch2 !== void 0)) {
fetch2 = !!isWeb();
}
let dom2 = !!isWeb();
if (dom2) {
const dom = r10.dom;
dom2 = dom === null || dom === void 0 || dom;
}
let history3 = !!isWeb();
if (history3) {
const history2 = r10.history;
history3 = history2 === null || history2 === void 0 || history2;
}
return _Module1024.breadcrumbsIntegration(r8.assign(r14, {
fetch: fetch2,
dom: dom2,
history: history3
}));
};