@launchdarkly/session-replay 1.0.3 → 1.1.1

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 Br = /* @__PURE__ */ Object.create(null), Ve = (e, t, ...i) => {
21
21
  Br[`${e}-${t}`] || (Br[`${e}-${t}`] = !0, Ve(e, i, ...n));
22
22
  }, fu = (e, ...t) => mu(void 0, null, function* () {
23
23
  try {
24
- const { LDObserve: i } = yield import("./LDObserve-6M5A_Cdv.js");
24
+ const { LDObserve: i } = yield import("./LDObserve-BClnnkvH.js");
25
25
  i.recordLog(`${e}${t}`, "warn");
26
26
  } catch {
27
27
  }
@@ -4005,13 +4005,35 @@ let gh = class {
4005
4005
  return this._bufferCall("track", [t, i]);
4006
4006
  }
4007
4007
  };
4008
- const Ih = "9.27.1", Sh = {
4009
- version: Ih
4010
- }, Xh = Sh.version;
4008
+ const Ih = (e) => {
4009
+ e(window.location.href);
4010
+ const t = history.pushState;
4011
+ history.pushState = /* @__PURE__ */ ((r) => function() {
4012
+ var l = r.apply(this, arguments);
4013
+ return window.dispatchEvent(new Event("pushstate")), window.dispatchEvent(new Event("locationchange")), l;
4014
+ })(history.pushState);
4015
+ const i = history.replaceState;
4016
+ history.replaceState = /* @__PURE__ */ ((r) => function() {
4017
+ var l = r.apply(this, arguments);
4018
+ return window.dispatchEvent(new Event("replacestate")), window.dispatchEvent(new Event("locationchange")), l;
4019
+ })(history.replaceState);
4020
+ const n = () => {
4021
+ window.dispatchEvent(new Event("locationchange"));
4022
+ };
4023
+ window.addEventListener("popstate", n);
4024
+ const s = function() {
4025
+ e(window.location.href);
4026
+ };
4027
+ return window.addEventListener("locationchange", s), () => {
4028
+ window.removeEventListener("popstate", n), window.removeEventListener("locationchange", s), history.pushState = t, history.replaceState = i;
4029
+ };
4030
+ }, Sh = "10.0.0", Xh = {
4031
+ version: Sh
4032
+ }, Vh = Xh.version;
4011
4033
  function ta(e, t) {
4012
- return Gh(e);
4034
+ return Rh(e);
4013
4035
  }
4014
- function Vh(e) {
4036
+ function Gh(e) {
4015
4037
  if (e.id.length)
4016
4038
  return `#${e.id}`;
4017
4039
  if (e.classList.length) {
@@ -4022,11 +4044,11 @@ function Vh(e) {
4022
4044
  }
4023
4045
  return e.nodeName.toLowerCase();
4024
4046
  }
4025
- const Gh = (e) => {
4047
+ const Rh = (e) => {
4026
4048
  let t = "";
4027
4049
  const i = e.getAttribute("class"), n = e.getAttribute("id");
4028
4050
  return n && (t = t.concat(lo(n, "#"))), i && (t = t.concat(lo(i, "."))), t === "" && (t = t.concat(e.tagName.toLowerCase())), t;
4029
- }, lo = (e, t) => `${t}${e.trim().split(" ").join(t)}`, Rh = (e) => {
4051
+ }, lo = (e, t) => `${t}${e.trim().split(" ").join(t)}`, Ch = (e) => {
4030
4052
  let t;
4031
4053
  const i = () => {
4032
4054
  clearTimeout(t), t = setTimeout(() => {
@@ -4098,13 +4120,13 @@ var ia = { exports: {} };
4098
4120
  }, t = new i(), e.exports = i;
4099
4121
  })();
4100
4122
  })(ia);
4101
- var Ch = ia.exports;
4102
- const Wh = /* @__PURE__ */ mr(Ch), qn = 28, bt = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789", kh = 2246822507, _t = (e) => {
4123
+ var Wh = ia.exports;
4124
+ const kh = /* @__PURE__ */ mr(Wh), qn = 28, bt = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789", vh = 2246822507, _t = (e) => {
4103
4125
  var t, i = "";
4104
4126
  if (e) {
4105
- const n = Wh(e).result();
4127
+ const n = kh(e).result();
4106
4128
  for (let s = 0; s < qn; s++) {
4107
- const r = ((n ^ s * kh) >>> 0) % bt.length;
4129
+ const r = ((n ^ s * vh) >>> 0) % bt.length;
4108
4130
  i += bt.charAt(r);
4109
4131
  }
4110
4132
  } else {
@@ -4119,7 +4141,7 @@ const Wh = /* @__PURE__ */ mr(Ch), qn = 28, bt = "abcdefghijklmnopqrstuvwxyzABCD
4119
4141
  }
4120
4142
  return i;
4121
4143
  };
4122
- let vh = class {
4144
+ let wh = class {
4123
4145
  constructor(t) {
4124
4146
  ni(this, "sessionSecureID");
4125
4147
  try {
@@ -4156,7 +4178,7 @@ let vh = class {
4156
4178
  }
4157
4179
  }
4158
4180
  };
4159
- var wh = (e, t, i) => new Promise((n, s) => {
4181
+ var xh = (e, t, i) => new Promise((n, s) => {
4160
4182
  var r = (a) => {
4161
4183
  try {
4162
4184
  o(i.next(a));
@@ -4177,7 +4199,7 @@ class ao extends wl {
4177
4199
  return this._isLoaded ? this._bufferCall("getSession", []) : null;
4178
4200
  }
4179
4201
  start(t) {
4180
- return wh(this, null, function* () {
4202
+ return xh(this, null, function* () {
4181
4203
  return this._sdk.start(t);
4182
4204
  });
4183
4205
  }
@@ -4199,14 +4221,14 @@ class ao extends wl {
4199
4221
  }
4200
4222
  let Qt;
4201
4223
  typeof globalThis < "u" ? globalThis.LDRecord ? Qt = globalThis.LDRecord : (Qt = new ao(), globalThis.LDRecord = Qt) : Qt = new ao();
4202
- var xh = Object.defineProperty, Th = Object.defineProperties, Lh = Object.getOwnPropertyDescriptors, mn = Object.getOwnPropertySymbols, na = Object.prototype.hasOwnProperty, sa = Object.prototype.propertyIsEnumerable, Ws = (e, t, i) => t in e ? xh(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i, Y = (e, t) => {
4224
+ var Th = Object.defineProperty, Lh = Object.defineProperties, Nh = Object.getOwnPropertyDescriptors, mn = Object.getOwnPropertySymbols, na = Object.prototype.hasOwnProperty, sa = Object.prototype.propertyIsEnumerable, Ws = (e, t, i) => t in e ? Th(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i, Y = (e, t) => {
4203
4225
  for (var i in t || (t = {}))
4204
4226
  na.call(t, i) && Ws(e, i, t[i]);
4205
4227
  if (mn)
4206
4228
  for (var i of mn(t))
4207
4229
  sa.call(t, i) && Ws(e, i, t[i]);
4208
4230
  return e;
4209
- }, me = (e, t) => Th(e, Lh(t)), Ct = (e, t) => {
4231
+ }, me = (e, t) => Lh(e, Nh(t)), Ct = (e, t) => {
4210
4232
  var i = {};
4211
4233
  for (var n in e)
4212
4234
  na.call(e, n) && t.indexOf(n) < 0 && (i[n] = e[n]);
@@ -4230,13 +4252,13 @@ var xh = Object.defineProperty, Th = Object.defineProperties, Lh = Object.getOwn
4230
4252
  }, o = (a) => a.done ? n(a.value) : Promise.resolve(a.value).then(r, l);
4231
4253
  o((i = i.apply(e, t)).next());
4232
4254
  });
4233
- const Nh = {
4255
+ const Jh = {
4234
4256
  key: "_sid"
4235
- }, Jh = "rrweb/sequential-id@1", Yh = (e) => {
4236
- const t = Nh;
4257
+ }, Yh = "rrweb/sequential-id@1", Fh = (e) => {
4258
+ const t = Jh;
4237
4259
  let i = 0;
4238
4260
  return {
4239
- name: Jh,
4261
+ name: Yh,
4240
4262
  eventProcessor(n) {
4241
4263
  return Object.assign(n, {
4242
4264
  [t.key]: ++i
@@ -4245,12 +4267,12 @@ const Nh = {
4245
4267
  options: t
4246
4268
  };
4247
4269
  };
4248
- var Fh = Object.defineProperty, Uh = (e, t, i) => t in e ? Fh(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i, R = (e, t, i) => Uh(e, typeof t != "symbol" ? t + "" : t, i), co, Kh = Object.defineProperty, Mh = (e, t, i) => t in e ? Kh(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i, uo = (e, t, i) => Mh(e, typeof t != "symbol" ? t + "" : t, i), ae = /* @__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))(ae || {});
4270
+ var Uh = Object.defineProperty, Kh = (e, t, i) => t in e ? Uh(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i, R = (e, t, i) => Kh(e, typeof t != "symbol" ? t + "" : t, i), co, Mh = Object.defineProperty, Oh = (e, t, i) => t in e ? Mh(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i, uo = (e, t, i) => Oh(e, typeof t != "symbol" ? t + "" : t, i), ae = /* @__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))(ae || {});
4249
4271
  const Ri = /* @__PURE__ */ new Map(), ho = /* @__PURE__ */ new WeakSet();
4250
4272
  function po(e) {
4251
4273
  return e !== null && typeof e == "object" && "complete" in e && "naturalWidth" in e && "naturalHeight" in e && "src" in e && "onload" in e;
4252
4274
  }
4253
- function Oh(e) {
4275
+ function Eh(e) {
4254
4276
  if (ho.has(e))
4255
4277
  return;
4256
4278
  ho.add(e);
@@ -4290,7 +4312,7 @@ const mo = {
4290
4312
  ShadowRoot: ["getSelection"],
4291
4313
  Element: [],
4292
4314
  MutationObserver: ["constructor"]
4293
- }, Ci = {}, Eh = () => !!globalThis.Zone;
4315
+ }, Ci = {}, zh = () => !!globalThis.Zone;
4294
4316
  function br(e) {
4295
4317
  if (Ci[e])
4296
4318
  return Ci[e];
@@ -4307,7 +4329,7 @@ function br(e) {
4307
4329
  return typeof i[o] == "function" && ((a = i[o]) == null ? void 0 : a.toString().includes("[native code]"));
4308
4330
  }
4309
4331
  ));
4310
- if (s && l && !Eh())
4332
+ if (s && l && !zh())
4311
4333
  return Ci[e] = t.prototype, t.prototype;
4312
4334
  try {
4313
4335
  const o = document.createElement("iframe");
@@ -4344,43 +4366,43 @@ function ra(e, t, i) {
4344
4366
  const s = br(e)[i];
4345
4367
  return typeof s != "function" ? t[i] : (ts[n] = s, s.bind(t));
4346
4368
  }
4347
- function zh(e) {
4369
+ function Hh(e) {
4348
4370
  return qe("Node", e, "childNodes");
4349
4371
  }
4350
- function Hh(e) {
4372
+ function Ph(e) {
4351
4373
  return qe("Node", e, "parentNode");
4352
4374
  }
4353
- function Ph(e) {
4375
+ function Bh(e) {
4354
4376
  return qe("Node", e, "parentElement");
4355
4377
  }
4356
- function Bh(e) {
4378
+ function Dh(e) {
4357
4379
  return qe("Node", e, "textContent");
4358
4380
  }
4359
- function Dh(e, t) {
4381
+ function Qh(e, t) {
4360
4382
  return ra("Node", e, "contains")(t);
4361
4383
  }
4362
- function Qh(e) {
4384
+ function jh(e) {
4363
4385
  return ra("Node", e, "getRootNode")();
4364
4386
  }
4365
- function jh(e) {
4387
+ function Ah(e) {
4366
4388
  return !e || !("host" in e) ? null : qe("ShadowRoot", e, "host");
4367
4389
  }
4368
- function Ah(e) {
4390
+ function _h(e) {
4369
4391
  return e.styleSheets;
4370
4392
  }
4371
- function _h(e) {
4393
+ function $h(e) {
4372
4394
  return !e || !("shadowRoot" in e) ? null : qe("Element", e, "shadowRoot");
4373
4395
  }
4374
- function $h(e, t) {
4396
+ function qh(e, t) {
4375
4397
  return qe("Element", e, "querySelector")(t);
4376
4398
  }
4377
- function qh(e, t) {
4399
+ function ep(e, t) {
4378
4400
  return qe("Element", e, "querySelectorAll")(t);
4379
4401
  }
4380
- function ep() {
4402
+ function tp() {
4381
4403
  return br("MutationObserver").constructor;
4382
4404
  }
4383
- function tp(e, t, i) {
4405
+ function ip(e, t, i) {
4384
4406
  try {
4385
4407
  if (!(t in e))
4386
4408
  return () => {
@@ -4400,20 +4422,20 @@ function tp(e, t, i) {
4400
4422
  }
4401
4423
  }
4402
4424
  const he = {
4403
- childNodes: zh,
4404
- parentNode: Hh,
4405
- parentElement: Ph,
4406
- textContent: Bh,
4407
- contains: Dh,
4408
- getRootNode: Qh,
4409
- host: jh,
4410
- styleSheets: Ah,
4411
- shadowRoot: _h,
4412
- querySelector: $h,
4413
- querySelectorAll: qh,
4414
- mutationObserver: ep,
4415
- patch: tp,
4416
- wrapCanvasContextDrawImage: Oh
4425
+ childNodes: Hh,
4426
+ parentNode: Ph,
4427
+ parentElement: Bh,
4428
+ textContent: Dh,
4429
+ contains: Qh,
4430
+ getRootNode: jh,
4431
+ host: Ah,
4432
+ styleSheets: _h,
4433
+ shadowRoot: $h,
4434
+ querySelector: qh,
4435
+ querySelectorAll: ep,
4436
+ mutationObserver: tp,
4437
+ patch: ip,
4438
+ wrapCanvasContextDrawImage: Eh
4417
4439
  };
4418
4440
  function oa(e) {
4419
4441
  return e.nodeType === e.ELEMENT_NODE;
@@ -4429,13 +4451,13 @@ function $t(e) {
4429
4451
  function qt(e) {
4430
4452
  return Object.prototype.toString.call(e) === "[object ShadowRoot]";
4431
4453
  }
4432
- function ip(e) {
4454
+ function np(e) {
4433
4455
  return e.includes(" background-clip: text;") && !e.includes(" -webkit-background-clip: text;") && (e = e.replace(
4434
4456
  /\sbackground-clip:\s*text;/g,
4435
4457
  " -webkit-background-clip: text; background-clip: text;"
4436
4458
  )), e;
4437
4459
  }
4438
- function np(e) {
4460
+ function sp(e) {
4439
4461
  const { cssText: t } = e;
4440
4462
  if (t.split('"').length < 3) return t;
4441
4463
  const i = ["@import", `url(${JSON.stringify(e.href)})`];
@@ -4452,36 +4474,36 @@ function ks(e) {
4452
4474
  t,
4453
4475
  (s) => la(s, i)
4454
4476
  ).join("");
4455
- return ip(n);
4477
+ return np(n);
4456
4478
  } catch {
4457
4479
  return null;
4458
4480
  }
4459
4481
  }
4460
4482
  function la(e, t) {
4461
- if (rp(e)) {
4483
+ if (op(e)) {
4462
4484
  let i;
4463
4485
  try {
4464
4486
  i = // for same-origin stylesheets,
4465
4487
  // we can access the imported stylesheet rules directly
4466
4488
  ks(e.styleSheet) || // work around browser issues with the raw string `@import url(...)` statement
4467
- np(e);
4489
+ sp(e);
4468
4490
  } catch {
4469
4491
  i = e.cssText;
4470
4492
  }
4471
4493
  return e.styleSheet.href ? yn(i, e.styleSheet.href) : i;
4472
4494
  } else {
4473
4495
  let i = e.cssText;
4474
- return op(e) && e.selectorText.includes(":") && (i = sp(i)), t ? yn(i, t) : i;
4496
+ return lp(e) && e.selectorText.includes(":") && (i = rp(i)), t ? yn(i, t) : i;
4475
4497
  }
4476
4498
  }
4477
- function sp(e) {
4499
+ function rp(e) {
4478
4500
  const t = /(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm;
4479
4501
  return e.replace(t, "$1\\$2");
4480
4502
  }
4481
- function rp(e) {
4503
+ function op(e) {
4482
4504
  return "styleSheet" in e;
4483
4505
  }
4484
- function op(e) {
4506
+ function lp(e) {
4485
4507
  return "selectorText" in e;
4486
4508
  }
4487
4509
  class aa {
@@ -4533,7 +4555,7 @@ class aa {
4533
4555
  this.idNodeMap = /* @__PURE__ */ new Map(), this.nodeMetaMap = /* @__PURE__ */ new WeakMap();
4534
4556
  }
4535
4557
  }
4536
- function lp() {
4558
+ function ap() {
4537
4559
  return new aa();
4538
4560
  }
4539
4561
  function fn({
@@ -4557,7 +4579,7 @@ function Wt(e) {
4557
4579
  return e.toLowerCase();
4558
4580
  }
4559
4581
  const bo = "__rrweb_original__";
4560
- function ap(e) {
4582
+ function cp(e) {
4561
4583
  const t = e.getContext("2d");
4562
4584
  if (!t) return !0;
4563
4585
  const i = 50;
@@ -4595,24 +4617,24 @@ function ca(e, t) {
4595
4617
  const s = /\.([0-9a-z]+)(?:$)/i, r = n.pathname.match(s);
4596
4618
  return (i = r?.[1]) != null ? i : null;
4597
4619
  }
4598
- function cp(e) {
4620
+ function up(e) {
4599
4621
  let t = "";
4600
4622
  return e.indexOf("//") > -1 ? t = e.split("/").slice(0, 3).join("/") : t = e.split("/")[0], t = t.split("?")[0], t;
4601
4623
  }
4602
- const up = /url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm, dp = /^(?:[a-z+]+:)?\/\//i, hp = /^www\..*/i, pp = /^(data:)([^,]*),(.*)/i;
4624
+ const dp = /url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm, hp = /^(?:[a-z+]+:)?\/\//i, pp = /^www\..*/i, mp = /^(data:)([^,]*),(.*)/i;
4603
4625
  function yn(e, t) {
4604
4626
  return (e || "").replace(
4605
- up,
4627
+ dp,
4606
4628
  (i, n, s, r, l, o) => {
4607
4629
  const a = s || l || o, c = n || r || "";
4608
4630
  if (!a)
4609
4631
  return i;
4610
- if (dp.test(a) || hp.test(a))
4632
+ if (hp.test(a) || pp.test(a))
4611
4633
  return `url(${c}${a}${c})`;
4612
- if (pp.test(a))
4634
+ if (mp.test(a))
4613
4635
  return `url(${c}${a}${c})`;
4614
4636
  if (a[0] === "/")
4615
- return `url(${c}${cp(t) + a}${c})`;
4637
+ return `url(${c}${up(t) + a}${c})`;
4616
4638
  const u = t.split("/"), h = a.split("/");
4617
4639
  u.pop();
4618
4640
  for (const p of h)
@@ -4624,7 +4646,7 @@ function yn(e, t) {
4624
4646
  function Wi(e, t = !1) {
4625
4647
  return t ? e.replace(/(\/\*[^*]*\*\/)|[\s;]/g, "") : e.replace(/(\/\*[^*]*\*\/)|[\s;]/g, "").replace(/0px/g, "0");
4626
4648
  }
4627
- function mp(e, t, i = !1) {
4649
+ function fp(e, t, i = !1) {
4628
4650
  const n = Array.from(t.childNodes), s = [];
4629
4651
  let r = 0;
4630
4652
  if (n.length > 1 && e && typeof e == "string") {
@@ -4690,8 +4712,8 @@ function mp(e, t, i = !1) {
4690
4712
  }
4691
4713
  return s.push(e), s;
4692
4714
  }
4693
- function fp(e, t) {
4694
- return mp(e, t).join("/* rr_split */");
4715
+ function bp(e, t) {
4716
+ return fp(e, t).join("/* rr_split */");
4695
4717
  }
4696
4718
  function yr(e) {
4697
4719
  return e = e.replace(/[^ -~]+/g, ""), e = e?.split(" ").map((t) => t ? Math.random().toString(20).substring(2, t.length + 2) : "").join(" ") || "", e;
@@ -4699,23 +4721,23 @@ function yr(e) {
4699
4721
  function vs(e) {
4700
4722
  return e === "img" || e === "video" || e === "audio" || e === "source";
4701
4723
  }
4702
- const bp = new RegExp(
4724
+ const yp = new RegExp(
4703
4725
  /[a-zA-Z0-9.!#$%&'*+=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:.[a-zA-Z0-9-]+)*/
4704
- ), yp = new RegExp(/[0-9]{9,16}/), gp = new RegExp(/[0-9]{3}-?[0-9]{2}-?[0-9]{4}/), Zp = new RegExp(
4726
+ ), gp = new RegExp(/[0-9]{9,16}/), Zp = new RegExp(/[0-9]{3}-?[0-9]{2}-?[0-9]{4}/), Ip = new RegExp(
4705
4727
  /[+]?[(]?[0-9]{3}[)]?[-\s.]?[0-9]{3}[-\s.]?[0-9]{4,6}/
4706
- ), Ip = new RegExp(/[0-9]{4}-?[0-9]{4}-?[0-9]{4}-?[0-9]{4}/), Sp = new RegExp(
4728
+ ), Sp = new RegExp(/[0-9]{4}-?[0-9]{4}-?[0-9]{4}-?[0-9]{4}/), Xp = new RegExp(
4707
4729
  /[0-9]{1,5}.?[0-9]{0,3}\s[a-zA-Z]{2,30}\s[a-zA-Z]{2,15}/
4708
- ), Xp = new RegExp(/(?:[0-9]{1,3}.){3}[0-9]{1,3}/), Vp = [
4709
- bp,
4730
+ ), Vp = new RegExp(/(?:[0-9]{1,3}.){3}[0-9]{1,3}/), Gp = [
4710
4731
  yp,
4711
4732
  gp,
4712
4733
  Zp,
4713
4734
  Ip,
4714
4735
  Sp,
4715
- Xp
4736
+ Xp,
4737
+ Vp
4716
4738
  ];
4717
4739
  function ua(e) {
4718
- return e ? Vp.some((t) => t.test(e)) : !1;
4740
+ return e ? Gp.some((t) => t.test(e)) : !1;
4719
4741
  }
4720
4742
  const da = ({
4721
4743
  maskInputOptions: e,
@@ -4726,20 +4748,20 @@ const da = ({
4726
4748
  const s = i && i.toLowerCase();
4727
4749
  return n !== "true" && (!!e[t.toLowerCase()] || !!(s && e[s]));
4728
4750
  };
4729
- let Gp = 1;
4730
- const Rp = new RegExp("[^a-z0-9-_:]"), oi = -2;
4751
+ let Rp = 1;
4752
+ const Cp = new RegExp("[^a-z0-9-_:]"), oi = -2;
4731
4753
  function ha() {
4732
- return Gp++;
4754
+ return Rp++;
4733
4755
  }
4734
- function Cp(e) {
4756
+ function Wp(e) {
4735
4757
  if (e instanceof HTMLFormElement)
4736
4758
  return "form";
4737
4759
  const t = Wt(e.tagName);
4738
- return Rp.test(t) ? "div" : t;
4760
+ return Cp.test(t) ? "div" : t;
4739
4761
  }
4740
4762
  let yt, yo;
4741
- const Wp = /^[^ \t\n\r\u000c]+/, kp = /^[, \t\n\r\u000c]+/;
4742
- function vp(e, t) {
4763
+ const kp = /^[^ \t\n\r\u000c]+/, vp = /^[, \t\n\r\u000c]+/;
4764
+ function wp(e, t) {
4743
4765
  if (t.trim() === "")
4744
4766
  return t;
4745
4767
  let i = 0;
@@ -4749,8 +4771,8 @@ function vp(e, t) {
4749
4771
  return o ? (l = o[0], i += l.length, l) : "";
4750
4772
  }
4751
4773
  const s = [];
4752
- for (; n(kp), !(i >= t.length); ) {
4753
- let r = n(Wp);
4774
+ for (; n(vp), !(i >= t.length); ) {
4775
+ let r = n(kp);
4754
4776
  if (r.slice(-1) === ",")
4755
4777
  r = gn(e, r.substring(0, r.length - 1)), s.push(r);
4756
4778
  else {
@@ -4778,7 +4800,7 @@ const go = /* @__PURE__ */ new WeakMap();
4778
4800
  function gn(e, t) {
4779
4801
  return !t || t.trim() === "" ? t : gr(e, t);
4780
4802
  }
4781
- function wp(e) {
4803
+ function xp(e) {
4782
4804
  return !!(e.tagName === "svg" || e.ownerSVGElement);
4783
4805
  }
4784
4806
  function gr(e, t) {
@@ -4790,7 +4812,7 @@ function gr(e, t) {
4790
4812
  return i.setAttribute("href", t), i.href;
4791
4813
  }
4792
4814
  function pa(e, t, i, n) {
4793
- return n && (i === "src" || i === "href" && !(t === "use" && n[0] === "#") || i === "xlink:href" && n[0] !== "#" || i === "background" && (t === "table" || t === "td" || t === "th") ? gn(e, n) : i === "srcset" ? vp(e, n) : i === "style" ? yn(n, gr(e)) : t === "object" && i === "data" ? gn(e, n) : n);
4815
+ return n && (i === "src" || i === "href" && !(t === "use" && n[0] === "#") || i === "xlink:href" && n[0] !== "#" || i === "background" && (t === "table" || t === "td" || t === "th") ? gn(e, n) : i === "srcset" ? wp(e, n) : i === "style" ? yn(n, gr(e)) : t === "object" && i === "data" ? gn(e, n) : n);
4794
4816
  }
4795
4817
  function ma(e, t, i) {
4796
4818
  return (e === "video" || e === "audio") && t === "autoplay";
@@ -4848,7 +4870,7 @@ function fa(e, t, i, n) {
4848
4870
  }
4849
4871
  return !1;
4850
4872
  }
4851
- function xp(e, t, i) {
4873
+ function Tp(e, t, i) {
4852
4874
  const n = e.contentWindow;
4853
4875
  if (!n)
4854
4876
  return;
@@ -4872,7 +4894,7 @@ function xp(e, t, i) {
4872
4894
  return setTimeout(t, 0), e.addEventListener("load", t);
4873
4895
  e.addEventListener("load", t);
4874
4896
  }
4875
- function Tp(e, t, i) {
4897
+ function Lp(e, t, i) {
4876
4898
  let n = !1, s;
4877
4899
  try {
4878
4900
  s = e.sheet;
@@ -4887,7 +4909,7 @@ function Tp(e, t, i) {
4887
4909
  clearTimeout(r), n = !0, t();
4888
4910
  });
4889
4911
  }
4890
- function Lp(e, t) {
4912
+ function Np(e, t) {
4891
4913
  const {
4892
4914
  doc: i,
4893
4915
  mirror: n,
@@ -4907,7 +4929,7 @@ function Lp(e, t) {
4907
4929
  newlyAddedElement: I = !1,
4908
4930
  cssCaptured: V = !1,
4909
4931
  privacySetting: C
4910
- } = t, G = Np(i, n);
4932
+ } = t, G = Jp(i, n);
4911
4933
  switch (e.nodeType) {
4912
4934
  case e.DOCUMENT_NODE:
4913
4935
  return e.compatMode !== "CSS1Compat" ? {
@@ -4928,7 +4950,7 @@ function Lp(e, t) {
4928
4950
  rootId: G
4929
4951
  };
4930
4952
  case e.ELEMENT_NODE:
4931
- return Yp(e, {
4953
+ return Fp(e, {
4932
4954
  doc: i,
4933
4955
  blockClass: s,
4934
4956
  blockSelector: r,
@@ -4946,7 +4968,7 @@ function Lp(e, t) {
4946
4968
  rootId: G
4947
4969
  });
4948
4970
  case e.TEXT_NODE:
4949
- return Jp(e, {
4971
+ return Yp(e, {
4950
4972
  doc: i,
4951
4973
  needsMask: l,
4952
4974
  maskTextFn: u,
@@ -4970,12 +4992,12 @@ function Lp(e, t) {
4970
4992
  return !1;
4971
4993
  }
4972
4994
  }
4973
- function Np(e, t) {
4995
+ function Jp(e, t) {
4974
4996
  if (!t.hasNode(e)) return;
4975
4997
  const i = t.getId(e);
4976
4998
  return i === 1 ? void 0 : i;
4977
4999
  }
4978
- function Jp(e, t) {
5000
+ function Yp(e, t) {
4979
5001
  var i;
4980
5002
  const { needsMask: n, maskTextFn: s, privacySetting: r, rootId: l, cssCaptured: o } = t, a = he.parentNode(e), c = a && a.tagName;
4981
5003
  let u = "";
@@ -4996,7 +5018,7 @@ function Jp(e, t) {
4996
5018
  rootId: l
4997
5019
  };
4998
5020
  }
4999
- function Yp(e, t) {
5021
+ function Fp(e, t) {
5000
5022
  const {
5001
5023
  doc: i,
5002
5024
  blockClass: n,
@@ -5016,7 +5038,7 @@ function Yp(e, t) {
5016
5038
  } = t;
5017
5039
  let I = Zo(e, n, s);
5018
5040
  const V = Zo(e, a, null), C = d === "strict";
5019
- let G = Cp(e), X = {};
5041
+ let G = Wp(e), X = {};
5020
5042
  const k = e.attributes.length;
5021
5043
  for (let g = 0; g < k; g++) {
5022
5044
  const W = e.attributes[g];
@@ -5036,7 +5058,7 @@ function Yp(e, t) {
5036
5058
  let g = ks(
5037
5059
  e.sheet
5038
5060
  );
5039
- g && (e.childNodes.length > 1 && (g = fp(g, e)), X._cssText = g);
5061
+ g && (e.childNodes.length > 1 && (g = bp(g, e)), X._cssText = g);
5040
5062
  }
5041
5063
  if (G === "input" || G === "textarea" || G === "select") {
5042
5064
  const g = e.value, W = e.checked;
@@ -5052,7 +5074,7 @@ function Yp(e, t) {
5052
5074
  }
5053
5075
  if (G === "option" && (e.selected && !l.select ? X.selected = !0 : delete X.selected), G === "dialog" && e.open && (X.rr_open_mode = e.matches("dialog:modal") ? "modal" : "non-modal"), G === "canvas" && p) {
5054
5076
  if (e.__context === "2d")
5055
- ap(e);
5077
+ cp(e);
5056
5078
  else if (!("__context" in e)) {
5057
5079
  const g = e.toDataURL(
5058
5080
  c.type,
@@ -5132,7 +5154,7 @@ function Yp(e, t) {
5132
5154
  tagName: G,
5133
5155
  attributes: X,
5134
5156
  childNodes: [],
5135
- isSVG: wp(e) || void 0,
5157
+ isSVG: xp(e) || void 0,
5136
5158
  needBlock: I,
5137
5159
  needMask: V,
5138
5160
  rootId: S,
@@ -5142,7 +5164,7 @@ function Yp(e, t) {
5142
5164
  function ie(e) {
5143
5165
  return e == null ? "" : e.toLowerCase();
5144
5166
  }
5145
- function Fp(e, t) {
5167
+ function Up(e, t) {
5146
5168
  return !!(t.comment && e.type === ae.Comment || e.type === ae.Element && (t.script && // script tag
5147
5169
  (e.tagName === "script" || // (module)preload link
5148
5170
  e.tagName === "link" && (e.attributes.rel === "preload" && e.attributes.as === "script" || e.attributes.rel === "modulepreload") || // prefetch link
@@ -5186,7 +5208,7 @@ function St(e, t) {
5186
5208
  o,
5187
5209
  J === void 0
5188
5210
  ));
5189
- const $ = Lp(e, {
5211
+ const $ = Np(e, {
5190
5212
  doc: i,
5191
5213
  mirror: n,
5192
5214
  blockClass: s,
@@ -5209,7 +5231,7 @@ function St(e, t) {
5209
5231
  if (!$)
5210
5232
  return console.warn(e, "not serialized"), null;
5211
5233
  let b;
5212
- n.hasNode(e) ? b = n.getId(e) : Fp($, m) || !E && $.type === ae.Text && !$.textContent.replace(/^\s+|\s+$/gm, "").length ? b = oi : b = ha();
5234
+ n.hasNode(e) ? b = n.getId(e) : Up($, m) || !E && $.type === ae.Text && !$.textContent.replace(/^\s+|\s+$/gm, "").length ? b = oi : b = ha();
5213
5235
  const y = Object.assign($, { id: b });
5214
5236
  if (n.add(e, y), b === oi)
5215
5237
  return null;
@@ -5269,7 +5291,7 @@ function St(e, t) {
5269
5291
  }
5270
5292
  }
5271
5293
  const L = he.parentNode(e);
5272
- return L && $t(L) && qt(L) && (y.isShadow = !0), y.type === ae.Element && y.tagName === "iframe" && xp(
5294
+ return L && $t(L) && qt(L) && (y.isShadow = !0), y.type === ae.Element && y.tagName === "iframe" && Tp(
5273
5295
  e,
5274
5296
  () => {
5275
5297
  const A = e.contentDocument;
@@ -5308,7 +5330,7 @@ function St(e, t) {
5308
5330
  }
5309
5331
  },
5310
5332
  G
5311
- ), y.type === ae.Element && y.tagName === "link" && typeof y.attributes.rel == "string" && (y.attributes.rel === "stylesheet" || y.attributes.rel === "preload" && typeof y.attributes.href == "string" && ca(y.attributes.href) === "css") && Tp(
5333
+ ), y.type === ae.Element && y.tagName === "link" && typeof y.attributes.rel == "string" && (y.attributes.rel === "stylesheet" || y.attributes.rel === "preload" && typeof y.attributes.href == "string" && ca(y.attributes.href) === "css") && Lp(
5312
5334
  e,
5313
5335
  () => {
5314
5336
  if (X) {
@@ -5348,7 +5370,7 @@ function St(e, t) {
5348
5370
  k
5349
5371
  ), y;
5350
5372
  }
5351
- function Up(e, t) {
5373
+ function Kp(e, t) {
5352
5374
  const {
5353
5375
  mirror: i = new aa(),
5354
5376
  blockClass: n = "highlight-block",
@@ -5435,7 +5457,7 @@ function Up(e, t) {
5435
5457
  privacySetting: v
5436
5458
  });
5437
5459
  }
5438
- function Kp(e) {
5460
+ function Mp(e) {
5439
5461
  if (e.__esModule) return e;
5440
5462
  var t = e.default;
5441
5463
  if (typeof t == "function") {
@@ -5459,12 +5481,12 @@ var Zr = { exports: {} }, M = String, ba = function() {
5459
5481
  };
5460
5482
  Zr.exports = ba();
5461
5483
  Zr.exports.createColors = ba;
5462
- var Mp = Zr.exports;
5463
- const Op = {}, Ep = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5484
+ var Op = Zr.exports;
5485
+ const Ep = {}, zp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5464
5486
  __proto__: null,
5465
- default: Op
5466
- }, Symbol.toStringTag, { value: "Module" })), Le = /* @__PURE__ */ Kp(Ep);
5467
- let Io = Mp, So = Le, ws = class ya extends Error {
5487
+ default: Ep
5488
+ }, Symbol.toStringTag, { value: "Module" })), Le = /* @__PURE__ */ Mp(zp);
5489
+ let Io = Op, So = Le, ws = class ya extends Error {
5468
5490
  constructor(t, i, n, s, r, l) {
5469
5491
  super(t), this.name = "CssSyntaxError", this.reason = t, r && (this.file = r), s && (this.source = s), l && (this.plugin = l), typeof i < "u" && typeof n < "u" && (typeof i == "number" ? (this.line = i, this.column = n) : (this.line = i.line, this.column = i.column, this.endLine = n.line, this.endColumn = n.column)), this.setMessage(), Error.captureStackTrace && Error.captureStackTrace(this, ya);
5470
5492
  }
@@ -5529,7 +5551,7 @@ const Xo = {
5529
5551
  indent: " ",
5530
5552
  semicolon: !1
5531
5553
  };
5532
- function zp(e) {
5554
+ function Hp(e) {
5533
5555
  return e[0].toUpperCase() + e.slice(1);
5534
5556
  }
5535
5557
  let xs = class {
@@ -5600,7 +5622,7 @@ let xs = class {
5600
5622
  if (i === "before" || i === "after")
5601
5623
  return this.beforeAfter(e, i);
5602
5624
  {
5603
- let l = "raw" + zp(i);
5625
+ let l = "raw" + Hp(i);
5604
5626
  this[l] ? n = this[l](r, e) : r.walk((o) => {
5605
5627
  if (n = o.raws[t], typeof n < "u") return !1;
5606
5628
  });
@@ -5699,16 +5721,16 @@ let xs = class {
5699
5721
  };
5700
5722
  var ga = xs;
5701
5723
  xs.default = xs;
5702
- let Hp = ga;
5724
+ let Pp = ga;
5703
5725
  function Ts(e, t) {
5704
- new Hp(t).stringify(e);
5726
+ new Pp(t).stringify(e);
5705
5727
  }
5706
5728
  var Jn = Ts;
5707
5729
  Ts.default = Ts;
5708
5730
  var yi = {};
5709
5731
  yi.isClean = Symbol("isClean");
5710
5732
  yi.my = Symbol("my");
5711
- let Pp = Ir, Bp = ga, Dp = Jn, { isClean: Kt, my: Qp } = yi;
5733
+ let Bp = Ir, Dp = ga, Qp = Jn, { isClean: Kt, my: jp } = yi;
5712
5734
  function Ls(e, t) {
5713
5735
  let i = new e.constructor();
5714
5736
  for (let n in e) {
@@ -5737,7 +5759,7 @@ let Ns = class {
5737
5759
  return this;
5738
5760
  }
5739
5761
  constructor(e = {}) {
5740
- this.raws = {}, this[Kt] = !1, this[Qp] = !0;
5762
+ this.raws = {}, this[Kt] = !1, this[jp] = !0;
5741
5763
  for (let t in e)
5742
5764
  if (t === "nodes") {
5743
5765
  this.nodes = [];
@@ -5794,7 +5816,7 @@ let Ns = class {
5794
5816
  t
5795
5817
  );
5796
5818
  }
5797
- return new Pp(e);
5819
+ return new Bp(e);
5798
5820
  }
5799
5821
  getProxyProcessor() {
5800
5822
  return {
@@ -5894,7 +5916,7 @@ let Ns = class {
5894
5916
  }), { end: n, start: i };
5895
5917
  }
5896
5918
  raw(e, t) {
5897
- return new Bp().raw(this, e, t);
5919
+ return new Dp().raw(this, e, t);
5898
5920
  }
5899
5921
  remove() {
5900
5922
  return this.parent && this.parent.removeChild(this), this.parent = void 0, this;
@@ -5941,7 +5963,7 @@ let Ns = class {
5941
5963
  toProxy() {
5942
5964
  return this.proxyCache || (this.proxyCache = new Proxy(this, this.getProxyProcessor())), this.proxyCache;
5943
5965
  }
5944
- toString(e = Dp) {
5966
+ toString(e = Qp) {
5945
5967
  e.stringify && (e = e.stringify);
5946
5968
  let t = "";
5947
5969
  return e(this, (i) => {
@@ -5956,14 +5978,14 @@ let Ns = class {
5956
5978
  };
5957
5979
  var Yn = Ns;
5958
5980
  Ns.default = Ns;
5959
- let jp = Yn, Js = class extends jp {
5981
+ let Ap = Yn, Js = class extends Ap {
5960
5982
  constructor(e) {
5961
5983
  super(e), this.type = "comment";
5962
5984
  }
5963
5985
  };
5964
5986
  var Fn = Js;
5965
5987
  Js.default = Js;
5966
- let Ap = Yn, Ys = class extends Ap {
5988
+ let _p = Yn, Ys = class extends _p {
5967
5989
  get variable() {
5968
5990
  return this.prop.startsWith("--") || this.prop[0] === "$";
5969
5991
  }
@@ -5973,7 +5995,7 @@ let Ap = Yn, Ys = class extends Ap {
5973
5995
  };
5974
5996
  var Un = Ys;
5975
5997
  Ys.default = Ys;
5976
- let Za = Fn, Ia = Un, _p = Yn, { isClean: Sa, my: Xa } = yi, Sr, Va, Ga, Xr;
5998
+ let Za = Fn, Ia = Un, $p = Yn, { isClean: Sa, my: Xa } = yi, Sr, Va, Ga, Xr;
5977
5999
  function Ra(e) {
5978
6000
  return e.map((t) => (t.nodes && (t.nodes = Ra(t.nodes)), delete t.source, t));
5979
6001
  }
@@ -5982,7 +6004,7 @@ function Ca(e) {
5982
6004
  for (let t of e.proxyOf.nodes)
5983
6005
  Ca(t);
5984
6006
  }
5985
- let De = class Wa extends _p {
6007
+ let De = class Wa extends $p {
5986
6008
  get first() {
5987
6009
  if (this.proxyOf.nodes)
5988
6010
  return this.proxyOf.nodes[0];
@@ -6204,7 +6226,7 @@ let ka = ct, In = class extends ka {
6204
6226
  var Vr = In;
6205
6227
  In.default = In;
6206
6228
  ka.registerAtRule(In);
6207
- let $p = ct, va, wa, li = class extends $p {
6229
+ let qp = ct, va, wa, li = class extends qp {
6208
6230
  constructor(e) {
6209
6231
  super(Y({ type: "document" }, e)), this.nodes || (this.nodes = []);
6210
6232
  }
@@ -6220,15 +6242,15 @@ li.registerProcessor = (e) => {
6220
6242
  };
6221
6243
  var Gr = li;
6222
6244
  li.default = li;
6223
- let qp = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", em = (e = 21) => {
6245
+ let em = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", tm = (e = 21) => {
6224
6246
  let t = "", i = e | 0;
6225
6247
  for (; i--; )
6226
- t += qp[Math.random() * 64 | 0];
6248
+ t += em[Math.random() * 64 | 0];
6227
6249
  return t;
6228
6250
  };
6229
- var tm = { nanoid: em };
6230
- let { existsSync: im, readFileSync: nm } = Le, { dirname: is, join: sm } = Le, { SourceMapConsumer: Vo, SourceMapGenerator: Go } = Le;
6231
- function rm(e) {
6251
+ var im = { nanoid: tm };
6252
+ let { existsSync: nm, readFileSync: sm } = Le, { dirname: is, join: rm } = Le, { SourceMapConsumer: Vo, SourceMapGenerator: Go } = Le;
6253
+ function om(e) {
6232
6254
  return Buffer ? Buffer.from(e, "base64").toString() : window.atob(e);
6233
6255
  }
6234
6256
  let Fs = class {
@@ -6247,7 +6269,7 @@ let Fs = class {
6247
6269
  return decodeURIComponent(e.substr(r[0].length));
6248
6270
  let l = e.match(t) || e.match(i);
6249
6271
  if (l)
6250
- return rm(e.substr(l[0].length));
6272
+ return om(e.substr(l[0].length));
6251
6273
  let o = e.match(/data:application\/json;([^,]+),/)[1];
6252
6274
  throw new Error("Unsupported source map encoding " + o);
6253
6275
  }
@@ -6264,8 +6286,8 @@ let Fs = class {
6264
6286
  i > -1 && n > -1 && (this.annotation = this.getAnnotationURL(e.substring(i, n)));
6265
6287
  }
6266
6288
  loadFile(e) {
6267
- if (this.root = is(e), im(e))
6268
- return this.mapFile = e, nm(e, "utf-8").toString().trim();
6289
+ if (this.root = is(e), nm(e))
6290
+ return this.mapFile = e, sm(e, "utf-8").toString().trim();
6269
6291
  }
6270
6292
  loadMap(e, t) {
6271
6293
  if (t === !1) return !1;
@@ -6298,7 +6320,7 @@ let Fs = class {
6298
6320
  return this.decodeInline(this.annotation);
6299
6321
  if (this.annotation) {
6300
6322
  let i = this.annotation;
6301
- return e && (i = sm(is(e), i)), this.loadFile(i);
6323
+ return e && (i = rm(is(e), i)), this.loadFile(i);
6302
6324
  }
6303
6325
  }
6304
6326
  }
@@ -6311,7 +6333,7 @@ let Fs = class {
6311
6333
  };
6312
6334
  var xa = Fs;
6313
6335
  Fs.default = Fs;
6314
- let { nanoid: om } = tm, { isAbsolute: Us, resolve: Ks } = Le, { SourceMapConsumer: lm, SourceMapGenerator: am } = Le, { fileURLToPath: Ro, pathToFileURL: ki } = Le, Co = Ir, cm = xa, ns = Le, ss = Symbol("lineToIndexCache"), um = !!(lm && am), Wo = !!(Ks && Us);
6336
+ let { nanoid: lm } = im, { isAbsolute: Us, resolve: Ks } = Le, { SourceMapConsumer: am, SourceMapGenerator: cm } = Le, { fileURLToPath: Ro, pathToFileURL: ki } = Le, Co = Ir, um = xa, ns = Le, ss = Symbol("lineToIndexCache"), dm = !!(am && cm), Wo = !!(Ks && Us);
6315
6337
  function ko(e) {
6316
6338
  if (e[ss]) return e[ss];
6317
6339
  let t = e.css.split(`
@@ -6327,15 +6349,15 @@ let Sn = class {
6327
6349
  constructor(e, t = {}) {
6328
6350
  if (e === null || typeof e > "u" || typeof e == "object" && !e.toString)
6329
6351
  throw new Error(`PostCSS received ${e} instead of CSS string`);
6330
- if (this.css = e.toString(), this.css[0] === "\uFEFF" || this.css[0] === "￾" ? (this.hasBOM = !0, this.css = this.css.slice(1)) : this.hasBOM = !1, this.document = this.css, t.document && (this.document = t.document.toString()), t.from && (!Wo || /^\w+:\/\//.test(t.from) || Us(t.from) ? this.file = t.from : this.file = Ks(t.from)), Wo && um) {
6331
- let i = new cm(this.css, t);
6352
+ if (this.css = e.toString(), this.css[0] === "\uFEFF" || this.css[0] === "￾" ? (this.hasBOM = !0, this.css = this.css.slice(1)) : this.hasBOM = !1, this.document = this.css, t.document && (this.document = t.document.toString()), t.from && (!Wo || /^\w+:\/\//.test(t.from) || Us(t.from) ? this.file = t.from : this.file = Ks(t.from)), Wo && dm) {
6353
+ let i = new um(this.css, t);
6332
6354
  if (i.text) {
6333
6355
  this.map = i;
6334
6356
  let n = i.consumer().file;
6335
6357
  !this.file && n && (this.file = this.mapResolve(n));
6336
6358
  }
6337
6359
  }
6338
- this.file || (this.id = "<input css " + om(6) + ">"), this.map && (this.map.file = this.from);
6360
+ this.file || (this.id = "<input css " + lm(6) + ">"), this.map && (this.map.file = this.from);
6339
6361
  }
6340
6362
  error(e, t, i, n = {}) {
6341
6363
  let s, r, l, o, a;
@@ -6490,9 +6512,9 @@ let ai = {
6490
6512
  };
6491
6513
  var Ja = ai;
6492
6514
  ai.default = ai;
6493
- let Ya = ct, dm = Ja, Xn = class extends Ya {
6515
+ let Ya = ct, hm = Ja, Xn = class extends Ya {
6494
6516
  get selectors() {
6495
- return dm.comma(this.selector);
6517
+ return hm.comma(this.selector);
6496
6518
  }
6497
6519
  set selectors(e) {
6498
6520
  let t = this.selector ? this.selector.match(/,\s*/) : null, i = t ? t[0] : "," + this.raw("between", "beforeOpen");
@@ -6505,16 +6527,16 @@ let Ya = ct, dm = Ja, Xn = class extends Ya {
6505
6527
  var Rr = Xn;
6506
6528
  Xn.default = Xn;
6507
6529
  Ya.registerRule(Xn);
6508
- let hm = Vr, pm = Fn, mm = Un, fm = Kn, bm = xa, ym = gi, gm = Rr;
6530
+ let pm = Vr, mm = Fn, fm = Un, bm = Kn, ym = xa, gm = gi, Zm = Rr;
6509
6531
  function ci(e, t) {
6510
6532
  if (Array.isArray(e)) return e.map((r) => ci(r));
6511
6533
  let i = e, { inputs: n } = i, s = Ct(i, ["inputs"]);
6512
6534
  if (n) {
6513
6535
  t = [];
6514
6536
  for (let r of n) {
6515
- let l = me(Y({}, r), { __proto__: fm.prototype });
6537
+ let l = me(Y({}, r), { __proto__: bm.prototype });
6516
6538
  l.map && (l.map = me(Y({}, l.map), {
6517
- __proto__: bm.prototype
6539
+ __proto__: ym.prototype
6518
6540
  })), t.push(l);
6519
6541
  }
6520
6542
  }
@@ -6523,20 +6545,20 @@ function ci(e, t) {
6523
6545
  s.source = o, l != null && (s.source.input = t[l]);
6524
6546
  }
6525
6547
  if (s.type === "root")
6526
- return new ym(s);
6548
+ return new gm(s);
6527
6549
  if (s.type === "decl")
6528
- return new mm(s);
6550
+ return new fm(s);
6529
6551
  if (s.type === "rule")
6530
- return new gm(s);
6552
+ return new Zm(s);
6531
6553
  if (s.type === "comment")
6532
- return new pm(s);
6554
+ return new mm(s);
6533
6555
  if (s.type === "atrule")
6534
- return new hm(s);
6556
+ return new pm(s);
6535
6557
  throw new Error("Unknown node type: " + e.type);
6536
6558
  }
6537
- var Zm = ci;
6559
+ var Im = ci;
6538
6560
  ci.default = ci;
6539
- let { dirname: en, relative: Fa, resolve: Ua, sep: Ka } = Le, { SourceMapConsumer: Ma, SourceMapGenerator: tn } = Le, { pathToFileURL: vo } = Le, Im = Kn, Sm = !!(Ma && tn), Xm = !!(en && Ua && Fa && Ka), Vm = class {
6561
+ let { dirname: en, relative: Fa, resolve: Ua, sep: Ka } = Le, { SourceMapConsumer: Ma, SourceMapGenerator: tn } = Le, { pathToFileURL: vo } = Le, Sm = Kn, Xm = !!(Ma && tn), Vm = !!(en && Ua && Fa && Ka), Gm = class {
6540
6562
  constructor(e, t, i, n) {
6541
6563
  this.stringify = e, this.mapOpts = i.map || {}, this.root = t, this.opts = i, this.css = n, this.originalCSS = n, this.usesFileUrls = !this.mapOpts.from && this.mapOpts.absolute, this.memoizedFileURLs = /* @__PURE__ */ new Map(), this.memoizedPaths = /* @__PURE__ */ new Map(), this.memoizedURLs = /* @__PURE__ */ new Map();
6542
6564
  }
@@ -6564,7 +6586,7 @@ let { dirname: en, relative: Fa, resolve: Ua, sep: Ka } = Le, { SourceMapConsume
6564
6586
  } else this.css && (this.css = this.css.replace(/\n*\/\*#[\S\s]*?\*\/$/gm, ""));
6565
6587
  }
6566
6588
  generate() {
6567
- if (this.clearAnnotation(), Xm && Sm && this.isMap())
6589
+ if (this.clearAnnotation(), Vm && Xm && this.isMap())
6568
6590
  return this.generateMap();
6569
6591
  {
6570
6592
  let e = "";
@@ -6647,7 +6669,7 @@ let { dirname: en, relative: Fa, resolve: Ua, sep: Ka } = Le, { SourceMapConsume
6647
6669
  }
6648
6670
  });
6649
6671
  else {
6650
- let e = new Im(this.originalCSS, this.opts);
6672
+ let e = new Sm(this.originalCSS, this.opts);
6651
6673
  e.map && this.previousMaps.push(e.map);
6652
6674
  }
6653
6675
  return this.previousMaps;
@@ -6695,9 +6717,9 @@ let { dirname: en, relative: Fa, resolve: Ua, sep: Ka } = Le, { SourceMapConsume
6695
6717
  return this.memoizedURLs.set(e, i), i;
6696
6718
  }
6697
6719
  };
6698
- var Oa = Vm;
6699
- const rs = 39, wo = 34, vi = 92, xo = 47, wi = 10, Mt = 32, xi = 12, Ti = 9, Li = 13, Gm = 91, Rm = 93, Cm = 40, Wm = 41, km = 123, vm = 125, wm = 59, xm = 42, Tm = 58, Lm = 64, Ni = /[\t\n\f\r "#'()/;[\\\]{}]/g, Ji = /[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g, Nm = /.[\r\n"'(/\\]/, To = /[\da-f]/i;
6700
- var Jm = function(e, t = {}) {
6720
+ var Oa = Gm;
6721
+ const rs = 39, wo = 34, vi = 92, xo = 47, wi = 10, Mt = 32, xi = 12, Ti = 9, Li = 13, Rm = 91, Cm = 93, Wm = 40, km = 41, vm = 123, wm = 125, xm = 59, Tm = 42, Lm = 58, Nm = 64, Ni = /[\t\n\f\r "#'()/;[\\\]{}]/g, Ji = /[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g, Jm = /.[\r\n"'(/\\]/, To = /[\da-f]/i;
6722
+ var Ym = function(e, t = {}) {
6701
6723
  let i = e.css.valueOf(), n = t.ignoreErrors, s, r, l, o, a, c, u, h, p, m, f = i.length, d = 0, S = [], I = [];
6702
6724
  function V() {
6703
6725
  return d;
@@ -6725,18 +6747,18 @@ var Jm = function(e, t = {}) {
6725
6747
  c = ["space", i.slice(d, o)], d = o - 1;
6726
6748
  break;
6727
6749
  }
6728
- case Gm:
6729
6750
  case Rm:
6730
- case km:
6751
+ case Cm:
6731
6752
  case vm:
6732
- case Tm:
6733
6753
  case wm:
6734
- case Wm: {
6754
+ case Lm:
6755
+ case xm:
6756
+ case km: {
6735
6757
  let g = String.fromCharCode(s);
6736
6758
  c = [g, g, d];
6737
6759
  break;
6738
6760
  }
6739
- case Cm: {
6761
+ case Wm: {
6740
6762
  if (m = S.length ? S.pop()[1] : "", p = i.charCodeAt(d + 1), m === "url" && p !== rs && p !== wo && p !== Mt && p !== wi && p !== Ti && p !== xi && p !== Li) {
6741
6763
  o = d;
6742
6764
  do {
@@ -6751,7 +6773,7 @@ var Jm = function(e, t = {}) {
6751
6773
  } while (u);
6752
6774
  c = ["brackets", i.slice(d, o + 1), d, o], d = o;
6753
6775
  } else
6754
- o = i.indexOf(")", d + 1), r = i.slice(d, o + 1), o === -1 || Nm.test(r) ? c = ["(", "(", d] : (c = ["brackets", r, d, o], d = o);
6776
+ o = i.indexOf(")", d + 1), r = i.slice(d, o + 1), o === -1 || Jm.test(r) ? c = ["(", "(", d] : (c = ["brackets", r, d, o], d = o);
6755
6777
  break;
6756
6778
  }
6757
6779
  case rs:
@@ -6770,7 +6792,7 @@ var Jm = function(e, t = {}) {
6770
6792
  c = ["string", i.slice(d, o + 1), d, o], d = o;
6771
6793
  break;
6772
6794
  }
6773
- case Lm: {
6795
+ case Nm: {
6774
6796
  Ni.lastIndex = d + 1, Ni.test(i), Ni.lastIndex === 0 ? o = i.length - 1 : o = Ni.lastIndex - 2, c = ["at-word", i.slice(d, o + 1), d, o], d = o;
6775
6797
  break;
6776
6798
  }
@@ -6786,7 +6808,7 @@ var Jm = function(e, t = {}) {
6786
6808
  break;
6787
6809
  }
6788
6810
  default: {
6789
- s === xo && i.charCodeAt(d + 1) === xm ? (o = i.indexOf("*/", d + 2) + 1, o === 0 && (n || w ? o = i.length : C("comment")), c = ["comment", i.slice(d, o + 1), d, o], d = o) : (Ji.lastIndex = d + 1, Ji.test(i), Ji.lastIndex === 0 ? o = i.length - 1 : o = Ji.lastIndex - 2, c = ["word", i.slice(d, o + 1), d, o], S.push(c), d = o);
6811
+ s === xo && i.charCodeAt(d + 1) === Tm ? (o = i.indexOf("*/", d + 2) + 1, o === 0 && (n || w ? o = i.length : C("comment")), c = ["comment", i.slice(d, o + 1), d, o], d = o) : (Ji.lastIndex = d + 1, Ji.test(i), Ji.lastIndex === 0 ? o = i.length - 1 : o = Ji.lastIndex - 2, c = ["word", i.slice(d, o + 1), d, o], S.push(c), d = o);
6790
6812
  break;
6791
6813
  }
6792
6814
  }
@@ -6802,23 +6824,23 @@ var Jm = function(e, t = {}) {
6802
6824
  position: V
6803
6825
  };
6804
6826
  };
6805
- let Ym = Vr, Fm = Fn, Um = Un, Km = gi, Lo = Rr, Mm = Jm;
6827
+ let Fm = Vr, Um = Fn, Km = Un, Mm = gi, Lo = Rr, Om = Ym;
6806
6828
  const No = {
6807
6829
  empty: !0,
6808
6830
  space: !0
6809
6831
  };
6810
- function Om(e) {
6832
+ function Em(e) {
6811
6833
  for (let t = e.length - 1; t >= 0; t--) {
6812
6834
  let i = e[t], n = i[3] || i[2];
6813
6835
  if (n) return n;
6814
6836
  }
6815
6837
  }
6816
- let Em = class {
6838
+ let zm = class {
6817
6839
  constructor(e) {
6818
- this.input = e, this.root = new Km(), this.current = this.root, this.spaces = "", this.semicolon = !1, this.createTokenizer(), this.root.source = { input: e, start: { column: 1, line: 1, offset: 0 } };
6840
+ this.input = e, this.root = new Mm(), this.current = this.root, this.spaces = "", this.semicolon = !1, this.createTokenizer(), this.root.source = { input: e, start: { column: 1, line: 1, offset: 0 } };
6819
6841
  }
6820
6842
  atrule(e) {
6821
- let t = new Ym();
6843
+ let t = new Fm();
6822
6844
  t.name = e[1].slice(1), t.name === "" && this.unnamedAtrule(t, e), this.init(t, e[2]);
6823
6845
  let i, n, s, r = !1, l = !1, o = [], a = [];
6824
6846
  for (; !this.tokenizer.endOfFile(); ) {
@@ -6875,7 +6897,7 @@ let Em = class {
6875
6897
  return !1;
6876
6898
  }
6877
6899
  comment(e) {
6878
- let t = new Fm();
6900
+ let t = new Um();
6879
6901
  this.init(t, e[2]), t.source.end = this.getPosition(e[3] || e[2]), t.source.end.offset++;
6880
6902
  let i = e[1].slice(2, -2);
6881
6903
  if (/^\s*$/.test(i))
@@ -6886,14 +6908,14 @@ let Em = class {
6886
6908
  }
6887
6909
  }
6888
6910
  createTokenizer() {
6889
- this.tokenizer = Mm(this.input);
6911
+ this.tokenizer = Om(this.input);
6890
6912
  }
6891
6913
  decl(e, t) {
6892
- let i = new Um();
6914
+ let i = new Km();
6893
6915
  this.init(i, e[0][2]);
6894
6916
  let n = e[e.length - 1];
6895
6917
  for (n[0] === ";" && (this.semicolon = !0, e.pop()), i.source.end = this.getPosition(
6896
- n[3] || n[2] || Om(e)
6918
+ n[3] || n[2] || Em(e)
6897
6919
  ), i.source.end.offset++; e[0][0] !== "word"; )
6898
6920
  e.length === 1 && this.unknownWord(e), i.raws.before += e.shift()[1];
6899
6921
  for (i.source.start = this.getPosition(e[0][2]), i.prop = ""; e.length; ) {
@@ -7109,10 +7131,10 @@ let Em = class {
7109
7131
  );
7110
7132
  }
7111
7133
  };
7112
- var zm = Em;
7113
- let Hm = ct, Pm = Kn, Bm = zm;
7134
+ var Hm = zm;
7135
+ let Pm = ct, Bm = Kn, Dm = Hm;
7114
7136
  function Vn(e, t) {
7115
- let i = new Pm(e, t), n = new Bm(i);
7137
+ let i = new Bm(e, t), n = new Dm(i);
7116
7138
  try {
7117
7139
  n.parse();
7118
7140
  } catch (s) {
@@ -7125,7 +7147,7 @@ You tried to parse Less with the standard CSS parser; try again with the postcss
7125
7147
  }
7126
7148
  var Cr = Vn;
7127
7149
  Vn.default = Vn;
7128
- Hm.registerParse(Vn);
7150
+ Pm.registerParse(Vn);
7129
7151
  let Ms = class {
7130
7152
  constructor(e, t = {}) {
7131
7153
  if (this.type = "warning", this.text = e, t.node && t.node.source) {
@@ -7144,7 +7166,7 @@ let Ms = class {
7144
7166
  };
7145
7167
  var Ea = Ms;
7146
7168
  Ms.default = Ms;
7147
- let Dm = Ea, Os = class {
7169
+ let Qm = Ea, Os = class {
7148
7170
  get content() {
7149
7171
  return this.css;
7150
7172
  }
@@ -7156,7 +7178,7 @@ let Dm = Ea, Os = class {
7156
7178
  }
7157
7179
  warn(e, t = {}) {
7158
7180
  t.plugin || this.lastPlugin && this.lastPlugin.postcssPlugin && (t.plugin = this.lastPlugin.postcssPlugin);
7159
- let i = new Dm(e, t);
7181
+ let i = new Qm(e, t);
7160
7182
  return this.messages.push(i), i;
7161
7183
  }
7162
7184
  warnings() {
@@ -7169,15 +7191,15 @@ let Jo = {};
7169
7191
  var za = function(e) {
7170
7192
  Jo[e] || (Jo[e] = !0, typeof console < "u" && console.warn && console.warn(e));
7171
7193
  };
7172
- let Qm = ct, jm = Gr, Am = Oa, _m = Cr, Yo = Wr, $m = gi, qm = Jn, { isClean: Ye, my: ef } = yi, tf = za;
7173
- const nf = {
7194
+ let jm = ct, Am = Gr, _m = Oa, $m = Cr, Yo = Wr, qm = gi, ef = Jn, { isClean: Ye, my: tf } = yi, nf = za;
7195
+ const sf = {
7174
7196
  atrule: "AtRule",
7175
7197
  comment: "Comment",
7176
7198
  decl: "Declaration",
7177
7199
  document: "Document",
7178
7200
  root: "Root",
7179
7201
  rule: "Rule"
7180
- }, sf = {
7202
+ }, rf = {
7181
7203
  AtRule: !0,
7182
7204
  AtRuleExit: !0,
7183
7205
  Comment: !0,
@@ -7194,7 +7216,7 @@ const nf = {
7194
7216
  RootExit: !0,
7195
7217
  Rule: !0,
7196
7218
  RuleExit: !0
7197
- }, rf = {
7219
+ }, of = {
7198
7220
  Once: !0,
7199
7221
  postcssPlugin: !0,
7200
7222
  prepare: !0
@@ -7203,7 +7225,7 @@ function Ot(e) {
7203
7225
  return typeof e == "object" && typeof e.then == "function";
7204
7226
  }
7205
7227
  function Ha(e) {
7206
- let t = !1, i = nf[e.type];
7228
+ let t = !1, i = sf[e.type];
7207
7229
  return e.type === "decl" ? t = e.prop.toLowerCase() : e.type === "atrule" && (t = e.name.toLowerCase()), t && e.append ? [
7208
7230
  i,
7209
7231
  i + "-" + t,
@@ -7259,14 +7281,14 @@ let zs = {}, wt = class Pa {
7259
7281
  else if (i instanceof Pa || i instanceof Yo)
7260
7282
  s = Es(i.root), i.map && (typeof n.map > "u" && (n.map = {}), n.map.inline || (n.map.inline = !1), n.map.prev = i.map);
7261
7283
  else {
7262
- let r = _m;
7284
+ let r = $m;
7263
7285
  n.syntax && (r = n.syntax.parse), n.parser && (r = n.parser), r.parse && (r = r.parse);
7264
7286
  try {
7265
7287
  s = r(i, n);
7266
7288
  } catch (l) {
7267
7289
  this.processed = !0, this.error = l;
7268
7290
  }
7269
- s && !s[ef] && Qm.rebuild(s);
7291
+ s && !s[tf] && jm.rebuild(s);
7270
7292
  }
7271
7293
  this.result = new Yo(t, s, n), this.helpers = me(Y({}, zs), { postcss: zs, result: this.result }), this.plugins = this.processor.plugins.map((r) => typeof r == "object" && r.prepare ? Y(Y({}, r), r.prepare(this.result)) : r);
7272
7294
  }
@@ -7306,11 +7328,11 @@ let zs = {}, wt = class Pa {
7306
7328
  for (let i of this.plugins)
7307
7329
  if (typeof i == "object")
7308
7330
  for (let n in i) {
7309
- if (!sf[n] && /^[A-Z]/.test(n))
7331
+ if (!rf[n] && /^[A-Z]/.test(n))
7310
7332
  throw new Error(
7311
7333
  `Unknown event ${n} in ${i.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`
7312
7334
  );
7313
- if (!rf[n])
7335
+ if (!of[n])
7314
7336
  if (typeof i[n] == "object")
7315
7337
  for (let s in i[n])
7316
7338
  s === "*" ? t(i, n, i[n][s]) : t(
@@ -7390,9 +7412,9 @@ let zs = {}, wt = class Pa {
7390
7412
  if (this.error) throw this.error;
7391
7413
  if (this.stringified) return this.result;
7392
7414
  this.stringified = !0, this.sync();
7393
- let t = this.result.opts, i = qm;
7415
+ let t = this.result.opts, i = ef;
7394
7416
  t.syntax && (i = t.syntax.stringify), t.stringifier && (i = t.stringifier), i.stringify && (i = i.stringify);
7395
- let n = new Am(i, this.result.root, this.result.opts).generate();
7417
+ let n = new _m(i, this.result.root, this.result.opts).generate();
7396
7418
  return this.result.css = n[0], this.result.map = n[1], this.result;
7397
7419
  }
7398
7420
  sync() {
@@ -7419,7 +7441,7 @@ let zs = {}, wt = class Pa {
7419
7441
  return this.result;
7420
7442
  }
7421
7443
  then(t, i) {
7422
- return process.env.NODE_ENV !== "production" && ("from" in this.opts || tf(
7444
+ return process.env.NODE_ENV !== "production" && ("from" in this.opts || nf(
7423
7445
  "Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning."
7424
7446
  )), this.async().then(t, i);
7425
7447
  }
@@ -7501,11 +7523,11 @@ wt.registerPostcss = (e) => {
7501
7523
  };
7502
7524
  var Ba = wt;
7503
7525
  wt.default = wt;
7504
- $m.registerLazyResult(wt);
7505
- jm.registerLazyResult(wt);
7506
- let of = Oa, lf = Cr;
7507
- const af = Wr;
7508
- let cf = Jn, uf = za, Hs = class {
7526
+ qm.registerLazyResult(wt);
7527
+ Am.registerLazyResult(wt);
7528
+ let lf = Oa, af = Cr;
7529
+ const cf = Wr;
7530
+ let uf = Jn, df = za, Hs = class {
7509
7531
  get content() {
7510
7532
  return this.result.css;
7511
7533
  }
@@ -7527,7 +7549,7 @@ let cf = Jn, uf = za, Hs = class {
7527
7549
  get root() {
7528
7550
  if (this._root)
7529
7551
  return this._root;
7530
- let e, t = lf;
7552
+ let e, t = af;
7531
7553
  try {
7532
7554
  e = t(this._css, this._opts);
7533
7555
  } catch (i) {
@@ -7542,15 +7564,15 @@ let cf = Jn, uf = za, Hs = class {
7542
7564
  }
7543
7565
  constructor(e, t, i) {
7544
7566
  t = t.toString(), this.stringified = !1, this._processor = e, this._css = t, this._opts = i, this._map = void 0;
7545
- let n, s = cf;
7546
- this.result = new af(this._processor, n, this._opts), this.result.css = t;
7567
+ let n, s = uf;
7568
+ this.result = new cf(this._processor, n, this._opts), this.result.css = t;
7547
7569
  let r = this;
7548
7570
  Object.defineProperty(this.result, "root", {
7549
7571
  get() {
7550
7572
  return r.root;
7551
7573
  }
7552
7574
  });
7553
- let l = new of(s, n, this._opts, t);
7575
+ let l = new lf(s, n, this._opts, t);
7554
7576
  if (l.isMap()) {
7555
7577
  let [o, a] = l.generate();
7556
7578
  o && (this.result.css = o), a && (this.result.map = a);
@@ -7571,7 +7593,7 @@ let cf = Jn, uf = za, Hs = class {
7571
7593
  return this.result;
7572
7594
  }
7573
7595
  then(e, t) {
7574
- return process.env.NODE_ENV !== "production" && ("from" in this._opts || uf(
7596
+ return process.env.NODE_ENV !== "production" && ("from" in this._opts || df(
7575
7597
  "Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning."
7576
7598
  )), this.async().then(e, t);
7577
7599
  }
@@ -7582,9 +7604,9 @@ let cf = Jn, uf = za, Hs = class {
7582
7604
  return [];
7583
7605
  }
7584
7606
  };
7585
- var df = Hs;
7607
+ var hf = Hs;
7586
7608
  Hs.default = Hs;
7587
- let hf = Gr, pf = Ba, mf = df, ff = gi, ui = class {
7609
+ let pf = Gr, mf = Ba, ff = hf, bf = gi, ui = class {
7588
7610
  constructor(e = []) {
7589
7611
  this.version = "8.5.6", this.plugins = this.normalize(e);
7590
7612
  }
@@ -7607,17 +7629,17 @@ let hf = Gr, pf = Ba, mf = df, ff = gi, ui = class {
7607
7629
  return t;
7608
7630
  }
7609
7631
  process(e, t = {}) {
7610
- return !this.plugins.length && !t.parser && !t.stringifier && !t.syntax ? new mf(this, e, t) : new pf(this, e, t);
7632
+ return !this.plugins.length && !t.parser && !t.stringifier && !t.syntax ? new ff(this, e, t) : new mf(this, e, t);
7611
7633
  }
7612
7634
  use(e) {
7613
7635
  return this.plugins = this.plugins.concat(this.normalize([e])), this;
7614
7636
  }
7615
7637
  };
7616
- var bf = ui;
7638
+ var yf = ui;
7617
7639
  ui.default = ui;
7618
- ff.registerProcessor(ui);
7619
- hf.registerProcessor(ui);
7620
- let Da = Vr, Qa = Fn, yf = ct, gf = Ir, ja = Un, Aa = Gr, Zf = Zm, If = Kn, Sf = Ba, Xf = Ja, Vf = Yn, Gf = Cr, kr = bf, Rf = Wr, _a = gi, $a = Rr, Cf = Jn, Wf = Ea;
7640
+ bf.registerProcessor(ui);
7641
+ pf.registerProcessor(ui);
7642
+ let Da = Vr, Qa = Fn, gf = ct, Zf = Ir, ja = Un, Aa = Gr, If = Im, Sf = Kn, Xf = Ba, Vf = Ja, Gf = Yn, Rf = Cr, kr = yf, Cf = Wr, _a = gi, $a = Rr, Wf = Jn, kf = Ea;
7621
7643
  function q(...e) {
7622
7644
  return e.length === 1 && Array.isArray(e[0]) && (e = e[0]), new kr(e);
7623
7645
  }
@@ -7643,33 +7665,33 @@ https://www.w3ctech.com/topic/2226`
7643
7665
  return q([n(o)]).process(r, l);
7644
7666
  }, n;
7645
7667
  };
7646
- q.stringify = Cf;
7647
- q.parse = Gf;
7648
- q.fromJSON = Zf;
7649
- q.list = Xf;
7668
+ q.stringify = Wf;
7669
+ q.parse = Rf;
7670
+ q.fromJSON = If;
7671
+ q.list = Vf;
7650
7672
  q.comment = (e) => new Qa(e);
7651
7673
  q.atRule = (e) => new Da(e);
7652
7674
  q.decl = (e) => new ja(e);
7653
7675
  q.rule = (e) => new $a(e);
7654
7676
  q.root = (e) => new _a(e);
7655
7677
  q.document = (e) => new Aa(e);
7656
- q.CssSyntaxError = gf;
7678
+ q.CssSyntaxError = Zf;
7657
7679
  q.Declaration = ja;
7658
- q.Container = yf;
7680
+ q.Container = gf;
7659
7681
  q.Processor = kr;
7660
7682
  q.Document = Aa;
7661
7683
  q.Comment = Qa;
7662
- q.Warning = Wf;
7684
+ q.Warning = kf;
7663
7685
  q.AtRule = Da;
7664
- q.Result = Rf;
7665
- q.Input = If;
7686
+ q.Result = Cf;
7687
+ q.Input = Sf;
7666
7688
  q.Rule = $a;
7667
7689
  q.Root = _a;
7668
- q.Node = Vf;
7669
- Sf.registerPostcss(q);
7690
+ q.Node = Gf;
7691
+ Xf.registerPostcss(q);
7670
7692
  q.default = q;
7671
- var kf = Object.defineProperty, vf = (e, t, i) => t in e ? kf(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i, We = (e, t, i) => vf(e, typeof t != "symbol" ? t + "" : t, i);
7672
- function wf(e) {
7693
+ var vf = Object.defineProperty, wf = (e, t, i) => t in e ? vf(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i, We = (e, t, i) => wf(e, typeof t != "symbol" ? t + "" : t, i);
7694
+ function xf(e) {
7673
7695
  if (e.__esModule) return e;
7674
7696
  var t = e.default;
7675
7697
  if (typeof t == "function") {
@@ -7693,12 +7715,12 @@ var vr = { exports: {} }, O = String, qa = function() {
7693
7715
  };
7694
7716
  vr.exports = qa();
7695
7717
  vr.exports.createColors = qa;
7696
- var xf = vr.exports;
7697
- const Tf = {}, Lf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7718
+ var Tf = vr.exports;
7719
+ const Lf = {}, Nf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7698
7720
  __proto__: null,
7699
- default: Tf
7700
- }, Symbol.toStringTag, { value: "Module" })), Ne = /* @__PURE__ */ wf(Lf);
7701
- let Uo = xf, Ko = Ne, Ps = class ec extends Error {
7721
+ default: Lf
7722
+ }, Symbol.toStringTag, { value: "Module" })), Ne = /* @__PURE__ */ xf(Nf);
7723
+ let Uo = Tf, Ko = Ne, Ps = class ec extends Error {
7702
7724
  constructor(t, i, n, s, r, l) {
7703
7725
  super(t), this.name = "CssSyntaxError", this.reason = t, r && (this.file = r), s && (this.source = s), l && (this.plugin = l), typeof i < "u" && typeof n < "u" && (typeof i == "number" ? (this.line = i, this.column = n) : (this.line = i.line, this.column = i.column, this.endLine = n.line, this.endColumn = n.column)), this.setMessage(), Error.captureStackTrace && Error.captureStackTrace(this, ec);
7704
7726
  }
@@ -7763,7 +7785,7 @@ const Mo = {
7763
7785
  indent: " ",
7764
7786
  semicolon: !1
7765
7787
  };
7766
- function Nf(e) {
7788
+ function Jf(e) {
7767
7789
  return e[0].toUpperCase() + e.slice(1);
7768
7790
  }
7769
7791
  let Bs = class {
@@ -7834,7 +7856,7 @@ let Bs = class {
7834
7856
  if (i === "before" || i === "after")
7835
7857
  return this.beforeAfter(e, i);
7836
7858
  {
7837
- let l = "raw" + Nf(i);
7859
+ let l = "raw" + Jf(i);
7838
7860
  this[l] ? n = this[l](r, e) : r.walk((o) => {
7839
7861
  if (n = o.raws[t], typeof n < "u") return !1;
7840
7862
  });
@@ -7933,16 +7955,16 @@ let Bs = class {
7933
7955
  };
7934
7956
  var tc = Bs;
7935
7957
  Bs.default = Bs;
7936
- let Jf = tc;
7958
+ let Yf = tc;
7937
7959
  function Ds(e, t) {
7938
- new Jf(t).stringify(e);
7960
+ new Yf(t).stringify(e);
7939
7961
  }
7940
7962
  var Mn = Ds;
7941
7963
  Ds.default = Ds;
7942
7964
  var Zi = {};
7943
7965
  Zi.isClean = Symbol("isClean");
7944
7966
  Zi.my = Symbol("my");
7945
- let Yf = wr, Ff = tc, Uf = Mn, { isClean: Et, my: Kf } = Zi;
7967
+ let Ff = wr, Uf = tc, Kf = Mn, { isClean: Et, my: Mf } = Zi;
7946
7968
  function Qs(e, t) {
7947
7969
  let i = new e.constructor();
7948
7970
  for (let n in e) {
@@ -7971,7 +7993,7 @@ let js = class {
7971
7993
  return this;
7972
7994
  }
7973
7995
  constructor(e = {}) {
7974
- this.raws = {}, this[Et] = !1, this[Kf] = !0;
7996
+ this.raws = {}, this[Et] = !1, this[Mf] = !0;
7975
7997
  for (let t in e)
7976
7998
  if (t === "nodes") {
7977
7999
  this.nodes = [];
@@ -8028,7 +8050,7 @@ let js = class {
8028
8050
  t
8029
8051
  );
8030
8052
  }
8031
- return new Yf(e);
8053
+ return new Ff(e);
8032
8054
  }
8033
8055
  getProxyProcessor() {
8034
8056
  return {
@@ -8128,7 +8150,7 @@ let js = class {
8128
8150
  }), { end: n, start: i };
8129
8151
  }
8130
8152
  raw(e, t) {
8131
- return new Ff().raw(this, e, t);
8153
+ return new Uf().raw(this, e, t);
8132
8154
  }
8133
8155
  remove() {
8134
8156
  return this.parent && this.parent.removeChild(this), this.parent = void 0, this;
@@ -8175,7 +8197,7 @@ let js = class {
8175
8197
  toProxy() {
8176
8198
  return this.proxyCache || (this.proxyCache = new Proxy(this, this.getProxyProcessor())), this.proxyCache;
8177
8199
  }
8178
- toString(e = Uf) {
8200
+ toString(e = Kf) {
8179
8201
  e.stringify && (e = e.stringify);
8180
8202
  let t = "";
8181
8203
  return e(this, (i) => {
@@ -8190,14 +8212,14 @@ let js = class {
8190
8212
  };
8191
8213
  var On = js;
8192
8214
  js.default = js;
8193
- let Mf = On, As = class extends Mf {
8215
+ let Of = On, As = class extends Of {
8194
8216
  constructor(e) {
8195
8217
  super(e), this.type = "comment";
8196
8218
  }
8197
8219
  };
8198
8220
  var En = As;
8199
8221
  As.default = As;
8200
- let Of = On, _s = class extends Of {
8222
+ let Ef = On, _s = class extends Ef {
8201
8223
  get variable() {
8202
8224
  return this.prop.startsWith("--") || this.prop[0] === "$";
8203
8225
  }
@@ -8207,7 +8229,7 @@ let Of = On, _s = class extends Of {
8207
8229
  };
8208
8230
  var zn = _s;
8209
8231
  _s.default = _s;
8210
- let ic = En, nc = zn, Ef = On, { isClean: sc, my: rc } = Zi, xr, oc, lc, Tr;
8232
+ let ic = En, nc = zn, zf = On, { isClean: sc, my: rc } = Zi, xr, oc, lc, Tr;
8211
8233
  function ac(e) {
8212
8234
  return e.map((t) => (t.nodes && (t.nodes = ac(t.nodes)), delete t.source, t));
8213
8235
  }
@@ -8216,7 +8238,7 @@ function cc(e) {
8216
8238
  for (let t of e.proxyOf.nodes)
8217
8239
  cc(t);
8218
8240
  }
8219
- let Qe = class uc extends Ef {
8241
+ let Qe = class uc extends zf {
8220
8242
  get first() {
8221
8243
  if (this.proxyOf.nodes)
8222
8244
  return this.proxyOf.nodes[0];
@@ -8438,7 +8460,7 @@ let dc = ut, Gn = class extends dc {
8438
8460
  var Lr = Gn;
8439
8461
  Gn.default = Gn;
8440
8462
  dc.registerAtRule(Gn);
8441
- let zf = ut, hc, pc, di = class extends zf {
8463
+ let Hf = ut, hc, pc, di = class extends Hf {
8442
8464
  constructor(e) {
8443
8465
  super(Y({ type: "document" }, e)), this.nodes || (this.nodes = []);
8444
8466
  }
@@ -8454,15 +8476,15 @@ di.registerProcessor = (e) => {
8454
8476
  };
8455
8477
  var Nr = di;
8456
8478
  di.default = di;
8457
- let Hf = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", Pf = (e = 21) => {
8479
+ let Pf = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", Bf = (e = 21) => {
8458
8480
  let t = "", i = e | 0;
8459
8481
  for (; i--; )
8460
- t += Hf[Math.random() * 64 | 0];
8482
+ t += Pf[Math.random() * 64 | 0];
8461
8483
  return t;
8462
8484
  };
8463
- var Bf = { nanoid: Pf };
8464
- let { existsSync: Df, readFileSync: Qf } = Ne, { dirname: os, join: jf } = Ne, { SourceMapConsumer: Oo, SourceMapGenerator: Eo } = Ne;
8465
- function Af(e) {
8485
+ var Df = { nanoid: Bf };
8486
+ let { existsSync: Qf, readFileSync: jf } = Ne, { dirname: os, join: Af } = Ne, { SourceMapConsumer: Oo, SourceMapGenerator: Eo } = Ne;
8487
+ function _f(e) {
8466
8488
  return Buffer ? Buffer.from(e, "base64").toString() : window.atob(e);
8467
8489
  }
8468
8490
  let $s = class {
@@ -8481,7 +8503,7 @@ let $s = class {
8481
8503
  return decodeURIComponent(e.substr(r[0].length));
8482
8504
  let l = e.match(t) || e.match(i);
8483
8505
  if (l)
8484
- return Af(e.substr(l[0].length));
8506
+ return _f(e.substr(l[0].length));
8485
8507
  let o = e.match(/data:application\/json;([^,]+),/)[1];
8486
8508
  throw new Error("Unsupported source map encoding " + o);
8487
8509
  }
@@ -8498,8 +8520,8 @@ let $s = class {
8498
8520
  i > -1 && n > -1 && (this.annotation = this.getAnnotationURL(e.substring(i, n)));
8499
8521
  }
8500
8522
  loadFile(e) {
8501
- if (this.root = os(e), Df(e))
8502
- return this.mapFile = e, Qf(e, "utf-8").toString().trim();
8523
+ if (this.root = os(e), Qf(e))
8524
+ return this.mapFile = e, jf(e, "utf-8").toString().trim();
8503
8525
  }
8504
8526
  loadMap(e, t) {
8505
8527
  if (t === !1) return !1;
@@ -8532,7 +8554,7 @@ let $s = class {
8532
8554
  return this.decodeInline(this.annotation);
8533
8555
  if (this.annotation) {
8534
8556
  let i = this.annotation;
8535
- return e && (i = jf(os(e), i)), this.loadFile(i);
8557
+ return e && (i = Af(os(e), i)), this.loadFile(i);
8536
8558
  }
8537
8559
  }
8538
8560
  }
@@ -8545,7 +8567,7 @@ let $s = class {
8545
8567
  };
8546
8568
  var mc = $s;
8547
8569
  $s.default = $s;
8548
- let { nanoid: _f } = Bf, { isAbsolute: qs, resolve: er } = Ne, { SourceMapConsumer: $f, SourceMapGenerator: qf } = Ne, { fileURLToPath: zo, pathToFileURL: Yi } = Ne, Ho = wr, eb = mc, ls = Ne, as = Symbol("lineToIndexCache"), tb = !!($f && qf), Po = !!(er && qs);
8570
+ let { nanoid: $f } = Df, { isAbsolute: qs, resolve: er } = Ne, { SourceMapConsumer: qf, SourceMapGenerator: eb } = Ne, { fileURLToPath: zo, pathToFileURL: Yi } = Ne, Ho = wr, tb = mc, ls = Ne, as = Symbol("lineToIndexCache"), ib = !!(qf && eb), Po = !!(er && qs);
8549
8571
  function Bo(e) {
8550
8572
  if (e[as]) return e[as];
8551
8573
  let t = e.css.split(`
@@ -8561,15 +8583,15 @@ let Rn = class {
8561
8583
  constructor(e, t = {}) {
8562
8584
  if (e === null || typeof e > "u" || typeof e == "object" && !e.toString)
8563
8585
  throw new Error(`PostCSS received ${e} instead of CSS string`);
8564
- if (this.css = e.toString(), this.css[0] === "\uFEFF" || this.css[0] === "￾" ? (this.hasBOM = !0, this.css = this.css.slice(1)) : this.hasBOM = !1, this.document = this.css, t.document && (this.document = t.document.toString()), t.from && (!Po || /^\w+:\/\//.test(t.from) || qs(t.from) ? this.file = t.from : this.file = er(t.from)), Po && tb) {
8565
- let i = new eb(this.css, t);
8586
+ if (this.css = e.toString(), this.css[0] === "\uFEFF" || this.css[0] === "￾" ? (this.hasBOM = !0, this.css = this.css.slice(1)) : this.hasBOM = !1, this.document = this.css, t.document && (this.document = t.document.toString()), t.from && (!Po || /^\w+:\/\//.test(t.from) || qs(t.from) ? this.file = t.from : this.file = er(t.from)), Po && ib) {
8587
+ let i = new tb(this.css, t);
8566
8588
  if (i.text) {
8567
8589
  this.map = i;
8568
8590
  let n = i.consumer().file;
8569
8591
  !this.file && n && (this.file = this.mapResolve(n));
8570
8592
  }
8571
8593
  }
8572
- this.file || (this.id = "<input css " + _f(6) + ">"), this.map && (this.map.file = this.from);
8594
+ this.file || (this.id = "<input css " + $f(6) + ">"), this.map && (this.map.file = this.from);
8573
8595
  }
8574
8596
  error(e, t, i, n = {}) {
8575
8597
  let s, r, l, o, a;
@@ -8724,9 +8746,9 @@ let hi = {
8724
8746
  };
8725
8747
  var gc = hi;
8726
8748
  hi.default = hi;
8727
- let Zc = ut, ib = gc, Cn = class extends Zc {
8749
+ let Zc = ut, nb = gc, Cn = class extends Zc {
8728
8750
  get selectors() {
8729
- return ib.comma(this.selector);
8751
+ return nb.comma(this.selector);
8730
8752
  }
8731
8753
  set selectors(e) {
8732
8754
  let t = this.selector ? this.selector.match(/,\s*/) : null, i = t ? t[0] : "," + this.raw("between", "beforeOpen");
@@ -8739,16 +8761,16 @@ let Zc = ut, ib = gc, Cn = class extends Zc {
8739
8761
  var Jr = Cn;
8740
8762
  Cn.default = Cn;
8741
8763
  Zc.registerRule(Cn);
8742
- let nb = Lr, sb = En, rb = zn, ob = Hn, lb = mc, ab = Ii, cb = Jr;
8764
+ let sb = Lr, rb = En, ob = zn, lb = Hn, ab = mc, cb = Ii, ub = Jr;
8743
8765
  function pi(e, t) {
8744
8766
  if (Array.isArray(e)) return e.map((r) => pi(r));
8745
8767
  let i = e, { inputs: n } = i, s = Ct(i, ["inputs"]);
8746
8768
  if (n) {
8747
8769
  t = [];
8748
8770
  for (let r of n) {
8749
- let l = me(Y({}, r), { __proto__: ob.prototype });
8771
+ let l = me(Y({}, r), { __proto__: lb.prototype });
8750
8772
  l.map && (l.map = me(Y({}, l.map), {
8751
- __proto__: lb.prototype
8773
+ __proto__: ab.prototype
8752
8774
  })), t.push(l);
8753
8775
  }
8754
8776
  }
@@ -8757,20 +8779,20 @@ function pi(e, t) {
8757
8779
  s.source = o, l != null && (s.source.input = t[l]);
8758
8780
  }
8759
8781
  if (s.type === "root")
8760
- return new ab(s);
8782
+ return new cb(s);
8761
8783
  if (s.type === "decl")
8762
- return new rb(s);
8784
+ return new ob(s);
8763
8785
  if (s.type === "rule")
8764
- return new cb(s);
8786
+ return new ub(s);
8765
8787
  if (s.type === "comment")
8766
- return new sb(s);
8788
+ return new rb(s);
8767
8789
  if (s.type === "atrule")
8768
- return new nb(s);
8790
+ return new sb(s);
8769
8791
  throw new Error("Unknown node type: " + e.type);
8770
8792
  }
8771
- var ub = pi;
8793
+ var db = pi;
8772
8794
  pi.default = pi;
8773
- let { dirname: nn, relative: Ic, resolve: Sc, sep: Xc } = Ne, { SourceMapConsumer: Vc, SourceMapGenerator: sn } = Ne, { pathToFileURL: Do } = Ne, db = Hn, hb = !!(Vc && sn), pb = !!(nn && Sc && Ic && Xc), mb = class {
8795
+ let { dirname: nn, relative: Ic, resolve: Sc, sep: Xc } = Ne, { SourceMapConsumer: Vc, SourceMapGenerator: sn } = Ne, { pathToFileURL: Do } = Ne, hb = Hn, pb = !!(Vc && sn), mb = !!(nn && Sc && Ic && Xc), fb = class {
8774
8796
  constructor(e, t, i, n) {
8775
8797
  this.stringify = e, this.mapOpts = i.map || {}, this.root = t, this.opts = i, this.css = n, this.originalCSS = n, this.usesFileUrls = !this.mapOpts.from && this.mapOpts.absolute, this.memoizedFileURLs = /* @__PURE__ */ new Map(), this.memoizedPaths = /* @__PURE__ */ new Map(), this.memoizedURLs = /* @__PURE__ */ new Map();
8776
8798
  }
@@ -8798,7 +8820,7 @@ let { dirname: nn, relative: Ic, resolve: Sc, sep: Xc } = Ne, { SourceMapConsume
8798
8820
  } else this.css && (this.css = this.css.replace(/\n*\/\*#[\S\s]*?\*\/$/gm, ""));
8799
8821
  }
8800
8822
  generate() {
8801
- if (this.clearAnnotation(), pb && hb && this.isMap())
8823
+ if (this.clearAnnotation(), mb && pb && this.isMap())
8802
8824
  return this.generateMap();
8803
8825
  {
8804
8826
  let e = "";
@@ -8881,7 +8903,7 @@ let { dirname: nn, relative: Ic, resolve: Sc, sep: Xc } = Ne, { SourceMapConsume
8881
8903
  }
8882
8904
  });
8883
8905
  else {
8884
- let e = new db(this.originalCSS, this.opts);
8906
+ let e = new hb(this.originalCSS, this.opts);
8885
8907
  e.map && this.previousMaps.push(e.map);
8886
8908
  }
8887
8909
  return this.previousMaps;
@@ -8929,9 +8951,9 @@ let { dirname: nn, relative: Ic, resolve: Sc, sep: Xc } = Ne, { SourceMapConsume
8929
8951
  return this.memoizedURLs.set(e, i), i;
8930
8952
  }
8931
8953
  };
8932
- var Gc = mb;
8933
- const cs = 39, Qo = 34, Fi = 92, jo = 47, Ui = 10, zt = 32, Ki = 12, Mi = 9, Oi = 13, fb = 91, bb = 93, yb = 40, gb = 41, Zb = 123, Ib = 125, Sb = 59, Xb = 42, Vb = 58, Gb = 64, Ei = /[\t\n\f\r "#'()/;[\\\]{}]/g, zi = /[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g, Rb = /.[\r\n"'(/\\]/, Ao = /[\da-f]/i;
8934
- var Cb = function(e, t = {}) {
8954
+ var Gc = fb;
8955
+ const cs = 39, Qo = 34, Fi = 92, jo = 47, Ui = 10, zt = 32, Ki = 12, Mi = 9, Oi = 13, bb = 91, yb = 93, gb = 40, Zb = 41, Ib = 123, Sb = 125, Xb = 59, Vb = 42, Gb = 58, Rb = 64, Ei = /[\t\n\f\r "#'()/;[\\\]{}]/g, zi = /[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g, Cb = /.[\r\n"'(/\\]/, Ao = /[\da-f]/i;
8956
+ var Wb = function(e, t = {}) {
8935
8957
  let i = e.css.valueOf(), n = t.ignoreErrors, s, r, l, o, a, c, u, h, p, m, f = i.length, d = 0, S = [], I = [];
8936
8958
  function V() {
8937
8959
  return d;
@@ -8959,18 +8981,18 @@ var Cb = function(e, t = {}) {
8959
8981
  c = ["space", i.slice(d, o)], d = o - 1;
8960
8982
  break;
8961
8983
  }
8962
- case fb:
8963
8984
  case bb:
8964
- case Zb:
8985
+ case yb:
8965
8986
  case Ib:
8966
- case Vb:
8967
8987
  case Sb:
8968
- case gb: {
8988
+ case Gb:
8989
+ case Xb:
8990
+ case Zb: {
8969
8991
  let g = String.fromCharCode(s);
8970
8992
  c = [g, g, d];
8971
8993
  break;
8972
8994
  }
8973
- case yb: {
8995
+ case gb: {
8974
8996
  if (m = S.length ? S.pop()[1] : "", p = i.charCodeAt(d + 1), m === "url" && p !== cs && p !== Qo && p !== zt && p !== Ui && p !== Mi && p !== Ki && p !== Oi) {
8975
8997
  o = d;
8976
8998
  do {
@@ -8985,7 +9007,7 @@ var Cb = function(e, t = {}) {
8985
9007
  } while (u);
8986
9008
  c = ["brackets", i.slice(d, o + 1), d, o], d = o;
8987
9009
  } else
8988
- o = i.indexOf(")", d + 1), r = i.slice(d, o + 1), o === -1 || Rb.test(r) ? c = ["(", "(", d] : (c = ["brackets", r, d, o], d = o);
9010
+ o = i.indexOf(")", d + 1), r = i.slice(d, o + 1), o === -1 || Cb.test(r) ? c = ["(", "(", d] : (c = ["brackets", r, d, o], d = o);
8989
9011
  break;
8990
9012
  }
8991
9013
  case cs:
@@ -9004,7 +9026,7 @@ var Cb = function(e, t = {}) {
9004
9026
  c = ["string", i.slice(d, o + 1), d, o], d = o;
9005
9027
  break;
9006
9028
  }
9007
- case Gb: {
9029
+ case Rb: {
9008
9030
  Ei.lastIndex = d + 1, Ei.test(i), Ei.lastIndex === 0 ? o = i.length - 1 : o = Ei.lastIndex - 2, c = ["at-word", i.slice(d, o + 1), d, o], d = o;
9009
9031
  break;
9010
9032
  }
@@ -9020,7 +9042,7 @@ var Cb = function(e, t = {}) {
9020
9042
  break;
9021
9043
  }
9022
9044
  default: {
9023
- s === jo && i.charCodeAt(d + 1) === Xb ? (o = i.indexOf("*/", d + 2) + 1, o === 0 && (n || w ? o = i.length : C("comment")), c = ["comment", i.slice(d, o + 1), d, o], d = o) : (zi.lastIndex = d + 1, zi.test(i), zi.lastIndex === 0 ? o = i.length - 1 : o = zi.lastIndex - 2, c = ["word", i.slice(d, o + 1), d, o], S.push(c), d = o);
9045
+ s === jo && i.charCodeAt(d + 1) === Vb ? (o = i.indexOf("*/", d + 2) + 1, o === 0 && (n || w ? o = i.length : C("comment")), c = ["comment", i.slice(d, o + 1), d, o], d = o) : (zi.lastIndex = d + 1, zi.test(i), zi.lastIndex === 0 ? o = i.length - 1 : o = zi.lastIndex - 2, c = ["word", i.slice(d, o + 1), d, o], S.push(c), d = o);
9024
9046
  break;
9025
9047
  }
9026
9048
  }
@@ -9036,23 +9058,23 @@ var Cb = function(e, t = {}) {
9036
9058
  position: V
9037
9059
  };
9038
9060
  };
9039
- let Wb = Lr, kb = En, vb = zn, wb = Ii, _o = Jr, xb = Cb;
9061
+ let kb = Lr, vb = En, wb = zn, xb = Ii, _o = Jr, Tb = Wb;
9040
9062
  const $o = {
9041
9063
  empty: !0,
9042
9064
  space: !0
9043
9065
  };
9044
- function Tb(e) {
9066
+ function Lb(e) {
9045
9067
  for (let t = e.length - 1; t >= 0; t--) {
9046
9068
  let i = e[t], n = i[3] || i[2];
9047
9069
  if (n) return n;
9048
9070
  }
9049
9071
  }
9050
- let Lb = class {
9072
+ let Nb = class {
9051
9073
  constructor(e) {
9052
- this.input = e, this.root = new wb(), this.current = this.root, this.spaces = "", this.semicolon = !1, this.createTokenizer(), this.root.source = { input: e, start: { column: 1, line: 1, offset: 0 } };
9074
+ this.input = e, this.root = new xb(), this.current = this.root, this.spaces = "", this.semicolon = !1, this.createTokenizer(), this.root.source = { input: e, start: { column: 1, line: 1, offset: 0 } };
9053
9075
  }
9054
9076
  atrule(e) {
9055
- let t = new Wb();
9077
+ let t = new kb();
9056
9078
  t.name = e[1].slice(1), t.name === "" && this.unnamedAtrule(t, e), this.init(t, e[2]);
9057
9079
  let i, n, s, r = !1, l = !1, o = [], a = [];
9058
9080
  for (; !this.tokenizer.endOfFile(); ) {
@@ -9109,7 +9131,7 @@ let Lb = class {
9109
9131
  return !1;
9110
9132
  }
9111
9133
  comment(e) {
9112
- let t = new kb();
9134
+ let t = new vb();
9113
9135
  this.init(t, e[2]), t.source.end = this.getPosition(e[3] || e[2]), t.source.end.offset++;
9114
9136
  let i = e[1].slice(2, -2);
9115
9137
  if (/^\s*$/.test(i))
@@ -9120,14 +9142,14 @@ let Lb = class {
9120
9142
  }
9121
9143
  }
9122
9144
  createTokenizer() {
9123
- this.tokenizer = xb(this.input);
9145
+ this.tokenizer = Tb(this.input);
9124
9146
  }
9125
9147
  decl(e, t) {
9126
- let i = new vb();
9148
+ let i = new wb();
9127
9149
  this.init(i, e[0][2]);
9128
9150
  let n = e[e.length - 1];
9129
9151
  for (n[0] === ";" && (this.semicolon = !0, e.pop()), i.source.end = this.getPosition(
9130
- n[3] || n[2] || Tb(e)
9152
+ n[3] || n[2] || Lb(e)
9131
9153
  ), i.source.end.offset++; e[0][0] !== "word"; )
9132
9154
  e.length === 1 && this.unknownWord(e), i.raws.before += e.shift()[1];
9133
9155
  for (i.source.start = this.getPosition(e[0][2]), i.prop = ""; e.length; ) {
@@ -9343,10 +9365,10 @@ let Lb = class {
9343
9365
  );
9344
9366
  }
9345
9367
  };
9346
- var Nb = Lb;
9347
- let Jb = ut, Yb = Hn, Fb = Nb;
9368
+ var Jb = Nb;
9369
+ let Yb = ut, Fb = Hn, Ub = Jb;
9348
9370
  function Wn(e, t) {
9349
- let i = new Yb(e, t), n = new Fb(i);
9371
+ let i = new Fb(e, t), n = new Ub(i);
9350
9372
  try {
9351
9373
  n.parse();
9352
9374
  } catch (s) {
@@ -9359,7 +9381,7 @@ You tried to parse Less with the standard CSS parser; try again with the postcss
9359
9381
  }
9360
9382
  var Yr = Wn;
9361
9383
  Wn.default = Wn;
9362
- Jb.registerParse(Wn);
9384
+ Yb.registerParse(Wn);
9363
9385
  let tr = class {
9364
9386
  constructor(e, t = {}) {
9365
9387
  if (this.type = "warning", this.text = e, t.node && t.node.source) {
@@ -9378,7 +9400,7 @@ let tr = class {
9378
9400
  };
9379
9401
  var Rc = tr;
9380
9402
  tr.default = tr;
9381
- let Ub = Rc, ir = class {
9403
+ let Kb = Rc, ir = class {
9382
9404
  get content() {
9383
9405
  return this.css;
9384
9406
  }
@@ -9390,7 +9412,7 @@ let Ub = Rc, ir = class {
9390
9412
  }
9391
9413
  warn(e, t = {}) {
9392
9414
  t.plugin || this.lastPlugin && this.lastPlugin.postcssPlugin && (t.plugin = this.lastPlugin.postcssPlugin);
9393
- let i = new Ub(e, t);
9415
+ let i = new Kb(e, t);
9394
9416
  return this.messages.push(i), i;
9395
9417
  }
9396
9418
  warnings() {
@@ -9403,15 +9425,15 @@ let qo = {};
9403
9425
  var Cc = function(e) {
9404
9426
  qo[e] || (qo[e] = !0, typeof console < "u" && console.warn && console.warn(e));
9405
9427
  };
9406
- let Kb = ut, Mb = Nr, Ob = Gc, Eb = Yr, el = Fr, zb = Ii, Hb = Mn, { isClean: Fe, my: Pb } = Zi, Bb = Cc;
9407
- const Db = {
9428
+ let Mb = ut, Ob = Nr, Eb = Gc, zb = Yr, el = Fr, Hb = Ii, Pb = Mn, { isClean: Fe, my: Bb } = Zi, Db = Cc;
9429
+ const Qb = {
9408
9430
  atrule: "AtRule",
9409
9431
  comment: "Comment",
9410
9432
  decl: "Declaration",
9411
9433
  document: "Document",
9412
9434
  root: "Root",
9413
9435
  rule: "Rule"
9414
- }, Qb = {
9436
+ }, jb = {
9415
9437
  AtRule: !0,
9416
9438
  AtRuleExit: !0,
9417
9439
  Comment: !0,
@@ -9428,7 +9450,7 @@ const Db = {
9428
9450
  RootExit: !0,
9429
9451
  Rule: !0,
9430
9452
  RuleExit: !0
9431
- }, jb = {
9453
+ }, Ab = {
9432
9454
  Once: !0,
9433
9455
  postcssPlugin: !0,
9434
9456
  prepare: !0
@@ -9437,7 +9459,7 @@ function Ht(e) {
9437
9459
  return typeof e == "object" && typeof e.then == "function";
9438
9460
  }
9439
9461
  function Wc(e) {
9440
- let t = !1, i = Db[e.type];
9462
+ let t = !1, i = Qb[e.type];
9441
9463
  return e.type === "decl" ? t = e.prop.toLowerCase() : e.type === "atrule" && (t = e.name.toLowerCase()), t && e.append ? [
9442
9464
  i,
9443
9465
  i + "-" + t,
@@ -9493,14 +9515,14 @@ let sr = {}, Lt = class kc {
9493
9515
  else if (i instanceof kc || i instanceof el)
9494
9516
  s = nr(i.root), i.map && (typeof n.map > "u" && (n.map = {}), n.map.inline || (n.map.inline = !1), n.map.prev = i.map);
9495
9517
  else {
9496
- let r = Eb;
9518
+ let r = zb;
9497
9519
  n.syntax && (r = n.syntax.parse), n.parser && (r = n.parser), r.parse && (r = r.parse);
9498
9520
  try {
9499
9521
  s = r(i, n);
9500
9522
  } catch (l) {
9501
9523
  this.processed = !0, this.error = l;
9502
9524
  }
9503
- s && !s[Pb] && Kb.rebuild(s);
9525
+ s && !s[Bb] && Mb.rebuild(s);
9504
9526
  }
9505
9527
  this.result = new el(t, s, n), this.helpers = me(Y({}, sr), { postcss: sr, result: this.result }), this.plugins = this.processor.plugins.map((r) => typeof r == "object" && r.prepare ? Y(Y({}, r), r.prepare(this.result)) : r);
9506
9528
  }
@@ -9540,11 +9562,11 @@ let sr = {}, Lt = class kc {
9540
9562
  for (let i of this.plugins)
9541
9563
  if (typeof i == "object")
9542
9564
  for (let n in i) {
9543
- if (!Qb[n] && /^[A-Z]/.test(n))
9565
+ if (!jb[n] && /^[A-Z]/.test(n))
9544
9566
  throw new Error(
9545
9567
  `Unknown event ${n} in ${i.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`
9546
9568
  );
9547
- if (!jb[n])
9569
+ if (!Ab[n])
9548
9570
  if (typeof i[n] == "object")
9549
9571
  for (let s in i[n])
9550
9572
  s === "*" ? t(i, n, i[n][s]) : t(
@@ -9624,9 +9646,9 @@ let sr = {}, Lt = class kc {
9624
9646
  if (this.error) throw this.error;
9625
9647
  if (this.stringified) return this.result;
9626
9648
  this.stringified = !0, this.sync();
9627
- let t = this.result.opts, i = Hb;
9649
+ let t = this.result.opts, i = Pb;
9628
9650
  t.syntax && (i = t.syntax.stringify), t.stringifier && (i = t.stringifier), i.stringify && (i = i.stringify);
9629
- let n = new Ob(i, this.result.root, this.result.opts).generate();
9651
+ let n = new Eb(i, this.result.root, this.result.opts).generate();
9630
9652
  return this.result.css = n[0], this.result.map = n[1], this.result;
9631
9653
  }
9632
9654
  sync() {
@@ -9653,7 +9675,7 @@ let sr = {}, Lt = class kc {
9653
9675
  return this.result;
9654
9676
  }
9655
9677
  then(t, i) {
9656
- return process.env.NODE_ENV !== "production" && ("from" in this.opts || Bb(
9678
+ return process.env.NODE_ENV !== "production" && ("from" in this.opts || Db(
9657
9679
  "Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning."
9658
9680
  )), this.async().then(t, i);
9659
9681
  }
@@ -9735,11 +9757,11 @@ Lt.registerPostcss = (e) => {
9735
9757
  };
9736
9758
  var vc = Lt;
9737
9759
  Lt.default = Lt;
9738
- zb.registerLazyResult(Lt);
9739
- Mb.registerLazyResult(Lt);
9740
- let Ab = Gc, _b = Yr;
9741
- const $b = Fr;
9742
- let qb = Mn, ey = Cc, rr = class {
9760
+ Hb.registerLazyResult(Lt);
9761
+ Ob.registerLazyResult(Lt);
9762
+ let _b = Gc, $b = Yr;
9763
+ const qb = Fr;
9764
+ let ey = Mn, ty = Cc, rr = class {
9743
9765
  get content() {
9744
9766
  return this.result.css;
9745
9767
  }
@@ -9761,7 +9783,7 @@ let qb = Mn, ey = Cc, rr = class {
9761
9783
  get root() {
9762
9784
  if (this._root)
9763
9785
  return this._root;
9764
- let e, t = _b;
9786
+ let e, t = $b;
9765
9787
  try {
9766
9788
  e = t(this._css, this._opts);
9767
9789
  } catch (i) {
@@ -9776,15 +9798,15 @@ let qb = Mn, ey = Cc, rr = class {
9776
9798
  }
9777
9799
  constructor(e, t, i) {
9778
9800
  t = t.toString(), this.stringified = !1, this._processor = e, this._css = t, this._opts = i, this._map = void 0;
9779
- let n, s = qb;
9780
- this.result = new $b(this._processor, n, this._opts), this.result.css = t;
9801
+ let n, s = ey;
9802
+ this.result = new qb(this._processor, n, this._opts), this.result.css = t;
9781
9803
  let r = this;
9782
9804
  Object.defineProperty(this.result, "root", {
9783
9805
  get() {
9784
9806
  return r.root;
9785
9807
  }
9786
9808
  });
9787
- let l = new Ab(s, n, this._opts, t);
9809
+ let l = new _b(s, n, this._opts, t);
9788
9810
  if (l.isMap()) {
9789
9811
  let [o, a] = l.generate();
9790
9812
  o && (this.result.css = o), a && (this.result.map = a);
@@ -9805,7 +9827,7 @@ let qb = Mn, ey = Cc, rr = class {
9805
9827
  return this.result;
9806
9828
  }
9807
9829
  then(e, t) {
9808
- return process.env.NODE_ENV !== "production" && ("from" in this._opts || ey(
9830
+ return process.env.NODE_ENV !== "production" && ("from" in this._opts || ty(
9809
9831
  "Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning."
9810
9832
  )), this.async().then(e, t);
9811
9833
  }
@@ -9816,9 +9838,9 @@ let qb = Mn, ey = Cc, rr = class {
9816
9838
  return [];
9817
9839
  }
9818
9840
  };
9819
- var ty = rr;
9841
+ var iy = rr;
9820
9842
  rr.default = rr;
9821
- let iy = Nr, ny = vc, sy = ty, ry = Ii, mi = class {
9843
+ let ny = Nr, sy = vc, ry = iy, oy = Ii, mi = class {
9822
9844
  constructor(e = []) {
9823
9845
  this.version = "8.5.6", this.plugins = this.normalize(e);
9824
9846
  }
@@ -9841,17 +9863,17 @@ let iy = Nr, ny = vc, sy = ty, ry = Ii, mi = class {
9841
9863
  return t;
9842
9864
  }
9843
9865
  process(e, t = {}) {
9844
- return !this.plugins.length && !t.parser && !t.stringifier && !t.syntax ? new sy(this, e, t) : new ny(this, e, t);
9866
+ return !this.plugins.length && !t.parser && !t.stringifier && !t.syntax ? new ry(this, e, t) : new sy(this, e, t);
9845
9867
  }
9846
9868
  use(e) {
9847
9869
  return this.plugins = this.plugins.concat(this.normalize([e])), this;
9848
9870
  }
9849
9871
  };
9850
- var oy = mi;
9872
+ var ly = mi;
9851
9873
  mi.default = mi;
9852
- ry.registerProcessor(mi);
9853
- iy.registerProcessor(mi);
9854
- let wc = Lr, xc = En, ly = ut, ay = wr, Tc = zn, Lc = Nr, cy = ub, uy = Hn, dy = vc, hy = gc, py = On, my = Yr, Ur = oy, fy = Fr, Nc = Ii, Jc = Jr, by = Mn, yy = Rc;
9874
+ oy.registerProcessor(mi);
9875
+ ny.registerProcessor(mi);
9876
+ let wc = Lr, xc = En, ay = ut, cy = wr, Tc = zn, Lc = Nr, uy = db, dy = Hn, hy = vc, py = gc, my = On, fy = Yr, Ur = ly, by = Fr, Nc = Ii, Jc = Jr, yy = Mn, gy = Rc;
9855
9877
  function ee(...e) {
9856
9878
  return e.length === 1 && Array.isArray(e[0]) && (e = e[0]), new Ur(e);
9857
9879
  }
@@ -9877,30 +9899,30 @@ https://www.w3ctech.com/topic/2226`
9877
9899
  return ee([n(o)]).process(r, l);
9878
9900
  }, n;
9879
9901
  };
9880
- ee.stringify = by;
9881
- ee.parse = my;
9882
- ee.fromJSON = cy;
9883
- ee.list = hy;
9902
+ ee.stringify = yy;
9903
+ ee.parse = fy;
9904
+ ee.fromJSON = uy;
9905
+ ee.list = py;
9884
9906
  ee.comment = (e) => new xc(e);
9885
9907
  ee.atRule = (e) => new wc(e);
9886
9908
  ee.decl = (e) => new Tc(e);
9887
9909
  ee.rule = (e) => new Jc(e);
9888
9910
  ee.root = (e) => new Nc(e);
9889
9911
  ee.document = (e) => new Lc(e);
9890
- ee.CssSyntaxError = ay;
9912
+ ee.CssSyntaxError = cy;
9891
9913
  ee.Declaration = Tc;
9892
- ee.Container = ly;
9914
+ ee.Container = ay;
9893
9915
  ee.Processor = Ur;
9894
9916
  ee.Document = Lc;
9895
9917
  ee.Comment = xc;
9896
- ee.Warning = yy;
9918
+ ee.Warning = gy;
9897
9919
  ee.AtRule = wc;
9898
- ee.Result = fy;
9899
- ee.Input = uy;
9920
+ ee.Result = by;
9921
+ ee.Input = dy;
9900
9922
  ee.Rule = Jc;
9901
9923
  ee.Root = Nc;
9902
- ee.Node = py;
9903
- dy.registerPostcss(ee);
9924
+ ee.Node = my;
9925
+ hy.registerPostcss(ee);
9904
9926
  ee.default = ee;
9905
9927
  class Kr {
9906
9928
  // eslint-disable-next-line @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any
@@ -9951,7 +9973,7 @@ const Hi = /* @__PURE__ */ new Map(), il = /* @__PURE__ */ new WeakSet();
9951
9973
  function nl(e) {
9952
9974
  return e !== null && typeof e == "object" && "complete" in e && "naturalWidth" in e && "naturalHeight" in e && "src" in e && "onload" in e;
9953
9975
  }
9954
- function gy(e) {
9976
+ function Zy(e) {
9955
9977
  if (il.has(e))
9956
9978
  return;
9957
9979
  il.add(e);
@@ -9991,7 +10013,7 @@ const sl = {
9991
10013
  ShadowRoot: ["getSelection"],
9992
10014
  Element: [],
9993
10015
  MutationObserver: ["constructor"]
9994
- }, Pi = {}, Zy = () => !!globalThis.Zone;
10016
+ }, Pi = {}, Iy = () => !!globalThis.Zone;
9995
10017
  function Mr(e) {
9996
10018
  if (Pi[e])
9997
10019
  return Pi[e];
@@ -10008,7 +10030,7 @@ function Mr(e) {
10008
10030
  return typeof i[o] == "function" && ((a = i[o]) == null ? void 0 : a.toString().includes("[native code]"));
10009
10031
  }
10010
10032
  ));
10011
- if (s && l && !Zy())
10033
+ if (s && l && !Iy())
10012
10034
  return Pi[e] = t.prototype, t.prototype;
10013
10035
  try {
10014
10036
  const o = document.createElement("iframe");
@@ -10045,37 +10067,37 @@ function Yc(e, t, i) {
10045
10067
  const s = Mr(e)[i];
10046
10068
  return typeof s != "function" ? t[i] : (ds[n] = s, s.bind(t));
10047
10069
  }
10048
- function Iy(e) {
10070
+ function Sy(e) {
10049
10071
  return et("Node", e, "childNodes");
10050
10072
  }
10051
- function Sy(e) {
10073
+ function Xy(e) {
10052
10074
  return et("Node", e, "parentNode");
10053
10075
  }
10054
- function Xy(e) {
10076
+ function Vy(e) {
10055
10077
  return et("Node", e, "parentElement");
10056
10078
  }
10057
- function Vy(e) {
10079
+ function Gy(e) {
10058
10080
  return et("Node", e, "textContent");
10059
10081
  }
10060
- function Gy(e, t) {
10082
+ function Ry(e, t) {
10061
10083
  return Yc("Node", e, "contains")(t);
10062
10084
  }
10063
- function Ry(e) {
10085
+ function Cy(e) {
10064
10086
  return Yc("Node", e, "getRootNode")();
10065
10087
  }
10066
- function Cy(e) {
10088
+ function Wy(e) {
10067
10089
  return !e || !("host" in e) ? null : et("ShadowRoot", e, "host");
10068
10090
  }
10069
- function Wy(e) {
10091
+ function ky(e) {
10070
10092
  return e.styleSheets;
10071
10093
  }
10072
- function ky(e) {
10094
+ function vy(e) {
10073
10095
  return !e || !("shadowRoot" in e) ? null : et("Element", e, "shadowRoot");
10074
10096
  }
10075
- function vy(e, t) {
10097
+ function wy(e, t) {
10076
10098
  return et("Element", e, "querySelector")(t);
10077
10099
  }
10078
- function wy(e, t) {
10100
+ function xy(e, t) {
10079
10101
  return et("Element", e, "querySelectorAll")(t);
10080
10102
  }
10081
10103
  function Fc() {
@@ -10101,20 +10123,20 @@ function dt(e, t, i) {
10101
10123
  }
10102
10124
  }
10103
10125
  const H = {
10104
- childNodes: Iy,
10105
- parentNode: Sy,
10106
- parentElement: Xy,
10107
- textContent: Vy,
10108
- contains: Gy,
10109
- getRootNode: Ry,
10110
- host: Cy,
10111
- styleSheets: Wy,
10112
- shadowRoot: ky,
10113
- querySelector: vy,
10114
- querySelectorAll: wy,
10126
+ childNodes: Sy,
10127
+ parentNode: Xy,
10128
+ parentElement: Vy,
10129
+ textContent: Gy,
10130
+ contains: Ry,
10131
+ getRootNode: Cy,
10132
+ host: Wy,
10133
+ styleSheets: ky,
10134
+ shadowRoot: vy,
10135
+ querySelector: wy,
10136
+ querySelectorAll: xy,
10115
10137
  mutationObserver: Fc,
10116
10138
  patch: dt,
10117
- wrapCanvasContextDrawImage: gy
10139
+ wrapCanvasContextDrawImage: Zy
10118
10140
  };
10119
10141
  function Ie(e, t, i = document) {
10120
10142
  const n = { capture: !0 };
@@ -10190,7 +10212,7 @@ function Mc() {
10190
10212
  function Oc(e) {
10191
10213
  return e ? e.nodeType === e.ELEMENT_NODE ? e : H.parentElement(e) : null;
10192
10214
  }
10193
- const xy = (e) => {
10215
+ const Ty = (e) => {
10194
10216
  try {
10195
10217
  if (e instanceof HTMLElement)
10196
10218
  return e.tagName === "CANVAS";
@@ -10213,7 +10235,7 @@ function pe(e, t, i, n) {
10213
10235
  }
10214
10236
  return !!(i && (s.matches(i) || n && s.closest(i) !== null));
10215
10237
  }
10216
- function Ty(e, t) {
10238
+ function Ly(e, t) {
10217
10239
  return t.getId(e) !== -1;
10218
10240
  }
10219
10241
  function hs(e, t, i) {
@@ -10231,7 +10253,7 @@ function Ec(e, t) {
10231
10253
  function or(e) {
10232
10254
  return !!e.changedTouches;
10233
10255
  }
10234
- function Ly(e = window) {
10256
+ function Ny(e = window) {
10235
10257
  "NodeList" in e && !e.NodeList.prototype.forEach && (e.NodeList.prototype.forEach = Array.prototype.forEach), "DOMTokenList" in e && !e.DOMTokenList.prototype.forEach && (e.DOMTokenList.prototype.forEach = Array.prototype.forEach);
10236
10258
  }
10237
10259
  function zc(e, t) {
@@ -10243,7 +10265,7 @@ function Hc(e, t) {
10243
10265
  function lr(e) {
10244
10266
  return e ? e instanceof Kr && "shadowRoot" in e ? !!e.shadowRoot : !!H.shadowRoot(e) : !1;
10245
10267
  }
10246
- class Ny {
10268
+ class Jy {
10247
10269
  constructor() {
10248
10270
  R(this, "id", 1), R(this, "styleIDMap", /* @__PURE__ */ new WeakMap()), R(this, "idStyleMap", /* @__PURE__ */ new Map());
10249
10271
  }
@@ -10277,27 +10299,27 @@ function Pc(e) {
10277
10299
  let i = null;
10278
10300
  return "getRootNode" in e && ((t = H.getRootNode(e)) == null ? void 0 : t.nodeType) === Node.DOCUMENT_FRAGMENT_NODE && H.host(H.getRootNode(e)) && (i = H.host(H.getRootNode(e))), i;
10279
10301
  }
10280
- function Jy(e) {
10302
+ function Yy(e) {
10281
10303
  let t = e, i;
10282
10304
  for (; i = Pc(t); )
10283
10305
  t = i;
10284
10306
  return t;
10285
10307
  }
10286
- function Yy(e) {
10308
+ function Fy(e) {
10287
10309
  const t = e.ownerDocument;
10288
10310
  if (!t) return !1;
10289
- const i = Jy(e);
10311
+ const i = Yy(e);
10290
10312
  return H.contains(t, i);
10291
10313
  }
10292
10314
  function Bc(e) {
10293
10315
  const t = e.ownerDocument;
10294
- return t ? H.contains(t, e) || Yy(e) : !1;
10316
+ return t ? H.contains(t, e) || Fy(e) : !1;
10295
10317
  }
10296
10318
  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 || {}), P = /* @__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))(P || {}), Xe = /* @__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))(Xe || {}), _e = /* @__PURE__ */ ((e) => (e[e.Mouse = 0] = "Mouse", e[e.Pen = 1] = "Pen", e[e.Touch = 2] = "Touch", e))(_e || {}), Nt = /* @__PURE__ */ ((e) => (e[e["2D"] = 0] = "2D", e[e.WebGL = 1] = "WebGL", e[e.WebGL2 = 2] = "WebGL2", e))(Nt || {}), 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 || {}), Dc = /* @__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))(Dc || {});
10297
10319
  function ll(e) {
10298
10320
  return "__ln" in e;
10299
10321
  }
10300
- class Fy {
10322
+ class Uy {
10301
10323
  constructor() {
10302
10324
  R(this, "length", 0), R(this, "head", null), R(this, "tail", null);
10303
10325
  }
@@ -10331,14 +10353,14 @@ class Fy {
10331
10353
  }
10332
10354
  }
10333
10355
  const al = (e, t) => `${e}@${t}`;
10334
- class Uy {
10356
+ class Ky {
10335
10357
  constructor() {
10336
10358
  R(this, "frozen", !1), R(this, "locked", !1), R(this, "texts", []), R(this, "attributes", []), R(this, "attributeMap", /* @__PURE__ */ new WeakMap()), R(this, "removes", []), R(this, "mapRemoves", []), R(this, "movedMap", {}), R(this, "addedSet", /* @__PURE__ */ new Set()), R(this, "movedSet", /* @__PURE__ */ new Set()), R(this, "droppedSet", /* @__PURE__ */ new Set()), R(this, "removesSubTreeCache", /* @__PURE__ */ new Set()), R(this, "mutationCb"), R(this, "blockClass"), R(this, "blockSelector"), R(this, "maskTextClass"), R(this, "maskTextSelector"), R(this, "inlineStylesheet"), R(this, "maskInputOptions"), R(this, "maskTextFn"), R(this, "maskInputFn"), R(this, "keepIframeSrcFn"), R(this, "recordCanvas"), R(this, "inlineImages"), R(this, "inlineVideos"), R(this, "privacySetting"), R(this, "slimDOMOptions"), R(this, "dataURLOptions"), R(this, "doc"), R(this, "mirror"), R(this, "iframeManager"), R(this, "stylesheetManager"), R(this, "shadowDomManager"), R(this, "canvasManager"), R(this, "processedNodeManager"), R(this, "unattachedDoc"), R(this, "processMutations", (t) => {
10337
10359
  t.forEach(this.processMutation), this.emit();
10338
10360
  }), R(this, "emit", () => {
10339
10361
  if (this.frozen || this.locked)
10340
10362
  return;
10341
- const t = [], i = /* @__PURE__ */ new Set(), n = new Fy(), s = (a) => {
10363
+ const t = [], i = /* @__PURE__ */ new Set(), n = new Uy(), s = (a) => {
10342
10364
  let c = a, u = oi;
10343
10365
  for (; u === oi; )
10344
10366
  c = c && c.nextSibling, u = c && this.mirror.getId(c);
@@ -10572,11 +10594,11 @@ class Uy {
10572
10594
  }
10573
10595
  t.addedNodes.forEach((i) => this.genAdds(i, t.target)), t.removedNodes.forEach((i) => {
10574
10596
  const n = this.mirror.getId(i), s = $t(t.target) ? this.mirror.getId(H.host(t.target)) : this.mirror.getId(t.target);
10575
- pe(t.target, this.blockClass, this.blockSelector, !1) || hs(i, this.mirror, this.slimDOMOptions) || !Ty(i, this.mirror) || (this.addedSet.has(i) ? (ar(this.addedSet, i), this.droppedSet.add(i)) : this.addedSet.has(t.target) && n === -1 || Ec(t.target, this.mirror) || (this.movedSet.has(i) && this.movedMap[al(n, s)] ? ar(this.movedSet, i) : (this.removes.push({
10597
+ pe(t.target, this.blockClass, this.blockSelector, !1) || hs(i, this.mirror, this.slimDOMOptions) || !Ly(i, this.mirror) || (this.addedSet.has(i) ? (ar(this.addedSet, i), this.droppedSet.add(i)) : this.addedSet.has(t.target) && n === -1 || Ec(t.target, this.mirror) || (this.movedSet.has(i) && this.movedMap[al(n, s)] ? ar(this.movedSet, i) : (this.removes.push({
10576
10598
  parentId: s,
10577
10599
  id: n,
10578
10600
  isShadow: $t(t.target) && qt(t.target) ? !0 : void 0
10579
- }), Ky(i, this.removesSubTreeCache))), this.mapRemoves.push(i));
10601
+ }), My(i, this.removesSubTreeCache))), this.mapRemoves.push(i));
10580
10602
  });
10581
10603
  break;
10582
10604
  }
@@ -10648,7 +10670,7 @@ class Uy {
10648
10670
  function ar(e, t) {
10649
10671
  e.delete(t), H.childNodes(t).forEach((i) => ar(e, i));
10650
10672
  }
10651
- function Ky(e, t) {
10673
+ function My(e, t) {
10652
10674
  const i = [e];
10653
10675
  for (; i.length; ) {
10654
10676
  const n = i.pop();
@@ -10656,9 +10678,9 @@ function Ky(e, t) {
10656
10678
  }
10657
10679
  }
10658
10680
  function cl(e, t, i) {
10659
- return e.size === 0 ? !1 : My(e, t);
10681
+ return e.size === 0 ? !1 : Oy(e, t);
10660
10682
  }
10661
- function My(e, t, i) {
10683
+ function Oy(e, t, i) {
10662
10684
  const n = H.parentNode(t);
10663
10685
  return n ? e.has(n) : !1;
10664
10686
  }
@@ -10670,10 +10692,10 @@ function Qc(e, t) {
10670
10692
  return i ? e.has(i) ? !0 : Qc(e, i) : !1;
10671
10693
  }
10672
10694
  let ei;
10673
- function Oy(e) {
10695
+ function Ey(e) {
10674
10696
  ei = e;
10675
10697
  }
10676
- function Ey() {
10698
+ function zy() {
10677
10699
  ei = void 0;
10678
10700
  }
10679
10701
  const B = (e) => ei ? (...t) => {
@@ -10698,7 +10720,7 @@ function Si(e) {
10698
10720
  return e && e.target;
10699
10721
  }
10700
10722
  function jc(e, t) {
10701
- const i = new Uy();
10723
+ const i = new Ky();
10702
10724
  rt.push(i), i.init(e);
10703
10725
  const n = new (Fc())(
10704
10726
  B(i.processMutations.bind(i))
@@ -10712,7 +10734,7 @@ function jc(e, t) {
10712
10734
  subtree: !0
10713
10735
  }), n;
10714
10736
  }
10715
- function zy({
10737
+ function Hy({
10716
10738
  mousemoveCb: e,
10717
10739
  sampling: t,
10718
10740
  doc: i,
@@ -10761,7 +10783,7 @@ function zy({
10761
10783
  u.forEach((h) => h());
10762
10784
  });
10763
10785
  }
10764
- function Hy({
10786
+ function Py({
10765
10787
  mouseInteractionCb: e,
10766
10788
  doc: t,
10767
10789
  mirror: i,
@@ -10777,7 +10799,7 @@ function Hy({
10777
10799
  const c = (u) => (h) => {
10778
10800
  const p = Si(h);
10779
10801
  if (pe(p, n, s, !0) || // We ignore canvas elements for rage click detection because we cannot infer what inside the canvas is getting interacted with.
10780
- xy(p))
10802
+ Ty(p))
10781
10803
  return;
10782
10804
  let m = null, f = u;
10783
10805
  if ("pointerType" in h) {
@@ -10863,7 +10885,7 @@ function Ac({
10863
10885
  );
10864
10886
  return Ie("scroll", l, t);
10865
10887
  }
10866
- function Py({ viewportResizeCb: e }, { win: t }) {
10888
+ function By({ viewportResizeCb: e }, { win: t }) {
10867
10889
  let i = -1, n = -1;
10868
10890
  const s = B(
10869
10891
  fi(
@@ -10879,8 +10901,8 @@ function Py({ viewportResizeCb: e }, { win: t }) {
10879
10901
  );
10880
10902
  return Ie("resize", s, t);
10881
10903
  }
10882
- const By = ["INPUT", "TEXTAREA", "SELECT"], dl = /* @__PURE__ */ new WeakMap();
10883
- function Dy({
10904
+ const Dy = ["INPUT", "TEXTAREA", "SELECT"], dl = /* @__PURE__ */ new WeakMap();
10905
+ function Qy({
10884
10906
  inputCb: e,
10885
10907
  doc: t,
10886
10908
  mirror: i,
@@ -10896,7 +10918,7 @@ function Dy({
10896
10918
  function h(I) {
10897
10919
  let V = Si(I);
10898
10920
  const C = I.isTrusted, G = V && V.tagName;
10899
- if (V && G === "OPTION" && (V = H.parentElement(V)), !V || !G || By.indexOf(G) < 0 || pe(V, n, s, !0) || V.classList.contains(r) || l && V.matches(l))
10921
+ if (V && G === "OPTION" && (V = H.parentElement(V)), !V || !G || Dy.indexOf(G) < 0 || pe(V, n, s, !0) || V.classList.contains(r) || l && V.matches(l))
10900
10922
  return;
10901
10923
  let X = V.value, k = !1;
10902
10924
  const v = bn(V) || "", w = V.getAttribute("data-hl-record");
@@ -11002,7 +11024,7 @@ function $e(e, t, i) {
11002
11024
  id: n
11003
11025
  }) : {};
11004
11026
  }
11005
- function Qy({ styleSheetRuleCb: e, mirror: t, stylesheetManager: i }, { win: n }) {
11027
+ function jy({ styleSheetRuleCb: e, mirror: t, stylesheetManager: i }, { win: n }) {
11006
11028
  if (!n.CSSStyleSheet || !n.CSSStyleSheet.prototype)
11007
11029
  return () => {
11008
11030
  };
@@ -11182,7 +11204,7 @@ function _c({
11182
11204
  });
11183
11205
  }));
11184
11206
  }
11185
- function jy({
11207
+ function Ay({
11186
11208
  styleDeclarationCb: e,
11187
11209
  mirror: t,
11188
11210
  ignoreCSSAttributes: i,
@@ -11243,7 +11265,7 @@ function jy({
11243
11265
  s.CSSStyleDeclaration.prototype.setProperty = r, s.CSSStyleDeclaration.prototype.removeProperty = l;
11244
11266
  });
11245
11267
  }
11246
- function Ay({
11268
+ function _y({
11247
11269
  mediaInteractionCb: e,
11248
11270
  blockClass: t,
11249
11271
  blockSelector: i,
@@ -11281,7 +11303,7 @@ function Ay({
11281
11303
  o.forEach((a) => a());
11282
11304
  });
11283
11305
  }
11284
- function _y({ fontCb: e, doc: t }) {
11306
+ function $y({ fontCb: e, doc: t }) {
11285
11307
  const i = t.defaultView;
11286
11308
  if (!i)
11287
11309
  return () => {
@@ -11321,7 +11343,7 @@ function _y({ fontCb: e, doc: t }) {
11321
11343
  n.forEach((o) => o());
11322
11344
  });
11323
11345
  }
11324
- function $y(e) {
11346
+ function qy(e) {
11325
11347
  const { doc: t, mirror: i, blockClass: n, blockSelector: s, selectionCb: r } = e;
11326
11348
  let l = !0;
11327
11349
  const o = B(() => {
@@ -11342,7 +11364,7 @@ function $y(e) {
11342
11364
  });
11343
11365
  return o(), Ie("selectionchange", o);
11344
11366
  }
11345
- function qy({
11367
+ function eg({
11346
11368
  doc: e,
11347
11369
  customElementCb: t
11348
11370
  }) {
@@ -11367,7 +11389,7 @@ function qy({
11367
11389
  }
11368
11390
  );
11369
11391
  }
11370
- function eg(e, t) {
11392
+ function tg(e, t) {
11371
11393
  const {
11372
11394
  mutationCb: i,
11373
11395
  mousemoveCb: n,
@@ -11411,26 +11433,26 @@ function eg(e, t) {
11411
11433
  t.customElement && t.customElement(...d), f(...d);
11412
11434
  };
11413
11435
  }
11414
- function tg(e, t = {}) {
11436
+ function ig(e, t = {}) {
11415
11437
  const i = e.doc.defaultView;
11416
11438
  if (!i)
11417
11439
  return () => {
11418
11440
  };
11419
- eg(e, t);
11441
+ tg(e, t);
11420
11442
  let n;
11421
11443
  e.recordDOM && (n = jc(e, e.doc));
11422
- const s = zy(e), r = Hy(e), l = Ac(e), o = Py(e, {
11444
+ const s = Hy(e), r = Py(e), l = Ac(e), o = By(e, {
11423
11445
  win: i
11424
- }), a = Dy(e), c = Ay(e);
11446
+ }), a = Qy(e), c = _y(e);
11425
11447
  let u = () => {
11426
11448
  }, h = () => {
11427
11449
  }, p = () => {
11428
11450
  }, m = () => {
11429
11451
  };
11430
- e.recordDOM && (u = Qy(e, { win: i }), h = _c(e, e.doc), p = jy(e, {
11452
+ e.recordDOM && (u = jy(e, { win: i }), h = _c(e, e.doc), p = Ay(e, {
11431
11453
  win: i
11432
- }), e.collectFonts && (m = _y(e)));
11433
- const f = $y(e), d = qy(e), S = [];
11454
+ }), e.collectFonts && (m = $y(e)));
11455
+ const f = qy(e), d = eg(e), S = [];
11434
11456
  for (const I of e.plugins)
11435
11457
  S.push(
11436
11458
  I.observer(I.callback, i, I.options)
@@ -11486,7 +11508,7 @@ class hl {
11486
11508
  return i || (i = /* @__PURE__ */ new Map(), this.iframeRemoteIdToIdMap.set(t, i)), i;
11487
11509
  }
11488
11510
  }
11489
- class ig {
11511
+ class ng {
11490
11512
  constructor(t) {
11491
11513
  R(this, "iframes", /* @__PURE__ */ new WeakMap()), R(this, "crossOriginIframeMap", /* @__PURE__ */ new WeakMap()), R(this, "crossOriginIframeMirror", new hl(ha)), R(this, "crossOriginIframeStyleMirror"), R(this, "crossOriginIframeRootIdMap", /* @__PURE__ */ new WeakMap()), R(this, "mirror"), R(this, "mutationCb"), R(this, "wrappedEmit"), R(this, "loadListener"), R(this, "stylesheetManager"), R(this, "recordCrossOriginIframes"), this.mutationCb = t.mutationCb, this.wrappedEmit = t.wrappedEmit, this.stylesheetManager = t.stylesheetManager, this.recordCrossOriginIframes = t.recordCrossOriginIframes, this.crossOriginIframeStyleMirror = new hl(
11492
11514
  this.stylesheetManager.styleMirror.generateId.bind(
@@ -11651,7 +11673,7 @@ class ig {
11651
11673
  });
11652
11674
  }
11653
11675
  }
11654
- class ng {
11676
+ class sg {
11655
11677
  constructor(t) {
11656
11678
  R(this, "shadowDoms", /* @__PURE__ */ new WeakSet()), R(this, "mutationCb"), R(this, "scrollCb"), R(this, "bypassOptions"), R(this, "mirror"), R(this, "restoreHandlers", []), this.mutationCb = t.mutationCb, this.scrollCb = t.scrollCb, this.bypassOptions = t.bypassOptions, this.mirror = t.mirror, this.init();
11657
11679
  }
@@ -11729,24 +11751,24 @@ class ng {
11729
11751
  }), this.restoreHandlers = [], this.shadowDoms = /* @__PURE__ */ new WeakSet();
11730
11752
  }
11731
11753
  }
11732
- var Xt = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", sg = typeof Uint8Array > "u" ? [] : new Uint8Array(256);
11754
+ var Xt = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", rg = typeof Uint8Array > "u" ? [] : new Uint8Array(256);
11733
11755
  for (var Qi = 0; Qi < Xt.length; Qi++)
11734
- sg[Xt.charCodeAt(Qi)] = Qi;
11735
- var rg = function(e) {
11756
+ rg[Xt.charCodeAt(Qi)] = Qi;
11757
+ var og = function(e) {
11736
11758
  var t = new Uint8Array(e), i, n = t.length, s = "";
11737
11759
  for (i = 0; i < n; i += 3)
11738
11760
  s += Xt[t[i] >> 2], s += Xt[(t[i] & 3) << 4 | t[i + 1] >> 4], s += Xt[(t[i + 1] & 15) << 2 | t[i + 2] >> 6], s += Xt[t[i + 2] & 63];
11739
11761
  return n % 3 === 2 ? s = s.substring(0, s.length - 1) + "=" : n % 3 === 1 && (s = s.substring(0, s.length - 2) + "=="), s;
11740
11762
  };
11741
11763
  const pl = /* @__PURE__ */ new Map();
11742
- function og(e, t) {
11764
+ function lg(e, t) {
11743
11765
  let i = pl.get(e);
11744
11766
  return i || (i = /* @__PURE__ */ new Map(), pl.set(e, i)), i.has(t) || i.set(t, []), i.get(t);
11745
11767
  }
11746
11768
  const $c = (e, t, i) => {
11747
11769
  if (!e || !(eu(e, t) || typeof e == "object"))
11748
11770
  return;
11749
- const n = e.constructor.name, s = og(i, n);
11771
+ const n = e.constructor.name, s = lg(i, n);
11750
11772
  let r = s.indexOf(e);
11751
11773
  return r === -1 && (r = s.length, s.push(e)), r;
11752
11774
  };
@@ -11766,7 +11788,7 @@ function rn(e, t, i) {
11766
11788
  // value instanceof SharedArrayBuffer ||
11767
11789
  e instanceof ArrayBuffer
11768
11790
  ) {
11769
- const n = e.constructor.name, s = rg(e);
11791
+ const n = e.constructor.name, s = og(e);
11770
11792
  return {
11771
11793
  rr_type: n,
11772
11794
  base64: s
@@ -11828,7 +11850,7 @@ const qc = (e, t, i) => e.map((n) => rn(n, t, i)), eu = (e, t) => !![
11828
11850
  ).find(
11829
11851
  (i) => e instanceof t[i]
11830
11852
  );
11831
- function lg(e, t, i, n) {
11853
+ function ag(e, t, i, n) {
11832
11854
  const s = [], r = Object.getOwnPropertyNames(
11833
11855
  t.CanvasRenderingContext2D.prototype
11834
11856
  );
@@ -11874,7 +11896,7 @@ function lg(e, t, i, n) {
11874
11896
  s.forEach((l) => l());
11875
11897
  };
11876
11898
  }
11877
- function ag(e) {
11899
+ function cg(e) {
11878
11900
  return e === "experimental-webgl" ? "webgl" : e;
11879
11901
  }
11880
11902
  function ml(e, t, i, n) {
@@ -11886,7 +11908,7 @@ function ml(e, t, i, n) {
11886
11908
  function(l) {
11887
11909
  return function(o, ...a) {
11888
11910
  if (!pe(this, t, i, !0)) {
11889
- const c = ag(o);
11911
+ const c = cg(o);
11890
11912
  if ("__context" in this || (this.__context = c), n && ["webgl", "webgl2"].includes(c))
11891
11913
  if (a[0] && typeof a[0] == "object") {
11892
11914
  const u = a[0];
@@ -11962,7 +11984,7 @@ function fl(e, t, i, n, s, r) {
11962
11984
  }
11963
11985
  return l;
11964
11986
  }
11965
- function cg(e, t, i, n) {
11987
+ function ug(e, t, i, n) {
11966
11988
  const s = [];
11967
11989
  return s.push(
11968
11990
  ...fl(
@@ -11986,8 +12008,8 @@ function cg(e, t, i, n) {
11986
12008
  s.forEach((r) => r());
11987
12009
  };
11988
12010
  }
11989
- const tu = "KGZ1bmN0aW9uKCkgewogICJ1c2Ugc3RyaWN0IjsKICB2YXIgY2hhcnMgPSAiQUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVphYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5ejAxMjM0NTY3ODkrLyI7CiAgdmFyIGxvb2t1cCA9IHR5cGVvZiBVaW50OEFycmF5ID09PSAidW5kZWZpbmVkIiA/IFtdIDogbmV3IFVpbnQ4QXJyYXkoMjU2KTsKICBmb3IgKHZhciBpID0gMDsgaSA8IGNoYXJzLmxlbmd0aDsgaSsrKSB7CiAgICBsb29rdXBbY2hhcnMuY2hhckNvZGVBdChpKV0gPSBpOwogIH0KICB2YXIgZW5jb2RlID0gZnVuY3Rpb24oYXJyYXlidWZmZXIpIHsKICAgIHZhciBieXRlcyA9IG5ldyBVaW50OEFycmF5KGFycmF5YnVmZmVyKSwgaTIsIGxlbiA9IGJ5dGVzLmxlbmd0aCwgYmFzZTY0ID0gIiI7CiAgICBmb3IgKGkyID0gMDsgaTIgPCBsZW47IGkyICs9IDMpIHsKICAgICAgYmFzZTY0ICs9IGNoYXJzW2J5dGVzW2kyXSA+PiAyXTsKICAgICAgYmFzZTY0ICs9IGNoYXJzWyhieXRlc1tpMl0gJiAzKSA8PCA0IHwgYnl0ZXNbaTIgKyAxXSA+PiA0XTsKICAgICAgYmFzZTY0ICs9IGNoYXJzWyhieXRlc1tpMiArIDFdICYgMTUpIDw8IDIgfCBieXRlc1tpMiArIDJdID4+IDZdOwogICAgICBiYXNlNjQgKz0gY2hhcnNbYnl0ZXNbaTIgKyAyXSAmIDYzXTsKICAgIH0KICAgIGlmIChsZW4gJSAzID09PSAyKSB7CiAgICAgIGJhc2U2NCA9IGJhc2U2NC5zdWJzdHJpbmcoMCwgYmFzZTY0Lmxlbmd0aCAtIDEpICsgIj0iOwogICAgfSBlbHNlIGlmIChsZW4gJSAzID09PSAxKSB7CiAgICAgIGJhc2U2NCA9IGJhc2U2NC5zdWJzdHJpbmcoMCwgYmFzZTY0Lmxlbmd0aCAtIDIpICsgIj09IjsKICAgIH0KICAgIHJldHVybiBiYXNlNjQ7CiAgfTsKICBjb25zdCBsYXN0QmxvYk1hcCA9IC8qIEBfX1BVUkVfXyAqLyBuZXcgTWFwKCk7CiAgY29uc3QgdHJhbnNwYXJlbnRCbG9iTWFwID0gLyogQF9fUFVSRV9fICovIG5ldyBNYXAoKTsKICBhc3luYyBmdW5jdGlvbiBnZXRUcmFuc3BhcmVudEJsb2JGb3Iod2lkdGgsIGhlaWdodCwgZGF0YVVSTE9wdGlvbnMpIHsKICAgIGNvbnN0IGlkID0gYCR7d2lkdGh9LSR7aGVpZ2h0fWA7CiAgICBpZiAoIk9mZnNjcmVlbkNhbnZhcyIgaW4gZ2xvYmFsVGhpcykgewogICAgICBpZiAodHJhbnNwYXJlbnRCbG9iTWFwLmhhcyhpZCkpIHJldHVybiB0cmFuc3BhcmVudEJsb2JNYXAuZ2V0KGlkKTsKICAgICAgY29uc3Qgb2Zmc2NyZWVuID0gbmV3IE9mZnNjcmVlbkNhbnZhcyh3aWR0aCwgaGVpZ2h0KTsKICAgICAgb2Zmc2NyZWVuLmdldENvbnRleHQoIjJkIik7CiAgICAgIGNvbnN0IGJsb2IgPSBhd2FpdCBvZmZzY3JlZW4uY29udmVydFRvQmxvYihkYXRhVVJMT3B0aW9ucyk7CiAgICAgIGNvbnN0IGFycmF5QnVmZmVyID0gYXdhaXQgYmxvYi5hcnJheUJ1ZmZlcigpOwogICAgICBjb25zdCBiYXNlNjQgPSBlbmNvZGUoYXJyYXlCdWZmZXIpOwogICAgICB0cmFuc3BhcmVudEJsb2JNYXAuc2V0KGlkLCBiYXNlNjQpOwogICAgICByZXR1cm4gYmFzZTY0OwogICAgfSBlbHNlIHsKICAgICAgcmV0dXJuICIiOwogICAgfQogIH0KICBjb25zdCB3b3JrZXIgPSBzZWxmOwogIGxldCBsb2dEZWJ1ZyA9IGZhbHNlOwogIGNvbnN0IGRlYnVnID0gKC4uLmFyZ3MpID0+IHsKICAgIGlmIChsb2dEZWJ1ZykgewogICAgICBjb25zb2xlLmRlYnVnKC4uLmFyZ3MpOwogICAgfQogIH07CiAgd29ya2VyLm9ubWVzc2FnZSA9IGFzeW5jIGZ1bmN0aW9uKGUpIHsKICAgIGxvZ0RlYnVnID0gISFlLmRhdGEubG9nRGVidWc7CiAgICBpZiAoIk9mZnNjcmVlbkNhbnZhcyIgaW4gZ2xvYmFsVGhpcykgewogICAgICBjb25zdCB7IGlkLCBiaXRtYXAsIHdpZHRoLCBoZWlnaHQsIGR4LCBkeSwgZHcsIGRoLCBkYXRhVVJMT3B0aW9ucyB9ID0gZS5kYXRhOwogICAgICBjb25zdCB0cmFuc3BhcmVudEJhc2U2NCA9IGdldFRyYW5zcGFyZW50QmxvYkZvcigKICAgICAgICB3aWR0aCwKICAgICAgICBoZWlnaHQsCiAgICAgICAgZGF0YVVSTE9wdGlvbnMKICAgICAgKTsKICAgICAgY29uc3Qgb2Zmc2NyZWVuID0gbmV3IE9mZnNjcmVlbkNhbnZhcyh3aWR0aCwgaGVpZ2h0KTsKICAgICAgY29uc3QgY3R4ID0gb2Zmc2NyZWVuLmdldENvbnRleHQoIjJkIik7CiAgICAgIGN0eC5kcmF3SW1hZ2UoYml0bWFwLCAwLCAwLCB3aWR0aCwgaGVpZ2h0KTsKICAgICAgYml0bWFwLmNsb3NlKCk7CiAgICAgIGNvbnN0IGJsb2IgPSBhd2FpdCBvZmZzY3JlZW4uY29udmVydFRvQmxvYihkYXRhVVJMT3B0aW9ucyk7CiAgICAgIGNvbnN0IHR5cGUgPSBibG9iLnR5cGU7CiAgICAgIGNvbnN0IGFycmF5QnVmZmVyID0gYXdhaXQgYmxvYi5hcnJheUJ1ZmZlcigpOwogICAgICBjb25zdCBiYXNlNjQgPSBlbmNvZGUoYXJyYXlCdWZmZXIpOwogICAgICBpZiAoIWxhc3RCbG9iTWFwLmhhcyhpZCkgJiYgYXdhaXQgdHJhbnNwYXJlbnRCYXNlNjQgPT09IGJhc2U2NCkgewogICAgICAgIGRlYnVnKCJbaGlnaGxpZ2h0LXdvcmtlcl0gY2FudmFzIGJpdG1hcCBpcyB0cmFuc3BhcmVudCIsIHsKICAgICAgICAgIGlkLAogICAgICAgICAgYmFzZTY0CiAgICAgICAgfSk7CiAgICAgICAgbGFzdEJsb2JNYXAuc2V0KGlkLCBiYXNlNjQpOwogICAgICAgIHJldHVybiB3b3JrZXIucG9zdE1lc3NhZ2UoeyBpZCwgc3RhdHVzOiAidHJhbnNwYXJlbnQiIH0pOwogICAgICB9CiAgICAgIGlmIChsYXN0QmxvYk1hcC5nZXQoaWQpID09PSBiYXNlNjQpIHsKICAgICAgICBkZWJ1ZygiW2hpZ2hsaWdodC13b3JrZXJdIGNhbnZhcyBiaXRtYXAgaXMgdW5jaGFuZ2VkIiwgewogICAgICAgICAgaWQsCiAgICAgICAgICBiYXNlNjQKICAgICAgICB9KTsKICAgICAgfQogICAgICBjb25zdCBtc2cgPSB7CiAgICAgICAgaWQsCiAgICAgICAgdHlwZSwKICAgICAgICBiYXNlNjQsCiAgICAgICAgd2lkdGgsCiAgICAgICAgaGVpZ2h0LAogICAgICAgIGR4LAogICAgICAgIGR5LAogICAgICAgIGR3LAogICAgICAgIGRoCiAgICAgIH07CiAgICAgIGRlYnVnKCJbaGlnaGxpZ2h0LXdvcmtlcl0gY2FudmFzIGJpdG1hcCBwcm9jZXNzZWQiLCBtc2cpOwogICAgICB3b3JrZXIucG9zdE1lc3NhZ2UobXNnKTsKICAgICAgbGFzdEJsb2JNYXAuc2V0KGlkLCBiYXNlNjQpOwogICAgfSBlbHNlIHsKICAgICAgZGVidWcoIltoaWdobGlnaHQtd29ya2VyXSBubyBvZmZzY3JlZW5jYW52YXMgc3VwcG9ydCIsIHsKICAgICAgICBpZDogZS5kYXRhLmlkCiAgICAgIH0pOwogICAgICByZXR1cm4gd29ya2VyLnBvc3RNZXNzYWdlKHsgaWQ6IGUuZGF0YS5pZCwgc3RhdHVzOiAidW5zdXBwb3J0ZWQiIH0pOwogICAgfQogIH07Cn0pKCk7Ci8vIyBzb3VyY2VNYXBwaW5nVVJMPWltYWdlLWJpdG1hcC1kYXRhLXVybC13b3JrZXItRHd0SzhBMHouanMubWFwCg==", ug = (e) => Uint8Array.from(atob(e), (t) => t.charCodeAt(0)), bl = typeof self < "u" && self.Blob && new Blob([ug(tu)], { type: "text/javascript;charset=utf-8" });
11990
- function dg(e) {
12011
+ const tu = "KGZ1bmN0aW9uKCkgewogICJ1c2Ugc3RyaWN0IjsKICB2YXIgY2hhcnMgPSAiQUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVphYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5ejAxMjM0NTY3ODkrLyI7CiAgdmFyIGxvb2t1cCA9IHR5cGVvZiBVaW50OEFycmF5ID09PSAidW5kZWZpbmVkIiA/IFtdIDogbmV3IFVpbnQ4QXJyYXkoMjU2KTsKICBmb3IgKHZhciBpID0gMDsgaSA8IGNoYXJzLmxlbmd0aDsgaSsrKSB7CiAgICBsb29rdXBbY2hhcnMuY2hhckNvZGVBdChpKV0gPSBpOwogIH0KICB2YXIgZW5jb2RlID0gZnVuY3Rpb24oYXJyYXlidWZmZXIpIHsKICAgIHZhciBieXRlcyA9IG5ldyBVaW50OEFycmF5KGFycmF5YnVmZmVyKSwgaTIsIGxlbiA9IGJ5dGVzLmxlbmd0aCwgYmFzZTY0ID0gIiI7CiAgICBmb3IgKGkyID0gMDsgaTIgPCBsZW47IGkyICs9IDMpIHsKICAgICAgYmFzZTY0ICs9IGNoYXJzW2J5dGVzW2kyXSA+PiAyXTsKICAgICAgYmFzZTY0ICs9IGNoYXJzWyhieXRlc1tpMl0gJiAzKSA8PCA0IHwgYnl0ZXNbaTIgKyAxXSA+PiA0XTsKICAgICAgYmFzZTY0ICs9IGNoYXJzWyhieXRlc1tpMiArIDFdICYgMTUpIDw8IDIgfCBieXRlc1tpMiArIDJdID4+IDZdOwogICAgICBiYXNlNjQgKz0gY2hhcnNbYnl0ZXNbaTIgKyAyXSAmIDYzXTsKICAgIH0KICAgIGlmIChsZW4gJSAzID09PSAyKSB7CiAgICAgIGJhc2U2NCA9IGJhc2U2NC5zdWJzdHJpbmcoMCwgYmFzZTY0Lmxlbmd0aCAtIDEpICsgIj0iOwogICAgfSBlbHNlIGlmIChsZW4gJSAzID09PSAxKSB7CiAgICAgIGJhc2U2NCA9IGJhc2U2NC5zdWJzdHJpbmcoMCwgYmFzZTY0Lmxlbmd0aCAtIDIpICsgIj09IjsKICAgIH0KICAgIHJldHVybiBiYXNlNjQ7CiAgfTsKICBjb25zdCBsYXN0QmxvYk1hcCA9IC8qIEBfX1BVUkVfXyAqLyBuZXcgTWFwKCk7CiAgY29uc3QgdHJhbnNwYXJlbnRCbG9iTWFwID0gLyogQF9fUFVSRV9fICovIG5ldyBNYXAoKTsKICBhc3luYyBmdW5jdGlvbiBnZXRUcmFuc3BhcmVudEJsb2JGb3Iod2lkdGgsIGhlaWdodCwgZGF0YVVSTE9wdGlvbnMpIHsKICAgIGNvbnN0IGlkID0gYCR7d2lkdGh9LSR7aGVpZ2h0fWA7CiAgICBpZiAoIk9mZnNjcmVlbkNhbnZhcyIgaW4gZ2xvYmFsVGhpcykgewogICAgICBpZiAodHJhbnNwYXJlbnRCbG9iTWFwLmhhcyhpZCkpIHJldHVybiB0cmFuc3BhcmVudEJsb2JNYXAuZ2V0KGlkKTsKICAgICAgY29uc3Qgb2Zmc2NyZWVuID0gbmV3IE9mZnNjcmVlbkNhbnZhcyh3aWR0aCwgaGVpZ2h0KTsKICAgICAgb2Zmc2NyZWVuLmdldENvbnRleHQoIjJkIik7CiAgICAgIGNvbnN0IGJsb2IgPSBhd2FpdCBvZmZzY3JlZW4uY29udmVydFRvQmxvYihkYXRhVVJMT3B0aW9ucyk7CiAgICAgIGNvbnN0IGFycmF5QnVmZmVyID0gYXdhaXQgYmxvYi5hcnJheUJ1ZmZlcigpOwogICAgICBjb25zdCBiYXNlNjQgPSBlbmNvZGUoYXJyYXlCdWZmZXIpOwogICAgICB0cmFuc3BhcmVudEJsb2JNYXAuc2V0KGlkLCBiYXNlNjQpOwogICAgICByZXR1cm4gYmFzZTY0OwogICAgfSBlbHNlIHsKICAgICAgcmV0dXJuICIiOwogICAgfQogIH0KICBjb25zdCB3b3JrZXIgPSBzZWxmOwogIGxldCBsb2dEZWJ1ZyA9IGZhbHNlOwogIGNvbnN0IGRlYnVnID0gKC4uLmFyZ3MpID0+IHsKICAgIGlmIChsb2dEZWJ1ZykgewogICAgICBjb25zb2xlLmRlYnVnKC4uLmFyZ3MpOwogICAgfQogIH07CiAgd29ya2VyLm9ubWVzc2FnZSA9IGFzeW5jIGZ1bmN0aW9uKGUpIHsKICAgIGxvZ0RlYnVnID0gISFlLmRhdGEubG9nRGVidWc7CiAgICBpZiAoIk9mZnNjcmVlbkNhbnZhcyIgaW4gZ2xvYmFsVGhpcykgewogICAgICBjb25zdCB7IGlkLCBiaXRtYXAsIHdpZHRoLCBoZWlnaHQsIGR4LCBkeSwgZHcsIGRoLCBkYXRhVVJMT3B0aW9ucyB9ID0gZS5kYXRhOwogICAgICBjb25zdCB0cmFuc3BhcmVudEJhc2U2NCA9IGdldFRyYW5zcGFyZW50QmxvYkZvcigKICAgICAgICB3aWR0aCwKICAgICAgICBoZWlnaHQsCiAgICAgICAgZGF0YVVSTE9wdGlvbnMKICAgICAgKTsKICAgICAgY29uc3Qgb2Zmc2NyZWVuID0gbmV3IE9mZnNjcmVlbkNhbnZhcyh3aWR0aCwgaGVpZ2h0KTsKICAgICAgY29uc3QgY3R4ID0gb2Zmc2NyZWVuLmdldENvbnRleHQoIjJkIik7CiAgICAgIGN0eC5kcmF3SW1hZ2UoYml0bWFwLCAwLCAwLCB3aWR0aCwgaGVpZ2h0KTsKICAgICAgYml0bWFwLmNsb3NlKCk7CiAgICAgIGNvbnN0IGJsb2IgPSBhd2FpdCBvZmZzY3JlZW4uY29udmVydFRvQmxvYihkYXRhVVJMT3B0aW9ucyk7CiAgICAgIGNvbnN0IHR5cGUgPSBibG9iLnR5cGU7CiAgICAgIGNvbnN0IGFycmF5QnVmZmVyID0gYXdhaXQgYmxvYi5hcnJheUJ1ZmZlcigpOwogICAgICBjb25zdCBiYXNlNjQgPSBlbmNvZGUoYXJyYXlCdWZmZXIpOwogICAgICBpZiAoIWxhc3RCbG9iTWFwLmhhcyhpZCkgJiYgYXdhaXQgdHJhbnNwYXJlbnRCYXNlNjQgPT09IGJhc2U2NCkgewogICAgICAgIGRlYnVnKCJbaGlnaGxpZ2h0LXdvcmtlcl0gY2FudmFzIGJpdG1hcCBpcyB0cmFuc3BhcmVudCIsIHsKICAgICAgICAgIGlkLAogICAgICAgICAgYmFzZTY0CiAgICAgICAgfSk7CiAgICAgICAgbGFzdEJsb2JNYXAuc2V0KGlkLCBiYXNlNjQpOwogICAgICAgIHJldHVybiB3b3JrZXIucG9zdE1lc3NhZ2UoeyBpZCwgc3RhdHVzOiAidHJhbnNwYXJlbnQiIH0pOwogICAgICB9CiAgICAgIGlmIChsYXN0QmxvYk1hcC5nZXQoaWQpID09PSBiYXNlNjQpIHsKICAgICAgICBkZWJ1ZygiW2hpZ2hsaWdodC13b3JrZXJdIGNhbnZhcyBiaXRtYXAgaXMgdW5jaGFuZ2VkIiwgewogICAgICAgICAgaWQsCiAgICAgICAgICBiYXNlNjQKICAgICAgICB9KTsKICAgICAgfQogICAgICBjb25zdCBtc2cgPSB7CiAgICAgICAgaWQsCiAgICAgICAgdHlwZSwKICAgICAgICBiYXNlNjQsCiAgICAgICAgd2lkdGgsCiAgICAgICAgaGVpZ2h0LAogICAgICAgIGR4LAogICAgICAgIGR5LAogICAgICAgIGR3LAogICAgICAgIGRoCiAgICAgIH07CiAgICAgIGRlYnVnKCJbaGlnaGxpZ2h0LXdvcmtlcl0gY2FudmFzIGJpdG1hcCBwcm9jZXNzZWQiLCBtc2cpOwogICAgICB3b3JrZXIucG9zdE1lc3NhZ2UobXNnKTsKICAgICAgbGFzdEJsb2JNYXAuc2V0KGlkLCBiYXNlNjQpOwogICAgfSBlbHNlIHsKICAgICAgZGVidWcoIltoaWdobGlnaHQtd29ya2VyXSBubyBvZmZzY3JlZW5jYW52YXMgc3VwcG9ydCIsIHsKICAgICAgICBpZDogZS5kYXRhLmlkCiAgICAgIH0pOwogICAgICByZXR1cm4gd29ya2VyLnBvc3RNZXNzYWdlKHsgaWQ6IGUuZGF0YS5pZCwgc3RhdHVzOiAidW5zdXBwb3J0ZWQiIH0pOwogICAgfQogIH07Cn0pKCk7Ci8vIyBzb3VyY2VNYXBwaW5nVVJMPWltYWdlLWJpdG1hcC1kYXRhLXVybC13b3JrZXItRHd0SzhBMHouanMubWFwCg==", dg = (e) => Uint8Array.from(atob(e), (t) => t.charCodeAt(0)), bl = typeof self < "u" && self.Blob && new Blob([dg(tu)], { type: "text/javascript;charset=utf-8" });
12012
+ function hg(e) {
11991
12013
  let t;
11992
12014
  try {
11993
12015
  if (t = bl && (self.URL || self.webkitURL).createObjectURL(bl), !t) throw "";
@@ -12008,7 +12030,7 @@ function dg(e) {
12008
12030
  t && (self.URL || self.webkitURL).revokeObjectURL(t);
12009
12031
  }
12010
12032
  }
12011
- class hg {
12033
+ class pg {
12012
12034
  constructor(t) {
12013
12035
  R(this, "pendingCanvasMutations", /* @__PURE__ */ new Map()), R(this, "rafStamps", { latestId: 0, invokeId: null }), R(this, "mirror"), R(this, "logger"), R(this, "worker"), R(this, "snapshotInProgressMap", /* @__PURE__ */ new Map()), R(this, "lastSnapshotTime", /* @__PURE__ */ new Map()), R(this, "options"), R(this, "mutationCb"), R(this, "resetObservers"), R(this, "frozen", !1), R(this, "locked", !1), R(this, "processMutation", (h, p) => {
12014
12036
  (this.rafStamps.invokeId && this.rafStamps.latestId !== this.rafStamps.invokeId || !this.rafStamps.invokeId) && (this.rafStamps.invokeId = this.rafStamps.latestId), this.pendingCanvasMutations.has(h) || this.pendingCanvasMutations.set(h, []), this.pendingCanvasMutations.get(h).push(p);
@@ -12024,7 +12046,7 @@ class hg {
12024
12046
  initialSnapshotDelay: c,
12025
12047
  dataURLOptions: u
12026
12048
  } = t;
12027
- this.mutationCb = t.mutationCb, this.mirror = t.mirror, this.logger = t.logger, this.worker = new dg(), this.worker.onmessage = (h) => {
12049
+ this.mutationCb = t.mutationCb, this.mirror = t.mirror, this.logger = t.logger, this.worker = new hg(), this.worker.onmessage = (h) => {
12028
12050
  const { id: p } = h.data;
12029
12051
  if (this.snapshotInProgressMap.set(p, !1), !("base64" in h.data)) {
12030
12052
  this.debug(null, "canvas worker received empty message", {
@@ -12301,12 +12323,12 @@ class hg {
12301
12323
  i,
12302
12324
  n,
12303
12325
  !1
12304
- ), r = lg(
12326
+ ), r = ag(
12305
12327
  this.processMutation.bind(this),
12306
12328
  t,
12307
12329
  i,
12308
12330
  n
12309
- ), l = cg(
12331
+ ), l = ug(
12310
12332
  this.processMutation.bind(this),
12311
12333
  t,
12312
12334
  i,
@@ -12342,9 +12364,9 @@ class hg {
12342
12364
  this.mutationCb({ id: i, type: r, commands: s }), this.pendingCanvasMutations.delete(t);
12343
12365
  }
12344
12366
  }
12345
- class pg {
12367
+ class mg {
12346
12368
  constructor(t) {
12347
- R(this, "trackedLinkElements", /* @__PURE__ */ new WeakSet()), R(this, "mutationCb"), R(this, "adoptedStyleSheetCb"), R(this, "styleMirror", new Ny()), this.mutationCb = t.mutationCb, this.adoptedStyleSheetCb = t.adoptedStyleSheetCb;
12369
+ R(this, "trackedLinkElements", /* @__PURE__ */ new WeakSet()), R(this, "mutationCb"), R(this, "adoptedStyleSheetCb"), R(this, "styleMirror", new Jy()), this.mutationCb = t.mutationCb, this.adoptedStyleSheetCb = t.adoptedStyleSheetCb;
12348
12370
  }
12349
12371
  attachLinkElement(t, i) {
12350
12372
  "_cssText" in i.attributes && this.mutationCb({
@@ -12387,7 +12409,7 @@ class pg {
12387
12409
  trackStylesheetInLinkElement(t) {
12388
12410
  }
12389
12411
  }
12390
- class mg {
12412
+ class fg {
12391
12413
  constructor() {
12392
12414
  R(this, "nodeMap", /* @__PURE__ */ new WeakMap()), R(this, "active", !1);
12393
12415
  }
@@ -12412,7 +12434,7 @@ try {
12412
12434
  } catch (e) {
12413
12435
  console.debug("Unable to override Array.from", e);
12414
12436
  }
12415
- const Te = lp();
12437
+ const Te = ap();
12416
12438
  function Be(e = {}) {
12417
12439
  var t, i, n, s, r, l, o, a;
12418
12440
  const {
@@ -12450,7 +12472,7 @@ function Be(e = {}) {
12450
12472
  errorHandler: Ce,
12451
12473
  logger: ce
12452
12474
  } = e, ve = Y(Y({}, e.dataURLOptions), (i = (t = e.sampling) == null ? void 0 : t.canvas) == null ? void 0 : i.dataURLOptions);
12453
- Oy(Ce);
12475
+ Ey(Ce);
12454
12476
  const tt = b ? window.parent === window : !0;
12455
12477
  let Me = !1;
12456
12478
  if (!tt)
@@ -12497,7 +12519,7 @@ function Be(e = {}) {
12497
12519
  headMetaDescKeywords: X === "all",
12498
12520
  headTitleMutations: X === "all"
12499
12521
  } : X || {};
12500
- Ly();
12522
+ Ny();
12501
12523
  let Ft, pt = 0;
12502
12524
  const mt = (_) => {
12503
12525
  for (const we of A || [])
@@ -12551,10 +12573,10 @@ function Be(e = {}) {
12551
12573
  data: Y({
12552
12574
  source: P.AdoptedStyleSheet
12553
12575
  }, _)
12554
- }), it = new pg({
12576
+ }), it = new mg({
12555
12577
  mutationCb: je,
12556
12578
  adoptedStyleSheetCb: du
12557
- }), nt = new ig({
12579
+ }), nt = new ng({
12558
12580
  mirror: Te,
12559
12581
  mutationCb: je,
12560
12582
  stylesheetManager: it,
@@ -12567,8 +12589,8 @@ function Be(e = {}) {
12567
12589
  crossOriginIframeMirror: nt.crossOriginIframeMirror,
12568
12590
  crossOriginIframeStyleMirror: nt.crossOriginIframeStyleMirror
12569
12591
  });
12570
- const Bn = new mg();
12571
- ti = new hg({
12592
+ const Bn = new fg();
12593
+ ti = new pg({
12572
12594
  recordCanvas: $,
12573
12595
  recordLocalVideos: U,
12574
12596
  recordRemoteVideos: L,
@@ -12586,7 +12608,7 @@ function Be(e = {}) {
12586
12608
  maxSnapshotDimension: (a = W?.canvas) == null ? void 0 : a.maxSnapshotDimension,
12587
12609
  logger: ce
12588
12610
  });
12589
- const Xi = new ng({
12611
+ const Xi = new sg({
12590
12612
  mutationCb: je,
12591
12613
  scrollCb: Hr,
12592
12614
  bypassOptions: {
@@ -12627,7 +12649,7 @@ function Be(e = {}) {
12627
12649
  },
12628
12650
  _
12629
12651
  ), it.reset(), Xi.init(), rt.forEach((se) => se.lock());
12630
- const we = Up(document, {
12652
+ const we = Kp(document, {
12631
12653
  mirror: Te,
12632
12654
  blockClass: p,
12633
12655
  blockSelector: m,
@@ -12673,7 +12695,7 @@ function Be(e = {}) {
12673
12695
  try {
12674
12696
  const _ = [], we = (re) => {
12675
12697
  var Je;
12676
- return B(tg)(
12698
+ return B(ig)(
12677
12699
  {
12678
12700
  mutationCb: je,
12679
12701
  mousemoveCb: (te, Dn) => oe({
@@ -12816,7 +12838,7 @@ function Be(e = {}) {
12816
12838
  window
12817
12839
  )
12818
12840
  )), () => {
12819
- _.forEach((re) => re()), Bn.destroy(), wn = !1, Ey();
12841
+ _.forEach((re) => re()), Bn.destroy(), wn = !1, zy();
12820
12842
  };
12821
12843
  } catch (_) {
12822
12844
  console.warn(_);
@@ -12849,29 +12871,7 @@ var yl;
12849
12871
  (function(e) {
12850
12872
  e[e.NotStarted = 0] = "NotStarted", e[e.Running = 1] = "Running", e[e.Stopped = 2] = "Stopped";
12851
12873
  })(yl || (yl = {}));
12852
- const { addCustomEvent: gl } = Be, fg = (e) => {
12853
- e(window.location.href);
12854
- const t = history.pushState;
12855
- history.pushState = /* @__PURE__ */ ((r) => function() {
12856
- var l = r.apply(this, arguments);
12857
- return window.dispatchEvent(new Event("pushstate")), window.dispatchEvent(new Event("locationchange")), l;
12858
- })(history.pushState);
12859
- const i = history.replaceState;
12860
- history.replaceState = /* @__PURE__ */ ((r) => function() {
12861
- var l = r.apply(this, arguments);
12862
- return window.dispatchEvent(new Event("replacestate")), window.dispatchEvent(new Event("locationchange")), l;
12863
- })(history.replaceState);
12864
- const n = () => {
12865
- window.dispatchEvent(new Event("locationchange"));
12866
- };
12867
- window.addEventListener("popstate", n);
12868
- const s = function() {
12869
- e(window.location.href);
12870
- };
12871
- return window.addEventListener("locationchange", s), () => {
12872
- window.removeEventListener("popstate", n), window.removeEventListener("locationchange", s), history.pushState = t, history.replaceState = i;
12873
- };
12874
- }, bg = (e, t, i) => {
12874
+ const { addCustomEvent: gl } = Be, bg = (e, t, i) => {
12875
12875
  switch (e) {
12876
12876
  case "strict":
12877
12877
  return [!0, void 0];
@@ -13940,7 +13940,7 @@ SessionSecureID: ${this.sessionData.sessionSecureID}`
13940
13940
  inlineVideos: this.inlineVideos,
13941
13941
  collectFonts: this.inlineImages,
13942
13942
  inlineStylesheet: this.inlineStylesheet,
13943
- plugins: [Yh()],
13943
+ plugins: [Fh()],
13944
13944
  logger: typeof this.options.debug == "boolean" && this.options.debug || typeof this.options.debug == "object" && this.options.debug.domRecording ? {
13945
13945
  debug: this.logger.log,
13946
13946
  warn: Ve.bind("RecordSDK", "warn")
@@ -14032,14 +14032,14 @@ SessionSecureID: ${this.sessionData.sessionSecureID}`
14032
14032
  }
14033
14033
  })
14034
14034
  ), this.listeners.push(
14035
- fg((r) => {
14035
+ Ih((r) => {
14036
14036
  this.reloaded ? (this.addCustomEvent("Reload", r), this.reloaded = !1, n.addProperties(
14037
14037
  { reload: !0 },
14038
14038
  { type: "session" }
14039
14039
  )) : this.addCustomEvent("Navigate", r);
14040
14040
  })
14041
14041
  ), this.listeners.push(
14042
- Rh(
14042
+ Ch(
14043
14043
  (r) => {
14044
14044
  this.addCustomEvent("Viewport", r);
14045
14045
  }
@@ -14049,7 +14049,7 @@ SessionSecureID: ${this.sessionData.sessionSecureID}`
14049
14049
  let o = null, a = null;
14050
14050
  if (l && l.target) {
14051
14051
  const c = l.target;
14052
- o = Vh(c), a = c.textContent, a && a.length > 2e3 && (a = a.substring(0, 2e3));
14052
+ o = Gh(c), a = c.textContent, a && a.length > 2e3 && (a = a.substring(0, 2e3));
14053
14053
  }
14054
14054
  this.addCustomEvent("Click", {
14055
14055
  clickTarget: r,
@@ -14297,7 +14297,7 @@ SessionSecureID: ${this.sessionData.sessionSecureID}`
14297
14297
  return Bd;
14298
14298
  }
14299
14299
  }
14300
- class hZ extends vh {
14300
+ class hZ extends wh {
14301
14301
  constructor(t) {
14302
14302
  super(t), K(this, "record"), K(this, "options"), this.options = t;
14303
14303
  }
@@ -14325,7 +14325,7 @@ class hZ extends vh {
14325
14325
  this.configureSession(t, i);
14326
14326
  const p = me(Y({}, i), {
14327
14327
  organizationID: t,
14328
- firstloadVersion: Xh,
14328
+ firstloadVersion: Vh,
14329
14329
  environment: i?.environment || "production",
14330
14330
  appVersion: i?.version,
14331
14331
  sessionSecureID: this.sessionSecureID,
@@ -14411,4 +14411,4 @@ export {
14411
14411
  Qt as t,
14412
14412
  wl as x
14413
14413
  };
14414
- //# sourceMappingURL=index-BdC2Saa4.js.map
14414
+ //# sourceMappingURL=index-DfKXefeq.js.map