@launchdarkly/session-replay 0.4.7 → 0.4.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 Hr = /* @__PURE__ */ Object.create(null), Ve = (e, t, ...i) => {
21
21
  Hr[`${e}-${t}`] || (Hr[`${e}-${t}`] = !0, Ve(e, i, ...n));
22
22
  }, uu = (e, ...t) => cu(void 0, null, function* () {
23
23
  try {
24
- const { LDObserve: i } = yield import("./LDObserve-DDC3E_Sq.js");
24
+ const { LDObserve: i } = yield import("./LDObserve-C8l379_e.js");
25
25
  i.recordLog(`${e}${t}`, "warn");
26
26
  } catch {
27
27
  }
@@ -89,7 +89,7 @@ var du = Object.defineProperty, hu = Object.defineProperties, pu = Object.getOwn
89
89
  for (var i of on(t))
90
90
  Wl.call(t, i) && bs(e, i, t[i]);
91
91
  return e;
92
- }, Vt = (e, t) => hu(e, pu(t)), At = (e, t) => {
92
+ }, Vt = (e, t) => hu(e, pu(t)), Xt = (e, t) => {
93
93
  var i = {};
94
94
  for (var n in e)
95
95
  Cl.call(e, n) && t.indexOf(n) < 0 && (i[n] = e[n]);
@@ -97,7 +97,7 @@ var du = Object.defineProperty, hu = Object.defineProperties, pu = Object.getOwn
97
97
  for (var n of on(e))
98
98
  t.indexOf(n) < 0 && Wl.call(e, n) && (i[n] = e[n]);
99
99
  return i;
100
- }, si = (e, t, i) => bs(e, typeof t != "symbol" ? t + "" : t, i), Wt = (e, t, i) => new Promise((n, s) => {
100
+ }, si = (e, t, i) => bs(e, typeof t != "symbol" ? t + "" : t, i), Rt = (e, t, i) => new Promise((n, s) => {
101
101
  var r = (a) => {
102
102
  try {
103
103
  o(i.next(a));
@@ -570,7 +570,7 @@ let Ru = class {
570
570
  function ku(e) {
571
571
  return e === Z.BANG || e === Z.DOLLAR || e === Z.AMP || e === Z.PAREN_L || e === Z.PAREN_R || e === Z.SPREAD || e === Z.COLON || e === Z.EQUALS || e === Z.AT || e === Z.BRACKET_L || e === Z.BRACKET_R || e === Z.BRACE_L || e === Z.PIPE || e === Z.BRACE_R;
572
572
  }
573
- function Yt(e) {
573
+ function Ft(e) {
574
574
  return e >= 0 && e <= 55295 || e >= 57344 && e <= 1114111;
575
575
  }
576
576
  function xn(e, t) {
@@ -656,7 +656,7 @@ function vu(e, t) {
656
656
  throw ue(
657
657
  e.source,
658
658
  s,
659
- r === 39 ? `Unexpected single quote character ('), did you mean to use a double quote (")?` : Yt(r) || xn(i, s) ? `Unexpected character: ${lt(e, s)}.` : `Invalid character: ${lt(e, s)}.`
659
+ r === 39 ? `Unexpected single quote character ('), did you mean to use a double quote (")?` : Ft(r) || xn(i, s) ? `Unexpected character: ${lt(e, s)}.` : `Invalid character: ${lt(e, s)}.`
660
660
  );
661
661
  }
662
662
  return le(e, Z.EOF, n, n);
@@ -668,7 +668,7 @@ function wu(e, t) {
668
668
  const r = i.charCodeAt(s);
669
669
  if (r === 10 || r === 13)
670
670
  break;
671
- if (Yt(r))
671
+ if (Ft(r))
672
672
  ++s;
673
673
  else if (xn(i, s))
674
674
  s += 2;
@@ -746,7 +746,7 @@ function Tu(e, t) {
746
746
  }
747
747
  if (o === 10 || o === 13)
748
748
  break;
749
- if (Yt(o))
749
+ if (Ft(o))
750
750
  ++s;
751
751
  else if (xn(i, s))
752
752
  s += 2;
@@ -768,14 +768,14 @@ function Nu(e, t) {
768
768
  for (; s < 12; ) {
769
769
  const r = i.charCodeAt(t + s++);
770
770
  if (r === 125) {
771
- if (s < 5 || !Yt(n))
771
+ if (s < 5 || !Ft(n))
772
772
  break;
773
773
  return {
774
774
  value: String.fromCodePoint(n),
775
775
  size: s
776
776
  };
777
777
  }
778
- if (n = n << 4 | jt(r), n < 0)
778
+ if (n = n << 4 | Qt(r), n < 0)
779
779
  break;
780
780
  }
781
781
  throw ue(
@@ -789,7 +789,7 @@ function Nu(e, t) {
789
789
  }
790
790
  function Lu(e, t) {
791
791
  const i = e.source.body, n = jr(i, t + 2);
792
- if (Yt(n))
792
+ if (Ft(n))
793
793
  return {
794
794
  value: String.fromCodePoint(n),
795
795
  size: 6
@@ -809,9 +809,9 @@ function Lu(e, t) {
809
809
  );
810
810
  }
811
811
  function jr(e, t) {
812
- return jt(e.charCodeAt(t)) << 12 | jt(e.charCodeAt(t + 1)) << 8 | jt(e.charCodeAt(t + 2)) << 4 | jt(e.charCodeAt(t + 3));
812
+ return Qt(e.charCodeAt(t)) << 12 | Qt(e.charCodeAt(t + 1)) << 8 | Qt(e.charCodeAt(t + 2)) << 4 | Qt(e.charCodeAt(t + 3));
813
813
  }
814
- function jt(e) {
814
+ function Qt(e) {
815
815
  return e >= 48 && e <= 57 ? e - 48 : e >= 65 && e <= 70 ? e - 55 : e >= 97 && e <= 102 ? e - 87 : -1;
816
816
  }
817
817
  function Ju(e, t) {
@@ -895,7 +895,7 @@ function Yu(e, t) {
895
895
  o += i.slice(l, r), a.push(o), c === 13 && i.charCodeAt(r + 1) === 10 ? r += 2 : ++r, o = "", l = r, s = r;
896
896
  continue;
897
897
  }
898
- if (Yt(c))
898
+ if (Ft(c))
899
899
  ++r;
900
900
  else if (xn(i, r))
901
901
  r += 2;
@@ -2706,13 +2706,13 @@ const dr = JSON, nd = (e) => e.toUpperCase(), sd = (e) => {
2706
2706
  const t = Ar(e);
2707
2707
  return { query: Kl(e), operationName: t };
2708
2708
  };
2709
- class Xt extends Error {
2709
+ class Ct extends Error {
2710
2710
  constructor(t, i) {
2711
- const n = `${Xt.extractMessage(t)}: ${JSON.stringify({
2711
+ const n = `${Ct.extractMessage(t)}: ${JSON.stringify({
2712
2712
  response: t,
2713
2713
  request: i
2714
2714
  })}`;
2715
- super(n), Object.setPrototypeOf(this, Xt.prototype), this.response = t, this.request = i, typeof Error.captureStackTrace == "function" && Error.captureStackTrace(this, Xt);
2715
+ super(n), Object.setPrototypeOf(this, Ct.prototype), this.response = t, this.request = i, typeof Error.captureStackTrace == "function" && Error.captureStackTrace(this, Ct);
2716
2716
  }
2717
2717
  static extractMessage(t) {
2718
2718
  var i, n, s;
@@ -3016,7 +3016,7 @@ const Ai = /* @__PURE__ */ hr(ln), cd = /* @__PURE__ */ mu({
3016
3016
  variables: t.variables ? t.jsonSerializer.stringify(t.variables[r]) : void 0
3017
3017
  }), n), []);
3018
3018
  return `query=${encodeURIComponent(t.jsonSerializer.stringify(i))}`;
3019
- }, dd = (e) => (t) => Wt(void 0, null, function* () {
3019
+ }, dd = (e) => (t) => Rt(void 0, null, function* () {
3020
3020
  var i;
3021
3021
  const { url: n, query: s, variables: r, operationName: l, fetch: o, fetchOptions: a, middleware: c } = t, u = z({}, t.headers);
3022
3022
  let h = "", p;
@@ -3033,15 +3033,15 @@ const Ai = /* @__PURE__ */ hr(ln), cd = /* @__PURE__ */ mu({
3033
3033
  }, a);
3034
3034
  let b = n, d = m;
3035
3035
  if (c) {
3036
- const S = yield Promise.resolve(c(Vt(z({}, m), { url: n, operationName: l, variables: r }))), { url: I } = S, V = At(S, ["url"]);
3036
+ const S = yield Promise.resolve(c(Vt(z({}, m), { url: n, operationName: l, variables: r }))), { url: I } = S, V = Xt(S, ["url"]);
3037
3037
  b = I, d = V;
3038
3038
  }
3039
3039
  return h && (b = `${b}?${h}`), yield o(b, d);
3040
3040
  });
3041
3041
  let hd = class {
3042
3042
  constructor(t, i = {}) {
3043
- this.url = t, this.requestConfig = i, this.rawRequest = (...n) => Wt(this, null, function* () {
3044
- const [s, r, l] = n, o = od(s, r, l), a = this.requestConfig, { headers: c, fetch: u = Ai, method: h = "POST", requestMiddleware: p, responseMiddleware: m } = a, b = At(a, ["headers", "fetch", "method", "requestMiddleware", "responseMiddleware"]), { url: d } = this;
3043
+ this.url = t, this.requestConfig = i, this.rawRequest = (...n) => Rt(this, null, function* () {
3044
+ const [s, r, l] = n, o = od(s, r, l), a = this.requestConfig, { headers: c, fetch: u = Ai, method: h = "POST", requestMiddleware: p, responseMiddleware: m } = a, b = Xt(a, ["headers", "fetch", "method", "requestMiddleware", "responseMiddleware"]), { url: d } = this;
3045
3045
  o.signal !== void 0 && (b.signal = o.signal);
3046
3046
  const { operationName: S } = jn(o.query);
3047
3047
  return Qn({
@@ -3060,8 +3060,8 @@ let hd = class {
3060
3060
  });
3061
3061
  }
3062
3062
  request(t, ...i) {
3063
- return Wt(this, null, function* () {
3064
- const [n, s] = i, r = rd(t, n, s), l = this.requestConfig, { headers: o, fetch: a = Ai, method: c = "POST", requestMiddleware: u, responseMiddleware: h } = l, p = At(l, ["headers", "fetch", "method", "requestMiddleware", "responseMiddleware"]), { url: m } = this;
3063
+ return Rt(this, null, function* () {
3064
+ const [n, s] = i, r = rd(t, n, s), l = this.requestConfig, { headers: o, fetch: a = Ai, method: c = "POST", requestMiddleware: u, responseMiddleware: h } = l, p = Xt(l, ["headers", "fetch", "method", "requestMiddleware", "responseMiddleware"]), { url: m } = this;
3065
3065
  r.signal !== void 0 && (p.signal = r.signal);
3066
3066
  const { query: b, operationName: d } = jn(r.document);
3067
3067
  return Qn({
@@ -3082,7 +3082,7 @@ let hd = class {
3082
3082
  // prettier-ignore
3083
3083
  batchRequests(t, i) {
3084
3084
  var n;
3085
- const s = ld(t, i), r = this.requestConfig, { headers: l } = r, o = At(r, ["headers"]);
3085
+ const s = ld(t, i), r = this.requestConfig, { headers: l } = r, o = Xt(r, ["headers"]);
3086
3086
  s.signal !== void 0 && (o.signal = s.signal);
3087
3087
  const a = s.documents.map(({ document: u }) => jn(u).query), c = s.documents.map(({ variables: u }) => u);
3088
3088
  return Qn({
@@ -3117,11 +3117,11 @@ let hd = class {
3117
3117
  return this.url = t, this;
3118
3118
  }
3119
3119
  };
3120
- const Qn = (e) => Wt(void 0, null, function* () {
3120
+ const Qn = (e) => Rt(void 0, null, function* () {
3121
3121
  var t, i;
3122
3122
  const { query: n, variables: s, fetchOptions: r } = e, l = dd(nd((t = e.method) != null ? t : "post")), o = Array.isArray(e.query), a = yield l(e), c = yield md(a, (i = r.jsonSerializer) != null ? i : dr), 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";
3123
3123
  if (a.ok && h && u) {
3124
- const p = c, m = At(p, ["errors"]), b = r.errorPolicy === "ignore" ? m : c;
3124
+ const p = c, m = Xt(p, ["errors"]), b = r.errorPolicy === "ignore" ? m : c;
3125
3125
  return Vt(z({}, o ? { data: b } : b), {
3126
3126
  headers: a.headers,
3127
3127
  status: a.status
@@ -3130,7 +3130,7 @@ const Qn = (e) => Wt(void 0, null, function* () {
3130
3130
  const p = typeof c == "string" ? {
3131
3131
  error: c
3132
3132
  } : c;
3133
- throw new Xt(
3133
+ throw new Ct(
3134
3134
  // @ts-expect-error TODO
3135
3135
  Vt(z({}, p), { status: a.status, headers: a.headers }),
3136
3136
  { query: n, variables: s }
@@ -3144,7 +3144,7 @@ const Qn = (e) => Wt(void 0, null, function* () {
3144
3144
  throw new Error("Cannot create request body with given variable type, array expected");
3145
3145
  const r = e.reduce((l, o, a) => (l.push({ query: o, variables: t ? t[a] : void 0 }), l), []);
3146
3146
  return s.stringify(r);
3147
- }, md = (e, t) => Wt(void 0, null, function* () {
3147
+ }, md = (e, t) => Rt(void 0, null, function* () {
3148
3148
  let i;
3149
3149
  return e.headers.forEach((n, s) => {
3150
3150
  s.toLowerCase() === "content-type" && (i = n);
@@ -3243,7 +3243,7 @@ function Vd() {
3243
3243
  function Xd() {
3244
3244
  cn = !1;
3245
3245
  }
3246
- var Kt = {
3246
+ var Ot = {
3247
3247
  gql: Ie,
3248
3248
  resetCaches: Sd,
3249
3249
  disableFragmentWarnings: Gd,
@@ -3251,7 +3251,7 @@ var Kt = {
3251
3251
  disableExperimentalFragmentVariables: Xd
3252
3252
  };
3253
3253
  (function(e) {
3254
- e.gql = Kt.gql, e.resetCaches = Kt.resetCaches, e.disableFragmentWarnings = Kt.disableFragmentWarnings, e.enableExperimentalFragmentVariables = Kt.enableExperimentalFragmentVariables, e.disableExperimentalFragmentVariables = Kt.disableExperimentalFragmentVariables;
3254
+ e.gql = Ot.gql, e.resetCaches = Ot.resetCaches, e.disableFragmentWarnings = Ot.disableFragmentWarnings, e.enableExperimentalFragmentVariables = Ot.enableExperimentalFragmentVariables, e.disableExperimentalFragmentVariables = Ot.disableExperimentalFragmentVariables;
3255
3255
  })(Ie || (Ie = {}));
3256
3256
  Ie.default = Ie;
3257
3257
  const Ml = Ie`
@@ -3725,10 +3725,10 @@ let un = "localStorage", Xs = !0, Dd = class {
3725
3725
  Xs && _n.remove(t);
3726
3726
  }
3727
3727
  };
3728
- const Ct = new Dd(), dn = new jd(), oi = () => {
3728
+ const Wt = new Dd(), dn = new jd(), oi = () => {
3729
3729
  let e = null;
3730
3730
  if (typeof window > "u")
3731
- return Ct;
3731
+ return Wt;
3732
3732
  try {
3733
3733
  switch (un) {
3734
3734
  case "localStorage":
@@ -3743,7 +3743,7 @@ const Ct = new Dd(), dn = new jd(), oi = () => {
3743
3743
  "getPersistentStorage",
3744
3744
  "debug",
3745
3745
  `persistent storage was not found for mode ${un}; using global storage`
3746
- ), e = Ct);
3746
+ ), e = Wt);
3747
3747
  } catch (t) {
3748
3748
  ot(
3749
3749
  "storage",
@@ -3751,7 +3751,7 @@ const Ct = new Dd(), dn = new jd(), oi = () => {
3751
3751
  "debug",
3752
3752
  "failed to get persistent storage; using global storage",
3753
3753
  t
3754
- ), e = Ct;
3754
+ ), e = Wt;
3755
3755
  }
3756
3756
  return e;
3757
3757
  }, Qd = (e) => {
@@ -3768,7 +3768,7 @@ const Ct = new Dd(), dn = new jd(), oi = () => {
3768
3768
  "debug",
3769
3769
  `failed to get item ${e}; using global storage`,
3770
3770
  t
3771
- ), Ct.getItem(e);
3771
+ ), Wt.getItem(e);
3772
3772
  }
3773
3773
  }, Pe = (e, t) => {
3774
3774
  dn.setItem(e, t);
@@ -3781,7 +3781,7 @@ const Ct = new Dd(), dn = new jd(), oi = () => {
3781
3781
  "debug",
3782
3782
  `failed to set item ${e}; using global storage`,
3783
3783
  i
3784
- ), Ct.setItem(e, t);
3784
+ ), Wt.setItem(e, t);
3785
3785
  }
3786
3786
  }, hn = (e) => {
3787
3787
  dn.removeItem(e);
@@ -3794,7 +3794,7 @@ const Ct = new Dd(), dn = new jd(), oi = () => {
3794
3794
  "debug",
3795
3795
  `failed to remove item ${e}; using global storage`,
3796
3796
  t
3797
- ), Ct.removeItem(e);
3797
+ ), Wt.removeItem(e);
3798
3798
  }
3799
3799
  }, Ad = (e) => {
3800
3800
  if (un === "sessionStorage") {
@@ -3885,11 +3885,11 @@ const ih = 3, nh = 1e3, sh = 500, rh = [Bl.BillingQuotaExceeded.toString()], oh
3885
3885
  (i) => rh.includes(i.message)
3886
3886
  )) === void 0;
3887
3887
  }, lh = () => {
3888
- const e = (t, i, n, s, r = 0) => Wt(void 0, null, function* () {
3888
+ const e = (t, i, n, s, r = 0) => Rt(void 0, null, function* () {
3889
3889
  try {
3890
3890
  return yield t();
3891
3891
  } catch (l) {
3892
- if (l instanceof Xt && !oh(l))
3892
+ if (l instanceof Ct && !oh(l))
3893
3893
  throw l;
3894
3894
  if (r < ih)
3895
3895
  return yield new Promise(
@@ -3956,9 +3956,15 @@ let yh = class {
3956
3956
  identify(t, i, n = {}, s) {
3957
3957
  }
3958
3958
  error(t, i) {
3959
- this.client.track(ph, Vt(z({}, i), {
3959
+ let n = {};
3960
+ try {
3961
+ i.payload && (n = JSON.parse(i.payload));
3962
+ } catch {
3963
+ }
3964
+ const s = i, r = Xt(s, ["payload"]);
3965
+ this.client.track(ph, z(Vt(z({}, r), {
3960
3966
  sessionID: t
3961
- }));
3967
+ }), n));
3962
3968
  }
3963
3969
  track(t, i) {
3964
3970
  const n = i.event;
@@ -4004,7 +4010,7 @@ let yh = class {
4004
4010
  return this._bufferCall("track", [t, i]);
4005
4011
  }
4006
4012
  };
4007
- const Zh = "9.22.4", Ih = {
4013
+ const Zh = "9.22.5", Ih = {
4008
4014
  version: Zh
4009
4015
  }, Sh = Ih.version;
4010
4016
  function Al(e, t) {
@@ -4196,8 +4202,8 @@ class oo extends Xl {
4196
4202
  return this._bufferCall("register", [t, i]);
4197
4203
  }
4198
4204
  }
4199
- let Qt;
4200
- typeof globalThis < "u" ? globalThis.LDRecord ? Qt = globalThis.LDRecord : (Qt = new oo(), globalThis.LDRecord = Qt) : Qt = new oo();
4205
+ let At;
4206
+ typeof globalThis < "u" ? globalThis.LDRecord ? At = globalThis.LDRecord : (At = new oo(), globalThis.LDRecord = At) : At = new oo();
4201
4207
  var wh = Object.defineProperty, xh = Object.defineProperties, Th = Object.getOwnPropertyDescriptors, pn = Object.getOwnPropertySymbols, $l = Object.prototype.hasOwnProperty, ql = Object.prototype.propertyIsEnumerable, Cs = (e, t, i) => t in e ? wh(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i, Y = (e, t) => {
4202
4208
  for (var i in t || (t = {}))
4203
4209
  $l.call(t, i) && Cs(e, i, t[i]);
@@ -4205,7 +4211,7 @@ var wh = Object.defineProperty, xh = Object.defineProperties, Th = Object.getOwn
4205
4211
  for (var i of pn(t))
4206
4212
  ql.call(t, i) && Cs(e, i, t[i]);
4207
4213
  return e;
4208
- }, Se = (e, t) => xh(e, Th(t)), Rt = (e, t) => {
4214
+ }, Se = (e, t) => xh(e, Th(t)), kt = (e, t) => {
4209
4215
  var i = {};
4210
4216
  for (var n in e)
4211
4217
  $l.call(e, n) && t.indexOf(n) < 0 && (i[n] = e[n]);
@@ -4517,7 +4523,7 @@ function mn({
4517
4523
  overwriteRecord: r
4518
4524
  }) && (l ? o = l(o, e) : o = "*".repeat(o.length)), o;
4519
4525
  }
4520
- function kt(e) {
4526
+ function vt(e) {
4521
4527
  return e.toLowerCase();
4522
4528
  }
4523
4529
  const ho = "__rrweb_original__";
@@ -4545,7 +4551,7 @@ function bn(e) {
4545
4551
  const t = e.type;
4546
4552
  return e.hasAttribute("data-rr-is-password") ? "password" : t ? (
4547
4553
  // eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion
4548
- kt(t)
4554
+ vt(t)
4549
4555
  ) : null;
4550
4556
  }
4551
4557
  function sa(e, t) {
@@ -4698,7 +4704,7 @@ function la() {
4698
4704
  function Xp(e) {
4699
4705
  if (e instanceof HTMLFormElement)
4700
4706
  return "form";
4701
- const t = kt(e.tagName);
4707
+ const t = vt(e.tagName);
4702
4708
  return Vp.test(t) ? "div" : t;
4703
4709
  }
4704
4710
  let yt, po;
@@ -4987,7 +4993,7 @@ function Lp(e, t) {
4987
4993
  ca(X, R.name) || (G[R.name] = aa(
4988
4994
  i,
4989
4995
  X,
4990
- kt(R.name),
4996
+ vt(R.name),
4991
4997
  R.value
4992
4998
  ));
4993
4999
  }
@@ -5672,7 +5678,7 @@ ws.default = ws;
5672
5678
  var gi = {};
5673
5679
  gi.isClean = Symbol("isClean");
5674
5680
  gi.my = Symbol("my");
5675
- let zp = gr, Hp = pa, Pp = Ln, { isClean: Ot, my: Bp } = gi;
5681
+ let zp = gr, Hp = pa, Pp = Ln, { isClean: Et, my: Bp } = gi;
5676
5682
  function xs(e, t) {
5677
5683
  let i = new e.constructor();
5678
5684
  for (let n in e) {
@@ -5701,7 +5707,7 @@ let Ts = class {
5701
5707
  return this;
5702
5708
  }
5703
5709
  constructor(e = {}) {
5704
- this.raws = {}, this[Ot] = !1, this[Bp] = !0;
5710
+ this.raws = {}, this[Et] = !1, this[Bp] = !0;
5705
5711
  for (let t in e)
5706
5712
  if (t === "nodes") {
5707
5713
  this.nodes = [];
@@ -5773,14 +5779,14 @@ let Ts = class {
5773
5779
  }
5774
5780
  /* c8 ignore next 3 */
5775
5781
  markClean() {
5776
- this[Ot] = !0;
5782
+ this[Et] = !0;
5777
5783
  }
5778
5784
  markDirty() {
5779
- if (this[Ot]) {
5780
- this[Ot] = !1;
5785
+ if (this[Et]) {
5786
+ this[Et] = !1;
5781
5787
  let e = this;
5782
5788
  for (; e = e.parent; )
5783
- e[Ot] = !1;
5789
+ e[Et] = !1;
5784
5790
  }
5785
5791
  }
5786
5792
  next() {
@@ -6404,7 +6410,7 @@ let In = class {
6404
6410
  var Un = In;
6405
6411
  In.default = In;
6406
6412
  is && is.registerInput && is.registerInput(In);
6407
- let Ra = ct, ka, va, vt = class extends Ra {
6413
+ let Ra = ct, ka, va, wt = class extends Ra {
6408
6414
  constructor(e) {
6409
6415
  super(e), this.type = "root", this.nodes || (this.nodes = []);
6410
6416
  }
@@ -6427,15 +6433,15 @@ let Ra = ct, ka, va, vt = class extends Ra {
6427
6433
  return new ka(new va(), this, e).stringify();
6428
6434
  }
6429
6435
  };
6430
- vt.registerLazyResult = (e) => {
6436
+ wt.registerLazyResult = (e) => {
6431
6437
  ka = e;
6432
6438
  };
6433
- vt.registerProcessor = (e) => {
6439
+ wt.registerProcessor = (e) => {
6434
6440
  va = e;
6435
6441
  };
6436
- var Zi = vt;
6437
- vt.default = vt;
6438
- Ra.registerRoot(vt);
6442
+ var Zi = wt;
6443
+ wt.default = wt;
6444
+ Ra.registerRoot(wt);
6439
6445
  let ci = {
6440
6446
  comma(e) {
6441
6447
  return ci.split(e, [","], !0);
@@ -6472,7 +6478,7 @@ xa.registerRule(Sn);
6472
6478
  let um = Sr, dm = Yn, hm = Fn, pm = Un, mm = Wa, bm = Zi, fm = Vr;
6473
6479
  function ui(e, t) {
6474
6480
  if (Array.isArray(e)) return e.map((r) => ui(r));
6475
- let i = e, { inputs: n } = i, s = Rt(i, ["inputs"]);
6481
+ let i = e, { inputs: n } = i, s = kt(i, ["inputs"]);
6476
6482
  if (n) {
6477
6483
  t = [];
6478
6484
  for (let r of n) {
@@ -6483,7 +6489,7 @@ function ui(e, t) {
6483
6489
  }
6484
6490
  }
6485
6491
  if (s.nodes && (s.nodes = e.nodes.map((r) => ui(r, t))), s.source) {
6486
- let r = s.source, { inputId: l } = r, o = Rt(r, ["inputId"]);
6492
+ let r = s.source, { inputId: l } = r, o = kt(r, ["inputId"]);
6487
6493
  s.source = o, l != null && (s.source.input = t[l]);
6488
6494
  }
6489
6495
  if (s.type === "root")
@@ -6660,7 +6666,7 @@ let { dirname: qi, relative: Ta, resolve: Na, sep: La } = Ne, { SourceMapConsume
6660
6666
  }
6661
6667
  };
6662
6668
  var Ya = Sm;
6663
- const ss = 39, Wo = 34, vi = 92, Ro = 47, wi = 10, Et = 32, xi = 12, Ti = 9, Ni = 13, Gm = 91, Vm = 93, Xm = 40, Cm = 41, Wm = 123, Rm = 125, km = 59, vm = 42, wm = 58, xm = 64, Li = /[\t\n\f\r "#'()/;[\\\]{}]/g, Ji = /[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g, Tm = /.[\r\n"'(/\\]/, ko = /[\da-f]/i;
6669
+ const ss = 39, Wo = 34, vi = 92, Ro = 47, wi = 10, Mt = 32, xi = 12, Ti = 9, Ni = 13, Gm = 91, Vm = 93, Xm = 40, Cm = 41, Wm = 123, Rm = 125, km = 59, vm = 42, wm = 58, xm = 64, Li = /[\t\n\f\r "#'()/;[\\\]{}]/g, Ji = /[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g, Tm = /.[\r\n"'(/\\]/, ko = /[\da-f]/i;
6664
6670
  var Nm = function(e, t = {}) {
6665
6671
  let i = e.css.valueOf(), n = t.ignoreErrors, s, r, l, o, a, c, u, h, p, m, b = i.length, d = 0, S = [], I = [];
6666
6672
  function V() {
@@ -6678,14 +6684,14 @@ var Nm = function(e, t = {}) {
6678
6684
  let w = v ? v.ignoreUnclosed : !1;
6679
6685
  switch (s = i.charCodeAt(d), s) {
6680
6686
  case wi:
6681
- case Et:
6687
+ case Mt:
6682
6688
  case Ti:
6683
6689
  case Ni:
6684
6690
  case xi: {
6685
6691
  o = d;
6686
6692
  do
6687
6693
  o += 1, s = i.charCodeAt(o);
6688
- while (s === Et || s === wi || s === Ti || s === Ni || s === xi);
6694
+ while (s === Mt || s === wi || s === Ti || s === Ni || s === xi);
6689
6695
  c = ["space", i.slice(d, o)], d = o - 1;
6690
6696
  break;
6691
6697
  }
@@ -6701,7 +6707,7 @@ var Nm = function(e, t = {}) {
6701
6707
  break;
6702
6708
  }
6703
6709
  case Xm: {
6704
- if (m = S.length ? S.pop()[1] : "", p = i.charCodeAt(d + 1), m === "url" && p !== ss && p !== Wo && p !== Et && p !== wi && p !== Ti && p !== xi && p !== Ni) {
6710
+ if (m = S.length ? S.pop()[1] : "", p = i.charCodeAt(d + 1), m === "url" && p !== ss && p !== Wo && p !== Mt && p !== wi && p !== Ti && p !== xi && p !== Ni) {
6705
6711
  o = d;
6706
6712
  do {
6707
6713
  if (u = !1, o = i.indexOf(")", o + 1), o === -1)
@@ -6741,10 +6747,10 @@ var Nm = function(e, t = {}) {
6741
6747
  case vi: {
6742
6748
  for (o = d, l = !0; i.charCodeAt(o + 1) === vi; )
6743
6749
  o += 1, l = !l;
6744
- if (s = i.charCodeAt(o + 1), l && s !== Ro && s !== Et && s !== wi && s !== Ti && s !== Ni && s !== xi && (o += 1, ko.test(i.charAt(o)))) {
6750
+ if (s = i.charCodeAt(o + 1), l && s !== Ro && s !== Mt && s !== wi && s !== Ti && s !== Ni && s !== xi && (o += 1, ko.test(i.charAt(o)))) {
6745
6751
  for (; ko.test(i.charAt(o + 1)); )
6746
6752
  o += 1;
6747
- i.charCodeAt(o + 1) === Et && (o += 1);
6753
+ i.charCodeAt(o + 1) === Mt && (o += 1);
6748
6754
  }
6749
6755
  c = ["word", i.slice(d, o + 1), d, o], d = o;
6750
6756
  break;
@@ -7162,8 +7168,8 @@ const eb = {
7162
7168
  Once: !0,
7163
7169
  postcssPlugin: !0,
7164
7170
  prepare: !0
7165
- }, wt = 0;
7166
- function Mt(e) {
7171
+ }, xt = 0;
7172
+ function zt(e) {
7167
7173
  return typeof e == "object" && typeof e.then == "function";
7168
7174
  }
7169
7175
  function Ka(e) {
@@ -7171,14 +7177,14 @@ function Ka(e) {
7171
7177
  return e.type === "decl" ? t = e.prop.toLowerCase() : e.type === "atrule" && (t = e.name.toLowerCase()), t && e.append ? [
7172
7178
  i,
7173
7179
  i + "-" + t,
7174
- wt,
7180
+ xt,
7175
7181
  i + "Exit",
7176
7182
  i + "Exit-" + t
7177
- ] : t ? [i, i + "-" + t, i + "Exit", i + "Exit-" + t] : e.append ? [i, wt, i + "Exit"] : [i, i + "Exit"];
7183
+ ] : t ? [i, i + "-" + t, i + "Exit", i + "Exit-" + t] : e.append ? [i, xt, i + "Exit"] : [i, i + "Exit"];
7178
7184
  }
7179
7185
  function No(e) {
7180
7186
  let t;
7181
- return e.type === "document" ? t = ["Document", wt, "DocumentExit"] : e.type === "root" ? t = ["Root", wt, "RootExit"] : t = Ka(e), {
7187
+ return e.type === "document" ? t = ["Document", xt, "DocumentExit"] : e.type === "root" ? t = ["Root", xt, "RootExit"] : t = Ka(e), {
7182
7188
  eventIndex: 0,
7183
7189
  events: t,
7184
7190
  iterator: 0,
@@ -7190,7 +7196,7 @@ function No(e) {
7190
7196
  function Os(e) {
7191
7197
  return e[Ye] = !1, e.nodes && e.nodes.forEach((t) => Os(t)), e;
7192
7198
  }
7193
- let Es = {}, xt = class Oa {
7199
+ let Es = {}, Tt = class Oa {
7194
7200
  get content() {
7195
7201
  return this.stringify().content;
7196
7202
  }
@@ -7291,7 +7297,7 @@ let Es = {}, xt = class Oa {
7291
7297
  this.plugin = 0;
7292
7298
  for (let t = 0; t < this.plugins.length; t++) {
7293
7299
  let i = this.plugins[t], n = this.runOnRoot(i);
7294
- if (Mt(n))
7300
+ if (zt(n))
7295
7301
  try {
7296
7302
  yield n;
7297
7303
  } catch (s) {
@@ -7305,7 +7311,7 @@ let Es = {}, xt = class Oa {
7305
7311
  let i = [No(t)];
7306
7312
  for (; i.length > 0; ) {
7307
7313
  let n = this.visitTick(i);
7308
- if (Mt(n))
7314
+ if (zt(n))
7309
7315
  try {
7310
7316
  yield n;
7311
7317
  } catch (s) {
@@ -7341,7 +7347,7 @@ let Es = {}, xt = class Oa {
7341
7347
  let i = this.result.root.nodes.map(
7342
7348
  (n) => t.Once(n, this.helpers)
7343
7349
  );
7344
- return Mt(i[0]) ? Promise.all(i) : i;
7350
+ return zt(i[0]) ? Promise.all(i) : i;
7345
7351
  }
7346
7352
  return t.Once(this.result.root, this.helpers);
7347
7353
  } else if (typeof t == "function")
@@ -7366,7 +7372,7 @@ let Es = {}, xt = class Oa {
7366
7372
  throw this.getAsyncError();
7367
7373
  for (let t of this.plugins) {
7368
7374
  let i = this.runOnRoot(t);
7369
- if (Mt(i))
7375
+ if (zt(i))
7370
7376
  throw this.getAsyncError();
7371
7377
  }
7372
7378
  if (this.prepareVisitors(), this.hasListener) {
@@ -7401,7 +7407,7 @@ let Es = {}, xt = class Oa {
7401
7407
  }
7402
7408
  if (i.type !== "root" && i.type !== "document" && !i.parent)
7403
7409
  return !0;
7404
- if (Mt(r))
7410
+ if (zt(r))
7405
7411
  throw this.getAsyncError();
7406
7412
  }
7407
7413
  }
@@ -7432,7 +7438,7 @@ let Es = {}, xt = class Oa {
7432
7438
  let r = i.events;
7433
7439
  for (; i.eventIndex < r.length; ) {
7434
7440
  let l = r[i.eventIndex];
7435
- if (i.eventIndex += 1, l === wt) {
7441
+ if (i.eventIndex += 1, l === xt) {
7436
7442
  n.nodes && n.nodes.length && (n[Ye] = !0, i.iterator = n.getIterator());
7437
7443
  return;
7438
7444
  } else if (this.listeners[l]) {
@@ -7446,7 +7452,7 @@ let Es = {}, xt = class Oa {
7446
7452
  t[Ye] = !0;
7447
7453
  let i = Ka(t);
7448
7454
  for (let n of i)
7449
- if (n === wt)
7455
+ if (n === xt)
7450
7456
  t.nodes && t.each((s) => {
7451
7457
  s[Ye] || this.walkSync(s);
7452
7458
  });
@@ -7460,13 +7466,13 @@ let Es = {}, xt = class Oa {
7460
7466
  return this.sync().warnings();
7461
7467
  }
7462
7468
  };
7463
- xt.registerPostcss = (e) => {
7469
+ Tt.registerPostcss = (e) => {
7464
7470
  Es = e;
7465
7471
  };
7466
- var Ea = xt;
7467
- xt.default = xt;
7468
- Am.registerLazyResult(xt);
7469
- Dm.registerLazyResult(xt);
7472
+ var Ea = Tt;
7473
+ Tt.default = Tt;
7474
+ Am.registerLazyResult(Tt);
7475
+ Dm.registerLazyResult(Tt);
7470
7476
  let nb = Ya, sb = Xr;
7471
7477
  const rb = Cr;
7472
7478
  let ob = Ln, lb = Ua, Ms = class {
@@ -7906,7 +7912,7 @@ Ps.default = Ps;
7906
7912
  var Ii = {};
7907
7913
  Ii.isClean = Symbol("isClean");
7908
7914
  Ii.my = Symbol("my");
7909
- let Nb = kr, Lb = Aa, Jb = Kn, { isClean: zt, my: Yb } = Ii;
7915
+ let Nb = kr, Lb = Aa, Jb = Kn, { isClean: Ht, my: Yb } = Ii;
7910
7916
  function Bs(e, t) {
7911
7917
  let i = new e.constructor();
7912
7918
  for (let n in e) {
@@ -7935,7 +7941,7 @@ let Ds = class {
7935
7941
  return this;
7936
7942
  }
7937
7943
  constructor(e = {}) {
7938
- this.raws = {}, this[zt] = !1, this[Yb] = !0;
7944
+ this.raws = {}, this[Ht] = !1, this[Yb] = !0;
7939
7945
  for (let t in e)
7940
7946
  if (t === "nodes") {
7941
7947
  this.nodes = [];
@@ -8007,14 +8013,14 @@ let Ds = class {
8007
8013
  }
8008
8014
  /* c8 ignore next 3 */
8009
8015
  markClean() {
8010
- this[zt] = !0;
8016
+ this[Ht] = !0;
8011
8017
  }
8012
8018
  markDirty() {
8013
- if (this[zt]) {
8014
- this[zt] = !1;
8019
+ if (this[Ht]) {
8020
+ this[Ht] = !1;
8015
8021
  let e = this;
8016
8022
  for (; e = e.parent; )
8017
- e[zt] = !1;
8023
+ e[Ht] = !1;
8018
8024
  }
8019
8025
  }
8020
8026
  next() {
@@ -8638,7 +8644,7 @@ let Xn = class {
8638
8644
  var zn = Xn;
8639
8645
  Xn.default = Xn;
8640
8646
  os && os.registerInput && os.registerInput(Xn);
8641
- let uc = ut, dc, hc, Tt = class extends uc {
8647
+ let uc = ut, dc, hc, Nt = class extends uc {
8642
8648
  constructor(e) {
8643
8649
  super(e), this.type = "root", this.nodes || (this.nodes = []);
8644
8650
  }
@@ -8661,15 +8667,15 @@ let uc = ut, dc, hc, Tt = class extends uc {
8661
8667
  return new dc(new hc(), this, e).stringify();
8662
8668
  }
8663
8669
  };
8664
- Tt.registerLazyResult = (e) => {
8670
+ Nt.registerLazyResult = (e) => {
8665
8671
  dc = e;
8666
8672
  };
8667
- Tt.registerProcessor = (e) => {
8673
+ Nt.registerProcessor = (e) => {
8668
8674
  hc = e;
8669
8675
  };
8670
- var Si = Tt;
8671
- Tt.default = Tt;
8672
- uc.registerRoot(Tt);
8676
+ var Si = Nt;
8677
+ Nt.default = Nt;
8678
+ uc.registerRoot(Nt);
8673
8679
  let pi = {
8674
8680
  comma(e) {
8675
8681
  return pi.split(e, [","], !0);
@@ -8706,7 +8712,7 @@ mc.registerRule(Cn);
8706
8712
  let ef = xr, tf = En, nf = Mn, sf = zn, rf = cc, of = Si, lf = Nr;
8707
8713
  function mi(e, t) {
8708
8714
  if (Array.isArray(e)) return e.map((r) => mi(r));
8709
- let i = e, { inputs: n } = i, s = Rt(i, ["inputs"]);
8715
+ let i = e, { inputs: n } = i, s = kt(i, ["inputs"]);
8710
8716
  if (n) {
8711
8717
  t = [];
8712
8718
  for (let r of n) {
@@ -8717,7 +8723,7 @@ function mi(e, t) {
8717
8723
  }
8718
8724
  }
8719
8725
  if (s.nodes && (s.nodes = e.nodes.map((r) => mi(r, t))), s.source) {
8720
- let r = s.source, { inputId: l } = r, o = Rt(r, ["inputId"]);
8726
+ let r = s.source, { inputId: l } = r, o = kt(r, ["inputId"]);
8721
8727
  s.source = o, l != null && (s.source.input = t[l]);
8722
8728
  }
8723
8729
  if (s.type === "root")
@@ -8894,7 +8900,7 @@ let { dirname: tn, relative: bc, resolve: fc, sep: yc } = Le, { SourceMapConsume
8894
8900
  }
8895
8901
  };
8896
8902
  var Zc = hf;
8897
- const as = 39, Ho = 34, Fi = 92, Po = 47, Ui = 10, Ht = 32, Ki = 12, Oi = 9, Ei = 13, pf = 91, mf = 93, bf = 40, ff = 41, yf = 123, gf = 125, Zf = 59, If = 42, Sf = 58, Gf = 64, Mi = /[\t\n\f\r "#'()/;[\\\]{}]/g, zi = /[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g, Vf = /.[\r\n"'(/\\]/, Bo = /[\da-f]/i;
8903
+ const as = 39, Ho = 34, Fi = 92, Po = 47, Ui = 10, Pt = 32, Ki = 12, Oi = 9, Ei = 13, pf = 91, mf = 93, bf = 40, ff = 41, yf = 123, gf = 125, Zf = 59, If = 42, Sf = 58, Gf = 64, Mi = /[\t\n\f\r "#'()/;[\\\]{}]/g, zi = /[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g, Vf = /.[\r\n"'(/\\]/, Bo = /[\da-f]/i;
8898
8904
  var Xf = function(e, t = {}) {
8899
8905
  let i = e.css.valueOf(), n = t.ignoreErrors, s, r, l, o, a, c, u, h, p, m, b = i.length, d = 0, S = [], I = [];
8900
8906
  function V() {
@@ -8912,14 +8918,14 @@ var Xf = function(e, t = {}) {
8912
8918
  let w = v ? v.ignoreUnclosed : !1;
8913
8919
  switch (s = i.charCodeAt(d), s) {
8914
8920
  case Ui:
8915
- case Ht:
8921
+ case Pt:
8916
8922
  case Oi:
8917
8923
  case Ei:
8918
8924
  case Ki: {
8919
8925
  o = d;
8920
8926
  do
8921
8927
  o += 1, s = i.charCodeAt(o);
8922
- while (s === Ht || s === Ui || s === Oi || s === Ei || s === Ki);
8928
+ while (s === Pt || s === Ui || s === Oi || s === Ei || s === Ki);
8923
8929
  c = ["space", i.slice(d, o)], d = o - 1;
8924
8930
  break;
8925
8931
  }
@@ -8935,7 +8941,7 @@ var Xf = function(e, t = {}) {
8935
8941
  break;
8936
8942
  }
8937
8943
  case bf: {
8938
- if (m = S.length ? S.pop()[1] : "", p = i.charCodeAt(d + 1), m === "url" && p !== as && p !== Ho && p !== Ht && p !== Ui && p !== Oi && p !== Ki && p !== Ei) {
8944
+ if (m = S.length ? S.pop()[1] : "", p = i.charCodeAt(d + 1), m === "url" && p !== as && p !== Ho && p !== Pt && p !== Ui && p !== Oi && p !== Ki && p !== Ei) {
8939
8945
  o = d;
8940
8946
  do {
8941
8947
  if (u = !1, o = i.indexOf(")", o + 1), o === -1)
@@ -8975,10 +8981,10 @@ var Xf = function(e, t = {}) {
8975
8981
  case Fi: {
8976
8982
  for (o = d, l = !0; i.charCodeAt(o + 1) === Fi; )
8977
8983
  o += 1, l = !l;
8978
- if (s = i.charCodeAt(o + 1), l && s !== Po && s !== Ht && s !== Ui && s !== Oi && s !== Ei && s !== Ki && (o += 1, Bo.test(i.charAt(o)))) {
8984
+ if (s = i.charCodeAt(o + 1), l && s !== Po && s !== Pt && s !== Ui && s !== Oi && s !== Ei && s !== Ki && (o += 1, Bo.test(i.charAt(o)))) {
8979
8985
  for (; Bo.test(i.charAt(o + 1)); )
8980
8986
  o += 1;
8981
- i.charCodeAt(o + 1) === Ht && (o += 1);
8987
+ i.charCodeAt(o + 1) === Pt && (o += 1);
8982
8988
  }
8983
8989
  c = ["word", i.slice(d, o + 1), d, o], d = o;
8984
8990
  break;
@@ -9396,8 +9402,8 @@ const Pf = {
9396
9402
  Once: !0,
9397
9403
  postcssPlugin: !0,
9398
9404
  prepare: !0
9399
- }, Nt = 0;
9400
- function Pt(e) {
9405
+ }, Lt = 0;
9406
+ function Bt(e) {
9401
9407
  return typeof e == "object" && typeof e.then == "function";
9402
9408
  }
9403
9409
  function Gc(e) {
@@ -9405,14 +9411,14 @@ function Gc(e) {
9405
9411
  return e.type === "decl" ? t = e.prop.toLowerCase() : e.type === "atrule" && (t = e.name.toLowerCase()), t && e.append ? [
9406
9412
  i,
9407
9413
  i + "-" + t,
9408
- Nt,
9414
+ Lt,
9409
9415
  i + "Exit",
9410
9416
  i + "Exit-" + t
9411
- ] : t ? [i, i + "-" + t, i + "Exit", i + "Exit-" + t] : e.append ? [i, Nt, i + "Exit"] : [i, i + "Exit"];
9417
+ ] : t ? [i, i + "-" + t, i + "Exit", i + "Exit-" + t] : e.append ? [i, Lt, i + "Exit"] : [i, i + "Exit"];
9412
9418
  }
9413
9419
  function _o(e) {
9414
9420
  let t;
9415
- return e.type === "document" ? t = ["Document", Nt, "DocumentExit"] : e.type === "root" ? t = ["Root", Nt, "RootExit"] : t = Gc(e), {
9421
+ return e.type === "document" ? t = ["Document", Lt, "DocumentExit"] : e.type === "root" ? t = ["Root", Lt, "RootExit"] : t = Gc(e), {
9416
9422
  eventIndex: 0,
9417
9423
  events: t,
9418
9424
  iterator: 0,
@@ -9424,7 +9430,7 @@ function _o(e) {
9424
9430
  function tr(e) {
9425
9431
  return e[Fe] = !1, e.nodes && e.nodes.forEach((t) => tr(t)), e;
9426
9432
  }
9427
- let ir = {}, Lt = class Vc {
9433
+ let ir = {}, Jt = class Vc {
9428
9434
  get content() {
9429
9435
  return this.stringify().content;
9430
9436
  }
@@ -9525,7 +9531,7 @@ let ir = {}, Lt = class Vc {
9525
9531
  this.plugin = 0;
9526
9532
  for (let t = 0; t < this.plugins.length; t++) {
9527
9533
  let i = this.plugins[t], n = this.runOnRoot(i);
9528
- if (Pt(n))
9534
+ if (Bt(n))
9529
9535
  try {
9530
9536
  yield n;
9531
9537
  } catch (s) {
@@ -9539,7 +9545,7 @@ let ir = {}, Lt = class Vc {
9539
9545
  let i = [_o(t)];
9540
9546
  for (; i.length > 0; ) {
9541
9547
  let n = this.visitTick(i);
9542
- if (Pt(n))
9548
+ if (Bt(n))
9543
9549
  try {
9544
9550
  yield n;
9545
9551
  } catch (s) {
@@ -9575,7 +9581,7 @@ let ir = {}, Lt = class Vc {
9575
9581
  let i = this.result.root.nodes.map(
9576
9582
  (n) => t.Once(n, this.helpers)
9577
9583
  );
9578
- return Pt(i[0]) ? Promise.all(i) : i;
9584
+ return Bt(i[0]) ? Promise.all(i) : i;
9579
9585
  }
9580
9586
  return t.Once(this.result.root, this.helpers);
9581
9587
  } else if (typeof t == "function")
@@ -9600,7 +9606,7 @@ let ir = {}, Lt = class Vc {
9600
9606
  throw this.getAsyncError();
9601
9607
  for (let t of this.plugins) {
9602
9608
  let i = this.runOnRoot(t);
9603
- if (Pt(i))
9609
+ if (Bt(i))
9604
9610
  throw this.getAsyncError();
9605
9611
  }
9606
9612
  if (this.prepareVisitors(), this.hasListener) {
@@ -9635,7 +9641,7 @@ let ir = {}, Lt = class Vc {
9635
9641
  }
9636
9642
  if (i.type !== "root" && i.type !== "document" && !i.parent)
9637
9643
  return !0;
9638
- if (Pt(r))
9644
+ if (Bt(r))
9639
9645
  throw this.getAsyncError();
9640
9646
  }
9641
9647
  }
@@ -9666,7 +9672,7 @@ let ir = {}, Lt = class Vc {
9666
9672
  let r = i.events;
9667
9673
  for (; i.eventIndex < r.length; ) {
9668
9674
  let l = r[i.eventIndex];
9669
- if (i.eventIndex += 1, l === Nt) {
9675
+ if (i.eventIndex += 1, l === Lt) {
9670
9676
  n.nodes && n.nodes.length && (n[Fe] = !0, i.iterator = n.getIterator());
9671
9677
  return;
9672
9678
  } else if (this.listeners[l]) {
@@ -9680,7 +9686,7 @@ let ir = {}, Lt = class Vc {
9680
9686
  t[Fe] = !0;
9681
9687
  let i = Gc(t);
9682
9688
  for (let n of i)
9683
- if (n === Nt)
9689
+ if (n === Lt)
9684
9690
  t.nodes && t.each((s) => {
9685
9691
  s[Fe] || this.walkSync(s);
9686
9692
  });
@@ -9694,13 +9700,13 @@ let ir = {}, Lt = class Vc {
9694
9700
  return this.sync().warnings();
9695
9701
  }
9696
9702
  };
9697
- Lt.registerPostcss = (e) => {
9703
+ Jt.registerPostcss = (e) => {
9698
9704
  ir = e;
9699
9705
  };
9700
- var Xc = Lt;
9701
- Lt.default = Lt;
9702
- Ef.registerLazyResult(Lt);
9703
- Uf.registerLazyResult(Lt);
9706
+ var Xc = Jt;
9707
+ Jt.default = Jt;
9708
+ Ef.registerLazyResult(Jt);
9709
+ Uf.registerLazyResult(Jt);
9704
9710
  let jf = Zc, Qf = Lr;
9705
9711
  const Af = Jr;
9706
9712
  let _f = Kn, $f = Sc, nr = class {
@@ -10222,7 +10228,7 @@ function Ec(e) {
10222
10228
  const t = e.ownerDocument;
10223
10229
  return t ? P.contains(t, e) || Ny(e) : !1;
10224
10230
  }
10225
- var Q = /* @__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))(Q || {}), B = /* @__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))(B || {}), Ge = /* @__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))(Ge || {}), _e = /* @__PURE__ */ ((e) => (e[e.Mouse = 0] = "Mouse", e[e.Pen = 1] = "Pen", e[e.Touch = 2] = "Touch", e))(_e || {}), Jt = /* @__PURE__ */ ((e) => (e[e["2D"] = 0] = "2D", e[e.WebGL = 1] = "WebGL", e[e.WebGL2 = 2] = "WebGL2", e))(Jt || {}), Zt = /* @__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))(Zt || {}), 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 || {});
10231
+ var Q = /* @__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))(Q || {}), B = /* @__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))(B || {}), Ge = /* @__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))(Ge || {}), _e = /* @__PURE__ */ ((e) => (e[e.Mouse = 0] = "Mouse", e[e.Pen = 1] = "Pen", e[e.Touch = 2] = "Touch", e))(_e || {}), Yt = /* @__PURE__ */ ((e) => (e[e["2D"] = 0] = "2D", e[e.WebGL = 1] = "WebGL", e[e.WebGL2 = 2] = "WebGL2", e))(Yt || {}), Zt = /* @__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))(Zt || {}), 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 || {});
10226
10232
  function tl(e) {
10227
10233
  return "__ln" in e;
10228
10234
  }
@@ -10470,8 +10476,8 @@ class Jy {
10470
10476
  }
10471
10477
  if (r.attributes[n] = aa(
10472
10478
  this.doc,
10473
- kt(i.tagName),
10474
- kt(n),
10479
+ vt(i.tagName),
10480
+ vt(n),
10475
10481
  s
10476
10482
  ), n === "style") {
10477
10483
  if (!this.unattachedDoc)
@@ -10738,7 +10744,7 @@ function Ey({
10738
10744
  return Object.keys(Ge).filter(
10739
10745
  (u) => Number.isNaN(Number(u)) && !u.endsWith("_Departed") && l[u] !== !1
10740
10746
  ).forEach((u) => {
10741
- let h = kt(u);
10747
+ let h = vt(u);
10742
10748
  const p = c(u);
10743
10749
  if (window.PointerEvent)
10744
10750
  switch (Ge[u]) {
@@ -11769,7 +11775,7 @@ function sg(e, t, i, n) {
11769
11775
  return pe(this.canvas, i, n, !0) || setTimeout(() => {
11770
11776
  const u = jc(c, t, this);
11771
11777
  e(this.canvas, {
11772
- type: Jt["2D"],
11778
+ type: Yt["2D"],
11773
11779
  property: l,
11774
11780
  args: u
11775
11781
  });
@@ -11785,7 +11791,7 @@ function sg(e, t, i, n) {
11785
11791
  {
11786
11792
  set(c) {
11787
11793
  e(this.canvas, {
11788
- type: Jt["2D"],
11794
+ type: Yt["2D"],
11789
11795
  property: l,
11790
11796
  args: [c],
11791
11797
  setter: !0
@@ -11892,7 +11898,7 @@ function og(e, t, i, n) {
11892
11898
  return s.push(
11893
11899
  ...cl(
11894
11900
  t.WebGLRenderingContext.prototype,
11895
- Jt.WebGL,
11901
+ Yt.WebGL,
11896
11902
  e,
11897
11903
  i,
11898
11904
  n,
@@ -11901,7 +11907,7 @@ function og(e, t, i, n) {
11901
11907
  ), typeof t.WebGL2RenderingContext < "u" && s.push(
11902
11908
  ...cl(
11903
11909
  t.WebGL2RenderingContext.prototype,
11904
- Jt.WebGL2,
11910
+ Yt.WebGL2,
11905
11911
  e,
11906
11912
  i,
11907
11913
  n,
@@ -11961,7 +11967,7 @@ class cg {
11961
11967
  }
11962
11968
  const { base64: m, type: b, dx: d, dy: S, dw: I, dh: V } = h.data, W = {
11963
11969
  id: p,
11964
- type: Jt["2D"],
11970
+ type: Yt["2D"],
11965
11971
  commands: [
11966
11972
  {
11967
11973
  property: "clearRect",
@@ -12263,7 +12269,7 @@ class cg {
12263
12269
  return;
12264
12270
  const n = this.pendingCanvasMutations.get(t);
12265
12271
  if (!n || i === -1) return;
12266
- const s = n.map((l) => Rt(l, ["type"])), { type: r } = n[0];
12272
+ const s = n.map((l) => kt(l, ["type"])), { type: r } = n[0];
12267
12273
  this.mutationCb({ id: i, type: r, commands: s }), this.pendingCanvasMutations.delete(t);
12268
12274
  }
12269
12275
  }
@@ -12390,7 +12396,7 @@ function Be(e = {}) {
12390
12396
  return () => {
12391
12397
  };
12392
12398
  J !== void 0 && R.mousemove === void 0 && (R.mousemove = J), Te.reset();
12393
- const Ft = W === !0 ? {
12399
+ const Ut = W === !0 ? {
12394
12400
  color: !0,
12395
12401
  date: !0,
12396
12402
  "datetime-local": !0,
@@ -12423,7 +12429,7 @@ function Be(e = {}) {
12423
12429
  headTitleMutations: G === "all"
12424
12430
  } : G || {};
12425
12431
  wy();
12426
- let Ut, pt = 0;
12432
+ let Kt, pt = 0;
12427
12433
  const mt = (_) => {
12428
12434
  for (const we of A || [])
12429
12435
  we.eventProcessor && (_ = we.eventProcessor(_));
@@ -12445,12 +12451,12 @@ function Be(e = {}) {
12445
12451
  window.parent.postMessage(Je, "*");
12446
12452
  }
12447
12453
  if (re.type === Q.FullSnapshot)
12448
- Ut = re, pt = 0;
12454
+ Kt = re, pt = 0;
12449
12455
  else if (re.type === Q.IncrementalSnapshot) {
12450
12456
  if (re.data.source === B.Mutation && re.data.isAttachIframe)
12451
12457
  return;
12452
12458
  pt++;
12453
- const Je = h && pt >= h, te = u && re.timestamp - Ut.timestamp > u;
12459
+ const Je = h && pt >= h, te = u && re.timestamp - Kt.timestamp > u;
12454
12460
  (Je || te) && rn(!0);
12455
12461
  }
12456
12462
  };
@@ -12520,7 +12526,7 @@ function Be(e = {}) {
12520
12526
  maskTextClass: S,
12521
12527
  maskTextSelector: I,
12522
12528
  inlineStylesheet: V,
12523
- maskInputOptions: Ft,
12529
+ maskInputOptions: Ut,
12524
12530
  dataURLOptions: ve,
12525
12531
  maskTextFn: v,
12526
12532
  maskInputFn: k,
@@ -12559,7 +12565,7 @@ function Be(e = {}) {
12559
12565
  maskTextClass: S,
12560
12566
  maskTextSelector: I,
12561
12567
  inlineStylesheet: V,
12562
- maskAllInputs: Ft,
12568
+ maskAllInputs: Ut,
12563
12569
  maskTextFn: v,
12564
12570
  maskInputFn: k,
12565
12571
  slimDOM: ht,
@@ -12673,7 +12679,7 @@ function Be(e = {}) {
12673
12679
  ignoreSelector: d,
12674
12680
  maskTextClass: S,
12675
12681
  maskTextSelector: I,
12676
- maskInputOptions: Ft,
12682
+ maskInputOptions: Ut,
12677
12683
  inlineStylesheet: V,
12678
12684
  sampling: R,
12679
12685
  recordDOM: M,
@@ -13201,7 +13207,7 @@ var Tg = /* @__PURE__ */ ni(at, 9), Ng = /* @__PURE__ */ ni(wn, 5), tu = functio
13201
13207
  i <<= t & 7;
13202
13208
  var n = t / 8 | 0;
13203
13209
  e[n] |= i, e[n + 1] |= i >> 8;
13204
- }, Bt = function(e, t, i) {
13210
+ }, Dt = function(e, t, i) {
13205
13211
  i <<= t & 7;
13206
13212
  var n = t / 8 | 0;
13207
13213
  e[n] |= i, e[n + 1] |= i >> 8, e[n + 2] |= i >> 16;
@@ -13271,7 +13277,7 @@ var Tg = /* @__PURE__ */ ni(at, 9), Ng = /* @__PURE__ */ ni(wn, 5), tu = functio
13271
13277
  r = 1, s = e[o];
13272
13278
  }
13273
13279
  return { c: i.subarray(0, n), n: t };
13274
- }, Dt = function(e, t) {
13280
+ }, jt = function(e, t) {
13275
13281
  for (var i = 0, n = 0; n < t.length; ++n)
13276
13282
  i += e[n] * t[n];
13277
13283
  return i;
@@ -13289,7 +13295,7 @@ var Tg = /* @__PURE__ */ ni(at, 9), Ng = /* @__PURE__ */ ni(wn, 5), tu = functio
13289
13295
  ++v[G[w] & 31];
13290
13296
  for (var g = ms(v, 7), R = g.t, J = g.l, M = 19; M > 4 && !R[yl[M - 1]]; --M)
13291
13297
  ;
13292
- var $ = c + 5 << 3, f = Dt(s, at) + Dt(r, wn) + l, y = Dt(s, p) + Dt(r, d) + l + 14 + 3 * M + Dt(v, R) + 2 * v[16] + 3 * v[17] + 7 * v[18];
13298
+ var $ = c + 5 << 3, f = jt(s, at) + jt(r, wn) + l, y = jt(s, p) + jt(r, d) + l + 14 + 3 * M + jt(v, R) + 2 * v[16] + 3 * v[17] + 7 * v[18];
13293
13299
  if (a >= 0 && $ <= f && $ <= y)
13294
13300
  return nu(t, u, e.subarray(a, a + c));
13295
13301
  var T, F, U, N;
@@ -13311,13 +13317,13 @@ var Tg = /* @__PURE__ */ ni(at, 9), Ng = /* @__PURE__ */ ni(wn, 5), tu = functio
13311
13317
  var ce = n[w];
13312
13318
  if (ce > 255) {
13313
13319
  var We = ce >> 18 & 31;
13314
- Bt(t, u, T[We + 257]), u += F[We + 257], We > 7 && (Me(t, u, ce >> 23 & 31), u += Or[We]);
13320
+ Dt(t, u, T[We + 257]), u += F[We + 257], We > 7 && (Me(t, u, ce >> 23 & 31), u += Or[We]);
13315
13321
  var ve = ce & 31;
13316
- Bt(t, u, U[ve]), u += N[ve], ve > 3 && (Bt(t, u, ce >> 5 & 8191), u += Er[ve]);
13322
+ Dt(t, u, U[ve]), u += N[ve], ve > 3 && (Dt(t, u, ce >> 5 & 8191), u += Er[ve]);
13317
13323
  } else
13318
- Bt(t, u, T[ce]), u += F[ce];
13324
+ Dt(t, u, T[ce]), u += F[ce];
13319
13325
  }
13320
- return Bt(t, u, T[256]), u + F[256];
13326
+ return Dt(t, u, T[256]), u + F[256];
13321
13327
  }, Lg = /* @__PURE__ */ new Kr([65540, 131080, 131088, 131104, 262176, 1048704, 1048832, 2114560, 2117632]), su = /* @__PURE__ */ new Ce(0), Jg = function(e, t, i, n, s, r) {
13322
13328
  var l = r.z || e.length, o = new Ce(n + l + 5 * (1 + Math.ceil(l / 7e3)) + s), a = o.subarray(n, o.length - s), c = r.l, u = (r.r || 0) & 7;
13323
13329
  if (t) {
@@ -13345,7 +13351,7 @@ var Tg = /* @__PURE__ */ ni(at, 9), Ng = /* @__PURE__ */ ni(wn, 5), tu = functio
13345
13351
  if (U = ce, N = j, ce > de)
13346
13352
  break;
13347
13353
  for (var ve = Math.min(j, ce - 2), tt = 0, F = 0; F < ve; ++F) {
13348
- var Ke = g - j + F & 32767, Ft = d[Ke], ht = Ke - Ft & 32767;
13354
+ var Ke = g - j + F & 32767, Ut = d[Ke], ht = Ke - Ut & 32767;
13349
13355
  ht > tt && (tt = ht, y = Ke);
13350
13356
  }
13351
13357
  }
@@ -13354,8 +13360,8 @@ var Tg = /* @__PURE__ */ ni(at, 9), Ng = /* @__PURE__ */ ni(wn, 5), tu = functio
13354
13360
  }
13355
13361
  if (N) {
13356
13362
  X[R++] = 268435456 | lr[U] << 18 | gl[N];
13357
- var Ut = lr[U] & 31, pt = gl[N] & 31;
13358
- w += Or[Ut] + Er[pt], ++G[257 + Ut], ++k[pt], J = g + U, ++v;
13363
+ var Kt = lr[U] & 31, pt = gl[N] & 31;
13364
+ w += Or[Kt] + Er[pt], ++G[257 + Kt], ++k[pt], J = g + U, ++v;
13359
13365
  } else
13360
13366
  X[R++] = e[g], ++G[e[g]];
13361
13367
  }
@@ -13686,7 +13692,7 @@ class Ag {
13686
13692
  });
13687
13693
  this.graphqlSDK = Ld(h, lh()), 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 = () => {
13688
13694
  };
13689
- const p = t, m = Rt(p, ["firstloadVersion"]);
13695
+ const p = t, m = kt(p, ["firstloadVersion"]);
13690
13696
  this._optionsInternal = m, this.listeners = [], this.events = [], this.hasSessionUnloaded = !1, this.hasPushedData = !1, window.Intercom && window.Intercom("onShow", () => {
13691
13697
  window.Intercom("update", {
13692
13698
  highlightSessionURL: this.getCurrentSessionURLWithTimestamp()
@@ -14254,7 +14260,7 @@ class cZ extends kh {
14254
14260
  sessionSecureID: this.sessionSecureID,
14255
14261
  privacySetting: (n = i?.privacySetting) != null ? n : "strict"
14256
14262
  });
14257
- this.record = new Ag(p), i != null && i.manualStart || this.record.start(), Qt.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 && jg(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 && Dg(i.integrations.amplitude);
14263
+ this.record = new Ag(p), i != null && i.manualStart || this.record.start(), At.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 && jg(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 && Dg(i.integrations.amplitude);
14258
14264
  } catch (p) {
14259
14265
  Ve(
14260
14266
  "Error initializing @launchdarkly/session-replay SDK",
@@ -14331,7 +14337,7 @@ class cZ extends kh {
14331
14337
  }
14332
14338
  export {
14333
14339
  cZ as E,
14334
- Qt as t,
14340
+ At as t,
14335
14341
  Xl as x
14336
14342
  };
14337
- //# sourceMappingURL=index-BpqufHyv.js.map
14343
+ //# sourceMappingURL=index-BRFa9gy6.js.map