@2uinc/frontend-component-xpert-chatbot 1.3.20-beta.1 → 1.3.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/lib/index.min.js +512 -510
  2. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import de, { useState as se, useCallback as ut, useEffect as Me, useRef as Oe } from "react";
1
+ import de, { useState as se, useCallback as ut, useEffect as ge, useRef as Oe } from "react";
2
2
  const tl = {
3
3
  xpertKey: "edx",
4
4
  chatApiEndpoint: "https://xpert-platform-services-api.prod.ai.2u.com/xpert/chat",
@@ -249,14 +249,14 @@ al();
249
249
  * This source code is licensed under the MIT license found in the
250
250
  * LICENSE file in the root directory of this source tree.
251
251
  */
252
- var ul = de, ki = 60103;
252
+ var ul = de, vi = 60103;
253
253
  pt.Fragment = 60107;
254
254
  if (typeof Symbol == "function" && Symbol.for) {
255
255
  var mr = Symbol.for;
256
- ki = mr("react.element"), pt.Fragment = mr("react.fragment");
256
+ vi = mr("react.element"), pt.Fragment = mr("react.fragment");
257
257
  }
258
258
  var sl = ul.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, cl = Object.prototype.hasOwnProperty, pl = { key: !0, ref: !0, __self: !0, __source: !0 };
259
- function vi(e, t, n) {
259
+ function ki(e, t, n) {
260
260
  var r, i = {}, o = null, l = null;
261
261
  n !== void 0 && (o = "" + n), t.key !== void 0 && (o = "" + t.key), t.ref !== void 0 && (l = t.ref);
262
262
  for (r in t)
@@ -264,10 +264,10 @@ function vi(e, t, n) {
264
264
  if (e && e.defaultProps)
265
265
  for (r in t = e.defaultProps, t)
266
266
  i[r] === void 0 && (i[r] = t[r]);
267
- return { $$typeof: ki, type: e, key: o, ref: l, props: i, _owner: sl.current };
267
+ return { $$typeof: vi, type: e, key: o, ref: l, props: i, _owner: sl.current };
268
268
  }
269
- pt.jsx = vi;
270
- pt.jsxs = vi;
269
+ pt.jsx = ki;
270
+ pt.jsxs = ki;
271
271
  Ii.exports = pt;
272
272
  var w = Ii.exports;
273
273
  /*! js-cookie v3.0.5 | MIT */
@@ -340,12 +340,12 @@ function Dn(e, t) {
340
340
  }
341
341
  );
342
342
  }
343
- var ke = Dn(fl, { path: "/" }), ji = { exports: {} }, dl = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED", hl = dl, gl = hl;
343
+ var ve = Dn(fl, { path: "/" }), ji = { exports: {} }, dl = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED", hl = dl, gl = hl;
344
344
  function Ei() {
345
345
  }
346
- function Ci() {
346
+ function Si() {
347
347
  }
348
- Ci.resetWarningCache = Ei;
348
+ Si.resetWarningCache = Ei;
349
349
  var ml = function() {
350
350
  function e(r, i, o, l, a, s) {
351
351
  if (s !== gl) {
@@ -379,14 +379,14 @@ var ml = function() {
379
379
  oneOfType: t,
380
380
  shape: t,
381
381
  exact: t,
382
- checkPropTypes: Ci,
382
+ checkPropTypes: Si,
383
383
  resetWarningCache: Ei
384
384
  };
385
385
  return n.PropTypes = n, n;
386
386
  };
387
387
  ji.exports = ml();
388
- var Si = ji.exports;
389
- const h = /* @__PURE__ */ Be(Si), rt = /^[a-z0-9]+(-[a-z0-9]+)*$/, _t = (e, t, n, r = "") => {
388
+ var Ci = ji.exports;
389
+ const h = /* @__PURE__ */ Be(Ci), rt = /^[a-z0-9]+(-[a-z0-9]+)*$/, _t = (e, t, n, r = "") => {
390
390
  const i = e.split(":");
391
391
  if (e.slice(0, 1) === "@") {
392
392
  if (i.length < 2 || i.length > 3)
@@ -402,7 +402,7 @@ const h = /* @__PURE__ */ Be(Si), rt = /^[a-z0-9]+(-[a-z0-9]+)*$/, _t = (e, t, n
402
402
  prefix: s,
403
403
  name: a
404
404
  };
405
- return t && !vt(u) ? null : u;
405
+ return t && !kt(u) ? null : u;
406
406
  }
407
407
  const o = i[0], l = o.split("-");
408
408
  if (l.length > 1) {
@@ -411,7 +411,7 @@ const h = /* @__PURE__ */ Be(Si), rt = /^[a-z0-9]+(-[a-z0-9]+)*$/, _t = (e, t, n
411
411
  prefix: l.shift(),
412
412
  name: l.join("-")
413
413
  };
414
- return t && !vt(a) ? null : a;
414
+ return t && !kt(a) ? null : a;
415
415
  }
416
416
  if (n && r === "") {
417
417
  const a = {
@@ -419,10 +419,10 @@ const h = /* @__PURE__ */ Be(Si), rt = /^[a-z0-9]+(-[a-z0-9]+)*$/, _t = (e, t, n
419
419
  prefix: "",
420
420
  name: o
421
421
  };
422
- return t && !vt(a, n) ? null : a;
422
+ return t && !kt(a, n) ? null : a;
423
423
  }
424
424
  return null;
425
- }, vt = (e, t) => e ? !!((e.provider === "" || e.provider.match(rt)) && (t && e.prefix === "" || e.prefix.match(rt)) && e.name.match(rt)) : !1, Ai = Object.freeze(
425
+ }, kt = (e, t) => e ? !!((e.provider === "" || e.provider.match(rt)) && (t && e.prefix === "" || e.prefix.match(rt)) && e.name.match(rt)) : !1, Ai = Object.freeze(
426
426
  {
427
427
  left: 0,
428
428
  top: 0,
@@ -584,7 +584,7 @@ function Il(e, t) {
584
584
  })), i;
585
585
  }
586
586
  const n = e.prefix;
587
- if (!vt({
587
+ if (!kt({
588
588
  provider: t,
589
589
  prefix: n,
590
590
  name: "a"
@@ -601,7 +601,7 @@ const Pi = Object.freeze({
601
601
  ...Pi,
602
602
  // Transformations
603
603
  ...At
604
- }), kl = /(-?[0-9.]*[0-9]+[0-9.]*)/g, vl = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
604
+ }), vl = /(-?[0-9.]*[0-9]+[0-9.]*)/g, kl = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
605
605
  function xr(e, t, n) {
606
606
  if (t === 1)
607
607
  return e;
@@ -609,11 +609,11 @@ function xr(e, t, n) {
609
609
  return Math.ceil(e * t * n) / n;
610
610
  if (typeof e != "string")
611
611
  return e;
612
- const r = e.split(kl);
612
+ const r = e.split(vl);
613
613
  if (r === null || !r.length)
614
614
  return e;
615
615
  const i = [];
616
- let o = r.shift(), l = vl.test(o);
616
+ let o = r.shift(), l = kl.test(o);
617
617
  for (; ; ) {
618
618
  if (l) {
619
619
  const a = parseFloat(o);
@@ -641,15 +641,15 @@ function El(e, t) {
641
641
  };
642
642
  let o = n.body;
643
643
  [n, r].forEach((T) => {
644
- const x = [], C = T.hFlip, b = T.vFlip;
645
- let S = T.rotate;
646
- C ? b ? S += 2 : (x.push(
644
+ const x = [], S = T.hFlip, b = T.vFlip;
645
+ let C = T.rotate;
646
+ S ? b ? C += 2 : (x.push(
647
647
  "translate(" + (i.width + i.left).toString() + " " + (0 - i.top).toString() + ")"
648
648
  ), x.push("scale(-1 1)"), i.top = i.left = 0) : b && (x.push(
649
649
  "translate(" + (0 - i.left).toString() + " " + (i.height + i.top).toString() + ")"
650
650
  ), x.push("scale(1 -1)"), i.top = i.left = 0);
651
651
  let I;
652
- switch (S < 0 && (S -= Math.floor(S / 4) * 4), S = S % 4, S) {
652
+ switch (C < 0 && (C -= Math.floor(C / 4) * 4), C = C % 4, C) {
653
653
  case 1:
654
654
  I = i.height / 2 + i.top, x.unshift(
655
655
  "rotate(90 " + I.toString() + " " + I.toString() + ")"
@@ -666,7 +666,7 @@ function El(e, t) {
666
666
  );
667
667
  break;
668
668
  }
669
- S % 2 === 1 && (i.left !== i.top && (I = i.left, i.left = i.top, i.top = I), i.width !== i.height && (I = i.width, i.width = i.height, i.height = I)), x.length && (o = '<g transform="' + x.join(" ") + '">' + o + "</g>");
669
+ C % 2 === 1 && (i.left !== i.top && (I = i.left, i.left = i.top, i.top = I), i.width !== i.height && (I = i.width, i.width = i.height, i.height = I)), x.length && (o = '<g transform="' + x.join(" ") + '">' + o + "</g>");
670
670
  });
671
671
  const l = r.width, a = r.height, s = i.width, u = i.height;
672
672
  let c, p;
@@ -679,12 +679,12 @@ function El(e, t) {
679
679
  body: o
680
680
  };
681
681
  }
682
- const Cl = /\sid="(\S+)"/g, Sl = "IconifyId" + Date.now().toString(16) + (Math.random() * 16777216 | 0).toString(16);
682
+ const Sl = /\sid="(\S+)"/g, Cl = "IconifyId" + Date.now().toString(16) + (Math.random() * 16777216 | 0).toString(16);
683
683
  let Al = 0;
684
- function Ol(e, t = Sl) {
684
+ function Ol(e, t = Cl) {
685
685
  const n = [];
686
686
  let r;
687
- for (; r = Cl.exec(e); )
687
+ for (; r = Sl.exec(e); )
688
688
  n.push(r[1]);
689
689
  if (!n.length)
690
690
  return e;
@@ -975,7 +975,7 @@ function Zl(e, t, n, r) {
975
975
  y.status === "pending" && (y.status = "aborted");
976
976
  }), m = [];
977
977
  }
978
- function C(y, O) {
978
+ function S(y, O) {
979
979
  O && (f = []), typeof y == "function" && f.push(y);
980
980
  }
981
981
  function b() {
@@ -985,11 +985,11 @@ function Zl(e, t, n, r) {
985
985
  status: s,
986
986
  queriesSent: u,
987
987
  queriesPending: m.length,
988
- subscribe: C,
988
+ subscribe: S,
989
989
  abort: x
990
990
  };
991
991
  }
992
- function S() {
992
+ function C() {
993
993
  s = "failed", f.forEach((y) => {
994
994
  y(void 0, c);
995
995
  });
@@ -1012,11 +1012,11 @@ function Zl(e, t, n, r) {
1012
1012
  return;
1013
1013
  }
1014
1014
  if (O === "abort") {
1015
- c = R, S();
1015
+ c = R, C();
1016
1016
  return;
1017
1017
  }
1018
1018
  if (q) {
1019
- c = R, m.length || (l.length ? B() : S());
1019
+ c = R, m.length || (l.length ? B() : C());
1020
1020
  return;
1021
1021
  }
1022
1022
  if (T(), I(), !e.random) {
@@ -1035,11 +1035,11 @@ function Zl(e, t, n, r) {
1035
1035
  if (y === void 0) {
1036
1036
  if (m.length) {
1037
1037
  p = setTimeout(() => {
1038
- T(), s === "pending" && (I(), S());
1038
+ T(), s === "pending" && (I(), C());
1039
1039
  }, e.timeout);
1040
1040
  return;
1041
1041
  }
1042
- S();
1042
+ C();
1043
1043
  return;
1044
1044
  }
1045
1045
  const O = {
@@ -1122,7 +1122,7 @@ function Kl(e, t, n) {
1122
1122
  return !r || !i ? (n(void 0, 424), wr) : r.query(t, i, n)().abort;
1123
1123
  }
1124
1124
  const Dr = "iconify2", ct = "iconify", Ui = ct + "-count", Nr = ct + "-version", Bi = 36e5, Xl = 168;
1125
- function kn(e, t) {
1125
+ function vn(e, t) {
1126
1126
  try {
1127
1127
  return e.getItem(t);
1128
1128
  } catch {
@@ -1140,11 +1140,11 @@ function Tr(e, t) {
1140
1140
  } catch {
1141
1141
  }
1142
1142
  }
1143
- function vn(e, t) {
1143
+ function kn(e, t) {
1144
1144
  return $n(e, Ui, t.toString());
1145
1145
  }
1146
1146
  function jn(e) {
1147
- return parseInt(kn(e, Ui)) || 0;
1147
+ return parseInt(vn(e, Ui)) || 0;
1148
1148
  }
1149
1149
  const Ut = {
1150
1150
  local: !0,
@@ -1171,18 +1171,18 @@ function Hi(e, t) {
1171
1171
  const n = Yi(e);
1172
1172
  if (!n)
1173
1173
  return;
1174
- const r = kn(n, Nr);
1174
+ const r = vn(n, Nr);
1175
1175
  if (r !== Dr) {
1176
1176
  if (r) {
1177
1177
  const a = jn(n);
1178
1178
  for (let s = 0; s < a; s++)
1179
1179
  Tr(n, ct + s.toString());
1180
1180
  }
1181
- $n(n, Nr, Dr), vn(n, 0);
1181
+ $n(n, Nr, Dr), kn(n, 0);
1182
1182
  return;
1183
1183
  }
1184
1184
  const i = Math.floor(Date.now() / Bi) - Xl, o = (a) => {
1185
- const s = ct + a.toString(), u = kn(n, s);
1185
+ const s = ct + a.toString(), u = vn(n, s);
1186
1186
  if (typeof u == "string") {
1187
1187
  try {
1188
1188
  const c = JSON.parse(u);
@@ -1196,7 +1196,7 @@ function Hi(e, t) {
1196
1196
  };
1197
1197
  let l = jn(n);
1198
1198
  for (let a = l - 1; a >= 0; a--)
1199
- o(a) || (a === l - 1 ? (l--, vn(n, l)) : Qi[e].add(a));
1199
+ o(a) || (a === l - 1 ? (l--, kn(n, l)) : Qi[e].add(a));
1200
1200
  }
1201
1201
  function qi() {
1202
1202
  if (!Vn) {
@@ -1239,7 +1239,7 @@ function ta(e, t) {
1239
1239
  let l;
1240
1240
  if (o.size)
1241
1241
  o.delete(l = Array.from(o).shift());
1242
- else if (l = jn(i), !vn(i, l + 1))
1242
+ else if (l = jn(i), !kn(i, l + 1))
1243
1243
  return;
1244
1244
  const a = {
1245
1245
  cached: Math.floor(Date.now() / Bi),
@@ -1419,19 +1419,19 @@ const $i = {
1419
1419
  backgroundColor: "currentColor"
1420
1420
  }, Vi = {
1421
1421
  backgroundColor: "transparent"
1422
- }, kr = {
1422
+ }, vr = {
1423
1423
  Image: "var(--svg)",
1424
1424
  Repeat: "no-repeat",
1425
1425
  Size: "100% 100%"
1426
- }, vr = {
1426
+ }, kr = {
1427
1427
  WebkitMask: En,
1428
1428
  mask: En,
1429
1429
  background: Vi
1430
1430
  };
1431
- for (const e in vr) {
1432
- const t = vr[e];
1433
- for (const n in kr)
1434
- t[e + n] = kr[n];
1431
+ for (const e in kr) {
1432
+ const t = kr[e];
1433
+ for (const n in vr)
1434
+ t[e + n] = vr[n];
1435
1435
  }
1436
1436
  const ya = {
1437
1437
  ...$i,
@@ -1446,8 +1446,8 @@ const Ma = (e, t, n, r) => {
1446
1446
  ref: r
1447
1447
  };
1448
1448
  for (let b in t) {
1449
- const S = t[b];
1450
- if (S !== void 0)
1449
+ const C = t[b];
1450
+ if (C !== void 0)
1451
1451
  switch (b) {
1452
1452
  case "icon":
1453
1453
  case "style":
@@ -1460,23 +1460,23 @@ const Ma = (e, t, n, r) => {
1460
1460
  case "inline":
1461
1461
  case "hFlip":
1462
1462
  case "vFlip":
1463
- o[b] = S === !0 || S === "true" || S === 1;
1463
+ o[b] = C === !0 || C === "true" || C === 1;
1464
1464
  break;
1465
1465
  case "flip":
1466
- typeof S == "string" && aa(o, S);
1466
+ typeof C == "string" && aa(o, C);
1467
1467
  break;
1468
1468
  case "color":
1469
- a.color = S;
1469
+ a.color = C;
1470
1470
  break;
1471
1471
  case "rotate":
1472
- typeof S == "string" ? o[b] = ua(S) : typeof S == "number" && (o[b] = S);
1472
+ typeof C == "string" ? o[b] = ua(C) : typeof C == "number" && (o[b] = C);
1473
1473
  break;
1474
1474
  case "ariaHidden":
1475
1475
  case "aria-hidden":
1476
- S !== !0 && S !== "true" && delete u["aria-hidden"];
1476
+ C !== !0 && C !== "true" && delete u["aria-hidden"];
1477
1477
  break;
1478
1478
  default:
1479
- i[b] === void 0 && (u[b] = S);
1479
+ i[b] === void 0 && (u[b] = C);
1480
1480
  }
1481
1481
  }
1482
1482
  const c = El(e, o), p = c.attributes;
@@ -1485,19 +1485,19 @@ const Ma = (e, t, n, r) => {
1485
1485
  ...a,
1486
1486
  ...s
1487
1487
  }, Object.assign(u, p);
1488
- let b = 0, S = t.id;
1489
- return typeof S == "string" && (S = S.replace(/-/g, "_")), u.dangerouslySetInnerHTML = {
1490
- __html: ha(Ol(c.body, S ? () => S + "ID" + b++ : "iconifyReact"))
1488
+ let b = 0, C = t.id;
1489
+ return typeof C == "string" && (C = C.replace(/-/g, "_")), u.dangerouslySetInnerHTML = {
1490
+ __html: ha(Ol(c.body, C ? () => C + "ID" + b++ : "iconifyReact"))
1491
1491
  }, de.createElement("svg", u);
1492
1492
  }
1493
- const { body: m, width: f, height: T } = e, x = l === "mask" || (l === "bg" ? !1 : m.indexOf("currentColor") !== -1), C = sa(m, {
1493
+ const { body: m, width: f, height: T } = e, x = l === "mask" || (l === "bg" ? !1 : m.indexOf("currentColor") !== -1), S = sa(m, {
1494
1494
  ...p,
1495
1495
  width: f + "",
1496
1496
  height: T + ""
1497
1497
  });
1498
1498
  return u.style = {
1499
1499
  ...a,
1500
- "--svg": fa(C),
1500
+ "--svg": fa(S),
1501
1501
  width: jr(p.width),
1502
1502
  height: jr(p.height),
1503
1503
  ...ma,
@@ -1652,7 +1652,7 @@ const xa = 576, ba = (e) => {
1652
1652
  ).matches
1653
1653
  );
1654
1654
  }, [e]);
1655
- return Me(() => (r(), window.addEventListener("resize", r), () => window.removeEventListener("resize", r)), [r]), t;
1655
+ return ge(() => (r(), window.addEventListener("resize", r), () => window.removeEventListener("resize", r)), [r]), t;
1656
1656
  }, ft = ba, wa = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9IiNmZmZmZmYiIGhlaWdodD0iNDgiIHZpZXdCb3g9IjAgLTk2MCA5NjAgOTYwIiB3aWR0aD0iNDgiPjxwYXRoIGQ9Ik0xMjAtMTIwdi0zMDBoNjB2MTk4bDU1OC01NThINTQwdi02MGgzMDB2MzAwaC02MHYtMTk4TDIyMi0xODBoMTk4djYwSDEyMFoiLz48L3N2Zz4=", Da = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9IiNmZmZmZmYiIGhlaWdodD0iNDgiIHZpZXdCb3g9IjAgLTk2MCA5NjAgOTYwIiB3aWR0aD0iNDgiPjxwYXRoIGQ9Ik0zNzAtMjg3aDM2MHYtOTBIMzcwdjkwWk0xODAtMTIwcS0yNCAwLTQyLTE4dC0xOC00MnYtNjAwcTAtMjQgMTgtNDJ0NDItMThoNjAwcTI0IDAgNDIgMTh0MTggNDJ2NjAwcTAgMjQtMTggNDJ0LTQyIDE4SDE4MFptMC02MGg2MDB2LTYwMEgxODB2NjAwWm0wLTYwMHY2MDAtNjAwWiIvPjwvc3ZnPg==", Na = 991;
1657
1657
  function Zi({ isNormalSize: e, setIsMounted: t, setIsNormalSize: n }) {
1658
1658
  return ft(Na) ? null : e ? /* @__PURE__ */ w.jsx(
@@ -1890,7 +1890,7 @@ function Bt({
1890
1890
  containerStyle: u,
1891
1891
  configurations: c
1892
1892
  }) {
1893
- return Me(() => {
1893
+ return ge(() => {
1894
1894
  var p;
1895
1895
  (i || r) && ((p = t.current) == null || p.focus());
1896
1896
  }, [r, i, t]), /* @__PURE__ */ w.jsxs("div", { className: "xpert-chatbot-popup__input--group", style: u, children: [
@@ -1958,7 +1958,7 @@ Bt.defaultProps = {
1958
1958
  hasXpertMessages: !1
1959
1959
  };
1960
1960
  const Er = ["http", "https", "mailto", "tel"];
1961
- function ka(e) {
1961
+ function va(e) {
1962
1962
  const t = (e || "").trim(), n = t.charAt(0);
1963
1963
  if (n === "#" || n === "/")
1964
1964
  return t;
@@ -1979,20 +1979,20 @@ function ka(e) {
1979
1979
  * @author Feross Aboukhadijeh <https://feross.org>
1980
1980
  * @license MIT
1981
1981
  */
1982
- var va = function(t) {
1982
+ var ka = function(t) {
1983
1983
  return t != null && t.constructor != null && typeof t.constructor.isBuffer == "function" && t.constructor.isBuffer(t);
1984
1984
  };
1985
- const Ji = /* @__PURE__ */ Be(va);
1985
+ const Ji = /* @__PURE__ */ Be(ka);
1986
1986
  function ot(e) {
1987
- return !e || typeof e != "object" ? "" : "position" in e || "type" in e ? Cr(e.position) : "start" in e || "end" in e ? Cr(e) : "line" in e || "column" in e ? Cn(e) : "";
1988
- }
1989
- function Cn(e) {
1990
- return Sr(e && e.line) + ":" + Sr(e && e.column);
1987
+ return !e || typeof e != "object" ? "" : "position" in e || "type" in e ? Sr(e.position) : "start" in e || "end" in e ? Sr(e) : "line" in e || "column" in e ? Sn(e) : "";
1991
1988
  }
1992
- function Cr(e) {
1993
- return Cn(e && e.start) + "-" + Cn(e && e.end);
1989
+ function Sn(e) {
1990
+ return Cr(e && e.line) + ":" + Cr(e && e.column);
1994
1991
  }
1995
1992
  function Sr(e) {
1993
+ return Sn(e && e.start) + "-" + Sn(e && e.end);
1994
+ }
1995
+ function Cr(e) {
1996
1996
  return e && typeof e == "number" ? e : 1;
1997
1997
  }
1998
1998
  class be extends Error {
@@ -2040,7 +2040,7 @@ be.prototype.line = null;
2040
2040
  be.prototype.source = null;
2041
2041
  be.prototype.ruleId = null;
2042
2042
  be.prototype.position = null;
2043
- const ve = { basename: ja, dirname: Ea, extname: Ca, join: Sa, sep: "/" };
2043
+ const ke = { basename: ja, dirname: Ea, extname: Sa, join: Ca, sep: "/" };
2044
2044
  function ja(e, t) {
2045
2045
  if (t !== void 0 && typeof t != "string")
2046
2046
  throw new TypeError('"ext" argument must be a string');
@@ -2084,7 +2084,7 @@ function Ea(e) {
2084
2084
  r || (r = !0);
2085
2085
  return t < 0 ? e.charCodeAt(0) === 47 ? "/" : "." : t === 1 && e.charCodeAt(0) === 47 ? "//" : e.slice(0, t);
2086
2086
  }
2087
- function Ca(e) {
2087
+ function Sa(e) {
2088
2088
  dt(e);
2089
2089
  let t = e.length, n = -1, r = 0, i = -1, o = 0, l;
2090
2090
  for (; t--; ) {
@@ -2102,7 +2102,7 @@ function Ca(e) {
2102
2102
  o === 0 || // The (right-most) trimmed path component is exactly `..`.
2103
2103
  o === 1 && i === n - 1 && i === r + 1 ? "" : e.slice(i, n);
2104
2104
  }
2105
- function Sa(...e) {
2105
+ function Ca(...e) {
2106
2106
  let t = -1, n;
2107
2107
  for (; ++t < e.length; )
2108
2108
  dt(e[t]), e[t] && (n = n === void 0 ? e[t] : n + "/" + e[t]);
@@ -2157,7 +2157,7 @@ const za = { cwd: La };
2157
2157
  function La() {
2158
2158
  return "/";
2159
2159
  }
2160
- function Sn(e) {
2160
+ function Cn(e) {
2161
2161
  return e !== null && typeof e == "object" && // @ts-expect-error: indexable.
2162
2162
  e.href && // @ts-expect-error: indexable.
2163
2163
  e.origin;
@@ -2165,7 +2165,7 @@ function Sn(e) {
2165
2165
  function Pa(e) {
2166
2166
  if (typeof e == "string")
2167
2167
  e = new URL(e);
2168
- else if (!Sn(e)) {
2168
+ else if (!Cn(e)) {
2169
2169
  const t = new TypeError(
2170
2170
  'The "path" argument must be of type string or an instance of URL. Received `' + e + "`"
2171
2171
  );
@@ -2224,7 +2224,7 @@ class eo {
2224
2224
  */
2225
2225
  constructor(t) {
2226
2226
  let n;
2227
- t ? typeof t == "string" || Ra(t) ? n = { value: t } : Sn(t) ? n = { path: t } : n = t : n = {}, this.data = {}, this.messages = [], this.history = [], this.cwd = za.cwd(), this.value, this.stored, this.result, this.map;
2227
+ t ? typeof t == "string" || Ra(t) ? n = { value: t } : Cn(t) ? n = { path: t } : n = t : n = {}, this.data = {}, this.messages = [], this.history = [], this.cwd = za.cwd(), this.value, this.stored, this.result, this.map;
2228
2228
  let r = -1;
2229
2229
  for (; ++r < pn.length; ) {
2230
2230
  const o = pn[r];
@@ -2252,13 +2252,13 @@ class eo {
2252
2252
  * @param {string | URL} path
2253
2253
  */
2254
2254
  set path(t) {
2255
- Sn(t) && (t = Pa(t)), dn(t, "path"), this.path !== t && this.history.push(t);
2255
+ Cn(t) && (t = Pa(t)), dn(t, "path"), this.path !== t && this.history.push(t);
2256
2256
  }
2257
2257
  /**
2258
2258
  * Get the parent path (example: `'~'`).
2259
2259
  */
2260
2260
  get dirname() {
2261
- return typeof this.path == "string" ? ve.dirname(this.path) : void 0;
2261
+ return typeof this.path == "string" ? ke.dirname(this.path) : void 0;
2262
2262
  }
2263
2263
  /**
2264
2264
  * Set the parent path (example: `'~'`).
@@ -2266,13 +2266,13 @@ class eo {
2266
2266
  * Cannot be set if there’s no `path` yet.
2267
2267
  */
2268
2268
  set dirname(t) {
2269
- Ar(this.basename, "dirname"), this.path = ve.join(t || "", this.basename);
2269
+ Ar(this.basename, "dirname"), this.path = ke.join(t || "", this.basename);
2270
2270
  }
2271
2271
  /**
2272
2272
  * Get the basename (including extname) (example: `'index.min.js'`).
2273
2273
  */
2274
2274
  get basename() {
2275
- return typeof this.path == "string" ? ve.basename(this.path) : void 0;
2275
+ return typeof this.path == "string" ? ke.basename(this.path) : void 0;
2276
2276
  }
2277
2277
  /**
2278
2278
  * Set basename (including extname) (`'index.min.js'`).
@@ -2282,13 +2282,13 @@ class eo {
2282
2282
  * Cannot be nullified (use `file.path = file.dirname` instead).
2283
2283
  */
2284
2284
  set basename(t) {
2285
- dn(t, "basename"), fn(t, "basename"), this.path = ve.join(this.dirname || "", t);
2285
+ dn(t, "basename"), fn(t, "basename"), this.path = ke.join(this.dirname || "", t);
2286
2286
  }
2287
2287
  /**
2288
2288
  * Get the extname (including dot) (example: `'.js'`).
2289
2289
  */
2290
2290
  get extname() {
2291
- return typeof this.path == "string" ? ve.extname(this.path) : void 0;
2291
+ return typeof this.path == "string" ? ke.extname(this.path) : void 0;
2292
2292
  }
2293
2293
  /**
2294
2294
  * Set the extname (including dot) (example: `'.js'`).
@@ -2304,13 +2304,13 @@ class eo {
2304
2304
  if (t.includes(".", 1))
2305
2305
  throw new Error("`extname` cannot contain multiple dots");
2306
2306
  }
2307
- this.path = ve.join(this.dirname, this.stem + (t || ""));
2307
+ this.path = ke.join(this.dirname, this.stem + (t || ""));
2308
2308
  }
2309
2309
  /**
2310
2310
  * Get the stem (basename w/o extname) (example: `'index.min'`).
2311
2311
  */
2312
2312
  get stem() {
2313
- return typeof this.path == "string" ? ve.basename(this.path, this.extname) : void 0;
2313
+ return typeof this.path == "string" ? ke.basename(this.path, this.extname) : void 0;
2314
2314
  }
2315
2315
  /**
2316
2316
  * Set the stem (basename w/o extname) (example: `'index.min'`).
@@ -2320,7 +2320,7 @@ class eo {
2320
2320
  * Cannot be nullified (use `file.path = file.dirname` instead).
2321
2321
  */
2322
2322
  set stem(t) {
2323
- dn(t, "stem"), fn(t, "stem"), this.path = ve.join(this.dirname || "", t + (this.extname || ""));
2323
+ dn(t, "stem"), fn(t, "stem"), this.path = ke.join(this.dirname || "", t + (this.extname || ""));
2324
2324
  }
2325
2325
  /**
2326
2326
  * Serialize the file.
@@ -2400,9 +2400,9 @@ class eo {
2400
2400
  }
2401
2401
  }
2402
2402
  function fn(e, t) {
2403
- if (e && e.includes(ve.sep))
2403
+ if (e && e.includes(ke.sep))
2404
2404
  throw new Error(
2405
- "`" + t + "` cannot be a path: did not expect `" + ve.sep + "`"
2405
+ "`" + t + "` cannot be a path: did not expect `" + ke.sep + "`"
2406
2406
  );
2407
2407
  }
2408
2408
  function dn(e, t) {
@@ -2525,38 +2525,38 @@ function ro() {
2525
2525
  return o.data = l, o.Parser = void 0, o.Compiler = void 0, o.freeze = a, o.attachers = t, o.use = s, o.parse = u, o.stringify = c, o.run = p, o.runSync = m, o.process = f, o.processSync = T, o;
2526
2526
  function o() {
2527
2527
  const x = ro();
2528
- let C = -1;
2529
- for (; ++C < t.length; )
2530
- x.use(...t[C]);
2528
+ let S = -1;
2529
+ for (; ++S < t.length; )
2530
+ x.use(...t[S]);
2531
2531
  return x.data(Ur(!0, {}, n)), x;
2532
2532
  }
2533
- function l(x, C) {
2534
- return typeof x == "string" ? arguments.length === 2 ? (mn("data", r), n[x] = C, o) : no.call(n, x) && n[x] || null : x ? (mn("data", r), n = x, o) : n;
2533
+ function l(x, S) {
2534
+ return typeof x == "string" ? arguments.length === 2 ? (mn("data", r), n[x] = S, o) : no.call(n, x) && n[x] || null : x ? (mn("data", r), n = x, o) : n;
2535
2535
  }
2536
2536
  function a() {
2537
2537
  if (r)
2538
2538
  return o;
2539
2539
  for (; ++i < t.length; ) {
2540
- const [x, ...C] = t[i];
2541
- if (C[0] === !1)
2540
+ const [x, ...S] = t[i];
2541
+ if (S[0] === !1)
2542
2542
  continue;
2543
- C[0] === !0 && (C[0] = void 0);
2544
- const b = x.call(o, ...C);
2543
+ S[0] === !0 && (S[0] = void 0);
2544
+ const b = x.call(o, ...S);
2545
2545
  typeof b == "function" && e.use(b);
2546
2546
  }
2547
2547
  return r = !0, i = Number.POSITIVE_INFINITY, o;
2548
2548
  }
2549
- function s(x, ...C) {
2549
+ function s(x, ...S) {
2550
2550
  let b;
2551
2551
  if (mn("use", r), x != null)
2552
2552
  if (typeof x == "function")
2553
- B(x, ...C);
2553
+ B(x, ...S);
2554
2554
  else if (typeof x == "object")
2555
2555
  Array.isArray(x) ? Q(x) : I(x);
2556
2556
  else
2557
2557
  throw new TypeError("Expected usable value, not `" + x + "`");
2558
2558
  return b && (n.settings = Object.assign(n.settings || {}, b)), o;
2559
- function S(y) {
2559
+ function C(y) {
2560
2560
  if (typeof y == "function")
2561
2561
  B(y);
2562
2562
  else if (typeof y == "object")
@@ -2577,7 +2577,7 @@ function ro() {
2577
2577
  if (Array.isArray(y))
2578
2578
  for (; ++O < y.length; ) {
2579
2579
  const R = y[O];
2580
- S(R);
2580
+ C(R);
2581
2581
  }
2582
2582
  else
2583
2583
  throw new TypeError("Expected a list of plugins, not `" + y + "`");
@@ -2594,37 +2594,37 @@ function ro() {
2594
2594
  }
2595
2595
  function u(x) {
2596
2596
  o.freeze();
2597
- const C = Je(x), b = o.Parser;
2598
- return hn("parse", b), Br(b, "parse") ? new b(String(C), C).parse() : b(String(C), C);
2597
+ const S = Je(x), b = o.Parser;
2598
+ return hn("parse", b), Br(b, "parse") ? new b(String(S), S).parse() : b(String(S), S);
2599
2599
  }
2600
- function c(x, C) {
2600
+ function c(x, S) {
2601
2601
  o.freeze();
2602
- const b = Je(C), S = o.Compiler;
2603
- return gn("stringify", S), Qr(x), Br(S, "compile") ? new S(x, b).compile() : S(x, b);
2604
- }
2605
- function p(x, C, b) {
2606
- if (Qr(x), o.freeze(), !b && typeof C == "function" && (b = C, C = void 0), !b)
2607
- return new Promise(S);
2608
- S(null, b);
2609
- function S(I, Q) {
2610
- e.run(x, Je(C), B);
2602
+ const b = Je(S), C = o.Compiler;
2603
+ return gn("stringify", C), Qr(x), Br(C, "compile") ? new C(x, b).compile() : C(x, b);
2604
+ }
2605
+ function p(x, S, b) {
2606
+ if (Qr(x), o.freeze(), !b && typeof S == "function" && (b = S, S = void 0), !b)
2607
+ return new Promise(C);
2608
+ C(null, b);
2609
+ function C(I, Q) {
2610
+ e.run(x, Je(S), B);
2611
2611
  function B(y, O, R) {
2612
2612
  O = O || x, y ? Q(y) : I ? I(O) : b(null, O, R);
2613
2613
  }
2614
2614
  }
2615
2615
  }
2616
- function m(x, C) {
2617
- let b, S;
2618
- return o.run(x, C, I), Yr("runSync", "run", S), b;
2616
+ function m(x, S) {
2617
+ let b, C;
2618
+ return o.run(x, S, I), Yr("runSync", "run", C), b;
2619
2619
  function I(Q, B) {
2620
- Or(Q), b = B, S = !0;
2620
+ Or(Q), b = B, C = !0;
2621
2621
  }
2622
2622
  }
2623
- function f(x, C) {
2624
- if (o.freeze(), hn("process", o.Parser), gn("process", o.Compiler), !C)
2623
+ function f(x, S) {
2624
+ if (o.freeze(), hn("process", o.Parser), gn("process", o.Compiler), !S)
2625
2625
  return new Promise(b);
2626
- b(null, C);
2627
- function b(S, I) {
2626
+ b(null, S);
2627
+ function b(C, I) {
2628
2628
  const Q = Je(x);
2629
2629
  o.run(o.parse(Q), Q, (y, O, R) => {
2630
2630
  if (y || !O || !R)
@@ -2635,17 +2635,17 @@ function ro() {
2635
2635
  }
2636
2636
  });
2637
2637
  function B(y, O) {
2638
- y || !O ? I(y) : S ? S(O) : C(null, O);
2638
+ y || !O ? I(y) : C ? C(O) : S(null, O);
2639
2639
  }
2640
2640
  }
2641
2641
  }
2642
2642
  function T(x) {
2643
- let C;
2643
+ let S;
2644
2644
  o.freeze(), hn("processSync", o.Parser), gn("processSync", o.Compiler);
2645
2645
  const b = Je(x);
2646
- return o.process(b, S), Yr("processSync", "process", C), b;
2647
- function S(I) {
2648
- C = !0, Or(I);
2646
+ return o.process(b, C), Yr("processSync", "process", S), b;
2647
+ function C(I) {
2648
+ S = !0, Or(I);
2649
2649
  }
2650
2650
  }
2651
2651
  }
@@ -2768,7 +2768,7 @@ function Ka(e, t) {
2768
2768
  (t[n].add === "after" ? e : r).push(t[n]);
2769
2769
  Ee(e, 0, 0, r);
2770
2770
  }
2771
- const Xa = /[!-\/:-@\[-`\{-~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/, je = Le(/[A-Za-z]/), ye = Le(/[\dA-Za-z]/), Ja = Le(/[#-'*+\--9=?A-Z^-~]/);
2771
+ const Xa = /[!-\/:-@\[-`\{-~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/, je = Le(/[A-Za-z]/), Me = Le(/[\dA-Za-z]/), Ja = Le(/[#-'*+\--9=?A-Z^-~]/);
2772
2772
  function On(e) {
2773
2773
  return (
2774
2774
  // Special whitespace codes (which have negative values), C0 and Control
@@ -2780,7 +2780,7 @@ const zn = Le(/\d/), eu = Le(/[\dA-Fa-f]/), tu = Le(/[!-/:-@[-`{-~]/);
2780
2780
  function U(e) {
2781
2781
  return e !== null && e < -2;
2782
2782
  }
2783
- function ge(e) {
2783
+ function me(e) {
2784
2784
  return e !== null && (e < 0 || e === 32);
2785
2785
  }
2786
2786
  function W(e) {
@@ -2862,7 +2862,7 @@ function au(e) {
2862
2862
  }
2863
2863
  function s(I) {
2864
2864
  if (r++, t.containerState._closeFlow) {
2865
- t.containerState._closeFlow = void 0, i && S();
2865
+ t.containerState._closeFlow = void 0, i && C();
2866
2866
  const Q = t.events.length;
2867
2867
  let B = Q, y;
2868
2868
  for (; B--; )
@@ -2898,7 +2898,7 @@ function au(e) {
2898
2898
  )(I);
2899
2899
  }
2900
2900
  function c(I) {
2901
- return i && S(), b(r), m(I);
2901
+ return i && C(), b(r), m(I);
2902
2902
  }
2903
2903
  function p(I) {
2904
2904
  return t.parser.lazy[t.now().line] = r !== n.length, l = t.now().offset, T(I);
@@ -2915,7 +2915,7 @@ function au(e) {
2915
2915
  }
2916
2916
  function T(I) {
2917
2917
  if (I === null) {
2918
- i && S(), b(0), e.consume(I);
2918
+ i && C(), b(0), e.consume(I);
2919
2919
  return;
2920
2920
  }
2921
2921
  return i = i || t.parser.flow(t.now()), e.enter("chunkFlow", {
@@ -2926,12 +2926,12 @@ function au(e) {
2926
2926
  }
2927
2927
  function x(I) {
2928
2928
  if (I === null) {
2929
- C(e.exit("chunkFlow"), !0), b(0), e.consume(I);
2929
+ S(e.exit("chunkFlow"), !0), b(0), e.consume(I);
2930
2930
  return;
2931
2931
  }
2932
- return U(I) ? (e.consume(I), C(e.exit("chunkFlow")), r = 0, t.interrupt = void 0, a) : (e.consume(I), x);
2932
+ return U(I) ? (e.consume(I), S(e.exit("chunkFlow")), r = 0, t.interrupt = void 0, a) : (e.consume(I), x);
2933
2933
  }
2934
- function C(I, Q) {
2934
+ function S(I, Q) {
2935
2935
  const B = t.sliceStream(I);
2936
2936
  if (Q && B.push(null), I.previous = o, o && (o.next = I), o = I, i.defineSkip(I.start), i.write(B), t.parser.lazy[I.start.line]) {
2937
2937
  let y = i.events.length;
@@ -2971,7 +2971,7 @@ function au(e) {
2971
2971
  }
2972
2972
  n.length = I;
2973
2973
  }
2974
- function S() {
2974
+ function C() {
2975
2975
  i.write([null]), o = void 0, i = void 0, t.containerState._closeFlow = void 0;
2976
2976
  }
2977
2977
  }
@@ -2984,7 +2984,7 @@ function uu(e, t, n) {
2984
2984
  );
2985
2985
  }
2986
2986
  function Vr(e) {
2987
- if (e === null || ge(e) || ru(e))
2987
+ if (e === null || me(e) || ru(e))
2988
2988
  return 1;
2989
2989
  if (nu(e))
2990
2990
  return 2;
@@ -3092,10 +3092,10 @@ function fu(e, t, n) {
3092
3092
  return je(f) ? (e.consume(f), l) : u(f);
3093
3093
  }
3094
3094
  function l(f) {
3095
- return f === 43 || f === 45 || f === 46 || ye(f) ? (r = 1, a(f)) : u(f);
3095
+ return f === 43 || f === 45 || f === 46 || Me(f) ? (r = 1, a(f)) : u(f);
3096
3096
  }
3097
3097
  function a(f) {
3098
- return f === 58 ? (e.consume(f), r = 0, s) : (f === 43 || f === 45 || f === 46 || ye(f)) && r++ < 32 ? (e.consume(f), a) : (r = 0, u(f));
3098
+ return f === 58 ? (e.consume(f), r = 0, s) : (f === 43 || f === 45 || f === 46 || Me(f)) && r++ < 32 ? (e.consume(f), a) : (r = 0, u(f));
3099
3099
  }
3100
3100
  function s(f) {
3101
3101
  return f === 62 ? (e.exit("autolinkProtocol"), e.enter("autolinkMarker"), e.consume(f), e.exit("autolinkMarker"), e.exit("autolink"), t) : f === null || f === 32 || f === 60 || On(f) ? n(f) : (e.consume(f), s);
@@ -3104,13 +3104,13 @@ function fu(e, t, n) {
3104
3104
  return f === 64 ? (e.consume(f), c) : Ja(f) ? (e.consume(f), u) : n(f);
3105
3105
  }
3106
3106
  function c(f) {
3107
- return ye(f) ? p(f) : n(f);
3107
+ return Me(f) ? p(f) : n(f);
3108
3108
  }
3109
3109
  function p(f) {
3110
3110
  return f === 46 ? (e.consume(f), r = 0, c) : f === 62 ? (e.exit("autolinkProtocol").type = "autolinkEmail", e.enter("autolinkMarker"), e.consume(f), e.exit("autolinkMarker"), e.exit("autolink"), t) : m(f);
3111
3111
  }
3112
3112
  function m(f) {
3113
- if ((f === 45 || ye(f)) && r++ < 63) {
3113
+ if ((f === 45 || Me(f)) && r++ < 63) {
3114
3114
  const T = f === 45 ? m : p;
3115
3115
  return e.consume(f), T;
3116
3116
  }
@@ -3204,7 +3204,7 @@ function Mu(e, t, n) {
3204
3204
  return e.enter("characterReference"), e.enter("characterReferenceMarker"), e.consume(p), e.exit("characterReferenceMarker"), s;
3205
3205
  }
3206
3206
  function s(p) {
3207
- return p === 35 ? (e.enter("characterReferenceMarkerNumeric"), e.consume(p), e.exit("characterReferenceMarkerNumeric"), u) : (e.enter("characterReferenceValue"), o = 31, l = ye, c(p));
3207
+ return p === 35 ? (e.enter("characterReferenceMarkerNumeric"), e.consume(p), e.exit("characterReferenceMarkerNumeric"), u) : (e.enter("characterReferenceValue"), o = 31, l = Me, c(p));
3208
3208
  }
3209
3209
  function u(p) {
3210
3210
  return p === 88 || p === 120 ? (e.enter("characterReferenceMarkerHexadecimal"), e.consume(p), e.exit("characterReferenceMarkerHexadecimal"), e.enter("characterReferenceValue"), o = 6, l = eu, c) : (e.enter("characterReferenceValue"), o = 7, l = zn, c(p));
@@ -3212,7 +3212,7 @@ function Mu(e, t, n) {
3212
3212
  function c(p) {
3213
3213
  if (p === 59 && i) {
3214
3214
  const m = e.exit("characterReferenceValue");
3215
- return l === ye && !Gn(r.sliceSerialize(m)) ? n(p) : (e.enter("characterReferenceMarker"), e.consume(p), e.exit("characterReferenceMarker"), e.exit("characterReference"), t);
3215
+ return l === Me && !Gn(r.sliceSerialize(m)) ? n(p) : (e.enter("characterReferenceMarker"), e.consume(p), e.exit("characterReferenceMarker"), e.exit("characterReference"), t);
3216
3216
  }
3217
3217
  return l(p) && i++ < o ? (e.consume(p), c) : n(p);
3218
3218
  }
@@ -3259,24 +3259,24 @@ function xu(e, t, n) {
3259
3259
  return y === null || U(y) ? (e.exit("chunkString"), e.exit("codeFencedFenceMeta"), p(y)) : y === 96 && y === a ? n(y) : (e.consume(y), T);
3260
3260
  }
3261
3261
  function x(y) {
3262
- return e.attempt(i, Q, C)(y);
3262
+ return e.attempt(i, Q, S)(y);
3263
3263
  }
3264
- function C(y) {
3264
+ function S(y) {
3265
3265
  return e.enter("lineEnding"), e.consume(y), e.exit("lineEnding"), b;
3266
3266
  }
3267
3267
  function b(y) {
3268
3268
  return o > 0 && W(y) ? J(
3269
3269
  e,
3270
- S,
3270
+ C,
3271
3271
  "linePrefix",
3272
3272
  o + 1
3273
- )(y) : S(y);
3273
+ )(y) : C(y);
3274
3274
  }
3275
- function S(y) {
3275
+ function C(y) {
3276
3276
  return y === null || U(y) ? e.check(Gr, x, Q)(y) : (e.enter("codeFlowValue"), I(y));
3277
3277
  }
3278
3278
  function I(y) {
3279
- return y === null || U(y) ? (e.exit("codeFlowValue"), S(y)) : (e.consume(y), I);
3279
+ return y === null || U(y) ? (e.exit("codeFlowValue"), C(y)) : (e.consume(y), I);
3280
3280
  }
3281
3281
  function Q(y) {
3282
3282
  return e.exit("codeFenced"), t(y);
@@ -3285,9 +3285,9 @@ function xu(e, t, n) {
3285
3285
  let q = 0;
3286
3286
  return $;
3287
3287
  function $(z) {
3288
- return y.enter("lineEnding"), y.consume(z), y.exit("lineEnding"), k;
3288
+ return y.enter("lineEnding"), y.consume(z), y.exit("lineEnding"), v;
3289
3289
  }
3290
- function k(z) {
3290
+ function v(z) {
3291
3291
  return y.enter("codeFencedFence"), W(z) ? J(
3292
3292
  y,
3293
3293
  M,
@@ -3356,9 +3356,9 @@ function Nu(e, t, n) {
3356
3356
  }
3357
3357
  const Tu = {
3358
3358
  name: "codeText",
3359
- tokenize: vu,
3359
+ tokenize: ku,
3360
3360
  resolve: Iu,
3361
- previous: ku
3361
+ previous: vu
3362
3362
  };
3363
3363
  function Iu(e) {
3364
3364
  let t = e.length - 4, n = 3, r, i;
@@ -3373,10 +3373,10 @@ function Iu(e) {
3373
3373
  i === void 0 ? r !== t && e[r][1].type !== "lineEnding" && (i = r) : (r === t || e[r][1].type === "lineEnding") && (e[i][1].type = "codeTextData", r !== i + 2 && (e[i][1].end = e[r - 1][1].end, e.splice(i + 2, r - i - 2), t -= r - i - 2, r = i + 2), i = void 0);
3374
3374
  return e;
3375
3375
  }
3376
- function ku(e) {
3376
+ function vu(e) {
3377
3377
  return e !== 96 || this.events[this.events.length - 1][1].type === "characterEscape";
3378
3378
  }
3379
- function vu(e, t, n) {
3379
+ function ku(e, t, n) {
3380
3380
  let r = 0, i, o;
3381
3381
  return l;
3382
3382
  function l(p) {
@@ -3419,7 +3419,7 @@ function ju(e, t) {
3419
3419
  let i = t - 1;
3420
3420
  const o = [], l = n._tokenizer || r.parser[n.contentType](n.start), a = l.events, s = [], u = {};
3421
3421
  let c, p, m = -1, f = n, T = 0, x = 0;
3422
- const C = [x];
3422
+ const S = [x];
3423
3423
  for (; f; ) {
3424
3424
  for (; e[++i][1] !== f; )
3425
3425
  ;
@@ -3427,10 +3427,10 @@ function ju(e, t) {
3427
3427
  }
3428
3428
  for (f = n; ++m < a.length; )
3429
3429
  // Find a void token that includes a break.
3430
- a[m][0] === "exit" && a[m - 1][0] === "enter" && a[m][1].type === a[m - 1][1].type && a[m][1].start.line !== a[m][1].end.line && (x = m + 1, C.push(x), f._tokenizer = void 0, f.previous = void 0, f = f.next);
3431
- for (l.events = [], f ? (f._tokenizer = void 0, f.previous = void 0) : C.pop(), m = C.length; m--; ) {
3432
- const b = a.slice(C[m], C[m + 1]), S = o.pop();
3433
- s.unshift([S, S + b.length - 1]), Ee(e, S, 2, b);
3430
+ a[m][0] === "exit" && a[m - 1][0] === "enter" && a[m][1].type === a[m - 1][1].type && a[m][1].start.line !== a[m][1].end.line && (x = m + 1, S.push(x), f._tokenizer = void 0, f.previous = void 0, f = f.next);
3431
+ for (l.events = [], f ? (f._tokenizer = void 0, f.previous = void 0) : S.pop(), m = S.length; m--; ) {
3432
+ const b = a.slice(S[m], S[m + 1]), C = o.pop();
3433
+ s.unshift([C, C + b.length - 1]), Ee(e, C, 2, b);
3434
3434
  }
3435
3435
  for (m = -1; ++m < s.length; )
3436
3436
  u[T + s[m][0]] = T + s[m][1], T += s[m][1] - s[m][0] - 1;
@@ -3438,12 +3438,12 @@ function ju(e, t) {
3438
3438
  }
3439
3439
  const Eu = {
3440
3440
  tokenize: Au,
3441
- resolve: Su
3442
- }, Cu = {
3441
+ resolve: Cu
3442
+ }, Su = {
3443
3443
  tokenize: Ou,
3444
3444
  partial: !0
3445
3445
  };
3446
- function Su(e) {
3446
+ function Cu(e) {
3447
3447
  return uo(e), e;
3448
3448
  }
3449
3449
  function Au(e, t) {
@@ -3456,7 +3456,7 @@ function Au(e, t) {
3456
3456
  }
3457
3457
  function i(a) {
3458
3458
  return a === null ? o(a) : U(a) ? e.check(
3459
- Cu,
3459
+ Su,
3460
3460
  l,
3461
3461
  o
3462
3462
  )(a) : (e.consume(a), i);
@@ -3505,9 +3505,9 @@ function so(e, t, n, r, i, o, l, a, s) {
3505
3505
  return b === 60 || b === 62 || b === 92 ? (e.consume(b), f) : f(b);
3506
3506
  }
3507
3507
  function x(b) {
3508
- return !c && (b === null || b === 41 || ge(b)) ? (e.exit("chunkString"), e.exit(a), e.exit(l), e.exit(r), t(b)) : c < u && b === 40 ? (e.consume(b), c++, x) : b === 41 ? (e.consume(b), c--, x) : b === null || b === 32 || b === 40 || On(b) ? n(b) : (e.consume(b), b === 92 ? C : x);
3508
+ return !c && (b === null || b === 41 || me(b)) ? (e.exit("chunkString"), e.exit(a), e.exit(l), e.exit(r), t(b)) : c < u && b === 40 ? (e.consume(b), c++, x) : b === 41 ? (e.consume(b), c--, x) : b === null || b === 32 || b === 40 || On(b) ? n(b) : (e.consume(b), b === 92 ? S : x);
3509
3509
  }
3510
- function C(b) {
3510
+ function S(b) {
3511
3511
  return b === 40 || b === 41 || b === 92 ? (e.consume(b), x) : x(b);
3512
3512
  }
3513
3513
  }
@@ -3602,7 +3602,7 @@ function Pu(e, t, n) {
3602
3602
  ), f === 58 ? (e.enter("definitionMarker"), e.consume(f), e.exit("definitionMarker"), s) : n(f);
3603
3603
  }
3604
3604
  function s(f) {
3605
- return ge(f) ? lt(e, u)(f) : u(f);
3605
+ return me(f) ? lt(e, u)(f) : u(f);
3606
3606
  }
3607
3607
  function u(f) {
3608
3608
  return so(
@@ -3630,7 +3630,7 @@ function Pu(e, t, n) {
3630
3630
  function Fu(e, t, n) {
3631
3631
  return r;
3632
3632
  function r(a) {
3633
- return ge(a) ? lt(e, i)(a) : n(a);
3633
+ return me(a) ? lt(e, i)(a) : n(a);
3634
3634
  }
3635
3635
  function i(a) {
3636
3636
  return po(
@@ -3695,7 +3695,7 @@ function Qu(e, t, n) {
3695
3695
  return e.enter("atxHeadingSequence"), l(c);
3696
3696
  }
3697
3697
  function l(c) {
3698
- return c === 35 && r++ < 6 ? (e.consume(c), l) : c === null || ge(c) ? (e.exit("atxHeadingSequence"), a(c)) : n(c);
3698
+ return c === 35 && r++ < 6 ? (e.consume(c), l) : c === null || me(c) ? (e.exit("atxHeadingSequence"), a(c)) : n(c);
3699
3699
  }
3700
3700
  function a(c) {
3701
3701
  return c === 35 ? (e.enter("atxHeadingSequence"), s(c)) : c === null || U(c) ? (e.exit("atxHeading"), t(c)) : W(c) ? J(e, a, "whitespace")(c) : (e.enter("atxHeadingText"), u(c));
@@ -3704,7 +3704,7 @@ function Qu(e, t, n) {
3704
3704
  return c === 35 ? (e.consume(c), s) : (e.exit("atxHeadingSequence"), a(c));
3705
3705
  }
3706
3706
  function u(c) {
3707
- return c === null || c === 35 || ge(c) ? (e.exit("atxHeadingText"), a(c)) : (e.consume(c), u);
3707
+ return c === null || c === 35 || me(c) ? (e.exit("atxHeadingText"), a(c)) : (e.consume(c), u);
3708
3708
  }
3709
3709
  }
3710
3710
  const Yu = [
@@ -3799,7 +3799,7 @@ function Wu(e, t, n) {
3799
3799
  return e.enter("htmlFlow"), e.enter("htmlFlowData"), e.consume(g), p;
3800
3800
  }
3801
3801
  function p(g) {
3802
- return g === 33 ? (e.consume(g), m) : g === 47 ? (e.consume(g), o = !0, x) : g === 63 ? (e.consume(g), i = 3, r.interrupt ? t : d) : je(g) ? (e.consume(g), l = String.fromCharCode(g), C) : n(g);
3802
+ return g === 33 ? (e.consume(g), m) : g === 47 ? (e.consume(g), o = !0, x) : g === 63 ? (e.consume(g), i = 3, r.interrupt ? t : d) : je(g) ? (e.consume(g), l = String.fromCharCode(g), S) : n(g);
3803
3803
  }
3804
3804
  function m(g) {
3805
3805
  return g === 45 ? (e.consume(g), i = 2, f) : g === 91 ? (e.consume(g), i = 5, a = 0, T) : je(g) ? (e.consume(g), i = 4, r.interrupt ? t : d) : n(g);
@@ -3812,26 +3812,26 @@ function Wu(e, t, n) {
3812
3812
  return g === oe.charCodeAt(a++) ? (e.consume(g), a === oe.length ? r.interrupt ? t : M : T) : n(g);
3813
3813
  }
3814
3814
  function x(g) {
3815
- return je(g) ? (e.consume(g), l = String.fromCharCode(g), C) : n(g);
3815
+ return je(g) ? (e.consume(g), l = String.fromCharCode(g), S) : n(g);
3816
3816
  }
3817
- function C(g) {
3818
- if (g === null || g === 47 || g === 62 || ge(g)) {
3817
+ function S(g) {
3818
+ if (g === null || g === 47 || g === 62 || me(g)) {
3819
3819
  const oe = g === 47, Ne = l.toLowerCase();
3820
- return !oe && !o && Xr.includes(Ne) ? (i = 1, r.interrupt ? t(g) : M(g)) : Yu.includes(l.toLowerCase()) ? (i = 6, oe ? (e.consume(g), b) : r.interrupt ? t(g) : M(g)) : (i = 7, r.interrupt && !r.parser.lazy[r.now().line] ? n(g) : o ? S(g) : I(g));
3820
+ return !oe && !o && Xr.includes(Ne) ? (i = 1, r.interrupt ? t(g) : M(g)) : Yu.includes(l.toLowerCase()) ? (i = 6, oe ? (e.consume(g), b) : r.interrupt ? t(g) : M(g)) : (i = 7, r.interrupt && !r.parser.lazy[r.now().line] ? n(g) : o ? C(g) : I(g));
3821
3821
  }
3822
- return g === 45 || ye(g) ? (e.consume(g), l += String.fromCharCode(g), C) : n(g);
3822
+ return g === 45 || Me(g) ? (e.consume(g), l += String.fromCharCode(g), S) : n(g);
3823
3823
  }
3824
3824
  function b(g) {
3825
3825
  return g === 62 ? (e.consume(g), r.interrupt ? t : M) : n(g);
3826
3826
  }
3827
- function S(g) {
3828
- return W(g) ? (e.consume(g), S) : $(g);
3827
+ function C(g) {
3828
+ return W(g) ? (e.consume(g), C) : $(g);
3829
3829
  }
3830
3830
  function I(g) {
3831
3831
  return g === 47 ? (e.consume(g), $) : g === 58 || g === 95 || je(g) ? (e.consume(g), Q) : W(g) ? (e.consume(g), I) : $(g);
3832
3832
  }
3833
3833
  function Q(g) {
3834
- return g === 45 || g === 46 || g === 58 || g === 95 || ye(g) ? (e.consume(g), Q) : B(g);
3834
+ return g === 45 || g === 46 || g === 58 || g === 95 || Me(g) ? (e.consume(g), Q) : B(g);
3835
3835
  }
3836
3836
  function B(g) {
3837
3837
  return g === 61 ? (e.consume(g), y) : W(g) ? (e.consume(g), B) : I(g);
@@ -3843,16 +3843,16 @@ function Wu(e, t, n) {
3843
3843
  return g === s ? (e.consume(g), s = null, q) : g === null || U(g) ? n(g) : (e.consume(g), O);
3844
3844
  }
3845
3845
  function R(g) {
3846
- return g === null || g === 34 || g === 39 || g === 47 || g === 60 || g === 61 || g === 62 || g === 96 || ge(g) ? B(g) : (e.consume(g), R);
3846
+ return g === null || g === 34 || g === 39 || g === 47 || g === 60 || g === 61 || g === 62 || g === 96 || me(g) ? B(g) : (e.consume(g), R);
3847
3847
  }
3848
3848
  function q(g) {
3849
3849
  return g === 47 || g === 62 || W(g) ? I(g) : n(g);
3850
3850
  }
3851
3851
  function $(g) {
3852
- return g === 62 ? (e.consume(g), k) : n(g);
3852
+ return g === 62 ? (e.consume(g), v) : n(g);
3853
3853
  }
3854
- function k(g) {
3855
- return g === null || U(g) ? M(g) : W(g) ? (e.consume(g), k) : n(g);
3854
+ function v(g) {
3855
+ return g === null || U(g) ? M(g) : W(g) ? (e.consume(g), v) : n(g);
3856
3856
  }
3857
3857
  function M(g) {
3858
3858
  return g === 45 && i === 2 ? (e.consume(g), _) : g === 60 && i === 1 ? (e.consume(g), Y) : g === 62 && i === 4 ? (e.consume(g), ie) : g === 63 && i === 3 ? (e.consume(g), d) : g === 93 && i === 5 ? (e.consume(g), K) : U(g) && (i === 6 || i === 7) ? (e.exit("htmlFlowData"), e.check(
@@ -3931,7 +3931,7 @@ function Xu(e, t, n) {
3931
3931
  return d === 33 ? (e.consume(d), u) : d === 47 ? (e.consume(d), B) : d === 63 ? (e.consume(d), I) : je(d) ? (e.consume(d), R) : n(d);
3932
3932
  }
3933
3933
  function u(d) {
3934
- return d === 45 ? (e.consume(d), c) : d === 91 ? (e.consume(d), o = 0, T) : je(d) ? (e.consume(d), S) : n(d);
3934
+ return d === 45 ? (e.consume(d), c) : d === 91 ? (e.consume(d), o = 0, T) : je(d) ? (e.consume(d), C) : n(d);
3935
3935
  }
3936
3936
  function c(d) {
3937
3937
  return d === 45 ? (e.consume(d), f) : n(d);
@@ -3950,16 +3950,16 @@ function Xu(e, t, n) {
3950
3950
  return d === ie.charCodeAt(o++) ? (e.consume(d), o === ie.length ? x : T) : n(d);
3951
3951
  }
3952
3952
  function x(d) {
3953
- return d === null ? n(d) : d === 93 ? (e.consume(d), C) : U(d) ? (l = x, Y(d)) : (e.consume(d), x);
3953
+ return d === null ? n(d) : d === 93 ? (e.consume(d), S) : U(d) ? (l = x, Y(d)) : (e.consume(d), x);
3954
3954
  }
3955
- function C(d) {
3955
+ function S(d) {
3956
3956
  return d === 93 ? (e.consume(d), b) : x(d);
3957
3957
  }
3958
3958
  function b(d) {
3959
3959
  return d === 62 ? _(d) : d === 93 ? (e.consume(d), b) : x(d);
3960
3960
  }
3961
- function S(d) {
3962
- return d === null || d === 62 ? _(d) : U(d) ? (l = S, Y(d)) : (e.consume(d), S);
3961
+ function C(d) {
3962
+ return d === null || d === 62 ? _(d) : U(d) ? (l = C, Y(d)) : (e.consume(d), C);
3963
3963
  }
3964
3964
  function I(d) {
3965
3965
  return d === null ? n(d) : d === 63 ? (e.consume(d), Q) : U(d) ? (l = I, Y(d)) : (e.consume(d), I);
@@ -3971,22 +3971,22 @@ function Xu(e, t, n) {
3971
3971
  return je(d) ? (e.consume(d), y) : n(d);
3972
3972
  }
3973
3973
  function y(d) {
3974
- return d === 45 || ye(d) ? (e.consume(d), y) : O(d);
3974
+ return d === 45 || Me(d) ? (e.consume(d), y) : O(d);
3975
3975
  }
3976
3976
  function O(d) {
3977
3977
  return U(d) ? (l = O, Y(d)) : W(d) ? (e.consume(d), O) : _(d);
3978
3978
  }
3979
3979
  function R(d) {
3980
- return d === 45 || ye(d) ? (e.consume(d), R) : d === 47 || d === 62 || ge(d) ? q(d) : n(d);
3980
+ return d === 45 || Me(d) ? (e.consume(d), R) : d === 47 || d === 62 || me(d) ? q(d) : n(d);
3981
3981
  }
3982
3982
  function q(d) {
3983
3983
  return d === 47 ? (e.consume(d), _) : d === 58 || d === 95 || je(d) ? (e.consume(d), $) : U(d) ? (l = q, Y(d)) : W(d) ? (e.consume(d), q) : _(d);
3984
3984
  }
3985
3985
  function $(d) {
3986
- return d === 45 || d === 46 || d === 58 || d === 95 || ye(d) ? (e.consume(d), $) : k(d);
3986
+ return d === 45 || d === 46 || d === 58 || d === 95 || Me(d) ? (e.consume(d), $) : v(d);
3987
3987
  }
3988
- function k(d) {
3989
- return d === 61 ? (e.consume(d), M) : U(d) ? (l = k, Y(d)) : W(d) ? (e.consume(d), k) : q(d);
3988
+ function v(d) {
3989
+ return d === 61 ? (e.consume(d), M) : U(d) ? (l = v, Y(d)) : W(d) ? (e.consume(d), v) : q(d);
3990
3990
  }
3991
3991
  function M(d) {
3992
3992
  return d === null || d === 60 || d === 61 || d === 62 || d === 96 ? n(d) : d === 34 || d === 39 ? (e.consume(d), i = d, N) : U(d) ? (l = M, Y(d)) : W(d) ? (e.consume(d), M) : (e.consume(d), A);
@@ -3995,10 +3995,10 @@ function Xu(e, t, n) {
3995
3995
  return d === i ? (e.consume(d), i = void 0, z) : d === null ? n(d) : U(d) ? (l = N, Y(d)) : (e.consume(d), N);
3996
3996
  }
3997
3997
  function A(d) {
3998
- return d === null || d === 34 || d === 39 || d === 60 || d === 61 || d === 96 ? n(d) : d === 47 || d === 62 || ge(d) ? q(d) : (e.consume(d), A);
3998
+ return d === null || d === 34 || d === 39 || d === 60 || d === 61 || d === 96 ? n(d) : d === 47 || d === 62 || me(d) ? q(d) : (e.consume(d), A);
3999
3999
  }
4000
4000
  function z(d) {
4001
- return d === 47 || d === 62 || ge(d) ? q(d) : n(d);
4001
+ return d === 47 || d === 62 || me(d) ? q(d) : n(d);
4002
4002
  }
4003
4003
  function _(d) {
4004
4004
  return d === 62 ? (e.consume(d), e.exit("htmlTextData"), e.exit("htmlText"), t) : n(d);
@@ -4132,7 +4132,7 @@ function os(e, t, n) {
4132
4132
  return e.enter("resource"), e.enter("resourceMarker"), e.consume(p), e.exit("resourceMarker"), i;
4133
4133
  }
4134
4134
  function i(p) {
4135
- return ge(p) ? lt(e, o)(p) : o(p);
4135
+ return me(p) ? lt(e, o)(p) : o(p);
4136
4136
  }
4137
4137
  function o(p) {
4138
4138
  return p === 41 ? c(p) : so(
@@ -4148,7 +4148,7 @@ function os(e, t, n) {
4148
4148
  )(p);
4149
4149
  }
4150
4150
  function l(p) {
4151
- return ge(p) ? lt(e, s)(p) : c(p);
4151
+ return me(p) ? lt(e, s)(p) : c(p);
4152
4152
  }
4153
4153
  function a(p) {
4154
4154
  return n(p);
@@ -4164,7 +4164,7 @@ function os(e, t, n) {
4164
4164
  )(p) : c(p);
4165
4165
  }
4166
4166
  function u(p) {
4167
- return ge(p) ? lt(e, c)(p) : c(p);
4167
+ return me(p) ? lt(e, c)(p) : c(p);
4168
4168
  }
4169
4169
  function c(p) {
4170
4170
  return p === 41 ? (e.enter("resourceMarker"), e.consume(p), e.exit("resourceMarker"), e.exit("resource"), t) : n(p);
@@ -4247,7 +4247,7 @@ function fs(e, t) {
4247
4247
  return e.enter("lineEnding"), e.consume(r), e.exit("lineEnding"), J(e, t, "linePrefix");
4248
4248
  }
4249
4249
  }
4250
- const Ct = {
4250
+ const St = {
4251
4251
  name: "thematicBreak",
4252
4252
  tokenize: ds
4253
4253
  };
@@ -4291,7 +4291,7 @@ function ms(e, t, n) {
4291
4291
  if (r.containerState.type || (r.containerState.type = T, e.enter(T, {
4292
4292
  _container: !0
4293
4293
  })), T === "listUnordered")
4294
- return e.enter("listItemPrefix"), f === 42 || f === 45 ? e.check(Ct, n, u)(f) : u(f);
4294
+ return e.enter("listItemPrefix"), f === 42 || f === 45 ? e.check(St, n, u)(f) : u(f);
4295
4295
  if (!r.interrupt || f === 49)
4296
4296
  return e.enter("listItemPrefix"), e.enter("listItemValue"), s(f);
4297
4297
  }
@@ -4461,7 +4461,7 @@ function Ts(e) {
4461
4461
  }
4462
4462
  const Is = {
4463
4463
  resolveAll: ho()
4464
- }, ks = fo("string"), vs = fo("text");
4464
+ }, vs = fo("string"), ks = fo("text");
4465
4465
  function fo(e) {
4466
4466
  return {
4467
4467
  tokenize: t,
@@ -4568,7 +4568,7 @@ function Es(e, t, n) {
4568
4568
  const i = {}, o = [];
4569
4569
  let l = [], a = [];
4570
4570
  const s = {
4571
- consume: S,
4571
+ consume: C,
4572
4572
  enter: I,
4573
4573
  exit: Q,
4574
4574
  attempt: O(B),
@@ -4590,60 +4590,60 @@ function Es(e, t, n) {
4590
4590
  };
4591
4591
  let c = t.tokenize.call(u, s);
4592
4592
  return t.resolveAll && o.push(t), u;
4593
- function p(k) {
4594
- return l = xe(l, k), C(), l[l.length - 1] !== null ? [] : (R(t, 0), u.events = Zn(o, u.events, u), u.events);
4593
+ function p(v) {
4594
+ return l = xe(l, v), S(), l[l.length - 1] !== null ? [] : (R(t, 0), u.events = Zn(o, u.events, u), u.events);
4595
4595
  }
4596
- function m(k, M) {
4597
- return Ss(f(k), M);
4596
+ function m(v, M) {
4597
+ return Cs(f(v), M);
4598
4598
  }
4599
- function f(k) {
4600
- return Cs(l, k);
4599
+ function f(v) {
4600
+ return Ss(l, v);
4601
4601
  }
4602
4602
  function T() {
4603
- const { line: k, column: M, offset: N, _index: A, _bufferIndex: z } = r;
4603
+ const { line: v, column: M, offset: N, _index: A, _bufferIndex: z } = r;
4604
4604
  return {
4605
- line: k,
4605
+ line: v,
4606
4606
  column: M,
4607
4607
  offset: N,
4608
4608
  _index: A,
4609
4609
  _bufferIndex: z
4610
4610
  };
4611
4611
  }
4612
- function x(k) {
4613
- i[k.line] = k.column, $();
4612
+ function x(v) {
4613
+ i[v.line] = v.column, $();
4614
4614
  }
4615
- function C() {
4616
- let k;
4615
+ function S() {
4616
+ let v;
4617
4617
  for (; r._index < l.length; ) {
4618
4618
  const M = l[r._index];
4619
4619
  if (typeof M == "string")
4620
- for (k = r._index, r._bufferIndex < 0 && (r._bufferIndex = 0); r._index === k && r._bufferIndex < M.length; )
4620
+ for (v = r._index, r._bufferIndex < 0 && (r._bufferIndex = 0); r._index === v && r._bufferIndex < M.length; )
4621
4621
  b(M.charCodeAt(r._bufferIndex));
4622
4622
  else
4623
4623
  b(M);
4624
4624
  }
4625
4625
  }
4626
- function b(k) {
4627
- c = c(k);
4626
+ function b(v) {
4627
+ c = c(v);
4628
4628
  }
4629
- function S(k) {
4630
- U(k) ? (r.line++, r.column = 1, r.offset += k === -3 ? 2 : 1, $()) : k !== -1 && (r.column++, r.offset++), r._bufferIndex < 0 ? r._index++ : (r._bufferIndex++, r._bufferIndex === l[r._index].length && (r._bufferIndex = -1, r._index++)), u.previous = k;
4629
+ function C(v) {
4630
+ U(v) ? (r.line++, r.column = 1, r.offset += v === -3 ? 2 : 1, $()) : v !== -1 && (r.column++, r.offset++), r._bufferIndex < 0 ? r._index++ : (r._bufferIndex++, r._bufferIndex === l[r._index].length && (r._bufferIndex = -1, r._index++)), u.previous = v;
4631
4631
  }
4632
- function I(k, M) {
4632
+ function I(v, M) {
4633
4633
  const N = M || {};
4634
- return N.type = k, N.start = T(), u.events.push(["enter", N, u]), a.push(N), N;
4634
+ return N.type = v, N.start = T(), u.events.push(["enter", N, u]), a.push(N), N;
4635
4635
  }
4636
- function Q(k) {
4636
+ function Q(v) {
4637
4637
  const M = a.pop();
4638
4638
  return M.end = T(), u.events.push(["exit", M, u]), M;
4639
4639
  }
4640
- function B(k, M) {
4641
- R(k, M.from);
4640
+ function B(v, M) {
4641
+ R(v, M.from);
4642
4642
  }
4643
- function y(k, M) {
4643
+ function y(v, M) {
4644
4644
  M.restore();
4645
4645
  }
4646
- function O(k, M) {
4646
+ function O(v, M) {
4647
4647
  return N;
4648
4648
  function N(A, z, _) {
4649
4649
  let Y, V, K, d;
@@ -4681,36 +4681,36 @@ function Es(e, t, n) {
4681
4681
  }
4682
4682
  }
4683
4683
  function oe(Z) {
4684
- return k(K, d), z;
4684
+ return v(K, d), z;
4685
4685
  }
4686
4686
  function Ne(Z) {
4687
4687
  return d.restore(), ++V < Y.length ? g(Y[V]) : _;
4688
4688
  }
4689
4689
  }
4690
4690
  }
4691
- function R(k, M) {
4692
- k.resolveAll && !o.includes(k) && o.push(k), k.resolve && Ee(
4691
+ function R(v, M) {
4692
+ v.resolveAll && !o.includes(v) && o.push(v), v.resolve && Ee(
4693
4693
  u.events,
4694
4694
  M,
4695
4695
  u.events.length - M,
4696
- k.resolve(u.events.slice(M), u)
4697
- ), k.resolveTo && (u.events = k.resolveTo(u.events, u));
4696
+ v.resolve(u.events.slice(M), u)
4697
+ ), v.resolveTo && (u.events = v.resolveTo(u.events, u));
4698
4698
  }
4699
4699
  function q() {
4700
- const k = T(), M = u.previous, N = u.currentConstruct, A = u.events.length, z = Array.from(a);
4700
+ const v = T(), M = u.previous, N = u.currentConstruct, A = u.events.length, z = Array.from(a);
4701
4701
  return {
4702
4702
  restore: _,
4703
4703
  from: A
4704
4704
  };
4705
4705
  function _() {
4706
- r = k, u.previous = M, u.currentConstruct = N, u.events.length = A, a = z, $();
4706
+ r = v, u.previous = M, u.currentConstruct = N, u.events.length = A, a = z, $();
4707
4707
  }
4708
4708
  }
4709
4709
  function $() {
4710
4710
  r.line in i && r.column < 2 && (r.column = i[r.line], r.offset += i[r.line] - 1);
4711
4711
  }
4712
4712
  }
4713
- function Cs(e, t) {
4713
+ function Ss(e, t) {
4714
4714
  const n = t.start._index, r = t.start._bufferIndex, i = t.end._index, o = t.end._bufferIndex;
4715
4715
  let l;
4716
4716
  if (n === i)
@@ -4724,7 +4724,7 @@ function Cs(e, t) {
4724
4724
  }
4725
4725
  return l;
4726
4726
  }
4727
- function Ss(e, t) {
4727
+ function Cs(e, t) {
4728
4728
  let n = -1;
4729
4729
  const r = [];
4730
4730
  let i;
@@ -4789,11 +4789,11 @@ const As = {
4789
4789
  32: yn
4790
4790
  }, Ls = {
4791
4791
  35: Uu,
4792
- 42: Ct,
4793
- 45: [Jr, Ct],
4792
+ 42: St,
4793
+ 45: [Jr, St],
4794
4794
  60: Hu,
4795
4795
  61: Jr,
4796
- 95: Ct,
4796
+ 95: St,
4797
4797
  96: Kr,
4798
4798
  126: Kr
4799
4799
  }, Ps = {
@@ -4841,8 +4841,8 @@ function Qs(e) {
4841
4841
  content: i(iu),
4842
4842
  document: i(lu),
4843
4843
  flow: i(Ns),
4844
- string: i(ks),
4845
- text: i(vs)
4844
+ string: i(vs),
4845
+ text: i(ks)
4846
4846
  };
4847
4847
  return r;
4848
4848
  function i(o) {
@@ -4945,20 +4945,20 @@ function Zs(e) {
4945
4945
  canContainEols: ["emphasis", "fragment", "heading", "paragraph", "strong"],
4946
4946
  enter: {
4947
4947
  autolink: a(yt),
4948
- autolinkProtocol: k,
4949
- autolinkEmail: k,
4948
+ autolinkProtocol: v,
4949
+ autolinkEmail: v,
4950
4950
  atxHeading: a(gt),
4951
4951
  blockQuote: a(Ze),
4952
- characterEscape: k,
4953
- characterReference: k,
4952
+ characterEscape: v,
4953
+ characterReference: v,
4954
4954
  codeFenced: a(Pe),
4955
4955
  codeFencedFenceInfo: s,
4956
4956
  codeFencedFenceMeta: s,
4957
4957
  codeIndented: a(Pe, s),
4958
4958
  codeText: a(Ge, s),
4959
- codeTextData: k,
4960
- data: k,
4961
- codeFlowValue: k,
4959
+ codeTextData: v,
4960
+ data: v,
4961
+ codeFlowValue: v,
4962
4962
  definition: a(nn),
4963
4963
  definitionDestinationString: s,
4964
4964
  definitionLabelString: s,
@@ -4966,10 +4966,10 @@ function Zs(e) {
4966
4966
  emphasis: a(rn),
4967
4967
  hardBreakEscape: a(mt),
4968
4968
  hardBreakTrailing: a(mt),
4969
- htmlFlow: a(Ce, s),
4970
- htmlFlowData: k,
4971
- htmlText: a(Ce, s),
4972
- htmlTextData: k,
4969
+ htmlFlow: a(Se, s),
4970
+ htmlFlowData: v,
4971
+ htmlText: a(Se, s),
4972
+ htmlTextData: v,
4973
4973
  image: a(on),
4974
4974
  label: s,
4975
4975
  link: a(yt),
@@ -4997,10 +4997,10 @@ function Zs(e) {
4997
4997
  characterReferenceMarkerHexadecimal: ce,
4998
4998
  characterReferenceMarkerNumeric: ce,
4999
4999
  characterReferenceValue: ne,
5000
- codeFenced: c(S),
5000
+ codeFenced: c(C),
5001
5001
  codeFencedFence: b,
5002
5002
  codeFencedFenceInfo: x,
5003
- codeFencedFenceMeta: C,
5003
+ codeFencedFenceMeta: S,
5004
5004
  codeFlowValue: M,
5005
5005
  codeIndented: c(I),
5006
5006
  codeText: c(Y),
@@ -5082,14 +5082,14 @@ function Zs(e) {
5082
5082
  (re[1] || ti).call(F, void 0, re[0]);
5083
5083
  }
5084
5084
  for (j.position = {
5085
- start: Se(
5085
+ start: Ce(
5086
5086
  D.length > 0 ? D[0][1].start : {
5087
5087
  line: 1,
5088
5088
  column: 1,
5089
5089
  offset: 0
5090
5090
  }
5091
5091
  ),
5092
- end: Se(
5092
+ end: Ce(
5093
5093
  D.length > 0 ? D[D.length - 2][1].end : {
5094
5094
  line: 1,
5095
5095
  column: 1,
@@ -5152,7 +5152,7 @@ function Zs(e) {
5152
5152
  }
5153
5153
  function u(D, j, F) {
5154
5154
  return this.stack[this.stack.length - 1].children.push(D), this.stack.push(D), this.tokenStack.push([j, F]), D.position = {
5155
- start: Se(j.start)
5155
+ start: Ce(j.start)
5156
5156
  }, D;
5157
5157
  }
5158
5158
  function c(D) {
@@ -5172,7 +5172,7 @@ function Zs(e) {
5172
5172
  end: D.end
5173
5173
  }) + "): it’s not open"
5174
5174
  );
5175
- return F.position.end = Se(D.end), F;
5175
+ return F.position.end = Ce(D.end), F;
5176
5176
  }
5177
5177
  function m() {
5178
5178
  return Va(this.stack.pop());
@@ -5190,14 +5190,14 @@ function Zs(e) {
5190
5190
  const D = this.resume(), j = this.stack[this.stack.length - 1];
5191
5191
  j.lang = D;
5192
5192
  }
5193
- function C() {
5193
+ function S() {
5194
5194
  const D = this.resume(), j = this.stack[this.stack.length - 1];
5195
5195
  j.meta = D;
5196
5196
  }
5197
5197
  function b() {
5198
5198
  l("flowCodeInside") || (this.buffer(), o("flowCodeInside", !0));
5199
5199
  }
5200
- function S() {
5200
+ function C() {
5201
5201
  const D = this.resume(), j = this.stack[this.stack.length - 1];
5202
5202
  j.value = D.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g, ""), o("flowCodeInside");
5203
5203
  }
@@ -5236,25 +5236,25 @@ function Zs(e) {
5236
5236
  function $() {
5237
5237
  o("setextHeadingSlurpLineEnding");
5238
5238
  }
5239
- function k(D) {
5239
+ function v(D) {
5240
5240
  const j = this.stack[this.stack.length - 1];
5241
5241
  let F = j.children[j.children.length - 1];
5242
5242
  (!F || F.type !== "text") && (F = xt(), F.position = {
5243
- start: Se(D.start)
5243
+ start: Ce(D.start)
5244
5244
  }, j.children.push(F)), this.stack.push(F);
5245
5245
  }
5246
5246
  function M(D) {
5247
5247
  const j = this.stack.pop();
5248
- j.value += this.sliceSerialize(D), j.position.end = Se(D.end);
5248
+ j.value += this.sliceSerialize(D), j.position.end = Ce(D.end);
5249
5249
  }
5250
5250
  function N(D) {
5251
5251
  const j = this.stack[this.stack.length - 1];
5252
5252
  if (l("atHardBreak")) {
5253
5253
  const F = j.children[j.children.length - 1];
5254
- F.position.end = Se(D.end), o("atHardBreak");
5254
+ F.position.end = Ce(D.end), o("atHardBreak");
5255
5255
  return;
5256
5256
  }
5257
- !l("setextHeadingSlurpLineEnding") && t.canContainEols.includes(j.type) && (k.call(this, D), M.call(this, D));
5257
+ !l("setextHeadingSlurpLineEnding") && t.canContainEols.includes(j.type) && (v.call(this, D), M.call(this, D));
5258
5258
  }
5259
5259
  function A() {
5260
5260
  o("atHardBreak", !0);
@@ -5332,7 +5332,7 @@ function Zs(e) {
5332
5332
  F === "characterReferenceMarkerNumeric" ? 10 : 16
5333
5333
  ), o("characterReferenceType")) : E = Gn(j);
5334
5334
  const L = this.stack.pop();
5335
- L.value += E, L.position.end = Se(D.end);
5335
+ L.value += E, L.position.end = Ce(D.end);
5336
5336
  }
5337
5337
  function ue(D) {
5338
5338
  M.call(this, D);
@@ -5391,7 +5391,7 @@ function Zs(e) {
5391
5391
  type: "break"
5392
5392
  };
5393
5393
  }
5394
- function Ce() {
5394
+ function Se() {
5395
5395
  return {
5396
5396
  type: "html",
5397
5397
  value: ""
@@ -5454,7 +5454,7 @@ function Zs(e) {
5454
5454
  };
5455
5455
  }
5456
5456
  }
5457
- function Se(e) {
5457
+ function Ce(e) {
5458
5458
  return {
5459
5459
  line: e.line,
5460
5460
  column: e.column,
@@ -5568,7 +5568,7 @@ function Ve(e) {
5568
5568
  for (; ++n < e.length; ) {
5569
5569
  const o = e.charCodeAt(n);
5570
5570
  let l = "";
5571
- if (o === 37 && ye(e.charCodeAt(n + 1)) && ye(e.charCodeAt(n + 2)))
5571
+ if (o === 37 && Me(e.charCodeAt(n + 1)) && Me(e.charCodeAt(n + 2)))
5572
5572
  i = 2;
5573
5573
  else if (o < 128)
5574
5574
  /[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o)) || (l = String.fromCharCode(o));
@@ -5939,9 +5939,9 @@ const Do = (
5939
5939
  if (e == null)
5940
5940
  return jc;
5941
5941
  if (typeof e == "string")
5942
- return vc(e);
5942
+ return kc(e);
5943
5943
  if (typeof e == "object")
5944
- return Array.isArray(e) ? Ic(e) : kc(e);
5944
+ return Array.isArray(e) ? Ic(e) : vc(e);
5945
5945
  if (typeof e == "function")
5946
5946
  return Yt(e);
5947
5947
  throw new Error("Expected function, string, or object as test");
@@ -5961,7 +5961,7 @@ function Ic(e) {
5961
5961
  return !1;
5962
5962
  }
5963
5963
  }
5964
- function kc(e) {
5964
+ function vc(e) {
5965
5965
  return Yt(t);
5966
5966
  function t(n) {
5967
5967
  let r;
@@ -5971,7 +5971,7 @@ function kc(e) {
5971
5971
  return !0;
5972
5972
  }
5973
5973
  }
5974
- function vc(e) {
5974
+ function kc(e) {
5975
5975
  return Yt(t);
5976
5976
  function t(n) {
5977
5977
  return n && n.type === e;
@@ -5986,7 +5986,7 @@ function Yt(e) {
5986
5986
  function jc() {
5987
5987
  return !0;
5988
5988
  }
5989
- const Ec = !0, oi = !1, Cc = "skip", Sc = (
5989
+ const Ec = !0, oi = !1, Sc = "skip", Cc = (
5990
5990
  /**
5991
5991
  * @type {(
5992
5992
  * (<Tree extends Node, Check extends Test>(tree: Tree, test: Check, visitor: BuildVisitor<Tree, Check>, reverse?: boolean | null | undefined) => void) &
@@ -6023,7 +6023,7 @@ const Ec = !0, oi = !1, Cc = "skip", Sc = (
6023
6023
  let m = [], f, T, x;
6024
6024
  if ((!t || i(a, s, u[u.length - 1] || null)) && (m = Ac(n(a, u)), m[0] === oi))
6025
6025
  return m;
6026
- if (a.children && m[0] !== Cc)
6026
+ if (a.children && m[0] !== Sc)
6027
6027
  for (T = (r ? a.children.length : -1) + o, x = u.concat(a); T > -1 && T < a.children.length; ) {
6028
6028
  if (f = l(a.children[T], T, x)(), f[0] === oi)
6029
6029
  return f;
@@ -6052,7 +6052,7 @@ const er = (
6052
6052
  * @returns {void}
6053
6053
  */
6054
6054
  function(e, t, n, r) {
6055
- typeof t == "function" && typeof n != "function" && (r = n, n = t, t = null), Sc(e, t, i, r);
6055
+ typeof t == "function" && typeof n != "function" && (r = n, n = t, t = null), Cc(e, t, i, r);
6056
6056
  function i(o, l) {
6057
6057
  const a = l[l.length - 1];
6058
6058
  return n(
@@ -6319,7 +6319,7 @@ we.prototype.commaOrSpaceSeparated = !1;
6319
6319
  we.prototype.mustUseProperty = !1;
6320
6320
  we.prototype.defined = !1;
6321
6321
  let qc = 0;
6322
- const H = Qe(), le = Qe(), ko = Qe(), v = Qe(), X = Qe(), qe = Qe(), me = Qe();
6322
+ const H = Qe(), le = Qe(), vo = Qe(), k = Qe(), X = Qe(), qe = Qe(), ye = Qe();
6323
6323
  function Qe() {
6324
6324
  return 2 ** ++qc;
6325
6325
  }
@@ -6327,10 +6327,10 @@ const Fn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6327
6327
  __proto__: null,
6328
6328
  boolean: H,
6329
6329
  booleanish: le,
6330
- commaOrSpaceSeparated: me,
6330
+ commaOrSpaceSeparated: ye,
6331
6331
  commaSeparated: qe,
6332
- number: v,
6333
- overloadedBoolean: ko,
6332
+ number: k,
6333
+ overloadedBoolean: vo,
6334
6334
  spaceSeparated: X
6335
6335
  }, Symbol.toStringTag, { value: "Module" })), xn = Object.keys(Fn);
6336
6336
  class nr extends we {
@@ -6370,7 +6370,7 @@ function We(e) {
6370
6370
  }
6371
6371
  return new ht(t, n, e.space);
6372
6372
  }
6373
- const vo = We({
6373
+ const ko = We({
6374
6374
  space: "xlink",
6375
6375
  transform(e, t) {
6376
6376
  return "xlink:" + t.slice(5).toLowerCase();
@@ -6394,13 +6394,13 @@ const vo = We({
6394
6394
  function Eo(e, t) {
6395
6395
  return t in e ? e[t] : t;
6396
6396
  }
6397
- function Co(e, t) {
6397
+ function So(e, t) {
6398
6398
  return Eo(e, t.toLowerCase());
6399
6399
  }
6400
- const So = We({
6400
+ const Co = We({
6401
6401
  space: "xmlns",
6402
6402
  attributes: { xmlnsxlink: "xmlns:xlink" },
6403
- transform: Co,
6403
+ transform: So,
6404
6404
  properties: { xmlns: null, xmlnsXLink: null }
6405
6405
  }), Ao = We({
6406
6406
  transform(e, t) {
@@ -6412,9 +6412,9 @@ const So = We({
6412
6412
  ariaAutoComplete: null,
6413
6413
  ariaBusy: le,
6414
6414
  ariaChecked: le,
6415
- ariaColCount: v,
6416
- ariaColIndex: v,
6417
- ariaColSpan: v,
6415
+ ariaColCount: k,
6416
+ ariaColIndex: k,
6417
+ ariaColSpan: k,
6418
6418
  ariaControls: X,
6419
6419
  ariaCurrent: null,
6420
6420
  ariaDescribedBy: X,
@@ -6431,7 +6431,7 @@ const So = We({
6431
6431
  ariaKeyShortcuts: null,
6432
6432
  ariaLabel: null,
6433
6433
  ariaLabelledBy: X,
6434
- ariaLevel: v,
6434
+ ariaLevel: k,
6435
6435
  ariaLive: null,
6436
6436
  ariaModal: le,
6437
6437
  ariaMultiLine: le,
@@ -6439,21 +6439,21 @@ const So = We({
6439
6439
  ariaOrientation: null,
6440
6440
  ariaOwns: X,
6441
6441
  ariaPlaceholder: null,
6442
- ariaPosInSet: v,
6442
+ ariaPosInSet: k,
6443
6443
  ariaPressed: le,
6444
6444
  ariaReadOnly: le,
6445
6445
  ariaRelevant: null,
6446
6446
  ariaRequired: le,
6447
6447
  ariaRoleDescription: X,
6448
- ariaRowCount: v,
6449
- ariaRowIndex: v,
6450
- ariaRowSpan: v,
6448
+ ariaRowCount: k,
6449
+ ariaRowIndex: k,
6450
+ ariaRowSpan: k,
6451
6451
  ariaSelected: le,
6452
- ariaSetSize: v,
6452
+ ariaSetSize: k,
6453
6453
  ariaSort: null,
6454
- ariaValueMax: v,
6455
- ariaValueMin: v,
6456
- ariaValueNow: v,
6454
+ ariaValueMax: k,
6455
+ ariaValueMin: k,
6456
+ ariaValueNow: k,
6457
6457
  ariaValueText: null,
6458
6458
  role: null
6459
6459
  }
@@ -6465,7 +6465,7 @@ const So = We({
6465
6465
  htmlfor: "for",
6466
6466
  httpequiv: "http-equiv"
6467
6467
  },
6468
- transform: Co,
6468
+ transform: So,
6469
6469
  mustUseProperty: ["checked", "multiple", "muted", "selected"],
6470
6470
  properties: {
6471
6471
  // Standard Properties.
@@ -6491,13 +6491,13 @@ const So = We({
6491
6491
  checked: H,
6492
6492
  cite: null,
6493
6493
  className: X,
6494
- cols: v,
6494
+ cols: k,
6495
6495
  colSpan: null,
6496
6496
  content: null,
6497
6497
  contentEditable: le,
6498
6498
  controls: H,
6499
6499
  controlsList: X,
6500
- coords: v | qe,
6500
+ coords: k | qe,
6501
6501
  crossOrigin: null,
6502
6502
  data: null,
6503
6503
  dateTime: null,
@@ -6507,7 +6507,7 @@ const So = We({
6507
6507
  dir: null,
6508
6508
  dirName: null,
6509
6509
  disabled: H,
6510
- download: ko,
6510
+ download: vo,
6511
6511
  draggable: le,
6512
6512
  encType: null,
6513
6513
  enterKeyHint: null,
@@ -6519,9 +6519,9 @@ const So = We({
6519
6519
  formNoValidate: H,
6520
6520
  formTarget: null,
6521
6521
  headers: X,
6522
- height: v,
6522
+ height: k,
6523
6523
  hidden: H,
6524
- high: v,
6524
+ high: k,
6525
6525
  href: null,
6526
6526
  hrefLang: null,
6527
6527
  htmlFor: X,
@@ -6546,14 +6546,14 @@ const So = We({
6546
6546
  list: null,
6547
6547
  loading: null,
6548
6548
  loop: H,
6549
- low: v,
6549
+ low: k,
6550
6550
  manifest: null,
6551
6551
  max: null,
6552
- maxLength: v,
6552
+ maxLength: k,
6553
6553
  media: null,
6554
6554
  method: null,
6555
6555
  min: null,
6556
- minLength: v,
6556
+ minLength: k,
6557
6557
  multiple: H,
6558
6558
  muted: H,
6559
6559
  name: null,
@@ -6649,7 +6649,7 @@ const So = We({
6649
6649
  onWaiting: null,
6650
6650
  onWheel: null,
6651
6651
  open: H,
6652
- optimum: v,
6652
+ optimum: k,
6653
6653
  pattern: null,
6654
6654
  ping: X,
6655
6655
  placeholder: null,
@@ -6664,8 +6664,8 @@ const So = We({
6664
6664
  rel: X,
6665
6665
  required: H,
6666
6666
  reversed: H,
6667
- rows: v,
6668
- rowSpan: v,
6667
+ rows: k,
6668
+ rowSpan: k,
6669
6669
  sandbox: X,
6670
6670
  scope: null,
6671
6671
  scoped: H,
@@ -6674,19 +6674,19 @@ const So = We({
6674
6674
  shadowRootDelegatesFocus: H,
6675
6675
  shadowRootMode: null,
6676
6676
  shape: null,
6677
- size: v,
6677
+ size: k,
6678
6678
  sizes: null,
6679
6679
  slot: null,
6680
- span: v,
6680
+ span: k,
6681
6681
  spellCheck: le,
6682
6682
  src: null,
6683
6683
  srcDoc: null,
6684
6684
  srcLang: null,
6685
6685
  srcSet: null,
6686
- start: v,
6686
+ start: k,
6687
6687
  step: null,
6688
6688
  style: null,
6689
- tabIndex: v,
6689
+ tabIndex: k,
6690
6690
  target: null,
6691
6691
  title: null,
6692
6692
  translate: null,
@@ -6694,7 +6694,7 @@ const So = We({
6694
6694
  typeMustMatch: H,
6695
6695
  useMap: null,
6696
6696
  value: le,
6697
- width: v,
6697
+ width: k,
6698
6698
  wrap: null,
6699
6699
  // Legacy.
6700
6700
  // See: https://html.spec.whatwg.org/#other-elements,-attributes-and-apis
@@ -6710,11 +6710,11 @@ const So = We({
6710
6710
  // `<body>`. Use CSS `background-image` instead
6711
6711
  bgColor: null,
6712
6712
  // `<body>` and table elements. Use CSS `background-color` instead
6713
- border: v,
6713
+ border: k,
6714
6714
  // `<table>`. Use CSS `border-width` instead,
6715
6715
  borderColor: null,
6716
6716
  // `<table>`. Use CSS `border-color` instead,
6717
- bottomMargin: v,
6717
+ bottomMargin: k,
6718
6718
  // `<body>`
6719
6719
  cellPadding: null,
6720
6720
  // `<table>`
@@ -6748,9 +6748,9 @@ const So = We({
6748
6748
  // `<table>`
6749
6749
  frameBorder: null,
6750
6750
  // `<iframe>`. Use CSS `border` instead
6751
- hSpace: v,
6751
+ hSpace: k,
6752
6752
  // `<img>` and `<object>`
6753
- leftMargin: v,
6753
+ leftMargin: k,
6754
6754
  // `<body>`
6755
6755
  link: null,
6756
6756
  // `<body>`. Use CSS `a:link {color: *}` instead
@@ -6758,9 +6758,9 @@ const So = We({
6758
6758
  // `<frame>`, `<iframe>`, and `<img>`. Use an `<a>`
6759
6759
  lowSrc: null,
6760
6760
  // `<img>`. Use a `<picture>`
6761
- marginHeight: v,
6761
+ marginHeight: k,
6762
6762
  // `<body>`
6763
- marginWidth: v,
6763
+ marginWidth: k,
6764
6764
  // `<body>`
6765
6765
  noResize: H,
6766
6766
  // `<frame>`
@@ -6778,7 +6778,7 @@ const So = We({
6778
6778
  // `<isindex>`
6779
6779
  rev: null,
6780
6780
  // `<link>`
6781
- rightMargin: v,
6781
+ rightMargin: k,
6782
6782
  // `<body>`
6783
6783
  rules: null,
6784
6784
  // `<table>`
@@ -6792,7 +6792,7 @@ const So = We({
6792
6792
  // `<table>`
6793
6793
  text: null,
6794
6794
  // `<body>`. Use CSS `color` instead
6795
- topMargin: v,
6795
+ topMargin: k,
6796
6796
  // `<body>`
6797
6797
  valueType: null,
6798
6798
  // `<param>`
@@ -6802,7 +6802,7 @@ const So = We({
6802
6802
  // Several. Use CSS `vertical-align` instead
6803
6803
  vLink: null,
6804
6804
  // `<body>`. Use CSS `a:visited {color}` instead
6805
- vSpace: v,
6805
+ vSpace: k,
6806
6806
  // `<img>` and `<object>`
6807
6807
  // Non-standard Properties.
6808
6808
  allowTransparency: null,
@@ -6812,7 +6812,7 @@ const So = We({
6812
6812
  disableRemotePlayback: H,
6813
6813
  prefix: null,
6814
6814
  property: null,
6815
- results: v,
6815
+ results: k,
6816
6816
  security: null,
6817
6817
  unselectable: null
6818
6818
  }
@@ -6995,28 +6995,28 @@ const So = We({
6995
6995
  },
6996
6996
  transform: Eo,
6997
6997
  properties: {
6998
- about: me,
6999
- accentHeight: v,
6998
+ about: ye,
6999
+ accentHeight: k,
7000
7000
  accumulate: null,
7001
7001
  additive: null,
7002
7002
  alignmentBaseline: null,
7003
- alphabetic: v,
7004
- amplitude: v,
7003
+ alphabetic: k,
7004
+ amplitude: k,
7005
7005
  arabicForm: null,
7006
- ascent: v,
7006
+ ascent: k,
7007
7007
  attributeName: null,
7008
7008
  attributeType: null,
7009
- azimuth: v,
7009
+ azimuth: k,
7010
7010
  bandwidth: null,
7011
7011
  baselineShift: null,
7012
7012
  baseFrequency: null,
7013
7013
  baseProfile: null,
7014
7014
  bbox: null,
7015
7015
  begin: null,
7016
- bias: v,
7016
+ bias: k,
7017
7017
  by: null,
7018
7018
  calcMode: null,
7019
- capHeight: v,
7019
+ capHeight: k,
7020
7020
  className: X,
7021
7021
  clip: null,
7022
7022
  clipPath: null,
@@ -7037,26 +7037,26 @@ const So = We({
7037
7037
  d: null,
7038
7038
  dataType: null,
7039
7039
  defaultAction: null,
7040
- descent: v,
7041
- diffuseConstant: v,
7040
+ descent: k,
7041
+ diffuseConstant: k,
7042
7042
  direction: null,
7043
7043
  display: null,
7044
7044
  dur: null,
7045
- divisor: v,
7045
+ divisor: k,
7046
7046
  dominantBaseline: null,
7047
7047
  download: H,
7048
7048
  dx: null,
7049
7049
  dy: null,
7050
7050
  edgeMode: null,
7051
7051
  editable: null,
7052
- elevation: v,
7052
+ elevation: k,
7053
7053
  enableBackground: null,
7054
7054
  end: null,
7055
7055
  event: null,
7056
- exponent: v,
7056
+ exponent: k,
7057
7057
  externalResourcesRequired: null,
7058
7058
  fill: null,
7059
- fillOpacity: v,
7059
+ fillOpacity: k,
7060
7060
  fillRule: null,
7061
7061
  filter: null,
7062
7062
  filterRes: null,
@@ -7086,28 +7086,28 @@ const So = We({
7086
7086
  gradientTransform: null,
7087
7087
  gradientUnits: null,
7088
7088
  handler: null,
7089
- hanging: v,
7089
+ hanging: k,
7090
7090
  hatchContentUnits: null,
7091
7091
  hatchUnits: null,
7092
7092
  height: null,
7093
7093
  href: null,
7094
7094
  hrefLang: null,
7095
- horizAdvX: v,
7096
- horizOriginX: v,
7097
- horizOriginY: v,
7095
+ horizAdvX: k,
7096
+ horizOriginX: k,
7097
+ horizOriginY: k,
7098
7098
  id: null,
7099
- ideographic: v,
7099
+ ideographic: k,
7100
7100
  imageRendering: null,
7101
7101
  initialVisibility: null,
7102
7102
  in: null,
7103
7103
  in2: null,
7104
- intercept: v,
7105
- k: v,
7106
- k1: v,
7107
- k2: v,
7108
- k3: v,
7109
- k4: v,
7110
- kernelMatrix: me,
7104
+ intercept: k,
7105
+ k,
7106
+ k1: k,
7107
+ k2: k,
7108
+ k3: k,
7109
+ k4: k,
7110
+ kernelMatrix: ye,
7111
7111
  kernelUnitLength: null,
7112
7112
  keyPoints: null,
7113
7113
  // SEMI_COLON_SEPARATED
@@ -7120,7 +7120,7 @@ const So = We({
7120
7120
  lengthAdjust: null,
7121
7121
  letterSpacing: null,
7122
7122
  lightingColor: null,
7123
- limitingConeAngle: v,
7123
+ limitingConeAngle: k,
7124
7124
  local: null,
7125
7125
  markerEnd: null,
7126
7126
  markerMid: null,
@@ -7136,7 +7136,7 @@ const So = We({
7136
7136
  media: null,
7137
7137
  mediaCharacterEncoding: null,
7138
7138
  mediaContentEncodings: null,
7139
- mediaSize: v,
7139
+ mediaSize: k,
7140
7140
  mediaTime: null,
7141
7141
  method: null,
7142
7142
  min: null,
@@ -7242,12 +7242,12 @@ const So = We({
7242
7242
  origin: null,
7243
7243
  overflow: null,
7244
7244
  overlay: null,
7245
- overlinePosition: v,
7246
- overlineThickness: v,
7245
+ overlinePosition: k,
7246
+ overlineThickness: k,
7247
7247
  paintOrder: null,
7248
7248
  panose1: null,
7249
7249
  path: null,
7250
- pathLength: v,
7250
+ pathLength: k,
7251
7251
  patternContentUnits: null,
7252
7252
  patternTransform: null,
7253
7253
  patternUnits: null,
@@ -7257,28 +7257,28 @@ const So = We({
7257
7257
  playbackOrder: null,
7258
7258
  pointerEvents: null,
7259
7259
  points: null,
7260
- pointsAtX: v,
7261
- pointsAtY: v,
7262
- pointsAtZ: v,
7260
+ pointsAtX: k,
7261
+ pointsAtY: k,
7262
+ pointsAtZ: k,
7263
7263
  preserveAlpha: null,
7264
7264
  preserveAspectRatio: null,
7265
7265
  primitiveUnits: null,
7266
7266
  propagate: null,
7267
- property: me,
7267
+ property: ye,
7268
7268
  r: null,
7269
7269
  radius: null,
7270
7270
  referrerPolicy: null,
7271
7271
  refX: null,
7272
7272
  refY: null,
7273
- rel: me,
7274
- rev: me,
7273
+ rel: ye,
7274
+ rev: ye,
7275
7275
  renderingIntent: null,
7276
7276
  repeatCount: null,
7277
7277
  repeatDur: null,
7278
- requiredExtensions: me,
7279
- requiredFeatures: me,
7280
- requiredFonts: me,
7281
- requiredFormats: me,
7278
+ requiredExtensions: ye,
7279
+ requiredFeatures: ye,
7280
+ requiredFonts: ye,
7281
+ requiredFormats: ye,
7282
7282
  resource: null,
7283
7283
  restart: null,
7284
7284
  result: null,
@@ -7291,8 +7291,8 @@ const So = We({
7291
7291
  side: null,
7292
7292
  slope: null,
7293
7293
  snapshotTime: null,
7294
- specularConstant: v,
7295
- specularExponent: v,
7294
+ specularConstant: k,
7295
+ specularExponent: k,
7296
7296
  spreadMethod: null,
7297
7297
  spacing: null,
7298
7298
  startOffset: null,
@@ -7302,30 +7302,30 @@ const So = We({
7302
7302
  stitchTiles: null,
7303
7303
  stopColor: null,
7304
7304
  stopOpacity: null,
7305
- strikethroughPosition: v,
7306
- strikethroughThickness: v,
7305
+ strikethroughPosition: k,
7306
+ strikethroughThickness: k,
7307
7307
  string: null,
7308
7308
  stroke: null,
7309
- strokeDashArray: me,
7309
+ strokeDashArray: ye,
7310
7310
  strokeDashOffset: null,
7311
7311
  strokeLineCap: null,
7312
7312
  strokeLineJoin: null,
7313
- strokeMiterLimit: v,
7314
- strokeOpacity: v,
7313
+ strokeMiterLimit: k,
7314
+ strokeOpacity: k,
7315
7315
  strokeWidth: null,
7316
7316
  style: null,
7317
- surfaceScale: v,
7317
+ surfaceScale: k,
7318
7318
  syncBehavior: null,
7319
7319
  syncBehaviorDefault: null,
7320
7320
  syncMaster: null,
7321
7321
  syncTolerance: null,
7322
7322
  syncToleranceDefault: null,
7323
- systemLanguage: me,
7324
- tabIndex: v,
7323
+ systemLanguage: ye,
7324
+ tabIndex: k,
7325
7325
  tableValues: null,
7326
7326
  target: null,
7327
- targetX: v,
7328
- targetY: v,
7327
+ targetX: k,
7328
+ targetY: k,
7329
7329
  textAnchor: null,
7330
7330
  textDecoration: null,
7331
7331
  textRendering: null,
@@ -7334,28 +7334,28 @@ const So = We({
7334
7334
  title: null,
7335
7335
  transformBehavior: null,
7336
7336
  type: null,
7337
- typeOf: me,
7337
+ typeOf: ye,
7338
7338
  to: null,
7339
7339
  transform: null,
7340
7340
  transformOrigin: null,
7341
7341
  u1: null,
7342
7342
  u2: null,
7343
- underlinePosition: v,
7344
- underlineThickness: v,
7343
+ underlinePosition: k,
7344
+ underlineThickness: k,
7345
7345
  unicode: null,
7346
7346
  unicodeBidi: null,
7347
7347
  unicodeRange: null,
7348
- unitsPerEm: v,
7348
+ unitsPerEm: k,
7349
7349
  values: null,
7350
- vAlphabetic: v,
7351
- vMathematical: v,
7350
+ vAlphabetic: k,
7351
+ vMathematical: k,
7352
7352
  vectorEffect: null,
7353
- vHanging: v,
7354
- vIdeographic: v,
7353
+ vHanging: k,
7354
+ vIdeographic: k,
7355
7355
  version: null,
7356
- vertAdvY: v,
7357
- vertOriginX: v,
7358
- vertOriginY: v,
7356
+ vertAdvY: k,
7357
+ vertOriginX: k,
7358
+ vertOriginY: k,
7359
7359
  viewBox: null,
7360
7360
  viewTarget: null,
7361
7361
  visibility: null,
@@ -7367,7 +7367,7 @@ const So = We({
7367
7367
  x1: null,
7368
7368
  x2: null,
7369
7369
  xChannelSelector: null,
7370
- xHeight: v,
7370
+ xHeight: k,
7371
7371
  y: null,
7372
7372
  y1: null,
7373
7373
  y2: null,
@@ -7420,7 +7420,7 @@ const ci = {
7420
7420
  xLinkTitle: "xlinkTitle",
7421
7421
  xLinkType: "xlinkType",
7422
7422
  xmlnsXLink: "xmlnsXlink"
7423
- }, ep = Io([jo, vo, So, Ao, Vc], "html"), tp = Io([jo, vo, So, Ao, Wc], "svg");
7423
+ }, ep = Io([jo, ko, Co, Ao, Vc], "html"), tp = Io([jo, ko, Co, Ao, Wc], "svg");
7424
7424
  function np(e) {
7425
7425
  if (e.allowedElements && e.disallowedElements)
7426
7426
  throw new TypeError(
@@ -7572,8 +7572,8 @@ var or = { exports: {} }, pi = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, cp = /\n/g, pp
7572
7572
  function i(T) {
7573
7573
  var x = T.match(cp);
7574
7574
  x && (n += x.length);
7575
- var C = T.lastIndexOf(yp);
7576
- r = ~C ? T.length - C : r + T.length;
7575
+ var S = T.lastIndexOf(yp);
7576
+ r = ~S ? T.length - S : r + T.length;
7577
7577
  }
7578
7578
  function o() {
7579
7579
  var T = { line: n, column: r };
@@ -7595,8 +7595,8 @@ var or = { exports: {} }, pi = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, cp = /\n/g, pp
7595
7595
  function s(T) {
7596
7596
  var x = T.exec(e);
7597
7597
  if (x) {
7598
- var C = x[0];
7599
- return i(C), e = e.slice(C.length), x;
7598
+ var S = x[0];
7599
+ return i(S), e = e.slice(S.length), x;
7600
7600
  }
7601
7601
  }
7602
7602
  function u() {
@@ -7615,10 +7615,10 @@ var or = { exports: {} }, pi = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, cp = /\n/g, pp
7615
7615
  ++x;
7616
7616
  if (x += 2, Re === e.charAt(x - 1))
7617
7617
  return a("End of comment missing");
7618
- var C = e.slice(2, x - 2);
7619
- return r += 2, i(C), e = e.slice(x), r += 2, T({
7618
+ var S = e.slice(2, x - 2);
7619
+ return r += 2, i(S), e = e.slice(x), r += 2, T({
7620
7620
  type: Mp,
7621
- comment: C
7621
+ comment: S
7622
7622
  });
7623
7623
  }
7624
7624
  }
@@ -7627,10 +7627,10 @@ var or = { exports: {} }, pi = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, cp = /\n/g, pp
7627
7627
  if (x) {
7628
7628
  if (p(), !s(dp))
7629
7629
  return a("property missing ':'");
7630
- var C = s(hp), b = T({
7630
+ var S = s(hp), b = T({
7631
7631
  type: xp,
7632
7632
  property: hi(x[0].replace(pi, Re)),
7633
- value: C ? hi(C[0].replace(pi, Re)) : Re
7633
+ value: S ? hi(S[0].replace(pi, Re)) : Re
7634
7634
  });
7635
7635
  return s(gp), b;
7636
7636
  }
@@ -7668,11 +7668,11 @@ function Po(e, t) {
7668
7668
  return n;
7669
7669
  }
7670
7670
  function Ip(e, t, n, r) {
7671
- const i = e.options, o = i.transformLinkUri === void 0 ? ka : i.transformLinkUri, l = e.schema, a = t.tagName, s = {};
7671
+ const i = e.options, o = i.transformLinkUri === void 0 ? va : i.transformLinkUri, l = e.schema, a = t.tagName, s = {};
7672
7672
  let u = l, c;
7673
7673
  if (l.space === "html" && a === "svg" && (u = tp, e.schema = u), t.properties)
7674
7674
  for (c in t.properties)
7675
- Rn.call(t.properties, c) && vp(s, c, t.properties[c], e);
7675
+ Rn.call(t.properties, c) && kp(s, c, t.properties[c], e);
7676
7676
  (a === "ol" || a === "ul") && e.listDepth++;
7677
7677
  const p = Po(e, t);
7678
7678
  (a === "ol" || a === "ul") && e.listDepth--, e.schema = l;
@@ -7697,12 +7697,12 @@ function Ip(e, t, n, r) {
7697
7697
  String(s.alt || ""),
7698
7698
  typeof s.title == "string" ? s.title : null
7699
7699
  )), !T && a === "li" && r.type === "element") {
7700
- const x = kp(t);
7700
+ const x = vp(t);
7701
7701
  s.checked = x && x.properties ? !!x.properties.checked : null, s.index = bn(r, t), s.ordered = r.tagName === "ol";
7702
7702
  }
7703
- return !T && (a === "ol" || a === "ul") && (s.ordered = a === "ol", s.depth = e.listDepth), (a === "td" || a === "th") && (s.align && (s.style || (s.style = {}), s.style.textAlign = s.align, delete s.align), T || (s.isHeader = a === "th")), !T && a === "tr" && r.type === "element" && (s.isHeader = r.tagName === "thead"), i.sourcePos && (s["data-sourcepos"] = Cp(m)), !T && i.rawSourcePos && (s.sourcePosition = t.position), !T && i.includeElementIndex && (s.index = bn(r, t), s.siblingCount = bn(r)), T || (s.node = t), p.length > 0 ? de.createElement(f, s, p) : de.createElement(f, s);
7703
+ return !T && (a === "ol" || a === "ul") && (s.ordered = a === "ol", s.depth = e.listDepth), (a === "td" || a === "th") && (s.align && (s.style || (s.style = {}), s.style.textAlign = s.align, delete s.align), T || (s.isHeader = a === "th")), !T && a === "tr" && r.type === "element" && (s.isHeader = r.tagName === "thead"), i.sourcePos && (s["data-sourcepos"] = Sp(m)), !T && i.rawSourcePos && (s.sourcePosition = t.position), !T && i.includeElementIndex && (s.index = bn(r, t), s.siblingCount = bn(r)), T || (s.node = t), p.length > 0 ? de.createElement(f, s, p) : de.createElement(f, s);
7704
7704
  }
7705
- function kp(e) {
7705
+ function vp(e) {
7706
7706
  let t = -1;
7707
7707
  for (; ++t < e.children.length; ) {
7708
7708
  const n = e.children[t];
@@ -7717,7 +7717,7 @@ function bn(e, t) {
7717
7717
  e.children[n].type === "element" && r++;
7718
7718
  return r;
7719
7719
  }
7720
- function vp(e, t, n, r) {
7720
+ function kp(e, t, n, r) {
7721
7721
  const i = Kc(r.schema, t);
7722
7722
  let o = n;
7723
7723
  o == null || o !== o || (Array.isArray(o) && (o = i.commaSeparated ? sp(o) : up(o)), i.property === "style" && typeof o == "string" && (o = jp(o)), i.space && i.property ? e[Rn.call(ci, i.property) ? ci[i.property] : i.property] = o : i.attribute && (e[i.attribute] = o));
@@ -7737,7 +7737,7 @@ function jp(e) {
7737
7737
  function Ep(e, t) {
7738
7738
  return t.toUpperCase();
7739
7739
  }
7740
- function Cp(e) {
7740
+ function Sp(e) {
7741
7741
  return [
7742
7742
  e.start.line,
7743
7743
  ":",
@@ -7748,7 +7748,7 @@ function Cp(e) {
7748
7748
  e.end.column
7749
7749
  ].map(String).join("");
7750
7750
  }
7751
- const gi = {}.hasOwnProperty, Sp = "https://github.com/remarkjs/react-markdown/blob/main/changelog.md", Tt = {
7751
+ const gi = {}.hasOwnProperty, Cp = "https://github.com/remarkjs/react-markdown/blob/main/changelog.md", Tt = {
7752
7752
  plugins: { to: "remarkPlugins", id: "change-plugins-to-remarkplugins" },
7753
7753
  renderers: { to: "components", id: "change-renderers-to-components" },
7754
7754
  astPlugins: { id: "remove-buggy-html-in-markdown-parser" },
@@ -7777,7 +7777,7 @@ function Fo(e) {
7777
7777
  if (gi.call(Tt, o) && gi.call(e, o)) {
7778
7778
  const l = Tt[o];
7779
7779
  console.warn(
7780
- `[react-markdown] Warning: please ${l.to ? `use \`${l.to}\` instead of` : "remove"} \`${o}\` (see <${Sp}#${l.id}> for more info)`
7780
+ `[react-markdown] Warning: please ${l.to ? `use \`${l.to}\` instead of` : "remove"} \`${o}\` (see <${Cp}#${l.id}> for more info)`
7781
7781
  ), delete Tt[o];
7782
7782
  }
7783
7783
  const t = Qa().use(Ks).use(e.remarkPlugins || []).use(Qc, {
@@ -7980,7 +7980,7 @@ lr.propTypes = {
7980
7980
  lr.displayName = "AssistantMessageBubble";
7981
7981
  const Lp = lr, ar = ({ configurations: e }) => {
7982
7982
  const t = Oe(null);
7983
- return Me(() => {
7983
+ return ge(() => {
7984
7984
  var n;
7985
7985
  (n = t == null ? void 0 : t.current) == null || n.focus();
7986
7986
  }, []), /* @__PURE__ */ w.jsxs(
@@ -8099,7 +8099,7 @@ const _p = cr, en = ({
8099
8099
  }) => {
8100
8100
  var u;
8101
8101
  const s = Oe(null);
8102
- return Me(() => {
8102
+ return ge(() => {
8103
8103
  var c;
8104
8104
  (c = s.current) == null || c.scrollIntoView({
8105
8105
  behavior: "instant",
@@ -8482,7 +8482,7 @@ var Qo = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
8482
8482
  if (n = n || {}, !t)
8483
8483
  throw new Error("No node provided");
8484
8484
  return Ue.call(t, zt) === !1 ? !1 : _n(n, t);
8485
- }, nf = /* @__PURE__ */ Qo.concat("iframe").join(","), St = function(t, n) {
8485
+ }, nf = /* @__PURE__ */ Qo.concat("iframe").join(","), Ct = function(t, n) {
8486
8486
  if (n = n || {}, !t)
8487
8487
  throw new Error("No node provided");
8488
8488
  return Ue.call(t, nf) === !1 ? !1 : Ft(n, t);
@@ -8491,7 +8491,7 @@ const rf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8491
8491
  __proto__: null,
8492
8492
  focusable: Zo,
8493
8493
  getTabIndex: Ae,
8494
- isFocusable: St,
8494
+ isFocusable: Ct,
8495
8495
  isTabbable: Fe,
8496
8496
  tabbable: Wo
8497
8497
  }, Symbol.toStringTag, { value: "Module" }));
@@ -8657,7 +8657,7 @@ var xi = {
8657
8657
  var M = c("initialFocus");
8658
8658
  if (M === !1)
8659
8659
  return !1;
8660
- if (M === void 0 || !St(M, o.tabbableOptions))
8660
+ if (M === void 0 || !Ct(M, o.tabbableOptions))
8661
8661
  if (u(r.activeElement) >= 0)
8662
8662
  M = r.activeElement;
8663
8663
  else {
@@ -8722,14 +8722,14 @@ var xi = {
8722
8722
  return M.posTabIndexesFound;
8723
8723
  }) && l.containerGroups.length > 1)
8724
8724
  throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.");
8725
- }, f = function k(M) {
8725
+ }, f = function v(M) {
8726
8726
  var N = M.activeElement;
8727
8727
  if (N)
8728
- return N.shadowRoot && N.shadowRoot.activeElement !== null ? k(N.shadowRoot) : N;
8729
- }, T = function k(M) {
8728
+ return N.shadowRoot && N.shadowRoot.activeElement !== null ? v(N.shadowRoot) : N;
8729
+ }, T = function v(M) {
8730
8730
  if (M !== !1 && M !== f(document)) {
8731
8731
  if (!M || !M.focus) {
8732
- k(p());
8732
+ v(p());
8733
8733
  return;
8734
8734
  }
8735
8735
  M.focus({
@@ -8739,7 +8739,7 @@ var xi = {
8739
8739
  }, x = function(M) {
8740
8740
  var N = c("setReturnFocus", M);
8741
8741
  return N || (N === !1 ? !1 : M);
8742
- }, C = function(M) {
8742
+ }, S = function(M) {
8743
8743
  var N = M.target, A = M.event, z = M.isBackward, _ = z === void 0 ? !1 : z;
8744
8744
  N = N || It(A), m();
8745
8745
  var Y = null;
@@ -8752,7 +8752,7 @@ var xi = {
8752
8752
  var ce = Z.firstTabbableNode;
8753
8753
  return N === ce;
8754
8754
  });
8755
- if (d < 0 && (K.container === N || St(N, o.tabbableOptions) && !Fe(N, o.tabbableOptions) && !K.nextTabbableNode(N, !1)) && (d = V), d >= 0) {
8755
+ if (d < 0 && (K.container === N || Ct(N, o.tabbableOptions) && !Fe(N, o.tabbableOptions) && !K.nextTabbableNode(N, !1)) && (d = V), d >= 0) {
8756
8756
  var ie = d === 0 ? l.tabbableGroups.length - 1 : d - 1, ae = l.tabbableGroups[ie];
8757
8757
  Y = Ae(N) >= 0 ? ae.lastTabbableNode : ae.lastDomTabbableNode;
8758
8758
  } else
@@ -8762,7 +8762,7 @@ var xi = {
8762
8762
  var ce = Z.lastTabbableNode;
8763
8763
  return N === ce;
8764
8764
  });
8765
- if (g < 0 && (K.container === N || St(N, o.tabbableOptions) && !Fe(N, o.tabbableOptions) && !K.nextTabbableNode(N)) && (g = V), g >= 0) {
8765
+ if (g < 0 && (K.container === N || Ct(N, o.tabbableOptions) && !Fe(N, o.tabbableOptions) && !K.nextTabbableNode(N)) && (g = V), g >= 0) {
8766
8766
  var oe = g === l.tabbableGroups.length - 1 ? 0 : g + 1, Ne = l.tabbableGroups[oe];
8767
8767
  Y = Ae(N) >= 0 ? Ne.firstTabbableNode : Ne.firstDomTabbableNode;
8768
8768
  } else
@@ -8788,7 +8788,7 @@ var xi = {
8788
8788
  }
8789
8789
  et(o.allowOutsideClick, M) || M.preventDefault();
8790
8790
  }
8791
- }, S = function(M) {
8791
+ }, C = function(M) {
8792
8792
  var N = It(M), A = u(N, M) >= 0;
8793
8793
  if (A || N instanceof Document)
8794
8794
  A && (l.mostRecentlyFocusedNode = N);
@@ -8812,7 +8812,7 @@ var xi = {
8812
8812
  }) || (_ = !1);
8813
8813
  else
8814
8814
  _ = !1;
8815
- _ && (z = C({
8815
+ _ && (z = S({
8816
8816
  // move FROM the MRU node, not event-related node (which will be the node that is
8817
8817
  // outside the trap causing the focus escape we're trying to fix)
8818
8818
  target: l.mostRecentlyFocusedNode,
@@ -8823,7 +8823,7 @@ var xi = {
8823
8823
  }, I = function(M) {
8824
8824
  var N = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
8825
8825
  l.recentNavEvent = M;
8826
- var A = C({
8826
+ var A = S({
8827
8827
  event: M,
8828
8828
  isBackward: N
8829
8829
  });
@@ -8841,7 +8841,7 @@ var xi = {
8841
8841
  if (l.active)
8842
8842
  return xi.activateTrap(i, a), l.delayInitialFocusTimer = o.delayInitialFocus ? bi(function() {
8843
8843
  T(p());
8844
- }) : T(p()), r.addEventListener("focusin", S, !0), r.addEventListener("mousedown", b, {
8844
+ }) : T(p()), r.addEventListener("focusin", C, !0), r.addEventListener("mousedown", b, {
8845
8845
  capture: !0,
8846
8846
  passive: !1
8847
8847
  }), r.addEventListener("touchstart", b, {
@@ -8856,7 +8856,7 @@ var xi = {
8856
8856
  }), a;
8857
8857
  }, O = function() {
8858
8858
  if (l.active)
8859
- return r.removeEventListener("focusin", S, !0), r.removeEventListener("mousedown", b, !0), r.removeEventListener("touchstart", b, !0), r.removeEventListener("click", B, !0), r.removeEventListener("keydown", Q, !0), a;
8859
+ return r.removeEventListener("focusin", C, !0), r.removeEventListener("mousedown", b, !0), r.removeEventListener("touchstart", b, !0), r.removeEventListener("click", B, !0), r.removeEventListener("keydown", Q, !0), a;
8860
8860
  }, R = function(M) {
8861
8861
  var N = M.some(function(A) {
8862
8862
  var z = Array.from(A.removedNodes);
@@ -9023,7 +9023,7 @@ function Tf(e, t) {
9023
9023
  }
9024
9024
  return (t === "string" ? String : Number)(e);
9025
9025
  }
9026
- var kt = de, P = Si, If = gf, kf = If.createFocusTrap, vf = mf, jf = vf.isFocusable, pr = /* @__PURE__ */ function(e) {
9026
+ var vt = de, P = Ci, If = gf, vf = If.createFocusTrap, kf = mf, jf = kf.isFocusable, pr = /* @__PURE__ */ function(e) {
9027
9027
  xf(n, e);
9028
9028
  var t = bf(n);
9029
9029
  function n(r) {
@@ -9195,14 +9195,14 @@ var kt = de, P = Si, If = gf, kf = If.createFocusTrap, vf = mf, jf = vf.isFocusa
9195
9195
  }, {
9196
9196
  key: "render",
9197
9197
  value: function() {
9198
- var i = this, o = this.props.children ? kt.Children.only(this.props.children) : void 0;
9198
+ var i = this, o = this.props.children ? vt.Children.only(this.props.children) : void 0;
9199
9199
  if (o) {
9200
- if (o.type && o.type === kt.Fragment)
9200
+ if (o.type && o.type === vt.Fragment)
9201
9201
  throw new Error("A focus-trap cannot use a Fragment as its child container. Try replacing it with a <div> element.");
9202
9202
  var l = function(u) {
9203
9203
  var c = i.props.containerElements;
9204
9204
  o && (typeof o.ref == "function" ? o.ref(u) : o.ref && (o.ref.current = u)), i.focusTrapElements = c || [u];
9205
- }, a = kt.cloneElement(o, {
9205
+ }, a = vt.cloneElement(o, {
9206
9206
  ref: l
9207
9207
  });
9208
9208
  return a;
@@ -9210,7 +9210,7 @@ var kt = de, P = Si, If = gf, kf = If.createFocusTrap, vf = mf, jf = vf.isFocusa
9210
9210
  return null;
9211
9211
  }
9212
9212
  }]), n;
9213
- }(kt.Component), tt = typeof Element > "u" ? Function : Element;
9213
+ }(vt.Component), tt = typeof Element > "u" ? Function : Element;
9214
9214
  pr.propTypes = {
9215
9215
  active: P.bool,
9216
9216
  paused: P.bool,
@@ -9263,11 +9263,23 @@ pr.defaultProps = {
9263
9263
  active: !0,
9264
9264
  paused: !1,
9265
9265
  focusTrapOptions: {},
9266
- _createFocusTrap: kf
9266
+ _createFocusTrap: vf
9267
9267
  };
9268
9268
  var Ef = pr;
9269
- const Cf = /* @__PURE__ */ Be(Ef);
9270
- const Sf = 991;
9269
+ const Sf = /* @__PURE__ */ Be(Ef), Cf = (e) => {
9270
+ const t = () => {
9271
+ document.body.style.overflow = "hidden";
9272
+ }, n = () => {
9273
+ document.body.style.overflow = "unset";
9274
+ };
9275
+ ge(() => {
9276
+ const r = e == null ? void 0 : e.current;
9277
+ return r == null || r.addEventListener("mouseover", t), r == null || r.addEventListener("mouseout", n), () => {
9278
+ n(), r == null || r.removeEventListener("mouseover", t), r == null || r.removeEventListener("mouseout", n);
9279
+ };
9280
+ }, [e]);
9281
+ }, Af = Cf;
9282
+ const Of = 991;
9271
9283
  function tn({
9272
9284
  style: e,
9273
9285
  className: t,
@@ -9275,9 +9287,9 @@ function tn({
9275
9287
  isNormalSize: r,
9276
9288
  isMounted: i
9277
9289
  }) {
9278
- const o = ft(Sf), l = Oe(null);
9279
- return /* @__PURE__ */ w.jsx(
9280
- Cf,
9290
+ const o = ft(Of), l = Oe(null);
9291
+ return Af(l), /* @__PURE__ */ w.jsx(
9292
+ Sf,
9281
9293
  {
9282
9294
  focusTrapOptions: {
9283
9295
  clickOutsideDeactivates: !0,
@@ -9321,7 +9333,7 @@ tn.defaultProps = {
9321
9333
  isNormalSize: !0,
9322
9334
  isMounted: !1
9323
9335
  };
9324
- const Af = {
9336
+ const zf = {
9325
9337
  Groups: "material-symbols:groups",
9326
9338
  Compass: "mdi:compass-outline",
9327
9339
  InfoOutline: "material-symbols:info-outline"
@@ -9357,7 +9369,7 @@ function Ko({
9357
9369
  /* @__PURE__ */ w.jsx("div", { className: "xpert-chatbot-popup__disclaimer__compass-icon", children: /* @__PURE__ */ w.jsx(
9358
9370
  ze,
9359
9371
  {
9360
- icon: Af[c.icon],
9372
+ icon: zf[c.icon],
9361
9373
  style: { fontSize: "1.75rem" }
9362
9374
  }
9363
9375
  ) }),
@@ -9435,7 +9447,7 @@ Ko.propTypes = {
9435
9447
  };
9436
9448
  const Xo = () => {
9437
9449
  const e = Oe(null);
9438
- return Me(() => {
9450
+ return ge(() => {
9439
9451
  var t;
9440
9452
  (t = e.current) == null || t.scrollIntoView({
9441
9453
  behavior: "instant"
@@ -9489,7 +9501,7 @@ const Xo = () => {
9489
9501
  children: "Oops! Something went wrong"
9490
9502
  }
9491
9503
  ),
9492
- /* @__PURE__ */ w.jsx("span", { style: { marginBottom: "1.5rem", color: "red" }, children: "Please check your internet connection and try again." })
9504
+ /* @__PURE__ */ w.jsx("span", { style: { marginBottom: "1.5rem", color: "red" }, children: "Please try again later." })
9493
9505
  ]
9494
9506
  }
9495
9507
  )
@@ -9500,7 +9512,7 @@ const Xo = () => {
9500
9512
  Xo.propTypes = {
9501
9513
  errorRef: h.shape({ current: h.instanceOf(Object) }).isRequired
9502
9514
  };
9503
- const wn = Xo, Of = 991;
9515
+ const wn = Xo, Lf = 991;
9504
9516
  function fr({
9505
9517
  label: e,
9506
9518
  className: t,
@@ -9509,7 +9521,7 @@ function fr({
9509
9521
  children: i,
9510
9522
  ...o
9511
9523
  }) {
9512
- const l = ft(Of);
9524
+ const l = ft(Lf);
9513
9525
  return /* @__PURE__ */ w.jsx(
9514
9526
  "button",
9515
9527
  {
@@ -9540,7 +9552,7 @@ fr.defaultProps = {
9540
9552
  className: "",
9541
9553
  style: {}
9542
9554
  };
9543
- const zf = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgLTk2MCA5NjAgOTYwIiB3aWR0aD0iMjQiPjxwYXRoIGQ9Ik00NDAtMTIwdi04MGgzMjB2LTI4NHEwLTExNy04MS41LTE5OC41VDQ4MC03NjRxLTExNyAwLTE5OC41IDgxLjVUMjAwLTQ4NHYyNDRoLTQwcS0zMyAwLTU2LjUtMjMuNVQ4MC0zMjB2LTgwcTAtMjEgMTAuNS0zOS41VDEyMC00NjlsMy01M3E4LTY4IDM5LjUtMTI2dDc5LTEwMXE0Ny41LTQzIDEwOS02N1Q0ODAtODQwcTY4IDAgMTI5IDI0dDEwOSA2Ni41UTc2Ni03MDcgNzk3LTY0OXQ0MCAxMjZsMyA1MnExOSA5IDI5LjUgMjd0MTAuNSAzOHY5MnEwIDIwLTEwLjUgMzhUODQwLTI0OXY0OXEwIDMzLTIzLjUgNTYuNVQ3NjAtMTIwSDQ0MFptLTgwLTI4MHEtMTcgMC0yOC41LTExLjVUMzIwLTQ0MHEwLTE3IDExLjUtMjguNVQzNjAtNDgwcTE3IDAgMjguNSAxMS41VDQwMC00NDBxMCAxNy0xMS41IDI4LjVUMzYwLTQwMFptMjQwIDBxLTE3IDAtMjguNS0xMS41VDU2MC00NDBxMC0xNyAxMS41LTI4LjVUNjAwLTQ4MHExNyAwIDI4LjUgMTEuNVQ2NDAtNDQwcTAgMTctMTEuNSAyOC41VDYwMC00MDBabS0zNTktNjJxLTctMTA2IDY0LTE4MnQxNzctNzZxODkgMCAxNTYuNSA1Ni41VDcyMC01MTlxLTkxLTEtMTY3LjUtNDlUNDM1LTY5OHEtMTYgODAtNjcuNSAxNDIuNVQyNDEtNDYyWiIvPjwvc3ZnPg==";
9555
+ const Pf = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgLTk2MCA5NjAgOTYwIiB3aWR0aD0iMjQiPjxwYXRoIGQ9Ik00NDAtMTIwdi04MGgzMjB2LTI4NHEwLTExNy04MS41LTE5OC41VDQ4MC03NjRxLTExNyAwLTE5OC41IDgxLjVUMjAwLTQ4NHYyNDRoLTQwcS0zMyAwLTU2LjUtMjMuNVQ4MC0zMjB2LTgwcTAtMjEgMTAuNS0zOS41VDEyMC00NjlsMy01M3E4LTY4IDM5LjUtMTI2dDc5LTEwMXE0Ny41LTQzIDEwOS02N1Q0ODAtODQwcTY4IDAgMTI5IDI0dDEwOSA2Ni41UTc2Ni03MDcgNzk3LTY0OXQ0MCAxMjZsMyA1MnExOSA5IDI5LjUgMjd0MTAuNSAzOHY5MnEwIDIwLTEwLjUgMzhUODQwLTI0OXY0OXEwIDMzLTIzLjUgNTYuNVQ3NjAtMTIwSDQ0MFptLTgwLTI4MHEtMTcgMC0yOC41LTExLjVUMzIwLTQ0MHEwLTE3IDExLjUtMjguNVQzNjAtNDgwcTE3IDAgMjguNSAxMS41VDQwMC00NDBxMCAxNy0xMS41IDI4LjVUMzYwLTQwMFptMjQwIDBxLTE3IDAtMjguNS0xMS41VDU2MC00NDBxMC0xNyAxMS41LTI4LjVUNjAwLTQ4MHExNyAwIDI4LjUgMTEuNVQ2NDAtNDQwcTAgMTctMTEuNSAyOC41VDYwMC00MDBabS0zNTktNjJxLTctMTA2IDY0LTE4MnQxNzctNzZxODkgMCAxNTYuNSA1Ni41VDcyMC01MTlxLTkxLTEtMTY3LjUtNDlUNDM1LTY5OHEtMTYgODAtNjcuNSAxNDIuNVQyNDEtNDYyWiIvPjwvc3ZnPg==";
9544
9556
  function dr({
9545
9557
  configurations: e,
9546
9558
  submitEvent: t,
@@ -9550,10 +9562,10 @@ function dr({
9550
9562
  const [i, o] = se(!0), l = ut(
9551
9563
  (u) => {
9552
9564
  var c, p, m, f;
9553
- ((c = u == null ? void 0 : u.data) == null ? void 0 : c.who) === "customer" && (!(window != null && window.OnetrustActiveGroups) || (p = window == null ? void 0 : window.OnetrustActiveGroups) != null && p.includes("C0003")) && ke.set(`${e.cookieNamePrefix}-live-chat-open`, 1, {
9565
+ ((c = u == null ? void 0 : u.data) == null ? void 0 : c.who) === "customer" && (!(window != null && window.OnetrustActiveGroups) || (p = window == null ? void 0 : window.OnetrustActiveGroups) != null && p.includes("C0003")) && ve.set(`${e.cookieNamePrefix}-live-chat-open`, 1, {
9554
9566
  expires: 1,
9555
9567
  path: "/"
9556
- }), ((m = u == null ? void 0 : u.data) == null ? void 0 : m.type) === "connection" && ((f = u == null ? void 0 : u.data) == null ? void 0 : f.state) === "disconnected" && ke.remove(`${e.cookieNamePrefix}-live-chat-open`);
9568
+ }), ((m = u == null ? void 0 : u.data) == null ? void 0 : m.type) === "connection" && ((f = u == null ? void 0 : u.data) == null ? void 0 : f.state) === "disconnected" && ve.remove(`${e.cookieNamePrefix}-live-chat-open`);
9557
9569
  },
9558
9570
  [e.cookieNamePrefix]
9559
9571
  ), a = ut(
@@ -9563,7 +9575,7 @@ function dr({
9563
9575
  },
9564
9576
  [n]
9565
9577
  );
9566
- Me(() => {
9578
+ ge(() => {
9567
9579
  const u = document.createElement("script");
9568
9580
  u.type = "text/javascript", u.src = e.liveChatUrl, u.async = !0, u.onload = () => {
9569
9581
  window.Five9ChatPlugin(e.liveChatOptions);
@@ -9618,7 +9630,7 @@ function dr({
9618
9630
  {
9619
9631
  height: "24px",
9620
9632
  width: "24px",
9621
- src: zf,
9633
+ src: Pf,
9622
9634
  alt: "Open live chat window icon"
9623
9635
  }
9624
9636
  )
@@ -9648,7 +9660,7 @@ dr.defaultProps = {
9648
9660
  };
9649
9661
  function Jo({ disableScroll: e }) {
9650
9662
  const t = Oe(null);
9651
- return Me(() => {
9663
+ return ge(() => {
9652
9664
  var n;
9653
9665
  e || (n = t.current) == null || n.scrollIntoView({
9654
9666
  behavior: "smooth",
@@ -9674,17 +9686,17 @@ Jo.propTypes = {
9674
9686
  };
9675
9687
  function hr(e) {
9676
9688
  var s;
9677
- const [t, n] = se(!0), [r, i] = se(!1), o = t && (!(window != null && window.OnetrustActiveGroups) || ((s = window == null ? void 0 : window.OnetrustActiveGroups) == null ? void 0 : s.includes("C0003"))) && ke.get(e.cookieName) === void 0;
9678
- Me(() => {
9689
+ const [t, n] = se(!0), [r, i] = se(!1), o = t && (!(window != null && window.OnetrustActiveGroups) || ((s = window == null ? void 0 : window.OnetrustActiveGroups) == null ? void 0 : s.includes("C0003"))) && ve.get(e.cookieName) === void 0;
9690
+ ge(() => {
9679
9691
  var u;
9680
9692
  (u = window == null ? void 0 : window.OneTrust) == null || u.OnConsentChanged(() => {
9681
9693
  var c;
9682
- !((c = window == null ? void 0 : window.OnetrustActiveGroups) != null && c.includes("C0003")) && ke.get(e.cookieName) !== void 0 && ke.remove(e.cookieName);
9694
+ !((c = window == null ? void 0 : window.OnetrustActiveGroups) != null && c.includes("C0003")) && ve.get(e.cookieName) !== void 0 && ve.remove(e.cookieName);
9683
9695
  });
9684
- }, [e.cookieName]), Me(() => {
9696
+ }, [e.cookieName]), ge(() => {
9685
9697
  var u;
9686
9698
  e.showMessage || (!(window != null && window.OnetrustActiveGroups) || (u = window == null ? void 0 : window.OnetrustActiveGroups) != null && u.includes("C0003")) && a(e.cookieName, 1, 1);
9687
- }, [e.showMessage, e.cookieName]), Me(() => {
9699
+ }, [e.showMessage, e.cookieName]), ge(() => {
9688
9700
  if (e.proactiveMessageDelay > 0) {
9689
9701
  const u = setTimeout(() => {
9690
9702
  i(!0);
@@ -9701,7 +9713,7 @@ function hr(e) {
9701
9713
  expires: p,
9702
9714
  path: "/"
9703
9715
  };
9704
- ke.set(u, c, m);
9716
+ ve.set(u, c, m);
9705
9717
  };
9706
9718
  return r ? /* @__PURE__ */ w.jsx("div", { children: o && /* @__PURE__ */ w.jsxs(
9707
9719
  "div",
@@ -9769,9 +9781,9 @@ hr.defaultProps = {
9769
9781
  },
9770
9782
  showMessage: !1
9771
9783
  };
9772
- function Lf(e) {
9784
+ function Ff(e) {
9773
9785
  const [t, n] = se(null);
9774
- return Me(() => {
9786
+ return ge(() => {
9775
9787
  console.log("Chatbot - optimizely mount");
9776
9788
  try {
9777
9789
  (() => {
@@ -9800,26 +9812,26 @@ function Lf(e) {
9800
9812
  `Chatbot - optimizely return experimentVariation: ${t}`
9801
9813
  ), t;
9802
9814
  }
9803
- function Pf(e, t) {
9815
+ function Rf(e, t) {
9804
9816
  if (!(e instanceof Date && t instanceof Date))
9805
9817
  throw new Error(
9806
9818
  `Both start and end must be valid Date objects: start=${e} end=${t}`
9807
9819
  );
9808
9820
  return (t.getTime() - e.getTime()) / 1e3;
9809
9821
  }
9810
- function Ff(e) {
9822
+ function _f(e) {
9811
9823
  const t = /\[(.+)\]\(([^ ]+)( "(.+)")?\)/gm, n = e.match(t);
9812
9824
  return (n == null ? void 0 : n.length) || 0;
9813
9825
  }
9814
- function Rf(e) {
9826
+ function Uf(e) {
9815
9827
  return new TextEncoder().encode(e).length;
9816
9828
  }
9817
9829
  const Ni = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iNDgiIHZpZXdCb3g9IjAgLTk2MCA5NjAgOTYwIiB3aWR0aD0iNDgiPjxwYXRoIGQ9Ik0yODEtMjQwcS0xNCAwLTI3LjUtMTRUMjQwLTI4MnYtOThoNTAwdi0zNDBoMTAwcTE0IDAgMjcgMTR0MTMgMjl2NTk2TDcyMS0yNDBIMjgxWk04MC0yODB2LTU1OHEwLTE0IDEzLTI4dDI3LTE0aDUxOXExNSAwIDI4IDEzLjV0MTMgMjguNXYzNTZxMCAxNC0xMyAyOHQtMjggMTRIMjQwTDgwLTI4MFptNTQwLTIyMHYtMzIwSDE0MHYzMjBoNDgwWm0tNDgwIDB2LTMyMCAzMjBaIiBmaWxsPSIjRkZGRkZGIi8+PC9zdmc+";
9818
- const _f = {
9830
+ const Bf = {
9819
9831
  edx: Ki,
9820
9832
  "speech-emerson": Ni,
9821
9833
  "get-smarter": Ni
9822
- }, Uf = 991, Bf = [];
9834
+ }, Qf = 991, Yf = [];
9823
9835
  console.log("Chatbot - load");
9824
9836
  function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
9825
9837
  var F;
@@ -9849,8 +9861,8 @@ function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
9849
9861
  proactiveMessagePrefix: f,
9850
9862
  proactiveMessage: T,
9851
9863
  disableDisclaimerPage: x,
9852
- conversationHistory: C
9853
- } = i, b = ft(Uf), [, S] = se(!1), [I, Q] = se(Bf), [B, y] = se(!1), [O, R] = se(!1), [q, $] = se(!1), [k, M] = se(""), [N, A] = se(!1), [z, _] = se(!1), [Y, V] = se(!0), [K, d] = se(!1), [ie, ae] = se(!1), [g, oe] = se(!1), Ne = Oe(null), Z = Oe(null), ce = Oe(null), ne = ke.get(`${m}-test`) === "1", ue = ut(
9864
+ conversationHistory: S
9865
+ } = i, b = ft(Qf), [, C] = se(!1), [I, Q] = se(Yf), [B, y] = se(!1), [O, R] = se(!1), [q, $] = se(!1), [v, M] = se(""), [N, A] = se(!1), [z, _] = se(!1), [Y, V] = se(!0), [K, d] = se(!1), [ie, ae] = se(!1), [g, oe] = se(!1), Ne = Oe(null), Z = Oe(null), ce = Oe(null), ne = ve.get(`${m}-test`) === "1", ue = ut(
9854
9866
  ({ name: E, payload: L }) => {
9855
9867
  t ? t({ name: E, payload: L }) : ce.current.track(
9856
9868
  // TODO: this is untestable - create a custom hook to get submit event function.
@@ -9862,7 +9874,7 @@ function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
9862
9874
  ), Te = ut(async () => {
9863
9875
  if (window != null && window.OnetrustActiveGroups && window.OnetrustActiveGroups.split(",").includes("C0003"))
9864
9876
  try {
9865
- const E = ke.get(
9877
+ const E = ve.get(
9866
9878
  `${m}-conversation-history-id`
9867
9879
  );
9868
9880
  if (!E)
@@ -9878,7 +9890,7 @@ function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
9878
9890
  }
9879
9891
  );
9880
9892
  if (L.status === 404) {
9881
- ke.remove(`${m}-conversation-history-id`);
9893
+ ve.remove(`${m}-conversation-history-id`);
9882
9894
  return;
9883
9895
  }
9884
9896
  if (!L.ok)
@@ -9896,17 +9908,17 @@ function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
9896
9908
  y(!1);
9897
9909
  }
9898
9910
  }, [m, o]);
9899
- Me(() => (Te(), document.addEventListener("visibilitychange", Te), () => {
9911
+ ge(() => (Te(), document.addEventListener("visibilitychange", Te), () => {
9900
9912
  document.removeEventListener(
9901
9913
  "visibilitychange",
9902
9914
  Te
9903
9915
  );
9904
- }), [Te]), Me(() => {
9916
+ }), [Te]), ge(() => {
9905
9917
  console.log("Chatbot - mount");
9906
9918
  let E, L;
9907
9919
  return u && (E = setInterval(() => {
9908
9920
  var ee;
9909
- console.log("Chatbot - intervalCheckForScripts"), (ee = window.analytics) != null && ee.track && (!c || c && window.optimizely && window.experiments) && (console.log("Chatbot - intervalCheckForScripts all found"), ce.current = window.analytics, clearInterval(E), clearTimeout(L), S(!0));
9921
+ console.log("Chatbot - intervalCheckForScripts"), (ee = window.analytics) != null && ee.track && (!c || c && window.optimizely && window.experiments) && (console.log("Chatbot - intervalCheckForScripts all found"), ce.current = window.analytics, clearInterval(E), clearTimeout(L), C(!0));
9910
9922
  }, 1e3), L = setTimeout(() => {
9911
9923
  clearInterval(E);
9912
9924
  }, 6e4)), () => {
@@ -9924,7 +9936,7 @@ function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
9924
9936
  isTestUser: ne
9925
9937
  }
9926
9938
  });
9927
- }, Pe = Lf(c);
9939
+ }, Pe = Ff(c);
9928
9940
  if (!e && !i)
9929
9941
  return console.log("Chatbot - xpertKey or configuration is required"), null;
9930
9942
  if (!(i != null && i.xpertKey))
@@ -9954,7 +9966,7 @@ function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
9954
9966
  payload: {
9955
9967
  category: "2u",
9956
9968
  label: "xpert-chatbot",
9957
- linkCount: Ff(E),
9969
+ linkCount: _f(E),
9958
9970
  apiResponseMessage: E,
9959
9971
  isTestUser: ne,
9960
9972
  conversationHistoryId: L
@@ -9981,10 +9993,10 @@ function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
9981
9993
  }
9982
9994
  });
9983
9995
  }, gt = (E) => {
9984
- E.key === "Enter" && k.trim() === "" || E.key === "Enter" && !E.shiftKey && (E.preventDefault(), Ce(k), A(!0));
9996
+ E.key === "Enter" && v.trim() === "" || E.key === "Enter" && !E.shiftKey && (E.preventDefault(), Se(v), A(!0));
9985
9997
  }, mt = () => {
9986
- Ce(k), A(!0);
9987
- }, Ce = async (E) => {
9998
+ Se(v), A(!0);
9999
+ }, Se = async (E) => {
9988
10000
  try {
9989
10001
  if (E.trim().length === 0)
9990
10002
  return;
@@ -10001,8 +10013,8 @@ function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
10001
10013
  isTestUser: ne
10002
10014
  }
10003
10015
  }), Ge();
10004
- let ee = ke.get(`${m}-conversation-history-id`) || "";
10005
- !ee && (C != null && C.enabled) ? Q([
10016
+ let ee = ve.get(`${m}-conversation-history-id`) || "";
10017
+ !ee && (S != null && S.enabled) ? Q([
10006
10018
  {
10007
10019
  role: "user",
10008
10020
  content: E
@@ -10038,7 +10050,7 @@ function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
10038
10050
  });
10039
10051
  if (!Ie.ok)
10040
10052
  throw new wn(`HTTPError: ${Ie.status} ${Ie.statusText}`);
10041
- ee = Ie.headers.get("Conversation-History-Id"), ee && ke.set(
10053
+ ee = Ie.headers.get("Conversation-History-Id"), ee && ve.set(
10042
10054
  `${m}-conversation-history-id`,
10043
10055
  ee,
10044
10056
  { expires: 1 }
@@ -10047,11 +10059,11 @@ function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
10047
10059
  nn(te, ee);
10048
10060
  const Ke = /* @__PURE__ */ new Date();
10049
10061
  rn({
10050
- conversationByteSize: Rf(JSON.stringify(pe)),
10062
+ conversationByteSize: Uf(JSON.stringify(pe)),
10051
10063
  conversationSize: I.length + 2,
10052
10064
  userInputMessage: E,
10053
10065
  apiResponseMessage: te,
10054
- elapsedSeconds: Pf(L, Ke)
10066
+ elapsedSeconds: Rf(L, Ke)
10055
10067
  }), Q((fe) => [
10056
10068
  ...fe,
10057
10069
  {
@@ -10127,7 +10139,7 @@ function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
10127
10139
  }, bt = (E) => {
10128
10140
  M(E.target.value);
10129
10141
  }, D = (E) => {
10130
- E.key === "Enter" && k.trim() === "" || E.key === "Enter" && !E.shiftKey && (E.preventDefault(), Ce(k));
10142
+ E.key === "Enter" && v.trim() === "" || E.key === "Enter" && !E.shiftKey && (E.preventDefault(), Se(v));
10131
10143
  }, j = (E, L = "") => {
10132
10144
  const re = I.map((ee, pe) => E === pe ? (ue({
10133
10145
  name: `${u}.bi.xpert.chatbot.feedback.thumbs.${L.toLowerCase()}.clicked`,
@@ -10188,7 +10200,7 @@ function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
10188
10200
  {
10189
10201
  "data-ot-ignore": "",
10190
10202
  className: "xpert-chatbot-button__logo optanon-category-C0001",
10191
- src: _f[i.xpertKey],
10203
+ src: Bf[i.xpertKey],
10192
10204
  alt: "xpert logo",
10193
10205
  "aria-hidden": !0,
10194
10206
  style: { width: s == null ? void 0 : s.iconWidth }
@@ -10215,33 +10227,23 @@ function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
10215
10227
  configurations: i
10216
10228
  }
10217
10229
  ),
10218
- /* @__PURE__ */ w.jsxs(
10219
- "div",
10220
- {
10221
- style: {
10222
- padding: "0 1.5rem",
10223
- overflow: "auto",
10224
- overscrollBehavior: "contain"
10225
- },
10226
- children: [
10227
- /* @__PURE__ */ w.jsx(
10228
- Up,
10229
- {
10230
- messages: I,
10231
- loading: B,
10232
- isNormalSize: b || Y,
10233
- onFeedbackThumbSelection: j,
10234
- onPromptClick: Ce,
10235
- showDisclaimerText: x,
10236
- configurations: i,
10237
- handleMessageLinkClicked: Ze
10238
- }
10239
- ),
10240
- B && /* @__PURE__ */ w.jsx(Jo, { disableScroll: ie }),
10241
- z && /* @__PURE__ */ w.jsx(wn, {})
10242
- ]
10243
- }
10244
- ),
10230
+ /* @__PURE__ */ w.jsxs("div", { style: { padding: "0 1.5rem", overflow: "auto" }, children: [
10231
+ /* @__PURE__ */ w.jsx(
10232
+ Up,
10233
+ {
10234
+ messages: I,
10235
+ loading: B,
10236
+ isNormalSize: b || Y,
10237
+ onFeedbackThumbSelection: j,
10238
+ onPromptClick: Se,
10239
+ showDisclaimerText: x,
10240
+ configurations: i,
10241
+ handleMessageLinkClicked: Ze
10242
+ }
10243
+ ),
10244
+ B && /* @__PURE__ */ w.jsx(Jo, { disableScroll: ie }),
10245
+ z && /* @__PURE__ */ w.jsx(wn, {})
10246
+ ] }),
10245
10247
  /* @__PURE__ */ w.jsxs("div", { style: { marginTop: "auto", display: "flex" }, children: [
10246
10248
  i.isLiveChatEnabled && /* @__PURE__ */ w.jsx(
10247
10249
  dr,
@@ -10259,8 +10261,8 @@ function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
10259
10261
  loading: B,
10260
10262
  hasXpertMessages: g,
10261
10263
  hasError: z,
10262
- userInput: k,
10263
- handleSend: Ce,
10264
+ userInput: v,
10265
+ handleSend: Se,
10264
10266
  handleInput: xt,
10265
10267
  handleChange: bt,
10266
10268
  handleKeyDown: D,
@@ -10275,7 +10277,7 @@ function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
10275
10277
  loading: B,
10276
10278
  inputRef: Z,
10277
10279
  hasError: z,
10278
- userInput: k,
10280
+ userInput: v,
10279
10281
  handleSend: mt,
10280
10282
  handleInput: xt,
10281
10283
  handleChange: bt,