@expofp/floorplan 3.2.11 → 3.2.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/{CookieConsent-BO5qwz6a.js → CookieConsent-l5gCtFOx.js} +29 -29
- package/dist/browser/{Debug-DexzdzJp.js → Debug-DGpD6gi3.js} +6 -6
- package/dist/browser/{Demo-DLXdkVhW.js → Demo-D58NFoyc.js} +8 -8
- package/dist/browser/{Free-yVFnsWSh.js → Free-0cQAwFKa.js} +8 -8
- package/dist/browser/{Gallery-Dn2HK8m2.js → Gallery-CPVZPQ00.js} +8 -8
- package/dist/browser/{GpsLoader-CZoCsImS.js → GpsLoader-qwW4aTNa.js} +8 -8
- package/dist/browser/{KioskStore-BxbWvsdJ.js → KioskStore-IujhAAGe.js} +3 -3
- package/dist/browser/{Mapbox-CydcIhNZ.js → Mapbox-BEIVuKI-.js} +8 -8
- package/dist/browser/{SetKioskMode-C7VppLpN.js → SetKioskMode-DlUxPyq5.js} +7 -7
- package/dist/browser/{ShowKiosk-e6WDLaf5.js → ShowKiosk-DzPcuttS.js} +9 -9
- package/dist/browser/{ThreeComponent-yy3OPsuc.js → ThreeComponent-D7GyVwct.js} +9 -9
- package/dist/browser/{TouchHand-CbtyjcL0.js → TouchHand-DUyEIum1.js} +4 -4
- package/dist/browser/{ViewerMenuPanel-s0RMH_oA.js → ViewerMenuPanel-DQds_0Se.js} +7 -7
- package/dist/browser/{add-debug-secret-listener-Cr1Ajrf-.js → add-debug-secret-listener-BoLrZL18.js} +1 -1
- package/dist/browser/{boolean-editor-BCX6xqRm.js → boolean-editor-D439oELN.js} +10 -10
- package/dist/browser/{bootIntercom-DLdKzzC9.js → bootIntercom-C0fIuZrS.js} +2 -2
- package/dist/browser/{box-CEM2gjhy.js → box-DQ37DLtr.js} +5 -5
- package/dist/browser/{browser-CdL8ZK5z.js → browser-BWeq0ALX.js} +2 -2
- package/dist/browser/bundle.json +53 -53
- package/dist/browser/{classnames-DEdMNc8I.js → classnames-BqhGxx8b.js} +2 -2
- package/dist/browser/{client-CpcbYCT-.js → client-DpMmqnL3.js} +4 -4
- package/dist/browser/{data-tlDX6elM.js → data-BGGzJSZ3.js} +3 -3
- package/dist/browser/{debug-overlay-BOiZtsFN.js → debug-overlay-DyHs08sf.js} +11 -11
- package/dist/browser/{debug-ui-i-wWTdix.js → debug-ui-Ds2r10P8.js} +7 -7
- package/dist/browser/{dist-zZz5d97V.js → dist-C8-R05Uf.js} +6 -6
- package/dist/browser/{dist-D1P1PrdO.js → dist-CXnrXk8a.js} +3 -3
- package/dist/browser/{dist-Bp1bUgV8.js → dist-DeJCQ-ni.js} +5 -5
- package/dist/browser/{efp-debug-init-fBwZ8tr3.js → efp-debug-init-BAaVZ-Sv.js} +2 -2
- package/dist/browser/{enum-editor-BvSizJUK.js → enum-editor-bO-7z_65.js} +11 -11
- package/dist/browser/{exports-BKLOsjD6.js → exports-DuxaY9F1.js} +1 -1
- package/dist/browser/{favicon-DB1l8VeF.js → favicon-BiX13mYV.js} +1 -1
- package/dist/browser/{fetch-retry.umd-BZIfOUr5.js → fetch-retry.umd-BxHhVEQ9.js} +2 -2
- package/dist/browser/{flex-DmJKy3es.js → flex-DznufWy4.js} +6 -6
- package/dist/browser/{flex.props-DHDVqa1y.js → flex.props-CBBCApDT.js} +2 -2
- package/dist/browser/{floorplan.loader-BVGBUr-h.js → floorplan.loader-CYCz53F2.js} +426 -430
- package/dist/browser/{floorplan.ready-D1DhMRk3.js → floorplan.ready-t0OqKoP2.js} +11 -11
- package/dist/browser/{fuse-BCAOvNEJ.js → fuse-2x0Yl6bu.js} +2 -2
- package/dist/browser/index.js +12 -12
- package/dist/browser/{is-debug-CA2a_2q-.js → is-debug-Dj3mKaHR.js} +3 -3
- package/dist/browser/{jsx-runtime-uEHAkP6m.js → jsx-runtime-DS_WWXud.js} +2 -2
- package/dist/browser/{lib-BhjKcOV4.js → lib-Bt7PWtNh.js} +4 -4
- package/dist/browser/{main-BnCmKJbq.js → main-DK2hJr48.js} +1 -1
- package/dist/browser/{mobx-BOGTrGmh.js → mobx-BcjkYuCb.js} +4 -4
- package/dist/browser/{particles.min-D-NGElJf.js → particles.min-BGHzdrAw.js} +2 -2
- package/dist/browser/{prop-types-BgdPWtxd.js → prop-types-DwnAO0Yi.js} +2 -2
- package/dist/browser/{react-CkcHu3iu.js → react-DddeiwYl.js} +2 -2
- package/dist/browser/{react-dom-Cwix1DpP.js → react-dom-D8AyYBO2.js} +3 -3
- package/dist/browser/{reset-all-settings-CAgZ_rFb.js → reset-all-settings-BMiI_ZFm.js} +7 -7
- package/dist/browser/{rolldown-runtime-qsYhNifB.js → rolldown-runtime-DaP-Mfpn.js} +1 -1
- package/dist/browser/{settings-CyuiNRrO.js → settings-Bbym8GNQ.js} +2 -2
- package/dist/browser/{settings-item-TJJSrFEd.js → settings-item-D8MTM1Pj.js} +6 -6
- package/dist/browser/{store-BY_LKdrE.js → store-nbxV99WZ.js} +22 -22
- package/dist/browser/{string-editor-D2D8leIs.js → string-editor-BSj1Zdr7.js} +8 -8
- package/dist/browser/{theme-BFusN9DI.js → theme-Bo2UyA3Q.js} +8 -8
- package/dist/browser/{ui-C4JxPv9y.js → ui-C5q_HiUr.js} +8 -8
- package/dist/esm/data/Flags.d.ts +4 -0
- package/dist/esm/data/Flags.js +1 -0
- package/dist/esm/floorplan.loader.js +1 -1
- package/dist/esm/store/RouteStore.js +1 -1
- package/package.json +3 -3
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
(function() {
|
|
2
2
|
try {
|
|
3
3
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
4
|
-
e.SENTRY_RELEASE = { id: "3.2.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.2.13" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
6
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "f75f77fd-d5d0-4757-841d-0e13966f9a2c", e._sentryDebugIdIdentifier = "sentry-dbid-f75f77fd-d5d0-4757-841d-0e13966f9a2c");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./rolldown-runtime-
|
|
10
|
-
import { t } from "./react-
|
|
11
|
-
import { A as n, B as r, Et as i, G as a, H as o, J as s, K as c, V as l, Y as u, d, n as f, r as
|
|
12
|
-
import { $ as m, A as h, B as g, C as _, D as v, E as
|
|
9
|
+
import { r as e } from "./rolldown-runtime-DaP-Mfpn.js";
|
|
10
|
+
import { t } from "./react-DddeiwYl.js";
|
|
11
|
+
import { A as n, B as r, Et as i, G as a, H as o, J as s, K as c, V as l, Y as u, d, n as f, r as ee, s as te, t as p, z as ne } from "./is-debug-Dj3mKaHR.js";
|
|
12
|
+
import { $ as m, A as h, B as g, C as _, D as v, E as re, F as y, G as b, H as x, I as S, J as C, K as ie, L as w, M as T, N as ae, O as oe, P as se, Q as ce, R as le, S as ue, T as E, U as de, V as fe, W as D, X as pe, Y as me, Z as he, _ as ge, _t as _e, a as ve, at as ye, b as be, bt as O, c as xe, ct as Se, d as Ce, dt as we, et as Te, f as Ee, ft as De, g as Oe, gt as ke, h as Ae, ht as je, it as k, j as A, k as Me, l as Ne, lt as Pe, m as Fe, mt as j, n as Ie, nt as Le, o as Re, ot as M, p as ze, pt as Be, q as Ve, r as He, rt as Ue, s as We, st as Ge, t as Ke, tt as qe, u as Je, ut as N, v as P, vt as Ye, w as F, x as Xe, y as Ze, yt as I, z as L } from "./exports-DuxaY9F1.js";
|
|
13
13
|
//#region src/tools/report-error.ts
|
|
14
14
|
var Qe;
|
|
15
15
|
function $e(e) {
|
|
@@ -132,7 +132,7 @@ function V(e, t) {
|
|
|
132
132
|
try {
|
|
133
133
|
t();
|
|
134
134
|
} catch (t) {
|
|
135
|
-
|
|
135
|
+
O && j.error(`Error while instrumenting ${e}`, t);
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
138
|
}
|
|
@@ -141,7 +141,7 @@ function H(e, t) {
|
|
|
141
141
|
if (n) for (let r of n) try {
|
|
142
142
|
r(t);
|
|
143
143
|
} catch (t) {
|
|
144
|
-
|
|
144
|
+
O && j.error(`Error while triggering instrumentation handler.\nType: ${e}\nName: ${N(r)}\nError:`, t);
|
|
145
145
|
}
|
|
146
146
|
}
|
|
147
147
|
//#endregion
|
|
@@ -190,21 +190,21 @@ function bt(e, t) {
|
|
|
190
190
|
if (!(t != null && t.length)) return !1;
|
|
191
191
|
for (let n of t) {
|
|
192
192
|
if (Ct(n)) {
|
|
193
|
-
if (e.description &&
|
|
193
|
+
if (e.description && w(e.description, n)) return O && yt(e), !0;
|
|
194
194
|
continue;
|
|
195
195
|
}
|
|
196
196
|
let t = !!n.attributes && Object.keys(n.attributes).length > 0;
|
|
197
197
|
if (!n.name && !n.op && !t) continue;
|
|
198
|
-
let r = n.name ? e.description &&
|
|
198
|
+
let r = n.name ? e.description && w(e.description, n.name) : !0, i = n.op ? e.op && w(e.op, n.op) : !0, a = n.attributes ? Object.entries(n.attributes).every(([t, n]) => {
|
|
199
199
|
var r;
|
|
200
200
|
return xt((r = e.attributes) == null ? void 0 : r[t], n);
|
|
201
201
|
}) : !0;
|
|
202
|
-
if (r && i && a) return
|
|
202
|
+
if (r && i && a) return O && yt(e), !0;
|
|
203
203
|
}
|
|
204
204
|
return !1;
|
|
205
205
|
}
|
|
206
206
|
function xt(e, t) {
|
|
207
|
-
return typeof e == "string" && (typeof t == "string" || t instanceof RegExp) ?
|
|
207
|
+
return typeof e == "string" && (typeof t == "string" || t instanceof RegExp) ? w(e, t) : Array.isArray(e) && Array.isArray(t) ? e.length === t.length && e.every((e, n) => e === t[n]) : e === t;
|
|
208
208
|
}
|
|
209
209
|
function St(e, t) {
|
|
210
210
|
let n = t.parent_span_id, r = t.span_id;
|
|
@@ -239,7 +239,7 @@ function Dt(e, t) {
|
|
|
239
239
|
return Et(e, (e, n) => t.includes(n));
|
|
240
240
|
}
|
|
241
241
|
function Ot(e) {
|
|
242
|
-
let t =
|
|
242
|
+
let t = _e(I);
|
|
243
243
|
return t.encodePolyfill ? t.encodePolyfill(e) : new TextEncoder().encode(e);
|
|
244
244
|
}
|
|
245
245
|
function kt(e) {
|
|
@@ -255,7 +255,7 @@ function kt(e) {
|
|
|
255
255
|
try {
|
|
256
256
|
e = JSON.stringify(n);
|
|
257
257
|
} catch {
|
|
258
|
-
e = JSON.stringify(
|
|
258
|
+
e = JSON.stringify(Ee(n));
|
|
259
259
|
}
|
|
260
260
|
i(e);
|
|
261
261
|
}
|
|
@@ -444,7 +444,7 @@ function Qt(e, t) {
|
|
|
444
444
|
}
|
|
445
445
|
function $t(e, t, n) {
|
|
446
446
|
if (n[t.name]) {
|
|
447
|
-
|
|
447
|
+
O && j.log(`Integration skipped because it was already installed: ${t.name}`);
|
|
448
448
|
return;
|
|
449
449
|
}
|
|
450
450
|
if (n[t.name] = t, !Jt.includes(t.name) && typeof t.setupOnce == "function" && (t.setupOnce(), Jt.push(t.name)), t.setup && typeof t.setup == "function" && t.setup(e), typeof t.preprocessEvent == "function") {
|
|
@@ -458,7 +458,7 @@ function $t(e, t, n) {
|
|
|
458
458
|
["processSpan", "processSegmentSpan"].forEach((n) => {
|
|
459
459
|
let r = t[n];
|
|
460
460
|
typeof r == "function" && e.on(n, (n) => r.call(t, n, e));
|
|
461
|
-
}),
|
|
461
|
+
}), O && j.log(`Integration installed: ${t.name}`);
|
|
462
462
|
}
|
|
463
463
|
function W(e) {
|
|
464
464
|
return e;
|
|
@@ -522,7 +522,7 @@ function ln(e) {
|
|
|
522
522
|
return un().get(e);
|
|
523
523
|
}
|
|
524
524
|
function un() {
|
|
525
|
-
return
|
|
525
|
+
return ke("clientToLogBufferMap", () => /* @__PURE__ */ new WeakMap());
|
|
526
526
|
}
|
|
527
527
|
//#endregion
|
|
528
528
|
//#region ../../node_modules/.pnpm/@sentry+core@10.52.0/node_modules/@sentry/core/build/esm/metrics/envelope.js
|
|
@@ -561,7 +561,7 @@ function mn(e) {
|
|
|
561
561
|
return hn().get(e);
|
|
562
562
|
}
|
|
563
563
|
function hn() {
|
|
564
|
-
return
|
|
564
|
+
return ke("clientToMetricBufferMap", () => /* @__PURE__ */ new WeakMap());
|
|
565
565
|
}
|
|
566
566
|
//#endregion
|
|
567
567
|
//#region ../../node_modules/.pnpm/@sentry+core@10.52.0/node_modules/@sentry/core/build/esm/utils/timer.js
|
|
@@ -585,7 +585,7 @@ function vn(e = 100) {
|
|
|
585
585
|
return t.add(i), i.then(() => r(i), () => r(i)), i;
|
|
586
586
|
}
|
|
587
587
|
function a(e) {
|
|
588
|
-
if (!t.size) return
|
|
588
|
+
if (!t.size) return Ce(!0);
|
|
589
589
|
let n = Promise.allSettled(Array.from(t)).then(() => !0);
|
|
590
590
|
if (!e) return n;
|
|
591
591
|
let r = [n, new Promise((t) => gn(setTimeout(() => t(!1), e)))];
|
|
@@ -634,17 +634,17 @@ function wn(e, t, n = vn(e.bufferSize || 64)) {
|
|
|
634
634
|
}), a.length === 0) return Promise.resolve({});
|
|
635
635
|
let o = U(i[0], a), s = (t) => {
|
|
636
636
|
if (Dt(o, ["client_report"])) {
|
|
637
|
-
|
|
637
|
+
O && j.warn(`Dropping client report. Will not send outcomes (reason: ${t}).`);
|
|
638
638
|
return;
|
|
639
639
|
}
|
|
640
640
|
Et(o, (n, r) => {
|
|
641
641
|
e.recordDroppedEvent(t, Pt(r));
|
|
642
642
|
});
|
|
643
643
|
};
|
|
644
|
-
return n.add(() => t({ body: kt(o) }).then((e) => e.statusCode === 413 ? (
|
|
645
|
-
throw s("network_error"),
|
|
644
|
+
return n.add(() => t({ body: kt(o) }).then((e) => e.statusCode === 413 ? (O && j.error("Sentry responded with status code 413. Envelope was discarded due to exceeding size limits."), s("send_error"), e) : (O && e.statusCode !== void 0 && (e.statusCode < 200 || e.statusCode >= 300) && j.warn(`Sentry responded with status code ${e.statusCode} to sent event.`), r = Cn(r, e), e), (e) => {
|
|
645
|
+
throw s("network_error"), O && j.error("Encountered error running transport request:", e), e;
|
|
646
646
|
})).then((e) => e, (e) => {
|
|
647
|
-
if (e === _n) return
|
|
647
|
+
if (e === _n) return O && j.error("Skipped sending event because buffer is full."), s("queue_overflow"), Promise.resolve({});
|
|
648
648
|
throw e;
|
|
649
649
|
});
|
|
650
650
|
}
|
|
@@ -689,7 +689,7 @@ function Dn(e) {
|
|
|
689
689
|
timestamp: e.timestamp,
|
|
690
690
|
trace_id: i == null ? "" : i,
|
|
691
691
|
origin: c,
|
|
692
|
-
profile_id: l == null ? void 0 : l[
|
|
692
|
+
profile_id: l == null ? void 0 : l[ue],
|
|
693
693
|
exclusive_time: l == null ? void 0 : l[Xe],
|
|
694
694
|
measurements: e.measurements,
|
|
695
695
|
is_segment: !0
|
|
@@ -720,25 +720,25 @@ function On(e) {
|
|
|
720
720
|
//#endregion
|
|
721
721
|
//#region ../../node_modules/.pnpm/@sentry+core@10.52.0/node_modules/@sentry/core/build/esm/client.js
|
|
722
722
|
var kn = "Not capturing exception because it's already been captured.", An = "Discarded session because of missing or non-string release", jn = Symbol.for("SentryInternalError"), Mn = Symbol.for("SentryDoNotSendEventError"), Nn = 5e3;
|
|
723
|
-
function
|
|
723
|
+
function G(e) {
|
|
724
724
|
return {
|
|
725
725
|
message: e,
|
|
726
726
|
[jn]: !0
|
|
727
727
|
};
|
|
728
728
|
}
|
|
729
|
-
function
|
|
729
|
+
function Pn(e) {
|
|
730
730
|
return {
|
|
731
731
|
message: e,
|
|
732
732
|
[Mn]: !0
|
|
733
733
|
};
|
|
734
734
|
}
|
|
735
|
-
function
|
|
735
|
+
function Fn(e) {
|
|
736
736
|
return !!e && typeof e == "object" && jn in e;
|
|
737
737
|
}
|
|
738
|
-
function
|
|
738
|
+
function In(e) {
|
|
739
739
|
return !!e && typeof e == "object" && Mn in e;
|
|
740
740
|
}
|
|
741
|
-
function
|
|
741
|
+
function Ln(e, t, n, r, i) {
|
|
742
742
|
let a = 0, o, s = !1;
|
|
743
743
|
e.on(n, () => {
|
|
744
744
|
a = 0, clearTimeout(o), s = !1;
|
|
@@ -750,10 +750,10 @@ function Rn(e, t, n, r, i) {
|
|
|
750
750
|
i(e);
|
|
751
751
|
});
|
|
752
752
|
}
|
|
753
|
-
var
|
|
753
|
+
var Rn = class {
|
|
754
754
|
constructor(e) {
|
|
755
755
|
var t, n, r, i, a, o, s;
|
|
756
|
-
if (this._options = e, this._integrations = {}, this._numProcessing = 0, this._outcomes = {}, this._hooks = {}, this._eventProcessors = [], this._promiseBuffer = vn((t = (n = e.transportOptions) == null ? void 0 : n.bufferSize) == null ? 64 : t), e.dsn ? this._dsn = Ze(e.dsn) :
|
|
756
|
+
if (this._options = e, this._integrations = {}, this._numProcessing = 0, this._outcomes = {}, this._hooks = {}, this._eventProcessors = [], this._promiseBuffer = vn((t = (n = e.transportOptions) == null ? void 0 : n.bufferSize) == null ? 64 : t), e.dsn ? this._dsn = Ze(e.dsn) : O && j.warn("No DSN provided, client will not send events."), this._dsn) {
|
|
757
757
|
let t = Kt(this._dsn, e.tunnel, e._metadata ? e._metadata.sdk : void 0);
|
|
758
758
|
this._transport = e.transport({
|
|
759
759
|
tunnel: this._options.tunnel,
|
|
@@ -762,11 +762,11 @@ var zn = class {
|
|
|
762
762
|
url: t
|
|
763
763
|
});
|
|
764
764
|
}
|
|
765
|
-
this._options.enableLogs = (r = this._options.enableLogs) == null ? (i = this._options._experiments) == null ? void 0 : i.enableLogs : r, this._options.enableLogs &&
|
|
765
|
+
this._options.enableLogs = (r = this._options.enableLogs) == null ? (i = this._options._experiments) == null ? void 0 : i.enableLogs : r, this._options.enableLogs && Ln(this, "afterCaptureLog", "flushLogs", Gn, cn), ((a = (o = this._options.enableMetrics) == null ? (s = this._options._experiments) == null ? void 0 : s.enableMetrics : o) == null || a) && Ln(this, "afterCaptureMetric", "flushMetrics", Wn, pn);
|
|
766
766
|
}
|
|
767
767
|
captureException(e, t, n) {
|
|
768
|
-
let r =
|
|
769
|
-
if (
|
|
768
|
+
let r = S();
|
|
769
|
+
if (se(e)) return O && j.log(kn), r;
|
|
770
770
|
let i = {
|
|
771
771
|
event_id: r,
|
|
772
772
|
...t
|
|
@@ -775,18 +775,18 @@ var zn = class {
|
|
|
775
775
|
}
|
|
776
776
|
captureMessage(e, t, n, r) {
|
|
777
777
|
let i = {
|
|
778
|
-
event_id:
|
|
778
|
+
event_id: S(),
|
|
779
779
|
...n
|
|
780
|
-
}, a = Le(e) ? e : String(e), o =
|
|
780
|
+
}, a = Le(e) ? e : String(e), o = k(e), s = o ? this.eventFromMessage(a, t, i) : this.eventFromException(e, i);
|
|
781
781
|
return this._process(() => s.then((e) => this._captureEvent(e, i, r)), o ? "unknown" : "error"), i.event_id;
|
|
782
782
|
}
|
|
783
783
|
captureEvent(e, t, n) {
|
|
784
|
-
let r =
|
|
785
|
-
if (t != null && t.originalException &&
|
|
784
|
+
let r = S();
|
|
785
|
+
if (t != null && t.originalException && se(t.originalException)) return O && j.log(kn), r;
|
|
786
786
|
let i = {
|
|
787
787
|
event_id: r,
|
|
788
788
|
...t
|
|
789
|
-
}, a = e.sdkProcessingMetadata || {}, o = a.capturedSpanScope, s = a.capturedSpanIsolationScope, c =
|
|
789
|
+
}, a = e.sdkProcessingMetadata || {}, o = a.capturedSpanScope, s = a.capturedSpanIsolationScope, c = zn(e.type);
|
|
790
790
|
return this._process(() => this._captureEvent(e, i, o || n, s), c), i.event_id;
|
|
791
791
|
}
|
|
792
792
|
captureSession(e) {
|
|
@@ -838,17 +838,17 @@ var zn = class {
|
|
|
838
838
|
this.sendEnvelope(n).then((t) => this.emit("afterSendEvent", e, t));
|
|
839
839
|
}
|
|
840
840
|
sendSession(e) {
|
|
841
|
-
let { release: t, environment: n =
|
|
841
|
+
let { release: t, environment: n = Ae } = this._options;
|
|
842
842
|
if ("aggregates" in e) {
|
|
843
843
|
let r = e.attrs || {};
|
|
844
844
|
if (!r.release && !t) {
|
|
845
|
-
|
|
845
|
+
O && j.warn(An);
|
|
846
846
|
return;
|
|
847
847
|
}
|
|
848
848
|
r.release = r.release || t, r.environment = r.environment || n, e.attrs = r;
|
|
849
849
|
} else {
|
|
850
850
|
if (!e.release && !t) {
|
|
851
|
-
|
|
851
|
+
O && j.warn(An);
|
|
852
852
|
return;
|
|
853
853
|
}
|
|
854
854
|
e.release = e.release || t, e.environment = e.environment || n;
|
|
@@ -860,7 +860,7 @@ var zn = class {
|
|
|
860
860
|
recordDroppedEvent(e, t, n = 1) {
|
|
861
861
|
if (this._options.sendClientReports) {
|
|
862
862
|
let r = `${e}:${t}`;
|
|
863
|
-
|
|
863
|
+
O && j.log(`Recording outcome: "${r}"${n > 1 ? ` (${n} times)` : ""}`), this._outcomes[r] = (this._outcomes[r] || 0) + n;
|
|
864
864
|
}
|
|
865
865
|
}
|
|
866
866
|
on(e, t) {
|
|
@@ -877,9 +877,9 @@ var zn = class {
|
|
|
877
877
|
if (this.emit("beforeEnvelope", e), this._isEnabled() && this._transport) try {
|
|
878
878
|
return await this._transport.send(e);
|
|
879
879
|
} catch (e) {
|
|
880
|
-
return
|
|
880
|
+
return O && j.error("Error while sending envelope:", e), {};
|
|
881
881
|
}
|
|
882
|
-
return
|
|
882
|
+
return O && j.error("Transport disabled"), {};
|
|
883
883
|
}
|
|
884
884
|
registerCleanup(e) {}
|
|
885
885
|
dispose() {}
|
|
@@ -924,7 +924,7 @@ var zn = class {
|
|
|
924
924
|
return e === null ? e : (this.emit("postprocessEvent", e, t), e.contexts = {
|
|
925
925
|
trace: {
|
|
926
926
|
...(r = e.contexts) == null ? void 0 : r.trace,
|
|
927
|
-
...
|
|
927
|
+
...re(n)
|
|
928
928
|
},
|
|
929
929
|
...e.contexts
|
|
930
930
|
}, e.sdkProcessingMetadata = {
|
|
@@ -933,26 +933,26 @@ var zn = class {
|
|
|
933
933
|
}, e);
|
|
934
934
|
});
|
|
935
935
|
}
|
|
936
|
-
_captureEvent(e, t = {}, n = F(), r =
|
|
937
|
-
return
|
|
938
|
-
|
|
936
|
+
_captureEvent(e, t = {}, n = F(), r = E()) {
|
|
937
|
+
return O && Hn(e) && j.log(`Captured error event \`${En(e)[0] || "<unknown>"}\``), this._processEvent(e, t, n, r).then((e) => e.event_id, (e) => {
|
|
938
|
+
O && (In(e) ? j.log(e.message) : Fn(e) ? j.warn(e.message) : j.warn(e));
|
|
939
939
|
});
|
|
940
940
|
}
|
|
941
941
|
_processEvent(e, t, n, r) {
|
|
942
|
-
let i = this.getOptions(), { sampleRate: a } = i, o =
|
|
943
|
-
if (s && typeof l == "number" &&
|
|
944
|
-
let u =
|
|
942
|
+
let i = this.getOptions(), { sampleRate: a } = i, o = Un(e), s = Hn(e), c = `before send for type \`${e.type || "error"}\``, l = a === void 0 ? void 0 : vt(a);
|
|
943
|
+
if (s && typeof l == "number" && fe() > l) return this.recordDroppedEvent("sample_rate", "error"), Je(Pn(`Discarding event because it's not included in the random sample (sampling rate = ${a})`));
|
|
944
|
+
let u = zn(e.type);
|
|
945
945
|
return this._prepareEvent(e, t, n, r).then((e) => {
|
|
946
946
|
var n;
|
|
947
|
-
if (e === null) throw this.recordDroppedEvent("event_processor", u),
|
|
948
|
-
return ((n = t.data) == null ? void 0 : n.__sentry__) === !0 ? e : Vn(
|
|
947
|
+
if (e === null) throw this.recordDroppedEvent("event_processor", u), Pn("An event processor returned `null`, will not send event.");
|
|
948
|
+
return ((n = t.data) == null ? void 0 : n.__sentry__) === !0 ? e : Bn(Vn(this, i, e, t), c);
|
|
949
949
|
}).then((i) => {
|
|
950
950
|
if (i === null) {
|
|
951
951
|
if (this.recordDroppedEvent("before_send", u), o) {
|
|
952
952
|
let t = 1 + (e.spans || []).length;
|
|
953
953
|
this.recordDroppedEvent("before_send", "span", t);
|
|
954
954
|
}
|
|
955
|
-
throw
|
|
955
|
+
throw Pn(`${c} returned \`null\`, will not send event.`);
|
|
956
956
|
}
|
|
957
957
|
let a = n.getSession() || r.getSession();
|
|
958
958
|
if (s && a && this._updateSessionFromEvent(a, i), o) {
|
|
@@ -966,14 +966,14 @@ var zn = class {
|
|
|
966
966
|
source: "custom"
|
|
967
967
|
}), this.sendEvent(i, t), i;
|
|
968
968
|
}).then(null, (e) => {
|
|
969
|
-
throw
|
|
969
|
+
throw In(e) || Fn(e) ? e : (this.captureException(e, {
|
|
970
970
|
mechanism: {
|
|
971
971
|
handled: !1,
|
|
972
972
|
type: "internal"
|
|
973
973
|
},
|
|
974
974
|
data: { __sentry__: !0 },
|
|
975
975
|
originalException: e
|
|
976
|
-
}),
|
|
976
|
+
}), G(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: ${e}`));
|
|
977
977
|
});
|
|
978
978
|
}
|
|
979
979
|
_process(e, t) {
|
|
@@ -991,39 +991,39 @@ var zn = class {
|
|
|
991
991
|
});
|
|
992
992
|
}
|
|
993
993
|
_flushOutcomes() {
|
|
994
|
-
|
|
994
|
+
O && j.log("Flushing outcomes...");
|
|
995
995
|
let e = this._clearOutcomes();
|
|
996
996
|
if (e.length === 0) {
|
|
997
|
-
|
|
997
|
+
O && j.log("No outcomes to send");
|
|
998
998
|
return;
|
|
999
999
|
}
|
|
1000
1000
|
if (!this._dsn) {
|
|
1001
|
-
|
|
1001
|
+
O && j.log("No dsn provided, will not send outcomes");
|
|
1002
1002
|
return;
|
|
1003
1003
|
}
|
|
1004
|
-
|
|
1004
|
+
O && j.log("Sending outcomes:", e);
|
|
1005
1005
|
let t = Tn(e, this._options.tunnel && P(this._dsn));
|
|
1006
1006
|
this.sendEnvelope(t);
|
|
1007
1007
|
}
|
|
1008
1008
|
};
|
|
1009
|
-
function
|
|
1009
|
+
function zn(e) {
|
|
1010
1010
|
return e === "replay_event" ? "replay" : e || "error";
|
|
1011
1011
|
}
|
|
1012
|
-
function
|
|
1012
|
+
function Bn(e, t) {
|
|
1013
1013
|
let n = `${t} must return \`null\` or a valid event.`;
|
|
1014
1014
|
if (Ge(e)) return e.then((e) => {
|
|
1015
|
-
if (!Ue(e) && e !== null) throw
|
|
1015
|
+
if (!Ue(e) && e !== null) throw G(n);
|
|
1016
1016
|
return e;
|
|
1017
1017
|
}, (e) => {
|
|
1018
|
-
throw
|
|
1018
|
+
throw G(`${t} rejected with ${e}`);
|
|
1019
1019
|
});
|
|
1020
|
-
if (!Ue(e) && e !== null) throw
|
|
1020
|
+
if (!Ue(e) && e !== null) throw G(n);
|
|
1021
1021
|
return e;
|
|
1022
1022
|
}
|
|
1023
|
-
function
|
|
1023
|
+
function Vn(e, t, n, r) {
|
|
1024
1024
|
let { beforeSend: i, beforeSendTransaction: a, ignoreSpans: o } = t, s = !wt(t.beforeSendSpan) && t.beforeSendSpan, c = n;
|
|
1025
|
-
if (
|
|
1026
|
-
if (
|
|
1025
|
+
if (Hn(c) && i) return i(c, r);
|
|
1026
|
+
if (Un(c)) {
|
|
1027
1027
|
if (s || o) {
|
|
1028
1028
|
let t = Dn(c);
|
|
1029
1029
|
if (o != null && o.length && bt({
|
|
@@ -1033,7 +1033,7 @@ function Hn(e, t, n, r) {
|
|
|
1033
1033
|
}, o)) return null;
|
|
1034
1034
|
if (s) {
|
|
1035
1035
|
let e = s(t);
|
|
1036
|
-
e ? c =
|
|
1036
|
+
e ? c = oe(n, On(e)) : Oe();
|
|
1037
1037
|
}
|
|
1038
1038
|
if (c.spans) {
|
|
1039
1039
|
let t = [], n = c.spans;
|
|
@@ -1048,7 +1048,7 @@ function Hn(e, t, n, r) {
|
|
|
1048
1048
|
}
|
|
1049
1049
|
if (s) {
|
|
1050
1050
|
let n = s(e);
|
|
1051
|
-
n ? t.push(n) : (
|
|
1051
|
+
n ? t.push(n) : (Oe(), t.push(e));
|
|
1052
1052
|
} else t.push(e);
|
|
1053
1053
|
}
|
|
1054
1054
|
let r = c.spans.length - t.length;
|
|
@@ -1068,59 +1068,59 @@ function Hn(e, t, n, r) {
|
|
|
1068
1068
|
}
|
|
1069
1069
|
return c;
|
|
1070
1070
|
}
|
|
1071
|
-
function
|
|
1071
|
+
function Hn(e) {
|
|
1072
1072
|
return e.type === void 0;
|
|
1073
1073
|
}
|
|
1074
|
-
function
|
|
1074
|
+
function Un(e) {
|
|
1075
1075
|
return e.type === "transaction";
|
|
1076
1076
|
}
|
|
1077
|
-
function
|
|
1077
|
+
function Wn(e) {
|
|
1078
1078
|
let t = 0;
|
|
1079
|
-
return e.name && (t += e.name.length * 2), t += 8, t +
|
|
1079
|
+
return e.name && (t += e.name.length * 2), t += 8, t + Kn(e.attributes);
|
|
1080
1080
|
}
|
|
1081
|
-
function
|
|
1081
|
+
function Gn(e) {
|
|
1082
1082
|
let t = 0;
|
|
1083
|
-
return e.message && (t += e.message.length * 2), t +
|
|
1083
|
+
return e.message && (t += e.message.length * 2), t + Kn(e.attributes);
|
|
1084
1084
|
}
|
|
1085
|
-
function
|
|
1085
|
+
function Kn(e) {
|
|
1086
1086
|
if (!e) return 0;
|
|
1087
1087
|
let t = 0;
|
|
1088
1088
|
return Object.values(e).forEach((e) => {
|
|
1089
|
-
Array.isArray(e) ? t += e.length *
|
|
1089
|
+
Array.isArray(e) ? t += e.length * qn(e[0]) : k(e) ? t += qn(e) : t += 100;
|
|
1090
1090
|
}), t;
|
|
1091
1091
|
}
|
|
1092
|
-
function
|
|
1092
|
+
function qn(e) {
|
|
1093
1093
|
return typeof e == "string" ? e.length * 2 : typeof e == "number" ? 8 : typeof e == "boolean" ? 4 : 0;
|
|
1094
1094
|
}
|
|
1095
1095
|
//#endregion
|
|
1096
1096
|
//#region ../../node_modules/.pnpm/@sentry+core@10.52.0/node_modules/@sentry/core/build/esm/utils/eventbuilder.js
|
|
1097
|
-
function
|
|
1098
|
-
return
|
|
1097
|
+
function Jn(e) {
|
|
1098
|
+
return ce(e) && "__sentry_fetch_url_host__" in e && typeof e.__sentry_fetch_url_host__ == "string";
|
|
1099
1099
|
}
|
|
1100
|
-
function
|
|
1101
|
-
return
|
|
1100
|
+
function Yn(e) {
|
|
1101
|
+
return Jn(e) ? `${e.message} (${e.__sentry_fetch_url_host__})` : e.message;
|
|
1102
1102
|
}
|
|
1103
1103
|
//#endregion
|
|
1104
1104
|
//#region ../../node_modules/.pnpm/@sentry+core@10.52.0/node_modules/@sentry/core/build/esm/sdk.js
|
|
1105
|
-
function
|
|
1106
|
-
t.debug === !0 && (
|
|
1105
|
+
function Xn(e, t) {
|
|
1106
|
+
t.debug === !0 && (O ? j.enable() : Be(() => {
|
|
1107
1107
|
console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.");
|
|
1108
1108
|
})), F().update(t.initialScope);
|
|
1109
1109
|
let n = new e(t);
|
|
1110
|
-
return
|
|
1110
|
+
return Zn(n), n.init(), n;
|
|
1111
1111
|
}
|
|
1112
|
-
function
|
|
1112
|
+
function Zn(e) {
|
|
1113
1113
|
F().setClient(e);
|
|
1114
1114
|
}
|
|
1115
|
-
var
|
|
1116
|
-
function
|
|
1115
|
+
var Qn = 5e3, $n = 36e5;
|
|
1116
|
+
function er(e) {
|
|
1117
1117
|
function t(...e) {
|
|
1118
|
-
|
|
1118
|
+
O && j.log("[Offline]:", ...e);
|
|
1119
1119
|
}
|
|
1120
1120
|
return (n) => {
|
|
1121
1121
|
let r = e(n);
|
|
1122
1122
|
if (!n.createStore) throw Error("No `createStore` function was provided");
|
|
1123
|
-
let i = n.createStore(n), a =
|
|
1123
|
+
let i = n.createStore(n), a = Qn, o;
|
|
1124
1124
|
function s(e, t, r) {
|
|
1125
1125
|
return Dt(e, ["client_report"]) ? !1 : n.shouldStore ? n.shouldStore(e, t, r) : !0;
|
|
1126
1126
|
}
|
|
@@ -1134,7 +1134,7 @@ function tr(e) {
|
|
|
1134
1134
|
}, e));
|
|
1135
1135
|
}
|
|
1136
1136
|
function l() {
|
|
1137
|
-
o || (c(a), a = Math.min(a * 2,
|
|
1137
|
+
o || (c(a), a = Math.min(a * 2, $n));
|
|
1138
1138
|
}
|
|
1139
1139
|
async function u(e, o = !1) {
|
|
1140
1140
|
if (!o && Dt(e, ["replay_event", "replay_recording"])) return await i.push(e), c(100), {};
|
|
@@ -1147,7 +1147,7 @@ function tr(e) {
|
|
|
1147
1147
|
else if ((d = t.headers) != null && d["x-sentry-rate-limits"]) i = 6e4;
|
|
1148
1148
|
else if ((t.statusCode || 0) >= 400) return t;
|
|
1149
1149
|
}
|
|
1150
|
-
return c(i), a =
|
|
1150
|
+
return c(i), a = Qn, t;
|
|
1151
1151
|
} catch (n) {
|
|
1152
1152
|
if (await s(e, n, a)) return o ? await i.unshift(e) : await i.push(e), l(), t("Error sending. Event queued.", n), {};
|
|
1153
1153
|
throw n;
|
|
@@ -1155,13 +1155,13 @@ function tr(e) {
|
|
|
1155
1155
|
}
|
|
1156
1156
|
return n.flushAtStartup && l(), {
|
|
1157
1157
|
send: u,
|
|
1158
|
-
flush: (e) => (e === void 0 && (a =
|
|
1158
|
+
flush: (e) => (e === void 0 && (a = Qn, c(100)), r.flush(e))
|
|
1159
1159
|
};
|
|
1160
1160
|
};
|
|
1161
1161
|
}
|
|
1162
1162
|
//#endregion
|
|
1163
1163
|
//#region ../../node_modules/.pnpm/@sentry+core@10.52.0/node_modules/@sentry/core/build/esm/utils/ipAddress.js
|
|
1164
|
-
function
|
|
1164
|
+
function tr(e) {
|
|
1165
1165
|
if ("aggregates" in e) {
|
|
1166
1166
|
var t;
|
|
1167
1167
|
((t = e.attrs) == null ? void 0 : t.ip_address) === void 0 && (e.attrs = {
|
|
@@ -1172,7 +1172,7 @@ function nr(e) {
|
|
|
1172
1172
|
}
|
|
1173
1173
|
//#endregion
|
|
1174
1174
|
//#region ../../node_modules/.pnpm/@sentry+core@10.52.0/node_modules/@sentry/core/build/esm/utils/sdkMetadata.js
|
|
1175
|
-
function
|
|
1175
|
+
function nr(e, t, n = [t], r = "npm") {
|
|
1176
1176
|
let i = (e._metadata = e._metadata || {}).sdk = e._metadata.sdk || {};
|
|
1177
1177
|
i.name || (i.name = `sentry.javascript.${t}`, i.packages = n.map((e) => ({
|
|
1178
1178
|
name: `${r}:@sentry/${e}`,
|
|
@@ -1181,11 +1181,11 @@ function rr(e, t, n = [t], r = "npm") {
|
|
|
1181
1181
|
}
|
|
1182
1182
|
//#endregion
|
|
1183
1183
|
//#region ../../node_modules/.pnpm/@sentry+core@10.52.0/node_modules/@sentry/core/build/esm/breadcrumbs.js
|
|
1184
|
-
var
|
|
1185
|
-
function
|
|
1186
|
-
let n = _(), r =
|
|
1184
|
+
var rr = 100;
|
|
1185
|
+
function K(e, t) {
|
|
1186
|
+
let n = _(), r = E();
|
|
1187
1187
|
if (!n) return;
|
|
1188
|
-
let { beforeBreadcrumb: i = null, maxBreadcrumbs: a =
|
|
1188
|
+
let { beforeBreadcrumb: i = null, maxBreadcrumbs: a = rr } = n.getOptions();
|
|
1189
1189
|
if (a <= 0) return;
|
|
1190
1190
|
let o = {
|
|
1191
1191
|
timestamp: h(),
|
|
@@ -1195,21 +1195,21 @@ function G(e, t) {
|
|
|
1195
1195
|
}
|
|
1196
1196
|
//#endregion
|
|
1197
1197
|
//#region ../../node_modules/.pnpm/@sentry+core@10.52.0/node_modules/@sentry/core/build/esm/integrations/functiontostring.js
|
|
1198
|
-
var
|
|
1199
|
-
name:
|
|
1198
|
+
var ir, ar = "FunctionToString", or = /* @__PURE__ */ new WeakMap(), sr = W((() => ({
|
|
1199
|
+
name: ar,
|
|
1200
1200
|
setupOnce() {
|
|
1201
|
-
|
|
1201
|
+
ir = Function.prototype.toString;
|
|
1202
1202
|
try {
|
|
1203
1203
|
Function.prototype.toString = function(...e) {
|
|
1204
|
-
let t =
|
|
1205
|
-
return
|
|
1204
|
+
let t = b(this), n = or.has(_()) && t !== void 0 ? t : this;
|
|
1205
|
+
return ir.apply(n, e);
|
|
1206
1206
|
};
|
|
1207
1207
|
} catch {}
|
|
1208
1208
|
},
|
|
1209
1209
|
setup(e) {
|
|
1210
|
-
|
|
1210
|
+
or.set(e, !0);
|
|
1211
1211
|
}
|
|
1212
|
-
}))),
|
|
1212
|
+
}))), cr = [
|
|
1213
1213
|
/^Script error\.?$/,
|
|
1214
1214
|
/^Javascript error: Script error\.? on line 0$/,
|
|
1215
1215
|
/^ResizeObserver loop completed with undelivered notifications.$/,
|
|
@@ -1221,120 +1221,120 @@ var ar, or = "FunctionToString", sr = /* @__PURE__ */ new WeakMap(), cr = W((()
|
|
|
1221
1221
|
/Can't find variable: _AutofillCallbackHandler/,
|
|
1222
1222
|
/Object Not Found Matching Id:\d+, MethodName:simulateEvent/,
|
|
1223
1223
|
/^Java exception was raised during method invocation$/
|
|
1224
|
-
],
|
|
1224
|
+
], lr = "EventFilters", ur = W((e = {}) => {
|
|
1225
1225
|
let t;
|
|
1226
1226
|
return {
|
|
1227
|
-
name:
|
|
1227
|
+
name: lr,
|
|
1228
1228
|
setup(n) {
|
|
1229
|
-
t =
|
|
1229
|
+
t = fr(e, n.getOptions());
|
|
1230
1230
|
},
|
|
1231
1231
|
processEvent(n, r, i) {
|
|
1232
|
-
return t || (t =
|
|
1232
|
+
return t || (t = fr(e, i.getOptions())), pr(n, t) ? null : n;
|
|
1233
1233
|
}
|
|
1234
1234
|
};
|
|
1235
|
-
}),
|
|
1236
|
-
...
|
|
1235
|
+
}), dr = W(((e = {}) => ({
|
|
1236
|
+
...ur(e),
|
|
1237
1237
|
name: "InboundFilters"
|
|
1238
1238
|
})));
|
|
1239
|
-
function
|
|
1239
|
+
function fr(e = {}, t = {}) {
|
|
1240
1240
|
return {
|
|
1241
1241
|
allowUrls: [...e.allowUrls || [], ...t.allowUrls || []],
|
|
1242
1242
|
denyUrls: [...e.denyUrls || [], ...t.denyUrls || []],
|
|
1243
1243
|
ignoreErrors: [
|
|
1244
1244
|
...e.ignoreErrors || [],
|
|
1245
1245
|
...t.ignoreErrors || [],
|
|
1246
|
-
...e.disableErrorDefaults ? [] :
|
|
1246
|
+
...e.disableErrorDefaults ? [] : cr
|
|
1247
1247
|
],
|
|
1248
1248
|
ignoreTransactions: [...e.ignoreTransactions || [], ...t.ignoreTransactions || []]
|
|
1249
1249
|
};
|
|
1250
1250
|
}
|
|
1251
|
-
function
|
|
1251
|
+
function pr(e, t) {
|
|
1252
1252
|
if (!e.type) {
|
|
1253
|
-
if (
|
|
1254
|
-
if (
|
|
1255
|
-
if (
|
|
1256
|
-
if (!
|
|
1257
|
-
} else if (e.type === "transaction" &&
|
|
1253
|
+
if (mr(e, t.ignoreErrors)) return O && j.warn(`Event dropped due to being matched by \`ignoreErrors\` option.\nEvent: ${y(e)}`), !0;
|
|
1254
|
+
if (br(e)) return O && j.warn(`Event dropped due to not having an error message, error type or stacktrace.\nEvent: ${y(e)}`), !0;
|
|
1255
|
+
if (gr(e, t.denyUrls)) return O && j.warn(`Event dropped due to being matched by \`denyUrls\` option.\nEvent: ${y(e)}.\nUrl: ${yr(e)}`), !0;
|
|
1256
|
+
if (!_r(e, t.allowUrls)) return O && j.warn(`Event dropped due to not being matched by \`allowUrls\` option.\nEvent: ${y(e)}.\nUrl: ${yr(e)}`), !0;
|
|
1257
|
+
} else if (e.type === "transaction" && hr(e, t.ignoreTransactions)) return O && j.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.\nEvent: ${y(e)}`), !0;
|
|
1258
1258
|
return !1;
|
|
1259
1259
|
}
|
|
1260
|
-
function
|
|
1260
|
+
function mr(e, t) {
|
|
1261
1261
|
return t != null && t.length ? En(e).some((e) => L(e, t)) : !1;
|
|
1262
1262
|
}
|
|
1263
|
-
function
|
|
1263
|
+
function hr(e, t) {
|
|
1264
1264
|
if (!(t != null && t.length)) return !1;
|
|
1265
1265
|
let n = e.transaction;
|
|
1266
1266
|
return n ? L(n, t) : !1;
|
|
1267
1267
|
}
|
|
1268
|
-
function
|
|
1268
|
+
function gr(e, t) {
|
|
1269
1269
|
if (!(t != null && t.length)) return !1;
|
|
1270
|
-
let n =
|
|
1270
|
+
let n = yr(e);
|
|
1271
1271
|
return n ? L(n, t) : !1;
|
|
1272
1272
|
}
|
|
1273
|
-
function
|
|
1273
|
+
function _r(e, t) {
|
|
1274
1274
|
if (!(t != null && t.length)) return !0;
|
|
1275
|
-
let n =
|
|
1275
|
+
let n = yr(e);
|
|
1276
1276
|
return n ? L(n, t) : !0;
|
|
1277
1277
|
}
|
|
1278
|
-
function
|
|
1278
|
+
function vr(e = []) {
|
|
1279
1279
|
for (let t = e.length - 1; t >= 0; t--) {
|
|
1280
1280
|
let n = e[t];
|
|
1281
1281
|
if (n && n.filename !== "<anonymous>" && n.filename !== "[native code]") return n.filename || null;
|
|
1282
1282
|
}
|
|
1283
1283
|
return null;
|
|
1284
1284
|
}
|
|
1285
|
-
function
|
|
1285
|
+
function yr(e) {
|
|
1286
1286
|
try {
|
|
1287
1287
|
var t, n, r;
|
|
1288
1288
|
let i = [...(t = (n = e.exception) == null ? void 0 : n.values) == null ? [] : t].reverse().find((e) => {
|
|
1289
1289
|
var t, n;
|
|
1290
1290
|
return ((t = e.mechanism) == null ? void 0 : t.parent_id) === void 0 && ((n = e.stacktrace) == null || (n = n.frames) == null ? void 0 : n.length);
|
|
1291
1291
|
}), a = i == null || (r = i.stacktrace) == null ? void 0 : r.frames;
|
|
1292
|
-
return a ?
|
|
1292
|
+
return a ? vr(a) : null;
|
|
1293
1293
|
} catch {
|
|
1294
|
-
return
|
|
1294
|
+
return O && j.error(`Cannot extract url for event ${y(e)}`), null;
|
|
1295
1295
|
}
|
|
1296
1296
|
}
|
|
1297
|
-
function
|
|
1297
|
+
function br(e) {
|
|
1298
1298
|
var t;
|
|
1299
1299
|
return !((t = e.exception) == null || (t = t.values) == null) && t.length ? !e.message && !e.exception.values.some((e) => e.stacktrace || e.type && e.type !== "Error" || e.value) : !1;
|
|
1300
1300
|
}
|
|
1301
1301
|
//#endregion
|
|
1302
1302
|
//#region ../../node_modules/.pnpm/@sentry+core@10.52.0/node_modules/@sentry/core/build/esm/utils/aggregate-errors.js
|
|
1303
|
-
function
|
|
1303
|
+
function xr(e, t, n, r, i, a) {
|
|
1304
1304
|
var o;
|
|
1305
1305
|
if (!((o = i.exception) != null && o.values) || !a || !qe(a.originalException, Error)) return;
|
|
1306
1306
|
let s = i.exception.values.length > 0 ? i.exception.values[i.exception.values.length - 1] : void 0;
|
|
1307
|
-
s && (i.exception.values =
|
|
1307
|
+
s && (i.exception.values = Sr(e, t, r, a.originalException, n, i.exception.values, s, 0));
|
|
1308
1308
|
}
|
|
1309
|
-
function
|
|
1309
|
+
function Sr(e, t, n, r, i, a, o, s) {
|
|
1310
1310
|
if (a.length >= n + 1) return a;
|
|
1311
1311
|
let c = [...a];
|
|
1312
1312
|
if (qe(r[i], Error)) {
|
|
1313
|
-
|
|
1313
|
+
wr(o, s, r);
|
|
1314
1314
|
let a = e(t, r[i]), l = c.length;
|
|
1315
|
-
|
|
1315
|
+
Tr(a, i, l, s), c = Sr(e, t, n, r[i], i, [a, ...c], a, l);
|
|
1316
1316
|
}
|
|
1317
|
-
return
|
|
1317
|
+
return Cr(r) && r.errors.forEach((a, l) => {
|
|
1318
1318
|
if (qe(a, Error)) {
|
|
1319
|
-
|
|
1319
|
+
wr(o, s, r);
|
|
1320
1320
|
let u = e(t, a), d = c.length;
|
|
1321
|
-
|
|
1321
|
+
Tr(u, `errors[${l}]`, d, s), c = Sr(e, t, n, a, i, [u, ...c], u, d);
|
|
1322
1322
|
}
|
|
1323
1323
|
}), c;
|
|
1324
1324
|
}
|
|
1325
|
-
function
|
|
1325
|
+
function Cr(e) {
|
|
1326
1326
|
return Array.isArray(e.errors);
|
|
1327
1327
|
}
|
|
1328
|
-
function
|
|
1328
|
+
function wr(e, t, n) {
|
|
1329
1329
|
e.mechanism = {
|
|
1330
1330
|
handled: !0,
|
|
1331
1331
|
type: "auto.core.linked_errors",
|
|
1332
|
-
...
|
|
1332
|
+
...Cr(n) && { is_exception_group: !0 },
|
|
1333
1333
|
...e.mechanism,
|
|
1334
1334
|
exception_id: t
|
|
1335
1335
|
};
|
|
1336
1336
|
}
|
|
1337
|
-
function
|
|
1337
|
+
function Tr(e, t, n, r) {
|
|
1338
1338
|
e.mechanism = {
|
|
1339
1339
|
handled: !0,
|
|
1340
1340
|
...e.mechanism,
|
|
@@ -1346,19 +1346,19 @@ function Er(e, t, n, r) {
|
|
|
1346
1346
|
}
|
|
1347
1347
|
//#endregion
|
|
1348
1348
|
//#region ../../node_modules/.pnpm/@sentry+core@10.52.0/node_modules/@sentry/core/build/esm/instrument/console.js
|
|
1349
|
-
function
|
|
1349
|
+
function Er(e) {
|
|
1350
1350
|
let t = "console", n = B(t, e);
|
|
1351
|
-
return V(t,
|
|
1351
|
+
return V(t, Dr), n;
|
|
1352
1352
|
}
|
|
1353
|
-
function
|
|
1354
|
-
"console" in I &&
|
|
1355
|
-
e in I.console &&
|
|
1356
|
-
return
|
|
1353
|
+
function Dr() {
|
|
1354
|
+
"console" in I && De.forEach(function(e) {
|
|
1355
|
+
e in I.console && D(I.console, e, function(t) {
|
|
1356
|
+
return je[e] = t, function(...t) {
|
|
1357
1357
|
H("console", {
|
|
1358
1358
|
args: t,
|
|
1359
1359
|
level: e
|
|
1360
1360
|
});
|
|
1361
|
-
let n =
|
|
1361
|
+
let n = je[e];
|
|
1362
1362
|
n == null || n.apply(I.console, t);
|
|
1363
1363
|
};
|
|
1364
1364
|
});
|
|
@@ -1366,7 +1366,7 @@ function Or() {
|
|
|
1366
1366
|
}
|
|
1367
1367
|
//#endregion
|
|
1368
1368
|
//#region ../../node_modules/.pnpm/@sentry+core@10.52.0/node_modules/@sentry/core/build/esm/utils/severity.js
|
|
1369
|
-
function
|
|
1369
|
+
function Or(e) {
|
|
1370
1370
|
return e === "warn" ? "warning" : [
|
|
1371
1371
|
"fatal",
|
|
1372
1372
|
"error",
|
|
@@ -1378,31 +1378,31 @@ function kr(e) {
|
|
|
1378
1378
|
}
|
|
1379
1379
|
//#endregion
|
|
1380
1380
|
//#region ../../node_modules/.pnpm/@sentry+core@10.52.0/node_modules/@sentry/core/build/esm/integrations/dedupe.js
|
|
1381
|
-
var
|
|
1381
|
+
var kr = "Dedupe", Ar = W((() => {
|
|
1382
1382
|
let e;
|
|
1383
1383
|
return {
|
|
1384
|
-
name:
|
|
1384
|
+
name: kr,
|
|
1385
1385
|
processEvent(t) {
|
|
1386
1386
|
if (t.type) return t;
|
|
1387
1387
|
try {
|
|
1388
|
-
if (
|
|
1388
|
+
if (jr(t, e)) return O && j.warn("Event dropped due to being a duplicate of previously captured event."), null;
|
|
1389
1389
|
} catch {}
|
|
1390
1390
|
return e = t;
|
|
1391
1391
|
}
|
|
1392
1392
|
};
|
|
1393
1393
|
}));
|
|
1394
|
+
function jr(e, t) {
|
|
1395
|
+
return t ? !!(Mr(e, t) || Nr(e, t)) : !1;
|
|
1396
|
+
}
|
|
1394
1397
|
function Mr(e, t) {
|
|
1395
|
-
|
|
1398
|
+
let n = e.message, r = t.message;
|
|
1399
|
+
return !(!n && !r || n && !r || !n && r || n !== r || !Fr(e, t) || !Pr(e, t));
|
|
1396
1400
|
}
|
|
1397
1401
|
function Nr(e, t) {
|
|
1398
|
-
let n =
|
|
1399
|
-
return !(!n
|
|
1402
|
+
let n = Ir(t), r = Ir(e);
|
|
1403
|
+
return !(!n || !r || n.type !== r.type || n.value !== r.value || !Fr(e, t) || !Pr(e, t));
|
|
1400
1404
|
}
|
|
1401
1405
|
function Pr(e, t) {
|
|
1402
|
-
let n = Lr(t), r = Lr(e);
|
|
1403
|
-
return !(!n || !r || n.type !== r.type || n.value !== r.value || !Ir(e, t) || !Fr(e, t));
|
|
1404
|
-
}
|
|
1405
|
-
function Fr(e, t) {
|
|
1406
1406
|
let n = Pe(e), r = Pe(t);
|
|
1407
1407
|
if (!n && !r) return !0;
|
|
1408
1408
|
if (n && !r || !n && r || (n = n, r = r, r.length !== n.length)) return !1;
|
|
@@ -1412,7 +1412,7 @@ function Fr(e, t) {
|
|
|
1412
1412
|
}
|
|
1413
1413
|
return !0;
|
|
1414
1414
|
}
|
|
1415
|
-
function
|
|
1415
|
+
function Fr(e, t) {
|
|
1416
1416
|
let n = e.fingerprint, r = t.fingerprint;
|
|
1417
1417
|
if (!n && !r) return !0;
|
|
1418
1418
|
if (n && !r || !n && r) return !1;
|
|
@@ -1423,28 +1423,28 @@ function Ir(e, t) {
|
|
|
1423
1423
|
return !1;
|
|
1424
1424
|
}
|
|
1425
1425
|
}
|
|
1426
|
-
function
|
|
1426
|
+
function Ir(e) {
|
|
1427
1427
|
var t;
|
|
1428
1428
|
return (t = e.exception) == null || (t = t.values) == null ? void 0 : t[0];
|
|
1429
1429
|
}
|
|
1430
1430
|
//#endregion
|
|
1431
1431
|
//#region ../../node_modules/.pnpm/@sentry+core@10.52.0/node_modules/@sentry/core/build/esm/integrations/conversationId.js
|
|
1432
|
-
var
|
|
1433
|
-
name:
|
|
1432
|
+
var Lr = "ConversationId", Rr = W((() => ({
|
|
1433
|
+
name: Lr,
|
|
1434
1434
|
setup(e) {
|
|
1435
1435
|
e.on("spanStart", (e) => {
|
|
1436
|
-
let t = F().getScopeData(), n =
|
|
1436
|
+
let t = F().getScopeData(), n = E().getScopeData(), r = t.conversationId || n.conversationId;
|
|
1437
1437
|
if (r) {
|
|
1438
|
-
let { op: t, data: n, description: i } =
|
|
1438
|
+
let { op: t, data: n, description: i } = ge(e);
|
|
1439
1439
|
if (!(t != null && t.startsWith("gen_ai.")) && !n["ai.operationId"] && !(i != null && i.startsWith("ai."))) return;
|
|
1440
|
-
e.setAttribute(
|
|
1440
|
+
e.setAttribute(be, r);
|
|
1441
1441
|
}
|
|
1442
1442
|
});
|
|
1443
1443
|
}
|
|
1444
1444
|
})));
|
|
1445
1445
|
//#endregion
|
|
1446
1446
|
//#region ../../node_modules/.pnpm/@sentry+core@10.52.0/node_modules/@sentry/core/build/esm/utils/breadcrumb-log-level.js
|
|
1447
|
-
function
|
|
1447
|
+
function zr(e) {
|
|
1448
1448
|
if (e !== void 0) {
|
|
1449
1449
|
if (e >= 400 && e < 500) return "warning";
|
|
1450
1450
|
if (e >= 500) return "error";
|
|
@@ -1452,45 +1452,45 @@ function Br(e) {
|
|
|
1452
1452
|
}
|
|
1453
1453
|
//#endregion
|
|
1454
1454
|
//#region ../../node_modules/.pnpm/@sentry+core@10.52.0/node_modules/@sentry/core/build/esm/utils/supports.js
|
|
1455
|
-
var
|
|
1456
|
-
function
|
|
1457
|
-
return "history" in
|
|
1455
|
+
var q = I;
|
|
1456
|
+
function Br() {
|
|
1457
|
+
return "history" in q && !!q.history;
|
|
1458
1458
|
}
|
|
1459
|
-
function
|
|
1460
|
-
if (!("fetch" in
|
|
1459
|
+
function Vr() {
|
|
1460
|
+
if (!("fetch" in q)) return !1;
|
|
1461
1461
|
try {
|
|
1462
1462
|
return new Headers(), new Request("data:,"), new Response(), !0;
|
|
1463
1463
|
} catch {
|
|
1464
1464
|
return !1;
|
|
1465
1465
|
}
|
|
1466
1466
|
}
|
|
1467
|
-
function
|
|
1467
|
+
function Hr(e) {
|
|
1468
1468
|
return e && /^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString());
|
|
1469
1469
|
}
|
|
1470
|
-
function
|
|
1470
|
+
function Ur() {
|
|
1471
1471
|
if (typeof EdgeRuntime == "string") return !0;
|
|
1472
|
-
if (!
|
|
1473
|
-
if (
|
|
1474
|
-
let e = !1, t =
|
|
1472
|
+
if (!Vr()) return !1;
|
|
1473
|
+
if (Hr(q.fetch)) return !0;
|
|
1474
|
+
let e = !1, t = q.document;
|
|
1475
1475
|
if (t && typeof t.createElement == "function") try {
|
|
1476
1476
|
var n;
|
|
1477
1477
|
let r = t.createElement("iframe");
|
|
1478
|
-
r.hidden = !0, t.head.appendChild(r), (n = r.contentWindow) != null && n.fetch && (e =
|
|
1478
|
+
r.hidden = !0, t.head.appendChild(r), (n = r.contentWindow) != null && n.fetch && (e = Hr(r.contentWindow.fetch)), t.head.removeChild(r);
|
|
1479
1479
|
} catch (e) {
|
|
1480
|
-
|
|
1480
|
+
O && j.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ", e);
|
|
1481
1481
|
}
|
|
1482
1482
|
return e;
|
|
1483
1483
|
}
|
|
1484
1484
|
//#endregion
|
|
1485
1485
|
//#region ../../node_modules/.pnpm/@sentry+core@10.52.0/node_modules/@sentry/core/build/esm/instrument/fetch.js
|
|
1486
|
-
function
|
|
1486
|
+
function Wr(e, t) {
|
|
1487
1487
|
let n = "fetch", r = B(n, e);
|
|
1488
|
-
return V(n, () =>
|
|
1488
|
+
return V(n, () => Gr(void 0, t)), r;
|
|
1489
1489
|
}
|
|
1490
|
-
function
|
|
1491
|
-
t && !
|
|
1490
|
+
function Gr(e, t = !1) {
|
|
1491
|
+
t && !Ur() || D(I, "fetch", function(t) {
|
|
1492
1492
|
return function(...n) {
|
|
1493
|
-
let r = /* @__PURE__ */ Error(), { method: i, url: a } =
|
|
1493
|
+
let r = /* @__PURE__ */ Error(), { method: i, url: a } = Jr(n), o = {
|
|
1494
1494
|
args: n,
|
|
1495
1495
|
fetchData: {
|
|
1496
1496
|
method: i,
|
|
@@ -1498,7 +1498,7 @@ function Kr(e, t = !1) {
|
|
|
1498
1498
|
},
|
|
1499
1499
|
startTimestamp: A() * 1e3,
|
|
1500
1500
|
virtualError: r,
|
|
1501
|
-
headers:
|
|
1501
|
+
headers: Yr(n)
|
|
1502
1502
|
};
|
|
1503
1503
|
return e || H("fetch", { ...o }), t.apply(I, n).then(async (t) => (e ? e(t) : H("fetch", {
|
|
1504
1504
|
...o,
|
|
@@ -1510,24 +1510,24 @@ function Kr(e, t = !1) {
|
|
|
1510
1510
|
...o,
|
|
1511
1511
|
endTimestamp: A() * 1e3,
|
|
1512
1512
|
error: e
|
|
1513
|
-
}),
|
|
1513
|
+
}), ce(e) && e.stack === void 0 && (e.stack = r.stack, x(e, "framesToPop", 1));
|
|
1514
1514
|
let n = _(), i = (t = n == null ? void 0 : n.getOptions().enhanceFetchErrorMessages) == null ? "always" : t;
|
|
1515
1515
|
if (i !== !1 && e instanceof TypeError && (e.message === "Failed to fetch" || e.message === "Load failed" || e.message === "NetworkError when attempting to fetch resource.")) try {
|
|
1516
1516
|
let t = new URL(o.fetchData.url).host;
|
|
1517
|
-
i === "always" ? e.message = `${e.message} (${t})` :
|
|
1517
|
+
i === "always" ? e.message = `${e.message} (${t})` : x(e, "__sentry_fetch_url_host__", t);
|
|
1518
1518
|
} catch {}
|
|
1519
1519
|
throw e;
|
|
1520
1520
|
});
|
|
1521
1521
|
};
|
|
1522
1522
|
});
|
|
1523
1523
|
}
|
|
1524
|
-
function
|
|
1524
|
+
function Kr(e, t) {
|
|
1525
1525
|
return !!e && typeof e == "object" && !!e[t];
|
|
1526
1526
|
}
|
|
1527
|
-
function
|
|
1528
|
-
return typeof e == "string" ? e : e ?
|
|
1527
|
+
function qr(e) {
|
|
1528
|
+
return typeof e == "string" ? e : e ? Kr(e, "url") ? e.url : e.toString ? e.toString() : "" : "";
|
|
1529
1529
|
}
|
|
1530
|
-
function
|
|
1530
|
+
function Jr(e) {
|
|
1531
1531
|
if (e.length === 0) return {
|
|
1532
1532
|
method: "GET",
|
|
1533
1533
|
url: ""
|
|
@@ -1535,35 +1535,35 @@ function Yr(e) {
|
|
|
1535
1535
|
if (e.length === 2) {
|
|
1536
1536
|
let [t, n] = e;
|
|
1537
1537
|
return {
|
|
1538
|
-
url:
|
|
1539
|
-
method:
|
|
1538
|
+
url: qr(t),
|
|
1539
|
+
method: Kr(n, "method") ? String(n.method).toUpperCase() : ye(t) && Kr(t, "method") ? String(t.method).toUpperCase() : "GET"
|
|
1540
1540
|
};
|
|
1541
1541
|
}
|
|
1542
1542
|
let t = e[0];
|
|
1543
1543
|
return {
|
|
1544
|
-
url:
|
|
1545
|
-
method:
|
|
1544
|
+
url: qr(t),
|
|
1545
|
+
method: Kr(t, "method") ? String(t.method).toUpperCase() : "GET"
|
|
1546
1546
|
};
|
|
1547
1547
|
}
|
|
1548
|
-
function
|
|
1548
|
+
function Yr(e) {
|
|
1549
1549
|
let [t, n] = e;
|
|
1550
1550
|
try {
|
|
1551
1551
|
if (typeof n == "object" && n && "headers" in n && n.headers) return new Headers(n.headers);
|
|
1552
|
-
if (
|
|
1552
|
+
if (ye(t)) return new Headers(t.headers);
|
|
1553
1553
|
} catch {}
|
|
1554
1554
|
}
|
|
1555
1555
|
//#endregion
|
|
1556
1556
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.52.0/node_modules/@sentry/browser/build/npm/esm/prod/helpers.js
|
|
1557
|
-
var
|
|
1558
|
-
function
|
|
1559
|
-
return
|
|
1557
|
+
var J = I, Xr = 0;
|
|
1558
|
+
function Zr() {
|
|
1559
|
+
return Xr > 0;
|
|
1560
1560
|
}
|
|
1561
|
-
function
|
|
1562
|
-
|
|
1563
|
-
|
|
1561
|
+
function Qr() {
|
|
1562
|
+
Xr++, setTimeout(() => {
|
|
1563
|
+
Xr--;
|
|
1564
1564
|
});
|
|
1565
1565
|
}
|
|
1566
|
-
function
|
|
1566
|
+
function Y(e, t = {}) {
|
|
1567
1567
|
function n(e) {
|
|
1568
1568
|
return typeof e == "function";
|
|
1569
1569
|
}
|
|
@@ -1571,17 +1571,17 @@ function J(e, t = {}) {
|
|
|
1571
1571
|
try {
|
|
1572
1572
|
let t = e.__sentry_wrapped__;
|
|
1573
1573
|
if (t) return typeof t == "function" ? t : e;
|
|
1574
|
-
if (
|
|
1574
|
+
if (b(e)) return e;
|
|
1575
1575
|
} catch {
|
|
1576
1576
|
return e;
|
|
1577
1577
|
}
|
|
1578
1578
|
let r = function(...n) {
|
|
1579
1579
|
try {
|
|
1580
|
-
let r = n.map((e) =>
|
|
1580
|
+
let r = n.map((e) => Y(e, t));
|
|
1581
1581
|
return e.apply(this, r);
|
|
1582
1582
|
} catch (e) {
|
|
1583
|
-
throw
|
|
1584
|
-
r.addEventProcessor((e) => (t.mechanism && (
|
|
1583
|
+
throw Qr(), v((r) => {
|
|
1584
|
+
r.addEventProcessor((e) => (t.mechanism && (ae(e, void 0, void 0), T(e, t.mechanism)), e.extra = {
|
|
1585
1585
|
...e.extra,
|
|
1586
1586
|
arguments: n
|
|
1587
1587
|
}, e)), Ie(e);
|
|
@@ -1591,7 +1591,7 @@ function J(e, t = {}) {
|
|
|
1591
1591
|
try {
|
|
1592
1592
|
for (let t in e) Object.prototype.hasOwnProperty.call(e, t) && (r[t] = e[t]);
|
|
1593
1593
|
} catch {}
|
|
1594
|
-
|
|
1594
|
+
ie(r, e), x(e, "__sentry_wrapped__", r);
|
|
1595
1595
|
try {
|
|
1596
1596
|
Object.getOwnPropertyDescriptor(r, "name").configurable && Object.defineProperty(r, "name", { get() {
|
|
1597
1597
|
return e.name;
|
|
@@ -1599,8 +1599,8 @@ function J(e, t = {}) {
|
|
|
1599
1599
|
} catch {}
|
|
1600
1600
|
return r;
|
|
1601
1601
|
}
|
|
1602
|
-
function
|
|
1603
|
-
let e =
|
|
1602
|
+
function $r() {
|
|
1603
|
+
let e = C(), { referrer: t } = J.document || {}, { userAgent: n } = J.navigator || {};
|
|
1604
1604
|
return {
|
|
1605
1605
|
url: e,
|
|
1606
1606
|
headers: {
|
|
@@ -1611,93 +1611,93 @@ function ei() {
|
|
|
1611
1611
|
}
|
|
1612
1612
|
//#endregion
|
|
1613
1613
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.52.0/node_modules/@sentry/browser/build/npm/esm/prod/eventbuilder.js
|
|
1614
|
-
function
|
|
1615
|
-
let n =
|
|
1616
|
-
type:
|
|
1617
|
-
value:
|
|
1614
|
+
function ei(e, t) {
|
|
1615
|
+
let n = ri(e, t), r = {
|
|
1616
|
+
type: ci(t),
|
|
1617
|
+
value: li(t)
|
|
1618
1618
|
};
|
|
1619
1619
|
return n.length && (r.stacktrace = { frames: n }), r.type === void 0 && r.value === "" && (r.value = "Unrecoverable error caught"), r;
|
|
1620
1620
|
}
|
|
1621
|
-
function
|
|
1622
|
-
let i = _(), a = i == null ? void 0 : i.getOptions().normalizeDepth, o =
|
|
1621
|
+
function ti(e, t, n, r) {
|
|
1622
|
+
let i = _(), a = i == null ? void 0 : i.getOptions().normalizeDepth, o = gi(t), s = { __serialized__: ze(t, a) };
|
|
1623
1623
|
if (o) return {
|
|
1624
|
-
exception: { values: [
|
|
1624
|
+
exception: { values: [ei(e, o)] },
|
|
1625
1625
|
extra: s
|
|
1626
1626
|
};
|
|
1627
1627
|
let c = {
|
|
1628
1628
|
exception: { values: [{
|
|
1629
|
-
type:
|
|
1630
|
-
value:
|
|
1629
|
+
type: Te(t) ? t.constructor.name : r ? "UnhandledRejection" : "Error",
|
|
1630
|
+
value: mi(t, { isUnhandledRejection: r })
|
|
1631
1631
|
}] },
|
|
1632
1632
|
extra: s
|
|
1633
1633
|
};
|
|
1634
1634
|
if (n) {
|
|
1635
|
-
let t =
|
|
1635
|
+
let t = ri(e, n);
|
|
1636
1636
|
t.length && (c.exception.values[0].stacktrace = { frames: t });
|
|
1637
1637
|
}
|
|
1638
1638
|
return c;
|
|
1639
1639
|
}
|
|
1640
|
-
function
|
|
1641
|
-
return { exception: { values: [
|
|
1640
|
+
function ni(e, t) {
|
|
1641
|
+
return { exception: { values: [ei(e, t)] } };
|
|
1642
1642
|
}
|
|
1643
|
-
function
|
|
1644
|
-
let n = t.stacktrace || t.stack || "", r =
|
|
1643
|
+
function ri(e, t) {
|
|
1644
|
+
let n = t.stacktrace || t.stack || "", r = ai(t), i = oi(t);
|
|
1645
1645
|
try {
|
|
1646
1646
|
return e(n, r, i);
|
|
1647
1647
|
} catch {}
|
|
1648
1648
|
return [];
|
|
1649
1649
|
}
|
|
1650
|
-
var
|
|
1651
|
-
function
|
|
1652
|
-
return e &&
|
|
1650
|
+
var ii = /Minified React error #\d+;/i;
|
|
1651
|
+
function ai(e) {
|
|
1652
|
+
return e && ii.test(e.message) ? 1 : 0;
|
|
1653
1653
|
}
|
|
1654
|
-
function
|
|
1654
|
+
function oi(e) {
|
|
1655
1655
|
return typeof e.framesToPop == "number" ? e.framesToPop : 0;
|
|
1656
1656
|
}
|
|
1657
|
-
function
|
|
1657
|
+
function si(e) {
|
|
1658
1658
|
return typeof WebAssembly < "u" && WebAssembly.Exception !== void 0 ? e instanceof WebAssembly.Exception : !1;
|
|
1659
1659
|
}
|
|
1660
|
-
function
|
|
1660
|
+
function ci(e) {
|
|
1661
1661
|
let t = e == null ? void 0 : e.name;
|
|
1662
|
-
return !t &&
|
|
1662
|
+
return !t && si(e) ? e.message && Array.isArray(e.message) && e.message.length == 2 ? e.message[0] : "WebAssembly.Exception" : t;
|
|
1663
1663
|
}
|
|
1664
|
-
function
|
|
1664
|
+
function li(e) {
|
|
1665
1665
|
let t = e == null ? void 0 : e.message;
|
|
1666
|
-
return
|
|
1666
|
+
return si(e) ? Array.isArray(e.message) && e.message.length == 2 ? e.message[1] : "wasm exception" : t ? t.error && typeof t.error.message == "string" ? Yn(t.error) : Yn(e) : "No error message";
|
|
1667
1667
|
}
|
|
1668
|
-
function
|
|
1669
|
-
let i =
|
|
1670
|
-
return
|
|
1668
|
+
function ui(e, t, n, r) {
|
|
1669
|
+
let i = fi(e, t, (n == null ? void 0 : n.syntheticException) || void 0, r);
|
|
1670
|
+
return T(i), i.level = "error", n != null && n.event_id && (i.event_id = n.event_id), Ce(i);
|
|
1671
1671
|
}
|
|
1672
|
-
function
|
|
1673
|
-
let a =
|
|
1674
|
-
return a.level = n, r != null && r.event_id && (a.event_id = r.event_id),
|
|
1672
|
+
function di(e, t, n = "info", r, i) {
|
|
1673
|
+
let a = pi(e, t, (r == null ? void 0 : r.syntheticException) || void 0, i);
|
|
1674
|
+
return a.level = n, r != null && r.event_id && (a.event_id = r.event_id), Ce(a);
|
|
1675
1675
|
}
|
|
1676
|
-
function
|
|
1676
|
+
function fi(e, t, n, r, i) {
|
|
1677
1677
|
let a;
|
|
1678
|
-
if (m(t) && t.error) return
|
|
1679
|
-
if (
|
|
1678
|
+
if (m(t) && t.error) return ni(e, t.error);
|
|
1679
|
+
if (pe(t) || he(t)) {
|
|
1680
1680
|
let i = t;
|
|
1681
|
-
if ("stack" in t) a =
|
|
1681
|
+
if ("stack" in t) a = ni(e, t);
|
|
1682
1682
|
else {
|
|
1683
|
-
let t = i.name || (
|
|
1684
|
-
a =
|
|
1683
|
+
let t = i.name || (pe(i) ? "DOMError" : "DOMException"), o = i.message ? `${t}: ${i.message}` : t;
|
|
1684
|
+
a = pi(e, o, n, r), ae(a, o);
|
|
1685
1685
|
}
|
|
1686
1686
|
return "code" in i && (a.tags = {
|
|
1687
1687
|
...a.tags,
|
|
1688
1688
|
"DOMException.code": `${i.code}`
|
|
1689
1689
|
}), a;
|
|
1690
1690
|
}
|
|
1691
|
-
return
|
|
1691
|
+
return ce(t) ? ni(e, t) : Ue(t) || Te(t) ? (a = ti(e, t, n, i), T(a, { synthetic: !0 }), a) : (a = pi(e, t, n, r), ae(a, `${t}`, void 0), T(a, { synthetic: !0 }), a);
|
|
1692
1692
|
}
|
|
1693
|
-
function
|
|
1693
|
+
function pi(e, t, n, r) {
|
|
1694
1694
|
let i = {};
|
|
1695
1695
|
if (r && n) {
|
|
1696
|
-
let r =
|
|
1696
|
+
let r = ri(e, n);
|
|
1697
1697
|
r.length && (i.exception = { values: [{
|
|
1698
1698
|
value: t,
|
|
1699
1699
|
stacktrace: { frames: r }
|
|
1700
|
-
}] }),
|
|
1700
|
+
}] }), T(i, { synthetic: !0 });
|
|
1701
1701
|
}
|
|
1702
1702
|
if (Le(t)) {
|
|
1703
1703
|
let { __sentry_template_string__: e, __sentry_template_values__: n } = t;
|
|
@@ -1708,48 +1708,48 @@ function mi(e, t, n, r) {
|
|
|
1708
1708
|
}
|
|
1709
1709
|
return i.message = t, i;
|
|
1710
1710
|
}
|
|
1711
|
-
function
|
|
1712
|
-
let n =
|
|
1713
|
-
return m(e) ? `Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\`` :
|
|
1711
|
+
function mi(e, { isUnhandledRejection: t }) {
|
|
1712
|
+
let n = de(e), r = t ? "promise rejection" : "exception";
|
|
1713
|
+
return m(e) ? `Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\`` : Te(e) ? `Event \`${hi(e)}\` (type=${e.type}) captured as ${r}` : `Object captured as ${r} with keys: ${n}`;
|
|
1714
1714
|
}
|
|
1715
|
-
function
|
|
1715
|
+
function hi(e) {
|
|
1716
1716
|
try {
|
|
1717
1717
|
let t = Object.getPrototypeOf(e);
|
|
1718
1718
|
return t ? t.constructor.name : void 0;
|
|
1719
1719
|
} catch {}
|
|
1720
1720
|
}
|
|
1721
|
-
function
|
|
1721
|
+
function gi(e) {
|
|
1722
1722
|
return Object.values(e).find((e) => e instanceof Error);
|
|
1723
1723
|
}
|
|
1724
1724
|
//#endregion
|
|
1725
1725
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.52.0/node_modules/@sentry/browser/build/npm/esm/prod/client.js
|
|
1726
|
-
var
|
|
1726
|
+
var _i = class extends Rn {
|
|
1727
1727
|
constructor(e) {
|
|
1728
1728
|
var t, n;
|
|
1729
|
-
let r =
|
|
1730
|
-
|
|
1729
|
+
let r = vi(e);
|
|
1730
|
+
nr(r, "browser", ["browser"], J.SENTRY_SDK_SOURCE || tn()), (t = r._metadata) != null && t.sdk && (r._metadata.sdk.settings = {
|
|
1731
1731
|
infer_ip: r.sendDefaultPii ? "auto" : "never",
|
|
1732
1732
|
...r._metadata.sdk.settings
|
|
1733
1733
|
}), super(r);
|
|
1734
1734
|
let { sendDefaultPii: i, sendClientReports: a, enableLogs: o, _experiments: s, enableMetrics: c } = this._options, l = (n = c == null ? s == null ? void 0 : s.enableMetrics : c) == null ? !0 : n;
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
}), i && this.on("beforeSendSession",
|
|
1735
|
+
J.document && (a || o || l) && J.document.addEventListener("visibilitychange", () => {
|
|
1736
|
+
J.document.visibilityState === "hidden" && (a && this._flushOutcomes(), o && cn(this), l && pn(this));
|
|
1737
|
+
}), i && this.on("beforeSendSession", tr);
|
|
1738
1738
|
}
|
|
1739
1739
|
eventFromException(e, t) {
|
|
1740
|
-
return
|
|
1740
|
+
return ui(this._options.stackParser, e, t, this._options.attachStacktrace);
|
|
1741
1741
|
}
|
|
1742
1742
|
eventFromMessage(e, t = "info", n) {
|
|
1743
|
-
return
|
|
1743
|
+
return di(this._options.stackParser, e, t, n, this._options.attachStacktrace);
|
|
1744
1744
|
}
|
|
1745
1745
|
_prepareEvent(e, t, n, r) {
|
|
1746
1746
|
return e.platform = e.platform || "javascript", super._prepareEvent(e, t, n, r);
|
|
1747
1747
|
}
|
|
1748
1748
|
};
|
|
1749
|
-
function
|
|
1749
|
+
function vi(e) {
|
|
1750
1750
|
var t;
|
|
1751
1751
|
return {
|
|
1752
|
-
release: typeof __SENTRY_RELEASE__ == "string" ? __SENTRY_RELEASE__ : (t =
|
|
1752
|
+
release: typeof __SENTRY_RELEASE__ == "string" ? __SENTRY_RELEASE__ : (t = J.SENTRY_RELEASE) == null ? void 0 : t.id,
|
|
1753
1753
|
sendClientReports: !0,
|
|
1754
1754
|
parentSpanIsAlwaysRootSpan: !0,
|
|
1755
1755
|
...e
|
|
@@ -1757,29 +1757,29 @@ function yi(e) {
|
|
|
1757
1757
|
}
|
|
1758
1758
|
//#endregion
|
|
1759
1759
|
//#region ../../node_modules/.pnpm/@sentry-internal+browser-utils@10.52.0/node_modules/@sentry-internal/browser-utils/build/esm/debug-build.js
|
|
1760
|
-
var
|
|
1761
|
-
function
|
|
1762
|
-
B("dom", e), V("dom",
|
|
1763
|
-
}
|
|
1764
|
-
function
|
|
1765
|
-
if (!
|
|
1766
|
-
let e = H.bind(null, "dom"), t =
|
|
1767
|
-
|
|
1760
|
+
var yi = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, X = I, bi = 1e3, xi, Si, Ci;
|
|
1761
|
+
function wi(e) {
|
|
1762
|
+
B("dom", e), V("dom", Ti);
|
|
1763
|
+
}
|
|
1764
|
+
function Ti() {
|
|
1765
|
+
if (!X.document) return;
|
|
1766
|
+
let e = H.bind(null, "dom"), t = Oi(e, !0);
|
|
1767
|
+
X.document.addEventListener("click", t, !1), X.document.addEventListener("keypress", t, !1), ["EventTarget", "Node"].forEach((t) => {
|
|
1768
1768
|
var n, r;
|
|
1769
|
-
let i = (n =
|
|
1770
|
-
!(i == null || (r = i.hasOwnProperty) == null) && r.call(i, "addEventListener") && (
|
|
1769
|
+
let i = (n = X[t]) == null ? void 0 : n.prototype;
|
|
1770
|
+
!(i == null || (r = i.hasOwnProperty) == null) && r.call(i, "addEventListener") && (D(i, "addEventListener", function(t) {
|
|
1771
1771
|
return function(n, r, i) {
|
|
1772
1772
|
if (n === "click" || n == "keypress") try {
|
|
1773
1773
|
let r = this.__sentry_instrumentation_handlers__ = this.__sentry_instrumentation_handlers__ || {}, a = r[n] = r[n] || { refCount: 0 };
|
|
1774
1774
|
if (!a.handler) {
|
|
1775
|
-
let r =
|
|
1775
|
+
let r = Oi(e);
|
|
1776
1776
|
a.handler = r, t.call(this, n, r, i);
|
|
1777
1777
|
}
|
|
1778
1778
|
a.refCount++;
|
|
1779
1779
|
} catch {}
|
|
1780
1780
|
return t.call(this, n, r, i);
|
|
1781
1781
|
};
|
|
1782
|
-
}),
|
|
1782
|
+
}), D(i, "removeEventListener", function(e) {
|
|
1783
1783
|
return function(t, n, r) {
|
|
1784
1784
|
if (t === "click" || t == "keypress") try {
|
|
1785
1785
|
let n = this.__sentry_instrumentation_handlers__ || {}, i = n[t];
|
|
@@ -1790,33 +1790,33 @@ function Ei() {
|
|
|
1790
1790
|
}));
|
|
1791
1791
|
});
|
|
1792
1792
|
}
|
|
1793
|
-
function
|
|
1794
|
-
if (e.type !==
|
|
1793
|
+
function Ei(e) {
|
|
1794
|
+
if (e.type !== Si) return !1;
|
|
1795
1795
|
try {
|
|
1796
|
-
if (!e.target || e.target._sentryId !==
|
|
1796
|
+
if (!e.target || e.target._sentryId !== Ci) return !1;
|
|
1797
1797
|
} catch {}
|
|
1798
1798
|
return !0;
|
|
1799
1799
|
}
|
|
1800
|
-
function
|
|
1800
|
+
function Di(e, t) {
|
|
1801
1801
|
return e === "keypress" ? t != null && t.tagName ? !(t.tagName === "INPUT" || t.tagName === "TEXTAREA" || t.isContentEditable) : !0 : !1;
|
|
1802
1802
|
}
|
|
1803
|
-
function
|
|
1803
|
+
function Oi(e, t = !1) {
|
|
1804
1804
|
return (n) => {
|
|
1805
1805
|
if (!n || n._sentryCaptured) return;
|
|
1806
|
-
let r =
|
|
1807
|
-
if (
|
|
1808
|
-
|
|
1806
|
+
let r = ki(n);
|
|
1807
|
+
if (Di(n.type, r)) return;
|
|
1808
|
+
x(n, "_sentryCaptured", !0), r && !r._sentryId && x(r, "_sentryId", S());
|
|
1809
1809
|
let i = n.type === "keypress" ? "input" : n.type;
|
|
1810
|
-
|
|
1810
|
+
Ei(n) || (e({
|
|
1811
1811
|
event: n,
|
|
1812
1812
|
name: i,
|
|
1813
1813
|
global: t
|
|
1814
|
-
}),
|
|
1815
|
-
|
|
1816
|
-
},
|
|
1814
|
+
}), Si = n.type, Ci = r ? r._sentryId : void 0), clearTimeout(xi), xi = X.setTimeout(() => {
|
|
1815
|
+
Ci = void 0, Si = void 0;
|
|
1816
|
+
}, bi);
|
|
1817
1817
|
};
|
|
1818
1818
|
}
|
|
1819
|
-
function
|
|
1819
|
+
function ki(e) {
|
|
1820
1820
|
try {
|
|
1821
1821
|
return e.target;
|
|
1822
1822
|
} catch {
|
|
@@ -1825,25 +1825,25 @@ function Ai(e) {
|
|
|
1825
1825
|
}
|
|
1826
1826
|
//#endregion
|
|
1827
1827
|
//#region ../../node_modules/.pnpm/@sentry-internal+browser-utils@10.52.0/node_modules/@sentry-internal/browser-utils/build/esm/instrument/history.js
|
|
1828
|
-
var
|
|
1829
|
-
function
|
|
1828
|
+
var Ai;
|
|
1829
|
+
function ji(e) {
|
|
1830
1830
|
let t = "history";
|
|
1831
|
-
B(t, e), V(t,
|
|
1831
|
+
B(t, e), V(t, Mi);
|
|
1832
1832
|
}
|
|
1833
|
-
function
|
|
1834
|
-
if (
|
|
1835
|
-
let e =
|
|
1836
|
-
|
|
1833
|
+
function Mi() {
|
|
1834
|
+
if (X.addEventListener("popstate", () => {
|
|
1835
|
+
let e = X.location.href, t = Ai;
|
|
1836
|
+
Ai = e, t !== e && H("history", {
|
|
1837
1837
|
from: t,
|
|
1838
1838
|
to: e
|
|
1839
1839
|
});
|
|
1840
|
-
}), !
|
|
1840
|
+
}), !Br()) return;
|
|
1841
1841
|
function e(e) {
|
|
1842
1842
|
return function(...t) {
|
|
1843
1843
|
let n = t.length > 2 ? t[2] : void 0;
|
|
1844
1844
|
if (n) {
|
|
1845
|
-
let r =
|
|
1846
|
-
if (
|
|
1845
|
+
let r = Ai, i = Ni(String(n));
|
|
1846
|
+
if (Ai = i, r === i) return e.apply(this, t);
|
|
1847
1847
|
H("history", {
|
|
1848
1848
|
from: r,
|
|
1849
1849
|
to: i
|
|
@@ -1852,36 +1852,36 @@ function Ni() {
|
|
|
1852
1852
|
return e.apply(this, t);
|
|
1853
1853
|
};
|
|
1854
1854
|
}
|
|
1855
|
-
|
|
1855
|
+
D(X.history, "pushState", e), D(X.history, "replaceState", e);
|
|
1856
1856
|
}
|
|
1857
|
-
function
|
|
1857
|
+
function Ni(e) {
|
|
1858
1858
|
try {
|
|
1859
|
-
return new URL(e,
|
|
1859
|
+
return new URL(e, X.location.origin).toString();
|
|
1860
1860
|
} catch {
|
|
1861
1861
|
return e;
|
|
1862
1862
|
}
|
|
1863
1863
|
}
|
|
1864
1864
|
//#endregion
|
|
1865
1865
|
//#region ../../node_modules/.pnpm/@sentry-internal+browser-utils@10.52.0/node_modules/@sentry-internal/browser-utils/build/esm/getNativeImplementation.js
|
|
1866
|
-
var
|
|
1866
|
+
var Pi = {};
|
|
1867
1867
|
function Fi(e) {
|
|
1868
|
-
let t =
|
|
1868
|
+
let t = Pi[e];
|
|
1869
1869
|
if (t) return t;
|
|
1870
|
-
let n =
|
|
1871
|
-
if (
|
|
1872
|
-
let r =
|
|
1870
|
+
let n = X[e];
|
|
1871
|
+
if (Hr(n)) return Pi[e] = n.bind(X);
|
|
1872
|
+
let r = X.document;
|
|
1873
1873
|
if (r && typeof r.createElement == "function") try {
|
|
1874
1874
|
let t = r.createElement("iframe");
|
|
1875
1875
|
t.hidden = !0, r.head.appendChild(t);
|
|
1876
1876
|
let i = t.contentWindow;
|
|
1877
1877
|
i != null && i[e] && (n = i[e]), r.head.removeChild(t);
|
|
1878
1878
|
} catch (t) {
|
|
1879
|
-
|
|
1879
|
+
yi && j.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `, t);
|
|
1880
1880
|
}
|
|
1881
|
-
return n && (
|
|
1881
|
+
return n && (Pi[e] = n.bind(X));
|
|
1882
1882
|
}
|
|
1883
1883
|
function Ii(e) {
|
|
1884
|
-
|
|
1884
|
+
Pi[e] = void 0;
|
|
1885
1885
|
}
|
|
1886
1886
|
//#endregion
|
|
1887
1887
|
//#region ../../node_modules/.pnpm/@sentry-internal+browser-utils@10.52.0/node_modules/@sentry-internal/browser-utils/build/esm/instrument/xhr.js
|
|
@@ -1890,7 +1890,7 @@ function Li(e) {
|
|
|
1890
1890
|
B("xhr", e), V("xhr", Ri);
|
|
1891
1891
|
}
|
|
1892
1892
|
function Ri() {
|
|
1893
|
-
if (!
|
|
1893
|
+
if (!X.XMLHttpRequest) return;
|
|
1894
1894
|
let e = XMLHttpRequest.prototype;
|
|
1895
1895
|
e.open = new Proxy(e.open, { apply(e, t, n) {
|
|
1896
1896
|
let r = /* @__PURE__ */ Error(), i = A() * 1e3, a = M(n[0]) ? n[0].toUpperCase() : void 0, o = zi(n[1]);
|
|
@@ -1999,7 +1999,7 @@ var Gi = /^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i, Ki = /^\s*at (?:(.+?\)(?: \[.
|
|
|
1999
1999
|
let [e, t] = $i(r[1] || "?", r[2]);
|
|
2000
2000
|
return Wi(t, e, r[3] ? +r[3] : void 0, r[4] ? +r[4] : void 0);
|
|
2001
2001
|
}
|
|
2002
|
-
}], Xi = /^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i, Zi = /(\S+) line (\d+)(?: > eval line \d+)* > eval/i, Qi =
|
|
2002
|
+
}], Xi = /^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i, Zi = /(\S+) line (\d+)(?: > eval line \d+)* > eval/i, Qi = Se(Yi, [Ui, (e) => {
|
|
2003
2003
|
let t = Xi.exec(e);
|
|
2004
2004
|
if (t) {
|
|
2005
2005
|
if (t[3] && t[3].indexOf(" > eval") > -1) {
|
|
@@ -2025,17 +2025,17 @@ var Gi = /^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i, Ki = /^\s*at (?:(.+?\)(?: \[.
|
|
|
2025
2025
|
return {
|
|
2026
2026
|
name: ta,
|
|
2027
2027
|
setup(e) {
|
|
2028
|
-
t.console &&
|
|
2028
|
+
t.console && Er(aa(e)), t.dom && wi(ia(e, t.dom)), t.xhr && Li(oa(e)), t.fetch && Wr(sa(e)), t.history && ji(ca(e)), t.sentry && e.on("beforeSendEvent", ra(e));
|
|
2029
2029
|
}
|
|
2030
2030
|
};
|
|
2031
2031
|
}));
|
|
2032
2032
|
function ra(e) {
|
|
2033
2033
|
return function(t) {
|
|
2034
|
-
_() === e &&
|
|
2034
|
+
_() === e && K({
|
|
2035
2035
|
category: `sentry.${t.type === "transaction" ? "transaction" : "event"}`,
|
|
2036
2036
|
event_id: t.event_id,
|
|
2037
2037
|
level: t.level,
|
|
2038
|
-
message:
|
|
2038
|
+
message: y(t)
|
|
2039
2039
|
}, { event: t });
|
|
2040
2040
|
};
|
|
2041
2041
|
}
|
|
@@ -2046,7 +2046,7 @@ function ia(e, t) {
|
|
|
2046
2046
|
o && o > ea && (Q && j.warn(`\`dom.maxStringLength\` cannot exceed ${ea}, but a value of ${o} was configured. Sentry will use ${ea} instead.`), o = ea), typeof a == "string" && (a = [a]);
|
|
2047
2047
|
try {
|
|
2048
2048
|
let e = n.event, t = la(e) ? e.target : e;
|
|
2049
|
-
r =
|
|
2049
|
+
r = me(t, {
|
|
2050
2050
|
keyAttrs: a,
|
|
2051
2051
|
maxStringLength: o
|
|
2052
2052
|
}), i = Ve(t);
|
|
@@ -2058,7 +2058,7 @@ function ia(e, t) {
|
|
|
2058
2058
|
category: `ui.${n.name}`,
|
|
2059
2059
|
message: r
|
|
2060
2060
|
};
|
|
2061
|
-
i && (s.data = { "ui.component_name": i }),
|
|
2061
|
+
i && (s.data = { "ui.component_name": i }), K(s, {
|
|
2062
2062
|
event: n.event,
|
|
2063
2063
|
name: n.name,
|
|
2064
2064
|
global: n.global
|
|
@@ -2074,12 +2074,12 @@ function aa(e) {
|
|
|
2074
2074
|
arguments: t.args,
|
|
2075
2075
|
logger: "console"
|
|
2076
2076
|
},
|
|
2077
|
-
level:
|
|
2078
|
-
message:
|
|
2077
|
+
level: Or(t.level),
|
|
2078
|
+
message: le(t.args, " ")
|
|
2079
2079
|
};
|
|
2080
|
-
if (t.level === "assert") if (t.args[0] === !1) n.message = `Assertion failed: ${
|
|
2080
|
+
if (t.level === "assert") if (t.args[0] === !1) n.message = `Assertion failed: ${le(t.args.slice(1), " ") || "console.assert"}`, n.data.arguments = t.args.slice(1);
|
|
2081
2081
|
else return;
|
|
2082
|
-
|
|
2082
|
+
K(n, {
|
|
2083
2083
|
input: t.args,
|
|
2084
2084
|
level: t.level
|
|
2085
2085
|
});
|
|
@@ -2103,9 +2103,9 @@ function oa(e) {
|
|
|
2103
2103
|
category: "xhr",
|
|
2104
2104
|
data: l,
|
|
2105
2105
|
type: "http",
|
|
2106
|
-
level:
|
|
2106
|
+
level: zr(s)
|
|
2107
2107
|
};
|
|
2108
|
-
e.emit("beforeOutgoingRequestBreadcrumb", d, u),
|
|
2108
|
+
e.emit("beforeOutgoingRequestBreadcrumb", d, u), K(d, u);
|
|
2109
2109
|
};
|
|
2110
2110
|
}
|
|
2111
2111
|
function sa(e) {
|
|
@@ -2124,7 +2124,7 @@ function sa(e) {
|
|
|
2124
2124
|
level: "error",
|
|
2125
2125
|
type: "http"
|
|
2126
2126
|
};
|
|
2127
|
-
e.emit("beforeOutgoingRequestBreadcrumb", a, i),
|
|
2127
|
+
e.emit("beforeOutgoingRequestBreadcrumb", a, i), K(a, i);
|
|
2128
2128
|
} else {
|
|
2129
2129
|
let i = t.response, a = {
|
|
2130
2130
|
...t.fetchData,
|
|
@@ -2138,17 +2138,17 @@ function sa(e) {
|
|
|
2138
2138
|
category: "fetch",
|
|
2139
2139
|
data: a,
|
|
2140
2140
|
type: "http",
|
|
2141
|
-
level:
|
|
2141
|
+
level: zr(a.status_code)
|
|
2142
2142
|
};
|
|
2143
|
-
e.emit("beforeOutgoingRequestBreadcrumb", s, o),
|
|
2143
|
+
e.emit("beforeOutgoingRequestBreadcrumb", s, o), K(s, o);
|
|
2144
2144
|
}
|
|
2145
2145
|
};
|
|
2146
2146
|
}
|
|
2147
2147
|
function ca(e) {
|
|
2148
2148
|
return function(t) {
|
|
2149
2149
|
if (_() !== e) return;
|
|
2150
|
-
let n = t.from, r = t.to, i = Bt(
|
|
2151
|
-
a != null && a.path || (a = i), i.protocol === o.protocol && i.host === o.host && (r = o.relative), i.protocol === a.protocol && i.host === a.host && (n = a.relative),
|
|
2150
|
+
let n = t.from, r = t.to, i = Bt(J.location.href), a = n ? Bt(n) : void 0, o = Bt(r);
|
|
2151
|
+
a != null && a.path || (a = i), i.protocol === o.protocol && i.host === o.host && (r = o.relative), i.protocol === a.protocol && i.host === a.host && (n = a.relative), K({
|
|
2152
2152
|
category: "navigation",
|
|
2153
2153
|
data: {
|
|
2154
2154
|
from: n,
|
|
@@ -2175,7 +2175,7 @@ var ua = "EventTarget,Window,Node,ApplicationCache,AudioTrackList,BroadcastChann
|
|
|
2175
2175
|
return {
|
|
2176
2176
|
name: da,
|
|
2177
2177
|
setupOnce() {
|
|
2178
|
-
t.setTimeout &&
|
|
2178
|
+
t.setTimeout && D(J, "setTimeout", pa), t.setInterval && D(J, "setInterval", pa), t.requestAnimationFrame && D(J, "requestAnimationFrame", ma), t.XMLHttpRequest && "XMLHttpRequest" in J && D(XMLHttpRequest.prototype, "send", ha);
|
|
2179
2179
|
let e = t.eventTarget;
|
|
2180
2180
|
e && (Array.isArray(e) ? e : ua).forEach((e) => ga(e, t));
|
|
2181
2181
|
}
|
|
@@ -2184,7 +2184,7 @@ var ua = "EventTarget,Window,Node,ApplicationCache,AudioTrackList,BroadcastChann
|
|
|
2184
2184
|
function pa(e) {
|
|
2185
2185
|
return function(...t) {
|
|
2186
2186
|
let n = t[0];
|
|
2187
|
-
return t[0] =
|
|
2187
|
+
return t[0] = Y(n, { mechanism: {
|
|
2188
2188
|
handled: !1,
|
|
2189
2189
|
type: `auto.browser.browserapierrors.${N(e)}`
|
|
2190
2190
|
} }), e.apply(this, t);
|
|
@@ -2192,7 +2192,7 @@ function pa(e) {
|
|
|
2192
2192
|
}
|
|
2193
2193
|
function ma(e) {
|
|
2194
2194
|
return function(t) {
|
|
2195
|
-
return e.apply(this, [
|
|
2195
|
+
return e.apply(this, [Y(t, { mechanism: {
|
|
2196
2196
|
data: { handler: N(e) },
|
|
2197
2197
|
handled: !1,
|
|
2198
2198
|
type: "auto.browser.browserapierrors.requestAnimationFrame"
|
|
@@ -2208,24 +2208,24 @@ function ha(e) {
|
|
|
2208
2208
|
"onprogress",
|
|
2209
2209
|
"onreadystatechange"
|
|
2210
2210
|
].forEach((e) => {
|
|
2211
|
-
e in n && typeof n[e] == "function" &&
|
|
2211
|
+
e in n && typeof n[e] == "function" && D(n, e, function(t) {
|
|
2212
2212
|
let n = { mechanism: {
|
|
2213
2213
|
data: { handler: N(t) },
|
|
2214
2214
|
handled: !1,
|
|
2215
2215
|
type: `auto.browser.browserapierrors.xhr.${e}`
|
|
2216
|
-
} }, r =
|
|
2217
|
-
return r && (n.mechanism.data.handler = N(r)),
|
|
2216
|
+
} }, r = b(t);
|
|
2217
|
+
return r && (n.mechanism.data.handler = N(r)), Y(t, n);
|
|
2218
2218
|
});
|
|
2219
2219
|
}), e.apply(this, t);
|
|
2220
2220
|
};
|
|
2221
2221
|
}
|
|
2222
2222
|
function ga(e, t) {
|
|
2223
2223
|
var n, r;
|
|
2224
|
-
let i = (n =
|
|
2225
|
-
!(i == null || (r = i.hasOwnProperty) == null) && r.call(i, "addEventListener") && (
|
|
2224
|
+
let i = (n = J[e]) == null ? void 0 : n.prototype;
|
|
2225
|
+
!(i == null || (r = i.hasOwnProperty) == null) && r.call(i, "addEventListener") && (D(i, "addEventListener", function(n) {
|
|
2226
2226
|
return function(r, i, a) {
|
|
2227
2227
|
try {
|
|
2228
|
-
_a(i) && (i.handleEvent =
|
|
2228
|
+
_a(i) && (i.handleEvent = Y(i.handleEvent, { mechanism: {
|
|
2229
2229
|
data: {
|
|
2230
2230
|
handler: N(i),
|
|
2231
2231
|
target: e
|
|
@@ -2236,7 +2236,7 @@ function ga(e, t) {
|
|
|
2236
2236
|
} catch {}
|
|
2237
2237
|
return t.unregisterOriginalCallbacks && va(this, r, i), n.apply(this, [
|
|
2238
2238
|
r,
|
|
2239
|
-
|
|
2239
|
+
Y(i, { mechanism: {
|
|
2240
2240
|
data: {
|
|
2241
2241
|
handler: N(i),
|
|
2242
2242
|
target: e
|
|
@@ -2247,7 +2247,7 @@ function ga(e, t) {
|
|
|
2247
2247
|
a
|
|
2248
2248
|
]);
|
|
2249
2249
|
};
|
|
2250
|
-
}),
|
|
2250
|
+
}), D(i, "removeEventListener", function(e) {
|
|
2251
2251
|
return function(t, n, r) {
|
|
2252
2252
|
try {
|
|
2253
2253
|
let i = n.__sentry_wrapped__;
|
|
@@ -2271,17 +2271,17 @@ var ya = W((e = {}) => {
|
|
|
2271
2271
|
return {
|
|
2272
2272
|
name: "BrowserSession",
|
|
2273
2273
|
setupOnce() {
|
|
2274
|
-
if (
|
|
2274
|
+
if (J.document === void 0) {
|
|
2275
2275
|
Q && j.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");
|
|
2276
2276
|
return;
|
|
2277
2277
|
}
|
|
2278
|
-
|
|
2279
|
-
let e =
|
|
2278
|
+
xe({ ignoreDuration: !0 }), He();
|
|
2279
|
+
let e = E(), t = e.getUser();
|
|
2280
2280
|
e.addScopeListener((e) => {
|
|
2281
2281
|
let n = e.getUser();
|
|
2282
2282
|
((t == null ? void 0 : t.id) !== (n == null ? void 0 : n.id) || (t == null ? void 0 : t.ip_address) !== (n == null ? void 0 : n.ip_address)) && (He(), t = n);
|
|
2283
|
-
}), n === "route" &&
|
|
2284
|
-
e !== t && (
|
|
2283
|
+
}), n === "route" && ji(({ from: e, to: t }) => {
|
|
2284
|
+
e !== t && (xe({ ignoreDuration: !0 }), He());
|
|
2285
2285
|
});
|
|
2286
2286
|
}
|
|
2287
2287
|
};
|
|
@@ -2311,7 +2311,7 @@ var ya = W((e = {}) => {
|
|
|
2311
2311
|
})));
|
|
2312
2312
|
function Sa() {
|
|
2313
2313
|
try {
|
|
2314
|
-
let e =
|
|
2314
|
+
let e = J.Intl;
|
|
2315
2315
|
if (!e) return;
|
|
2316
2316
|
let t = e.DateTimeFormat().resolvedOptions();
|
|
2317
2317
|
return {
|
|
@@ -2344,8 +2344,8 @@ var Ca = "GlobalHandlers", wa = W(((e = {}) => {
|
|
|
2344
2344
|
function Ta(e) {
|
|
2345
2345
|
pt((t) => {
|
|
2346
2346
|
let { stackParser: n, attachStacktrace: r } = ja();
|
|
2347
|
-
if (_() !== e ||
|
|
2348
|
-
let { msg: i, url: a, line: o, column: s, error: c } = t, l = ka(
|
|
2347
|
+
if (_() !== e || Zr()) return;
|
|
2348
|
+
let { msg: i, url: a, line: o, column: s, error: c } = t, l = ka(fi(n, c || i, void 0, r, !1), a, o, s);
|
|
2349
2349
|
l.level = "error", Ke(l, {
|
|
2350
2350
|
originalException: c,
|
|
2351
2351
|
mechanism: {
|
|
@@ -2358,8 +2358,8 @@ function Ta(e) {
|
|
|
2358
2358
|
function Ea(e) {
|
|
2359
2359
|
gt((t) => {
|
|
2360
2360
|
let { stackParser: n, attachStacktrace: r } = ja();
|
|
2361
|
-
if (_() !== e ||
|
|
2362
|
-
let i = Da(t), a =
|
|
2361
|
+
if (_() !== e || Zr()) return;
|
|
2362
|
+
let i = Da(t), a = k(i) ? Oa(i) : fi(n, i, void 0, r, !0);
|
|
2363
2363
|
a.level = "error", Ke(a, {
|
|
2364
2364
|
originalException: i,
|
|
2365
2365
|
mechanism: {
|
|
@@ -2370,7 +2370,7 @@ function Ea(e) {
|
|
|
2370
2370
|
});
|
|
2371
2371
|
}
|
|
2372
2372
|
function Da(e) {
|
|
2373
|
-
if (
|
|
2373
|
+
if (k(e)) return e;
|
|
2374
2374
|
try {
|
|
2375
2375
|
if ("reason" in e) return e.reason;
|
|
2376
2376
|
if ("detail" in e && "reason" in e.detail) return e.detail.reason;
|
|
@@ -2390,7 +2390,7 @@ function ka(e, t, n, r) {
|
|
|
2390
2390
|
c.push({
|
|
2391
2391
|
colno: r,
|
|
2392
2392
|
lineno: n,
|
|
2393
|
-
filename: (l = Ma(t)) == null ?
|
|
2393
|
+
filename: (l = Ma(t)) == null ? C() : l,
|
|
2394
2394
|
function: "?",
|
|
2395
2395
|
in_app: !0
|
|
2396
2396
|
});
|
|
@@ -2416,8 +2416,8 @@ var Na = W(() => ({
|
|
|
2416
2416
|
name: "HttpContext",
|
|
2417
2417
|
preprocessEvent(e) {
|
|
2418
2418
|
var t;
|
|
2419
|
-
if (!
|
|
2420
|
-
let n =
|
|
2419
|
+
if (!J.navigator && !J.location && !J.document) return;
|
|
2420
|
+
let n = $r(), r = {
|
|
2421
2421
|
...n.headers,
|
|
2422
2422
|
...(t = e.request) == null ? void 0 : t.headers
|
|
2423
2423
|
};
|
|
@@ -2428,8 +2428,8 @@ var Na = W(() => ({
|
|
|
2428
2428
|
};
|
|
2429
2429
|
},
|
|
2430
2430
|
processSegmentSpan(e) {
|
|
2431
|
-
if (!
|
|
2432
|
-
let t =
|
|
2431
|
+
if (!J.navigator && !J.location && !J.document) return;
|
|
2432
|
+
let t = $r();
|
|
2433
2433
|
Ht(e, {
|
|
2434
2434
|
"url.full": t.url || void 0,
|
|
2435
2435
|
"http.request.header.user_agent": t.headers["User-Agent"],
|
|
@@ -2441,7 +2441,7 @@ var Na = W(() => ({
|
|
|
2441
2441
|
return {
|
|
2442
2442
|
name: Ia,
|
|
2443
2443
|
preprocessEvent(e, r, i) {
|
|
2444
|
-
|
|
2444
|
+
xr(ei, i.getOptions().stackParser, n, t, e, r);
|
|
2445
2445
|
}
|
|
2446
2446
|
};
|
|
2447
2447
|
}));
|
|
@@ -2454,26 +2454,26 @@ function Ra() {
|
|
|
2454
2454
|
}
|
|
2455
2455
|
function za() {
|
|
2456
2456
|
var e;
|
|
2457
|
-
if (
|
|
2458
|
-
let t =
|
|
2457
|
+
if (J.window === void 0) return !1;
|
|
2458
|
+
let t = J;
|
|
2459
2459
|
if (t.nw) return !1;
|
|
2460
2460
|
let n = t.chrome || t.browser;
|
|
2461
2461
|
if (!(!(n == null || (e = n.runtime) == null) && e.id)) return !1;
|
|
2462
|
-
let r =
|
|
2463
|
-
return !(
|
|
2462
|
+
let r = C();
|
|
2463
|
+
return !(J === J.top && /^(?:chrome-extension|moz-extension|ms-browser-extension|safari-web-extension):\/\//.test(r));
|
|
2464
2464
|
}
|
|
2465
2465
|
//#endregion
|
|
2466
2466
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.52.0/node_modules/@sentry/browser/build/npm/esm/prod/sdk.js
|
|
2467
2467
|
function Ba(e) {
|
|
2468
2468
|
return [
|
|
2469
|
-
|
|
2470
|
-
|
|
2471
|
-
|
|
2469
|
+
dr(),
|
|
2470
|
+
sr(),
|
|
2471
|
+
Rr(),
|
|
2472
2472
|
fa(),
|
|
2473
2473
|
na(),
|
|
2474
2474
|
wa(),
|
|
2475
2475
|
La(),
|
|
2476
|
-
|
|
2476
|
+
Ar(),
|
|
2477
2477
|
Na(),
|
|
2478
2478
|
xa(),
|
|
2479
2479
|
ya()
|
|
@@ -2481,10 +2481,10 @@ function Ba(e) {
|
|
|
2481
2481
|
}
|
|
2482
2482
|
function Va(e = {}) {
|
|
2483
2483
|
let t = !e.skipBrowserExtensionCheck && Ra(), n = e.defaultIntegrations == null ? Ba() : e.defaultIntegrations;
|
|
2484
|
-
return
|
|
2484
|
+
return Xn(_i, {
|
|
2485
2485
|
...e,
|
|
2486
2486
|
enabled: t ? !1 : e.enabled,
|
|
2487
|
-
stackParser:
|
|
2487
|
+
stackParser: we(e.stackParser || Qi),
|
|
2488
2488
|
integrations: Xt({
|
|
2489
2489
|
integrations: e.integrations,
|
|
2490
2490
|
defaultIntegrations: n
|
|
@@ -2496,11 +2496,11 @@ function Va(e = {}) {
|
|
|
2496
2496
|
//#region ../../node_modules/.pnpm/@sentry+react@10.52.0_react@19.2.6/node_modules/@sentry/react/build/esm/sdk.js
|
|
2497
2497
|
function Ha(e) {
|
|
2498
2498
|
let t = { ...e };
|
|
2499
|
-
return
|
|
2499
|
+
return nr(t, "react"), ve("react", { version: rt.version }), Va(t);
|
|
2500
2500
|
}
|
|
2501
2501
|
//#endregion
|
|
2502
2502
|
//#region src/tools/sentry.ts
|
|
2503
|
-
var Ua = "production", Wa = "3.2.
|
|
2503
|
+
var Ua = "production", Wa = "3.2.13";
|
|
2504
2504
|
function Ga() {
|
|
2505
2505
|
let e = "sentry_offline_queue";
|
|
2506
2506
|
return {
|
|
@@ -2549,7 +2549,7 @@ function Ga() {
|
|
|
2549
2549
|
};
|
|
2550
2550
|
}
|
|
2551
2551
|
function Ka(e) {
|
|
2552
|
-
let t =
|
|
2552
|
+
let t = er(Vi);
|
|
2553
2553
|
Ha({
|
|
2554
2554
|
dsn: "https://b2eafc5a038fa2c535099e431de219f2@o4510697102114816.ingest.us.sentry.io/4510697103097856",
|
|
2555
2555
|
release: Wa,
|
|
@@ -2783,7 +2783,7 @@ var eo = class {
|
|
|
2783
2783
|
}
|
|
2784
2784
|
constructor(e) {
|
|
2785
2785
|
var t;
|
|
2786
|
-
this.options = void 0, this.renderTarget = void 0, this._ready = void 0, this.element = void 0, this.eventId = void 0, this.dataUrl = void 0, this.noOverlay = void 0, this.offHistory = void 0, this.ignoreQuery = void 0, this.allowConsent = void 0, this.onInit = void 0, this.disableRuntimeAlerts = void 0, this.viewerMode = void 0, this.efpStyleLoadHandler = void 0, this.resolveReady = void 0, this.icons = /* @__PURE__ */ new Map(), this.enableRotation = !0, this.alwaysShowSidebar = !1, this.onBoothClick = void 0, this.onBookmarkClick = void 0, this.onVisitedClick = void 0, this.onCategoryClick = void 0, this.onFpConfigured = void 0, this.onDirection = void 0, this.onDetails = void 0, this.onExhibitorCustomButtonClick = void 0, this.onGetCoordsClick = void 0, this.onMarkerClick = void 0, this.onLeaveEvent = void 0, this.options = e, this.noOverlay = !!e.noOverlay, this.offHistory = !!e.offHistory, this.ignoreQuery = e.ignoreQuery, this.allowConsent = ut && !
|
|
2786
|
+
this.options = void 0, this.renderTarget = void 0, this._ready = void 0, this.element = void 0, this.eventId = void 0, this.dataUrl = void 0, this.noOverlay = void 0, this.offHistory = void 0, this.ignoreQuery = void 0, this.allowConsent = void 0, this.onInit = void 0, this.disableRuntimeAlerts = void 0, this.viewerMode = void 0, this.efpStyleLoadHandler = void 0, this.resolveReady = void 0, this.icons = /* @__PURE__ */ new Map(), this.enableRotation = !0, this.alwaysShowSidebar = !1, this.onBoothClick = void 0, this.onBookmarkClick = void 0, this.onVisitedClick = void 0, this.onCategoryClick = void 0, this.onFpConfigured = void 0, this.onDirection = void 0, this.onDetails = void 0, this.onExhibitorCustomButtonClick = void 0, this.onGetCoordsClick = void 0, this.onMarkerClick = void 0, this.onLeaveEvent = void 0, this.options = e, this.noOverlay = !!e.noOverlay, this.offHistory = !!e.offHistory, this.ignoreQuery = e.ignoreQuery, this.allowConsent = ut && !p ? !1 : e.allowConsent, this.onBoothClick = e.onBoothClick, this.onBookmarkClick = e.onBookmarkClick, this.onVisitedClick = e.onVisitedClick, this.onCategoryClick = e.onCategoryClick, this.onDetails = e.onDetails, this.onExhibitorCustomButtonClick = e.onExhibitorCustomButtonClick, this.onGetCoordsClick = e.onGetCoordsClick, this.onMarkerClick = e.onMarkerClick, this.onFpConfigured = e.onFpConfigured, this.onDirection = e.onDirection, this.onInit = e.onInit, this.onCurrentPositionChanged = e.onCurrentPositionChanged, this.onFloorActivated = e.onFloorActivated, this.onLeaveEvent = e.onLeaveEvent, this.viewerMode = !!e.viewerMode, this.disableRuntimeAlerts = (t = e.disableRuntimeAlerts) == null ? !0 : t, this._ready = new Promise((e, t) => {
|
|
2787
2787
|
this.resolveReady = e;
|
|
2788
2788
|
});
|
|
2789
2789
|
let r = e.element;
|
|
@@ -2793,75 +2793,71 @@ var eo = class {
|
|
|
2793
2793
|
if (!d) throw Error("`expo` option is required");
|
|
2794
2794
|
Ka({
|
|
2795
2795
|
eventId: d || "",
|
|
2796
|
-
isWebview:
|
|
2796
|
+
isWebview: ee
|
|
2797
2797
|
}), this.eventId = d, window.__efpEvent = d, window.__efpElement = r;
|
|
2798
|
-
let f =
|
|
2799
|
-
|
|
2800
|
-
let m
|
|
2801
|
-
|
|
2802
|
-
let g = document.createElement("div");
|
|
2803
|
-
g.style.height = "100%", g.style.width = "100%", r.appendChild(g);
|
|
2804
|
-
let _;
|
|
2805
|
-
if (p && (this.allowConsent = !0), e.allowConsent === void 0) {
|
|
2798
|
+
let f = document.createElement("div");
|
|
2799
|
+
f.style.height = "100%", f.style.width = "100%", r.appendChild(f);
|
|
2800
|
+
let m;
|
|
2801
|
+
if (ee && (this.allowConsent = !0), e.allowConsent === void 0) {
|
|
2806
2802
|
let e = new URL(window.location.href).searchParams.get("allowConsent");
|
|
2807
2803
|
e && (this.allowConsent = e === "true");
|
|
2808
2804
|
}
|
|
2809
2805
|
if (ct) {
|
|
2810
|
-
|
|
2811
|
-
let e =
|
|
2806
|
+
m = f.attachShadow({ mode: "open" });
|
|
2807
|
+
let e = m, t = document;
|
|
2812
2808
|
e.createElement = (...e) => t.createElement(...e), e.createElementNS = (...e) => t.createElementNS(...e), e.createTextNode = (...e) => t.createTextNode(...e);
|
|
2813
|
-
} else
|
|
2814
|
-
let
|
|
2815
|
-
if (
|
|
2816
|
-
let
|
|
2817
|
-
window.__dataUrlBase =
|
|
2818
|
-
let
|
|
2819
|
-
o(
|
|
2820
|
-
o(
|
|
2821
|
-
o(
|
|
2822
|
-
],
|
|
2809
|
+
} else m = f;
|
|
2810
|
+
let h = document.createElement("div");
|
|
2811
|
+
if (h.style.height = "100%", h.style.width = "100%", m.appendChild(h), ct && Object.defineProperty(h, "ownerDocument", { value: m }), window.__efpShadowDOMStyleParent = ct ? m : void 0, this.renderTarget = h, r.getAttribute("data-data-url")) throw Error("data-xxx attributes are removed, use options instead");
|
|
2812
|
+
let g = e.legacyDataUrlBase;
|
|
2813
|
+
window.__dataUrlBase = g, this.dataUrl = g, i.log("Instantiating ExpoFP floorplan", e.element, d);
|
|
2814
|
+
let _ = g + "data.js", v = g + "wf.data.js", re = g + "fp.svg.js", y = [
|
|
2815
|
+
o(v),
|
|
2816
|
+
o(_),
|
|
2817
|
+
o(re)
|
|
2818
|
+
], b = 0;
|
|
2823
2819
|
this.efpStyleLoadHandler = function(e) {
|
|
2824
2820
|
let t = window.__efpStyleElements;
|
|
2825
|
-
for (;
|
|
2826
|
-
let e = t[
|
|
2827
|
-
|
|
2821
|
+
for (; b < t.length;) {
|
|
2822
|
+
let e = t[b];
|
|
2823
|
+
m.appendChild(e), b++;
|
|
2828
2824
|
}
|
|
2829
2825
|
}, window.addEventListener("__efpStyleLoad", this.efpStyleLoadHandler);
|
|
2830
|
-
let
|
|
2826
|
+
let x = this;
|
|
2831
2827
|
(async function() {
|
|
2832
2828
|
var e, t;
|
|
2833
|
-
await Promise.all(
|
|
2834
|
-
let
|
|
2835
|
-
for (; window.__fpPending && !window.__fp;) await n(2e3), await o(
|
|
2836
|
-
let p = window.__data,
|
|
2837
|
-
|
|
2838
|
-
let
|
|
2829
|
+
await Promise.all(y);
|
|
2830
|
+
let ee = 0;
|
|
2831
|
+
for (; window.__fpPending && !window.__fp;) await n(2e3), await o(re + `?v=${++ee}`);
|
|
2832
|
+
let p = window.__data, h = $a(p);
|
|
2833
|
+
h && import("./bootIntercom-C0fIuZrS.js").then(({ bootIntercom: e }) => e(h)).catch(() => {}), await te();
|
|
2834
|
+
let g = new URLSearchParams(window.location.search), _, v;
|
|
2839
2835
|
if (p != null && p.trackerUrl) try {
|
|
2840
|
-
|
|
2836
|
+
_ = new URL(p.trackerUrl), v = _.searchParams.get("expoId");
|
|
2841
2837
|
} catch (e) {
|
|
2842
2838
|
console.error(e);
|
|
2843
2839
|
}
|
|
2844
|
-
let
|
|
2845
|
-
if (!
|
|
2846
|
-
let t = new URL(e.dataUrl,
|
|
2840
|
+
let b = async (e) => {
|
|
2841
|
+
if (!_ || !v) return Promise.reject(/* @__PURE__ */ Error("trackerUrl or expoId is missing"));
|
|
2842
|
+
let t = new URL(e.dataUrl, _.origin), n = await fetch(t.toString(), {
|
|
2847
2843
|
method: "POST",
|
|
2848
2844
|
headers: { "Content-Type": "application/json" },
|
|
2849
2845
|
body: JSON.stringify({
|
|
2850
2846
|
expoId: v,
|
|
2851
|
-
token: decodeURIComponent(
|
|
2847
|
+
token: decodeURIComponent(g.get("t"))
|
|
2852
2848
|
})
|
|
2853
2849
|
}), r = [];
|
|
2854
2850
|
n.ok && (r = (await n.json()).map(e.dataMapper)), window.__heatmapDataYah = { yah: r };
|
|
2855
2851
|
};
|
|
2856
|
-
if (
|
|
2857
|
-
if (
|
|
2852
|
+
if (g.get("heatmap") === "true") try {
|
|
2853
|
+
if (g.get("type") === "yah") g.get("subtype") === "kiosk" ? await b({
|
|
2858
2854
|
dataUrl: "/api/kiosks/list/viewer",
|
|
2859
2855
|
dataMapper: (e) => ({
|
|
2860
2856
|
...e,
|
|
2861
2857
|
id: e.key,
|
|
2862
2858
|
name: `Kiosk ${e.key}`
|
|
2863
2859
|
})
|
|
2864
|
-
}) : await
|
|
2860
|
+
}) : await b({
|
|
2865
2861
|
dataUrl: "/api/v1/you-are-here/qr-code/list/viewer",
|
|
2866
2862
|
dataMapper: (e, t) => ({
|
|
2867
2863
|
...e,
|
|
@@ -2869,10 +2865,10 @@ var eo = class {
|
|
|
2869
2865
|
})
|
|
2870
2866
|
});
|
|
2871
2867
|
else {
|
|
2872
|
-
let e = new URL("/api/fp-stats/get",
|
|
2873
|
-
e.searchParams.set("expoId", v), e.searchParams.set("type", "booview"), e.searchParams.set("t", decodeURIComponent(
|
|
2874
|
-
let t = new URL("api/fp-stats/get",
|
|
2875
|
-
t.searchParams.set("expoId", v), t.searchParams.set("type", "exview"), t.searchParams.set("t", decodeURIComponent(
|
|
2868
|
+
let e = new URL("/api/fp-stats/get", _.origin);
|
|
2869
|
+
e.searchParams.set("expoId", v), e.searchParams.set("type", "booview"), e.searchParams.set("t", decodeURIComponent(g.get("t")));
|
|
2870
|
+
let t = new URL("api/fp-stats/get", _.origin);
|
|
2871
|
+
t.searchParams.set("expoId", v), t.searchParams.set("type", "exview"), t.searchParams.set("t", decodeURIComponent(g.get("t")));
|
|
2876
2872
|
let [n, r] = await Promise.all([fetch(e.toString()), fetch(t.toString())]), [i, a] = await Promise.all([n.json(), r.json()]);
|
|
2877
2873
|
window.__heatmapData = {
|
|
2878
2874
|
booths: i,
|
|
@@ -2895,28 +2891,28 @@ var eo = class {
|
|
|
2895
2891
|
} catch (e) {
|
|
2896
2892
|
console.error(e);
|
|
2897
2893
|
}
|
|
2898
|
-
let
|
|
2899
|
-
ne(u + "vendor/sanitize-css/sanitize.css",
|
|
2900
|
-
ne(u + "vendor/perfect-scrollbar/css/perfect-scrollbar.css",
|
|
2901
|
-
ne(u + "vendor/mapbox/mapbox-gl.css",
|
|
2894
|
+
let S = [
|
|
2895
|
+
ne(u + "vendor/sanitize-css/sanitize.css", m),
|
|
2896
|
+
ne(u + "vendor/perfect-scrollbar/css/perfect-scrollbar.css", m),
|
|
2897
|
+
ne(u + "vendor/mapbox/mapbox-gl.css", m),
|
|
2902
2898
|
l("Oswald", u + "fonts/oswald-v17-cyrillic_latin-300.woff", { weight: 300 }),
|
|
2903
2899
|
l("Oswald", u + "fonts/oswald-v17-cyrillic_latin-500.woff", { weight: 500 }),
|
|
2904
2900
|
l("Inter", u + "fonts/inter-400.woff2", { weight: 400 }),
|
|
2905
2901
|
l("Inter", u + "fonts/inter-500.woff2", { weight: 500 }),
|
|
2906
2902
|
l("Inter", u + "fonts/inter-600.woff2", { weight: 600 }),
|
|
2907
2903
|
l("efp-symbols", u + "fonts/efp-symbols.woff", { weight: 400 }),
|
|
2908
|
-
it(p,
|
|
2909
|
-
at(
|
|
2904
|
+
it(p, m),
|
|
2905
|
+
at(x.icons)
|
|
2910
2906
|
];
|
|
2911
|
-
await Promise.all(
|
|
2912
|
-
let { default:
|
|
2907
|
+
await Promise.all(S), x.enableRotation = (e = p == null ? void 0 : p.enableRotation) == null ? !1 : e, x.alwaysShowSidebar = (t = p == null ? void 0 : p.alwaysShowSidebar) == null ? !1 : t, i.log("Data loaded");
|
|
2908
|
+
let { default: C } = await import(
|
|
2913
2909
|
/* webpackChunkName: "floorplan" */
|
|
2914
|
-
"./floorplan.ready-
|
|
2910
|
+
"./floorplan.ready-t0OqKoP2.js"
|
|
2915
2911
|
);
|
|
2916
|
-
for (document.querySelectorAll(".expofp-floorplan-loader").forEach((e) => e.remove()); r.firstChild && r.firstChild !==
|
|
2917
|
-
Object.setPrototypeOf(
|
|
2912
|
+
for (document.querySelectorAll(".expofp-floorplan-loader").forEach((e) => e.remove()); r.firstChild && r.firstChild !== f;) r.removeChild(r.firstChild);
|
|
2913
|
+
Object.setPrototypeOf(x, C.prototype).init();
|
|
2918
2914
|
})();
|
|
2919
2915
|
}
|
|
2920
2916
|
};
|
|
2921
2917
|
//#endregion
|
|
2922
|
-
export { $e as a, qt as i, Q as n,
|
|
2918
|
+
export { $e as a, qt as i, Q as n, J as r, eo as t };
|