@2uinc/frontend-component-xpert-chatbot 1.3.11-beta.8 → 1.3.11-beta.9

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 +290 -287
  2. package/package.json +1 -1
@@ -182,7 +182,7 @@ const tl = {
182
182
  function Ue(e) {
183
183
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
184
184
  }
185
- function Ti(e) {
185
+ function Ii(e) {
186
186
  if (e.__esModule)
187
187
  return e;
188
188
  var t = e.default;
@@ -203,7 +203,7 @@ function Ti(e) {
203
203
  });
204
204
  }), n;
205
205
  }
206
- var Ii = { exports: {} }, ct = {};
206
+ var Ti = { exports: {} }, ct = {};
207
207
  /*
208
208
  object-assign
209
209
  (c) Sindre Sorhus
@@ -265,8 +265,8 @@ function vi(e, t, n) {
265
265
  }
266
266
  ct.jsx = vi;
267
267
  ct.jsxs = vi;
268
- Ii.exports = ct;
269
- var D = Ii.exports, ji = { exports: {} }, fl = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED", dl = fl, hl = dl;
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
270
  function Ei() {
271
271
  }
272
272
  function Si() {
@@ -569,7 +569,7 @@ function zi(e) {
569
569
  return t;
570
570
  }
571
571
  const yr = /* @__PURE__ */ Object.create(null);
