@konnectio/core 4.0.56-rc48 → 4.0.56-rc49
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/{ActionField-BmdEaU7R.js → ActionField-B9sCmWFD.js} +11 -11
- package/dist/ActionField-B9sCmWFD.js.br +0 -0
- package/dist/{AvailabilitySkeleton-D-WEI9Yg.js → AvailabilitySkeleton-sGz2nSbb.js} +35 -35
- package/dist/AvailabilitySkeleton-sGz2nSbb.js.br +0 -0
- package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-DT5BjPBT.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CPIlC8FY.js} +4 -4
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CPIlC8FY.js.br +0 -0
- package/dist/{CheckoutWindow-DdkwNLy3.js → CheckoutWindow-CrzoIK1a.js} +14 -14
- package/dist/CheckoutWindow-CrzoIK1a.js.br +0 -0
- package/dist/{ErrorMessage-Cyrsqt8X.js → ErrorMessage-SZPwCpu-.js} +4 -4
- package/dist/ErrorMessage-SZPwCpu-.js.br +0 -0
- package/dist/{EventAvailabilityForm-BBVSXf1v.js → EventAvailabilityForm-DFuang-b.js} +27 -27
- package/dist/EventAvailabilityForm-DFuang-b.js.br +0 -0
- package/dist/{Field-cLYq6dB7.js → Field-CLXqVSAA.js} +12 -12
- package/dist/Field-CLXqVSAA.js.br +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DdW6bv1b.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CHFFlMbv.js} +2151 -2132
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CHFFlMbv.js.br +0 -0
- package/dist/{TermsOfService-CmEZmmhy.js → TermsOfService-DBwm3BP2.js} +7 -7
- package/dist/TermsOfService-DBwm3BP2.js.br +0 -0
- package/dist/_-BOjhcjBA.js +12 -0
- package/dist/{_.vue_vue_type_style_index_0_lang-CYFSipoN.js → _.vue_vue_type_style_index_0_lang-BNx_Z1PF.js} +11 -11
- package/dist/_.vue_vue_type_style_index_0_lang-BNx_Z1PF.js.br +0 -0
- package/dist/availability.js +40 -41
- package/dist/availability.js.br +0 -0
- package/dist/event.js +113 -113
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +26 -27
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +127 -127
- package/dist/gift-card.js.br +0 -0
- package/dist/{giftCard-B9vV1-Jc.js → giftCard-hEwcI_Rx.js} +11 -11
- package/dist/giftCard-hEwcI_Rx.js.br +0 -0
- package/dist/hotel.js +620 -618
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-CpLUlFxC.js → masonry.plugin-C474cwA-.js} +1026 -1009
- package/dist/masonry.plugin-C474cwA-.js.br +0 -0
- package/dist/navigation.js +2 -2
- package/dist/polyfill.js +800 -800
- package/dist/polyfill.js.br +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/dist/tracing-pAUg9FFo.js +11818 -0
- package/dist/tracing-pAUg9FFo.js.br +0 -0
- package/package.json +1 -1
- package/dist/ActionField-BmdEaU7R.js.br +0 -0
- package/dist/AvailabilitySkeleton-D-WEI9Yg.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-DT5BjPBT.js.br +0 -0
- package/dist/CheckoutWindow-DdkwNLy3.js.br +0 -0
- package/dist/ErrorMessage-Cyrsqt8X.js.br +0 -0
- package/dist/EventAvailabilityForm-BBVSXf1v.js.br +0 -0
- package/dist/Field-cLYq6dB7.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DdW6bv1b.js.br +0 -0
- package/dist/TermsOfService-CmEZmmhy.js.br +0 -0
- package/dist/_-BIlhnQ1K.js +0 -12
- package/dist/_.vue_vue_type_style_index_0_lang-CYFSipoN.js.br +0 -0
- package/dist/_commonjsHelpers-ytV6SVHa.js +0 -9541
- package/dist/_commonjsHelpers-ytV6SVHa.js.br +0 -0
- package/dist/giftCard-B9vV1-Jc.js.br +0 -0
- package/dist/masonry.plugin-CpLUlFxC.js.br +0 -0
- package/dist/sentry-D1A53_C5.js +0 -18
- package/dist/tracing-wxeFiHIa.js +0 -2287
- package/dist/tracing-wxeFiHIa.js.br +0 -0
package/dist/tracing-wxeFiHIa.js
DELETED
|
@@ -1,2287 +0,0 @@
|
|
|
1
|
-
(function() {
|
|
2
|
-
try {
|
|
3
|
-
var t = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, e = new Error().stack;
|
|
4
|
-
e && (t._sentryDebugIds = t._sentryDebugIds || {}, t._sentryDebugIds[e] = "d496f9a2-6f1e-40d5-bd78-ed6a3c6a9bae", t._sentryDebugIdIdentifier = "sentry-dbid-d496f9a2-6f1e-40d5-bd78-ed6a3c6a9bae");
|
|
5
|
-
} catch {
|
|
6
|
-
}
|
|
7
|
-
})();
|
|
8
|
-
const St = Object.prototype.toString;
|
|
9
|
-
function Gt(t) {
|
|
10
|
-
switch (St.call(t)) {
|
|
11
|
-
case "[object Error]":
|
|
12
|
-
case "[object Exception]":
|
|
13
|
-
case "[object DOMException]":
|
|
14
|
-
return !0;
|
|
15
|
-
default:
|
|
16
|
-
return U(t, Error);
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
function N(t, e) {
|
|
20
|
-
return St.call(t) === `[object ${e}]`;
|
|
21
|
-
}
|
|
22
|
-
function cn(t) {
|
|
23
|
-
return N(t, "ErrorEvent");
|
|
24
|
-
}
|
|
25
|
-
function un(t) {
|
|
26
|
-
return N(t, "DOMError");
|
|
27
|
-
}
|
|
28
|
-
function fn(t) {
|
|
29
|
-
return N(t, "DOMException");
|
|
30
|
-
}
|
|
31
|
-
function M(t) {
|
|
32
|
-
return N(t, "String");
|
|
33
|
-
}
|
|
34
|
-
function Bt(t) {
|
|
35
|
-
return typeof t == "object" && t !== null && "__sentry_template_string__" in t && "__sentry_template_values__" in t;
|
|
36
|
-
}
|
|
37
|
-
function pn(t) {
|
|
38
|
-
return t === null || Bt(t) || typeof t != "object" && typeof t != "function";
|
|
39
|
-
}
|
|
40
|
-
function Q(t) {
|
|
41
|
-
return N(t, "Object");
|
|
42
|
-
}
|
|
43
|
-
function Ft(t) {
|
|
44
|
-
return typeof Event < "u" && U(t, Event);
|
|
45
|
-
}
|
|
46
|
-
function Ht(t) {
|
|
47
|
-
return typeof Element < "u" && U(t, Element);
|
|
48
|
-
}
|
|
49
|
-
function vt(t) {
|
|
50
|
-
return N(t, "RegExp");
|
|
51
|
-
}
|
|
52
|
-
function Z(t) {
|
|
53
|
-
return !!(t && t.then && typeof t.then == "function");
|
|
54
|
-
}
|
|
55
|
-
function Yt(t) {
|
|
56
|
-
return Q(t) && "nativeEvent" in t && "preventDefault" in t && "stopPropagation" in t;
|
|
57
|
-
}
|
|
58
|
-
function zt(t) {
|
|
59
|
-
return typeof t == "number" && t !== t;
|
|
60
|
-
}
|
|
61
|
-
function U(t, e) {
|
|
62
|
-
try {
|
|
63
|
-
return t instanceof e;
|
|
64
|
-
} catch {
|
|
65
|
-
return !1;
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
function yt(t) {
|
|
69
|
-
return !!(typeof t == "object" && t !== null && (t.__isVue || t._isVue));
|
|
70
|
-
}
|
|
71
|
-
function D(t, e = 0) {
|
|
72
|
-
return typeof t != "string" || e === 0 || t.length <= e ? t : `${t.slice(0, e)}...`;
|
|
73
|
-
}
|
|
74
|
-
function ln(t, e) {
|
|
75
|
-
if (!Array.isArray(t))
|
|
76
|
-
return "";
|
|
77
|
-
const n = [];
|
|
78
|
-
for (let r = 0; r < t.length; r++) {
|
|
79
|
-
const s = t[r];
|
|
80
|
-
try {
|
|
81
|
-
yt(s) ? n.push("[VueViewModel]") : n.push(String(s));
|
|
82
|
-
} catch {
|
|
83
|
-
n.push("[value cannot be serialized]");
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
return n.join(e);
|
|
87
|
-
}
|
|
88
|
-
function qt(t, e, n = !1) {
|
|
89
|
-
return M(t) ? vt(e) ? e.test(t) : M(e) ? n ? t === e : t.includes(e) : !1 : !1;
|
|
90
|
-
}
|
|
91
|
-
function dn(t, e = [], n = !1) {
|
|
92
|
-
return e.some((r) => qt(t, r, n));
|
|
93
|
-
}
|
|
94
|
-
function P(t) {
|
|
95
|
-
return t && t.Math == Math ? t : void 0;
|
|
96
|
-
}
|
|
97
|
-
const _ = typeof globalThis == "object" && P(globalThis) || // eslint-disable-next-line no-restricted-globals
|
|
98
|
-
typeof window == "object" && P(window) || typeof self == "object" && P(self) || typeof global == "object" && P(global) || /* @__PURE__ */ function() {
|
|
99
|
-
return this;
|
|
100
|
-
}() || {};
|
|
101
|
-
function Vt() {
|
|
102
|
-
return _;
|
|
103
|
-
}
|
|
104
|
-
function Et(t, e, n) {
|
|
105
|
-
const r = n || _, s = r.__SENTRY__ = r.__SENTRY__ || {};
|
|
106
|
-
return s[t] || (s[t] = e());
|
|
107
|
-
}
|
|
108
|
-
const I = Vt(), Jt = 80;
|
|
109
|
-
function Kt(t, e = {}) {
|
|
110
|
-
if (!t)
|
|
111
|
-
return "<unknown>";
|
|
112
|
-
try {
|
|
113
|
-
let n = t;
|
|
114
|
-
const r = 5, s = [];
|
|
115
|
-
let i = 0, o = 0;
|
|
116
|
-
const a = " > ", c = a.length;
|
|
117
|
-
let u;
|
|
118
|
-
const f = Array.isArray(e) ? e : e.keyAttrs, p = !Array.isArray(e) && e.maxStringLength || Jt;
|
|
119
|
-
for (; n && i++ < r && (u = Wt(n, f), !(u === "html" || i > 1 && o + s.length * c + u.length >= p)); )
|
|
120
|
-
s.push(u), o += u.length, n = n.parentNode;
|
|
121
|
-
return s.reverse().join(a);
|
|
122
|
-
} catch {
|
|
123
|
-
return "<unknown>";
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
function Wt(t, e) {
|
|
127
|
-
const n = t, r = [];
|
|
128
|
-
let s, i, o, a, c;
|
|
129
|
-
if (!n || !n.tagName)
|
|
130
|
-
return "";
|
|
131
|
-
if (I.HTMLElement && n instanceof HTMLElement && n.dataset && n.dataset.sentryComponent)
|
|
132
|
-
return n.dataset.sentryComponent;
|
|
133
|
-
r.push(n.tagName.toLowerCase());
|
|
134
|
-
const u = e && e.length ? e.filter((p) => n.getAttribute(p)).map((p) => [p, n.getAttribute(p)]) : null;
|
|
135
|
-
if (u && u.length)
|
|
136
|
-
u.forEach((p) => {
|
|
137
|
-
r.push(`[${p[0]}="${p[1]}"]`);
|
|
138
|
-
});
|
|
139
|
-
else if (n.id && r.push(`#${n.id}`), s = n.className, s && M(s))
|
|
140
|
-
for (i = s.split(/\s+/), c = 0; c < i.length; c++)
|
|
141
|
-
r.push(`.${i[c]}`);
|
|
142
|
-
const f = ["aria-label", "type", "name", "title", "alt"];
|
|
143
|
-
for (c = 0; c < f.length; c++)
|
|
144
|
-
o = f[c], a = n.getAttribute(o), a && r.push(`[${o}="${a}"]`);
|
|
145
|
-
return r.join("");
|
|
146
|
-
}
|
|
147
|
-
function gn() {
|
|
148
|
-
try {
|
|
149
|
-
return I.document.location.href;
|
|
150
|
-
} catch {
|
|
151
|
-
return "";
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
function _n(t) {
|
|
155
|
-
return I.document && I.document.querySelector ? I.document.querySelector(t) : null;
|
|
156
|
-
}
|
|
157
|
-
function hn(t) {
|
|
158
|
-
if (!I.HTMLElement)
|
|
159
|
-
return null;
|
|
160
|
-
let e = t;
|
|
161
|
-
const n = 5;
|
|
162
|
-
for (let r = 0; r < n; r++) {
|
|
163
|
-
if (!e)
|
|
164
|
-
return null;
|
|
165
|
-
if (e instanceof HTMLElement && e.dataset.sentryComponent)
|
|
166
|
-
return e.dataset.sentryComponent;
|
|
167
|
-
e = e.parentNode;
|
|
168
|
-
}
|
|
169
|
-
return null;
|
|
170
|
-
}
|
|
171
|
-
const tt = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, Xt = "Sentry Logger ", st = [
|
|
172
|
-
"debug",
|
|
173
|
-
"info",
|
|
174
|
-
"warn",
|
|
175
|
-
"error",
|
|
176
|
-
"log",
|
|
177
|
-
"assert",
|
|
178
|
-
"trace"
|
|
179
|
-
], it = {};
|
|
180
|
-
function et(t) {
|
|
181
|
-
if (!("console" in _))
|
|
182
|
-
return t();
|
|
183
|
-
const e = _.console, n = {}, r = Object.keys(it);
|
|
184
|
-
r.forEach((s) => {
|
|
185
|
-
const i = it[s];
|
|
186
|
-
n[s] = e[s], e[s] = i;
|
|
187
|
-
});
|
|
188
|
-
try {
|
|
189
|
-
return t();
|
|
190
|
-
} finally {
|
|
191
|
-
r.forEach((s) => {
|
|
192
|
-
e[s] = n[s];
|
|
193
|
-
});
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
function Qt() {
|
|
197
|
-
let t = !1;
|
|
198
|
-
const e = {
|
|
199
|
-
enable: () => {
|
|
200
|
-
t = !0;
|
|
201
|
-
},
|
|
202
|
-
disable: () => {
|
|
203
|
-
t = !1;
|
|
204
|
-
},
|
|
205
|
-
isEnabled: () => t
|
|
206
|
-
};
|
|
207
|
-
return tt ? st.forEach((n) => {
|
|
208
|
-
e[n] = (...r) => {
|
|
209
|
-
t && et(() => {
|
|
210
|
-
_.console[n](`${Xt}[${n}]:`, ...r);
|
|
211
|
-
});
|
|
212
|
-
};
|
|
213
|
-
}) : st.forEach((n) => {
|
|
214
|
-
e[n] = () => {
|
|
215
|
-
};
|
|
216
|
-
}), e;
|
|
217
|
-
}
|
|
218
|
-
const h = Qt();
|
|
219
|
-
function mn(t, e, n) {
|
|
220
|
-
if (!(e in t))
|
|
221
|
-
return;
|
|
222
|
-
const r = t[e], s = n(r);
|
|
223
|
-
typeof s == "function" && Zt(s, r), t[e] = s;
|
|
224
|
-
}
|
|
225
|
-
function L(t, e, n) {
|
|
226
|
-
try {
|
|
227
|
-
Object.defineProperty(t, e, {
|
|
228
|
-
// enumerable: false, // the default, so we can save on bundle size by not explicitly setting it
|
|
229
|
-
value: n,
|
|
230
|
-
writable: !0,
|
|
231
|
-
configurable: !0
|
|
232
|
-
});
|
|
233
|
-
} catch {
|
|
234
|
-
tt && h.log(`Failed to add non-enumerable property "${e}" to object`, t);
|
|
235
|
-
}
|
|
236
|
-
}
|
|
237
|
-
function Zt(t, e) {
|
|
238
|
-
try {
|
|
239
|
-
const n = e.prototype || {};
|
|
240
|
-
t.prototype = e.prototype = n, L(t, "__sentry_original__", e);
|
|
241
|
-
} catch {
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
function Sn(t) {
|
|
245
|
-
return t.__sentry_original__;
|
|
246
|
-
}
|
|
247
|
-
function yn(t) {
|
|
248
|
-
return Object.keys(t).map((e) => `${encodeURIComponent(e)}=${encodeURIComponent(t[e])}`).join("&");
|
|
249
|
-
}
|
|
250
|
-
function bt(t) {
|
|
251
|
-
if (Gt(t))
|
|
252
|
-
return {
|
|
253
|
-
message: t.message,
|
|
254
|
-
name: t.name,
|
|
255
|
-
stack: t.stack,
|
|
256
|
-
...at(t)
|
|
257
|
-
};
|
|
258
|
-
if (Ft(t)) {
|
|
259
|
-
const e = {
|
|
260
|
-
type: t.type,
|
|
261
|
-
target: ot(t.target),
|
|
262
|
-
currentTarget: ot(t.currentTarget),
|
|
263
|
-
...at(t)
|
|
264
|
-
};
|
|
265
|
-
return typeof CustomEvent < "u" && U(t, CustomEvent) && (e.detail = t.detail), e;
|
|
266
|
-
} else
|
|
267
|
-
return t;
|
|
268
|
-
}
|
|
269
|
-
function ot(t) {
|
|
270
|
-
try {
|
|
271
|
-
return Ht(t) ? Kt(t) : Object.prototype.toString.call(t);
|
|
272
|
-
} catch {
|
|
273
|
-
return "<unknown>";
|
|
274
|
-
}
|
|
275
|
-
}
|
|
276
|
-
function at(t) {
|
|
277
|
-
if (typeof t == "object" && t !== null) {
|
|
278
|
-
const e = {};
|
|
279
|
-
for (const n in t)
|
|
280
|
-
Object.prototype.hasOwnProperty.call(t, n) && (e[n] = t[n]);
|
|
281
|
-
return e;
|
|
282
|
-
} else
|
|
283
|
-
return {};
|
|
284
|
-
}
|
|
285
|
-
function En(t, e = 40) {
|
|
286
|
-
const n = Object.keys(bt(t));
|
|
287
|
-
if (n.sort(), !n.length)
|
|
288
|
-
return "[object has no keys]";
|
|
289
|
-
if (n[0].length >= e)
|
|
290
|
-
return D(n[0], e);
|
|
291
|
-
for (let r = n.length; r > 0; r--) {
|
|
292
|
-
const s = n.slice(0, r).join(", ");
|
|
293
|
-
if (!(s.length > e))
|
|
294
|
-
return r === n.length ? s : D(s, e);
|
|
295
|
-
}
|
|
296
|
-
return "";
|
|
297
|
-
}
|
|
298
|
-
function O(t) {
|
|
299
|
-
return J(t, /* @__PURE__ */ new Map());
|
|
300
|
-
}
|
|
301
|
-
function J(t, e) {
|
|
302
|
-
if (te(t)) {
|
|
303
|
-
const n = e.get(t);
|
|
304
|
-
if (n !== void 0)
|
|
305
|
-
return n;
|
|
306
|
-
const r = {};
|
|
307
|
-
e.set(t, r);
|
|
308
|
-
for (const s of Object.keys(t))
|
|
309
|
-
typeof t[s] < "u" && (r[s] = J(t[s], e));
|
|
310
|
-
return r;
|
|
311
|
-
}
|
|
312
|
-
if (Array.isArray(t)) {
|
|
313
|
-
const n = e.get(t);
|
|
314
|
-
if (n !== void 0)
|
|
315
|
-
return n;
|
|
316
|
-
const r = [];
|
|
317
|
-
return e.set(t, r), t.forEach((s) => {
|
|
318
|
-
r.push(J(s, e));
|
|
319
|
-
}), r;
|
|
320
|
-
}
|
|
321
|
-
return t;
|
|
322
|
-
}
|
|
323
|
-
function te(t) {
|
|
324
|
-
if (!Q(t))
|
|
325
|
-
return !1;
|
|
326
|
-
try {
|
|
327
|
-
const e = Object.getPrototypeOf(t).constructor.name;
|
|
328
|
-
return !e || e === "Object";
|
|
329
|
-
} catch {
|
|
330
|
-
return !0;
|
|
331
|
-
}
|
|
332
|
-
}
|
|
333
|
-
const Tt = 50, ct = /\(error: (.*)\)/, ut = /captureMessage|captureException/;
|
|
334
|
-
function ee(...t) {
|
|
335
|
-
const e = t.sort((n, r) => n[0] - r[0]).map((n) => n[1]);
|
|
336
|
-
return (n, r = 0) => {
|
|
337
|
-
const s = [], i = n.split(`
|
|
338
|
-
`);
|
|
339
|
-
for (let o = r; o < i.length; o++) {
|
|
340
|
-
const a = i[o];
|
|
341
|
-
if (a.length > 1024)
|
|
342
|
-
continue;
|
|
343
|
-
const c = ct.test(a) ? a.replace(ct, "$1") : a;
|
|
344
|
-
if (!c.match(/\S*Error: /)) {
|
|
345
|
-
for (const u of e) {
|
|
346
|
-
const f = u(c);
|
|
347
|
-
if (f) {
|
|
348
|
-
s.push(f);
|
|
349
|
-
break;
|
|
350
|
-
}
|
|
351
|
-
}
|
|
352
|
-
if (s.length >= Tt)
|
|
353
|
-
break;
|
|
354
|
-
}
|
|
355
|
-
}
|
|
356
|
-
return ne(s);
|
|
357
|
-
};
|
|
358
|
-
}
|
|
359
|
-
function bn(t) {
|
|
360
|
-
return Array.isArray(t) ? ee(...t) : t;
|
|
361
|
-
}
|
|
362
|
-
function ne(t) {
|
|
363
|
-
if (!t.length)
|
|
364
|
-
return [];
|
|
365
|
-
const e = Array.from(t);
|
|
366
|
-
return /sentryWrapped/.test(e[e.length - 1].function || "") && e.pop(), e.reverse(), ut.test(e[e.length - 1].function || "") && (e.pop(), ut.test(e[e.length - 1].function || "") && e.pop()), e.slice(0, Tt).map((n) => ({
|
|
367
|
-
...n,
|
|
368
|
-
filename: n.filename || e[e.length - 1].filename,
|
|
369
|
-
function: n.function || "?"
|
|
370
|
-
}));
|
|
371
|
-
}
|
|
372
|
-
const z = "<anonymous>";
|
|
373
|
-
function re(t) {
|
|
374
|
-
try {
|
|
375
|
-
return !t || typeof t != "function" ? z : t.name || z;
|
|
376
|
-
} catch {
|
|
377
|
-
return z;
|
|
378
|
-
}
|
|
379
|
-
}
|
|
380
|
-
function l() {
|
|
381
|
-
const t = _, e = t.crypto || t.msCrypto;
|
|
382
|
-
let n = () => Math.random() * 16;
|
|
383
|
-
try {
|
|
384
|
-
if (e && e.randomUUID)
|
|
385
|
-
return e.randomUUID().replace(/-/g, "");
|
|
386
|
-
e && e.getRandomValues && (n = () => {
|
|
387
|
-
const r = new Uint8Array(1);
|
|
388
|
-
return e.getRandomValues(r), r[0];
|
|
389
|
-
});
|
|
390
|
-
} catch {
|
|
391
|
-
}
|
|
392
|
-
return ("10000000100040008000" + 1e11).replace(
|
|
393
|
-
/[018]/g,
|
|
394
|
-
(r) => (
|
|
395
|
-
// eslint-disable-next-line no-bitwise
|
|
396
|
-
(r ^ (n() & 15) >> r / 4).toString(16)
|
|
397
|
-
)
|
|
398
|
-
);
|
|
399
|
-
}
|
|
400
|
-
function Ot(t) {
|
|
401
|
-
return t.exception && t.exception.values ? t.exception.values[0] : void 0;
|
|
402
|
-
}
|
|
403
|
-
function Tn(t) {
|
|
404
|
-
const { message: e, event_id: n } = t;
|
|
405
|
-
if (e)
|
|
406
|
-
return e;
|
|
407
|
-
const r = Ot(t);
|
|
408
|
-
return r ? r.type && r.value ? `${r.type}: ${r.value}` : r.type || r.value || n || "<unknown>" : n || "<unknown>";
|
|
409
|
-
}
|
|
410
|
-
function On(t, e, n) {
|
|
411
|
-
const r = t.exception = t.exception || {}, s = r.values = r.values || [], i = s[0] = s[0] || {};
|
|
412
|
-
i.value || (i.value = e || ""), i.type || (i.type = n || "Error");
|
|
413
|
-
}
|
|
414
|
-
function se(t, e) {
|
|
415
|
-
const n = Ot(t);
|
|
416
|
-
if (!n)
|
|
417
|
-
return;
|
|
418
|
-
const r = { type: "generic", handled: !0 }, s = n.mechanism;
|
|
419
|
-
if (n.mechanism = { ...r, ...s, ...e }, e && "data" in e) {
|
|
420
|
-
const i = { ...s && s.data, ...e.data };
|
|
421
|
-
n.mechanism.data = i;
|
|
422
|
-
}
|
|
423
|
-
}
|
|
424
|
-
function xn(t) {
|
|
425
|
-
if (t && t.__sentry_captured__)
|
|
426
|
-
return !0;
|
|
427
|
-
try {
|
|
428
|
-
L(t, "__sentry_captured__", !0);
|
|
429
|
-
} catch {
|
|
430
|
-
}
|
|
431
|
-
return !1;
|
|
432
|
-
}
|
|
433
|
-
function ie(t) {
|
|
434
|
-
return Array.isArray(t) ? t : [t];
|
|
435
|
-
}
|
|
436
|
-
function oe() {
|
|
437
|
-
const t = typeof WeakSet == "function", e = t ? /* @__PURE__ */ new WeakSet() : [];
|
|
438
|
-
function n(s) {
|
|
439
|
-
if (t)
|
|
440
|
-
return e.has(s) ? !0 : (e.add(s), !1);
|
|
441
|
-
for (let i = 0; i < e.length; i++)
|
|
442
|
-
if (e[i] === s)
|
|
443
|
-
return !0;
|
|
444
|
-
return e.push(s), !1;
|
|
445
|
-
}
|
|
446
|
-
function r(s) {
|
|
447
|
-
if (t)
|
|
448
|
-
e.delete(s);
|
|
449
|
-
else
|
|
450
|
-
for (let i = 0; i < e.length; i++)
|
|
451
|
-
if (e[i] === s) {
|
|
452
|
-
e.splice(i, 1);
|
|
453
|
-
break;
|
|
454
|
-
}
|
|
455
|
-
}
|
|
456
|
-
return [n, r];
|
|
457
|
-
}
|
|
458
|
-
function T(t, e = 100, n = 1 / 0) {
|
|
459
|
-
try {
|
|
460
|
-
return K("", t, e, n);
|
|
461
|
-
} catch (r) {
|
|
462
|
-
return { ERROR: `**non-serializable** (${r})` };
|
|
463
|
-
}
|
|
464
|
-
}
|
|
465
|
-
function ae(t, e = 3, n = 100 * 1024) {
|
|
466
|
-
const r = T(t, e);
|
|
467
|
-
return pe(r) > n ? ae(t, e - 1, n) : r;
|
|
468
|
-
}
|
|
469
|
-
function K(t, e, n = 1 / 0, r = 1 / 0, s = oe()) {
|
|
470
|
-
const [i, o] = s;
|
|
471
|
-
if (e == null || // this matches null and undefined -> eqeq not eqeqeq
|
|
472
|
-
["number", "boolean", "string"].includes(typeof e) && !zt(e))
|
|
473
|
-
return e;
|
|
474
|
-
const a = ce(t, e);
|
|
475
|
-
if (!a.startsWith("[object "))
|
|
476
|
-
return a;
|
|
477
|
-
if (e.__sentry_skip_normalization__)
|
|
478
|
-
return e;
|
|
479
|
-
const c = typeof e.__sentry_override_normalization_depth__ == "number" ? e.__sentry_override_normalization_depth__ : n;
|
|
480
|
-
if (c === 0)
|
|
481
|
-
return a.replace("object ", "");
|
|
482
|
-
if (i(e))
|
|
483
|
-
return "[Circular ~]";
|
|
484
|
-
const u = e;
|
|
485
|
-
if (u && typeof u.toJSON == "function")
|
|
486
|
-
try {
|
|
487
|
-
const g = u.toJSON();
|
|
488
|
-
return K("", g, c - 1, r, s);
|
|
489
|
-
} catch {
|
|
490
|
-
}
|
|
491
|
-
const f = Array.isArray(e) ? [] : {};
|
|
492
|
-
let p = 0;
|
|
493
|
-
const d = bt(e);
|
|
494
|
-
for (const g in d) {
|
|
495
|
-
if (!Object.prototype.hasOwnProperty.call(d, g))
|
|
496
|
-
continue;
|
|
497
|
-
if (p >= r) {
|
|
498
|
-
f[g] = "[MaxProperties ~]";
|
|
499
|
-
break;
|
|
500
|
-
}
|
|
501
|
-
const C = d[g];
|
|
502
|
-
f[g] = K(g, C, c - 1, r, s), p++;
|
|
503
|
-
}
|
|
504
|
-
return o(e), f;
|
|
505
|
-
}
|
|
506
|
-
function ce(t, e) {
|
|
507
|
-
try {
|
|
508
|
-
if (t === "domain" && e && typeof e == "object" && e._events)
|
|
509
|
-
return "[Domain]";
|
|
510
|
-
if (t === "domainEmitter")
|
|
511
|
-
return "[DomainEmitter]";
|
|
512
|
-
if (typeof global < "u" && e === global)
|
|
513
|
-
return "[Global]";
|
|
514
|
-
if (typeof window < "u" && e === window)
|
|
515
|
-
return "[Window]";
|
|
516
|
-
if (typeof document < "u" && e === document)
|
|
517
|
-
return "[Document]";
|
|
518
|
-
if (yt(e))
|
|
519
|
-
return "[VueViewModel]";
|
|
520
|
-
if (Yt(e))
|
|
521
|
-
return "[SyntheticEvent]";
|
|
522
|
-
if (typeof e == "number" && e !== e)
|
|
523
|
-
return "[NaN]";
|
|
524
|
-
if (typeof e == "function")
|
|
525
|
-
return `[Function: ${re(e)}]`;
|
|
526
|
-
if (typeof e == "symbol")
|
|
527
|
-
return `[${String(e)}]`;
|
|
528
|
-
if (typeof e == "bigint")
|
|
529
|
-
return `[BigInt: ${String(e)}]`;
|
|
530
|
-
const n = ue(e);
|
|
531
|
-
return /^HTML(\w*)Element$/.test(n) ? `[HTMLElement: ${n}]` : `[object ${n}]`;
|
|
532
|
-
} catch (n) {
|
|
533
|
-
return `**non-serializable** (${n})`;
|
|
534
|
-
}
|
|
535
|
-
}
|
|
536
|
-
function ue(t) {
|
|
537
|
-
const e = Object.getPrototypeOf(t);
|
|
538
|
-
return e ? e.constructor.name : "null prototype";
|
|
539
|
-
}
|
|
540
|
-
function fe(t) {
|
|
541
|
-
return ~-encodeURI(t).split(/%..|./).length;
|
|
542
|
-
}
|
|
543
|
-
function pe(t) {
|
|
544
|
-
return fe(JSON.stringify(t));
|
|
545
|
-
}
|
|
546
|
-
var y;
|
|
547
|
-
(function(t) {
|
|
548
|
-
t[t.PENDING = 0] = "PENDING";
|
|
549
|
-
const n = 1;
|
|
550
|
-
t[t.RESOLVED = n] = "RESOLVED";
|
|
551
|
-
const r = 2;
|
|
552
|
-
t[t.REJECTED = r] = "REJECTED";
|
|
553
|
-
})(y || (y = {}));
|
|
554
|
-
function Cn(t) {
|
|
555
|
-
return new S((e) => {
|
|
556
|
-
e(t);
|
|
557
|
-
});
|
|
558
|
-
}
|
|
559
|
-
function In(t) {
|
|
560
|
-
return new S((e, n) => {
|
|
561
|
-
n(t);
|
|
562
|
-
});
|
|
563
|
-
}
|
|
564
|
-
class S {
|
|
565
|
-
constructor(e) {
|
|
566
|
-
S.prototype.__init.call(this), S.prototype.__init2.call(this), S.prototype.__init3.call(this), S.prototype.__init4.call(this), this._state = y.PENDING, this._handlers = [];
|
|
567
|
-
try {
|
|
568
|
-
e(this._resolve, this._reject);
|
|
569
|
-
} catch (n) {
|
|
570
|
-
this._reject(n);
|
|
571
|
-
}
|
|
572
|
-
}
|
|
573
|
-
/** JSDoc */
|
|
574
|
-
then(e, n) {
|
|
575
|
-
return new S((r, s) => {
|
|
576
|
-
this._handlers.push([
|
|
577
|
-
!1,
|
|
578
|
-
(i) => {
|
|
579
|
-
if (!e)
|
|
580
|
-
r(i);
|
|
581
|
-
else
|
|
582
|
-
try {
|
|
583
|
-
r(e(i));
|
|
584
|
-
} catch (o) {
|
|
585
|
-
s(o);
|
|
586
|
-
}
|
|
587
|
-
},
|
|
588
|
-
(i) => {
|
|
589
|
-
if (!n)
|
|
590
|
-
s(i);
|
|
591
|
-
else
|
|
592
|
-
try {
|
|
593
|
-
r(n(i));
|
|
594
|
-
} catch (o) {
|
|
595
|
-
s(o);
|
|
596
|
-
}
|
|
597
|
-
}
|
|
598
|
-
]), this._executeHandlers();
|
|
599
|
-
});
|
|
600
|
-
}
|
|
601
|
-
/** JSDoc */
|
|
602
|
-
catch(e) {
|
|
603
|
-
return this.then((n) => n, e);
|
|
604
|
-
}
|
|
605
|
-
/** JSDoc */
|
|
606
|
-
finally(e) {
|
|
607
|
-
return new S((n, r) => {
|
|
608
|
-
let s, i;
|
|
609
|
-
return this.then(
|
|
610
|
-
(o) => {
|
|
611
|
-
i = !1, s = o, e && e();
|
|
612
|
-
},
|
|
613
|
-
(o) => {
|
|
614
|
-
i = !0, s = o, e && e();
|
|
615
|
-
}
|
|
616
|
-
).then(() => {
|
|
617
|
-
if (i) {
|
|
618
|
-
r(s);
|
|
619
|
-
return;
|
|
620
|
-
}
|
|
621
|
-
n(s);
|
|
622
|
-
});
|
|
623
|
-
});
|
|
624
|
-
}
|
|
625
|
-
/** JSDoc */
|
|
626
|
-
__init() {
|
|
627
|
-
this._resolve = (e) => {
|
|
628
|
-
this._setResult(y.RESOLVED, e);
|
|
629
|
-
};
|
|
630
|
-
}
|
|
631
|
-
/** JSDoc */
|
|
632
|
-
__init2() {
|
|
633
|
-
this._reject = (e) => {
|
|
634
|
-
this._setResult(y.REJECTED, e);
|
|
635
|
-
};
|
|
636
|
-
}
|
|
637
|
-
/** JSDoc */
|
|
638
|
-
__init3() {
|
|
639
|
-
this._setResult = (e, n) => {
|
|
640
|
-
if (this._state === y.PENDING) {
|
|
641
|
-
if (Z(n)) {
|
|
642
|
-
n.then(this._resolve, this._reject);
|
|
643
|
-
return;
|
|
644
|
-
}
|
|
645
|
-
this._state = e, this._value = n, this._executeHandlers();
|
|
646
|
-
}
|
|
647
|
-
};
|
|
648
|
-
}
|
|
649
|
-
/** JSDoc */
|
|
650
|
-
__init4() {
|
|
651
|
-
this._executeHandlers = () => {
|
|
652
|
-
if (this._state === y.PENDING)
|
|
653
|
-
return;
|
|
654
|
-
const e = this._handlers.slice();
|
|
655
|
-
this._handlers = [], e.forEach((n) => {
|
|
656
|
-
n[0] || (this._state === y.RESOLVED && n[1](this._value), this._state === y.REJECTED && n[2](this._value), n[0] = !0);
|
|
657
|
-
});
|
|
658
|
-
};
|
|
659
|
-
}
|
|
660
|
-
}
|
|
661
|
-
const xt = 1e3;
|
|
662
|
-
function G() {
|
|
663
|
-
return Date.now() / xt;
|
|
664
|
-
}
|
|
665
|
-
function le() {
|
|
666
|
-
const { performance: t } = _;
|
|
667
|
-
if (!t || !t.now)
|
|
668
|
-
return G;
|
|
669
|
-
const e = Date.now() - t.now(), n = t.timeOrigin == null ? e : t.timeOrigin;
|
|
670
|
-
return () => (n + t.now()) / xt;
|
|
671
|
-
}
|
|
672
|
-
const B = le(), Nn = (() => {
|
|
673
|
-
const { performance: t } = _;
|
|
674
|
-
if (!t || !t.now)
|
|
675
|
-
return;
|
|
676
|
-
const e = 3600 * 1e3, n = t.now(), r = Date.now(), s = t.timeOrigin ? Math.abs(t.timeOrigin + n - r) : e, i = s < e, o = t.timing && t.timing.navigationStart, c = typeof o == "number" ? Math.abs(o + n - r) : e, u = c < e;
|
|
677
|
-
return i || u ? s <= c ? t.timeOrigin : o : r;
|
|
678
|
-
})(), Rn = "baggage", Ct = "sentry-", de = /^sentry-/, ge = 8192;
|
|
679
|
-
function _e(t) {
|
|
680
|
-
if (!M(t) && !Array.isArray(t))
|
|
681
|
-
return;
|
|
682
|
-
let e = {};
|
|
683
|
-
if (Array.isArray(t))
|
|
684
|
-
e = t.reduce((r, s) => {
|
|
685
|
-
const i = ft(s);
|
|
686
|
-
for (const o of Object.keys(i))
|
|
687
|
-
r[o] = i[o];
|
|
688
|
-
return r;
|
|
689
|
-
}, {});
|
|
690
|
-
else {
|
|
691
|
-
if (!t)
|
|
692
|
-
return;
|
|
693
|
-
e = ft(t);
|
|
694
|
-
}
|
|
695
|
-
const n = Object.entries(e).reduce((r, [s, i]) => {
|
|
696
|
-
if (s.match(de)) {
|
|
697
|
-
const o = s.slice(Ct.length);
|
|
698
|
-
r[o] = i;
|
|
699
|
-
}
|
|
700
|
-
return r;
|
|
701
|
-
}, {});
|
|
702
|
-
if (Object.keys(n).length > 0)
|
|
703
|
-
return n;
|
|
704
|
-
}
|
|
705
|
-
function Dn(t) {
|
|
706
|
-
if (!t)
|
|
707
|
-
return;
|
|
708
|
-
const e = Object.entries(t).reduce(
|
|
709
|
-
(n, [r, s]) => (s && (n[`${Ct}${r}`] = s), n),
|
|
710
|
-
{}
|
|
711
|
-
);
|
|
712
|
-
return he(e);
|
|
713
|
-
}
|
|
714
|
-
function ft(t) {
|
|
715
|
-
return t.split(",").map((e) => e.split("=").map((n) => decodeURIComponent(n.trim()))).reduce((e, [n, r]) => (e[n] = r, e), {});
|
|
716
|
-
}
|
|
717
|
-
function he(t) {
|
|
718
|
-
if (Object.keys(t).length !== 0)
|
|
719
|
-
return Object.entries(t).reduce((e, [n, r], s) => {
|
|
720
|
-
const i = `${encodeURIComponent(n)}=${encodeURIComponent(r)}`, o = s === 0 ? i : `${e},${i}`;
|
|
721
|
-
return o.length > ge ? (tt && h.warn(
|
|
722
|
-
`Not adding key: ${n} with val: ${r} to baggage header due to exceeding baggage size limits.`
|
|
723
|
-
), e) : o;
|
|
724
|
-
}, "");
|
|
725
|
-
}
|
|
726
|
-
const me = new RegExp(
|
|
727
|
-
"^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$"
|
|
728
|
-
// whitespace
|
|
729
|
-
);
|
|
730
|
-
function Se(t) {
|
|
731
|
-
if (!t)
|
|
732
|
-
return;
|
|
733
|
-
const e = t.match(me);
|
|
734
|
-
if (!e)
|
|
735
|
-
return;
|
|
736
|
-
let n;
|
|
737
|
-
return e[3] === "1" ? n = !0 : e[3] === "0" && (n = !1), {
|
|
738
|
-
traceId: e[1],
|
|
739
|
-
parentSampled: n,
|
|
740
|
-
parentSpanId: e[2]
|
|
741
|
-
};
|
|
742
|
-
}
|
|
743
|
-
function An(t, e) {
|
|
744
|
-
const n = Se(t), r = _e(e), { traceId: s, parentSpanId: i, parentSampled: o } = n || {};
|
|
745
|
-
return n ? {
|
|
746
|
-
traceId: s || l(),
|
|
747
|
-
parentSpanId: i || l().substring(16),
|
|
748
|
-
spanId: l().substring(16),
|
|
749
|
-
sampled: o,
|
|
750
|
-
dsc: r || {}
|
|
751
|
-
// If we have traceparent data but no DSC it means we are not head of trace and we must freeze it
|
|
752
|
-
} : {
|
|
753
|
-
traceId: s || l(),
|
|
754
|
-
spanId: l().substring(16)
|
|
755
|
-
};
|
|
756
|
-
}
|
|
757
|
-
function ye(t = l(), e = l().substring(16), n) {
|
|
758
|
-
let r = "";
|
|
759
|
-
return n !== void 0 && (r = n ? "-1" : "-0"), `${t}-${e}${r}`;
|
|
760
|
-
}
|
|
761
|
-
const w = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, F = "production";
|
|
762
|
-
function nt() {
|
|
763
|
-
return Et("globalEventProcessors", () => []);
|
|
764
|
-
}
|
|
765
|
-
function kn(t) {
|
|
766
|
-
nt().push(t);
|
|
767
|
-
}
|
|
768
|
-
function j(t, e, n, r = 0) {
|
|
769
|
-
return new S((s, i) => {
|
|
770
|
-
const o = t[r];
|
|
771
|
-
if (e === null || typeof o != "function")
|
|
772
|
-
s(e);
|
|
773
|
-
else {
|
|
774
|
-
const a = o({ ...e }, n);
|
|
775
|
-
w && o.id && a === null && h.log(`Event processor "${o.id}" dropped event`), Z(a) ? a.then((c) => j(t, c, n, r + 1).then(s)).then(null, i) : j(t, a, n, r + 1).then(s).then(null, i);
|
|
776
|
-
}
|
|
777
|
-
});
|
|
778
|
-
}
|
|
779
|
-
function It(t) {
|
|
780
|
-
const e = B(), n = {
|
|
781
|
-
sid: l(),
|
|
782
|
-
init: !0,
|
|
783
|
-
timestamp: e,
|
|
784
|
-
started: e,
|
|
785
|
-
duration: 0,
|
|
786
|
-
status: "ok",
|
|
787
|
-
errors: 0,
|
|
788
|
-
ignoreDuration: !1,
|
|
789
|
-
toJSON: () => Ee(n)
|
|
790
|
-
};
|
|
791
|
-
return t && $(n, t), n;
|
|
792
|
-
}
|
|
793
|
-
function $(t, e = {}) {
|
|
794
|
-
if (e.user && (!t.ipAddress && e.user.ip_address && (t.ipAddress = e.user.ip_address), !t.did && !e.did && (t.did = e.user.id || e.user.email || e.user.username)), t.timestamp = e.timestamp || B(), e.abnormal_mechanism && (t.abnormal_mechanism = e.abnormal_mechanism), e.ignoreDuration && (t.ignoreDuration = e.ignoreDuration), e.sid && (t.sid = e.sid.length === 32 ? e.sid : l()), e.init !== void 0 && (t.init = e.init), !t.did && e.did && (t.did = `${e.did}`), typeof e.started == "number" && (t.started = e.started), t.ignoreDuration)
|
|
795
|
-
t.duration = void 0;
|
|
796
|
-
else if (typeof e.duration == "number")
|
|
797
|
-
t.duration = e.duration;
|
|
798
|
-
else {
|
|
799
|
-
const n = t.timestamp - t.started;
|
|
800
|
-
t.duration = n >= 0 ? n : 0;
|
|
801
|
-
}
|
|
802
|
-
e.release && (t.release = e.release), e.environment && (t.environment = e.environment), !t.ipAddress && e.ipAddress && (t.ipAddress = e.ipAddress), !t.userAgent && e.userAgent && (t.userAgent = e.userAgent), typeof e.errors == "number" && (t.errors = e.errors), e.status && (t.status = e.status);
|
|
803
|
-
}
|
|
804
|
-
function Nt(t, e) {
|
|
805
|
-
let n = {};
|
|
806
|
-
e ? n = { status: e } : t.status === "ok" && (n = { status: "exited" }), $(t, n);
|
|
807
|
-
}
|
|
808
|
-
function Ee(t) {
|
|
809
|
-
return O({
|
|
810
|
-
sid: `${t.sid}`,
|
|
811
|
-
init: t.init,
|
|
812
|
-
// Make sure that sec is converted to ms for date constructor
|
|
813
|
-
started: new Date(t.started * 1e3).toISOString(),
|
|
814
|
-
timestamp: new Date(t.timestamp * 1e3).toISOString(),
|
|
815
|
-
status: t.status,
|
|
816
|
-
errors: t.errors,
|
|
817
|
-
did: typeof t.did == "number" || typeof t.did == "string" ? `${t.did}` : void 0,
|
|
818
|
-
duration: t.duration,
|
|
819
|
-
abnormal_mechanism: t.abnormal_mechanism,
|
|
820
|
-
attrs: {
|
|
821
|
-
release: t.release,
|
|
822
|
-
environment: t.environment,
|
|
823
|
-
ip_address: t.ipAddress,
|
|
824
|
-
user_agent: t.userAgent
|
|
825
|
-
}
|
|
826
|
-
});
|
|
827
|
-
}
|
|
828
|
-
const $n = 0, be = 1;
|
|
829
|
-
function Te(t) {
|
|
830
|
-
const { spanId: e, traceId: n } = t.spanContext(), { data: r, op: s, parent_span_id: i, status: o, tags: a, origin: c } = k(t);
|
|
831
|
-
return O({
|
|
832
|
-
data: r,
|
|
833
|
-
op: s,
|
|
834
|
-
parent_span_id: i,
|
|
835
|
-
span_id: e,
|
|
836
|
-
status: o,
|
|
837
|
-
tags: a,
|
|
838
|
-
trace_id: n,
|
|
839
|
-
origin: c
|
|
840
|
-
});
|
|
841
|
-
}
|
|
842
|
-
function Pn(t) {
|
|
843
|
-
const { traceId: e, spanId: n } = t.spanContext(), r = rt(t);
|
|
844
|
-
return ye(e, n, r);
|
|
845
|
-
}
|
|
846
|
-
function Oe(t) {
|
|
847
|
-
return typeof t == "number" ? pt(t) : Array.isArray(t) ? t[0] + t[1] / 1e9 : t instanceof Date ? pt(t.getTime()) : B();
|
|
848
|
-
}
|
|
849
|
-
function pt(t) {
|
|
850
|
-
return t > 9999999999 ? t / 1e3 : t;
|
|
851
|
-
}
|
|
852
|
-
function k(t) {
|
|
853
|
-
return xe(t) ? t.getSpanJSON() : typeof t.toJSON == "function" ? t.toJSON() : {};
|
|
854
|
-
}
|
|
855
|
-
function xe(t) {
|
|
856
|
-
return typeof t.getSpanJSON == "function";
|
|
857
|
-
}
|
|
858
|
-
function rt(t) {
|
|
859
|
-
const { traceFlags: e } = t.spanContext();
|
|
860
|
-
return !!(e & be);
|
|
861
|
-
}
|
|
862
|
-
function wn(t, e, n, r, s, i) {
|
|
863
|
-
const { normalizeDepth: o = 3, normalizeMaxBreadth: a = 1e3 } = t, c = {
|
|
864
|
-
...e,
|
|
865
|
-
event_id: e.event_id || n.event_id || l(),
|
|
866
|
-
timestamp: e.timestamp || G()
|
|
867
|
-
}, u = n.integrations || t.integrations.map((m) => m.name);
|
|
868
|
-
Ce(c, t), Re(c, u), e.type === void 0 && Ie(c, t.stackParser);
|
|
869
|
-
const f = Ae(r, n.captureContext);
|
|
870
|
-
n.mechanism && se(c, n.mechanism);
|
|
871
|
-
const p = s && s.getEventProcessors ? s.getEventProcessors() : [], d = ve().getScopeData();
|
|
872
|
-
if (i) {
|
|
873
|
-
const m = i.getScopeData();
|
|
874
|
-
dt(d, m);
|
|
875
|
-
}
|
|
876
|
-
if (f) {
|
|
877
|
-
const m = f.getScopeData();
|
|
878
|
-
dt(d, m);
|
|
879
|
-
}
|
|
880
|
-
const g = [...n.attachments || [], ...d.attachments];
|
|
881
|
-
g.length && (n.attachments = g), $t(c, d);
|
|
882
|
-
const C = [
|
|
883
|
-
...p,
|
|
884
|
-
// eslint-disable-next-line deprecation/deprecation
|
|
885
|
-
...nt(),
|
|
886
|
-
// Run scope event processors _after_ all other processors
|
|
887
|
-
...d.eventProcessors
|
|
888
|
-
];
|
|
889
|
-
return j(C, c, n).then((m) => (m && Ne(m), typeof o == "number" && o > 0 ? De(m, o, a) : m));
|
|
890
|
-
}
|
|
891
|
-
function Ce(t, e) {
|
|
892
|
-
const { environment: n, release: r, dist: s, maxValueLength: i = 250 } = e;
|
|
893
|
-
"environment" in t || (t.environment = "environment" in e ? n : F), t.release === void 0 && r !== void 0 && (t.release = r), t.dist === void 0 && s !== void 0 && (t.dist = s), t.message && (t.message = D(t.message, i));
|
|
894
|
-
const o = t.exception && t.exception.values && t.exception.values[0];
|
|
895
|
-
o && o.value && (o.value = D(o.value, i));
|
|
896
|
-
const a = t.request;
|
|
897
|
-
a && a.url && (a.url = D(a.url, i));
|
|
898
|
-
}
|
|
899
|
-
const lt = /* @__PURE__ */ new WeakMap();
|
|
900
|
-
function Ie(t, e) {
|
|
901
|
-
const n = _._sentryDebugIds;
|
|
902
|
-
if (!n)
|
|
903
|
-
return;
|
|
904
|
-
let r;
|
|
905
|
-
const s = lt.get(e);
|
|
906
|
-
s ? r = s : (r = /* @__PURE__ */ new Map(), lt.set(e, r));
|
|
907
|
-
const i = Object.keys(n).reduce((o, a) => {
|
|
908
|
-
let c;
|
|
909
|
-
const u = r.get(a);
|
|
910
|
-
u ? c = u : (c = e(a), r.set(a, c));
|
|
911
|
-
for (let f = c.length - 1; f >= 0; f--) {
|
|
912
|
-
const p = c[f];
|
|
913
|
-
if (p.filename) {
|
|
914
|
-
o[p.filename] = n[a];
|
|
915
|
-
break;
|
|
916
|
-
}
|
|
917
|
-
}
|
|
918
|
-
return o;
|
|
919
|
-
}, {});
|
|
920
|
-
try {
|
|
921
|
-
t.exception.values.forEach((o) => {
|
|
922
|
-
o.stacktrace.frames.forEach((a) => {
|
|
923
|
-
a.filename && (a.debug_id = i[a.filename]);
|
|
924
|
-
});
|
|
925
|
-
});
|
|
926
|
-
} catch {
|
|
927
|
-
}
|
|
928
|
-
}
|
|
929
|
-
function Ne(t) {
|
|
930
|
-
const e = {};
|
|
931
|
-
try {
|
|
932
|
-
t.exception.values.forEach((r) => {
|
|
933
|
-
r.stacktrace.frames.forEach((s) => {
|
|
934
|
-
s.debug_id && (s.abs_path ? e[s.abs_path] = s.debug_id : s.filename && (e[s.filename] = s.debug_id), delete s.debug_id);
|
|
935
|
-
});
|
|
936
|
-
});
|
|
937
|
-
} catch {
|
|
938
|
-
}
|
|
939
|
-
if (Object.keys(e).length === 0)
|
|
940
|
-
return;
|
|
941
|
-
t.debug_meta = t.debug_meta || {}, t.debug_meta.images = t.debug_meta.images || [];
|
|
942
|
-
const n = t.debug_meta.images;
|
|
943
|
-
Object.keys(e).forEach((r) => {
|
|
944
|
-
n.push({
|
|
945
|
-
type: "sourcemap",
|
|
946
|
-
code_file: r,
|
|
947
|
-
debug_id: e[r]
|
|
948
|
-
});
|
|
949
|
-
});
|
|
950
|
-
}
|
|
951
|
-
function Re(t, e) {
|
|
952
|
-
e.length > 0 && (t.sdk = t.sdk || {}, t.sdk.integrations = [...t.sdk.integrations || [], ...e]);
|
|
953
|
-
}
|
|
954
|
-
function De(t, e, n) {
|
|
955
|
-
if (!t)
|
|
956
|
-
return null;
|
|
957
|
-
const r = {
|
|
958
|
-
...t,
|
|
959
|
-
...t.breadcrumbs && {
|
|
960
|
-
breadcrumbs: t.breadcrumbs.map((s) => ({
|
|
961
|
-
...s,
|
|
962
|
-
...s.data && {
|
|
963
|
-
data: T(s.data, e, n)
|
|
964
|
-
}
|
|
965
|
-
}))
|
|
966
|
-
},
|
|
967
|
-
...t.user && {
|
|
968
|
-
user: T(t.user, e, n)
|
|
969
|
-
},
|
|
970
|
-
...t.contexts && {
|
|
971
|
-
contexts: T(t.contexts, e, n)
|
|
972
|
-
},
|
|
973
|
-
...t.extra && {
|
|
974
|
-
extra: T(t.extra, e, n)
|
|
975
|
-
}
|
|
976
|
-
};
|
|
977
|
-
return t.contexts && t.contexts.trace && r.contexts && (r.contexts.trace = t.contexts.trace, t.contexts.trace.data && (r.contexts.trace.data = T(t.contexts.trace.data, e, n))), t.spans && (r.spans = t.spans.map((s) => {
|
|
978
|
-
const i = k(s).data;
|
|
979
|
-
return i && (s.data = T(i, e, n)), s;
|
|
980
|
-
})), r;
|
|
981
|
-
}
|
|
982
|
-
function Ae(t, e) {
|
|
983
|
-
if (!e)
|
|
984
|
-
return t;
|
|
985
|
-
const n = t ? t.clone() : new E();
|
|
986
|
-
return n.update(e), n;
|
|
987
|
-
}
|
|
988
|
-
function ke(t) {
|
|
989
|
-
if (t)
|
|
990
|
-
return $e(t) ? { captureContext: t } : we(t) ? {
|
|
991
|
-
captureContext: t
|
|
992
|
-
} : t;
|
|
993
|
-
}
|
|
994
|
-
function $e(t) {
|
|
995
|
-
return t instanceof E || typeof t == "function";
|
|
996
|
-
}
|
|
997
|
-
const Pe = [
|
|
998
|
-
"user",
|
|
999
|
-
"level",
|
|
1000
|
-
"extra",
|
|
1001
|
-
"contexts",
|
|
1002
|
-
"tags",
|
|
1003
|
-
"fingerprint",
|
|
1004
|
-
"requestSession",
|
|
1005
|
-
"propagationContext"
|
|
1006
|
-
];
|
|
1007
|
-
function we(t) {
|
|
1008
|
-
return Object.keys(t).some((e) => Pe.includes(e));
|
|
1009
|
-
}
|
|
1010
|
-
function Me(t, e) {
|
|
1011
|
-
return b().captureException(t, ke(e));
|
|
1012
|
-
}
|
|
1013
|
-
function Mn(t, e) {
|
|
1014
|
-
return b().captureEvent(t, e);
|
|
1015
|
-
}
|
|
1016
|
-
function Ln(t, e) {
|
|
1017
|
-
b().addBreadcrumb(t, e);
|
|
1018
|
-
}
|
|
1019
|
-
function jn(t, e) {
|
|
1020
|
-
b().setContext(t, e);
|
|
1021
|
-
}
|
|
1022
|
-
function Un(...t) {
|
|
1023
|
-
const e = b();
|
|
1024
|
-
if (t.length === 2) {
|
|
1025
|
-
const [n, r] = t;
|
|
1026
|
-
return n ? e.withScope(() => (e.getStackTop().scope = n, r(n))) : e.withScope(r);
|
|
1027
|
-
}
|
|
1028
|
-
return e.withScope(t[0]);
|
|
1029
|
-
}
|
|
1030
|
-
function H() {
|
|
1031
|
-
return b().getClient();
|
|
1032
|
-
}
|
|
1033
|
-
function x() {
|
|
1034
|
-
return b().getScope();
|
|
1035
|
-
}
|
|
1036
|
-
function Gn(t) {
|
|
1037
|
-
const e = H(), n = Y(), r = x(), { release: s, environment: i = F } = e && e.getOptions() || {}, { userAgent: o } = _.navigator || {}, a = It({
|
|
1038
|
-
release: s,
|
|
1039
|
-
environment: i,
|
|
1040
|
-
user: r.getUser() || n.getUser(),
|
|
1041
|
-
...o && { userAgent: o },
|
|
1042
|
-
...t
|
|
1043
|
-
}), c = n.getSession();
|
|
1044
|
-
return c && c.status === "ok" && $(c, { status: "exited" }), Rt(), n.setSession(a), r.setSession(a), a;
|
|
1045
|
-
}
|
|
1046
|
-
function Rt() {
|
|
1047
|
-
const t = Y(), e = x(), n = e.getSession() || t.getSession();
|
|
1048
|
-
n && Nt(n), Dt(), t.setSession(), e.setSession();
|
|
1049
|
-
}
|
|
1050
|
-
function Dt() {
|
|
1051
|
-
const t = Y(), e = x(), n = H(), r = e.getSession() || t.getSession();
|
|
1052
|
-
r && n && n.captureSession && n.captureSession(r);
|
|
1053
|
-
}
|
|
1054
|
-
function Bn(t = !1) {
|
|
1055
|
-
if (t) {
|
|
1056
|
-
Rt();
|
|
1057
|
-
return;
|
|
1058
|
-
}
|
|
1059
|
-
Dt();
|
|
1060
|
-
}
|
|
1061
|
-
function At(t) {
|
|
1062
|
-
return t.transaction;
|
|
1063
|
-
}
|
|
1064
|
-
function Le(t, e, n) {
|
|
1065
|
-
const r = e.getOptions(), { publicKey: s } = e.getDsn() || {}, { segment: i } = n && n.getUser() || {}, o = O({
|
|
1066
|
-
environment: r.environment || F,
|
|
1067
|
-
release: r.release,
|
|
1068
|
-
user_segment: i,
|
|
1069
|
-
public_key: s,
|
|
1070
|
-
trace_id: t
|
|
1071
|
-
});
|
|
1072
|
-
return e.emit && e.emit("createDsc", o), o;
|
|
1073
|
-
}
|
|
1074
|
-
function kt(t) {
|
|
1075
|
-
const e = H();
|
|
1076
|
-
if (!e)
|
|
1077
|
-
return {};
|
|
1078
|
-
const n = Le(k(t).trace_id || "", e, x()), r = At(t);
|
|
1079
|
-
if (!r)
|
|
1080
|
-
return n;
|
|
1081
|
-
const s = r && r._frozenDynamicSamplingContext;
|
|
1082
|
-
if (s)
|
|
1083
|
-
return s;
|
|
1084
|
-
const { sampleRate: i, source: o } = r.metadata;
|
|
1085
|
-
i != null && (n.sample_rate = `${i}`);
|
|
1086
|
-
const a = k(r);
|
|
1087
|
-
return o && o !== "url" && (n.transaction = a.description), n.sampled = String(rt(r)), e.emit && e.emit("createDsc", n), n;
|
|
1088
|
-
}
|
|
1089
|
-
function $t(t, e) {
|
|
1090
|
-
const { fingerprint: n, span: r, breadcrumbs: s, sdkProcessingMetadata: i } = e;
|
|
1091
|
-
je(t, e), r && Be(t, r), Fe(t, n), Ue(t, s), Ge(t, i);
|
|
1092
|
-
}
|
|
1093
|
-
function dt(t, e) {
|
|
1094
|
-
const {
|
|
1095
|
-
extra: n,
|
|
1096
|
-
tags: r,
|
|
1097
|
-
user: s,
|
|
1098
|
-
contexts: i,
|
|
1099
|
-
level: o,
|
|
1100
|
-
sdkProcessingMetadata: a,
|
|
1101
|
-
breadcrumbs: c,
|
|
1102
|
-
fingerprint: u,
|
|
1103
|
-
eventProcessors: f,
|
|
1104
|
-
attachments: p,
|
|
1105
|
-
propagationContext: d,
|
|
1106
|
-
// eslint-disable-next-line deprecation/deprecation
|
|
1107
|
-
transactionName: g,
|
|
1108
|
-
span: C
|
|
1109
|
-
} = e;
|
|
1110
|
-
R(t, "extra", n), R(t, "tags", r), R(t, "user", s), R(t, "contexts", i), R(t, "sdkProcessingMetadata", a), o && (t.level = o), g && (t.transactionName = g), C && (t.span = C), c.length && (t.breadcrumbs = [...t.breadcrumbs, ...c]), u.length && (t.fingerprint = [...t.fingerprint, ...u]), f.length && (t.eventProcessors = [...t.eventProcessors, ...f]), p.length && (t.attachments = [...t.attachments, ...p]), t.propagationContext = { ...t.propagationContext, ...d };
|
|
1111
|
-
}
|
|
1112
|
-
function R(t, e, n) {
|
|
1113
|
-
if (n && Object.keys(n).length) {
|
|
1114
|
-
t[e] = { ...t[e] };
|
|
1115
|
-
for (const r in n)
|
|
1116
|
-
Object.prototype.hasOwnProperty.call(n, r) && (t[e][r] = n[r]);
|
|
1117
|
-
}
|
|
1118
|
-
}
|
|
1119
|
-
function je(t, e) {
|
|
1120
|
-
const {
|
|
1121
|
-
extra: n,
|
|
1122
|
-
tags: r,
|
|
1123
|
-
user: s,
|
|
1124
|
-
contexts: i,
|
|
1125
|
-
level: o,
|
|
1126
|
-
// eslint-disable-next-line deprecation/deprecation
|
|
1127
|
-
transactionName: a
|
|
1128
|
-
} = e, c = O(n);
|
|
1129
|
-
c && Object.keys(c).length && (t.extra = { ...c, ...t.extra });
|
|
1130
|
-
const u = O(r);
|
|
1131
|
-
u && Object.keys(u).length && (t.tags = { ...u, ...t.tags });
|
|
1132
|
-
const f = O(s);
|
|
1133
|
-
f && Object.keys(f).length && (t.user = { ...f, ...t.user });
|
|
1134
|
-
const p = O(i);
|
|
1135
|
-
p && Object.keys(p).length && (t.contexts = { ...p, ...t.contexts }), o && (t.level = o), a && (t.transaction = a);
|
|
1136
|
-
}
|
|
1137
|
-
function Ue(t, e) {
|
|
1138
|
-
const n = [...t.breadcrumbs || [], ...e];
|
|
1139
|
-
t.breadcrumbs = n.length ? n : void 0;
|
|
1140
|
-
}
|
|
1141
|
-
function Ge(t, e) {
|
|
1142
|
-
t.sdkProcessingMetadata = {
|
|
1143
|
-
...t.sdkProcessingMetadata,
|
|
1144
|
-
...e
|
|
1145
|
-
};
|
|
1146
|
-
}
|
|
1147
|
-
function Be(t, e) {
|
|
1148
|
-
t.contexts = { trace: Te(e), ...t.contexts };
|
|
1149
|
-
const n = At(e);
|
|
1150
|
-
if (n) {
|
|
1151
|
-
t.sdkProcessingMetadata = {
|
|
1152
|
-
dynamicSamplingContext: kt(e),
|
|
1153
|
-
...t.sdkProcessingMetadata
|
|
1154
|
-
};
|
|
1155
|
-
const r = k(n).description;
|
|
1156
|
-
r && (t.tags = { transaction: r, ...t.tags });
|
|
1157
|
-
}
|
|
1158
|
-
}
|
|
1159
|
-
function Fe(t, e) {
|
|
1160
|
-
t.fingerprint = t.fingerprint ? ie(t.fingerprint) : [], e && (t.fingerprint = t.fingerprint.concat(e)), t.fingerprint && !t.fingerprint.length && delete t.fingerprint;
|
|
1161
|
-
}
|
|
1162
|
-
const He = 100;
|
|
1163
|
-
let q;
|
|
1164
|
-
class E {
|
|
1165
|
-
/** Flag if notifying is happening. */
|
|
1166
|
-
/** Callback for client to receive scope changes. */
|
|
1167
|
-
/** Callback list that will be called after {@link applyToEvent}. */
|
|
1168
|
-
/** Array of breadcrumbs. */
|
|
1169
|
-
/** User */
|
|
1170
|
-
/** Tags */
|
|
1171
|
-
/** Extra */
|
|
1172
|
-
/** Contexts */
|
|
1173
|
-
/** Attachments */
|
|
1174
|
-
/** Propagation Context for distributed tracing */
|
|
1175
|
-
/**
|
|
1176
|
-
* A place to stash data which is needed at some point in the SDK's event processing pipeline but which shouldn't get
|
|
1177
|
-
* sent to Sentry
|
|
1178
|
-
*/
|
|
1179
|
-
/** Fingerprint */
|
|
1180
|
-
/** Severity */
|
|
1181
|
-
// eslint-disable-next-line deprecation/deprecation
|
|
1182
|
-
/**
|
|
1183
|
-
* Transaction Name
|
|
1184
|
-
*/
|
|
1185
|
-
/** Span */
|
|
1186
|
-
/** Session */
|
|
1187
|
-
/** Request Mode Session Status */
|
|
1188
|
-
/** The client on this scope */
|
|
1189
|
-
// NOTE: Any field which gets added here should get added not only to the constructor but also to the `clone` method.
|
|
1190
|
-
constructor() {
|
|
1191
|
-
this._notifyingListeners = !1, this._scopeListeners = [], this._eventProcessors = [], this._breadcrumbs = [], this._attachments = [], this._user = {}, this._tags = {}, this._extra = {}, this._contexts = {}, this._sdkProcessingMetadata = {}, this._propagationContext = gt();
|
|
1192
|
-
}
|
|
1193
|
-
/**
|
|
1194
|
-
* Inherit values from the parent scope.
|
|
1195
|
-
* @deprecated Use `scope.clone()` and `new Scope()` instead.
|
|
1196
|
-
*/
|
|
1197
|
-
static clone(e) {
|
|
1198
|
-
return e ? e.clone() : new E();
|
|
1199
|
-
}
|
|
1200
|
-
/**
|
|
1201
|
-
* Clone this scope instance.
|
|
1202
|
-
*/
|
|
1203
|
-
clone() {
|
|
1204
|
-
const e = new E();
|
|
1205
|
-
return e._breadcrumbs = [...this._breadcrumbs], e._tags = { ...this._tags }, e._extra = { ...this._extra }, e._contexts = { ...this._contexts }, e._user = this._user, e._level = this._level, e._span = this._span, e._session = this._session, e._transactionName = this._transactionName, e._fingerprint = this._fingerprint, e._eventProcessors = [...this._eventProcessors], e._requestSession = this._requestSession, e._attachments = [...this._attachments], e._sdkProcessingMetadata = { ...this._sdkProcessingMetadata }, e._propagationContext = { ...this._propagationContext }, e._client = this._client, e;
|
|
1206
|
-
}
|
|
1207
|
-
/** Update the client on the scope. */
|
|
1208
|
-
setClient(e) {
|
|
1209
|
-
this._client = e;
|
|
1210
|
-
}
|
|
1211
|
-
/**
|
|
1212
|
-
* Get the client assigned to this scope.
|
|
1213
|
-
*
|
|
1214
|
-
* It is generally recommended to use the global function `Sentry.getClient()` instead, unless you know what you are doing.
|
|
1215
|
-
*/
|
|
1216
|
-
getClient() {
|
|
1217
|
-
return this._client;
|
|
1218
|
-
}
|
|
1219
|
-
/**
|
|
1220
|
-
* Add internal on change listener. Used for sub SDKs that need to store the scope.
|
|
1221
|
-
* @hidden
|
|
1222
|
-
*/
|
|
1223
|
-
addScopeListener(e) {
|
|
1224
|
-
this._scopeListeners.push(e);
|
|
1225
|
-
}
|
|
1226
|
-
/**
|
|
1227
|
-
* @inheritDoc
|
|
1228
|
-
*/
|
|
1229
|
-
addEventProcessor(e) {
|
|
1230
|
-
return this._eventProcessors.push(e), this;
|
|
1231
|
-
}
|
|
1232
|
-
/**
|
|
1233
|
-
* @inheritDoc
|
|
1234
|
-
*/
|
|
1235
|
-
setUser(e) {
|
|
1236
|
-
return this._user = e || {
|
|
1237
|
-
email: void 0,
|
|
1238
|
-
id: void 0,
|
|
1239
|
-
ip_address: void 0,
|
|
1240
|
-
segment: void 0,
|
|
1241
|
-
username: void 0
|
|
1242
|
-
}, this._session && $(this._session, { user: e }), this._notifyScopeListeners(), this;
|
|
1243
|
-
}
|
|
1244
|
-
/**
|
|
1245
|
-
* @inheritDoc
|
|
1246
|
-
*/
|
|
1247
|
-
getUser() {
|
|
1248
|
-
return this._user;
|
|
1249
|
-
}
|
|
1250
|
-
/**
|
|
1251
|
-
* @inheritDoc
|
|
1252
|
-
*/
|
|
1253
|
-
getRequestSession() {
|
|
1254
|
-
return this._requestSession;
|
|
1255
|
-
}
|
|
1256
|
-
/**
|
|
1257
|
-
* @inheritDoc
|
|
1258
|
-
*/
|
|
1259
|
-
setRequestSession(e) {
|
|
1260
|
-
return this._requestSession = e, this;
|
|
1261
|
-
}
|
|
1262
|
-
/**
|
|
1263
|
-
* @inheritDoc
|
|
1264
|
-
*/
|
|
1265
|
-
setTags(e) {
|
|
1266
|
-
return this._tags = {
|
|
1267
|
-
...this._tags,
|
|
1268
|
-
...e
|
|
1269
|
-
}, this._notifyScopeListeners(), this;
|
|
1270
|
-
}
|
|
1271
|
-
/**
|
|
1272
|
-
* @inheritDoc
|
|
1273
|
-
*/
|
|
1274
|
-
setTag(e, n) {
|
|
1275
|
-
return this._tags = { ...this._tags, [e]: n }, this._notifyScopeListeners(), this;
|
|
1276
|
-
}
|
|
1277
|
-
/**
|
|
1278
|
-
* @inheritDoc
|
|
1279
|
-
*/
|
|
1280
|
-
setExtras(e) {
|
|
1281
|
-
return this._extra = {
|
|
1282
|
-
...this._extra,
|
|
1283
|
-
...e
|
|
1284
|
-
}, this._notifyScopeListeners(), this;
|
|
1285
|
-
}
|
|
1286
|
-
/**
|
|
1287
|
-
* @inheritDoc
|
|
1288
|
-
*/
|
|
1289
|
-
setExtra(e, n) {
|
|
1290
|
-
return this._extra = { ...this._extra, [e]: n }, this._notifyScopeListeners(), this;
|
|
1291
|
-
}
|
|
1292
|
-
/**
|
|
1293
|
-
* @inheritDoc
|
|
1294
|
-
*/
|
|
1295
|
-
setFingerprint(e) {
|
|
1296
|
-
return this._fingerprint = e, this._notifyScopeListeners(), this;
|
|
1297
|
-
}
|
|
1298
|
-
/**
|
|
1299
|
-
* @inheritDoc
|
|
1300
|
-
*/
|
|
1301
|
-
setLevel(e) {
|
|
1302
|
-
return this._level = e, this._notifyScopeListeners(), this;
|
|
1303
|
-
}
|
|
1304
|
-
/**
|
|
1305
|
-
* Sets the transaction name on the scope for future events.
|
|
1306
|
-
*/
|
|
1307
|
-
setTransactionName(e) {
|
|
1308
|
-
return this._transactionName = e, this._notifyScopeListeners(), this;
|
|
1309
|
-
}
|
|
1310
|
-
/**
|
|
1311
|
-
* @inheritDoc
|
|
1312
|
-
*/
|
|
1313
|
-
setContext(e, n) {
|
|
1314
|
-
return n === null ? delete this._contexts[e] : this._contexts[e] = n, this._notifyScopeListeners(), this;
|
|
1315
|
-
}
|
|
1316
|
-
/**
|
|
1317
|
-
* Sets the Span on the scope.
|
|
1318
|
-
* @param span Span
|
|
1319
|
-
* @deprecated Instead of setting a span on a scope, use `startSpan()`/`startSpanManual()` instead.
|
|
1320
|
-
*/
|
|
1321
|
-
setSpan(e) {
|
|
1322
|
-
return this._span = e, this._notifyScopeListeners(), this;
|
|
1323
|
-
}
|
|
1324
|
-
/**
|
|
1325
|
-
* Returns the `Span` if there is one.
|
|
1326
|
-
* @deprecated Use `getActiveSpan()` instead.
|
|
1327
|
-
*/
|
|
1328
|
-
getSpan() {
|
|
1329
|
-
return this._span;
|
|
1330
|
-
}
|
|
1331
|
-
/**
|
|
1332
|
-
* Returns the `Transaction` attached to the scope (if there is one).
|
|
1333
|
-
* @deprecated You should not rely on the transaction, but just use `startSpan()` APIs instead.
|
|
1334
|
-
*/
|
|
1335
|
-
getTransaction() {
|
|
1336
|
-
const e = this._span;
|
|
1337
|
-
return e && e.transaction;
|
|
1338
|
-
}
|
|
1339
|
-
/**
|
|
1340
|
-
* @inheritDoc
|
|
1341
|
-
*/
|
|
1342
|
-
setSession(e) {
|
|
1343
|
-
return e ? this._session = e : delete this._session, this._notifyScopeListeners(), this;
|
|
1344
|
-
}
|
|
1345
|
-
/**
|
|
1346
|
-
* @inheritDoc
|
|
1347
|
-
*/
|
|
1348
|
-
getSession() {
|
|
1349
|
-
return this._session;
|
|
1350
|
-
}
|
|
1351
|
-
/**
|
|
1352
|
-
* @inheritDoc
|
|
1353
|
-
*/
|
|
1354
|
-
update(e) {
|
|
1355
|
-
if (!e)
|
|
1356
|
-
return this;
|
|
1357
|
-
const n = typeof e == "function" ? e(this) : e;
|
|
1358
|
-
if (n instanceof E) {
|
|
1359
|
-
const r = n.getScopeData();
|
|
1360
|
-
this._tags = { ...this._tags, ...r.tags }, this._extra = { ...this._extra, ...r.extra }, this._contexts = { ...this._contexts, ...r.contexts }, r.user && Object.keys(r.user).length && (this._user = r.user), r.level && (this._level = r.level), r.fingerprint.length && (this._fingerprint = r.fingerprint), n.getRequestSession() && (this._requestSession = n.getRequestSession()), r.propagationContext && (this._propagationContext = r.propagationContext);
|
|
1361
|
-
} else if (Q(n)) {
|
|
1362
|
-
const r = e;
|
|
1363
|
-
this._tags = { ...this._tags, ...r.tags }, this._extra = { ...this._extra, ...r.extra }, this._contexts = { ...this._contexts, ...r.contexts }, r.user && (this._user = r.user), r.level && (this._level = r.level), r.fingerprint && (this._fingerprint = r.fingerprint), r.requestSession && (this._requestSession = r.requestSession), r.propagationContext && (this._propagationContext = r.propagationContext);
|
|
1364
|
-
}
|
|
1365
|
-
return this;
|
|
1366
|
-
}
|
|
1367
|
-
/**
|
|
1368
|
-
* @inheritDoc
|
|
1369
|
-
*/
|
|
1370
|
-
clear() {
|
|
1371
|
-
return this._breadcrumbs = [], this._tags = {}, this._extra = {}, this._user = {}, this._contexts = {}, this._level = void 0, this._transactionName = void 0, this._fingerprint = void 0, this._requestSession = void 0, this._span = void 0, this._session = void 0, this._notifyScopeListeners(), this._attachments = [], this._propagationContext = gt(), this;
|
|
1372
|
-
}
|
|
1373
|
-
/**
|
|
1374
|
-
* @inheritDoc
|
|
1375
|
-
*/
|
|
1376
|
-
addBreadcrumb(e, n) {
|
|
1377
|
-
const r = typeof n == "number" ? n : He;
|
|
1378
|
-
if (r <= 0)
|
|
1379
|
-
return this;
|
|
1380
|
-
const s = {
|
|
1381
|
-
timestamp: G(),
|
|
1382
|
-
...e
|
|
1383
|
-
}, i = this._breadcrumbs;
|
|
1384
|
-
return i.push(s), this._breadcrumbs = i.length > r ? i.slice(-r) : i, this._notifyScopeListeners(), this;
|
|
1385
|
-
}
|
|
1386
|
-
/**
|
|
1387
|
-
* @inheritDoc
|
|
1388
|
-
*/
|
|
1389
|
-
getLastBreadcrumb() {
|
|
1390
|
-
return this._breadcrumbs[this._breadcrumbs.length - 1];
|
|
1391
|
-
}
|
|
1392
|
-
/**
|
|
1393
|
-
* @inheritDoc
|
|
1394
|
-
*/
|
|
1395
|
-
clearBreadcrumbs() {
|
|
1396
|
-
return this._breadcrumbs = [], this._notifyScopeListeners(), this;
|
|
1397
|
-
}
|
|
1398
|
-
/**
|
|
1399
|
-
* @inheritDoc
|
|
1400
|
-
*/
|
|
1401
|
-
addAttachment(e) {
|
|
1402
|
-
return this._attachments.push(e), this;
|
|
1403
|
-
}
|
|
1404
|
-
/**
|
|
1405
|
-
* @inheritDoc
|
|
1406
|
-
* @deprecated Use `getScopeData()` instead.
|
|
1407
|
-
*/
|
|
1408
|
-
getAttachments() {
|
|
1409
|
-
return this.getScopeData().attachments;
|
|
1410
|
-
}
|
|
1411
|
-
/**
|
|
1412
|
-
* @inheritDoc
|
|
1413
|
-
*/
|
|
1414
|
-
clearAttachments() {
|
|
1415
|
-
return this._attachments = [], this;
|
|
1416
|
-
}
|
|
1417
|
-
/** @inheritDoc */
|
|
1418
|
-
getScopeData() {
|
|
1419
|
-
const {
|
|
1420
|
-
_breadcrumbs: e,
|
|
1421
|
-
_attachments: n,
|
|
1422
|
-
_contexts: r,
|
|
1423
|
-
_tags: s,
|
|
1424
|
-
_extra: i,
|
|
1425
|
-
_user: o,
|
|
1426
|
-
_level: a,
|
|
1427
|
-
_fingerprint: c,
|
|
1428
|
-
_eventProcessors: u,
|
|
1429
|
-
_propagationContext: f,
|
|
1430
|
-
_sdkProcessingMetadata: p,
|
|
1431
|
-
_transactionName: d,
|
|
1432
|
-
_span: g
|
|
1433
|
-
} = this;
|
|
1434
|
-
return {
|
|
1435
|
-
breadcrumbs: e,
|
|
1436
|
-
attachments: n,
|
|
1437
|
-
contexts: r,
|
|
1438
|
-
tags: s,
|
|
1439
|
-
extra: i,
|
|
1440
|
-
user: o,
|
|
1441
|
-
level: a,
|
|
1442
|
-
fingerprint: c || [],
|
|
1443
|
-
eventProcessors: u,
|
|
1444
|
-
propagationContext: f,
|
|
1445
|
-
sdkProcessingMetadata: p,
|
|
1446
|
-
transactionName: d,
|
|
1447
|
-
span: g
|
|
1448
|
-
};
|
|
1449
|
-
}
|
|
1450
|
-
/**
|
|
1451
|
-
* Applies data from the scope to the event and runs all event processors on it.
|
|
1452
|
-
*
|
|
1453
|
-
* @param event Event
|
|
1454
|
-
* @param hint Object containing additional information about the original exception, for use by the event processors.
|
|
1455
|
-
* @hidden
|
|
1456
|
-
* @deprecated Use `applyScopeDataToEvent()` directly
|
|
1457
|
-
*/
|
|
1458
|
-
applyToEvent(e, n = {}, r = []) {
|
|
1459
|
-
$t(e, this.getScopeData());
|
|
1460
|
-
const s = [
|
|
1461
|
-
...r,
|
|
1462
|
-
// eslint-disable-next-line deprecation/deprecation
|
|
1463
|
-
...nt(),
|
|
1464
|
-
...this._eventProcessors
|
|
1465
|
-
];
|
|
1466
|
-
return j(s, e, n);
|
|
1467
|
-
}
|
|
1468
|
-
/**
|
|
1469
|
-
* Add data which will be accessible during event processing but won't get sent to Sentry
|
|
1470
|
-
*/
|
|
1471
|
-
setSDKProcessingMetadata(e) {
|
|
1472
|
-
return this._sdkProcessingMetadata = { ...this._sdkProcessingMetadata, ...e }, this;
|
|
1473
|
-
}
|
|
1474
|
-
/**
|
|
1475
|
-
* @inheritDoc
|
|
1476
|
-
*/
|
|
1477
|
-
setPropagationContext(e) {
|
|
1478
|
-
return this._propagationContext = e, this;
|
|
1479
|
-
}
|
|
1480
|
-
/**
|
|
1481
|
-
* @inheritDoc
|
|
1482
|
-
*/
|
|
1483
|
-
getPropagationContext() {
|
|
1484
|
-
return this._propagationContext;
|
|
1485
|
-
}
|
|
1486
|
-
/**
|
|
1487
|
-
* Capture an exception for this scope.
|
|
1488
|
-
*
|
|
1489
|
-
* @param exception The exception to capture.
|
|
1490
|
-
* @param hint Optinal additional data to attach to the Sentry event.
|
|
1491
|
-
* @returns the id of the captured Sentry event.
|
|
1492
|
-
*/
|
|
1493
|
-
captureException(e, n) {
|
|
1494
|
-
const r = n && n.event_id ? n.event_id : l();
|
|
1495
|
-
if (!this._client)
|
|
1496
|
-
return h.warn("No client configured on scope - will not capture exception!"), r;
|
|
1497
|
-
const s = new Error("Sentry syntheticException");
|
|
1498
|
-
return this._client.captureException(
|
|
1499
|
-
e,
|
|
1500
|
-
{
|
|
1501
|
-
originalException: e,
|
|
1502
|
-
syntheticException: s,
|
|
1503
|
-
...n,
|
|
1504
|
-
event_id: r
|
|
1505
|
-
},
|
|
1506
|
-
this
|
|
1507
|
-
), r;
|
|
1508
|
-
}
|
|
1509
|
-
/**
|
|
1510
|
-
* Capture a message for this scope.
|
|
1511
|
-
*
|
|
1512
|
-
* @param message The message to capture.
|
|
1513
|
-
* @param level An optional severity level to report the message with.
|
|
1514
|
-
* @param hint Optional additional data to attach to the Sentry event.
|
|
1515
|
-
* @returns the id of the captured message.
|
|
1516
|
-
*/
|
|
1517
|
-
captureMessage(e, n, r) {
|
|
1518
|
-
const s = r && r.event_id ? r.event_id : l();
|
|
1519
|
-
if (!this._client)
|
|
1520
|
-
return h.warn("No client configured on scope - will not capture message!"), s;
|
|
1521
|
-
const i = new Error(e);
|
|
1522
|
-
return this._client.captureMessage(
|
|
1523
|
-
e,
|
|
1524
|
-
n,
|
|
1525
|
-
{
|
|
1526
|
-
originalException: e,
|
|
1527
|
-
syntheticException: i,
|
|
1528
|
-
...r,
|
|
1529
|
-
event_id: s
|
|
1530
|
-
},
|
|
1531
|
-
this
|
|
1532
|
-
), s;
|
|
1533
|
-
}
|
|
1534
|
-
/**
|
|
1535
|
-
* Captures a manually created event for this scope and sends it to Sentry.
|
|
1536
|
-
*
|
|
1537
|
-
* @param exception The event to capture.
|
|
1538
|
-
* @param hint Optional additional data to attach to the Sentry event.
|
|
1539
|
-
* @returns the id of the captured event.
|
|
1540
|
-
*/
|
|
1541
|
-
captureEvent(e, n) {
|
|
1542
|
-
const r = n && n.event_id ? n.event_id : l();
|
|
1543
|
-
return this._client ? (this._client.captureEvent(e, { ...n, event_id: r }, this), r) : (h.warn("No client configured on scope - will not capture event!"), r);
|
|
1544
|
-
}
|
|
1545
|
-
/**
|
|
1546
|
-
* This will be called on every set call.
|
|
1547
|
-
*/
|
|
1548
|
-
_notifyScopeListeners() {
|
|
1549
|
-
this._notifyingListeners || (this._notifyingListeners = !0, this._scopeListeners.forEach((e) => {
|
|
1550
|
-
e(this);
|
|
1551
|
-
}), this._notifyingListeners = !1);
|
|
1552
|
-
}
|
|
1553
|
-
}
|
|
1554
|
-
function ve() {
|
|
1555
|
-
return q || (q = new E()), q;
|
|
1556
|
-
}
|
|
1557
|
-
function gt() {
|
|
1558
|
-
return {
|
|
1559
|
-
traceId: l(),
|
|
1560
|
-
spanId: l().substring(16)
|
|
1561
|
-
};
|
|
1562
|
-
}
|
|
1563
|
-
const Ye = "7.112.2", Pt = parseFloat(Ye), ze = 100;
|
|
1564
|
-
class wt {
|
|
1565
|
-
/** Is a {@link Layer}[] containing the client and scope */
|
|
1566
|
-
/** Contains the last event id of a captured event. */
|
|
1567
|
-
/**
|
|
1568
|
-
* Creates a new instance of the hub, will push one {@link Layer} into the
|
|
1569
|
-
* internal stack on creation.
|
|
1570
|
-
*
|
|
1571
|
-
* @param client bound to the hub.
|
|
1572
|
-
* @param scope bound to the hub.
|
|
1573
|
-
* @param version number, higher number means higher priority.
|
|
1574
|
-
*
|
|
1575
|
-
* @deprecated Instantiation of Hub objects is deprecated and the constructor will be removed in version 8 of the SDK.
|
|
1576
|
-
*
|
|
1577
|
-
* If you are currently using the Hub for multi-client use like so:
|
|
1578
|
-
*
|
|
1579
|
-
* ```
|
|
1580
|
-
* // OLD
|
|
1581
|
-
* const hub = new Hub();
|
|
1582
|
-
* hub.bindClient(client);
|
|
1583
|
-
* makeMain(hub)
|
|
1584
|
-
* ```
|
|
1585
|
-
*
|
|
1586
|
-
* instead initialize the client as follows:
|
|
1587
|
-
*
|
|
1588
|
-
* ```
|
|
1589
|
-
* // NEW
|
|
1590
|
-
* Sentry.withIsolationScope(() => {
|
|
1591
|
-
* Sentry.setCurrentClient(client);
|
|
1592
|
-
* client.init();
|
|
1593
|
-
* });
|
|
1594
|
-
* ```
|
|
1595
|
-
*
|
|
1596
|
-
* If you are using the Hub to capture events like so:
|
|
1597
|
-
*
|
|
1598
|
-
* ```
|
|
1599
|
-
* // OLD
|
|
1600
|
-
* const client = new Client();
|
|
1601
|
-
* const hub = new Hub(client);
|
|
1602
|
-
* hub.captureException()
|
|
1603
|
-
* ```
|
|
1604
|
-
*
|
|
1605
|
-
* instead capture isolated events as follows:
|
|
1606
|
-
*
|
|
1607
|
-
* ```
|
|
1608
|
-
* // NEW
|
|
1609
|
-
* const client = new Client();
|
|
1610
|
-
* const scope = new Scope();
|
|
1611
|
-
* scope.setClient(client);
|
|
1612
|
-
* scope.captureException();
|
|
1613
|
-
* ```
|
|
1614
|
-
*/
|
|
1615
|
-
constructor(e, n, r, s = Pt) {
|
|
1616
|
-
this._version = s;
|
|
1617
|
-
let i;
|
|
1618
|
-
n ? i = n : (i = new E(), i.setClient(e));
|
|
1619
|
-
let o;
|
|
1620
|
-
r ? o = r : (o = new E(), o.setClient(e)), this._stack = [{ scope: i }], e && this.bindClient(e), this._isolationScope = o;
|
|
1621
|
-
}
|
|
1622
|
-
/**
|
|
1623
|
-
* Checks if this hub's version is older than the given version.
|
|
1624
|
-
*
|
|
1625
|
-
* @param version A version number to compare to.
|
|
1626
|
-
* @return True if the given version is newer; otherwise false.
|
|
1627
|
-
*
|
|
1628
|
-
* @deprecated This will be removed in v8.
|
|
1629
|
-
*/
|
|
1630
|
-
isOlderThan(e) {
|
|
1631
|
-
return this._version < e;
|
|
1632
|
-
}
|
|
1633
|
-
/**
|
|
1634
|
-
* This binds the given client to the current scope.
|
|
1635
|
-
* @param client An SDK client (client) instance.
|
|
1636
|
-
*
|
|
1637
|
-
* @deprecated Use `initAndBind()` directly, or `setCurrentClient()` and/or `client.init()` instead.
|
|
1638
|
-
*/
|
|
1639
|
-
bindClient(e) {
|
|
1640
|
-
const n = this.getStackTop();
|
|
1641
|
-
n.client = e, n.scope.setClient(e), e && e.setupIntegrations && e.setupIntegrations();
|
|
1642
|
-
}
|
|
1643
|
-
/**
|
|
1644
|
-
* @inheritDoc
|
|
1645
|
-
*
|
|
1646
|
-
* @deprecated Use `withScope` instead.
|
|
1647
|
-
*/
|
|
1648
|
-
pushScope() {
|
|
1649
|
-
const e = this.getScope().clone();
|
|
1650
|
-
return this.getStack().push({
|
|
1651
|
-
// eslint-disable-next-line deprecation/deprecation
|
|
1652
|
-
client: this.getClient(),
|
|
1653
|
-
scope: e
|
|
1654
|
-
}), e;
|
|
1655
|
-
}
|
|
1656
|
-
/**
|
|
1657
|
-
* @inheritDoc
|
|
1658
|
-
*
|
|
1659
|
-
* @deprecated Use `withScope` instead.
|
|
1660
|
-
*/
|
|
1661
|
-
popScope() {
|
|
1662
|
-
return this.getStack().length <= 1 ? !1 : !!this.getStack().pop();
|
|
1663
|
-
}
|
|
1664
|
-
/**
|
|
1665
|
-
* @inheritDoc
|
|
1666
|
-
*
|
|
1667
|
-
* @deprecated Use `Sentry.withScope()` instead.
|
|
1668
|
-
*/
|
|
1669
|
-
withScope(e) {
|
|
1670
|
-
const n = this.pushScope();
|
|
1671
|
-
let r;
|
|
1672
|
-
try {
|
|
1673
|
-
r = e(n);
|
|
1674
|
-
} catch (s) {
|
|
1675
|
-
throw this.popScope(), s;
|
|
1676
|
-
}
|
|
1677
|
-
return Z(r) ? r.then(
|
|
1678
|
-
(s) => (this.popScope(), s),
|
|
1679
|
-
(s) => {
|
|
1680
|
-
throw this.popScope(), s;
|
|
1681
|
-
}
|
|
1682
|
-
) : (this.popScope(), r);
|
|
1683
|
-
}
|
|
1684
|
-
/**
|
|
1685
|
-
* @inheritDoc
|
|
1686
|
-
*
|
|
1687
|
-
* @deprecated Use `Sentry.getClient()` instead.
|
|
1688
|
-
*/
|
|
1689
|
-
getClient() {
|
|
1690
|
-
return this.getStackTop().client;
|
|
1691
|
-
}
|
|
1692
|
-
/**
|
|
1693
|
-
* Returns the scope of the top stack.
|
|
1694
|
-
*
|
|
1695
|
-
* @deprecated Use `Sentry.getCurrentScope()` instead.
|
|
1696
|
-
*/
|
|
1697
|
-
getScope() {
|
|
1698
|
-
return this.getStackTop().scope;
|
|
1699
|
-
}
|
|
1700
|
-
/**
|
|
1701
|
-
* @deprecated Use `Sentry.getIsolationScope()` instead.
|
|
1702
|
-
*/
|
|
1703
|
-
getIsolationScope() {
|
|
1704
|
-
return this._isolationScope;
|
|
1705
|
-
}
|
|
1706
|
-
/**
|
|
1707
|
-
* Returns the scope stack for domains or the process.
|
|
1708
|
-
* @deprecated This will be removed in v8.
|
|
1709
|
-
*/
|
|
1710
|
-
getStack() {
|
|
1711
|
-
return this._stack;
|
|
1712
|
-
}
|
|
1713
|
-
/**
|
|
1714
|
-
* Returns the topmost scope layer in the order domain > local > process.
|
|
1715
|
-
* @deprecated This will be removed in v8.
|
|
1716
|
-
*/
|
|
1717
|
-
getStackTop() {
|
|
1718
|
-
return this._stack[this._stack.length - 1];
|
|
1719
|
-
}
|
|
1720
|
-
/**
|
|
1721
|
-
* @inheritDoc
|
|
1722
|
-
*
|
|
1723
|
-
* @deprecated Use `Sentry.captureException()` instead.
|
|
1724
|
-
*/
|
|
1725
|
-
captureException(e, n) {
|
|
1726
|
-
const r = this._lastEventId = n && n.event_id ? n.event_id : l(), s = new Error("Sentry syntheticException");
|
|
1727
|
-
return this.getScope().captureException(e, {
|
|
1728
|
-
originalException: e,
|
|
1729
|
-
syntheticException: s,
|
|
1730
|
-
...n,
|
|
1731
|
-
event_id: r
|
|
1732
|
-
}), r;
|
|
1733
|
-
}
|
|
1734
|
-
/**
|
|
1735
|
-
* @inheritDoc
|
|
1736
|
-
*
|
|
1737
|
-
* @deprecated Use `Sentry.captureMessage()` instead.
|
|
1738
|
-
*/
|
|
1739
|
-
captureMessage(e, n, r) {
|
|
1740
|
-
const s = this._lastEventId = r && r.event_id ? r.event_id : l(), i = new Error(e);
|
|
1741
|
-
return this.getScope().captureMessage(e, n, {
|
|
1742
|
-
originalException: e,
|
|
1743
|
-
syntheticException: i,
|
|
1744
|
-
...r,
|
|
1745
|
-
event_id: s
|
|
1746
|
-
}), s;
|
|
1747
|
-
}
|
|
1748
|
-
/**
|
|
1749
|
-
* @inheritDoc
|
|
1750
|
-
*
|
|
1751
|
-
* @deprecated Use `Sentry.captureEvent()` instead.
|
|
1752
|
-
*/
|
|
1753
|
-
captureEvent(e, n) {
|
|
1754
|
-
const r = n && n.event_id ? n.event_id : l();
|
|
1755
|
-
return e.type || (this._lastEventId = r), this.getScope().captureEvent(e, { ...n, event_id: r }), r;
|
|
1756
|
-
}
|
|
1757
|
-
/**
|
|
1758
|
-
* @inheritDoc
|
|
1759
|
-
*
|
|
1760
|
-
* @deprecated This will be removed in v8.
|
|
1761
|
-
*/
|
|
1762
|
-
lastEventId() {
|
|
1763
|
-
return this._lastEventId;
|
|
1764
|
-
}
|
|
1765
|
-
/**
|
|
1766
|
-
* @inheritDoc
|
|
1767
|
-
*
|
|
1768
|
-
* @deprecated Use `Sentry.addBreadcrumb()` instead.
|
|
1769
|
-
*/
|
|
1770
|
-
addBreadcrumb(e, n) {
|
|
1771
|
-
const { scope: r, client: s } = this.getStackTop();
|
|
1772
|
-
if (!s)
|
|
1773
|
-
return;
|
|
1774
|
-
const { beforeBreadcrumb: i = null, maxBreadcrumbs: o = ze } = s.getOptions && s.getOptions() || {};
|
|
1775
|
-
if (o <= 0)
|
|
1776
|
-
return;
|
|
1777
|
-
const c = { timestamp: G(), ...e }, u = i ? et(() => i(c, n)) : c;
|
|
1778
|
-
u !== null && (s.emit && s.emit("beforeAddBreadcrumb", u, n), r.addBreadcrumb(u, o));
|
|
1779
|
-
}
|
|
1780
|
-
/**
|
|
1781
|
-
* @inheritDoc
|
|
1782
|
-
* @deprecated Use `Sentry.setUser()` instead.
|
|
1783
|
-
*/
|
|
1784
|
-
setUser(e) {
|
|
1785
|
-
this.getScope().setUser(e), this.getIsolationScope().setUser(e);
|
|
1786
|
-
}
|
|
1787
|
-
/**
|
|
1788
|
-
* @inheritDoc
|
|
1789
|
-
* @deprecated Use `Sentry.setTags()` instead.
|
|
1790
|
-
*/
|
|
1791
|
-
setTags(e) {
|
|
1792
|
-
this.getScope().setTags(e), this.getIsolationScope().setTags(e);
|
|
1793
|
-
}
|
|
1794
|
-
/**
|
|
1795
|
-
* @inheritDoc
|
|
1796
|
-
* @deprecated Use `Sentry.setExtras()` instead.
|
|
1797
|
-
*/
|
|
1798
|
-
setExtras(e) {
|
|
1799
|
-
this.getScope().setExtras(e), this.getIsolationScope().setExtras(e);
|
|
1800
|
-
}
|
|
1801
|
-
/**
|
|
1802
|
-
* @inheritDoc
|
|
1803
|
-
* @deprecated Use `Sentry.setTag()` instead.
|
|
1804
|
-
*/
|
|
1805
|
-
setTag(e, n) {
|
|
1806
|
-
this.getScope().setTag(e, n), this.getIsolationScope().setTag(e, n);
|
|
1807
|
-
}
|
|
1808
|
-
/**
|
|
1809
|
-
* @inheritDoc
|
|
1810
|
-
* @deprecated Use `Sentry.setExtra()` instead.
|
|
1811
|
-
*/
|
|
1812
|
-
setExtra(e, n) {
|
|
1813
|
-
this.getScope().setExtra(e, n), this.getIsolationScope().setExtra(e, n);
|
|
1814
|
-
}
|
|
1815
|
-
/**
|
|
1816
|
-
* @inheritDoc
|
|
1817
|
-
* @deprecated Use `Sentry.setContext()` instead.
|
|
1818
|
-
*/
|
|
1819
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1820
|
-
setContext(e, n) {
|
|
1821
|
-
this.getScope().setContext(e, n), this.getIsolationScope().setContext(e, n);
|
|
1822
|
-
}
|
|
1823
|
-
/**
|
|
1824
|
-
* @inheritDoc
|
|
1825
|
-
*
|
|
1826
|
-
* @deprecated Use `getScope()` directly.
|
|
1827
|
-
*/
|
|
1828
|
-
configureScope(e) {
|
|
1829
|
-
const { scope: n, client: r } = this.getStackTop();
|
|
1830
|
-
r && e(n);
|
|
1831
|
-
}
|
|
1832
|
-
/**
|
|
1833
|
-
* @inheritDoc
|
|
1834
|
-
*/
|
|
1835
|
-
// eslint-disable-next-line deprecation/deprecation
|
|
1836
|
-
run(e) {
|
|
1837
|
-
const n = _t(this);
|
|
1838
|
-
try {
|
|
1839
|
-
e(this);
|
|
1840
|
-
} finally {
|
|
1841
|
-
_t(n);
|
|
1842
|
-
}
|
|
1843
|
-
}
|
|
1844
|
-
/**
|
|
1845
|
-
* @inheritDoc
|
|
1846
|
-
* @deprecated Use `Sentry.getClient().getIntegrationByName()` instead.
|
|
1847
|
-
*/
|
|
1848
|
-
getIntegration(e) {
|
|
1849
|
-
const n = this.getClient();
|
|
1850
|
-
if (!n)
|
|
1851
|
-
return null;
|
|
1852
|
-
try {
|
|
1853
|
-
return n.getIntegration(e);
|
|
1854
|
-
} catch {
|
|
1855
|
-
return w && h.warn(`Cannot retrieve integration ${e.id} from the current Hub`), null;
|
|
1856
|
-
}
|
|
1857
|
-
}
|
|
1858
|
-
/**
|
|
1859
|
-
* Starts a new `Transaction` and returns it. This is the entry point to manual tracing instrumentation.
|
|
1860
|
-
*
|
|
1861
|
-
* A tree structure can be built by adding child spans to the transaction, and child spans to other spans. To start a
|
|
1862
|
-
* new child span within the transaction or any span, call the respective `.startChild()` method.
|
|
1863
|
-
*
|
|
1864
|
-
* Every child span must be finished before the transaction is finished, otherwise the unfinished spans are discarded.
|
|
1865
|
-
*
|
|
1866
|
-
* The transaction must be finished with a call to its `.end()` method, at which point the transaction with all its
|
|
1867
|
-
* finished child spans will be sent to Sentry.
|
|
1868
|
-
*
|
|
1869
|
-
* @param context Properties of the new `Transaction`.
|
|
1870
|
-
* @param customSamplingContext Information given to the transaction sampling function (along with context-dependent
|
|
1871
|
-
* default values). See {@link Options.tracesSampler}.
|
|
1872
|
-
*
|
|
1873
|
-
* @returns The transaction which was just started
|
|
1874
|
-
*
|
|
1875
|
-
* @deprecated Use `startSpan()`, `startSpanManual()` or `startInactiveSpan()` instead.
|
|
1876
|
-
*/
|
|
1877
|
-
startTransaction(e, n) {
|
|
1878
|
-
const r = this._callExtensionMethod("startTransaction", e, n);
|
|
1879
|
-
return w && !r && (this.getClient() ? h.warn(`Tracing extension 'startTransaction' has not been added. Call 'addTracingExtensions' before calling 'init':
|
|
1880
|
-
Sentry.addTracingExtensions();
|
|
1881
|
-
Sentry.init({...});
|
|
1882
|
-
`) : h.warn(
|
|
1883
|
-
"Tracing extension 'startTransaction' is missing. You should 'init' the SDK before calling 'startTransaction'"
|
|
1884
|
-
)), r;
|
|
1885
|
-
}
|
|
1886
|
-
/**
|
|
1887
|
-
* @inheritDoc
|
|
1888
|
-
* @deprecated Use `spanToTraceHeader()` instead.
|
|
1889
|
-
*/
|
|
1890
|
-
traceHeaders() {
|
|
1891
|
-
return this._callExtensionMethod("traceHeaders");
|
|
1892
|
-
}
|
|
1893
|
-
/**
|
|
1894
|
-
* @inheritDoc
|
|
1895
|
-
*
|
|
1896
|
-
* @deprecated Use top level `captureSession` instead.
|
|
1897
|
-
*/
|
|
1898
|
-
captureSession(e = !1) {
|
|
1899
|
-
if (e)
|
|
1900
|
-
return this.endSession();
|
|
1901
|
-
this._sendSessionUpdate();
|
|
1902
|
-
}
|
|
1903
|
-
/**
|
|
1904
|
-
* @inheritDoc
|
|
1905
|
-
* @deprecated Use top level `endSession` instead.
|
|
1906
|
-
*/
|
|
1907
|
-
endSession() {
|
|
1908
|
-
const n = this.getStackTop().scope, r = n.getSession();
|
|
1909
|
-
r && Nt(r), this._sendSessionUpdate(), n.setSession();
|
|
1910
|
-
}
|
|
1911
|
-
/**
|
|
1912
|
-
* @inheritDoc
|
|
1913
|
-
* @deprecated Use top level `startSession` instead.
|
|
1914
|
-
*/
|
|
1915
|
-
startSession(e) {
|
|
1916
|
-
const { scope: n, client: r } = this.getStackTop(), { release: s, environment: i = F } = r && r.getOptions() || {}, { userAgent: o } = _.navigator || {}, a = It({
|
|
1917
|
-
release: s,
|
|
1918
|
-
environment: i,
|
|
1919
|
-
user: n.getUser(),
|
|
1920
|
-
...o && { userAgent: o },
|
|
1921
|
-
...e
|
|
1922
|
-
}), c = n.getSession && n.getSession();
|
|
1923
|
-
return c && c.status === "ok" && $(c, { status: "exited" }), this.endSession(), n.setSession(a), a;
|
|
1924
|
-
}
|
|
1925
|
-
/**
|
|
1926
|
-
* Returns if default PII should be sent to Sentry and propagated in ourgoing requests
|
|
1927
|
-
* when Tracing is used.
|
|
1928
|
-
*
|
|
1929
|
-
* @deprecated Use top-level `getClient().getOptions().sendDefaultPii` instead. This function
|
|
1930
|
-
* only unnecessarily increased API surface but only wrapped accessing the option.
|
|
1931
|
-
*/
|
|
1932
|
-
shouldSendDefaultPii() {
|
|
1933
|
-
const e = this.getClient(), n = e && e.getOptions();
|
|
1934
|
-
return !!(n && n.sendDefaultPii);
|
|
1935
|
-
}
|
|
1936
|
-
/**
|
|
1937
|
-
* Sends the current Session on the scope
|
|
1938
|
-
*/
|
|
1939
|
-
_sendSessionUpdate() {
|
|
1940
|
-
const { scope: e, client: n } = this.getStackTop(), r = e.getSession();
|
|
1941
|
-
r && n && n.captureSession && n.captureSession(r);
|
|
1942
|
-
}
|
|
1943
|
-
/**
|
|
1944
|
-
* Calls global extension method and binding current instance to the function call
|
|
1945
|
-
*/
|
|
1946
|
-
// @ts-expect-error Function lacks ending return statement and return type does not include 'undefined'. ts(2366)
|
|
1947
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1948
|
-
_callExtensionMethod(e, ...n) {
|
|
1949
|
-
const s = v().__SENTRY__;
|
|
1950
|
-
if (s && s.extensions && typeof s.extensions[e] == "function")
|
|
1951
|
-
return s.extensions[e].apply(this, n);
|
|
1952
|
-
w && h.warn(`Extension method ${e} couldn't be found, doing nothing.`);
|
|
1953
|
-
}
|
|
1954
|
-
}
|
|
1955
|
-
function v() {
|
|
1956
|
-
return _.__SENTRY__ = _.__SENTRY__ || {
|
|
1957
|
-
extensions: {},
|
|
1958
|
-
hub: void 0
|
|
1959
|
-
}, _;
|
|
1960
|
-
}
|
|
1961
|
-
function _t(t) {
|
|
1962
|
-
const e = v(), n = W(e);
|
|
1963
|
-
return Mt(e, t), n;
|
|
1964
|
-
}
|
|
1965
|
-
function b() {
|
|
1966
|
-
const t = v();
|
|
1967
|
-
if (t.__SENTRY__ && t.__SENTRY__.acs) {
|
|
1968
|
-
const e = t.__SENTRY__.acs.getCurrentHub();
|
|
1969
|
-
if (e)
|
|
1970
|
-
return e;
|
|
1971
|
-
}
|
|
1972
|
-
return qe(t);
|
|
1973
|
-
}
|
|
1974
|
-
function Y() {
|
|
1975
|
-
return b().getIsolationScope();
|
|
1976
|
-
}
|
|
1977
|
-
function qe(t = v()) {
|
|
1978
|
-
return (!Ve(t) || // eslint-disable-next-line deprecation/deprecation
|
|
1979
|
-
W(t).isOlderThan(Pt)) && Mt(t, new wt()), W(t);
|
|
1980
|
-
}
|
|
1981
|
-
function Ve(t) {
|
|
1982
|
-
return !!(t && t.__SENTRY__ && t.__SENTRY__.hub);
|
|
1983
|
-
}
|
|
1984
|
-
function W(t) {
|
|
1985
|
-
return Et("hub", () => new wt(), t);
|
|
1986
|
-
}
|
|
1987
|
-
function Mt(t, e) {
|
|
1988
|
-
if (!t)
|
|
1989
|
-
return !1;
|
|
1990
|
-
const n = t.__SENTRY__ = t.__SENTRY__ || {};
|
|
1991
|
-
return n.hub = e, !0;
|
|
1992
|
-
}
|
|
1993
|
-
function Lt(t) {
|
|
1994
|
-
if (typeof __SENTRY_TRACING__ == "boolean" && !__SENTRY_TRACING__)
|
|
1995
|
-
return !1;
|
|
1996
|
-
const e = H(), n = t || e && e.getOptions();
|
|
1997
|
-
return !!n && (n.enableTracing || "tracesSampleRate" in n || "tracesSampler" in n);
|
|
1998
|
-
}
|
|
1999
|
-
function ht(t) {
|
|
2000
|
-
if (!Lt())
|
|
2001
|
-
return;
|
|
2002
|
-
const e = Ke(t), n = b(), r = t.scope ? (
|
|
2003
|
-
// eslint-disable-next-line deprecation/deprecation
|
|
2004
|
-
t.scope.getSpan()
|
|
2005
|
-
) : X();
|
|
2006
|
-
if (t.onlyIfParent && !r)
|
|
2007
|
-
return;
|
|
2008
|
-
const o = (t.scope || x()).clone();
|
|
2009
|
-
return Je(n, {
|
|
2010
|
-
parentSpan: r,
|
|
2011
|
-
spanContext: e,
|
|
2012
|
-
forceTransaction: t.forceTransaction,
|
|
2013
|
-
scope: o
|
|
2014
|
-
});
|
|
2015
|
-
}
|
|
2016
|
-
function X() {
|
|
2017
|
-
return x().getSpan();
|
|
2018
|
-
}
|
|
2019
|
-
function Je(t, {
|
|
2020
|
-
parentSpan: e,
|
|
2021
|
-
spanContext: n,
|
|
2022
|
-
forceTransaction: r,
|
|
2023
|
-
scope: s
|
|
2024
|
-
}) {
|
|
2025
|
-
if (!Lt())
|
|
2026
|
-
return;
|
|
2027
|
-
const i = Y();
|
|
2028
|
-
let o;
|
|
2029
|
-
if (e && !r)
|
|
2030
|
-
o = e.startChild(n);
|
|
2031
|
-
else if (e) {
|
|
2032
|
-
const a = kt(e), { traceId: c, spanId: u } = e.spanContext(), f = rt(e);
|
|
2033
|
-
o = t.startTransaction({
|
|
2034
|
-
traceId: c,
|
|
2035
|
-
parentSpanId: u,
|
|
2036
|
-
parentSampled: f,
|
|
2037
|
-
...n,
|
|
2038
|
-
metadata: {
|
|
2039
|
-
dynamicSamplingContext: a,
|
|
2040
|
-
// eslint-disable-next-line deprecation/deprecation
|
|
2041
|
-
...n.metadata
|
|
2042
|
-
}
|
|
2043
|
-
});
|
|
2044
|
-
} else {
|
|
2045
|
-
const { traceId: a, dsc: c, parentSpanId: u, sampled: f } = {
|
|
2046
|
-
...i.getPropagationContext(),
|
|
2047
|
-
...s.getPropagationContext()
|
|
2048
|
-
};
|
|
2049
|
-
o = t.startTransaction({
|
|
2050
|
-
traceId: a,
|
|
2051
|
-
parentSpanId: u,
|
|
2052
|
-
parentSampled: f,
|
|
2053
|
-
...n,
|
|
2054
|
-
metadata: {
|
|
2055
|
-
dynamicSamplingContext: c,
|
|
2056
|
-
// eslint-disable-next-line deprecation/deprecation
|
|
2057
|
-
...n.metadata
|
|
2058
|
-
}
|
|
2059
|
-
});
|
|
2060
|
-
}
|
|
2061
|
-
return s.setSpan(o), We(o, s, i), o;
|
|
2062
|
-
}
|
|
2063
|
-
function Ke(t) {
|
|
2064
|
-
if (t.startTime) {
|
|
2065
|
-
const e = { ...t };
|
|
2066
|
-
return e.startTimestamp = Oe(t.startTime), delete e.startTime, e;
|
|
2067
|
-
}
|
|
2068
|
-
return t;
|
|
2069
|
-
}
|
|
2070
|
-
const jt = "_sentryScope", Ut = "_sentryIsolationScope";
|
|
2071
|
-
function We(t, e, n) {
|
|
2072
|
-
t && (L(t, Ut, n), L(t, jt, e));
|
|
2073
|
-
}
|
|
2074
|
-
function Fn(t) {
|
|
2075
|
-
return {
|
|
2076
|
-
scope: t[jt],
|
|
2077
|
-
isolationScope: t[Ut]
|
|
2078
|
-
};
|
|
2079
|
-
}
|
|
2080
|
-
const Xe = ["activate", "mount", "update"], Qe = /(?:^|[-_])(\w)/g, Ze = (t) => t.replace(Qe, (e) => e.toUpperCase()).replace(/[-_]/g, ""), tn = "<Root>", V = "<Anonymous>", en = (t, e) => t.repeat ? t.repeat(e) : t, A = (t, e) => {
|
|
2081
|
-
if (!t)
|
|
2082
|
-
return V;
|
|
2083
|
-
if (t.$root === t)
|
|
2084
|
-
return tn;
|
|
2085
|
-
if (!t.$options)
|
|
2086
|
-
return V;
|
|
2087
|
-
const n = t.$options;
|
|
2088
|
-
let r = n.name || n._componentTag;
|
|
2089
|
-
const s = n.__file;
|
|
2090
|
-
if (!r && s) {
|
|
2091
|
-
const i = s.match(/([^/\\]+)\.vue$/);
|
|
2092
|
-
i && (r = i[1]);
|
|
2093
|
-
}
|
|
2094
|
-
return (r ? `<${Ze(r)}>` : V) + (s && e !== !1 ? ` at ${s}` : "");
|
|
2095
|
-
}, nn = (t) => {
|
|
2096
|
-
if (t && (t._isVue || t.__isVue) && t.$parent) {
|
|
2097
|
-
const e = [];
|
|
2098
|
-
let n = 0;
|
|
2099
|
-
for (; t; ) {
|
|
2100
|
-
if (e.length > 0) {
|
|
2101
|
-
const s = e[e.length - 1];
|
|
2102
|
-
if (s.constructor === t.constructor) {
|
|
2103
|
-
n++, t = t.$parent;
|
|
2104
|
-
continue;
|
|
2105
|
-
} else
|
|
2106
|
-
n > 0 && (e[e.length - 1] = [s, n], n = 0);
|
|
2107
|
-
}
|
|
2108
|
-
e.push(t), t = t.$parent;
|
|
2109
|
-
}
|
|
2110
|
-
return `
|
|
2111
|
-
|
|
2112
|
-
found in
|
|
2113
|
-
|
|
2114
|
-
${e.map(
|
|
2115
|
-
(s, i) => `${(i === 0 ? "---> " : en(" ", 5 + i * 2)) + (Array.isArray(s) ? `${A(s[0])}... (${s[1]} recursive calls)` : A(s))}`
|
|
2116
|
-
).join(`
|
|
2117
|
-
`)}`;
|
|
2118
|
-
}
|
|
2119
|
-
return `
|
|
2120
|
-
|
|
2121
|
-
(found in ${A(t)})`;
|
|
2122
|
-
}, Hn = (t, e) => {
|
|
2123
|
-
const { errorHandler: n, warnHandler: r, silent: s } = t.config;
|
|
2124
|
-
t.config.errorHandler = (i, o, a) => {
|
|
2125
|
-
const c = A(o, !1), u = o ? nn(o) : "", f = {
|
|
2126
|
-
componentName: c,
|
|
2127
|
-
lifecycleHook: a,
|
|
2128
|
-
trace: u
|
|
2129
|
-
};
|
|
2130
|
-
if (e.attachProps && o && (o.$options && o.$options.propsData ? f.propsData = o.$options.propsData : o.$props && (f.propsData = o.$props)), setTimeout(() => {
|
|
2131
|
-
Me(i, {
|
|
2132
|
-
captureContext: { contexts: { vue: f } },
|
|
2133
|
-
mechanism: { handled: !1 }
|
|
2134
|
-
});
|
|
2135
|
-
}), typeof n == "function" && n.call(t, i, o, a), e.logErrors) {
|
|
2136
|
-
const p = typeof console < "u", d = `Error in ${a}: "${i && i.toString()}"`;
|
|
2137
|
-
r ? r.call(null, d, o, u) : p && !s && et(() => {
|
|
2138
|
-
console.error(`[Vue warn]: ${d}${u}`);
|
|
2139
|
-
});
|
|
2140
|
-
}
|
|
2141
|
-
};
|
|
2142
|
-
}, rn = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, mt = "ui.vue", sn = {
|
|
2143
|
-
activate: ["activated", "deactivated"],
|
|
2144
|
-
create: ["beforeCreate", "created"],
|
|
2145
|
-
// Vue 3
|
|
2146
|
-
unmount: ["beforeUnmount", "unmounted"],
|
|
2147
|
-
// Vue 2
|
|
2148
|
-
destroy: ["beforeDestroy", "destroyed"],
|
|
2149
|
-
mount: ["beforeMount", "mounted"],
|
|
2150
|
-
update: ["beforeUpdate", "updated"]
|
|
2151
|
-
};
|
|
2152
|
-
function vn() {
|
|
2153
|
-
return x().getTransaction();
|
|
2154
|
-
}
|
|
2155
|
-
function on(t, e, n) {
|
|
2156
|
-
t.$_sentryRootSpanTimer && clearTimeout(t.$_sentryRootSpanTimer), t.$_sentryRootSpanTimer = setTimeout(() => {
|
|
2157
|
-
t.$root && t.$root.$_sentryRootSpan && (t.$root.$_sentryRootSpan.end(e), t.$root.$_sentryRootSpan = void 0);
|
|
2158
|
-
}, n);
|
|
2159
|
-
}
|
|
2160
|
-
const Yn = (t) => {
|
|
2161
|
-
const e = (t.hooks || []).concat(Xe).filter((r, s, i) => i.indexOf(r) === s), n = {};
|
|
2162
|
-
for (const r of e) {
|
|
2163
|
-
const s = sn[r];
|
|
2164
|
-
if (!s) {
|
|
2165
|
-
rn && h.warn(`Unknown hook: ${r}`);
|
|
2166
|
-
continue;
|
|
2167
|
-
}
|
|
2168
|
-
for (const i of s)
|
|
2169
|
-
n[i] = function() {
|
|
2170
|
-
const o = this.$root === this;
|
|
2171
|
-
o && X() && (this.$_sentryRootSpan = this.$_sentryRootSpan || ht({
|
|
2172
|
-
name: "Application Render",
|
|
2173
|
-
op: `${mt}.render`,
|
|
2174
|
-
origin: "auto.ui.vue"
|
|
2175
|
-
}));
|
|
2176
|
-
const a = A(this, !1), c = Array.isArray(t.trackComponents) ? t.trackComponents.indexOf(a) > -1 : t.trackComponents;
|
|
2177
|
-
if (!(!o && !c))
|
|
2178
|
-
if (this.$_sentrySpans = this.$_sentrySpans || {}, i == s[0]) {
|
|
2179
|
-
if (this.$root && this.$root.$_sentryRootSpan || X()) {
|
|
2180
|
-
const f = this.$_sentrySpans[r];
|
|
2181
|
-
f && f.end(), this.$_sentrySpans[r] = ht({
|
|
2182
|
-
name: `Vue <${a}>`,
|
|
2183
|
-
op: `${mt}.${r}`,
|
|
2184
|
-
origin: "auto.ui.vue"
|
|
2185
|
-
});
|
|
2186
|
-
}
|
|
2187
|
-
} else {
|
|
2188
|
-
const u = this.$_sentrySpans[r];
|
|
2189
|
-
if (!u)
|
|
2190
|
-
return;
|
|
2191
|
-
u.end(), on(this, B(), t.timeout);
|
|
2192
|
-
}
|
|
2193
|
-
};
|
|
2194
|
-
}
|
|
2195
|
-
return n;
|
|
2196
|
-
};
|
|
2197
|
-
export {
|
|
2198
|
-
dn as $,
|
|
2199
|
-
Te as A,
|
|
2200
|
-
kt as B,
|
|
2201
|
-
st as C,
|
|
2202
|
-
tt as D,
|
|
2203
|
-
Fn as E,
|
|
2204
|
-
Lt as F,
|
|
2205
|
-
_ as G,
|
|
2206
|
-
zt as H,
|
|
2207
|
-
v as I,
|
|
2208
|
-
yn as J,
|
|
2209
|
-
ie as K,
|
|
2210
|
-
kn as L,
|
|
2211
|
-
H as M,
|
|
2212
|
-
xn as N,
|
|
2213
|
-
pn as O,
|
|
2214
|
-
$ as P,
|
|
2215
|
-
wn as Q,
|
|
2216
|
-
Le as R,
|
|
2217
|
-
S,
|
|
2218
|
-
be as T,
|
|
2219
|
-
Y as U,
|
|
2220
|
-
Z as V,
|
|
2221
|
-
Q as W,
|
|
2222
|
-
Bt as X,
|
|
2223
|
-
x as Y,
|
|
2224
|
-
Ye as Z,
|
|
2225
|
-
Tn as _,
|
|
2226
|
-
Hn as a,
|
|
2227
|
-
Sn as a0,
|
|
2228
|
-
Nn as a1,
|
|
2229
|
-
Kt as a2,
|
|
2230
|
-
hn as a3,
|
|
2231
|
-
ht as a4,
|
|
2232
|
-
ye as a5,
|
|
2233
|
-
Dn as a6,
|
|
2234
|
-
Rn as a7,
|
|
2235
|
-
X as a8,
|
|
2236
|
-
An as a9,
|
|
2237
|
-
_n as aa,
|
|
2238
|
-
Zt as ab,
|
|
2239
|
-
Un as ac,
|
|
2240
|
-
On as ad,
|
|
2241
|
-
se as ae,
|
|
2242
|
-
Me as af,
|
|
2243
|
-
cn as ag,
|
|
2244
|
-
un as ah,
|
|
2245
|
-
fn as ai,
|
|
2246
|
-
Gt as aj,
|
|
2247
|
-
Ft as ak,
|
|
2248
|
-
ae as al,
|
|
2249
|
-
En as am,
|
|
2250
|
-
ee as an,
|
|
2251
|
-
Ln as ao,
|
|
2252
|
-
ln as ap,
|
|
2253
|
-
Mn as aq,
|
|
2254
|
-
gn as ar,
|
|
2255
|
-
bn as as,
|
|
2256
|
-
Gn as at,
|
|
2257
|
-
Bn as au,
|
|
2258
|
-
jn as av,
|
|
2259
|
-
Xe as aw,
|
|
2260
|
-
vn as ax,
|
|
2261
|
-
et as b,
|
|
2262
|
-
Yn as c,
|
|
2263
|
-
L as d,
|
|
2264
|
-
Vt as e,
|
|
2265
|
-
mn as f,
|
|
2266
|
-
re as g,
|
|
2267
|
-
M as h,
|
|
2268
|
-
U as i,
|
|
2269
|
-
Cn as j,
|
|
2270
|
-
O as k,
|
|
2271
|
-
h as l,
|
|
2272
|
-
G as m,
|
|
2273
|
-
T as n,
|
|
2274
|
-
it as o,
|
|
2275
|
-
b as p,
|
|
2276
|
-
w as q,
|
|
2277
|
-
In as r,
|
|
2278
|
-
B as s,
|
|
2279
|
-
D as t,
|
|
2280
|
-
l as u,
|
|
2281
|
-
$n as v,
|
|
2282
|
-
At as w,
|
|
2283
|
-
k as x,
|
|
2284
|
-
Oe as y,
|
|
2285
|
-
Pn as z
|
|
2286
|
-
};
|
|
2287
|
-
//# sourceMappingURL=tracing-wxeFiHIa.js.map
|