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