@revolugo/elements 5.26.2-beta.9 → 5.26.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (111) hide show
  1. package/dist/index.es.min.js +2516 -1984
  2. package/dist/index.es.min.js.map +1 -1
  3. package/dist/index.min.js +40 -10
  4. package/dist/index.min.js.map +1 -1
  5. package/dist/{revolugo.banktransferdetails.DocOw_1c.min.js → revolugo.banktransferdetails.DxzWSquz.min.js} +37 -33
  6. package/dist/{revolugo.bdaterangepicker.BfCLnYf4.min.js → revolugo.bdaterangepicker.DAOZptUO.min.js} +20 -20
  7. package/dist/{revolugo.bformattedamount.CphqBbVa.min.js → revolugo.bformattedamount.C0KLwzwl.min.js} +3 -3
  8. package/dist/{revolugo.bhotelroomsdetails.DqGJ2w9u.min.js → revolugo.bhotelroomsdetails.Z7i3IAGg.min.js} +13 -13
  9. package/dist/{revolugo.bhotelsearchbar.BK8hTfTf.min.js → revolugo.bhotelsearchbar.yigA_cAU.min.js} +19 -19
  10. package/dist/{revolugo.bookingdetailssidebar.DeVlYfpn.min.js → revolugo.bookingdetailssidebar.BVkbxa9s.min.js} +17 -17
  11. package/dist/{revolugo.bookingdetailssidebar.B593LGvp.min.js → revolugo.bookingdetailssidebar.DnzGhpqw.min.js} +6 -6
  12. package/dist/{revolugo.bookingmanager.CoZl8iLL.min.js → revolugo.bookingmanager.DwuWRxAd.min.js} +35 -35
  13. package/dist/{revolugo.bphoneinput.BxUu-ijr.min.js → revolugo.bphoneinput.H3ff5kTX.min.js} +37 -33
  14. package/dist/{revolugo.bpricesummaryskeleton.Dtg-xXRI.min.js → revolugo.bpricesummaryskeleton.hwCth_b2.min.js} +6 -6
  15. package/dist/{revolugo.breakpoint-service.DOI2pMPe.min.js → revolugo.breakpoint-service.BlEWjg4g.min.js} +3 -3
  16. package/dist/{revolugo.bstarrating.D3SX-Y_G.min.js → revolugo.bstarrating.Bz8C7CvH.min.js} +8 -8
  17. package/dist/{revolugo.btag.DLJO-aT6.min.js → revolugo.btag.DZN4j_hX.min.js} +9 -9
  18. package/dist/{revolugo.cancellationpoliciesbadge.D_0pbCAp.min.js → revolugo.cancellationpoliciesbadge.DD3sOfkX.min.js} +9 -9
  19. package/dist/{revolugo.cancellationpoliciesbadge.C8VP4uTt.min.js → revolugo.cancellationpoliciesbadge.DIm9l5NJ.min.js} +6 -6
  20. package/dist/{revolugo.cancellationpolicieslist.D1gpvf7i.min.js → revolugo.cancellationpolicieslist.DdvjNdDB.min.js} +3 -3
  21. package/dist/{revolugo.cancellationpolicieslist.BOgJKzJk.min.js → revolugo.cancellationpolicieslist.Yt8G1Lb0.min.js} +6 -6
  22. package/dist/{revolugo.common.CwuM5BCx.min.js → revolugo.common.BZH_Op12.min.js} +2 -2
  23. package/dist/{revolugo.creditcardform.bvLmN2Gb.min.js → revolugo.creditcardform.BI_FpSmL.min.js} +6 -6
  24. package/dist/{revolugo.creditcardform.CSujLNnM.min.js → revolugo.creditcardform.BayaCj7N.min.js} +14 -14
  25. package/dist/{revolugo.creditcardpayment.B84JmY-8.min.js → revolugo.creditcardpayment.02PN4MWk.min.js} +6 -6
  26. package/dist/{revolugo.creditcardpayment.BEHuehMJ.min.js → revolugo.creditcardpayment.DnTKJs-I.min.js} +34 -34
  27. package/dist/{revolugo.currencypicker.CFWpc8HP.min.js → revolugo.currencypicker.rla5Gh6r.min.js} +9 -9
  28. package/dist/{revolugo.currencypickerbtn.BrWkrEu_.min.js → revolugo.currencypickerbtn.BTEEO9t4.min.js} +11 -11
  29. package/dist/{revolugo.currencypickerbtn.CTKGs5cu.min.js → revolugo.currencypickerbtn.DVaUT3Sv.min.js} +6 -6
  30. package/dist/{revolugo.dialog-attach.UdO3NAXU.min.js → revolugo.dialog-attach.DCu6y0mp.min.js} +2 -2
  31. package/dist/{revolugo.fastbookingflow.BQbWB4Dg.min.js → revolugo.fastbookingflow.DRTH66_Y.min.js} +6 -6
  32. package/dist/{revolugo.fullbookingflow.JpT0NatO.min.js → revolugo.fullbookingflow.DZeA_09f.min.js} +18 -18
  33. package/dist/{revolugo.hotel-offer.CZKaMpOK.min.js → revolugo.hotel-offer.BMV5LoO-.min.js} +17 -17
  34. package/dist/{revolugo.hoteldescriptionview.BW-zc1Gb.min.js → revolugo.hoteldescriptionview.CFVTwBfb.min.js} +267 -284
  35. package/dist/{revolugo.hoteldescriptionview.B9Yn63hn.min.js → revolugo.hoteldescriptionview.iGRk1gJK.min.js} +6 -6
  36. package/dist/{revolugo.hotelofferitemlayout.D9HQ7eD3.min.js → revolugo.hotelofferitemlayout.B47vwC31.min.js} +10 -10
  37. package/dist/revolugo.hotelofferlist.BVA1qSK4.min.js +3618 -0
  38. package/dist/{revolugo.hotelofferlist.DYCl-oA5.min.js → revolugo.hotelofferlist.CH8RSatG.min.js} +6 -6
  39. package/dist/{revolugo.hotelofferrequestcreator.CRa8Vkk3.min.js → revolugo.hotelofferrequestcreator.DRaWs0Tl.min.js} +6 -6
  40. package/dist/{revolugo.hoteloffersearchmenu.Bvy7ThBD.min.js → revolugo.hoteloffersearchmenu.BIC_Zl37.min.js} +6 -6
  41. package/dist/{revolugo.hoteloffersmap.Tvits78R.min.js → revolugo.hoteloffersmap.BNeU4Ckq.min.js} +33 -33
  42. package/dist/{revolugo.hoteloffersmap.Be-WCioi.min.js → revolugo.hoteloffersmap.kwmpn7NH.min.js} +6 -6
  43. package/dist/{revolugo.hoteloffersview.CecgCs3H.min.js → revolugo.hoteloffersview.DCWgpMu6.min.js} +6 -6
  44. package/dist/{revolugo.hoteloffersview.Brgrm79v.min.js → revolugo.hoteloffersview.Dv_Q1e1i.min.js} +19 -19
  45. package/dist/{revolugo.hotelroomofferlist.Nd4YwBo_.min.js → revolugo.hotelroomofferlist.CRfe1uw4.min.js} +6 -6
  46. package/dist/{revolugo.hotelroomofferlist.C8FRyEq_.min.js → revolugo.hotelroomofferlist.jL0zho9e.min.js} +53 -53
  47. package/dist/{revolugo.hotelroomofferrequestcreator.B5lVTZZd.min.js → revolugo.hotelroomofferrequestcreator.CJQ2CdNw.min.js} +6 -6
  48. package/dist/{revolugo.hotelroomoffersbookingflow.i2t1vPgD.min.js → revolugo.hotelroomoffersbookingflow.BQQoJFTW.min.js} +19 -19
  49. package/dist/{revolugo.hotelroomoffersearchmenu.CMsc-CNV.min.js → revolugo.hotelroomoffersearchmenu.DCPFjC0g.min.js} +4 -4
  50. package/dist/{revolugo.hotelroomoffersearchmenu.PApWToHT.min.js → revolugo.hotelroomoffersearchmenu.pEi8lzHy.min.js} +5 -5
  51. package/dist/{revolugo.hotelroomoffersview.2ltsp5_R.min.js → revolugo.hotelroomoffersview.CwvF2Lg9.min.js} +6 -6
  52. package/dist/{revolugo.hotelroomoffersview.Cw6aKuIO.min.js → revolugo.hotelroomoffersview.mQwWZld8.min.js} +12 -12
  53. package/dist/{revolugo.i18n.BEhtXca3.min.js → revolugo.i18n.qxNwIBzD.min.js} +2105 -2090
  54. package/dist/revolugo.index.BOaxC3qr.min.js +15 -0
  55. package/dist/{revolugo.index.C8Z7BwW8.min.js → revolugo.index.BPSLxDUk.min.js} +2 -2
  56. package/dist/{revolugo.index.mn1Z4_fN.min.js → revolugo.index.BzQBfwkV.min.js} +3 -3
  57. package/dist/{revolugo.index.vww3SoWt.min.js → revolugo.index.CNxUzw3a.min.js} +7 -7
  58. package/dist/{revolugo.index.CS2-Q-ND.min.js → revolugo.index.CYG3UDgo.min.js} +6 -6
  59. package/dist/{revolugo.index.B12-gJPR.min.js → revolugo.index.CfNhkdgc.min.js} +7 -7
  60. package/dist/{revolugo.index.CuzC7huw.min.js → revolugo.index.D6ZUh3QP.min.js} +10 -10
  61. package/dist/{revolugo.index.CJ17FP0k.min.js → revolugo.index.DD9JrpcI.min.js} +5 -5
  62. package/dist/{revolugo.index.Bm7Hekqn.min.js → revolugo.index.DP6aBKb1.min.js} +7 -7
  63. package/dist/{revolugo.index.B91957iL.min.js → revolugo.index.DqTSC2TR.min.js} +3 -3
  64. package/dist/{revolugo.index.5uzTM8jR.min.js → revolugo.index.Ii4kfDF9.min.js} +2 -2
  65. package/dist/{revolugo.index.Dp01frUM.min.js → revolugo.index.O87Oqb47.min.js} +2 -2
  66. package/dist/{revolugo.index.Dv25a8IA.min.js → revolugo.index.RS6IMZca.min.js} +4 -4
  67. package/dist/{revolugo.index.B8vp5hk7.min.js → revolugo.index.utQE_7Cl.min.js} +3 -3
  68. package/dist/{revolugo.langpicker.CBhHqEv3.min.js → revolugo.langpicker.uc5GlZAU.min.js} +7 -7
  69. package/dist/{revolugo.langpickerbtn.LR2vizK2.min.js → revolugo.langpickerbtn.BhRQdJ_p.min.js} +6 -6
  70. package/dist/{revolugo.langpickerbtn.CCFKqTpQ.min.js → revolugo.langpickerbtn.YGHO28He.min.js} +10 -10
  71. package/dist/revolugo.min.js +26 -26
  72. package/dist/{revolugo.parsed-height.DpcziUUJ.min.js → revolugo.parsed-height.B59lLeec.min.js} +105 -105
  73. package/dist/{revolugo.parsed-props.CQJFjK9a.min.js → revolugo.parsed-props.n7LUhO7L.min.js} +5 -5
  74. package/dist/{revolugo.prebookform.DGlhRyr3.min.js → revolugo.prebookform.B3J48Pkc.min.js} +29 -29
  75. package/dist/{revolugo.prebookform.BhFn4px0.min.js → revolugo.prebookform.CVh5dThF.min.js} +6 -6
  76. package/dist/{revolugo.revolugo-config.Cd_JnGq0.min.js → revolugo.revolugo-config.BDiLSGvv.min.js} +1370 -1124
  77. package/dist/{revolugo.roominglisteditor.eWCwVydd.min.js → revolugo.roominglisteditor.Chkqhc2Y.min.js} +6 -6
  78. package/dist/{revolugo.roominglisteditor.wX75dXlM.min.js → revolugo.roominglisteditor.Dkwuendx.min.js} +20 -20
  79. package/dist/{revolugo.sentry.DqPFRxU3.min.js → revolugo.sentry.BVrKAYI8.min.js} +499 -498
  80. package/dist/{revolugo.store.dZMoiQlF.min.js → revolugo.store.CLXQpFB9.min.js} +425 -393
  81. package/dist/{revolugo.storybooktoolbar.DnfXFFIc.min.js → revolugo.storybooktoolbar.ZyQvkGCl.min.js} +20 -20
  82. package/dist/{revolugo.termsandconditions.DLFKBpfw.min.js → revolugo.termsandconditions.ClSGaGKj.min.js} +4 -4
  83. package/dist/{revolugo.termsandconditions.Dfu_0rOp.min.js → revolugo.termsandconditions.DMPOujnj.min.js} +6 -6
  84. package/dist/revolugo.typed-mixins.Dz5yLoi0.min.js +8 -0
  85. package/dist/{revolugo.valert.88ZHPGhT.min.js → revolugo.valert.Dy_fVPQq.min.js} +7 -7
  86. package/dist/{revolugo.vautocomplete.WFeBr6qP.min.js → revolugo.vautocomplete.DfAUnP4D.min.js} +5 -5
  87. package/dist/{revolugo.vbadge.COTjzWmJ.min.js → revolugo.vbadge.D61vYgWe.min.js} +6 -6
  88. package/dist/{revolugo.vbtn.DO8W7N0r.min.js → revolugo.vbtn.Co1ZNQI6.min.js} +7 -7
  89. package/dist/{revolugo.vcard.gQH1l9-J.min.js → revolugo.vcard.gY3nOWdt.min.js} +6 -6
  90. package/dist/{revolugo.vdialog.B39hW_QQ.min.js → revolugo.vdialog.BS-urZDH.min.js} +11 -11
  91. package/dist/{revolugo.vexpansionpanelheader.ADoud6DV.min.js → revolugo.vexpansionpanelheader.DEWs0GBp.min.js} +8 -8
  92. package/dist/{revolugo.vform.721jx4in.min.js → revolugo.vform.BDMYpFXp.min.js} +5 -5
  93. package/dist/{revolugo.vinput.DHB-qqO8.min.js → revolugo.vinput.Cm7jTICX.min.js} +9 -9
  94. package/dist/{revolugo.vitemgroup.en0tJeuk.min.js → revolugo.vitemgroup.Cx2l6nP2.min.js} +7 -7
  95. package/dist/{revolugo.vlistitem.CUA8VxiW.min.js → revolugo.vlistitem.CFUhBC05.min.js} +8 -8
  96. package/dist/{revolugo.vmenu.CM59ObZV.min.js → revolugo.vmenu.BklgEHiC.min.js} +10 -10
  97. package/dist/{revolugo.vselect.CZT6j54N.min.js → revolugo.vselect.IUnGF2CT.min.js} +15 -15
  98. package/dist/{revolugo.vsheet.Ci8EFagN.min.js → revolugo.vsheet.CeC7JEVb.min.js} +6 -6
  99. package/dist/{revolugo.vskeletonloader.B8WWRpEn.min.js → revolugo.vskeletonloader.T0Sj67u2.min.js} +4 -4
  100. package/dist/{revolugo.vslidegroup.DZ44OZy2.min.js → revolugo.vslidegroup.Dt4KvG1W.min.js} +10 -10
  101. package/dist/{revolugo.vsnackbar.hQQeV8CP.min.js → revolugo.vsnackbar.2IsRhccK.min.js} +5 -5
  102. package/dist/{revolugo.vtextfield.uC2GWAXb.min.js → revolugo.vtextfield.ndSvyN0P.min.js} +12 -12
  103. package/dist/{revolugo.vtoolbar.CKpQ7I-2.min.js → revolugo.vtoolbar.hGub5RDG.min.js} +5 -5
  104. package/dist/{revolugo.vtooltip.vt1MeNsi.min.js → revolugo.vtooltip.yWMo-A7h.min.js} +7 -7
  105. package/dist/{revolugo.vuetify.CUwfJUZL.min.js → revolugo.vuetify.CCSPNwIH.min.js} +10 -10
  106. package/dist/{revolugo.watch-list.DZXZ9UBF.min.js → revolugo.watch-list.Bi8SNUJ6.min.js} +3 -3
  107. package/dist/{revolugo.webcomponentwrapper.BGRSC-LW.min.js → revolugo.webcomponentwrapper.Ct1w2wDx.min.js} +7 -7
  108. package/package.json +1 -1
  109. package/dist/revolugo.hotelofferlist.D-RL29DF.min.js +0 -4191
  110. package/dist/revolugo.index.8asECxdn.min.js +0 -15
  111. package/dist/revolugo.typed-mixins.CXF5T_Lk.min.js +0 -8
