@expofp/floorplan 3.2.3 → 3.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/{CookieConsent-BjWaFysp.js → CookieConsent-Dg2oD8sN.js} +775 -775
- package/dist/browser/{Debug-BMQ8SfFR.js → Debug-CbQznba_.js} +6 -6
- package/dist/browser/{Demo-ieXEa2wh.js → Demo-BdNX6_TP.js} +8 -8
- package/dist/browser/{Free-Cea7PYh9.js → Free-BwoR5utw.js} +8 -8
- package/dist/browser/{Gallery-CCa34ys6.js → Gallery-CXfebPUO.js} +10 -10
- package/dist/browser/{GpsLoader-Cj-BJQaZ.js → GpsLoader-Br89Qdn5.js} +29 -29
- package/dist/browser/{KioskStore-BjowTLA0.js → KioskStore-B2-ZAICw.js} +15 -15
- package/dist/browser/{Mapbox-DEsddFI2.js → Mapbox-B5PiDpk1.js} +8 -8
- package/dist/browser/{SetKioskMode-gokOhIPX.js → SetKioskMode-CeBuv4Qc.js} +19 -19
- package/dist/browser/{ShowKiosk-DcA-Zx_R.js → ShowKiosk-CfxC8v7B.js} +11 -11
- package/dist/browser/{ThreeComponent-CJ6_n_Rl.js → ThreeComponent-yHjpVIkt.js} +9 -9
- package/dist/browser/{TouchHand-D-T5x7kN.js → TouchHand-BEAsV_dg.js} +4 -4
- package/dist/browser/{ViewerMenuPanel-C7_ex3Bl.js → ViewerMenuPanel-Db8sxCQM.js} +21 -21
- package/dist/browser/{add-debug-secret-listener-C29UbTne.js → add-debug-secret-listener-BLEkj_Uk.js} +1 -1
- package/dist/browser/{boolean-editor-DNZuaoGD.js → boolean-editor-COimNwU3.js} +12 -12
- package/dist/browser/{bootIntercom-CMxFo3J8.js → bootIntercom-DjZFUOTC.js} +1 -1
- package/dist/browser/{box-DRinbqBx.js → box-BQZT5OqH.js} +16 -16
- package/dist/browser/{browser-zRPWCVwe.js → browser-8dPZoUbt.js} +2 -2
- package/dist/browser/bundle.json +53 -56
- package/dist/browser/{classnames-B7rnCsjB.js → classnames-BCwn2LMt.js} +2 -2
- package/dist/browser/{client-CJ9-09fR.js → client-Db8--ZUb.js} +9 -9
- package/dist/browser/{data-DlDWZI18.js → data-DmyuOKjY.js} +50 -50
- package/dist/browser/{debug-overlay-C5CPqrp6.js → debug-overlay-B4Z5LEoG.js} +27 -27
- package/dist/browser/{debug-ui-CTPaadQy.js → debug-ui-CvJwtvIB.js} +6 -6
- package/dist/browser/{dist-C3s2EJSp.js → dist-BG3wb6v1.js} +5 -5
- package/dist/browser/{dist-DinpbMpg.js → dist-C97JwCm0.js} +11 -11
- package/dist/browser/{dist-CDGPk2FL.js → dist-Dci3wfOd.js} +7 -7
- package/dist/browser/{efp-debug-init-Dy19u1Ti.js → efp-debug-init-p9zcimBs.js} +2 -2
- package/dist/browser/{enum-editor-Cq7IrrSA.js → enum-editor-o306HPmN.js} +14 -14
- package/dist/browser/{exports-CWZ_c0HJ.js → exports-CStWW5-w.js} +38 -37
- package/dist/browser/{favicon-BZ-OaL5G.js → favicon-BA1CtVMn.js} +1 -1
- package/dist/browser/{fetch-retry.umd-LWFsHf9L.js → fetch-retry.umd-Baj5gCtY.js} +2 -2
- package/dist/browser/{flex-BwBpygu1.js → flex-Bk7NLAwd.js} +8 -8
- package/dist/browser/{flex.props-CSoYeWjb.js → flex.props-DYJg7oQW.js} +4 -4
- package/dist/browser/{floorplan.loader-DOJ57WNq.js → floorplan.loader-DSLFX3Z1.js} +716 -684
- package/dist/browser/{floorplan.ready-CsgaADA6.js → floorplan.ready-D1C9tWKU.js} +267 -267
- package/dist/browser/{fuse-WHPykNSV.js → fuse-DHUSTGYM.js} +2 -2
- package/dist/browser/index.js +31 -30
- package/dist/browser/{is-debug-DyubFx37.js → is-debug-Hdaykk22.js} +4 -4
- package/dist/browser/{jsx-runtime-BICfBchw.js → jsx-runtime-BudMXsuy.js} +4 -4
- package/dist/browser/{lib-BOBi21y9.js → lib-Dl-Q0kBv.js} +5 -5
- package/dist/browser/{main-BZnuj_rf.js → main-C74Uu09R.js} +1 -1
- package/dist/browser/{mobx-B4yoAHaA.js → mobx-CqnQOCE3.js} +4 -4
- package/dist/browser/{particles.min-BRIIrex2.js → particles.min-By5wV8f0.js} +2 -2
- package/dist/browser/{prop-types-DHsQF0Hm.js → prop-types-PFP3f1FZ.js} +2 -2
- package/dist/browser/{react-CkPRU_Bs.js → react-COj6SqvB.js} +5 -5
- package/dist/browser/{react-dom-B0REPHo1.js → react-dom-BdCxtmki.js} +6 -6
- package/dist/browser/{reset-all-settings-Goz0Wk4q.js → reset-all-settings-BQEz2q9w.js} +7 -7
- package/dist/browser/{rolldown-runtime-CHY39iDV.js → rolldown-runtime-msuxsciZ.js} +1 -1
- package/dist/browser/{settings-BUujSniv.js → settings-C0lWPVRL.js} +2 -2
- package/dist/browser/{settings-item-T481NRWm.js → settings-item-Y4RmHiJ4.js} +8 -8
- package/dist/browser/{store-B01ClAzF.js → store-5PES-APA.js} +711 -695
- package/dist/browser/{string-editor-B1MRuAsA.js → string-editor-CDEAe6WK.js} +10 -10
- package/dist/browser/{theme-BYfCkbR5.js → theme-yitmRjt6.js} +29 -29
- package/dist/browser/{ui-DznZ-A7A.js → ui--XBIRzrF.js} +8 -8
- package/dist/esm/components/LevelSelector.js +1 -1
- package/dist/esm/load.js +3 -3
- package/dist/esm/store/BoothStore.js +1 -1
- package/dist/esm/store/RootStore.js +1 -1
- package/dist/esm/store/RouteStore.js +1 -1
- package/dist/esm/store/ToursStore.js +1 -1
- package/dist/esm/store/UIState.js +1 -1
- package/package.json +9 -9
- package/dist/browser/template.html +0 -113
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
(function() {
|
|
2
2
|
try {
|
|
3
3
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
4
|
-
e.SENTRY_RELEASE = { id: "3.2.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.2.5" };
|
|
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] = "45b295a2-9cb9-4b8b-8fd2-cf8dadbff5c5", e._sentryDebugIdIdentifier = "sentry-dbid-45b295a2-9cb9-4b8b-8fd2-cf8dadbff5c5");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./rolldown-runtime-
|
|
10
|
-
import { t } from "./react-
|
|
11
|
-
import { A as n, B as r, Et as i, G as a, H as o, J as s, K as c, V as l, Y as u, d, n as
|
|
12
|
-
import { $ as
|
|
9
|
+
import { r as e } from "./rolldown-runtime-msuxsciZ.js";
|
|
10
|
+
import { t } from "./react-COj6SqvB.js";
|
|
11
|
+
import { A as n, B as r, Et as i, G as a, H as o, J as s, K as c, V as l, Y as u, d, n as f, r as p, s as ee, t as te, z as ne } from "./is-debug-Hdaykk22.js";
|
|
12
|
+
import { $ as m, A as h, B as g, C as _, D as v, E as y, F as b, G as x, H as S, I as C, J as w, K as T, L as re, M as E, N as ie, O as ae, P as oe, Q as se, R as ce, S as le, T as D, U as ue, V as de, W as O, X as fe, Y as pe, Z as me, _ as he, _t as ge, a as _e, at as ve, b as ye, bt as k, c as be, ct as xe, d as Se, dt as Ce, et as we, f as Te, ft as Ee, g as De, gt as Oe, h as ke, ht as Ae, it as je, j as A, k as Me, l as Ne, lt as Pe, m as Fe, mt as j, n as Ie, nt as Le, o as Re, ot as M, p as ze, pt as Be, q as Ve, r as He, rt as Ue, s as We, st as Ge, t as Ke, tt as qe, u as Je, ut as N, v as P, vt as Ye, w as F, x as Xe, y as Ze, yt as I, z as L } from "./exports-CStWW5-w.js";
|
|
13
13
|
//#region src/tools/report-error.ts
|
|
14
14
|
var Qe;
|
|
15
15
|
function $e(e) {
|
|
@@ -101,7 +101,7 @@ async function at(e) {
|
|
|
101
101
|
transition_down: "icons/transition_down.svg",
|
|
102
102
|
kiosk: "icons/kiosk.svg",
|
|
103
103
|
yah: "icons/yah.svg"
|
|
104
|
-
}).map(([e, t]) =>
|
|
104
|
+
}).map(([e, t]) => f(u + t).then((t) => [e, t])))).filter((e) => e.status === "fulfilled").map((e) => e.value).forEach(([t, n]) => e.set(t, n));
|
|
105
105
|
} catch (e) {
|
|
106
106
|
console.warn(e);
|
|
107
107
|
}
|
|
@@ -132,7 +132,7 @@ function V(e, t) {
|
|
|
132
132
|
try {
|
|
133
133
|
t();
|
|
134
134
|
} catch (t) {
|
|
135
|
-
|
|
135
|
+
k && j.error(`Error while instrumenting ${e}`, t);
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
138
|
}
|
|
@@ -141,11 +141,11 @@ function H(e, t) {
|
|
|
141
141
|
if (n) for (let r of n) try {
|
|
142
142
|
r(t);
|
|
143
143
|
} catch (t) {
|
|
144
|
-
|
|
144
|
+
k && j.error(`Error while triggering instrumentation handler.\nType: ${e}\nName: ${N(r)}\nError:`, t);
|
|
145
145
|
}
|
|
146
146
|
}
|
|
147
147
|
//#endregion
|
|
148
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
148
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.52.0/node_modules/@sentry/core/build/esm/instrument/globalError.js
|
|
149
149
|
var ft = null;
|
|
150
150
|
function pt(e) {
|
|
151
151
|
let t = "error";
|
|
@@ -163,7 +163,7 @@ function mt() {
|
|
|
163
163
|
}, I.onerror.__SENTRY_INSTRUMENTED__ = !0;
|
|
164
164
|
}
|
|
165
165
|
//#endregion
|
|
166
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
166
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.52.0/node_modules/@sentry/core/build/esm/instrument/globalUnhandledRejection.js
|
|
167
167
|
var ht = null;
|
|
168
168
|
function gt(e) {
|
|
169
169
|
let t = "unhandledrejection";
|
|
@@ -175,14 +175,14 @@ function _t() {
|
|
|
175
175
|
}, I.onunhandledrejection.__SENTRY_INSTRUMENTED__ = !0;
|
|
176
176
|
}
|
|
177
177
|
//#endregion
|
|
178
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
178
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.52.0/node_modules/@sentry/core/build/esm/utils/parseSampleRate.js
|
|
179
179
|
function vt(e) {
|
|
180
180
|
if (typeof e == "boolean") return Number(e);
|
|
181
181
|
let t = typeof e == "string" ? parseFloat(e) : e;
|
|
182
182
|
if (!(typeof t != "number" || isNaN(t) || t < 0 || t > 1)) return t;
|
|
183
183
|
}
|
|
184
184
|
//#endregion
|
|
185
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
185
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.52.0/node_modules/@sentry/core/build/esm/utils/should-ignore-span.js
|
|
186
186
|
function yt(e) {
|
|
187
187
|
j.log(`Ignoring span ${e.op} - ${e.description} because it matches \`ignoreSpans\`.`);
|
|
188
188
|
}
|
|
@@ -190,21 +190,21 @@ function bt(e, t) {
|
|
|
190
190
|
if (!(t != null && t.length)) return !1;
|
|
191
191
|
for (let n of t) {
|
|
192
192
|
if (Ct(n)) {
|
|
193
|
-
if (e.description &&
|
|
193
|
+
if (e.description && re(e.description, n)) return k && yt(e), !0;
|
|
194
194
|
continue;
|
|
195
195
|
}
|
|
196
196
|
let t = !!n.attributes && Object.keys(n.attributes).length > 0;
|
|
197
197
|
if (!n.name && !n.op && !t) continue;
|
|
198
|
-
let r = n.name ? e.description &&
|
|
198
|
+
let r = n.name ? e.description && re(e.description, n.name) : !0, i = n.op ? e.op && re(e.op, n.op) : !0, a = n.attributes ? Object.entries(n.attributes).every(([t, n]) => {
|
|
199
199
|
var r;
|
|
200
200
|
return xt((r = e.attributes) == null ? void 0 : r[t], n);
|
|
201
201
|
}) : !0;
|
|
202
|
-
if (r && i && a) return
|
|
202
|
+
if (r && i && a) return k && yt(e), !0;
|
|
203
203
|
}
|
|
204
204
|
return !1;
|
|
205
205
|
}
|
|
206
206
|
function xt(e, t) {
|
|
207
|
-
return typeof e == "string" && (typeof t == "string" || t instanceof RegExp) ?
|
|
207
|
+
return typeof e == "string" && (typeof t == "string" || t instanceof RegExp) ? re(e, t) : Array.isArray(e) && Array.isArray(t) ? e.length === t.length && e.every((e, n) => e === t[n]) : e === t;
|
|
208
208
|
}
|
|
209
209
|
function St(e, t) {
|
|
210
210
|
let n = t.parent_span_id, r = t.span_id;
|
|
@@ -214,12 +214,12 @@ function Ct(e) {
|
|
|
214
214
|
return typeof e == "string" || e instanceof RegExp;
|
|
215
215
|
}
|
|
216
216
|
//#endregion
|
|
217
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
217
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.52.0/node_modules/@sentry/core/build/esm/tracing/spans/beforeSendSpan.js
|
|
218
218
|
function wt(e) {
|
|
219
219
|
return !!e && typeof e == "function" && "_streamed" in e && !!e._streamed;
|
|
220
220
|
}
|
|
221
221
|
//#endregion
|
|
222
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
222
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.52.0/node_modules/@sentry/core/build/esm/utils/envelope.js
|
|
223
223
|
function U(e, t = []) {
|
|
224
224
|
return [e, t];
|
|
225
225
|
}
|
|
@@ -239,7 +239,7 @@ function Dt(e, t) {
|
|
|
239
239
|
return Et(e, (e, n) => t.includes(n));
|
|
240
240
|
}
|
|
241
241
|
function Ot(e) {
|
|
242
|
-
let t =
|
|
242
|
+
let t = ge(I);
|
|
243
243
|
return t.encodePolyfill ? t.encodePolyfill(e) : new TextEncoder().encode(e);
|
|
244
244
|
}
|
|
245
245
|
function kt(e) {
|
|
@@ -255,7 +255,7 @@ function kt(e) {
|
|
|
255
255
|
try {
|
|
256
256
|
e = JSON.stringify(n);
|
|
257
257
|
} catch {
|
|
258
|
-
e = JSON.stringify(
|
|
258
|
+
e = JSON.stringify(Te(n));
|
|
259
259
|
}
|
|
260
260
|
i(e);
|
|
261
261
|
}
|
|
@@ -316,7 +316,7 @@ function It(e, t, n, r) {
|
|
|
316
316
|
};
|
|
317
317
|
}
|
|
318
318
|
//#endregion
|
|
319
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
319
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.52.0/node_modules/@sentry/core/build/esm/envelope.js
|
|
320
320
|
function Lt(e, t) {
|
|
321
321
|
var n, r, i, a;
|
|
322
322
|
if (!t) return e;
|
|
@@ -348,32 +348,59 @@ function zt(e, t, n, r) {
|
|
|
348
348
|
return delete e.sdkProcessingMetadata, U(o, [[{ type: a }, e]]);
|
|
349
349
|
}
|
|
350
350
|
//#endregion
|
|
351
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
352
|
-
function Bt(e
|
|
351
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.52.0/node_modules/@sentry/core/build/esm/utils/url.js
|
|
352
|
+
function Bt(e) {
|
|
353
|
+
if (!e) return {};
|
|
354
|
+
let t = e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);
|
|
355
|
+
if (!t) return {};
|
|
356
|
+
let n = t[6] || "", r = t[8] || "";
|
|
357
|
+
return {
|
|
358
|
+
host: t[4],
|
|
359
|
+
path: t[5],
|
|
360
|
+
protocol: t[2],
|
|
361
|
+
search: n,
|
|
362
|
+
hash: r,
|
|
363
|
+
relative: t[5] + n + r
|
|
364
|
+
};
|
|
365
|
+
}
|
|
366
|
+
function Vt(e, t = !0) {
|
|
367
|
+
if (e.startsWith("data:")) {
|
|
368
|
+
let n = e.match(/^data:([^;,]+)/), r = n ? n[1] : "text/plain", i = e.includes(";base64,"), a = e.indexOf(","), o = "";
|
|
369
|
+
if (t && a !== -1) {
|
|
370
|
+
let t = e.slice(a + 1);
|
|
371
|
+
o = t.length > 10 ? `${t.slice(0, 10)}... [truncated]` : t;
|
|
372
|
+
}
|
|
373
|
+
return `data:${r}${i ? ",base64" : ""}${o ? `,${o}` : ""}`;
|
|
374
|
+
}
|
|
375
|
+
return e;
|
|
376
|
+
}
|
|
377
|
+
//#endregion
|
|
378
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.52.0/node_modules/@sentry/core/build/esm/tracing/spans/captureSpan.js
|
|
379
|
+
function Ht(e, t) {
|
|
353
380
|
var n;
|
|
354
381
|
let r = (n = e.attributes) == null ? e.attributes = {} : n;
|
|
355
382
|
Object.entries(t).forEach(([e, t]) => {
|
|
356
383
|
t != null && !(e in r) && (r[e] = t);
|
|
357
384
|
});
|
|
358
385
|
}
|
|
359
|
-
function
|
|
386
|
+
function Ut(e) {
|
|
360
387
|
let t = e.protocol ? `${e.protocol}:` : "", n = e.port ? `:${e.port}` : "";
|
|
361
388
|
return `${t}//${e.host}${n}${e.path ? `/${e.path}` : ""}/api/`;
|
|
362
389
|
}
|
|
363
|
-
function
|
|
364
|
-
return `${
|
|
390
|
+
function Wt(e) {
|
|
391
|
+
return `${Ut(e)}${e.projectId}/envelope/`;
|
|
365
392
|
}
|
|
366
|
-
function
|
|
393
|
+
function Gt(e, t) {
|
|
367
394
|
let n = { sentry_version: "7" };
|
|
368
395
|
return e.publicKey && (n.sentry_key = e.publicKey), t && (n.sentry_client = `${t.name}/${t.version}`), new URLSearchParams(n).toString();
|
|
369
396
|
}
|
|
370
|
-
function
|
|
371
|
-
return t || `${
|
|
397
|
+
function Kt(e, t, n) {
|
|
398
|
+
return t || `${Wt(e)}?${Gt(e, n)}`;
|
|
372
399
|
}
|
|
373
|
-
function
|
|
400
|
+
function qt(e, t) {
|
|
374
401
|
let n = Ze(e);
|
|
375
402
|
if (!n) return "";
|
|
376
|
-
let r = `${
|
|
403
|
+
let r = `${Ut(n)}embed/error-page/`, i = `dsn=${P(n)}`;
|
|
377
404
|
for (let e in t) if (e !== "dsn" && e !== "onClose") if (e === "user") {
|
|
378
405
|
let e = t.user;
|
|
379
406
|
if (!e) continue;
|
|
@@ -382,16 +409,16 @@ function Gt(e, t) {
|
|
|
382
409
|
return `${r}?${i}`;
|
|
383
410
|
}
|
|
384
411
|
//#endregion
|
|
385
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
386
|
-
var
|
|
387
|
-
function
|
|
412
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.52.0/node_modules/@sentry/core/build/esm/integration.js
|
|
413
|
+
var Jt = [];
|
|
414
|
+
function Yt(e) {
|
|
388
415
|
let t = {};
|
|
389
416
|
return e.forEach((e) => {
|
|
390
417
|
let { name: n } = e, r = t[n];
|
|
391
418
|
r && !r.isDefaultInstance && e.isDefaultInstance || (t[n] = e);
|
|
392
419
|
}), Object.values(t);
|
|
393
420
|
}
|
|
394
|
-
function
|
|
421
|
+
function Xt(e) {
|
|
395
422
|
let t = e.defaultIntegrations || [], n = e.integrations;
|
|
396
423
|
t.forEach((e) => {
|
|
397
424
|
e.isDefaultInstance = !0;
|
|
@@ -402,25 +429,25 @@ function Jt(e) {
|
|
|
402
429
|
let e = n(t);
|
|
403
430
|
r = Array.isArray(e) ? e : [e];
|
|
404
431
|
} else r = t;
|
|
405
|
-
return
|
|
432
|
+
return Yt(r);
|
|
406
433
|
}
|
|
407
|
-
function
|
|
434
|
+
function Zt(e, t) {
|
|
408
435
|
let n = {};
|
|
409
436
|
return t.forEach((t) => {
|
|
410
437
|
t != null && t.beforeSetup && t.beforeSetup(e);
|
|
411
438
|
}), t.forEach((t) => {
|
|
412
|
-
t &&
|
|
439
|
+
t && $t(e, t, n);
|
|
413
440
|
}), n;
|
|
414
441
|
}
|
|
415
|
-
function
|
|
442
|
+
function Qt(e, t) {
|
|
416
443
|
for (let n of t) n != null && n.afterAllSetup && n.afterAllSetup(e);
|
|
417
444
|
}
|
|
418
|
-
function
|
|
445
|
+
function $t(e, t, n) {
|
|
419
446
|
if (n[t.name]) {
|
|
420
|
-
|
|
447
|
+
k && j.log(`Integration skipped because it was already installed: ${t.name}`);
|
|
421
448
|
return;
|
|
422
449
|
}
|
|
423
|
-
if (n[t.name] = t, !
|
|
450
|
+
if (n[t.name] = t, !Jt.includes(t.name) && typeof t.setupOnce == "function" && (t.setupOnce(), Jt.push(t.name)), t.setup && typeof t.setup == "function" && t.setup(e), typeof t.preprocessEvent == "function") {
|
|
424
451
|
let n = t.preprocessEvent.bind(t);
|
|
425
452
|
e.on("preprocessEvent", (t, r) => n(t, r, e));
|
|
426
453
|
}
|
|
@@ -431,82 +458,120 @@ function Zt(e, t, n) {
|
|
|
431
458
|
["processSpan", "processSegmentSpan"].forEach((n) => {
|
|
432
459
|
let r = t[n];
|
|
433
460
|
typeof r == "function" && e.on(n, (n) => r.call(t, n, e));
|
|
434
|
-
}),
|
|
461
|
+
}), k && j.log(`Integration installed: ${t.name}`);
|
|
435
462
|
}
|
|
436
463
|
function W(e) {
|
|
437
464
|
return e;
|
|
438
465
|
}
|
|
439
466
|
//#endregion
|
|
440
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
441
|
-
function
|
|
467
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.52.0/node_modules/@sentry/core/build/esm/utils/env.js
|
|
468
|
+
function en() {
|
|
469
|
+
return typeof __SENTRY_BROWSER_BUNDLE__ < "u" && !!__SENTRY_BROWSER_BUNDLE__;
|
|
470
|
+
}
|
|
471
|
+
function tn() {
|
|
472
|
+
return "npm";
|
|
473
|
+
}
|
|
474
|
+
//#endregion
|
|
475
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.52.0/node_modules/@sentry/core/build/esm/utils/node.js
|
|
476
|
+
function nn() {
|
|
477
|
+
return !en() && Object.prototype.toString.call(typeof process < "u" ? process : 0) === "[object process]";
|
|
478
|
+
}
|
|
479
|
+
//#endregion
|
|
480
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.52.0/node_modules/@sentry/core/build/esm/utils/isBrowser.js
|
|
481
|
+
function rn() {
|
|
482
|
+
return typeof window < "u" && (!nn() || an());
|
|
483
|
+
}
|
|
484
|
+
function an() {
|
|
485
|
+
let e = I.process;
|
|
486
|
+
return (e == null ? void 0 : e.type) === "renderer";
|
|
487
|
+
}
|
|
488
|
+
//#endregion
|
|
489
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.52.0/node_modules/@sentry/core/build/esm/logs/envelope.js
|
|
490
|
+
function on(e, t) {
|
|
491
|
+
let n = t ? "auto" : "never";
|
|
442
492
|
return [{
|
|
443
493
|
type: "log",
|
|
444
494
|
item_count: e.length,
|
|
445
495
|
content_type: "application/vnd.sentry.items.log+json"
|
|
446
|
-
}, {
|
|
496
|
+
}, {
|
|
497
|
+
version: 2,
|
|
498
|
+
...rn() && { ingest_settings: {
|
|
499
|
+
infer_ip: n,
|
|
500
|
+
infer_user_agent: n
|
|
501
|
+
} },
|
|
502
|
+
items: e
|
|
503
|
+
}];
|
|
447
504
|
}
|
|
448
|
-
function
|
|
449
|
-
let
|
|
450
|
-
return t != null && t.sdk && (
|
|
505
|
+
function sn(e, t, n, r, i) {
|
|
506
|
+
let a = {};
|
|
507
|
+
return t != null && t.sdk && (a.sdk = {
|
|
451
508
|
name: t.sdk.name,
|
|
452
509
|
version: t.sdk.version
|
|
453
|
-
}), n && r && (
|
|
510
|
+
}), n && r && (a.dsn = P(r)), U(a, [on(e, i)]);
|
|
454
511
|
}
|
|
455
512
|
//#endregion
|
|
456
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
457
|
-
function
|
|
513
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.52.0/node_modules/@sentry/core/build/esm/logs/internal.js
|
|
514
|
+
function cn(e, t) {
|
|
458
515
|
var n;
|
|
459
|
-
let r = (n = t == null ?
|
|
516
|
+
let r = (n = t == null ? ln(e) : t) == null ? [] : n;
|
|
460
517
|
if (r.length === 0) return;
|
|
461
|
-
let i = e.getOptions(), a =
|
|
462
|
-
|
|
518
|
+
let i = e.getOptions(), a = sn(r, i._metadata, i.tunnel, e.getDsn(), i.sendDefaultPii);
|
|
519
|
+
un().set(e, []), e.emit("flushLogs"), e.sendEnvelope(a);
|
|
463
520
|
}
|
|
464
|
-
function
|
|
465
|
-
return
|
|
521
|
+
function ln(e) {
|
|
522
|
+
return un().get(e);
|
|
466
523
|
}
|
|
467
|
-
function
|
|
468
|
-
return
|
|
524
|
+
function un() {
|
|
525
|
+
return Oe("clientToLogBufferMap", () => /* @__PURE__ */ new WeakMap());
|
|
469
526
|
}
|
|
470
527
|
//#endregion
|
|
471
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
472
|
-
function
|
|
528
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.52.0/node_modules/@sentry/core/build/esm/metrics/envelope.js
|
|
529
|
+
function dn(e, t) {
|
|
530
|
+
let n = t ? "auto" : "never";
|
|
473
531
|
return [{
|
|
474
532
|
type: "trace_metric",
|
|
475
533
|
item_count: e.length,
|
|
476
534
|
content_type: "application/vnd.sentry.items.trace-metric+json"
|
|
477
|
-
}, {
|
|
535
|
+
}, {
|
|
536
|
+
version: 2,
|
|
537
|
+
...rn() && { ingest_settings: {
|
|
538
|
+
infer_ip: n,
|
|
539
|
+
infer_user_agent: n
|
|
540
|
+
} },
|
|
541
|
+
items: e
|
|
542
|
+
}];
|
|
478
543
|
}
|
|
479
|
-
function
|
|
480
|
-
let
|
|
481
|
-
return t != null && t.sdk && (
|
|
544
|
+
function fn(e, t, n, r, i) {
|
|
545
|
+
let a = {};
|
|
546
|
+
return t != null && t.sdk && (a.sdk = {
|
|
482
547
|
name: t.sdk.name,
|
|
483
548
|
version: t.sdk.version
|
|
484
|
-
}), n && r && (
|
|
549
|
+
}), n && r && (a.dsn = P(r)), U(a, [dn(e, i)]);
|
|
485
550
|
}
|
|
486
551
|
//#endregion
|
|
487
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
488
|
-
function
|
|
552
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.52.0/node_modules/@sentry/core/build/esm/metrics/internal.js
|
|
553
|
+
function pn(e, t) {
|
|
489
554
|
var n;
|
|
490
|
-
let r = (n = t == null ?
|
|
555
|
+
let r = (n = t == null ? mn(e) : t) == null ? [] : n;
|
|
491
556
|
if (r.length === 0) return;
|
|
492
|
-
let i = e.getOptions(), a =
|
|
493
|
-
|
|
557
|
+
let i = e.getOptions(), a = fn(r, i._metadata, i.tunnel, e.getDsn(), i.sendDefaultPii);
|
|
558
|
+
hn().set(e, []), e.emit("flushMetrics"), e.sendEnvelope(a);
|
|
494
559
|
}
|
|
495
|
-
function
|
|
496
|
-
return
|
|
560
|
+
function mn(e) {
|
|
561
|
+
return hn().get(e);
|
|
497
562
|
}
|
|
498
|
-
function
|
|
499
|
-
return
|
|
563
|
+
function hn() {
|
|
564
|
+
return Oe("clientToMetricBufferMap", () => /* @__PURE__ */ new WeakMap());
|
|
500
565
|
}
|
|
501
566
|
//#endregion
|
|
502
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
503
|
-
function
|
|
567
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.52.0/node_modules/@sentry/core/build/esm/utils/timer.js
|
|
568
|
+
function gn(e) {
|
|
504
569
|
return typeof e == "object" && typeof e.unref == "function" && e.unref(), e;
|
|
505
570
|
}
|
|
506
571
|
//#endregion
|
|
507
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
508
|
-
var
|
|
509
|
-
function
|
|
572
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.52.0/node_modules/@sentry/core/build/esm/utils/promisebuffer.js
|
|
573
|
+
var _n = Symbol.for("SentryBufferFullError");
|
|
574
|
+
function vn(e = 100) {
|
|
510
575
|
let t = /* @__PURE__ */ new Set();
|
|
511
576
|
function n() {
|
|
512
577
|
return t.size < e;
|
|
@@ -515,15 +580,15 @@ function dn(e = 100) {
|
|
|
515
580
|
t.delete(e);
|
|
516
581
|
}
|
|
517
582
|
function i(e) {
|
|
518
|
-
if (!n()) return Je(
|
|
583
|
+
if (!n()) return Je(_n);
|
|
519
584
|
let i = e();
|
|
520
585
|
return t.add(i), i.then(() => r(i), () => r(i)), i;
|
|
521
586
|
}
|
|
522
587
|
function a(e) {
|
|
523
|
-
if (!t.size) return
|
|
588
|
+
if (!t.size) return Se(!0);
|
|
524
589
|
let n = Promise.allSettled(Array.from(t)).then(() => !0);
|
|
525
590
|
if (!e) return n;
|
|
526
|
-
let r = [n, new Promise((t) =>
|
|
591
|
+
let r = [n, new Promise((t) => gn(setTimeout(() => t(!1), e)))];
|
|
527
592
|
return Promise.race(r);
|
|
528
593
|
}
|
|
529
594
|
return {
|
|
@@ -535,51 +600,51 @@ function dn(e = 100) {
|
|
|
535
600
|
};
|
|
536
601
|
}
|
|
537
602
|
//#endregion
|
|
538
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
539
|
-
var
|
|
540
|
-
function
|
|
603
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.52.0/node_modules/@sentry/core/build/esm/utils/ratelimit.js
|
|
604
|
+
var yn = 60 * 1e3;
|
|
605
|
+
function bn(e, t = g()) {
|
|
541
606
|
let n = parseInt(`${e}`, 10);
|
|
542
607
|
if (!isNaN(n)) return n * 1e3;
|
|
543
608
|
let r = Date.parse(`${e}`);
|
|
544
|
-
return isNaN(r) ?
|
|
609
|
+
return isNaN(r) ? yn : r - t;
|
|
545
610
|
}
|
|
546
|
-
function
|
|
611
|
+
function xn(e, t) {
|
|
547
612
|
return e[t] || e.all || 0;
|
|
548
613
|
}
|
|
549
|
-
function
|
|
550
|
-
return
|
|
614
|
+
function Sn(e, t, n = g()) {
|
|
615
|
+
return xn(e, t) > n;
|
|
551
616
|
}
|
|
552
|
-
function
|
|
617
|
+
function Cn(e, { statusCode: t, headers: n }, r = g()) {
|
|
553
618
|
let i = { ...e }, a = n == null ? void 0 : n["x-sentry-rate-limits"], o = n == null ? void 0 : n["retry-after"];
|
|
554
619
|
if (a) for (let e of a.trim().split(",")) {
|
|
555
620
|
let [t, n, , , a] = e.split(":", 5), o = parseInt(t, 10), s = (isNaN(o) ? 60 : o) * 1e3;
|
|
556
621
|
if (!n) i.all = r + s;
|
|
557
622
|
else for (let e of n.split(";")) e === "metric_bucket" ? (!a || a.split(";").includes("custom")) && (i[e] = r + s) : i[e] = r + s;
|
|
558
623
|
}
|
|
559
|
-
else o ? i.all = r +
|
|
624
|
+
else o ? i.all = r + bn(o, r) : t === 429 && (i.all = r + 60 * 1e3);
|
|
560
625
|
return i;
|
|
561
626
|
}
|
|
562
|
-
function
|
|
627
|
+
function wn(e, t, n = vn(e.bufferSize || 64)) {
|
|
563
628
|
let r = {}, i = (e) => n.drain(e);
|
|
564
629
|
function a(i) {
|
|
565
630
|
let a = [];
|
|
566
631
|
if (Et(i, (t, n) => {
|
|
567
632
|
let i = Pt(n);
|
|
568
|
-
|
|
633
|
+
Sn(r, i) ? e.recordDroppedEvent("ratelimit_backoff", i) : a.push(t);
|
|
569
634
|
}), a.length === 0) return Promise.resolve({});
|
|
570
635
|
let o = U(i[0], a), s = (t) => {
|
|
571
636
|
if (Dt(o, ["client_report"])) {
|
|
572
|
-
|
|
637
|
+
k && j.warn(`Dropping client report. Will not send outcomes (reason: ${t}).`);
|
|
573
638
|
return;
|
|
574
639
|
}
|
|
575
640
|
Et(o, (n, r) => {
|
|
576
641
|
e.recordDroppedEvent(t, Pt(r));
|
|
577
642
|
});
|
|
578
643
|
};
|
|
579
|
-
return n.add(() => t({ body: kt(o) }).then((e) => e.statusCode === 413 ? (
|
|
580
|
-
throw s("network_error"),
|
|
644
|
+
return n.add(() => t({ body: kt(o) }).then((e) => e.statusCode === 413 ? (k && j.error("Sentry responded with status code 413. Envelope was discarded due to exceeding size limits."), s("send_error"), e) : (k && e.statusCode !== void 0 && (e.statusCode < 200 || e.statusCode >= 300) && j.warn(`Sentry responded with status code ${e.statusCode} to sent event.`), r = Cn(r, e), e), (e) => {
|
|
645
|
+
throw s("network_error"), k && j.error("Encountered error running transport request:", e), e;
|
|
581
646
|
})).then((e) => e, (e) => {
|
|
582
|
-
if (e ===
|
|
647
|
+
if (e === _n) return k && j.error("Skipped sending event because buffer is full."), s("queue_overflow"), Promise.resolve({});
|
|
583
648
|
throw e;
|
|
584
649
|
});
|
|
585
650
|
}
|
|
@@ -589,17 +654,17 @@ function _n(e, t, n = dn(e.bufferSize || 64)) {
|
|
|
589
654
|
};
|
|
590
655
|
}
|
|
591
656
|
//#endregion
|
|
592
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
593
|
-
function
|
|
657
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.52.0/node_modules/@sentry/core/build/esm/utils/clientreport.js
|
|
658
|
+
function Tn(e, t, n) {
|
|
594
659
|
let r = [{ type: "client_report" }, {
|
|
595
|
-
timestamp: n ||
|
|
660
|
+
timestamp: n || h(),
|
|
596
661
|
discarded_events: e
|
|
597
662
|
}];
|
|
598
663
|
return U(t ? { dsn: t } : {}, [r]);
|
|
599
664
|
}
|
|
600
665
|
//#endregion
|
|
601
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
602
|
-
function
|
|
666
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.52.0/node_modules/@sentry/core/build/esm/utils/eventUtils.js
|
|
667
|
+
function En(e) {
|
|
603
668
|
let t = [];
|
|
604
669
|
e.message && t.push(e.message);
|
|
605
670
|
try {
|
|
@@ -609,8 +674,8 @@ function yn(e) {
|
|
|
609
674
|
return t;
|
|
610
675
|
}
|
|
611
676
|
//#endregion
|
|
612
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
613
|
-
function
|
|
677
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.52.0/node_modules/@sentry/core/build/esm/utils/transactionEvent.js
|
|
678
|
+
function Dn(e) {
|
|
614
679
|
var t, n, r;
|
|
615
680
|
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;
|
|
616
681
|
return {
|
|
@@ -630,7 +695,7 @@ function bn(e) {
|
|
|
630
695
|
is_segment: !0
|
|
631
696
|
};
|
|
632
697
|
}
|
|
633
|
-
function
|
|
698
|
+
function On(e) {
|
|
634
699
|
return {
|
|
635
700
|
type: "transaction",
|
|
636
701
|
timestamp: e.timestamp,
|
|
@@ -653,43 +718,43 @@ function xn(e) {
|
|
|
653
718
|
};
|
|
654
719
|
}
|
|
655
720
|
//#endregion
|
|
656
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
657
|
-
var
|
|
658
|
-
function
|
|
721
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.52.0/node_modules/@sentry/core/build/esm/client.js
|
|
722
|
+
var kn = "Not capturing exception because it's already been captured.", An = "Discarded session because of missing or non-string release", jn = Symbol.for("SentryInternalError"), Mn = Symbol.for("SentryDoNotSendEventError"), Nn = 5e3;
|
|
723
|
+
function Pn(e) {
|
|
659
724
|
return {
|
|
660
725
|
message: e,
|
|
661
|
-
[
|
|
726
|
+
[jn]: !0
|
|
662
727
|
};
|
|
663
728
|
}
|
|
664
|
-
function
|
|
729
|
+
function Fn(e) {
|
|
665
730
|
return {
|
|
666
731
|
message: e,
|
|
667
|
-
[
|
|
732
|
+
[Mn]: !0
|
|
668
733
|
};
|
|
669
734
|
}
|
|
670
|
-
function
|
|
671
|
-
return !!e && typeof e == "object" &&
|
|
735
|
+
function In(e) {
|
|
736
|
+
return !!e && typeof e == "object" && jn in e;
|
|
672
737
|
}
|
|
673
|
-
function
|
|
674
|
-
return !!e && typeof e == "object" &&
|
|
738
|
+
function Ln(e) {
|
|
739
|
+
return !!e && typeof e == "object" && Mn in e;
|
|
675
740
|
}
|
|
676
|
-
function
|
|
741
|
+
function Rn(e, t, n, r, i) {
|
|
677
742
|
let a = 0, o, s = !1;
|
|
678
743
|
e.on(n, () => {
|
|
679
744
|
a = 0, clearTimeout(o), s = !1;
|
|
680
745
|
}), e.on(t, (t) => {
|
|
681
|
-
a += r(t), a >= 8e5 ? i(e) : s || (s = !0, o =
|
|
746
|
+
a += r(t), a >= 8e5 ? i(e) : s || (s = !0, o = gn(setTimeout(() => {
|
|
682
747
|
i(e);
|
|
683
|
-
},
|
|
748
|
+
}, Nn)));
|
|
684
749
|
}), e.on("flush", () => {
|
|
685
750
|
i(e);
|
|
686
751
|
});
|
|
687
752
|
}
|
|
688
|
-
var
|
|
753
|
+
var zn = class {
|
|
689
754
|
constructor(e) {
|
|
690
755
|
var t, n, r, i, a, o, s;
|
|
691
|
-
if (this._options = e, this._integrations = {}, this._numProcessing = 0, this._outcomes = {}, this._hooks = {}, this._eventProcessors = [], this._promiseBuffer =
|
|
692
|
-
let t =
|
|
756
|
+
if (this._options = e, this._integrations = {}, this._numProcessing = 0, this._outcomes = {}, this._hooks = {}, this._eventProcessors = [], this._promiseBuffer = vn((t = (n = e.transportOptions) == null ? void 0 : n.bufferSize) == null ? 64 : t), e.dsn ? this._dsn = Ze(e.dsn) : k && j.warn("No DSN provided, client will not send events."), this._dsn) {
|
|
757
|
+
let t = Kt(this._dsn, e.tunnel, e._metadata ? e._metadata.sdk : void 0);
|
|
693
758
|
this._transport = e.transport({
|
|
694
759
|
tunnel: this._options.tunnel,
|
|
695
760
|
recordDroppedEvent: this.recordDroppedEvent.bind(this),
|
|
@@ -697,11 +762,11 @@ var Mn = class {
|
|
|
697
762
|
url: t
|
|
698
763
|
});
|
|
699
764
|
}
|
|
700
|
-
this._options.enableLogs = (r = this._options.enableLogs) == null ? (i = this._options._experiments) == null ? void 0 : i.enableLogs : r, this._options.enableLogs &&
|
|
765
|
+
this._options.enableLogs = (r = this._options.enableLogs) == null ? (i = this._options._experiments) == null ? void 0 : i.enableLogs : r, this._options.enableLogs && Rn(this, "afterCaptureLog", "flushLogs", Kn, cn), ((a = (o = this._options.enableMetrics) == null ? (s = this._options._experiments) == null ? void 0 : s.enableMetrics : o) == null || a) && Rn(this, "afterCaptureMetric", "flushMetrics", Gn, pn);
|
|
701
766
|
}
|
|
702
767
|
captureException(e, t, n) {
|
|
703
|
-
let r =
|
|
704
|
-
if (oe(e)) return
|
|
768
|
+
let r = C();
|
|
769
|
+
if (oe(e)) return k && j.log(kn), r;
|
|
705
770
|
let i = {
|
|
706
771
|
event_id: r,
|
|
707
772
|
...t
|
|
@@ -710,18 +775,18 @@ var Mn = class {
|
|
|
710
775
|
}
|
|
711
776
|
captureMessage(e, t, n, r) {
|
|
712
777
|
let i = {
|
|
713
|
-
event_id:
|
|
778
|
+
event_id: C(),
|
|
714
779
|
...n
|
|
715
|
-
}, a = Le(e) ? e : String(e), o =
|
|
780
|
+
}, a = Le(e) ? e : String(e), o = je(e), s = o ? this.eventFromMessage(a, t, i) : this.eventFromException(e, i);
|
|
716
781
|
return this._process(() => s.then((e) => this._captureEvent(e, i, r)), o ? "unknown" : "error"), i.event_id;
|
|
717
782
|
}
|
|
718
783
|
captureEvent(e, t, n) {
|
|
719
|
-
let r =
|
|
720
|
-
if (t != null && t.originalException && oe(t.originalException)) return
|
|
784
|
+
let r = C();
|
|
785
|
+
if (t != null && t.originalException && oe(t.originalException)) return k && j.log(kn), r;
|
|
721
786
|
let i = {
|
|
722
787
|
event_id: r,
|
|
723
788
|
...t
|
|
724
|
-
}, a = e.sdkProcessingMetadata || {}, o = a.capturedSpanScope, s = a.capturedSpanIsolationScope, c =
|
|
789
|
+
}, a = e.sdkProcessingMetadata || {}, o = a.capturedSpanScope, s = a.capturedSpanIsolationScope, c = Bn(e.type);
|
|
725
790
|
return this._process(() => this._captureEvent(e, i, o || n, s), c), i.event_id;
|
|
726
791
|
}
|
|
727
792
|
captureSession(e) {
|
|
@@ -741,13 +806,12 @@ var Mn = class {
|
|
|
741
806
|
}
|
|
742
807
|
async flush(e) {
|
|
743
808
|
let t = this._transport;
|
|
744
|
-
if (!t) return !0;
|
|
745
|
-
this.emit("flush");
|
|
809
|
+
if (this.emit("flush"), !t) return !0;
|
|
746
810
|
let n = await this._isClientDoneProcessing(e), r = await t.flush(e);
|
|
747
811
|
return n && r;
|
|
748
812
|
}
|
|
749
813
|
async close(e) {
|
|
750
|
-
|
|
814
|
+
cn(this);
|
|
751
815
|
let t = await this.flush(e);
|
|
752
816
|
return this.getOptions().enabled = !1, this.emit("close"), t;
|
|
753
817
|
}
|
|
@@ -765,7 +829,7 @@ var Mn = class {
|
|
|
765
829
|
}
|
|
766
830
|
addIntegration(e) {
|
|
767
831
|
let t = this._integrations[e.name];
|
|
768
|
-
!t && e.beforeSetup && e.beforeSetup(this),
|
|
832
|
+
!t && e.beforeSetup && e.beforeSetup(this), $t(this, e, this._integrations), t || Qt(this, [e]);
|
|
769
833
|
}
|
|
770
834
|
sendEvent(e, t = {}) {
|
|
771
835
|
this.emit("beforeSendEvent", e, t);
|
|
@@ -774,17 +838,17 @@ var Mn = class {
|
|
|
774
838
|
this.sendEnvelope(n).then((t) => this.emit("afterSendEvent", e, t));
|
|
775
839
|
}
|
|
776
840
|
sendSession(e) {
|
|
777
|
-
let { release: t, environment: n =
|
|
841
|
+
let { release: t, environment: n = ke } = this._options;
|
|
778
842
|
if ("aggregates" in e) {
|
|
779
843
|
let r = e.attrs || {};
|
|
780
844
|
if (!r.release && !t) {
|
|
781
|
-
|
|
845
|
+
k && j.warn(An);
|
|
782
846
|
return;
|
|
783
847
|
}
|
|
784
848
|
r.release = r.release || t, r.environment = r.environment || n, e.attrs = r;
|
|
785
849
|
} else {
|
|
786
850
|
if (!e.release && !t) {
|
|
787
|
-
|
|
851
|
+
k && j.warn(An);
|
|
788
852
|
return;
|
|
789
853
|
}
|
|
790
854
|
e.release = e.release || t, e.environment = e.environment || n;
|
|
@@ -796,7 +860,7 @@ var Mn = class {
|
|
|
796
860
|
recordDroppedEvent(e, t, n = 1) {
|
|
797
861
|
if (this._options.sendClientReports) {
|
|
798
862
|
let r = `${e}:${t}`;
|
|
799
|
-
|
|
863
|
+
k && j.log(`Recording outcome: "${r}"${n > 1 ? ` (${n} times)` : ""}`), this._outcomes[r] = (this._outcomes[r] || 0) + n;
|
|
800
864
|
}
|
|
801
865
|
}
|
|
802
866
|
on(e, t) {
|
|
@@ -813,15 +877,15 @@ var Mn = class {
|
|
|
813
877
|
if (this.emit("beforeEnvelope", e), this._isEnabled() && this._transport) try {
|
|
814
878
|
return await this._transport.send(e);
|
|
815
879
|
} catch (e) {
|
|
816
|
-
return
|
|
880
|
+
return k && j.error("Error while sending envelope:", e), {};
|
|
817
881
|
}
|
|
818
|
-
return
|
|
882
|
+
return k && j.error("Transport disabled"), {};
|
|
819
883
|
}
|
|
820
884
|
registerCleanup(e) {}
|
|
821
885
|
dispose() {}
|
|
822
886
|
_setupIntegrations() {
|
|
823
887
|
let { integrations: e } = this._options;
|
|
824
|
-
this._integrations =
|
|
888
|
+
this._integrations = Zt(this, e), Qt(this, e);
|
|
825
889
|
}
|
|
826
890
|
_updateSessionFromEvent(e, t) {
|
|
827
891
|
var n;
|
|
@@ -860,7 +924,7 @@ var Mn = class {
|
|
|
860
924
|
return e === null ? e : (this.emit("postprocessEvent", e, t), e.contexts = {
|
|
861
925
|
trace: {
|
|
862
926
|
...(r = e.contexts) == null ? void 0 : r.trace,
|
|
863
|
-
...
|
|
927
|
+
...y(n)
|
|
864
928
|
},
|
|
865
929
|
...e.contexts
|
|
866
930
|
}, e.sdkProcessingMetadata = {
|
|
@@ -869,26 +933,26 @@ var Mn = class {
|
|
|
869
933
|
}, e);
|
|
870
934
|
});
|
|
871
935
|
}
|
|
872
|
-
_captureEvent(e, t = {}, n = F(), r =
|
|
873
|
-
return
|
|
874
|
-
|
|
936
|
+
_captureEvent(e, t = {}, n = F(), r = D()) {
|
|
937
|
+
return k && Un(e) && j.log(`Captured error event \`${En(e)[0] || "<unknown>"}\``), this._processEvent(e, t, n, r).then((e) => e.event_id, (e) => {
|
|
938
|
+
k && (Ln(e) ? j.log(e.message) : In(e) ? j.warn(e.message) : j.warn(e));
|
|
875
939
|
});
|
|
876
940
|
}
|
|
877
941
|
_processEvent(e, t, n, r) {
|
|
878
|
-
let i = this.getOptions(), { sampleRate: a } = i, o =
|
|
879
|
-
if (s && typeof l == "number" &&
|
|
880
|
-
let u =
|
|
942
|
+
let i = this.getOptions(), { sampleRate: a } = i, o = Wn(e), s = Un(e), c = `before send for type \`${e.type || "error"}\``, l = a === void 0 ? void 0 : vt(a);
|
|
943
|
+
if (s && typeof l == "number" && de() > l) return this.recordDroppedEvent("sample_rate", "error"), Je(Fn(`Discarding event because it's not included in the random sample (sampling rate = ${a})`));
|
|
944
|
+
let u = Bn(e.type);
|
|
881
945
|
return this._prepareEvent(e, t, n, r).then((e) => {
|
|
882
946
|
var n;
|
|
883
|
-
if (e === null) throw this.recordDroppedEvent("event_processor", u),
|
|
884
|
-
return ((n = t.data) == null ? void 0 : n.__sentry__) === !0 ? e :
|
|
947
|
+
if (e === null) throw this.recordDroppedEvent("event_processor", u), Fn("An event processor returned `null`, will not send event.");
|
|
948
|
+
return ((n = t.data) == null ? void 0 : n.__sentry__) === !0 ? e : Vn(Hn(this, i, e, t), c);
|
|
885
949
|
}).then((i) => {
|
|
886
950
|
if (i === null) {
|
|
887
951
|
if (this.recordDroppedEvent("before_send", u), o) {
|
|
888
952
|
let t = 1 + (e.spans || []).length;
|
|
889
953
|
this.recordDroppedEvent("before_send", "span", t);
|
|
890
954
|
}
|
|
891
|
-
throw
|
|
955
|
+
throw Fn(`${c} returned \`null\`, will not send event.`);
|
|
892
956
|
}
|
|
893
957
|
let a = n.getSession() || r.getSession();
|
|
894
958
|
if (s && a && this._updateSessionFromEvent(a, i), o) {
|
|
@@ -902,18 +966,18 @@ var Mn = class {
|
|
|
902
966
|
source: "custom"
|
|
903
967
|
}), this.sendEvent(i, t), i;
|
|
904
968
|
}).then(null, (e) => {
|
|
905
|
-
throw
|
|
969
|
+
throw Ln(e) || In(e) ? e : (this.captureException(e, {
|
|
906
970
|
mechanism: {
|
|
907
971
|
handled: !1,
|
|
908
972
|
type: "internal"
|
|
909
973
|
},
|
|
910
974
|
data: { __sentry__: !0 },
|
|
911
975
|
originalException: e
|
|
912
|
-
}),
|
|
976
|
+
}), Pn(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: ${e}`));
|
|
913
977
|
});
|
|
914
978
|
}
|
|
915
979
|
_process(e, t) {
|
|
916
|
-
this._numProcessing++, this._promiseBuffer.add(e).then((e) => (this._numProcessing--, e), (e) => (this._numProcessing--, e ===
|
|
980
|
+
this._numProcessing++, this._promiseBuffer.add(e).then((e) => (this._numProcessing--, e), (e) => (this._numProcessing--, e === _n && this.recordDroppedEvent("queue_overflow", t), e));
|
|
917
981
|
}
|
|
918
982
|
_clearOutcomes() {
|
|
919
983
|
let e = this._outcomes;
|
|
@@ -927,41 +991,41 @@ var Mn = class {
|
|
|
927
991
|
});
|
|
928
992
|
}
|
|
929
993
|
_flushOutcomes() {
|
|
930
|
-
|
|
994
|
+
k && j.log("Flushing outcomes...");
|
|
931
995
|
let e = this._clearOutcomes();
|
|
932
996
|
if (e.length === 0) {
|
|
933
|
-
|
|
997
|
+
k && j.log("No outcomes to send");
|
|
934
998
|
return;
|
|
935
999
|
}
|
|
936
1000
|
if (!this._dsn) {
|
|
937
|
-
|
|
1001
|
+
k && j.log("No dsn provided, will not send outcomes");
|
|
938
1002
|
return;
|
|
939
1003
|
}
|
|
940
|
-
|
|
941
|
-
let t =
|
|
1004
|
+
k && j.log("Sending outcomes:", e);
|
|
1005
|
+
let t = Tn(e, this._options.tunnel && P(this._dsn));
|
|
942
1006
|
this.sendEnvelope(t);
|
|
943
1007
|
}
|
|
944
1008
|
};
|
|
945
|
-
function
|
|
1009
|
+
function Bn(e) {
|
|
946
1010
|
return e === "replay_event" ? "replay" : e || "error";
|
|
947
1011
|
}
|
|
948
|
-
function
|
|
1012
|
+
function Vn(e, t) {
|
|
949
1013
|
let n = `${t} must return \`null\` or a valid event.`;
|
|
950
1014
|
if (Ge(e)) return e.then((e) => {
|
|
951
|
-
if (!Ue(e) && e !== null) throw
|
|
1015
|
+
if (!Ue(e) && e !== null) throw Pn(n);
|
|
952
1016
|
return e;
|
|
953
1017
|
}, (e) => {
|
|
954
|
-
throw
|
|
1018
|
+
throw Pn(`${t} rejected with ${e}`);
|
|
955
1019
|
});
|
|
956
|
-
if (!Ue(e) && e !== null) throw
|
|
1020
|
+
if (!Ue(e) && e !== null) throw Pn(n);
|
|
957
1021
|
return e;
|
|
958
1022
|
}
|
|
959
|
-
function
|
|
1023
|
+
function Hn(e, t, n, r) {
|
|
960
1024
|
let { beforeSend: i, beforeSendTransaction: a, ignoreSpans: o } = t, s = !wt(t.beforeSendSpan) && t.beforeSendSpan, c = n;
|
|
961
|
-
if (
|
|
962
|
-
if (
|
|
1025
|
+
if (Un(c) && i) return i(c, r);
|
|
1026
|
+
if (Wn(c)) {
|
|
963
1027
|
if (s || o) {
|
|
964
|
-
let t =
|
|
1028
|
+
let t = Dn(c);
|
|
965
1029
|
if (o != null && o.length && bt({
|
|
966
1030
|
description: t.description,
|
|
967
1031
|
op: t.op,
|
|
@@ -969,7 +1033,7 @@ function Fn(e, t, n, r) {
|
|
|
969
1033
|
}, o)) return null;
|
|
970
1034
|
if (s) {
|
|
971
1035
|
let e = s(t);
|
|
972
|
-
e ? c = ae(n,
|
|
1036
|
+
e ? c = ae(n, On(e)) : De();
|
|
973
1037
|
}
|
|
974
1038
|
if (c.spans) {
|
|
975
1039
|
let t = [], n = c.spans;
|
|
@@ -984,7 +1048,7 @@ function Fn(e, t, n, r) {
|
|
|
984
1048
|
}
|
|
985
1049
|
if (s) {
|
|
986
1050
|
let n = s(e);
|
|
987
|
-
n ? t.push(n) : (
|
|
1051
|
+
n ? t.push(n) : (De(), t.push(e));
|
|
988
1052
|
} else t.push(e);
|
|
989
1053
|
}
|
|
990
1054
|
let r = c.spans.length - t.length;
|
|
@@ -1004,64 +1068,64 @@ function Fn(e, t, n, r) {
|
|
|
1004
1068
|
}
|
|
1005
1069
|
return c;
|
|
1006
1070
|
}
|
|
1007
|
-
function
|
|
1071
|
+
function Un(e) {
|
|
1008
1072
|
return e.type === void 0;
|
|
1009
1073
|
}
|
|
1010
|
-
function
|
|
1074
|
+
function Wn(e) {
|
|
1011
1075
|
return e.type === "transaction";
|
|
1012
1076
|
}
|
|
1013
|
-
function
|
|
1077
|
+
function Gn(e) {
|
|
1014
1078
|
let t = 0;
|
|
1015
|
-
return e.name && (t += e.name.length * 2), t += 8, t +
|
|
1079
|
+
return e.name && (t += e.name.length * 2), t += 8, t + qn(e.attributes);
|
|
1016
1080
|
}
|
|
1017
|
-
function
|
|
1081
|
+
function Kn(e) {
|
|
1018
1082
|
let t = 0;
|
|
1019
|
-
return e.message && (t += e.message.length * 2), t +
|
|
1083
|
+
return e.message && (t += e.message.length * 2), t + qn(e.attributes);
|
|
1020
1084
|
}
|
|
1021
|
-
function
|
|
1085
|
+
function qn(e) {
|
|
1022
1086
|
if (!e) return 0;
|
|
1023
1087
|
let t = 0;
|
|
1024
1088
|
return Object.values(e).forEach((e) => {
|
|
1025
|
-
Array.isArray(e) ? t += e.length *
|
|
1089
|
+
Array.isArray(e) ? t += e.length * Jn(e[0]) : je(e) ? t += Jn(e) : t += 100;
|
|
1026
1090
|
}), t;
|
|
1027
1091
|
}
|
|
1028
|
-
function
|
|
1092
|
+
function Jn(e) {
|
|
1029
1093
|
return typeof e == "string" ? e.length * 2 : typeof e == "number" ? 8 : typeof e == "boolean" ? 4 : 0;
|
|
1030
1094
|
}
|
|
1031
1095
|
//#endregion
|
|
1032
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1033
|
-
function
|
|
1096
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.52.0/node_modules/@sentry/core/build/esm/utils/eventbuilder.js
|
|
1097
|
+
function Yn(e) {
|
|
1034
1098
|
return se(e) && "__sentry_fetch_url_host__" in e && typeof e.__sentry_fetch_url_host__ == "string";
|
|
1035
1099
|
}
|
|
1036
|
-
function
|
|
1037
|
-
return
|
|
1100
|
+
function Xn(e) {
|
|
1101
|
+
return Yn(e) ? `${e.message} (${e.__sentry_fetch_url_host__})` : e.message;
|
|
1038
1102
|
}
|
|
1039
1103
|
//#endregion
|
|
1040
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1041
|
-
function
|
|
1042
|
-
t.debug === !0 && (
|
|
1104
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.52.0/node_modules/@sentry/core/build/esm/sdk.js
|
|
1105
|
+
function Zn(e, t) {
|
|
1106
|
+
t.debug === !0 && (k ? j.enable() : Be(() => {
|
|
1043
1107
|
console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.");
|
|
1044
1108
|
})), F().update(t.initialScope);
|
|
1045
1109
|
let n = new e(t);
|
|
1046
|
-
return
|
|
1110
|
+
return Qn(n), n.init(), n;
|
|
1047
1111
|
}
|
|
1048
|
-
function
|
|
1112
|
+
function Qn(e) {
|
|
1049
1113
|
F().setClient(e);
|
|
1050
1114
|
}
|
|
1051
|
-
var
|
|
1052
|
-
function
|
|
1115
|
+
var $n = 5e3, er = 36e5;
|
|
1116
|
+
function tr(e) {
|
|
1053
1117
|
function t(...e) {
|
|
1054
|
-
|
|
1118
|
+
k && j.log("[Offline]:", ...e);
|
|
1055
1119
|
}
|
|
1056
1120
|
return (n) => {
|
|
1057
1121
|
let r = e(n);
|
|
1058
1122
|
if (!n.createStore) throw Error("No `createStore` function was provided");
|
|
1059
|
-
let i = n.createStore(n), a =
|
|
1123
|
+
let i = n.createStore(n), a = $n, o;
|
|
1060
1124
|
function s(e, t, r) {
|
|
1061
1125
|
return Dt(e, ["client_report"]) ? !1 : n.shouldStore ? n.shouldStore(e, t, r) : !0;
|
|
1062
1126
|
}
|
|
1063
1127
|
function c(e) {
|
|
1064
|
-
o && clearTimeout(o), o =
|
|
1128
|
+
o && clearTimeout(o), o = gn(setTimeout(async () => {
|
|
1065
1129
|
o = void 0;
|
|
1066
1130
|
let e = await i.shift();
|
|
1067
1131
|
e && (t("Attempting to send previously queued event"), e[0].sent_at = (/* @__PURE__ */ new Date()).toISOString(), u(e, !0).catch((e) => {
|
|
@@ -1070,7 +1134,7 @@ function Jn(e) {
|
|
|
1070
1134
|
}, e));
|
|
1071
1135
|
}
|
|
1072
1136
|
function l() {
|
|
1073
|
-
o || (c(a), a = Math.min(a * 2,
|
|
1137
|
+
o || (c(a), a = Math.min(a * 2, er));
|
|
1074
1138
|
}
|
|
1075
1139
|
async function u(e, o = !1) {
|
|
1076
1140
|
if (!o && Dt(e, ["replay_event", "replay_recording"])) return await i.push(e), c(100), {};
|
|
@@ -1079,11 +1143,11 @@ function Jn(e) {
|
|
|
1079
1143
|
let t = await r.send(e), i = 100;
|
|
1080
1144
|
if (t) {
|
|
1081
1145
|
var u, d;
|
|
1082
|
-
if ((u = t.headers) != null && u["retry-after"]) i =
|
|
1146
|
+
if ((u = t.headers) != null && u["retry-after"]) i = bn(t.headers["retry-after"]);
|
|
1083
1147
|
else if ((d = t.headers) != null && d["x-sentry-rate-limits"]) i = 6e4;
|
|
1084
1148
|
else if ((t.statusCode || 0) >= 400) return t;
|
|
1085
1149
|
}
|
|
1086
|
-
return c(i), a =
|
|
1150
|
+
return c(i), a = $n, t;
|
|
1087
1151
|
} catch (n) {
|
|
1088
1152
|
if (await s(e, n, a)) return o ? await i.unshift(e) : await i.push(e), l(), t("Error sending. Event queued.", n), {};
|
|
1089
1153
|
throw n;
|
|
@@ -1091,40 +1155,13 @@ function Jn(e) {
|
|
|
1091
1155
|
}
|
|
1092
1156
|
return n.flushAtStartup && l(), {
|
|
1093
1157
|
send: u,
|
|
1094
|
-
flush: (e) => (e === void 0 && (a =
|
|
1158
|
+
flush: (e) => (e === void 0 && (a = $n, c(100)), r.flush(e))
|
|
1095
1159
|
};
|
|
1096
1160
|
};
|
|
1097
1161
|
}
|
|
1098
1162
|
//#endregion
|
|
1099
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1100
|
-
function
|
|
1101
|
-
if (!e) return {};
|
|
1102
|
-
let t = e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);
|
|
1103
|
-
if (!t) return {};
|
|
1104
|
-
let n = t[6] || "", r = t[8] || "";
|
|
1105
|
-
return {
|
|
1106
|
-
host: t[4],
|
|
1107
|
-
path: t[5],
|
|
1108
|
-
protocol: t[2],
|
|
1109
|
-
search: n,
|
|
1110
|
-
hash: r,
|
|
1111
|
-
relative: t[5] + n + r
|
|
1112
|
-
};
|
|
1113
|
-
}
|
|
1114
|
-
function Xn(e, t = !0) {
|
|
1115
|
-
if (e.startsWith("data:")) {
|
|
1116
|
-
let n = e.match(/^data:([^;,]+)/), r = n ? n[1] : "text/plain", i = e.includes(";base64,"), a = e.indexOf(","), o = "";
|
|
1117
|
-
if (t && a !== -1) {
|
|
1118
|
-
let t = e.slice(a + 1);
|
|
1119
|
-
o = t.length > 10 ? `${t.slice(0, 10)}... [truncated]` : t;
|
|
1120
|
-
}
|
|
1121
|
-
return `data:${r}${i ? ",base64" : ""}${o ? `,${o}` : ""}`;
|
|
1122
|
-
}
|
|
1123
|
-
return e;
|
|
1124
|
-
}
|
|
1125
|
-
//#endregion
|
|
1126
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/utils/ipAddress.js
|
|
1127
|
-
function Zn(e) {
|
|
1163
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.52.0/node_modules/@sentry/core/build/esm/utils/ipAddress.js
|
|
1164
|
+
function nr(e) {
|
|
1128
1165
|
if ("aggregates" in e) {
|
|
1129
1166
|
var t;
|
|
1130
1167
|
((t = e.attrs) == null ? void 0 : t.ip_address) === void 0 && (e.attrs = {
|
|
@@ -1134,8 +1171,8 @@ function Zn(e) {
|
|
|
1134
1171
|
} else e.ipAddress === void 0 && (e.ipAddress = "{{auto}}");
|
|
1135
1172
|
}
|
|
1136
1173
|
//#endregion
|
|
1137
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1138
|
-
function
|
|
1174
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.52.0/node_modules/@sentry/core/build/esm/utils/sdkMetadata.js
|
|
1175
|
+
function rr(e, t, n = [t], r = "npm") {
|
|
1139
1176
|
let i = (e._metadata = e._metadata || {}).sdk = e._metadata.sdk || {};
|
|
1140
1177
|
i.name || (i.name = `sentry.javascript.${t}`, i.packages = n.map((e) => ({
|
|
1141
1178
|
name: `${r}:@sentry/${e}`,
|
|
@@ -1143,36 +1180,36 @@ function Qn(e, t, n = [t], r = "npm") {
|
|
|
1143
1180
|
})), i.version = Ye);
|
|
1144
1181
|
}
|
|
1145
1182
|
//#endregion
|
|
1146
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1147
|
-
var
|
|
1183
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.52.0/node_modules/@sentry/core/build/esm/breadcrumbs.js
|
|
1184
|
+
var ir = 100;
|
|
1148
1185
|
function G(e, t) {
|
|
1149
|
-
let n =
|
|
1186
|
+
let n = _(), r = D();
|
|
1150
1187
|
if (!n) return;
|
|
1151
|
-
let { beforeBreadcrumb: i = null, maxBreadcrumbs: a =
|
|
1188
|
+
let { beforeBreadcrumb: i = null, maxBreadcrumbs: a = ir } = n.getOptions();
|
|
1152
1189
|
if (a <= 0) return;
|
|
1153
1190
|
let o = {
|
|
1154
|
-
timestamp:
|
|
1191
|
+
timestamp: h(),
|
|
1155
1192
|
...e
|
|
1156
1193
|
}, s = i ? Be(() => i(o, t)) : o;
|
|
1157
1194
|
s !== null && (n.emit && n.emit("beforeAddBreadcrumb", s, t), r.addBreadcrumb(s, a));
|
|
1158
1195
|
}
|
|
1159
1196
|
//#endregion
|
|
1160
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1161
|
-
var
|
|
1162
|
-
name:
|
|
1197
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.52.0/node_modules/@sentry/core/build/esm/integrations/functiontostring.js
|
|
1198
|
+
var ar, or = "FunctionToString", sr = /* @__PURE__ */ new WeakMap(), cr = W((() => ({
|
|
1199
|
+
name: or,
|
|
1163
1200
|
setupOnce() {
|
|
1164
|
-
|
|
1201
|
+
ar = Function.prototype.toString;
|
|
1165
1202
|
try {
|
|
1166
1203
|
Function.prototype.toString = function(...e) {
|
|
1167
|
-
let t =
|
|
1168
|
-
return
|
|
1204
|
+
let t = x(this), n = sr.has(_()) && t !== void 0 ? t : this;
|
|
1205
|
+
return ar.apply(n, e);
|
|
1169
1206
|
};
|
|
1170
1207
|
} catch {}
|
|
1171
1208
|
},
|
|
1172
1209
|
setup(e) {
|
|
1173
|
-
|
|
1210
|
+
sr.set(e, !0);
|
|
1174
1211
|
}
|
|
1175
|
-
}))),
|
|
1212
|
+
}))), lr = [
|
|
1176
1213
|
/^Script error\.?$/,
|
|
1177
1214
|
/^Javascript error: Script error\.? on line 0$/,
|
|
1178
1215
|
/^ResizeObserver loop completed with undelivered notifications.$/,
|
|
@@ -1184,120 +1221,120 @@ var er, tr = "FunctionToString", nr = /* @__PURE__ */ new WeakMap(), rr = W((()
|
|
|
1184
1221
|
/Can't find variable: _AutofillCallbackHandler/,
|
|
1185
1222
|
/Object Not Found Matching Id:\d+, MethodName:simulateEvent/,
|
|
1186
1223
|
/^Java exception was raised during method invocation$/
|
|
1187
|
-
],
|
|
1224
|
+
], ur = "EventFilters", dr = W((e = {}) => {
|
|
1188
1225
|
let t;
|
|
1189
1226
|
return {
|
|
1190
|
-
name:
|
|
1227
|
+
name: ur,
|
|
1191
1228
|
setup(n) {
|
|
1192
|
-
t =
|
|
1229
|
+
t = pr(e, n.getOptions());
|
|
1193
1230
|
},
|
|
1194
1231
|
processEvent(n, r, i) {
|
|
1195
|
-
return t || (t =
|
|
1232
|
+
return t || (t = pr(e, i.getOptions())), mr(n, t) ? null : n;
|
|
1196
1233
|
}
|
|
1197
1234
|
};
|
|
1198
|
-
}),
|
|
1199
|
-
...
|
|
1235
|
+
}), fr = W(((e = {}) => ({
|
|
1236
|
+
...dr(e),
|
|
1200
1237
|
name: "InboundFilters"
|
|
1201
1238
|
})));
|
|
1202
|
-
function
|
|
1239
|
+
function pr(e = {}, t = {}) {
|
|
1203
1240
|
return {
|
|
1204
1241
|
allowUrls: [...e.allowUrls || [], ...t.allowUrls || []],
|
|
1205
1242
|
denyUrls: [...e.denyUrls || [], ...t.denyUrls || []],
|
|
1206
1243
|
ignoreErrors: [
|
|
1207
1244
|
...e.ignoreErrors || [],
|
|
1208
1245
|
...t.ignoreErrors || [],
|
|
1209
|
-
...e.disableErrorDefaults ? [] :
|
|
1246
|
+
...e.disableErrorDefaults ? [] : lr
|
|
1210
1247
|
],
|
|
1211
1248
|
ignoreTransactions: [...e.ignoreTransactions || [], ...t.ignoreTransactions || []]
|
|
1212
1249
|
};
|
|
1213
1250
|
}
|
|
1214
|
-
function
|
|
1251
|
+
function mr(e, t) {
|
|
1215
1252
|
if (!e.type) {
|
|
1216
|
-
if (
|
|
1217
|
-
if (
|
|
1218
|
-
if (
|
|
1219
|
-
if (!
|
|
1220
|
-
} else if (e.type === "transaction" &&
|
|
1253
|
+
if (hr(e, t.ignoreErrors)) return k && j.warn(`Event dropped due to being matched by \`ignoreErrors\` option.\nEvent: ${b(e)}`), !0;
|
|
1254
|
+
if (xr(e)) return k && j.warn(`Event dropped due to not having an error message, error type or stacktrace.\nEvent: ${b(e)}`), !0;
|
|
1255
|
+
if (_r(e, t.denyUrls)) return k && j.warn(`Event dropped due to being matched by \`denyUrls\` option.\nEvent: ${b(e)}.\nUrl: ${br(e)}`), !0;
|
|
1256
|
+
if (!vr(e, t.allowUrls)) return k && j.warn(`Event dropped due to not being matched by \`allowUrls\` option.\nEvent: ${b(e)}.\nUrl: ${br(e)}`), !0;
|
|
1257
|
+
} else if (e.type === "transaction" && gr(e, t.ignoreTransactions)) return k && j.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.\nEvent: ${b(e)}`), !0;
|
|
1221
1258
|
return !1;
|
|
1222
1259
|
}
|
|
1223
|
-
function
|
|
1224
|
-
return t != null && t.length ?
|
|
1260
|
+
function hr(e, t) {
|
|
1261
|
+
return t != null && t.length ? En(e).some((e) => L(e, t)) : !1;
|
|
1225
1262
|
}
|
|
1226
|
-
function
|
|
1263
|
+
function gr(e, t) {
|
|
1227
1264
|
if (!(t != null && t.length)) return !1;
|
|
1228
1265
|
let n = e.transaction;
|
|
1229
1266
|
return n ? L(n, t) : !1;
|
|
1230
1267
|
}
|
|
1231
|
-
function
|
|
1268
|
+
function _r(e, t) {
|
|
1232
1269
|
if (!(t != null && t.length)) return !1;
|
|
1233
|
-
let n =
|
|
1270
|
+
let n = br(e);
|
|
1234
1271
|
return n ? L(n, t) : !1;
|
|
1235
1272
|
}
|
|
1236
|
-
function
|
|
1273
|
+
function vr(e, t) {
|
|
1237
1274
|
if (!(t != null && t.length)) return !0;
|
|
1238
|
-
let n =
|
|
1275
|
+
let n = br(e);
|
|
1239
1276
|
return n ? L(n, t) : !0;
|
|
1240
1277
|
}
|
|
1241
|
-
function
|
|
1278
|
+
function yr(e = []) {
|
|
1242
1279
|
for (let t = e.length - 1; t >= 0; t--) {
|
|
1243
1280
|
let n = e[t];
|
|
1244
1281
|
if (n && n.filename !== "<anonymous>" && n.filename !== "[native code]") return n.filename || null;
|
|
1245
1282
|
}
|
|
1246
1283
|
return null;
|
|
1247
1284
|
}
|
|
1248
|
-
function
|
|
1285
|
+
function br(e) {
|
|
1249
1286
|
try {
|
|
1250
1287
|
var t, n, r;
|
|
1251
1288
|
let i = [...(t = (n = e.exception) == null ? void 0 : n.values) == null ? [] : t].reverse().find((e) => {
|
|
1252
1289
|
var t, n;
|
|
1253
1290
|
return ((t = e.mechanism) == null ? void 0 : t.parent_id) === void 0 && ((n = e.stacktrace) == null || (n = n.frames) == null ? void 0 : n.length);
|
|
1254
1291
|
}), a = i == null || (r = i.stacktrace) == null ? void 0 : r.frames;
|
|
1255
|
-
return a ?
|
|
1292
|
+
return a ? yr(a) : null;
|
|
1256
1293
|
} catch {
|
|
1257
|
-
return
|
|
1294
|
+
return k && j.error(`Cannot extract url for event ${b(e)}`), null;
|
|
1258
1295
|
}
|
|
1259
1296
|
}
|
|
1260
|
-
function
|
|
1297
|
+
function xr(e) {
|
|
1261
1298
|
var t;
|
|
1262
1299
|
return !((t = e.exception) == null || (t = t.values) == null) && t.length ? !e.message && !e.exception.values.some((e) => e.stacktrace || e.type && e.type !== "Error" || e.value) : !1;
|
|
1263
1300
|
}
|
|
1264
1301
|
//#endregion
|
|
1265
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1266
|
-
function
|
|
1302
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.52.0/node_modules/@sentry/core/build/esm/utils/aggregate-errors.js
|
|
1303
|
+
function Sr(e, t, n, r, i, a) {
|
|
1267
1304
|
var o;
|
|
1268
1305
|
if (!((o = i.exception) != null && o.values) || !a || !qe(a.originalException, Error)) return;
|
|
1269
1306
|
let s = i.exception.values.length > 0 ? i.exception.values[i.exception.values.length - 1] : void 0;
|
|
1270
|
-
s && (i.exception.values =
|
|
1307
|
+
s && (i.exception.values = Cr(e, t, r, a.originalException, n, i.exception.values, s, 0));
|
|
1271
1308
|
}
|
|
1272
|
-
function
|
|
1309
|
+
function Cr(e, t, n, r, i, a, o, s) {
|
|
1273
1310
|
if (a.length >= n + 1) return a;
|
|
1274
1311
|
let c = [...a];
|
|
1275
1312
|
if (qe(r[i], Error)) {
|
|
1276
|
-
|
|
1313
|
+
Tr(o, s, r);
|
|
1277
1314
|
let a = e(t, r[i]), l = c.length;
|
|
1278
|
-
|
|
1315
|
+
Er(a, i, l, s), c = Cr(e, t, n, r[i], i, [a, ...c], a, l);
|
|
1279
1316
|
}
|
|
1280
|
-
return
|
|
1317
|
+
return wr(r) && r.errors.forEach((a, l) => {
|
|
1281
1318
|
if (qe(a, Error)) {
|
|
1282
|
-
|
|
1319
|
+
Tr(o, s, r);
|
|
1283
1320
|
let u = e(t, a), d = c.length;
|
|
1284
|
-
|
|
1321
|
+
Er(u, `errors[${l}]`, d, s), c = Cr(e, t, n, a, i, [u, ...c], u, d);
|
|
1285
1322
|
}
|
|
1286
1323
|
}), c;
|
|
1287
1324
|
}
|
|
1288
|
-
function
|
|
1325
|
+
function wr(e) {
|
|
1289
1326
|
return Array.isArray(e.errors);
|
|
1290
1327
|
}
|
|
1291
|
-
function
|
|
1328
|
+
function Tr(e, t, n) {
|
|
1292
1329
|
e.mechanism = {
|
|
1293
1330
|
handled: !0,
|
|
1294
1331
|
type: "auto.core.linked_errors",
|
|
1295
|
-
...
|
|
1332
|
+
...wr(n) && { is_exception_group: !0 },
|
|
1296
1333
|
...e.mechanism,
|
|
1297
1334
|
exception_id: t
|
|
1298
1335
|
};
|
|
1299
1336
|
}
|
|
1300
|
-
function
|
|
1337
|
+
function Er(e, t, n, r) {
|
|
1301
1338
|
e.mechanism = {
|
|
1302
1339
|
handled: !0,
|
|
1303
1340
|
...e.mechanism,
|
|
@@ -1308,28 +1345,28 @@ function xr(e, t, n, r) {
|
|
|
1308
1345
|
};
|
|
1309
1346
|
}
|
|
1310
1347
|
//#endregion
|
|
1311
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1312
|
-
function
|
|
1348
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.52.0/node_modules/@sentry/core/build/esm/instrument/console.js
|
|
1349
|
+
function Dr(e) {
|
|
1313
1350
|
let t = "console", n = B(t, e);
|
|
1314
|
-
return V(t,
|
|
1351
|
+
return V(t, Or), n;
|
|
1315
1352
|
}
|
|
1316
|
-
function
|
|
1317
|
-
"console" in I &&
|
|
1318
|
-
e in I.console &&
|
|
1319
|
-
return
|
|
1353
|
+
function Or() {
|
|
1354
|
+
"console" in I && Ee.forEach(function(e) {
|
|
1355
|
+
e in I.console && O(I.console, e, function(t) {
|
|
1356
|
+
return Ae[e] = t, function(...t) {
|
|
1320
1357
|
H("console", {
|
|
1321
1358
|
args: t,
|
|
1322
1359
|
level: e
|
|
1323
1360
|
});
|
|
1324
|
-
let n =
|
|
1361
|
+
let n = Ae[e];
|
|
1325
1362
|
n == null || n.apply(I.console, t);
|
|
1326
1363
|
};
|
|
1327
1364
|
});
|
|
1328
1365
|
});
|
|
1329
1366
|
}
|
|
1330
1367
|
//#endregion
|
|
1331
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1332
|
-
function
|
|
1368
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.52.0/node_modules/@sentry/core/build/esm/utils/severity.js
|
|
1369
|
+
function kr(e) {
|
|
1333
1370
|
return e === "warn" ? "warning" : [
|
|
1334
1371
|
"fatal",
|
|
1335
1372
|
"error",
|
|
@@ -1340,32 +1377,32 @@ function wr(e) {
|
|
|
1340
1377
|
].includes(e) ? e : "log";
|
|
1341
1378
|
}
|
|
1342
1379
|
//#endregion
|
|
1343
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1344
|
-
var
|
|
1380
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.52.0/node_modules/@sentry/core/build/esm/integrations/dedupe.js
|
|
1381
|
+
var Ar = "Dedupe", jr = W((() => {
|
|
1345
1382
|
let e;
|
|
1346
1383
|
return {
|
|
1347
|
-
name:
|
|
1384
|
+
name: Ar,
|
|
1348
1385
|
processEvent(t) {
|
|
1349
1386
|
if (t.type) return t;
|
|
1350
1387
|
try {
|
|
1351
|
-
if (
|
|
1388
|
+
if (Mr(t, e)) return k && j.warn("Event dropped due to being a duplicate of previously captured event."), null;
|
|
1352
1389
|
} catch {}
|
|
1353
1390
|
return e = t;
|
|
1354
1391
|
}
|
|
1355
1392
|
};
|
|
1356
1393
|
}));
|
|
1357
|
-
function
|
|
1358
|
-
return t ? !!(
|
|
1394
|
+
function Mr(e, t) {
|
|
1395
|
+
return t ? !!(Nr(e, t) || Pr(e, t)) : !1;
|
|
1359
1396
|
}
|
|
1360
|
-
function
|
|
1397
|
+
function Nr(e, t) {
|
|
1361
1398
|
let n = e.message, r = t.message;
|
|
1362
|
-
return !(!n && !r || n && !r || !n && r || n !== r || !
|
|
1399
|
+
return !(!n && !r || n && !r || !n && r || n !== r || !Ir(e, t) || !Fr(e, t));
|
|
1363
1400
|
}
|
|
1364
|
-
function
|
|
1365
|
-
let n =
|
|
1366
|
-
return !(!n || !r || n.type !== r.type || n.value !== r.value || !
|
|
1401
|
+
function Pr(e, t) {
|
|
1402
|
+
let n = Lr(t), r = Lr(e);
|
|
1403
|
+
return !(!n || !r || n.type !== r.type || n.value !== r.value || !Ir(e, t) || !Fr(e, t));
|
|
1367
1404
|
}
|
|
1368
|
-
function
|
|
1405
|
+
function Fr(e, t) {
|
|
1369
1406
|
let n = Pe(e), r = Pe(t);
|
|
1370
1407
|
if (!n && !r) return !0;
|
|
1371
1408
|
if (n && !r || !n && r || (n = n, r = r, r.length !== n.length)) return !1;
|
|
@@ -1375,7 +1412,7 @@ function Ar(e, t) {
|
|
|
1375
1412
|
}
|
|
1376
1413
|
return !0;
|
|
1377
1414
|
}
|
|
1378
|
-
function
|
|
1415
|
+
function Ir(e, t) {
|
|
1379
1416
|
let n = e.fingerprint, r = t.fingerprint;
|
|
1380
1417
|
if (!n && !r) return !0;
|
|
1381
1418
|
if (n && !r || !n && r) return !1;
|
|
@@ -1386,45 +1423,40 @@ function jr(e, t) {
|
|
|
1386
1423
|
return !1;
|
|
1387
1424
|
}
|
|
1388
1425
|
}
|
|
1389
|
-
function
|
|
1426
|
+
function Lr(e) {
|
|
1390
1427
|
var t;
|
|
1391
1428
|
return (t = e.exception) == null || (t = t.values) == null ? void 0 : t[0];
|
|
1392
1429
|
}
|
|
1393
1430
|
//#endregion
|
|
1394
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1395
|
-
var
|
|
1396
|
-
name:
|
|
1431
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.52.0/node_modules/@sentry/core/build/esm/integrations/conversationId.js
|
|
1432
|
+
var Rr = "ConversationId", zr = W((() => ({
|
|
1433
|
+
name: Rr,
|
|
1397
1434
|
setup(e) {
|
|
1398
1435
|
e.on("spanStart", (e) => {
|
|
1399
|
-
let t = F().getScopeData(), n =
|
|
1436
|
+
let t = F().getScopeData(), n = D().getScopeData(), r = t.conversationId || n.conversationId;
|
|
1400
1437
|
if (r) {
|
|
1401
|
-
let { op: t, data: n, description: i } =
|
|
1438
|
+
let { op: t, data: n, description: i } = he(e);
|
|
1402
1439
|
if (!(t != null && t.startsWith("gen_ai.")) && !n["ai.operationId"] && !(i != null && i.startsWith("ai."))) return;
|
|
1403
|
-
e.setAttribute(
|
|
1440
|
+
e.setAttribute(ye, r);
|
|
1404
1441
|
}
|
|
1405
1442
|
});
|
|
1406
1443
|
}
|
|
1407
1444
|
})));
|
|
1408
1445
|
//#endregion
|
|
1409
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1410
|
-
function
|
|
1411
|
-
return "npm";
|
|
1412
|
-
}
|
|
1413
|
-
//#endregion
|
|
1414
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/utils/breadcrumb-log-level.js
|
|
1415
|
-
function Ir(e) {
|
|
1446
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.52.0/node_modules/@sentry/core/build/esm/utils/breadcrumb-log-level.js
|
|
1447
|
+
function Br(e) {
|
|
1416
1448
|
if (e !== void 0) {
|
|
1417
1449
|
if (e >= 400 && e < 500) return "warning";
|
|
1418
1450
|
if (e >= 500) return "error";
|
|
1419
1451
|
}
|
|
1420
1452
|
}
|
|
1421
1453
|
//#endregion
|
|
1422
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1454
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.52.0/node_modules/@sentry/core/build/esm/utils/supports.js
|
|
1423
1455
|
var K = I;
|
|
1424
|
-
function
|
|
1456
|
+
function Vr() {
|
|
1425
1457
|
return "history" in K && !!K.history;
|
|
1426
1458
|
}
|
|
1427
|
-
function
|
|
1459
|
+
function Hr() {
|
|
1428
1460
|
if (!("fetch" in K)) return !1;
|
|
1429
1461
|
try {
|
|
1430
1462
|
return new Headers(), new Request("data:,"), new Response(), !0;
|
|
@@ -1432,33 +1464,33 @@ function Rr() {
|
|
|
1432
1464
|
return !1;
|
|
1433
1465
|
}
|
|
1434
1466
|
}
|
|
1435
|
-
function
|
|
1467
|
+
function Ur(e) {
|
|
1436
1468
|
return e && /^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString());
|
|
1437
1469
|
}
|
|
1438
|
-
function
|
|
1470
|
+
function Wr() {
|
|
1439
1471
|
if (typeof EdgeRuntime == "string") return !0;
|
|
1440
|
-
if (!
|
|
1441
|
-
if (
|
|
1472
|
+
if (!Hr()) return !1;
|
|
1473
|
+
if (Ur(K.fetch)) return !0;
|
|
1442
1474
|
let e = !1, t = K.document;
|
|
1443
1475
|
if (t && typeof t.createElement == "function") try {
|
|
1444
1476
|
var n;
|
|
1445
1477
|
let r = t.createElement("iframe");
|
|
1446
|
-
r.hidden = !0, t.head.appendChild(r), (n = r.contentWindow) != null && n.fetch && (e =
|
|
1478
|
+
r.hidden = !0, t.head.appendChild(r), (n = r.contentWindow) != null && n.fetch && (e = Ur(r.contentWindow.fetch)), t.head.removeChild(r);
|
|
1447
1479
|
} catch (e) {
|
|
1448
|
-
|
|
1480
|
+
k && j.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ", e);
|
|
1449
1481
|
}
|
|
1450
1482
|
return e;
|
|
1451
1483
|
}
|
|
1452
1484
|
//#endregion
|
|
1453
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1454
|
-
function
|
|
1485
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.52.0/node_modules/@sentry/core/build/esm/instrument/fetch.js
|
|
1486
|
+
function Gr(e, t) {
|
|
1455
1487
|
let n = "fetch", r = B(n, e);
|
|
1456
|
-
return V(n, () =>
|
|
1488
|
+
return V(n, () => Kr(void 0, t)), r;
|
|
1457
1489
|
}
|
|
1458
|
-
function
|
|
1459
|
-
t && !
|
|
1490
|
+
function Kr(e, t = !1) {
|
|
1491
|
+
t && !Wr() || O(I, "fetch", function(t) {
|
|
1460
1492
|
return function(...n) {
|
|
1461
|
-
let r = /* @__PURE__ */ Error(), { method: i, url: a } =
|
|
1493
|
+
let r = /* @__PURE__ */ Error(), { method: i, url: a } = Yr(n), o = {
|
|
1462
1494
|
args: n,
|
|
1463
1495
|
fetchData: {
|
|
1464
1496
|
method: i,
|
|
@@ -1466,7 +1498,7 @@ function Hr(e, t = !1) {
|
|
|
1466
1498
|
},
|
|
1467
1499
|
startTimestamp: A() * 1e3,
|
|
1468
1500
|
virtualError: r,
|
|
1469
|
-
headers:
|
|
1501
|
+
headers: Xr(n)
|
|
1470
1502
|
};
|
|
1471
1503
|
return e || H("fetch", { ...o }), t.apply(I, n).then(async (t) => (e ? e(t) : H("fetch", {
|
|
1472
1504
|
...o,
|
|
@@ -1478,24 +1510,24 @@ function Hr(e, t = !1) {
|
|
|
1478
1510
|
...o,
|
|
1479
1511
|
endTimestamp: A() * 1e3,
|
|
1480
1512
|
error: e
|
|
1481
|
-
}), se(e) && e.stack === void 0 && (e.stack = r.stack,
|
|
1482
|
-
let n =
|
|
1513
|
+
}), se(e) && e.stack === void 0 && (e.stack = r.stack, S(e, "framesToPop", 1));
|
|
1514
|
+
let n = _(), i = (t = n == null ? void 0 : n.getOptions().enhanceFetchErrorMessages) == null ? "always" : t;
|
|
1483
1515
|
if (i !== !1 && e instanceof TypeError && (e.message === "Failed to fetch" || e.message === "Load failed" || e.message === "NetworkError when attempting to fetch resource.")) try {
|
|
1484
1516
|
let t = new URL(o.fetchData.url).host;
|
|
1485
|
-
i === "always" ? e.message = `${e.message} (${t})` :
|
|
1517
|
+
i === "always" ? e.message = `${e.message} (${t})` : S(e, "__sentry_fetch_url_host__", t);
|
|
1486
1518
|
} catch {}
|
|
1487
1519
|
throw e;
|
|
1488
1520
|
});
|
|
1489
1521
|
};
|
|
1490
1522
|
});
|
|
1491
1523
|
}
|
|
1492
|
-
function
|
|
1524
|
+
function qr(e, t) {
|
|
1493
1525
|
return !!e && typeof e == "object" && !!e[t];
|
|
1494
1526
|
}
|
|
1495
|
-
function
|
|
1496
|
-
return typeof e == "string" ? e : e ?
|
|
1527
|
+
function Jr(e) {
|
|
1528
|
+
return typeof e == "string" ? e : e ? qr(e, "url") ? e.url : e.toString ? e.toString() : "" : "";
|
|
1497
1529
|
}
|
|
1498
|
-
function
|
|
1530
|
+
function Yr(e) {
|
|
1499
1531
|
if (e.length === 0) return {
|
|
1500
1532
|
method: "GET",
|
|
1501
1533
|
url: ""
|
|
@@ -1503,32 +1535,32 @@ function Gr(e) {
|
|
|
1503
1535
|
if (e.length === 2) {
|
|
1504
1536
|
let [t, n] = e;
|
|
1505
1537
|
return {
|
|
1506
|
-
url:
|
|
1507
|
-
method:
|
|
1538
|
+
url: Jr(t),
|
|
1539
|
+
method: qr(n, "method") ? String(n.method).toUpperCase() : ve(t) && qr(t, "method") ? String(t.method).toUpperCase() : "GET"
|
|
1508
1540
|
};
|
|
1509
1541
|
}
|
|
1510
1542
|
let t = e[0];
|
|
1511
1543
|
return {
|
|
1512
|
-
url:
|
|
1513
|
-
method:
|
|
1544
|
+
url: Jr(t),
|
|
1545
|
+
method: qr(t, "method") ? String(t.method).toUpperCase() : "GET"
|
|
1514
1546
|
};
|
|
1515
1547
|
}
|
|
1516
|
-
function
|
|
1548
|
+
function Xr(e) {
|
|
1517
1549
|
let [t, n] = e;
|
|
1518
1550
|
try {
|
|
1519
1551
|
if (typeof n == "object" && n && "headers" in n && n.headers) return new Headers(n.headers);
|
|
1520
|
-
if (
|
|
1552
|
+
if (ve(t)) return new Headers(t.headers);
|
|
1521
1553
|
} catch {}
|
|
1522
1554
|
}
|
|
1523
1555
|
//#endregion
|
|
1524
|
-
//#region ../../node_modules/.pnpm/@sentry+browser@10.
|
|
1525
|
-
var q = I,
|
|
1526
|
-
function
|
|
1527
|
-
return
|
|
1528
|
-
}
|
|
1529
|
-
function
|
|
1530
|
-
|
|
1531
|
-
|
|
1556
|
+
//#region ../../node_modules/.pnpm/@sentry+browser@10.52.0/node_modules/@sentry/browser/build/npm/esm/prod/helpers.js
|
|
1557
|
+
var q = I, Zr = 0;
|
|
1558
|
+
function Qr() {
|
|
1559
|
+
return Zr > 0;
|
|
1560
|
+
}
|
|
1561
|
+
function $r() {
|
|
1562
|
+
Zr++, setTimeout(() => {
|
|
1563
|
+
Zr--;
|
|
1532
1564
|
});
|
|
1533
1565
|
}
|
|
1534
1566
|
function J(e, t = {}) {
|
|
@@ -1539,7 +1571,7 @@ function J(e, t = {}) {
|
|
|
1539
1571
|
try {
|
|
1540
1572
|
let t = e.__sentry_wrapped__;
|
|
1541
1573
|
if (t) return typeof t == "function" ? t : e;
|
|
1542
|
-
if (
|
|
1574
|
+
if (x(e)) return e;
|
|
1543
1575
|
} catch {
|
|
1544
1576
|
return e;
|
|
1545
1577
|
}
|
|
@@ -1548,7 +1580,7 @@ function J(e, t = {}) {
|
|
|
1548
1580
|
let r = n.map((e) => J(e, t));
|
|
1549
1581
|
return e.apply(this, r);
|
|
1550
1582
|
} catch (e) {
|
|
1551
|
-
throw
|
|
1583
|
+
throw $r(), v((r) => {
|
|
1552
1584
|
r.addEventProcessor((e) => (t.mechanism && (ie(e, void 0, void 0), E(e, t.mechanism)), e.extra = {
|
|
1553
1585
|
...e.extra,
|
|
1554
1586
|
arguments: n
|
|
@@ -1559,7 +1591,7 @@ function J(e, t = {}) {
|
|
|
1559
1591
|
try {
|
|
1560
1592
|
for (let t in e) Object.prototype.hasOwnProperty.call(e, t) && (r[t] = e[t]);
|
|
1561
1593
|
} catch {}
|
|
1562
|
-
|
|
1594
|
+
T(r, e), S(e, "__sentry_wrapped__", r);
|
|
1563
1595
|
try {
|
|
1564
1596
|
Object.getOwnPropertyDescriptor(r, "name").configurable && Object.defineProperty(r, "name", { get() {
|
|
1565
1597
|
return e.name;
|
|
@@ -1567,8 +1599,8 @@ function J(e, t = {}) {
|
|
|
1567
1599
|
} catch {}
|
|
1568
1600
|
return r;
|
|
1569
1601
|
}
|
|
1570
|
-
function
|
|
1571
|
-
let e =
|
|
1602
|
+
function ei() {
|
|
1603
|
+
let e = w(), { referrer: t } = q.document || {}, { userAgent: n } = q.navigator || {};
|
|
1572
1604
|
return {
|
|
1573
1605
|
url: e,
|
|
1574
1606
|
headers: {
|
|
@@ -1578,90 +1610,90 @@ function Xr() {
|
|
|
1578
1610
|
};
|
|
1579
1611
|
}
|
|
1580
1612
|
//#endregion
|
|
1581
|
-
//#region ../../node_modules/.pnpm/@sentry+browser@10.
|
|
1582
|
-
function
|
|
1583
|
-
let n =
|
|
1584
|
-
type:
|
|
1585
|
-
value:
|
|
1613
|
+
//#region ../../node_modules/.pnpm/@sentry+browser@10.52.0/node_modules/@sentry/browser/build/npm/esm/prod/eventbuilder.js
|
|
1614
|
+
function ti(e, t) {
|
|
1615
|
+
let n = ii(e, t), r = {
|
|
1616
|
+
type: li(t),
|
|
1617
|
+
value: ui(t)
|
|
1586
1618
|
};
|
|
1587
1619
|
return n.length && (r.stacktrace = { frames: n }), r.type === void 0 && r.value === "" && (r.value = "Unrecoverable error caught"), r;
|
|
1588
1620
|
}
|
|
1589
|
-
function
|
|
1590
|
-
let i =
|
|
1621
|
+
function ni(e, t, n, r) {
|
|
1622
|
+
let i = _(), a = i == null ? void 0 : i.getOptions().normalizeDepth, o = _i(t), s = { __serialized__: ze(t, a) };
|
|
1591
1623
|
if (o) return {
|
|
1592
|
-
exception: { values: [
|
|
1624
|
+
exception: { values: [ti(e, o)] },
|
|
1593
1625
|
extra: s
|
|
1594
1626
|
};
|
|
1595
1627
|
let c = {
|
|
1596
1628
|
exception: { values: [{
|
|
1597
|
-
type:
|
|
1598
|
-
value:
|
|
1629
|
+
type: we(t) ? t.constructor.name : r ? "UnhandledRejection" : "Error",
|
|
1630
|
+
value: hi(t, { isUnhandledRejection: r })
|
|
1599
1631
|
}] },
|
|
1600
1632
|
extra: s
|
|
1601
1633
|
};
|
|
1602
1634
|
if (n) {
|
|
1603
|
-
let t =
|
|
1635
|
+
let t = ii(e, n);
|
|
1604
1636
|
t.length && (c.exception.values[0].stacktrace = { frames: t });
|
|
1605
1637
|
}
|
|
1606
1638
|
return c;
|
|
1607
1639
|
}
|
|
1608
|
-
function
|
|
1609
|
-
return { exception: { values: [
|
|
1640
|
+
function ri(e, t) {
|
|
1641
|
+
return { exception: { values: [ti(e, t)] } };
|
|
1610
1642
|
}
|
|
1611
|
-
function
|
|
1612
|
-
let n = t.stacktrace || t.stack || "", r =
|
|
1643
|
+
function ii(e, t) {
|
|
1644
|
+
let n = t.stacktrace || t.stack || "", r = oi(t), i = si(t);
|
|
1613
1645
|
try {
|
|
1614
1646
|
return e(n, r, i);
|
|
1615
1647
|
} catch {}
|
|
1616
1648
|
return [];
|
|
1617
1649
|
}
|
|
1618
|
-
var
|
|
1619
|
-
function
|
|
1620
|
-
return e &&
|
|
1650
|
+
var ai = /Minified React error #\d+;/i;
|
|
1651
|
+
function oi(e) {
|
|
1652
|
+
return e && ai.test(e.message) ? 1 : 0;
|
|
1621
1653
|
}
|
|
1622
|
-
function
|
|
1654
|
+
function si(e) {
|
|
1623
1655
|
return typeof e.framesToPop == "number" ? e.framesToPop : 0;
|
|
1624
1656
|
}
|
|
1625
|
-
function
|
|
1657
|
+
function ci(e) {
|
|
1626
1658
|
return typeof WebAssembly < "u" && WebAssembly.Exception !== void 0 ? e instanceof WebAssembly.Exception : !1;
|
|
1627
1659
|
}
|
|
1628
|
-
function
|
|
1660
|
+
function li(e) {
|
|
1629
1661
|
let t = e == null ? void 0 : e.name;
|
|
1630
|
-
return !t &&
|
|
1662
|
+
return !t && ci(e) ? e.message && Array.isArray(e.message) && e.message.length == 2 ? e.message[0] : "WebAssembly.Exception" : t;
|
|
1631
1663
|
}
|
|
1632
|
-
function
|
|
1664
|
+
function ui(e) {
|
|
1633
1665
|
let t = e == null ? void 0 : e.message;
|
|
1634
|
-
return
|
|
1666
|
+
return ci(e) ? Array.isArray(e.message) && e.message.length == 2 ? e.message[1] : "wasm exception" : t ? t.error && typeof t.error.message == "string" ? Xn(t.error) : Xn(e) : "No error message";
|
|
1635
1667
|
}
|
|
1636
|
-
function
|
|
1637
|
-
let i =
|
|
1638
|
-
return E(i), i.level = "error", n != null && n.event_id && (i.event_id = n.event_id),
|
|
1668
|
+
function di(e, t, n, r) {
|
|
1669
|
+
let i = pi(e, t, (n == null ? void 0 : n.syntheticException) || void 0, r);
|
|
1670
|
+
return E(i), i.level = "error", n != null && n.event_id && (i.event_id = n.event_id), Se(i);
|
|
1639
1671
|
}
|
|
1640
|
-
function
|
|
1641
|
-
let a =
|
|
1642
|
-
return a.level = n, r != null && r.event_id && (a.event_id = r.event_id),
|
|
1672
|
+
function fi(e, t, n = "info", r, i) {
|
|
1673
|
+
let a = mi(e, t, (r == null ? void 0 : r.syntheticException) || void 0, i);
|
|
1674
|
+
return a.level = n, r != null && r.event_id && (a.event_id = r.event_id), Se(a);
|
|
1643
1675
|
}
|
|
1644
|
-
function
|
|
1676
|
+
function pi(e, t, n, r, i) {
|
|
1645
1677
|
let a;
|
|
1646
|
-
if (
|
|
1647
|
-
if (
|
|
1678
|
+
if (m(t) && t.error) return ri(e, t.error);
|
|
1679
|
+
if (fe(t) || me(t)) {
|
|
1648
1680
|
let i = t;
|
|
1649
|
-
if ("stack" in t) a =
|
|
1681
|
+
if ("stack" in t) a = ri(e, t);
|
|
1650
1682
|
else {
|
|
1651
|
-
let t = i.name || (
|
|
1652
|
-
a =
|
|
1683
|
+
let t = i.name || (fe(i) ? "DOMError" : "DOMException"), o = i.message ? `${t}: ${i.message}` : t;
|
|
1684
|
+
a = mi(e, o, n, r), ie(a, o);
|
|
1653
1685
|
}
|
|
1654
1686
|
return "code" in i && (a.tags = {
|
|
1655
1687
|
...a.tags,
|
|
1656
1688
|
"DOMException.code": `${i.code}`
|
|
1657
1689
|
}), a;
|
|
1658
1690
|
}
|
|
1659
|
-
return se(t) ?
|
|
1691
|
+
return se(t) ? ri(e, t) : Ue(t) || we(t) ? (a = ni(e, t, n, i), E(a, { synthetic: !0 }), a) : (a = mi(e, t, n, r), ie(a, `${t}`, void 0), E(a, { synthetic: !0 }), a);
|
|
1660
1692
|
}
|
|
1661
|
-
function
|
|
1693
|
+
function mi(e, t, n, r) {
|
|
1662
1694
|
let i = {};
|
|
1663
1695
|
if (r && n) {
|
|
1664
|
-
let r =
|
|
1696
|
+
let r = ii(e, n);
|
|
1665
1697
|
r.length && (i.exception = { values: [{
|
|
1666
1698
|
value: t,
|
|
1667
1699
|
stacktrace: { frames: r }
|
|
@@ -1676,45 +1708,45 @@ function ui(e, t, n, r) {
|
|
|
1676
1708
|
}
|
|
1677
1709
|
return i.message = t, i;
|
|
1678
1710
|
}
|
|
1679
|
-
function
|
|
1680
|
-
let n =
|
|
1681
|
-
return
|
|
1711
|
+
function hi(e, { isUnhandledRejection: t }) {
|
|
1712
|
+
let n = ue(e), r = t ? "promise rejection" : "exception";
|
|
1713
|
+
return m(e) ? `Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\`` : we(e) ? `Event \`${gi(e)}\` (type=${e.type}) captured as ${r}` : `Object captured as ${r} with keys: ${n}`;
|
|
1682
1714
|
}
|
|
1683
|
-
function
|
|
1715
|
+
function gi(e) {
|
|
1684
1716
|
try {
|
|
1685
1717
|
let t = Object.getPrototypeOf(e);
|
|
1686
1718
|
return t ? t.constructor.name : void 0;
|
|
1687
1719
|
} catch {}
|
|
1688
1720
|
}
|
|
1689
|
-
function
|
|
1721
|
+
function _i(e) {
|
|
1690
1722
|
return Object.values(e).find((e) => e instanceof Error);
|
|
1691
1723
|
}
|
|
1692
1724
|
//#endregion
|
|
1693
|
-
//#region ../../node_modules/.pnpm/@sentry+browser@10.
|
|
1694
|
-
var
|
|
1725
|
+
//#region ../../node_modules/.pnpm/@sentry+browser@10.52.0/node_modules/@sentry/browser/build/npm/esm/prod/client.js
|
|
1726
|
+
var vi = class extends zn {
|
|
1695
1727
|
constructor(e) {
|
|
1696
1728
|
var t, n;
|
|
1697
|
-
let r =
|
|
1698
|
-
|
|
1729
|
+
let r = yi(e);
|
|
1730
|
+
rr(r, "browser", ["browser"], q.SENTRY_SDK_SOURCE || tn()), (t = r._metadata) != null && t.sdk && (r._metadata.sdk.settings = {
|
|
1699
1731
|
infer_ip: r.sendDefaultPii ? "auto" : "never",
|
|
1700
1732
|
...r._metadata.sdk.settings
|
|
1701
1733
|
}), super(r);
|
|
1702
1734
|
let { sendDefaultPii: i, sendClientReports: a, enableLogs: o, _experiments: s, enableMetrics: c } = this._options, l = (n = c == null ? s == null ? void 0 : s.enableMetrics : c) == null ? !0 : n;
|
|
1703
1735
|
q.document && (a || o || l) && q.document.addEventListener("visibilitychange", () => {
|
|
1704
|
-
q.document.visibilityState === "hidden" && (a && this._flushOutcomes(), o &&
|
|
1705
|
-
}), i && this.on("beforeSendSession",
|
|
1736
|
+
q.document.visibilityState === "hidden" && (a && this._flushOutcomes(), o && cn(this), l && pn(this));
|
|
1737
|
+
}), i && this.on("beforeSendSession", nr);
|
|
1706
1738
|
}
|
|
1707
1739
|
eventFromException(e, t) {
|
|
1708
|
-
return
|
|
1740
|
+
return di(this._options.stackParser, e, t, this._options.attachStacktrace);
|
|
1709
1741
|
}
|
|
1710
1742
|
eventFromMessage(e, t = "info", n) {
|
|
1711
|
-
return
|
|
1743
|
+
return fi(this._options.stackParser, e, t, n, this._options.attachStacktrace);
|
|
1712
1744
|
}
|
|
1713
1745
|
_prepareEvent(e, t, n, r) {
|
|
1714
1746
|
return e.platform = e.platform || "javascript", super._prepareEvent(e, t, n, r);
|
|
1715
1747
|
}
|
|
1716
1748
|
};
|
|
1717
|
-
function
|
|
1749
|
+
function yi(e) {
|
|
1718
1750
|
var t;
|
|
1719
1751
|
return {
|
|
1720
1752
|
release: typeof __SENTRY_RELEASE__ == "string" ? __SENTRY_RELEASE__ : (t = q.SENTRY_RELEASE) == null ? void 0 : t.id,
|
|
@@ -1724,30 +1756,30 @@ function hi(e) {
|
|
|
1724
1756
|
};
|
|
1725
1757
|
}
|
|
1726
1758
|
//#endregion
|
|
1727
|
-
//#region ../../node_modules/.pnpm/@sentry-internal+browser-utils@10.
|
|
1728
|
-
var
|
|
1729
|
-
function
|
|
1730
|
-
B("dom", e), V("dom",
|
|
1759
|
+
//#region ../../node_modules/.pnpm/@sentry-internal+browser-utils@10.52.0/node_modules/@sentry-internal/browser-utils/build/esm/debug-build.js
|
|
1760
|
+
var bi = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, Y = I, xi = 1e3, Si, Ci, wi;
|
|
1761
|
+
function Ti(e) {
|
|
1762
|
+
B("dom", e), V("dom", Ei);
|
|
1731
1763
|
}
|
|
1732
|
-
function
|
|
1764
|
+
function Ei() {
|
|
1733
1765
|
if (!Y.document) return;
|
|
1734
|
-
let e = H.bind(null, "dom"), t =
|
|
1766
|
+
let e = H.bind(null, "dom"), t = ki(e, !0);
|
|
1735
1767
|
Y.document.addEventListener("click", t, !1), Y.document.addEventListener("keypress", t, !1), ["EventTarget", "Node"].forEach((t) => {
|
|
1736
1768
|
var n, r;
|
|
1737
1769
|
let i = (n = Y[t]) == null ? void 0 : n.prototype;
|
|
1738
|
-
!(i == null || (r = i.hasOwnProperty) == null) && r.call(i, "addEventListener") && (
|
|
1770
|
+
!(i == null || (r = i.hasOwnProperty) == null) && r.call(i, "addEventListener") && (O(i, "addEventListener", function(t) {
|
|
1739
1771
|
return function(n, r, i) {
|
|
1740
1772
|
if (n === "click" || n == "keypress") try {
|
|
1741
1773
|
let r = this.__sentry_instrumentation_handlers__ = this.__sentry_instrumentation_handlers__ || {}, a = r[n] = r[n] || { refCount: 0 };
|
|
1742
1774
|
if (!a.handler) {
|
|
1743
|
-
let r =
|
|
1775
|
+
let r = ki(e);
|
|
1744
1776
|
a.handler = r, t.call(this, n, r, i);
|
|
1745
1777
|
}
|
|
1746
1778
|
a.refCount++;
|
|
1747
1779
|
} catch {}
|
|
1748
1780
|
return t.call(this, n, r, i);
|
|
1749
1781
|
};
|
|
1750
|
-
}),
|
|
1782
|
+
}), O(i, "removeEventListener", function(e) {
|
|
1751
1783
|
return function(t, n, r) {
|
|
1752
1784
|
if (t === "click" || t == "keypress") try {
|
|
1753
1785
|
let n = this.__sentry_instrumentation_handlers__ || {}, i = n[t];
|
|
@@ -1758,33 +1790,33 @@ function Si() {
|
|
|
1758
1790
|
}));
|
|
1759
1791
|
});
|
|
1760
1792
|
}
|
|
1761
|
-
function
|
|
1762
|
-
if (e.type !==
|
|
1793
|
+
function Di(e) {
|
|
1794
|
+
if (e.type !== Ci) return !1;
|
|
1763
1795
|
try {
|
|
1764
|
-
if (!e.target || e.target._sentryId !==
|
|
1796
|
+
if (!e.target || e.target._sentryId !== wi) return !1;
|
|
1765
1797
|
} catch {}
|
|
1766
1798
|
return !0;
|
|
1767
1799
|
}
|
|
1768
|
-
function
|
|
1800
|
+
function Oi(e, t) {
|
|
1769
1801
|
return e === "keypress" ? t != null && t.tagName ? !(t.tagName === "INPUT" || t.tagName === "TEXTAREA" || t.isContentEditable) : !0 : !1;
|
|
1770
1802
|
}
|
|
1771
|
-
function
|
|
1803
|
+
function ki(e, t = !1) {
|
|
1772
1804
|
return (n) => {
|
|
1773
1805
|
if (!n || n._sentryCaptured) return;
|
|
1774
|
-
let r =
|
|
1775
|
-
if (
|
|
1776
|
-
|
|
1806
|
+
let r = Ai(n);
|
|
1807
|
+
if (Oi(n.type, r)) return;
|
|
1808
|
+
S(n, "_sentryCaptured", !0), r && !r._sentryId && S(r, "_sentryId", C());
|
|
1777
1809
|
let i = n.type === "keypress" ? "input" : n.type;
|
|
1778
|
-
|
|
1810
|
+
Di(n) || (e({
|
|
1779
1811
|
event: n,
|
|
1780
1812
|
name: i,
|
|
1781
1813
|
global: t
|
|
1782
|
-
}),
|
|
1783
|
-
|
|
1784
|
-
},
|
|
1814
|
+
}), Ci = n.type, wi = r ? r._sentryId : void 0), clearTimeout(Si), Si = Y.setTimeout(() => {
|
|
1815
|
+
wi = void 0, Ci = void 0;
|
|
1816
|
+
}, xi);
|
|
1785
1817
|
};
|
|
1786
1818
|
}
|
|
1787
|
-
function
|
|
1819
|
+
function Ai(e) {
|
|
1788
1820
|
try {
|
|
1789
1821
|
return e.target;
|
|
1790
1822
|
} catch {
|
|
@@ -1792,26 +1824,26 @@ function Ei(e) {
|
|
|
1792
1824
|
}
|
|
1793
1825
|
}
|
|
1794
1826
|
//#endregion
|
|
1795
|
-
//#region ../../node_modules/.pnpm/@sentry-internal+browser-utils@10.
|
|
1796
|
-
var
|
|
1797
|
-
function
|
|
1827
|
+
//#region ../../node_modules/.pnpm/@sentry-internal+browser-utils@10.52.0/node_modules/@sentry-internal/browser-utils/build/esm/instrument/history.js
|
|
1828
|
+
var ji;
|
|
1829
|
+
function Mi(e) {
|
|
1798
1830
|
let t = "history";
|
|
1799
|
-
B(t, e), V(t,
|
|
1831
|
+
B(t, e), V(t, Ni);
|
|
1800
1832
|
}
|
|
1801
|
-
function
|
|
1833
|
+
function Ni() {
|
|
1802
1834
|
if (Y.addEventListener("popstate", () => {
|
|
1803
|
-
let e = Y.location.href, t =
|
|
1804
|
-
|
|
1835
|
+
let e = Y.location.href, t = ji;
|
|
1836
|
+
ji = e, t !== e && H("history", {
|
|
1805
1837
|
from: t,
|
|
1806
1838
|
to: e
|
|
1807
1839
|
});
|
|
1808
|
-
}), !
|
|
1840
|
+
}), !Vr()) return;
|
|
1809
1841
|
function e(e) {
|
|
1810
1842
|
return function(...t) {
|
|
1811
1843
|
let n = t.length > 2 ? t[2] : void 0;
|
|
1812
1844
|
if (n) {
|
|
1813
|
-
let r =
|
|
1814
|
-
if (
|
|
1845
|
+
let r = ji, i = Pi(String(n));
|
|
1846
|
+
if (ji = i, r === i) return e.apply(this, t);
|
|
1815
1847
|
H("history", {
|
|
1816
1848
|
from: r,
|
|
1817
1849
|
to: i
|
|
@@ -1820,9 +1852,9 @@ function ki() {
|
|
|
1820
1852
|
return e.apply(this, t);
|
|
1821
1853
|
};
|
|
1822
1854
|
}
|
|
1823
|
-
|
|
1855
|
+
O(Y.history, "pushState", e), O(Y.history, "replaceState", e);
|
|
1824
1856
|
}
|
|
1825
|
-
function
|
|
1857
|
+
function Pi(e) {
|
|
1826
1858
|
try {
|
|
1827
1859
|
return new URL(e, Y.location.origin).toString();
|
|
1828
1860
|
} catch {
|
|
@@ -1830,13 +1862,13 @@ function Ai(e) {
|
|
|
1830
1862
|
}
|
|
1831
1863
|
}
|
|
1832
1864
|
//#endregion
|
|
1833
|
-
//#region ../../node_modules/.pnpm/@sentry-internal+browser-utils@10.
|
|
1834
|
-
var
|
|
1835
|
-
function
|
|
1836
|
-
let t =
|
|
1865
|
+
//#region ../../node_modules/.pnpm/@sentry-internal+browser-utils@10.52.0/node_modules/@sentry-internal/browser-utils/build/esm/getNativeImplementation.js
|
|
1866
|
+
var X = {};
|
|
1867
|
+
function Fi(e) {
|
|
1868
|
+
let t = X[e];
|
|
1837
1869
|
if (t) return t;
|
|
1838
1870
|
let n = Y[e];
|
|
1839
|
-
if (
|
|
1871
|
+
if (Ur(n)) return X[e] = n.bind(Y);
|
|
1840
1872
|
let r = Y.document;
|
|
1841
1873
|
if (r && typeof r.createElement == "function") try {
|
|
1842
1874
|
let t = r.createElement("iframe");
|
|
@@ -1844,32 +1876,32 @@ function Mi(e) {
|
|
|
1844
1876
|
let i = t.contentWindow;
|
|
1845
1877
|
i != null && i[e] && (n = i[e]), r.head.removeChild(t);
|
|
1846
1878
|
} catch (t) {
|
|
1847
|
-
|
|
1879
|
+
bi && j.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `, t);
|
|
1848
1880
|
}
|
|
1849
|
-
return n && (
|
|
1881
|
+
return n && (X[e] = n.bind(Y));
|
|
1850
1882
|
}
|
|
1851
|
-
function
|
|
1852
|
-
|
|
1883
|
+
function Ii(e) {
|
|
1884
|
+
X[e] = void 0;
|
|
1853
1885
|
}
|
|
1854
1886
|
//#endregion
|
|
1855
|
-
//#region ../../node_modules/.pnpm/@sentry-internal+browser-utils@10.
|
|
1856
|
-
var
|
|
1857
|
-
function
|
|
1858
|
-
B("xhr", e), V("xhr",
|
|
1887
|
+
//#region ../../node_modules/.pnpm/@sentry-internal+browser-utils@10.52.0/node_modules/@sentry-internal/browser-utils/build/esm/instrument/xhr.js
|
|
1888
|
+
var Z = "__sentry_xhr_v3__";
|
|
1889
|
+
function Li(e) {
|
|
1890
|
+
B("xhr", e), V("xhr", Ri);
|
|
1859
1891
|
}
|
|
1860
|
-
function
|
|
1892
|
+
function Ri() {
|
|
1861
1893
|
if (!Y.XMLHttpRequest) return;
|
|
1862
1894
|
let e = XMLHttpRequest.prototype;
|
|
1863
1895
|
e.open = new Proxy(e.open, { apply(e, t, n) {
|
|
1864
|
-
let r = /* @__PURE__ */ Error(), i = A() * 1e3, a = M(n[0]) ? n[0].toUpperCase() : void 0, o =
|
|
1896
|
+
let r = /* @__PURE__ */ Error(), i = A() * 1e3, a = M(n[0]) ? n[0].toUpperCase() : void 0, o = zi(n[1]);
|
|
1865
1897
|
if (!a || !o) return e.apply(t, n);
|
|
1866
|
-
t[
|
|
1898
|
+
t[Z] = {
|
|
1867
1899
|
method: a,
|
|
1868
1900
|
url: o,
|
|
1869
1901
|
request_headers: {}
|
|
1870
1902
|
}, a === "POST" && o.match(/sentry_key/) && (t.__sentry_own_request__ = !0);
|
|
1871
1903
|
let s = () => {
|
|
1872
|
-
let e = t[
|
|
1904
|
+
let e = t[Z];
|
|
1873
1905
|
if (e && t.readyState === 4) {
|
|
1874
1906
|
try {
|
|
1875
1907
|
e.status_code = t.status;
|
|
@@ -1885,27 +1917,27 @@ function Fi() {
|
|
|
1885
1917
|
return "onreadystatechange" in t && typeof t.onreadystatechange == "function" ? t.onreadystatechange = new Proxy(t.onreadystatechange, { apply(e, t, n) {
|
|
1886
1918
|
return s(), e.apply(t, n);
|
|
1887
1919
|
} }) : t.addEventListener("readystatechange", s), t.setRequestHeader = new Proxy(t.setRequestHeader, { apply(e, t, n) {
|
|
1888
|
-
let [r, i] = n, a = t[
|
|
1920
|
+
let [r, i] = n, a = t[Z];
|
|
1889
1921
|
return a && M(r) && M(i) && (a.request_headers[r.toLowerCase()] = i), e.apply(t, n);
|
|
1890
1922
|
} }), e.apply(t, n);
|
|
1891
1923
|
} }), e.send = new Proxy(e.send, { apply(e, t, n) {
|
|
1892
|
-
let r = t[
|
|
1924
|
+
let r = t[Z];
|
|
1893
1925
|
return r ? (n[0] !== void 0 && (r.body = n[0]), H("xhr", {
|
|
1894
1926
|
startTimestamp: A() * 1e3,
|
|
1895
1927
|
xhr: t
|
|
1896
1928
|
}), e.apply(t, n)) : e.apply(t, n);
|
|
1897
1929
|
} });
|
|
1898
1930
|
}
|
|
1899
|
-
function
|
|
1931
|
+
function zi(e) {
|
|
1900
1932
|
if (M(e)) return e;
|
|
1901
1933
|
try {
|
|
1902
1934
|
return e.toString();
|
|
1903
1935
|
} catch {}
|
|
1904
1936
|
}
|
|
1905
1937
|
//#endregion
|
|
1906
|
-
//#region ../../node_modules/.pnpm/@sentry+browser@10.
|
|
1907
|
-
var
|
|
1908
|
-
function
|
|
1938
|
+
//#region ../../node_modules/.pnpm/@sentry+browser@10.52.0/node_modules/@sentry/browser/build/npm/esm/prod/transports/fetch.js
|
|
1939
|
+
var Bi = 40;
|
|
1940
|
+
function Vi(e, t = Fi("fetch")) {
|
|
1909
1941
|
let n = 0, r = 0;
|
|
1910
1942
|
async function i(i) {
|
|
1911
1943
|
let a = i.body.length;
|
|
@@ -1928,17 +1960,17 @@ function Ri(e, t = Mi("fetch")) {
|
|
|
1928
1960
|
}
|
|
1929
1961
|
};
|
|
1930
1962
|
} catch (e) {
|
|
1931
|
-
throw
|
|
1963
|
+
throw Ii("fetch"), e;
|
|
1932
1964
|
} finally {
|
|
1933
1965
|
n -= a, r--;
|
|
1934
1966
|
}
|
|
1935
1967
|
}
|
|
1936
|
-
return
|
|
1968
|
+
return wn(e, i, vn(e.bufferSize || Bi));
|
|
1937
1969
|
}
|
|
1938
1970
|
//#endregion
|
|
1939
|
-
//#region ../../node_modules/.pnpm/@sentry+browser@10.
|
|
1940
|
-
var
|
|
1941
|
-
function
|
|
1971
|
+
//#region ../../node_modules/.pnpm/@sentry+browser@10.52.0/node_modules/@sentry/browser/build/npm/esm/prod/debug-build.js
|
|
1972
|
+
var Q = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, Hi = 30, Ui = 50;
|
|
1973
|
+
function Wi(e, t, n, r) {
|
|
1942
1974
|
let i = {
|
|
1943
1975
|
filename: e,
|
|
1944
1976
|
function: t === "<anonymous>" ? "?" : t,
|
|
@@ -1946,41 +1978,41 @@ function Vi(e, t, n, r) {
|
|
|
1946
1978
|
};
|
|
1947
1979
|
return n !== void 0 && (i.lineno = n), r !== void 0 && (i.colno = r), i;
|
|
1948
1980
|
}
|
|
1949
|
-
var
|
|
1950
|
-
let t = e.match(
|
|
1981
|
+
var Gi = /^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i, Ki = /^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i, qi = /\((\S*)(?::(\d+))(?::(\d+))\)/, Ji = /at (.+?) ?\(data:(.+?),/, Yi = [Hi, (e) => {
|
|
1982
|
+
let t = e.match(Ji);
|
|
1951
1983
|
if (t) return {
|
|
1952
1984
|
filename: `<data:${t[2]}>`,
|
|
1953
1985
|
function: t[1]
|
|
1954
1986
|
};
|
|
1955
|
-
let n =
|
|
1987
|
+
let n = Gi.exec(e);
|
|
1956
1988
|
if (n) {
|
|
1957
1989
|
let [, e, t, r] = n;
|
|
1958
|
-
return
|
|
1990
|
+
return Wi(e, "?", +t, +r);
|
|
1959
1991
|
}
|
|
1960
|
-
let r =
|
|
1992
|
+
let r = Ki.exec(e);
|
|
1961
1993
|
if (r) {
|
|
1962
1994
|
var i;
|
|
1963
1995
|
if (((i = r[2]) == null ? void 0 : i.indexOf("eval")) === 0) {
|
|
1964
|
-
let e =
|
|
1996
|
+
let e = qi.exec(r[2]);
|
|
1965
1997
|
e && (r[2] = e[1], r[3] = e[2], r[4] = e[3]);
|
|
1966
1998
|
}
|
|
1967
|
-
let [e, t] =
|
|
1968
|
-
return
|
|
1999
|
+
let [e, t] = $i(r[1] || "?", r[2]);
|
|
2000
|
+
return Wi(t, e, r[3] ? +r[3] : void 0, r[4] ? +r[4] : void 0);
|
|
1969
2001
|
}
|
|
1970
|
-
}],
|
|
1971
|
-
let t =
|
|
2002
|
+
}], Xi = /^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i, Zi = /(\S+) line (\d+)(?: > eval line \d+)* > eval/i, Qi = xe(Yi, [Ui, (e) => {
|
|
2003
|
+
let t = Xi.exec(e);
|
|
1972
2004
|
if (t) {
|
|
1973
2005
|
if (t[3] && t[3].indexOf(" > eval") > -1) {
|
|
1974
|
-
let e =
|
|
2006
|
+
let e = Zi.exec(t[3]);
|
|
1975
2007
|
e && (t[1] = t[1] || "eval", t[3] = e[1], t[4] = e[2], t[5] = "");
|
|
1976
2008
|
}
|
|
1977
2009
|
let e = t[3], n = t[1] || "?";
|
|
1978
|
-
return [n, e] =
|
|
2010
|
+
return [n, e] = $i(n, e), Wi(e, n, t[4] ? +t[4] : void 0, t[5] ? +t[5] : void 0);
|
|
1979
2011
|
}
|
|
1980
|
-
}]),
|
|
2012
|
+
}]), $i = (e, t) => {
|
|
1981
2013
|
let n = e.indexOf("safari-extension") !== -1, r = e.indexOf("safari-web-extension") !== -1;
|
|
1982
2014
|
return n || r ? [e.indexOf("@") === -1 ? "?" : e.split("@")[0], n ? `safari-extension:${t}` : `safari-web-extension:${t}`] : [e, t];
|
|
1983
|
-
},
|
|
2015
|
+
}, ea = 1024, ta = "Breadcrumbs", na = W(((e = {}) => {
|
|
1984
2016
|
let t = {
|
|
1985
2017
|
console: !0,
|
|
1986
2018
|
dom: !0,
|
|
@@ -1991,30 +2023,30 @@ var Hi = /^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i, Ui = /^\s*at (?:(.+?\)(?: \[.
|
|
|
1991
2023
|
...e
|
|
1992
2024
|
};
|
|
1993
2025
|
return {
|
|
1994
|
-
name:
|
|
2026
|
+
name: ta,
|
|
1995
2027
|
setup(e) {
|
|
1996
|
-
t.console &&
|
|
2028
|
+
t.console && Dr(aa(e)), t.dom && Ti(ia(e, t.dom)), t.xhr && Li(oa(e)), t.fetch && Gr(sa(e)), t.history && Mi(ca(e)), t.sentry && e.on("beforeSendEvent", ra(e));
|
|
1997
2029
|
}
|
|
1998
2030
|
};
|
|
1999
2031
|
}));
|
|
2000
|
-
function
|
|
2032
|
+
function ra(e) {
|
|
2001
2033
|
return function(t) {
|
|
2002
|
-
|
|
2034
|
+
_() === e && G({
|
|
2003
2035
|
category: `sentry.${t.type === "transaction" ? "transaction" : "event"}`,
|
|
2004
2036
|
event_id: t.event_id,
|
|
2005
2037
|
level: t.level,
|
|
2006
|
-
message:
|
|
2038
|
+
message: b(t)
|
|
2007
2039
|
}, { event: t });
|
|
2008
2040
|
};
|
|
2009
2041
|
}
|
|
2010
|
-
function
|
|
2042
|
+
function ia(e, t) {
|
|
2011
2043
|
return function(n) {
|
|
2012
|
-
if (
|
|
2044
|
+
if (_() !== e) return;
|
|
2013
2045
|
let r, i, a = typeof t == "object" ? t.serializeAttribute : void 0, o = typeof t == "object" && typeof t.maxStringLength == "number" ? t.maxStringLength : void 0;
|
|
2014
|
-
o && o >
|
|
2046
|
+
o && o > ea && (Q && j.warn(`\`dom.maxStringLength\` cannot exceed ${ea}, but a value of ${o} was configured. Sentry will use ${ea} instead.`), o = ea), typeof a == "string" && (a = [a]);
|
|
2015
2047
|
try {
|
|
2016
|
-
let e = n.event, t =
|
|
2017
|
-
r =
|
|
2048
|
+
let e = n.event, t = la(e) ? e.target : e;
|
|
2049
|
+
r = pe(t, {
|
|
2018
2050
|
keyAttrs: a,
|
|
2019
2051
|
maxStringLength: o
|
|
2020
2052
|
}), i = Ve(t);
|
|
@@ -2033,16 +2065,16 @@ function ea(e, t) {
|
|
|
2033
2065
|
});
|
|
2034
2066
|
};
|
|
2035
2067
|
}
|
|
2036
|
-
function
|
|
2068
|
+
function aa(e) {
|
|
2037
2069
|
return function(t) {
|
|
2038
|
-
if (
|
|
2070
|
+
if (_() !== e) return;
|
|
2039
2071
|
let n = {
|
|
2040
2072
|
category: "console",
|
|
2041
2073
|
data: {
|
|
2042
2074
|
arguments: t.args,
|
|
2043
2075
|
logger: "console"
|
|
2044
2076
|
},
|
|
2045
|
-
level:
|
|
2077
|
+
level: kr(t.level),
|
|
2046
2078
|
message: ce(t.args, " ")
|
|
2047
2079
|
};
|
|
2048
2080
|
if (t.level === "assert") if (t.args[0] === !1) n.message = `Assertion failed: ${ce(t.args.slice(1), " ") || "console.assert"}`, n.data.arguments = t.args.slice(1);
|
|
@@ -2053,10 +2085,10 @@ function ta(e) {
|
|
|
2053
2085
|
});
|
|
2054
2086
|
};
|
|
2055
2087
|
}
|
|
2056
|
-
function
|
|
2088
|
+
function oa(e) {
|
|
2057
2089
|
return function(t) {
|
|
2058
|
-
if (
|
|
2059
|
-
let { startTimestamp: n, endTimestamp: r } = t, i = t.xhr[
|
|
2090
|
+
if (_() !== e) return;
|
|
2091
|
+
let { startTimestamp: n, endTimestamp: r } = t, i = t.xhr[Z];
|
|
2060
2092
|
if (!n || !r || !i) return;
|
|
2061
2093
|
let { method: a, url: o, status_code: s, body: c } = i, l = {
|
|
2062
2094
|
method: a,
|
|
@@ -2071,14 +2103,14 @@ function na(e) {
|
|
|
2071
2103
|
category: "xhr",
|
|
2072
2104
|
data: l,
|
|
2073
2105
|
type: "http",
|
|
2074
|
-
level:
|
|
2106
|
+
level: Br(s)
|
|
2075
2107
|
};
|
|
2076
2108
|
e.emit("beforeOutgoingRequestBreadcrumb", d, u), G(d, u);
|
|
2077
2109
|
};
|
|
2078
2110
|
}
|
|
2079
|
-
function
|
|
2111
|
+
function sa(e) {
|
|
2080
2112
|
return function(t) {
|
|
2081
|
-
if (
|
|
2113
|
+
if (_() !== e) return;
|
|
2082
2114
|
let { startTimestamp: n, endTimestamp: r } = t;
|
|
2083
2115
|
if (r && !(t.fetchData.url.match(/sentry_key/) && t.fetchData.method === "POST")) if (t.error) {
|
|
2084
2116
|
let i = {
|
|
@@ -2106,16 +2138,16 @@ function ra(e) {
|
|
|
2106
2138
|
category: "fetch",
|
|
2107
2139
|
data: a,
|
|
2108
2140
|
type: "http",
|
|
2109
|
-
level:
|
|
2141
|
+
level: Br(a.status_code)
|
|
2110
2142
|
};
|
|
2111
2143
|
e.emit("beforeOutgoingRequestBreadcrumb", s, o), G(s, o);
|
|
2112
2144
|
}
|
|
2113
2145
|
};
|
|
2114
2146
|
}
|
|
2115
|
-
function
|
|
2147
|
+
function ca(e) {
|
|
2116
2148
|
return function(t) {
|
|
2117
|
-
if (
|
|
2118
|
-
let n = t.from, r = t.to, i =
|
|
2149
|
+
if (_() !== e) return;
|
|
2150
|
+
let n = t.from, r = t.to, i = Bt(q.location.href), a = n ? Bt(n) : void 0, o = Bt(r);
|
|
2119
2151
|
a != null && a.path || (a = i), i.protocol === o.protocol && i.host === o.host && (r = o.relative), i.protocol === a.protocol && i.host === a.host && (n = a.relative), G({
|
|
2120
2152
|
category: "navigation",
|
|
2121
2153
|
data: {
|
|
@@ -2125,12 +2157,12 @@ function ia(e) {
|
|
|
2125
2157
|
});
|
|
2126
2158
|
};
|
|
2127
2159
|
}
|
|
2128
|
-
function
|
|
2160
|
+
function la(e) {
|
|
2129
2161
|
return !!e && !!e.target;
|
|
2130
2162
|
}
|
|
2131
2163
|
//#endregion
|
|
2132
|
-
//#region ../../node_modules/.pnpm/@sentry+browser@10.
|
|
2133
|
-
var
|
|
2164
|
+
//#region ../../node_modules/.pnpm/@sentry+browser@10.52.0/node_modules/@sentry/browser/build/npm/esm/prod/integrations/browserapierrors.js
|
|
2165
|
+
var ua = "EventTarget,Window,Node,ApplicationCache,AudioTrackList,BroadcastChannel,ChannelMergerNode,CryptoOperation,EventSource,FileReader,HTMLUnknownElement,IDBDatabase,IDBRequest,IDBTransaction,KeyOperation,MediaController,MessagePort,ModalWindow,Notification,SVGElementInstance,Screen,SharedWorker,TextTrack,TextTrackCue,TextTrackList,WebSocket,WebSocketWorker,Worker,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload".split(","), da = "BrowserApiErrors", fa = W(((e = {}) => {
|
|
2134
2166
|
let t = {
|
|
2135
2167
|
XMLHttpRequest: !0,
|
|
2136
2168
|
eventTarget: !0,
|
|
@@ -2141,15 +2173,15 @@ var oa = "EventTarget,Window,Node,ApplicationCache,AudioTrackList,BroadcastChann
|
|
|
2141
2173
|
...e
|
|
2142
2174
|
};
|
|
2143
2175
|
return {
|
|
2144
|
-
name:
|
|
2176
|
+
name: da,
|
|
2145
2177
|
setupOnce() {
|
|
2146
|
-
t.setTimeout &&
|
|
2178
|
+
t.setTimeout && O(q, "setTimeout", pa), t.setInterval && O(q, "setInterval", pa), t.requestAnimationFrame && O(q, "requestAnimationFrame", ma), t.XMLHttpRequest && "XMLHttpRequest" in q && O(XMLHttpRequest.prototype, "send", ha);
|
|
2147
2179
|
let e = t.eventTarget;
|
|
2148
|
-
e && (Array.isArray(e) ? e :
|
|
2180
|
+
e && (Array.isArray(e) ? e : ua).forEach((e) => ga(e, t));
|
|
2149
2181
|
}
|
|
2150
2182
|
};
|
|
2151
2183
|
}));
|
|
2152
|
-
function
|
|
2184
|
+
function pa(e) {
|
|
2153
2185
|
return function(...t) {
|
|
2154
2186
|
let n = t[0];
|
|
2155
2187
|
return t[0] = J(n, { mechanism: {
|
|
@@ -2158,7 +2190,7 @@ function la(e) {
|
|
|
2158
2190
|
} }), e.apply(this, t);
|
|
2159
2191
|
};
|
|
2160
2192
|
}
|
|
2161
|
-
function
|
|
2193
|
+
function ma(e) {
|
|
2162
2194
|
return function(t) {
|
|
2163
2195
|
return e.apply(this, [J(t, { mechanism: {
|
|
2164
2196
|
data: { handler: N(e) },
|
|
@@ -2167,7 +2199,7 @@ function ua(e) {
|
|
|
2167
2199
|
} })]);
|
|
2168
2200
|
};
|
|
2169
2201
|
}
|
|
2170
|
-
function
|
|
2202
|
+
function ha(e) {
|
|
2171
2203
|
return function(...t) {
|
|
2172
2204
|
let n = this;
|
|
2173
2205
|
return [
|
|
@@ -2176,24 +2208,24 @@ function da(e) {
|
|
|
2176
2208
|
"onprogress",
|
|
2177
2209
|
"onreadystatechange"
|
|
2178
2210
|
].forEach((e) => {
|
|
2179
|
-
e in n && typeof n[e] == "function" &&
|
|
2211
|
+
e in n && typeof n[e] == "function" && O(n, e, function(t) {
|
|
2180
2212
|
let n = { mechanism: {
|
|
2181
2213
|
data: { handler: N(t) },
|
|
2182
2214
|
handled: !1,
|
|
2183
2215
|
type: `auto.browser.browserapierrors.xhr.${e}`
|
|
2184
|
-
} }, r =
|
|
2216
|
+
} }, r = x(t);
|
|
2185
2217
|
return r && (n.mechanism.data.handler = N(r)), J(t, n);
|
|
2186
2218
|
});
|
|
2187
2219
|
}), e.apply(this, t);
|
|
2188
2220
|
};
|
|
2189
2221
|
}
|
|
2190
|
-
function
|
|
2222
|
+
function ga(e, t) {
|
|
2191
2223
|
var n, r;
|
|
2192
2224
|
let i = (n = q[e]) == null ? void 0 : n.prototype;
|
|
2193
|
-
!(i == null || (r = i.hasOwnProperty) == null) && r.call(i, "addEventListener") && (
|
|
2225
|
+
!(i == null || (r = i.hasOwnProperty) == null) && r.call(i, "addEventListener") && (O(i, "addEventListener", function(n) {
|
|
2194
2226
|
return function(r, i, a) {
|
|
2195
2227
|
try {
|
|
2196
|
-
|
|
2228
|
+
_a(i) && (i.handleEvent = J(i.handleEvent, { mechanism: {
|
|
2197
2229
|
data: {
|
|
2198
2230
|
handler: N(i),
|
|
2199
2231
|
target: e
|
|
@@ -2202,7 +2234,7 @@ function fa(e, t) {
|
|
|
2202
2234
|
type: "auto.browser.browserapierrors.handleEvent"
|
|
2203
2235
|
} }));
|
|
2204
2236
|
} catch {}
|
|
2205
|
-
return t.unregisterOriginalCallbacks &&
|
|
2237
|
+
return t.unregisterOriginalCallbacks && va(this, r, i), n.apply(this, [
|
|
2206
2238
|
r,
|
|
2207
2239
|
J(i, { mechanism: {
|
|
2208
2240
|
data: {
|
|
@@ -2215,7 +2247,7 @@ function fa(e, t) {
|
|
|
2215
2247
|
a
|
|
2216
2248
|
]);
|
|
2217
2249
|
};
|
|
2218
|
-
}),
|
|
2250
|
+
}), O(i, "removeEventListener", function(e) {
|
|
2219
2251
|
return function(t, n, r) {
|
|
2220
2252
|
try {
|
|
2221
2253
|
let i = n.__sentry_wrapped__;
|
|
@@ -2225,38 +2257,38 @@ function fa(e, t) {
|
|
|
2225
2257
|
};
|
|
2226
2258
|
}));
|
|
2227
2259
|
}
|
|
2228
|
-
function
|
|
2260
|
+
function _a(e) {
|
|
2229
2261
|
return typeof e.handleEvent == "function";
|
|
2230
2262
|
}
|
|
2231
|
-
function
|
|
2263
|
+
function va(e, t, n) {
|
|
2232
2264
|
e && typeof e == "object" && "removeEventListener" in e && typeof e.removeEventListener == "function" && e.removeEventListener(t, n);
|
|
2233
2265
|
}
|
|
2234
2266
|
//#endregion
|
|
2235
|
-
//#region ../../node_modules/.pnpm/@sentry+browser@10.
|
|
2236
|
-
var
|
|
2267
|
+
//#region ../../node_modules/.pnpm/@sentry+browser@10.52.0/node_modules/@sentry/browser/build/npm/esm/prod/integrations/browsersession.js
|
|
2268
|
+
var ya = W((e = {}) => {
|
|
2237
2269
|
var t;
|
|
2238
2270
|
let n = (t = e.lifecycle) == null ? "route" : t;
|
|
2239
2271
|
return {
|
|
2240
2272
|
name: "BrowserSession",
|
|
2241
2273
|
setupOnce() {
|
|
2242
2274
|
if (q.document === void 0) {
|
|
2243
|
-
|
|
2275
|
+
Q && j.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");
|
|
2244
2276
|
return;
|
|
2245
2277
|
}
|
|
2246
|
-
|
|
2247
|
-
let e =
|
|
2278
|
+
be({ ignoreDuration: !0 }), He();
|
|
2279
|
+
let e = D(), t = e.getUser();
|
|
2248
2280
|
e.addScopeListener((e) => {
|
|
2249
2281
|
let n = e.getUser();
|
|
2250
2282
|
((t == null ? void 0 : t.id) !== (n == null ? void 0 : n.id) || (t == null ? void 0 : t.ip_address) !== (n == null ? void 0 : n.ip_address)) && (He(), t = n);
|
|
2251
|
-
}), n === "route" &&
|
|
2252
|
-
e !== t && (
|
|
2283
|
+
}), n === "route" && Mi(({ from: e, to: t }) => {
|
|
2284
|
+
e !== t && (be({ ignoreDuration: !0 }), He());
|
|
2253
2285
|
});
|
|
2254
2286
|
}
|
|
2255
2287
|
};
|
|
2256
|
-
}),
|
|
2257
|
-
name:
|
|
2288
|
+
}), ba = "CultureContext", xa = W((() => ({
|
|
2289
|
+
name: ba,
|
|
2258
2290
|
preprocessEvent(e) {
|
|
2259
|
-
let t =
|
|
2291
|
+
let t = Sa();
|
|
2260
2292
|
if (t) {
|
|
2261
2293
|
var n;
|
|
2262
2294
|
e.contexts = {
|
|
@@ -2269,15 +2301,15 @@ var ha = W((e = {}) => {
|
|
|
2269
2301
|
}
|
|
2270
2302
|
},
|
|
2271
2303
|
processSegmentSpan(e) {
|
|
2272
|
-
let t =
|
|
2273
|
-
t &&
|
|
2304
|
+
let t = Sa();
|
|
2305
|
+
t && Ht(e, {
|
|
2274
2306
|
"culture.locale": t.locale,
|
|
2275
2307
|
"culture.timezone": t.timezone,
|
|
2276
2308
|
"culture.calendar": t.calendar
|
|
2277
2309
|
});
|
|
2278
2310
|
}
|
|
2279
2311
|
})));
|
|
2280
|
-
function
|
|
2312
|
+
function Sa() {
|
|
2281
2313
|
try {
|
|
2282
2314
|
let e = q.Intl;
|
|
2283
2315
|
if (!e) return;
|
|
@@ -2292,28 +2324,28 @@ function va() {
|
|
|
2292
2324
|
}
|
|
2293
2325
|
}
|
|
2294
2326
|
//#endregion
|
|
2295
|
-
//#region ../../node_modules/.pnpm/@sentry+browser@10.
|
|
2296
|
-
var
|
|
2327
|
+
//#region ../../node_modules/.pnpm/@sentry+browser@10.52.0/node_modules/@sentry/browser/build/npm/esm/prod/integrations/globalhandlers.js
|
|
2328
|
+
var Ca = "GlobalHandlers", wa = W(((e = {}) => {
|
|
2297
2329
|
let t = {
|
|
2298
2330
|
onerror: !0,
|
|
2299
2331
|
onunhandledrejection: !0,
|
|
2300
2332
|
...e
|
|
2301
2333
|
};
|
|
2302
2334
|
return {
|
|
2303
|
-
name:
|
|
2335
|
+
name: Ca,
|
|
2304
2336
|
setupOnce() {
|
|
2305
2337
|
Error.stackTraceLimit = 50;
|
|
2306
2338
|
},
|
|
2307
2339
|
setup(e) {
|
|
2308
|
-
t.onerror && (
|
|
2340
|
+
t.onerror && (Ta(e), Aa("onerror")), t.onunhandledrejection && (Ea(e), Aa("onunhandledrejection"));
|
|
2309
2341
|
}
|
|
2310
2342
|
};
|
|
2311
2343
|
}));
|
|
2312
|
-
function
|
|
2344
|
+
function Ta(e) {
|
|
2313
2345
|
pt((t) => {
|
|
2314
|
-
let { stackParser: n, attachStacktrace: r } =
|
|
2315
|
-
if (
|
|
2316
|
-
let { msg: i, url: a, line: o, column: s, error: c } = t, l =
|
|
2346
|
+
let { stackParser: n, attachStacktrace: r } = ja();
|
|
2347
|
+
if (_() !== e || Qr()) return;
|
|
2348
|
+
let { msg: i, url: a, line: o, column: s, error: c } = t, l = ka(pi(n, c || i, void 0, r, !1), a, o, s);
|
|
2317
2349
|
l.level = "error", Ke(l, {
|
|
2318
2350
|
originalException: c,
|
|
2319
2351
|
mechanism: {
|
|
@@ -2323,11 +2355,11 @@ function xa(e) {
|
|
|
2323
2355
|
});
|
|
2324
2356
|
});
|
|
2325
2357
|
}
|
|
2326
|
-
function
|
|
2358
|
+
function Ea(e) {
|
|
2327
2359
|
gt((t) => {
|
|
2328
|
-
let { stackParser: n, attachStacktrace: r } =
|
|
2329
|
-
if (
|
|
2330
|
-
let i =
|
|
2360
|
+
let { stackParser: n, attachStacktrace: r } = ja();
|
|
2361
|
+
if (_() !== e || Qr()) return;
|
|
2362
|
+
let i = Da(t), a = je(i) ? Oa(i) : pi(n, i, void 0, r, !0);
|
|
2331
2363
|
a.level = "error", Ke(a, {
|
|
2332
2364
|
originalException: i,
|
|
2333
2365
|
mechanism: {
|
|
@@ -2337,55 +2369,55 @@ function Sa(e) {
|
|
|
2337
2369
|
});
|
|
2338
2370
|
});
|
|
2339
2371
|
}
|
|
2340
|
-
function
|
|
2341
|
-
if (
|
|
2372
|
+
function Da(e) {
|
|
2373
|
+
if (je(e)) return e;
|
|
2342
2374
|
try {
|
|
2343
2375
|
if ("reason" in e) return e.reason;
|
|
2344
2376
|
if ("detail" in e && "reason" in e.detail) return e.detail.reason;
|
|
2345
2377
|
} catch {}
|
|
2346
2378
|
return e;
|
|
2347
2379
|
}
|
|
2348
|
-
function
|
|
2380
|
+
function Oa(e) {
|
|
2349
2381
|
return { exception: { values: [{
|
|
2350
2382
|
type: "UnhandledRejection",
|
|
2351
2383
|
value: `Non-Error promise rejection captured with value: ${String(e)}`
|
|
2352
2384
|
}] } };
|
|
2353
2385
|
}
|
|
2354
|
-
function
|
|
2386
|
+
function ka(e, t, n, r) {
|
|
2355
2387
|
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 || [];
|
|
2356
2388
|
if (c.length === 0) {
|
|
2357
2389
|
var l;
|
|
2358
2390
|
c.push({
|
|
2359
2391
|
colno: r,
|
|
2360
2392
|
lineno: n,
|
|
2361
|
-
filename: (l =
|
|
2393
|
+
filename: (l = Ma(t)) == null ? w() : l,
|
|
2362
2394
|
function: "?",
|
|
2363
2395
|
in_app: !0
|
|
2364
2396
|
});
|
|
2365
2397
|
}
|
|
2366
2398
|
return e;
|
|
2367
2399
|
}
|
|
2368
|
-
function
|
|
2369
|
-
|
|
2400
|
+
function Aa(e) {
|
|
2401
|
+
Q && j.log(`Global Handler attached: ${e}`);
|
|
2370
2402
|
}
|
|
2371
|
-
function
|
|
2372
|
-
let e =
|
|
2403
|
+
function ja() {
|
|
2404
|
+
let e = _();
|
|
2373
2405
|
return (e == null ? void 0 : e.getOptions()) || {
|
|
2374
2406
|
stackParser: () => [],
|
|
2375
2407
|
attachStacktrace: !1
|
|
2376
2408
|
};
|
|
2377
2409
|
}
|
|
2378
|
-
function
|
|
2379
|
-
if (!(!M(e) || e.length === 0)) return e.startsWith("data:") ? `<${
|
|
2410
|
+
function Ma(e) {
|
|
2411
|
+
if (!(!M(e) || e.length === 0)) return e.startsWith("data:") ? `<${Vt(e, !1)}>` : e;
|
|
2380
2412
|
}
|
|
2381
2413
|
//#endregion
|
|
2382
|
-
//#region ../../node_modules/.pnpm/@sentry+browser@10.
|
|
2383
|
-
var
|
|
2414
|
+
//#region ../../node_modules/.pnpm/@sentry+browser@10.52.0/node_modules/@sentry/browser/build/npm/esm/prod/integrations/httpcontext.js
|
|
2415
|
+
var Na = W(() => ({
|
|
2384
2416
|
name: "HttpContext",
|
|
2385
2417
|
preprocessEvent(e) {
|
|
2386
2418
|
var t;
|
|
2387
2419
|
if (!q.navigator && !q.location && !q.document) return;
|
|
2388
|
-
let n =
|
|
2420
|
+
let n = ei(), r = {
|
|
2389
2421
|
...n.headers,
|
|
2390
2422
|
...(t = e.request) == null ? void 0 : t.headers
|
|
2391
2423
|
};
|
|
@@ -2397,79 +2429,79 @@ var ka = W(() => ({
|
|
|
2397
2429
|
},
|
|
2398
2430
|
processSegmentSpan(e) {
|
|
2399
2431
|
if (!q.navigator && !q.location && !q.document) return;
|
|
2400
|
-
let t =
|
|
2401
|
-
|
|
2432
|
+
let t = ei();
|
|
2433
|
+
Ht(e, {
|
|
2402
2434
|
"url.full": t.url || void 0,
|
|
2403
2435
|
"http.request.header.user_agent": t.headers["User-Agent"],
|
|
2404
2436
|
"http.request.header.referer": t.headers.Referer
|
|
2405
2437
|
});
|
|
2406
2438
|
}
|
|
2407
|
-
})),
|
|
2408
|
-
let t = e.limit ||
|
|
2439
|
+
})), Pa = "cause", Fa = 5, Ia = "LinkedErrors", La = W(((e = {}) => {
|
|
2440
|
+
let t = e.limit || Fa, n = e.key || Pa;
|
|
2409
2441
|
return {
|
|
2410
|
-
name:
|
|
2442
|
+
name: Ia,
|
|
2411
2443
|
preprocessEvent(e, r, i) {
|
|
2412
|
-
|
|
2444
|
+
Sr(ti, i.getOptions().stackParser, n, t, e, r);
|
|
2413
2445
|
}
|
|
2414
2446
|
};
|
|
2415
2447
|
}));
|
|
2416
2448
|
//#endregion
|
|
2417
|
-
//#region ../../node_modules/.pnpm/@sentry+browser@10.
|
|
2418
|
-
function
|
|
2419
|
-
return
|
|
2449
|
+
//#region ../../node_modules/.pnpm/@sentry+browser@10.52.0/node_modules/@sentry/browser/build/npm/esm/prod/utils/detectBrowserExtension.js
|
|
2450
|
+
function Ra() {
|
|
2451
|
+
return za() ? (Q && Be(() => {
|
|
2420
2452
|
console.error("[Sentry] You cannot use Sentry.init() in a browser extension, see: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/");
|
|
2421
2453
|
}), !0) : !1;
|
|
2422
2454
|
}
|
|
2423
|
-
function
|
|
2455
|
+
function za() {
|
|
2424
2456
|
var e;
|
|
2425
2457
|
if (q.window === void 0) return !1;
|
|
2426
2458
|
let t = q;
|
|
2427
2459
|
if (t.nw) return !1;
|
|
2428
2460
|
let n = t.chrome || t.browser;
|
|
2429
2461
|
if (!(!(n == null || (e = n.runtime) == null) && e.id)) return !1;
|
|
2430
|
-
let r =
|
|
2462
|
+
let r = w();
|
|
2431
2463
|
return !(q === q.top && /^(?:chrome-extension|moz-extension|ms-browser-extension|safari-web-extension):\/\//.test(r));
|
|
2432
2464
|
}
|
|
2433
2465
|
//#endregion
|
|
2434
|
-
//#region ../../node_modules/.pnpm/@sentry+browser@10.
|
|
2435
|
-
function
|
|
2466
|
+
//#region ../../node_modules/.pnpm/@sentry+browser@10.52.0/node_modules/@sentry/browser/build/npm/esm/prod/sdk.js
|
|
2467
|
+
function Ba(e) {
|
|
2436
2468
|
return [
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
|
|
2469
|
+
fr(),
|
|
2470
|
+
cr(),
|
|
2471
|
+
zr(),
|
|
2472
|
+
fa(),
|
|
2473
|
+
na(),
|
|
2474
|
+
wa(),
|
|
2475
|
+
La(),
|
|
2476
|
+
jr(),
|
|
2443
2477
|
Na(),
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
_a(),
|
|
2447
|
-
ha()
|
|
2478
|
+
xa(),
|
|
2479
|
+
ya()
|
|
2448
2480
|
];
|
|
2449
2481
|
}
|
|
2450
|
-
function
|
|
2451
|
-
let t = !e.skipBrowserExtensionCheck &&
|
|
2452
|
-
return
|
|
2482
|
+
function Va(e = {}) {
|
|
2483
|
+
let t = !e.skipBrowserExtensionCheck && Ra(), n = e.defaultIntegrations == null ? Ba() : e.defaultIntegrations;
|
|
2484
|
+
return Zn(vi, {
|
|
2453
2485
|
...e,
|
|
2454
2486
|
enabled: t ? !1 : e.enabled,
|
|
2455
|
-
stackParser:
|
|
2456
|
-
integrations:
|
|
2487
|
+
stackParser: Ce(e.stackParser || Qi),
|
|
2488
|
+
integrations: Xt({
|
|
2457
2489
|
integrations: e.integrations,
|
|
2458
2490
|
defaultIntegrations: n
|
|
2459
2491
|
}),
|
|
2460
|
-
transport: e.transport ||
|
|
2492
|
+
transport: e.transport || Vi
|
|
2461
2493
|
});
|
|
2462
2494
|
}
|
|
2463
2495
|
//#endregion
|
|
2464
|
-
//#region ../../node_modules/.pnpm/@sentry+react@10.
|
|
2465
|
-
function
|
|
2496
|
+
//#region ../../node_modules/.pnpm/@sentry+react@10.52.0_react@19.2.6/node_modules/@sentry/react/build/esm/sdk.js
|
|
2497
|
+
function Ha(e) {
|
|
2466
2498
|
let t = { ...e };
|
|
2467
|
-
return
|
|
2499
|
+
return rr(t, "react"), _e("react", { version: rt.version }), Va(t);
|
|
2468
2500
|
}
|
|
2469
2501
|
//#endregion
|
|
2470
2502
|
//#region src/tools/sentry.ts
|
|
2471
|
-
var
|
|
2472
|
-
function
|
|
2503
|
+
var Ua = "production", Wa = "3.2.5";
|
|
2504
|
+
function Ga() {
|
|
2473
2505
|
let e = "sentry_offline_queue";
|
|
2474
2506
|
return {
|
|
2475
2507
|
async push(t) {
|
|
@@ -2516,16 +2548,16 @@ function Va() {
|
|
|
2516
2548
|
}
|
|
2517
2549
|
};
|
|
2518
2550
|
}
|
|
2519
|
-
function
|
|
2520
|
-
let t =
|
|
2521
|
-
|
|
2551
|
+
function Ka(e) {
|
|
2552
|
+
let t = tr(Vi);
|
|
2553
|
+
Ha({
|
|
2522
2554
|
dsn: "https://b2eafc5a038fa2c535099e431de219f2@o4510697102114816.ingest.us.sentry.io/4510697103097856",
|
|
2523
|
-
release:
|
|
2524
|
-
environment:
|
|
2555
|
+
release: Wa,
|
|
2556
|
+
environment: Ua,
|
|
2525
2557
|
sendDefaultPii: !0,
|
|
2526
2558
|
transport: (e) => t({
|
|
2527
2559
|
...e,
|
|
2528
|
-
createStore: () =>
|
|
2560
|
+
createStore: () => Ga(),
|
|
2529
2561
|
flushAtStartup: !0,
|
|
2530
2562
|
shouldStore: async (e, t) => {
|
|
2531
2563
|
var n, r, i;
|
|
@@ -2547,11 +2579,11 @@ function Ha(e) {
|
|
|
2547
2579
|
/abort/i
|
|
2548
2580
|
],
|
|
2549
2581
|
beforeSend(e) {
|
|
2550
|
-
return
|
|
2582
|
+
return Ua === "production" ? e : null;
|
|
2551
2583
|
}
|
|
2552
|
-
}), e.eventId && Re("eventId", e.eventId), Re("isWebview", e.isWebview), Re("source", "vite-main"), We({ ip_address: "{{auto}}" }),
|
|
2584
|
+
}), e.eventId && Re("eventId", e.eventId), Re("isWebview", e.isWebview), Re("source", "vite-main"), We({ ip_address: "{{auto}}" }), qa();
|
|
2553
2585
|
}
|
|
2554
|
-
function
|
|
2586
|
+
function qa() {
|
|
2555
2587
|
window.addEventListener("unhandledrejection", (e) => {
|
|
2556
2588
|
Ie(e.reason, { contexts: { unhandledRejection: { promise: e.promise } } });
|
|
2557
2589
|
});
|
|
@@ -2569,14 +2601,14 @@ function Ua() {
|
|
|
2569
2601
|
}
|
|
2570
2602
|
//#endregion
|
|
2571
2603
|
//#region src/intercom/shouldLoad.ts
|
|
2572
|
-
function
|
|
2604
|
+
function Ja() {
|
|
2573
2605
|
let e = window.location.hostname.split(".");
|
|
2574
2606
|
return e.length >= 3 && e[e.length - 2] === "expofp" && e[e.length - 1] === "com";
|
|
2575
2607
|
}
|
|
2576
|
-
function
|
|
2577
|
-
return
|
|
2608
|
+
function Ya() {
|
|
2609
|
+
return Ja() ? window.location.hostname.split(".")[0] : "main";
|
|
2578
2610
|
}
|
|
2579
|
-
function
|
|
2611
|
+
function Xa(e) {
|
|
2580
2612
|
if ((e == null ? void 0 : e.free) === !0) return "Free";
|
|
2581
2613
|
let t = e == null ? void 0 : e.trialExpiresAt;
|
|
2582
2614
|
if (t) {
|
|
@@ -2585,17 +2617,17 @@ function Ka(e) {
|
|
|
2585
2617
|
}
|
|
2586
2618
|
return "Active";
|
|
2587
2619
|
}
|
|
2588
|
-
function
|
|
2620
|
+
function Za() {
|
|
2589
2621
|
return !1;
|
|
2590
2622
|
}
|
|
2591
|
-
function
|
|
2623
|
+
function Qa(e) {
|
|
2592
2624
|
return e;
|
|
2593
2625
|
}
|
|
2594
|
-
function
|
|
2595
|
-
if (
|
|
2596
|
-
let t =
|
|
2597
|
-
subDomain:
|
|
2598
|
-
subscriptionStatus:
|
|
2626
|
+
function $a(e) {
|
|
2627
|
+
if (Za() || !Ja() || !window.navigator.onLine) return null;
|
|
2628
|
+
let t = Qa({
|
|
2629
|
+
subDomain: Ya(),
|
|
2630
|
+
subscriptionStatus: Xa(e)
|
|
2599
2631
|
});
|
|
2600
2632
|
return t.subDomain !== "demo" && t.subscriptionStatus !== "Free" && t.subscriptionStatus !== "Trial Expired" ? null : t;
|
|
2601
2633
|
}
|
|
@@ -2604,7 +2636,7 @@ function Ya(e) {
|
|
|
2604
2636
|
function $() {
|
|
2605
2637
|
throw Error("FloorPlan not ready");
|
|
2606
2638
|
}
|
|
2607
|
-
var
|
|
2639
|
+
var eo = class {
|
|
2608
2640
|
get ready() {
|
|
2609
2641
|
return this._ready;
|
|
2610
2642
|
}
|
|
@@ -2751,7 +2783,7 @@ var Xa = class {
|
|
|
2751
2783
|
}
|
|
2752
2784
|
constructor(e) {
|
|
2753
2785
|
var t;
|
|
2754
|
-
this.options = void 0, this.renderTarget = void 0, this._ready = void 0, this.element = void 0, this.eventId = void 0, this.dataUrl = void 0, this.noOverlay = void 0, this.offHistory = void 0, this.ignoreQuery = void 0, this.allowConsent = void 0, this.onInit = void 0, this.disableRuntimeAlerts = void 0, this.viewerMode = void 0, this.efpStyleLoadHandler = void 0, this.resolveReady = void 0, this.icons = /* @__PURE__ */ new Map(), this.enableRotation = !0, this.alwaysShowSidebar = !1, this.onBoothClick = void 0, this.onBookmarkClick = void 0, this.onVisitedClick = void 0, this.onCategoryClick = void 0, this.onFpConfigured = void 0, this.onDirection = void 0, this.onDetails = void 0, this.onExhibitorCustomButtonClick = void 0, this.onGetCoordsClick = void 0, this.onMarkerClick = void 0, this.onLeaveEvent = void 0, this.options = e, this.noOverlay = !!e.noOverlay, this.offHistory = !!e.offHistory, this.ignoreQuery = e.ignoreQuery, this.allowConsent = ut && !
|
|
2786
|
+
this.options = void 0, this.renderTarget = void 0, this._ready = void 0, this.element = void 0, this.eventId = void 0, this.dataUrl = void 0, this.noOverlay = void 0, this.offHistory = void 0, this.ignoreQuery = void 0, this.allowConsent = void 0, this.onInit = void 0, this.disableRuntimeAlerts = void 0, this.viewerMode = void 0, this.efpStyleLoadHandler = void 0, this.resolveReady = void 0, this.icons = /* @__PURE__ */ new Map(), this.enableRotation = !0, this.alwaysShowSidebar = !1, this.onBoothClick = void 0, this.onBookmarkClick = void 0, this.onVisitedClick = void 0, this.onCategoryClick = void 0, this.onFpConfigured = void 0, this.onDirection = void 0, this.onDetails = void 0, this.onExhibitorCustomButtonClick = void 0, this.onGetCoordsClick = void 0, this.onMarkerClick = void 0, this.onLeaveEvent = void 0, this.options = e, this.noOverlay = !!e.noOverlay, this.offHistory = !!e.offHistory, this.ignoreQuery = e.ignoreQuery, this.allowConsent = ut && !te ? !1 : e.allowConsent, this.onBoothClick = e.onBoothClick, this.onBookmarkClick = e.onBookmarkClick, this.onVisitedClick = e.onVisitedClick, this.onCategoryClick = e.onCategoryClick, this.onDetails = e.onDetails, this.onExhibitorCustomButtonClick = e.onExhibitorCustomButtonClick, this.onGetCoordsClick = e.onGetCoordsClick, this.onMarkerClick = e.onMarkerClick, this.onFpConfigured = e.onFpConfigured, this.onDirection = e.onDirection, this.onInit = e.onInit, this.onCurrentPositionChanged = e.onCurrentPositionChanged, this.onFloorActivated = e.onFloorActivated, this.onLeaveEvent = e.onLeaveEvent, this.viewerMode = !!e.viewerMode, this.disableRuntimeAlerts = (t = e.disableRuntimeAlerts) == null ? !0 : t, this._ready = new Promise((e, t) => {
|
|
2755
2787
|
this.resolveReady = e;
|
|
2756
2788
|
});
|
|
2757
2789
|
let r = e.element;
|
|
@@ -2759,77 +2791,77 @@ var Xa = class {
|
|
|
2759
2791
|
if (r.__expofp = this, r.getAttribute("data-event-id") || r.getAttribute("data-event")) throw Error("data-xxx attributes are removed, use options instead");
|
|
2760
2792
|
let d = e.expo || e.event;
|
|
2761
2793
|
if (!d) throw Error("`expo` option is required");
|
|
2762
|
-
|
|
2794
|
+
Ka({
|
|
2763
2795
|
eventId: d || "",
|
|
2764
|
-
isWebview:
|
|
2796
|
+
isWebview: p
|
|
2765
2797
|
}), this.eventId = d, window.__efpEvent = d, window.__efpElement = r;
|
|
2766
|
-
let
|
|
2767
|
-
r.classList.remove(...
|
|
2768
|
-
let
|
|
2769
|
-
|
|
2770
|
-
let
|
|
2771
|
-
|
|
2772
|
-
let
|
|
2773
|
-
if (
|
|
2798
|
+
let f = [...r.classList];
|
|
2799
|
+
r.classList.remove(...f), r.classList.add("expofp-floorplan-default", ...f);
|
|
2800
|
+
let m = document.head || document.getElementsByTagName("head")[0], h = document.createElement("style");
|
|
2801
|
+
m.prepend(h), h.textContent = ".expofp-floorplan-default { width: 100%; height: 100%;}";
|
|
2802
|
+
let g = document.createElement("div");
|
|
2803
|
+
g.style.height = "100%", g.style.width = "100%", r.appendChild(g);
|
|
2804
|
+
let _;
|
|
2805
|
+
if (p && (this.allowConsent = !0), e.allowConsent === void 0) {
|
|
2774
2806
|
let e = new URL(window.location.href).searchParams.get("allowConsent");
|
|
2775
2807
|
e && (this.allowConsent = e === "true");
|
|
2776
2808
|
}
|
|
2777
2809
|
if (ct) {
|
|
2778
|
-
|
|
2779
|
-
let e =
|
|
2810
|
+
_ = g.attachShadow({ mode: "open" });
|
|
2811
|
+
let e = _, t = document;
|
|
2780
2812
|
e.createElement = (...e) => t.createElement(...e), e.createElementNS = (...e) => t.createElementNS(...e), e.createTextNode = (...e) => t.createTextNode(...e);
|
|
2781
|
-
} else
|
|
2782
|
-
let
|
|
2783
|
-
if (
|
|
2784
|
-
let
|
|
2785
|
-
window.__dataUrlBase =
|
|
2786
|
-
let
|
|
2813
|
+
} else _ = g;
|
|
2814
|
+
let v = document.createElement("div");
|
|
2815
|
+
if (v.style.height = "100%", v.style.width = "100%", _.appendChild(v), ct && Object.defineProperty(v, "ownerDocument", { value: _ }), window.__efpShadowDOMStyleParent = ct ? _ : void 0, this.renderTarget = v, r.getAttribute("data-data-url")) throw Error("data-xxx attributes are removed, use options instead");
|
|
2816
|
+
let y = e.legacyDataUrlBase;
|
|
2817
|
+
window.__dataUrlBase = y, this.dataUrl = y, i.log("Instantiating ExpoFP floorplan", e.element, d);
|
|
2818
|
+
let b = y + "data.js", x = y + "wf.data.js", S = y + "fp.svg.js", C = [
|
|
2819
|
+
o(x),
|
|
2787
2820
|
o(b),
|
|
2788
|
-
o(
|
|
2789
|
-
|
|
2790
|
-
], C = 0;
|
|
2821
|
+
o(S)
|
|
2822
|
+
], w = 0;
|
|
2791
2823
|
this.efpStyleLoadHandler = function(e) {
|
|
2792
2824
|
let t = window.__efpStyleElements;
|
|
2793
|
-
for (;
|
|
2794
|
-
let e = t[
|
|
2795
|
-
|
|
2825
|
+
for (; w < t.length;) {
|
|
2826
|
+
let e = t[w];
|
|
2827
|
+
_.appendChild(e), w++;
|
|
2796
2828
|
}
|
|
2797
2829
|
}, window.addEventListener("__efpStyleLoad", this.efpStyleLoadHandler);
|
|
2798
|
-
let
|
|
2830
|
+
let T = this;
|
|
2799
2831
|
(async function() {
|
|
2800
2832
|
var e, t;
|
|
2801
|
-
await Promise.all(
|
|
2802
|
-
let
|
|
2803
|
-
for (; window.__fpPending && !window.__fp;) await n(2e3), await o(
|
|
2804
|
-
let
|
|
2805
|
-
|
|
2806
|
-
let
|
|
2807
|
-
if (
|
|
2808
|
-
|
|
2833
|
+
await Promise.all(C);
|
|
2834
|
+
let f = 0;
|
|
2835
|
+
for (; window.__fpPending && !window.__fp;) await n(2e3), await o(S + `?v=${++f}`);
|
|
2836
|
+
let p = window.__data, te = $a(p);
|
|
2837
|
+
te && import("./bootIntercom-DjZFUOTC.js").then(({ bootIntercom: e }) => e(te)).catch(() => {}), await ee();
|
|
2838
|
+
let m = new URLSearchParams(window.location.search), h, v;
|
|
2839
|
+
if (p != null && p.trackerUrl) try {
|
|
2840
|
+
h = new URL(p.trackerUrl), v = h.searchParams.get("expoId");
|
|
2809
2841
|
} catch (e) {
|
|
2810
2842
|
console.error(e);
|
|
2811
2843
|
}
|
|
2812
|
-
let
|
|
2813
|
-
if (!
|
|
2814
|
-
let t = new URL(e.dataUrl,
|
|
2844
|
+
let y = async (e) => {
|
|
2845
|
+
if (!h || !v) return Promise.reject(/* @__PURE__ */ Error("trackerUrl or expoId is missing"));
|
|
2846
|
+
let t = new URL(e.dataUrl, h.origin), n = await fetch(t.toString(), {
|
|
2815
2847
|
method: "POST",
|
|
2816
2848
|
headers: { "Content-Type": "application/json" },
|
|
2817
2849
|
body: JSON.stringify({
|
|
2818
|
-
expoId:
|
|
2819
|
-
token: decodeURIComponent(
|
|
2850
|
+
expoId: v,
|
|
2851
|
+
token: decodeURIComponent(m.get("t"))
|
|
2820
2852
|
})
|
|
2821
2853
|
}), r = [];
|
|
2822
2854
|
n.ok && (r = (await n.json()).map(e.dataMapper)), window.__heatmapDataYah = { yah: r };
|
|
2823
2855
|
};
|
|
2824
|
-
if (
|
|
2825
|
-
if (
|
|
2856
|
+
if (m.get("heatmap") === "true") try {
|
|
2857
|
+
if (m.get("type") === "yah") m.get("subtype") === "kiosk" ? await y({
|
|
2826
2858
|
dataUrl: "/api/kiosks/list/viewer",
|
|
2827
2859
|
dataMapper: (e) => ({
|
|
2828
2860
|
...e,
|
|
2829
2861
|
id: e.key,
|
|
2830
2862
|
name: `Kiosk ${e.key}`
|
|
2831
2863
|
})
|
|
2832
|
-
}) : await
|
|
2864
|
+
}) : await y({
|
|
2833
2865
|
dataUrl: "/api/v1/you-are-here/qr-code/list/viewer",
|
|
2834
2866
|
dataMapper: (e, t) => ({
|
|
2835
2867
|
...e,
|
|
@@ -2837,10 +2869,10 @@ var Xa = class {
|
|
|
2837
2869
|
})
|
|
2838
2870
|
});
|
|
2839
2871
|
else {
|
|
2840
|
-
let e = new URL("/api/fp-stats/get",
|
|
2841
|
-
e.searchParams.set("expoId",
|
|
2842
|
-
let t = new URL("api/fp-stats/get",
|
|
2843
|
-
t.searchParams.set("expoId",
|
|
2872
|
+
let e = new URL("/api/fp-stats/get", h.origin);
|
|
2873
|
+
e.searchParams.set("expoId", v), e.searchParams.set("type", "booview"), e.searchParams.set("t", decodeURIComponent(m.get("t")));
|
|
2874
|
+
let t = new URL("api/fp-stats/get", h.origin);
|
|
2875
|
+
t.searchParams.set("expoId", v), t.searchParams.set("type", "exview"), t.searchParams.set("t", decodeURIComponent(m.get("t")));
|
|
2844
2876
|
let [n, r] = await Promise.all([fetch(e.toString()), fetch(t.toString())]), [i, a] = await Promise.all([n.json(), r.json()]);
|
|
2845
2877
|
window.__heatmapData = {
|
|
2846
2878
|
booths: i,
|
|
@@ -2858,33 +2890,33 @@ var Xa = class {
|
|
|
2858
2890
|
rt: e,
|
|
2859
2891
|
expoKey: d
|
|
2860
2892
|
}), n = await fetch(t);
|
|
2861
|
-
n.ok && ot(
|
|
2862
|
-
} else
|
|
2893
|
+
n.ok && ot(p, await n.json()), p.isRebooking = n.ok;
|
|
2894
|
+
} else p.isRebooking = !1;
|
|
2863
2895
|
} catch (e) {
|
|
2864
2896
|
console.error(e);
|
|
2865
2897
|
}
|
|
2866
|
-
let
|
|
2867
|
-
|
|
2868
|
-
|
|
2869
|
-
|
|
2898
|
+
let b = [
|
|
2899
|
+
ne(u + "vendor/sanitize-css/sanitize.css", _),
|
|
2900
|
+
ne(u + "vendor/perfect-scrollbar/css/perfect-scrollbar.css", _),
|
|
2901
|
+
ne(u + "vendor/mapbox/mapbox-gl.css", _),
|
|
2870
2902
|
l("Oswald", u + "fonts/oswald-v17-cyrillic_latin-300.woff", { weight: 300 }),
|
|
2871
2903
|
l("Oswald", u + "fonts/oswald-v17-cyrillic_latin-500.woff", { weight: 500 }),
|
|
2872
2904
|
l("Inter", u + "fonts/inter-400.woff2", { weight: 400 }),
|
|
2873
2905
|
l("Inter", u + "fonts/inter-500.woff2", { weight: 500 }),
|
|
2874
2906
|
l("Inter", u + "fonts/inter-600.woff2", { weight: 600 }),
|
|
2875
2907
|
l("efp-symbols", u + "fonts/efp-symbols.woff", { weight: 400 }),
|
|
2876
|
-
it(
|
|
2877
|
-
at(
|
|
2908
|
+
it(p, _),
|
|
2909
|
+
at(T.icons)
|
|
2878
2910
|
];
|
|
2879
|
-
await Promise.all(
|
|
2880
|
-
let { default:
|
|
2911
|
+
await Promise.all(b), T.enableRotation = (e = p == null ? void 0 : p.enableRotation) == null ? !1 : e, T.alwaysShowSidebar = (t = p == null ? void 0 : p.alwaysShowSidebar) == null ? !1 : t, i.log("Data loaded");
|
|
2912
|
+
let { default: x } = await import(
|
|
2881
2913
|
/* webpackChunkName: "floorplan" */
|
|
2882
|
-
"./floorplan.ready-
|
|
2914
|
+
"./floorplan.ready-D1C9tWKU.js"
|
|
2883
2915
|
);
|
|
2884
|
-
for (document.querySelectorAll(".expofp-floorplan-loader").forEach((e) => e.remove()); r.firstChild && r.firstChild !==
|
|
2885
|
-
Object.setPrototypeOf(
|
|
2916
|
+
for (document.querySelectorAll(".expofp-floorplan-loader").forEach((e) => e.remove()); r.firstChild && r.firstChild !== g;) r.removeChild(r.firstChild);
|
|
2917
|
+
Object.setPrototypeOf(T, x.prototype).init();
|
|
2886
2918
|
})();
|
|
2887
2919
|
}
|
|
2888
2920
|
};
|
|
2889
2921
|
//#endregion
|
|
2890
|
-
export { $e as a,
|
|
2922
|
+
export { $e as a, qt as i, Q as n, q as r, eo as t };
|