@2uinc/frontend-component-xpert-chatbot 1.35.8-beta.5 → 1.35.8-beta.7

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 +344 -339
  2. package/package.json +1 -1
@@ -1,4 +1,4 @@
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";
1
+ import Et, { createContext as Gr, useState as de, useCallback as pt, useEffect as ke, 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]", 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;
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]", W = "[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]", G = "[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[G] = 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[W] = !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;
@@ -290,7 +290,7 @@ function L0() {
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 = Dt.propertyIsEnumerable, Te = bn.splice, ke = re ? re.toStringTag : void 0, qe = function() {
293
+ var ae = gn(Object.getPrototypeOf, Object), ge = Object.create, ve = Dt.propertyIsEnumerable, Te = bn.splice, Le = re ? re.toStringTag : void 0, qe = function() {
294
294
  try {
295
295
  var A = la(Object, "defineProperty");
296
296
  return A({}, "", {}), A;
@@ -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 : ke && ke in Object(A) ? n0(A) : s0(A);
462
+ return A == null ? A === void 0 ? N : g : Le && Le 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, ke), H = A[ke];
573
+ var k = st.call(A, Le), H = A[Le];
574
574
  try {
575
- A[ke] = void 0;
575
+ A[Le] = void 0;
576
576
  var ue = !0;
577
577
  } catch {
578
578
  }
579
579
  var ye = Qt.call(A);
580
- return ue && (k ? A[ke] = H : delete A[ke]), ye;
580
+ return ue && (k ? A[Le] = H : delete A[Le]), ye;
581
581
  }
582
582
  function r0(A) {
583
583
  return typeof A.constructor == "function" && !fu(A) ? su(ae(A)) : {};
@@ -1471,7 +1471,7 @@ const vs = /* @__PURE__ */ Lt(w0), R0 = {
1471
1471
  u(!0);
1472
1472
  }
1473
1473
  }, [t, r]);
1474
- Pe(() => {
1474
+ ke(() => {
1475
1475
  c();
1476
1476
  }, [c]);
1477
1477
  const d = sr(
@@ -1645,7 +1645,7 @@ const vu = 991, q0 = () => {
1645
1645
  const [e, t] = de(
1646
1646
  window.innerWidth < vu
1647
1647
  );
1648
- return Pe(() => {
1648
+ return ke(() => {
1649
1649
  const n = () => {
1650
1650
  t(window.innerWidth < vu);
1651
1651
  };
@@ -1765,7 +1765,7 @@ eyes follow your mouse when you hover near it.`, ws = ({
1765
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
- Pe(() => {
1768
+ ke(() => {
1769
1769
  const w = setTimeout(
1770
1770
  () => {
1771
1771
  c(!0);
@@ -1775,7 +1775,7 @@ eyes follow your mouse when you hover near it.`, ws = ({
1775
1775
  return () => {
1776
1776
  clearTimeout(w);
1777
1777
  };
1778
- }, [s]), Pe(() => {
1778
+ }, [s]), ke(() => {
1779
1779
  const g = (w) => {
1780
1780
  const M = window.devicePixelRatio > 1.5;
1781
1781
  if (!(u != null && u.current) || d || M)
@@ -1783,8 +1783,8 @@ eyes follow your mouse when you hover near it.`, ws = ({
1783
1783
  i.current.querySelectorAll(
1784
1784
  ".xpert_chatbot__animated_graduate__pupil"
1785
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)";
1786
+ const y = D.getBoundingClientRect(), N = (w.pageX - window.scrollX - y.left) / 30 / 16 + "rem", W = (w.pageY - window.scrollY - y.top) / 30 / 16 + "rem";
1787
+ D.style.transform = "translate3d(" + N + "," + W + ", 0rem)";
1788
1788
  });
1789
1789
  };
1790
1790
  return window.addEventListener("mousemove", g), () => {
@@ -2351,17 +2351,17 @@ var Lu = {
2351
2351
  }, c = function(L, I) {
2352
2352
  var R = typeof (I == null ? void 0 : I.composedPath) == "function" ? I.composedPath() : void 0;
2353
2353
  return u.containerGroups.findIndex(function(U) {
2354
- var W = U.container, j = U.tabbableNodes;
2355
- return W.contains(L) || // fall back to explicit tabbable search which will take into consideration any
2354
+ var G = U.container, j = U.tabbableNodes;
2355
+ return G.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
- (R == null ? void 0 : R.includes(W)) || j.find(function(Y) {
2359
+ (R == null ? void 0 : R.includes(G)) || 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] : {}, R = I.hasFallback, U = R === void 0 ? !1 : R, 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, G = I.params, j = G === void 0 ? [] : G, 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;
@@ -2397,7 +2397,7 @@ 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), 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) {
2400
+ var I = js(L, i.tabbableOptions), R = qs(L, i.tabbableOptions), U = I.length > 0 ? I[0] : void 0, G = I.length > 0 ? I[I.length - 1] : void 0, j = R.find(function(ne) {
2401
2401
  return rn(ne);
2402
2402
  }), Y = R.slice().reverse().find(function(ne) {
2403
2403
  return rn(ne);
@@ -2413,7 +2413,7 @@ var Lu = {
2413
2413
  /** First tabbable node in container, __tabindex__ order; `undefined` if none. */
2414
2414
  firstTabbableNode: U,
2415
2415
  /** Last tabbable node in container, __tabindex__ order; `undefined` if none. */
2416
- lastTabbableNode: W,
2416
+ lastTabbableNode: G,
2417
2417
  // NOTE: DOM order is NOT NECESSARILY "document position" order, but figuring that out
2418
2418
  // would require more than just https://developer.mozilla.org/en-US/docs/Web/API/Node/compareDocumentPosition
2419
2419
  // because that API doesn't work with Shadow DOM as well as it should (@see
@@ -2470,14 +2470,14 @@ var Lu = {
2470
2470
  });
2471
2471
  return I || (I === !1 ? !1 : L);
2472
2472
  }, _ = function(L) {
2473
- var I = L.target, R = L.event, U = L.isBackward, W = U === void 0 ? !1 : U;
2473
+ var I = L.target, R = L.event, U = L.isBackward, G = U === void 0 ? !1 : U;
2474
2474
  I = I || Sr(R), p();
2475
2475
  var j = null;
2476
2476
  if (u.tabbableGroups.length > 0) {
2477
2477
  var Y = c(I, R), T = Y >= 0 ? u.containerGroups[Y] : void 0;
2478
2478
  if (Y < 0)
2479
- W ? j = u.tabbableGroups[u.tabbableGroups.length - 1].lastTabbableNode : j = u.tabbableGroups[0].firstTabbableNode;
2480
- else if (W) {
2479
+ G ? j = u.tabbableGroups[u.tabbableGroups.length - 1].lastTabbableNode : j = u.tabbableGroups[0].firstTabbableNode;
2480
+ else if (G) {
2481
2481
  var ne = u.tabbableGroups.findIndex(function(Ce) {
2482
2482
  var Oe = Ce.firstTabbableNode;
2483
2483
  return I === Oe;
@@ -2522,7 +2522,7 @@ var Lu = {
2522
2522
  R && (u.mostRecentlyFocusedNode = I);
2523
2523
  else {
2524
2524
  L.stopImmediatePropagation();
2525
- var U, W = !0;
2525
+ var U, G = !0;
2526
2526
  if (u.mostRecentlyFocusedNode)
2527
2527
  if (Wt(u.mostRecentlyFocusedNode) > 0) {
2528
2528
  var j = c(u.mostRecentlyFocusedNode), Y = u.containerGroups[j].tabbableNodes;
@@ -2530,17 +2530,17 @@ var Lu = {
2530
2530
  var T = Y.findIndex(function(ne) {
2531
2531
  return ne === u.mostRecentlyFocusedNode;
2532
2532
  });
2533
- T >= 0 && (i.isKeyForward(u.recentNavEvent) ? T + 1 < Y.length && (U = Y[T + 1], W = !1) : T - 1 >= 0 && (U = Y[T - 1], W = !1));
2533
+ T >= 0 && (i.isKeyForward(u.recentNavEvent) ? T + 1 < Y.length && (U = Y[T + 1], G = !1) : T - 1 >= 0 && (U = Y[T - 1], G = !1));
2534
2534
  }
2535
2535
  } else
2536
2536
  u.containerGroups.some(function(ne) {
2537
2537
  return ne.tabbableNodes.some(function(oe) {
2538
2538
  return Wt(oe) > 0;
2539
2539
  });
2540
- }) || (W = !1);
2540
+ }) || (G = !1);
2541
2541
  else
2542
- W = !1;
2543
- W && (U = _({
2542
+ G = !1;
2543
+ G && (U = _({
2544
2544
  // move FROM the MRU node, not event-related node (which will be the node that is
2545
2545
  // outside the trap causing the focus escape we're trying to fix)
2546
2546
  target: u.mostRecentlyFocusedNode,
@@ -2580,14 +2580,14 @@ var Lu = {
2580
2580
  capture: !0,
2581
2581
  passive: !1
2582
2582
  }), r.addEventListener("keydown", D), s;
2583
- }, G = function() {
2583
+ }, W = function() {
2584
2584
  if (u.active)
2585
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
2587
  var I = L.some(function(R) {
2588
2588
  var U = Array.from(R.removedNodes);
2589
- return U.some(function(W) {
2590
- return W === u.mostRecentlyFocusedNode;
2589
+ return U.some(function(G) {
2590
+ return G === u.mostRecentlyFocusedNode;
2591
2591
  });
2592
2592
  });
2593
2593
  I && b(h());
@@ -2611,10 +2611,10 @@ var Lu = {
2611
2611
  return this;
2612
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
- var W = function() {
2614
+ var G = function() {
2615
2615
  U && p(), N(), z(), R == null || R();
2616
2616
  };
2617
- return U ? (U(u.containers.concat()).then(W, W), this) : (W(), this);
2617
+ return U ? (U(u.containers.concat()).then(G, G), this) : (G(), this);
2618
2618
  },
2619
2619
  deactivate: function(L) {
2620
2620
  if (!u.active)
@@ -2624,15 +2624,15 @@ var Lu = {
2624
2624
  onPostDeactivate: i.onPostDeactivate,
2625
2625
  checkCanReturnFocus: i.checkCanReturnFocus
2626
2626
  }, L);
2627
- clearTimeout(u.delayInitialFocusTimer), u.delayInitialFocusTimer = void 0, G(), u.active = !1, u.paused = !1, z(), Lu.deactivateTrap(a, s);
2628
- var R = l(I, "onDeactivate"), U = l(I, "onPostDeactivate"), W = l(I, "checkCanReturnFocus"), j = l(I, "returnFocus", "returnFocusOnDeactivate");
2627
+ clearTimeout(u.delayInitialFocusTimer), u.delayInitialFocusTimer = void 0, W(), u.active = !1, u.paused = !1, z(), Lu.deactivateTrap(a, s);
2628
+ var R = l(I, "onDeactivate"), U = l(I, "onPostDeactivate"), G = l(I, "checkCanReturnFocus"), j = l(I, "returnFocus", "returnFocusOnDeactivate");
2629
2629
  R == null || R();
2630
2630
  var Y = function() {
2631
2631
  wu(function() {
2632
2632
  j && b(m(u.nodeFocusedBeforeActivation)), U == null || U();
2633
2633
  });
2634
2634
  };
2635
- return j && W ? (W(m(u.nodeFocusedBeforeActivation)).then(Y, Y), this) : (Y(), this);
2635
+ return j && G ? (G(m(u.nodeFocusedBeforeActivation)).then(Y, Y), this) : (Y(), this);
2636
2636
  },
2637
2637
  pause: function(L) {
2638
2638
  return u.active ? (u.manuallyPaused = !0, this._setPausedState(!0, L)) : this;
@@ -2658,10 +2658,10 @@ var Lu = {
2658
2658
  return this;
2659
2659
  if (u.paused = L, L) {
2660
2660
  var R = l(I, "onPause"), U = l(I, "onPostPause");
2661
- R == null || R(), G(), z(), U == null || U();
2661
+ R == null || R(), W(), z(), U == null || U();
2662
2662
  } else {
2663
- var W = l(I, "onUnpause"), j = l(I, "onPostUnpause");
2664
- W == null || W(), p(), N(), z(), j == null || j();
2663
+ var G = l(I, "onUnpause"), j = l(I, "onPostUnpause");
2664
+ G == null || G(), p(), N(), z(), j == null || j();
2665
2665
  }
2666
2666
  return this;
2667
2667
  }
@@ -2688,16 +2688,16 @@ function Nf() {
2688
2688
  if (!(y instanceof N)) throw new TypeError("Cannot call a class as a function");
2689
2689
  }
2690
2690
  function n(y, N) {
2691
- for (var G = 0; G < N.length; G++) {
2692
- var F = N[G];
2691
+ for (var W = 0; W < N.length; W++) {
2692
+ var F = N[W];
2693
2693
  F.enumerable = F.enumerable || !1, F.configurable = !0, "value" in F && (F.writable = !0), Object.defineProperty(y, p(F.key), F);
2694
2694
  }
2695
2695
  }
2696
- function r(y, N, G) {
2696
+ function r(y, N, W) {
2697
2697
  return N && n(y.prototype, N), Object.defineProperty(y, "prototype", { writable: !1 }), y;
2698
2698
  }
2699
- function a(y, N, G) {
2700
- return N = l(N), i(y, s() ? Reflect.construct(N, G || [], l(y).constructor) : N.apply(y, G));
2699
+ function a(y, N, W) {
2700
+ return N = l(N), i(y, s() ? Reflect.construct(N, W || [], l(y).constructor) : N.apply(y, W));
2701
2701
  }
2702
2702
  function i(y, N) {
2703
2703
  if (N && (e(N) == "object" || typeof N == "function")) return N;
@@ -2728,12 +2728,12 @@ function Nf() {
2728
2728
  y.prototype = Object.create(N && N.prototype, { constructor: { value: y, writable: !0, configurable: !0 } }), Object.defineProperty(y, "prototype", { writable: !1 }), N && d(y, N);
2729
2729
  }
2730
2730
  function d(y, N) {
2731
- return d = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(G, F) {
2732
- return G.__proto__ = F, G;
2731
+ return d = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(W, F) {
2732
+ return W.__proto__ = F, W;
2733
2733
  }, d(y, N);
2734
2734
  }
2735
- function h(y, N, G) {
2736
- return (N = p(N)) in y ? Object.defineProperty(y, N, { value: G, enumerable: !0, configurable: !0, writable: !0 }) : y[N] = G, y;
2735
+ function h(y, N, W) {
2736
+ return (N = p(N)) in y ? Object.defineProperty(y, N, { value: W, enumerable: !0, configurable: !0, writable: !0 }) : y[N] = W, y;
2737
2737
  }
2738
2738
  function p(y) {
2739
2739
  var N = f(y, "string");
@@ -2741,22 +2741,22 @@ function Nf() {
2741
2741
  }
2742
2742
  function f(y, N) {
2743
2743
  if (e(y) != "object" || !y) return y;
2744
- var G = y[Symbol.toPrimitive];
2745
- if (G !== void 0) {
2746
- var F = G.call(y, N);
2744
+ var W = y[Symbol.toPrimitive];
2745
+ if (W !== void 0) {
2746
+ var F = W.call(y, N);
2747
2747
  if (e(F) != "object") return F;
2748
2748
  throw new TypeError("@@toPrimitive must return a primitive value.");
2749
2749
  }
2750
2750
  return (N === "string" ? String : Number)(y);
2751
2751
  }
2752
2752
  var b = Et, m = /* @__PURE__ */ xs(), _ = Of, g = _.createFocusTrap, w = If, M = w.isFocusable, K = /* @__PURE__ */ function(y) {
2753
- function N(G) {
2753
+ function N(W) {
2754
2754
  var F;
2755
- t(this, N), F = a(this, N, [G]), h(F, "getNodeForOption", function(V) {
2755
+ t(this, N), F = a(this, N, [W]), 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 R = arguments.length, U = new Array(R > 1 ? R - 1 : 0), W = 1; W < R; W++)
2759
- U[W - 1] = arguments[W];
2758
+ for (var R = arguments.length, U = new Array(R > 1 ? R - 1 : 0), G = 1; G < R; G++)
2759
+ U[G - 1] = arguments[G];
2760
2760
  I = I.apply(void 0, U);
2761
2761
  }
2762
2762
  if (I === !0 && (I = void 0), !I) {
@@ -2801,7 +2801,7 @@ function Nf() {
2801
2801
  // the user's setting, defaulted to false since focus-trap defaults this to false
2802
2802
  clickOutsideDeactivates: !1
2803
2803
  };
2804
- var te = G.focusTrapOptions;
2804
+ var te = W.focusTrapOptions;
2805
2805
  for (var z in te)
2806
2806
  if (Object.prototype.hasOwnProperty.call(te, z)) {
2807
2807
  if (z === "returnFocusOnDeactivate" || z === "onDeactivate" || z === "onPostDeactivate" || z === "checkCanReturnFocus" || z === "clickOutsideDeactivates") {
@@ -2810,7 +2810,7 @@ function Nf() {
2810
2810
  }
2811
2811
  F.internalOptions[z] = te[z];
2812
2812
  }
2813
- return F.outsideClick = null, F.focusTrapElements = G.containerElements || [], F.updatePreviousElement(), F;
2813
+ return F.outsideClick = null, F.focusTrapElements = W.containerElements || [], F.updatePreviousElement(), F;
2814
2814
  }
2815
2815
  return c(N, y), r(N, [{
2816
2816
  key: "getDocument",
@@ -3047,7 +3047,7 @@ Ys.propTypes = {
3047
3047
  };
3048
3048
  const $s = () => {
3049
3049
  const { disclaimer: e } = se(je), t = Ze(null);
3050
- return Pe(() => {
3050
+ return ke(() => {
3051
3051
  var n;
3052
3052
  (n = t == null ? void 0 : t.current) == null || n.focus();
3053
3053
  }, []), /* @__PURE__ */ v.jsxs(
@@ -3733,7 +3733,7 @@ function fh(e, t, n, r) {
3733
3733
  y.status === "pending" && (y.status = "aborted");
3734
3734
  }), p = [];
3735
3735
  }
3736
- function K(y, N, G) {
3736
+ function K(y, N, W) {
3737
3737
  const F = N !== "success";
3738
3738
  switch (p = p.filter((te) => te !== y), l) {
3739
3739
  case "pending":
@@ -3746,11 +3746,11 @@ function fh(e, t, n, r) {
3746
3746
  return;
3747
3747
  }
3748
3748
  if (N === "abort") {
3749
- d = G, w();
3749
+ d = W, w();
3750
3750
  return;
3751
3751
  }
3752
3752
  if (F) {
3753
- d = G, p.length || (u.length ? D() : w());
3753
+ d = W, p.length || (u.length ? D() : w());
3754
3754
  return;
3755
3755
  }
3756
3756
  if (b(), M(), !e.random) {
@@ -3758,7 +3758,7 @@ function fh(e, t, n, r) {
3758
3758
  te !== -1 && te !== e.index && (e.index = te);
3759
3759
  }
3760
3760
  l = "completed", f.forEach((te) => {
3761
- te(G);
3761
+ te(W);
3762
3762
  });
3763
3763
  }
3764
3764
  function D() {
@@ -3779,8 +3779,8 @@ function fh(e, t, n, r) {
3779
3779
  const N = {
3780
3780
  status: "pending",
3781
3781
  resource: y,
3782
- callback: (G, F) => {
3783
- K(N, G, F);
3782
+ callback: (W, F) => {
3783
+ K(N, W, F);
3784
3784
  }
3785
3785
  };
3786
3786
  p.push(N), c++, h = setTimeout(D, e.rotate), n(y, t, N.callback);
@@ -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
- Pe(() => (n(!0), l), []), Pe(() => {
4265
+ ke(() => (n(!0), l), []), ke(() => {
4266
4266
  t && d();
4267
4267
  }, [e.icon, t]);
4268
4268
  const { name: h, data: p } = u;
@@ -4290,10 +4290,10 @@ function ki({
4290
4290
  }) {
4291
4291
  var g;
4292
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(() => {
4293
+ ke(() => {
4294
4294
  var w;
4295
4295
  u.current && !b && ((w = a.current) == null || w.focus()), u.current = b;
4296
- }, [b, a]), Pe(() => {
4296
+ }, [b, a]), ke(() => {
4297
4297
  var w;
4298
4298
  (d || h) && ((w = a.current) == null || w.focus());
4299
4299
  }, [h, d, a]);
@@ -4365,7 +4365,7 @@ ki.propTypes = {
4365
4365
  };
4366
4366
  const ui = ({ content: e = "Please try again later." }) => {
4367
4367
  const t = Ze(null);
4368
- return Pe(() => {
4368
+ return ke(() => {
4369
4369
  var n;
4370
4370
  (n = t.current) == null || n.scrollIntoView({
4371
4371
  behavior: "instant"
@@ -4486,26 +4486,26 @@ function Li({
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
4488
  (D) => {
4489
- var y, N, G, F;
4489
+ var y, N, W, F;
4490
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 = 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`);
4493
+ }), ((W = D == null ? void 0 : D.data) == null ? void 0 : W.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
4497
  (D) => {
4498
- var y, N, G, F;
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);
4498
+ var y, N, W, F;
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), ((W = D == null ? void 0 : D.data) == null ? void 0 : W.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
- Pe(() => {
4504
- var N, G, F, te;
4503
+ ke(() => {
4504
+ var N, W, F, te;
4505
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 || (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 = () => {
4508
+ }, 3e3)), (W = f == null ? void 0 : f.liveChat) != null && W.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
4511
  }, document.body.appendChild(D)), window.addEventListener("message", b), window.addEventListener("message", m), y = setTimeout(() => {
@@ -5187,8 +5187,8 @@ function ll() {
5187
5187
  D(y);
5188
5188
  else if (typeof y == "object")
5189
5189
  if (Array.isArray(y)) {
5190
- const [N, ...G] = y;
5191
- D(N, ...G);
5190
+ const [N, ...W] = y;
5191
+ D(N, ...W);
5192
5192
  } else
5193
5193
  M(y);
5194
5194
  else
@@ -5201,17 +5201,17 @@ function ll() {
5201
5201
  let N = -1;
5202
5202
  if (y != null) if (Array.isArray(y))
5203
5203
  for (; ++N < y.length; ) {
5204
- const G = y[N];
5205
- w(G);
5204
+ const W = y[N];
5205
+ w(W);
5206
5206
  }
5207
5207
  else
5208
5208
  throw new TypeError("Expected a list of plugins, not `" + y + "`");
5209
5209
  }
5210
5210
  function D(y, N) {
5211
- let G = -1, F;
5212
- for (; ++G < t.length; )
5213
- if (t[G][0] === y) {
5214
- F = t[G];
5211
+ let W = -1, F;
5212
+ for (; ++W < t.length; )
5213
+ if (t[W][0] === y) {
5214
+ F = t[W];
5215
5215
  break;
5216
5216
  }
5217
5217
  F ? (li(F[1]) && li(N) && (N = Zu(!0, F[1], N)), F[1] = N) : t.push([...arguments]);
@@ -5233,8 +5233,8 @@ function ll() {
5233
5233
  w(null, g);
5234
5234
  function w(M, K) {
5235
5235
  e.run(m, Yn(_), D);
5236
- function D(y, N, G) {
5237
- N = N || m, y ? K(y) : M ? M(N) : g(null, N, G);
5236
+ function D(y, N, W) {
5237
+ N = N || m, y ? K(y) : M ? M(N) : g(null, N, W);
5238
5238
  }
5239
5239
  }
5240
5240
  }
@@ -5251,12 +5251,12 @@ function ll() {
5251
5251
  g(null, _);
5252
5252
  function g(w, M) {
5253
5253
  const K = Yn(m);
5254
- i.run(i.parse(K), K, (y, N, G) => {
5255
- if (y || !N || !G)
5254
+ i.run(i.parse(K), K, (y, N, W) => {
5255
+ if (y || !N || !W)
5256
5256
  D(y);
5257
5257
  else {
5258
- const F = i.stringify(N, G);
5259
- F == null || (tp(F) ? G.value = F : G.result = F), D(y, G);
5258
+ const F = i.stringify(N, W);
5259
+ F == null || (tp(F) ? W.value = F : W.result = F), D(y, W);
5260
5260
  }
5261
5261
  });
5262
5262
  function D(y, N) {
@@ -5418,7 +5418,7 @@ function Xt(e) {
5418
5418
  return n !== null && e.test(String.fromCharCode(n));
5419
5419
  }
5420
5420
  }
5421
- function De(e, t, n, r) {
5421
+ function Pe(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"), De(e, t, "linePrefix");
5448
+ return e.enter("lineEnding"), e.consume(s), e.exit("lineEnding"), Pe(e, t, "linePrefix");
5449
5449
  }
5450
5450
  function a(s) {
5451
5451
  return e.enter("paragraph"), i(s);
@@ -5569,11 +5569,11 @@ function bp(e) {
5569
5569
  )
5570
5570
  return;
5571
5571
  const N = t.events.length;
5572
- let G = N, F, te;
5573
- for (; G--; )
5574
- if (t.events[G][0] === "exit" && t.events[G][1].type === "chunkFlow") {
5572
+ let W = N, F, te;
5573
+ for (; W--; )
5574
+ if (t.events[W][0] === "exit" && t.events[W][1].type === "chunkFlow") {
5575
5575
  if (F) {
5576
- te = t.events[G][1].end;
5576
+ te = t.events[W][1].end;
5577
5577
  break;
5578
5578
  }
5579
5579
  F = !0;
@@ -5582,7 +5582,7 @@ function bp(e) {
5582
5582
  t.events[y][1].end = Object.assign({}, te), y++;
5583
5583
  kt(
5584
5584
  t.events,
5585
- G + 1,
5585
+ W + 1,
5586
5586
  0,
5587
5587
  t.events.slice(N)
5588
5588
  ), t.events.length = y;
@@ -5601,7 +5601,7 @@ function bp(e) {
5601
5601
  }
5602
5602
  }
5603
5603
  function Ep(e, t, n) {
5604
- return De(
5604
+ return Pe(
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) ? De(e, a, "linePrefix")(i) : a(i);
5752
+ return Se(i) ? Pe(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) ? De(
5786
+ return Se(u) ? Pe(
5787
5787
  e,
5788
5788
  i,
5789
5789
  "linePrefix",
@@ -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) ? De(e, h, "whitespace")(y) : h(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));
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"), De(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"), Pe(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) ? De(
5897
+ return i > 0 && Se(y) ? Pe(
5898
5898
  e,
5899
5899
  w,
5900
5900
  "linePrefix",
@@ -5910,14 +5910,14 @@ function Np(e, t, n) {
5910
5910
  function K(y) {
5911
5911
  return e.exit("codeFenced"), t(y);
5912
5912
  }
5913
- function D(y, N, G) {
5913
+ function D(y, N, W) {
5914
5914
  let F = 0;
5915
5915
  return te;
5916
5916
  function te(R) {
5917
5917
  return y.enter("lineEnding"), y.consume(R), y.exit("lineEnding"), z;
5918
5918
  }
5919
5919
  function z(R) {
5920
- return y.enter("codeFencedFence"), Se(R) ? De(
5920
+ return y.enter("codeFencedFence"), Se(R) ? Pe(
5921
5921
  y,
5922
5922
  V,
5923
5923
  "linePrefix",
@@ -5925,13 +5925,13 @@ function Np(e, t, n) {
5925
5925
  )(R) : V(R);
5926
5926
  }
5927
5927
  function V(R) {
5928
- return R === s ? (y.enter("codeFencedFenceSequence"), L(R)) : G(R);
5928
+ return R === s ? (y.enter("codeFencedFenceSequence"), L(R)) : W(R);
5929
5929
  }
5930
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);
5931
+ return R === s ? (F++, y.consume(R), L) : F >= u ? (y.exit("codeFencedFenceSequence"), Se(R) ? Pe(y, I, "whitespace")(R) : I(R)) : W(R);
5932
5932
  }
5933
5933
  function I(R) {
5934
- return R === null || ce(R) ? (y.exit("codeFencedFence"), N(R)) : G(R);
5934
+ return R === null || ce(R) ? (y.exit("codeFencedFence"), N(R)) : W(R);
5935
5935
  }
5936
5936
  }
5937
5937
  }
@@ -5956,7 +5956,7 @@ function wp(e, t, n) {
5956
5956
  const r = this;
5957
5957
  return a;
5958
5958
  function a(c) {
5959
- return e.enter("codeIndented"), De(e, i, "linePrefix", 5)(c);
5959
+ return e.enter("codeIndented"), Pe(e, i, "linePrefix", 5)(c);
5960
5960
  }
5961
5961
  function i(c) {
5962
5962
  const d = r.events[r.events.length - 1];
@@ -5976,7 +5976,7 @@ 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) : De(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) : Pe(e, i, "linePrefix", 5)(u);
5980
5980
  }
5981
5981
  function i(u) {
5982
5982
  const s = r.events[r.events.length - 1];
@@ -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"), De(e, i, "linePrefix");
6107
+ return e.exit("chunkContent"), e.enter("lineEnding"), e.consume(u), e.exit("lineEnding"), Pe(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"), De(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"), Pe(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) ? De(
6192
+ return ce(a) ? (e.enter("lineEnding"), e.consume(a), e.exit("lineEnding"), n = !0, r) : Se(a) ? Pe(
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) ? De(e, p, "whitespace")(f) : p(f);
6253
+ return Se(f) ? Pe(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) ? De(e, u, "whitespace")(s) : u(s);
6275
+ return Se(s) ? Pe(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) ? De(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) ? Pe(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));
@@ -6466,13 +6466,13 @@ function a1(e, t, n) {
6466
6466
  return S === 61 ? (e.consume(S), y) : Se(S) ? (e.consume(S), D) : M(S);
6467
6467
  }
6468
6468
  function y(S) {
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);
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) : W(S);
6470
6470
  }
6471
6471
  function N(S) {
6472
6472
  return S === l ? (e.consume(S), l = null, F) : S === null || ce(S) ? n(S) : (e.consume(S), N);
6473
6473
  }
6474
- function G(S) {
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);
6474
+ function W(S) {
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), W);
6476
6476
  }
6477
6477
  function F(S) {
6478
6478
  return S === 47 || S === 62 || Se(S) ? M(S) : n(S);
@@ -6484,7 +6484,7 @@ function a1(e, t, n) {
6484
6484
  return S === null || ce(S) ? V(S) : Se(S) ? (e.consume(S), z) : n(S);
6485
6485
  }
6486
6486
  function V(S) {
6487
- return S === 45 && a === 2 ? (e.consume(S), U) : S === 60 && a === 1 ? (e.consume(S), W) : S === 62 && a === 4 ? (e.consume(S), ne) : S === 63 && a === 3 ? (e.consume(S), T) : S === 93 && a === 5 ? (e.consume(S), Y) : ce(S) && (a === 6 || a === 7) ? (e.exit("htmlFlowData"), e.check(
6487
+ return S === 45 && a === 2 ? (e.consume(S), U) : S === 60 && a === 1 ? (e.consume(S), G) : S === 62 && a === 4 ? (e.consume(S), ne) : S === 63 && a === 3 ? (e.consume(S), T) : S === 93 && a === 5 ? (e.consume(S), Y) : ce(S) && (a === 6 || a === 7) ? (e.exit("htmlFlowData"), e.check(
6488
6488
  t1,
6489
6489
  oe,
6490
6490
  L
@@ -6506,7 +6506,7 @@ function a1(e, t, n) {
6506
6506
  function U(S) {
6507
6507
  return S === 45 ? (e.consume(S), T) : V(S);
6508
6508
  }
6509
- function W(S) {
6509
+ function G(S) {
6510
6510
  return S === 47 ? (e.consume(S), u = "", j) : V(S);
6511
6511
  }
6512
6512
  function j(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), D) : 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), W) : 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);
@@ -6566,7 +6566,7 @@ function s1(e, t, n) {
6566
6566
  return T === 45 ? (e.consume(T), f) : n(T);
6567
6567
  }
6568
6568
  function h(T) {
6569
- return T === null ? n(T) : T === 45 ? (e.consume(T), p) : ce(T) ? (u = h, W(T)) : (e.consume(T), h);
6569
+ return T === null ? n(T) : T === 45 ? (e.consume(T), p) : ce(T) ? (u = h, G(T)) : (e.consume(T), h);
6570
6570
  }
6571
6571
  function p(T) {
6572
6572
  return T === 45 ? (e.consume(T), f) : h(T);
@@ -6579,7 +6579,7 @@ function s1(e, t, n) {
6579
6579
  return T === ne.charCodeAt(i++) ? (e.consume(T), i === ne.length ? m : b) : n(T);
6580
6580
  }
6581
6581
  function m(T) {
6582
- return T === null ? n(T) : T === 93 ? (e.consume(T), _) : ce(T) ? (u = m, W(T)) : (e.consume(T), m);
6582
+ return T === null ? n(T) : T === 93 ? (e.consume(T), _) : ce(T) ? (u = m, G(T)) : (e.consume(T), m);
6583
6583
  }
6584
6584
  function _(T) {
6585
6585
  return T === 93 ? (e.consume(T), g) : m(T);
@@ -6588,10 +6588,10 @@ function s1(e, t, n) {
6588
6588
  return T === 62 ? U(T) : T === 93 ? (e.consume(T), g) : m(T);
6589
6589
  }
6590
6590
  function w(T) {
6591
- return T === null || T === 62 ? U(T) : ce(T) ? (u = w, W(T)) : (e.consume(T), w);
6591
+ return T === null || T === 62 ? U(T) : ce(T) ? (u = w, G(T)) : (e.consume(T), w);
6592
6592
  }
6593
6593
  function M(T) {
6594
- return T === null ? n(T) : T === 63 ? (e.consume(T), K) : ce(T) ? (u = M, W(T)) : (e.consume(T), M);
6594
+ return T === null ? n(T) : T === 63 ? (e.consume(T), K) : ce(T) ? (u = M, G(T)) : (e.consume(T), M);
6595
6595
  }
6596
6596
  function K(T) {
6597
6597
  return T === 62 ? U(T) : M(T);
@@ -6603,25 +6603,25 @@ function s1(e, t, n) {
6603
6603
  return T === 45 || mt(T) ? (e.consume(T), y) : N(T);
6604
6604
  }
6605
6605
  function N(T) {
6606
- return ce(T) ? (u = N, W(T)) : Se(T) ? (e.consume(T), N) : U(T);
6606
+ return ce(T) ? (u = N, G(T)) : Se(T) ? (e.consume(T), N) : U(T);
6607
6607
  }
6608
- function G(T) {
6609
- return T === 45 || mt(T) ? (e.consume(T), G) : T === 47 || T === 62 || at(T) ? F(T) : n(T);
6608
+ function W(T) {
6609
+ return T === 45 || mt(T) ? (e.consume(T), W) : T === 47 || T === 62 || at(T) ? F(T) : n(T);
6610
6610
  }
6611
6611
  function F(T) {
6612
- return T === 47 ? (e.consume(T), U) : T === 58 || T === 95 || Ot(T) ? (e.consume(T), te) : ce(T) ? (u = F, W(T)) : Se(T) ? (e.consume(T), F) : U(T);
6612
+ return T === 47 ? (e.consume(T), U) : T === 58 || T === 95 || Ot(T) ? (e.consume(T), te) : ce(T) ? (u = F, G(T)) : Se(T) ? (e.consume(T), F) : U(T);
6613
6613
  }
6614
6614
  function te(T) {
6615
6615
  return T === 45 || T === 46 || T === 58 || T === 95 || mt(T) ? (e.consume(T), te) : z(T);
6616
6616
  }
6617
6617
  function z(T) {
6618
- return T === 61 ? (e.consume(T), V) : ce(T) ? (u = z, W(T)) : Se(T) ? (e.consume(T), z) : F(T);
6618
+ return T === 61 ? (e.consume(T), V) : ce(T) ? (u = z, G(T)) : Se(T) ? (e.consume(T), z) : F(T);
6619
6619
  }
6620
6620
  function V(T) {
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);
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, G(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, R) : 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, G(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);
@@ -6632,11 +6632,11 @@ function s1(e, t, n) {
6632
6632
  function U(T) {
6633
6633
  return T === 62 ? (e.consume(T), e.exit("htmlTextData"), e.exit("htmlText"), t) : n(T);
6634
6634
  }
6635
- function W(T) {
6635
+ function G(T) {
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) ? De(
6639
+ return Se(T) ? Pe(
6640
6640
  e,
6641
6641
  Y,
6642
6642
  "linePrefix",
@@ -6872,7 +6872,7 @@ 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"), De(e, t, "linePrefix");
6875
+ return e.enter("lineEnding"), e.consume(r), e.exit("lineEnding"), Pe(e, t, "linePrefix");
6876
6876
  }
6877
6877
  }
6878
6878
  const Dr = {
@@ -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) ? De(e, s, "whitespace")(c) : s(c));
6895
+ return c === a ? (e.consume(c), r++, l) : (e.exit("thematicBreakSequence"), Se(c) ? Pe(e, s, "whitespace")(c) : s(c));
6896
6896
  }
6897
6897
  }
6898
6898
  const nt = {
@@ -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, De(
6957
+ return r.containerState.furtherBlankLines = r.containerState.furtherBlankLines || r.containerState.initialBlankLine, Pe(
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, De(
6968
+ return r.containerState._closeFlow = !0, r.interrupt = void 0, Pe(
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 De(
6978
+ return Pe(
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 De(
6994
+ return Pe(
6995
6995
  e,
6996
6996
  a,
6997
6997
  "listItemPrefixWhitespace",
@@ -7042,7 +7042,7 @@ 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) ? De(e, l, "lineSuffix")(c) : l(c));
7045
+ return c === a ? (e.consume(c), s) : (e.exit("setextHeadingLineSequence"), Se(c) ? Pe(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);
@@ -7060,7 +7060,7 @@ function D1(e) {
7060
7060
  e.attempt(
7061
7061
  this.parser.constructs.flowInitial,
7062
7062
  a,
7063
- De(
7063
+ Pe(
7064
7064
  e,
7065
7065
  e.attempt(
7066
7066
  this.parser.constructs.flow,
@@ -7218,7 +7218,7 @@ function H1(e, t, n) {
7218
7218
  let d = t.tokenize.call(c, l);
7219
7219
  return t.resolveAll && i.push(t), c;
7220
7220
  function h(z) {
7221
- return u = gt(u, z), _(), u[u.length - 1] !== null ? [] : (G(t, 0), c.events = wi(i, c.events, c), c.events);
7221
+ return u = gt(u, z), _(), u[u.length - 1] !== null ? [] : (W(t, 0), c.events = wi(i, c.events, c), c.events);
7222
7222
  }
7223
7223
  function p(z, V) {
7224
7224
  return j1(f(z), V);
@@ -7265,7 +7265,7 @@ function H1(e, t, n) {
7265
7265
  return V.end = b(), c.events.push(["exit", V, c]), V;
7266
7266
  }
7267
7267
  function D(z, V) {
7268
- G(z, V.from);
7268
+ W(z, V.from);
7269
7269
  }
7270
7270
  function y(z, V) {
7271
7271
  V.restore();
@@ -7273,7 +7273,7 @@ function H1(e, t, n) {
7273
7273
  function N(z, V) {
7274
7274
  return L;
7275
7275
  function L(I, R, U) {
7276
- let W, j, Y, T;
7276
+ let G, j, Y, T;
7277
7277
  return Array.isArray(I) ? oe(I) : "tokenize" in I ? (
7278
7278
  // @ts-expect-error Looks like a construct.
7279
7279
  oe([I])
@@ -7291,7 +7291,7 @@ function H1(e, t, n) {
7291
7291
  }
7292
7292
  }
7293
7293
  function oe(me) {
7294
- return W = me, j = 0, me.length === 0 ? U : S(me[j]);
7294
+ return G = me, j = 0, me.length === 0 ? U : S(me[j]);
7295
7295
  }
7296
7296
  function S(me) {
7297
7297
  return Ce;
@@ -7311,11 +7311,11 @@ function H1(e, t, n) {
7311
7311
  return z(Y, T), R;
7312
7312
  }
7313
7313
  function _e(me) {
7314
- return T.restore(), ++j < W.length ? S(W[j]) : U;
7314
+ return T.restore(), ++j < G.length ? S(G[j]) : U;
7315
7315
  }
7316
7316
  }
7317
7317
  }
7318
- function G(z, V) {
7318
+ function W(z, V) {
7319
7319
  z.resolveAll && !i.includes(z) && i.push(z), z.resolve && kt(
7320
7320
  c.events,
7321
7321
  V,
@@ -7628,7 +7628,7 @@ function im(e) {
7628
7628
  codeFencedFenceMeta: _,
7629
7629
  codeFlowValue: V,
7630
7630
  codeIndented: d(M),
7631
- codeText: d(W),
7631
+ codeText: d(G),
7632
7632
  codeTextData: V,
7633
7633
  data: V,
7634
7634
  definition: d(),
@@ -7657,7 +7657,7 @@ function im(e) {
7657
7657
  resource: le,
7658
7658
  setextHeading: d(te),
7659
7659
  setextHeadingLineSequence: F,
7660
- setextHeadingText: G,
7660
+ setextHeadingText: W,
7661
7661
  strong: d(),
7662
7662
  thematicBreak: d()
7663
7663
  }
@@ -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, ke, qe;
7729
+ let ie = B - 1, ae = -1, ge = !1, ve, Te, Le, 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 && !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")) {
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")) {
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
- ke && (!Te || ke < Te) && (ve._spread = !0), ve.end = Object.assign(
7742
+ Le && (!Te || Le < 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++, ke = void 0, qe = !0);
7753
+ }, $.splice(ie, 0, ["enter", ve, Ee[2]]), ie++, re++, Le = void 0, qe = !0);
7754
7754
  }
7755
7755
  }
7756
7756
  return $[B][1]._spread = ge, re;
@@ -7848,7 +7848,7 @@ function im(e) {
7848
7848
  B.depth = re;
7849
7849
  }
7850
7850
  }
7851
- function G() {
7851
+ function W() {
7852
7852
  i("setextHeadingSlurpLineEnding", !0);
7853
7853
  }
7854
7854
  function F($) {
@@ -7889,7 +7889,7 @@ function im(e) {
7889
7889
  const $ = this.resume(), B = this.stack[this.stack.length - 1];
7890
7890
  B.value = $;
7891
7891
  }
7892
- function W() {
7892
+ function G() {
7893
7893
  const $ = this.resume(), B = this.stack[this.stack.length - 1];
7894
7894
  B.value = $;
7895
7895
  }
@@ -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(), Le = sn(), xn = sn(), dt = sn();
8941
+ const fe = sn(), Ye = sn(), Ll = sn(), Z = sn(), we = 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: Le
8953
+ spaceSeparated: we
8954
8954
  }, Symbol.toStringTag, { value: "Module" })), Ma = Object.keys(pi);
8955
8955
  let Hi = class extends yt {
8956
8956
  /**
@@ -9034,36 +9034,36 @@ const Ml = Ln({
9034
9034
  ariaColCount: Z,
9035
9035
  ariaColIndex: Z,
9036
9036
  ariaColSpan: Z,
9037
- ariaControls: Le,
9037
+ ariaControls: we,
9038
9038
  ariaCurrent: null,
9039
- ariaDescribedBy: Le,
9039
+ ariaDescribedBy: we,
9040
9040
  ariaDetails: null,
9041
9041
  ariaDisabled: Ye,
9042
- ariaDropEffect: Le,
9042
+ ariaDropEffect: we,
9043
9043
  ariaErrorMessage: null,
9044
9044
  ariaExpanded: Ye,
9045
- ariaFlowTo: Le,
9045
+ ariaFlowTo: we,
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: Le,
9052
+ ariaLabelledBy: we,
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: Le,
9059
+ ariaOwns: we,
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: Le,
9066
+ ariaRoleDescription: we,
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: Le,
9094
- accessKey: Le,
9093
+ acceptCharset: we,
9094
+ accessKey: we,
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: Le,
9104
+ autoComplete: we,
9105
9105
  autoFocus: fe,
9106
9106
  autoPlay: fe,
9107
- blocking: Le,
9107
+ blocking: we,
9108
9108
  capture: null,
9109
9109
  charSet: null,
9110
9110
  checked: fe,
9111
9111
  cite: null,
9112
- className: Le,
9112
+ className: we,
9113
9113
  cols: Z,
9114
9114
  colSpan: null,
9115
9115
  content: null,
9116
9116
  contentEditable: Ye,
9117
9117
  controls: fe,
9118
- controlsList: Le,
9118
+ controlsList: we,
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: Le,
9140
+ headers: we,
9141
9141
  height: Z,
9142
9142
  hidden: fe,
9143
9143
  high: Z,
9144
9144
  href: null,
9145
9145
  hrefLang: null,
9146
- htmlFor: Le,
9147
- httpEquiv: Le,
9146
+ htmlFor: we,
9147
+ httpEquiv: we,
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: Le,
9158
- itemRef: Le,
9157
+ itemProp: we,
9158
+ itemRef: we,
9159
9159
  itemScope: fe,
9160
- itemType: Le,
9160
+ itemType: we,
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: Le,
9273
+ ping: we,
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: Le,
9283
+ rel: we,
9284
9284
  required: fe,
9285
9285
  reversed: fe,
9286
9286
  rows: Z,
9287
9287
  rowSpan: Z,
9288
- sandbox: Le,
9288
+ sandbox: we,
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: Le,
9326
+ archive: we,
9327
9327
  // `<object>`. List of URIs to archives
9328
9328
  axis: null,
9329
9329
  // `<td>` and `<th>`. Use `scope` on `<th>`
@@ -9638,7 +9638,7 @@ const Ml = Ln({
9638
9638
  by: null,
9639
9639
  calcMode: null,
9640
9640
  capHeight: Z,
9641
- className: Le,
9641
+ className: we,
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: Le,
9876
+ ping: we,
9877
9877
  pitch: null,
9878
9878
  playbackOrder: null,
9879
9879
  pointerEvents: null,
@@ -10198,7 +10198,7 @@ function p2() {
10198
10198
  function K() {
10199
10199
  var L = { line: g, column: w };
10200
10200
  return function(I) {
10201
- return I.position = new D(L), G(), I;
10201
+ return I.position = new D(L), W(), I;
10202
10202
  };
10203
10203
  }
10204
10204
  function D(L) {
@@ -10218,7 +10218,7 @@ function p2() {
10218
10218
  return M(R), m = m.slice(R.length), I;
10219
10219
  }
10220
10220
  }
10221
- function G() {
10221
+ function W() {
10222
10222
  N(n);
10223
10223
  }
10224
10224
  function F(L) {
@@ -10260,7 +10260,7 @@ function p2() {
10260
10260
  I !== !1 && (L.push(I), F(L));
10261
10261
  return L;
10262
10262
  }
10263
- return G(), V();
10263
+ return W(), V();
10264
10264
  };
10265
10265
  function b(m) {
10266
10266
  return m ? m.replace(s, h) : h;
@@ -10606,15 +10606,15 @@ function w2() {
10606
10606
  var R = ["th", "st", "nd", "rd"], U = I % 100;
10607
10607
  return "[" + I + (R[(U - 20) % 10] || R[U] || R[0]) + "]";
10608
10608
  } }, M = function(I, R, U) {
10609
- var W = String(I);
10610
- return !W || W.length >= R ? I : "" + Array(R + 1 - W.length).join(U) + I;
10609
+ var G = String(I);
10610
+ return !G || G.length >= R ? I : "" + Array(R + 1 - G.length).join(U) + I;
10611
10611
  }, K = { s: M, z: function(I) {
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");
10612
+ var R = -I.utcOffset(), U = Math.abs(R), G = Math.floor(U / 60), j = U % 60;
10613
+ return (R <= 0 ? "+" : "-") + M(G, 2, "0") + ":" + M(j, 2, "0");
10614
10614
  }, m: function I(R, U) {
10615
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
- return +(-(W + (U - j) / (Y ? j - T : T - j)) || 0);
10616
+ var G = 12 * (U.year() - R.year()) + (U.month() - R.month()), j = R.clone().add(G, h), Y = U - j < 0, T = R.clone().add(G + (Y ? -1 : 1), h);
10617
+ return +(-(G + (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);
10620
10620
  }, p: function(I) {
@@ -10623,9 +10623,9 @@ function w2() {
10623
10623
  return I === void 0;
10624
10624
  } }, D = "en", y = {};
10625
10625
  y[D] = w;
10626
- var N = "$isDayjsObject", G = function(I) {
10626
+ var N = "$isDayjsObject", W = function(I) {
10627
10627
  return I instanceof V || !(!I || !I[N]);
10628
- }, F = function I(R, U, W) {
10628
+ }, F = function I(R, U, G) {
10629
10629
  var j;
10630
10630
  if (!R) return D;
10631
10631
  if (typeof R == "string") {
@@ -10637,13 +10637,13 @@ function w2() {
10637
10637
  var ne = R.name;
10638
10638
  y[ne] = R, j = ne;
10639
10639
  }
10640
- return !W && j && (D = j), j || !W && D;
10640
+ return !G && j && (D = j), j || !G && D;
10641
10641
  }, te = function(I, R) {
10642
- if (G(I)) return I.clone();
10642
+ if (W(I)) return I.clone();
10643
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, R) {
10646
+ z.l = F, z.i = W, z.w = function(I, R) {
10647
10647
  return te(I, { locale: R.$L, utc: R.$u, x: R.$x, $offset: R.$offset });
10648
10648
  };
10649
10649
  var V = function() {
@@ -10652,8 +10652,8 @@ function w2() {
10652
10652
  }
10653
10653
  var R = I.prototype;
10654
10654
  return R.parse = function(U) {
10655
- this.$d = function(W) {
10656
- var j = W.date, Y = W.utc;
10655
+ this.$d = function(G) {
10656
+ var j = G.date, Y = G.utc;
10657
10657
  if (j === null) return /* @__PURE__ */ new Date(NaN);
10658
10658
  if (z.u(j)) return /* @__PURE__ */ new Date();
10659
10659
  if (j instanceof Date) return new Date(j);
@@ -10673,21 +10673,21 @@ function w2() {
10673
10673
  return z;
10674
10674
  }, R.isValid = function() {
10675
10675
  return this.$d.toString() !== m;
10676
- }, R.isSame = function(U, W) {
10676
+ }, R.isSame = function(U, G) {
10677
10677
  var j = te(U);
10678
- return this.startOf(W) <= j && j <= this.endOf(W);
10679
- }, R.isAfter = function(U, W) {
10680
- return te(U) < this.startOf(W);
10681
- }, R.isBefore = function(U, W) {
10682
- return this.endOf(W) < te(U);
10683
- }, R.$g = function(U, W, j) {
10684
- return z.u(U) ? this[W] : this.set(j, U);
10678
+ return this.startOf(G) <= j && j <= this.endOf(G);
10679
+ }, R.isAfter = function(U, G) {
10680
+ return te(U) < this.startOf(G);
10681
+ }, R.isBefore = function(U, G) {
10682
+ return this.endOf(G) < te(U);
10683
+ }, R.$g = function(U, G, j) {
10684
+ return z.u(U) ? this[G] : this.set(j, U);
10685
10685
  }, R.unix = function() {
10686
10686
  return Math.floor(this.valueOf() / 1e3);
10687
10687
  }, R.valueOf = function() {
10688
10688
  return this.$d.getTime();
10689
- }, R.startOf = function(U, W) {
10690
- var j = this, Y = !!z.u(W) || W, T = z.p(U), ne = function(Ue, Ie) {
10689
+ }, R.startOf = function(U, G) {
10690
+ var j = this, Y = !!z.u(G) || G, 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);
10693
10693
  }, oe = function(Ue, Ie) {
@@ -10715,21 +10715,21 @@ function w2() {
10715
10715
  }
10716
10716
  }, R.endOf = function(U) {
10717
10717
  return this.startOf(U, !1);
10718
- }, R.$set = function(U, W) {
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;
10718
+ }, R.$set = function(U, G) {
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 + (G - this.$W) : G;
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
- }, R.set = function(U, W) {
10726
- return this.clone().$set(U, W);
10725
+ }, R.set = function(U, G) {
10726
+ return this.clone().$set(U, G);
10727
10727
  }, R.get = function(U) {
10728
10728
  return this[z.p(U)]();
10729
- }, R.add = function(U, W) {
10729
+ }, R.add = function(U, G) {
10730
10730
  var j, Y = this;
10731
10731
  U = Number(U);
10732
- var T = z.p(W), ne = function(le) {
10732
+ var T = z.p(G), ne = function(le) {
10733
10733
  var _e = te(Y);
10734
10734
  return z.w(_e.date(_e.date() + Math.round(le * U)), Y);
10735
10735
  };
@@ -10739,13 +10739,13 @@ 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
- }, R.subtract = function(U, W) {
10743
- return this.add(-1 * U, W);
10742
+ }, R.subtract = function(U, G) {
10743
+ return this.add(-1 * U, G);
10744
10744
  }, R.format = function(U) {
10745
- var W = this, j = this.$locale();
10745
+ var G = 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) {
10748
- return Ie && (Ie[Ke] || Ie(W, Y)) || ot[Ke].slice(0, St);
10748
+ return Ie && (Ie[Ke] || Ie(G, Y)) || ot[Ke].slice(0, St);
10749
10749
  }, Oe = function(Ie) {
10750
10750
  return z.s(ne % 12 || 12, Ie, "0");
10751
10751
  }, Ue = me || function(Ie, Ke, ot) {
@@ -10756,9 +10756,9 @@ function w2() {
10756
10756
  return Ke || function(ot) {
10757
10757
  switch (ot) {
10758
10758
  case "YY":
10759
- return String(W.$y).slice(-2);
10759
+ return String(G.$y).slice(-2);
10760
10760
  case "YYYY":
10761
- return z.s(W.$y, 4, "0");
10761
+ return z.s(G.$y, 4, "0");
10762
10762
  case "M":
10763
10763
  return S + 1;
10764
10764
  case "MM":
@@ -10768,17 +10768,17 @@ function w2() {
10768
10768
  case "MMMM":
10769
10769
  return Ce(_e, S);
10770
10770
  case "D":
10771
- return W.$D;
10771
+ return G.$D;
10772
10772
  case "DD":
10773
- return z.s(W.$D, 2, "0");
10773
+ return z.s(G.$D, 2, "0");
10774
10774
  case "d":
10775
- return String(W.$W);
10775
+ return String(G.$W);
10776
10776
  case "dd":
10777
- return Ce(j.weekdaysMin, W.$W, le, 2);
10777
+ return Ce(j.weekdaysMin, G.$W, le, 2);
10778
10778
  case "ddd":
10779
- return Ce(j.weekdaysShort, W.$W, le, 3);
10779
+ return Ce(j.weekdaysShort, G.$W, le, 3);
10780
10780
  case "dddd":
10781
- return le[W.$W];
10781
+ return le[G.$W];
10782
10782
  case "H":
10783
10783
  return String(ne);
10784
10784
  case "HH":
@@ -10796,11 +10796,11 @@ function w2() {
10796
10796
  case "mm":
10797
10797
  return z.s(oe, 2, "0");
10798
10798
  case "s":
10799
- return String(W.$s);
10799
+ return String(G.$s);
10800
10800
  case "ss":
10801
- return z.s(W.$s, 2, "0");
10801
+ return z.s(G.$s, 2, "0");
10802
10802
  case "SSS":
10803
- return z.s(W.$ms, 3, "0");
10803
+ return z.s(G.$ms, 3, "0");
10804
10804
  case "Z":
10805
10805
  return T;
10806
10806
  }
@@ -10809,8 +10809,8 @@ function w2() {
10809
10809
  });
10810
10810
  }, R.utcOffset = function() {
10811
10811
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
10812
- }, R.diff = function(U, W, j) {
10813
- var Y, T = this, ne = z.p(W), oe = te(U), S = (oe.utcOffset() - this.utcOffset()) * r, le = this - oe, _e = function() {
10812
+ }, R.diff = function(U, G, j) {
10813
+ var Y, T = this, ne = z.p(G), oe = te(U), S = (oe.utcOffset() - this.utcOffset()) * r, le = this - oe, _e = function() {
10814
10814
  return z.m(T, oe);
10815
10815
  };
10816
10816
  switch (ne) {
@@ -10846,9 +10846,9 @@ function w2() {
10846
10846
  return this.endOf(h).$D;
10847
10847
  }, R.$locale = function() {
10848
10848
  return y[this.$L];
10849
- }, R.locale = function(U, W) {
10849
+ }, R.locale = function(U, G) {
10850
10850
  if (!U) return this.$L;
10851
- var j = this.clone(), Y = F(U, W, !0);
10851
+ var j = this.clone(), Y = F(U, G, !0);
10852
10852
  return Y && (j.$L = Y), j;
10853
10853
  }, R.clone = function() {
10854
10854
  return z.w(this.$d, this);
@@ -10868,7 +10868,7 @@ function w2() {
10868
10868
  };
10869
10869
  }), te.extend = function(I, R) {
10870
10870
  return I.$i || (I(R, V, te), I.$i = !0), te;
10871
- }, te.locale = F, te.isDayjs = G, te.unix = function(I) {
10871
+ }, te.locale = F, te.isDayjs = W, te.unix = function(I) {
10872
10872
  return te(1e3 * I);
10873
10873
  }, te.en = y[D], te.Ls = y, te.p = {}, te;
10874
10874
  });
@@ -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(), we = ln(), vn = ln(), ft = ln();
11115
+ const he = ln(), $e = ln(), Xl = ln(), J = ln(), Re = 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: we
11127
+ spaceSeparated: Re
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: we,
11182
+ ariaControls: Re,
11183
11183
  ariaCurrent: null,
11184
- ariaDescribedBy: we,
11184
+ ariaDescribedBy: Re,
11185
11185
  ariaDetails: null,
11186
11186
  ariaDisabled: $e,
11187
- ariaDropEffect: we,
11187
+ ariaDropEffect: Re,
11188
11188
  ariaErrorMessage: null,
11189
11189
  ariaExpanded: $e,
11190
- ariaFlowTo: we,
11190
+ ariaFlowTo: Re,
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: we,
11197
+ ariaLabelledBy: Re,
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: we,
11204
+ ariaOwns: Re,
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: we,
11211
+ ariaRoleDescription: Re,
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: we,
11247
- accessKey: we,
11246
+ acceptCharset: Re,
11247
+ accessKey: Re,
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: we,
11257
+ autoComplete: Re,
11258
11258
  autoFocus: he,
11259
11259
  autoPlay: he,
11260
- blocking: we,
11260
+ blocking: Re,
11261
11261
  capture: null,
11262
11262
  charSet: null,
11263
11263
  checked: he,
11264
11264
  cite: null,
11265
- className: we,
11265
+ className: Re,
11266
11266
  cols: J,
11267
11267
  colSpan: null,
11268
11268
  content: null,
11269
11269
  contentEditable: $e,
11270
11270
  controls: he,
11271
- controlsList: we,
11271
+ controlsList: Re,
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: we,
11293
+ headers: Re,
11294
11294
  height: J,
11295
11295
  hidden: he,
11296
11296
  high: J,
11297
11297
  href: null,
11298
11298
  hrefLang: null,
11299
- htmlFor: we,
11300
- httpEquiv: we,
11299
+ htmlFor: Re,
11300
+ httpEquiv: Re,
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: we,
11311
- itemRef: we,
11310
+ itemProp: Re,
11311
+ itemRef: Re,
11312
11312
  itemScope: he,
11313
- itemType: we,
11313
+ itemType: Re,
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: we,
11426
+ ping: Re,
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: we,
11436
+ rel: Re,
11437
11437
  required: he,
11438
11438
  reversed: he,
11439
11439
  rows: J,
11440
11440
  rowSpan: J,
11441
- sandbox: we,
11441
+ sandbox: Re,
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: we,
11479
+ archive: Re,
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: we,
11794
+ className: Re,
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: we,
12029
+ ping: Re,
12030
12030
  pitch: null,
12031
12031
  playbackOrder: null,
12032
12032
  pointerEvents: null,
@@ -12418,7 +12418,7 @@ ut.prototype.property = "";
12418
12418
  ut.prototype.spaceSeparated = !1;
12419
12419
  ut.prototype.space = void 0;
12420
12420
  let og = 0;
12421
- const pe = cn(), Ve = cn(), ac = cn(), ee = cn(), Re = cn(), On = cn(), ht = cn();
12421
+ const pe = cn(), Ve = cn(), ac = cn(), ee = cn(), De = cn(), On = cn(), ht = cn();
12422
12422
  function cn() {
12423
12423
  return 2 ** ++og;
12424
12424
  }
@@ -12430,7 +12430,7 @@ const yi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12430
12430
  commaSeparated: On,
12431
12431
  number: ee,
12432
12432
  overloadedBoolean: ac,
12433
- spaceSeparated: Re
12433
+ spaceSeparated: De
12434
12434
  }, Symbol.toStringTag, { value: "Module" })), qa = (
12435
12435
  /** @type {ReadonlyArray<keyof typeof types>} */
12436
12436
  Object.keys(yi)
@@ -12485,36 +12485,36 @@ const ic = Rn({
12485
12485
  ariaColCount: ee,
12486
12486
  ariaColIndex: ee,
12487
12487
  ariaColSpan: ee,
12488
- ariaControls: Re,
12488
+ ariaControls: De,
12489
12489
  ariaCurrent: null,
12490
- ariaDescribedBy: Re,
12490
+ ariaDescribedBy: De,
12491
12491
  ariaDetails: null,
12492
12492
  ariaDisabled: Ve,
12493
- ariaDropEffect: Re,
12493
+ ariaDropEffect: De,
12494
12494
  ariaErrorMessage: null,
12495
12495
  ariaExpanded: Ve,
12496
- ariaFlowTo: Re,
12496
+ ariaFlowTo: De,
12497
12497
  ariaGrabbed: Ve,
12498
12498
  ariaHasPopup: null,
12499
12499
  ariaHidden: Ve,
12500
12500
  ariaInvalid: null,
12501
12501
  ariaKeyShortcuts: null,
12502
12502
  ariaLabel: null,
12503
- ariaLabelledBy: Re,
12503
+ ariaLabelledBy: De,
12504
12504
  ariaLevel: ee,
12505
12505
  ariaLive: null,
12506
12506
  ariaModal: Ve,
12507
12507
  ariaMultiLine: Ve,
12508
12508
  ariaMultiSelectable: Ve,
12509
12509
  ariaOrientation: null,
12510
- ariaOwns: Re,
12510
+ ariaOwns: De,
12511
12511
  ariaPlaceholder: null,
12512
12512
  ariaPosInSet: ee,
12513
12513
  ariaPressed: Ve,
12514
12514
  ariaReadOnly: Ve,
12515
12515
  ariaRelevant: null,
12516
12516
  ariaRequired: Ve,
12517
- ariaRoleDescription: Re,
12517
+ ariaRoleDescription: De,
12518
12518
  ariaRowCount: ee,
12519
12519
  ariaRowIndex: ee,
12520
12520
  ariaRowSpan: ee,
@@ -12549,8 +12549,8 @@ const sg = Rn({
12549
12549
  // Standard Properties.
12550
12550
  abbr: null,
12551
12551
  accept: On,
12552
- acceptCharset: Re,
12553
- accessKey: Re,
12552
+ acceptCharset: De,
12553
+ accessKey: De,
12554
12554
  action: null,
12555
12555
  allow: null,
12556
12556
  allowFullScreen: pe,
@@ -12560,21 +12560,21 @@ const sg = Rn({
12560
12560
  as: null,
12561
12561
  async: pe,
12562
12562
  autoCapitalize: null,
12563
- autoComplete: Re,
12563
+ autoComplete: De,
12564
12564
  autoFocus: pe,
12565
12565
  autoPlay: pe,
12566
- blocking: Re,
12566
+ blocking: De,
12567
12567
  capture: null,
12568
12568
  charSet: null,
12569
12569
  checked: pe,
12570
12570
  cite: null,
12571
- className: Re,
12571
+ className: De,
12572
12572
  cols: ee,
12573
12573
  colSpan: null,
12574
12574
  content: null,
12575
12575
  contentEditable: Ve,
12576
12576
  controls: pe,
12577
- controlsList: Re,
12577
+ controlsList: De,
12578
12578
  coords: ee | On,
12579
12579
  crossOrigin: null,
12580
12580
  data: null,
@@ -12596,14 +12596,14 @@ const sg = Rn({
12596
12596
  formMethod: null,
12597
12597
  formNoValidate: pe,
12598
12598
  formTarget: null,
12599
- headers: Re,
12599
+ headers: De,
12600
12600
  height: ee,
12601
12601
  hidden: pe,
12602
12602
  high: ee,
12603
12603
  href: null,
12604
12604
  hrefLang: null,
12605
- htmlFor: Re,
12606
- httpEquiv: Re,
12605
+ htmlFor: De,
12606
+ httpEquiv: De,
12607
12607
  id: null,
12608
12608
  imageSizes: null,
12609
12609
  imageSrcSet: null,
@@ -12613,10 +12613,10 @@ const sg = Rn({
12613
12613
  is: null,
12614
12614
  isMap: pe,
12615
12615
  itemId: null,
12616
- itemProp: Re,
12617
- itemRef: Re,
12616
+ itemProp: De,
12617
+ itemRef: De,
12618
12618
  itemScope: pe,
12619
- itemType: Re,
12619
+ itemType: De,
12620
12620
  kind: null,
12621
12621
  label: null,
12622
12622
  lang: null,
@@ -12729,7 +12729,7 @@ const sg = Rn({
12729
12729
  open: pe,
12730
12730
  optimum: ee,
12731
12731
  pattern: null,
12732
- ping: Re,
12732
+ ping: De,
12733
12733
  placeholder: null,
12734
12734
  playsInline: pe,
12735
12735
  popover: null,
@@ -12739,12 +12739,12 @@ const sg = Rn({
12739
12739
  preload: null,
12740
12740
  readOnly: pe,
12741
12741
  referrerPolicy: null,
12742
- rel: Re,
12742
+ rel: De,
12743
12743
  required: pe,
12744
12744
  reversed: pe,
12745
12745
  rows: ee,
12746
12746
  rowSpan: ee,
12747
- sandbox: Re,
12747
+ sandbox: De,
12748
12748
  scope: null,
12749
12749
  scoped: pe,
12750
12750
  seamless: pe,
@@ -12782,7 +12782,7 @@ const sg = Rn({
12782
12782
  // Several. Use CSS `text-align` instead,
12783
12783
  aLink: null,
12784
12784
  // `<body>`. Use CSS `a:active {color}` instead
12785
- archive: Re,
12785
+ archive: De,
12786
12786
  // `<object>`. List of URIs to archives
12787
12787
  axis: null,
12788
12788
  // `<td>` and `<th>`. Use `scope` on `<th>`
@@ -13097,7 +13097,7 @@ const sg = Rn({
13097
13097
  by: null,
13098
13098
  calcMode: null,
13099
13099
  capHeight: ee,
13100
- className: Re,
13100
+ className: De,
13101
13101
  clip: null,
13102
13102
  clipPath: null,
13103
13103
  clipPathUnits: null,
@@ -13332,7 +13332,7 @@ const sg = Rn({
13332
13332
  patternTransform: null,
13333
13333
  patternUnits: null,
13334
13334
  phase: null,
13335
- ping: Re,
13335
+ ping: De,
13336
13336
  pitch: null,
13337
13337
  playbackOrder: null,
13338
13338
  pointerEvents: null,
@@ -19942,8 +19942,8 @@ const NT = "Sure, I can get you to someone who can help.", kT = (e) => {
19942
19942
  p: (y) => /* @__PURE__ */ v.jsx("p", { ...y, style: w[f].bubbleStyle, children: y.children }),
19943
19943
  "document-source": ({ children: y, node: N }) => {
19944
19944
  var F;
19945
- const G = (F = N.properties) == null ? void 0 : F.dataIndex;
19946
- return /* @__PURE__ */ v.jsx(qi, { index: G, children: y });
19945
+ const W = (F = N.properties) == null ? void 0 : F.dataIndex;
19946
+ return /* @__PURE__ */ v.jsx(qi, { index: W, children: y });
19947
19947
  }
19948
19948
  },
19949
19949
  linkTarget: "_blank",
@@ -20060,7 +20060,7 @@ tu.propTypes = {
20060
20060
  tu.displayName = "NotificationMessage";
20061
20061
  function td({ disableScroll: e }) {
20062
20062
  const t = Ze(null);
20063
- return Pe(() => {
20063
+ return ke(() => {
20064
20064
  var n;
20065
20065
  e || (n = t.current) == null || n.scrollIntoView({
20066
20066
  behavior: "smooth",
@@ -20238,11 +20238,11 @@ const rd = ({ chatContentRef: e, messages: t }) => {
20238
20238
  behavior: "smooth"
20239
20239
  }), u.current && u.current.focus();
20240
20240
  };
20241
- return Pe(() => {
20241
+ return ke(() => {
20242
20242
  const c = e.current;
20243
20243
  if (c)
20244
20244
  return c.addEventListener("scroll", s), () => c.removeEventListener("scroll", s);
20245
- }, [e, s]), Pe(() => {
20245
+ }, [e, s]), ke(() => {
20246
20246
  !n && e.current && e.current.scrollTo({
20247
20247
  top: e.current.scrollHeight,
20248
20248
  behavior: "smooth"
@@ -20960,7 +20960,7 @@ function ou() {
20960
20960
  return u.UNPARSABLE_JSON_OBJECT;
20961
20961
  }
20962
20962
  return null;
20963
- }, [_, f.disableJson]), y = (0, a.useRef)(null), N = (0, a.useRef)(null), G = (0, a.useRef)(function() {
20963
+ }, [_, f.disableJson]), y = (0, a.useRef)(null), N = (0, a.useRef)(null), W = (0, a.useRef)(function() {
20964
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);
20965
20965
  L.current = f;
20966
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) {
@@ -20970,10 +20970,10 @@ function ou() {
20970
20970
  return;
20971
20971
  }
20972
20972
  ((ne = N.current) === null || ne === void 0 ? void 0 : ne.readyState) === u.ReadyState.OPEN ? ((0, d.assertIsWebSocket)(N.current, L.current.skipAssert), N.current.send(Y)) : T && z.current.push(Y);
20973
- }, []), W = (0, a.useCallback)(function(Y, T) {
20973
+ }, []), G = (0, a.useCallback)(function(Y, T) {
20974
20974
  T === void 0 && (T = !0), U(JSON.stringify(Y), T);
20975
20975
  }, [U]), j = (0, a.useCallback)(function() {
20976
- return L.current.share !== !0 || u.isEventSourceSupported && N.current instanceof EventSource ? N.current : (V.current === null && N.current && ((0, d.assertIsWebSocket)(N.current, L.current.skipAssert), V.current = (0, c.default)(N.current, G)), V.current);
20976
+ return L.current.share !== !0 || u.isEventSourceSupported && N.current instanceof EventSource ? N.current : (V.current === null && N.current && ((0, d.assertIsWebSocket)(N.current, L.current.skipAssert), V.current = (0, c.default)(N.current, W)), V.current);
20977
20977
  }, []);
20978
20978
  return (0, a.useEffect)(function() {
20979
20979
  if (p !== null && b === !0) {
@@ -21003,7 +21003,7 @@ function ou() {
21003
21003
  return e(e({}, Oe), y.current && (Ue = {}, Ue[y.current] = Ce, Ue));
21004
21004
  });
21005
21005
  });
21006
- }, ne && (Y = (0, s.createOrJoinSocket)(N, y.current, _e, L, le, G, F, te, U)), [
21006
+ }, ne && (Y = (0, s.createOrJoinSocket)(N, y.current, _e, L, le, W, F, te, U)), [
21007
21007
  2
21008
21008
  /*return*/
21009
21009
  ]);
@@ -21011,7 +21011,7 @@ function ou() {
21011
21011
  });
21012
21012
  });
21013
21013
  };
21014
- return G.current = function() {
21014
+ return W.current = function() {
21015
21015
  T || (V.current && (V.current = null), Y == null || Y(), oe());
21016
21016
  }, oe(), function() {
21017
21017
  T = !0, ne = !1, V.current && (V.current = null), Y == null || Y(), g(null);
@@ -21026,7 +21026,7 @@ function ou() {
21026
21026
  });
21027
21027
  }, [I]), {
21028
21028
  sendMessage: U,
21029
- sendJsonMessage: W,
21029
+ sendJsonMessage: G,
21030
21030
  lastMessage: _,
21031
21031
  lastJsonMessage: D,
21032
21032
  readyState: I,
@@ -21183,7 +21183,7 @@ const qT = "This conversation with a live agent has ended. Please note that a tr
21183
21183
  case "CONVERSATION_ERROR":
21184
21184
  return;
21185
21185
  case "CONVERSATION_TERMINATED":
21186
- return G();
21186
+ return W();
21187
21187
  case "CONVERSATION_TRANSFERRED_TO_GROUP":
21188
21188
  return;
21189
21189
  case "CONVERSATION_TRANSFERRED_TO_AGENT":
@@ -21209,7 +21209,7 @@ const qT = "This conversation with a live agent has ended. Please note that a tr
21209
21209
  action: "sendmessage",
21210
21210
  event: "TERMINATE_CONVERSATION"
21211
21211
  });
21212
- }, G = () => {
21212
+ }, W = () => {
21213
21213
  r({
21214
21214
  content: qT,
21215
21215
  role: "info"
@@ -21242,11 +21242,11 @@ const qT = "This conversation with a live agent has ended. Please note that a tr
21242
21242
  ],
21243
21243
  event: "ACKNOWLEDGE_MESSAGE"
21244
21244
  }), c(!1);
21245
- }, W = {
21245
+ }, G = {
21246
21246
  agentName: u,
21247
21247
  agentTyping: l,
21248
21248
  cancelLiveChatConnection: y,
21249
- endLiveChat: G,
21249
+ endLiveChat: W,
21250
21250
  liveChatMessages: h,
21251
21251
  pushLiveChatMessage: M,
21252
21252
  sendMessage: (j) => {
@@ -21288,11 +21288,11 @@ const qT = "This conversation with a live agent has ended. Please note that a tr
21288
21288
  icon: "check",
21289
21289
  iconColor: "#30A171",
21290
21290
  role: "notification"
21291
- }), G();
21291
+ }), W();
21292
21292
  },
21293
21293
  terminateConversation: N
21294
21294
  };
21295
- return /* @__PURE__ */ v.jsx(hn.Provider, { value: W, children: e });
21295
+ return /* @__PURE__ */ v.jsx(hn.Provider, { value: G, children: e });
21296
21296
  };
21297
21297
  ud.propTypes = {
21298
21298
  children: x.element.isRequired,
@@ -21446,7 +21446,12 @@ function cd({
21446
21446
  }) {
21447
21447
  var c, d, h, p, f, b, m, _, g, w, M, K, D, y, N;
21448
21448
  const { primaryColor: a, conversationScreen: i } = se(je), { isMobile: u, mode: s } = se(Je), { step: l } = se(hn);
21449
- return l === qt.CONNECTING && s === It.LIVECHAT ? null : /* @__PURE__ */ v.jsxs(
21449
+ return ke(() => {
21450
+ const W = document.getElementById("header-mobile");
21451
+ return W && (W.style.display = "none"), () => {
21452
+ W && (W.style.display = "");
21453
+ };
21454
+ }, []), l === qt.CONNECTING && s === It.LIVECHAT ? null : /* @__PURE__ */ v.jsxs(
21450
21455
  "div",
21451
21456
  {
21452
21457
  "data-testid": "xpert-conversations-header",
@@ -21702,7 +21707,7 @@ function XT(e, t) {
21702
21707
  },
21703
21708
  [n, e, t]
21704
21709
  );
21705
- return Pe(() => () => {
21710
+ return ke(() => () => {
21706
21711
  clearTimeout(a.current);
21707
21712
  }, []), i;
21708
21713
  }
@@ -21824,19 +21829,19 @@ function pd() {
21824
21829
  }, M = () => {
21825
21830
  K() && n(l);
21826
21831
  };
21827
- Pe(() => {
21832
+ ke(() => {
21828
21833
  (!a || a.length === 0) && n();
21829
21834
  }, [a, n]);
21830
21835
  const K = () => {
21831
21836
  const D = a.reduce((y, N) => {
21832
- const { key: G, validations: F = [] } = N, te = l[G];
21833
- if (!te) return { ...y, [G]: "Required" };
21837
+ const { key: W, validations: F = [] } = N, te = l[W];
21838
+ if (!te) return { ...y, [W]: "Required" };
21834
21839
  if ((F == null ? void 0 : F.length) > 0)
21835
21840
  for (const z of F)
21836
21841
  switch (z) {
21837
21842
  case "email": {
21838
21843
  if (!KT(te))
21839
- return { ...y, [G]: "Should be email" };
21844
+ return { ...y, [W]: "Should be email" };
21840
21845
  break;
21841
21846
  }
21842
21847
  }
@@ -21943,16 +21948,16 @@ function gd({
21943
21948
  }) {
21944
21949
  var b;
21945
21950
  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;
21946
- Pe(() => {
21951
+ ke(() => {
21947
21952
  var m;
21948
21953
  (m = window == null ? void 0 : window.OneTrust) == null || m.OnConsentChanged(() => {
21949
21954
  var _;
21950
21955
  !((_ = window == null ? void 0 : window.OnetrustActiveGroups) != null && _.includes("C0003")) && rt.get(t) !== void 0 && rt.remove(t);
21951
21956
  });
21952
- }, [t]), Pe(() => {
21957
+ }, [t]), ke(() => {
21953
21958
  var m;
21954
21959
  a || (!(window != null && window.OnetrustActiveGroups) || (m = window == null ? void 0 : window.OnetrustActiveGroups) != null && m.includes("C0003")) && f(t, 1, 1);
21955
- }, [t, a]), Pe(() => {
21960
+ }, [t, a]), ke(() => {
21956
21961
  if (u != null && u.enabled && (u == null ? void 0 : u.delayMs) > 0) {
21957
21962
  const m = setTimeout(() => {
21958
21963
  d(!0);
@@ -22029,9 +22034,9 @@ function e3(e, t, n) {
22029
22034
  },
22030
22035
  [n]
22031
22036
  );
22032
- Pe(() => (e && window.addEventListener("message", r), () => {
22037
+ ke(() => (e && window.addEventListener("message", r), () => {
22033
22038
  window.removeEventListener("message", r);
22034
- }), [e, r]), Pe(() => {
22039
+ }), [e, r]), ke(() => {
22035
22040
  let a;
22036
22041
  return e && (a = document.createElement("style"), document.head.appendChild(a), ((u) => {
22037
22042
  a.innerHTML = `
@@ -22053,7 +22058,7 @@ function e3(e, t, n) {
22053
22058
  }
22054
22059
  function t3(e) {
22055
22060
  const [t, n] = de(null);
22056
- return Pe(() => {
22061
+ return ke(() => {
22057
22062
  try {
22058
22063
  (() => {
22059
22064
  var a, i, u;
@@ -22078,7 +22083,7 @@ function t3(e) {
22078
22083
  }, [e]), t;
22079
22084
  }
22080
22085
  function n3(e) {
22081
- Pe(() => {
22086
+ ke(() => {
22082
22087
  const t = () => document.visibilityState === "visible" && e();
22083
22088
  return document.addEventListener("visibilitychange", t), () => {
22084
22089
  document.removeEventListener("visibilitychange", t);
@@ -22134,8 +22139,8 @@ function bd({ submitEventExternal: e = null }) {
22134
22139
  setIsNormalSize: D,
22135
22140
  setLoading: y,
22136
22141
  setStreaming: N
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(() => {
22142
+ } = se(Je), [, W] = de(!1), [, F] = de(!1), [te, z] = de(!1), [V, L] = de(!1), [I, R] = de(""), [U, G] = de(!1), j = te || !c, Y = Ze(null), T = Ze(null), ne = rt.get(`${a}-test`) === "1";
22143
+ ke(() => {
22139
22144
  g === It.XPERT && j && Y.current && Y.current.focus();
22140
22145
  }, [g, j]), e3(
22141
22146
  (st = r == null ? void 0 : r.liveChat) == null ? void 0 : st.enabled,
@@ -22167,10 +22172,10 @@ function bd({ submitEventExternal: e = null }) {
22167
22172
  y(!1);
22168
22173
  return;
22169
22174
  }
22170
- if (!await (async (Te, ke = 1e4, qe = 200) => {
22175
+ if (!await (async (Te, Le = 1e4, qe = 200) => {
22171
22176
  let Ee = 0;
22172
22177
  for (; !Te(); ) {
22173
- if (Ee >= ke)
22178
+ if (Ee >= Le)
22174
22179
  return !1;
22175
22180
  await new Promise((Me) => setTimeout(Me, qe)), Ee += qe;
22176
22181
  }
@@ -22183,8 +22188,8 @@ function bd({ submitEventExternal: e = null }) {
22183
22188
  }
22184
22189
  try {
22185
22190
  let Te = Cs(a);
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}`,
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}`,
22188
22193
  {
22189
22194
  method: "GET",
22190
22195
  headers: {
@@ -22211,12 +22216,12 @@ function bd({ submitEventExternal: e = null }) {
22211
22216
  }, le = ((Kt = r == null ? void 0 : r.conversationHistory) == null ? void 0 : Kt.enabled) && j && !V;
22212
22217
  n3(
22213
22218
  () => le && S()
22214
- ), Pe(() => {
22219
+ ), ke(() => {
22215
22220
  let B, re;
22216
22221
  if (n)
22217
22222
  return s != null && s.enabled && (B = setInterval(() => {
22218
22223
  var ae;
22219
- ((ae = window.analytics) != null && ae.track || e) && (T.current = window.analytics, clearInterval(B), clearTimeout(re), G(!0));
22224
+ ((ae = window.analytics) != null && ae.track || e) && (T.current = window.analytics, clearInterval(B), clearTimeout(re), W(!0));
22220
22225
  }, 1e3), re = setTimeout(() => {
22221
22226
  clearInterval(B);
22222
22227
  }, 6e4)), () => {
@@ -22227,7 +22232,7 @@ function bd({ submitEventExternal: e = null }) {
22227
22232
  e,
22228
22233
  s == null ? void 0 : s.enabled,
22229
22234
  s == null ? void 0 : s.prefix
22230
- ]), Pe(() => {
22235
+ ]), ke(() => {
22231
22236
  let B, re;
22232
22237
  const ie = () => {
22233
22238
  l != null && l.enabled && window.optimizely && window.experiments && (clearInterval(B), clearTimeout(re), F(!0));
@@ -22298,7 +22303,7 @@ function bd({ submitEventExternal: e = null }) {
22298
22303
  content: ge,
22299
22304
  live_agent: ve,
22300
22305
  role: Te,
22301
- tool_calls: ke,
22306
+ tool_calls: Le,
22302
22307
  tool_call_id: qe
22303
22308
  }) => {
22304
22309
  f({
@@ -22306,7 +22311,7 @@ function bd({ submitEventExternal: e = null }) {
22306
22311
  createdAt: /* @__PURE__ */ new Date(),
22307
22312
  liveAgent: ve,
22308
22313
  role: Te,
22309
- toolCalls: ke,
22314
+ toolCalls: Le,
22310
22315
  toolCallId: qe
22311
22316
  }), Ce(ge, re);
22312
22317
  }
@@ -22339,13 +22344,13 @@ function bd({ submitEventExternal: e = null }) {
22339
22344
  toolCallId: ae[0].tool_calls[0].id
22340
22345
  };
22341
22346
  f(Te);
22342
- const ke = {
22347
+ const Le = {
22343
22348
  content: "",
22344
22349
  createdAt: /* @__PURE__ */ new Date(),
22345
22350
  role: "tool",
22346
22351
  toolCallId: ae[0].tool_calls[0].id
22347
22352
  };
22348
- f(ke), Ce(ae[0].content, re);
22353
+ f(Le), Ce(ae[0].content, re);
22349
22354
  }
22350
22355
  return ae;
22351
22356
  }, Ke = async (B, re) => {
@@ -22353,8 +22358,8 @@ function bd({ submitEventExternal: e = null }) {
22353
22358
  const ie = new TextDecoder("utf-8");
22354
22359
  let ae = "", ge = [];
22355
22360
  for (; ; ) {
22356
- const { value: Te, done: ke } = await B.read();
22357
- if (ke) break;
22361
+ const { value: Te, done: Le } = await B.read();
22362
+ if (Le) break;
22358
22363
  const qe = ie.decode(Te, { stream: !0 });
22359
22364
  try {
22360
22365
  const Ee = qe.match(/\[.*?\](?=\[|$)/gs);
@@ -22439,15 +22444,15 @@ function bd({ submitEventExternal: e = null }) {
22439
22444
  if (!Te.ok)
22440
22445
  throw new Error(`HTTPError: ${Te.status} ${Te.statusText}`);
22441
22446
  y(!1);
22442
- let ke = (re = t.payloadParams) != null && re.stream ? await ot(Te, ge) : await Ue(Te, ge);
22447
+ let Le = (re = t.payloadParams) != null && re.stream ? await ot(Te, ge) : await Ue(Te, ge);
22443
22448
  const qe = /* @__PURE__ */ new Date(), Ee = i3(
22444
22449
  JSON.stringify(ve)
22445
22450
  );
22446
22451
  Oe({
22447
22452
  conversationByteSize: Ee,
22448
- conversationSize: m.length + ke.length + 1,
22453
+ conversationSize: m.length + Le.length + 1,
22449
22454
  userInputMessage: B,
22450
- apiResponseMessage: ke.map((Me) => Me.content ?? "").join(" "),
22455
+ apiResponseMessage: Le.map((Me) => Me.content ?? "").join(" "),
22451
22456
  elapsedSeconds: r3(ie, qe)
22452
22457
  }), w(!1), me(), K(!0);
22453
22458
  } catch (ie) {
@@ -22490,7 +22495,7 @@ function bd({ submitEventExternal: e = null }) {
22490
22495
  }
22491
22496
  });
22492
22497
  }, bn = () => {
22493
- z(!1), W(!1), oe({
22498
+ z(!1), G(!1), oe({
22494
22499
  name: `${s.prefix}.bi.xpert.chatbot.popup.chat.minimized`,
22495
22500
  payload: {
22496
22501
  category: "2u",
@@ -22583,7 +22588,7 @@ function bd({ submitEventExternal: e = null }) {
22583
22588
  onClose: bn,
22584
22589
  handleResizeButtonClick: Fn,
22585
22590
  isMounted: U,
22586
- setIsMounted: W
22591
+ setIsMounted: G
22587
22592
  }
22588
22593
  ),
22589
22594
  /* @__PURE__ */ v.jsx($T, {}),