@@ -1,4 +1,4 @@
1
- import { E as Ls, V as bc } from "./revolugo.i18n.BEhtXca3.min.js";
1
+ import { E as Ls, V as bc } from "./revolugo.i18n.qxNwIBzD.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 O = typeof globalThis == "object" && pn(globalThis) || // eslint-disable-next-line no-restricted-globals
163
+ const A = 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 O;
168
+ return A;
169
169
  }
170
170
  function ro(e, t, n) {
171
- const r = n || O, s = r.__SENTRY__ = r.__SENTRY__ || {};
171
+ const r = n || A, 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 O))
247
+ if (!("console" in A))
248
248
  return e();
249
- const t = O.console, n = {}, r = Object.keys(Rn);
249
+ const t = A.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
- O.console[n](`${Nc}[${n}]:`, ...r);
276
+ A.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 ee(e, t, n) {
337
+ function ne(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 O && Ir.forEach(function(e) {
527
- e in O.console && ee(O.console, e, function(t) {
526
+ "console" in A && Ir.forEach(function(e) {
527
+ e in A.console && ne(A.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(O.console, n);
531
+ s && s.apply(A.console, n);
532
532
  };
533
533
  });
534
534
  });
535
535
  }
536
536
  function V() {
537
- const e = O, t = e.crypto || e.msCrypto;
537
+ const e = A, 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 = O, Yc = 1e3;
592
+ const dt = A, 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") || (ee(r, "addEventListener", function(s) {
604
+ !r || !r.hasOwnProperty || !r.hasOwnProperty("addEventListener") || (ne(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
- }), ee(
618
+ }), ne(
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() && ee(O, "fetch", function(e) {
705
+ Qc() && ne(A, "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(O, t).then(
717
+ }), e.apply(A, 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 = O.onerror, O.onerror = function(e, t, n, r, s) {
766
+ hn = A.onerror, A.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
- }, O.onerror.__SENTRY_INSTRUMENTED__ = !0;
774
+ }, A.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 = O.onunhandledrejection, O.onunhandledrejection = function(e) {
782
+ mn = A.onunhandledrejection, A.onunhandledrejection = function(e) {
783
783
  return Se("unhandledrejection", e), mn && !mn.__SENTRY_LOADER__ ? mn.apply(this, arguments) : !0;
784
- }, O.onunhandledrejection.__SENTRY_INSTRUMENTED__ = !0;
784
+ }, A.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 = O;
791
+ const Ft = A;
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
- ee(Ft.history, "pushState", t), ee(Ft.history, "replaceState", t);
819
+ ne(Ft.history, "pushState", t), ne(Ft.history, "replaceState", t);
820
820
  }
821
- const iu = O, je = "__sentry_xhr_v3__";
821
+ const iu = A, 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
- ee(e, "open", function(t) {
830
+ ne(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" ? ee(this, "onreadystatechange", function(a) {
856
+ return "onreadystatechange" in this && typeof this.onreadystatechange == "function" ? ne(this, "onreadystatechange", function(a) {
857
857
  return function(...c) {
858
858
  return o(), a.apply(this, c);
859
859
  };
860
- }) : this.addEventListener("readystatechange", o), ee(this, "setRequestHeader", function(a) {
860
+ }) : this.addEventListener("readystatechange", o), ne(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
- }), ee(e, "send", function(t) {
867
+ }), ne(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
- O.process !== void 0 && O.process.type === "renderer"
905
+ A.process !== void 0 && A.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 } = O;
1198
+ const { performance: e } = A;
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 } = O;
1205
+ const { performance: e } = A;
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 E = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, Yn = "production";
1446
+ const T = 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
- 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);
1460
+ T && 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 = O._sentryDebugIds;
1586
+ const n = A._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 } = O.navigator || {}, a = vo({
1722
+ const t = $(), n = Ke(), r = ue(), { release: s, environment: i = Yn } = t && t.getOptions() || {}, { userAgent: o } = A.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 E && m.warn(`Cannot retrieve integration ${t.id} from the current Hub`), null;
2537
+ return T && 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 E && !r && (this.getClient() ? m.warn(`Tracing extension 'startTransaction' has not been added. Call 'addTracingExtensions' before calling 'init':
2561
+ return T && !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 } = O.navigator || {}, a = vo({
2598
+ const { scope: n, client: r } = this.getStackTop(), { release: s, environment: i = Yn } = r && r.getOptions() || {}, { userAgent: o } = A.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
- E && m.warn(`Extension method ${t} couldn't be found, doing nothing.`);
2634
+ T && m.warn(`Extension method ${t} couldn't be found, doing nothing.`);
2635
2635
  }
2636
2636
  }
2637
2637
  function rn() {
2638
- return O.__SENTRY__ = O.__SENTRY__ || {
2638
+ return A.__SENTRY__ = A.__SENTRY__ || {
2639
2639
  extensions: {},
2640
2640
  hub: void 0
2641
- }, O;
2641
+ }, A;
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
- E && m.log(`[Tracing] Transaction: ${t} -> Global error occured`), e.setStatus(t);
2685
+ T && 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, E && r) {
3115
+ if (n.transaction = r, T && 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 (E && // Don't call this for transactions
3199
+ if (T && // 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 || (E && m.warn("Transaction has no name, falling back to `<unlabeled transaction>`."), this._name = "<unlabeled transaction>"), super.end(t);
3473
+ this._name || (T && 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
- E && m.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled."), n && n.recordDroppedEvent("sample_rate", "transaction");
3476
+ T && 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 && (E && m.log(
3516
+ return Object.keys(this._measurements).length > 0 && (T && m.log(
3517
3517
  "[Measurements] Adding measurements to transaction",
3518
3518
  JSON.stringify(this._measurements, void 0, 2)
3519
- ), c.measurements = this._measurements), E && m.log(`[Tracing] Finishing ${this.op} transaction: ${this._name}.`), c;
3519
+ ), c.measurements = this._measurements), T && 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 && (E && m.log(`Setting idle transaction on scope. Span ID: ${this.spanContext().spanId}`), n.getScope().setSpan(this)), a || this._restartIdleTimeout(), setTimeout(() => {
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 && (T && 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
- E && // eslint-disable-next-line deprecation/deprecation
3570
+ T && // 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), E && m.log("[Tracing] cancelling span since transaction ended early", JSON.stringify(r, void 0, 2)));
3577
+ K(r).timestamp || (r.setStatus("cancelled"), r.end(n), T && 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 (E) {
3579
+ if (T) {
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
- }), E && m.log("[Tracing] flushing IdleTransaction");
3584
+ }), T && m.log("[Tracing] flushing IdleTransaction");
3585
3585
  } else
3586
- E && m.log("[Tracing] No active IdleTransaction");
3586
+ T && 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), E && m.log("Starting heartbeat"), this._pingHeartbeat();
3613
+ this.spanRecorder = new yl(n, r, this.spanContext().spanId, t), T && 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 || (E && m.log("[Tracing] Received finish signal for idle transaction."), this._restartIdleTimeout(), this._autoFinishAllowed = !0);
3646
+ this._autoFinishAllowed || (T && 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 }), E && m.log(`[Tracing] pushActivity: ${t}`), this.activities[t] = !0, E && m.log("[Tracing] new activities count", Object.keys(this.activities).length);
3661
+ this.cancelIdleTimeout(void 0, { restartOnChildSpanChange: !this._idleTimeoutCanceledPermanently }), T && m.log(`[Tracing] pushActivity: ${t}`), this.activities[t] = !0, T && 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] && (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) {
3668
+ if (this.activities[t] && (T && m.log(`[Tracing] popActivity ${t}`), delete this.activities[t], T && 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 && (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();
3681
+ t === this._prevHeartbeatString ? this._heartbeatCounter++ : this._heartbeatCounter = 1, this._prevHeartbeatString = t, this._heartbeatCounter >= 3 ? this._autoFinishAllowed && (T && 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
- E && m.log(`pinging Heartbeat -> current counter: ${this._heartbeatCounter}`), setTimeout(() => {
3687
+ T && 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 ? (E && // eslint-disable-next-line deprecation/deprecation
3699
- m.log(`[Tracing] starting ${e.op} transaction - ${K(e).description}`), e) : (E && m.log(
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 ? (T && // eslint-disable-next-line deprecation/deprecation
3699
+ m.log(`[Tracing] starting ${e.op} transaction - ${K(e).description}`), e) : (T && 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)) : (E && m.log(
3703
+ ), e)) : (T && 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) : (E && m.warn("[Tracing] Discarding transaction because of invalid sample rate."), e.sampled = !1, e);
3705
+ ), e.sampled = !1, e) : (T && 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") ? (E && m.warn(
3708
+ return to(e) || !(typeof e == "number" || typeof e == "boolean") ? (T && 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 ? (E && m.warn(`[Tracing] Given sample rate is invalid. Sample rate must be between 0 and 1. Got ${e}.`), !1) : !0;
3712
+ ), !1) : e < 0 || e > 1 ? (T && 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 && (E && m.error(
3722
+ s !== i && (T && 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
- E && m.log(`Integration skipped because it was already installed: ${t.name}`);
3842
+ T && 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
- E && m.log(`Integration installed: ${t.name}`);
3855
+ T && 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) : E && m.warn("No DSN provided, client will not send events."), this._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) : T && 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
- E && m.log(li);
3934
+ T && 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
- E && m.log(li);
3961
+ T && 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" ? E && m.warn("Discarded session because of missing or non-string release") : (this.sendSession(t), nt(t, { init: !1 }));
3976
+ typeof t.release != "string" ? T && 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 E && m.warn(`Cannot retrieve integration ${t.id} from the current Client`), null;
4061
+ return T && 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
- E && m.log(`Recording outcome: "${i}"${s > 1 ? ` (${s} times)` : ""}`), this._outcomes[i] = (this._outcomes[i] || 0) + s;
4101
+ T && 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
- E && m.log(`Flushing aggregated metrics, number of metrics: ${t.length}`);
4108
+ T && 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 (E) {
4229
+ if (T) {
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
- E && m.error("Error while sending event:", n);
4315
+ T && m.error("Error while sending event:", n);
4316
4316
  });
4317
- E && m.error("Transport disabled");
4317
+ T && 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 && (E ? m.enable() : Re(() => {
4382
+ t.debug === !0 && (T ? 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) && E && m.warn(`Sentry responded with status code ${d.statusCode} to sent event.`), r = To(r, d), d),
4418
+ (d) => (d.statusCode !== void 0 && (d.statusCode < 200 || d.statusCode >= 300) && T && 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 E && m.error("Skipped sending event because buffer is full."), u("queue_overflow"), Tt();
4427
+ return T && 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) ? (E && m.warn(`Event dropped due to being internal Sentry Error.
4531
- Event: ${Ue(e)}`), !0) : id(e, t.ignoreErrors) ? (E && m.warn(
4530
+ return t.ignoreInternal && ld(e) ? (T && m.warn(`Event dropped due to being internal Sentry Error.
4531
+ Event: ${Ue(e)}`), !0) : id(e, t.ignoreErrors) ? (T && m.warn(
4532
4532
  `Event dropped due to being matched by \`ignoreErrors\` option.
4533
4533
  Event: ${Ue(e)}`
4534
- ), !0) : od(e, t.ignoreTransactions) ? (E && m.warn(
4534
+ ), !0) : od(e, t.ignoreTransactions) ? (T && m.warn(
4535
4535
  `Event dropped due to being matched by \`ignoreTransactions\` option.
4536
4536
  Event: ${Ue(e)}`
4537
- ), !0) : ad(e, t.denyUrls) ? (E && m.warn(
4537
+ ), !0) : ad(e, t.denyUrls) ? (T && 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 : (E && m.warn(
4543
+ ), !0) : cd(e, t.allowUrls) ? !1 : (T && 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}`)), E && t.length === 0 && m.error(`Could not extract message for event ${Ue(e)}`), t;
4580
+ return n && n.value && (t.push(n.value), n.type && t.push(`${n.type}: ${n.value}`)), T && 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 E && m.error(`Cannot extract url for event ${Ue(e)}`), null;
4606
+ return T && 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__, k = O;
4630
+ const W = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, w = A;
4631
4631
  function pd() {
4632
- k.document ? k.document.addEventListener("visibilitychange", () => {
4632
+ w.document ? w.document.addEventListener("visibilitychange", () => {
4633
4633
  const e = it();
4634
- if (k.document.hidden && e) {
4634
+ if (w.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 = k.performance.timing, t = k.performance.navigation.type, n = {
4646
+ const e = w.performance.timing, t = w.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 = () => k.__WEB_VITALS_POLYFILL__ ? k.performance && (performance.getEntriesByType && performance.getEntriesByType("navigation")[0] || md()) : k.performance && performance.getEntriesByType && performance.getEntriesByType("navigation")[0], fs = () => {
4654
+ }, Qn = () => w.__WEB_VITALS_POLYFILL__ ? w.performance && (performance.getEntriesByType && performance.getEntriesByType("navigation")[0] || md()) : w.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 && (k.document && k.document.prerendering || fs() > 0 ? r = "prerender" : r = n.type.replace(/_/g, "-")), {
4660
+ return n && (w.document && w.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" || k.document.visibilityState === "hidden") && (e(r), t && (removeEventListener("visibilitychange", n, !0), removeEventListener("pagehide", n, !0)));
4690
+ (r.type === "pagehide" || w.document.visibilityState === "hidden") && (e(r), t && (removeEventListener("visibilitychange", n, !0), removeEventListener("pagehide", n, !0)));
4691
4691
  };
4692
- k.document && (addEventListener("visibilitychange", n, !0), addEventListener("pagehide", n, !0));
4692
+ w.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
- k.document && k.document.visibilityState && (On = k.document.visibilityState === "hidden" && !k.document.prerendering ? 0 : 1 / 0);
4714
+ w.document && w.document.visibilityState && (On = w.document.visibilityState === "hidden" && !w.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
- k.document && addEventListener(a, o, { once: !0, capture: !0 });
4810
+ w.document && addEventListener(a, o, { once: !0, capture: !0 });
4811
4811
  }), an(o, !0), o;
4812
4812
  }
4813
4813
  }, Fr = (e) => {
4814
- k.document && (k.document.prerendering ? addEventListener("prerenderingchange", () => Fr(e), !0) : k.document.readyState !== "complete" ? addEventListener("load", () => Fr(e), !0) : setTimeout(e, 0));
4814
+ w.document && (w.document.prerendering ? addEventListener("prerenderingchange", () => Fr(e), !0) : w.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 Z(e) {
4937
+ function te(e) {
4938
4938
  return e / 1e3;
4939
4939
  }
4940
4940
  function hs() {
4941
- return k && k.addEventListener && k.performance;
4941
+ return w.addEventListener && w.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 && k.performance.mark("sentry-tracing-init");
4947
+ e.mark && w.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 = Z(fe + t.startTime), s = Z(t.duration);
4962
+ const r = te(fe + t.startTime), s = te(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 = Z(fe + t.startTime), s = Z(t.duration), i = {
4980
+ const r = te(fe + t.startTime), s = te(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 = Z(fe), r = Z(t.startTime);
5019
+ const n = te(fe), r = te(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
- (w) => w.duration === n.value && Si[w.name] !== void 0
5061
+ (v) => v.duration === n.value && Si[v.name] !== void 0
5062
5062
  ), s = $();
5063
5063
  if (!r || !s)
5064
5064
  return;
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;
5065
+ const i = Si[r.name], o = s.getOptions(), a = te(fe + r.startTime), c = te(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 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);
5087
+ const v = _ ? Yl([_], s.getDsn()) : void 0, k = s && s.getTransport();
5088
+ k && v && k.send(v).then(null, (P) => {
5089
+ W && m.error("Error while sending interaction:", P);
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 || !k.performance.getEntries || !fe)
5097
+ if (!t || !w.performance.getEntries || !fe)
5098
5098
  return;
5099
5099
  W && m.log("[Tracing] Adding & adjusting spans using Performance API");
5100
- const n = Z(fe), r = t.getEntries(), { op: s, start_timestamp: i } = K(e);
5100
+ const n = te(fe), r = t.getEntries(), { op: s, start_timestamp: i } = K(e);
5101
5101
  if (r.slice(yi).forEach((o) => {
5102
- const a = Z(o.startTime), c = Z(o.duration);
5102
+ const a = te(o.startTime), c = te(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 + Z(c), l = Math.abs((u - i) * 1e3), d = l - c;
5126
+ const c = Y[a].value, u = n + te(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 + Z(Y.fid.value),
5132
+ endTimestamp: o.value + te(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 + Z(a),
5164
- endTimestamp: r + Z(o)
5163
+ startTimestamp: r + te(a),
5164
+ endTimestamp: r + te(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 + Z(t.requestStart),
5173
- endTimestamp: n + Z(t.responseEnd)
5172
+ startTimestamp: n + te(t.requestStart),
5173
+ endTimestamp: n + te(t.responseEnd)
5174
5174
  }), wt(e, {
5175
5175
  op: "browser",
5176
5176
  origin: "auto.browser.browser.metrics",
5177
5177
  description: "response",
5178
- startTimestamp: n + Z(t.responseStart),
5179
- endTimestamp: n + Z(t.responseEnd)
5178
+ startTimestamp: n + te(t.responseStart),
5179
+ endTimestamp: n + te(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(k.location.origin);
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(w.location.origin);
5187
5187
  const c = i + r, u = c + s;
5188
5188
  wt(e, {
5189
- description: n.replace(k.location.origin, ""),
5189
+ description: n.replace(w.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 = k.navigator;
5198
+ const t = w.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: k.location
5240
+ location: w.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, k.location.origin).href;
5451
+ return new URL(e, w.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") : "", w = p ? Ti("baggage") : void 0, { traceId: R, dsc: I, parentSpanId: T, sampled: M } = Ru(S, w);
5483
+ const S = p ? Ti("sentry-trace") : "", v = p ? Ti("baggage") : void 0, { traceId: k, dsc: P, parentSpanId: I, sampled: E } = Ru(S, v);
5484
5484
  h = {
5485
- traceId: R,
5486
- parentSpanId: T,
5487
- parentSampled: M,
5485
+ traceId: k,
5486
+ parentSpanId: I,
5487
+ parentSampled: E,
5488
5488
  ...a,
5489
5489
  metadata: {
5490
5490
  // eslint-disable-next-line deprecation/deprecation
5491
5491
  ...a.metadata,
5492
- dynamicSamplingContext: I
5492
+ dynamicSamplingContext: P
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 } = k, _ = Ho(
5509
+ const { location: y } = w, _ = 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 && k.document && (k.document.addEventListener("readystatechange", () => {
5522
- ["interactive", "complete"].includes(k.document.readyState) && _.sendAutoFinishSignal();
5523
- }), ["interactive", "complete"].includes(k.document.readyState) && _.sendAutoFinishSignal()), _.registerBeforeFinishCallback((S) => {
5521
+ return p && w.document && (w.document.addEventListener("readystatechange", () => {
5522
+ ["interactive", "complete"].includes(w.document.readyState) && _.sendAutoFinishSignal();
5523
+ }), ["interactive", "complete"].includes(w.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 = k.location && k.location.href;
5538
- if (a.on && (a.on("startNavigationSpan", (w) => {
5537
+ let _, S = w.location && w.location.href;
5538
+ if (a.on && (a.on("startNavigationSpan", (v) => {
5539
5539
  _ && (W && m.log(`[Tracing] Finishing current transaction with op: ${K(_).op}`), _.end()), _ = o({
5540
5540
  op: "navigation",
5541
- ...w
5541
+ ...v
5542
5542
  });
5543
- }), a.on("startPageLoadSpan", (w) => {
5543
+ }), a.on("startPageLoadSpan", (v) => {
5544
5544
  _ && (W && m.log(`[Tracing] Finishing current transaction with op: ${K(_).op}`), _.end()), _ = o({
5545
5545
  op: "pageload",
5546
- ...w
5546
+ ...v
5547
5547
  });
5548
- })), n.instrumentPageLoad && a.emit && k.location) {
5549
- const w = {
5550
- name: k.location.pathname,
5548
+ })), n.instrumentPageLoad && a.emit && w.location) {
5549
+ const v = {
5550
+ name: w.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, w);
5558
+ gf(a, v);
5559
5559
  }
5560
- n.instrumentNavigation && a.emit && k.location && Gn(({ to: w, from: R }) => {
5561
- if (R === void 0 && S && S.indexOf(w) !== -1) {
5560
+ n.instrumentNavigation && a.emit && w.location && Gn(({ to: v, from: k }) => {
5561
+ if (k === void 0 && S && S.indexOf(v) !== -1) {
5562
5562
  S = void 0;
5563
5563
  return;
5564
5564
  }
5565
- if (R !== w) {
5565
+ if (k !== v) {
5566
5566
  S = void 0;
5567
- const I = {
5568
- name: k.location.pathname,
5567
+ const P = {
5568
+ name: w.location.pathname,
5569
5569
  origin: "auto.navigation.browser",
5570
5570
  attributes: {
5571
5571
  [he]: "url"
5572
5572
  }
5573
5573
  };
5574
- oa(a, I);
5574
+ oa(a, P);
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 } = k, l = {
5621
+ const { location: u } = w, 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
- k.document && addEventListener(s, r, { once: !1, capture: !0 });
5642
+ w.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 = O;
5683
+ const B = A;
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 && 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);
6506
+ t.setTimeout && ne(B, "setTimeout", Ri), t.setInterval && ne(B, "setInterval", Ri), t.requestAnimationFrame && ne(B, "requestAnimationFrame", Ip), t.XMLHttpRequest && "XMLHttpRequest" in B && ne(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" && ee(n, s, function(i) {
6548
+ s in n && typeof n[s] == "function" && ne(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") || (ee(n, "addEventListener", function(r) {
6566
+ !n || !n.hasOwnProperty || !n.hasOwnProperty("addEventListener") || (ne(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
- }), ee(
6599
+ }), ne(
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 = 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;
6650
+ const j = A, 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 Q;
6664
+ var ee;
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
- })(Q || (Q = {}));
6667
+ })(ee || (ee = {}));
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: w, keepIframeSrcFn: R, newlyAddedElement: I = !1 } = t, T = hh(n, r);
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: v, keepIframeSrcFn: k, newlyAddedElement: P = !1 } = t, I = hh(n, r);
7013
7013
  switch (e.nodeType) {
7014
7014
  case e.DOCUMENT_NODE:
7015
7015
  return e.compatMode !== "CSS1Compat" ? {
7016
- type: Q.Document,
7016
+ type: ee.Document,
7017
7017
  childNodes: [],
7018
7018
  compatMode: e.compatMode
7019
7019
  } : {
7020
- type: Q.Document,
7020
+ type: ee.Document,
7021
7021
  childNodes: []
7022
7022
  };
7023
7023
  case e.DOCUMENT_TYPE_NODE:
7024
7024
  return {
7025
- type: Q.DocumentType,
7025
+ type: ee.DocumentType,
7026
7026
  name: e.name,
7027
7027
  publicId: e.publicId,
7028
7028
  systemId: e.systemId,
7029
- rootId: T
7029
+ rootId: I
7030
7030
  };
7031
7031
  case e.ELEMENT_NODE:
7032
7032
  return gh(e, {
@@ -7040,10 +7040,11 @@ function ph(e, t) {
7040
7040
  maskInputFn: y,
7041
7041
  dataURLOptions: _,
7042
7042
  inlineImages: S,
7043
- recordCanvas: w,
7044
- keepIframeSrcFn: R,
7045
- newlyAddedElement: I,
7046
- rootId: T,
7043
+ recordCanvas: v,
7044
+ keepIframeSrcFn: k,
7045
+ newlyAddedElement: P,
7046
+ rootId: I,
7047
+ maskAllText: a,
7047
7048
  maskTextClass: u,
7048
7049
  unmaskTextClass: l,
7049
7050
  maskTextSelector: d,
@@ -7059,19 +7060,19 @@ function ph(e, t) {
7059
7060
  maskTextFn: g,
7060
7061
  maskInputOptions: h,
7061
7062
  maskInputFn: y,
7062
- rootId: T
7063
+ rootId: I
7063
7064
  });
7064
7065
  case e.CDATA_SECTION_NODE:
7065
7066
  return {
7066
- type: Q.CDATA,
7067
+ type: ee.CDATA,
7067
7068
  textContent: "",
7068
- rootId: T
7069
+ rootId: I
7069
7070
  };
7070
7071
  case e.COMMENT_NODE:
7071
7072
  return {
7072
- type: Q.Comment,
7073
+ type: ee.Comment,
7073
7074
  textContent: e.textContent || "",
7074
- rootId: T
7075
+ rootId: I
7075
7076
  };
7076
7077
  default:
7077
7078
  return !1;
@@ -7111,103 +7112,103 @@ function mh(e, t) {
7111
7112
  });
7112
7113
  }
7113
7114
  return {
7114
- type: Q.Text,
7115
+ type: ee.Text,
7115
7116
  textContent: f || "",
7116
7117
  isStyle: p,
7117
7118
  rootId: l
7118
7119
  };
7119
7120
  }
7120
7121
  function gh(e, t) {
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 = {};
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, maskAllText: y, maskTextClass: _, unmaskTextClass: S, maskTextSelector: v, unmaskTextSelector: k } = t, P = uh(e, r, s, i), I = Zp(e);
7123
+ let E = {};
7123
7124
  const M = e.attributes.length;
7124
7125
  for (let b = 0; b < M; b++) {
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));
7126
+ const R = e.attributes[b];
7127
+ R.name && !Ma(I, R.name, R.value) && (E[R.name] = xa(n, I, Rt(R.name), R.value, e, c));
7127
7128
  }
7128
7129
  if (I === "link" && o) {
7129
7130
  const b = Array.from(n.styleSheets).find((z) => z.href === e.href);
7130
- let v = null;
7131
- b && (v = Ln(b)), v && (delete T.rel, delete T.href, T._cssText = $n(v, b.href));
7131
+ let R = null;
7132
+ b && (R = Ln(b)), R && (delete E.rel, delete E.href, E._cssText = $n(R, b.href));
7132
7133
  }
7133
7134
  if (I === "style" && e.sheet && !(e.innerText || e.textContent || "").trim().length) {
7134
7135
  const b = Ln(e.sheet);
7135
- b && (T._cssText = $n(b, vs()));
7136
+ b && (E._cssText = $n(b, vs()));
7136
7137
  }
7137
7138
  if (I === "input" || I === "textarea" || I === "select" || I === "option") {
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,
7139
+ const b = e, R = bs(b), z = Pn(b, zr(I), R), Q = b.checked;
7140
+ if (R !== "submit" && R !== "button" && z) {
7141
+ const Z = Ct(b, _, v, S, k, er({
7142
+ type: R,
7142
7143
  tagName: zr(I),
7143
7144
  maskInputOptions: a
7144
7145
  }));
7145
- T.value = Jt({
7146
- isMasked: te,
7146
+ E.value = Jt({
7147
+ isMasked: Z,
7147
7148
  element: b,
7148
7149
  value: z,
7149
7150
  maskInputFn: u
7150
7151
  });
7151
7152
  }
7152
- J && (T.checked = J);
7153
+ Q && (E.checked = Q);
7153
7154
  }
7154
- if (I === "option" && (e.selected && !a.select ? T.selected = !0 : delete T.selected), I === "canvas" && f) {
7155
+ if (I === "option" && (e.selected && !a.select ? E.selected = !0 : delete E.selected), I === "canvas" && f) {
7155
7156
  if (e.__context === "2d")
7156
- Xp(e) || (T.rr_dataURL = e.toDataURL(l.type, l.quality));
7157
+ Xp(e) || (E.rr_dataURL = e.toDataURL(l.type, l.quality));
7157
7158
  else if (!("__context" in e)) {
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);
7159
+ const b = e.toDataURL(l.type, l.quality), R = document.createElement("canvas");
7160
+ R.width = e.width, R.height = e.height;
7161
+ const z = R.toDataURL(l.type, l.quality);
7162
+ b !== z && (E.rr_dataURL = b);
7162
7163
  }
7163
7164
  }
7164
7165
  if (I === "img" && d) {
7165
7166
  lt || (lt = n.createElement("canvas"), Ai = lt.getContext("2d"));
7166
- const b = e, v = b.crossOrigin;
7167
+ const b = e, R = b.crossOrigin;
7167
7168
  b.crossOrigin = "anonymous";
7168
7169
  const z = () => {
7169
7170
  b.removeEventListener("load", z);
7170
7171
  try {
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}`);
7172
+ lt.width = b.naturalWidth, lt.height = b.naturalHeight, Ai.drawImage(b, 0, 0), E.rr_dataURL = lt.toDataURL(l.type, l.quality);
7173
+ } catch (Q) {
7174
+ console.warn(`Cannot inline img src=${b.currentSrc}! Error: ${Q}`);
7174
7175
  }
7175
- v ? T.crossOrigin = v : b.removeAttribute("crossorigin");
7176
+ R ? E.crossOrigin = R : b.removeAttribute("crossorigin");
7176
7177
  };
7177
7178
  b.complete && b.naturalWidth !== 0 ? z() : b.addEventListener("load", z);
7178
7179
  }
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,
7180
+ if ((I === "audio" || I === "video") && (E.rr_mediaState = e.paused ? "paused" : "played", E.rr_mediaCurrentTime = e.currentTime), h || (e.scrollLeft && (E.rr_scrollLeft = e.scrollLeft), e.scrollTop && (E.rr_scrollTop = e.scrollTop)), P) {
7181
+ const { width: b, height: R } = e.getBoundingClientRect();
7182
+ E = {
7183
+ class: E.class,
7183
7184
  rr_width: `${b}px`,
7184
- rr_height: `${v}px`
7185
+ rr_height: `${R}px`
7185
7186
  };
7186
7187
  }
7187
- I === "iframe" && !p(T.src) && (e.contentDocument || (T.rr_src = T.src), delete T.src);
7188
- let A;
7188
+ I === "iframe" && !p(E.src) && (e.contentDocument || (E.rr_src = E.src), delete E.src);
7189
+ let X;
7189
7190
  try {
7190
- customElements.get(I) && (A = !0);
7191
+ customElements.get(I) && (X = !0);
7191
7192
  } catch {
7192
7193
  }
7193
7194
  return {
7194
- type: Q.Element,
7195
+ type: ee.Element,
7195
7196
  tagName: I,
7196
- attributes: T,
7197
+ attributes: E,
7197
7198
  childNodes: [],
7198
7199
  isSVG: ch(e) || void 0,
7199
- needBlock: R,
7200
+ needBlock: P,
7200
7201
  rootId: g,
7201
- isCustom: A
7202
+ isCustom: X
7202
7203
  };
7203
7204
  }
7204
7205
  function U(e) {
7205
7206
  return e == null ? "" : e.toLowerCase();
7206
7207
  }
7207
7208
  function _h(e, t) {
7208
- if (t.comment && e.type === Q.Comment)
7209
+ if (t.comment && e.type === ee.Comment)
7209
7210
  return !0;
7210
- if (e.type === Q.Element) {
7211
+ if (e.type === ee.Element) {
7211
7212
  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")))
7212
7213
  return !0;
7213
7214
  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")))
@@ -7230,9 +7231,9 @@ function _h(e, t) {
7230
7231
  return !1;
7231
7232
  }
7232
7233
  function gt(e, t) {
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, {
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: v = {}, inlineImages: k = !1, recordCanvas: P = !1, onSerialize: I, onIframeLoad: E, iframeLoadTimeout: M = 5e3, onStylesheetLoad: X, stylesheetLoadTimeout: b = 5e3, keepIframeSrcFn: R = () => !1, newlyAddedElement: z = !1 } = t;
7235
+ let { preserveWhiteSpace: Q = !0 } = t;
7236
+ const Z = ph(e, {
7236
7237
  doc: n,
7237
7238
  mirror: r,
7238
7239
  blockClass: s,
@@ -7248,29 +7249,29 @@ function gt(e, t) {
7248
7249
  maskAttributeFn: g,
7249
7250
  maskTextFn: y,
7250
7251
  maskInputFn: _,
7251
- dataURLOptions: w,
7252
- inlineImages: R,
7253
- recordCanvas: I,
7254
- keepIframeSrcFn: z,
7255
- newlyAddedElement: J
7252
+ dataURLOptions: v,
7253
+ inlineImages: k,
7254
+ recordCanvas: P,
7255
+ keepIframeSrcFn: R,
7256
+ newlyAddedElement: z
7256
7257
  });
7257
- if (!ne)
7258
+ if (!Z)
7258
7259
  return console.warn(e, "not serialized"), null;
7259
7260
  let le;
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 });
7261
+ r.hasNode(e) ? le = r.getId(e) : _h(Z, S) || !Q && Z.type === ee.Text && !Z.isStyle && !Z.textContent.replace(/^\s+|\s+$/gm, "").length ? le = Qt : le = Ts();
7262
+ const F = Object.assign(Z, { id: le });
7262
7263
  if (r.add(e, F), le === Qt)
7263
7264
  return null;
7264
- T && T(e);
7265
+ I && I(e);
7265
7266
  let pe = !f;
7266
- if (F.type === Q.Element) {
7267
+ if (F.type === ee.Element) {
7267
7268
  pe = pe && !F.needBlock, delete F.needBlock;
7268
- const X = e.shadowRoot;
7269
- X && qt(X) && (F.isShadowHost = !0);
7269
+ const J = e.shadowRoot;
7270
+ J && qt(J) && (F.isShadowHost = !0);
7270
7271
  }
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 = {
7272
+ if ((F.type === ee.Document || F.type === ee.Element) && pe) {
7273
+ S.headWhitespace && F.type === ee.Element && F.tagName === "head" && (Q = !1);
7274
+ const J = {
7274
7275
  doc: n,
7275
7276
  mirror: r,
7276
7277
  blockClass: s,
@@ -7288,32 +7289,32 @@ function gt(e, t) {
7288
7289
  maskTextFn: y,
7289
7290
  maskInputFn: _,
7290
7291
  slimDOMOptions: S,
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
7292
+ dataURLOptions: v,
7293
+ inlineImages: k,
7294
+ recordCanvas: P,
7295
+ preserveWhiteSpace: Q,
7296
+ onSerialize: I,
7297
+ onIframeLoad: E,
7298
+ iframeLoadTimeout: M,
7299
+ onStylesheetLoad: X,
7300
+ stylesheetLoadTimeout: b,
7301
+ keepIframeSrcFn: R
7301
7302
  };
7302
7303
  for (const ce of Array.from(e.childNodes)) {
7303
- const me = gt(ce, X);
7304
+ const me = gt(ce, J);
7304
7305
  me && F.childNodes.push(me);
7305
7306
  }
7306
7307
  if (zp(e) && e.shadowRoot)
7307
7308
  for (const ce of Array.from(e.shadowRoot.childNodes)) {
7308
- const me = gt(ce, X);
7309
+ const me = gt(ce, J);
7309
7310
  me && (qt(e.shadowRoot) && (me.isShadow = !0), F.childNodes.push(me));
7310
7311
  }
7311
7312
  }
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,
7313
+ return e.parentNode && Wt(e.parentNode) && qt(e.parentNode) && (F.isShadow = !0), F.type === ee.Element && F.tagName === "iframe" && dh(e, () => {
7314
+ const J = e.contentDocument;
7315
+ if (J && E) {
7316
+ const ce = gt(J, {
7317
+ doc: J,
7317
7318
  mirror: r,
7318
7319
  blockClass: s,
7319
7320
  blockSelector: i,
@@ -7330,22 +7331,22 @@ function gt(e, t) {
7330
7331
  maskTextFn: y,
7331
7332
  maskInputFn: _,
7332
7333
  slimDOMOptions: S,
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
7334
+ dataURLOptions: v,
7335
+ inlineImages: k,
7336
+ recordCanvas: P,
7337
+ preserveWhiteSpace: Q,
7338
+ onSerialize: I,
7339
+ onIframeLoad: E,
7340
+ iframeLoadTimeout: M,
7341
+ onStylesheetLoad: X,
7342
+ stylesheetLoadTimeout: b,
7343
+ keepIframeSrcFn: R
7343
7344
  });
7344
- ce && M(e, ce);
7345
+ ce && E(e, ce);
7345
7346
  }
7346
- }, A), F.type === Q.Element && F.tagName === "link" && F.attributes.rel === "stylesheet" && fh(e, () => {
7347
- if (b) {
7348
- const X = gt(e, {
7347
+ }, M), F.type === ee.Element && F.tagName === "link" && F.attributes.rel === "stylesheet" && fh(e, () => {
7348
+ if (X) {
7349
+ const J = gt(e, {
7349
7350
  doc: n,
7350
7351
  mirror: r,
7351
7352
  blockClass: s,
@@ -7363,23 +7364,23 @@ function gt(e, t) {
7363
7364
  maskTextFn: y,
7364
7365
  maskInputFn: _,
7365
7366
  slimDOMOptions: S,
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
7367
+ dataURLOptions: v,
7368
+ inlineImages: k,
7369
+ recordCanvas: P,
7370
+ preserveWhiteSpace: Q,
7371
+ onSerialize: I,
7372
+ onIframeLoad: E,
7373
+ iframeLoadTimeout: M,
7374
+ onStylesheetLoad: X,
7375
+ stylesheetLoadTimeout: b,
7376
+ keepIframeSrcFn: R
7376
7377
  });
7377
- X && b(e, X);
7378
+ J && X(e, J);
7378
7379
  }
7379
- }, v), F;
7380
+ }, b), F;
7380
7381
  }
7381
7382
  function yh(e, t) {
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 || {};
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: v, preserveWhiteSpace: k, onSerialize: P, onIframeLoad: I, iframeLoadTimeout: E, onStylesheetLoad: M, stylesheetLoadTimeout: X, keepIframeSrcFn: b = () => !1 } = t;
7383
7384
  return gt(e, {
7384
7385
  doc: e,
7385
7386
  mirror: n,
@@ -7425,16 +7426,16 @@ function yh(e, t) {
7425
7426
  headMetaAuthorship: !0,
7426
7427
  headMetaVerification: !0
7427
7428
  } : S === !1 ? {} : S,
7428
- dataURLOptions: w,
7429
+ dataURLOptions: v,
7429
7430
  inlineImages: f,
7430
7431
  recordCanvas: p,
7431
- preserveWhiteSpace: R,
7432
- onSerialize: I,
7433
- onIframeLoad: T,
7434
- iframeLoadTimeout: M,
7435
- onStylesheetLoad: A,
7436
- stylesheetLoadTimeout: b,
7437
- keepIframeSrcFn: v,
7432
+ preserveWhiteSpace: k,
7433
+ onSerialize: P,
7434
+ onIframeLoad: I,
7435
+ iframeLoadTimeout: E,
7436
+ onStylesheetLoad: M,
7437
+ stylesheetLoadTimeout: X,
7438
+ keepIframeSrcFn: b,
7438
7439
  newlyAddedElement: !1
7439
7440
  });
7440
7441
  }
@@ -7996,7 +7997,7 @@ function xh(e) {
7996
7997
  function Mh() {
7997
7998
  Gt = void 0;
7998
7999
  }
7999
- const N = (e) => Gt ? (...n) => {
8000
+ const O = (e) => Gt ? (...n) => {
8000
8001
  try {
8001
8002
  return e(...n);
8002
8003
  } catch (r) {
@@ -8035,7 +8036,7 @@ function za(e, t) {
8035
8036
  let r = window.MutationObserver || window.__rrMutationObserver;
8036
8037
  const s = ve([window, "optionalAccess", (o) => o.Zone, "optionalAccess", (o) => o.__symbol__, "optionalCall", (o) => o("MutationObserver")]);
8037
8038
  s && window[s] && (r = window[s]);
8038
- const i = new r(N((o) => {
8039
+ const i = new r(O((o) => {
8039
8040
  e.onMutation && e.onMutation(o) === !1 || n.processMutations.bind(n)(o);
8040
8041
  }));
8041
8042
  return i.observe(t, {
@@ -8053,10 +8054,10 @@ function Ah({ mousemoveCb: e, sampling: t, doc: n, mirror: r }) {
8053
8054
  };
8054
8055
  const s = typeof t.mousemove == "number" ? t.mousemove : 50, i = typeof t.mousemoveCallback == "number" ? t.mousemoveCallback : 500;
8055
8056
  let o = [], a;
8056
- const c = Zt(N((d) => {
8057
+ const c = Zt(O((d) => {
8057
8058
  const f = Date.now() - a;
8058
8059
  e(o.map((p) => (p.timeOffset -= f, p)), d), o = [], a = null;
8059
- }), i), u = N(Zt(N((d) => {
8060
+ }), i), u = O(Zt(O((d) => {
8060
8061
  const f = un(d), { clientX: p, clientY: h } = Wr(d) ? d.changedTouches[0] : d;
8061
8062
  a || (a = Fn()), o.push({
8062
8063
  x: p,
@@ -8071,7 +8072,7 @@ function Ah({ mousemoveCb: e, sampling: t, doc: n, mirror: r }) {
8071
8072
  ie("touchmove", u, n),
8072
8073
  ie("drag", u, n)
8073
8074
  ];
8074
- return N(() => {
8075
+ return O(() => {
8075
8076
  l.forEach((d) => d());
8076
8077
  });
8077
8078
  }
@@ -8104,12 +8105,12 @@ function Oh({ mouseInteractionCb: e, doc: t, mirror: n, blockClass: r, blockSele
8104
8105
  const y = Wr(f) ? f.changedTouches[0] : f;
8105
8106
  if (!y)
8106
8107
  return;
8107
- const _ = n.getId(p), { clientX: S, clientY: w } = y;
8108
- N(e)({
8108
+ const _ = n.getId(p), { clientX: S, clientY: v } = y;
8109
+ O(e)({
8109
8110
  type: re[g],
8110
8111
  id: _,
8111
8112
  x: S,
8112
- y: w,
8113
+ y: v,
8113
8114
  ...h !== null && { pointerType: h }
8114
8115
  });
8115
8116
  };
@@ -8127,12 +8128,12 @@ function Oh({ mouseInteractionCb: e, doc: t, mirror: n, blockClass: r, blockSele
8127
8128
  return;
8128
8129
  }
8129
8130
  c.push(ie(f, p, t));
8130
- }), N(() => {
8131
+ }), O(() => {
8131
8132
  c.forEach((d) => d());
8132
8133
  });
8133
8134
  }
8134
8135
  function Wa({ scrollCb: e, doc: t, mirror: n, blockClass: r, blockSelector: s, unblockSelector: i, sampling: o }) {
8135
- const a = N(Zt(N((c) => {
8136
+ const a = O(Zt(O((c) => {
8136
8137
  const u = un(c);
8137
8138
  if (!u || ye(u, r, s, i, !0))
8138
8139
  return;
@@ -8155,7 +8156,7 @@ function Wa({ scrollCb: e, doc: t, mirror: n, blockClass: r, blockSelector: s, u
8155
8156
  }
8156
8157
  function Nh({ viewportResizeCb: e }, { win: t }) {
8157
8158
  let n = -1, r = -1;
8158
- const s = N(Zt(N(() => {
8159
+ const s = O(Zt(O(() => {
8159
8160
  const i = Na(), o = Da();
8160
8161
  (n !== i || r !== o) && (e({
8161
8162
  width: Number(o),
@@ -8166,73 +8167,73 @@ function Nh({ viewportResizeCb: e }, { win: t }) {
8166
8167
  }
8167
8168
  const Dh = ["INPUT", "TEXTAREA", "SELECT"], Fi = /* @__PURE__ */ new WeakMap();
8168
8169
  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 }) {
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))
8170
+ function y(E) {
8171
+ let M = un(E);
8172
+ const X = E.isTrusted, b = M && zr(M.tagName);
8173
+ if (b === "OPTION" && (M = M.parentElement), !M || !b || Dh.indexOf(b) < 0 || ye(M, r, s, i, !0))
8173
8174
  return;
8174
- const z = A;
8175
- if (z.classList.contains(o) || a && z.matches(a))
8175
+ const R = M;
8176
+ if (R.classList.contains(o) || a && R.matches(a))
8176
8177
  return;
8177
- const J = bs(A);
8178
- let te = Pn(z, v, J), ne = !1;
8178
+ const z = bs(M);
8179
+ let Q = Pn(R, b, z), Z = !1;
8179
8180
  const le = er({
8180
8181
  maskInputOptions: c,
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({
8182
+ tagName: b,
8183
+ type: z
8184
+ }), F = Ct(M, f, h, p, g, le);
8185
+ (z === "radio" || z === "checkbox") && (Z = M.checked), Q = Jt({
8185
8186
  isMasked: F,
8186
- element: A,
8187
- value: te,
8187
+ element: M,
8188
+ value: Q,
8188
8189
  maskInputFn: u
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) {
8190
+ }), _(M, d ? { text: Q, isChecked: Z, userTriggered: X } : { text: Q, isChecked: Z });
8191
+ const pe = M.name;
8192
+ z === "radio" && pe && Z && t.querySelectorAll(`input[type="radio"][name="${pe}"]`).forEach((J) => {
8193
+ if (J !== M) {
8193
8194
  const ce = Jt({
8194
8195
  isMasked: F,
8195
- element: X,
8196
- value: Pn(X, v, J),
8196
+ element: J,
8197
+ value: Pn(J, b, z),
8197
8198
  maskInputFn: u
8198
8199
  });
8199
- _(X, d ? { text: ce, isChecked: !ne, userTriggered: !1 } : { text: ce, isChecked: !ne });
8200
+ _(J, d ? { text: ce, isChecked: !Z, userTriggered: !1 } : { text: ce, isChecked: !Z });
8200
8201
  }
8201
8202
  });
8202
8203
  }
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
8204
+ function _(E, M) {
8205
+ const X = Fi.get(E);
8206
+ if (!X || X.text !== M.text || X.isChecked !== M.isChecked) {
8207
+ Fi.set(E, M);
8208
+ const b = n.getId(E);
8209
+ O(e)({
8210
+ ...M,
8211
+ id: b
8211
8212
  });
8212
8213
  }
8213
8214
  }
8214
- const w = (l.input === "last" ? ["change"] : ["input", "change"]).map((M) => ie(M, N(y), t)), R = t.defaultView;
8215
- if (!R)
8215
+ const v = (l.input === "last" ? ["change"] : ["input", "change"]).map((E) => ie(E, O(y), t)), k = t.defaultView;
8216
+ if (!k)
8216
8217
  return () => {
8217
- w.forEach((M) => M());
8218
+ v.forEach((E) => E());
8218
8219
  };
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"]
8220
+ const P = k.Object.getOwnPropertyDescriptor(k.HTMLInputElement.prototype, "value"), I = [
8221
+ [k.HTMLInputElement.prototype, "value"],
8222
+ [k.HTMLInputElement.prototype, "checked"],
8223
+ [k.HTMLSelectElement.prototype, "value"],
8224
+ [k.HTMLTextAreaElement.prototype, "value"],
8225
+ [k.HTMLSelectElement.prototype, "selectedIndex"],
8226
+ [k.HTMLOptionElement.prototype, "selected"]
8226
8227
  ];
8227
- return I && I.set && w.push(...T.map((M) => Aa(M[0], M[1], {
8228
+ return P && P.set && v.push(...I.map((E) => Aa(E[0], E[1], {
8228
8229
  set() {
8229
- N(y)({
8230
+ O(y)({
8230
8231
  target: this,
8231
8232
  isTrusted: !1
8232
8233
  });
8233
8234
  }
8234
- }, !1, R))), N(() => {
8235
- w.forEach((M) => M());
8235
+ }, !1, k))), O(() => {
8236
+ v.forEach((E) => E());
8236
8237
  });
8237
8238
  }
8238
8239
  function Bn(e) {
@@ -8262,7 +8263,7 @@ function Ph({ styleSheetRuleCb: e, mirror: t, stylesheetManager: n }, { win: r }
8262
8263
  };
8263
8264
  const s = r.CSSStyleSheet.prototype.insertRule;
8264
8265
  r.CSSStyleSheet.prototype.insertRule = new Proxy(s, {
8265
- apply: N((l, d, f) => {
8266
+ apply: O((l, d, f) => {
8266
8267
  const [p, h] = f, { id: g, styleId: y } = Fe(d, t, n.styleMirror);
8267
8268
  return (g && g !== -1 || y && y !== -1) && e({
8268
8269
  id: g,
@@ -8273,7 +8274,7 @@ function Ph({ styleSheetRuleCb: e, mirror: t, stylesheetManager: n }, { win: r }
8273
8274
  });
8274
8275
  const i = r.CSSStyleSheet.prototype.deleteRule;
8275
8276
  r.CSSStyleSheet.prototype.deleteRule = new Proxy(i, {
8276
- apply: N((l, d, f) => {
8277
+ apply: O((l, d, f) => {
8277
8278
  const [p] = f, { id: h, styleId: g } = Fe(d, t, n.styleMirror);
8278
8279
  return (h && h !== -1 || g && g !== -1) && e({
8279
8280
  id: h,
@@ -8284,7 +8285,7 @@ function Ph({ styleSheetRuleCb: e, mirror: t, stylesheetManager: n }, { win: r }
8284
8285
  });
8285
8286
  let o;
8286
8287
  r.CSSStyleSheet.prototype.replace && (o = r.CSSStyleSheet.prototype.replace, r.CSSStyleSheet.prototype.replace = new Proxy(o, {
8287
- apply: N((l, d, f) => {
8288
+ apply: O((l, d, f) => {
8288
8289
  const [p] = f, { id: h, styleId: g } = Fe(d, t, n.styleMirror);
8289
8290
  return (h && h !== -1 || g && g !== -1) && e({
8290
8291
  id: h,
@@ -8295,7 +8296,7 @@ function Ph({ styleSheetRuleCb: e, mirror: t, stylesheetManager: n }, { win: r }
8295
8296
  }));
8296
8297
  let a;
8297
8298
  r.CSSStyleSheet.prototype.replaceSync && (a = r.CSSStyleSheet.prototype.replaceSync, r.CSSStyleSheet.prototype.replaceSync = new Proxy(a, {
8298
- apply: N((l, d, f) => {
8299
+ apply: O((l, d, f) => {
8299
8300
  const [p] = f, { id: h, styleId: g } = Fe(d, t, n.styleMirror);
8300
8301
  return (h && h !== -1 || g && g !== -1) && e({
8301
8302
  id: h,
@@ -8312,7 +8313,7 @@ function Ph({ styleSheetRuleCb: e, mirror: t, stylesheetManager: n }, { win: r }
8312
8313
  insertRule: d.prototype.insertRule,
8313
8314
  deleteRule: d.prototype.deleteRule
8314
8315
  }, d.prototype.insertRule = new Proxy(u[l].insertRule, {
8315
- apply: N((f, p, h) => {
8316
+ apply: O((f, p, h) => {
8316
8317
  const [g, y] = h, { id: _, styleId: S } = Fe(p.parentStyleSheet, t, n.styleMirror);
8317
8318
  return (_ && _ !== -1 || S && S !== -1) && e({
8318
8319
  id: _,
@@ -8329,7 +8330,7 @@ function Ph({ styleSheetRuleCb: e, mirror: t, stylesheetManager: n }, { win: r }
8329
8330
  }), f.apply(p, h);
8330
8331
  })
8331
8332
  }), d.prototype.deleteRule = new Proxy(u[l].deleteRule, {
8332
- apply: N((f, p, h) => {
8333
+ apply: O((f, p, h) => {
8333
8334
  const [g] = h, { id: y, styleId: _ } = Fe(p.parentStyleSheet, t, n.styleMirror);
8334
8335
  return (y && y !== -1 || _ && _ !== -1) && e({
8335
8336
  id: y,
@@ -8340,7 +8341,7 @@ function Ph({ styleSheetRuleCb: e, mirror: t, stylesheetManager: n }, { win: r }
8340
8341
  }), f.apply(p, h);
8341
8342
  })
8342
8343
  });
8343
- }), N(() => {
8344
+ }), O(() => {
8344
8345
  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]) => {
8345
8346
  d.prototype.insertRule = u[l].insertRule, d.prototype.deleteRule = u[l].deleteRule;
8346
8347
  });
@@ -8366,7 +8367,7 @@ function qa({ mirror: e, stylesheetManager: t }, n) {
8366
8367
  }
8367
8368
  return a;
8368
8369
  }
8369
- }), N(() => {
8370
+ }), O(() => {
8370
8371
  Object.defineProperty(n, "adoptedStyleSheets", {
8371
8372
  configurable: i.configurable,
8372
8373
  enumerable: i.enumerable,
@@ -8378,7 +8379,7 @@ function qa({ mirror: e, stylesheetManager: t }, n) {
8378
8379
  function $h({ styleDeclarationCb: e, mirror: t, ignoreCSSAttributes: n, stylesheetManager: r }, { win: s }) {
8379
8380
  const i = s.CSSStyleDeclaration.prototype.setProperty;
8380
8381
  s.CSSStyleDeclaration.prototype.setProperty = new Proxy(i, {
8381
- apply: N((a, c, u) => {
8382
+ apply: O((a, c, u) => {
8382
8383
  const [l, d, f] = u;
8383
8384
  if (n.has(l))
8384
8385
  return i.apply(c, [l, d, f]);
@@ -8397,7 +8398,7 @@ function $h({ styleDeclarationCb: e, mirror: t, ignoreCSSAttributes: n, styleshe
8397
8398
  });
8398
8399
  const o = s.CSSStyleDeclaration.prototype.removeProperty;
8399
8400
  return s.CSSStyleDeclaration.prototype.removeProperty = new Proxy(o, {
8400
- apply: N((a, c, u) => {
8401
+ apply: O((a, c, u) => {
8401
8402
  const [l] = u;
8402
8403
  if (n.has(l))
8403
8404
  return o.apply(c, [l]);
@@ -8411,12 +8412,12 @@ function $h({ styleDeclarationCb: e, mirror: t, ignoreCSSAttributes: n, styleshe
8411
8412
  index: Bn(c.parentRule)
8412
8413
  }), a.apply(c, u);
8413
8414
  })
8414
- }), N(() => {
8415
+ }), O(() => {
8415
8416
  s.CSSStyleDeclaration.prototype.setProperty = i, s.CSSStyleDeclaration.prototype.removeProperty = o;
8416
8417
  });
8417
8418
  }
8418
8419
  function Fh({ mediaInteractionCb: e, blockClass: t, blockSelector: n, unblockSelector: r, mirror: s, sampling: i, doc: o }) {
8419
- const a = N((u) => Zt(N((l) => {
8420
+ const a = O((u) => Zt(O((l) => {
8420
8421
  const d = un(l);
8421
8422
  if (!d || ye(d, t, n, r, !0))
8422
8423
  return;
@@ -8436,7 +8437,7 @@ function Fh({ mediaInteractionCb: e, blockClass: t, blockSelector: n, unblockSel
8436
8437
  ie("volumechange", a(3), o),
8437
8438
  ie("ratechange", a(4), o)
8438
8439
  ];
8439
- return N(() => {
8440
+ return O(() => {
8440
8441
  c.forEach((u) => u());
8441
8442
  });
8442
8443
  }
@@ -8457,7 +8458,7 @@ function Bh({ fontCb: e, doc: t }) {
8457
8458
  };
8458
8459
  const o = Is(t.fonts, "add", function(a) {
8459
8460
  return function(c) {
8460
- return tr(N(() => {
8461
+ return tr(O(() => {
8461
8462
  const u = s.get(c);
8462
8463
  u && (e(u), s.delete(c));
8463
8464
  }), 0), a.apply(this, [c]);
@@ -8465,14 +8466,14 @@ function Bh({ fontCb: e, doc: t }) {
8465
8466
  });
8466
8467
  return r.push(() => {
8467
8468
  n.FontFace = i;
8468
- }), r.push(o), N(() => {
8469
+ }), r.push(o), O(() => {
8469
8470
  r.forEach((a) => a());
8470
8471
  });
8471
8472
  }
8472
8473
  function Hh(e) {
8473
8474
  const { doc: t, mirror: n, blockClass: r, blockSelector: s, unblockSelector: i, selectionCb: o } = e;
8474
8475
  let a = !0;
8475
- const c = N(() => {
8476
+ const c = O(() => {
8476
8477
  const u = t.getSelection();
8477
8478
  if (!u || a && ve([u, "optionalAccess", (f) => f.isCollapsed]))
8478
8479
  return;
@@ -8521,7 +8522,7 @@ function jh(e, t = {}) {
8521
8522
  }, h = Hh(e), g = Uh(e), y = [];
8522
8523
  for (const _ of e.plugins)
8523
8524
  y.push(_.observer(_.callback, n, _.options));
8524
- return N(() => {
8525
+ return O(() => {
8525
8526
  _t.forEach((_) => _.reset()), r.disconnect(), s(), i(), o(), a(), c(), u(), l(), d(), f(), p(), h(), g(), y.forEach((_) => _());
8526
8527
  });
8527
8528
  }
@@ -8725,7 +8726,7 @@ class Wh {
8725
8726
  });
8726
8727
  }
8727
8728
  patchRootIdOnNode(t, n) {
8728
- t.type !== Q.Document && !t.rootId && (t.rootId = n), "childNodes" in t && t.childNodes.forEach((r) => {
8729
+ t.type !== ee.Document && !t.rootId && (t.rootId = n), "childNodes" in t && t.childNodes.forEach((r) => {
8729
8730
  this.patchRootIdOnNode(r, n);
8730
8731
  });
8731
8732
  }
@@ -8876,9 +8877,9 @@ class Vh {
8876
8877
  let G, Hn;
8877
8878
  const _e = Kp();
8878
8879
  function We(e = {}) {
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;
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: v, maskTextFn: k, maxCanvasSize: P = null, packFn: I, sampling: E = {}, dataURLOptions: M = {}, mousemoveWait: X, recordCanvas: b = !1, recordCrossOriginIframes: R = !1, recordAfter: z = e.recordAfter === "DOMContentLoaded" ? e.recordAfter : "load", userTriggeredOnInput: Q = !1, collectFonts: Z = !1, inlineImages: le = !1, plugins: F, keepIframeSrcFn: pe = () => !1, ignoreCSSAttributes: J = /* @__PURE__ */ new Set([]), errorHandler: ce, onMutation: me, getCanvasManager: or } = e;
8880
8881
  xh(ce);
8881
- const at = z ? window.parent === window : !0;
8882
+ const at = R ? window.parent === window : !0;
8882
8883
  let Pe = !1;
8883
8884
  if (!at)
8884
8885
  try {
@@ -8888,7 +8889,7 @@ function We(e = {}) {
8888
8889
  }
8889
8890
  if (at && !t)
8890
8891
  throw new Error("emit function is required");
8891
- b !== void 0 && M.mousemove === void 0 && (M.mousemove = b), _e.reset();
8892
+ X !== void 0 && E.mousemove === void 0 && (E.mousemove = X), _e.reset();
8892
8893
  const ct = g === !0 ? {
8893
8894
  color: !0,
8894
8895
  date: !0,
@@ -8921,59 +8922,59 @@ function We(e = {}) {
8921
8922
  } : _ || {};
8922
8923
  Eh();
8923
8924
  let ar, cr = 0;
8924
- const Os = (L) => {
8925
+ const Os = (D) => {
8925
8926
  for (const ge of F || [])
8926
- ge.eventProcessor && (L = ge.eventProcessor(L));
8927
- return T && !Pe && (L = T(L)), L;
8927
+ ge.eventProcessor && (D = ge.eventProcessor(D));
8928
+ return I && !Pe && (D = I(D)), D;
8928
8929
  };
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)]);
8930
+ G = (D, ge) => {
8931
+ const N = D;
8932
+ if (N.timestamp = Fn(), fr([_t, "access", (q) => q[0], "optionalAccess", (q) => q.isFrozen, "call", (q) => q()]) && N.type !== C.FullSnapshot && !(N.type === C.IncrementalSnapshot && N.data.source === x.Mutation) && _t.forEach((q) => q.unfreeze()), at)
8933
+ fr([t, "optionalCall", (q) => q(Os(N), ge)]);
8933
8934
  else if (Pe) {
8934
8935
  const q = {
8935
8936
  type: "rrweb",
8936
- event: Os(D),
8937
+ event: Os(N),
8937
8938
  origin: window.location.origin,
8938
8939
  isCheckout: ge
8939
8940
  };
8940
8941
  window.parent.postMessage(q, "*");
8941
8942
  }
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)
8943
+ if (N.type === C.FullSnapshot)
8944
+ ar = N, cr = 0;
8945
+ else if (N.type === C.IncrementalSnapshot) {
8946
+ if (N.data.source === x.Mutation && N.data.isAttachIframe)
8946
8947
  return;
8947
8948
  cr++;
8948
- const q = r && cr >= r, P = n && ar && D.timestamp - ar.timestamp > n;
8949
- (q || P) && lr(!0);
8949
+ const q = r && cr >= r, L = n && ar && N.timestamp - ar.timestamp > n;
8950
+ (q || L) && lr(!0);
8950
8951
  }
8951
8952
  };
8952
- const dn = (L) => {
8953
+ const dn = (D) => {
8953
8954
  G({
8954
8955
  type: C.IncrementalSnapshot,
8955
8956
  data: {
8956
8957
  source: x.Mutation,
8957
- ...L
8958
+ ...D
8958
8959
  }
8959
8960
  });
8960
- }, Ns = (L) => G({
8961
+ }, Ns = (D) => G({
8961
8962
  type: C.IncrementalSnapshot,
8962
8963
  data: {
8963
8964
  source: x.Scroll,
8964
- ...L
8965
+ ...D
8965
8966
  }
8966
- }), yc = (L) => G({
8967
+ }), yc = (D) => G({
8967
8968
  type: C.IncrementalSnapshot,
8968
8969
  data: {
8969
8970
  source: x.CanvasMutation,
8970
- ...L
8971
+ ...D
8971
8972
  }
8972
- }), Sc = (L) => G({
8973
+ }), Sc = (D) => G({
8973
8974
  type: C.IncrementalSnapshot,
8974
8975
  data: {
8975
8976
  source: x.AdoptedStyleSheet,
8976
- ...L
8977
+ ...D
8977
8978
  }
8978
8979
  }), Xe = new Yh({
8979
8980
  mutationCb: dn,
@@ -8982,11 +8983,11 @@ function We(e = {}) {
8982
8983
  mirror: _e,
8983
8984
  mutationCb: dn,
8984
8985
  stylesheetManager: Xe,
8985
- recordCrossOriginIframes: z,
8986
+ recordCrossOriginIframes: R,
8986
8987
  wrappedEmit: G
8987
8988
  });
8988
- for (const L of F || [])
8989
- L.getMirror && L.getMirror({
8989
+ for (const D of F || [])
8990
+ D.getMirror && D.getMirror({
8990
8991
  nodeMirror: _e,
8991
8992
  crossOriginIframeMirror: Je.crossOriginIframeMirror,
8992
8993
  crossOriginIframeStyleMirror: Je.crossOriginIframeStyleMirror
@@ -8994,20 +8995,20 @@ function We(e = {}) {
8994
8995
  const ur = new Vh(), Ds = Xh(or, {
8995
8996
  mirror: _e,
8996
8997
  win: window,
8997
- mutationCb: (L) => G({
8998
+ mutationCb: (D) => G({
8998
8999
  type: C.IncrementalSnapshot,
8999
9000
  data: {
9000
9001
  source: x.CanvasMutation,
9001
- ...L
9002
+ ...D
9002
9003
  }
9003
9004
  }),
9004
- recordCanvas: v,
9005
+ recordCanvas: b,
9005
9006
  blockClass: s,
9006
9007
  blockSelector: i,
9007
9008
  unblockSelector: o,
9008
- maxCanvasSize: I,
9009
- sampling: M.canvas,
9010
- dataURLOptions: A,
9009
+ maxCanvasSize: P,
9010
+ sampling: E.canvas,
9011
+ dataURLOptions: M,
9011
9012
  errorHandler: ce
9012
9013
  }), fn = typeof __RRWEB_EXCLUDE_SHADOW_DOM__ == "boolean" && __RRWEB_EXCLUDE_SHADOW_DOM__ ? new qh() : new Gh({
9013
9014
  mutationCb: dn,
@@ -9024,13 +9025,13 @@ function We(e = {}) {
9024
9025
  unmaskTextSelector: p,
9025
9026
  inlineStylesheet: h,
9026
9027
  maskInputOptions: ct,
9027
- dataURLOptions: A,
9028
+ dataURLOptions: M,
9028
9029
  maskAttributeFn: S,
9029
- maskTextFn: R,
9030
- maskInputFn: w,
9031
- recordCanvas: v,
9030
+ maskTextFn: k,
9031
+ maskInputFn: v,
9032
+ recordCanvas: b,
9032
9033
  inlineImages: le,
9033
- sampling: M,
9034
+ sampling: E,
9034
9035
  slimDOMOptions: $t,
9035
9036
  iframeManager: Je,
9036
9037
  stylesheetManager: Xe,
@@ -9039,7 +9040,7 @@ function We(e = {}) {
9039
9040
  processedNodeManager: ur
9040
9041
  },
9041
9042
  mirror: _e
9042
- }), lr = (L = !1) => {
9043
+ }), lr = (D = !1) => {
9043
9044
  G({
9044
9045
  type: C.Meta,
9045
9046
  data: {
@@ -9047,7 +9048,7 @@ function We(e = {}) {
9047
9048
  width: Da(),
9048
9049
  height: Na()
9049
9050
  }
9050
- }, L), Xe.reset(), fn.init(), _t.forEach((D) => D.lock());
9051
+ }, D), Xe.reset(), fn.init(), _t.forEach((N) => N.lock());
9051
9052
  const ge = yh(document, {
9052
9053
  mirror: _e,
9053
9054
  blockClass: s,
@@ -9061,20 +9062,20 @@ function We(e = {}) {
9061
9062
  inlineStylesheet: h,
9062
9063
  maskAllInputs: ct,
9063
9064
  maskAttributeFn: S,
9064
- maskInputFn: w,
9065
- maskTextFn: R,
9065
+ maskInputFn: v,
9066
+ maskTextFn: k,
9066
9067
  slimDOM: $t,
9067
- dataURLOptions: A,
9068
- recordCanvas: v,
9068
+ dataURLOptions: M,
9069
+ recordCanvas: b,
9069
9070
  inlineImages: le,
9070
- onSerialize: (D) => {
9071
- $a(D, _e) && Je.addIframe(D), Fa(D, _e) && Xe.trackLinkElement(D), qr(D) && fn.addShadowRoot(D.shadowRoot, document);
9071
+ onSerialize: (N) => {
9072
+ $a(N, _e) && Je.addIframe(N), Fa(N, _e) && Xe.trackLinkElement(N), qr(N) && fn.addShadowRoot(N.shadowRoot, document);
9072
9073
  },
9073
- onIframeLoad: (D, q) => {
9074
- Je.attachIframe(D, q), fn.observeAttachShadow(D);
9074
+ onIframeLoad: (N, q) => {
9075
+ Je.attachIframe(N, q), fn.observeAttachShadow(N);
9075
9076
  },
9076
- onStylesheetLoad: (D, q) => {
9077
- Xe.attachLinkElement(D, q);
9077
+ onStylesheetLoad: (N, q) => {
9078
+ Xe.attachLinkElement(N, q);
9078
9079
  },
9079
9080
  keepIframeSrcFn: pe
9080
9081
  });
@@ -9086,86 +9087,86 @@ function We(e = {}) {
9086
9087
  node: ge,
9087
9088
  initialOffset: Oa(window)
9088
9089
  }
9089
- }), _t.forEach((D) => D.unlock()), document.adoptedStyleSheets && document.adoptedStyleSheets.length > 0 && Xe.adoptStyleSheets(document.adoptedStyleSheets, _e.getId(document));
9090
+ }), _t.forEach((N) => N.unlock()), document.adoptedStyleSheets && document.adoptedStyleSheets.length > 0 && Xe.adoptStyleSheets(document.adoptedStyleSheets, _e.getId(document));
9090
9091
  };
9091
9092
  Hn = lr;
9092
9093
  try {
9093
- const L = [], ge = (q) => N(jh)({
9094
+ const D = [], ge = (q) => O(jh)({
9094
9095
  onMutation: me,
9095
9096
  mutationCb: dn,
9096
- mousemoveCb: (P, Qe) => G({
9097
+ mousemoveCb: (L, Qe) => G({
9097
9098
  type: C.IncrementalSnapshot,
9098
9099
  data: {
9099
9100
  source: Qe,
9100
- positions: P
9101
+ positions: L
9101
9102
  }
9102
9103
  }),
9103
- mouseInteractionCb: (P) => G({
9104
+ mouseInteractionCb: (L) => G({
9104
9105
  type: C.IncrementalSnapshot,
9105
9106
  data: {
9106
9107
  source: x.MouseInteraction,
9107
- ...P
9108
+ ...L
9108
9109
  }
9109
9110
  }),
9110
9111
  scrollCb: Ns,
9111
- viewportResizeCb: (P) => G({
9112
+ viewportResizeCb: (L) => G({
9112
9113
  type: C.IncrementalSnapshot,
9113
9114
  data: {
9114
9115
  source: x.ViewportResize,
9115
- ...P
9116
+ ...L
9116
9117
  }
9117
9118
  }),
9118
- inputCb: (P) => G({
9119
+ inputCb: (L) => G({
9119
9120
  type: C.IncrementalSnapshot,
9120
9121
  data: {
9121
9122
  source: x.Input,
9122
- ...P
9123
+ ...L
9123
9124
  }
9124
9125
  }),
9125
- mediaInteractionCb: (P) => G({
9126
+ mediaInteractionCb: (L) => G({
9126
9127
  type: C.IncrementalSnapshot,
9127
9128
  data: {
9128
9129
  source: x.MediaInteraction,
9129
- ...P
9130
+ ...L
9130
9131
  }
9131
9132
  }),
9132
- styleSheetRuleCb: (P) => G({
9133
+ styleSheetRuleCb: (L) => G({
9133
9134
  type: C.IncrementalSnapshot,
9134
9135
  data: {
9135
9136
  source: x.StyleSheetRule,
9136
- ...P
9137
+ ...L
9137
9138
  }
9138
9139
  }),
9139
- styleDeclarationCb: (P) => G({
9140
+ styleDeclarationCb: (L) => G({
9140
9141
  type: C.IncrementalSnapshot,
9141
9142
  data: {
9142
9143
  source: x.StyleDeclaration,
9143
- ...P
9144
+ ...L
9144
9145
  }
9145
9146
  }),
9146
9147
  canvasMutationCb: yc,
9147
- fontCb: (P) => G({
9148
+ fontCb: (L) => G({
9148
9149
  type: C.IncrementalSnapshot,
9149
9150
  data: {
9150
9151
  source: x.Font,
9151
- ...P
9152
+ ...L
9152
9153
  }
9153
9154
  }),
9154
- selectionCb: (P) => {
9155
+ selectionCb: (L) => {
9155
9156
  G({
9156
9157
  type: C.IncrementalSnapshot,
9157
9158
  data: {
9158
9159
  source: x.Selection,
9159
- ...P
9160
+ ...L
9160
9161
  }
9161
9162
  });
9162
9163
  },
9163
- customElementCb: (P) => {
9164
+ customElementCb: (L) => {
9164
9165
  G({
9165
9166
  type: C.IncrementalSnapshot,
9166
9167
  data: {
9167
9168
  source: x.CustomElement,
9168
- ...P
9169
+ ...L
9169
9170
  }
9170
9171
  });
9171
9172
  },
@@ -9179,37 +9180,37 @@ function We(e = {}) {
9179
9180
  unmaskTextSelector: p,
9180
9181
  maskInputOptions: ct,
9181
9182
  inlineStylesheet: h,
9182
- sampling: M,
9183
- recordCanvas: v,
9183
+ sampling: E,
9184
+ recordCanvas: b,
9184
9185
  inlineImages: le,
9185
- userTriggeredOnInput: te,
9186
- collectFonts: ne,
9186
+ userTriggeredOnInput: Q,
9187
+ collectFonts: Z,
9187
9188
  doc: q,
9188
9189
  maskAttributeFn: S,
9189
- maskInputFn: w,
9190
- maskTextFn: R,
9190
+ maskInputFn: v,
9191
+ maskTextFn: k,
9191
9192
  keepIframeSrcFn: pe,
9192
9193
  blockSelector: i,
9193
9194
  unblockSelector: o,
9194
9195
  slimDOMOptions: $t,
9195
- dataURLOptions: A,
9196
+ dataURLOptions: M,
9196
9197
  mirror: _e,
9197
9198
  iframeManager: Je,
9198
9199
  stylesheetManager: Xe,
9199
9200
  shadowDomManager: fn,
9200
9201
  processedNodeManager: ur,
9201
9202
  canvasManager: Ds,
9202
- ignoreCSSAttributes: X,
9203
+ ignoreCSSAttributes: J,
9203
9204
  plugins: fr([
9204
9205
  F,
9205
9206
  "optionalAccess",
9206
- (P) => P.filter,
9207
+ (L) => L.filter,
9207
9208
  "call",
9208
- (P) => P((Qe) => Qe.observer),
9209
+ (L) => L((Qe) => Qe.observer),
9209
9210
  "optionalAccess",
9210
- (P) => P.map,
9211
+ (L) => L.map,
9211
9212
  "call",
9212
- (P) => P((Qe) => ({
9213
+ (L) => L((Qe) => ({
9213
9214
  observer: Qe.observer,
9214
9215
  options: Qe.options,
9215
9216
  callback: (Ec) => G({
@@ -9224,29 +9225,29 @@ function We(e = {}) {
9224
9225
  }, {});
9225
9226
  Je.addLoadListener((q) => {
9226
9227
  try {
9227
- L.push(ge(q.contentDocument));
9228
- } catch (P) {
9229
- console.warn(P);
9228
+ D.push(ge(q.contentDocument));
9229
+ } catch (L) {
9230
+ console.warn(L);
9230
9231
  }
9231
9232
  });
9232
- const D = () => {
9233
- lr(), L.push(ge(document));
9233
+ const N = () => {
9234
+ lr(), D.push(ge(document));
9234
9235
  };
9235
- return document.readyState === "interactive" || document.readyState === "complete" ? D() : (L.push(ie("DOMContentLoaded", () => {
9236
+ return document.readyState === "interactive" || document.readyState === "complete" ? N() : (D.push(ie("DOMContentLoaded", () => {
9236
9237
  G({
9237
9238
  type: C.DomContentLoaded,
9238
9239
  data: {}
9239
- }), J === "DOMContentLoaded" && D();
9240
- })), L.push(ie("load", () => {
9240
+ }), z === "DOMContentLoaded" && N();
9241
+ })), D.push(ie("load", () => {
9241
9242
  G({
9242
9243
  type: C.Load,
9243
9244
  data: {}
9244
- }), J === "load" && D();
9245
+ }), z === "load" && N();
9245
9246
  }, window))), () => {
9246
- L.forEach((q) => q()), ur.destroy(), Hn = void 0, Mh();
9247
+ D.forEach((q) => q()), ur.destroy(), Hn = void 0, Mh();
9247
9248
  };
9248
- } catch (L) {
9249
- console.warn(L);
9249
+ } catch (D) {
9250
+ console.warn(D);
9250
9251
  }
9251
9252
  }
9252
9253
  function Kh(e) {
@@ -9305,7 +9306,7 @@ function tm(e) {
9305
9306
  };
9306
9307
  }
9307
9308
  function nm() {
9308
- ee(j, "open", function(e) {
9309
+ ne(j, "open", function(e) {
9309
9310
  return function(...t) {
9310
9311
  if (Be)
9311
9312
  try {
@@ -10597,26 +10598,26 @@ function bg(e, t, n) {
10597
10598
  if (!c)
10598
10599
  return null;
10599
10600
  if (!a || !zn(c, n.networkDetailAllowUrls) || zn(c, n.networkDetailDenyUrls)) {
10600
- const T = en(d), M = en(f);
10601
+ const I = en(d), E = en(f);
10601
10602
  return {
10602
10603
  startTimestamp: s,
10603
10604
  endTimestamp: i,
10604
10605
  url: c,
10605
10606
  method: u,
10606
10607
  statusCode: l,
10607
- request: T,
10608
- response: M
10608
+ request: I,
10609
+ response: E
10609
10610
  };
10610
10611
  }
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);
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, v] = n.networkCaptureBodies ? vg(a) : [void 0], k = qe(h, d, y), P = qe(g, f, S);
10612
10613
  return {
10613
10614
  startTimestamp: s,
10614
10615
  endTimestamp: i,
10615
10616
  url: c,
10616
10617
  method: u,
10617
10618
  statusCode: l,
10618
- request: _ ? jn(R, _) : R,
10619
- response: w ? jn(I, w) : I
10619
+ request: _ ? jn(k, _) : k,
10620
+ response: v ? jn(P, v) : P
10620
10621
  };
10621
10622
  }
10622
10623
  function Tg(e) {
@@ -10796,7 +10797,7 @@ function Fg(e) {
10796
10797
  }
10797
10798
  function Bg(e, t, n) {
10798
10799
  let r, s, i;
10799
- const o = n && n.maxWait ? Math.max(n.maxWait, t) : 0;
10800
+ const o = n.maxWait ? Math.max(n.maxWait, t) : 0;
10800
10801
  function a() {
10801
10802
  return c(), r = e(), r;
10802
10803
  }
@@ -10959,21 +10960,21 @@ async function Gg({
10959
10960
  let S;
10960
10961
  try {
10961
10962
  S = await p.send(_);
10962
- } catch (R) {
10963
- const I = new Error(Ss);
10963
+ } catch (k) {
10964
+ const P = new Error(Ss);
10964
10965
  try {
10965
- I.cause = R;
10966
+ P.cause = k;
10966
10967
  } catch {
10967
10968
  }
10968
- throw I;
10969
+ throw P;
10969
10970
  }
10970
10971
  if (!S)
10971
10972
  return S;
10972
10973
  if (typeof S.statusCode == "number" && (S.statusCode < 200 || S.statusCode >= 300))
10973
10974
  throw new dc(S.statusCode);
10974
- const w = To({}, S);
10975
- if (bo(w, "replay"))
10976
- throw new fc(w);
10975
+ const v = To({}, S);
10976
+ if (bo(v, "replay"))
10977
+ throw new fc(v);
10977
10978
  return S;
10978
10979
  }
10979
10980
  class dc extends Error {
@@ -11804,25 +11805,25 @@ class ir {
11804
11805
  slowClickTimeout: y = 7e3,
11805
11806
  slowClickIgnoreSelectors: _ = [],
11806
11807
  networkDetailAllowUrls: S = [],
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,
11808
+ networkDetailDenyUrls: v = [],
11809
+ networkCaptureBodies: k = !0,
11810
+ networkRequestHeaders: P = [],
11811
+ networkResponseHeaders: I = [],
11812
+ mask: E = [],
11813
+ maskAttributes: M = ["title", "placeholder"],
11814
+ unmask: X = [],
11815
+ block: b = [],
11816
+ unblock: R = [],
11817
+ ignore: z = [],
11818
+ maskFn: Q,
11819
+ beforeAddRecordingEvent: Z,
11819
11820
  beforeErrorSampling: le,
11820
11821
  // eslint-disable-next-line deprecation/deprecation
11821
11822
  blockClass: F,
11822
11823
  // eslint-disable-next-line deprecation/deprecation
11823
11824
  blockSelector: pe,
11824
11825
  // eslint-disable-next-line deprecation/deprecation
11825
- maskInputOptions: X,
11826
+ maskInputOptions: J,
11826
11827
  // eslint-disable-next-line deprecation/deprecation
11827
11828
  maskTextClass: ce,
11828
11829
  // eslint-disable-next-line deprecation/deprecation
@@ -11832,11 +11833,11 @@ class ir {
11832
11833
  } = {}) {
11833
11834
  this.name = ir.id;
11834
11835
  const at = Kg({
11835
- mask: M,
11836
- unmask: b,
11837
- block: v,
11838
- unblock: z,
11839
- ignore: J,
11836
+ mask: E,
11837
+ unmask: X,
11838
+ block: b,
11839
+ unblock: R,
11840
+ ignore: z,
11840
11841
  blockClass: F,
11841
11842
  blockSelector: pe,
11842
11843
  maskTextClass: ce,
@@ -11846,11 +11847,11 @@ class ir {
11846
11847
  if (this._recordingOptions = {
11847
11848
  maskAllInputs: f,
11848
11849
  maskAllText: d,
11849
- maskInputOptions: { ...X || {}, password: !0 },
11850
- maskTextFn: te,
11851
- maskInputFn: te,
11850
+ maskInputOptions: { ...J || {}, password: !0 },
11851
+ maskTextFn: Q,
11852
+ maskInputFn: Q,
11852
11853
  maskAttributeFn: (Pe, ct, $t) => Xg({
11853
- maskAttributes: A,
11854
+ maskAttributes: M,
11854
11855
  maskAllText: d,
11855
11856
  privacyOptions: at,
11856
11857
  key: Pe,
@@ -11890,11 +11891,11 @@ class ir {
11890
11891
  slowClickTimeout: y,
11891
11892
  slowClickIgnoreSelectors: _,
11892
11893
  networkDetailAllowUrls: S,
11893
- networkDetailDenyUrls: w,
11894
- networkCaptureBodies: R,
11895
- networkRequestHeaders: Xi(I),
11896
- networkResponseHeaders: Xi(T),
11897
- beforeAddRecordingEvent: ne,
11894
+ networkDetailDenyUrls: v,
11895
+ networkCaptureBodies: k,
11896
+ networkRequestHeaders: Xi(P),
11897
+ networkResponseHeaders: Xi(I),
11898
+ beforeAddRecordingEvent: Z,
11898
11899
  beforeErrorSampling: le,
11899
11900
  _experiments: c
11900
11901
  }, typeof u == "number" && (console.warn(
@@ -12121,7 +12122,7 @@ const l_ = (e) => {
12121
12122
  };
12122
12123
  }
12123
12124
  return n;
12124
- }, d_ = O, f_ = {
12125
+ }, d_ = A, f_ = {
12125
12126
  Vue: d_.Vue,
12126
12127
  attachProps: !0,
12127
12128
  logErrors: !0,
@@ -12256,4 +12257,4 @@ const S_ = (e) => {
12256
12257
  export {
12257
12258
  S_ as i
12258
12259
  };
12259
- //# sourceMappingURL=revolugo.sentry.DqPFRxU3.min.js.map
12260
+ //# sourceMappingURL=revolugo.sentry.BVrKAYI8.min.js.map