@2uinc/frontend-component-xpert-chatbot 1.3.11-beta.3 → 1.3.11-beta.5

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 +617 -607
  2. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import ue, { useState as pe, useEffect as ye, useCallback as at, useRef as Fe } from "react";
1
+ import ue, { useState as pe, useEffect as de, useCallback as at, useRef as Fe } from "react";
2
2
  const tl = {
3
3
  xpertKey: "edx",
4
4
  chatApiEndpoint: "https://xpert-platform-services-api.prod.ai.2u.com/xpert/chat",
@@ -203,7 +203,7 @@ function Ii(e) {
203
203
  });
204
204
  }), n;
205
205
  }
206
- var Ti = { exports: {} }, ct = {};
206
+ var vi = { exports: {} }, ct = {};
207
207
  /*
208
208
  object-assign
209
209
  (c) Sindre Sorhus
@@ -246,14 +246,14 @@ al();
246
246
  * This source code is licensed under the MIT license found in the
247
247
  * LICENSE file in the root directory of this source tree.
248
248
  */
249
- var ul = ue, ki = 60103;
249
+ var ul = ue, Ti = 60103;
250
250
  ct.Fragment = 60107;
251
251
  if (typeof Symbol == "function" && Symbol.for) {
252
252
  var gr = Symbol.for;
253
- ki = gr("react.element"), ct.Fragment = gr("react.fragment");
253
+ Ti = gr("react.element"), ct.Fragment = gr("react.fragment");
254
254
  }
255
255
  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 };
