@revolugo/elements 5.26.2 → 6.0.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.min.js +2060 -2592
- package/dist/index.es.min.js.map +1 -1
- package/dist/index.min.js +10 -40
- package/dist/index.min.js.map +1 -1
- package/dist/{revolugo.banktransferdetails.DxzWSquz.min.js → revolugo.banktransferdetails.D0SlOsTI.min.js} +33 -37
- package/dist/{revolugo.bdaterangepicker.DAOZptUO.min.js → revolugo.bdaterangepicker.BIehsbY2.min.js} +20 -20
- package/dist/{revolugo.bformattedamount.C0KLwzwl.min.js → revolugo.bformattedamount.CEmw-f2u.min.js} +3 -3
- package/dist/{revolugo.bhotelroomsdetails.Z7i3IAGg.min.js → revolugo.bhotelroomsdetails.DSO88F2i.min.js} +13 -13
- package/dist/{revolugo.bhotelsearchbar.yigA_cAU.min.js → revolugo.bhotelsearchbar.DdZV94FM.min.js} +19 -19
- package/dist/{revolugo.bookingdetailssidebar.DnzGhpqw.min.js → revolugo.bookingdetailssidebar.BH_hcOXv.min.js} +6 -6
- package/dist/{revolugo.bookingdetailssidebar.BVkbxa9s.min.js → revolugo.bookingdetailssidebar.CJVvasR8.min.js} +17 -17
- package/dist/{revolugo.bookingmanager.DwuWRxAd.min.js → revolugo.bookingmanager.B1W9Srwo.min.js} +38 -38
- package/dist/{revolugo.bphoneinput.H3ff5kTX.min.js → revolugo.bphoneinput.7ehda58T.min.js} +33 -37
- package/dist/{revolugo.bpricesummaryskeleton.hwCth_b2.min.js → revolugo.bpricesummaryskeleton.CW9ghK0H.min.js} +6 -6
- package/dist/{revolugo.breakpoint-service.BlEWjg4g.min.js → revolugo.breakpoint-service.Cu-mwTuh.min.js} +3 -3
- package/dist/{revolugo.bstarrating.Bz8C7CvH.min.js → revolugo.bstarrating.ErgsKLSE.min.js} +8 -8
- package/dist/{revolugo.btag.DZN4j_hX.min.js → revolugo.btag.3FcEfaJ1.min.js} +9 -9
- package/dist/{revolugo.cancellationpoliciesbadge.DD3sOfkX.min.js → revolugo.cancellationpoliciesbadge.BTRNjxDU.min.js} +9 -9
- package/dist/{revolugo.cancellationpoliciesbadge.DIm9l5NJ.min.js → revolugo.cancellationpoliciesbadge.Cai7MdmA.min.js} +6 -6
- package/dist/{revolugo.cancellationpolicieslist.DdvjNdDB.min.js → revolugo.cancellationpolicieslist.DNVE52l9.min.js} +3 -3
- package/dist/{revolugo.cancellationpolicieslist.Yt8G1Lb0.min.js → revolugo.cancellationpolicieslist.fIHYU01N.min.js} +6 -6
- package/dist/{revolugo.common.BZH_Op12.min.js → revolugo.common.BMERDAjG.min.js} +2 -2
- package/dist/revolugo.creditcardform.B_uqS9k4.min.js +2003 -0
- package/dist/{revolugo.creditcardform.BI_FpSmL.min.js → revolugo.creditcardform.DPxI16M2.min.js} +6 -6
- package/dist/{revolugo.creditcardpayment.DnTKJs-I.min.js → revolugo.creditcardpayment.B5ZJI0w6.min.js} +34 -34
- package/dist/{revolugo.creditcardpayment.02PN4MWk.min.js → revolugo.creditcardpayment.D9TTH4NJ.min.js} +6 -6
- package/dist/{revolugo.currencypicker.rla5Gh6r.min.js → revolugo.currencypicker.D2kBqRQY.min.js} +9 -9
- package/dist/{revolugo.currencypickerbtn.BTEEO9t4.min.js → revolugo.currencypickerbtn.8QocBBvi.min.js} +11 -11
- package/dist/{revolugo.currencypickerbtn.DVaUT3Sv.min.js → revolugo.currencypickerbtn.C_Mpqa0P.min.js} +6 -6
- package/dist/{revolugo.dialog-attach.DCu6y0mp.min.js → revolugo.dialog-attach.c30M_gWU.min.js} +2 -2
- package/dist/{revolugo.fastbookingflow.DRTH66_Y.min.js → revolugo.fastbookingflow.M2qd2tsV.min.js} +6 -6
- package/dist/{revolugo.fullbookingflow.DZeA_09f.min.js → revolugo.fullbookingflow.BTn49b-c.min.js} +51 -51
- package/dist/{revolugo.hotel-offer.BMV5LoO-.min.js → revolugo.hotel-offer.wIngFNZX.min.js} +17 -17
- package/dist/{revolugo.hoteldescriptionview.iGRk1gJK.min.js → revolugo.hoteldescriptionview.Bq9LguL5.min.js} +6 -6
- package/dist/{revolugo.hoteldescriptionview.CFVTwBfb.min.js → revolugo.hoteldescriptionview.DLwdlhnb.min.js} +284 -267
- package/dist/{revolugo.hotelofferitemlayout.B47vwC31.min.js → revolugo.hotelofferitemlayout.FfUroZrA.min.js} +10 -10
- package/dist/{revolugo.hotelofferlist.CH8RSatG.min.js → revolugo.hotelofferlist.BTHg4q-w.min.js} +6 -6
- package/dist/revolugo.hotelofferlist.lqI-6UwY.min.js +4191 -0
- package/dist/{revolugo.hotelofferrequestcreator.DRaWs0Tl.min.js → revolugo.hotelofferrequestcreator.C2mvwbtG.min.js} +14 -14
- package/dist/{revolugo.hoteloffersearchmenu.BIC_Zl37.min.js → revolugo.hoteloffersearchmenu.DwK1lL0-.min.js} +6 -6
- package/dist/{revolugo.hoteloffersmap.BNeU4Ckq.min.js → revolugo.hoteloffersmap.CvFhDHYT.min.js} +33 -33
- package/dist/{revolugo.hoteloffersmap.kwmpn7NH.min.js → revolugo.hoteloffersmap.lfIuMPim.min.js} +6 -6
- package/dist/{revolugo.hoteloffersview.DCWgpMu6.min.js → revolugo.hoteloffersview.DWoFZ5Xe.min.js} +6 -6
- package/dist/{revolugo.hoteloffersview.Dv_Q1e1i.min.js → revolugo.hoteloffersview.Wxy0j12k.min.js} +19 -19
- package/dist/{revolugo.hotelroomofferlist.jL0zho9e.min.js → revolugo.hotelroomofferlist.BXeeR-lU.min.js} +53 -53
- package/dist/{revolugo.hotelroomofferlist.CRfe1uw4.min.js → revolugo.hotelroomofferlist.IYfAtMjj.min.js} +6 -6
- package/dist/{revolugo.hotelroomofferrequestcreator.CJQ2CdNw.min.js → revolugo.hotelroomofferrequestcreator.CypFSZQP.min.js} +12 -12
- package/dist/{revolugo.hotelroomoffersbookingflow.BQQoJFTW.min.js → revolugo.hotelroomoffersbookingflow.Ckujgcsl.min.js} +19 -19
- package/dist/{revolugo.hotelroomoffersearchmenu.pEi8lzHy.min.js → revolugo.hotelroomoffersearchmenu.Brh4l-bH.min.js} +5 -5
- package/dist/{revolugo.hotelroomoffersearchmenu.DCPFjC0g.min.js → revolugo.hotelroomoffersearchmenu.KIJcPK62.min.js} +4 -4
- package/dist/{revolugo.hotelroomoffersview.CwvF2Lg9.min.js → revolugo.hotelroomoffersview.BEaf8k08.min.js} +6 -6
- package/dist/{revolugo.hotelroomoffersview.mQwWZld8.min.js → revolugo.hotelroomoffersview.ClBpoIvY.min.js} +16 -16
- package/dist/{revolugo.i18n.qxNwIBzD.min.js → revolugo.i18n.B6flGapj.min.js} +2177 -2192
- package/dist/{revolugo.index.BzQBfwkV.min.js → revolugo.index.2xO6EI0w.min.js} +3 -3
- package/dist/{revolugo.index.utQE_7Cl.min.js → revolugo.index.5hyF7mph.min.js} +3 -3
- package/dist/{revolugo.index.CfNhkdgc.min.js → revolugo.index.BMUUUQ6e.min.js} +7 -7
- package/dist/{revolugo.index.DD9JrpcI.min.js → revolugo.index.BRF8X3n9.min.js} +5 -5
- package/dist/{revolugo.index.DqTSC2TR.min.js → revolugo.index.Btv6NrdZ.min.js} +3 -3
- package/dist/{revolugo.index.O87Oqb47.min.js → revolugo.index.C8XuamX-.min.js} +2 -2
- package/dist/{revolugo.index.BPSLxDUk.min.js → revolugo.index.CKodHqzD.min.js} +2 -2
- package/dist/{revolugo.index.CYG3UDgo.min.js → revolugo.index.CSQyjabN.min.js} +6 -6
- package/dist/{revolugo.index.CNxUzw3a.min.js → revolugo.index.DOhpwGoe.min.js} +9 -9
- package/dist/{revolugo.index.RS6IMZca.min.js → revolugo.index.DzWGRnmT.min.js} +4 -4
- package/dist/{revolugo.index.Ii4kfDF9.min.js → revolugo.index.O0gXxz8L.min.js} +2 -2
- package/dist/revolugo.index.VdjsHoHa.min.js +15 -0
- package/dist/{revolugo.index.DP6aBKb1.min.js → revolugo.index.Y8477YKy.min.js} +7 -7
- package/dist/{revolugo.index.D6ZUh3QP.min.js → revolugo.index.iku7fbFQ.min.js} +10 -10
- package/dist/{revolugo.langpicker.uc5GlZAU.min.js → revolugo.langpicker.DurEp5JD.min.js} +7 -7
- package/dist/{revolugo.langpickerbtn.BhRQdJ_p.min.js → revolugo.langpickerbtn.IJanaPAN.min.js} +6 -6
- package/dist/{revolugo.langpickerbtn.YGHO28He.min.js → revolugo.langpickerbtn.nJ-15Yck.min.js} +10 -10
- package/dist/revolugo.min.js +26 -26
- package/dist/{revolugo.parsed-height.B59lLeec.min.js → revolugo.parsed-height.Ck4tuzMA.min.js} +129 -129
- package/dist/{revolugo.parsed-props.n7LUhO7L.min.js → revolugo.parsed-props.Cv4vlK2H.min.js} +5 -5
- package/dist/{revolugo.prebookform.B3J48Pkc.min.js → revolugo.prebookform.BJvJf-GF.min.js} +29 -29
- package/dist/{revolugo.prebookform.CVh5dThF.min.js → revolugo.prebookform.DC6NaQhz.min.js} +6 -6
- package/dist/{revolugo.revolugo-config.BDiLSGvv.min.js → revolugo.revolugo-config.eJ199U_F.min.js} +1238 -1484
- package/dist/{revolugo.roominglisteditor.Chkqhc2Y.min.js → revolugo.roominglisteditor.BLvr-Fkl.min.js} +6 -6
- package/dist/{revolugo.roominglisteditor.Dkwuendx.min.js → revolugo.roominglisteditor.CK07dsA2.min.js} +20 -20
- package/dist/{revolugo.sentry.BVrKAYI8.min.js → revolugo.sentry.BJarOkzg.min.js} +498 -499
- package/dist/{revolugo.store.CLXQpFB9.min.js → revolugo.store.DiPfvwgS.min.js} +627 -659
- package/dist/{revolugo.storybooktoolbar.ZyQvkGCl.min.js → revolugo.storybooktoolbar.by8U1xIL.min.js} +20 -20
- package/dist/{revolugo.termsandconditions.DMPOujnj.min.js → revolugo.termsandconditions.Bj0hUrri.min.js} +6 -6
- package/dist/{revolugo.termsandconditions.ClSGaGKj.min.js → revolugo.termsandconditions.CaQXjD29.min.js} +4 -4
- package/dist/revolugo.typed-mixins.BJMIjm4p.min.js +8 -0
- package/dist/{revolugo.valert.Dy_fVPQq.min.js → revolugo.valert.CG2oNawN.min.js} +7 -7
- package/dist/{revolugo.vautocomplete.DfAUnP4D.min.js → revolugo.vautocomplete.BVFgoUPc.min.js} +5 -5
- package/dist/{revolugo.vbadge.D61vYgWe.min.js → revolugo.vbadge.DUDFOX6v.min.js} +6 -6
- package/dist/{revolugo.vbtn.Co1ZNQI6.min.js → revolugo.vbtn.CgpjK-rC.min.js} +7 -7
- package/dist/{revolugo.vcard.gY3nOWdt.min.js → revolugo.vcard.EZjjn7hB.min.js} +6 -6
- package/dist/{revolugo.vdialog.BS-urZDH.min.js → revolugo.vdialog.BnvOBOZv.min.js} +12 -12
- package/dist/{revolugo.vexpansionpanelheader.DEWs0GBp.min.js → revolugo.vexpansionpanelheader.DZ2ch7iL.min.js} +8 -8
- package/dist/{revolugo.vform.BDMYpFXp.min.js → revolugo.vform.D4KiqXsg.min.js} +5 -5
- package/dist/{revolugo.vinput.Cm7jTICX.min.js → revolugo.vinput.9l5CzrYJ.min.js} +9 -9
- package/dist/{revolugo.vitemgroup.Cx2l6nP2.min.js → revolugo.vitemgroup.CIcxzzC6.min.js} +7 -7
- package/dist/{revolugo.vlistitem.CFUhBC05.min.js → revolugo.vlistitem.DLjOsb8o.min.js} +8 -8
- package/dist/{revolugo.vmenu.BklgEHiC.min.js → revolugo.vmenu.CeS2GyXZ.min.js} +10 -10
- package/dist/{revolugo.vselect.IUnGF2CT.min.js → revolugo.vselect.Bp6HU30r.min.js} +15 -15
- package/dist/{revolugo.vsheet.CeC7JEVb.min.js → revolugo.vsheet.DlCCd6PI.min.js} +6 -6
- package/dist/{revolugo.vskeletonloader.T0Sj67u2.min.js → revolugo.vskeletonloader.C1ZuTHjb.min.js} +4 -4
- package/dist/{revolugo.vslidegroup.Dt4KvG1W.min.js → revolugo.vslidegroup.C40JffMI.min.js} +10 -10
- package/dist/{revolugo.vsnackbar.2IsRhccK.min.js → revolugo.vsnackbar.DQ_WLXS-.min.js} +5 -5
- package/dist/{revolugo.vtextfield.ndSvyN0P.min.js → revolugo.vtextfield.D0SzvDXM.min.js} +12 -12
- package/dist/{revolugo.vtoolbar.hGub5RDG.min.js → revolugo.vtoolbar.DPznK_s3.min.js} +5 -5
- package/dist/{revolugo.vtooltip.yWMo-A7h.min.js → revolugo.vtooltip.BRUkBK8U.min.js} +7 -7
- package/dist/{revolugo.vuetify.CCSPNwIH.min.js → revolugo.vuetify.WDp56OG9.min.js} +228 -228
- package/dist/{revolugo.watch-list.Bi8SNUJ6.min.js → revolugo.watch-list.DfnUSWxR.min.js} +3 -3
- package/dist/{revolugo.webcomponentwrapper.Ct1w2wDx.min.js → revolugo.webcomponentwrapper.Bxp0INRR.min.js} +7 -7
- package/package.json +4 -5
- package/dist/revolugo.creditcardform.BayaCj7N.min.js +0 -2003
- package/dist/revolugo.hotelofferlist.BVA1qSK4.min.js +0 -3618
- package/dist/revolugo.index.BOaxC3qr.min.js +0 -15
- package/dist/revolugo.typed-mixins.Dz5yLoi0.min.js +0 -8
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { E as Ls, V as bc } from "./revolugo.i18n.
|
|
1
|
+
import { E as Ls, V as bc } from "./revolugo.i18n.B6flGapj.min.js";
|
|
2
2
|
const Zi = Object.prototype.toString;
|
|
3
3
|
function eo(e) {
|
|
4
4
|
switch (Zi.call(e)) {
|
|
@@ -160,15 +160,15 @@ function Cc(e, t) {
|
|
|
160
160
|
function pn(e) {
|
|
161
161
|
return e && e.Math == Math ? e : void 0;
|
|
162
162
|
}
|
|
163
|
-
const
|
|
163
|
+
const O = typeof globalThis == "object" && pn(globalThis) || // eslint-disable-next-line no-restricted-globals
|
|
164
164
|
typeof window == "object" && pn(window) || typeof self == "object" && pn(self) || typeof global == "object" && pn(global) || /* @__PURE__ */ function() {
|
|
165
165
|
return this;
|
|
166
166
|
}() || {};
|
|
167
167
|
function es() {
|
|
168
|
-
return
|
|
168
|
+
return O;
|
|
169
169
|
}
|
|
170
170
|
function ro(e, t, n) {
|
|
171
|
-
const r = n ||
|
|
171
|
+
const r = n || O, s = r.__SENTRY__ = r.__SENTRY__ || {};
|
|
172
172
|
return s[e] || (s[e] = t());
|
|
173
173
|
}
|
|
174
174
|
const St = es(), xc = 80;
|
|
@@ -244,9 +244,9 @@ const Ot = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, Nc = "Sentry Logge
|
|
|
244
244
|
"trace"
|
|
245
245
|
], Rn = {};
|
|
246
246
|
function Re(e) {
|
|
247
|
-
if (!("console" in
|
|
247
|
+
if (!("console" in O))
|
|
248
248
|
return e();
|
|
249
|
-
const t =
|
|
249
|
+
const t = O.console, n = {}, r = Object.keys(Rn);
|
|
250
250
|
r.forEach((s) => {
|
|
251
251
|
const i = Rn[s];
|
|
252
252
|
n[s] = t[s], t[s] = i;
|
|
@@ -273,7 +273,7 @@ function Dc() {
|
|
|
273
273
|
return Ot ? Ir.forEach((n) => {
|
|
274
274
|
t[n] = (...r) => {
|
|
275
275
|
e && Re(() => {
|
|
276
|
-
|
|
276
|
+
O.console[n](`${Nc}[${n}]:`, ...r);
|
|
277
277
|
});
|
|
278
278
|
};
|
|
279
279
|
}) : Ir.forEach((n) => {
|
|
@@ -334,7 +334,7 @@ class Ie extends Error {
|
|
|
334
334
|
super(t), this.message = t, this.name = new.target.prototype.constructor.name, Object.setPrototypeOf(this, new.target.prototype), this.logLevel = n;
|
|
335
335
|
}
|
|
336
336
|
}
|
|
337
|
-
function
|
|
337
|
+
function ee(e, t, n) {
|
|
338
338
|
if (!(t in e))
|
|
339
339
|
return;
|
|
340
340
|
const r = e[t], s = n(r);
|
|
@@ -523,18 +523,18 @@ function qc(e) {
|
|
|
523
523
|
rt(t, e), st(t, Gc);
|
|
524
524
|
}
|
|
525
525
|
function Gc() {
|
|
526
|
-
"console" in
|
|
527
|
-
e in
|
|
526
|
+
"console" in O && Ir.forEach(function(e) {
|
|
527
|
+
e in O.console && ee(O.console, e, function(t) {
|
|
528
528
|
return Rn[e] = t, function(...n) {
|
|
529
529
|
Se("console", { args: n, level: e });
|
|
530
530
|
const s = Rn[e];
|
|
531
|
-
s && s.apply(
|
|
531
|
+
s && s.apply(O.console, n);
|
|
532
532
|
};
|
|
533
533
|
});
|
|
534
534
|
});
|
|
535
535
|
}
|
|
536
536
|
function V() {
|
|
537
|
-
const e =
|
|
537
|
+
const e = O, t = e.crypto || e.msCrypto;
|
|
538
538
|
let n = () => Math.random() * 16;
|
|
539
539
|
try {
|
|
540
540
|
if (t && t.randomUUID)
|
|
@@ -589,7 +589,7 @@ function qs(e) {
|
|
|
589
589
|
function ns(e) {
|
|
590
590
|
return Array.isArray(e) ? e : [e];
|
|
591
591
|
}
|
|
592
|
-
const dt =
|
|
592
|
+
const dt = O, Yc = 1e3;
|
|
593
593
|
let Gs, Rr, Cr;
|
|
594
594
|
function fo(e) {
|
|
595
595
|
const t = "dom";
|
|
@@ -601,7 +601,7 @@ function Vc() {
|
|
|
601
601
|
const e = Se.bind(null, "dom"), t = Ys(e, !0);
|
|
602
602
|
dt.document.addEventListener("click", t, !1), dt.document.addEventListener("keypress", t, !1), ["EventTarget", "Node"].forEach((n) => {
|
|
603
603
|
const r = dt[n] && dt[n].prototype;
|
|
604
|
-
!r || !r.hasOwnProperty || !r.hasOwnProperty("addEventListener") || (
|
|
604
|
+
!r || !r.hasOwnProperty || !r.hasOwnProperty("addEventListener") || (ee(r, "addEventListener", function(s) {
|
|
605
605
|
return function(i, o, a) {
|
|
606
606
|
if (i === "click" || i == "keypress")
|
|
607
607
|
try {
|
|
@@ -615,7 +615,7 @@ function Vc() {
|
|
|
615
615
|
}
|
|
616
616
|
return s.call(this, i, o, a);
|
|
617
617
|
};
|
|
618
|
-
}),
|
|
618
|
+
}), ee(
|
|
619
619
|
r,
|
|
620
620
|
"removeEventListener",
|
|
621
621
|
function(s) {
|
|
@@ -702,7 +702,7 @@ function rs(e) {
|
|
|
702
702
|
rt(t, e), st(t, Zc);
|
|
703
703
|
}
|
|
704
704
|
function Zc() {
|
|
705
|
-
Qc() &&
|
|
705
|
+
Qc() && ee(O, "fetch", function(e) {
|
|
706
706
|
return function(...t) {
|
|
707
707
|
const { method: n, url: r } = eu(t), s = {
|
|
708
708
|
args: t,
|
|
@@ -714,7 +714,7 @@ function Zc() {
|
|
|
714
714
|
};
|
|
715
715
|
return Se("fetch", {
|
|
716
716
|
...s
|
|
717
|
-
}), e.apply(
|
|
717
|
+
}), e.apply(O, t).then(
|
|
718
718
|
(i) => {
|
|
719
719
|
const o = {
|
|
720
720
|
...s,
|
|
@@ -763,7 +763,7 @@ function ho(e) {
|
|
|
763
763
|
rt(t, e), st(t, tu);
|
|
764
764
|
}
|
|
765
765
|
function tu() {
|
|
766
|
-
hn =
|
|
766
|
+
hn = O.onerror, O.onerror = function(e, t, n, r, s) {
|
|
767
767
|
return Se("error", {
|
|
768
768
|
column: r,
|
|
769
769
|
error: s,
|
|
@@ -771,7 +771,7 @@ function tu() {
|
|
|
771
771
|
msg: e,
|
|
772
772
|
url: t
|
|
773
773
|
}), hn && !hn.__SENTRY_LOADER__ ? hn.apply(this, arguments) : !1;
|
|
774
|
-
},
|
|
774
|
+
}, O.onerror.__SENTRY_INSTRUMENTED__ = !0;
|
|
775
775
|
}
|
|
776
776
|
let mn = null;
|
|
777
777
|
function mo(e) {
|
|
@@ -779,16 +779,16 @@ function mo(e) {
|
|
|
779
779
|
rt(t, e), st(t, nu);
|
|
780
780
|
}
|
|
781
781
|
function nu() {
|
|
782
|
-
mn =
|
|
782
|
+
mn = O.onunhandledrejection, O.onunhandledrejection = function(e) {
|
|
783
783
|
return Se("unhandledrejection", e), mn && !mn.__SENTRY_LOADER__ ? mn.apply(this, arguments) : !0;
|
|
784
|
-
},
|
|
784
|
+
}, O.onunhandledrejection.__SENTRY_INSTRUMENTED__ = !0;
|
|
785
785
|
}
|
|
786
786
|
const gn = es();
|
|
787
787
|
function ru() {
|
|
788
788
|
const e = gn.chrome, t = e && e.app && e.app.runtime, n = "history" in gn && !!gn.history.pushState && !!gn.history.replaceState;
|
|
789
789
|
return !t && n;
|
|
790
790
|
}
|
|
791
|
-
const Ft =
|
|
791
|
+
const Ft = O;
|
|
792
792
|
let _n;
|
|
793
793
|
function Gn(e) {
|
|
794
794
|
const t = "history";
|
|
@@ -816,9 +816,9 @@ function su() {
|
|
|
816
816
|
return n.apply(this, r);
|
|
817
817
|
};
|
|
818
818
|
}
|
|
819
|
-
|
|
819
|
+
ee(Ft.history, "pushState", t), ee(Ft.history, "replaceState", t);
|
|
820
820
|
}
|
|
821
|
-
const iu =
|
|
821
|
+
const iu = O, je = "__sentry_xhr_v3__";
|
|
822
822
|
function ss(e) {
|
|
823
823
|
const t = "xhr";
|
|
824
824
|
rt(t, e), st(t, ou);
|
|
@@ -827,7 +827,7 @@ function ou() {
|
|
|
827
827
|
if (!iu.XMLHttpRequest)
|
|
828
828
|
return;
|
|
829
829
|
const e = XMLHttpRequest.prototype;
|
|
830
|
-
|
|
830
|
+
ee(e, "open", function(t) {
|
|
831
831
|
return function(...n) {
|
|
832
832
|
const r = Date.now(), s = ke(n[0]) ? n[0].toUpperCase() : void 0, i = au(n[1]);
|
|
833
833
|
if (!s || !i)
|
|
@@ -853,18 +853,18 @@ function ou() {
|
|
|
853
853
|
Se("xhr", c);
|
|
854
854
|
}
|
|
855
855
|
};
|
|
856
|
-
return "onreadystatechange" in this && typeof this.onreadystatechange == "function" ?
|
|
856
|
+
return "onreadystatechange" in this && typeof this.onreadystatechange == "function" ? ee(this, "onreadystatechange", function(a) {
|
|
857
857
|
return function(...c) {
|
|
858
858
|
return o(), a.apply(this, c);
|
|
859
859
|
};
|
|
860
|
-
}) : this.addEventListener("readystatechange", o),
|
|
860
|
+
}) : this.addEventListener("readystatechange", o), ee(this, "setRequestHeader", function(a) {
|
|
861
861
|
return function(...c) {
|
|
862
862
|
const [u, l] = c, d = this[je];
|
|
863
863
|
return d && ke(u) && ke(l) && (d.request_headers[u.toLowerCase()] = l), a.apply(this, c);
|
|
864
864
|
};
|
|
865
865
|
}), t.apply(this, n);
|
|
866
866
|
};
|
|
867
|
-
}),
|
|
867
|
+
}), ee(e, "send", function(t) {
|
|
868
868
|
return function(...n) {
|
|
869
869
|
const r = this[je];
|
|
870
870
|
if (!r)
|
|
@@ -902,7 +902,7 @@ function Ks() {
|
|
|
902
902
|
function du() {
|
|
903
903
|
return (
|
|
904
904
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-explicit-any
|
|
905
|
-
|
|
905
|
+
O.process !== void 0 && O.process.type === "renderer"
|
|
906
906
|
);
|
|
907
907
|
}
|
|
908
908
|
function fu() {
|
|
@@ -1195,14 +1195,14 @@ function tn() {
|
|
|
1195
1195
|
return Date.now() / _o;
|
|
1196
1196
|
}
|
|
1197
1197
|
function Eu() {
|
|
1198
|
-
const { performance: e } =
|
|
1198
|
+
const { performance: e } = O;
|
|
1199
1199
|
if (!e || !e.now)
|
|
1200
1200
|
return tn;
|
|
1201
1201
|
const t = Date.now() - e.now(), n = e.timeOrigin == null ? t : e.timeOrigin;
|
|
1202
1202
|
return () => (n + e.now()) / _o;
|
|
1203
1203
|
}
|
|
1204
1204
|
const Dt = Eu(), fe = (() => {
|
|
1205
|
-
const { performance: e } =
|
|
1205
|
+
const { performance: e } = O;
|
|
1206
1206
|
if (!e || !e.now)
|
|
1207
1207
|
return;
|
|
1208
1208
|
const t = 3600 * 1e3, n = e.now(), r = Date.now(), s = e.timeOrigin ? Math.abs(e.timeOrigin + n - r) : t, i = s < t, o = e.timing && e.timing.navigationStart, c = typeof o == "number" ? Math.abs(o + n - r) : t, u = c < t;
|
|
@@ -1443,7 +1443,7 @@ function fr(e) {
|
|
|
1443
1443
|
}
|
|
1444
1444
|
return n;
|
|
1445
1445
|
}
|
|
1446
|
-
const
|
|
1446
|
+
const E = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, Yn = "production";
|
|
1447
1447
|
function cs() {
|
|
1448
1448
|
return ro("globalEventProcessors", () => []);
|
|
1449
1449
|
}
|
|
@@ -1457,7 +1457,7 @@ function Cn(e, t, n, r = 0) {
|
|
|
1457
1457
|
s(t);
|
|
1458
1458
|
else {
|
|
1459
1459
|
const a = o({ ...t }, n);
|
|
1460
|
-
|
|
1460
|
+
E && o.id && a === null && m.log(`Event processor "${o.id}" dropped event`), qn(a) ? a.then((c) => Cn(e, c, n, r + 1).then(s)).then(null, i) : Cn(e, a, n, r + 1).then(s).then(null, i);
|
|
1461
1461
|
}
|
|
1462
1462
|
});
|
|
1463
1463
|
}
|
|
@@ -1583,7 +1583,7 @@ function ju(e, t) {
|
|
|
1583
1583
|
}
|
|
1584
1584
|
const ei = /* @__PURE__ */ new WeakMap();
|
|
1585
1585
|
function zu(e, t) {
|
|
1586
|
-
const n =
|
|
1586
|
+
const n = O._sentryDebugIds;
|
|
1587
1587
|
if (!n)
|
|
1588
1588
|
return;
|
|
1589
1589
|
let r;
|
|
@@ -1719,7 +1719,7 @@ function ue() {
|
|
|
1719
1719
|
return ae().getScope();
|
|
1720
1720
|
}
|
|
1721
1721
|
function ti(e) {
|
|
1722
|
-
const t = $(), n = Ke(), r = ue(), { release: s, environment: i = Yn } = t && t.getOptions() || {}, { userAgent: o } =
|
|
1722
|
+
const t = $(), n = Ke(), r = ue(), { release: s, environment: i = Yn } = t && t.getOptions() || {}, { userAgent: o } = O.navigator || {}, a = vo({
|
|
1723
1723
|
release: s,
|
|
1724
1724
|
environment: i,
|
|
1725
1725
|
user: r.getUser() || n.getUser(),
|
|
@@ -2534,7 +2534,7 @@ class Oo {
|
|
|
2534
2534
|
try {
|
|
2535
2535
|
return n.getIntegration(t);
|
|
2536
2536
|
} catch {
|
|
2537
|
-
return
|
|
2537
|
+
return E && m.warn(`Cannot retrieve integration ${t.id} from the current Hub`), null;
|
|
2538
2538
|
}
|
|
2539
2539
|
}
|
|
2540
2540
|
/**
|
|
@@ -2558,7 +2558,7 @@ class Oo {
|
|
|
2558
2558
|
*/
|
|
2559
2559
|
startTransaction(t, n) {
|
|
2560
2560
|
const r = this._callExtensionMethod("startTransaction", t, n);
|
|
2561
|
-
return
|
|
2561
|
+
return E && !r && (this.getClient() ? m.warn(`Tracing extension 'startTransaction' has not been added. Call 'addTracingExtensions' before calling 'init':
|
|
2562
2562
|
Sentry.addTracingExtensions();
|
|
2563
2563
|
Sentry.init({...});
|
|
2564
2564
|
`) : m.warn(
|
|
@@ -2595,7 +2595,7 @@ Sentry.init({...});
|
|
|
2595
2595
|
* @deprecated Use top level `startSession` instead.
|
|
2596
2596
|
*/
|
|
2597
2597
|
startSession(t) {
|
|
2598
|
-
const { scope: n, client: r } = this.getStackTop(), { release: s, environment: i = Yn } = r && r.getOptions() || {}, { userAgent: o } =
|
|
2598
|
+
const { scope: n, client: r } = this.getStackTop(), { release: s, environment: i = Yn } = r && r.getOptions() || {}, { userAgent: o } = O.navigator || {}, a = vo({
|
|
2599
2599
|
release: s,
|
|
2600
2600
|
environment: i,
|
|
2601
2601
|
user: n.getUser(),
|
|
@@ -2631,14 +2631,14 @@ Sentry.init({...});
|
|
|
2631
2631
|
const s = rn().__SENTRY__;
|
|
2632
2632
|
if (s && s.extensions && typeof s.extensions[t] == "function")
|
|
2633
2633
|
return s.extensions[t].apply(this, n);
|
|
2634
|
-
|
|
2634
|
+
E && m.warn(`Extension method ${t} couldn't be found, doing nothing.`);
|
|
2635
2635
|
}
|
|
2636
2636
|
}
|
|
2637
2637
|
function rn() {
|
|
2638
|
-
return
|
|
2638
|
+
return O.__SENTRY__ = O.__SENTRY__ || {
|
|
2639
2639
|
extensions: {},
|
|
2640
2640
|
hub: void 0
|
|
2641
|
-
},
|
|
2641
|
+
}, O;
|
|
2642
2642
|
}
|
|
2643
2643
|
function ii(e) {
|
|
2644
2644
|
const t = rn(), n = Lr(t);
|
|
@@ -2682,7 +2682,7 @@ function Pr() {
|
|
|
2682
2682
|
const e = it();
|
|
2683
2683
|
if (e) {
|
|
2684
2684
|
const t = "internal_error";
|
|
2685
|
-
|
|
2685
|
+
E && m.log(`[Tracing] Transaction: ${t} -> Global error occured`), e.setStatus(t);
|
|
2686
2686
|
}
|
|
2687
2687
|
}
|
|
2688
2688
|
Pr.tag = "sentry_tracingErrorCallback";
|
|
@@ -3112,7 +3112,7 @@ class Jn {
|
|
|
3112
3112
|
});
|
|
3113
3113
|
n.spanRecorder = this.spanRecorder, n.spanRecorder && n.spanRecorder.add(n);
|
|
3114
3114
|
const r = xn(this);
|
|
3115
|
-
if (n.transaction = r,
|
|
3115
|
+
if (n.transaction = r, E && r) {
|
|
3116
3116
|
const s = t && t.op || "< unknown op >", i = K(n).description || "< unknown name >", o = r.spanContext().spanId, a = `[Tracing] Starting '${s}' span on transaction '${i}' (${o}).`;
|
|
3117
3117
|
m.log(a), this._logMessage = a;
|
|
3118
3118
|
}
|
|
@@ -3196,7 +3196,7 @@ class Jn {
|
|
|
3196
3196
|
if (this._endTime)
|
|
3197
3197
|
return;
|
|
3198
3198
|
const n = xn(this);
|
|
3199
|
-
if (
|
|
3199
|
+
if (E && // Don't call this for transactions
|
|
3200
3200
|
n && n.spanContext().spanId !== this._spanId) {
|
|
3201
3201
|
const r = this._logMessage;
|
|
3202
3202
|
r && m.log(r.replace("Starting", "Finishing"));
|
|
@@ -3470,10 +3470,10 @@ class $o extends Jn {
|
|
|
3470
3470
|
_finishTransaction(t) {
|
|
3471
3471
|
if (this._endTime !== void 0)
|
|
3472
3472
|
return;
|
|
3473
|
-
this._name || (
|
|
3473
|
+
this._name || (E && m.warn("Transaction has no name, falling back to `<unlabeled transaction>`."), this._name = "<unlabeled transaction>"), super.end(t);
|
|
3474
3474
|
const n = this._hub.getClient();
|
|
3475
3475
|
if (n && n.emit && n.emit("finishTransaction", this), this._sampled !== !0) {
|
|
3476
|
-
|
|
3476
|
+
E && m.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled."), n && n.recordDroppedEvent("sample_rate", "transaction");
|
|
3477
3477
|
return;
|
|
3478
3478
|
}
|
|
3479
3479
|
const r = this.spanRecorder ? (
|
|
@@ -3513,10 +3513,10 @@ class $o extends Jn {
|
|
|
3513
3513
|
}
|
|
3514
3514
|
}
|
|
3515
3515
|
};
|
|
3516
|
-
return Object.keys(this._measurements).length > 0 && (
|
|
3516
|
+
return Object.keys(this._measurements).length > 0 && (E && m.log(
|
|
3517
3517
|
"[Measurements] Adding measurements to transaction",
|
|
3518
3518
|
JSON.stringify(this._measurements, void 0, 2)
|
|
3519
|
-
), c.measurements = this._measurements),
|
|
3519
|
+
), c.measurements = this._measurements), E && m.log(`[Tracing] Finishing ${this.op} transaction: ${this._name}.`), c;
|
|
3520
3520
|
}
|
|
3521
3521
|
}
|
|
3522
3522
|
const kn = {
|
|
@@ -3559,7 +3559,7 @@ class Sl extends $o {
|
|
|
3559
3559
|
* @deprecated Transactions will be removed in v8. Use spans instead.
|
|
3560
3560
|
*/
|
|
3561
3561
|
constructor(t, n, r = kn.idleTimeout, s = kn.finalTimeout, i = kn.heartbeatInterval, o = !1, a = !1) {
|
|
3562
|
-
super(t, n), this._idleHub = n, this._idleTimeout = r, this._finalTimeout = s, this._heartbeatInterval = i, this._onScope = o, this.activities = {}, this._heartbeatCounter = 0, this._finished = !1, this._idleTimeoutCanceledPermanently = !1, this._beforeFinishCallbacks = [], this._finishReason = ut[4], this._autoFinishAllowed = !a, o && (
|
|
3562
|
+
super(t, n), this._idleHub = n, this._idleTimeout = r, this._finalTimeout = s, this._heartbeatInterval = i, this._onScope = o, this.activities = {}, this._heartbeatCounter = 0, this._finished = !1, this._idleTimeoutCanceledPermanently = !1, this._beforeFinishCallbacks = [], this._finishReason = ut[4], this._autoFinishAllowed = !a, o && (E && m.log(`Setting idle transaction on scope. Span ID: ${this.spanContext().spanId}`), n.getScope().setSpan(this)), a || this._restartIdleTimeout(), setTimeout(() => {
|
|
3563
3563
|
this._finished || (this.setStatus("deadline_exceeded"), this._finishReason = ut[3], this.end());
|
|
3564
3564
|
}, this._finalTimeout);
|
|
3565
3565
|
}
|
|
@@ -3567,23 +3567,23 @@ class Sl extends $o {
|
|
|
3567
3567
|
end(t) {
|
|
3568
3568
|
const n = Kn(t);
|
|
3569
3569
|
if (this._finished = !0, this.activities = {}, this.op === "ui.action.click" && this.setAttribute(_l, this._finishReason), this.spanRecorder) {
|
|
3570
|
-
|
|
3570
|
+
E && // eslint-disable-next-line deprecation/deprecation
|
|
3571
3571
|
m.log("[Tracing] finishing IdleTransaction", new Date(n * 1e3).toISOString(), this.op);
|
|
3572
3572
|
for (const r of this._beforeFinishCallbacks)
|
|
3573
3573
|
r(this, n);
|
|
3574
3574
|
this.spanRecorder.spans = this.spanRecorder.spans.filter((r) => {
|
|
3575
3575
|
if (r.spanContext().spanId === this.spanContext().spanId)
|
|
3576
3576
|
return !0;
|
|
3577
|
-
K(r).timestamp || (r.setStatus("cancelled"), r.end(n),
|
|
3577
|
+
K(r).timestamp || (r.setStatus("cancelled"), r.end(n), E && m.log("[Tracing] cancelling span since transaction ended early", JSON.stringify(r, void 0, 2)));
|
|
3578
3578
|
const { start_timestamp: s, timestamp: i } = K(r), o = s && s < n, a = (this._finalTimeout + this._idleTimeout) / 1e3, c = i && s && i - s < a;
|
|
3579
|
-
if (
|
|
3579
|
+
if (E) {
|
|
3580
3580
|
const u = JSON.stringify(r, void 0, 2);
|
|
3581
3581
|
o ? c || m.log("[Tracing] discarding Span since it finished after Transaction final timeout", u) : m.log("[Tracing] discarding Span since it happened after Transaction was finished", u);
|
|
3582
3582
|
}
|
|
3583
3583
|
return o && c;
|
|
3584
|
-
}),
|
|
3584
|
+
}), E && m.log("[Tracing] flushing IdleTransaction");
|
|
3585
3585
|
} else
|
|
3586
|
-
|
|
3586
|
+
E && m.log("[Tracing] No active IdleTransaction");
|
|
3587
3587
|
if (this._onScope) {
|
|
3588
3588
|
const r = this._idleHub.getScope();
|
|
3589
3589
|
r.getTransaction() === this && r.setSpan(void 0);
|
|
@@ -3610,7 +3610,7 @@ class Sl extends $o {
|
|
|
3610
3610
|
}, r = (s) => {
|
|
3611
3611
|
this._finished || this._popActivity(s);
|
|
3612
3612
|
};
|
|
3613
|
-
this.spanRecorder = new yl(n, r, this.spanContext().spanId, t),
|
|
3613
|
+
this.spanRecorder = new yl(n, r, this.spanContext().spanId, t), E && m.log("Starting heartbeat"), this._pingHeartbeat();
|
|
3614
3614
|
}
|
|
3615
3615
|
this.spanRecorder.add(this);
|
|
3616
3616
|
}
|
|
@@ -3643,7 +3643,7 @@ class Sl extends $o {
|
|
|
3643
3643
|
* Permits the IdleTransaction to automatically end itself via the idle timeout and heartbeat mechanisms when the `delayAutoFinishUntilSignal` option was set to `true`.
|
|
3644
3644
|
*/
|
|
3645
3645
|
sendAutoFinishSignal() {
|
|
3646
|
-
this._autoFinishAllowed || (
|
|
3646
|
+
this._autoFinishAllowed || (E && m.log("[Tracing] Received finish signal for idle transaction."), this._restartIdleTimeout(), this._autoFinishAllowed = !0);
|
|
3647
3647
|
}
|
|
3648
3648
|
/**
|
|
3649
3649
|
* Restarts idle timeout, if there is no running idle timeout it will start one.
|
|
@@ -3658,14 +3658,14 @@ class Sl extends $o {
|
|
|
3658
3658
|
* @param spanId The span id that represents the activity
|
|
3659
3659
|
*/
|
|
3660
3660
|
_pushActivity(t) {
|
|
3661
|
-
this.cancelIdleTimeout(void 0, { restartOnChildSpanChange: !this._idleTimeoutCanceledPermanently }),
|
|
3661
|
+
this.cancelIdleTimeout(void 0, { restartOnChildSpanChange: !this._idleTimeoutCanceledPermanently }), E && m.log(`[Tracing] pushActivity: ${t}`), this.activities[t] = !0, E && m.log("[Tracing] new activities count", Object.keys(this.activities).length);
|
|
3662
3662
|
}
|
|
3663
3663
|
/**
|
|
3664
3664
|
* Remove an activity from usage
|
|
3665
3665
|
* @param spanId The span id that represents the activity
|
|
3666
3666
|
*/
|
|
3667
3667
|
_popActivity(t) {
|
|
3668
|
-
if (this.activities[t] && (
|
|
3668
|
+
if (this.activities[t] && (E && m.log(`[Tracing] popActivity ${t}`), delete this.activities[t], E && m.log("[Tracing] new activities count", Object.keys(this.activities).length)), Object.keys(this.activities).length === 0) {
|
|
3669
3669
|
const n = Dt();
|
|
3670
3670
|
this._idleTimeoutCanceledPermanently ? this._autoFinishAllowed && (this._finishReason = ut[5], this.end(n)) : this._restartIdleTimeout(n + this._idleTimeout / 1e3);
|
|
3671
3671
|
}
|
|
@@ -3678,13 +3678,13 @@ class Sl extends $o {
|
|
|
3678
3678
|
if (this._finished)
|
|
3679
3679
|
return;
|
|
3680
3680
|
const t = Object.keys(this.activities).join("");
|
|
3681
|
-
t === this._prevHeartbeatString ? this._heartbeatCounter++ : this._heartbeatCounter = 1, this._prevHeartbeatString = t, this._heartbeatCounter >= 3 ? this._autoFinishAllowed && (
|
|
3681
|
+
t === this._prevHeartbeatString ? this._heartbeatCounter++ : this._heartbeatCounter = 1, this._prevHeartbeatString = t, this._heartbeatCounter >= 3 ? this._autoFinishAllowed && (E && m.log("[Tracing] Transaction finished because of no change for 3 heart beats"), this.setStatus("deadline_exceeded"), this._finishReason = ut[0], this.end()) : this._pingHeartbeat();
|
|
3682
3682
|
}
|
|
3683
3683
|
/**
|
|
3684
3684
|
* Pings the heartbeat
|
|
3685
3685
|
*/
|
|
3686
3686
|
_pingHeartbeat() {
|
|
3687
|
-
|
|
3687
|
+
E && m.log(`pinging Heartbeat -> current counter: ${this._heartbeatCounter}`), setTimeout(() => {
|
|
3688
3688
|
this._beat();
|
|
3689
3689
|
}, this._heartbeatInterval);
|
|
3690
3690
|
}
|
|
@@ -3695,21 +3695,21 @@ function Fo(e, t, n) {
|
|
|
3695
3695
|
if (e.sampled !== void 0)
|
|
3696
3696
|
return e.setAttribute(pt, Number(e.sampled)), e;
|
|
3697
3697
|
let r;
|
|
3698
|
-
return typeof t.tracesSampler == "function" ? (r = t.tracesSampler(n), e.setAttribute(pt, Number(r))) : n.parentSampled !== void 0 ? r = n.parentSampled : typeof t.tracesSampleRate < "u" ? (r = t.tracesSampleRate, e.setAttribute(pt, Number(r))) : (r = 1, e.setAttribute(pt, r)), Bo(r) ? r ? (e.sampled = Math.random() < r, e.sampled ? (
|
|
3699
|
-
m.log(`[Tracing] starting ${e.op} transaction - ${K(e).description}`), e) : (
|
|
3698
|
+
return typeof t.tracesSampler == "function" ? (r = t.tracesSampler(n), e.setAttribute(pt, Number(r))) : n.parentSampled !== void 0 ? r = n.parentSampled : typeof t.tracesSampleRate < "u" ? (r = t.tracesSampleRate, e.setAttribute(pt, Number(r))) : (r = 1, e.setAttribute(pt, r)), Bo(r) ? r ? (e.sampled = Math.random() < r, e.sampled ? (E && // eslint-disable-next-line deprecation/deprecation
|
|
3699
|
+
m.log(`[Tracing] starting ${e.op} transaction - ${K(e).description}`), e) : (E && m.log(
|
|
3700
3700
|
`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(
|
|
3701
3701
|
r
|
|
3702
3702
|
)})`
|
|
3703
|
-
), e)) : (
|
|
3703
|
+
), e)) : (E && m.log(
|
|
3704
3704
|
`[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"}`
|
|
3705
|
-
), e.sampled = !1, e) : (
|
|
3705
|
+
), e.sampled = !1, e) : (E && m.warn("[Tracing] Discarding transaction because of invalid sample rate."), e.sampled = !1, e);
|
|
3706
3706
|
}
|
|
3707
3707
|
function Bo(e) {
|
|
3708
|
-
return to(e) || !(typeof e == "number" || typeof e == "boolean") ? (
|
|
3708
|
+
return to(e) || !(typeof e == "number" || typeof e == "boolean") ? (E && m.warn(
|
|
3709
3709
|
`[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(
|
|
3710
3710
|
e
|
|
3711
3711
|
)} of type ${JSON.stringify(typeof e)}.`
|
|
3712
|
-
), !1) : e < 0 || e > 1 ? (
|
|
3712
|
+
), !1) : e < 0 || e > 1 ? (E && m.warn(`[Tracing] Given sample rate is invalid. Sample rate must be between 0 and 1. Got ${e}.`), !1) : !0;
|
|
3713
3713
|
}
|
|
3714
3714
|
function El() {
|
|
3715
3715
|
const t = this.getScope().getSpan();
|
|
@@ -3719,7 +3719,7 @@ function El() {
|
|
|
3719
3719
|
}
|
|
3720
3720
|
function bl(e, t) {
|
|
3721
3721
|
const n = this.getClient(), r = n && n.getOptions() || {}, s = r.instrumenter || "sentry", i = e.instrumenter || "sentry";
|
|
3722
|
-
s !== i && (
|
|
3722
|
+
s !== i && (E && m.error(
|
|
3723
3723
|
`A transaction was started with instrumenter=\`${i}\`, but the SDK is configured with the \`${s}\` instrumenter.
|
|
3724
3724
|
The transaction will not be sampled. Please use the ${s} instrumentation to start transactions.`
|
|
3725
3725
|
), e.sampled = !1);
|
|
@@ -3839,7 +3839,7 @@ function ui(e, t) {
|
|
|
3839
3839
|
}
|
|
3840
3840
|
function Uo(e, t, n) {
|
|
3841
3841
|
if (n[t.name]) {
|
|
3842
|
-
|
|
3842
|
+
E && m.log(`Integration skipped because it was already installed: ${t.name}`);
|
|
3843
3843
|
return;
|
|
3844
3844
|
}
|
|
3845
3845
|
if (n[t.name] = t, ci.indexOf(t.name) === -1 && (t.setupOnce(Fu, ae), ci.push(t.name)), t.setup && typeof t.setup == "function" && t.setup(e), e.on && typeof t.preprocessEvent == "function") {
|
|
@@ -3852,7 +3852,7 @@ function Uo(e, t, n) {
|
|
|
3852
3852
|
});
|
|
3853
3853
|
e.addEventProcessor(s);
|
|
3854
3854
|
}
|
|
3855
|
-
|
|
3855
|
+
E && m.log(`Integration installed: ${t.name}`);
|
|
3856
3856
|
}
|
|
3857
3857
|
function Ll(e, t) {
|
|
3858
3858
|
for (let n = 0; n < e.length; n++)
|
|
@@ -3915,7 +3915,7 @@ class Bl {
|
|
|
3915
3915
|
* @param options Options for the client.
|
|
3916
3916
|
*/
|
|
3917
3917
|
constructor(t) {
|
|
3918
|
-
if (this._options = t, this._integrations = {}, this._integrationsInitialized = !1, this._numProcessing = 0, this._outcomes = {}, this._hooks = {}, this._eventProcessors = [], t.dsn ? this._dsn = Bc(t.dsn) :
|
|
3918
|
+
if (this._options = t, this._integrations = {}, this._integrationsInitialized = !1, this._numProcessing = 0, this._outcomes = {}, this._hooks = {}, this._eventProcessors = [], t.dsn ? this._dsn = Bc(t.dsn) : E && m.warn("No DSN provided, client will not send events."), this._dsn) {
|
|
3919
3919
|
const n = Al(this._dsn, t);
|
|
3920
3920
|
this._transport = t.transport({
|
|
3921
3921
|
tunnel: this._options.tunnel,
|
|
@@ -3931,7 +3931,7 @@ class Bl {
|
|
|
3931
3931
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types
|
|
3932
3932
|
captureException(t, n, r) {
|
|
3933
3933
|
if (qs(t)) {
|
|
3934
|
-
|
|
3934
|
+
E && m.log(li);
|
|
3935
3935
|
return;
|
|
3936
3936
|
}
|
|
3937
3937
|
let s = n && n.event_id;
|
|
@@ -3958,7 +3958,7 @@ class Bl {
|
|
|
3958
3958
|
*/
|
|
3959
3959
|
captureEvent(t, n, r) {
|
|
3960
3960
|
if (n && n.originalException && qs(n.originalException)) {
|
|
3961
|
-
|
|
3961
|
+
E && m.log(li);
|
|
3962
3962
|
return;
|
|
3963
3963
|
}
|
|
3964
3964
|
let s = n && n.event_id;
|
|
@@ -3973,7 +3973,7 @@ class Bl {
|
|
|
3973
3973
|
* @inheritDoc
|
|
3974
3974
|
*/
|
|
3975
3975
|
captureSession(t) {
|
|
3976
|
-
typeof t.release != "string" ?
|
|
3976
|
+
typeof t.release != "string" ? E && m.warn("Discarded session because of missing or non-string release") : (this.sendSession(t), nt(t, { init: !1 }));
|
|
3977
3977
|
}
|
|
3978
3978
|
/**
|
|
3979
3979
|
* @inheritDoc
|
|
@@ -4058,7 +4058,7 @@ class Bl {
|
|
|
4058
4058
|
try {
|
|
4059
4059
|
return this._integrations[t.id] || null;
|
|
4060
4060
|
} catch {
|
|
4061
|
-
return
|
|
4061
|
+
return E && m.warn(`Cannot retrieve integration ${t.id} from the current Client`), null;
|
|
4062
4062
|
}
|
|
4063
4063
|
}
|
|
4064
4064
|
/**
|
|
@@ -4098,14 +4098,14 @@ class Bl {
|
|
|
4098
4098
|
recordDroppedEvent(t, n, r) {
|
|
4099
4099
|
if (this._options.sendClientReports) {
|
|
4100
4100
|
const s = typeof r == "number" ? r : 1, i = `${t}:${n}`;
|
|
4101
|
-
|
|
4101
|
+
E && m.log(`Recording outcome: "${i}"${s > 1 ? ` (${s} times)` : ""}`), this._outcomes[i] = (this._outcomes[i] || 0) + s;
|
|
4102
4102
|
}
|
|
4103
4103
|
}
|
|
4104
4104
|
/**
|
|
4105
4105
|
* @inheritDoc
|
|
4106
4106
|
*/
|
|
4107
4107
|
captureAggregateMetrics(t) {
|
|
4108
|
-
|
|
4108
|
+
E && m.log(`Flushing aggregated metrics, number of metrics: ${t.length}`);
|
|
4109
4109
|
const n = $l(
|
|
4110
4110
|
t,
|
|
4111
4111
|
this._dsn,
|
|
@@ -4226,7 +4226,7 @@ class Bl {
|
|
|
4226
4226
|
return this._processEvent(t, n, r).then(
|
|
4227
4227
|
(s) => s.event_id,
|
|
4228
4228
|
(s) => {
|
|
4229
|
-
if (
|
|
4229
|
+
if (E) {
|
|
4230
4230
|
const i = s;
|
|
4231
4231
|
i.logLevel === "log" ? m.log(i.message) : m.warn(i);
|
|
4232
4232
|
}
|
|
@@ -4312,9 +4312,9 @@ Reason: ${p}`
|
|
|
4312
4312
|
_sendEnvelope(t) {
|
|
4313
4313
|
if (this.emit("beforeEnvelope", t), this._isEnabled() && this._transport)
|
|
4314
4314
|
return this._transport.send(t).then(null, (n) => {
|
|
4315
|
-
|
|
4315
|
+
E && m.error("Error while sending event:", n);
|
|
4316
4316
|
});
|
|
4317
|
-
|
|
4317
|
+
E && m.error("Transport disabled");
|
|
4318
4318
|
}
|
|
4319
4319
|
/**
|
|
4320
4320
|
* Clears outcomes on this client and returns them.
|
|
@@ -4379,7 +4379,7 @@ function jl(e) {
|
|
|
4379
4379
|
!t || !t.addEventProcessor || t.addEventProcessor(e);
|
|
4380
4380
|
}
|
|
4381
4381
|
function zl(e, t) {
|
|
4382
|
-
t.debug === !0 && (
|
|
4382
|
+
t.debug === !0 && (E ? m.enable() : Re(() => {
|
|
4383
4383
|
console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.");
|
|
4384
4384
|
})), ue().update(t.initialScope);
|
|
4385
4385
|
const r = new e(t);
|
|
@@ -4415,7 +4415,7 @@ function Wo(e, t, n = _u(
|
|
|
4415
4415
|
e.recordDroppedEvent(d, Qs(p), h);
|
|
4416
4416
|
});
|
|
4417
4417
|
}, l = () => t({ body: xu(c, e.textEncoder) }).then(
|
|
4418
|
-
(d) => (d.statusCode !== void 0 && (d.statusCode < 200 || d.statusCode >= 300) &&
|
|
4418
|
+
(d) => (d.statusCode !== void 0 && (d.statusCode < 200 || d.statusCode >= 300) && E && m.warn(`Sentry responded with status code ${d.statusCode} to sent event.`), r = To(r, d), d),
|
|
4419
4419
|
(d) => {
|
|
4420
4420
|
throw u("network_error"), d;
|
|
4421
4421
|
}
|
|
@@ -4424,7 +4424,7 @@ function Wo(e, t, n = _u(
|
|
|
4424
4424
|
(d) => d,
|
|
4425
4425
|
(d) => {
|
|
4426
4426
|
if (d instanceof Ie)
|
|
4427
|
-
return
|
|
4427
|
+
return E && m.error("Skipped sending event because buffer is full."), u("queue_overflow"), Tt();
|
|
4428
4428
|
throw d;
|
|
4429
4429
|
}
|
|
4430
4430
|
);
|
|
@@ -4527,20 +4527,20 @@ function rd(e = {}, t = {}) {
|
|
|
4527
4527
|
};
|
|
4528
4528
|
}
|
|
4529
4529
|
function sd(e, t) {
|
|
4530
|
-
return t.ignoreInternal && ld(e) ? (
|
|
4531
|
-
Event: ${Ue(e)}`), !0) : id(e, t.ignoreErrors) ? (
|
|
4530
|
+
return t.ignoreInternal && ld(e) ? (E && m.warn(`Event dropped due to being internal Sentry Error.
|
|
4531
|
+
Event: ${Ue(e)}`), !0) : id(e, t.ignoreErrors) ? (E && m.warn(
|
|
4532
4532
|
`Event dropped due to being matched by \`ignoreErrors\` option.
|
|
4533
4533
|
Event: ${Ue(e)}`
|
|
4534
|
-
), !0) : od(e, t.ignoreTransactions) ? (
|
|
4534
|
+
), !0) : od(e, t.ignoreTransactions) ? (E && m.warn(
|
|
4535
4535
|
`Event dropped due to being matched by \`ignoreTransactions\` option.
|
|
4536
4536
|
Event: ${Ue(e)}`
|
|
4537
|
-
), !0) : ad(e, t.denyUrls) ? (
|
|
4537
|
+
), !0) : ad(e, t.denyUrls) ? (E && m.warn(
|
|
4538
4538
|
`Event dropped due to being matched by \`denyUrls\` option.
|
|
4539
4539
|
Event: ${Ue(
|
|
4540
4540
|
e
|
|
4541
4541
|
)}.
|
|
4542
4542
|
Url: ${An(e)}`
|
|
4543
|
-
), !0) : cd(e, t.allowUrls) ? !1 : (
|
|
4543
|
+
), !0) : cd(e, t.allowUrls) ? !1 : (E && m.warn(
|
|
4544
4544
|
`Event dropped due to not being matched by \`allowUrls\` option.
|
|
4545
4545
|
Event: ${Ue(
|
|
4546
4546
|
e
|
|
@@ -4577,7 +4577,7 @@ function ud(e) {
|
|
|
4577
4577
|
n = e.exception.values[e.exception.values.length - 1];
|
|
4578
4578
|
} catch {
|
|
4579
4579
|
}
|
|
4580
|
-
return n && n.value && (t.push(n.value), n.type && t.push(`${n.type}: ${n.value}`)),
|
|
4580
|
+
return n && n.value && (t.push(n.value), n.type && t.push(`${n.type}: ${n.value}`)), E && t.length === 0 && m.error(`Could not extract message for event ${Ue(e)}`), t;
|
|
4581
4581
|
}
|
|
4582
4582
|
function ld(e) {
|
|
4583
4583
|
try {
|
|
@@ -4603,7 +4603,7 @@ function An(e) {
|
|
|
4603
4603
|
}
|
|
4604
4604
|
return t ? dd(t) : null;
|
|
4605
4605
|
} catch {
|
|
4606
|
-
return
|
|
4606
|
+
return E && m.error(`Cannot extract url for event ${Ue(e)}`), null;
|
|
4607
4607
|
}
|
|
4608
4608
|
}
|
|
4609
4609
|
let pi;
|
|
@@ -4627,11 +4627,11 @@ Le(
|
|
|
4627
4627
|
Yo,
|
|
4628
4628
|
Vo
|
|
4629
4629
|
);
|
|
4630
|
-
const W = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__,
|
|
4630
|
+
const W = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, k = O;
|
|
4631
4631
|
function pd() {
|
|
4632
|
-
|
|
4632
|
+
k.document ? k.document.addEventListener("visibilitychange", () => {
|
|
4633
4633
|
const e = it();
|
|
4634
|
-
if (
|
|
4634
|
+
if (k.document.hidden && e) {
|
|
4635
4635
|
const t = "cancelled", { op: n, status: r } = K(e);
|
|
4636
4636
|
W && m.log(`[Tracing] Transaction: ${t} -> since tab moved to the background, op: ${n}`), r || e.setStatus(t), e.setTag("visibilitychange", "document.hidden"), e.end();
|
|
4637
4637
|
}
|
|
@@ -4643,7 +4643,7 @@ const sn = (e, t, n) => {
|
|
|
4643
4643
|
t.value >= 0 && (i || n) && (s = t.value - (r || 0), (s || r === void 0) && (r = t.value, t.delta = s, e(t)));
|
|
4644
4644
|
};
|
|
4645
4645
|
}, hd = () => `v3-${Date.now()}-${Math.floor(Math.random() * (9e12 - 1)) + 1e12}`, md = () => {
|
|
4646
|
-
const e =
|
|
4646
|
+
const e = k.performance.timing, t = k.performance.navigation.type, n = {
|
|
4647
4647
|
entryType: "navigation",
|
|
4648
4648
|
startTime: 0,
|
|
4649
4649
|
type: t == 2 ? "back_forward" : t === 1 ? "reload" : "navigate"
|
|
@@ -4651,13 +4651,13 @@ const sn = (e, t, n) => {
|
|
|
4651
4651
|
for (const r in e)
|
|
4652
4652
|
r !== "navigationStart" && r !== "toJSON" && (n[r] = Math.max(e[r] - e.navigationStart, 0));
|
|
4653
4653
|
return n;
|
|
4654
|
-
}, Qn = () =>
|
|
4654
|
+
}, Qn = () => k.__WEB_VITALS_POLYFILL__ ? k.performance && (performance.getEntriesByType && performance.getEntriesByType("navigation")[0] || md()) : k.performance && performance.getEntriesByType && performance.getEntriesByType("navigation")[0], fs = () => {
|
|
4655
4655
|
const e = Qn();
|
|
4656
4656
|
return e && e.activationStart || 0;
|
|
4657
4657
|
}, on = (e, t) => {
|
|
4658
4658
|
const n = Qn();
|
|
4659
4659
|
let r = "navigate";
|
|
4660
|
-
return n && (
|
|
4660
|
+
return n && (k.document && k.document.prerendering || fs() > 0 ? r = "prerender" : r = n.type.replace(/_/g, "-")), {
|
|
4661
4661
|
name: e,
|
|
4662
4662
|
value: typeof t > "u" ? -1 : t,
|
|
4663
4663
|
rating: "good",
|
|
@@ -4687,9 +4687,9 @@ const sn = (e, t, n) => {
|
|
|
4687
4687
|
}
|
|
4688
4688
|
}, an = (e, t) => {
|
|
4689
4689
|
const n = (r) => {
|
|
4690
|
-
(r.type === "pagehide" ||
|
|
4690
|
+
(r.type === "pagehide" || k.document.visibilityState === "hidden") && (e(r), t && (removeEventListener("visibilitychange", n, !0), removeEventListener("pagehide", n, !0)));
|
|
4691
4691
|
};
|
|
4692
|
-
|
|
4692
|
+
k.document && (addEventListener("visibilitychange", n, !0), addEventListener("pagehide", n, !0));
|
|
4693
4693
|
}, gd = (e, t = {}) => {
|
|
4694
4694
|
const n = on("CLS", 0);
|
|
4695
4695
|
let r, s = 0, i = [];
|
|
@@ -4711,7 +4711,7 @@ const sn = (e, t, n) => {
|
|
|
4711
4711
|
};
|
|
4712
4712
|
let On = -1;
|
|
4713
4713
|
const _d = () => {
|
|
4714
|
-
|
|
4714
|
+
k.document && k.document.visibilityState && (On = k.document.visibilityState === "hidden" && !k.document.prerendering ? 0 : 1 / 0);
|
|
4715
4715
|
}, yd = () => {
|
|
4716
4716
|
an(({ timeStamp: e }) => {
|
|
4717
4717
|
On = e;
|
|
@@ -4807,11 +4807,11 @@ const bd = () => $r ? Ko : performance.interactionCount || 0, Td = () => {
|
|
|
4807
4807
|
_i[n.id] || (s(i.takeRecords()), i.disconnect(), _i[n.id] = !0, r(!0));
|
|
4808
4808
|
};
|
|
4809
4809
|
return ["keydown", "click"].forEach((a) => {
|
|
4810
|
-
|
|
4810
|
+
k.document && addEventListener(a, o, { once: !0, capture: !0 });
|
|
4811
4811
|
}), an(o, !0), o;
|
|
4812
4812
|
}
|
|
4813
4813
|
}, Fr = (e) => {
|
|
4814
|
-
|
|
4814
|
+
k.document && (k.document.prerendering ? addEventListener("prerenderingchange", () => Fr(e), !0) : k.document.readyState !== "complete" ? addEventListener("load", () => Fr(e), !0) : setTimeout(e, 0));
|
|
4815
4815
|
}, kd = (e, t) => {
|
|
4816
4816
|
t = t || {};
|
|
4817
4817
|
const n = on("TTFB"), r = sn(e, n, t.reportAllChanges);
|
|
@@ -4934,17 +4934,17 @@ function wt(e, { startTimestamp: t, ...n }) {
|
|
|
4934
4934
|
});
|
|
4935
4935
|
}
|
|
4936
4936
|
const $d = 2147483647;
|
|
4937
|
-
function
|
|
4937
|
+
function Z(e) {
|
|
4938
4938
|
return e / 1e3;
|
|
4939
4939
|
}
|
|
4940
4940
|
function hs() {
|
|
4941
|
-
return
|
|
4941
|
+
return k && k.addEventListener && k.performance;
|
|
4942
4942
|
}
|
|
4943
4943
|
let yi = 0, Y = {}, be, zt;
|
|
4944
4944
|
function Fd() {
|
|
4945
4945
|
const e = hs();
|
|
4946
4946
|
if (e && fe) {
|
|
4947
|
-
e.mark &&
|
|
4947
|
+
e.mark && k.performance.mark("sentry-tracing-init");
|
|
4948
4948
|
const t = Wd(), n = jd(), r = zd(), s = qd();
|
|
4949
4949
|
return () => {
|
|
4950
4950
|
t(), n(), r(), s();
|
|
@@ -4959,7 +4959,7 @@ function Bd() {
|
|
|
4959
4959
|
const n = it();
|
|
4960
4960
|
if (!n)
|
|
4961
4961
|
return;
|
|
4962
|
-
const r =
|
|
4962
|
+
const r = Z(fe + t.startTime), s = Z(t.duration);
|
|
4963
4963
|
n.startChild({
|
|
4964
4964
|
description: "Main UI thread blocked",
|
|
4965
4965
|
op: "ui.long-task",
|
|
@@ -4977,7 +4977,7 @@ function Hd() {
|
|
|
4977
4977
|
if (!n)
|
|
4978
4978
|
return;
|
|
4979
4979
|
if (t.name === "click") {
|
|
4980
|
-
const r =
|
|
4980
|
+
const r = Z(fe + t.startTime), s = Z(t.duration), i = {
|
|
4981
4981
|
description: Ge(t.target),
|
|
4982
4982
|
op: `ui.interaction.${t.name}`,
|
|
4983
4983
|
origin: "auto.ui.browser.metrics",
|
|
@@ -5016,7 +5016,7 @@ function Wd() {
|
|
|
5016
5016
|
const t = e.entries[e.entries.length - 1];
|
|
5017
5017
|
if (!t)
|
|
5018
5018
|
return;
|
|
5019
|
-
const n =
|
|
5019
|
+
const n = Z(fe), r = Z(t.startTime);
|
|
5020
5020
|
W && m.log("[Measurements] Adding FID"), Y.fid = { value: e.value, unit: "millisecond" }, Y["mark.fid"] = { value: n + r, unit: "second" };
|
|
5021
5021
|
});
|
|
5022
5022
|
}
|
|
@@ -5058,11 +5058,11 @@ function Gd(e, t) {
|
|
|
5058
5058
|
if (n.value === void 0)
|
|
5059
5059
|
return;
|
|
5060
5060
|
const r = n.entries.find(
|
|
5061
|
-
(
|
|
5061
|
+
(w) => w.duration === n.value && Si[w.name] !== void 0
|
|
5062
5062
|
), s = $();
|
|
5063
5063
|
if (!r || !s)
|
|
5064
5064
|
return;
|
|
5065
|
-
const i = Si[r.name], o = s.getOptions(), a =
|
|
5065
|
+
const i = Si[r.name], o = s.getOptions(), a = Z(fe + r.startTime), c = Z(n.value), u = r.interactionId !== void 0 ? e[r.interactionId] : void 0;
|
|
5066
5066
|
if (u === void 0)
|
|
5067
5067
|
return;
|
|
5068
5068
|
const { routeName: l, parentContext: d, activeTransaction: f, user: p, replayId: h } = u, g = p !== void 0 ? p.email || p.id || p.ip_address : void 0, y = f !== void 0 ? f.getProfileId() : void 0, _ = new Jn({
|
|
@@ -5084,9 +5084,9 @@ function Gd(e, t) {
|
|
|
5084
5084
|
}
|
|
5085
5085
|
}), S = tf(d, o, t);
|
|
5086
5086
|
if (S && Math.random() < S) {
|
|
5087
|
-
const
|
|
5088
|
-
|
|
5089
|
-
W && m.error("Error while sending interaction:",
|
|
5087
|
+
const w = _ ? Yl([_], s.getDsn()) : void 0, R = s && s.getTransport();
|
|
5088
|
+
R && w && R.send(w).then(null, (I) => {
|
|
5089
|
+
W && m.error("Error while sending interaction:", I);
|
|
5090
5090
|
});
|
|
5091
5091
|
return;
|
|
5092
5092
|
}
|
|
@@ -5094,12 +5094,12 @@ function Gd(e, t) {
|
|
|
5094
5094
|
}
|
|
5095
5095
|
function Yd(e) {
|
|
5096
5096
|
const t = hs();
|
|
5097
|
-
if (!t || !
|
|
5097
|
+
if (!t || !k.performance.getEntries || !fe)
|
|
5098
5098
|
return;
|
|
5099
5099
|
W && m.log("[Tracing] Adding & adjusting spans using Performance API");
|
|
5100
|
-
const n =
|
|
5100
|
+
const n = Z(fe), r = t.getEntries(), { op: s, start_timestamp: i } = K(e);
|
|
5101
5101
|
if (r.slice(yi).forEach((o) => {
|
|
5102
|
-
const a =
|
|
5102
|
+
const a = Z(o.startTime), c = Z(o.duration);
|
|
5103
5103
|
if (!(e.op === "navigation" && i && n + a < i))
|
|
5104
5104
|
switch (o.entryType) {
|
|
5105
5105
|
case "navigation": {
|
|
@@ -5123,13 +5123,13 @@ function Yd(e) {
|
|
|
5123
5123
|
ef(Y), ["fcp", "fp", "lcp"].forEach((a) => {
|
|
5124
5124
|
if (!Y[a] || !i || n >= i)
|
|
5125
5125
|
return;
|
|
5126
|
-
const c = Y[a].value, u = n +
|
|
5126
|
+
const c = Y[a].value, u = n + Z(c), l = Math.abs((u - i) * 1e3), d = l - c;
|
|
5127
5127
|
W && m.log(`[Measurements] Normalized ${a} from ${c} to ${l} (${d})`), Y[a].value = l;
|
|
5128
5128
|
});
|
|
5129
5129
|
const o = Y["mark.fid"];
|
|
5130
5130
|
o && Y.fid && (wt(e, {
|
|
5131
5131
|
description: "first input delay",
|
|
5132
|
-
endTimestamp: o.value +
|
|
5132
|
+
endTimestamp: o.value + Z(Y.fid.value),
|
|
5133
5133
|
op: "ui.action",
|
|
5134
5134
|
origin: "auto.ui.browser.metrics",
|
|
5135
5135
|
startTimestamp: o.value
|
|
@@ -5160,8 +5160,8 @@ function En(e, t, n, r, s, i) {
|
|
|
5160
5160
|
op: "browser",
|
|
5161
5161
|
origin: "auto.browser.browser.metrics",
|
|
5162
5162
|
description: s || n,
|
|
5163
|
-
startTimestamp: r +
|
|
5164
|
-
endTimestamp: r +
|
|
5163
|
+
startTimestamp: r + Z(a),
|
|
5164
|
+
endTimestamp: r + Z(o)
|
|
5165
5165
|
});
|
|
5166
5166
|
}
|
|
5167
5167
|
function Xd(e, t, n) {
|
|
@@ -5169,24 +5169,24 @@ function Xd(e, t, n) {
|
|
|
5169
5169
|
op: "browser",
|
|
5170
5170
|
origin: "auto.browser.browser.metrics",
|
|
5171
5171
|
description: "request",
|
|
5172
|
-
startTimestamp: n +
|
|
5173
|
-
endTimestamp: n +
|
|
5172
|
+
startTimestamp: n + Z(t.requestStart),
|
|
5173
|
+
endTimestamp: n + Z(t.responseEnd)
|
|
5174
5174
|
}), wt(e, {
|
|
5175
5175
|
op: "browser",
|
|
5176
5176
|
origin: "auto.browser.browser.metrics",
|
|
5177
5177
|
description: "response",
|
|
5178
|
-
startTimestamp: n +
|
|
5179
|
-
endTimestamp: n +
|
|
5178
|
+
startTimestamp: n + Z(t.responseStart),
|
|
5179
|
+
endTimestamp: n + Z(t.responseEnd)
|
|
5180
5180
|
}));
|
|
5181
5181
|
}
|
|
5182
5182
|
function Jd(e, t, n, r, s, i) {
|
|
5183
5183
|
if (t.initiatorType === "xmlhttprequest" || t.initiatorType === "fetch")
|
|
5184
5184
|
return;
|
|
5185
5185
|
const o = et(n), a = {};
|
|
5186
|
-
_r(a, t, "transferSize", "http.response_transfer_size"), _r(a, t, "encodedBodySize", "http.response_content_length"), _r(a, t, "decodedBodySize", "http.decoded_response_content_length"), "renderBlockingStatus" in t && (a["resource.render_blocking_status"] = t.renderBlockingStatus), o.protocol && (a["url.scheme"] = o.protocol.split(":").pop()), o.host && (a["server.address"] = o.host), a["url.same_origin"] = n.includes(
|
|
5186
|
+
_r(a, t, "transferSize", "http.response_transfer_size"), _r(a, t, "encodedBodySize", "http.response_content_length"), _r(a, t, "decodedBodySize", "http.decoded_response_content_length"), "renderBlockingStatus" in t && (a["resource.render_blocking_status"] = t.renderBlockingStatus), o.protocol && (a["url.scheme"] = o.protocol.split(":").pop()), o.host && (a["server.address"] = o.host), a["url.same_origin"] = n.includes(k.location.origin);
|
|
5187
5187
|
const c = i + r, u = c + s;
|
|
5188
5188
|
wt(e, {
|
|
5189
|
-
description: n.replace(
|
|
5189
|
+
description: n.replace(k.location.origin, ""),
|
|
5190
5190
|
endTimestamp: u,
|
|
5191
5191
|
op: t.initiatorType ? `resource.${t.initiatorType}` : "resource.other",
|
|
5192
5192
|
origin: "auto.resource.browser.metrics",
|
|
@@ -5195,7 +5195,7 @@ function Jd(e, t, n, r, s, i) {
|
|
|
5195
5195
|
});
|
|
5196
5196
|
}
|
|
5197
5197
|
function Qd(e) {
|
|
5198
|
-
const t =
|
|
5198
|
+
const t = k.navigator;
|
|
5199
5199
|
if (!t)
|
|
5200
5200
|
return;
|
|
5201
5201
|
const n = t.connection;
|
|
@@ -5237,7 +5237,7 @@ function tf(e, t, n) {
|
|
|
5237
5237
|
...e.data,
|
|
5238
5238
|
...e.attributes
|
|
5239
5239
|
},
|
|
5240
|
-
location:
|
|
5240
|
+
location: k.location
|
|
5241
5241
|
}) : e !== void 0 && e.sampled !== void 0 ? r = e.sampled : typeof t.tracesSampleRate < "u" ? r = t.tracesSampleRate : r = 1, Bo(r) ? r === !0 ? n : r === !1 ? 0 : r * n : (W && m.warn("[Tracing] Discarding interaction span because of invalid sample rate."), !1);
|
|
5242
5242
|
}
|
|
5243
5243
|
function nf(e, t, n, r, s = "auto.http.browser") {
|
|
@@ -5448,7 +5448,7 @@ function pf(e, t, n) {
|
|
|
5448
5448
|
}
|
|
5449
5449
|
function ia(e) {
|
|
5450
5450
|
try {
|
|
5451
|
-
return new URL(e,
|
|
5451
|
+
return new URL(e, k.location.origin).href;
|
|
5452
5452
|
} catch {
|
|
5453
5453
|
return;
|
|
5454
5454
|
}
|
|
@@ -5480,16 +5480,16 @@ const hf = "BrowserTracing", mf = {
|
|
|
5480
5480
|
const c = ae(), { beforeStartSpan: u, idleTimeout: l, finalTimeout: d, heartbeatInterval: f } = n, p = a.op === "pageload";
|
|
5481
5481
|
let h;
|
|
5482
5482
|
if (p) {
|
|
5483
|
-
const S = p ? Ti("sentry-trace") : "",
|
|
5483
|
+
const S = p ? Ti("sentry-trace") : "", w = p ? Ti("baggage") : void 0, { traceId: R, dsc: I, parentSpanId: T, sampled: M } = Ru(S, w);
|
|
5484
5484
|
h = {
|
|
5485
|
-
traceId:
|
|
5486
|
-
parentSpanId:
|
|
5487
|
-
parentSampled:
|
|
5485
|
+
traceId: R,
|
|
5486
|
+
parentSpanId: T,
|
|
5487
|
+
parentSampled: M,
|
|
5488
5488
|
...a,
|
|
5489
5489
|
metadata: {
|
|
5490
5490
|
// eslint-disable-next-line deprecation/deprecation
|
|
5491
5491
|
...a.metadata,
|
|
5492
|
-
dynamicSamplingContext:
|
|
5492
|
+
dynamicSamplingContext: I
|
|
5493
5493
|
},
|
|
5494
5494
|
trimEnd: !0
|
|
5495
5495
|
};
|
|
@@ -5506,7 +5506,7 @@ const hf = "BrowserTracing", mf = {
|
|
|
5506
5506
|
// eslint-disable-next-line deprecation/deprecation
|
|
5507
5507
|
g.metadata
|
|
5508
5508
|
), i.name = g.name, i.context = g, g.sampled === !1 && W && m.log(`[Tracing] Will not send ${g.op} transaction because of beforeNavigate.`), W && m.log(`[Tracing] Starting ${g.op} transaction on scope`);
|
|
5509
|
-
const { location: y } =
|
|
5509
|
+
const { location: y } = k, _ = Ho(
|
|
5510
5510
|
c,
|
|
5511
5511
|
g,
|
|
5512
5512
|
l,
|
|
@@ -5518,9 +5518,9 @@ const hf = "BrowserTracing", mf = {
|
|
|
5518
5518
|
p
|
|
5519
5519
|
// should wait for finish signal if it's a pageload transaction
|
|
5520
5520
|
);
|
|
5521
|
-
return p &&
|
|
5522
|
-
["interactive", "complete"].includes(
|
|
5523
|
-
}), ["interactive", "complete"].includes(
|
|
5521
|
+
return p && k.document && (k.document.addEventListener("readystatechange", () => {
|
|
5522
|
+
["interactive", "complete"].includes(k.document.readyState) && _.sendAutoFinishSignal();
|
|
5523
|
+
}), ["interactive", "complete"].includes(k.document.readyState) && _.sendAutoFinishSignal()), _.registerBeforeFinishCallback((S) => {
|
|
5524
5524
|
r(), Yd(S);
|
|
5525
5525
|
}), _;
|
|
5526
5526
|
}
|
|
@@ -5534,20 +5534,20 @@ const hf = "BrowserTracing", mf = {
|
|
|
5534
5534
|
W && t && g && m.warn(
|
|
5535
5535
|
"[Tracing] The `tracePropagationTargets` option was set in the BrowserTracing integration and top level `Sentry.init`. The top level `Sentry.init` value is being used."
|
|
5536
5536
|
);
|
|
5537
|
-
let _, S =
|
|
5538
|
-
if (a.on && (a.on("startNavigationSpan", (
|
|
5537
|
+
let _, S = k.location && k.location.href;
|
|
5538
|
+
if (a.on && (a.on("startNavigationSpan", (w) => {
|
|
5539
5539
|
_ && (W && m.log(`[Tracing] Finishing current transaction with op: ${K(_).op}`), _.end()), _ = o({
|
|
5540
5540
|
op: "navigation",
|
|
5541
|
-
...
|
|
5541
|
+
...w
|
|
5542
5542
|
});
|
|
5543
|
-
}), a.on("startPageLoadSpan", (
|
|
5543
|
+
}), a.on("startPageLoadSpan", (w) => {
|
|
5544
5544
|
_ && (W && m.log(`[Tracing] Finishing current transaction with op: ${K(_).op}`), _.end()), _ = o({
|
|
5545
5545
|
op: "pageload",
|
|
5546
|
-
...
|
|
5546
|
+
...w
|
|
5547
5547
|
});
|
|
5548
|
-
})), n.instrumentPageLoad && a.emit &&
|
|
5549
|
-
const
|
|
5550
|
-
name:
|
|
5548
|
+
})), n.instrumentPageLoad && a.emit && k.location) {
|
|
5549
|
+
const w = {
|
|
5550
|
+
name: k.location.pathname,
|
|
5551
5551
|
// pageload should always start at timeOrigin (and needs to be in s, not ms)
|
|
5552
5552
|
startTimestamp: fe ? fe / 1e3 : void 0,
|
|
5553
5553
|
origin: "auto.pageload.browser",
|
|
@@ -5555,23 +5555,23 @@ const hf = "BrowserTracing", mf = {
|
|
|
5555
5555
|
[he]: "url"
|
|
5556
5556
|
}
|
|
5557
5557
|
};
|
|
5558
|
-
gf(a,
|
|
5558
|
+
gf(a, w);
|
|
5559
5559
|
}
|
|
5560
|
-
n.instrumentNavigation && a.emit &&
|
|
5561
|
-
if (
|
|
5560
|
+
n.instrumentNavigation && a.emit && k.location && Gn(({ to: w, from: R }) => {
|
|
5561
|
+
if (R === void 0 && S && S.indexOf(w) !== -1) {
|
|
5562
5562
|
S = void 0;
|
|
5563
5563
|
return;
|
|
5564
5564
|
}
|
|
5565
|
-
if (
|
|
5565
|
+
if (R !== w) {
|
|
5566
5566
|
S = void 0;
|
|
5567
|
-
const
|
|
5568
|
-
name:
|
|
5567
|
+
const I = {
|
|
5568
|
+
name: k.location.pathname,
|
|
5569
5569
|
origin: "auto.navigation.browser",
|
|
5570
5570
|
attributes: {
|
|
5571
5571
|
[he]: "url"
|
|
5572
5572
|
}
|
|
5573
5573
|
};
|
|
5574
|
-
oa(a,
|
|
5574
|
+
oa(a, I);
|
|
5575
5575
|
}
|
|
5576
5576
|
}), u && pd(), h.enableInteractions && _f(n, i), n.enableInp && Sf(s, i), af({
|
|
5577
5577
|
traceFetch: l,
|
|
@@ -5618,7 +5618,7 @@ function _f(e, t) {
|
|
|
5618
5618
|
W && m.warn(`[Tracing] Did not create ${a} transaction because _latestRouteName is missing.`);
|
|
5619
5619
|
return;
|
|
5620
5620
|
}
|
|
5621
|
-
const { location: u } =
|
|
5621
|
+
const { location: u } = k, l = {
|
|
5622
5622
|
name: t.name,
|
|
5623
5623
|
op: a,
|
|
5624
5624
|
trimEnd: !0,
|
|
@@ -5639,7 +5639,7 @@ function _f(e, t) {
|
|
|
5639
5639
|
);
|
|
5640
5640
|
};
|
|
5641
5641
|
["click"].forEach((s) => {
|
|
5642
|
-
|
|
5642
|
+
k.document && addEventListener(s, r, { once: !1, capture: !0 });
|
|
5643
5643
|
});
|
|
5644
5644
|
}
|
|
5645
5645
|
function yf(e) {
|
|
@@ -5680,7 +5680,7 @@ function Ef(e) {
|
|
|
5680
5680
|
const t = e.attributes && e.attributes[he], n = e.data && e.data[he], r = e.metadata && e.metadata.source;
|
|
5681
5681
|
return t || n || r;
|
|
5682
5682
|
}
|
|
5683
|
-
const B =
|
|
5683
|
+
const B = O;
|
|
5684
5684
|
let Ur = 0;
|
|
5685
5685
|
function aa() {
|
|
5686
5686
|
return Ur > 0;
|
|
@@ -6503,7 +6503,7 @@ const Tp = [
|
|
|
6503
6503
|
// TODO: This currently only works for the first client this is setup
|
|
6504
6504
|
// We may want to adjust this to check for client etc.
|
|
6505
6505
|
setupOnce() {
|
|
6506
|
-
t.setTimeout &&
|
|
6506
|
+
t.setTimeout && ee(B, "setTimeout", Ri), t.setInterval && ee(B, "setInterval", Ri), t.requestAnimationFrame && ee(B, "requestAnimationFrame", Ip), t.XMLHttpRequest && "XMLHttpRequest" in B && ee(XMLHttpRequest.prototype, "send", wp);
|
|
6507
6507
|
const n = t.eventTarget;
|
|
6508
6508
|
n && (Array.isArray(n) ? n : Tp).forEach(kp);
|
|
6509
6509
|
}
|
|
@@ -6545,7 +6545,7 @@ function wp(e) {
|
|
|
6545
6545
|
return function(...t) {
|
|
6546
6546
|
const n = this;
|
|
6547
6547
|
return ["onload", "onerror", "onprogress", "onreadystatechange"].forEach((s) => {
|
|
6548
|
-
s in n && typeof n[s] == "function" &&
|
|
6548
|
+
s in n && typeof n[s] == "function" && ee(n, s, function(i) {
|
|
6549
6549
|
const o = {
|
|
6550
6550
|
mechanism: {
|
|
6551
6551
|
data: {
|
|
@@ -6563,7 +6563,7 @@ function wp(e) {
|
|
|
6563
6563
|
}
|
|
6564
6564
|
function kp(e) {
|
|
6565
6565
|
const t = B, n = t[e] && t[e].prototype;
|
|
6566
|
-
!n || !n.hasOwnProperty || !n.hasOwnProperty("addEventListener") || (
|
|
6566
|
+
!n || !n.hasOwnProperty || !n.hasOwnProperty("addEventListener") || (ee(n, "addEventListener", function(r) {
|
|
6567
6567
|
return function(s, i, o) {
|
|
6568
6568
|
try {
|
|
6569
6569
|
typeof i.handleEvent == "function" && (i.handleEvent = kt(i.handleEvent, {
|
|
@@ -6596,7 +6596,7 @@ function kp(e) {
|
|
|
6596
6596
|
o
|
|
6597
6597
|
]);
|
|
6598
6598
|
};
|
|
6599
|
-
}),
|
|
6599
|
+
}), ee(
|
|
6600
6600
|
n,
|
|
6601
6601
|
"removeEventListener",
|
|
6602
6602
|
function(r) {
|
|
@@ -6647,7 +6647,7 @@ function xp() {
|
|
|
6647
6647
|
e !== void 0 && e !== t && (ti({ ignoreDuration: !0 }), ni());
|
|
6648
6648
|
});
|
|
6649
6649
|
}
|
|
6650
|
-
const j =
|
|
6650
|
+
const j = O, ys = "sentryReplaySession", Mp = "replay_event", Ss = "Unable to send Replay", Ap = 3e5, Op = 9e5, Np = 5e3, Dp = 5500, Lp = 6e4, Pp = 5e3, $p = 3, Ci = 15e4, Tn = 5e3, Fp = 3e3, Bp = 300, Es = 2e7, Hp = 4999, Up = 15e3, xi = 36e5;
|
|
6651
6651
|
function jp(e, t) {
|
|
6652
6652
|
return e ?? t();
|
|
6653
6653
|
}
|
|
@@ -6661,10 +6661,10 @@ function Dn(e) {
|
|
|
6661
6661
|
}
|
|
6662
6662
|
return n;
|
|
6663
6663
|
}
|
|
6664
|
-
var
|
|
6664
|
+
var Q;
|
|
6665
6665
|
(function(e) {
|
|
6666
6666
|
e[e.Document = 0] = "Document", e[e.DocumentType = 1] = "DocumentType", e[e.Element = 2] = "Element", e[e.Text = 3] = "Text", e[e.CDATA = 4] = "CDATA", e[e.Comment = 5] = "Comment";
|
|
6667
|
-
})(
|
|
6667
|
+
})(Q || (Q = {}));
|
|
6668
6668
|
function zp(e) {
|
|
6669
6669
|
return e.nodeType === e.ELEMENT_NODE;
|
|
6670
6670
|
}
|
|
@@ -7009,24 +7009,24 @@ function fh(e, t, n) {
|
|
|
7009
7009
|
});
|
|
7010
7010
|
}
|
|
7011
7011
|
function ph(e, t) {
|
|
7012
|
-
const { doc: n, mirror: r, blockClass: s, blockSelector: i, unblockSelector: o, maskAllText: a, maskAttributeFn: c, maskTextClass: u, unmaskTextClass: l, maskTextSelector: d, unmaskTextSelector: f, inlineStylesheet: p, maskInputOptions: h = {}, maskTextFn: g, maskInputFn: y, dataURLOptions: _ = {}, inlineImages: S, recordCanvas:
|
|
7012
|
+
const { doc: n, mirror: r, blockClass: s, blockSelector: i, unblockSelector: o, maskAllText: a, maskAttributeFn: c, maskTextClass: u, unmaskTextClass: l, maskTextSelector: d, unmaskTextSelector: f, inlineStylesheet: p, maskInputOptions: h = {}, maskTextFn: g, maskInputFn: y, dataURLOptions: _ = {}, inlineImages: S, recordCanvas: w, keepIframeSrcFn: R, newlyAddedElement: I = !1 } = t, T = hh(n, r);
|
|
7013
7013
|
switch (e.nodeType) {
|
|
7014
7014
|
case e.DOCUMENT_NODE:
|
|
7015
7015
|
return e.compatMode !== "CSS1Compat" ? {
|
|
7016
|
-
type:
|
|
7016
|
+
type: Q.Document,
|
|
7017
7017
|
childNodes: [],
|
|
7018
7018
|
compatMode: e.compatMode
|
|
7019
7019
|
} : {
|
|
7020
|
-
type:
|
|
7020
|
+
type: Q.Document,
|
|
7021
7021
|
childNodes: []
|
|
7022
7022
|
};
|
|
7023
7023
|
case e.DOCUMENT_TYPE_NODE:
|
|
7024
7024
|
return {
|
|
7025
|
-
type:
|
|
7025
|
+
type: Q.DocumentType,
|
|
7026
7026
|
name: e.name,
|
|
7027
7027
|
publicId: e.publicId,
|
|
7028
7028
|
systemId: e.systemId,
|
|
7029
|
-
rootId:
|
|
7029
|
+
rootId: T
|
|
7030
7030
|
};
|
|
7031
7031
|
case e.ELEMENT_NODE:
|
|
7032
7032
|
return gh(e, {
|
|
@@ -7040,11 +7040,10 @@ function ph(e, t) {
|
|
|
7040
7040
|
maskInputFn: y,
|
|
7041
7041
|
dataURLOptions: _,
|
|
7042
7042
|
inlineImages: S,
|
|
7043
|
-
recordCanvas:
|
|
7044
|
-
keepIframeSrcFn:
|
|
7045
|
-
newlyAddedElement:
|
|
7046
|
-
rootId:
|
|
7047
|
-
maskAllText: a,
|
|
7043
|
+
recordCanvas: w,
|
|
7044
|
+
keepIframeSrcFn: R,
|
|
7045
|
+
newlyAddedElement: I,
|
|
7046
|
+
rootId: T,
|
|
7048
7047
|
maskTextClass: u,
|
|
7049
7048
|
unmaskTextClass: l,
|
|
7050
7049
|
maskTextSelector: d,
|
|
@@ -7060,19 +7059,19 @@ function ph(e, t) {
|
|
|
7060
7059
|
maskTextFn: g,
|
|
7061
7060
|
maskInputOptions: h,
|
|
7062
7061
|
maskInputFn: y,
|
|
7063
|
-
rootId:
|
|
7062
|
+
rootId: T
|
|
7064
7063
|
});
|
|
7065
7064
|
case e.CDATA_SECTION_NODE:
|
|
7066
7065
|
return {
|
|
7067
|
-
type:
|
|
7066
|
+
type: Q.CDATA,
|
|
7068
7067
|
textContent: "",
|
|
7069
|
-
rootId:
|
|
7068
|
+
rootId: T
|
|
7070
7069
|
};
|
|
7071
7070
|
case e.COMMENT_NODE:
|
|
7072
7071
|
return {
|
|
7073
|
-
type:
|
|
7072
|
+
type: Q.Comment,
|
|
7074
7073
|
textContent: e.textContent || "",
|
|
7075
|
-
rootId:
|
|
7074
|
+
rootId: T
|
|
7076
7075
|
};
|
|
7077
7076
|
default:
|
|
7078
7077
|
return !1;
|
|
@@ -7112,103 +7111,103 @@ function mh(e, t) {
|
|
|
7112
7111
|
});
|
|
7113
7112
|
}
|
|
7114
7113
|
return {
|
|
7115
|
-
type:
|
|
7114
|
+
type: Q.Text,
|
|
7116
7115
|
textContent: f || "",
|
|
7117
7116
|
isStyle: p,
|
|
7118
7117
|
rootId: l
|
|
7119
7118
|
};
|
|
7120
7119
|
}
|
|
7121
7120
|
function gh(e, t) {
|
|
7122
|
-
const { doc: n, blockClass: r, blockSelector: s, unblockSelector: i, inlineStylesheet: o, maskInputOptions: a = {}, maskAttributeFn: c, maskInputFn: u, dataURLOptions: l = {}, inlineImages: d, recordCanvas: f, keepIframeSrcFn: p, newlyAddedElement: h = !1, rootId: g,
|
|
7123
|
-
let
|
|
7121
|
+
const { doc: n, blockClass: r, blockSelector: s, unblockSelector: i, inlineStylesheet: o, maskInputOptions: a = {}, maskAttributeFn: c, maskInputFn: u, dataURLOptions: l = {}, inlineImages: d, recordCanvas: f, keepIframeSrcFn: p, newlyAddedElement: h = !1, rootId: g, maskTextClass: y, unmaskTextClass: _, maskTextSelector: S, unmaskTextSelector: w } = t, R = uh(e, r, s, i), I = Zp(e);
|
|
7122
|
+
let T = {};
|
|
7124
7123
|
const M = e.attributes.length;
|
|
7125
7124
|
for (let b = 0; b < M; b++) {
|
|
7126
|
-
const
|
|
7127
|
-
|
|
7125
|
+
const v = e.attributes[b];
|
|
7126
|
+
v.name && !Ma(I, v.name, v.value) && (T[v.name] = xa(n, I, Rt(v.name), v.value, e, c));
|
|
7128
7127
|
}
|
|
7129
7128
|
if (I === "link" && o) {
|
|
7130
7129
|
const b = Array.from(n.styleSheets).find((z) => z.href === e.href);
|
|
7131
|
-
let
|
|
7132
|
-
b && (
|
|
7130
|
+
let v = null;
|
|
7131
|
+
b && (v = Ln(b)), v && (delete T.rel, delete T.href, T._cssText = $n(v, b.href));
|
|
7133
7132
|
}
|
|
7134
7133
|
if (I === "style" && e.sheet && !(e.innerText || e.textContent || "").trim().length) {
|
|
7135
7134
|
const b = Ln(e.sheet);
|
|
7136
|
-
b && (
|
|
7135
|
+
b && (T._cssText = $n(b, vs()));
|
|
7137
7136
|
}
|
|
7138
7137
|
if (I === "input" || I === "textarea" || I === "select" || I === "option") {
|
|
7139
|
-
const b = e,
|
|
7140
|
-
if (
|
|
7141
|
-
const
|
|
7142
|
-
type:
|
|
7138
|
+
const b = e, v = bs(b), z = Pn(b, zr(I), v), J = b.checked;
|
|
7139
|
+
if (v !== "submit" && v !== "button" && z) {
|
|
7140
|
+
const te = Ct(b, y, S, _, w, er({
|
|
7141
|
+
type: v,
|
|
7143
7142
|
tagName: zr(I),
|
|
7144
7143
|
maskInputOptions: a
|
|
7145
7144
|
}));
|
|
7146
|
-
|
|
7147
|
-
isMasked:
|
|
7145
|
+
T.value = Jt({
|
|
7146
|
+
isMasked: te,
|
|
7148
7147
|
element: b,
|
|
7149
7148
|
value: z,
|
|
7150
7149
|
maskInputFn: u
|
|
7151
7150
|
});
|
|
7152
7151
|
}
|
|
7153
|
-
|
|
7152
|
+
J && (T.checked = J);
|
|
7154
7153
|
}
|
|
7155
|
-
if (I === "option" && (e.selected && !a.select ?
|
|
7154
|
+
if (I === "option" && (e.selected && !a.select ? T.selected = !0 : delete T.selected), I === "canvas" && f) {
|
|
7156
7155
|
if (e.__context === "2d")
|
|
7157
|
-
Xp(e) || (
|
|
7156
|
+
Xp(e) || (T.rr_dataURL = e.toDataURL(l.type, l.quality));
|
|
7158
7157
|
else if (!("__context" in e)) {
|
|
7159
|
-
const b = e.toDataURL(l.type, l.quality),
|
|
7160
|
-
|
|
7161
|
-
const z =
|
|
7162
|
-
b !== z && (
|
|
7158
|
+
const b = e.toDataURL(l.type, l.quality), v = document.createElement("canvas");
|
|
7159
|
+
v.width = e.width, v.height = e.height;
|
|
7160
|
+
const z = v.toDataURL(l.type, l.quality);
|
|
7161
|
+
b !== z && (T.rr_dataURL = b);
|
|
7163
7162
|
}
|
|
7164
7163
|
}
|
|
7165
7164
|
if (I === "img" && d) {
|
|
7166
7165
|
lt || (lt = n.createElement("canvas"), Ai = lt.getContext("2d"));
|
|
7167
|
-
const b = e,
|
|
7166
|
+
const b = e, v = b.crossOrigin;
|
|
7168
7167
|
b.crossOrigin = "anonymous";
|
|
7169
7168
|
const z = () => {
|
|
7170
7169
|
b.removeEventListener("load", z);
|
|
7171
7170
|
try {
|
|
7172
|
-
lt.width = b.naturalWidth, lt.height = b.naturalHeight, Ai.drawImage(b, 0, 0),
|
|
7173
|
-
} catch (
|
|
7174
|
-
console.warn(`Cannot inline img src=${b.currentSrc}! Error: ${
|
|
7171
|
+
lt.width = b.naturalWidth, lt.height = b.naturalHeight, Ai.drawImage(b, 0, 0), T.rr_dataURL = lt.toDataURL(l.type, l.quality);
|
|
7172
|
+
} catch (J) {
|
|
7173
|
+
console.warn(`Cannot inline img src=${b.currentSrc}! Error: ${J}`);
|
|
7175
7174
|
}
|
|
7176
|
-
|
|
7175
|
+
v ? T.crossOrigin = v : b.removeAttribute("crossorigin");
|
|
7177
7176
|
};
|
|
7178
7177
|
b.complete && b.naturalWidth !== 0 ? z() : b.addEventListener("load", z);
|
|
7179
7178
|
}
|
|
7180
|
-
if ((I === "audio" || I === "video") && (
|
|
7181
|
-
const { width: b, height:
|
|
7182
|
-
|
|
7183
|
-
class:
|
|
7179
|
+
if ((I === "audio" || I === "video") && (T.rr_mediaState = e.paused ? "paused" : "played", T.rr_mediaCurrentTime = e.currentTime), h || (e.scrollLeft && (T.rr_scrollLeft = e.scrollLeft), e.scrollTop && (T.rr_scrollTop = e.scrollTop)), R) {
|
|
7180
|
+
const { width: b, height: v } = e.getBoundingClientRect();
|
|
7181
|
+
T = {
|
|
7182
|
+
class: T.class,
|
|
7184
7183
|
rr_width: `${b}px`,
|
|
7185
|
-
rr_height: `${
|
|
7184
|
+
rr_height: `${v}px`
|
|
7186
7185
|
};
|
|
7187
7186
|
}
|
|
7188
|
-
I === "iframe" && !p(
|
|
7189
|
-
let
|
|
7187
|
+
I === "iframe" && !p(T.src) && (e.contentDocument || (T.rr_src = T.src), delete T.src);
|
|
7188
|
+
let A;
|
|
7190
7189
|
try {
|
|
7191
|
-
customElements.get(I) && (
|
|
7190
|
+
customElements.get(I) && (A = !0);
|
|
7192
7191
|
} catch {
|
|
7193
7192
|
}
|
|
7194
7193
|
return {
|
|
7195
|
-
type:
|
|
7194
|
+
type: Q.Element,
|
|
7196
7195
|
tagName: I,
|
|
7197
|
-
attributes:
|
|
7196
|
+
attributes: T,
|
|
7198
7197
|
childNodes: [],
|
|
7199
7198
|
isSVG: ch(e) || void 0,
|
|
7200
|
-
needBlock:
|
|
7199
|
+
needBlock: R,
|
|
7201
7200
|
rootId: g,
|
|
7202
|
-
isCustom:
|
|
7201
|
+
isCustom: A
|
|
7203
7202
|
};
|
|
7204
7203
|
}
|
|
7205
7204
|
function U(e) {
|
|
7206
7205
|
return e == null ? "" : e.toLowerCase();
|
|
7207
7206
|
}
|
|
7208
7207
|
function _h(e, t) {
|
|
7209
|
-
if (t.comment && e.type ===
|
|
7208
|
+
if (t.comment && e.type === Q.Comment)
|
|
7210
7209
|
return !0;
|
|
7211
|
-
if (e.type ===
|
|
7210
|
+
if (e.type === Q.Element) {
|
|
7212
7211
|
if (t.script && (e.tagName === "script" || e.tagName === "link" && (e.attributes.rel === "preload" || e.attributes.rel === "modulepreload") && e.attributes.as === "script" || e.tagName === "link" && e.attributes.rel === "prefetch" && typeof e.attributes.href == "string" && e.attributes.href.endsWith(".js")))
|
|
7213
7212
|
return !0;
|
|
7214
7213
|
if (t.headFavicon && (e.tagName === "link" && e.attributes.rel === "shortcut icon" || e.tagName === "meta" && (U(e.attributes.name).match(/^msapplication-tile(image|color)$/) || U(e.attributes.name) === "application-name" || U(e.attributes.rel) === "icon" || U(e.attributes.rel) === "apple-touch-icon" || U(e.attributes.rel) === "shortcut icon")))
|
|
@@ -7231,9 +7230,9 @@ function _h(e, t) {
|
|
|
7231
7230
|
return !1;
|
|
7232
7231
|
}
|
|
7233
7232
|
function gt(e, t) {
|
|
7234
|
-
const { doc: n, mirror: r, blockClass: s, blockSelector: i, unblockSelector: o, maskAllText: a, maskTextClass: c, unmaskTextClass: u, maskTextSelector: l, unmaskTextSelector: d, skipChild: f = !1, inlineStylesheet: p = !0, maskInputOptions: h = {}, maskAttributeFn: g, maskTextFn: y, maskInputFn: _, slimDOMOptions: S, dataURLOptions:
|
|
7235
|
-
let { preserveWhiteSpace:
|
|
7236
|
-
const
|
|
7233
|
+
const { doc: n, mirror: r, blockClass: s, blockSelector: i, unblockSelector: o, maskAllText: a, maskTextClass: c, unmaskTextClass: u, maskTextSelector: l, unmaskTextSelector: d, skipChild: f = !1, inlineStylesheet: p = !0, maskInputOptions: h = {}, maskAttributeFn: g, maskTextFn: y, maskInputFn: _, slimDOMOptions: S, dataURLOptions: w = {}, inlineImages: R = !1, recordCanvas: I = !1, onSerialize: T, onIframeLoad: M, iframeLoadTimeout: A = 5e3, onStylesheetLoad: b, stylesheetLoadTimeout: v = 5e3, keepIframeSrcFn: z = () => !1, newlyAddedElement: J = !1 } = t;
|
|
7234
|
+
let { preserveWhiteSpace: te = !0 } = t;
|
|
7235
|
+
const ne = ph(e, {
|
|
7237
7236
|
doc: n,
|
|
7238
7237
|
mirror: r,
|
|
7239
7238
|
blockClass: s,
|
|
@@ -7249,29 +7248,29 @@ function gt(e, t) {
|
|
|
7249
7248
|
maskAttributeFn: g,
|
|
7250
7249
|
maskTextFn: y,
|
|
7251
7250
|
maskInputFn: _,
|
|
7252
|
-
dataURLOptions:
|
|
7253
|
-
inlineImages:
|
|
7254
|
-
recordCanvas:
|
|
7255
|
-
keepIframeSrcFn:
|
|
7256
|
-
newlyAddedElement:
|
|
7251
|
+
dataURLOptions: w,
|
|
7252
|
+
inlineImages: R,
|
|
7253
|
+
recordCanvas: I,
|
|
7254
|
+
keepIframeSrcFn: z,
|
|
7255
|
+
newlyAddedElement: J
|
|
7257
7256
|
});
|
|
7258
|
-
if (!
|
|
7257
|
+
if (!ne)
|
|
7259
7258
|
return console.warn(e, "not serialized"), null;
|
|
7260
7259
|
let le;
|
|
7261
|
-
r.hasNode(e) ? le = r.getId(e) : _h(
|
|
7262
|
-
const F = Object.assign(
|
|
7260
|
+
r.hasNode(e) ? le = r.getId(e) : _h(ne, S) || !te && ne.type === Q.Text && !ne.isStyle && !ne.textContent.replace(/^\s+|\s+$/gm, "").length ? le = Qt : le = Ts();
|
|
7261
|
+
const F = Object.assign(ne, { id: le });
|
|
7263
7262
|
if (r.add(e, F), le === Qt)
|
|
7264
7263
|
return null;
|
|
7265
|
-
|
|
7264
|
+
T && T(e);
|
|
7266
7265
|
let pe = !f;
|
|
7267
|
-
if (F.type ===
|
|
7266
|
+
if (F.type === Q.Element) {
|
|
7268
7267
|
pe = pe && !F.needBlock, delete F.needBlock;
|
|
7269
|
-
const
|
|
7270
|
-
|
|
7268
|
+
const X = e.shadowRoot;
|
|
7269
|
+
X && qt(X) && (F.isShadowHost = !0);
|
|
7271
7270
|
}
|
|
7272
|
-
if ((F.type ===
|
|
7273
|
-
S.headWhitespace && F.type ===
|
|
7274
|
-
const
|
|
7271
|
+
if ((F.type === Q.Document || F.type === Q.Element) && pe) {
|
|
7272
|
+
S.headWhitespace && F.type === Q.Element && F.tagName === "head" && (te = !1);
|
|
7273
|
+
const X = {
|
|
7275
7274
|
doc: n,
|
|
7276
7275
|
mirror: r,
|
|
7277
7276
|
blockClass: s,
|
|
@@ -7289,32 +7288,32 @@ function gt(e, t) {
|
|
|
7289
7288
|
maskTextFn: y,
|
|
7290
7289
|
maskInputFn: _,
|
|
7291
7290
|
slimDOMOptions: S,
|
|
7292
|
-
dataURLOptions:
|
|
7293
|
-
inlineImages:
|
|
7294
|
-
recordCanvas:
|
|
7295
|
-
preserveWhiteSpace:
|
|
7296
|
-
onSerialize:
|
|
7297
|
-
onIframeLoad:
|
|
7298
|
-
iframeLoadTimeout:
|
|
7299
|
-
onStylesheetLoad:
|
|
7300
|
-
stylesheetLoadTimeout:
|
|
7301
|
-
keepIframeSrcFn:
|
|
7291
|
+
dataURLOptions: w,
|
|
7292
|
+
inlineImages: R,
|
|
7293
|
+
recordCanvas: I,
|
|
7294
|
+
preserveWhiteSpace: te,
|
|
7295
|
+
onSerialize: T,
|
|
7296
|
+
onIframeLoad: M,
|
|
7297
|
+
iframeLoadTimeout: A,
|
|
7298
|
+
onStylesheetLoad: b,
|
|
7299
|
+
stylesheetLoadTimeout: v,
|
|
7300
|
+
keepIframeSrcFn: z
|
|
7302
7301
|
};
|
|
7303
7302
|
for (const ce of Array.from(e.childNodes)) {
|
|
7304
|
-
const me = gt(ce,
|
|
7303
|
+
const me = gt(ce, X);
|
|
7305
7304
|
me && F.childNodes.push(me);
|
|
7306
7305
|
}
|
|
7307
7306
|
if (zp(e) && e.shadowRoot)
|
|
7308
7307
|
for (const ce of Array.from(e.shadowRoot.childNodes)) {
|
|
7309
|
-
const me = gt(ce,
|
|
7308
|
+
const me = gt(ce, X);
|
|
7310
7309
|
me && (qt(e.shadowRoot) && (me.isShadow = !0), F.childNodes.push(me));
|
|
7311
7310
|
}
|
|
7312
7311
|
}
|
|
7313
|
-
return e.parentNode && Wt(e.parentNode) && qt(e.parentNode) && (F.isShadow = !0), F.type ===
|
|
7314
|
-
const
|
|
7315
|
-
if (
|
|
7316
|
-
const ce = gt(
|
|
7317
|
-
doc:
|
|
7312
|
+
return e.parentNode && Wt(e.parentNode) && qt(e.parentNode) && (F.isShadow = !0), F.type === Q.Element && F.tagName === "iframe" && dh(e, () => {
|
|
7313
|
+
const X = e.contentDocument;
|
|
7314
|
+
if (X && M) {
|
|
7315
|
+
const ce = gt(X, {
|
|
7316
|
+
doc: X,
|
|
7318
7317
|
mirror: r,
|
|
7319
7318
|
blockClass: s,
|
|
7320
7319
|
blockSelector: i,
|
|
@@ -7331,22 +7330,22 @@ function gt(e, t) {
|
|
|
7331
7330
|
maskTextFn: y,
|
|
7332
7331
|
maskInputFn: _,
|
|
7333
7332
|
slimDOMOptions: S,
|
|
7334
|
-
dataURLOptions:
|
|
7335
|
-
inlineImages:
|
|
7336
|
-
recordCanvas:
|
|
7337
|
-
preserveWhiteSpace:
|
|
7338
|
-
onSerialize:
|
|
7339
|
-
onIframeLoad:
|
|
7340
|
-
iframeLoadTimeout:
|
|
7341
|
-
onStylesheetLoad:
|
|
7342
|
-
stylesheetLoadTimeout:
|
|
7343
|
-
keepIframeSrcFn:
|
|
7333
|
+
dataURLOptions: w,
|
|
7334
|
+
inlineImages: R,
|
|
7335
|
+
recordCanvas: I,
|
|
7336
|
+
preserveWhiteSpace: te,
|
|
7337
|
+
onSerialize: T,
|
|
7338
|
+
onIframeLoad: M,
|
|
7339
|
+
iframeLoadTimeout: A,
|
|
7340
|
+
onStylesheetLoad: b,
|
|
7341
|
+
stylesheetLoadTimeout: v,
|
|
7342
|
+
keepIframeSrcFn: z
|
|
7344
7343
|
});
|
|
7345
|
-
ce &&
|
|
7344
|
+
ce && M(e, ce);
|
|
7346
7345
|
}
|
|
7347
|
-
},
|
|
7348
|
-
if (
|
|
7349
|
-
const
|
|
7346
|
+
}, A), F.type === Q.Element && F.tagName === "link" && F.attributes.rel === "stylesheet" && fh(e, () => {
|
|
7347
|
+
if (b) {
|
|
7348
|
+
const X = gt(e, {
|
|
7350
7349
|
doc: n,
|
|
7351
7350
|
mirror: r,
|
|
7352
7351
|
blockClass: s,
|
|
@@ -7364,23 +7363,23 @@ function gt(e, t) {
|
|
|
7364
7363
|
maskTextFn: y,
|
|
7365
7364
|
maskInputFn: _,
|
|
7366
7365
|
slimDOMOptions: S,
|
|
7367
|
-
dataURLOptions:
|
|
7368
|
-
inlineImages:
|
|
7369
|
-
recordCanvas:
|
|
7370
|
-
preserveWhiteSpace:
|
|
7371
|
-
onSerialize:
|
|
7372
|
-
onIframeLoad:
|
|
7373
|
-
iframeLoadTimeout:
|
|
7374
|
-
onStylesheetLoad:
|
|
7375
|
-
stylesheetLoadTimeout:
|
|
7376
|
-
keepIframeSrcFn:
|
|
7366
|
+
dataURLOptions: w,
|
|
7367
|
+
inlineImages: R,
|
|
7368
|
+
recordCanvas: I,
|
|
7369
|
+
preserveWhiteSpace: te,
|
|
7370
|
+
onSerialize: T,
|
|
7371
|
+
onIframeLoad: M,
|
|
7372
|
+
iframeLoadTimeout: A,
|
|
7373
|
+
onStylesheetLoad: b,
|
|
7374
|
+
stylesheetLoadTimeout: v,
|
|
7375
|
+
keepIframeSrcFn: z
|
|
7377
7376
|
});
|
|
7378
|
-
|
|
7377
|
+
X && b(e, X);
|
|
7379
7378
|
}
|
|
7380
|
-
},
|
|
7379
|
+
}, v), F;
|
|
7381
7380
|
}
|
|
7382
7381
|
function yh(e, t) {
|
|
7383
|
-
const { mirror: n = new Ca(), blockClass: r = "rr-block", blockSelector: s = null, unblockSelector: i = null, maskAllText: o = !1, maskTextClass: a = "rr-mask", unmaskTextClass: c = null, maskTextSelector: u = null, unmaskTextSelector: l = null, inlineStylesheet: d = !0, inlineImages: f = !1, recordCanvas: p = !1, maskAllInputs: h = !1, maskAttributeFn: g, maskTextFn: y, maskInputFn: _, slimDOM: S = !1, dataURLOptions:
|
|
7382
|
+
const { mirror: n = new Ca(), blockClass: r = "rr-block", blockSelector: s = null, unblockSelector: i = null, maskAllText: o = !1, maskTextClass: a = "rr-mask", unmaskTextClass: c = null, maskTextSelector: u = null, unmaskTextSelector: l = null, inlineStylesheet: d = !0, inlineImages: f = !1, recordCanvas: p = !1, maskAllInputs: h = !1, maskAttributeFn: g, maskTextFn: y, maskInputFn: _, slimDOM: S = !1, dataURLOptions: w, preserveWhiteSpace: R, onSerialize: I, onIframeLoad: T, iframeLoadTimeout: M, onStylesheetLoad: A, stylesheetLoadTimeout: b, keepIframeSrcFn: v = () => !1 } = t || {};
|
|
7384
7383
|
return gt(e, {
|
|
7385
7384
|
doc: e,
|
|
7386
7385
|
mirror: n,
|
|
@@ -7426,16 +7425,16 @@ function yh(e, t) {
|
|
|
7426
7425
|
headMetaAuthorship: !0,
|
|
7427
7426
|
headMetaVerification: !0
|
|
7428
7427
|
} : S === !1 ? {} : S,
|
|
7429
|
-
dataURLOptions:
|
|
7428
|
+
dataURLOptions: w,
|
|
7430
7429
|
inlineImages: f,
|
|
7431
7430
|
recordCanvas: p,
|
|
7432
|
-
preserveWhiteSpace:
|
|
7433
|
-
onSerialize:
|
|
7434
|
-
onIframeLoad:
|
|
7435
|
-
iframeLoadTimeout:
|
|
7436
|
-
onStylesheetLoad:
|
|
7437
|
-
stylesheetLoadTimeout:
|
|
7438
|
-
keepIframeSrcFn:
|
|
7431
|
+
preserveWhiteSpace: R,
|
|
7432
|
+
onSerialize: I,
|
|
7433
|
+
onIframeLoad: T,
|
|
7434
|
+
iframeLoadTimeout: M,
|
|
7435
|
+
onStylesheetLoad: A,
|
|
7436
|
+
stylesheetLoadTimeout: b,
|
|
7437
|
+
keepIframeSrcFn: v,
|
|
7439
7438
|
newlyAddedElement: !1
|
|
7440
7439
|
});
|
|
7441
7440
|
}
|
|
@@ -7997,7 +7996,7 @@ function xh(e) {
|
|
|
7997
7996
|
function Mh() {
|
|
7998
7997
|
Gt = void 0;
|
|
7999
7998
|
}
|
|
8000
|
-
const
|
|
7999
|
+
const N = (e) => Gt ? (...n) => {
|
|
8001
8000
|
try {
|
|
8002
8001
|
return e(...n);
|
|
8003
8002
|
} catch (r) {
|
|
@@ -8036,7 +8035,7 @@ function za(e, t) {
|
|
|
8036
8035
|
let r = window.MutationObserver || window.__rrMutationObserver;
|
|
8037
8036
|
const s = ve([window, "optionalAccess", (o) => o.Zone, "optionalAccess", (o) => o.__symbol__, "optionalCall", (o) => o("MutationObserver")]);
|
|
8038
8037
|
s && window[s] && (r = window[s]);
|
|
8039
|
-
const i = new r(
|
|
8038
|
+
const i = new r(N((o) => {
|
|
8040
8039
|
e.onMutation && e.onMutation(o) === !1 || n.processMutations.bind(n)(o);
|
|
8041
8040
|
}));
|
|
8042
8041
|
return i.observe(t, {
|
|
@@ -8054,10 +8053,10 @@ function Ah({ mousemoveCb: e, sampling: t, doc: n, mirror: r }) {
|
|
|
8054
8053
|
};
|
|
8055
8054
|
const s = typeof t.mousemove == "number" ? t.mousemove : 50, i = typeof t.mousemoveCallback == "number" ? t.mousemoveCallback : 500;
|
|
8056
8055
|
let o = [], a;
|
|
8057
|
-
const c = Zt(
|
|
8056
|
+
const c = Zt(N((d) => {
|
|
8058
8057
|
const f = Date.now() - a;
|
|
8059
8058
|
e(o.map((p) => (p.timeOffset -= f, p)), d), o = [], a = null;
|
|
8060
|
-
}), i), u =
|
|
8059
|
+
}), i), u = N(Zt(N((d) => {
|
|
8061
8060
|
const f = un(d), { clientX: p, clientY: h } = Wr(d) ? d.changedTouches[0] : d;
|
|
8062
8061
|
a || (a = Fn()), o.push({
|
|
8063
8062
|
x: p,
|
|
@@ -8072,7 +8071,7 @@ function Ah({ mousemoveCb: e, sampling: t, doc: n, mirror: r }) {
|
|
|
8072
8071
|
ie("touchmove", u, n),
|
|
8073
8072
|
ie("drag", u, n)
|
|
8074
8073
|
];
|
|
8075
|
-
return
|
|
8074
|
+
return N(() => {
|
|
8076
8075
|
l.forEach((d) => d());
|
|
8077
8076
|
});
|
|
8078
8077
|
}
|
|
@@ -8105,12 +8104,12 @@ function Oh({ mouseInteractionCb: e, doc: t, mirror: n, blockClass: r, blockSele
|
|
|
8105
8104
|
const y = Wr(f) ? f.changedTouches[0] : f;
|
|
8106
8105
|
if (!y)
|
|
8107
8106
|
return;
|
|
8108
|
-
const _ = n.getId(p), { clientX: S, clientY:
|
|
8109
|
-
|
|
8107
|
+
const _ = n.getId(p), { clientX: S, clientY: w } = y;
|
|
8108
|
+
N(e)({
|
|
8110
8109
|
type: re[g],
|
|
8111
8110
|
id: _,
|
|
8112
8111
|
x: S,
|
|
8113
|
-
y:
|
|
8112
|
+
y: w,
|
|
8114
8113
|
...h !== null && { pointerType: h }
|
|
8115
8114
|
});
|
|
8116
8115
|
};
|
|
@@ -8128,12 +8127,12 @@ function Oh({ mouseInteractionCb: e, doc: t, mirror: n, blockClass: r, blockSele
|
|
|
8128
8127
|
return;
|
|
8129
8128
|
}
|
|
8130
8129
|
c.push(ie(f, p, t));
|
|
8131
|
-
}),
|
|
8130
|
+
}), N(() => {
|
|
8132
8131
|
c.forEach((d) => d());
|
|
8133
8132
|
});
|
|
8134
8133
|
}
|
|
8135
8134
|
function Wa({ scrollCb: e, doc: t, mirror: n, blockClass: r, blockSelector: s, unblockSelector: i, sampling: o }) {
|
|
8136
|
-
const a =
|
|
8135
|
+
const a = N(Zt(N((c) => {
|
|
8137
8136
|
const u = un(c);
|
|
8138
8137
|
if (!u || ye(u, r, s, i, !0))
|
|
8139
8138
|
return;
|
|
@@ -8156,7 +8155,7 @@ function Wa({ scrollCb: e, doc: t, mirror: n, blockClass: r, blockSelector: s, u
|
|
|
8156
8155
|
}
|
|
8157
8156
|
function Nh({ viewportResizeCb: e }, { win: t }) {
|
|
8158
8157
|
let n = -1, r = -1;
|
|
8159
|
-
const s =
|
|
8158
|
+
const s = N(Zt(N(() => {
|
|
8160
8159
|
const i = Na(), o = Da();
|
|
8161
8160
|
(n !== i || r !== o) && (e({
|
|
8162
8161
|
width: Number(o),
|
|
@@ -8167,73 +8166,73 @@ function Nh({ viewportResizeCb: e }, { win: t }) {
|
|
|
8167
8166
|
}
|
|
8168
8167
|
const Dh = ["INPUT", "TEXTAREA", "SELECT"], Fi = /* @__PURE__ */ new WeakMap();
|
|
8169
8168
|
function Lh({ inputCb: e, doc: t, mirror: n, blockClass: r, blockSelector: s, unblockSelector: i, ignoreClass: o, ignoreSelector: a, maskInputOptions: c, maskInputFn: u, sampling: l, userTriggeredOnInput: d, maskTextClass: f, unmaskTextClass: p, maskTextSelector: h, unmaskTextSelector: g }) {
|
|
8170
|
-
function y(
|
|
8171
|
-
let
|
|
8172
|
-
const
|
|
8173
|
-
if (
|
|
8169
|
+
function y(M) {
|
|
8170
|
+
let A = un(M);
|
|
8171
|
+
const b = M.isTrusted, v = A && zr(A.tagName);
|
|
8172
|
+
if (v === "OPTION" && (A = A.parentElement), !A || !v || Dh.indexOf(v) < 0 || ye(A, r, s, i, !0))
|
|
8174
8173
|
return;
|
|
8175
|
-
const
|
|
8176
|
-
if (
|
|
8174
|
+
const z = A;
|
|
8175
|
+
if (z.classList.contains(o) || a && z.matches(a))
|
|
8177
8176
|
return;
|
|
8178
|
-
const
|
|
8179
|
-
let
|
|
8177
|
+
const J = bs(A);
|
|
8178
|
+
let te = Pn(z, v, J), ne = !1;
|
|
8180
8179
|
const le = er({
|
|
8181
8180
|
maskInputOptions: c,
|
|
8182
|
-
tagName:
|
|
8183
|
-
type:
|
|
8184
|
-
}), F = Ct(
|
|
8185
|
-
(
|
|
8181
|
+
tagName: v,
|
|
8182
|
+
type: J
|
|
8183
|
+
}), F = Ct(A, f, h, p, g, le);
|
|
8184
|
+
(J === "radio" || J === "checkbox") && (ne = A.checked), te = Jt({
|
|
8186
8185
|
isMasked: F,
|
|
8187
|
-
element:
|
|
8188
|
-
value:
|
|
8186
|
+
element: A,
|
|
8187
|
+
value: te,
|
|
8189
8188
|
maskInputFn: u
|
|
8190
|
-
}), _(
|
|
8191
|
-
const pe =
|
|
8192
|
-
|
|
8193
|
-
if (
|
|
8189
|
+
}), _(A, d ? { text: te, isChecked: ne, userTriggered: b } : { text: te, isChecked: ne });
|
|
8190
|
+
const pe = A.name;
|
|
8191
|
+
J === "radio" && pe && ne && t.querySelectorAll(`input[type="radio"][name="${pe}"]`).forEach((X) => {
|
|
8192
|
+
if (X !== A) {
|
|
8194
8193
|
const ce = Jt({
|
|
8195
8194
|
isMasked: F,
|
|
8196
|
-
element:
|
|
8197
|
-
value: Pn(
|
|
8195
|
+
element: X,
|
|
8196
|
+
value: Pn(X, v, J),
|
|
8198
8197
|
maskInputFn: u
|
|
8199
8198
|
});
|
|
8200
|
-
_(
|
|
8199
|
+
_(X, d ? { text: ce, isChecked: !ne, userTriggered: !1 } : { text: ce, isChecked: !ne });
|
|
8201
8200
|
}
|
|
8202
8201
|
});
|
|
8203
8202
|
}
|
|
8204
|
-
function _(
|
|
8205
|
-
const
|
|
8206
|
-
if (!
|
|
8207
|
-
Fi.set(
|
|
8208
|
-
const
|
|
8209
|
-
|
|
8210
|
-
...
|
|
8211
|
-
id:
|
|
8203
|
+
function _(M, A) {
|
|
8204
|
+
const b = Fi.get(M);
|
|
8205
|
+
if (!b || b.text !== A.text || b.isChecked !== A.isChecked) {
|
|
8206
|
+
Fi.set(M, A);
|
|
8207
|
+
const v = n.getId(M);
|
|
8208
|
+
N(e)({
|
|
8209
|
+
...A,
|
|
8210
|
+
id: v
|
|
8212
8211
|
});
|
|
8213
8212
|
}
|
|
8214
8213
|
}
|
|
8215
|
-
const
|
|
8216
|
-
if (!
|
|
8214
|
+
const w = (l.input === "last" ? ["change"] : ["input", "change"]).map((M) => ie(M, N(y), t)), R = t.defaultView;
|
|
8215
|
+
if (!R)
|
|
8217
8216
|
return () => {
|
|
8218
|
-
|
|
8217
|
+
w.forEach((M) => M());
|
|
8219
8218
|
};
|
|
8220
|
-
const
|
|
8221
|
-
[
|
|
8222
|
-
[
|
|
8223
|
-
[
|
|
8224
|
-
[
|
|
8225
|
-
[
|
|
8226
|
-
[
|
|
8219
|
+
const I = R.Object.getOwnPropertyDescriptor(R.HTMLInputElement.prototype, "value"), T = [
|
|
8220
|
+
[R.HTMLInputElement.prototype, "value"],
|
|
8221
|
+
[R.HTMLInputElement.prototype, "checked"],
|
|
8222
|
+
[R.HTMLSelectElement.prototype, "value"],
|
|
8223
|
+
[R.HTMLTextAreaElement.prototype, "value"],
|
|
8224
|
+
[R.HTMLSelectElement.prototype, "selectedIndex"],
|
|
8225
|
+
[R.HTMLOptionElement.prototype, "selected"]
|
|
8227
8226
|
];
|
|
8228
|
-
return
|
|
8227
|
+
return I && I.set && w.push(...T.map((M) => Aa(M[0], M[1], {
|
|
8229
8228
|
set() {
|
|
8230
|
-
|
|
8229
|
+
N(y)({
|
|
8231
8230
|
target: this,
|
|
8232
8231
|
isTrusted: !1
|
|
8233
8232
|
});
|
|
8234
8233
|
}
|
|
8235
|
-
}, !1,
|
|
8236
|
-
|
|
8234
|
+
}, !1, R))), N(() => {
|
|
8235
|
+
w.forEach((M) => M());
|
|
8237
8236
|
});
|
|
8238
8237
|
}
|
|
8239
8238
|
function Bn(e) {
|
|
@@ -8263,7 +8262,7 @@ function Ph({ styleSheetRuleCb: e, mirror: t, stylesheetManager: n }, { win: r }
|
|
|
8263
8262
|
};
|
|
8264
8263
|
const s = r.CSSStyleSheet.prototype.insertRule;
|
|
8265
8264
|
r.CSSStyleSheet.prototype.insertRule = new Proxy(s, {
|
|
8266
|
-
apply:
|
|
8265
|
+
apply: N((l, d, f) => {
|
|
8267
8266
|
const [p, h] = f, { id: g, styleId: y } = Fe(d, t, n.styleMirror);
|
|
8268
8267
|
return (g && g !== -1 || y && y !== -1) && e({
|
|
8269
8268
|
id: g,
|
|
@@ -8274,7 +8273,7 @@ function Ph({ styleSheetRuleCb: e, mirror: t, stylesheetManager: n }, { win: r }
|
|
|
8274
8273
|
});
|
|
8275
8274
|
const i = r.CSSStyleSheet.prototype.deleteRule;
|
|
8276
8275
|
r.CSSStyleSheet.prototype.deleteRule = new Proxy(i, {
|
|
8277
|
-
apply:
|
|
8276
|
+
apply: N((l, d, f) => {
|
|
8278
8277
|
const [p] = f, { id: h, styleId: g } = Fe(d, t, n.styleMirror);
|
|
8279
8278
|
return (h && h !== -1 || g && g !== -1) && e({
|
|
8280
8279
|
id: h,
|
|
@@ -8285,7 +8284,7 @@ function Ph({ styleSheetRuleCb: e, mirror: t, stylesheetManager: n }, { win: r }
|
|
|
8285
8284
|
});
|
|
8286
8285
|
let o;
|
|
8287
8286
|
r.CSSStyleSheet.prototype.replace && (o = r.CSSStyleSheet.prototype.replace, r.CSSStyleSheet.prototype.replace = new Proxy(o, {
|
|
8288
|
-
apply:
|
|
8287
|
+
apply: N((l, d, f) => {
|
|
8289
8288
|
const [p] = f, { id: h, styleId: g } = Fe(d, t, n.styleMirror);
|
|
8290
8289
|
return (h && h !== -1 || g && g !== -1) && e({
|
|
8291
8290
|
id: h,
|
|
@@ -8296,7 +8295,7 @@ function Ph({ styleSheetRuleCb: e, mirror: t, stylesheetManager: n }, { win: r }
|
|
|
8296
8295
|
}));
|
|
8297
8296
|
let a;
|
|
8298
8297
|
r.CSSStyleSheet.prototype.replaceSync && (a = r.CSSStyleSheet.prototype.replaceSync, r.CSSStyleSheet.prototype.replaceSync = new Proxy(a, {
|
|
8299
|
-
apply:
|
|
8298
|
+
apply: N((l, d, f) => {
|
|
8300
8299
|
const [p] = f, { id: h, styleId: g } = Fe(d, t, n.styleMirror);
|
|
8301
8300
|
return (h && h !== -1 || g && g !== -1) && e({
|
|
8302
8301
|
id: h,
|
|
@@ -8313,7 +8312,7 @@ function Ph({ styleSheetRuleCb: e, mirror: t, stylesheetManager: n }, { win: r }
|
|
|
8313
8312
|
insertRule: d.prototype.insertRule,
|
|
8314
8313
|
deleteRule: d.prototype.deleteRule
|
|
8315
8314
|
}, d.prototype.insertRule = new Proxy(u[l].insertRule, {
|
|
8316
|
-
apply:
|
|
8315
|
+
apply: N((f, p, h) => {
|
|
8317
8316
|
const [g, y] = h, { id: _, styleId: S } = Fe(p.parentStyleSheet, t, n.styleMirror);
|
|
8318
8317
|
return (_ && _ !== -1 || S && S !== -1) && e({
|
|
8319
8318
|
id: _,
|
|
@@ -8330,7 +8329,7 @@ function Ph({ styleSheetRuleCb: e, mirror: t, stylesheetManager: n }, { win: r }
|
|
|
8330
8329
|
}), f.apply(p, h);
|
|
8331
8330
|
})
|
|
8332
8331
|
}), d.prototype.deleteRule = new Proxy(u[l].deleteRule, {
|
|
8333
|
-
apply:
|
|
8332
|
+
apply: N((f, p, h) => {
|
|
8334
8333
|
const [g] = h, { id: y, styleId: _ } = Fe(p.parentStyleSheet, t, n.styleMirror);
|
|
8335
8334
|
return (y && y !== -1 || _ && _ !== -1) && e({
|
|
8336
8335
|
id: y,
|
|
@@ -8341,7 +8340,7 @@ function Ph({ styleSheetRuleCb: e, mirror: t, stylesheetManager: n }, { win: r }
|
|
|
8341
8340
|
}), f.apply(p, h);
|
|
8342
8341
|
})
|
|
8343
8342
|
});
|
|
8344
|
-
}),
|
|
8343
|
+
}), N(() => {
|
|
8345
8344
|
r.CSSStyleSheet.prototype.insertRule = s, r.CSSStyleSheet.prototype.deleteRule = i, o && (r.CSSStyleSheet.prototype.replace = o), a && (r.CSSStyleSheet.prototype.replaceSync = a), Object.entries(c).forEach(([l, d]) => {
|
|
8346
8345
|
d.prototype.insertRule = u[l].insertRule, d.prototype.deleteRule = u[l].deleteRule;
|
|
8347
8346
|
});
|
|
@@ -8367,7 +8366,7 @@ function qa({ mirror: e, stylesheetManager: t }, n) {
|
|
|
8367
8366
|
}
|
|
8368
8367
|
return a;
|
|
8369
8368
|
}
|
|
8370
|
-
}),
|
|
8369
|
+
}), N(() => {
|
|
8371
8370
|
Object.defineProperty(n, "adoptedStyleSheets", {
|
|
8372
8371
|
configurable: i.configurable,
|
|
8373
8372
|
enumerable: i.enumerable,
|
|
@@ -8379,7 +8378,7 @@ function qa({ mirror: e, stylesheetManager: t }, n) {
|
|
|
8379
8378
|
function $h({ styleDeclarationCb: e, mirror: t, ignoreCSSAttributes: n, stylesheetManager: r }, { win: s }) {
|
|
8380
8379
|
const i = s.CSSStyleDeclaration.prototype.setProperty;
|
|
8381
8380
|
s.CSSStyleDeclaration.prototype.setProperty = new Proxy(i, {
|
|
8382
|
-
apply:
|
|
8381
|
+
apply: N((a, c, u) => {
|
|
8383
8382
|
const [l, d, f] = u;
|
|
8384
8383
|
if (n.has(l))
|
|
8385
8384
|
return i.apply(c, [l, d, f]);
|
|
@@ -8398,7 +8397,7 @@ function $h({ styleDeclarationCb: e, mirror: t, ignoreCSSAttributes: n, styleshe
|
|
|
8398
8397
|
});
|
|
8399
8398
|
const o = s.CSSStyleDeclaration.prototype.removeProperty;
|
|
8400
8399
|
return s.CSSStyleDeclaration.prototype.removeProperty = new Proxy(o, {
|
|
8401
|
-
apply:
|
|
8400
|
+
apply: N((a, c, u) => {
|
|
8402
8401
|
const [l] = u;
|
|
8403
8402
|
if (n.has(l))
|
|
8404
8403
|
return o.apply(c, [l]);
|
|
@@ -8412,12 +8411,12 @@ function $h({ styleDeclarationCb: e, mirror: t, ignoreCSSAttributes: n, styleshe
|
|
|
8412
8411
|
index: Bn(c.parentRule)
|
|
8413
8412
|
}), a.apply(c, u);
|
|
8414
8413
|
})
|
|
8415
|
-
}),
|
|
8414
|
+
}), N(() => {
|
|
8416
8415
|
s.CSSStyleDeclaration.prototype.setProperty = i, s.CSSStyleDeclaration.prototype.removeProperty = o;
|
|
8417
8416
|
});
|
|
8418
8417
|
}
|
|
8419
8418
|
function Fh({ mediaInteractionCb: e, blockClass: t, blockSelector: n, unblockSelector: r, mirror: s, sampling: i, doc: o }) {
|
|
8420
|
-
const a =
|
|
8419
|
+
const a = N((u) => Zt(N((l) => {
|
|
8421
8420
|
const d = un(l);
|
|
8422
8421
|
if (!d || ye(d, t, n, r, !0))
|
|
8423
8422
|
return;
|
|
@@ -8437,7 +8436,7 @@ function Fh({ mediaInteractionCb: e, blockClass: t, blockSelector: n, unblockSel
|
|
|
8437
8436
|
ie("volumechange", a(3), o),
|
|
8438
8437
|
ie("ratechange", a(4), o)
|
|
8439
8438
|
];
|
|
8440
|
-
return
|
|
8439
|
+
return N(() => {
|
|
8441
8440
|
c.forEach((u) => u());
|
|
8442
8441
|
});
|
|
8443
8442
|
}
|
|
@@ -8458,7 +8457,7 @@ function Bh({ fontCb: e, doc: t }) {
|
|
|
8458
8457
|
};
|
|
8459
8458
|
const o = Is(t.fonts, "add", function(a) {
|
|
8460
8459
|
return function(c) {
|
|
8461
|
-
return tr(
|
|
8460
|
+
return tr(N(() => {
|
|
8462
8461
|
const u = s.get(c);
|
|
8463
8462
|
u && (e(u), s.delete(c));
|
|
8464
8463
|
}), 0), a.apply(this, [c]);
|
|
@@ -8466,14 +8465,14 @@ function Bh({ fontCb: e, doc: t }) {
|
|
|
8466
8465
|
});
|
|
8467
8466
|
return r.push(() => {
|
|
8468
8467
|
n.FontFace = i;
|
|
8469
|
-
}), r.push(o),
|
|
8468
|
+
}), r.push(o), N(() => {
|
|
8470
8469
|
r.forEach((a) => a());
|
|
8471
8470
|
});
|
|
8472
8471
|
}
|
|
8473
8472
|
function Hh(e) {
|
|
8474
8473
|
const { doc: t, mirror: n, blockClass: r, blockSelector: s, unblockSelector: i, selectionCb: o } = e;
|
|
8475
8474
|
let a = !0;
|
|
8476
|
-
const c =
|
|
8475
|
+
const c = N(() => {
|
|
8477
8476
|
const u = t.getSelection();
|
|
8478
8477
|
if (!u || a && ve([u, "optionalAccess", (f) => f.isCollapsed]))
|
|
8479
8478
|
return;
|
|
@@ -8522,7 +8521,7 @@ function jh(e, t = {}) {
|
|
|
8522
8521
|
}, h = Hh(e), g = Uh(e), y = [];
|
|
8523
8522
|
for (const _ of e.plugins)
|
|
8524
8523
|
y.push(_.observer(_.callback, n, _.options));
|
|
8525
|
-
return
|
|
8524
|
+
return N(() => {
|
|
8526
8525
|
_t.forEach((_) => _.reset()), r.disconnect(), s(), i(), o(), a(), c(), u(), l(), d(), f(), p(), h(), g(), y.forEach((_) => _());
|
|
8527
8526
|
});
|
|
8528
8527
|
}
|
|
@@ -8726,7 +8725,7 @@ class Wh {
|
|
|
8726
8725
|
});
|
|
8727
8726
|
}
|
|
8728
8727
|
patchRootIdOnNode(t, n) {
|
|
8729
|
-
t.type !==
|
|
8728
|
+
t.type !== Q.Document && !t.rootId && (t.rootId = n), "childNodes" in t && t.childNodes.forEach((r) => {
|
|
8730
8729
|
this.patchRootIdOnNode(r, n);
|
|
8731
8730
|
});
|
|
8732
8731
|
}
|
|
@@ -8877,9 +8876,9 @@ class Vh {
|
|
|
8877
8876
|
let G, Hn;
|
|
8878
8877
|
const _e = Kp();
|
|
8879
8878
|
function We(e = {}) {
|
|
8880
|
-
const { emit: t, checkoutEveryNms: n, checkoutEveryNth: r, blockClass: s = "rr-block", blockSelector: i = null, unblockSelector: o = null, ignoreClass: a = "rr-ignore", ignoreSelector: c = null, maskAllText: u = !1, maskTextClass: l = "rr-mask", unmaskTextClass: d = null, maskTextSelector: f = null, unmaskTextSelector: p = null, inlineStylesheet: h = !0, maskAllInputs: g, maskInputOptions: y, slimDOMOptions: _, maskAttributeFn: S, maskInputFn:
|
|
8879
|
+
const { emit: t, checkoutEveryNms: n, checkoutEveryNth: r, blockClass: s = "rr-block", blockSelector: i = null, unblockSelector: o = null, ignoreClass: a = "rr-ignore", ignoreSelector: c = null, maskAllText: u = !1, maskTextClass: l = "rr-mask", unmaskTextClass: d = null, maskTextSelector: f = null, unmaskTextSelector: p = null, inlineStylesheet: h = !0, maskAllInputs: g, maskInputOptions: y, slimDOMOptions: _, maskAttributeFn: S, maskInputFn: w, maskTextFn: R, maxCanvasSize: I = null, packFn: T, sampling: M = {}, dataURLOptions: A = {}, mousemoveWait: b, recordCanvas: v = !1, recordCrossOriginIframes: z = !1, recordAfter: J = e.recordAfter === "DOMContentLoaded" ? e.recordAfter : "load", userTriggeredOnInput: te = !1, collectFonts: ne = !1, inlineImages: le = !1, plugins: F, keepIframeSrcFn: pe = () => !1, ignoreCSSAttributes: X = /* @__PURE__ */ new Set([]), errorHandler: ce, onMutation: me, getCanvasManager: or } = e;
|
|
8881
8880
|
xh(ce);
|
|
8882
|
-
const at =
|
|
8881
|
+
const at = z ? window.parent === window : !0;
|
|
8883
8882
|
let Pe = !1;
|
|
8884
8883
|
if (!at)
|
|
8885
8884
|
try {
|
|
@@ -8889,7 +8888,7 @@ function We(e = {}) {
|
|
|
8889
8888
|
}
|
|
8890
8889
|
if (at && !t)
|
|
8891
8890
|
throw new Error("emit function is required");
|
|
8892
|
-
|
|
8891
|
+
b !== void 0 && M.mousemove === void 0 && (M.mousemove = b), _e.reset();
|
|
8893
8892
|
const ct = g === !0 ? {
|
|
8894
8893
|
color: !0,
|
|
8895
8894
|
date: !0,
|
|
@@ -8922,59 +8921,59 @@ function We(e = {}) {
|
|
|
8922
8921
|
} : _ || {};
|
|
8923
8922
|
Eh();
|
|
8924
8923
|
let ar, cr = 0;
|
|
8925
|
-
const Os = (
|
|
8924
|
+
const Os = (L) => {
|
|
8926
8925
|
for (const ge of F || [])
|
|
8927
|
-
ge.eventProcessor && (
|
|
8928
|
-
return
|
|
8926
|
+
ge.eventProcessor && (L = ge.eventProcessor(L));
|
|
8927
|
+
return T && !Pe && (L = T(L)), L;
|
|
8929
8928
|
};
|
|
8930
|
-
G = (
|
|
8931
|
-
const
|
|
8932
|
-
if (
|
|
8933
|
-
fr([t, "optionalCall", (q) => q(Os(
|
|
8929
|
+
G = (L, ge) => {
|
|
8930
|
+
const D = L;
|
|
8931
|
+
if (D.timestamp = Fn(), fr([_t, "access", (q) => q[0], "optionalAccess", (q) => q.isFrozen, "call", (q) => q()]) && D.type !== C.FullSnapshot && !(D.type === C.IncrementalSnapshot && D.data.source === x.Mutation) && _t.forEach((q) => q.unfreeze()), at)
|
|
8932
|
+
fr([t, "optionalCall", (q) => q(Os(D), ge)]);
|
|
8934
8933
|
else if (Pe) {
|
|
8935
8934
|
const q = {
|
|
8936
8935
|
type: "rrweb",
|
|
8937
|
-
event: Os(
|
|
8936
|
+
event: Os(D),
|
|
8938
8937
|
origin: window.location.origin,
|
|
8939
8938
|
isCheckout: ge
|
|
8940
8939
|
};
|
|
8941
8940
|
window.parent.postMessage(q, "*");
|
|
8942
8941
|
}
|
|
8943
|
-
if (
|
|
8944
|
-
ar =
|
|
8945
|
-
else if (
|
|
8946
|
-
if (
|
|
8942
|
+
if (D.type === C.FullSnapshot)
|
|
8943
|
+
ar = D, cr = 0;
|
|
8944
|
+
else if (D.type === C.IncrementalSnapshot) {
|
|
8945
|
+
if (D.data.source === x.Mutation && D.data.isAttachIframe)
|
|
8947
8946
|
return;
|
|
8948
8947
|
cr++;
|
|
8949
|
-
const q = r && cr >= r,
|
|
8950
|
-
(q ||
|
|
8948
|
+
const q = r && cr >= r, P = n && ar && D.timestamp - ar.timestamp > n;
|
|
8949
|
+
(q || P) && lr(!0);
|
|
8951
8950
|
}
|
|
8952
8951
|
};
|
|
8953
|
-
const dn = (
|
|
8952
|
+
const dn = (L) => {
|
|
8954
8953
|
G({
|
|
8955
8954
|
type: C.IncrementalSnapshot,
|
|
8956
8955
|
data: {
|
|
8957
8956
|
source: x.Mutation,
|
|
8958
|
-
...
|
|
8957
|
+
...L
|
|
8959
8958
|
}
|
|
8960
8959
|
});
|
|
8961
|
-
}, Ns = (
|
|
8960
|
+
}, Ns = (L) => G({
|
|
8962
8961
|
type: C.IncrementalSnapshot,
|
|
8963
8962
|
data: {
|
|
8964
8963
|
source: x.Scroll,
|
|
8965
|
-
...
|
|
8964
|
+
...L
|
|
8966
8965
|
}
|
|
8967
|
-
}), yc = (
|
|
8966
|
+
}), yc = (L) => G({
|
|
8968
8967
|
type: C.IncrementalSnapshot,
|
|
8969
8968
|
data: {
|
|
8970
8969
|
source: x.CanvasMutation,
|
|
8971
|
-
...
|
|
8970
|
+
...L
|
|
8972
8971
|
}
|
|
8973
|
-
}), Sc = (
|
|
8972
|
+
}), Sc = (L) => G({
|
|
8974
8973
|
type: C.IncrementalSnapshot,
|
|
8975
8974
|
data: {
|
|
8976
8975
|
source: x.AdoptedStyleSheet,
|
|
8977
|
-
...
|
|
8976
|
+
...L
|
|
8978
8977
|
}
|
|
8979
8978
|
}), Xe = new Yh({
|
|
8980
8979
|
mutationCb: dn,
|
|
@@ -8983,11 +8982,11 @@ function We(e = {}) {
|
|
|
8983
8982
|
mirror: _e,
|
|
8984
8983
|
mutationCb: dn,
|
|
8985
8984
|
stylesheetManager: Xe,
|
|
8986
|
-
recordCrossOriginIframes:
|
|
8985
|
+
recordCrossOriginIframes: z,
|
|
8987
8986
|
wrappedEmit: G
|
|
8988
8987
|
});
|
|
8989
|
-
for (const
|
|
8990
|
-
|
|
8988
|
+
for (const L of F || [])
|
|
8989
|
+
L.getMirror && L.getMirror({
|
|
8991
8990
|
nodeMirror: _e,
|
|
8992
8991
|
crossOriginIframeMirror: Je.crossOriginIframeMirror,
|
|
8993
8992
|
crossOriginIframeStyleMirror: Je.crossOriginIframeStyleMirror
|
|
@@ -8995,20 +8994,20 @@ function We(e = {}) {
|
|
|
8995
8994
|
const ur = new Vh(), Ds = Xh(or, {
|
|
8996
8995
|
mirror: _e,
|
|
8997
8996
|
win: window,
|
|
8998
|
-
mutationCb: (
|
|
8997
|
+
mutationCb: (L) => G({
|
|
8999
8998
|
type: C.IncrementalSnapshot,
|
|
9000
8999
|
data: {
|
|
9001
9000
|
source: x.CanvasMutation,
|
|
9002
|
-
...
|
|
9001
|
+
...L
|
|
9003
9002
|
}
|
|
9004
9003
|
}),
|
|
9005
|
-
recordCanvas:
|
|
9004
|
+
recordCanvas: v,
|
|
9006
9005
|
blockClass: s,
|
|
9007
9006
|
blockSelector: i,
|
|
9008
9007
|
unblockSelector: o,
|
|
9009
|
-
maxCanvasSize:
|
|
9010
|
-
sampling:
|
|
9011
|
-
dataURLOptions:
|
|
9008
|
+
maxCanvasSize: I,
|
|
9009
|
+
sampling: M.canvas,
|
|
9010
|
+
dataURLOptions: A,
|
|
9012
9011
|
errorHandler: ce
|
|
9013
9012
|
}), fn = typeof __RRWEB_EXCLUDE_SHADOW_DOM__ == "boolean" && __RRWEB_EXCLUDE_SHADOW_DOM__ ? new qh() : new Gh({
|
|
9014
9013
|
mutationCb: dn,
|
|
@@ -9025,13 +9024,13 @@ function We(e = {}) {
|
|
|
9025
9024
|
unmaskTextSelector: p,
|
|
9026
9025
|
inlineStylesheet: h,
|
|
9027
9026
|
maskInputOptions: ct,
|
|
9028
|
-
dataURLOptions:
|
|
9027
|
+
dataURLOptions: A,
|
|
9029
9028
|
maskAttributeFn: S,
|
|
9030
|
-
maskTextFn:
|
|
9031
|
-
maskInputFn:
|
|
9032
|
-
recordCanvas:
|
|
9029
|
+
maskTextFn: R,
|
|
9030
|
+
maskInputFn: w,
|
|
9031
|
+
recordCanvas: v,
|
|
9033
9032
|
inlineImages: le,
|
|
9034
|
-
sampling:
|
|
9033
|
+
sampling: M,
|
|
9035
9034
|
slimDOMOptions: $t,
|
|
9036
9035
|
iframeManager: Je,
|
|
9037
9036
|
stylesheetManager: Xe,
|
|
@@ -9040,7 +9039,7 @@ function We(e = {}) {
|
|
|
9040
9039
|
processedNodeManager: ur
|
|
9041
9040
|
},
|
|
9042
9041
|
mirror: _e
|
|
9043
|
-
}), lr = (
|
|
9042
|
+
}), lr = (L = !1) => {
|
|
9044
9043
|
G({
|
|
9045
9044
|
type: C.Meta,
|
|
9046
9045
|
data: {
|
|
@@ -9048,7 +9047,7 @@ function We(e = {}) {
|
|
|
9048
9047
|
width: Da(),
|
|
9049
9048
|
height: Na()
|
|
9050
9049
|
}
|
|
9051
|
-
},
|
|
9050
|
+
}, L), Xe.reset(), fn.init(), _t.forEach((D) => D.lock());
|
|
9052
9051
|
const ge = yh(document, {
|
|
9053
9052
|
mirror: _e,
|
|
9054
9053
|
blockClass: s,
|
|
@@ -9062,20 +9061,20 @@ function We(e = {}) {
|
|
|
9062
9061
|
inlineStylesheet: h,
|
|
9063
9062
|
maskAllInputs: ct,
|
|
9064
9063
|
maskAttributeFn: S,
|
|
9065
|
-
maskInputFn:
|
|
9066
|
-
maskTextFn:
|
|
9064
|
+
maskInputFn: w,
|
|
9065
|
+
maskTextFn: R,
|
|
9067
9066
|
slimDOM: $t,
|
|
9068
|
-
dataURLOptions:
|
|
9069
|
-
recordCanvas:
|
|
9067
|
+
dataURLOptions: A,
|
|
9068
|
+
recordCanvas: v,
|
|
9070
9069
|
inlineImages: le,
|
|
9071
|
-
onSerialize: (
|
|
9072
|
-
$a(
|
|
9070
|
+
onSerialize: (D) => {
|
|
9071
|
+
$a(D, _e) && Je.addIframe(D), Fa(D, _e) && Xe.trackLinkElement(D), qr(D) && fn.addShadowRoot(D.shadowRoot, document);
|
|
9073
9072
|
},
|
|
9074
|
-
onIframeLoad: (
|
|
9075
|
-
Je.attachIframe(
|
|
9073
|
+
onIframeLoad: (D, q) => {
|
|
9074
|
+
Je.attachIframe(D, q), fn.observeAttachShadow(D);
|
|
9076
9075
|
},
|
|
9077
|
-
onStylesheetLoad: (
|
|
9078
|
-
Xe.attachLinkElement(
|
|
9076
|
+
onStylesheetLoad: (D, q) => {
|
|
9077
|
+
Xe.attachLinkElement(D, q);
|
|
9079
9078
|
},
|
|
9080
9079
|
keepIframeSrcFn: pe
|
|
9081
9080
|
});
|
|
@@ -9087,86 +9086,86 @@ function We(e = {}) {
|
|
|
9087
9086
|
node: ge,
|
|
9088
9087
|
initialOffset: Oa(window)
|
|
9089
9088
|
}
|
|
9090
|
-
}), _t.forEach((
|
|
9089
|
+
}), _t.forEach((D) => D.unlock()), document.adoptedStyleSheets && document.adoptedStyleSheets.length > 0 && Xe.adoptStyleSheets(document.adoptedStyleSheets, _e.getId(document));
|
|
9091
9090
|
};
|
|
9092
9091
|
Hn = lr;
|
|
9093
9092
|
try {
|
|
9094
|
-
const
|
|
9093
|
+
const L = [], ge = (q) => N(jh)({
|
|
9095
9094
|
onMutation: me,
|
|
9096
9095
|
mutationCb: dn,
|
|
9097
|
-
mousemoveCb: (
|
|
9096
|
+
mousemoveCb: (P, Qe) => G({
|
|
9098
9097
|
type: C.IncrementalSnapshot,
|
|
9099
9098
|
data: {
|
|
9100
9099
|
source: Qe,
|
|
9101
|
-
positions:
|
|
9100
|
+
positions: P
|
|
9102
9101
|
}
|
|
9103
9102
|
}),
|
|
9104
|
-
mouseInteractionCb: (
|
|
9103
|
+
mouseInteractionCb: (P) => G({
|
|
9105
9104
|
type: C.IncrementalSnapshot,
|
|
9106
9105
|
data: {
|
|
9107
9106
|
source: x.MouseInteraction,
|
|
9108
|
-
...
|
|
9107
|
+
...P
|
|
9109
9108
|
}
|
|
9110
9109
|
}),
|
|
9111
9110
|
scrollCb: Ns,
|
|
9112
|
-
viewportResizeCb: (
|
|
9111
|
+
viewportResizeCb: (P) => G({
|
|
9113
9112
|
type: C.IncrementalSnapshot,
|
|
9114
9113
|
data: {
|
|
9115
9114
|
source: x.ViewportResize,
|
|
9116
|
-
...
|
|
9115
|
+
...P
|
|
9117
9116
|
}
|
|
9118
9117
|
}),
|
|
9119
|
-
inputCb: (
|
|
9118
|
+
inputCb: (P) => G({
|
|
9120
9119
|
type: C.IncrementalSnapshot,
|
|
9121
9120
|
data: {
|
|
9122
9121
|
source: x.Input,
|
|
9123
|
-
...
|
|
9122
|
+
...P
|
|
9124
9123
|
}
|
|
9125
9124
|
}),
|
|
9126
|
-
mediaInteractionCb: (
|
|
9125
|
+
mediaInteractionCb: (P) => G({
|
|
9127
9126
|
type: C.IncrementalSnapshot,
|
|
9128
9127
|
data: {
|
|
9129
9128
|
source: x.MediaInteraction,
|
|
9130
|
-
...
|
|
9129
|
+
...P
|
|
9131
9130
|
}
|
|
9132
9131
|
}),
|
|
9133
|
-
styleSheetRuleCb: (
|
|
9132
|
+
styleSheetRuleCb: (P) => G({
|
|
9134
9133
|
type: C.IncrementalSnapshot,
|
|
9135
9134
|
data: {
|
|
9136
9135
|
source: x.StyleSheetRule,
|
|
9137
|
-
...
|
|
9136
|
+
...P
|
|
9138
9137
|
}
|
|
9139
9138
|
}),
|
|
9140
|
-
styleDeclarationCb: (
|
|
9139
|
+
styleDeclarationCb: (P) => G({
|
|
9141
9140
|
type: C.IncrementalSnapshot,
|
|
9142
9141
|
data: {
|
|
9143
9142
|
source: x.StyleDeclaration,
|
|
9144
|
-
...
|
|
9143
|
+
...P
|
|
9145
9144
|
}
|
|
9146
9145
|
}),
|
|
9147
9146
|
canvasMutationCb: yc,
|
|
9148
|
-
fontCb: (
|
|
9147
|
+
fontCb: (P) => G({
|
|
9149
9148
|
type: C.IncrementalSnapshot,
|
|
9150
9149
|
data: {
|
|
9151
9150
|
source: x.Font,
|
|
9152
|
-
...
|
|
9151
|
+
...P
|
|
9153
9152
|
}
|
|
9154
9153
|
}),
|
|
9155
|
-
selectionCb: (
|
|
9154
|
+
selectionCb: (P) => {
|
|
9156
9155
|
G({
|
|
9157
9156
|
type: C.IncrementalSnapshot,
|
|
9158
9157
|
data: {
|
|
9159
9158
|
source: x.Selection,
|
|
9160
|
-
...
|
|
9159
|
+
...P
|
|
9161
9160
|
}
|
|
9162
9161
|
});
|
|
9163
9162
|
},
|
|
9164
|
-
customElementCb: (
|
|
9163
|
+
customElementCb: (P) => {
|
|
9165
9164
|
G({
|
|
9166
9165
|
type: C.IncrementalSnapshot,
|
|
9167
9166
|
data: {
|
|
9168
9167
|
source: x.CustomElement,
|
|
9169
|
-
...
|
|
9168
|
+
...P
|
|
9170
9169
|
}
|
|
9171
9170
|
});
|
|
9172
9171
|
},
|
|
@@ -9180,37 +9179,37 @@ function We(e = {}) {
|
|
|
9180
9179
|
unmaskTextSelector: p,
|
|
9181
9180
|
maskInputOptions: ct,
|
|
9182
9181
|
inlineStylesheet: h,
|
|
9183
|
-
sampling:
|
|
9184
|
-
recordCanvas:
|
|
9182
|
+
sampling: M,
|
|
9183
|
+
recordCanvas: v,
|
|
9185
9184
|
inlineImages: le,
|
|
9186
|
-
userTriggeredOnInput:
|
|
9187
|
-
collectFonts:
|
|
9185
|
+
userTriggeredOnInput: te,
|
|
9186
|
+
collectFonts: ne,
|
|
9188
9187
|
doc: q,
|
|
9189
9188
|
maskAttributeFn: S,
|
|
9190
|
-
maskInputFn:
|
|
9191
|
-
maskTextFn:
|
|
9189
|
+
maskInputFn: w,
|
|
9190
|
+
maskTextFn: R,
|
|
9192
9191
|
keepIframeSrcFn: pe,
|
|
9193
9192
|
blockSelector: i,
|
|
9194
9193
|
unblockSelector: o,
|
|
9195
9194
|
slimDOMOptions: $t,
|
|
9196
|
-
dataURLOptions:
|
|
9195
|
+
dataURLOptions: A,
|
|
9197
9196
|
mirror: _e,
|
|
9198
9197
|
iframeManager: Je,
|
|
9199
9198
|
stylesheetManager: Xe,
|
|
9200
9199
|
shadowDomManager: fn,
|
|
9201
9200
|
processedNodeManager: ur,
|
|
9202
9201
|
canvasManager: Ds,
|
|
9203
|
-
ignoreCSSAttributes:
|
|
9202
|
+
ignoreCSSAttributes: X,
|
|
9204
9203
|
plugins: fr([
|
|
9205
9204
|
F,
|
|
9206
9205
|
"optionalAccess",
|
|
9207
|
-
(
|
|
9206
|
+
(P) => P.filter,
|
|
9208
9207
|
"call",
|
|
9209
|
-
(
|
|
9208
|
+
(P) => P((Qe) => Qe.observer),
|
|
9210
9209
|
"optionalAccess",
|
|
9211
|
-
(
|
|
9210
|
+
(P) => P.map,
|
|
9212
9211
|
"call",
|
|
9213
|
-
(
|
|
9212
|
+
(P) => P((Qe) => ({
|
|
9214
9213
|
observer: Qe.observer,
|
|
9215
9214
|
options: Qe.options,
|
|
9216
9215
|
callback: (Ec) => G({
|
|
@@ -9225,29 +9224,29 @@ function We(e = {}) {
|
|
|
9225
9224
|
}, {});
|
|
9226
9225
|
Je.addLoadListener((q) => {
|
|
9227
9226
|
try {
|
|
9228
|
-
|
|
9229
|
-
} catch (
|
|
9230
|
-
console.warn(
|
|
9227
|
+
L.push(ge(q.contentDocument));
|
|
9228
|
+
} catch (P) {
|
|
9229
|
+
console.warn(P);
|
|
9231
9230
|
}
|
|
9232
9231
|
});
|
|
9233
|
-
const
|
|
9234
|
-
lr(),
|
|
9232
|
+
const D = () => {
|
|
9233
|
+
lr(), L.push(ge(document));
|
|
9235
9234
|
};
|
|
9236
|
-
return document.readyState === "interactive" || document.readyState === "complete" ?
|
|
9235
|
+
return document.readyState === "interactive" || document.readyState === "complete" ? D() : (L.push(ie("DOMContentLoaded", () => {
|
|
9237
9236
|
G({
|
|
9238
9237
|
type: C.DomContentLoaded,
|
|
9239
9238
|
data: {}
|
|
9240
|
-
}),
|
|
9241
|
-
})),
|
|
9239
|
+
}), J === "DOMContentLoaded" && D();
|
|
9240
|
+
})), L.push(ie("load", () => {
|
|
9242
9241
|
G({
|
|
9243
9242
|
type: C.Load,
|
|
9244
9243
|
data: {}
|
|
9245
|
-
}),
|
|
9244
|
+
}), J === "load" && D();
|
|
9246
9245
|
}, window))), () => {
|
|
9247
|
-
|
|
9246
|
+
L.forEach((q) => q()), ur.destroy(), Hn = void 0, Mh();
|
|
9248
9247
|
};
|
|
9249
|
-
} catch (
|
|
9250
|
-
console.warn(
|
|
9248
|
+
} catch (L) {
|
|
9249
|
+
console.warn(L);
|
|
9251
9250
|
}
|
|
9252
9251
|
}
|
|
9253
9252
|
function Kh(e) {
|
|
@@ -9306,7 +9305,7 @@ function tm(e) {
|
|
|
9306
9305
|
};
|
|
9307
9306
|
}
|
|
9308
9307
|
function nm() {
|
|
9309
|
-
|
|
9308
|
+
ee(j, "open", function(e) {
|
|
9310
9309
|
return function(...t) {
|
|
9311
9310
|
if (Be)
|
|
9312
9311
|
try {
|
|
@@ -10598,26 +10597,26 @@ function bg(e, t, n) {
|
|
|
10598
10597
|
if (!c)
|
|
10599
10598
|
return null;
|
|
10600
10599
|
if (!a || !zn(c, n.networkDetailAllowUrls) || zn(c, n.networkDetailDenyUrls)) {
|
|
10601
|
-
const
|
|
10600
|
+
const T = en(d), M = en(f);
|
|
10602
10601
|
return {
|
|
10603
10602
|
startTimestamp: s,
|
|
10604
10603
|
endTimestamp: i,
|
|
10605
10604
|
url: c,
|
|
10606
10605
|
method: u,
|
|
10607
10606
|
statusCode: l,
|
|
10608
|
-
request:
|
|
10609
|
-
response:
|
|
10607
|
+
request: T,
|
|
10608
|
+
response: M
|
|
10610
10609
|
};
|
|
10611
10610
|
}
|
|
10612
|
-
const p = a[je], h = p ? Xr(p.request_headers, n.networkRequestHeaders) : {}, g = Xr(Tg(a), n.networkResponseHeaders), [y, _] = n.networkCaptureBodies ? oc(o) : [void 0], [S,
|
|
10611
|
+
const p = a[je], h = p ? Xr(p.request_headers, n.networkRequestHeaders) : {}, g = Xr(Tg(a), n.networkResponseHeaders), [y, _] = n.networkCaptureBodies ? oc(o) : [void 0], [S, w] = n.networkCaptureBodies ? vg(a) : [void 0], R = qe(h, d, y), I = qe(g, f, S);
|
|
10613
10612
|
return {
|
|
10614
10613
|
startTimestamp: s,
|
|
10615
10614
|
endTimestamp: i,
|
|
10616
10615
|
url: c,
|
|
10617
10616
|
method: u,
|
|
10618
10617
|
statusCode: l,
|
|
10619
|
-
request: _ ? jn(
|
|
10620
|
-
response:
|
|
10618
|
+
request: _ ? jn(R, _) : R,
|
|
10619
|
+
response: w ? jn(I, w) : I
|
|
10621
10620
|
};
|
|
10622
10621
|
}
|
|
10623
10622
|
function Tg(e) {
|
|
@@ -10797,7 +10796,7 @@ function Fg(e) {
|
|
|
10797
10796
|
}
|
|
10798
10797
|
function Bg(e, t, n) {
|
|
10799
10798
|
let r, s, i;
|
|
10800
|
-
const o = n.maxWait ? Math.max(n.maxWait, t) : 0;
|
|
10799
|
+
const o = n && n.maxWait ? Math.max(n.maxWait, t) : 0;
|
|
10801
10800
|
function a() {
|
|
10802
10801
|
return c(), r = e(), r;
|
|
10803
10802
|
}
|
|
@@ -10960,21 +10959,21 @@ async function Gg({
|
|
|
10960
10959
|
let S;
|
|
10961
10960
|
try {
|
|
10962
10961
|
S = await p.send(_);
|
|
10963
|
-
} catch (
|
|
10964
|
-
const
|
|
10962
|
+
} catch (R) {
|
|
10963
|
+
const I = new Error(Ss);
|
|
10965
10964
|
try {
|
|
10966
|
-
|
|
10965
|
+
I.cause = R;
|
|
10967
10966
|
} catch {
|
|
10968
10967
|
}
|
|
10969
|
-
throw
|
|
10968
|
+
throw I;
|
|
10970
10969
|
}
|
|
10971
10970
|
if (!S)
|
|
10972
10971
|
return S;
|
|
10973
10972
|
if (typeof S.statusCode == "number" && (S.statusCode < 200 || S.statusCode >= 300))
|
|
10974
10973
|
throw new dc(S.statusCode);
|
|
10975
|
-
const
|
|
10976
|
-
if (bo(
|
|
10977
|
-
throw new fc(
|
|
10974
|
+
const w = To({}, S);
|
|
10975
|
+
if (bo(w, "replay"))
|
|
10976
|
+
throw new fc(w);
|
|
10978
10977
|
return S;
|
|
10979
10978
|
}
|
|
10980
10979
|
class dc extends Error {
|
|
@@ -11805,25 +11804,25 @@ class ir {
|
|
|
11805
11804
|
slowClickTimeout: y = 7e3,
|
|
11806
11805
|
slowClickIgnoreSelectors: _ = [],
|
|
11807
11806
|
networkDetailAllowUrls: S = [],
|
|
11808
|
-
networkDetailDenyUrls:
|
|
11809
|
-
networkCaptureBodies:
|
|
11810
|
-
networkRequestHeaders:
|
|
11811
|
-
networkResponseHeaders:
|
|
11812
|
-
mask:
|
|
11813
|
-
maskAttributes:
|
|
11814
|
-
unmask:
|
|
11815
|
-
block:
|
|
11816
|
-
unblock:
|
|
11817
|
-
ignore:
|
|
11818
|
-
maskFn:
|
|
11819
|
-
beforeAddRecordingEvent:
|
|
11807
|
+
networkDetailDenyUrls: w = [],
|
|
11808
|
+
networkCaptureBodies: R = !0,
|
|
11809
|
+
networkRequestHeaders: I = [],
|
|
11810
|
+
networkResponseHeaders: T = [],
|
|
11811
|
+
mask: M = [],
|
|
11812
|
+
maskAttributes: A = ["title", "placeholder"],
|
|
11813
|
+
unmask: b = [],
|
|
11814
|
+
block: v = [],
|
|
11815
|
+
unblock: z = [],
|
|
11816
|
+
ignore: J = [],
|
|
11817
|
+
maskFn: te,
|
|
11818
|
+
beforeAddRecordingEvent: ne,
|
|
11820
11819
|
beforeErrorSampling: le,
|
|
11821
11820
|
// eslint-disable-next-line deprecation/deprecation
|
|
11822
11821
|
blockClass: F,
|
|
11823
11822
|
// eslint-disable-next-line deprecation/deprecation
|
|
11824
11823
|
blockSelector: pe,
|
|
11825
11824
|
// eslint-disable-next-line deprecation/deprecation
|
|
11826
|
-
maskInputOptions:
|
|
11825
|
+
maskInputOptions: X,
|
|
11827
11826
|
// eslint-disable-next-line deprecation/deprecation
|
|
11828
11827
|
maskTextClass: ce,
|
|
11829
11828
|
// eslint-disable-next-line deprecation/deprecation
|
|
@@ -11833,11 +11832,11 @@ class ir {
|
|
|
11833
11832
|
} = {}) {
|
|
11834
11833
|
this.name = ir.id;
|
|
11835
11834
|
const at = Kg({
|
|
11836
|
-
mask:
|
|
11837
|
-
unmask:
|
|
11838
|
-
block:
|
|
11839
|
-
unblock:
|
|
11840
|
-
ignore:
|
|
11835
|
+
mask: M,
|
|
11836
|
+
unmask: b,
|
|
11837
|
+
block: v,
|
|
11838
|
+
unblock: z,
|
|
11839
|
+
ignore: J,
|
|
11841
11840
|
blockClass: F,
|
|
11842
11841
|
blockSelector: pe,
|
|
11843
11842
|
maskTextClass: ce,
|
|
@@ -11847,11 +11846,11 @@ class ir {
|
|
|
11847
11846
|
if (this._recordingOptions = {
|
|
11848
11847
|
maskAllInputs: f,
|
|
11849
11848
|
maskAllText: d,
|
|
11850
|
-
maskInputOptions: { ...
|
|
11851
|
-
maskTextFn:
|
|
11852
|
-
maskInputFn:
|
|
11849
|
+
maskInputOptions: { ...X || {}, password: !0 },
|
|
11850
|
+
maskTextFn: te,
|
|
11851
|
+
maskInputFn: te,
|
|
11853
11852
|
maskAttributeFn: (Pe, ct, $t) => Xg({
|
|
11854
|
-
maskAttributes:
|
|
11853
|
+
maskAttributes: A,
|
|
11855
11854
|
maskAllText: d,
|
|
11856
11855
|
privacyOptions: at,
|
|
11857
11856
|
key: Pe,
|
|
@@ -11891,11 +11890,11 @@ class ir {
|
|
|
11891
11890
|
slowClickTimeout: y,
|
|
11892
11891
|
slowClickIgnoreSelectors: _,
|
|
11893
11892
|
networkDetailAllowUrls: S,
|
|
11894
|
-
networkDetailDenyUrls:
|
|
11895
|
-
networkCaptureBodies:
|
|
11896
|
-
networkRequestHeaders: Xi(
|
|
11897
|
-
networkResponseHeaders: Xi(
|
|
11898
|
-
beforeAddRecordingEvent:
|
|
11893
|
+
networkDetailDenyUrls: w,
|
|
11894
|
+
networkCaptureBodies: R,
|
|
11895
|
+
networkRequestHeaders: Xi(I),
|
|
11896
|
+
networkResponseHeaders: Xi(T),
|
|
11897
|
+
beforeAddRecordingEvent: ne,
|
|
11899
11898
|
beforeErrorSampling: le,
|
|
11900
11899
|
_experiments: c
|
|
11901
11900
|
}, typeof u == "number" && (console.warn(
|
|
@@ -12122,7 +12121,7 @@ const l_ = (e) => {
|
|
|
12122
12121
|
};
|
|
12123
12122
|
}
|
|
12124
12123
|
return n;
|
|
12125
|
-
}, d_ =
|
|
12124
|
+
}, d_ = O, f_ = {
|
|
12126
12125
|
Vue: d_.Vue,
|
|
12127
12126
|
attachProps: !0,
|
|
12128
12127
|
logErrors: !0,
|
|
@@ -12257,4 +12256,4 @@ const S_ = (e) => {
|
|
|
12257
12256
|
export {
|
|
12258
12257
|
S_ as i
|
|
12259
12258
|
};
|
|
12260
|
-
//# sourceMappingURL=revolugo.sentry.
|
|
12259
|
+
//# sourceMappingURL=revolugo.sentry.BJarOkzg.min.js.map
|