@launchdarkly/session-replay 0.3.7 → 0.3.8

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.
@@ -21,7 +21,7 @@ const Vr = /* @__PURE__ */ Object.create(null), Ze = (e, t, ...i) => {
21
21
  Vr[`${e}-${t}`] || (Vr[`${e}-${t}`] = !0, Ze(e, i, ...n));
22
22
  }, xc = (e, ...t) => vc(void 0, null, function* () {
23
23
  try {
24
- const { LDObserve: i } = yield import("./LDObserve-BwNUqFta.js");
24
+ const { LDObserve: i } = yield import("./LDObserve-CVxs6A6I.js");
25
25
  i.recordLog(`${e}${t}`, "warn");
26
26
  } catch {
27
27
  }
@@ -88,7 +88,7 @@ var Tc = Object.defineProperty, Nc = Object.defineProperties, Lc = Object.getOwn
88
88
  for (var i of Ei(t))
89
89
  _o.call(t, i) && _n(e, i, t[i]);
90
90
  return e;
91
- }, lt = (e, t) => Nc(e, Lc(t)), vt = (e, t) => {
91
+ }, lt = (e, t) => Nc(e, Lc(t)), xt = (e, t) => {
92
92
  var i = {};
93
93
  for (var n in e)
94
94
  Ao.call(e, n) && t.indexOf(n) < 0 && (i[n] = e[n]);
@@ -96,7 +96,7 @@ var Tc = Object.defineProperty, Nc = Object.defineProperties, Lc = Object.getOwn
96
96
  for (var n of Ei(e))
97
97
  t.indexOf(n) < 0 && _o.call(e, n) && (i[n] = e[n]);
98
98
  return i;
99
- }, Yt = (e, t, i) => _n(e, typeof t != "symbol" ? t + "" : t, i), ct = (e, t, i) => new Promise((n, s) => {
99
+ }, Ut = (e, t, i) => _n(e, typeof t != "symbol" ? t + "" : t, i), ut = (e, t, i) => new Promise((n, s) => {
100
100
  var r = (a) => {
101
101
  try {
102
102
  o(i.next(a));
@@ -475,7 +475,7 @@ var x;
475
475
  function es(e) {
476
476
  return e === 9 || e === 32;
477
477
  }
478
- function Ut(e) {
478
+ function Ft(e) {
479
479
  return e >= 48 && e <= 57;
480
480
  }
481
481
  function il(e) {
@@ -486,7 +486,7 @@ function nl(e) {
486
486
  return il(e) || e === 95;
487
487
  }
488
488
  function zc(e) {
489
- return il(e) || Ut(e) || e === 95;
489
+ return il(e) || Ft(e) || e === 95;
490
490
  }
491
491
  function Pc(e) {
492
492
  var t;
@@ -569,7 +569,7 @@ let Qc = class {
569
569
  function jc(e) {
570
570
  return e === g.BANG || e === g.DOLLAR || e === g.AMP || e === g.PAREN_L || e === g.PAREN_R || e === g.SPREAD || e === g.COLON || e === g.EQUALS || e === g.AT || e === g.BRACKET_L || e === g.BRACKET_R || e === g.BRACE_L || e === g.PIPE || e === g.BRACE_R;
571
571
  }
572
- function Zt(e) {
572
+ function It(e) {
573
573
  return e >= 0 && e <= 55295 || e >= 57344 && e <= 1114111;
574
574
  }
575
575
  function hn(e, t) {
@@ -648,14 +648,14 @@ function Ac(e, t) {
648
648
  case 34:
649
649
  return i.charCodeAt(s + 1) === 34 && i.charCodeAt(s + 2) === 34 ? nu(e, s) : qc(e, s);
650
650
  }
651
- if (Ut(r) || r === 45)
651
+ if (Ft(r) || r === 45)
652
652
  return $c(e, s, r);
653
653
  if (nl(r))
654
654
  return su(e, s);
655
655
  throw ae(
656
656
  e.source,
657
657
  s,
658
- r === 39 ? `Unexpected single quote character ('), did you mean to use a double quote (")?` : Zt(r) || hn(i, s) ? `Unexpected character: ${Ae(e, s)}.` : `Invalid character: ${Ae(e, s)}.`
658
+ r === 39 ? `Unexpected single quote character ('), did you mean to use a double quote (")?` : It(r) || hn(i, s) ? `Unexpected character: ${Ae(e, s)}.` : `Invalid character: ${Ae(e, s)}.`
659
659
  );
660
660
  }
661
661
  return oe(e, g.EOF, n, n);
@@ -667,7 +667,7 @@ function _c(e, t) {
667
667
  const r = i.charCodeAt(s);
668
668
  if (r === 10 || r === 13)
669
669
  break;
670
- if (Zt(r))
670
+ if (It(r))
671
671
  ++s;
672
672
  else if (hn(i, s))
673
673
  s += 2;
@@ -686,7 +686,7 @@ function $c(e, t, i) {
686
686
  const n = e.source.body;
687
687
  let s = t, r = i, l = !1;
688
688
  if (r === 45 && (r = n.charCodeAt(++s)), r === 48) {
689
- if (r = n.charCodeAt(++s), Ut(r))
689
+ if (r = n.charCodeAt(++s), Ft(r))
690
690
  throw ae(
691
691
  e.source,
692
692
  s,
@@ -715,7 +715,7 @@ function $c(e, t, i) {
715
715
  );
716
716
  }
717
717
  function xn(e, t, i) {
718
- if (!Ut(i))
718
+ if (!Ft(i))
719
719
  throw ae(
720
720
  e.source,
721
721
  t,
@@ -726,7 +726,7 @@ function xn(e, t, i) {
726
726
  );
727
727
  const n = e.source.body;
728
728
  let s = t + 1;
729
- for (; Ut(n.charCodeAt(s)); )
729
+ for (; Ft(n.charCodeAt(s)); )
730
730
  ++s;
731
731
  return s;
732
732
  }
@@ -745,7 +745,7 @@ function qc(e, t) {
745
745
  }
746
746
  if (o === 10 || o === 13)
747
747
  break;
748
- if (Zt(o))
748
+ if (It(o))
749
749
  ++s;
750
750
  else if (hn(i, s))
751
751
  s += 2;
@@ -767,14 +767,14 @@ function eu(e, t) {
767
767
  for (; s < 12; ) {
768
768
  const r = i.charCodeAt(t + s++);
769
769
  if (r === 125) {
770
- if (s < 5 || !Zt(n))
770
+ if (s < 5 || !It(n))
771
771
  break;
772
772
  return {
773
773
  value: String.fromCodePoint(n),
774
774
  size: s
775
775
  };
776
776
  }
777
- if (n = n << 4 | kt(r), n < 0)
777
+ if (n = n << 4 | wt(r), n < 0)
778
778
  break;
779
779
  }
780
780
  throw ae(
@@ -788,7 +788,7 @@ function eu(e, t) {
788
788
  }
789
789
  function tu(e, t) {
790
790
  const i = e.source.body, n = Xr(i, t + 2);
791
- if (Zt(n))
791
+ if (It(n))
792
792
  return {
793
793
  value: String.fromCodePoint(n),
794
794
  size: 6
@@ -808,9 +808,9 @@ function tu(e, t) {
808
808
  );
809
809
  }
810
810
  function Xr(e, t) {
811
- return kt(e.charCodeAt(t)) << 12 | kt(e.charCodeAt(t + 1)) << 8 | kt(e.charCodeAt(t + 2)) << 4 | kt(e.charCodeAt(t + 3));
811
+ return wt(e.charCodeAt(t)) << 12 | wt(e.charCodeAt(t + 1)) << 8 | wt(e.charCodeAt(t + 2)) << 4 | wt(e.charCodeAt(t + 3));
812
812
  }
813
- function kt(e) {
813
+ function wt(e) {
814
814
  return e >= 48 && e <= 57 ? e - 48 : e >= 65 && e <= 70 ? e - 55 : e >= 97 && e <= 102 ? e - 87 : -1;
815
815
  }
816
816
  function iu(e, t) {
@@ -894,7 +894,7 @@ function nu(e, t) {
894
894
  o += i.slice(l, r), a.push(o), c === 13 && i.charCodeAt(r + 1) === 10 ? r += 2 : ++r, o = "", l = r, s = r;
895
895
  continue;
896
896
  }
897
- if (Zt(c))
897
+ if (It(c))
898
898
  ++r;
899
899
  else if (hn(i, r))
900
900
  r += 2;
@@ -3015,7 +3015,7 @@ const Ti = /* @__PURE__ */ dl(Mi), vu = /* @__PURE__ */ Jc({
3015
3015
  variables: t.variables ? t.jsonSerializer.stringify(t.variables[r]) : void 0
3016
3016
  }), n), []);
3017
3017
  return `query=${encodeURIComponent(t.jsonSerializer.stringify(i))}`;
3018
- }, Tu = (e) => (t) => ct(void 0, null, function* () {
3018
+ }, Tu = (e) => (t) => ut(void 0, null, function* () {
3019
3019
  var i;
3020
3020
  const { url: n, query: s, variables: r, operationName: l, fetch: o, fetchOptions: a, middleware: c } = t, u = O({}, t.headers);
3021
3021
  let h = "", p;
@@ -3032,15 +3032,15 @@ const Ti = /* @__PURE__ */ dl(Mi), vu = /* @__PURE__ */ Jc({
3032
3032
  }, a);
3033
3033
  let b = n, d = m;
3034
3034
  if (c) {
3035
- const I = yield Promise.resolve(c(lt(O({}, m), { url: n, operationName: l, variables: r }))), { url: Z } = I, W = vt(I, ["url"]);
3035
+ const I = yield Promise.resolve(c(lt(O({}, m), { url: n, operationName: l, variables: r }))), { url: Z } = I, W = xt(I, ["url"]);
3036
3036
  b = Z, d = W;
3037
3037
  }
3038
3038
  return h && (b = `${b}?${h}`), yield o(b, d);
3039
3039
  });
3040
3040
  class Nu {
3041
3041
  constructor(t, i = {}) {
3042
- this.url = t, this.requestConfig = i, this.rawRequest = (...n) => ct(this, null, function* () {
3043
- const [s, r, l] = n, o = Ru(s, r, l), a = this.requestConfig, { headers: c, fetch: u = Ti, method: h = "POST", requestMiddleware: p, responseMiddleware: m } = a, b = vt(a, ["headers", "fetch", "method", "requestMiddleware", "responseMiddleware"]), { url: d } = this;
3042
+ this.url = t, this.requestConfig = i, this.rawRequest = (...n) => ut(this, null, function* () {
3043
+ const [s, r, l] = n, o = Ru(s, r, l), a = this.requestConfig, { headers: c, fetch: u = Ti, method: h = "POST", requestMiddleware: p, responseMiddleware: m } = a, b = xt(a, ["headers", "fetch", "method", "requestMiddleware", "responseMiddleware"]), { url: d } = this;
3044
3044
  o.signal !== void 0 && (b.signal = o.signal);
3045
3045
  const { operationName: I } = Tn(o.query);
3046
3046
  return Nn({
@@ -3059,8 +3059,8 @@ class Nu {
3059
3059
  });
3060
3060
  }
3061
3061
  request(t, ...i) {
3062
- return ct(this, null, function* () {
3063
- const [n, s] = i, r = Xu(t, n, s), l = this.requestConfig, { headers: o, fetch: a = Ti, method: c = "POST", requestMiddleware: u, responseMiddleware: h } = l, p = vt(l, ["headers", "fetch", "method", "requestMiddleware", "responseMiddleware"]), { url: m } = this;
3062
+ return ut(this, null, function* () {
3063
+ const [n, s] = i, r = Xu(t, n, s), l = this.requestConfig, { headers: o, fetch: a = Ti, method: c = "POST", requestMiddleware: u, responseMiddleware: h } = l, p = xt(l, ["headers", "fetch", "method", "requestMiddleware", "responseMiddleware"]), { url: m } = this;
3064
3064
  r.signal !== void 0 && (p.signal = r.signal);
3065
3065
  const { query: b, operationName: d } = Tn(r.document);
3066
3066
  return Nn({
@@ -3081,7 +3081,7 @@ class Nu {
3081
3081
  // prettier-ignore
3082
3082
  batchRequests(t, i) {
3083
3083
  var n;
3084
- const s = ku(t, i), r = this.requestConfig, { headers: l } = r, o = vt(r, ["headers"]);
3084
+ const s = ku(t, i), r = this.requestConfig, { headers: l } = r, o = xt(r, ["headers"]);
3085
3085
  s.signal !== void 0 && (o.signal = s.signal);
3086
3086
  const a = s.documents.map(({ document: u }) => Tn(u).query), c = s.documents.map(({ variables: u }) => u);
3087
3087
  return Nn({
@@ -3116,11 +3116,11 @@ class Nu {
3116
3116
  return this.url = t, this;
3117
3117
  }
3118
3118
  }
3119
- const Nn = (e) => ct(void 0, null, function* () {
3119
+ const Nn = (e) => ut(void 0, null, function* () {
3120
3120
  var t, i;
3121
3121
  const { query: n, variables: s, fetchOptions: r } = e, l = Tu(Wu((t = e.method) != null ? t : "post")), o = Array.isArray(e.query), a = yield l(e), c = yield Ju(a, (i = r.jsonSerializer) != null ? i : Ps), u = Array.isArray(c) ? !c.some(({ data: p }) => !p) : !!c.data, h = Array.isArray(c) || !c.errors || Array.isArray(c.errors) && !c.errors.length || r.errorPolicy === "all" || r.errorPolicy === "ignore";
3122
3122
  if (a.ok && h && u) {
3123
- const p = c, m = vt(p, ["errors"]), b = r.errorPolicy === "ignore" ? m : c;
3123
+ const p = c, m = xt(p, ["errors"]), b = r.errorPolicy === "ignore" ? m : c;
3124
3124
  return lt(O({}, o ? { data: b } : b), {
3125
3125
  headers: a.headers,
3126
3126
  status: a.status
@@ -3143,7 +3143,7 @@ const Nn = (e) => ct(void 0, null, function* () {
3143
3143
  throw new Error("Cannot create request body with given variable type, array expected");
3144
3144
  const r = e.reduce((l, o, a) => (l.push({ query: o, variables: t ? t[a] : void 0 }), l), []);
3145
3145
  return s.stringify(r);
3146
- }, Ju = (e, t) => ct(void 0, null, function* () {
3146
+ }, Ju = (e, t) => ut(void 0, null, function* () {
3147
3147
  let i;
3148
3148
  return e.headers.forEach((n, s) => {
3149
3149
  s.toLowerCase() === "content-type" && (i = n);
@@ -3242,7 +3242,7 @@ function zu() {
3242
3242
  function Pu() {
3243
3243
  zi = !1;
3244
3244
  }
3245
- var Gt = {
3245
+ var Vt = {
3246
3246
  gql: be,
3247
3247
  resetCaches: Mu,
3248
3248
  disableFragmentWarnings: Hu,
@@ -3250,7 +3250,7 @@ var Gt = {
3250
3250
  disableExperimentalFragmentVariables: Pu
3251
3251
  };
3252
3252
  (function(e) {
3253
- e.gql = Gt.gql, e.resetCaches = Gt.resetCaches, e.disableFragmentWarnings = Gt.disableFragmentWarnings, e.enableExperimentalFragmentVariables = Gt.enableExperimentalFragmentVariables, e.disableExperimentalFragmentVariables = Gt.disableExperimentalFragmentVariables;
3253
+ e.gql = Vt.gql, e.resetCaches = Vt.resetCaches, e.disableFragmentWarnings = Vt.disableFragmentWarnings, e.enableExperimentalFragmentVariables = Vt.enableExperimentalFragmentVariables, e.disableExperimentalFragmentVariables = Vt.disableExperimentalFragmentVariables;
3254
3254
  })(be || (be = {}));
3255
3255
  be.default = be;
3256
3256
  const ml = be`
@@ -3688,7 +3688,7 @@ function ss(e, t) {
3688
3688
  var Jn = ss(pd, { path: "/" }), rs = /* @__PURE__ */ ((e) => (e.CLIENT_ID = "highlightClientID", e))(rs || {});
3689
3689
  let Pi = "localStorage", os = !0, md = class {
3690
3690
  constructor() {
3691
- Yt(this, "storage", {});
3691
+ Ut(this, "storage", {});
3692
3692
  }
3693
3693
  get length() {
3694
3694
  return Object.keys(this.storage).length;
@@ -3722,8 +3722,10 @@ let Pi = "localStorage", os = !0, md = class {
3722
3722
  os && Jn.remove(t);
3723
3723
  }
3724
3724
  };
3725
- const Ft = new md(), Bi = new bd(), Kt = () => {
3725
+ const ct = new md(), Bi = new bd(), Kt = () => {
3726
3726
  let e = null;
3727
+ if (typeof window > "u")
3728
+ return ct;
3727
3729
  try {
3728
3730
  switch (Pi) {
3729
3731
  case "localStorage":
@@ -3738,7 +3740,7 @@ const Ft = new md(), Bi = new bd(), Kt = () => {
3738
3740
  "getPersistentStorage",
3739
3741
  "debug",
3740
3742
  `persistent storage was not found for mode ${Pi}; using global storage`
3741
- ), e = Ft);
3743
+ ), e = ct);
3742
3744
  } catch (t) {
3743
3745
  He(
3744
3746
  "storage",
@@ -3746,7 +3748,7 @@ const Ft = new md(), Bi = new bd(), Kt = () => {
3746
3748
  "debug",
3747
3749
  "failed to get persistent storage; using global storage",
3748
3750
  t
3749
- ), e = Ft;
3751
+ ), e = ct;
3750
3752
  }
3751
3753
  return e;
3752
3754
  }, fd = (e) => {
@@ -3763,7 +3765,7 @@ const Ft = new md(), Bi = new bd(), Kt = () => {
3763
3765
  "debug",
3764
3766
  `failed to get item ${e}; using global storage`,
3765
3767
  t
3766
- ), Ft.getItem(e);
3768
+ ), ct.getItem(e);
3767
3769
  }
3768
3770
  }, Ye = (e, t) => {
3769
3771
  Bi.setItem(e, t);
@@ -3776,7 +3778,7 @@ const Ft = new md(), Bi = new bd(), Kt = () => {
3776
3778
  "debug",
3777
3779
  `failed to set item ${e}; using global storage`,
3778
3780
  i
3779
- ), Ft.setItem(e, t);
3781
+ ), ct.setItem(e, t);
3780
3782
  }
3781
3783
  }, Di = (e) => {
3782
3784
  Bi.removeItem(e);
@@ -3789,7 +3791,7 @@ const Ft = new md(), Bi = new bd(), Kt = () => {
3789
3791
  "debug",
3790
3792
  `failed to remove item ${e}; using global storage`,
3791
3793
  t
3792
- ), Ft.removeItem(e);
3794
+ ), ct.removeItem(e);
3793
3795
  }
3794
3796
  }, yd = (e) => {
3795
3797
  if (Pi === "sessionStorage") {
@@ -3798,6 +3800,12 @@ const Ft = new md(), Bi = new bd(), Kt = () => {
3798
3800
  );
3799
3801
  return;
3800
3802
  }
3803
+ if (typeof window > "u") {
3804
+ console.warn(
3805
+ "highlight.io cannot use local storage (not a window); segment integration will not work"
3806
+ );
3807
+ return;
3808
+ }
3801
3809
  const t = window.localStorage.setItem;
3802
3810
  window.localStorage.setItem = function() {
3803
3811
  const [i, n] = arguments;
@@ -3813,7 +3821,7 @@ const mn = (e) => `${pe.SESSION_DATA}_${e}`, gd = () => {
3813
3821
  }, yl = () => {
3814
3822
  var e;
3815
3823
  return (e = Ie(pe.SESSION_ID)) != null ? e : "";
3816
- }, xt = (e) => {
3824
+ }, Tt = (e) => {
3817
3825
  Ye(pe.SESSION_ID, e);
3818
3826
  }, Id = (e) => {
3819
3827
  const t = mn(e);
@@ -3834,7 +3842,7 @@ const mn = (e) => `${pe.SESSION_DATA}_${e}`, gd = () => {
3834
3842
  const e = Bi.getItem(
3835
3843
  pe.SESSION_ID
3836
3844
  );
3837
- xt(e);
3845
+ Tt(e);
3838
3846
  const t = mn(e), i = Bi.getItem(t);
3839
3847
  try {
3840
3848
  Qe(JSON.parse(i));
@@ -3879,7 +3887,7 @@ const Sd = 10, Wd = 1e3, Cd = 500, Xd = [gl.BillingQuotaExceeded.toString()], Rd
3879
3887
  (i) => Xd.includes(i.message)
3880
3888
  )) === void 0;
3881
3889
  }, kd = () => {
3882
- const e = (t, i, n, s, r = 0) => ct(void 0, null, function* () {
3890
+ const e = (t, i, n, s, r = 0) => ut(void 0, null, function* () {
3883
3891
  try {
3884
3892
  return yield t();
3885
3893
  } catch (l) {
@@ -3928,7 +3936,7 @@ function Fd(e) {
3928
3936
  }
3929
3937
  let Kd = class {
3930
3938
  constructor(t, i) {
3931
- Yt(this, "client"), Yt(this, "metadata"), this.client = t, this.metadata = i;
3939
+ Ut(this, "client"), Ut(this, "metadata"), this.client = t, this.metadata = i;
3932
3940
  }
3933
3941
  getHooks(t) {
3934
3942
  return [];
@@ -3968,7 +3976,7 @@ let Kd = class {
3968
3976
  }
3969
3977
  }, Od = class extends jo {
3970
3978
  constructor(t, i) {
3971
- super(), Yt(this, "client"), this.client = new Kd(t, i);
3979
+ super(), Ut(this, "client"), this.client = new Kd(t, i);
3972
3980
  }
3973
3981
  getHooks(t) {
3974
3982
  return [
@@ -4001,7 +4009,7 @@ let Kd = class {
4001
4009
  return this._bufferCall("track", [t, i]);
4002
4010
  }
4003
4011
  };
4004
- const Ed = "9.18.22", Md = {
4012
+ const Ed = "9.18.23", Md = {
4005
4013
  version: Ed
4006
4014
  }, Hd = Md.version;
4007
4015
  function Sl(e, t) {
@@ -4055,14 +4063,14 @@ const Pd = (e) => {
4055
4063
  };
4056
4064
  let Dd = class {
4057
4065
  constructor(t) {
4058
- Yt(this, "sessionSecureID");
4066
+ Ut(this, "sessionSecureID");
4059
4067
  try {
4060
4068
  t != null && t.storageMode && fd(t?.storageMode), Nr(!!(t != null && t.sessionCookie)), t != null && t.sessionCookie ? Gd() : Nr(!1);
4061
4069
  const i = gd();
4062
4070
  let n = Li(
4063
4071
  i
4064
4072
  );
4065
- n != null && n.sessionSecureID ? this.sessionSecureID = n.sessionSecureID : (this.sessionSecureID = ls(), xt(this.sessionSecureID), Qe({
4073
+ n != null && n.sessionSecureID ? this.sessionSecureID = n.sessionSecureID : (this.sessionSecureID = ls(), Tt(this.sessionSecureID), Qe({
4066
4074
  sessionSecureID: this.sessionSecureID,
4067
4075
  projectID: 0,
4068
4076
  payloadID: 1,
@@ -4116,8 +4124,8 @@ class Yr extends jo {
4116
4124
  return this._bufferCall("register", [t, i]);
4117
4125
  }
4118
4126
  }
4119
- let wt;
4120
- typeof globalThis < "u" ? globalThis.LDRecord ? wt = globalThis.LDRecord : (wt = new Yr(), globalThis.LDRecord = wt) : wt = new Yr();
4127
+ let vt;
4128
+ typeof globalThis < "u" ? globalThis.LDRecord ? vt = globalThis.LDRecord : (vt = new Yr(), globalThis.LDRecord = vt) : vt = new Yr();
4121
4129
  var jd = Object.defineProperty, Ad = Object.defineProperties, _d = Object.getOwnPropertyDescriptors, Qi = Object.getOwnPropertySymbols, Wl = Object.prototype.hasOwnProperty, Cl = Object.prototype.propertyIsEnumerable, as = (e, t, i) => t in e ? jd(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i, N = (e, t) => {
4122
4130
  for (var i in t || (t = {}))
4123
4131
  Wl.call(t, i) && as(e, i, t[i]);
@@ -4125,7 +4133,7 @@ var jd = Object.defineProperty, Ad = Object.defineProperties, _d = Object.getOwn
4125
4133
  for (var i of Qi(t))
4126
4134
  Cl.call(t, i) && as(e, i, t[i]);
4127
4135
  return e;
4128
- }, ge = (e, t) => Ad(e, _d(t)), ut = (e, t) => {
4136
+ }, ge = (e, t) => Ad(e, _d(t)), dt = (e, t) => {
4129
4137
  var i = {};
4130
4138
  for (var n in e)
4131
4139
  Wl.call(e, n) && t.indexOf(n) < 0 && (i[n] = e[n]);
@@ -4302,7 +4310,7 @@ const ce = {
4302
4310
  function Rl(e) {
4303
4311
  return e.nodeType === e.ELEMENT_NODE;
4304
4312
  }
4305
- function Tt(e) {
4313
+ function Nt(e) {
4306
4314
  const t = (
4307
4315
  // anchor and textarea elements also have a `host` property
4308
4316
  // but only shadow roots have a `mode` property
@@ -4310,7 +4318,7 @@ function Tt(e) {
4310
4318
  );
4311
4319
  return !!(t && "shadowRoot" in t && ce.shadowRoot(t) === e);
4312
4320
  }
4313
- function Nt(e) {
4321
+ function Lt(e) {
4314
4322
  return Object.prototype.toString.call(e) === "[object ShadowRoot]";
4315
4323
  }
4316
4324
  function Zh(e) {
@@ -4437,7 +4445,7 @@ function ji({
4437
4445
  overwriteRecord: r
4438
4446
  }) && (l ? o = l(o, e) : o = "*".repeat(o.length)), o;
4439
4447
  }
4440
- function dt(e) {
4448
+ function ht(e) {
4441
4449
  return e.toLowerCase();
4442
4450
  }
4443
4451
  const Er = "__rrweb_original__";
@@ -4465,7 +4473,7 @@ function Ai(e) {
4465
4473
  const t = e.type;
4466
4474
  return e.hasAttribute("data-rr-is-password") ? "password" : t ? (
4467
4475
  // eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion
4468
- dt(t)
4476
+ ht(t)
4469
4477
  ) : null;
4470
4478
  }
4471
4479
  function vl(e, t) {
@@ -4618,7 +4626,7 @@ function Nl() {
4618
4626
  function Hh(e) {
4619
4627
  if (e instanceof HTMLFormElement)
4620
4628
  return "form";
4621
- const t = dt(e.tagName);
4629
+ const t = ht(e.tagName);
4622
4630
  return Mh.test(t) ? "div" : t;
4623
4631
  }
4624
4632
  let tt, Mr;
@@ -4907,7 +4915,7 @@ function qh(e, t) {
4907
4915
  Jl(C, k.name) || (V[k.name] = Ll(
4908
4916
  i,
4909
4917
  C,
4910
- dt(k.name),
4918
+ ht(k.name),
4911
4919
  k.value
4912
4920
  ));
4913
4921
  }
@@ -5106,7 +5114,7 @@ function rt(e, t) {
5106
5114
  }
5107
5115
  delete y.needBlock, delete y.needMask;
5108
5116
  const $ = ce.shadowRoot(e);
5109
- $ && Nt($) && (y.isShadowHost = !0);
5117
+ $ && Lt($) && (y.isShadowHost = !0);
5110
5118
  }
5111
5119
  if ((y.type === le.Document || y.type === le.Element) && T) {
5112
5120
  m.headWhitespace && y.type === le.Element && y.tagName === "head" && (ee = !1);
@@ -5149,11 +5157,11 @@ function rt(e, t) {
5149
5157
  if (Rl(e) && (ie = ce.shadowRoot(e)))
5150
5158
  for (const Ve of Array.from(ce.childNodes(ie))) {
5151
5159
  const Oe = rt(Ve, $);
5152
- Oe && (Nt(ie) && (Oe.isShadow = !0), y.childNodes.push(Oe));
5160
+ Oe && (Lt(ie) && (Oe.isShadow = !0), y.childNodes.push(Oe));
5153
5161
  }
5154
5162
  }
5155
5163
  const F = ce.parentNode(e);
5156
- return F && Tt(F) && Nt(F) && (y.isShadow = !0), y.type === le.Element && y.tagName === "iframe" && Qh(
5164
+ return F && Nt(F) && Lt(F) && (y.isShadow = !0), y.type === le.Element && y.tagName === "iframe" && Qh(
5157
5165
  e,
5158
5166
  () => {
5159
5167
  const $ = e.contentDocument;
@@ -5592,7 +5600,7 @@ ps.default = ps;
5592
5600
  var _t = {};
5593
5601
  _t.isClean = Symbol("isClean");
5594
5602
  _t.my = Symbol("my");
5595
- let ap = _s, cp = Kl, up = bn, { isClean: Vt, my: dp } = _t;
5603
+ let ap = _s, cp = Kl, up = bn, { isClean: St, my: dp } = _t;
5596
5604
  function ms(e, t) {
5597
5605
  let i = new e.constructor();
5598
5606
  for (let n in e) {
@@ -5621,7 +5629,7 @@ let bs = class {
5621
5629
  return this;
5622
5630
  }
5623
5631
  constructor(e = {}) {
5624
- this.raws = {}, this[Vt] = !1, this[dp] = !0;
5632
+ this.raws = {}, this[St] = !1, this[dp] = !0;
5625
5633
  for (let t in e)
5626
5634
  if (t === "nodes") {
5627
5635
  this.nodes = [];
@@ -5693,14 +5701,14 @@ let bs = class {
5693
5701
  }
5694
5702
  /* c8 ignore next 3 */
5695
5703
  markClean() {
5696
- this[Vt] = !0;
5704
+ this[St] = !0;
5697
5705
  }
5698
5706
  markDirty() {
5699
- if (this[Vt]) {
5700
- this[Vt] = !1;
5707
+ if (this[St]) {
5708
+ this[St] = !1;
5701
5709
  let e = this;
5702
5710
  for (; e = e.parent; )
5703
- e[Vt] = !1;
5711
+ e[St] = !1;
5704
5712
  }
5705
5713
  }
5706
5714
  next() {
@@ -6324,7 +6332,7 @@ let tn = class {
6324
6332
  var Zn = tn;
6325
6333
  tn.default = tn;
6326
6334
  Kn && Kn.registerInput && Kn.registerInput(tn);
6327
- let ql = _e, ea, ta, ht = class extends ql {
6335
+ let ql = _e, ea, ta, pt = class extends ql {
6328
6336
  constructor(e) {
6329
6337
  super(e), this.type = "root", this.nodes || (this.nodes = []);
6330
6338
  }
@@ -6347,15 +6355,15 @@ let ql = _e, ea, ta, ht = class extends ql {
6347
6355
  return new ea(new ta(), this, e).stringify();
6348
6356
  }
6349
6357
  };
6350
- ht.registerLazyResult = (e) => {
6358
+ pt.registerLazyResult = (e) => {
6351
6359
  ea = e;
6352
6360
  };
6353
- ht.registerProcessor = (e) => {
6361
+ pt.registerProcessor = (e) => {
6354
6362
  ta = e;
6355
6363
  };
6356
- var $t = ht;
6357
- ht.default = ht;
6358
- ql.registerRoot(ht);
6364
+ var $t = pt;
6365
+ pt.default = pt;
6366
+ ql.registerRoot(pt);
6359
6367
  let Mt = {
6360
6368
  comma(e) {
6361
6369
  return Mt.split(e, [","], !0);
@@ -6392,7 +6400,7 @@ na.registerRule(nn);
6392
6400
  let wp = er, vp = yn, xp = gn, Tp = Zn, Np = $l, Lp = $t, Jp = ir;
6393
6401
  function Ht(e, t) {
6394
6402
  if (Array.isArray(e)) return e.map((r) => Ht(r));
6395
- let i = e, { inputs: n } = i, s = ut(i, ["inputs"]);
6403
+ let i = e, { inputs: n } = i, s = dt(i, ["inputs"]);
6396
6404
  if (n) {
6397
6405
  t = [];
6398
6406
  for (let r of n) {
@@ -6403,7 +6411,7 @@ function Ht(e, t) {
6403
6411
  }
6404
6412
  }
6405
6413
  if (s.nodes && (s.nodes = e.nodes.map((r) => Ht(r, t))), s.source) {
6406
- let r = s.source, { inputId: l } = r, o = ut(r, ["inputId"]);
6414
+ let r = s.source, { inputId: l } = r, o = dt(r, ["inputId"]);
6407
6415
  s.source = o, l != null && (s.source.input = t[l]);
6408
6416
  }
6409
6417
  if (s.type === "root")
@@ -6580,7 +6588,7 @@ let { dirname: Ji, relative: sa, resolve: ra, sep: oa } = Xe, { SourceMapConsume
6580
6588
  }
6581
6589
  };
6582
6590
  var aa = Op;
6583
- const En = 39, to = 34, di = 92, io = 47, hi = 10, St = 32, pi = 12, mi = 9, bi = 13, Ep = 91, Mp = 93, Hp = 40, zp = 41, Pp = 123, Bp = 125, Dp = 59, Qp = 42, jp = 58, Ap = 64, fi = /[\t\n\f\r "#'()/;[\\\]{}]/g, yi = /[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g, _p = /.[\r\n"'(/\\]/, no = /[\da-f]/i;
6591
+ const En = 39, to = 34, di = 92, io = 47, hi = 10, Wt = 32, pi = 12, mi = 9, bi = 13, Ep = 91, Mp = 93, Hp = 40, zp = 41, Pp = 123, Bp = 125, Dp = 59, Qp = 42, jp = 58, Ap = 64, fi = /[\t\n\f\r "#'()/;[\\\]{}]/g, yi = /[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g, _p = /.[\r\n"'(/\\]/, no = /[\da-f]/i;
6584
6592
  var $p = function(e, t = {}) {
6585
6593
  let i = e.css.valueOf(), n = t.ignoreErrors, s, r, l, o, a, c, u, h, p, m, b = i.length, d = 0, I = [], Z = [];
6586
6594
  function W() {
@@ -6598,14 +6606,14 @@ var $p = function(e, t = {}) {
6598
6606
  let K = v ? v.ignoreUnclosed : !1;
6599
6607
  switch (s = i.charCodeAt(d), s) {
6600
6608
  case hi:
6601
- case St:
6609
+ case Wt:
6602
6610
  case mi:
6603
6611
  case bi:
6604
6612
  case pi: {
6605
6613
  o = d;
6606
6614
  do
6607
6615
  o += 1, s = i.charCodeAt(o);
6608
- while (s === St || s === hi || s === mi || s === bi || s === pi);
6616
+ while (s === Wt || s === hi || s === mi || s === bi || s === pi);
6609
6617
  c = ["space", i.slice(d, o)], d = o - 1;
6610
6618
  break;
6611
6619
  }
@@ -6621,7 +6629,7 @@ var $p = function(e, t = {}) {
6621
6629
  break;
6622
6630
  }
6623
6631
  case Hp: {
6624
- if (m = I.length ? I.pop()[1] : "", p = i.charCodeAt(d + 1), m === "url" && p !== En && p !== to && p !== St && p !== hi && p !== mi && p !== pi && p !== bi) {
6632
+ if (m = I.length ? I.pop()[1] : "", p = i.charCodeAt(d + 1), m === "url" && p !== En && p !== to && p !== Wt && p !== hi && p !== mi && p !== pi && p !== bi) {
6625
6633
  o = d;
6626
6634
  do {
6627
6635
  if (u = !1, o = i.indexOf(")", o + 1), o === -1)
@@ -6661,10 +6669,10 @@ var $p = function(e, t = {}) {
6661
6669
  case di: {
6662
6670
  for (o = d, l = !0; i.charCodeAt(o + 1) === di; )
6663
6671
  o += 1, l = !l;
6664
- if (s = i.charCodeAt(o + 1), l && s !== io && s !== St && s !== hi && s !== mi && s !== bi && s !== pi && (o += 1, no.test(i.charAt(o)))) {
6672
+ if (s = i.charCodeAt(o + 1), l && s !== io && s !== Wt && s !== hi && s !== mi && s !== bi && s !== pi && (o += 1, no.test(i.charAt(o)))) {
6665
6673
  for (; no.test(i.charAt(o + 1)); )
6666
6674
  o += 1;
6667
- i.charCodeAt(o + 1) === St && (o += 1);
6675
+ i.charCodeAt(o + 1) === Wt && (o += 1);
6668
6676
  }
6669
6677
  c = ["word", i.slice(d, o + 1), d, o], d = o;
6670
6678
  break;
@@ -7082,8 +7090,8 @@ const Zm = {
7082
7090
  Once: !0,
7083
7091
  postcssPlugin: !0,
7084
7092
  prepare: !0
7085
- }, pt = 0;
7086
- function Wt(e) {
7093
+ }, mt = 0;
7094
+ function Ct(e) {
7087
7095
  return typeof e == "object" && typeof e.then == "function";
7088
7096
  }
7089
7097
  function da(e) {
@@ -7091,14 +7099,14 @@ function da(e) {
7091
7099
  return e.type === "decl" ? t = e.prop.toLowerCase() : e.type === "atrule" && (t = e.name.toLowerCase()), t && e.append ? [
7092
7100
  i,
7093
7101
  i + "-" + t,
7094
- pt,
7102
+ mt,
7095
7103
  i + "Exit",
7096
7104
  i + "Exit-" + t
7097
- ] : t ? [i, i + "-" + t, i + "Exit", i + "Exit-" + t] : e.append ? [i, pt, i + "Exit"] : [i, i + "Exit"];
7105
+ ] : t ? [i, i + "-" + t, i + "Exit", i + "Exit-" + t] : e.append ? [i, mt, i + "Exit"] : [i, i + "Exit"];
7098
7106
  }
7099
7107
  function ao(e) {
7100
7108
  let t;
7101
- return e.type === "document" ? t = ["Document", pt, "DocumentExit"] : e.type === "root" ? t = ["Root", pt, "RootExit"] : t = da(e), {
7109
+ return e.type === "document" ? t = ["Document", mt, "DocumentExit"] : e.type === "root" ? t = ["Root", mt, "RootExit"] : t = da(e), {
7102
7110
  eventIndex: 0,
7103
7111
  events: t,
7104
7112
  iterator: 0,
@@ -7110,7 +7118,7 @@ function ao(e) {
7110
7118
  function Ss(e) {
7111
7119
  return e[we] = !1, e.nodes && e.nodes.forEach((t) => Ss(t)), e;
7112
7120
  }
7113
- let Ws = {}, mt = class ha {
7121
+ let Ws = {}, bt = class ha {
7114
7122
  get content() {
7115
7123
  return this.stringify().content;
7116
7124
  }
@@ -7211,7 +7219,7 @@ let Ws = {}, mt = class ha {
7211
7219
  this.plugin = 0;
7212
7220
  for (let t = 0; t < this.plugins.length; t++) {
7213
7221
  let i = this.plugins[t], n = this.runOnRoot(i);
7214
- if (Wt(n))
7222
+ if (Ct(n))
7215
7223
  try {
7216
7224
  yield n;
7217
7225
  } catch (s) {
@@ -7225,7 +7233,7 @@ let Ws = {}, mt = class ha {
7225
7233
  let i = [ao(t)];
7226
7234
  for (; i.length > 0; ) {
7227
7235
  let n = this.visitTick(i);
7228
- if (Wt(n))
7236
+ if (Ct(n))
7229
7237
  try {
7230
7238
  yield n;
7231
7239
  } catch (s) {
@@ -7261,7 +7269,7 @@ let Ws = {}, mt = class ha {
7261
7269
  let i = this.result.root.nodes.map(
7262
7270
  (n) => t.Once(n, this.helpers)
7263
7271
  );
7264
- return Wt(i[0]) ? Promise.all(i) : i;
7272
+ return Ct(i[0]) ? Promise.all(i) : i;
7265
7273
  }
7266
7274
  return t.Once(this.result.root, this.helpers);
7267
7275
  } else if (typeof t == "function")
@@ -7286,7 +7294,7 @@ let Ws = {}, mt = class ha {
7286
7294
  throw this.getAsyncError();
7287
7295
  for (let t of this.plugins) {
7288
7296
  let i = this.runOnRoot(t);
7289
- if (Wt(i))
7297
+ if (Ct(i))
7290
7298
  throw this.getAsyncError();
7291
7299
  }
7292
7300
  if (this.prepareVisitors(), this.hasListener) {
@@ -7321,7 +7329,7 @@ let Ws = {}, mt = class ha {
7321
7329
  }
7322
7330
  if (i.type !== "root" && i.type !== "document" && !i.parent)
7323
7331
  return !0;
7324
- if (Wt(r))
7332
+ if (Ct(r))
7325
7333
  throw this.getAsyncError();
7326
7334
  }
7327
7335
  }
@@ -7352,7 +7360,7 @@ let Ws = {}, mt = class ha {
7352
7360
  let r = i.events;
7353
7361
  for (; i.eventIndex < r.length; ) {
7354
7362
  let l = r[i.eventIndex];
7355
- if (i.eventIndex += 1, l === pt) {
7363
+ if (i.eventIndex += 1, l === mt) {
7356
7364
  n.nodes && n.nodes.length && (n[we] = !0, i.iterator = n.getIterator());
7357
7365
  return;
7358
7366
  } else if (this.listeners[l]) {
@@ -7366,7 +7374,7 @@ let Ws = {}, mt = class ha {
7366
7374
  t[we] = !0;
7367
7375
  let i = da(t);
7368
7376
  for (let n of i)
7369
- if (n === pt)
7377
+ if (n === mt)
7370
7378
  t.nodes && t.each((s) => {
7371
7379
  s[we] || this.walkSync(s);
7372
7380
  });
@@ -7380,13 +7388,13 @@ let Ws = {}, mt = class ha {
7380
7388
  return this.sync().warnings();
7381
7389
  }
7382
7390
  };
7383
- mt.registerPostcss = (e) => {
7391
+ bt.registerPostcss = (e) => {
7384
7392
  Ws = e;
7385
7393
  };
7386
- var pa = mt;
7387
- mt.default = mt;
7388
- bm.registerLazyResult(mt);
7389
- hm.registerLazyResult(mt);
7394
+ var pa = bt;
7395
+ bt.default = bt;
7396
+ bm.registerLazyResult(bt);
7397
+ hm.registerLazyResult(bt);
7390
7398
  let Vm = aa, Sm = nr;
7391
7399
  const Wm = sr;
7392
7400
  let Cm = bn, Xm = ua, Cs = class {
@@ -7826,7 +7834,7 @@ ks.default = ks;
7826
7834
  var qt = {};
7827
7835
  qt.isClean = Symbol("isClean");
7828
7836
  qt.my = Symbol("my");
7829
- let $m = lr, qm = Va, eb = In, { isClean: Ct, my: tb } = qt;
7837
+ let $m = lr, qm = Va, eb = In, { isClean: Xt, my: tb } = qt;
7830
7838
  function ws(e, t) {
7831
7839
  let i = new e.constructor();
7832
7840
  for (let n in e) {
@@ -7855,7 +7863,7 @@ let vs = class {
7855
7863
  return this;
7856
7864
  }
7857
7865
  constructor(e = {}) {
7858
- this.raws = {}, this[Ct] = !1, this[tb] = !0;
7866
+ this.raws = {}, this[Xt] = !1, this[tb] = !0;
7859
7867
  for (let t in e)
7860
7868
  if (t === "nodes") {
7861
7869
  this.nodes = [];
@@ -7927,14 +7935,14 @@ let vs = class {
7927
7935
  }
7928
7936
  /* c8 ignore next 3 */
7929
7937
  markClean() {
7930
- this[Ct] = !0;
7938
+ this[Xt] = !0;
7931
7939
  }
7932
7940
  markDirty() {
7933
- if (this[Ct]) {
7934
- this[Ct] = !1;
7941
+ if (this[Xt]) {
7942
+ this[Xt] = !1;
7935
7943
  let e = this;
7936
7944
  for (; e = e.parent; )
7937
- e[Ct] = !1;
7945
+ e[Xt] = !1;
7938
7946
  }
7939
7947
  }
7940
7948
  next() {
@@ -8558,7 +8566,7 @@ let on = class {
8558
8566
  var Wn = on;
8559
8567
  on.default = on;
8560
8568
  Hn && Hn.registerInput && Hn.registerInput(on);
8561
- let Ya = $e, Ua, Fa, bt = class extends Ya {
8569
+ let Ya = $e, Ua, Fa, ft = class extends Ya {
8562
8570
  constructor(e) {
8563
8571
  super(e), this.type = "root", this.nodes || (this.nodes = []);
8564
8572
  }
@@ -8581,15 +8589,15 @@ let Ya = $e, Ua, Fa, bt = class extends Ya {
8581
8589
  return new Ua(new Fa(), this, e).stringify();
8582
8590
  }
8583
8591
  };
8584
- bt.registerLazyResult = (e) => {
8592
+ ft.registerLazyResult = (e) => {
8585
8593
  Ua = e;
8586
8594
  };
8587
- bt.registerProcessor = (e) => {
8595
+ ft.registerProcessor = (e) => {
8588
8596
  Fa = e;
8589
8597
  };
8590
- var ei = bt;
8591
- bt.default = bt;
8592
- Ya.registerRoot(bt);
8598
+ var ei = ft;
8599
+ ft.default = ft;
8600
+ Ya.registerRoot(ft);
8593
8601
  let Bt = {
8594
8602
  comma(e) {
8595
8603
  return Bt.split(e, [","], !0);
@@ -8626,7 +8634,7 @@ Oa.registerRule(ln);
8626
8634
  let Zb = ur, Ib = Vn, Gb = Sn, Vb = Wn, Sb = Ja, Wb = ei, Cb = hr;
8627
8635
  function Dt(e, t) {
8628
8636
  if (Array.isArray(e)) return e.map((r) => Dt(r));
8629
- let i = e, { inputs: n } = i, s = ut(i, ["inputs"]);
8637
+ let i = e, { inputs: n } = i, s = dt(i, ["inputs"]);
8630
8638
  if (n) {
8631
8639
  t = [];
8632
8640
  for (let r of n) {
@@ -8637,7 +8645,7 @@ function Dt(e, t) {
8637
8645
  }
8638
8646
  }
8639
8647
  if (s.nodes && (s.nodes = e.nodes.map((r) => Dt(r, t))), s.source) {
8640
- let r = s.source, { inputId: l } = r, o = ut(r, ["inputId"]);
8648
+ let r = s.source, { inputId: l } = r, o = dt(r, ["inputId"]);
8641
8649
  s.source = o, l != null && (s.source.input = t[l]);
8642
8650
  }
8643
8651
  if (s.type === "root")
@@ -8814,7 +8822,7 @@ let { dirname: Ui, relative: Ea, resolve: Ma, sep: Ha } = Re, { SourceMapConsume
8814
8822
  }
8815
8823
  };
8816
8824
  var Pa = vb;
8817
- const Pn = 39, Io = 34, Zi = 92, Go = 47, Ii = 10, Xt = 32, Gi = 12, Vi = 9, Si = 13, xb = 91, Tb = 93, Nb = 40, Lb = 41, Jb = 123, Yb = 125, Ub = 59, Fb = 42, Kb = 58, Ob = 64, Wi = /[\t\n\f\r "#'()/;[\\\]{}]/g, Ci = /[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g, Eb = /.[\r\n"'(/\\]/, Vo = /[\da-f]/i;
8825
+ const Pn = 39, Io = 34, Zi = 92, Go = 47, Ii = 10, Rt = 32, Gi = 12, Vi = 9, Si = 13, xb = 91, Tb = 93, Nb = 40, Lb = 41, Jb = 123, Yb = 125, Ub = 59, Fb = 42, Kb = 58, Ob = 64, Wi = /[\t\n\f\r "#'()/;[\\\]{}]/g, Ci = /[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g, Eb = /.[\r\n"'(/\\]/, Vo = /[\da-f]/i;
8818
8826
  var Mb = function(e, t = {}) {
8819
8827
  let i = e.css.valueOf(), n = t.ignoreErrors, s, r, l, o, a, c, u, h, p, m, b = i.length, d = 0, I = [], Z = [];
8820
8828
  function W() {
@@ -8832,14 +8840,14 @@ var Mb = function(e, t = {}) {
8832
8840
  let K = v ? v.ignoreUnclosed : !1;
8833
8841
  switch (s = i.charCodeAt(d), s) {
8834
8842
  case Ii:
8835
- case Xt:
8843
+ case Rt:
8836
8844
  case Vi:
8837
8845
  case Si:
8838
8846
  case Gi: {
8839
8847
  o = d;
8840
8848
  do
8841
8849
  o += 1, s = i.charCodeAt(o);
8842
- while (s === Xt || s === Ii || s === Vi || s === Si || s === Gi);
8850
+ while (s === Rt || s === Ii || s === Vi || s === Si || s === Gi);
8843
8851
  c = ["space", i.slice(d, o)], d = o - 1;
8844
8852
  break;
8845
8853
  }
@@ -8855,7 +8863,7 @@ var Mb = function(e, t = {}) {
8855
8863
  break;
8856
8864
  }
8857
8865
  case Nb: {
8858
- if (m = I.length ? I.pop()[1] : "", p = i.charCodeAt(d + 1), m === "url" && p !== Pn && p !== Io && p !== Xt && p !== Ii && p !== Vi && p !== Gi && p !== Si) {
8866
+ if (m = I.length ? I.pop()[1] : "", p = i.charCodeAt(d + 1), m === "url" && p !== Pn && p !== Io && p !== Rt && p !== Ii && p !== Vi && p !== Gi && p !== Si) {
8859
8867
  o = d;
8860
8868
  do {
8861
8869
  if (u = !1, o = i.indexOf(")", o + 1), o === -1)
@@ -8895,10 +8903,10 @@ var Mb = function(e, t = {}) {
8895
8903
  case Zi: {
8896
8904
  for (o = d, l = !0; i.charCodeAt(o + 1) === Zi; )
8897
8905
  o += 1, l = !l;
8898
- if (s = i.charCodeAt(o + 1), l && s !== Go && s !== Xt && s !== Ii && s !== Vi && s !== Si && s !== Gi && (o += 1, Vo.test(i.charAt(o)))) {
8906
+ if (s = i.charCodeAt(o + 1), l && s !== Go && s !== Rt && s !== Ii && s !== Vi && s !== Si && s !== Gi && (o += 1, Vo.test(i.charAt(o)))) {
8899
8907
  for (; Vo.test(i.charAt(o + 1)); )
8900
8908
  o += 1;
8901
- i.charCodeAt(o + 1) === Xt && (o += 1);
8909
+ i.charCodeAt(o + 1) === Rt && (o += 1);
8902
8910
  }
8903
8911
  c = ["word", i.slice(d, o + 1), d, o], d = o;
8904
8912
  break;
@@ -9316,8 +9324,8 @@ const uf = {
9316
9324
  Once: !0,
9317
9325
  postcssPlugin: !0,
9318
9326
  prepare: !0
9319
- }, ft = 0;
9320
- function Rt(e) {
9327
+ }, yt = 0;
9328
+ function kt(e) {
9321
9329
  return typeof e == "object" && typeof e.then == "function";
9322
9330
  }
9323
9331
  function Qa(e) {
@@ -9325,14 +9333,14 @@ function Qa(e) {
9325
9333
  return e.type === "decl" ? t = e.prop.toLowerCase() : e.type === "atrule" && (t = e.name.toLowerCase()), t && e.append ? [
9326
9334
  i,
9327
9335
  i + "-" + t,
9328
- ft,
9336
+ yt,
9329
9337
  i + "Exit",
9330
9338
  i + "Exit-" + t
9331
- ] : t ? [i, i + "-" + t, i + "Exit", i + "Exit-" + t] : e.append ? [i, ft, i + "Exit"] : [i, i + "Exit"];
9339
+ ] : t ? [i, i + "-" + t, i + "Exit", i + "Exit-" + t] : e.append ? [i, yt, i + "Exit"] : [i, i + "Exit"];
9332
9340
  }
9333
9341
  function Ro(e) {
9334
9342
  let t;
9335
- return e.type === "document" ? t = ["Document", ft, "DocumentExit"] : e.type === "root" ? t = ["Root", ft, "RootExit"] : t = Qa(e), {
9343
+ return e.type === "document" ? t = ["Document", yt, "DocumentExit"] : e.type === "root" ? t = ["Root", yt, "RootExit"] : t = Qa(e), {
9336
9344
  eventIndex: 0,
9337
9345
  events: t,
9338
9346
  iterator: 0,
@@ -9344,7 +9352,7 @@ function Ro(e) {
9344
9352
  function Fs(e) {
9345
9353
  return e[ve] = !1, e.nodes && e.nodes.forEach((t) => Fs(t)), e;
9346
9354
  }
9347
- let Ks = {}, yt = class ja {
9355
+ let Ks = {}, gt = class ja {
9348
9356
  get content() {
9349
9357
  return this.stringify().content;
9350
9358
  }
@@ -9445,7 +9453,7 @@ let Ks = {}, yt = class ja {
9445
9453
  this.plugin = 0;
9446
9454
  for (let t = 0; t < this.plugins.length; t++) {
9447
9455
  let i = this.plugins[t], n = this.runOnRoot(i);
9448
- if (Rt(n))
9456
+ if (kt(n))
9449
9457
  try {
9450
9458
  yield n;
9451
9459
  } catch (s) {
@@ -9459,7 +9467,7 @@ let Ks = {}, yt = class ja {
9459
9467
  let i = [Ro(t)];
9460
9468
  for (; i.length > 0; ) {
9461
9469
  let n = this.visitTick(i);
9462
- if (Rt(n))
9470
+ if (kt(n))
9463
9471
  try {
9464
9472
  yield n;
9465
9473
  } catch (s) {
@@ -9495,7 +9503,7 @@ let Ks = {}, yt = class ja {
9495
9503
  let i = this.result.root.nodes.map(
9496
9504
  (n) => t.Once(n, this.helpers)
9497
9505
  );
9498
- return Rt(i[0]) ? Promise.all(i) : i;
9506
+ return kt(i[0]) ? Promise.all(i) : i;
9499
9507
  }
9500
9508
  return t.Once(this.result.root, this.helpers);
9501
9509
  } else if (typeof t == "function")
@@ -9520,7 +9528,7 @@ let Ks = {}, yt = class ja {
9520
9528
  throw this.getAsyncError();
9521
9529
  for (let t of this.plugins) {
9522
9530
  let i = this.runOnRoot(t);
9523
- if (Rt(i))
9531
+ if (kt(i))
9524
9532
  throw this.getAsyncError();
9525
9533
  }
9526
9534
  if (this.prepareVisitors(), this.hasListener) {
@@ -9555,7 +9563,7 @@ let Ks = {}, yt = class ja {
9555
9563
  }
9556
9564
  if (i.type !== "root" && i.type !== "document" && !i.parent)
9557
9565
  return !0;
9558
- if (Rt(r))
9566
+ if (kt(r))
9559
9567
  throw this.getAsyncError();
9560
9568
  }
9561
9569
  }
@@ -9586,7 +9594,7 @@ let Ks = {}, yt = class ja {
9586
9594
  let r = i.events;
9587
9595
  for (; i.eventIndex < r.length; ) {
9588
9596
  let l = r[i.eventIndex];
9589
- if (i.eventIndex += 1, l === ft) {
9597
+ if (i.eventIndex += 1, l === yt) {
9590
9598
  n.nodes && n.nodes.length && (n[ve] = !0, i.iterator = n.getIterator());
9591
9599
  return;
9592
9600
  } else if (this.listeners[l]) {
@@ -9600,7 +9608,7 @@ let Ks = {}, yt = class ja {
9600
9608
  t[ve] = !0;
9601
9609
  let i = Qa(t);
9602
9610
  for (let n of i)
9603
- if (n === ft)
9611
+ if (n === yt)
9604
9612
  t.nodes && t.each((s) => {
9605
9613
  s[ve] || this.walkSync(s);
9606
9614
  });
@@ -9614,13 +9622,13 @@ let Ks = {}, yt = class ja {
9614
9622
  return this.sync().warnings();
9615
9623
  }
9616
9624
  };
9617
- yt.registerPostcss = (e) => {
9625
+ gt.registerPostcss = (e) => {
9618
9626
  Ks = e;
9619
9627
  };
9620
- var Aa = yt;
9621
- yt.default = yt;
9622
- of.registerLazyResult(yt);
9623
- nf.registerLazyResult(yt);
9628
+ var Aa = gt;
9629
+ gt.default = gt;
9630
+ of.registerLazyResult(gt);
9631
+ nf.registerLazyResult(gt);
9624
9632
  let pf = Pa, mf = pr;
9625
9633
  const bf = mr;
9626
9634
  let ff = In, yf = Da, Os = class {
@@ -10069,7 +10077,7 @@ function Qn(e, t, i) {
10069
10077
  return e.tagName === "TITLE" && i.headTitleMutations ? !0 : t.getId(e) === Ot;
10070
10078
  }
10071
10079
  function cc(e, t) {
10072
- if (Tt(e))
10080
+ if (Nt(e))
10073
10081
  return !1;
10074
10082
  const i = t.getId(e);
10075
10083
  if (!t.has(i))
@@ -10142,7 +10150,7 @@ function pc(e) {
10142
10150
  const t = e.ownerDocument;
10143
10151
  return t ? M.contains(t, e) || $f(e) : !1;
10144
10152
  }
10145
- var P = /* @__PURE__ */ ((e) => (e[e.DomContentLoaded = 0] = "DomContentLoaded", e[e.Load = 1] = "Load", e[e.FullSnapshot = 2] = "FullSnapshot", e[e.IncrementalSnapshot = 3] = "IncrementalSnapshot", e[e.Meta = 4] = "Meta", e[e.Custom = 5] = "Custom", e[e.Plugin = 6] = "Plugin", e))(P || {}), H = /* @__PURE__ */ ((e) => (e[e.Mutation = 0] = "Mutation", e[e.MouseMove = 1] = "MouseMove", e[e.MouseInteraction = 2] = "MouseInteraction", e[e.Scroll = 3] = "Scroll", e[e.ViewportResize = 4] = "ViewportResize", e[e.Input = 5] = "Input", e[e.TouchMove = 6] = "TouchMove", e[e.MediaInteraction = 7] = "MediaInteraction", e[e.StyleSheetRule = 8] = "StyleSheetRule", e[e.CanvasMutation = 9] = "CanvasMutation", e[e.Font = 10] = "Font", e[e.Log = 11] = "Log", e[e.Drag = 12] = "Drag", e[e.StyleDeclaration = 13] = "StyleDeclaration", e[e.Selection = 14] = "Selection", e[e.AdoptedStyleSheet = 15] = "AdoptedStyleSheet", e[e.CustomElement = 16] = "CustomElement", e))(H || {}), fe = /* @__PURE__ */ ((e) => (e[e.MouseUp = 0] = "MouseUp", e[e.MouseDown = 1] = "MouseDown", e[e.Click = 2] = "Click", e[e.ContextMenu = 3] = "ContextMenu", e[e.DblClick = 4] = "DblClick", e[e.Focus = 5] = "Focus", e[e.Blur = 6] = "Blur", e[e.TouchStart = 7] = "TouchStart", e[e.TouchMove_Departed = 8] = "TouchMove_Departed", e[e.TouchEnd = 9] = "TouchEnd", e[e.TouchCancel = 10] = "TouchCancel", e))(fe || {}), Ee = /* @__PURE__ */ ((e) => (e[e.Mouse = 0] = "Mouse", e[e.Pen = 1] = "Pen", e[e.Touch = 2] = "Touch", e))(Ee || {}), gt = /* @__PURE__ */ ((e) => (e[e["2D"] = 0] = "2D", e[e.WebGL = 1] = "WebGL", e[e.WebGL2 = 2] = "WebGL2", e))(gt || {}), nt = /* @__PURE__ */ ((e) => (e[e.Play = 0] = "Play", e[e.Pause = 1] = "Pause", e[e.Seeked = 2] = "Seeked", e[e.VolumeChange = 3] = "VolumeChange", e[e.RateChange = 4] = "RateChange", e))(nt || {}), mc = /* @__PURE__ */ ((e) => (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", e))(mc || {});
10153
+ var P = /* @__PURE__ */ ((e) => (e[e.DomContentLoaded = 0] = "DomContentLoaded", e[e.Load = 1] = "Load", e[e.FullSnapshot = 2] = "FullSnapshot", e[e.IncrementalSnapshot = 3] = "IncrementalSnapshot", e[e.Meta = 4] = "Meta", e[e.Custom = 5] = "Custom", e[e.Plugin = 6] = "Plugin", e))(P || {}), H = /* @__PURE__ */ ((e) => (e[e.Mutation = 0] = "Mutation", e[e.MouseMove = 1] = "MouseMove", e[e.MouseInteraction = 2] = "MouseInteraction", e[e.Scroll = 3] = "Scroll", e[e.ViewportResize = 4] = "ViewportResize", e[e.Input = 5] = "Input", e[e.TouchMove = 6] = "TouchMove", e[e.MediaInteraction = 7] = "MediaInteraction", e[e.StyleSheetRule = 8] = "StyleSheetRule", e[e.CanvasMutation = 9] = "CanvasMutation", e[e.Font = 10] = "Font", e[e.Log = 11] = "Log", e[e.Drag = 12] = "Drag", e[e.StyleDeclaration = 13] = "StyleDeclaration", e[e.Selection = 14] = "Selection", e[e.AdoptedStyleSheet = 15] = "AdoptedStyleSheet", e[e.CustomElement = 16] = "CustomElement", e))(H || {}), fe = /* @__PURE__ */ ((e) => (e[e.MouseUp = 0] = "MouseUp", e[e.MouseDown = 1] = "MouseDown", e[e.Click = 2] = "Click", e[e.ContextMenu = 3] = "ContextMenu", e[e.DblClick = 4] = "DblClick", e[e.Focus = 5] = "Focus", e[e.Blur = 6] = "Blur", e[e.TouchStart = 7] = "TouchStart", e[e.TouchMove_Departed = 8] = "TouchMove_Departed", e[e.TouchEnd = 9] = "TouchEnd", e[e.TouchCancel = 10] = "TouchCancel", e))(fe || {}), Ee = /* @__PURE__ */ ((e) => (e[e.Mouse = 0] = "Mouse", e[e.Pen = 1] = "Pen", e[e.Touch = 2] = "Touch", e))(Ee || {}), Zt = /* @__PURE__ */ ((e) => (e[e["2D"] = 0] = "2D", e[e.WebGL = 1] = "WebGL", e[e.WebGL2 = 2] = "WebGL2", e))(Zt || {}), nt = /* @__PURE__ */ ((e) => (e[e.Play = 0] = "Play", e[e.Pause = 1] = "Pause", e[e.Seeked = 2] = "Seeked", e[e.VolumeChange = 3] = "VolumeChange", e[e.RateChange = 4] = "RateChange", e))(nt || {}), mc = /* @__PURE__ */ ((e) => (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", e))(mc || {});
10146
10154
  function xo(e) {
10147
10155
  return "__ln" in e;
10148
10156
  }
@@ -10203,7 +10211,7 @@ class ey {
10203
10211
  return;
10204
10212
  b === "STYLE" && this.addedSet.has(c) && (u = !0);
10205
10213
  }
10206
- const h = Tt(c) ? this.mirror.getId(hc(a)) : this.mirror.getId(c), p = s(a);
10214
+ const h = Nt(c) ? this.mirror.getId(hc(a)) : this.mirror.getId(c), p = s(a);
10207
10215
  if (h === -1 || p === -1)
10208
10216
  return n.addNode(a);
10209
10217
  const m = rt(a, {
@@ -10390,8 +10398,8 @@ class ey {
10390
10398
  }
10391
10399
  if (r.attributes[n] = Ll(
10392
10400
  this.doc,
10393
- dt(i.tagName),
10394
- dt(n),
10401
+ ht(i.tagName),
10402
+ ht(n),
10395
10403
  s
10396
10404
  ), n === "style") {
10397
10405
  if (!this.unattachedDoc)
@@ -10420,11 +10428,11 @@ class ey {
10420
10428
  return;
10421
10429
  }
10422
10430
  t.addedNodes.forEach((i) => this.genAdds(i, t.target)), t.removedNodes.forEach((i) => {
10423
- const n = this.mirror.getId(i), s = Tt(t.target) ? this.mirror.getId(M.host(t.target)) : this.mirror.getId(t.target);
10431
+ const n = this.mirror.getId(i), s = Nt(t.target) ? this.mirror.getId(M.host(t.target)) : this.mirror.getId(t.target);
10424
10432
  ue(t.target, this.blockClass, this.blockSelector, !1) || Qn(i, this.mirror, this.slimDOMOptions) || !Qf(i, this.mirror) || (this.addedSet.has(i) ? (Hs(this.addedSet, i), this.droppedSet.add(i)) : this.addedSet.has(t.target) && n === -1 || cc(t.target, this.mirror) || (this.movedSet.has(i) && this.movedMap[To(n, s)] ? Hs(this.movedSet, i) : (this.removes.push({
10425
10433
  parentId: s,
10426
10434
  id: n,
10427
- isShadow: Tt(t.target) && Nt(t.target) ? !0 : void 0
10435
+ isShadow: Nt(t.target) && Lt(t.target) ? !0 : void 0
10428
10436
  }), ty(i, this.removesSubTreeCache))), this.mapRemoves.push(i));
10429
10437
  });
10430
10438
  break;
@@ -10518,18 +10526,18 @@ function bc(e, t) {
10518
10526
  const i = M.parentNode(t);
10519
10527
  return i ? e.has(i) ? !0 : bc(e, i) : !1;
10520
10528
  }
10521
- let Lt;
10529
+ let Jt;
10522
10530
  function ny(e) {
10523
- Lt = e;
10531
+ Jt = e;
10524
10532
  }
10525
10533
  function sy() {
10526
- Lt = void 0;
10534
+ Jt = void 0;
10527
10535
  }
10528
- const z = (e) => Lt ? (...t) => {
10536
+ const z = (e) => Jt ? (...t) => {
10529
10537
  try {
10530
10538
  return e(...t);
10531
10539
  } catch (i) {
10532
- if (Lt && Lt(i) === !0)
10540
+ if (Jt && Jt(i) === !0)
10533
10541
  return;
10534
10542
  throw i;
10535
10543
  }
@@ -10658,7 +10666,7 @@ function oy({
10658
10666
  return Object.keys(fe).filter(
10659
10667
  (u) => Number.isNaN(Number(u)) && !u.endsWith("_Departed") && l[u] !== !1
10660
10668
  ).forEach((u) => {
10661
- let h = dt(u);
10669
+ let h = ht(u);
10662
10670
  const p = c(u);
10663
10671
  if (window.PointerEvent)
10664
10672
  switch (fe[u]) {
@@ -11504,7 +11512,7 @@ class Zy {
11504
11512
  this.reset(), this.patchAttachShadow(Element, document);
11505
11513
  }
11506
11514
  addShadowRoot(t, i) {
11507
- if (!Nt(t) || this.shadowDoms.has(t)) return;
11515
+ if (!Lt(t) || this.shadowDoms.has(t)) return;
11508
11516
  this.shadowDoms.add(t);
11509
11517
  const n = fc(
11510
11518
  ge(N({}, this.bypassOptions), {
@@ -11689,7 +11697,7 @@ function Sy(e, t, i, n) {
11689
11697
  return ue(this.canvas, i, n, !0) || setTimeout(() => {
11690
11698
  const u = Ic(c, t, this);
11691
11699
  e(this.canvas, {
11692
- type: gt["2D"],
11700
+ type: Zt["2D"],
11693
11701
  property: l,
11694
11702
  args: u
11695
11703
  });
@@ -11705,7 +11713,7 @@ function Sy(e, t, i, n) {
11705
11713
  {
11706
11714
  set(c) {
11707
11715
  e(this.canvas, {
11708
- type: gt["2D"],
11716
+ type: Zt["2D"],
11709
11717
  property: l,
11710
11718
  args: [c],
11711
11719
  setter: !0
@@ -11812,7 +11820,7 @@ function Cy(e, t, i, n) {
11812
11820
  return s.push(
11813
11821
  ...Ko(
11814
11822
  t.WebGLRenderingContext.prototype,
11815
- gt.WebGL,
11823
+ Zt.WebGL,
11816
11824
  e,
11817
11825
  i,
11818
11826
  n,
@@ -11821,7 +11829,7 @@ function Cy(e, t, i, n) {
11821
11829
  ), typeof t.WebGL2RenderingContext < "u" && s.push(
11822
11830
  ...Ko(
11823
11831
  t.WebGL2RenderingContext.prototype,
11824
- gt.WebGL2,
11832
+ Zt.WebGL2,
11825
11833
  e,
11826
11834
  i,
11827
11835
  n,
@@ -11881,7 +11889,7 @@ class ky {
11881
11889
  }
11882
11890
  const { base64: m, type: b, dx: d, dy: I, dw: Z, dh: W } = h.data, R = {
11883
11891
  id: p,
11884
- type: gt["2D"],
11892
+ type: Zt["2D"],
11885
11893
  commands: [
11886
11894
  {
11887
11895
  property: "clearRect",
@@ -12183,7 +12191,7 @@ class ky {
12183
12191
  return;
12184
12192
  const n = this.pendingCanvasMutations.get(t);
12185
12193
  if (!n || i === -1) return;
12186
- const s = n.map((l) => ut(l, ["type"])), { type: r } = n[0];
12194
+ const s = n.map((l) => dt(l, ["type"])), { type: r } = n[0];
12187
12195
  this.mutationCb({ id: i, type: r, commands: s }), this.pendingCanvasMutations.delete(t);
12188
12196
  }
12189
12197
  }
@@ -12248,7 +12256,7 @@ class vy {
12248
12256
  destroy() {
12249
12257
  }
12250
12258
  }
12251
- let re, Oi, Jt, dn = !1;
12259
+ let re, Oi, Yt, dn = !1;
12252
12260
  try {
12253
12261
  if (Array.from([1], (e) => e * 2)[0] !== 2) {
12254
12262
  const e = document.createElement("iframe");
@@ -12297,16 +12305,16 @@ function Ue(e = {}) {
12297
12305
  } = e, ii = N(N({}, e.dataURLOptions), (i = (t = e.sampling) == null ? void 0 : t.canvas) == null ? void 0 : i.dataURLOptions);
12298
12306
  ny(Cc);
12299
12307
  const ni = f ? window.parent === window : !0;
12300
- let It = !1;
12308
+ let Gt = !1;
12301
12309
  if (!ni)
12302
12310
  try {
12303
- window.parent.document && (It = !1);
12311
+ window.parent.document && (Gt = !1);
12304
12312
  } catch {
12305
- It = !0;
12313
+ Gt = !0;
12306
12314
  }
12307
12315
  if (ni && !c)
12308
12316
  throw new Error("emit function is required");
12309
- if (!ni && !It)
12317
+ if (!ni && !Gt)
12310
12318
  return () => {
12311
12319
  };
12312
12320
  U !== void 0 && k.mousemove === void 0 && (k.mousemove = U), Ce.reset();
@@ -12348,14 +12356,14 @@ function Ue(e = {}) {
12348
12356
  for (const Se of $ || [])
12349
12357
  Se.eventProcessor && (D = Se.eventProcessor(D));
12350
12358
  return S && // Disable packing events which will be emitted to parent frames.
12351
- !It && (D = S(D)), D;
12359
+ !Gt && (D = S(D)), D;
12352
12360
  };
12353
12361
  re = (D, Se) => {
12354
12362
  var ne;
12355
12363
  const se = D;
12356
12364
  if (se.timestamp = cn(), (ne = je[0]) != null && ne.isFrozen() && se.type !== P.FullSnapshot && !(se.type === P.IncrementalSnapshot && se.data.source === H.Mutation) && je.forEach((ke) => ke.unfreeze()), ni)
12357
12365
  c?.(Zr(se), Se);
12358
- else if (It) {
12366
+ else if (Gt) {
12359
12367
  const ke = {
12360
12368
  type: "rrweb",
12361
12369
  event: Zr(se),
@@ -12413,7 +12421,7 @@ function Ue(e = {}) {
12413
12421
  crossOriginIframeStyleMirror: De.crossOriginIframeStyleMirror
12414
12422
  });
12415
12423
  const wn = new vy();
12416
- Jt = new ky({
12424
+ Yt = new ky({
12417
12425
  recordCanvas: te,
12418
12426
  recordLocalVideos: B,
12419
12427
  recordRemoteVideos: F,
@@ -12452,7 +12460,7 @@ function Ue(e = {}) {
12452
12460
  slimDOMOptions: Rn,
12453
12461
  iframeManager: De,
12454
12462
  stylesheetManager: Be,
12455
- canvasManager: Jt,
12463
+ canvasManager: Yt,
12456
12464
  keepIframeSrcFn: ie,
12457
12465
  processedNodeManager: wn
12458
12466
  },
@@ -12614,7 +12622,7 @@ function Ue(e = {}) {
12614
12622
  stylesheetManager: Be,
12615
12623
  shadowDomManager: ri,
12616
12624
  processedNodeManager: wn,
12617
- canvasManager: Jt,
12625
+ canvasManager: Yt,
12618
12626
  ignoreCSSAttributes: Oe,
12619
12627
  privacySetting: Ve,
12620
12628
  plugins: ((ke = $?.filter((A) => A.observer)) == null ? void 0 : ke.map((A) => ({
@@ -12685,9 +12693,9 @@ Ue.takeFullSnapshot = (e) => {
12685
12693
  Oi(e);
12686
12694
  };
12687
12695
  Ue.snapshotCanvas = (e) => ye(void 0, null, function* () {
12688
- if (!Jt)
12696
+ if (!Yt)
12689
12697
  throw new Error("canvas manager is not initialized");
12690
- yield Jt.snapshot(e);
12698
+ yield Yt.snapshot(e);
12691
12699
  });
12692
12700
  Ue.mirror = Ce;
12693
12701
  var Eo;
@@ -13241,7 +13249,7 @@ class eg {
13241
13249
  });
13242
13250
  this.graphqlSDK = td(h, kd()), this.environment = (c = t.environment) != null ? c : "production", this.appVersion = t.appVersion, this.serviceName = (u = t.serviceName) != null ? u : "browser", typeof t.organizationID == "string" ? this.organizationID = t.organizationID : this.organizationID = t.organizationID.toString(), this.isRunningOnHighlight = this.organizationID === "1" || this.organizationID === "1jdkoe52", this.firstloadVersion = t.firstloadVersion || "unknown", this.sessionShortcut = t.sessionShortcut || !1, this._onToggleFeedbackFormVisibility = () => {
13243
13251
  };
13244
- const p = t, m = ut(p, ["firstloadVersion"]);
13252
+ const p = t, m = dt(p, ["firstloadVersion"]);
13245
13253
  this._optionsInternal = m, this.listeners = [], this.events = [], this.hasSessionUnloaded = !1, this.hasPushedData = !1, window.Intercom && window.Intercom("onShow", () => {
13246
13254
  window.Intercom("update", {
13247
13255
  highlightSessionURL: this.getCurrentSessionURLWithTimestamp()
@@ -13341,7 +13349,7 @@ class eg {
13341
13349
  return;
13342
13350
  }
13343
13351
  }
13344
- xt(""), Qe(this.sessionData), this.logger.log(
13352
+ Tt(""), Qe(this.sessionData), this.logger.log(
13345
13353
  `Loaded Highlight
13346
13354
  Remote: ${this._backendUrl}
13347
13355
  Project ID: ${this.sessionData.projectID}
@@ -13541,13 +13549,13 @@ SessionSecureID: ${this.sessionData.sessionSecureID}`
13541
13549
  Ze("initializeSession _setupWindowListeners", "warn", n);
13542
13550
  }
13543
13551
  const i = () => {
13544
- this.addCustomEvent("Page Unload", ""), xt(this.sessionData.sessionSecureID), Qe(this.sessionData);
13552
+ this.addCustomEvent("Page Unload", ""), Tt(this.sessionData.sessionSecureID), Qe(this.sessionData);
13545
13553
  };
13546
13554
  if (window.addEventListener("beforeunload", i), this.listeners.push(
13547
13555
  () => window.removeEventListener("beforeunload", i)
13548
13556
  ), navigator.userAgent.match(/iPad/i) || navigator.userAgent.match(/iPhone/i)) {
13549
13557
  const n = () => {
13550
- this.addCustomEvent("Page Unload", ""), xt(this.sessionData.sessionSecureID), Qe(this.sessionData);
13558
+ this.addCustomEvent("Page Unload", ""), Tt(this.sessionData.sessionSecureID), Qe(this.sessionData);
13551
13559
  };
13552
13560
  window.addEventListener("pagehide", n), this.listeners.push(
13553
13561
  () => window.removeEventListener("beforeunload", n)
@@ -13778,7 +13786,7 @@ class pg extends Dd {
13778
13786
  sessionSecureID: this.sessionSecureID,
13779
13787
  privacySetting: (n = i?.privacySetting) != null ? n : "strict"
13780
13788
  });
13781
- this.record = new eg(p), i != null && i.manualStart || this.record.start(), wt.load(this.record), !((r = (s = i?.integrations) == null ? void 0 : s.mixpanel) != null && r.disabled) && (o = (l = i?.integrations) == null ? void 0 : l.mixpanel) != null && o.projectToken && $y(i.integrations.mixpanel), !((c = (a = i?.integrations) == null ? void 0 : a.amplitude) != null && c.disabled) && (h = (u = i?.integrations) == null ? void 0 : u.amplitude) != null && h.apiKey && _y(i.integrations.amplitude);
13789
+ this.record = new eg(p), i != null && i.manualStart || this.record.start(), vt.load(this.record), !((r = (s = i?.integrations) == null ? void 0 : s.mixpanel) != null && r.disabled) && (o = (l = i?.integrations) == null ? void 0 : l.mixpanel) != null && o.projectToken && $y(i.integrations.mixpanel), !((c = (a = i?.integrations) == null ? void 0 : a.amplitude) != null && c.disabled) && (h = (u = i?.integrations) == null ? void 0 : u.amplitude) != null && h.apiKey && _y(i.integrations.amplitude);
13782
13790
  } catch (p) {
13783
13791
  Ze(
13784
13792
  "Error initializing @launchdarkly/session-replay SDK",
@@ -13851,7 +13859,7 @@ class pg extends Dd {
13851
13859
  }
13852
13860
  export {
13853
13861
  pg as e,
13854
- wt as r,
13862
+ vt as r,
13855
13863
  jo as x
13856
13864
  };
13857
- //# sourceMappingURL=index-73GcIYAA.js.map
13865
+ //# sourceMappingURL=index-ZvpSaNfO.js.map