@konnectio/core 4.0.80 → 4.0.82
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-CvQ0YUxr.js → ActionField-Mf3IO8Sg.js} +3 -3
- package/dist/ActionField-Mf3IO8Sg.js.br +0 -0
- package/dist/{AvailabilitySkeleton-BE4L1nd9.js → AvailabilitySkeleton-D3xnLMQI.js} +6 -6
- package/dist/AvailabilitySkeleton-D3xnLMQI.js.br +0 -0
- package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-CKFyiTSe.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-C4S5K4Ed.js} +4 -4
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-C4S5K4Ed.js.br +0 -0
- package/dist/{CheckoutWindow-DuKRLFkx.js → CheckoutWindow-DoADcN36.js} +4 -4
- package/dist/CheckoutWindow-DoADcN36.js.br +0 -0
- package/dist/{ErrorMessage-DdHNHm5r.js → ErrorMessage-BxZaXdig.js} +3 -3
- package/dist/ErrorMessage-BxZaXdig.js.br +0 -0
- package/dist/{EventAvailabilityForm-SfWnl0dH.js → EventAvailabilityForm-Ctz8ENUN.js} +5 -5
- package/dist/EventAvailabilityForm-Ctz8ENUN.js.br +0 -0
- package/dist/{Field-7wRhrgF1.js → Field-Bg0N8Vc0.js} +3 -3
- package/dist/Field-Bg0N8Vc0.js.br +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BzUYVcum.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DIbBJOzF.js} +1636 -1637
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DIbBJOzF.js.br +0 -0
- package/dist/{TermsOfService-CGd1v8bv.js → TermsOfService-CWraQvoB.js} +5 -5
- package/dist/TermsOfService-CWraQvoB.js.br +4 -0
- package/dist/{_-BdhU6Q-9.js → _-BEZe3PAF.js} +2 -2
- package/dist/{_.vue_vue_type_style_index_0_lang-fhGwRVNV.js → _.vue_vue_type_style_index_0_lang-DQzgcH2c.js} +3 -3
- package/dist/_.vue_vue_type_style_index_0_lang-DQzgcH2c.js.br +0 -0
- package/dist/{_commonjsHelpers-B783nPtq.js → _commonjsHelpers-C8ml6AyB.js} +2 -2
- package/dist/_commonjsHelpers-C8ml6AyB.js.br +0 -0
- package/dist/{_sentry-release-injection-file-DuTrFXi9.js → _sentry-release-injection-file-8liCQLPI.js} +3 -3
- package/dist/_sentry-release-injection-file-8liCQLPI.js.br +0 -0
- package/dist/availability.js +8 -8
- package/dist/availability.js.br +0 -0
- package/dist/deep-link.js +2 -2
- package/dist/deep-link.js.br +0 -0
- package/dist/event.js +10 -10
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +10 -10
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +11 -11
- package/dist/gift-card.js.br +0 -0
- package/dist/{giftCard-Cym4np9i.js → giftCard-sImOKdP0.js} +4 -4
- package/dist/giftCard-sImOKdP0.js.br +0 -0
- package/dist/hotel.js +450 -445
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-Dq7Bgo5Z.js → masonry.plugin-DDSHAjDQ.js} +8 -8
- package/dist/masonry.plugin-DDSHAjDQ.js.br +0 -0
- package/dist/{mitt-D8TbGxgr.js → mitt-CzL6QOyp.js} +2 -2
- package/dist/mitt-CzL6QOyp.js.br +0 -0
- package/dist/polyfill.js +6632 -12028
- package/dist/polyfill.js.br +0 -0
- package/dist/{sentry-w--IXIuo.js → sentry-Cyc40KnT.js} +3 -3
- package/dist/{style-D8yY0ZfC.js → style-CT1Yk_a0.js} +2 -2
- package/dist/style-CT1Yk_a0.js.br +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/dist/{tracing-nJlxVqd0.js → tracing-6Srl_nMB.js} +164 -175
- package/dist/tracing-6Srl_nMB.js.br +0 -0
- package/package.json +2 -2
- package/dist/ActionField-CvQ0YUxr.js.br +0 -0
- package/dist/AvailabilitySkeleton-BE4L1nd9.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-CKFyiTSe.js.br +0 -0
- package/dist/CheckoutWindow-DuKRLFkx.js.br +0 -0
- package/dist/ErrorMessage-DdHNHm5r.js.br +0 -0
- package/dist/EventAvailabilityForm-SfWnl0dH.js.br +0 -0
- package/dist/Field-7wRhrgF1.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BzUYVcum.js.br +0 -0
- package/dist/TermsOfService-CGd1v8bv.js.br +0 -0
- package/dist/_.vue_vue_type_style_index_0_lang-fhGwRVNV.js.br +0 -0
- package/dist/_commonjsHelpers-B783nPtq.js.br +0 -0
- package/dist/_sentry-release-injection-file-DuTrFXi9.js.br +0 -0
- package/dist/giftCard-Cym4np9i.js.br +0 -0
- package/dist/masonry.plugin-Dq7Bgo5Z.js.br +0 -0
- package/dist/mitt-D8TbGxgr.js.br +0 -0
- package/dist/style-D8yY0ZfC.js.br +0 -0
- package/dist/tracing-nJlxVqd0.js.br +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
(function() {
|
|
2
2
|
try {
|
|
3
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] = "
|
|
4
|
+
e && (t._sentryDebugIds = t._sentryDebugIds || {}, t._sentryDebugIds[e] = "40aabbc6-c276-44d6-af63-12d87f084694", t._sentryDebugIdIdentifier = "sentry-dbid-40aabbc6-c276-44d6-af63-12d87f084694");
|
|
5
5
|
} catch {
|
|
6
6
|
}
|
|
7
7
|
})();
|
|
8
8
|
{
|
|
9
|
-
var
|
|
10
|
-
|
|
9
|
+
var J = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
10
|
+
J._sentryModuleMetadata = J._sentryModuleMetadata || {}, J._sentryModuleMetadata[new Error().stack] = Object.assign(
|
|
11
11
|
{},
|
|
12
|
-
|
|
12
|
+
J._sentryModuleMetadata[new Error().stack],
|
|
13
13
|
{ "_sentryBundlerPluginAppKey:konnectio-frontend-core": !0 }
|
|
14
14
|
);
|
|
15
15
|
}
|
|
@@ -21,7 +21,7 @@ function ye(t) {
|
|
|
21
21
|
case "[object DOMException]":
|
|
22
22
|
return !0;
|
|
23
23
|
default:
|
|
24
|
-
return
|
|
24
|
+
return V(t, Error);
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
function L(t, e) {
|
|
@@ -36,7 +36,7 @@ function Sr(t) {
|
|
|
36
36
|
function yr(t) {
|
|
37
37
|
return L(t, "DOMException");
|
|
38
38
|
}
|
|
39
|
-
function
|
|
39
|
+
function z(t) {
|
|
40
40
|
return L(t, "String");
|
|
41
41
|
}
|
|
42
42
|
function Ee(t) {
|
|
@@ -49,10 +49,10 @@ function pt(t) {
|
|
|
49
49
|
return L(t, "Object");
|
|
50
50
|
}
|
|
51
51
|
function be(t) {
|
|
52
|
-
return typeof Event < "u" &&
|
|
52
|
+
return typeof Event < "u" && V(t, Event);
|
|
53
53
|
}
|
|
54
54
|
function Te(t) {
|
|
55
|
-
return typeof Element < "u" &&
|
|
55
|
+
return typeof Element < "u" && V(t, Element);
|
|
56
56
|
}
|
|
57
57
|
function Ie(t) {
|
|
58
58
|
return L(t, "RegExp");
|
|
@@ -63,7 +63,7 @@ function lt(t) {
|
|
|
63
63
|
function Ne(t) {
|
|
64
64
|
return pt(t) && "nativeEvent" in t && "preventDefault" in t && "stopPropagation" in t;
|
|
65
65
|
}
|
|
66
|
-
function
|
|
66
|
+
function V(t, e) {
|
|
67
67
|
try {
|
|
68
68
|
return t instanceof e;
|
|
69
69
|
} catch {
|
|
@@ -73,7 +73,7 @@ function W(t, e) {
|
|
|
73
73
|
function zt(t) {
|
|
74
74
|
return !!(typeof t == "object" && t !== null && (t.__isVue || t._isVue));
|
|
75
75
|
}
|
|
76
|
-
function
|
|
76
|
+
function v(t, e = 0) {
|
|
77
77
|
return typeof t != "string" || e === 0 || t.length <= e ? t : `${t.slice(0, e)}...`;
|
|
78
78
|
}
|
|
79
79
|
function br(t, e) {
|
|
@@ -91,14 +91,14 @@ function br(t, e) {
|
|
|
91
91
|
return n.join(e);
|
|
92
92
|
}
|
|
93
93
|
function Ae(t, e, n = !1) {
|
|
94
|
-
return
|
|
94
|
+
return z(t) ? Ie(e) ? e.test(t) : z(e) ? n ? t === e : t.includes(e) : !1 : !1;
|
|
95
95
|
}
|
|
96
96
|
function Tr(t, e = [], n = !1) {
|
|
97
97
|
return e.some((r) => Ae(t, r, n));
|
|
98
98
|
}
|
|
99
|
-
const
|
|
99
|
+
const G = "8.25.0", h = globalThis;
|
|
100
100
|
function _t(t, e, n) {
|
|
101
|
-
const r = h, s = r.__SENTRY__ = r.__SENTRY__ || {}, i = s[
|
|
101
|
+
const r = h, s = r.__SENTRY__ = r.__SENTRY__ || {}, i = s[G] = s[G] || {};
|
|
102
102
|
return i[t] || (i[t] = e());
|
|
103
103
|
}
|
|
104
104
|
const w = h, Oe = 80;
|
|
@@ -138,7 +138,7 @@ function De(t, e) {
|
|
|
138
138
|
else {
|
|
139
139
|
n.id && r.push(`#${n.id}`);
|
|
140
140
|
const o = n.className;
|
|
141
|
-
if (o &&
|
|
141
|
+
if (o && z(o)) {
|
|
142
142
|
const a = o.split(/\s+/);
|
|
143
143
|
for (const u of a)
|
|
144
144
|
r.push(`.${u}`);
|
|
@@ -179,7 +179,7 @@ function Ar(t) {
|
|
|
179
179
|
}
|
|
180
180
|
return null;
|
|
181
181
|
}
|
|
182
|
-
const
|
|
182
|
+
const W = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, ke = "Sentry Logger ", At = [
|
|
183
183
|
"debug",
|
|
184
184
|
"info",
|
|
185
185
|
"warn",
|
|
@@ -215,7 +215,7 @@ function Ce() {
|
|
|
215
215
|
},
|
|
216
216
|
isEnabled: () => t
|
|
217
217
|
};
|
|
218
|
-
return
|
|
218
|
+
return W ? At.forEach((n) => {
|
|
219
219
|
e[n] = (...r) => {
|
|
220
220
|
t && ht(() => {
|
|
221
221
|
h.console[n](`${ke}[${n}]:`, ...r);
|
|
@@ -262,22 +262,22 @@ function qt(t) {
|
|
|
262
262
|
projectId: t.projectId
|
|
263
263
|
};
|
|
264
264
|
}
|
|
265
|
-
function
|
|
266
|
-
if (!
|
|
265
|
+
function Me(t) {
|
|
266
|
+
if (!W)
|
|
267
267
|
return !0;
|
|
268
268
|
const { port: e, projectId: n, protocol: r } = t;
|
|
269
269
|
return ["protocol", "publicKey", "host", "projectId"].find((o) => t[o] ? !1 : (p.error(`Invalid Sentry Dsn: ${o} missing`), !0)) ? !1 : n.match(/^\d+$/) ? we(r) ? e && isNaN(parseInt(e, 10)) ? (p.error(`Invalid Sentry Dsn: Invalid port ${e}`), !1) : !0 : (p.error(`Invalid Sentry Dsn: Invalid protocol ${r}`), !1) : (p.error(`Invalid Sentry Dsn: Invalid projectId ${n}`), !1);
|
|
270
270
|
}
|
|
271
271
|
function Or(t) {
|
|
272
272
|
const e = typeof t == "string" ? xe(t) : qt(t);
|
|
273
|
-
if (!(!e || !
|
|
273
|
+
if (!(!e || !Me(e)))
|
|
274
274
|
return e;
|
|
275
275
|
}
|
|
276
276
|
function Rr(t, e, n) {
|
|
277
277
|
if (!(e in t))
|
|
278
278
|
return;
|
|
279
279
|
const r = t[e], s = n(r);
|
|
280
|
-
typeof s == "function" &&
|
|
280
|
+
typeof s == "function" && Pe(s, r), t[e] = s;
|
|
281
281
|
}
|
|
282
282
|
function D(t, e, n) {
|
|
283
283
|
try {
|
|
@@ -288,10 +288,10 @@ function D(t, e, n) {
|
|
|
288
288
|
configurable: !0
|
|
289
289
|
});
|
|
290
290
|
} catch {
|
|
291
|
-
|
|
291
|
+
W && p.log(`Failed to add non-enumerable property "${e}" to object`, t);
|
|
292
292
|
}
|
|
293
293
|
}
|
|
294
|
-
function
|
|
294
|
+
function Pe(t, e) {
|
|
295
295
|
try {
|
|
296
296
|
const n = e.prototype || {};
|
|
297
297
|
t.prototype = e.prototype = n, D(t, "__sentry_original__", e);
|
|
@@ -319,7 +319,7 @@ function Vt(t) {
|
|
|
319
319
|
currentTarget: Rt(t.currentTarget),
|
|
320
320
|
...Dt(t)
|
|
321
321
|
};
|
|
322
|
-
return typeof CustomEvent < "u" &&
|
|
322
|
+
return typeof CustomEvent < "u" && V(t, CustomEvent) && (e.detail = t.detail), e;
|
|
323
323
|
} else
|
|
324
324
|
return t;
|
|
325
325
|
}
|
|
@@ -346,11 +346,11 @@ function Cr(t, e = 40) {
|
|
|
346
346
|
if (!r)
|
|
347
347
|
return "[object has no keys]";
|
|
348
348
|
if (r.length >= e)
|
|
349
|
-
return
|
|
349
|
+
return v(r, e);
|
|
350
350
|
for (let s = n.length; s > 0; s--) {
|
|
351
351
|
const i = n.slice(0, s).join(", ");
|
|
352
352
|
if (!(i.length > e))
|
|
353
|
-
return s === n.length ? i :
|
|
353
|
+
return s === n.length ? i : v(i, e);
|
|
354
354
|
}
|
|
355
355
|
return "";
|
|
356
356
|
}
|
|
@@ -412,27 +412,27 @@ function je(...t) {
|
|
|
412
412
|
break;
|
|
413
413
|
}
|
|
414
414
|
}
|
|
415
|
-
return
|
|
415
|
+
return Fe(i.slice(s));
|
|
416
416
|
};
|
|
417
417
|
}
|
|
418
418
|
function $r(t) {
|
|
419
419
|
return Array.isArray(t) ? je(...t) : t;
|
|
420
420
|
}
|
|
421
|
-
function
|
|
421
|
+
function Fe(t) {
|
|
422
422
|
if (!t.length)
|
|
423
423
|
return [];
|
|
424
424
|
const e = Array.from(t);
|
|
425
|
-
return /sentryWrapped/.test(
|
|
425
|
+
return /sentryWrapped/.test(K(e).function || "") && e.pop(), e.reverse(), Ct.test(K(e).function || "") && (e.pop(), Ct.test(K(e).function || "") && e.pop()), e.slice(0, Wt).map((n) => ({
|
|
426
426
|
...n,
|
|
427
|
-
filename: n.filename ||
|
|
427
|
+
filename: n.filename || K(e).filename,
|
|
428
428
|
function: n.function || Ue
|
|
429
429
|
}));
|
|
430
430
|
}
|
|
431
|
-
function
|
|
431
|
+
function K(t) {
|
|
432
432
|
return t[t.length - 1] || {};
|
|
433
433
|
}
|
|
434
434
|
const tt = "<anonymous>";
|
|
435
|
-
function
|
|
435
|
+
function ve(t) {
|
|
436
436
|
try {
|
|
437
437
|
return !t || typeof t != "function" ? tt : t.name || tt;
|
|
438
438
|
} catch {
|
|
@@ -463,7 +463,7 @@ function Ge() {
|
|
|
463
463
|
const e = Date.now() - t.now(), n = t.timeOrigin == null ? e : t.timeOrigin;
|
|
464
464
|
return () => (n + t.now()) / Xt;
|
|
465
465
|
}
|
|
466
|
-
const
|
|
466
|
+
const M = Ge(), xr = (() => {
|
|
467
467
|
const { performance: t } = h;
|
|
468
468
|
if (!t || !t.now)
|
|
469
469
|
return;
|
|
@@ -512,22 +512,22 @@ function _() {
|
|
|
512
512
|
)
|
|
513
513
|
);
|
|
514
514
|
}
|
|
515
|
-
function
|
|
515
|
+
function Zt(t) {
|
|
516
516
|
return t.exception && t.exception.values ? t.exception.values[0] : void 0;
|
|
517
517
|
}
|
|
518
|
-
function
|
|
518
|
+
function Mr(t) {
|
|
519
519
|
const { message: e, event_id: n } = t;
|
|
520
520
|
if (e)
|
|
521
521
|
return e;
|
|
522
|
-
const r =
|
|
522
|
+
const r = Zt(t);
|
|
523
523
|
return r ? r.type && r.value ? `${r.type}: ${r.value}` : r.type || r.value || n || "<unknown>" : n || "<unknown>";
|
|
524
524
|
}
|
|
525
|
-
function
|
|
525
|
+
function Pr(t, e, n) {
|
|
526
526
|
const r = t.exception = t.exception || {}, s = r.values = r.values || [], i = s[0] = s[0] || {};
|
|
527
527
|
i.value || (i.value = e || ""), i.type || (i.type = "Error");
|
|
528
528
|
}
|
|
529
529
|
function He(t, e) {
|
|
530
|
-
const n =
|
|
530
|
+
const n = Zt(t);
|
|
531
531
|
if (!n)
|
|
532
532
|
return;
|
|
533
533
|
const r = { type: "generic", handled: !0 }, s = n.mechanism;
|
|
@@ -615,7 +615,7 @@ function Ke(t, e) {
|
|
|
615
615
|
if (typeof e == "number" && e !== e)
|
|
616
616
|
return "[NaN]";
|
|
617
617
|
if (typeof e == "function")
|
|
618
|
-
return `[Function: ${
|
|
618
|
+
return `[Function: ${ve(e)}]`;
|
|
619
619
|
if (typeof e == "symbol")
|
|
620
620
|
return `[${String(e)}]`;
|
|
621
621
|
if (typeof e == "bigint")
|
|
@@ -751,14 +751,14 @@ class T {
|
|
|
751
751
|
};
|
|
752
752
|
}
|
|
753
753
|
}
|
|
754
|
-
const
|
|
754
|
+
const Fr = "baggage", Qt = "sentry-", We = /^sentry-/, Xe = 8192;
|
|
755
755
|
function te(t) {
|
|
756
|
-
const e =
|
|
756
|
+
const e = Ze(t);
|
|
757
757
|
if (!e)
|
|
758
758
|
return;
|
|
759
759
|
const n = Object.entries(e).reduce((r, [s, i]) => {
|
|
760
760
|
if (s.match(We)) {
|
|
761
|
-
const o = s.slice(
|
|
761
|
+
const o = s.slice(Qt.length);
|
|
762
762
|
r[o] = i;
|
|
763
763
|
}
|
|
764
764
|
return r;
|
|
@@ -766,17 +766,17 @@ function te(t) {
|
|
|
766
766
|
if (Object.keys(n).length > 0)
|
|
767
767
|
return n;
|
|
768
768
|
}
|
|
769
|
-
function
|
|
769
|
+
function vr(t) {
|
|
770
770
|
if (!t)
|
|
771
771
|
return;
|
|
772
772
|
const e = Object.entries(t).reduce(
|
|
773
|
-
(n, [r, s]) => (s && (n[`${
|
|
773
|
+
(n, [r, s]) => (s && (n[`${Qt}${r}`] = s), n),
|
|
774
774
|
{}
|
|
775
775
|
);
|
|
776
|
-
return
|
|
776
|
+
return Qe(e);
|
|
777
777
|
}
|
|
778
|
-
function
|
|
779
|
-
if (!(!t || !
|
|
778
|
+
function Ze(t) {
|
|
779
|
+
if (!(!t || !z(t) && !Array.isArray(t)))
|
|
780
780
|
return Array.isArray(t) ? t.reduce((e, n) => {
|
|
781
781
|
const r = $t(n);
|
|
782
782
|
return Object.entries(r).forEach(([s, i]) => {
|
|
@@ -787,11 +787,11 @@ function Qe(t) {
|
|
|
787
787
|
function $t(t) {
|
|
788
788
|
return t.split(",").map((e) => e.split("=").map((n) => decodeURIComponent(n.trim()))).reduce((e, [n, r]) => (n && r && (e[n] = r), e), {});
|
|
789
789
|
}
|
|
790
|
-
function
|
|
790
|
+
function Qe(t) {
|
|
791
791
|
if (Object.keys(t).length !== 0)
|
|
792
792
|
return Object.entries(t).reduce((e, [n, r], s) => {
|
|
793
793
|
const i = `${encodeURIComponent(n)}=${encodeURIComponent(r)}`, o = s === 0 ? i : `${e},${i}`;
|
|
794
|
-
return o.length > Xe ? (
|
|
794
|
+
return o.length > Xe ? (W && p.warn(
|
|
795
795
|
`Not adding key: ${n} with val: ${r} to baggage header due to exceeding baggage size limits.`
|
|
796
796
|
), e) : o;
|
|
797
797
|
}, "");
|
|
@@ -949,10 +949,10 @@ function U() {
|
|
|
949
949
|
}
|
|
950
950
|
function yt(t) {
|
|
951
951
|
const e = t.__SENTRY__ = t.__SENTRY__ || {};
|
|
952
|
-
return e.version = e.version ||
|
|
952
|
+
return e.version = e.version || G, e[G] = e[G] || {};
|
|
953
953
|
}
|
|
954
954
|
function cn(t) {
|
|
955
|
-
const e =
|
|
955
|
+
const e = M(), n = {
|
|
956
956
|
sid: _(),
|
|
957
957
|
init: !0,
|
|
958
958
|
timestamp: e,
|
|
@@ -963,10 +963,10 @@ function cn(t) {
|
|
|
963
963
|
ignoreDuration: !1,
|
|
964
964
|
toJSON: () => fn(n)
|
|
965
965
|
};
|
|
966
|
-
return t &&
|
|
966
|
+
return t && X(n, t), n;
|
|
967
967
|
}
|
|
968
|
-
function
|
|
969
|
-
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 ||
|
|
968
|
+
function X(t, e = {}) {
|
|
969
|
+
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 || M(), 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 : _()), 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)
|
|
970
970
|
t.duration = void 0;
|
|
971
971
|
else if (typeof e.duration == "number")
|
|
972
972
|
t.duration = e.duration;
|
|
@@ -978,7 +978,7 @@ function Q(t, e = {}) {
|
|
|
978
978
|
}
|
|
979
979
|
function un(t, e) {
|
|
980
980
|
let n = {};
|
|
981
|
-
t.status === "ok" && (n = { status: "exited" }),
|
|
981
|
+
t.status === "ok" && (n = { status: "exited" }), X(t, n);
|
|
982
982
|
}
|
|
983
983
|
function fn(t) {
|
|
984
984
|
return m({
|
|
@@ -1004,7 +1004,7 @@ const it = "_sentrySpan";
|
|
|
1004
1004
|
function ot(t, e) {
|
|
1005
1005
|
e ? D(t, it, e) : delete t[it];
|
|
1006
1006
|
}
|
|
1007
|
-
function
|
|
1007
|
+
function q(t) {
|
|
1008
1008
|
return t[it];
|
|
1009
1009
|
}
|
|
1010
1010
|
const dn = 100;
|
|
@@ -1044,7 +1044,7 @@ class Et {
|
|
|
1044
1044
|
*/
|
|
1045
1045
|
clone() {
|
|
1046
1046
|
const e = new Et();
|
|
1047
|
-
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._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._lastEventId = this._lastEventId, ot(e,
|
|
1047
|
+
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._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._lastEventId = this._lastEventId, ot(e, q(this)), e;
|
|
1048
1048
|
}
|
|
1049
1049
|
/**
|
|
1050
1050
|
* @inheritDoc
|
|
@@ -1091,7 +1091,7 @@ class Et {
|
|
|
1091
1091
|
id: void 0,
|
|
1092
1092
|
ip_address: void 0,
|
|
1093
1093
|
username: void 0
|
|
1094
|
-
}, this._session &&
|
|
1094
|
+
}, this._session && X(this._session, { user: e }), this._notifyScopeListeners(), this;
|
|
1095
1095
|
}
|
|
1096
1096
|
/**
|
|
1097
1097
|
* @inheritDoc
|
|
@@ -1244,7 +1244,7 @@ class Et {
|
|
|
1244
1244
|
propagationContext: this._propagationContext,
|
|
1245
1245
|
sdkProcessingMetadata: this._sdkProcessingMetadata,
|
|
1246
1246
|
transactionName: this._transactionName,
|
|
1247
|
-
span:
|
|
1247
|
+
span: q(this)
|
|
1248
1248
|
};
|
|
1249
1249
|
}
|
|
1250
1250
|
/**
|
|
@@ -1393,19 +1393,19 @@ class _n {
|
|
|
1393
1393
|
return this._stack.length <= 1 ? !1 : !!this._stack.pop();
|
|
1394
1394
|
}
|
|
1395
1395
|
}
|
|
1396
|
-
function
|
|
1396
|
+
function P() {
|
|
1397
1397
|
const t = U(), e = yt(t);
|
|
1398
1398
|
return e.stack = e.stack || new _n(pn(), ln());
|
|
1399
1399
|
}
|
|
1400
1400
|
function hn(t) {
|
|
1401
|
-
return
|
|
1401
|
+
return P().withScope(t);
|
|
1402
1402
|
}
|
|
1403
1403
|
function gn(t, e) {
|
|
1404
|
-
const n =
|
|
1404
|
+
const n = P();
|
|
1405
1405
|
return n.withScope(() => (n.getStackTop().scope = t, e(t)));
|
|
1406
1406
|
}
|
|
1407
1407
|
function xt(t) {
|
|
1408
|
-
return
|
|
1408
|
+
return P().withScope(() => t(P().getIsolationScope()));
|
|
1409
1409
|
}
|
|
1410
1410
|
function mn() {
|
|
1411
1411
|
return {
|
|
@@ -1413,27 +1413,27 @@ function mn() {
|
|
|
1413
1413
|
withScope: hn,
|
|
1414
1414
|
withSetScope: gn,
|
|
1415
1415
|
withSetIsolationScope: (t, e) => xt(e),
|
|
1416
|
-
getCurrentScope: () =>
|
|
1417
|
-
getIsolationScope: () =>
|
|
1416
|
+
getCurrentScope: () => P().getScope(),
|
|
1417
|
+
getIsolationScope: () => P().getIsolationScope()
|
|
1418
1418
|
};
|
|
1419
1419
|
}
|
|
1420
|
-
function
|
|
1420
|
+
function Y(t) {
|
|
1421
1421
|
const e = yt(t);
|
|
1422
1422
|
return e.acs ? e.acs : mn();
|
|
1423
1423
|
}
|
|
1424
1424
|
function I() {
|
|
1425
1425
|
const t = U();
|
|
1426
|
-
return
|
|
1426
|
+
return Y(t).getCurrentScope();
|
|
1427
1427
|
}
|
|
1428
|
-
function
|
|
1428
|
+
function Z() {
|
|
1429
1429
|
const t = U();
|
|
1430
|
-
return
|
|
1430
|
+
return Y(t).getIsolationScope();
|
|
1431
1431
|
}
|
|
1432
1432
|
function Sn() {
|
|
1433
1433
|
return _t("globalScope", () => new k());
|
|
1434
1434
|
}
|
|
1435
1435
|
function ne(...t) {
|
|
1436
|
-
const e = U(), n =
|
|
1436
|
+
const e = U(), n = Y(e);
|
|
1437
1437
|
if (t.length === 2) {
|
|
1438
1438
|
const [r, s] = t;
|
|
1439
1439
|
return r ? n.withSetScope(r, s) : n.withScope(s);
|
|
@@ -1453,7 +1453,7 @@ function at(t) {
|
|
|
1453
1453
|
(n[r] || (n[r] = [])).push(m(s));
|
|
1454
1454
|
return n;
|
|
1455
1455
|
}
|
|
1456
|
-
const bt = "sentry.source", re = "sentry.sample_rate", ct = "sentry.op",
|
|
1456
|
+
const bt = "sentry.source", re = "sentry.sample_rate", ct = "sentry.op", H = "sentry.origin", zr = "sentry.idle_span_finish_reason", se = "sentry.measurement_unit", ie = "sentry.measurement_value", En = "sentry.profile_id", bn = "sentry.exclusive_time", Tn = 0, oe = 1, S = 2;
|
|
1457
1457
|
function In(t) {
|
|
1458
1458
|
if (t < 400 && t >= 100)
|
|
1459
1459
|
return { code: oe };
|
|
@@ -1512,13 +1512,13 @@ function An(t) {
|
|
|
1512
1512
|
return m({ parent_span_id: r, span_id: e, trace_id: n });
|
|
1513
1513
|
}
|
|
1514
1514
|
function Vr(t) {
|
|
1515
|
-
const { traceId: e, spanId: n } = t.spanContext(), r =
|
|
1515
|
+
const { traceId: e, spanId: n } = t.spanContext(), r = j(t);
|
|
1516
1516
|
return nn(e, n, r);
|
|
1517
1517
|
}
|
|
1518
1518
|
function x(t) {
|
|
1519
|
-
return typeof t == "number" ?
|
|
1519
|
+
return typeof t == "number" ? Mt(t) : Array.isArray(t) ? t[0] + t[1] / 1e9 : t instanceof Date ? Mt(t.getTime()) : M();
|
|
1520
1520
|
}
|
|
1521
|
-
function
|
|
1521
|
+
function Mt(t) {
|
|
1522
1522
|
return t > 9999999999 ? t / 1e3 : t;
|
|
1523
1523
|
}
|
|
1524
1524
|
function E(t) {
|
|
@@ -1539,7 +1539,7 @@ function E(t) {
|
|
|
1539
1539
|
timestamp: x(o) || void 0,
|
|
1540
1540
|
status: ue(u),
|
|
1541
1541
|
op: r[ct],
|
|
1542
|
-
origin: r[
|
|
1542
|
+
origin: r[H],
|
|
1543
1543
|
_metrics_summary: at(t)
|
|
1544
1544
|
});
|
|
1545
1545
|
}
|
|
@@ -1558,7 +1558,7 @@ function On(t) {
|
|
|
1558
1558
|
function Rn(t) {
|
|
1559
1559
|
return typeof t.getSpanJSON == "function";
|
|
1560
1560
|
}
|
|
1561
|
-
function
|
|
1561
|
+
function j(t) {
|
|
1562
1562
|
const { traceFlags: e } = t.spanContext();
|
|
1563
1563
|
return e === ce;
|
|
1564
1564
|
}
|
|
@@ -1577,7 +1577,7 @@ function Wr(t, e) {
|
|
|
1577
1577
|
function Dn(t) {
|
|
1578
1578
|
const e = /* @__PURE__ */ new Set();
|
|
1579
1579
|
function n(r) {
|
|
1580
|
-
if (!e.has(r) &&
|
|
1580
|
+
if (!e.has(r) && j(r)) {
|
|
1581
1581
|
e.add(r);
|
|
1582
1582
|
const s = r[C] ? Array.from(r[C]) : [];
|
|
1583
1583
|
for (const i of s)
|
|
@@ -1590,14 +1590,14 @@ function O(t) {
|
|
|
1590
1590
|
return t[ut] || t;
|
|
1591
1591
|
}
|
|
1592
1592
|
function ft() {
|
|
1593
|
-
const t = U(), e =
|
|
1594
|
-
return e.getActiveSpan ? e.getActiveSpan() :
|
|
1593
|
+
const t = U(), e = Y(t);
|
|
1594
|
+
return e.getActiveSpan ? e.getActiveSpan() : q(I());
|
|
1595
1595
|
}
|
|
1596
1596
|
const de = "_sentryScope", pe = "_sentryIsolationScope";
|
|
1597
1597
|
function kn(t, e, n) {
|
|
1598
1598
|
t && (D(t, pe, n), D(t, de, e));
|
|
1599
1599
|
}
|
|
1600
|
-
function
|
|
1600
|
+
function Pt(t) {
|
|
1601
1601
|
return {
|
|
1602
1602
|
scope: t[de],
|
|
1603
1603
|
isolationScope: t[pe]
|
|
@@ -1692,7 +1692,7 @@ function Cn(t, e) {
|
|
|
1692
1692
|
});
|
|
1693
1693
|
return e.emit("createDsc", s), s;
|
|
1694
1694
|
}
|
|
1695
|
-
function
|
|
1695
|
+
function Q(t) {
|
|
1696
1696
|
const e = N();
|
|
1697
1697
|
if (!e)
|
|
1698
1698
|
return {};
|
|
@@ -1705,11 +1705,11 @@ function Z(t) {
|
|
|
1705
1705
|
const u = E(r), c = u.data || {}, f = c[re];
|
|
1706
1706
|
f != null && (n.sample_rate = `${f}`);
|
|
1707
1707
|
const d = c[bt], l = u.description;
|
|
1708
|
-
return d !== "url" && l && (n.transaction = l), n.sampled = String(
|
|
1708
|
+
return d !== "url" && l && (n.transaction = l), n.sampled = String(j(r)), e.emit("createDsc", n, r), n;
|
|
1709
1709
|
}
|
|
1710
1710
|
function $n(t) {
|
|
1711
1711
|
if (!y) return;
|
|
1712
|
-
const { description: e = "< unknown name >", op: n = "< unknown op >", parent_span_id: r } = E(t), { spanId: s } = t.spanContext(), i =
|
|
1712
|
+
const { description: e = "< unknown name >", op: n = "< unknown op >", parent_span_id: r } = E(t), { spanId: s } = t.spanContext(), i = j(t), o = O(t), a = o === t, u = `[Tracing] Starting ${i ? "sampled" : "unsampled"} ${a ? "root " : ""}span`, c = [`op: ${n}`, `name: ${e}`, `ID: ${s}`];
|
|
1713
1713
|
if (r && c.push(`parent ID: ${r}`), !a) {
|
|
1714
1714
|
const { op: f, description: d } = E(o);
|
|
1715
1715
|
c.push(`root ID: ${o.spanContext().spanId}`), f && c.push(`root op: ${f}`), d && c.push(`root description: ${d}`);
|
|
@@ -1737,7 +1737,7 @@ function xn(t) {
|
|
|
1737
1737
|
}
|
|
1738
1738
|
return e;
|
|
1739
1739
|
}
|
|
1740
|
-
function
|
|
1740
|
+
function Mn(t, e) {
|
|
1741
1741
|
if (!le(t))
|
|
1742
1742
|
return [!1];
|
|
1743
1743
|
let n;
|
|
@@ -1751,7 +1751,7 @@ function Pn(t, e) {
|
|
|
1751
1751
|
`[Tracing] Discarding transaction because ${typeof t.tracesSampler == "function" ? "tracesSampler returned 0 or false" : "a negative sampling decision was inherited or tracesSampleRate is set to 0"}`
|
|
1752
1752
|
), [!1, r]);
|
|
1753
1753
|
}
|
|
1754
|
-
function
|
|
1754
|
+
function Pn(t, e) {
|
|
1755
1755
|
return e && (t.sdk = t.sdk || {}, t.sdk.name = t.sdk.name || e.name, t.sdk.version = t.sdk.version || e.version, t.sdk.integrations = [...t.sdk.integrations || [], ...e.integrations || []], t.sdk.packages = [...t.sdk.packages || [], ...e.packages || []]), t;
|
|
1756
1756
|
}
|
|
1757
1757
|
function Xr(t, e, n, r) {
|
|
@@ -1762,9 +1762,9 @@ function Xr(t, e, n, r) {
|
|
|
1762
1762
|
}, o = "aggregates" in t ? [{ type: "sessions" }, t] : [{ type: "session" }, t.toJSON()];
|
|
1763
1763
|
return St(i, [o]);
|
|
1764
1764
|
}
|
|
1765
|
-
function
|
|
1765
|
+
function Zr(t, e, n, r) {
|
|
1766
1766
|
const s = ee(n), i = t.type && t.type !== "replay_event" ? t.type : "event";
|
|
1767
|
-
|
|
1767
|
+
Pn(t, n && n.sdk);
|
|
1768
1768
|
const o = an(t, s, r, e);
|
|
1769
1769
|
return delete t.sdkProcessingMetadata, St(o, [[{ type: i }, t]]);
|
|
1770
1770
|
}
|
|
@@ -1772,7 +1772,7 @@ function Ln(t, e) {
|
|
|
1772
1772
|
function n(f) {
|
|
1773
1773
|
return !!f.trace_id && !!f.public_key;
|
|
1774
1774
|
}
|
|
1775
|
-
const r =
|
|
1775
|
+
const r = Q(t[0]), s = e && e.getDsn(), i = e && e.getOptions().tunnel, o = {
|
|
1776
1776
|
sent_at: (/* @__PURE__ */ new Date()).toISOString(),
|
|
1777
1777
|
...n(r) && { trace: r },
|
|
1778
1778
|
...!!i && s && { dsn: gt(s) }
|
|
@@ -1783,7 +1783,7 @@ function Ln(t, e) {
|
|
|
1783
1783
|
}
|
|
1784
1784
|
return St(o, c);
|
|
1785
1785
|
}
|
|
1786
|
-
function
|
|
1786
|
+
function Qr(t, e, n) {
|
|
1787
1787
|
const r = ft(), s = r && O(r);
|
|
1788
1788
|
s && s.addEvent(t, {
|
|
1789
1789
|
[ie]: e,
|
|
@@ -1814,8 +1814,8 @@ class Nt {
|
|
|
1814
1814
|
* @hidden
|
|
1815
1815
|
*/
|
|
1816
1816
|
constructor(e = {}) {
|
|
1817
|
-
this._traceId = e.traceId || _(), this._spanId = e.spanId || _().substring(16), this._startTime = e.startTimestamp ||
|
|
1818
|
-
[
|
|
1817
|
+
this._traceId = e.traceId || _(), this._spanId = e.spanId || _().substring(16), this._startTime = e.startTimestamp || M(), this._attributes = {}, this.setAttributes({
|
|
1818
|
+
[H]: "manual",
|
|
1819
1819
|
[ct]: e.op,
|
|
1820
1820
|
...e.attributes
|
|
1821
1821
|
}), this._name = e.name, e.parentSpanId && (this._parentSpanId = e.parentSpanId), "sampled" in e && (this._sampled = e.sampled), e.endTimestamp && (this._endTime = e.endTimestamp), this._events = [], this._isStandaloneSpan = e.isStandalone, this._endTime && this._onSpanEnded();
|
|
@@ -1912,7 +1912,7 @@ class Nt {
|
|
|
1912
1912
|
status: ue(this._status),
|
|
1913
1913
|
timestamp: this._endTime,
|
|
1914
1914
|
trace_id: this._traceId,
|
|
1915
|
-
origin: this._attributes[
|
|
1915
|
+
origin: this._attributes[H],
|
|
1916
1916
|
_metrics_summary: at(this),
|
|
1917
1917
|
profile_id: this._attributes[En],
|
|
1918
1918
|
exclusive_time: this._attributes[bn],
|
|
@@ -1930,7 +1930,7 @@ class Nt {
|
|
|
1930
1930
|
*/
|
|
1931
1931
|
addEvent(e, n, r) {
|
|
1932
1932
|
y && p.log("[Tracing] Adding an event to span:", e);
|
|
1933
|
-
const s =
|
|
1933
|
+
const s = Ft(n) ? n : r || M(), i = Ft(n) ? {} : n || {}, o = {
|
|
1934
1934
|
name: e,
|
|
1935
1935
|
time: x(s),
|
|
1936
1936
|
attributes: i
|
|
@@ -1958,21 +1958,21 @@ class Nt {
|
|
|
1958
1958
|
return;
|
|
1959
1959
|
}
|
|
1960
1960
|
const r = this._convertSpanToTransaction();
|
|
1961
|
-
r && (
|
|
1961
|
+
r && (Pt(this).scope || I()).captureEvent(r);
|
|
1962
1962
|
}
|
|
1963
1963
|
/**
|
|
1964
1964
|
* Finish the transaction & prepare the event to send to Sentry.
|
|
1965
1965
|
*/
|
|
1966
1966
|
_convertSpanToTransaction() {
|
|
1967
|
-
if (!
|
|
1967
|
+
if (!vt(E(this)))
|
|
1968
1968
|
return;
|
|
1969
1969
|
this._name || (y && p.warn("Transaction has no name, falling back to `<unlabeled transaction>`."), this._name = "<unlabeled transaction>");
|
|
1970
|
-
const { scope: e, isolationScope: n } =
|
|
1970
|
+
const { scope: e, isolationScope: n } = Pt(this), s = (e || I()).getClient() || N();
|
|
1971
1971
|
if (this._sampled !== !0) {
|
|
1972
1972
|
y && p.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled."), s && s.recordDroppedEvent("sample_rate", "transaction");
|
|
1973
1973
|
return;
|
|
1974
1974
|
}
|
|
1975
|
-
const o = Dn(this).filter((d) => d !== this && !Un(d)).map((d) => E(d)).filter(
|
|
1975
|
+
const o = Dn(this).filter((d) => d !== this && !Un(d)).map((d) => E(d)).filter(vt), a = this._attributes[bt], u = {
|
|
1976
1976
|
contexts: {
|
|
1977
1977
|
trace: Nn(this)
|
|
1978
1978
|
},
|
|
@@ -1989,7 +1989,7 @@ class Nt {
|
|
|
1989
1989
|
capturedSpanScope: e,
|
|
1990
1990
|
capturedSpanIsolationScope: n,
|
|
1991
1991
|
...m({
|
|
1992
|
-
dynamicSamplingContext:
|
|
1992
|
+
dynamicSamplingContext: Q(this)
|
|
1993
1993
|
})
|
|
1994
1994
|
},
|
|
1995
1995
|
_metrics_summary: at(this),
|
|
@@ -2005,10 +2005,10 @@ class Nt {
|
|
|
2005
2005
|
), u.measurements = c), u;
|
|
2006
2006
|
}
|
|
2007
2007
|
}
|
|
2008
|
-
function
|
|
2008
|
+
function Ft(t) {
|
|
2009
2009
|
return t && typeof t == "number" || t instanceof Date || Array.isArray(t);
|
|
2010
2010
|
}
|
|
2011
|
-
function
|
|
2011
|
+
function vt(t) {
|
|
2012
2012
|
return !!t.start_timestamp && !!t.timestamp && !!t.span_id && !!t.trace_id;
|
|
2013
2013
|
}
|
|
2014
2014
|
function Un(t) {
|
|
@@ -2034,9 +2034,9 @@ function Gt(t) {
|
|
|
2034
2034
|
if (e.startInactiveSpan)
|
|
2035
2035
|
return e.startInactiveSpan(t);
|
|
2036
2036
|
const n = Gn(t), { forceTransaction: r, parentSpan: s } = t;
|
|
2037
|
-
return (t.scope ? (o) => ne(t.scope, o) : s !== void 0 ? (o) =>
|
|
2037
|
+
return (t.scope ? (o) => ne(t.scope, o) : s !== void 0 ? (o) => Fn(s, o) : (o) => o())(() => {
|
|
2038
2038
|
const o = I(), a = Hn(o);
|
|
2039
|
-
return t.onlyIfParent && !a ? new Tt() :
|
|
2039
|
+
return t.onlyIfParent && !a ? new Tt() : vn({
|
|
2040
2040
|
parentSpan: a,
|
|
2041
2041
|
spanArguments: n,
|
|
2042
2042
|
forceTransaction: r,
|
|
@@ -2044,11 +2044,11 @@ function Gt(t) {
|
|
|
2044
2044
|
});
|
|
2045
2045
|
});
|
|
2046
2046
|
}
|
|
2047
|
-
function
|
|
2047
|
+
function Fn(t, e) {
|
|
2048
2048
|
const n = ge();
|
|
2049
2049
|
return n.withActiveSpan ? n.withActiveSpan(t, e) : ne((r) => (ot(r, t || void 0), e(r)));
|
|
2050
2050
|
}
|
|
2051
|
-
function
|
|
2051
|
+
function vn({
|
|
2052
2052
|
parentSpan: t,
|
|
2053
2053
|
spanArguments: e,
|
|
2054
2054
|
forceTransaction: n,
|
|
@@ -2056,12 +2056,12 @@ function Fn({
|
|
|
2056
2056
|
}) {
|
|
2057
2057
|
if (!le())
|
|
2058
2058
|
return new Tt();
|
|
2059
|
-
const s =
|
|
2059
|
+
const s = Z();
|
|
2060
2060
|
let i;
|
|
2061
2061
|
if (t && !n)
|
|
2062
2062
|
i = Bn(t, r, e), fe(t, i);
|
|
2063
2063
|
else if (t) {
|
|
2064
|
-
const o =
|
|
2064
|
+
const o = Q(t), { traceId: a, spanId: u } = t.spanContext(), c = j(t);
|
|
2065
2065
|
i = Bt(
|
|
2066
2066
|
{
|
|
2067
2067
|
traceId: a,
|
|
@@ -2106,10 +2106,10 @@ function Gn(t) {
|
|
|
2106
2106
|
}
|
|
2107
2107
|
function ge() {
|
|
2108
2108
|
const t = U();
|
|
2109
|
-
return
|
|
2109
|
+
return Y(t);
|
|
2110
2110
|
}
|
|
2111
2111
|
function Bt(t, e, n) {
|
|
2112
|
-
const r = N(), s = r && r.getOptions() || {}, { name: i = "", attributes: o } = t, [a, u] = e.getScopeData().sdkProcessingMetadata[he] ? [!1] :
|
|
2112
|
+
const r = N(), s = r && r.getOptions() || {}, { name: i = "", attributes: o } = t, [a, u] = e.getScopeData().sdkProcessingMetadata[he] ? [!1] : Mn(s, {
|
|
2113
2113
|
name: i,
|
|
2114
2114
|
parentSampled: n,
|
|
2115
2115
|
attributes: o,
|
|
@@ -2128,7 +2128,7 @@ function Bt(t, e, n) {
|
|
|
2128
2128
|
return u !== void 0 && c.setAttribute(re, u), r && r.emit("spanStart", c), c;
|
|
2129
2129
|
}
|
|
2130
2130
|
function Bn(t, e, n) {
|
|
2131
|
-
const { spanId: r, traceId: s } = t.spanContext(), i = e.getScopeData().sdkProcessingMetadata[he] ? !1 :
|
|
2131
|
+
const { spanId: r, traceId: s } = t.spanContext(), i = e.getScopeData().sdkProcessingMetadata[he] ? !1 : j(t), o = i ? new Nt({
|
|
2132
2132
|
...n,
|
|
2133
2133
|
parentSpanId: r,
|
|
2134
2134
|
traceId: s,
|
|
@@ -2139,7 +2139,7 @@ function Bn(t, e, n) {
|
|
|
2139
2139
|
return a && (a.emit("spanStart", o), n.endTimestamp && a.emit("spanEnd", o)), o;
|
|
2140
2140
|
}
|
|
2141
2141
|
function Hn(t) {
|
|
2142
|
-
const e =
|
|
2142
|
+
const e = q(t);
|
|
2143
2143
|
if (!e)
|
|
2144
2144
|
return;
|
|
2145
2145
|
const n = N();
|
|
@@ -2210,7 +2210,7 @@ function qn(t, e) {
|
|
|
2210
2210
|
trace: An(e),
|
|
2211
2211
|
...t.contexts
|
|
2212
2212
|
}, t.sdkProcessingMetadata = {
|
|
2213
|
-
dynamicSamplingContext:
|
|
2213
|
+
dynamicSamplingContext: Q(e),
|
|
2214
2214
|
...t.sdkProcessingMetadata
|
|
2215
2215
|
};
|
|
2216
2216
|
const n = O(e), r = E(n).description;
|
|
@@ -2225,7 +2225,7 @@ function ts(t, e, n, r, s, i) {
|
|
|
2225
2225
|
event_id: e.event_id || n.event_id || _(),
|
|
2226
2226
|
timestamp: e.timestamp || mt()
|
|
2227
2227
|
}, c = n.integrations || t.integrations.map((b) => b.name);
|
|
2228
|
-
Wn(u, t),
|
|
2228
|
+
Wn(u, t), Qn(u, c), s && s.emit("applyFrameMetadata", e), e.type === void 0 && Xn(u, t.stackParser);
|
|
2229
2229
|
const f = er(r, n.captureContext);
|
|
2230
2230
|
n.mechanism && He(u, n.mechanism);
|
|
2231
2231
|
const d = s ? s.getEventProcessors() : [], l = Sn().getScopeData();
|
|
@@ -2244,15 +2244,15 @@ function ts(t, e, n, r, s, i) {
|
|
|
2244
2244
|
// Run scope event processors _after_ all other processors
|
|
2245
2245
|
...l.eventProcessors
|
|
2246
2246
|
];
|
|
2247
|
-
return dt($, u, n).then((b) => (b &&
|
|
2247
|
+
return dt($, u, n).then((b) => (b && Zn(b), typeof o == "number" && o > 0 ? tr(b, o, a) : b));
|
|
2248
2248
|
}
|
|
2249
2249
|
function Wn(t, e) {
|
|
2250
2250
|
const { environment: n, release: r, dist: s, maxValueLength: i = 250 } = e;
|
|
2251
|
-
"environment" in t || (t.environment = "environment" in e ? n : It), t.release === void 0 && r !== void 0 && (t.release = r), t.dist === void 0 && s !== void 0 && (t.dist = s), t.message && (t.message =
|
|
2251
|
+
"environment" in t || (t.environment = "environment" in e ? n : It), t.release === void 0 && r !== void 0 && (t.release = r), t.dist === void 0 && s !== void 0 && (t.dist = s), t.message && (t.message = v(t.message, i));
|
|
2252
2252
|
const o = t.exception && t.exception.values && t.exception.values[0];
|
|
2253
|
-
o && o.value && (o.value =
|
|
2253
|
+
o && o.value && (o.value = v(o.value, i));
|
|
2254
2254
|
const a = t.request;
|
|
2255
|
-
a && a.url && (a.url =
|
|
2255
|
+
a && a.url && (a.url = v(a.url, i));
|
|
2256
2256
|
}
|
|
2257
2257
|
const Yt = /* @__PURE__ */ new WeakMap();
|
|
2258
2258
|
function Xn(t, e) {
|
|
@@ -2287,7 +2287,7 @@ function Xn(t, e) {
|
|
|
2287
2287
|
} catch {
|
|
2288
2288
|
}
|
|
2289
2289
|
}
|
|
2290
|
-
function
|
|
2290
|
+
function Zn(t) {
|
|
2291
2291
|
const e = {};
|
|
2292
2292
|
try {
|
|
2293
2293
|
t.exception.values.forEach((r) => {
|
|
@@ -2309,7 +2309,7 @@ function Qn(t) {
|
|
|
2309
2309
|
});
|
|
2310
2310
|
});
|
|
2311
2311
|
}
|
|
2312
|
-
function
|
|
2312
|
+
function Qn(t, e) {
|
|
2313
2313
|
e.length > 0 && (t.sdk = t.sdk || {}, t.sdk.integrations = [...t.sdk.integrations || [], ...e]);
|
|
2314
2314
|
}
|
|
2315
2315
|
function tr(t, e, n) {
|
|
@@ -2376,38 +2376,32 @@ function or(t, e) {
|
|
|
2376
2376
|
function es(t, e) {
|
|
2377
2377
|
return I().captureEvent(t, e);
|
|
2378
2378
|
}
|
|
2379
|
-
function ns(t
|
|
2380
|
-
|
|
2381
|
-
}
|
|
2382
|
-
function rs(t) {
|
|
2383
|
-
j().addEventProcessor(t);
|
|
2384
|
-
}
|
|
2385
|
-
function ss(t) {
|
|
2386
|
-
const e = N(), n = j(), r = I(), { release: s, environment: i = It } = e && e.getOptions() || {}, { userAgent: o } = h.navigator || {}, a = cn({
|
|
2379
|
+
function ns(t) {
|
|
2380
|
+
const e = N(), n = Z(), r = I(), { release: s, environment: i = It } = e && e.getOptions() || {}, { userAgent: o } = h.navigator || {}, a = cn({
|
|
2387
2381
|
release: s,
|
|
2388
2382
|
environment: i,
|
|
2389
2383
|
user: r.getUser() || n.getUser(),
|
|
2390
2384
|
...o && { userAgent: o },
|
|
2391
2385
|
...t
|
|
2392
2386
|
}), u = n.getSession();
|
|
2393
|
-
return u && u.status === "ok" &&
|
|
2387
|
+
return u && u.status === "ok" && X(u, { status: "exited" }), me(), n.setSession(a), r.setSession(a), a;
|
|
2394
2388
|
}
|
|
2395
2389
|
function me() {
|
|
2396
|
-
const t =
|
|
2390
|
+
const t = Z(), e = I(), n = e.getSession() || t.getSession();
|
|
2397
2391
|
n && un(n), Se(), t.setSession(), e.setSession();
|
|
2398
2392
|
}
|
|
2399
2393
|
function Se() {
|
|
2400
|
-
const t =
|
|
2394
|
+
const t = Z(), e = I(), n = N(), r = e.getSession() || t.getSession();
|
|
2401
2395
|
r && n && n.captureSession(r);
|
|
2402
2396
|
}
|
|
2403
|
-
function
|
|
2397
|
+
function rs(t = !1) {
|
|
2404
2398
|
if (t) {
|
|
2405
2399
|
me();
|
|
2406
2400
|
return;
|
|
2407
2401
|
}
|
|
2408
2402
|
Se();
|
|
2409
2403
|
}
|
|
2410
|
-
const ar = ["activate", "mount", "update"], cr = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, ur = /(?:^|[-_])(\w)/g, fr = (t) => t.replace(ur, (e) => e.toUpperCase()).replace(/[-_]/g, ""), dr = "<Root>", et = "<Anonymous>", pr = (t, e) => t.repeat(e),
|
|
2404
|
+
const ar = ["activate", "mount", "update"], cr = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, ur = /(?:^|[-_])(\w)/g, fr = (t) => t.replace(ur, (e) => e.toUpperCase()).replace(/[-_]/g, ""), dr = "<Root>", et = "<Anonymous>", pr = (t, e) => t.repeat(e), B = (t, e) => {
|
|
2411
2405
|
if (!t)
|
|
2412
2406
|
return et;
|
|
2413
2407
|
if (t.$root === t)
|
|
@@ -2441,17 +2435,17 @@ const ar = ["activate", "mount", "update"], cr = typeof __SENTRY_DEBUG__ > "u" |
|
|
|
2441
2435
|
found in
|
|
2442
2436
|
|
|
2443
2437
|
${e.map(
|
|
2444
|
-
(s, i) => `${(i === 0 ? "---> " : pr(" ", 5 + i * 2)) + (Array.isArray(s) ? `${
|
|
2438
|
+
(s, i) => `${(i === 0 ? "---> " : pr(" ", 5 + i * 2)) + (Array.isArray(s) ? `${B(s[0])}... (${s[1]} recursive calls)` : B(s))}`
|
|
2445
2439
|
).join(`
|
|
2446
2440
|
`)}`;
|
|
2447
2441
|
}
|
|
2448
2442
|
return `
|
|
2449
2443
|
|
|
2450
|
-
(found in ${
|
|
2451
|
-
},
|
|
2444
|
+
(found in ${B(t)})`;
|
|
2445
|
+
}, ss = (t, e) => {
|
|
2452
2446
|
const { errorHandler: n, warnHandler: r, silent: s } = t.config;
|
|
2453
2447
|
t.config.errorHandler = (i, o, a) => {
|
|
2454
|
-
const u =
|
|
2448
|
+
const u = B(o, !1), c = o ? lr(o) : "", f = {
|
|
2455
2449
|
componentName: u,
|
|
2456
2450
|
lifecycleHook: a,
|
|
2457
2451
|
trace: c
|
|
@@ -2483,7 +2477,7 @@ function hr(t, e, n) {
|
|
|
2483
2477
|
t.$root && t.$root.$_sentryRootSpan && (t.$root.$_sentryRootSpan.end(e), t.$root.$_sentryRootSpan = void 0);
|
|
2484
2478
|
}, n);
|
|
2485
2479
|
}
|
|
2486
|
-
const
|
|
2480
|
+
const is = (t) => {
|
|
2487
2481
|
const e = (t.hooks || []).concat(ar).filter((r, s, i) => i.indexOf(r) === s), n = {};
|
|
2488
2482
|
for (const r of e) {
|
|
2489
2483
|
const s = _r[r];
|
|
@@ -2498,10 +2492,10 @@ const as = (t) => {
|
|
|
2498
2492
|
name: "Application Render",
|
|
2499
2493
|
op: `${Jt}.render`,
|
|
2500
2494
|
attributes: {
|
|
2501
|
-
[
|
|
2495
|
+
[H]: "auto.ui.vue"
|
|
2502
2496
|
}
|
|
2503
2497
|
}));
|
|
2504
|
-
const a =
|
|
2498
|
+
const a = B(this, !1), u = Array.isArray(t.trackComponents) ? t.trackComponents.indexOf(a) > -1 : t.trackComponents;
|
|
2505
2499
|
if (!(!o && !u))
|
|
2506
2500
|
if (this.$_sentrySpans = this.$_sentrySpans || {}, i == s[0]) {
|
|
2507
2501
|
if (this.$root && this.$root.$_sentryRootSpan || ft()) {
|
|
@@ -2510,14 +2504,14 @@ const as = (t) => {
|
|
|
2510
2504
|
name: `Vue <${a}>`,
|
|
2511
2505
|
op: `${Jt}.${r}`,
|
|
2512
2506
|
attributes: {
|
|
2513
|
-
[
|
|
2507
|
+
[H]: "auto.ui.vue"
|
|
2514
2508
|
}
|
|
2515
2509
|
});
|
|
2516
2510
|
}
|
|
2517
2511
|
} else {
|
|
2518
2512
|
const c = this.$_sentrySpans[r];
|
|
2519
2513
|
if (!c) return;
|
|
2520
|
-
c.end(), hr(this,
|
|
2514
|
+
c.end(), hr(this, M(), t.timeout);
|
|
2521
2515
|
}
|
|
2522
2516
|
};
|
|
2523
2517
|
}
|
|
@@ -2528,7 +2522,7 @@ export {
|
|
|
2528
2522
|
zr as A,
|
|
2529
2523
|
Wr as B,
|
|
2530
2524
|
At as C,
|
|
2531
|
-
|
|
2525
|
+
W as D,
|
|
2532
2526
|
Gt as E,
|
|
2533
2527
|
kr as F,
|
|
2534
2528
|
h as G,
|
|
@@ -2537,8 +2531,8 @@ export {
|
|
|
2537
2531
|
_ as J,
|
|
2538
2532
|
Lr as K,
|
|
2539
2533
|
Er as L,
|
|
2540
|
-
|
|
2541
|
-
|
|
2534
|
+
X as M,
|
|
2535
|
+
Zr as N,
|
|
2542
2536
|
Br as O,
|
|
2543
2537
|
Jr as P,
|
|
2544
2538
|
Xr as Q,
|
|
@@ -2546,23 +2540,23 @@ export {
|
|
|
2546
2540
|
T as S,
|
|
2547
2541
|
m as T,
|
|
2548
2542
|
Cn as U,
|
|
2549
|
-
|
|
2543
|
+
Z as V,
|
|
2550
2544
|
xn as W,
|
|
2551
2545
|
gt as X,
|
|
2552
2546
|
lt as Y,
|
|
2553
2547
|
pt as Z,
|
|
2554
2548
|
ot as _,
|
|
2555
|
-
|
|
2549
|
+
ss as a,
|
|
2556
2550
|
ht as a0,
|
|
2557
2551
|
Hr as a1,
|
|
2558
2552
|
Kr as a2,
|
|
2559
2553
|
Yr as a3,
|
|
2560
|
-
|
|
2554
|
+
G as a4,
|
|
2561
2555
|
Dr as a5,
|
|
2562
|
-
|
|
2556
|
+
Mr as a6,
|
|
2563
2557
|
Tr as a7,
|
|
2564
2558
|
wr as a8,
|
|
2565
|
-
|
|
2559
|
+
H as a9,
|
|
2566
2560
|
ie as aA,
|
|
2567
2561
|
je as aB,
|
|
2568
2562
|
Ue as aC,
|
|
@@ -2570,30 +2564,25 @@ export {
|
|
|
2570
2564
|
es as aE,
|
|
2571
2565
|
Ir as aF,
|
|
2572
2566
|
$r as aG,
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
|
|
2582
|
-
v as aQ,
|
|
2583
|
-
Nr as aR,
|
|
2584
|
-
wt as aS,
|
|
2585
|
-
cr as aT,
|
|
2586
|
-
ar as aU,
|
|
2567
|
+
ns as aH,
|
|
2568
|
+
rs as aI,
|
|
2569
|
+
Gr as aJ,
|
|
2570
|
+
j as aK,
|
|
2571
|
+
Nr as aL,
|
|
2572
|
+
bt as aM,
|
|
2573
|
+
wt as aN,
|
|
2574
|
+
cr as aO,
|
|
2575
|
+
ar as aP,
|
|
2587
2576
|
ct as aa,
|
|
2588
2577
|
Vr as ab,
|
|
2589
2578
|
nn as ac,
|
|
2590
|
-
|
|
2591
|
-
|
|
2592
|
-
|
|
2579
|
+
vr as ad,
|
|
2580
|
+
Q as ae,
|
|
2581
|
+
Fr as af,
|
|
2593
2582
|
qr as ag,
|
|
2594
|
-
|
|
2583
|
+
Pe as ah,
|
|
2595
2584
|
ne as ai,
|
|
2596
|
-
|
|
2585
|
+
Pr as aj,
|
|
2597
2586
|
He as ak,
|
|
2598
2587
|
or as al,
|
|
2599
2588
|
mr as am,
|
|
@@ -2602,22 +2591,22 @@ export {
|
|
|
2602
2591
|
be as ap,
|
|
2603
2592
|
Je as aq,
|
|
2604
2593
|
Cr as ar,
|
|
2605
|
-
|
|
2594
|
+
Fn as as,
|
|
2606
2595
|
xr as at,
|
|
2607
2596
|
Re as au,
|
|
2608
2597
|
Ar as av,
|
|
2609
|
-
|
|
2610
|
-
|
|
2598
|
+
Qr as aw,
|
|
2599
|
+
z as ax,
|
|
2611
2600
|
bn as ay,
|
|
2612
2601
|
se as az,
|
|
2613
|
-
|
|
2614
|
-
|
|
2602
|
+
M as b,
|
|
2603
|
+
is as c,
|
|
2615
2604
|
ye as d,
|
|
2616
2605
|
D as e,
|
|
2617
2606
|
Rr as f,
|
|
2618
|
-
|
|
2607
|
+
ve as g,
|
|
2619
2608
|
Ur as h,
|
|
2620
|
-
|
|
2609
|
+
V as i,
|
|
2621
2610
|
St as j,
|
|
2622
2611
|
mt as k,
|
|
2623
2612
|
p as l,
|
|
@@ -2628,7 +2617,7 @@ export {
|
|
|
2628
2617
|
S as q,
|
|
2629
2618
|
jr as r,
|
|
2630
2619
|
N as s,
|
|
2631
|
-
|
|
2620
|
+
v as t,
|
|
2632
2621
|
le as u,
|
|
2633
2622
|
Tt as v,
|
|
2634
2623
|
I as w,
|
|
@@ -2636,4 +2625,4 @@ export {
|
|
|
2636
2625
|
Dn as y,
|
|
2637
2626
|
E as z
|
|
2638
2627
|
};
|
|
2639
|
-
//# sourceMappingURL=tracing-
|
|
2628
|
+
//# sourceMappingURL=tracing-6Srl_nMB.js.map
|