@expofp/floorplan 3.0.4 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/{CookieConsent-20OSplsa.js → CookieConsent-Dmv0fV6C.js} +1263 -1261
- package/dist/browser/{Debug-DVY7QSH3.js → Debug-Bcinws3Z.js} +7 -7
- package/dist/browser/{Demo-qAITctPP.js → Demo-DS47GBXP.js} +11 -11
- package/dist/browser/Free-rMJSKekB.js +63 -0
- package/dist/browser/{Gallery-BhQo5kwQ.js → Gallery-DfAH39db.js} +16 -16
- package/dist/browser/{GpsLoader-CiHW2urc.js → GpsLoader-g5ZbaNN8.js} +21 -21
- package/dist/browser/{KioskStore-CwZLrrqy.js → KioskStore-BkI0W5G_.js} +16 -16
- package/dist/browser/{Mapbox-C65ZvpNQ.js → Mapbox-U0Xp-dJy.js} +18 -18
- package/dist/browser/{SetKioskMode-C4z7Sz25.js → SetKioskMode-Mtfet5Gv.js} +19 -19
- package/dist/browser/ShowKiosk-S_x_8I5m.js +26 -0
- package/dist/browser/{ThreeComponent-BXwxseVE.js → ThreeComponent-Cn-bMeXV.js} +282 -282
- package/dist/browser/{TouchHand-Dz318pf9.js → TouchHand-CkxqOSSr.js} +4 -4
- package/dist/browser/{ViewerMenuPanel-CAK4bMYg.js → ViewerMenuPanel-1IlAn-bB.js} +19 -19
- package/dist/browser/{add-debug-secret-listener-Bji6Xb0a.js → add-debug-secret-listener-DRPQKt-Q.js} +1 -1
- package/dist/browser/{boolean-editor-D6nJvUln.js → boolean-editor-B4geQ7PH.js} +6 -6
- package/dist/browser/bundle.json +43 -43
- package/dist/browser/{chunk-DtdTVMkx.js → chunk-BRl5Kkpd.js} +1 -1
- package/dist/browser/{classnames-DLO4G2Aq.js → classnames-CCxYAYKJ.js} +2 -2
- package/dist/browser/{client-D4nNjEPG.js → client-B7XtGJWm.js} +4 -4
- package/dist/browser/{data-RX6r34oF.js → data-C-4ggWJI.js} +565 -565
- package/dist/browser/{debug-overlay-rk1N_z9_.js → debug-overlay-BygOMeRE.js} +8 -8
- package/dist/browser/{debug-ui-DE0fncQV.js → debug-ui-CMv0d865.js} +6 -6
- package/dist/browser/{dist-tX7hWUmY.js → dist-waqn7yPH.js} +5 -5
- package/dist/browser/{exports-Pb-YuGCR.js → exports-DNYbSw5O.js} +1 -1
- package/dist/browser/{favicon-DwSbd3PB.js → favicon-DzIGribB.js} +1 -1
- package/dist/browser/{fetch-retry.umd-BI9-HPVK.js → fetch-retry.umd-BU4QgqQf.js} +5 -5
- package/dist/browser/{flex-D-cGnQFh.js → flex-DV5_d5uA.js} +6 -6
- package/dist/browser/{floorplan.loader-C01OVaKo.js → floorplan.loader-C6blBYy5.js} +583 -528
- package/dist/browser/{floorplan.ready-BIdCL_qu.js → floorplan.ready-m2MeP7t6.js} +122 -122
- package/dist/browser/{fuse-DXAWz_SJ.js → fuse-eB0NJP2Y.js} +2 -2
- package/dist/browser/index.js +11 -11
- package/dist/browser/{is-debug-2b59TgVY.js → is-debug-DNx7lu9r.js} +47 -47
- package/dist/browser/{jsx-runtime-BQn2tbwC.js → jsx-runtime-Dx6Zx-sv.js} +2 -2
- package/dist/browser/{lib-D4g_-i_A.js → lib-BqFjGC1G.js} +4 -4
- package/dist/browser/{main-C7b3KFSJ.js → main-6qqL0RDN.js} +1 -1
- package/dist/browser/{mobx-Cl5IBMNd.js → mobx-DSw3E2kR.js} +4 -4
- package/dist/browser/{particles.min-fCrqBF0H.js → particles.min-Ba1191wA.js} +2 -2
- package/dist/browser/{prop-types-CBcnHoAH.js → prop-types-Cq4o6XvT.js} +2 -2
- package/dist/browser/{react-CuflrHKC.js → react-DgeLxkYu.js} +2 -2
- package/dist/browser/{react-dom-C7lq59RX.js → react-dom-Beeufw5z.js} +3 -3
- package/dist/browser/{reset-all-settings-DbcfYPlT.js → reset-all-settings-D5a3_fuL.js} +1 -1
- package/dist/browser/{settings-CgR5mVuh.js → settings-R89Rs7v3.js} +6 -6
- package/dist/browser/{src-C9-vYgd8.js → src-Cq6JROJE.js} +4 -4
- package/dist/browser/{store-BCWrifaL.js → store-Csjg3ohh.js} +383 -354
- package/dist/browser/{ui-BUETQfZK.js → ui-DZGXCYdz.js} +6 -6
- package/dist/esm/components/Controls.js +1 -1
- package/dist/esm/components/CookieConsent.js +1 -1
- package/dist/esm/components/Free.js +1 -1
- package/dist/esm/components/Layout.js +1 -1
- package/dist/esm/components/LogoOverlay.js +1 -1
- package/dist/esm/components/PermissionNotice/PermissionNotice.d.ts +1 -0
- package/dist/esm/components/PermissionNotice/PermissionNotice.js +1 -1
- package/dist/esm/floorplan.loader.js +1 -1
- package/dist/esm/store/UIState.d.ts +1 -0
- package/dist/esm/store/UIState.js +1 -1
- package/dist/esm/tools/expofpUrl.d.ts +7 -0
- package/dist/esm/tools/expofpUrl.js +1 -0
- package/dist/esm/tools/freeBanner.d.ts +5 -0
- package/dist/esm/tools/freeBanner.js +1 -0
- package/dist/esm/tools/intercom.d.ts +12 -0
- package/dist/esm/tools/intercom.js +19 -0
- package/package.json +3 -3
- package/dist/browser/Free-DAX07Faq.js +0 -66
- package/dist/browser/ShowKiosk-stxqqSB7.js +0 -26
|
@@ -1,26 +1,26 @@
|
|
|
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.0
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.1.0" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
6
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "99d32d70-deff-4e41-a182-dcff57765e44", e._sentryDebugIdIdentifier = "sentry-dbid-99d32d70-deff-4e41-a182-dcff57765e44");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./chunk-
|
|
10
|
-
import { A as t, B as n, G as r, H as i, J as a, K as o, Tt as s, V as c, Y as l, d as u, n as d, r as ee, s as te, t as f, z as ne } from "./is-debug-
|
|
11
|
-
import { $ as p, A as m, B as h, C as g, D as _, E as v, F as y, G as re, H as b, I as
|
|
12
|
-
import { t as
|
|
9
|
+
import { r as e } from "./chunk-BRl5Kkpd.js";
|
|
10
|
+
import { A as t, B as n, G as r, H as i, J as a, K as o, Tt as s, V as c, Y as l, d as u, n as d, r as ee, s as te, t as f, z as ne } from "./is-debug-DNx7lu9r.js";
|
|
11
|
+
import { $ as p, A as m, B as h, C as g, D as _, E as v, F as y, G as re, H as b, I as ie, J as ae, K as x, L as S, M as oe, N as C, O as se, P as w, Q as ce, R as le, S as ue, T as de, U as fe, V as pe, W as me, X as he, Y as ge, Z as _e, _ as T, _t as E, a as ve, at as ye, b as be, c as xe, ct as D, d as Se, dt as Ce, et as we, f as Te, ft as O, g as Ee, gt as De, h as Oe, ht as ke, it as k, j as Ae, k as A, l as je, lt as Me, m as Ne, mt as Pe, n as Fe, nt as j, o as Ie, ot as Le, p as Re, pt as ze, q as Be, r as Ve, rt as He, s as Ue, st as We, t as Ge, tt as Ke, u as qe, ut as Je, v as Ye, vt as M, w as Xe, x as N, y as Ze, z as Qe } from "./exports-DNYbSw5O.js";
|
|
12
|
+
import { t as $e } from "./react-DgeLxkYu.js";
|
|
13
13
|
//#region src/tools/report-error.ts
|
|
14
|
-
var
|
|
15
|
-
function
|
|
16
|
-
|
|
14
|
+
var et;
|
|
15
|
+
function tt(e) {
|
|
16
|
+
et || e.filename.indexOf("expofp.com") === -1 || [
|
|
17
17
|
/loading chunk \d{1,2}\b/i,
|
|
18
18
|
/zaloJS/i,
|
|
19
19
|
/e.target.name/i,
|
|
20
20
|
/ResizeObserver loop/i,
|
|
21
21
|
/ChunkLoadError/i,
|
|
22
22
|
/FloorPlan not ready/i
|
|
23
|
-
].some((t) => t.test(e.message)) || (
|
|
23
|
+
].some((t) => t.test(e.message)) || (et = window.setTimeout(async function() {
|
|
24
24
|
var t;
|
|
25
25
|
let n = navigator.languages && navigator.languages.length ? navigator.languages[0] : navigator.language, r = {
|
|
26
26
|
host: document.location.host,
|
|
@@ -36,10 +36,10 @@ function nt(e) {
|
|
|
36
36
|
url: document.location,
|
|
37
37
|
subject: "FP JS error: " + document.location.host
|
|
38
38
|
};
|
|
39
|
-
s.info("Sending error report", r), await Promise.all([
|
|
39
|
+
s.info("Sending error report", r), await Promise.all([nt(r), rt(r)]);
|
|
40
40
|
}, 2e3));
|
|
41
41
|
}
|
|
42
|
-
async function
|
|
42
|
+
async function nt(e) {
|
|
43
43
|
let t = await fetch("https://app.expofp.com/api/report-error", {
|
|
44
44
|
method: "POST",
|
|
45
45
|
headers: { "Content-Type": "application/json" },
|
|
@@ -47,15 +47,15 @@ async function rt(e) {
|
|
|
47
47
|
});
|
|
48
48
|
s.log("Reporter response: ", await t.text());
|
|
49
49
|
}
|
|
50
|
-
async function
|
|
51
|
-
let t =
|
|
50
|
+
async function rt(e) {
|
|
51
|
+
let t = it(e), n = await fetch("https://msg.expofp.com/v1/post-message/" + window.location.hostname, {
|
|
52
52
|
method: "POST",
|
|
53
53
|
headers: { "Content-Type": "application/json" },
|
|
54
54
|
body: JSON.stringify(t)
|
|
55
55
|
});
|
|
56
56
|
s.log("Slack reporter response: ", await n.text());
|
|
57
57
|
}
|
|
58
|
-
function
|
|
58
|
+
function it(e) {
|
|
59
59
|
let t = JSON.parse(JSON.stringify(e));
|
|
60
60
|
delete t.subject, delete t.message, delete t.stack, delete t.log;
|
|
61
61
|
let n = [];
|
|
@@ -81,7 +81,7 @@ function at(e) {
|
|
|
81
81
|
}
|
|
82
82
|
//#endregion
|
|
83
83
|
//#region src/utils/loadCustomCss.ts
|
|
84
|
-
async function
|
|
84
|
+
async function at(e, t) {
|
|
85
85
|
if (e != null && e.customCss) {
|
|
86
86
|
let r = document.createElement("style");
|
|
87
87
|
r.textContent = e.customCss, t.append(r), await n(e.customCss);
|
|
@@ -89,7 +89,7 @@ async function ot(e, t) {
|
|
|
89
89
|
}
|
|
90
90
|
//#endregion
|
|
91
91
|
//#region src/utils/loadIcons.ts
|
|
92
|
-
async function
|
|
92
|
+
async function ot(e) {
|
|
93
93
|
try {
|
|
94
94
|
(await Promise.allSettled(Object.entries({
|
|
95
95
|
departure: "icons/departure.svg",
|
|
@@ -107,7 +107,7 @@ async function st(e) {
|
|
|
107
107
|
}
|
|
108
108
|
//#endregion
|
|
109
109
|
//#region src/utils/mergeExhibitors.ts
|
|
110
|
-
function
|
|
110
|
+
function st(e, t) {
|
|
111
111
|
t.exhibitors.forEach((t) => {
|
|
112
112
|
let n = e.exhibitors.find((e) => e.id === t.id);
|
|
113
113
|
n && (n.rebookingState = t.rebookingState, n.rebookingNote = t.rebookingNote);
|
|
@@ -115,100 +115,100 @@ function ct(e, t) {
|
|
|
115
115
|
}
|
|
116
116
|
//#endregion
|
|
117
117
|
//#region src/utils/use-shadow.ts
|
|
118
|
-
var
|
|
119
|
-
function F(e, t) {
|
|
120
|
-
P[e] = P[e] || [], P[e].push(t);
|
|
121
|
-
}
|
|
118
|
+
var ct, lt = typeof document < "u" && !!((ct = document.body) != null && ct.attachShadow) && u && localStorage.getItem("noShadowDom") !== "1" && window.FontFace !== void 0, { hostname: P, protocol: ut } = window.location, dt = P === "localhost" || P === "127.0.0.1" || P === "::1" || P.startsWith("192.168.") || P.startsWith("10.") || /^172\.(1[6-9]|2[0-9]|3[0-1])\./.test(P) || P.endsWith(".local") || ut === "file:" || P === "", F = {}, ft = {};
|
|
122
119
|
function I(e, t) {
|
|
123
|
-
|
|
124
|
-
|
|
120
|
+
F[e] = F[e] || [], F[e].push(t);
|
|
121
|
+
}
|
|
122
|
+
function L(e, t) {
|
|
123
|
+
if (!ft[e]) {
|
|
124
|
+
ft[e] = !0;
|
|
125
125
|
try {
|
|
126
126
|
t();
|
|
127
127
|
} catch (t) {
|
|
128
|
-
|
|
128
|
+
M && O.error(`Error while instrumenting ${e}`, t);
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
|
-
function
|
|
133
|
-
let n = e &&
|
|
132
|
+
function R(e, t) {
|
|
133
|
+
let n = e && F[e];
|
|
134
134
|
if (n) for (let r of n) try {
|
|
135
135
|
r(t);
|
|
136
136
|
} catch (t) {
|
|
137
|
-
|
|
137
|
+
M && O.error(`Error while triggering instrumentation handler.\nType: ${e}\nName: ${D(r)}\nError:`, t);
|
|
138
138
|
}
|
|
139
139
|
}
|
|
140
140
|
//#endregion
|
|
141
141
|
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/instrument/globalError.js
|
|
142
|
-
var
|
|
143
|
-
function
|
|
142
|
+
var pt = null;
|
|
143
|
+
function mt(e) {
|
|
144
144
|
let t = "error";
|
|
145
|
-
|
|
145
|
+
I(t, e), L(t, ht);
|
|
146
146
|
}
|
|
147
|
-
function
|
|
148
|
-
|
|
149
|
-
return
|
|
147
|
+
function ht() {
|
|
148
|
+
pt = E.onerror, E.onerror = function(e, t, n, r, i) {
|
|
149
|
+
return R("error", {
|
|
150
150
|
column: r,
|
|
151
151
|
error: i,
|
|
152
152
|
line: n,
|
|
153
153
|
msg: e,
|
|
154
154
|
url: t
|
|
155
|
-
}),
|
|
155
|
+
}), pt ? pt.apply(this, arguments) : !1;
|
|
156
156
|
}, E.onerror.__SENTRY_INSTRUMENTED__ = !0;
|
|
157
157
|
}
|
|
158
158
|
//#endregion
|
|
159
159
|
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/instrument/globalUnhandledRejection.js
|
|
160
|
-
var
|
|
161
|
-
function
|
|
160
|
+
var gt = null;
|
|
161
|
+
function _t(e) {
|
|
162
162
|
let t = "unhandledrejection";
|
|
163
|
-
|
|
163
|
+
I(t, e), L(t, vt);
|
|
164
164
|
}
|
|
165
|
-
function
|
|
166
|
-
|
|
167
|
-
return
|
|
165
|
+
function vt() {
|
|
166
|
+
gt = E.onunhandledrejection, E.onunhandledrejection = function(e) {
|
|
167
|
+
return R("unhandledrejection", e), gt ? gt.apply(this, arguments) : !0;
|
|
168
168
|
}, E.onunhandledrejection.__SENTRY_INSTRUMENTED__ = !0;
|
|
169
169
|
}
|
|
170
170
|
//#endregion
|
|
171
171
|
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/utils/parseSampleRate.js
|
|
172
|
-
function
|
|
172
|
+
function yt(e) {
|
|
173
173
|
if (typeof e == "boolean") return Number(e);
|
|
174
174
|
let t = typeof e == "string" ? parseFloat(e) : e;
|
|
175
175
|
if (!(typeof t != "number" || isNaN(t) || t < 0 || t > 1)) return t;
|
|
176
176
|
}
|
|
177
177
|
//#endregion
|
|
178
178
|
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/utils/should-ignore-span.js
|
|
179
|
-
function
|
|
179
|
+
function bt(e) {
|
|
180
180
|
O.log(`Ignoring span ${e.op} - ${e.description} because it matches \`ignoreSpans\`.`);
|
|
181
181
|
}
|
|
182
|
-
function
|
|
182
|
+
function xt(e, t) {
|
|
183
183
|
if (!(t != null && t.length) || !e.description) return !1;
|
|
184
184
|
for (let n of t) {
|
|
185
|
-
if (
|
|
186
|
-
if (y(e.description, n)) return
|
|
185
|
+
if (Ct(n)) {
|
|
186
|
+
if (y(e.description, n)) return M && bt(e), !0;
|
|
187
187
|
continue;
|
|
188
188
|
}
|
|
189
189
|
if (!n.name && !n.op) continue;
|
|
190
190
|
let t = n.name ? y(e.description, n.name) : !0, r = n.op ? e.op && y(e.op, n.op) : !0;
|
|
191
|
-
if (t && r) return
|
|
191
|
+
if (t && r) return M && bt(e), !0;
|
|
192
192
|
}
|
|
193
193
|
return !1;
|
|
194
194
|
}
|
|
195
|
-
function
|
|
195
|
+
function St(e, t) {
|
|
196
196
|
let n = t.parent_span_id, r = t.span_id;
|
|
197
197
|
if (n) for (let t of e) t.parent_span_id === r && (t.parent_span_id = n);
|
|
198
198
|
}
|
|
199
|
-
function
|
|
199
|
+
function Ct(e) {
|
|
200
200
|
return typeof e == "string" || e instanceof RegExp;
|
|
201
201
|
}
|
|
202
202
|
//#endregion
|
|
203
203
|
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/utils/envelope.js
|
|
204
|
-
function
|
|
204
|
+
function z(e, t = []) {
|
|
205
205
|
return [e, t];
|
|
206
206
|
}
|
|
207
|
-
function
|
|
207
|
+
function wt(e, t) {
|
|
208
208
|
let [n, r] = e;
|
|
209
209
|
return [n, [...r, t]];
|
|
210
210
|
}
|
|
211
|
-
function
|
|
211
|
+
function Tt(e, t) {
|
|
212
212
|
let n = e[1];
|
|
213
213
|
for (let e of n) {
|
|
214
214
|
let n = e[0].type;
|
|
@@ -216,17 +216,17 @@ function Et(e, t) {
|
|
|
216
216
|
}
|
|
217
217
|
return !1;
|
|
218
218
|
}
|
|
219
|
-
function
|
|
220
|
-
return
|
|
219
|
+
function Et(e, t) {
|
|
220
|
+
return Tt(e, (e, n) => t.includes(n));
|
|
221
221
|
}
|
|
222
|
-
function
|
|
222
|
+
function Dt(e) {
|
|
223
223
|
let t = ke(E);
|
|
224
224
|
return t.encodePolyfill ? t.encodePolyfill(e) : new TextEncoder().encode(e);
|
|
225
225
|
}
|
|
226
|
-
function
|
|
226
|
+
function Ot(e) {
|
|
227
227
|
let [t, n] = e, r = JSON.stringify(t);
|
|
228
228
|
function i(e) {
|
|
229
|
-
typeof r == "string" ? r = typeof e == "string" ? r + e : [
|
|
229
|
+
typeof r == "string" ? r = typeof e == "string" ? r + e : [Dt(r), e] : r.push(typeof e == "string" ? Dt(e) : e);
|
|
230
230
|
}
|
|
231
231
|
for (let e of n) {
|
|
232
232
|
let [t, n] = e;
|
|
@@ -241,15 +241,15 @@ function kt(e) {
|
|
|
241
241
|
i(e);
|
|
242
242
|
}
|
|
243
243
|
}
|
|
244
|
-
return typeof r == "string" ? r :
|
|
244
|
+
return typeof r == "string" ? r : kt(r);
|
|
245
245
|
}
|
|
246
|
-
function
|
|
246
|
+
function kt(e) {
|
|
247
247
|
let t = e.reduce((e, t) => e + t.length, 0), n = new Uint8Array(t), r = 0;
|
|
248
248
|
for (let t of e) n.set(t, r), r += t.length;
|
|
249
249
|
return n;
|
|
250
250
|
}
|
|
251
|
-
function
|
|
252
|
-
let t = typeof e.data == "string" ?
|
|
251
|
+
function At(e) {
|
|
252
|
+
let t = typeof e.data == "string" ? Dt(e.data) : e.data;
|
|
253
253
|
return [{
|
|
254
254
|
type: "attachment",
|
|
255
255
|
length: t.length,
|
|
@@ -258,7 +258,7 @@ function jt(e) {
|
|
|
258
258
|
attachment_type: e.attachmentType
|
|
259
259
|
}, t];
|
|
260
260
|
}
|
|
261
|
-
var
|
|
261
|
+
var jt = {
|
|
262
262
|
session: "session",
|
|
263
263
|
sessions: "session",
|
|
264
264
|
attachment: "attachment",
|
|
@@ -278,10 +278,10 @@ var Mt = {
|
|
|
278
278
|
metric: "metric",
|
|
279
279
|
trace_metric: "metric"
|
|
280
280
|
};
|
|
281
|
-
function
|
|
282
|
-
return
|
|
281
|
+
function Mt(e) {
|
|
282
|
+
return jt[e];
|
|
283
283
|
}
|
|
284
|
-
function
|
|
284
|
+
function Nt(e) {
|
|
285
285
|
if (!(e != null && e.sdk)) return;
|
|
286
286
|
let { name: t, version: n } = e.sdk;
|
|
287
287
|
return {
|
|
@@ -289,7 +289,7 @@ function Pt(e) {
|
|
|
289
289
|
version: n
|
|
290
290
|
};
|
|
291
291
|
}
|
|
292
|
-
function
|
|
292
|
+
function Pt(e, t, n, r) {
|
|
293
293
|
var i;
|
|
294
294
|
let a = (i = e.sdkProcessingMetadata) == null ? void 0 : i.dynamicSamplingContext;
|
|
295
295
|
return {
|
|
@@ -302,7 +302,7 @@ function Ft(e, t, n, r) {
|
|
|
302
302
|
}
|
|
303
303
|
//#endregion
|
|
304
304
|
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/envelope.js
|
|
305
|
-
function
|
|
305
|
+
function Ft(e, t) {
|
|
306
306
|
var n, r, i, a;
|
|
307
307
|
if (!t) return e;
|
|
308
308
|
let o = e.sdk || {};
|
|
@@ -318,41 +318,41 @@ function It(e, t) {
|
|
|
318
318
|
} : void 0
|
|
319
319
|
}, e;
|
|
320
320
|
}
|
|
321
|
-
function
|
|
322
|
-
let i =
|
|
323
|
-
return
|
|
321
|
+
function It(e, t, n, r) {
|
|
322
|
+
let i = Nt(n);
|
|
323
|
+
return z({
|
|
324
324
|
sent_at: (/* @__PURE__ */ new Date()).toISOString(),
|
|
325
325
|
...i && { sdk: i },
|
|
326
326
|
...!!r && t && { dsn: T(t) }
|
|
327
327
|
}, ["aggregates" in e ? [{ type: "sessions" }, e] : [{ type: "session" }, e.toJSON()]]);
|
|
328
328
|
}
|
|
329
|
-
function
|
|
330
|
-
let i =
|
|
331
|
-
|
|
332
|
-
let o =
|
|
333
|
-
return delete e.sdkProcessingMetadata,
|
|
329
|
+
function Lt(e, t, n, r) {
|
|
330
|
+
let i = Nt(n), a = e.type && e.type !== "replay_event" ? e.type : "event";
|
|
331
|
+
Ft(e, n == null ? void 0 : n.sdk);
|
|
332
|
+
let o = Pt(e, i, r, t);
|
|
333
|
+
return delete e.sdkProcessingMetadata, z(o, [[{ type: a }, e]]);
|
|
334
334
|
}
|
|
335
335
|
//#endregion
|
|
336
336
|
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/api.js
|
|
337
|
-
var
|
|
338
|
-
function
|
|
337
|
+
var Rt = "7";
|
|
338
|
+
function zt(e) {
|
|
339
339
|
let t = e.protocol ? `${e.protocol}:` : "", n = e.port ? `:${e.port}` : "";
|
|
340
340
|
return `${t}//${e.host}${n}${e.path ? `/${e.path}` : ""}/api/`;
|
|
341
341
|
}
|
|
342
|
-
function
|
|
343
|
-
return `${
|
|
342
|
+
function Bt(e) {
|
|
343
|
+
return `${zt(e)}${e.projectId}/envelope/`;
|
|
344
344
|
}
|
|
345
|
-
function
|
|
346
|
-
let n = { sentry_version:
|
|
345
|
+
function Vt(e, t) {
|
|
346
|
+
let n = { sentry_version: Rt };
|
|
347
347
|
return e.publicKey && (n.sentry_key = e.publicKey), t && (n.sentry_client = `${t.name}/${t.version}`), new URLSearchParams(n).toString();
|
|
348
348
|
}
|
|
349
|
-
function
|
|
350
|
-
return t || `${
|
|
349
|
+
function Ht(e, t, n) {
|
|
350
|
+
return t || `${Bt(e)}?${Vt(e, n)}`;
|
|
351
351
|
}
|
|
352
|
-
function
|
|
353
|
-
let n =
|
|
352
|
+
function Ut(e, t) {
|
|
353
|
+
let n = Ye(e);
|
|
354
354
|
if (!n) return "";
|
|
355
|
-
let r = `${
|
|
355
|
+
let r = `${zt(n)}embed/error-page/`, i = `dsn=${T(n)}`;
|
|
356
356
|
for (let e in t) if (e !== "dsn" && e !== "onClose") if (e === "user") {
|
|
357
357
|
let e = t.user;
|
|
358
358
|
if (!e) continue;
|
|
@@ -362,15 +362,15 @@ function Wt(e, t) {
|
|
|
362
362
|
}
|
|
363
363
|
//#endregion
|
|
364
364
|
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/integration.js
|
|
365
|
-
var
|
|
366
|
-
function
|
|
365
|
+
var Wt = [];
|
|
366
|
+
function Gt(e) {
|
|
367
367
|
let t = {};
|
|
368
368
|
return e.forEach((e) => {
|
|
369
369
|
let { name: n } = e, r = t[n];
|
|
370
370
|
r && !r.isDefaultInstance && e.isDefaultInstance || (t[n] = e);
|
|
371
371
|
}), Object.values(t);
|
|
372
372
|
}
|
|
373
|
-
function
|
|
373
|
+
function Kt(e) {
|
|
374
374
|
let t = e.defaultIntegrations || [], n = e.integrations;
|
|
375
375
|
t.forEach((e) => {
|
|
376
376
|
e.isDefaultInstance = !0;
|
|
@@ -381,23 +381,23 @@ function qt(e) {
|
|
|
381
381
|
let e = n(t);
|
|
382
382
|
r = Array.isArray(e) ? e : [e];
|
|
383
383
|
} else r = t;
|
|
384
|
-
return
|
|
384
|
+
return Gt(r);
|
|
385
385
|
}
|
|
386
|
-
function
|
|
386
|
+
function qt(e, t) {
|
|
387
387
|
let n = {};
|
|
388
388
|
return t.forEach((t) => {
|
|
389
|
-
t &&
|
|
389
|
+
t && Yt(e, t, n);
|
|
390
390
|
}), n;
|
|
391
391
|
}
|
|
392
|
-
function
|
|
392
|
+
function Jt(e, t) {
|
|
393
393
|
for (let n of t) n != null && n.afterAllSetup && n.afterAllSetup(e);
|
|
394
394
|
}
|
|
395
|
-
function
|
|
395
|
+
function Yt(e, t, n) {
|
|
396
396
|
if (n[t.name]) {
|
|
397
|
-
|
|
397
|
+
M && O.log(`Integration skipped because it was already installed: ${t.name}`);
|
|
398
398
|
return;
|
|
399
399
|
}
|
|
400
|
-
if (n[t.name] = t, !
|
|
400
|
+
if (n[t.name] = t, !Wt.includes(t.name) && typeof t.setupOnce == "function" && (t.setupOnce(), Wt.push(t.name)), t.setup && typeof t.setup == "function" && t.setup(e), typeof t.preprocessEvent == "function") {
|
|
401
401
|
let n = t.preprocessEvent.bind(t);
|
|
402
402
|
e.on("preprocessEvent", (t, r) => n(t, r, e));
|
|
403
403
|
}
|
|
@@ -405,77 +405,77 @@ function Xt(e, t, n) {
|
|
|
405
405
|
let n = t.processEvent.bind(t), r = Object.assign((t, r) => n(t, r, e), { id: t.name });
|
|
406
406
|
e.addEventProcessor(r);
|
|
407
407
|
}
|
|
408
|
-
|
|
408
|
+
M && O.log(`Integration installed: ${t.name}`);
|
|
409
409
|
}
|
|
410
|
-
function
|
|
410
|
+
function B(e) {
|
|
411
411
|
return e;
|
|
412
412
|
}
|
|
413
413
|
//#endregion
|
|
414
414
|
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/logs/envelope.js
|
|
415
|
-
function
|
|
415
|
+
function Xt(e) {
|
|
416
416
|
return [{
|
|
417
417
|
type: "log",
|
|
418
418
|
item_count: e.length,
|
|
419
419
|
content_type: "application/vnd.sentry.items.log+json"
|
|
420
420
|
}, { items: e }];
|
|
421
421
|
}
|
|
422
|
-
function
|
|
422
|
+
function Zt(e, t, n, r) {
|
|
423
423
|
let i = {};
|
|
424
424
|
return t != null && t.sdk && (i.sdk = {
|
|
425
425
|
name: t.sdk.name,
|
|
426
426
|
version: t.sdk.version
|
|
427
|
-
}), n && r && (i.dsn = T(r)),
|
|
427
|
+
}), n && r && (i.dsn = T(r)), z(i, [Xt(e)]);
|
|
428
428
|
}
|
|
429
429
|
//#endregion
|
|
430
430
|
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/logs/internal.js
|
|
431
|
-
function
|
|
431
|
+
function Qt(e, t) {
|
|
432
432
|
var n;
|
|
433
|
-
let r = (n = t == null ?
|
|
433
|
+
let r = (n = t == null ? $t(e) : t) == null ? [] : n;
|
|
434
434
|
if (r.length === 0) return;
|
|
435
|
-
let i = e.getOptions(), a =
|
|
436
|
-
|
|
435
|
+
let i = e.getOptions(), a = Zt(r, i._metadata, i.tunnel, e.getDsn());
|
|
436
|
+
en().set(e, []), e.emit("flushLogs"), e.sendEnvelope(a);
|
|
437
437
|
}
|
|
438
|
-
function
|
|
439
|
-
return
|
|
438
|
+
function $t(e) {
|
|
439
|
+
return en().get(e);
|
|
440
440
|
}
|
|
441
|
-
function
|
|
441
|
+
function en() {
|
|
442
442
|
return Pe("clientToLogBufferMap", () => /* @__PURE__ */ new WeakMap());
|
|
443
443
|
}
|
|
444
444
|
//#endregion
|
|
445
445
|
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/metrics/envelope.js
|
|
446
|
-
function
|
|
446
|
+
function tn(e) {
|
|
447
447
|
return [{
|
|
448
448
|
type: "trace_metric",
|
|
449
449
|
item_count: e.length,
|
|
450
450
|
content_type: "application/vnd.sentry.items.trace-metric+json"
|
|
451
451
|
}, { items: e }];
|
|
452
452
|
}
|
|
453
|
-
function
|
|
453
|
+
function nn(e, t, n, r) {
|
|
454
454
|
let i = {};
|
|
455
455
|
return t != null && t.sdk && (i.sdk = {
|
|
456
456
|
name: t.sdk.name,
|
|
457
457
|
version: t.sdk.version
|
|
458
|
-
}), n && r && (i.dsn = T(r)),
|
|
458
|
+
}), n && r && (i.dsn = T(r)), z(i, [tn(e)]);
|
|
459
459
|
}
|
|
460
460
|
//#endregion
|
|
461
461
|
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/metrics/internal.js
|
|
462
|
-
function
|
|
462
|
+
function rn(e, t) {
|
|
463
463
|
var n;
|
|
464
|
-
let r = (n = t == null ?
|
|
464
|
+
let r = (n = t == null ? an(e) : t) == null ? [] : n;
|
|
465
465
|
if (r.length === 0) return;
|
|
466
|
-
let i = e.getOptions(), a =
|
|
467
|
-
|
|
466
|
+
let i = e.getOptions(), a = nn(r, i._metadata, i.tunnel, e.getDsn());
|
|
467
|
+
on().set(e, []), e.emit("flushMetrics"), e.sendEnvelope(a);
|
|
468
468
|
}
|
|
469
|
-
function
|
|
470
|
-
return
|
|
469
|
+
function an(e) {
|
|
470
|
+
return on().get(e);
|
|
471
471
|
}
|
|
472
|
-
function
|
|
472
|
+
function on() {
|
|
473
473
|
return Pe("clientToMetricBufferMap", () => /* @__PURE__ */ new WeakMap());
|
|
474
474
|
}
|
|
475
475
|
//#endregion
|
|
476
476
|
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/utils/promisebuffer.js
|
|
477
|
-
var
|
|
478
|
-
function
|
|
477
|
+
var sn = Symbol.for("SentryBufferFullError");
|
|
478
|
+
function cn(e = 100) {
|
|
479
479
|
let t = /* @__PURE__ */ new Set();
|
|
480
480
|
function n() {
|
|
481
481
|
return t.size < e;
|
|
@@ -484,7 +484,7 @@ function ln(e = 100) {
|
|
|
484
484
|
t.delete(e);
|
|
485
485
|
}
|
|
486
486
|
function i(e) {
|
|
487
|
-
if (!n()) return
|
|
487
|
+
if (!n()) return qe(sn);
|
|
488
488
|
let i = e();
|
|
489
489
|
return t.add(i), i.then(() => r(i), () => r(i)), i;
|
|
490
490
|
}
|
|
@@ -505,50 +505,50 @@ function ln(e = 100) {
|
|
|
505
505
|
}
|
|
506
506
|
//#endregion
|
|
507
507
|
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/utils/ratelimit.js
|
|
508
|
-
var
|
|
509
|
-
function
|
|
508
|
+
var ln = 60 * 1e3;
|
|
509
|
+
function un(e, t = le()) {
|
|
510
510
|
let n = parseInt(`${e}`, 10);
|
|
511
511
|
if (!isNaN(n)) return n * 1e3;
|
|
512
512
|
let r = Date.parse(`${e}`);
|
|
513
|
-
return isNaN(r) ?
|
|
513
|
+
return isNaN(r) ? ln : r - t;
|
|
514
514
|
}
|
|
515
|
-
function
|
|
515
|
+
function dn(e, t) {
|
|
516
516
|
return e[t] || e.all || 0;
|
|
517
517
|
}
|
|
518
|
-
function
|
|
519
|
-
return
|
|
518
|
+
function fn(e, t, n = le()) {
|
|
519
|
+
return dn(e, t) > n;
|
|
520
520
|
}
|
|
521
|
-
function
|
|
521
|
+
function pn(e, { statusCode: t, headers: n }, r = le()) {
|
|
522
522
|
let i = { ...e }, a = n == null ? void 0 : n["x-sentry-rate-limits"], o = n == null ? void 0 : n["retry-after"];
|
|
523
523
|
if (a) for (let e of a.trim().split(",")) {
|
|
524
524
|
let [t, n, , , a] = e.split(":", 5), o = parseInt(t, 10), s = (isNaN(o) ? 60 : o) * 1e3;
|
|
525
525
|
if (!n) i.all = r + s;
|
|
526
526
|
else for (let e of n.split(";")) e === "metric_bucket" ? (!a || a.split(";").includes("custom")) && (i[e] = r + s) : i[e] = r + s;
|
|
527
527
|
}
|
|
528
|
-
else o ? i.all = r +
|
|
528
|
+
else o ? i.all = r + un(o, r) : t === 429 && (i.all = r + 60 * 1e3);
|
|
529
529
|
return i;
|
|
530
530
|
}
|
|
531
|
-
function
|
|
531
|
+
function mn(e, t, n = cn(e.bufferSize || 64)) {
|
|
532
532
|
let r = {}, i = (e) => n.drain(e);
|
|
533
533
|
function a(i) {
|
|
534
534
|
let a = [];
|
|
535
|
-
if (
|
|
536
|
-
let i =
|
|
537
|
-
|
|
535
|
+
if (Tt(i, (t, n) => {
|
|
536
|
+
let i = Mt(n);
|
|
537
|
+
fn(r, i) ? e.recordDroppedEvent("ratelimit_backoff", i) : a.push(t);
|
|
538
538
|
}), a.length === 0) return Promise.resolve({});
|
|
539
|
-
let o =
|
|
540
|
-
if (
|
|
541
|
-
|
|
539
|
+
let o = z(i[0], a), s = (t) => {
|
|
540
|
+
if (Et(o, ["client_report"])) {
|
|
541
|
+
M && O.warn(`Dropping client report. Will not send outcomes (reason: ${t}).`);
|
|
542
542
|
return;
|
|
543
543
|
}
|
|
544
|
-
|
|
545
|
-
e.recordDroppedEvent(t,
|
|
544
|
+
Tt(o, (n, r) => {
|
|
545
|
+
e.recordDroppedEvent(t, Mt(r));
|
|
546
546
|
});
|
|
547
547
|
};
|
|
548
|
-
return n.add(() => t({ body:
|
|
549
|
-
throw s("network_error"),
|
|
548
|
+
return n.add(() => t({ body: Ot(o) }).then((e) => (e.statusCode !== void 0 && (e.statusCode < 200 || e.statusCode >= 300) && M && O.warn(`Sentry responded with status code ${e.statusCode} to sent event.`), r = pn(r, e), e), (e) => {
|
|
549
|
+
throw s("network_error"), M && O.error("Encountered error running transport request:", e), e;
|
|
550
550
|
})).then((e) => e, (e) => {
|
|
551
|
-
if (e ===
|
|
551
|
+
if (e === sn) return M && O.error("Skipped sending event because buffer is full."), s("queue_overflow"), Promise.resolve({});
|
|
552
552
|
throw e;
|
|
553
553
|
});
|
|
554
554
|
}
|
|
@@ -559,16 +559,16 @@ function hn(e, t, n = ln(e.bufferSize || 64)) {
|
|
|
559
559
|
}
|
|
560
560
|
//#endregion
|
|
561
561
|
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/utils/clientreport.js
|
|
562
|
-
function
|
|
562
|
+
function hn(e, t, n) {
|
|
563
563
|
let r = [{ type: "client_report" }, {
|
|
564
|
-
timestamp: n ||
|
|
564
|
+
timestamp: n || se(),
|
|
565
565
|
discarded_events: e
|
|
566
566
|
}];
|
|
567
|
-
return
|
|
567
|
+
return z(t ? { dsn: t } : {}, [r]);
|
|
568
568
|
}
|
|
569
569
|
//#endregion
|
|
570
570
|
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/utils/eventUtils.js
|
|
571
|
-
function
|
|
571
|
+
function gn(e) {
|
|
572
572
|
let t = [];
|
|
573
573
|
e.message && t.push(e.message);
|
|
574
574
|
try {
|
|
@@ -579,7 +579,7 @@ function _n(e) {
|
|
|
579
579
|
}
|
|
580
580
|
//#endregion
|
|
581
581
|
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/utils/transactionEvent.js
|
|
582
|
-
function
|
|
582
|
+
function _n(e) {
|
|
583
583
|
var t, n, r;
|
|
584
584
|
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;
|
|
585
585
|
return {
|
|
@@ -594,12 +594,12 @@ function vn(e) {
|
|
|
594
594
|
trace_id: i == null ? "" : i,
|
|
595
595
|
origin: c,
|
|
596
596
|
profile_id: l == null ? void 0 : l[be],
|
|
597
|
-
exclusive_time: l == null ? void 0 : l[
|
|
597
|
+
exclusive_time: l == null ? void 0 : l[Ze],
|
|
598
598
|
measurements: e.measurements,
|
|
599
599
|
is_segment: !0
|
|
600
600
|
};
|
|
601
601
|
}
|
|
602
|
-
function
|
|
602
|
+
function vn(e) {
|
|
603
603
|
return {
|
|
604
604
|
type: "transaction",
|
|
605
605
|
timestamp: e.timestamp,
|
|
@@ -623,42 +623,42 @@ function yn(e) {
|
|
|
623
623
|
}
|
|
624
624
|
//#endregion
|
|
625
625
|
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/client.js
|
|
626
|
-
var
|
|
627
|
-
function
|
|
626
|
+
var yn = "Not capturing exception because it's already been captured.", bn = "Discarded session because of missing or non-string release", xn = Symbol.for("SentryInternalError"), Sn = Symbol.for("SentryDoNotSendEventError"), Cn = 5e3;
|
|
627
|
+
function V(e) {
|
|
628
628
|
return {
|
|
629
629
|
message: e,
|
|
630
|
-
[
|
|
630
|
+
[xn]: !0
|
|
631
631
|
};
|
|
632
632
|
}
|
|
633
|
-
function
|
|
633
|
+
function wn(e) {
|
|
634
634
|
return {
|
|
635
635
|
message: e,
|
|
636
|
-
[
|
|
636
|
+
[Sn]: !0
|
|
637
637
|
};
|
|
638
638
|
}
|
|
639
|
+
function Tn(e) {
|
|
640
|
+
return !!e && typeof e == "object" && xn in e;
|
|
641
|
+
}
|
|
639
642
|
function En(e) {
|
|
640
643
|
return !!e && typeof e == "object" && Sn in e;
|
|
641
644
|
}
|
|
642
|
-
function Dn(e) {
|
|
643
|
-
return !!e && typeof e == "object" && Cn in e;
|
|
644
|
-
}
|
|
645
|
-
function On(e, t, n, r, i) {
|
|
645
|
+
function Dn(e, t, n, r, i) {
|
|
646
646
|
let a = 0, o, s = !1;
|
|
647
647
|
e.on(n, () => {
|
|
648
648
|
a = 0, clearTimeout(o), s = !1;
|
|
649
649
|
}), e.on(t, (t) => {
|
|
650
650
|
a += r(t), a >= 8e5 ? i(e) : s || (s = !0, o = setTimeout(() => {
|
|
651
651
|
i(e);
|
|
652
|
-
},
|
|
652
|
+
}, Cn));
|
|
653
653
|
}), e.on("flush", () => {
|
|
654
654
|
i(e);
|
|
655
655
|
});
|
|
656
656
|
}
|
|
657
|
-
var
|
|
657
|
+
var On = class {
|
|
658
658
|
constructor(e) {
|
|
659
659
|
var t, n, r, i, a, o, s;
|
|
660
|
-
if (this._options = e, this._integrations = {}, this._numProcessing = 0, this._outcomes = {}, this._hooks = {}, this._eventProcessors = [], this._promiseBuffer =
|
|
661
|
-
let t =
|
|
660
|
+
if (this._options = e, this._integrations = {}, this._numProcessing = 0, this._outcomes = {}, this._hooks = {}, this._eventProcessors = [], this._promiseBuffer = cn((t = (n = e.transportOptions) == null ? void 0 : n.bufferSize) == null ? 64 : t), e.dsn ? this._dsn = Ye(e.dsn) : M && O.warn("No DSN provided, client will not send events."), this._dsn) {
|
|
661
|
+
let t = Ht(this._dsn, e.tunnel, e._metadata ? e._metadata.sdk : void 0);
|
|
662
662
|
this._transport = e.transport({
|
|
663
663
|
tunnel: this._options.tunnel,
|
|
664
664
|
recordDroppedEvent: this.recordDroppedEvent.bind(this),
|
|
@@ -666,11 +666,11 @@ var kn = class {
|
|
|
666
666
|
url: t
|
|
667
667
|
});
|
|
668
668
|
}
|
|
669
|
-
this._options.enableLogs = (r = this._options.enableLogs) == null ? (i = this._options._experiments) == null ? void 0 : i.enableLogs : r, this._options.enableLogs &&
|
|
669
|
+
this._options.enableLogs = (r = this._options.enableLogs) == null ? (i = this._options._experiments) == null ? void 0 : i.enableLogs : r, this._options.enableLogs && Dn(this, "afterCaptureLog", "flushLogs", Fn, Qt), ((a = (o = this._options.enableMetrics) == null ? (s = this._options._experiments) == null ? void 0 : s.enableMetrics : o) == null || a) && Dn(this, "afterCaptureMetric", "flushMetrics", Pn, rn);
|
|
670
670
|
}
|
|
671
671
|
captureException(e, t, n) {
|
|
672
|
-
let r =
|
|
673
|
-
if (
|
|
672
|
+
let r = w();
|
|
673
|
+
if (oe(e)) return M && O.log(yn), r;
|
|
674
674
|
let i = {
|
|
675
675
|
event_id: r,
|
|
676
676
|
...t
|
|
@@ -679,18 +679,18 @@ var kn = class {
|
|
|
679
679
|
}
|
|
680
680
|
captureMessage(e, t, n, r) {
|
|
681
681
|
let i = {
|
|
682
|
-
event_id:
|
|
682
|
+
event_id: w(),
|
|
683
683
|
...n
|
|
684
|
-
}, a = we(e) ? e : String(e), o =
|
|
684
|
+
}, a = we(e) ? e : String(e), o = j(e), s = o ? this.eventFromMessage(a, t, i) : this.eventFromException(e, i);
|
|
685
685
|
return this._process(() => s.then((e) => this._captureEvent(e, i, r)), o ? "unknown" : "error"), i.event_id;
|
|
686
686
|
}
|
|
687
687
|
captureEvent(e, t, n) {
|
|
688
|
-
let r =
|
|
689
|
-
if (t != null && t.originalException &&
|
|
688
|
+
let r = w();
|
|
689
|
+
if (t != null && t.originalException && oe(t.originalException)) return M && O.log(yn), r;
|
|
690
690
|
let i = {
|
|
691
691
|
event_id: r,
|
|
692
692
|
...t
|
|
693
|
-
}, a = e.sdkProcessingMetadata || {}, o = a.capturedSpanScope, s = a.capturedSpanIsolationScope, c =
|
|
693
|
+
}, a = e.sdkProcessingMetadata || {}, o = a.capturedSpanScope, s = a.capturedSpanIsolationScope, c = kn(e.type);
|
|
694
694
|
return this._process(() => this._captureEvent(e, i, o || n, s), c), i.event_id;
|
|
695
695
|
}
|
|
696
696
|
captureSession(e) {
|
|
@@ -733,12 +733,12 @@ var kn = class {
|
|
|
733
733
|
}
|
|
734
734
|
addIntegration(e) {
|
|
735
735
|
let t = this._integrations[e.name];
|
|
736
|
-
|
|
736
|
+
Yt(this, e, this._integrations), t || Jt(this, [e]);
|
|
737
737
|
}
|
|
738
738
|
sendEvent(e, t = {}) {
|
|
739
739
|
this.emit("beforeSendEvent", e, t);
|
|
740
|
-
let n =
|
|
741
|
-
for (let e of t.attachments || []) n =
|
|
740
|
+
let n = Lt(e, this._dsn, this._options._metadata, this._options.tunnel);
|
|
741
|
+
for (let e of t.attachments || []) n = wt(n, At(e));
|
|
742
742
|
this.sendEnvelope(n).then((t) => this.emit("afterSendEvent", e, t));
|
|
743
743
|
}
|
|
744
744
|
sendSession(e) {
|
|
@@ -746,25 +746,25 @@ var kn = class {
|
|
|
746
746
|
if ("aggregates" in e) {
|
|
747
747
|
let r = e.attrs || {};
|
|
748
748
|
if (!r.release && !t) {
|
|
749
|
-
|
|
749
|
+
M && O.warn(bn);
|
|
750
750
|
return;
|
|
751
751
|
}
|
|
752
752
|
r.release = r.release || t, r.environment = r.environment || n, e.attrs = r;
|
|
753
753
|
} else {
|
|
754
754
|
if (!e.release && !t) {
|
|
755
|
-
|
|
755
|
+
M && O.warn(bn);
|
|
756
756
|
return;
|
|
757
757
|
}
|
|
758
758
|
e.release = e.release || t, e.environment = e.environment || n;
|
|
759
759
|
}
|
|
760
760
|
this.emit("beforeSendSession", e);
|
|
761
|
-
let r =
|
|
761
|
+
let r = It(e, this._dsn, this._options._metadata, this._options.tunnel);
|
|
762
762
|
this.sendEnvelope(r);
|
|
763
763
|
}
|
|
764
764
|
recordDroppedEvent(e, t, n = 1) {
|
|
765
765
|
if (this._options.sendClientReports) {
|
|
766
766
|
let r = `${e}:${t}`;
|
|
767
|
-
|
|
767
|
+
M && O.log(`Recording outcome: "${r}"${n > 1 ? ` (${n} times)` : ""}`), this._outcomes[r] = (this._outcomes[r] || 0) + n;
|
|
768
768
|
}
|
|
769
769
|
}
|
|
770
770
|
on(e, t) {
|
|
@@ -781,13 +781,13 @@ var kn = class {
|
|
|
781
781
|
if (this.emit("beforeEnvelope", e), this._isEnabled() && this._transport) try {
|
|
782
782
|
return await this._transport.send(e);
|
|
783
783
|
} catch (e) {
|
|
784
|
-
return
|
|
784
|
+
return M && O.error("Error while sending envelope:", e), {};
|
|
785
785
|
}
|
|
786
|
-
return
|
|
786
|
+
return M && O.error("Transport disabled"), {};
|
|
787
787
|
}
|
|
788
788
|
_setupIntegrations() {
|
|
789
789
|
let { integrations: e } = this._options;
|
|
790
|
-
this._integrations =
|
|
790
|
+
this._integrations = qt(this, e), Jt(this, e);
|
|
791
791
|
}
|
|
792
792
|
_updateSessionFromEvent(e, t) {
|
|
793
793
|
var n;
|
|
@@ -822,7 +822,7 @@ var kn = class {
|
|
|
822
822
|
_prepareEvent(e, t, n, r) {
|
|
823
823
|
let i = this.getOptions(), a = Object.keys(this._integrations);
|
|
824
824
|
return !t.integrations && a != null && a.length && (t.integrations = a), this.emit("preprocessEvent", e, t), e.type || r.setLastEventId(e.event_id || t.event_id), je(i, e, t, n, this, r).then((e) => e === null ? e : (this.emit("postprocessEvent", e, t), e.contexts = {
|
|
825
|
-
trace:
|
|
825
|
+
trace: Xe(n),
|
|
826
826
|
...e.contexts
|
|
827
827
|
}, e.sdkProcessingMetadata = {
|
|
828
828
|
dynamicSamplingContext: Ne(this, n),
|
|
@@ -830,24 +830,24 @@ var kn = class {
|
|
|
830
830
|
}, e));
|
|
831
831
|
}
|
|
832
832
|
_captureEvent(e, t = {}, n = ue(), r = g()) {
|
|
833
|
-
return
|
|
834
|
-
|
|
833
|
+
return M && Mn(e) && O.log(`Captured error event \`${gn(e)[0] || "<unknown>"}\``), this._processEvent(e, t, n, r).then((e) => e.event_id, (e) => {
|
|
834
|
+
M && (En(e) ? O.log(e.message) : Tn(e) ? O.warn(e.message) : O.warn(e));
|
|
835
835
|
});
|
|
836
836
|
}
|
|
837
837
|
_processEvent(e, t, n, r) {
|
|
838
|
-
let i = this.getOptions(), { sampleRate: a } = i, o =
|
|
839
|
-
if (s && typeof l == "number" &&
|
|
840
|
-
let u =
|
|
838
|
+
let i = this.getOptions(), { sampleRate: a } = i, o = Nn(e), s = Mn(e), c = `before send for type \`${e.type || "error"}\``, l = a === void 0 ? void 0 : yt(a);
|
|
839
|
+
if (s && typeof l == "number" && Qe() > l) return this.recordDroppedEvent("sample_rate", "error"), qe(wn(`Discarding event because it's not included in the random sample (sampling rate = ${a})`));
|
|
840
|
+
let u = kn(e.type);
|
|
841
841
|
return this._prepareEvent(e, t, n, r).then((e) => {
|
|
842
|
-
if (e === null) throw this.recordDroppedEvent("event_processor", u),
|
|
843
|
-
return t.data && t.data.__sentry__ === !0 ? e : jn(
|
|
842
|
+
if (e === null) throw this.recordDroppedEvent("event_processor", u), wn("An event processor returned `null`, will not send event.");
|
|
843
|
+
return t.data && t.data.__sentry__ === !0 ? e : An(jn(this, i, e, t), c);
|
|
844
844
|
}).then((i) => {
|
|
845
845
|
if (i === null) {
|
|
846
846
|
if (this.recordDroppedEvent("before_send", u), o) {
|
|
847
847
|
let t = 1 + (e.spans || []).length;
|
|
848
848
|
this.recordDroppedEvent("before_send", "span", t);
|
|
849
849
|
}
|
|
850
|
-
throw
|
|
850
|
+
throw wn(`${c} returned \`null\`, will not send event.`);
|
|
851
851
|
}
|
|
852
852
|
let a = n.getSession() || r.getSession();
|
|
853
853
|
if (s && a && this._updateSessionFromEvent(a, i), o) {
|
|
@@ -861,18 +861,18 @@ var kn = class {
|
|
|
861
861
|
source: "custom"
|
|
862
862
|
}), this.sendEvent(i, t), i;
|
|
863
863
|
}).then(null, (e) => {
|
|
864
|
-
throw
|
|
864
|
+
throw En(e) || Tn(e) ? e : (this.captureException(e, {
|
|
865
865
|
mechanism: {
|
|
866
866
|
handled: !1,
|
|
867
867
|
type: "internal"
|
|
868
868
|
},
|
|
869
869
|
data: { __sentry__: !0 },
|
|
870
870
|
originalException: e
|
|
871
|
-
}),
|
|
871
|
+
}), V(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: ${e}`));
|
|
872
872
|
});
|
|
873
873
|
}
|
|
874
874
|
_process(e, t) {
|
|
875
|
-
this._numProcessing++, this._promiseBuffer.add(e).then((e) => (this._numProcessing--, e), (e) => (this._numProcessing--, e ===
|
|
875
|
+
this._numProcessing++, this._promiseBuffer.add(e).then((e) => (this._numProcessing--, e), (e) => (this._numProcessing--, e === sn && this.recordDroppedEvent("queue_overflow", t), e));
|
|
876
876
|
}
|
|
877
877
|
_clearOutcomes() {
|
|
878
878
|
let e = this._outcomes;
|
|
@@ -886,51 +886,51 @@ var kn = class {
|
|
|
886
886
|
});
|
|
887
887
|
}
|
|
888
888
|
_flushOutcomes() {
|
|
889
|
-
|
|
889
|
+
M && O.log("Flushing outcomes...");
|
|
890
890
|
let e = this._clearOutcomes();
|
|
891
891
|
if (e.length === 0) {
|
|
892
|
-
|
|
892
|
+
M && O.log("No outcomes to send");
|
|
893
893
|
return;
|
|
894
894
|
}
|
|
895
895
|
if (!this._dsn) {
|
|
896
|
-
|
|
896
|
+
M && O.log("No dsn provided, will not send outcomes");
|
|
897
897
|
return;
|
|
898
898
|
}
|
|
899
|
-
|
|
900
|
-
let t =
|
|
899
|
+
M && O.log("Sending outcomes:", e);
|
|
900
|
+
let t = hn(e, this._options.tunnel && T(this._dsn));
|
|
901
901
|
this.sendEnvelope(t);
|
|
902
902
|
}
|
|
903
903
|
};
|
|
904
|
-
function
|
|
904
|
+
function kn(e) {
|
|
905
905
|
return e === "replay_event" ? "replay" : e || "error";
|
|
906
906
|
}
|
|
907
|
-
function
|
|
907
|
+
function An(e, t) {
|
|
908
908
|
let n = `${t} must return \`null\` or a valid event.`;
|
|
909
909
|
if (ye(e)) return e.then((e) => {
|
|
910
|
-
if (!
|
|
910
|
+
if (!Ke(e) && e !== null) throw V(n);
|
|
911
911
|
return e;
|
|
912
912
|
}, (e) => {
|
|
913
|
-
throw
|
|
913
|
+
throw V(`${t} rejected with ${e}`);
|
|
914
914
|
});
|
|
915
|
-
if (!
|
|
915
|
+
if (!Ke(e) && e !== null) throw V(n);
|
|
916
916
|
return e;
|
|
917
917
|
}
|
|
918
|
-
function
|
|
918
|
+
function jn(e, t, n, r) {
|
|
919
919
|
let { beforeSend: i, beforeSendTransaction: a, beforeSendSpan: o, ignoreSpans: s } = t, c = n;
|
|
920
|
-
if (
|
|
921
|
-
if (
|
|
920
|
+
if (Mn(c) && i) return i(c, r);
|
|
921
|
+
if (Nn(c)) {
|
|
922
922
|
if (o || s) {
|
|
923
|
-
let t =
|
|
924
|
-
if (s != null && s.length &&
|
|
923
|
+
let t = _n(c);
|
|
924
|
+
if (s != null && s.length && xt(t, s)) return null;
|
|
925
925
|
if (o) {
|
|
926
926
|
let e = o(t);
|
|
927
|
-
e ? c = v(n,
|
|
927
|
+
e ? c = v(n, vn(e)) : Ee();
|
|
928
928
|
}
|
|
929
929
|
if (c.spans) {
|
|
930
930
|
let t = [], n = c.spans;
|
|
931
931
|
for (let e of n) {
|
|
932
|
-
if (s != null && s.length &&
|
|
933
|
-
|
|
932
|
+
if (s != null && s.length && xt(e, s)) {
|
|
933
|
+
St(n, e);
|
|
934
934
|
continue;
|
|
935
935
|
}
|
|
936
936
|
if (o) {
|
|
@@ -955,53 +955,53 @@ function Mn(e, t, n, r) {
|
|
|
955
955
|
}
|
|
956
956
|
return c;
|
|
957
957
|
}
|
|
958
|
-
function
|
|
958
|
+
function Mn(e) {
|
|
959
959
|
return e.type === void 0;
|
|
960
960
|
}
|
|
961
|
-
function
|
|
961
|
+
function Nn(e) {
|
|
962
962
|
return e.type === "transaction";
|
|
963
963
|
}
|
|
964
|
-
function
|
|
964
|
+
function Pn(e) {
|
|
965
965
|
let t = 0;
|
|
966
|
-
return e.name && (t += e.name.length * 2), t += 8, t +
|
|
966
|
+
return e.name && (t += e.name.length * 2), t += 8, t + In(e.attributes);
|
|
967
967
|
}
|
|
968
|
-
function
|
|
968
|
+
function Fn(e) {
|
|
969
969
|
let t = 0;
|
|
970
|
-
return e.message && (t += e.message.length * 2), t +
|
|
970
|
+
return e.message && (t += e.message.length * 2), t + In(e.attributes);
|
|
971
971
|
}
|
|
972
|
-
function
|
|
972
|
+
function In(e) {
|
|
973
973
|
if (!e) return 0;
|
|
974
974
|
let t = 0;
|
|
975
975
|
return Object.values(e).forEach((e) => {
|
|
976
|
-
Array.isArray(e) ? t += e.length *
|
|
976
|
+
Array.isArray(e) ? t += e.length * Ln(e[0]) : j(e) ? t += Ln(e) : t += 100;
|
|
977
977
|
}), t;
|
|
978
978
|
}
|
|
979
|
-
function
|
|
979
|
+
function Ln(e) {
|
|
980
980
|
return typeof e == "string" ? e.length * 2 : typeof e == "number" ? 8 : typeof e == "boolean" ? 4 : 0;
|
|
981
981
|
}
|
|
982
982
|
//#endregion
|
|
983
983
|
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/utils/eventbuilder.js
|
|
984
|
-
function
|
|
984
|
+
function Rn(e) {
|
|
985
985
|
return he(e) && "__sentry_fetch_url_host__" in e && typeof e.__sentry_fetch_url_host__ == "string";
|
|
986
986
|
}
|
|
987
|
-
function
|
|
988
|
-
return
|
|
987
|
+
function zn(e) {
|
|
988
|
+
return Rn(e) ? `${e.message} (${e.__sentry_fetch_url_host__})` : e.message;
|
|
989
989
|
}
|
|
990
990
|
//#endregion
|
|
991
991
|
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/sdk.js
|
|
992
|
-
function
|
|
993
|
-
t.debug === !0 && (
|
|
992
|
+
function Bn(e, t) {
|
|
993
|
+
t.debug === !0 && (M ? O.enable() : Ce(() => {
|
|
994
994
|
console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.");
|
|
995
995
|
})), ue().update(t.initialScope);
|
|
996
996
|
let n = new e(t);
|
|
997
|
-
return
|
|
997
|
+
return Vn(n), n.init(), n;
|
|
998
998
|
}
|
|
999
|
-
function
|
|
999
|
+
function Vn(e) {
|
|
1000
1000
|
ue().setClient(e);
|
|
1001
1001
|
}
|
|
1002
1002
|
//#endregion
|
|
1003
1003
|
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/utils/url.js
|
|
1004
|
-
function
|
|
1004
|
+
function Hn(e) {
|
|
1005
1005
|
if (!e) return {};
|
|
1006
1006
|
let t = e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);
|
|
1007
1007
|
if (!t) return {};
|
|
@@ -1017,7 +1017,7 @@ function Un(e) {
|
|
|
1017
1017
|
}
|
|
1018
1018
|
//#endregion
|
|
1019
1019
|
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/utils/ipAddress.js
|
|
1020
|
-
function
|
|
1020
|
+
function Un(e) {
|
|
1021
1021
|
if ("aggregates" in e) {
|
|
1022
1022
|
var t;
|
|
1023
1023
|
((t = e.attrs) == null ? void 0 : t.ip_address) === void 0 && (e.attrs = {
|
|
@@ -1028,7 +1028,7 @@ function Wn(e) {
|
|
|
1028
1028
|
}
|
|
1029
1029
|
//#endregion
|
|
1030
1030
|
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/utils/sdkMetadata.js
|
|
1031
|
-
function
|
|
1031
|
+
function Wn(e, t, n = [t], r = "npm") {
|
|
1032
1032
|
let i = e._metadata || {};
|
|
1033
1033
|
i.sdk || (i.sdk = {
|
|
1034
1034
|
name: `sentry.javascript.${t}`,
|
|
@@ -1041,35 +1041,35 @@ function Gn(e, t, n = [t], r = "npm") {
|
|
|
1041
1041
|
}
|
|
1042
1042
|
//#endregion
|
|
1043
1043
|
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/breadcrumbs.js
|
|
1044
|
-
var
|
|
1045
|
-
function
|
|
1046
|
-
let n =
|
|
1044
|
+
var Gn = 100;
|
|
1045
|
+
function H(e, t) {
|
|
1046
|
+
let n = N(), r = g();
|
|
1047
1047
|
if (!n) return;
|
|
1048
|
-
let { beforeBreadcrumb: i = null, maxBreadcrumbs: a =
|
|
1048
|
+
let { beforeBreadcrumb: i = null, maxBreadcrumbs: a = Gn } = n.getOptions();
|
|
1049
1049
|
if (a <= 0) return;
|
|
1050
1050
|
let o = {
|
|
1051
|
-
timestamp:
|
|
1051
|
+
timestamp: se(),
|
|
1052
1052
|
...e
|
|
1053
1053
|
}, s = i ? Ce(() => i(o, t)) : o;
|
|
1054
1054
|
s !== null && (n.emit && n.emit("beforeAddBreadcrumb", s, t), r.addBreadcrumb(s, a));
|
|
1055
1055
|
}
|
|
1056
1056
|
//#endregion
|
|
1057
1057
|
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/integrations/functiontostring.js
|
|
1058
|
-
var
|
|
1059
|
-
name:
|
|
1058
|
+
var Kn, qn = "FunctionToString", Jn = /* @__PURE__ */ new WeakMap(), Yn = B((() => ({
|
|
1059
|
+
name: qn,
|
|
1060
1060
|
setupOnce() {
|
|
1061
|
-
|
|
1061
|
+
Kn = Function.prototype.toString;
|
|
1062
1062
|
try {
|
|
1063
1063
|
Function.prototype.toString = function(...e) {
|
|
1064
|
-
let t = fe(this), n =
|
|
1065
|
-
return
|
|
1064
|
+
let t = fe(this), n = Jn.has(N()) && t !== void 0 ? t : this;
|
|
1065
|
+
return Kn.apply(n, e);
|
|
1066
1066
|
};
|
|
1067
1067
|
} catch {}
|
|
1068
1068
|
},
|
|
1069
1069
|
setup(e) {
|
|
1070
|
-
|
|
1070
|
+
Jn.set(e, !0);
|
|
1071
1071
|
}
|
|
1072
|
-
})),
|
|
1072
|
+
}))), Xn = [
|
|
1073
1073
|
/^Script error\.?$/,
|
|
1074
1074
|
/^Javascript error: Script error\.? on line 0$/,
|
|
1075
1075
|
/^ResizeObserver loop completed with undelivered notifications.$/,
|
|
@@ -1081,108 +1081,108 @@ var qn, Jn = "FunctionToString", Yn = /* @__PURE__ */ new WeakMap(), Xn = z(() =
|
|
|
1081
1081
|
"Can't find variable: _AutofillCallbackHandler",
|
|
1082
1082
|
/^Non-Error promise rejection captured with value: Object Not Found Matching Id:\d+, MethodName:simulateEvent, ParamCount:\d+$/,
|
|
1083
1083
|
/^Java exception was raised during method invocation$/
|
|
1084
|
-
],
|
|
1084
|
+
], Zn = "EventFilters", Qn = B((e = {}) => {
|
|
1085
1085
|
let t;
|
|
1086
1086
|
return {
|
|
1087
|
-
name:
|
|
1087
|
+
name: Zn,
|
|
1088
1088
|
setup(n) {
|
|
1089
|
-
t =
|
|
1089
|
+
t = er(e, n.getOptions());
|
|
1090
1090
|
},
|
|
1091
1091
|
processEvent(n, r, i) {
|
|
1092
|
-
return t || (t =
|
|
1092
|
+
return t || (t = er(e, i.getOptions())), tr(n, t) ? null : n;
|
|
1093
1093
|
}
|
|
1094
1094
|
};
|
|
1095
|
-
}),
|
|
1096
|
-
|
|
1095
|
+
}), $n = B(((e = {}) => ({
|
|
1096
|
+
...Qn(e),
|
|
1097
1097
|
name: "InboundFilters"
|
|
1098
|
-
}));
|
|
1099
|
-
function
|
|
1098
|
+
})));
|
|
1099
|
+
function er(e = {}, t = {}) {
|
|
1100
1100
|
return {
|
|
1101
1101
|
allowUrls: [...e.allowUrls || [], ...t.allowUrls || []],
|
|
1102
1102
|
denyUrls: [...e.denyUrls || [], ...t.denyUrls || []],
|
|
1103
1103
|
ignoreErrors: [
|
|
1104
1104
|
...e.ignoreErrors || [],
|
|
1105
1105
|
...t.ignoreErrors || [],
|
|
1106
|
-
...e.disableErrorDefaults ? [] :
|
|
1106
|
+
...e.disableErrorDefaults ? [] : Xn
|
|
1107
1107
|
],
|
|
1108
1108
|
ignoreTransactions: [...e.ignoreTransactions || [], ...t.ignoreTransactions || []]
|
|
1109
1109
|
};
|
|
1110
1110
|
}
|
|
1111
|
-
function
|
|
1111
|
+
function tr(e, t) {
|
|
1112
1112
|
if (!e.type) {
|
|
1113
|
-
if (
|
|
1114
|
-
if (
|
|
1115
|
-
if (
|
|
1116
|
-
if (!
|
|
1117
|
-
} else if (e.type === "transaction" &&
|
|
1113
|
+
if (nr(e, t.ignoreErrors)) return M && O.warn(`Event dropped due to being matched by \`ignoreErrors\` option.\nEvent: ${C(e)}`), !0;
|
|
1114
|
+
if (sr(e)) return M && O.warn(`Event dropped due to not having an error message, error type or stacktrace.\nEvent: ${C(e)}`), !0;
|
|
1115
|
+
if (ir(e, t.denyUrls)) return M && O.warn(`Event dropped due to being matched by \`denyUrls\` option.\nEvent: ${C(e)}.\nUrl: ${U(e)}`), !0;
|
|
1116
|
+
if (!ar(e, t.allowUrls)) return M && O.warn(`Event dropped due to not being matched by \`allowUrls\` option.\nEvent: ${C(e)}.\nUrl: ${U(e)}`), !0;
|
|
1117
|
+
} else if (e.type === "transaction" && rr(e, t.ignoreTransactions)) return M && O.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.\nEvent: ${C(e)}`), !0;
|
|
1118
1118
|
return !1;
|
|
1119
1119
|
}
|
|
1120
|
-
function
|
|
1121
|
-
return t != null && t.length ?
|
|
1120
|
+
function nr(e, t) {
|
|
1121
|
+
return t != null && t.length ? gn(e).some((e) => S(e, t)) : !1;
|
|
1122
1122
|
}
|
|
1123
|
-
function
|
|
1123
|
+
function rr(e, t) {
|
|
1124
1124
|
if (!(t != null && t.length)) return !1;
|
|
1125
1125
|
let n = e.transaction;
|
|
1126
|
-
return n ?
|
|
1126
|
+
return n ? S(n, t) : !1;
|
|
1127
1127
|
}
|
|
1128
|
-
function
|
|
1128
|
+
function ir(e, t) {
|
|
1129
1129
|
if (!(t != null && t.length)) return !1;
|
|
1130
|
-
let n =
|
|
1131
|
-
return n ?
|
|
1130
|
+
let n = U(e);
|
|
1131
|
+
return n ? S(n, t) : !1;
|
|
1132
1132
|
}
|
|
1133
|
-
function
|
|
1133
|
+
function ar(e, t) {
|
|
1134
1134
|
if (!(t != null && t.length)) return !0;
|
|
1135
|
-
let n =
|
|
1136
|
-
return n ?
|
|
1135
|
+
let n = U(e);
|
|
1136
|
+
return n ? S(n, t) : !0;
|
|
1137
1137
|
}
|
|
1138
|
-
function
|
|
1138
|
+
function or(e = []) {
|
|
1139
1139
|
for (let t = e.length - 1; t >= 0; t--) {
|
|
1140
1140
|
let n = e[t];
|
|
1141
1141
|
if (n && n.filename !== "<anonymous>" && n.filename !== "[native code]") return n.filename || null;
|
|
1142
1142
|
}
|
|
1143
1143
|
return null;
|
|
1144
1144
|
}
|
|
1145
|
-
function
|
|
1145
|
+
function U(e) {
|
|
1146
1146
|
try {
|
|
1147
1147
|
var t, n, r;
|
|
1148
1148
|
let i = [...(t = (n = e.exception) == null ? void 0 : n.values) == null ? [] : t].reverse().find((e) => {
|
|
1149
1149
|
var t, n;
|
|
1150
1150
|
return ((t = e.mechanism) == null ? void 0 : t.parent_id) === void 0 && ((n = e.stacktrace) == null || (n = n.frames) == null ? void 0 : n.length);
|
|
1151
1151
|
}), a = i == null || (r = i.stacktrace) == null ? void 0 : r.frames;
|
|
1152
|
-
return a ?
|
|
1152
|
+
return a ? or(a) : null;
|
|
1153
1153
|
} catch {
|
|
1154
|
-
return
|
|
1154
|
+
return M && O.error(`Cannot extract url for event ${C(e)}`), null;
|
|
1155
1155
|
}
|
|
1156
1156
|
}
|
|
1157
|
-
function
|
|
1157
|
+
function sr(e) {
|
|
1158
1158
|
var t;
|
|
1159
1159
|
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;
|
|
1160
1160
|
}
|
|
1161
1161
|
//#endregion
|
|
1162
1162
|
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/utils/aggregate-errors.js
|
|
1163
|
-
function
|
|
1163
|
+
function cr(e, t, n, r, i, a) {
|
|
1164
1164
|
var o;
|
|
1165
1165
|
if (!((o = i.exception) != null && o.values) || !a || !p(a.originalException, Error)) return;
|
|
1166
1166
|
let s = i.exception.values.length > 0 ? i.exception.values[i.exception.values.length - 1] : void 0;
|
|
1167
|
-
s && (i.exception.values =
|
|
1167
|
+
s && (i.exception.values = lr(e, t, r, a.originalException, n, i.exception.values, s, 0));
|
|
1168
1168
|
}
|
|
1169
|
-
function
|
|
1169
|
+
function lr(e, t, n, r, i, a, o, s) {
|
|
1170
1170
|
if (a.length >= n + 1) return a;
|
|
1171
1171
|
let c = [...a];
|
|
1172
1172
|
if (p(r[i], Error)) {
|
|
1173
|
-
|
|
1173
|
+
ur(o, s);
|
|
1174
1174
|
let a = e(t, r[i]), l = c.length;
|
|
1175
|
-
|
|
1175
|
+
dr(a, i, l, s), c = lr(e, t, n, r[i], i, [a, ...c], a, l);
|
|
1176
1176
|
}
|
|
1177
1177
|
return Array.isArray(r.errors) && r.errors.forEach((r, a) => {
|
|
1178
1178
|
if (p(r, Error)) {
|
|
1179
|
-
|
|
1179
|
+
ur(o, s);
|
|
1180
1180
|
let l = e(t, r), u = c.length;
|
|
1181
|
-
|
|
1181
|
+
dr(l, `errors[${a}]`, u, s), c = lr(e, t, n, r, i, [l, ...c], l, u);
|
|
1182
1182
|
}
|
|
1183
1183
|
}), c;
|
|
1184
1184
|
}
|
|
1185
|
-
function
|
|
1185
|
+
function ur(e, t) {
|
|
1186
1186
|
e.mechanism = {
|
|
1187
1187
|
handled: !0,
|
|
1188
1188
|
type: "auto.core.linked_errors",
|
|
@@ -1191,7 +1191,7 @@ function dr(e, t) {
|
|
|
1191
1191
|
exception_id: t
|
|
1192
1192
|
};
|
|
1193
1193
|
}
|
|
1194
|
-
function
|
|
1194
|
+
function dr(e, t, n, r) {
|
|
1195
1195
|
e.mechanism = {
|
|
1196
1196
|
handled: !0,
|
|
1197
1197
|
...e.mechanism,
|
|
@@ -1203,19 +1203,19 @@ function fr(e, t, n, r) {
|
|
|
1203
1203
|
}
|
|
1204
1204
|
//#endregion
|
|
1205
1205
|
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/instrument/console.js
|
|
1206
|
-
function
|
|
1206
|
+
function fr(e) {
|
|
1207
1207
|
let t = "console";
|
|
1208
|
-
|
|
1208
|
+
I(t, e), L(t, pr);
|
|
1209
1209
|
}
|
|
1210
|
-
function
|
|
1211
|
-
"console" in E &&
|
|
1210
|
+
function pr() {
|
|
1211
|
+
"console" in E && Je.forEach(function(e) {
|
|
1212
1212
|
e in E.console && b(E.console, e, function(t) {
|
|
1213
|
-
return
|
|
1214
|
-
|
|
1213
|
+
return ze[e] = t, function(...t) {
|
|
1214
|
+
R("console", {
|
|
1215
1215
|
args: t,
|
|
1216
1216
|
level: e
|
|
1217
1217
|
});
|
|
1218
|
-
let n =
|
|
1218
|
+
let n = ze[e];
|
|
1219
1219
|
n == null || n.apply(E.console, t);
|
|
1220
1220
|
};
|
|
1221
1221
|
});
|
|
@@ -1223,7 +1223,7 @@ function mr() {
|
|
|
1223
1223
|
}
|
|
1224
1224
|
//#endregion
|
|
1225
1225
|
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/utils/severity.js
|
|
1226
|
-
function
|
|
1226
|
+
function mr(e) {
|
|
1227
1227
|
return e === "warn" ? "warning" : [
|
|
1228
1228
|
"fatal",
|
|
1229
1229
|
"error",
|
|
@@ -1235,32 +1235,32 @@ function hr(e) {
|
|
|
1235
1235
|
}
|
|
1236
1236
|
//#endregion
|
|
1237
1237
|
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/integrations/dedupe.js
|
|
1238
|
-
var
|
|
1238
|
+
var hr = "Dedupe", gr = B((() => {
|
|
1239
1239
|
let e;
|
|
1240
1240
|
return {
|
|
1241
|
-
name:
|
|
1241
|
+
name: hr,
|
|
1242
1242
|
processEvent(t) {
|
|
1243
1243
|
if (t.type) return t;
|
|
1244
1244
|
try {
|
|
1245
|
-
if (
|
|
1245
|
+
if (_r(t, e)) return M && O.warn("Event dropped due to being a duplicate of previously captured event."), null;
|
|
1246
1246
|
} catch {}
|
|
1247
1247
|
return e = t;
|
|
1248
1248
|
}
|
|
1249
1249
|
};
|
|
1250
|
-
});
|
|
1250
|
+
}));
|
|
1251
|
+
function _r(e, t) {
|
|
1252
|
+
return t ? !!(vr(e, t) || yr(e, t)) : !1;
|
|
1253
|
+
}
|
|
1251
1254
|
function vr(e, t) {
|
|
1252
|
-
|
|
1255
|
+
let n = e.message, r = t.message;
|
|
1256
|
+
return !(!n && !r || n && !r || !n && r || n !== r || !xr(e, t) || !br(e, t));
|
|
1253
1257
|
}
|
|
1254
1258
|
function yr(e, t) {
|
|
1255
|
-
let n =
|
|
1256
|
-
return !(!n
|
|
1259
|
+
let n = Sr(t), r = Sr(e);
|
|
1260
|
+
return !(!n || !r || n.type !== r.type || n.value !== r.value || !xr(e, t) || !br(e, t));
|
|
1257
1261
|
}
|
|
1258
1262
|
function br(e, t) {
|
|
1259
|
-
let n =
|
|
1260
|
-
return !(!n || !r || n.type !== r.type || n.value !== r.value || !Sr(e, t) || !xr(e, t));
|
|
1261
|
-
}
|
|
1262
|
-
function xr(e, t) {
|
|
1263
|
-
let n = Ge(e), r = Ge(t);
|
|
1263
|
+
let n = We(e), r = We(t);
|
|
1264
1264
|
if (!n && !r) return !0;
|
|
1265
1265
|
if (n && !r || !n && r || (n = n, r = r, r.length !== n.length)) return !1;
|
|
1266
1266
|
for (let e = 0; e < r.length; e++) {
|
|
@@ -1269,7 +1269,7 @@ function xr(e, t) {
|
|
|
1269
1269
|
}
|
|
1270
1270
|
return !0;
|
|
1271
1271
|
}
|
|
1272
|
-
function
|
|
1272
|
+
function xr(e, t) {
|
|
1273
1273
|
let n = e.fingerprint, r = t.fingerprint;
|
|
1274
1274
|
if (!n && !r) return !0;
|
|
1275
1275
|
if (n && !r || !n && r) return !1;
|
|
@@ -1280,13 +1280,13 @@ function Sr(e, t) {
|
|
|
1280
1280
|
return !1;
|
|
1281
1281
|
}
|
|
1282
1282
|
}
|
|
1283
|
-
function
|
|
1283
|
+
function Sr(e) {
|
|
1284
1284
|
var t;
|
|
1285
1285
|
return (t = e.exception) == null || (t = t.values) == null ? void 0 : t[0];
|
|
1286
1286
|
}
|
|
1287
1287
|
//#endregion
|
|
1288
1288
|
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/utils/breadcrumb-log-level.js
|
|
1289
|
-
function
|
|
1289
|
+
function Cr(e) {
|
|
1290
1290
|
if (e !== void 0) {
|
|
1291
1291
|
if (e >= 400 && e < 500) return "warning";
|
|
1292
1292
|
if (e >= 500) return "error";
|
|
@@ -1294,45 +1294,45 @@ function wr(e) {
|
|
|
1294
1294
|
}
|
|
1295
1295
|
//#endregion
|
|
1296
1296
|
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/utils/supports.js
|
|
1297
|
-
var
|
|
1298
|
-
function
|
|
1299
|
-
return "history" in
|
|
1297
|
+
var W = E;
|
|
1298
|
+
function wr() {
|
|
1299
|
+
return "history" in W && !!W.history;
|
|
1300
1300
|
}
|
|
1301
|
-
function
|
|
1302
|
-
if (!("fetch" in
|
|
1301
|
+
function Tr() {
|
|
1302
|
+
if (!("fetch" in W)) return !1;
|
|
1303
1303
|
try {
|
|
1304
1304
|
return new Headers(), new Request("data:,"), new Response(), !0;
|
|
1305
1305
|
} catch {
|
|
1306
1306
|
return !1;
|
|
1307
1307
|
}
|
|
1308
1308
|
}
|
|
1309
|
-
function
|
|
1309
|
+
function Er(e) {
|
|
1310
1310
|
return e && /^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString());
|
|
1311
1311
|
}
|
|
1312
|
-
function
|
|
1312
|
+
function Dr() {
|
|
1313
1313
|
if (typeof EdgeRuntime == "string") return !0;
|
|
1314
|
-
if (!
|
|
1315
|
-
if (
|
|
1316
|
-
let e = !1, t =
|
|
1314
|
+
if (!Tr()) return !1;
|
|
1315
|
+
if (Er(W.fetch)) return !0;
|
|
1316
|
+
let e = !1, t = W.document;
|
|
1317
1317
|
if (t && typeof t.createElement == "function") try {
|
|
1318
1318
|
var n;
|
|
1319
1319
|
let r = t.createElement("iframe");
|
|
1320
|
-
r.hidden = !0, t.head.appendChild(r), (n = r.contentWindow) != null && n.fetch && (e =
|
|
1320
|
+
r.hidden = !0, t.head.appendChild(r), (n = r.contentWindow) != null && n.fetch && (e = Er(r.contentWindow.fetch)), t.head.removeChild(r);
|
|
1321
1321
|
} catch (e) {
|
|
1322
|
-
|
|
1322
|
+
M && O.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ", e);
|
|
1323
1323
|
}
|
|
1324
1324
|
return e;
|
|
1325
1325
|
}
|
|
1326
1326
|
//#endregion
|
|
1327
1327
|
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/instrument/fetch.js
|
|
1328
|
-
function
|
|
1328
|
+
function Or(e, t) {
|
|
1329
1329
|
let n = "fetch";
|
|
1330
|
-
|
|
1330
|
+
I(n, e), L(n, () => kr(void 0, t));
|
|
1331
1331
|
}
|
|
1332
|
-
function
|
|
1333
|
-
t && !
|
|
1332
|
+
function kr(e, t = !1) {
|
|
1333
|
+
t && !Dr() || b(E, "fetch", function(t) {
|
|
1334
1334
|
return function(...n) {
|
|
1335
|
-
let r = /* @__PURE__ */ Error(), { method: i, url: a } =
|
|
1335
|
+
let r = /* @__PURE__ */ Error(), { method: i, url: a } = jr(n), o = {
|
|
1336
1336
|
args: n,
|
|
1337
1337
|
fetchData: {
|
|
1338
1338
|
method: i,
|
|
@@ -1340,20 +1340,20 @@ function Ar(e, t = !1) {
|
|
|
1340
1340
|
},
|
|
1341
1341
|
startTimestamp: A() * 1e3,
|
|
1342
1342
|
virtualError: r,
|
|
1343
|
-
headers:
|
|
1343
|
+
headers: Mr(n)
|
|
1344
1344
|
};
|
|
1345
|
-
return e ||
|
|
1345
|
+
return e || R("fetch", { ...o }), t.apply(E, n).then(async (t) => (e ? e(t) : R("fetch", {
|
|
1346
1346
|
...o,
|
|
1347
1347
|
endTimestamp: A() * 1e3,
|
|
1348
1348
|
response: t
|
|
1349
1349
|
}), t), (e) => {
|
|
1350
1350
|
var t;
|
|
1351
|
-
|
|
1351
|
+
R("fetch", {
|
|
1352
1352
|
...o,
|
|
1353
1353
|
endTimestamp: A() * 1e3,
|
|
1354
1354
|
error: e
|
|
1355
1355
|
}), he(e) && e.stack === void 0 && (e.stack = r.stack, h(e, "framesToPop", 1));
|
|
1356
|
-
let n =
|
|
1356
|
+
let n = N(), i = (t = n == null ? void 0 : n.getOptions().enhanceFetchErrorMessages) == null ? "always" : t;
|
|
1357
1357
|
if (i !== !1 && e instanceof TypeError && (e.message === "Failed to fetch" || e.message === "Load failed" || e.message === "NetworkError when attempting to fetch resource.")) try {
|
|
1358
1358
|
let t = new URL(o.fetchData.url).host;
|
|
1359
1359
|
i === "always" ? e.message = `${e.message} (${t})` : h(e, "__sentry_fetch_url_host__", t);
|
|
@@ -1363,13 +1363,13 @@ function Ar(e, t = !1) {
|
|
|
1363
1363
|
};
|
|
1364
1364
|
});
|
|
1365
1365
|
}
|
|
1366
|
-
function
|
|
1366
|
+
function G(e, t) {
|
|
1367
1367
|
return !!e && typeof e == "object" && !!e[t];
|
|
1368
1368
|
}
|
|
1369
|
-
function
|
|
1370
|
-
return typeof e == "string" ? e : e ?
|
|
1369
|
+
function Ar(e) {
|
|
1370
|
+
return typeof e == "string" ? e : e ? G(e, "url") ? e.url : e.toString ? e.toString() : "" : "";
|
|
1371
1371
|
}
|
|
1372
|
-
function
|
|
1372
|
+
function jr(e) {
|
|
1373
1373
|
if (e.length === 0) return {
|
|
1374
1374
|
method: "GET",
|
|
1375
1375
|
url: ""
|
|
@@ -1377,40 +1377,40 @@ function Mr(e) {
|
|
|
1377
1377
|
if (e.length === 2) {
|
|
1378
1378
|
let [t, n] = e;
|
|
1379
1379
|
return {
|
|
1380
|
-
url:
|
|
1381
|
-
method:
|
|
1380
|
+
url: Ar(t),
|
|
1381
|
+
method: G(n, "method") ? String(n.method).toUpperCase() : He(t) && G(t, "method") ? String(t.method).toUpperCase() : "GET"
|
|
1382
1382
|
};
|
|
1383
1383
|
}
|
|
1384
1384
|
let t = e[0];
|
|
1385
1385
|
return {
|
|
1386
|
-
url:
|
|
1387
|
-
method:
|
|
1386
|
+
url: Ar(t),
|
|
1387
|
+
method: G(t, "method") ? String(t.method).toUpperCase() : "GET"
|
|
1388
1388
|
};
|
|
1389
1389
|
}
|
|
1390
|
-
function
|
|
1390
|
+
function Mr(e) {
|
|
1391
1391
|
let [t, n] = e;
|
|
1392
1392
|
try {
|
|
1393
1393
|
if (typeof n == "object" && n && "headers" in n && n.headers) return new Headers(n.headers);
|
|
1394
|
-
if (
|
|
1394
|
+
if (He(t)) return new Headers(t.headers);
|
|
1395
1395
|
} catch {}
|
|
1396
1396
|
}
|
|
1397
1397
|
//#endregion
|
|
1398
1398
|
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/utils/env.js
|
|
1399
|
-
function
|
|
1399
|
+
function Nr() {
|
|
1400
1400
|
return "npm";
|
|
1401
1401
|
}
|
|
1402
1402
|
//#endregion
|
|
1403
1403
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.34.0/node_modules/@sentry/browser/build/npm/esm/prod/helpers.js
|
|
1404
|
-
var
|
|
1405
|
-
function
|
|
1406
|
-
return
|
|
1404
|
+
var K = E, Pr = 0;
|
|
1405
|
+
function Fr() {
|
|
1406
|
+
return Pr > 0;
|
|
1407
1407
|
}
|
|
1408
|
-
function
|
|
1409
|
-
|
|
1410
|
-
|
|
1408
|
+
function Ir() {
|
|
1409
|
+
Pr++, setTimeout(() => {
|
|
1410
|
+
Pr--;
|
|
1411
1411
|
});
|
|
1412
1412
|
}
|
|
1413
|
-
function
|
|
1413
|
+
function q(e, t = {}) {
|
|
1414
1414
|
function n(e) {
|
|
1415
1415
|
return typeof e == "function";
|
|
1416
1416
|
}
|
|
@@ -1424,10 +1424,10 @@ function K(e, t = {}) {
|
|
|
1424
1424
|
}
|
|
1425
1425
|
let r = function(...n) {
|
|
1426
1426
|
try {
|
|
1427
|
-
let r = n.map((e) =>
|
|
1427
|
+
let r = n.map((e) => q(e, t));
|
|
1428
1428
|
return e.apply(this, r);
|
|
1429
1429
|
} catch (e) {
|
|
1430
|
-
throw
|
|
1430
|
+
throw Ir(), de((r) => {
|
|
1431
1431
|
r.addEventProcessor((e) => (t.mechanism && (Ae(e, void 0, void 0), m(e, t.mechanism)), e.extra = {
|
|
1432
1432
|
...e.extra,
|
|
1433
1433
|
arguments: n
|
|
@@ -1446,8 +1446,8 @@ function K(e, t = {}) {
|
|
|
1446
1446
|
} catch {}
|
|
1447
1447
|
return r;
|
|
1448
1448
|
}
|
|
1449
|
-
function
|
|
1450
|
-
let e =
|
|
1449
|
+
function Lr() {
|
|
1450
|
+
let e = x(), { referrer: t } = K.document || {}, { userAgent: n } = K.navigator || {};
|
|
1451
1451
|
return {
|
|
1452
1452
|
url: e,
|
|
1453
1453
|
headers: {
|
|
@@ -1458,89 +1458,89 @@ function Rr() {
|
|
|
1458
1458
|
}
|
|
1459
1459
|
//#endregion
|
|
1460
1460
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.34.0/node_modules/@sentry/browser/build/npm/esm/prod/eventbuilder.js
|
|
1461
|
-
function
|
|
1462
|
-
let n =
|
|
1463
|
-
type:
|
|
1464
|
-
value:
|
|
1461
|
+
function Rr(e, t) {
|
|
1462
|
+
let n = Vr(e, t), r = {
|
|
1463
|
+
type: Kr(t),
|
|
1464
|
+
value: qr(t)
|
|
1465
1465
|
};
|
|
1466
1466
|
return n.length && (r.stacktrace = { frames: n }), r.type === void 0 && r.value === "" && (r.value = "Unrecoverable error caught"), r;
|
|
1467
1467
|
}
|
|
1468
|
-
function
|
|
1469
|
-
let i =
|
|
1468
|
+
function zr(e, t, n, r) {
|
|
1469
|
+
let i = N(), a = i == null ? void 0 : i.getOptions().normalizeDepth, o = ei(t), s = { __serialized__: Re(t, a) };
|
|
1470
1470
|
if (o) return {
|
|
1471
|
-
exception: { values: [
|
|
1471
|
+
exception: { values: [Rr(e, o)] },
|
|
1472
1472
|
extra: s
|
|
1473
1473
|
};
|
|
1474
1474
|
let c = {
|
|
1475
1475
|
exception: { values: [{
|
|
1476
1476
|
type: ce(t) ? t.constructor.name : r ? "UnhandledRejection" : "Error",
|
|
1477
|
-
value:
|
|
1477
|
+
value: Qr(t, { isUnhandledRejection: r })
|
|
1478
1478
|
}] },
|
|
1479
1479
|
extra: s
|
|
1480
1480
|
};
|
|
1481
1481
|
if (n) {
|
|
1482
|
-
let t =
|
|
1482
|
+
let t = Vr(e, n);
|
|
1483
1483
|
t.length && (c.exception.values[0].stacktrace = { frames: t });
|
|
1484
1484
|
}
|
|
1485
1485
|
return c;
|
|
1486
1486
|
}
|
|
1487
|
-
function
|
|
1488
|
-
return { exception: { values: [
|
|
1487
|
+
function Br(e, t) {
|
|
1488
|
+
return { exception: { values: [Rr(e, t)] } };
|
|
1489
1489
|
}
|
|
1490
|
-
function
|
|
1491
|
-
let n = t.stacktrace || t.stack || "", r =
|
|
1490
|
+
function Vr(e, t) {
|
|
1491
|
+
let n = t.stacktrace || t.stack || "", r = Ur(t), i = Wr(t);
|
|
1492
1492
|
try {
|
|
1493
1493
|
return e(n, r, i);
|
|
1494
1494
|
} catch {}
|
|
1495
1495
|
return [];
|
|
1496
1496
|
}
|
|
1497
|
-
var
|
|
1498
|
-
function
|
|
1499
|
-
return e &&
|
|
1497
|
+
var Hr = /Minified React error #\d+;/i;
|
|
1498
|
+
function Ur(e) {
|
|
1499
|
+
return e && Hr.test(e.message) ? 1 : 0;
|
|
1500
1500
|
}
|
|
1501
|
-
function
|
|
1501
|
+
function Wr(e) {
|
|
1502
1502
|
return typeof e.framesToPop == "number" ? e.framesToPop : 0;
|
|
1503
1503
|
}
|
|
1504
|
-
function
|
|
1504
|
+
function Gr(e) {
|
|
1505
1505
|
return typeof WebAssembly < "u" && WebAssembly.Exception !== void 0 ? e instanceof WebAssembly.Exception : !1;
|
|
1506
1506
|
}
|
|
1507
|
-
function
|
|
1507
|
+
function Kr(e) {
|
|
1508
1508
|
let t = e == null ? void 0 : e.name;
|
|
1509
|
-
return !t &&
|
|
1509
|
+
return !t && Gr(e) ? e.message && Array.isArray(e.message) && e.message.length == 2 ? e.message[0] : "WebAssembly.Exception" : t;
|
|
1510
1510
|
}
|
|
1511
|
-
function
|
|
1511
|
+
function qr(e) {
|
|
1512
1512
|
let t = e == null ? void 0 : e.message;
|
|
1513
|
-
return
|
|
1513
|
+
return Gr(e) ? Array.isArray(e.message) && e.message.length == 2 ? e.message[1] : "wasm exception" : t ? t.error && typeof t.error.message == "string" ? zn(t.error) : zn(e) : "No error message";
|
|
1514
1514
|
}
|
|
1515
|
-
function
|
|
1516
|
-
let i =
|
|
1515
|
+
function Jr(e, t, n, r) {
|
|
1516
|
+
let i = Xr(e, t, (n == null ? void 0 : n.syntheticException) || void 0, r);
|
|
1517
1517
|
return m(i), i.level = "error", n != null && n.event_id && (i.event_id = n.event_id), Se(i);
|
|
1518
1518
|
}
|
|
1519
|
-
function
|
|
1520
|
-
let a =
|
|
1519
|
+
function Yr(e, t, n = "info", r, i) {
|
|
1520
|
+
let a = Zr(e, t, (r == null ? void 0 : r.syntheticException) || void 0, i);
|
|
1521
1521
|
return a.level = n, r != null && r.event_id && (a.event_id = r.event_id), Se(a);
|
|
1522
1522
|
}
|
|
1523
|
-
function
|
|
1523
|
+
function Xr(e, t, n, r, i) {
|
|
1524
1524
|
let a;
|
|
1525
|
-
if (_e(t) && t.error) return
|
|
1526
|
-
if (
|
|
1525
|
+
if (_e(t) && t.error) return Br(e, t.error);
|
|
1526
|
+
if (ae(t) || ge(t)) {
|
|
1527
1527
|
let i = t;
|
|
1528
|
-
if ("stack" in t) a =
|
|
1528
|
+
if ("stack" in t) a = Br(e, t);
|
|
1529
1529
|
else {
|
|
1530
|
-
let t = i.name || (
|
|
1531
|
-
a =
|
|
1530
|
+
let t = i.name || (ae(i) ? "DOMError" : "DOMException"), o = i.message ? `${t}: ${i.message}` : t;
|
|
1531
|
+
a = Zr(e, o, n, r), Ae(a, o);
|
|
1532
1532
|
}
|
|
1533
1533
|
return "code" in i && (a.tags = {
|
|
1534
1534
|
...a.tags,
|
|
1535
1535
|
"DOMException.code": `${i.code}`
|
|
1536
1536
|
}), a;
|
|
1537
1537
|
}
|
|
1538
|
-
return he(t) ?
|
|
1538
|
+
return he(t) ? Br(e, t) : Ke(t) || ce(t) ? (a = zr(e, t, n, i), m(a, { synthetic: !0 }), a) : (a = Zr(e, t, n, r), Ae(a, `${t}`, void 0), m(a, { synthetic: !0 }), a);
|
|
1539
1539
|
}
|
|
1540
|
-
function
|
|
1540
|
+
function Zr(e, t, n, r) {
|
|
1541
1541
|
let i = {};
|
|
1542
1542
|
if (r && n) {
|
|
1543
|
-
let r =
|
|
1543
|
+
let r = Vr(e, n);
|
|
1544
1544
|
r.length && (i.exception = { values: [{
|
|
1545
1545
|
value: t,
|
|
1546
1546
|
stacktrace: { frames: r }
|
|
@@ -1555,17 +1555,17 @@ function Qr(e, t, n, r) {
|
|
|
1555
1555
|
}
|
|
1556
1556
|
return i.message = t, i;
|
|
1557
1557
|
}
|
|
1558
|
-
function
|
|
1558
|
+
function Qr(e, { isUnhandledRejection: t }) {
|
|
1559
1559
|
let n = pe(e), r = t ? "promise rejection" : "exception";
|
|
1560
|
-
return _e(e) ? `Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\`` : ce(e) ? `Event \`${
|
|
1560
|
+
return _e(e) ? `Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\`` : ce(e) ? `Event \`${$r(e)}\` (type=${e.type}) captured as ${r}` : `Object captured as ${r} with keys: ${n}`;
|
|
1561
1561
|
}
|
|
1562
|
-
function
|
|
1562
|
+
function $r(e) {
|
|
1563
1563
|
try {
|
|
1564
1564
|
let t = Object.getPrototypeOf(e);
|
|
1565
1565
|
return t ? t.constructor.name : void 0;
|
|
1566
1566
|
} catch {}
|
|
1567
1567
|
}
|
|
1568
|
-
function
|
|
1568
|
+
function ei(e) {
|
|
1569
1569
|
for (let t in e) if (Object.prototype.hasOwnProperty.call(e, t)) {
|
|
1570
1570
|
let n = e[t];
|
|
1571
1571
|
if (n instanceof Error) return n;
|
|
@@ -1573,33 +1573,33 @@ function ti(e) {
|
|
|
1573
1573
|
}
|
|
1574
1574
|
//#endregion
|
|
1575
1575
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.34.0/node_modules/@sentry/browser/build/npm/esm/prod/client.js
|
|
1576
|
-
var
|
|
1576
|
+
var ti = class extends On {
|
|
1577
1577
|
constructor(e) {
|
|
1578
1578
|
var t, n;
|
|
1579
|
-
let r =
|
|
1580
|
-
|
|
1579
|
+
let r = ni(e);
|
|
1580
|
+
Wn(r, "browser", ["browser"], K.SENTRY_SDK_SOURCE || Nr()), (t = r._metadata) != null && t.sdk && (r._metadata.sdk.settings = {
|
|
1581
1581
|
infer_ip: r.sendDefaultPii ? "auto" : "never",
|
|
1582
1582
|
...r._metadata.sdk.settings
|
|
1583
1583
|
}), super(r);
|
|
1584
1584
|
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;
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
}), i && this.on("beforeSendSession",
|
|
1585
|
+
K.document && (a || o || l) && K.document.addEventListener("visibilitychange", () => {
|
|
1586
|
+
K.document.visibilityState === "hidden" && (a && this._flushOutcomes(), o && Qt(this), l && rn(this));
|
|
1587
|
+
}), i && this.on("beforeSendSession", Un);
|
|
1588
1588
|
}
|
|
1589
1589
|
eventFromException(e, t) {
|
|
1590
|
-
return
|
|
1590
|
+
return Jr(this._options.stackParser, e, t, this._options.attachStacktrace);
|
|
1591
1591
|
}
|
|
1592
1592
|
eventFromMessage(e, t = "info", n) {
|
|
1593
|
-
return
|
|
1593
|
+
return Yr(this._options.stackParser, e, t, n, this._options.attachStacktrace);
|
|
1594
1594
|
}
|
|
1595
1595
|
_prepareEvent(e, t, n, r) {
|
|
1596
1596
|
return e.platform = e.platform || "javascript", super._prepareEvent(e, t, n, r);
|
|
1597
1597
|
}
|
|
1598
1598
|
};
|
|
1599
|
-
function
|
|
1599
|
+
function ni(e) {
|
|
1600
1600
|
var t;
|
|
1601
1601
|
return {
|
|
1602
|
-
release: typeof __SENTRY_RELEASE__ == "string" ? __SENTRY_RELEASE__ : (t =
|
|
1602
|
+
release: typeof __SENTRY_RELEASE__ == "string" ? __SENTRY_RELEASE__ : (t = K.SENTRY_RELEASE) == null ? void 0 : t.id,
|
|
1603
1603
|
sendClientReports: !0,
|
|
1604
1604
|
parentSpanIsAlwaysRootSpan: !0,
|
|
1605
1605
|
...e
|
|
@@ -1607,22 +1607,22 @@ function ri(e) {
|
|
|
1607
1607
|
}
|
|
1608
1608
|
//#endregion
|
|
1609
1609
|
//#region ../../node_modules/.pnpm/@sentry-internal+browser-utils@10.34.0/node_modules/@sentry-internal/browser-utils/build/esm/debug-build.js
|
|
1610
|
-
var
|
|
1611
|
-
function
|
|
1612
|
-
|
|
1613
|
-
}
|
|
1614
|
-
function
|
|
1615
|
-
if (!
|
|
1616
|
-
let e =
|
|
1617
|
-
|
|
1610
|
+
var ri = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, J = E, ii = 1e3, ai, oi, si;
|
|
1611
|
+
function ci(e) {
|
|
1612
|
+
I("dom", e), L("dom", li);
|
|
1613
|
+
}
|
|
1614
|
+
function li() {
|
|
1615
|
+
if (!J.document) return;
|
|
1616
|
+
let e = R.bind(null, "dom"), t = fi(e, !0);
|
|
1617
|
+
J.document.addEventListener("click", t, !1), J.document.addEventListener("keypress", t, !1), ["EventTarget", "Node"].forEach((t) => {
|
|
1618
1618
|
var n, r;
|
|
1619
|
-
let i = (n =
|
|
1619
|
+
let i = (n = J[t]) == null ? void 0 : n.prototype;
|
|
1620
1620
|
!(i == null || (r = i.hasOwnProperty) == null) && r.call(i, "addEventListener") && (b(i, "addEventListener", function(t) {
|
|
1621
1621
|
return function(n, r, i) {
|
|
1622
1622
|
if (n === "click" || n == "keypress") try {
|
|
1623
1623
|
let r = this.__sentry_instrumentation_handlers__ = this.__sentry_instrumentation_handlers__ || {}, a = r[n] = r[n] || { refCount: 0 };
|
|
1624
1624
|
if (!a.handler) {
|
|
1625
|
-
let r =
|
|
1625
|
+
let r = fi(e);
|
|
1626
1626
|
a.handler = r, t.call(this, n, r, i);
|
|
1627
1627
|
}
|
|
1628
1628
|
a.refCount++;
|
|
@@ -1640,33 +1640,33 @@ function ui() {
|
|
|
1640
1640
|
}));
|
|
1641
1641
|
});
|
|
1642
1642
|
}
|
|
1643
|
-
function
|
|
1644
|
-
if (e.type !==
|
|
1643
|
+
function ui(e) {
|
|
1644
|
+
if (e.type !== oi) return !1;
|
|
1645
1645
|
try {
|
|
1646
|
-
if (!e.target || e.target._sentryId !==
|
|
1646
|
+
if (!e.target || e.target._sentryId !== si) return !1;
|
|
1647
1647
|
} catch {}
|
|
1648
1648
|
return !0;
|
|
1649
1649
|
}
|
|
1650
|
-
function
|
|
1650
|
+
function di(e, t) {
|
|
1651
1651
|
return e === "keypress" ? t != null && t.tagName ? !(t.tagName === "INPUT" || t.tagName === "TEXTAREA" || t.isContentEditable) : !0 : !1;
|
|
1652
1652
|
}
|
|
1653
|
-
function
|
|
1653
|
+
function fi(e, t = !1) {
|
|
1654
1654
|
return (n) => {
|
|
1655
1655
|
if (!n || n._sentryCaptured) return;
|
|
1656
|
-
let r =
|
|
1657
|
-
if (
|
|
1658
|
-
h(n, "_sentryCaptured", !0), r && !r._sentryId && h(r, "_sentryId",
|
|
1656
|
+
let r = pi(n);
|
|
1657
|
+
if (di(n.type, r)) return;
|
|
1658
|
+
h(n, "_sentryCaptured", !0), r && !r._sentryId && h(r, "_sentryId", w());
|
|
1659
1659
|
let i = n.type === "keypress" ? "input" : n.type;
|
|
1660
|
-
|
|
1660
|
+
ui(n) || (e({
|
|
1661
1661
|
event: n,
|
|
1662
1662
|
name: i,
|
|
1663
1663
|
global: t
|
|
1664
|
-
}),
|
|
1665
|
-
|
|
1666
|
-
},
|
|
1664
|
+
}), oi = n.type, si = r ? r._sentryId : void 0), clearTimeout(ai), ai = J.setTimeout(() => {
|
|
1665
|
+
si = void 0, oi = void 0;
|
|
1666
|
+
}, ii);
|
|
1667
1667
|
};
|
|
1668
1668
|
}
|
|
1669
|
-
function
|
|
1669
|
+
function pi(e) {
|
|
1670
1670
|
try {
|
|
1671
1671
|
return e.target;
|
|
1672
1672
|
} catch {
|
|
@@ -1675,26 +1675,26 @@ function mi(e) {
|
|
|
1675
1675
|
}
|
|
1676
1676
|
//#endregion
|
|
1677
1677
|
//#region ../../node_modules/.pnpm/@sentry-internal+browser-utils@10.34.0/node_modules/@sentry-internal/browser-utils/build/esm/instrument/history.js
|
|
1678
|
-
var
|
|
1678
|
+
var mi;
|
|
1679
1679
|
function hi(e) {
|
|
1680
1680
|
let t = "history";
|
|
1681
|
-
|
|
1681
|
+
I(t, e), L(t, gi);
|
|
1682
1682
|
}
|
|
1683
1683
|
function gi() {
|
|
1684
|
-
if (
|
|
1685
|
-
let e =
|
|
1686
|
-
|
|
1684
|
+
if (J.addEventListener("popstate", () => {
|
|
1685
|
+
let e = J.location.href, t = mi;
|
|
1686
|
+
mi = e, t !== e && R("history", {
|
|
1687
1687
|
from: t,
|
|
1688
1688
|
to: e
|
|
1689
1689
|
});
|
|
1690
|
-
}), !
|
|
1690
|
+
}), !wr()) return;
|
|
1691
1691
|
function e(e) {
|
|
1692
1692
|
return function(...t) {
|
|
1693
1693
|
let n = t.length > 2 ? t[2] : void 0;
|
|
1694
1694
|
if (n) {
|
|
1695
|
-
let r =
|
|
1696
|
-
if (
|
|
1697
|
-
|
|
1695
|
+
let r = mi, i = _i(String(n));
|
|
1696
|
+
if (mi = i, r === i) return e.apply(this, t);
|
|
1697
|
+
R("history", {
|
|
1698
1698
|
from: r,
|
|
1699
1699
|
to: i
|
|
1700
1700
|
});
|
|
@@ -1702,11 +1702,11 @@ function gi() {
|
|
|
1702
1702
|
return e.apply(this, t);
|
|
1703
1703
|
};
|
|
1704
1704
|
}
|
|
1705
|
-
b(
|
|
1705
|
+
b(J.history, "pushState", e), b(J.history, "replaceState", e);
|
|
1706
1706
|
}
|
|
1707
1707
|
function _i(e) {
|
|
1708
1708
|
try {
|
|
1709
|
-
return new URL(e,
|
|
1709
|
+
return new URL(e, J.location.origin).toString();
|
|
1710
1710
|
} catch {
|
|
1711
1711
|
return e;
|
|
1712
1712
|
}
|
|
@@ -1717,18 +1717,18 @@ var vi = {};
|
|
|
1717
1717
|
function yi(e) {
|
|
1718
1718
|
let t = vi[e];
|
|
1719
1719
|
if (t) return t;
|
|
1720
|
-
let n =
|
|
1721
|
-
if (
|
|
1722
|
-
let r =
|
|
1720
|
+
let n = J[e];
|
|
1721
|
+
if (Er(n)) return vi[e] = n.bind(J);
|
|
1722
|
+
let r = J.document;
|
|
1723
1723
|
if (r && typeof r.createElement == "function") try {
|
|
1724
1724
|
let t = r.createElement("iframe");
|
|
1725
1725
|
t.hidden = !0, r.head.appendChild(t);
|
|
1726
1726
|
let i = t.contentWindow;
|
|
1727
1727
|
i != null && i[e] && (n = i[e]), r.head.removeChild(t);
|
|
1728
1728
|
} catch (t) {
|
|
1729
|
-
|
|
1729
|
+
ri && O.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `, t);
|
|
1730
1730
|
}
|
|
1731
|
-
return n && (vi[e] = n.bind(
|
|
1731
|
+
return n && (vi[e] = n.bind(J));
|
|
1732
1732
|
}
|
|
1733
1733
|
function bi(e) {
|
|
1734
1734
|
vi[e] = void 0;
|
|
@@ -1737,10 +1737,10 @@ function bi(e) {
|
|
|
1737
1737
|
//#region ../../node_modules/.pnpm/@sentry-internal+browser-utils@10.34.0/node_modules/@sentry-internal/browser-utils/build/esm/instrument/xhr.js
|
|
1738
1738
|
var Y = "__sentry_xhr_v3__";
|
|
1739
1739
|
function xi(e) {
|
|
1740
|
-
|
|
1740
|
+
I("xhr", e), L("xhr", Si);
|
|
1741
1741
|
}
|
|
1742
1742
|
function Si() {
|
|
1743
|
-
if (!
|
|
1743
|
+
if (!J.XMLHttpRequest) return;
|
|
1744
1744
|
let e = XMLHttpRequest.prototype;
|
|
1745
1745
|
e.open = new Proxy(e.open, { apply(e, t, n) {
|
|
1746
1746
|
let r = /* @__PURE__ */ Error(), i = A() * 1e3, a = k(n[0]) ? n[0].toUpperCase() : void 0, o = Ci(n[1]);
|
|
@@ -1756,7 +1756,7 @@ function Si() {
|
|
|
1756
1756
|
try {
|
|
1757
1757
|
e.status_code = t.status;
|
|
1758
1758
|
} catch {}
|
|
1759
|
-
|
|
1759
|
+
R("xhr", {
|
|
1760
1760
|
endTimestamp: A() * 1e3,
|
|
1761
1761
|
startTimestamp: i,
|
|
1762
1762
|
xhr: t,
|
|
@@ -1772,7 +1772,7 @@ function Si() {
|
|
|
1772
1772
|
} }), e.apply(t, n);
|
|
1773
1773
|
} }), e.send = new Proxy(e.send, { apply(e, t, n) {
|
|
1774
1774
|
let r = t[Y];
|
|
1775
|
-
return r ? (n[0] !== void 0 && (r.body = n[0]),
|
|
1775
|
+
return r ? (n[0] !== void 0 && (r.body = n[0]), R("xhr", {
|
|
1776
1776
|
startTimestamp: A() * 1e3,
|
|
1777
1777
|
xhr: t
|
|
1778
1778
|
}), e.apply(t, n)) : e.apply(t, n);
|
|
@@ -1815,7 +1815,7 @@ function Ti(e, t = yi("fetch")) {
|
|
|
1815
1815
|
n -= a, r--;
|
|
1816
1816
|
}
|
|
1817
1817
|
}
|
|
1818
|
-
return
|
|
1818
|
+
return mn(e, i, cn(e.bufferSize || wi));
|
|
1819
1819
|
}
|
|
1820
1820
|
//#endregion
|
|
1821
1821
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.34.0/node_modules/@sentry/browser/build/npm/esm/prod/debug-build.js
|
|
@@ -1848,7 +1848,7 @@ var ki = /^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i, Ai = /^\s*at (?:(.+?\)(?: \[.
|
|
|
1848
1848
|
let [e, t] = Li(r[1] || "?", r[2]);
|
|
1849
1849
|
return Oi(t, e, r[3] ? +r[3] : void 0, r[4] ? +r[4] : void 0);
|
|
1850
1850
|
}
|
|
1851
|
-
}], Pi = /^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i, Fi = /(\S+) line (\d+)(?: > eval line \d+)* > eval/i, Ii =
|
|
1851
|
+
}], Pi = /^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i, Fi = /(\S+) line (\d+)(?: > eval line \d+)* > eval/i, Ii = Le(Ni, [Di, (e) => {
|
|
1852
1852
|
let t = Pi.exec(e);
|
|
1853
1853
|
if (t) {
|
|
1854
1854
|
if (t[3] && t[3].indexOf(" > eval") > -1) {
|
|
@@ -1861,7 +1861,7 @@ var ki = /^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i, Ai = /^\s*at (?:(.+?\)(?: \[.
|
|
|
1861
1861
|
}]), Li = (e, t) => {
|
|
1862
1862
|
let n = e.indexOf("safari-extension") !== -1, r = e.indexOf("safari-web-extension") !== -1;
|
|
1863
1863
|
return n || r ? [e.indexOf("@") === -1 ? "?" : e.split("@")[0], n ? `safari-extension:${t}` : `safari-web-extension:${t}`] : [e, t];
|
|
1864
|
-
}, Ri = 1024, zi = "Breadcrumbs", Bi =
|
|
1864
|
+
}, Ri = 1024, zi = "Breadcrumbs", Bi = B(((e = {}) => {
|
|
1865
1865
|
let t = {
|
|
1866
1866
|
console: !0,
|
|
1867
1867
|
dom: !0,
|
|
@@ -1874,28 +1874,28 @@ var ki = /^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i, Ai = /^\s*at (?:(.+?\)(?: \[.
|
|
|
1874
1874
|
return {
|
|
1875
1875
|
name: zi,
|
|
1876
1876
|
setup(e) {
|
|
1877
|
-
t.console &&
|
|
1877
|
+
t.console && fr(Ui(e)), t.dom && ci(Hi(e, t.dom)), t.xhr && xi(Wi(e)), t.fetch && Or(Gi(e)), t.history && hi(Ki(e)), t.sentry && e.on("beforeSendEvent", Vi(e));
|
|
1878
1878
|
}
|
|
1879
1879
|
};
|
|
1880
|
-
});
|
|
1880
|
+
}));
|
|
1881
1881
|
function Vi(e) {
|
|
1882
1882
|
return function(t) {
|
|
1883
|
-
|
|
1883
|
+
N() === e && H({
|
|
1884
1884
|
category: `sentry.${t.type === "transaction" ? "transaction" : "event"}`,
|
|
1885
1885
|
event_id: t.event_id,
|
|
1886
1886
|
level: t.level,
|
|
1887
|
-
message:
|
|
1887
|
+
message: C(t)
|
|
1888
1888
|
}, { event: t });
|
|
1889
1889
|
};
|
|
1890
1890
|
}
|
|
1891
1891
|
function Hi(e, t) {
|
|
1892
1892
|
return function(n) {
|
|
1893
|
-
if (
|
|
1893
|
+
if (N() !== e) return;
|
|
1894
1894
|
let r, i, a = typeof t == "object" ? t.serializeAttribute : void 0, o = typeof t == "object" && typeof t.maxStringLength == "number" ? t.maxStringLength : void 0;
|
|
1895
1895
|
o && o > Ri && (X && O.warn(`\`dom.maxStringLength\` cannot exceed ${Ri}, but a value of ${o} was configured. Sentry will use ${Ri} instead.`), o = Ri), typeof a == "string" && (a = [a]);
|
|
1896
1896
|
try {
|
|
1897
1897
|
let e = n.event, t = qi(e) ? e.target : e;
|
|
1898
|
-
r =
|
|
1898
|
+
r = Be(t, {
|
|
1899
1899
|
keyAttrs: a,
|
|
1900
1900
|
maxStringLength: o
|
|
1901
1901
|
}), i = re(t);
|
|
@@ -1907,7 +1907,7 @@ function Hi(e, t) {
|
|
|
1907
1907
|
category: `ui.${n.name}`,
|
|
1908
1908
|
message: r
|
|
1909
1909
|
};
|
|
1910
|
-
i && (s.data = { "ui.component_name": i }),
|
|
1910
|
+
i && (s.data = { "ui.component_name": i }), H(s, {
|
|
1911
1911
|
event: n.event,
|
|
1912
1912
|
name: n.name,
|
|
1913
1913
|
global: n.global
|
|
@@ -1916,19 +1916,19 @@ function Hi(e, t) {
|
|
|
1916
1916
|
}
|
|
1917
1917
|
function Ui(e) {
|
|
1918
1918
|
return function(t) {
|
|
1919
|
-
if (
|
|
1919
|
+
if (N() !== e) return;
|
|
1920
1920
|
let n = {
|
|
1921
1921
|
category: "console",
|
|
1922
1922
|
data: {
|
|
1923
1923
|
arguments: t.args,
|
|
1924
1924
|
logger: "console"
|
|
1925
1925
|
},
|
|
1926
|
-
level:
|
|
1927
|
-
message:
|
|
1926
|
+
level: mr(t.level),
|
|
1927
|
+
message: ie(t.args, " ")
|
|
1928
1928
|
};
|
|
1929
|
-
if (t.level === "assert") if (t.args[0] === !1) n.message = `Assertion failed: ${
|
|
1929
|
+
if (t.level === "assert") if (t.args[0] === !1) n.message = `Assertion failed: ${ie(t.args.slice(1), " ") || "console.assert"}`, n.data.arguments = t.args.slice(1);
|
|
1930
1930
|
else return;
|
|
1931
|
-
|
|
1931
|
+
H(n, {
|
|
1932
1932
|
input: t.args,
|
|
1933
1933
|
level: t.level
|
|
1934
1934
|
});
|
|
@@ -1936,7 +1936,7 @@ function Ui(e) {
|
|
|
1936
1936
|
}
|
|
1937
1937
|
function Wi(e) {
|
|
1938
1938
|
return function(t) {
|
|
1939
|
-
if (
|
|
1939
|
+
if (N() !== e) return;
|
|
1940
1940
|
let { startTimestamp: n, endTimestamp: r } = t, i = t.xhr[Y];
|
|
1941
1941
|
if (!n || !r || !i) return;
|
|
1942
1942
|
let { method: a, url: o, status_code: s, body: c } = i, l = {
|
|
@@ -1952,14 +1952,14 @@ function Wi(e) {
|
|
|
1952
1952
|
category: "xhr",
|
|
1953
1953
|
data: l,
|
|
1954
1954
|
type: "http",
|
|
1955
|
-
level:
|
|
1955
|
+
level: Cr(s)
|
|
1956
1956
|
};
|
|
1957
|
-
e.emit("beforeOutgoingRequestBreadcrumb", d, u),
|
|
1957
|
+
e.emit("beforeOutgoingRequestBreadcrumb", d, u), H(d, u);
|
|
1958
1958
|
};
|
|
1959
1959
|
}
|
|
1960
1960
|
function Gi(e) {
|
|
1961
1961
|
return function(t) {
|
|
1962
|
-
if (
|
|
1962
|
+
if (N() !== e) return;
|
|
1963
1963
|
let { startTimestamp: n, endTimestamp: r } = t;
|
|
1964
1964
|
if (r && !(t.fetchData.url.match(/sentry_key/) && t.fetchData.method === "POST")) if (t.fetchData.method, t.fetchData.url, t.error) {
|
|
1965
1965
|
let i = t.fetchData, a = {
|
|
@@ -1973,7 +1973,7 @@ function Gi(e) {
|
|
|
1973
1973
|
level: "error",
|
|
1974
1974
|
type: "http"
|
|
1975
1975
|
};
|
|
1976
|
-
e.emit("beforeOutgoingRequestBreadcrumb", o, a),
|
|
1976
|
+
e.emit("beforeOutgoingRequestBreadcrumb", o, a), H(o, a);
|
|
1977
1977
|
} else {
|
|
1978
1978
|
let i = t.response, a = {
|
|
1979
1979
|
...t.fetchData,
|
|
@@ -1989,17 +1989,17 @@ function Gi(e) {
|
|
|
1989
1989
|
category: "fetch",
|
|
1990
1990
|
data: a,
|
|
1991
1991
|
type: "http",
|
|
1992
|
-
level:
|
|
1992
|
+
level: Cr(a.status_code)
|
|
1993
1993
|
};
|
|
1994
|
-
e.emit("beforeOutgoingRequestBreadcrumb", s, o),
|
|
1994
|
+
e.emit("beforeOutgoingRequestBreadcrumb", s, o), H(s, o);
|
|
1995
1995
|
}
|
|
1996
1996
|
};
|
|
1997
1997
|
}
|
|
1998
1998
|
function Ki(e) {
|
|
1999
1999
|
return function(t) {
|
|
2000
|
-
if (
|
|
2001
|
-
let n = t.from, r = t.to, i =
|
|
2002
|
-
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),
|
|
2000
|
+
if (N() !== e) return;
|
|
2001
|
+
let n = t.from, r = t.to, i = Hn(K.location.href), a = n ? Hn(n) : void 0, o = Hn(r);
|
|
2002
|
+
a != null && a.path || (a = i), i.protocol === o.protocol && i.host === o.host && (r = o.relative), i.protocol === a.protocol && i.host === a.host && (n = a.relative), H({
|
|
2003
2003
|
category: "navigation",
|
|
2004
2004
|
data: {
|
|
2005
2005
|
from: n,
|
|
@@ -2013,7 +2013,7 @@ function qi(e) {
|
|
|
2013
2013
|
}
|
|
2014
2014
|
//#endregion
|
|
2015
2015
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.34.0/node_modules/@sentry/browser/build/npm/esm/prod/integrations/browserapierrors.js
|
|
2016
|
-
var Ji = /* @__PURE__ */ "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("."), Yi = "BrowserApiErrors", Xi =
|
|
2016
|
+
var Ji = /* @__PURE__ */ "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("."), Yi = "BrowserApiErrors", Xi = B(((e = {}) => {
|
|
2017
2017
|
let t = {
|
|
2018
2018
|
XMLHttpRequest: !0,
|
|
2019
2019
|
eventTarget: !0,
|
|
@@ -2026,16 +2026,16 @@ var Ji = /* @__PURE__ */ "EventTarget.Window.Node.ApplicationCache.AudioTrackLis
|
|
|
2026
2026
|
return {
|
|
2027
2027
|
name: Yi,
|
|
2028
2028
|
setupOnce() {
|
|
2029
|
-
t.setTimeout && b(
|
|
2029
|
+
t.setTimeout && b(K, "setTimeout", Zi), t.setInterval && b(K, "setInterval", Zi), t.requestAnimationFrame && b(K, "requestAnimationFrame", Qi), t.XMLHttpRequest && "XMLHttpRequest" in K && b(XMLHttpRequest.prototype, "send", $i);
|
|
2030
2030
|
let e = t.eventTarget;
|
|
2031
2031
|
e && (Array.isArray(e) ? e : Ji).forEach((e) => ea(e, t));
|
|
2032
2032
|
}
|
|
2033
2033
|
};
|
|
2034
|
-
});
|
|
2034
|
+
}));
|
|
2035
2035
|
function Zi(e) {
|
|
2036
2036
|
return function(...t) {
|
|
2037
2037
|
let n = t[0];
|
|
2038
|
-
return t[0] =
|
|
2038
|
+
return t[0] = q(n, { mechanism: {
|
|
2039
2039
|
handled: !1,
|
|
2040
2040
|
type: `auto.browser.browserapierrors.${D(e)}`
|
|
2041
2041
|
} }), e.apply(this, t);
|
|
@@ -2043,7 +2043,7 @@ function Zi(e) {
|
|
|
2043
2043
|
}
|
|
2044
2044
|
function Qi(e) {
|
|
2045
2045
|
return function(t) {
|
|
2046
|
-
return e.apply(this, [
|
|
2046
|
+
return e.apply(this, [q(t, { mechanism: {
|
|
2047
2047
|
data: { handler: D(e) },
|
|
2048
2048
|
handled: !1,
|
|
2049
2049
|
type: "auto.browser.browserapierrors.requestAnimationFrame"
|
|
@@ -2065,18 +2065,18 @@ function $i(e) {
|
|
|
2065
2065
|
handled: !1,
|
|
2066
2066
|
type: `auto.browser.browserapierrors.xhr.${e}`
|
|
2067
2067
|
} }, r = fe(t);
|
|
2068
|
-
return r && (n.mechanism.data.handler = D(r)),
|
|
2068
|
+
return r && (n.mechanism.data.handler = D(r)), q(t, n);
|
|
2069
2069
|
});
|
|
2070
2070
|
}), e.apply(this, t);
|
|
2071
2071
|
};
|
|
2072
2072
|
}
|
|
2073
2073
|
function ea(e, t) {
|
|
2074
2074
|
var n, r;
|
|
2075
|
-
let i = (n =
|
|
2075
|
+
let i = (n = K[e]) == null ? void 0 : n.prototype;
|
|
2076
2076
|
!(i == null || (r = i.hasOwnProperty) == null) && r.call(i, "addEventListener") && (b(i, "addEventListener", function(n) {
|
|
2077
2077
|
return function(r, i, a) {
|
|
2078
2078
|
try {
|
|
2079
|
-
ta(i) && (i.handleEvent =
|
|
2079
|
+
ta(i) && (i.handleEvent = q(i.handleEvent, { mechanism: {
|
|
2080
2080
|
data: {
|
|
2081
2081
|
handler: D(i),
|
|
2082
2082
|
target: e
|
|
@@ -2087,7 +2087,7 @@ function ea(e, t) {
|
|
|
2087
2087
|
} catch {}
|
|
2088
2088
|
return t.unregisterOriginalCallbacks && na(this, r, i), n.apply(this, [
|
|
2089
2089
|
r,
|
|
2090
|
-
|
|
2090
|
+
q(i, { mechanism: {
|
|
2091
2091
|
data: {
|
|
2092
2092
|
handler: D(i),
|
|
2093
2093
|
target: e
|
|
@@ -2116,18 +2116,18 @@ function na(e, t, n) {
|
|
|
2116
2116
|
}
|
|
2117
2117
|
//#endregion
|
|
2118
2118
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.34.0/node_modules/@sentry/browser/build/npm/esm/prod/integrations/browsersession.js
|
|
2119
|
-
var ra =
|
|
2119
|
+
var ra = B(() => ({
|
|
2120
2120
|
name: "BrowserSession",
|
|
2121
2121
|
setupOnce() {
|
|
2122
|
-
if (
|
|
2122
|
+
if (K.document === void 0) {
|
|
2123
2123
|
X && O.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");
|
|
2124
2124
|
return;
|
|
2125
2125
|
}
|
|
2126
|
-
xe({ ignoreDuration: !0 }),
|
|
2127
|
-
e !== void 0 && e !== t && (xe({ ignoreDuration: !0 }),
|
|
2126
|
+
xe({ ignoreDuration: !0 }), Ve(), hi(({ from: e, to: t }) => {
|
|
2127
|
+
e !== void 0 && e !== t && (xe({ ignoreDuration: !0 }), Ve());
|
|
2128
2128
|
});
|
|
2129
2129
|
}
|
|
2130
|
-
})), ia = "GlobalHandlers", aa =
|
|
2130
|
+
})), ia = "GlobalHandlers", aa = B(((e = {}) => {
|
|
2131
2131
|
let t = {
|
|
2132
2132
|
onerror: !0,
|
|
2133
2133
|
onunhandledrejection: !0,
|
|
@@ -2142,13 +2142,13 @@ var ra = z(() => ({
|
|
|
2142
2142
|
t.onerror && (oa(e), da("onerror")), t.onunhandledrejection && (sa(e), da("onunhandledrejection"));
|
|
2143
2143
|
}
|
|
2144
2144
|
};
|
|
2145
|
-
});
|
|
2145
|
+
}));
|
|
2146
2146
|
function oa(e) {
|
|
2147
|
-
|
|
2147
|
+
mt((t) => {
|
|
2148
2148
|
let { stackParser: n, attachStacktrace: r } = fa();
|
|
2149
|
-
if (
|
|
2150
|
-
let { msg: i, url: a, line: o, column: s, error: c } = t, l = ua(
|
|
2151
|
-
l.level = "error",
|
|
2149
|
+
if (N() !== e || Fr()) return;
|
|
2150
|
+
let { msg: i, url: a, line: o, column: s, error: c } = t, l = ua(Xr(n, c || i, void 0, r, !1), a, o, s);
|
|
2151
|
+
l.level = "error", Ge(l, {
|
|
2152
2152
|
originalException: c,
|
|
2153
2153
|
mechanism: {
|
|
2154
2154
|
handled: !1,
|
|
@@ -2158,11 +2158,11 @@ function oa(e) {
|
|
|
2158
2158
|
});
|
|
2159
2159
|
}
|
|
2160
2160
|
function sa(e) {
|
|
2161
|
-
|
|
2161
|
+
_t((t) => {
|
|
2162
2162
|
let { stackParser: n, attachStacktrace: r } = fa();
|
|
2163
|
-
if (
|
|
2164
|
-
let i = ca(t), a =
|
|
2165
|
-
a.level = "error",
|
|
2163
|
+
if (N() !== e || Fr()) return;
|
|
2164
|
+
let i = ca(t), a = j(i) ? la(i) : Xr(n, i, void 0, r, !0);
|
|
2165
|
+
a.level = "error", Ge(a, {
|
|
2166
2166
|
originalException: i,
|
|
2167
2167
|
mechanism: {
|
|
2168
2168
|
handled: !1,
|
|
@@ -2172,7 +2172,7 @@ function sa(e) {
|
|
|
2172
2172
|
});
|
|
2173
2173
|
}
|
|
2174
2174
|
function ca(e) {
|
|
2175
|
-
if (
|
|
2175
|
+
if (j(e)) return e;
|
|
2176
2176
|
try {
|
|
2177
2177
|
if ("reason" in e) return e.reason;
|
|
2178
2178
|
if ("detail" in e && "reason" in e.detail) return e.detail.reason;
|
|
@@ -2187,7 +2187,7 @@ function la(e) {
|
|
|
2187
2187
|
}
|
|
2188
2188
|
function ua(e, t, n, r) {
|
|
2189
2189
|
var i;
|
|
2190
|
-
let a = e.exception = e.exception || {}, o = a.values = a.values || [], s = o[0] = o[0] || {}, c = s.stacktrace = s.stacktrace || {}, l = c.frames = c.frames || [], u = r, d = n, ee = (i = pa(t)) == null ?
|
|
2190
|
+
let a = e.exception = e.exception || {}, o = a.values = a.values || [], s = o[0] = o[0] || {}, c = s.stacktrace = s.stacktrace || {}, l = c.frames = c.frames || [], u = r, d = n, ee = (i = pa(t)) == null ? x() : i;
|
|
2191
2191
|
return l.length === 0 && l.push({
|
|
2192
2192
|
colno: u,
|
|
2193
2193
|
filename: ee,
|
|
@@ -2200,7 +2200,7 @@ function da(e) {
|
|
|
2200
2200
|
X && O.log(`Global Handler attached: ${e}`);
|
|
2201
2201
|
}
|
|
2202
2202
|
function fa() {
|
|
2203
|
-
let e =
|
|
2203
|
+
let e = N();
|
|
2204
2204
|
return (e == null ? void 0 : e.getOptions()) || {
|
|
2205
2205
|
stackParser: () => [],
|
|
2206
2206
|
attachStacktrace: !1
|
|
@@ -2217,12 +2217,12 @@ function pa(e) {
|
|
|
2217
2217
|
}
|
|
2218
2218
|
//#endregion
|
|
2219
2219
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.34.0/node_modules/@sentry/browser/build/npm/esm/prod/integrations/httpcontext.js
|
|
2220
|
-
var ma =
|
|
2220
|
+
var ma = B(() => ({
|
|
2221
2221
|
name: "HttpContext",
|
|
2222
2222
|
preprocessEvent(e) {
|
|
2223
2223
|
var t;
|
|
2224
|
-
if (!
|
|
2225
|
-
let n =
|
|
2224
|
+
if (!K.navigator && !K.location && !K.document) return;
|
|
2225
|
+
let n = Lr(), r = {
|
|
2226
2226
|
...n.headers,
|
|
2227
2227
|
...(t = e.request) == null ? void 0 : t.headers
|
|
2228
2228
|
};
|
|
@@ -2232,15 +2232,15 @@ var ma = z(() => ({
|
|
|
2232
2232
|
headers: r
|
|
2233
2233
|
};
|
|
2234
2234
|
}
|
|
2235
|
-
})), ha = "cause", ga = 5, _a = "LinkedErrors", va =
|
|
2235
|
+
})), ha = "cause", ga = 5, _a = "LinkedErrors", va = B(((e = {}) => {
|
|
2236
2236
|
let t = e.limit || ga, n = e.key || ha;
|
|
2237
2237
|
return {
|
|
2238
2238
|
name: _a,
|
|
2239
2239
|
preprocessEvent(e, r, i) {
|
|
2240
|
-
|
|
2240
|
+
cr(Rr, i.getOptions().stackParser, n, t, e, r);
|
|
2241
2241
|
}
|
|
2242
2242
|
};
|
|
2243
|
-
});
|
|
2243
|
+
}));
|
|
2244
2244
|
//#endregion
|
|
2245
2245
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.34.0/node_modules/@sentry/browser/build/npm/esm/prod/utils/detectBrowserExtension.js
|
|
2246
2246
|
function ya() {
|
|
@@ -2250,13 +2250,13 @@ function ya() {
|
|
|
2250
2250
|
}
|
|
2251
2251
|
function ba() {
|
|
2252
2252
|
var e;
|
|
2253
|
-
if (
|
|
2254
|
-
let t =
|
|
2253
|
+
if (K.window === void 0) return !1;
|
|
2254
|
+
let t = K;
|
|
2255
2255
|
if (t.nw) return !1;
|
|
2256
2256
|
let n = t.chrome || t.browser;
|
|
2257
2257
|
if (!(!(n == null || (e = n.runtime) == null) && e.id)) return !1;
|
|
2258
|
-
let r =
|
|
2259
|
-
return !(
|
|
2258
|
+
let r = x();
|
|
2259
|
+
return !(K === K.top && [
|
|
2260
2260
|
"chrome-extension",
|
|
2261
2261
|
"moz-extension",
|
|
2262
2262
|
"ms-browser-extension",
|
|
@@ -2267,24 +2267,24 @@ function ba() {
|
|
|
2267
2267
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.34.0/node_modules/@sentry/browser/build/npm/esm/prod/sdk.js
|
|
2268
2268
|
function xa(e) {
|
|
2269
2269
|
return [
|
|
2270
|
-
|
|
2271
|
-
|
|
2270
|
+
$n(),
|
|
2271
|
+
Yn(),
|
|
2272
2272
|
Xi(),
|
|
2273
2273
|
Bi(),
|
|
2274
2274
|
aa(),
|
|
2275
2275
|
va(),
|
|
2276
|
-
|
|
2276
|
+
gr(),
|
|
2277
2277
|
ma(),
|
|
2278
2278
|
ra()
|
|
2279
2279
|
];
|
|
2280
2280
|
}
|
|
2281
2281
|
function Sa(e = {}) {
|
|
2282
2282
|
let t = !e.skipBrowserExtensionCheck && ya(), n = e.defaultIntegrations == null ? xa() : e.defaultIntegrations;
|
|
2283
|
-
return
|
|
2283
|
+
return Bn(ti, {
|
|
2284
2284
|
...e,
|
|
2285
2285
|
enabled: t ? !1 : e.enabled,
|
|
2286
2286
|
stackParser: Me(e.stackParser || Ii),
|
|
2287
|
-
integrations:
|
|
2287
|
+
integrations: Kt({
|
|
2288
2288
|
integrations: e.integrations,
|
|
2289
2289
|
defaultIntegrations: n
|
|
2290
2290
|
}),
|
|
@@ -2293,10 +2293,10 @@ function Sa(e = {}) {
|
|
|
2293
2293
|
}
|
|
2294
2294
|
//#endregion
|
|
2295
2295
|
//#region ../../node_modules/.pnpm/@sentry+react@10.34.0_react@19.2.4/node_modules/@sentry/react/build/esm/sdk.js
|
|
2296
|
-
var Ca = /* @__PURE__ */ e(
|
|
2296
|
+
var Ca = /* @__PURE__ */ e($e());
|
|
2297
2297
|
function wa(e) {
|
|
2298
2298
|
let t = { ...e };
|
|
2299
|
-
return
|
|
2299
|
+
return Wn(t, "react"), ve("react", { version: Ca.version }), Sa(t);
|
|
2300
2300
|
}
|
|
2301
2301
|
//#endregion
|
|
2302
2302
|
//#region ../../node_modules/.pnpm/@sentry+core@10.42.0/node_modules/@sentry/core/build/esm/debug-build.js
|
|
@@ -2443,7 +2443,7 @@ function Ya(e) {
|
|
|
2443
2443
|
}
|
|
2444
2444
|
//#endregion
|
|
2445
2445
|
//#region src/tools/sentry.ts
|
|
2446
|
-
var Xa = "production", Za = "3.0
|
|
2446
|
+
var Xa = "production", Za = "3.1.0";
|
|
2447
2447
|
function Qa() {
|
|
2448
2448
|
let e = "sentry_offline_queue";
|
|
2449
2449
|
return {
|
|
@@ -2524,7 +2524,7 @@ function $a(e) {
|
|
|
2524
2524
|
beforeSend(e) {
|
|
2525
2525
|
return Xa === "production" ? e : null;
|
|
2526
2526
|
}
|
|
2527
|
-
}), e.eventId &&
|
|
2527
|
+
}), e.eventId && Ie("eventId", e.eventId), Ie("isWebview", e.isWebview), Ie("source", "vite-main"), Ue({ ip_address: "{{auto}}" }), eo();
|
|
2528
2528
|
}
|
|
2529
2529
|
function eo() {
|
|
2530
2530
|
window.addEventListener("unhandledrejection", (e) => {
|
|
@@ -2543,11 +2543,66 @@ function eo() {
|
|
|
2543
2543
|
});
|
|
2544
2544
|
}
|
|
2545
2545
|
//#endregion
|
|
2546
|
+
//#region src/tools/intercom.ts
|
|
2547
|
+
var to = "k5f7wyx2", no = !1;
|
|
2548
|
+
function ro(e) {
|
|
2549
|
+
return {
|
|
2550
|
+
subDomain: ao(),
|
|
2551
|
+
subscriptionStatus: oo(e)
|
|
2552
|
+
};
|
|
2553
|
+
}
|
|
2554
|
+
function io() {
|
|
2555
|
+
return !1;
|
|
2556
|
+
}
|
|
2557
|
+
function ao() {
|
|
2558
|
+
let e = window.location.hostname.split(".");
|
|
2559
|
+
return e.length >= 3 && e[e.length - 2] === "expofp" && e[e.length - 1] === "com" ? e[0] : "main";
|
|
2560
|
+
}
|
|
2561
|
+
function oo(e) {
|
|
2562
|
+
if ((e == null ? void 0 : e.free) === !0) return "Free";
|
|
2563
|
+
let t = e == null ? void 0 : e.trialExpiresAt;
|
|
2564
|
+
if (t) {
|
|
2565
|
+
let e = new Date(t).getTime();
|
|
2566
|
+
if (!Number.isNaN(e)) return Date.now() < e ? "Trial Active" : "Trial Expired";
|
|
2567
|
+
}
|
|
2568
|
+
return "Active";
|
|
2569
|
+
}
|
|
2570
|
+
function so() {
|
|
2571
|
+
if (document.getElementById("efp-intercom-position")) return;
|
|
2572
|
+
let e = document.createElement("style");
|
|
2573
|
+
e.id = "efp-intercom-position", e.textContent = "\n .intercom-namespace,\n .intercom-lightweight-app,\n .intercom-app,\n [class*=\"intercom-with-namespace-\"]:not(.intercom-messenger-frame) {\n z-index: 20 !important;\n }\n .intercom-lightweight-app-launcher,\n .intercom-app > [class*=\"intercom-with-namespace-\"]:not(.intercom-messenger-frame) {\n right: 10px !important;\n bottom: 50px !important;\n }\n @media (max-width: 767px) {\n .intercom-lightweight-app-launcher,\n .intercom-app > [class*=\"intercom-with-namespace-\"]:not(.intercom-messenger-frame) {\n bottom: 80px !important;\n }\n }\n ", document.head.appendChild(e);
|
|
2574
|
+
}
|
|
2575
|
+
function co(e) {
|
|
2576
|
+
if (io() || no) return;
|
|
2577
|
+
let { subDomain: t, subscriptionStatus: n } = ro(e);
|
|
2578
|
+
if (t !== "demo" && n !== "Free" && n !== "Trial Expired") return;
|
|
2579
|
+
no = !0;
|
|
2580
|
+
let r = window;
|
|
2581
|
+
r.intercomSettings = {
|
|
2582
|
+
api_base: "https://api-iam.intercom.io",
|
|
2583
|
+
app_id: to,
|
|
2584
|
+
alignment: "right",
|
|
2585
|
+
expofp_subdomain: t,
|
|
2586
|
+
expofp_subscription_status: n
|
|
2587
|
+
}, so();
|
|
2588
|
+
let i = function() {
|
|
2589
|
+
i.c(arguments);
|
|
2590
|
+
};
|
|
2591
|
+
i.q = [], i.c = function(e) {
|
|
2592
|
+
i.q.push(e);
|
|
2593
|
+
}, r.Intercom = i;
|
|
2594
|
+
let a = () => {
|
|
2595
|
+
let e = document.createElement("script");
|
|
2596
|
+
e.type = "text/javascript", e.async = !0, e.src = `https://widget.intercom.io/widget/${to}`, document.head.appendChild(e);
|
|
2597
|
+
};
|
|
2598
|
+
document.readyState === "complete" ? a() : window.addEventListener("load", a, !1);
|
|
2599
|
+
}
|
|
2600
|
+
//#endregion
|
|
2546
2601
|
//#region src/floorplan.loader.ts
|
|
2547
2602
|
function $() {
|
|
2548
2603
|
throw Error("FloorPlan not ready");
|
|
2549
2604
|
}
|
|
2550
|
-
var
|
|
2605
|
+
var lo = class {
|
|
2551
2606
|
get ready() {
|
|
2552
2607
|
return this._ready;
|
|
2553
2608
|
}
|
|
@@ -2691,7 +2746,7 @@ var to = class {
|
|
|
2691
2746
|
}
|
|
2692
2747
|
constructor(e) {
|
|
2693
2748
|
var n;
|
|
2694
|
-
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 =
|
|
2749
|
+
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 = dt && !f ? !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 = (n = e.disableRuntimeAlerts) == null ? !0 : n, this._ready = new Promise((e, t) => {
|
|
2695
2750
|
this.resolveReady = e;
|
|
2696
2751
|
});
|
|
2697
2752
|
let u = e.element;
|
|
@@ -2714,35 +2769,35 @@ var to = class {
|
|
|
2714
2769
|
let e = new URL(window.location.href).searchParams.get("allowConsent");
|
|
2715
2770
|
e && (this.allowConsent = e === "true");
|
|
2716
2771
|
}
|
|
2717
|
-
if (
|
|
2772
|
+
if (lt) {
|
|
2718
2773
|
_ = g.attachShadow({ mode: "open" });
|
|
2719
2774
|
let e = _, t = document;
|
|
2720
2775
|
e.createElement = (...e) => t.createElement(...e), e.createElementNS = (...e) => t.createElementNS(...e), e.createTextNode = (...e) => t.createTextNode(...e);
|
|
2721
2776
|
} else _ = g;
|
|
2722
2777
|
let v = document.createElement("div");
|
|
2723
|
-
if (v.style.height = "100%", v.style.width = "100%", _.appendChild(v),
|
|
2778
|
+
if (v.style.height = "100%", v.style.width = "100%", _.appendChild(v), lt && Object.defineProperty(v, "ownerDocument", { value: _ }), window.__efpShadowDOMStyleParent = lt ? _ : void 0, this.renderTarget = v, u.getAttribute("data-data-url")) throw Error("data-xxx attributes are removed, use options instead");
|
|
2724
2779
|
let y = e.legacyDataUrlBase;
|
|
2725
2780
|
window.__dataUrlBase = y, this.dataUrl = y, s.log("Instantiating ExpoFP floorplan", e.element, d);
|
|
2726
|
-
let re = y + "data.js", b = y + "wf.data.js",
|
|
2781
|
+
let re = y + "data.js", b = y + "wf.data.js", ie = y + "fp.svg.js", ae = [
|
|
2727
2782
|
i(b),
|
|
2728
2783
|
i(re),
|
|
2729
|
-
i(
|
|
2730
|
-
],
|
|
2784
|
+
i(ie)
|
|
2785
|
+
], x = 0;
|
|
2731
2786
|
this.efpStyleLoadHandler = function(e) {
|
|
2732
2787
|
let t = window.__efpStyleElements;
|
|
2733
|
-
for (;
|
|
2734
|
-
let e = t[
|
|
2735
|
-
_.appendChild(e),
|
|
2788
|
+
for (; x < t.length;) {
|
|
2789
|
+
let e = t[x];
|
|
2790
|
+
_.appendChild(e), x++;
|
|
2736
2791
|
}
|
|
2737
2792
|
}, window.addEventListener("__efpStyleLoad", this.efpStyleLoadHandler);
|
|
2738
|
-
let
|
|
2793
|
+
let S = this;
|
|
2739
2794
|
(async function() {
|
|
2740
2795
|
var e, n;
|
|
2741
|
-
await Promise.all(
|
|
2796
|
+
await Promise.all(ae);
|
|
2742
2797
|
let ee = 0;
|
|
2743
|
-
for (; window.__fpPending && !window.__fp;) await t(2e3), await i(
|
|
2798
|
+
for (; window.__fpPending && !window.__fp;) await t(2e3), await i(ie + `?v=${++ee}`);
|
|
2744
2799
|
let f = window.__data;
|
|
2745
|
-
await te();
|
|
2800
|
+
co(f), await te();
|
|
2746
2801
|
let p = new URLSearchParams(window.location.search), m, h;
|
|
2747
2802
|
if (f != null && f.trackerUrl) try {
|
|
2748
2803
|
m = new URL(f.trackerUrl), h = m.searchParams.get("expoId");
|
|
@@ -2798,7 +2853,7 @@ var to = class {
|
|
|
2798
2853
|
rt: e,
|
|
2799
2854
|
expoKey: d
|
|
2800
2855
|
}), n = await fetch(t);
|
|
2801
|
-
n.ok &&
|
|
2856
|
+
n.ok && st(f, await n.json()), f.isRebooking = n.ok;
|
|
2802
2857
|
} else f.isRebooking = !1;
|
|
2803
2858
|
} catch (e) {
|
|
2804
2859
|
console.error(e);
|
|
@@ -2813,18 +2868,18 @@ var to = class {
|
|
|
2813
2868
|
c("Inter", l + "fonts/inter-500.woff2", { weight: 500 }),
|
|
2814
2869
|
c("Inter", l + "fonts/inter-600.woff2", { weight: 600 }),
|
|
2815
2870
|
c("efp-symbols", l + "fonts/efp-symbols.woff", { weight: 400 }),
|
|
2816
|
-
|
|
2817
|
-
|
|
2871
|
+
at(f, _),
|
|
2872
|
+
ot(S.icons)
|
|
2818
2873
|
];
|
|
2819
|
-
await Promise.all(y),
|
|
2874
|
+
await Promise.all(y), S.enableRotation = (e = f == null ? void 0 : f.enableRotation) == null ? !1 : e, S.alwaysShowSidebar = (n = f == null ? void 0 : f.alwaysShowSidebar) == null ? !1 : n, s.log("Data loaded");
|
|
2820
2875
|
let { default: re } = await import(
|
|
2821
2876
|
/* webpackChunkName: "floorplan" */
|
|
2822
|
-
"./floorplan.ready-
|
|
2877
|
+
"./floorplan.ready-m2MeP7t6.js"
|
|
2823
2878
|
);
|
|
2824
2879
|
for (document.querySelectorAll(".expofp-floorplan-loader").forEach((e) => e.remove()); u.firstChild && u.firstChild !== g;) u.removeChild(u.firstChild);
|
|
2825
|
-
Object.setPrototypeOf(
|
|
2880
|
+
Object.setPrototypeOf(S, re.prototype).init();
|
|
2826
2881
|
})();
|
|
2827
2882
|
}
|
|
2828
2883
|
};
|
|
2829
2884
|
//#endregion
|
|
2830
|
-
export {
|
|
2885
|
+
export { tt as a, Ut as i, X as n, K as r, lo as t };
|