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