@expofp/floorplan 3.24.3 → 3.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/{Button-p01mffmV.js → Button-_J1eNxua.js} +5 -5
- package/dist/browser/{CookieConsent-BF8pB73I.js → CookieConsent-j0awTNGB.js} +7 -7
- package/dist/browser/{Debug-B5hyechZ.js → Debug-BAPQwOXG.js} +7 -7
- package/dist/browser/{Demo-knBpWccU.js → Demo-B0TxEACn.js} +9 -9
- package/dist/browser/{Free-CMDOPW7B.js → Free-81RG6a4l.js} +9 -9
- package/dist/browser/{GalleryContainer-Ba7QRGqJ.js → GalleryContainer-CVplb5Pc.js} +10 -10
- package/dist/browser/{GpsLoader-DOOP_ASm.js → GpsLoader-oni76hrd.js} +10 -10
- package/dist/browser/{KioskStore-IZgF3XDx.js → KioskStore-Cdb5PpF9.js} +4 -4
- package/dist/browser/{MaplibreAdapter-BfUqF5P9.js → MaplibreAdapter-BfpIMgGx.js} +9 -9
- package/dist/browser/{ModalContainer-MRMe33uV.js → ModalContainer-pEV9ZmkZ.js} +10 -10
- package/dist/browser/{PermissionNotice-DB5Ift9m.js → PermissionNotice-CoXJjFWX.js} +6 -6
- package/dist/browser/{SetKioskMode-Bg4_U0Ov.js → SetKioskMode-BUFIP2qd.js} +8 -8
- package/dist/browser/{ShowKiosk-_EK6VmAV.js → ShowKiosk-BHGX8mhm.js} +10 -10
- package/dist/browser/{ViewerMenuPanel-BostqgVg.js → ViewerMenuPanel-Cr826oJ6.js} +9 -9
- package/dist/browser/{add-debug-secret-listener-ivErN3mk.js → add-debug-secret-listener-C0cY_TFM.js} +1 -1
- package/dist/browser/{adopt-global-settings-B6w6CagP.js → adopt-global-settings-Dq8ryk31.js} +9 -9
- package/dist/browser/{boolean-editor-CUGJZwH-.js → boolean-editor-CRK3sDV3.js} +9 -9
- package/dist/browser/{bootIntercom-D-rZAhCK.js → bootIntercom-CHy1kgnP.js} +2 -2
- package/dist/browser/{booth-by-xy-DzhIUI-Q.js → booth-by-xy-BQVcyNx8.js} +6 -6
- package/dist/browser/bundle.json +65 -65
- package/dist/browser/{classnames-9nzeif8D.js → classnames-_GyL4GDv.js} +2 -2
- package/dist/browser/{client-BsLcgFfO.js → client-B5zwzSQP.js} +4 -4
- package/dist/browser/{components-By6WCr5d.js → components-CBQYRwuC.js} +36 -36
- package/dist/browser/{debug-overlay-D6b9zd48.js → debug-overlay-DiLNtKlz.js} +10 -10
- package/dist/browser/{debug-ui-Da7wcC3i.js → debug-ui-gigsjIuv.js} +6 -6
- package/dist/browser/{dist-E6y2lqRa.js → dist-B0X-IEcM.js} +5 -5
- package/dist/browser/{dist-DhzSPs9e.js → dist-jT3iIwH-.js} +6 -6
- package/dist/browser/{dist-BvZjZCdR.js → dist-yT7nNd5R.js} +3 -3
- package/dist/browser/{efp-debug-init-4LtPCUPY.js → efp-debug-init-B5YMdXnN.js} +3 -3
- package/dist/browser/{enum-editor-BghDWgeO.js → enum-editor-DvCO-CYQ.js} +4 -4
- package/dist/browser/{es5-B1foSeGv.js → es5-BmsIRBXA.js} +2 -2
- package/dist/browser/{event-not-found-CEyhr6Cq.js → event-not-found-fcpAoExJ.js} +1 -1
- package/dist/browser/{exports-BeSO266J.js → exports-CnuKa6hu.js} +1 -1
- package/dist/browser/{favicon-CWf1ojn0.js → favicon-CZw845Nj.js} +1 -1
- package/dist/browser/{fetch-retry.umd-CWgAWfkB.js → fetch-retry.umd-CBMEcoUE.js} +2 -2
- package/dist/browser/{flex-C64hUG-Y.js → flex-DixRjO_F.js} +5 -5
- package/dist/browser/{floorplan.loader-BF29NpFQ.js → floorplan.loader-CsKKZnNp.js} +683 -662
- package/dist/browser/{floorplan.ready-ByvBX6zB.js → floorplan.ready-Bf3GEi21.js} +325 -339
- package/dist/browser/{fuse-B9jyODVz.js → fuse-DFd9yKfL.js} +2 -2
- package/dist/browser/{i18n-CyXUWmbq.js → i18n-BexA6ZBP.js} +5 -5
- package/dist/browser/index.js +16 -16
- package/dist/browser/{index.module-DlRMnP0h.js → index.module-hIW18pWv.js} +4 -4
- package/dist/browser/{integrateKiosk-CqDd_6zK.js → integrateKiosk-CHM4p0lX.js} +4 -4
- package/dist/browser/{is-webview-nZTrftS3.js → is-webview-8nXIDYh1.js} +1 -1
- package/dist/browser/{jsx-runtime-BvehpqN1.js → jsx-runtime-D38XzQ2p.js} +2 -2
- package/dist/browser/{kiosk-record-3zDMdFbA.js → kiosk-record-De-vXYCY.js} +1 -1
- package/dist/browser/{lib-BWguER4h.js → lib-D8TLRwKe.js} +3 -3
- package/dist/browser/{loadImage-DlTxF7hO.js → loadImage-COkvpk1U.js} +4 -4
- package/dist/browser/{logDeviceInfo-DkyoRXga.js → logDeviceInfo-CfoVdcPV.js} +9 -9
- package/dist/browser/{main-CQISrN-R.js → main-DOWrZS6x.js} +1 -1
- package/dist/browser/{mobx-CclSjvoG.js → mobx-CCEGS5Bv.js} +4 -4
- package/dist/browser/{optional-boolean-editor-DQzKDlOi.js → optional-boolean-editor-DNZEf74O.js} +3 -3
- package/dist/browser/{optional-enum-editor-BoXlfU-Z.js → optional-enum-editor-CGnDO1mh.js} +4 -4
- package/dist/browser/{optional-string-editor-D5dIax4i.js → optional-string-editor-C4uY45q3.js} +4 -4
- package/dist/browser/{particles.min-D9wmJdXA.js → particles.min-orMOzlvG.js} +2 -2
- package/dist/browser/{react-6tMZPkhI.js → react-D4oi2zZ_.js} +2 -2
- package/dist/browser/{react-dom-CutFn8wf.js → react-dom-CLXWzmt1.js} +3 -3
- package/dist/browser/{rolldown-runtime-dRo6A-vE.js → rolldown-runtime-C1NynmuH.js} +1 -1
- package/dist/browser/{select-WMTRp4v8.js → select-D6Y0QY_4.js} +10 -10
- package/dist/browser/{settings-DUe5ncnN.js → settings-CI7KY77P.js} +2 -2
- package/dist/browser/{settings-item-COWlJF9-.js → settings-item-CSNxKqBD.js} +6 -6
- package/dist/browser/{store-B0pIa2x7.js → store-CVqBbCq4.js} +11 -11
- package/dist/browser/{string-editor-oB_Qkp2m.js → string-editor-AyKbVKjB.js} +4 -4
- package/dist/browser/{text-field-eEQqOs7Q.js → text-field-DKJXuGm9.js} +5 -5
- package/dist/browser/{theme-BLk06fsq.js → theme-yzBklex5.js} +8 -8
- package/dist/browser/{ui-DCurqY1Z.js → ui-Dq3Q-Rqt.js} +8 -8
- package/dist/browser/{useRenderTarget-BuFH1LJK.js → useRenderTarget-BYqw3tDW.js} +4 -4
- package/dist/esm/floorplan.loader.d.ts +30 -0
- package/dist/esm/floorplan.loader.js +1 -1
- package/dist/esm/floorplan.ready.d.ts +1 -1
- package/dist/esm/floorplan.ready.js +1 -1
- package/dist/esm/load.js +2 -2
- package/dist/esm/types.d.ts +29 -0
- package/package.json +9 -9
|
@@ -1,17 +1,17 @@
|
|
|
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.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.25.0" };
|
|
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] = "cc79d123-55f1-41b9-8ea0-c24627598eac", e._sentryDebugIdIdentifier = "sentry-dbid-cc79d123-55f1-41b9-8ea0-c24627598eac");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./rolldown-runtime-
|
|
10
|
-
import { A as t, D as n, E as r, O as i, i as a, l as o, zt as s } from "./i18n-
|
|
11
|
-
import { t as c } from "./react-
|
|
12
|
-
import { n as l, r as u, t as d } from "./loadImage-
|
|
13
|
-
import { $ as f, A as p, B as m, C as h, D as g, E as _, F as v, G as y, H as b, I as x, J as S, K as C, L as w, M as T, N as ee, O as te, P as ne, Q as re, R as ie, S as ae, T as oe, U as E, V as se, W as ce, X as le, Y as ue, Z as de, _ as D, _t as fe, a as pe, at as me, b as he, bt as O, c as ge, ct as _e, d as ve, dt as k, et as ye, f as be, ft as xe, g as Se, gt as Ce, h as we, ht as A, it as Te, j, k as Ee, l as De, lt as Oe, m as ke, mt as Ae, n as je, nt as Me, o as Ne, ot as Pe, p as Fe, pt as Ie, q as M, r as Le, rt as Re, s as ze, st as N, t as Be, tt as Ve, u as He, ut as Ue, v as We, vt as Ge, w as Ke, x as qe, xt as P, y as Je, yt as Ye, z as F } from "./exports-
|
|
14
|
-
import { t as Xe } from "./is-webview-
|
|
9
|
+
import { r as e } from "./rolldown-runtime-C1NynmuH.js";
|
|
10
|
+
import { A as t, D as n, E as r, O as i, i as a, l as o, zt as s } from "./i18n-BexA6ZBP.js";
|
|
11
|
+
import { t as c } from "./react-D4oi2zZ_.js";
|
|
12
|
+
import { n as l, r as u, t as d } from "./loadImage-COkvpk1U.js";
|
|
13
|
+
import { $ as f, A as p, B as m, C as h, D as g, E as _, F as v, G as y, H as b, I as x, J as S, K as C, L as w, M as T, N as ee, O as te, P as ne, Q as re, R as ie, S as ae, T as oe, U as E, V as se, W as ce, X as le, Y as ue, Z as de, _ as D, _t as fe, a as pe, at as me, b as he, bt as O, c as ge, ct as _e, d as ve, dt as k, et as ye, f as be, ft as xe, g as Se, gt as Ce, h as we, ht as A, it as Te, j, k as Ee, l as De, lt as Oe, m as ke, mt as Ae, n as je, nt as Me, o as Ne, ot as Pe, p as Fe, pt as Ie, q as M, r as Le, rt as Re, s as ze, st as N, t as Be, tt as Ve, u as He, ut as Ue, v as We, vt as Ge, w as Ke, x as qe, xt as P, y as Je, yt as Ye, z as F } from "./exports-CnuKa6hu.js";
|
|
14
|
+
import { t as Xe } from "./is-webview-8nXIDYh1.js";
|
|
15
15
|
//#region ../config/src/lib/apply-intents.ts
|
|
16
16
|
function Ze(e, t) {
|
|
17
17
|
let n = JSON.parse(JSON.stringify(t.args));
|
|
@@ -103,20 +103,33 @@ function at(e) {
|
|
|
103
103
|
return Object.freeze({ mobileLocationProvider: n || null });
|
|
104
104
|
}
|
|
105
105
|
//#endregion
|
|
106
|
+
//#region src/tools/reset.ts
|
|
107
|
+
function ot() {
|
|
108
|
+
I("floorplan"), I("__searchi"), I("__mobxGlobals"), I("__store"), I("__mobxInstanceCount");
|
|
109
|
+
for (let e in window) e !== "__efpStyleElements" && (e.includes("__fp") || e.includes("__efp")) && I(e);
|
|
110
|
+
}
|
|
111
|
+
function I(e) {
|
|
112
|
+
st(e) ? delete window[e] : window[e] = void 0;
|
|
113
|
+
}
|
|
114
|
+
function st(e) {
|
|
115
|
+
let t = Object.getOwnPropertyDescriptor(window, e);
|
|
116
|
+
return t && t.configurable;
|
|
117
|
+
}
|
|
118
|
+
//#endregion
|
|
106
119
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/instrument/handlers.js
|
|
107
|
-
var
|
|
108
|
-
function
|
|
109
|
-
return
|
|
110
|
-
let n =
|
|
120
|
+
var L = {}, ct = {};
|
|
121
|
+
function R(e, t) {
|
|
122
|
+
return L[e] = L[e] || [], L[e].push(t), () => {
|
|
123
|
+
let n = L[e];
|
|
111
124
|
if (n) {
|
|
112
125
|
let e = n.indexOf(t);
|
|
113
126
|
e !== -1 && n.splice(e, 1);
|
|
114
127
|
}
|
|
115
128
|
};
|
|
116
129
|
}
|
|
117
|
-
function
|
|
118
|
-
if (!
|
|
119
|
-
|
|
130
|
+
function z(e, t) {
|
|
131
|
+
if (!ct[e]) {
|
|
132
|
+
ct[e] = !0;
|
|
120
133
|
try {
|
|
121
134
|
t();
|
|
122
135
|
} catch (t) {
|
|
@@ -124,8 +137,8 @@ function R(e, t) {
|
|
|
124
137
|
}
|
|
125
138
|
}
|
|
126
139
|
}
|
|
127
|
-
function
|
|
128
|
-
let n = e &&
|
|
140
|
+
function B(e, t) {
|
|
141
|
+
let n = e && L[e];
|
|
129
142
|
if (n) for (let r of n) try {
|
|
130
143
|
r(t);
|
|
131
144
|
} catch (t) {
|
|
@@ -137,88 +150,88 @@ Error:`, t);
|
|
|
137
150
|
}
|
|
138
151
|
//#endregion
|
|
139
152
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/instrument/globalError.js
|
|
140
|
-
var
|
|
141
|
-
function
|
|
153
|
+
var lt = null;
|
|
154
|
+
function ut(e) {
|
|
142
155
|
let t = "error";
|
|
143
|
-
|
|
156
|
+
R(t, e), z(t, dt);
|
|
144
157
|
}
|
|
145
|
-
function
|
|
146
|
-
|
|
147
|
-
return
|
|
158
|
+
function dt() {
|
|
159
|
+
lt = O.onerror, O.onerror = function(e, t, n, r, i) {
|
|
160
|
+
return B("error", {
|
|
148
161
|
column: r,
|
|
149
162
|
error: i,
|
|
150
163
|
line: n,
|
|
151
164
|
msg: e,
|
|
152
165
|
url: t
|
|
153
|
-
}),
|
|
166
|
+
}), lt ? lt.apply(this, arguments) : !1;
|
|
154
167
|
}, O.onerror.__SENTRY_INSTRUMENTED__ = !0;
|
|
155
168
|
}
|
|
156
169
|
//#endregion
|
|
157
170
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/instrument/globalUnhandledRejection.js
|
|
158
|
-
var
|
|
159
|
-
function
|
|
171
|
+
var ft = null;
|
|
172
|
+
function pt(e) {
|
|
160
173
|
let t = "unhandledrejection";
|
|
161
|
-
|
|
174
|
+
R(t, e), z(t, mt);
|
|
162
175
|
}
|
|
163
|
-
function
|
|
164
|
-
|
|
165
|
-
return
|
|
176
|
+
function mt() {
|
|
177
|
+
ft = O.onunhandledrejection, O.onunhandledrejection = function(e) {
|
|
178
|
+
return B("unhandledrejection", e), !ft || ft.apply(this, arguments);
|
|
166
179
|
}, O.onunhandledrejection.__SENTRY_INSTRUMENTED__ = !0;
|
|
167
180
|
}
|
|
168
181
|
//#endregion
|
|
169
182
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/utils/parseSampleRate.js
|
|
170
|
-
function
|
|
183
|
+
function ht(e) {
|
|
171
184
|
if (typeof e == "boolean") return Number(e);
|
|
172
185
|
let t = typeof e == "string" ? parseFloat(e) : e;
|
|
173
186
|
if (!(typeof t != "number" || isNaN(t) || t < 0 || t > 1)) return t;
|
|
174
187
|
}
|
|
175
188
|
//#endregion
|
|
176
189
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/utils/should-ignore-span.js
|
|
177
|
-
function
|
|
190
|
+
function gt(e) {
|
|
178
191
|
A.log(`Ignoring span ${e.op} - ${e.description} because it matches \`ignoreSpans\`.`);
|
|
179
192
|
}
|
|
180
|
-
function
|
|
193
|
+
function _t(e, t) {
|
|
181
194
|
if (!(t != null && t.length)) return !1;
|
|
182
195
|
for (let n of t) {
|
|
183
|
-
if (
|
|
184
|
-
if (e.description && w(e.description, n)) return P &&
|
|
196
|
+
if (bt(n)) {
|
|
197
|
+
if (e.description && w(e.description, n)) return P && gt(e), !0;
|
|
185
198
|
continue;
|
|
186
199
|
}
|
|
187
200
|
let t = !!n.attributes && Object.keys(n.attributes).length > 0;
|
|
188
201
|
if (!n.name && !n.op && !t) continue;
|
|
189
202
|
let r = !n.name || e.description && w(e.description, n.name), i = !n.op || e.op && w(e.op, n.op), a = !n.attributes || Object.entries(n.attributes).every(([t, n]) => {
|
|
190
203
|
var r;
|
|
191
|
-
return
|
|
204
|
+
return vt((r = e.attributes) == null ? void 0 : r[t], n);
|
|
192
205
|
});
|
|
193
|
-
if (r && i && a) return P &&
|
|
206
|
+
if (r && i && a) return P && gt(e), !0;
|
|
194
207
|
}
|
|
195
208
|
return !1;
|
|
196
209
|
}
|
|
197
|
-
function
|
|
210
|
+
function vt(e, t) {
|
|
198
211
|
return typeof e == "string" && (typeof t == "string" || t instanceof RegExp) ? w(e, t) : Array.isArray(e) && Array.isArray(t) ? e.length === t.length && e.every((e, n) => e === t[n]) : e === t;
|
|
199
212
|
}
|
|
200
|
-
function
|
|
213
|
+
function yt(e, t) {
|
|
201
214
|
let n = t.parent_span_id, r = t.span_id;
|
|
202
215
|
if (n) for (let t of e) t.parent_span_id === r && (t.parent_span_id = n);
|
|
203
216
|
}
|
|
204
|
-
function
|
|
217
|
+
function bt(e) {
|
|
205
218
|
return typeof e == "string" || e instanceof RegExp;
|
|
206
219
|
}
|
|
207
220
|
//#endregion
|
|
208
221
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/tracing/spans/beforeSendSpan.js
|
|
209
|
-
function
|
|
222
|
+
function xt(e) {
|
|
210
223
|
return !!e && typeof e == "function" && "_streamed" in e && !!e._streamed;
|
|
211
224
|
}
|
|
212
225
|
//#endregion
|
|
213
226
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/utils/envelope.js
|
|
214
|
-
function
|
|
227
|
+
function V(e, t = []) {
|
|
215
228
|
return [e, t];
|
|
216
229
|
}
|
|
217
|
-
function
|
|
230
|
+
function St(e, t) {
|
|
218
231
|
let [n, r] = e;
|
|
219
232
|
return [n, [...r, t]];
|
|
220
233
|
}
|
|
221
|
-
function
|
|
234
|
+
function Ct(e, t) {
|
|
222
235
|
let n = e[1];
|
|
223
236
|
for (let e of n) {
|
|
224
237
|
let n = e[0].type;
|
|
@@ -226,17 +239,17 @@ function xt(e, t) {
|
|
|
226
239
|
}
|
|
227
240
|
return !1;
|
|
228
241
|
}
|
|
229
|
-
function
|
|
230
|
-
return
|
|
242
|
+
function wt(e, t) {
|
|
243
|
+
return Ct(e, (e, n) => t.includes(n));
|
|
231
244
|
}
|
|
232
|
-
function
|
|
245
|
+
function Tt(e) {
|
|
233
246
|
let t = Ge(O);
|
|
234
247
|
return t.encodePolyfill ? t.encodePolyfill(e) : new TextEncoder().encode(e);
|
|
235
248
|
}
|
|
236
|
-
function
|
|
249
|
+
function Et(e) {
|
|
237
250
|
let [t, n] = e, r = JSON.stringify(t);
|
|
238
251
|
function i(e) {
|
|
239
|
-
typeof r == "string" ? r = typeof e == "string" ? r + e : [
|
|
252
|
+
typeof r == "string" ? r = typeof e == "string" ? r + e : [Tt(r), e] : r.push(typeof e == "string" ? Tt(e) : e);
|
|
240
253
|
}
|
|
241
254
|
for (let e of n) {
|
|
242
255
|
let [t, n] = e;
|
|
@@ -253,15 +266,15 @@ ${JSON.stringify(t)}
|
|
|
253
266
|
i(e);
|
|
254
267
|
}
|
|
255
268
|
}
|
|
256
|
-
return typeof r == "string" ? r :
|
|
269
|
+
return typeof r == "string" ? r : Dt(r);
|
|
257
270
|
}
|
|
258
|
-
function
|
|
271
|
+
function Dt(e) {
|
|
259
272
|
let t = e.reduce((e, t) => e + t.length, 0), n = new Uint8Array(t), r = 0;
|
|
260
273
|
for (let t of e) n.set(t, r), r += t.length;
|
|
261
274
|
return n;
|
|
262
275
|
}
|
|
263
|
-
function
|
|
264
|
-
let t = typeof e.data == "string" ?
|
|
276
|
+
function Ot(e) {
|
|
277
|
+
let t = typeof e.data == "string" ? Tt(e.data) : e.data;
|
|
265
278
|
return [{
|
|
266
279
|
type: "attachment",
|
|
267
280
|
length: t.length,
|
|
@@ -270,7 +283,7 @@ function Et(e) {
|
|
|
270
283
|
attachment_type: e.attachmentType
|
|
271
284
|
}, t];
|
|
272
285
|
}
|
|
273
|
-
var
|
|
286
|
+
var kt = {
|
|
274
287
|
sessions: "session",
|
|
275
288
|
event: "error",
|
|
276
289
|
client_report: "internal",
|
|
@@ -283,13 +296,13 @@ var Dt = {
|
|
|
283
296
|
log: "log_item",
|
|
284
297
|
trace_metric: "metric"
|
|
285
298
|
};
|
|
286
|
-
function
|
|
287
|
-
return e in
|
|
299
|
+
function At(e) {
|
|
300
|
+
return e in kt;
|
|
288
301
|
}
|
|
289
|
-
function
|
|
290
|
-
return
|
|
302
|
+
function jt(e) {
|
|
303
|
+
return At(e) ? kt[e] : e;
|
|
291
304
|
}
|
|
292
|
-
function
|
|
305
|
+
function Mt(e) {
|
|
293
306
|
if (!(e != null && e.sdk)) return;
|
|
294
307
|
let { name: t, version: n } = e.sdk;
|
|
295
308
|
return {
|
|
@@ -297,7 +310,7 @@ function At(e) {
|
|
|
297
310
|
version: n
|
|
298
311
|
};
|
|
299
312
|
}
|
|
300
|
-
function
|
|
313
|
+
function Nt(e, t, n, r) {
|
|
301
314
|
var i;
|
|
302
315
|
let a = (i = e.sdkProcessingMetadata) == null ? void 0 : i.dynamicSamplingContext;
|
|
303
316
|
return {
|
|
@@ -310,7 +323,7 @@ function jt(e, t, n, r) {
|
|
|
310
323
|
}
|
|
311
324
|
//#endregion
|
|
312
325
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/envelope.js
|
|
313
|
-
function
|
|
326
|
+
function Pt(e, t) {
|
|
314
327
|
var n, r, i, a;
|
|
315
328
|
if (!t) return e;
|
|
316
329
|
let o = e.sdk || {};
|
|
@@ -326,31 +339,31 @@ function Mt(e, t) {
|
|
|
326
339
|
} : void 0
|
|
327
340
|
}, e;
|
|
328
341
|
}
|
|
329
|
-
function
|
|
330
|
-
let i =
|
|
331
|
-
return
|
|
342
|
+
function Ft(e, t, n, r) {
|
|
343
|
+
let i = Mt(n);
|
|
344
|
+
return V({
|
|
332
345
|
sent_at: new Date(E()).toISOString(),
|
|
333
346
|
...i && { sdk: i },
|
|
334
347
|
...!!r && t && { dsn: D(t) }
|
|
335
348
|
}, ["aggregates" in e ? [{ type: "sessions" }, e] : [{ type: "session" }, e.toJSON()]]);
|
|
336
349
|
}
|
|
337
|
-
function
|
|
338
|
-
let i =
|
|
339
|
-
|
|
340
|
-
let o =
|
|
341
|
-
return delete e.sdkProcessingMetadata,
|
|
350
|
+
function It(e, t, n, r) {
|
|
351
|
+
let i = Mt(n), a = e.type && e.type !== "replay_event" ? e.type : "event";
|
|
352
|
+
Pt(e, n == null ? void 0 : n.sdk);
|
|
353
|
+
let o = Nt(e, i, r, t);
|
|
354
|
+
return delete e.sdkProcessingMetadata, V(o, [[{ type: a }, e]]);
|
|
342
355
|
}
|
|
343
356
|
//#endregion
|
|
344
357
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/tracing/spans/hasSpanStreamingEnabled.js
|
|
345
|
-
function
|
|
358
|
+
function Lt(e) {
|
|
346
359
|
return e.getOptions().traceLifecycle === "stream";
|
|
347
360
|
}
|
|
348
361
|
//#endregion
|
|
349
362
|
//#region ../../node_modules/.pnpm/@sentry+conventions@0.16.0/node_modules/@sentry/conventions/dist/attributes.mjs
|
|
350
|
-
var
|
|
363
|
+
var Rt = "url.full";
|
|
351
364
|
//#endregion
|
|
352
365
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/tracing/spans/captureSpan.js
|
|
353
|
-
function
|
|
366
|
+
function zt(e, t) {
|
|
354
367
|
var n;
|
|
355
368
|
let r = (n = e.attributes) == null ? e.attributes = {} : n;
|
|
356
369
|
Object.entries(t).forEach(([e, t]) => {
|
|
@@ -359,27 +372,27 @@ function Lt(e, t) {
|
|
|
359
372
|
}
|
|
360
373
|
//#endregion
|
|
361
374
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/utils/timer.js
|
|
362
|
-
function
|
|
375
|
+
function Bt(e) {
|
|
363
376
|
return typeof e == "object" && typeof e.unref == "function" && e.unref(), e;
|
|
364
377
|
}
|
|
365
|
-
function
|
|
378
|
+
function Vt(e) {
|
|
366
379
|
let t = e.protocol ? `${e.protocol}:` : "", n = e.port ? `:${e.port}` : "";
|
|
367
380
|
return `${t}//${e.host}${n}${e.path ? `/${e.path}` : ""}/api/`;
|
|
368
381
|
}
|
|
369
|
-
function
|
|
370
|
-
return `${
|
|
382
|
+
function Ht(e) {
|
|
383
|
+
return `${Vt(e)}${e.projectId}/envelope/`;
|
|
371
384
|
}
|
|
372
|
-
function
|
|
385
|
+
function Ut(e, t) {
|
|
373
386
|
let n = { sentry_version: "7" };
|
|
374
387
|
return e.publicKey && (n.sentry_key = e.publicKey), t && (n.sentry_client = `${t.name}/${t.version}`), new URLSearchParams(n).toString();
|
|
375
388
|
}
|
|
376
|
-
function
|
|
377
|
-
return t || `${
|
|
389
|
+
function Wt(e, t, n) {
|
|
390
|
+
return t || `${Ht(e)}?${Ut(e, n)}`;
|
|
378
391
|
}
|
|
379
|
-
function
|
|
392
|
+
function Gt(e, t) {
|
|
380
393
|
let n = We(e);
|
|
381
394
|
if (!n) return "";
|
|
382
|
-
let r = `${
|
|
395
|
+
let r = `${Vt(n)}embed/error-page/`, i = `dsn=${D(n)}`;
|
|
383
396
|
for (let e in t) if (e !== "dsn" && e !== "onClose") if (e === "user") {
|
|
384
397
|
let e = t.user;
|
|
385
398
|
if (!e) continue;
|
|
@@ -389,15 +402,15 @@ function Ut(e, t) {
|
|
|
389
402
|
}
|
|
390
403
|
//#endregion
|
|
391
404
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/integration.js
|
|
392
|
-
var
|
|
393
|
-
function
|
|
405
|
+
var Kt = [];
|
|
406
|
+
function qt(e) {
|
|
394
407
|
let t = {};
|
|
395
408
|
return e.forEach((e) => {
|
|
396
409
|
let { name: n } = e, r = t[n];
|
|
397
410
|
r && !r.isDefaultInstance && e.isDefaultInstance || (t[n] = e);
|
|
398
411
|
}), Object.values(t);
|
|
399
412
|
}
|
|
400
|
-
function
|
|
413
|
+
function Jt(e) {
|
|
401
414
|
let t = e.defaultIntegrations || [], n = e.integrations;
|
|
402
415
|
t.forEach((e) => {
|
|
403
416
|
e.isDefaultInstance = !0;
|
|
@@ -408,25 +421,25 @@ function Kt(e) {
|
|
|
408
421
|
let e = n(t);
|
|
409
422
|
r = Array.isArray(e) ? e : [e];
|
|
410
423
|
} else r = t;
|
|
411
|
-
return
|
|
424
|
+
return qt(r);
|
|
412
425
|
}
|
|
413
|
-
function
|
|
426
|
+
function Yt(e, t) {
|
|
414
427
|
let n = {};
|
|
415
428
|
return t.forEach((t) => {
|
|
416
429
|
t != null && t.beforeSetup && t.beforeSetup(e);
|
|
417
430
|
}), t.forEach((t) => {
|
|
418
|
-
t &&
|
|
431
|
+
t && Zt(e, t, n);
|
|
419
432
|
}), n;
|
|
420
433
|
}
|
|
421
|
-
function
|
|
434
|
+
function Xt(e, t) {
|
|
422
435
|
for (let n of t) n != null && n.afterAllSetup && n.afterAllSetup(e);
|
|
423
436
|
}
|
|
424
|
-
function
|
|
437
|
+
function Zt(e, t, n) {
|
|
425
438
|
if (n[t.name]) {
|
|
426
439
|
P && A.log(`Integration skipped because it was already installed: ${t.name}`);
|
|
427
440
|
return;
|
|
428
441
|
}
|
|
429
|
-
if (n[t.name] = t, !
|
|
442
|
+
if (n[t.name] = t, !Kt.includes(t.name) && typeof t.setupOnce == "function" && (t.setupOnce(), Kt.push(t.name)), t.setup && typeof t.setup == "function" && t.setup(e), typeof t.preprocessEvent == "function") {
|
|
430
443
|
let n = t.preprocessEvent.bind(t);
|
|
431
444
|
e.on("preprocessEvent", (t, r) => n(t, r, e));
|
|
432
445
|
}
|
|
@@ -439,34 +452,34 @@ function Yt(e, t, n) {
|
|
|
439
452
|
typeof r == "function" && e.on(n, (n) => r.call(t, n, e));
|
|
440
453
|
}), P && A.log(`Integration installed: ${t.name}`);
|
|
441
454
|
}
|
|
442
|
-
function
|
|
455
|
+
function H(e) {
|
|
443
456
|
return e;
|
|
444
457
|
}
|
|
445
458
|
//#endregion
|
|
446
459
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/utils/env.js
|
|
447
|
-
function
|
|
460
|
+
function Qt() {
|
|
448
461
|
return typeof __SENTRY_BROWSER_BUNDLE__ < "u" && !!__SENTRY_BROWSER_BUNDLE__;
|
|
449
462
|
}
|
|
450
|
-
function
|
|
463
|
+
function $t() {
|
|
451
464
|
return "npm";
|
|
452
465
|
}
|
|
453
466
|
//#endregion
|
|
454
467
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/utils/node.js
|
|
455
|
-
function
|
|
456
|
-
return !
|
|
468
|
+
function en() {
|
|
469
|
+
return !Qt() && Object.prototype.toString.call(typeof process < "u" ? process : 0) === "[object process]";
|
|
457
470
|
}
|
|
458
471
|
//#endregion
|
|
459
472
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/utils/isBrowser.js
|
|
460
|
-
function
|
|
461
|
-
return typeof window < "u" && (!
|
|
473
|
+
function tn() {
|
|
474
|
+
return typeof window < "u" && (!en() || nn());
|
|
462
475
|
}
|
|
463
|
-
function
|
|
476
|
+
function nn() {
|
|
464
477
|
let e = O.process;
|
|
465
478
|
return (e == null ? void 0 : e.type) === "renderer";
|
|
466
479
|
}
|
|
467
480
|
//#endregion
|
|
468
481
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/logs/envelope.js
|
|
469
|
-
function
|
|
482
|
+
function rn(e, t) {
|
|
470
483
|
let n = t ? "auto" : "never";
|
|
471
484
|
return [{
|
|
472
485
|
type: "log",
|
|
@@ -474,38 +487,38 @@ function tn(e, t) {
|
|
|
474
487
|
content_type: "application/vnd.sentry.items.log+json"
|
|
475
488
|
}, {
|
|
476
489
|
version: 2,
|
|
477
|
-
|
|
490
|
+
...tn() && { ingest_settings: {
|
|
478
491
|
infer_ip: n,
|
|
479
492
|
infer_user_agent: n
|
|
480
493
|
} },
|
|
481
494
|
items: e
|
|
482
495
|
}];
|
|
483
496
|
}
|
|
484
|
-
function
|
|
497
|
+
function an(e, t, n, r, i) {
|
|
485
498
|
let a = {};
|
|
486
499
|
return t != null && t.sdk && (a.sdk = {
|
|
487
500
|
name: t.sdk.name,
|
|
488
501
|
version: t.sdk.version
|
|
489
|
-
}), n && r && (a.dsn = D(r)),
|
|
502
|
+
}), n && r && (a.dsn = D(r)), V(a, [rn(e, i)]);
|
|
490
503
|
}
|
|
491
504
|
//#endregion
|
|
492
505
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/logs/internal.js
|
|
493
|
-
function
|
|
506
|
+
function on(e, t) {
|
|
494
507
|
var n;
|
|
495
|
-
let r = (n = t == null ?
|
|
508
|
+
let r = (n = t == null ? sn(e) : t) == null ? [] : n;
|
|
496
509
|
if (r.length === 0) return;
|
|
497
|
-
let i = e.getOptions(), a =
|
|
498
|
-
|
|
510
|
+
let i = e.getOptions(), a = an(r, i._metadata, i.tunnel, e.getDsn(), e.getDataCollectionOptions().userInfo);
|
|
511
|
+
cn().set(e, []), e.emit("flushLogs"), e.sendEnvelope(a);
|
|
499
512
|
}
|
|
500
|
-
function
|
|
501
|
-
return
|
|
513
|
+
function sn(e) {
|
|
514
|
+
return cn().get(e);
|
|
502
515
|
}
|
|
503
|
-
function
|
|
516
|
+
function cn() {
|
|
504
517
|
return fe("clientToLogBufferMap", () => /* @__PURE__ */ new WeakMap());
|
|
505
518
|
}
|
|
506
519
|
//#endregion
|
|
507
520
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/metrics/envelope.js
|
|
508
|
-
function
|
|
521
|
+
function ln(e, t) {
|
|
509
522
|
let n = t ? "auto" : "never";
|
|
510
523
|
return [{
|
|
511
524
|
type: "trace_metric",
|
|
@@ -513,38 +526,38 @@ function sn(e, t) {
|
|
|
513
526
|
content_type: "application/vnd.sentry.items.trace-metric+json"
|
|
514
527
|
}, {
|
|
515
528
|
version: 2,
|
|
516
|
-
|
|
529
|
+
...tn() && { ingest_settings: {
|
|
517
530
|
infer_ip: n,
|
|
518
531
|
infer_user_agent: n
|
|
519
532
|
} },
|
|
520
533
|
items: e
|
|
521
534
|
}];
|
|
522
535
|
}
|
|
523
|
-
function
|
|
536
|
+
function un(e, t, n, r, i) {
|
|
524
537
|
let a = {};
|
|
525
538
|
return t != null && t.sdk && (a.sdk = {
|
|
526
539
|
name: t.sdk.name,
|
|
527
540
|
version: t.sdk.version
|
|
528
|
-
}), n && r && (a.dsn = D(r)),
|
|
541
|
+
}), n && r && (a.dsn = D(r)), V(a, [ln(e, i)]);
|
|
529
542
|
}
|
|
530
543
|
//#endregion
|
|
531
544
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/metrics/internal.js
|
|
532
|
-
function
|
|
545
|
+
function dn(e, t) {
|
|
533
546
|
var n;
|
|
534
|
-
let r = (n = t == null ?
|
|
547
|
+
let r = (n = t == null ? fn(e) : t) == null ? [] : n;
|
|
535
548
|
if (r.length === 0) return;
|
|
536
|
-
let i = e.getOptions(), a =
|
|
537
|
-
|
|
549
|
+
let i = e.getOptions(), a = un(r, i._metadata, i.tunnel, e.getDsn(), e.getDataCollectionOptions().userInfo);
|
|
550
|
+
pn().set(e, []), e.emit("flushMetrics"), e.sendEnvelope(a);
|
|
538
551
|
}
|
|
539
|
-
function
|
|
540
|
-
return
|
|
552
|
+
function fn(e) {
|
|
553
|
+
return pn().get(e);
|
|
541
554
|
}
|
|
542
|
-
function
|
|
555
|
+
function pn() {
|
|
543
556
|
return fe("clientToMetricBufferMap", () => /* @__PURE__ */ new WeakMap());
|
|
544
557
|
}
|
|
545
558
|
//#endregion
|
|
546
559
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/tracing/spans/spanJsonToStreamedSpan.js
|
|
547
|
-
function
|
|
560
|
+
function mn(e) {
|
|
548
561
|
return Se({
|
|
549
562
|
trace_id: e.trace_id,
|
|
550
563
|
span_id: e.span_id,
|
|
@@ -560,13 +573,13 @@ function fn(e) {
|
|
|
560
573
|
}
|
|
561
574
|
//#endregion
|
|
562
575
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/tracing/spans/extractGenAiSpans.js
|
|
563
|
-
function
|
|
576
|
+
function hn(e, t) {
|
|
564
577
|
var n, r;
|
|
565
|
-
if (e.type !== "transaction" || !((n = e.spans) != null && n.length) || !((r = e.sdkProcessingMetadata) != null && r.hasGenAiSpans) || t.getOptions().streamGenAiSpans === !1 ||
|
|
578
|
+
if (e.type !== "transaction" || !((n = e.spans) != null && n.length) || !((r = e.sdkProcessingMetadata) != null && r.hasGenAiSpans) || t.getOptions().streamGenAiSpans === !1 || Lt(t)) return;
|
|
566
579
|
let i = [], a = [];
|
|
567
580
|
for (let t of e.spans) {
|
|
568
581
|
var o;
|
|
569
|
-
(o = t.op) != null && o.startsWith("gen_ai.") ? i.push(
|
|
582
|
+
(o = t.op) != null && o.startsWith("gen_ai.") ? i.push(mn(t)) : a.push(t);
|
|
570
583
|
}
|
|
571
584
|
if (i.length === 0) return;
|
|
572
585
|
e.spans = a;
|
|
@@ -577,7 +590,7 @@ function pn(e, t) {
|
|
|
577
590
|
content_type: "application/vnd.sentry.items.span.v2+json"
|
|
578
591
|
}, {
|
|
579
592
|
version: 2,
|
|
580
|
-
|
|
593
|
+
...tn() && { ingest_settings: {
|
|
581
594
|
infer_ip: s,
|
|
582
595
|
infer_user_agent: s
|
|
583
596
|
} },
|
|
@@ -586,8 +599,8 @@ function pn(e, t) {
|
|
|
586
599
|
}
|
|
587
600
|
//#endregion
|
|
588
601
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/utils/promisebuffer.js
|
|
589
|
-
var
|
|
590
|
-
function
|
|
602
|
+
var gn = /* @__PURE__ */ Symbol.for("SentryBufferFullError");
|
|
603
|
+
function _n(e = 100) {
|
|
591
604
|
let t = /* @__PURE__ */ new Set();
|
|
592
605
|
function n() {
|
|
593
606
|
return t.size < e;
|
|
@@ -596,7 +609,7 @@ function hn(e = 100) {
|
|
|
596
609
|
t.delete(e);
|
|
597
610
|
}
|
|
598
611
|
function i(e) {
|
|
599
|
-
if (!n()) return He(
|
|
612
|
+
if (!n()) return He(gn);
|
|
600
613
|
let i = e();
|
|
601
614
|
return t.add(i), i.then(() => r(i), () => r(i)), i;
|
|
602
615
|
}
|
|
@@ -604,7 +617,7 @@ function hn(e = 100) {
|
|
|
604
617
|
if (!t.size) return ve(!0);
|
|
605
618
|
let n = Promise.allSettled(Array.from(t)).then(() => !0);
|
|
606
619
|
if (!e) return n;
|
|
607
|
-
let r = [n, new Promise((t) =>
|
|
620
|
+
let r = [n, new Promise((t) => Bt(setTimeout(() => t(!1), e)))];
|
|
608
621
|
return Promise.race(r);
|
|
609
622
|
}
|
|
610
623
|
return {
|
|
@@ -617,50 +630,50 @@ function hn(e = 100) {
|
|
|
617
630
|
}
|
|
618
631
|
//#endregion
|
|
619
632
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/utils/ratelimit.js
|
|
620
|
-
var
|
|
621
|
-
function
|
|
633
|
+
var vn = 60 * 1e3;
|
|
634
|
+
function yn(e, t = E()) {
|
|
622
635
|
let n = parseInt(`${e}`, 10);
|
|
623
636
|
if (!isNaN(n)) return n * 1e3;
|
|
624
637
|
let r = Date.parse(`${e}`);
|
|
625
|
-
return isNaN(r) ?
|
|
638
|
+
return isNaN(r) ? vn : r - t;
|
|
626
639
|
}
|
|
627
|
-
function
|
|
640
|
+
function bn(e, t) {
|
|
628
641
|
return e[t] || e.all || 0;
|
|
629
642
|
}
|
|
630
|
-
function
|
|
631
|
-
return
|
|
643
|
+
function xn(e, t, n = E()) {
|
|
644
|
+
return bn(e, t) > n;
|
|
632
645
|
}
|
|
633
|
-
function
|
|
646
|
+
function Sn(e, { statusCode: t, headers: n }, r = E()) {
|
|
634
647
|
let i = { ...e }, a = n == null ? void 0 : n["x-sentry-rate-limits"], o = n == null ? void 0 : n["retry-after"];
|
|
635
648
|
if (a) for (let e of a.trim().split(",")) {
|
|
636
649
|
let [t, n, , , a] = e.split(":", 5), o = parseInt(t, 10), s = (isNaN(o) ? 60 : o) * 1e3;
|
|
637
650
|
if (!n) i.all = r + s;
|
|
638
651
|
else for (let e of n.split(";")) e === "metric_bucket" ? (!a || a.split(";").includes("custom")) && (i[e] = r + s) : i[e] = r + s;
|
|
639
652
|
}
|
|
640
|
-
else o ? i.all = r +
|
|
653
|
+
else o ? i.all = r + yn(o, r) : t === 429 && (i.all = r + 60 * 1e3);
|
|
641
654
|
return i;
|
|
642
655
|
}
|
|
643
|
-
function
|
|
656
|
+
function Cn(e, t, n = _n(e.bufferSize || 64)) {
|
|
644
657
|
let r = {}, i = (e) => n.drain(e);
|
|
645
658
|
function a(i) {
|
|
646
659
|
let a = [];
|
|
647
|
-
if (
|
|
648
|
-
let i =
|
|
649
|
-
|
|
660
|
+
if (Ct(i, (t, n) => {
|
|
661
|
+
let i = jt(n);
|
|
662
|
+
xn(r, i) ? e.recordDroppedEvent("ratelimit_backoff", i) : a.push(t);
|
|
650
663
|
}), a.length === 0) return Promise.resolve({});
|
|
651
|
-
let o =
|
|
652
|
-
if (
|
|
664
|
+
let o = V(i[0], a), s = (t) => {
|
|
665
|
+
if (wt(o, ["client_report"])) {
|
|
653
666
|
P && A.warn(`Dropping client report. Will not send outcomes (reason: ${t}).`);
|
|
654
667
|
return;
|
|
655
668
|
}
|
|
656
|
-
|
|
657
|
-
e.recordDroppedEvent(t,
|
|
669
|
+
Ct(o, (n, r) => {
|
|
670
|
+
e.recordDroppedEvent(t, jt(r));
|
|
658
671
|
});
|
|
659
672
|
};
|
|
660
|
-
return n.add(() => t({ body:
|
|
673
|
+
return n.add(() => t({ body: Et(o) }).then((e) => e.statusCode === 413 ? (P && A.error("Sentry responded with status code 413. Envelope was discarded due to exceeding size limits."), s("send_error"), e) : (P && e.statusCode !== void 0 && (e.statusCode < 200 || e.statusCode >= 300) && A.warn(`Sentry responded with status code ${e.statusCode} to sent event.`), r = Sn(r, e), e), (e) => {
|
|
661
674
|
throw s("network_error"), P && A.error("Encountered error running transport request:", e), e;
|
|
662
675
|
})).then((e) => e, (e) => {
|
|
663
|
-
if (e ===
|
|
676
|
+
if (e === gn) return P && A.error("Skipped sending event because buffer is full."), s("queue_overflow"), Promise.resolve({});
|
|
664
677
|
throw e;
|
|
665
678
|
});
|
|
666
679
|
}
|
|
@@ -671,16 +684,16 @@ function xn(e, t, n = hn(e.bufferSize || 64)) {
|
|
|
671
684
|
}
|
|
672
685
|
//#endregion
|
|
673
686
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/utils/clientreport.js
|
|
674
|
-
function
|
|
687
|
+
function wn(e, t, n) {
|
|
675
688
|
let r = [{ type: "client_report" }, {
|
|
676
689
|
timestamp: n || p(),
|
|
677
690
|
discarded_events: e
|
|
678
691
|
}];
|
|
679
|
-
return
|
|
692
|
+
return V(t ? { dsn: t } : {}, [r]);
|
|
680
693
|
}
|
|
681
694
|
//#endregion
|
|
682
695
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/utils/eventUtils.js
|
|
683
|
-
function
|
|
696
|
+
function Tn(e) {
|
|
684
697
|
let t = [];
|
|
685
698
|
e.message && t.push(e.message);
|
|
686
699
|
try {
|
|
@@ -691,7 +704,7 @@ function Cn(e) {
|
|
|
691
704
|
}
|
|
692
705
|
//#endregion
|
|
693
706
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/utils/transactionEvent.js
|
|
694
|
-
function
|
|
707
|
+
function En(e) {
|
|
695
708
|
var t, n, r;
|
|
696
709
|
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;
|
|
697
710
|
return {
|
|
@@ -711,7 +724,7 @@ function wn(e) {
|
|
|
711
724
|
is_segment: !0
|
|
712
725
|
};
|
|
713
726
|
}
|
|
714
|
-
function
|
|
727
|
+
function Dn(e) {
|
|
715
728
|
return {
|
|
716
729
|
type: "transaction",
|
|
717
730
|
timestamp: e.timestamp,
|
|
@@ -735,7 +748,7 @@ function Tn(e) {
|
|
|
735
748
|
}
|
|
736
749
|
//#endregion
|
|
737
750
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/utils/data-collection/filtering-snippets.js
|
|
738
|
-
var
|
|
751
|
+
var On = [
|
|
739
752
|
"forwarded",
|
|
740
753
|
"-ip",
|
|
741
754
|
"remote-",
|
|
@@ -744,7 +757,7 @@ var En = [
|
|
|
744
757
|
];
|
|
745
758
|
//#endregion
|
|
746
759
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/utils/data-collection/defaultPiiToCollectionOptions.js
|
|
747
|
-
function
|
|
760
|
+
function kn(e) {
|
|
748
761
|
return e === !0 ? {
|
|
749
762
|
userInfo: !0,
|
|
750
763
|
cookies: !0,
|
|
@@ -772,13 +785,13 @@ function Dn(e) {
|
|
|
772
785
|
frameContextLines: 7
|
|
773
786
|
} : {
|
|
774
787
|
userInfo: !1,
|
|
775
|
-
cookies: { deny:
|
|
788
|
+
cookies: { deny: On },
|
|
776
789
|
httpHeaders: {
|
|
777
|
-
request: { deny:
|
|
778
|
-
response: { deny:
|
|
790
|
+
request: { deny: On },
|
|
791
|
+
response: { deny: On }
|
|
779
792
|
},
|
|
780
793
|
httpBodies: [],
|
|
781
|
-
urlQueryParams: { deny:
|
|
794
|
+
urlQueryParams: { deny: On },
|
|
782
795
|
graphQL: {
|
|
783
796
|
document: !0,
|
|
784
797
|
variables: !0
|
|
@@ -794,7 +807,7 @@ function Dn(e) {
|
|
|
794
807
|
}
|
|
795
808
|
//#endregion
|
|
796
809
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/utils/data-collection/resolveDataCollectionOptions.js
|
|
797
|
-
var
|
|
810
|
+
var An = {
|
|
798
811
|
userInfo: !0,
|
|
799
812
|
cookies: !0,
|
|
800
813
|
httpHeaders: {
|
|
@@ -820,9 +833,9 @@ var On = {
|
|
|
820
833
|
stackFrameVariables: !0,
|
|
821
834
|
frameContextLines: 5
|
|
822
835
|
};
|
|
823
|
-
function
|
|
836
|
+
function jn(e) {
|
|
824
837
|
var t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _, v, y, b, x;
|
|
825
|
-
let S = e.dataCollection == null ?
|
|
838
|
+
let S = e.dataCollection == null ? kn(e.sendDefaultPii) : An, C = (t = e.dataCollection) == null ? {} : t;
|
|
826
839
|
return {
|
|
827
840
|
userInfo: (n = C.userInfo) == null ? S.userInfo : n,
|
|
828
841
|
cookies: (r = C.cookies) == null ? S.cookies : r,
|
|
@@ -847,26 +860,26 @@ function kn(e) {
|
|
|
847
860
|
}
|
|
848
861
|
//#endregion
|
|
849
862
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/client.js
|
|
850
|
-
var
|
|
851
|
-
function
|
|
863
|
+
var Mn = "Not capturing exception because it's already been captured.", Nn = "Discarded session because of missing or non-string release", Pn = /* @__PURE__ */ Symbol.for("SentryInternalError"), Fn = /* @__PURE__ */ Symbol.for("SentryDoNotSendEventError"), In = 5e3;
|
|
864
|
+
function Ln(e) {
|
|
852
865
|
return {
|
|
853
866
|
message: e,
|
|
854
|
-
[
|
|
867
|
+
[Pn]: !0
|
|
855
868
|
};
|
|
856
869
|
}
|
|
857
|
-
function
|
|
870
|
+
function Rn(e) {
|
|
858
871
|
return {
|
|
859
872
|
message: e,
|
|
860
|
-
[
|
|
873
|
+
[Fn]: !0
|
|
861
874
|
};
|
|
862
875
|
}
|
|
863
|
-
function
|
|
864
|
-
return Me(e) &&
|
|
876
|
+
function zn(e) {
|
|
877
|
+
return Me(e) && Pn in e;
|
|
865
878
|
}
|
|
866
|
-
function
|
|
867
|
-
return Me(e) &&
|
|
879
|
+
function Bn(e) {
|
|
880
|
+
return Me(e) && Fn in e;
|
|
868
881
|
}
|
|
869
|
-
function
|
|
882
|
+
function Vn(e, t, n, r, i) {
|
|
870
883
|
let a = 0, o, s = !1;
|
|
871
884
|
e.on(n, () => {
|
|
872
885
|
a = 0, clearTimeout(o), s = !1;
|
|
@@ -874,8 +887,8 @@ function zn(e, t, n, r, i) {
|
|
|
874
887
|
if (a += r(t), a >= 8e5) i(e);
|
|
875
888
|
else if (!s) {
|
|
876
889
|
var n;
|
|
877
|
-
let t = (n = e.getOptions()._flushInterval) == null ?
|
|
878
|
-
t > 0 && (s = !0, o =
|
|
890
|
+
let t = (n = e.getOptions()._flushInterval) == null ? In : n;
|
|
891
|
+
t > 0 && (s = !0, o = Bt(setTimeout(() => {
|
|
879
892
|
i(e);
|
|
880
893
|
}, t)));
|
|
881
894
|
}
|
|
@@ -883,11 +896,11 @@ function zn(e, t, n, r, i) {
|
|
|
883
896
|
i(e);
|
|
884
897
|
});
|
|
885
898
|
}
|
|
886
|
-
var
|
|
899
|
+
var Hn = class {
|
|
887
900
|
constructor(e) {
|
|
888
901
|
var t, n, r, i, a, o, s;
|
|
889
|
-
if (this._options = e, this._integrations = {}, this._numProcessing = 0, this._outcomes = {}, this._hooks = {}, this._eventProcessors = [], this._promiseBuffer =
|
|
890
|
-
let t =
|
|
902
|
+
if (this._options = e, this._integrations = {}, this._numProcessing = 0, this._outcomes = {}, this._hooks = {}, this._eventProcessors = [], this._promiseBuffer = _n((t = (n = e.transportOptions) == null ? void 0 : n.bufferSize) == null ? 64 : t), this._dataCollection = jn(e), e.dsn ? this._dsn = We(e.dsn) : P && A.warn("No DSN provided, client will not send events."), this._dsn) {
|
|
903
|
+
let t = Wt(this._dsn, e.tunnel, e._metadata ? e._metadata.sdk : void 0);
|
|
891
904
|
this._transport = e.transport({
|
|
892
905
|
tunnel: this._options.tunnel,
|
|
893
906
|
recordDroppedEvent: this.recordDroppedEvent.bind(this),
|
|
@@ -895,11 +908,11 @@ var Bn = class {
|
|
|
895
908
|
url: t
|
|
896
909
|
});
|
|
897
910
|
}
|
|
898
|
-
this._options.enableLogs = (r = this._options.enableLogs) == null ? (i = this._options._experiments) == null ? void 0 : i.enableLogs : r, this._options.enableLogs &&
|
|
911
|
+
this._options.enableLogs = (r = this._options.enableLogs) == null ? (i = this._options._experiments) == null ? void 0 : i.enableLogs : r, this._options.enableLogs && Vn(this, "afterCaptureLog", "flushLogs", Yn, on), ((a = (o = this._options.enableMetrics) == null ? (s = this._options._experiments) == null ? void 0 : s.enableMetrics : o) == null || a) && Vn(this, "afterCaptureMetric", "flushMetrics", Jn, dn);
|
|
899
912
|
}
|
|
900
913
|
captureException(e, t, n) {
|
|
901
914
|
let r = x();
|
|
902
|
-
if (ne(e)) return P && A.log(
|
|
915
|
+
if (ne(e)) return P && A.log(Mn), r;
|
|
903
916
|
let i = {
|
|
904
917
|
event_id: r,
|
|
905
918
|
...t
|
|
@@ -915,11 +928,11 @@ var Bn = class {
|
|
|
915
928
|
}
|
|
916
929
|
captureEvent(e, t, n) {
|
|
917
930
|
let r = x();
|
|
918
|
-
if (t != null && t.originalException && ne(t.originalException)) return P && A.log(
|
|
931
|
+
if (t != null && t.originalException && ne(t.originalException)) return P && A.log(Mn), r;
|
|
919
932
|
let i = {
|
|
920
933
|
event_id: r,
|
|
921
934
|
...t
|
|
922
|
-
}, a = e.sdkProcessingMetadata || {}, o = a.capturedSpanScope, s = a.capturedSpanIsolationScope, c =
|
|
935
|
+
}, a = e.sdkProcessingMetadata || {}, o = a.capturedSpanScope, s = a.capturedSpanIsolationScope, c = Un(e.type);
|
|
923
936
|
return this._process(() => this._captureEvent(e, i, o || n, s), c), i.event_id;
|
|
924
937
|
}
|
|
925
938
|
captureSession(e) {
|
|
@@ -967,32 +980,32 @@ var Bn = class {
|
|
|
967
980
|
}
|
|
968
981
|
addIntegration(e) {
|
|
969
982
|
let t = this._integrations[e.name];
|
|
970
|
-
!t && e.beforeSetup && e.beforeSetup(this),
|
|
983
|
+
!t && e.beforeSetup && e.beforeSetup(this), Zt(this, e, this._integrations), t || Xt(this, [e]);
|
|
971
984
|
}
|
|
972
985
|
sendEvent(e, t = {}) {
|
|
973
986
|
this.emit("beforeSendEvent", e, t);
|
|
974
|
-
let n =
|
|
975
|
-
for (let e of t.attachments || []) r =
|
|
976
|
-
n && (r =
|
|
987
|
+
let n = hn(e, this), r = It(e, this._dsn, this._options._metadata, this._options.tunnel);
|
|
988
|
+
for (let e of t.attachments || []) r = St(r, Ot(e));
|
|
989
|
+
n && (r = St(r, n)), this.sendEnvelope(r).then((t) => this.emit("afterSendEvent", e, t));
|
|
977
990
|
}
|
|
978
991
|
sendSession(e) {
|
|
979
992
|
let { release: t, environment: n = Fe } = this._options;
|
|
980
993
|
if ("aggregates" in e) {
|
|
981
994
|
let r = e.attrs || {};
|
|
982
995
|
if (!r.release && !t) {
|
|
983
|
-
P && A.warn(
|
|
996
|
+
P && A.warn(Nn);
|
|
984
997
|
return;
|
|
985
998
|
}
|
|
986
999
|
r.release = r.release || t, r.environment = r.environment || n, e.attrs = r;
|
|
987
1000
|
} else {
|
|
988
1001
|
if (!e.release && !t) {
|
|
989
|
-
P && A.warn(
|
|
1002
|
+
P && A.warn(Nn);
|
|
990
1003
|
return;
|
|
991
1004
|
}
|
|
992
1005
|
e.release = e.release || t, e.environment = e.environment || n;
|
|
993
1006
|
}
|
|
994
1007
|
this.emit("beforeSendSession", e);
|
|
995
|
-
let r =
|
|
1008
|
+
let r = Ft(e, this._dsn, this._options._metadata, this._options.tunnel);
|
|
996
1009
|
this.sendEnvelope(r);
|
|
997
1010
|
}
|
|
998
1011
|
recordDroppedEvent(e, t, n = 1) {
|
|
@@ -1023,7 +1036,7 @@ var Bn = class {
|
|
|
1023
1036
|
dispose() {}
|
|
1024
1037
|
_setupIntegrations() {
|
|
1025
1038
|
let { integrations: e } = this._options;
|
|
1026
|
-
this._integrations =
|
|
1039
|
+
this._integrations = Yt(this, e), Xt(this, e);
|
|
1027
1040
|
}
|
|
1028
1041
|
_updateSessionFromEvent(e, t) {
|
|
1029
1042
|
var n;
|
|
@@ -1072,25 +1085,25 @@ var Bn = class {
|
|
|
1072
1085
|
});
|
|
1073
1086
|
}
|
|
1074
1087
|
_captureEvent(e, t = {}, n = Ke(), r = oe()) {
|
|
1075
|
-
return P &&
|
|
1076
|
-
P && (
|
|
1088
|
+
return P && Kn(e) && A.log(`Captured error event \`${Tn(e)[0] || "<unknown>"}\``), this._processEvent(e, t, n, r).then((e) => e.event_id, (e) => {
|
|
1089
|
+
P && (Bn(e) ? A.log(e.message) : zn(e) ? A.warn(e.message) : A.warn(e));
|
|
1077
1090
|
});
|
|
1078
1091
|
}
|
|
1079
1092
|
_processEvent(e, t, n, r) {
|
|
1080
|
-
let i = this.getOptions(), { sampleRate: a } = i, o =
|
|
1081
|
-
if (s && typeof l == "number" && ce() > l) return this.recordDroppedEvent("sample_rate", "error"), He(
|
|
1082
|
-
let u =
|
|
1093
|
+
let i = this.getOptions(), { sampleRate: a } = i, o = qn(e), s = Kn(e), c = `before send for type \`${e.type || "error"}\``, l = a === void 0 ? void 0 : ht(a);
|
|
1094
|
+
if (s && typeof l == "number" && ce() > l) return this.recordDroppedEvent("sample_rate", "error"), He(Rn(`Discarding event because it's not included in the random sample (sampling rate = ${a})`));
|
|
1095
|
+
let u = Un(e.type);
|
|
1083
1096
|
return this._prepareEvent(e, t, n, r).then((e) => {
|
|
1084
1097
|
var n;
|
|
1085
|
-
if (e === null) throw this.recordDroppedEvent("event_processor", u),
|
|
1086
|
-
return ((n = t.data) == null ? void 0 : n.__sentry__) === !0 ? e :
|
|
1098
|
+
if (e === null) throw this.recordDroppedEvent("event_processor", u), Rn("An event processor returned `null`, will not send event.");
|
|
1099
|
+
return ((n = t.data) == null ? void 0 : n.__sentry__) === !0 ? e : Wn(Gn(this, i, e, t), c);
|
|
1087
1100
|
}).then((i) => {
|
|
1088
1101
|
if (i === null) {
|
|
1089
1102
|
if (this.recordDroppedEvent("before_send", u), o) {
|
|
1090
1103
|
let t = 1 + (e.spans || []).length;
|
|
1091
1104
|
this.recordDroppedEvent("before_send", "span", t);
|
|
1092
1105
|
}
|
|
1093
|
-
throw
|
|
1106
|
+
throw Rn(`${c} returned \`null\`, will not send event.`);
|
|
1094
1107
|
}
|
|
1095
1108
|
let a = n.getSession() || r.getSession();
|
|
1096
1109
|
if (s && a && this._updateSessionFromEvent(a, i), o) {
|
|
@@ -1104,19 +1117,19 @@ var Bn = class {
|
|
|
1104
1117
|
source: "custom"
|
|
1105
1118
|
}), this.sendEvent(i, t), i;
|
|
1106
1119
|
}).then(null, (e) => {
|
|
1107
|
-
throw
|
|
1120
|
+
throw Bn(e) || zn(e) ? e : (this.captureException(e, {
|
|
1108
1121
|
mechanism: {
|
|
1109
1122
|
handled: !1,
|
|
1110
1123
|
type: "internal"
|
|
1111
1124
|
},
|
|
1112
1125
|
data: { __sentry__: !0 },
|
|
1113
1126
|
originalException: e
|
|
1114
|
-
}),
|
|
1127
|
+
}), Ln(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.
|
|
1115
1128
|
Reason: ${e}`));
|
|
1116
1129
|
});
|
|
1117
1130
|
}
|
|
1118
1131
|
_process(e, t) {
|
|
1119
|
-
this._numProcessing++, this._promiseBuffer.add(e).then((e) => (this._numProcessing--, e), (e) => (this._numProcessing--, e ===
|
|
1132
|
+
this._numProcessing++, this._promiseBuffer.add(e).then((e) => (this._numProcessing--, e), (e) => (this._numProcessing--, e === gn && this.recordDroppedEvent("queue_overflow", t), e));
|
|
1120
1133
|
}
|
|
1121
1134
|
_clearOutcomes() {
|
|
1122
1135
|
let e = this._outcomes;
|
|
@@ -1141,48 +1154,48 @@ Reason: ${e}`));
|
|
|
1141
1154
|
return;
|
|
1142
1155
|
}
|
|
1143
1156
|
P && A.log("Sending outcomes:", e);
|
|
1144
|
-
let t =
|
|
1157
|
+
let t = wn(e, this._options.tunnel && D(this._dsn));
|
|
1145
1158
|
this.sendEnvelope(t);
|
|
1146
1159
|
}
|
|
1147
1160
|
};
|
|
1148
|
-
function
|
|
1161
|
+
function Un(e) {
|
|
1149
1162
|
return e === "replay_event" ? "replay" : e || "error";
|
|
1150
1163
|
}
|
|
1151
|
-
function
|
|
1164
|
+
function Wn(e, t) {
|
|
1152
1165
|
let n = `${t} must return \`null\` or a valid event.`;
|
|
1153
1166
|
if (_e(e)) return e.then((e) => {
|
|
1154
|
-
if (!Te(e) && e !== null) throw
|
|
1167
|
+
if (!Te(e) && e !== null) throw Ln(n);
|
|
1155
1168
|
return e;
|
|
1156
1169
|
}, (e) => {
|
|
1157
|
-
throw
|
|
1170
|
+
throw Ln(`${t} rejected with ${e}`);
|
|
1158
1171
|
});
|
|
1159
|
-
if (!Te(e) && e !== null) throw
|
|
1172
|
+
if (!Te(e) && e !== null) throw Ln(n);
|
|
1160
1173
|
return e;
|
|
1161
1174
|
}
|
|
1162
|
-
function
|
|
1163
|
-
let { beforeSend: i, beforeSendTransaction: a, ignoreSpans: o } = t, s = !
|
|
1164
|
-
if (
|
|
1165
|
-
if (
|
|
1175
|
+
function Gn(e, t, n, r) {
|
|
1176
|
+
let { beforeSend: i, beforeSendTransaction: a, ignoreSpans: o } = t, s = !xt(t.beforeSendSpan) && t.beforeSendSpan, c = n;
|
|
1177
|
+
if (Kn(c) && i) return i(c, r);
|
|
1178
|
+
if (qn(c)) {
|
|
1166
1179
|
if (s || o) {
|
|
1167
|
-
let t =
|
|
1168
|
-
if (o != null && o.length &&
|
|
1180
|
+
let t = En(c);
|
|
1181
|
+
if (o != null && o.length && _t({
|
|
1169
1182
|
description: t.description,
|
|
1170
1183
|
op: t.op,
|
|
1171
1184
|
attributes: t.data
|
|
1172
1185
|
}, o)) return null;
|
|
1173
1186
|
if (s) {
|
|
1174
1187
|
let e = s(t);
|
|
1175
|
-
e ? c = te(n,
|
|
1188
|
+
e ? c = te(n, Dn(e)) : ke();
|
|
1176
1189
|
}
|
|
1177
1190
|
if (c.spans) {
|
|
1178
1191
|
let t = [], n = c.spans;
|
|
1179
1192
|
for (let e of n) {
|
|
1180
|
-
if (o != null && o.length &&
|
|
1193
|
+
if (o != null && o.length && _t({
|
|
1181
1194
|
description: e.description,
|
|
1182
1195
|
op: e.op,
|
|
1183
1196
|
attributes: e.data
|
|
1184
1197
|
}, o)) {
|
|
1185
|
-
|
|
1198
|
+
yt(n, e);
|
|
1186
1199
|
continue;
|
|
1187
1200
|
}
|
|
1188
1201
|
if (s) {
|
|
@@ -1207,56 +1220,56 @@ function Un(e, t, n, r) {
|
|
|
1207
1220
|
}
|
|
1208
1221
|
return c;
|
|
1209
1222
|
}
|
|
1210
|
-
function
|
|
1223
|
+
function Kn(e) {
|
|
1211
1224
|
return e.type === void 0;
|
|
1212
1225
|
}
|
|
1213
|
-
function
|
|
1226
|
+
function qn(e) {
|
|
1214
1227
|
return e.type === "transaction";
|
|
1215
1228
|
}
|
|
1216
|
-
function
|
|
1229
|
+
function Jn(e) {
|
|
1217
1230
|
let t = 0;
|
|
1218
|
-
return e.name && (t += e.name.length * 2), t += 8, t +
|
|
1231
|
+
return e.name && (t += e.name.length * 2), t += 8, t + Xn(e.attributes);
|
|
1219
1232
|
}
|
|
1220
|
-
function
|
|
1233
|
+
function Yn(e) {
|
|
1221
1234
|
let t = 0;
|
|
1222
|
-
return e.message && (t += e.message.length * 2), t +
|
|
1235
|
+
return e.message && (t += e.message.length * 2), t + Xn(e.attributes);
|
|
1223
1236
|
}
|
|
1224
|
-
function
|
|
1237
|
+
function Xn(e) {
|
|
1225
1238
|
if (!e) return 0;
|
|
1226
1239
|
let t = 0;
|
|
1227
1240
|
return Object.values(e).forEach((e) => {
|
|
1228
|
-
Array.isArray(e) ? t += e.length *
|
|
1241
|
+
Array.isArray(e) ? t += e.length * Zn(e[0]) : me(e) ? t += Zn(e) : t += 100;
|
|
1229
1242
|
}), t;
|
|
1230
1243
|
}
|
|
1231
|
-
function
|
|
1244
|
+
function Zn(e) {
|
|
1232
1245
|
return typeof e == "string" ? e.length * 2 : typeof e == "number" ? 8 : typeof e == "boolean" ? 4 : 0;
|
|
1233
1246
|
}
|
|
1234
1247
|
//#endregion
|
|
1235
1248
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/sdk.js
|
|
1236
|
-
function
|
|
1249
|
+
function Qn(e, t) {
|
|
1237
1250
|
t.debug === !0 && (P ? A.enable() : Ae(() => {
|
|
1238
1251
|
console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.");
|
|
1239
1252
|
})), Ke().update(t.initialScope);
|
|
1240
1253
|
let n = new e(t);
|
|
1241
|
-
return
|
|
1254
|
+
return $n(n), n.init(), n;
|
|
1242
1255
|
}
|
|
1243
|
-
function
|
|
1256
|
+
function $n(e) {
|
|
1244
1257
|
Ke().setClient(e);
|
|
1245
1258
|
}
|
|
1246
|
-
var
|
|
1247
|
-
function
|
|
1259
|
+
var er = 5e3, tr = 36e5;
|
|
1260
|
+
function nr(e) {
|
|
1248
1261
|
function t(...e) {
|
|
1249
1262
|
P && A.log("[Offline]:", ...e);
|
|
1250
1263
|
}
|
|
1251
1264
|
return (n) => {
|
|
1252
1265
|
let r = e(n);
|
|
1253
1266
|
if (!n.createStore) throw Error("No `createStore` function was provided");
|
|
1254
|
-
let i = n.createStore(n), a =
|
|
1267
|
+
let i = n.createStore(n), a = er, o;
|
|
1255
1268
|
function s(e, t, r) {
|
|
1256
|
-
return
|
|
1269
|
+
return wt(e, ["client_report"]) ? !1 : !n.shouldStore || n.shouldStore(e, t, r);
|
|
1257
1270
|
}
|
|
1258
1271
|
function c(e) {
|
|
1259
|
-
o && clearTimeout(o), o =
|
|
1272
|
+
o && clearTimeout(o), o = Bt(setTimeout(async () => {
|
|
1260
1273
|
o = void 0;
|
|
1261
1274
|
let e = await i.shift();
|
|
1262
1275
|
e && (t("Attempting to send previously queued event"), e[0].sent_at = new Date(E()).toISOString(), u(e, !0).catch((e) => {
|
|
@@ -1265,20 +1278,20 @@ function er(e) {
|
|
|
1265
1278
|
}, e));
|
|
1266
1279
|
}
|
|
1267
1280
|
function l() {
|
|
1268
|
-
o || (c(a), a = Math.min(a * 2,
|
|
1281
|
+
o || (c(a), a = Math.min(a * 2, tr));
|
|
1269
1282
|
}
|
|
1270
1283
|
async function u(e, o = !1) {
|
|
1271
|
-
if (!o &&
|
|
1284
|
+
if (!o && wt(e, ["replay_event", "replay_recording"])) return await i.push(e), c(100), {};
|
|
1272
1285
|
try {
|
|
1273
1286
|
if (n.shouldSend && await n.shouldSend(e) === !1) throw Error("Envelope not sent because `shouldSend` callback returned false");
|
|
1274
1287
|
let t = await r.send(e), i = 100;
|
|
1275
1288
|
if (t) {
|
|
1276
1289
|
var u, d;
|
|
1277
|
-
if ((u = t.headers) != null && u["retry-after"]) i =
|
|
1290
|
+
if ((u = t.headers) != null && u["retry-after"]) i = yn(t.headers["retry-after"]);
|
|
1278
1291
|
else if ((d = t.headers) != null && d["x-sentry-rate-limits"]) i = 6e4;
|
|
1279
1292
|
else if ((t.statusCode || 0) >= 400) return t;
|
|
1280
1293
|
}
|
|
1281
|
-
return c(i), a =
|
|
1294
|
+
return c(i), a = er, t;
|
|
1282
1295
|
} catch (n) {
|
|
1283
1296
|
if (await s(e, n, a)) return o ? await i.unshift(e) : await i.push(e), l(), t("Error sending. Event queued.", n), {};
|
|
1284
1297
|
throw n;
|
|
@@ -1286,13 +1299,13 @@ function er(e) {
|
|
|
1286
1299
|
}
|
|
1287
1300
|
return n.flushAtStartup && l(), {
|
|
1288
1301
|
send: u,
|
|
1289
|
-
flush: (e) => (e === void 0 && (a =
|
|
1302
|
+
flush: (e) => (e === void 0 && (a = er, c(100)), r.flush(e))
|
|
1290
1303
|
};
|
|
1291
1304
|
};
|
|
1292
1305
|
}
|
|
1293
1306
|
//#endregion
|
|
1294
1307
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/utils/url.js
|
|
1295
|
-
function
|
|
1308
|
+
function rr(e) {
|
|
1296
1309
|
if (!e) return {};
|
|
1297
1310
|
let t = e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);
|
|
1298
1311
|
if (!t) return {};
|
|
@@ -1306,7 +1319,7 @@ function tr(e) {
|
|
|
1306
1319
|
relative: t[5] + n + r
|
|
1307
1320
|
};
|
|
1308
1321
|
}
|
|
1309
|
-
function
|
|
1322
|
+
function ir(e, t = !0) {
|
|
1310
1323
|
if (e.startsWith("data:")) {
|
|
1311
1324
|
let n = e.match(/^data:([^;,]+)/), r = n ? n[1] : "text/plain", i = e.includes(";base64,"), a = e.indexOf(","), o = "";
|
|
1312
1325
|
if (t && a !== -1) {
|
|
@@ -1319,7 +1332,7 @@ function nr(e, t = !0) {
|
|
|
1319
1332
|
}
|
|
1320
1333
|
//#endregion
|
|
1321
1334
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/utils/ipAddress.js
|
|
1322
|
-
function
|
|
1335
|
+
function ar(e) {
|
|
1323
1336
|
if ("aggregates" in e) {
|
|
1324
1337
|
var t;
|
|
1325
1338
|
((t = e.attrs) == null ? void 0 : t.ip_address) === void 0 && (e.attrs = {
|
|
@@ -1330,7 +1343,7 @@ function rr(e) {
|
|
|
1330
1343
|
}
|
|
1331
1344
|
//#endregion
|
|
1332
1345
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/utils/sdkMetadata.js
|
|
1333
|
-
function
|
|
1346
|
+
function or(e, t, n = [t], r = "npm") {
|
|
1334
1347
|
let i = (e._metadata = e._metadata || {}).sdk = e._metadata.sdk || {};
|
|
1335
1348
|
i.name || (i.name = `sentry.javascript.${t}`, i.packages = n.map((e) => ({
|
|
1336
1349
|
name: `${r}:@sentry/${e}`,
|
|
@@ -1339,11 +1352,11 @@ function ir(e, t, n = [t], r = "npm") {
|
|
|
1339
1352
|
}
|
|
1340
1353
|
//#endregion
|
|
1341
1354
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/breadcrumbs.js
|
|
1342
|
-
var
|
|
1343
|
-
function
|
|
1355
|
+
var sr = 100;
|
|
1356
|
+
function U(e, t) {
|
|
1344
1357
|
let n = h(), r = oe();
|
|
1345
1358
|
if (!n) return;
|
|
1346
|
-
let { beforeBreadcrumb: i = null, maxBreadcrumbs: a =
|
|
1359
|
+
let { beforeBreadcrumb: i = null, maxBreadcrumbs: a = sr } = n.getOptions();
|
|
1347
1360
|
if (a <= 0) return;
|
|
1348
1361
|
let o = {
|
|
1349
1362
|
timestamp: p(),
|
|
@@ -1353,8 +1366,8 @@ function H(e, t) {
|
|
|
1353
1366
|
}
|
|
1354
1367
|
//#endregion
|
|
1355
1368
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/integrations/functiontostring.js
|
|
1356
|
-
var
|
|
1357
|
-
name:
|
|
1369
|
+
var cr = "FunctionToString", lr = /* @__PURE__ */ new WeakMap(), ur = H((() => ({
|
|
1370
|
+
name: cr,
|
|
1358
1371
|
setupOnce() {
|
|
1359
1372
|
let e = Function.prototype.toString;
|
|
1360
1373
|
try {
|
|
@@ -1362,16 +1375,16 @@ var or = "FunctionToString", sr = /* @__PURE__ */ new WeakMap(), cr = V((() => (
|
|
|
1362
1375
|
var n;
|
|
1363
1376
|
let r = S(this), i;
|
|
1364
1377
|
try {
|
|
1365
|
-
|
|
1378
|
+
lr.has(h()) && r !== void 0 && (i = r);
|
|
1366
1379
|
} catch {}
|
|
1367
1380
|
return e.apply((n = i) == null ? this : n, t);
|
|
1368
1381
|
};
|
|
1369
1382
|
} catch {}
|
|
1370
1383
|
},
|
|
1371
1384
|
setup(e) {
|
|
1372
|
-
|
|
1385
|
+
lr.set(e, !0);
|
|
1373
1386
|
}
|
|
1374
|
-
}))),
|
|
1387
|
+
}))), dr = [
|
|
1375
1388
|
/^Script error\.?$/,
|
|
1376
1389
|
/^Javascript error: Script error\.? on line 0$/,
|
|
1377
1390
|
/^ResizeObserver loop completed with undelivered notifications.$/,
|
|
@@ -1383,127 +1396,127 @@ var or = "FunctionToString", sr = /* @__PURE__ */ new WeakMap(), cr = V((() => (
|
|
|
1383
1396
|
/Can't find variable: _AutofillCallbackHandler/,
|
|
1384
1397
|
/Object Not Found Matching Id:\d+, MethodName:simulateEvent/,
|
|
1385
1398
|
/^Java exception was raised during method invocation$/
|
|
1386
|
-
],
|
|
1399
|
+
], fr = "EventFilters", pr = H((e = {}) => {
|
|
1387
1400
|
let t;
|
|
1388
1401
|
return {
|
|
1389
|
-
name:
|
|
1402
|
+
name: fr,
|
|
1390
1403
|
setup(n) {
|
|
1391
|
-
t =
|
|
1404
|
+
t = hr(e, n.getOptions());
|
|
1392
1405
|
},
|
|
1393
1406
|
processEvent(n, r, i) {
|
|
1394
|
-
return t || (t =
|
|
1407
|
+
return t || (t = hr(e, i.getOptions())), gr(n, t) ? null : n;
|
|
1395
1408
|
}
|
|
1396
1409
|
};
|
|
1397
|
-
}),
|
|
1398
|
-
...
|
|
1410
|
+
}), mr = H(((e = {}) => ({
|
|
1411
|
+
...pr(e),
|
|
1399
1412
|
name: "InboundFilters"
|
|
1400
1413
|
})));
|
|
1401
|
-
function
|
|
1414
|
+
function hr(e = {}, t = {}) {
|
|
1402
1415
|
return {
|
|
1403
1416
|
allowUrls: [...e.allowUrls || [], ...t.allowUrls || []],
|
|
1404
1417
|
denyUrls: [...e.denyUrls || [], ...t.denyUrls || []],
|
|
1405
1418
|
ignoreErrors: [
|
|
1406
1419
|
...e.ignoreErrors || [],
|
|
1407
1420
|
...t.ignoreErrors || [],
|
|
1408
|
-
...e.disableErrorDefaults ? [] :
|
|
1421
|
+
...e.disableErrorDefaults ? [] : dr
|
|
1409
1422
|
],
|
|
1410
1423
|
ignoreTransactions: [...e.ignoreTransactions || [], ...t.ignoreTransactions || []]
|
|
1411
1424
|
};
|
|
1412
1425
|
}
|
|
1413
|
-
function
|
|
1426
|
+
function gr(e, t) {
|
|
1414
1427
|
if (!e.type) {
|
|
1415
|
-
if (
|
|
1428
|
+
if (_r(e, t.ignoreErrors)) return P && A.warn(`Event dropped due to being matched by \`ignoreErrors\` option.
|
|
1416
1429
|
Event: ${v(e)}`), !0;
|
|
1417
|
-
if (
|
|
1430
|
+
if (Cr(e)) return P && A.warn(`Event dropped due to not having an error message, error type or stacktrace.
|
|
1418
1431
|
Event: ${v(e)}`), !0;
|
|
1419
|
-
if (
|
|
1432
|
+
if (yr(e, t.denyUrls)) return P && A.warn(`Event dropped due to being matched by \`denyUrls\` option.
|
|
1420
1433
|
Event: ${v(e)}.
|
|
1421
|
-
Url: ${
|
|
1422
|
-
if (!
|
|
1434
|
+
Url: ${Sr(e)}`), !0;
|
|
1435
|
+
if (!br(e, t.allowUrls)) return P && A.warn(`Event dropped due to not being matched by \`allowUrls\` option.
|
|
1423
1436
|
Event: ${v(e)}.
|
|
1424
|
-
Url: ${
|
|
1425
|
-
} else if (e.type === "transaction" &&
|
|
1437
|
+
Url: ${Sr(e)}`), !0;
|
|
1438
|
+
} else if (e.type === "transaction" && vr(e, t.ignoreTransactions)) return P && A.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.
|
|
1426
1439
|
Event: ${v(e)}`), !0;
|
|
1427
1440
|
return !1;
|
|
1428
1441
|
}
|
|
1429
|
-
function
|
|
1430
|
-
return t != null && t.length ?
|
|
1442
|
+
function _r(e, t) {
|
|
1443
|
+
return t != null && t.length ? Tn(e).some((e) => F(e, t)) : !1;
|
|
1431
1444
|
}
|
|
1432
|
-
function
|
|
1445
|
+
function vr(e, t) {
|
|
1433
1446
|
if (!(t != null && t.length)) return !1;
|
|
1434
1447
|
let n = e.transaction;
|
|
1435
1448
|
return n ? F(n, t) : !1;
|
|
1436
1449
|
}
|
|
1437
|
-
function
|
|
1450
|
+
function yr(e, t) {
|
|
1438
1451
|
if (!(t != null && t.length)) return !1;
|
|
1439
|
-
let n =
|
|
1452
|
+
let n = Sr(e);
|
|
1440
1453
|
return n ? F(n, t) : !1;
|
|
1441
1454
|
}
|
|
1442
|
-
function
|
|
1455
|
+
function br(e, t) {
|
|
1443
1456
|
if (!(t != null && t.length)) return !0;
|
|
1444
|
-
let n =
|
|
1457
|
+
let n = Sr(e);
|
|
1445
1458
|
return !n || F(n, t);
|
|
1446
1459
|
}
|
|
1447
|
-
function
|
|
1460
|
+
function xr(e = []) {
|
|
1448
1461
|
for (let t = e.length - 1; t >= 0; t--) {
|
|
1449
1462
|
let n = e[t];
|
|
1450
1463
|
if (n && n.filename !== "<anonymous>" && n.filename !== "[native code]") return n.filename || null;
|
|
1451
1464
|
}
|
|
1452
1465
|
return null;
|
|
1453
1466
|
}
|
|
1454
|
-
function
|
|
1467
|
+
function Sr(e) {
|
|
1455
1468
|
try {
|
|
1456
1469
|
var t, n, r;
|
|
1457
1470
|
let i = [...(t = (n = e.exception) == null ? void 0 : n.values) == null ? [] : t].reverse().find((e) => {
|
|
1458
1471
|
var t, n;
|
|
1459
1472
|
return ((t = e.mechanism) == null ? void 0 : t.parent_id) === void 0 && ((n = e.stacktrace) == null || (n = n.frames) == null ? void 0 : n.length);
|
|
1460
1473
|
}), a = i == null || (r = i.stacktrace) == null ? void 0 : r.frames;
|
|
1461
|
-
return a ?
|
|
1474
|
+
return a ? xr(a) : null;
|
|
1462
1475
|
} catch {
|
|
1463
1476
|
return P && A.error(`Cannot extract url for event ${v(e)}`), null;
|
|
1464
1477
|
}
|
|
1465
1478
|
}
|
|
1466
|
-
function
|
|
1479
|
+
function Cr(e) {
|
|
1467
1480
|
var t;
|
|
1468
1481
|
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;
|
|
1469
1482
|
}
|
|
1470
1483
|
//#endregion
|
|
1471
1484
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/utils/aggregate-errors.js
|
|
1472
|
-
function
|
|
1485
|
+
function wr(e, t, n, r, i, a) {
|
|
1473
1486
|
var o;
|
|
1474
1487
|
if (!((o = i.exception) != null && o.values) || !a || !Ve(a.originalException, Error)) return;
|
|
1475
1488
|
let s = i.exception.values.length > 0 ? i.exception.values[i.exception.values.length - 1] : void 0;
|
|
1476
|
-
s && (i.exception.values =
|
|
1489
|
+
s && (i.exception.values = Tr(e, t, r, a.originalException, n, i.exception.values, s, 0));
|
|
1477
1490
|
}
|
|
1478
|
-
function
|
|
1491
|
+
function Tr(e, t, n, r, i, a, o, s) {
|
|
1479
1492
|
if (a.length >= n + 1) return a;
|
|
1480
1493
|
let c = [...a];
|
|
1481
1494
|
if (Ve(r[i], Error)) {
|
|
1482
|
-
|
|
1495
|
+
Dr(o, s, r);
|
|
1483
1496
|
let a = e(t, r[i]), l = c.length;
|
|
1484
|
-
|
|
1497
|
+
Or(a, i, l, s), c = Tr(e, t, n, r[i], i, [a, ...c], a, l);
|
|
1485
1498
|
}
|
|
1486
|
-
return
|
|
1499
|
+
return Er(r) && r.errors.forEach((a, l) => {
|
|
1487
1500
|
if (Ve(a, Error)) {
|
|
1488
|
-
|
|
1501
|
+
Dr(o, s, r);
|
|
1489
1502
|
let u = e(t, a), d = c.length;
|
|
1490
|
-
|
|
1503
|
+
Or(u, `errors[${l}]`, d, s), c = Tr(e, t, n, a, i, [u, ...c], u, d);
|
|
1491
1504
|
}
|
|
1492
1505
|
}), c;
|
|
1493
1506
|
}
|
|
1494
|
-
function
|
|
1507
|
+
function Er(e) {
|
|
1495
1508
|
return Array.isArray(e.errors);
|
|
1496
1509
|
}
|
|
1497
|
-
function
|
|
1510
|
+
function Dr(e, t, n) {
|
|
1498
1511
|
e.mechanism = {
|
|
1499
1512
|
handled: !0,
|
|
1500
1513
|
type: "auto.core.linked_errors",
|
|
1501
|
-
...
|
|
1514
|
+
...Er(n) && { is_exception_group: !0 },
|
|
1502
1515
|
...e.mechanism,
|
|
1503
1516
|
exception_id: t
|
|
1504
1517
|
};
|
|
1505
1518
|
}
|
|
1506
|
-
function
|
|
1519
|
+
function Or(e, t, n, r) {
|
|
1507
1520
|
e.mechanism = {
|
|
1508
1521
|
handled: !0,
|
|
1509
1522
|
...e.mechanism,
|
|
@@ -1515,26 +1528,26 @@ function Er(e, t, n, r) {
|
|
|
1515
1528
|
}
|
|
1516
1529
|
//#endregion
|
|
1517
1530
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/utils/eventbuilder.js
|
|
1518
|
-
function
|
|
1531
|
+
function kr(e) {
|
|
1519
1532
|
return re(e) && "__sentry_fetch_url_host__" in e && typeof e.__sentry_fetch_url_host__ == "string";
|
|
1520
1533
|
}
|
|
1521
|
-
function
|
|
1522
|
-
return
|
|
1534
|
+
function Ar(e) {
|
|
1535
|
+
return kr(e) ? `${e.message} (${e.__sentry_fetch_url_host__})` : e.message;
|
|
1523
1536
|
}
|
|
1524
1537
|
//#endregion
|
|
1525
1538
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/instrument/console.js
|
|
1526
|
-
var
|
|
1527
|
-
function
|
|
1528
|
-
let t = "console", n =
|
|
1529
|
-
return
|
|
1539
|
+
var jr = /* @__PURE__ */ new Set([]);
|
|
1540
|
+
function Mr(e) {
|
|
1541
|
+
let t = "console", n = R(t, e);
|
|
1542
|
+
return z(t, Pr), n;
|
|
1530
1543
|
}
|
|
1531
|
-
var
|
|
1532
|
-
function
|
|
1544
|
+
var Nr = /* @__PURE__ */ new Set();
|
|
1545
|
+
function Pr() {
|
|
1533
1546
|
"console" in O && Ie.forEach(function(e) {
|
|
1534
|
-
|
|
1547
|
+
Nr.has(e) || !(e in O.console) || (Nr.add(e), M(O.console, e, function(t) {
|
|
1535
1548
|
return Ce[e] = t, function(...t) {
|
|
1536
|
-
let n = t[0], r = Ce[e], i =
|
|
1537
|
-
i ||
|
|
1549
|
+
let n = t[0], r = Ce[e], i = jr.size && typeof n == "string" && F(n, jr);
|
|
1550
|
+
i || B("console", {
|
|
1538
1551
|
args: t,
|
|
1539
1552
|
level: e
|
|
1540
1553
|
}), (!i || P && A.isEnabled()) && (r == null || r.apply(O.console, t));
|
|
@@ -1544,7 +1557,7 @@ function Mr() {
|
|
|
1544
1557
|
}
|
|
1545
1558
|
//#endregion
|
|
1546
1559
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/utils/severity.js
|
|
1547
|
-
function
|
|
1560
|
+
function Fr(e) {
|
|
1548
1561
|
return e === "warn" ? "warning" : [
|
|
1549
1562
|
"fatal",
|
|
1550
1563
|
"error",
|
|
@@ -1556,31 +1569,31 @@ function Nr(e) {
|
|
|
1556
1569
|
}
|
|
1557
1570
|
//#endregion
|
|
1558
1571
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/integrations/dedupe.js
|
|
1559
|
-
var
|
|
1572
|
+
var Ir = "Dedupe", Lr = H((() => {
|
|
1560
1573
|
let e;
|
|
1561
1574
|
return {
|
|
1562
|
-
name:
|
|
1575
|
+
name: Ir,
|
|
1563
1576
|
processEvent(t) {
|
|
1564
1577
|
if (t.type) return t;
|
|
1565
1578
|
try {
|
|
1566
|
-
if (
|
|
1579
|
+
if (Rr(t, e)) return P && A.warn("Event dropped due to being a duplicate of previously captured event."), null;
|
|
1567
1580
|
} catch {}
|
|
1568
1581
|
return e = t;
|
|
1569
1582
|
}
|
|
1570
1583
|
};
|
|
1571
1584
|
}));
|
|
1572
|
-
function
|
|
1573
|
-
return t ? !!(
|
|
1585
|
+
function Rr(e, t) {
|
|
1586
|
+
return t ? !!(zr(e, t) || Br(e, t)) : !1;
|
|
1574
1587
|
}
|
|
1575
|
-
function
|
|
1588
|
+
function zr(e, t) {
|
|
1576
1589
|
let n = e.message, r = t.message;
|
|
1577
|
-
return !(!n && !r || n && !r || !n && r || n !== r || !
|
|
1590
|
+
return !(!n && !r || n && !r || !n && r || n !== r || !Hr(e, t) || !Vr(e, t));
|
|
1578
1591
|
}
|
|
1579
|
-
function
|
|
1580
|
-
let n =
|
|
1581
|
-
return !(!n || !r || n.type !== r.type || n.value !== r.value || !
|
|
1592
|
+
function Br(e, t) {
|
|
1593
|
+
let n = Ur(t), r = Ur(e);
|
|
1594
|
+
return !(!n || !r || n.type !== r.type || n.value !== r.value || !Hr(e, t) || !Vr(e, t));
|
|
1582
1595
|
}
|
|
1583
|
-
function
|
|
1596
|
+
function Vr(e, t) {
|
|
1584
1597
|
let n = Ue(e), r = Ue(t);
|
|
1585
1598
|
if (!n && !r) return !0;
|
|
1586
1599
|
if (n && !r || !n && r || (n = n, r = r, r.length !== n.length)) return !1;
|
|
@@ -1590,7 +1603,7 @@ function zr(e, t) {
|
|
|
1590
1603
|
}
|
|
1591
1604
|
return !0;
|
|
1592
1605
|
}
|
|
1593
|
-
function
|
|
1606
|
+
function Hr(e, t) {
|
|
1594
1607
|
let n = e.fingerprint, r = t.fingerprint;
|
|
1595
1608
|
if (!n && !r) return !0;
|
|
1596
1609
|
if (n && !r || !n && r) return !1;
|
|
@@ -1601,14 +1614,14 @@ function Br(e, t) {
|
|
|
1601
1614
|
return !1;
|
|
1602
1615
|
}
|
|
1603
1616
|
}
|
|
1604
|
-
function
|
|
1617
|
+
function Ur(e) {
|
|
1605
1618
|
var t;
|
|
1606
1619
|
return (t = e.exception) == null || (t = t.values) == null ? void 0 : t[0];
|
|
1607
1620
|
}
|
|
1608
1621
|
//#endregion
|
|
1609
1622
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/integrations/conversationId.js
|
|
1610
|
-
var
|
|
1611
|
-
name:
|
|
1623
|
+
var Wr = "ConversationId", Gr = H((() => ({
|
|
1624
|
+
name: Wr,
|
|
1612
1625
|
setup(e) {
|
|
1613
1626
|
e.on("spanStart", (e) => {
|
|
1614
1627
|
let t = Ke().getScopeData(), n = oe().getScopeData(), r = t.conversationId || n.conversationId;
|
|
@@ -1622,7 +1635,7 @@ var Hr = "ConversationId", Ur = V((() => ({
|
|
|
1622
1635
|
})));
|
|
1623
1636
|
//#endregion
|
|
1624
1637
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/utils/breadcrumb-log-level.js
|
|
1625
|
-
function
|
|
1638
|
+
function Kr(e) {
|
|
1626
1639
|
if (e !== void 0) {
|
|
1627
1640
|
if (e >= 400 && e < 500) return "warning";
|
|
1628
1641
|
if (e >= 500) return "error";
|
|
@@ -1630,30 +1643,30 @@ function Wr(e) {
|
|
|
1630
1643
|
}
|
|
1631
1644
|
//#endregion
|
|
1632
1645
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/utils/supports.js
|
|
1633
|
-
var
|
|
1634
|
-
function
|
|
1635
|
-
return "history" in
|
|
1646
|
+
var W = O;
|
|
1647
|
+
function qr() {
|
|
1648
|
+
return "history" in W && !!W.history;
|
|
1636
1649
|
}
|
|
1637
|
-
function
|
|
1638
|
-
if (!("fetch" in
|
|
1650
|
+
function Jr() {
|
|
1651
|
+
if (!("fetch" in W)) return !1;
|
|
1639
1652
|
try {
|
|
1640
1653
|
return new Headers(), new Request("data:,"), new Response(), !0;
|
|
1641
1654
|
} catch {
|
|
1642
1655
|
return !1;
|
|
1643
1656
|
}
|
|
1644
1657
|
}
|
|
1645
|
-
function
|
|
1658
|
+
function Yr(e) {
|
|
1646
1659
|
return e && /^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString());
|
|
1647
1660
|
}
|
|
1648
|
-
function
|
|
1661
|
+
function Xr() {
|
|
1649
1662
|
if (typeof EdgeRuntime == "string") return !0;
|
|
1650
|
-
if (!
|
|
1651
|
-
if (
|
|
1652
|
-
let e = !1, t =
|
|
1663
|
+
if (!Jr()) return !1;
|
|
1664
|
+
if (Yr(W.fetch)) return !0;
|
|
1665
|
+
let e = !1, t = W.document;
|
|
1653
1666
|
if (t && typeof t.createElement == "function") try {
|
|
1654
1667
|
var n;
|
|
1655
1668
|
let r = t.createElement("iframe");
|
|
1656
|
-
r.hidden = !0, t.head.appendChild(r), (n = r.contentWindow) != null && n.fetch && (e =
|
|
1669
|
+
r.hidden = !0, t.head.appendChild(r), (n = r.contentWindow) != null && n.fetch && (e = Yr(r.contentWindow.fetch)), t.head.removeChild(r);
|
|
1657
1670
|
} catch (e) {
|
|
1658
1671
|
P && A.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ", e);
|
|
1659
1672
|
}
|
|
@@ -1661,14 +1674,14 @@ function Jr() {
|
|
|
1661
1674
|
}
|
|
1662
1675
|
//#endregion
|
|
1663
1676
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/instrument/fetch.js
|
|
1664
|
-
function
|
|
1665
|
-
let n = "fetch", r =
|
|
1666
|
-
return
|
|
1677
|
+
function Zr(e, t) {
|
|
1678
|
+
let n = "fetch", r = R(n, e);
|
|
1679
|
+
return z(n, () => Qr(void 0, t)), r;
|
|
1667
1680
|
}
|
|
1668
|
-
function
|
|
1669
|
-
t && !
|
|
1681
|
+
function Qr(e, t = !1) {
|
|
1682
|
+
t && !Xr() || M(O, "fetch", function(t) {
|
|
1670
1683
|
return function(...n) {
|
|
1671
|
-
let r = /* @__PURE__ */ Error(), { method: i, url: a } =
|
|
1684
|
+
let r = /* @__PURE__ */ Error(), { method: i, url: a } = ti(n), o = {
|
|
1672
1685
|
args: n,
|
|
1673
1686
|
fetchData: {
|
|
1674
1687
|
method: i,
|
|
@@ -1676,15 +1689,15 @@ function Xr(e, t = !1) {
|
|
|
1676
1689
|
},
|
|
1677
1690
|
startTimestamp: j() * 1e3,
|
|
1678
1691
|
virtualError: r,
|
|
1679
|
-
headers:
|
|
1692
|
+
headers: ni(n)
|
|
1680
1693
|
};
|
|
1681
|
-
return e ||
|
|
1694
|
+
return e || B("fetch", { ...o }), t.apply(O, n).then(async (t) => (e ? e(t) : B("fetch", {
|
|
1682
1695
|
...o,
|
|
1683
1696
|
endTimestamp: j() * 1e3,
|
|
1684
1697
|
response: t
|
|
1685
1698
|
}), t), (e) => {
|
|
1686
1699
|
var t;
|
|
1687
|
-
|
|
1700
|
+
B("fetch", {
|
|
1688
1701
|
...o,
|
|
1689
1702
|
endTimestamp: j() * 1e3,
|
|
1690
1703
|
error: e
|
|
@@ -1699,13 +1712,13 @@ function Xr(e, t = !1) {
|
|
|
1699
1712
|
};
|
|
1700
1713
|
});
|
|
1701
1714
|
}
|
|
1702
|
-
function
|
|
1715
|
+
function $r(e, t) {
|
|
1703
1716
|
return Me(e) && !!e[t];
|
|
1704
1717
|
}
|
|
1705
|
-
function
|
|
1706
|
-
return typeof e == "string" ? e : e ?
|
|
1718
|
+
function ei(e) {
|
|
1719
|
+
return typeof e == "string" ? e : e ? $r(e, "url") ? e.url : e.toString ? e.toString() : "" : "";
|
|
1707
1720
|
}
|
|
1708
|
-
function
|
|
1721
|
+
function ti(e) {
|
|
1709
1722
|
if (e.length === 0) return {
|
|
1710
1723
|
method: "GET",
|
|
1711
1724
|
url: ""
|
|
@@ -1713,17 +1726,17 @@ function $r(e) {
|
|
|
1713
1726
|
if (e.length === 2) {
|
|
1714
1727
|
let [t, n] = e;
|
|
1715
1728
|
return {
|
|
1716
|
-
url:
|
|
1717
|
-
method:
|
|
1729
|
+
url: ei(t),
|
|
1730
|
+
method: $r(n, "method") ? String(n.method).toUpperCase() : Pe(t) && $r(t, "method") ? String(t.method).toUpperCase() : "GET"
|
|
1718
1731
|
};
|
|
1719
1732
|
}
|
|
1720
1733
|
let t = e[0];
|
|
1721
1734
|
return {
|
|
1722
|
-
url:
|
|
1723
|
-
method:
|
|
1735
|
+
url: ei(t),
|
|
1736
|
+
method: $r(t, "method") ? String(t.method).toUpperCase() : "GET"
|
|
1724
1737
|
};
|
|
1725
1738
|
}
|
|
1726
|
-
function
|
|
1739
|
+
function ni(e) {
|
|
1727
1740
|
let [t, n] = e;
|
|
1728
1741
|
try {
|
|
1729
1742
|
if (typeof n == "object" && n && "headers" in n && n.headers) return new Headers(n.headers);
|
|
@@ -1732,16 +1745,16 @@ function ei(e) {
|
|
|
1732
1745
|
}
|
|
1733
1746
|
//#endregion
|
|
1734
1747
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/utils/browser.js
|
|
1735
|
-
var
|
|
1736
|
-
function
|
|
1748
|
+
var ri = O;
|
|
1749
|
+
function ii() {
|
|
1737
1750
|
try {
|
|
1738
|
-
return
|
|
1751
|
+
return ri.document.location.href;
|
|
1739
1752
|
} catch {
|
|
1740
1753
|
return "";
|
|
1741
1754
|
}
|
|
1742
1755
|
}
|
|
1743
|
-
function
|
|
1744
|
-
if (!
|
|
1756
|
+
function ai(e, t = 5) {
|
|
1757
|
+
if (!ri.HTMLElement) return null;
|
|
1745
1758
|
let n = e;
|
|
1746
1759
|
for (let e = 0; e < t; e++) {
|
|
1747
1760
|
if (!n) return null;
|
|
@@ -1755,16 +1768,16 @@ function ri(e, t = 5) {
|
|
|
1755
1768
|
}
|
|
1756
1769
|
//#endregion
|
|
1757
1770
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.69.0/node_modules/@sentry/browser/build/npm/esm/prod/helpers.js
|
|
1758
|
-
var
|
|
1759
|
-
function
|
|
1760
|
-
return
|
|
1771
|
+
var G = O, oi = 0;
|
|
1772
|
+
function si() {
|
|
1773
|
+
return oi > 0;
|
|
1761
1774
|
}
|
|
1762
|
-
function
|
|
1763
|
-
|
|
1764
|
-
|
|
1775
|
+
function ci() {
|
|
1776
|
+
oi++, setTimeout(() => {
|
|
1777
|
+
oi--;
|
|
1765
1778
|
});
|
|
1766
1779
|
}
|
|
1767
|
-
function
|
|
1780
|
+
function K(e, t = {}) {
|
|
1768
1781
|
function n(e) {
|
|
1769
1782
|
return typeof e == "function";
|
|
1770
1783
|
}
|
|
@@ -1781,10 +1794,10 @@ function G(e, t = {}) {
|
|
|
1781
1794
|
let r = function(...n) {
|
|
1782
1795
|
O._sentryWrappedDepth = (O._sentryWrappedDepth || 0) + 1;
|
|
1783
1796
|
try {
|
|
1784
|
-
let r = n.map((e) =>
|
|
1797
|
+
let r = n.map((e) => K(e, t));
|
|
1785
1798
|
return e.apply(this, r);
|
|
1786
1799
|
} catch (e) {
|
|
1787
|
-
throw
|
|
1800
|
+
throw ci(), g((r) => {
|
|
1788
1801
|
r.addEventProcessor((e) => (t.mechanism && (ee(e, void 0, void 0), T(e, t.mechanism)), e.extra = {
|
|
1789
1802
|
...e.extra,
|
|
1790
1803
|
arguments: n
|
|
@@ -1805,8 +1818,8 @@ function G(e, t = {}) {
|
|
|
1805
1818
|
} catch {}
|
|
1806
1819
|
return r;
|
|
1807
1820
|
}
|
|
1808
|
-
function
|
|
1809
|
-
let e =
|
|
1821
|
+
function li() {
|
|
1822
|
+
let e = ii(), { referrer: t } = G.document || {}, { userAgent: n } = G.navigator || {};
|
|
1810
1823
|
return {
|
|
1811
1824
|
url: e,
|
|
1812
1825
|
headers: {
|
|
@@ -1817,96 +1830,96 @@ function si() {
|
|
|
1817
1830
|
}
|
|
1818
1831
|
//#endregion
|
|
1819
1832
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.69.0/node_modules/@sentry/browser/build/npm/esm/prod/eventbuilder.js
|
|
1820
|
-
function
|
|
1821
|
-
let n =
|
|
1822
|
-
type:
|
|
1823
|
-
value:
|
|
1833
|
+
function ui(e, t) {
|
|
1834
|
+
let n = pi(e, t), r = {
|
|
1835
|
+
type: vi(t),
|
|
1836
|
+
value: yi(t)
|
|
1824
1837
|
};
|
|
1825
1838
|
return n.length && (r.stacktrace = { frames: n }), r.type === void 0 && r.value === "" && (r.value = "Unrecoverable error caught"), r;
|
|
1826
1839
|
}
|
|
1827
|
-
function
|
|
1828
|
-
let i = h(), a = i == null ? void 0 : i.getOptions().normalizeDepth, o =
|
|
1840
|
+
function di(e, t, n, r) {
|
|
1841
|
+
let i = h(), a = i == null ? void 0 : i.getOptions().normalizeDepth, o = Ei(t), s = { __serialized__: se(t, a) };
|
|
1829
1842
|
if (o) return {
|
|
1830
|
-
exception: { values: [
|
|
1843
|
+
exception: { values: [ui(e, o)] },
|
|
1831
1844
|
extra: s
|
|
1832
1845
|
};
|
|
1833
1846
|
let c = {
|
|
1834
1847
|
exception: { values: [{
|
|
1835
1848
|
type: ye(t) ? t.constructor.name : r ? "UnhandledRejection" : "Error",
|
|
1836
|
-
value:
|
|
1849
|
+
value: wi(t, { isUnhandledRejection: r })
|
|
1837
1850
|
}] },
|
|
1838
1851
|
extra: s
|
|
1839
1852
|
};
|
|
1840
1853
|
if (n) {
|
|
1841
|
-
let t =
|
|
1854
|
+
let t = pi(e, n);
|
|
1842
1855
|
t.length && (c.exception.values[0].stacktrace = { frames: t });
|
|
1843
1856
|
}
|
|
1844
1857
|
return c;
|
|
1845
1858
|
}
|
|
1846
|
-
function
|
|
1847
|
-
return { exception: { values: [
|
|
1859
|
+
function fi(e, t) {
|
|
1860
|
+
return { exception: { values: [ui(e, t)] } };
|
|
1848
1861
|
}
|
|
1849
|
-
function
|
|
1850
|
-
let n = t.stacktrace || t.stack || "", r =
|
|
1862
|
+
function pi(e, t) {
|
|
1863
|
+
let n = t.stacktrace || t.stack || "", r = hi(t), i = gi(t);
|
|
1851
1864
|
try {
|
|
1852
1865
|
return e(n, r, i);
|
|
1853
1866
|
} catch {}
|
|
1854
1867
|
return [];
|
|
1855
1868
|
}
|
|
1856
|
-
var
|
|
1857
|
-
function
|
|
1858
|
-
return e &&
|
|
1869
|
+
var mi = /Minified React error #\d+;/i;
|
|
1870
|
+
function hi(e) {
|
|
1871
|
+
return e && mi.test(e.message) ? 1 : 0;
|
|
1859
1872
|
}
|
|
1860
|
-
function
|
|
1873
|
+
function gi(e) {
|
|
1861
1874
|
return typeof e.framesToPop == "number" ? e.framesToPop : 0;
|
|
1862
1875
|
}
|
|
1863
|
-
function
|
|
1876
|
+
function _i(e) {
|
|
1864
1877
|
return typeof WebAssembly < "u" && WebAssembly.Exception !== void 0 && e instanceof WebAssembly.Exception;
|
|
1865
1878
|
}
|
|
1866
|
-
function
|
|
1879
|
+
function vi(e) {
|
|
1867
1880
|
let t = e == null ? void 0 : e.name;
|
|
1868
|
-
return !t &&
|
|
1881
|
+
return !t && _i(e) ? e.message && Array.isArray(e.message) && e.message.length == 2 ? e.message[0] : "WebAssembly.Exception" : t;
|
|
1869
1882
|
}
|
|
1870
|
-
function
|
|
1883
|
+
function yi(e) {
|
|
1871
1884
|
let t = e == null ? void 0 : e.message;
|
|
1872
|
-
return
|
|
1885
|
+
return _i(e) ? Array.isArray(e.message) && e.message.length == 2 ? e.message[1] : "wasm exception" : t ? t.error && typeof t.error.message == "string" ? Ar(t.error) : Ar(e) : "No error message";
|
|
1873
1886
|
}
|
|
1874
|
-
function
|
|
1875
|
-
let i =
|
|
1887
|
+
function bi(e, t, n, r) {
|
|
1888
|
+
let i = Si(e, t, (n == null ? void 0 : n.syntheticException) || void 0, r);
|
|
1876
1889
|
return T(i), i.level = "error", n != null && n.event_id && (i.event_id = n.event_id), ve(i);
|
|
1877
1890
|
}
|
|
1878
|
-
function
|
|
1879
|
-
let a =
|
|
1891
|
+
function xi(e, t, n = "info", r, i) {
|
|
1892
|
+
let a = Ci(e, t, (r == null ? void 0 : r.syntheticException) || void 0, i);
|
|
1880
1893
|
return a.level = n, r != null && r.event_id && (a.event_id = r.event_id), ve(a);
|
|
1881
1894
|
}
|
|
1882
|
-
function
|
|
1895
|
+
function Si(e, t, n, r, i) {
|
|
1883
1896
|
let a;
|
|
1884
|
-
if (f(t) && t.error) return
|
|
1897
|
+
if (f(t) && t.error) return fi(e, t.error);
|
|
1885
1898
|
if (le(t) || de(t)) {
|
|
1886
1899
|
let i = t;
|
|
1887
1900
|
if ("stack" in t) {
|
|
1888
1901
|
var o;
|
|
1889
|
-
a =
|
|
1902
|
+
a = fi(e, t);
|
|
1890
1903
|
let i = (o = a.exception) == null || (o = o.values) == null ? void 0 : o[0];
|
|
1891
1904
|
if (r && n && i && !i.stacktrace) {
|
|
1892
|
-
let t =
|
|
1905
|
+
let t = pi(e, n);
|
|
1893
1906
|
t.length && (i.stacktrace = { frames: t }, T(a, { synthetic: !0 }));
|
|
1894
1907
|
}
|
|
1895
1908
|
} else {
|
|
1896
1909
|
let t = i.name || (le(i) ? "DOMError" : "DOMException"), o = i.message ? `${t}: ${i.message}` : t;
|
|
1897
|
-
a =
|
|
1910
|
+
a = Ci(e, o, n, r), ee(a, o);
|
|
1898
1911
|
}
|
|
1899
1912
|
return "code" in i && (a.tags = {
|
|
1900
1913
|
...a.tags,
|
|
1901
1914
|
"DOMException.code": `${i.code}`
|
|
1902
1915
|
}), a;
|
|
1903
1916
|
}
|
|
1904
|
-
return re(t) ?
|
|
1917
|
+
return re(t) ? fi(e, t) : Te(t) || ye(t) ? (a = di(e, t, n, i), T(a, { synthetic: !0 }), a) : (a = Ci(e, t, n, r), ee(a, `${t}`, void 0), T(a, { synthetic: !0 }), a);
|
|
1905
1918
|
}
|
|
1906
|
-
function
|
|
1919
|
+
function Ci(e, t, n, r) {
|
|
1907
1920
|
let i = {};
|
|
1908
1921
|
if (r && n) {
|
|
1909
|
-
let r =
|
|
1922
|
+
let r = pi(e, n);
|
|
1910
1923
|
r.length && (i.exception = { values: [{
|
|
1911
1924
|
value: t,
|
|
1912
1925
|
stacktrace: { frames: r }
|
|
@@ -1921,52 +1934,52 @@ function xi(e, t, n, r) {
|
|
|
1921
1934
|
}
|
|
1922
1935
|
return i.message = t, i;
|
|
1923
1936
|
}
|
|
1924
|
-
function
|
|
1937
|
+
function wi(e, { isUnhandledRejection: t }) {
|
|
1925
1938
|
let n = C(e), r = t ? "promise rejection" : "exception";
|
|
1926
|
-
return f(e) ? `Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\`` : ye(e) ? `Event \`${
|
|
1939
|
+
return f(e) ? `Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\`` : ye(e) ? `Event \`${Ti(e)}\` (type=${e.type}) captured as ${r}` : `Object captured as ${r} with keys: ${n}`;
|
|
1927
1940
|
}
|
|
1928
|
-
function
|
|
1941
|
+
function Ti(e) {
|
|
1929
1942
|
try {
|
|
1930
1943
|
let t = Object.getPrototypeOf(e);
|
|
1931
1944
|
return t ? t.constructor.name : void 0;
|
|
1932
1945
|
} catch {}
|
|
1933
1946
|
}
|
|
1934
|
-
function
|
|
1947
|
+
function Ei(e) {
|
|
1935
1948
|
return Object.values(e).find((e) => e instanceof Error);
|
|
1936
1949
|
}
|
|
1937
1950
|
//#endregion
|
|
1938
1951
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.69.0/node_modules/@sentry/browser/build/npm/esm/prod/client.js
|
|
1939
|
-
var
|
|
1952
|
+
var Di = class extends Hn {
|
|
1940
1953
|
constructor(e) {
|
|
1941
1954
|
var t;
|
|
1942
|
-
let n =
|
|
1943
|
-
|
|
1955
|
+
let n = Oi(e);
|
|
1956
|
+
or(n, "browser", ["browser"], G.SENTRY_SDK_SOURCE || $t()), super(n);
|
|
1944
1957
|
let { userInfo: r } = this.getDataCollectionOptions();
|
|
1945
1958
|
(t = n._metadata) != null && t.sdk && (n._metadata.sdk.settings = {
|
|
1946
1959
|
infer_ip: r ? "auto" : "never",
|
|
1947
1960
|
...n._metadata.sdk.settings
|
|
1948
1961
|
});
|
|
1949
1962
|
let { sendClientReports: i } = this._options;
|
|
1950
|
-
|
|
1951
|
-
|
|
1963
|
+
G.document && G.document.addEventListener("visibilitychange", () => {
|
|
1964
|
+
G.document.visibilityState === "hidden" && (i && this._flushOutcomes(), queueMicrotask(() => {
|
|
1952
1965
|
this.flush();
|
|
1953
1966
|
}));
|
|
1954
|
-
}), r && this.on("beforeSendSession",
|
|
1967
|
+
}), r && this.on("beforeSendSession", ar);
|
|
1955
1968
|
}
|
|
1956
1969
|
eventFromException(e, t) {
|
|
1957
|
-
return
|
|
1970
|
+
return bi(this._options.stackParser, e, t, this._options.attachStacktrace);
|
|
1958
1971
|
}
|
|
1959
1972
|
eventFromMessage(e, t = "info", n) {
|
|
1960
|
-
return
|
|
1973
|
+
return xi(this._options.stackParser, e, t, n, this._options.attachStacktrace);
|
|
1961
1974
|
}
|
|
1962
1975
|
_prepareEvent(e, t, n, r) {
|
|
1963
1976
|
return e.platform = e.platform || "javascript", super._prepareEvent(e, t, n, r);
|
|
1964
1977
|
}
|
|
1965
1978
|
};
|
|
1966
|
-
function
|
|
1979
|
+
function Oi(e) {
|
|
1967
1980
|
var t;
|
|
1968
1981
|
return {
|
|
1969
|
-
release: typeof __SENTRY_RELEASE__ == "string" ? __SENTRY_RELEASE__ : (t =
|
|
1982
|
+
release: typeof __SENTRY_RELEASE__ == "string" ? __SENTRY_RELEASE__ : (t = G.SENTRY_RELEASE) == null ? void 0 : t.id,
|
|
1970
1983
|
sendClientReports: !0,
|
|
1971
1984
|
parentSpanIsAlwaysRootSpan: !0,
|
|
1972
1985
|
...e
|
|
@@ -1974,75 +1987,75 @@ function Ei(e) {
|
|
|
1974
1987
|
}
|
|
1975
1988
|
//#endregion
|
|
1976
1989
|
//#region ../../node_modules/.pnpm/@sentry+browser-utils@10.69.0/node_modules/@sentry/browser-utils/build/esm/debug-build.js
|
|
1977
|
-
var
|
|
1990
|
+
var ki = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, q = O;
|
|
1978
1991
|
//#endregion
|
|
1979
1992
|
//#region ../../node_modules/.pnpm/@sentry+browser-utils@10.69.0/node_modules/@sentry/browser-utils/build/esm/metrics/web-vitals/lib/globalListeners.js
|
|
1980
|
-
function
|
|
1981
|
-
|
|
1993
|
+
function Ai(e, t, n) {
|
|
1994
|
+
q.document && q.addEventListener(e, t, n);
|
|
1982
1995
|
}
|
|
1983
|
-
function
|
|
1984
|
-
|
|
1996
|
+
function ji(e, t, n) {
|
|
1997
|
+
q.document && q.removeEventListener(e, t, n);
|
|
1985
1998
|
}
|
|
1986
1999
|
//#endregion
|
|
1987
2000
|
//#region ../../node_modules/.pnpm/@sentry+browser-utils@10.69.0/node_modules/@sentry/browser-utils/build/esm/metrics/web-vitals/lib/runOnce.js
|
|
1988
|
-
var
|
|
2001
|
+
var Mi = (e) => {
|
|
1989
2002
|
let t = !1;
|
|
1990
2003
|
return () => {
|
|
1991
2004
|
t || (e(), t = !0);
|
|
1992
2005
|
};
|
|
1993
|
-
},
|
|
2006
|
+
}, Ni = (e) => {
|
|
1994
2007
|
var t;
|
|
1995
|
-
let n =
|
|
1996
|
-
((t =
|
|
2008
|
+
let n = q.requestIdleCallback || q.setTimeout;
|
|
2009
|
+
((t = q.document) == null ? void 0 : t.visibilityState) === "hidden" ? e() : (e = Mi(e), Ai("visibilitychange", e, {
|
|
1997
2010
|
once: !0,
|
|
1998
2011
|
capture: !0
|
|
1999
|
-
}),
|
|
2012
|
+
}), Ai("pagehide", e, {
|
|
2000
2013
|
once: !0,
|
|
2001
2014
|
capture: !0
|
|
2002
2015
|
}), n(() => {
|
|
2003
|
-
e(),
|
|
2016
|
+
e(), ji("visibilitychange", e, { capture: !0 }), ji("pagehide", e, { capture: !0 });
|
|
2004
2017
|
}));
|
|
2005
|
-
},
|
|
2018
|
+
}, Pi = 80, J = {};
|
|
2006
2019
|
try {
|
|
2007
|
-
typeof Node < "u" && (
|
|
2020
|
+
typeof Node < "u" && (J.parentNode = Object.getOwnPropertyDescriptor(Node.prototype, "parentNode").get), typeof Element < "u" && (J.tagName = Object.getOwnPropertyDescriptor(Element.prototype, "tagName").get, J.id = Object.getOwnPropertyDescriptor(Element.prototype, "id").get, J.className = Object.getOwnPropertyDescriptor(Element.prototype, "className").get, J.getAttribute = Element.prototype.getAttribute), typeof HTMLElement < "u" && (J.dataset = Object.getOwnPropertyDescriptor(HTMLElement.prototype, "dataset").get);
|
|
2008
2021
|
} catch {}
|
|
2009
|
-
function
|
|
2010
|
-
let r =
|
|
2022
|
+
function Y(e, t, n) {
|
|
2023
|
+
let r = J[t];
|
|
2011
2024
|
if (r) try {
|
|
2012
2025
|
return r.call(e, n);
|
|
2013
2026
|
} catch {}
|
|
2014
2027
|
let i = e[t];
|
|
2015
2028
|
return typeof i == "function" ? i.call(e, n) : i;
|
|
2016
2029
|
}
|
|
2017
|
-
function
|
|
2030
|
+
function Fi(e, t = {}) {
|
|
2018
2031
|
if (!e) return "<unknown>";
|
|
2019
2032
|
try {
|
|
2020
|
-
let n = e, r = [], i = 0, a = 0, o, s = Array.isArray(t) ? t : t.keyAttrs, c = !Array.isArray(t) && t.maxStringLength ||
|
|
2021
|
-
for (; n && i++ < 5 && (o =
|
|
2033
|
+
let n = e, r = [], i = 0, a = 0, o, s = Array.isArray(t) ? t : t.keyAttrs, c = !Array.isArray(t) && t.maxStringLength || Pi;
|
|
2034
|
+
for (; n && i++ < 5 && (o = Ii(n, s), !(o === "html" || i > 1 && a + r.length * 3 + o.length >= c));) r.push(o), a += o.length, n = Y(n, "parentNode");
|
|
2022
2035
|
return r.reverse().join(" > ");
|
|
2023
2036
|
} catch {
|
|
2024
2037
|
return "<unknown>";
|
|
2025
2038
|
}
|
|
2026
2039
|
}
|
|
2027
|
-
function
|
|
2028
|
-
let n = [], r =
|
|
2040
|
+
function Ii(e, t) {
|
|
2041
|
+
let n = [], r = Y(e, "tagName");
|
|
2029
2042
|
if (!r) return "";
|
|
2030
2043
|
if (typeof HTMLElement < "u" && e instanceof HTMLElement) {
|
|
2031
|
-
let t =
|
|
2044
|
+
let t = Y(e, "dataset");
|
|
2032
2045
|
if (t) {
|
|
2033
2046
|
if (t.sentryComponent) return t.sentryComponent;
|
|
2034
2047
|
if (t.sentryElement) return t.sentryElement;
|
|
2035
2048
|
}
|
|
2036
2049
|
}
|
|
2037
2050
|
n.push(r.toLowerCase());
|
|
2038
|
-
let i = t != null && t.length ? t.filter((t) =>
|
|
2051
|
+
let i = t != null && t.length ? t.filter((t) => Y(e, "getAttribute", t)).map((t) => [t, Y(e, "getAttribute", t)]) : null;
|
|
2039
2052
|
if (i != null && i.length) i.forEach((e) => {
|
|
2040
2053
|
n.push(`[${e[0]}="${e[1]}"]`);
|
|
2041
2054
|
});
|
|
2042
2055
|
else {
|
|
2043
|
-
let t =
|
|
2056
|
+
let t = Y(e, "id");
|
|
2044
2057
|
t && n.push(`#${t}`);
|
|
2045
|
-
let r =
|
|
2058
|
+
let r = Y(e, "className");
|
|
2046
2059
|
if (r && N(r)) {
|
|
2047
2060
|
let e = r.split(/\s+/);
|
|
2048
2061
|
for (let t of e) n.push(`.${t}`);
|
|
@@ -2055,29 +2068,29 @@ function Pi(e, t) {
|
|
|
2055
2068
|
"title",
|
|
2056
2069
|
"alt"
|
|
2057
2070
|
]) {
|
|
2058
|
-
let r =
|
|
2071
|
+
let r = Y(e, "getAttribute", t);
|
|
2059
2072
|
r && n.push(`[${t}="${r}"]`);
|
|
2060
2073
|
}
|
|
2061
2074
|
return n.join("");
|
|
2062
2075
|
}
|
|
2063
2076
|
//#endregion
|
|
2064
2077
|
//#region ../../node_modules/.pnpm/@sentry+browser-utils@10.69.0/node_modules/@sentry/browser-utils/build/esm/instrument/dom.js
|
|
2065
|
-
var
|
|
2066
|
-
function
|
|
2067
|
-
|
|
2068
|
-
}
|
|
2069
|
-
function
|
|
2070
|
-
if (!
|
|
2071
|
-
let e =
|
|
2072
|
-
|
|
2078
|
+
var Li = 1e3, Ri, zi, Bi;
|
|
2079
|
+
function Vi(e) {
|
|
2080
|
+
R("dom", e), z("dom", Hi);
|
|
2081
|
+
}
|
|
2082
|
+
function Hi() {
|
|
2083
|
+
if (!q.document) return;
|
|
2084
|
+
let e = B.bind(null, "dom"), t = Gi(e, !0);
|
|
2085
|
+
q.document.addEventListener("click", t, !1), q.document.addEventListener("keypress", t, !1), ["EventTarget", "Node"].forEach((t) => {
|
|
2073
2086
|
var n, r;
|
|
2074
|
-
let i = (n =
|
|
2087
|
+
let i = (n = q[t]) == null ? void 0 : n.prototype;
|
|
2075
2088
|
!(i == null || (r = i.hasOwnProperty) == null) && r.call(i, "addEventListener") && (M(i, "addEventListener", function(t) {
|
|
2076
2089
|
return function(n, r, i) {
|
|
2077
2090
|
if (n === "click" || n == "keypress") try {
|
|
2078
2091
|
let r = this.__sentry_instrumentation_handlers__ = this.__sentry_instrumentation_handlers__ || {}, a = r[n] = r[n] || { refCount: 0 };
|
|
2079
2092
|
if (!a.handler) {
|
|
2080
|
-
let r =
|
|
2093
|
+
let r = Gi(e);
|
|
2081
2094
|
a.handler = r, t.call(this, n, r, i);
|
|
2082
2095
|
}
|
|
2083
2096
|
a.refCount++;
|
|
@@ -2095,33 +2108,33 @@ function Bi() {
|
|
|
2095
2108
|
}));
|
|
2096
2109
|
});
|
|
2097
2110
|
}
|
|
2098
|
-
function
|
|
2099
|
-
if (e.type !==
|
|
2111
|
+
function Ui(e) {
|
|
2112
|
+
if (e.type !== zi) return !1;
|
|
2100
2113
|
try {
|
|
2101
|
-
if (!e.target || e.target._sentryId !==
|
|
2114
|
+
if (!e.target || e.target._sentryId !== Bi) return !1;
|
|
2102
2115
|
} catch {}
|
|
2103
2116
|
return !0;
|
|
2104
2117
|
}
|
|
2105
|
-
function
|
|
2118
|
+
function Wi(e, t) {
|
|
2106
2119
|
return e === "keypress" ? t != null && t.tagName ? !(t.tagName === "INPUT" || t.tagName === "TEXTAREA" || t.isContentEditable) : !0 : !1;
|
|
2107
2120
|
}
|
|
2108
|
-
function
|
|
2121
|
+
function Gi(e, t = !1) {
|
|
2109
2122
|
return (n) => {
|
|
2110
2123
|
if (!n || n._sentryCaptured) return;
|
|
2111
|
-
let r =
|
|
2112
|
-
if (
|
|
2124
|
+
let r = Ki(n);
|
|
2125
|
+
if (Wi(n.type, r)) return;
|
|
2113
2126
|
y(n, "_sentryCaptured", !0), r && !r._sentryId && y(r, "_sentryId", x());
|
|
2114
2127
|
let i = n.type === "keypress" ? "input" : n.type;
|
|
2115
|
-
|
|
2128
|
+
Ui(n) || (e({
|
|
2116
2129
|
event: n,
|
|
2117
2130
|
name: i,
|
|
2118
2131
|
global: t
|
|
2119
|
-
}),
|
|
2120
|
-
|
|
2121
|
-
},
|
|
2132
|
+
}), zi = n.type, Bi = r ? r._sentryId : void 0), clearTimeout(Ri), Ri = q.setTimeout(() => {
|
|
2133
|
+
Bi = void 0, zi = void 0;
|
|
2134
|
+
}, Li);
|
|
2122
2135
|
};
|
|
2123
2136
|
}
|
|
2124
|
-
function
|
|
2137
|
+
function Ki(e) {
|
|
2125
2138
|
try {
|
|
2126
2139
|
return e.target;
|
|
2127
2140
|
} catch {
|
|
@@ -2130,26 +2143,26 @@ function Wi(e) {
|
|
|
2130
2143
|
}
|
|
2131
2144
|
//#endregion
|
|
2132
2145
|
//#region ../../node_modules/.pnpm/@sentry+browser-utils@10.69.0/node_modules/@sentry/browser-utils/build/esm/instrument/history.js
|
|
2133
|
-
var
|
|
2134
|
-
function
|
|
2146
|
+
var qi;
|
|
2147
|
+
function Ji(e) {
|
|
2135
2148
|
let t = "history";
|
|
2136
|
-
|
|
2149
|
+
R(t, e), z(t, Yi);
|
|
2137
2150
|
}
|
|
2138
|
-
function
|
|
2139
|
-
if (
|
|
2140
|
-
let e =
|
|
2141
|
-
|
|
2151
|
+
function Yi() {
|
|
2152
|
+
if (q.addEventListener("popstate", () => {
|
|
2153
|
+
let e = q.location.href, t = qi;
|
|
2154
|
+
qi = e, t !== e && B("history", {
|
|
2142
2155
|
from: t,
|
|
2143
2156
|
to: e
|
|
2144
2157
|
});
|
|
2145
|
-
}), !
|
|
2158
|
+
}), !qr()) return;
|
|
2146
2159
|
function e(e) {
|
|
2147
2160
|
return function(...t) {
|
|
2148
2161
|
let n = t.length > 2 ? t[2] : void 0;
|
|
2149
2162
|
if (n) {
|
|
2150
|
-
let r =
|
|
2151
|
-
if (
|
|
2152
|
-
|
|
2163
|
+
let r = qi, i = Xi(String(n));
|
|
2164
|
+
if (qi = i, r === i) return e.apply(this, t);
|
|
2165
|
+
B("history", {
|
|
2153
2166
|
from: r,
|
|
2154
2167
|
to: i
|
|
2155
2168
|
});
|
|
@@ -2157,48 +2170,48 @@ function Ki() {
|
|
|
2157
2170
|
return e.apply(this, t);
|
|
2158
2171
|
};
|
|
2159
2172
|
}
|
|
2160
|
-
M(
|
|
2173
|
+
M(q.history, "pushState", e), M(q.history, "replaceState", e);
|
|
2161
2174
|
}
|
|
2162
|
-
function
|
|
2175
|
+
function Xi(e) {
|
|
2163
2176
|
try {
|
|
2164
|
-
return new URL(e,
|
|
2177
|
+
return new URL(e, q.location.origin).toString();
|
|
2165
2178
|
} catch {
|
|
2166
2179
|
return e;
|
|
2167
2180
|
}
|
|
2168
2181
|
}
|
|
2169
2182
|
//#endregion
|
|
2170
2183
|
//#region ../../node_modules/.pnpm/@sentry+browser-utils@10.69.0/node_modules/@sentry/browser-utils/build/esm/getNativeImplementation.js
|
|
2171
|
-
var
|
|
2172
|
-
function
|
|
2173
|
-
let t =
|
|
2184
|
+
var Zi = {};
|
|
2185
|
+
function Qi(e) {
|
|
2186
|
+
let t = Zi[e];
|
|
2174
2187
|
if (t) return t;
|
|
2175
|
-
let n =
|
|
2176
|
-
if (
|
|
2177
|
-
let r =
|
|
2188
|
+
let n = q[e];
|
|
2189
|
+
if (Yr(n)) return Zi[e] = n.bind(q);
|
|
2190
|
+
let r = q.document;
|
|
2178
2191
|
if (r && typeof r.createElement == "function") try {
|
|
2179
2192
|
let t = r.createElement("iframe");
|
|
2180
2193
|
t.hidden = !0, r.head.appendChild(t);
|
|
2181
2194
|
let i = t.contentWindow;
|
|
2182
2195
|
i != null && i[e] && (n = i[e]), r.head.removeChild(t);
|
|
2183
2196
|
} catch (t) {
|
|
2184
|
-
|
|
2197
|
+
ki && A.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `, t);
|
|
2185
2198
|
}
|
|
2186
|
-
return n && (
|
|
2199
|
+
return n && (Zi[e] = n.bind(q));
|
|
2187
2200
|
}
|
|
2188
|
-
function
|
|
2189
|
-
|
|
2201
|
+
function $i(e) {
|
|
2202
|
+
Zi[e] = void 0;
|
|
2190
2203
|
}
|
|
2191
2204
|
//#endregion
|
|
2192
2205
|
//#region ../../node_modules/.pnpm/@sentry+browser-utils@10.69.0/node_modules/@sentry/browser-utils/build/esm/instrument/xhr.js
|
|
2193
2206
|
var X = "__sentry_xhr_v3__";
|
|
2194
|
-
function
|
|
2195
|
-
|
|
2207
|
+
function ea(e) {
|
|
2208
|
+
R("xhr", e), z("xhr", ta);
|
|
2196
2209
|
}
|
|
2197
|
-
function
|
|
2198
|
-
if (!
|
|
2210
|
+
function ta() {
|
|
2211
|
+
if (!q.XMLHttpRequest) return;
|
|
2199
2212
|
let e = XMLHttpRequest.prototype;
|
|
2200
2213
|
e.open = new Proxy(e.open, { apply(e, t, n) {
|
|
2201
|
-
let r = /* @__PURE__ */ Error(), i = j() * 1e3, a = N(n[0]) ? n[0].toUpperCase() : void 0, o =
|
|
2214
|
+
let r = /* @__PURE__ */ Error(), i = j() * 1e3, a = N(n[0]) ? n[0].toUpperCase() : void 0, o = na(n[1]);
|
|
2202
2215
|
if (!a || !o) return e.apply(t, n);
|
|
2203
2216
|
t[X] = {
|
|
2204
2217
|
method: a,
|
|
@@ -2211,7 +2224,7 @@ function Qi() {
|
|
|
2211
2224
|
try {
|
|
2212
2225
|
e.status_code = t.status;
|
|
2213
2226
|
} catch {}
|
|
2214
|
-
|
|
2227
|
+
B("xhr", {
|
|
2215
2228
|
endTimestamp: j() * 1e3,
|
|
2216
2229
|
startTimestamp: i,
|
|
2217
2230
|
xhr: t,
|
|
@@ -2227,13 +2240,13 @@ function Qi() {
|
|
|
2227
2240
|
} }), e.apply(t, n);
|
|
2228
2241
|
} }), e.send = new Proxy(e.send, { apply(e, t, n) {
|
|
2229
2242
|
let r = t[X];
|
|
2230
|
-
return r ? (n[0] !== void 0 && (r.body = n[0]),
|
|
2243
|
+
return r ? (n[0] !== void 0 && (r.body = n[0]), B("xhr", {
|
|
2231
2244
|
startTimestamp: j() * 1e3,
|
|
2232
2245
|
xhr: t
|
|
2233
2246
|
}), e.apply(t, n)) : e.apply(t, n);
|
|
2234
2247
|
} });
|
|
2235
2248
|
}
|
|
2236
|
-
function
|
|
2249
|
+
function na(e) {
|
|
2237
2250
|
if (N(e)) return e;
|
|
2238
2251
|
try {
|
|
2239
2252
|
return e.toString();
|
|
@@ -2241,7 +2254,7 @@ function $i(e) {
|
|
|
2241
2254
|
}
|
|
2242
2255
|
//#endregion
|
|
2243
2256
|
//#region ../../node_modules/.pnpm/@sentry+browser-utils@10.69.0/node_modules/@sentry/browser-utils/build/esm/is.js
|
|
2244
|
-
function
|
|
2257
|
+
function ra(e) {
|
|
2245
2258
|
if (typeof Element > "u") return !1;
|
|
2246
2259
|
try {
|
|
2247
2260
|
return e instanceof Element;
|
|
@@ -2251,8 +2264,8 @@ function ea(e) {
|
|
|
2251
2264
|
}
|
|
2252
2265
|
//#endregion
|
|
2253
2266
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.69.0/node_modules/@sentry/browser/build/npm/esm/prod/transports/fetch.js
|
|
2254
|
-
var
|
|
2255
|
-
function
|
|
2267
|
+
var ia = 40;
|
|
2268
|
+
function aa(e, t = Qi("fetch")) {
|
|
2256
2269
|
let n = 0, r = 0;
|
|
2257
2270
|
async function i(i) {
|
|
2258
2271
|
let a = i.body.length;
|
|
@@ -2275,17 +2288,17 @@ function na(e, t = Yi("fetch")) {
|
|
|
2275
2288
|
}
|
|
2276
2289
|
};
|
|
2277
2290
|
} catch (e) {
|
|
2278
|
-
throw
|
|
2291
|
+
throw $i("fetch"), e;
|
|
2279
2292
|
} finally {
|
|
2280
2293
|
n -= a, r--;
|
|
2281
2294
|
}
|
|
2282
2295
|
}
|
|
2283
|
-
return
|
|
2296
|
+
return Cn(e, i, _n(e.bufferSize || ia));
|
|
2284
2297
|
}
|
|
2285
2298
|
//#endregion
|
|
2286
2299
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.69.0/node_modules/@sentry/browser/build/npm/esm/prod/debug-build.js
|
|
2287
|
-
var Z = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__,
|
|
2288
|
-
function
|
|
2300
|
+
var Z = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, oa = 30, sa = 50;
|
|
2301
|
+
function ca(e, t, n, r) {
|
|
2289
2302
|
let i = {
|
|
2290
2303
|
filename: e,
|
|
2291
2304
|
function: t === "<anonymous>" ? "?" : t,
|
|
@@ -2293,41 +2306,41 @@ function aa(e, t, n, r) {
|
|
|
2293
2306
|
};
|
|
2294
2307
|
return n !== void 0 && (i.lineno = n), r !== void 0 && (i.colno = r), i;
|
|
2295
2308
|
}
|
|
2296
|
-
var
|
|
2297
|
-
let t = e.match(
|
|
2309
|
+
var la = /^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i, ua = /^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i, da = /\((\S*)(?::(\d+))(?::(\d+))\)/, fa = /at (.+?) ?\(data:(.+?),/, pa = [oa, (e) => {
|
|
2310
|
+
let t = e.match(fa);
|
|
2298
2311
|
if (t) return {
|
|
2299
2312
|
filename: `<data:${t[2]}>`,
|
|
2300
2313
|
function: t[1]
|
|
2301
2314
|
};
|
|
2302
|
-
let n =
|
|
2315
|
+
let n = la.exec(e);
|
|
2303
2316
|
if (n) {
|
|
2304
2317
|
let [, e, t, r] = n;
|
|
2305
|
-
return
|
|
2318
|
+
return ca(e, "?", +t, +r);
|
|
2306
2319
|
}
|
|
2307
|
-
let r =
|
|
2320
|
+
let r = ua.exec(e);
|
|
2308
2321
|
if (r) {
|
|
2309
2322
|
var i;
|
|
2310
2323
|
if (((i = r[2]) == null ? void 0 : i.indexOf("eval")) === 0) {
|
|
2311
|
-
let e =
|
|
2324
|
+
let e = da.exec(r[2]);
|
|
2312
2325
|
e && (r[2] = e[1], r[3] = e[2], r[4] = e[3]);
|
|
2313
2326
|
}
|
|
2314
|
-
let [e, t] =
|
|
2315
|
-
return
|
|
2327
|
+
let [e, t] = _a(r[1] || "?", r[2]);
|
|
2328
|
+
return ca(t, e, r[3] ? +r[3] : void 0, r[4] ? +r[4] : void 0);
|
|
2316
2329
|
}
|
|
2317
|
-
}],
|
|
2318
|
-
let t =
|
|
2330
|
+
}], ma = /^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i, ha = /(\S+) line (\d+)(?: > eval line \d+)* > eval/i, ga = Oe(pa, [sa, (e) => {
|
|
2331
|
+
let t = ma.exec(e);
|
|
2319
2332
|
if (t) {
|
|
2320
2333
|
if (t[3] && t[3].indexOf(" > eval") > -1) {
|
|
2321
|
-
let e =
|
|
2334
|
+
let e = ha.exec(t[3]);
|
|
2322
2335
|
e && (t[1] = t[1] || "eval", t[3] = e[1], t[4] = e[2], t[5] = "");
|
|
2323
2336
|
}
|
|
2324
2337
|
let e = t[3], n = t[1] || "?";
|
|
2325
|
-
return [n, e] =
|
|
2338
|
+
return [n, e] = _a(n, e), ca(e, n, t[4] ? +t[4] : void 0, t[5] ? +t[5] : void 0);
|
|
2326
2339
|
}
|
|
2327
|
-
}]),
|
|
2340
|
+
}]), _a = (e, t) => {
|
|
2328
2341
|
let n = e.indexOf("safari-extension") !== -1, r = e.indexOf("safari-web-extension") !== -1;
|
|
2329
2342
|
return n || r ? [e.indexOf("@") === -1 ? "?" : e.split("@")[0], n ? `safari-extension:${t}` : `safari-web-extension:${t}`] : [e, t];
|
|
2330
|
-
},
|
|
2343
|
+
}, va = 1024, ya = "Breadcrumbs", ba = H(((e = {}) => {
|
|
2331
2344
|
let t = {
|
|
2332
2345
|
console: !0,
|
|
2333
2346
|
dom: !0,
|
|
@@ -2338,15 +2351,15 @@ var oa = /^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i, sa = /^\s*at (?:(.+?\)(?: \[.
|
|
|
2338
2351
|
...e
|
|
2339
2352
|
};
|
|
2340
2353
|
return {
|
|
2341
|
-
name:
|
|
2354
|
+
name: ya,
|
|
2342
2355
|
setup(e) {
|
|
2343
|
-
t.console &&
|
|
2356
|
+
t.console && Mr(Ca(e)), t.dom && Vi(Sa(e, t.dom)), t.xhr && ea(wa(e)), t.fetch && Zr(Ta(e)), t.history && Ji(Ea(e)), t.sentry && e.on("beforeSendEvent", xa(e));
|
|
2344
2357
|
}
|
|
2345
2358
|
};
|
|
2346
2359
|
}));
|
|
2347
|
-
function
|
|
2360
|
+
function xa(e) {
|
|
2348
2361
|
return function(t) {
|
|
2349
|
-
h() === e &&
|
|
2362
|
+
h() === e && U({
|
|
2350
2363
|
category: `sentry.${t.type === "transaction" ? "transaction" : "event"}`,
|
|
2351
2364
|
event_id: t.event_id,
|
|
2352
2365
|
level: t.level,
|
|
@@ -2354,17 +2367,17 @@ function va(e) {
|
|
|
2354
2367
|
}, { event: t });
|
|
2355
2368
|
};
|
|
2356
2369
|
}
|
|
2357
|
-
function
|
|
2370
|
+
function Sa(e, t) {
|
|
2358
2371
|
return function(n) {
|
|
2359
2372
|
if (h() !== e) return;
|
|
2360
2373
|
let r, i, a = typeof t == "object" ? t.serializeAttribute : void 0, o = typeof t == "object" && typeof t.maxStringLength == "number" ? t.maxStringLength : void 0;
|
|
2361
|
-
o && o >
|
|
2374
|
+
o && o > va && (Z && A.warn(`\`dom.maxStringLength\` cannot exceed ${va}, but a value of ${o} was configured. Sentry will use ${va} instead.`), o = va), typeof a == "string" && (a = [a]);
|
|
2362
2375
|
try {
|
|
2363
|
-
let e = n.event, t =
|
|
2364
|
-
r =
|
|
2376
|
+
let e = n.event, t = Da(e) ? e.target : e;
|
|
2377
|
+
r = Fi(t, {
|
|
2365
2378
|
keyAttrs: a,
|
|
2366
2379
|
maxStringLength: o
|
|
2367
|
-
}), i =
|
|
2380
|
+
}), i = ai(t);
|
|
2368
2381
|
} catch {
|
|
2369
2382
|
r = "<unknown>";
|
|
2370
2383
|
}
|
|
@@ -2373,14 +2386,14 @@ function ya(e, t) {
|
|
|
2373
2386
|
category: `ui.${n.name}`,
|
|
2374
2387
|
message: r
|
|
2375
2388
|
};
|
|
2376
|
-
i && (s.data = { "ui.component_name": i }),
|
|
2389
|
+
i && (s.data = { "ui.component_name": i }), U(s, {
|
|
2377
2390
|
event: n.event,
|
|
2378
2391
|
name: n.name,
|
|
2379
2392
|
global: n.global
|
|
2380
2393
|
});
|
|
2381
2394
|
};
|
|
2382
2395
|
}
|
|
2383
|
-
function
|
|
2396
|
+
function Ca(e) {
|
|
2384
2397
|
return function(t) {
|
|
2385
2398
|
if (h() !== e) return;
|
|
2386
2399
|
let n = {
|
|
@@ -2389,18 +2402,18 @@ function ba(e) {
|
|
|
2389
2402
|
arguments: t.args,
|
|
2390
2403
|
logger: "console"
|
|
2391
2404
|
},
|
|
2392
|
-
level:
|
|
2405
|
+
level: Fr(t.level),
|
|
2393
2406
|
message: ie(t.args, " ")
|
|
2394
2407
|
};
|
|
2395
2408
|
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);
|
|
2396
2409
|
else return;
|
|
2397
|
-
|
|
2410
|
+
U(n, {
|
|
2398
2411
|
input: t.args,
|
|
2399
2412
|
level: t.level
|
|
2400
2413
|
});
|
|
2401
2414
|
};
|
|
2402
2415
|
}
|
|
2403
|
-
function
|
|
2416
|
+
function wa(e) {
|
|
2404
2417
|
return function(t) {
|
|
2405
2418
|
if (h() !== e) return;
|
|
2406
2419
|
let { startTimestamp: n, endTimestamp: r } = t, i = t.xhr[X];
|
|
@@ -2418,12 +2431,12 @@ function xa(e) {
|
|
|
2418
2431
|
category: "xhr",
|
|
2419
2432
|
data: l,
|
|
2420
2433
|
type: "http",
|
|
2421
|
-
level:
|
|
2434
|
+
level: Kr(s)
|
|
2422
2435
|
};
|
|
2423
|
-
e.emit("beforeOutgoingRequestBreadcrumb", d, u),
|
|
2436
|
+
e.emit("beforeOutgoingRequestBreadcrumb", d, u), U(d, u);
|
|
2424
2437
|
};
|
|
2425
2438
|
}
|
|
2426
|
-
function
|
|
2439
|
+
function Ta(e) {
|
|
2427
2440
|
return function(t) {
|
|
2428
2441
|
if (h() !== e) return;
|
|
2429
2442
|
let { startTimestamp: n, endTimestamp: r } = t;
|
|
@@ -2439,7 +2452,7 @@ function Sa(e) {
|
|
|
2439
2452
|
level: "error",
|
|
2440
2453
|
type: "http"
|
|
2441
2454
|
};
|
|
2442
|
-
e.emit("beforeOutgoingRequestBreadcrumb", a, i),
|
|
2455
|
+
e.emit("beforeOutgoingRequestBreadcrumb", a, i), U(a, i);
|
|
2443
2456
|
} else {
|
|
2444
2457
|
let i = t.response, a = {
|
|
2445
2458
|
...t.fetchData,
|
|
@@ -2453,17 +2466,17 @@ function Sa(e) {
|
|
|
2453
2466
|
category: "fetch",
|
|
2454
2467
|
data: a,
|
|
2455
2468
|
type: "http",
|
|
2456
|
-
level:
|
|
2469
|
+
level: Kr(a.status_code)
|
|
2457
2470
|
};
|
|
2458
|
-
e.emit("beforeOutgoingRequestBreadcrumb", s, o),
|
|
2471
|
+
e.emit("beforeOutgoingRequestBreadcrumb", s, o), U(s, o);
|
|
2459
2472
|
}
|
|
2460
2473
|
};
|
|
2461
2474
|
}
|
|
2462
|
-
function
|
|
2475
|
+
function Ea(e) {
|
|
2463
2476
|
return function(t) {
|
|
2464
2477
|
if (h() !== e) return;
|
|
2465
|
-
let n = t.from, r = t.to, i =
|
|
2466
|
-
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),
|
|
2478
|
+
let n = t.from, r = t.to, i = rr(G.location.href), a = n ? rr(n) : void 0, o = rr(r);
|
|
2479
|
+
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), U({
|
|
2467
2480
|
category: "navigation",
|
|
2468
2481
|
data: {
|
|
2469
2482
|
from: n,
|
|
@@ -2472,12 +2485,12 @@ function Ca(e) {
|
|
|
2472
2485
|
});
|
|
2473
2486
|
};
|
|
2474
2487
|
}
|
|
2475
|
-
function
|
|
2488
|
+
function Da(e) {
|
|
2476
2489
|
return !!e && !!e.target;
|
|
2477
2490
|
}
|
|
2478
2491
|
//#endregion
|
|
2479
2492
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.69.0/node_modules/@sentry/browser/build/npm/esm/prod/integrations/browserapierrors.js
|
|
2480
|
-
var
|
|
2493
|
+
var Oa = "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(","), ka = "BrowserApiErrors", Aa = H(((e = {}) => {
|
|
2481
2494
|
let t = {
|
|
2482
2495
|
XMLHttpRequest: !0,
|
|
2483
2496
|
eventTarget: !0,
|
|
@@ -2488,33 +2501,33 @@ var Ta = "EventTarget,Window,Node,ApplicationCache,AudioTrackList,BroadcastChann
|
|
|
2488
2501
|
...e
|
|
2489
2502
|
};
|
|
2490
2503
|
return {
|
|
2491
|
-
name:
|
|
2504
|
+
name: ka,
|
|
2492
2505
|
setupOnce() {
|
|
2493
|
-
t.setTimeout && M(
|
|
2506
|
+
t.setTimeout && M(G, "setTimeout", ja), t.setInterval && M(G, "setInterval", ja), t.requestAnimationFrame && M(G, "requestAnimationFrame", Ma), t.XMLHttpRequest && "XMLHttpRequest" in G && M(XMLHttpRequest.prototype, "send", Na);
|
|
2494
2507
|
let e = t.eventTarget;
|
|
2495
|
-
e && (Array.isArray(e) ? e :
|
|
2508
|
+
e && (Array.isArray(e) ? e : Oa).forEach((e) => Pa(e, t));
|
|
2496
2509
|
}
|
|
2497
2510
|
};
|
|
2498
2511
|
}));
|
|
2499
|
-
function
|
|
2512
|
+
function ja(e) {
|
|
2500
2513
|
return function(...t) {
|
|
2501
2514
|
let n = t[0];
|
|
2502
|
-
return t[0] =
|
|
2515
|
+
return t[0] = K(n, { mechanism: {
|
|
2503
2516
|
handled: !1,
|
|
2504
2517
|
type: `auto.browser.browserapierrors.${k(e)}`
|
|
2505
2518
|
} }), e.apply(this, t);
|
|
2506
2519
|
};
|
|
2507
2520
|
}
|
|
2508
|
-
function
|
|
2521
|
+
function Ma(e) {
|
|
2509
2522
|
return function(t) {
|
|
2510
|
-
return e.apply(this, [
|
|
2523
|
+
return e.apply(this, [K(t, { mechanism: {
|
|
2511
2524
|
data: { handler: k(e) },
|
|
2512
2525
|
handled: !1,
|
|
2513
2526
|
type: "auto.browser.browserapierrors.requestAnimationFrame"
|
|
2514
2527
|
} })]);
|
|
2515
2528
|
};
|
|
2516
2529
|
}
|
|
2517
|
-
function
|
|
2530
|
+
function Na(e) {
|
|
2518
2531
|
return function(...t) {
|
|
2519
2532
|
let n = this;
|
|
2520
2533
|
return [
|
|
@@ -2529,18 +2542,18 @@ function Aa(e) {
|
|
|
2529
2542
|
handled: !1,
|
|
2530
2543
|
type: `auto.browser.browserapierrors.xhr.${e}`
|
|
2531
2544
|
} }, r = S(t);
|
|
2532
|
-
return r && (n.mechanism.data.handler = k(r)),
|
|
2545
|
+
return r && (n.mechanism.data.handler = k(r)), K(t, n);
|
|
2533
2546
|
});
|
|
2534
2547
|
}), e.apply(this, t);
|
|
2535
2548
|
};
|
|
2536
2549
|
}
|
|
2537
|
-
function
|
|
2550
|
+
function Pa(e, t) {
|
|
2538
2551
|
var n, r;
|
|
2539
|
-
let i = (n =
|
|
2552
|
+
let i = (n = G[e]) == null ? void 0 : n.prototype;
|
|
2540
2553
|
!(i == null || (r = i.hasOwnProperty) == null) && r.call(i, "addEventListener") && (M(i, "addEventListener", function(n) {
|
|
2541
2554
|
return function(r, i, a) {
|
|
2542
2555
|
try {
|
|
2543
|
-
|
|
2556
|
+
Fa(i) && (i.handleEvent = K(i.handleEvent, { mechanism: {
|
|
2544
2557
|
data: {
|
|
2545
2558
|
handler: k(i),
|
|
2546
2559
|
target: e
|
|
@@ -2549,9 +2562,9 @@ function ja(e, t) {
|
|
|
2549
2562
|
type: "auto.browser.browserapierrors.handleEvent"
|
|
2550
2563
|
} }));
|
|
2551
2564
|
} catch {}
|
|
2552
|
-
return t.unregisterOriginalCallbacks &&
|
|
2565
|
+
return t.unregisterOriginalCallbacks && Ia(this, r, i), n.apply(this, [
|
|
2553
2566
|
r,
|
|
2554
|
-
|
|
2567
|
+
K(i, { mechanism: {
|
|
2555
2568
|
data: {
|
|
2556
2569
|
handler: k(i),
|
|
2557
2570
|
target: e
|
|
@@ -2574,42 +2587,42 @@ function ja(e, t) {
|
|
|
2574
2587
|
};
|
|
2575
2588
|
}));
|
|
2576
2589
|
}
|
|
2577
|
-
function
|
|
2590
|
+
function Fa(e) {
|
|
2578
2591
|
return typeof e.handleEvent == "function";
|
|
2579
2592
|
}
|
|
2580
|
-
function
|
|
2593
|
+
function Ia(e, t, n) {
|
|
2581
2594
|
e && typeof e == "object" && "removeEventListener" in e && typeof e.removeEventListener == "function" && e.removeEventListener(t, n);
|
|
2582
2595
|
}
|
|
2583
2596
|
//#endregion
|
|
2584
2597
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.69.0/node_modules/@sentry/browser/build/npm/esm/prod/integrations/browsersession.js
|
|
2585
|
-
var
|
|
2598
|
+
var La = H((e = {}) => {
|
|
2586
2599
|
var t;
|
|
2587
2600
|
let n = (t = e.lifecycle) == null ? "route" : t;
|
|
2588
2601
|
return {
|
|
2589
2602
|
name: "BrowserSession",
|
|
2590
2603
|
setupOnce() {
|
|
2591
|
-
if (
|
|
2604
|
+
if (G.document === void 0) {
|
|
2592
2605
|
Z && A.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");
|
|
2593
2606
|
return;
|
|
2594
2607
|
}
|
|
2595
2608
|
ge({ ignoreDuration: !0 });
|
|
2596
2609
|
let e = !1;
|
|
2597
|
-
|
|
2610
|
+
Ni(() => {
|
|
2598
2611
|
e || (Le(), e = !0);
|
|
2599
2612
|
});
|
|
2600
2613
|
let t = oe(), r = t.getUser();
|
|
2601
2614
|
t.addScopeListener((t) => {
|
|
2602
2615
|
let n = t.getUser();
|
|
2603
2616
|
((r == null ? void 0 : r.id) !== (n == null ? void 0 : n.id) || (r == null ? void 0 : r.ip_address) !== (n == null ? void 0 : n.ip_address)) && (r = n, e && Le());
|
|
2604
|
-
}), n === "route" &&
|
|
2617
|
+
}), n === "route" && Ji(({ from: t, to: n }) => {
|
|
2605
2618
|
t !== n && (ge({ ignoreDuration: !0 }), Le(), e = !0);
|
|
2606
2619
|
});
|
|
2607
2620
|
}
|
|
2608
2621
|
};
|
|
2609
|
-
}),
|
|
2610
|
-
name:
|
|
2622
|
+
}), Ra = "CultureContext", za = H((() => ({
|
|
2623
|
+
name: Ra,
|
|
2611
2624
|
preprocessEvent(e) {
|
|
2612
|
-
let t =
|
|
2625
|
+
let t = Ba();
|
|
2613
2626
|
if (t) {
|
|
2614
2627
|
var n;
|
|
2615
2628
|
e.contexts = {
|
|
@@ -2622,17 +2635,17 @@ var Pa = V((e = {}) => {
|
|
|
2622
2635
|
}
|
|
2623
2636
|
},
|
|
2624
2637
|
processSegmentSpan(e) {
|
|
2625
|
-
let t =
|
|
2626
|
-
t &&
|
|
2638
|
+
let t = Ba();
|
|
2639
|
+
t && zt(e, {
|
|
2627
2640
|
"culture.locale": t.locale,
|
|
2628
2641
|
"culture.timezone": t.timezone,
|
|
2629
2642
|
"culture.calendar": t.calendar
|
|
2630
2643
|
});
|
|
2631
2644
|
}
|
|
2632
2645
|
})));
|
|
2633
|
-
function
|
|
2646
|
+
function Ba() {
|
|
2634
2647
|
try {
|
|
2635
|
-
let e =
|
|
2648
|
+
let e = G.Intl;
|
|
2636
2649
|
if (!e) return;
|
|
2637
2650
|
let t = e.DateTimeFormat().resolvedOptions();
|
|
2638
2651
|
return {
|
|
@@ -2646,27 +2659,27 @@ function La() {
|
|
|
2646
2659
|
}
|
|
2647
2660
|
//#endregion
|
|
2648
2661
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.69.0/node_modules/@sentry/browser/build/npm/esm/prod/integrations/globalhandlers.js
|
|
2649
|
-
var
|
|
2662
|
+
var Va = "GlobalHandlers", Ha = H(((e = {}) => {
|
|
2650
2663
|
let t = {
|
|
2651
2664
|
onerror: !0,
|
|
2652
2665
|
onunhandledrejection: !0,
|
|
2653
2666
|
...e
|
|
2654
2667
|
};
|
|
2655
2668
|
return {
|
|
2656
|
-
name:
|
|
2669
|
+
name: Va,
|
|
2657
2670
|
setupOnce() {
|
|
2658
2671
|
Error.stackTraceLimit = 50;
|
|
2659
2672
|
},
|
|
2660
2673
|
setup(e) {
|
|
2661
|
-
t.onerror && (
|
|
2674
|
+
t.onerror && (Ua(e), Ja("onerror")), t.onunhandledrejection && (Wa(e), Ja("onunhandledrejection"));
|
|
2662
2675
|
}
|
|
2663
2676
|
};
|
|
2664
2677
|
}));
|
|
2665
|
-
function
|
|
2666
|
-
|
|
2667
|
-
let { stackParser: n, attachStacktrace: r } =
|
|
2668
|
-
if (h() !== e ||
|
|
2669
|
-
let { msg: i, url: a, line: o, column: s, error: c } = t, l =
|
|
2678
|
+
function Ua(e) {
|
|
2679
|
+
ut((t) => {
|
|
2680
|
+
let { stackParser: n, attachStacktrace: r } = Ya();
|
|
2681
|
+
if (h() !== e || si()) return;
|
|
2682
|
+
let { msg: i, url: a, line: o, column: s, error: c } = t, l = qa(Si(n, c || i, void 0, r, !1), a, o, s);
|
|
2670
2683
|
l.level = "error", Be(l, {
|
|
2671
2684
|
originalException: c,
|
|
2672
2685
|
mechanism: {
|
|
@@ -2676,11 +2689,11 @@ function Ba(e) {
|
|
|
2676
2689
|
});
|
|
2677
2690
|
});
|
|
2678
2691
|
}
|
|
2679
|
-
function
|
|
2680
|
-
|
|
2681
|
-
let { stackParser: n, attachStacktrace: r } =
|
|
2682
|
-
if (h() !== e ||
|
|
2683
|
-
let i =
|
|
2692
|
+
function Wa(e) {
|
|
2693
|
+
pt((t) => {
|
|
2694
|
+
let { stackParser: n, attachStacktrace: r } = Ya();
|
|
2695
|
+
if (h() !== e || si()) return;
|
|
2696
|
+
let i = Ga(t), a = me(i) ? Ka(i) : Si(n, i, void 0, r, !0);
|
|
2684
2697
|
a.level = "error", Be(a, {
|
|
2685
2698
|
originalException: i,
|
|
2686
2699
|
mechanism: {
|
|
@@ -2690,7 +2703,7 @@ function Va(e) {
|
|
|
2690
2703
|
});
|
|
2691
2704
|
});
|
|
2692
2705
|
}
|
|
2693
|
-
function
|
|
2706
|
+
function Ga(e) {
|
|
2694
2707
|
if (me(e)) return e;
|
|
2695
2708
|
try {
|
|
2696
2709
|
if ("reason" in e) return e.reason;
|
|
@@ -2698,47 +2711,47 @@ function Ha(e) {
|
|
|
2698
2711
|
} catch {}
|
|
2699
2712
|
return e;
|
|
2700
2713
|
}
|
|
2701
|
-
function
|
|
2714
|
+
function Ka(e) {
|
|
2702
2715
|
return { exception: { values: [{
|
|
2703
2716
|
type: "UnhandledRejection",
|
|
2704
2717
|
value: `Non-Error promise rejection captured with value: ${String(e)}`
|
|
2705
2718
|
}] } };
|
|
2706
2719
|
}
|
|
2707
|
-
function
|
|
2720
|
+
function qa(e, t, n, r) {
|
|
2708
2721
|
let i = e.exception = e.exception || {}, a = i.values = i.values || [], o = a[0] = a[0] || {}, s = o.stacktrace = o.stacktrace || {}, c = s.frames = s.frames || [];
|
|
2709
2722
|
if (c.length === 0) {
|
|
2710
2723
|
var l;
|
|
2711
2724
|
c.push({
|
|
2712
2725
|
colno: r,
|
|
2713
2726
|
lineno: n,
|
|
2714
|
-
filename: (l =
|
|
2727
|
+
filename: (l = Xa(t)) == null ? ii() : l,
|
|
2715
2728
|
function: "?",
|
|
2716
2729
|
in_app: !0
|
|
2717
2730
|
});
|
|
2718
2731
|
}
|
|
2719
2732
|
return e;
|
|
2720
2733
|
}
|
|
2721
|
-
function
|
|
2734
|
+
function Ja(e) {
|
|
2722
2735
|
Z && A.log(`Global Handler attached: ${e}`);
|
|
2723
2736
|
}
|
|
2724
|
-
function
|
|
2737
|
+
function Ya() {
|
|
2725
2738
|
let e = h();
|
|
2726
2739
|
return (e == null ? void 0 : e.getOptions()) || {
|
|
2727
2740
|
stackParser: () => [],
|
|
2728
2741
|
attachStacktrace: !1
|
|
2729
2742
|
};
|
|
2730
2743
|
}
|
|
2731
|
-
function
|
|
2732
|
-
if (!(!N(e) || e.length === 0)) return e.startsWith("data:") ? `<${
|
|
2744
|
+
function Xa(e) {
|
|
2745
|
+
if (!(!N(e) || e.length === 0)) return e.startsWith("data:") ? `<${ir(e, !1)}>` : e;
|
|
2733
2746
|
}
|
|
2734
2747
|
//#endregion
|
|
2735
2748
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.69.0/node_modules/@sentry/browser/build/npm/esm/prod/integrations/httpcontext.js
|
|
2736
|
-
var
|
|
2749
|
+
var Za = H(() => ({
|
|
2737
2750
|
name: "HttpContext",
|
|
2738
2751
|
preprocessEvent(e) {
|
|
2739
2752
|
var t;
|
|
2740
|
-
if (!
|
|
2741
|
-
let n =
|
|
2753
|
+
if (!G.navigator && !G.location && !G.document) return;
|
|
2754
|
+
let n = li(), r = {
|
|
2742
2755
|
...n.headers,
|
|
2743
2756
|
...(t = e.request) == null ? void 0 : t.headers
|
|
2744
2757
|
};
|
|
@@ -2751,102 +2764,102 @@ var Ja = V(() => ({
|
|
|
2751
2764
|
processSegmentSpan(e) {
|
|
2752
2765
|
var t;
|
|
2753
2766
|
let n = (t = e.attributes) == null ? void 0 : t[ae];
|
|
2754
|
-
if (!
|
|
2755
|
-
let r =
|
|
2756
|
-
|
|
2757
|
-
[
|
|
2767
|
+
if (!G.navigator && !G.location && !G.document) return;
|
|
2768
|
+
let r = li();
|
|
2769
|
+
zt(e, {
|
|
2770
|
+
[Rt]: n === "http.client" ? void 0 : r.url,
|
|
2758
2771
|
"http.request.header.user_agent": r.headers["User-Agent"],
|
|
2759
2772
|
"http.request.header.referer": r.headers.Referer
|
|
2760
2773
|
});
|
|
2761
2774
|
}
|
|
2762
|
-
})),
|
|
2763
|
-
let t = e.limit ||
|
|
2775
|
+
})), Qa = "cause", $a = 5, eo = "LinkedErrors", to = H(((e = {}) => {
|
|
2776
|
+
let t = e.limit || $a, n = e.key || Qa;
|
|
2764
2777
|
return {
|
|
2765
|
-
name:
|
|
2778
|
+
name: eo,
|
|
2766
2779
|
preprocessEvent(e, r, i) {
|
|
2767
|
-
|
|
2780
|
+
wr(ui, i.getOptions().stackParser, n, t, e, r);
|
|
2768
2781
|
}
|
|
2769
2782
|
};
|
|
2770
|
-
})),
|
|
2771
|
-
function
|
|
2783
|
+
})), no = /^HTML(\w*)Element$/;
|
|
2784
|
+
function ro(e) {
|
|
2772
2785
|
if (typeof window < "u" && e === window) return "[Window]";
|
|
2773
2786
|
if (typeof document < "u" && e === document) return "[Document]";
|
|
2774
|
-
if (
|
|
2775
|
-
let t =
|
|
2776
|
-
if (
|
|
2787
|
+
if (ra(e)) {
|
|
2788
|
+
let t = io(e);
|
|
2789
|
+
if (no.test(t)) return `[HTMLElement: ${Fi(e)}]`;
|
|
2777
2790
|
}
|
|
2778
2791
|
}
|
|
2779
|
-
function
|
|
2792
|
+
function io(e) {
|
|
2780
2793
|
let t = Object.getPrototypeOf(e);
|
|
2781
2794
|
return t != null && t.constructor ? t.constructor.name : "null prototype";
|
|
2782
2795
|
}
|
|
2783
2796
|
//#endregion
|
|
2784
2797
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.69.0/node_modules/@sentry/browser/build/npm/esm/prod/utils/detectBrowserExtension.js
|
|
2785
|
-
function
|
|
2786
|
-
return
|
|
2798
|
+
function ao() {
|
|
2799
|
+
return oo() ? (Z && Ae(() => {
|
|
2787
2800
|
console.error("[Sentry] You cannot use Sentry.init() in a browser extension, see: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/");
|
|
2788
2801
|
}), !0) : !1;
|
|
2789
2802
|
}
|
|
2790
|
-
function
|
|
2803
|
+
function oo() {
|
|
2791
2804
|
var e;
|
|
2792
|
-
if (
|
|
2793
|
-
let t =
|
|
2805
|
+
if (G.window === void 0) return !1;
|
|
2806
|
+
let t = G;
|
|
2794
2807
|
if (t.nw) return !1;
|
|
2795
2808
|
let n = t.chrome || t.browser;
|
|
2796
2809
|
if (!(!(n == null || (e = n.runtime) == null) && e.id)) return !1;
|
|
2797
|
-
let r =
|
|
2798
|
-
return !(
|
|
2810
|
+
let r = ii();
|
|
2811
|
+
return !(G === G.top && /^(?:chrome-extension|moz-extension|ms-browser-extension|safari-web-extension):\/\//.test(r));
|
|
2799
2812
|
}
|
|
2800
2813
|
//#endregion
|
|
2801
2814
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.69.0/node_modules/@sentry/browser/build/npm/esm/prod/sdk.js
|
|
2802
|
-
function
|
|
2815
|
+
function so(e) {
|
|
2803
2816
|
return [
|
|
2804
|
-
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
|
|
2817
|
+
mr(),
|
|
2818
|
+
ur(),
|
|
2819
|
+
Gr(),
|
|
2820
|
+
Aa(),
|
|
2821
|
+
ba(),
|
|
2822
|
+
Ha(),
|
|
2823
|
+
to(),
|
|
2824
|
+
Lr(),
|
|
2825
|
+
Za(),
|
|
2809
2826
|
za(),
|
|
2810
|
-
|
|
2811
|
-
Fr(),
|
|
2812
|
-
Ja(),
|
|
2813
|
-
Ia(),
|
|
2814
|
-
Pa()
|
|
2827
|
+
La()
|
|
2815
2828
|
];
|
|
2816
2829
|
}
|
|
2817
|
-
function
|
|
2818
|
-
let t = !e.skipBrowserExtensionCheck &&
|
|
2830
|
+
function co(e = {}) {
|
|
2831
|
+
let t = !e.skipBrowserExtensionCheck && ao(), n = e.defaultIntegrations == null ? so() : e.defaultIntegrations, r = {
|
|
2819
2832
|
...e,
|
|
2820
2833
|
enabled: !t && e.enabled,
|
|
2821
|
-
stackParser: xe(e.stackParser ||
|
|
2822
|
-
integrations:
|
|
2834
|
+
stackParser: xe(e.stackParser || ga),
|
|
2835
|
+
integrations: Jt({
|
|
2823
2836
|
integrations: e.integrations,
|
|
2824
2837
|
defaultIntegrations: n
|
|
2825
2838
|
}),
|
|
2826
|
-
transport: e.transport ||
|
|
2839
|
+
transport: e.transport || aa
|
|
2827
2840
|
};
|
|
2828
|
-
return b(
|
|
2841
|
+
return b(ro), Qn(Di, r);
|
|
2829
2842
|
}
|
|
2830
2843
|
//#endregion
|
|
2831
2844
|
//#region ../../node_modules/.pnpm/@sentry+react@10.69.0_react@19.2.8/node_modules/@sentry/react/build/esm/isSyntheticEvent.js
|
|
2832
|
-
function
|
|
2845
|
+
function lo(e) {
|
|
2833
2846
|
return Te(e) && "nativeEvent" in e && "preventDefault" in e && "stopPropagation" in e;
|
|
2834
2847
|
}
|
|
2835
2848
|
//#endregion
|
|
2836
2849
|
//#region ../../node_modules/.pnpm/@sentry+react@10.69.0_react@19.2.8/node_modules/@sentry/react/build/esm/sdk.js
|
|
2837
|
-
function
|
|
2850
|
+
function uo(e) {
|
|
2838
2851
|
let t = { ...e };
|
|
2839
|
-
|
|
2840
|
-
let n =
|
|
2841
|
-
return b(
|
|
2852
|
+
or(t, "react"), pe("react", { version: it.version });
|
|
2853
|
+
let n = co(t);
|
|
2854
|
+
return b(fo), n;
|
|
2842
2855
|
}
|
|
2843
|
-
function
|
|
2844
|
-
return
|
|
2856
|
+
function fo(e) {
|
|
2857
|
+
return lo(e) ? "[SyntheticEvent]" : ro(e);
|
|
2845
2858
|
}
|
|
2846
2859
|
//#endregion
|
|
2847
2860
|
//#region src/tools/sentry.ts
|
|
2848
|
-
var
|
|
2849
|
-
function
|
|
2861
|
+
var po = "production", mo = "3.25.0";
|
|
2862
|
+
function ho() {
|
|
2850
2863
|
let e = "sentry_offline_queue";
|
|
2851
2864
|
return {
|
|
2852
2865
|
async push(t) {
|
|
@@ -2893,16 +2906,16 @@ function fo() {
|
|
|
2893
2906
|
}
|
|
2894
2907
|
};
|
|
2895
2908
|
}
|
|
2896
|
-
function
|
|
2897
|
-
let t =
|
|
2898
|
-
|
|
2909
|
+
function go(e) {
|
|
2910
|
+
let t = nr(aa);
|
|
2911
|
+
uo({
|
|
2899
2912
|
dsn: "https://b2eafc5a038fa2c535099e431de219f2@o4510697102114816.ingest.us.sentry.io/4510697103097856",
|
|
2900
|
-
release:
|
|
2901
|
-
environment:
|
|
2913
|
+
release: mo,
|
|
2914
|
+
environment: po,
|
|
2902
2915
|
sendDefaultPii: !0,
|
|
2903
2916
|
transport: (e) => t({
|
|
2904
2917
|
...e,
|
|
2905
|
-
createStore: () =>
|
|
2918
|
+
createStore: () => ho(),
|
|
2906
2919
|
flushAtStartup: !0,
|
|
2907
2920
|
shouldStore: async (e, t) => {
|
|
2908
2921
|
var n, r, i;
|
|
@@ -2926,9 +2939,9 @@ function po(e) {
|
|
|
2926
2939
|
beforeSend(e) {
|
|
2927
2940
|
return e;
|
|
2928
2941
|
}
|
|
2929
|
-
}), e.eventId && Ne("eventId", e.eventId), Ne("isWebview", e.isWebview), Ne("source", "main"), ze({ ip_address: "{{auto}}" }),
|
|
2942
|
+
}), e.eventId && Ne("eventId", e.eventId), Ne("isWebview", e.isWebview), Ne("source", "main"), ze({ ip_address: "{{auto}}" }), _o();
|
|
2930
2943
|
}
|
|
2931
|
-
function
|
|
2944
|
+
function _o() {
|
|
2932
2945
|
window.addEventListener("unhandledrejection", (e) => {
|
|
2933
2946
|
je(e.reason, { contexts: { unhandledRejection: { promise: e.promise } } });
|
|
2934
2947
|
});
|
|
@@ -2946,15 +2959,15 @@ function mo() {
|
|
|
2946
2959
|
}
|
|
2947
2960
|
//#endregion
|
|
2948
2961
|
//#region src/utils/heatmap-enabled.ts
|
|
2949
|
-
function
|
|
2962
|
+
function vo(e) {
|
|
2950
2963
|
return Object.keys(e).length > 0 && e.enabled !== !1;
|
|
2951
2964
|
}
|
|
2952
2965
|
//#endregion
|
|
2953
2966
|
//#region src/utils/is-localhost.ts
|
|
2954
|
-
var { hostname: Q, protocol:
|
|
2967
|
+
var { hostname: Q, protocol: yo } = window.location, bo = Q === "localhost" || Q === "127.0.0.1" || Q === "::1" || Q.startsWith("192.168.") || Q.startsWith("10.") || /^172\.(1[6-9]|2[0-9]|3[0-1])\./.test(Q) || Q.endsWith(".local") || yo === "file:" || Q === "";
|
|
2955
2968
|
//#endregion
|
|
2956
2969
|
//#region src/utils/loadCustomCss.ts
|
|
2957
|
-
async function
|
|
2970
|
+
async function xo(e, t) {
|
|
2958
2971
|
if (e != null && e.customCss) {
|
|
2959
2972
|
let r = document.createElement("style");
|
|
2960
2973
|
if (r.textContent = e.customCss, document.head.append(r), typeof ShadowRoot < "u" && t instanceof ShadowRoot) {
|
|
@@ -2966,7 +2979,7 @@ async function vo(e, t) {
|
|
|
2966
2979
|
}
|
|
2967
2980
|
//#endregion
|
|
2968
2981
|
//#region src/utils/loadIcons.ts
|
|
2969
|
-
async function
|
|
2982
|
+
async function So(e) {
|
|
2970
2983
|
try {
|
|
2971
2984
|
(await Promise.allSettled(Object.entries({
|
|
2972
2985
|
departure: "icons/departure.svg",
|
|
@@ -2985,13 +2998,13 @@ async function yo(e) {
|
|
|
2985
2998
|
}
|
|
2986
2999
|
//#endregion
|
|
2987
3000
|
//#region src/utils/use-shadow.ts
|
|
2988
|
-
var
|
|
3001
|
+
var Co, wo = typeof document < "u" && !!((Co = document.body) != null && Co.attachShadow) && o && localStorage.getItem("noShadowDom") !== "1" && window.FontFace !== void 0;
|
|
2989
3002
|
//#endregion
|
|
2990
3003
|
//#region src/floorplan.loader.ts
|
|
2991
3004
|
function $() {
|
|
2992
3005
|
throw Error("FloorPlan not ready");
|
|
2993
3006
|
}
|
|
2994
|
-
var
|
|
3007
|
+
var To = "FloorPlan destroyed before it finished loading", Eo = class {
|
|
2995
3008
|
get ready() {
|
|
2996
3009
|
return this._ready;
|
|
2997
3010
|
}
|
|
@@ -3109,8 +3122,15 @@ var So = class {
|
|
|
3109
3122
|
getGeoConfig() {
|
|
3110
3123
|
$();
|
|
3111
3124
|
}
|
|
3125
|
+
destroy() {
|
|
3126
|
+
this.destroyed || (this.destroyed = !0, this.rejectReady(/* @__PURE__ */ Error(To)), this.releaseResources());
|
|
3127
|
+
}
|
|
3112
3128
|
unstable_destroy() {
|
|
3113
|
-
|
|
3129
|
+
this.destroy();
|
|
3130
|
+
}
|
|
3131
|
+
releaseResources() {
|
|
3132
|
+
for (window.removeEventListener("__efpStyleLoad", this.efpStyleLoadHandler); this.element.firstChild;) this.element.removeChild(this.element.firstChild);
|
|
3133
|
+
delete this.element.__expofp, ot();
|
|
3114
3134
|
}
|
|
3115
3135
|
highlightExhibitors(e) {
|
|
3116
3136
|
$();
|
|
@@ -3167,29 +3187,29 @@ var So = class {
|
|
|
3167
3187
|
$();
|
|
3168
3188
|
}
|
|
3169
3189
|
constructor(e, n) {
|
|
3170
|
-
this.renderTarget = void 0, this._ready = void 0, this.element = void 0, this.eventId = void 0, this.noOverlay = void 0, this.offHistory = void 0, this.ignoreQuery = void 0, this.consent = void 0, this.onInit = void 0, this.disableRuntimeAlerts = void 0, this.viewerMode = void 0, this.maplibre = void 0, this.efpStyleLoadHandler = void 0, this.resolveReady = () => void 0, this.icons = /* @__PURE__ */ new Map(), this.enableRotation = !0, this.alwaysShowSidebar = !1, this.onBoothClick = void 0, this.onBookmarkClick = void 0, this.onVisitedClick = void 0, this.onCategoryClick = void 0, this.onFpConfigured = void 0, this.onDirection = void 0, this.onDetails = void 0, this.onExhibitorCustomButtonClick = void 0, this.onGetCoordsClick = void 0, this.onMarkerClick = void 0, this.onLeaveEvent = void 0;
|
|
3190
|
+
this.renderTarget = void 0, this._ready = void 0, this.element = void 0, this.eventId = void 0, this.noOverlay = void 0, this.offHistory = void 0, this.ignoreQuery = void 0, this.consent = void 0, this.onInit = void 0, this.disableRuntimeAlerts = void 0, this.viewerMode = void 0, this.maplibre = void 0, this.efpStyleLoadHandler = void 0, this.resolveReady = () => void 0, this.rejectReady = () => void 0, this.icons = /* @__PURE__ */ new Map(), this.enableRotation = !0, this.alwaysShowSidebar = !1, this.destroyed = !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;
|
|
3171
3191
|
let o = s();
|
|
3172
|
-
this.noOverlay = !!o.noOverlay, this.offHistory = !!o.offHistory, this.ignoreQuery = o.ignoreQuery, this.consent = o.consent, this.consent === "ask" && (Xe ? this.consent = "granted" :
|
|
3173
|
-
this.resolveReady = e;
|
|
3174
|
-
}), this.element = n;
|
|
3192
|
+
this.noOverlay = !!o.noOverlay, this.offHistory = !!o.offHistory, this.ignoreQuery = o.ignoreQuery, this.consent = o.consent, this.consent === "ask" && (Xe ? this.consent = "granted" : bo && !l && (this.consent = "denied")), this.onBoothClick = e.onBoothClick, this.onBookmarkClick = e.onBookmarkClick, this.onVisitedClick = e.onVisitedClick, this.onCategoryClick = e.onCategoryClick, this.onDetails = e.onDetails, this.onExhibitorCustomButtonClick = e.onExhibitorCustomButtonClick, this.onGetCoordsClick = e.onGetCoordsClick, this.onMarkerClick = e.onMarkerClick, this.onFpConfigured = e.onFpConfigured, this.onDirection = e.onDirection, this.onInit = e.onInit, this.onCurrentPositionChanged = e.onCurrentPositionChanged, this.onFloorActivated = e.onFloorActivated, this.onLeaveEvent = e.onLeaveEvent, this.viewerMode = !!o.viewerMode, this.disableRuntimeAlerts = o.disableRuntimeAlerts, this.maplibre = o.maplibre, window.__efpMaplibre = o.maplibre, this._ready = new Promise((e, t) => {
|
|
3193
|
+
this.resolveReady = e, this.rejectReady = t;
|
|
3194
|
+
}), this._ready.catch(() => void 0), this.element = n;
|
|
3175
3195
|
let c = n;
|
|
3176
3196
|
if (c.__expofp) throw Error("Element already in use");
|
|
3177
3197
|
c.__expofp = this;
|
|
3178
3198
|
let d = o.expo;
|
|
3179
|
-
|
|
3199
|
+
go({
|
|
3180
3200
|
eventId: d || "",
|
|
3181
3201
|
isWebview: Xe
|
|
3182
3202
|
}), this.eventId = d, window.__efpEvent = d, window.__efpElement = n;
|
|
3183
3203
|
let f = document.createElement("div");
|
|
3184
3204
|
f.style.height = "100%", f.style.width = "100%", n.appendChild(f);
|
|
3185
3205
|
let p;
|
|
3186
|
-
if (
|
|
3206
|
+
if (wo) {
|
|
3187
3207
|
p = f.attachShadow({ mode: "open" });
|
|
3188
3208
|
let e = p, t = document;
|
|
3189
3209
|
e.createElement = (...e) => t.createElement(...e), e.createElementNS = (...e) => t.createElementNS(...e), e.createTextNode = (...e) => t.createTextNode(...e);
|
|
3190
3210
|
} else p = f;
|
|
3191
3211
|
let m = document.createElement("div");
|
|
3192
|
-
m.style.height = "100%", m.style.width = "100%", p.appendChild(m),
|
|
3212
|
+
m.style.height = "100%", m.style.width = "100%", p.appendChild(m), wo && Object.defineProperty(m, "ownerDocument", { value: p }), window.__efpShadowDOMStyleParent = wo ? p : void 0, this.renderTarget = m, u.log("Instantiating ExpoFP floorplan", n, d);
|
|
3193
3213
|
let h = 0;
|
|
3194
3214
|
this.efpStyleLoadHandler = function(e) {
|
|
3195
3215
|
var t;
|
|
@@ -3203,7 +3223,7 @@ var So = class {
|
|
|
3203
3223
|
(async function() {
|
|
3204
3224
|
var e, o, c;
|
|
3205
3225
|
let l = s();
|
|
3206
|
-
await a();
|
|
3226
|
+
if (await a(), g.destroyed) return;
|
|
3207
3227
|
let d = new URLSearchParams(window.location.search), m, h;
|
|
3208
3228
|
if (l != null && l.trackerUrl) try {
|
|
3209
3229
|
m = new URL(l.trackerUrl), h = m.searchParams.get("expoId");
|
|
@@ -3222,7 +3242,7 @@ var So = class {
|
|
|
3222
3242
|
})
|
|
3223
3243
|
}), i = [];
|
|
3224
3244
|
r.ok && (i = (await r.json()).map(e.dataMapper)), window.__heatmapDataYah = { yah: i };
|
|
3225
|
-
}, v = (e = l == null ? void 0 : l.heatmap) == null ? {} : e, y =
|
|
3245
|
+
}, v = (e = l == null ? void 0 : l.heatmap) == null ? {} : e, y = vo(v) || d.get("heatmap") === "true", b = v.variant === "yah" || d.get("type") === "yah", x = v.kiosk === !0 || d.get("subtype") === "kiosk";
|
|
3226
3246
|
if (y) try {
|
|
3227
3247
|
if (b) x ? await _({
|
|
3228
3248
|
dataUrl: "/api/kiosks/list/viewer",
|
|
@@ -3263,18 +3283,19 @@ var So = class {
|
|
|
3263
3283
|
i("Inter", t + "fonts/inter-500.woff2", { weight: 500 }),
|
|
3264
3284
|
i("Inter", t + "fonts/inter-600.woff2", { weight: 600 }),
|
|
3265
3285
|
i("efp-symbols", t + "fonts/efp-symbols.woff", { weight: 400 }),
|
|
3266
|
-
|
|
3267
|
-
|
|
3286
|
+
xo(l, p),
|
|
3287
|
+
So(g.icons)
|
|
3268
3288
|
];
|
|
3269
|
-
await Promise.all(w), g.
|
|
3289
|
+
if (await Promise.all(w), g.destroyed) return;
|
|
3290
|
+
g.enableRotation = (o = l == null ? void 0 : l.enableRotation) != null && o, g.alwaysShowSidebar = (c = l == null ? void 0 : l.alwaysShowSidebar) != null && c, u.log("Data loaded"), window.__storeInitAllowed = !0;
|
|
3270
3291
|
let { default: T } = await import(
|
|
3271
3292
|
/* webpackChunkName: "floorplan" */
|
|
3272
|
-
"./floorplan.ready-
|
|
3293
|
+
"./floorplan.ready-Bf3GEi21.js"
|
|
3273
3294
|
);
|
|
3274
3295
|
for (document.querySelectorAll(".expofp-floorplan-loader").forEach((e) => e.remove()); n.firstChild && n.firstChild !== f;) n.removeChild(n.firstChild);
|
|
3275
|
-
Object.setPrototypeOf(g, T.prototype).init();
|
|
3296
|
+
g.destroyed || Object.setPrototypeOf(g, T.prototype).init();
|
|
3276
3297
|
})();
|
|
3277
3298
|
}
|
|
3278
3299
|
};
|
|
3279
3300
|
//#endregion
|
|
3280
|
-
export {
|
|
3301
|
+
export { Gt as a, G as i, vo as n, et as o, Z as r, Qe as s, Eo as t };
|