@expofp/floorplan 3.13.0 → 3.13.2
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/{Button-BhFl-di8.js → Button-C5DLguTW.js} +6 -6
- package/dist/browser/{CookieConsent-sa6NrKxH.js → CookieConsent-CPXxoJkz.js} +8 -8
- package/dist/browser/{Debug-C9cxUup2.js → Debug-bxMz-HDF.js} +8 -8
- package/dist/browser/{Demo-Ddm9RP_A.js → Demo-CGCZqU_8.js} +10 -10
- package/dist/browser/{Free-rUcFT9c4.js → Free-I-EGiu3o.js} +10 -10
- package/dist/browser/{Gallery-DiQ8516Y.js → Gallery-Bce2fubu.js} +31 -25
- package/dist/browser/{GpsLoader-Dg3oPXFb.js → GpsLoader-CnPH3rxE.js} +12 -12
- package/dist/browser/{KioskStore-DXzJYJDf.js → KioskStore-K0Ps7wq6.js} +4 -4
- package/dist/browser/{MaplibreAdapter-CyrBeOGN.js → MaplibreAdapter-DKa1N9-7.js} +85 -57
- package/dist/browser/{ModalContainer-De7wWR5x.js → ModalContainer-BxCJTxBS.js} +11 -11
- package/dist/browser/{PermissionNotice-CZ2zOZpC.js → PermissionNotice-BS53dDaS.js} +7 -7
- package/dist/browser/{SetKioskMode-CADu-Nec.js → SetKioskMode-P2g_TnCr.js} +10 -10
- package/dist/browser/{ShowKiosk-DCb39wY6.js → ShowKiosk-Bz-7t-PL.js} +12 -12
- package/dist/browser/{TouchHand-BfZmlSSQ.js → TouchHand-Dm3c6gpk.js} +5 -5
- package/dist/browser/{ViewerMenuPanel-MrTdl0Lk.js → ViewerMenuPanel-COyljU8V.js} +10 -10
- package/dist/browser/{add-debug-secret-listener-BbMMQOGn.js → add-debug-secret-listener-DQjjtobD.js} +1 -1
- package/dist/browser/{reset-all-settings-CSD5_eeL.js → adopt-global-settings-DIJsf94E.js} +12 -17
- package/dist/browser/{boolean-editor-CklOhr36.js → boolean-editor-D4Y66mgk.js} +46 -46
- package/dist/browser/{bootIntercom-CGiDjnZs.js → bootIntercom-DUPbX22l.js} +3 -3
- package/dist/browser/{booth-by-xy-ByPe7dOB.js → booth-by-xy-DKyMJwg9.js} +13 -13
- package/dist/browser/bundle.json +67 -70
- package/dist/browser/{classnames-Dg3Epqr5.js → classnames-CTiheKEO.js} +2 -2
- package/dist/browser/{client-BtIR_QJ0.js → client-B0g0Q0fu.js} +9 -9
- package/dist/browser/{components-Ba7imFfV.js → components-DUbHmBQ6.js} +60 -53
- package/dist/browser/{debug-overlay-Mgkh8CCK.js → debug-overlay-CKXL3Z9z.js} +470 -464
- package/dist/browser/{debug-ui-DLG8EKHO.js → debug-ui-D2GPuJSX.js} +7 -7
- package/dist/browser/{dist-B2eHvCOU.js → dist-BFVoy_zB.js} +7 -7
- package/dist/browser/{dist-ByAJEdRV.js → dist-CFY_dc-C.js} +5 -5
- package/dist/browser/{dist-Dd2UZ1cI.js → dist-CZH-D_bo.js} +66 -67
- package/dist/browser/{efp-debug-init-BCsVUzwy.js → efp-debug-init-pd2smy4A.js} +4 -4
- package/dist/browser/{enum-editor-DGQxevil.js → enum-editor-a07SOXXi.js} +5 -5
- package/dist/browser/{es5-cfKynydw.js → es5-jDwWZhmf.js} +2 -2
- package/dist/browser/{event-not-found-BJLLcNqO.js → event-not-found-CPqO_ew-.js} +1 -1
- package/dist/browser/{exports-BQHYfgvY.js → exports-8JcxTO7_.js} +567 -566
- package/dist/browser/{favicon-C56bzaeG.js → favicon-BhTDecsz.js} +1 -1
- package/dist/browser/{fetch-retry.umd-DYC2sEmH.js → fetch-retry.umd-BuEcG130.js} +2 -2
- package/dist/browser/{flex-8VuyKxuf.js → flex-FVc6l8VM.js} +17 -17
- package/dist/browser/{floorplan.loader-B9Jv3g5N.js → floorplan.loader-DM3BoMUa.js} +1372 -1298
- package/dist/browser/{floorplan.ready-Cnxr8xZd.js → floorplan.ready-DQAk0-bE.js} +294 -294
- package/dist/browser/{fuse-DgPaqPDU.js → fuse-hiNWVTid.js} +2 -2
- package/dist/browser/{i18n-DL3k5TYE.js → i18n-DmUQ2csh.js} +2399 -2412
- package/dist/browser/index.js +36 -36
- package/dist/browser/{index.module-DvMglRjg.js → index.module-Ce5K5GHH.js} +6 -6
- package/dist/browser/{integrateKiosk-DqfQtnQ5.js → integrateKiosk-DLY98yHT.js} +4 -4
- package/dist/browser/{is-webview-CYXkFxGI.js → is-webview-DYW7jMPo.js} +1 -1
- package/dist/browser/{jsx-runtime-Ddgd7eiz.js → jsx-runtime-Cn7VZCRr.js} +4 -4
- package/dist/browser/{lib-Ba7o5H8-.js → lib-DKxIjoGs.js} +155 -112
- package/dist/browser/{loadImage-sIGoQ_pR.js → loadImage-CFRF6nKm.js} +5 -5
- package/dist/browser/{logDeviceInfo-DlAlNCzD.js → logDeviceInfo-B2xD643p.js} +9 -9
- package/dist/browser/{main-BUG7EnSp.js → main-BE7HSdfx.js} +1 -1
- package/dist/browser/{mobx-CjGP1jW0.js → mobx-Dss6V0uv.js} +5 -5
- package/dist/browser/{optional-boolean-editor-Duqb7gc6.js → optional-boolean-editor-BDWvD6R3.js} +4 -4
- package/dist/browser/{optional-enum-editor-DsJC_Z9B.js → optional-enum-editor-DzJSD274.js} +5 -5
- package/dist/browser/{optional-string-editor-CDPA6AbE.js → optional-string-editor-DvQrsAvN.js} +5 -5
- package/dist/browser/{particles.min-Cw7MNnR7.js → particles.min-0GINFlmD.js} +2 -2
- package/dist/browser/{react-jeXnPF9E.js → react-CQIXbbli.js} +5 -5
- package/dist/browser/{react-dom-Du74Uwxl.js → react-dom-DB3HP1L3.js} +6 -6
- package/dist/browser/{rolldown-runtime-DE59zyqc.js → rolldown-runtime-CBbNE2KV.js} +1 -1
- package/dist/browser/select-DkvD6Ont.js +1367 -0
- package/dist/browser/{settings-CETkuvKR.js → settings-3RnELfMa.js} +3 -3
- package/dist/browser/{settings-item-BCaZImcD.js → settings-item-wgFS4pwq.js} +16 -16
- package/dist/browser/{store-Sol8yqmO.js → store-Bh1UUDBZ.js} +3955 -3943
- package/dist/browser/{string-editor-DkEYMW6l.js → string-editor-DIG3V4Iv.js} +5 -5
- package/dist/browser/{text-field-CPJjFaAn.js → text-field-Ce1nLpTL.js} +25 -25
- package/dist/browser/{theme-CN0bL8JF.js → theme-DE94e68B.js} +949 -946
- package/dist/browser/{ui-CLJ3PDlT.js → ui-DKrc1LYz.js} +11 -11
- package/dist/browser/{useRenderTarget-BbbTquxP.js → useRenderTarget-DwEjrRiD.js} +5 -5
- package/dist/esm/components/AutocompleteContainer.d.ts +1 -1
- package/dist/esm/components/Bookmarks.d.ts +1 -1
- package/dist/esm/components/Bookmarks.js +1 -1
- package/dist/esm/components/Booth/Booth.js +1 -1
- package/dist/esm/components/Category.d.ts +1 -1
- package/dist/esm/components/Debug.d.ts +1 -1
- package/dist/esm/components/Debug.js +1 -1
- package/dist/esm/components/ErrorBoundary.d.ts +1 -1
- package/dist/esm/components/ErrorBoundary.js +1 -1
- package/dist/esm/components/Event.js +1 -1
- package/dist/esm/components/Exhibitor.d.ts +1 -1
- package/dist/esm/components/Exhibitor.js +1 -1
- package/dist/esm/components/Filter.d.ts +1 -1
- package/dist/esm/components/Filter.js +1 -1
- package/dist/esm/components/Gallery/GalleryBadges/GalleryBadges.js +1 -1
- package/dist/esm/components/Gallery/GalleryPreLoader.js +1 -1
- package/dist/esm/components/Kiosk/KioskStore.js +1 -1
- package/dist/esm/components/Kiosk/SetKiosk/SetKioskComponent.js +1 -1
- package/dist/esm/components/Map/Map.js +1 -1
- package/dist/esm/components/Map/drawing/config/BoothDrawerBase.js +1 -1
- package/dist/esm/components/Map/drawing/config/BoothShape.js +1 -1
- package/dist/esm/components/Map/drawing/config/TextFitter.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-bg.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-bookmark.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-border.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-labels-special.js +2 -2
- package/dist/esm/components/Map/drawing/config/config-booth-labels.js +1 -1
- package/dist/esm/components/Map/traffic/UpdateQueue.js +1 -1
- package/dist/esm/components/Map/traffic/useBuildRoute.js +1 -1
- package/dist/esm/components/Menu.d.ts +1 -1
- package/dist/esm/components/Menu.js +1 -1
- package/dist/esm/components/ModalContainer.d.ts +4 -4
- package/dist/esm/components/RebookingNotesContainer.d.ts +1 -1
- package/dist/esm/components/RebookingRadioGroupContainer.d.ts +1 -1
- package/dist/esm/components/RoutePlanner/RoutePlannerStopItem.js +1 -1
- package/dist/esm/components/Schedule.js +1 -1
- package/dist/esm/components/Search.d.ts +1 -1
- package/dist/esm/components/Search.js +1 -1
- package/dist/esm/components/Toast/ToastContainer.d.ts +1 -1
- package/dist/esm/components/TourPoints.d.ts +1 -1
- package/dist/esm/components/Tours.js +1 -1
- package/dist/esm/components/Visited.d.ts +1 -1
- package/dist/esm/components/WayfindingTemplate.js +1 -1
- package/dist/esm/components/Ws.d.ts +1 -1
- package/dist/esm/floorplan.loader.js +1 -1
- package/dist/esm/floorplan.ready.js +1 -1
- package/dist/esm/renderer/HandlerRegistry.js +1 -1
- package/dist/esm/renderer/RendererService.js +1 -1
- package/dist/esm/services/URLFilterManager.js +1 -1
- package/dist/esm/store/BaseFilterStore.js +1 -1
- package/dist/esm/store/BookmarksStore.js +2 -2
- package/dist/esm/store/BoothStore.js +1 -1
- package/dist/esm/store/CategoryFilterStore.js +1 -1
- package/dist/esm/store/CategoryStore.d.ts +1 -1
- package/dist/esm/store/CategoryStore.js +1 -1
- package/dist/esm/store/EventStore.d.ts +2 -2
- package/dist/esm/store/EventStore.js +1 -1
- package/dist/esm/store/ExhibitorStore.d.ts +1 -1
- package/dist/esm/store/ExhibitorStore.js +1 -1
- package/dist/esm/store/FuzzySearchEngineStore.js +1 -1
- package/dist/esm/store/HeatmapStore.d.ts +1 -1
- package/dist/esm/store/HeatmapStore.js +1 -1
- package/dist/esm/store/IntercomStore.js +1 -1
- package/dist/esm/store/LayerStore.js +1 -1
- package/dist/esm/store/MaplibreStore.js +1 -1
- package/dist/esm/store/PoiTypeStore.js +1 -1
- package/dist/esm/store/RootStore.js +1 -1
- package/dist/esm/store/RoutePlannerStore.js +1 -1
- package/dist/esm/store/RouteStore.js +1 -1
- package/dist/esm/store/SearchStore.d.ts +1 -1
- package/dist/esm/store/SearchStore.js +1 -1
- package/dist/esm/store/SessionsFilterStore.js +1 -1
- package/dist/esm/store/ShortcutRegistry.js +1 -1
- package/dist/esm/store/SpeakerFilterStore.js +1 -1
- package/dist/esm/store/SpeakerStore.d.ts +2 -2
- package/dist/esm/store/SpeakerStore.js +1 -1
- package/dist/esm/store/SubButtonRegistry.js +1 -1
- package/dist/esm/store/ToursStore.js +1 -1
- package/dist/esm/store/UIState.d.ts +2 -2
- package/dist/esm/store/UIState.js +1 -1
- package/dist/esm/store/providers/SearchShortcutProvider.js +1 -1
- package/dist/esm/store/providers/SessionsShortcutProvider.js +1 -1
- package/dist/esm/store/providers/SessionsSubButtonProvider.js +1 -1
- package/dist/esm/store/providers/SpeakerShortcutProvider.js +1 -1
- package/dist/esm/store/search-buttons/SearchButtonsActions.js +1 -1
- package/dist/esm/store/search-buttons/SearchButtonsFactory.js +1 -1
- package/dist/esm/store/search-buttons/SearchButtonsFilters.js +1 -1
- package/dist/esm/store/search-buttons/SearchButtonsState.js +1 -1
- package/dist/esm/store/search-buttons/SearchButtonsStore.js +1 -1
- package/dist/esm/store/search-buttons/constants.d.ts +8 -8
- package/dist/esm/tools/expofpUrl.d.ts +2 -2
- package/dist/esm/tools/logger.js +1 -1
- package/dist/esm/tools/settings.js +1 -1
- package/dist/esm/ui/Autocomplete/Autocomplete.js +1 -1
- package/dist/esm/ui/EntityItem/EntityItem.js +1 -1
- package/dist/esm/ui/EventBadge/EventBadge.js +1 -1
- package/dist/esm/ui/Share/Share.js +1 -1
- package/dist/esm/utils/dimming.d.ts +1 -1
- package/dist/esm/utils/is-from-designer.d.ts +1 -1
- package/dist/esm/utils/silence-mobx-react-lite-warning.d.ts +1 -0
- package/dist/esm/utils/silence-mobx-react-lite-warning.js +1 -1
- package/package.json +17 -17
- package/dist/browser/prop-types-BYN2smyR.js +0 -57
- package/dist/browser/select-jZKJ9MVb.js +0 -1360
|
@@ -1,28 +1,41 @@
|
|
|
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.13.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.13.2" };
|
|
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] = "2aa60445-0886-4ed4-ba90-7a1f307335f1", e._sentryDebugIdIdentifier = "sentry-dbid-2aa60445-0886-4ed4-ba90-7a1f307335f1");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./rolldown-runtime-
|
|
10
|
-
import { A as t, D as n, E as r, O as i, Pt as a, i as o, l as s } from "./i18n-
|
|
11
|
-
import { t as c } from "./react-
|
|
12
|
-
import { n as l, r as u, t as d } from "./loadImage-
|
|
13
|
-
import { $ as f, A as p, B as m, C as h, D as g, E as _, F as v, G as y, H as
|
|
14
|
-
import { t as
|
|
9
|
+
import { r as e } from "./rolldown-runtime-CBbNE2KV.js";
|
|
10
|
+
import { A as t, D as n, E as r, O as i, Pt as a, i as o, l as s } from "./i18n-DmUQ2csh.js";
|
|
11
|
+
import { t as c } from "./react-CQIXbbli.js";
|
|
12
|
+
import { n as l, r as u, t as d } from "./loadImage-CFRF6nKm.js";
|
|
13
|
+
import { $ as f, A as p, B as m, C as h, D as g, E as _, F as v, G as y, H as b, I as x, J as S, K as C, L as ee, M as w, N as te, O as ne, P as re, Q as ie, R as ae, S as oe, T, U as E, V as se, W as ce, X as le, Y as ue, Z as de, _ as D, _t as fe, a as pe, at as me, b as he, bt as O, c as ge, ct as _e, d as ve, dt as k, et as ye, f as be, ft as xe, g as Se, gt as Ce, h as we, ht as A, it as Te, j, k as Ee, l as De, lt as Oe, m as ke, mt as Ae, n as je, nt as Me, o as Ne, ot as Pe, p as Fe, pt as Ie, q as M, r as Le, rt as Re, s as ze, st as N, t as Be, tt as Ve, u as He, ut as Ue, v as We, vt as Ge, w as Ke, x as qe, xt as P, y as Je, yt as Ye, z as F } from "./exports-8JcxTO7_.js";
|
|
14
|
+
import { t as Xe } from "./is-webview-DYW7jMPo.js";
|
|
15
|
+
//#region ../config/src/lib/apply-intents.ts
|
|
16
|
+
function Ze(e, t) {
|
|
17
|
+
let n = JSON.parse(JSON.stringify(t.args));
|
|
18
|
+
e[t.name](...n);
|
|
19
|
+
}
|
|
20
|
+
function Qe(e, t) {
|
|
21
|
+
for (let n of t) try {
|
|
22
|
+
Ze(e, n);
|
|
23
|
+
} catch (e) {
|
|
24
|
+
console.error(`Intent ${n.name} failed:`, e);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
//#endregion
|
|
15
28
|
//#region src/tools/report-error.ts
|
|
16
|
-
var
|
|
17
|
-
function
|
|
18
|
-
|
|
29
|
+
var $e;
|
|
30
|
+
function et(e) {
|
|
31
|
+
$e || e.filename.indexOf("expofp.com") === -1 || [
|
|
19
32
|
/loading chunk \d{1,2}\b/i,
|
|
20
33
|
/zaloJS/i,
|
|
21
34
|
/e.target.name/i,
|
|
22
35
|
/ResizeObserver loop/i,
|
|
23
36
|
/ChunkLoadError/i,
|
|
24
37
|
/FloorPlan not ready/i
|
|
25
|
-
].some((t) => t.test(e.message)) || (
|
|
38
|
+
].some((t) => t.test(e.message)) || ($e = window.setTimeout(async function() {
|
|
26
39
|
var t;
|
|
27
40
|
let n = navigator.languages && navigator.languages.length ? navigator.languages[0] : navigator.language, r = {
|
|
28
41
|
host: document.location.host,
|
|
@@ -38,10 +51,10 @@ function Ze(e) {
|
|
|
38
51
|
url: document.location,
|
|
39
52
|
subject: "FP JS error: " + document.location.host
|
|
40
53
|
};
|
|
41
|
-
u.info("Sending error report", r), await Promise.all([
|
|
54
|
+
u.info("Sending error report", r), await Promise.all([tt(r), nt(r)]);
|
|
42
55
|
}, 2e3));
|
|
43
56
|
}
|
|
44
|
-
async function
|
|
57
|
+
async function tt(e) {
|
|
45
58
|
let t = await fetch("https://app.expofp.com/api/report-error", {
|
|
46
59
|
method: "POST",
|
|
47
60
|
headers: { "Content-Type": "application/json" },
|
|
@@ -49,15 +62,15 @@ async function Qe(e) {
|
|
|
49
62
|
});
|
|
50
63
|
u.log("Reporter response: ", await t.text());
|
|
51
64
|
}
|
|
52
|
-
async function
|
|
53
|
-
let t =
|
|
65
|
+
async function nt(e) {
|
|
66
|
+
let t = rt(e), n = await fetch("https://msg.expofp.com/v1/post-message/" + window.location.hostname, {
|
|
54
67
|
method: "POST",
|
|
55
68
|
headers: { "Content-Type": "application/json" },
|
|
56
69
|
body: JSON.stringify(t)
|
|
57
70
|
});
|
|
58
71
|
u.log("Slack reporter response: ", await n.text());
|
|
59
72
|
}
|
|
60
|
-
function
|
|
73
|
+
function rt(e) {
|
|
61
74
|
let t = JSON.parse(JSON.stringify(e));
|
|
62
75
|
delete t.subject, delete t.message, delete t.stack, delete t.log;
|
|
63
76
|
let n = [];
|
|
@@ -82,15 +95,122 @@ function et(e) {
|
|
|
82
95
|
};
|
|
83
96
|
}
|
|
84
97
|
//#endregion
|
|
85
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
86
|
-
|
|
98
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/instrument/handlers.js
|
|
99
|
+
var I = {}, it = {};
|
|
100
|
+
function L(e, t) {
|
|
101
|
+
return I[e] = I[e] || [], I[e].push(t), () => {
|
|
102
|
+
let n = I[e];
|
|
103
|
+
if (n) {
|
|
104
|
+
let e = n.indexOf(t);
|
|
105
|
+
e !== -1 && n.splice(e, 1);
|
|
106
|
+
}
|
|
107
|
+
};
|
|
108
|
+
}
|
|
109
|
+
function R(e, t) {
|
|
110
|
+
if (!it[e]) {
|
|
111
|
+
it[e] = !0;
|
|
112
|
+
try {
|
|
113
|
+
t();
|
|
114
|
+
} catch (t) {
|
|
115
|
+
P && A.error(`Error while instrumenting ${e}`, t);
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
function z(e, t) {
|
|
120
|
+
let n = e && I[e];
|
|
121
|
+
if (n) for (let r of n) try {
|
|
122
|
+
r(t);
|
|
123
|
+
} catch (t) {
|
|
124
|
+
P && A.error(`Error while triggering instrumentation handler.
|
|
125
|
+
Type: ${e}
|
|
126
|
+
Name: ${k(r)}
|
|
127
|
+
Error:`, t);
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
//#endregion
|
|
131
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/instrument/globalError.js
|
|
132
|
+
var at = null;
|
|
133
|
+
function ot(e) {
|
|
134
|
+
let t = "error";
|
|
135
|
+
L(t, e), R(t, st);
|
|
136
|
+
}
|
|
137
|
+
function st() {
|
|
138
|
+
at = O.onerror, O.onerror = function(e, t, n, r, i) {
|
|
139
|
+
return z("error", {
|
|
140
|
+
column: r,
|
|
141
|
+
error: i,
|
|
142
|
+
line: n,
|
|
143
|
+
msg: e,
|
|
144
|
+
url: t
|
|
145
|
+
}), at ? at.apply(this, arguments) : !1;
|
|
146
|
+
}, O.onerror.__SENTRY_INSTRUMENTED__ = !0;
|
|
147
|
+
}
|
|
148
|
+
//#endregion
|
|
149
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/instrument/globalUnhandledRejection.js
|
|
150
|
+
var ct = null;
|
|
151
|
+
function lt(e) {
|
|
152
|
+
let t = "unhandledrejection";
|
|
153
|
+
L(t, e), R(t, ut);
|
|
154
|
+
}
|
|
155
|
+
function ut() {
|
|
156
|
+
ct = O.onunhandledrejection, O.onunhandledrejection = function(e) {
|
|
157
|
+
return z("unhandledrejection", e), !ct || ct.apply(this, arguments);
|
|
158
|
+
}, O.onunhandledrejection.__SENTRY_INSTRUMENTED__ = !0;
|
|
159
|
+
}
|
|
160
|
+
//#endregion
|
|
161
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/utils/parseSampleRate.js
|
|
162
|
+
function dt(e) {
|
|
163
|
+
if (typeof e == "boolean") return Number(e);
|
|
164
|
+
let t = typeof e == "string" ? parseFloat(e) : e;
|
|
165
|
+
if (!(typeof t != "number" || isNaN(t) || t < 0 || t > 1)) return t;
|
|
166
|
+
}
|
|
167
|
+
//#endregion
|
|
168
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/utils/should-ignore-span.js
|
|
169
|
+
function ft(e) {
|
|
170
|
+
A.log(`Ignoring span ${e.op} - ${e.description} because it matches \`ignoreSpans\`.`);
|
|
171
|
+
}
|
|
172
|
+
function pt(e, t) {
|
|
173
|
+
if (!(t != null && t.length)) return !1;
|
|
174
|
+
for (let n of t) {
|
|
175
|
+
if (gt(n)) {
|
|
176
|
+
if (e.description && ee(e.description, n)) return P && ft(e), !0;
|
|
177
|
+
continue;
|
|
178
|
+
}
|
|
179
|
+
let t = !!n.attributes && Object.keys(n.attributes).length > 0;
|
|
180
|
+
if (!n.name && !n.op && !t) continue;
|
|
181
|
+
let r = !n.name || e.description && ee(e.description, n.name), i = !n.op || e.op && ee(e.op, n.op), a = !n.attributes || Object.entries(n.attributes).every(([t, n]) => {
|
|
182
|
+
var r;
|
|
183
|
+
return mt((r = e.attributes) == null ? void 0 : r[t], n);
|
|
184
|
+
});
|
|
185
|
+
if (r && i && a) return P && ft(e), !0;
|
|
186
|
+
}
|
|
187
|
+
return !1;
|
|
188
|
+
}
|
|
189
|
+
function mt(e, t) {
|
|
190
|
+
return typeof e == "string" && (typeof t == "string" || t instanceof RegExp) ? ee(e, t) : Array.isArray(e) && Array.isArray(t) ? e.length === t.length && e.every((e, n) => e === t[n]) : e === t;
|
|
191
|
+
}
|
|
192
|
+
function ht(e, t) {
|
|
193
|
+
let n = t.parent_span_id, r = t.span_id;
|
|
194
|
+
if (n) for (let t of e) t.parent_span_id === r && (t.parent_span_id = n);
|
|
195
|
+
}
|
|
196
|
+
function gt(e) {
|
|
197
|
+
return typeof e == "string" || e instanceof RegExp;
|
|
198
|
+
}
|
|
199
|
+
//#endregion
|
|
200
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/tracing/spans/beforeSendSpan.js
|
|
201
|
+
function _t(e) {
|
|
202
|
+
return !!e && typeof e == "function" && "_streamed" in e && !!e._streamed;
|
|
203
|
+
}
|
|
204
|
+
//#endregion
|
|
205
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/utils/envelope.js
|
|
206
|
+
function B(e, t = []) {
|
|
87
207
|
return [e, t];
|
|
88
208
|
}
|
|
89
|
-
function
|
|
209
|
+
function vt(e, t) {
|
|
90
210
|
let [n, r] = e;
|
|
91
211
|
return [n, [...r, t]];
|
|
92
212
|
}
|
|
93
|
-
function
|
|
213
|
+
function yt(e, t) {
|
|
94
214
|
let n = e[1];
|
|
95
215
|
for (let e of n) {
|
|
96
216
|
let n = e[0].type;
|
|
@@ -98,17 +218,17 @@ function nt(e, t) {
|
|
|
98
218
|
}
|
|
99
219
|
return !1;
|
|
100
220
|
}
|
|
101
|
-
function
|
|
102
|
-
return
|
|
221
|
+
function bt(e, t) {
|
|
222
|
+
return yt(e, (e, n) => t.includes(n));
|
|
103
223
|
}
|
|
104
|
-
function
|
|
105
|
-
let t =
|
|
224
|
+
function xt(e) {
|
|
225
|
+
let t = Ge(O);
|
|
106
226
|
return t.encodePolyfill ? t.encodePolyfill(e) : new TextEncoder().encode(e);
|
|
107
227
|
}
|
|
108
|
-
function
|
|
228
|
+
function St(e) {
|
|
109
229
|
let [t, n] = e, r = JSON.stringify(t);
|
|
110
230
|
function i(e) {
|
|
111
|
-
typeof r == "string" ? r = typeof e == "string" ? r + e : [
|
|
231
|
+
typeof r == "string" ? r = typeof e == "string" ? r + e : [xt(r), e] : r.push(typeof e == "string" ? xt(e) : e);
|
|
112
232
|
}
|
|
113
233
|
for (let e of n) {
|
|
114
234
|
let [t, n] = e;
|
|
@@ -125,15 +245,15 @@ ${JSON.stringify(t)}
|
|
|
125
245
|
i(e);
|
|
126
246
|
}
|
|
127
247
|
}
|
|
128
|
-
return typeof r == "string" ? r :
|
|
248
|
+
return typeof r == "string" ? r : Ct(r);
|
|
129
249
|
}
|
|
130
|
-
function
|
|
250
|
+
function Ct(e) {
|
|
131
251
|
let t = e.reduce((e, t) => e + t.length, 0), n = new Uint8Array(t), r = 0;
|
|
132
252
|
for (let t of e) n.set(t, r), r += t.length;
|
|
133
253
|
return n;
|
|
134
254
|
}
|
|
135
|
-
function
|
|
136
|
-
let t = typeof e.data == "string" ?
|
|
255
|
+
function wt(e) {
|
|
256
|
+
let t = typeof e.data == "string" ? xt(e.data) : e.data;
|
|
137
257
|
return [{
|
|
138
258
|
type: "attachment",
|
|
139
259
|
length: t.length,
|
|
@@ -142,7 +262,7 @@ function st(e) {
|
|
|
142
262
|
attachment_type: e.attachmentType
|
|
143
263
|
}, t];
|
|
144
264
|
}
|
|
145
|
-
var
|
|
265
|
+
var Tt = {
|
|
146
266
|
sessions: "session",
|
|
147
267
|
event: "error",
|
|
148
268
|
client_report: "internal",
|
|
@@ -155,13 +275,13 @@ var ct = {
|
|
|
155
275
|
log: "log_item",
|
|
156
276
|
trace_metric: "metric"
|
|
157
277
|
};
|
|
158
|
-
function
|
|
159
|
-
return e in
|
|
278
|
+
function Et(e) {
|
|
279
|
+
return e in Tt;
|
|
160
280
|
}
|
|
161
|
-
function
|
|
162
|
-
return
|
|
281
|
+
function Dt(e) {
|
|
282
|
+
return Et(e) ? Tt[e] : e;
|
|
163
283
|
}
|
|
164
|
-
function
|
|
284
|
+
function Ot(e) {
|
|
165
285
|
if (!(e != null && e.sdk)) return;
|
|
166
286
|
let { name: t, version: n } = e.sdk;
|
|
167
287
|
return {
|
|
@@ -169,219 +289,20 @@ function dt(e) {
|
|
|
169
289
|
version: n
|
|
170
290
|
};
|
|
171
291
|
}
|
|
172
|
-
function
|
|
292
|
+
function kt(e, t, n, r) {
|
|
173
293
|
var i;
|
|
174
294
|
let a = (i = e.sdkProcessingMetadata) == null ? void 0 : i.dynamicSamplingContext;
|
|
175
295
|
return {
|
|
176
296
|
event_id: e.event_id,
|
|
177
|
-
sent_at: new Date(
|
|
297
|
+
sent_at: new Date(E()).toISOString(),
|
|
178
298
|
...t && { sdk: t },
|
|
179
|
-
...!!n && r && { dsn:
|
|
299
|
+
...!!n && r && { dsn: D(r) },
|
|
180
300
|
...a && { trace: a }
|
|
181
301
|
};
|
|
182
302
|
}
|
|
183
303
|
//#endregion
|
|
184
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
185
|
-
|
|
186
|
-
function mt(e, t = C()) {
|
|
187
|
-
let n = parseInt(`${e}`, 10);
|
|
188
|
-
if (!isNaN(n)) return n * 1e3;
|
|
189
|
-
let r = Date.parse(`${e}`);
|
|
190
|
-
return isNaN(r) ? pt : r - t;
|
|
191
|
-
}
|
|
192
|
-
function ht(e, t) {
|
|
193
|
-
return e[t] || e.all || 0;
|
|
194
|
-
}
|
|
195
|
-
function gt(e, t, n = C()) {
|
|
196
|
-
return ht(e, t) > n;
|
|
197
|
-
}
|
|
198
|
-
function _t(e, { statusCode: t, headers: n }, r = C()) {
|
|
199
|
-
let i = { ...e }, a = n == null ? void 0 : n["x-sentry-rate-limits"], o = n == null ? void 0 : n["retry-after"];
|
|
200
|
-
if (a) for (let e of a.trim().split(",")) {
|
|
201
|
-
let [t, n, , , a] = e.split(":", 5), o = parseInt(t, 10), s = (isNaN(o) ? 60 : o) * 1e3;
|
|
202
|
-
if (!n) i.all = r + s;
|
|
203
|
-
else for (let e of n.split(";")) e === "metric_bucket" ? (!a || a.split(";").includes("custom")) && (i[e] = r + s) : i[e] = r + s;
|
|
204
|
-
}
|
|
205
|
-
else o ? i.all = r + mt(o, r) : t === 429 && (i.all = r + 60 * 1e3);
|
|
206
|
-
return i;
|
|
207
|
-
}
|
|
208
|
-
//#endregion
|
|
209
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/utils/timer.js
|
|
210
|
-
function vt(e) {
|
|
211
|
-
return typeof e == "object" && typeof e.unref == "function" && e.unref(), e;
|
|
212
|
-
}
|
|
213
|
-
var yt = 5e3, bt = 36e5;
|
|
214
|
-
function xt(e) {
|
|
215
|
-
function t(...e) {
|
|
216
|
-
E && k.log("[Offline]:", ...e);
|
|
217
|
-
}
|
|
218
|
-
return (n) => {
|
|
219
|
-
let r = e(n);
|
|
220
|
-
if (!n.createStore) throw Error("No `createStore` function was provided");
|
|
221
|
-
let i = n.createStore(n), a = yt, o;
|
|
222
|
-
function s(e, t, r) {
|
|
223
|
-
return rt(e, ["client_report"]) ? !1 : n.shouldStore ? n.shouldStore(e, t, r) : !0;
|
|
224
|
-
}
|
|
225
|
-
function c(e) {
|
|
226
|
-
o && clearTimeout(o), o = vt(setTimeout(async () => {
|
|
227
|
-
o = void 0;
|
|
228
|
-
let e = await i.shift();
|
|
229
|
-
e && (t("Attempting to send previously queued event"), e[0].sent_at = new Date(C()).toISOString(), u(e, !0).catch((e) => {
|
|
230
|
-
t("Failed to retry sending", e);
|
|
231
|
-
}));
|
|
232
|
-
}, e));
|
|
233
|
-
}
|
|
234
|
-
function l() {
|
|
235
|
-
o || (c(a), a = Math.min(a * 2, bt));
|
|
236
|
-
}
|
|
237
|
-
async function u(e, o = !1) {
|
|
238
|
-
if (!o && rt(e, ["replay_event", "replay_recording"])) return await i.push(e), c(100), {};
|
|
239
|
-
try {
|
|
240
|
-
if (n.shouldSend && await n.shouldSend(e) === !1) throw Error("Envelope not sent because `shouldSend` callback returned false");
|
|
241
|
-
let t = await r.send(e), i = 100;
|
|
242
|
-
if (t) {
|
|
243
|
-
var u, d;
|
|
244
|
-
if ((u = t.headers) != null && u["retry-after"]) i = mt(t.headers["retry-after"]);
|
|
245
|
-
else if ((d = t.headers) != null && d["x-sentry-rate-limits"]) i = 6e4;
|
|
246
|
-
else if ((t.statusCode || 0) >= 400) return t;
|
|
247
|
-
}
|
|
248
|
-
return c(i), a = yt, t;
|
|
249
|
-
} catch (n) {
|
|
250
|
-
if (await s(e, n, a)) return o ? await i.unshift(e) : await i.push(e), l(), t("Error sending. Event queued.", n), {};
|
|
251
|
-
throw n;
|
|
252
|
-
}
|
|
253
|
-
}
|
|
254
|
-
return n.flushAtStartup && l(), {
|
|
255
|
-
send: u,
|
|
256
|
-
flush: (e) => (e === void 0 && (a = yt, c(100)), r.flush(e))
|
|
257
|
-
};
|
|
258
|
-
};
|
|
259
|
-
}
|
|
260
|
-
//#endregion
|
|
261
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/instrument/handlers.js
|
|
262
|
-
var L = {}, St = {};
|
|
263
|
-
function R(e, t) {
|
|
264
|
-
return L[e] = L[e] || [], L[e].push(t), () => {
|
|
265
|
-
let n = L[e];
|
|
266
|
-
if (n) {
|
|
267
|
-
let e = n.indexOf(t);
|
|
268
|
-
e !== -1 && n.splice(e, 1);
|
|
269
|
-
}
|
|
270
|
-
};
|
|
271
|
-
}
|
|
272
|
-
function z(e, t) {
|
|
273
|
-
if (!St[e]) {
|
|
274
|
-
St[e] = !0;
|
|
275
|
-
try {
|
|
276
|
-
t();
|
|
277
|
-
} catch (t) {
|
|
278
|
-
E && k.error(`Error while instrumenting ${e}`, t);
|
|
279
|
-
}
|
|
280
|
-
}
|
|
281
|
-
}
|
|
282
|
-
function B(e, t) {
|
|
283
|
-
let n = e && L[e];
|
|
284
|
-
if (n) for (let r of n) try {
|
|
285
|
-
r(t);
|
|
286
|
-
} catch (t) {
|
|
287
|
-
E && k.error(`Error while triggering instrumentation handler.
|
|
288
|
-
Type: ${e}
|
|
289
|
-
Name: ${y(r)}
|
|
290
|
-
Error:`, t);
|
|
291
|
-
}
|
|
292
|
-
}
|
|
293
|
-
//#endregion
|
|
294
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/utils/supports.js
|
|
295
|
-
var V = P;
|
|
296
|
-
function Ct() {
|
|
297
|
-
return "history" in V && !!V.history;
|
|
298
|
-
}
|
|
299
|
-
function wt() {
|
|
300
|
-
if (!("fetch" in V)) return !1;
|
|
301
|
-
try {
|
|
302
|
-
return new Headers(), new Request("data:,"), new Response(), !0;
|
|
303
|
-
} catch {
|
|
304
|
-
return !1;
|
|
305
|
-
}
|
|
306
|
-
}
|
|
307
|
-
function Tt(e) {
|
|
308
|
-
return e && /^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString());
|
|
309
|
-
}
|
|
310
|
-
function Et() {
|
|
311
|
-
if (typeof EdgeRuntime == "string") return !0;
|
|
312
|
-
if (!wt()) return !1;
|
|
313
|
-
if (Tt(V.fetch)) return !0;
|
|
314
|
-
let e = !1, t = V.document;
|
|
315
|
-
if (t && typeof t.createElement == "function") try {
|
|
316
|
-
var n;
|
|
317
|
-
let r = t.createElement("iframe");
|
|
318
|
-
r.hidden = !0, t.head.appendChild(r), (n = r.contentWindow) != null && n.fetch && (e = Tt(r.contentWindow.fetch)), t.head.removeChild(r);
|
|
319
|
-
} catch (e) {
|
|
320
|
-
E && k.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ", e);
|
|
321
|
-
}
|
|
322
|
-
return e;
|
|
323
|
-
}
|
|
324
|
-
//#endregion
|
|
325
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/utils/parseSampleRate.js
|
|
326
|
-
function Dt(e) {
|
|
327
|
-
if (typeof e == "boolean") return Number(e);
|
|
328
|
-
let t = typeof e == "string" ? parseFloat(e) : e;
|
|
329
|
-
if (!(typeof t != "number" || isNaN(t) || t < 0 || t > 1)) return t;
|
|
330
|
-
}
|
|
331
|
-
//#endregion
|
|
332
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/tracing/spans/beforeSendSpan.js
|
|
333
|
-
function Ot(e) {
|
|
334
|
-
return !!e && typeof e == "function" && "_streamed" in e && !!e._streamed;
|
|
335
|
-
}
|
|
336
|
-
//#endregion
|
|
337
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/tracing/spans/captureSpan.js
|
|
338
|
-
function kt(e, t) {
|
|
339
|
-
var n;
|
|
340
|
-
let r = (n = e.attributes) == null ? e.attributes = {} : n;
|
|
341
|
-
Object.entries(t).forEach(([e, t]) => {
|
|
342
|
-
t != null && !(e in r) && (r[e] = t);
|
|
343
|
-
});
|
|
344
|
-
}
|
|
345
|
-
//#endregion
|
|
346
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/utils/should-ignore-span.js
|
|
347
|
-
function At(e) {
|
|
348
|
-
k.log(`Ignoring span ${e.op} - ${e.description} because it matches \`ignoreSpans\`.`);
|
|
349
|
-
}
|
|
350
|
-
function jt(e, t) {
|
|
351
|
-
if (!(t != null && t.length)) return !1;
|
|
352
|
-
for (let n of t) {
|
|
353
|
-
if (Pt(n)) {
|
|
354
|
-
if (e.description && v(e.description, n)) return E && At(e), !0;
|
|
355
|
-
continue;
|
|
356
|
-
}
|
|
357
|
-
let t = !!n.attributes && Object.keys(n.attributes).length > 0;
|
|
358
|
-
if (!n.name && !n.op && !t) continue;
|
|
359
|
-
let r = n.name ? e.description && v(e.description, n.name) : !0, i = n.op ? e.op && v(e.op, n.op) : !0, a = n.attributes ? Object.entries(n.attributes).every(([t, n]) => {
|
|
360
|
-
var r;
|
|
361
|
-
return Mt((r = e.attributes) == null ? void 0 : r[t], n);
|
|
362
|
-
}) : !0;
|
|
363
|
-
if (r && i && a) return E && At(e), !0;
|
|
364
|
-
}
|
|
365
|
-
return !1;
|
|
366
|
-
}
|
|
367
|
-
function Mt(e, t) {
|
|
368
|
-
return typeof e == "string" && (typeof t == "string" || t instanceof RegExp) ? v(e, t) : Array.isArray(e) && Array.isArray(t) ? e.length === t.length && e.every((e, n) => e === t[n]) : e === t;
|
|
369
|
-
}
|
|
370
|
-
function Nt(e, t) {
|
|
371
|
-
let n = t.parent_span_id, r = t.span_id;
|
|
372
|
-
if (n) for (let t of e) t.parent_span_id === r && (t.parent_span_id = n);
|
|
373
|
-
}
|
|
374
|
-
function Pt(e) {
|
|
375
|
-
return typeof e == "string" || e instanceof RegExp;
|
|
376
|
-
}
|
|
377
|
-
//#endregion
|
|
378
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/tracing/spans/hasSpanStreamingEnabled.js
|
|
379
|
-
function Ft(e) {
|
|
380
|
-
return e.getOptions().traceLifecycle === "stream";
|
|
381
|
-
}
|
|
382
|
-
//#endregion
|
|
383
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/envelope.js
|
|
384
|
-
function It(e, t) {
|
|
304
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/envelope.js
|
|
305
|
+
function At(e, t) {
|
|
385
306
|
var n, r, i, a;
|
|
386
307
|
if (!t) return e;
|
|
387
308
|
let o = e.sdk || {};
|
|
@@ -397,38 +318,60 @@ function It(e, t) {
|
|
|
397
318
|
} : void 0
|
|
398
319
|
}, e;
|
|
399
320
|
}
|
|
400
|
-
function
|
|
401
|
-
let i =
|
|
402
|
-
return
|
|
403
|
-
sent_at: new Date(
|
|
321
|
+
function jt(e, t, n, r) {
|
|
322
|
+
let i = Ot(n);
|
|
323
|
+
return B({
|
|
324
|
+
sent_at: new Date(E()).toISOString(),
|
|
404
325
|
...i && { sdk: i },
|
|
405
|
-
...!!r && t && { dsn:
|
|
326
|
+
...!!r && t && { dsn: D(t) }
|
|
406
327
|
}, ["aggregates" in e ? [{ type: "sessions" }, e] : [{ type: "session" }, e.toJSON()]]);
|
|
407
328
|
}
|
|
408
|
-
function
|
|
409
|
-
let i =
|
|
410
|
-
|
|
411
|
-
let o =
|
|
412
|
-
return delete e.sdkProcessingMetadata,
|
|
329
|
+
function Mt(e, t, n, r) {
|
|
330
|
+
let i = Ot(n), a = e.type && e.type !== "replay_event" ? e.type : "event";
|
|
331
|
+
At(e, n == null ? void 0 : n.sdk);
|
|
332
|
+
let o = kt(e, i, r, t);
|
|
333
|
+
return delete e.sdkProcessingMetadata, B(o, [[{ type: a }, e]]);
|
|
334
|
+
}
|
|
335
|
+
//#endregion
|
|
336
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/tracing/spans/hasSpanStreamingEnabled.js
|
|
337
|
+
function Nt(e) {
|
|
338
|
+
return e.getOptions().traceLifecycle === "stream";
|
|
339
|
+
}
|
|
340
|
+
//#endregion
|
|
341
|
+
//#region ../../node_modules/.pnpm/@sentry+conventions@0.16.0/node_modules/@sentry/conventions/dist/attributes.mjs
|
|
342
|
+
var Pt = "url.full";
|
|
343
|
+
//#endregion
|
|
344
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/tracing/spans/captureSpan.js
|
|
345
|
+
function Ft(e, t) {
|
|
346
|
+
var n;
|
|
347
|
+
let r = (n = e.attributes) == null ? e.attributes = {} : n;
|
|
348
|
+
Object.entries(t).forEach(([e, t]) => {
|
|
349
|
+
t != null && !(e in r) && (r[e] = t);
|
|
350
|
+
});
|
|
351
|
+
}
|
|
352
|
+
//#endregion
|
|
353
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/utils/timer.js
|
|
354
|
+
function It(e) {
|
|
355
|
+
return typeof e == "object" && typeof e.unref == "function" && e.unref(), e;
|
|
413
356
|
}
|
|
414
|
-
function
|
|
357
|
+
function Lt(e) {
|
|
415
358
|
let t = e.protocol ? `${e.protocol}:` : "", n = e.port ? `:${e.port}` : "";
|
|
416
359
|
return `${t}//${e.host}${n}${e.path ? `/${e.path}` : ""}/api/`;
|
|
417
360
|
}
|
|
418
|
-
function
|
|
419
|
-
return `${
|
|
361
|
+
function Rt(e) {
|
|
362
|
+
return `${Lt(e)}${e.projectId}/envelope/`;
|
|
420
363
|
}
|
|
421
|
-
function
|
|
364
|
+
function zt(e, t) {
|
|
422
365
|
let n = { sentry_version: "7" };
|
|
423
366
|
return e.publicKey && (n.sentry_key = e.publicKey), t && (n.sentry_client = `${t.name}/${t.version}`), new URLSearchParams(n).toString();
|
|
424
367
|
}
|
|
425
|
-
function
|
|
426
|
-
return t || `${
|
|
368
|
+
function Bt(e, t, n) {
|
|
369
|
+
return t || `${Rt(e)}?${zt(e, n)}`;
|
|
427
370
|
}
|
|
428
|
-
function
|
|
429
|
-
let n =
|
|
371
|
+
function Vt(e, t) {
|
|
372
|
+
let n = We(e);
|
|
430
373
|
if (!n) return "";
|
|
431
|
-
let r = `${
|
|
374
|
+
let r = `${Lt(n)}embed/error-page/`, i = `dsn=${D(n)}`;
|
|
432
375
|
for (let e in t) if (e !== "dsn" && e !== "onClose") if (e === "user") {
|
|
433
376
|
let e = t.user;
|
|
434
377
|
if (!e) continue;
|
|
@@ -437,16 +380,16 @@ function Ut(e, t) {
|
|
|
437
380
|
return `${r}?${i}`;
|
|
438
381
|
}
|
|
439
382
|
//#endregion
|
|
440
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
441
|
-
var
|
|
442
|
-
function
|
|
383
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/integration.js
|
|
384
|
+
var Ht = [];
|
|
385
|
+
function Ut(e) {
|
|
443
386
|
let t = {};
|
|
444
387
|
return e.forEach((e) => {
|
|
445
388
|
let { name: n } = e, r = t[n];
|
|
446
389
|
r && !r.isDefaultInstance && e.isDefaultInstance || (t[n] = e);
|
|
447
390
|
}), Object.values(t);
|
|
448
391
|
}
|
|
449
|
-
function
|
|
392
|
+
function Wt(e) {
|
|
450
393
|
let t = e.defaultIntegrations || [], n = e.integrations;
|
|
451
394
|
t.forEach((e) => {
|
|
452
395
|
e.isDefaultInstance = !0;
|
|
@@ -457,25 +400,25 @@ function Kt(e) {
|
|
|
457
400
|
let e = n(t);
|
|
458
401
|
r = Array.isArray(e) ? e : [e];
|
|
459
402
|
} else r = t;
|
|
460
|
-
return
|
|
403
|
+
return Ut(r);
|
|
461
404
|
}
|
|
462
|
-
function
|
|
405
|
+
function Gt(e, t) {
|
|
463
406
|
let n = {};
|
|
464
407
|
return t.forEach((t) => {
|
|
465
408
|
t != null && t.beforeSetup && t.beforeSetup(e);
|
|
466
409
|
}), t.forEach((t) => {
|
|
467
|
-
t &&
|
|
410
|
+
t && qt(e, t, n);
|
|
468
411
|
}), n;
|
|
469
412
|
}
|
|
470
|
-
function
|
|
413
|
+
function Kt(e, t) {
|
|
471
414
|
for (let n of t) n != null && n.afterAllSetup && n.afterAllSetup(e);
|
|
472
415
|
}
|
|
473
|
-
function
|
|
416
|
+
function qt(e, t, n) {
|
|
474
417
|
if (n[t.name]) {
|
|
475
|
-
|
|
418
|
+
P && A.log(`Integration skipped because it was already installed: ${t.name}`);
|
|
476
419
|
return;
|
|
477
420
|
}
|
|
478
|
-
if (n[t.name] = t, !
|
|
421
|
+
if (n[t.name] = t, !Ht.includes(t.name) && typeof t.setupOnce == "function" && (t.setupOnce(), Ht.push(t.name)), t.setup && typeof t.setup == "function" && t.setup(e), typeof t.preprocessEvent == "function") {
|
|
479
422
|
let n = t.preprocessEvent.bind(t);
|
|
480
423
|
e.on("preprocessEvent", (t, r) => n(t, r, e));
|
|
481
424
|
}
|
|
@@ -486,36 +429,36 @@ function Yt(e, t, n) {
|
|
|
486
429
|
["processSpan", "processSegmentSpan"].forEach((n) => {
|
|
487
430
|
let r = t[n];
|
|
488
431
|
typeof r == "function" && e.on(n, (n) => r.call(t, n, e));
|
|
489
|
-
}),
|
|
432
|
+
}), P && A.log(`Integration installed: ${t.name}`);
|
|
490
433
|
}
|
|
491
|
-
function
|
|
434
|
+
function V(e) {
|
|
492
435
|
return e;
|
|
493
436
|
}
|
|
494
437
|
//#endregion
|
|
495
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
496
|
-
function
|
|
438
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/utils/env.js
|
|
439
|
+
function Jt() {
|
|
497
440
|
return typeof __SENTRY_BROWSER_BUNDLE__ < "u" && !!__SENTRY_BROWSER_BUNDLE__;
|
|
498
441
|
}
|
|
499
|
-
function
|
|
442
|
+
function Yt() {
|
|
500
443
|
return "npm";
|
|
501
444
|
}
|
|
502
445
|
//#endregion
|
|
503
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
504
|
-
function
|
|
505
|
-
return !
|
|
446
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/utils/node.js
|
|
447
|
+
function Xt() {
|
|
448
|
+
return !Jt() && Object.prototype.toString.call(typeof process < "u" ? process : 0) === "[object process]";
|
|
506
449
|
}
|
|
507
450
|
//#endregion
|
|
508
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
509
|
-
function
|
|
510
|
-
return typeof window < "u" && (!
|
|
451
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/utils/isBrowser.js
|
|
452
|
+
function Zt() {
|
|
453
|
+
return typeof window < "u" && (!Xt() || Qt());
|
|
511
454
|
}
|
|
512
|
-
function
|
|
513
|
-
let e =
|
|
455
|
+
function Qt() {
|
|
456
|
+
let e = O.process;
|
|
514
457
|
return (e == null ? void 0 : e.type) === "renderer";
|
|
515
458
|
}
|
|
516
459
|
//#endregion
|
|
517
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
518
|
-
function
|
|
460
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/logs/envelope.js
|
|
461
|
+
function $t(e, t) {
|
|
519
462
|
let n = t ? "auto" : "never";
|
|
520
463
|
return [{
|
|
521
464
|
type: "log",
|
|
@@ -523,38 +466,38 @@ function tn(e, t) {
|
|
|
523
466
|
content_type: "application/vnd.sentry.items.log+json"
|
|
524
467
|
}, {
|
|
525
468
|
version: 2,
|
|
526
|
-
|
|
469
|
+
...Zt() && { ingest_settings: {
|
|
527
470
|
infer_ip: n,
|
|
528
471
|
infer_user_agent: n
|
|
529
472
|
} },
|
|
530
473
|
items: e
|
|
531
474
|
}];
|
|
532
475
|
}
|
|
533
|
-
function
|
|
476
|
+
function en(e, t, n, r, i) {
|
|
534
477
|
let a = {};
|
|
535
478
|
return t != null && t.sdk && (a.sdk = {
|
|
536
479
|
name: t.sdk.name,
|
|
537
480
|
version: t.sdk.version
|
|
538
|
-
}), n && r && (a.dsn =
|
|
481
|
+
}), n && r && (a.dsn = D(r)), B(a, [$t(e, i)]);
|
|
539
482
|
}
|
|
540
483
|
//#endregion
|
|
541
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
542
|
-
function
|
|
484
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/logs/internal.js
|
|
485
|
+
function tn(e, t) {
|
|
543
486
|
var n;
|
|
544
|
-
let r = (n = t == null ?
|
|
487
|
+
let r = (n = t == null ? nn(e) : t) == null ? [] : n;
|
|
545
488
|
if (r.length === 0) return;
|
|
546
|
-
let i = e.getOptions(), a =
|
|
547
|
-
|
|
489
|
+
let i = e.getOptions(), a = en(r, i._metadata, i.tunnel, e.getDsn(), e.getDataCollectionOptions().userInfo);
|
|
490
|
+
rn().set(e, []), e.emit("flushLogs"), e.sendEnvelope(a);
|
|
548
491
|
}
|
|
549
|
-
function
|
|
550
|
-
return
|
|
492
|
+
function nn(e) {
|
|
493
|
+
return rn().get(e);
|
|
551
494
|
}
|
|
552
|
-
function
|
|
553
|
-
return
|
|
495
|
+
function rn() {
|
|
496
|
+
return fe("clientToLogBufferMap", () => /* @__PURE__ */ new WeakMap());
|
|
554
497
|
}
|
|
555
498
|
//#endregion
|
|
556
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
557
|
-
function
|
|
499
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/metrics/envelope.js
|
|
500
|
+
function an(e, t) {
|
|
558
501
|
let n = t ? "auto" : "never";
|
|
559
502
|
return [{
|
|
560
503
|
type: "trace_metric",
|
|
@@ -562,39 +505,39 @@ function sn(e, t) {
|
|
|
562
505
|
content_type: "application/vnd.sentry.items.trace-metric+json"
|
|
563
506
|
}, {
|
|
564
507
|
version: 2,
|
|
565
|
-
|
|
508
|
+
...Zt() && { ingest_settings: {
|
|
566
509
|
infer_ip: n,
|
|
567
510
|
infer_user_agent: n
|
|
568
511
|
} },
|
|
569
512
|
items: e
|
|
570
513
|
}];
|
|
571
514
|
}
|
|
572
|
-
function
|
|
515
|
+
function on(e, t, n, r, i) {
|
|
573
516
|
let a = {};
|
|
574
517
|
return t != null && t.sdk && (a.sdk = {
|
|
575
518
|
name: t.sdk.name,
|
|
576
519
|
version: t.sdk.version
|
|
577
|
-
}), n && r && (a.dsn =
|
|
520
|
+
}), n && r && (a.dsn = D(r)), B(a, [an(e, i)]);
|
|
578
521
|
}
|
|
579
522
|
//#endregion
|
|
580
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
581
|
-
function
|
|
523
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/metrics/internal.js
|
|
524
|
+
function sn(e, t) {
|
|
582
525
|
var n;
|
|
583
|
-
let r = (n = t == null ?
|
|
526
|
+
let r = (n = t == null ? cn(e) : t) == null ? [] : n;
|
|
584
527
|
if (r.length === 0) return;
|
|
585
|
-
let i = e.getOptions(), a =
|
|
586
|
-
|
|
528
|
+
let i = e.getOptions(), a = on(r, i._metadata, i.tunnel, e.getDsn(), e.getDataCollectionOptions().userInfo);
|
|
529
|
+
ln().set(e, []), e.emit("flushMetrics"), e.sendEnvelope(a);
|
|
587
530
|
}
|
|
588
|
-
function
|
|
589
|
-
return
|
|
531
|
+
function cn(e) {
|
|
532
|
+
return ln().get(e);
|
|
590
533
|
}
|
|
591
|
-
function
|
|
592
|
-
return
|
|
534
|
+
function ln() {
|
|
535
|
+
return fe("clientToMetricBufferMap", () => /* @__PURE__ */ new WeakMap());
|
|
593
536
|
}
|
|
594
537
|
//#endregion
|
|
595
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
596
|
-
function
|
|
597
|
-
return
|
|
538
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/tracing/spans/spanJsonToStreamedSpan.js
|
|
539
|
+
function un(e) {
|
|
540
|
+
return Se({
|
|
598
541
|
trace_id: e.trace_id,
|
|
599
542
|
span_id: e.span_id,
|
|
600
543
|
parent_span_id: e.parent_span_id,
|
|
@@ -608,14 +551,14 @@ function fn(e) {
|
|
|
608
551
|
});
|
|
609
552
|
}
|
|
610
553
|
//#endregion
|
|
611
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
612
|
-
function
|
|
554
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/tracing/spans/extractGenAiSpans.js
|
|
555
|
+
function dn(e, t) {
|
|
613
556
|
var n, r;
|
|
614
|
-
if (e.type !== "transaction" || !((n = e.spans) != null && n.length) || !((r = e.sdkProcessingMetadata) != null && r.hasGenAiSpans) || t.getOptions().streamGenAiSpans === !1 ||
|
|
557
|
+
if (e.type !== "transaction" || !((n = e.spans) != null && n.length) || !((r = e.sdkProcessingMetadata) != null && r.hasGenAiSpans) || t.getOptions().streamGenAiSpans === !1 || Nt(t)) return;
|
|
615
558
|
let i = [], a = [];
|
|
616
559
|
for (let t of e.spans) {
|
|
617
560
|
var o;
|
|
618
|
-
(o = t.op) != null && o.startsWith("gen_ai.") ? i.push(
|
|
561
|
+
(o = t.op) != null && o.startsWith("gen_ai.") ? i.push(un(t)) : a.push(t);
|
|
619
562
|
}
|
|
620
563
|
if (i.length === 0) return;
|
|
621
564
|
e.spans = a;
|
|
@@ -626,7 +569,7 @@ function pn(e, t) {
|
|
|
626
569
|
content_type: "application/vnd.sentry.items.span.v2+json"
|
|
627
570
|
}, {
|
|
628
571
|
version: 2,
|
|
629
|
-
|
|
572
|
+
...Zt() && { ingest_settings: {
|
|
630
573
|
infer_ip: s,
|
|
631
574
|
infer_user_agent: s
|
|
632
575
|
} },
|
|
@@ -634,9 +577,9 @@ function pn(e, t) {
|
|
|
634
577
|
}];
|
|
635
578
|
}
|
|
636
579
|
//#endregion
|
|
637
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
638
|
-
var
|
|
639
|
-
function
|
|
580
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/utils/promisebuffer.js
|
|
581
|
+
var fn = /* @__PURE__ */ Symbol.for("SentryBufferFullError");
|
|
582
|
+
function pn(e = 100) {
|
|
640
583
|
let t = /* @__PURE__ */ new Set();
|
|
641
584
|
function n() {
|
|
642
585
|
return t.size < e;
|
|
@@ -645,15 +588,15 @@ function hn(e = 100) {
|
|
|
645
588
|
t.delete(e);
|
|
646
589
|
}
|
|
647
590
|
function i(e) {
|
|
648
|
-
if (!n()) return
|
|
591
|
+
if (!n()) return He(fn);
|
|
649
592
|
let i = e();
|
|
650
593
|
return t.add(i), i.then(() => r(i), () => r(i)), i;
|
|
651
594
|
}
|
|
652
595
|
function a(e) {
|
|
653
|
-
if (!t.size) return
|
|
596
|
+
if (!t.size) return ve(!0);
|
|
654
597
|
let n = Promise.allSettled(Array.from(t)).then(() => !0);
|
|
655
598
|
if (!e) return n;
|
|
656
|
-
let r = [n, new Promise((t) =>
|
|
599
|
+
let r = [n, new Promise((t) => It(setTimeout(() => t(!1), e)))];
|
|
657
600
|
return Promise.race(r);
|
|
658
601
|
}
|
|
659
602
|
return {
|
|
@@ -664,27 +607,52 @@ function hn(e = 100) {
|
|
|
664
607
|
drain: a
|
|
665
608
|
};
|
|
666
609
|
}
|
|
667
|
-
|
|
610
|
+
//#endregion
|
|
611
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/utils/ratelimit.js
|
|
612
|
+
var mn = 60 * 1e3;
|
|
613
|
+
function hn(e, t = E()) {
|
|
614
|
+
let n = parseInt(`${e}`, 10);
|
|
615
|
+
if (!isNaN(n)) return n * 1e3;
|
|
616
|
+
let r = Date.parse(`${e}`);
|
|
617
|
+
return isNaN(r) ? mn : r - t;
|
|
618
|
+
}
|
|
619
|
+
function gn(e, t) {
|
|
620
|
+
return e[t] || e.all || 0;
|
|
621
|
+
}
|
|
622
|
+
function _n(e, t, n = E()) {
|
|
623
|
+
return gn(e, t) > n;
|
|
624
|
+
}
|
|
625
|
+
function vn(e, { statusCode: t, headers: n }, r = E()) {
|
|
626
|
+
let i = { ...e }, a = n == null ? void 0 : n["x-sentry-rate-limits"], o = n == null ? void 0 : n["retry-after"];
|
|
627
|
+
if (a) for (let e of a.trim().split(",")) {
|
|
628
|
+
let [t, n, , , a] = e.split(":", 5), o = parseInt(t, 10), s = (isNaN(o) ? 60 : o) * 1e3;
|
|
629
|
+
if (!n) i.all = r + s;
|
|
630
|
+
else for (let e of n.split(";")) e === "metric_bucket" ? (!a || a.split(";").includes("custom")) && (i[e] = r + s) : i[e] = r + s;
|
|
631
|
+
}
|
|
632
|
+
else o ? i.all = r + hn(o, r) : t === 429 && (i.all = r + 60 * 1e3);
|
|
633
|
+
return i;
|
|
634
|
+
}
|
|
635
|
+
function yn(e, t, n = pn(e.bufferSize || 64)) {
|
|
668
636
|
let r = {}, i = (e) => n.drain(e);
|
|
669
637
|
function a(i) {
|
|
670
638
|
let a = [];
|
|
671
|
-
if (
|
|
672
|
-
let i =
|
|
673
|
-
|
|
639
|
+
if (yt(i, (t, n) => {
|
|
640
|
+
let i = Dt(n);
|
|
641
|
+
_n(r, i) ? e.recordDroppedEvent("ratelimit_backoff", i) : a.push(t);
|
|
674
642
|
}), a.length === 0) return Promise.resolve({});
|
|
675
|
-
let o =
|
|
676
|
-
if (
|
|
677
|
-
|
|
643
|
+
let o = B(i[0], a), s = (t) => {
|
|
644
|
+
if (bt(o, ["client_report"])) {
|
|
645
|
+
P && A.warn(`Dropping client report. Will not send outcomes (reason: ${t}).`);
|
|
678
646
|
return;
|
|
679
647
|
}
|
|
680
|
-
|
|
681
|
-
e.recordDroppedEvent(t,
|
|
648
|
+
yt(o, (n, r) => {
|
|
649
|
+
e.recordDroppedEvent(t, Dt(r));
|
|
682
650
|
});
|
|
683
651
|
};
|
|
684
|
-
return n.add(() => t({ body:
|
|
685
|
-
throw s("network_error"),
|
|
652
|
+
return n.add(() => t({ body: St(o) }).then((e) => e.statusCode === 413 ? (P && A.error("Sentry responded with status code 413. Envelope was discarded due to exceeding size limits."), s("send_error"), e) : (P && e.statusCode !== void 0 && (e.statusCode < 200 || e.statusCode >= 300) && A.warn(`Sentry responded with status code ${e.statusCode} to sent event.`), r = vn(r, e), e), (e) => {
|
|
653
|
+
throw s("network_error"), P && A.error("Encountered error running transport request:", e), e;
|
|
686
654
|
})).then((e) => e, (e) => {
|
|
687
|
-
if (e ===
|
|
655
|
+
if (e === fn) return P && A.error("Skipped sending event because buffer is full."), s("queue_overflow"), Promise.resolve({});
|
|
688
656
|
throw e;
|
|
689
657
|
});
|
|
690
658
|
}
|
|
@@ -694,17 +662,17 @@ function gn(e, t, n = hn(e.bufferSize || 64)) {
|
|
|
694
662
|
};
|
|
695
663
|
}
|
|
696
664
|
//#endregion
|
|
697
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
698
|
-
function
|
|
665
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/utils/clientreport.js
|
|
666
|
+
function bn(e, t, n) {
|
|
699
667
|
let r = [{ type: "client_report" }, {
|
|
700
|
-
timestamp: n ||
|
|
668
|
+
timestamp: n || p(),
|
|
701
669
|
discarded_events: e
|
|
702
670
|
}];
|
|
703
|
-
return
|
|
671
|
+
return B(t ? { dsn: t } : {}, [r]);
|
|
704
672
|
}
|
|
705
673
|
//#endregion
|
|
706
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
707
|
-
function
|
|
674
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/utils/eventUtils.js
|
|
675
|
+
function xn(e) {
|
|
708
676
|
let t = [];
|
|
709
677
|
e.message && t.push(e.message);
|
|
710
678
|
try {
|
|
@@ -714,8 +682,8 @@ function vn(e) {
|
|
|
714
682
|
return t;
|
|
715
683
|
}
|
|
716
684
|
//#endregion
|
|
717
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
718
|
-
function
|
|
685
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/utils/transactionEvent.js
|
|
686
|
+
function Sn(e) {
|
|
719
687
|
var t, n, r;
|
|
720
688
|
let { trace_id: i, parent_span_id: a, span_id: o, status: s, origin: c, data: l, op: u } = (t = (n = e.contexts) == null ? void 0 : n.trace) == null ? {} : t;
|
|
721
689
|
return {
|
|
@@ -729,13 +697,13 @@ function yn(e) {
|
|
|
729
697
|
timestamp: e.timestamp,
|
|
730
698
|
trace_id: i == null ? "" : i,
|
|
731
699
|
origin: c,
|
|
732
|
-
profile_id: l == null ? void 0 : l[
|
|
733
|
-
exclusive_time: l == null ? void 0 : l[
|
|
700
|
+
profile_id: l == null ? void 0 : l[qe],
|
|
701
|
+
exclusive_time: l == null ? void 0 : l[he],
|
|
734
702
|
measurements: e.measurements,
|
|
735
703
|
is_segment: !0
|
|
736
704
|
};
|
|
737
705
|
}
|
|
738
|
-
function
|
|
706
|
+
function Cn(e) {
|
|
739
707
|
return {
|
|
740
708
|
type: "transaction",
|
|
741
709
|
timestamp: e.timestamp,
|
|
@@ -758,8 +726,8 @@ function bn(e) {
|
|
|
758
726
|
};
|
|
759
727
|
}
|
|
760
728
|
//#endregion
|
|
761
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
762
|
-
var
|
|
729
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/utils/data-collection/filtering-snippets.js
|
|
730
|
+
var wn = [
|
|
763
731
|
"forwarded",
|
|
764
732
|
"-ip",
|
|
765
733
|
"remote-",
|
|
@@ -767,8 +735,8 @@ var U = [
|
|
|
767
735
|
"-user"
|
|
768
736
|
];
|
|
769
737
|
//#endregion
|
|
770
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
771
|
-
function
|
|
738
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/utils/data-collection/defaultPiiToCollectionOptions.js
|
|
739
|
+
function Tn(e) {
|
|
772
740
|
return e === !0 ? {
|
|
773
741
|
userInfo: !0,
|
|
774
742
|
cookies: !0,
|
|
@@ -782,33 +750,43 @@ function xn(e) {
|
|
|
782
750
|
"incomingResponse",
|
|
783
751
|
"outgoingResponse"
|
|
784
752
|
],
|
|
785
|
-
|
|
753
|
+
urlQueryParams: !0,
|
|
754
|
+
graphQL: {
|
|
755
|
+
document: !0,
|
|
756
|
+
variables: !0
|
|
757
|
+
},
|
|
786
758
|
genAI: {
|
|
787
759
|
inputs: !0,
|
|
788
760
|
outputs: !0
|
|
789
761
|
},
|
|
762
|
+
databaseQueryData: !0,
|
|
790
763
|
stackFrameVariables: !0,
|
|
791
764
|
frameContextLines: 7
|
|
792
765
|
} : {
|
|
793
766
|
userInfo: !1,
|
|
794
|
-
cookies: { deny:
|
|
767
|
+
cookies: { deny: wn },
|
|
795
768
|
httpHeaders: {
|
|
796
|
-
request: { deny:
|
|
797
|
-
response: { deny:
|
|
769
|
+
request: { deny: wn },
|
|
770
|
+
response: { deny: wn }
|
|
798
771
|
},
|
|
799
772
|
httpBodies: [],
|
|
800
|
-
|
|
773
|
+
urlQueryParams: { deny: wn },
|
|
774
|
+
graphQL: {
|
|
775
|
+
document: !0,
|
|
776
|
+
variables: !0
|
|
777
|
+
},
|
|
801
778
|
genAI: {
|
|
802
779
|
inputs: !1,
|
|
803
780
|
outputs: !1
|
|
804
781
|
},
|
|
782
|
+
databaseQueryData: !1,
|
|
805
783
|
stackFrameVariables: !0,
|
|
806
784
|
frameContextLines: 7
|
|
807
785
|
};
|
|
808
786
|
}
|
|
809
787
|
//#endregion
|
|
810
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
811
|
-
var
|
|
788
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/utils/data-collection/resolveDataCollectionOptions.js
|
|
789
|
+
var En = {
|
|
812
790
|
userInfo: !0,
|
|
813
791
|
cookies: !0,
|
|
814
792
|
httpHeaders: {
|
|
@@ -821,56 +799,66 @@ var Sn = {
|
|
|
821
799
|
"incomingResponse",
|
|
822
800
|
"outgoingResponse"
|
|
823
801
|
],
|
|
824
|
-
|
|
802
|
+
urlQueryParams: !0,
|
|
803
|
+
graphQL: {
|
|
804
|
+
document: !0,
|
|
805
|
+
variables: !0
|
|
806
|
+
},
|
|
825
807
|
genAI: {
|
|
826
808
|
inputs: !0,
|
|
827
809
|
outputs: !0
|
|
828
810
|
},
|
|
811
|
+
databaseQueryData: !0,
|
|
829
812
|
stackFrameVariables: !0,
|
|
830
813
|
frameContextLines: 5
|
|
831
814
|
};
|
|
832
|
-
function
|
|
833
|
-
var t, n, r, i, a, o, s, c, l, u, d, f, p, m, h;
|
|
834
|
-
let
|
|
815
|
+
function Dn(e) {
|
|
816
|
+
var t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _, v, y, b, x;
|
|
817
|
+
let S = e.dataCollection == null ? Tn(e.sendDefaultPii) : En, C = (t = e.dataCollection) == null ? {} : t;
|
|
835
818
|
return {
|
|
836
|
-
userInfo: (n =
|
|
837
|
-
cookies: (r =
|
|
819
|
+
userInfo: (n = C.userInfo) == null ? S.userInfo : n,
|
|
820
|
+
cookies: (r = C.cookies) == null ? S.cookies : r,
|
|
838
821
|
httpHeaders: {
|
|
839
|
-
request: (i = (a =
|
|
840
|
-
response: (o = (s =
|
|
822
|
+
request: (i = (a = C.httpHeaders) == null ? void 0 : a.request) == null ? S.httpHeaders.request : i,
|
|
823
|
+
response: (o = (s = C.httpHeaders) == null ? void 0 : s.response) == null ? S.httpHeaders.response : o
|
|
824
|
+
},
|
|
825
|
+
httpBodies: (c = C.httpBodies) == null ? S.httpBodies : c,
|
|
826
|
+
urlQueryParams: (l = (u = C.urlQueryParams) == null ? C.queryParams : u) == null ? S.urlQueryParams : l,
|
|
827
|
+
graphQL: {
|
|
828
|
+
document: (d = (f = C.graphQL) == null ? void 0 : f.document) == null ? S.graphQL.document : d,
|
|
829
|
+
variables: (p = (m = C.graphQL) == null ? void 0 : m.variables) == null ? S.graphQL.variables : p
|
|
841
830
|
},
|
|
842
|
-
httpBodies: (c = _.httpBodies) == null ? g.httpBodies : c,
|
|
843
|
-
queryParams: (l = _.queryParams) == null ? g.queryParams : l,
|
|
844
831
|
genAI: {
|
|
845
|
-
inputs: (
|
|
846
|
-
outputs: (
|
|
832
|
+
inputs: (h = (g = C.genAI) == null ? void 0 : g.inputs) == null ? S.genAI.inputs : h,
|
|
833
|
+
outputs: (_ = (v = C.genAI) == null ? void 0 : v.outputs) == null ? S.genAI.outputs : _
|
|
847
834
|
},
|
|
848
|
-
|
|
849
|
-
|
|
835
|
+
databaseQueryData: (y = C.databaseQueryData) == null ? S.databaseQueryData : y,
|
|
836
|
+
stackFrameVariables: (b = C.stackFrameVariables) == null ? S.stackFrameVariables : b,
|
|
837
|
+
frameContextLines: (x = C.frameContextLines) == null ? S.frameContextLines : x
|
|
850
838
|
};
|
|
851
839
|
}
|
|
852
840
|
//#endregion
|
|
853
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
854
|
-
var
|
|
855
|
-
function
|
|
841
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/client.js
|
|
842
|
+
var On = "Not capturing exception because it's already been captured.", kn = "Discarded session because of missing or non-string release", An = /* @__PURE__ */ Symbol.for("SentryInternalError"), jn = /* @__PURE__ */ Symbol.for("SentryDoNotSendEventError"), Mn = 5e3;
|
|
843
|
+
function Nn(e) {
|
|
856
844
|
return {
|
|
857
845
|
message: e,
|
|
858
|
-
[
|
|
846
|
+
[An]: !0
|
|
859
847
|
};
|
|
860
848
|
}
|
|
861
|
-
function
|
|
849
|
+
function Pn(e) {
|
|
862
850
|
return {
|
|
863
851
|
message: e,
|
|
864
|
-
[
|
|
852
|
+
[jn]: !0
|
|
865
853
|
};
|
|
866
854
|
}
|
|
867
|
-
function
|
|
868
|
-
return
|
|
855
|
+
function Fn(e) {
|
|
856
|
+
return Me(e) && An in e;
|
|
869
857
|
}
|
|
870
|
-
function
|
|
871
|
-
return
|
|
858
|
+
function In(e) {
|
|
859
|
+
return Me(e) && jn in e;
|
|
872
860
|
}
|
|
873
|
-
function
|
|
861
|
+
function Ln(e, t, n, r, i) {
|
|
874
862
|
let a = 0, o, s = !1;
|
|
875
863
|
e.on(n, () => {
|
|
876
864
|
a = 0, clearTimeout(o), s = !1;
|
|
@@ -878,8 +866,8 @@ function Nn(e, t, n, r, i) {
|
|
|
878
866
|
if (a += r(t), a >= 8e5) i(e);
|
|
879
867
|
else if (!s) {
|
|
880
868
|
var n;
|
|
881
|
-
let t = (n = e.getOptions()._flushInterval) == null ?
|
|
882
|
-
t > 0 && (s = !0, o =
|
|
869
|
+
let t = (n = e.getOptions()._flushInterval) == null ? Mn : n;
|
|
870
|
+
t > 0 && (s = !0, o = It(setTimeout(() => {
|
|
883
871
|
i(e);
|
|
884
872
|
}, t)));
|
|
885
873
|
}
|
|
@@ -887,11 +875,11 @@ function Nn(e, t, n, r, i) {
|
|
|
887
875
|
i(e);
|
|
888
876
|
});
|
|
889
877
|
}
|
|
890
|
-
var
|
|
878
|
+
var Rn = class {
|
|
891
879
|
constructor(e) {
|
|
892
880
|
var t, n, r, i, a, o, s;
|
|
893
|
-
if (this._options = e, this._integrations = {}, this._numProcessing = 0, this._outcomes = {}, this._hooks = {}, this._eventProcessors = [], this._promiseBuffer =
|
|
894
|
-
let t =
|
|
881
|
+
if (this._options = e, this._integrations = {}, this._numProcessing = 0, this._outcomes = {}, this._hooks = {}, this._eventProcessors = [], this._promiseBuffer = pn((t = (n = e.transportOptions) == null ? void 0 : n.bufferSize) == null ? 64 : t), this._dataCollection = Dn(e), e.dsn ? this._dsn = We(e.dsn) : P && A.warn("No DSN provided, client will not send events."), this._dsn) {
|
|
882
|
+
let t = Bt(this._dsn, e.tunnel, e._metadata ? e._metadata.sdk : void 0);
|
|
895
883
|
this._transport = e.transport({
|
|
896
884
|
tunnel: this._options.tunnel,
|
|
897
885
|
recordDroppedEvent: this.recordDroppedEvent.bind(this),
|
|
@@ -899,11 +887,11 @@ var Pn = class {
|
|
|
899
887
|
url: t
|
|
900
888
|
});
|
|
901
889
|
}
|
|
902
|
-
this._options.enableLogs = (r = this._options.enableLogs) == null ? (i = this._options._experiments) == null ? void 0 : i.enableLogs : r, this._options.enableLogs &&
|
|
890
|
+
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, tn), ((a = (o = this._options.enableMetrics) == null ? (s = this._options._experiments) == null ? void 0 : s.enableMetrics : o) == null || a) && Ln(this, "afterCaptureMetric", "flushMetrics", Wn, sn);
|
|
903
891
|
}
|
|
904
892
|
captureException(e, t, n) {
|
|
905
|
-
let r =
|
|
906
|
-
if (
|
|
893
|
+
let r = x();
|
|
894
|
+
if (re(e)) return P && A.log(On), r;
|
|
907
895
|
let i = {
|
|
908
896
|
event_id: r,
|
|
909
897
|
...t
|
|
@@ -912,22 +900,22 @@ var Pn = class {
|
|
|
912
900
|
}
|
|
913
901
|
captureMessage(e, t, n, r) {
|
|
914
902
|
let i = {
|
|
915
|
-
event_id:
|
|
903
|
+
event_id: x(),
|
|
916
904
|
...n
|
|
917
|
-
}, a =
|
|
905
|
+
}, a = Re(e) ? e : String(e), o = me(e), s = o ? this.eventFromMessage(a, t, i) : this.eventFromException(e, i);
|
|
918
906
|
return this._process(() => s.then((e) => this._captureEvent(e, i, r)), o ? "unknown" : "error"), i.event_id;
|
|
919
907
|
}
|
|
920
908
|
captureEvent(e, t, n) {
|
|
921
|
-
let r =
|
|
922
|
-
if (t != null && t.originalException &&
|
|
909
|
+
let r = x();
|
|
910
|
+
if (t != null && t.originalException && re(t.originalException)) return P && A.log(On), r;
|
|
923
911
|
let i = {
|
|
924
912
|
event_id: r,
|
|
925
913
|
...t
|
|
926
|
-
}, a = e.sdkProcessingMetadata || {}, o = a.capturedSpanScope, s = a.capturedSpanIsolationScope, c =
|
|
914
|
+
}, a = e.sdkProcessingMetadata || {}, o = a.capturedSpanScope, s = a.capturedSpanIsolationScope, c = zn(e.type);
|
|
927
915
|
return this._process(() => this._captureEvent(e, i, o || n, s), c), i.event_id;
|
|
928
916
|
}
|
|
929
917
|
captureSession(e) {
|
|
930
|
-
this.sendSession(e),
|
|
918
|
+
this.sendSession(e), Ee(e, { init: !1 });
|
|
931
919
|
}
|
|
932
920
|
getDsn() {
|
|
933
921
|
return this._dsn;
|
|
@@ -951,7 +939,6 @@ var Pn = class {
|
|
|
951
939
|
return n && r;
|
|
952
940
|
}
|
|
953
941
|
async close(e) {
|
|
954
|
-
rn(this);
|
|
955
942
|
let t = await this.flush(e);
|
|
956
943
|
return this.getOptions().enabled = !1, this.emit("close"), t;
|
|
957
944
|
}
|
|
@@ -972,38 +959,38 @@ var Pn = class {
|
|
|
972
959
|
}
|
|
973
960
|
addIntegration(e) {
|
|
974
961
|
let t = this._integrations[e.name];
|
|
975
|
-
!t && e.beforeSetup && e.beforeSetup(this),
|
|
962
|
+
!t && e.beforeSetup && e.beforeSetup(this), qt(this, e, this._integrations), t || Kt(this, [e]);
|
|
976
963
|
}
|
|
977
964
|
sendEvent(e, t = {}) {
|
|
978
965
|
this.emit("beforeSendEvent", e, t);
|
|
979
|
-
let n =
|
|
980
|
-
for (let e of t.attachments || []) r =
|
|
981
|
-
n && (r =
|
|
966
|
+
let n = dn(e, this), r = Mt(e, this._dsn, this._options._metadata, this._options.tunnel);
|
|
967
|
+
for (let e of t.attachments || []) r = vt(r, wt(e));
|
|
968
|
+
n && (r = vt(r, n)), this.sendEnvelope(r).then((t) => this.emit("afterSendEvent", e, t));
|
|
982
969
|
}
|
|
983
970
|
sendSession(e) {
|
|
984
|
-
let { release: t, environment: n =
|
|
971
|
+
let { release: t, environment: n = Fe } = this._options;
|
|
985
972
|
if ("aggregates" in e) {
|
|
986
973
|
let r = e.attrs || {};
|
|
987
974
|
if (!r.release && !t) {
|
|
988
|
-
|
|
975
|
+
P && A.warn(kn);
|
|
989
976
|
return;
|
|
990
977
|
}
|
|
991
978
|
r.release = r.release || t, r.environment = r.environment || n, e.attrs = r;
|
|
992
979
|
} else {
|
|
993
980
|
if (!e.release && !t) {
|
|
994
|
-
|
|
981
|
+
P && A.warn(kn);
|
|
995
982
|
return;
|
|
996
983
|
}
|
|
997
984
|
e.release = e.release || t, e.environment = e.environment || n;
|
|
998
985
|
}
|
|
999
986
|
this.emit("beforeSendSession", e);
|
|
1000
|
-
let r =
|
|
987
|
+
let r = jt(e, this._dsn, this._options._metadata, this._options.tunnel);
|
|
1001
988
|
this.sendEnvelope(r);
|
|
1002
989
|
}
|
|
1003
990
|
recordDroppedEvent(e, t, n = 1) {
|
|
1004
991
|
if (this._options.sendClientReports) {
|
|
1005
992
|
let r = `${e}:${t}`;
|
|
1006
|
-
|
|
993
|
+
P && A.log(`Recording outcome: "${r}"${n > 1 ? ` (${n} times)` : ""}`), this._outcomes[r] = (this._outcomes[r] || 0) + n;
|
|
1007
994
|
}
|
|
1008
995
|
}
|
|
1009
996
|
on(e, t) {
|
|
@@ -1020,15 +1007,15 @@ var Pn = class {
|
|
|
1020
1007
|
if (this.emit("beforeEnvelope", e), this._isEnabled() && this._transport) try {
|
|
1021
1008
|
return await this._transport.send(e);
|
|
1022
1009
|
} catch (e) {
|
|
1023
|
-
return
|
|
1010
|
+
return P && A.error("Error while sending envelope:", e), {};
|
|
1024
1011
|
}
|
|
1025
|
-
return
|
|
1012
|
+
return P && A.error("Transport disabled"), {};
|
|
1026
1013
|
}
|
|
1027
1014
|
registerCleanup(e) {}
|
|
1028
1015
|
dispose() {}
|
|
1029
1016
|
_setupIntegrations() {
|
|
1030
1017
|
let { integrations: e } = this._options;
|
|
1031
|
-
this._integrations =
|
|
1018
|
+
this._integrations = Gt(this, e), Kt(this, e);
|
|
1032
1019
|
}
|
|
1033
1020
|
_updateSessionFromEvent(e, t) {
|
|
1034
1021
|
var n;
|
|
@@ -1044,7 +1031,7 @@ var Pn = class {
|
|
|
1044
1031
|
}
|
|
1045
1032
|
}
|
|
1046
1033
|
let s = e.status === "ok";
|
|
1047
|
-
(s && e.errors === 0 || s && r) && (
|
|
1034
|
+
(s && e.errors === 0 || s && r) && (Ee(e, {
|
|
1048
1035
|
...r && { status: "crashed" },
|
|
1049
1036
|
errors: e.errors || Number(i || r)
|
|
1050
1037
|
}), this.captureSession(e));
|
|
@@ -1062,40 +1049,40 @@ var Pn = class {
|
|
|
1062
1049
|
}
|
|
1063
1050
|
_prepareEvent(e, t, n, r) {
|
|
1064
1051
|
let i = this.getOptions(), a = this.getIntegrationNames();
|
|
1065
|
-
return !t.integrations && a.length && (t.integrations = a), this.emit("preprocessEvent", e, t), e.type || r.setLastEventId(e.event_id || t.event_id),
|
|
1052
|
+
return !t.integrations && a.length && (t.integrations = a), this.emit("preprocessEvent", e, t), e.type || r.setLastEventId(e.event_id || t.event_id), De(i, e, t, n, this, r).then((e) => {
|
|
1066
1053
|
var r;
|
|
1067
1054
|
return e === null ? e : (this.emit("postprocessEvent", e, t), e.contexts = {
|
|
1068
1055
|
trace: {
|
|
1069
1056
|
...(r = e.contexts) == null ? void 0 : r.trace,
|
|
1070
|
-
...
|
|
1057
|
+
..._(n)
|
|
1071
1058
|
},
|
|
1072
1059
|
...e.contexts
|
|
1073
1060
|
}, e.sdkProcessingMetadata = {
|
|
1074
|
-
dynamicSamplingContext:
|
|
1061
|
+
dynamicSamplingContext: be(this, n),
|
|
1075
1062
|
...e.sdkProcessingMetadata
|
|
1076
1063
|
}, e);
|
|
1077
1064
|
});
|
|
1078
1065
|
}
|
|
1079
|
-
_captureEvent(e, t = {}, n =
|
|
1080
|
-
return
|
|
1081
|
-
|
|
1066
|
+
_captureEvent(e, t = {}, n = Ke(), r = T()) {
|
|
1067
|
+
return P && Hn(e) && A.log(`Captured error event \`${xn(e)[0] || "<unknown>"}\``), this._processEvent(e, t, n, r).then((e) => e.event_id, (e) => {
|
|
1068
|
+
P && (In(e) ? A.log(e.message) : Fn(e) ? A.warn(e.message) : A.warn(e));
|
|
1082
1069
|
});
|
|
1083
1070
|
}
|
|
1084
1071
|
_processEvent(e, t, n, r) {
|
|
1085
|
-
let i = this.getOptions(), { sampleRate: a } = i, o =
|
|
1086
|
-
if (s && typeof l == "number" &&
|
|
1087
|
-
let u =
|
|
1072
|
+
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 : dt(a);
|
|
1073
|
+
if (s && typeof l == "number" && ce() > l) return this.recordDroppedEvent("sample_rate", "error"), He(Pn(`Discarding event because it's not included in the random sample (sampling rate = ${a})`));
|
|
1074
|
+
let u = zn(e.type);
|
|
1088
1075
|
return this._prepareEvent(e, t, n, r).then((e) => {
|
|
1089
1076
|
var n;
|
|
1090
|
-
if (e === null) throw this.recordDroppedEvent("event_processor", u),
|
|
1091
|
-
return ((n = t.data) == null ? void 0 : n.__sentry__) === !0 ? e :
|
|
1077
|
+
if (e === null) throw this.recordDroppedEvent("event_processor", u), Pn("An event processor returned `null`, will not send event.");
|
|
1078
|
+
return ((n = t.data) == null ? void 0 : n.__sentry__) === !0 ? e : Bn(Vn(this, i, e, t), c);
|
|
1092
1079
|
}).then((i) => {
|
|
1093
1080
|
if (i === null) {
|
|
1094
1081
|
if (this.recordDroppedEvent("before_send", u), o) {
|
|
1095
1082
|
let t = 1 + (e.spans || []).length;
|
|
1096
1083
|
this.recordDroppedEvent("before_send", "span", t);
|
|
1097
1084
|
}
|
|
1098
|
-
throw
|
|
1085
|
+
throw Pn(`${c} returned \`null\`, will not send event.`);
|
|
1099
1086
|
}
|
|
1100
1087
|
let a = n.getSession() || r.getSession();
|
|
1101
1088
|
if (s && a && this._updateSessionFromEvent(a, i), o) {
|
|
@@ -1109,19 +1096,19 @@ var Pn = class {
|
|
|
1109
1096
|
source: "custom"
|
|
1110
1097
|
}), this.sendEvent(i, t), i;
|
|
1111
1098
|
}).then(null, (e) => {
|
|
1112
|
-
throw
|
|
1099
|
+
throw In(e) || Fn(e) ? e : (this.captureException(e, {
|
|
1113
1100
|
mechanism: {
|
|
1114
1101
|
handled: !1,
|
|
1115
1102
|
type: "internal"
|
|
1116
1103
|
},
|
|
1117
1104
|
data: { __sentry__: !0 },
|
|
1118
1105
|
originalException: e
|
|
1119
|
-
}),
|
|
1106
|
+
}), Nn(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.
|
|
1120
1107
|
Reason: ${e}`));
|
|
1121
1108
|
});
|
|
1122
1109
|
}
|
|
1123
1110
|
_process(e, t) {
|
|
1124
|
-
this._numProcessing++, this._promiseBuffer.add(e).then((e) => (this._numProcessing--, e), (e) => (this._numProcessing--, e ===
|
|
1111
|
+
this._numProcessing++, this._promiseBuffer.add(e).then((e) => (this._numProcessing--, e), (e) => (this._numProcessing--, e === fn && this.recordDroppedEvent("queue_overflow", t), e));
|
|
1125
1112
|
}
|
|
1126
1113
|
_clearOutcomes() {
|
|
1127
1114
|
let e = this._outcomes;
|
|
@@ -1135,64 +1122,64 @@ Reason: ${e}`));
|
|
|
1135
1122
|
});
|
|
1136
1123
|
}
|
|
1137
1124
|
_flushOutcomes() {
|
|
1138
|
-
|
|
1125
|
+
P && A.log("Flushing outcomes...");
|
|
1139
1126
|
let e = this._clearOutcomes();
|
|
1140
1127
|
if (e.length === 0) {
|
|
1141
|
-
|
|
1128
|
+
P && A.log("No outcomes to send");
|
|
1142
1129
|
return;
|
|
1143
1130
|
}
|
|
1144
1131
|
if (!this._dsn) {
|
|
1145
|
-
|
|
1132
|
+
P && A.log("No dsn provided, will not send outcomes");
|
|
1146
1133
|
return;
|
|
1147
1134
|
}
|
|
1148
|
-
|
|
1149
|
-
let t =
|
|
1135
|
+
P && A.log("Sending outcomes:", e);
|
|
1136
|
+
let t = bn(e, this._options.tunnel && D(this._dsn));
|
|
1150
1137
|
this.sendEnvelope(t);
|
|
1151
1138
|
}
|
|
1152
1139
|
};
|
|
1153
|
-
function
|
|
1140
|
+
function zn(e) {
|
|
1154
1141
|
return e === "replay_event" ? "replay" : e || "error";
|
|
1155
1142
|
}
|
|
1156
|
-
function
|
|
1143
|
+
function Bn(e, t) {
|
|
1157
1144
|
let n = `${t} must return \`null\` or a valid event.`;
|
|
1158
|
-
if (
|
|
1159
|
-
if (!
|
|
1145
|
+
if (_e(e)) return e.then((e) => {
|
|
1146
|
+
if (!Te(e) && e !== null) throw Nn(n);
|
|
1160
1147
|
return e;
|
|
1161
1148
|
}, (e) => {
|
|
1162
|
-
throw
|
|
1149
|
+
throw Nn(`${t} rejected with ${e}`);
|
|
1163
1150
|
});
|
|
1164
|
-
if (!
|
|
1151
|
+
if (!Te(e) && e !== null) throw Nn(n);
|
|
1165
1152
|
return e;
|
|
1166
1153
|
}
|
|
1167
|
-
function
|
|
1168
|
-
let { beforeSend: i, beforeSendTransaction: a, ignoreSpans: o } = t, s = !
|
|
1169
|
-
if (
|
|
1170
|
-
if (
|
|
1154
|
+
function Vn(e, t, n, r) {
|
|
1155
|
+
let { beforeSend: i, beforeSendTransaction: a, ignoreSpans: o } = t, s = !_t(t.beforeSendSpan) && t.beforeSendSpan, c = n;
|
|
1156
|
+
if (Hn(c) && i) return i(c, r);
|
|
1157
|
+
if (Un(c)) {
|
|
1171
1158
|
if (s || o) {
|
|
1172
|
-
let t =
|
|
1173
|
-
if (o != null && o.length &&
|
|
1159
|
+
let t = Sn(c);
|
|
1160
|
+
if (o != null && o.length && pt({
|
|
1174
1161
|
description: t.description,
|
|
1175
1162
|
op: t.op,
|
|
1176
1163
|
attributes: t.data
|
|
1177
1164
|
}, o)) return null;
|
|
1178
1165
|
if (s) {
|
|
1179
1166
|
let e = s(t);
|
|
1180
|
-
e ? c =
|
|
1167
|
+
e ? c = ne(n, Cn(e)) : ke();
|
|
1181
1168
|
}
|
|
1182
1169
|
if (c.spans) {
|
|
1183
1170
|
let t = [], n = c.spans;
|
|
1184
1171
|
for (let e of n) {
|
|
1185
|
-
if (o != null && o.length &&
|
|
1172
|
+
if (o != null && o.length && pt({
|
|
1186
1173
|
description: e.description,
|
|
1187
1174
|
op: e.op,
|
|
1188
1175
|
attributes: e.data
|
|
1189
1176
|
}, o)) {
|
|
1190
|
-
|
|
1177
|
+
ht(n, e);
|
|
1191
1178
|
continue;
|
|
1192
1179
|
}
|
|
1193
1180
|
if (s) {
|
|
1194
1181
|
let n = s(e);
|
|
1195
|
-
n ? t.push(n) : (
|
|
1182
|
+
n ? t.push(n) : (ke(), t.push(e));
|
|
1196
1183
|
} else t.push(e);
|
|
1197
1184
|
}
|
|
1198
1185
|
let r = c.spans.length - t.length;
|
|
@@ -1212,45 +1199,119 @@ function Ln(e, t, n, r) {
|
|
|
1212
1199
|
}
|
|
1213
1200
|
return c;
|
|
1214
1201
|
}
|
|
1215
|
-
function
|
|
1202
|
+
function Hn(e) {
|
|
1216
1203
|
return e.type === void 0;
|
|
1217
1204
|
}
|
|
1218
|
-
function
|
|
1205
|
+
function Un(e) {
|
|
1219
1206
|
return e.type === "transaction";
|
|
1220
1207
|
}
|
|
1221
|
-
function
|
|
1208
|
+
function Wn(e) {
|
|
1222
1209
|
let t = 0;
|
|
1223
|
-
return e.name && (t += e.name.length * 2), t += 8, t +
|
|
1210
|
+
return e.name && (t += e.name.length * 2), t += 8, t + Kn(e.attributes);
|
|
1224
1211
|
}
|
|
1225
|
-
function
|
|
1212
|
+
function Gn(e) {
|
|
1226
1213
|
let t = 0;
|
|
1227
|
-
return e.message && (t += e.message.length * 2), t +
|
|
1214
|
+
return e.message && (t += e.message.length * 2), t + Kn(e.attributes);
|
|
1228
1215
|
}
|
|
1229
|
-
function
|
|
1216
|
+
function Kn(e) {
|
|
1230
1217
|
if (!e) return 0;
|
|
1231
1218
|
let t = 0;
|
|
1232
1219
|
return Object.values(e).forEach((e) => {
|
|
1233
|
-
Array.isArray(e) ? t += e.length *
|
|
1220
|
+
Array.isArray(e) ? t += e.length * qn(e[0]) : me(e) ? t += qn(e) : t += 100;
|
|
1234
1221
|
}), t;
|
|
1235
1222
|
}
|
|
1236
|
-
function
|
|
1223
|
+
function qn(e) {
|
|
1237
1224
|
return typeof e == "string" ? e.length * 2 : typeof e == "number" ? 8 : typeof e == "boolean" ? 4 : 0;
|
|
1238
1225
|
}
|
|
1239
1226
|
//#endregion
|
|
1240
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1241
|
-
function
|
|
1242
|
-
t.debug === !0 && (
|
|
1227
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/sdk.js
|
|
1228
|
+
function Jn(e, t) {
|
|
1229
|
+
t.debug === !0 && (P ? A.enable() : Ae(() => {
|
|
1243
1230
|
console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.");
|
|
1244
|
-
})),
|
|
1231
|
+
})), Ke().update(t.initialScope);
|
|
1245
1232
|
let n = new e(t);
|
|
1246
|
-
return
|
|
1233
|
+
return Yn(n), n.init(), n;
|
|
1247
1234
|
}
|
|
1248
|
-
function
|
|
1249
|
-
|
|
1235
|
+
function Yn(e) {
|
|
1236
|
+
Ke().setClient(e);
|
|
1237
|
+
}
|
|
1238
|
+
var Xn = 5e3, Zn = 36e5;
|
|
1239
|
+
function Qn(e) {
|
|
1240
|
+
function t(...e) {
|
|
1241
|
+
P && A.log("[Offline]:", ...e);
|
|
1242
|
+
}
|
|
1243
|
+
return (n) => {
|
|
1244
|
+
let r = e(n);
|
|
1245
|
+
if (!n.createStore) throw Error("No `createStore` function was provided");
|
|
1246
|
+
let i = n.createStore(n), a = Xn, o;
|
|
1247
|
+
function s(e, t, r) {
|
|
1248
|
+
return bt(e, ["client_report"]) ? !1 : !n.shouldStore || n.shouldStore(e, t, r);
|
|
1249
|
+
}
|
|
1250
|
+
function c(e) {
|
|
1251
|
+
o && clearTimeout(o), o = It(setTimeout(async () => {
|
|
1252
|
+
o = void 0;
|
|
1253
|
+
let e = await i.shift();
|
|
1254
|
+
e && (t("Attempting to send previously queued event"), e[0].sent_at = new Date(E()).toISOString(), u(e, !0).catch((e) => {
|
|
1255
|
+
t("Failed to retry sending", e);
|
|
1256
|
+
}));
|
|
1257
|
+
}, e));
|
|
1258
|
+
}
|
|
1259
|
+
function l() {
|
|
1260
|
+
o || (c(a), a = Math.min(a * 2, Zn));
|
|
1261
|
+
}
|
|
1262
|
+
async function u(e, o = !1) {
|
|
1263
|
+
if (!o && bt(e, ["replay_event", "replay_recording"])) return await i.push(e), c(100), {};
|
|
1264
|
+
try {
|
|
1265
|
+
if (n.shouldSend && await n.shouldSend(e) === !1) throw Error("Envelope not sent because `shouldSend` callback returned false");
|
|
1266
|
+
let t = await r.send(e), i = 100;
|
|
1267
|
+
if (t) {
|
|
1268
|
+
var u, d;
|
|
1269
|
+
if ((u = t.headers) != null && u["retry-after"]) i = hn(t.headers["retry-after"]);
|
|
1270
|
+
else if ((d = t.headers) != null && d["x-sentry-rate-limits"]) i = 6e4;
|
|
1271
|
+
else if ((t.statusCode || 0) >= 400) return t;
|
|
1272
|
+
}
|
|
1273
|
+
return c(i), a = Xn, t;
|
|
1274
|
+
} catch (n) {
|
|
1275
|
+
if (await s(e, n, a)) return o ? await i.unshift(e) : await i.push(e), l(), t("Error sending. Event queued.", n), {};
|
|
1276
|
+
throw n;
|
|
1277
|
+
}
|
|
1278
|
+
}
|
|
1279
|
+
return n.flushAtStartup && l(), {
|
|
1280
|
+
send: u,
|
|
1281
|
+
flush: (e) => (e === void 0 && (a = Xn, c(100)), r.flush(e))
|
|
1282
|
+
};
|
|
1283
|
+
};
|
|
1250
1284
|
}
|
|
1251
1285
|
//#endregion
|
|
1252
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1253
|
-
function
|
|
1286
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/utils/url.js
|
|
1287
|
+
function $n(e) {
|
|
1288
|
+
if (!e) return {};
|
|
1289
|
+
let t = e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);
|
|
1290
|
+
if (!t) return {};
|
|
1291
|
+
let n = t[6] || "", r = t[8] || "";
|
|
1292
|
+
return {
|
|
1293
|
+
host: t[4],
|
|
1294
|
+
path: t[5],
|
|
1295
|
+
protocol: t[2],
|
|
1296
|
+
search: n,
|
|
1297
|
+
hash: r,
|
|
1298
|
+
relative: t[5] + n + r
|
|
1299
|
+
};
|
|
1300
|
+
}
|
|
1301
|
+
function er(e, t = !0) {
|
|
1302
|
+
if (e.startsWith("data:")) {
|
|
1303
|
+
let n = e.match(/^data:([^;,]+)/), r = n ? n[1] : "text/plain", i = e.includes(";base64,"), a = e.indexOf(","), o = "";
|
|
1304
|
+
if (t && a !== -1) {
|
|
1305
|
+
let t = e.slice(a + 1);
|
|
1306
|
+
o = t.length > 10 ? `${t.slice(0, 10)}... [truncated]` : t;
|
|
1307
|
+
}
|
|
1308
|
+
return `data:${r}${i ? ",base64" : ""}${o ? `,${o}` : ""}`;
|
|
1309
|
+
}
|
|
1310
|
+
return e;
|
|
1311
|
+
}
|
|
1312
|
+
//#endregion
|
|
1313
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/utils/ipAddress.js
|
|
1314
|
+
function tr(e) {
|
|
1254
1315
|
if ("aggregates" in e) {
|
|
1255
1316
|
var t;
|
|
1256
1317
|
((t = e.attrs) == null ? void 0 : t.ip_address) === void 0 && (e.attrs = {
|
|
@@ -1260,45 +1321,49 @@ function Kn(e) {
|
|
|
1260
1321
|
} else e.ipAddress === void 0 && (e.ipAddress = "{{auto}}");
|
|
1261
1322
|
}
|
|
1262
1323
|
//#endregion
|
|
1263
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1264
|
-
function
|
|
1324
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/utils/sdkMetadata.js
|
|
1325
|
+
function nr(e, t, n = [t], r = "npm") {
|
|
1265
1326
|
let i = (e._metadata = e._metadata || {}).sdk = e._metadata.sdk || {};
|
|
1266
1327
|
i.name || (i.name = `sentry.javascript.${t}`, i.packages = n.map((e) => ({
|
|
1267
1328
|
name: `${r}:@sentry/${e}`,
|
|
1268
|
-
version:
|
|
1269
|
-
})), i.version =
|
|
1329
|
+
version: Ye
|
|
1330
|
+
})), i.version = Ye);
|
|
1270
1331
|
}
|
|
1271
1332
|
//#endregion
|
|
1272
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1273
|
-
var
|
|
1274
|
-
function
|
|
1275
|
-
let n =
|
|
1333
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/breadcrumbs.js
|
|
1334
|
+
var rr = 100;
|
|
1335
|
+
function H(e, t) {
|
|
1336
|
+
let n = h(), r = T();
|
|
1276
1337
|
if (!n) return;
|
|
1277
|
-
let { beforeBreadcrumb: i = null, maxBreadcrumbs: a =
|
|
1338
|
+
let { beforeBreadcrumb: i = null, maxBreadcrumbs: a = rr } = n.getOptions();
|
|
1278
1339
|
if (a <= 0) return;
|
|
1279
1340
|
let o = {
|
|
1280
|
-
timestamp:
|
|
1341
|
+
timestamp: p(),
|
|
1281
1342
|
...e
|
|
1282
|
-
}, s = i ?
|
|
1343
|
+
}, s = i ? Ae(() => i(o, t)) : o;
|
|
1283
1344
|
s !== null && (n.emit && n.emit("beforeAddBreadcrumb", s, t), r.addBreadcrumb(s, a));
|
|
1284
1345
|
}
|
|
1285
1346
|
//#endregion
|
|
1286
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1287
|
-
var
|
|
1288
|
-
name:
|
|
1347
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/integrations/functiontostring.js
|
|
1348
|
+
var ir = "FunctionToString", ar = /* @__PURE__ */ new WeakMap(), or = V((() => ({
|
|
1349
|
+
name: ir,
|
|
1289
1350
|
setupOnce() {
|
|
1290
|
-
|
|
1351
|
+
let e = Function.prototype.toString;
|
|
1291
1352
|
try {
|
|
1292
|
-
Function.prototype.toString = function(...
|
|
1293
|
-
|
|
1294
|
-
|
|
1353
|
+
Function.prototype.toString = function(...t) {
|
|
1354
|
+
var n;
|
|
1355
|
+
let r = S(this), i;
|
|
1356
|
+
try {
|
|
1357
|
+
ar.has(h()) && r !== void 0 && (i = r);
|
|
1358
|
+
} catch {}
|
|
1359
|
+
return e.apply((n = i) == null ? this : n, t);
|
|
1295
1360
|
};
|
|
1296
1361
|
} catch {}
|
|
1297
1362
|
},
|
|
1298
1363
|
setup(e) {
|
|
1299
|
-
|
|
1364
|
+
ar.set(e, !0);
|
|
1300
1365
|
}
|
|
1301
|
-
}))),
|
|
1366
|
+
}))), sr = [
|
|
1302
1367
|
/^Script error\.?$/,
|
|
1303
1368
|
/^Javascript error: Script error\.? on line 0$/,
|
|
1304
1369
|
/^ResizeObserver loop completed with undelivered notifications.$/,
|
|
@@ -1310,118 +1375,205 @@ var Yn, Xn = "FunctionToString", Zn = /* @__PURE__ */ new WeakMap(), Qn = H((()
|
|
|
1310
1375
|
/Can't find variable: _AutofillCallbackHandler/,
|
|
1311
1376
|
/Object Not Found Matching Id:\d+, MethodName:simulateEvent/,
|
|
1312
1377
|
/^Java exception was raised during method invocation$/
|
|
1313
|
-
],
|
|
1378
|
+
], cr = "EventFilters", lr = V((e = {}) => {
|
|
1314
1379
|
let t;
|
|
1315
1380
|
return {
|
|
1316
|
-
name:
|
|
1381
|
+
name: cr,
|
|
1317
1382
|
setup(n) {
|
|
1318
|
-
t =
|
|
1383
|
+
t = dr(e, n.getOptions());
|
|
1319
1384
|
},
|
|
1320
1385
|
processEvent(n, r, i) {
|
|
1321
|
-
return t || (t =
|
|
1386
|
+
return t || (t = dr(e, i.getOptions())), fr(n, t) ? null : n;
|
|
1322
1387
|
}
|
|
1323
1388
|
};
|
|
1324
|
-
}),
|
|
1325
|
-
...
|
|
1389
|
+
}), ur = V(((e = {}) => ({
|
|
1390
|
+
...lr(e),
|
|
1326
1391
|
name: "InboundFilters"
|
|
1327
1392
|
})));
|
|
1328
|
-
function
|
|
1393
|
+
function dr(e = {}, t = {}) {
|
|
1329
1394
|
return {
|
|
1330
1395
|
allowUrls: [...e.allowUrls || [], ...t.allowUrls || []],
|
|
1331
1396
|
denyUrls: [...e.denyUrls || [], ...t.denyUrls || []],
|
|
1332
1397
|
ignoreErrors: [
|
|
1333
1398
|
...e.ignoreErrors || [],
|
|
1334
1399
|
...t.ignoreErrors || [],
|
|
1335
|
-
...e.disableErrorDefaults ? [] :
|
|
1400
|
+
...e.disableErrorDefaults ? [] : sr
|
|
1336
1401
|
],
|
|
1337
1402
|
ignoreTransactions: [...e.ignoreTransactions || [], ...t.ignoreTransactions || []]
|
|
1338
1403
|
};
|
|
1339
1404
|
}
|
|
1340
|
-
function
|
|
1405
|
+
function fr(e, t) {
|
|
1341
1406
|
if (!e.type) {
|
|
1342
|
-
if (
|
|
1343
|
-
Event: ${
|
|
1344
|
-
if (
|
|
1345
|
-
Event: ${
|
|
1346
|
-
if (
|
|
1347
|
-
Event: ${
|
|
1348
|
-
Url: ${
|
|
1349
|
-
if (!
|
|
1350
|
-
Event: ${
|
|
1351
|
-
Url: ${
|
|
1352
|
-
} else if (e.type === "transaction" &&
|
|
1353
|
-
Event: ${
|
|
1407
|
+
if (pr(e, t.ignoreErrors)) return P && A.warn(`Event dropped due to being matched by \`ignoreErrors\` option.
|
|
1408
|
+
Event: ${v(e)}`), !0;
|
|
1409
|
+
if (yr(e)) return P && A.warn(`Event dropped due to not having an error message, error type or stacktrace.
|
|
1410
|
+
Event: ${v(e)}`), !0;
|
|
1411
|
+
if (hr(e, t.denyUrls)) return P && A.warn(`Event dropped due to being matched by \`denyUrls\` option.
|
|
1412
|
+
Event: ${v(e)}.
|
|
1413
|
+
Url: ${vr(e)}`), !0;
|
|
1414
|
+
if (!gr(e, t.allowUrls)) return P && A.warn(`Event dropped due to not being matched by \`allowUrls\` option.
|
|
1415
|
+
Event: ${v(e)}.
|
|
1416
|
+
Url: ${vr(e)}`), !0;
|
|
1417
|
+
} else if (e.type === "transaction" && mr(e, t.ignoreTransactions)) return P && A.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.
|
|
1418
|
+
Event: ${v(e)}`), !0;
|
|
1354
1419
|
return !1;
|
|
1355
1420
|
}
|
|
1356
|
-
function
|
|
1357
|
-
return t != null && t.length ?
|
|
1421
|
+
function pr(e, t) {
|
|
1422
|
+
return t != null && t.length ? xn(e).some((e) => F(e, t)) : !1;
|
|
1358
1423
|
}
|
|
1359
|
-
function
|
|
1424
|
+
function mr(e, t) {
|
|
1360
1425
|
if (!(t != null && t.length)) return !1;
|
|
1361
1426
|
let n = e.transaction;
|
|
1362
|
-
return n ?
|
|
1427
|
+
return n ? F(n, t) : !1;
|
|
1363
1428
|
}
|
|
1364
|
-
function
|
|
1429
|
+
function hr(e, t) {
|
|
1365
1430
|
if (!(t != null && t.length)) return !1;
|
|
1366
|
-
let n =
|
|
1367
|
-
return n ?
|
|
1431
|
+
let n = vr(e);
|
|
1432
|
+
return n ? F(n, t) : !1;
|
|
1368
1433
|
}
|
|
1369
|
-
function
|
|
1434
|
+
function gr(e, t) {
|
|
1370
1435
|
if (!(t != null && t.length)) return !0;
|
|
1371
|
-
let n =
|
|
1372
|
-
return n
|
|
1436
|
+
let n = vr(e);
|
|
1437
|
+
return !n || F(n, t);
|
|
1373
1438
|
}
|
|
1374
|
-
function
|
|
1439
|
+
function _r(e = []) {
|
|
1375
1440
|
for (let t = e.length - 1; t >= 0; t--) {
|
|
1376
1441
|
let n = e[t];
|
|
1377
1442
|
if (n && n.filename !== "<anonymous>" && n.filename !== "[native code]") return n.filename || null;
|
|
1378
1443
|
}
|
|
1379
1444
|
return null;
|
|
1380
1445
|
}
|
|
1381
|
-
function
|
|
1446
|
+
function vr(e) {
|
|
1382
1447
|
try {
|
|
1383
1448
|
var t, n, r;
|
|
1384
1449
|
let i = [...(t = (n = e.exception) == null ? void 0 : n.values) == null ? [] : t].reverse().find((e) => {
|
|
1385
1450
|
var t, n;
|
|
1386
1451
|
return ((t = e.mechanism) == null ? void 0 : t.parent_id) === void 0 && ((n = e.stacktrace) == null || (n = n.frames) == null ? void 0 : n.length);
|
|
1387
1452
|
}), a = i == null || (r = i.stacktrace) == null ? void 0 : r.frames;
|
|
1388
|
-
return a ?
|
|
1453
|
+
return a ? _r(a) : null;
|
|
1389
1454
|
} catch {
|
|
1390
|
-
return
|
|
1455
|
+
return P && A.error(`Cannot extract url for event ${v(e)}`), null;
|
|
1391
1456
|
}
|
|
1392
1457
|
}
|
|
1393
|
-
function
|
|
1458
|
+
function yr(e) {
|
|
1394
1459
|
var t;
|
|
1395
1460
|
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;
|
|
1396
1461
|
}
|
|
1397
1462
|
//#endregion
|
|
1398
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1399
|
-
|
|
1463
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/utils/aggregate-errors.js
|
|
1464
|
+
function br(e, t, n, r, i, a) {
|
|
1465
|
+
var o;
|
|
1466
|
+
if (!((o = i.exception) != null && o.values) || !a || !Ve(a.originalException, Error)) return;
|
|
1467
|
+
let s = i.exception.values.length > 0 ? i.exception.values[i.exception.values.length - 1] : void 0;
|
|
1468
|
+
s && (i.exception.values = xr(e, t, r, a.originalException, n, i.exception.values, s, 0));
|
|
1469
|
+
}
|
|
1470
|
+
function xr(e, t, n, r, i, a, o, s) {
|
|
1471
|
+
if (a.length >= n + 1) return a;
|
|
1472
|
+
let c = [...a];
|
|
1473
|
+
if (Ve(r[i], Error)) {
|
|
1474
|
+
Cr(o, s, r);
|
|
1475
|
+
let a = e(t, r[i]), l = c.length;
|
|
1476
|
+
wr(a, i, l, s), c = xr(e, t, n, r[i], i, [a, ...c], a, l);
|
|
1477
|
+
}
|
|
1478
|
+
return Sr(r) && r.errors.forEach((a, l) => {
|
|
1479
|
+
if (Ve(a, Error)) {
|
|
1480
|
+
Cr(o, s, r);
|
|
1481
|
+
let u = e(t, a), d = c.length;
|
|
1482
|
+
wr(u, `errors[${l}]`, d, s), c = xr(e, t, n, a, i, [u, ...c], u, d);
|
|
1483
|
+
}
|
|
1484
|
+
}), c;
|
|
1485
|
+
}
|
|
1486
|
+
function Sr(e) {
|
|
1487
|
+
return Array.isArray(e.errors);
|
|
1488
|
+
}
|
|
1489
|
+
function Cr(e, t, n) {
|
|
1490
|
+
e.mechanism = {
|
|
1491
|
+
handled: !0,
|
|
1492
|
+
type: "auto.core.linked_errors",
|
|
1493
|
+
...Sr(n) && { is_exception_group: !0 },
|
|
1494
|
+
...e.mechanism,
|
|
1495
|
+
exception_id: t
|
|
1496
|
+
};
|
|
1497
|
+
}
|
|
1498
|
+
function wr(e, t, n, r) {
|
|
1499
|
+
e.mechanism = {
|
|
1500
|
+
handled: !0,
|
|
1501
|
+
...e.mechanism,
|
|
1502
|
+
type: "chained",
|
|
1503
|
+
source: t,
|
|
1504
|
+
exception_id: n,
|
|
1505
|
+
parent_id: r
|
|
1506
|
+
};
|
|
1507
|
+
}
|
|
1508
|
+
//#endregion
|
|
1509
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/utils/eventbuilder.js
|
|
1510
|
+
function Tr(e) {
|
|
1511
|
+
return ie(e) && "__sentry_fetch_url_host__" in e && typeof e.__sentry_fetch_url_host__ == "string";
|
|
1512
|
+
}
|
|
1513
|
+
function Er(e) {
|
|
1514
|
+
return Tr(e) ? `${e.message} (${e.__sentry_fetch_url_host__})` : e.message;
|
|
1515
|
+
}
|
|
1516
|
+
//#endregion
|
|
1517
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/instrument/console.js
|
|
1518
|
+
var Dr = /* @__PURE__ */ new Set([]);
|
|
1519
|
+
function Or(e) {
|
|
1520
|
+
let t = "console", n = L(t, e);
|
|
1521
|
+
return R(t, Ar), n;
|
|
1522
|
+
}
|
|
1523
|
+
var kr = /* @__PURE__ */ new Set();
|
|
1524
|
+
function Ar() {
|
|
1525
|
+
"console" in O && Ie.forEach(function(e) {
|
|
1526
|
+
kr.has(e) || !(e in O.console) || (kr.add(e), M(O.console, e, function(t) {
|
|
1527
|
+
return Ce[e] = t, function(...t) {
|
|
1528
|
+
let n = t[0], r = Ce[e], i = Dr.size && typeof n == "string" && F(n, Dr);
|
|
1529
|
+
i || z("console", {
|
|
1530
|
+
args: t,
|
|
1531
|
+
level: e
|
|
1532
|
+
}), (!i || P && A.isEnabled()) && (r == null || r.apply(O.console, t));
|
|
1533
|
+
};
|
|
1534
|
+
}));
|
|
1535
|
+
});
|
|
1536
|
+
}
|
|
1537
|
+
//#endregion
|
|
1538
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/utils/severity.js
|
|
1539
|
+
function jr(e) {
|
|
1540
|
+
return e === "warn" ? "warning" : [
|
|
1541
|
+
"fatal",
|
|
1542
|
+
"error",
|
|
1543
|
+
"warning",
|
|
1544
|
+
"log",
|
|
1545
|
+
"info",
|
|
1546
|
+
"debug"
|
|
1547
|
+
].includes(e) ? e : "log";
|
|
1548
|
+
}
|
|
1549
|
+
//#endregion
|
|
1550
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/integrations/dedupe.js
|
|
1551
|
+
var Mr = "Dedupe", Nr = V((() => {
|
|
1400
1552
|
let e;
|
|
1401
1553
|
return {
|
|
1402
|
-
name:
|
|
1554
|
+
name: Mr,
|
|
1403
1555
|
processEvent(t) {
|
|
1404
1556
|
if (t.type) return t;
|
|
1405
1557
|
try {
|
|
1406
|
-
if (
|
|
1558
|
+
if (Pr(t, e)) return P && A.warn("Event dropped due to being a duplicate of previously captured event."), null;
|
|
1407
1559
|
} catch {}
|
|
1408
1560
|
return e = t;
|
|
1409
1561
|
}
|
|
1410
1562
|
};
|
|
1411
1563
|
}));
|
|
1412
|
-
function
|
|
1413
|
-
return t ? !!(
|
|
1564
|
+
function Pr(e, t) {
|
|
1565
|
+
return t ? !!(Fr(e, t) || Ir(e, t)) : !1;
|
|
1414
1566
|
}
|
|
1415
|
-
function
|
|
1567
|
+
function Fr(e, t) {
|
|
1416
1568
|
let n = e.message, r = t.message;
|
|
1417
|
-
return !(!n && !r || n && !r || !n && r || n !== r || !
|
|
1569
|
+
return !(!n && !r || n && !r || !n && r || n !== r || !Rr(e, t) || !Lr(e, t));
|
|
1418
1570
|
}
|
|
1419
|
-
function
|
|
1420
|
-
let n =
|
|
1421
|
-
return !(!n || !r || n.type !== r.type || n.value !== r.value || !
|
|
1571
|
+
function Ir(e, t) {
|
|
1572
|
+
let n = zr(t), r = zr(e);
|
|
1573
|
+
return !(!n || !r || n.type !== r.type || n.value !== r.value || !Rr(e, t) || !Lr(e, t));
|
|
1422
1574
|
}
|
|
1423
|
-
function
|
|
1424
|
-
let n =
|
|
1575
|
+
function Lr(e, t) {
|
|
1576
|
+
let n = Ue(e), r = Ue(t);
|
|
1425
1577
|
if (!n && !r) return !0;
|
|
1426
1578
|
if (n && !r || !n && r || (n = n, r = r, r.length !== n.length)) return !1;
|
|
1427
1579
|
for (let e = 0; e < r.length; e++) {
|
|
@@ -1430,7 +1582,7 @@ function _r(e, t) {
|
|
|
1430
1582
|
}
|
|
1431
1583
|
return !0;
|
|
1432
1584
|
}
|
|
1433
|
-
function
|
|
1585
|
+
function Rr(e, t) {
|
|
1434
1586
|
let n = e.fingerprint, r = t.fingerprint;
|
|
1435
1587
|
if (!n && !r) return !0;
|
|
1436
1588
|
if (n && !r || !n && r) return !1;
|
|
@@ -1441,146 +1593,111 @@ function vr(e, t) {
|
|
|
1441
1593
|
return !1;
|
|
1442
1594
|
}
|
|
1443
1595
|
}
|
|
1444
|
-
function
|
|
1596
|
+
function zr(e) {
|
|
1445
1597
|
var t;
|
|
1446
1598
|
return (t = e.exception) == null || (t = t.values) == null ? void 0 : t[0];
|
|
1447
1599
|
}
|
|
1448
1600
|
//#endregion
|
|
1449
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1450
|
-
var
|
|
1451
|
-
name:
|
|
1601
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/integrations/conversationId.js
|
|
1602
|
+
var Br = "ConversationId", Vr = V((() => ({
|
|
1603
|
+
name: Br,
|
|
1452
1604
|
setup(e) {
|
|
1453
1605
|
e.on("spanStart", (e) => {
|
|
1454
|
-
let t =
|
|
1606
|
+
let t = Ke().getScopeData(), n = T().getScopeData(), r = t.conversationId || n.conversationId;
|
|
1455
1607
|
if (r) {
|
|
1456
|
-
let { op: t, data: n, description: i } =
|
|
1608
|
+
let { op: t, data: n, description: i } = we(e);
|
|
1457
1609
|
if (!(t != null && t.startsWith("gen_ai.")) && !n["ai.operationId"] && !(i != null && i.startsWith("ai."))) return;
|
|
1458
|
-
e.setAttribute(
|
|
1610
|
+
e.setAttribute(Je, r);
|
|
1459
1611
|
}
|
|
1460
1612
|
});
|
|
1461
1613
|
}
|
|
1462
1614
|
})));
|
|
1463
1615
|
//#endregion
|
|
1464
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1465
|
-
function
|
|
1466
|
-
var o;
|
|
1467
|
-
if (!((o = i.exception) != null && o.values) || !a || !ze(a.originalException, Error)) return;
|
|
1468
|
-
let s = i.exception.values.length > 0 ? i.exception.values[i.exception.values.length - 1] : void 0;
|
|
1469
|
-
s && (i.exception.values = Cr(e, t, r, a.originalException, n, i.exception.values, s, 0));
|
|
1470
|
-
}
|
|
1471
|
-
function Cr(e, t, n, r, i, a, o, s) {
|
|
1472
|
-
if (a.length >= n + 1) return a;
|
|
1473
|
-
let c = [...a];
|
|
1474
|
-
if (ze(r[i], Error)) {
|
|
1475
|
-
Tr(o, s, r);
|
|
1476
|
-
let a = e(t, r[i]), l = c.length;
|
|
1477
|
-
Er(a, i, l, s), c = Cr(e, t, n, r[i], i, [a, ...c], a, l);
|
|
1478
|
-
}
|
|
1479
|
-
return wr(r) && r.errors.forEach((a, l) => {
|
|
1480
|
-
if (ze(a, Error)) {
|
|
1481
|
-
Tr(o, s, r);
|
|
1482
|
-
let u = e(t, a), d = c.length;
|
|
1483
|
-
Er(u, `errors[${l}]`, d, s), c = Cr(e, t, n, a, i, [u, ...c], u, d);
|
|
1484
|
-
}
|
|
1485
|
-
}), c;
|
|
1486
|
-
}
|
|
1487
|
-
function wr(e) {
|
|
1488
|
-
return Array.isArray(e.errors);
|
|
1489
|
-
}
|
|
1490
|
-
function Tr(e, t, n) {
|
|
1491
|
-
e.mechanism = {
|
|
1492
|
-
handled: !0,
|
|
1493
|
-
type: "auto.core.linked_errors",
|
|
1494
|
-
...wr(n) && { is_exception_group: !0 },
|
|
1495
|
-
...e.mechanism,
|
|
1496
|
-
exception_id: t
|
|
1497
|
-
};
|
|
1498
|
-
}
|
|
1499
|
-
function Er(e, t, n, r) {
|
|
1500
|
-
e.mechanism = {
|
|
1501
|
-
handled: !0,
|
|
1502
|
-
...e.mechanism,
|
|
1503
|
-
type: "chained",
|
|
1504
|
-
source: t,
|
|
1505
|
-
exception_id: n,
|
|
1506
|
-
parent_id: r
|
|
1507
|
-
};
|
|
1508
|
-
}
|
|
1509
|
-
//#endregion
|
|
1510
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/utils/breadcrumb-log-level.js
|
|
1511
|
-
function Dr(e) {
|
|
1616
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/utils/breadcrumb-log-level.js
|
|
1617
|
+
function Hr(e) {
|
|
1512
1618
|
if (e !== void 0) {
|
|
1513
1619
|
if (e >= 400 && e < 500) return "warning";
|
|
1514
1620
|
if (e >= 500) return "error";
|
|
1515
1621
|
}
|
|
1516
1622
|
}
|
|
1517
1623
|
//#endregion
|
|
1518
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1519
|
-
var
|
|
1520
|
-
function
|
|
1521
|
-
|
|
1522
|
-
return z(t, Ar), n;
|
|
1624
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/utils/supports.js
|
|
1625
|
+
var U = O;
|
|
1626
|
+
function Ur() {
|
|
1627
|
+
return "history" in U && !!U.history;
|
|
1523
1628
|
}
|
|
1524
|
-
function
|
|
1525
|
-
"
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1629
|
+
function Wr() {
|
|
1630
|
+
if (!("fetch" in U)) return !1;
|
|
1631
|
+
try {
|
|
1632
|
+
return new Headers(), new Request("data:,"), new Response(), !0;
|
|
1633
|
+
} catch {
|
|
1634
|
+
return !1;
|
|
1635
|
+
}
|
|
1636
|
+
}
|
|
1637
|
+
function Gr(e) {
|
|
1638
|
+
return e && /^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString());
|
|
1639
|
+
}
|
|
1640
|
+
function Kr() {
|
|
1641
|
+
if (typeof EdgeRuntime == "string") return !0;
|
|
1642
|
+
if (!Wr()) return !1;
|
|
1643
|
+
if (Gr(U.fetch)) return !0;
|
|
1644
|
+
let e = !1, t = U.document;
|
|
1645
|
+
if (t && typeof t.createElement == "function") try {
|
|
1646
|
+
var n;
|
|
1647
|
+
let r = t.createElement("iframe");
|
|
1648
|
+
r.hidden = !0, t.head.appendChild(r), (n = r.contentWindow) != null && n.fetch && (e = Gr(r.contentWindow.fetch)), t.head.removeChild(r);
|
|
1649
|
+
} catch (e) {
|
|
1650
|
+
P && A.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ", e);
|
|
1651
|
+
}
|
|
1652
|
+
return e;
|
|
1536
1653
|
}
|
|
1537
1654
|
//#endregion
|
|
1538
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1539
|
-
function
|
|
1540
|
-
let n = "fetch", r =
|
|
1541
|
-
return
|
|
1655
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/instrument/fetch.js
|
|
1656
|
+
function qr(e, t) {
|
|
1657
|
+
let n = "fetch", r = L(n, e);
|
|
1658
|
+
return R(n, () => Jr(void 0, t)), r;
|
|
1542
1659
|
}
|
|
1543
|
-
function
|
|
1544
|
-
t && !
|
|
1660
|
+
function Jr(e, t = !1) {
|
|
1661
|
+
t && !Kr() || M(O, "fetch", function(t) {
|
|
1545
1662
|
return function(...n) {
|
|
1546
|
-
let r = /* @__PURE__ */ Error(), { method: i, url: a } =
|
|
1663
|
+
let r = /* @__PURE__ */ Error(), { method: i, url: a } = Zr(n), o = {
|
|
1547
1664
|
args: n,
|
|
1548
1665
|
fetchData: {
|
|
1549
1666
|
method: i,
|
|
1550
1667
|
url: a
|
|
1551
1668
|
},
|
|
1552
|
-
startTimestamp:
|
|
1669
|
+
startTimestamp: j() * 1e3,
|
|
1553
1670
|
virtualError: r,
|
|
1554
|
-
headers:
|
|
1671
|
+
headers: Qr(n)
|
|
1555
1672
|
};
|
|
1556
|
-
return e ||
|
|
1673
|
+
return e || z("fetch", { ...o }), t.apply(O, n).then(async (t) => (e ? e(t) : z("fetch", {
|
|
1557
1674
|
...o,
|
|
1558
|
-
endTimestamp:
|
|
1675
|
+
endTimestamp: j() * 1e3,
|
|
1559
1676
|
response: t
|
|
1560
1677
|
}), t), (e) => {
|
|
1561
1678
|
var t;
|
|
1562
|
-
|
|
1679
|
+
z("fetch", {
|
|
1563
1680
|
...o,
|
|
1564
|
-
endTimestamp:
|
|
1681
|
+
endTimestamp: j() * 1e3,
|
|
1565
1682
|
error: e
|
|
1566
|
-
}),
|
|
1567
|
-
let n =
|
|
1683
|
+
}), ie(e) && e.stack === void 0 && (e.stack = r.stack, y(e, "framesToPop", 1));
|
|
1684
|
+
let n = h(), i = (t = n == null ? void 0 : n.getOptions().enhanceFetchErrorMessages) == null ? "always" : t;
|
|
1568
1685
|
if (i !== !1 && e instanceof TypeError && (e.message === "Failed to fetch" || e.message === "Load failed" || e.message === "NetworkError when attempting to fetch resource.")) try {
|
|
1569
1686
|
let t = new URL(o.fetchData.url).host;
|
|
1570
|
-
i === "always" ? e.message = `${e.message} (${t})` :
|
|
1687
|
+
i === "always" ? e.message = `${e.message} (${t})` : y(e, "__sentry_fetch_url_host__", t);
|
|
1571
1688
|
} catch {}
|
|
1572
1689
|
throw e;
|
|
1573
1690
|
});
|
|
1574
1691
|
};
|
|
1575
1692
|
});
|
|
1576
1693
|
}
|
|
1577
|
-
function
|
|
1578
|
-
return
|
|
1694
|
+
function Yr(e, t) {
|
|
1695
|
+
return Me(e) && !!e[t];
|
|
1579
1696
|
}
|
|
1580
|
-
function
|
|
1581
|
-
return typeof e == "string" ? e : e ?
|
|
1697
|
+
function Xr(e) {
|
|
1698
|
+
return typeof e == "string" ? e : e ? Yr(e, "url") ? e.url : e.toString ? e.toString() : "" : "";
|
|
1582
1699
|
}
|
|
1583
|
-
function
|
|
1700
|
+
function Zr(e) {
|
|
1584
1701
|
if (e.length === 0) return {
|
|
1585
1702
|
method: "GET",
|
|
1586
1703
|
url: ""
|
|
@@ -1588,148 +1705,378 @@ function Fr(e) {
|
|
|
1588
1705
|
if (e.length === 2) {
|
|
1589
1706
|
let [t, n] = e;
|
|
1590
1707
|
return {
|
|
1591
|
-
url:
|
|
1592
|
-
method:
|
|
1708
|
+
url: Xr(t),
|
|
1709
|
+
method: Yr(n, "method") ? String(n.method).toUpperCase() : Pe(t) && Yr(t, "method") ? String(t.method).toUpperCase() : "GET"
|
|
1593
1710
|
};
|
|
1594
1711
|
}
|
|
1595
1712
|
let t = e[0];
|
|
1596
1713
|
return {
|
|
1597
|
-
url:
|
|
1598
|
-
method:
|
|
1714
|
+
url: Xr(t),
|
|
1715
|
+
method: Yr(t, "method") ? String(t.method).toUpperCase() : "GET"
|
|
1599
1716
|
};
|
|
1600
1717
|
}
|
|
1601
|
-
function
|
|
1718
|
+
function Qr(e) {
|
|
1602
1719
|
let [t, n] = e;
|
|
1603
1720
|
try {
|
|
1604
1721
|
if (typeof n == "object" && n && "headers" in n && n.headers) return new Headers(n.headers);
|
|
1605
|
-
if (
|
|
1722
|
+
if (Pe(t)) return new Headers(t.headers);
|
|
1606
1723
|
} catch {}
|
|
1607
1724
|
}
|
|
1608
1725
|
//#endregion
|
|
1609
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1610
|
-
var
|
|
1611
|
-
function
|
|
1612
|
-
|
|
1613
|
-
|
|
1726
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/utils/browser.js
|
|
1727
|
+
var $r = O;
|
|
1728
|
+
function ei() {
|
|
1729
|
+
try {
|
|
1730
|
+
return $r.document.location.href;
|
|
1731
|
+
} catch {
|
|
1732
|
+
return "";
|
|
1733
|
+
}
|
|
1614
1734
|
}
|
|
1615
|
-
function
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
}
|
|
1624
|
-
|
|
1735
|
+
function ti(e, t = 5) {
|
|
1736
|
+
if (!$r.HTMLElement) return null;
|
|
1737
|
+
let n = e;
|
|
1738
|
+
for (let e = 0; e < t; e++) {
|
|
1739
|
+
if (!n) return null;
|
|
1740
|
+
if (n instanceof HTMLElement) {
|
|
1741
|
+
if (n.dataset.sentryComponent) return n.dataset.sentryComponent;
|
|
1742
|
+
if (n.dataset.sentryElement) return n.dataset.sentryElement;
|
|
1743
|
+
}
|
|
1744
|
+
n = n.parentNode;
|
|
1745
|
+
}
|
|
1746
|
+
return null;
|
|
1625
1747
|
}
|
|
1626
1748
|
//#endregion
|
|
1627
|
-
//#region ../../node_modules/.pnpm/@sentry+
|
|
1628
|
-
var
|
|
1629
|
-
function
|
|
1630
|
-
|
|
1631
|
-
R(t, e), z(t, Hr);
|
|
1749
|
+
//#region ../../node_modules/.pnpm/@sentry+browser@10.68.0/node_modules/@sentry/browser/build/npm/esm/prod/helpers.js
|
|
1750
|
+
var W = O, ni = 0;
|
|
1751
|
+
function ri() {
|
|
1752
|
+
return ni > 0;
|
|
1632
1753
|
}
|
|
1633
|
-
function
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
}
|
|
1754
|
+
function ii() {
|
|
1755
|
+
ni++, setTimeout(() => {
|
|
1756
|
+
ni--;
|
|
1757
|
+
});
|
|
1637
1758
|
}
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
"
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1759
|
+
function G(e, t = {}) {
|
|
1760
|
+
function n(e) {
|
|
1761
|
+
return typeof e == "function";
|
|
1762
|
+
}
|
|
1763
|
+
if (!n(e)) return e;
|
|
1764
|
+
try {
|
|
1765
|
+
if (Object.prototype.hasOwnProperty.call(e, "__sentry_wrapped__")) {
|
|
1766
|
+
let t = e.__sentry_wrapped__;
|
|
1767
|
+
return typeof t == "function" ? t : e;
|
|
1768
|
+
}
|
|
1769
|
+
if (S(e)) return e;
|
|
1770
|
+
} catch {
|
|
1771
|
+
return e;
|
|
1772
|
+
}
|
|
1773
|
+
let r = function(...n) {
|
|
1774
|
+
O._sentryWrappedDepth = (O._sentryWrappedDepth || 0) + 1;
|
|
1775
|
+
try {
|
|
1776
|
+
let r = n.map((e) => G(e, t));
|
|
1777
|
+
return e.apply(this, r);
|
|
1778
|
+
} catch (e) {
|
|
1779
|
+
throw ii(), g((r) => {
|
|
1780
|
+
r.addEventProcessor((e) => (t.mechanism && (te(e, void 0, void 0), w(e, t.mechanism)), e.extra = {
|
|
1781
|
+
...e.extra,
|
|
1782
|
+
arguments: n
|
|
1783
|
+
}, e)), je(e);
|
|
1784
|
+
}), e;
|
|
1785
|
+
} finally {
|
|
1786
|
+
O._sentryWrappedDepth = (O._sentryWrappedDepth || 0) - 1;
|
|
1787
|
+
}
|
|
1788
|
+
};
|
|
1789
|
+
try {
|
|
1790
|
+
for (let t in e) Object.prototype.hasOwnProperty.call(e, t) && (r[t] = e[t]);
|
|
1791
|
+
} catch {}
|
|
1792
|
+
ue(r, e), y(e, "__sentry_wrapped__", r);
|
|
1793
|
+
try {
|
|
1794
|
+
Object.getOwnPropertyDescriptor(r, "name").configurable && Object.defineProperty(r, "name", { get() {
|
|
1795
|
+
return e.name;
|
|
1796
|
+
} });
|
|
1797
|
+
} catch {}
|
|
1798
|
+
return r;
|
|
1649
1799
|
}
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
function Wr(e) {
|
|
1653
|
-
if (!e) return {};
|
|
1654
|
-
let t = e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);
|
|
1655
|
-
if (!t) return {};
|
|
1656
|
-
let n = t[6] || "", r = t[8] || "";
|
|
1800
|
+
function ai() {
|
|
1801
|
+
let e = ei(), { referrer: t } = W.document || {}, { userAgent: n } = W.navigator || {};
|
|
1657
1802
|
return {
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
relative: t[5] + n + r
|
|
1803
|
+
url: e,
|
|
1804
|
+
headers: {
|
|
1805
|
+
...t && { Referer: t },
|
|
1806
|
+
...n && { "User-Agent": n }
|
|
1807
|
+
}
|
|
1664
1808
|
};
|
|
1665
1809
|
}
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1810
|
+
//#endregion
|
|
1811
|
+
//#region ../../node_modules/.pnpm/@sentry+browser@10.68.0/node_modules/@sentry/browser/build/npm/esm/prod/eventbuilder.js
|
|
1812
|
+
function oi(e, t) {
|
|
1813
|
+
let n = li(e, t), r = {
|
|
1814
|
+
type: mi(t),
|
|
1815
|
+
value: hi(t)
|
|
1816
|
+
};
|
|
1817
|
+
return n.length && (r.stacktrace = { frames: n }), r.type === void 0 && r.value === "" && (r.value = "Unrecoverable error caught"), r;
|
|
1818
|
+
}
|
|
1819
|
+
function si(e, t, n, r) {
|
|
1820
|
+
let i = h(), a = i == null ? void 0 : i.getOptions().normalizeDepth, o = Si(t), s = { __serialized__: se(t, a) };
|
|
1821
|
+
if (o) return {
|
|
1822
|
+
exception: { values: [oi(e, o)] },
|
|
1823
|
+
extra: s
|
|
1824
|
+
};
|
|
1825
|
+
let c = {
|
|
1826
|
+
exception: { values: [{
|
|
1827
|
+
type: ye(t) ? t.constructor.name : r ? "UnhandledRejection" : "Error",
|
|
1828
|
+
value: bi(t, { isUnhandledRejection: r })
|
|
1829
|
+
}] },
|
|
1830
|
+
extra: s
|
|
1831
|
+
};
|
|
1832
|
+
if (n) {
|
|
1833
|
+
let t = li(e, n);
|
|
1834
|
+
t.length && (c.exception.values[0].stacktrace = { frames: t });
|
|
1835
|
+
}
|
|
1836
|
+
return c;
|
|
1837
|
+
}
|
|
1838
|
+
function ci(e, t) {
|
|
1839
|
+
return { exception: { values: [oi(e, t)] } };
|
|
1840
|
+
}
|
|
1841
|
+
function li(e, t) {
|
|
1842
|
+
let n = t.stacktrace || t.stack || "", r = di(t), i = fi(t);
|
|
1843
|
+
try {
|
|
1844
|
+
return e(n, r, i);
|
|
1845
|
+
} catch {}
|
|
1846
|
+
return [];
|
|
1847
|
+
}
|
|
1848
|
+
var ui = /Minified React error #\d+;/i;
|
|
1849
|
+
function di(e) {
|
|
1850
|
+
return e && ui.test(e.message) ? 1 : 0;
|
|
1851
|
+
}
|
|
1852
|
+
function fi(e) {
|
|
1853
|
+
return typeof e.framesToPop == "number" ? e.framesToPop : 0;
|
|
1854
|
+
}
|
|
1855
|
+
function pi(e) {
|
|
1856
|
+
return typeof WebAssembly < "u" && WebAssembly.Exception !== void 0 && e instanceof WebAssembly.Exception;
|
|
1857
|
+
}
|
|
1858
|
+
function mi(e) {
|
|
1859
|
+
let t = e == null ? void 0 : e.name;
|
|
1860
|
+
return !t && pi(e) ? e.message && Array.isArray(e.message) && e.message.length == 2 ? e.message[0] : "WebAssembly.Exception" : t;
|
|
1861
|
+
}
|
|
1862
|
+
function hi(e) {
|
|
1863
|
+
let t = e == null ? void 0 : e.message;
|
|
1864
|
+
return pi(e) ? Array.isArray(e.message) && e.message.length == 2 ? e.message[1] : "wasm exception" : t ? t.error && typeof t.error.message == "string" ? Er(t.error) : Er(e) : "No error message";
|
|
1865
|
+
}
|
|
1866
|
+
function gi(e, t, n, r) {
|
|
1867
|
+
let i = vi(e, t, (n == null ? void 0 : n.syntheticException) || void 0, r);
|
|
1868
|
+
return w(i), i.level = "error", n != null && n.event_id && (i.event_id = n.event_id), ve(i);
|
|
1869
|
+
}
|
|
1870
|
+
function _i(e, t, n = "info", r, i) {
|
|
1871
|
+
let a = yi(e, t, (r == null ? void 0 : r.syntheticException) || void 0, i);
|
|
1872
|
+
return a.level = n, r != null && r.event_id && (a.event_id = r.event_id), ve(a);
|
|
1873
|
+
}
|
|
1874
|
+
function vi(e, t, n, r, i) {
|
|
1875
|
+
let a;
|
|
1876
|
+
if (f(t) && t.error) return ci(e, t.error);
|
|
1877
|
+
if (le(t) || de(t)) {
|
|
1878
|
+
let i = t;
|
|
1879
|
+
if ("stack" in t) {
|
|
1880
|
+
var o;
|
|
1881
|
+
a = ci(e, t);
|
|
1882
|
+
let i = (o = a.exception) == null || (o = o.values) == null ? void 0 : o[0];
|
|
1883
|
+
if (r && n && i && !i.stacktrace) {
|
|
1884
|
+
let t = li(e, n);
|
|
1885
|
+
t.length && (i.stacktrace = { frames: t }, w(a, { synthetic: !0 }));
|
|
1886
|
+
}
|
|
1887
|
+
} else {
|
|
1888
|
+
let t = i.name || (le(i) ? "DOMError" : "DOMException"), o = i.message ? `${t}: ${i.message}` : t;
|
|
1889
|
+
a = yi(e, o, n, r), te(a, o);
|
|
1672
1890
|
}
|
|
1673
|
-
return
|
|
1891
|
+
return "code" in i && (a.tags = {
|
|
1892
|
+
...a.tags,
|
|
1893
|
+
"DOMException.code": `${i.code}`
|
|
1894
|
+
}), a;
|
|
1674
1895
|
}
|
|
1675
|
-
return e;
|
|
1896
|
+
return ie(t) ? ci(e, t) : Te(t) || ye(t) ? (a = si(e, t, n, i), w(a, { synthetic: !0 }), a) : (a = yi(e, t, n, r), te(a, `${t}`, void 0), w(a, { synthetic: !0 }), a);
|
|
1676
1897
|
}
|
|
1898
|
+
function yi(e, t, n, r) {
|
|
1899
|
+
let i = {};
|
|
1900
|
+
if (r && n) {
|
|
1901
|
+
let r = li(e, n);
|
|
1902
|
+
r.length && (i.exception = { values: [{
|
|
1903
|
+
value: t,
|
|
1904
|
+
stacktrace: { frames: r }
|
|
1905
|
+
}] }), w(i, { synthetic: !0 });
|
|
1906
|
+
}
|
|
1907
|
+
if (Re(t)) {
|
|
1908
|
+
let { __sentry_template_string__: e, __sentry_template_values__: n } = t;
|
|
1909
|
+
return i.logentry = {
|
|
1910
|
+
message: e,
|
|
1911
|
+
params: n
|
|
1912
|
+
}, i;
|
|
1913
|
+
}
|
|
1914
|
+
return i.message = t, i;
|
|
1915
|
+
}
|
|
1916
|
+
function bi(e, { isUnhandledRejection: t }) {
|
|
1917
|
+
let n = C(e), r = t ? "promise rejection" : "exception";
|
|
1918
|
+
return f(e) ? `Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\`` : ye(e) ? `Event \`${xi(e)}\` (type=${e.type}) captured as ${r}` : `Object captured as ${r} with keys: ${n}`;
|
|
1919
|
+
}
|
|
1920
|
+
function xi(e) {
|
|
1921
|
+
try {
|
|
1922
|
+
let t = Object.getPrototypeOf(e);
|
|
1923
|
+
return t ? t.constructor.name : void 0;
|
|
1924
|
+
} catch {}
|
|
1925
|
+
}
|
|
1926
|
+
function Si(e) {
|
|
1927
|
+
return Object.values(e).find((e) => e instanceof Error);
|
|
1928
|
+
}
|
|
1929
|
+
//#endregion
|
|
1930
|
+
//#region ../../node_modules/.pnpm/@sentry+browser@10.68.0/node_modules/@sentry/browser/build/npm/esm/prod/client.js
|
|
1931
|
+
var Ci = class extends Rn {
|
|
1932
|
+
constructor(e) {
|
|
1933
|
+
var t;
|
|
1934
|
+
let n = wi(e);
|
|
1935
|
+
nr(n, "browser", ["browser"], W.SENTRY_SDK_SOURCE || Yt()), super(n);
|
|
1936
|
+
let { userInfo: r } = this.getDataCollectionOptions();
|
|
1937
|
+
(t = n._metadata) != null && t.sdk && (n._metadata.sdk.settings = {
|
|
1938
|
+
infer_ip: r ? "auto" : "never",
|
|
1939
|
+
...n._metadata.sdk.settings
|
|
1940
|
+
});
|
|
1941
|
+
let { sendClientReports: i } = this._options;
|
|
1942
|
+
W.document && W.document.addEventListener("visibilitychange", () => {
|
|
1943
|
+
W.document.visibilityState === "hidden" && (i && this._flushOutcomes(), queueMicrotask(() => {
|
|
1944
|
+
this.flush();
|
|
1945
|
+
}));
|
|
1946
|
+
}), r && this.on("beforeSendSession", tr);
|
|
1947
|
+
}
|
|
1948
|
+
eventFromException(e, t) {
|
|
1949
|
+
return gi(this._options.stackParser, e, t, this._options.attachStacktrace);
|
|
1950
|
+
}
|
|
1951
|
+
eventFromMessage(e, t = "info", n) {
|
|
1952
|
+
return _i(this._options.stackParser, e, t, n, this._options.attachStacktrace);
|
|
1953
|
+
}
|
|
1954
|
+
_prepareEvent(e, t, n, r) {
|
|
1955
|
+
return e.platform = e.platform || "javascript", super._prepareEvent(e, t, n, r);
|
|
1956
|
+
}
|
|
1957
|
+
};
|
|
1958
|
+
function wi(e) {
|
|
1959
|
+
var t;
|
|
1960
|
+
return {
|
|
1961
|
+
release: typeof __SENTRY_RELEASE__ == "string" ? __SENTRY_RELEASE__ : (t = W.SENTRY_RELEASE) == null ? void 0 : t.id,
|
|
1962
|
+
sendClientReports: !0,
|
|
1963
|
+
parentSpanIsAlwaysRootSpan: !0,
|
|
1964
|
+
...e
|
|
1965
|
+
};
|
|
1966
|
+
}
|
|
1967
|
+
//#endregion
|
|
1968
|
+
//#region ../../node_modules/.pnpm/@sentry+browser-utils@10.68.0/node_modules/@sentry/browser-utils/build/esm/debug-build.js
|
|
1969
|
+
var Ti = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, K = O;
|
|
1677
1970
|
//#endregion
|
|
1678
|
-
//#region ../../node_modules/.pnpm/@sentry+
|
|
1679
|
-
function
|
|
1680
|
-
|
|
1971
|
+
//#region ../../node_modules/.pnpm/@sentry+browser-utils@10.68.0/node_modules/@sentry/browser-utils/build/esm/metrics/web-vitals/lib/globalListeners.js
|
|
1972
|
+
function Ei(e, t, n) {
|
|
1973
|
+
K.document && K.addEventListener(e, t, n);
|
|
1681
1974
|
}
|
|
1682
|
-
function
|
|
1683
|
-
|
|
1975
|
+
function Di(e, t, n) {
|
|
1976
|
+
K.document && K.removeEventListener(e, t, n);
|
|
1684
1977
|
}
|
|
1685
1978
|
//#endregion
|
|
1686
|
-
//#region ../../node_modules/.pnpm/@sentry+
|
|
1687
|
-
var
|
|
1688
|
-
|
|
1979
|
+
//#region ../../node_modules/.pnpm/@sentry+browser-utils@10.68.0/node_modules/@sentry/browser-utils/build/esm/metrics/web-vitals/lib/runOnce.js
|
|
1980
|
+
var Oi = (e) => {
|
|
1981
|
+
let t = !1;
|
|
1982
|
+
return () => {
|
|
1983
|
+
t || (e(), t = !0);
|
|
1984
|
+
};
|
|
1985
|
+
}, ki = (e) => {
|
|
1986
|
+
var t;
|
|
1987
|
+
let n = K.requestIdleCallback || K.setTimeout;
|
|
1988
|
+
((t = K.document) == null ? void 0 : t.visibilityState) === "hidden" ? e() : (e = Oi(e), Ei("visibilitychange", e, {
|
|
1989
|
+
once: !0,
|
|
1990
|
+
capture: !0
|
|
1991
|
+
}), Ei("pagehide", e, {
|
|
1992
|
+
once: !0,
|
|
1993
|
+
capture: !0
|
|
1994
|
+
}), n(() => {
|
|
1995
|
+
e(), Di("visibilitychange", e, { capture: !0 }), Di("pagehide", e, { capture: !0 });
|
|
1996
|
+
}));
|
|
1997
|
+
}, Ai = 80, q = {};
|
|
1998
|
+
try {
|
|
1999
|
+
typeof Node < "u" && (q.parentNode = Object.getOwnPropertyDescriptor(Node.prototype, "parentNode").get), typeof Element < "u" && (q.tagName = Object.getOwnPropertyDescriptor(Element.prototype, "tagName").get, q.id = Object.getOwnPropertyDescriptor(Element.prototype, "id").get, q.className = Object.getOwnPropertyDescriptor(Element.prototype, "className").get, q.getAttribute = Element.prototype.getAttribute), typeof HTMLElement < "u" && (q.dataset = Object.getOwnPropertyDescriptor(HTMLElement.prototype, "dataset").get);
|
|
2000
|
+
} catch {}
|
|
2001
|
+
function J(e, t, n) {
|
|
2002
|
+
let r = q[t];
|
|
2003
|
+
if (r) try {
|
|
2004
|
+
return r.call(e, n);
|
|
2005
|
+
} catch {}
|
|
2006
|
+
let i = e[t];
|
|
2007
|
+
return typeof i == "function" ? i.call(e, n) : i;
|
|
2008
|
+
}
|
|
2009
|
+
function ji(e, t = {}) {
|
|
2010
|
+
if (!e) return "<unknown>";
|
|
1689
2011
|
try {
|
|
1690
|
-
|
|
2012
|
+
let n = e, r = [], i = 0, a = 0, o, s = Array.isArray(t) ? t : t.keyAttrs, c = !Array.isArray(t) && t.maxStringLength || Ai;
|
|
2013
|
+
for (; n && i++ < 5 && (o = Mi(n, s), !(o === "html" || i > 1 && a + r.length * 3 + o.length >= c));) r.push(o), a += o.length, n = J(n, "parentNode");
|
|
2014
|
+
return r.reverse().join(" > ");
|
|
1691
2015
|
} catch {
|
|
1692
|
-
return "";
|
|
2016
|
+
return "<unknown>";
|
|
1693
2017
|
}
|
|
1694
2018
|
}
|
|
1695
|
-
function
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
if (
|
|
1701
|
-
if (
|
|
1702
|
-
if (
|
|
2019
|
+
function Mi(e, t) {
|
|
2020
|
+
let n = [], r = J(e, "tagName");
|
|
2021
|
+
if (!r) return "";
|
|
2022
|
+
if (typeof HTMLElement < "u" && e instanceof HTMLElement) {
|
|
2023
|
+
let t = J(e, "dataset");
|
|
2024
|
+
if (t) {
|
|
2025
|
+
if (t.sentryComponent) return t.sentryComponent;
|
|
2026
|
+
if (t.sentryElement) return t.sentryElement;
|
|
1703
2027
|
}
|
|
1704
|
-
n = n.parentNode;
|
|
1705
2028
|
}
|
|
1706
|
-
|
|
2029
|
+
n.push(r.toLowerCase());
|
|
2030
|
+
let i = t != null && t.length ? t.filter((t) => J(e, "getAttribute", t)).map((t) => [t, J(e, "getAttribute", t)]) : null;
|
|
2031
|
+
if (i != null && i.length) i.forEach((e) => {
|
|
2032
|
+
n.push(`[${e[0]}="${e[1]}"]`);
|
|
2033
|
+
});
|
|
2034
|
+
else {
|
|
2035
|
+
let t = J(e, "id");
|
|
2036
|
+
t && n.push(`#${t}`);
|
|
2037
|
+
let r = J(e, "className");
|
|
2038
|
+
if (r && N(r)) {
|
|
2039
|
+
let e = r.split(/\s+/);
|
|
2040
|
+
for (let t of e) n.push(`.${t}`);
|
|
2041
|
+
}
|
|
2042
|
+
}
|
|
2043
|
+
for (let t of [
|
|
2044
|
+
"aria-label",
|
|
2045
|
+
"type",
|
|
2046
|
+
"name",
|
|
2047
|
+
"title",
|
|
2048
|
+
"alt"
|
|
2049
|
+
]) {
|
|
2050
|
+
let r = J(e, "getAttribute", t);
|
|
2051
|
+
r && n.push(`[${t}="${r}"]`);
|
|
2052
|
+
}
|
|
2053
|
+
return n.join("");
|
|
1707
2054
|
}
|
|
1708
2055
|
//#endregion
|
|
1709
|
-
//#region ../../node_modules/.pnpm/@sentry+browser-utils@10.
|
|
1710
|
-
var
|
|
1711
|
-
function
|
|
1712
|
-
|
|
2056
|
+
//#region ../../node_modules/.pnpm/@sentry+browser-utils@10.68.0/node_modules/@sentry/browser-utils/build/esm/instrument/dom.js
|
|
2057
|
+
var Ni = 1e3, Pi, Fi, Ii;
|
|
2058
|
+
function Li(e) {
|
|
2059
|
+
L("dom", e), R("dom", Ri);
|
|
1713
2060
|
}
|
|
1714
|
-
function
|
|
1715
|
-
if (!
|
|
1716
|
-
let e =
|
|
1717
|
-
|
|
2061
|
+
function Ri() {
|
|
2062
|
+
if (!K.document) return;
|
|
2063
|
+
let e = z.bind(null, "dom"), t = Vi(e, !0);
|
|
2064
|
+
K.document.addEventListener("click", t, !1), K.document.addEventListener("keypress", t, !1), ["EventTarget", "Node"].forEach((t) => {
|
|
1718
2065
|
var n, r;
|
|
1719
|
-
let i = (n =
|
|
1720
|
-
!(i == null || (r = i.hasOwnProperty) == null) && r.call(i, "addEventListener") && (
|
|
2066
|
+
let i = (n = K[t]) == null ? void 0 : n.prototype;
|
|
2067
|
+
!(i == null || (r = i.hasOwnProperty) == null) && r.call(i, "addEventListener") && (M(i, "addEventListener", function(t) {
|
|
1721
2068
|
return function(n, r, i) {
|
|
1722
2069
|
if (n === "click" || n == "keypress") try {
|
|
1723
2070
|
let r = this.__sentry_instrumentation_handlers__ = this.__sentry_instrumentation_handlers__ || {}, a = r[n] = r[n] || { refCount: 0 };
|
|
1724
2071
|
if (!a.handler) {
|
|
1725
|
-
let r =
|
|
2072
|
+
let r = Vi(e);
|
|
1726
2073
|
a.handler = r, t.call(this, n, r, i);
|
|
1727
2074
|
}
|
|
1728
2075
|
a.refCount++;
|
|
1729
2076
|
} catch {}
|
|
1730
2077
|
return t.call(this, n, r, i);
|
|
1731
2078
|
};
|
|
1732
|
-
}),
|
|
2079
|
+
}), M(i, "removeEventListener", function(e) {
|
|
1733
2080
|
return function(t, n, r) {
|
|
1734
2081
|
if (t === "click" || t == "keypress") try {
|
|
1735
2082
|
let n = this.__sentry_instrumentation_handlers__ || {}, i = n[t];
|
|
@@ -1740,33 +2087,33 @@ function ni() {
|
|
|
1740
2087
|
}));
|
|
1741
2088
|
});
|
|
1742
2089
|
}
|
|
1743
|
-
function
|
|
1744
|
-
if (e.type !==
|
|
2090
|
+
function zi(e) {
|
|
2091
|
+
if (e.type !== Fi) return !1;
|
|
1745
2092
|
try {
|
|
1746
|
-
if (!e.target || e.target._sentryId !==
|
|
2093
|
+
if (!e.target || e.target._sentryId !== Ii) return !1;
|
|
1747
2094
|
} catch {}
|
|
1748
2095
|
return !0;
|
|
1749
2096
|
}
|
|
1750
|
-
function
|
|
2097
|
+
function Bi(e, t) {
|
|
1751
2098
|
return e === "keypress" ? t != null && t.tagName ? !(t.tagName === "INPUT" || t.tagName === "TEXTAREA" || t.isContentEditable) : !0 : !1;
|
|
1752
2099
|
}
|
|
1753
|
-
function
|
|
2100
|
+
function Vi(e, t = !1) {
|
|
1754
2101
|
return (n) => {
|
|
1755
2102
|
if (!n || n._sentryCaptured) return;
|
|
1756
|
-
let r =
|
|
1757
|
-
if (
|
|
1758
|
-
|
|
2103
|
+
let r = Hi(n);
|
|
2104
|
+
if (Bi(n.type, r)) return;
|
|
2105
|
+
y(n, "_sentryCaptured", !0), r && !r._sentryId && y(r, "_sentryId", x());
|
|
1759
2106
|
let i = n.type === "keypress" ? "input" : n.type;
|
|
1760
|
-
|
|
2107
|
+
zi(n) || (e({
|
|
1761
2108
|
event: n,
|
|
1762
2109
|
name: i,
|
|
1763
2110
|
global: t
|
|
1764
|
-
}),
|
|
1765
|
-
|
|
1766
|
-
},
|
|
2111
|
+
}), Fi = n.type, Ii = r ? r._sentryId : void 0), clearTimeout(Pi), Pi = K.setTimeout(() => {
|
|
2112
|
+
Ii = void 0, Fi = void 0;
|
|
2113
|
+
}, Ni);
|
|
1767
2114
|
};
|
|
1768
2115
|
}
|
|
1769
|
-
function
|
|
2116
|
+
function Hi(e) {
|
|
1770
2117
|
try {
|
|
1771
2118
|
return e.target;
|
|
1772
2119
|
} catch {
|
|
@@ -1774,27 +2121,27 @@ function oi(e) {
|
|
|
1774
2121
|
}
|
|
1775
2122
|
}
|
|
1776
2123
|
//#endregion
|
|
1777
|
-
//#region ../../node_modules/.pnpm/@sentry+browser-utils@10.
|
|
1778
|
-
var
|
|
1779
|
-
function
|
|
2124
|
+
//#region ../../node_modules/.pnpm/@sentry+browser-utils@10.68.0/node_modules/@sentry/browser-utils/build/esm/instrument/history.js
|
|
2125
|
+
var Y;
|
|
2126
|
+
function Ui(e) {
|
|
1780
2127
|
let t = "history";
|
|
1781
|
-
|
|
2128
|
+
L(t, e), R(t, Wi);
|
|
1782
2129
|
}
|
|
1783
|
-
function
|
|
1784
|
-
if (
|
|
1785
|
-
let e =
|
|
1786
|
-
|
|
2130
|
+
function Wi() {
|
|
2131
|
+
if (K.addEventListener("popstate", () => {
|
|
2132
|
+
let e = K.location.href, t = Y;
|
|
2133
|
+
Y = e, t !== e && z("history", {
|
|
1787
2134
|
from: t,
|
|
1788
2135
|
to: e
|
|
1789
2136
|
});
|
|
1790
|
-
}), !
|
|
2137
|
+
}), !Ur()) return;
|
|
1791
2138
|
function e(e) {
|
|
1792
2139
|
return function(...t) {
|
|
1793
2140
|
let n = t.length > 2 ? t[2] : void 0;
|
|
1794
2141
|
if (n) {
|
|
1795
|
-
let r =
|
|
1796
|
-
if (
|
|
1797
|
-
|
|
2142
|
+
let r = Y, i = Gi(String(n));
|
|
2143
|
+
if (Y = i, r === i) return e.apply(this, t);
|
|
2144
|
+
z("history", {
|
|
1798
2145
|
from: r,
|
|
1799
2146
|
to: i
|
|
1800
2147
|
});
|
|
@@ -1802,151 +2149,91 @@ function li() {
|
|
|
1802
2149
|
return e.apply(this, t);
|
|
1803
2150
|
};
|
|
1804
2151
|
}
|
|
1805
|
-
|
|
2152
|
+
M(K.history, "pushState", e), M(K.history, "replaceState", e);
|
|
1806
2153
|
}
|
|
1807
|
-
function
|
|
2154
|
+
function Gi(e) {
|
|
1808
2155
|
try {
|
|
1809
|
-
return new URL(e,
|
|
2156
|
+
return new URL(e, K.location.origin).toString();
|
|
1810
2157
|
} catch {
|
|
1811
2158
|
return e;
|
|
1812
2159
|
}
|
|
1813
2160
|
}
|
|
1814
2161
|
//#endregion
|
|
1815
|
-
//#region ../../node_modules/.pnpm/@sentry+browser-utils@10.
|
|
1816
|
-
var
|
|
1817
|
-
function
|
|
1818
|
-
let t =
|
|
2162
|
+
//#region ../../node_modules/.pnpm/@sentry+browser-utils@10.68.0/node_modules/@sentry/browser-utils/build/esm/getNativeImplementation.js
|
|
2163
|
+
var Ki = {};
|
|
2164
|
+
function qi(e) {
|
|
2165
|
+
let t = Ki[e];
|
|
1819
2166
|
if (t) return t;
|
|
1820
|
-
let n =
|
|
1821
|
-
if (
|
|
1822
|
-
let r =
|
|
2167
|
+
let n = K[e];
|
|
2168
|
+
if (Gr(n)) return Ki[e] = n.bind(K);
|
|
2169
|
+
let r = K.document;
|
|
1823
2170
|
if (r && typeof r.createElement == "function") try {
|
|
1824
2171
|
let t = r.createElement("iframe");
|
|
1825
2172
|
t.hidden = !0, r.head.appendChild(t);
|
|
1826
2173
|
let i = t.contentWindow;
|
|
1827
2174
|
i != null && i[e] && (n = i[e]), r.head.removeChild(t);
|
|
1828
2175
|
} catch (t) {
|
|
1829
|
-
|
|
2176
|
+
Ti && A.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `, t);
|
|
1830
2177
|
}
|
|
1831
|
-
return n && (
|
|
2178
|
+
return n && (Ki[e] = n.bind(K));
|
|
1832
2179
|
}
|
|
1833
|
-
function
|
|
1834
|
-
|
|
2180
|
+
function Ji(e) {
|
|
2181
|
+
Ki[e] = void 0;
|
|
1835
2182
|
}
|
|
1836
2183
|
//#endregion
|
|
1837
|
-
//#region ../../node_modules/.pnpm/@sentry+browser-utils@10.
|
|
1838
|
-
var
|
|
1839
|
-
function
|
|
1840
|
-
|
|
2184
|
+
//#region ../../node_modules/.pnpm/@sentry+browser-utils@10.68.0/node_modules/@sentry/browser-utils/build/esm/instrument/xhr.js
|
|
2185
|
+
var X = "__sentry_xhr_v3__";
|
|
2186
|
+
function Yi(e) {
|
|
2187
|
+
L("xhr", e), R("xhr", Xi);
|
|
1841
2188
|
}
|
|
1842
|
-
function
|
|
1843
|
-
if (!
|
|
2189
|
+
function Xi() {
|
|
2190
|
+
if (!K.XMLHttpRequest) return;
|
|
1844
2191
|
let e = XMLHttpRequest.prototype;
|
|
1845
2192
|
e.open = new Proxy(e.open, { apply(e, t, n) {
|
|
1846
|
-
let r = /* @__PURE__ */ Error(), i =
|
|
2193
|
+
let r = /* @__PURE__ */ Error(), i = j() * 1e3, a = N(n[0]) ? n[0].toUpperCase() : void 0, o = Zi(n[1]);
|
|
1847
2194
|
if (!a || !o) return e.apply(t, n);
|
|
1848
|
-
t[
|
|
2195
|
+
t[X] = {
|
|
1849
2196
|
method: a,
|
|
1850
2197
|
url: o,
|
|
1851
2198
|
request_headers: {}
|
|
1852
2199
|
}, a === "POST" && o.match(/sentry_key/) && (t.__sentry_own_request__ = !0);
|
|
1853
2200
|
let s = () => {
|
|
1854
|
-
let e = t[
|
|
2201
|
+
let e = t[X];
|
|
1855
2202
|
if (e && t.readyState === 4) {
|
|
1856
2203
|
try {
|
|
1857
2204
|
e.status_code = t.status;
|
|
1858
2205
|
} catch {}
|
|
1859
|
-
|
|
1860
|
-
endTimestamp:
|
|
2206
|
+
z("xhr", {
|
|
2207
|
+
endTimestamp: j() * 1e3,
|
|
1861
2208
|
startTimestamp: i,
|
|
1862
2209
|
xhr: t,
|
|
1863
2210
|
virtualError: r
|
|
1864
|
-
});
|
|
2211
|
+
}), t.removeEventListener("readystatechange", s);
|
|
1865
2212
|
}
|
|
1866
2213
|
};
|
|
1867
2214
|
return "onreadystatechange" in t && typeof t.onreadystatechange == "function" ? t.onreadystatechange = new Proxy(t.onreadystatechange, { apply(e, t, n) {
|
|
1868
2215
|
return s(), e.apply(t, n);
|
|
1869
2216
|
} }) : t.addEventListener("readystatechange", s), t.setRequestHeader = new Proxy(t.setRequestHeader, { apply(e, t, n) {
|
|
1870
|
-
let [r, i] = n, a = t[
|
|
1871
|
-
return a &&
|
|
2217
|
+
let [r, i] = n, a = t[X];
|
|
2218
|
+
return a && N(r) && N(i) && (a.request_headers[r.toLowerCase()] = i), e.apply(t, n);
|
|
1872
2219
|
} }), e.apply(t, n);
|
|
1873
2220
|
} }), e.send = new Proxy(e.send, { apply(e, t, n) {
|
|
1874
|
-
let r = t[
|
|
1875
|
-
return r ? (n[0] !== void 0 && (r.body = n[0]),
|
|
1876
|
-
startTimestamp:
|
|
2221
|
+
let r = t[X];
|
|
2222
|
+
return r ? (n[0] !== void 0 && (r.body = n[0]), z("xhr", {
|
|
2223
|
+
startTimestamp: j() * 1e3,
|
|
1877
2224
|
xhr: t
|
|
1878
2225
|
}), e.apply(t, n)) : e.apply(t, n);
|
|
1879
2226
|
} });
|
|
1880
2227
|
}
|
|
1881
|
-
function
|
|
1882
|
-
if (
|
|
2228
|
+
function Zi(e) {
|
|
2229
|
+
if (N(e)) return e;
|
|
1883
2230
|
try {
|
|
1884
2231
|
return e.toString();
|
|
1885
2232
|
} catch {}
|
|
1886
2233
|
}
|
|
1887
2234
|
//#endregion
|
|
1888
|
-
//#region ../../node_modules/.pnpm/@sentry+browser-utils@10.
|
|
1889
|
-
|
|
1890
|
-
try {
|
|
1891
|
-
typeof Node < "u" && (q.parentNode = Object.getOwnPropertyDescriptor(Node.prototype, "parentNode").get), typeof Element < "u" && (q.tagName = Object.getOwnPropertyDescriptor(Element.prototype, "tagName").get, q.id = Object.getOwnPropertyDescriptor(Element.prototype, "id").get, q.className = Object.getOwnPropertyDescriptor(Element.prototype, "className").get, q.getAttribute = Element.prototype.getAttribute), typeof HTMLElement < "u" && (q.dataset = Object.getOwnPropertyDescriptor(HTMLElement.prototype, "dataset").get);
|
|
1892
|
-
} catch {}
|
|
1893
|
-
function J(e, t, n) {
|
|
1894
|
-
let r = q[t];
|
|
1895
|
-
if (r) try {
|
|
1896
|
-
return r.call(e, n);
|
|
1897
|
-
} catch {}
|
|
1898
|
-
let i = e[t];
|
|
1899
|
-
return typeof i == "function" ? i.call(e, n) : i;
|
|
1900
|
-
}
|
|
1901
|
-
function yi(e, t = {}) {
|
|
1902
|
-
if (!e) return "<unknown>";
|
|
1903
|
-
try {
|
|
1904
|
-
let n = e, r = [], i = 0, a = 0, o, s = Array.isArray(t) ? t : t.keyAttrs, c = !Array.isArray(t) && t.maxStringLength || vi;
|
|
1905
|
-
for (; n && i++ < 5 && (o = bi(n, s), !(o === "html" || i > 1 && a + r.length * 3 + o.length >= c));) r.push(o), a += o.length, n = J(n, "parentNode");
|
|
1906
|
-
return r.reverse().join(" > ");
|
|
1907
|
-
} catch {
|
|
1908
|
-
return "<unknown>";
|
|
1909
|
-
}
|
|
1910
|
-
}
|
|
1911
|
-
function bi(e, t) {
|
|
1912
|
-
let n = [], r = J(e, "tagName");
|
|
1913
|
-
if (!r) return "";
|
|
1914
|
-
if (typeof HTMLElement < "u" && e instanceof HTMLElement) {
|
|
1915
|
-
let t = J(e, "dataset");
|
|
1916
|
-
if (t) {
|
|
1917
|
-
if (t.sentryComponent) return t.sentryComponent;
|
|
1918
|
-
if (t.sentryElement) return t.sentryElement;
|
|
1919
|
-
}
|
|
1920
|
-
}
|
|
1921
|
-
n.push(r.toLowerCase());
|
|
1922
|
-
let i = t != null && t.length ? t.filter((t) => J(e, "getAttribute", t)).map((t) => [t, J(e, "getAttribute", t)]) : null;
|
|
1923
|
-
if (i != null && i.length) i.forEach((e) => {
|
|
1924
|
-
n.push(`[${e[0]}="${e[1]}"]`);
|
|
1925
|
-
});
|
|
1926
|
-
else {
|
|
1927
|
-
let t = J(e, "id");
|
|
1928
|
-
t && n.push(`#${t}`);
|
|
1929
|
-
let r = J(e, "className");
|
|
1930
|
-
if (r && D(r)) {
|
|
1931
|
-
let e = r.split(/\s+/);
|
|
1932
|
-
for (let t of e) n.push(`.${t}`);
|
|
1933
|
-
}
|
|
1934
|
-
}
|
|
1935
|
-
for (let t of [
|
|
1936
|
-
"aria-label",
|
|
1937
|
-
"type",
|
|
1938
|
-
"name",
|
|
1939
|
-
"title",
|
|
1940
|
-
"alt"
|
|
1941
|
-
]) {
|
|
1942
|
-
let r = J(e, "getAttribute", t);
|
|
1943
|
-
r && n.push(`[${t}="${r}"]`);
|
|
1944
|
-
}
|
|
1945
|
-
return n.join("");
|
|
1946
|
-
}
|
|
1947
|
-
//#endregion
|
|
1948
|
-
//#region ../../node_modules/.pnpm/@sentry+browser-utils@10.62.0/node_modules/@sentry/browser-utils/build/esm/is.js
|
|
1949
|
-
function xi(e) {
|
|
2235
|
+
//#region ../../node_modules/.pnpm/@sentry+browser-utils@10.68.0/node_modules/@sentry/browser-utils/build/esm/is.js
|
|
2236
|
+
function Qi(e) {
|
|
1950
2237
|
if (typeof Element > "u") return !1;
|
|
1951
2238
|
try {
|
|
1952
2239
|
return e instanceof Element;
|
|
@@ -1955,9 +2242,9 @@ function xi(e) {
|
|
|
1955
2242
|
}
|
|
1956
2243
|
}
|
|
1957
2244
|
//#endregion
|
|
1958
|
-
//#region ../../node_modules/.pnpm/@sentry+browser@10.
|
|
1959
|
-
var
|
|
1960
|
-
function
|
|
2245
|
+
//#region ../../node_modules/.pnpm/@sentry+browser@10.68.0/node_modules/@sentry/browser/build/npm/esm/prod/transports/fetch.js
|
|
2246
|
+
var $i = 40;
|
|
2247
|
+
function ea(e, t = qi("fetch")) {
|
|
1961
2248
|
let n = 0, r = 0;
|
|
1962
2249
|
async function i(i) {
|
|
1963
2250
|
let a = i.body.length;
|
|
@@ -1980,233 +2267,59 @@ function Ci(e, t = pi("fetch")) {
|
|
|
1980
2267
|
}
|
|
1981
2268
|
};
|
|
1982
2269
|
} catch (e) {
|
|
1983
|
-
throw
|
|
2270
|
+
throw Ji("fetch"), e;
|
|
1984
2271
|
} finally {
|
|
1985
2272
|
n -= a, r--;
|
|
1986
2273
|
}
|
|
1987
2274
|
}
|
|
1988
|
-
return
|
|
2275
|
+
return yn(e, i, pn(e.bufferSize || $i));
|
|
1989
2276
|
}
|
|
1990
2277
|
//#endregion
|
|
1991
|
-
//#region ../../node_modules/.pnpm/@sentry+browser@10.
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
2278
|
+
//#region ../../node_modules/.pnpm/@sentry+browser@10.68.0/node_modules/@sentry/browser/build/npm/esm/prod/debug-build.js
|
|
2279
|
+
var Z = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, ta = 30, na = 50;
|
|
2280
|
+
function ra(e, t, n, r) {
|
|
2281
|
+
let i = {
|
|
2282
|
+
filename: e,
|
|
2283
|
+
function: t === "<anonymous>" ? "?" : t,
|
|
2284
|
+
in_app: !0
|
|
1996
2285
|
};
|
|
1997
|
-
return n
|
|
2286
|
+
return n !== void 0 && (i.lineno = n), r !== void 0 && (i.colno = r), i;
|
|
1998
2287
|
}
|
|
1999
|
-
|
|
2000
|
-
let
|
|
2001
|
-
if (
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
};
|
|
2005
|
-
let c = {
|
|
2006
|
-
exception: { values: [{
|
|
2007
|
-
type: Pe(t) ? t.constructor.name : r ? "UnhandledRejection" : "Error",
|
|
2008
|
-
value: Ri(t, { isUnhandledRejection: r })
|
|
2009
|
-
}] },
|
|
2010
|
-
extra: s
|
|
2288
|
+
var ia = /^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i, aa = /^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i, oa = /\((\S*)(?::(\d+))(?::(\d+))\)/, sa = /at (.+?) ?\(data:(.+?),/, ca = [ta, (e) => {
|
|
2289
|
+
let t = e.match(sa);
|
|
2290
|
+
if (t) return {
|
|
2291
|
+
filename: `<data:${t[2]}>`,
|
|
2292
|
+
function: t[1]
|
|
2011
2293
|
};
|
|
2294
|
+
let n = ia.exec(e);
|
|
2012
2295
|
if (n) {
|
|
2013
|
-
let t =
|
|
2014
|
-
|
|
2015
|
-
}
|
|
2016
|
-
return c;
|
|
2017
|
-
}
|
|
2018
|
-
function Ei(e, t) {
|
|
2019
|
-
return { exception: { values: [wi(e, t)] } };
|
|
2020
|
-
}
|
|
2021
|
-
function Di(e, t) {
|
|
2022
|
-
let n = t.stacktrace || t.stack || "", r = ki(t), i = Ai(t);
|
|
2023
|
-
try {
|
|
2024
|
-
return e(n, r, i);
|
|
2025
|
-
} catch {}
|
|
2026
|
-
return [];
|
|
2027
|
-
}
|
|
2028
|
-
var Oi = /Minified React error #\d+;/i;
|
|
2029
|
-
function ki(e) {
|
|
2030
|
-
return e && Oi.test(e.message) ? 1 : 0;
|
|
2031
|
-
}
|
|
2032
|
-
function Ai(e) {
|
|
2033
|
-
return typeof e.framesToPop == "number" ? e.framesToPop : 0;
|
|
2034
|
-
}
|
|
2035
|
-
function ji(e) {
|
|
2036
|
-
return typeof WebAssembly < "u" && WebAssembly.Exception !== void 0 ? e instanceof WebAssembly.Exception : !1;
|
|
2037
|
-
}
|
|
2038
|
-
function Mi(e) {
|
|
2039
|
-
let t = e == null ? void 0 : e.name;
|
|
2040
|
-
return !t && ji(e) ? e.message && Array.isArray(e.message) && e.message.length == 2 ? e.message[0] : "WebAssembly.Exception" : t;
|
|
2041
|
-
}
|
|
2042
|
-
function Ni(e) {
|
|
2043
|
-
let t = e == null ? void 0 : e.message;
|
|
2044
|
-
return ji(e) ? Array.isArray(e.message) && e.message.length == 2 ? e.message[1] : "wasm exception" : t ? t.error && typeof t.error.message == "string" ? qr(t.error) : qr(e) : "No error message";
|
|
2045
|
-
}
|
|
2046
|
-
function Pi(e, t, n, r) {
|
|
2047
|
-
let i = Ii(e, t, (n == null ? void 0 : n.syntheticException) || void 0, r);
|
|
2048
|
-
return p(i), i.level = "error", n != null && n.event_id && (i.event_id = n.event_id), ye(i);
|
|
2049
|
-
}
|
|
2050
|
-
function Fi(e, t, n = "info", r, i) {
|
|
2051
|
-
let a = Li(e, t, (r == null ? void 0 : r.syntheticException) || void 0, i);
|
|
2052
|
-
return a.level = n, r != null && r.event_id && (a.event_id = r.event_id), ye(a);
|
|
2053
|
-
}
|
|
2054
|
-
function Ii(e, t, n, r, i) {
|
|
2055
|
-
let a;
|
|
2056
|
-
if (Ue(t) && t.error) return Ei(e, t.error);
|
|
2057
|
-
if (oe(t) || f(t)) {
|
|
2058
|
-
let i = t;
|
|
2059
|
-
if ("stack" in t) {
|
|
2060
|
-
var o;
|
|
2061
|
-
a = Ei(e, t);
|
|
2062
|
-
let i = (o = a.exception) == null || (o = o.values) == null ? void 0 : o[0];
|
|
2063
|
-
if (r && n && i && !i.stacktrace) {
|
|
2064
|
-
let t = Di(e, n);
|
|
2065
|
-
t.length && (i.stacktrace = { frames: t }, p(a, { synthetic: !0 }));
|
|
2066
|
-
}
|
|
2067
|
-
} else {
|
|
2068
|
-
let t = i.name || (oe(i) ? "DOMError" : "DOMException"), o = i.message ? `${t}: ${i.message}` : t;
|
|
2069
|
-
a = Li(e, o, n, r), ke(a, o);
|
|
2070
|
-
}
|
|
2071
|
-
return "code" in i && (a.tags = {
|
|
2072
|
-
...a.tags,
|
|
2073
|
-
"DOMException.code": `${i.code}`
|
|
2074
|
-
}), a;
|
|
2075
|
-
}
|
|
2076
|
-
return xe(t) ? Ei(e, t) : ge(t) || Pe(t) ? (a = Ti(e, t, n, i), p(a, { synthetic: !0 }), a) : (a = Li(e, t, n, r), ke(a, `${t}`, void 0), p(a, { synthetic: !0 }), a);
|
|
2077
|
-
}
|
|
2078
|
-
function Li(e, t, n, r) {
|
|
2079
|
-
let i = {};
|
|
2080
|
-
if (r && n) {
|
|
2081
|
-
let r = Di(e, n);
|
|
2082
|
-
r.length && (i.exception = { values: [{
|
|
2083
|
-
value: t,
|
|
2084
|
-
stacktrace: { frames: r }
|
|
2085
|
-
}] }), p(i, { synthetic: !0 });
|
|
2086
|
-
}
|
|
2087
|
-
if (Oe(t)) {
|
|
2088
|
-
let { __sentry_template_string__: e, __sentry_template_values__: n } = t;
|
|
2089
|
-
return i.logentry = {
|
|
2090
|
-
message: e,
|
|
2091
|
-
params: n
|
|
2092
|
-
}, i;
|
|
2093
|
-
}
|
|
2094
|
-
return i.message = t, i;
|
|
2095
|
-
}
|
|
2096
|
-
function Ri(e, { isUnhandledRejection: t }) {
|
|
2097
|
-
let n = ne(e), r = t ? "promise rejection" : "exception";
|
|
2098
|
-
return Ue(e) ? `Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\`` : Pe(e) ? `Event \`${zi(e)}\` (type=${e.type}) captured as ${r}` : `Object captured as ${r} with keys: ${n}`;
|
|
2099
|
-
}
|
|
2100
|
-
function zi(e) {
|
|
2101
|
-
try {
|
|
2102
|
-
let t = Object.getPrototypeOf(e);
|
|
2103
|
-
return t ? t.constructor.name : void 0;
|
|
2104
|
-
} catch {}
|
|
2105
|
-
}
|
|
2106
|
-
function Bi(e) {
|
|
2107
|
-
return Object.values(e).find((e) => e instanceof Error);
|
|
2108
|
-
}
|
|
2109
|
-
//#endregion
|
|
2110
|
-
//#region ../../node_modules/.pnpm/@sentry+browser@10.62.0/node_modules/@sentry/browser/build/npm/esm/prod/helpers.js
|
|
2111
|
-
var Y = P, Vi = 0;
|
|
2112
|
-
function Hi() {
|
|
2113
|
-
return Vi > 0;
|
|
2114
|
-
}
|
|
2115
|
-
function Ui() {
|
|
2116
|
-
Vi++, setTimeout(() => {
|
|
2117
|
-
Vi--;
|
|
2118
|
-
});
|
|
2119
|
-
}
|
|
2120
|
-
function X(e, t = {}) {
|
|
2121
|
-
function n(e) {
|
|
2122
|
-
return typeof e == "function";
|
|
2296
|
+
let [, e, t, r] = n;
|
|
2297
|
+
return ra(e, "?", +t, +r);
|
|
2123
2298
|
}
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2299
|
+
let r = aa.exec(e);
|
|
2300
|
+
if (r) {
|
|
2301
|
+
var i;
|
|
2302
|
+
if (((i = r[2]) == null ? void 0 : i.indexOf("eval")) === 0) {
|
|
2303
|
+
let e = oa.exec(r[2]);
|
|
2304
|
+
e && (r[2] = e[1], r[3] = e[2], r[4] = e[3]);
|
|
2129
2305
|
}
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
return e;
|
|
2306
|
+
let [e, t] = fa(r[1] || "?", r[2]);
|
|
2307
|
+
return ra(t, e, r[3] ? +r[3] : void 0, r[4] ? +r[4] : void 0);
|
|
2133
2308
|
}
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
throw Ui(), Ke((r) => {
|
|
2141
|
-
r.addEventProcessor((e) => (t.mechanism && (ke(e, void 0, void 0), p(e, t.mechanism)), e.extra = {
|
|
2142
|
-
...e.extra,
|
|
2143
|
-
arguments: n
|
|
2144
|
-
}, e)), Ne(e);
|
|
2145
|
-
}), e;
|
|
2146
|
-
} finally {
|
|
2147
|
-
P._sentryWrappedDepth = (P._sentryWrappedDepth || 0) - 1;
|
|
2148
|
-
}
|
|
2149
|
-
};
|
|
2150
|
-
try {
|
|
2151
|
-
for (let t in e) Object.prototype.hasOwnProperty.call(e, t) && (r[t] = e[t]);
|
|
2152
|
-
} catch {}
|
|
2153
|
-
pe(r, e), j(e, "__sentry_wrapped__", r);
|
|
2154
|
-
try {
|
|
2155
|
-
Object.getOwnPropertyDescriptor(r, "name").configurable && Object.defineProperty(r, "name", { get() {
|
|
2156
|
-
return e.name;
|
|
2157
|
-
} });
|
|
2158
|
-
} catch {}
|
|
2159
|
-
return r;
|
|
2160
|
-
}
|
|
2161
|
-
function Wi() {
|
|
2162
|
-
let e = Yr(), { referrer: t } = Y.document || {}, { userAgent: n } = Y.navigator || {};
|
|
2163
|
-
return {
|
|
2164
|
-
url: e,
|
|
2165
|
-
headers: {
|
|
2166
|
-
...t && { Referer: t },
|
|
2167
|
-
...n && { "User-Agent": n }
|
|
2309
|
+
}], la = /^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i, ua = /(\S+) line (\d+)(?: > eval line \d+)* > eval/i, da = Oe(ca, [na, (e) => {
|
|
2310
|
+
let t = la.exec(e);
|
|
2311
|
+
if (t) {
|
|
2312
|
+
if (t[3] && t[3].indexOf(" > eval") > -1) {
|
|
2313
|
+
let e = ua.exec(t[3]);
|
|
2314
|
+
e && (t[1] = t[1] || "eval", t[3] = e[1], t[4] = e[2], t[5] = "");
|
|
2168
2315
|
}
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
//#endregion
|
|
2172
|
-
//#region ../../node_modules/.pnpm/@sentry+browser@10.62.0/node_modules/@sentry/browser/build/npm/esm/prod/client.js
|
|
2173
|
-
var Gi = class extends Pn {
|
|
2174
|
-
constructor(e) {
|
|
2175
|
-
var t, n;
|
|
2176
|
-
let r = Ki(e);
|
|
2177
|
-
qn(r, "browser", ["browser"], Y.SENTRY_SDK_SOURCE || Zt()), super(r);
|
|
2178
|
-
let { userInfo: i } = this.getDataCollectionOptions();
|
|
2179
|
-
(t = r._metadata) != null && t.sdk && (r._metadata.sdk.settings = {
|
|
2180
|
-
infer_ip: i ? "auto" : "never",
|
|
2181
|
-
...r._metadata.sdk.settings
|
|
2182
|
-
});
|
|
2183
|
-
let { sendClientReports: a, enableLogs: o, _experiments: s, enableMetrics: c } = this._options, l = (n = c == null ? s == null ? void 0 : s.enableMetrics : c) == null ? !0 : n;
|
|
2184
|
-
Y.document && (a || o || l) && Y.document.addEventListener("visibilitychange", () => {
|
|
2185
|
-
Y.document.visibilityState === "hidden" && (a && this._flushOutcomes(), o && rn(this), l && ln(this));
|
|
2186
|
-
}), i && this.on("beforeSendSession", Kn);
|
|
2187
|
-
}
|
|
2188
|
-
eventFromException(e, t) {
|
|
2189
|
-
return Pi(this._options.stackParser, e, t, this._options.attachStacktrace);
|
|
2190
|
-
}
|
|
2191
|
-
eventFromMessage(e, t = "info", n) {
|
|
2192
|
-
return Fi(this._options.stackParser, e, t, n, this._options.attachStacktrace);
|
|
2193
|
-
}
|
|
2194
|
-
_prepareEvent(e, t, n, r) {
|
|
2195
|
-
return e.platform = e.platform || "javascript", super._prepareEvent(e, t, n, r);
|
|
2316
|
+
let e = t[3], n = t[1] || "?";
|
|
2317
|
+
return [n, e] = fa(n, e), ra(e, n, t[4] ? +t[4] : void 0, t[5] ? +t[5] : void 0);
|
|
2196
2318
|
}
|
|
2197
|
-
}
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
release: typeof __SENTRY_RELEASE__ == "string" ? __SENTRY_RELEASE__ : (t = Y.SENTRY_RELEASE) == null ? void 0 : t.id,
|
|
2202
|
-
sendClientReports: !0,
|
|
2203
|
-
parentSpanIsAlwaysRootSpan: !0,
|
|
2204
|
-
...e
|
|
2205
|
-
};
|
|
2206
|
-
}
|
|
2207
|
-
//#endregion
|
|
2208
|
-
//#region ../../node_modules/.pnpm/@sentry+browser@10.62.0/node_modules/@sentry/browser/build/npm/esm/prod/debug-build.js
|
|
2209
|
-
var Z = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, qi = 1024, Ji = "Breadcrumbs", Yi = H(((e = {}) => {
|
|
2319
|
+
}]), fa = (e, t) => {
|
|
2320
|
+
let n = e.indexOf("safari-extension") !== -1, r = e.indexOf("safari-web-extension") !== -1;
|
|
2321
|
+
return n || r ? [e.indexOf("@") === -1 ? "?" : e.split("@")[0], n ? `safari-extension:${t}` : `safari-web-extension:${t}`] : [e, t];
|
|
2322
|
+
}, pa = 1024, ma = "Breadcrumbs", ha = V(((e = {}) => {
|
|
2210
2323
|
let t = {
|
|
2211
2324
|
console: !0,
|
|
2212
2325
|
dom: !0,
|
|
@@ -2217,33 +2330,33 @@ var Z = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, qi = 1024, Ji = "Brea
|
|
|
2217
2330
|
...e
|
|
2218
2331
|
};
|
|
2219
2332
|
return {
|
|
2220
|
-
name:
|
|
2333
|
+
name: ma,
|
|
2221
2334
|
setup(e) {
|
|
2222
|
-
t.console &&
|
|
2335
|
+
t.console && Or(va(e)), t.dom && Li(_a(e, t.dom)), t.xhr && Yi(ya(e)), t.fetch && qr(ba(e)), t.history && Ui(xa(e)), t.sentry && e.on("beforeSendEvent", ga(e));
|
|
2223
2336
|
}
|
|
2224
2337
|
};
|
|
2225
2338
|
}));
|
|
2226
|
-
function
|
|
2339
|
+
function ga(e) {
|
|
2227
2340
|
return function(t) {
|
|
2228
|
-
|
|
2341
|
+
h() === e && H({
|
|
2229
2342
|
category: `sentry.${t.type === "transaction" ? "transaction" : "event"}`,
|
|
2230
2343
|
event_id: t.event_id,
|
|
2231
2344
|
level: t.level,
|
|
2232
|
-
message:
|
|
2345
|
+
message: v(t)
|
|
2233
2346
|
}, { event: t });
|
|
2234
2347
|
};
|
|
2235
2348
|
}
|
|
2236
|
-
function
|
|
2349
|
+
function _a(e, t) {
|
|
2237
2350
|
return function(n) {
|
|
2238
|
-
if (
|
|
2351
|
+
if (h() !== e) return;
|
|
2239
2352
|
let r, i, a = typeof t == "object" ? t.serializeAttribute : void 0, o = typeof t == "object" && typeof t.maxStringLength == "number" ? t.maxStringLength : void 0;
|
|
2240
|
-
o && o >
|
|
2353
|
+
o && o > pa && (Z && A.warn(`\`dom.maxStringLength\` cannot exceed ${pa}, but a value of ${o} was configured. Sentry will use ${pa} instead.`), o = pa), typeof a == "string" && (a = [a]);
|
|
2241
2354
|
try {
|
|
2242
|
-
let e = n.event, t =
|
|
2243
|
-
r =
|
|
2355
|
+
let e = n.event, t = Sa(e) ? e.target : e;
|
|
2356
|
+
r = ji(t, {
|
|
2244
2357
|
keyAttrs: a,
|
|
2245
2358
|
maxStringLength: o
|
|
2246
|
-
}), i =
|
|
2359
|
+
}), i = ti(t);
|
|
2247
2360
|
} catch {
|
|
2248
2361
|
r = "<unknown>";
|
|
2249
2362
|
}
|
|
@@ -2252,37 +2365,37 @@ function Zi(e, t) {
|
|
|
2252
2365
|
category: `ui.${n.name}`,
|
|
2253
2366
|
message: r
|
|
2254
2367
|
};
|
|
2255
|
-
i && (s.data = { "ui.component_name": i }),
|
|
2368
|
+
i && (s.data = { "ui.component_name": i }), H(s, {
|
|
2256
2369
|
event: n.event,
|
|
2257
2370
|
name: n.name,
|
|
2258
2371
|
global: n.global
|
|
2259
2372
|
});
|
|
2260
2373
|
};
|
|
2261
2374
|
}
|
|
2262
|
-
function
|
|
2375
|
+
function va(e) {
|
|
2263
2376
|
return function(t) {
|
|
2264
|
-
if (
|
|
2377
|
+
if (h() !== e) return;
|
|
2265
2378
|
let n = {
|
|
2266
2379
|
category: "console",
|
|
2267
2380
|
data: {
|
|
2268
2381
|
arguments: t.args,
|
|
2269
2382
|
logger: "console"
|
|
2270
2383
|
},
|
|
2271
|
-
level:
|
|
2272
|
-
message:
|
|
2384
|
+
level: jr(t.level),
|
|
2385
|
+
message: ae(t.args, " ")
|
|
2273
2386
|
};
|
|
2274
|
-
if (t.level === "assert") if (t.args[0] === !1) n.message = `Assertion failed: ${
|
|
2387
|
+
if (t.level === "assert") if (t.args[0] === !1) n.message = `Assertion failed: ${ae(t.args.slice(1), " ") || "console.assert"}`, n.data.arguments = t.args.slice(1);
|
|
2275
2388
|
else return;
|
|
2276
|
-
|
|
2389
|
+
H(n, {
|
|
2277
2390
|
input: t.args,
|
|
2278
2391
|
level: t.level
|
|
2279
2392
|
});
|
|
2280
2393
|
};
|
|
2281
2394
|
}
|
|
2282
|
-
function
|
|
2395
|
+
function ya(e) {
|
|
2283
2396
|
return function(t) {
|
|
2284
|
-
if (
|
|
2285
|
-
let { startTimestamp: n, endTimestamp: r } = t, i = t.xhr[
|
|
2397
|
+
if (h() !== e) return;
|
|
2398
|
+
let { startTimestamp: n, endTimestamp: r } = t, i = t.xhr[X];
|
|
2286
2399
|
if (!n || !r || !i) return;
|
|
2287
2400
|
let { method: a, url: o, status_code: s, body: c } = i, l = {
|
|
2288
2401
|
method: a,
|
|
@@ -2297,14 +2410,14 @@ function $i(e) {
|
|
|
2297
2410
|
category: "xhr",
|
|
2298
2411
|
data: l,
|
|
2299
2412
|
type: "http",
|
|
2300
|
-
level:
|
|
2413
|
+
level: Hr(s)
|
|
2301
2414
|
};
|
|
2302
|
-
e.emit("beforeOutgoingRequestBreadcrumb", d, u),
|
|
2415
|
+
e.emit("beforeOutgoingRequestBreadcrumb", d, u), H(d, u);
|
|
2303
2416
|
};
|
|
2304
2417
|
}
|
|
2305
|
-
function
|
|
2418
|
+
function ba(e) {
|
|
2306
2419
|
return function(t) {
|
|
2307
|
-
if (
|
|
2420
|
+
if (h() !== e) return;
|
|
2308
2421
|
let { startTimestamp: n, endTimestamp: r } = t;
|
|
2309
2422
|
if (r && !(t.fetchData.url.match(/sentry_key/) && t.fetchData.method === "POST")) if (t.error) {
|
|
2310
2423
|
let i = {
|
|
@@ -2318,7 +2431,7 @@ function ea(e) {
|
|
|
2318
2431
|
level: "error",
|
|
2319
2432
|
type: "http"
|
|
2320
2433
|
};
|
|
2321
|
-
e.emit("beforeOutgoingRequestBreadcrumb", a, i),
|
|
2434
|
+
e.emit("beforeOutgoingRequestBreadcrumb", a, i), H(a, i);
|
|
2322
2435
|
} else {
|
|
2323
2436
|
let i = t.response, a = {
|
|
2324
2437
|
...t.fetchData,
|
|
@@ -2332,17 +2445,17 @@ function ea(e) {
|
|
|
2332
2445
|
category: "fetch",
|
|
2333
2446
|
data: a,
|
|
2334
2447
|
type: "http",
|
|
2335
|
-
level:
|
|
2448
|
+
level: Hr(a.status_code)
|
|
2336
2449
|
};
|
|
2337
|
-
e.emit("beforeOutgoingRequestBreadcrumb", s, o),
|
|
2450
|
+
e.emit("beforeOutgoingRequestBreadcrumb", s, o), H(s, o);
|
|
2338
2451
|
}
|
|
2339
2452
|
};
|
|
2340
2453
|
}
|
|
2341
|
-
function
|
|
2454
|
+
function xa(e) {
|
|
2342
2455
|
return function(t) {
|
|
2343
|
-
if (
|
|
2344
|
-
let n = t.from, r = t.to, i =
|
|
2345
|
-
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),
|
|
2456
|
+
if (h() !== e) return;
|
|
2457
|
+
let n = t.from, r = t.to, i = $n(W.location.href), a = n ? $n(n) : void 0, o = $n(r);
|
|
2458
|
+
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), H({
|
|
2346
2459
|
category: "navigation",
|
|
2347
2460
|
data: {
|
|
2348
2461
|
from: n,
|
|
@@ -2351,12 +2464,12 @@ function ta(e) {
|
|
|
2351
2464
|
});
|
|
2352
2465
|
};
|
|
2353
2466
|
}
|
|
2354
|
-
function
|
|
2467
|
+
function Sa(e) {
|
|
2355
2468
|
return !!e && !!e.target;
|
|
2356
2469
|
}
|
|
2357
2470
|
//#endregion
|
|
2358
|
-
//#region ../../node_modules/.pnpm/@sentry+browser@10.
|
|
2359
|
-
var
|
|
2471
|
+
//#region ../../node_modules/.pnpm/@sentry+browser@10.68.0/node_modules/@sentry/browser/build/npm/esm/prod/integrations/browserapierrors.js
|
|
2472
|
+
var Ca = "EventTarget,Window,Node,ApplicationCache,AudioTrackList,BroadcastChannel,ChannelMergerNode,CryptoOperation,EventSource,FileReader,HTMLUnknownElement,IDBDatabase,IDBRequest,IDBTransaction,KeyOperation,MediaController,MessagePort,ModalWindow,Notification,SVGElementInstance,Screen,SharedWorker,TextTrack,TextTrackCue,TextTrackList,WebSocket,WebSocketWorker,Worker,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload".split(","), wa = "BrowserApiErrors", Ta = V(((e = {}) => {
|
|
2360
2473
|
let t = {
|
|
2361
2474
|
XMLHttpRequest: !0,
|
|
2362
2475
|
eventTarget: !0,
|
|
@@ -2367,33 +2480,33 @@ var ra = "EventTarget,Window,Node,ApplicationCache,AudioTrackList,BroadcastChann
|
|
|
2367
2480
|
...e
|
|
2368
2481
|
};
|
|
2369
2482
|
return {
|
|
2370
|
-
name:
|
|
2483
|
+
name: wa,
|
|
2371
2484
|
setupOnce() {
|
|
2372
|
-
t.setTimeout &&
|
|
2485
|
+
t.setTimeout && M(W, "setTimeout", Ea), t.setInterval && M(W, "setInterval", Ea), t.requestAnimationFrame && M(W, "requestAnimationFrame", Da), t.XMLHttpRequest && "XMLHttpRequest" in W && M(XMLHttpRequest.prototype, "send", Oa);
|
|
2373
2486
|
let e = t.eventTarget;
|
|
2374
|
-
e && (Array.isArray(e) ? e :
|
|
2487
|
+
e && (Array.isArray(e) ? e : Ca).forEach((e) => ka(e, t));
|
|
2375
2488
|
}
|
|
2376
2489
|
};
|
|
2377
2490
|
}));
|
|
2378
|
-
function
|
|
2491
|
+
function Ea(e) {
|
|
2379
2492
|
return function(...t) {
|
|
2380
2493
|
let n = t[0];
|
|
2381
|
-
return t[0] =
|
|
2494
|
+
return t[0] = G(n, { mechanism: {
|
|
2382
2495
|
handled: !1,
|
|
2383
|
-
type: `auto.browser.browserapierrors.${
|
|
2496
|
+
type: `auto.browser.browserapierrors.${k(e)}`
|
|
2384
2497
|
} }), e.apply(this, t);
|
|
2385
2498
|
};
|
|
2386
2499
|
}
|
|
2387
|
-
function
|
|
2500
|
+
function Da(e) {
|
|
2388
2501
|
return function(t) {
|
|
2389
|
-
return e.apply(this, [
|
|
2390
|
-
data: { handler:
|
|
2502
|
+
return e.apply(this, [G(t, { mechanism: {
|
|
2503
|
+
data: { handler: k(e) },
|
|
2391
2504
|
handled: !1,
|
|
2392
2505
|
type: "auto.browser.browserapierrors.requestAnimationFrame"
|
|
2393
2506
|
} })]);
|
|
2394
2507
|
};
|
|
2395
2508
|
}
|
|
2396
|
-
function
|
|
2509
|
+
function Oa(e) {
|
|
2397
2510
|
return function(...t) {
|
|
2398
2511
|
let n = this;
|
|
2399
2512
|
return [
|
|
@@ -2402,37 +2515,37 @@ function ca(e) {
|
|
|
2402
2515
|
"onprogress",
|
|
2403
2516
|
"onreadystatechange"
|
|
2404
2517
|
].forEach((e) => {
|
|
2405
|
-
e in n && typeof n[e] == "function" &&
|
|
2518
|
+
e in n && typeof n[e] == "function" && M(n, e, function(t) {
|
|
2406
2519
|
let n = { mechanism: {
|
|
2407
|
-
data: { handler:
|
|
2520
|
+
data: { handler: k(t) },
|
|
2408
2521
|
handled: !1,
|
|
2409
2522
|
type: `auto.browser.browserapierrors.xhr.${e}`
|
|
2410
|
-
} }, r =
|
|
2411
|
-
return r && (n.mechanism.data.handler =
|
|
2523
|
+
} }, r = S(t);
|
|
2524
|
+
return r && (n.mechanism.data.handler = k(r)), G(t, n);
|
|
2412
2525
|
});
|
|
2413
2526
|
}), e.apply(this, t);
|
|
2414
2527
|
};
|
|
2415
2528
|
}
|
|
2416
|
-
function
|
|
2529
|
+
function ka(e, t) {
|
|
2417
2530
|
var n, r;
|
|
2418
|
-
let i = (n =
|
|
2419
|
-
!(i == null || (r = i.hasOwnProperty) == null) && r.call(i, "addEventListener") && (
|
|
2531
|
+
let i = (n = W[e]) == null ? void 0 : n.prototype;
|
|
2532
|
+
!(i == null || (r = i.hasOwnProperty) == null) && r.call(i, "addEventListener") && (M(i, "addEventListener", function(n) {
|
|
2420
2533
|
return function(r, i, a) {
|
|
2421
2534
|
try {
|
|
2422
|
-
|
|
2535
|
+
Aa(i) && (i.handleEvent = G(i.handleEvent, { mechanism: {
|
|
2423
2536
|
data: {
|
|
2424
|
-
handler:
|
|
2537
|
+
handler: k(i),
|
|
2425
2538
|
target: e
|
|
2426
2539
|
},
|
|
2427
2540
|
handled: !1,
|
|
2428
2541
|
type: "auto.browser.browserapierrors.handleEvent"
|
|
2429
2542
|
} }));
|
|
2430
2543
|
} catch {}
|
|
2431
|
-
return t.unregisterOriginalCallbacks &&
|
|
2544
|
+
return t.unregisterOriginalCallbacks && ja(this, r, i), n.apply(this, [
|
|
2432
2545
|
r,
|
|
2433
|
-
|
|
2546
|
+
G(i, { mechanism: {
|
|
2434
2547
|
data: {
|
|
2435
|
-
handler:
|
|
2548
|
+
handler: k(i),
|
|
2436
2549
|
target: e
|
|
2437
2550
|
},
|
|
2438
2551
|
handled: !1,
|
|
@@ -2441,7 +2554,7 @@ function la(e, t) {
|
|
|
2441
2554
|
a
|
|
2442
2555
|
]);
|
|
2443
2556
|
};
|
|
2444
|
-
}),
|
|
2557
|
+
}), M(i, "removeEventListener", function(e) {
|
|
2445
2558
|
return function(t, n, r) {
|
|
2446
2559
|
try {
|
|
2447
2560
|
if (Object.prototype.hasOwnProperty.call(n, "__sentry_wrapped__")) {
|
|
@@ -2453,38 +2566,42 @@ function la(e, t) {
|
|
|
2453
2566
|
};
|
|
2454
2567
|
}));
|
|
2455
2568
|
}
|
|
2456
|
-
function
|
|
2569
|
+
function Aa(e) {
|
|
2457
2570
|
return typeof e.handleEvent == "function";
|
|
2458
2571
|
}
|
|
2459
|
-
function
|
|
2572
|
+
function ja(e, t, n) {
|
|
2460
2573
|
e && typeof e == "object" && "removeEventListener" in e && typeof e.removeEventListener == "function" && e.removeEventListener(t, n);
|
|
2461
2574
|
}
|
|
2462
2575
|
//#endregion
|
|
2463
|
-
//#region ../../node_modules/.pnpm/@sentry+browser@10.
|
|
2464
|
-
var
|
|
2576
|
+
//#region ../../node_modules/.pnpm/@sentry+browser@10.68.0/node_modules/@sentry/browser/build/npm/esm/prod/integrations/browsersession.js
|
|
2577
|
+
var Ma = V((e = {}) => {
|
|
2465
2578
|
var t;
|
|
2466
2579
|
let n = (t = e.lifecycle) == null ? "route" : t;
|
|
2467
2580
|
return {
|
|
2468
2581
|
name: "BrowserSession",
|
|
2469
2582
|
setupOnce() {
|
|
2470
|
-
if (
|
|
2471
|
-
Z &&
|
|
2583
|
+
if (W.document === void 0) {
|
|
2584
|
+
Z && A.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");
|
|
2472
2585
|
return;
|
|
2473
2586
|
}
|
|
2474
|
-
|
|
2475
|
-
let e =
|
|
2476
|
-
|
|
2477
|
-
|
|
2478
|
-
|
|
2479
|
-
|
|
2480
|
-
|
|
2587
|
+
ge({ ignoreDuration: !0 });
|
|
2588
|
+
let e = !1;
|
|
2589
|
+
ki(() => {
|
|
2590
|
+
e || (Le(), e = !0);
|
|
2591
|
+
});
|
|
2592
|
+
let t = T(), r = t.getUser();
|
|
2593
|
+
t.addScopeListener((t) => {
|
|
2594
|
+
let n = t.getUser();
|
|
2595
|
+
((r == null ? void 0 : r.id) !== (n == null ? void 0 : n.id) || (r == null ? void 0 : r.ip_address) !== (n == null ? void 0 : n.ip_address)) && (r = n, e && Le());
|
|
2596
|
+
}), n === "route" && Ui(({ from: t, to: n }) => {
|
|
2597
|
+
t !== n && (ge({ ignoreDuration: !0 }), Le(), e = !0);
|
|
2481
2598
|
});
|
|
2482
2599
|
}
|
|
2483
2600
|
};
|
|
2484
|
-
}),
|
|
2485
|
-
name:
|
|
2601
|
+
}), Na = "CultureContext", Pa = V((() => ({
|
|
2602
|
+
name: Na,
|
|
2486
2603
|
preprocessEvent(e) {
|
|
2487
|
-
let t =
|
|
2604
|
+
let t = Fa();
|
|
2488
2605
|
if (t) {
|
|
2489
2606
|
var n;
|
|
2490
2607
|
e.contexts = {
|
|
@@ -2497,17 +2614,17 @@ var fa = H((e = {}) => {
|
|
|
2497
2614
|
}
|
|
2498
2615
|
},
|
|
2499
2616
|
processSegmentSpan(e) {
|
|
2500
|
-
let t =
|
|
2501
|
-
t &&
|
|
2617
|
+
let t = Fa();
|
|
2618
|
+
t && Ft(e, {
|
|
2502
2619
|
"culture.locale": t.locale,
|
|
2503
2620
|
"culture.timezone": t.timezone,
|
|
2504
2621
|
"culture.calendar": t.calendar
|
|
2505
2622
|
});
|
|
2506
2623
|
}
|
|
2507
2624
|
})));
|
|
2508
|
-
function
|
|
2625
|
+
function Fa() {
|
|
2509
2626
|
try {
|
|
2510
|
-
let e =
|
|
2627
|
+
let e = W.Intl;
|
|
2511
2628
|
if (!e) return;
|
|
2512
2629
|
let t = e.DateTimeFormat().resolvedOptions();
|
|
2513
2630
|
return {
|
|
@@ -2520,29 +2637,29 @@ function ha() {
|
|
|
2520
2637
|
}
|
|
2521
2638
|
}
|
|
2522
2639
|
//#endregion
|
|
2523
|
-
//#region ../../node_modules/.pnpm/@sentry+browser@10.
|
|
2524
|
-
var
|
|
2640
|
+
//#region ../../node_modules/.pnpm/@sentry+browser@10.68.0/node_modules/@sentry/browser/build/npm/esm/prod/integrations/globalhandlers.js
|
|
2641
|
+
var Ia = "GlobalHandlers", La = V(((e = {}) => {
|
|
2525
2642
|
let t = {
|
|
2526
2643
|
onerror: !0,
|
|
2527
2644
|
onunhandledrejection: !0,
|
|
2528
2645
|
...e
|
|
2529
2646
|
};
|
|
2530
2647
|
return {
|
|
2531
|
-
name:
|
|
2648
|
+
name: Ia,
|
|
2532
2649
|
setupOnce() {
|
|
2533
2650
|
Error.stackTraceLimit = 50;
|
|
2534
2651
|
},
|
|
2535
2652
|
setup(e) {
|
|
2536
|
-
t.onerror && (
|
|
2653
|
+
t.onerror && (Ra(e), Ua("onerror")), t.onunhandledrejection && (za(e), Ua("onunhandledrejection"));
|
|
2537
2654
|
}
|
|
2538
2655
|
};
|
|
2539
2656
|
}));
|
|
2540
|
-
function
|
|
2541
|
-
|
|
2542
|
-
let { stackParser: n, attachStacktrace: r } =
|
|
2543
|
-
if (
|
|
2544
|
-
let { msg: i, url: a, line: o, column: s, error: c } = t, l =
|
|
2545
|
-
l.level = "error",
|
|
2657
|
+
function Ra(e) {
|
|
2658
|
+
ot((t) => {
|
|
2659
|
+
let { stackParser: n, attachStacktrace: r } = Wa();
|
|
2660
|
+
if (h() !== e || ri()) return;
|
|
2661
|
+
let { msg: i, url: a, line: o, column: s, error: c } = t, l = Ha(vi(n, c || i, void 0, r, !1), a, o, s);
|
|
2662
|
+
l.level = "error", Be(l, {
|
|
2546
2663
|
originalException: c,
|
|
2547
2664
|
mechanism: {
|
|
2548
2665
|
handled: !1,
|
|
@@ -2551,12 +2668,12 @@ function va(e) {
|
|
|
2551
2668
|
});
|
|
2552
2669
|
});
|
|
2553
2670
|
}
|
|
2554
|
-
function
|
|
2555
|
-
|
|
2556
|
-
let { stackParser: n, attachStacktrace: r } =
|
|
2557
|
-
if (
|
|
2558
|
-
let i =
|
|
2559
|
-
a.level = "error",
|
|
2671
|
+
function za(e) {
|
|
2672
|
+
lt((t) => {
|
|
2673
|
+
let { stackParser: n, attachStacktrace: r } = Wa();
|
|
2674
|
+
if (h() !== e || ri()) return;
|
|
2675
|
+
let i = Ba(t), a = me(i) ? Va(i) : vi(n, i, void 0, r, !0);
|
|
2676
|
+
a.level = "error", Be(a, {
|
|
2560
2677
|
originalException: i,
|
|
2561
2678
|
mechanism: {
|
|
2562
2679
|
handled: !1,
|
|
@@ -2565,55 +2682,55 @@ function ya(e) {
|
|
|
2565
2682
|
});
|
|
2566
2683
|
});
|
|
2567
2684
|
}
|
|
2568
|
-
function
|
|
2569
|
-
if (
|
|
2685
|
+
function Ba(e) {
|
|
2686
|
+
if (me(e)) return e;
|
|
2570
2687
|
try {
|
|
2571
2688
|
if ("reason" in e) return e.reason;
|
|
2572
2689
|
if ("detail" in e && "reason" in e.detail) return e.detail.reason;
|
|
2573
2690
|
} catch {}
|
|
2574
2691
|
return e;
|
|
2575
2692
|
}
|
|
2576
|
-
function
|
|
2693
|
+
function Va(e) {
|
|
2577
2694
|
return { exception: { values: [{
|
|
2578
2695
|
type: "UnhandledRejection",
|
|
2579
2696
|
value: `Non-Error promise rejection captured with value: ${String(e)}`
|
|
2580
2697
|
}] } };
|
|
2581
2698
|
}
|
|
2582
|
-
function
|
|
2699
|
+
function Ha(e, t, n, r) {
|
|
2583
2700
|
let i = e.exception = e.exception || {}, a = i.values = i.values || [], o = a[0] = a[0] || {}, s = o.stacktrace = o.stacktrace || {}, c = s.frames = s.frames || [];
|
|
2584
2701
|
if (c.length === 0) {
|
|
2585
2702
|
var l;
|
|
2586
2703
|
c.push({
|
|
2587
2704
|
colno: r,
|
|
2588
2705
|
lineno: n,
|
|
2589
|
-
filename: (l =
|
|
2706
|
+
filename: (l = Ga(t)) == null ? ei() : l,
|
|
2590
2707
|
function: "?",
|
|
2591
2708
|
in_app: !0
|
|
2592
2709
|
});
|
|
2593
2710
|
}
|
|
2594
2711
|
return e;
|
|
2595
2712
|
}
|
|
2596
|
-
function
|
|
2597
|
-
Z &&
|
|
2713
|
+
function Ua(e) {
|
|
2714
|
+
Z && A.log(`Global Handler attached: ${e}`);
|
|
2598
2715
|
}
|
|
2599
|
-
function
|
|
2600
|
-
let e =
|
|
2716
|
+
function Wa() {
|
|
2717
|
+
let e = h();
|
|
2601
2718
|
return (e == null ? void 0 : e.getOptions()) || {
|
|
2602
2719
|
stackParser: () => [],
|
|
2603
2720
|
attachStacktrace: !1
|
|
2604
2721
|
};
|
|
2605
2722
|
}
|
|
2606
|
-
function
|
|
2607
|
-
if (!(!
|
|
2723
|
+
function Ga(e) {
|
|
2724
|
+
if (!(!N(e) || e.length === 0)) return e.startsWith("data:") ? `<${er(e, !1)}>` : e;
|
|
2608
2725
|
}
|
|
2609
2726
|
//#endregion
|
|
2610
|
-
//#region ../../node_modules/.pnpm/@sentry+browser@10.
|
|
2611
|
-
var
|
|
2727
|
+
//#region ../../node_modules/.pnpm/@sentry+browser@10.68.0/node_modules/@sentry/browser/build/npm/esm/prod/integrations/httpcontext.js
|
|
2728
|
+
var Ka = V(() => ({
|
|
2612
2729
|
name: "HttpContext",
|
|
2613
2730
|
preprocessEvent(e) {
|
|
2614
2731
|
var t;
|
|
2615
|
-
if (!
|
|
2616
|
-
let n =
|
|
2732
|
+
if (!W.navigator && !W.location && !W.document) return;
|
|
2733
|
+
let n = ai(), r = {
|
|
2617
2734
|
...n.headers,
|
|
2618
2735
|
...(t = e.request) == null ? void 0 : t.headers
|
|
2619
2736
|
};
|
|
@@ -2625,147 +2742,104 @@ var Ea = H(() => ({
|
|
|
2625
2742
|
},
|
|
2626
2743
|
processSegmentSpan(e) {
|
|
2627
2744
|
var t;
|
|
2628
|
-
let n = (t = e.attributes) == null ? void 0 : t[
|
|
2629
|
-
if (!
|
|
2630
|
-
let r =
|
|
2631
|
-
|
|
2632
|
-
|
|
2745
|
+
let n = (t = e.attributes) == null ? void 0 : t[oe];
|
|
2746
|
+
if (!W.navigator && !W.location && !W.document) return;
|
|
2747
|
+
let r = ai();
|
|
2748
|
+
Ft(e, {
|
|
2749
|
+
[Pt]: n === "http.client" ? void 0 : r.url,
|
|
2633
2750
|
"http.request.header.user_agent": r.headers["User-Agent"],
|
|
2634
2751
|
"http.request.header.referer": r.headers.Referer
|
|
2635
2752
|
});
|
|
2636
2753
|
}
|
|
2637
|
-
})),
|
|
2638
|
-
let t = e.limit ||
|
|
2754
|
+
})), qa = "cause", Ja = 5, Ya = "LinkedErrors", Xa = V(((e = {}) => {
|
|
2755
|
+
let t = e.limit || Ja, n = e.key || qa;
|
|
2639
2756
|
return {
|
|
2640
|
-
name:
|
|
2757
|
+
name: Ya,
|
|
2641
2758
|
preprocessEvent(e, r, i) {
|
|
2642
|
-
|
|
2759
|
+
br(oi, i.getOptions().stackParser, n, t, e, r);
|
|
2643
2760
|
}
|
|
2644
2761
|
};
|
|
2645
|
-
})),
|
|
2646
|
-
function
|
|
2647
|
-
let i = {
|
|
2648
|
-
filename: e,
|
|
2649
|
-
function: t === "<anonymous>" ? "?" : t,
|
|
2650
|
-
in_app: !0
|
|
2651
|
-
};
|
|
2652
|
-
return n !== void 0 && (i.lineno = n), r !== void 0 && (i.colno = r), i;
|
|
2653
|
-
}
|
|
2654
|
-
var Pa = /^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i, Fa = /^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i, Ia = /\((\S*)(?::(\d+))(?::(\d+))\)/, La = /at (.+?) ?\(data:(.+?),/, Ra = [ja, (e) => {
|
|
2655
|
-
let t = e.match(La);
|
|
2656
|
-
if (t) return {
|
|
2657
|
-
filename: `<data:${t[2]}>`,
|
|
2658
|
-
function: t[1]
|
|
2659
|
-
};
|
|
2660
|
-
let n = Pa.exec(e);
|
|
2661
|
-
if (n) {
|
|
2662
|
-
let [, e, t, r] = n;
|
|
2663
|
-
return Na(e, "?", +t, +r);
|
|
2664
|
-
}
|
|
2665
|
-
let r = Fa.exec(e);
|
|
2666
|
-
if (r) {
|
|
2667
|
-
var i;
|
|
2668
|
-
if (((i = r[2]) == null ? void 0 : i.indexOf("eval")) === 0) {
|
|
2669
|
-
let e = Ia.exec(r[2]);
|
|
2670
|
-
e && (r[2] = e[1], r[3] = e[2], r[4] = e[3]);
|
|
2671
|
-
}
|
|
2672
|
-
let [e, t] = Ha(r[1] || "?", r[2]);
|
|
2673
|
-
return Na(t, e, r[3] ? +r[3] : void 0, r[4] ? +r[4] : void 0);
|
|
2674
|
-
}
|
|
2675
|
-
}], za = /^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i, Ba = /(\S+) line (\d+)(?: > eval line \d+)* > eval/i, Va = le(Ra, [Ma, (e) => {
|
|
2676
|
-
let t = za.exec(e);
|
|
2677
|
-
if (t) {
|
|
2678
|
-
if (t[3] && t[3].indexOf(" > eval") > -1) {
|
|
2679
|
-
let e = Ba.exec(t[3]);
|
|
2680
|
-
e && (t[1] = t[1] || "eval", t[3] = e[1], t[4] = e[2], t[5] = "");
|
|
2681
|
-
}
|
|
2682
|
-
let e = t[3], n = t[1] || "?";
|
|
2683
|
-
return [n, e] = Ha(n, e), Na(e, n, t[4] ? +t[4] : void 0, t[5] ? +t[5] : void 0);
|
|
2684
|
-
}
|
|
2685
|
-
}]), Ha = (e, t) => {
|
|
2686
|
-
let n = e.indexOf("safari-extension") !== -1, r = e.indexOf("safari-web-extension") !== -1;
|
|
2687
|
-
return n || r ? [e.indexOf("@") === -1 ? "?" : e.split("@")[0], n ? `safari-extension:${t}` : `safari-web-extension:${t}`] : [e, t];
|
|
2688
|
-
}, Ua = /^HTML(\w*)Element$/;
|
|
2689
|
-
function Wa(e) {
|
|
2762
|
+
})), Za = /^HTML(\w*)Element$/;
|
|
2763
|
+
function Qa(e) {
|
|
2690
2764
|
if (typeof window < "u" && e === window) return "[Window]";
|
|
2691
2765
|
if (typeof document < "u" && e === document) return "[Document]";
|
|
2692
|
-
if (
|
|
2693
|
-
let t =
|
|
2694
|
-
if (
|
|
2766
|
+
if (Qi(e)) {
|
|
2767
|
+
let t = $a(e);
|
|
2768
|
+
if (Za.test(t)) return `[HTMLElement: ${ji(e)}]`;
|
|
2695
2769
|
}
|
|
2696
2770
|
}
|
|
2697
|
-
function
|
|
2771
|
+
function $a(e) {
|
|
2698
2772
|
let t = Object.getPrototypeOf(e);
|
|
2699
2773
|
return t != null && t.constructor ? t.constructor.name : "null prototype";
|
|
2700
2774
|
}
|
|
2701
2775
|
//#endregion
|
|
2702
|
-
//#region ../../node_modules/.pnpm/@sentry+browser@10.
|
|
2703
|
-
function
|
|
2704
|
-
return
|
|
2776
|
+
//#region ../../node_modules/.pnpm/@sentry+browser@10.68.0/node_modules/@sentry/browser/build/npm/esm/prod/utils/detectBrowserExtension.js
|
|
2777
|
+
function eo() {
|
|
2778
|
+
return to() ? (Z && Ae(() => {
|
|
2705
2779
|
console.error("[Sentry] You cannot use Sentry.init() in a browser extension, see: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/");
|
|
2706
2780
|
}), !0) : !1;
|
|
2707
2781
|
}
|
|
2708
|
-
function
|
|
2782
|
+
function to() {
|
|
2709
2783
|
var e;
|
|
2710
|
-
if (
|
|
2711
|
-
let t =
|
|
2784
|
+
if (W.window === void 0) return !1;
|
|
2785
|
+
let t = W;
|
|
2712
2786
|
if (t.nw) return !1;
|
|
2713
2787
|
let n = t.chrome || t.browser;
|
|
2714
2788
|
if (!(!(n == null || (e = n.runtime) == null) && e.id)) return !1;
|
|
2715
|
-
let r =
|
|
2716
|
-
return !(
|
|
2789
|
+
let r = ei();
|
|
2790
|
+
return !(W === W.top && /^(?:chrome-extension|moz-extension|ms-browser-extension|safari-web-extension):\/\//.test(r));
|
|
2717
2791
|
}
|
|
2718
2792
|
//#endregion
|
|
2719
|
-
//#region ../../node_modules/.pnpm/@sentry+browser@10.
|
|
2720
|
-
function
|
|
2793
|
+
//#region ../../node_modules/.pnpm/@sentry+browser@10.68.0/node_modules/@sentry/browser/build/npm/esm/prod/sdk.js
|
|
2794
|
+
function no(e) {
|
|
2721
2795
|
return [
|
|
2722
|
-
|
|
2723
|
-
|
|
2724
|
-
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
|
|
2728
|
-
|
|
2729
|
-
|
|
2730
|
-
|
|
2731
|
-
|
|
2732
|
-
|
|
2796
|
+
ur(),
|
|
2797
|
+
or(),
|
|
2798
|
+
Vr(),
|
|
2799
|
+
Ta(),
|
|
2800
|
+
ha(),
|
|
2801
|
+
La(),
|
|
2802
|
+
Xa(),
|
|
2803
|
+
Nr(),
|
|
2804
|
+
Ka(),
|
|
2805
|
+
Pa(),
|
|
2806
|
+
Ma()
|
|
2733
2807
|
];
|
|
2734
2808
|
}
|
|
2735
|
-
function
|
|
2736
|
-
let t = !e.skipBrowserExtensionCheck &&
|
|
2809
|
+
function ro(e = {}) {
|
|
2810
|
+
let t = !e.skipBrowserExtensionCheck && eo(), n = e.defaultIntegrations == null ? no() : e.defaultIntegrations, r = {
|
|
2737
2811
|
...e,
|
|
2738
|
-
enabled: t
|
|
2739
|
-
stackParser:
|
|
2740
|
-
integrations:
|
|
2812
|
+
enabled: !t && e.enabled,
|
|
2813
|
+
stackParser: xe(e.stackParser || da),
|
|
2814
|
+
integrations: Wt({
|
|
2741
2815
|
integrations: e.integrations,
|
|
2742
2816
|
defaultIntegrations: n
|
|
2743
2817
|
}),
|
|
2744
|
-
transport: e.transport ||
|
|
2818
|
+
transport: e.transport || ea
|
|
2745
2819
|
};
|
|
2746
|
-
return
|
|
2820
|
+
return b(Qa), Jn(Ci, r);
|
|
2747
2821
|
}
|
|
2748
2822
|
//#endregion
|
|
2749
|
-
//#region ../../node_modules/.pnpm/@sentry+react@10.
|
|
2750
|
-
var
|
|
2751
|
-
function
|
|
2752
|
-
return
|
|
2823
|
+
//#region ../../node_modules/.pnpm/@sentry+react@10.68.0_react@19.2.8/node_modules/@sentry/react/build/esm/isSyntheticEvent.js
|
|
2824
|
+
var io = /* @__PURE__ */ e(c());
|
|
2825
|
+
function ao(e) {
|
|
2826
|
+
return Te(e) && "nativeEvent" in e && "preventDefault" in e && "stopPropagation" in e;
|
|
2753
2827
|
}
|
|
2754
2828
|
//#endregion
|
|
2755
|
-
//#region ../../node_modules/.pnpm/@sentry+react@10.
|
|
2756
|
-
function
|
|
2829
|
+
//#region ../../node_modules/.pnpm/@sentry+react@10.68.0_react@19.2.8/node_modules/@sentry/react/build/esm/sdk.js
|
|
2830
|
+
function oo(e) {
|
|
2757
2831
|
let t = { ...e };
|
|
2758
|
-
|
|
2759
|
-
let n =
|
|
2760
|
-
return
|
|
2832
|
+
nr(t, "react"), pe("react", { version: io.version });
|
|
2833
|
+
let n = ro(t);
|
|
2834
|
+
return b(so), n;
|
|
2761
2835
|
}
|
|
2762
|
-
function
|
|
2763
|
-
return
|
|
2836
|
+
function so(e) {
|
|
2837
|
+
return ao(e) ? "[SyntheticEvent]" : Qa(e);
|
|
2764
2838
|
}
|
|
2765
2839
|
//#endregion
|
|
2766
2840
|
//#region src/tools/sentry.ts
|
|
2767
|
-
var
|
|
2768
|
-
function
|
|
2841
|
+
var co = "production", lo = "3.13.2";
|
|
2842
|
+
function uo() {
|
|
2769
2843
|
let e = "sentry_offline_queue";
|
|
2770
2844
|
return {
|
|
2771
2845
|
async push(t) {
|
|
@@ -2812,16 +2886,16 @@ function no() {
|
|
|
2812
2886
|
}
|
|
2813
2887
|
};
|
|
2814
2888
|
}
|
|
2815
|
-
function
|
|
2816
|
-
let t =
|
|
2817
|
-
|
|
2889
|
+
function fo(e) {
|
|
2890
|
+
let t = Qn(ea);
|
|
2891
|
+
oo({
|
|
2818
2892
|
dsn: "https://b2eafc5a038fa2c535099e431de219f2@o4510697102114816.ingest.us.sentry.io/4510697103097856",
|
|
2819
|
-
release:
|
|
2820
|
-
environment:
|
|
2893
|
+
release: lo,
|
|
2894
|
+
environment: co,
|
|
2821
2895
|
sendDefaultPii: !0,
|
|
2822
2896
|
transport: (e) => t({
|
|
2823
2897
|
...e,
|
|
2824
|
-
createStore: () =>
|
|
2898
|
+
createStore: () => uo(),
|
|
2825
2899
|
flushAtStartup: !0,
|
|
2826
2900
|
shouldStore: async (e, t) => {
|
|
2827
2901
|
var n, r, i;
|
|
@@ -2845,14 +2919,14 @@ function ro(e) {
|
|
|
2845
2919
|
beforeSend(e) {
|
|
2846
2920
|
return e;
|
|
2847
2921
|
}
|
|
2848
|
-
}), e.eventId &&
|
|
2922
|
+
}), e.eventId && Ne("eventId", e.eventId), Ne("isWebview", e.isWebview), Ne("source", "main"), ze({ ip_address: "{{auto}}" }), po();
|
|
2849
2923
|
}
|
|
2850
|
-
function
|
|
2924
|
+
function po() {
|
|
2851
2925
|
window.addEventListener("unhandledrejection", (e) => {
|
|
2852
|
-
|
|
2926
|
+
je(e.reason, { contexts: { unhandledRejection: { promise: e.promise } } });
|
|
2853
2927
|
});
|
|
2854
2928
|
let e = window.onerror;
|
|
2855
|
-
window.onerror = (t, n, r, i, a) => (a &&
|
|
2929
|
+
window.onerror = (t, n, r, i, a) => (a && je(a, { contexts: { windowError: {
|
|
2856
2930
|
message: t,
|
|
2857
2931
|
source: n,
|
|
2858
2932
|
lineno: r,
|
|
@@ -2865,15 +2939,15 @@ function io() {
|
|
|
2865
2939
|
}
|
|
2866
2940
|
//#endregion
|
|
2867
2941
|
//#region src/utils/heatmap-enabled.ts
|
|
2868
|
-
function
|
|
2942
|
+
function mo(e) {
|
|
2869
2943
|
return Object.keys(e).length > 0 && e.enabled !== !1;
|
|
2870
2944
|
}
|
|
2871
2945
|
//#endregion
|
|
2872
2946
|
//#region src/utils/is-localhost.ts
|
|
2873
|
-
var { hostname: Q, protocol:
|
|
2947
|
+
var { hostname: Q, protocol: ho } = window.location, go = Q === "localhost" || Q === "127.0.0.1" || Q === "::1" || Q.startsWith("192.168.") || Q.startsWith("10.") || /^172\.(1[6-9]|2[0-9]|3[0-1])\./.test(Q) || Q.endsWith(".local") || ho === "file:" || Q === "";
|
|
2874
2948
|
//#endregion
|
|
2875
2949
|
//#region src/utils/loadCustomCss.ts
|
|
2876
|
-
async function
|
|
2950
|
+
async function _o(e, t) {
|
|
2877
2951
|
if (e != null && e.customCss) {
|
|
2878
2952
|
let r = document.createElement("style");
|
|
2879
2953
|
if (r.textContent = e.customCss, document.head.append(r), typeof ShadowRoot < "u" && t instanceof ShadowRoot) {
|
|
@@ -2885,7 +2959,7 @@ async function co(e, t) {
|
|
|
2885
2959
|
}
|
|
2886
2960
|
//#endregion
|
|
2887
2961
|
//#region src/utils/loadIcons.ts
|
|
2888
|
-
async function
|
|
2962
|
+
async function vo(e) {
|
|
2889
2963
|
try {
|
|
2890
2964
|
(await Promise.allSettled(Object.entries({
|
|
2891
2965
|
departure: "icons/departure.svg",
|
|
@@ -2904,13 +2978,13 @@ async function lo(e) {
|
|
|
2904
2978
|
}
|
|
2905
2979
|
//#endregion
|
|
2906
2980
|
//#region src/utils/use-shadow.ts
|
|
2907
|
-
var
|
|
2981
|
+
var yo, bo = typeof document < "u" && !!((yo = document.body) != null && yo.attachShadow) && s && localStorage.getItem("noShadowDom") !== "1" && window.FontFace !== void 0;
|
|
2908
2982
|
//#endregion
|
|
2909
2983
|
//#region src/floorplan.loader.ts
|
|
2910
2984
|
function $() {
|
|
2911
2985
|
throw Error("FloorPlan not ready");
|
|
2912
2986
|
}
|
|
2913
|
-
var
|
|
2987
|
+
var xo = class {
|
|
2914
2988
|
get ready() {
|
|
2915
2989
|
return this._ready;
|
|
2916
2990
|
}
|
|
@@ -3085,25 +3159,25 @@ var po = class {
|
|
|
3085
3159
|
constructor(e, n) {
|
|
3086
3160
|
this.renderTarget = void 0, this._ready = void 0, this.element = void 0, this.eventId = void 0, this.noOverlay = void 0, this.offHistory = void 0, this.ignoreQuery = void 0, this.consent = void 0, this.onInit = void 0, this.disableRuntimeAlerts = void 0, this.viewerMode = void 0, this.maplibre = 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;
|
|
3087
3161
|
let s = a();
|
|
3088
|
-
if (this.noOverlay = !!s.noOverlay, this.offHistory = !!s.offHistory, this.ignoreQuery = s.ignoreQuery, this.consent = s.consent, this.consent === "ask" && (
|
|
3162
|
+
if (this.noOverlay = !!s.noOverlay, this.offHistory = !!s.offHistory, this.ignoreQuery = s.ignoreQuery, this.consent = s.consent, this.consent === "ask" && (Xe ? this.consent = "granted" : go && !l && (this.consent = "denied")), 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 = !!s.viewerMode, this.disableRuntimeAlerts = s.disableRuntimeAlerts, this.maplibre = s.maplibre, window.__efpMaplibre = s.maplibre, this._ready = new Promise((e, t) => {
|
|
3089
3163
|
this.resolveReady = e;
|
|
3090
3164
|
}), this.element = n, n.__expofp) throw Error("Element already in use");
|
|
3091
3165
|
n.__expofp = this;
|
|
3092
3166
|
let c = s.expo;
|
|
3093
|
-
|
|
3167
|
+
fo({
|
|
3094
3168
|
eventId: c || "",
|
|
3095
|
-
isWebview:
|
|
3169
|
+
isWebview: Xe
|
|
3096
3170
|
}), this.eventId = c, window.__efpEvent = c, window.__efpElement = n;
|
|
3097
3171
|
let d = document.createElement("div");
|
|
3098
3172
|
d.style.height = "100%", d.style.width = "100%", n.appendChild(d);
|
|
3099
3173
|
let f;
|
|
3100
|
-
if (
|
|
3174
|
+
if (bo) {
|
|
3101
3175
|
f = d.attachShadow({ mode: "open" });
|
|
3102
3176
|
let e = f, t = document;
|
|
3103
3177
|
e.createElement = (...e) => t.createElement(...e), e.createElementNS = (...e) => t.createElementNS(...e), e.createTextNode = (...e) => t.createTextNode(...e);
|
|
3104
3178
|
} else f = d;
|
|
3105
3179
|
let p = document.createElement("div");
|
|
3106
|
-
p.style.height = "100%", p.style.width = "100%", f.appendChild(p),
|
|
3180
|
+
p.style.height = "100%", p.style.width = "100%", f.appendChild(p), bo && Object.defineProperty(p, "ownerDocument", { value: f }), window.__efpShadowDOMStyleParent = bo ? f : void 0, this.renderTarget = p, u.log("Instantiating ExpoFP floorplan", n, c);
|
|
3107
3181
|
let m = 0;
|
|
3108
3182
|
this.efpStyleLoadHandler = function(e) {
|
|
3109
3183
|
let t = window.__efpStyleElements;
|
|
@@ -3134,9 +3208,9 @@ var po = class {
|
|
|
3134
3208
|
})
|
|
3135
3209
|
}), r = [];
|
|
3136
3210
|
n.ok && (r = (await n.json()).map(e.dataMapper)), window.__heatmapDataYah = { yah: r };
|
|
3137
|
-
}, v = (e = l == null ? void 0 : l.heatmap) == null ? {} : e, y =
|
|
3211
|
+
}, v = (e = l == null ? void 0 : l.heatmap) == null ? {} : e, y = mo(v) || p.get("heatmap") === "true", b = v.variant === "yah" || p.get("type") === "yah", x = v.kiosk === !0 || p.get("subtype") === "kiosk";
|
|
3138
3212
|
if (y) try {
|
|
3139
|
-
if (
|
|
3213
|
+
if (b) x ? await _({
|
|
3140
3214
|
dataUrl: "/api/kiosks/list/viewer",
|
|
3141
3215
|
dataMapper: (e) => ({
|
|
3142
3216
|
...e,
|
|
@@ -3164,7 +3238,7 @@ var po = class {
|
|
|
3164
3238
|
} catch (e) {
|
|
3165
3239
|
console.error("Heatmap: Initialization error", e);
|
|
3166
3240
|
}
|
|
3167
|
-
let
|
|
3241
|
+
let S = [
|
|
3168
3242
|
r(t + "vendor/sanitize-css/sanitize.css", f),
|
|
3169
3243
|
r(t + "vendor/perfect-scrollbar/css/perfect-scrollbar.css", f),
|
|
3170
3244
|
i("Oswald", t + "fonts/oswald-v17-cyrillic_latin-300.woff", { weight: 300 }),
|
|
@@ -3173,18 +3247,18 @@ var po = class {
|
|
|
3173
3247
|
i("Inter", t + "fonts/inter-500.woff2", { weight: 500 }),
|
|
3174
3248
|
i("Inter", t + "fonts/inter-600.woff2", { weight: 600 }),
|
|
3175
3249
|
i("efp-symbols", t + "fonts/efp-symbols.woff", { weight: 400 }),
|
|
3176
|
-
|
|
3177
|
-
|
|
3250
|
+
_o(l, f),
|
|
3251
|
+
vo(h.icons)
|
|
3178
3252
|
];
|
|
3179
|
-
await Promise.all(
|
|
3180
|
-
let { default:
|
|
3253
|
+
await Promise.all(S), h.enableRotation = (s = l == null ? void 0 : l.enableRotation) != null && s, h.alwaysShowSidebar = (c = l == null ? void 0 : l.alwaysShowSidebar) != null && c, u.log("Data loaded"), window.__storeInitAllowed = !0;
|
|
3254
|
+
let { default: C } = await import(
|
|
3181
3255
|
/* webpackChunkName: "floorplan" */
|
|
3182
|
-
"./floorplan.ready-
|
|
3256
|
+
"./floorplan.ready-DQAk0-bE.js"
|
|
3183
3257
|
);
|
|
3184
3258
|
for (document.querySelectorAll(".expofp-floorplan-loader").forEach((e) => e.remove()); n.firstChild && n.firstChild !== d;) n.removeChild(n.firstChild);
|
|
3185
|
-
Object.setPrototypeOf(h,
|
|
3259
|
+
Object.setPrototypeOf(h, C.prototype).init();
|
|
3186
3260
|
})();
|
|
3187
3261
|
}
|
|
3188
3262
|
};
|
|
3189
3263
|
//#endregion
|
|
3190
|
-
export {
|
|
3264
|
+
export { Vt as a, W as i, mo as n, et as o, Z as r, Qe as s, xo as t };
|