256
- function vi(e, t, n) {
256
+ function ki(e, t, n) {
257
257
  var r, i = {}, o = null, l = null;
258
258
  n !== void 0 && (o = "" + n), t.key !== void 0 && (o = "" + t.key), t.ref !== void 0 && (l = t.ref);
259
259
  for (r in t)
@@ -261,17 +261,17 @@ function vi(e, t, n) {
261
261
  if (e && e.defaultProps)
262
262
  for (r in t = e.defaultProps, t)
263
263
  i[r] === void 0 && (i[r] = t[r]);
264
- return { $$typeof: ki, type: e, key: o, ref: l, props: i, _owner: sl.current };
264
+ return { $$typeof: Ti, type: e, key: o, ref: l, props: i, _owner: sl.current };
265
265
  }
266
- ct.jsx = vi;
267
- ct.jsxs = vi;
268
- Ti.exports = ct;
269
- var D = Ti.exports, ji = { exports: {} }, fl = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED", dl = fl, hl = dl;
270
- function Ei() {
266
+ ct.jsx = ki;
267
+ ct.jsxs = ki;
268
+ vi.exports = ct;
269
+ var D = vi.exports, Ei = { exports: {} }, fl = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED", dl = fl, hl = dl;
270
+ function ji() {
271
271
  }
272
272
  function Si() {
273
273
  }
274
- Si.resetWarningCache = Ei;
274
+ Si.resetWarningCache = ji;
275
275
  var gl = function() {
276
276
  function e(r, i, o, l, a, s) {
277
277
  if (s !== hl) {
@@ -306,12 +306,12 @@ var gl = function() {
306
306
  shape: t,
307
307
  exact: t,
308
308
  checkPropTypes: Si,
309
- resetWarningCache: Ei
309
+ resetWarningCache: ji
310
310
  };
311
311
  return n.PropTypes = n, n;
312
312
  };
313
- ji.exports = gl();
314
- var Ci = ji.exports;
313
+ Ei.exports = gl();
314
+ var Ci = Ei.exports;
315
315
  const g = /* @__PURE__ */ Ue(Ci);
316
316
  /*! js-cookie v3.0.5 | MIT */
317
317
  function wt(e) {
@@ -386,7 +386,7 @@ function wn(e, t) {
386
386
  var De = wn(ml, { path: "/" });
387
387
  function yl(e) {
388
388
  const [t, n] = pe(null);
389
- return ye(() => {
389
+ return de(() => {
390
390
  console.log("Chatbot - optimizely mount");
391
391
  try {
392
392
  (() => {
@@ -423,7 +423,7 @@ const Ml = 576, xl = (e) => {
423
423
  ).matches
424
424
  );
425
425
  }, [e]);
426
- return ye(() => (r(), window.addEventListener("resize", r), () => window.removeEventListener("resize", r)), [r]), t;
426
+ return de(() => (r(), window.addEventListener("resize", r), () => window.removeEventListener("resize", r)), [r]), t;
427
427
  }, pt = xl, nt = /^[a-z0-9]+(-[a-z0-9]+)*$/, _t = (e, t, n, r = "") => {
428
428
  const i = e.split(":");
429
429
  if (e.slice(0, 1) === "@") {
@@ -440,7 +440,7 @@ const Ml = 576, xl = (e) => {
440
440
  prefix: s,
441
441
  name: a
442
442
  };
443
- return t && !vt(u) ? null : u;
443
+ return t && !kt(u) ? null : u;
444
444
  }
445
445
  const o = i[0], l = o.split("-");
446
446
  if (l.length > 1) {
@@ -449,7 +449,7 @@ const Ml = 576, xl = (e) => {
449
449
  prefix: l.shift(),
450
450
  name: l.join("-")
451
451
  };
452
- return t && !vt(a) ? null : a;
452
+ return t && !kt(a) ? null : a;
453
453
  }
454
454
  if (n && r === "") {
455
455
  const a = {
@@ -457,10 +457,10 @@ const Ml = 576, xl = (e) => {
457
457
  prefix: "",
458
458
  name: o
459
459
  };
460
- return t && !vt(a, n) ? null : a;
460
+ return t && !kt(a, n) ? null : a;
461
461
  }
462
462
  return null;
463
- }, vt = (e, t) => e ? !!((e.provider === "" || e.provider.match(nt)) && (t && e.prefix === "" || e.prefix.match(nt)) && e.name.match(nt)) : !1, Ai = Object.freeze(
463
+ }, kt = (e, t) => e ? !!((e.provider === "" || e.provider.match(nt)) && (t && e.prefix === "" || e.prefix.match(nt)) && e.name.match(nt)) : !1, Ai = Object.freeze(
464
464
  {
465
465
  left: 0,
466
466
  top: 0,
@@ -586,7 +586,7 @@ function Bn(e, t) {
586
586
  r ? e.icons[n] = r : e.missing.add(n);
587
587
  }) : [];
588
588
  }
589
- function Tl(e, t, n) {
589
+ function vl(e, t, n) {
590
590
  try {
591
591
  if (typeof n.body == "string")
592
592
  return e.icons[t] = { ...n }, !0;
@@ -598,31 +598,31 @@ let ut = !1;
598
598
  function Li(e) {
599
599
  return typeof e == "boolean" && (ut = e), ut;
600
600
  }
601
- function kl(e) {
601
+ function Tl(e) {
602
602
  const t = typeof e == "string" ? _t(e, !0, ut) : e;
603
603
  if (t) {
604
604
  const n = Re(t.provider, t.prefix), r = t.name;
605
605
  return n.icons[r] || (n.missing.has(r) ? null : void 0);
606
606
  }
607
607
  }
608
- function vl(e, t) {
608
+ function kl(e, t) {
609
609
  const n = _t(e, !0, ut);
610
610
  if (!n)
611
611
  return !1;
612
612
  const r = Re(n.provider, n.prefix);
613
- return Tl(r, n.name, t);
613
+ return vl(r, n.name, t);
614
614
  }
615
- function jl(e, t) {
615
+ function El(e, t) {
616
616
  if (typeof e != "object")
617
617
  return !1;
618
618
  if (typeof t != "string" && (t = e.provider || ""), ut && !t && !e.prefix) {
619
619
  let i = !1;
620
620
  return zi(e) && (e.prefix = "", Oi(e, (o, l) => {
621
- l && vl(o, l) && (i = !0);
621
+ l && kl(o, l) && (i = !0);
622
622
  })), i;
623
623
  }
624
624
  const n = e.prefix;
625
- if (!vt({
625
+ if (!kt({
626
626
  provider: t,
627
627
  prefix: n,
628
628
  name: "a"
@@ -639,7 +639,7 @@ const Pi = Object.freeze({
639
639
  ...Pi,
640
640
  // Transformations
641
641
  ...At
642
- }), El = /(-?[0-9.]*[0-9]+[0-9.]*)/g, Sl = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
642
+ }), jl = /(-?[0-9.]*[0-9]+[0-9.]*)/g, Sl = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
643
643
  function Mr(e, t, n) {
644
644
  if (t === 1)
645
645
  return e;
@@ -647,7 +647,7 @@ function Mr(e, t, n) {
647
647
  return Math.ceil(e * t * n) / n;
648
648
  if (typeof e != "string")
649
649
  return e;
650
- const r = e.split(El);
650
+ const r = e.split(jl);
651
651
  if (r === null || !r.length)
652
652
  return e;
653
653
  const i = [];
@@ -680,17 +680,17 @@ function Al(e, t) {
680
680
  let o = n.body;
681
681
  [n, r].forEach((I) => {
682
682
  const b = [], S = I.hFlip, w = I.vFlip;
683
- let v = I.rotate;
684
- S ? w ? v += 2 : (b.push(
683
+ let k = I.rotate;
684
+ S ? w ? k += 2 : (b.push(
685
685
  "translate(" + (i.width + i.left).toString() + " " + (0 - i.top).toString() + ")"
686
686
  ), b.push("scale(-1 1)"), i.top = i.left = 0) : w && (b.push(
687
687
  "translate(" + (0 - i.left).toString() + " " + (i.height + i.top).toString() + ")"
688
688
  ), b.push("scale(1 -1)"), i.top = i.left = 0);
689
- let j;
690
- switch (v < 0 && (v -= Math.floor(v / 4) * 4), v = v % 4, v) {
689
+ let E;
690
+ switch (k < 0 && (k -= Math.floor(k / 4) * 4), k = k % 4, k) {
691
691
  case 1:
692
- j = i.height / 2 + i.top, b.unshift(
693
- "rotate(90 " + j.toString() + " " + j.toString() + ")"
692
+ E = i.height / 2 + i.top, b.unshift(
693
+ "rotate(90 " + E.toString() + " " + E.toString() + ")"
694
694
  );
695
695
  break;
696
696
  case 2:
@@ -699,12 +699,12 @@ function Al(e, t) {
699
699
  );
700
700
  break;
701
701
  case 3:
702
- j = i.width / 2 + i.left, b.unshift(
703
- "rotate(-90 " + j.toString() + " " + j.toString() + ")"
702
+ E = i.width / 2 + i.left, b.unshift(
703
+ "rotate(-90 " + E.toString() + " " + E.toString() + ")"
704
704
  );
705
705
  break;
706
706
  }
707
- v % 2 === 1 && (i.left !== i.top && (j = i.left, i.left = i.top, i.top = j), i.width !== i.height && (j = i.width, i.width = i.height, i.height = j)), b.length && (o = '<g transform="' + b.join(" ") + '">' + o + "</g>");
707
+ k % 2 === 1 && (i.left !== i.top && (E = i.left, i.left = i.top, i.top = E), i.width !== i.height && (E = i.width, i.width = i.height, i.height = E)), b.length && (o = '<g transform="' + b.join(" ") + '">' + o + "</g>");
708
708
  });
709
709
  const l = r.width, a = r.height, s = i.width, u = i.height;
710
710
  let c, p;
@@ -772,11 +772,11 @@ function Qn(e) {
772
772
  const Yn = /* @__PURE__ */ Object.create(null), Xe = [
773
773
  "https://api.simplesvg.com",
774
774
  "https://api.unisvg.com"
775
- ], jt = [];
775
+ ], Et = [];
776
776
  for (; Xe.length > 0; )
777
- Xe.length === 1 || Math.random() > 0.5 ? jt.push(Xe.shift()) : jt.push(Xe.pop());
777
+ Xe.length === 1 || Math.random() > 0.5 ? Et.push(Xe.shift()) : Et.push(Xe.pop());
778
778
  Yn[""] = Qn({
779
- resources: ["https://api.iconify.design"].concat(jt)
779
+ resources: ["https://api.iconify.design"].concat(Et)
780
780
  });
781
781
  function Rl(e, t) {
782
782
  const n = Qn(t);
@@ -1027,12 +1027,12 @@ function Kl(e, t, n, r) {
1027
1027
  abort: b
1028
1028
  };
1029
1029
  }
1030
- function v() {
1030
+ function k() {
1031
1031
  s = "failed", f.forEach((y) => {
1032
1032
  y(void 0, c);
1033
1033
  });
1034
1034
  }
1035
- function j() {
1035
+ function E() {
1036
1036
  m.forEach((y) => {
1037
1037
  y.status === "pending" && (y.status = "aborted");
1038
1038
  }), m = [];
@@ -1050,14 +1050,14 @@ function Kl(e, t, n, r) {
1050
1050
  return;
1051
1051
  }
1052
1052
  if (A === "abort") {
1053
- c = U, v();
1053
+ c = U, k();
1054
1054
  return;
1055
1055
  }
1056
1056
  if (Q) {
1057
- c = U, m.length || (l.length ? _() : v());
1057
+ c = U, m.length || (l.length ? _() : k());
1058
1058
  return;
1059
1059
  }
1060
- if (I(), j(), !e.random) {
1060
+ if (I(), E(), !e.random) {
1061
1061
  const q = e.resources.indexOf(y.resource);
1062
1062
  q !== -1 && q !== e.index && (e.index = q);
1063
1063
  }
@@ -1073,11 +1073,11 @@ function Kl(e, t, n, r) {
1073
1073
  if (y === void 0) {
1074
1074
  if (m.length) {
1075
1075
  p = setTimeout(() => {
1076
- I(), s === "pending" && (j(), v());
1076
+ I(), s === "pending" && (E(), k());
1077
1077
  }, e.timeout);
1078
1078
  return;
1079
1079
  }
1080
- v();
1080
+ k();
1081
1081
  return;
1082
1082
  }
1083
1083
  const A = {
@@ -1160,7 +1160,7 @@ function ea(e, t, n) {
1160
1160
  return !r || !i ? (n(void 0, 424), br) : r.query(t, i, n)().abort;
1161
1161
  }
1162
1162
  const wr = "iconify2", st = "iconify", Ui = st + "-count", Dr = st + "-version", Bi = 36e5, ta = 168;
1163
- function Tn(e, t) {
1163
+ function vn(e, t) {
1164
1164
  try {
1165
1165
  return e.getItem(t);
1166
1166
  } catch {
@@ -1178,11 +1178,11 @@ function Nr(e, t) {
1178
1178
  } catch {
1179
1179
  }
1180
1180
  }
1181
- function kn(e, t) {
1181
+ function Tn(e, t) {
1182
1182
  return qn(e, Ui, t.toString());
1183
1183
  }
1184
- function vn(e) {
1185
- return parseInt(Tn(e, Ui)) || 0;
1184
+ function kn(e) {
1185
+ return parseInt(vn(e, Ui)) || 0;
1186
1186
  }
1187
1187
  const Ut = {
1188
1188
  local: !0,
@@ -1209,18 +1209,18 @@ function Hi(e, t) {
1209
1209
  const n = Yi(e);
1210
1210
  if (!n)
1211
1211
  return;
1212
- const r = Tn(n, Dr);
1212
+ const r = vn(n, Dr);
1213
1213
  if (r !== wr) {
1214
1214
  if (r) {
1215
- const a = vn(n);
1215
+ const a = kn(n);
1216
1216
  for (let s = 0; s < a; s++)
1217
1217
  Nr(n, st + s.toString());
1218
1218
  }
1219
- qn(n, Dr, wr), kn(n, 0);
1219
+ qn(n, Dr, wr), Tn(n, 0);
1220
1220
  return;
1221
1221
  }
1222
1222
  const i = Math.floor(Date.now() / Bi) - ta, o = (a) => {
1223
- const s = st + a.toString(), u = Tn(n, s);
1223
+ const s = st + a.toString(), u = vn(n, s);
1224
1224
  if (typeof u == "string") {
1225
1225
  try {
1226
1226
  const c = JSON.parse(u);
@@ -1232,9 +1232,9 @@ function Hi(e, t) {
1232
1232
  Nr(n, s);
1233
1233
  }
1234
1234
  };
1235
- let l = vn(n);
1235
+ let l = kn(n);
1236
1236
  for (let a = l - 1; a >= 0; a--)
1237
- o(a) || (a === l - 1 ? (l--, kn(n, l)) : Qi[e].add(a));
1237
+ o(a) || (a === l - 1 ? (l--, Tn(n, l)) : Qi[e].add(a));
1238
1238
  }
1239
1239
  function qi() {
1240
1240
  if (!$n) {
@@ -1277,7 +1277,7 @@ function ia(e, t) {
1277
1277
  let l;
1278
1278
  if (o.size)
1279
1279
  o.delete(l = Array.from(o).shift());
1280
- else if (l = vn(i), !kn(i, l + 1))
1280
+ else if (l = kn(i), !Tn(i, l + 1))
1281
1281
  return;
1282
1282
  const a = {
1283
1283
  cached: Math.floor(Date.now() / Bi),
@@ -1453,29 +1453,29 @@ const $i = {
1453
1453
  role: "img"
1454
1454
  }, xa = {
1455
1455
  display: "inline-block"
1456
- }, jn = {
1456
+ }, En = {
1457
1457
  backgroundColor: "currentColor"
1458
1458
  }, Vi = {
1459
1459
  backgroundColor: "transparent"
1460
- }, Tr = {
1460
+ }, vr = {
1461
1461
  Image: "var(--svg)",
1462
1462
  Repeat: "no-repeat",
1463
1463
  Size: "100% 100%"
1464
- }, kr = {
1465
- WebkitMask: jn,
1466
- mask: jn,
1464
+ }, Tr = {
1465
+ WebkitMask: En,
1466
+ mask: En,
1467
1467
  background: Vi
1468
1468
  };
1469
- for (const e in kr) {
1470
- const t = kr[e];
1471
- for (const n in Tr)
1472
- t[e + n] = Tr[n];
1469
+ for (const e in Tr) {
1470
+ const t = Tr[e];
1471
+ for (const n in vr)
1472
+ t[e + n] = vr[n];
1473
1473
  }
1474
1474
  const ba = {
1475
1475
  ...$i,
1476
1476
  inline: !0
1477
1477
  };
1478
- function vr(e) {
1478
+ function kr(e) {
1479
1479
  return e + (e.match(/^[-0-9.]+$/) ? "px" : "");
1480
1480
  }
1481
1481
  const wa = (e, t, n, r) => {
@@ -1484,8 +1484,8 @@ const wa = (e, t, n, r) => {
1484
1484
  ref: r
1485
1485
  };
1486
1486
  for (let w in t) {
1487
- const v = t[w];
1488
- if (v !== void 0)
1487
+ const k = t[w];
1488
+ if (k !== void 0)
1489
1489
  switch (w) {
1490
1490
  case "icon":
1491
1491
  case "style":
@@ -1498,23 +1498,23 @@ const wa = (e, t, n, r) => {
1498
1498
  case "inline":
1499
1499
  case "hFlip":
1500
1500
  case "vFlip":
1501
- o[w] = v === !0 || v === "true" || v === 1;
1501
+ o[w] = k === !0 || k === "true" || k === 1;
1502
1502
  break;
1503
1503
  case "flip":
1504
- typeof v == "string" && ca(o, v);
1504
+ typeof k == "string" && ca(o, k);
1505
1505
  break;
1506
1506
  case "color":
1507
- a.color = v;
1507
+ a.color = k;
1508
1508
  break;
1509
1509
  case "rotate":
1510
- typeof v == "string" ? o[w] = pa(v) : typeof v == "number" && (o[w] = v);
1510
+ typeof k == "string" ? o[w] = pa(k) : typeof k == "number" && (o[w] = k);
1511
1511
  break;
1512
1512
  case "ariaHidden":
1513
1513
  case "aria-hidden":
1514
- v !== !0 && v !== "true" && delete u["aria-hidden"];
1514
+ k !== !0 && k !== "true" && delete u["aria-hidden"];
1515
1515
  break;
1516
1516
  default:
1517
- i[w] === void 0 && (u[w] = v);
1517
+ i[w] === void 0 && (u[w] = k);
1518
1518
  }
1519
1519
  }
1520
1520
  const c = Al(e, o), p = c.attributes;
@@ -1523,9 +1523,9 @@ const wa = (e, t, n, r) => {
1523
1523
  ...a,
1524
1524
  ...s
1525
1525
  }, Object.assign(u, p);
1526
- let w = 0, v = t.id;
1527
- return typeof v == "string" && (v = v.replace(/-/g, "_")), u.dangerouslySetInnerHTML = {
1528
- __html: ya(Pl(c.body, v ? () => v + "ID" + w++ : "iconifyReact"))
1526
+ let w = 0, k = t.id;
1527
+ return typeof k == "string" && (k = k.replace(/-/g, "_")), u.dangerouslySetInnerHTML = {
1528
+ __html: ya(Pl(c.body, k ? () => k + "ID" + w++ : "iconifyReact"))
1529
1529
  }, ue.createElement("svg", u);
1530
1530
  }
1531
1531
  const { body: m, width: f, height: I } = e, b = l === "mask" || (l === "bg" ? !1 : m.indexOf("currentColor") !== -1), S = fa(m, {
@@ -1536,10 +1536,10 @@ const wa = (e, t, n, r) => {
1536
1536
  return u.style = {
1537
1537
  ...a,
1538
1538
  "--svg": ga(S),
1539
- width: vr(p.width),
1540
- height: vr(p.height),
1539
+ width: kr(p.width),
1540
+ height: kr(p.height),
1541
1541
  ...xa,
1542
- ...b ? jn : Vi,
1542
+ ...b ? En : Vi,
1543
1543
  ...s
1544
1544
  }, ue.createElement("span", u);
1545
1545
  };
@@ -1555,7 +1555,7 @@ if (typeof document < "u" && typeof window < "u") {
1555
1555
  // Check if item is an object and not null/array
1556
1556
  (typeof r != "object" || r === null || r instanceof Array || // Check for 'icons' and 'prefix'
1557
1557
  typeof r.icons != "object" || typeof r.prefix != "string" || // Add icon set
1558
- !jl(r)) && console.error(n);
1558
+ !El(r)) && console.error(n);
1559
1559
  } catch {
1560
1560
  console.error(n);
1561
1561
  }
@@ -1614,7 +1614,7 @@ class Wi extends ue.Component {
1614
1614
  this._abortLoading(), this._setData(null);
1615
1615
  return;
1616
1616
  }
1617
- const o = kl(i);
1617
+ const o = Tl(i);
1618
1618
  if (!o) {
1619
1619
  (!this._loading || this._loading.name !== r) && (this._abortLoading(), this._icon = "", this._setData(null), o !== null && (this._loading = {
1620
1620
  name: r,
@@ -1682,7 +1682,7 @@ ue.forwardRef(function(t, n) {
1682
1682
  };
1683
1683
  return ue.createElement(Wi, r);
1684
1684
  });
1685
- const jr = {
1685
+ const Er = {
1686
1686
  "proactive-message.message": "Can I answer any questions for you?",
1687
1687
  "popup.buttons.minimize": "Minimize",
1688
1688
  "popup.buttons.close": "Close"
@@ -1690,13 +1690,13 @@ const jr = {
1690
1690
  function Vn(e) {
1691
1691
  var l;
1692
1692
  const [t, n] = pe(!0), r = t && (!(window != null && window.OnetrustActiveGroups) || ((l = window == null ? void 0 : window.OnetrustActiveGroups) == null ? void 0 : l.includes("C0003"))) && De.get(e.cookieName) === void 0;
1693
- ye(() => {
1693
+ de(() => {
1694
1694
  var a;
1695
1695
  (a = window == null ? void 0 : window.OneTrust) == null || a.OnConsentChanged(() => {
1696
1696
  var s;
1697
1697
  !((s = window == null ? void 0 : window.OnetrustActiveGroups) != null && s.includes("C0003")) && De.get(e.cookieName) !== void 0 && De.remove(e.cookieName);
1698
1698
  });
1699
- }, [e.cookieName]), ye(() => {
1699
+ }, [e.cookieName]), de(() => {
1700
1700
  var a;
1701
1701
  e.showMessage || (!(window != null && window.OnetrustActiveGroups) || (a = window == null ? void 0 : window.OnetrustActiveGroups) != null && a.includes("C0003")) && o(e.cookieName, 1, 1);
1702
1702
  }, [e.showMessage, e.cookieName]);
@@ -1727,7 +1727,7 @@ function Vn(e) {
1727
1727
  cursor: "pointer"
1728
1728
  },
1729
1729
  onClick: i,
1730
- "aria-label": jr["popup.buttons.close"],
1730
+ "aria-label": Er["popup.buttons.close"],
1731
1731
  type: "button",
1732
1732
  children: /* @__PURE__ */ D.jsx(
1733
1733
  Ae,
@@ -1749,7 +1749,7 @@ function Vn(e) {
1749
1749
  {
1750
1750
  className: "xpert_chatbot__proactive-message__body-container",
1751
1751
  onClick: e.onClick,
1752
- "aria-label": jr["proactive-message.message"],
1752
+ "aria-label": Er["proactive-message.message"],
1753
1753
  type: "button",
1754
1754
  children: /* @__PURE__ */ D.jsx("div", { className: "xpert_chatbot__proactive-message__body", children: e.children })
1755
1755
  }
@@ -1907,21 +1907,21 @@ var Xi = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
1907
1907
  if (!t)
1908
1908
  throw new Error("No node provided");
1909
1909
  return t.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName) || Ia(t)) && !to(t) ? 0 : t.tabIndex;
1910
- }, Ta = function(t, n) {
1910
+ }, va = function(t, n) {
1911
1911
  var r = Ce(t);
1912
1912
  return r < 0 && n && !to(t) ? 0 : r;
1913
- }, ka = function(t, n) {
1913
+ }, Ta = function(t, n) {
1914
1914
  return t.tabIndex === n.tabIndex ? t.documentOrder - n.documentOrder : t.tabIndex - n.tabIndex;
1915
1915
  }, no = function(t) {
1916
1916
  return t.tagName === "INPUT";
1917
- }, va = function(t) {
1917
+ }, ka = function(t) {
1918
1918
  return no(t) && t.type === "hidden";
1919
- }, ja = function(t) {
1919
+ }, Ea = function(t) {
1920
1920
  var n = t.tagName === "DETAILS" && Array.prototype.slice.apply(t.children).some(function(r) {
1921
1921
  return r.tagName === "SUMMARY";
1922
1922
  });
1923
1923
  return n;
1924
- }, Ea = function(t, n) {
1924
+ }, ja = function(t, n) {
1925
1925
  for (var r = 0; r < t.length; r++)
1926
1926
  if (t[r].checked && t[r].form === n)
1927
1927
  return t[r];
@@ -1939,7 +1939,7 @@ var Xi = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
1939
1939
  } catch (l) {
1940
1940
  return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s", l.message), !1;
1941
1941
  }
1942
- var o = Ea(i, t.form);
1942
+ var o = ja(i, t.form);
1943
1943
  return !o || o === t;
1944
1944
  }, Ca = function(t) {
1945
1945
  return no(t) && t.type === "radio";
@@ -1955,7 +1955,7 @@ var Xi = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
1955
1955
  }
1956
1956
  }
1957
1957
  return o;
1958
- }, Er = function(t) {
1958
+ }, jr = function(t) {
1959
1959
  var n = t.getBoundingClientRect(), r = n.width, i = n.height;
1960
1960
  return r === 0 && i === 0;
1961
1961
  }, za = function(t, n) {
@@ -1970,7 +1970,7 @@ var Xi = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
1970
1970
  for (var a = t; t; ) {
1971
1971
  var s = t.parentElement, u = zt(t);
1972
1972
  if (s && !s.shadowRoot && i(s) === !0)
1973
- return Er(t);
1973
+ return jr(t);
1974
1974
  t.assignedSlot ? t = t.assignedSlot : !s && u !== t.ownerDocument ? t = u.host : t = s;
1975
1975
  }
1976
1976
  t = a;
@@ -1980,7 +1980,7 @@ var Xi = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
1980
1980
  if (r !== "legacy-full")
1981
1981
  return !0;
1982
1982
  } else if (r === "non-zero-area")
1983
- return Er(t);
1983
+ return jr(t);
1984
1984
  return !1;
1985
1985
  }, La = function(t) {
1986
1986
  if (/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))
@@ -2000,9 +2000,9 @@ var Xi = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
2000
2000
  return !(n.disabled || // we must do an inert look up to filter out any elements inside an inert ancestor
2001
2001
  // because we're limited in the type of selectors we can use in JSDom (see related
2002
2002
  // note related to `candidateSelectors`)
2003
- Lt(n) || va(n) || za(n, t) || // For a details element with a summary, the summary element gets the focus
2004
- ja(n) || La(n));
2005
- }, En = function(t, n) {
2003
+ Lt(n) || ka(n) || za(n, t) || // For a details element with a summary, the summary element gets the focus
2004
+ Ea(n) || La(n));
2005
+ }, jn = function(t, n) {
2006
2006
  return !(Aa(n) || Ce(n) < 0 || !Pt(t, n));
2007
2007
  }, Pa = function(t) {
2008
2008
  var n = parseInt(t.getAttribute("tabindex"), 10);
@@ -2010,7 +2010,7 @@ var Xi = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
2010
2010
  }, Fa = function e(t) {
2011
2011
  var n = [], r = [];
2012
2012
  return t.forEach(function(i, o) {
2013
- var l = !!i.scopeParent, a = l ? i.scopeParent : i, s = Ta(a, l), u = l ? e(i.candidates) : a;
2013
+ var l = !!i.scopeParent, a = l ? i.scopeParent : i, s = va(a, l), u = l ? e(i.candidates) : a;
2014
2014
  s === 0 ? l ? n.push.apply(n, u) : n.push(a) : r.push({
2015
2015
  documentOrder: o,
2016
2016
  tabIndex: s,
@@ -2018,18 +2018,18 @@ var Xi = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
2018
2018
  isScope: l,
2019
2019
  content: u
2020
2020
  });
2021
- }), r.sort(ka).reduce(function(i, o) {
2021
+ }), r.sort(Ta).reduce(function(i, o) {
2022
2022
  return o.isScope ? i.push.apply(i, o.content) : i.push(o.content), i;
2023
2023
  }, []).concat(n);
2024
2024
  }, ro = function(t, n) {
2025
2025
  n = n || {};
2026
2026
  var r;
2027
2027
  return n.getShadowRoot ? r = eo([t], n.includeContainer, {
2028
- filter: En.bind(null, n),
2028
+ filter: jn.bind(null, n),
2029
2029
  flatten: !1,
2030
2030
  getShadowRoot: n.getShadowRoot,
2031
2031
  shadowRootFilter: Pa
2032
- }) : r = Ji(t, n.includeContainer, En.bind(null, n)), Fa(r);
2032
+ }) : r = Ji(t, n.includeContainer, jn.bind(null, n)), Fa(r);
2033
2033
  }, io = function(t, n) {
2034
2034
  n = n || {};
2035
2035
  var r;
@@ -2041,8 +2041,8 @@ var Xi = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
2041
2041
  }, Le = function(t, n) {
2042
2042
  if (n = n || {}, !t)
2043
2043
  throw new Error("No node provided");
2044
- return _e.call(t, Ot) === !1 ? !1 : En(n, t);
2045
- }, Ra = /* @__PURE__ */ Xi.concat("iframe").join(","), Et = function(t, n) {
2044
+ return _e.call(t, Ot) === !1 ? !1 : jn(n, t);
2045
+ }, Ra = /* @__PURE__ */ Xi.concat("iframe").join(","), jt = function(t, n) {
2046
2046
  if (n = n || {}, !t)
2047
2047
  throw new Error("No node provided");
2048
2048
  return _e.call(t, Ra) === !1 ? !1 : Pt(n, t);
@@ -2051,7 +2051,7 @@ const _a = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2051
2051
  __proto__: null,
2052
2052
  focusable: io,
2053
2053
  getTabIndex: Ce,
2054
- isFocusable: Et,
2054
+ isFocusable: jt,
2055
2055
  isTabbable: Le,
2056
2056
  tabbable: ro
2057
2057
  }, Symbol.toStringTag, { value: "Module" }));
@@ -2217,7 +2217,7 @@ var Ar = {
2217
2217
  var M = c("initialFocus");
2218
2218
  if (M === !1)
2219
2219
  return !1;
2220
- if (M === void 0 || !Et(M, o.tabbableOptions))
2220
+ if (M === void 0 || !jt(M, o.tabbableOptions))
2221
2221
  if (u(r.activeElement) >= 0)
2222
2222
  M = r.activeElement;
2223
2223
  else {
@@ -2282,14 +2282,14 @@ var Ar = {
2282
2282
  return M.posTabIndexesFound;
2283
2283
  }) && l.containerGroups.length > 1)
2284
2284
  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.");
2285
- }, f = function E(M) {
2285
+ }, f = function j(M) {
2286
2286
  var N = M.activeElement;
2287
2287
  if (N)
2288
- return N.shadowRoot && N.shadowRoot.activeElement !== null ? E(N.shadowRoot) : N;
2289
- }, I = function E(M) {
2288
+ return N.shadowRoot && N.shadowRoot.activeElement !== null ? j(N.shadowRoot) : N;
2289
+ }, I = function j(M) {
2290
2290
  if (M !== !1 && M !== f(document)) {
2291
2291
  if (!M || !M.focus) {
2292
- E(p());
2292
+ j(p());
2293
2293
  return;
2294
2294
  }
2295
2295
  M.focus({
@@ -2312,7 +2312,7 @@ var Ar = {
2312
2312
  var se = W.firstTabbableNode;
2313
2313
  return N === se;
2314
2314
  });
2315
- if (d < 0 && (X.container === N || Et(N, o.tabbableOptions) && !Le(N, o.tabbableOptions) && !X.nextTabbableNode(N, !1)) && (d = V), d >= 0) {
2315
+ if (d < 0 && (X.container === N || jt(N, o.tabbableOptions) && !Le(N, o.tabbableOptions) && !X.nextTabbableNode(N, !1)) && (d = V), d >= 0) {
2316
2316
  var ne = d === 0 ? l.tabbableGroups.length - 1 : d - 1, le = l.tabbableGroups[ne];
2317
2317
  Y = Ce(N) >= 0 ? le.lastTabbableNode : le.lastDomTabbableNode;
2318
2318
  } else
@@ -2322,7 +2322,7 @@ var Ar = {
2322
2322
  var se = W.lastTabbableNode;
2323
2323
  return N === se;
2324
2324
  });
2325
- if (h < 0 && (X.container === N || Et(N, o.tabbableOptions) && !Le(N, o.tabbableOptions) && !X.nextTabbableNode(N)) && (h = V), h >= 0) {
2325
+ if (h < 0 && (X.container === N || jt(N, o.tabbableOptions) && !Le(N, o.tabbableOptions) && !X.nextTabbableNode(N)) && (h = V), h >= 0) {
2326
2326
  var re = h === l.tabbableGroups.length - 1 ? 0 : h + 1, te = l.tabbableGroups[re];
2327
2327
  Y = Ce(N) >= 0 ? te.firstTabbableNode : te.firstDomTabbableNode;
2328
2328
  } else
@@ -2348,7 +2348,7 @@ var Ar = {
2348
2348
  }
2349
2349
  Ke(o.allowOutsideClick, M) || M.preventDefault();
2350
2350
  }
2351
- }, v = function(M) {
2351
+ }, k = function(M) {
2352
2352
  var N = Nt(M), C = u(N, M) >= 0;
2353
2353
  if (C || N instanceof Document)
2354
2354
  C && (l.mostRecentlyFocusedNode = N);
@@ -2380,7 +2380,7 @@ var Ar = {
2380
2380
  })), I(z || l.mostRecentlyFocusedNode || p());
2381
2381
  }
2382
2382
  l.recentNavEvent = void 0;
2383
- }, j = function(M) {
2383
+ }, E = function(M) {
2384
2384
  var N = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
2385
2385
  l.recentNavEvent = M;
2386
2386
  var C = S({
@@ -2393,7 +2393,7 @@ var Ar = {
2393
2393
  M.preventDefault(), a.deactivate();
2394
2394
  return;
2395
2395
  }
2396
- (o.isKeyForward(M) || o.isKeyBackward(M)) && j(M, o.isKeyBackward(M));
2396
+ (o.isKeyForward(M) || o.isKeyBackward(M)) && E(M, o.isKeyBackward(M));
2397
2397
  }, _ = function(M) {
2398
2398
  var N = Nt(M);
2399
2399
  u(N, M) >= 0 || Ke(o.clickOutsideDeactivates, M) || Ke(o.allowOutsideClick, M) || (M.preventDefault(), M.stopImmediatePropagation());
@@ -2401,7 +2401,7 @@ var Ar = {
2401
2401
  if (l.active)
2402
2402
  return Ar.activateTrap(i, a), l.delayInitialFocusTimer = o.delayInitialFocus ? Or(function() {
2403
2403
  I(p());
2404
- }) : I(p()), r.addEventListener("focusin", v, !0), r.addEventListener("mousedown", w, {
2404
+ }) : I(p()), r.addEventListener("focusin", k, !0), r.addEventListener("mousedown", w, {
2405
2405
  capture: !0,
2406
2406
  passive: !1
2407
2407
  }), r.addEventListener("touchstart", w, {
@@ -2416,7 +2416,7 @@ var Ar = {
2416
2416
  }), a;
2417
2417
  }, A = function() {
2418
2418
  if (l.active)
2419
- return r.removeEventListener("focusin", v, !0), r.removeEventListener("mousedown", w, !0), r.removeEventListener("touchstart", w, !0), r.removeEventListener("click", _, !0), r.removeEventListener("keydown", B, !0), a;
2419
+ return r.removeEventListener("focusin", k, !0), r.removeEventListener("mousedown", w, !0), r.removeEventListener("touchstart", w, !0), r.removeEventListener("click", _, !0), r.removeEventListener("keydown", B, !0), a;
2420
2420
  }, U = function(M) {
2421
2421
  var N = M.some(function(C) {
2422
2422
  var z = Array.from(C.removedNodes);
@@ -2832,7 +2832,7 @@ const pu = /* @__PURE__ */ Ue(cu), fu = (e) => {
2832
2832
  }, n = () => {
2833
2833
  document.body.style.overflow = "unset";
2834
2834
  };
2835
- ye(() => {
2835
+ de(() => {
2836
2836
  const r = e == null ? void 0 : e.current;
2837
2837
  return r == null || r.addEventListener("mouseover", t), r == null || r.addEventListener("mouseout", n), () => {
2838
2838
  n(), r == null || r.removeEventListener("mouseover", t), r == null || r.removeEventListener("mouseout", n);
@@ -2982,13 +2982,23 @@ function Qt({
2982
2982
  containerStyle: s,
2983
2983
  configurations: u
2984
2984
  }) {
2985
- return ye(() => {
2985
+ return de(() => {
2986
+ const c = t == null ? void 0 : t.current, p = () => {
2987
+ c.removeAttribute("readOnly");
2988
+ }, m = () => {
2989
+ c.setAttribute("readOnly", "true");
2990
+ };
2991
+ return c.addEventListener("focus", p), c.addEventListener("touchstart", p), c.addEventListener("blur", m), c.addEventListener("touchend", m), () => {
2992
+ c.removeEventListener("focus", p), c.removeEventListener("touchstart", p), c.removeEventListener("blur", m), c.addEventListener("touchend", m);
2993
+ };
2994
+ }, [t]), de(() => {
2986
2995
  var c;
2987
2996
  (c = t == null ? void 0 : t.current) == null || c.focus();
2988
2997
  }, [e, n, t]), /* @__PURE__ */ D.jsxs("div", { className: "xpert-chatbot-popup__input--group", style: s, children: [
2989
2998
  /* @__PURE__ */ D.jsx(
2990
2999
  "textarea",
2991
3000
  {
3001
+ readOnly: !0,
2992
3002
  disabled: e,
2993
3003
  value: r,
2994
3004
  ref: t,
@@ -3165,7 +3175,7 @@ ao.propTypes = {
3165
3175
  };
3166
3176
  function uo({ disableScroll: e }) {
3167
3177
  const t = Fe(null);
3168
- return ye(() => {
3178
+ return de(() => {
3169
3179
  var n;
3170
3180
  e || (n = t.current) == null || n.scrollIntoView({
3171
3181
  behavior: "smooth",
@@ -3190,7 +3200,7 @@ uo.propTypes = {
3190
3200
  };
3191
3201
  const so = () => {
3192
3202
  const e = Fe(null);
3193
- return ye(() => {
3203
+ return de(() => {
3194
3204
  var t;
3195
3205
  (t = e.current) == null || t.scrollIntoView({
3196
3206
  behavior: "instant"
@@ -3338,7 +3348,7 @@ xe.prototype.line = null;
3338
3348
  xe.prototype.source = null;
3339
3349
  xe.prototype.ruleId = null;
3340
3350
  xe.prototype.position = null;
3341
- const Ie = { basename: Du, dirname: Nu, extname: Iu, join: Tu, sep: "/" };
3351
+ const Ie = { basename: Du, dirname: Nu, extname: Iu, join: vu, sep: "/" };
3342
3352
  function Du(e, t) {
3343
3353
  if (t !== void 0 && typeof t != "string")
3344
3354
  throw new TypeError('"ext" argument must be a string');
@@ -3400,19 +3410,19 @@ function Iu(e) {
3400
3410
  o === 0 || // The (right-most) trimmed path component is exactly `..`.
3401
3411
  o === 1 && i === n - 1 && i === r + 1 ? "" : e.slice(i, n);
3402
3412
  }
3403
- function Tu(...e) {
3413
+ function vu(...e) {
3404
3414
  let t = -1, n;
3405
3415
  for (; ++t < e.length; )
3406
3416
  ft(e[t]), e[t] && (n = n === void 0 ? e[t] : n + "/" + e[t]);
3407
- return n === void 0 ? "." : ku(n);
3417
+ return n === void 0 ? "." : Tu(n);
3408
3418
  }
3409
- function ku(e) {
3419
+ function Tu(e) {
3410
3420
  ft(e);
3411
3421
  const t = e.charCodeAt(0) === 47;
3412
- let n = vu(e, !t);
3422
+ let n = ku(e, !t);
3413
3423
  return n.length === 0 && !t && (n = "."), n.length > 0 && e.charCodeAt(e.length - 1) === 47 && (n += "/"), t ? "/" + n : n;
3414
3424
  }
3415
- function vu(e, t) {
3425
+ function ku(e, t) {
3416
3426
  let n = "", r = 0, i = -1, o = 0, l = -1, a, s;
3417
3427
  for (; ++l <= e.length; ) {
3418
3428
  if (l < e.length)
@@ -3451,8 +3461,8 @@ function ft(e) {
3451
3461
  "Path must be a string. Received " + JSON.stringify(e)
3452
3462
  );
3453
3463
  }
3454
- const ju = { cwd: Eu };
3455
- function Eu() {
3464
+ const Eu = { cwd: ju };
3465
+ function ju() {
3456
3466
  return "/";
3457
3467
  }
3458
3468
  function An(e) {
@@ -3522,7 +3532,7 @@ class po {
3522
3532
  */
3523
3533
  constructor(t) {
3524
3534
  let n;
3525
- t ? typeof t == "string" || Au(t) ? n = { value: t } : An(t) ? n = { path: t } : n = t : n = {}, this.data = {}, this.messages = [], this.history = [], this.cwd = ju.cwd(), this.value, this.stored, this.result, this.map;
3535
+ t ? typeof t == "string" || Au(t) ? n = { value: t } : An(t) ? n = { path: t } : n = t : n = {}, this.data = {}, this.messages = [], this.history = [], this.cwd = Eu.cwd(), this.value, this.stored, this.result, this.map;
3526
3536
  let r = -1;
3527
3537
  for (; ++r < pn.length; ) {
3528
3538
  const o = pn[r];
@@ -3850,11 +3860,11 @@ function go() {
3850
3860
  if (typeof b == "function")
3851
3861
  _(b, ...S);
3852
3862
  else if (typeof b == "object")
3853
- Array.isArray(b) ? B(b) : j(b);
3863
+ Array.isArray(b) ? B(b) : E(b);
3854
3864
  else
3855
3865
  throw new TypeError("Expected usable value, not `" + b + "`");
3856
3866
  return w && (n.settings = Object.assign(n.settings || {}, w)), o;
3857
- function v(y) {
3867
+ function k(y) {
3858
3868
  if (typeof y == "function")
3859
3869
  _(y);
3860
3870
  else if (typeof y == "object")
@@ -3862,11 +3872,11 @@ function go() {
3862
3872
  const [A, ...U] = y;
3863
3873
  _(A, ...U);
3864
3874
  } else
3865
- j(y);
3875
+ E(y);
3866
3876
  else
3867
3877
  throw new TypeError("Expected usable value, not `" + y + "`");
3868
3878
  }
3869
- function j(y) {
3879
+ function E(y) {
3870
3880
  B(y.plugins), y.settings && (w = Object.assign(w || {}, y.settings));
3871
3881
  }
3872
3882
  function B(y) {
@@ -3875,7 +3885,7 @@ function go() {
3875
3885
  if (Array.isArray(y))
3876
3886
  for (; ++A < y.length; ) {
3877
3887
  const U = y[A];
3878
- v(U);
3888
+ k(U);
3879
3889
  }
3880
3890
  else
3881
3891
  throw new TypeError("Expected a list of plugins, not `" + y + "`");
@@ -3897,32 +3907,32 @@ function go() {
3897
3907
  }
3898
3908
  function c(b, S) {
3899
3909
  o.freeze();
3900
- const w = et(S), v = o.Compiler;
3901
- return gn("stringify", v), Zr(b), Wr(v, "compile") ? new v(b, w).compile() : v(b, w);
3910
+ const w = et(S), k = o.Compiler;
3911
+ return gn("stringify", k), Zr(b), Wr(k, "compile") ? new k(b, w).compile() : k(b, w);
3902
3912
  }
3903
3913
  function p(b, S, w) {
3904
3914
  if (Zr(b), o.freeze(), !w && typeof S == "function" && (w = S, S = void 0), !w)
3905
- return new Promise(v);
3906
- v(null, w);
3907
- function v(j, B) {
3915
+ return new Promise(k);
3916
+ k(null, w);
3917
+ function k(E, B) {
3908
3918
  e.run(b, et(S), _);
3909
3919
  function _(y, A, U) {
3910
- A = A || b, y ? B(y) : j ? j(A) : w(null, A, U);
3920
+ A = A || b, y ? B(y) : E ? E(A) : w(null, A, U);
3911
3921
  }
3912
3922
  }
3913
3923
  }
3914
3924
  function m(b, S) {
3915
- let w, v;
3916
- return o.run(b, S, j), Gr("runSync", "run", v), w;
3917
- function j(B, _) {
3918
- Ur(B), w = _, v = !0;
3925
+ let w, k;
3926
+ return o.run(b, S, E), Gr("runSync", "run", k), w;
3927
+ function E(B, _) {
3928
+ Ur(B), w = _, k = !0;
3919
3929
  }
3920
3930
  }
3921
3931
  function f(b, S) {
3922
3932
  if (o.freeze(), hn("process", o.Parser), gn("process", o.Compiler), !S)
3923
3933
  return new Promise(w);
3924
3934
  w(null, S);
3925
- function w(v, j) {
3935
+ function w(k, E) {
3926
3936
  const B = et(b);
3927
3937
  o.run(o.parse(B), B, (y, A, U) => {
3928
3938
  if (y || !A || !U)
@@ -3933,7 +3943,7 @@ function go() {
3933
3943
  }
3934
3944
  });
3935
3945
  function _(y, A) {
3936
- y || !A ? j(y) : v ? v(A) : S(null, A);
3946
+ y || !A ? E(y) : k ? k(A) : S(null, A);
3937
3947
  }
3938
3948
  }
3939
3949
  }
@@ -3941,9 +3951,9 @@ function go() {
3941
3951
  let S;
3942
3952
  o.freeze(), hn("processSync", o.Parser), gn("processSync", o.Compiler);
3943
3953
  const w = et(b);
3944
- return o.process(w, v), Gr("processSync", "process", S), w;
3945
- function v(j) {
3946
- S = !0, Ur(j);
3954
+ return o.process(w, k), Gr("processSync", "process", S), w;
3955
+ function k(E) {
3956
+ S = !0, Ur(E);
3947
3957
  }
3948
3958
  }
3949
3959
  }
@@ -4022,7 +4032,7 @@ function Xr(e, t, n) {
4022
4032
  function Qu(e) {
4023
4033
  return !!(e && typeof e == "object");
4024
4034
  }
4025
- function ke(e, t, n, r) {
4035
+ function Te(e, t, n, r) {
4026
4036
  const i = e.length;
4027
4037
  let o = 0, l;
4028
4038
  if (t < 0 ? t = -t > i ? 0 : i + t : t = t > i ? i : t, n = n > 0 ? n : 0, r.length < 1e4)
@@ -4032,7 +4042,7 @@ function ke(e, t, n, r) {
4032
4042
  l = r.slice(o, o + 1e4), l.unshift(t, 0), e.splice(...l), o += 1e4, t += 1e4;
4033
4043
  }
4034
4044
  function Me(e, t) {
4035
- return e.length > 0 ? (ke(e, e.length, 0, t), e) : t;
4045
+ return e.length > 0 ? (Te(e, e.length, 0, t), e) : t;
4036
4046
  }
4037
4047
  const Kr = {}.hasOwnProperty;
4038
4048
  function Yu(e) {
@@ -4064,9 +4074,9 @@ function qu(e, t) {
4064
4074
  const r = [];
4065
4075
  for (; ++n < t.length; )
4066
4076
  (t[n].add === "after" ? e : r).push(t[n]);
4067
- ke(e, 0, 0, r);
4077
+ Te(e, 0, 0, r);
4068
4078
  }
4069
- const $u = /[!-\/:-@\[-`\{-~\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]/, Te = Oe(/[A-Za-z]/), me = Oe(/[\dA-Za-z]/), Vu = Oe(/[#-'*+\--9=?A-Z^-~]/);
4079
+ const $u = /[!-\/:-@\[-`\{-~\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]/, ve = Oe(/[A-Za-z]/), ye = Oe(/[\dA-Za-z]/), Vu = Oe(/[#-'*+\--9=?A-Z^-~]/);
4070
4080
  function zn(e) {
4071
4081
  return (
4072
4082
  // Special whitespace codes (which have negative values), C0 and Control
@@ -4078,7 +4088,7 @@ const Ln = Oe(/\d/), Wu = Oe(/[\dA-Fa-f]/), Zu = Oe(/[!-/:-@[-`{-~]/);
4078
4088
  function R(e) {
4079
4089
  return e !== null && e < -2;
4080
4090
  }
4081
- function de(e) {
4091
+ function he(e) {
4082
4092
  return e !== null && (e < 0 || e === 32);
4083
4093
  }
4084
4094
  function Z(e) {
@@ -4147,20 +4157,20 @@ function ts(e) {
4147
4157
  const t = this, n = [];
4148
4158
  let r = 0, i, o, l;
4149
4159
  return a;
4150
- function a(j) {
4160
+ function a(E) {
4151
4161
  if (r < n.length) {
4152
4162
  const B = n[r];
4153
4163
  return t.containerState = B[1], e.attempt(
4154
4164
  B[0].continuation,
4155
4165
  s,
4156
4166
  u
4157
- )(j);
4167
+ )(E);
4158
4168
  }
4159
- return u(j);
4169
+ return u(E);
4160
4170
  }
4161
- function s(j) {
4171
+ function s(E) {
4162
4172
  if (r++, t.containerState._closeFlow) {
4163
- t.containerState._closeFlow = void 0, i && v();
4173
+ t.containerState._closeFlow = void 0, i && k();
4164
4174
  const B = t.events.length;
4165
4175
  let _ = B, y;
4166
4176
  for (; _--; )
@@ -4172,66 +4182,66 @@ function ts(e) {
4172
4182
  let A = B;
4173
4183
  for (; A < t.events.length; )
4174
4184
  t.events[A][1].end = Object.assign({}, y), A++;
4175
- return ke(
4185
+ return Te(
4176
4186
  t.events,
4177
4187
  _ + 1,
4178
4188
  0,
4179
4189
  t.events.slice(B)
4180
- ), t.events.length = A, u(j);
4190
+ ), t.events.length = A, u(E);
4181
4191
  }
4182
- return a(j);
4192
+ return a(E);
4183
4193
  }
4184
- function u(j) {
4194
+ function u(E) {
4185
4195
  if (r === n.length) {
4186
4196
  if (!i)
4187
- return m(j);
4197
+ return m(E);
4188
4198
  if (i.currentConstruct && i.currentConstruct.concrete)
4189
- return I(j);
4199
+ return I(E);
4190
4200
  t.interrupt = !!(i.currentConstruct && !i._gfmTableDynamicInterruptHack);
4191
4201
  }
4192
4202
  return t.containerState = {}, e.check(
4193
4203
  Jr,
4194
4204
  c,
4195
4205
  p
4196
- )(j);
4206
+ )(E);
4197
4207
  }
4198
- function c(j) {
4199
- return i && v(), w(r), m(j);
4208
+ function c(E) {
4209
+ return i && k(), w(r), m(E);
4200
4210
  }
4201
- function p(j) {
4202
- return t.parser.lazy[t.now().line] = r !== n.length, l = t.now().offset, I(j);
4211
+ function p(E) {
4212
+ return t.parser.lazy[t.now().line] = r !== n.length, l = t.now().offset, I(E);
4203
4213
  }
4204
- function m(j) {
4214
+ function m(E) {
4205
4215
  return t.containerState = {}, e.attempt(
4206
4216
  Jr,
4207
4217
  f,
4208
4218
  I
4209
- )(j);
4219
+ )(E);
4210
4220
  }
4211
- function f(j) {
4212
- return r++, n.push([t.currentConstruct, t.containerState]), m(j);
4221
+ function f(E) {
4222
+ return r++, n.push([t.currentConstruct, t.containerState]), m(E);
4213
4223
  }
4214
- function I(j) {
4215
- if (j === null) {
4216
- i && v(), w(0), e.consume(j);
4224
+ function I(E) {
4225
+ if (E === null) {
4226
+ i && k(), w(0), e.consume(E);
4217
4227
  return;
4218
4228
  }
4219
4229
  return i = i || t.parser.flow(t.now()), e.enter("chunkFlow", {
4220
4230
  contentType: "flow",
4221
4231
  previous: o,
4222
4232
  _tokenizer: i
4223
- }), b(j);
4233
+ }), b(E);
4224
4234
  }
4225
- function b(j) {
4226
- if (j === null) {
4227
- S(e.exit("chunkFlow"), !0), w(0), e.consume(j);
4235
+ function b(E) {
4236
+ if (E === null) {
4237
+ S(e.exit("chunkFlow"), !0), w(0), e.consume(E);
4228
4238
  return;
4229
4239
  }
4230
- return R(j) ? (e.consume(j), S(e.exit("chunkFlow")), r = 0, t.interrupt = void 0, a) : (e.consume(j), b);
4240
+ return R(E) ? (e.consume(E), S(e.exit("chunkFlow")), r = 0, t.interrupt = void 0, a) : (e.consume(E), b);
4231
4241
  }
4232
- function S(j, B) {
4233
- const _ = t.sliceStream(j);
4234
- if (B && _.push(null), j.previous = o, o && (o.next = j), o = j, i.defineSkip(j.start), i.write(_), t.parser.lazy[j.start.line]) {
4242
+ function S(E, B) {
4243
+ const _ = t.sliceStream(E);
4244
+ if (B && _.push(null), E.previous = o, o && (o.next = E), o = E, i.defineSkip(E.start), i.write(_), t.parser.lazy[E.start.line]) {
4235
4245
  let y = i.events.length;
4236
4246
  for (; y--; )
4237
4247
  if (
@@ -4253,7 +4263,7 @@ function ts(e) {
4253
4263
  }
4254
4264
  for (w(r), y = A; y < t.events.length; )
4255
4265
  t.events[y][1].end = Object.assign({}, q), y++;
4256
- ke(
4266
+ Te(
4257
4267
  t.events,
4258
4268
  U + 1,
4259
4269
  0,
@@ -4261,15 +4271,15 @@ function ts(e) {
4261
4271
  ), t.events.length = y;
4262
4272
  }
4263
4273
  }
4264
- function w(j) {
4274
+ function w(E) {
4265
4275
  let B = n.length;
4266
- for (; B-- > j; ) {
4276
+ for (; B-- > E; ) {
4267
4277
  const _ = n[B];
4268
4278
  t.containerState = _[1], _[0].exit.call(t, e);
4269
4279
  }
4270
- n.length = j;
4280
+ n.length = E;
4271
4281
  }
4272
- function v() {
4282
+ function k() {
4273
4283
  i.write([null]), o = void 0, i = void 0, t.containerState._closeFlow = void 0;
4274
4284
  }
4275
4285
  }
@@ -4282,7 +4292,7 @@ function ns(e, t, n) {
4282
4292
  );
4283
4293
  }
4284
4294
  function ei(e) {
4285
- if (e === null || de(e) || Xu(e))
4295
+ if (e === null || he(e) || Xu(e))
4286
4296
  return 1;
4287
4297
  if (Gu(e))
4288
4298
  return 2;
@@ -4351,7 +4361,7 @@ function rs(e, t) {
4351
4361
  ]), e[n][1].end.offset - e[n][1].start.offset ? (c = 2, u = Me(u, [
4352
4362
  ["enter", e[n][1], t],
4353
4363
  ["exit", e[n][1], t]
4354
- ])) : c = 0, ke(e, r - 1, n - r + 3, u), n = r + u.length - c - 2;
4364
+ ])) : c = 0, Te(e, r - 1, n - r + 3, u), n = r + u.length - c - 2;
4355
4365
  break;
4356
4366
  }
4357
4367
  }
@@ -4387,13 +4397,13 @@ function ls(e, t, n) {
4387
4397
  return e.enter("autolink"), e.enter("autolinkMarker"), e.consume(f), e.exit("autolinkMarker"), e.enter("autolinkProtocol"), o;
4388
4398
  }
4389
4399
  function o(f) {
4390
- return Te(f) ? (e.consume(f), l) : u(f);
4400
+ return ve(f) ? (e.consume(f), l) : u(f);
4391
4401
  }
4392
4402
  function l(f) {
4393
- return f === 43 || f === 45 || f === 46 || me(f) ? (r = 1, a(f)) : u(f);
4403
+ return f === 43 || f === 45 || f === 46 || ye(f) ? (r = 1, a(f)) : u(f);
4394
4404
  }
4395
4405
  function a(f) {
4396
- 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));
4406
+ 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));
4397
4407
  }
4398
4408
  function s(f) {
4399
4409
  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 || zn(f) ? n(f) : (e.consume(f), s);
@@ -4402,13 +4412,13 @@ function ls(e, t, n) {
4402
4412
  return f === 64 ? (e.consume(f), c) : Vu(f) ? (e.consume(f), u) : n(f);
4403
4413
  }
4404
4414
  function c(f) {
4405
- return me(f) ? p(f) : n(f);
4415
+ return ye(f) ? p(f) : n(f);
4406
4416
  }
4407
4417
  function p(f) {
4408
4418
  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);
4409
4419
  }
4410
4420
  function m(f) {
4411
- if ((f === 45 || me(f)) && r++ < 63) {
4421
+ if ((f === 45 || ye(f)) && r++ < 63) {
4412
4422
  const I = f === 45 ? m : p;
4413
4423
  return e.consume(f), I;
4414
4424
  }
@@ -4502,7 +4512,7 @@ function fs(e, t, n) {
4502
4512
  return e.enter("characterReference"), e.enter("characterReferenceMarker"), e.consume(p), e.exit("characterReferenceMarker"), s;
4503
4513
  }
4504
4514
  function s(p) {
4505
- return p === 35 ? (e.enter("characterReferenceMarkerNumeric"), e.consume(p), e.exit("characterReferenceMarkerNumeric"), u) : (e.enter("characterReferenceValue"), o = 31, l = me, c(p));
4515
+ return p === 35 ? (e.enter("characterReferenceMarkerNumeric"), e.consume(p), e.exit("characterReferenceMarkerNumeric"), u) : (e.enter("characterReferenceValue"), o = 31, l = ye, c(p));
4506
4516
  }
4507
4517
  function u(p) {
4508
4518
  return p === 88 || p === 120 ? (e.enter("characterReferenceMarkerHexadecimal"), e.consume(p), e.exit("characterReferenceMarkerHexadecimal"), e.enter("characterReferenceValue"), o = 6, l = Wu, c) : (e.enter("characterReferenceValue"), o = 7, l = Ln, c(p));
@@ -4510,7 +4520,7 @@ function fs(e, t, n) {
4510
4520
  function c(p) {
4511
4521
  if (p === 59 && i) {
4512
4522
  const m = e.exit("characterReferenceValue");
4513
- return l === me && !Xn(r.sliceSerialize(m)) ? n(p) : (e.enter("characterReferenceMarker"), e.consume(p), e.exit("characterReferenceMarker"), e.exit("characterReference"), t);
4523
+ return l === ye && !Xn(r.sliceSerialize(m)) ? n(p) : (e.enter("characterReferenceMarker"), e.consume(p), e.exit("characterReferenceMarker"), e.exit("characterReference"), t);
4514
4524
  }
4515
4525
  return l(p) && i++ < o ? (e.consume(p), c) : n(p);
4516
4526
  }
@@ -4565,16 +4575,16 @@ function ds(e, t, n) {
4565
4575
  function w(y) {
4566
4576
  return o > 0 && Z(y) ? ee(
4567
4577
  e,
4568
- v,
4578
+ k,
4569
4579
  "linePrefix",
4570
4580
  o + 1
4571
- )(y) : v(y);
4581
+ )(y) : k(y);
4572
4582
  }
4573
- function v(y) {
4574
- return y === null || R(y) ? e.check(ri, b, B)(y) : (e.enter("codeFlowValue"), j(y));
4583
+ function k(y) {
4584
+ return y === null || R(y) ? e.check(ri, b, B)(y) : (e.enter("codeFlowValue"), E(y));
4575
4585
  }
4576
- function j(y) {
4577
- return y === null || R(y) ? (e.exit("codeFlowValue"), v(y)) : (e.consume(y), j);
4586
+ function E(y) {
4587
+ return y === null || R(y) ? (e.exit("codeFlowValue"), k(y)) : (e.consume(y), E);
4578
4588
  }
4579
4589
  function B(y) {
4580
4590
  return e.exit("codeFenced"), t(y);
@@ -4583,9 +4593,9 @@ function ds(e, t, n) {
4583
4593
  let Q = 0;
4584
4594
  return q;
4585
4595
  function q(z) {
4586
- return y.enter("lineEnding"), y.consume(z), y.exit("lineEnding"), E;
4596
+ return y.enter("lineEnding"), y.consume(z), y.exit("lineEnding"), j;
4587
4597
  }
4588
- function E(z) {
4598
+ function j(z) {
4589
4599
  return y.enter("codeFencedFence"), Z(z) ? ee(
4590
4600
  y,
4591
4601
  M,
@@ -4707,7 +4717,7 @@ function bo(e) {
4707
4717
  else if (r[1]._container) {
4708
4718
  for (o = n, i = void 0; o-- && (l = e[o], l[1].type === "lineEnding" || l[1].type === "lineEndingBlank"); )
4709
4719
  l[0] === "enter" && (i && (e[i][1].type = "lineEndingBlank"), l[1].type = "lineEnding", i = o);
4710
- i && (r[1].end = Object.assign({}, e[i][1].start), a = e.slice(i, n), a.unshift(r), ke(e, i, n - i + 1, a));
4720
+ i && (r[1].end = Object.assign({}, e[i][1].start), a = e.slice(i, n), a.unshift(r), Te(e, i, n - i + 1, a));
4711
4721
  }
4712
4722
  }
4713
4723
  return !u;
@@ -4727,24 +4737,24 @@ function Ds(e, t) {
4727
4737
  // Find a void token that includes a break.
4728
4738
  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 && (b = m + 1, S.push(b), f._tokenizer = void 0, f.previous = void 0, f = f.next);
4729
4739
  for (l.events = [], f ? (f._tokenizer = void 0, f.previous = void 0) : S.pop(), m = S.length; m--; ) {
4730
- const w = a.slice(S[m], S[m + 1]), v = o.pop();
4731
- s.unshift([v, v + w.length - 1]), ke(e, v, 2, w);
4740
+ const w = a.slice(S[m], S[m + 1]), k = o.pop();
4741
+ s.unshift([k, k + w.length - 1]), Te(e, k, 2, w);
4732
4742
  }
4733
4743
  for (m = -1; ++m < s.length; )
4734
4744
  u[I + s[m][0]] = I + s[m][1], I += s[m][1] - s[m][0] - 1;
4735
4745
  return u;
4736
4746
  }
4737
4747
  const Ns = {
4738
- tokenize: ks,
4739
- resolve: Ts
4748
+ tokenize: Ts,
4749
+ resolve: vs
4740
4750
  }, Is = {
4741
- tokenize: vs,
4751
+ tokenize: ks,
4742
4752
  partial: !0
4743
4753
  };
4744
- function Ts(e) {
4754
+ function vs(e) {
4745
4755
  return bo(e), e;
4746
4756
  }
4747
- function ks(e, t) {
4757
+ function Ts(e, t) {
4748
4758
  let n;
4749
4759
  return r;
4750
4760
  function r(a) {
@@ -4769,7 +4779,7 @@ function ks(e, t) {
4769
4779
  }), n = n.next, i;
4770
4780
  }
4771
4781
  }
4772
- function vs(e, t, n) {
4782
+ function ks(e, t, n) {
4773
4783
  const r = this;
4774
4784
  return i;
4775
4785
  function i(l) {
@@ -4803,7 +4813,7 @@ function wo(e, t, n, r, i, o, l, a, s) {
4803
4813
  return w === 60 || w === 62 || w === 92 ? (e.consume(w), f) : f(w);
4804
4814
  }
4805
4815
  function b(w) {
4806
- return !c && (w === null || w === 41 || de(w)) ? (e.exit("chunkString"), e.exit(a), e.exit(l), e.exit(r), t(w)) : c < u && w === 40 ? (e.consume(w), c++, b) : w === 41 ? (e.consume(w), c--, b) : w === null || w === 32 || w === 40 || zn(w) ? n(w) : (e.consume(w), w === 92 ? S : b);
4816
+ return !c && (w === null || w === 41 || he(w)) ? (e.exit("chunkString"), e.exit(a), e.exit(l), e.exit(r), t(w)) : c < u && w === 40 ? (e.consume(w), c++, b) : w === 41 ? (e.consume(w), c--, b) : w === null || w === 32 || w === 40 || zn(w) ? n(w) : (e.consume(w), w === 92 ? S : b);
4807
4817
  }
4808
4818
  function S(w) {
4809
4819
  return w === 40 || w === 41 || w === 92 ? (e.consume(w), b) : b(w);
@@ -4868,10 +4878,10 @@ function lt(e, t) {
4868
4878
  function Qe(e) {
4869
4879
  return e.replace(/[\t\n\r ]+/g, " ").replace(/^ | $/g, "").toLowerCase().toUpperCase();
4870
4880
  }
4871
- const js = {
4881
+ const Es = {
4872
4882
  name: "definition",
4873
4883
  tokenize: Ss
4874
- }, Es = {
4884
+ }, js = {
4875
4885
  tokenize: Cs,
4876
4886
  partial: !0
4877
4887
  };
@@ -4900,7 +4910,7 @@ function Ss(e, t, n) {
4900
4910
  ), f === 58 ? (e.enter("definitionMarker"), e.consume(f), e.exit("definitionMarker"), s) : n(f);
4901
4911
  }
4902
4912
  function s(f) {
4903
- return de(f) ? lt(e, u)(f) : u(f);
4913
+ return he(f) ? lt(e, u)(f) : u(f);
4904
4914
  }
4905
4915
  function u(f) {
4906
4916
  return wo(
@@ -4916,7 +4926,7 @@ function Ss(e, t, n) {
4916
4926
  )(f);
4917
4927
  }
4918
4928
  function c(f) {
4919
- return e.attempt(Es, p, p)(f);
4929
+ return e.attempt(js, p, p)(f);
4920
4930
  }
4921
4931
  function p(f) {
4922
4932
  return Z(f) ? ee(e, m, "whitespace")(f) : m(f);
@@ -4928,7 +4938,7 @@ function Ss(e, t, n) {
4928
4938
  function Cs(e, t, n) {
4929
4939
  return r;
4930
4940
  function r(a) {
4931
- return de(a) ? lt(e, i)(a) : n(a);
4941
+ return he(a) ? lt(e, i)(a) : n(a);
4932
4942
  }
4933
4943
  function i(a) {
4934
4944
  return No(
@@ -4976,7 +4986,7 @@ function Ls(e, t) {
4976
4986
  start: e[r][1].start,
4977
4987
  end: e[n][1].end,
4978
4988
  contentType: "text"
4979
- }, ke(e, r, n - r + 1, [
4989
+ }, Te(e, r, n - r + 1, [
4980
4990
  ["enter", i, t],
4981
4991
  ["enter", o, t],
4982
4992
  ["exit", o, t],
@@ -4993,7 +5003,7 @@ function Ps(e, t, n) {
4993
5003
  return e.enter("atxHeadingSequence"), l(c);
4994
5004
  }
4995
5005
  function l(c) {
4996
- return c === 35 && r++ < 6 ? (e.consume(c), l) : c === null || de(c) ? (e.exit("atxHeadingSequence"), a(c)) : n(c);
5006
+ return c === 35 && r++ < 6 ? (e.consume(c), l) : c === null || he(c) ? (e.exit("atxHeadingSequence"), a(c)) : n(c);
4997
5007
  }
4998
5008
  function a(c) {
4999
5009
  return c === 35 ? (e.enter("atxHeadingSequence"), s(c)) : c === null || R(c) ? (e.exit("atxHeading"), t(c)) : Z(c) ? ee(e, a, "whitespace")(c) : (e.enter("atxHeadingText"), u(c));
@@ -5002,7 +5012,7 @@ function Ps(e, t, n) {
5002
5012
  return c === 35 ? (e.consume(c), s) : (e.exit("atxHeadingSequence"), a(c));
5003
5013
  }
5004
5014
  function u(c) {
5005
- return c === null || c === 35 || de(c) ? (e.exit("atxHeadingText"), a(c)) : (e.consume(c), u);
5015
+ return c === null || c === 35 || he(c) ? (e.exit("atxHeadingText"), a(c)) : (e.consume(c), u);
5006
5016
  }
5007
5017
  }
5008
5018
  const Fs = [
@@ -5097,10 +5107,10 @@ function Qs(e, t, n) {
5097
5107
  return e.enter("htmlFlow"), e.enter("htmlFlowData"), e.consume(h), p;
5098
5108
  }
5099
5109
  function p(h) {
5100
- return h === 33 ? (e.consume(h), m) : h === 47 ? (e.consume(h), o = !0, b) : h === 63 ? (e.consume(h), i = 3, r.interrupt ? t : d) : Te(h) ? (e.consume(h), l = String.fromCharCode(h), S) : n(h);
5110
+ return h === 33 ? (e.consume(h), m) : h === 47 ? (e.consume(h), o = !0, b) : h === 63 ? (e.consume(h), i = 3, r.interrupt ? t : d) : ve(h) ? (e.consume(h), l = String.fromCharCode(h), S) : n(h);
5101
5111
  }
5102
5112
  function m(h) {
5103
- return h === 45 ? (e.consume(h), i = 2, f) : h === 91 ? (e.consume(h), i = 5, a = 0, I) : Te(h) ? (e.consume(h), i = 4, r.interrupt ? t : d) : n(h);
5113
+ return h === 45 ? (e.consume(h), i = 2, f) : h === 91 ? (e.consume(h), i = 5, a = 0, I) : ve(h) ? (e.consume(h), i = 4, r.interrupt ? t : d) : n(h);
5104
5114
  }
5105
5115
  function f(h) {
5106
5116
  return h === 45 ? (e.consume(h), r.interrupt ? t : d) : n(h);
@@ -5110,29 +5120,29 @@ function Qs(e, t, n) {
5110
5120
  return h === re.charCodeAt(a++) ? (e.consume(h), a === re.length ? r.interrupt ? t : M : I) : n(h);
5111
5121
  }
5112
5122
  function b(h) {
5113
- return Te(h) ? (e.consume(h), l = String.fromCharCode(h), S) : n(h);
5123
+ return ve(h) ? (e.consume(h), l = String.fromCharCode(h), S) : n(h);
5114
5124
  }
5115
5125
  function S(h) {
5116
- if (h === null || h === 47 || h === 62 || de(h)) {
5126
+ if (h === null || h === 47 || h === 62 || he(h)) {
5117
5127
  const re = h === 47, te = l.toLowerCase();
5118
- return !re && !o && oi.includes(te) ? (i = 1, r.interrupt ? t(h) : M(h)) : Fs.includes(l.toLowerCase()) ? (i = 6, re ? (e.consume(h), w) : r.interrupt ? t(h) : M(h)) : (i = 7, r.interrupt && !r.parser.lazy[r.now().line] ? n(h) : o ? v(h) : j(h));
5128
+ return !re && !o && oi.includes(te) ? (i = 1, r.interrupt ? t(h) : M(h)) : Fs.includes(l.toLowerCase()) ? (i = 6, re ? (e.consume(h), w) : r.interrupt ? t(h) : M(h)) : (i = 7, r.interrupt && !r.parser.lazy[r.now().line] ? n(h) : o ? k(h) : E(h));
5119
5129
  }
5120
- return h === 45 || me(h) ? (e.consume(h), l += String.fromCharCode(h), S) : n(h);
5130
+ return h === 45 || ye(h) ? (e.consume(h), l += String.fromCharCode(h), S) : n(h);
5121
5131
  }
5122
5132
  function w(h) {
5123
5133
  return h === 62 ? (e.consume(h), r.interrupt ? t : M) : n(h);
5124
5134
  }
5125
- function v(h) {
5126
- return Z(h) ? (e.consume(h), v) : q(h);
5135
+ function k(h) {
5136
+ return Z(h) ? (e.consume(h), k) : q(h);
5127
5137
  }
5128
- function j(h) {
5129
- return h === 47 ? (e.consume(h), q) : h === 58 || h === 95 || Te(h) ? (e.consume(h), B) : Z(h) ? (e.consume(h), j) : q(h);
5138
+ function E(h) {
5139
+ return h === 47 ? (e.consume(h), q) : h === 58 || h === 95 || ve(h) ? (e.consume(h), B) : Z(h) ? (e.consume(h), E) : q(h);
5130
5140
  }
5131
5141
  function B(h) {
5132
- return h === 45 || h === 46 || h === 58 || h === 95 || me(h) ? (e.consume(h), B) : _(h);
5142
+ return h === 45 || h === 46 || h === 58 || h === 95 || ye(h) ? (e.consume(h), B) : _(h);
5133
5143
  }
5134
5144
  function _(h) {
5135
- return h === 61 ? (e.consume(h), y) : Z(h) ? (e.consume(h), _) : j(h);
5145
+ return h === 61 ? (e.consume(h), y) : Z(h) ? (e.consume(h), _) : E(h);
5136
5146
  }
5137
5147
  function y(h) {
5138
5148
  return h === null || h === 60 || h === 61 || h === 62 || h === 96 ? n(h) : h === 34 || h === 39 ? (e.consume(h), s = h, A) : Z(h) ? (e.consume(h), y) : U(h);
@@ -5141,16 +5151,16 @@ function Qs(e, t, n) {
5141
5151
  return h === s ? (e.consume(h), s = null, Q) : h === null || R(h) ? n(h) : (e.consume(h), A);
5142
5152
  }
5143
5153
  function U(h) {
5144
- return h === null || h === 34 || h === 39 || h === 47 || h === 60 || h === 61 || h === 62 || h === 96 || de(h) ? _(h) : (e.consume(h), U);
5154
+ return h === null || h === 34 || h === 39 || h === 47 || h === 60 || h === 61 || h === 62 || h === 96 || he(h) ? _(h) : (e.consume(h), U);
5145
5155
  }
5146
5156
  function Q(h) {
5147
- return h === 47 || h === 62 || Z(h) ? j(h) : n(h);
5157
+ return h === 47 || h === 62 || Z(h) ? E(h) : n(h);
5148
5158
  }
5149
5159
  function q(h) {
5150
- return h === 62 ? (e.consume(h), E) : n(h);
5160
+ return h === 62 ? (e.consume(h), j) : n(h);
5151
5161
  }
5152
- function E(h) {
5153
- return h === null || R(h) ? M(h) : Z(h) ? (e.consume(h), E) : n(h);
5162
+ function j(h) {
5163
+ return h === null || R(h) ? M(h) : Z(h) ? (e.consume(h), j) : n(h);
5154
5164
  }
5155
5165
  function M(h) {
5156
5166
  return h === 45 && i === 2 ? (e.consume(h), F) : h === 60 && i === 1 ? (e.consume(h), Y) : h === 62 && i === 4 ? (e.consume(h), ne) : h === 63 && i === 3 ? (e.consume(h), d) : h === 93 && i === 5 ? (e.consume(h), X) : R(h) && (i === 6 || i === 7) ? (e.exit("htmlFlowData"), e.check(
@@ -5183,7 +5193,7 @@ function Qs(e, t, n) {
5183
5193
  const re = l.toLowerCase();
5184
5194
  return oi.includes(re) ? (e.consume(h), ne) : M(h);
5185
5195
  }
5186
- return Te(h) && l.length < 8 ? (e.consume(h), l += String.fromCharCode(h), V) : M(h);
5196
+ return ve(h) && l.length < 8 ? (e.consume(h), l += String.fromCharCode(h), V) : M(h);
5187
5197
  }
5188
5198
  function X(h) {
5189
5199
  return h === 93 ? (e.consume(h), d) : M(h);
@@ -5226,10 +5236,10 @@ function $s(e, t, n) {
5226
5236
  return e.enter("htmlText"), e.enter("htmlTextData"), e.consume(d), s;
5227
5237
  }
5228
5238
  function s(d) {
5229
- return d === 33 ? (e.consume(d), u) : d === 47 ? (e.consume(d), _) : d === 63 ? (e.consume(d), j) : Te(d) ? (e.consume(d), U) : n(d);
5239
+ return d === 33 ? (e.consume(d), u) : d === 47 ? (e.consume(d), _) : d === 63 ? (e.consume(d), E) : ve(d) ? (e.consume(d), U) : n(d);
5230
5240
  }
5231
5241
  function u(d) {
5232
- return d === 45 ? (e.consume(d), c) : d === 91 ? (e.consume(d), o = 0, I) : Te(d) ? (e.consume(d), v) : n(d);
5242
+ return d === 45 ? (e.consume(d), c) : d === 91 ? (e.consume(d), o = 0, I) : ve(d) ? (e.consume(d), k) : n(d);
5233
5243
  }
5234
5244
  function c(d) {
5235
5245
  return d === 45 ? (e.consume(d), f) : n(d);
@@ -5256,35 +5266,35 @@ function $s(e, t, n) {
5256
5266
  function w(d) {
5257
5267
  return d === 62 ? F(d) : d === 93 ? (e.consume(d), w) : b(d);
5258
5268
  }
5259
- function v(d) {
5260
- return d === null || d === 62 ? F(d) : R(d) ? (l = v, Y(d)) : (e.consume(d), v);
5269
+ function k(d) {
5270
+ return d === null || d === 62 ? F(d) : R(d) ? (l = k, Y(d)) : (e.consume(d), k);
5261
5271
  }
5262
- function j(d) {
5263
- return d === null ? n(d) : d === 63 ? (e.consume(d), B) : R(d) ? (l = j, Y(d)) : (e.consume(d), j);
5272
+ function E(d) {
5273
+ return d === null ? n(d) : d === 63 ? (e.consume(d), B) : R(d) ? (l = E, Y(d)) : (e.consume(d), E);
5264
5274
  }
5265
5275
  function B(d) {
5266
- return d === 62 ? F(d) : j(d);
5276
+ return d === 62 ? F(d) : E(d);
5267
5277
  }
5268
5278
  function _(d) {
5269
- return Te(d) ? (e.consume(d), y) : n(d);
5279
+ return ve(d) ? (e.consume(d), y) : n(d);
5270
5280
  }
5271
5281
  function y(d) {
5272
- return d === 45 || me(d) ? (e.consume(d), y) : A(d);
5282
+ return d === 45 || ye(d) ? (e.consume(d), y) : A(d);
5273
5283
  }
5274
5284
  function A(d) {
5275
5285
  return R(d) ? (l = A, Y(d)) : Z(d) ? (e.consume(d), A) : F(d);
5276
5286
  }
5277
5287
  function U(d) {
5278
- return d === 45 || me(d) ? (e.consume(d), U) : d === 47 || d === 62 || de(d) ? Q(d) : n(d);
5288
+ return d === 45 || ye(d) ? (e.consume(d), U) : d === 47 || d === 62 || he(d) ? Q(d) : n(d);
5279
5289
  }
5280
5290
  function Q(d) {
5281
- return d === 47 ? (e.consume(d), F) : d === 58 || d === 95 || Te(d) ? (e.consume(d), q) : R(d) ? (l = Q, Y(d)) : Z(d) ? (e.consume(d), Q) : F(d);
5291
+ return d === 47 ? (e.consume(d), F) : d === 58 || d === 95 || ve(d) ? (e.consume(d), q) : R(d) ? (l = Q, Y(d)) : Z(d) ? (e.consume(d), Q) : F(d);
5282
5292
  }
5283
5293
  function q(d) {
5284
- return d === 45 || d === 46 || d === 58 || d === 95 || me(d) ? (e.consume(d), q) : E(d);
5294
+ return d === 45 || d === 46 || d === 58 || d === 95 || ye(d) ? (e.consume(d), q) : j(d);
5285
5295
  }
5286
- function E(d) {
5287
- return d === 61 ? (e.consume(d), M) : R(d) ? (l = E, Y(d)) : Z(d) ? (e.consume(d), E) : Q(d);
5296
+ function j(d) {
5297
+ return d === 61 ? (e.consume(d), M) : R(d) ? (l = j, Y(d)) : Z(d) ? (e.consume(d), j) : Q(d);
5288
5298
  }
5289
5299
  function M(d) {
5290
5300
  return d === null || d === 60 || d === 61 || d === 62 || d === 96 ? n(d) : d === 34 || d === 39 ? (e.consume(d), i = d, N) : R(d) ? (l = M, Y(d)) : Z(d) ? (e.consume(d), M) : (e.consume(d), C);
@@ -5293,10 +5303,10 @@ function $s(e, t, n) {
5293
5303
  return d === i ? (e.consume(d), i = void 0, z) : d === null ? n(d) : R(d) ? (l = N, Y(d)) : (e.consume(d), N);
5294
5304
  }
5295
5305
  function C(d) {
5296
- return d === null || d === 34 || d === 39 || d === 60 || d === 61 || d === 96 ? n(d) : d === 47 || d === 62 || de(d) ? Q(d) : (e.consume(d), C);
5306
+ return d === null || d === 34 || d === 39 || d === 60 || d === 61 || d === 96 ? n(d) : d === 47 || d === 62 || he(d) ? Q(d) : (e.consume(d), C);
5297
5307
  }
5298
5308
  function z(d) {
5299
- return d === 47 || d === 62 || de(d) ? Q(d) : n(d);
5309
+ return d === 47 || d === 62 || he(d) ? Q(d) : n(d);
5300
5310
  }
5301
5311
  function F(d) {
5302
5312
  return d === 62 ? (e.consume(d), e.exit("htmlTextData"), e.exit("htmlText"), t) : n(d);
@@ -5378,7 +5388,7 @@ function Xs(e, t) {
5378
5388
  e[l - 2],
5379
5389
  e[l - 1],
5380
5390
  ["exit", u, t]
5381
- ]), a = Me(a, e.slice(l + 1)), a = Me(a, [["exit", s, t]]), ke(e, o, e.length, a), e;
5391
+ ]), a = Me(a, e.slice(l + 1)), a = Me(a, [["exit", s, t]]), Te(e, o, e.length, a), e;
5382
5392
  }
5383
5393
  function Ks(e, t, n) {
5384
5394
  const r = this;
@@ -5430,7 +5440,7 @@ function Js(e, t, n) {
5430
5440
  return e.enter("resource"), e.enter("resourceMarker"), e.consume(p), e.exit("resourceMarker"), i;
5431
5441
  }
5432
5442
  function i(p) {
5433
- return de(p) ? lt(e, o)(p) : o(p);
5443
+ return he(p) ? lt(e, o)(p) : o(p);
5434
5444
  }
5435
5445
  function o(p) {
5436
5446
  return p === 41 ? c(p) : wo(
@@ -5446,7 +5456,7 @@ function Js(e, t, n) {
5446
5456
  )(p);
5447
5457
  }
5448
5458
  function l(p) {
5449
- return de(p) ? lt(e, s)(p) : c(p);
5459
+ return he(p) ? lt(e, s)(p) : c(p);
5450
5460
  }
5451
5461
  function a(p) {
5452
5462
  return n(p);
@@ -5462,7 +5472,7 @@ function Js(e, t, n) {
5462
5472
  )(p) : c(p);
5463
5473
  }
5464
5474
  function u(p) {
5465
- return de(p) ? lt(e, c)(p) : c(p);
5475
+ return he(p) ? lt(e, c)(p) : c(p);
5466
5476
  }
5467
5477
  function c(p) {
5468
5478
  return p === 41 ? (e.enter("resourceMarker"), e.consume(p), e.exit("resourceMarker"), e.exit("resource"), t) : n(p);
@@ -5758,12 +5768,12 @@ function Mc(e) {
5758
5768
  }
5759
5769
  }
5760
5770
  const xc = {
5761
- resolveAll: To()
5771
+ resolveAll: vo()
5762
5772
  }, bc = Io("string"), wc = Io("text");
5763
5773
  function Io(e) {
5764
5774
  return {
5765
5775
  tokenize: t,
5766
- resolveAll: To(
5776
+ resolveAll: vo(
5767
5777
  e === "text" ? Dc : void 0
5768
5778
  )
5769
5779
  };
@@ -5798,7 +5808,7 @@ function Io(e) {
5798
5808
  }
5799
5809
  }
5800
5810
  }
5801
- function To(e) {
5811
+ function vo(e) {
5802
5812
  return t;
5803
5813
  function t(n, r) {
5804
5814
  let i = -1, o;
@@ -5866,8 +5876,8 @@ function Nc(e, t, n) {
5866
5876
  const i = {}, o = [];
5867
5877
  let l = [], a = [];
5868
5878
  const s = {
5869
- consume: v,
5870
- enter: j,
5879
+ consume: k,
5880
+ enter: E,
5871
5881
  exit: B,
5872
5882
  attempt: A(_),
5873
5883
  check: A(y),
@@ -5888,60 +5898,60 @@ function Nc(e, t, n) {
5888
5898
  };
5889
5899
  let c = t.tokenize.call(u, s);
5890
5900
  return t.resolveAll && o.push(t), u;
5891
- function p(E) {
5892
- return l = Me(l, E), S(), l[l.length - 1] !== null ? [] : (U(t, 0), u.events = Gn(o, u.events, u), u.events);
5901
+ function p(j) {
5902
+ return l = Me(l, j), S(), l[l.length - 1] !== null ? [] : (U(t, 0), u.events = Gn(o, u.events, u), u.events);
5893
5903
  }
5894
- function m(E, M) {
5895
- return Tc(f(E), M);
5904
+ function m(j, M) {
5905
+ return vc(f(j), M);
5896
5906
  }
5897
- function f(E) {
5898
- return Ic(l, E);
5907
+ function f(j) {
5908
+ return Ic(l, j);
5899
5909
  }
5900
5910
  function I() {
5901
- const { line: E, column: M, offset: N, _index: C, _bufferIndex: z } = r;
5911
+ const { line: j, column: M, offset: N, _index: C, _bufferIndex: z } = r;
5902
5912
  return {
5903
- line: E,
5913
+ line: j,
5904
5914
  column: M,
5905
5915
  offset: N,
5906
5916
  _index: C,
5907
5917
  _bufferIndex: z
5908
5918
  };
5909
5919
  }
5910
- function b(E) {
5911
- i[E.line] = E.column, q();
5920
+ function b(j) {
5921
+ i[j.line] = j.column, q();
5912
5922
  }
5913
5923
  function S() {
5914
- let E;
5924
+ let j;
5915
5925
  for (; r._index < l.length; ) {
5916
5926
  const M = l[r._index];
5917
5927
  if (typeof M == "string")
5918
- for (E = r._index, r._bufferIndex < 0 && (r._bufferIndex = 0); r._index === E && r._bufferIndex < M.length; )
5928
+ for (j = r._index, r._bufferIndex < 0 && (r._bufferIndex = 0); r._index === j && r._bufferIndex < M.length; )
5919
5929
  w(M.charCodeAt(r._bufferIndex));
5920
5930
  else
5921
5931
  w(M);
5922
5932
  }
5923
5933
  }
5924
- function w(E) {
5925
- c = c(E);
5934
+ function w(j) {
5935
+ c = c(j);
5926
5936
  }
5927
- function v(E) {
5928
- R(E) ? (r.line++, r.column = 1, r.offset += E === -3 ? 2 : 1, q()) : E !== -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 = E;
5937
+ function k(j) {
5938
+ R(j) ? (r.line++, r.column = 1, r.offset += j === -3 ? 2 : 1, q()) : j !== -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 = j;
5929
5939
  }
5930
- function j(E, M) {
5940
+ function E(j, M) {
5931
5941
  const N = M || {};
5932
- return N.type = E, N.start = I(), u.events.push(["enter", N, u]), a.push(N), N;
5942
+ return N.type = j, N.start = I(), u.events.push(["enter", N, u]), a.push(N), N;
5933
5943
  }
5934
- function B(E) {
5944
+ function B(j) {
5935
5945
  const M = a.pop();
5936
5946
  return M.end = I(), u.events.push(["exit", M, u]), M;
5937
5947
  }
5938
- function _(E, M) {
5939
- U(E, M.from);
5948
+ function _(j, M) {
5949
+ U(j, M.from);
5940
5950
  }
5941
- function y(E, M) {
5951
+ function y(j, M) {
5942
5952
  M.restore();
5943
5953
  }
5944
- function A(E, M) {
5954
+ function A(j, M) {
5945
5955
  return N;
5946
5956
  function N(C, z, F) {
5947
5957
  let Y, V, X, d;
@@ -5951,14 +5961,14 @@ function Nc(e, t, n) {
5951
5961
  ) : ne(C);
5952
5962
  function ne(W) {
5953
5963
  return se;
5954
- function se(he) {
5955
- const ve = he !== null && W[he], Ee = he !== null && W.null, Ve = [
5964
+ function se(ge) {
5965
+ const ke = ge !== null && W[ge], je = ge !== null && W.null, Ve = [
5956
5966
  // To do: add more extension tests.
5957
5967
  /* c8 ignore next 2 */
5958
- ...Array.isArray(ve) ? ve : ve ? [ve] : [],
5959
- ...Array.isArray(Ee) ? Ee : Ee ? [Ee] : []
5968
+ ...Array.isArray(ke) ? ke : ke ? [ke] : [],
5969
+ ...Array.isArray(je) ? je : je ? [je] : []
5960
5970
  ];
5961
- return le(Ve)(he);
5971
+ return le(Ve)(ge);
5962
5972
  }
5963
5973
  }
5964
5974
  function le(W) {
@@ -5966,7 +5976,7 @@ function Nc(e, t, n) {
5966
5976
  }
5967
5977
  function h(W) {
5968
5978
  return se;
5969
- function se(he) {
5979
+ function se(ge) {
5970
5980
  return d = Q(), X = W, W.partial || (u.currentConstruct = W), W.name && u.parser.constructs.disable.null.includes(W.name) ? te() : W.tokenize.call(
5971
5981
  // If we do have fields, create an object w/ `context` as its
5972
5982
  // prototype.
@@ -5975,33 +5985,33 @@ function Nc(e, t, n) {
5975
5985
  s,
5976
5986
  re,
5977
5987
  te
5978
- )(he);
5988
+ )(ge);
5979
5989
  }
5980
5990
  }
5981
5991
  function re(W) {
5982
- return E(X, d), z;
5992
+ return j(X, d), z;
5983
5993
  }
5984
5994
  function te(W) {
5985
5995
  return d.restore(), ++V < Y.length ? h(Y[V]) : F;
5986
5996
  }
5987
5997
  }
5988
5998
  }
5989
- function U(E, M) {
5990
- E.resolveAll && !o.includes(E) && o.push(E), E.resolve && ke(
5999
+ function U(j, M) {
6000
+ j.resolveAll && !o.includes(j) && o.push(j), j.resolve && Te(
5991
6001
  u.events,
5992
6002
  M,
5993
6003
  u.events.length - M,
5994
- E.resolve(u.events.slice(M), u)
5995
- ), E.resolveTo && (u.events = E.resolveTo(u.events, u));
6004
+ j.resolve(u.events.slice(M), u)
6005
+ ), j.resolveTo && (u.events = j.resolveTo(u.events, u));
5996
6006
  }
5997
6007
  function Q() {
5998
- const E = I(), M = u.previous, N = u.currentConstruct, C = u.events.length, z = Array.from(a);
6008
+ const j = I(), M = u.previous, N = u.currentConstruct, C = u.events.length, z = Array.from(a);
5999
6009
  return {
6000
6010
  restore: F,
6001
6011
  from: C
6002
6012
  };
6003
6013
  function F() {
6004
- r = E, u.previous = M, u.currentConstruct = N, u.events.length = C, a = z, q();
6014
+ r = j, u.previous = M, u.currentConstruct = N, u.events.length = C, a = z, q();
6005
6015
  }
6006
6016
  }
6007
6017
  function q() {
@@ -6022,7 +6032,7 @@ function Ic(e, t) {
6022
6032
  }
6023
6033
  return l;
6024
6034
  }
6025
- function Tc(e, t) {
6035
+ function vc(e, t) {
6026
6036
  let n = -1;
6027
6037
  const r = [];
6028
6038
  let i;
@@ -6064,7 +6074,7 @@ function Tc(e, t) {
6064
6074
  }
6065
6075
  return r.join("");
6066
6076
  }
6067
- const kc = {
6077
+ const Tc = {
6068
6078
  42: fe,
6069
6079
  43: fe,
6070
6080
  45: fe,
@@ -6079,13 +6089,13 @@ const kc = {
6079
6089
  56: fe,
6080
6090
  57: fe,
6081
6091
  62: yo
6082
- }, vc = {
6083
- 91: js
6084
- }, jc = {
6092
+ }, kc = {
6093
+ 91: Es
6094
+ }, Ec = {
6085
6095
  [-2]: yn,
6086
6096
  [-1]: yn,
6087
6097
  32: yn
6088
- }, Ec = {
6098
+ }, jc = {
6089
6099
  35: zs,
6090
6100
  42: Ct,
6091
6101
  45: [li, Ct],
@@ -6119,11 +6129,11 @@ const kc = {
6119
6129
  }, Lc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6120
6130
  __proto__: null,
6121
6131
  attentionMarkers: Oc,
6122
- contentInitial: vc,
6132
+ contentInitial: kc,
6123
6133
  disable: zc,
6124
- document: kc,
6125
- flow: Ec,
6126
- flowInitial: jc,
6134
+ document: Tc,
6135
+ flow: jc,
6136
+ flowInitial: Ec,
6127
6137
  insideSpan: Ac,
6128
6138
  string: Sc,
6129
6139
  text: Cc
@@ -6192,7 +6202,7 @@ function Rc(e) {
6192
6202
  ;
6193
6203
  return e;
6194
6204
  }
6195
- function ko(e, t) {
6205
+ function To(e, t) {
6196
6206
  const n = Number.parseInt(e, t);
6197
6207
  return (
6198
6208
  // C0 except for HT, LF, FF, CR, space.
@@ -6212,11 +6222,11 @@ function Bc(e, t, n) {
6212
6222
  return t;
6213
6223
  if (n.charCodeAt(0) === 35) {
6214
6224
  const i = n.charCodeAt(1), o = i === 120 || i === 88;
6215
- return ko(n.slice(o ? 2 : 1), o ? 16 : 10);
6225
+ return To(n.slice(o ? 2 : 1), o ? 16 : 10);
6216
6226
  }
6217
6227
  return Xn(n) || e;
6218
6228
  }
6219
- const vo = {}.hasOwnProperty, Qc = (
6229
+ const ko = {}.hasOwnProperty, Qc = (
6220
6230
  /**
6221
6231
  * @type {(
6222
6232
  * ((value: Value, encoding: Encoding, options?: Options | null | undefined) => Root) &
@@ -6243,20 +6253,20 @@ function Yc(e) {
6243
6253
  canContainEols: ["emphasis", "fragment", "heading", "paragraph", "strong"],
6244
6254
  enter: {
6245
6255
  autolink: a(Mt),
6246
- autolinkProtocol: E,
6247
- autolinkEmail: E,
6256
+ autolinkProtocol: j,
6257
+ autolinkEmail: j,
6248
6258
  atxHeading: a(gt),
6249
6259
  blockQuote: a(Ve),
6250
- characterEscape: E,
6251
- characterReference: E,
6260
+ characterEscape: j,
6261
+ characterReference: j,
6252
6262
  codeFenced: a(ht),
6253
6263
  codeFencedFenceInfo: s,
6254
6264
  codeFencedFenceMeta: s,
6255
6265
  codeIndented: a(ht, s),
6256
6266
  codeText: a(nn, s),
6257
- codeTextData: E,
6258
- data: E,
6259
- codeFlowValue: E,
6267
+ codeTextData: j,
6268
+ data: j,
6269
+ codeFlowValue: j,
6260
6270
  definition: a(ze),
6261
6271
  definitionDestinationString: s,
6262
6272
  definitionLabelString: s,
@@ -6265,9 +6275,9 @@ function Yc(e) {
6265
6275
  hardBreakEscape: a(mt),
6266
6276
  hardBreakTrailing: a(mt),
6267
6277
  htmlFlow: a(yt, s),
6268
- htmlFlowData: E,
6278
+ htmlFlowData: j,
6269
6279
  htmlText: a(yt, s),
6270
- htmlTextData: E,
6280
+ htmlTextData: j,
6271
6281
  image: a(on),
6272
6282
  label: s,
6273
6283
  link: a(Mt),
@@ -6288,19 +6298,19 @@ function Yc(e) {
6288
6298
  atxHeading: c(),
6289
6299
  atxHeadingSequence: A,
6290
6300
  autolink: c(),
6291
- autolinkEmail: Ee,
6292
- autolinkProtocol: ve,
6301
+ autolinkEmail: je,
6302
+ autolinkProtocol: ke,
6293
6303
  blockQuote: c(),
6294
6304
  characterEscapeValue: M,
6295
6305
  characterReferenceMarkerHexadecimal: se,
6296
6306
  characterReferenceMarkerNumeric: se,
6297
- characterReferenceValue: he,
6298
- codeFenced: c(v),
6307
+ characterReferenceValue: ge,
6308
+ codeFenced: c(k),
6299
6309
  codeFencedFence: w,
6300
6310
  codeFencedFenceInfo: b,
6301
6311
  codeFencedFenceMeta: S,
6302
6312
  codeFlowValue: M,
6303
- codeIndented: c(j),
6313
+ codeIndented: c(E),
6304
6314
  codeText: c(Y),
6305
6315
  codeTextData: M,
6306
6316
  data: M,
@@ -6335,16 +6345,16 @@ function Yc(e) {
6335
6345
  thematicBreak: c()
6336
6346
  }
6337
6347
  };
6338
- jo(t, (e || {}).mdastExtensions || []);
6348
+ Eo(t, (e || {}).mdastExtensions || []);
6339
6349
  const n = {};
6340
6350
  return r;
6341
6351
  function r(x) {
6342
- let T = {
6352
+ let v = {
6343
6353
  type: "root",
6344
6354
  children: []
6345
6355
  };
6346
6356
  const O = {
6347
- stack: [T],
6357
+ stack: [v],
6348
6358
  tokenStack: [],
6349
6359
  config: t,
6350
6360
  enter: u,
@@ -6365,7 +6375,7 @@ function Yc(e) {
6365
6375
  }
6366
6376
  for (K = -1; ++K < x.length; ) {
6367
6377
  const ce = t[x[K][0]];
6368
- vo.call(ce, x[K][1].type) && ce[x[K][1].type].call(
6378
+ ko.call(ce, x[K][1].type) && ce[x[K][1].type].call(
6369
6379
  Object.assign(
6370
6380
  {
6371
6381
  sliceSerialize: x[K][2].sliceSerialize
@@ -6379,7 +6389,7 @@ function Yc(e) {
6379
6389
  const ce = O.tokenStack[O.tokenStack.length - 1];
6380
6390
  (ce[1] || ui).call(O, void 0, ce[0]);
6381
6391
  }
6382
- for (T.position = {
6392
+ for (v.position = {
6383
6393
  start: Se(
6384
6394
  x.length > 0 ? x[0][1].start : {
6385
6395
  line: 1,
@@ -6395,23 +6405,23 @@ function Yc(e) {
6395
6405
  }
6396
6406
  )
6397
6407
  }, K = -1; ++K < t.transforms.length; )
6398
- T = t.transforms[K](T) || T;
6399
- return T;
6408
+ v = t.transforms[K](v) || v;
6409
+ return v;
6400
6410
  }
6401
- function i(x, T, O) {
6402
- let $ = T - 1, K = -1, ce = !1, Ne, ae, Ze, Ge;
6411
+ function i(x, v, O) {
6412
+ let $ = v - 1, K = -1, ce = !1, Ne, ae, Ze, Ge;
6403
6413
  for (; ++$ <= O; ) {
6404
6414
  const ie = x[$];
6405
6415
  if (ie[1].type === "listUnordered" || ie[1].type === "listOrdered" || ie[1].type === "blockQuote" ? (ie[0] === "enter" ? K++ : K--, Ge = void 0) : ie[1].type === "lineEndingBlank" ? ie[0] === "enter" && (Ne && !Ge && !K && !Ze && (Ze = $), Ge = void 0) : ie[1].type === "linePrefix" || ie[1].type === "listItemValue" || ie[1].type === "listItemMarker" || ie[1].type === "listItemPrefix" || ie[1].type === "listItemPrefixWhitespace" || (Ge = void 0), !K && ie[0] === "enter" && ie[1].type === "listItemPrefix" || K === -1 && ie[0] === "exit" && (ie[1].type === "listUnordered" || ie[1].type === "listOrdered")) {
6406
6416
  if (Ne) {
6407
6417
  let un = $;
6408
6418
  for (ae = void 0; un--; ) {
6409
- const je = x[un];
6410
- if (je[1].type === "lineEnding" || je[1].type === "lineEndingBlank") {
6411
- if (je[0] === "exit")
6419
+ const Ee = x[un];
6420
+ if (Ee[1].type === "lineEnding" || Ee[1].type === "lineEndingBlank") {
6421
+ if (Ee[0] === "exit")
6412
6422
  continue;
6413
- ae && (x[ae][1].type = "lineEndingBlank", ce = !0), je[1].type = "lineEnding", ae = un;
6414
- } else if (!(je[1].type === "linePrefix" || je[1].type === "blockQuotePrefix" || je[1].type === "blockQuotePrefixWhitespace" || je[1].type === "blockQuoteMarker" || je[1].type === "listItemIndent"))
6423
+ ae && (x[ae][1].type = "lineEndingBlank", ce = !0), Ee[1].type = "lineEnding", ae = un;
6424
+ } else if (!(Ee[1].type === "linePrefix" || Ee[1].type === "blockQuotePrefix" || Ee[1].type === "blockQuotePrefixWhitespace" || Ee[1].type === "blockQuoteMarker" || Ee[1].type === "listItemIndent"))
6415
6425
  break;
6416
6426
  }
6417
6427
  Ze && (!ae || Ze < ae) && (Ne._spread = !0), Ne.end = Object.assign(
@@ -6428,18 +6438,18 @@ function Yc(e) {
6428
6438
  }, x.splice($, 0, ["enter", Ne, ie[2]]), $++, O++, Ze = void 0, Ge = !0);
6429
6439
  }
6430
6440
  }
6431
- return x[T][1]._spread = ce, O;
6441
+ return x[v][1]._spread = ce, O;
6432
6442
  }
6433
- function o(x, T) {
6434
- n[x] = T;
6443
+ function o(x, v) {
6444
+ n[x] = v;
6435
6445
  }
6436
6446
  function l(x) {
6437
6447
  return n[x];
6438
6448
  }
6439
- function a(x, T) {
6449
+ function a(x, v) {
6440
6450
  return O;
6441
6451
  function O($) {
6442
- u.call(this, x($), $), T && T.call(this, $);
6452
+ u.call(this, x($), $), v && v.call(this, $);
6443
6453
  }
6444
6454
  }
6445
6455
  function s() {
@@ -6448,21 +6458,21 @@ function Yc(e) {
6448
6458
  children: []
6449
6459
  });
6450
6460
  }
6451
- function u(x, T, O) {
6452
- return this.stack[this.stack.length - 1].children.push(x), this.stack.push(x), this.tokenStack.push([T, O]), x.position = {
6453
- start: Se(T.start)
6461
+ function u(x, v, O) {
6462
+ return this.stack[this.stack.length - 1].children.push(x), this.stack.push(x), this.tokenStack.push([v, O]), x.position = {
6463
+ start: Se(v.start)
6454
6464
  }, x;
6455
6465
  }
6456
6466
  function c(x) {
6457
- return T;
6458
- function T(O) {
6467
+ return v;
6468
+ function v(O) {
6459
6469
  x && x.call(this, O), p.call(this, O);
6460
6470
  }
6461
6471
  }
6462
- function p(x, T) {
6472
+ function p(x, v) {
6463
6473
  const O = this.stack.pop(), $ = this.tokenStack.pop();
6464
6474
  if ($)
6465
- $[0].type !== x.type && (T ? T.call(this, x, $[0]) : ($[1] || ui).call(this, x, $[0]));
6475
+ $[0].type !== x.type && (v ? v.call(this, x, $[0]) : ($[1] || ui).call(this, x, $[0]));
6466
6476
  else
6467
6477
  throw new Error(
6468
6478
  "Cannot close `" + x.type + "` (" + ot({
@@ -6480,100 +6490,100 @@ function Yc(e) {
6480
6490
  }
6481
6491
  function I(x) {
6482
6492
  if (l("expectingFirstListItemValue")) {
6483
- const T = this.stack[this.stack.length - 2];
6484
- T.start = Number.parseInt(this.sliceSerialize(x), 10), o("expectingFirstListItemValue");
6493
+ const v = this.stack[this.stack.length - 2];
6494
+ v.start = Number.parseInt(this.sliceSerialize(x), 10), o("expectingFirstListItemValue");
6485
6495
  }
6486
6496
  }
6487
6497
  function b() {
6488
- const x = this.resume(), T = this.stack[this.stack.length - 1];
6489
- T.lang = x;
6498
+ const x = this.resume(), v = this.stack[this.stack.length - 1];
6499
+ v.lang = x;
6490
6500
  }
6491
6501
  function S() {
6492
- const x = this.resume(), T = this.stack[this.stack.length - 1];
6493
- T.meta = x;
6502
+ const x = this.resume(), v = this.stack[this.stack.length - 1];
6503
+ v.meta = x;
6494
6504
  }
6495
6505
  function w() {
6496
6506
  l("flowCodeInside") || (this.buffer(), o("flowCodeInside", !0));
6497
6507
  }
6498
- function v() {
6499
- const x = this.resume(), T = this.stack[this.stack.length - 1];
6500
- T.value = x.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g, ""), o("flowCodeInside");
6508
+ function k() {
6509
+ const x = this.resume(), v = this.stack[this.stack.length - 1];
6510
+ v.value = x.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g, ""), o("flowCodeInside");
6501
6511
  }
6502
- function j() {
6503
- const x = this.resume(), T = this.stack[this.stack.length - 1];
6504
- T.value = x.replace(/(\r?\n|\r)$/g, "");
6512
+ function E() {
6513
+ const x = this.resume(), v = this.stack[this.stack.length - 1];
6514
+ v.value = x.replace(/(\r?\n|\r)$/g, "");
6505
6515
  }
6506
6516
  function B(x) {
6507
- const T = this.resume(), O = this.stack[this.stack.length - 1];
6508
- O.label = T, O.identifier = Qe(
6517
+ const v = this.resume(), O = this.stack[this.stack.length - 1];
6518
+ O.label = v, O.identifier = Qe(
6509
6519
  this.sliceSerialize(x)
6510
6520
  ).toLowerCase();
6511
6521
  }
6512
6522
  function _() {
6513
- const x = this.resume(), T = this.stack[this.stack.length - 1];
6514
- T.title = x;
6523
+ const x = this.resume(), v = this.stack[this.stack.length - 1];
6524
+ v.title = x;
6515
6525
  }
6516
6526
  function y() {
6517
- const x = this.resume(), T = this.stack[this.stack.length - 1];
6518
- T.url = x;
6527
+ const x = this.resume(), v = this.stack[this.stack.length - 1];
6528
+ v.url = x;
6519
6529
  }
6520
6530
  function A(x) {
6521
- const T = this.stack[this.stack.length - 1];
6522
- if (!T.depth) {
6531
+ const v = this.stack[this.stack.length - 1];
6532
+ if (!v.depth) {
6523
6533
  const O = this.sliceSerialize(x).length;
6524
- T.depth = O;
6534
+ v.depth = O;
6525
6535
  }
6526
6536
  }
6527
6537
  function U() {
6528
6538
  o("setextHeadingSlurpLineEnding", !0);
6529
6539
  }
6530
6540
  function Q(x) {
6531
- const T = this.stack[this.stack.length - 1];
6532
- T.depth = this.sliceSerialize(x).charCodeAt(0) === 61 ? 1 : 2;
6541
+ const v = this.stack[this.stack.length - 1];
6542
+ v.depth = this.sliceSerialize(x).charCodeAt(0) === 61 ? 1 : 2;
6533
6543
  }
6534
6544
  function q() {
6535
6545
  o("setextHeadingSlurpLineEnding");
6536
6546
  }
6537
- function E(x) {
6538
- const T = this.stack[this.stack.length - 1];
6539
- let O = T.children[T.children.length - 1];
6547
+ function j(x) {
6548
+ const v = this.stack[this.stack.length - 1];
6549
+ let O = v.children[v.children.length - 1];
6540
6550
  (!O || O.type !== "text") && (O = bt(), O.position = {
6541
6551
  start: Se(x.start)
6542
- }, T.children.push(O)), this.stack.push(O);
6552
+ }, v.children.push(O)), this.stack.push(O);
6543
6553
  }
6544
6554
  function M(x) {
6545
- const T = this.stack.pop();
6546
- T.value += this.sliceSerialize(x), T.position.end = Se(x.end);
6555
+ const v = this.stack.pop();
6556
+ v.value += this.sliceSerialize(x), v.position.end = Se(x.end);
6547
6557
  }
6548
6558
  function N(x) {
6549
- const T = this.stack[this.stack.length - 1];
6559
+ const v = this.stack[this.stack.length - 1];
6550
6560
  if (l("atHardBreak")) {
6551
- const O = T.children[T.children.length - 1];
6561
+ const O = v.children[v.children.length - 1];
6552
6562
  O.position.end = Se(x.end), o("atHardBreak");
6553
6563
  return;
6554
6564
  }
6555
- !l("setextHeadingSlurpLineEnding") && t.canContainEols.includes(T.type) && (E.call(this, x), M.call(this, x));
6565
+ !l("setextHeadingSlurpLineEnding") && t.canContainEols.includes(v.type) && (j.call(this, x), M.call(this, x));
6556
6566
  }
6557
6567
  function C() {
6558
6568
  o("atHardBreak", !0);
6559
6569
  }
6560
6570
  function z() {
6561
- const x = this.resume(), T = this.stack[this.stack.length - 1];
6562
- T.value = x;
6571
+ const x = this.resume(), v = this.stack[this.stack.length - 1];
6572
+ v.value = x;
6563
6573
  }
6564
6574
  function F() {
6565
- const x = this.resume(), T = this.stack[this.stack.length - 1];
6566
- T.value = x;
6575
+ const x = this.resume(), v = this.stack[this.stack.length - 1];
6576
+ v.value = x;
6567
6577
  }
6568
6578
  function Y() {
6569
- const x = this.resume(), T = this.stack[this.stack.length - 1];
6570
- T.value = x;
6579
+ const x = this.resume(), v = this.stack[this.stack.length - 1];
6580
+ v.value = x;
6571
6581
  }
6572
6582
  function V() {
6573
6583
  const x = this.stack[this.stack.length - 1];
6574
6584
  if (l("inReference")) {
6575
- const T = l("referenceType") || "shortcut";
6576
- x.type += "Reference", x.referenceType = T, delete x.url, delete x.title;
6585
+ const v = l("referenceType") || "shortcut";
6586
+ x.type += "Reference", x.referenceType = v, delete x.url, delete x.title;
6577
6587
  } else
6578
6588
  delete x.identifier, delete x.label;
6579
6589
  o("referenceType");
@@ -6581,31 +6591,31 @@ function Yc(e) {
6581
6591
  function X() {
6582
6592
  const x = this.stack[this.stack.length - 1];
6583
6593
  if (l("inReference")) {
6584
- const T = l("referenceType") || "shortcut";
6585
- x.type += "Reference", x.referenceType = T, delete x.url, delete x.title;
6594
+ const v = l("referenceType") || "shortcut";
6595
+ x.type += "Reference", x.referenceType = v, delete x.url, delete x.title;
6586
6596
  } else
6587
6597
  delete x.identifier, delete x.label;
6588
6598
  o("referenceType");
6589
6599
  }
6590
6600
  function d(x) {
6591
- const T = this.sliceSerialize(x), O = this.stack[this.stack.length - 2];
6592
- O.label = Uc(T), O.identifier = Qe(T).toLowerCase();
6601
+ const v = this.sliceSerialize(x), O = this.stack[this.stack.length - 2];
6602
+ O.label = Uc(v), O.identifier = Qe(v).toLowerCase();
6593
6603
  }
6594
6604
  function ne() {
6595
- const x = this.stack[this.stack.length - 1], T = this.resume(), O = this.stack[this.stack.length - 1];
6605
+ const x = this.stack[this.stack.length - 1], v = this.resume(), O = this.stack[this.stack.length - 1];
6596
6606
  if (o("inReference", !0), O.type === "link") {
6597
6607
  const $ = x.children;
6598
6608
  O.children = $;
6599
6609
  } else
6600
- O.alt = T;
6610
+ O.alt = v;
6601
6611
  }
6602
6612
  function le() {
6603
- const x = this.resume(), T = this.stack[this.stack.length - 1];
6604
- T.url = x;
6613
+ const x = this.resume(), v = this.stack[this.stack.length - 1];
6614
+ v.url = x;
6605
6615
  }
6606
6616
  function h() {
6607
- const x = this.resume(), T = this.stack[this.stack.length - 1];
6608
- T.title = x;
6617
+ const x = this.resume(), v = this.stack[this.stack.length - 1];
6618
+ v.title = x;
6609
6619
  }
6610
6620
  function re() {
6611
6621
  o("inReference");
@@ -6614,33 +6624,33 @@ function Yc(e) {
6614
6624
  o("referenceType", "collapsed");
6615
6625
  }
6616
6626
  function W(x) {
6617
- const T = this.resume(), O = this.stack[this.stack.length - 1];
6618
- O.label = T, O.identifier = Qe(
6627
+ const v = this.resume(), O = this.stack[this.stack.length - 1];
6628
+ O.label = v, O.identifier = Qe(
6619
6629
  this.sliceSerialize(x)
6620
6630
  ).toLowerCase(), o("referenceType", "full");
6621
6631
  }
6622
6632
  function se(x) {
6623
6633
  o("characterReferenceType", x.type);
6624
6634
  }
6625
- function he(x) {
6626
- const T = this.sliceSerialize(x), O = l("characterReferenceType");
6635
+ function ge(x) {
6636
+ const v = this.sliceSerialize(x), O = l("characterReferenceType");
6627
6637
  let $;
6628
- O ? ($ = ko(
6629
- T,
6638
+ O ? ($ = To(
6639
+ v,
6630
6640
  O === "characterReferenceMarkerNumeric" ? 10 : 16
6631
- ), o("characterReferenceType")) : $ = Xn(T);
6641
+ ), o("characterReferenceType")) : $ = Xn(v);
6632
6642
  const K = this.stack.pop();
6633
6643
  K.value += $, K.position.end = Se(x.end);
6634
6644
  }
6635
- function ve(x) {
6645
+ function ke(x) {
6636
6646
  M.call(this, x);
6637
- const T = this.stack[this.stack.length - 1];
6638
- T.url = this.sliceSerialize(x);
6647
+ const v = this.stack[this.stack.length - 1];
6648
+ v.url = this.sliceSerialize(x);
6639
6649
  }
6640
- function Ee(x) {
6650
+ function je(x) {
6641
6651
  M.call(this, x);
6642
- const T = this.stack[this.stack.length - 1];
6643
- T.url = "mailto:" + this.sliceSerialize(x);
6652
+ const v = this.stack[this.stack.length - 1];
6653
+ v.url = "mailto:" + this.sliceSerialize(x);
6644
6654
  }
6645
6655
  function Ve() {
6646
6656
  return {
@@ -6759,17 +6769,17 @@ function Se(e) {
6759
6769
  offset: e.offset
6760
6770
  };
6761
6771
  }
6762
- function jo(e, t) {
6772
+ function Eo(e, t) {
6763
6773
  let n = -1;
6764
6774
  for (; ++n < t.length; ) {
6765
6775
  const r = t[n];
6766
- Array.isArray(r) ? jo(e, r) : Hc(e, r);
6776
+ Array.isArray(r) ? Eo(e, r) : Hc(e, r);
6767
6777
  }
6768
6778
  }
6769
6779
  function Hc(e, t) {
6770
6780
  let n;
6771
6781
  for (n in t)
6772
- if (vo.call(t, n)) {
6782
+ if (ko.call(t, n)) {
6773
6783
  if (n === "canContainEols") {
6774
6784
  const r = t[n];
6775
6785
  r && e[n].push(...r);
@@ -6866,7 +6876,7 @@ function qe(e) {
6866
6876
  for (; ++n < e.length; ) {
6867
6877
  const o = e.charCodeAt(n);
6868
6878
  let l = "";
6869
- if (o === 37 && me(e.charCodeAt(n + 1)) && me(e.charCodeAt(n + 2)))
6879
+ if (o === 37 && ye(e.charCodeAt(n + 1)) && ye(e.charCodeAt(n + 2)))
6870
6880
  i = 2;
6871
6881
  else if (o < 128)
6872
6882
  /[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o)) || (l = String.fromCharCode(o));
@@ -6879,7 +6889,7 @@ function qe(e) {
6879
6889
  }
6880
6890
  return t.join("") + e.slice(r);
6881
6891
  }
6882
- function Eo(e, t) {
6892
+ function jo(e, t) {
6883
6893
  const n = String(t.identifier).toUpperCase(), r = qe(n.toLowerCase()), i = e.footnoteOrder.indexOf(n);
6884
6894
  let o;
6885
6895
  i === -1 ? (e.footnoteOrder.push(n), e.footnoteCounts[n] = 1, o = e.footnoteOrder.length) : (e.footnoteCounts[n]++, o = i + 1);
@@ -6914,7 +6924,7 @@ function Xc(e, t) {
6914
6924
  identifier: i,
6915
6925
  children: [{ type: "paragraph", children: t.children }],
6916
6926
  position: t.position
6917
- }, Eo(e, {
6927
+ }, jo(e, {
6918
6928
  type: "footnoteReference",
6919
6929
  identifier: i,
6920
6930
  position: t.position
@@ -7195,7 +7205,7 @@ const Mp = {
7195
7205
  code: Wc,
7196
7206
  delete: Zc,
7197
7207
  emphasis: Gc,
7198
- footnoteReference: Eo,
7208
+ footnoteReference: jo,
7199
7209
  footnote: Xc,
7200
7210
  heading: Kc,
7201
7211
  html: Jc,
@@ -7214,12 +7224,12 @@ const Mp = {
7214
7224
  tableRow: dp,
7215
7225
  text: mp,
7216
7226
  thematicBreak: yp,
7217
- toml: Tt,
7218
- yaml: Tt,
7219
- definition: Tt,
7220
- footnoteDefinition: Tt
7227
+ toml: vt,
7228
+ yaml: vt,
7229
+ definition: vt,
7230
+ footnoteDefinition: vt
7221
7231
  };
7222
- function Tt() {
7232
+ function vt() {
7223
7233
  return null;
7224
7234
  }
7225
7235
  const Oo = (
@@ -7284,7 +7294,7 @@ function Ht(e) {
7284
7294
  function Dp() {
7285
7295
  return !0;
7286
7296
  }
7287
- const Np = !0, fi = !1, Ip = "skip", Tp = (
7297
+ const Np = !0, fi = !1, Ip = "skip", vp = (
7288
7298
  /**
7289
7299
  * @type {(
7290
7300
  * (<Tree extends Node, Check extends Test>(tree: Tree, test: Check, visitor: BuildVisitor<Tree, Check>, reverse?: boolean | null | undefined) => void) &
@@ -7319,7 +7329,7 @@ const Np = !0, fi = !1, Ip = "skip", Tp = (
7319
7329
  return p;
7320
7330
  function p() {
7321
7331
  let m = [], f, I, b;
7322
- if ((!t || i(a, s, u[u.length - 1] || null)) && (m = kp(n(a, u)), m[0] === fi))
7332
+ if ((!t || i(a, s, u[u.length - 1] || null)) && (m = Tp(n(a, u)), m[0] === fi))
7323
7333
  return m;
7324
7334
  if (a.children && m[0] !== Ip)
7325
7335
  for (I = (r ? a.children.length : -1) + o, b = u.concat(a); I > -1 && I < a.children.length; ) {
@@ -7332,7 +7342,7 @@ const Np = !0, fi = !1, Ip = "skip", Tp = (
7332
7342
  }
7333
7343
  }
7334
7344
  );
7335
- function kp(e) {
7345
+ function Tp(e) {
7336
7346
  return Array.isArray(e) ? e : typeof e == "number" ? [Np, e] : [e];
7337
7347
  }
7338
7348
  const tr = (
@@ -7350,7 +7360,7 @@ const tr = (
7350
7360
  * @returns {void}
7351
7361
  */
7352
7362
  function(e, t, n, r) {
7353
- typeof t == "function" && typeof n != "function" && (r = n, n = t, t = null), Tp(e, t, i, r);
7363
+ typeof t == "function" && typeof n != "function" && (r = n, n = t, t = null), vp(e, t, i, r);
7354
7364
  function i(o, l) {
7355
7365
  const a = l[l.length - 1];
7356
7366
  return n(
@@ -7361,11 +7371,11 @@ const tr = (
7361
7371
  }
7362
7372
  }
7363
7373
  );
7364
- function vp(e) {
7374
+ function kp(e) {
7365
7375
  return !e || !e.position || !e.position.start || !e.position.start.line || !e.position.start.column || !e.position.end || !e.position.end.line || !e.position.end.column;
7366
7376
  }
7367
7377
  const di = {}.hasOwnProperty;
7368
- function jp(e) {
7378
+ function Ep(e) {
7369
7379
  const t = /* @__PURE__ */ Object.create(null);
7370
7380
  if (!e || !e.type)
7371
7381
  throw new Error("mdast-util-definitions expected node");
@@ -7382,11 +7392,11 @@ function hi(e) {
7382
7392
  return String(e || "").toUpperCase();
7383
7393
  }
7384
7394
  const Rt = {}.hasOwnProperty;
7385
- function Ep(e, t) {
7395
+ function jp(e, t) {
7386
7396
  const n = t || {}, r = n.allowDangerousHtml || !1, i = {};
7387
7397
  return l.dangerous = r, l.clobberPrefix = n.clobberPrefix === void 0 || n.clobberPrefix === null ? "user-content-" : n.clobberPrefix, l.footnoteLabel = n.footnoteLabel || "Footnotes", l.footnoteLabelTagName = n.footnoteLabelTagName || "h2", l.footnoteLabelProperties = n.footnoteLabelProperties || {
7388
7398
  className: ["sr-only"]
7389
- }, l.footnoteBackLabel = n.footnoteBackLabel || "Back to content", l.unknownHandler = n.unknownHandler, l.passThrough = n.passThrough, l.handlers = { ...Mp, ...n.handlers }, l.definition = jp(e), l.footnoteById = i, l.footnoteOrder = [], l.footnoteCounts = {}, l.patch = Sp, l.applyData = Cp, l.one = a, l.all = s, l.wrap = Op, l.augment = o, tr(e, "footnoteDefinition", (u) => {
7399
+ }, l.footnoteBackLabel = n.footnoteBackLabel || "Back to content", l.unknownHandler = n.unknownHandler, l.passThrough = n.passThrough, l.handlers = { ...Mp, ...n.handlers }, l.definition = Ep(e), l.footnoteById = i, l.footnoteOrder = [], l.footnoteCounts = {}, l.patch = Sp, l.applyData = Cp, l.one = a, l.all = s, l.wrap = Op, l.augment = o, tr(e, "footnoteDefinition", (u) => {
7390
7400
  const c = String(u.identifier).toUpperCase();
7391
7401
  Rt.call(i, c) || (i[c] = u);
7392
7402
  }), l;
@@ -7402,7 +7412,7 @@ function Ep(e, t) {
7402
7412
  }
7403
7413
  if (u) {
7404
7414
  const p = "type" in u ? u : { position: u };
7405
- vp(p) || (c.position = { start: Jn(p), end: er(p) });
7415
+ kp(p) || (c.position = { start: Jn(p), end: er(p) });
7406
7416
  }
7407
7417
  return c;
7408
7418
  }
@@ -7552,7 +7562,7 @@ function zp(e) {
7552
7562
  };
7553
7563
  }
7554
7564
  function Lo(e, t) {
7555
- const n = Ep(e, t), r = n.one(e, null), i = zp(n);
7565
+ const n = jp(e, t), r = n.one(e, null), i = zp(n);
7556
7566
  return i && r.children.push({ type: "text", value: `
7557
7567
  ` }, i), Array.isArray(r) ? { type: "root", children: r } : r;
7558
7568
  }
@@ -7617,7 +7627,7 @@ be.prototype.commaOrSpaceSeparated = !1;
7617
7627
  be.prototype.mustUseProperty = !1;
7618
7628
  be.prototype.defined = !1;
7619
7629
  let _p = 0;
7620
- const H = Be(), oe = Be(), Fo = Be(), k = Be(), J = Be(), Ye = Be(), ge = Be();
7630
+ const H = Be(), oe = Be(), Fo = Be(), T = Be(), J = Be(), Ye = Be(), me = Be();
7621
7631
  function Be() {
7622
7632
  return 2 ** ++_p;
7623
7633
  }
@@ -7625,9 +7635,9 @@ const Rn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7625
7635
  __proto__: null,
7626
7636
  boolean: H,
7627
7637
  booleanish: oe,
7628
- commaOrSpaceSeparated: ge,
7638
+ commaOrSpaceSeparated: me,
7629
7639
  commaSeparated: Ye,
7630
- number: k,
7640
+ number: T,
7631
7641
  overloadedBoolean: Fo,
7632
7642
  spaceSeparated: J
7633
7643
  }, Symbol.toStringTag, { value: "Module" })), xn = Object.keys(Rn);
@@ -7710,9 +7720,9 @@ const Qo = $e({
7710
7720
  ariaAutoComplete: null,
7711
7721
  ariaBusy: oe,
7712
7722
  ariaChecked: oe,
7713
- ariaColCount: k,
7714
- ariaColIndex: k,
7715
- ariaColSpan: k,
7723
+ ariaColCount: T,
7724
+ ariaColIndex: T,
7725
+ ariaColSpan: T,
7716
7726
  ariaControls: J,
7717
7727
  ariaCurrent: null,
7718
7728
  ariaDescribedBy: J,
@@ -7729,7 +7739,7 @@ const Qo = $e({
7729
7739
  ariaKeyShortcuts: null,
7730
7740
  ariaLabel: null,
7731
7741
  ariaLabelledBy: J,
7732
- ariaLevel: k,
7742
+ ariaLevel: T,
7733
7743
  ariaLive: null,
7734
7744
  ariaModal: oe,
7735
7745
  ariaMultiLine: oe,
@@ -7737,21 +7747,21 @@ const Qo = $e({
7737
7747
  ariaOrientation: null,
7738
7748
  ariaOwns: J,
7739
7749
  ariaPlaceholder: null,
7740
- ariaPosInSet: k,
7750
+ ariaPosInSet: T,
7741
7751
  ariaPressed: oe,
7742
7752
  ariaReadOnly: oe,
7743
7753
  ariaRelevant: null,
7744
7754
  ariaRequired: oe,
7745
7755
  ariaRoleDescription: J,
7746
- ariaRowCount: k,
7747
- ariaRowIndex: k,
7748
- ariaRowSpan: k,
7756
+ ariaRowCount: T,
7757
+ ariaRowIndex: T,
7758
+ ariaRowSpan: T,
7749
7759
  ariaSelected: oe,
7750
- ariaSetSize: k,
7760
+ ariaSetSize: T,
7751
7761
  ariaSort: null,
7752
- ariaValueMax: k,
7753
- ariaValueMin: k,
7754
- ariaValueNow: k,
7762
+ ariaValueMax: T,
7763
+ ariaValueMin: T,
7764
+ ariaValueNow: T,
7755
7765
  ariaValueText: null,
7756
7766
  role: null
7757
7767
  }
@@ -7789,13 +7799,13 @@ const Qo = $e({
7789
7799
  checked: H,
7790
7800
  cite: null,
7791
7801
  className: J,
7792
- cols: k,
7802
+ cols: T,
7793
7803
  colSpan: null,
7794
7804
  content: null,
7795
7805
  contentEditable: oe,
7796
7806
  controls: H,
7797
7807
  controlsList: J,
7798
- coords: k | Ye,
7808
+ coords: T | Ye,
7799
7809
  crossOrigin: null,
7800
7810
  data: null,
7801
7811
  dateTime: null,
@@ -7817,9 +7827,9 @@ const Qo = $e({
7817
7827
  formNoValidate: H,
7818
7828
  formTarget: null,
7819
7829
  headers: J,
7820
- height: k,
7830
+ height: T,
7821
7831
  hidden: H,
7822
- high: k,
7832
+ high: T,
7823
7833
  href: null,
7824
7834
  hrefLang: null,
7825
7835
  htmlFor: J,
@@ -7844,14 +7854,14 @@ const Qo = $e({
7844
7854
  list: null,
7845
7855
  loading: null,
7846
7856
  loop: H,
7847
- low: k,
7857
+ low: T,
7848
7858
  manifest: null,
7849
7859
  max: null,
7850
- maxLength: k,
7860
+ maxLength: T,
7851
7861
  media: null,
7852
7862
  method: null,
7853
7863
  min: null,
7854
- minLength: k,
7864
+ minLength: T,
7855
7865
  multiple: H,
7856
7866
  muted: H,
7857
7867
  name: null,
@@ -7947,7 +7957,7 @@ const Qo = $e({
7947
7957
  onWaiting: null,
7948
7958
  onWheel: null,
7949
7959
  open: H,
7950
- optimum: k,
7960
+ optimum: T,
7951
7961
  pattern: null,
7952
7962
  ping: J,
7953
7963
  placeholder: null,
@@ -7962,8 +7972,8 @@ const Qo = $e({
7962
7972
  rel: J,
7963
7973
  required: H,
7964
7974
  reversed: H,
7965
- rows: k,
7966
- rowSpan: k,
7975
+ rows: T,
7976
+ rowSpan: T,
7967
7977
  sandbox: J,
7968
7978
  scope: null,
7969
7979
  scoped: H,
@@ -7972,19 +7982,19 @@ const Qo = $e({
7972
7982
  shadowRootDelegatesFocus: H,
7973
7983
  shadowRootMode: null,
7974
7984
  shape: null,
7975
- size: k,
7985
+ size: T,
7976
7986
  sizes: null,
7977
7987
  slot: null,
7978
- span: k,
7988
+ span: T,
7979
7989
  spellCheck: oe,
7980
7990
  src: null,
7981
7991
  srcDoc: null,
7982
7992
  srcLang: null,
7983
7993
  srcSet: null,
7984
- start: k,
7994
+ start: T,
7985
7995
  step: null,
7986
7996
  style: null,
7987
- tabIndex: k,
7997
+ tabIndex: T,
7988
7998
  target: null,
7989
7999
  title: null,
7990
8000
  translate: null,
@@ -7992,7 +8002,7 @@ const Qo = $e({
7992
8002
  typeMustMatch: H,
7993
8003
  useMap: null,
7994
8004
  value: oe,
7995
- width: k,
8005
+ width: T,
7996
8006
  wrap: null,
7997
8007
  // Legacy.
7998
8008
  // See: https://html.spec.whatwg.org/#other-elements,-attributes-and-apis
@@ -8008,11 +8018,11 @@ const Qo = $e({
8008
8018
  // `<body>`. Use CSS `background-image` instead
8009
8019
  bgColor: null,
8010
8020
  // `<body>` and table elements. Use CSS `background-color` instead
8011
- border: k,
8021
+ border: T,
8012
8022
  // `<table>`. Use CSS `border-width` instead,
8013
8023
  borderColor: null,
8014
8024
  // `<table>`. Use CSS `border-color` instead,
8015
- bottomMargin: k,
8025
+ bottomMargin: T,
8016
8026
  // `<body>`
8017
8027
  cellPadding: null,
8018
8028
  // `<table>`
@@ -8046,9 +8056,9 @@ const Qo = $e({
8046
8056
  // `<table>`
8047
8057
  frameBorder: null,
8048
8058
  // `<iframe>`. Use CSS `border` instead
8049
- hSpace: k,
8059
+ hSpace: T,
8050
8060
  // `<img>` and `<object>`
8051
- leftMargin: k,
8061
+ leftMargin: T,
8052
8062
  // `<body>`
8053
8063
  link: null,
8054
8064
  // `<body>`. Use CSS `a:link {color: *}` instead
@@ -8056,9 +8066,9 @@ const Qo = $e({
8056
8066
  // `<frame>`, `<iframe>`, and `<img>`. Use an `<a>`
8057
8067
  lowSrc: null,
8058
8068
  // `<img>`. Use a `<picture>`
8059
- marginHeight: k,
8069
+ marginHeight: T,
8060
8070
  // `<body>`
8061
- marginWidth: k,
8071
+ marginWidth: T,
8062
8072
  // `<body>`
8063
8073
  noResize: H,
8064
8074
  // `<frame>`
@@ -8076,7 +8086,7 @@ const Qo = $e({
8076
8086
  // `<isindex>`
8077
8087
  rev: null,
8078
8088
  // `<link>`
8079
- rightMargin: k,
8089
+ rightMargin: T,
8080
8090
  // `<body>`
8081
8091
  rules: null,
8082
8092
  // `<table>`
@@ -8090,7 +8100,7 @@ const Qo = $e({
8090
8100
  // `<table>`
8091
8101
  text: null,
8092
8102
  // `<body>`. Use CSS `color` instead
8093
- topMargin: k,
8103
+ topMargin: T,
8094
8104
  // `<body>`
8095
8105
  valueType: null,
8096
8106
  // `<param>`
@@ -8100,7 +8110,7 @@ const Qo = $e({
8100
8110
  // Several. Use CSS `vertical-align` instead
8101
8111
  vLink: null,
8102
8112
  // `<body>`. Use CSS `a:visited {color}` instead
8103
- vSpace: k,
8113
+ vSpace: T,
8104
8114
  // `<img>` and `<object>`
8105
8115
  // Non-standard Properties.
8106
8116
  allowTransparency: null,
@@ -8110,7 +8120,7 @@ const Qo = $e({
8110
8120
  disableRemotePlayback: H,
8111
8121
  prefix: null,
8112
8122
  property: null,
8113
- results: k,
8123
+ results: T,
8114
8124
  security: null,
8115
8125
  unselectable: null
8116
8126
  }
@@ -8293,28 +8303,28 @@ const Qo = $e({
8293
8303
  },
8294
8304
  transform: Uo,
8295
8305
  properties: {
8296
- about: ge,
8297
- accentHeight: k,
8306
+ about: me,
8307
+ accentHeight: T,
8298
8308
  accumulate: null,
8299
8309
  additive: null,
8300
8310
  alignmentBaseline: null,
8301
- alphabetic: k,
8302
- amplitude: k,
8311
+ alphabetic: T,
8312
+ amplitude: T,
8303
8313
  arabicForm: null,
8304
- ascent: k,
8314
+ ascent: T,
8305
8315
  attributeName: null,
8306
8316
  attributeType: null,
8307
- azimuth: k,
8317
+ azimuth: T,
8308
8318
  bandwidth: null,
8309
8319
  baselineShift: null,
8310
8320
  baseFrequency: null,
8311
8321
  baseProfile: null,
8312
8322
  bbox: null,
8313
8323
  begin: null,
8314
- bias: k,
8324
+ bias: T,
8315
8325
  by: null,
8316
8326
  calcMode: null,
8317
- capHeight: k,
8327
+ capHeight: T,
8318
8328
  className: J,
8319
8329
  clip: null,
8320
8330
  clipPath: null,
@@ -8335,26 +8345,26 @@ const Qo = $e({
8335
8345
  d: null,
8336
8346
  dataType: null,
8337
8347
  defaultAction: null,
8338
- descent: k,
8339
- diffuseConstant: k,
8348
+ descent: T,
8349
+ diffuseConstant: T,
8340
8350
  direction: null,
8341
8351
  display: null,
8342
8352
  dur: null,
8343
- divisor: k,
8353
+ divisor: T,
8344
8354
  dominantBaseline: null,
8345
8355
  download: H,
8346
8356
  dx: null,
8347
8357
  dy: null,
8348
8358
  edgeMode: null,
8349
8359
  editable: null,
8350
- elevation: k,
8360
+ elevation: T,
8351
8361
  enableBackground: null,
8352
8362
  end: null,
8353
8363
  event: null,
8354
- exponent: k,
8364
+ exponent: T,
8355
8365
  externalResourcesRequired: null,
8356
8366
  fill: null,
8357
- fillOpacity: k,
8367
+ fillOpacity: T,
8358
8368
  fillRule: null,
8359
8369
  filter: null,
8360
8370
  filterRes: null,
@@ -8384,28 +8394,28 @@ const Qo = $e({
8384
8394
  gradientTransform: null,
8385
8395
  gradientUnits: null,
8386
8396
  handler: null,
8387
- hanging: k,
8397
+ hanging: T,
8388
8398
  hatchContentUnits: null,
8389
8399
  hatchUnits: null,
8390
8400
  height: null,
8391
8401
  href: null,
8392
8402
  hrefLang: null,
8393
- horizAdvX: k,
8394
- horizOriginX: k,
8395
- horizOriginY: k,
8403
+ horizAdvX: T,
8404
+ horizOriginX: T,
8405
+ horizOriginY: T,
8396
8406
  id: null,
8397
- ideographic: k,
8407
+ ideographic: T,
8398
8408
  imageRendering: null,
8399
8409
  initialVisibility: null,
8400
8410
  in: null,
8401
8411
  in2: null,
8402
- intercept: k,
8403
- k,
8404
- k1: k,
8405
- k2: k,
8406
- k3: k,
8407
- k4: k,
8408
- kernelMatrix: ge,
8412
+ intercept: T,
8413
+ k: T,
8414
+ k1: T,
8415
+ k2: T,
8416
+ k3: T,
8417
+ k4: T,
8418
+ kernelMatrix: me,
8409
8419
  kernelUnitLength: null,
8410
8420
  keyPoints: null,
8411
8421
  // SEMI_COLON_SEPARATED
@@ -8418,7 +8428,7 @@ const Qo = $e({
8418
8428
  lengthAdjust: null,
8419
8429
  letterSpacing: null,
8420
8430
  lightingColor: null,
8421
- limitingConeAngle: k,
8431
+ limitingConeAngle: T,
8422
8432
  local: null,
8423
8433
  markerEnd: null,
8424
8434
  markerMid: null,
@@ -8434,7 +8444,7 @@ const Qo = $e({
8434
8444
  media: null,
8435
8445
  mediaCharacterEncoding: null,
8436
8446
  mediaContentEncodings: null,
8437
- mediaSize: k,
8447
+ mediaSize: T,
8438
8448
  mediaTime: null,
8439
8449
  method: null,
8440
8450
  min: null,
@@ -8540,12 +8550,12 @@ const Qo = $e({
8540
8550
  origin: null,
8541
8551
  overflow: null,
8542
8552
  overlay: null,
8543
- overlinePosition: k,
8544
- overlineThickness: k,
8553
+ overlinePosition: T,
8554
+ overlineThickness: T,
8545
8555
  paintOrder: null,
8546
8556
  panose1: null,
8547
8557
  path: null,
8548
- pathLength: k,
8558
+ pathLength: T,
8549
8559
  patternContentUnits: null,
8550
8560
  patternTransform: null,
8551
8561
  patternUnits: null,
@@ -8555,28 +8565,28 @@ const Qo = $e({
8555
8565
  playbackOrder: null,
8556
8566
  pointerEvents: null,
8557
8567
  points: null,
8558
- pointsAtX: k,
8559
- pointsAtY: k,
8560
- pointsAtZ: k,
8568
+ pointsAtX: T,
8569
+ pointsAtY: T,
8570
+ pointsAtZ: T,
8561
8571
  preserveAlpha: null,
8562
8572
  preserveAspectRatio: null,
8563
8573
  primitiveUnits: null,
8564
8574
  propagate: null,
8565
- property: ge,
8575
+ property: me,
8566
8576
  r: null,
8567
8577
  radius: null,
8568
8578
  referrerPolicy: null,
8569
8579
  refX: null,
8570
8580
  refY: null,
8571
- rel: ge,
8572
- rev: ge,
8581
+ rel: me,
8582
+ rev: me,
8573
8583
  renderingIntent: null,
8574
8584
  repeatCount: null,
8575
8585
  repeatDur: null,
8576
- requiredExtensions: ge,
8577
- requiredFeatures: ge,
8578
- requiredFonts: ge,
8579
- requiredFormats: ge,
8586
+ requiredExtensions: me,
8587
+ requiredFeatures: me,
8588
+ requiredFonts: me,
8589
+ requiredFormats: me,
8580
8590
  resource: null,
8581
8591
  restart: null,
8582
8592
  result: null,
@@ -8589,8 +8599,8 @@ const Qo = $e({
8589
8599
  side: null,
8590
8600
  slope: null,
8591
8601
  snapshotTime: null,
8592
- specularConstant: k,
8593
- specularExponent: k,
8602
+ specularConstant: T,
8603
+ specularExponent: T,
8594
8604
  spreadMethod: null,
8595
8605
  spacing: null,
8596
8606
  startOffset: null,
@@ -8600,30 +8610,30 @@ const Qo = $e({
8600
8610
  stitchTiles: null,
8601
8611
  stopColor: null,
8602
8612
  stopOpacity: null,
8603
- strikethroughPosition: k,
8604
- strikethroughThickness: k,
8613
+ strikethroughPosition: T,
8614
+ strikethroughThickness: T,
8605
8615
  string: null,
8606
8616
  stroke: null,
8607
- strokeDashArray: ge,
8617
+ strokeDashArray: me,
8608
8618
  strokeDashOffset: null,
8609
8619
  strokeLineCap: null,
8610
8620
  strokeLineJoin: null,
8611
- strokeMiterLimit: k,
8612
- strokeOpacity: k,
8621
+ strokeMiterLimit: T,
8622
+ strokeOpacity: T,
8613
8623
  strokeWidth: null,
8614
8624
  style: null,
8615
- surfaceScale: k,
8625
+ surfaceScale: T,
8616
8626
  syncBehavior: null,
8617
8627
  syncBehaviorDefault: null,
8618
8628
  syncMaster: null,
8619
8629
  syncTolerance: null,
8620
8630
  syncToleranceDefault: null,
8621
- systemLanguage: ge,
8622
- tabIndex: k,
8631
+ systemLanguage: me,
8632
+ tabIndex: T,
8623
8633
  tableValues: null,
8624
8634
  target: null,
8625
- targetX: k,
8626
- targetY: k,
8635
+ targetX: T,
8636
+ targetY: T,
8627
8637
  textAnchor: null,
8628
8638
  textDecoration: null,
8629
8639
  textRendering: null,
@@ -8632,28 +8642,28 @@ const Qo = $e({
8632
8642
  title: null,
8633
8643
  transformBehavior: null,
8634
8644
  type: null,
8635
- typeOf: ge,
8645
+ typeOf: me,
8636
8646
  to: null,
8637
8647
  transform: null,
8638
8648
  transformOrigin: null,
8639
8649
  u1: null,
8640
8650
  u2: null,
8641
- underlinePosition: k,
8642
- underlineThickness: k,
8651
+ underlinePosition: T,
8652
+ underlineThickness: T,
8643
8653
  unicode: null,
8644
8654
  unicodeBidi: null,
8645
8655
  unicodeRange: null,
8646
- unitsPerEm: k,
8656
+ unitsPerEm: T,
8647
8657
  values: null,
8648
- vAlphabetic: k,
8649
- vMathematical: k,
8658
+ vAlphabetic: T,
8659
+ vMathematical: T,
8650
8660
  vectorEffect: null,
8651
- vHanging: k,
8652
- vIdeographic: k,
8661
+ vHanging: T,
8662
+ vIdeographic: T,
8653
8663
  version: null,
8654
- vertAdvY: k,
8655
- vertOriginX: k,
8656
- vertOriginY: k,
8664
+ vertAdvY: T,
8665
+ vertOriginX: T,
8666
+ vertOriginY: T,
8657
8667
  viewBox: null,
8658
8668
  viewTarget: null,
8659
8669
  visibility: null,
@@ -8665,7 +8675,7 @@ const Qo = $e({
8665
8675
  x1: null,
8666
8676
  x2: null,
8667
8677
  xChannelSelector: null,
8668
- xHeight: k,
8678
+ xHeight: T,
8669
8679
  y: null,
8670
8680
  y1: null,
8671
8681
  y2: null,
@@ -8998,7 +9008,7 @@ function bf(e, t, n, r) {
8998
9008
  const b = wf(t);
8999
9009
  s.checked = b && b.properties ? !!b.properties.checked : null, s.index = bn(r, t), s.ordered = r.tagName === "ol";
9000
9010
  }
9001
- return !I && (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), I || (s.isHeader = a === "th")), !I && a === "tr" && r.type === "element" && (s.isHeader = r.tagName === "thead"), i.sourcePos && (s["data-sourcepos"] = Tf(m)), !I && i.rawSourcePos && (s.sourcePosition = t.position), !I && i.includeElementIndex && (s.index = bn(r, t), s.siblingCount = bn(r)), I || (s.node = t), p.length > 0 ? ue.createElement(f, s, p) : ue.createElement(f, s);
9011
+ return !I && (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), I || (s.isHeader = a === "th")), !I && a === "tr" && r.type === "element" && (s.isHeader = r.tagName === "thead"), i.sourcePos && (s["data-sourcepos"] = vf(m)), !I && i.rawSourcePos && (s.sourcePosition = t.position), !I && i.includeElementIndex && (s.index = bn(r, t), s.siblingCount = bn(r)), I || (s.node = t), p.length > 0 ? ue.createElement(f, s, p) : ue.createElement(f, s);
9002
9012
  }
9003
9013
  function wf(e) {
9004
9014
  let t = -1;
@@ -9035,7 +9045,7 @@ function Nf(e) {
9035
9045
  function If(e, t) {
9036
9046
  return t.toUpperCase();
9037
9047
  }
9038
- function Tf(e) {
9048
+ function vf(e) {
9039
9049
  return [
9040
9050
  e.start.line,
9041
9051
  ":",
@@ -9046,7 +9056,7 @@ function Tf(e) {
9046
9056
  e.end.column
9047
9057
  ].map(String).join("");
9048
9058
  }
9049
- const Di = {}.hasOwnProperty, kf = "https://github.com/remarkjs/react-markdown/blob/main/changelog.md", kt = {
9059
+ const Di = {}.hasOwnProperty, Tf = "https://github.com/remarkjs/react-markdown/blob/main/changelog.md", Tt = {
9050
9060
  plugins: { to: "remarkPlugins", id: "change-plugins-to-remarkplugins" },
9051
9061
  renderers: { to: "components", id: "change-renderers-to-components" },
9052
9062
  astPlugins: { id: "remove-buggy-html-in-markdown-parser" },
@@ -9071,12 +9081,12 @@ const Di = {}.hasOwnProperty, kf = "https://github.com/remarkjs/react-markdown/b
9071
9081
  }
9072
9082
  };
9073
9083
  function Wo(e) {
9074
- for (const o in kt)
9075
- if (Di.call(kt, o) && Di.call(e, o)) {
9076
- const l = kt[o];
9084
+ for (const o in Tt)
9085
+ if (Di.call(Tt, o) && Di.call(e, o)) {
9086
+ const l = Tt[o];
9077
9087
  console.warn(
9078
- `[react-markdown] Warning: please ${l.to ? `use \`${l.to}\` instead of` : "remove"} \`${o}\` (see <${kf}#${l.id}> for more info)`
9079
- ), delete kt[o];
9088
+ `[react-markdown] Warning: please ${l.to ? `use \`${l.to}\` instead of` : "remove"} \`${o}\` (see <${Tf}#${l.id}> for more info)`
9089
+ ), delete Tt[o];
9080
9090
  }
9081
9091
  const t = Pu().use(qc).use(e.remarkPlugins || []).use(Pp, {
9082
9092
  ...e.remarkRehypeOptions,
@@ -9154,19 +9164,19 @@ Wo.propTypes = {
9154
9164
  transformImageUri: g.func,
9155
9165
  components: g.object
9156
9166
  };
9157
- const vf = (e) => {
9167
+ const kf = (e) => {
9158
9168
  Array.from(e.entries()).forEach((n) => {
9159
9169
  const r = n[0], i = n[1];
9160
9170
  r.toLocaleLowerCase().startsWith("utm_") && e.delete(r, i);
9161
9171
  });
9162
- }, jf = (e) => {
9172
+ }, Ef = (e) => {
9163
9173
  e.delete("linked_from", "xpert_chat"), e.append("linked_from", "xpert_chat");
9164
9174
  };
9165
- function Ef(e) {
9175
+ function jf(e) {
9166
9176
  const t = new URL(e), n = t.host;
9167
9177
  if (n == null ? void 0 : n.includes("edx.org")) {
9168
9178
  const i = t.searchParams;
9169
- vf(i), jf(i), t.search = i;
9179
+ kf(i), Ef(i), t.search = i;
9170
9180
  }
9171
9181
  return t.toString();
9172
9182
  }
@@ -9231,7 +9241,7 @@ const ar = ({
9231
9241
  "data-testid": "message-container",
9232
9242
  className: "xpert-chatbot-popup__bubble--assistant",
9233
9243
  style: { maxWidth: n ? "85%" : "67%" },
9234
- children: /* @__PURE__ */ D.jsx(Wo, { linkTarget: "_blank", transformLinkUri: Ef, children: t.content })
9244
+ children: /* @__PURE__ */ D.jsx(Wo, { linkTarget: "_blank", transformLinkUri: jf, children: t.content })
9235
9245
  }
9236
9246
  ),
9237
9247
  t.disableFeedback ? null : /* @__PURE__ */ D.jsx(
@@ -9365,7 +9375,7 @@ const zf = pr, tn = ({
9365
9375
  }) => {
9366
9376
  var s;
9367
9377
  const a = Fe(null);
9368
- return ye(() => {
9378
+ return de(() => {
9369
9379
  var u;
9370
9380
  (u = a.current) == null || u.scrollIntoView({
9371
9381
  behavior: "instant",
@@ -9708,7 +9718,7 @@ function dr({
9708
9718
  },
9709
9719
  [n]
9710
9720
  );
9711
- ye(() => {
9721
+ de(() => {
9712
9722
  const u = document.createElement("script");
9713
9723
  u.type = "text/javascript", u.src = e.liveChatUrl, u.async = !0, u.onload = () => {
9714
9724
  window.Five9ChatPlugin(e.liveChatOptions);
@@ -9825,7 +9835,7 @@ function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
9825
9835
  proactiveMessage: f,
9826
9836
  disableDisclaimerPage: I,
9827
9837
  conversationHistory: b
9828
- } = i, S = pt(Yf), [, w] = pe(!1), [v, j] = pe(Hf), [B, _] = pe(!1), [y, A] = pe(!1), [U, Q] = pe(!1), [q, E] = pe(""), [M, N] = pe(!1), [C, z] = pe(!1), [F, Y] = pe(!0), [V, X] = pe(!1), [d, ne] = pe(!1), le = Fe(null), h = Fe(null), re = Fe(null), te = De.get(`${p}-test`) === "1", W = at(
9838
+ } = i, S = pt(Yf), [, w] = pe(!1), [k, E] = pe(Hf), [B, _] = pe(!1), [y, A] = pe(!1), [U, Q] = pe(!1), [q, j] = pe(""), [M, N] = pe(!1), [C, z] = pe(!1), [F, Y] = pe(!0), [V, X] = pe(!1), [d, ne] = pe(!1), le = Fe(null), h = Fe(null), re = Fe(null), te = De.get(`${p}-test`) === "1", W = at(
9829
9839
  ({ name: L, payload: x }) => {
9830
9840
  t ? t({ name: L, payload: x }) : re.current.track(
9831
9841
  // TODO: this is untestable - create a custom hook to get submit event function.
@@ -9858,9 +9868,9 @@ function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
9858
9868
  }
9859
9869
  if (!x.ok)
9860
9870
  throw new Error(`HTTPError: ${x.status} ${x.statusText}`);
9861
- const T = await x.json();
9862
- j(
9863
- T.map((O) => ({
9871
+ const v = await x.json();
9872
+ E(
9873
+ v.map((O) => ({
9864
9874
  ...O,
9865
9875
  disableFeedback: !0
9866
9876
  }))
@@ -9871,12 +9881,12 @@ function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
9871
9881
  _(!1);
9872
9882
  }
9873
9883
  }, [p, o]);
9874
- ye(() => (se(), document.addEventListener("visibilitychange", se), () => {
9884
+ de(() => (se(), document.addEventListener("visibilitychange", se), () => {
9875
9885
  document.removeEventListener(
9876
9886
  "visibilitychange",
9877
9887
  se
9878
9888
  );
9879
- }), [se]), ye(() => {
9889
+ }), [se]), de(() => {
9880
9890
  console.log("Chatbot - mount");
9881
9891
  let L, x;
9882
9892
  return s && (L = setInterval(() => {
@@ -9887,15 +9897,15 @@ function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
9887
9897
  }, 6e4)), () => {
9888
9898
  console.log("Chatbot - unmount"), clearInterval(L), clearTimeout(x);
9889
9899
  };
9890
- }, [u, s]), ye(() => {
9891
- const L = (T) => {
9900
+ }, [u, s]), de(() => {
9901
+ const L = (v) => {
9892
9902
  var O, $;
9893
- (O = T == null ? void 0 : T.target) != null && O.href && W({
9903
+ (O = v == null ? void 0 : v.target) != null && O.href && W({
9894
9904
  name: `${s}.bi.xpert.chatbot.popup.chat.message.link.clicked`,
9895
9905
  payload: {
9896
9906
  category: "2u",
9897
9907
  label: "xpert-chatbot",
9898
- link: ($ = T == null ? void 0 : T.target) == null ? void 0 : $.href,
9908
+ link: ($ = v == null ? void 0 : v.target) == null ? void 0 : $.href,
9899
9909
  isTestUser: te
9900
9910
  }
9901
9911
  });
@@ -9904,14 +9914,14 @@ function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
9904
9914
  x == null || x.removeEventListener("click", L);
9905
9915
  };
9906
9916
  });
9907
- const he = yl(u);
9917
+ const ge = yl(u);
9908
9918
  if (!e && !i)
9909
9919
  return console.log("Chatbot - xpertKey or configuration is required"), null;
9910
9920
  if (!(i != null && i.xpertKey))
9911
9921
  return console.log(`Chatbot - configuration not found for xpertkey: ${e}`), null;
9912
- if (u && he !== "A" && !te)
9913
- return u && he !== "A" && console.log(
9914
- `Chatbot - Experiment not setup: ${i.xpertKey}, ${he}, ${window.optimizely}`
9922
+ if (u && ge !== "A" && !te)
9923
+ return u && ge !== "A" && console.log(
9924
+ `Chatbot - Experiment not setup: ${i.xpertKey}, ${ge}, ${window.optimizely}`
9915
9925
  ), te || console.log(
9916
9926
  `Chatbot - Test user not setup: ${i.xpertKey}, ${te}`
9917
9927
  ), null;
@@ -9924,11 +9934,11 @@ function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
9924
9934
  `Chatbot - Segment not setup: ${i.xpertKey}`
9925
9935
  ), null;
9926
9936
  console.log(
9927
- `Chatbot - All things setup: ${i.xpertKey}, ${typeof window.analytics}, ${he}, ${typeof window.optimizely}, ${typeof window.experiments}`
9937
+ `Chatbot - All things setup: ${i.xpertKey}, ${typeof window.analytics}, ${ge}, ${typeof window.optimizely}, ${typeof window.experiments}`
9928
9938
  );
9929
- const ve = () => {
9930
- E(""), h.current.value = "", h.current.style.height = "auto";
9931
- }, Ee = (L) => {
9939
+ const ke = () => {
9940
+ j(""), h.current.value = "", h.current.style.height = "auto";
9941
+ }, je = (L) => {
9932
9942
  W({
9933
9943
  name: `${s}.bi.xpert.chatbot.popup.chat.message.response`,
9934
9944
  payload: {
@@ -9942,7 +9952,7 @@ function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
9942
9952
  }, Ve = ({
9943
9953
  conversationSize: L,
9944
9954
  userInputMessage: x,
9945
- apiResponseMessage: T,
9955
+ apiResponseMessage: v,
9946
9956
  elapsedSeconds: O
9947
9957
  }) => {
9948
9958
  W({
@@ -9953,7 +9963,7 @@ function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
9953
9963
  isTestUser: te,
9954
9964
  conversationSize: L,
9955
9965
  userInputMessage: x,
9956
- apiResponseMessage: T,
9966
+ apiResponseMessage: v,
9957
9967
  elapsedSeconds: O
9958
9968
  }
9959
9969
  });
@@ -9967,25 +9977,25 @@ function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
9967
9977
  return;
9968
9978
  const x = /* @__PURE__ */ new Date();
9969
9979
  z(!1);
9970
- const T = v.filter((ae) => ae.role === "user").length + 1;
9980
+ const v = k.filter((ae) => ae.role === "user").length + 1;
9971
9981
  W({
9972
9982
  name: `${s}.bi.xpert.chatbot.popup.chat.message.sent`,
9973
9983
  payload: {
9974
9984
  category: "2u",
9975
9985
  label: "xpert-chatbot",
9976
- totalUserInputMessagesSent: T,
9986
+ totalUserInputMessagesSent: v,
9977
9987
  userInputMessage: L,
9978
9988
  isTestUser: te
9979
9989
  }
9980
- }), ve();
9990
+ }), ke();
9981
9991
  let O = De.get(`${p}-conversation-history-id`) || "";
9982
- !O && (b != null && b.enabled) ? j([
9992
+ !O && (b != null && b.enabled) ? E([
9983
9993
  {
9984
9994
  role: "user",
9985
9995
  content: L
9986
9996
  }
9987
- ]) : j([
9988
- ...v,
9997
+ ]) : E([
9998
+ ...k,
9989
9999
  {
9990
10000
  role: "user",
9991
10001
  content: L
@@ -9999,7 +10009,7 @@ function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
9999
10009
  },
10000
10010
  body: JSON.stringify({
10001
10011
  message_list: [
10002
- ...v,
10012
+ ...k,
10003
10013
  {
10004
10014
  role: "user",
10005
10015
  content: L
@@ -10021,14 +10031,14 @@ function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
10021
10031
  { expires: 1 }
10022
10032
  );
10023
10033
  const ce = (await $.json()).content;
10024
- Ee(ce);
10034
+ je(ce);
10025
10035
  const Ne = /* @__PURE__ */ new Date();
10026
10036
  Ve({
10027
- conversationSize: v.length + 2,
10037
+ conversationSize: k.length + 2,
10028
10038
  userInputMessage: L,
10029
10039
  apiResponseMessage: ce,
10030
10040
  elapsedSeconds: mu(x, Ne)
10031
- }), j((ae) => [
10041
+ }), E((ae) => [
10032
10042
  ...ae,
10033
10043
  {
10034
10044
  role: "assistant",
@@ -10039,7 +10049,7 @@ function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
10039
10049
  } catch (x) {
10040
10050
  z(!0), console.error(x);
10041
10051
  } finally {
10042
- _(!1), ve();
10052
+ _(!1), ke();
10043
10053
  }
10044
10054
  }, rn = () => {
10045
10055
  Q(!1), A(!0), W({
@@ -10103,25 +10113,25 @@ function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
10103
10113
  120
10104
10114
  )}px`);
10105
10115
  }, xt = (L) => {
10106
- E(L.target.value);
10116
+ j(L.target.value);
10107
10117
  }, ln = (L) => {
10108
10118
  L.key === "Enter" && q.trim() === "" || L.key === "Enter" && !L.shiftKey && (L.preventDefault(), ze(q));
10109
10119
  }, an = (L, x = "") => {
10110
- const T = v.map((O, $) => L === $ ? (W({
10120
+ const v = k.map((O, $) => L === $ ? (W({
10111
10121
  name: `${s}.bi.xpert.chatbot.feedback.thumbs.${x.toLowerCase()}.clicked`,
10112
10122
  payload: {
10113
10123
  category: "2u",
10114
10124
  label: "xpert-chatbot",
10115
- userInputMessage: v[L - 1],
10125
+ userInputMessage: k[L - 1],
10116
10126
  apiResponseMessageIndex: L,
10117
- apiResponseMessage: v[L],
10127
+ apiResponseMessage: k[L],
10118
10128
  isTestUser: te
10119
10129
  }
10120
10130
  }), {
10121
10131
  ...O,
10122
10132
  feedbackThumbType: x
10123
10133
  }) : O);
10124
- j(T), ne(!1);
10134
+ E(v), ne(!1);
10125
10135
  };
10126
10136
  return (
10127
10137
  // do not remove this class as it's needed to turn off chatbot
@@ -10180,7 +10190,7 @@ function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
10180
10190
  style: { display: "flex", flexDirection: "column", height: "100%" },
10181
10191
  "aria-label": "XPERT Chatbot Popup",
10182
10192
  role: "dialog",
10183
- children: M || I || v.length > 0 ? /* @__PURE__ */ D.jsxs(D.Fragment, { children: [
10193
+ children: M || I || k.length > 0 ? /* @__PURE__ */ D.jsxs(D.Fragment, { children: [
10184
10194
  /* @__PURE__ */ D.jsx(
10185
10195
  Jo,
10186
10196
  {
@@ -10196,7 +10206,7 @@ function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
10196
10206
  /* @__PURE__ */ D.jsx(
10197
10207
  Lf,
10198
10208
  {
10199
- messages: v,
10209
+ messages: k,
10200
10210
  loading: B,
10201
10211
  isNormalSize: S || F,
10202
10212
  onFeedbackThumbSelection: an,