572
- function Tl(e, t) {
572
+ function Il(e, t) {
573
573
  return {
574
574
  provider: e,
575
575
  prefix: t,
@@ -579,14 +579,14 @@ function Tl(e, t) {
579
579
  }
580
580
  function Re(e, t) {
581
581
  const n = yr[e] || (yr[e] = /* @__PURE__ */ Object.create(null));
582
- return n[t] || (n[t] = Tl(e, t));
582
+ return n[t] || (n[t] = Il(e, t));
583
583
  }
584
584
  function Bn(e, t) {
585
585
  return zi(t) ? Oi(t, (n, r) => {
586
586
  r ? e.icons[n] = r : e.missing.add(n);
587
587
  }) : [];
588
588
  }
589
- function Il(e, t, n) {
589
+ function Tl(e, t, n) {
590
590
  try {
591
591
  if (typeof n.body == "string")
592
592
  return e.icons[t] = { ...n }, !0;
@@ -610,7 +610,7 @@ function vl(e, t) {
610
610
  if (!n)
611
611
  return !1;
612
612
  const r = Re(n.provider, n.prefix);
613
- return Il(r, n.name, t);
613
+ return Tl(r, n.name, t);
614
614
  }
615
615
  function jl(e, t) {
616
616
  if (typeof e != "object")
@@ -678,9 +678,9 @@ function Al(e, t) {
678
678
  height: n.height
679
679
  };
680
680
  let o = n.body;
681
- [n, r].forEach((T) => {
682
- const b = [], S = T.hFlip, w = T.vFlip;
683
- let v = T.rotate;
681
+ [n, r].forEach((I) => {
682
+ const b = [], S = I.hFlip, w = I.vFlip;
683
+ let v = I.rotate;
684
684
  S ? w ? v += 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(
@@ -709,8 +709,8 @@ function Al(e, t) {
709
709
  const l = r.width, a = r.height, s = i.width, u = i.height;
710
710
  let c, p;
711
711
  l === null ? (p = a === null ? "1em" : a === "auto" ? u : a, c = Mr(p, s / u)) : (c = l === "auto" ? s : l, p = a === null ? Mr(c, u / s) : a === "auto" ? u : a);
712
- const m = {}, f = (T, b) => {
713
- Cl(b) || (m[T] = b.toString());
712
+ const m = {}, f = (I, b) => {
713
+ Cl(b) || (m[I] = b.toString());
714
714
  };
715
715
  return f("width", c), f("height", p), m.viewBox = i.left.toString() + " " + i.top.toString() + " " + s.toString() + " " + u.toString(), {
716
716
  attributes: m,
@@ -741,7 +741,7 @@ const Nn = /* @__PURE__ */ Object.create(null);
741
741
  function Fl(e, t) {
742
742
  Nn[e] = t;
743
743
  }
744
- function Tn(e) {
744
+ function In(e) {
745
745
  return Nn[e] || Nn[""];
746
746
  }
747
747
  function Qn(e) {
@@ -1005,11 +1005,11 @@ function Kl(e, t, n, r) {
1005
1005
  const a = Date.now();
1006
1006
  let s = "pending", u = 0, c, p = null, m = [], f = [];
1007
1007
  typeof r == "function" && f.push(r);
1008
- function T() {
1008
+ function I() {
1009
1009
  p && (clearTimeout(p), p = null);
1010
1010
  }
1011
1011
  function b() {
1012
- s === "pending" && (s = "aborted"), T(), m.forEach((y) => {
1012
+ s === "pending" && (s = "aborted"), I(), m.forEach((y) => {
1013
1013
  y.status === "pending" && (y.status = "aborted");
1014
1014
  }), m = [];
1015
1015
  }
@@ -1057,7 +1057,7 @@ function Kl(e, t, n, r) {
1057
1057
  c = U, m.length || (l.length ? _() : v());
1058
1058
  return;
1059
1059
  }
1060
- if (T(), j(), !e.random) {
1060
+ if (I(), j(), !e.random) {
1061
1061
  const q = e.resources.indexOf(y.resource);
1062
1062
  q !== -1 && q !== e.index && (e.index = q);
1063
1063
  }
@@ -1068,12 +1068,12 @@ function Kl(e, t, n, r) {
1068
1068
  function _() {
1069
1069
  if (s !== "pending")
1070
1070
  return;
1071
- T();
1071
+ I();
1072
1072
  const y = l.shift();
1073
1073
  if (y === void 0) {
1074
1074
  if (m.length) {
1075
1075
  p = setTimeout(() => {
1076
- T(), s === "pending" && (j(), v());
1076
+ I(), s === "pending" && (j(), v());
1077
1077
  }, e.timeout);
1078
1078
  return;
1079
1079
  }
@@ -1143,7 +1143,7 @@ function Jl(e) {
1143
1143
  function ea(e, t, n) {
1144
1144
  let r, i;
1145
1145
  if (typeof e == "string") {
1146
- const o = Tn(e);
1146
+ const o = In(e);
1147
1147
  if (!o)
1148
1148
  return n(void 0, 424), br;
1149
1149
  i = o.send;
@@ -1153,14 +1153,14 @@ function ea(e, t, n) {
1153
1153
  const o = Qn(e);
1154
1154
  if (o) {
1155
1155
  r = _i(o);
1156
- const l = e.resources ? e.resources[0] : "", a = Tn(l);
1156
+ const l = e.resources ? e.resources[0] : "", a = In(l);
1157
1157
  a && (i = a.send);
1158
1158
  }
1159
1159
  }
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 In(e, t) {
1163
+ function Tn(e, t) {
1164
1164
  try {
1165
1165
  return e.getItem(t);
1166
1166
  } catch {
@@ -1182,7 +1182,7 @@ function kn(e, t) {
1182
1182
  return qn(e, Ui, t.toString());
1183
1183
  }
1184
1184
  function vn(e) {
1185
- return parseInt(In(e, Ui)) || 0;
1185
+ return parseInt(Tn(e, Ui)) || 0;
1186
1186
  }
1187
1187
  const Ut = {
1188
1188
  local: !0,
@@ -1209,7 +1209,7 @@ function Hi(e, t) {
1209
1209
  const n = Yi(e);
1210
1210
  if (!n)
1211
1211
  return;
1212
- const r = In(n, Dr);
1212
+ const r = Tn(n, Dr);
1213
1213
  if (r !== wr) {
1214
1214
  if (r) {
1215
1215
  const a = vn(n);
@@ -1220,7 +1220,7 @@ function Hi(e, t) {
1220
1220
  return;
1221
1221
  }
1222
1222
  const i = Math.floor(Date.now() / Bi) - ta, o = (a) => {
1223
- const s = st + a.toString(), u = In(n, s);
1223
+ const s = st + a.toString(), u = Tn(n, s);
1224
1224
  if (typeof u == "string") {
1225
1225
  try {
1226
1226
  const c = JSON.parse(u);
@@ -1292,7 +1292,7 @@ function ia(e, t) {
1292
1292
  }
1293
1293
  t.lastModified && !ra(e, t.lastModified) || Object.keys(t.icons).length && (t.not_found && (t = Object.assign({}, t), delete t.not_found), n("local") || n("session"));
1294
1294
  }
1295
- function Tr() {
1295
+ function Ir() {
1296
1296
  }
1297
1297
  function oa(e) {
1298
1298
  e.iconsLoaderFlag || (e.iconsLoaderFlag = !0, setTimeout(() => {
@@ -1305,7 +1305,7 @@ function la(e, t) {
1305
1305
  const { provider: n, prefix: r } = e, i = e.iconsToLoad;
1306
1306
  delete e.iconsToLoad;
1307
1307
  let o;
1308
- if (!i || !(o = Tn(n)))
1308
+ if (!i || !(o = In(n)))
1309
1309
  return;
1310
1310
  o.prepare(n, r, i).forEach((a) => {
1311
1311
  ea(n, a, (s) => {
@@ -1342,7 +1342,7 @@ const aa = (e, t) => {
1342
1342
  r.loaded,
1343
1343
  r.missing,
1344
1344
  r.pending,
1345
- Tr
1345
+ Ir
1346
1346
  );
1347
1347
  }), () => {
1348
1348
  s = !1;
@@ -1363,7 +1363,7 @@ const aa = (e, t) => {
1363
1363
  }), o.forEach((s) => {
1364
1364
  const { provider: u, prefix: c } = s;
1365
1365
  i[u][c].length && la(s, i[u][c]);
1366
- }), t ? Zl(t, r, o) : Tr;
1366
+ }), t ? Zl(t, r, o) : Ir;
1367
1367
  };
1368
1368
  function ua(e, t) {
1369
1369
  const n = {
@@ -1457,7 +1457,7 @@ const $i = {
1457
1457
  backgroundColor: "currentColor"
1458
1458
  }, Vi = {
1459
1459
  backgroundColor: "transparent"
1460
- }, Ir = {
1460
+ }, Tr = {
1461
1461
  Image: "var(--svg)",
1462
1462
  Repeat: "no-repeat",
1463
1463
  Size: "100% 100%"
@@ -1468,8 +1468,8 @@ const $i = {
1468
1468
  };
1469
1469
  for (const e in kr) {
1470
1470
  const t = kr[e];
1471
- for (const n in Ir)
1472
- t[e + n] = Ir[n];
1471
+ for (const n in Tr)
1472
+ t[e + n] = Tr[n];
1473
1473
  }
1474
1474
  const ba = {
1475
1475
  ...$i,
@@ -1528,10 +1528,10 @@ const wa = (e, t, n, r) => {
1528
1528
  __html: ya(Pl(c.body, v ? () => v + "ID" + w++ : "iconifyReact"))
1529
1529
  }, ue.createElement("svg", u);
1530
1530
  }
1531
- const { body: m, width: f, height: T } = e, b = l === "mask" || (l === "bg" ? !1 : m.indexOf("currentColor") !== -1), S = fa(m, {
1531
+ const { body: m, width: f, height: I } = e, b = l === "mask" || (l === "bg" ? !1 : m.indexOf("currentColor") !== -1), S = fa(m, {
1532
1532
  ...p,
1533
1533
  width: f + "",
1534
- height: T + ""
1534
+ height: I + ""
1535
1535
  });
1536
1536
  return u.style = {
1537
1537
  ...a,
@@ -1867,7 +1867,7 @@ var Xi = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
1867
1867
  n === void 0 && (n = !0);
1868
1868
  var i = t == null || (r = t.getAttribute) === null || r === void 0 ? void 0 : r.call(t, "inert"), o = i === "" || i === "true", l = o || n && t && e(t.parentNode);
1869
1869
  return l;
1870
- }, Ta = function(t) {
1870
+ }, Ia = function(t) {
1871
1871
  var n, r = t == null || (n = t.getAttribute) === null || n === void 0 ? void 0 : n.call(t, "contenteditable");
1872
1872
  return r === "" || r === "true";
1873
1873
  }, Ji = function(t, n, r) {
@@ -1906,8 +1906,8 @@ var Xi = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
1906
1906
  }, Ce = function(t) {
1907
1907
  if (!t)
1908
1908
  throw new Error("No node provided");
1909
- return t.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName) || Ta(t)) && !to(t) ? 0 : t.tabIndex;
1910
- }, Ia = function(t, n) {
1909
+ return t.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName) || Ia(t)) && !to(t) ? 0 : t.tabIndex;
1910
+ }, Ta = function(t, n) {
1911
1911
  var r = Ce(t);
1912
1912
  return r < 0 && n && !to(t) ? 0 : r;
1913
1913
  }, ka = function(t, n) {
@@ -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 = Ia(a, l), u = l ? e(i.candidates) : a;
2013
+ var l = !!i.scopeParent, a = l ? i.scopeParent : i, s = Ta(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,
@@ -2286,7 +2286,7 @@ var Ar = {
2286
2286
  var N = M.activeElement;
2287
2287
  if (N)
2288
2288
  return N.shadowRoot && N.shadowRoot.activeElement !== null ? E(N.shadowRoot) : N;
2289
- }, T = function E(M) {
2289
+ }, I = function E(M) {
2290
2290
  if (M !== !1 && M !== f(document)) {
2291
2291
  if (!M || !M.focus) {
2292
2292
  E(p());
@@ -2377,7 +2377,7 @@ var Ar = {
2377
2377
  // outside the trap causing the focus escape we're trying to fix)
2378
2378
  target: l.mostRecentlyFocusedNode,
2379
2379
  isBackward: o.isKeyBackward(l.recentNavEvent)
2380
- })), T(z || l.mostRecentlyFocusedNode || p());
2380
+ })), I(z || l.mostRecentlyFocusedNode || p());
2381
2381
  }
2382
2382
  l.recentNavEvent = void 0;
2383
2383
  }, j = function(M) {
@@ -2387,7 +2387,7 @@ var Ar = {
2387
2387
  event: M,
2388
2388
  isBackward: N
2389
2389
  });
2390
- C && (it(M) && M.preventDefault(), T(C));
2390
+ C && (it(M) && M.preventDefault(), I(C));
2391
2391
  }, B = function(M) {
2392
2392
  if (Ha(M) && Ke(o.escapeDeactivates, M) !== !1) {
2393
2393
  M.preventDefault(), a.deactivate();
@@ -2400,8 +2400,8 @@ var Ar = {
2400
2400
  }, y = function() {
2401
2401
  if (l.active)
2402
2402
  return Ar.activateTrap(i, a), l.delayInitialFocusTimer = o.delayInitialFocus ? Or(function() {
2403
- T(p());
2404
- }) : T(p()), r.addEventListener("focusin", v, !0), r.addEventListener("mousedown", w, {
2403
+ I(p());
2404
+ }) : I(p()), r.addEventListener("focusin", v, !0), r.addEventListener("mousedown", w, {
2405
2405
  capture: !0,
2406
2406
  passive: !1
2407
2407
  }), r.addEventListener("touchstart", w, {
@@ -2424,7 +2424,7 @@ var Ar = {
2424
2424
  return F === l.mostRecentlyFocusedNode;
2425
2425
  });
2426
2426
  });
2427
- N && T(p());
2427
+ N && I(p());
2428
2428
  }, Q = typeof window < "u" && "MutationObserver" in window ? new MutationObserver(U) : void 0, q = function() {
2429
2429
  Q && (Q.disconnect(), l.active && !l.paused && l.containers.map(function(M) {
2430
2430
  Q.observe(M, {
@@ -2463,7 +2463,7 @@ var Ar = {
2463
2463
  C == null || C();
2464
2464
  var V = function() {
2465
2465
  Or(function() {
2466
- Y && T(b(l.nodeFocusedBeforeActivation)), z == null || z();
2466
+ Y && I(b(l.nodeFocusedBeforeActivation)), z == null || z();
2467
2467
  });
2468
2468
  };
2469
2469
  return Y && F ? (F(b(l.nodeFocusedBeforeActivation)).then(V, V), this) : (V(), this);
@@ -2491,7 +2491,7 @@ var Ar = {
2491
2491
  const Za = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2492
2492
  __proto__: null,
2493
2493
  createFocusTrap: Wa
2494
- }, Symbol.toStringTag, { value: "Module" })), Ga = /* @__PURE__ */ Ti(Za), Xa = /* @__PURE__ */ Ti(_a);
2494
+ }, Symbol.toStringTag, { value: "Module" })), Ga = /* @__PURE__ */ Ii(Za), Xa = /* @__PURE__ */ Ii(_a);
2495
2495
  function He(e) {
2496
2496
  "@babel/helpers - typeof";
2497
2497
  return He = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
@@ -2583,7 +2583,7 @@ function ou(e, t) {
2583
2583
  }
2584
2584
  return (t === "string" ? String : Number)(e);
2585
2585
  }
2586
- var Tt = ue, P = Ci, lu = Ga, au = lu.createFocusTrap, uu = Xa, su = uu.isFocusable, Zn = /* @__PURE__ */ function(e) {
2586
+ var It = ue, P = Ci, lu = Ga, au = lu.createFocusTrap, uu = Xa, su = uu.isFocusable, Zn = /* @__PURE__ */ function(e) {
2587
2587
  eu(n, e);
2588
2588
  var t = tu(n);
2589
2589
  function n(r) {
@@ -2602,8 +2602,8 @@ var Tt = ue, P = Ci, lu = Ga, au = lu.createFocusTrap, uu = Xa, su = uu.isFocusa
2602
2602
  }
2603
2603
  var f = u;
2604
2604
  if (typeof u == "string") {
2605
- var T;
2606
- if (f = (T = this.getDocument()) === null || T === void 0 ? void 0 : T.querySelector(u), !f)
2605
+ var I;
2606
+ if (f = (I = this.getDocument()) === null || I === void 0 ? void 0 : I.querySelector(u), !f)
2607
2607
  throw new Error("`".concat(a, "` as selector refers to no known node"));
2608
2608
  }
2609
2609
  return f;
@@ -2755,14 +2755,14 @@ var Tt = ue, P = Ci, lu = Ga, au = lu.createFocusTrap, uu = Xa, su = uu.isFocusa
2755
2755
  }, {
2756
2756
  key: "render",
2757
2757
  value: function() {
2758
- var i = this, o = this.props.children ? Tt.Children.only(this.props.children) : void 0;
2758
+ var i = this, o = this.props.children ? It.Children.only(this.props.children) : void 0;
2759
2759
  if (o) {
2760
- if (o.type && o.type === Tt.Fragment)
2760
+ if (o.type && o.type === It.Fragment)
2761
2761
  throw new Error("A focus-trap cannot use a Fragment as its child container. Try replacing it with a <div> element.");
2762
2762
  var l = function(u) {
2763
2763
  var c = i.props.containerElements;
2764
2764
  o && (typeof o.ref == "function" ? o.ref(u) : o.ref && (o.ref.current = u)), i.focusTrapElements = c || [u];
2765
- }, a = Tt.cloneElement(o, {
2765
+ }, a = It.cloneElement(o, {
2766
2766
  ref: l
2767
2767
  });
2768
2768
  return a;
@@ -2770,7 +2770,7 @@ var Tt = ue, P = Ci, lu = Ga, au = lu.createFocusTrap, uu = Xa, su = uu.isFocusa
2770
2770
  return null;
2771
2771
  }
2772
2772
  }]), n;
2773
- }(Tt.Component), Je = typeof Element > "u" ? Function : Element;
2773
+ }(It.Component), Je = typeof Element > "u" ? Function : Element;
2774
2774
  Zn.propTypes = {
2775
2775
  active: P.bool,
2776
2776
  paused: P.bool,
@@ -3328,7 +3328,7 @@ xe.prototype.line = null;
3328
3328
  xe.prototype.source = null;
3329
3329
  xe.prototype.ruleId = null;
3330
3330
  xe.prototype.position = null;
3331
- const Te = { basename: wu, dirname: Du, extname: Nu, join: Tu, sep: "/" };
3331
+ const Ie = { basename: wu, dirname: Du, extname: Nu, join: Iu, sep: "/" };
3332
3332
  function wu(e, t) {
3333
3333
  if (t !== void 0 && typeof t != "string")
3334
3334
  throw new TypeError('"ext" argument must be a string');
@@ -3390,13 +3390,13 @@ function Nu(e) {
3390
3390
  o === 0 || // The (right-most) trimmed path component is exactly `..`.
3391
3391
  o === 1 && i === n - 1 && i === r + 1 ? "" : e.slice(i, n);
3392
3392
  }
3393
- function Tu(...e) {
3393
+ function Iu(...e) {
3394
3394
  let t = -1, n;
3395
3395
  for (; ++t < e.length; )
3396
3396
  ft(e[t]), e[t] && (n = n === void 0 ? e[t] : n + "/" + e[t]);
3397
- return n === void 0 ? "." : Iu(n);
3397
+ return n === void 0 ? "." : Tu(n);
3398
3398
  }
3399
- function Iu(e) {
3399
+ function Tu(e) {
3400
3400
  ft(e);
3401
3401
  const t = e.charCodeAt(0) === 47;
3402
3402
  let n = ku(e, !t);
@@ -3546,7 +3546,7 @@ class po {
3546
3546
  * Get the parent path (example: `'~'`).
3547
3547
  */
3548
3548
  get dirname() {
3549
- return typeof this.path == "string" ? Te.dirname(this.path) : void 0;
3549
+ return typeof this.path == "string" ? Ie.dirname(this.path) : void 0;
3550
3550
  }
3551
3551
  /**
3552
3552
  * Set the parent path (example: `'~'`).
@@ -3554,13 +3554,13 @@ class po {
3554
3554
  * Cannot be set if there’s no `path` yet.
3555
3555
  */
3556
3556
  set dirname(t) {
3557
- _r(this.basename, "dirname"), this.path = Te.join(t || "", this.basename);
3557
+ _r(this.basename, "dirname"), this.path = Ie.join(t || "", this.basename);
3558
3558
  }
3559
3559
  /**
3560
3560
  * Get the basename (including extname) (example: `'index.min.js'`).
3561
3561
  */
3562
3562
  get basename() {
3563
- return typeof this.path == "string" ? Te.basename(this.path) : void 0;
3563
+ return typeof this.path == "string" ? Ie.basename(this.path) : void 0;
3564
3564
  }
3565
3565
  /**
3566
3566
  * Set basename (including extname) (`'index.min.js'`).
@@ -3570,13 +3570,13 @@ class po {
3570
3570
  * Cannot be nullified (use `file.path = file.dirname` instead).
3571
3571
  */
3572
3572
  set basename(t) {
3573
- dn(t, "basename"), fn(t, "basename"), this.path = Te.join(this.dirname || "", t);
3573
+ dn(t, "basename"), fn(t, "basename"), this.path = Ie.join(this.dirname || "", t);
3574
3574
  }
3575
3575
  /**
3576
3576
  * Get the extname (including dot) (example: `'.js'`).
3577
3577
  */
3578
3578
  get extname() {
3579
- return typeof this.path == "string" ? Te.extname(this.path) : void 0;
3579
+ return typeof this.path == "string" ? Ie.extname(this.path) : void 0;
3580
3580
  }
3581
3581
  /**
3582
3582
  * Set the extname (including dot) (example: `'.js'`).
@@ -3592,13 +3592,13 @@ class po {
3592
3592
  if (t.includes(".", 1))
3593
3593
  throw new Error("`extname` cannot contain multiple dots");
3594
3594
  }
3595
- this.path = Te.join(this.dirname, this.stem + (t || ""));
3595
+ this.path = Ie.join(this.dirname, this.stem + (t || ""));
3596
3596
  }
3597
3597
  /**
3598
3598
  * Get the stem (basename w/o extname) (example: `'index.min'`).
3599
3599
  */
3600
3600
  get stem() {
3601
- return typeof this.path == "string" ? Te.basename(this.path, this.extname) : void 0;
3601
+ return typeof this.path == "string" ? Ie.basename(this.path, this.extname) : void 0;
3602
3602
  }
3603
3603
  /**
3604
3604
  * Set the stem (basename w/o extname) (example: `'index.min'`).
@@ -3608,7 +3608,7 @@ class po {
3608
3608
  * Cannot be nullified (use `file.path = file.dirname` instead).
3609
3609
  */
3610
3610
  set stem(t) {
3611
- dn(t, "stem"), fn(t, "stem"), this.path = Te.join(this.dirname || "", t + (this.extname || ""));
3611
+ dn(t, "stem"), fn(t, "stem"), this.path = Ie.join(this.dirname || "", t + (this.extname || ""));
3612
3612
  }
3613
3613
  /**
3614
3614
  * Serialize the file.
@@ -3688,9 +3688,9 @@ class po {
3688
3688
  }
3689
3689
  }
3690
3690
  function fn(e, t) {
3691
- if (e && e.includes(Te.sep))
3691
+ if (e && e.includes(Ie.sep))
3692
3692
  throw new Error(
3693
- "`" + t + "` cannot be a path: did not expect `" + Te.sep + "`"
3693
+ "`" + t + "` cannot be a path: did not expect `" + Ie.sep + "`"
3694
3694
  );
3695
3695
  }
3696
3696
  function dn(e, t) {
@@ -3810,7 +3810,7 @@ const Lu = go().freeze(), ho = {}.hasOwnProperty;
3810
3810
  function go() {
3811
3811
  const e = Ou(), t = [];
3812
3812
  let n = {}, r, i = -1;
3813
- return o.data = l, o.Parser = void 0, o.Compiler = void 0, o.freeze = a, o.attachers = t, o.use = s, o.parse = u, o.stringify = c, o.run = p, o.runSync = m, o.process = f, o.processSync = T, o;
3813
+ return o.data = l, o.Parser = void 0, o.Compiler = void 0, o.freeze = a, o.attachers = t, o.use = s, o.parse = u, o.stringify = c, o.run = p, o.runSync = m, o.process = f, o.processSync = I, o;
3814
3814
  function o() {
3815
3815
  const b = go();
3816
3816
  let S = -1;
@@ -3927,7 +3927,7 @@ function go() {
3927
3927
  }
3928
3928
  }
3929
3929
  }
3930
- function T(b) {
3930
+ function I(b) {
3931
3931
  let S;
3932
3932
  o.freeze(), hn("processSync", o.Parser), gn("processSync", o.Compiler);
3933
3933
  const w = et(b);
@@ -4056,7 +4056,7 @@ function Hu(e, t) {
4056
4056
  (t[n].add === "after" ? e : r).push(t[n]);
4057
4057
  ke(e, 0, 0, r);
4058
4058
  }
4059
- const qu = /[!-\/:-@\[-`\{-~\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]/, Ie = ze(/[A-Za-z]/), me = ze(/[\dA-Za-z]/), $u = ze(/[#-'*+\--9=?A-Z^-~]/);
4059
+ const qu = /[!-\/:-@\[-`\{-~\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 = ze(/[A-Za-z]/), me = ze(/[\dA-Za-z]/), $u = ze(/[#-'*+\--9=?A-Z^-~]/);
4060
4060
  function zn(e) {
4061
4061
  return (
4062
4062
  // Special whitespace codes (which have negative values), C0 and Control
@@ -4176,7 +4176,7 @@ function es(e) {
4176
4176
  if (!i)
4177
4177
  return m(j);
4178
4178
  if (i.currentConstruct && i.currentConstruct.concrete)
4179
- return T(j);
4179
+ return I(j);
4180
4180
  t.interrupt = !!(i.currentConstruct && !i._gfmTableDynamicInterruptHack);
4181
4181
  }
4182
4182
  return t.containerState = {}, e.check(
@@ -4189,19 +4189,19 @@ function es(e) {
4189
4189
  return i && v(), w(r), m(j);
4190
4190
  }
4191
4191
  function p(j) {
4192
- return t.parser.lazy[t.now().line] = r !== n.length, l = t.now().offset, T(j);
4192
+ return t.parser.lazy[t.now().line] = r !== n.length, l = t.now().offset, I(j);
4193
4193
  }
4194
4194
  function m(j) {
4195
4195
  return t.containerState = {}, e.attempt(
4196
4196
  Jr,
4197
4197
  f,
4198
- T
4198
+ I
4199
4199
  )(j);
4200
4200
  }
4201
4201
  function f(j) {
4202
4202
  return r++, n.push([t.currentConstruct, t.containerState]), m(j);
4203
4203
  }
4204
- function T(j) {
4204
+ function I(j) {
4205
4205
  if (j === null) {
4206
4206
  i && v(), w(0), e.consume(j);
4207
4207
  return;
@@ -4377,7 +4377,7 @@ function os(e, t, n) {
4377
4377
  return e.enter("autolink"), e.enter("autolinkMarker"), e.consume(f), e.exit("autolinkMarker"), e.enter("autolinkProtocol"), o;
4378
4378
  }
4379
4379
  function o(f) {
4380
- return Ie(f) ? (e.consume(f), l) : u(f);
4380
+ return Te(f) ? (e.consume(f), l) : u(f);
4381
4381
  }
4382
4382
  function l(f) {
4383
4383
  return f === 43 || f === 45 || f === 46 || me(f) ? (r = 1, a(f)) : u(f);
@@ -4399,8 +4399,8 @@ function os(e, t, n) {
4399
4399
  }
4400
4400
  function m(f) {
4401
4401
  if ((f === 45 || me(f)) && r++ < 63) {
4402
- const T = f === 45 ? m : p;
4403
- return e.consume(f), T;
4402
+ const I = f === 45 ? m : p;
4403
+ return e.consume(f), I;
4404
4404
  }
4405
4405
  return n(f);
4406
4406
  }
@@ -4541,10 +4541,10 @@ function fs(e, t, n) {
4541
4541
  function f(y) {
4542
4542
  return y === null || R(y) ? p(y) : (e.enter("codeFencedFenceMeta"), e.enter("chunkString", {
4543
4543
  contentType: "string"
4544
- }), T(y));
4544
+ }), I(y));
4545
4545
  }
4546
- function T(y) {
4547
- return y === null || R(y) ? (e.exit("chunkString"), e.exit("codeFencedFenceMeta"), p(y)) : y === 96 && y === a ? n(y) : (e.consume(y), T);
4546
+ function I(y) {
4547
+ return y === null || R(y) ? (e.exit("chunkString"), e.exit("codeFencedFenceMeta"), p(y)) : y === 96 && y === a ? n(y) : (e.consume(y), I);
4548
4548
  }
4549
4549
  function b(y) {
4550
4550
  return e.attempt(i, B, S)(y);
@@ -4706,7 +4706,7 @@ function ws(e, t) {
4706
4706
  const n = e[t][1], r = e[t][2];
4707
4707
  let i = t - 1;
4708
4708
  const o = [], l = n._tokenizer || r.parser[n.contentType](n.start), a = l.events, s = [], u = {};
4709
- let c, p, m = -1, f = n, T = 0, b = 0;
4709
+ let c, p, m = -1, f = n, I = 0, b = 0;
4710
4710
  const S = [b];
4711
4711
  for (; f; ) {
4712
4712
  for (; e[++i][1] !== f; )
@@ -4721,20 +4721,20 @@ function ws(e, t) {
4721
4721
  s.unshift([v, v + w.length - 1]), ke(e, v, 2, w);
4722
4722
  }
4723
4723
  for (m = -1; ++m < s.length; )
4724
- u[T + s[m][0]] = T + s[m][1], T += s[m][1] - s[m][0] - 1;
4724
+ u[I + s[m][0]] = I + s[m][1], I += s[m][1] - s[m][0] - 1;
4725
4725
  return u;
4726
4726
  }
4727
4727
  const Ds = {
4728
- tokenize: Is,
4729
- resolve: Ts
4728
+ tokenize: Ts,
4729
+ resolve: Is
4730
4730
  }, Ns = {
4731
4731
  tokenize: ks,
4732
4732
  partial: !0
4733
4733
  };
4734
- function Ts(e) {
4734
+ function Is(e) {
4735
4735
  return bo(e), e;
4736
4736
  }
4737
- function Is(e, t) {
4737
+ function Ts(e, t) {
4738
4738
  let n;
4739
4739
  return r;
4740
4740
  function r(a) {
@@ -4787,9 +4787,9 @@ function wo(e, t, n, r, i, o, l, a, s) {
4787
4787
  }), f(w));
4788
4788
  }
4789
4789
  function f(w) {
4790
- return w === 62 ? (e.exit("chunkString"), e.exit(a), m(w)) : w === null || w === 60 || R(w) ? n(w) : (e.consume(w), w === 92 ? T : f);
4790
+ return w === 62 ? (e.exit("chunkString"), e.exit(a), m(w)) : w === null || w === 60 || R(w) ? n(w) : (e.consume(w), w === 92 ? I : f);
4791
4791
  }
4792
- function T(w) {
4792
+ function I(w) {
4793
4793
  return w === 60 || w === 62 || w === 92 ? (e.consume(w), f) : f(w);
4794
4794
  }
4795
4795
  function b(w) {
@@ -5087,20 +5087,20 @@ function Bs(e, t, n) {
5087
5087
  return e.enter("htmlFlow"), e.enter("htmlFlowData"), e.consume(h), p;
5088
5088
  }
5089
5089
  function p(h) {
5090
- 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) : Ie(h) ? (e.consume(h), l = String.fromCharCode(h), S) : n(h);
5090
+ 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);
5091
5091
  }
5092
5092
  function m(h) {
5093
- return h === 45 ? (e.consume(h), i = 2, f) : h === 91 ? (e.consume(h), i = 5, a = 0, T) : Ie(h) ? (e.consume(h), i = 4, r.interrupt ? t : d) : n(h);
5093
+ 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);
5094
5094
  }
5095
5095
  function f(h) {
5096
5096
  return h === 45 ? (e.consume(h), r.interrupt ? t : d) : n(h);
5097
5097
  }
5098
- function T(h) {
5098
+ function I(h) {
5099
5099
  const re = "CDATA[";
5100
- return h === re.charCodeAt(a++) ? (e.consume(h), a === re.length ? r.interrupt ? t : M : T) : n(h);
5100
+ return h === re.charCodeAt(a++) ? (e.consume(h), a === re.length ? r.interrupt ? t : M : I) : n(h);
5101
5101
  }
5102
5102
  function b(h) {
5103
- return Ie(h) ? (e.consume(h), l = String.fromCharCode(h), S) : n(h);
5103
+ return Te(h) ? (e.consume(h), l = String.fromCharCode(h), S) : n(h);
5104
5104
  }
5105
5105
  function S(h) {
5106
5106
  if (h === null || h === 47 || h === 62 || de(h)) {
@@ -5116,7 +5116,7 @@ function Bs(e, t, n) {
5116
5116
  return Z(h) ? (e.consume(h), v) : q(h);
5117
5117
  }
5118
5118
  function j(h) {
5119
- return h === 47 ? (e.consume(h), q) : h === 58 || h === 95 || Ie(h) ? (e.consume(h), B) : Z(h) ? (e.consume(h), j) : q(h);
5119
+ 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);
5120
5120
  }
5121
5121
  function B(h) {
5122
5122
  return h === 45 || h === 46 || h === 58 || h === 95 || me(h) ? (e.consume(h), B) : _(h);
@@ -5173,7 +5173,7 @@ function Bs(e, t, n) {
5173
5173
  const re = l.toLowerCase();
5174
5174
  return oi.includes(re) ? (e.consume(h), ne) : M(h);
5175
5175
  }
5176
- return Ie(h) && l.length < 8 ? (e.consume(h), l += String.fromCharCode(h), V) : M(h);
5176
+ return Te(h) && l.length < 8 ? (e.consume(h), l += String.fromCharCode(h), V) : M(h);
5177
5177
  }
5178
5178
  function X(h) {
5179
5179
  return h === 93 ? (e.consume(h), d) : M(h);
@@ -5216,10 +5216,10 @@ function qs(e, t, n) {
5216
5216
  return e.enter("htmlText"), e.enter("htmlTextData"), e.consume(d), s;
5217
5217
  }
5218
5218
  function s(d) {
5219
- return d === 33 ? (e.consume(d), u) : d === 47 ? (e.consume(d), _) : d === 63 ? (e.consume(d), j) : Ie(d) ? (e.consume(d), U) : n(d);
5219
+ 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);
5220
5220
  }
5221
5221
  function u(d) {
5222
- return d === 45 ? (e.consume(d), c) : d === 91 ? (e.consume(d), o = 0, T) : Ie(d) ? (e.consume(d), v) : n(d);
5222
+ return d === 45 ? (e.consume(d), c) : d === 91 ? (e.consume(d), o = 0, I) : Te(d) ? (e.consume(d), v) : n(d);
5223
5223
  }
5224
5224
  function c(d) {
5225
5225
  return d === 45 ? (e.consume(d), f) : n(d);
@@ -5233,9 +5233,9 @@ function qs(e, t, n) {
5233
5233
  function f(d) {
5234
5234
  return d === 62 ? F(d) : d === 45 ? m(d) : p(d);
5235
5235
  }
5236
- function T(d) {
5236
+ function I(d) {
5237
5237
  const ne = "CDATA[";
5238
- return d === ne.charCodeAt(o++) ? (e.consume(d), o === ne.length ? b : T) : n(d);
5238
+ return d === ne.charCodeAt(o++) ? (e.consume(d), o === ne.length ? b : I) : n(d);
5239
5239
  }
5240
5240
  function b(d) {
5241
5241
  return d === null ? n(d) : d === 93 ? (e.consume(d), S) : R(d) ? (l = b, Y(d)) : (e.consume(d), b);
@@ -5256,7 +5256,7 @@ function qs(e, t, n) {
5256
5256
  return d === 62 ? F(d) : j(d);
5257
5257
  }
5258
5258
  function _(d) {
5259
- return Ie(d) ? (e.consume(d), y) : n(d);
5259
+ return Te(d) ? (e.consume(d), y) : n(d);
5260
5260
  }
5261
5261
  function y(d) {
5262
5262
  return d === 45 || me(d) ? (e.consume(d), y) : A(d);
@@ -5268,7 +5268,7 @@ function qs(e, t, n) {
5268
5268
  return d === 45 || me(d) ? (e.consume(d), U) : d === 47 || d === 62 || de(d) ? Q(d) : n(d);
5269
5269
  }
5270
5270
  function Q(d) {
5271
- return d === 47 ? (e.consume(d), F) : d === 58 || d === 95 || Ie(d) ? (e.consume(d), q) : R(d) ? (l = Q, Y(d)) : Z(d) ? (e.consume(d), Q) : F(d);
5271
+ 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);
5272
5272
  }
5273
5273
  function q(d) {
5274
5274
  return d === 45 || d === 46 || d === 58 || d === 95 || me(d) ? (e.consume(d), q) : E(d);
@@ -5574,11 +5574,11 @@ function sc(e, t, n) {
5574
5574
  let o = i && i[1].type === "linePrefix" ? i[2].sliceSerialize(i[1], !0).length : 0, l = 0;
5575
5575
  return a;
5576
5576
  function a(f) {
5577
- const T = r.containerState.type || (f === 42 || f === 43 || f === 45 ? "listUnordered" : "listOrdered");
5578
- if (T === "listUnordered" ? !r.containerState.marker || f === r.containerState.marker : Ln(f)) {
5579
- if (r.containerState.type || (r.containerState.type = T, e.enter(T, {
5577
+ const I = r.containerState.type || (f === 42 || f === 43 || f === 45 ? "listUnordered" : "listOrdered");
5578
+ if (I === "listUnordered" ? !r.containerState.marker || f === r.containerState.marker : Ln(f)) {
5579
+ if (r.containerState.type || (r.containerState.type = I, e.enter(I, {
5580
5580
  _container: !0
5581
- })), T === "listUnordered")
5581
+ })), I === "listUnordered")
5582
5582
  return e.enter("listItemPrefix"), f === 42 || f === 45 ? e.check(Ct, n, u)(f) : u(f);
5583
5583
  if (!r.interrupt || f === 49)
5584
5584
  return e.enter("listItemPrefix"), e.enter("listItemValue"), s(f);
@@ -5748,12 +5748,12 @@ function yc(e) {
5748
5748
  }
5749
5749
  }
5750
5750
  const Mc = {
5751
- resolveAll: Io()
5752
- }, xc = To("string"), bc = To("text");
5753
- function To(e) {
5751
+ resolveAll: To()
5752
+ }, xc = Io("string"), bc = Io("text");
5753
+ function Io(e) {
5754
5754
  return {
5755
5755
  tokenize: t,
5756
- resolveAll: Io(
5756
+ resolveAll: To(
5757
5757
  e === "text" ? wc : void 0
5758
5758
  )
5759
5759
  };
@@ -5788,7 +5788,7 @@ function To(e) {
5788
5788
  }
5789
5789
  }
5790
5790
  }
5791
- function Io(e) {
5791
+ function To(e) {
5792
5792
  return t;
5793
5793
  function t(n, r) {
5794
5794
  let i = -1, o;
@@ -5872,7 +5872,7 @@ function Dc(e, t, n) {
5872
5872
  parser: e,
5873
5873
  sliceStream: f,
5874
5874
  sliceSerialize: m,
5875
- now: T,
5875
+ now: I,
5876
5876
  defineSkip: b,
5877
5877
  write: p
5878
5878
  };
@@ -5882,12 +5882,12 @@ function Dc(e, t, n) {
5882
5882
  return l = Me(l, E), S(), l[l.length - 1] !== null ? [] : (U(t, 0), u.events = Gn(o, u.events, u), u.events);
5883
5883
  }
5884
5884
  function m(E, M) {
5885
- return Tc(f(E), M);
5885
+ return Ic(f(E), M);
5886
5886
  }
5887
5887
  function f(E) {
5888
5888
  return Nc(l, E);
5889
5889
  }
5890
- function T() {
5890
+ function I() {
5891
5891
  const { line: E, column: M, offset: N, _index: C, _bufferIndex: z } = r;
5892
5892
  return {
5893
5893
  line: E,
@@ -5919,11 +5919,11 @@ function Dc(e, t, n) {
5919
5919
  }
5920
5920
  function j(E, M) {
5921
5921
  const N = M || {};
5922
- return N.type = E, N.start = T(), u.events.push(["enter", N, u]), a.push(N), N;
5922
+ return N.type = E, N.start = I(), u.events.push(["enter", N, u]), a.push(N), N;
5923
5923
  }
5924
5924
  function B(E) {
5925
5925
  const M = a.pop();
5926
- return M.end = T(), u.events.push(["exit", M, u]), M;
5926
+ return M.end = I(), u.events.push(["exit", M, u]), M;
5927
5927
  }
5928
5928
  function _(E, M) {
5929
5929
  U(E, M.from);
@@ -5985,7 +5985,7 @@ function Dc(e, t, n) {
5985
5985
  ), E.resolveTo && (u.events = E.resolveTo(u.events, u));
5986
5986
  }
5987
5987
  function Q() {
5988
- const E = T(), M = u.previous, N = u.currentConstruct, C = u.events.length, z = Array.from(a);
5988
+ const E = I(), M = u.previous, N = u.currentConstruct, C = u.events.length, z = Array.from(a);
5989
5989
  return {
5990
5990
  restore: F,
5991
5991
  from: C
@@ -6012,7 +6012,7 @@ function Nc(e, t) {
6012
6012
  }
6013
6013
  return l;
6014
6014
  }
6015
- function Tc(e, t) {
6015
+ function Ic(e, t) {
6016
6016
  let n = -1;
6017
6017
  const r = [];
6018
6018
  let i;
@@ -6054,7 +6054,7 @@ function Tc(e, t) {
6054
6054
  }
6055
6055
  return r.join("");
6056
6056
  }
6057
- const Ic = {
6057
+ const Tc = {
6058
6058
  42: fe,
6059
6059
  43: fe,
6060
6060
  45: fe,
@@ -6111,7 +6111,7 @@ const Ic = {
6111
6111
  attentionMarkers: Ac,
6112
6112
  contentInitial: kc,
6113
6113
  disable: Oc,
6114
- document: Ic,
6114
+ document: Tc,
6115
6115
  flow: jc,
6116
6116
  flowInitial: vc,
6117
6117
  insideSpan: Cc,
@@ -6262,7 +6262,7 @@ function Qc(e) {
6262
6262
  label: s,
6263
6263
  link: a(Mt),
6264
6264
  listItem: a(xt),
6265
- listItemValue: T,
6265
+ listItemValue: I,
6266
6266
  listOrdered: a(We, f),
6267
6267
  listUnordered: a(We),
6268
6268
  paragraph: a(ln),
@@ -6329,12 +6329,12 @@ function Qc(e) {
6329
6329
  const n = {};
6330
6330
  return r;
6331
6331
  function r(x) {
6332
- let I = {
6332
+ let T = {
6333
6333
  type: "root",
6334
6334
  children: []
6335
6335
  };
6336
6336
  const O = {
6337
- stack: [I],
6337
+ stack: [T],
6338
6338
  tokenStack: [],
6339
6339
  config: t,
6340
6340
  enter: u,
@@ -6369,7 +6369,7 @@ function Qc(e) {
6369
6369
  const ce = O.tokenStack[O.tokenStack.length - 1];
6370
6370
  (ce[1] || ui).call(O, void 0, ce[0]);
6371
6371
  }
6372
- for (I.position = {
6372
+ for (T.position = {
6373
6373
  start: Se(
6374
6374
  x.length > 0 ? x[0][1].start : {
6375
6375
  line: 1,
@@ -6385,11 +6385,11 @@ function Qc(e) {
6385
6385
  }
6386
6386
  )
6387
6387
  }, K = -1; ++K < t.transforms.length; )
6388
- I = t.transforms[K](I) || I;
6389
- return I;
6388
+ T = t.transforms[K](T) || T;
6389
+ return T;
6390
6390
  }
6391
- function i(x, I, O) {
6392
- let $ = I - 1, K = -1, ce = !1, Ne, ae, Ze, Ge;
6391
+ function i(x, T, O) {
6392
+ let $ = T - 1, K = -1, ce = !1, Ne, ae, Ze, Ge;
6393
6393
  for (; ++$ <= O; ) {
6394
6394
  const ie = x[$];
6395
6395
  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")) {
@@ -6418,18 +6418,18 @@ function Qc(e) {
6418
6418
  }, x.splice($, 0, ["enter", Ne, ie[2]]), $++, O++, Ze = void 0, Ge = !0);
6419
6419
  }
6420
6420
  }
6421
- return x[I][1]._spread = ce, O;
6421
+ return x[T][1]._spread = ce, O;
6422
6422
  }
6423
- function o(x, I) {
6424
- n[x] = I;
6423
+ function o(x, T) {
6424
+ n[x] = T;
6425
6425
  }
6426
6426
  function l(x) {
6427
6427
  return n[x];
6428
6428
  }
6429
- function a(x, I) {
6429
+ function a(x, T) {
6430
6430
  return O;
6431
6431
  function O($) {
6432
- u.call(this, x($), $), I && I.call(this, $);
6432
+ u.call(this, x($), $), T && T.call(this, $);
6433
6433
  }
6434
6434
  }
6435
6435
  function s() {
@@ -6438,21 +6438,21 @@ function Qc(e) {
6438
6438
  children: []
6439
6439
  });
6440
6440
  }
6441
- function u(x, I, O) {
6442
- return this.stack[this.stack.length - 1].children.push(x), this.stack.push(x), this.tokenStack.push([I, O]), x.position = {
6443
- start: Se(I.start)
6441
+ function u(x, T, O) {
6442
+ return this.stack[this.stack.length - 1].children.push(x), this.stack.push(x), this.tokenStack.push([T, O]), x.position = {
6443
+ start: Se(T.start)
6444
6444
  }, x;
6445
6445
  }
6446
6446
  function c(x) {
6447
- return I;
6448
- function I(O) {
6447
+ return T;
6448
+ function T(O) {
6449
6449
  x && x.call(this, O), p.call(this, O);
6450
6450
  }
6451
6451
  }
6452
- function p(x, I) {
6452
+ function p(x, T) {
6453
6453
  const O = this.stack.pop(), $ = this.tokenStack.pop();
6454
6454
  if ($)
6455
- $[0].type !== x.type && (I ? I.call(this, x, $[0]) : ($[1] || ui).call(this, x, $[0]));
6455
+ $[0].type !== x.type && (T ? T.call(this, x, $[0]) : ($[1] || ui).call(this, x, $[0]));
6456
6456
  else
6457
6457
  throw new Error(
6458
6458
  "Cannot close `" + x.type + "` (" + ot({
@@ -6468,102 +6468,102 @@ function Qc(e) {
6468
6468
  function f() {
6469
6469
  o("expectingFirstListItemValue", !0);
6470
6470
  }
6471
- function T(x) {
6471
+ function I(x) {
6472
6472
  if (l("expectingFirstListItemValue")) {
6473
- const I = this.stack[this.stack.length - 2];
6474
- I.start = Number.parseInt(this.sliceSerialize(x), 10), o("expectingFirstListItemValue");
6473
+ const T = this.stack[this.stack.length - 2];
6474
+ T.start = Number.parseInt(this.sliceSerialize(x), 10), o("expectingFirstListItemValue");
6475
6475
  }
6476
6476
  }
6477
6477
  function b() {
6478
- const x = this.resume(), I = this.stack[this.stack.length - 1];
6479
- I.lang = x;
6478
+ const x = this.resume(), T = this.stack[this.stack.length - 1];
6479
+ T.lang = x;
6480
6480
  }
6481
6481
  function S() {
6482
- const x = this.resume(), I = this.stack[this.stack.length - 1];
6483
- I.meta = x;
6482
+ const x = this.resume(), T = this.stack[this.stack.length - 1];
6483
+ T.meta = x;
6484
6484
  }
6485
6485
  function w() {
6486
6486
  l("flowCodeInside") || (this.buffer(), o("flowCodeInside", !0));
6487
6487
  }
6488
6488
  function v() {
6489
- const x = this.resume(), I = this.stack[this.stack.length - 1];
6490
- I.value = x.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g, ""), o("flowCodeInside");
6489
+ const x = this.resume(), T = this.stack[this.stack.length - 1];
6490
+ T.value = x.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g, ""), o("flowCodeInside");
6491
6491
  }
6492
6492
  function j() {
6493
- const x = this.resume(), I = this.stack[this.stack.length - 1];
6494
- I.value = x.replace(/(\r?\n|\r)$/g, "");
6493
+ const x = this.resume(), T = this.stack[this.stack.length - 1];
6494
+ T.value = x.replace(/(\r?\n|\r)$/g, "");
6495
6495
  }
6496
6496
  function B(x) {
6497
- const I = this.resume(), O = this.stack[this.stack.length - 1];
6498
- O.label = I, O.identifier = Qe(
6497
+ const T = this.resume(), O = this.stack[this.stack.length - 1];
6498
+ O.label = T, O.identifier = Qe(
6499
6499
  this.sliceSerialize(x)
6500
6500
  ).toLowerCase();
6501
6501
  }
6502
6502
  function _() {
6503
- const x = this.resume(), I = this.stack[this.stack.length - 1];
6504
- I.title = x;
6503
+ const x = this.resume(), T = this.stack[this.stack.length - 1];
6504
+ T.title = x;
6505
6505
  }
6506
6506
  function y() {
6507
- const x = this.resume(), I = this.stack[this.stack.length - 1];
6508
- I.url = x;
6507
+ const x = this.resume(), T = this.stack[this.stack.length - 1];
6508
+ T.url = x;
6509
6509
  }
6510
6510
  function A(x) {
6511
- const I = this.stack[this.stack.length - 1];
6512
- if (!I.depth) {
6511
+ const T = this.stack[this.stack.length - 1];
6512
+ if (!T.depth) {
6513
6513
  const O = this.sliceSerialize(x).length;
6514
- I.depth = O;
6514
+ T.depth = O;
6515
6515
  }
6516
6516
  }
6517
6517
  function U() {
6518
6518
  o("setextHeadingSlurpLineEnding", !0);
6519
6519
  }
6520
6520
  function Q(x) {
6521
- const I = this.stack[this.stack.length - 1];
6522
- I.depth = this.sliceSerialize(x).charCodeAt(0) === 61 ? 1 : 2;
6521
+ const T = this.stack[this.stack.length - 1];
6522
+ T.depth = this.sliceSerialize(x).charCodeAt(0) === 61 ? 1 : 2;
6523
6523
  }
6524
6524
  function q() {
6525
6525
  o("setextHeadingSlurpLineEnding");
6526
6526
  }
6527
6527
  function E(x) {
6528
- const I = this.stack[this.stack.length - 1];
6529
- let O = I.children[I.children.length - 1];
6528
+ const T = this.stack[this.stack.length - 1];
6529
+ let O = T.children[T.children.length - 1];
6530
6530
  (!O || O.type !== "text") && (O = bt(), O.position = {
6531
6531
  start: Se(x.start)
6532
- }, I.children.push(O)), this.stack.push(O);
6532
+ }, T.children.push(O)), this.stack.push(O);
6533
6533
  }
6534
6534
  function M(x) {
6535
- const I = this.stack.pop();
6536
- I.value += this.sliceSerialize(x), I.position.end = Se(x.end);
6535
+ const T = this.stack.pop();
6536
+ T.value += this.sliceSerialize(x), T.position.end = Se(x.end);
6537
6537
  }
6538
6538
  function N(x) {
6539
- const I = this.stack[this.stack.length - 1];
6539
+ const T = this.stack[this.stack.length - 1];
6540
6540
  if (l("atHardBreak")) {
6541
- const O = I.children[I.children.length - 1];
6541
+ const O = T.children[T.children.length - 1];
6542
6542
  O.position.end = Se(x.end), o("atHardBreak");
6543
6543
  return;
6544
6544
  }
6545
- !l("setextHeadingSlurpLineEnding") && t.canContainEols.includes(I.type) && (E.call(this, x), M.call(this, x));
6545
+ !l("setextHeadingSlurpLineEnding") && t.canContainEols.includes(T.type) && (E.call(this, x), M.call(this, x));
6546
6546
  }
6547
6547
  function C() {
6548
6548
  o("atHardBreak", !0);
6549
6549
  }
6550
6550
  function z() {
6551
- const x = this.resume(), I = this.stack[this.stack.length - 1];
6552
- I.value = x;
6551
+ const x = this.resume(), T = this.stack[this.stack.length - 1];
6552
+ T.value = x;
6553
6553
  }
6554
6554
  function F() {
6555
- const x = this.resume(), I = this.stack[this.stack.length - 1];
6556
- I.value = x;
6555
+ const x = this.resume(), T = this.stack[this.stack.length - 1];
6556
+ T.value = x;
6557
6557
  }
6558
6558
  function Y() {
6559
- const x = this.resume(), I = this.stack[this.stack.length - 1];
6560
- I.value = x;
6559
+ const x = this.resume(), T = this.stack[this.stack.length - 1];
6560
+ T.value = x;
6561
6561
  }
6562
6562
  function V() {
6563
6563
  const x = this.stack[this.stack.length - 1];
6564
6564
  if (l("inReference")) {
6565
- const I = l("referenceType") || "shortcut";
6566
- x.type += "Reference", x.referenceType = I, delete x.url, delete x.title;
6565
+ const T = l("referenceType") || "shortcut";
6566
+ x.type += "Reference", x.referenceType = T, delete x.url, delete x.title;
6567
6567
  } else
6568
6568
  delete x.identifier, delete x.label;
6569
6569
  o("referenceType");
@@ -6571,31 +6571,31 @@ function Qc(e) {
6571
6571
  function X() {
6572
6572
  const x = this.stack[this.stack.length - 1];
6573
6573
  if (l("inReference")) {
6574
- const I = l("referenceType") || "shortcut";
6575
- x.type += "Reference", x.referenceType = I, delete x.url, delete x.title;
6574
+ const T = l("referenceType") || "shortcut";
6575
+ x.type += "Reference", x.referenceType = T, delete x.url, delete x.title;
6576
6576
  } else
6577
6577
  delete x.identifier, delete x.label;
6578
6578
  o("referenceType");
6579
6579
  }
6580
6580
  function d(x) {
6581
- const I = this.sliceSerialize(x), O = this.stack[this.stack.length - 2];
6582
- O.label = _c(I), O.identifier = Qe(I).toLowerCase();
6581
+ const T = this.sliceSerialize(x), O = this.stack[this.stack.length - 2];
6582
+ O.label = _c(T), O.identifier = Qe(T).toLowerCase();
6583
6583
  }
6584
6584
  function ne() {
6585
- const x = this.stack[this.stack.length - 1], I = this.resume(), O = this.stack[this.stack.length - 1];
6585
+ const x = this.stack[this.stack.length - 1], T = this.resume(), O = this.stack[this.stack.length - 1];
6586
6586
  if (o("inReference", !0), O.type === "link") {
6587
6587
  const $ = x.children;
6588
6588
  O.children = $;
6589
6589
  } else
6590
- O.alt = I;
6590
+ O.alt = T;
6591
6591
  }
6592
6592
  function le() {
6593
- const x = this.resume(), I = this.stack[this.stack.length - 1];
6594
- I.url = x;
6593
+ const x = this.resume(), T = this.stack[this.stack.length - 1];
6594
+ T.url = x;
6595
6595
  }
6596
6596
  function h() {
6597
- const x = this.resume(), I = this.stack[this.stack.length - 1];
6598
- I.title = x;
6597
+ const x = this.resume(), T = this.stack[this.stack.length - 1];
6598
+ T.title = x;
6599
6599
  }
6600
6600
  function re() {
6601
6601
  o("inReference");
@@ -6604,8 +6604,8 @@ function Qc(e) {
6604
6604
  o("referenceType", "collapsed");
6605
6605
  }
6606
6606
  function W(x) {
6607
- const I = this.resume(), O = this.stack[this.stack.length - 1];
6608
- O.label = I, O.identifier = Qe(
6607
+ const T = this.resume(), O = this.stack[this.stack.length - 1];
6608
+ O.label = T, O.identifier = Qe(
6609
6609
  this.sliceSerialize(x)
6610
6610
  ).toLowerCase(), o("referenceType", "full");
6611
6611
  }
@@ -6613,24 +6613,24 @@ function Qc(e) {
6613
6613
  o("characterReferenceType", x.type);
6614
6614
  }
6615
6615
  function he(x) {
6616
- const I = this.sliceSerialize(x), O = l("characterReferenceType");
6616
+ const T = this.sliceSerialize(x), O = l("characterReferenceType");
6617
6617
  let $;
6618
6618
  O ? ($ = ko(
6619
- I,
6619
+ T,
6620
6620
  O === "characterReferenceMarkerNumeric" ? 10 : 16
6621
- ), o("characterReferenceType")) : $ = Xn(I);
6621
+ ), o("characterReferenceType")) : $ = Xn(T);
6622
6622
  const K = this.stack.pop();
6623
6623
  K.value += $, K.position.end = Se(x.end);
6624
6624
  }
6625
6625
  function ve(x) {
6626
6626
  M.call(this, x);
6627
- const I = this.stack[this.stack.length - 1];
6628
- I.url = this.sliceSerialize(x);
6627
+ const T = this.stack[this.stack.length - 1];
6628
+ T.url = this.sliceSerialize(x);
6629
6629
  }
6630
6630
  function Ee(x) {
6631
6631
  M.call(this, x);
6632
- const I = this.stack[this.stack.length - 1];
6633
- I.url = "mailto:" + this.sliceSerialize(x);
6632
+ const T = this.stack[this.stack.length - 1];
6633
+ T.url = "mailto:" + this.sliceSerialize(x);
6634
6634
  }
6635
6635
  function Ve() {
6636
6636
  return {
@@ -7119,8 +7119,8 @@ function fp(e, t, n) {
7119
7119
  for (; ++s < a; ) {
7120
7120
  const p = t.children[s], m = {}, f = l ? l[s] : void 0;
7121
7121
  f && (m.align = f);
7122
- let T = { type: "element", tagName: o, properties: m, children: [] };
7123
- p && (T.children = e.all(p), e.patch(p, T), T = e.applyData(t, T)), u.push(T);
7122
+ let I = { type: "element", tagName: o, properties: m, children: [] };
7123
+ p && (I.children = e.all(p), e.patch(p, I), I = e.applyData(t, I)), u.push(I);
7124
7124
  }
7125
7125
  const c = {
7126
7126
  type: "element",
@@ -7204,12 +7204,12 @@ const yp = {
7204
7204
  tableRow: fp,
7205
7205
  text: gp,
7206
7206
  thematicBreak: mp,
7207
- toml: It,
7208
- yaml: It,
7209
- definition: It,
7210
- footnoteDefinition: It
7207
+ toml: Tt,
7208
+ yaml: Tt,
7209
+ definition: Tt,
7210
+ footnoteDefinition: Tt
7211
7211
  };
7212
- function It() {
7212
+ function Tt() {
7213
7213
  return null;
7214
7214
  }
7215
7215
  const Oo = (
@@ -7274,7 +7274,7 @@ function Ht(e) {
7274
7274
  function wp() {
7275
7275
  return !0;
7276
7276
  }
7277
- const Dp = !0, fi = !1, Np = "skip", Tp = (
7277
+ const Dp = !0, fi = !1, Np = "skip", Ip = (
7278
7278
  /**
7279
7279
  * @type {(
7280
7280
  * (<Tree extends Node, Check extends Test>(tree: Tree, test: Check, visitor: BuildVisitor<Tree, Check>, reverse?: boolean | null | undefined) => void) &
@@ -7308,21 +7308,21 @@ const Dp = !0, fi = !1, Np = "skip", Tp = (
7308
7308
  }
7309
7309
  return p;
7310
7310
  function p() {
7311
- let m = [], f, T, b;
7312
- if ((!t || i(a, s, u[u.length - 1] || null)) && (m = Ip(n(a, u)), m[0] === fi))
7311
+ let m = [], f, I, b;
7312
+ if ((!t || i(a, s, u[u.length - 1] || null)) && (m = Tp(n(a, u)), m[0] === fi))
7313
7313
  return m;
7314
7314
  if (a.children && m[0] !== Np)
7315
- for (T = (r ? a.children.length : -1) + o, b = u.concat(a); T > -1 && T < a.children.length; ) {
7316
- if (f = l(a.children[T], T, b)(), f[0] === fi)
7315
+ for (I = (r ? a.children.length : -1) + o, b = u.concat(a); I > -1 && I < a.children.length; ) {
7316
+ if (f = l(a.children[I], I, b)(), f[0] === fi)
7317
7317
  return f;
7318
- T = typeof f[1] == "number" ? f[1] : T + o;
7318
+ I = typeof f[1] == "number" ? f[1] : I + o;
7319
7319
  }
7320
7320
  return m;
7321
7321
  }
7322
7322
  }
7323
7323
  }
7324
7324
  );
7325
- function Ip(e) {
7325
+ function Tp(e) {
7326
7326
  return Array.isArray(e) ? e : typeof e == "number" ? [Dp, e] : [e];
7327
7327
  }
7328
7328
  const tr = (
@@ -7340,7 +7340,7 @@ const tr = (
7340
7340
  * @returns {void}
7341
7341
  */
7342
7342
  function(e, t, n, r) {
7343
- typeof t == "function" && typeof n != "function" && (r = n, n = t, t = null), Tp(e, t, i, r);
7343
+ typeof t == "function" && typeof n != "function" && (r = n, n = t, t = null), Ip(e, t, i, r);
7344
7344
  function i(o, l) {
7345
7345
  const a = l[l.length - 1];
7346
7346
  return n(
@@ -8857,31 +8857,31 @@ var lr = { exports: {} }, Mi = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, rf = /\n/g, of
8857
8857
  return [];
8858
8858
  t = t || {};
8859
8859
  var n = 1, r = 1;
8860
- function i(T) {
8861
- var b = T.match(rf);
8860
+ function i(I) {
8861
+ var b = I.match(rf);
8862
8862
  b && (n += b.length);
8863
- var S = T.lastIndexOf(pf);
8864
- r = ~S ? T.length - S : r + T.length;
8863
+ var S = I.lastIndexOf(pf);
8864
+ r = ~S ? I.length - S : r + I.length;
8865
8865
  }
8866
8866
  function o() {
8867
- var T = { line: n, column: r };
8867
+ var I = { line: n, column: r };
8868
8868
  return function(b) {
8869
- return b.position = new l(T), u(), b;
8869
+ return b.position = new l(I), u(), b;
8870
8870
  };
8871
8871
  }
8872
- function l(T) {
8873
- this.start = T, this.end = { line: n, column: r }, this.source = t.source;
8872
+ function l(I) {
8873
+ this.start = I, this.end = { line: n, column: r }, this.source = t.source;
8874
8874
  }
8875
8875
  l.prototype.content = e;
8876
- function a(T) {
8876
+ function a(I) {
8877
8877
  var b = new Error(
8878
- t.source + ":" + n + ":" + r + ": " + T
8878
+ t.source + ":" + n + ":" + r + ": " + I
8879
8879
  );
8880
- if (b.reason = T, b.filename = t.source, b.line = n, b.column = r, b.source = e, !t.silent)
8880
+ if (b.reason = I, b.filename = t.source, b.line = n, b.column = r, b.source = e, !t.silent)
8881
8881
  throw b;
8882
8882
  }
8883
- function s(T) {
8884
- var b = T.exec(e);
8883
+ function s(I) {
8884
+ var b = I.exec(e);
8885
8885
  if (b) {
8886
8886
  var S = b[0];
8887
8887
  return i(S), e = e.slice(S.length), b;
@@ -8890,32 +8890,32 @@ var lr = { exports: {} }, Mi = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, rf = /\n/g, of
8890
8890
  function u() {
8891
8891
  s(of);
8892
8892
  }
8893
- function c(T) {
8893
+ function c(I) {
8894
8894
  var b;
8895
- for (T = T || []; b = p(); )
8896
- b !== !1 && T.push(b);
8897
- return T;
8895
+ for (I = I || []; b = p(); )
8896
+ b !== !1 && I.push(b);
8897
+ return I;
8898
8898
  }
8899
8899
  function p() {
8900
- var T = o();
8900
+ var I = o();
8901
8901
  if (!(xi != e.charAt(0) || bi != e.charAt(1))) {
8902
8902
  for (var b = 2; Fe != e.charAt(b) && (bi != e.charAt(b) || xi != e.charAt(b + 1)); )
8903
8903
  ++b;
8904
8904
  if (b += 2, Fe === e.charAt(b - 1))
8905
8905
  return a("End of comment missing");
8906
8906
  var S = e.slice(2, b - 2);
8907
- return r += 2, i(S), e = e.slice(b), r += 2, T({
8907
+ return r += 2, i(S), e = e.slice(b), r += 2, I({
8908
8908
  type: ff,
8909
8909
  comment: S
8910
8910
  });
8911
8911
  }
8912
8912
  }
8913
8913
  function m() {
8914
- var T = o(), b = s(lf);
8914
+ var I = o(), b = s(lf);
8915
8915
  if (b) {
8916
8916
  if (p(), !s(af))
8917
8917
  return a("property missing ':'");
8918
- var S = s(uf), w = T({
8918
+ var S = s(uf), w = I({
8919
8919
  type: df,
8920
8920
  property: wi(b[0].replace(Mi, Fe)),
8921
8921
  value: S ? wi(S[0].replace(Mi, Fe)) : Fe
@@ -8924,11 +8924,11 @@ var lr = { exports: {} }, Mi = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, rf = /\n/g, of
8924
8924
  }
8925
8925
  }
8926
8926
  function f() {
8927
- var T = [];
8928
- c(T);
8927
+ var I = [];
8928
+ c(I);
8929
8929
  for (var b; b = m(); )
8930
- b !== !1 && (T.push(b), c(T));
8931
- return T;
8930
+ b !== !1 && (I.push(b), c(I));
8931
+ return I;
8932
8932
  }
8933
8933
  return u(), f();
8934
8934
  };
@@ -8967,7 +8967,7 @@ function xf(e, t, n, r) {
8967
8967
  const m = t.position || {
8968
8968
  start: { line: null, column: null, offset: null },
8969
8969
  end: { line: null, column: null, offset: null }
8970
- }, f = i.components && _n.call(i.components, a) ? i.components[a] : a, T = typeof f == "string" || f === ue.Fragment;
8970
+ }, f = i.components && _n.call(i.components, a) ? i.components[a] : a, I = typeof f == "string" || f === ue.Fragment;
8971
8971
  if (!Jp.isValidElementType(f))
8972
8972
  throw new TypeError(
8973
8973
  `Component for name \`${a}\` not defined or is not renderable`
@@ -8980,15 +8980,15 @@ function xf(e, t, n, r) {
8980
8980
  String(s.href || ""),
8981
8981
  t.children,
8982
8982
  typeof s.title == "string" ? s.title : null
8983
- )), !T && a === "code" && r.type === "element" && r.tagName !== "pre" && (s.inline = !0), !T && (a === "h1" || a === "h2" || a === "h3" || a === "h4" || a === "h5" || a === "h6") && (s.level = Number.parseInt(a.charAt(1), 10)), a === "img" && i.transformImageUri && (s.src = i.transformImageUri(
8983
+ )), !I && a === "code" && r.type === "element" && r.tagName !== "pre" && (s.inline = !0), !I && (a === "h1" || a === "h2" || a === "h3" || a === "h4" || a === "h5" || a === "h6") && (s.level = Number.parseInt(a.charAt(1), 10)), a === "img" && i.transformImageUri && (s.src = i.transformImageUri(
8984
8984
  String(s.src || ""),
8985
8985
  String(s.alt || ""),
8986
8986
  typeof s.title == "string" ? s.title : null
8987
- )), !T && a === "li" && r.type === "element") {
8987
+ )), !I && a === "li" && r.type === "element") {
8988
8988
  const b = bf(t);
8989
8989
  s.checked = b && b.properties ? !!b.properties.checked : null, s.index = bn(r, t), s.ordered = r.tagName === "ol";
8990
8990
  }
8991
- return !T && (a === "ol" || a === "ul") && (s.ordered = a === "ol", s.depth = e.listDepth), (a === "td" || a === "th") && (s.align && (s.style || (s.style = {}), s.style.textAlign = s.align, delete s.align), T || (s.isHeader = a === "th")), !T && a === "tr" && r.type === "element" && (s.isHeader = r.tagName === "thead"), i.sourcePos && (s["data-sourcepos"] = Tf(m)), !T && i.rawSourcePos && (s.sourcePosition = t.position), !T && i.includeElementIndex && (s.index = bn(r, t), s.siblingCount = bn(r)), T || (s.node = t), p.length > 0 ? ue.createElement(f, s, p) : ue.createElement(f, s);
8991
+ 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"] = If(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);
8992
8992
  }
8993
8993
  function bf(e) {
8994
8994
  let t = -1;
@@ -9025,7 +9025,7 @@ function Df(e) {
9025
9025
  function Nf(e, t) {
9026
9026
  return t.toUpperCase();
9027
9027
  }
9028
- function Tf(e) {
9028
+ function If(e) {
9029
9029
  return [
9030
9030
  e.start.line,
9031
9031
  ":",
@@ -9036,7 +9036,7 @@ function Tf(e) {
9036
9036
  e.end.column
9037
9037
  ].map(String).join("");
9038
9038
  }
9039
- const Di = {}.hasOwnProperty, If = "https://github.com/remarkjs/react-markdown/blob/main/changelog.md", kt = {
9039
+ const Di = {}.hasOwnProperty, Tf = "https://github.com/remarkjs/react-markdown/blob/main/changelog.md", kt = {
9040
9040
  plugins: { to: "remarkPlugins", id: "change-plugins-to-remarkplugins" },
9041
9041
  renderers: { to: "components", id: "change-renderers-to-components" },
9042
9042
  astPlugins: { id: "remove-buggy-html-in-markdown-parser" },
@@ -9065,7 +9065,7 @@ function Wo(e) {
9065
9065
  if (Di.call(kt, o) && Di.call(e, o)) {
9066
9066
  const l = kt[o];
9067
9067
  console.warn(
9068
- `[react-markdown] Warning: please ${l.to ? `use \`${l.to}\` instead of` : "remove"} \`${o}\` (see <${If}#${l.id}> for more info)`
9068
+ `[react-markdown] Warning: please ${l.to ? `use \`${l.to}\` instead of` : "remove"} \`${o}\` (see <${Tf}#${l.id}> for more info)`
9069
9069
  ), delete kt[o];
9070
9070
  }
9071
9071
  const t = Lu().use(Hc).use(e.remarkPlugins || []).use(Lp, {
@@ -9243,30 +9243,38 @@ ar.propTypes = {
9243
9243
  messageRef: g.shape({ current: g.instanceOf(Element) })
9244
9244
  };
9245
9245
  ar.displayName = "AssistantMessageBubble";
9246
- const Ef = ar, ur = ({ configurations: e }) => /* @__PURE__ */ D.jsxs(
9247
- "div",
9248
- {
9249
- role: "alert",
9250
- "aria-live": "assertive",
9251
- className: "xpert-chatbot-popup__conversations_disclaimer--text",
9252
- children: [
9253
- /* @__PURE__ */ D.jsx("span", { children: e.disclaimerText }),
9254
- /* @__PURE__ */ D.jsxs("span", { style: { marginLeft: "0.1875rem" }, children: [
9255
- /* @__PURE__ */ D.jsx(
9256
- "a",
9257
- {
9258
- href: e.privacyPolicyLink,
9259
- target: "_blank",
9260
- rel: "noopener noreferrer",
9261
- className: "xpert-chatbot-popup__conversations_disclaimer--text__link",
9262
- children: "privacy policy"
9263
- }
9264
- ),
9265
- "."
9266
- ] })
9267
- ]
9268
- }
9269
- );
9246
+ const Ef = ar, ur = ({ configurations: e }) => {
9247
+ const t = Ae(null);
9248
+ return ye(() => {
9249
+ var n;
9250
+ (n = t == null ? void 0 : t.current) == null || n.focus();
9251
+ }, []), /* @__PURE__ */ D.jsxs(
9252
+ "div",
9253
+ {
9254
+ ref: t,
9255
+ tabIndex: -1,
9256
+ role: "alert",
9257
+ "aria-live": "assertive",
9258
+ className: "xpert-chatbot-popup__conversations_disclaimer--text",
9259
+ children: [
9260
+ /* @__PURE__ */ D.jsx("span", { children: e.disclaimerText }),
9261
+ /* @__PURE__ */ D.jsxs("span", { style: { marginLeft: "0.1875rem" }, children: [
9262
+ /* @__PURE__ */ D.jsx(
9263
+ "a",
9264
+ {
9265
+ href: e.privacyPolicyLink,
9266
+ target: "_blank",
9267
+ rel: "noopener noreferrer",
9268
+ className: "xpert-chatbot-popup__conversations_disclaimer--text__link",
9269
+ children: "privacy policy"
9270
+ }
9271
+ ),
9272
+ "."
9273
+ ] })
9274
+ ]
9275
+ }
9276
+ );
9277
+ };
9270
9278
  ur.propTypes = {
9271
9279
  configurations: g.shape({
9272
9280
  disclaimerText: g.string.isRequired,
@@ -9518,11 +9526,7 @@ function Ko({
9518
9526
  onClose: r,
9519
9527
  isMounted: i
9520
9528
  }) {
9521
- const o = Ae(null);
9522
- return ye(() => {
9523
- var l;
9524
- (l = o == null ? void 0 : o.current) == null || l.focus();
9525
- }, []), /* @__PURE__ */ D.jsxs(D.Fragment, { children: [
9529
+ return /* @__PURE__ */ D.jsxs(D.Fragment, { children: [
9526
9530
  /* @__PURE__ */ D.jsx(
9527
9531
  "div",
9528
9532
  {
@@ -9548,7 +9552,6 @@ function Ko({
9548
9552
  /* @__PURE__ */ D.jsx(
9549
9553
  "button",
9550
9554
  {
9551
- ref: o,
9552
9555
  style: {
9553
9556
  backgroundColor: "transparent",
9554
9557
  border: "none",
@@ -9818,7 +9821,7 @@ function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
9818
9821
  cookieNamePrefix: p,
9819
9822
  proactiveMessagePrefix: m,
9820
9823
  proactiveMessage: f,
9821
- disableDisclaimerPage: T,
9824
+ disableDisclaimerPage: I,
9822
9825
  conversationHistory: b
9823
9826
  } = i, S = pt(Qf), [, w] = pe(!1), [v, j] = pe(Yf), [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 = Ae(null), h = Ae(null), re = Ae(null), te = De.get(`${p}-test`) === "1", W = at(
9824
9827
  ({ name: L, payload: x }) => {
@@ -9853,9 +9856,9 @@ function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
9853
9856
  }
9854
9857
  if (!x.ok)
9855
9858
  throw new Error(`HTTPError: ${x.status} ${x.statusText}`);
9856
- const I = await x.json();
9859
+ const T = await x.json();
9857
9860
  j(
9858
- I.map((O) => ({
9861
+ T.map((O) => ({
9859
9862
  ...O,
9860
9863
  disableFeedback: !0
9861
9864
  }))
@@ -9883,14 +9886,14 @@ function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
9883
9886
  console.log("Chatbot - unmount"), clearInterval(L), clearTimeout(x);
9884
9887
  };
9885
9888
  }, [u, s]), ye(() => {
9886
- const L = (I) => {
9889
+ const L = (T) => {
9887
9890
  var O, $;
9888
- (O = I == null ? void 0 : I.target) != null && O.href && W({
9891
+ (O = T == null ? void 0 : T.target) != null && O.href && W({
9889
9892
  name: `${s}.bi.xpert.chatbot.popup.chat.message.link.clicked`,
9890
9893
  payload: {
9891
9894
  category: "2u",
9892
9895
  label: "xpert-chatbot",
9893
- link: ($ = I == null ? void 0 : I.target) == null ? void 0 : $.href,
9896
+ link: ($ = T == null ? void 0 : T.target) == null ? void 0 : $.href,
9894
9897
  isTestUser: te
9895
9898
  }
9896
9899
  });
@@ -9937,7 +9940,7 @@ function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
9937
9940
  }, Ve = ({
9938
9941
  conversationSize: L,
9939
9942
  userInputMessage: x,
9940
- apiResponseMessage: I,
9943
+ apiResponseMessage: T,
9941
9944
  elapsedSeconds: O
9942
9945
  }) => {
9943
9946
  W({
@@ -9948,7 +9951,7 @@ function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
9948
9951
  isTestUser: te,
9949
9952
  conversationSize: L,
9950
9953
  userInputMessage: x,
9951
- apiResponseMessage: I,
9954
+ apiResponseMessage: T,
9952
9955
  elapsedSeconds: O
9953
9956
  }
9954
9957
  });
@@ -9962,13 +9965,13 @@ function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
9962
9965
  return;
9963
9966
  const x = /* @__PURE__ */ new Date();
9964
9967
  z(!1);
9965
- const I = v.filter((ae) => ae.role === "user").length + 1;
9968
+ const T = v.filter((ae) => ae.role === "user").length + 1;
9966
9969
  W({
9967
9970
  name: `${s}.bi.xpert.chatbot.popup.chat.message.sent`,
9968
9971
  payload: {
9969
9972
  category: "2u",
9970
9973
  label: "xpert-chatbot",
9971
- totalUserInputMessagesSent: I,
9974
+ totalUserInputMessagesSent: T,
9972
9975
  userInputMessage: L,
9973
9976
  isTestUser: te
9974
9977
  }
@@ -10102,7 +10105,7 @@ function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
10102
10105
  }, ln = (L) => {
10103
10106
  L.key === "Enter" && q.trim() === "" || L.key === "Enter" && !L.shiftKey && (L.preventDefault(), Le(q));
10104
10107
  }, an = (L, x = "") => {
10105
- const I = v.map((O, $) => L === $ ? (W({
10108
+ const T = v.map((O, $) => L === $ ? (W({
10106
10109
  name: `${s}.bi.xpert.chatbot.feedback.thumbs.${x.toLowerCase()}.clicked`,
10107
10110
  payload: {
10108
10111
  category: "2u",
@@ -10116,7 +10119,7 @@ function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
10116
10119
  ...O,
10117
10120
  feedbackThumbType: x
10118
10121
  }) : O);
10119
- j(I), ne(!1);
10122
+ j(T), ne(!1);
10120
10123
  };
10121
10124
  return (
10122
10125
  // do not remove this class as it's needed to turn off chatbot
@@ -10175,7 +10178,7 @@ function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
10175
10178
  style: { display: "flex", flexDirection: "column", height: "100%" },
10176
10179
  "aria-label": "XPERT Chatbot Popup",
10177
10180
  role: "dialog",
10178
- children: M || T || v.length > 0 ? /* @__PURE__ */ D.jsxs(D.Fragment, { children: [
10181
+ children: M || I || v.length > 0 ? /* @__PURE__ */ D.jsxs(D.Fragment, { children: [
10179
10182
  /* @__PURE__ */ D.jsx(
10180
10183
  Jo,
10181
10184
  {
@@ -10196,7 +10199,7 @@ function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
10196
10199
  isNormalSize: S || F,
10197
10200
  onFeedbackThumbSelection: an,
10198
10201
  onPromptClick: Le,
10199
- showDisclaimerText: T,
10202
+ showDisclaimerText: I,
10200
10203
  configurations: i
10201
10204
  }
10202
10205
  ),