@2uinc/frontend-component-xpert-chatbot 1.35.8-beta.3 → 1.35.8-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 +541 -546
  2. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import Et, { createContext as Gr, useState as de, useCallback as pt, useEffect as ke, useMemo as sr, useRef as Je, useContext as se, forwardRef as As, createElement as Za, useLayoutEffect as T0, Fragment as y0, StrictMode as _0 } from "react";
1
+ import Et, { createContext as Gr, useState as de, useCallback as pt, useEffect as Pe, useMemo as sr, useRef as Ze, useContext as se, forwardRef as As, createElement as Za, useLayoutEffect as T0, Fragment as y0, StrictMode as _0 } from "react";
2
2
  import C0, { render as A0 } from "react-dom";
3
3
  var Cr = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
4
4
  function Lt(e) {
@@ -243,8 +243,8 @@ Kn.exports;
243
243
  var xu;
244
244
  function L0() {
245
245
  return xu || (xu = 1, function(e, t) {
246
- var n = 200, r = "__lodash_hash_undefined__", a = 800, i = 16, u = 9007199254740991, s = "[object Arguments]", l = "[object Array]", c = "[object AsyncFunction]", d = "[object Boolean]", h = "[object Date]", p = "[object Error]", f = "[object Function]", b = "[object GeneratorFunction]", m = "[object Map]", _ = "[object Number]", g = "[object Null]", w = "[object Object]", M = "[object Proxy]", K = "[object RegExp]", R = "[object Set]", y = "[object String]", N = "[object Undefined]", G = "[object WeakMap]", F = "[object ArrayBuffer]", te = "[object DataView]", z = "[object Float32Array]", V = "[object Float64Array]", L = "[object Int8Array]", I = "[object Int16Array]", D = "[object Int32Array]", U = "[object Uint8Array]", W = "[object Uint8ClampedArray]", j = "[object Uint16Array]", Y = "[object Uint32Array]", T = /[\\^$.*+?()[\]{}|]/g, ne = /^\[object .+?Constructor\]$/, oe = /^(?:0|[1-9]\d*)$/, S = {};
247
- S[z] = S[V] = S[L] = S[I] = S[D] = S[U] = S[W] = S[j] = S[Y] = !0, S[s] = S[l] = S[F] = S[d] = S[te] = S[h] = S[p] = S[f] = S[m] = S[_] = S[w] = S[K] = S[R] = S[y] = S[G] = !1;
246
+ var n = 200, r = "__lodash_hash_undefined__", a = 800, i = 16, u = 9007199254740991, s = "[object Arguments]", l = "[object Array]", c = "[object AsyncFunction]", d = "[object Boolean]", h = "[object Date]", p = "[object Error]", f = "[object Function]", b = "[object GeneratorFunction]", m = "[object Map]", _ = "[object Number]", g = "[object Null]", w = "[object Object]", M = "[object Proxy]", K = "[object RegExp]", D = "[object Set]", y = "[object String]", N = "[object Undefined]", G = "[object WeakMap]", F = "[object ArrayBuffer]", te = "[object DataView]", z = "[object Float32Array]", V = "[object Float64Array]", L = "[object Int8Array]", I = "[object Int16Array]", R = "[object Int32Array]", U = "[object Uint8Array]", W = "[object Uint8ClampedArray]", j = "[object Uint16Array]", Y = "[object Uint32Array]", T = /[\\^$.*+?()[\]{}|]/g, ne = /^\[object .+?Constructor\]$/, oe = /^(?:0|[1-9]\d*)$/, S = {};
247
+ S[z] = S[V] = S[L] = S[I] = S[R] = S[U] = S[W] = S[j] = S[Y] = !0, S[s] = S[l] = S[F] = S[d] = S[te] = S[h] = S[p] = S[f] = S[m] = S[_] = S[w] = S[K] = S[D] = S[y] = S[G] = !1;
248
248
  var le = typeof Cr == "object" && Cr && Cr.Object === Object && Cr, _e = typeof self == "object" && self && self.Object === Object && self, me = le || _e || Function("return this")(), Ce = t && !t.nodeType && t, Oe = Ce && !0 && e && !e.nodeType && e, Ue = Oe && Oe.exports === Ce, Ie = Ue && le.process, Ke = function() {
249
249
  try {
250
250
  var A = Oe && Oe.require && Oe.require("util").types;
@@ -283,14 +283,14 @@ function L0() {
283
283
  return A(k(H));
284
284
  };
285
285
  }
286
- var bn = Array.prototype, Bn = Function.prototype, Rt = Object.prototype, Pt = me["__core-js_shared__"], zt = Bn.toString, st = Rt.hasOwnProperty, Kt = function() {
286
+ var bn = Array.prototype, Bn = Function.prototype, Dt = Object.prototype, Pt = me["__core-js_shared__"], zt = Bn.toString, st = Dt.hasOwnProperty, Kt = function() {
287
287
  var A = /[^.]+$/.exec(Pt && Pt.keys && Pt.keys.IE_PROTO || "");
288
288
  return A ? "Symbol(src)_1." + A : "";
289
- }(), Qt = Rt.toString, En = zt.call(Object), $ = RegExp(
289
+ }(), Qt = Dt.toString, En = zt.call(Object), $ = RegExp(
290
290
  "^" + zt.call(st).replace(T, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
291
291
  ), B = Ue ? me.Buffer : void 0, re = me.Symbol, ie = me.Uint8Array;
292
292
  B && B.allocUnsafe;
293
- var ae = gn(Object.getPrototypeOf, Object), ge = Object.create, ve = Rt.propertyIsEnumerable, Te = bn.splice, Le = re ? re.toStringTag : void 0, qe = function() {
293
+ var ae = gn(Object.getPrototypeOf, Object), ge = Object.create, ve = Dt.propertyIsEnumerable, Te = bn.splice, ke = re ? re.toStringTag : void 0, qe = function() {
294
294
  try {
295
295
  var A = la(Object, "defineProperty");
296
296
  return A({}, "", {}), A;
@@ -390,14 +390,14 @@ function L0() {
390
390
  function wd(A) {
391
391
  return yr(this, A).get(A);
392
392
  }
393
- function Dd(A) {
393
+ function Rd(A) {
394
394
  return yr(this, A).has(A);
395
395
  }
396
- function Rd(A, k) {
396
+ function Dd(A, k) {
397
397
  var H = yr(this, A), ue = H.size;
398
398
  return H.set(A, k), this.size += H.size == ue ? 0 : 1, this;
399
399
  }
400
- Tn.prototype.clear = kd, Tn.prototype.delete = Ld, Tn.prototype.get = wd, Tn.prototype.has = Dd, Tn.prototype.set = Rd;
400
+ Tn.prototype.clear = kd, Tn.prototype.delete = Ld, Tn.prototype.get = wd, Tn.prototype.has = Rd, Tn.prototype.set = Dd;
401
401
  function yn(A) {
402
402
  var k = this.__data__ = new Ft(A);
403
403
  this.size = k.size;
@@ -459,7 +459,7 @@ function L0() {
459
459
  }
460
460
  var qd = t0();
461
461
  function Tr(A) {
462
- return A == null ? A === void 0 ? N : g : Le && Le in Object(A) ? n0(A) : s0(A);
462
+ return A == null ? A === void 0 ? N : g : ke && ke in Object(A) ? n0(A) : s0(A);
463
463
  }
464
464
  function lu(A) {
465
465
  return Hn(A) && Tr(A) == s;
@@ -570,14 +570,14 @@ function L0() {
570
570
  return zd(H) ? H : void 0;
571
571
  }
572
572
  function n0(A) {
573
- var k = st.call(A, Le), H = A[Le];
573
+ var k = st.call(A, ke), H = A[ke];
574
574
  try {
575
- A[Le] = void 0;
575
+ A[ke] = void 0;
576
576
  var ue = !0;
577
577
  } catch {
578
578
  }
579
579
  var ye = Qt.call(A);
580
- return ue && (k ? A[Le] = H : delete A[Le]), ye;
580
+ return ue && (k ? A[ke] = H : delete A[ke]), ye;
581
581
  }
582
582
  function r0(A) {
583
583
  return typeof A.constructor == "function" && !fu(A) ? su(ae(A)) : {};
@@ -600,7 +600,7 @@ function L0() {
600
600
  return !!Kt && Kt in A;
601
601
  }
602
602
  function fu(A) {
603
- var k = A && A.constructor, H = typeof k == "function" && k.prototype || Rt;
603
+ var k = A && A.constructor, H = typeof k == "function" && k.prototype || Dt;
604
604
  return A === H;
605
605
  }
606
606
  function o0(A) {
@@ -718,7 +718,7 @@ function L0() {
718
718
  }(Kn, Kn.exports)), Kn.exports;
719
719
  }
720
720
  var w0 = L0();
721
- const vs = /* @__PURE__ */ Lt(w0), D0 = {
721
+ const vs = /* @__PURE__ */ Lt(w0), R0 = {
722
722
  id: "degrees-canvas-support",
723
723
  chatApi: {
724
724
  endpoint: "https://xpert-platform-services-api.prod.ai.2u.com/xpert/omnichannel",
@@ -835,7 +835,7 @@ const vs = /* @__PURE__ */ Lt(w0), D0 = {
835
835
  useOwnChat: !1
836
836
  }
837
837
  }
838
- }, R0 = {
838
+ }, D0 = {
839
839
  id: "degrees-moodle-support",
840
840
  chatApi: {
841
841
  endpoint: "https://xpert-platform-services-api.prod.ai.2u.com/xpert/omnichannel",
@@ -1421,8 +1421,8 @@ const vs = /* @__PURE__ */ Lt(w0), D0 = {
1421
1421
  }
1422
1422
  }
1423
1423
  }, U0 = {
1424
- "degrees-canvas-support": D0,
1425
- "degrees-moodle-support": R0,
1424
+ "degrees-canvas-support": R0,
1425
+ "degrees-moodle-support": D0,
1426
1426
  edx: P0,
1427
1427
  "edx-global-support": M0,
1428
1428
  "exec-ed-ss-olc-moodle": F0,
@@ -1471,7 +1471,7 @@ const vs = /* @__PURE__ */ Lt(w0), D0 = {
1471
1471
  u(!0);
1472
1472
  }
1473
1473
  }, [t, r]);
1474
- ke(() => {
1474
+ Pe(() => {
1475
1475
  c();
1476
1476
  }, [c]);
1477
1477
  const d = sr(
@@ -1616,7 +1616,7 @@ const wt = Gr({}), Is = x.shape({
1616
1616
  onFeedbackSelection: r,
1617
1617
  onMessageSent: a
1618
1618
  }) => {
1619
- const i = Je(null), { id: u } = se(je), [s, l] = de(null), [c, d] = de(!1), [h, p] = de([]), f = pt(() => {
1619
+ const i = Ze(null), { id: u } = se(je), [s, l] = de(null), [c, d] = de(!1), [h, p] = de([]), f = pt(() => {
1620
1620
  l(null), d(!1), p([]), rt.remove(`${u}-conversation-history-id`);
1621
1621
  }, [u, l]), m = {
1622
1622
  contentRef: i,
@@ -1645,7 +1645,7 @@ const vu = 991, q0 = () => {
1645
1645
  const [e, t] = de(
1646
1646
  window.innerWidth < vu
1647
1647
  );
1648
- return ke(() => {
1648
+ return Pe(() => {
1649
1649
  const n = () => {
1650
1650
  t(window.innerWidth < vu);
1651
1651
  };
@@ -1654,7 +1654,7 @@ const vu = 991, q0 = () => {
1654
1654
  }, It = {
1655
1655
  LIVECHAT: "LIVECHAT",
1656
1656
  XPERT: "XPERT"
1657
- }, Ze = Gr({}), ks = ({ children: e }) => {
1657
+ }, Je = Gr({}), ks = ({ children: e }) => {
1658
1658
  const [t, n] = de(!1), [r, a] = de(!1), [i, u] = de(!1), [s, l] = de(!0), [c, d] = de(!1), [h, p] = de(!1), [f, b] = de(It.XPERT), m = q0(), _ = {
1659
1659
  disabledScroll: t,
1660
1660
  hasError: r,
@@ -1672,7 +1672,7 @@ const vu = 991, q0 = () => {
1672
1672
  setStreaming: p,
1673
1673
  setMode: b
1674
1674
  };
1675
- return /* @__PURE__ */ v.jsx(Ze.Provider, { value: _, children: e });
1675
+ return /* @__PURE__ */ v.jsx(Je.Provider, { value: _, children: e });
1676
1676
  };
1677
1677
  ks.propTypes = {
1678
1678
  children: x.element.isRequired
@@ -1726,7 +1726,7 @@ function xi({
1726
1726
  children: a,
1727
1727
  ...i
1728
1728
  }) {
1729
- const { isMobile: u } = se(Ze);
1729
+ const { isMobile: u } = se(Je);
1730
1730
  return /* @__PURE__ */ v.jsx(
1731
1731
  "button",
1732
1732
  {
@@ -1760,12 +1760,12 @@ eyes follow your mouse when you hover near it.`, ws = ({
1760
1760
  handleFloatingActionButtonClick: e = null
1761
1761
  }) => {
1762
1762
  var f, b, m, _;
1763
- const { id: t, launchButton: n } = se(je), { isMobile: r } = se(Ze), a = !rt.get(
1763
+ const { id: t, launchButton: n } = se(je), { isMobile: r } = se(Je), a = !rt.get(
1764
1764
  `${t}-proactive-message-xpert-chatbot`
1765
- ), i = Je(null), u = Je(!1), s = a ? (f = n == null ? void 0 : n.animatedGraduate) == null ? void 0 : f.delayMs : ((b = n == null ? void 0 : n.animatedGraduate) == null ? void 0 : b.delayMs) * 2, [l, c] = de(!1), d = window.matchMedia(
1765
+ ), i = Ze(null), u = Ze(!1), s = a ? (f = n == null ? void 0 : n.animatedGraduate) == null ? void 0 : f.delayMs : ((b = n == null ? void 0 : n.animatedGraduate) == null ? void 0 : b.delayMs) * 2, [l, c] = de(!1), d = window.matchMedia(
1766
1766
  `(max-width: ${$0}px)`
1767
1767
  ).matches;
1768
- ke(() => {
1768
+ Pe(() => {
1769
1769
  const w = setTimeout(
1770
1770
  () => {
1771
1771
  c(!0);
@@ -1775,16 +1775,16 @@ eyes follow your mouse when you hover near it.`, ws = ({
1775
1775
  return () => {
1776
1776
  clearTimeout(w);
1777
1777
  };
1778
- }, [s]), ke(() => {
1778
+ }, [s]), Pe(() => {
1779
1779
  const g = (w) => {
1780
1780
  const M = window.devicePixelRatio > 1.5;
1781
1781
  if (!(u != null && u.current) || d || M)
1782
1782
  return;
1783
1783
  i.current.querySelectorAll(
1784
1784
  ".xpert_chatbot__animated_graduate__pupil"
1785
- ).forEach((R) => {
1786
- const y = R.getBoundingClientRect(), N = (w.pageX - window.scrollX - y.left) / 30 / 16 + "rem", G = (w.pageY - window.scrollY - y.top) / 30 / 16 + "rem";
1787
- R.style.transform = "translate3d(" + N + "," + G + ", 0rem)";
1785
+ ).forEach((D) => {
1786
+ const y = D.getBoundingClientRect(), N = (w.pageX - window.scrollX - y.left) / 30 / 16 + "rem", G = (w.pageY - window.scrollY - y.top) / 30 / 16 + "rem";
1787
+ D.style.transform = "translate3d(" + N + "," + G + ", 0rem)";
1788
1788
  });
1789
1789
  };
1790
1790
  return window.addEventListener("mousemove", g), () => {
@@ -1962,14 +1962,14 @@ eyes follow your mouse when you hover near it.`, ws = ({
1962
1962
  ws.propTypes = {
1963
1963
  handleFloatingActionButtonClick: x.func
1964
1964
  };
1965
- const W0 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20height='48'%20viewBox='0%20-960%20960%20960'%20width='48'%3e%3cpath%20d='M281-240q-14%200-27.5-14T240-282v-98h500v-340h100q14%200%2027%2014t13%2029v596L721-240H281ZM80-280v-558q0-14%2013-28t27-14h519q15%200%2028%2013.5t13%2028.5v356q0%2014-13%2028t-28%2014H240L80-280Zm540-220v-320H140v320h480Zm-480%200v-320%20320Z'%20fill='%23FFFFFF'/%3e%3c/svg%3e", Ds = "data:image/svg+xml,%3csvg%20width='1871'%20height='564'%20viewBox='0%200%201871%20564'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M928%20188H1871L1808%20491H865L928%20188Z'%20fill='%23F0CC00'/%3e%3cg%20clip-path='url(%23clip0_123_428)'%3e%3cpath%20d='M255.273%20197.387C250.852%20192.254%20245.352%20188.185%20238.796%20185.188C232.232%20182.191%20224.597%20180.692%20215.898%20180.692C207.049%20180.692%20198.777%20182.266%20191.074%20185.405C183.372%20188.545%20176.381%20193.004%20170.102%20198.781C163.823%20204.558%20158.406%20211.482%20153.835%20219.537C149.264%20227.6%20145.63%20236.547%20142.926%20246.393H268.116C268.258%20245.681%20268.363%20244.362%20268.438%20242.437C268.505%20240.511%20268.543%20238.622%20268.543%20236.764C268.543%20229.203%20267.434%20222.032%20265.223%20215.251C263.013%20208.485%20259.694%20202.528%20255.273%20197.387Z'%20fill='%23FFFFFF'/%3e%3cpath%20d='M492.301%20198.571C487.303%20193.079%20481.241%20188.83%20474.108%20185.84C466.975%20182.843%20458.913%20181.344%20449.929%20181.344C438.083%20181.344%20427.098%20183.989%20416.975%20189.264C406.845%20194.547%20398.071%20201.891%20390.653%20211.31C383.235%20220.729%20377.383%20231.961%20373.105%20245.014C368.827%20258.067%20366.684%20272.372%20366.684%20287.921C366.684%20297.624%20368.077%20306.541%20370.857%20314.671C373.637%20322.802%20377.526%20329.763%20382.516%20335.54C387.506%20341.317%20393.5%20345.813%20400.491%20349.021C407.482%20352.228%20415.26%20353.839%20423.816%20353.839C435.797%20353.839%20446.887%20351.021%20457.092%20345.386C467.29%20339.751%20476.169%20332.048%20483.736%20322.277C491.297%20312.506%20497.216%20301.019%20501.494%20287.823C505.773%20274.628%20507.916%20260.398%20507.916%20245.127C507.916%20235.28%20506.56%20226.438%20503.847%20218.593C501.142%20210.733%20497.291%20204.064%20492.301%20198.571Z'%20fill='%23FFFFFF'/%3e%3cpath%20d='M639.924%2092.2794L659.211%200H92.881L0%20443.638H473.509L447.426%20562.623H901.004L1001.06%2092.2719H639.924V92.2794ZM306.846%20249.503C306.704%20252.575%20306.486%20255.715%20306.202%20258.922C305.917%20262.129%20305.632%20265.276%20305.347%20268.341C305.063%20271.405%20304.703%20274.013%20304.276%20276.149H138.003C137.86%20278.149%20137.748%20280.075%20137.681%20281.926C137.606%20283.784%20137.576%20285.71%20137.576%20287.703C137.576%20299.543%20139.284%20309.636%20142.708%20317.983C146.132%20326.331%20150.591%20333.142%20156.083%20338.425C161.575%20343.708%20167.749%20347.522%20174.598%20349.875C181.446%20352.228%20188.362%20353.412%20195.353%20353.412C210.616%20353.412%20222.881%20350.774%20232.158%20345.491C241.426%20340.216%20248.492%20333.082%20253.34%20324.09H292.505C290.077%20332.94%20286.083%20341.213%20280.524%20348.916C274.957%20356.619%20267.936%20363.288%20259.446%20368.923C250.957%20374.557%20241.111%20378.979%20229.917%20382.193C218.715%20385.4%20206.412%20387.004%20193%20387.004C180.157%20387.004%20168.034%20384.898%20156.622%20380.687C145.203%20376.483%20135.253%20370.271%20126.771%20362.066C118.282%20353.861%20111.576%20343.768%20106.653%20331.786C101.73%20319.797%2099.2724%20306.032%2099.2724%20290.476C99.2724%20269.217%20102.232%20249.855%20108.151%20232.373C114.071%20214.899%20122.313%20199.92%20132.87%20187.429C143.428%20174.945%20156.09%20165.279%20170.859%20158.43C185.627%20151.581%20201.782%20148.157%20219.33%20148.157C231.168%20148.157%20242.408%20150.225%20253.033%20154.368C263.657%20158.505%20272.971%20164.529%20280.958%20172.45C288.946%20180.37%20295.292%20190.104%20300.005%20201.658C304.711%20213.213%20307.071%20226.483%20307.071%20241.462C307.063%20243.763%20306.988%20246.438%20306.846%20249.503ZM481.601%20382.935L488.232%20351.478H484.808C476.386%20362.463%20465.829%20371.133%20453.136%20377.48C440.435%20383.827%20426.739%20387.004%20412.053%20387.004C400.499%20387.004%20389.657%20384.823%20379.526%20380.477C369.396%20376.131%20360.517%20369.882%20352.882%20361.752C345.247%20353.621%20339.222%20343.775%20334.802%20332.221C330.381%20320.659%20328.171%20307.748%20328.171%20293.481C328.171%20279.641%20329.557%20266.407%20332.344%20253.781C335.124%20241.155%20339.088%20229.458%20344.22%20218.683C349.353%20207.908%20355.527%20198.174%20362.735%20189.474C369.936%20180.775%20377.93%20173.356%20386.704%20167.219C395.478%20161.09%20404.964%20156.377%20415.162%20153.095C425.36%20149.813%20436.03%20148.171%20447.156%20148.171C455.429%20148.171%20463.311%20149.318%20470.804%20151.596C478.297%20153.881%20485.07%20157.051%20491.132%20161.12C497.194%20165.189%20502.401%20170.112%20506.754%20175.889C511.108%20181.666%20514.277%20187.983%20516.278%20194.832H519.702L548.16%2060.6503H585.609L517.132%20382.95H481.601V382.935ZM852.406%20501.988H769.505L715.294%20383.01H708.521L608.192%20501.988H525.786L682.124%20316.755L609.698%20152.907H694.195L742.374%20265.711H746.854L837.959%20152.907H921.489L772.24%20324.967L852.406%20501.988Z'%20fill='%23FFFFFF'/%3e%3cpath%20d='M1050.36%20150.673C1046.27%20150.673%201042.42%20149.908%201038.84%20148.377C1035.26%20146.846%201032.11%20144.723%201029.4%20142.007C1026.68%20139.29%201024.56%20136.139%201023.03%20132.56C1021.5%20128.981%201020.73%20125.139%201020.73%20121.043C1020.73%20116.946%201021.5%20113.104%201023.03%20109.525C1024.56%20105.946%201026.68%20102.795%201029.4%20100.079C1032.11%2097.3624%201035.27%2095.239%201038.84%2093.7083C1042.42%2092.1777%201046.27%2091.4124%201050.36%2091.4124C1054.46%2091.4124%201058.3%2092.1777%201061.89%2093.7083C1065.47%2095.239%201068.62%2097.3624%201071.33%20100.079C1074.05%20102.795%201076.17%20105.946%201077.7%20109.525C1079.23%20113.104%201080%20116.946%201080%20121.043C1080%20125.139%201079.23%20128.981%201077.7%20132.56C1076.17%20136.139%201074.05%20139.29%201071.33%20142.007C1068.62%20144.723%201065.47%20146.846%201061.89%20148.377C1058.3%20149.908%201054.47%20150.673%201050.36%20150.673ZM1050.36%20145.15C1054.8%20145.15%201058.85%20144.062%201062.49%20141.894C1066.13%20139.718%201069.05%20136.814%201071.22%20133.168C1073.4%20129.529%201074.48%20125.484%201074.48%20121.035C1074.48%20116.586%201073.39%20112.549%201071.22%20108.902C1069.05%20105.263%201066.14%20102.352%201062.49%20100.176C1058.85%2098.0002%201054.8%2096.9197%201050.36%2096.9197C1045.92%2096.9197%201041.88%2098.0077%201038.23%20100.176C1034.58%20102.352%201031.68%20105.256%201029.5%20108.902C1027.33%20112.541%201026.25%20116.586%201026.25%20121.035C1026.25%20125.484%201027.33%20129.521%201029.5%20133.168C1031.68%20136.814%201034.58%20139.718%201038.23%20141.894C1041.87%20144.07%201045.91%20145.15%201050.36%20145.15ZM1040.32%20134.368V107.027H1053.44C1054.82%20107.027%201056.16%20107.357%201057.45%20108.009C1058.75%20108.662%201059.82%20109.63%201060.68%20110.898C1061.53%20112.174%201061.96%20113.734%201061.96%20115.588C1061.96%20117.441%201061.52%20119.039%201060.64%20120.382C1059.76%20121.725%201058.65%20122.761%201057.31%20123.474C1055.97%20124.194%201054.58%20124.547%201053.14%20124.547H1042.99V120.802H1051.88C1053.14%20120.802%201054.26%20120.352%201055.27%20119.452C1056.27%20118.552%201056.77%20117.261%201056.77%20115.58C1056.77%20113.9%201056.27%20112.616%201055.27%20111.874C1054.27%20111.131%201053.18%20110.763%201051.99%20110.763H1045.1V134.361H1040.32V134.368ZM1056.25%20121.658L1063.07%20134.368H1057.74L1051.1%20121.658H1056.25Z'%20fill='%23FFFFFF'/%3e%3c/g%3e%3cpath%20d='M1142.1%20319.054L1167.87%20267.107H1200.71L1159.91%20338.956L1201.71%20412H1169.07L1142.49%20359.257L1116.02%20412H1082.99L1124.78%20338.956L1084.08%20267.107H1116.72L1142.1%20319.054ZM1241.94%20358.195V412H1215.04V269.336H1270.88C1278.22%20269.336%201284.6%20270.559%201290.04%20273.005C1295.47%20275.315%201299.96%20278.44%201303.49%20282.38C1307.16%20286.184%201309.88%20290.6%201311.64%20295.627C1313.54%20300.518%201314.5%20305.546%201314.5%20310.709V315.6C1314.5%20320.899%201313.54%20326.13%201311.64%20331.293C1309.88%20336.32%201307.16%20340.872%201303.49%20344.948C1299.96%20348.888%201295.47%20352.081%201290.04%20354.527C1284.6%20356.973%201278.22%20358.195%201270.88%20358.195H1241.94ZM1241.94%20332.516H1268.23C1274.21%20332.516%201278.9%20330.885%201282.29%20327.625C1285.83%20324.364%201287.59%20320.152%201287.59%20314.989V312.543C1287.59%20307.38%201285.83%20303.168%201282.29%20299.907C1278.9%20296.646%201274.21%20295.016%201268.23%20295.016H1241.94V332.516ZM1337.79%20269.336H1427.87V295.016H1364.69V327.625H1425.43V353.304H1364.69V386.321H1430.32V412H1337.79V269.336ZM1552.46%20412H1525.56V369.201C1525.56%20365.94%201524.68%20363.291%201522.91%20361.252C1521.28%20359.214%201518.49%20358.195%201514.55%20358.195H1483.57V412H1456.67V269.336H1511.29C1518.63%20269.336%201525.08%20270.355%201530.65%20272.393C1536.22%20274.431%201540.84%20277.285%201544.51%20280.953C1548.32%20284.486%201551.17%20288.63%201553.07%20293.385C1555.11%20298.141%201556.13%20303.236%201556.13%20308.671V313.562C1556.13%20319.404%201554.57%20324.907%201551.44%20330.07C1548.32%20335.097%201543.49%20338.97%201536.97%20341.687V345.356C1541.73%20345.899%201545.46%20347.733%201548.18%20350.858C1551.03%20353.983%201552.46%20357.924%201552.46%20362.679V412ZM1483.57%20332.516H1509.25C1515.78%20332.516%201520.73%20331.021%201524.13%20328.032C1527.53%20324.907%201529.23%20320.559%201529.23%20314.989V312.543C1529.23%20307.788%201527.53%20303.711%201524.13%20300.315C1520.73%20296.782%201515.78%20295.016%201509.25%20295.016H1483.57V332.516ZM1571.48%20269.336H1674.19V295.016H1636.29V412H1609.38V295.016H1571.48V269.336Z'%20fill='%2300262B'/%3e%3cdefs%3e%3cclipPath%20id='clip0_123_428'%3e%3crect%20width='1080'%20height='563.25'%20fill='%23FFFFFF'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", G0 = {
1966
- edx: Ds,
1965
+ const W0 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20height='48'%20viewBox='0%20-960%20960%20960'%20width='48'%3e%3cpath%20d='M281-240q-14%200-27.5-14T240-282v-98h500v-340h100q14%200%2027%2014t13%2029v596L721-240H281ZM80-280v-558q0-14%2013-28t27-14h519q15%200%2028%2013.5t13%2028.5v356q0%2014-13%2028t-28%2014H240L80-280Zm540-220v-320H140v320h480Zm-480%200v-320%20320Z'%20fill='%23FFFFFF'/%3e%3c/svg%3e", Rs = "data:image/svg+xml,%3csvg%20width='1871'%20height='564'%20viewBox='0%200%201871%20564'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M928%20188H1871L1808%20491H865L928%20188Z'%20fill='%23F0CC00'/%3e%3cg%20clip-path='url(%23clip0_123_428)'%3e%3cpath%20d='M255.273%20197.387C250.852%20192.254%20245.352%20188.185%20238.796%20185.188C232.232%20182.191%20224.597%20180.692%20215.898%20180.692C207.049%20180.692%20198.777%20182.266%20191.074%20185.405C183.372%20188.545%20176.381%20193.004%20170.102%20198.781C163.823%20204.558%20158.406%20211.482%20153.835%20219.537C149.264%20227.6%20145.63%20236.547%20142.926%20246.393H268.116C268.258%20245.681%20268.363%20244.362%20268.438%20242.437C268.505%20240.511%20268.543%20238.622%20268.543%20236.764C268.543%20229.203%20267.434%20222.032%20265.223%20215.251C263.013%20208.485%20259.694%20202.528%20255.273%20197.387Z'%20fill='%23FFFFFF'/%3e%3cpath%20d='M492.301%20198.571C487.303%20193.079%20481.241%20188.83%20474.108%20185.84C466.975%20182.843%20458.913%20181.344%20449.929%20181.344C438.083%20181.344%20427.098%20183.989%20416.975%20189.264C406.845%20194.547%20398.071%20201.891%20390.653%20211.31C383.235%20220.729%20377.383%20231.961%20373.105%20245.014C368.827%20258.067%20366.684%20272.372%20366.684%20287.921C366.684%20297.624%20368.077%20306.541%20370.857%20314.671C373.637%20322.802%20377.526%20329.763%20382.516%20335.54C387.506%20341.317%20393.5%20345.813%20400.491%20349.021C407.482%20352.228%20415.26%20353.839%20423.816%20353.839C435.797%20353.839%20446.887%20351.021%20457.092%20345.386C467.29%20339.751%20476.169%20332.048%20483.736%20322.277C491.297%20312.506%20497.216%20301.019%20501.494%20287.823C505.773%20274.628%20507.916%20260.398%20507.916%20245.127C507.916%20235.28%20506.56%20226.438%20503.847%20218.593C501.142%20210.733%20497.291%20204.064%20492.301%20198.571Z'%20fill='%23FFFFFF'/%3e%3cpath%20d='M639.924%2092.2794L659.211%200H92.881L0%20443.638H473.509L447.426%20562.623H901.004L1001.06%2092.2719H639.924V92.2794ZM306.846%20249.503C306.704%20252.575%20306.486%20255.715%20306.202%20258.922C305.917%20262.129%20305.632%20265.276%20305.347%20268.341C305.063%20271.405%20304.703%20274.013%20304.276%20276.149H138.003C137.86%20278.149%20137.748%20280.075%20137.681%20281.926C137.606%20283.784%20137.576%20285.71%20137.576%20287.703C137.576%20299.543%20139.284%20309.636%20142.708%20317.983C146.132%20326.331%20150.591%20333.142%20156.083%20338.425C161.575%20343.708%20167.749%20347.522%20174.598%20349.875C181.446%20352.228%20188.362%20353.412%20195.353%20353.412C210.616%20353.412%20222.881%20350.774%20232.158%20345.491C241.426%20340.216%20248.492%20333.082%20253.34%20324.09H292.505C290.077%20332.94%20286.083%20341.213%20280.524%20348.916C274.957%20356.619%20267.936%20363.288%20259.446%20368.923C250.957%20374.557%20241.111%20378.979%20229.917%20382.193C218.715%20385.4%20206.412%20387.004%20193%20387.004C180.157%20387.004%20168.034%20384.898%20156.622%20380.687C145.203%20376.483%20135.253%20370.271%20126.771%20362.066C118.282%20353.861%20111.576%20343.768%20106.653%20331.786C101.73%20319.797%2099.2724%20306.032%2099.2724%20290.476C99.2724%20269.217%20102.232%20249.855%20108.151%20232.373C114.071%20214.899%20122.313%20199.92%20132.87%20187.429C143.428%20174.945%20156.09%20165.279%20170.859%20158.43C185.627%20151.581%20201.782%20148.157%20219.33%20148.157C231.168%20148.157%20242.408%20150.225%20253.033%20154.368C263.657%20158.505%20272.971%20164.529%20280.958%20172.45C288.946%20180.37%20295.292%20190.104%20300.005%20201.658C304.711%20213.213%20307.071%20226.483%20307.071%20241.462C307.063%20243.763%20306.988%20246.438%20306.846%20249.503ZM481.601%20382.935L488.232%20351.478H484.808C476.386%20362.463%20465.829%20371.133%20453.136%20377.48C440.435%20383.827%20426.739%20387.004%20412.053%20387.004C400.499%20387.004%20389.657%20384.823%20379.526%20380.477C369.396%20376.131%20360.517%20369.882%20352.882%20361.752C345.247%20353.621%20339.222%20343.775%20334.802%20332.221C330.381%20320.659%20328.171%20307.748%20328.171%20293.481C328.171%20279.641%20329.557%20266.407%20332.344%20253.781C335.124%20241.155%20339.088%20229.458%20344.22%20218.683C349.353%20207.908%20355.527%20198.174%20362.735%20189.474C369.936%20180.775%20377.93%20173.356%20386.704%20167.219C395.478%20161.09%20404.964%20156.377%20415.162%20153.095C425.36%20149.813%20436.03%20148.171%20447.156%20148.171C455.429%20148.171%20463.311%20149.318%20470.804%20151.596C478.297%20153.881%20485.07%20157.051%20491.132%20161.12C497.194%20165.189%20502.401%20170.112%20506.754%20175.889C511.108%20181.666%20514.277%20187.983%20516.278%20194.832H519.702L548.16%2060.6503H585.609L517.132%20382.95H481.601V382.935ZM852.406%20501.988H769.505L715.294%20383.01H708.521L608.192%20501.988H525.786L682.124%20316.755L609.698%20152.907H694.195L742.374%20265.711H746.854L837.959%20152.907H921.489L772.24%20324.967L852.406%20501.988Z'%20fill='%23FFFFFF'/%3e%3cpath%20d='M1050.36%20150.673C1046.27%20150.673%201042.42%20149.908%201038.84%20148.377C1035.26%20146.846%201032.11%20144.723%201029.4%20142.007C1026.68%20139.29%201024.56%20136.139%201023.03%20132.56C1021.5%20128.981%201020.73%20125.139%201020.73%20121.043C1020.73%20116.946%201021.5%20113.104%201023.03%20109.525C1024.56%20105.946%201026.68%20102.795%201029.4%20100.079C1032.11%2097.3624%201035.27%2095.239%201038.84%2093.7083C1042.42%2092.1777%201046.27%2091.4124%201050.36%2091.4124C1054.46%2091.4124%201058.3%2092.1777%201061.89%2093.7083C1065.47%2095.239%201068.62%2097.3624%201071.33%20100.079C1074.05%20102.795%201076.17%20105.946%201077.7%20109.525C1079.23%20113.104%201080%20116.946%201080%20121.043C1080%20125.139%201079.23%20128.981%201077.7%20132.56C1076.17%20136.139%201074.05%20139.29%201071.33%20142.007C1068.62%20144.723%201065.47%20146.846%201061.89%20148.377C1058.3%20149.908%201054.47%20150.673%201050.36%20150.673ZM1050.36%20145.15C1054.8%20145.15%201058.85%20144.062%201062.49%20141.894C1066.13%20139.718%201069.05%20136.814%201071.22%20133.168C1073.4%20129.529%201074.48%20125.484%201074.48%20121.035C1074.48%20116.586%201073.39%20112.549%201071.22%20108.902C1069.05%20105.263%201066.14%20102.352%201062.49%20100.176C1058.85%2098.0002%201054.8%2096.9197%201050.36%2096.9197C1045.92%2096.9197%201041.88%2098.0077%201038.23%20100.176C1034.58%20102.352%201031.68%20105.256%201029.5%20108.902C1027.33%20112.541%201026.25%20116.586%201026.25%20121.035C1026.25%20125.484%201027.33%20129.521%201029.5%20133.168C1031.68%20136.814%201034.58%20139.718%201038.23%20141.894C1041.87%20144.07%201045.91%20145.15%201050.36%20145.15ZM1040.32%20134.368V107.027H1053.44C1054.82%20107.027%201056.16%20107.357%201057.45%20108.009C1058.75%20108.662%201059.82%20109.63%201060.68%20110.898C1061.53%20112.174%201061.96%20113.734%201061.96%20115.588C1061.96%20117.441%201061.52%20119.039%201060.64%20120.382C1059.76%20121.725%201058.65%20122.761%201057.31%20123.474C1055.97%20124.194%201054.58%20124.547%201053.14%20124.547H1042.99V120.802H1051.88C1053.14%20120.802%201054.26%20120.352%201055.27%20119.452C1056.27%20118.552%201056.77%20117.261%201056.77%20115.58C1056.77%20113.9%201056.27%20112.616%201055.27%20111.874C1054.27%20111.131%201053.18%20110.763%201051.99%20110.763H1045.1V134.361H1040.32V134.368ZM1056.25%20121.658L1063.07%20134.368H1057.74L1051.1%20121.658H1056.25Z'%20fill='%23FFFFFF'/%3e%3c/g%3e%3cpath%20d='M1142.1%20319.054L1167.87%20267.107H1200.71L1159.91%20338.956L1201.71%20412H1169.07L1142.49%20359.257L1116.02%20412H1082.99L1124.78%20338.956L1084.08%20267.107H1116.72L1142.1%20319.054ZM1241.94%20358.195V412H1215.04V269.336H1270.88C1278.22%20269.336%201284.6%20270.559%201290.04%20273.005C1295.47%20275.315%201299.96%20278.44%201303.49%20282.38C1307.16%20286.184%201309.88%20290.6%201311.64%20295.627C1313.54%20300.518%201314.5%20305.546%201314.5%20310.709V315.6C1314.5%20320.899%201313.54%20326.13%201311.64%20331.293C1309.88%20336.32%201307.16%20340.872%201303.49%20344.948C1299.96%20348.888%201295.47%20352.081%201290.04%20354.527C1284.6%20356.973%201278.22%20358.195%201270.88%20358.195H1241.94ZM1241.94%20332.516H1268.23C1274.21%20332.516%201278.9%20330.885%201282.29%20327.625C1285.83%20324.364%201287.59%20320.152%201287.59%20314.989V312.543C1287.59%20307.38%201285.83%20303.168%201282.29%20299.907C1278.9%20296.646%201274.21%20295.016%201268.23%20295.016H1241.94V332.516ZM1337.79%20269.336H1427.87V295.016H1364.69V327.625H1425.43V353.304H1364.69V386.321H1430.32V412H1337.79V269.336ZM1552.46%20412H1525.56V369.201C1525.56%20365.94%201524.68%20363.291%201522.91%20361.252C1521.28%20359.214%201518.49%20358.195%201514.55%20358.195H1483.57V412H1456.67V269.336H1511.29C1518.63%20269.336%201525.08%20270.355%201530.65%20272.393C1536.22%20274.431%201540.84%20277.285%201544.51%20280.953C1548.32%20284.486%201551.17%20288.63%201553.07%20293.385C1555.11%20298.141%201556.13%20303.236%201556.13%20308.671V313.562C1556.13%20319.404%201554.57%20324.907%201551.44%20330.07C1548.32%20335.097%201543.49%20338.97%201536.97%20341.687V345.356C1541.73%20345.899%201545.46%20347.733%201548.18%20350.858C1551.03%20353.983%201552.46%20357.924%201552.46%20362.679V412ZM1483.57%20332.516H1509.25C1515.78%20332.516%201520.73%20331.021%201524.13%20328.032C1527.53%20324.907%201529.23%20320.559%201529.23%20314.989V312.543C1529.23%20307.788%201527.53%20303.711%201524.13%20300.315C1520.73%20296.782%201515.78%20295.016%201509.25%20295.016H1483.57V332.516ZM1571.48%20269.336H1674.19V295.016H1636.29V412H1609.38V295.016H1571.48V269.336Z'%20fill='%2300262B'/%3e%3cdefs%3e%3cclipPath%20id='clip0_123_428'%3e%3crect%20width='1080'%20height='563.25'%20fill='%23FFFFFF'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", G0 = {
1966
+ edx: Rs,
1967
1967
  default: W0
1968
- }, Rs = ({
1968
+ }, Ds = ({
1969
1969
  handleFloatingActionButtonClick: e = null
1970
1970
  }) => {
1971
1971
  var r, a;
1972
- const { launchButton: t } = se(je), { isMobile: n } = se(Ze);
1972
+ const { launchButton: t } = se(je), { isMobile: n } = se(Je);
1973
1973
  return /* @__PURE__ */ v.jsx(
1974
1974
  xi,
1975
1975
  {
@@ -1993,7 +1993,7 @@ const W0 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20hei
1993
1993
  }
1994
1994
  );
1995
1995
  };
1996
- Rs.propTypes = {
1996
+ Ds.propTypes = {
1997
1997
  handleFloatingActionButtonClick: x.func
1998
1998
  };
1999
1999
  /*!
@@ -2346,22 +2346,22 @@ var Lu = {
2346
2346
  delayInitialFocusTimer: void 0,
2347
2347
  // the most recent KeyboardEvent for the configured nav key (typically [SHIFT+]TAB), if any
2348
2348
  recentNavEvent: void 0
2349
- }, s, l = function(L, I, D) {
2350
- return L && L[I] !== void 0 ? L[I] : i[D || I];
2349
+ }, s, l = function(L, I, R) {
2350
+ return L && L[I] !== void 0 ? L[I] : i[R || I];
2351
2351
  }, c = function(L, I) {
2352
- var D = typeof (I == null ? void 0 : I.composedPath) == "function" ? I.composedPath() : void 0;
2352
+ var R = typeof (I == null ? void 0 : I.composedPath) == "function" ? I.composedPath() : void 0;
2353
2353
  return u.containerGroups.findIndex(function(U) {
2354
2354
  var W = U.container, j = U.tabbableNodes;
2355
2355
  return W.contains(L) || // fall back to explicit tabbable search which will take into consideration any
2356
2356
  // web components if the `tabbableOptions.getShadowRoot` option was used for
2357
2357
  // the trap, enabling shadow DOM support in tabbable (`Node.contains()` doesn't
2358
2358
  // look inside web components even if open)
2359
- (D == null ? void 0 : D.includes(W)) || j.find(function(Y) {
2359
+ (R == null ? void 0 : R.includes(W)) || j.find(function(Y) {
2360
2360
  return Y === L;
2361
2361
  });
2362
2362
  });
2363
2363
  }, d = function(L) {
2364
- var I = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, D = I.hasFallback, U = D === void 0 ? !1 : D, W = I.params, j = W === void 0 ? [] : W, Y = i[L];
2364
+ var I = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, R = I.hasFallback, U = R === void 0 ? !1 : R, W = I.params, j = W === void 0 ? [] : W, Y = i[L];
2365
2365
  if (typeof Y == "function" && (Y = Y.apply(void 0, gf(j))), Y === !0 && (Y = void 0), !Y) {
2366
2366
  if (Y === void 0 || Y === !1)
2367
2367
  return Y;
@@ -2388,8 +2388,8 @@ var Lu = {
2388
2388
  if (c(r.activeElement) >= 0)
2389
2389
  L = r.activeElement;
2390
2390
  else {
2391
- var I = u.tabbableGroups[0], D = I && I.firstTabbableNode;
2392
- L = D || d("fallbackFocus");
2391
+ var I = u.tabbableGroups[0], R = I && I.firstTabbableNode;
2392
+ L = R || d("fallbackFocus");
2393
2393
  }
2394
2394
  else L === null && (L = d("fallbackFocus"));
2395
2395
  if (!L)
@@ -2397,9 +2397,9 @@ var Lu = {
2397
2397
  return L;
2398
2398
  }, p = function() {
2399
2399
  if (u.containerGroups = u.containers.map(function(L) {
2400
- var I = js(L, i.tabbableOptions), D = qs(L, i.tabbableOptions), U = I.length > 0 ? I[0] : void 0, W = I.length > 0 ? I[I.length - 1] : void 0, j = D.find(function(ne) {
2400
+ var I = js(L, i.tabbableOptions), R = qs(L, i.tabbableOptions), U = I.length > 0 ? I[0] : void 0, W = I.length > 0 ? I[I.length - 1] : void 0, j = R.find(function(ne) {
2401
2401
  return rn(ne);
2402
- }), Y = D.slice().reverse().find(function(ne) {
2402
+ }), Y = R.slice().reverse().find(function(ne) {
2403
2403
  return rn(ne);
2404
2404
  }), T = !!I.find(function(ne) {
2405
2405
  return Wt(ne) > 0;
@@ -2407,7 +2407,7 @@ var Lu = {
2407
2407
  return {
2408
2408
  container: L,
2409
2409
  tabbableNodes: I,
2410
- focusableNodes: D,
2410
+ focusableNodes: R,
2411
2411
  /** True if at least one node with positive `tabindex` was found in this container. */
2412
2412
  posTabIndexesFound: T,
2413
2413
  /** First tabbable node in container, __tabindex__ order; `undefined` if none. */
@@ -2435,9 +2435,9 @@ var Lu = {
2435
2435
  */
2436
2436
  nextTabbableNode: function(oe) {
2437
2437
  var S = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, le = I.indexOf(oe);
2438
- return le < 0 ? S ? D.slice(D.indexOf(oe) + 1).find(function(_e) {
2438
+ return le < 0 ? S ? R.slice(R.indexOf(oe) + 1).find(function(_e) {
2439
2439
  return rn(_e);
2440
- }) : D.slice(0, D.indexOf(oe)).reverse().find(function(_e) {
2440
+ }) : R.slice(0, R.indexOf(oe)).reverse().find(function(_e) {
2441
2441
  return rn(_e);
2442
2442
  }) : I[le + (S ? 1 : -1)];
2443
2443
  }
@@ -2470,11 +2470,11 @@ var Lu = {
2470
2470
  });
2471
2471
  return I || (I === !1 ? !1 : L);
2472
2472
  }, _ = function(L) {
2473
- var I = L.target, D = L.event, U = L.isBackward, W = U === void 0 ? !1 : U;
2474
- I = I || Sr(D), p();
2473
+ var I = L.target, R = L.event, U = L.isBackward, W = U === void 0 ? !1 : U;
2474
+ I = I || Sr(R), p();
2475
2475
  var j = null;
2476
2476
  if (u.tabbableGroups.length > 0) {
2477
- var Y = c(I, D), T = Y >= 0 ? u.containerGroups[Y] : void 0;
2477
+ var Y = c(I, R), T = Y >= 0 ? u.containerGroups[Y] : void 0;
2478
2478
  if (Y < 0)
2479
2479
  W ? j = u.tabbableGroups[u.tabbableGroups.length - 1].lastTabbableNode : j = u.tabbableGroups[0].firstTabbableNode;
2480
2480
  else if (W) {
@@ -2485,7 +2485,7 @@ var Lu = {
2485
2485
  if (ne < 0 && (T.container === I || Lr(I, i.tabbableOptions) && !rn(I, i.tabbableOptions) && !T.nextTabbableNode(I, !1)) && (ne = Y), ne >= 0) {
2486
2486
  var oe = ne === 0 ? u.tabbableGroups.length - 1 : ne - 1, S = u.tabbableGroups[oe];
2487
2487
  j = Wt(I) >= 0 ? S.lastTabbableNode : S.lastDomTabbableNode;
2488
- } else Zn(D) || (j = T.nextTabbableNode(I, !1));
2488
+ } else Zn(R) || (j = T.nextTabbableNode(I, !1));
2489
2489
  } else {
2490
2490
  var le = u.tabbableGroups.findIndex(function(Ce) {
2491
2491
  var Oe = Ce.lastTabbableNode;
@@ -2494,7 +2494,7 @@ var Lu = {
2494
2494
  if (le < 0 && (T.container === I || Lr(I, i.tabbableOptions) && !rn(I, i.tabbableOptions) && !T.nextTabbableNode(I)) && (le = Y), le >= 0) {
2495
2495
  var _e = le === u.tabbableGroups.length - 1 ? 0 : le + 1, me = u.tabbableGroups[_e];
2496
2496
  j = Wt(I) >= 0 ? me.firstTabbableNode : me.firstDomTabbableNode;
2497
- } else Zn(D) || (j = T.nextTabbableNode(I));
2497
+ } else Zn(R) || (j = T.nextTabbableNode(I));
2498
2498
  }
2499
2499
  } else
2500
2500
  j = d("fallbackFocus");
@@ -2517,9 +2517,9 @@ var Lu = {
2517
2517
  jn(i.allowOutsideClick, L) || L.preventDefault();
2518
2518
  }
2519
2519
  }, w = function(L) {
2520
- var I = Sr(L), D = c(I, L) >= 0;
2521
- if (D || I instanceof Document)
2522
- D && (u.mostRecentlyFocusedNode = I);
2520
+ var I = Sr(L), R = c(I, L) >= 0;
2521
+ if (R || I instanceof Document)
2522
+ R && (u.mostRecentlyFocusedNode = I);
2523
2523
  else {
2524
2524
  L.stopImmediatePropagation();
2525
2525
  var U, W = !0;
@@ -2551,14 +2551,14 @@ var Lu = {
2551
2551
  }, M = function(L) {
2552
2552
  var I = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
2553
2553
  u.recentNavEvent = L;
2554
- var D = _({
2554
+ var R = _({
2555
2555
  event: L,
2556
2556
  isBackward: I
2557
2557
  });
2558
- D && (Zn(L) && L.preventDefault(), b(D));
2558
+ R && (Zn(L) && L.preventDefault(), b(R));
2559
2559
  }, K = function(L) {
2560
2560
  (i.isKeyForward(L) || i.isKeyBackward(L)) && M(L, i.isKeyBackward(L));
2561
- }, R = function(L) {
2561
+ }, D = function(L) {
2562
2562
  _f(L) && jn(i.escapeDeactivates, L) !== !1 && (L.preventDefault(), s.deactivate());
2563
2563
  }, y = function(L) {
2564
2564
  var I = Sr(L);
@@ -2579,13 +2579,13 @@ var Lu = {
2579
2579
  }), r.addEventListener("keydown", K, {
2580
2580
  capture: !0,
2581
2581
  passive: !1
2582
- }), r.addEventListener("keydown", R), s;
2582
+ }), r.addEventListener("keydown", D), s;
2583
2583
  }, G = function() {
2584
2584
  if (u.active)
2585
- return r.removeEventListener("focusin", w, !0), r.removeEventListener("mousedown", g, !0), r.removeEventListener("touchstart", g, !0), r.removeEventListener("click", y, !0), r.removeEventListener("keydown", K, !0), r.removeEventListener("keydown", R), s;
2585
+ return r.removeEventListener("focusin", w, !0), r.removeEventListener("mousedown", g, !0), r.removeEventListener("touchstart", g, !0), r.removeEventListener("click", y, !0), r.removeEventListener("keydown", K, !0), r.removeEventListener("keydown", D), s;
2586
2586
  }, F = function(L) {
2587
- var I = L.some(function(D) {
2588
- var U = Array.from(D.removedNodes);
2587
+ var I = L.some(function(R) {
2588
+ var U = Array.from(R.removedNodes);
2589
2589
  return U.some(function(W) {
2590
2590
  return W === u.mostRecentlyFocusedNode;
2591
2591
  });
@@ -2609,10 +2609,10 @@ var Lu = {
2609
2609
  activate: function(L) {
2610
2610
  if (u.active)
2611
2611
  return this;
2612
- var I = l(L, "onActivate"), D = l(L, "onPostActivate"), U = l(L, "checkCanFocusTrap");
2612
+ var I = l(L, "onActivate"), R = l(L, "onPostActivate"), U = l(L, "checkCanFocusTrap");
2613
2613
  U || p(), u.active = !0, u.paused = !1, u.nodeFocusedBeforeActivation = r.activeElement, I == null || I();
2614
2614
  var W = function() {
2615
- U && p(), N(), z(), D == null || D();
2615
+ U && p(), N(), z(), R == null || R();
2616
2616
  };
2617
2617
  return U ? (U(u.containers.concat()).then(W, W), this) : (W(), this);
2618
2618
  },
@@ -2625,8 +2625,8 @@ var Lu = {
2625
2625
  checkCanReturnFocus: i.checkCanReturnFocus
2626
2626
  }, L);
2627
2627
  clearTimeout(u.delayInitialFocusTimer), u.delayInitialFocusTimer = void 0, G(), u.active = !1, u.paused = !1, z(), Lu.deactivateTrap(a, s);
2628
- var D = l(I, "onDeactivate"), U = l(I, "onPostDeactivate"), W = l(I, "checkCanReturnFocus"), j = l(I, "returnFocus", "returnFocusOnDeactivate");
2629
- D == null || D();
2628
+ var R = l(I, "onDeactivate"), U = l(I, "onPostDeactivate"), W = l(I, "checkCanReturnFocus"), j = l(I, "returnFocus", "returnFocusOnDeactivate");
2629
+ R == null || R();
2630
2630
  var Y = function() {
2631
2631
  wu(function() {
2632
2632
  j && b(m(u.nodeFocusedBeforeActivation)), U == null || U();
@@ -2642,8 +2642,8 @@ var Lu = {
2642
2642
  },
2643
2643
  updateContainerElements: function(L) {
2644
2644
  var I = [].concat(L).filter(Boolean);
2645
- return u.containers = I.map(function(D) {
2646
- return typeof D == "string" ? r.querySelector(D) : D;
2645
+ return u.containers = I.map(function(R) {
2646
+ return typeof R == "string" ? r.querySelector(R) : R;
2647
2647
  }), u.active && p(), z(), this;
2648
2648
  }
2649
2649
  }, Object.defineProperties(s, {
@@ -2657,8 +2657,8 @@ var Lu = {
2657
2657
  if (u.paused === L)
2658
2658
  return this;
2659
2659
  if (u.paused = L, L) {
2660
- var D = l(I, "onPause"), U = l(I, "onPostPause");
2661
- D == null || D(), G(), z(), U == null || U();
2660
+ var R = l(I, "onPause"), U = l(I, "onPostPause");
2661
+ R == null || R(), G(), z(), U == null || U();
2662
2662
  } else {
2663
2663
  var W = l(I, "onUnpause"), j = l(I, "onPostUnpause");
2664
2664
  W == null || W(), p(), N(), z(), j == null || j();
@@ -2672,10 +2672,10 @@ const vf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2672
2672
  __proto__: null,
2673
2673
  createFocusTrap: xf
2674
2674
  }, Symbol.toStringTag, { value: "Module" })), Of = /* @__PURE__ */ Ss(vf), If = /* @__PURE__ */ Ss(df);
2675
- var Aa, Du;
2675
+ var Aa, Ru;
2676
2676
  function Nf() {
2677
- if (Du) return Aa;
2678
- Du = 1;
2677
+ if (Ru) return Aa;
2678
+ Ru = 1;
2679
2679
  function e(y) {
2680
2680
  "@babel/helpers - typeof";
2681
2681
  return e = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(N) {
@@ -2755,7 +2755,7 @@ function Nf() {
2755
2755
  t(this, N), F = a(this, N, [G]), h(F, "getNodeForOption", function(V) {
2756
2756
  var L, I = (L = this.internalOptions[V]) !== null && L !== void 0 ? L : this.originalOptions[V];
2757
2757
  if (typeof I == "function") {
2758
- for (var D = arguments.length, U = new Array(D > 1 ? D - 1 : 0), W = 1; W < D; W++)
2758
+ for (var R = arguments.length, U = new Array(R > 1 ? R - 1 : 0), W = 1; W < R; W++)
2759
2759
  U[W - 1] = arguments[W];
2760
2760
  I = I.apply(void 0, U);
2761
2761
  }
@@ -2875,9 +2875,9 @@ function Nf() {
2875
2875
  F.outsideClick.allowDeactivation && // is the outside node NOT focusable (implying that it did NOT receive focus
2876
2876
  // as a result of the click-through) -- in which case do NOT restore focus
2877
2877
  // to `returnFocusNode` because focus should remain on the outside node
2878
- !M(F.outsideClick.target, F.internalOptions.tabbableOptions))), I = F.internalOptions.preventScroll, D = I === void 0 ? !1 : I;
2878
+ !M(F.outsideClick.target, F.internalOptions.tabbableOptions))), I = F.internalOptions.preventScroll, R = I === void 0 ? !1 : I;
2879
2879
  L && V.focus({
2880
- preventScroll: D
2880
+ preventScroll: R
2881
2881
  }), F.originalOptions.onPostDeactivate && F.originalOptions.onPostDeactivate.call(null), F.outsideClick = null;
2882
2882
  };
2883
2883
  this.originalOptions.checkCanReturnFocus ? this.originalOptions.checkCanReturnFocus.call(null, this.getReturnFocusNode()).then(te, te) : te();
@@ -2924,8 +2924,8 @@ function Nf() {
2924
2924
  if (te.type && te.type === b.Fragment)
2925
2925
  throw new Error("A focus-trap cannot use a Fragment as its child container. Try replacing it with a <div> element.");
2926
2926
  var z = function(I) {
2927
- var D = F.props.containerElements;
2928
- te && (typeof te.ref == "function" ? te.ref(I) : te.ref && (te.ref.current = I)), F.focusTrapElements = D || [I];
2927
+ var R = F.props.containerElements;
2928
+ te && (typeof te.ref == "function" ? te.ref(I) : te.ref && (te.ref.current = I)), F.focusTrapElements = R || [I];
2929
2929
  }, V = b.cloneElement(te, {
2930
2930
  ref: z
2931
2931
  });
@@ -2934,7 +2934,7 @@ function Nf() {
2934
2934
  return null;
2935
2935
  }
2936
2936
  }]);
2937
- }(b.Component), R = typeof Element > "u" ? Function : Element;
2937
+ }(b.Component), D = typeof Element > "u" ? Function : Element;
2938
2938
  return K.propTypes = {
2939
2939
  active: m.bool,
2940
2940
  paused: m.bool,
@@ -2950,9 +2950,9 @@ function Nf() {
2950
2950
  onDeactivate: m.func,
2951
2951
  onPostDeactivate: m.func,
2952
2952
  checkCanReturnFocus: m.func,
2953
- initialFocus: m.oneOfType([m.instanceOf(R), m.string, m.bool, m.func]),
2953
+ initialFocus: m.oneOfType([m.instanceOf(D), m.string, m.bool, m.func]),
2954
2954
  fallbackFocus: m.oneOfType([
2955
- m.instanceOf(R),
2955
+ m.instanceOf(D),
2956
2956
  m.string,
2957
2957
  // NOTE: does not support `false` as value (or return value from function)
2958
2958
  m.func
@@ -2960,7 +2960,7 @@ function Nf() {
2960
2960
  escapeDeactivates: m.oneOfType([m.bool, m.func]),
2961
2961
  clickOutsideDeactivates: m.oneOfType([m.bool, m.func]),
2962
2962
  returnFocusOnDeactivate: m.bool,
2963
- setReturnFocus: m.oneOfType([m.instanceOf(R), m.string, m.bool, m.func]),
2963
+ setReturnFocus: m.oneOfType([m.instanceOf(D), m.string, m.bool, m.func]),
2964
2964
  allowOutsideClick: m.oneOfType([m.bool, m.func]),
2965
2965
  preventScroll: m.bool,
2966
2966
  tabbableOptions: m.shape({
@@ -2971,12 +2971,12 @@ function Nf() {
2971
2971
  isKeyForward: m.func,
2972
2972
  isKeyBackward: m.func
2973
2973
  }),
2974
- containerElements: m.arrayOf(m.instanceOf(R)),
2974
+ containerElements: m.arrayOf(m.instanceOf(D)),
2975
2975
  // DOM element ONLY
2976
2976
  children: m.oneOfType([
2977
2977
  m.element,
2978
2978
  // React element
2979
- m.instanceOf(R)
2979
+ m.instanceOf(D)
2980
2980
  // DOM element
2981
2981
  ])
2982
2982
  // NOTE: _createFocusTrap is internal, for testing purposes only, so we don't
@@ -2997,7 +2997,7 @@ function zs({
2997
2997
  isMounted: n = !1,
2998
2998
  style: r = {}
2999
2999
  }) {
3000
- const { isMobile: a, isNormalSize: i } = se(Ze), u = Je(null);
3000
+ const { isMobile: a, isNormalSize: i } = se(Je), u = Ze(null);
3001
3001
  return /* @__PURE__ */ v.jsx(
3002
3002
  Lf,
3003
3003
  {
@@ -3046,8 +3046,8 @@ Ys.propTypes = {
3046
3046
  isMounted: x.bool
3047
3047
  };
3048
3048
  const $s = () => {
3049
- const { disclaimer: e } = se(je), t = Je(null);
3050
- return ke(() => {
3049
+ const { disclaimer: e } = se(je), t = Ze(null);
3050
+ return Pe(() => {
3051
3051
  var n;
3052
3052
  (n = t == null ? void 0 : t.current) == null || n.focus();
3053
3053
  }, []), /* @__PURE__ */ v.jsxs(
@@ -3103,13 +3103,13 @@ function wf(e, t) {
3103
3103
  const r = ((e.rotate || 0) + (t.rotate || 0)) % 4;
3104
3104
  return r && (n.rotate = r), n;
3105
3105
  }
3106
- function Ru(e, t) {
3106
+ function Du(e, t) {
3107
3107
  const n = wf(e, t);
3108
3108
  for (const r in ni)
3109
3109
  r in qr ? r in e && !(r in n) && (n[r] = qr[r]) : r in t ? n[r] = t[r] : r in e && (n[r] = e[r]);
3110
3110
  return n;
3111
3111
  }
3112
- function Df(e, t) {
3112
+ function Rf(e, t) {
3113
3113
  const n = e.icons, r = e.aliases || /* @__PURE__ */ Object.create(null), a = /* @__PURE__ */ Object.create(null);
3114
3114
  function i(u) {
3115
3115
  if (n[u])
@@ -3123,16 +3123,16 @@ function Df(e, t) {
3123
3123
  }
3124
3124
  return Object.keys(n).concat(Object.keys(r)).forEach(i), a;
3125
3125
  }
3126
- function Rf(e, t, n) {
3126
+ function Df(e, t, n) {
3127
3127
  const r = e.icons, a = e.aliases || /* @__PURE__ */ Object.create(null);
3128
3128
  let i = {};
3129
3129
  function u(s) {
3130
- i = Ru(
3130
+ i = Du(
3131
3131
  r[s] || a[s],
3132
3132
  i
3133
3133
  );
3134
3134
  }
3135
- return u(t), n.forEach(u), Ru(e, i);
3135
+ return u(t), n.forEach(u), Du(e, i);
3136
3136
  }
3137
3137
  function Ws(e, t) {
3138
3138
  const n = [];
@@ -3141,10 +3141,10 @@ function Ws(e, t) {
3141
3141
  e.not_found instanceof Array && e.not_found.forEach((a) => {
3142
3142
  t(a, null), n.push(a);
3143
3143
  });
3144
- const r = Df(e);
3144
+ const r = Rf(e);
3145
3145
  for (const a in r) {
3146
3146
  const i = r[a];
3147
- i && (t(a, Rf(e, a, i)), n.push(a));
3147
+ i && (t(a, Df(e, a, i)), n.push(a));
3148
3148
  }
3149
3149
  return n;
3150
3150
  }
@@ -3468,11 +3468,11 @@ function Oi(e) {
3468
3468
  const Ii = /* @__PURE__ */ Object.create(null), qn = [
3469
3469
  "https://api.simplesvg.com",
3470
3470
  "https://api.unisvg.com"
3471
- ], Dr = [];
3471
+ ], Rr = [];
3472
3472
  for (; qn.length > 0; )
3473
- qn.length === 1 || Math.random() > 0.5 ? Dr.push(qn.shift()) : Dr.push(qn.pop());
3473
+ qn.length === 1 || Math.random() > 0.5 ? Rr.push(qn.shift()) : Rr.push(qn.pop());
3474
3474
  Ii[""] = Oi({
3475
- resources: ["https://api.iconify.design"].concat(Dr)
3475
+ resources: ["https://api.iconify.design"].concat(Rr)
3476
3476
  });
3477
3477
  function Zf(e, t) {
3478
3478
  const n = Oi(t);
@@ -3750,7 +3750,7 @@ function fh(e, t, n, r) {
3750
3750
  return;
3751
3751
  }
3752
3752
  if (F) {
3753
- d = G, p.length || (u.length ? R() : w());
3753
+ d = G, p.length || (u.length ? D() : w());
3754
3754
  return;
3755
3755
  }
3756
3756
  if (b(), M(), !e.random) {
@@ -3761,7 +3761,7 @@ function fh(e, t, n, r) {
3761
3761
  te(G);
3762
3762
  });
3763
3763
  }
3764
- function R() {
3764
+ function D() {
3765
3765
  if (l !== "pending")
3766
3766
  return;
3767
3767
  b();
@@ -3783,9 +3783,9 @@ function fh(e, t, n, r) {
3783
3783
  K(N, G, F);
3784
3784
  }
3785
3785
  };
3786
- p.push(N), c++, h = setTimeout(R, e.rotate), n(y, t, N.callback);
3786
+ p.push(N), c++, h = setTimeout(D, e.rotate), n(y, t, N.callback);
3787
3787
  }
3788
- return setTimeout(R), g;
3788
+ return setTimeout(D), g;
3789
3789
  }
3790
3790
  function tl(e) {
3791
3791
  const t = {
@@ -4262,7 +4262,7 @@ function al(e) {
4262
4262
  });
4263
4263
  } else m && ((f = e.onLoad) === null || f === void 0 || f.call(e, b));
4264
4264
  }
4265
- ke(() => (n(!0), l), []), ke(() => {
4265
+ Pe(() => (n(!0), l), []), Pe(() => {
4266
4266
  t && d();
4267
4267
  }, [e.icon, t]);
4268
4268
  const { name: h, data: p } = u;
@@ -4289,11 +4289,11 @@ function ki({
4289
4289
  value: i
4290
4290
  }) {
4291
4291
  var g;
4292
- const u = Je(!1), { conversationScreen: s, primaryColor: l } = se(je), { isConversationLoading: c } = se(wt), { hasError: d, hasNewMessage: h, loading: p, streaming: f } = se(Ze), b = e || c || p || f;
4293
- ke(() => {
4292
+ const u = Ze(!1), { conversationScreen: s, primaryColor: l } = se(je), { isConversationLoading: c } = se(wt), { hasError: d, hasNewMessage: h, loading: p, streaming: f } = se(Je), b = e || c || p || f;
4293
+ Pe(() => {
4294
4294
  var w;
4295
4295
  u.current && !b && ((w = a.current) == null || w.focus()), u.current = b;
4296
- }, [b, a]), ke(() => {
4296
+ }, [b, a]), Pe(() => {
4297
4297
  var w;
4298
4298
  (d || h) && ((w = a.current) == null || w.focus());
4299
4299
  }, [h, d, a]);
@@ -4364,8 +4364,8 @@ ki.propTypes = {
4364
4364
  value: x.string.isRequired
4365
4365
  };
4366
4366
  const ui = ({ content: e = "Please try again later." }) => {
4367
- const t = Je(null);
4368
- return ke(() => {
4367
+ const t = Ze(null);
4368
+ return Pe(() => {
4369
4369
  var n;
4370
4370
  (n = t.current) == null || n.scrollIntoView({
4371
4371
  behavior: "instant"
@@ -4472,7 +4472,7 @@ il.propTypes = {
4472
4472
  message: x.shape().isRequired,
4473
4473
  onFeedbackThumbSelection: x.func.isRequired
4474
4474
  };
4475
- const Dh = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20height='24'%20viewBox='0%20-960%20960%20960'%20width='24'%3e%3cpath%20d='M440-120v-80h320v-284q0-117-81.5-198.5T480-764q-117%200-198.5%2081.5T200-484v244h-40q-33%200-56.5-23.5T80-320v-80q0-21%2010.5-39.5T120-469l3-53q8-68%2039.5-126t79-101q47.5-43%20109-67T480-840q68%200%20129%2024t109%2066.5Q766-707%20797-649t40%20126l3%2052q19%209%2029.5%2027t10.5%2038v92q0%2020-10.5%2038T840-249v49q0%2033-23.5%2056.5T760-120H440Zm-80-280q-17%200-28.5-11.5T320-440q0-17%2011.5-28.5T360-480q17%200%2028.5%2011.5T400-440q0%2017-11.5%2028.5T360-400Zm240%200q-17%200-28.5-11.5T560-440q0-17%2011.5-28.5T600-480q17%200%2028.5%2011.5T640-440q0%2017-11.5%2028.5T600-400Zm-359-62q-7-106%2064-182t177-76q89%200%20156.5%2056.5T720-519q-91-1-167.5-49T435-698q-16%2080-67.5%20142.5T241-462Z'/%3e%3c/svg%3e";
4475
+ const Rh = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20height='24'%20viewBox='0%20-960%20960%20960'%20width='24'%3e%3cpath%20d='M440-120v-80h320v-284q0-117-81.5-198.5T480-764q-117%200-198.5%2081.5T200-484v244h-40q-33%200-56.5-23.5T80-320v-80q0-21%2010.5-39.5T120-469l3-53q8-68%2039.5-126t79-101q47.5-43%20109-67T480-840q68%200%20129%2024t109%2066.5Q766-707%20797-649t40%20126l3%2052q19%209%2029.5%2027t10.5%2038v92q0%2020-10.5%2038T840-249v49q0%2033-23.5%2056.5T760-120H440Zm-80-280q-17%200-28.5-11.5T320-440q0-17%2011.5-28.5T360-480q17%200%2028.5%2011.5T400-440q0%2017-11.5%2028.5T360-400Zm240%200q-17%200-28.5-11.5T560-440q0-17%2011.5-28.5T600-480q17%200%2028.5%2011.5T640-440q0%2017-11.5%2028.5T600-400Zm-359-62q-7-106%2064-182t177-76q89%200%20156.5%2056.5T720-519q-91-1-167.5-49T435-698q-16%2080-67.5%20142.5T241-462Z'/%3e%3c/svg%3e";
4476
4476
  function Li({
4477
4477
  buttonClassName: e = null,
4478
4478
  containerStyle: t = null,
@@ -4485,30 +4485,30 @@ function Li({
4485
4485
  }) {
4486
4486
  var g, w, M, K;
4487
4487
  const [l, c] = de(!0), { primaryColor: d, id: h, userTracking: p, conversationScreen: f } = se(je), b = pt(
4488
- (R) => {
4488
+ (D) => {
4489
4489
  var y, N, G, F;
4490
- ((y = R == null ? void 0 : R.data) == null ? void 0 : y.who) === "customer" && (!(window != null && window.OnetrustActiveGroups) || (N = window == null ? void 0 : window.OnetrustActiveGroups) != null && N.includes("C0003")) && rt.set(`${h}-live-chat-open`, 1, {
4490
+ ((y = D == null ? void 0 : D.data) == null ? void 0 : y.who) === "customer" && (!(window != null && window.OnetrustActiveGroups) || (N = window == null ? void 0 : window.OnetrustActiveGroups) != null && N.includes("C0003")) && rt.set(`${h}-live-chat-open`, 1, {
4491
4491
  expires: 1,
4492
4492
  path: "/"
4493
- }), ((G = R == null ? void 0 : R.data) == null ? void 0 : G.type) === "connection" && ((F = R == null ? void 0 : R.data) == null ? void 0 : F.state) === "disconnected" && rt.remove(`${h}-live-chat-open`);
4493
+ }), ((G = D == null ? void 0 : D.data) == null ? void 0 : G.type) === "connection" && ((F = D == null ? void 0 : D.data) == null ? void 0 : F.state) === "disconnected" && rt.remove(`${h}-live-chat-open`);
4494
4494
  },
4495
4495
  [h]
4496
4496
  ), m = pt(
4497
- (R) => {
4497
+ (D) => {
4498
4498
  var y, N, G, F;
4499
- ((y = R == null ? void 0 : R.data) == null ? void 0 : y.type) === "unhide" && ((N = R == null ? void 0 : R.data) == null ? void 0 : N.reason) === "pop-out" && a(!0), ((G = R == null ? void 0 : R.data) == null ? void 0 : G.type) === "open" && ((F = R == null ? void 0 : R.data) == null ? void 0 : F.chatState) === !0 && a(!0);
4499
+ ((y = D == null ? void 0 : D.data) == null ? void 0 : y.type) === "unhide" && ((N = D == null ? void 0 : D.data) == null ? void 0 : N.reason) === "pop-out" && a(!0), ((G = D == null ? void 0 : D.data) == null ? void 0 : G.type) === "open" && ((F = D == null ? void 0 : D.data) == null ? void 0 : F.chatState) === !0 && a(!0);
4500
4500
  },
4501
4501
  [a]
4502
4502
  );
4503
- ke(() => {
4503
+ Pe(() => {
4504
4504
  var N, G, F, te;
4505
- let R, y;
4505
+ let D, y;
4506
4506
  return (N = f == null ? void 0 : f.liveChat) != null && N.useOwnChat && (y = setTimeout(() => {
4507
4507
  c(!1);
4508
- }, 3e3)), (G = f == null ? void 0 : f.liveChat) != null && G.enabled && !((F = f == null ? void 0 : f.liveChat) != null && F.useOwnChat) && (window.Five9ChatPlugin || (R = document.createElement("script"), R.type = "text/javascript", R.src = (te = f == null ? void 0 : f.liveChat) == null ? void 0 : te.sourceCode, R.async = !0, R.onload = () => {
4508
+ }, 3e3)), (G = f == null ? void 0 : f.liveChat) != null && G.enabled && !((F = f == null ? void 0 : f.liveChat) != null && F.useOwnChat) && (window.Five9ChatPlugin || (D = document.createElement("script"), D.type = "text/javascript", D.src = (te = f == null ? void 0 : f.liveChat) == null ? void 0 : te.sourceCode, D.async = !0, D.onload = () => {
4509
4509
  var z;
4510
4510
  window.Five9ChatPlugin((z = f == null ? void 0 : f.liveChat) == null ? void 0 : z.options);
4511
- }, document.body.appendChild(R)), window.addEventListener("message", b), window.addEventListener("message", m), y = setTimeout(() => {
4511
+ }, document.body.appendChild(D)), window.addEventListener("message", b), window.addEventListener("message", m), y = setTimeout(() => {
4512
4512
  c(!1);
4513
4513
  }, 3e3)), () => {
4514
4514
  var z;
@@ -4523,7 +4523,7 @@ function Li({
4523
4523
  m
4524
4524
  ]);
4525
4525
  const _ = () => {
4526
- var R;
4526
+ var D;
4527
4527
  i({
4528
4528
  name: `${p == null ? void 0 : p.prefix}.bi.xpert.chatbot.popup.live.chat.${s}`,
4529
4529
  payload: {
@@ -4531,7 +4531,7 @@ function Li({
4531
4531
  label: "xpert-chatbot",
4532
4532
  isTestUser: r
4533
4533
  }
4534
- }), a(!0), (R = f == null ? void 0 : f.liveChat) != null && R.useOwnChat || window.f9_postMessage({ type: "toggle" });
4534
+ }), a(!0), (D = f == null ? void 0 : f.liveChat) != null && D.useOwnChat || window.f9_postMessage({ type: "toggle" });
4535
4535
  };
4536
4536
  return /* @__PURE__ */ v.jsxs("div", { title: "Talk to a live agent at anytime.", style: t, children: [
4537
4537
  l && n && /* @__PURE__ */ v.jsxs("div", { className: "xpert-chatbot-popup__live-chat--message", children: [
@@ -4558,7 +4558,7 @@ function Li({
4558
4558
  {
4559
4559
  height: "24px",
4560
4560
  width: "24px",
4561
- src: Dh,
4561
+ src: Rh,
4562
4562
  alt: "Open live chat window icon"
4563
4563
  }
4564
4564
  ),
@@ -4579,7 +4579,7 @@ Li.propTypes = {
4579
4579
  userTrackingName: x.string
4580
4580
  };
4581
4581
  const $u = ["http", "https", "mailto", "tel"];
4582
- function Rh(e) {
4582
+ function Dh(e) {
4583
4583
  const t = (e || "").trim(), n = t.charAt(0);
4584
4584
  if (n === "#" || n === "/")
4585
4585
  return t;
@@ -5158,7 +5158,7 @@ function ll() {
5158
5158
  return m.data(Zu(!0, {}, n)), m;
5159
5159
  }
5160
5160
  function u(m, _) {
5161
- return typeof m == "string" ? arguments.length === 2 ? (Da("data", r), n[m] = _, i) : sl.call(n, m) && n[m] || null : m ? (Da("data", r), n = m, i) : n;
5161
+ return typeof m == "string" ? arguments.length === 2 ? (Ra("data", r), n[m] = _, i) : sl.call(n, m) && n[m] || null : m ? (Ra("data", r), n = m, i) : n;
5162
5162
  }
5163
5163
  function s() {
5164
5164
  if (r)
@@ -5175,8 +5175,8 @@ function ll() {
5175
5175
  }
5176
5176
  function l(m, ..._) {
5177
5177
  let g;
5178
- if (Da("use", r), m != null) if (typeof m == "function")
5179
- R(m, ..._);
5178
+ if (Ra("use", r), m != null) if (typeof m == "function")
5179
+ D(m, ..._);
5180
5180
  else if (typeof m == "object")
5181
5181
  Array.isArray(m) ? K(m) : M(m);
5182
5182
  else
@@ -5184,11 +5184,11 @@ function ll() {
5184
5184
  return g && (n.settings = Object.assign(n.settings || {}, g)), i;
5185
5185
  function w(y) {
5186
5186
  if (typeof y == "function")
5187
- R(y);
5187
+ D(y);
5188
5188
  else if (typeof y == "object")
5189
5189
  if (Array.isArray(y)) {
5190
5190
  const [N, ...G] = y;
5191
- R(N, ...G);
5191
+ D(N, ...G);
5192
5192
  } else
5193
5193
  M(y);
5194
5194
  else
@@ -5207,7 +5207,7 @@ function ll() {
5207
5207
  else
5208
5208
  throw new TypeError("Expected a list of plugins, not `" + y + "`");
5209
5209
  }
5210
- function R(y, N) {
5210
+ function D(y, N) {
5211
5211
  let G = -1, F;
5212
5212
  for (; ++G < t.length; )
5213
5213
  if (t[G][0] === y) {
@@ -5232,8 +5232,8 @@ function ll() {
5232
5232
  return new Promise(w);
5233
5233
  w(null, g);
5234
5234
  function w(M, K) {
5235
- e.run(m, Yn(_), R);
5236
- function R(y, N, G) {
5235
+ e.run(m, Yn(_), D);
5236
+ function D(y, N, G) {
5237
5237
  N = N || m, y ? K(y) : M ? M(N) : g(null, N, G);
5238
5238
  }
5239
5239
  }
@@ -5241,8 +5241,8 @@ function ll() {
5241
5241
  function p(m, _) {
5242
5242
  let g, w;
5243
5243
  return i.run(m, _, M), to("runSync", "run", w), g;
5244
- function M(K, R) {
5245
- Ku(K), g = R, w = !0;
5244
+ function M(K, D) {
5245
+ Ku(K), g = D, w = !0;
5246
5246
  }
5247
5247
  }
5248
5248
  function f(m, _) {
@@ -5253,13 +5253,13 @@ function ll() {
5253
5253
  const K = Yn(m);
5254
5254
  i.run(i.parse(K), K, (y, N, G) => {
5255
5255
  if (y || !N || !G)
5256
- R(y);
5256
+ D(y);
5257
5257
  else {
5258
5258
  const F = i.stringify(N, G);
5259
- F == null || (tp(F) ? G.value = F : G.result = F), R(y, G);
5259
+ F == null || (tp(F) ? G.value = F : G.result = F), D(y, G);
5260
5260
  }
5261
5261
  });
5262
- function R(y, N) {
5262
+ function D(y, N) {
5263
5263
  y || !N ? M(y) : w ? w(N) : _(null, N);
5264
5264
  }
5265
5265
  }
@@ -5298,7 +5298,7 @@ function wa(e, t) {
5298
5298
  if (typeof t != "function")
5299
5299
  throw new TypeError("Cannot `" + e + "` without `Compiler`");
5300
5300
  }
5301
- function Da(e, t) {
5301
+ function Ra(e, t) {
5302
5302
  if (t)
5303
5303
  throw new Error(
5304
5304
  "Cannot call `" + e + "` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`."
@@ -5418,7 +5418,7 @@ function Xt(e) {
5418
5418
  return n !== null && e.test(String.fromCharCode(n));
5419
5419
  }
5420
5420
  }
5421
- function Pe(e, t, n, r) {
5421
+ function De(e, t, n, r) {
5422
5422
  const a = r ? r - 1 : Number.POSITIVE_INFINITY;
5423
5423
  let i = 0;
5424
5424
  return u;
@@ -5445,7 +5445,7 @@ function mp(e) {
5445
5445
  e.consume(s);
5446
5446
  return;
5447
5447
  }
5448
- return e.enter("lineEnding"), e.consume(s), e.exit("lineEnding"), Pe(e, t, "linePrefix");
5448
+ return e.enter("lineEnding"), e.consume(s), e.exit("lineEnding"), De(e, t, "linePrefix");
5449
5449
  }
5450
5450
  function a(s) {
5451
5451
  return e.enter("paragraph"), i(s);
@@ -5489,10 +5489,10 @@ function bp(e) {
5489
5489
  if (r++, t.containerState._closeFlow) {
5490
5490
  t.containerState._closeFlow = void 0, a && w();
5491
5491
  const K = t.events.length;
5492
- let R = K, y;
5493
- for (; R--; )
5494
- if (t.events[R][0] === "exit" && t.events[R][1].type === "chunkFlow") {
5495
- y = t.events[R][1].end;
5492
+ let D = K, y;
5493
+ for (; D--; )
5494
+ if (t.events[D][0] === "exit" && t.events[D][1].type === "chunkFlow") {
5495
+ y = t.events[D][1].end;
5496
5496
  break;
5497
5497
  }
5498
5498
  g(r);
@@ -5501,7 +5501,7 @@ function bp(e) {
5501
5501
  t.events[N][1].end = Object.assign({}, y), N++;
5502
5502
  return kt(
5503
5503
  t.events,
5504
- R + 1,
5504
+ D + 1,
5505
5505
  0,
5506
5506
  t.events.slice(K)
5507
5507
  ), t.events.length = N, c(M);
@@ -5557,8 +5557,8 @@ function bp(e) {
5557
5557
  return ce(M) ? (e.consume(M), _(e.exit("chunkFlow")), r = 0, t.interrupt = void 0, s) : (e.consume(M), m);
5558
5558
  }
5559
5559
  function _(M, K) {
5560
- const R = t.sliceStream(M);
5561
- if (K && R.push(null), M.previous = i, i && (i.next = M), i = M, a.defineSkip(M.start), a.write(R), t.parser.lazy[M.start.line]) {
5560
+ const D = t.sliceStream(M);
5561
+ if (K && D.push(null), M.previous = i, i && (i.next = M), i = M, a.defineSkip(M.start), a.write(D), t.parser.lazy[M.start.line]) {
5562
5562
  let y = a.events.length;
5563
5563
  for (; y--; )
5564
5564
  if (
@@ -5591,8 +5591,8 @@ function bp(e) {
5591
5591
  function g(M) {
5592
5592
  let K = n.length;
5593
5593
  for (; K-- > M; ) {
5594
- const R = n[K];
5595
- t.containerState = R[1], R[0].exit.call(t, e);
5594
+ const D = n[K];
5595
+ t.containerState = D[1], D[0].exit.call(t, e);
5596
5596
  }
5597
5597
  n.length = M;
5598
5598
  }
@@ -5601,7 +5601,7 @@ function bp(e) {
5601
5601
  }
5602
5602
  }
5603
5603
  function Ep(e, t, n) {
5604
- return Pe(
5604
+ return De(
5605
5605
  e,
5606
5606
  e.attempt(this.parser.constructs.document, t, n),
5607
5607
  "linePrefix",
@@ -5749,7 +5749,7 @@ const Qr = {
5749
5749
  function Ap(e, t, n) {
5750
5750
  return r;
5751
5751
  function r(i) {
5752
- return Se(i) ? Pe(e, a, "linePrefix")(i) : a(i);
5752
+ return Se(i) ? De(e, a, "linePrefix")(i) : a(i);
5753
5753
  }
5754
5754
  function a(i) {
5755
5755
  return i === null || ce(i) ? t(i) : n(i);
@@ -5783,7 +5783,7 @@ function xp(e, t, n) {
5783
5783
  const r = this;
5784
5784
  return a;
5785
5785
  function a(u) {
5786
- return Se(u) ? Pe(
5786
+ return Se(u) ? De(
5787
5787
  e,
5788
5788
  i,
5789
5789
  "linePrefix",
@@ -5811,7 +5811,7 @@ function Op(e, t, n) {
5811
5811
  }
5812
5812
  }
5813
5813
  const oo = document.createElement("i");
5814
- function Di(e) {
5814
+ function Ri(e) {
5815
5815
  const t = "&" + e + ";";
5816
5816
  oo.innerHTML = t;
5817
5817
  const n = oo.textContent;
@@ -5841,7 +5841,7 @@ function Ip(e, t, n) {
5841
5841
  function d(h) {
5842
5842
  if (h === 59 && a) {
5843
5843
  const p = e.exit("characterReferenceValue");
5844
- return u === mt && !Di(r.sliceSerialize(p)) ? n(h) : (e.enter("characterReferenceMarker"), e.consume(h), e.exit("characterReferenceMarker"), e.exit("characterReference"), t);
5844
+ return u === mt && !Ri(r.sliceSerialize(p)) ? n(h) : (e.enter("characterReferenceMarker"), e.consume(h), e.exit("characterReferenceMarker"), e.exit("characterReference"), t);
5845
5845
  }
5846
5846
  return u(h) && a++ < i ? (e.consume(h), d) : n(h);
5847
5847
  }
@@ -5856,7 +5856,7 @@ const so = {
5856
5856
  };
5857
5857
  function Np(e, t, n) {
5858
5858
  const r = this, a = {
5859
- tokenize: R,
5859
+ tokenize: D,
5860
5860
  partial: !0
5861
5861
  };
5862
5862
  let i = 0, u = 0, s;
@@ -5869,7 +5869,7 @@ function Np(e, t, n) {
5869
5869
  return i = N && N[1].type === "linePrefix" ? N[2].sliceSerialize(N[1], !0).length : 0, s = y, e.enter("codeFenced"), e.enter("codeFencedFence"), e.enter("codeFencedFenceSequence"), d(y);
5870
5870
  }
5871
5871
  function d(y) {
5872
- return y === s ? (u++, e.consume(y), d) : u < 3 ? n(y) : (e.exit("codeFencedFenceSequence"), Se(y) ? Pe(e, h, "whitespace")(y) : h(y));
5872
+ return y === s ? (u++, e.consume(y), d) : u < 3 ? n(y) : (e.exit("codeFencedFenceSequence"), Se(y) ? De(e, h, "whitespace")(y) : h(y));
5873
5873
  }
5874
5874
  function h(y) {
5875
5875
  return y === null || ce(y) ? (e.exit("codeFencedFence"), r.interrupt ? t(y) : e.check(so, m, K)(y)) : (e.enter("codeFencedFenceInfo"), e.enter("chunkString", {
@@ -5877,7 +5877,7 @@ function Np(e, t, n) {
5877
5877
  }), p(y));
5878
5878
  }
5879
5879
  function p(y) {
5880
- return y === null || ce(y) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), h(y)) : Se(y) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), Pe(e, f, "whitespace")(y)) : y === 96 && y === s ? n(y) : (e.consume(y), p);
5880
+ return y === null || ce(y) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), h(y)) : Se(y) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), De(e, f, "whitespace")(y)) : y === 96 && y === s ? n(y) : (e.consume(y), p);
5881
5881
  }
5882
5882
  function f(y) {
5883
5883
  return y === null || ce(y) ? h(y) : (e.enter("codeFencedFenceMeta"), e.enter("chunkString", {
@@ -5894,7 +5894,7 @@ function Np(e, t, n) {
5894
5894
  return e.enter("lineEnding"), e.consume(y), e.exit("lineEnding"), g;
5895
5895
  }
5896
5896
  function g(y) {
5897
- return i > 0 && Se(y) ? Pe(
5897
+ return i > 0 && Se(y) ? De(
5898
5898
  e,
5899
5899
  w,
5900
5900
  "linePrefix",
@@ -5910,28 +5910,28 @@ function Np(e, t, n) {
5910
5910
  function K(y) {
5911
5911
  return e.exit("codeFenced"), t(y);
5912
5912
  }
5913
- function R(y, N, G) {
5913
+ function D(y, N, G) {
5914
5914
  let F = 0;
5915
5915
  return te;
5916
- function te(D) {
5917
- return y.enter("lineEnding"), y.consume(D), y.exit("lineEnding"), z;
5916
+ function te(R) {
5917
+ return y.enter("lineEnding"), y.consume(R), y.exit("lineEnding"), z;
5918
5918
  }
5919
- function z(D) {
5920
- return y.enter("codeFencedFence"), Se(D) ? Pe(
5919
+ function z(R) {
5920
+ return y.enter("codeFencedFence"), Se(R) ? De(
5921
5921
  y,
5922
5922
  V,
5923
5923
  "linePrefix",
5924
5924
  r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4
5925
- )(D) : V(D);
5925
+ )(R) : V(R);
5926
5926
  }
5927
- function V(D) {
5928
- return D === s ? (y.enter("codeFencedFenceSequence"), L(D)) : G(D);
5927
+ function V(R) {
5928
+ return R === s ? (y.enter("codeFencedFenceSequence"), L(R)) : G(R);
5929
5929
  }
5930
- function L(D) {
5931
- return D === s ? (F++, y.consume(D), L) : F >= u ? (y.exit("codeFencedFenceSequence"), Se(D) ? Pe(y, I, "whitespace")(D) : I(D)) : G(D);
5930
+ function L(R) {
5931
+ return R === s ? (F++, y.consume(R), L) : F >= u ? (y.exit("codeFencedFenceSequence"), Se(R) ? De(y, I, "whitespace")(R) : I(R)) : G(R);
5932
5932
  }
5933
- function I(D) {
5934
- return D === null || ce(D) ? (y.exit("codeFencedFence"), N(D)) : G(D);
5933
+ function I(R) {
5934
+ return R === null || ce(R) ? (y.exit("codeFencedFence"), N(R)) : G(R);
5935
5935
  }
5936
5936
  }
5937
5937
  }
@@ -5945,18 +5945,18 @@ function kp(e, t, n) {
5945
5945
  return r.parser.lazy[r.now().line] ? n(u) : t(u);
5946
5946
  }
5947
5947
  }
5948
- const Ra = {
5948
+ const Da = {
5949
5949
  name: "codeIndented",
5950
5950
  tokenize: wp
5951
5951
  }, Lp = {
5952
- tokenize: Dp,
5952
+ tokenize: Rp,
5953
5953
  partial: !0
5954
5954
  };
5955
5955
  function wp(e, t, n) {
5956
5956
  const r = this;
5957
5957
  return a;
5958
5958
  function a(c) {
5959
- return e.enter("codeIndented"), Pe(e, i, "linePrefix", 5)(c);
5959
+ return e.enter("codeIndented"), De(e, i, "linePrefix", 5)(c);
5960
5960
  }
5961
5961
  function i(c) {
5962
5962
  const d = r.events[r.events.length - 1];
@@ -5972,18 +5972,18 @@ function wp(e, t, n) {
5972
5972
  return e.exit("codeIndented"), t(c);
5973
5973
  }
5974
5974
  }
5975
- function Dp(e, t, n) {
5975
+ function Rp(e, t, n) {
5976
5976
  const r = this;
5977
5977
  return a;
5978
5978
  function a(u) {
5979
- return r.parser.lazy[r.now().line] ? n(u) : ce(u) ? (e.enter("lineEnding"), e.consume(u), e.exit("lineEnding"), a) : Pe(e, i, "linePrefix", 5)(u);
5979
+ return r.parser.lazy[r.now().line] ? n(u) : ce(u) ? (e.enter("lineEnding"), e.consume(u), e.exit("lineEnding"), a) : De(e, i, "linePrefix", 5)(u);
5980
5980
  }
5981
5981
  function i(u) {
5982
5982
  const s = r.events[r.events.length - 1];
5983
5983
  return s && s[1].type === "linePrefix" && s[2].sliceSerialize(s[1], !0).length >= 4 ? t(u) : ce(u) ? a(u) : n(u);
5984
5984
  }
5985
5985
  }
5986
- const Rp = {
5986
+ const Dp = {
5987
5987
  name: "codeText",
5988
5988
  tokenize: Fp,
5989
5989
  resolve: Pp,
@@ -6104,7 +6104,7 @@ function zp(e, t, n) {
6104
6104
  const r = this;
6105
6105
  return a;
6106
6106
  function a(u) {
6107
- return e.exit("chunkContent"), e.enter("lineEnding"), e.consume(u), e.exit("lineEnding"), Pe(e, i, "linePrefix");
6107
+ return e.exit("chunkContent"), e.enter("lineEnding"), e.consume(u), e.exit("lineEnding"), De(e, i, "linePrefix");
6108
6108
  }
6109
6109
  function i(u) {
6110
6110
  if (u === null || ce(u))
@@ -6174,7 +6174,7 @@ function bl(e, t, n, r, a, i) {
6174
6174
  return p === u ? (e.enter(a), e.consume(p), e.exit(a), e.exit(r), t) : (e.enter(i), c(p));
6175
6175
  }
6176
6176
  function c(p) {
6177
- return p === u ? (e.exit(i), l(u)) : p === null ? n(p) : ce(p) ? (e.enter("lineEnding"), e.consume(p), e.exit("lineEnding"), Pe(e, c, "linePrefix")) : (e.enter("chunkString", {
6177
+ return p === u ? (e.exit(i), l(u)) : p === null ? n(p) : ce(p) ? (e.enter("lineEnding"), e.consume(p), e.exit("lineEnding"), De(e, c, "linePrefix")) : (e.enter("chunkString", {
6178
6178
  contentType: "string"
6179
6179
  }), d(p));
6180
6180
  }
@@ -6189,7 +6189,7 @@ function tr(e, t) {
6189
6189
  let n;
6190
6190
  return r;
6191
6191
  function r(a) {
6192
- return ce(a) ? (e.enter("lineEnding"), e.consume(a), e.exit("lineEnding"), n = !0, r) : Se(a) ? Pe(
6192
+ return ce(a) ? (e.enter("lineEnding"), e.consume(a), e.exit("lineEnding"), n = !0, r) : Se(a) ? De(
6193
6193
  e,
6194
6194
  r,
6195
6195
  n ? "linePrefix" : "lineSuffix"
@@ -6250,7 +6250,7 @@ function Vp(e, t, n) {
6250
6250
  return e.attempt($p, h, h)(f);
6251
6251
  }
6252
6252
  function h(f) {
6253
- return Se(f) ? Pe(e, p, "whitespace")(f) : p(f);
6253
+ return Se(f) ? De(e, p, "whitespace")(f) : p(f);
6254
6254
  }
6255
6255
  function p(f) {
6256
6256
  return f === null || ce(f) ? (e.exit("definition"), r.parser.defined.push(a), t(f)) : n(f);
@@ -6272,7 +6272,7 @@ function Wp(e, t, n) {
6272
6272
  )(s);
6273
6273
  }
6274
6274
  function i(s) {
6275
- return Se(s) ? Pe(e, u, "whitespace")(s) : u(s);
6275
+ return Se(s) ? De(e, u, "whitespace")(s) : u(s);
6276
6276
  }
6277
6277
  function u(s) {
6278
6278
  return s === null || ce(s) ? t(s) : n(s);
@@ -6327,7 +6327,7 @@ function Zp(e, t, n) {
6327
6327
  return d === 35 && r++ < 6 ? (e.consume(d), u) : d === null || at(d) ? (e.exit("atxHeadingSequence"), s(d)) : n(d);
6328
6328
  }
6329
6329
  function s(d) {
6330
- return d === 35 ? (e.enter("atxHeadingSequence"), l(d)) : d === null || ce(d) ? (e.exit("atxHeading"), t(d)) : Se(d) ? Pe(e, s, "whitespace")(d) : (e.enter("atxHeadingText"), c(d));
6330
+ return d === 35 ? (e.enter("atxHeadingSequence"), l(d)) : d === null || ce(d) ? (e.exit("atxHeading"), t(d)) : Se(d) ? De(e, s, "whitespace")(d) : (e.enter("atxHeadingText"), c(d));
6331
6331
  }
6332
6332
  function l(d) {
6333
6333
  return d === 35 ? (e.consume(d), l) : (e.exit("atxHeadingSequence"), s(d));
@@ -6460,10 +6460,10 @@ function a1(e, t, n) {
6460
6460
  return S === 47 ? (e.consume(S), te) : S === 58 || S === 95 || Ot(S) ? (e.consume(S), K) : Se(S) ? (e.consume(S), M) : te(S);
6461
6461
  }
6462
6462
  function K(S) {
6463
- return S === 45 || S === 46 || S === 58 || S === 95 || mt(S) ? (e.consume(S), K) : R(S);
6463
+ return S === 45 || S === 46 || S === 58 || S === 95 || mt(S) ? (e.consume(S), K) : D(S);
6464
6464
  }
6465
- function R(S) {
6466
- return S === 61 ? (e.consume(S), y) : Se(S) ? (e.consume(S), R) : M(S);
6465
+ function D(S) {
6466
+ return S === 61 ? (e.consume(S), y) : Se(S) ? (e.consume(S), D) : M(S);
6467
6467
  }
6468
6468
  function y(S) {
6469
6469
  return S === null || S === 60 || S === 61 || S === 62 || S === 96 ? n(S) : S === 34 || S === 39 ? (e.consume(S), l = S, N) : Se(S) ? (e.consume(S), y) : G(S);
@@ -6472,7 +6472,7 @@ function a1(e, t, n) {
6472
6472
  return S === l ? (e.consume(S), l = null, F) : S === null || ce(S) ? n(S) : (e.consume(S), N);
6473
6473
  }
6474
6474
  function G(S) {
6475
- return S === null || S === 34 || S === 39 || S === 47 || S === 60 || S === 61 || S === 62 || S === 96 || at(S) ? R(S) : (e.consume(S), G);
6475
+ return S === null || S === 34 || S === 39 || S === 47 || S === 60 || S === 61 || S === 62 || S === 96 || at(S) ? D(S) : (e.consume(S), G);
6476
6476
  }
6477
6477
  function F(S) {
6478
6478
  return S === 47 || S === 62 || Se(S) ? M(S) : n(S);
@@ -6498,9 +6498,9 @@ function a1(e, t, n) {
6498
6498
  )(S);
6499
6499
  }
6500
6500
  function I(S) {
6501
- return e.enter("lineEnding"), e.consume(S), e.exit("lineEnding"), D;
6501
+ return e.enter("lineEnding"), e.consume(S), e.exit("lineEnding"), R;
6502
6502
  }
6503
- function D(S) {
6503
+ function R(S) {
6504
6504
  return S === null || ce(S) ? L(S) : (e.enter("htmlFlowData"), V(S));
6505
6505
  }
6506
6506
  function U(S) {
@@ -6557,7 +6557,7 @@ function s1(e, t, n) {
6557
6557
  return e.enter("htmlText"), e.enter("htmlTextData"), e.consume(T), l;
6558
6558
  }
6559
6559
  function l(T) {
6560
- return T === 33 ? (e.consume(T), c) : T === 47 ? (e.consume(T), R) : T === 63 ? (e.consume(T), M) : Ot(T) ? (e.consume(T), G) : n(T);
6560
+ return T === 33 ? (e.consume(T), c) : T === 47 ? (e.consume(T), D) : T === 63 ? (e.consume(T), M) : Ot(T) ? (e.consume(T), G) : n(T);
6561
6561
  }
6562
6562
  function c(T) {
6563
6563
  return T === 45 ? (e.consume(T), d) : T === 91 ? (e.consume(T), i = 0, b) : Ot(T) ? (e.consume(T), w) : n(T);
@@ -6596,7 +6596,7 @@ function s1(e, t, n) {
6596
6596
  function K(T) {
6597
6597
  return T === 62 ? U(T) : M(T);
6598
6598
  }
6599
- function R(T) {
6599
+ function D(T) {
6600
6600
  return Ot(T) ? (e.consume(T), y) : n(T);
6601
6601
  }
6602
6602
  function y(T) {
@@ -6621,12 +6621,12 @@ function s1(e, t, n) {
6621
6621
  return T === null || T === 60 || T === 61 || T === 62 || T === 96 ? n(T) : T === 34 || T === 39 ? (e.consume(T), a = T, L) : ce(T) ? (u = V, W(T)) : Se(T) ? (e.consume(T), V) : (e.consume(T), I);
6622
6622
  }
6623
6623
  function L(T) {
6624
- return T === a ? (e.consume(T), a = void 0, D) : T === null ? n(T) : ce(T) ? (u = L, W(T)) : (e.consume(T), L);
6624
+ return T === a ? (e.consume(T), a = void 0, R) : T === null ? n(T) : ce(T) ? (u = L, W(T)) : (e.consume(T), L);
6625
6625
  }
6626
6626
  function I(T) {
6627
6627
  return T === null || T === 34 || T === 39 || T === 60 || T === 61 || T === 96 ? n(T) : T === 47 || T === 62 || at(T) ? F(T) : (e.consume(T), I);
6628
6628
  }
6629
- function D(T) {
6629
+ function R(T) {
6630
6630
  return T === 47 || T === 62 || at(T) ? F(T) : n(T);
6631
6631
  }
6632
6632
  function U(T) {
@@ -6636,7 +6636,7 @@ function s1(e, t, n) {
6636
6636
  return e.exit("htmlTextData"), e.enter("lineEnding"), e.consume(T), e.exit("lineEnding"), j;
6637
6637
  }
6638
6638
  function j(T) {
6639
- return Se(T) ? Pe(
6639
+ return Se(T) ? De(
6640
6640
  e,
6641
6641
  Y,
6642
6642
  "linePrefix",
@@ -6647,7 +6647,7 @@ function s1(e, t, n) {
6647
6647
  return e.enter("htmlTextData"), u(T);
6648
6648
  }
6649
6649
  }
6650
- const Ri = {
6650
+ const Di = {
6651
6651
  name: "labelEnd",
6652
6652
  tokenize: p1,
6653
6653
  resolveTo: h1,
@@ -6835,7 +6835,7 @@ function b1(e, t, n) {
6835
6835
  const E1 = {
6836
6836
  name: "labelStartImage",
6837
6837
  tokenize: T1,
6838
- resolveAll: Ri.resolveAll
6838
+ resolveAll: Di.resolveAll
6839
6839
  };
6840
6840
  function T1(e, t, n) {
6841
6841
  const r = this;
@@ -6853,7 +6853,7 @@ function T1(e, t, n) {
6853
6853
  const y1 = {
6854
6854
  name: "labelStartLink",
6855
6855
  tokenize: _1,
6856
- resolveAll: Ri.resolveAll
6856
+ resolveAll: Di.resolveAll
6857
6857
  };
6858
6858
  function _1(e, t, n) {
6859
6859
  const r = this;
@@ -6872,10 +6872,10 @@ const Pa = {
6872
6872
  function C1(e, t) {
6873
6873
  return n;
6874
6874
  function n(r) {
6875
- return e.enter("lineEnding"), e.consume(r), e.exit("lineEnding"), Pe(e, t, "linePrefix");
6875
+ return e.enter("lineEnding"), e.consume(r), e.exit("lineEnding"), De(e, t, "linePrefix");
6876
6876
  }
6877
6877
  }
6878
- const Rr = {
6878
+ const Dr = {
6879
6879
  name: "thematicBreak",
6880
6880
  tokenize: A1
6881
6881
  };
@@ -6892,7 +6892,7 @@ function A1(e, t, n) {
6892
6892
  return c === a ? (e.enter("thematicBreakSequence"), l(c)) : r >= 3 && (c === null || ce(c)) ? (e.exit("thematicBreak"), t(c)) : n(c);
6893
6893
  }
6894
6894
  function l(c) {
6895
- return c === a ? (e.consume(c), r++, l) : (e.exit("thematicBreakSequence"), Se(c) ? Pe(e, s, "whitespace")(c) : s(c));
6895
+ return c === a ? (e.consume(c), r++, l) : (e.exit("thematicBreakSequence"), Se(c) ? De(e, s, "whitespace")(c) : s(c));
6896
6896
  }
6897
6897
  }
6898
6898
  const nt = {
@@ -6919,7 +6919,7 @@ function v1(e, t, n) {
6919
6919
  if (r.containerState.type || (r.containerState.type = b, e.enter(b, {
6920
6920
  _container: !0
6921
6921
  })), b === "listUnordered")
6922
- return e.enter("listItemPrefix"), f === 42 || f === 45 ? e.check(Rr, n, c)(f) : c(f);
6922
+ return e.enter("listItemPrefix"), f === 42 || f === 45 ? e.check(Dr, n, c)(f) : c(f);
6923
6923
  if (!r.interrupt || f === 49)
6924
6924
  return e.enter("listItemPrefix"), e.enter("listItemValue"), l(f);
6925
6925
  }
@@ -6954,7 +6954,7 @@ function O1(e, t, n) {
6954
6954
  const r = this;
6955
6955
  return r.containerState._closeFlow = void 0, e.check(Qr, a, i);
6956
6956
  function a(s) {
6957
- return r.containerState.furtherBlankLines = r.containerState.furtherBlankLines || r.containerState.initialBlankLine, Pe(
6957
+ return r.containerState.furtherBlankLines = r.containerState.furtherBlankLines || r.containerState.initialBlankLine, De(
6958
6958
  e,
6959
6959
  t,
6960
6960
  "listItemIndent",
@@ -6965,7 +6965,7 @@ function O1(e, t, n) {
6965
6965
  return r.containerState.furtherBlankLines || !Se(s) ? (r.containerState.furtherBlankLines = void 0, r.containerState.initialBlankLine = void 0, u(s)) : (r.containerState.furtherBlankLines = void 0, r.containerState.initialBlankLine = void 0, e.attempt(x1, t, u)(s));
6966
6966
  }
6967
6967
  function u(s) {
6968
- return r.containerState._closeFlow = !0, r.interrupt = void 0, Pe(
6968
+ return r.containerState._closeFlow = !0, r.interrupt = void 0, De(
6969
6969
  e,
6970
6970
  e.attempt(nt, t, n),
6971
6971
  "linePrefix",
@@ -6975,7 +6975,7 @@ function O1(e, t, n) {
6975
6975
  }
6976
6976
  function I1(e, t, n) {
6977
6977
  const r = this;
6978
- return Pe(
6978
+ return De(
6979
6979
  e,
6980
6980
  a,
6981
6981
  "listItemIndent",
@@ -6991,7 +6991,7 @@ function N1(e) {
6991
6991
  }
6992
6992
  function k1(e, t, n) {
6993
6993
  const r = this;
6994
- return Pe(
6994
+ return De(
6995
6995
  e,
6996
6996
  a,
6997
6997
  "listItemPrefixWhitespace",
@@ -7042,16 +7042,16 @@ function w1(e, t, n) {
7042
7042
  return e.enter("setextHeadingLineSequence"), s(c);
7043
7043
  }
7044
7044
  function s(c) {
7045
- return c === a ? (e.consume(c), s) : (e.exit("setextHeadingLineSequence"), Se(c) ? Pe(e, l, "lineSuffix")(c) : l(c));
7045
+ return c === a ? (e.consume(c), s) : (e.exit("setextHeadingLineSequence"), Se(c) ? De(e, l, "lineSuffix")(c) : l(c));
7046
7046
  }
7047
7047
  function l(c) {
7048
7048
  return c === null || ce(c) ? (e.exit("setextHeadingLine"), t(c)) : n(c);
7049
7049
  }
7050
7050
  }
7051
- const D1 = {
7052
- tokenize: R1
7051
+ const R1 = {
7052
+ tokenize: D1
7053
7053
  };
7054
- function R1(e) {
7054
+ function D1(e) {
7055
7055
  const t = this, n = e.attempt(
7056
7056
  // Try to parse a blank line.
7057
7057
  Qr,
@@ -7060,7 +7060,7 @@ function R1(e) {
7060
7060
  e.attempt(
7061
7061
  this.parser.constructs.flowInitial,
7062
7062
  a,
7063
- Pe(
7063
+ De(
7064
7064
  e,
7065
7065
  e.attempt(
7066
7066
  this.parser.constructs.flow,
@@ -7198,7 +7198,7 @@ function H1(e, t, n) {
7198
7198
  consume: w,
7199
7199
  enter: M,
7200
7200
  exit: K,
7201
- attempt: N(R),
7201
+ attempt: N(D),
7202
7202
  check: N(y),
7203
7203
  interrupt: N(y, {
7204
7204
  interrupt: !0
@@ -7227,13 +7227,13 @@ function H1(e, t, n) {
7227
7227
  return U1(u, z);
7228
7228
  }
7229
7229
  function b() {
7230
- const { line: z, column: V, offset: L, _index: I, _bufferIndex: D } = r;
7230
+ const { line: z, column: V, offset: L, _index: I, _bufferIndex: R } = r;
7231
7231
  return {
7232
7232
  line: z,
7233
7233
  column: V,
7234
7234
  offset: L,
7235
7235
  _index: I,
7236
- _bufferIndex: D
7236
+ _bufferIndex: R
7237
7237
  };
7238
7238
  }
7239
7239
  function m(z) {
@@ -7264,7 +7264,7 @@ function H1(e, t, n) {
7264
7264
  const V = s.pop();
7265
7265
  return V.end = b(), c.events.push(["exit", V, c]), V;
7266
7266
  }
7267
- function R(z, V) {
7267
+ function D(z, V) {
7268
7268
  G(z, V.from);
7269
7269
  }
7270
7270
  function y(z, V) {
@@ -7272,7 +7272,7 @@ function H1(e, t, n) {
7272
7272
  }
7273
7273
  function N(z, V) {
7274
7274
  return L;
7275
- function L(I, D, U) {
7275
+ function L(I, R, U) {
7276
7276
  let W, j, Y, T;
7277
7277
  return Array.isArray(I) ? oe(I) : "tokenize" in I ? (
7278
7278
  // @ts-expect-error Looks like a construct.
@@ -7308,7 +7308,7 @@ function H1(e, t, n) {
7308
7308
  }
7309
7309
  }
7310
7310
  function le(me) {
7311
- return z(Y, T), D;
7311
+ return z(Y, T), R;
7312
7312
  }
7313
7313
  function _e(me) {
7314
7314
  return T.restore(), ++j < W.length ? S(W[j]) : U;
@@ -7324,13 +7324,13 @@ function H1(e, t, n) {
7324
7324
  ), z.resolveTo && (c.events = z.resolveTo(c.events, c));
7325
7325
  }
7326
7326
  function F() {
7327
- const z = b(), V = c.previous, L = c.currentConstruct, I = c.events.length, D = Array.from(s);
7327
+ const z = b(), V = c.previous, L = c.currentConstruct, I = c.events.length, R = Array.from(s);
7328
7328
  return {
7329
7329
  restore: U,
7330
7330
  from: I
7331
7331
  };
7332
7332
  function U() {
7333
- r = z, c.previous = V, c.currentConstruct = L, c.events.length = I, s = D, te();
7333
+ r = z, c.previous = V, c.currentConstruct = L, c.events.length = I, s = R, te();
7334
7334
  }
7335
7335
  }
7336
7336
  function te() {
@@ -7410,16 +7410,16 @@ const q1 = {
7410
7410
  }, z1 = {
7411
7411
  91: Yp
7412
7412
  }, Y1 = {
7413
- [-2]: Ra,
7414
- [-1]: Ra,
7415
- 32: Ra
7413
+ [-2]: Da,
7414
+ [-1]: Da,
7415
+ 32: Da
7416
7416
  }, $1 = {
7417
7417
  35: Kp,
7418
- 42: Rr,
7419
- 45: [fo, Rr],
7418
+ 42: Dr,
7419
+ 45: [fo, Dr],
7420
7420
  60: e1,
7421
7421
  61: fo,
7422
- 95: Rr,
7422
+ 95: Dr,
7423
7423
  96: lo,
7424
7424
  126: lo
7425
7425
  }, V1 = {
@@ -7435,9 +7435,9 @@ const q1 = {
7435
7435
  60: [_p, o1],
7436
7436
  91: y1,
7437
7437
  92: [Gp, fl],
7438
- 93: Ri,
7438
+ 93: Di,
7439
7439
  95: fi,
7440
- 96: Rp
7440
+ 96: Dp
7441
7441
  }, G1 = {
7442
7442
  null: [fi, P1]
7443
7443
  }, X1 = {
@@ -7466,7 +7466,7 @@ function Z1(e) {
7466
7466
  constructs: n,
7467
7467
  content: a(pp),
7468
7468
  document: a(gp),
7469
- flow: a(D1),
7469
+ flow: a(R1),
7470
7470
  string: a(M1),
7471
7471
  text: a(F1)
7472
7472
  };
@@ -7541,7 +7541,7 @@ function rm(e, t, n) {
7541
7541
  const a = n.charCodeAt(1), i = a === 120 || a === 88;
7542
7542
  return yl(n.slice(i ? 2 : 1), i ? 16 : 10);
7543
7543
  }
7544
- return Di(n) || e;
7544
+ return Ri(n) || e;
7545
7545
  }
7546
7546
  const _l = {}.hasOwnProperty, am = (
7547
7547
  /**
@@ -7569,7 +7569,7 @@ function im(e) {
7569
7569
  transforms: [],
7570
7570
  canContainEols: ["emphasis", "fragment", "heading", "paragraph", "strong"],
7571
7571
  enter: {
7572
- autolink: s(Rt),
7572
+ autolink: s(Dt),
7573
7573
  autolinkProtocol: z,
7574
7574
  autolinkEmail: z,
7575
7575
  atxHeading: s(mn),
@@ -7597,7 +7597,7 @@ function im(e) {
7597
7597
  htmlTextData: z,
7598
7598
  image: s(Bn),
7599
7599
  label: l,
7600
- link: s(Rt),
7600
+ link: s(Dt),
7601
7601
  listItem: s(zt),
7602
7602
  listItemValue: b,
7603
7603
  listOrdered: s(Pt, f),
@@ -7634,11 +7634,11 @@ function im(e) {
7634
7634
  definition: d(),
7635
7635
  definitionDestinationString: y,
7636
7636
  definitionLabelString: K,
7637
- definitionTitleString: R,
7637
+ definitionTitleString: D,
7638
7638
  emphasis: d(),
7639
7639
  hardBreakEscape: d(I),
7640
7640
  hardBreakTrailing: d(I),
7641
- htmlFlow: d(D),
7641
+ htmlFlow: d(R),
7642
7642
  htmlFlowData: V,
7643
7643
  htmlText: d(U),
7644
7644
  htmlTextData: V,
@@ -7726,10 +7726,10 @@ function im(e) {
7726
7726
  return B;
7727
7727
  }
7728
7728
  function a($, B, re) {
7729
- let ie = B - 1, ae = -1, ge = !1, ve, Te, Le, qe;
7729
+ let ie = B - 1, ae = -1, ge = !1, ve, Te, ke, qe;
7730
7730
  for (; ++ie <= re; ) {
7731
7731
  const Ee = $[ie];
7732
- if (Ee[1].type === "listUnordered" || Ee[1].type === "listOrdered" || Ee[1].type === "blockQuote" ? (Ee[0] === "enter" ? ae++ : ae--, qe = void 0) : Ee[1].type === "lineEndingBlank" ? Ee[0] === "enter" && (ve && !qe && !ae && !Le && (Le = ie), qe = void 0) : Ee[1].type === "linePrefix" || Ee[1].type === "listItemValue" || Ee[1].type === "listItemMarker" || Ee[1].type === "listItemPrefix" || Ee[1].type === "listItemPrefixWhitespace" || (qe = void 0), !ae && Ee[0] === "enter" && Ee[1].type === "listItemPrefix" || ae === -1 && Ee[0] === "exit" && (Ee[1].type === "listUnordered" || Ee[1].type === "listOrdered")) {
7732
+ if (Ee[1].type === "listUnordered" || Ee[1].type === "listOrdered" || Ee[1].type === "blockQuote" ? (Ee[0] === "enter" ? ae++ : ae--, qe = void 0) : Ee[1].type === "lineEndingBlank" ? Ee[0] === "enter" && (ve && !qe && !ae && !ke && (ke = ie), qe = void 0) : Ee[1].type === "linePrefix" || Ee[1].type === "listItemValue" || Ee[1].type === "listItemMarker" || Ee[1].type === "listItemPrefix" || Ee[1].type === "listItemPrefixWhitespace" || (qe = void 0), !ae && Ee[0] === "enter" && Ee[1].type === "listItemPrefix" || ae === -1 && Ee[0] === "exit" && (Ee[1].type === "listUnordered" || Ee[1].type === "listOrdered")) {
7733
7733
  if (ve) {
7734
7734
  let Me = ie;
7735
7735
  for (Te = void 0; Me--; ) {
@@ -7739,7 +7739,7 @@ function im(e) {
7739
7739
  Te && ($[Te][1].type = "lineEndingBlank", ge = !0), We[1].type = "lineEnding", Te = Me;
7740
7740
  } else if (!(We[1].type === "linePrefix" || We[1].type === "blockQuotePrefix" || We[1].type === "blockQuotePrefixWhitespace" || We[1].type === "blockQuoteMarker" || We[1].type === "listItemIndent")) break;
7741
7741
  }
7742
- Le && (!Te || Le < Te) && (ve._spread = !0), ve.end = Object.assign(
7742
+ ke && (!Te || ke < Te) && (ve._spread = !0), ve.end = Object.assign(
7743
7743
  {},
7744
7744
  Te ? $[Te][1].start : Ee[1].end
7745
7745
  ), $.splice(Te || ie, 0, ["exit", ve, Ee[2]]), ie++, re++;
@@ -7750,7 +7750,7 @@ function im(e) {
7750
7750
  start: Object.assign({}, Ee[1].start),
7751
7751
  // @ts-expect-error: we’ll add `end` in a second.
7752
7752
  end: void 0
7753
- }, $.splice(ie, 0, ["enter", ve, Ee[2]]), ie++, re++, Le = void 0, qe = !0);
7753
+ }, $.splice(ie, 0, ["enter", ve, Ee[2]]), ie++, re++, ke = void 0, qe = !0);
7754
7754
  }
7755
7755
  }
7756
7756
  return $[B][1]._spread = ge, re;
@@ -7833,7 +7833,7 @@ function im(e) {
7833
7833
  this.sliceSerialize($)
7834
7834
  ).toLowerCase();
7835
7835
  }
7836
- function R() {
7836
+ function D() {
7837
7837
  const $ = this.resume(), B = this.stack[this.stack.length - 1];
7838
7838
  B.title = $;
7839
7839
  }
@@ -7881,7 +7881,7 @@ function im(e) {
7881
7881
  function I() {
7882
7882
  i("atHardBreak", !0);
7883
7883
  }
7884
- function D() {
7884
+ function R() {
7885
7885
  const $ = this.resume(), B = this.stack[this.stack.length - 1];
7886
7886
  B.value = $;
7887
7887
  }
@@ -7952,7 +7952,7 @@ function im(e) {
7952
7952
  re ? (ie = yl(
7953
7953
  B,
7954
7954
  re === "characterReferenceMarkerNumeric" ? 10 : 16
7955
- ), i("characterReferenceType")) : ie = Di(B);
7955
+ ), i("characterReferenceType")) : ie = Ri(B);
7956
7956
  const ae = this.stack.pop();
7957
7957
  ae.value += ie, ae.position.end = Yt($.end);
7958
7958
  }
@@ -8027,7 +8027,7 @@ function im(e) {
8027
8027
  alt: null
8028
8028
  };
8029
8029
  }
8030
- function Rt() {
8030
+ function Dt() {
8031
8031
  return {
8032
8032
  type: "link",
8033
8033
  title: null,
@@ -8503,7 +8503,7 @@ function wm(e, t) {
8503
8503
  const n = { type: "text", value: Lm(String(t.value)) };
8504
8504
  return e.patch(t, n), e.applyData(t, n);
8505
8505
  }
8506
- function Dm(e, t) {
8506
+ function Rm(e, t) {
8507
8507
  const n = {
8508
8508
  type: "element",
8509
8509
  tagName: "hr",
@@ -8512,7 +8512,7 @@ function Dm(e, t) {
8512
8512
  };
8513
8513
  return e.patch(t, n), e.applyData(t, n);
8514
8514
  }
8515
- const Rm = {
8515
+ const Dm = {
8516
8516
  blockquote: sm,
8517
8517
  break: lm,
8518
8518
  code: cm,
@@ -8536,7 +8536,7 @@ const Rm = {
8536
8536
  tableCell: km,
8537
8537
  tableRow: Nm,
8538
8538
  text: wm,
8539
- thematicBreak: Dm,
8539
+ thematicBreak: Rm,
8540
8540
  toml: xr,
8541
8541
  yaml: xr,
8542
8542
  definition: xr,
@@ -8707,7 +8707,7 @@ function $m(e, t) {
8707
8707
  const n = t || {}, r = n.allowDangerousHtml || !1, a = {};
8708
8708
  return u.dangerous = r, u.clobberPrefix = n.clobberPrefix === void 0 || n.clobberPrefix === null ? "user-content-" : n.clobberPrefix, u.footnoteLabel = n.footnoteLabel || "Footnotes", u.footnoteLabelTagName = n.footnoteLabelTagName || "h2", u.footnoteLabelProperties = n.footnoteLabelProperties || {
8709
8709
  className: ["sr-only"]
8710
- }, u.footnoteBackLabel = n.footnoteBackLabel || "Back to content", u.unknownHandler = n.unknownHandler, u.passThrough = n.passThrough, u.handlers = { ...Rm, ...n.handlers }, u.definition = Ym(e), u.footnoteById = a, u.footnoteOrder = [], u.footnoteCounts = {}, u.patch = Vm, u.applyData = Wm, u.one = s, u.all = l, u.wrap = Xm, u.augment = i, Fi(e, "footnoteDefinition", (c) => {
8710
+ }, u.footnoteBackLabel = n.footnoteBackLabel || "Back to content", u.unknownHandler = n.unknownHandler, u.passThrough = n.passThrough, u.handlers = { ...Dm, ...n.handlers }, u.definition = Ym(e), u.footnoteById = a, u.footnoteOrder = [], u.footnoteCounts = {}, u.patch = Vm, u.applyData = Wm, u.one = s, u.all = l, u.wrap = Xm, u.augment = i, Fi(e, "footnoteDefinition", (c) => {
8711
8711
  const d = String(c.identifier).toUpperCase();
8712
8712
  zr.call(a, d) || (a[d] = c);
8713
8713
  }), u;
@@ -8938,7 +8938,7 @@ yt.prototype.commaOrSpaceSeparated = !1;
8938
8938
  yt.prototype.mustUseProperty = !1;
8939
8939
  yt.prototype.defined = !1;
8940
8940
  let e2 = 0;
8941
- const fe = sn(), Ye = sn(), Ll = sn(), Z = sn(), we = sn(), xn = sn(), dt = sn();
8941
+ const fe = sn(), Ye = sn(), Ll = sn(), Z = sn(), Le = sn(), xn = sn(), dt = sn();
8942
8942
  function sn() {
8943
8943
  return 2 ** ++e2;
8944
8944
  }
@@ -8950,7 +8950,7 @@ const pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8950
8950
  commaSeparated: xn,
8951
8951
  number: Z,
8952
8952
  overloadedBoolean: Ll,
8953
- spaceSeparated: we
8953
+ spaceSeparated: Le
8954
8954
  }, Symbol.toStringTag, { value: "Module" })), Ma = Object.keys(pi);
8955
8955
  let Hi = class extends yt {
8956
8956
  /**
@@ -9003,18 +9003,18 @@ const wl = Ln({
9003
9003
  xLinkTitle: null,
9004
9004
  xLinkType: null
9005
9005
  }
9006
- }), Dl = Ln({
9006
+ }), Rl = Ln({
9007
9007
  space: "xml",
9008
9008
  transform(e, t) {
9009
9009
  return "xml:" + t.slice(3).toLowerCase();
9010
9010
  },
9011
9011
  properties: { xmlLang: null, xmlBase: null, xmlSpace: null }
9012
9012
  });
9013
- function Rl(e, t) {
9013
+ function Dl(e, t) {
9014
9014
  return t in e ? e[t] : t;
9015
9015
  }
9016
9016
  function Pl(e, t) {
9017
- return Rl(e, t.toLowerCase());
9017
+ return Dl(e, t.toLowerCase());
9018
9018
  }
9019
9019
  const Ml = Ln({
9020
9020
  space: "xmlns",
@@ -9034,36 +9034,36 @@ const Ml = Ln({
9034
9034
  ariaColCount: Z,
9035
9035
  ariaColIndex: Z,
9036
9036
  ariaColSpan: Z,
9037
- ariaControls: we,
9037
+ ariaControls: Le,
9038
9038
  ariaCurrent: null,
9039
- ariaDescribedBy: we,
9039
+ ariaDescribedBy: Le,
9040
9040
  ariaDetails: null,
9041
9041
  ariaDisabled: Ye,
9042
- ariaDropEffect: we,
9042
+ ariaDropEffect: Le,
9043
9043
  ariaErrorMessage: null,
9044
9044
  ariaExpanded: Ye,
9045
- ariaFlowTo: we,
9045
+ ariaFlowTo: Le,
9046
9046
  ariaGrabbed: Ye,
9047
9047
  ariaHasPopup: null,
9048
9048
  ariaHidden: Ye,
9049
9049
  ariaInvalid: null,
9050
9050
  ariaKeyShortcuts: null,
9051
9051
  ariaLabel: null,
9052
- ariaLabelledBy: we,
9052
+ ariaLabelledBy: Le,
9053
9053
  ariaLevel: Z,
9054
9054
  ariaLive: null,
9055
9055
  ariaModal: Ye,
9056
9056
  ariaMultiLine: Ye,
9057
9057
  ariaMultiSelectable: Ye,
9058
9058
  ariaOrientation: null,
9059
- ariaOwns: we,
9059
+ ariaOwns: Le,
9060
9060
  ariaPlaceholder: null,
9061
9061
  ariaPosInSet: Z,
9062
9062
  ariaPressed: Ye,
9063
9063
  ariaReadOnly: Ye,
9064
9064
  ariaRelevant: null,
9065
9065
  ariaRequired: Ye,
9066
- ariaRoleDescription: we,
9066
+ ariaRoleDescription: Le,
9067
9067
  ariaRowCount: Z,
9068
9068
  ariaRowIndex: Z,
9069
9069
  ariaRowSpan: Z,
@@ -9090,8 +9090,8 @@ const Ml = Ln({
9090
9090
  // Standard Properties.
9091
9091
  abbr: null,
9092
9092
  accept: xn,
9093
- acceptCharset: we,
9094
- accessKey: we,
9093
+ acceptCharset: Le,
9094
+ accessKey: Le,
9095
9095
  action: null,
9096
9096
  allow: null,
9097
9097
  allowFullScreen: fe,
@@ -9101,21 +9101,21 @@ const Ml = Ln({
9101
9101
  as: null,
9102
9102
  async: fe,
9103
9103
  autoCapitalize: null,
9104
- autoComplete: we,
9104
+ autoComplete: Le,
9105
9105
  autoFocus: fe,
9106
9106
  autoPlay: fe,
9107
- blocking: we,
9107
+ blocking: Le,
9108
9108
  capture: null,
9109
9109
  charSet: null,
9110
9110
  checked: fe,
9111
9111
  cite: null,
9112
- className: we,
9112
+ className: Le,
9113
9113
  cols: Z,
9114
9114
  colSpan: null,
9115
9115
  content: null,
9116
9116
  contentEditable: Ye,
9117
9117
  controls: fe,
9118
- controlsList: we,
9118
+ controlsList: Le,
9119
9119
  coords: Z | xn,
9120
9120
  crossOrigin: null,
9121
9121
  data: null,
@@ -9137,14 +9137,14 @@ const Ml = Ln({
9137
9137
  formMethod: null,
9138
9138
  formNoValidate: fe,
9139
9139
  formTarget: null,
9140
- headers: we,
9140
+ headers: Le,
9141
9141
  height: Z,
9142
9142
  hidden: fe,
9143
9143
  high: Z,
9144
9144
  href: null,
9145
9145
  hrefLang: null,
9146
- htmlFor: we,
9147
- httpEquiv: we,
9146
+ htmlFor: Le,
9147
+ httpEquiv: Le,
9148
9148
  id: null,
9149
9149
  imageSizes: null,
9150
9150
  imageSrcSet: null,
@@ -9154,10 +9154,10 @@ const Ml = Ln({
9154
9154
  is: null,
9155
9155
  isMap: fe,
9156
9156
  itemId: null,
9157
- itemProp: we,
9158
- itemRef: we,
9157
+ itemProp: Le,
9158
+ itemRef: Le,
9159
9159
  itemScope: fe,
9160
- itemType: we,
9160
+ itemType: Le,
9161
9161
  kind: null,
9162
9162
  label: null,
9163
9163
  lang: null,
@@ -9270,7 +9270,7 @@ const Ml = Ln({
9270
9270
  open: fe,
9271
9271
  optimum: Z,
9272
9272
  pattern: null,
9273
- ping: we,
9273
+ ping: Le,
9274
9274
  placeholder: null,
9275
9275
  playsInline: fe,
9276
9276
  popover: null,
@@ -9280,12 +9280,12 @@ const Ml = Ln({
9280
9280
  preload: null,
9281
9281
  readOnly: fe,
9282
9282
  referrerPolicy: null,
9283
- rel: we,
9283
+ rel: Le,
9284
9284
  required: fe,
9285
9285
  reversed: fe,
9286
9286
  rows: Z,
9287
9287
  rowSpan: Z,
9288
- sandbox: we,
9288
+ sandbox: Le,
9289
9289
  scope: null,
9290
9290
  scoped: fe,
9291
9291
  seamless: fe,
@@ -9323,7 +9323,7 @@ const Ml = Ln({
9323
9323
  // Several. Use CSS `text-align` instead,
9324
9324
  aLink: null,
9325
9325
  // `<body>`. Use CSS `a:active {color}` instead
9326
- archive: we,
9326
+ archive: Le,
9327
9327
  // `<object>`. List of URIs to archives
9328
9328
  axis: null,
9329
9329
  // `<td>` and `<th>`. Use `scope` on `<th>`
@@ -9614,7 +9614,7 @@ const Ml = Ln({
9614
9614
  playbackOrder: "playbackorder",
9615
9615
  timelineBegin: "timelinebegin"
9616
9616
  },
9617
- transform: Rl,
9617
+ transform: Dl,
9618
9618
  properties: {
9619
9619
  about: dt,
9620
9620
  accentHeight: Z,
@@ -9638,7 +9638,7 @@ const Ml = Ln({
9638
9638
  by: null,
9639
9639
  calcMode: null,
9640
9640
  capHeight: Z,
9641
- className: we,
9641
+ className: Le,
9642
9642
  clip: null,
9643
9643
  clipPath: null,
9644
9644
  clipPathUnits: null,
@@ -9873,7 +9873,7 @@ const Ml = Ln({
9873
9873
  patternTransform: null,
9874
9874
  patternUnits: null,
9875
9875
  phase: null,
9876
- ping: we,
9876
+ ping: Le,
9877
9877
  pitch: null,
9878
9878
  playbackOrder: null,
9879
9879
  pointerEvents: null,
@@ -10041,7 +10041,7 @@ const Ao = {
10041
10041
  xLinkTitle: "xlinkTitle",
10042
10042
  xLinkType: "xlinkType",
10043
10043
  xmlnsXLink: "xmlnsXlink"
10044
- }, Hl = kl([Dl, wl, Ml, Fl, n2], "html"), Ui = kl([Dl, wl, Ml, Fl, r2], "svg");
10044
+ }, Hl = kl([Rl, wl, Ml, Fl, n2], "html"), Ui = kl([Rl, wl, Ml, Fl, r2], "svg");
10045
10045
  function s2(e) {
10046
10046
  if (e.allowedElements && e.disallowedElements)
10047
10047
  throw new TypeError(
@@ -10192,19 +10192,19 @@ function p2() {
10192
10192
  function M(L) {
10193
10193
  var I = L.match(t);
10194
10194
  I && (g += I.length);
10195
- var D = L.lastIndexOf(l);
10196
- w = ~D ? L.length - D : w + L.length;
10195
+ var R = L.lastIndexOf(l);
10196
+ w = ~R ? L.length - R : w + L.length;
10197
10197
  }
10198
10198
  function K() {
10199
10199
  var L = { line: g, column: w };
10200
10200
  return function(I) {
10201
- return I.position = new R(L), G(), I;
10201
+ return I.position = new D(L), G(), I;
10202
10202
  };
10203
10203
  }
10204
- function R(L) {
10204
+ function D(L) {
10205
10205
  this.start = L, this.end = { line: g, column: w }, this.source = _.source;
10206
10206
  }
10207
- R.prototype.content = m;
10207
+ D.prototype.content = m;
10208
10208
  function y(L) {
10209
10209
  var I = new Error(
10210
10210
  _.source + ":" + g + ":" + w + ": " + L
@@ -10214,8 +10214,8 @@ function p2() {
10214
10214
  function N(L) {
10215
10215
  var I = L.exec(m);
10216
10216
  if (I) {
10217
- var D = I[0];
10218
- return M(D), m = m.slice(D.length), I;
10217
+ var R = I[0];
10218
+ return M(R), m = m.slice(R.length), I;
10219
10219
  }
10220
10220
  }
10221
10221
  function G() {
@@ -10234,10 +10234,10 @@ function p2() {
10234
10234
  ++I;
10235
10235
  if (I += 2, h === m.charAt(I - 1))
10236
10236
  return y("End of comment missing");
10237
- var D = m.slice(2, I - 2);
10238
- return w += 2, M(D), m = m.slice(I), w += 2, L({
10237
+ var R = m.slice(2, I - 2);
10238
+ return w += 2, M(R), m = m.slice(I), w += 2, L({
10239
10239
  type: p,
10240
- comment: D
10240
+ comment: R
10241
10241
  });
10242
10242
  }
10243
10243
  }
@@ -10245,10 +10245,10 @@ function p2() {
10245
10245
  var L = K(), I = N(r);
10246
10246
  if (I) {
10247
10247
  if (te(), !N(a)) return y("property missing ':'");
10248
- var D = N(i), U = L({
10248
+ var R = N(i), U = L({
10249
10249
  type: f,
10250
10250
  property: b(I[0].replace(e, h)),
10251
- value: D ? b(D[0].replace(e, h)) : h
10251
+ value: R ? b(R[0].replace(e, h)) : h
10252
10252
  });
10253
10253
  return N(u), U;
10254
10254
  }
@@ -10292,7 +10292,7 @@ function ql(e, t) {
10292
10292
  return n;
10293
10293
  }
10294
10294
  function T2(e, t, n, r) {
10295
- const a = e.options, i = a.transformLinkUri === void 0 ? Rh : a.transformLinkUri, u = e.schema, s = t.tagName, l = {};
10295
+ const a = e.options, i = a.transformLinkUri === void 0 ? Dh : a.transformLinkUri, u = e.schema, s = t.tagName, l = {};
10296
10296
  let c = u, d;
10297
10297
  if (u.space === "html" && s === "svg" && (c = Ui, e.schema = c), t.properties)
10298
10298
  for (d in t.properties)
@@ -10481,7 +10481,7 @@ ji.propTypes = {
10481
10481
  components: x.object
10482
10482
  };
10483
10483
  const zl = ({ children: e, id: t, link: n }) => {
10484
- const { contentRef: r } = se(wt), [a, i] = de(!1), u = Je(null), s = pt(() => i(!0), []), l = pt(() => i(!1), []), c = pt(() => i(!0), []), d = pt(() => i(!1), []), h = pt(
10484
+ const { contentRef: r } = se(wt), [a, i] = de(!1), u = Ze(null), s = pt(() => i(!0), []), l = pt(() => i(!1), []), c = pt(() => i(!0), []), d = pt(() => i(!1), []), h = pt(
10485
10485
  (p) => {
10486
10486
  p.key === "Enter" ? window.open(n, "_blank") : p.key === "Escape" && i(!1);
10487
10487
  },
@@ -10603,17 +10603,17 @@ function w2() {
10603
10603
  e.exports = r();
10604
10604
  })(L2, function() {
10605
10605
  var n = 1e3, r = 6e4, a = 36e5, i = "millisecond", u = "second", s = "minute", l = "hour", c = "day", d = "week", h = "month", p = "quarter", f = "year", b = "date", m = "Invalid Date", _ = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, g = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, w = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(I) {
10606
- var D = ["th", "st", "nd", "rd"], U = I % 100;
10607
- return "[" + I + (D[(U - 20) % 10] || D[U] || D[0]) + "]";
10608
- } }, M = function(I, D, U) {
10606
+ var R = ["th", "st", "nd", "rd"], U = I % 100;
10607
+ return "[" + I + (R[(U - 20) % 10] || R[U] || R[0]) + "]";
10608
+ } }, M = function(I, R, U) {
10609
10609
  var W = String(I);
10610
- return !W || W.length >= D ? I : "" + Array(D + 1 - W.length).join(U) + I;
10610
+ return !W || W.length >= R ? I : "" + Array(R + 1 - W.length).join(U) + I;
10611
10611
  }, K = { s: M, z: function(I) {
10612
- var D = -I.utcOffset(), U = Math.abs(D), W = Math.floor(U / 60), j = U % 60;
10613
- return (D <= 0 ? "+" : "-") + M(W, 2, "0") + ":" + M(j, 2, "0");
10614
- }, m: function I(D, U) {
10615
- if (D.date() < U.date()) return -I(U, D);
10616
- var W = 12 * (U.year() - D.year()) + (U.month() - D.month()), j = D.clone().add(W, h), Y = U - j < 0, T = D.clone().add(W + (Y ? -1 : 1), h);
10612
+ var R = -I.utcOffset(), U = Math.abs(R), W = Math.floor(U / 60), j = U % 60;
10613
+ return (R <= 0 ? "+" : "-") + M(W, 2, "0") + ":" + M(j, 2, "0");
10614
+ }, m: function I(R, U) {
10615
+ if (R.date() < U.date()) return -I(U, R);
10616
+ var W = 12 * (U.year() - R.year()) + (U.month() - R.month()), j = R.clone().add(W, h), Y = U - j < 0, T = R.clone().add(W + (Y ? -1 : 1), h);
10617
10617
  return +(-(W + (U - j) / (Y ? j - T : T - j)) || 0);
10618
10618
  }, a: function(I) {
10619
10619
  return I < 0 ? Math.ceil(I) || 0 : Math.floor(I);
@@ -10621,37 +10621,37 @@ function w2() {
10621
10621
  return { M: h, y: f, w: d, d: c, D: b, h: l, m: s, s: u, ms: i, Q: p }[I] || String(I || "").toLowerCase().replace(/s$/, "");
10622
10622
  }, u: function(I) {
10623
10623
  return I === void 0;
10624
- } }, R = "en", y = {};
10625
- y[R] = w;
10624
+ } }, D = "en", y = {};
10625
+ y[D] = w;
10626
10626
  var N = "$isDayjsObject", G = function(I) {
10627
10627
  return I instanceof V || !(!I || !I[N]);
10628
- }, F = function I(D, U, W) {
10628
+ }, F = function I(R, U, W) {
10629
10629
  var j;
10630
- if (!D) return R;
10631
- if (typeof D == "string") {
10632
- var Y = D.toLowerCase();
10630
+ if (!R) return D;
10631
+ if (typeof R == "string") {
10632
+ var Y = R.toLowerCase();
10633
10633
  y[Y] && (j = Y), U && (y[Y] = U, j = Y);
10634
- var T = D.split("-");
10634
+ var T = R.split("-");
10635
10635
  if (!j && T.length > 1) return I(T[0]);
10636
10636
  } else {
10637
- var ne = D.name;
10638
- y[ne] = D, j = ne;
10637
+ var ne = R.name;
10638
+ y[ne] = R, j = ne;
10639
10639
  }
10640
- return !W && j && (R = j), j || !W && R;
10641
- }, te = function(I, D) {
10640
+ return !W && j && (D = j), j || !W && D;
10641
+ }, te = function(I, R) {
10642
10642
  if (G(I)) return I.clone();
10643
- var U = typeof D == "object" ? D : {};
10643
+ var U = typeof R == "object" ? R : {};
10644
10644
  return U.date = I, U.args = arguments, new V(U);
10645
10645
  }, z = K;
10646
- z.l = F, z.i = G, z.w = function(I, D) {
10647
- return te(I, { locale: D.$L, utc: D.$u, x: D.$x, $offset: D.$offset });
10646
+ z.l = F, z.i = G, z.w = function(I, R) {
10647
+ return te(I, { locale: R.$L, utc: R.$u, x: R.$x, $offset: R.$offset });
10648
10648
  };
10649
10649
  var V = function() {
10650
10650
  function I(U) {
10651
10651
  this.$L = F(U.locale, null, !0), this.parse(U), this.$x = this.$x || U.x || {}, this[N] = !0;
10652
10652
  }
10653
- var D = I.prototype;
10654
- return D.parse = function(U) {
10653
+ var R = I.prototype;
10654
+ return R.parse = function(U) {
10655
10655
  this.$d = function(W) {
10656
10656
  var j = W.date, Y = W.utc;
10657
10657
  if (j === null) return /* @__PURE__ */ new Date(NaN);
@@ -10666,27 +10666,27 @@ function w2() {
10666
10666
  }
10667
10667
  return new Date(j);
10668
10668
  }(U), this.init();
10669
- }, D.init = function() {
10669
+ }, R.init = function() {
10670
10670
  var U = this.$d;
10671
10671
  this.$y = U.getFullYear(), this.$M = U.getMonth(), this.$D = U.getDate(), this.$W = U.getDay(), this.$H = U.getHours(), this.$m = U.getMinutes(), this.$s = U.getSeconds(), this.$ms = U.getMilliseconds();
10672
- }, D.$utils = function() {
10672
+ }, R.$utils = function() {
10673
10673
  return z;
10674
- }, D.isValid = function() {
10674
+ }, R.isValid = function() {
10675
10675
  return this.$d.toString() !== m;
10676
- }, D.isSame = function(U, W) {
10676
+ }, R.isSame = function(U, W) {
10677
10677
  var j = te(U);
10678
10678
  return this.startOf(W) <= j && j <= this.endOf(W);
10679
- }, D.isAfter = function(U, W) {
10679
+ }, R.isAfter = function(U, W) {
10680
10680
  return te(U) < this.startOf(W);
10681
- }, D.isBefore = function(U, W) {
10681
+ }, R.isBefore = function(U, W) {
10682
10682
  return this.endOf(W) < te(U);
10683
- }, D.$g = function(U, W, j) {
10683
+ }, R.$g = function(U, W, j) {
10684
10684
  return z.u(U) ? this[W] : this.set(j, U);
10685
- }, D.unix = function() {
10685
+ }, R.unix = function() {
10686
10686
  return Math.floor(this.valueOf() / 1e3);
10687
- }, D.valueOf = function() {
10687
+ }, R.valueOf = function() {
10688
10688
  return this.$d.getTime();
10689
- }, D.startOf = function(U, W) {
10689
+ }, R.startOf = function(U, W) {
10690
10690
  var j = this, Y = !!z.u(W) || W, T = z.p(U), ne = function(Ue, Ie) {
10691
10691
  var Ke = z.w(j.$u ? Date.UTC(j.$y, Ie, Ue) : new Date(j.$y, Ie, Ue), j);
10692
10692
  return Y ? Ke : Ke.endOf(c);
@@ -10713,20 +10713,20 @@ function w2() {
10713
10713
  default:
10714
10714
  return this.clone();
10715
10715
  }
10716
- }, D.endOf = function(U) {
10716
+ }, R.endOf = function(U) {
10717
10717
  return this.startOf(U, !1);
10718
- }, D.$set = function(U, W) {
10718
+ }, R.$set = function(U, W) {
10719
10719
  var j, Y = z.p(U), T = "set" + (this.$u ? "UTC" : ""), ne = (j = {}, j[c] = T + "Date", j[b] = T + "Date", j[h] = T + "Month", j[f] = T + "FullYear", j[l] = T + "Hours", j[s] = T + "Minutes", j[u] = T + "Seconds", j[i] = T + "Milliseconds", j)[Y], oe = Y === c ? this.$D + (W - this.$W) : W;
10720
10720
  if (Y === h || Y === f) {
10721
10721
  var S = this.clone().set(b, 1);
10722
10722
  S.$d[ne](oe), S.init(), this.$d = S.set(b, Math.min(this.$D, S.daysInMonth())).$d;
10723
10723
  } else ne && this.$d[ne](oe);
10724
10724
  return this.init(), this;
10725
- }, D.set = function(U, W) {
10725
+ }, R.set = function(U, W) {
10726
10726
  return this.clone().$set(U, W);
10727
- }, D.get = function(U) {
10727
+ }, R.get = function(U) {
10728
10728
  return this[z.p(U)]();
10729
- }, D.add = function(U, W) {
10729
+ }, R.add = function(U, W) {
10730
10730
  var j, Y = this;
10731
10731
  U = Number(U);
10732
10732
  var T = z.p(W), ne = function(le) {
@@ -10739,9 +10739,9 @@ function w2() {
10739
10739
  if (T === d) return ne(7);
10740
10740
  var oe = (j = {}, j[s] = r, j[l] = a, j[u] = n, j)[T] || 1, S = this.$d.getTime() + U * oe;
10741
10741
  return z.w(S, this);
10742
- }, D.subtract = function(U, W) {
10742
+ }, R.subtract = function(U, W) {
10743
10743
  return this.add(-1 * U, W);
10744
- }, D.format = function(U) {
10744
+ }, R.format = function(U) {
10745
10745
  var W = this, j = this.$locale();
10746
10746
  if (!this.isValid()) return j.invalidDate || m;
10747
10747
  var Y = U || "YYYY-MM-DDTHH:mm:ssZ", T = z.z(this), ne = this.$H, oe = this.$m, S = this.$M, le = j.weekdays, _e = j.months, me = j.meridiem, Ce = function(Ie, Ke, ot, St) {
@@ -10807,9 +10807,9 @@ function w2() {
10807
10807
  return null;
10808
10808
  }(Ie) || T.replace(":", "");
10809
10809
  });
10810
- }, D.utcOffset = function() {
10810
+ }, R.utcOffset = function() {
10811
10811
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
10812
- }, D.diff = function(U, W, j) {
10812
+ }, R.diff = function(U, W, j) {
10813
10813
  var Y, T = this, ne = z.p(W), oe = te(U), S = (oe.utcOffset() - this.utcOffset()) * r, le = this - oe, _e = function() {
10814
10814
  return z.m(T, oe);
10815
10815
  };
@@ -10842,40 +10842,40 @@ function w2() {
10842
10842
  Y = le;
10843
10843
  }
10844
10844
  return j ? Y : z.a(Y);
10845
- }, D.daysInMonth = function() {
10845
+ }, R.daysInMonth = function() {
10846
10846
  return this.endOf(h).$D;
10847
- }, D.$locale = function() {
10847
+ }, R.$locale = function() {
10848
10848
  return y[this.$L];
10849
- }, D.locale = function(U, W) {
10849
+ }, R.locale = function(U, W) {
10850
10850
  if (!U) return this.$L;
10851
10851
  var j = this.clone(), Y = F(U, W, !0);
10852
10852
  return Y && (j.$L = Y), j;
10853
- }, D.clone = function() {
10853
+ }, R.clone = function() {
10854
10854
  return z.w(this.$d, this);
10855
- }, D.toDate = function() {
10855
+ }, R.toDate = function() {
10856
10856
  return new Date(this.valueOf());
10857
- }, D.toJSON = function() {
10857
+ }, R.toJSON = function() {
10858
10858
  return this.isValid() ? this.toISOString() : null;
10859
- }, D.toISOString = function() {
10859
+ }, R.toISOString = function() {
10860
10860
  return this.$d.toISOString();
10861
- }, D.toString = function() {
10861
+ }, R.toString = function() {
10862
10862
  return this.$d.toUTCString();
10863
10863
  }, I;
10864
10864
  }(), L = V.prototype;
10865
10865
  return te.prototype = L, [["$ms", i], ["$s", u], ["$m", s], ["$H", l], ["$W", c], ["$M", h], ["$y", f], ["$D", b]].forEach(function(I) {
10866
- L[I[1]] = function(D) {
10867
- return this.$g(D, I[0], I[1]);
10866
+ L[I[1]] = function(R) {
10867
+ return this.$g(R, I[0], I[1]);
10868
10868
  };
10869
- }), te.extend = function(I, D) {
10870
- return I.$i || (I(D, V, te), I.$i = !0), te;
10869
+ }), te.extend = function(I, R) {
10870
+ return I.$i || (I(R, V, te), I.$i = !0), te;
10871
10871
  }, te.locale = F, te.isDayjs = G, te.unix = function(I) {
10872
10872
  return te(1e3 * I);
10873
- }, te.en = y[R], te.Ls = y, te.p = {}, te;
10873
+ }, te.en = y[D], te.Ls = y, te.p = {}, te;
10874
10874
  });
10875
10875
  }(Pr)), Pr.exports;
10876
10876
  }
10877
- var D2 = w2();
10878
- const R2 = /* @__PURE__ */ Lt(D2), P2 = (e) => {
10877
+ var R2 = w2();
10878
+ const D2 = /* @__PURE__ */ Lt(R2), P2 = (e) => {
10879
10879
  Array.from(e.entries()).forEach((n) => {
10880
10880
  const r = n[0], a = n[1];
10881
10881
  r.toLocaleLowerCase().startsWith("utm_") && e.delete(r, a);
@@ -10897,7 +10897,7 @@ function B2(e) {
10897
10897
  return (r = n == null ? void 0 : n.function) == null ? void 0 : r.name;
10898
10898
  }).filter(Boolean);
10899
10899
  }
10900
- const $l = -1, Jr = 0, nr = 1, Yr = 2, zi = 3, Yi = 4, $i = 5, Vi = 6, Vl = 7, Wl = 8, Do = typeof self == "object" ? self : globalThis, H2 = (e, t) => {
10900
+ const $l = -1, Jr = 0, nr = 1, Yr = 2, zi = 3, Yi = 4, $i = 5, Vi = 6, Vl = 7, Wl = 8, Ro = typeof self == "object" ? self : globalThis, H2 = (e, t) => {
10901
10901
  const n = (a, i) => (e.set(i, a), a), r = (a) => {
10902
10902
  if (e.has(a))
10903
10903
  return e.get(a);
@@ -10938,7 +10938,7 @@ const $l = -1, Jr = 0, nr = 1, Yr = 2, zi = 3, Yi = 4, $i = 5, Vi = 6, Vl = 7, W
10938
10938
  }
10939
10939
  case Vl: {
10940
10940
  const { name: s, message: l } = u;
10941
- return n(new Do[s](l), a);
10941
+ return n(new Ro[s](l), a);
10942
10942
  }
10943
10943
  case Wl:
10944
10944
  return n(BigInt(u), a);
@@ -10951,10 +10951,10 @@ const $l = -1, Jr = 0, nr = 1, Yr = 2, zi = 3, Yi = 4, $i = 5, Vi = 6, Vl = 7, W
10951
10951
  return n(new DataView(s), u);
10952
10952
  }
10953
10953
  }
10954
- return n(new Do[i](u), a);
10954
+ return n(new Ro[i](u), a);
10955
10955
  };
10956
10956
  return r;
10957
- }, Ro = (e) => H2(/* @__PURE__ */ new Map(), e)(0), Cn = "", { toString: U2 } = {}, { keys: j2 } = Object, $n = (e) => {
10957
+ }, Do = (e) => H2(/* @__PURE__ */ new Map(), e)(0), Cn = "", { toString: U2 } = {}, { keys: j2 } = Object, $n = (e) => {
10958
10958
  const t = typeof e;
10959
10959
  if (t !== "object" || !e)
10960
10960
  return [Jr, t];
@@ -11057,8 +11057,8 @@ const $l = -1, Jr = 0, nr = 1, Yr = 2, zi = 3, Yi = 4, $i = 5, Vi = 6, Vl = 7, W
11057
11057
  return q2(!(t || n), !!t, /* @__PURE__ */ new Map(), r)(e), r;
11058
11058
  }, Mo = typeof structuredClone == "function" ? (
11059
11059
  /* c8 ignore start */
11060
- (e, t) => t && ("json" in t || "lossy" in t) ? Ro(Po(e, t)) : structuredClone(e)
11061
- ) : (e, t) => Ro(Po(e, t));
11060
+ (e, t) => t && ("json" in t || "lossy" in t) ? Do(Po(e, t)) : structuredClone(e)
11061
+ ) : (e, t) => Do(Po(e, t));
11062
11062
  let pr = class {
11063
11063
  /**
11064
11064
  * @param {SchemaType['property']} property
@@ -11112,7 +11112,7 @@ it.prototype.property = "";
11112
11112
  it.prototype.spaceSeparated = !1;
11113
11113
  it.prototype.space = void 0;
11114
11114
  let z2 = 0;
11115
- const he = ln(), $e = ln(), Xl = ln(), J = ln(), De = ln(), vn = ln(), ft = ln();
11115
+ const he = ln(), $e = ln(), Xl = ln(), J = ln(), we = ln(), vn = ln(), ft = ln();
11116
11116
  function ln() {
11117
11117
  return 2 ** ++z2;
11118
11118
  }
@@ -11124,7 +11124,7 @@ const bi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
11124
11124
  commaSeparated: vn,
11125
11125
  number: J,
11126
11126
  overloadedBoolean: Xl,
11127
- spaceSeparated: De
11127
+ spaceSeparated: we
11128
11128
  }, Symbol.toStringTag, { value: "Module" })), ja = (
11129
11129
  /** @type {ReadonlyArray<keyof typeof types>} */
11130
11130
  Object.keys(bi)
@@ -11179,36 +11179,36 @@ const Kl = wn({
11179
11179
  ariaColCount: J,
11180
11180
  ariaColIndex: J,
11181
11181
  ariaColSpan: J,
11182
- ariaControls: De,
11182
+ ariaControls: we,
11183
11183
  ariaCurrent: null,
11184
- ariaDescribedBy: De,
11184
+ ariaDescribedBy: we,
11185
11185
  ariaDetails: null,
11186
11186
  ariaDisabled: $e,
11187
- ariaDropEffect: De,
11187
+ ariaDropEffect: we,
11188
11188
  ariaErrorMessage: null,
11189
11189
  ariaExpanded: $e,
11190
- ariaFlowTo: De,
11190
+ ariaFlowTo: we,
11191
11191
  ariaGrabbed: $e,
11192
11192
  ariaHasPopup: null,
11193
11193
  ariaHidden: $e,
11194
11194
  ariaInvalid: null,
11195
11195
  ariaKeyShortcuts: null,
11196
11196
  ariaLabel: null,
11197
- ariaLabelledBy: De,
11197
+ ariaLabelledBy: we,
11198
11198
  ariaLevel: J,
11199
11199
  ariaLive: null,
11200
11200
  ariaModal: $e,
11201
11201
  ariaMultiLine: $e,
11202
11202
  ariaMultiSelectable: $e,
11203
11203
  ariaOrientation: null,
11204
- ariaOwns: De,
11204
+ ariaOwns: we,
11205
11205
  ariaPlaceholder: null,
11206
11206
  ariaPosInSet: J,
11207
11207
  ariaPressed: $e,
11208
11208
  ariaReadOnly: $e,
11209
11209
  ariaRelevant: null,
11210
11210
  ariaRequired: $e,
11211
- ariaRoleDescription: De,
11211
+ ariaRoleDescription: we,
11212
11212
  ariaRowCount: J,
11213
11213
  ariaRowIndex: J,
11214
11214
  ariaRowSpan: J,
@@ -11243,8 +11243,8 @@ const Y2 = wn({
11243
11243
  // Standard Properties.
11244
11244
  abbr: null,
11245
11245
  accept: vn,
11246
- acceptCharset: De,
11247
- accessKey: De,
11246
+ acceptCharset: we,
11247
+ accessKey: we,
11248
11248
  action: null,
11249
11249
  allow: null,
11250
11250
  allowFullScreen: he,
@@ -11254,21 +11254,21 @@ const Y2 = wn({
11254
11254
  as: null,
11255
11255
  async: he,
11256
11256
  autoCapitalize: null,
11257
- autoComplete: De,
11257
+ autoComplete: we,
11258
11258
  autoFocus: he,
11259
11259
  autoPlay: he,
11260
- blocking: De,
11260
+ blocking: we,
11261
11261
  capture: null,
11262
11262
  charSet: null,
11263
11263
  checked: he,
11264
11264
  cite: null,
11265
- className: De,
11265
+ className: we,
11266
11266
  cols: J,
11267
11267
  colSpan: null,
11268
11268
  content: null,
11269
11269
  contentEditable: $e,
11270
11270
  controls: he,
11271
- controlsList: De,
11271
+ controlsList: we,
11272
11272
  coords: J | vn,
11273
11273
  crossOrigin: null,
11274
11274
  data: null,
@@ -11290,14 +11290,14 @@ const Y2 = wn({
11290
11290
  formMethod: null,
11291
11291
  formNoValidate: he,
11292
11292
  formTarget: null,
11293
- headers: De,
11293
+ headers: we,
11294
11294
  height: J,
11295
11295
  hidden: he,
11296
11296
  high: J,
11297
11297
  href: null,
11298
11298
  hrefLang: null,
11299
- htmlFor: De,
11300
- httpEquiv: De,
11299
+ htmlFor: we,
11300
+ httpEquiv: we,
11301
11301
  id: null,
11302
11302
  imageSizes: null,
11303
11303
  imageSrcSet: null,
@@ -11307,10 +11307,10 @@ const Y2 = wn({
11307
11307
  is: null,
11308
11308
  isMap: he,
11309
11309
  itemId: null,
11310
- itemProp: De,
11311
- itemRef: De,
11310
+ itemProp: we,
11311
+ itemRef: we,
11312
11312
  itemScope: he,
11313
- itemType: De,
11313
+ itemType: we,
11314
11314
  kind: null,
11315
11315
  label: null,
11316
11316
  lang: null,
@@ -11423,7 +11423,7 @@ const Y2 = wn({
11423
11423
  open: he,
11424
11424
  optimum: J,
11425
11425
  pattern: null,
11426
- ping: De,
11426
+ ping: we,
11427
11427
  placeholder: null,
11428
11428
  playsInline: he,
11429
11429
  popover: null,
@@ -11433,12 +11433,12 @@ const Y2 = wn({
11433
11433
  preload: null,
11434
11434
  readOnly: he,
11435
11435
  referrerPolicy: null,
11436
- rel: De,
11436
+ rel: we,
11437
11437
  required: he,
11438
11438
  reversed: he,
11439
11439
  rows: J,
11440
11440
  rowSpan: J,
11441
- sandbox: De,
11441
+ sandbox: we,
11442
11442
  scope: null,
11443
11443
  scoped: he,
11444
11444
  seamless: he,
@@ -11476,7 +11476,7 @@ const Y2 = wn({
11476
11476
  // Several. Use CSS `text-align` instead,
11477
11477
  aLink: null,
11478
11478
  // `<body>`. Use CSS `a:active {color}` instead
11479
- archive: De,
11479
+ archive: we,
11480
11480
  // `<object>`. List of URIs to archives
11481
11481
  axis: null,
11482
11482
  // `<td>` and `<th>`. Use `scope` on `<th>`
@@ -11791,7 +11791,7 @@ const Y2 = wn({
11791
11791
  by: null,
11792
11792
  calcMode: null,
11793
11793
  capHeight: J,
11794
- className: De,
11794
+ className: we,
11795
11795
  clip: null,
11796
11796
  clipPath: null,
11797
11797
  clipPathUnits: null,
@@ -12026,7 +12026,7 @@ const Y2 = wn({
12026
12026
  patternTransform: null,
12027
12027
  patternUnits: null,
12028
12028
  phase: null,
12029
- ping: De,
12029
+ ping: we,
12030
12030
  pitch: null,
12031
12031
  playbackOrder: null,
12032
12032
  pointerEvents: null,
@@ -12462,7 +12462,7 @@ Gi.prototype.defined = !0;
12462
12462
  function jo(e, t, n) {
12463
12463
  n && (e[t] = n);
12464
12464
  }
12465
- function Dn(e) {
12465
+ function Rn(e) {
12466
12466
  const t = {}, n = {};
12467
12467
  for (const [r, a] of Object.entries(e.properties)) {
12468
12468
  const i = new Gi(
@@ -12475,7 +12475,7 @@ function Dn(e) {
12475
12475
  }
12476
12476
  return new mr(t, n, e.space);
12477
12477
  }
12478
- const ic = Dn({
12478
+ const ic = Rn({
12479
12479
  properties: {
12480
12480
  ariaActiveDescendant: null,
12481
12481
  ariaAtomic: Ve,
@@ -12537,7 +12537,7 @@ function uc(e, t) {
12537
12537
  function oc(e, t) {
12538
12538
  return uc(e, t.toLowerCase());
12539
12539
  }
12540
- const sg = Dn({
12540
+ const sg = Rn({
12541
12541
  attributes: {
12542
12542
  acceptcharset: "accept-charset",
12543
12543
  classname: "class",
@@ -12898,7 +12898,7 @@ const sg = Dn({
12898
12898
  },
12899
12899
  space: "html",
12900
12900
  transform: oc
12901
- }), lg = Dn({
12901
+ }), lg = Rn({
12902
12902
  attributes: {
12903
12903
  accentHeight: "accent-height",
12904
12904
  alignmentBaseline: "alignment-baseline",
@@ -13457,7 +13457,7 @@ const sg = Dn({
13457
13457
  },
13458
13458
  space: "svg",
13459
13459
  transform: uc
13460
- }), sc = Dn({
13460
+ }), sc = Rn({
13461
13461
  properties: {
13462
13462
  xLinkActuate: null,
13463
13463
  xLinkArcRole: null,
@@ -13471,12 +13471,12 @@ const sg = Dn({
13471
13471
  transform(e, t) {
13472
13472
  return "xlink:" + t.slice(5).toLowerCase();
13473
13473
  }
13474
- }), lc = Dn({
13474
+ }), lc = Rn({
13475
13475
  attributes: { xmlnsxlink: "xmlns:xlink" },
13476
13476
  properties: { xmlnsXLink: null, xmlns: null },
13477
13477
  space: "xmlns",
13478
13478
  transform: oc
13479
- }), cc = Dn({
13479
+ }), cc = Rn({
13480
13480
  properties: { xmlBase: null, xmlLang: null, xmlSpace: null },
13481
13481
  space: "xml",
13482
13482
  transform(e, t) {
@@ -13719,11 +13719,11 @@ function Ag(e, t) {
13719
13719
  mode: (e.data || {}).quirksMode ? "quirks" : "no-quirks",
13720
13720
  childNodes: []
13721
13721
  };
13722
- return n.childNodes = Ki(e.children, n, t), Rn(e, n), n;
13722
+ return n.childNodes = Ki(e.children, n, t), Dn(e, n), n;
13723
13723
  }
13724
13724
  function Sg(e, t) {
13725
13725
  const n = { nodeName: "#document-fragment", childNodes: [] };
13726
- return n.childNodes = Ki(e.children, n, t), Rn(e, n), n;
13726
+ return n.childNodes = Ki(e.children, n, t), Dn(e, n), n;
13727
13727
  }
13728
13728
  function xg(e) {
13729
13729
  const t = {
@@ -13733,7 +13733,7 @@ function xg(e) {
13733
13733
  systemId: "",
13734
13734
  parentNode: null
13735
13735
  };
13736
- return Rn(e, t), t;
13736
+ return Dn(e, t), t;
13737
13737
  }
13738
13738
  function vg(e) {
13739
13739
  const t = {
@@ -13741,7 +13741,7 @@ function vg(e) {
13741
13741
  value: e.value,
13742
13742
  parentNode: null
13743
13743
  };
13744
- return Rn(e, t), t;
13744
+ return Dn(e, t), t;
13745
13745
  }
13746
13746
  function Og(e) {
13747
13747
  const t = {
@@ -13749,7 +13749,7 @@ function Og(e) {
13749
13749
  data: e.value,
13750
13750
  parentNode: null
13751
13751
  };
13752
- return Rn(e, t), t;
13752
+ return Dn(e, t), t;
13753
13753
  }
13754
13754
  function Ig(e, t) {
13755
13755
  const n = t;
@@ -13777,7 +13777,7 @@ function Ig(e, t) {
13777
13777
  childNodes: [],
13778
13778
  parentNode: null
13779
13779
  };
13780
- return s.childNodes = Ki(e.children, s, r), Rn(e, s), e.tagName === "template" && e.content && (s.content = Sg(e.content, r)), s;
13780
+ return s.childNodes = Ki(e.children, s, r), Dn(e, s), e.tagName === "template" && e.content && (s.content = Sg(e.content, r)), s;
13781
13781
  }
13782
13782
  function Ng(e, t, n) {
13783
13783
  const r = Bl(e, t);
@@ -13804,7 +13804,7 @@ function Ki(e, t, n) {
13804
13804
  }
13805
13805
  return a;
13806
13806
  }
13807
- function Rn(e, t) {
13807
+ function Dn(e, t) {
13808
13808
  const n = e.position;
13809
13809
  n && n.start && n.end && (n.start.offset, n.end.offset, t.sourceCodeLocation = {
13810
13810
  startLine: n.start.line,
@@ -13890,7 +13890,7 @@ function bc(e) {
13890
13890
  function wg(e) {
13891
13891
  return e >= 56320 && e <= 57343;
13892
13892
  }
13893
- function Dg(e, t) {
13893
+ function Rg(e, t) {
13894
13894
  return (e - 55296) * 1024 + 9216 + t;
13895
13895
  }
13896
13896
  function Ec(e) {
@@ -13903,10 +13903,10 @@ var q;
13903
13903
  (function(e) {
13904
13904
  e.controlCharacterInInputStream = "control-character-in-input-stream", e.noncharacterInInputStream = "noncharacter-in-input-stream", e.surrogateInInputStream = "surrogate-in-input-stream", e.nonVoidHtmlElementStartTagWithTrailingSolidus = "non-void-html-element-start-tag-with-trailing-solidus", e.endTagWithAttributes = "end-tag-with-attributes", e.endTagWithTrailingSolidus = "end-tag-with-trailing-solidus", e.unexpectedSolidusInTag = "unexpected-solidus-in-tag", e.unexpectedNullCharacter = "unexpected-null-character", e.unexpectedQuestionMarkInsteadOfTagName = "unexpected-question-mark-instead-of-tag-name", e.invalidFirstCharacterOfTagName = "invalid-first-character-of-tag-name", e.unexpectedEqualsSignBeforeAttributeName = "unexpected-equals-sign-before-attribute-name", e.missingEndTagName = "missing-end-tag-name", e.unexpectedCharacterInAttributeName = "unexpected-character-in-attribute-name", e.unknownNamedCharacterReference = "unknown-named-character-reference", e.missingSemicolonAfterCharacterReference = "missing-semicolon-after-character-reference", e.unexpectedCharacterAfterDoctypeSystemIdentifier = "unexpected-character-after-doctype-system-identifier", e.unexpectedCharacterInUnquotedAttributeValue = "unexpected-character-in-unquoted-attribute-value", e.eofBeforeTagName = "eof-before-tag-name", e.eofInTag = "eof-in-tag", e.missingAttributeValue = "missing-attribute-value", e.missingWhitespaceBetweenAttributes = "missing-whitespace-between-attributes", e.missingWhitespaceAfterDoctypePublicKeyword = "missing-whitespace-after-doctype-public-keyword", e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers = "missing-whitespace-between-doctype-public-and-system-identifiers", e.missingWhitespaceAfterDoctypeSystemKeyword = "missing-whitespace-after-doctype-system-keyword", e.missingQuoteBeforeDoctypePublicIdentifier = "missing-quote-before-doctype-public-identifier", e.missingQuoteBeforeDoctypeSystemIdentifier = "missing-quote-before-doctype-system-identifier", e.missingDoctypePublicIdentifier = "missing-doctype-public-identifier", e.missingDoctypeSystemIdentifier = "missing-doctype-system-identifier", e.abruptDoctypePublicIdentifier = "abrupt-doctype-public-identifier", e.abruptDoctypeSystemIdentifier = "abrupt-doctype-system-identifier", e.cdataInHtmlContent = "cdata-in-html-content", e.incorrectlyOpenedComment = "incorrectly-opened-comment", e.eofInScriptHtmlCommentLikeText = "eof-in-script-html-comment-like-text", e.eofInDoctype = "eof-in-doctype", e.nestedComment = "nested-comment", e.abruptClosingOfEmptyComment = "abrupt-closing-of-empty-comment", e.eofInComment = "eof-in-comment", e.incorrectlyClosedComment = "incorrectly-closed-comment", e.eofInCdata = "eof-in-cdata", e.absenceOfDigitsInNumericCharacterReference = "absence-of-digits-in-numeric-character-reference", e.nullCharacterReference = "null-character-reference", e.surrogateCharacterReference = "surrogate-character-reference", e.characterReferenceOutsideUnicodeRange = "character-reference-outside-unicode-range", e.controlCharacterReference = "control-character-reference", e.noncharacterCharacterReference = "noncharacter-character-reference", e.missingWhitespaceBeforeDoctypeName = "missing-whitespace-before-doctype-name", e.missingDoctypeName = "missing-doctype-name", e.invalidCharacterSequenceAfterDoctypeName = "invalid-character-sequence-after-doctype-name", e.duplicateAttribute = "duplicate-attribute", e.nonConformingDoctype = "non-conforming-doctype", e.missingDoctype = "missing-doctype", e.misplacedDoctype = "misplaced-doctype", e.endTagWithoutMatchingOpenElement = "end-tag-without-matching-open-element", e.closingOfElementWithOpenChildElements = "closing-of-element-with-open-child-elements", e.disallowedContentInNoscriptInHead = "disallowed-content-in-noscript-in-head", e.openElementsLeftAfterEof = "open-elements-left-after-eof", e.abandonedHeadElementChild = "abandoned-head-element-child", e.misplacedStartTagForHeadElement = "misplaced-start-tag-for-head-element", e.nestedNoscriptInHead = "nested-noscript-in-head", e.eofInElementThatCanContainOnlyText = "eof-in-element-that-can-contain-only-text";
13905
13905
  })(q || (q = {}));
13906
- const Rg = 65536;
13906
+ const Dg = 65536;
13907
13907
  class Pg {
13908
13908
  constructor(t) {
13909
- this.handler = t, this.html = "", this.pos = -1, this.lastGapPos = -2, this.gapStack = [], this.skipNextNewLine = !1, this.lastChunkWritten = !1, this.endOfChunkHit = !1, this.bufferWaterline = Rg, this.isEol = !1, this.lineStartPos = 0, this.droppedBufferSize = 0, this.line = 1, this.lastErrOffset = -1;
13909
+ this.handler = t, this.html = "", this.pos = -1, this.lastGapPos = -2, this.gapStack = [], this.skipNextNewLine = !1, this.lastChunkWritten = !1, this.endOfChunkHit = !1, this.bufferWaterline = Dg, this.isEol = !1, this.lineStartPos = 0, this.droppedBufferSize = 0, this.line = 1, this.lastErrOffset = -1;
13910
13910
  }
13911
13911
  /** The column on the current line. If we just saw a gap (eg. a surrogate pair), return the index before. */
13912
13912
  get col() {
@@ -13937,7 +13937,7 @@ class Pg {
13937
13937
  if (this.pos !== this.html.length - 1) {
13938
13938
  const n = this.html.charCodeAt(this.pos + 1);
13939
13939
  if (wg(n))
13940
- return this.pos++, this._addGap(), Dg(t, n);
13940
+ return this.pos++, this._addGap(), Rg(t, n);
13941
13941
  } else if (!this.lastChunkWritten)
13942
13942
  return this.endOfChunkHit = !0, E.EOF;
13943
13943
  return this._err(q.surrogateInInputStream), t;
@@ -17693,7 +17693,7 @@ class ts {
17693
17693
  case O.IN_CAPTION:
17694
17694
  case O.IN_CELL:
17695
17695
  case O.IN_TEMPLATE: {
17696
- Dc(this, t);
17696
+ Rc(this, t);
17697
17697
  break;
17698
17698
  }
17699
17699
  case O.TEXT:
@@ -17814,12 +17814,12 @@ class ts {
17814
17814
  break;
17815
17815
  }
17816
17816
  case O.AFTER_BODY: {
17817
- Db(this, t);
17817
+ Rb(this, t);
17818
17818
  break;
17819
17819
  }
17820
17820
  case O.AFTER_AFTER_BODY:
17821
17821
  case O.AFTER_AFTER_FRAMESET: {
17822
- Rb(this, t);
17822
+ Db(this, t);
17823
17823
  break;
17824
17824
  }
17825
17825
  }
@@ -18216,10 +18216,10 @@ function Zi(e, t) {
18216
18216
  function Ai(e, t) {
18217
18217
  e._appendCommentNode(t, e.openElements.currentTmplContentOrNode);
18218
18218
  }
18219
- function Db(e, t) {
18219
+ function Rb(e, t) {
18220
18220
  e._appendCommentNode(t, e.openElements.items[0]);
18221
18221
  }
18222
- function Rb(e, t) {
18222
+ function Db(e, t) {
18223
18223
  e._appendCommentNode(t, e.document);
18224
18224
  }
18225
18225
  function Ji(e, t) {
@@ -18443,7 +18443,7 @@ function or(e, t) {
18443
18443
  function ea(e, t) {
18444
18444
  switch (t.type) {
18445
18445
  case be.CHARACTER: {
18446
- Dc(e, t);
18446
+ Rc(e, t);
18447
18447
  break;
18448
18448
  }
18449
18449
  case be.WHITESPACE_CHARACTER: {
@@ -18471,7 +18471,7 @@ function ea(e, t) {
18471
18471
  function wc(e, t) {
18472
18472
  e._reconstructActiveFormattingElements(), e._insertCharacters(t);
18473
18473
  }
18474
- function Dc(e, t) {
18474
+ function Rc(e, t) {
18475
18475
  e._reconstructActiveFormattingElements(), e._insertCharacters(t), e.framesetOk = !1;
18476
18476
  }
18477
18477
  function $b(e, t) {
@@ -18534,7 +18534,7 @@ function aE(e, t) {
18534
18534
  function iE(e, t) {
18535
18535
  e.treeAdapter.getDocumentMode(e.document) !== bt.QUIRKS && e.openElements.hasInButtonScope(o.P) && e._closePElement(), e._insertElement(t, X.HTML), e.framesetOk = !1, e.insertionMode = O.IN_TABLE;
18536
18536
  }
18537
- function Rc(e, t) {
18537
+ function Dc(e, t) {
18538
18538
  e._reconstructActiveFormattingElements(), e._appendElement(t, X.HTML), e.framesetOk = !1, t.ackSelfClosing = !0;
18539
18539
  }
18540
18540
  function Pc(e) {
@@ -18551,7 +18551,7 @@ function sE(e, t) {
18551
18551
  e.openElements.hasInButtonScope(o.P) && e._closePElement(), e._appendElement(t, X.HTML), e.framesetOk = !1, t.ackSelfClosing = !0;
18552
18552
  }
18553
18553
  function lE(e, t) {
18554
- t.tagName = P.IMG, t.tagID = o.IMG, Rc(e, t);
18554
+ t.tagName = P.IMG, t.tagID = o.IMG, Dc(e, t);
18555
18555
  }
18556
18556
  function cE(e, t) {
18557
18557
  e._insertElement(t, X.HTML), e.skipNextNewLine = !0, e.tokenizer.state = ze.RCDATA, e.originalInsertionMode = e.insertionMode, e.framesetOk = !1, e.insertionMode = O.TEXT;
@@ -18656,7 +18656,7 @@ function et(e, t) {
18656
18656
  case o.AREA:
18657
18657
  case o.EMBED:
18658
18658
  case o.KEYGEN: {
18659
- Rc(e, t);
18659
+ Dc(e, t);
18660
18660
  break;
18661
18661
  }
18662
18662
  case o.HR: {
@@ -18977,10 +18977,10 @@ function LE(e, t) {
18977
18977
  function wE(e, t) {
18978
18978
  e.openElements.clearBackToTableContext(), e._insertElement(t, X.HTML), e.insertionMode = O.IN_COLUMN_GROUP;
18979
18979
  }
18980
- function DE(e, t) {
18980
+ function RE(e, t) {
18981
18981
  e.openElements.clearBackToTableContext(), e._insertFakeElement(P.COLGROUP, o.COLGROUP), e.insertionMode = O.IN_COLUMN_GROUP, eu(e, t);
18982
18982
  }
18983
- function RE(e, t) {
18983
+ function DE(e, t) {
18984
18984
  e.openElements.clearBackToTableContext(), e._insertElement(t, X.HTML), e.insertionMode = O.IN_TABLE_BODY;
18985
18985
  }
18986
18986
  function PE(e, t) {
@@ -19010,7 +19010,7 @@ function Nn(e, t) {
19010
19010
  break;
19011
19011
  }
19012
19012
  case o.COL: {
19013
- DE(e, t);
19013
+ RE(e, t);
19014
19014
  break;
19015
19015
  }
19016
19016
  case o.FORM: {
@@ -19024,7 +19024,7 @@ function Nn(e, t) {
19024
19024
  case o.TBODY:
19025
19025
  case o.TFOOT:
19026
19026
  case o.THEAD: {
19027
- RE(e, t);
19027
+ DE(e, t);
19028
19028
  break;
19029
19029
  }
19030
19030
  case o.INPUT: {
@@ -19885,7 +19885,7 @@ const NT = "Sure, I can get you to someone who can help.", kT = (e) => {
19885
19885
  toolCalls: m
19886
19886
  } = n ?? {}, _ = p || B2(m).includes("escalate_to_an_agent"), g = !_ && !!d, w = sr(
19887
19887
  () => {
19888
- var R;
19888
+ var D;
19889
19889
  return {
19890
19890
  agent: {
19891
19891
  bubbleClassName: "xpert-chatbot-popup__bubble--assistant",
@@ -19909,7 +19909,7 @@ const NT = "Sure, I can get you to someone who can help.", kT = (e) => {
19909
19909
  bubbleClassName: "xpert-chatbot-popup__bubble--user",
19910
19910
  bubbleStyle: {
19911
19911
  backgroundColor: l,
19912
- ...(R = c == null ? void 0 : c.userMessageBubble) == null ? void 0 : R.style
19912
+ ...(D = c == null ? void 0 : c.userMessageBubble) == null ? void 0 : D.style
19913
19913
  },
19914
19914
  innerStyle: { justifyContent: "flex-end" },
19915
19915
  sectionAriaLabel: "The user said"
@@ -19919,7 +19919,7 @@ const NT = "Sure, I can get you to someone who can help.", kT = (e) => {
19919
19919
  [(K = c == null ? void 0 : c.userMessageBubble) == null ? void 0 : K.style, l]
19920
19920
  ), M = sr(() => {
19921
19921
  if (!g) return null;
19922
- const R = kT(d);
19922
+ const D = kT(d);
19923
19923
  return /* @__PURE__ */ v.jsx(
19924
19924
  ji,
19925
19925
  {
@@ -19949,7 +19949,7 @@ const NT = "Sure, I can get you to someone who can help.", kT = (e) => {
19949
19949
  linkTarget: "_blank",
19950
19950
  rehypePlugins: [IT],
19951
19951
  transformLinkUri: F2,
19952
- children: R
19952
+ children: D
19953
19953
  }
19954
19954
  );
19955
19955
  }, [d, g, i, w, f]);
@@ -20011,7 +20011,7 @@ const NT = "Sure, I can get you to someone who can help.", kT = (e) => {
20011
20011
  ]
20012
20012
  }
20013
20013
  ),
20014
- b && /* @__PURE__ */ v.jsx("div", { className: "xpert-chatbot-popup__bubble--timestamp", children: R2(b).format("hh:mm a") }),
20014
+ b && /* @__PURE__ */ v.jsx("div", { className: "xpert-chatbot-popup__bubble--timestamp", children: D2(b).format("hh:mm a") }),
20015
20015
  !h && a && f === "assistant" ? /* @__PURE__ */ v.jsx(
20016
20016
  il,
20017
20017
  {
@@ -20059,8 +20059,8 @@ tu.propTypes = {
20059
20059
  };
20060
20060
  tu.displayName = "NotificationMessage";
20061
20061
  function td({ disableScroll: e }) {
20062
- const t = Je(null);
20063
- return ke(() => {
20062
+ const t = Ze(null);
20063
+ return Pe(() => {
20064
20064
  var n;
20065
20065
  e || (n = t.current) == null || n.scrollIntoView({
20066
20066
  behavior: "smooth",
@@ -20094,7 +20094,7 @@ const ua = ({
20094
20094
  setLiveChatOpen: i = null,
20095
20095
  submitEvent: u = null
20096
20096
  }) => {
20097
- const { disableScroll: s, hasError: l } = se(Ze), { isConversationLoading: c } = se(wt), d = t || c, h = Je(null), p = Je(null);
20097
+ const { disableScroll: s, hasError: l } = se(Je), { isConversationLoading: c } = se(wt), d = t || c, h = Ze(null), p = Ze(null);
20098
20098
  return /* @__PURE__ */ v.jsxs(v.Fragment, { children: [
20099
20099
  /* @__PURE__ */ v.jsx(
20100
20100
  "section",
@@ -20197,7 +20197,7 @@ const nd = () => {
20197
20197
  nd.displayName = "MaintenanceBanner";
20198
20198
  const nu = ({ onPromptClick: e }) => {
20199
20199
  var s;
20200
- const { primaryColor: t, conversationScreen: n } = se(je), { deleteConversationModal: r } = se(wt), { loading: a, streaming: i } = se(Ze), u = a || i;
20200
+ const { primaryColor: t, conversationScreen: n } = se(je), { deleteConversationModal: r } = se(wt), { loading: a, streaming: i } = se(Je), u = a || i;
20201
20201
  return /* @__PURE__ */ v.jsxs("div", { style: { display: "grid", gap: ".75rem" }, children: [
20202
20202
  /* @__PURE__ */ v.jsx("div", { style: { fontWeight: 700, fontSize: "0.75rem" }, children: "Some things I can help you with" }),
20203
20203
  (s = n == null ? void 0 : n.prompts) == null ? void 0 : s.map((l) => {
@@ -20228,34 +20228,29 @@ nu.propTypes = {
20228
20228
  };
20229
20229
  nu.displayName = "PromptList";
20230
20230
  const rd = ({ chatContentRef: e, messages: t }) => {
20231
- const { loading: n } = se(Ze), [r, a] = de(!1), i = pt(() => {
20231
+ const { loading: n, streaming: r } = se(Je), [a, i] = de(!1), u = Ze(null), s = pt(() => {
20232
20232
  if (!e.current) return;
20233
- const { scrollTop: s, scrollHeight: l, clientHeight: c } = e.current, d = s + c >= l - 10;
20234
- a(!d);
20235
- }, [e]), u = () => {
20233
+ const { scrollTop: c, scrollHeight: d, clientHeight: h } = e.current, p = c + h >= d - 10;
20234
+ i(!p);
20235
+ }, [e]), l = () => {
20236
20236
  e.current && e.current.scrollTo({
20237
20237
  top: e.current.scrollHeight,
20238
20238
  behavior: "smooth"
20239
- });
20239
+ }), u.current && u.current.focus();
20240
20240
  };
20241
- return ke(() => {
20242
- const s = e.current;
20243
- if (s)
20244
- return s.addEventListener("scroll", i), () => s.removeEventListener("scroll", i);
20245
- }, [e, i]), ke(() => {
20246
- e.current && e.current.scrollTo({
20247
- top: e.current.scrollHeight,
20248
- behavior: "smooth"
20249
- });
20250
- }, [e]), ke(() => {
20241
+ return Pe(() => {
20242
+ const c = e.current;
20243
+ if (c)
20244
+ return c.addEventListener("scroll", s), () => c.removeEventListener("scroll", s);
20245
+ }, [e, s]), Pe(() => {
20251
20246
  !n && e.current && e.current.scrollTo({
20252
20247
  top: e.current.scrollHeight,
20253
20248
  behavior: "smooth"
20254
20249
  });
20255
- }, [n, e]), n ? null : /* @__PURE__ */ v.jsx(v.Fragment, { children: r && t.filter((s) => s.role === "assistant").length > 0 && /* @__PURE__ */ v.jsx(
20250
+ }, [n, e]), n ? null : /* @__PURE__ */ v.jsx("div", { ref: u, tabIndex: -1, children: (a || r) && t.filter((c) => c.role === "assistant").length > 0 && /* @__PURE__ */ v.jsx(
20256
20251
  "button",
20257
20252
  {
20258
- onClick: u,
20253
+ onClick: l,
20259
20254
  className: "xpert_chatbot__scroll-to-last-message-button",
20260
20255
  "aria-label": "Scroll to bottom",
20261
20256
  children: "↓"
@@ -20280,7 +20275,7 @@ function ad({
20280
20275
  userInput: l = ""
20281
20276
  }) {
20282
20277
  var g, w;
20283
- const { conversationScreen: c, disclaimer: d } = se(je), { deleteConversationModal: h, xpertMessages: p } = se(wt), { loading: f, setMode: b } = se(Ze), m = Je(null), _ = (M) => {
20278
+ const { conversationScreen: c, disclaimer: d } = se(je), { deleteConversationModal: h, xpertMessages: p } = se(wt), { loading: f, setMode: b } = se(Je), m = Ze(null), _ = (M) => {
20284
20279
  c.liveChat.useOwnChat ? b(It.LIVECHAT) : u(M);
20285
20280
  };
20286
20281
  return /* @__PURE__ */ v.jsxs(v.Fragment, { children: [
@@ -20376,7 +20371,7 @@ ad.propTypes = {
20376
20371
  userInput: x.string
20377
20372
  };
20378
20373
  var Va = {}, ct = {}, Wa = {}, us;
20379
- function Dt() {
20374
+ function Rt() {
20380
20375
  return us || (us = 1, function(e) {
20381
20376
  Object.defineProperty(e, "__esModule", { value: !0 }), e.isEventSourceSupported = e.isReactNative = e.ReadyState = e.DEFAULT_HEARTBEAT = e.UNPARSABLE_JSON_OBJECT = e.DEFAULT_RECONNECT_INTERVAL_MS = e.DEFAULT_RECONNECT_LIMIT = e.SOCKET_IO_PING_CODE = e.SOCKET_IO_PATH = e.SOCKET_IO_PING_INTERVAL = e.DEFAULT_EVENT_SOURCE_OPTIONS = e.EMPTY_EVENT_HANDLERS = e.DEFAULT_OPTIONS = void 0;
20382
20377
  var t = 1, n = 1e3 * t;
@@ -20420,7 +20415,7 @@ var en = {}, Bt = {}, ss;
20420
20415
  function au() {
20421
20416
  if (ss) return Bt;
20422
20417
  ss = 1, Object.defineProperty(Bt, "__esModule", { value: !0 }), Bt.setUpSocketIOPing = Bt.appendQueryParams = Bt.parseSocketIOUrl = void 0;
20423
- var e = Dt(), t = function(a) {
20418
+ var e = Rt(), t = function(a) {
20424
20419
  if (a) {
20425
20420
  var i = /^https|wss/.test(a), u = a.replace(/^(https?|wss?)(:\/\/)?/, ""), s = u.replace(/\/$/, ""), l = i ? "wss" : "ws";
20426
20421
  return "".concat(l, "://").concat(s).concat(e.SOCKET_IO_PATH);
@@ -20453,7 +20448,7 @@ var kr = {}, ls;
20453
20448
  function id() {
20454
20449
  if (ls) return kr;
20455
20450
  ls = 1, Object.defineProperty(kr, "__esModule", { value: !0 }), kr.heartbeat = n;
20456
- var e = Dt();
20451
+ var e = Rt();
20457
20452
  function t(r) {
20458
20453
  return Array.isArray(r) ? r.reduce(function(a, i) {
20459
20454
  return a.current > i.current ? a : i;
@@ -20537,7 +20532,7 @@ function LT() {
20537
20532
  }, e.apply(this, arguments);
20538
20533
  };
20539
20534
  Object.defineProperty(en, "__esModule", { value: !0 }), en.attachListeners = void 0;
20540
- var t = au(), n = id(), r = Dt(), a = uu(), i = function(d, h, p, f) {
20535
+ var t = au(), n = id(), r = Rt(), a = uu(), i = function(d, h, p, f) {
20541
20536
  d.onmessage = function(b) {
20542
20537
  var m;
20543
20538
  h.current.onMessage && h.current.onMessage(b), typeof (f == null ? void 0 : f.current) == "number" && (f.current = Date.now()), !(typeof h.current.filter == "function" && h.current.filter(b) !== !0) && (h.current.heartbeat && typeof h.current.heartbeat != "boolean" && ((m = h.current.heartbeat) === null || m === void 0 ? void 0 : m.returnMessage) === b.data || p(b));
@@ -20586,9 +20581,9 @@ function LT() {
20586
20581
  return m && window.clearTimeout(m);
20587
20582
  };
20588
20583
  }, c = function(d, h, p, f, b, m, _) {
20589
- var g = h.setLastMessage, w = h.setReadyState, M, K, R;
20590
- return p.current.fromSocketIO && (M = (0, t.setUpSocketIOPing)(_)), i(d, p, g, m), u(d, p, w, b, m), K = s(d, p, w, f, b), R = l(d, p, w, f, b), function() {
20591
- w(r.ReadyState.CLOSING), K(), R(), d.close(), M && clearInterval(M);
20584
+ var g = h.setLastMessage, w = h.setReadyState, M, K, D;
20585
+ return p.current.fromSocketIO && (M = (0, t.setUpSocketIOPing)(_)), i(d, p, g, m), u(d, p, w, b, m), K = s(d, p, w, f, b), D = l(d, p, w, f, b), function() {
20586
+ w(r.ReadyState.CLOSING), K(), D(), d.close(), M && clearInterval(M);
20592
20587
  };
20593
20588
  };
20594
20589
  return en.attachListeners = c, en;
@@ -20607,7 +20602,7 @@ function wT() {
20607
20602
  }, e.apply(this, arguments);
20608
20603
  };
20609
20604
  Object.defineProperty(tn, "__esModule", { value: !0 }), tn.attachSharedListeners = void 0;
20610
- var t = ru(), n = Dt(), r = iu(), a = au(), i = id(), u = function(h, p, f) {
20605
+ var t = ru(), n = Rt(), r = iu(), a = au(), i = id(), u = function(h, p, f) {
20611
20606
  h.onmessage = function(b) {
20612
20607
  (0, r.getSubscribers)(p).forEach(function(m) {
20613
20608
  var _;
@@ -20656,10 +20651,10 @@ function wT() {
20656
20651
  return tn.attachSharedListeners = d, tn;
20657
20652
  }
20658
20653
  var ps;
20659
- function DT() {
20654
+ function RT() {
20660
20655
  if (ps) return Gn;
20661
20656
  ps = 1, Object.defineProperty(Gn, "__esModule", { value: !0 }), Gn.createOrJoinSocket = void 0;
20662
- var e = ru(), t = Dt(), n = LT(), r = wT(), a = iu(), i = function(s, l, c, d, h) {
20657
+ var e = ru(), t = Rt(), n = LT(), r = wT(), a = iu(), i = function(s, l, c, d, h) {
20663
20658
  return function() {
20664
20659
  if ((0, a.removeSubscriber)(s, l), !(0, a.hasSubscribers)(s)) {
20665
20660
  try {
@@ -20699,7 +20694,7 @@ function DT() {
20699
20694
  return Gn.createOrJoinSocket = u, Gn;
20700
20695
  }
20701
20696
  var Ht = {}, ms;
20702
- function RT() {
20697
+ function DT() {
20703
20698
  return ms || (ms = 1, function(e) {
20704
20699
  var t = Ht && Ht.__awaiter || function(l, c, d, h) {
20705
20700
  function p(f) {
@@ -20792,7 +20787,7 @@ function RT() {
20792
20787
  return l.concat(f || Array.prototype.slice.call(c));
20793
20788
  };
20794
20789
  Object.defineProperty(e, "__esModule", { value: !0 }), e.getUrl = void 0;
20795
- var a = au(), i = Dt(), u = function(l) {
20790
+ var a = au(), i = Rt(), u = function(l) {
20796
20791
  return new Promise(function(c) {
20797
20792
  return window.setTimeout(c, l);
20798
20793
  });
@@ -20800,7 +20795,7 @@ function RT() {
20800
20795
  for (var d = [], h = 2; h < arguments.length; h++)
20801
20796
  d[h - 2] = arguments[h];
20802
20797
  return t(void 0, r([l, c], d, !0), void 0, function(p, f, b) {
20803
- var m, _, g, w, M, K, R, y;
20798
+ var m, _, g, w, M, K, D, y;
20804
20799
  return b === void 0 && (b = 0), n(this, function(N) {
20805
20800
  switch (N.label) {
20806
20801
  case 0:
@@ -20815,7 +20810,7 @@ function RT() {
20815
20810
  case 4:
20816
20811
  return N.sent(), [2, (0, e.getUrl)(p, f, b + 1)];
20817
20812
  case 5:
20818
- return (y = (R = f.current).onReconnectStop) === null || y === void 0 || y.call(R, b), [2, null];
20813
+ return (y = (D = f.current).onReconnectStop) === null || y === void 0 || y.call(D, b), [2, null];
20819
20814
  case 6:
20820
20815
  return [3, 8];
20821
20816
  case 7:
@@ -20875,22 +20870,22 @@ function ou() {
20875
20870
  return new (b || (b = Promise))(function(g, w) {
20876
20871
  function M(y) {
20877
20872
  try {
20878
- R(m.next(y));
20873
+ D(m.next(y));
20879
20874
  } catch (N) {
20880
20875
  w(N);
20881
20876
  }
20882
20877
  }
20883
20878
  function K(y) {
20884
20879
  try {
20885
- R(m.throw(y));
20880
+ D(m.throw(y));
20886
20881
  } catch (N) {
20887
20882
  w(N);
20888
20883
  }
20889
20884
  }
20890
- function R(y) {
20885
+ function D(y) {
20891
20886
  y.done ? g(y.value) : _(y.value).then(M, K);
20892
20887
  }
20893
- R((m = m.apply(p, f || [])).next());
20888
+ D((m = m.apply(p, f || [])).next());
20894
20889
  });
20895
20890
  }, n = ct && ct.__generator || function(p, f) {
20896
20891
  var b = { label: 0, sent: function() {
@@ -20900,64 +20895,64 @@ function ou() {
20900
20895
  return w.next = M(0), w.throw = M(1), w.return = M(2), typeof Symbol == "function" && (w[Symbol.iterator] = function() {
20901
20896
  return this;
20902
20897
  }), w;
20903
- function M(R) {
20898
+ function M(D) {
20904
20899
  return function(y) {
20905
- return K([R, y]);
20900
+ return K([D, y]);
20906
20901
  };
20907
20902
  }
20908
- function K(R) {
20903
+ function K(D) {
20909
20904
  if (m) throw new TypeError("Generator is already executing.");
20910
- for (; w && (w = 0, R[0] && (b = 0)), b; ) try {
20911
- if (m = 1, _ && (g = R[0] & 2 ? _.return : R[0] ? _.throw || ((g = _.return) && g.call(_), 0) : _.next) && !(g = g.call(_, R[1])).done) return g;
20912
- switch (_ = 0, g && (R = [R[0] & 2, g.value]), R[0]) {
20905
+ for (; w && (w = 0, D[0] && (b = 0)), b; ) try {
20906
+ if (m = 1, _ && (g = D[0] & 2 ? _.return : D[0] ? _.throw || ((g = _.return) && g.call(_), 0) : _.next) && !(g = g.call(_, D[1])).done) return g;
20907
+ switch (_ = 0, g && (D = [D[0] & 2, g.value]), D[0]) {
20913
20908
  case 0:
20914
20909
  case 1:
20915
- g = R;
20910
+ g = D;
20916
20911
  break;
20917
20912
  case 4:
20918
- return b.label++, { value: R[1], done: !1 };
20913
+ return b.label++, { value: D[1], done: !1 };
20919
20914
  case 5:
20920
- b.label++, _ = R[1], R = [0];
20915
+ b.label++, _ = D[1], D = [0];
20921
20916
  continue;
20922
20917
  case 7:
20923
- R = b.ops.pop(), b.trys.pop();
20918
+ D = b.ops.pop(), b.trys.pop();
20924
20919
  continue;
20925
20920
  default:
20926
- if (g = b.trys, !(g = g.length > 0 && g[g.length - 1]) && (R[0] === 6 || R[0] === 2)) {
20921
+ if (g = b.trys, !(g = g.length > 0 && g[g.length - 1]) && (D[0] === 6 || D[0] === 2)) {
20927
20922
  b = 0;
20928
20923
  continue;
20929
20924
  }
20930
- if (R[0] === 3 && (!g || R[1] > g[0] && R[1] < g[3])) {
20931
- b.label = R[1];
20925
+ if (D[0] === 3 && (!g || D[1] > g[0] && D[1] < g[3])) {
20926
+ b.label = D[1];
20932
20927
  break;
20933
20928
  }
20934
- if (R[0] === 6 && b.label < g[1]) {
20935
- b.label = g[1], g = R;
20929
+ if (D[0] === 6 && b.label < g[1]) {
20930
+ b.label = g[1], g = D;
20936
20931
  break;
20937
20932
  }
20938
20933
  if (g && b.label < g[2]) {
20939
- b.label = g[2], b.ops.push(R);
20934
+ b.label = g[2], b.ops.push(D);
20940
20935
  break;
20941
20936
  }
20942
20937
  g[2] && b.ops.pop(), b.trys.pop();
20943
20938
  continue;
20944
20939
  }
20945
- R = f.call(p, b);
20940
+ D = f.call(p, b);
20946
20941
  } catch (y) {
20947
- R = [6, y], _ = 0;
20942
+ D = [6, y], _ = 0;
20948
20943
  } finally {
20949
20944
  m = g = 0;
20950
20945
  }
20951
- if (R[0] & 5) throw R[1];
20952
- return { value: R[0] ? R[1] : void 0, done: !0 };
20946
+ if (D[0] & 5) throw D[1];
20947
+ return { value: D[0] ? D[1] : void 0, done: !0 };
20953
20948
  }
20954
20949
  }, r = ct && ct.__importDefault || function(p) {
20955
20950
  return p && p.__esModule ? p : { default: p };
20956
20951
  };
20957
20952
  Object.defineProperty(ct, "__esModule", { value: !0 }), ct.useWebSocket = void 0;
20958
- var a = Et, i = C0, u = Dt(), s = DT(), l = RT(), c = r(PT()), d = uu(), h = function(p, f, b) {
20953
+ var a = Et, i = C0, u = Rt(), s = RT(), l = DT(), c = r(PT()), d = uu(), h = function(p, f, b) {
20959
20954
  f === void 0 && (f = u.DEFAULT_OPTIONS), b === void 0 && (b = !0);
20960
- var m = (0, a.useState)(null), _ = m[0], g = m[1], w = (0, a.useState)({}), M = w[0], K = w[1], R = (0, a.useMemo)(function() {
20955
+ var m = (0, a.useState)(null), _ = m[0], g = m[1], w = (0, a.useState)({}), M = w[0], K = w[1], D = (0, a.useMemo)(function() {
20961
20956
  if (!f.disableJson && _)
20962
20957
  try {
20963
20958
  return JSON.parse(_.data);
@@ -20968,7 +20963,7 @@ function ou() {
20968
20963
  }, [_, f.disableJson]), y = (0, a.useRef)(null), N = (0, a.useRef)(null), G = (0, a.useRef)(function() {
20969
20964
  }), F = (0, a.useRef)(0), te = (0, a.useRef)(Date.now()), z = (0, a.useRef)([]), V = (0, a.useRef)(null), L = (0, a.useRef)(f);
20970
20965
  L.current = f;
20971
- var I = y.current && M[y.current] !== void 0 ? M[y.current] : p !== null && b === !0 ? u.ReadyState.CONNECTING : u.ReadyState.UNINSTANTIATED, D = f.queryParams ? JSON.stringify(f.queryParams) : null, U = (0, a.useCallback)(function(Y, T) {
20966
+ var I = y.current && M[y.current] !== void 0 ? M[y.current] : p !== null && b === !0 ? u.ReadyState.CONNECTING : u.ReadyState.UNINSTANTIATED, R = f.queryParams ? JSON.stringify(f.queryParams) : null, U = (0, a.useCallback)(function(Y, T) {
20972
20967
  var ne;
20973
20968
  if (T === void 0 && (T = !0), u.isEventSourceSupported && N.current instanceof EventSource) {
20974
20969
  console.warn("Unable to send a message from an eventSource");
@@ -21025,7 +21020,7 @@ function ou() {
21025
21020
  var le;
21026
21021
  return e(e({}, S), y.current && (le = {}, le[y.current] = u.ReadyState.CLOSED, le));
21027
21022
  }));
21028
- }, [p, b, D, U]), (0, a.useEffect)(function() {
21023
+ }, [p, b, R, U]), (0, a.useEffect)(function() {
21029
21024
  I === u.ReadyState.OPEN && z.current.splice(0).forEach(function(Y) {
21030
21025
  U(Y);
21031
21026
  });
@@ -21033,7 +21028,7 @@ function ou() {
21033
21028
  sendMessage: U,
21034
21029
  sendJsonMessage: W,
21035
21030
  lastMessage: _,
21036
- lastJsonMessage: R,
21031
+ lastJsonMessage: D,
21037
21032
  readyState: I,
21038
21033
  getWebSocket: j
21039
21034
  };
@@ -21054,7 +21049,7 @@ function MT() {
21054
21049
  }, e.apply(this, arguments);
21055
21050
  };
21056
21051
  Object.defineProperty(nn, "__esModule", { value: !0 }), nn.useSocketIO = void 0;
21057
- var t = Et, n = ou(), r = Dt(), a = {
21052
+ var t = Et, n = ou(), r = Rt(), a = {
21058
21053
  type: "empty",
21059
21054
  payload: null
21060
21055
  }, i = function(s) {
@@ -21107,7 +21102,7 @@ function FT() {
21107
21102
  return l;
21108
21103
  };
21109
21104
  Object.defineProperty(Ut, "__esModule", { value: !0 }), Ut.useEventSource = void 0;
21110
- var n = Et, r = ou(), a = Dt(), i = function(u, s, l) {
21105
+ var n = Et, r = ou(), a = Rt(), i = function(u, s, l) {
21111
21106
  s === void 0 && (s = a.DEFAULT_EVENT_SOURCE_OPTIONS);
21112
21107
  var c = s.withCredentials, d = s.events, h = t(s, ["withCredentials", "events"]);
21113
21108
  l === void 0 && (l = !0);
@@ -21141,7 +21136,7 @@ function BT() {
21141
21136
  Object.defineProperty(e, "useSocketIO", { enumerable: !0, get: function() {
21142
21137
  return n.useSocketIO;
21143
21138
  } });
21144
- var r = Dt();
21139
+ var r = Rt();
21145
21140
  Object.defineProperty(e, "ReadyState", { enumerable: !0, get: function() {
21146
21141
  return r.ReadyState;
21147
21142
  } });
@@ -21176,7 +21171,7 @@ const qT = "This conversation with a live agent has ended. Please note that a tr
21176
21171
  CONVERSATION: "CONVERSATION",
21177
21172
  FORM: "FORM"
21178
21173
  }, hn = Gr({}), ud = ({ children: e, liveChatPayload: t }) => {
21179
- const { conversationScreen: n } = se(je), { pushXpertMessage: r } = se(wt), { setHasError: a, setMode: i } = se(Ze), [u, s] = de(""), [l, c] = de(!1), [, d] = de(""), [h, p] = de([]), [f, b] = de(null), [m, _] = de(qt.FORM), [g, w] = de(null), M = (j) => p((Y) => [...Y, j]), K = async (j) => {
21174
+ const { conversationScreen: n } = se(je), { pushXpertMessage: r } = se(wt), { setHasError: a, setMode: i } = se(Je), [u, s] = de(""), [l, c] = de(!1), [, d] = de(""), [h, p] = de([]), [f, b] = de(null), [m, _] = de(qt.FORM), [g, w] = de(null), M = (j) => p((Y) => [...Y, j]), K = async (j) => {
21180
21175
  const Y = await jT(j.data), { conversation_id: T, event_type: ne, body: oe } = Y;
21181
21176
  switch (ne) {
21182
21177
  case "AGENT_TYPING":
@@ -21202,7 +21197,7 @@ const qT = "This conversation with a live agent has ended. Please note that a tr
21202
21197
  default:
21203
21198
  return;
21204
21199
  }
21205
- }, { sendJsonMessage: R } = UT(f, {
21200
+ }, { sendJsonMessage: D } = UT(f, {
21206
21201
  onMessage: K
21207
21202
  }), y = () => {
21208
21203
  var Y;
@@ -21210,7 +21205,7 @@ const qT = "This conversation with a live agent has ended. Please note that a tr
21210
21205
  const j = (Y = n == null ? void 0 : n.liveChat) == null ? void 0 : Y.form;
21211
21206
  (!j || j.length === 0) && i(It.XPERT);
21212
21207
  }, N = () => {
21213
- R({
21208
+ D({
21214
21209
  action: "sendmessage",
21215
21210
  event: "TERMINATE_CONVERSATION"
21216
21211
  });
@@ -21237,7 +21232,7 @@ const qT = "This conversation with a live agent has ended. Please note that a tr
21237
21232
  id: Y ?? "",
21238
21233
  role: "agent",
21239
21234
  timestamp: ne ? new Date(ne) : void 0
21240
- }), R({
21235
+ }), D({
21241
21236
  action: "sendmessage",
21242
21237
  messages: [
21243
21238
  {
@@ -21260,14 +21255,14 @@ const qT = "This conversation with a live agent has ended. Please note that a tr
21260
21255
  id: "",
21261
21256
  role: "user",
21262
21257
  timestamp: /* @__PURE__ */ new Date()
21263
- }), R({
21258
+ }), D({
21264
21259
  action: "sendmessage",
21265
21260
  event: "OUTGOING_MESSAGE",
21266
21261
  message: j
21267
21262
  });
21268
21263
  },
21269
21264
  sendTypingEvent: async () => {
21270
- R({
21265
+ D({
21271
21266
  action: "sendmessage",
21272
21267
  event: "TYPING"
21273
21268
  });
@@ -21305,7 +21300,7 @@ ud.propTypes = {
21305
21300
  };
21306
21301
  const zT = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='%23ffffff'%20height='48'%20viewBox='0%20-960%20960%20960'%20width='48'%3e%3cpath%20d='M120-120v-300h60v198l558-558H540v-60h300v300h-60v-198L222-180h198v60H120Z'/%3e%3c/svg%3e", YT = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='%23ffffff'%20height='48'%20viewBox='0%20-960%20960%20960'%20width='48'%3e%3cpath%20d='M370-287h360v-90H370v90ZM180-120q-24%200-42-18t-18-42v-600q0-24%2018-42t42-18h600q24%200%2042%2018t18%2042v600q0%2024-18%2042t-42%2018H180Zm0-60h600v-600H180v600Zm0-600v600-600Z'/%3e%3c/svg%3e";
21307
21302
  function od({ handleResizeButtonClick: e, setIsMounted: t }) {
21308
- const { isMobile: n, isNormalSize: r } = se(Ze);
21303
+ const { isMobile: n, isNormalSize: r } = se(Je);
21309
21304
  if (n)
21310
21305
  return null;
21311
21306
  const a = `${r ? "Expand" : "Shrink"} Xpert dialog width`;
@@ -21344,7 +21339,7 @@ function sd({
21344
21339
  isMounted: r
21345
21340
  }) {
21346
21341
  var c;
21347
- const { conversationScreen: a } = se(je), { mode: i } = se(Ze), { setDeleteConversationModal: u, xpertMessages: s } = se(wt), l = i === It.XPERT && ((c = a == null ? void 0 : a.conversationHistory) == null ? void 0 : c.allowDeletion) && !!(s != null && s.length);
21342
+ const { conversationScreen: a } = se(je), { mode: i } = se(Je), { setDeleteConversationModal: u, xpertMessages: s } = se(wt), l = i === It.XPERT && ((c = a == null ? void 0 : a.conversationHistory) == null ? void 0 : c.allowDeletion) && !!(s != null && s.length);
21348
21343
  return /* @__PURE__ */ v.jsxs(v.Fragment, { children: [
21349
21344
  l && /* @__PURE__ */ v.jsx(
21350
21345
  "button",
@@ -21449,8 +21444,8 @@ function cd({
21449
21444
  setIsMounted: n,
21450
21445
  onClose: r
21451
21446
  }) {
21452
- var c, d, h, p, f, b, m, _, g, w, M, K, R, y, N;
21453
- const { primaryColor: a, conversationScreen: i } = se(je), { isMobile: u, mode: s } = se(Ze), { step: l } = se(hn);
21447
+ var c, d, h, p, f, b, m, _, g, w, M, K, D, y, N;
21448
+ const { primaryColor: a, conversationScreen: i } = se(je), { isMobile: u, mode: s } = se(Je), { step: l } = se(hn);
21454
21449
  return l === qt.CONNECTING && s === It.LIVECHAT ? null : /* @__PURE__ */ v.jsxs(
21455
21450
  "div",
21456
21451
  {
@@ -21478,7 +21473,7 @@ function cd({
21478
21473
  {
21479
21474
  "data-ot-ignore": "",
21480
21475
  className: "xpert-chatbot-popup__logo optanon-category-C0001",
21481
- src: Ds,
21476
+ src: Rs,
21482
21477
  alt: "xpert logo",
21483
21478
  "aria-hidden": !0,
21484
21479
  style: (_ = (m = i == null ? void 0 : i.header) == null ? void 0 : m.logo) == null ? void 0 : _.style
@@ -21505,7 +21500,7 @@ function cd({
21505
21500
  className: "xpert-chatbot-popup__header_container",
21506
21501
  style: {
21507
21502
  right: 0,
21508
- background: ((N = (y = (R = i == null ? void 0 : i.header) == null ? void 0 : R.container) == null ? void 0 : y.style) == null ? void 0 : N.background) || a
21503
+ background: ((N = (y = (D = i == null ? void 0 : i.header) == null ? void 0 : D.container) == null ? void 0 : y.style) == null ? void 0 : N.background) || a
21509
21504
  }
21510
21505
  }
21511
21506
  )
@@ -21575,7 +21570,7 @@ function $T() {
21575
21570
  }
21576
21571
  const VT = () => {
21577
21572
  var n, r, a, i, u;
21578
- const { isMobile: e } = se(Ze), { launchButton: t } = se(je);
21573
+ const { isMobile: e } = se(Je), { launchButton: t } = se(je);
21579
21574
  return (n = t == null ? void 0 : t.message) != null && n.enabled ? /* @__PURE__ */ v.jsx(
21580
21575
  "div",
21581
21576
  {
@@ -21699,7 +21694,7 @@ fd.propTypes = {
21699
21694
  onDismiss: x.func
21700
21695
  };
21701
21696
  function XT(e, t) {
21702
- const [n, r] = de(!1), a = Je(), i = pt(
21697
+ const [n, r] = de(!1), a = Ze(), i = pt(
21703
21698
  (...u) => {
21704
21699
  n || (e(...u), r(!0), clearTimeout(a.current), a.current = setTimeout(() => {
21705
21700
  r(!1);
@@ -21707,7 +21702,7 @@ function XT(e, t) {
21707
21702
  },
21708
21703
  [n, e, t]
21709
21704
  );
21710
- return ke(() => () => {
21705
+ return Pe(() => () => {
21711
21706
  clearTimeout(a.current);
21712
21707
  }, []), i;
21713
21708
  }
@@ -21718,7 +21713,7 @@ function hd() {
21718
21713
  liveChatMessages: n,
21719
21714
  sendMessage: r,
21720
21715
  sendTypingEvent: a
21721
- } = se(hn), [i, u] = de(!1), [s, l] = de(""), c = Je(), d = XT(a, 5e3), h = (b) => {
21716
+ } = se(hn), [i, u] = de(!1), [s, l] = de(""), c = Ze(), d = XT(a, 5e3), h = (b) => {
21722
21717
  l(b.target.value), d();
21723
21718
  }, p = () => {
21724
21719
  s.trim() !== "" && (r(s), f());
@@ -21816,24 +21811,24 @@ const QT = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20wid
21816
21811
  }];
21817
21812
  }, Qa = "privacy policy";
21818
21813
  function pd() {
21819
- const { conversationScreen: e, primaryColor: t } = se(je), { startLiveChat: n } = se(hn), { setMode: r } = se(Ze), { form: a, formHeader: i, privacyPolicyLink: u, privacyPolicyText: s } = e.liveChat, [l, , c] = JT({}), [d, h] = de(!1), { clearError: p, errors: f, setErrors: b } = ZT(), m = sr(
21814
+ const { conversationScreen: e, primaryColor: t } = se(je), { startLiveChat: n } = se(hn), { setMode: r } = se(Je), { form: a, formHeader: i, privacyPolicyLink: u, privacyPolicyText: s } = e.liveChat, [l, , c] = JT({}), [d, h] = de(!1), { clearError: p, errors: f, setErrors: b } = ZT(), m = sr(
21820
21815
  () => (s ?? "").split(Qa, 2),
21821
21816
  [s]
21822
21817
  ), _ = () => {
21823
21818
  r(It.XPERT);
21824
21819
  }, g = () => {
21825
- p("privacyCheck"), h((R) => !R);
21826
- }, w = (R, y) => {
21827
- const N = R.target.value;
21820
+ p("privacyCheck"), h((D) => !D);
21821
+ }, w = (D, y) => {
21822
+ const N = D.target.value;
21828
21823
  p(y), c(y, N);
21829
21824
  }, M = () => {
21830
21825
  K() && n(l);
21831
21826
  };
21832
- ke(() => {
21827
+ Pe(() => {
21833
21828
  (!a || a.length === 0) && n();
21834
21829
  }, [a, n]);
21835
21830
  const K = () => {
21836
- const R = a.reduce((y, N) => {
21831
+ const D = a.reduce((y, N) => {
21837
21832
  const { key: G, validations: F = [] } = N, te = l[G];
21838
21833
  if (!te) return { ...y, [G]: "Required" };
21839
21834
  if ((F == null ? void 0 : F.length) > 0)
@@ -21847,22 +21842,22 @@ function pd() {
21847
21842
  }
21848
21843
  return y;
21849
21844
  }, {});
21850
- return !d && s && (R.privacyCheck = "Required"), b(R), Object.keys(R).length === 0;
21845
+ return !d && s && (D.privacyCheck = "Required"), b(D), Object.keys(D).length === 0;
21851
21846
  };
21852
21847
  return /* @__PURE__ */ v.jsxs("div", { className: "live-chat-form", children: [
21853
21848
  i && /* @__PURE__ */ v.jsx("p", { children: i }),
21854
- (a ?? []).map(({ key: R, name: y }) => /* @__PURE__ */ v.jsxs(y0, { children: [
21849
+ (a ?? []).map(({ key: D, name: y }) => /* @__PURE__ */ v.jsxs(y0, { children: [
21855
21850
  /* @__PURE__ */ v.jsx(
21856
21851
  "input",
21857
21852
  {
21858
- className: `live-chat-form-input ${f[R] ? "error" : ""}`,
21853
+ className: `live-chat-form-input ${f[D] ? "error" : ""}`,
21859
21854
  name: y,
21860
21855
  placeholder: y,
21861
- onChange: (N) => w(N, R)
21856
+ onChange: (N) => w(N, D)
21862
21857
  }
21863
21858
  ),
21864
- f[R] && /* @__PURE__ */ v.jsx("p", { className: "live-chat-form-error", children: f[R] })
21865
- ] }, R)),
21859
+ f[D] && /* @__PURE__ */ v.jsx("p", { className: "live-chat-form-error", children: f[D] })
21860
+ ] }, D)),
21866
21861
  s && /* @__PURE__ */ v.jsxs(v.Fragment, { children: [
21867
21862
  /* @__PURE__ */ v.jsx(
21868
21863
  "div",
@@ -21907,7 +21902,7 @@ function pd() {
21907
21902
  },
21908
21903
  type: "checkbox",
21909
21904
  onChange: g,
21910
- onKeyDown: (R) => R.key === "Enter" && g()
21905
+ onKeyDown: (D) => D.key === "Enter" && g()
21911
21906
  }
21912
21907
  ),
21913
21908
  /* @__PURE__ */ v.jsx("label", { htmlFor: "privacy-check", children: "Yes, I accept" })
@@ -21948,16 +21943,16 @@ function gd({
21948
21943
  }) {
21949
21944
  var b;
21950
21945
  const { proactiveMessage: u } = se(je), [s, l] = de(!0), [c, d] = de(!1), h = s && (!(window != null && window.OnetrustActiveGroups) || ((b = window == null ? void 0 : window.OnetrustActiveGroups) == null ? void 0 : b.includes("C0003"))) && rt.get(t) === void 0;
21951
- ke(() => {
21946
+ Pe(() => {
21952
21947
  var m;
21953
21948
  (m = window == null ? void 0 : window.OneTrust) == null || m.OnConsentChanged(() => {
21954
21949
  var _;
21955
21950
  !((_ = window == null ? void 0 : window.OnetrustActiveGroups) != null && _.includes("C0003")) && rt.get(t) !== void 0 && rt.remove(t);
21956
21951
  });
21957
- }, [t]), ke(() => {
21952
+ }, [t]), Pe(() => {
21958
21953
  var m;
21959
21954
  a || (!(window != null && window.OnetrustActiveGroups) || (m = window == null ? void 0 : window.OnetrustActiveGroups) != null && m.includes("C0003")) && f(t, 1, 1);
21960
- }, [t, a]), ke(() => {
21955
+ }, [t, a]), Pe(() => {
21961
21956
  if (u != null && u.enabled && (u == null ? void 0 : u.delayMs) > 0) {
21962
21957
  const m = setTimeout(() => {
21963
21958
  d(!0);
@@ -22034,9 +22029,9 @@ function e3(e, t, n) {
22034
22029
  },
22035
22030
  [n]
22036
22031
  );
22037
- ke(() => (e && window.addEventListener("message", r), () => {
22032
+ Pe(() => (e && window.addEventListener("message", r), () => {
22038
22033
  window.removeEventListener("message", r);
22039
- }), [e, r]), ke(() => {
22034
+ }), [e, r]), Pe(() => {
22040
22035
  let a;
22041
22036
  return e && (a = document.createElement("style"), document.head.appendChild(a), ((u) => {
22042
22037
  a.innerHTML = `
@@ -22058,7 +22053,7 @@ function e3(e, t, n) {
22058
22053
  }
22059
22054
  function t3(e) {
22060
22055
  const [t, n] = de(null);
22061
- return ke(() => {
22056
+ return Pe(() => {
22062
22057
  try {
22063
22058
  (() => {
22064
22059
  var a, i, u;
@@ -22083,7 +22078,7 @@ function t3(e) {
22083
22078
  }, [e]), t;
22084
22079
  }
22085
22080
  function n3(e) {
22086
- ke(() => {
22081
+ Pe(() => {
22087
22082
  const t = () => document.visibilityState === "visible" && e();
22088
22083
  return document.addEventListener("visibilitychange", t), () => {
22089
22084
  document.removeEventListener("visibilitychange", t);
@@ -22136,11 +22131,11 @@ function bd({ submitEventExternal: e = null }) {
22136
22131
  setDisableScroll: w,
22137
22132
  setHasError: M,
22138
22133
  setHasNewMessage: K,
22139
- setIsNormalSize: R,
22134
+ setIsNormalSize: D,
22140
22135
  setLoading: y,
22141
22136
  setStreaming: N
22142
- } = se(Ze), [, G] = de(!1), [, F] = de(!1), [te, z] = de(!1), [V, L] = de(!1), [I, D] = de(""), [U, W] = de(!1), j = te || !c, Y = Je(null), T = Je(null), ne = rt.get(`${a}-test`) === "1";
22143
- ke(() => {
22137
+ } = se(Je), [, G] = de(!1), [, F] = de(!1), [te, z] = de(!1), [V, L] = de(!1), [I, R] = de(""), [U, W] = de(!1), j = te || !c, Y = Ze(null), T = Ze(null), ne = rt.get(`${a}-test`) === "1";
22138
+ Pe(() => {
22144
22139
  g === It.XPERT && j && Y.current && Y.current.focus();
22145
22140
  }, [g, j]), e3(
22146
22141
  (st = r == null ? void 0 : r.liveChat) == null ? void 0 : st.enabled,
@@ -22172,10 +22167,10 @@ function bd({ submitEventExternal: e = null }) {
22172
22167
  y(!1);
22173
22168
  return;
22174
22169
  }
22175
- if (!await (async (Te, Le = 1e4, qe = 200) => {
22170
+ if (!await (async (Te, ke = 1e4, qe = 200) => {
22176
22171
  let Ee = 0;
22177
22172
  for (; !Te(); ) {
22178
- if (Ee >= Le)
22173
+ if (Ee >= ke)
22179
22174
  return !1;
22180
22175
  await new Promise((Me) => setTimeout(Me, qe)), Ee += qe;
22181
22176
  }
@@ -22188,8 +22183,8 @@ function bd({ submitEventExternal: e = null }) {
22188
22183
  }
22189
22184
  try {
22190
22185
  let Te = Cs(a);
22191
- const Le = (ge = t == null ? void 0 : t.baseUrl) != null && ge.includes("xpert-api-services") ? "/v1/history" : "/xpert/v2/history", qe = `conversation_id=${Te}&client_id=${(ve = t == null ? void 0 : t.payloadParams) == null ? void 0 : ve.client_id}`, Ee = await fetch(
22192
- `${t.baseUrl}${Le}?${qe}`,
22186
+ const ke = (ge = t == null ? void 0 : t.baseUrl) != null && ge.includes("xpert-api-services") ? "/v1/history" : "/xpert/v2/history", qe = `conversation_id=${Te}&client_id=${(ve = t == null ? void 0 : t.payloadParams) == null ? void 0 : ve.client_id}`, Ee = await fetch(
22187
+ `${t.baseUrl}${ke}?${qe}`,
22193
22188
  {
22194
22189
  method: "GET",
22195
22190
  headers: {
@@ -22216,7 +22211,7 @@ function bd({ submitEventExternal: e = null }) {
22216
22211
  }, le = ((Kt = r == null ? void 0 : r.conversationHistory) == null ? void 0 : Kt.enabled) && j && !V;
22217
22212
  n3(
22218
22213
  () => le && S()
22219
- ), ke(() => {
22214
+ ), Pe(() => {
22220
22215
  let B, re;
22221
22216
  if (n)
22222
22217
  return s != null && s.enabled && (B = setInterval(() => {
@@ -22232,7 +22227,7 @@ function bd({ submitEventExternal: e = null }) {
22232
22227
  e,
22233
22228
  s == null ? void 0 : s.enabled,
22234
22229
  s == null ? void 0 : s.prefix
22235
- ]), ke(() => {
22230
+ ]), Pe(() => {
22236
22231
  let B, re;
22237
22232
  const ie = () => {
22238
22233
  l != null && l.enabled && window.optimizely && window.experiments && (clearInterval(B), clearTimeout(re), F(!0));
@@ -22263,7 +22258,7 @@ function bd({ submitEventExternal: e = null }) {
22263
22258
  if (t3(l == null ? void 0 : l.experimentName), !n || l != null && l.enabled && !(l != null && l.experimentName) && !ne || s != null && s.enabled && (s != null && s.prefix) && !((Qt = T == null ? void 0 : T.current) != null && Qt.track) && !e)
22264
22259
  return null;
22265
22260
  const me = () => {
22266
- D(""), Y.current.value = "", Y.current.style.height = "auto";
22261
+ R(""), Y.current.value = "", Y.current.style.height = "auto";
22267
22262
  }, Ce = (B, re) => {
22268
22263
  oe({
22269
22264
  name: `${s.prefix}.bi.xpert.chatbot.popup.chat.message.response`,
@@ -22303,7 +22298,7 @@ function bd({ submitEventExternal: e = null }) {
22303
22298
  content: ge,
22304
22299
  live_agent: ve,
22305
22300
  role: Te,
22306
- tool_calls: Le,
22301
+ tool_calls: ke,
22307
22302
  tool_call_id: qe
22308
22303
  }) => {
22309
22304
  f({
@@ -22311,7 +22306,7 @@ function bd({ submitEventExternal: e = null }) {
22311
22306
  createdAt: /* @__PURE__ */ new Date(),
22312
22307
  liveAgent: ve,
22313
22308
  role: Te,
22314
- toolCalls: Le,
22309
+ toolCalls: ke,
22315
22310
  toolCallId: qe
22316
22311
  }), Ce(ge, re);
22317
22312
  }
@@ -22344,13 +22339,13 @@ function bd({ submitEventExternal: e = null }) {
22344
22339
  toolCallId: ae[0].tool_calls[0].id
22345
22340
  };
22346
22341
  f(Te);
22347
- const Le = {
22342
+ const ke = {
22348
22343
  content: "",
22349
22344
  createdAt: /* @__PURE__ */ new Date(),
22350
22345
  role: "tool",
22351
22346
  toolCallId: ae[0].tool_calls[0].id
22352
22347
  };
22353
- f(Le), Ce(ae[0].content, re);
22348
+ f(ke), Ce(ae[0].content, re);
22354
22349
  }
22355
22350
  return ae;
22356
22351
  }, Ke = async (B, re) => {
@@ -22358,8 +22353,8 @@ function bd({ submitEventExternal: e = null }) {
22358
22353
  const ie = new TextDecoder("utf-8");
22359
22354
  let ae = "", ge = [];
22360
22355
  for (; ; ) {
22361
- const { value: Te, done: Le } = await B.read();
22362
- if (Le) break;
22356
+ const { value: Te, done: ke } = await B.read();
22357
+ if (ke) break;
22363
22358
  const qe = ie.decode(Te, { stream: !0 });
22364
22359
  try {
22365
22360
  const Ee = qe.match(/\[.*?\](?=\[|$)/gs);
@@ -22444,22 +22439,22 @@ function bd({ submitEventExternal: e = null }) {
22444
22439
  if (!Te.ok)
22445
22440
  throw new Error(`HTTPError: ${Te.status} ${Te.statusText}`);
22446
22441
  y(!1);
22447
- let Le = (re = t.payloadParams) != null && re.stream ? await ot(Te, ge) : await Ue(Te, ge);
22442
+ let ke = (re = t.payloadParams) != null && re.stream ? await ot(Te, ge) : await Ue(Te, ge);
22448
22443
  const qe = /* @__PURE__ */ new Date(), Ee = i3(
22449
22444
  JSON.stringify(ve)
22450
22445
  );
22451
22446
  Oe({
22452
22447
  conversationByteSize: Ee,
22453
- conversationSize: m.length + Le.length + 1,
22448
+ conversationSize: m.length + ke.length + 1,
22454
22449
  userInputMessage: B,
22455
- apiResponseMessage: Le.map((Me) => Me.content ?? "").join(" "),
22450
+ apiResponseMessage: ke.map((Me) => Me.content ?? "").join(" "),
22456
22451
  elapsedSeconds: r3(ie, qe)
22457
22452
  }), w(!1), me(), K(!0);
22458
22453
  } catch (ie) {
22459
22454
  y(!1), me(), M(!0), console.error(ie);
22460
22455
  }
22461
22456
  }, pn = () => {
22462
- L(!1), z(!0), R(!0), S(), oe({
22457
+ L(!1), z(!0), D(!0), S(), oe({
22463
22458
  name: `${s.prefix}.bi.xpert.chatbot.action.button.clicked`,
22464
22459
  payload: {
22465
22460
  category: "2u",
@@ -22475,9 +22470,9 @@ function bd({ submitEventExternal: e = null }) {
22475
22470
  label: "xpert-chatbot",
22476
22471
  isTestUser: ne
22477
22472
  }
22478
- }), R(B);
22473
+ }), D(B);
22479
22474
  }, mn = () => {
22480
- z(!0), R(!0), S(), oe({
22475
+ z(!0), D(!0), S(), oe({
22481
22476
  name: `${s.prefix}.bi.xpert.chatbot.proactive.message.clicked`,
22482
22477
  payload: {
22483
22478
  category: "2u",
@@ -22504,8 +22499,8 @@ function bd({ submitEventExternal: e = null }) {
22504
22499
  }
22505
22500
  });
22506
22501
  }, Bn = (B) => {
22507
- D(B.target.value);
22508
- }, Rt = async (B, re = "") => {
22502
+ R(B.target.value);
22503
+ }, Dt = async (B, re = "") => {
22509
22504
  if (h) {
22510
22505
  await h({ index: B, type: re }), w(!1);
22511
22506
  return;
@@ -22570,7 +22565,7 @@ function bd({ submitEventExternal: e = null }) {
22570
22565
  }
22571
22566
  ),
22572
22567
  !Pt && c && /* @__PURE__ */ v.jsx(
22573
- Rs,
22568
+ Ds,
22574
22569
  {
22575
22570
  handleFloatingActionButtonClick: pn
22576
22571
  }
@@ -22596,7 +22591,7 @@ function bd({ submitEventExternal: e = null }) {
22596
22591
  ad,
22597
22592
  {
22598
22593
  handleChange: Bn,
22599
- handleFeedbackThumbSelection: Rt,
22594
+ handleFeedbackThumbSelection: Dt,
22600
22595
  handleMessageLinkClicked: _e,
22601
22596
  handleSend: St,
22602
22597
  inputRef: Y,