@developer.notchatbot/webchat 1.4.4 → 1.4.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,8 +1,8 @@
1
- var Nh = Object.defineProperty, Mh = Object.defineProperties;
1
+ var Ph = Object.defineProperty, Mh = Object.defineProperties;
2
2
  var Ah = Object.getOwnPropertyDescriptors;
3
3
  var uo = Object.getOwnPropertySymbols;
4
4
  var Zl = Object.prototype.hasOwnProperty, Gl = Object.prototype.propertyIsEnumerable;
5
- var Jl = Math.pow, Ks = (e, t, n) => t in e ? Nh(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, P = (e, t) => {
5
+ var Jl = Math.pow, Ks = (e, t, n) => t in e ? Ph(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, N = (e, t) => {
6
6
  for (var n in t || (t = {}))
7
7
  Zl.call(t, n) && Ks(e, n, t[n]);
8
8
  if (uo)
@@ -58,9 +58,9 @@ var Ic = { isMounted: function() {
58
58
  }, enqueueForceUpdate: function() {
59
59
  }, enqueueReplaceState: function() {
60
60
  }, enqueueSetState: function() {
61
- } }, Pc = Object.assign, Nc = {};
61
+ } }, Nc = Object.assign, Pc = {};
62
62
  function tr(e, t, n) {
63
- this.props = e, this.context = t, this.refs = Nc, this.updater = n || Ic;
63
+ this.props = e, this.context = t, this.refs = Pc, this.updater = n || Ic;
64
64
  }
65
65
  tr.prototype.isReactComponent = {};
66
66
  tr.prototype.setState = function(e, t) {
@@ -74,11 +74,11 @@ function Mc() {
74
74
  }
75
75
  Mc.prototype = tr.prototype;
76
76
  function Aa(e, t, n) {
77
- this.props = e, this.context = t, this.refs = Nc, this.updater = n || Ic;
77
+ this.props = e, this.context = t, this.refs = Pc, this.updater = n || Ic;
78
78
  }
79
79
  var La = Aa.prototype = new Mc();
80
80
  La.constructor = Aa;
81
- Pc(La, tr.prototype);
81
+ Nc(La, tr.prototype);
82
82
  La.isPureReactComponent = !0;
83
83
  var tu = Array.isArray, Ac = Object.prototype.hasOwnProperty, $a = { current: null }, Lc = { key: !0, ref: !0, __self: !0, __source: !0 };
84
84
  function $c(e, t, n) {
@@ -188,7 +188,7 @@ O.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Kh;
188
188
  O.act = jc;
189
189
  O.cloneElement = function(e, t, n) {
190
190
  if (e == null) throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + e + ".");
191
- var r = Pc({}, e.props), o = e.key, s = e.ref, i = e._owner;
191
+ var r = Nc({}, e.props), o = e.key, s = e.ref, i = e._owner;
192
192
  if (t != null) {
193
193
  if (t.ref !== void 0 && (s = t.ref, i = $a.current), t.key !== void 0 && (o = "" + t.key), e.type && e.type.defaultProps) var a = e.type.defaultProps;
194
194
  for (l in t) Ac.call(t, l) && !Lc.hasOwnProperty(l) && (r[l] = t[l] === void 0 && a !== void 0 ? a[l] : t[l]);
@@ -511,9 +511,9 @@ function vn(e, t) {
511
511
  function Qn(e, t) {
512
512
  for (Lr[e] = t, e = 0; e < t.length; e++) Fc.add(t[e]);
513
513
  }
514
- var Pt = !(typeof window == "undefined" || typeof window.document == "undefined" || typeof window.document.createElement == "undefined"), Pi = Object.prototype.hasOwnProperty, Gh = /^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/, ru = {}, ou = {};
514
+ var Nt = !(typeof window == "undefined" || typeof window.document == "undefined" || typeof window.document.createElement == "undefined"), Ni = Object.prototype.hasOwnProperty, Gh = /^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/, ru = {}, ou = {};
515
515
  function Jh(e) {
516
- return Pi.call(ou, e) ? !0 : Pi.call(ru, e) ? !1 : Gh.test(e) ? ou[e] = !0 : (ru[e] = !0, !1);
516
+ return Ni.call(ou, e) ? !0 : Ni.call(ru, e) ? !1 : Gh.test(e) ? ou[e] = !0 : (ru[e] = !0, !1);
517
517
  }
518
518
  function ep(e, t, n, r) {
519
519
  if (n !== null && n.type === 0) return !1;
@@ -604,7 +604,7 @@ function Da(e, t, n, r) {
604
604
  var o = xe.hasOwnProperty(t) ? xe[t] : null;
605
605
  (o !== null ? o.type !== 0 : r || !(2 < t.length) || t[0] !== "o" && t[0] !== "O" || t[1] !== "n" && t[1] !== "N") && (tp(t, n, o, r) && (n = null), r || o === null ? Jh(t) && (n === null ? e.removeAttribute(t) : e.setAttribute(t, "" + n)) : o.mustUseProperty ? e[o.propertyName] = n === null ? o.type === 3 ? !1 : "" : n : (t = o.attributeName, r = o.attributeNamespace, n === null ? e.removeAttribute(t) : (o = o.type, n = o === 3 || o === 4 && n === !0 ? "" : "" + n, r ? e.setAttributeNS(r, t, n) : e.setAttribute(t, n))));
606
606
  }
607
- var Lt = Zh.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, fo = Symbol.for("react.element"), Tn = Symbol.for("react.portal"), Rn = Symbol.for("react.fragment"), Fa = Symbol.for("react.strict_mode"), Ni = Symbol.for("react.profiler"), Bc = Symbol.for("react.provider"), Uc = Symbol.for("react.context"), Ba = Symbol.for("react.forward_ref"), Mi = Symbol.for("react.suspense"), Ai = Symbol.for("react.suspense_list"), Ua = Symbol.for("react.memo"), Ot = Symbol.for("react.lazy"), qc = Symbol.for("react.offscreen"), su = Symbol.iterator;
607
+ var Lt = Zh.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, fo = Symbol.for("react.element"), Tn = Symbol.for("react.portal"), Rn = Symbol.for("react.fragment"), Fa = Symbol.for("react.strict_mode"), Pi = Symbol.for("react.profiler"), Bc = Symbol.for("react.provider"), Uc = Symbol.for("react.context"), Ba = Symbol.for("react.forward_ref"), Mi = Symbol.for("react.suspense"), Ai = Symbol.for("react.suspense_list"), Ua = Symbol.for("react.memo"), Ot = Symbol.for("react.lazy"), qc = Symbol.for("react.offscreen"), su = Symbol.iterator;
608
608
  function or(e) {
609
609
  return e === null || typeof e != "object" ? null : (e = su && e[su] || e["@@iterator"], typeof e == "function" ? e : null);
610
610
  }
@@ -706,7 +706,7 @@ function Li(e) {
706
706
  return "Fragment";
707
707
  case Tn:
708
708
  return "Portal";
709
- case Ni:
709
+ case Pi:
710
710
  return "Profiler";
711
711
  case Fa:
712
712
  return "StrictMode";
@@ -1099,7 +1099,7 @@ function jr(e, t) {
1099
1099
  return n;
1100
1100
  }
1101
1101
  var Vi = !1;
1102
- if (Pt) try {
1102
+ if (Nt) try {
1103
1103
  var sr = {};
1104
1104
  Object.defineProperty(sr, "passive", { get: function() {
1105
1105
  Vi = !0;
@@ -1221,10 +1221,10 @@ function sd(e) {
1221
1221
  }
1222
1222
  return null;
1223
1223
  }
1224
- var id = We.unstable_scheduleCallback, fu = We.unstable_cancelCallback, fp = We.unstable_shouldYield, hp = We.unstable_requestPaint, ae = We.unstable_now, pp = We.unstable_getCurrentPriorityLevel, Va = We.unstable_ImmediatePriority, ad = We.unstable_UserBlockingPriority, es = We.unstable_NormalPriority, gp = We.unstable_LowPriority, ld = We.unstable_IdlePriority, Ps = null, vt = null;
1224
+ var id = We.unstable_scheduleCallback, fu = We.unstable_cancelCallback, fp = We.unstable_shouldYield, hp = We.unstable_requestPaint, ae = We.unstable_now, pp = We.unstable_getCurrentPriorityLevel, Va = We.unstable_ImmediatePriority, ad = We.unstable_UserBlockingPriority, es = We.unstable_NormalPriority, gp = We.unstable_LowPriority, ld = We.unstable_IdlePriority, Ns = null, vt = null;
1225
1225
  function mp(e) {
1226
1226
  if (vt && typeof vt.onCommitFiberRoot == "function") try {
1227
- vt.onCommitFiberRoot(Ps, e, void 0, (e.current.flags & 128) === 128);
1227
+ vt.onCommitFiberRoot(Ns, e, void 0, (e.current.flags & 128) === 128);
1228
1228
  } catch (t) {
1229
1229
  }
1230
1230
  }
@@ -1650,13 +1650,13 @@ function He(e) {
1650
1650
  }
1651
1651
  var nr = { eventPhase: 0, bubbles: 0, cancelable: 0, timeStamp: function(e) {
1652
1652
  return e.timeStamp || Date.now();
1653
- }, defaultPrevented: 0, isTrusted: 0 }, Ka = He(nr), oo = oe({}, nr, { view: 0, detail: 0 }), _p = He(oo), ri, oi, lr, Ns = oe({}, oo, { screenX: 0, screenY: 0, clientX: 0, clientY: 0, pageX: 0, pageY: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, getModifierState: Xa, button: 0, buttons: 0, relatedTarget: function(e) {
1653
+ }, defaultPrevented: 0, isTrusted: 0 }, Ka = He(nr), oo = oe({}, nr, { view: 0, detail: 0 }), _p = He(oo), ri, oi, lr, Ps = oe({}, oo, { screenX: 0, screenY: 0, clientX: 0, clientY: 0, pageX: 0, pageY: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, getModifierState: Xa, button: 0, buttons: 0, relatedTarget: function(e) {
1654
1654
  return e.relatedTarget === void 0 ? e.fromElement === e.srcElement ? e.toElement : e.fromElement : e.relatedTarget;
1655
1655
  }, movementX: function(e) {
1656
1656
  return "movementX" in e ? e.movementX : (e !== lr && (lr && e.type === "mousemove" ? (ri = e.screenX - lr.screenX, oi = e.screenY - lr.screenY) : oi = ri = 0, lr = e), ri);
1657
1657
  }, movementY: function(e) {
1658
1658
  return "movementY" in e ? e.movementY : oi;
1659
- } }), mu = He(Ns), Ip = oe({}, Ns, { dataTransfer: 0 }), Pp = He(Ip), Np = oe({}, oo, { relatedTarget: 0 }), si = He(Np), Mp = oe({}, nr, { animationName: 0, elapsedTime: 0, pseudoElement: 0 }), Ap = He(Mp), Lp = oe({}, nr, { clipboardData: function(e) {
1659
+ } }), mu = He(Ps), Ip = oe({}, Ps, { dataTransfer: 0 }), Np = He(Ip), Pp = oe({}, oo, { relatedTarget: 0 }), si = He(Pp), Mp = oe({}, nr, { animationName: 0, elapsedTime: 0, pseudoElement: 0 }), Ap = He(Mp), Lp = oe({}, nr, { clipboardData: function(e) {
1660
1660
  return "clipboardData" in e ? e.clipboardData : window.clipboardData;
1661
1661
  } }), $p = He(Lp), jp = oe({}, nr, { data: 0 }), yu = He(jp), Op = {
1662
1662
  Esc: "Escape",
@@ -1728,7 +1728,7 @@ var Bp = oe({}, oo, { key: function(e) {
1728
1728
  return e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0;
1729
1729
  }, which: function(e) {
1730
1730
  return e.type === "keypress" ? jo(e) : e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0;
1731
- } }), Up = He(Bp), qp = oe({}, Ns, { pointerId: 0, width: 0, height: 0, pressure: 0, tangentialPressure: 0, tiltX: 0, tiltY: 0, twist: 0, pointerType: 0, isPrimary: 0 }), wu = He(qp), Vp = oe({}, oo, { touches: 0, targetTouches: 0, changedTouches: 0, altKey: 0, metaKey: 0, ctrlKey: 0, shiftKey: 0, getModifierState: Xa }), Wp = He(Vp), Qp = oe({}, nr, { propertyName: 0, elapsedTime: 0, pseudoElement: 0 }), Hp = He(Qp), Yp = oe({}, Ns, {
1731
+ } }), Up = He(Bp), qp = oe({}, Ps, { pointerId: 0, width: 0, height: 0, pressure: 0, tangentialPressure: 0, tiltX: 0, tiltY: 0, twist: 0, pointerType: 0, isPrimary: 0 }), wu = He(qp), Vp = oe({}, oo, { touches: 0, targetTouches: 0, changedTouches: 0, altKey: 0, metaKey: 0, ctrlKey: 0, shiftKey: 0, getModifierState: Xa }), Wp = He(Vp), Qp = oe({}, nr, { propertyName: 0, elapsedTime: 0, pseudoElement: 0 }), Hp = He(Qp), Yp = oe({}, Ps, {
1732
1732
  deltaX: function(e) {
1733
1733
  return "deltaX" in e ? e.deltaX : "wheelDeltaX" in e ? -e.wheelDeltaX : 0;
1734
1734
  },
@@ -1737,9 +1737,9 @@ var Bp = oe({}, oo, { key: function(e) {
1737
1737
  },
1738
1738
  deltaZ: 0,
1739
1739
  deltaMode: 0
1740
- }), Kp = He(Yp), Xp = [9, 13, 27, 32], Za = Pt && "CompositionEvent" in window, xr = null;
1741
- Pt && "documentMode" in document && (xr = document.documentMode);
1742
- var Zp = Pt && "TextEvent" in window && !xr, wd = Pt && (!Za || xr && 8 < xr && 11 >= xr), vu = " ", bu = !1;
1740
+ }), Kp = He(Yp), Xp = [9, 13, 27, 32], Za = Nt && "CompositionEvent" in window, xr = null;
1741
+ Nt && "documentMode" in document && (xr = document.documentMode);
1742
+ var Zp = Nt && "TextEvent" in window && !xr, wd = Nt && (!Za || xr && 8 < xr && 11 >= xr), vu = " ", bu = !1;
1743
1743
  function vd(e, t) {
1744
1744
  switch (e) {
1745
1745
  case "keyup":
@@ -1800,16 +1800,16 @@ function tg(e) {
1800
1800
  Md(e, 0);
1801
1801
  }
1802
1802
  function Ms(e) {
1803
- var t = Nn(e);
1803
+ var t = Pn(e);
1804
1804
  if (Wc(t)) return e;
1805
1805
  }
1806
1806
  function ng(e, t) {
1807
1807
  if (e === "change") return t;
1808
1808
  }
1809
1809
  var kd = !1;
1810
- if (Pt) {
1810
+ if (Nt) {
1811
1811
  var ii;
1812
- if (Pt) {
1812
+ if (Nt) {
1813
1813
  var ai = "oninput" in document;
1814
1814
  if (!ai) {
1815
1815
  var ku = document.createElement("div");
@@ -1851,7 +1851,7 @@ function Br(e, t) {
1851
1851
  if (n.length !== r.length) return !1;
1852
1852
  for (r = 0; r < n.length; r++) {
1853
1853
  var o = n[r];
1854
- if (!Pi.call(t, o) || !dt(e[o], t[o])) return !1;
1854
+ if (!Ni.call(t, o) || !dt(e[o], t[o])) return !1;
1855
1855
  }
1856
1856
  return !0;
1857
1857
  }
@@ -1920,7 +1920,7 @@ function lg(e) {
1920
1920
  for (typeof n.focus == "function" && n.focus(), n = 0; n < t.length; n++) e = t[n], e.element.scrollLeft = e.left, e.element.scrollTop = e.top;
1921
1921
  }
1922
1922
  }
1923
- var ug = Pt && "documentMode" in document && 11 >= document.documentMode, In = null, Ki = null, Sr = null, Xi = !1;
1923
+ var ug = Nt && "documentMode" in document && 11 >= document.documentMode, In = null, Ki = null, Sr = null, Xi = !1;
1924
1924
  function Tu(e, t, n) {
1925
1925
  var r = n.window === n ? n.document : n.nodeType === 9 ? n : n.ownerDocument;
1926
1926
  Xi || In == null || In !== Zo(r) || (r = In, "selectionStart" in r && Ga(r) ? r = { start: r.selectionStart, end: r.selectionEnd } : (r = (r.ownerDocument && r.ownerDocument.defaultView || window).getSelection(), r = { anchorNode: r.anchorNode, anchorOffset: r.anchorOffset, focusNode: r.focusNode, focusOffset: r.focusOffset }), Sr && Br(Sr, r) || (Sr = r, r = os(Ki, "onSelect"), 0 < r.length && (t = new Ka("onSelect", "select", null, t, n), e.push({ event: t, listeners: r }), t.target = In)));
@@ -1929,18 +1929,18 @@ function vo(e, t) {
1929
1929
  var n = {};
1930
1930
  return n[e.toLowerCase()] = t.toLowerCase(), n["Webkit" + e] = "webkit" + t, n["Moz" + e] = "moz" + t, n;
1931
1931
  }
1932
- var Pn = { animationend: vo("Animation", "AnimationEnd"), animationiteration: vo("Animation", "AnimationIteration"), animationstart: vo("Animation", "AnimationStart"), transitionend: vo("Transition", "TransitionEnd") }, li = {}, Td = {};
1933
- Pt && (Td = document.createElement("div").style, "AnimationEvent" in window || (delete Pn.animationend.animation, delete Pn.animationiteration.animation, delete Pn.animationstart.animation), "TransitionEvent" in window || delete Pn.transitionend.transition);
1932
+ var Nn = { animationend: vo("Animation", "AnimationEnd"), animationiteration: vo("Animation", "AnimationIteration"), animationstart: vo("Animation", "AnimationStart"), transitionend: vo("Transition", "TransitionEnd") }, li = {}, Td = {};
1933
+ Nt && (Td = document.createElement("div").style, "AnimationEvent" in window || (delete Nn.animationend.animation, delete Nn.animationiteration.animation, delete Nn.animationstart.animation), "TransitionEvent" in window || delete Nn.transitionend.transition);
1934
1934
  function As(e) {
1935
1935
  if (li[e]) return li[e];
1936
- if (!Pn[e]) return e;
1937
- var t = Pn[e], n;
1936
+ if (!Nn[e]) return e;
1937
+ var t = Nn[e], n;
1938
1938
  for (n in t) if (t.hasOwnProperty(n) && n in Td) return li[e] = t[n];
1939
1939
  return e;
1940
1940
  }
1941
- var Rd = As("animationend"), _d = As("animationiteration"), Id = As("animationstart"), Pd = As("transitionend"), Nd = /* @__PURE__ */ new Map(), Ru = "abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");
1941
+ var Rd = As("animationend"), _d = As("animationiteration"), Id = As("animationstart"), Nd = As("transitionend"), Pd = /* @__PURE__ */ new Map(), Ru = "abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");
1942
1942
  function en(e, t) {
1943
- Nd.set(e, t), vn(t, [e]);
1943
+ Pd.set(e, t), vn(t, [e]);
1944
1944
  }
1945
1945
  for (var ui = 0; ui < Ru.length; ui++) {
1946
1946
  var ci = Ru[ui], cg = ci.toLowerCase(), dg = ci[0].toUpperCase() + ci.slice(1);
@@ -1952,7 +1952,7 @@ en(Id, "onAnimationStart");
1952
1952
  en("dblclick", "onDoubleClick");
1953
1953
  en("focusin", "onFocus");
1954
1954
  en("focusout", "onBlur");
1955
- en(Pd, "onTransitionEnd");
1955
+ en(Nd, "onTransitionEnd");
1956
1956
  Qn("onMouseEnter", ["mouseout", "mouseover"]);
1957
1957
  Qn("onMouseLeave", ["mouseout", "mouseover"]);
1958
1958
  Qn("onPointerEnter", ["pointerout", "pointerover"]);
@@ -2048,7 +2048,7 @@ function fi(e, t, n, r, o) {
2048
2048
  nd(function() {
2049
2049
  var u = s, c = qa(n), m = [];
2050
2050
  e: {
2051
- var h = Nd.get(e);
2051
+ var h = Pd.get(e);
2052
2052
  if (h !== void 0) {
2053
2053
  var b = Ka, y = e;
2054
2054
  switch (e) {
@@ -2088,7 +2088,7 @@ function fi(e, t, n, r, o) {
2088
2088
  case "dragover":
2089
2089
  case "dragstart":
2090
2090
  case "drop":
2091
- b = Pp;
2091
+ b = Np;
2092
2092
  break;
2093
2093
  case "touchcancel":
2094
2094
  case "touchend":
@@ -2101,7 +2101,7 @@ function fi(e, t, n, r, o) {
2101
2101
  case Id:
2102
2102
  b = Ap;
2103
2103
  break;
2104
- case Pd:
2104
+ case Nd:
2105
2105
  b = Hp;
2106
2106
  break;
2107
2107
  case "scroll":
@@ -2138,9 +2138,9 @@ function fi(e, t, n, r, o) {
2138
2138
  }
2139
2139
  if (!(t & 7)) {
2140
2140
  e: {
2141
- if (h = e === "mouseover" || e === "pointerover", b = e === "mouseout" || e === "pointerout", h && n !== Ui && (y = n.relatedTarget || n.fromElement) && (an(y) || y[Nt])) break e;
2141
+ if (h = e === "mouseover" || e === "pointerover", b = e === "mouseout" || e === "pointerout", h && n !== Ui && (y = n.relatedTarget || n.fromElement) && (an(y) || y[Pt])) break e;
2142
2142
  if ((b || h) && (h = c.window === c ? c : (h = c.ownerDocument) ? h.defaultView || h.parentWindow : window, b ? (y = n.relatedTarget || n.toElement, b = u, y = y ? an(y) : null, y !== null && (T = bn(y), y !== T || y.tag !== 5 && y.tag !== 6) && (y = null)) : (b = null, y = u), b !== y)) {
2143
- if (w = mu, v = "onMouseLeave", f = "onMouseEnter", d = "mouse", (e === "pointerout" || e === "pointerover") && (w = wu, v = "onPointerLeave", f = "onPointerEnter", d = "pointer"), T = b == null ? h : Nn(b), p = y == null ? h : Nn(y), h = new w(v, d + "leave", b, n, c), h.target = T, h.relatedTarget = p, v = null, an(c) === u && (w = new w(f, d + "enter", y, n, c), w.target = p, w.relatedTarget = T, v = w), T = v, b && y) t: {
2143
+ if (w = mu, v = "onMouseLeave", f = "onMouseEnter", d = "mouse", (e === "pointerout" || e === "pointerover") && (w = wu, v = "onPointerLeave", f = "onPointerEnter", d = "pointer"), T = b == null ? h : Pn(b), p = y == null ? h : Pn(y), h = new w(v, d + "leave", b, n, c), h.target = T, h.relatedTarget = p, v = null, an(c) === u && (w = new w(f, d + "enter", y, n, c), w.target = p, w.relatedTarget = T, v = w), T = v, b && y) t: {
2144
2144
  for (w = b, f = y, d = 0, p = w; p; p = Sn(p)) d++;
2145
2145
  for (p = 0, v = f; v; v = Sn(v)) p++;
2146
2146
  for (; 0 < d - p; ) w = Sn(w), d--;
@@ -2156,7 +2156,7 @@ function fi(e, t, n, r, o) {
2156
2156
  }
2157
2157
  }
2158
2158
  e: {
2159
- if (h = u ? Nn(u) : window, b = h.nodeName && h.nodeName.toLowerCase(), b === "select" || b === "input" && h.type === "file") var k = ng;
2159
+ if (h = u ? Pn(u) : window, b = h.nodeName && h.nodeName.toLowerCase(), b === "select" || b === "input" && h.type === "file") var k = ng;
2160
2160
  else if (xu(h)) if (kd) k = ig;
2161
2161
  else {
2162
2162
  k = og;
@@ -2169,7 +2169,7 @@ function fi(e, t, n, r, o) {
2169
2169
  }
2170
2170
  R && R(e, h, u), e === "focusout" && (R = h._wrapperState) && R.controlled && h.type === "number" && Oi(h, "number", h.value);
2171
2171
  }
2172
- switch (R = u ? Nn(u) : window, e) {
2172
+ switch (R = u ? Pn(u) : window, e) {
2173
2173
  case "focusin":
2174
2174
  (xu(R) || R.contentEditable === "true") && (In = R, Ki = u, Sr = null);
2175
2175
  break;
@@ -2237,12 +2237,12 @@ function Iu(e, t, n, r, o) {
2237
2237
  i.length !== 0 && e.push({ event: t, listeners: i });
2238
2238
  }
2239
2239
  var hg = /\r\n?/g, pg = /\u0000|\uFFFD/g;
2240
- function Pu(e) {
2240
+ function Nu(e) {
2241
2241
  return (typeof e == "string" ? e : "" + e).replace(hg, `
2242
2242
  `).replace(pg, "");
2243
2243
  }
2244
2244
  function xo(e, t, n) {
2245
- if (t = Pu(t), Pu(e) !== t && n) throw Error(x(425));
2245
+ if (t = Nu(t), Nu(e) !== t && n) throw Error(x(425));
2246
2246
  }
2247
2247
  function ss() {
2248
2248
  }
@@ -2250,8 +2250,8 @@ var Zi = null, Gi = null;
2250
2250
  function Ji(e, t) {
2251
2251
  return e === "textarea" || e === "noscript" || typeof t.children == "string" || typeof t.children == "number" || typeof t.dangerouslySetInnerHTML == "object" && t.dangerouslySetInnerHTML !== null && t.dangerouslySetInnerHTML.__html != null;
2252
2252
  }
2253
- var ea = typeof setTimeout == "function" ? setTimeout : void 0, gg = typeof clearTimeout == "function" ? clearTimeout : void 0, Nu = typeof Promise == "function" ? Promise : void 0, mg = typeof queueMicrotask == "function" ? queueMicrotask : typeof Nu != "undefined" ? function(e) {
2254
- return Nu.resolve(null).then(e).catch(yg);
2253
+ var ea = typeof setTimeout == "function" ? setTimeout : void 0, gg = typeof clearTimeout == "function" ? clearTimeout : void 0, Pu = typeof Promise == "function" ? Promise : void 0, mg = typeof queueMicrotask == "function" ? queueMicrotask : typeof Pu != "undefined" ? function(e) {
2254
+ return Pu.resolve(null).then(e).catch(yg);
2255
2255
  } : ea;
2256
2256
  function yg(e) {
2257
2257
  setTimeout(function() {
@@ -2298,12 +2298,12 @@ function Mu(e) {
2298
2298
  }
2299
2299
  return null;
2300
2300
  }
2301
- var rr = Math.random().toString(36).slice(2), yt = "__reactFiber$" + rr, Vr = "__reactProps$" + rr, Nt = "__reactContainer$" + rr, ta = "__reactEvents$" + rr, wg = "__reactListeners$" + rr, vg = "__reactHandles$" + rr;
2301
+ var rr = Math.random().toString(36).slice(2), yt = "__reactFiber$" + rr, Vr = "__reactProps$" + rr, Pt = "__reactContainer$" + rr, ta = "__reactEvents$" + rr, wg = "__reactListeners$" + rr, vg = "__reactHandles$" + rr;
2302
2302
  function an(e) {
2303
2303
  var t = e[yt];
2304
2304
  if (t) return t;
2305
2305
  for (var n = e.parentNode; n; ) {
2306
- if (t = n[Nt] || n[yt]) {
2306
+ if (t = n[Pt] || n[yt]) {
2307
2307
  if (n = t.alternate, t.child !== null || n !== null && n.child !== null) for (e = Mu(e); e !== null; ) {
2308
2308
  if (n = e[yt]) return n;
2309
2309
  e = Mu(e);
@@ -2315,9 +2315,9 @@ function an(e) {
2315
2315
  return null;
2316
2316
  }
2317
2317
  function so(e) {
2318
- return e = e[yt] || e[Nt], !e || e.tag !== 5 && e.tag !== 6 && e.tag !== 13 && e.tag !== 3 ? null : e;
2318
+ return e = e[yt] || e[Pt], !e || e.tag !== 5 && e.tag !== 6 && e.tag !== 13 && e.tag !== 3 ? null : e;
2319
2319
  }
2320
- function Nn(e) {
2320
+ function Pn(e) {
2321
2321
  if (e.tag === 5 || e.tag === 6) return e.stateNode;
2322
2322
  throw Error(x(33));
2323
2323
  }
@@ -3141,7 +3141,7 @@ function Cg(e, t, n) {
3141
3141
  var r = Xt(e);
3142
3142
  if (n = { lane: r, action: n, hasEagerState: !1, eagerState: null, next: null }, af(e)) lf(t, n);
3143
3143
  else if (n = Bd(e, t, n, r), n !== null) {
3144
- var o = Ne();
3144
+ var o = Pe();
3145
3145
  ct(n, e, r, o), uf(n, t, r);
3146
3146
  }
3147
3147
  }
@@ -3160,7 +3160,7 @@ function Eg(e, t, n) {
3160
3160
  } catch (u) {
3161
3161
  } finally {
3162
3162
  }
3163
- n = Bd(e, t, o, r), n !== null && (o = Ne(), ct(n, e, r, o), uf(n, t, r));
3163
+ n = Bd(e, t, o, r), n !== null && (o = Pe(), ct(n, e, r, o), uf(n, t, r));
3164
3164
  }
3165
3165
  }
3166
3166
  function af(e) {
@@ -3281,15 +3281,15 @@ var Os = { isMounted: function(e) {
3281
3281
  return (e = e._reactInternals) ? bn(e) === e : !1;
3282
3282
  }, enqueueSetState: function(e, t, n) {
3283
3283
  e = e._reactInternals;
3284
- var r = Ne(), o = Xt(e), s = It(r, o);
3284
+ var r = Pe(), o = Xt(e), s = It(r, o);
3285
3285
  s.payload = t, n != null && (s.callback = n), t = Yt(e, s, o), t !== null && (ct(t, e, o, r), Oo(t, e, o));
3286
3286
  }, enqueueReplaceState: function(e, t, n) {
3287
3287
  e = e._reactInternals;
3288
- var r = Ne(), o = Xt(e), s = It(r, o);
3288
+ var r = Pe(), o = Xt(e), s = It(r, o);
3289
3289
  s.tag = 1, s.payload = t, n != null && (s.callback = n), t = Yt(e, s, o), t !== null && (ct(t, e, o, r), Oo(t, e, o));
3290
3290
  }, enqueueForceUpdate: function(e, t) {
3291
3291
  e = e._reactInternals;
3292
- var n = Ne(), r = Xt(e), o = It(n, r);
3292
+ var n = Pe(), r = Xt(e), o = It(n, r);
3293
3293
  o.tag = 2, t != null && (o.callback = t), t = Yt(e, o, r), t !== null && (ct(t, e, r, n), Oo(t, e, r));
3294
3294
  } };
3295
3295
  function Uu(e, t, n, r, o, s, i) {
@@ -3380,7 +3380,7 @@ function Wu(e) {
3380
3380
  function Qu(e, t, n, r, o) {
3381
3381
  return e.mode & 1 ? (e.flags |= 65536, e.lanes = o, e) : (e === t ? e.flags |= 65536 : (e.flags |= 128, n.flags |= 131072, n.flags &= -52805, n.tag === 1 && (n.alternate === null ? n.tag = 17 : (t = It(-1, 1), t.tag = 2, Yt(n, t, 1))), n.lanes |= 1), e);
3382
3382
  }
3383
- var Pg = Lt.ReactCurrentOwner, je = !1;
3383
+ var Ng = Lt.ReactCurrentOwner, je = !1;
3384
3384
  function Ie(e, t, n, r) {
3385
3385
  t.child = e === null ? Fd(t, null, n, r) : Kn(t, e.child, n, r);
3386
3386
  }
@@ -3454,7 +3454,7 @@ function ca(e, t, n, r, o, s) {
3454
3454
  gf(e, t);
3455
3455
  var i = (t.flags & 128) !== 0;
3456
3456
  if (!r && !i) return o && Lu(t, n, !1), At(e, t, s);
3457
- r = t.stateNode, Pg.current = t;
3457
+ r = t.stateNode, Ng.current = t;
3458
3458
  var a = i && typeof n.getDerivedStateFromError != "function" ? null : r.render();
3459
3459
  return t.flags |= 1, e !== null && i ? (t.child = Kn(t, e.child, null, s), t.child = Kn(t, null, a, s)) : Ie(e, t, a, s), t.memoizedState = r.state, o && Lu(t, n, !0), t.child;
3460
3460
  }
@@ -3473,7 +3473,7 @@ function yf(e, t, n) {
3473
3473
  var r = t.pendingProps, o = ne.current, s = !1, i = (t.flags & 128) !== 0, a;
3474
3474
  if ((a = i) || (a = e !== null && e.memoizedState === null ? !1 : (o & 2) !== 0), a ? (s = !0, t.flags &= -129) : (e === null || e.memoizedState !== null) && (o |= 1), X(ne, o & 1), e === null)
3475
3475
  return oa(t), e = t.memoizedState, e !== null && (e = e.dehydrated, e !== null) ? (t.mode & 1 ? e.data === "$!" ? t.lanes = 8 : t.lanes = 1073741824 : t.lanes = 1, null) : (i = r.children, e = r.fallback, s ? (r = t.mode, s = t.child, i = { mode: "hidden", children: i }, !(r & 1) && s !== null ? (s.childLanes = 0, s.pendingProps = i) : s = Fs(i, r, 0, null), e = dn(e, r, n, null), s.return = t, e.return = t, s.sibling = e, t.child = s, t.child.memoizedState = fa(n), t.memoizedState = da, e) : gl(t, i));
3476
- if (o = e.memoizedState, o !== null && (a = o.dehydrated, a !== null)) return Ng(e, t, i, r, a, o, n);
3476
+ if (o = e.memoizedState, o !== null && (a = o.dehydrated, a !== null)) return Pg(e, t, i, r, a, o, n);
3477
3477
  if (s) {
3478
3478
  s = r.fallback, i = t.mode, o = e.child, a = o.sibling;
3479
3479
  var l = { mode: "hidden", children: r.children };
@@ -3487,7 +3487,7 @@ function gl(e, t) {
3487
3487
  function Co(e, t, n, r) {
3488
3488
  return r !== null && tl(r), Kn(t, e.child, null, n), e = gl(t, t.pendingProps.children), e.flags |= 2, t.memoizedState = null, e;
3489
3489
  }
3490
- function Ng(e, t, n, r, o, s, i) {
3490
+ function Pg(e, t, n, r, o, s, i) {
3491
3491
  if (n)
3492
3492
  return t.flags & 256 ? (t.flags &= -257, r = vi(Error(x(422))), Co(e, t, i, r)) : t.memoizedState !== null ? (t.child = e.child, t.flags |= 128, null) : (s = r.fallback, o = t.mode, r = Fs({ mode: "visible", children: r.children }, o, 0, null), s = dn(s, o, i, null), s.flags |= 2, r.return = t, s.return = t, r.sibling = s, t.child = r, t.mode & 1 && Kn(t, e.child, null, i), t.child.memoizedState = fa(i), t.memoizedState = da, s);
3493
3493
  if (!(t.mode & 1)) return Co(e, t, i, null);
@@ -3996,7 +3996,7 @@ function Lg(e, t) {
3996
3996
  return null;
3997
3997
  }
3998
3998
  }
3999
- var Eo = !1, Ee = !1, $g = typeof WeakSet == "function" ? WeakSet : Set, N = null;
3999
+ var Eo = !1, Ee = !1, $g = typeof WeakSet == "function" ? WeakSet : Set, P = null;
4000
4000
  function jn(e, t) {
4001
4001
  var n = e.ref;
4002
4002
  if (n !== null) if (typeof n == "function") try {
@@ -4046,9 +4046,9 @@ function jg(e, t) {
4046
4046
  }
4047
4047
  n = n || { start: 0, end: 0 };
4048
4048
  } else n = null;
4049
- for (Gi = { focusedElem: e, selectionRange: n }, ns = !1, N = t; N !== null; ) if (t = N, e = t.child, (t.subtreeFlags & 1028) !== 0 && e !== null) e.return = t, N = e;
4050
- else for (; N !== null; ) {
4051
- t = N;
4049
+ for (Gi = { focusedElem: e, selectionRange: n }, ns = !1, P = t; P !== null; ) if (t = P, e = t.child, (t.subtreeFlags & 1028) !== 0 && e !== null) e.return = t, P = e;
4050
+ else for (; P !== null; ) {
4051
+ t = P;
4052
4052
  try {
4053
4053
  var y = t.alternate;
4054
4054
  if (t.flags & 1024) switch (t.tag) {
@@ -4078,10 +4078,10 @@ function jg(e, t) {
4078
4078
  se(t, t.return, v);
4079
4079
  }
4080
4080
  if (e = t.sibling, e !== null) {
4081
- e.return = t.return, N = e;
4081
+ e.return = t.return, P = e;
4082
4082
  break;
4083
4083
  }
4084
- N = t.return;
4084
+ P = t.return;
4085
4085
  }
4086
4086
  return y = Gu, Gu = !1, y;
4087
4087
  }
@@ -4160,7 +4160,7 @@ function $t(e, t, n) {
4160
4160
  }
4161
4161
  function Cf(e, t, n) {
4162
4162
  if (vt && typeof vt.onCommitFiberUnmount == "function") try {
4163
- vt.onCommitFiberUnmount(Ps, n);
4163
+ vt.onCommitFiberUnmount(Ns, n);
4164
4164
  } catch (a) {
4165
4165
  }
4166
4166
  switch (n.tag) {
@@ -4339,9 +4339,9 @@ function Ef(e, t) {
4339
4339
  break;
4340
4340
  case 22:
4341
4341
  if (c = n !== null && n.memoizedState !== null, e.mode & 1 ? (Ee = (u = Ee) || c, st(t, e), Ee = u) : st(t, e), ht(e), r & 8192) {
4342
- if (u = e.memoizedState !== null, (e.stateNode.isHidden = u) && !c && e.mode & 1) for (N = e, c = e.child; c !== null; ) {
4343
- for (m = N = c; N !== null; ) {
4344
- switch (h = N, b = h.child, h.tag) {
4342
+ if (u = e.memoizedState !== null, (e.stateNode.isHidden = u) && !c && e.mode & 1) for (P = e, c = e.child; c !== null; ) {
4343
+ for (m = P = c; P !== null; ) {
4344
+ switch (h = P, b = h.child, h.tag) {
4345
4345
  case 0:
4346
4346
  case 11:
4347
4347
  case 14:
@@ -4369,7 +4369,7 @@ function Ef(e, t) {
4369
4369
  continue;
4370
4370
  }
4371
4371
  }
4372
- b !== null ? (b.return = h, N = b) : nc(m);
4372
+ b !== null ? (b.return = h, P = b) : nc(m);
4373
4373
  }
4374
4374
  c = c.sibling;
4375
4375
  }
@@ -4451,28 +4451,28 @@ function ht(e) {
4451
4451
  t & 4096 && (e.flags &= -4097);
4452
4452
  }
4453
4453
  function Og(e, t, n) {
4454
- N = e, Tf(e);
4454
+ P = e, Tf(e);
4455
4455
  }
4456
4456
  function Tf(e, t, n) {
4457
- for (var r = (e.mode & 1) !== 0; N !== null; ) {
4458
- var o = N, s = o.child;
4457
+ for (var r = (e.mode & 1) !== 0; P !== null; ) {
4458
+ var o = P, s = o.child;
4459
4459
  if (o.tag === 22 && r) {
4460
4460
  var i = o.memoizedState !== null || Eo;
4461
4461
  if (!i) {
4462
4462
  var a = o.alternate, l = a !== null && a.memoizedState !== null || Ee;
4463
4463
  a = Eo;
4464
4464
  var u = Ee;
4465
- if (Eo = i, (Ee = l) && !u) for (N = o; N !== null; ) i = N, l = i.child, i.tag === 22 && i.memoizedState !== null ? rc(o) : l !== null ? (l.return = i, N = l) : rc(o);
4466
- for (; s !== null; ) N = s, Tf(s), s = s.sibling;
4467
- N = o, Eo = a, Ee = u;
4465
+ if (Eo = i, (Ee = l) && !u) for (P = o; P !== null; ) i = P, l = i.child, i.tag === 22 && i.memoizedState !== null ? rc(o) : l !== null ? (l.return = i, P = l) : rc(o);
4466
+ for (; s !== null; ) P = s, Tf(s), s = s.sibling;
4467
+ P = o, Eo = a, Ee = u;
4468
4468
  }
4469
4469
  tc(e);
4470
- } else o.subtreeFlags & 8772 && s !== null ? (s.return = o, N = s) : tc(e);
4470
+ } else o.subtreeFlags & 8772 && s !== null ? (s.return = o, P = s) : tc(e);
4471
4471
  }
4472
4472
  }
4473
4473
  function tc(e) {
4474
- for (; N !== null; ) {
4475
- var t = N;
4474
+ for (; P !== null; ) {
4475
+ var t = P;
4476
4476
  if (t.flags & 8772) {
4477
4477
  var n = t.alternate;
4478
4478
  try {
@@ -4556,34 +4556,34 @@ function tc(e) {
4556
4556
  }
4557
4557
  }
4558
4558
  if (t === e) {
4559
- N = null;
4559
+ P = null;
4560
4560
  break;
4561
4561
  }
4562
4562
  if (n = t.sibling, n !== null) {
4563
- n.return = t.return, N = n;
4563
+ n.return = t.return, P = n;
4564
4564
  break;
4565
4565
  }
4566
- N = t.return;
4566
+ P = t.return;
4567
4567
  }
4568
4568
  }
4569
4569
  function nc(e) {
4570
- for (; N !== null; ) {
4571
- var t = N;
4570
+ for (; P !== null; ) {
4571
+ var t = P;
4572
4572
  if (t === e) {
4573
- N = null;
4573
+ P = null;
4574
4574
  break;
4575
4575
  }
4576
4576
  var n = t.sibling;
4577
4577
  if (n !== null) {
4578
- n.return = t.return, N = n;
4578
+ n.return = t.return, P = n;
4579
4579
  break;
4580
4580
  }
4581
- N = t.return;
4581
+ P = t.return;
4582
4582
  }
4583
4583
  }
4584
4584
  function rc(e) {
4585
- for (; N !== null; ) {
4586
- var t = N;
4585
+ for (; P !== null; ) {
4586
+ var t = P;
4587
4587
  try {
4588
4588
  switch (t.tag) {
4589
4589
  case 0:
@@ -4625,19 +4625,19 @@ function rc(e) {
4625
4625
  se(t, t.return, l);
4626
4626
  }
4627
4627
  if (t === e) {
4628
- N = null;
4628
+ P = null;
4629
4629
  break;
4630
4630
  }
4631
4631
  var a = t.sibling;
4632
4632
  if (a !== null) {
4633
- a.return = t.return, N = a;
4633
+ a.return = t.return, P = a;
4634
4634
  break;
4635
4635
  }
4636
- N = t.return;
4636
+ P = t.return;
4637
4637
  }
4638
4638
  }
4639
4639
  var zg = Math.ceil, ms = Lt.ReactCurrentDispatcher, ml = Lt.ReactCurrentOwner, nt = Lt.ReactCurrentBatchConfig, B = 0, me = null, ue = null, be = 0, Fe = 0, On = tn(0), pe = 0, Xr = null, mn = 0, Ds = 0, yl = 0, Tr = null, $e = null, wl = 0, Gn = 1 / 0, St = null, ys = !1, wa = null, Kt = null, To = !1, qt = null, ws = 0, Rr = 0, va = null, Bo = -1, Uo = 0;
4640
- function Ne() {
4640
+ function Pe() {
4641
4641
  return B & 6 ? ae() : Bo !== -1 ? Bo : Bo = ae();
4642
4642
  }
4643
4643
  function Xt(e) {
@@ -4717,7 +4717,7 @@ function Rf(e, t) {
4717
4717
  if (Bt(e, r), (r & 130023424) === r && (t = wl + 500 - ae(), 10 < t)) {
4718
4718
  if (ts(e, 0) !== 0) break;
4719
4719
  if (o = e.suspendedLanes, (o & r) !== r) {
4720
- Ne(), e.pingedLanes |= e.suspendedLanes & o;
4720
+ Pe(), e.pingedLanes |= e.suspendedLanes & o;
4721
4721
  break;
4722
4722
  }
4723
4723
  e.timeoutHandle = ea(sn.bind(null, e, $e, St), t);
@@ -4937,7 +4937,7 @@ function _f(e, t) {
4937
4937
  s = s.return;
4938
4938
  } while (s !== null);
4939
4939
  }
4940
- Nf(n);
4940
+ Pf(n);
4941
4941
  } catch (k) {
4942
4942
  t = k, ue === n && n !== null && (ue = n = n.return);
4943
4943
  continue;
@@ -4969,16 +4969,16 @@ function vs(e, t) {
4969
4969
  return me = null, be = 0, pe;
4970
4970
  }
4971
4971
  function Fg() {
4972
- for (; ue !== null; ) Pf(ue);
4972
+ for (; ue !== null; ) Nf(ue);
4973
4973
  }
4974
4974
  function Bg() {
4975
- for (; ue !== null && !fp(); ) Pf(ue);
4975
+ for (; ue !== null && !fp(); ) Nf(ue);
4976
4976
  }
4977
- function Pf(e) {
4977
+ function Nf(e) {
4978
4978
  var t = Af(e.alternate, e, Fe);
4979
- e.memoizedProps = e.pendingProps, t === null ? Nf(e) : ue = t, ml.current = null;
4979
+ e.memoizedProps = e.pendingProps, t === null ? Pf(e) : ue = t, ml.current = null;
4980
4980
  }
4981
- function Nf(e) {
4981
+ function Pf(e) {
4982
4982
  var t = e;
4983
4983
  do {
4984
4984
  var n = t.alternate;
@@ -5045,15 +5045,15 @@ function Vn() {
5045
5045
  else {
5046
5046
  if (e = qt, qt = null, ws = 0, B & 6) throw Error(x(331));
5047
5047
  var o = B;
5048
- for (B |= 4, N = e.current; N !== null; ) {
5049
- var s = N, i = s.child;
5050
- if (N.flags & 16) {
5048
+ for (B |= 4, P = e.current; P !== null; ) {
5049
+ var s = P, i = s.child;
5050
+ if (P.flags & 16) {
5051
5051
  var a = s.deletions;
5052
5052
  if (a !== null) {
5053
5053
  for (var l = 0; l < a.length; l++) {
5054
5054
  var u = a[l];
5055
- for (N = u; N !== null; ) {
5056
- var c = N;
5055
+ for (P = u; P !== null; ) {
5056
+ var c = P;
5057
5057
  switch (c.tag) {
5058
5058
  case 0:
5059
5059
  case 11:
@@ -5061,19 +5061,19 @@ function Vn() {
5061
5061
  Er(8, c, s);
5062
5062
  }
5063
5063
  var m = c.child;
5064
- if (m !== null) m.return = c, N = m;
5065
- else for (; N !== null; ) {
5066
- c = N;
5064
+ if (m !== null) m.return = c, P = m;
5065
+ else for (; P !== null; ) {
5066
+ c = P;
5067
5067
  var h = c.sibling, b = c.return;
5068
5068
  if (kf(c), c === u) {
5069
- N = null;
5069
+ P = null;
5070
5070
  break;
5071
5071
  }
5072
5072
  if (h !== null) {
5073
- h.return = b, N = h;
5073
+ h.return = b, P = h;
5074
5074
  break;
5075
5075
  }
5076
- N = b;
5076
+ P = b;
5077
5077
  }
5078
5078
  }
5079
5079
  }
@@ -5088,12 +5088,12 @@ function Vn() {
5088
5088
  } while (w !== null);
5089
5089
  }
5090
5090
  }
5091
- N = s;
5091
+ P = s;
5092
5092
  }
5093
5093
  }
5094
- if (s.subtreeFlags & 2064 && i !== null) i.return = s, N = i;
5095
- else e: for (; N !== null; ) {
5096
- if (s = N, s.flags & 2048) switch (s.tag) {
5094
+ if (s.subtreeFlags & 2064 && i !== null) i.return = s, P = i;
5095
+ else e: for (; P !== null; ) {
5096
+ if (s = P, s.flags & 2048) switch (s.tag) {
5097
5097
  case 0:
5098
5098
  case 11:
5099
5099
  case 15:
@@ -5101,19 +5101,19 @@ function Vn() {
5101
5101
  }
5102
5102
  var f = s.sibling;
5103
5103
  if (f !== null) {
5104
- f.return = s.return, N = f;
5104
+ f.return = s.return, P = f;
5105
5105
  break e;
5106
5106
  }
5107
- N = s.return;
5107
+ P = s.return;
5108
5108
  }
5109
5109
  }
5110
5110
  var d = e.current;
5111
- for (N = d; N !== null; ) {
5112
- i = N;
5111
+ for (P = d; P !== null; ) {
5112
+ i = P;
5113
5113
  var p = i.child;
5114
- if (i.subtreeFlags & 2064 && p !== null) p.return = i, N = p;
5115
- else e: for (i = d; N !== null; ) {
5116
- if (a = N, a.flags & 2048) try {
5114
+ if (i.subtreeFlags & 2064 && p !== null) p.return = i, P = p;
5115
+ else e: for (i = d; P !== null; ) {
5116
+ if (a = P, a.flags & 2048) try {
5117
5117
  switch (a.tag) {
5118
5118
  case 0:
5119
5119
  case 11:
@@ -5124,19 +5124,19 @@ function Vn() {
5124
5124
  se(a, a.return, k);
5125
5125
  }
5126
5126
  if (a === i) {
5127
- N = null;
5127
+ P = null;
5128
5128
  break e;
5129
5129
  }
5130
5130
  var v = a.sibling;
5131
5131
  if (v !== null) {
5132
- v.return = a.return, N = v;
5132
+ v.return = a.return, P = v;
5133
5133
  break e;
5134
5134
  }
5135
- N = a.return;
5135
+ P = a.return;
5136
5136
  }
5137
5137
  }
5138
5138
  if (B = o, nn(), vt && typeof vt.onPostCommitFiberRoot == "function") try {
5139
- vt.onPostCommitFiberRoot(Ps, e);
5139
+ vt.onPostCommitFiberRoot(Ns, e);
5140
5140
  } catch (k) {
5141
5141
  }
5142
5142
  r = !0;
@@ -5149,7 +5149,7 @@ function Vn() {
5149
5149
  return !1;
5150
5150
  }
5151
5151
  function sc(e, t, n) {
5152
- t = Zn(n, t), t = df(e, t, 1), e = Yt(e, t, 1), t = Ne(), e !== null && (ro(e, 1, t), De(e, t));
5152
+ t = Zn(n, t), t = df(e, t, 1), e = Yt(e, t, 1), t = Pe(), e !== null && (ro(e, 1, t), De(e, t));
5153
5153
  }
5154
5154
  function se(e, t, n) {
5155
5155
  if (e.tag === 3) sc(e, e, n);
@@ -5160,7 +5160,7 @@ function se(e, t, n) {
5160
5160
  } else if (t.tag === 1) {
5161
5161
  var r = t.stateNode;
5162
5162
  if (typeof t.type.getDerivedStateFromError == "function" || typeof r.componentDidCatch == "function" && (Kt === null || !Kt.has(r))) {
5163
- e = Zn(n, e), e = ff(t, e, 1), t = Yt(t, e, 1), e = Ne(), t !== null && (ro(t, 1, e), De(t, e));
5163
+ e = Zn(n, e), e = ff(t, e, 1), t = Yt(t, e, 1), e = Pe(), t !== null && (ro(t, 1, e), De(t, e));
5164
5164
  break;
5165
5165
  }
5166
5166
  }
@@ -5169,11 +5169,11 @@ function se(e, t, n) {
5169
5169
  }
5170
5170
  function qg(e, t, n) {
5171
5171
  var r = e.pingCache;
5172
- r !== null && r.delete(t), t = Ne(), e.pingedLanes |= e.suspendedLanes & n, me === e && (be & n) === n && (pe === 4 || pe === 3 && (be & 130023424) === be && 500 > ae() - wl ? cn(e, 0) : yl |= n), De(e, t);
5172
+ r !== null && r.delete(t), t = Pe(), e.pingedLanes |= e.suspendedLanes & n, me === e && (be & n) === n && (pe === 4 || pe === 3 && (be & 130023424) === be && 500 > ae() - wl ? cn(e, 0) : yl |= n), De(e, t);
5173
5173
  }
5174
5174
  function Mf(e, t) {
5175
5175
  t === 0 && (e.mode & 1 ? (t = mo, mo <<= 1, !(mo & 130023424) && (mo = 4194304)) : t = 1);
5176
- var n = Ne();
5176
+ var n = Pe();
5177
5177
  e = Mt(e, t), e !== null && (ro(e, t, n), De(e, n));
5178
5178
  }
5179
5179
  function Vg(e) {
@@ -5379,8 +5379,8 @@ function qo(e, t, n, r, o, s) {
5379
5379
  case Fa:
5380
5380
  i = 8, o |= 8;
5381
5381
  break;
5382
- case Ni:
5383
- return e = et(12, n, t, o | 2), e.elementType = Ni, e.lanes = s, e;
5382
+ case Pi:
5383
+ return e = et(12, n, t, o | 2), e.elementType = Pi, e.lanes = s, e;
5384
5384
  case Mi:
5385
5385
  return e = et(13, n, t, o), e.elementType = Mi, e.lanes = s, e;
5386
5386
  case Ai:
@@ -5459,10 +5459,10 @@ function $f(e) {
5459
5459
  return t;
5460
5460
  }
5461
5461
  function jf(e, t, n, r, o, s, i, a, l) {
5462
- return e = Sl(n, r, !0, e, o, s, i, a, l), e.context = $f(null), n = e.current, r = Ne(), o = Xt(n), s = It(r, o), s.callback = t != null ? t : null, Yt(n, s, o), e.current.lanes = o, ro(e, o, r), De(e, r), e;
5462
+ return e = Sl(n, r, !0, e, o, s, i, a, l), e.context = $f(null), n = e.current, r = Pe(), o = Xt(n), s = It(r, o), s.callback = t != null ? t : null, Yt(n, s, o), e.current.lanes = o, ro(e, o, r), De(e, r), e;
5463
5463
  }
5464
5464
  function Bs(e, t, n, r) {
5465
- var o = t.current, s = Ne(), i = Xt(o);
5465
+ var o = t.current, s = Pe(), i = Xt(o);
5466
5466
  return n = $f(n), t.context === null ? t.context = n : t.pendingContext = n, t = It(s, i), t.payload = { element: e }, r = r === void 0 ? null : r, r !== null && (t.callback = r), e = Yt(o, t, i), e !== null && (ct(e, o, i, s), Oo(e, o, i)), i;
5467
5467
  }
5468
5468
  function bs(e) {
@@ -5504,7 +5504,7 @@ Us.prototype.unmount = El.prototype.unmount = function() {
5504
5504
  var t = e.containerInfo;
5505
5505
  yn(function() {
5506
5506
  Bs(null, e, null, null);
5507
- }), t[Nt] = null;
5507
+ }), t[Pt] = null;
5508
5508
  }
5509
5509
  };
5510
5510
  function Us(e) {
@@ -5536,7 +5536,7 @@ function Zg(e, t, n, r, o) {
5536
5536
  };
5537
5537
  }
5538
5538
  var i = jf(t, r, e, 0, null, !1, !1, "", ac);
5539
- return e._reactRootContainer = i, e[Nt] = i.current, Ur(e.nodeType === 8 ? e.parentNode : e), yn(), i;
5539
+ return e._reactRootContainer = i, e[Pt] = i.current, Ur(e.nodeType === 8 ? e.parentNode : e), yn(), i;
5540
5540
  }
5541
5541
  for (; o = e.lastChild; ) e.removeChild(o);
5542
5542
  if (typeof r == "function") {
@@ -5547,7 +5547,7 @@ function Zg(e, t, n, r, o) {
5547
5547
  };
5548
5548
  }
5549
5549
  var l = Sl(e, 0, !1, null, null, !1, !1, "", ac);
5550
- return e._reactRootContainer = l, e[Nt] = l.current, Ur(e.nodeType === 8 ? e.parentNode : e), yn(function() {
5550
+ return e._reactRootContainer = l, e[Pt] = l.current, Ur(e.nodeType === 8 ? e.parentNode : e), yn(function() {
5551
5551
  Bs(t, l, n, r);
5552
5552
  }), l;
5553
5553
  }
@@ -5579,7 +5579,7 @@ dd = function(e) {
5579
5579
  yn(function() {
5580
5580
  var r = Mt(e, 1);
5581
5581
  if (r !== null) {
5582
- var o = Ne();
5582
+ var o = Pe();
5583
5583
  ct(r, e, 1, o);
5584
5584
  }
5585
5585
  }), Cl(e, 1);
@@ -5589,7 +5589,7 @@ Qa = function(e) {
5589
5589
  if (e.tag === 13) {
5590
5590
  var t = Mt(e, 134217728);
5591
5591
  if (t !== null) {
5592
- var n = Ne();
5592
+ var n = Pe();
5593
5593
  ct(t, e, 134217728, n);
5594
5594
  }
5595
5595
  Cl(e, 134217728);
@@ -5599,7 +5599,7 @@ fd = function(e) {
5599
5599
  if (e.tag === 13) {
5600
5600
  var t = Xt(e), n = Mt(e, t);
5601
5601
  if (n !== null) {
5602
- var r = Ne();
5602
+ var r = Pe();
5603
5603
  ct(n, e, t, r);
5604
5604
  }
5605
5605
  Cl(e, t);
@@ -5640,13 +5640,13 @@ qi = function(e, t, n) {
5640
5640
  };
5641
5641
  ed = vl;
5642
5642
  td = yn;
5643
- var Gg = { usingClientEntryPoint: !1, Events: [so, Nn, Ls, Gc, Jc, vl] }, dr = { findFiberByHostInstance: an, bundleType: 0, version: "18.3.1", rendererPackageName: "react-dom" }, Jg = { bundleType: dr.bundleType, version: dr.version, rendererPackageName: dr.rendererPackageName, rendererConfig: dr.rendererConfig, overrideHookState: null, overrideHookStateDeletePath: null, overrideHookStateRenamePath: null, overrideProps: null, overridePropsDeletePath: null, overridePropsRenamePath: null, setErrorHandler: null, setSuspenseHandler: null, scheduleUpdate: null, currentDispatcherRef: Lt.ReactCurrentDispatcher, findHostInstanceByFiber: function(e) {
5643
+ var Gg = { usingClientEntryPoint: !1, Events: [so, Pn, Ls, Gc, Jc, vl] }, dr = { findFiberByHostInstance: an, bundleType: 0, version: "18.3.1", rendererPackageName: "react-dom" }, Jg = { bundleType: dr.bundleType, version: dr.version, rendererPackageName: dr.rendererPackageName, rendererConfig: dr.rendererConfig, overrideHookState: null, overrideHookStateDeletePath: null, overrideHookStateRenamePath: null, overrideProps: null, overridePropsDeletePath: null, overridePropsRenamePath: null, setErrorHandler: null, setSuspenseHandler: null, scheduleUpdate: null, currentDispatcherRef: Lt.ReactCurrentDispatcher, findHostInstanceByFiber: function(e) {
5644
5644
  return e = od(e), e === null ? null : e.stateNode;
5645
5645
  }, findFiberByHostInstance: dr.findFiberByHostInstance || Xg, findHostInstancesForRefresh: null, scheduleRefresh: null, scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, reconcilerVersion: "18.3.1-next-f1338f8080-20240426" };
5646
5646
  if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ != "undefined") {
5647
5647
  var Ro = __REACT_DEVTOOLS_GLOBAL_HOOK__;
5648
5648
  if (!Ro.isDisabled && Ro.supportsFiber) try {
5649
- Ps = Ro.inject(Jg), vt = Ro;
5649
+ Ns = Ro.inject(Jg), vt = Ro;
5650
5650
  } catch (e) {
5651
5651
  }
5652
5652
  }
@@ -5659,7 +5659,7 @@ Qe.createPortal = function(e, t) {
5659
5659
  Qe.createRoot = function(e, t) {
5660
5660
  if (!Tl(e)) throw Error(x(299));
5661
5661
  var n = !1, r = "", o = Of;
5662
- return t != null && (t.unstable_strictMode === !0 && (n = !0), t.identifierPrefix !== void 0 && (r = t.identifierPrefix), t.onRecoverableError !== void 0 && (o = t.onRecoverableError)), t = Sl(e, 1, !1, null, null, n, !1, r, o), e[Nt] = t.current, Ur(e.nodeType === 8 ? e.parentNode : e), new El(t);
5662
+ return t != null && (t.unstable_strictMode === !0 && (n = !0), t.identifierPrefix !== void 0 && (r = t.identifierPrefix), t.onRecoverableError !== void 0 && (o = t.onRecoverableError)), t = Sl(e, 1, !1, null, null, n, !1, r, o), e[Pt] = t.current, Ur(e.nodeType === 8 ? e.parentNode : e), new El(t);
5663
5663
  };
5664
5664
  Qe.findDOMNode = function(e) {
5665
5665
  if (e == null) return null;
@@ -5679,7 +5679,7 @@ Qe.hydrate = function(e, t, n) {
5679
5679
  Qe.hydrateRoot = function(e, t, n) {
5680
5680
  if (!Tl(e)) throw Error(x(405));
5681
5681
  var r = n != null && n.hydratedSources || null, o = !1, s = "", i = Of;
5682
- if (n != null && (n.unstable_strictMode === !0 && (o = !0), n.identifierPrefix !== void 0 && (s = n.identifierPrefix), n.onRecoverableError !== void 0 && (i = n.onRecoverableError)), t = jf(t, null, e, 1, n != null ? n : null, o, !1, s, i), e[Nt] = t.current, Ur(e), r) for (e = 0; e < r.length; e++) n = r[e], o = n._getVersion, o = o(n._source), t.mutableSourceEagerHydrationData == null ? t.mutableSourceEagerHydrationData = [n, o] : t.mutableSourceEagerHydrationData.push(
5682
+ if (n != null && (n.unstable_strictMode === !0 && (o = !0), n.identifierPrefix !== void 0 && (s = n.identifierPrefix), n.onRecoverableError !== void 0 && (i = n.onRecoverableError)), t = jf(t, null, e, 1, n != null ? n : null, o, !1, s, i), e[Pt] = t.current, Ur(e), r) for (e = 0; e < r.length; e++) n = r[e], o = n._getVersion, o = o(n._source), t.mutableSourceEagerHydrationData == null ? t.mutableSourceEagerHydrationData = [n, o] : t.mutableSourceEagerHydrationData.push(
5683
5683
  n,
5684
5684
  o
5685
5685
  );
@@ -5693,7 +5693,7 @@ Qe.unmountComponentAtNode = function(e) {
5693
5693
  if (!qs(e)) throw Error(x(40));
5694
5694
  return e._reactRootContainer ? (yn(function() {
5695
5695
  Vs(null, null, e, !1, function() {
5696
- e._reactRootContainer = null, e[Nt] = null;
5696
+ e._reactRootContainer = null, e[Pt] = null;
5697
5697
  });
5698
5698
  }), !0) : !1;
5699
5699
  };
@@ -5754,9 +5754,9 @@ const am = ({
5754
5754
  zIndex: 2147483647,
5755
5755
  bottom: `${o}px`
5756
5756
  };
5757
- return r === "bottom-left" ? Y(P({}, c), {
5757
+ return r === "bottom-left" ? Y(N({}, c), {
5758
5758
  left: `${s}px`
5759
- }) : Y(P({}, c), {
5759
+ }) : Y(N({}, c), {
5760
5760
  right: `${s}px`
5761
5761
  });
5762
5762
  }, u = () => {
@@ -5875,13 +5875,13 @@ function W(e, t = "") {
5875
5875
  const r = {
5876
5876
  replace: (o, s) => {
5877
5877
  let i = typeof s == "string" ? s : s.source;
5878
- return i = i.replace(Pe.caret, "$1"), n = n.replace(o, i), r;
5878
+ return i = i.replace(Ne.caret, "$1"), n = n.replace(o, i), r;
5879
5879
  },
5880
5880
  getRegex: () => new RegExp(n, t)
5881
5881
  };
5882
5882
  return r;
5883
5883
  }
5884
- var Pe = {
5884
+ var Ne = {
5885
5885
  codeRemoveIndent: /^(?: {1,4}| {0,3}\t)/gm,
5886
5886
  outputLinkReplace: /\\([\[\]])/g,
5887
5887
  indentCodeCompensation: /^(\s+)(?:```)/,
@@ -5938,10 +5938,10 @@ var Pe = {
5938
5938
  fencesBeginRegex: (e) => new RegExp(`^ {0,${Math.min(3, e - 1)}}(?:\`\`\`|~~~)`),
5939
5939
  headingBeginRegex: (e) => new RegExp(`^ {0,${Math.min(3, e - 1)}}#`),
5940
5940
  htmlBeginRegex: (e) => new RegExp(`^ {0,${Math.min(3, e - 1)}}<(?:[a-z].*>|!--)`, "i")
5941
- }, um = /^(?:[ \t]*(?:\n|$))+/, cm = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, dm = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, ao = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, fm = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, Il = /(?:[*+-]|\d{1,9}[.)])/, Uf = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, qf = W(Uf).replace(/bull/g, Il).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/\|table/g, "").getRegex(), hm = W(Uf).replace(/bull/g, Il).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/table/g, / {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(), Pl = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, pm = /^[^\n]+/, Nl = /(?!\s*\])(?:\\.|[^\[\]\\])+/, gm = W(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", Nl).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), mm = W(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, Il).getRegex(), Qs = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", Ml = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, ym = W(
5941
+ }, um = /^(?:[ \t]*(?:\n|$))+/, cm = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, dm = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, ao = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, fm = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, Il = /(?:[*+-]|\d{1,9}[.)])/, Uf = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, qf = W(Uf).replace(/bull/g, Il).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/\|table/g, "").getRegex(), hm = W(Uf).replace(/bull/g, Il).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/table/g, / {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(), Nl = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, pm = /^[^\n]+/, Pl = /(?!\s*\])(?:\\.|[^\[\]\\])+/, gm = W(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", Pl).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), mm = W(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, Il).getRegex(), Qs = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", Ml = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, ym = W(
5942
5942
  "^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))",
5943
5943
  "i"
5944
- ).replace("comment", Ml).replace("tag", Qs).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), Vf = W(Pl).replace("hr", ao).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Qs).getRegex(), wm = W(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", Vf).getRegex(), Al = {
5944
+ ).replace("comment", Ml).replace("tag", Qs).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), Vf = W(Nl).replace("hr", ao).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Qs).getRegex(), wm = W(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", Vf).getRegex(), Al = {
5945
5945
  blockquote: wm,
5946
5946
  code: cm,
5947
5947
  def: gm,
@@ -5957,11 +5957,11 @@ var Pe = {
5957
5957
  text: pm
5958
5958
  }, uc = W(
5959
5959
  "^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"
5960
- ).replace("hr", ao).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", "(?: {4}| {0,3} )[^\\n]").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Qs).getRegex(), vm = Y(P({}, Al), {
5960
+ ).replace("hr", ao).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", "(?: {4}| {0,3} )[^\\n]").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Qs).getRegex(), vm = Y(N({}, Al), {
5961
5961
  lheading: hm,
5962
5962
  table: uc,
5963
- paragraph: W(Pl).replace("hr", ao).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", uc).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Qs).getRegex()
5964
- }), bm = Y(P({}, Al), {
5963
+ paragraph: W(Nl).replace("hr", ao).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", uc).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Qs).getRegex()
5964
+ }), bm = Y(N({}, Al), {
5965
5965
  html: W(
5966
5966
  `^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`
5967
5967
  ).replace("comment", Ml).replace(/tag/g, "(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),
@@ -5970,14 +5970,14 @@ var Pe = {
5970
5970
  fences: _r,
5971
5971
  // fences not supported
5972
5972
  lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,
5973
- paragraph: W(Pl).replace("hr", ao).replace("heading", ` *#{1,6} *[^
5973
+ paragraph: W(Nl).replace("hr", ao).replace("heading", ` *#{1,6} *[^
5974
5974
  ]`).replace("lheading", qf).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
5975
- }), xm = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, km = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, Wf = /^( {2,}|\\)\n(?!\s*$)/, Sm = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, Hs = /[\p{P}\p{S}]/u, Ll = /[\s\p{P}\p{S}]/u, Qf = /[^\s\p{P}\p{S}]/u, Cm = W(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, Ll).getRegex(), Hf = /(?!~)[\p{P}\p{S}]/u, Em = /(?!~)[\s\p{P}\p{S}]/u, Tm = /(?:[^\s\p{P}\p{S}]|~)/u, Rm = /\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g, Yf = /^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/, _m = W(Yf, "u").replace(/punct/g, Hs).getRegex(), Im = W(Yf, "u").replace(/punct/g, Hf).getRegex(), Kf = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", Pm = W(Kf, "gu").replace(/notPunctSpace/g, Qf).replace(/punctSpace/g, Ll).replace(/punct/g, Hs).getRegex(), Nm = W(Kf, "gu").replace(/notPunctSpace/g, Tm).replace(/punctSpace/g, Em).replace(/punct/g, Hf).getRegex(), Mm = W(
5975
+ }), xm = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, km = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, Wf = /^( {2,}|\\)\n(?!\s*$)/, Sm = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, Hs = /[\p{P}\p{S}]/u, Ll = /[\s\p{P}\p{S}]/u, Qf = /[^\s\p{P}\p{S}]/u, Cm = W(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, Ll).getRegex(), Hf = /(?!~)[\p{P}\p{S}]/u, Em = /(?!~)[\s\p{P}\p{S}]/u, Tm = /(?:[^\s\p{P}\p{S}]|~)/u, Rm = /\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g, Yf = /^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/, _m = W(Yf, "u").replace(/punct/g, Hs).getRegex(), Im = W(Yf, "u").replace(/punct/g, Hf).getRegex(), Kf = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", Nm = W(Kf, "gu").replace(/notPunctSpace/g, Qf).replace(/punctSpace/g, Ll).replace(/punct/g, Hs).getRegex(), Pm = W(Kf, "gu").replace(/notPunctSpace/g, Tm).replace(/punctSpace/g, Em).replace(/punct/g, Hf).getRegex(), Mm = W(
5976
5976
  "^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)",
5977
5977
  "gu"
5978
5978
  ).replace(/notPunctSpace/g, Qf).replace(/punctSpace/g, Ll).replace(/punct/g, Hs).getRegex(), Am = W(/\\(punct)/, "gu").replace(/punct/g, Hs).getRegex(), Lm = W(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), $m = W(Ml).replace("(?:-->|$)", "-->").getRegex(), jm = W(
5979
5979
  "^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>"
5980
- ).replace("comment", $m).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), xs = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/, Om = W(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label", xs).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), Xf = W(/^!?\[(label)\]\[(ref)\]/).replace("label", xs).replace("ref", Nl).getRegex(), Zf = W(/^!?\[(ref)\](?:\[\])?/).replace("ref", Nl).getRegex(), zm = W("reflink|nolink(?!\\()", "g").replace("reflink", Xf).replace("nolink", Zf).getRegex(), $l = {
5980
+ ).replace("comment", $m).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), xs = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/, Om = W(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label", xs).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), Xf = W(/^!?\[(label)\]\[(ref)\]/).replace("label", xs).replace("ref", Pl).getRegex(), Zf = W(/^!?\[(ref)\](?:\[\])?/).replace("ref", Pl).getRegex(), zm = W("reflink|nolink(?!\\()", "g").replace("reflink", Xf).replace("nolink", Zf).getRegex(), $l = {
5981
5981
  _backpedal: _r,
5982
5982
  // only used for GFM url
5983
5983
  anyPunctuation: Am,
@@ -5987,7 +5987,7 @@ var Pe = {
5987
5987
  code: km,
5988
5988
  del: _r,
5989
5989
  emStrongLDelim: _m,
5990
- emStrongRDelimAst: Pm,
5990
+ emStrongRDelimAst: Nm,
5991
5991
  emStrongRDelimUnd: Mm,
5992
5992
  escape: xm,
5993
5993
  link: Om,
@@ -5998,17 +5998,17 @@ var Pe = {
5998
5998
  tag: jm,
5999
5999
  text: Sm,
6000
6000
  url: _r
6001
- }, Dm = Y(P({}, $l), {
6001
+ }, Dm = Y(N({}, $l), {
6002
6002
  link: W(/^!?\[(label)\]\((.*?)\)/).replace("label", xs).getRegex(),
6003
6003
  reflink: W(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", xs).getRegex()
6004
- }), ka = Y(P({}, $l), {
6005
- emStrongRDelimAst: Nm,
6004
+ }), ka = Y(N({}, $l), {
6005
+ emStrongRDelimAst: Pm,
6006
6006
  emStrongLDelim: Im,
6007
6007
  url: W(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/, "i").replace("email", /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),
6008
6008
  _backpedal: /(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,
6009
6009
  del: /^(~~?)(?=[^\s~])((?:\\.|[^\\])*?(?:\\.|[^\s~\\]))\1(?=[^~]|$)/,
6010
6010
  text: /^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/
6011
- }), Fm = Y(P({}, ka), {
6011
+ }), Fm = Y(N({}, ka), {
6012
6012
  br: W(Wf).replace("{2,}", "*").getRegex(),
6013
6013
  text: W(ka.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()
6014
6014
  }), _o = {
@@ -6029,15 +6029,15 @@ var Pe = {
6029
6029
  }, cc = (e) => Bm[e];
6030
6030
  function gt(e, t) {
6031
6031
  if (t) {
6032
- if (Pe.escapeTest.test(e))
6033
- return e.replace(Pe.escapeReplace, cc);
6034
- } else if (Pe.escapeTestNoEncode.test(e))
6035
- return e.replace(Pe.escapeReplaceNoEncode, cc);
6032
+ if (Ne.escapeTest.test(e))
6033
+ return e.replace(Ne.escapeReplace, cc);
6034
+ } else if (Ne.escapeTestNoEncode.test(e))
6035
+ return e.replace(Ne.escapeReplaceNoEncode, cc);
6036
6036
  return e;
6037
6037
  }
6038
6038
  function dc(e) {
6039
6039
  try {
6040
- e = encodeURI(e).replace(Pe.percentDecode, "%");
6040
+ e = encodeURI(e).replace(Ne.percentDecode, "%");
6041
6041
  } catch (t) {
6042
6042
  return null;
6043
6043
  }
@@ -6045,11 +6045,11 @@ function dc(e) {
6045
6045
  }
6046
6046
  function fc(e, t) {
6047
6047
  var s;
6048
- const n = e.replace(Pe.findPipe, (i, a, l) => {
6048
+ const n = e.replace(Ne.findPipe, (i, a, l) => {
6049
6049
  let u = !1, c = a;
6050
6050
  for (; --c >= 0 && l[c] === "\\"; ) u = !u;
6051
6051
  return u ? "|" : " |";
6052
- }), r = n.split(Pe.splitPipe);
6052
+ }), r = n.split(Ne.splitPipe);
6053
6053
  let o = 0;
6054
6054
  if (r[0].trim() || r.shift(), r.length > 0 && !((s = r.at(-1)) != null && s.trim()) && r.pop(), t)
6055
6055
  if (r.length > t)
@@ -6057,7 +6057,7 @@ function fc(e, t) {
6057
6057
  else
6058
6058
  for (; r.length < t; ) r.push("");
6059
6059
  for (; o < r.length; o++)
6060
- r[o] = r[o].trim().replace(Pe.slashPipe, "|");
6060
+ r[o] = r[o].trim().replace(Ne.slashPipe, "|");
6061
6061
  return r;
6062
6062
  }
6063
6063
  function hr(e, t, n) {
@@ -6605,7 +6605,7 @@ ${c}` : c;
6605
6605
  top: !0
6606
6606
  };
6607
6607
  const n = {
6608
- other: Pe,
6608
+ other: Ne,
6609
6609
  block: _o.normal,
6610
6610
  inline: fr.normal
6611
6611
  };
@@ -6636,7 +6636,7 @@ ${c}` : c;
6636
6636
  * Preprocessing
6637
6637
  */
6638
6638
  lex(t) {
6639
- t = t.replace(Pe.carriageReturn, `
6639
+ t = t.replace(Ne.carriageReturn, `
6640
6640
  `), this.blockTokens(t, this.tokens);
6641
6641
  for (let n = 0; n < this.inlineQueue.length; n++) {
6642
6642
  const r = this.inlineQueue[n];
@@ -6646,7 +6646,7 @@ ${c}` : c;
6646
6646
  }
6647
6647
  blockTokens(t, n = [], r = !1) {
6648
6648
  var o, s, i;
6649
- for (this.options.pedantic && (t = t.replace(Pe.tabCharGlobal, " ").replace(Pe.spaceLine, "")); t; ) {
6649
+ for (this.options.pedantic && (t = t.replace(Ne.tabCharGlobal, " ").replace(Ne.spaceLine, "")); t; ) {
6650
6650
  let a;
6651
6651
  if ((s = (o = this.options.extensions) == null ? void 0 : o.block) != null && s.some((u) => (a = u.call({ lexer: this }, t, n)) ? (t = t.substring(a.raw.length), n.push(a), !0) : !1))
6652
6652
  continue;
@@ -6848,7 +6848,7 @@ ${c}` : c;
6848
6848
  }
6849
6849
  code({ text: e, lang: t, escaped: n }) {
6850
6850
  var s;
6851
- const r = (s = (t || "").match(Pe.notSpaceStart)) == null ? void 0 : s[0], o = e.replace(Pe.endingNewline, "") + `
6851
+ const r = (s = (t || "").match(Ne.notSpaceStart)) == null ? void 0 : s[0], o = e.replace(Ne.endingNewline, "") + `
6852
6852
  `;
6853
6853
  return r ? '<pre><code class="language-' + gt(r) + '">' + (n ? o : gt(o, !0)) + `</code></pre>
6854
6854
  ` : "<pre><code>" + (n ? o : gt(o, !0)) + `</code></pre>
@@ -7251,7 +7251,7 @@ ${e}</tr>
7251
7251
  use(...e) {
7252
7252
  const t = this.defaults.extensions || { renderers: {}, childTokens: {} };
7253
7253
  return e.forEach((n) => {
7254
- const r = P({}, n);
7254
+ const r = N({}, n);
7255
7255
  if (r.async = this.defaults.async || r.async || !1, n.extensions && (n.extensions.forEach((o) => {
7256
7256
  if (!o.name)
7257
7257
  throw new Error("extension name required");
@@ -7326,11 +7326,11 @@ ${e}</tr>
7326
7326
  return a.push(s.call(this, i)), o && (a = a.concat(o.call(this, i))), a;
7327
7327
  };
7328
7328
  }
7329
- this.defaults = P(P({}, this.defaults), r);
7329
+ this.defaults = N(N({}, this.defaults), r);
7330
7330
  }), this;
7331
7331
  }
7332
7332
  setOptions(e) {
7333
- return this.defaults = P(P({}, this.defaults), e), this;
7333
+ return this.defaults = N(N({}, this.defaults), e), this;
7334
7334
  }
7335
7335
  lexer(e, t) {
7336
7336
  return Rt.lex(e, t != null ? t : this.defaults);
@@ -7340,7 +7340,7 @@ ${e}</tr>
7340
7340
  }
7341
7341
  parseMarkdown(e) {
7342
7342
  return (n, r) => {
7343
- const o = P({}, r), s = P(P({}, this.defaults), o), i = this.onError(!!s.silent, !!s.async);
7343
+ const o = N({}, r), s = N(N({}, this.defaults), o), i = this.onError(!!s.silent, !!s.async);
7344
7344
  if (this.defaults.async === !0 && o.async === !1)
7345
7345
  return i(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));
7346
7346
  if (typeof n == "undefined" || n === null)
@@ -7913,9 +7913,9 @@ const Jf = ({
7913
7913
  zIndex: 2147483647,
7914
7914
  bottom: `${F + 64 + 10}px`
7915
7915
  };
7916
- return U === "bottom-left" ? Y(P({}, q), {
7916
+ return U === "bottom-left" ? Y(N({}, q), {
7917
7917
  left: `${S}px`
7918
- }) : Y(P({}, q), {
7918
+ }) : Y(N({}, q), {
7919
7919
  right: `${S}px`
7920
7920
  });
7921
7921
  }, ie = () => `nbc-fixed nbc-bg-white nbc-rounded-lg nbc-shadow-2xl nbc-flex nbc-flex-col nbc-overflow-hidden nbc-font-sans nbc-transition-all nbc-duration-300 nbc-ease-out ${c ? "nbc-inset-0 nbc-w-full nbc-h-full nbc-rounded-none" : "nbc-w-auto nbc-h-auto nbc-rounded-lg nbc-inset-auto"} ${T ? "nbc-opacity-100 nbc-scale-100 nbc-translate-y-0" : "nbc-opacity-0 nbc-scale-95 nbc-translate-y-2"}`, Re = () => c ? { zIndex: 2147483647 } : D(), j = `https://notchatbot.com?utm_source=${typeof window != "undefined" ? encodeURIComponent(window.location.hostname) : "unknown"}&utm_medium=widget&utm_campaign=WebChat`;
@@ -8055,9 +8055,9 @@ const Jf = ({
8055
8055
  maxWidth: i ? "220px" : "250px",
8056
8056
  width: "auto"
8057
8057
  };
8058
- return n === "bottom-left" ? Y(P({}, M), {
8058
+ return n === "bottom-left" ? Y(N({}, M), {
8059
8059
  left: `${o}px`
8060
- }) : Y(P({}, M), {
8060
+ }) : Y(N({}, M), {
8061
8061
  right: `${o}px`
8062
8062
  });
8063
8063
  }, R = () => {
@@ -8189,7 +8189,7 @@ function nh(e) {
8189
8189
  return null;
8190
8190
  }
8191
8191
  function ny(e, t = {}) {
8192
- Ol(e, "", Y(P({}, t), {
8192
+ Ol(e, "", Y(N({}, t), {
8193
8193
  expires: /* @__PURE__ */ new Date(0)
8194
8194
  }));
8195
8195
  }
@@ -8243,7 +8243,7 @@ function sh(e) {
8243
8243
  });
8244
8244
  }
8245
8245
  function oy(e) {
8246
- const t = zl(), n = Y(P({}, t), {
8246
+ const t = zl(), n = Y(N({}, t), {
8247
8247
  conversationStarted: e
8248
8248
  });
8249
8249
  return sh(n), n;
@@ -8287,7 +8287,7 @@ const sy = () => {
8287
8287
  return console.warn("Error detecting browser region:", e), "Unknown/Unknown";
8288
8288
  }
8289
8289
  }, Qo = (e) => {
8290
- const t = Ea(), n = Y(P({}, e), {
8290
+ const t = Ea(), n = Y(N({}, e), {
8291
8291
  position: e.position || "bottom-right",
8292
8292
  marginBottom: e.marginBottom || 16,
8293
8293
  marginSide: e.marginSide || 16,
@@ -8337,7 +8337,7 @@ const sy = () => {
8337
8337
  }
8338
8338
  }, mc = (e, t) => e.map((n) => {
8339
8339
  const r = cy(n);
8340
- return P({
8340
+ return N({
8341
8341
  id: n.id,
8342
8342
  content: r,
8343
8343
  role: n.sender === "user" ? "user" : "assistant",
@@ -8614,8 +8614,8 @@ const hh = () => Array.from({ length: 4 }, () => 0);
8614
8614
  hh();
8615
8615
  hh();
8616
8616
  const bc = "1.27.3";
8617
- var Iy = Object.defineProperty, Py = (e, t, n) => t in e ? Iy(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, xc = (e, t, n) => Py(e, typeof t != "symbol" ? t + "" : t, n);
8618
- const Ny = "color:rgb(0, 145, 255)";
8617
+ var Iy = Object.defineProperty, Ny = (e, t, n) => t in e ? Iy(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, xc = (e, t, n) => Ny(e, typeof t != "symbol" ? t + "" : t, n);
8618
+ const Py = "color:rgb(0, 145, 255)";
8619
8619
  function ph(e) {
8620
8620
  switch (e) {
8621
8621
  case "query":
@@ -8693,7 +8693,7 @@ function Es(e, t, n, r, o) {
8693
8693
  return;
8694
8694
  }
8695
8695
  const a = o.slice(1, i[0].length - 2), l = o.slice(i[0].length);
8696
- e.log(`%c[CONVEX ${s}(${r})] [${a}]`, Ny, l);
8696
+ e.log(`%c[CONVEX ${s}(${r})] [${a}]`, Py, l);
8697
8697
  } else
8698
8698
  e.error(`[CONVEX ${s}(${r})] ${o}`);
8699
8699
  }
@@ -8802,7 +8802,7 @@ class $y {
8802
8802
  value: t
8803
8803
  };
8804
8804
  const n = this.identityVersion;
8805
- return this.paused || (this.identityVersion = n + 1), P({
8805
+ return this.paused || (this.identityVersion = n + 1), N({
8806
8806
  type: "Authenticate",
8807
8807
  baseVersion: n
8808
8808
  }, this.auth);
@@ -8815,7 +8815,7 @@ class $y {
8815
8815
  };
8816
8816
  this.auth = r;
8817
8817
  const o = this.identityVersion;
8818
- return this.paused || (this.identityVersion = o + 1), P({
8818
+ return this.paused || (this.identityVersion = o + 1), N({
8819
8819
  type: "Authenticate",
8820
8820
  baseVersion: o
8821
8821
  }, r);
@@ -8876,7 +8876,7 @@ class $y {
8876
8876
  if (!this.auth)
8877
8877
  return this.identityVersion = 0, [r, void 0];
8878
8878
  this.outstandingAuthOlderThanRestart = !0;
8879
- const o = P({
8879
+ const o = N({
8880
8880
  type: "Authenticate",
8881
8881
  baseVersion: 0
8882
8882
  }, this.auth);
@@ -8893,7 +8893,7 @@ class $y {
8893
8893
  modifications: Array.from(
8894
8894
  this.pendingQuerySetModifications.values()
8895
8895
  )
8896
- } : void 0, n = this.auth !== void 0 ? P({
8896
+ } : void 0, n = this.auth !== void 0 ? N({
8897
8897
  type: "Authenticate",
8898
8898
  baseVersion: this.identityVersion++
8899
8899
  }, this.auth) : void 0;
@@ -9254,10 +9254,10 @@ class Be {
9254
9254
  ];
9255
9255
  }
9256
9256
  static fromNumber(t) {
9257
- return isNaN(t) || t < 0 ? kc : t >= Yy ? Ky : new Be(t % Pr | 0, t / Pr | 0);
9257
+ return isNaN(t) || t < 0 ? kc : t >= Yy ? Ky : new Be(t % Nr | 0, t / Nr | 0);
9258
9258
  }
9259
9259
  toString() {
9260
- return (BigInt(this.high) * BigInt(Pr) + BigInt(this.low)).toString();
9260
+ return (BigInt(this.high) * BigInt(Nr) + BigInt(this.low)).toString();
9261
9261
  }
9262
9262
  equals(t) {
9263
9263
  return Be.isLong(t) || (t = Be.fromValue(t)), this.high >>> 31 === 1 && t.high >>> 31 === 1 ? !1 : this.high === t.high && this.low === t.low;
@@ -9278,11 +9278,11 @@ class Be {
9278
9278
  return typeof t == "number" ? Be.fromNumber(t) : new Be(t.low, t.high);
9279
9279
  }
9280
9280
  }
9281
- const kc = new Be(0, 0), Sc = 65536, Pr = Sc * Sc, Yy = Pr * Pr, Ky = new Be(-1, -1);
9282
- var Xy = Object.defineProperty, Zy = (e, t, n) => t in e ? Xy(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Po = (e, t, n) => Zy(e, typeof t != "symbol" ? t + "" : t, n);
9281
+ const kc = new Be(0, 0), Sc = 65536, Nr = Sc * Sc, Yy = Nr * Nr, Ky = new Be(-1, -1);
9282
+ var Xy = Object.defineProperty, Zy = (e, t, n) => t in e ? Xy(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, No = (e, t, n) => Zy(e, typeof t != "symbol" ? t + "" : t, n);
9283
9283
  class Cc {
9284
9284
  constructor(t, n) {
9285
- Po(this, "version"), Po(this, "remoteQuerySet"), Po(this, "queryPath"), Po(this, "logger"), this.version = { querySet: 0, ts: Be.fromNumber(0), identity: 0 }, this.remoteQuerySet = /* @__PURE__ */ new Map(), this.queryPath = t, this.logger = n;
9285
+ No(this, "version"), No(this, "remoteQuerySet"), No(this, "queryPath"), No(this, "logger"), this.version = { querySet: 0, ts: Be.fromNumber(0), identity: 0 }, this.remoteQuerySet = /* @__PURE__ */ new Map(), this.queryPath = t, this.logger = n;
9286
9286
  }
9287
9287
  transition(t) {
9288
9288
  var r;
@@ -9350,15 +9350,15 @@ function Jy(e) {
9350
9350
  case "AuthError":
9351
9351
  case "ActionResponse":
9352
9352
  case "Ping":
9353
- return P({}, e);
9353
+ return N({}, e);
9354
9354
  case "MutationResponse":
9355
- return e.success ? Y(P({}, e), { ts: _i(e.ts) }) : P({}, e);
9355
+ return e.success ? Y(N({}, e), { ts: _i(e.ts) }) : N({}, e);
9356
9356
  case "Transition":
9357
- return Y(P({}, e), {
9358
- startVersion: Y(P({}, e.startVersion), {
9357
+ return Y(N({}, e), {
9358
+ startVersion: Y(N({}, e.startVersion), {
9359
9359
  ts: _i(e.startVersion.ts)
9360
9360
  }),
9361
- endVersion: Y(P({}, e.endVersion), {
9361
+ endVersion: Y(N({}, e.endVersion), {
9362
9362
  ts: _i(e.endVersion.ts)
9363
9363
  })
9364
9364
  });
@@ -9371,11 +9371,11 @@ function ew(e) {
9371
9371
  case "Mutation":
9372
9372
  case "Action":
9373
9373
  case "Event":
9374
- return P({}, e);
9374
+ return N({}, e);
9375
9375
  case "Connect":
9376
- return e.maxObservedTimestamp !== void 0 ? Y(P({}, e), {
9376
+ return e.maxObservedTimestamp !== void 0 ? Y(N({}, e), {
9377
9377
  maxObservedTimestamp: Gy(e.maxObservedTimestamp)
9378
- }) : Y(P({}, e), { maxObservedTimestamp: void 0 });
9378
+ }) : Y(N({}, e), { maxObservedTimestamp: void 0 });
9379
9379
  }
9380
9380
  }
9381
9381
  var tw = Object.defineProperty, nw = (e, t, n) => t in e ? tw(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Ce = (e, t, n) => nw(e, typeof t != "symbol" ? t + "" : t, n);
@@ -9485,7 +9485,7 @@ class lw {
9485
9485
  * @returns Whether the message (might have been) sent.
9486
9486
  */
9487
9487
  sendMessage(t) {
9488
- const n = P({
9488
+ const n = N({
9489
9489
  type: t.type
9490
9490
  }, t.type === "Authenticate" && t.tokenType === "User" ? {
9491
9491
  value: `...${t.value.slice(-7)}`
@@ -9640,7 +9640,7 @@ class lw {
9640
9640
  return;
9641
9641
  case "connecting":
9642
9642
  case "ready": {
9643
- this.socket = Y(P({}, this.socket), { paused: "yes" });
9643
+ this.socket = Y(N({}, this.socket), { paused: "yes" });
9644
9644
  return;
9645
9645
  }
9646
9646
  default: {
@@ -9655,14 +9655,14 @@ class lw {
9655
9655
  resume() {
9656
9656
  switch (this.socket.state) {
9657
9657
  case "connecting":
9658
- this.socket = Y(P({}, this.socket), { paused: "no" });
9658
+ this.socket = Y(N({}, this.socket), { paused: "no" });
9659
9659
  return;
9660
9660
  case "ready":
9661
- this.socket.paused === "uninitialized" ? (this.socket = Y(P({}, this.socket), { paused: "no" }), this.onOpen({
9661
+ this.socket.paused === "uninitialized" ? (this.socket = Y(N({}, this.socket), { paused: "no" }), this.onOpen({
9662
9662
  connectionCount: this.connectionCount,
9663
9663
  lastCloseReason: this.lastCloseReason,
9664
9664
  clientTs: Yo()
9665
- })) : this.socket.paused === "yes" && (this.socket = Y(P({}, this.socket), { paused: "no" }), this.onResume());
9665
+ })) : this.socket.paused === "yes" && (this.socket = Y(N({}, this.socket), { paused: "no" }), this.onResume());
9666
9666
  return;
9667
9667
  case "terminated":
9668
9668
  case "stopped":
@@ -10023,7 +10023,7 @@ class Cw {
10023
10023
  throw new Error(
10024
10024
  "Passing a ClientConfig object is no longer supported. Pass the URL of the Convex deployment as a string directly."
10025
10025
  );
10026
- (r == null ? void 0 : r.skipConvexDeploymentUrlCheck) !== !0 && yy(t), r = P({}, r);
10026
+ (r == null ? void 0 : r.skipConvexDeploymentUrlCheck) !== !0 && yy(t), r = N({}, r);
10027
10027
  const o = (b = r.authRefreshTokenLeewaySeconds) != null ? b : 2;
10028
10028
  let s = r.webSocketConstructor;
10029
10029
  if (!s && typeof WebSocket == "undefined")
@@ -10092,7 +10092,7 @@ class Cw {
10092
10092
  c,
10093
10093
  {
10094
10094
  onOpen: (f) => {
10095
- this.mark("convexWebSocketOpen"), this.webSocketManager.sendMessage(Y(P({}, f), {
10095
+ this.mark("convexWebSocketOpen"), this.webSocketManager.sendMessage(Y(N({}, f), {
10096
10096
  type: "Connect",
10097
10097
  sessionId: this._sessionId,
10098
10098
  maxObservedTimestamp: this.maxObservedTimestamp
@@ -10599,7 +10599,7 @@ class Fl {
10599
10599
  );
10600
10600
  if (!t.includes("://"))
10601
10601
  throw new Error("Provided address was not an absolute URL.");
10602
- this.address = t, this.listeners = /* @__PURE__ */ new Map(), this._logger = (n == null ? void 0 : n.logger) === !1 ? yh({ verbose: (r = n == null ? void 0 : n.verbose) != null ? r : !1 }) : (n == null ? void 0 : n.logger) !== !0 && (n != null && n.logger) ? n.logger : mh({ verbose: (o = n == null ? void 0 : n.verbose) != null ? o : !1 }), this.options = Y(P({}, n), { logger: this._logger });
10602
+ this.address = t, this.listeners = /* @__PURE__ */ new Map(), this._logger = (n == null ? void 0 : n.logger) === !1 ? yh({ verbose: (r = n == null ? void 0 : n.verbose) != null ? r : !1 }) : (n == null ? void 0 : n.logger) !== !0 && (n != null && n.logger) ? n.logger : mh({ verbose: (o = n == null ? void 0 : n.verbose) != null ? o : !1 }), this.options = Y(N({}, n), { logger: this._logger });
10603
10603
  }
10604
10604
  /**
10605
10605
  * Return the address for this client, useful for creating a new client.
@@ -10992,17 +10992,17 @@ const Bl = {
10992
10992
  };
10993
10993
  }
10994
10994
  return null;
10995
- }, Pw = (e) => `¡Hola! Soy ${e || "tu asistente"}, ¿En qué te puedo ayudar?
10995
+ }, Nw = (e) => `¡Hola! Soy ${e || "tu asistente"}, ¿En qué te puedo ayudar?
10996
10996
 
10997
10997
  Aunque no lo creas, soy una inteligencia artificial! Puedo resolver todas tus dudas 😊
10998
10998
 
10999
10999
  También puedes pedir hablar con nuestro equipo de los sueños!`, Ch = (e) => ({
11000
11000
  id: tt(),
11001
- text: Pw(e),
11001
+ text: Nw(e),
11002
11002
  sender: "bot",
11003
11003
  timestamp: (/* @__PURE__ */ new Date()).toISOString(),
11004
11004
  type: "text"
11005
- }), Rc = () => typeof window != "undefined" && window.innerWidth < 640, Nw = ({ config: e, exposeControl: t }) => {
11005
+ }), Rc = () => typeof window != "undefined" && window.innerWidth < 640, Pw = ({ config: e, exposeControl: t }) => {
11006
11006
  if (!e.apiKey)
11007
11007
  return null;
11008
11008
  const n = [
@@ -11203,10 +11203,10 @@ También puedes pedir hablar con nuestro equipo de los sueños!`, Ch = (e) => ({
11203
11203
  }, [M, c]), C.useEffect(() => {
11204
11204
  T && Si() && !I && !v && d && xt();
11205
11205
  }, [T, I, v, d, xt]);
11206
- const Vl = C.useCallback((z) => b(z), []), Wl = C.useCallback((z) => s((G) => P(P({}, G), z)), []), Ql = C.useCallback((z) => s((G) => P(P({}, G), z)), []), [Ph, Hl] = C.useState(!1), Yl = C.useCallback(() => Hl(!0), []), Kl = C.useCallback(() => Hl(!1), []);
11206
+ const Vl = C.useCallback((z) => b(z), []), Wl = C.useCallback((z) => s((G) => N(N({}, G), z)), []), Ql = C.useCallback((z) => s((G) => N(N({}, G), z)), []), [Nh, Hl] = C.useState(!1), Yl = C.useCallback(() => Hl(!0), []), Kl = C.useCallback(() => Hl(!1), []);
11207
11207
  return C.useEffect(() => {
11208
11208
  t && t({ setIsOpen: Vl, updateConfig: Wl, setPosition: Ql, hide: Yl, show: Kl });
11209
- }, [t, Vl, Wl, Ql, Yl, Kl]), !i || l ? null : /* @__PURE__ */ g.jsxs("div", { className: "nbc-font-sans", style: { zIndex: 2147483647, display: Ph ? "none" : void 0 }, children: [
11209
+ }, [t, Vl, Wl, Ql, Yl, Kl]), !i || l ? null : /* @__PURE__ */ g.jsxs("div", { className: "nbc-font-sans", style: { zIndex: 2147483647, display: Nh ? "none" : void 0 }, children: [
11210
11210
  ft.showPopup !== !1 && /* @__PURE__ */ g.jsx(
11211
11211
  ty,
11212
11212
  {
@@ -11566,15 +11566,16 @@ También puedes pedir hablar con nuestro equipo de los sueños!`, Ch = (e) => ({
11566
11566
  };
11567
11567
  })();
11568
11568
  let En = null;
11569
- const Nr = {}, Xo = {};
11570
- let Ue = null, he = null, Pa = !1, to = {};
11571
- const Na = {}, Th = (e) => {
11569
+ const Pr = {}, Xo = {};
11570
+ let Ue = null, he = null, Na = !1, to = {};
11571
+ const Pa = {}, Th = (e) => {
11572
11572
  try {
11573
11573
  if (!e.elementId)
11574
11574
  return console.error("EmbedChat: elementId is required"), null;
11575
11575
  const t = document.getElementById(e.elementId);
11576
11576
  if (!t)
11577
11577
  return null;
11578
+ t.style.setProperty("display", "block", "important"), t.childNodes.length || t.appendChild(document.createTextNode("​"));
11578
11579
  let n;
11579
11580
  t.shadowRoot ? (n = t.shadowRoot, n.innerHTML = "") : n = t.attachShadow({ mode: "open" });
11580
11581
  const r = document.createElement("style");
@@ -11587,23 +11588,23 @@ const Na = {}, Th = (e) => {
11587
11588
  const s = Rl(o);
11588
11589
  return s.render(Ar.createElement(jw, { config: e })), Xo[e.elementId] = {
11589
11590
  destroy: () => {
11590
- s.unmount(), n.innerHTML = "", delete Xo[e.elementId], Na[e.elementId] = e;
11591
+ s.unmount(), n.innerHTML = "", delete Xo[e.elementId], Pa[e.elementId] = e;
11591
11592
  }
11592
- }, Na[e.elementId] = e, Xo[e.elementId];
11593
+ }, Pa[e.elementId] = e, Xo[e.elementId];
11593
11594
  } catch (t) {
11594
11595
  return console.error("EmbedChat: Failed to initialize", t), null;
11595
11596
  }
11596
11597
  };
11597
11598
  function kt() {
11598
- let e = Nr["webchat-notchatbot"];
11599
+ let e = Pr["webchat-notchatbot"];
11599
11600
  if (!e) {
11600
- const n = P(P({}, he), to);
11601
+ const n = N(N({}, he), to);
11601
11602
  let r = "webchat-notchatbot";
11602
11603
  typeof (he == null ? void 0 : he.elementId) == "string" && he.elementId && (r = he.elementId);
11603
11604
  const t = n, { elementId: o } = t, s = Xs(t, ["elementId"]);
11604
11605
  "elementId" in s && delete s.elementId;
11605
11606
  const i = Object.assign({ elementId: r }, s);
11606
- e = Rh(i), Pa && e && e.setIsOpen && e.setIsOpen(!0);
11607
+ e = Rh(i), Na && e && e.setIsOpen && e.setIsOpen(!0);
11607
11608
  const a = new CustomEvent("WebChatReady");
11608
11609
  document.dispatchEvent(a);
11609
11610
  }
@@ -11612,19 +11613,19 @@ function kt() {
11612
11613
  const Rh = (e) => {
11613
11614
  try {
11614
11615
  let t = function(y) {
11615
- return Ar.createElement(Nw, Y(P({}, y), {
11616
+ return Ar.createElement(Pw, Y(N({}, y), {
11616
11617
  exposeControl: (w) => {
11617
11618
  a = w.setIsOpen, l = w.updateConfig, u = w.setPosition, c = w.hide, m = w.show, h = w.getIsOpen;
11618
11619
  }
11619
11620
  }));
11620
11621
  };
11621
11622
  En && (En.destroy(), En = null);
11622
- const n = P(P({
11623
+ const n = N(N({
11623
11624
  elementId: "webchat-notchatbot"
11624
11625
  }, Mw), e);
11625
11626
  he = n;
11626
11627
  let r = document.getElementById(n.elementId);
11627
- r || (r = document.createElement("div"), r.id = n.elementId, document.body.appendChild(r));
11628
+ r || (r = document.createElement("div"), r.id = n.elementId, document.body.appendChild(r)), r.style.setProperty("display", "block", "important"), r.childNodes.length || r.appendChild(document.createTextNode("​"));
11628
11629
  let o;
11629
11630
  r.shadowRoot ? (o = r.shadowRoot, o.innerHTML = "") : o = r.attachShadow({ mode: "open" }), Ue = o;
11630
11631
  const s = document.createElement("style");
@@ -11633,17 +11634,17 @@ const Rh = (e) => {
11633
11634
  o.appendChild(i);
11634
11635
  let a = null, l = null, u = null, c = null, m = null, h = null;
11635
11636
  const b = Rl(i);
11636
- return b.render(Ar.createElement(t, { config: n })), Nr[n.elementId] = {
11637
+ return b.render(Ar.createElement(t, { config: n })), Pr[n.elementId] = {
11637
11638
  root: b,
11638
11639
  destroy: () => {
11639
- b.unmount(), En = null, Ue && (Ue.innerHTML = ""), delete Nr[n.elementId];
11640
+ b.unmount(), En = null, Ue && (Ue.innerHTML = ""), delete Pr[n.elementId];
11640
11641
  },
11641
11642
  getConversationId: () => ih(),
11642
11643
  setIsOpen: (y) => {
11643
- Pa = y, a && a(y);
11644
+ Na = y, a && a(y);
11644
11645
  },
11645
11646
  updateConfig: (y) => {
11646
- he = Ma(P(P({}, he), y)), l && l(y);
11647
+ he = Ma(N(N({}, he), y)), l && l(y);
11647
11648
  },
11648
11649
  setPosition: (y) => {
11649
11650
  to = Mr(to, y), he = Ma(Mr(he || {}, y)), u && u(y), l && l(y);
@@ -11660,8 +11661,8 @@ const Rh = (e) => {
11660
11661
  const y = Ue.querySelector("style[data-custom]");
11661
11662
  y && y.remove();
11662
11663
  },
11663
- getIsOpen: () => h ? h() : Pa
11664
- }, En = Nr[n.elementId], En;
11664
+ getIsOpen: () => h ? h() : Na
11665
+ }, En = Pr[n.elementId], En;
11665
11666
  } catch (t) {
11666
11667
  return console.error("WebChat: Failed to initialize", t), null;
11667
11668
  }
@@ -11680,7 +11681,7 @@ typeof window != "undefined" && (window.WebChat = Ow, window.EmbedChat = zw, win
11680
11681
  const e = kt();
11681
11682
  e && e.setIsOpen && e.getIsOpen && e.setIsOpen(!e.getIsOpen());
11682
11683
  }, window.unmountWebChat = () => {
11683
- const e = Nr["webchat-notchatbot"];
11684
+ const e = Pr["webchat-notchatbot"];
11684
11685
  e && e.destroy();
11685
11686
  }, window.mountWebChat = () => {
11686
11687
  kt();
@@ -11692,9 +11693,9 @@ typeof window != "undefined" && (window.WebChat = Ow, window.EmbedChat = zw, win
11692
11693
  n = Mr({}, e);
11693
11694
  else if (e.device === "mobile" || e.device === "desktop") {
11694
11695
  const r = e.device;
11695
- n[r] = P(P({}, he && typeof he[r] == "object" ? he[r] : {}), e), n[r] && typeof n[r] == "object" && "device" in n[r] && delete n[r].device;
11696
+ n[r] = N(N({}, he && typeof he[r] == "object" ? he[r] : {}), e), n[r] && typeof n[r] == "object" && "device" in n[r] && delete n[r].device;
11696
11697
  } else
11697
- n = P({}, e);
11698
+ n = N({}, e);
11698
11699
  he = Ma(Mr(he || {}, n)), to = Mr(to, n), t.setPosition(n);
11699
11700
  }, window.hideWebChat = () => {
11700
11701
  const e = kt();
@@ -11716,21 +11717,21 @@ typeof window != "undefined" && (window.WebChat = Ow, window.EmbedChat = zw, win
11716
11717
  const t = Xo[e];
11717
11718
  t && t.destroy();
11718
11719
  }, window.mountEmbedChat = (e) => {
11719
- const t = Na[e];
11720
+ const t = Pa[e];
11720
11721
  t ? Th(t) : console.warn(`No config found for EmbedChat with elementId: ${e}`);
11721
11722
  });
11722
11723
  function Mr(e, t) {
11723
11724
  if (!t) return e;
11724
- const n = P({}, e);
11725
+ const n = N({}, e);
11725
11726
  for (const r of Object.keys(t))
11726
- r === "mobile" || r === "desktop" ? n[r] = P(P({}, e[r] || {}), t[r]) : n[r] = t[r];
11727
+ r === "mobile" || r === "desktop" ? n[r] = N(N({}, e[r] || {}), t[r]) : n[r] = t[r];
11727
11728
  return n;
11728
11729
  }
11729
11730
  function Ma(e) {
11730
11731
  const t = typeof e.elementId == "string" && e.elementId ? e.elementId : "webchat-notchatbot", o = e, { elementId: n } = o, r = Xs(o, ["elementId"]);
11731
- return P({ elementId: t }, r);
11732
+ return N({ elementId: t }, r);
11732
11733
  }
11733
- function No() {
11734
+ function Po() {
11734
11735
  const e = () => {
11735
11736
  const o = new CustomEvent("WebChatReady", { bubbles: !0 });
11736
11737
  document.dispatchEvent(o);
@@ -11760,10 +11761,10 @@ function No() {
11760
11761
  let s = {};
11761
11762
  if (typeof o.detail == "object")
11762
11763
  if (o.detail.mobile || o.detail.desktop)
11763
- s = P({}, o.detail);
11764
+ s = N({}, o.detail);
11764
11765
  else if (o.detail.device === "mobile" || o.detail.device === "desktop") {
11765
11766
  const i = o.detail.device;
11766
- s[i] = P(P({}, he && typeof he[i] == "object" ? he[i] : {}), o.detail), s[i] && typeof s[i] == "object" && "device" in s[i] && delete s[i].device;
11767
+ s[i] = N(N({}, he && typeof he[i] == "object" ? he[i] : {}), o.detail), s[i] && typeof s[i] == "object" && "device" in s[i] && delete s[i].device;
11767
11768
  } else ("y" in o.detail || "marginBottom" in o.detail) && (s = {}, "y" in o.detail && (s.marginBottom = parseInt(o.detail.y, 10)), "x" in o.detail && (s.marginSide = parseInt(o.detail.x, 10)), "marginBottom" in o.detail && (s.marginBottom = parseInt(o.detail.marginBottom, 10)), "marginSide" in o.detail && (s.marginSide = parseInt(o.detail.marginSide, 10)));
11768
11769
  window.setWebChatPosition(s);
11769
11770
  }
@@ -11783,9 +11784,9 @@ function No() {
11783
11784
  };
11784
11785
  r();
11785
11786
  }
11786
- e() ? document.readyState === "complete" ? setTimeout(() => t(No), 0) : window.addEventListener("load", () => {
11787
- t(No);
11788
- }) : document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", No) : setTimeout(No, 0);
11787
+ e() ? document.readyState === "complete" ? setTimeout(() => t(Po), 0) : window.addEventListener("load", () => {
11788
+ t(Po);
11789
+ }) : document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", Po) : setTimeout(Po, 0);
11789
11790
  });
11790
11791
  export {
11791
11792
  zw as EmbedChatAPI,