@expofp/floorplan 3.6.0 → 3.6.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/{CookieConsent-D4hudhgN.js → CookieConsent-ZSRF-Q1z.js} +7 -7
- package/dist/browser/{Debug-C6vAYMhX.js → Debug-DSEsxh_P.js} +6 -6
- package/dist/browser/{Demo-DtTuLI8Z.js → Demo-BTNgsJ_-.js} +8 -8
- package/dist/browser/{Free-CqdWCHcR.js → Free-D3LF5091.js} +8 -8
- package/dist/browser/{Gallery-8RDDPykf.js → Gallery-D1mwmq5C.js} +9 -9
- package/dist/browser/{GpsLoader-B4FEU6gL.js → GpsLoader-DmKqXqL9.js} +8 -8
- package/dist/browser/{KioskStore-phPgRGhj.js → KioskStore-DTS4v_JV.js} +4 -4
- package/dist/browser/{MaplibreAdapter-CS16BDJC.js → MaplibreAdapter-34Kr3C9W.js} +8 -8
- package/dist/browser/{Modal-D_X6o9Jg.js → Modal-DbPXLjtQ.js} +9 -9
- package/dist/browser/{PermissionNotice-B226CFBT.js → PermissionNotice-CvQeQwa_.js} +6 -6
- package/dist/browser/{SetKioskMode-BE0tkdDL.js → SetKioskMode-BBE0qDtU.js} +7 -7
- package/dist/browser/{ShowKiosk-SbRgpnQB.js → ShowKiosk-mheds3um.js} +9 -9
- package/dist/browser/{TouchHand-CzEqXotc.js → TouchHand-B4mIqzLC.js} +4 -4
- package/dist/browser/{ViewerMenuPanel-CwOeHoJI.js → ViewerMenuPanel-CVnvCFxm.js} +7 -7
- package/dist/browser/{add-debug-secret-listener-DiNpUPIy.js → add-debug-secret-listener-xG3TxEGX.js} +1 -1
- package/dist/browser/{boolean-editor-B4fmO-H1.js → boolean-editor-Bb5t2XPB.js} +9 -9
- package/dist/browser/{bootIntercom-78s2IZm1.js → bootIntercom-BATR_yIY.js} +2 -2
- package/dist/browser/{browser-D0xyTgL5.js → browser-CviKpIfy.js} +2 -2
- package/dist/browser/bundle.json +56 -56
- package/dist/browser/{classnames-BrYUjPEV.js → classnames-CX2by52Q.js} +2 -2
- package/dist/browser/{client-BFmngvOl.js → client-BXyUthzf.js} +4 -4
- package/dist/browser/compat-helper.js +1 -0
- package/dist/browser/{components-C562ZBah.js → components-4FQUI8sY.js} +36 -36
- package/dist/browser/{createWayfinding-DK2PWhbe.js → createWayfinding-Va_NuqQL.js} +6 -6
- package/dist/browser/{debug-overlay-z6WXDPBn.js → debug-overlay-CZHU13q9.js} +10 -10
- package/dist/browser/{debug-ui-sCW8RARU.js → debug-ui-7-5RIZWM.js} +6 -6
- package/dist/browser/{dist-DnAXhxh2.js → dist-4xGj4NV4.js} +6 -6
- package/dist/browser/{dist-CRY34h6v.js → dist-CVNhUaq3.js} +5 -5
- package/dist/browser/{dist-B1wg_Vg-.js → dist-DG8u-mQZ.js} +3 -3
- package/dist/browser/{efp-debug-init-B_ntwOhP.js → efp-debug-init-Ctr88BQb.js} +2 -2
- package/dist/browser/{enum-editor-DbuXf8r8.js → enum-editor-Ckc2LXe7.js} +11 -11
- package/dist/browser/{event-not-found-CAmc16WN.js → event-not-found-DJwPDXky.js} +1 -1
- package/dist/browser/{exports-BD8GG1L5.js → exports-CZ-XCWqS.js} +36 -36
- package/dist/browser/{favicon-sZdpacxH.js → favicon-BggFInUv.js} +1 -1
- package/dist/browser/{fetch-retry.umd-AjUp2dMf.js → fetch-retry.umd-DJyjVlwJ.js} +2 -2
- package/dist/browser/{flex-CCWA2Kd-.js → flex-CTRfJSaY.js} +5 -5
- package/dist/browser/{floorplan.loader-CCXe84-M.js → floorplan.loader-CqNxmYix.js} +770 -765
- package/dist/browser/{floorplan.ready-VVqKSxrS.js → floorplan.ready-BIf3Y3LG.js} +167 -167
- package/dist/browser/{fuse-B8HbR5wR.js → fuse-DhhWnJBs.js} +2 -2
- package/dist/browser/{i18n-C4ccU4Uz.js → i18n-DUFGqwW5.js} +3 -3
- package/dist/browser/index.js +11 -11
- package/dist/browser/{jsx-runtime-zxgo_t9B.js → jsx-runtime-CWOs0Qc-.js} +2 -2
- package/dist/browser/{lib-B4liZrwq.js → lib-TlINfi1R.js} +4 -4
- package/dist/browser/{main-Bzb6dYP_.js → main-GWcav0sv.js} +1 -1
- package/dist/browser/{mobx-COHcSxbj.js → mobx-CiBJ5p3c.js} +4 -4
- package/dist/browser/{particles.min-B07pddyr.js → particles.min-B_vAveS5.js} +2 -2
- package/dist/browser/{prop-types-S_wOlY3G.js → prop-types-BZtjr3OX.js} +2 -2
- package/dist/browser/{react-v-0l0dCU.js → react-D0-X4OYw.js} +2 -2
- package/dist/browser/{react-dom-uOgI3fJi.js → react-dom-DkGs-1QR.js} +3 -3
- package/dist/browser/{reset-all-settings-DP_XEkZl.js → reset-all-settings-BgZSbtYq.js} +7 -7
- package/dist/browser/{rolldown-runtime-fX7LzKTd.js → rolldown-runtime-BZLSBERu.js} +1 -1
- package/dist/browser/{settings-CvUKxJUO.js → settings-D2fs5RAZ.js} +2 -2
- package/dist/browser/{settings-item-9XX6a5Rl.js → settings-item-BAk3hZ8C.js} +6 -6
- package/dist/browser/{storage-I3dC3nwm.js → storage-BtUQQ0Mh.js} +4 -4
- package/dist/browser/{store-DZbEm-97.js → store-CGUHiMou.js} +10 -10
- package/dist/browser/{string-editor-CC5dLlZp.js → string-editor-Ju2YiTU0.js} +7 -7
- package/dist/browser/{theme-CFDTZaHO.js → theme-DkeNDcuT.js} +8 -8
- package/dist/browser/{ui-R-PKHh7O.js → ui-h2M-9TcE.js} +8 -8
- package/dist/browser/{useRenderTarget-Da6-PWjd.js → useRenderTarget-0XNbPVbS.js} +4 -4
- package/dist/esm/data/Flags.d.ts +9 -0
- package/package.json +11 -5
|
@@ -1,27 +1,27 @@
|
|
|
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.6.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.6.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] = "5319cadc-8afe-4489-8f0b-df1d1db86770", e._sentryDebugIdIdentifier = "sentry-dbid-5319cadc-8afe-4489-8f0b-df1d1db86770");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./rolldown-runtime-
|
|
10
|
-
import { t } from "./react-
|
|
11
|
-
import { C as n, S as r, T as i, c as a, l as o, m as s, s as c, t as l } from "./storage-
|
|
12
|
-
import { D as u, E as d, O as f, T as ee, U as p, c as m, ct as h, i as g, j as _ } from "./i18n-
|
|
13
|
-
import { $ as v, A as y, B as b, C as x, D as te, E as S, F as C, G as ne, H as w, I as
|
|
9
|
+
import { r as e } from "./rolldown-runtime-BZLSBERu.js";
|
|
10
|
+
import { t } from "./react-D0-X4OYw.js";
|
|
11
|
+
import { C as n, S as r, T as i, c as a, l as o, m as s, s as c, t as l } from "./storage-BtUQQ0Mh.js";
|
|
12
|
+
import { D as u, E as d, O as f, T as ee, U as p, c as m, ct as h, i as g, j as _ } from "./i18n-DUFGqwW5.js";
|
|
13
|
+
import { $ as v, A as y, B as b, C as x, D as te, E as S, F as C, G as ne, H as w, I as T, J as re, K as E, L as ie, M as ae, N as oe, O as se, P as D, Q as ce, R as O, S as k, T as le, U as ue, V as de, W as A, X as fe, Y as pe, Z as me, _ as j, _t as he, a as ge, at as M, b as _e, c as ve, ct as ye, d as be, dt as xe, et as Se, f as Ce, ft as we, g as Te, gt as Ee, h as De, ht as Oe, it as ke, j as N, k as Ae, l as je, lt as P, m as Me, mt as Ne, n as Pe, nt as Fe, o as Ie, ot as Le, p as Re, pt as F, q as ze, r as Be, rt as Ve, s as He, st as Ue, t as We, tt as Ge, u as Ke, ut as qe, v as Je, vt as I, w as L, x as Ye, y as Xe, yt as R, z as Ze } from "./exports-CZ-XCWqS.js";
|
|
14
14
|
//#region src/tools/report-error.ts
|
|
15
|
-
var
|
|
16
|
-
function
|
|
17
|
-
|
|
15
|
+
var Qe;
|
|
16
|
+
function $e(e) {
|
|
17
|
+
Qe || e.filename.indexOf("expofp.com") === -1 || [
|
|
18
18
|
/loading chunk \d{1,2}\b/i,
|
|
19
19
|
/zaloJS/i,
|
|
20
20
|
/e.target.name/i,
|
|
21
21
|
/ResizeObserver loop/i,
|
|
22
22
|
/ChunkLoadError/i,
|
|
23
23
|
/FloorPlan not ready/i
|
|
24
|
-
].some((t) => t.test(e.message)) || (
|
|
24
|
+
].some((t) => t.test(e.message)) || (Qe = window.setTimeout(async function() {
|
|
25
25
|
var t;
|
|
26
26
|
let n = navigator.languages && navigator.languages.length ? navigator.languages[0] : navigator.language, r = {
|
|
27
27
|
host: document.location.host,
|
|
@@ -37,10 +37,10 @@ function et(e) {
|
|
|
37
37
|
url: document.location,
|
|
38
38
|
subject: "FP JS error: " + document.location.host
|
|
39
39
|
};
|
|
40
|
-
h.info("Sending error report", r), await Promise.all([
|
|
40
|
+
h.info("Sending error report", r), await Promise.all([et(r), tt(r)]);
|
|
41
41
|
}, 2e3));
|
|
42
42
|
}
|
|
43
|
-
async function
|
|
43
|
+
async function et(e) {
|
|
44
44
|
let t = await fetch("https://app.expofp.com/api/report-error", {
|
|
45
45
|
method: "POST",
|
|
46
46
|
headers: { "Content-Type": "application/json" },
|
|
@@ -48,15 +48,15 @@ async function tt(e) {
|
|
|
48
48
|
});
|
|
49
49
|
h.log("Reporter response: ", await t.text());
|
|
50
50
|
}
|
|
51
|
-
async function
|
|
52
|
-
let t =
|
|
51
|
+
async function tt(e) {
|
|
52
|
+
let t = nt(e), n = await fetch("https://msg.expofp.com/v1/post-message/" + window.location.hostname, {
|
|
53
53
|
method: "POST",
|
|
54
54
|
headers: { "Content-Type": "application/json" },
|
|
55
55
|
body: JSON.stringify(t)
|
|
56
56
|
});
|
|
57
57
|
h.log("Slack reporter response: ", await n.text());
|
|
58
58
|
}
|
|
59
|
-
function
|
|
59
|
+
function nt(e) {
|
|
60
60
|
let t = JSON.parse(JSON.stringify(e));
|
|
61
61
|
delete t.subject, delete t.message, delete t.stack, delete t.log;
|
|
62
62
|
let n = [];
|
|
@@ -82,8 +82,8 @@ function rt(e) {
|
|
|
82
82
|
}
|
|
83
83
|
//#endregion
|
|
84
84
|
//#region src/utils/loadCustomCss.ts
|
|
85
|
-
var
|
|
86
|
-
async function
|
|
85
|
+
var rt = /* @__PURE__ */ e(t());
|
|
86
|
+
async function it(e, t) {
|
|
87
87
|
if (e != null && e.customCss) {
|
|
88
88
|
let n = document.createElement("style");
|
|
89
89
|
n.textContent = e.customCss, t.append(n), await d(e.customCss);
|
|
@@ -91,7 +91,7 @@ async function at(e, t) {
|
|
|
91
91
|
}
|
|
92
92
|
//#endregion
|
|
93
93
|
//#region src/utils/loadIcons.ts
|
|
94
|
-
async function
|
|
94
|
+
async function at(e) {
|
|
95
95
|
try {
|
|
96
96
|
(await Promise.allSettled(Object.entries({
|
|
97
97
|
departure: "icons/departure.svg",
|
|
@@ -110,7 +110,7 @@ async function ot(e) {
|
|
|
110
110
|
}
|
|
111
111
|
//#endregion
|
|
112
112
|
//#region src/utils/mergeExhibitors.ts
|
|
113
|
-
function
|
|
113
|
+
function ot(e, t) {
|
|
114
114
|
t.exhibitors.forEach((t) => {
|
|
115
115
|
let n = e.exhibitors.find((e) => e.id === t.id);
|
|
116
116
|
n && (n.rebookingState = t.rebookingState, n.rebookingNote = t.rebookingNote);
|
|
@@ -118,121 +118,121 @@ function st(e, t) {
|
|
|
118
118
|
}
|
|
119
119
|
//#endregion
|
|
120
120
|
//#region src/utils/use-shadow.ts
|
|
121
|
-
var
|
|
122
|
-
function
|
|
123
|
-
return
|
|
124
|
-
let n =
|
|
121
|
+
var st, ct = typeof document < "u" && !!((st = document.body) != null && st.attachShadow) && m && localStorage.getItem("noShadowDom") !== "1" && window.FontFace !== void 0, { hostname: z, protocol: lt } = window.location, ut = z === "localhost" || z === "127.0.0.1" || z === "::1" || z.startsWith("192.168.") || z.startsWith("10.") || /^172\.(1[6-9]|2[0-9]|3[0-1])\./.test(z) || z.endsWith(".local") || lt === "file:" || z === "", B = {}, dt = {};
|
|
122
|
+
function V(e, t) {
|
|
123
|
+
return B[e] = B[e] || [], B[e].push(t), () => {
|
|
124
|
+
let n = B[e];
|
|
125
125
|
if (n) {
|
|
126
126
|
let e = n.indexOf(t);
|
|
127
127
|
e !== -1 && n.splice(e, 1);
|
|
128
128
|
}
|
|
129
129
|
};
|
|
130
130
|
}
|
|
131
|
-
function
|
|
132
|
-
if (!
|
|
133
|
-
|
|
131
|
+
function H(e, t) {
|
|
132
|
+
if (!dt[e]) {
|
|
133
|
+
dt[e] = !0;
|
|
134
134
|
try {
|
|
135
135
|
t();
|
|
136
136
|
} catch (t) {
|
|
137
|
-
|
|
137
|
+
R && F.error(`Error while instrumenting ${e}`, t);
|
|
138
138
|
}
|
|
139
139
|
}
|
|
140
140
|
}
|
|
141
|
-
function
|
|
142
|
-
let n = e &&
|
|
141
|
+
function U(e, t) {
|
|
142
|
+
let n = e && B[e];
|
|
143
143
|
if (n) for (let r of n) try {
|
|
144
144
|
r(t);
|
|
145
145
|
} catch (t) {
|
|
146
|
-
|
|
146
|
+
R && F.error(`Error while triggering instrumentation handler.
|
|
147
147
|
Type: ${e}
|
|
148
|
-
Name: ${
|
|
148
|
+
Name: ${P(r)}
|
|
149
149
|
Error:`, t);
|
|
150
150
|
}
|
|
151
151
|
}
|
|
152
152
|
//#endregion
|
|
153
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
154
|
-
var
|
|
155
|
-
function
|
|
153
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.57.0/node_modules/@sentry/core/build/esm/instrument/globalError.js
|
|
154
|
+
var ft = null;
|
|
155
|
+
function pt(e) {
|
|
156
156
|
let t = "error";
|
|
157
|
-
|
|
157
|
+
V(t, e), H(t, mt);
|
|
158
158
|
}
|
|
159
|
-
function
|
|
160
|
-
|
|
161
|
-
return
|
|
159
|
+
function mt() {
|
|
160
|
+
ft = I.onerror, I.onerror = function(e, t, n, r, i) {
|
|
161
|
+
return U("error", {
|
|
162
162
|
column: r,
|
|
163
163
|
error: i,
|
|
164
164
|
line: n,
|
|
165
165
|
msg: e,
|
|
166
166
|
url: t
|
|
167
|
-
}),
|
|
167
|
+
}), ft ? ft.apply(this, arguments) : !1;
|
|
168
168
|
}, I.onerror.__SENTRY_INSTRUMENTED__ = !0;
|
|
169
169
|
}
|
|
170
170
|
//#endregion
|
|
171
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
172
|
-
var
|
|
173
|
-
function
|
|
171
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.57.0/node_modules/@sentry/core/build/esm/instrument/globalUnhandledRejection.js
|
|
172
|
+
var ht = null;
|
|
173
|
+
function gt(e) {
|
|
174
174
|
let t = "unhandledrejection";
|
|
175
|
-
|
|
175
|
+
V(t, e), H(t, _t);
|
|
176
176
|
}
|
|
177
|
-
function
|
|
178
|
-
|
|
179
|
-
return
|
|
177
|
+
function _t() {
|
|
178
|
+
ht = I.onunhandledrejection, I.onunhandledrejection = function(e) {
|
|
179
|
+
return U("unhandledrejection", e), ht ? ht.apply(this, arguments) : !0;
|
|
180
180
|
}, I.onunhandledrejection.__SENTRY_INSTRUMENTED__ = !0;
|
|
181
181
|
}
|
|
182
182
|
//#endregion
|
|
183
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
184
|
-
function
|
|
183
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.57.0/node_modules/@sentry/core/build/esm/utils/parseSampleRate.js
|
|
184
|
+
function vt(e) {
|
|
185
185
|
if (typeof e == "boolean") return Number(e);
|
|
186
186
|
let t = typeof e == "string" ? parseFloat(e) : e;
|
|
187
187
|
if (!(typeof t != "number" || isNaN(t) || t < 0 || t > 1)) return t;
|
|
188
188
|
}
|
|
189
189
|
//#endregion
|
|
190
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
191
|
-
function
|
|
192
|
-
|
|
190
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.57.0/node_modules/@sentry/core/build/esm/utils/should-ignore-span.js
|
|
191
|
+
function yt(e) {
|
|
192
|
+
F.log(`Ignoring span ${e.op} - ${e.description} because it matches \`ignoreSpans\`.`);
|
|
193
193
|
}
|
|
194
|
-
function
|
|
194
|
+
function bt(e, t) {
|
|
195
195
|
if (!(t != null && t.length)) return !1;
|
|
196
196
|
for (let n of t) {
|
|
197
|
-
if (
|
|
198
|
-
if (e.description &&
|
|
197
|
+
if (Ct(n)) {
|
|
198
|
+
if (e.description && T(e.description, n)) return R && yt(e), !0;
|
|
199
199
|
continue;
|
|
200
200
|
}
|
|
201
201
|
let t = !!n.attributes && Object.keys(n.attributes).length > 0;
|
|
202
202
|
if (!n.name && !n.op && !t) continue;
|
|
203
|
-
let r = n.name ? e.description &&
|
|
203
|
+
let r = n.name ? e.description && T(e.description, n.name) : !0, i = n.op ? e.op && T(e.op, n.op) : !0, a = n.attributes ? Object.entries(n.attributes).every(([t, n]) => {
|
|
204
204
|
var r;
|
|
205
|
-
return
|
|
205
|
+
return xt((r = e.attributes) == null ? void 0 : r[t], n);
|
|
206
206
|
}) : !0;
|
|
207
|
-
if (r && i && a) return
|
|
207
|
+
if (r && i && a) return R && yt(e), !0;
|
|
208
208
|
}
|
|
209
209
|
return !1;
|
|
210
210
|
}
|
|
211
|
-
function
|
|
212
|
-
return typeof e == "string" && (typeof t == "string" || t instanceof RegExp) ?
|
|
211
|
+
function xt(e, t) {
|
|
212
|
+
return typeof e == "string" && (typeof t == "string" || t instanceof RegExp) ? T(e, t) : Array.isArray(e) && Array.isArray(t) ? e.length === t.length && e.every((e, n) => e === t[n]) : e === t;
|
|
213
213
|
}
|
|
214
|
-
function
|
|
214
|
+
function St(e, t) {
|
|
215
215
|
let n = t.parent_span_id, r = t.span_id;
|
|
216
216
|
if (n) for (let t of e) t.parent_span_id === r && (t.parent_span_id = n);
|
|
217
217
|
}
|
|
218
|
-
function
|
|
218
|
+
function Ct(e) {
|
|
219
219
|
return typeof e == "string" || e instanceof RegExp;
|
|
220
220
|
}
|
|
221
221
|
//#endregion
|
|
222
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
223
|
-
function
|
|
222
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.57.0/node_modules/@sentry/core/build/esm/tracing/spans/beforeSendSpan.js
|
|
223
|
+
function wt(e) {
|
|
224
224
|
return !!e && typeof e == "function" && "_streamed" in e && !!e._streamed;
|
|
225
225
|
}
|
|
226
226
|
//#endregion
|
|
227
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
228
|
-
function
|
|
227
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.57.0/node_modules/@sentry/core/build/esm/utils/envelope.js
|
|
228
|
+
function W(e, t = []) {
|
|
229
229
|
return [e, t];
|
|
230
230
|
}
|
|
231
|
-
function
|
|
231
|
+
function Tt(e, t) {
|
|
232
232
|
let [n, r] = e;
|
|
233
233
|
return [n, [...r, t]];
|
|
234
234
|
}
|
|
235
|
-
function
|
|
235
|
+
function Et(e, t) {
|
|
236
236
|
let n = e[1];
|
|
237
237
|
for (let e of n) {
|
|
238
238
|
let n = e[0].type;
|
|
@@ -240,17 +240,17 @@ function Dt(e, t) {
|
|
|
240
240
|
}
|
|
241
241
|
return !1;
|
|
242
242
|
}
|
|
243
|
-
function
|
|
244
|
-
return
|
|
243
|
+
function Dt(e, t) {
|
|
244
|
+
return Et(e, (e, n) => t.includes(n));
|
|
245
245
|
}
|
|
246
|
-
function
|
|
247
|
-
let t =
|
|
246
|
+
function Ot(e) {
|
|
247
|
+
let t = Ee(I);
|
|
248
248
|
return t.encodePolyfill ? t.encodePolyfill(e) : new TextEncoder().encode(e);
|
|
249
249
|
}
|
|
250
|
-
function
|
|
250
|
+
function kt(e) {
|
|
251
251
|
let [t, n] = e, r = JSON.stringify(t);
|
|
252
252
|
function i(e) {
|
|
253
|
-
typeof r == "string" ? r = typeof e == "string" ? r + e : [
|
|
253
|
+
typeof r == "string" ? r = typeof e == "string" ? r + e : [Ot(r), e] : r.push(typeof e == "string" ? Ot(e) : e);
|
|
254
254
|
}
|
|
255
255
|
for (let e of n) {
|
|
256
256
|
let [t, n] = e;
|
|
@@ -262,20 +262,20 @@ ${JSON.stringify(t)}
|
|
|
262
262
|
try {
|
|
263
263
|
e = JSON.stringify(n);
|
|
264
264
|
} catch {
|
|
265
|
-
e = JSON.stringify(
|
|
265
|
+
e = JSON.stringify(Ze(n));
|
|
266
266
|
}
|
|
267
267
|
i(e);
|
|
268
268
|
}
|
|
269
269
|
}
|
|
270
|
-
return typeof r == "string" ? r :
|
|
270
|
+
return typeof r == "string" ? r : At(r);
|
|
271
271
|
}
|
|
272
|
-
function
|
|
272
|
+
function At(e) {
|
|
273
273
|
let t = e.reduce((e, t) => e + t.length, 0), n = new Uint8Array(t), r = 0;
|
|
274
274
|
for (let t of e) n.set(t, r), r += t.length;
|
|
275
275
|
return n;
|
|
276
276
|
}
|
|
277
|
-
function
|
|
278
|
-
let t = typeof e.data == "string" ?
|
|
277
|
+
function jt(e) {
|
|
278
|
+
let t = typeof e.data == "string" ? Ot(e.data) : e.data;
|
|
279
279
|
return [{
|
|
280
280
|
type: "attachment",
|
|
281
281
|
length: t.length,
|
|
@@ -284,7 +284,7 @@ function Mt(e) {
|
|
|
284
284
|
attachment_type: e.attachmentType
|
|
285
285
|
}, t];
|
|
286
286
|
}
|
|
287
|
-
var
|
|
287
|
+
var Mt = {
|
|
288
288
|
sessions: "session",
|
|
289
289
|
event: "error",
|
|
290
290
|
client_report: "internal",
|
|
@@ -297,13 +297,13 @@ var Nt = {
|
|
|
297
297
|
log: "log_item",
|
|
298
298
|
trace_metric: "metric"
|
|
299
299
|
};
|
|
300
|
+
function Nt(e) {
|
|
301
|
+
return e in Mt;
|
|
302
|
+
}
|
|
300
303
|
function Pt(e) {
|
|
301
|
-
return e
|
|
304
|
+
return Nt(e) ? Mt[e] : e;
|
|
302
305
|
}
|
|
303
306
|
function Ft(e) {
|
|
304
|
-
return Pt(e) ? Nt[e] : e;
|
|
305
|
-
}
|
|
306
|
-
function It(e) {
|
|
307
307
|
if (!(e != null && e.sdk)) return;
|
|
308
308
|
let { name: t, version: n } = e.sdk;
|
|
309
309
|
return {
|
|
@@ -311,20 +311,20 @@ function It(e) {
|
|
|
311
311
|
version: n
|
|
312
312
|
};
|
|
313
313
|
}
|
|
314
|
-
function
|
|
314
|
+
function It(e, t, n, r) {
|
|
315
315
|
var i;
|
|
316
316
|
let a = (i = e.sdkProcessingMetadata) == null ? void 0 : i.dynamicSamplingContext;
|
|
317
317
|
return {
|
|
318
318
|
event_id: e.event_id,
|
|
319
|
-
sent_at:
|
|
319
|
+
sent_at: new Date(w()).toISOString(),
|
|
320
320
|
...t && { sdk: t },
|
|
321
|
-
...!!n && r && { dsn:
|
|
321
|
+
...!!n && r && { dsn: j(r) },
|
|
322
322
|
...a && { trace: a }
|
|
323
323
|
};
|
|
324
324
|
}
|
|
325
325
|
//#endregion
|
|
326
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
327
|
-
function
|
|
326
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.57.0/node_modules/@sentry/core/build/esm/envelope.js
|
|
327
|
+
function Lt(e, t) {
|
|
328
328
|
var n, r, i, a;
|
|
329
329
|
if (!t) return e;
|
|
330
330
|
let o = e.sdk || {};
|
|
@@ -340,28 +340,28 @@ function Rt(e, t) {
|
|
|
340
340
|
} : void 0
|
|
341
341
|
}, e;
|
|
342
342
|
}
|
|
343
|
-
function
|
|
344
|
-
let i =
|
|
345
|
-
return
|
|
346
|
-
sent_at:
|
|
343
|
+
function Rt(e, t, n, r) {
|
|
344
|
+
let i = Ft(n);
|
|
345
|
+
return W({
|
|
346
|
+
sent_at: new Date(w()).toISOString(),
|
|
347
347
|
...i && { sdk: i },
|
|
348
|
-
...!!r && t && { dsn:
|
|
348
|
+
...!!r && t && { dsn: j(t) }
|
|
349
349
|
}, ["aggregates" in e ? [{ type: "sessions" }, e] : [{ type: "session" }, e.toJSON()]]);
|
|
350
350
|
}
|
|
351
|
-
function
|
|
352
|
-
let i =
|
|
353
|
-
|
|
354
|
-
let o =
|
|
355
|
-
return delete e.sdkProcessingMetadata,
|
|
351
|
+
function zt(e, t, n, r) {
|
|
352
|
+
let i = Ft(n), a = e.type && e.type !== "replay_event" ? e.type : "event";
|
|
353
|
+
Lt(e, n == null ? void 0 : n.sdk);
|
|
354
|
+
let o = It(e, i, r, t);
|
|
355
|
+
return delete e.sdkProcessingMetadata, W(o, [[{ type: a }, e]]);
|
|
356
356
|
}
|
|
357
357
|
//#endregion
|
|
358
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
359
|
-
function
|
|
358
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.57.0/node_modules/@sentry/core/build/esm/tracing/spans/hasSpanStreamingEnabled.js
|
|
359
|
+
function Bt(e) {
|
|
360
360
|
return e.getOptions().traceLifecycle === "stream";
|
|
361
361
|
}
|
|
362
362
|
//#endregion
|
|
363
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
364
|
-
function
|
|
363
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.57.0/node_modules/@sentry/core/build/esm/utils/url.js
|
|
364
|
+
function Vt(e) {
|
|
365
365
|
if (!e) return {};
|
|
366
366
|
let t = e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);
|
|
367
367
|
if (!t) return {};
|
|
@@ -375,7 +375,7 @@ function Ht(e) {
|
|
|
375
375
|
relative: t[5] + n + r
|
|
376
376
|
};
|
|
377
377
|
}
|
|
378
|
-
function
|
|
378
|
+
function Ht(e, t = !0) {
|
|
379
379
|
if (e.startsWith("data:")) {
|
|
380
380
|
let n = e.match(/^data:([^;,]+)/), r = n ? n[1] : "text/plain", i = e.includes(";base64,"), a = e.indexOf(","), o = "";
|
|
381
381
|
if (t && a !== -1) {
|
|
@@ -387,32 +387,32 @@ function Ut(e, t = !0) {
|
|
|
387
387
|
return e;
|
|
388
388
|
}
|
|
389
389
|
//#endregion
|
|
390
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
391
|
-
function
|
|
390
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.57.0/node_modules/@sentry/core/build/esm/tracing/spans/captureSpan.js
|
|
391
|
+
function Ut(e, t) {
|
|
392
392
|
var n;
|
|
393
393
|
let r = (n = e.attributes) == null ? e.attributes = {} : n;
|
|
394
394
|
Object.entries(t).forEach(([e, t]) => {
|
|
395
395
|
t != null && !(e in r) && (r[e] = t);
|
|
396
396
|
});
|
|
397
397
|
}
|
|
398
|
-
function
|
|
398
|
+
function Wt(e) {
|
|
399
399
|
let t = e.protocol ? `${e.protocol}:` : "", n = e.port ? `:${e.port}` : "";
|
|
400
400
|
return `${t}//${e.host}${n}${e.path ? `/${e.path}` : ""}/api/`;
|
|
401
401
|
}
|
|
402
|
-
function
|
|
403
|
-
return `${
|
|
402
|
+
function Gt(e) {
|
|
403
|
+
return `${Wt(e)}${e.projectId}/envelope/`;
|
|
404
404
|
}
|
|
405
|
-
function
|
|
405
|
+
function Kt(e, t) {
|
|
406
406
|
let n = { sentry_version: "7" };
|
|
407
407
|
return e.publicKey && (n.sentry_key = e.publicKey), t && (n.sentry_client = `${t.name}/${t.version}`), new URLSearchParams(n).toString();
|
|
408
408
|
}
|
|
409
|
-
function
|
|
410
|
-
return t || `${
|
|
409
|
+
function qt(e, t, n) {
|
|
410
|
+
return t || `${Gt(e)}?${Kt(e, n)}`;
|
|
411
411
|
}
|
|
412
|
-
function
|
|
412
|
+
function Jt(e, t) {
|
|
413
413
|
let n = Je(e);
|
|
414
414
|
if (!n) return "";
|
|
415
|
-
let r = `${
|
|
415
|
+
let r = `${Wt(n)}embed/error-page/`, i = `dsn=${j(n)}`;
|
|
416
416
|
for (let e in t) if (e !== "dsn" && e !== "onClose") if (e === "user") {
|
|
417
417
|
let e = t.user;
|
|
418
418
|
if (!e) continue;
|
|
@@ -421,16 +421,16 @@ function Yt(e, t) {
|
|
|
421
421
|
return `${r}?${i}`;
|
|
422
422
|
}
|
|
423
423
|
//#endregion
|
|
424
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
425
|
-
var
|
|
426
|
-
function
|
|
424
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.57.0/node_modules/@sentry/core/build/esm/integration.js
|
|
425
|
+
var Yt = [];
|
|
426
|
+
function Xt(e) {
|
|
427
427
|
let t = {};
|
|
428
428
|
return e.forEach((e) => {
|
|
429
429
|
let { name: n } = e, r = t[n];
|
|
430
430
|
r && !r.isDefaultInstance && e.isDefaultInstance || (t[n] = e);
|
|
431
431
|
}), Object.values(t);
|
|
432
432
|
}
|
|
433
|
-
function
|
|
433
|
+
function Zt(e) {
|
|
434
434
|
let t = e.defaultIntegrations || [], n = e.integrations;
|
|
435
435
|
t.forEach((e) => {
|
|
436
436
|
e.isDefaultInstance = !0;
|
|
@@ -441,25 +441,25 @@ function Qt(e) {
|
|
|
441
441
|
let e = n(t);
|
|
442
442
|
r = Array.isArray(e) ? e : [e];
|
|
443
443
|
} else r = t;
|
|
444
|
-
return
|
|
444
|
+
return Xt(r);
|
|
445
445
|
}
|
|
446
|
-
function
|
|
446
|
+
function Qt(e, t) {
|
|
447
447
|
let n = {};
|
|
448
448
|
return t.forEach((t) => {
|
|
449
449
|
t != null && t.beforeSetup && t.beforeSetup(e);
|
|
450
450
|
}), t.forEach((t) => {
|
|
451
|
-
t &&
|
|
451
|
+
t && en(e, t, n);
|
|
452
452
|
}), n;
|
|
453
453
|
}
|
|
454
|
-
function
|
|
454
|
+
function $t(e, t) {
|
|
455
455
|
for (let n of t) n != null && n.afterAllSetup && n.afterAllSetup(e);
|
|
456
456
|
}
|
|
457
|
-
function
|
|
457
|
+
function en(e, t, n) {
|
|
458
458
|
if (n[t.name]) {
|
|
459
|
-
|
|
459
|
+
R && F.log(`Integration skipped because it was already installed: ${t.name}`);
|
|
460
460
|
return;
|
|
461
461
|
}
|
|
462
|
-
if (n[t.name] = t, !
|
|
462
|
+
if (n[t.name] = t, !Yt.includes(t.name) && typeof t.setupOnce == "function" && (t.setupOnce(), Yt.push(t.name)), t.setup && typeof t.setup == "function" && t.setup(e), typeof t.preprocessEvent == "function") {
|
|
463
463
|
let n = t.preprocessEvent.bind(t);
|
|
464
464
|
e.on("preprocessEvent", (t, r) => n(t, r, e));
|
|
465
465
|
}
|
|
@@ -470,36 +470,36 @@ function tn(e, t, n) {
|
|
|
470
470
|
["processSpan", "processSegmentSpan"].forEach((n) => {
|
|
471
471
|
let r = t[n];
|
|
472
472
|
typeof r == "function" && e.on(n, (n) => r.call(t, n, e));
|
|
473
|
-
}),
|
|
473
|
+
}), R && F.log(`Integration installed: ${t.name}`);
|
|
474
474
|
}
|
|
475
|
-
function
|
|
475
|
+
function G(e) {
|
|
476
476
|
return e;
|
|
477
477
|
}
|
|
478
478
|
//#endregion
|
|
479
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
480
|
-
function
|
|
479
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.57.0/node_modules/@sentry/core/build/esm/utils/env.js
|
|
480
|
+
function tn() {
|
|
481
481
|
return typeof __SENTRY_BROWSER_BUNDLE__ < "u" && !!__SENTRY_BROWSER_BUNDLE__;
|
|
482
482
|
}
|
|
483
|
-
function
|
|
483
|
+
function nn() {
|
|
484
484
|
return "npm";
|
|
485
485
|
}
|
|
486
486
|
//#endregion
|
|
487
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
488
|
-
function
|
|
489
|
-
return !
|
|
487
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.57.0/node_modules/@sentry/core/build/esm/utils/node.js
|
|
488
|
+
function rn() {
|
|
489
|
+
return !tn() && Object.prototype.toString.call(typeof process < "u" ? process : 0) === "[object process]";
|
|
490
490
|
}
|
|
491
491
|
//#endregion
|
|
492
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
493
|
-
function
|
|
494
|
-
return typeof window < "u" && (!
|
|
492
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.57.0/node_modules/@sentry/core/build/esm/utils/isBrowser.js
|
|
493
|
+
function an() {
|
|
494
|
+
return typeof window < "u" && (!rn() || on());
|
|
495
495
|
}
|
|
496
|
-
function
|
|
496
|
+
function on() {
|
|
497
497
|
let e = I.process;
|
|
498
498
|
return (e == null ? void 0 : e.type) === "renderer";
|
|
499
499
|
}
|
|
500
500
|
//#endregion
|
|
501
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
502
|
-
function
|
|
501
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.57.0/node_modules/@sentry/core/build/esm/logs/envelope.js
|
|
502
|
+
function sn(e, t) {
|
|
503
503
|
let n = t ? "auto" : "never";
|
|
504
504
|
return [{
|
|
505
505
|
type: "log",
|
|
@@ -507,38 +507,38 @@ function cn(e, t) {
|
|
|
507
507
|
content_type: "application/vnd.sentry.items.log+json"
|
|
508
508
|
}, {
|
|
509
509
|
version: 2,
|
|
510
|
-
...
|
|
510
|
+
...an() && { ingest_settings: {
|
|
511
511
|
infer_ip: n,
|
|
512
512
|
infer_user_agent: n
|
|
513
513
|
} },
|
|
514
514
|
items: e
|
|
515
515
|
}];
|
|
516
516
|
}
|
|
517
|
-
function
|
|
517
|
+
function cn(e, t, n, r, i) {
|
|
518
518
|
let a = {};
|
|
519
519
|
return t != null && t.sdk && (a.sdk = {
|
|
520
520
|
name: t.sdk.name,
|
|
521
521
|
version: t.sdk.version
|
|
522
|
-
}), n && r && (a.dsn =
|
|
522
|
+
}), n && r && (a.dsn = j(r)), W(a, [sn(e, i)]);
|
|
523
523
|
}
|
|
524
524
|
//#endregion
|
|
525
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
526
|
-
function
|
|
525
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.57.0/node_modules/@sentry/core/build/esm/logs/internal.js
|
|
526
|
+
function ln(e, t) {
|
|
527
527
|
var n;
|
|
528
|
-
let r = (n = t == null ?
|
|
528
|
+
let r = (n = t == null ? un(e) : t) == null ? [] : n;
|
|
529
529
|
if (r.length === 0) return;
|
|
530
|
-
let i = e.getOptions(), a =
|
|
531
|
-
|
|
530
|
+
let i = e.getOptions(), a = cn(r, i._metadata, i.tunnel, e.getDsn(), e.getDataCollectionOptions().userInfo);
|
|
531
|
+
dn().set(e, []), e.emit("flushLogs"), e.sendEnvelope(a);
|
|
532
532
|
}
|
|
533
|
-
function
|
|
534
|
-
return
|
|
533
|
+
function un(e) {
|
|
534
|
+
return dn().get(e);
|
|
535
535
|
}
|
|
536
|
-
function
|
|
537
|
-
return
|
|
536
|
+
function dn() {
|
|
537
|
+
return Oe("clientToLogBufferMap", () => /* @__PURE__ */ new WeakMap());
|
|
538
538
|
}
|
|
539
539
|
//#endregion
|
|
540
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
541
|
-
function
|
|
540
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.57.0/node_modules/@sentry/core/build/esm/metrics/envelope.js
|
|
541
|
+
function fn(e, t) {
|
|
542
542
|
let n = t ? "auto" : "never";
|
|
543
543
|
return [{
|
|
544
544
|
type: "trace_metric",
|
|
@@ -546,39 +546,39 @@ function pn(e, t) {
|
|
|
546
546
|
content_type: "application/vnd.sentry.items.trace-metric+json"
|
|
547
547
|
}, {
|
|
548
548
|
version: 2,
|
|
549
|
-
...
|
|
549
|
+
...an() && { ingest_settings: {
|
|
550
550
|
infer_ip: n,
|
|
551
551
|
infer_user_agent: n
|
|
552
552
|
} },
|
|
553
553
|
items: e
|
|
554
554
|
}];
|
|
555
555
|
}
|
|
556
|
-
function
|
|
556
|
+
function pn(e, t, n, r, i) {
|
|
557
557
|
let a = {};
|
|
558
558
|
return t != null && t.sdk && (a.sdk = {
|
|
559
559
|
name: t.sdk.name,
|
|
560
560
|
version: t.sdk.version
|
|
561
|
-
}), n && r && (a.dsn =
|
|
561
|
+
}), n && r && (a.dsn = j(r)), W(a, [fn(e, i)]);
|
|
562
562
|
}
|
|
563
563
|
//#endregion
|
|
564
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
565
|
-
function
|
|
564
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.57.0/node_modules/@sentry/core/build/esm/metrics/internal.js
|
|
565
|
+
function mn(e, t) {
|
|
566
566
|
var n;
|
|
567
|
-
let r = (n = t == null ?
|
|
567
|
+
let r = (n = t == null ? hn(e) : t) == null ? [] : n;
|
|
568
568
|
if (r.length === 0) return;
|
|
569
|
-
let i = e.getOptions(), a =
|
|
570
|
-
|
|
569
|
+
let i = e.getOptions(), a = pn(r, i._metadata, i.tunnel, e.getDsn(), e.getDataCollectionOptions().userInfo);
|
|
570
|
+
gn().set(e, []), e.emit("flushMetrics"), e.sendEnvelope(a);
|
|
571
571
|
}
|
|
572
|
-
function
|
|
573
|
-
return
|
|
572
|
+
function hn(e) {
|
|
573
|
+
return gn().get(e);
|
|
574
574
|
}
|
|
575
|
-
function
|
|
576
|
-
return
|
|
575
|
+
function gn() {
|
|
576
|
+
return Oe("clientToMetricBufferMap", () => /* @__PURE__ */ new WeakMap());
|
|
577
577
|
}
|
|
578
578
|
//#endregion
|
|
579
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
580
|
-
function
|
|
581
|
-
return
|
|
579
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.57.0/node_modules/@sentry/core/build/esm/tracing/spans/spanJsonToStreamedSpan.js
|
|
580
|
+
function _n(e) {
|
|
581
|
+
return Te({
|
|
582
582
|
trace_id: e.trace_id,
|
|
583
583
|
span_id: e.span_id,
|
|
584
584
|
parent_span_id: e.parent_span_id,
|
|
@@ -592,14 +592,14 @@ function vn(e) {
|
|
|
592
592
|
});
|
|
593
593
|
}
|
|
594
594
|
//#endregion
|
|
595
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
596
|
-
function
|
|
595
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.57.0/node_modules/@sentry/core/build/esm/tracing/spans/extractGenAiSpans.js
|
|
596
|
+
function vn(e, t) {
|
|
597
597
|
var n, r;
|
|
598
|
-
if (e.type !== "transaction" || !((n = e.spans) != null && n.length) || !((r = e.sdkProcessingMetadata) != null && r.hasGenAiSpans) || !t.getOptions().streamGenAiSpans ||
|
|
598
|
+
if (e.type !== "transaction" || !((n = e.spans) != null && n.length) || !((r = e.sdkProcessingMetadata) != null && r.hasGenAiSpans) || !t.getOptions().streamGenAiSpans || Bt(t)) return;
|
|
599
599
|
let i = [], a = [];
|
|
600
600
|
for (let t of e.spans) {
|
|
601
601
|
var o;
|
|
602
|
-
(o = t.op) != null && o.startsWith("gen_ai.") ? i.push(
|
|
602
|
+
(o = t.op) != null && o.startsWith("gen_ai.") ? i.push(_n(t)) : a.push(t);
|
|
603
603
|
}
|
|
604
604
|
if (i.length === 0) return;
|
|
605
605
|
e.spans = a;
|
|
@@ -610,7 +610,7 @@ function yn(e, t) {
|
|
|
610
610
|
content_type: "application/vnd.sentry.items.span.v2+json"
|
|
611
611
|
}, {
|
|
612
612
|
version: 2,
|
|
613
|
-
...
|
|
613
|
+
...an() && { ingest_settings: {
|
|
614
614
|
infer_ip: s,
|
|
615
615
|
infer_user_agent: s
|
|
616
616
|
} },
|
|
@@ -618,14 +618,14 @@ function yn(e, t) {
|
|
|
618
618
|
}];
|
|
619
619
|
}
|
|
620
620
|
//#endregion
|
|
621
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
622
|
-
function
|
|
621
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.57.0/node_modules/@sentry/core/build/esm/utils/timer.js
|
|
622
|
+
function yn(e) {
|
|
623
623
|
return typeof e == "object" && typeof e.unref == "function" && e.unref(), e;
|
|
624
624
|
}
|
|
625
625
|
//#endregion
|
|
626
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
627
|
-
var
|
|
628
|
-
function
|
|
626
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.57.0/node_modules/@sentry/core/build/esm/utils/promisebuffer.js
|
|
627
|
+
var bn = /* @__PURE__ */ Symbol.for("SentryBufferFullError");
|
|
628
|
+
function xn(e = 100) {
|
|
629
629
|
let t = /* @__PURE__ */ new Set();
|
|
630
630
|
function n() {
|
|
631
631
|
return t.size < e;
|
|
@@ -634,15 +634,15 @@ function Sn(e = 100) {
|
|
|
634
634
|
t.delete(e);
|
|
635
635
|
}
|
|
636
636
|
function i(e) {
|
|
637
|
-
if (!n()) return Ke(
|
|
637
|
+
if (!n()) return Ke(bn);
|
|
638
638
|
let i = e();
|
|
639
639
|
return t.add(i), i.then(() => r(i), () => r(i)), i;
|
|
640
640
|
}
|
|
641
641
|
function a(e) {
|
|
642
|
-
if (!t.size) return
|
|
642
|
+
if (!t.size) return be(!0);
|
|
643
643
|
let n = Promise.allSettled(Array.from(t)).then(() => !0);
|
|
644
644
|
if (!e) return n;
|
|
645
|
-
let r = [n, new Promise((t) =>
|
|
645
|
+
let r = [n, new Promise((t) => yn(setTimeout(() => t(!1), e)))];
|
|
646
646
|
return Promise.race(r);
|
|
647
647
|
}
|
|
648
648
|
return {
|
|
@@ -654,51 +654,51 @@ function Sn(e = 100) {
|
|
|
654
654
|
};
|
|
655
655
|
}
|
|
656
656
|
//#endregion
|
|
657
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
658
|
-
var
|
|
659
|
-
function
|
|
657
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.57.0/node_modules/@sentry/core/build/esm/utils/ratelimit.js
|
|
658
|
+
var Sn = 60 * 1e3;
|
|
659
|
+
function Cn(e, t = w()) {
|
|
660
660
|
let n = parseInt(`${e}`, 10);
|
|
661
661
|
if (!isNaN(n)) return n * 1e3;
|
|
662
662
|
let r = Date.parse(`${e}`);
|
|
663
|
-
return isNaN(r) ?
|
|
663
|
+
return isNaN(r) ? Sn : r - t;
|
|
664
664
|
}
|
|
665
|
-
function
|
|
665
|
+
function wn(e, t) {
|
|
666
666
|
return e[t] || e.all || 0;
|
|
667
667
|
}
|
|
668
|
-
function
|
|
669
|
-
return
|
|
668
|
+
function Tn(e, t, n = w()) {
|
|
669
|
+
return wn(e, t) > n;
|
|
670
670
|
}
|
|
671
|
-
function
|
|
671
|
+
function En(e, { statusCode: t, headers: n }, r = w()) {
|
|
672
672
|
let i = { ...e }, a = n == null ? void 0 : n["x-sentry-rate-limits"], o = n == null ? void 0 : n["retry-after"];
|
|
673
673
|
if (a) for (let e of a.trim().split(",")) {
|
|
674
674
|
let [t, n, , , a] = e.split(":", 5), o = parseInt(t, 10), s = (isNaN(o) ? 60 : o) * 1e3;
|
|
675
675
|
if (!n) i.all = r + s;
|
|
676
676
|
else for (let e of n.split(";")) e === "metric_bucket" ? (!a || a.split(";").includes("custom")) && (i[e] = r + s) : i[e] = r + s;
|
|
677
677
|
}
|
|
678
|
-
else o ? i.all = r +
|
|
678
|
+
else o ? i.all = r + Cn(o, r) : t === 429 && (i.all = r + 60 * 1e3);
|
|
679
679
|
return i;
|
|
680
680
|
}
|
|
681
|
-
function
|
|
681
|
+
function Dn(e, t, n = xn(e.bufferSize || 64)) {
|
|
682
682
|
let r = {}, i = (e) => n.drain(e);
|
|
683
683
|
function a(i) {
|
|
684
684
|
let a = [];
|
|
685
|
-
if (
|
|
686
|
-
let i =
|
|
687
|
-
|
|
685
|
+
if (Et(i, (t, n) => {
|
|
686
|
+
let i = Pt(n);
|
|
687
|
+
Tn(r, i) ? e.recordDroppedEvent("ratelimit_backoff", i) : a.push(t);
|
|
688
688
|
}), a.length === 0) return Promise.resolve({});
|
|
689
|
-
let o =
|
|
690
|
-
if (
|
|
691
|
-
|
|
689
|
+
let o = W(i[0], a), s = (t) => {
|
|
690
|
+
if (Dt(o, ["client_report"])) {
|
|
691
|
+
R && F.warn(`Dropping client report. Will not send outcomes (reason: ${t}).`);
|
|
692
692
|
return;
|
|
693
693
|
}
|
|
694
|
-
|
|
695
|
-
e.recordDroppedEvent(t,
|
|
694
|
+
Et(o, (n, r) => {
|
|
695
|
+
e.recordDroppedEvent(t, Pt(r));
|
|
696
696
|
});
|
|
697
697
|
};
|
|
698
|
-
return n.add(() => t({ body:
|
|
699
|
-
throw s("network_error"),
|
|
698
|
+
return n.add(() => t({ body: kt(o) }).then((e) => e.statusCode === 413 ? (R && F.error("Sentry responded with status code 413. Envelope was discarded due to exceeding size limits."), s("send_error"), e) : (R && e.statusCode !== void 0 && (e.statusCode < 200 || e.statusCode >= 300) && F.warn(`Sentry responded with status code ${e.statusCode} to sent event.`), r = En(r, e), e), (e) => {
|
|
699
|
+
throw s("network_error"), R && F.error("Encountered error running transport request:", e), e;
|
|
700
700
|
})).then((e) => e, (e) => {
|
|
701
|
-
if (e ===
|
|
701
|
+
if (e === bn) return R && F.error("Skipped sending event because buffer is full."), s("queue_overflow"), Promise.resolve({});
|
|
702
702
|
throw e;
|
|
703
703
|
});
|
|
704
704
|
}
|
|
@@ -708,17 +708,17 @@ function On(e, t, n = Sn(e.bufferSize || 64)) {
|
|
|
708
708
|
};
|
|
709
709
|
}
|
|
710
710
|
//#endregion
|
|
711
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
712
|
-
function
|
|
711
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.57.0/node_modules/@sentry/core/build/esm/utils/clientreport.js
|
|
712
|
+
function On(e, t, n) {
|
|
713
713
|
let r = [{ type: "client_report" }, {
|
|
714
|
-
timestamp: n ||
|
|
714
|
+
timestamp: n || Ae(),
|
|
715
715
|
discarded_events: e
|
|
716
716
|
}];
|
|
717
|
-
return
|
|
717
|
+
return W(t ? { dsn: t } : {}, [r]);
|
|
718
718
|
}
|
|
719
719
|
//#endregion
|
|
720
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
721
|
-
function
|
|
720
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.57.0/node_modules/@sentry/core/build/esm/utils/eventUtils.js
|
|
721
|
+
function kn(e) {
|
|
722
722
|
let t = [];
|
|
723
723
|
e.message && t.push(e.message);
|
|
724
724
|
try {
|
|
@@ -728,8 +728,8 @@ function An(e) {
|
|
|
728
728
|
return t;
|
|
729
729
|
}
|
|
730
730
|
//#endregion
|
|
731
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
732
|
-
function
|
|
731
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.57.0/node_modules/@sentry/core/build/esm/utils/transactionEvent.js
|
|
732
|
+
function An(e) {
|
|
733
733
|
var t, n, r;
|
|
734
734
|
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;
|
|
735
735
|
return {
|
|
@@ -743,13 +743,13 @@ function jn(e) {
|
|
|
743
743
|
timestamp: e.timestamp,
|
|
744
744
|
trace_id: i == null ? "" : i,
|
|
745
745
|
origin: c,
|
|
746
|
-
profile_id: l == null ? void 0 : l[
|
|
747
|
-
exclusive_time: l == null ? void 0 : l[
|
|
746
|
+
profile_id: l == null ? void 0 : l[Ye],
|
|
747
|
+
exclusive_time: l == null ? void 0 : l[_e],
|
|
748
748
|
measurements: e.measurements,
|
|
749
749
|
is_segment: !0
|
|
750
750
|
};
|
|
751
751
|
}
|
|
752
|
-
function
|
|
752
|
+
function jn(e) {
|
|
753
753
|
return {
|
|
754
754
|
type: "transaction",
|
|
755
755
|
timestamp: e.timestamp,
|
|
@@ -772,8 +772,8 @@ function Mn(e) {
|
|
|
772
772
|
};
|
|
773
773
|
}
|
|
774
774
|
//#endregion
|
|
775
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
776
|
-
var
|
|
775
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.57.0/node_modules/@sentry/core/build/esm/utils/data-collection/filtering-snippets.js
|
|
776
|
+
var Mn = [
|
|
777
777
|
"forwarded",
|
|
778
778
|
"-ip",
|
|
779
779
|
"remote-",
|
|
@@ -781,8 +781,8 @@ var Nn = [
|
|
|
781
781
|
"-user"
|
|
782
782
|
];
|
|
783
783
|
//#endregion
|
|
784
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
785
|
-
function
|
|
784
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.57.0/node_modules/@sentry/core/build/esm/utils/data-collection/defaultPiiToCollectionOptions.js
|
|
785
|
+
function Nn(e) {
|
|
786
786
|
return e === !0 ? {
|
|
787
787
|
userInfo: !0,
|
|
788
788
|
cookies: !0,
|
|
@@ -802,34 +802,39 @@ function Pn(e) {
|
|
|
802
802
|
outputs: !0
|
|
803
803
|
},
|
|
804
804
|
stackFrameVariables: !0,
|
|
805
|
-
frameContextLines:
|
|
805
|
+
frameContextLines: 7
|
|
806
806
|
} : {
|
|
807
807
|
userInfo: !1,
|
|
808
|
-
cookies: { deny:
|
|
808
|
+
cookies: { deny: Mn },
|
|
809
809
|
httpHeaders: {
|
|
810
|
-
request: { deny:
|
|
811
|
-
response: { deny:
|
|
810
|
+
request: { deny: Mn },
|
|
811
|
+
response: { deny: Mn }
|
|
812
812
|
},
|
|
813
813
|
httpBodies: [],
|
|
814
|
-
queryParams: { deny:
|
|
814
|
+
queryParams: { deny: Mn },
|
|
815
815
|
genAI: {
|
|
816
816
|
inputs: !1,
|
|
817
817
|
outputs: !1
|
|
818
818
|
},
|
|
819
819
|
stackFrameVariables: !0,
|
|
820
|
-
frameContextLines:
|
|
820
|
+
frameContextLines: 7
|
|
821
821
|
};
|
|
822
822
|
}
|
|
823
823
|
//#endregion
|
|
824
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
825
|
-
var
|
|
826
|
-
userInfo: !
|
|
824
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.57.0/node_modules/@sentry/core/build/esm/utils/data-collection/resolveDataCollectionOptions.js
|
|
825
|
+
var Pn = {
|
|
826
|
+
userInfo: !0,
|
|
827
827
|
cookies: !0,
|
|
828
828
|
httpHeaders: {
|
|
829
829
|
request: !0,
|
|
830
830
|
response: !0
|
|
831
831
|
},
|
|
832
|
-
httpBodies: [
|
|
832
|
+
httpBodies: [
|
|
833
|
+
"incomingRequest",
|
|
834
|
+
"outgoingRequest",
|
|
835
|
+
"incomingResponse",
|
|
836
|
+
"outgoingResponse"
|
|
837
|
+
],
|
|
833
838
|
queryParams: !0,
|
|
834
839
|
genAI: {
|
|
835
840
|
inputs: !0,
|
|
@@ -838,9 +843,9 @@ var Fn = {
|
|
|
838
843
|
stackFrameVariables: !0,
|
|
839
844
|
frameContextLines: 5
|
|
840
845
|
};
|
|
841
|
-
function
|
|
846
|
+
function Fn(e) {
|
|
842
847
|
var t, n, r, i, a, o, s, c, l, u, d, f, ee, p, m;
|
|
843
|
-
let h = e.dataCollection == null ?
|
|
848
|
+
let h = e.dataCollection == null ? Nn(e.sendDefaultPii) : Pn, g = (t = e.dataCollection) == null ? {} : t;
|
|
844
849
|
return {
|
|
845
850
|
userInfo: (n = g.userInfo) == null ? h.userInfo : n,
|
|
846
851
|
cookies: (r = g.cookies) == null ? h.cookies : r,
|
|
@@ -859,27 +864,27 @@ function In(e) {
|
|
|
859
864
|
};
|
|
860
865
|
}
|
|
861
866
|
//#endregion
|
|
862
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
863
|
-
var
|
|
864
|
-
function
|
|
867
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.57.0/node_modules/@sentry/core/build/esm/client.js
|
|
868
|
+
var In = "Not capturing exception because it's already been captured.", Ln = "Discarded session because of missing or non-string release", Rn = /* @__PURE__ */ Symbol.for("SentryInternalError"), zn = /* @__PURE__ */ Symbol.for("SentryDoNotSendEventError"), Bn = 5e3;
|
|
869
|
+
function Vn(e) {
|
|
865
870
|
return {
|
|
866
871
|
message: e,
|
|
867
|
-
[
|
|
872
|
+
[Rn]: !0
|
|
868
873
|
};
|
|
869
874
|
}
|
|
870
|
-
function
|
|
875
|
+
function Hn(e) {
|
|
871
876
|
return {
|
|
872
877
|
message: e,
|
|
873
|
-
[
|
|
878
|
+
[zn]: !0
|
|
874
879
|
};
|
|
875
880
|
}
|
|
881
|
+
function Un(e) {
|
|
882
|
+
return !!e && typeof e == "object" && Rn in e;
|
|
883
|
+
}
|
|
876
884
|
function Wn(e) {
|
|
877
885
|
return !!e && typeof e == "object" && zn in e;
|
|
878
886
|
}
|
|
879
|
-
function Gn(e) {
|
|
880
|
-
return !!e && typeof e == "object" && Bn in e;
|
|
881
|
-
}
|
|
882
|
-
function Kn(e, t, n, r, i) {
|
|
887
|
+
function Gn(e, t, n, r, i) {
|
|
883
888
|
let a = 0, o, s = !1;
|
|
884
889
|
e.on(n, () => {
|
|
885
890
|
a = 0, clearTimeout(o), s = !1;
|
|
@@ -887,8 +892,8 @@ function Kn(e, t, n, r, i) {
|
|
|
887
892
|
if (a += r(t), a >= 8e5) i(e);
|
|
888
893
|
else if (!s) {
|
|
889
894
|
var n;
|
|
890
|
-
let t = (n = e.getOptions()._flushInterval) == null ?
|
|
891
|
-
t > 0 && (s = !0, o =
|
|
895
|
+
let t = (n = e.getOptions()._flushInterval) == null ? Bn : n;
|
|
896
|
+
t > 0 && (s = !0, o = yn(setTimeout(() => {
|
|
892
897
|
i(e);
|
|
893
898
|
}, t)));
|
|
894
899
|
}
|
|
@@ -896,11 +901,11 @@ function Kn(e, t, n, r, i) {
|
|
|
896
901
|
i(e);
|
|
897
902
|
});
|
|
898
903
|
}
|
|
899
|
-
var
|
|
904
|
+
var Kn = class {
|
|
900
905
|
constructor(e) {
|
|
901
906
|
var t, n, r, i, a, o, s;
|
|
902
|
-
if (this._options = e, this._integrations = {}, this._numProcessing = 0, this._outcomes = {}, this._hooks = {}, this._eventProcessors = [], this._promiseBuffer =
|
|
903
|
-
let t =
|
|
907
|
+
if (this._options = e, this._integrations = {}, this._numProcessing = 0, this._outcomes = {}, this._hooks = {}, this._eventProcessors = [], this._promiseBuffer = xn((t = (n = e.transportOptions) == null ? void 0 : n.bufferSize) == null ? 64 : t), this._dataCollection = Fn(e), e.dsn ? this._dsn = Je(e.dsn) : R && F.warn("No DSN provided, client will not send events."), this._dsn) {
|
|
908
|
+
let t = qt(this._dsn, e.tunnel, e._metadata ? e._metadata.sdk : void 0);
|
|
904
909
|
this._transport = e.transport({
|
|
905
910
|
tunnel: this._options.tunnel,
|
|
906
911
|
recordDroppedEvent: this.recordDroppedEvent.bind(this),
|
|
@@ -908,11 +913,11 @@ var qn = class {
|
|
|
908
913
|
url: t
|
|
909
914
|
});
|
|
910
915
|
}
|
|
911
|
-
this._options.enableLogs = (r = this._options.enableLogs) == null ? (i = this._options._experiments) == null ? void 0 : i.enableLogs : r, this._options.enableLogs &&
|
|
916
|
+
this._options.enableLogs = (r = this._options.enableLogs) == null ? (i = this._options._experiments) == null ? void 0 : i.enableLogs : r, this._options.enableLogs && Gn(this, "afterCaptureLog", "flushLogs", $n, ln), ((a = (o = this._options.enableMetrics) == null ? (s = this._options._experiments) == null ? void 0 : s.enableMetrics : o) == null || a) && Gn(this, "afterCaptureMetric", "flushMetrics", Qn, mn);
|
|
912
917
|
}
|
|
913
918
|
captureException(e, t, n) {
|
|
914
919
|
let r = C();
|
|
915
|
-
if (
|
|
920
|
+
if (oe(e)) return R && F.log(In), r;
|
|
916
921
|
let i = {
|
|
917
922
|
event_id: r,
|
|
918
923
|
...t
|
|
@@ -923,20 +928,20 @@ var qn = class {
|
|
|
923
928
|
let i = {
|
|
924
929
|
event_id: C(),
|
|
925
930
|
...n
|
|
926
|
-
}, a = Ge(e) ? e : String(e), o =
|
|
931
|
+
}, a = Ge(e) ? e : String(e), o = Ve(e), s = o ? this.eventFromMessage(a, t, i) : this.eventFromException(e, i);
|
|
927
932
|
return this._process(() => s.then((e) => this._captureEvent(e, i, r)), o ? "unknown" : "error"), i.event_id;
|
|
928
933
|
}
|
|
929
934
|
captureEvent(e, t, n) {
|
|
930
935
|
let r = C();
|
|
931
|
-
if (t != null && t.originalException &&
|
|
936
|
+
if (t != null && t.originalException && oe(t.originalException)) return R && F.log(In), r;
|
|
932
937
|
let i = {
|
|
933
938
|
event_id: r,
|
|
934
939
|
...t
|
|
935
|
-
}, a = e.sdkProcessingMetadata || {}, o = a.capturedSpanScope, s = a.capturedSpanIsolationScope, c =
|
|
940
|
+
}, a = e.sdkProcessingMetadata || {}, o = a.capturedSpanScope, s = a.capturedSpanIsolationScope, c = qn(e.type);
|
|
936
941
|
return this._process(() => this._captureEvent(e, i, o || n, s), c), i.event_id;
|
|
937
942
|
}
|
|
938
943
|
captureSession(e) {
|
|
939
|
-
this.sendSession(e),
|
|
944
|
+
this.sendSession(e), se(e, { init: !1 });
|
|
940
945
|
}
|
|
941
946
|
getDsn() {
|
|
942
947
|
return this._dsn;
|
|
@@ -960,7 +965,7 @@ var qn = class {
|
|
|
960
965
|
return n && r;
|
|
961
966
|
}
|
|
962
967
|
async close(e) {
|
|
963
|
-
|
|
968
|
+
ln(this);
|
|
964
969
|
let t = await this.flush(e);
|
|
965
970
|
return this.getOptions().enabled = !1, this.emit("close"), t;
|
|
966
971
|
}
|
|
@@ -981,38 +986,38 @@ var qn = class {
|
|
|
981
986
|
}
|
|
982
987
|
addIntegration(e) {
|
|
983
988
|
let t = this._integrations[e.name];
|
|
984
|
-
!t && e.beforeSetup && e.beforeSetup(this),
|
|
989
|
+
!t && e.beforeSetup && e.beforeSetup(this), en(this, e, this._integrations), t || $t(this, [e]);
|
|
985
990
|
}
|
|
986
991
|
sendEvent(e, t = {}) {
|
|
987
992
|
this.emit("beforeSendEvent", e, t);
|
|
988
|
-
let n =
|
|
989
|
-
for (let e of t.attachments || []) r =
|
|
990
|
-
n && (r =
|
|
993
|
+
let n = vn(e, this), r = zt(e, this._dsn, this._options._metadata, this._options.tunnel);
|
|
994
|
+
for (let e of t.attachments || []) r = Tt(r, jt(e));
|
|
995
|
+
n && (r = Tt(r, n)), this.sendEnvelope(r).then((t) => this.emit("afterSendEvent", e, t));
|
|
991
996
|
}
|
|
992
997
|
sendSession(e) {
|
|
993
|
-
let { release: t, environment: n =
|
|
998
|
+
let { release: t, environment: n = Re } = this._options;
|
|
994
999
|
if ("aggregates" in e) {
|
|
995
1000
|
let r = e.attrs || {};
|
|
996
1001
|
if (!r.release && !t) {
|
|
997
|
-
|
|
1002
|
+
R && F.warn(Ln);
|
|
998
1003
|
return;
|
|
999
1004
|
}
|
|
1000
1005
|
r.release = r.release || t, r.environment = r.environment || n, e.attrs = r;
|
|
1001
1006
|
} else {
|
|
1002
1007
|
if (!e.release && !t) {
|
|
1003
|
-
|
|
1008
|
+
R && F.warn(Ln);
|
|
1004
1009
|
return;
|
|
1005
1010
|
}
|
|
1006
1011
|
e.release = e.release || t, e.environment = e.environment || n;
|
|
1007
1012
|
}
|
|
1008
1013
|
this.emit("beforeSendSession", e);
|
|
1009
|
-
let r =
|
|
1014
|
+
let r = Rt(e, this._dsn, this._options._metadata, this._options.tunnel);
|
|
1010
1015
|
this.sendEnvelope(r);
|
|
1011
1016
|
}
|
|
1012
1017
|
recordDroppedEvent(e, t, n = 1) {
|
|
1013
1018
|
if (this._options.sendClientReports) {
|
|
1014
1019
|
let r = `${e}:${t}`;
|
|
1015
|
-
|
|
1020
|
+
R && F.log(`Recording outcome: "${r}"${n > 1 ? ` (${n} times)` : ""}`), this._outcomes[r] = (this._outcomes[r] || 0) + n;
|
|
1016
1021
|
}
|
|
1017
1022
|
}
|
|
1018
1023
|
on(e, t) {
|
|
@@ -1029,15 +1034,15 @@ var qn = class {
|
|
|
1029
1034
|
if (this.emit("beforeEnvelope", e), this._isEnabled() && this._transport) try {
|
|
1030
1035
|
return await this._transport.send(e);
|
|
1031
1036
|
} catch (e) {
|
|
1032
|
-
return
|
|
1037
|
+
return R && F.error("Error while sending envelope:", e), {};
|
|
1033
1038
|
}
|
|
1034
|
-
return
|
|
1039
|
+
return R && F.error("Transport disabled"), {};
|
|
1035
1040
|
}
|
|
1036
1041
|
registerCleanup(e) {}
|
|
1037
1042
|
dispose() {}
|
|
1038
1043
|
_setupIntegrations() {
|
|
1039
1044
|
let { integrations: e } = this._options;
|
|
1040
|
-
this._integrations =
|
|
1045
|
+
this._integrations = Qt(this, e), $t(this, e);
|
|
1041
1046
|
}
|
|
1042
1047
|
_updateSessionFromEvent(e, t) {
|
|
1043
1048
|
var n;
|
|
@@ -1053,7 +1058,7 @@ var qn = class {
|
|
|
1053
1058
|
}
|
|
1054
1059
|
}
|
|
1055
1060
|
let s = e.status === "ok";
|
|
1056
|
-
(s && e.errors === 0 || s && r) && (
|
|
1061
|
+
(s && e.errors === 0 || s && r) && (se(e, {
|
|
1057
1062
|
...r && { status: "crashed" },
|
|
1058
1063
|
errors: e.errors || Number(i || r)
|
|
1059
1064
|
}), this.captureSession(e));
|
|
@@ -1071,40 +1076,40 @@ var qn = class {
|
|
|
1071
1076
|
}
|
|
1072
1077
|
_prepareEvent(e, t, n, r) {
|
|
1073
1078
|
let i = this.getOptions(), a = this.getIntegrationNames();
|
|
1074
|
-
return !t.integrations && a.length && (t.integrations = a), this.emit("preprocessEvent", e, t), e.type || r.setLastEventId(e.event_id || t.event_id),
|
|
1079
|
+
return !t.integrations && a.length && (t.integrations = a), this.emit("preprocessEvent", e, t), e.type || r.setLastEventId(e.event_id || t.event_id), je(i, e, t, n, this, r).then((e) => {
|
|
1075
1080
|
var r;
|
|
1076
1081
|
return e === null ? e : (this.emit("postprocessEvent", e, t), e.contexts = {
|
|
1077
1082
|
trace: {
|
|
1078
1083
|
...(r = e.contexts) == null ? void 0 : r.trace,
|
|
1079
|
-
...
|
|
1084
|
+
...le(n)
|
|
1080
1085
|
},
|
|
1081
1086
|
...e.contexts
|
|
1082
1087
|
}, e.sdkProcessingMetadata = {
|
|
1083
|
-
dynamicSamplingContext:
|
|
1088
|
+
dynamicSamplingContext: Ce(this, n),
|
|
1084
1089
|
...e.sdkProcessingMetadata
|
|
1085
1090
|
}, e);
|
|
1086
1091
|
});
|
|
1087
1092
|
}
|
|
1088
|
-
_captureEvent(e, t = {}, n = x(), r =
|
|
1089
|
-
return
|
|
1090
|
-
|
|
1093
|
+
_captureEvent(e, t = {}, n = x(), r = L()) {
|
|
1094
|
+
return R && Xn(e) && F.log(`Captured error event \`${kn(e)[0] || "<unknown>"}\``), this._processEvent(e, t, n, r).then((e) => e.event_id, (e) => {
|
|
1095
|
+
R && (Wn(e) ? F.log(e.message) : Un(e) ? F.warn(e.message) : F.warn(e));
|
|
1091
1096
|
});
|
|
1092
1097
|
}
|
|
1093
1098
|
_processEvent(e, t, n, r) {
|
|
1094
|
-
let i = this.getOptions(), { sampleRate: a } = i, o =
|
|
1095
|
-
if (s && typeof l == "number" &&
|
|
1096
|
-
let u =
|
|
1099
|
+
let i = this.getOptions(), { sampleRate: a } = i, o = Zn(e), s = Xn(e), c = `before send for type \`${e.type || "error"}\``, l = a === void 0 ? void 0 : vt(a);
|
|
1100
|
+
if (s && typeof l == "number" && ue() > l) return this.recordDroppedEvent("sample_rate", "error"), Ke(Hn(`Discarding event because it's not included in the random sample (sampling rate = ${a})`));
|
|
1101
|
+
let u = qn(e.type);
|
|
1097
1102
|
return this._prepareEvent(e, t, n, r).then((e) => {
|
|
1098
1103
|
var n;
|
|
1099
|
-
if (e === null) throw this.recordDroppedEvent("event_processor", u),
|
|
1100
|
-
return ((n = t.data) == null ? void 0 : n.__sentry__) === !0 ? e : Yn(
|
|
1104
|
+
if (e === null) throw this.recordDroppedEvent("event_processor", u), Hn("An event processor returned `null`, will not send event.");
|
|
1105
|
+
return ((n = t.data) == null ? void 0 : n.__sentry__) === !0 ? e : Jn(Yn(this, i, e, t), c);
|
|
1101
1106
|
}).then((i) => {
|
|
1102
1107
|
if (i === null) {
|
|
1103
1108
|
if (this.recordDroppedEvent("before_send", u), o) {
|
|
1104
1109
|
let t = 1 + (e.spans || []).length;
|
|
1105
1110
|
this.recordDroppedEvent("before_send", "span", t);
|
|
1106
1111
|
}
|
|
1107
|
-
throw
|
|
1112
|
+
throw Hn(`${c} returned \`null\`, will not send event.`);
|
|
1108
1113
|
}
|
|
1109
1114
|
let a = n.getSession() || r.getSession();
|
|
1110
1115
|
if (s && a && this._updateSessionFromEvent(a, i), o) {
|
|
@@ -1118,19 +1123,19 @@ var qn = class {
|
|
|
1118
1123
|
source: "custom"
|
|
1119
1124
|
}), this.sendEvent(i, t), i;
|
|
1120
1125
|
}).then(null, (e) => {
|
|
1121
|
-
throw
|
|
1126
|
+
throw Wn(e) || Un(e) ? e : (this.captureException(e, {
|
|
1122
1127
|
mechanism: {
|
|
1123
1128
|
handled: !1,
|
|
1124
1129
|
type: "internal"
|
|
1125
1130
|
},
|
|
1126
1131
|
data: { __sentry__: !0 },
|
|
1127
1132
|
originalException: e
|
|
1128
|
-
}),
|
|
1133
|
+
}), Vn(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.
|
|
1129
1134
|
Reason: ${e}`));
|
|
1130
1135
|
});
|
|
1131
1136
|
}
|
|
1132
1137
|
_process(e, t) {
|
|
1133
|
-
this._numProcessing++, this._promiseBuffer.add(e).then((e) => (this._numProcessing--, e), (e) => (this._numProcessing--, e ===
|
|
1138
|
+
this._numProcessing++, this._promiseBuffer.add(e).then((e) => (this._numProcessing--, e), (e) => (this._numProcessing--, e === bn && this.recordDroppedEvent("queue_overflow", t), e));
|
|
1134
1139
|
}
|
|
1135
1140
|
_clearOutcomes() {
|
|
1136
1141
|
let e = this._outcomes;
|
|
@@ -1144,64 +1149,64 @@ Reason: ${e}`));
|
|
|
1144
1149
|
});
|
|
1145
1150
|
}
|
|
1146
1151
|
_flushOutcomes() {
|
|
1147
|
-
|
|
1152
|
+
R && F.log("Flushing outcomes...");
|
|
1148
1153
|
let e = this._clearOutcomes();
|
|
1149
1154
|
if (e.length === 0) {
|
|
1150
|
-
|
|
1155
|
+
R && F.log("No outcomes to send");
|
|
1151
1156
|
return;
|
|
1152
1157
|
}
|
|
1153
1158
|
if (!this._dsn) {
|
|
1154
|
-
|
|
1159
|
+
R && F.log("No dsn provided, will not send outcomes");
|
|
1155
1160
|
return;
|
|
1156
1161
|
}
|
|
1157
|
-
|
|
1158
|
-
let t =
|
|
1162
|
+
R && F.log("Sending outcomes:", e);
|
|
1163
|
+
let t = On(e, this._options.tunnel && j(this._dsn));
|
|
1159
1164
|
this.sendEnvelope(t);
|
|
1160
1165
|
}
|
|
1161
1166
|
};
|
|
1162
|
-
function
|
|
1167
|
+
function qn(e) {
|
|
1163
1168
|
return e === "replay_event" ? "replay" : e || "error";
|
|
1164
1169
|
}
|
|
1165
|
-
function
|
|
1170
|
+
function Jn(e, t) {
|
|
1166
1171
|
let n = `${t} must return \`null\` or a valid event.`;
|
|
1167
|
-
if (
|
|
1168
|
-
if (!
|
|
1172
|
+
if (Le(e)) return e.then((e) => {
|
|
1173
|
+
if (!Fe(e) && e !== null) throw Vn(n);
|
|
1169
1174
|
return e;
|
|
1170
1175
|
}, (e) => {
|
|
1171
|
-
throw
|
|
1176
|
+
throw Vn(`${t} rejected with ${e}`);
|
|
1172
1177
|
});
|
|
1173
|
-
if (!
|
|
1178
|
+
if (!Fe(e) && e !== null) throw Vn(n);
|
|
1174
1179
|
return e;
|
|
1175
1180
|
}
|
|
1176
|
-
function
|
|
1177
|
-
let { beforeSend: i, beforeSendTransaction: a, ignoreSpans: o } = t, s = !
|
|
1178
|
-
if (
|
|
1179
|
-
if (
|
|
1181
|
+
function Yn(e, t, n, r) {
|
|
1182
|
+
let { beforeSend: i, beforeSendTransaction: a, ignoreSpans: o } = t, s = !wt(t.beforeSendSpan) && t.beforeSendSpan, c = n;
|
|
1183
|
+
if (Xn(c) && i) return i(c, r);
|
|
1184
|
+
if (Zn(c)) {
|
|
1180
1185
|
if (s || o) {
|
|
1181
|
-
let t =
|
|
1182
|
-
if (o != null && o.length &&
|
|
1186
|
+
let t = An(c);
|
|
1187
|
+
if (o != null && o.length && bt({
|
|
1183
1188
|
description: t.description,
|
|
1184
1189
|
op: t.op,
|
|
1185
1190
|
attributes: t.data
|
|
1186
1191
|
}, o)) return null;
|
|
1187
1192
|
if (s) {
|
|
1188
1193
|
let e = s(t);
|
|
1189
|
-
e ? c = te(n,
|
|
1194
|
+
e ? c = te(n, jn(e)) : Me();
|
|
1190
1195
|
}
|
|
1191
1196
|
if (c.spans) {
|
|
1192
1197
|
let t = [], n = c.spans;
|
|
1193
1198
|
for (let e of n) {
|
|
1194
|
-
if (o != null && o.length &&
|
|
1199
|
+
if (o != null && o.length && bt({
|
|
1195
1200
|
description: e.description,
|
|
1196
1201
|
op: e.op,
|
|
1197
1202
|
attributes: e.data
|
|
1198
1203
|
}, o)) {
|
|
1199
|
-
|
|
1204
|
+
St(n, e);
|
|
1200
1205
|
continue;
|
|
1201
1206
|
}
|
|
1202
1207
|
if (s) {
|
|
1203
1208
|
let n = s(e);
|
|
1204
|
-
n ? t.push(n) : (
|
|
1209
|
+
n ? t.push(n) : (Me(), t.push(e));
|
|
1205
1210
|
} else t.push(e);
|
|
1206
1211
|
}
|
|
1207
1212
|
let r = c.spans.length - t.length;
|
|
@@ -1221,78 +1226,78 @@ function Xn(e, t, n, r) {
|
|
|
1221
1226
|
}
|
|
1222
1227
|
return c;
|
|
1223
1228
|
}
|
|
1224
|
-
function
|
|
1229
|
+
function Xn(e) {
|
|
1225
1230
|
return e.type === void 0;
|
|
1226
1231
|
}
|
|
1227
|
-
function
|
|
1232
|
+
function Zn(e) {
|
|
1228
1233
|
return e.type === "transaction";
|
|
1229
1234
|
}
|
|
1230
|
-
function
|
|
1235
|
+
function Qn(e) {
|
|
1231
1236
|
let t = 0;
|
|
1232
|
-
return e.name && (t += e.name.length * 2), t += 8, t +
|
|
1237
|
+
return e.name && (t += e.name.length * 2), t += 8, t + er(e.attributes);
|
|
1233
1238
|
}
|
|
1234
|
-
function
|
|
1239
|
+
function $n(e) {
|
|
1235
1240
|
let t = 0;
|
|
1236
|
-
return e.message && (t += e.message.length * 2), t +
|
|
1241
|
+
return e.message && (t += e.message.length * 2), t + er(e.attributes);
|
|
1237
1242
|
}
|
|
1238
|
-
function
|
|
1243
|
+
function er(e) {
|
|
1239
1244
|
if (!e) return 0;
|
|
1240
1245
|
let t = 0;
|
|
1241
1246
|
return Object.values(e).forEach((e) => {
|
|
1242
|
-
Array.isArray(e) ? t += e.length *
|
|
1247
|
+
Array.isArray(e) ? t += e.length * tr(e[0]) : Ve(e) ? t += tr(e) : t += 100;
|
|
1243
1248
|
}), t;
|
|
1244
1249
|
}
|
|
1245
|
-
function
|
|
1250
|
+
function tr(e) {
|
|
1246
1251
|
return typeof e == "string" ? e.length * 2 : typeof e == "number" ? 8 : typeof e == "boolean" ? 4 : 0;
|
|
1247
1252
|
}
|
|
1248
1253
|
//#endregion
|
|
1249
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1250
|
-
function
|
|
1251
|
-
t.debug === !0 && (
|
|
1254
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.57.0/node_modules/@sentry/core/build/esm/sdk.js
|
|
1255
|
+
function nr(e, t) {
|
|
1256
|
+
t.debug === !0 && (R ? F.enable() : we(() => {
|
|
1252
1257
|
console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.");
|
|
1253
1258
|
})), x().update(t.initialScope);
|
|
1254
1259
|
let n = new e(t);
|
|
1255
|
-
return
|
|
1260
|
+
return rr(n), n.init(), n;
|
|
1256
1261
|
}
|
|
1257
|
-
function
|
|
1262
|
+
function rr(e) {
|
|
1258
1263
|
x().setClient(e);
|
|
1259
1264
|
}
|
|
1260
|
-
var
|
|
1261
|
-
function
|
|
1265
|
+
var ir = 5e3, ar = 36e5;
|
|
1266
|
+
function or(e) {
|
|
1262
1267
|
function t(...e) {
|
|
1263
|
-
|
|
1268
|
+
R && F.log("[Offline]:", ...e);
|
|
1264
1269
|
}
|
|
1265
1270
|
return (n) => {
|
|
1266
1271
|
let r = e(n);
|
|
1267
1272
|
if (!n.createStore) throw Error("No `createStore` function was provided");
|
|
1268
|
-
let i = n.createStore(n), a =
|
|
1273
|
+
let i = n.createStore(n), a = ir, o;
|
|
1269
1274
|
function s(e, t, r) {
|
|
1270
|
-
return
|
|
1275
|
+
return Dt(e, ["client_report"]) ? !1 : n.shouldStore ? n.shouldStore(e, t, r) : !0;
|
|
1271
1276
|
}
|
|
1272
1277
|
function c(e) {
|
|
1273
|
-
o && clearTimeout(o), o =
|
|
1278
|
+
o && clearTimeout(o), o = yn(setTimeout(async () => {
|
|
1274
1279
|
o = void 0;
|
|
1275
1280
|
let e = await i.shift();
|
|
1276
|
-
e && (t("Attempting to send previously queued event"), e[0].sent_at =
|
|
1281
|
+
e && (t("Attempting to send previously queued event"), e[0].sent_at = new Date(w()).toISOString(), u(e, !0).catch((e) => {
|
|
1277
1282
|
t("Failed to retry sending", e);
|
|
1278
1283
|
}));
|
|
1279
1284
|
}, e));
|
|
1280
1285
|
}
|
|
1281
1286
|
function l() {
|
|
1282
|
-
o || (c(a), a = Math.min(a * 2,
|
|
1287
|
+
o || (c(a), a = Math.min(a * 2, ar));
|
|
1283
1288
|
}
|
|
1284
1289
|
async function u(e, o = !1) {
|
|
1285
|
-
if (!o &&
|
|
1290
|
+
if (!o && Dt(e, ["replay_event", "replay_recording"])) return await i.push(e), c(100), {};
|
|
1286
1291
|
try {
|
|
1287
1292
|
if (n.shouldSend && await n.shouldSend(e) === !1) throw Error("Envelope not sent because `shouldSend` callback returned false");
|
|
1288
1293
|
let t = await r.send(e), i = 100;
|
|
1289
1294
|
if (t) {
|
|
1290
1295
|
var u, d;
|
|
1291
|
-
if ((u = t.headers) != null && u["retry-after"]) i =
|
|
1296
|
+
if ((u = t.headers) != null && u["retry-after"]) i = Cn(t.headers["retry-after"]);
|
|
1292
1297
|
else if ((d = t.headers) != null && d["x-sentry-rate-limits"]) i = 6e4;
|
|
1293
1298
|
else if ((t.statusCode || 0) >= 400) return t;
|
|
1294
1299
|
}
|
|
1295
|
-
return c(i), a =
|
|
1300
|
+
return c(i), a = ir, t;
|
|
1296
1301
|
} catch (n) {
|
|
1297
1302
|
if (await s(e, n, a)) return o ? await i.unshift(e) : await i.push(e), l(), t("Error sending. Event queued.", n), {};
|
|
1298
1303
|
throw n;
|
|
@@ -1300,13 +1305,13 @@ function sr(e) {
|
|
|
1300
1305
|
}
|
|
1301
1306
|
return n.flushAtStartup && l(), {
|
|
1302
1307
|
send: u,
|
|
1303
|
-
flush: (e) => (e === void 0 && (a =
|
|
1308
|
+
flush: (e) => (e === void 0 && (a = ir, c(100)), r.flush(e))
|
|
1304
1309
|
};
|
|
1305
1310
|
};
|
|
1306
1311
|
}
|
|
1307
1312
|
//#endregion
|
|
1308
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1309
|
-
function
|
|
1313
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.57.0/node_modules/@sentry/core/build/esm/utils/ipAddress.js
|
|
1314
|
+
function sr(e) {
|
|
1310
1315
|
if ("aggregates" in e) {
|
|
1311
1316
|
var t;
|
|
1312
1317
|
((t = e.attrs) == null ? void 0 : t.ip_address) === void 0 && (e.attrs = {
|
|
@@ -1316,45 +1321,45 @@ function cr(e) {
|
|
|
1316
1321
|
} else e.ipAddress === void 0 && (e.ipAddress = "{{auto}}");
|
|
1317
1322
|
}
|
|
1318
1323
|
//#endregion
|
|
1319
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1320
|
-
function
|
|
1324
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.57.0/node_modules/@sentry/core/build/esm/utils/sdkMetadata.js
|
|
1325
|
+
function cr(e, t, n = [t], r = "npm") {
|
|
1321
1326
|
let i = (e._metadata = e._metadata || {}).sdk = e._metadata.sdk || {};
|
|
1322
1327
|
i.name || (i.name = `sentry.javascript.${t}`, i.packages = n.map((e) => ({
|
|
1323
1328
|
name: `${r}:@sentry/${e}`,
|
|
1324
|
-
version:
|
|
1325
|
-
})), i.version =
|
|
1329
|
+
version: he
|
|
1330
|
+
})), i.version = he);
|
|
1326
1331
|
}
|
|
1327
1332
|
//#endregion
|
|
1328
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1329
|
-
var
|
|
1330
|
-
function
|
|
1331
|
-
let n =
|
|
1333
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.57.0/node_modules/@sentry/core/build/esm/breadcrumbs.js
|
|
1334
|
+
var lr = 100;
|
|
1335
|
+
function K(e, t) {
|
|
1336
|
+
let n = k(), r = L();
|
|
1332
1337
|
if (!n) return;
|
|
1333
|
-
let { beforeBreadcrumb: i = null, maxBreadcrumbs: a =
|
|
1338
|
+
let { beforeBreadcrumb: i = null, maxBreadcrumbs: a = lr } = n.getOptions();
|
|
1334
1339
|
if (a <= 0) return;
|
|
1335
1340
|
let o = {
|
|
1336
|
-
timestamp:
|
|
1341
|
+
timestamp: Ae(),
|
|
1337
1342
|
...e
|
|
1338
|
-
}, s = i ?
|
|
1343
|
+
}, s = i ? we(() => i(o, t)) : o;
|
|
1339
1344
|
s !== null && (n.emit && n.emit("beforeAddBreadcrumb", s, t), r.addBreadcrumb(s, a));
|
|
1340
1345
|
}
|
|
1341
1346
|
//#endregion
|
|
1342
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1343
|
-
var
|
|
1344
|
-
name:
|
|
1347
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.57.0/node_modules/@sentry/core/build/esm/integrations/functiontostring.js
|
|
1348
|
+
var ur, dr = "FunctionToString", fr = /* @__PURE__ */ new WeakMap(), pr = G((() => ({
|
|
1349
|
+
name: dr,
|
|
1345
1350
|
setupOnce() {
|
|
1346
|
-
|
|
1351
|
+
ur = Function.prototype.toString;
|
|
1347
1352
|
try {
|
|
1348
1353
|
Function.prototype.toString = function(...e) {
|
|
1349
|
-
let t =
|
|
1350
|
-
return
|
|
1354
|
+
let t = ze(this), n = fr.has(k()) && t !== void 0 ? t : this;
|
|
1355
|
+
return ur.apply(n, e);
|
|
1351
1356
|
};
|
|
1352
1357
|
} catch {}
|
|
1353
1358
|
},
|
|
1354
1359
|
setup(e) {
|
|
1355
|
-
|
|
1360
|
+
fr.set(e, !0);
|
|
1356
1361
|
}
|
|
1357
|
-
}))),
|
|
1362
|
+
}))), mr = [
|
|
1358
1363
|
/^Script error\.?$/,
|
|
1359
1364
|
/^Javascript error: Script error\.? on line 0$/,
|
|
1360
1365
|
/^ResizeObserver loop completed with undelivered notifications.$/,
|
|
@@ -1366,127 +1371,127 @@ var dr, fr = "FunctionToString", pr = /* @__PURE__ */ new WeakMap(), mr = W((()
|
|
|
1366
1371
|
/Can't find variable: _AutofillCallbackHandler/,
|
|
1367
1372
|
/Object Not Found Matching Id:\d+, MethodName:simulateEvent/,
|
|
1368
1373
|
/^Java exception was raised during method invocation$/
|
|
1369
|
-
],
|
|
1374
|
+
], hr = "EventFilters", gr = G((e = {}) => {
|
|
1370
1375
|
let t;
|
|
1371
1376
|
return {
|
|
1372
|
-
name:
|
|
1377
|
+
name: hr,
|
|
1373
1378
|
setup(n) {
|
|
1374
|
-
t =
|
|
1379
|
+
t = vr(e, n.getOptions());
|
|
1375
1380
|
},
|
|
1376
1381
|
processEvent(n, r, i) {
|
|
1377
|
-
return t || (t =
|
|
1382
|
+
return t || (t = vr(e, i.getOptions())), yr(n, t) ? null : n;
|
|
1378
1383
|
}
|
|
1379
1384
|
};
|
|
1380
|
-
}),
|
|
1381
|
-
...
|
|
1385
|
+
}), _r = G(((e = {}) => ({
|
|
1386
|
+
...gr(e),
|
|
1382
1387
|
name: "InboundFilters"
|
|
1383
1388
|
})));
|
|
1384
|
-
function
|
|
1389
|
+
function vr(e = {}, t = {}) {
|
|
1385
1390
|
return {
|
|
1386
1391
|
allowUrls: [...e.allowUrls || [], ...t.allowUrls || []],
|
|
1387
1392
|
denyUrls: [...e.denyUrls || [], ...t.denyUrls || []],
|
|
1388
1393
|
ignoreErrors: [
|
|
1389
1394
|
...e.ignoreErrors || [],
|
|
1390
1395
|
...t.ignoreErrors || [],
|
|
1391
|
-
...e.disableErrorDefaults ? [] :
|
|
1396
|
+
...e.disableErrorDefaults ? [] : mr
|
|
1392
1397
|
],
|
|
1393
1398
|
ignoreTransactions: [...e.ignoreTransactions || [], ...t.ignoreTransactions || []]
|
|
1394
1399
|
};
|
|
1395
1400
|
}
|
|
1396
|
-
function
|
|
1401
|
+
function yr(e, t) {
|
|
1397
1402
|
if (!e.type) {
|
|
1398
|
-
if (
|
|
1399
|
-
Event: ${
|
|
1400
|
-
if (
|
|
1401
|
-
Event: ${
|
|
1402
|
-
if (
|
|
1403
|
-
Event: ${
|
|
1404
|
-
Url: ${
|
|
1405
|
-
if (!
|
|
1406
|
-
Event: ${
|
|
1407
|
-
Url: ${
|
|
1408
|
-
} else if (e.type === "transaction" &&
|
|
1409
|
-
Event: ${
|
|
1403
|
+
if (br(e, t.ignoreErrors)) return R && F.warn(`Event dropped due to being matched by \`ignoreErrors\` option.
|
|
1404
|
+
Event: ${D(e)}`), !0;
|
|
1405
|
+
if (Er(e)) return R && F.warn(`Event dropped due to not having an error message, error type or stacktrace.
|
|
1406
|
+
Event: ${D(e)}`), !0;
|
|
1407
|
+
if (Sr(e, t.denyUrls)) return R && F.warn(`Event dropped due to being matched by \`denyUrls\` option.
|
|
1408
|
+
Event: ${D(e)}.
|
|
1409
|
+
Url: ${Tr(e)}`), !0;
|
|
1410
|
+
if (!Cr(e, t.allowUrls)) return R && F.warn(`Event dropped due to not being matched by \`allowUrls\` option.
|
|
1411
|
+
Event: ${D(e)}.
|
|
1412
|
+
Url: ${Tr(e)}`), !0;
|
|
1413
|
+
} else if (e.type === "transaction" && xr(e, t.ignoreTransactions)) return R && F.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.
|
|
1414
|
+
Event: ${D(e)}`), !0;
|
|
1410
1415
|
return !1;
|
|
1411
1416
|
}
|
|
1412
|
-
function
|
|
1413
|
-
return t != null && t.length ?
|
|
1417
|
+
function br(e, t) {
|
|
1418
|
+
return t != null && t.length ? kn(e).some((e) => O(e, t)) : !1;
|
|
1414
1419
|
}
|
|
1415
|
-
function
|
|
1420
|
+
function xr(e, t) {
|
|
1416
1421
|
if (!(t != null && t.length)) return !1;
|
|
1417
1422
|
let n = e.transaction;
|
|
1418
|
-
return n ?
|
|
1423
|
+
return n ? O(n, t) : !1;
|
|
1419
1424
|
}
|
|
1420
|
-
function
|
|
1425
|
+
function Sr(e, t) {
|
|
1421
1426
|
if (!(t != null && t.length)) return !1;
|
|
1422
|
-
let n =
|
|
1423
|
-
return n ?
|
|
1427
|
+
let n = Tr(e);
|
|
1428
|
+
return n ? O(n, t) : !1;
|
|
1424
1429
|
}
|
|
1425
|
-
function
|
|
1430
|
+
function Cr(e, t) {
|
|
1426
1431
|
if (!(t != null && t.length)) return !0;
|
|
1427
|
-
let n =
|
|
1428
|
-
return n ?
|
|
1432
|
+
let n = Tr(e);
|
|
1433
|
+
return n ? O(n, t) : !0;
|
|
1429
1434
|
}
|
|
1430
|
-
function
|
|
1435
|
+
function wr(e = []) {
|
|
1431
1436
|
for (let t = e.length - 1; t >= 0; t--) {
|
|
1432
1437
|
let n = e[t];
|
|
1433
1438
|
if (n && n.filename !== "<anonymous>" && n.filename !== "[native code]") return n.filename || null;
|
|
1434
1439
|
}
|
|
1435
1440
|
return null;
|
|
1436
1441
|
}
|
|
1437
|
-
function
|
|
1442
|
+
function Tr(e) {
|
|
1438
1443
|
try {
|
|
1439
1444
|
var t, n, r;
|
|
1440
1445
|
let i = [...(t = (n = e.exception) == null ? void 0 : n.values) == null ? [] : t].reverse().find((e) => {
|
|
1441
1446
|
var t, n;
|
|
1442
1447
|
return ((t = e.mechanism) == null ? void 0 : t.parent_id) === void 0 && ((n = e.stacktrace) == null || (n = n.frames) == null ? void 0 : n.length);
|
|
1443
1448
|
}), a = i == null || (r = i.stacktrace) == null ? void 0 : r.frames;
|
|
1444
|
-
return a ?
|
|
1449
|
+
return a ? wr(a) : null;
|
|
1445
1450
|
} catch {
|
|
1446
|
-
return
|
|
1451
|
+
return R && F.error(`Cannot extract url for event ${D(e)}`), null;
|
|
1447
1452
|
}
|
|
1448
1453
|
}
|
|
1449
|
-
function
|
|
1454
|
+
function Er(e) {
|
|
1450
1455
|
var t;
|
|
1451
1456
|
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;
|
|
1452
1457
|
}
|
|
1453
1458
|
//#endregion
|
|
1454
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1455
|
-
function
|
|
1459
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.57.0/node_modules/@sentry/core/build/esm/utils/aggregate-errors.js
|
|
1460
|
+
function Dr(e, t, n, r, i, a) {
|
|
1456
1461
|
var o;
|
|
1457
|
-
if (!((o = i.exception) != null && o.values) || !a || !
|
|
1462
|
+
if (!((o = i.exception) != null && o.values) || !a || !Se(a.originalException, Error)) return;
|
|
1458
1463
|
let s = i.exception.values.length > 0 ? i.exception.values[i.exception.values.length - 1] : void 0;
|
|
1459
|
-
s && (i.exception.values =
|
|
1464
|
+
s && (i.exception.values = Or(e, t, r, a.originalException, n, i.exception.values, s, 0));
|
|
1460
1465
|
}
|
|
1461
|
-
function
|
|
1466
|
+
function Or(e, t, n, r, i, a, o, s) {
|
|
1462
1467
|
if (a.length >= n + 1) return a;
|
|
1463
1468
|
let c = [...a];
|
|
1464
|
-
if (
|
|
1465
|
-
|
|
1469
|
+
if (Se(r[i], Error)) {
|
|
1470
|
+
Ar(o, s, r);
|
|
1466
1471
|
let a = e(t, r[i]), l = c.length;
|
|
1467
|
-
|
|
1472
|
+
jr(a, i, l, s), c = Or(e, t, n, r[i], i, [a, ...c], a, l);
|
|
1468
1473
|
}
|
|
1469
|
-
return
|
|
1470
|
-
if (
|
|
1471
|
-
|
|
1474
|
+
return kr(r) && r.errors.forEach((a, l) => {
|
|
1475
|
+
if (Se(a, Error)) {
|
|
1476
|
+
Ar(o, s, r);
|
|
1472
1477
|
let u = e(t, a), d = c.length;
|
|
1473
|
-
|
|
1478
|
+
jr(u, `errors[${l}]`, d, s), c = Or(e, t, n, a, i, [u, ...c], u, d);
|
|
1474
1479
|
}
|
|
1475
1480
|
}), c;
|
|
1476
1481
|
}
|
|
1477
|
-
function
|
|
1482
|
+
function kr(e) {
|
|
1478
1483
|
return Array.isArray(e.errors);
|
|
1479
1484
|
}
|
|
1480
|
-
function
|
|
1485
|
+
function Ar(e, t, n) {
|
|
1481
1486
|
e.mechanism = {
|
|
1482
1487
|
handled: !0,
|
|
1483
1488
|
type: "auto.core.linked_errors",
|
|
1484
|
-
...
|
|
1489
|
+
...kr(n) && { is_exception_group: !0 },
|
|
1485
1490
|
...e.mechanism,
|
|
1486
1491
|
exception_id: t
|
|
1487
1492
|
};
|
|
1488
1493
|
}
|
|
1489
|
-
function
|
|
1494
|
+
function jr(e, t, n, r) {
|
|
1490
1495
|
e.mechanism = {
|
|
1491
1496
|
handled: !0,
|
|
1492
1497
|
...e.mechanism,
|
|
@@ -1497,36 +1502,36 @@ function Mr(e, t, n, r) {
|
|
|
1497
1502
|
};
|
|
1498
1503
|
}
|
|
1499
1504
|
//#endregion
|
|
1500
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1501
|
-
function
|
|
1502
|
-
return
|
|
1505
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.57.0/node_modules/@sentry/core/build/esm/utils/eventbuilder.js
|
|
1506
|
+
function Mr(e) {
|
|
1507
|
+
return me(e) && "__sentry_fetch_url_host__" in e && typeof e.__sentry_fetch_url_host__ == "string";
|
|
1503
1508
|
}
|
|
1504
|
-
function
|
|
1505
|
-
return
|
|
1509
|
+
function Nr(e) {
|
|
1510
|
+
return Mr(e) ? `${e.message} (${e.__sentry_fetch_url_host__})` : e.message;
|
|
1506
1511
|
}
|
|
1507
1512
|
//#endregion
|
|
1508
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1509
|
-
var
|
|
1510
|
-
function
|
|
1511
|
-
let t = "console", n =
|
|
1512
|
-
return
|
|
1513
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.57.0/node_modules/@sentry/core/build/esm/instrument/console.js
|
|
1514
|
+
var Pr = /* @__PURE__ */ new Set([]);
|
|
1515
|
+
function Fr(e) {
|
|
1516
|
+
let t = "console", n = V(t, e);
|
|
1517
|
+
return H(t, Ir), n;
|
|
1513
1518
|
}
|
|
1514
|
-
function
|
|
1515
|
-
"console" in I &&
|
|
1516
|
-
e in I.console &&
|
|
1517
|
-
return
|
|
1518
|
-
let n = t[0], r =
|
|
1519
|
-
i ||
|
|
1519
|
+
function Ir() {
|
|
1520
|
+
"console" in I && xe.forEach(function(e) {
|
|
1521
|
+
e in I.console && E(I.console, e, function(t) {
|
|
1522
|
+
return Ne[e] = t, function(...t) {
|
|
1523
|
+
let n = t[0], r = Ne[e], i = Pr.size && typeof n == "string" && O(n, Pr);
|
|
1524
|
+
i || U("console", {
|
|
1520
1525
|
args: t,
|
|
1521
1526
|
level: e
|
|
1522
|
-
}), (!i ||
|
|
1527
|
+
}), (!i || R && F.isEnabled()) && (r == null || r.apply(I.console, t));
|
|
1523
1528
|
};
|
|
1524
1529
|
});
|
|
1525
1530
|
});
|
|
1526
1531
|
}
|
|
1527
1532
|
//#endregion
|
|
1528
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1529
|
-
function
|
|
1533
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.57.0/node_modules/@sentry/core/build/esm/utils/severity.js
|
|
1534
|
+
function Lr(e) {
|
|
1530
1535
|
return e === "warn" ? "warning" : [
|
|
1531
1536
|
"fatal",
|
|
1532
1537
|
"error",
|
|
@@ -1537,33 +1542,33 @@ function Rr(e) {
|
|
|
1537
1542
|
].includes(e) ? e : "log";
|
|
1538
1543
|
}
|
|
1539
1544
|
//#endregion
|
|
1540
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1541
|
-
var
|
|
1545
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.57.0/node_modules/@sentry/core/build/esm/integrations/dedupe.js
|
|
1546
|
+
var Rr = "Dedupe", zr = G((() => {
|
|
1542
1547
|
let e;
|
|
1543
1548
|
return {
|
|
1544
|
-
name:
|
|
1549
|
+
name: Rr,
|
|
1545
1550
|
processEvent(t) {
|
|
1546
1551
|
if (t.type) return t;
|
|
1547
1552
|
try {
|
|
1548
|
-
if (
|
|
1553
|
+
if (Br(t, e)) return R && F.warn("Event dropped due to being a duplicate of previously captured event."), null;
|
|
1549
1554
|
} catch {}
|
|
1550
1555
|
return e = t;
|
|
1551
1556
|
}
|
|
1552
1557
|
};
|
|
1553
1558
|
}));
|
|
1559
|
+
function Br(e, t) {
|
|
1560
|
+
return t ? !!(Vr(e, t) || Hr(e, t)) : !1;
|
|
1561
|
+
}
|
|
1554
1562
|
function Vr(e, t) {
|
|
1555
|
-
|
|
1563
|
+
let n = e.message, r = t.message;
|
|
1564
|
+
return !(!n && !r || n && !r || !n && r || n !== r || !Wr(e, t) || !Ur(e, t));
|
|
1556
1565
|
}
|
|
1557
1566
|
function Hr(e, t) {
|
|
1558
|
-
let n =
|
|
1559
|
-
return !(!n
|
|
1567
|
+
let n = Gr(t), r = Gr(e);
|
|
1568
|
+
return !(!n || !r || n.type !== r.type || n.value !== r.value || !Wr(e, t) || !Ur(e, t));
|
|
1560
1569
|
}
|
|
1561
1570
|
function Ur(e, t) {
|
|
1562
|
-
let n =
|
|
1563
|
-
return !(!n || !r || n.type !== r.type || n.value !== r.value || !Gr(e, t) || !Wr(e, t));
|
|
1564
|
-
}
|
|
1565
|
-
function Wr(e, t) {
|
|
1566
|
-
let n = be(e), r = be(t);
|
|
1571
|
+
let n = ye(e), r = ye(t);
|
|
1567
1572
|
if (!n && !r) return !0;
|
|
1568
1573
|
if (n && !r || !n && r || (n = n, r = r, r.length !== n.length)) return !1;
|
|
1569
1574
|
for (let e = 0; e < r.length; e++) {
|
|
@@ -1572,7 +1577,7 @@ function Wr(e, t) {
|
|
|
1572
1577
|
}
|
|
1573
1578
|
return !0;
|
|
1574
1579
|
}
|
|
1575
|
-
function
|
|
1580
|
+
function Wr(e, t) {
|
|
1576
1581
|
let n = e.fingerprint, r = t.fingerprint;
|
|
1577
1582
|
if (!n && !r) return !0;
|
|
1578
1583
|
if (n && !r || !n && r) return !1;
|
|
@@ -1583,74 +1588,74 @@ function Gr(e, t) {
|
|
|
1583
1588
|
return !1;
|
|
1584
1589
|
}
|
|
1585
1590
|
}
|
|
1586
|
-
function
|
|
1591
|
+
function Gr(e) {
|
|
1587
1592
|
var t;
|
|
1588
1593
|
return (t = e.exception) == null || (t = t.values) == null ? void 0 : t[0];
|
|
1589
1594
|
}
|
|
1590
1595
|
//#endregion
|
|
1591
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1592
|
-
var
|
|
1593
|
-
name:
|
|
1596
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.57.0/node_modules/@sentry/core/build/esm/integrations/conversationId.js
|
|
1597
|
+
var Kr = "ConversationId", qr = G((() => ({
|
|
1598
|
+
name: Kr,
|
|
1594
1599
|
setup(e) {
|
|
1595
1600
|
e.on("spanStart", (e) => {
|
|
1596
|
-
let t = x().getScopeData(), n =
|
|
1601
|
+
let t = x().getScopeData(), n = L().getScopeData(), r = t.conversationId || n.conversationId;
|
|
1597
1602
|
if (r) {
|
|
1598
|
-
let { op: t, data: n, description: i } =
|
|
1603
|
+
let { op: t, data: n, description: i } = De(e);
|
|
1599
1604
|
if (!(t != null && t.startsWith("gen_ai.")) && !n["ai.operationId"] && !(i != null && i.startsWith("ai."))) return;
|
|
1600
|
-
e.setAttribute(
|
|
1605
|
+
e.setAttribute(Xe, r);
|
|
1601
1606
|
}
|
|
1602
1607
|
});
|
|
1603
1608
|
}
|
|
1604
1609
|
})));
|
|
1605
1610
|
//#endregion
|
|
1606
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1607
|
-
function
|
|
1611
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.57.0/node_modules/@sentry/core/build/esm/utils/breadcrumb-log-level.js
|
|
1612
|
+
function Jr(e) {
|
|
1608
1613
|
if (e !== void 0) {
|
|
1609
1614
|
if (e >= 400 && e < 500) return "warning";
|
|
1610
1615
|
if (e >= 500) return "error";
|
|
1611
1616
|
}
|
|
1612
1617
|
}
|
|
1613
1618
|
//#endregion
|
|
1614
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1615
|
-
var
|
|
1616
|
-
function
|
|
1617
|
-
return "history" in
|
|
1619
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.57.0/node_modules/@sentry/core/build/esm/utils/supports.js
|
|
1620
|
+
var q = I;
|
|
1621
|
+
function Yr() {
|
|
1622
|
+
return "history" in q && !!q.history;
|
|
1618
1623
|
}
|
|
1619
|
-
function
|
|
1620
|
-
if (!("fetch" in
|
|
1624
|
+
function Xr() {
|
|
1625
|
+
if (!("fetch" in q)) return !1;
|
|
1621
1626
|
try {
|
|
1622
1627
|
return new Headers(), new Request("data:,"), new Response(), !0;
|
|
1623
1628
|
} catch {
|
|
1624
1629
|
return !1;
|
|
1625
1630
|
}
|
|
1626
1631
|
}
|
|
1627
|
-
function
|
|
1632
|
+
function Zr(e) {
|
|
1628
1633
|
return e && /^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString());
|
|
1629
1634
|
}
|
|
1630
|
-
function
|
|
1635
|
+
function Qr() {
|
|
1631
1636
|
if (typeof EdgeRuntime == "string") return !0;
|
|
1632
|
-
if (!
|
|
1633
|
-
if (
|
|
1634
|
-
let e = !1, t =
|
|
1637
|
+
if (!Xr()) return !1;
|
|
1638
|
+
if (Zr(q.fetch)) return !0;
|
|
1639
|
+
let e = !1, t = q.document;
|
|
1635
1640
|
if (t && typeof t.createElement == "function") try {
|
|
1636
1641
|
var n;
|
|
1637
1642
|
let r = t.createElement("iframe");
|
|
1638
|
-
r.hidden = !0, t.head.appendChild(r), (n = r.contentWindow) != null && n.fetch && (e =
|
|
1643
|
+
r.hidden = !0, t.head.appendChild(r), (n = r.contentWindow) != null && n.fetch && (e = Zr(r.contentWindow.fetch)), t.head.removeChild(r);
|
|
1639
1644
|
} catch (e) {
|
|
1640
|
-
|
|
1645
|
+
R && F.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ", e);
|
|
1641
1646
|
}
|
|
1642
1647
|
return e;
|
|
1643
1648
|
}
|
|
1644
1649
|
//#endregion
|
|
1645
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1646
|
-
function
|
|
1647
|
-
let n = "fetch", r =
|
|
1648
|
-
return
|
|
1650
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.57.0/node_modules/@sentry/core/build/esm/instrument/fetch.js
|
|
1651
|
+
function $r(e, t) {
|
|
1652
|
+
let n = "fetch", r = V(n, e);
|
|
1653
|
+
return H(n, () => ei(void 0, t)), r;
|
|
1649
1654
|
}
|
|
1650
|
-
function
|
|
1651
|
-
t &&
|
|
1655
|
+
function ei(e, t = !1) {
|
|
1656
|
+
t && !Qr() || E(I, "fetch", function(t) {
|
|
1652
1657
|
return function(...n) {
|
|
1653
|
-
let r = /* @__PURE__ */ Error(), { method: i, url: a } =
|
|
1658
|
+
let r = /* @__PURE__ */ Error(), { method: i, url: a } = ri(n), o = {
|
|
1654
1659
|
args: n,
|
|
1655
1660
|
fetchData: {
|
|
1656
1661
|
method: i,
|
|
@@ -1658,36 +1663,36 @@ function ti(e, t = !1) {
|
|
|
1658
1663
|
},
|
|
1659
1664
|
startTimestamp: y() * 1e3,
|
|
1660
1665
|
virtualError: r,
|
|
1661
|
-
headers:
|
|
1666
|
+
headers: ii(n)
|
|
1662
1667
|
};
|
|
1663
|
-
return e ||
|
|
1668
|
+
return e || U("fetch", { ...o }), t.apply(I, n).then(async (t) => (e ? e(t) : U("fetch", {
|
|
1664
1669
|
...o,
|
|
1665
1670
|
endTimestamp: y() * 1e3,
|
|
1666
1671
|
response: t
|
|
1667
1672
|
}), t), (e) => {
|
|
1668
1673
|
var t;
|
|
1669
|
-
|
|
1674
|
+
U("fetch", {
|
|
1670
1675
|
...o,
|
|
1671
1676
|
endTimestamp: y() * 1e3,
|
|
1672
1677
|
error: e
|
|
1673
|
-
}),
|
|
1674
|
-
let n =
|
|
1678
|
+
}), me(e) && e.stack === void 0 && (e.stack = r.stack, A(e, "framesToPop", 1));
|
|
1679
|
+
let n = k(), i = (t = n == null ? void 0 : n.getOptions().enhanceFetchErrorMessages) == null ? "always" : t;
|
|
1675
1680
|
if (i !== !1 && e instanceof TypeError && (e.message === "Failed to fetch" || e.message === "Load failed" || e.message === "NetworkError when attempting to fetch resource.")) try {
|
|
1676
1681
|
let t = new URL(o.fetchData.url).host;
|
|
1677
|
-
i === "always" ? e.message = `${e.message} (${t})` :
|
|
1682
|
+
i === "always" ? e.message = `${e.message} (${t})` : A(e, "__sentry_fetch_url_host__", t);
|
|
1678
1683
|
} catch {}
|
|
1679
1684
|
throw e;
|
|
1680
1685
|
});
|
|
1681
1686
|
};
|
|
1682
1687
|
});
|
|
1683
1688
|
}
|
|
1684
|
-
function
|
|
1689
|
+
function ti(e, t) {
|
|
1685
1690
|
return !!e && typeof e == "object" && !!e[t];
|
|
1686
1691
|
}
|
|
1687
|
-
function
|
|
1688
|
-
return typeof e == "string" ? e : e ?
|
|
1692
|
+
function ni(e) {
|
|
1693
|
+
return typeof e == "string" ? e : e ? ti(e, "url") ? e.url : e.toString ? e.toString() : "" : "";
|
|
1689
1694
|
}
|
|
1690
|
-
function
|
|
1695
|
+
function ri(e) {
|
|
1691
1696
|
if (e.length === 0) return {
|
|
1692
1697
|
method: "GET",
|
|
1693
1698
|
url: ""
|
|
@@ -1695,35 +1700,35 @@ function ii(e) {
|
|
|
1695
1700
|
if (e.length === 2) {
|
|
1696
1701
|
let [t, n] = e;
|
|
1697
1702
|
return {
|
|
1698
|
-
url:
|
|
1699
|
-
method:
|
|
1703
|
+
url: ni(t),
|
|
1704
|
+
method: ti(n, "method") ? String(n.method).toUpperCase() : ke(t) && ti(t, "method") ? String(t.method).toUpperCase() : "GET"
|
|
1700
1705
|
};
|
|
1701
1706
|
}
|
|
1702
1707
|
let t = e[0];
|
|
1703
1708
|
return {
|
|
1704
|
-
url:
|
|
1705
|
-
method:
|
|
1709
|
+
url: ni(t),
|
|
1710
|
+
method: ti(t, "method") ? String(t.method).toUpperCase() : "GET"
|
|
1706
1711
|
};
|
|
1707
1712
|
}
|
|
1708
|
-
function
|
|
1713
|
+
function ii(e) {
|
|
1709
1714
|
let [t, n] = e;
|
|
1710
1715
|
try {
|
|
1711
1716
|
if (typeof n == "object" && n && "headers" in n && n.headers) return new Headers(n.headers);
|
|
1712
|
-
if (
|
|
1717
|
+
if (ke(t)) return new Headers(t.headers);
|
|
1713
1718
|
} catch {}
|
|
1714
1719
|
}
|
|
1715
1720
|
//#endregion
|
|
1716
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1717
|
-
var
|
|
1718
|
-
function
|
|
1721
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.57.0/node_modules/@sentry/core/build/esm/utils/browser.js
|
|
1722
|
+
var ai = I;
|
|
1723
|
+
function oi() {
|
|
1719
1724
|
try {
|
|
1720
|
-
return
|
|
1725
|
+
return ai.document.location.href;
|
|
1721
1726
|
} catch {
|
|
1722
1727
|
return "";
|
|
1723
1728
|
}
|
|
1724
1729
|
}
|
|
1725
|
-
function
|
|
1726
|
-
if (!
|
|
1730
|
+
function si(e, t = 5) {
|
|
1731
|
+
if (!ai.HTMLElement) return null;
|
|
1727
1732
|
let n = e;
|
|
1728
1733
|
for (let e = 0; e < t; e++) {
|
|
1729
1734
|
if (!n) return null;
|
|
@@ -1736,17 +1741,17 @@ function ci(e, t = 5) {
|
|
|
1736
1741
|
return null;
|
|
1737
1742
|
}
|
|
1738
1743
|
//#endregion
|
|
1739
|
-
//#region ../../node_modules/.pnpm/@sentry+browser@10.
|
|
1740
|
-
var
|
|
1741
|
-
function
|
|
1742
|
-
return
|
|
1744
|
+
//#region ../../node_modules/.pnpm/@sentry+browser@10.57.0/node_modules/@sentry/browser/build/npm/esm/prod/helpers.js
|
|
1745
|
+
var J = I, ci = 0;
|
|
1746
|
+
function li() {
|
|
1747
|
+
return ci > 0;
|
|
1743
1748
|
}
|
|
1744
|
-
function
|
|
1745
|
-
|
|
1746
|
-
|
|
1749
|
+
function ui() {
|
|
1750
|
+
ci++, setTimeout(() => {
|
|
1751
|
+
ci--;
|
|
1747
1752
|
});
|
|
1748
1753
|
}
|
|
1749
|
-
function
|
|
1754
|
+
function Y(e, t = {}) {
|
|
1750
1755
|
function n(e) {
|
|
1751
1756
|
return typeof e == "function";
|
|
1752
1757
|
}
|
|
@@ -1754,21 +1759,21 @@ function J(e, t = {}) {
|
|
|
1754
1759
|
try {
|
|
1755
1760
|
let t = e.__sentry_wrapped__;
|
|
1756
1761
|
if (t) return typeof t == "function" ? t : e;
|
|
1757
|
-
if (
|
|
1762
|
+
if (ze(e)) return e;
|
|
1758
1763
|
} catch {
|
|
1759
1764
|
return e;
|
|
1760
1765
|
}
|
|
1761
1766
|
let r = function(...n) {
|
|
1762
1767
|
I._sentryWrappedDepth = (I._sentryWrappedDepth || 0) + 1;
|
|
1763
1768
|
try {
|
|
1764
|
-
let r = n.map((e) =>
|
|
1769
|
+
let r = n.map((e) => Y(e, t));
|
|
1765
1770
|
return e.apply(this, r);
|
|
1766
1771
|
} catch (e) {
|
|
1767
|
-
throw
|
|
1768
|
-
r.addEventProcessor((e) => (t.mechanism && (
|
|
1772
|
+
throw ui(), S((r) => {
|
|
1773
|
+
r.addEventProcessor((e) => (t.mechanism && (ae(e, void 0, void 0), N(e, t.mechanism)), e.extra = {
|
|
1769
1774
|
...e.extra,
|
|
1770
1775
|
arguments: n
|
|
1771
|
-
}, e)),
|
|
1776
|
+
}, e)), Pe(e);
|
|
1772
1777
|
}), e;
|
|
1773
1778
|
} finally {
|
|
1774
1779
|
I._sentryWrappedDepth = (I._sentryWrappedDepth || 0) - 1;
|
|
@@ -1777,7 +1782,7 @@ function J(e, t = {}) {
|
|
|
1777
1782
|
try {
|
|
1778
1783
|
for (let t in e) Object.prototype.hasOwnProperty.call(e, t) && (r[t] = e[t]);
|
|
1779
1784
|
} catch {}
|
|
1780
|
-
|
|
1785
|
+
re(r, e), A(e, "__sentry_wrapped__", r);
|
|
1781
1786
|
try {
|
|
1782
1787
|
Object.getOwnPropertyDescriptor(r, "name").configurable && Object.defineProperty(r, "name", { get() {
|
|
1783
1788
|
return e.name;
|
|
@@ -1785,8 +1790,8 @@ function J(e, t = {}) {
|
|
|
1785
1790
|
} catch {}
|
|
1786
1791
|
return r;
|
|
1787
1792
|
}
|
|
1788
|
-
function
|
|
1789
|
-
let e =
|
|
1793
|
+
function di() {
|
|
1794
|
+
let e = oi(), { referrer: t } = J.document || {}, { userAgent: n } = J.navigator || {};
|
|
1790
1795
|
return {
|
|
1791
1796
|
url: e,
|
|
1792
1797
|
headers: {
|
|
@@ -1796,101 +1801,101 @@ function fi() {
|
|
|
1796
1801
|
};
|
|
1797
1802
|
}
|
|
1798
1803
|
//#endregion
|
|
1799
|
-
//#region ../../node_modules/.pnpm/@sentry+browser@10.
|
|
1800
|
-
function
|
|
1801
|
-
let n =
|
|
1802
|
-
type:
|
|
1803
|
-
value:
|
|
1804
|
+
//#region ../../node_modules/.pnpm/@sentry+browser@10.57.0/node_modules/@sentry/browser/build/npm/esm/prod/eventbuilder.js
|
|
1805
|
+
function fi(e, t) {
|
|
1806
|
+
let n = hi(e, t), r = {
|
|
1807
|
+
type: bi(t),
|
|
1808
|
+
value: xi(t)
|
|
1804
1809
|
};
|
|
1805
1810
|
return n.length && (r.stacktrace = { frames: n }), r.type === void 0 && r.value === "" && (r.value = "Unrecoverable error caught"), r;
|
|
1806
1811
|
}
|
|
1807
|
-
function
|
|
1808
|
-
let i =
|
|
1812
|
+
function pi(e, t, n, r) {
|
|
1813
|
+
let i = k(), a = i == null ? void 0 : i.getOptions().normalizeDepth, o = Oi(t), s = { __serialized__: b(t, a) };
|
|
1809
1814
|
if (o) return {
|
|
1810
|
-
exception: { values: [
|
|
1815
|
+
exception: { values: [fi(e, o)] },
|
|
1811
1816
|
extra: s
|
|
1812
1817
|
};
|
|
1813
1818
|
let c = {
|
|
1814
1819
|
exception: { values: [{
|
|
1815
1820
|
type: v(t) ? t.constructor.name : r ? "UnhandledRejection" : "Error",
|
|
1816
|
-
value:
|
|
1821
|
+
value: Ei(t, { isUnhandledRejection: r })
|
|
1817
1822
|
}] },
|
|
1818
1823
|
extra: s
|
|
1819
1824
|
};
|
|
1820
1825
|
if (n) {
|
|
1821
|
-
let t =
|
|
1826
|
+
let t = hi(e, n);
|
|
1822
1827
|
t.length && (c.exception.values[0].stacktrace = { frames: t });
|
|
1823
1828
|
}
|
|
1824
1829
|
return c;
|
|
1825
1830
|
}
|
|
1826
|
-
function
|
|
1827
|
-
return { exception: { values: [
|
|
1831
|
+
function mi(e, t) {
|
|
1832
|
+
return { exception: { values: [fi(e, t)] } };
|
|
1828
1833
|
}
|
|
1829
|
-
function
|
|
1830
|
-
let n = t.stacktrace || t.stack || "", r =
|
|
1834
|
+
function hi(e, t) {
|
|
1835
|
+
let n = t.stacktrace || t.stack || "", r = _i(t), i = vi(t);
|
|
1831
1836
|
try {
|
|
1832
1837
|
return e(n, r, i);
|
|
1833
1838
|
} catch {}
|
|
1834
1839
|
return [];
|
|
1835
1840
|
}
|
|
1836
|
-
var
|
|
1837
|
-
function
|
|
1838
|
-
return e &&
|
|
1841
|
+
var gi = /Minified React error #\d+;/i;
|
|
1842
|
+
function _i(e) {
|
|
1843
|
+
return e && gi.test(e.message) ? 1 : 0;
|
|
1839
1844
|
}
|
|
1840
|
-
function
|
|
1845
|
+
function vi(e) {
|
|
1841
1846
|
return typeof e.framesToPop == "number" ? e.framesToPop : 0;
|
|
1842
1847
|
}
|
|
1843
|
-
function
|
|
1848
|
+
function yi(e) {
|
|
1844
1849
|
return typeof WebAssembly < "u" && WebAssembly.Exception !== void 0 ? e instanceof WebAssembly.Exception : !1;
|
|
1845
1850
|
}
|
|
1846
|
-
function
|
|
1851
|
+
function bi(e) {
|
|
1847
1852
|
let t = e == null ? void 0 : e.name;
|
|
1848
|
-
return !t &&
|
|
1853
|
+
return !t && yi(e) ? e.message && Array.isArray(e.message) && e.message.length == 2 ? e.message[0] : "WebAssembly.Exception" : t;
|
|
1849
1854
|
}
|
|
1850
|
-
function
|
|
1855
|
+
function xi(e) {
|
|
1851
1856
|
let t = e == null ? void 0 : e.message;
|
|
1852
|
-
return
|
|
1857
|
+
return yi(e) ? Array.isArray(e.message) && e.message.length == 2 ? e.message[1] : "wasm exception" : t ? t.error && typeof t.error.message == "string" ? Nr(t.error) : Nr(e) : "No error message";
|
|
1853
1858
|
}
|
|
1854
|
-
function
|
|
1855
|
-
let i =
|
|
1856
|
-
return
|
|
1859
|
+
function Si(e, t, n, r) {
|
|
1860
|
+
let i = wi(e, t, (n == null ? void 0 : n.syntheticException) || void 0, r);
|
|
1861
|
+
return N(i), i.level = "error", n != null && n.event_id && (i.event_id = n.event_id), be(i);
|
|
1857
1862
|
}
|
|
1858
|
-
function
|
|
1859
|
-
let a =
|
|
1860
|
-
return a.level = n, r != null && r.event_id && (a.event_id = r.event_id),
|
|
1863
|
+
function Ci(e, t, n = "info", r, i) {
|
|
1864
|
+
let a = Ti(e, t, (r == null ? void 0 : r.syntheticException) || void 0, i);
|
|
1865
|
+
return a.level = n, r != null && r.event_id && (a.event_id = r.event_id), be(a);
|
|
1861
1866
|
}
|
|
1862
|
-
function
|
|
1867
|
+
function wi(e, t, n, r, i) {
|
|
1863
1868
|
let a;
|
|
1864
|
-
if (
|
|
1865
|
-
if (
|
|
1869
|
+
if (ce(t) && t.error) return mi(e, t.error);
|
|
1870
|
+
if (pe(t) || fe(t)) {
|
|
1866
1871
|
let i = t;
|
|
1867
1872
|
if ("stack" in t) {
|
|
1868
1873
|
var o;
|
|
1869
|
-
a =
|
|
1874
|
+
a = mi(e, t);
|
|
1870
1875
|
let i = (o = a.exception) == null || (o = o.values) == null ? void 0 : o[0];
|
|
1871
1876
|
if (r && n && i && !i.stacktrace) {
|
|
1872
|
-
let t =
|
|
1873
|
-
t.length && (i.stacktrace = { frames: t },
|
|
1877
|
+
let t = hi(e, n);
|
|
1878
|
+
t.length && (i.stacktrace = { frames: t }, N(a, { synthetic: !0 }));
|
|
1874
1879
|
}
|
|
1875
1880
|
} else {
|
|
1876
|
-
let t = i.name || (
|
|
1877
|
-
a =
|
|
1881
|
+
let t = i.name || (pe(i) ? "DOMError" : "DOMException"), o = i.message ? `${t}: ${i.message}` : t;
|
|
1882
|
+
a = Ti(e, o, n, r), ae(a, o);
|
|
1878
1883
|
}
|
|
1879
1884
|
return "code" in i && (a.tags = {
|
|
1880
1885
|
...a.tags,
|
|
1881
1886
|
"DOMException.code": `${i.code}`
|
|
1882
1887
|
}), a;
|
|
1883
1888
|
}
|
|
1884
|
-
return
|
|
1889
|
+
return me(t) ? mi(e, t) : Fe(t) || v(t) ? (a = pi(e, t, n, i), N(a, { synthetic: !0 }), a) : (a = Ti(e, t, n, r), ae(a, `${t}`, void 0), N(a, { synthetic: !0 }), a);
|
|
1885
1890
|
}
|
|
1886
|
-
function
|
|
1891
|
+
function Ti(e, t, n, r) {
|
|
1887
1892
|
let i = {};
|
|
1888
1893
|
if (r && n) {
|
|
1889
|
-
let r =
|
|
1894
|
+
let r = hi(e, n);
|
|
1890
1895
|
r.length && (i.exception = { values: [{
|
|
1891
1896
|
value: t,
|
|
1892
1897
|
stacktrace: { frames: r }
|
|
1893
|
-
}] }),
|
|
1898
|
+
}] }), N(i, { synthetic: !0 });
|
|
1894
1899
|
}
|
|
1895
1900
|
if (Ge(t)) {
|
|
1896
1901
|
let { __sentry_template_string__: e, __sentry_template_values__: n } = t;
|
|
@@ -1901,69 +1906,69 @@ function Ei(e, t, n, r) {
|
|
|
1901
1906
|
}
|
|
1902
1907
|
return i.message = t, i;
|
|
1903
1908
|
}
|
|
1904
|
-
function
|
|
1909
|
+
function Ei(e, { isUnhandledRejection: t }) {
|
|
1905
1910
|
let n = ne(e), r = t ? "promise rejection" : "exception";
|
|
1906
|
-
return
|
|
1911
|
+
return ce(e) ? `Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\`` : v(e) ? `Event \`${Di(e)}\` (type=${e.type}) captured as ${r}` : `Object captured as ${r} with keys: ${n}`;
|
|
1907
1912
|
}
|
|
1908
|
-
function
|
|
1913
|
+
function Di(e) {
|
|
1909
1914
|
try {
|
|
1910
1915
|
let t = Object.getPrototypeOf(e);
|
|
1911
1916
|
return t ? t.constructor.name : void 0;
|
|
1912
1917
|
} catch {}
|
|
1913
1918
|
}
|
|
1914
|
-
function
|
|
1919
|
+
function Oi(e) {
|
|
1915
1920
|
return Object.values(e).find((e) => e instanceof Error);
|
|
1916
1921
|
}
|
|
1917
1922
|
//#endregion
|
|
1918
|
-
//#region ../../node_modules/.pnpm/@sentry+browser@10.
|
|
1919
|
-
var
|
|
1923
|
+
//#region ../../node_modules/.pnpm/@sentry+browser@10.57.0/node_modules/@sentry/browser/build/npm/esm/prod/client.js
|
|
1924
|
+
var ki = class extends Kn {
|
|
1920
1925
|
constructor(e) {
|
|
1921
1926
|
var t, n;
|
|
1922
|
-
let r =
|
|
1923
|
-
|
|
1927
|
+
let r = Ai(e);
|
|
1928
|
+
cr(r, "browser", ["browser"], J.SENTRY_SDK_SOURCE || nn()), super(r);
|
|
1924
1929
|
let { userInfo: i } = this.getDataCollectionOptions();
|
|
1925
1930
|
(t = r._metadata) != null && t.sdk && (r._metadata.sdk.settings = {
|
|
1926
1931
|
infer_ip: i ? "auto" : "never",
|
|
1927
1932
|
...r._metadata.sdk.settings
|
|
1928
1933
|
});
|
|
1929
1934
|
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;
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
}), i && this.on("beforeSendSession",
|
|
1935
|
+
J.document && (a || o || l) && J.document.addEventListener("visibilitychange", () => {
|
|
1936
|
+
J.document.visibilityState === "hidden" && (a && this._flushOutcomes(), o && ln(this), l && mn(this));
|
|
1937
|
+
}), i && this.on("beforeSendSession", sr);
|
|
1933
1938
|
}
|
|
1934
1939
|
eventFromException(e, t) {
|
|
1935
|
-
return
|
|
1940
|
+
return Si(this._options.stackParser, e, t, this._options.attachStacktrace);
|
|
1936
1941
|
}
|
|
1937
1942
|
eventFromMessage(e, t = "info", n) {
|
|
1938
|
-
return
|
|
1943
|
+
return Ci(this._options.stackParser, e, t, n, this._options.attachStacktrace);
|
|
1939
1944
|
}
|
|
1940
1945
|
_prepareEvent(e, t, n, r) {
|
|
1941
1946
|
return e.platform = e.platform || "javascript", super._prepareEvent(e, t, n, r);
|
|
1942
1947
|
}
|
|
1943
1948
|
};
|
|
1944
|
-
function
|
|
1949
|
+
function Ai(e) {
|
|
1945
1950
|
var t;
|
|
1946
1951
|
return {
|
|
1947
|
-
release: typeof __SENTRY_RELEASE__ == "string" ? __SENTRY_RELEASE__ : (t =
|
|
1952
|
+
release: typeof __SENTRY_RELEASE__ == "string" ? __SENTRY_RELEASE__ : (t = J.SENTRY_RELEASE) == null ? void 0 : t.id,
|
|
1948
1953
|
sendClientReports: !0,
|
|
1949
1954
|
parentSpanIsAlwaysRootSpan: !0,
|
|
1950
1955
|
...e
|
|
1951
1956
|
};
|
|
1952
1957
|
}
|
|
1953
1958
|
//#endregion
|
|
1954
|
-
//#region ../../node_modules/.pnpm/@sentry-internal+browser-utils@10.
|
|
1955
|
-
var
|
|
1956
|
-
function
|
|
1959
|
+
//#region ../../node_modules/.pnpm/@sentry-internal+browser-utils@10.57.0/node_modules/@sentry-internal/browser-utils/build/esm/debug-build.js
|
|
1960
|
+
var ji = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, X = I, Mi = 80;
|
|
1961
|
+
function Ni(e, t = {}) {
|
|
1957
1962
|
if (!e) return "<unknown>";
|
|
1958
1963
|
try {
|
|
1959
|
-
let n = e, r = [], i = 0, a = 0, o, s = Array.isArray(t) ? t : t.keyAttrs, c = !Array.isArray(t) && t.maxStringLength ||
|
|
1960
|
-
for (; n && i++ < 5 && (o =
|
|
1964
|
+
let n = e, r = [], i = 0, a = 0, o, s = Array.isArray(t) ? t : t.keyAttrs, c = !Array.isArray(t) && t.maxStringLength || Mi;
|
|
1965
|
+
for (; n && i++ < 5 && (o = Pi(n, s), !(o === "html" || i > 1 && a + r.length * 3 + o.length >= c));) r.push(o), a += o.length, n = n.parentNode;
|
|
1961
1966
|
return r.reverse().join(" > ");
|
|
1962
1967
|
} catch {
|
|
1963
1968
|
return "<unknown>";
|
|
1964
1969
|
}
|
|
1965
1970
|
}
|
|
1966
|
-
function
|
|
1971
|
+
function Pi(e, t) {
|
|
1967
1972
|
let n = e, r = [];
|
|
1968
1973
|
if (!(n != null && n.tagName)) return "";
|
|
1969
1974
|
if (typeof HTMLElement < "u" && n instanceof HTMLElement && n.dataset) {
|
|
@@ -1978,7 +1983,7 @@ function Fi(e, t) {
|
|
|
1978
1983
|
else {
|
|
1979
1984
|
n.id && r.push(`#${n.id}`);
|
|
1980
1985
|
let e = n.className;
|
|
1981
|
-
if (e &&
|
|
1986
|
+
if (e && M(e)) {
|
|
1982
1987
|
let t = e.split(/\s+/);
|
|
1983
1988
|
for (let e of t) r.push(`.${e}`);
|
|
1984
1989
|
}
|
|
@@ -1996,30 +2001,30 @@ function Fi(e, t) {
|
|
|
1996
2001
|
return r.join("");
|
|
1997
2002
|
}
|
|
1998
2003
|
//#endregion
|
|
1999
|
-
//#region ../../node_modules/.pnpm/@sentry-internal+browser-utils@10.
|
|
2000
|
-
var
|
|
2001
|
-
function
|
|
2002
|
-
|
|
2004
|
+
//#region ../../node_modules/.pnpm/@sentry-internal+browser-utils@10.57.0/node_modules/@sentry-internal/browser-utils/build/esm/instrument/dom.js
|
|
2005
|
+
var Fi = 1e3, Ii, Li, Ri;
|
|
2006
|
+
function zi(e) {
|
|
2007
|
+
V("dom", e), H("dom", Bi);
|
|
2003
2008
|
}
|
|
2004
|
-
function
|
|
2005
|
-
if (!
|
|
2006
|
-
let e =
|
|
2007
|
-
|
|
2009
|
+
function Bi() {
|
|
2010
|
+
if (!X.document) return;
|
|
2011
|
+
let e = U.bind(null, "dom"), t = Ui(e, !0);
|
|
2012
|
+
X.document.addEventListener("click", t, !1), X.document.addEventListener("keypress", t, !1), ["EventTarget", "Node"].forEach((t) => {
|
|
2008
2013
|
var n, r;
|
|
2009
|
-
let i = (n =
|
|
2010
|
-
!(i == null || (r = i.hasOwnProperty) == null) && r.call(i, "addEventListener") && (
|
|
2014
|
+
let i = (n = X[t]) == null ? void 0 : n.prototype;
|
|
2015
|
+
!(i == null || (r = i.hasOwnProperty) == null) && r.call(i, "addEventListener") && (E(i, "addEventListener", function(t) {
|
|
2011
2016
|
return function(n, r, i) {
|
|
2012
2017
|
if (n === "click" || n == "keypress") try {
|
|
2013
2018
|
let r = this.__sentry_instrumentation_handlers__ = this.__sentry_instrumentation_handlers__ || {}, a = r[n] = r[n] || { refCount: 0 };
|
|
2014
2019
|
if (!a.handler) {
|
|
2015
|
-
let r =
|
|
2020
|
+
let r = Ui(e);
|
|
2016
2021
|
a.handler = r, t.call(this, n, r, i);
|
|
2017
2022
|
}
|
|
2018
2023
|
a.refCount++;
|
|
2019
2024
|
} catch {}
|
|
2020
2025
|
return t.call(this, n, r, i);
|
|
2021
2026
|
};
|
|
2022
|
-
}),
|
|
2027
|
+
}), E(i, "removeEventListener", function(e) {
|
|
2023
2028
|
return function(t, n, r) {
|
|
2024
2029
|
if (t === "click" || t == "keypress") try {
|
|
2025
2030
|
let n = this.__sentry_instrumentation_handlers__ || {}, i = n[t];
|
|
@@ -2030,33 +2035,33 @@ function Vi() {
|
|
|
2030
2035
|
}));
|
|
2031
2036
|
});
|
|
2032
2037
|
}
|
|
2033
|
-
function
|
|
2034
|
-
if (e.type !==
|
|
2038
|
+
function Vi(e) {
|
|
2039
|
+
if (e.type !== Li) return !1;
|
|
2035
2040
|
try {
|
|
2036
|
-
if (!e.target || e.target._sentryId !==
|
|
2041
|
+
if (!e.target || e.target._sentryId !== Ri) return !1;
|
|
2037
2042
|
} catch {}
|
|
2038
2043
|
return !0;
|
|
2039
2044
|
}
|
|
2040
|
-
function
|
|
2045
|
+
function Hi(e, t) {
|
|
2041
2046
|
return e === "keypress" ? t != null && t.tagName ? !(t.tagName === "INPUT" || t.tagName === "TEXTAREA" || t.isContentEditable) : !0 : !1;
|
|
2042
2047
|
}
|
|
2043
|
-
function
|
|
2048
|
+
function Ui(e, t = !1) {
|
|
2044
2049
|
return (n) => {
|
|
2045
2050
|
if (!n || n._sentryCaptured) return;
|
|
2046
|
-
let r =
|
|
2047
|
-
if (
|
|
2048
|
-
|
|
2051
|
+
let r = Wi(n);
|
|
2052
|
+
if (Hi(n.type, r)) return;
|
|
2053
|
+
A(n, "_sentryCaptured", !0), r && !r._sentryId && A(r, "_sentryId", C());
|
|
2049
2054
|
let i = n.type === "keypress" ? "input" : n.type;
|
|
2050
|
-
|
|
2055
|
+
Vi(n) || (e({
|
|
2051
2056
|
event: n,
|
|
2052
2057
|
name: i,
|
|
2053
2058
|
global: t
|
|
2054
|
-
}),
|
|
2055
|
-
|
|
2056
|
-
},
|
|
2059
|
+
}), Li = n.type, Ri = r ? r._sentryId : void 0), clearTimeout(Ii), Ii = X.setTimeout(() => {
|
|
2060
|
+
Ri = void 0, Li = void 0;
|
|
2061
|
+
}, Fi);
|
|
2057
2062
|
};
|
|
2058
2063
|
}
|
|
2059
|
-
function
|
|
2064
|
+
function Wi(e) {
|
|
2060
2065
|
try {
|
|
2061
2066
|
return e.target;
|
|
2062
2067
|
} catch {
|
|
@@ -2064,27 +2069,27 @@ function Gi(e) {
|
|
|
2064
2069
|
}
|
|
2065
2070
|
}
|
|
2066
2071
|
//#endregion
|
|
2067
|
-
//#region ../../node_modules/.pnpm/@sentry-internal+browser-utils@10.
|
|
2068
|
-
var
|
|
2069
|
-
function
|
|
2072
|
+
//#region ../../node_modules/.pnpm/@sentry-internal+browser-utils@10.57.0/node_modules/@sentry-internal/browser-utils/build/esm/instrument/history.js
|
|
2073
|
+
var Gi;
|
|
2074
|
+
function Ki(e) {
|
|
2070
2075
|
let t = "history";
|
|
2071
|
-
|
|
2076
|
+
V(t, e), H(t, qi);
|
|
2072
2077
|
}
|
|
2073
|
-
function
|
|
2074
|
-
if (
|
|
2075
|
-
let e =
|
|
2076
|
-
|
|
2078
|
+
function qi() {
|
|
2079
|
+
if (X.addEventListener("popstate", () => {
|
|
2080
|
+
let e = X.location.href, t = Gi;
|
|
2081
|
+
Gi = e, t !== e && U("history", {
|
|
2077
2082
|
from: t,
|
|
2078
2083
|
to: e
|
|
2079
2084
|
});
|
|
2080
|
-
}), !
|
|
2085
|
+
}), !Yr()) return;
|
|
2081
2086
|
function e(e) {
|
|
2082
2087
|
return function(...t) {
|
|
2083
2088
|
let n = t.length > 2 ? t[2] : void 0;
|
|
2084
2089
|
if (n) {
|
|
2085
|
-
let r =
|
|
2086
|
-
if (
|
|
2087
|
-
|
|
2090
|
+
let r = Gi, i = Ji(String(n));
|
|
2091
|
+
if (Gi = i, r === i) return e.apply(this, t);
|
|
2092
|
+
U("history", {
|
|
2088
2093
|
from: r,
|
|
2089
2094
|
to: i
|
|
2090
2095
|
});
|
|
@@ -2092,61 +2097,61 @@ function Ji() {
|
|
|
2092
2097
|
return e.apply(this, t);
|
|
2093
2098
|
};
|
|
2094
2099
|
}
|
|
2095
|
-
|
|
2100
|
+
E(X.history, "pushState", e), E(X.history, "replaceState", e);
|
|
2096
2101
|
}
|
|
2097
|
-
function
|
|
2102
|
+
function Ji(e) {
|
|
2098
2103
|
try {
|
|
2099
|
-
return new URL(e,
|
|
2104
|
+
return new URL(e, X.location.origin).toString();
|
|
2100
2105
|
} catch {
|
|
2101
2106
|
return e;
|
|
2102
2107
|
}
|
|
2103
2108
|
}
|
|
2104
2109
|
//#endregion
|
|
2105
|
-
//#region ../../node_modules/.pnpm/@sentry-internal+browser-utils@10.
|
|
2106
|
-
var
|
|
2107
|
-
function
|
|
2108
|
-
let t =
|
|
2110
|
+
//#region ../../node_modules/.pnpm/@sentry-internal+browser-utils@10.57.0/node_modules/@sentry-internal/browser-utils/build/esm/getNativeImplementation.js
|
|
2111
|
+
var Yi = {};
|
|
2112
|
+
function Xi(e) {
|
|
2113
|
+
let t = Yi[e];
|
|
2109
2114
|
if (t) return t;
|
|
2110
|
-
let n =
|
|
2111
|
-
if (
|
|
2112
|
-
let r =
|
|
2115
|
+
let n = X[e];
|
|
2116
|
+
if (Zr(n)) return Yi[e] = n.bind(X);
|
|
2117
|
+
let r = X.document;
|
|
2113
2118
|
if (r && typeof r.createElement == "function") try {
|
|
2114
2119
|
let t = r.createElement("iframe");
|
|
2115
2120
|
t.hidden = !0, r.head.appendChild(t);
|
|
2116
2121
|
let i = t.contentWindow;
|
|
2117
2122
|
i != null && i[e] && (n = i[e]), r.head.removeChild(t);
|
|
2118
2123
|
} catch (t) {
|
|
2119
|
-
|
|
2124
|
+
ji && F.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `, t);
|
|
2120
2125
|
}
|
|
2121
|
-
return n && (
|
|
2126
|
+
return n && (Yi[e] = n.bind(X));
|
|
2122
2127
|
}
|
|
2123
|
-
function
|
|
2124
|
-
|
|
2128
|
+
function Zi(e) {
|
|
2129
|
+
Yi[e] = void 0;
|
|
2125
2130
|
}
|
|
2126
2131
|
//#endregion
|
|
2127
|
-
//#region ../../node_modules/.pnpm/@sentry-internal+browser-utils@10.
|
|
2128
|
-
var
|
|
2129
|
-
function
|
|
2130
|
-
|
|
2132
|
+
//#region ../../node_modules/.pnpm/@sentry-internal+browser-utils@10.57.0/node_modules/@sentry-internal/browser-utils/build/esm/instrument/xhr.js
|
|
2133
|
+
var Z = "__sentry_xhr_v3__";
|
|
2134
|
+
function Qi(e) {
|
|
2135
|
+
V("xhr", e), H("xhr", $i);
|
|
2131
2136
|
}
|
|
2132
|
-
function
|
|
2133
|
-
if (!
|
|
2137
|
+
function $i() {
|
|
2138
|
+
if (!X.XMLHttpRequest) return;
|
|
2134
2139
|
let e = XMLHttpRequest.prototype;
|
|
2135
2140
|
e.open = new Proxy(e.open, { apply(e, t, n) {
|
|
2136
|
-
let r = /* @__PURE__ */ Error(), i = y() * 1e3, a =
|
|
2141
|
+
let r = /* @__PURE__ */ Error(), i = y() * 1e3, a = M(n[0]) ? n[0].toUpperCase() : void 0, o = ea(n[1]);
|
|
2137
2142
|
if (!a || !o) return e.apply(t, n);
|
|
2138
|
-
t[
|
|
2143
|
+
t[Z] = {
|
|
2139
2144
|
method: a,
|
|
2140
2145
|
url: o,
|
|
2141
2146
|
request_headers: {}
|
|
2142
2147
|
}, a === "POST" && o.match(/sentry_key/) && (t.__sentry_own_request__ = !0);
|
|
2143
2148
|
let s = () => {
|
|
2144
|
-
let e = t[
|
|
2149
|
+
let e = t[Z];
|
|
2145
2150
|
if (e && t.readyState === 4) {
|
|
2146
2151
|
try {
|
|
2147
2152
|
e.status_code = t.status;
|
|
2148
2153
|
} catch {}
|
|
2149
|
-
|
|
2154
|
+
U("xhr", {
|
|
2150
2155
|
endTimestamp: y() * 1e3,
|
|
2151
2156
|
startTimestamp: i,
|
|
2152
2157
|
xhr: t,
|
|
@@ -2157,26 +2162,26 @@ function ea() {
|
|
|
2157
2162
|
return "onreadystatechange" in t && typeof t.onreadystatechange == "function" ? t.onreadystatechange = new Proxy(t.onreadystatechange, { apply(e, t, n) {
|
|
2158
2163
|
return s(), e.apply(t, n);
|
|
2159
2164
|
} }) : t.addEventListener("readystatechange", s), t.setRequestHeader = new Proxy(t.setRequestHeader, { apply(e, t, n) {
|
|
2160
|
-
let [r, i] = n, a = t[
|
|
2161
|
-
return a &&
|
|
2165
|
+
let [r, i] = n, a = t[Z];
|
|
2166
|
+
return a && M(r) && M(i) && (a.request_headers[r.toLowerCase()] = i), e.apply(t, n);
|
|
2162
2167
|
} }), e.apply(t, n);
|
|
2163
2168
|
} }), e.send = new Proxy(e.send, { apply(e, t, n) {
|
|
2164
|
-
let r = t[
|
|
2165
|
-
return r ? (n[0] !== void 0 && (r.body = n[0]),
|
|
2169
|
+
let r = t[Z];
|
|
2170
|
+
return r ? (n[0] !== void 0 && (r.body = n[0]), U("xhr", {
|
|
2166
2171
|
startTimestamp: y() * 1e3,
|
|
2167
2172
|
xhr: t
|
|
2168
2173
|
}), e.apply(t, n)) : e.apply(t, n);
|
|
2169
2174
|
} });
|
|
2170
2175
|
}
|
|
2171
|
-
function
|
|
2172
|
-
if (
|
|
2176
|
+
function ea(e) {
|
|
2177
|
+
if (M(e)) return e;
|
|
2173
2178
|
try {
|
|
2174
2179
|
return e.toString();
|
|
2175
2180
|
} catch {}
|
|
2176
2181
|
}
|
|
2177
2182
|
//#endregion
|
|
2178
|
-
//#region ../../node_modules/.pnpm/@sentry-internal+browser-utils@10.
|
|
2179
|
-
function
|
|
2183
|
+
//#region ../../node_modules/.pnpm/@sentry-internal+browser-utils@10.57.0/node_modules/@sentry-internal/browser-utils/build/esm/is.js
|
|
2184
|
+
function ta(e) {
|
|
2180
2185
|
if (typeof Element > "u") return !1;
|
|
2181
2186
|
try {
|
|
2182
2187
|
return e instanceof Element;
|
|
@@ -2185,9 +2190,9 @@ function na(e) {
|
|
|
2185
2190
|
}
|
|
2186
2191
|
}
|
|
2187
2192
|
//#endregion
|
|
2188
|
-
//#region ../../node_modules/.pnpm/@sentry+browser@10.
|
|
2189
|
-
var
|
|
2190
|
-
function
|
|
2193
|
+
//#region ../../node_modules/.pnpm/@sentry+browser@10.57.0/node_modules/@sentry/browser/build/npm/esm/prod/transports/fetch.js
|
|
2194
|
+
var na = 40;
|
|
2195
|
+
function ra(e, t = Xi("fetch")) {
|
|
2191
2196
|
let n = 0, r = 0;
|
|
2192
2197
|
async function i(i) {
|
|
2193
2198
|
let a = i.body.length;
|
|
@@ -2210,17 +2215,17 @@ function ia(e, t = Zi("fetch")) {
|
|
|
2210
2215
|
}
|
|
2211
2216
|
};
|
|
2212
2217
|
} catch (e) {
|
|
2213
|
-
throw
|
|
2218
|
+
throw Zi("fetch"), e;
|
|
2214
2219
|
} finally {
|
|
2215
2220
|
n -= a, r--;
|
|
2216
2221
|
}
|
|
2217
2222
|
}
|
|
2218
|
-
return
|
|
2223
|
+
return Dn(e, i, xn(e.bufferSize || na));
|
|
2219
2224
|
}
|
|
2220
2225
|
//#endregion
|
|
2221
|
-
//#region ../../node_modules/.pnpm/@sentry+browser@10.
|
|
2222
|
-
var
|
|
2223
|
-
function
|
|
2226
|
+
//#region ../../node_modules/.pnpm/@sentry+browser@10.57.0/node_modules/@sentry/browser/build/npm/esm/prod/debug-build.js
|
|
2227
|
+
var Q = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, ia = 30, aa = 50;
|
|
2228
|
+
function oa(e, t, n, r) {
|
|
2224
2229
|
let i = {
|
|
2225
2230
|
filename: e,
|
|
2226
2231
|
function: t === "<anonymous>" ? "?" : t,
|
|
@@ -2228,41 +2233,41 @@ function sa(e, t, n, r) {
|
|
|
2228
2233
|
};
|
|
2229
2234
|
return n !== void 0 && (i.lineno = n), r !== void 0 && (i.colno = r), i;
|
|
2230
2235
|
}
|
|
2231
|
-
var
|
|
2232
|
-
let t = e.match(
|
|
2236
|
+
var sa = /^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i, ca = /^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i, la = /\((\S*)(?::(\d+))(?::(\d+))\)/, ua = /at (.+?) ?\(data:(.+?),/, da = [ia, (e) => {
|
|
2237
|
+
let t = e.match(ua);
|
|
2233
2238
|
if (t) return {
|
|
2234
2239
|
filename: `<data:${t[2]}>`,
|
|
2235
2240
|
function: t[1]
|
|
2236
2241
|
};
|
|
2237
|
-
let n =
|
|
2242
|
+
let n = sa.exec(e);
|
|
2238
2243
|
if (n) {
|
|
2239
2244
|
let [, e, t, r] = n;
|
|
2240
|
-
return
|
|
2245
|
+
return oa(e, "?", +t, +r);
|
|
2241
2246
|
}
|
|
2242
|
-
let r =
|
|
2247
|
+
let r = ca.exec(e);
|
|
2243
2248
|
if (r) {
|
|
2244
2249
|
var i;
|
|
2245
2250
|
if (((i = r[2]) == null ? void 0 : i.indexOf("eval")) === 0) {
|
|
2246
|
-
let e =
|
|
2251
|
+
let e = la.exec(r[2]);
|
|
2247
2252
|
e && (r[2] = e[1], r[3] = e[2], r[4] = e[3]);
|
|
2248
2253
|
}
|
|
2249
|
-
let [e, t] =
|
|
2250
|
-
return
|
|
2254
|
+
let [e, t] = ha(r[1] || "?", r[2]);
|
|
2255
|
+
return oa(t, e, r[3] ? +r[3] : void 0, r[4] ? +r[4] : void 0);
|
|
2251
2256
|
}
|
|
2252
|
-
}],
|
|
2253
|
-
let t =
|
|
2257
|
+
}], fa = /^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i, pa = /(\S+) line (\d+)(?: > eval line \d+)* > eval/i, ma = Ue(da, [aa, (e) => {
|
|
2258
|
+
let t = fa.exec(e);
|
|
2254
2259
|
if (t) {
|
|
2255
2260
|
if (t[3] && t[3].indexOf(" > eval") > -1) {
|
|
2256
|
-
let e =
|
|
2261
|
+
let e = pa.exec(t[3]);
|
|
2257
2262
|
e && (t[1] = t[1] || "eval", t[3] = e[1], t[4] = e[2], t[5] = "");
|
|
2258
2263
|
}
|
|
2259
2264
|
let e = t[3], n = t[1] || "?";
|
|
2260
|
-
return [n, e] =
|
|
2265
|
+
return [n, e] = ha(n, e), oa(e, n, t[4] ? +t[4] : void 0, t[5] ? +t[5] : void 0);
|
|
2261
2266
|
}
|
|
2262
|
-
}]),
|
|
2267
|
+
}]), ha = (e, t) => {
|
|
2263
2268
|
let n = e.indexOf("safari-extension") !== -1, r = e.indexOf("safari-web-extension") !== -1;
|
|
2264
2269
|
return n || r ? [e.indexOf("@") === -1 ? "?" : e.split("@")[0], n ? `safari-extension:${t}` : `safari-web-extension:${t}`] : [e, t];
|
|
2265
|
-
},
|
|
2270
|
+
}, ga = 1024, _a = "Breadcrumbs", va = G(((e = {}) => {
|
|
2266
2271
|
let t = {
|
|
2267
2272
|
console: !0,
|
|
2268
2273
|
dom: !0,
|
|
@@ -2275,31 +2280,31 @@ var ca = /^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i, la = /^\s*at (?:(.+?\)(?: \[.
|
|
|
2275
2280
|
return {
|
|
2276
2281
|
name: _a,
|
|
2277
2282
|
setup(e) {
|
|
2278
|
-
t.console &&
|
|
2283
|
+
t.console && Fr(xa(e)), t.dom && zi(ba(e, t.dom)), t.xhr && Qi(Sa(e)), t.fetch && $r(Ca(e)), t.history && Ki(wa(e)), t.sentry && e.on("beforeSendEvent", ya(e));
|
|
2279
2284
|
}
|
|
2280
2285
|
};
|
|
2281
2286
|
}));
|
|
2282
2287
|
function ya(e) {
|
|
2283
2288
|
return function(t) {
|
|
2284
|
-
|
|
2289
|
+
k() === e && K({
|
|
2285
2290
|
category: `sentry.${t.type === "transaction" ? "transaction" : "event"}`,
|
|
2286
2291
|
event_id: t.event_id,
|
|
2287
2292
|
level: t.level,
|
|
2288
|
-
message:
|
|
2293
|
+
message: D(t)
|
|
2289
2294
|
}, { event: t });
|
|
2290
2295
|
};
|
|
2291
2296
|
}
|
|
2292
2297
|
function ba(e, t) {
|
|
2293
2298
|
return function(n) {
|
|
2294
|
-
if (
|
|
2299
|
+
if (k() !== e) return;
|
|
2295
2300
|
let r, i, a = typeof t == "object" ? t.serializeAttribute : void 0, o = typeof t == "object" && typeof t.maxStringLength == "number" ? t.maxStringLength : void 0;
|
|
2296
|
-
o && o >
|
|
2301
|
+
o && o > ga && (Q && F.warn(`\`dom.maxStringLength\` cannot exceed ${ga}, but a value of ${o} was configured. Sentry will use ${ga} instead.`), o = ga), typeof a == "string" && (a = [a]);
|
|
2297
2302
|
try {
|
|
2298
2303
|
let e = n.event, t = Ta(e) ? e.target : e;
|
|
2299
|
-
r =
|
|
2304
|
+
r = Ni(t, {
|
|
2300
2305
|
keyAttrs: a,
|
|
2301
2306
|
maxStringLength: o
|
|
2302
|
-
}), i =
|
|
2307
|
+
}), i = si(t);
|
|
2303
2308
|
} catch {
|
|
2304
2309
|
r = "<unknown>";
|
|
2305
2310
|
}
|
|
@@ -2308,7 +2313,7 @@ function ba(e, t) {
|
|
|
2308
2313
|
category: `ui.${n.name}`,
|
|
2309
2314
|
message: r
|
|
2310
2315
|
};
|
|
2311
|
-
i && (s.data = { "ui.component_name": i }),
|
|
2316
|
+
i && (s.data = { "ui.component_name": i }), K(s, {
|
|
2312
2317
|
event: n.event,
|
|
2313
2318
|
name: n.name,
|
|
2314
2319
|
global: n.global
|
|
@@ -2317,19 +2322,19 @@ function ba(e, t) {
|
|
|
2317
2322
|
}
|
|
2318
2323
|
function xa(e) {
|
|
2319
2324
|
return function(t) {
|
|
2320
|
-
if (
|
|
2325
|
+
if (k() !== e) return;
|
|
2321
2326
|
let n = {
|
|
2322
2327
|
category: "console",
|
|
2323
2328
|
data: {
|
|
2324
2329
|
arguments: t.args,
|
|
2325
2330
|
logger: "console"
|
|
2326
2331
|
},
|
|
2327
|
-
level:
|
|
2328
|
-
message:
|
|
2332
|
+
level: Lr(t.level),
|
|
2333
|
+
message: ie(t.args, " ")
|
|
2329
2334
|
};
|
|
2330
|
-
if (t.level === "assert") if (t.args[0] === !1) n.message = `Assertion failed: ${
|
|
2335
|
+
if (t.level === "assert") if (t.args[0] === !1) n.message = `Assertion failed: ${ie(t.args.slice(1), " ") || "console.assert"}`, n.data.arguments = t.args.slice(1);
|
|
2331
2336
|
else return;
|
|
2332
|
-
|
|
2337
|
+
K(n, {
|
|
2333
2338
|
input: t.args,
|
|
2334
2339
|
level: t.level
|
|
2335
2340
|
});
|
|
@@ -2337,8 +2342,8 @@ function xa(e) {
|
|
|
2337
2342
|
}
|
|
2338
2343
|
function Sa(e) {
|
|
2339
2344
|
return function(t) {
|
|
2340
|
-
if (
|
|
2341
|
-
let { startTimestamp: n, endTimestamp: r } = t, i = t.xhr[
|
|
2345
|
+
if (k() !== e) return;
|
|
2346
|
+
let { startTimestamp: n, endTimestamp: r } = t, i = t.xhr[Z];
|
|
2342
2347
|
if (!n || !r || !i) return;
|
|
2343
2348
|
let { method: a, url: o, status_code: s, body: c } = i, l = {
|
|
2344
2349
|
method: a,
|
|
@@ -2353,14 +2358,14 @@ function Sa(e) {
|
|
|
2353
2358
|
category: "xhr",
|
|
2354
2359
|
data: l,
|
|
2355
2360
|
type: "http",
|
|
2356
|
-
level:
|
|
2361
|
+
level: Jr(s)
|
|
2357
2362
|
};
|
|
2358
|
-
e.emit("beforeOutgoingRequestBreadcrumb", d, u),
|
|
2363
|
+
e.emit("beforeOutgoingRequestBreadcrumb", d, u), K(d, u);
|
|
2359
2364
|
};
|
|
2360
2365
|
}
|
|
2361
2366
|
function Ca(e) {
|
|
2362
2367
|
return function(t) {
|
|
2363
|
-
if (
|
|
2368
|
+
if (k() !== e) return;
|
|
2364
2369
|
let { startTimestamp: n, endTimestamp: r } = t;
|
|
2365
2370
|
if (r && !(t.fetchData.url.match(/sentry_key/) && t.fetchData.method === "POST")) if (t.error) {
|
|
2366
2371
|
let i = {
|
|
@@ -2374,7 +2379,7 @@ function Ca(e) {
|
|
|
2374
2379
|
level: "error",
|
|
2375
2380
|
type: "http"
|
|
2376
2381
|
};
|
|
2377
|
-
e.emit("beforeOutgoingRequestBreadcrumb", a, i),
|
|
2382
|
+
e.emit("beforeOutgoingRequestBreadcrumb", a, i), K(a, i);
|
|
2378
2383
|
} else {
|
|
2379
2384
|
let i = t.response, a = {
|
|
2380
2385
|
...t.fetchData,
|
|
@@ -2388,17 +2393,17 @@ function Ca(e) {
|
|
|
2388
2393
|
category: "fetch",
|
|
2389
2394
|
data: a,
|
|
2390
2395
|
type: "http",
|
|
2391
|
-
level:
|
|
2396
|
+
level: Jr(a.status_code)
|
|
2392
2397
|
};
|
|
2393
|
-
e.emit("beforeOutgoingRequestBreadcrumb", s, o),
|
|
2398
|
+
e.emit("beforeOutgoingRequestBreadcrumb", s, o), K(s, o);
|
|
2394
2399
|
}
|
|
2395
2400
|
};
|
|
2396
2401
|
}
|
|
2397
2402
|
function wa(e) {
|
|
2398
2403
|
return function(t) {
|
|
2399
|
-
if (
|
|
2400
|
-
let n = t.from, r = t.to, i =
|
|
2401
|
-
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),
|
|
2404
|
+
if (k() !== e) return;
|
|
2405
|
+
let n = t.from, r = t.to, i = Vt(J.location.href), a = n ? Vt(n) : void 0, o = Vt(r);
|
|
2406
|
+
a != null && a.path || (a = i), i.protocol === o.protocol && i.host === o.host && (r = o.relative), i.protocol === a.protocol && i.host === a.host && (n = a.relative), K({
|
|
2402
2407
|
category: "navigation",
|
|
2403
2408
|
data: {
|
|
2404
2409
|
from: n,
|
|
@@ -2411,8 +2416,8 @@ function Ta(e) {
|
|
|
2411
2416
|
return !!e && !!e.target;
|
|
2412
2417
|
}
|
|
2413
2418
|
//#endregion
|
|
2414
|
-
//#region ../../node_modules/.pnpm/@sentry+browser@10.
|
|
2415
|
-
var Ea = "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(","), Da = "BrowserApiErrors", Oa =
|
|
2419
|
+
//#region ../../node_modules/.pnpm/@sentry+browser@10.57.0/node_modules/@sentry/browser/build/npm/esm/prod/integrations/browserapierrors.js
|
|
2420
|
+
var Ea = "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(","), Da = "BrowserApiErrors", Oa = G(((e = {}) => {
|
|
2416
2421
|
let t = {
|
|
2417
2422
|
XMLHttpRequest: !0,
|
|
2418
2423
|
eventTarget: !0,
|
|
@@ -2425,7 +2430,7 @@ var Ea = "EventTarget,Window,Node,ApplicationCache,AudioTrackList,BroadcastChann
|
|
|
2425
2430
|
return {
|
|
2426
2431
|
name: Da,
|
|
2427
2432
|
setupOnce() {
|
|
2428
|
-
t.setTimeout &&
|
|
2433
|
+
t.setTimeout && E(J, "setTimeout", ka), t.setInterval && E(J, "setInterval", ka), t.requestAnimationFrame && E(J, "requestAnimationFrame", Aa), t.XMLHttpRequest && "XMLHttpRequest" in J && E(XMLHttpRequest.prototype, "send", ja);
|
|
2429
2434
|
let e = t.eventTarget;
|
|
2430
2435
|
e && (Array.isArray(e) ? e : Ea).forEach((e) => Ma(e, t));
|
|
2431
2436
|
}
|
|
@@ -2434,16 +2439,16 @@ var Ea = "EventTarget,Window,Node,ApplicationCache,AudioTrackList,BroadcastChann
|
|
|
2434
2439
|
function ka(e) {
|
|
2435
2440
|
return function(...t) {
|
|
2436
2441
|
let n = t[0];
|
|
2437
|
-
return t[0] =
|
|
2442
|
+
return t[0] = Y(n, { mechanism: {
|
|
2438
2443
|
handled: !1,
|
|
2439
|
-
type: `auto.browser.browserapierrors.${
|
|
2444
|
+
type: `auto.browser.browserapierrors.${P(e)}`
|
|
2440
2445
|
} }), e.apply(this, t);
|
|
2441
2446
|
};
|
|
2442
2447
|
}
|
|
2443
2448
|
function Aa(e) {
|
|
2444
2449
|
return function(t) {
|
|
2445
|
-
return e.apply(this, [
|
|
2446
|
-
data: { handler:
|
|
2450
|
+
return e.apply(this, [Y(t, { mechanism: {
|
|
2451
|
+
data: { handler: P(e) },
|
|
2447
2452
|
handled: !1,
|
|
2448
2453
|
type: "auto.browser.browserapierrors.requestAnimationFrame"
|
|
2449
2454
|
} })]);
|
|
@@ -2458,26 +2463,26 @@ function ja(e) {
|
|
|
2458
2463
|
"onprogress",
|
|
2459
2464
|
"onreadystatechange"
|
|
2460
2465
|
].forEach((e) => {
|
|
2461
|
-
e in n && typeof n[e] == "function" &&
|
|
2466
|
+
e in n && typeof n[e] == "function" && E(n, e, function(t) {
|
|
2462
2467
|
let n = { mechanism: {
|
|
2463
|
-
data: { handler:
|
|
2468
|
+
data: { handler: P(t) },
|
|
2464
2469
|
handled: !1,
|
|
2465
2470
|
type: `auto.browser.browserapierrors.xhr.${e}`
|
|
2466
|
-
} }, r =
|
|
2467
|
-
return r && (n.mechanism.data.handler =
|
|
2471
|
+
} }, r = ze(t);
|
|
2472
|
+
return r && (n.mechanism.data.handler = P(r)), Y(t, n);
|
|
2468
2473
|
});
|
|
2469
2474
|
}), e.apply(this, t);
|
|
2470
2475
|
};
|
|
2471
2476
|
}
|
|
2472
2477
|
function Ma(e, t) {
|
|
2473
2478
|
var n, r;
|
|
2474
|
-
let i = (n =
|
|
2475
|
-
!(i == null || (r = i.hasOwnProperty) == null) && r.call(i, "addEventListener") && (
|
|
2479
|
+
let i = (n = J[e]) == null ? void 0 : n.prototype;
|
|
2480
|
+
!(i == null || (r = i.hasOwnProperty) == null) && r.call(i, "addEventListener") && (E(i, "addEventListener", function(n) {
|
|
2476
2481
|
return function(r, i, a) {
|
|
2477
2482
|
try {
|
|
2478
|
-
Na(i) && (i.handleEvent =
|
|
2483
|
+
Na(i) && (i.handleEvent = Y(i.handleEvent, { mechanism: {
|
|
2479
2484
|
data: {
|
|
2480
|
-
handler:
|
|
2485
|
+
handler: P(i),
|
|
2481
2486
|
target: e
|
|
2482
2487
|
},
|
|
2483
2488
|
handled: !1,
|
|
@@ -2486,9 +2491,9 @@ function Ma(e, t) {
|
|
|
2486
2491
|
} catch {}
|
|
2487
2492
|
return t.unregisterOriginalCallbacks && Pa(this, r, i), n.apply(this, [
|
|
2488
2493
|
r,
|
|
2489
|
-
|
|
2494
|
+
Y(i, { mechanism: {
|
|
2490
2495
|
data: {
|
|
2491
|
-
handler:
|
|
2496
|
+
handler: P(i),
|
|
2492
2497
|
target: e
|
|
2493
2498
|
},
|
|
2494
2499
|
handled: !1,
|
|
@@ -2497,7 +2502,7 @@ function Ma(e, t) {
|
|
|
2497
2502
|
a
|
|
2498
2503
|
]);
|
|
2499
2504
|
};
|
|
2500
|
-
}),
|
|
2505
|
+
}), E(i, "removeEventListener", function(e) {
|
|
2501
2506
|
return function(t, n, r) {
|
|
2502
2507
|
try {
|
|
2503
2508
|
let i = n.__sentry_wrapped__;
|
|
@@ -2514,28 +2519,28 @@ function Pa(e, t, n) {
|
|
|
2514
2519
|
e && typeof e == "object" && "removeEventListener" in e && typeof e.removeEventListener == "function" && e.removeEventListener(t, n);
|
|
2515
2520
|
}
|
|
2516
2521
|
//#endregion
|
|
2517
|
-
//#region ../../node_modules/.pnpm/@sentry+browser@10.
|
|
2518
|
-
var Fa =
|
|
2522
|
+
//#region ../../node_modules/.pnpm/@sentry+browser@10.57.0/node_modules/@sentry/browser/build/npm/esm/prod/integrations/browsersession.js
|
|
2523
|
+
var Fa = G((e = {}) => {
|
|
2519
2524
|
var t;
|
|
2520
2525
|
let n = (t = e.lifecycle) == null ? "route" : t;
|
|
2521
2526
|
return {
|
|
2522
2527
|
name: "BrowserSession",
|
|
2523
2528
|
setupOnce() {
|
|
2524
|
-
if (
|
|
2525
|
-
|
|
2529
|
+
if (J.document === void 0) {
|
|
2530
|
+
Q && F.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");
|
|
2526
2531
|
return;
|
|
2527
2532
|
}
|
|
2528
|
-
|
|
2529
|
-
let e =
|
|
2533
|
+
ve({ ignoreDuration: !0 }), Be();
|
|
2534
|
+
let e = L(), t = e.getUser();
|
|
2530
2535
|
e.addScopeListener((e) => {
|
|
2531
2536
|
let n = e.getUser();
|
|
2532
|
-
((t == null ? void 0 : t.id) !== (n == null ? void 0 : n.id) || (t == null ? void 0 : t.ip_address) !== (n == null ? void 0 : n.ip_address)) && (
|
|
2533
|
-
}), n === "route" &&
|
|
2534
|
-
e !== t && (
|
|
2537
|
+
((t == null ? void 0 : t.id) !== (n == null ? void 0 : n.id) || (t == null ? void 0 : t.ip_address) !== (n == null ? void 0 : n.ip_address)) && (Be(), t = n);
|
|
2538
|
+
}), n === "route" && Ki(({ from: e, to: t }) => {
|
|
2539
|
+
e !== t && (ve({ ignoreDuration: !0 }), Be());
|
|
2535
2540
|
});
|
|
2536
2541
|
}
|
|
2537
2542
|
};
|
|
2538
|
-
}), Ia = "CultureContext", La =
|
|
2543
|
+
}), Ia = "CultureContext", La = G((() => ({
|
|
2539
2544
|
name: Ia,
|
|
2540
2545
|
preprocessEvent(e) {
|
|
2541
2546
|
let t = Ra();
|
|
@@ -2552,7 +2557,7 @@ var Fa = W((e = {}) => {
|
|
|
2552
2557
|
},
|
|
2553
2558
|
processSegmentSpan(e) {
|
|
2554
2559
|
let t = Ra();
|
|
2555
|
-
t &&
|
|
2560
|
+
t && Ut(e, {
|
|
2556
2561
|
"culture.locale": t.locale,
|
|
2557
2562
|
"culture.timezone": t.timezone,
|
|
2558
2563
|
"culture.calendar": t.calendar
|
|
@@ -2561,7 +2566,7 @@ var Fa = W((e = {}) => {
|
|
|
2561
2566
|
})));
|
|
2562
2567
|
function Ra() {
|
|
2563
2568
|
try {
|
|
2564
|
-
let e =
|
|
2569
|
+
let e = J.Intl;
|
|
2565
2570
|
if (!e) return;
|
|
2566
2571
|
let t = e.DateTimeFormat().resolvedOptions();
|
|
2567
2572
|
return {
|
|
@@ -2574,8 +2579,8 @@ function Ra() {
|
|
|
2574
2579
|
}
|
|
2575
2580
|
}
|
|
2576
2581
|
//#endregion
|
|
2577
|
-
//#region ../../node_modules/.pnpm/@sentry+browser@10.
|
|
2578
|
-
var za = "GlobalHandlers", Ba =
|
|
2582
|
+
//#region ../../node_modules/.pnpm/@sentry+browser@10.57.0/node_modules/@sentry/browser/build/npm/esm/prod/integrations/globalhandlers.js
|
|
2583
|
+
var za = "GlobalHandlers", Ba = G(((e = {}) => {
|
|
2579
2584
|
let t = {
|
|
2580
2585
|
onerror: !0,
|
|
2581
2586
|
onunhandledrejection: !0,
|
|
@@ -2592,10 +2597,10 @@ var za = "GlobalHandlers", Ba = W(((e = {}) => {
|
|
|
2592
2597
|
};
|
|
2593
2598
|
}));
|
|
2594
2599
|
function Va(e) {
|
|
2595
|
-
|
|
2600
|
+
pt((t) => {
|
|
2596
2601
|
let { stackParser: n, attachStacktrace: r } = qa();
|
|
2597
|
-
if (
|
|
2598
|
-
let { msg: i, url: a, line: o, column: s, error: c } = t, l = Ga(
|
|
2602
|
+
if (k() !== e || li()) return;
|
|
2603
|
+
let { msg: i, url: a, line: o, column: s, error: c } = t, l = Ga(wi(n, c || i, void 0, r, !1), a, o, s);
|
|
2599
2604
|
l.level = "error", We(l, {
|
|
2600
2605
|
originalException: c,
|
|
2601
2606
|
mechanism: {
|
|
@@ -2606,10 +2611,10 @@ function Va(e) {
|
|
|
2606
2611
|
});
|
|
2607
2612
|
}
|
|
2608
2613
|
function Ha(e) {
|
|
2609
|
-
|
|
2614
|
+
gt((t) => {
|
|
2610
2615
|
let { stackParser: n, attachStacktrace: r } = qa();
|
|
2611
|
-
if (
|
|
2612
|
-
let i = Ua(t), a =
|
|
2616
|
+
if (k() !== e || li()) return;
|
|
2617
|
+
let i = Ua(t), a = Ve(i) ? Wa(i) : wi(n, i, void 0, r, !0);
|
|
2613
2618
|
a.level = "error", We(a, {
|
|
2614
2619
|
originalException: i,
|
|
2615
2620
|
mechanism: {
|
|
@@ -2620,7 +2625,7 @@ function Ha(e) {
|
|
|
2620
2625
|
});
|
|
2621
2626
|
}
|
|
2622
2627
|
function Ua(e) {
|
|
2623
|
-
if (
|
|
2628
|
+
if (Ve(e)) return e;
|
|
2624
2629
|
try {
|
|
2625
2630
|
if ("reason" in e) return e.reason;
|
|
2626
2631
|
if ("detail" in e && "reason" in e.detail) return e.detail.reason;
|
|
@@ -2640,7 +2645,7 @@ function Ga(e, t, n, r) {
|
|
|
2640
2645
|
c.push({
|
|
2641
2646
|
colno: r,
|
|
2642
2647
|
lineno: n,
|
|
2643
|
-
filename: (l = Ja(t)) == null ?
|
|
2648
|
+
filename: (l = Ja(t)) == null ? oi() : l,
|
|
2644
2649
|
function: "?",
|
|
2645
2650
|
in_app: !0
|
|
2646
2651
|
});
|
|
@@ -2648,26 +2653,26 @@ function Ga(e, t, n, r) {
|
|
|
2648
2653
|
return e;
|
|
2649
2654
|
}
|
|
2650
2655
|
function Ka(e) {
|
|
2651
|
-
|
|
2656
|
+
Q && F.log(`Global Handler attached: ${e}`);
|
|
2652
2657
|
}
|
|
2653
2658
|
function qa() {
|
|
2654
|
-
let e =
|
|
2659
|
+
let e = k();
|
|
2655
2660
|
return (e == null ? void 0 : e.getOptions()) || {
|
|
2656
2661
|
stackParser: () => [],
|
|
2657
2662
|
attachStacktrace: !1
|
|
2658
2663
|
};
|
|
2659
2664
|
}
|
|
2660
2665
|
function Ja(e) {
|
|
2661
|
-
if (!(!
|
|
2666
|
+
if (!(!M(e) || e.length === 0)) return e.startsWith("data:") ? `<${Ht(e, !1)}>` : e;
|
|
2662
2667
|
}
|
|
2663
2668
|
//#endregion
|
|
2664
|
-
//#region ../../node_modules/.pnpm/@sentry+browser@10.
|
|
2665
|
-
var Ya =
|
|
2669
|
+
//#region ../../node_modules/.pnpm/@sentry+browser@10.57.0/node_modules/@sentry/browser/build/npm/esm/prod/integrations/httpcontext.js
|
|
2670
|
+
var Ya = G(() => ({
|
|
2666
2671
|
name: "HttpContext",
|
|
2667
2672
|
preprocessEvent(e) {
|
|
2668
2673
|
var t;
|
|
2669
|
-
if (!
|
|
2670
|
-
let n =
|
|
2674
|
+
if (!J.navigator && !J.location && !J.document) return;
|
|
2675
|
+
let n = di(), r = {
|
|
2671
2676
|
...n.headers,
|
|
2672
2677
|
...(t = e.request) == null ? void 0 : t.headers
|
|
2673
2678
|
};
|
|
@@ -2678,29 +2683,29 @@ var Ya = W(() => ({
|
|
|
2678
2683
|
};
|
|
2679
2684
|
},
|
|
2680
2685
|
processSegmentSpan(e) {
|
|
2681
|
-
if (!
|
|
2682
|
-
let t =
|
|
2683
|
-
|
|
2686
|
+
if (!J.navigator && !J.location && !J.document) return;
|
|
2687
|
+
let t = di();
|
|
2688
|
+
Ut(e, {
|
|
2684
2689
|
"url.full": t.url || void 0,
|
|
2685
2690
|
"http.request.header.user_agent": t.headers["User-Agent"],
|
|
2686
2691
|
"http.request.header.referer": t.headers.Referer
|
|
2687
2692
|
});
|
|
2688
2693
|
}
|
|
2689
|
-
})), Xa = "cause", Za = 5, Qa = "LinkedErrors", $a =
|
|
2694
|
+
})), Xa = "cause", Za = 5, Qa = "LinkedErrors", $a = G(((e = {}) => {
|
|
2690
2695
|
let t = e.limit || Za, n = e.key || Xa;
|
|
2691
2696
|
return {
|
|
2692
2697
|
name: Qa,
|
|
2693
2698
|
preprocessEvent(e, r, i) {
|
|
2694
|
-
|
|
2699
|
+
Dr(fi, i.getOptions().stackParser, n, t, e, r);
|
|
2695
2700
|
}
|
|
2696
2701
|
};
|
|
2697
2702
|
})), eo = /^HTML(\w*)Element$/;
|
|
2698
2703
|
function to(e) {
|
|
2699
2704
|
if (typeof window < "u" && e === window) return "[Window]";
|
|
2700
2705
|
if (typeof document < "u" && e === document) return "[Document]";
|
|
2701
|
-
if (
|
|
2706
|
+
if (ta(e)) {
|
|
2702
2707
|
let t = no(e);
|
|
2703
|
-
if (eo.test(t)) return `[HTMLElement: ${
|
|
2708
|
+
if (eo.test(t)) return `[HTMLElement: ${Ni(e)}]`;
|
|
2704
2709
|
}
|
|
2705
2710
|
}
|
|
2706
2711
|
function no(e) {
|
|
@@ -2708,34 +2713,34 @@ function no(e) {
|
|
|
2708
2713
|
return t != null && t.constructor ? t.constructor.name : "null prototype";
|
|
2709
2714
|
}
|
|
2710
2715
|
//#endregion
|
|
2711
|
-
//#region ../../node_modules/.pnpm/@sentry+browser@10.
|
|
2716
|
+
//#region ../../node_modules/.pnpm/@sentry+browser@10.57.0/node_modules/@sentry/browser/build/npm/esm/prod/utils/detectBrowserExtension.js
|
|
2712
2717
|
function ro() {
|
|
2713
|
-
return io() ? (
|
|
2718
|
+
return io() ? (Q && we(() => {
|
|
2714
2719
|
console.error("[Sentry] You cannot use Sentry.init() in a browser extension, see: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/");
|
|
2715
2720
|
}), !0) : !1;
|
|
2716
2721
|
}
|
|
2717
2722
|
function io() {
|
|
2718
2723
|
var e;
|
|
2719
|
-
if (
|
|
2720
|
-
let t =
|
|
2724
|
+
if (J.window === void 0) return !1;
|
|
2725
|
+
let t = J;
|
|
2721
2726
|
if (t.nw) return !1;
|
|
2722
2727
|
let n = t.chrome || t.browser;
|
|
2723
2728
|
if (!(!(n == null || (e = n.runtime) == null) && e.id)) return !1;
|
|
2724
|
-
let r =
|
|
2725
|
-
return !(
|
|
2729
|
+
let r = oi();
|
|
2730
|
+
return !(J === J.top && /^(?:chrome-extension|moz-extension|ms-browser-extension|safari-web-extension):\/\//.test(r));
|
|
2726
2731
|
}
|
|
2727
2732
|
//#endregion
|
|
2728
|
-
//#region ../../node_modules/.pnpm/@sentry+browser@10.
|
|
2733
|
+
//#region ../../node_modules/.pnpm/@sentry+browser@10.57.0/node_modules/@sentry/browser/build/npm/esm/prod/sdk.js
|
|
2729
2734
|
function ao(e) {
|
|
2730
2735
|
return [
|
|
2731
|
-
|
|
2732
|
-
|
|
2733
|
-
|
|
2736
|
+
_r(),
|
|
2737
|
+
pr(),
|
|
2738
|
+
qr(),
|
|
2734
2739
|
Oa(),
|
|
2735
2740
|
va(),
|
|
2736
2741
|
Ba(),
|
|
2737
2742
|
$a(),
|
|
2738
|
-
|
|
2743
|
+
zr(),
|
|
2739
2744
|
Ya(),
|
|
2740
2745
|
La(),
|
|
2741
2746
|
Fa()
|
|
@@ -2745,34 +2750,34 @@ function oo(e = {}) {
|
|
|
2745
2750
|
let t = !e.skipBrowserExtensionCheck && ro(), n = e.defaultIntegrations == null ? ao() : e.defaultIntegrations, r = {
|
|
2746
2751
|
...e,
|
|
2747
2752
|
enabled: t ? !1 : e.enabled,
|
|
2748
|
-
stackParser: qe(e.stackParser ||
|
|
2749
|
-
integrations:
|
|
2753
|
+
stackParser: qe(e.stackParser || ma),
|
|
2754
|
+
integrations: Zt({
|
|
2750
2755
|
integrations: e.integrations,
|
|
2751
2756
|
defaultIntegrations: n
|
|
2752
2757
|
}),
|
|
2753
|
-
transport: e.transport ||
|
|
2758
|
+
transport: e.transport || ra
|
|
2754
2759
|
};
|
|
2755
|
-
return
|
|
2760
|
+
return de(to), nr(ki, r);
|
|
2756
2761
|
}
|
|
2757
2762
|
//#endregion
|
|
2758
|
-
//#region ../../node_modules/.pnpm/@sentry+react@10.
|
|
2763
|
+
//#region ../../node_modules/.pnpm/@sentry+react@10.57.0_react@19.2.7/node_modules/@sentry/react/build/esm/isSyntheticEvent.js
|
|
2759
2764
|
function so(e) {
|
|
2760
|
-
return
|
|
2765
|
+
return Fe(e) && "nativeEvent" in e && "preventDefault" in e && "stopPropagation" in e;
|
|
2761
2766
|
}
|
|
2762
2767
|
//#endregion
|
|
2763
|
-
//#region ../../node_modules/.pnpm/@sentry+react@10.
|
|
2768
|
+
//#region ../../node_modules/.pnpm/@sentry+react@10.57.0_react@19.2.7/node_modules/@sentry/react/build/esm/sdk.js
|
|
2764
2769
|
function co(e) {
|
|
2765
2770
|
let t = { ...e };
|
|
2766
|
-
|
|
2771
|
+
cr(t, "react"), ge("react", { version: rt.version });
|
|
2767
2772
|
let n = oo(t);
|
|
2768
|
-
return
|
|
2773
|
+
return de(lo), n;
|
|
2769
2774
|
}
|
|
2770
2775
|
function lo(e) {
|
|
2771
2776
|
return so(e) ? "[SyntheticEvent]" : to(e);
|
|
2772
2777
|
}
|
|
2773
2778
|
//#endregion
|
|
2774
2779
|
//#region src/tools/sentry.ts
|
|
2775
|
-
var uo = "production", fo = "3.6.
|
|
2780
|
+
var uo = "production", fo = "3.6.2";
|
|
2776
2781
|
function po() {
|
|
2777
2782
|
let e = "sentry_offline_queue";
|
|
2778
2783
|
return {
|
|
@@ -2821,7 +2826,7 @@ function po() {
|
|
|
2821
2826
|
};
|
|
2822
2827
|
}
|
|
2823
2828
|
function mo(e) {
|
|
2824
|
-
let t =
|
|
2829
|
+
let t = or(ra);
|
|
2825
2830
|
co({
|
|
2826
2831
|
dsn: "https://b2eafc5a038fa2c535099e431de219f2@o4510697102114816.ingest.us.sentry.io/4510697103097856",
|
|
2827
2832
|
release: fo,
|
|
@@ -2853,14 +2858,14 @@ function mo(e) {
|
|
|
2853
2858
|
beforeSend(e) {
|
|
2854
2859
|
return e;
|
|
2855
2860
|
}
|
|
2856
|
-
}), e.eventId &&
|
|
2861
|
+
}), e.eventId && Ie("eventId", e.eventId), Ie("isWebview", e.isWebview), Ie("source", "vite-main"), He({ ip_address: "{{auto}}" }), ho();
|
|
2857
2862
|
}
|
|
2858
2863
|
function ho() {
|
|
2859
2864
|
window.addEventListener("unhandledrejection", (e) => {
|
|
2860
|
-
|
|
2865
|
+
Pe(e.reason, { contexts: { unhandledRejection: { promise: e.promise } } });
|
|
2861
2866
|
});
|
|
2862
2867
|
let e = window.onerror;
|
|
2863
|
-
window.onerror = (t, n, r, i, a) => (a &&
|
|
2868
|
+
window.onerror = (t, n, r, i, a) => (a && Pe(a, { contexts: { windowError: {
|
|
2864
2869
|
message: t,
|
|
2865
2870
|
source: n,
|
|
2866
2871
|
lineno: r,
|
|
@@ -3059,7 +3064,7 @@ var Co = class {
|
|
|
3059
3064
|
}
|
|
3060
3065
|
constructor(e) {
|
|
3061
3066
|
var t;
|
|
3062
|
-
this.options = void 0, this.renderTarget = void 0, this._ready = void 0, this.element = void 0, this.eventId = void 0, this.dataUrl = void 0, this.noOverlay = void 0, this.offHistory = void 0, this.ignoreQuery = void 0, this.allowConsent = void 0, this.onInit = void 0, this.disableRuntimeAlerts = void 0, this.viewerMode = void 0, this.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, this.options = e, this.noOverlay = !!e.noOverlay, this.offHistory = !!e.offHistory, this.ignoreQuery = e.ignoreQuery, this.allowConsent =
|
|
3067
|
+
this.options = void 0, this.renderTarget = void 0, this._ready = void 0, this.element = void 0, this.eventId = void 0, this.dataUrl = void 0, this.noOverlay = void 0, this.offHistory = void 0, this.ignoreQuery = void 0, this.allowConsent = void 0, this.onInit = void 0, this.disableRuntimeAlerts = void 0, this.viewerMode = void 0, this.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, this.options = e, this.noOverlay = !!e.noOverlay, this.offHistory = !!e.offHistory, this.ignoreQuery = e.ignoreQuery, this.allowConsent = ut && !c ? !1 : e.allowConsent, this.onBoothClick = e.onBoothClick, this.onBookmarkClick = e.onBookmarkClick, this.onVisitedClick = e.onVisitedClick, this.onCategoryClick = e.onCategoryClick, this.onDetails = e.onDetails, this.onExhibitorCustomButtonClick = e.onExhibitorCustomButtonClick, this.onGetCoordsClick = e.onGetCoordsClick, this.onMarkerClick = e.onMarkerClick, this.onFpConfigured = e.onFpConfigured, this.onDirection = e.onDirection, this.onInit = e.onInit, this.onCurrentPositionChanged = e.onCurrentPositionChanged, this.onFloorActivated = e.onFloorActivated, this.onLeaveEvent = e.onLeaveEvent, this.viewerMode = !!e.viewerMode, this.disableRuntimeAlerts = (t = e.disableRuntimeAlerts) == null ? !0 : t, this.maplibre = e.maplibre, window.__efpMaplibre = e.maplibre, this._ready = new Promise((e, t) => {
|
|
3063
3068
|
this.resolveReady = e;
|
|
3064
3069
|
});
|
|
3065
3070
|
let a = e.element;
|
|
@@ -3078,13 +3083,13 @@ var Co = class {
|
|
|
3078
3083
|
let e = new URL(window.location.href).searchParams.get("allowConsent");
|
|
3079
3084
|
e && (this.allowConsent = e === "true");
|
|
3080
3085
|
}
|
|
3081
|
-
if (
|
|
3086
|
+
if (ct) {
|
|
3082
3087
|
p = d.attachShadow({ mode: "open" });
|
|
3083
3088
|
let e = p, t = document;
|
|
3084
3089
|
e.createElement = (...e) => t.createElement(...e), e.createElementNS = (...e) => t.createElementNS(...e), e.createTextNode = (...e) => t.createTextNode(...e);
|
|
3085
3090
|
} else p = d;
|
|
3086
3091
|
let m = document.createElement("div");
|
|
3087
|
-
if (m.style.height = "100%", m.style.width = "100%", p.appendChild(m),
|
|
3092
|
+
if (m.style.height = "100%", m.style.width = "100%", p.appendChild(m), ct && Object.defineProperty(m, "ownerDocument", { value: p }), window.__efpShadowDOMStyleParent = ct ? p : void 0, this.renderTarget = m, a.getAttribute("data-data-url")) throw Error("data-xxx attributes are removed, use options instead");
|
|
3088
3093
|
let v = e.legacyDataUrlBase;
|
|
3089
3094
|
window.__dataUrlBase = v, this.dataUrl = v, h.log("Instantiating ExpoFP floorplan", e.element, l);
|
|
3090
3095
|
let y = v + "data.js", b = v + "wf.data.js", x = v + "fp.svg.js", te = [
|
|
@@ -3107,12 +3112,12 @@ var Co = class {
|
|
|
3107
3112
|
for (; window.__fpPending && !window.__fp;) await s(2e3), await f(x + `?v=${++o}`);
|
|
3108
3113
|
let c = window.__data;
|
|
3109
3114
|
if (!c) {
|
|
3110
|
-
let { showEventNotFound: e } = await import("./event-not-found-
|
|
3115
|
+
let { showEventNotFound: e } = await import("./event-not-found-DJwPDXky.js");
|
|
3111
3116
|
e(a);
|
|
3112
3117
|
return;
|
|
3113
3118
|
}
|
|
3114
3119
|
let m = So(c);
|
|
3115
|
-
m && import("./bootIntercom-
|
|
3120
|
+
m && import("./bootIntercom-BATR_yIY.js").then(({ bootIntercom: e }) => e(m)).catch(() => {}), await g();
|
|
3116
3121
|
let v = new URLSearchParams(window.location.search), y, b;
|
|
3117
3122
|
if (c != null && c.trackerUrl) try {
|
|
3118
3123
|
y = new URL(c.trackerUrl), b = y.searchParams.get("expoId");
|
|
@@ -3168,7 +3173,7 @@ var Co = class {
|
|
|
3168
3173
|
rt: e,
|
|
3169
3174
|
expoKey: l
|
|
3170
3175
|
}), n = await fetch(t);
|
|
3171
|
-
n.ok &&
|
|
3176
|
+
n.ok && ot(c, await n.json()), c.isRebooking = n.ok;
|
|
3172
3177
|
} else c.isRebooking = !1;
|
|
3173
3178
|
} catch (e) {
|
|
3174
3179
|
console.error(e);
|
|
@@ -3182,13 +3187,13 @@ var Co = class {
|
|
|
3182
3187
|
u("Inter", _ + "fonts/inter-500.woff2", { weight: 500 }),
|
|
3183
3188
|
u("Inter", _ + "fonts/inter-600.woff2", { weight: 600 }),
|
|
3184
3189
|
u("efp-symbols", _ + "fonts/efp-symbols.woff", { weight: 400 }),
|
|
3185
|
-
|
|
3186
|
-
|
|
3190
|
+
it(c, p),
|
|
3191
|
+
at(C.icons)
|
|
3187
3192
|
];
|
|
3188
3193
|
await Promise.all(ne), C.enableRotation = (e = c == null ? void 0 : c.enableRotation) == null ? !1 : e, C.alwaysShowSidebar = (t = c == null ? void 0 : c.alwaysShowSidebar) == null ? !1 : t, h.log("Data loaded");
|
|
3189
3194
|
let { default: w } = await import(
|
|
3190
3195
|
/* webpackChunkName: "floorplan" */
|
|
3191
|
-
"./floorplan.ready-
|
|
3196
|
+
"./floorplan.ready-BIf3Y3LG.js"
|
|
3192
3197
|
);
|
|
3193
3198
|
for (document.querySelectorAll(".expofp-floorplan-loader").forEach((e) => e.remove()); a.firstChild && a.firstChild !== d;) a.removeChild(a.firstChild);
|
|
3194
3199
|
Object.setPrototypeOf(C, w.prototype).init();
|
|
@@ -3196,4 +3201,4 @@ var Co = class {
|
|
|
3196
3201
|
}
|
|
3197
3202
|
};
|
|
3198
3203
|
//#endregion
|
|
3199
|
-
export {
|
|
3204
|
+
export { $e as a, Jt as i, Q as n, J as r, Co as t };
|