@eka-care/medassist-widget 0.1.86 → 0.1.87

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,4 +1,4 @@
1
- var kn, W, Si, Et, Vo, wi, Ci, gr, Yn, wn, Ti, Qr, Ur, $r, Ni, Jn = {}, Qn = [], yl = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, Rn = Array.isArray;
1
+ var kn, W, Si, Et, Uo, wi, Ci, gr, Yn, wn, Ti, Qr, Vr, $r, Ni, Jn = {}, Qn = [], yl = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, Rn = Array.isArray;
2
2
  function Je(e, t) {
3
3
  for (var n in t) e[n] = t[n];
4
4
  return e;
@@ -25,15 +25,15 @@ function be(e) {
25
25
  function Ge(e, t) {
26
26
  this.props = e, this.context = t;
27
27
  }
28
- function Ut(e, t) {
29
- if (t == null) return e.__ ? Ut(e.__, e.__i + 1) : null;
28
+ function Vt(e, t) {
29
+ if (t == null) return e.__ ? Vt(e.__, e.__i + 1) : null;
30
30
  for (var n; t < e.__k.length; t++) if ((n = e.__k[t]) != null && n.__e != null) return n.__e;
31
- return typeof e.type == "function" ? Ut(e) : null;
31
+ return typeof e.type == "function" ? Vt(e) : null;
32
32
  }
33
33
  function vl(e) {
34
34
  if (e.__P && e.__d) {
35
35
  var t = e.__v, n = t.__e, r = [], o = [], s = Je({}, t);
36
- s.__v = t.__v + 1, W.vnode && W.vnode(s), to(e.__P, s, t, e.__n, e.__P.namespaceURI, 32 & t.__u ? [n] : null, r, n ?? Ut(t), !!(32 & t.__u), o), s.__v = t.__v, s.__.__k[s.__i] = s, Ai(r, s, o), t.__e = t.__ = null, s.__e != n && ki(s);
36
+ s.__v = t.__v + 1, W.vnode && W.vnode(s), to(e.__P, s, t, e.__n, e.__P.namespaceURI, 32 & t.__u ? [n] : null, r, n ?? Vt(t), !!(32 & t.__u), o), s.__v = t.__v, s.__.__k[s.__i] = s, Ai(r, s, o), t.__e = t.__ = null, s.__e != n && ki(s);
37
37
  }
38
38
  }
39
39
  function ki(e) {
@@ -42,7 +42,7 @@ function ki(e) {
42
42
  }), ki(e);
43
43
  }
44
44
  function zr(e) {
45
- (!e.__d && (e.__d = !0) && Et.push(e) && !er.__r++ || Vo != W.debounceRendering) && ((Vo = W.debounceRendering) || wi)(er);
45
+ (!e.__d && (e.__d = !0) && Et.push(e) && !er.__r++ || Uo != W.debounceRendering) && ((Uo = W.debounceRendering) || wi)(er);
46
46
  }
47
47
  function er() {
48
48
  try {
@@ -59,7 +59,7 @@ function Ri(e, t, n, r, o, s, a, i, c, d, m) {
59
59
  function Sl(e, t, n, r, o) {
60
60
  var s, a, i, c, d, m = n.length, u = m, p = 0;
61
61
  for (e.__k = new Array(o), s = 0; s < o; s++) (a = t[s]) != null && typeof a != "boolean" && typeof a != "function" ? (typeof a == "string" || typeof a == "number" || typeof a == "bigint" || a.constructor == String ? a = e.__k[s] = Cn(null, a, null, null, null) : Rn(a) ? a = e.__k[s] = Cn(be, { children: a }, null, null, null) : a.constructor === void 0 && a.__b > 0 ? a = e.__k[s] = Cn(a.type, a.props, a.key, a.ref ? a.ref : null, a.__v) : e.__k[s] = a, c = s + p, a.__ = e, a.__b = e.__b + 1, i = null, (d = a.__i = wl(a, n, c, u)) != -1 && (u--, (i = n[d]) && (i.__u |= 2)), i == null || i.__v == null ? (d == -1 && (o > m ? p-- : o < m && p++), typeof a.type != "function" && (a.__u |= 4)) : d != c && (d == c - 1 ? p-- : d == c + 1 ? p++ : (d > c ? p-- : p++, a.__u |= 4))) : e.__k[s] = null;
62
- if (u) for (s = 0; s < m; s++) (i = n[s]) != null && (2 & i.__u) == 0 && (i.__e == r && (r = Ut(i)), Mi(i, i));
62
+ if (u) for (s = 0; s < m; s++) (i = n[s]) != null && (2 & i.__u) == 0 && (i.__e == r && (r = Vt(i)), Mi(i, i));
63
63
  return r;
64
64
  }
65
65
  function Ii(e, t, n, r) {
@@ -68,7 +68,7 @@ function Ii(e, t, n, r) {
68
68
  for (o = e.__k, s = 0; o && s < o.length; s++) o[s] && (o[s].__ = e, t = Ii(o[s], t, n, r));
69
69
  return t;
70
70
  }
71
- e.__e != t && (r && (t && e.type && !t.parentNode && (t = Ut(e)), n.insertBefore(e.__e, t || null)), t = e.__e);
71
+ e.__e != t && (r && (t && e.type && !t.parentNode && (t = Vt(e)), n.insertBefore(e.__e, t || null)), t = e.__e);
72
72
  do
73
73
  t = t && t.nextSibling;
74
74
  while (t != null && t.nodeType == 8);
@@ -87,17 +87,17 @@ function wl(e, t, n, r) {
87
87
  }
88
88
  return -1;
89
89
  }
90
- function Uo(e, t, n) {
90
+ function Vo(e, t, n) {
91
91
  t[0] == "-" ? e.setProperty(t, n ?? "") : e[t] = n == null ? "" : typeof n != "number" || yl.test(t) ? n : n + "px";
92
92
  }
93
93
  function Fn(e, t, n, r, o) {
94
94
  var s, a;
95
95
  e: if (t == "style") if (typeof n == "string") e.style.cssText = n;
96
96
  else {
97
- if (typeof r == "string" && (e.style.cssText = r = ""), r) for (t in r) n && t in n || Uo(e.style, t, "");
98
- if (n) for (t in n) r && n[t] == r[t] || Uo(e.style, t, n[t]);
97
+ if (typeof r == "string" && (e.style.cssText = r = ""), r) for (t in r) n && t in n || Vo(e.style, t, "");
98
+ if (n) for (t in n) r && n[t] == r[t] || Vo(e.style, t, n[t]);
99
99
  }
100
- else if (t[0] == "o" && t[1] == "n") s = t != (t = t.replace(Ti, "$1")), a = t.toLowerCase(), t = a in e || t == "onFocusOut" || t == "onFocusIn" ? a.slice(2) : t.slice(2), e.l || (e.l = {}), e.l[t + s] = n, n ? r ? n[wn] = r[wn] : (n[wn] = Qr, e.addEventListener(t, s ? $r : Ur, s)) : e.removeEventListener(t, s ? $r : Ur, s);
100
+ else if (t[0] == "o" && t[1] == "n") s = t != (t = t.replace(Ti, "$1")), a = t.toLowerCase(), t = a in e || t == "onFocusOut" || t == "onFocusIn" ? a.slice(2) : t.slice(2), e.l || (e.l = {}), e.l[t + s] = n, n ? r ? n[wn] = r[wn] : (n[wn] = Qr, e.addEventListener(t, s ? $r : Vr, s)) : e.removeEventListener(t, s ? $r : Vr, s);
101
101
  else {
102
102
  if (o == "http://www.w3.org/2000/svg") t = t.replace(/xlink(H|:h)/, "h").replace(/sName$/, "s");
103
103
  else if (t != "width" && t != "height" && t != "href" && t != "list" && t != "form" && t != "tabIndex" && t != "download" && t != "rowSpan" && t != "colSpan" && t != "role" && t != "popover" && t in e) try {
@@ -190,7 +190,7 @@ function Cl(e, t, n, r, o, s, a, i, c) {
190
190
  for (d in y) h = y[d], d == "dangerouslySetInnerHTML" ? u = h : d == "children" || d in f || d == "value" && "defaultValue" in f || d == "checked" && "defaultChecked" in f || Fn(e, d, null, h, o);
191
191
  for (d in f) h = f[d], d == "children" ? p = h : d == "dangerouslySetInnerHTML" ? m = h : d == "value" ? _ = h : d == "checked" ? b = h : i && typeof h != "function" || y[d] === h || Fn(e, d, h, y[d], o);
192
192
  if (m) i || u && (m.__html == u.__html || m.__html == e.innerHTML) || (e.innerHTML = m.__html), t.__k = [];
193
- else if (u && (e.innerHTML = ""), Ri(t.type == "template" ? e.content : e, Rn(p) ? p : [p], t, n, r, g == "foreignObject" ? "http://www.w3.org/1999/xhtml" : o, s, a, s ? s[0] : n.__k && Ut(n, 0), i, c), s != null) for (d = s.length; d--; ) eo(s[d]);
193
+ else if (u && (e.innerHTML = ""), Ri(t.type == "template" ? e.content : e, Rn(p) ? p : [p], t, n, r, g == "foreignObject" ? "http://www.w3.org/1999/xhtml" : o, s, a, s ? s[0] : n.__k && Vt(n, 0), i, c), s != null) for (d = s.length; d--; ) eo(s[d]);
194
194
  i && g != "textarea" || (d = "value", g == "progress" && _ == null ? e.removeAttribute("value") : _ != null && (_ !== e[d] || g == "progress" && !_ || g == "option" && _ != y[d]) && Fn(e, d, _, y[d], o), d = "checked", b != null && b != e[d] && Fn(e, d, b, y[d], o));
195
195
  }
196
196
  return e;
@@ -270,7 +270,7 @@ kn = Qn.slice, W = { __e: function(e, t, n, r) {
270
270
  this.__v && (this.__e = !0, e && this.__h.push(e), zr(this));
271
271
  }, Ge.prototype.render = be, Et = [], wi = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, Ci = function(e, t) {
272
272
  return e.__v.__b - t.__v.__b;
273
- }, er.__r = 0, gr = Math.random().toString(8), Yn = "__d" + gr, wn = "__a" + gr, Ti = /(PointerCapture)$|Capture$/i, Qr = 0, Ur = $o(!1), $r = $o(!0), Ni = 0;
273
+ }, er.__r = 0, gr = Math.random().toString(8), Yn = "__d" + gr, wn = "__a" + gr, Ti = /(PointerCapture)$|Capture$/i, Qr = 0, Vr = $o(!1), $r = $o(!0), Ni = 0;
274
274
  var xl = 0;
275
275
  function l(e, t, n, r, o, s) {
276
276
  t || (t = {});
@@ -286,7 +286,7 @@ function It(e, t) {
286
286
  var n = fe.__H || (fe.__H = { __: [], __h: [] });
287
287
  return e >= n.__.length && n.__.push({}), n.__[e];
288
288
  }
289
- function U(e) {
289
+ function V(e) {
290
290
  return $t = 1, Gt(Di, e);
291
291
  }
292
292
  function Gt(e, t, n) {
@@ -366,7 +366,7 @@ function oo(e, t) {
366
366
  ye.useDebugValue && ye.useDebugValue(t ? t(e) : e);
367
367
  }
368
368
  function kl(e) {
369
- var t = It(at++, 10), n = U();
369
+ var t = It(at++, 10), n = V();
370
370
  return t.__ = e, fe.componentDidCatch || (fe.componentDidCatch = function(r, o) {
371
371
  t.__ && t.__(r, o), n[1](r);
372
372
  }), [n[0], function() {
@@ -464,7 +464,7 @@ function Hr(e, t) {
464
464
  return !1;
465
465
  }
466
466
  function ao(e, t) {
467
- var n = t(), r = U({ t: { __: n, u: t } }), o = r[0].t, s = r[1];
467
+ var n = t(), r = V({ t: { __: n, u: t } }), o = r[0].t, s = r[1];
468
468
  return lt(function() {
469
469
  o.__ = n, o.u = t, Er(o) && s({ t: o });
470
470
  }, [e, n, t]), $(function() {
@@ -521,7 +521,7 @@ function K(e) {
521
521
  }
522
522
  var Zo = function(e, t) {
523
523
  return e == null ? null : st(st(e).map(t));
524
- }, Ue = { map: Zo, forEach: Zo, count: function(e) {
524
+ }, Ve = { map: Zo, forEach: Zo, count: function(e) {
525
525
  return e ? st(e).length : 0;
526
526
  }, only: function(e) {
527
527
  var t = st(e);
@@ -535,16 +535,16 @@ W.__e = function(e, t, n, r) {
535
535
  Ol(e, t, n, r);
536
536
  };
537
537
  var Xo = W.unmount;
538
- function Vi(e, t, n) {
538
+ function Ui(e, t, n) {
539
539
  return e && (e.__c && e.__c.__H && (e.__c.__H.__.forEach(function(r) {
540
540
  typeof r.__c == "function" && r.__c();
541
541
  }), e.__c.__H = null), (e = Fi({}, e)).__c != null && (e.__c.__P === n && (e.__c.__P = t), e.__c.__e = !0, e.__c = null), e.__k = e.__k && e.__k.map(function(r) {
542
- return Vi(r, t, n);
542
+ return Ui(r, t, n);
543
543
  })), e;
544
544
  }
545
- function Ui(e, t, n) {
545
+ function Vi(e, t, n) {
546
546
  return e && n && (e.__v = null, e.__k = e.__k && e.__k.map(function(r) {
547
- return Ui(r, t, n);
547
+ return Vi(r, t, n);
548
548
  }), e.__c && e.__c.__P === t && (e.__e && n.appendChild(e.__e), e.__c.__e = !0, e.__c.__P = n)), e;
549
549
  }
550
550
  function Re() {
@@ -567,7 +567,7 @@ function dt(e) {
567
567
  }
568
568
  return s.displayName = "Lazy", s.__f = !0, s;
569
569
  }
570
- function Vt() {
570
+ function Ut() {
571
571
  this.i = null, this.l = null;
572
572
  }
573
573
  W.unmount = function(e) {
@@ -586,7 +586,7 @@ W.unmount = function(e) {
586
586
  if (!--r.__u) {
587
587
  if (r.state.__a) {
588
588
  var d = r.state.__a;
589
- r.__v.__k[0] = Ui(d, d.__c.__P, d.__c.__O);
589
+ r.__v.__k[0] = Vi(d, d.__c.__P, d.__c.__O);
590
590
  }
591
591
  var m;
592
592
  for (r.setState({ __a: r.__b = null }); m = r.o.pop(); ) m.__P = i, m.forceUpdate();
@@ -599,7 +599,7 @@ W.unmount = function(e) {
599
599
  if (this.__b) {
600
600
  if (this.__v.__k) {
601
601
  var n = document.createElement("div"), r = this.__v.__k[0].__c;
602
- this.__v.__k[0] = Vi(this.__b, n, r.__O = r.__P);
602
+ this.__v.__k[0] = Ui(this.__b, n, r.__O = r.__P);
603
603
  }
604
604
  this.__b = null;
605
605
  }
@@ -638,7 +638,7 @@ function zi(e, t) {
638
638
  var n = De(Pl, { __v: e, h: t });
639
639
  return n.containerInfo = t, n;
640
640
  }
641
- (Vt.prototype = new Ge()).__a = function(e) {
641
+ (Ut.prototype = new Ge()).__a = function(e) {
642
642
  var t = this, n = $i(t.__v), r = t.l.get(e);
643
643
  return r[0]++, function(o) {
644
644
  var s = function() {
@@ -646,19 +646,19 @@ function zi(e, t) {
646
646
  };
647
647
  n ? n(s) : s();
648
648
  };
649
- }, Vt.prototype.render = function(e) {
649
+ }, Ut.prototype.render = function(e) {
650
650
  this.i = null, this.l = /* @__PURE__ */ new Map();
651
651
  var t = st(e.children);
652
652
  e.revealOrder && e.revealOrder[0] === "b" && t.reverse();
653
653
  for (var n = t.length; n--; ) this.l.set(t[n], this.i = [1, 0, this.i]);
654
654
  return e.children;
655
- }, Vt.prototype.componentDidUpdate = Vt.prototype.componentDidMount = function() {
655
+ }, Ut.prototype.componentDidUpdate = Ut.prototype.componentDidMount = function() {
656
656
  var e = this;
657
657
  this.l.forEach(function(t, n) {
658
658
  Jo(e, n, t);
659
659
  });
660
660
  };
661
- var Bi = typeof Symbol < "u" && Symbol.for && Symbol.for("react.element") || 60103, Ll = /^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/, Dl = /^on(Ani|Tra|Tou|BeforeInp|Compo)/, Fl = /[A-Z0-9]/g, Vl = typeof document < "u", Ul = function(e) {
661
+ var Bi = typeof Symbol < "u" && Symbol.for && Symbol.for("react.element") || 60103, Ll = /^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/, Dl = /^on(Ani|Tra|Tou|BeforeInp|Compo)/, Fl = /[A-Z0-9]/g, Ul = typeof document < "u", Vl = function(e) {
662
662
  return (typeof Symbol < "u" && typeof Symbol() == "symbol" ? /fil|che|rad/ : /fil|che|ra/).test(e);
663
663
  };
664
664
  function mo(e, t, n) {
@@ -691,9 +691,9 @@ W.vnode = function(e) {
691
691
  var n = t.props, r = t.type, o = {}, s = r.indexOf("-") == -1;
692
692
  for (var a in n) {
693
693
  var i = n[a];
694
- if (!(a === "value" && "defaultValue" in n && i == null || Vl && a === "children" && r === "noscript" || a === "class" || a === "className")) {
694
+ if (!(a === "value" && "defaultValue" in n && i == null || Ul && a === "children" && r === "noscript" || a === "class" || a === "className")) {
695
695
  var c = a.toLowerCase();
696
- a === "defaultValue" && "value" in n && n.value == null ? a = "value" : a === "download" && i === !0 ? i = "" : c === "translate" && i === "no" ? i = !1 : c[0] === "o" && c[1] === "n" ? c === "ondoubleclick" ? a = "ondblclick" : c !== "onchange" || r !== "input" && r !== "textarea" || Ul(n.type) ? c === "onfocus" ? a = "onfocusin" : c === "onblur" ? a = "onfocusout" : Dl.test(a) && (a = c) : c = a = "oninput" : s && Ll.test(a) ? a = a.replace(Fl, "-$&").toLowerCase() : i === null && (i = void 0), c === "oninput" && o[a = c] && (a = "oninputCapture"), o[a] = i;
696
+ a === "defaultValue" && "value" in n && n.value == null ? a = "value" : a === "download" && i === !0 ? i = "" : c === "translate" && i === "no" ? i = !1 : c[0] === "o" && c[1] === "n" ? c === "ondoubleclick" ? a = "ondblclick" : c !== "onchange" || r !== "input" && r !== "textarea" || Vl(n.type) ? c === "onfocus" ? a = "onfocusin" : c === "onblur" ? a = "onfocusout" : Dl.test(a) && (a = c) : c = a = "oninput" : s && Ll.test(a) ? a = a.replace(Fl, "-$&").toLowerCase() : i === null && (i = void 0), c === "oninput" && o[a = c] && (a = "oninputCapture"), o[a] = i;
697
697
  }
698
698
  }
699
699
  r == "select" && (o.multiple && Array.isArray(o.value) && (o.value = st(n.children).forEach(function(d) {
@@ -715,7 +715,7 @@ W.diffed = function(e) {
715
715
  };
716
716
  var Hi = { ReactCurrentDispatcher: { current: { readContext: function(e) {
717
717
  return po.__n[e.__c].props.value;
718
- }, useCallback: ae, useContext: ct, useDebugValue: oo, useDeferredValue: co, useEffect: $, useId: so, useImperativeHandle: ro, useInsertionEffect: ho, useLayoutEffect: lt, useMemo: de, useReducer: Gt, useRef: G, useState: U, useSyncExternalStore: ao, useTransition: uo } } }, zl = "18.3.1";
718
+ }, useCallback: ae, useContext: ct, useDebugValue: oo, useDeferredValue: co, useEffect: $, useId: so, useImperativeHandle: ro, useInsertionEffect: ho, useLayoutEffect: lt, useMemo: de, useReducer: Gt, useRef: G, useState: V, useSyncExternalStore: ao, useTransition: uo } } }, zl = "18.3.1";
719
719
  function Gi(e) {
720
720
  return De.bind(null, e);
721
721
  }
@@ -746,8 +746,8 @@ var Ki = function(e, t) {
746
746
  };
747
747
  var r = e(t);
748
748
  return W.debounceRendering = n, r;
749
- }, Xi = $e, Sn = { useState: U, useId: so, useReducer: Gt, useEffect: $, useLayoutEffect: lt, useInsertionEffect: ho, useTransition: uo, useDeferredValue: co, useSyncExternalStore: ao, startTransition: lo, useRef: G, useImperativeHandle: ro, useMemo: de, useCallback: ae, useContext: ct, useDebugValue: oo, version: "18.3.1", Children: Ue, render: mo, hydrate: ji, unmountComponentAtNode: go, createPortal: zi, createElement: De, createContext: it, createFactory: Gi, cloneElement: yt, createRef: xi, Fragment: be, isValidElement: $e, isElement: Xi, isFragment: Wi, isMemo: qi, findDOMNode: Yi, Component: Ge, PureComponent: tr, memo: fo, forwardRef: K, flushSync: Zi, unstable_batchedUpdates: Ki, StrictMode: be, Suspense: Re, SuspenseList: Vt, lazy: dt, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: Hi };
750
- const Ji = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, Children: Ue, Component: Ge, Fragment: be, PureComponent: tr, StrictMode: be, Suspense: Re, SuspenseList: Vt, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: Hi, cloneElement: yt, createContext: it, createElement: De, createFactory: Gi, createPortal: zi, createRef: xi, default: Sn, findDOMNode: Yi, flushSync: Zi, forwardRef: K, hydrate: ji, isElement: Xi, isFragment: Wi, isMemo: qi, isValidElement: $e, lazy: dt, memo: fo, render: mo, startTransition: lo, unmountComponentAtNode: go, unstable_batchedUpdates: Ki, useCallback: ae, useContext: ct, useDebugValue: oo, useDeferredValue: co, useEffect: $, useErrorBoundary: kl, useId: so, useImperativeHandle: ro, useInsertionEffect: ho, useLayoutEffect: lt, useMemo: de, useReducer: Gt, useRef: G, useState: U, useSyncExternalStore: ao, useTransition: uo, version: zl }, Symbol.toStringTag, { value: "Module" }));
749
+ }, Xi = $e, Sn = { useState: V, useId: so, useReducer: Gt, useEffect: $, useLayoutEffect: lt, useInsertionEffect: ho, useTransition: uo, useDeferredValue: co, useSyncExternalStore: ao, startTransition: lo, useRef: G, useImperativeHandle: ro, useMemo: de, useCallback: ae, useContext: ct, useDebugValue: oo, version: "18.3.1", Children: Ve, render: mo, hydrate: ji, unmountComponentAtNode: go, createPortal: zi, createElement: De, createContext: it, createFactory: Gi, cloneElement: yt, createRef: xi, Fragment: be, isValidElement: $e, isElement: Xi, isFragment: Wi, isMemo: qi, findDOMNode: Yi, Component: Ge, PureComponent: tr, memo: fo, forwardRef: K, flushSync: Zi, unstable_batchedUpdates: Ki, StrictMode: be, Suspense: Re, SuspenseList: Ut, lazy: dt, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: Hi };
750
+ const Ji = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, Children: Ve, Component: Ge, Fragment: be, PureComponent: tr, StrictMode: be, Suspense: Re, SuspenseList: Ut, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: Hi, cloneElement: yt, createContext: it, createElement: De, createFactory: Gi, createPortal: zi, createRef: xi, default: Sn, findDOMNode: Yi, flushSync: Zi, forwardRef: K, hydrate: ji, isElement: Xi, isFragment: Wi, isMemo: qi, isValidElement: $e, lazy: dt, memo: fo, render: mo, startTransition: lo, unmountComponentAtNode: go, unstable_batchedUpdates: Ki, useCallback: ae, useContext: ct, useDebugValue: oo, useDeferredValue: co, useEffect: $, useErrorBoundary: kl, useId: so, useImperativeHandle: ro, useInsertionEffect: ho, useLayoutEffect: lt, useMemo: de, useReducer: Gt, useRef: G, useState: V, useSyncExternalStore: ao, useTransition: uo, version: zl }, Symbol.toStringTag, { value: "Module" }));
751
751
  function Bl(e) {
752
752
  return {
753
753
  // eslint-disable-next-line
@@ -787,9 +787,9 @@ function At(...e) {
787
787
  // @__NO_SIDE_EFFECTS__
788
788
  function jl(e) {
789
789
  const t = /* @__PURE__ */ Hl(e), n = K((r, o) => {
790
- const { children: s, ...a } = r, i = Ue.toArray(s), c = i.find(Wl);
790
+ const { children: s, ...a } = r, i = Ve.toArray(s), c = i.find(Wl);
791
791
  if (c) {
792
- const d = c.props.children, m = i.map((u) => u === c ? Ue.count(d) > 1 ? Ue.only(null) : $e(d) ? d.props.children : null : u);
792
+ const d = c.props.children, m = i.map((u) => u === c ? Ve.count(d) > 1 ? Ve.only(null) : $e(d) ? d.props.children : null : u);
793
793
  return /* @__PURE__ */ l(t, { ...a, ref: o, children: $e(d) ? yt(d, void 0, m) : null });
794
794
  }
795
795
  return /* @__PURE__ */ l(t, { ...a, ref: o, children: s });
@@ -804,7 +804,7 @@ function Hl(e) {
804
804
  const a = Yl(o), i = ql(s, o.props);
805
805
  return o.type !== be && (i.ref = r ? _o(r, a) : a), yt(o, i);
806
806
  }
807
- return Ue.count(o) > 1 ? Ue.only(null) : null;
807
+ return Ve.count(o) > 1 ? Ve.only(null) : null;
808
808
  });
809
809
  return t.displayName = `${e}.SlotClone`, t;
810
810
  }
@@ -857,12 +857,12 @@ function Zl(e, t) {
857
857
  return Gt((n, r) => t[n][r] ?? n, e);
858
858
  }
859
859
  var An = (e) => {
860
- const { present: t, children: n } = e, r = Xl(t), o = typeof n == "function" ? n({ present: r.isPresent }) : Ue.only(n), s = At(r.ref, Jl(o));
860
+ const { present: t, children: n } = e, r = Xl(t), o = typeof n == "function" ? n({ present: r.isPresent }) : Ve.only(n), s = At(r.ref, Jl(o));
861
861
  return typeof n == "function" || r.isPresent ? yt(o, { ref: s }) : null;
862
862
  };
863
863
  An.displayName = "Presence";
864
864
  function Xl(e) {
865
- const [t, n] = U(), r = G(null), o = G(e), s = G("none"), a = e ? "mounted" : "unmounted", [i, c] = Zl(a, {
865
+ const [t, n] = V(), r = G(null), o = G(e), s = G("none"), a = e ? "mounted" : "unmounted", [i, c] = Zl(a, {
866
866
  mounted: {
867
867
  UNMOUNT: "unmounted",
868
868
  ANIMATION_OUT: "unmountSuspended"
@@ -876,19 +876,19 @@ function Xl(e) {
876
876
  }
877
877
  });
878
878
  return $(() => {
879
- const d = Vn(r.current);
879
+ const d = Un(r.current);
880
880
  s.current = i === "mounted" ? d : "none";
881
881
  }, [i]), zt(() => {
882
882
  const d = r.current, m = o.current;
883
883
  if (m !== e) {
884
- const p = s.current, h = Vn(d);
884
+ const p = s.current, h = Un(d);
885
885
  e ? c("MOUNT") : h === "none" || d?.display === "none" ? c("UNMOUNT") : c(m && p !== h ? "ANIMATION_OUT" : "UNMOUNT"), o.current = e;
886
886
  }
887
887
  }, [e, c]), zt(() => {
888
888
  if (t) {
889
889
  let d;
890
890
  const m = t.ownerDocument.defaultView ?? window, u = (h) => {
891
- const b = Vn(r.current).includes(CSS.escape(h.animationName));
891
+ const b = Un(r.current).includes(CSS.escape(h.animationName));
892
892
  if (h.target === t && b && (c("ANIMATION_END"), !o.current)) {
893
893
  const y = t.style.animationFillMode;
894
894
  t.style.animationFillMode = "forwards", d = m.setTimeout(() => {
@@ -896,7 +896,7 @@ function Xl(e) {
896
896
  });
897
897
  }
898
898
  }, p = (h) => {
899
- h.target === t && (s.current = Vn(r.current));
899
+ h.target === t && (s.current = Un(r.current));
900
900
  };
901
901
  return t.addEventListener("animationstart", p), t.addEventListener("animationcancel", u), t.addEventListener("animationend", u), () => {
902
902
  m.clearTimeout(d), t.removeEventListener("animationstart", p), t.removeEventListener("animationcancel", u), t.removeEventListener("animationend", u);
@@ -910,7 +910,7 @@ function Xl(e) {
910
910
  }, [])
911
911
  };
912
912
  }
913
- function Vn(e) {
913
+ function Un(e) {
914
914
  return e?.animationName || "none";
915
915
  }
916
916
  function Jl(e) {
@@ -996,7 +996,7 @@ var Eo = "ScrollArea", [Qi] = Ql(Eo), [sc, We] = Qi(Eo), ea = K(
996
996
  dir: o,
997
997
  scrollHideDelay: s = 600,
998
998
  ...a
999
- } = e, [i, c] = U(null), [d, m] = U(null), [u, p] = U(null), [h, _] = U(null), [b, y] = U(null), [f, g] = U(0), [E, N] = U(0), [w, C] = U(!1), [T, S] = U(!1), v = At(t, (O) => c(O)), x = nc(o);
999
+ } = e, [i, c] = V(null), [d, m] = V(null), [u, p] = V(null), [h, _] = V(null), [b, y] = V(null), [f, g] = V(0), [E, N] = V(0), [w, C] = V(!1), [T, S] = V(!1), v = At(t, (O) => c(O)), x = nc(o);
1000
1000
  return /* @__PURE__ */ l(
1001
1001
  sc,
1002
1002
  {
@@ -1091,7 +1091,7 @@ var Qe = "ScrollAreaScrollbar", bo = K(
1091
1091
  );
1092
1092
  bo.displayName = Qe;
1093
1093
  var ic = K((e, t) => {
1094
- const { forceMount: n, ...r } = e, o = We(Qe, e.__scopeScrollArea), [s, a] = U(!1);
1094
+ const { forceMount: n, ...r } = e, o = We(Qe, e.__scopeScrollArea), [s, a] = V(!1);
1095
1095
  return $(() => {
1096
1096
  const i = o.scrollArea;
1097
1097
  let c = 0;
@@ -1158,7 +1158,7 @@ var ic = K((e, t) => {
1158
1158
  }
1159
1159
  ) });
1160
1160
  }), ra = K((e, t) => {
1161
- const n = We(Qe, e.__scopeScrollArea), { forceMount: r, ...o } = e, [s, a] = U(!1), i = e.orientation === "horizontal", c = cr(() => {
1161
+ const n = We(Qe, e.__scopeScrollArea), { forceMount: r, ...o } = e, [s, a] = V(!1), i = e.orientation === "horizontal", c = cr(() => {
1162
1162
  if (n.viewport) {
1163
1163
  const d = n.viewport.offsetWidth < n.viewport.scrollWidth, m = n.viewport.offsetHeight < n.viewport.scrollHeight;
1164
1164
  a(i ? d : m);
@@ -1173,7 +1173,7 @@ var ic = K((e, t) => {
1173
1173
  }
1174
1174
  ) });
1175
1175
  }), yo = K((e, t) => {
1176
- const { orientation: n = "vertical", ...r } = e, o = We(Qe, e.__scopeScrollArea), s = G(null), a = G(0), [i, c] = U({
1176
+ const { orientation: n = "vertical", ...r } = e, o = We(Qe, e.__scopeScrollArea), s = G(null), a = G(0), [i, c] = V({
1177
1177
  content: 0,
1178
1178
  viewport: 0,
1179
1179
  scrollbar: { size: 0, paddingStart: 0, paddingEnd: 0 }
@@ -1227,7 +1227,7 @@ var ic = K((e, t) => {
1227
1227
  }
1228
1228
  ) : null;
1229
1229
  }), lc = K((e, t) => {
1230
- const { sizes: n, onSizesChange: r, ...o } = e, s = We(Qe, e.__scopeScrollArea), [a, i] = U(), c = G(null), d = At(t, c, s.onScrollbarXChange);
1230
+ const { sizes: n, onSizesChange: r, ...o } = e, s = We(Qe, e.__scopeScrollArea), [a, i] = V(), c = G(null), d = At(t, c, s.onScrollbarXChange);
1231
1231
  return $(() => {
1232
1232
  c.current && i(getComputedStyle(c.current));
1233
1233
  }, [c]), /* @__PURE__ */ l(
@@ -1266,7 +1266,7 @@ var ic = K((e, t) => {
1266
1266
  }
1267
1267
  );
1268
1268
  }), cc = K((e, t) => {
1269
- const { sizes: n, onSizesChange: r, ...o } = e, s = We(Qe, e.__scopeScrollArea), [a, i] = U(), c = G(null), d = At(t, c, s.onScrollbarYChange);
1269
+ const { sizes: n, onSizesChange: r, ...o } = e, s = We(Qe, e.__scopeScrollArea), [a, i] = V(), c = G(null), d = At(t, c, s.onScrollbarYChange);
1270
1270
  return $(() => {
1271
1271
  c.current && i(getComputedStyle(c.current));
1272
1272
  }, [c]), /* @__PURE__ */ l(
@@ -1318,7 +1318,7 @@ var ic = K((e, t) => {
1318
1318
  onWheelScroll: m,
1319
1319
  onResize: u,
1320
1320
  ...p
1321
- } = e, h = We(Qe, n), [_, b] = U(null), y = At(t, (v) => b(v)), f = G(null), g = G(""), E = h.viewport, N = r.content - r.viewport, w = bt(m), C = bt(c), T = cr(u, 10);
1321
+ } = e, h = We(Qe, n), [_, b] = V(null), y = At(t, (v) => b(v)), f = G(null), g = G(""), E = h.viewport, N = r.content - r.viewport, w = bt(m), C = bt(c), T = cr(u, 10);
1322
1322
  function S(v) {
1323
1323
  if (f.current) {
1324
1324
  const x = v.clientX - f.current.left, O = v.clientY - f.current.top;
@@ -1412,7 +1412,7 @@ var vo = "ScrollAreaCorner", aa = K(
1412
1412
  );
1413
1413
  aa.displayName = vo;
1414
1414
  var hc = K((e, t) => {
1415
- const { __scopeScrollArea: n, ...r } = e, o = We(vo, n), [s, a] = U(0), [i, c] = U(0), d = !!(s && i);
1415
+ const { __scopeScrollArea: n, ...r } = e, o = We(vo, n), [s, a] = V(0), [i, c] = V(0), d = !!(s && i);
1416
1416
  return Bt(o.scrollbarX, () => {
1417
1417
  const m = o.scrollbarX?.offsetHeight || 0;
1418
1418
  o.onCornerHeightChange(m), c(m);
@@ -4281,9 +4281,9 @@ function Pc() {
4281
4281
  Object.defineProperty(e, "__esModule", { value: !0 }), n(/* @__PURE__ */ ya(), e);
4282
4282
  })(Tt)), Tt;
4283
4283
  }
4284
- var Vs;
4284
+ var Us;
4285
4285
  function Lc() {
4286
- return Vs || (Vs = 1, (function(e) {
4286
+ return Us || (Us = 1, (function(e) {
4287
4287
  var t = St && St.__createBinding || (Object.create ? (function(f, g, E, N) {
4288
4288
  N === void 0 && (N = E);
4289
4289
  var w = Object.getOwnPropertyDescriptor(g, E);
@@ -4406,7 +4406,7 @@ const Dc = (e, t) => {
4406
4406
  nextPart: e,
4407
4407
  validators: t,
4408
4408
  classGroupId: n
4409
- }), sr = "-", Us = [], Vc = "arbitrary..", Uc = (e) => {
4409
+ }), sr = "-", Vs = [], Uc = "arbitrary..", Vc = (e) => {
4410
4410
  const t = zc(e), {
4411
4411
  conflictingClassGroups: n,
4412
4412
  conflictingClassGroupModifiers: r
@@ -4421,9 +4421,9 @@ const Dc = (e, t) => {
4421
4421
  getConflictingClassGroupIds: (a, i) => {
4422
4422
  if (i) {
4423
4423
  const c = r[a], d = n[a];
4424
- return c ? d ? Dc(d, c) : c : d || Us;
4424
+ return c ? d ? Dc(d, c) : c : d || Vs;
4425
4425
  }
4426
- return n[a] || Us;
4426
+ return n[a] || Vs;
4427
4427
  }
4428
4428
  };
4429
4429
  }, Ca = (e, t, n) => {
@@ -4445,7 +4445,7 @@ const Dc = (e, t) => {
4445
4445
  }
4446
4446
  }, $c = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
4447
4447
  const t = e.slice(1, -1), n = t.indexOf(":"), r = t.slice(0, n);
4448
- return r ? Vc + r : void 0;
4448
+ return r ? Uc + r : void 0;
4449
4449
  })(), zc = (e) => {
4450
4450
  const {
4451
4451
  theme: t,
@@ -4593,7 +4593,7 @@ const Dc = (e, t) => {
4593
4593
  cache: Yc(e.cacheSize),
4594
4594
  parseClassName: Zc(e),
4595
4595
  sortModifiers: Xc(e),
4596
- ...Uc(e)
4596
+ ...Vc(e)
4597
4597
  }), Qc = /\s+/, ed = (e, t) => {
4598
4598
  const {
4599
4599
  parseClassName: n,
@@ -4671,7 +4671,7 @@ const Dc = (e, t) => {
4671
4671
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
4672
4672
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
4673
4673
  id.test(e) && !ad.test(e)
4674
- ), Ra = () => !1, hd = (e) => ld.test(e), fd = (e) => cd.test(e), md = (e) => !F(e) && !V(e), pd = (e) => Wt(e, Oa, Ra), F = (e) => xa.test(e), Nt = (e) => Wt(e, Ma, ud), xr = (e) => Wt(e, yd, Z), Bs = (e) => Wt(e, Ia, Ra), gd = (e) => Wt(e, Aa, fd), Un = (e) => Wt(e, Pa, hd), V = (e) => ka.test(e), yn = (e) => qt(e, Ma), _d = (e) => qt(e, vd), js = (e) => qt(e, Ia), Ed = (e) => qt(e, Oa), bd = (e) => qt(e, Aa), $n = (e) => qt(e, Pa, !0), Wt = (e, t, n) => {
4674
+ ), Ra = () => !1, hd = (e) => ld.test(e), fd = (e) => cd.test(e), md = (e) => !F(e) && !U(e), pd = (e) => Wt(e, Oa, Ra), F = (e) => xa.test(e), Nt = (e) => Wt(e, Ma, ud), xr = (e) => Wt(e, yd, Z), Bs = (e) => Wt(e, Ia, Ra), gd = (e) => Wt(e, Aa, fd), Vn = (e) => Wt(e, Pa, hd), U = (e) => ka.test(e), yn = (e) => qt(e, Ma), _d = (e) => qt(e, vd), js = (e) => qt(e, Ia), Ed = (e) => qt(e, Oa), bd = (e) => qt(e, Aa), $n = (e) => qt(e, Pa, !0), Wt = (e, t, n) => {
4675
4675
  const r = xa.exec(e);
4676
4676
  return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
4677
4677
  }, qt = (e, t, n = !1) => {
@@ -4696,30 +4696,30 @@ const Dc = (e, t) => {
4696
4696
  "bottom-left",
4697
4697
  // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
4698
4698
  "left-bottom"
4699
- ], w = () => [...N(), V, F], C = () => ["auto", "hidden", "clip", "visible", "scroll"], T = () => ["auto", "contain", "none"], S = () => [V, F, c], v = () => [Lt, "full", "auto", ...S()], x = () => [mt, "none", "subgrid", V, F], O = () => ["auto", {
4700
- span: ["full", mt, V, F]
4701
- }, mt, V, F], I = () => [mt, "auto", V, F], z = () => ["auto", "min", "max", "fr", V, F], oe = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], P = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], H = () => ["auto", ...S()], j = () => [Lt, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...S()], L = () => [e, V, F], pe = () => [...N(), js, Bs, {
4702
- position: [V, F]
4699
+ ], w = () => [...N(), U, F], C = () => ["auto", "hidden", "clip", "visible", "scroll"], T = () => ["auto", "contain", "none"], S = () => [U, F, c], v = () => [Lt, "full", "auto", ...S()], x = () => [mt, "none", "subgrid", U, F], O = () => ["auto", {
4700
+ span: ["full", mt, U, F]
4701
+ }, mt, U, F], I = () => [mt, "auto", U, F], z = () => ["auto", "min", "max", "fr", U, F], oe = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], P = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], H = () => ["auto", ...S()], j = () => [Lt, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...S()], L = () => [e, U, F], pe = () => [...N(), js, Bs, {
4702
+ position: [U, F]
4703
4703
  }], le = () => ["no-repeat", {
4704
4704
  repeat: ["", "x", "y", "space", "round"]
4705
4705
  }], ee = () => ["auto", "cover", "contain", Ed, pd, {
4706
- size: [V, F]
4706
+ size: [U, F]
4707
4707
  }], J = () => [Nr, yn, Nt], A = () => [
4708
4708
  // Deprecated since Tailwind CSS v4.0.0
4709
4709
  "",
4710
4710
  "none",
4711
4711
  "full",
4712
4712
  d,
4713
- V,
4713
+ U,
4714
4714
  F
4715
- ], Y = () => ["", Z, yn, Nt], ue = () => ["solid", "dashed", "dotted", "double"], ge = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], X = () => [Z, Nr, js, Bs], Ve = () => [
4715
+ ], Y = () => ["", Z, yn, Nt], ue = () => ["solid", "dashed", "dotted", "double"], ge = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], X = () => [Z, Nr, js, Bs], Ue = () => [
4716
4716
  // Deprecated since Tailwind CSS v4.0.0
4717
4717
  "",
4718
4718
  "none",
4719
4719
  _,
4720
- V,
4720
+ U,
4721
4721
  F
4722
- ], Ie = () => ["none", Z, V, F], Se = () => ["none", Z, V, F], he = () => [Z, V, F], Pe = () => [Lt, "full", ...S()];
4722
+ ], Ie = () => ["none", Z, U, F], Se = () => ["none", Z, U, F], he = () => [Z, U, F], Pe = () => [Lt, "full", ...S()];
4723
4723
  return {
4724
4724
  cacheSize: 500,
4725
4725
  theme: {
@@ -4752,7 +4752,7 @@ const Dc = (e, t) => {
4752
4752
  * @see https://tailwindcss.com/docs/aspect-ratio
4753
4753
  */
4754
4754
  aspect: [{
4755
- aspect: ["auto", "square", Lt, F, V, y]
4755
+ aspect: ["auto", "square", Lt, F, U, y]
4756
4756
  }],
4757
4757
  /**
4758
4758
  * Container
@@ -4765,7 +4765,7 @@ const Dc = (e, t) => {
4765
4765
  * @see https://tailwindcss.com/docs/columns
4766
4766
  */
4767
4767
  columns: [{
4768
- columns: [Z, F, V, i]
4768
+ columns: [Z, F, U, i]
4769
4769
  }],
4770
4770
  /**
4771
4771
  * Break After
@@ -4965,7 +4965,7 @@ const Dc = (e, t) => {
4965
4965
  * @see https://tailwindcss.com/docs/z-index
4966
4966
  */
4967
4967
  z: [{
4968
- z: [mt, "auto", V, F]
4968
+ z: [mt, "auto", U, F]
4969
4969
  }],
4970
4970
  // ------------------------
4971
4971
  // --- Flexbox and Grid ---
@@ -5003,21 +5003,21 @@ const Dc = (e, t) => {
5003
5003
  * @see https://tailwindcss.com/docs/flex-grow
5004
5004
  */
5005
5005
  grow: [{
5006
- grow: ["", Z, V, F]
5006
+ grow: ["", Z, U, F]
5007
5007
  }],
5008
5008
  /**
5009
5009
  * Flex Shrink
5010
5010
  * @see https://tailwindcss.com/docs/flex-shrink
5011
5011
  */
5012
5012
  shrink: [{
5013
- shrink: ["", Z, V, F]
5013
+ shrink: ["", Z, U, F]
5014
5014
  }],
5015
5015
  /**
5016
5016
  * Order
5017
5017
  * @see https://tailwindcss.com/docs/order
5018
5018
  */
5019
5019
  order: [{
5020
- order: [mt, "first", "last", "none", V, F]
5020
+ order: [mt, "first", "last", "none", U, F]
5021
5021
  }],
5022
5022
  /**
5023
5023
  * Grid Template Columns
@@ -5429,7 +5429,7 @@ const Dc = (e, t) => {
5429
5429
  * @see https://tailwindcss.com/docs/font-weight
5430
5430
  */
5431
5431
  "font-weight": [{
5432
- font: [r, V, xr]
5432
+ font: [r, U, xr]
5433
5433
  }],
5434
5434
  /**
5435
5435
  * Font Stretch
@@ -5480,14 +5480,14 @@ const Dc = (e, t) => {
5480
5480
  * @see https://tailwindcss.com/docs/letter-spacing
5481
5481
  */
5482
5482
  tracking: [{
5483
- tracking: [o, V, F]
5483
+ tracking: [o, U, F]
5484
5484
  }],
5485
5485
  /**
5486
5486
  * Line Clamp
5487
5487
  * @see https://tailwindcss.com/docs/line-clamp
5488
5488
  */
5489
5489
  "line-clamp": [{
5490
- "line-clamp": [Z, "none", V, xr]
5490
+ "line-clamp": [Z, "none", U, xr]
5491
5491
  }],
5492
5492
  /**
5493
5493
  * Line Height
@@ -5505,7 +5505,7 @@ const Dc = (e, t) => {
5505
5505
  * @see https://tailwindcss.com/docs/list-style-image
5506
5506
  */
5507
5507
  "list-image": [{
5508
- "list-image": ["none", V, F]
5508
+ "list-image": ["none", U, F]
5509
5509
  }],
5510
5510
  /**
5511
5511
  * List Style Position
@@ -5519,7 +5519,7 @@ const Dc = (e, t) => {
5519
5519
  * @see https://tailwindcss.com/docs/list-style-type
5520
5520
  */
5521
5521
  "list-style-type": [{
5522
- list: ["disc", "decimal", "none", V, F]
5522
+ list: ["disc", "decimal", "none", U, F]
5523
5523
  }],
5524
5524
  /**
5525
5525
  * Text Alignment
@@ -5560,7 +5560,7 @@ const Dc = (e, t) => {
5560
5560
  * @see https://tailwindcss.com/docs/text-decoration-thickness
5561
5561
  */
5562
5562
  "text-decoration-thickness": [{
5563
- decoration: [Z, "from-font", "auto", V, Nt]
5563
+ decoration: [Z, "from-font", "auto", U, Nt]
5564
5564
  }],
5565
5565
  /**
5566
5566
  * Text Decoration Color
@@ -5574,7 +5574,7 @@ const Dc = (e, t) => {
5574
5574
  * @see https://tailwindcss.com/docs/text-underline-offset
5575
5575
  */
5576
5576
  "underline-offset": [{
5577
- "underline-offset": [Z, "auto", V, F]
5577
+ "underline-offset": [Z, "auto", U, F]
5578
5578
  }],
5579
5579
  /**
5580
5580
  * Text Transform
@@ -5605,7 +5605,7 @@ const Dc = (e, t) => {
5605
5605
  * @see https://tailwindcss.com/docs/vertical-align
5606
5606
  */
5607
5607
  "vertical-align": [{
5608
- align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", V, F]
5608
+ align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", U, F]
5609
5609
  }],
5610
5610
  /**
5611
5611
  * Whitespace
@@ -5640,7 +5640,7 @@ const Dc = (e, t) => {
5640
5640
  * @see https://tailwindcss.com/docs/content
5641
5641
  */
5642
5642
  content: [{
5643
- content: ["none", V, F]
5643
+ content: ["none", U, F]
5644
5644
  }],
5645
5645
  // -------------------
5646
5646
  // --- Backgrounds ---
@@ -5695,9 +5695,9 @@ const Dc = (e, t) => {
5695
5695
  bg: ["none", {
5696
5696
  linear: [{
5697
5697
  to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
5698
- }, mt, V, F],
5699
- radial: ["", V, F],
5700
- conic: [mt, V, F]
5698
+ }, mt, U, F],
5699
+ radial: ["", U, F],
5700
+ conic: [mt, U, F]
5701
5701
  }, bd, gd]
5702
5702
  }],
5703
5703
  /**
@@ -6040,7 +6040,7 @@ const Dc = (e, t) => {
6040
6040
  * @see https://tailwindcss.com/docs/outline-offset
6041
6041
  */
6042
6042
  "outline-offset": [{
6043
- "outline-offset": [Z, V, F]
6043
+ "outline-offset": [Z, U, F]
6044
6044
  }],
6045
6045
  /**
6046
6046
  * Outline Width
@@ -6070,7 +6070,7 @@ const Dc = (e, t) => {
6070
6070
  "none",
6071
6071
  m,
6072
6072
  $n,
6073
- Un
6073
+ Vn
6074
6074
  ]
6075
6075
  }],
6076
6076
  /**
@@ -6085,7 +6085,7 @@ const Dc = (e, t) => {
6085
6085
  * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
6086
6086
  */
6087
6087
  "inset-shadow": [{
6088
- "inset-shadow": ["none", u, $n, Un]
6088
+ "inset-shadow": ["none", u, $n, Vn]
6089
6089
  }],
6090
6090
  /**
6091
6091
  * Inset Box Shadow Color
@@ -6152,7 +6152,7 @@ const Dc = (e, t) => {
6152
6152
  * @see https://tailwindcss.com/docs/text-shadow
6153
6153
  */
6154
6154
  "text-shadow": [{
6155
- "text-shadow": ["none", p, $n, Un]
6155
+ "text-shadow": ["none", p, $n, Vn]
6156
6156
  }],
6157
6157
  /**
6158
6158
  * Text Shadow Color
@@ -6166,7 +6166,7 @@ const Dc = (e, t) => {
6166
6166
  * @see https://tailwindcss.com/docs/opacity
6167
6167
  */
6168
6168
  opacity: [{
6169
- opacity: [Z, V, F]
6169
+ opacity: [Z, U, F]
6170
6170
  }],
6171
6171
  /**
6172
6172
  * Mix Blend Mode
@@ -6288,7 +6288,7 @@ const Dc = (e, t) => {
6288
6288
  "mask-y-to": L()
6289
6289
  }],
6290
6290
  "mask-image-radial": [{
6291
- "mask-radial": [V, F]
6291
+ "mask-radial": [U, F]
6292
6292
  }],
6293
6293
  "mask-image-radial-from-pos": [{
6294
6294
  "mask-radial-from": X()
@@ -6376,7 +6376,7 @@ const Dc = (e, t) => {
6376
6376
  * @see https://tailwindcss.com/docs/mask-image
6377
6377
  */
6378
6378
  "mask-image": [{
6379
- mask: ["none", V, F]
6379
+ mask: ["none", U, F]
6380
6380
  }],
6381
6381
  // ---------------
6382
6382
  // --- Filters ---
@@ -6390,7 +6390,7 @@ const Dc = (e, t) => {
6390
6390
  // Deprecated since Tailwind CSS v3.0.0
6391
6391
  "",
6392
6392
  "none",
6393
- V,
6393
+ U,
6394
6394
  F
6395
6395
  ]
6396
6396
  }],
@@ -6399,21 +6399,21 @@ const Dc = (e, t) => {
6399
6399
  * @see https://tailwindcss.com/docs/blur
6400
6400
  */
6401
6401
  blur: [{
6402
- blur: Ve()
6402
+ blur: Ue()
6403
6403
  }],
6404
6404
  /**
6405
6405
  * Brightness
6406
6406
  * @see https://tailwindcss.com/docs/brightness
6407
6407
  */
6408
6408
  brightness: [{
6409
- brightness: [Z, V, F]
6409
+ brightness: [Z, U, F]
6410
6410
  }],
6411
6411
  /**
6412
6412
  * Contrast
6413
6413
  * @see https://tailwindcss.com/docs/contrast
6414
6414
  */
6415
6415
  contrast: [{
6416
- contrast: [Z, V, F]
6416
+ contrast: [Z, U, F]
6417
6417
  }],
6418
6418
  /**
6419
6419
  * Drop Shadow
@@ -6426,7 +6426,7 @@ const Dc = (e, t) => {
6426
6426
  "none",
6427
6427
  h,
6428
6428
  $n,
6429
- Un
6429
+ Vn
6430
6430
  ]
6431
6431
  }],
6432
6432
  /**
@@ -6441,35 +6441,35 @@ const Dc = (e, t) => {
6441
6441
  * @see https://tailwindcss.com/docs/grayscale
6442
6442
  */
6443
6443
  grayscale: [{
6444
- grayscale: ["", Z, V, F]
6444
+ grayscale: ["", Z, U, F]
6445
6445
  }],
6446
6446
  /**
6447
6447
  * Hue Rotate
6448
6448
  * @see https://tailwindcss.com/docs/hue-rotate
6449
6449
  */
6450
6450
  "hue-rotate": [{
6451
- "hue-rotate": [Z, V, F]
6451
+ "hue-rotate": [Z, U, F]
6452
6452
  }],
6453
6453
  /**
6454
6454
  * Invert
6455
6455
  * @see https://tailwindcss.com/docs/invert
6456
6456
  */
6457
6457
  invert: [{
6458
- invert: ["", Z, V, F]
6458
+ invert: ["", Z, U, F]
6459
6459
  }],
6460
6460
  /**
6461
6461
  * Saturate
6462
6462
  * @see https://tailwindcss.com/docs/saturate
6463
6463
  */
6464
6464
  saturate: [{
6465
- saturate: [Z, V, F]
6465
+ saturate: [Z, U, F]
6466
6466
  }],
6467
6467
  /**
6468
6468
  * Sepia
6469
6469
  * @see https://tailwindcss.com/docs/sepia
6470
6470
  */
6471
6471
  sepia: [{
6472
- sepia: ["", Z, V, F]
6472
+ sepia: ["", Z, U, F]
6473
6473
  }],
6474
6474
  /**
6475
6475
  * Backdrop Filter
@@ -6480,7 +6480,7 @@ const Dc = (e, t) => {
6480
6480
  // Deprecated since Tailwind CSS v3.0.0
6481
6481
  "",
6482
6482
  "none",
6483
- V,
6483
+ U,
6484
6484
  F
6485
6485
  ]
6486
6486
  }],
@@ -6489,63 +6489,63 @@ const Dc = (e, t) => {
6489
6489
  * @see https://tailwindcss.com/docs/backdrop-blur
6490
6490
  */
6491
6491
  "backdrop-blur": [{
6492
- "backdrop-blur": Ve()
6492
+ "backdrop-blur": Ue()
6493
6493
  }],
6494
6494
  /**
6495
6495
  * Backdrop Brightness
6496
6496
  * @see https://tailwindcss.com/docs/backdrop-brightness
6497
6497
  */
6498
6498
  "backdrop-brightness": [{
6499
- "backdrop-brightness": [Z, V, F]
6499
+ "backdrop-brightness": [Z, U, F]
6500
6500
  }],
6501
6501
  /**
6502
6502
  * Backdrop Contrast
6503
6503
  * @see https://tailwindcss.com/docs/backdrop-contrast
6504
6504
  */
6505
6505
  "backdrop-contrast": [{
6506
- "backdrop-contrast": [Z, V, F]
6506
+ "backdrop-contrast": [Z, U, F]
6507
6507
  }],
6508
6508
  /**
6509
6509
  * Backdrop Grayscale
6510
6510
  * @see https://tailwindcss.com/docs/backdrop-grayscale
6511
6511
  */
6512
6512
  "backdrop-grayscale": [{
6513
- "backdrop-grayscale": ["", Z, V, F]
6513
+ "backdrop-grayscale": ["", Z, U, F]
6514
6514
  }],
6515
6515
  /**
6516
6516
  * Backdrop Hue Rotate
6517
6517
  * @see https://tailwindcss.com/docs/backdrop-hue-rotate
6518
6518
  */
6519
6519
  "backdrop-hue-rotate": [{
6520
- "backdrop-hue-rotate": [Z, V, F]
6520
+ "backdrop-hue-rotate": [Z, U, F]
6521
6521
  }],
6522
6522
  /**
6523
6523
  * Backdrop Invert
6524
6524
  * @see https://tailwindcss.com/docs/backdrop-invert
6525
6525
  */
6526
6526
  "backdrop-invert": [{
6527
- "backdrop-invert": ["", Z, V, F]
6527
+ "backdrop-invert": ["", Z, U, F]
6528
6528
  }],
6529
6529
  /**
6530
6530
  * Backdrop Opacity
6531
6531
  * @see https://tailwindcss.com/docs/backdrop-opacity
6532
6532
  */
6533
6533
  "backdrop-opacity": [{
6534
- "backdrop-opacity": [Z, V, F]
6534
+ "backdrop-opacity": [Z, U, F]
6535
6535
  }],
6536
6536
  /**
6537
6537
  * Backdrop Saturate
6538
6538
  * @see https://tailwindcss.com/docs/backdrop-saturate
6539
6539
  */
6540
6540
  "backdrop-saturate": [{
6541
- "backdrop-saturate": [Z, V, F]
6541
+ "backdrop-saturate": [Z, U, F]
6542
6542
  }],
6543
6543
  /**
6544
6544
  * Backdrop Sepia
6545
6545
  * @see https://tailwindcss.com/docs/backdrop-sepia
6546
6546
  */
6547
6547
  "backdrop-sepia": [{
6548
- "backdrop-sepia": ["", Z, V, F]
6548
+ "backdrop-sepia": ["", Z, U, F]
6549
6549
  }],
6550
6550
  // --------------
6551
6551
  // --- Tables ---
@@ -6600,7 +6600,7 @@ const Dc = (e, t) => {
6600
6600
  * @see https://tailwindcss.com/docs/transition-property
6601
6601
  */
6602
6602
  transition: [{
6603
- transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", V, F]
6603
+ transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", U, F]
6604
6604
  }],
6605
6605
  /**
6606
6606
  * Transition Behavior
@@ -6614,28 +6614,28 @@ const Dc = (e, t) => {
6614
6614
  * @see https://tailwindcss.com/docs/transition-duration
6615
6615
  */
6616
6616
  duration: [{
6617
- duration: [Z, "initial", V, F]
6617
+ duration: [Z, "initial", U, F]
6618
6618
  }],
6619
6619
  /**
6620
6620
  * Transition Timing Function
6621
6621
  * @see https://tailwindcss.com/docs/transition-timing-function
6622
6622
  */
6623
6623
  ease: [{
6624
- ease: ["linear", "initial", f, V, F]
6624
+ ease: ["linear", "initial", f, U, F]
6625
6625
  }],
6626
6626
  /**
6627
6627
  * Transition Delay
6628
6628
  * @see https://tailwindcss.com/docs/transition-delay
6629
6629
  */
6630
6630
  delay: [{
6631
- delay: [Z, V, F]
6631
+ delay: [Z, U, F]
6632
6632
  }],
6633
6633
  /**
6634
6634
  * Animation
6635
6635
  * @see https://tailwindcss.com/docs/animation
6636
6636
  */
6637
6637
  animate: [{
6638
- animate: ["none", g, V, F]
6638
+ animate: ["none", g, U, F]
6639
6639
  }],
6640
6640
  // ------------------
6641
6641
  // --- Transforms ---
@@ -6652,7 +6652,7 @@ const Dc = (e, t) => {
6652
6652
  * @see https://tailwindcss.com/docs/perspective
6653
6653
  */
6654
6654
  perspective: [{
6655
- perspective: [b, V, F]
6655
+ perspective: [b, U, F]
6656
6656
  }],
6657
6657
  /**
6658
6658
  * Perspective Origin
@@ -6748,7 +6748,7 @@ const Dc = (e, t) => {
6748
6748
  * @see https://tailwindcss.com/docs/transform
6749
6749
  */
6750
6750
  transform: [{
6751
- transform: [V, F, "", "none", "gpu", "cpu"]
6751
+ transform: [U, F, "", "none", "gpu", "cpu"]
6752
6752
  }],
6753
6753
  /**
6754
6754
  * Transform Origin
@@ -6833,7 +6833,7 @@ const Dc = (e, t) => {
6833
6833
  * @see https://tailwindcss.com/docs/cursor
6834
6834
  */
6835
6835
  cursor: [{
6836
- cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", V, F]
6836
+ cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", U, F]
6837
6837
  }],
6838
6838
  /**
6839
6839
  * Field Sizing
@@ -7055,7 +7055,7 @@ const Dc = (e, t) => {
7055
7055
  * @see https://tailwindcss.com/docs/will-change
7056
7056
  */
7057
7057
  "will-change": [{
7058
- "will-change": ["auto", "scroll", "contents", "transform", V, F]
7058
+ "will-change": ["auto", "scroll", "contents", "transform", U, F]
7059
7059
  }],
7060
7060
  // -----------
7061
7061
  // --- SVG ---
@@ -7208,20 +7208,20 @@ function Fa(e) {
7208
7208
  return e != null && typeof e == "object" && "$$typeof" in e && e.$$typeof === Nd && "_payload" in e && xd(e._payload);
7209
7209
  }
7210
7210
  // @__NO_SIDE_EFFECTS__
7211
- function Va(e) {
7211
+ function Ua(e) {
7212
7212
  const t = /* @__PURE__ */ Rd(e), n = K((r, o) => {
7213
7213
  let { children: s, ...a } = r;
7214
7214
  Fa(s) && typeof ir == "function" && (s = ir(s._payload));
7215
- const i = Ue.toArray(s), c = i.find(Ad);
7215
+ const i = Ve.toArray(s), c = i.find(Ad);
7216
7216
  if (c) {
7217
- const d = c.props.children, m = i.map((u) => u === c ? Ue.count(d) > 1 ? Ue.only(null) : $e(d) ? d.props.children : null : u);
7217
+ const d = c.props.children, m = i.map((u) => u === c ? Ve.count(d) > 1 ? Ve.only(null) : $e(d) ? d.props.children : null : u);
7218
7218
  return /* @__PURE__ */ l(t, { ...a, ref: o, children: $e(d) ? yt(d, void 0, m) : null });
7219
7219
  }
7220
7220
  return /* @__PURE__ */ l(t, { ...a, ref: o, children: s });
7221
7221
  });
7222
7222
  return n.displayName = `${e}.Slot`, n;
7223
7223
  }
7224
- var kd = /* @__PURE__ */ Va("Slot");
7224
+ var kd = /* @__PURE__ */ Ua("Slot");
7225
7225
  // @__NO_SIDE_EFFECTS__
7226
7226
  function Rd(e) {
7227
7227
  const t = K((n, r) => {
@@ -7230,7 +7230,7 @@ function Rd(e) {
7230
7230
  const a = Md(o), i = Od(s, o.props);
7231
7231
  return o.type !== be && (i.ref = r ? _o(r, a) : a), yt(o, i);
7232
7232
  }
7233
- return Ue.count(o) > 1 ? Ue.only(null) : null;
7233
+ return Ve.count(o) > 1 ? Ve.only(null) : null;
7234
7234
  });
7235
7235
  return t.displayName = `${e}.SlotClone`, t;
7236
7236
  }
@@ -7323,12 +7323,12 @@ const Dd = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), Fd = (
7323
7323
  ), Ws = (e) => {
7324
7324
  const t = Fd(e);
7325
7325
  return t.charAt(0).toUpperCase() + t.slice(1);
7326
- }, Ua = (...e) => e.filter((t, n, r) => !!t && t.trim() !== "" && r.indexOf(t) === n).join(" ").trim(), Vd = (e) => {
7326
+ }, Va = (...e) => e.filter((t, n, r) => !!t && t.trim() !== "" && r.indexOf(t) === n).join(" ").trim(), Ud = (e) => {
7327
7327
  for (const t in e)
7328
7328
  if (t.startsWith("aria-") || t === "role" || t === "title")
7329
7329
  return !0;
7330
7330
  };
7331
- var Ud = {
7331
+ var Vd = {
7332
7332
  xmlns: "http://www.w3.org/2000/svg",
7333
7333
  width: 24,
7334
7334
  height: 24,
@@ -7353,13 +7353,13 @@ const $d = K(
7353
7353
  "svg",
7354
7354
  {
7355
7355
  ref: c,
7356
- ...Ud,
7356
+ ...Vd,
7357
7357
  width: t,
7358
7358
  height: t,
7359
7359
  stroke: e,
7360
7360
  strokeWidth: r ? Number(n) * 24 / Number(t) : n,
7361
- className: Ua("lucide", o),
7362
- ...!s && !Vd(i) && { "aria-hidden": "true" },
7361
+ className: Va("lucide", o),
7362
+ ...!s && !Ud(i) && { "aria-hidden": "true" },
7363
7363
  ...i
7364
7364
  },
7365
7365
  [
@@ -7373,7 +7373,7 @@ const Fe = (e, t) => {
7373
7373
  ({ className: r, ...o }, s) => De($d, {
7374
7374
  ref: s,
7375
7375
  iconNode: t,
7376
- className: Ua(
7376
+ className: Va(
7377
7377
  `lucide-${Dd(Ws(e))}`,
7378
7378
  `lucide-${e}`,
7379
7379
  r
@@ -7805,7 +7805,7 @@ const fu = (e) => {
7805
7805
  }
7806
7806
  ne.setState(Ba), n && ne.setState(n);
7807
7807
  }, xo = it(null), pu = ({ children: e }) => {
7808
- const [t, n] = U(null);
7808
+ const [t, n] = V(null);
7809
7809
  return /* @__PURE__ */ l(xo.Provider, { value: { synapse: t, setSynapse: n }, children: e });
7810
7810
  }, gu = () => {
7811
7811
  const e = ct(xo);
@@ -7818,7 +7818,7 @@ const fu = (e) => {
7818
7818
  throw new Error("useSynapseSetter must be used within a SynapseProvider");
7819
7819
  return e.setSynapse;
7820
7820
  }, Eu = () => {
7821
- const [e, t] = U(M.VOICE_AGENT_STATE.IDLE), [n, r] = U(!1), o = gu(), { setError: s } = ne();
7821
+ const [e, t] = V(M.VOICE_AGENT_STATE.IDLE), [n, r] = V(!1), o = gu(), { setError: s } = ne();
7822
7822
  $(() => {
7823
7823
  if (!o) return;
7824
7824
  const m = o.voice, u = (h) => {
@@ -7900,7 +7900,7 @@ function Nu({ defaultPosition: e, enabled: t = !0, onDragStart: n, onDragEnd: r
7900
7900
  const o = ae(() => typeof window > "u" ? { x: 0, y: 0 } : {
7901
7901
  x: window.innerWidth - jn.width - Hn,
7902
7902
  y: window.innerHeight - jn.height - Hn
7903
- }, []), [s, a] = U(() => e ?? o()), [i, c] = U(!1), d = G({ x: 0, y: 0 }), m = G(null), u = G(!1);
7903
+ }, []), [s, a] = V(() => e ?? o()), [i, c] = V(!1), d = G({ x: 0, y: 0 }), m = G(null), u = G(!1);
7904
7904
  $(() => {
7905
7905
  t || (u.current = !1);
7906
7906
  }, [t]), lt(() => {
@@ -8183,7 +8183,7 @@ function Fu() {
8183
8183
  ] })
8184
8184
  ] });
8185
8185
  }
8186
- function Vu() {
8186
+ function Uu() {
8187
8187
  return /* @__PURE__ */ l("div", { className: "px-3 pb-2 pt-1", children: [
8188
8188
  /* @__PURE__ */ l(ko, {}),
8189
8189
  /* @__PURE__ */ l(
@@ -8209,7 +8209,7 @@ function Vu() {
8209
8209
  )
8210
8210
  ] });
8211
8211
  }
8212
- function Uu() {
8212
+ function Vu() {
8213
8213
  return /* @__PURE__ */ l("div", { className: "space-y-3 py-2", children: [
8214
8214
  /* @__PURE__ */ l(ko, {}),
8215
8215
  /* @__PURE__ */ l(He, { className: "h-16 w-3/4 rounded-2xl" }),
@@ -8286,7 +8286,7 @@ var Bu = [
8286
8286
  "svg",
8287
8287
  "ul"
8288
8288
  ], Ro = Bu.reduce((e, t) => {
8289
- const n = /* @__PURE__ */ Va(`Primitive.${t}`), r = K((o, s) => {
8289
+ const n = /* @__PURE__ */ Ua(`Primitive.${t}`), r = K((o, s) => {
8290
8290
  const { asChild: a, ...i } = o, c = a ? n : t;
8291
8291
  return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ l(c, { ...i, ref: s });
8292
8292
  });
@@ -8352,7 +8352,7 @@ function Yu() {
8352
8352
  }
8353
8353
  var Io = "Avatar", [Ku] = $u(Io), [Zu, Ha] = Ku(Io), Ga = K(
8354
8354
  (e, t) => {
8355
- const { __scopeAvatar: n, ...r } = e, [o, s] = U("idle");
8355
+ const { __scopeAvatar: n, ...r } = e, [o, s] = V("idle");
8356
8356
  return /* @__PURE__ */ l(
8357
8357
  Zu,
8358
8358
  {
@@ -8379,7 +8379,7 @@ var Wa = "AvatarImage", qa = K(
8379
8379
  qa.displayName = Wa;
8380
8380
  var Ya = "AvatarFallback", Ka = K(
8381
8381
  (e, t) => {
8382
- const { __scopeAvatar: n, delayMs: r, ...o } = e, s = Ha(Ya, n), [a, i] = U(r === void 0);
8382
+ const { __scopeAvatar: n, delayMs: r, ...o } = e, s = Ha(Ya, n), [a, i] = V(r === void 0);
8383
8383
  return $(() => {
8384
8384
  if (r !== void 0) {
8385
8385
  const c = window.setTimeout(() => i(!0), r);
@@ -8393,7 +8393,7 @@ function ti(e, t) {
8393
8393
  return e ? t ? (e.src !== t && (e.src = t), e.complete && e.naturalWidth > 0 ? "loaded" : "loading") : "error" : "idle";
8394
8394
  }
8395
8395
  function Xu(e, { referrerPolicy: t, crossOrigin: n }) {
8396
- const r = qu(), o = G(null), s = r ? (o.current || (o.current = new window.Image()), o.current) : null, [a, i] = U(
8396
+ const r = qu(), o = G(null), s = r ? (o.current || (o.current = new window.Image()), o.current) : null, [a, i] = V(
8397
8397
  () => ti(s, e)
8398
8398
  );
8399
8399
  return zt(() => {
@@ -8457,7 +8457,7 @@ function th() {
8457
8457
  return e || t;
8458
8458
  }
8459
8459
  function ol() {
8460
- const [e, t] = U(th);
8460
+ const [e, t] = V(th);
8461
8461
  return $(() => {
8462
8462
  if (typeof window > "u" || !window.matchMedia) return;
8463
8463
  const n = window.matchMedia(nl), r = rl.test(navigator?.userAgent ?? ""), o = () => t(n.matches || r);
@@ -8476,7 +8476,7 @@ function nh({
8476
8476
  headerTinted: c = !1,
8477
8477
  onToggleDisplayMode: d
8478
8478
  }) {
8479
- const m = ol(), p = eh() && !m, h = ne((v) => v.displayMode) === "full", _ = ne((v) => v.initialDisplayMode) === "full", y = (h ? !1 : c) ? "text-primary-foreground" : "text-foreground", f = ne((v) => v.connectionStatus), [g, E] = U(!1), N = G(null), w = de(() => i === "connected" || i === "connecting" || i === "listening" || i === "speaking" || i === "thinking", [i]), C = ae(() => {
8479
+ const m = ol(), p = eh() && !m, h = ne((v) => v.displayMode) === "full", _ = ne((v) => v.initialDisplayMode) === "full", y = (h ? !1 : c) ? "text-primary-foreground" : "text-foreground", f = ne((v) => v.connectionStatus), [g, E] = V(!1), N = G(null), w = de(() => i === "connected" || i === "connecting" || i === "listening" || i === "speaking" || i === "thinking", [i]), C = ae(() => {
8480
8480
  g || (E(!0), N.current && clearTimeout(N.current), N.current = setTimeout(() => {
8481
8481
  N.current = null, E(!1);
8482
8482
  }, 6e3), a());
@@ -8605,7 +8605,7 @@ function ni({
8605
8605
  isPreview: n = !0,
8606
8606
  className: r = ""
8607
8607
  }) {
8608
- const [o, s] = U(!1), [a, i] = U(""), c = e?.type?.startsWith("image/") ?? !1, d = e?.type === "application/pdf";
8608
+ const [o, s] = V(!1), [a, i] = V(""), c = e?.type?.startsWith("image/") ?? !1, d = e?.type === "application/pdf";
8609
8609
  $(() => {
8610
8610
  if (c) {
8611
8611
  const p = URL.createObjectURL(e);
@@ -9214,7 +9214,7 @@ function dh({
9214
9214
  onResendOtp: o,
9215
9215
  serverMessage: s
9216
9216
  }) {
9217
- const a = G([]), [i, c] = U(0), [d, m] = U(!1), u = G(!1), p = G(r), h = G(o), _ = n?.maxLength ?? ah, b = de(
9217
+ const a = G([]), [i, c] = V(0), [d, m] = V(!1), u = G(!1), p = G(r), h = G(o), _ = n?.maxLength ?? ah, b = de(
9218
9218
  () => new RegExp(n?.pattern ?? `^\\d{${_}}$`),
9219
9219
  [n?.pattern, _]
9220
9220
  );
@@ -9935,7 +9935,7 @@ function sl({
9935
9935
  theme: E,
9936
9936
  hideWatermark: N = !1
9937
9937
  }) {
9938
- const [w, C] = U(!1), [T, S] = U(!1), v = G(null), x = _, O = x === "full", I = G(null), [z, oe] = U("");
9938
+ const [w, C] = V(!1), [T, S] = V(!1), v = G(null), x = _, O = x === "full", I = G(null), [z, oe] = V("");
9939
9939
  $(() => {
9940
9940
  I.current !== null && I.current !== x && oe(
9941
9941
  x === "full" ? "Switched to fullscreen mode" : x === "widget" ? "Switched to widget mode" : "Switched to mobile layout"
@@ -9966,7 +9966,7 @@ function sl({
9966
9966
  }, []), lt(() => {
9967
9967
  if (!e || !w || !v.current) return;
9968
9968
  const A = v.current;
9969
- let Y = null, ue = null, ge = null, X = window.visualViewport?.offsetTop ?? 0, Ve = 0;
9969
+ let Y = null, ue = null, ge = null, X = window.visualViewport?.offsetTop ?? 0, Ue = 0;
9970
9970
  const Ie = 2, Se = 80;
9971
9971
  if (window.visualViewport) {
9972
9972
  const he = () => {
@@ -9983,7 +9983,7 @@ function sl({
9983
9983
  }, we = () => {
9984
9984
  if (!A || !window.visualViewport) return;
9985
9985
  const Le = window.visualViewport.offsetTop, Ae = Date.now();
9986
- Math.abs(Le - X) < Ie || Ae - Ve < Se || (Ve = Ae, X = Le, Y = requestAnimationFrame(() => {
9986
+ Math.abs(Le - X) < Ie || Ae - Ue < Se || (Ue = Ae, X = Le, Y = requestAnimationFrame(() => {
9987
9987
  A.style.transition = "none", A.style.top = `${Le}px`, ge && clearTimeout(ge), ge = setTimeout(() => {
9988
9988
  A.style.transition = "";
9989
9989
  }, 150);
@@ -10006,13 +10006,13 @@ function sl({
10006
10006
  if (e) {
10007
10007
  const A = v.current, Y = window.scrollY, ue = document.body.style.cssText, ge = document.documentElement.style.overflow, X = window.innerWidth - document.documentElement.clientWidth;
10008
10008
  document.body.style.position = "fixed", document.body.style.top = `-${Y}px`, document.body.style.left = "0", document.body.style.right = "0", document.body.style.width = "100%", document.body.style.overflow = "hidden", document.documentElement.style.overflow = "hidden", X > 0 && !w && (document.body.style.paddingRight = `${X}px`);
10009
- let Ve = 0;
10009
+ let Ue = 0;
10010
10010
  const Ie = (he) => {
10011
- Ve = he.touches[0].clientY;
10011
+ Ue = he.touches[0].clientY;
10012
10012
  }, Se = (he) => {
10013
10013
  if (he.touches.length !== 1) return;
10014
- const Pe = Ve - he.touches[0].clientY;
10015
- Ve = he.touches[0].clientY;
10014
+ const Pe = Ue - he.touches[0].clientY;
10015
+ Ue = he.touches[0].clientY;
10016
10016
  let we = he.target;
10017
10017
  for (; we && we !== A; ) {
10018
10018
  const { overflowY: Le } = window.getComputedStyle(we);
@@ -10241,7 +10241,7 @@ function sl({
10241
10241
  }
10242
10242
  ) }) }),
10243
10243
  (() => {
10244
- const A = O && !!i, Y = p && g === M.VOICE_AGENT_STATE.IDLE ? /* @__PURE__ */ l(Re, { fallback: /* @__PURE__ */ l(Vu, {}), children: /* @__PURE__ */ l(
10244
+ const A = O && !!i, Y = p && g === M.VOICE_AGENT_STATE.IDLE ? /* @__PURE__ */ l(Re, { fallback: /* @__PURE__ */ l(Uu, {}), children: /* @__PURE__ */ l(
10245
10245
  _h,
10246
10246
  {
10247
10247
  value: p.value,
@@ -10342,26 +10342,30 @@ function sl({
10342
10342
  }
10343
10343
  );
10344
10344
  }
10345
- function Eh({
10346
- title: e,
10347
- description: t,
10348
- suggestions: n,
10349
- onSendMessage: r,
10350
- disabled: o,
10351
- composer: s,
10352
- composerFooter: a,
10353
- connectionBanner: i
10345
+ function Eh() {
10346
+ const e = (/* @__PURE__ */ new Date()).getHours();
10347
+ return e >= 5 && e < 12 ? "Good morning. How are you feeling today?" : e >= 12 && e < 17 ? "Good afternoon. How are you feeling right now?" : e >= 17 && e < 21 ? "Good evening. How are you doing this evening?" : "Up late? I'm here whenever you need me.";
10348
+ }
10349
+ const bh = 180;
10350
+ function yh({
10351
+ description: e,
10352
+ suggestions: t,
10353
+ onSendMessage: n,
10354
+ disabled: r,
10355
+ composer: o,
10356
+ composerFooter: s,
10357
+ connectionBanner: a
10354
10358
  }) {
10355
- const c = (d) => {
10356
- const m = d.label || d.value || "";
10357
- m && r({
10358
- message: d.value || m,
10359
+ const i = (c) => {
10360
+ const d = c.label || c.value || "";
10361
+ d && n({
10362
+ message: c.value || d,
10359
10363
  messageId: Date.now().toString()
10360
10364
  });
10361
10365
  };
10362
- return /* @__PURE__ */ l("div", { className: "flex-1 flex flex-col items-stretch justify-center px-4 py-6 gap-6 w-full max-w-2xl mx-auto overflow-y-auto", children: [
10366
+ return /* @__PURE__ */ l("div", { className: "flex-1 flex flex-col overflow-y-auto", children: /* @__PURE__ */ l("div", { className: "flex flex-col items-stretch gap-6 w-full max-w-2xl mx-auto my-auto px-4 py-6", children: [
10363
10367
  /* @__PURE__ */ l("div", { className: "flex flex-col px-3 gap-2 items-start", children: [
10364
- /* @__PURE__ */ l(
10368
+ e && e?.trim?.()?.length <= bh && /* @__PURE__ */ l(
10365
10369
  "h2",
10366
10370
  {
10367
10371
  className: "text-text-primary",
@@ -10373,14 +10377,10 @@ function Eh({
10373
10377
  letterSpacing: "-0.025em",
10374
10378
  margin: 0
10375
10379
  },
10376
- children: [
10377
- "Hi, this is ",
10378
- e,
10379
- "!"
10380
- ]
10380
+ children: Eh()
10381
10381
  }
10382
10382
  ),
10383
- t && /* @__PURE__ */ l(
10383
+ e && /* @__PURE__ */ l(
10384
10384
  "p",
10385
10385
  {
10386
10386
  className: "text-text-primary",
@@ -10389,26 +10389,25 @@ function Eh({
10389
10389
  fontSize: 16,
10390
10390
  lineHeight: "24px",
10391
10391
  fontWeight: 400,
10392
- margin: 0,
10393
- maxWidth: 420
10392
+ margin: 0
10394
10393
  },
10395
- children: t
10394
+ children: e
10396
10395
  }
10397
10396
  )
10398
10397
  ] }),
10399
- n && n.length > 0 && /* @__PURE__ */ l("div", { className: "content-center px-3 flex flex-wrap gap-4 items-center", children: n.map((d, m) => {
10400
- const u = d.label || d.value || "";
10401
- return u ? /* @__PURE__ */ l(
10398
+ t && t.length > 0 && /* @__PURE__ */ l("div", { className: "content-center px-3 flex flex-wrap gap-4 items-center", children: t.map((c, d) => {
10399
+ const m = c.label || c.value || "";
10400
+ return m ? /* @__PURE__ */ l(
10402
10401
  "button",
10403
10402
  {
10404
10403
  type: "button",
10405
- onClick: () => c(d),
10406
- disabled: o,
10404
+ onClick: () => i(c),
10405
+ disabled: r,
10407
10406
  className: D(
10408
10407
  "inline-flex items-center bg-white border border-primary text-primary",
10409
10408
  "rounded-lg overflow-clip whitespace-nowrap transition-colors shrink-0",
10410
10409
  "supports-[hover:hover]:hover:bg-primary supports-[hover:hover]:hover:text-primary-foreground",
10411
- o ? "opacity-50 cursor-not-allowed" : "cursor-pointer"
10410
+ r ? "opacity-50 cursor-not-allowed" : "cursor-pointer"
10412
10411
  ),
10413
10412
  style: {
10414
10413
  fontFamily: "Inter, sans-serif",
@@ -10419,20 +10418,20 @@ function Eh({
10419
10418
  WebkitTapHighlightColor: "transparent",
10420
10419
  outline: "none"
10421
10420
  },
10422
- children: u
10421
+ children: m
10423
10422
  },
10424
- `${u}-${m}`
10423
+ `${m}-${d}`
10425
10424
  ) : null;
10426
10425
  }) }),
10427
- i,
10428
- s && /* @__PURE__ */ l("div", { children: [
10429
- s,
10430
- a
10426
+ a,
10427
+ o && /* @__PURE__ */ l("div", { children: [
10428
+ o,
10429
+ s
10431
10430
  ] })
10432
- ] });
10431
+ ] }) });
10433
10432
  }
10434
10433
  function il() {
10435
- const [e, t] = U(
10434
+ const [e, t] = V(
10436
10435
  typeof navigator < "u" ? navigator.onLine : !0
10437
10436
  );
10438
10437
  return $(() => {
@@ -10444,10 +10443,10 @@ function il() {
10444
10443
  }
10445
10444
  const al = (e) => Object.fromEntries(
10446
10445
  Object.entries(e).filter(([, t]) => t !== void 0)
10447
- ), gm = (e) => e ? e.split(" ").map((t) => t[0]).slice(0, 2).join("").toUpperCase() : "DR", _m = (e) => {
10446
+ ), Em = (e) => e ? e.split(" ").map((t) => t[0]).slice(0, 2).join("").toUpperCase() : "DR", bm = (e) => {
10448
10447
  const t = new Date(e), n = t.toLocaleDateString(void 0, { weekday: "short" }), r = t.toLocaleDateString(void 0, { day: "2-digit" });
10449
10448
  return { weekday: n, dayNum: r };
10450
- }, bh = (e = [], t = []) => {
10449
+ }, vh = (e = [], t = []) => {
10451
10450
  if (!e.length) return t;
10452
10451
  if (!t.length) return e;
10453
10452
  const n = e.map((r) => ({ ...r }));
@@ -10465,7 +10464,7 @@ const al = (e) => Object.fromEntries(
10465
10464
  }
10466
10465
  }
10467
10466
  return n;
10468
- }, yh = (e = [], t = []) => {
10467
+ }, Sh = (e = [], t = []) => {
10469
10468
  if (!e.length) return t;
10470
10469
  if (!t.length) return e;
10471
10470
  const n = e.map((r) => ({ ...r }));
@@ -10478,14 +10477,14 @@ const al = (e) => Object.fromEntries(
10478
10477
  n[o] = {
10479
10478
  ...s,
10480
10479
  ...al(r),
10481
- availability: bh(s.availability, r.availability)
10480
+ availability: vh(s.availability, r.availability)
10482
10481
  };
10483
10482
  }
10484
10483
  }
10485
10484
  return n;
10486
- }, si = (e) => !!e && Array.isArray(e.doctors), vh = (e, t, n) => e ? t ? n !== M.SYNAPSE_COMPONENTS.DOCTOR_CARD ? t : !si(e) || !si(t) ? e : {
10485
+ }, si = (e) => !!e && Array.isArray(e.doctors), wh = (e, t, n) => e ? t ? n !== M.SYNAPSE_COMPONENTS.DOCTOR_CARD ? t : !si(e) || !si(t) ? e : {
10487
10486
  ...t,
10488
- doctors: yh(e.doctors, t.doctors),
10487
+ doctors: Sh(e.doctors, t.doctors),
10489
10488
  doctor_details: {
10490
10489
  ...e.doctor_details || {},
10491
10490
  ...t.doctor_details || {}
@@ -10493,7 +10492,7 @@ const al = (e) => Object.fromEntries(
10493
10492
  } : e : t, pt = (e) => {
10494
10493
  const t = e;
10495
10494
  return t?.message ? t.error?.msg || t.message : e instanceof Error ? e.message : "An unexpected error occurred";
10496
- }, Sh = ({
10495
+ }, Ch = ({
10497
10496
  environment: e,
10498
10497
  connectionType: t,
10499
10498
  baseUrl: n,
@@ -10502,7 +10501,7 @@ const al = (e) => Object.fromEntries(
10502
10501
  authToken: s
10503
10502
  // onInlineText,
10504
10503
  }) => {
10505
- const [a, i] = U([]), c = G([]), [d, m] = U(!1), u = G(0), [p, h] = U(!1), [_, b] = U([]), y = G(null), f = _u(), g = G(null), { isOnline: E } = il(), N = G(!1), w = ne((R) => R.agentId), C = ne((R) => R.sessionId), T = ne((R) => R.sessionToken), S = ne((R) => R.isStreaming), v = ne((R) => R.isWaitingForResponse), x = ne((R) => R.initialMessage), O = ne((R) => R.userId), I = ne((R) => R.fileUploadPerSession), {
10504
+ const [a, i] = V([]), c = G([]), [d, m] = V(!1), u = G(0), [p, h] = V(!1), [_, b] = V([]), y = G(null), f = _u(), g = G(null), { isOnline: E } = il(), N = G(!1), w = ne((R) => R.agentId), C = ne((R) => R.sessionId), T = ne((R) => R.sessionToken), S = ne((R) => R.isStreaming), v = ne((R) => R.isWaitingForResponse), x = ne((R) => R.initialMessage), O = ne((R) => R.userId), I = ne((R) => R.fileUploadPerSession), {
10506
10505
  setSessionId: z,
10507
10506
  setSessionToken: oe,
10508
10507
  setError: P,
@@ -10518,7 +10517,7 @@ const al = (e) => Object.fromEntries(
10518
10517
  getMessagesForSession: ue,
10519
10518
  updateMessageInSession: ge,
10520
10519
  setUserId: X,
10521
- setFileUploadPerSession: Ve,
10520
+ setFileUploadPerSession: Ue,
10522
10521
  setToastMessage: Ie,
10523
10522
  upsertElicitationState: Se
10524
10523
  } = ne.getState();
@@ -10680,7 +10679,7 @@ const al = (e) => Object.fromEntries(
10680
10679
  if (!k?.messageId || !k?.data || !k?.data?.details?.component || !k?.data?.tool_id)
10681
10680
  return;
10682
10681
  v && le(!1);
10683
- const { messageId: B, data: q } = k, te = q.tool_id, re = `${B}::${te}`, Me = ne.getState().elicitationState[re], ze = q.details?.component, Ze = k?.data?.details?._meta?.tool_result, se = q.details?.input, Q = vh(Me?.ui_input, se, ze);
10682
+ const { messageId: B, data: q } = k, te = q.tool_id, re = `${B}::${te}`, Me = ne.getState().elicitationState[re], ze = q.details?.component, Ze = k?.data?.details?._meta?.tool_result, se = q.details?.input, Q = wh(Me?.ui_input, se, ze);
10684
10683
  let Ce = k.data.details?._meta?.disp_toast_msg;
10685
10684
  const tt = q?.details?._meta?.schema?.required || [];
10686
10685
  switch (q?.details?.status) {
@@ -10937,7 +10936,7 @@ const al = (e) => Object.fromEntries(
10937
10936
  description: `${Q <= 0 ? "Maximum file upload limit reached" : `You have ${Q} file${Q === 1 ? "" : "s"} upload${Q === 1 ? "" : "s"} left`}`
10938
10937
  });
10939
10938
  return;
10940
- } else k && k.length && Ve(I + k.length);
10939
+ } else k && k.length && Ue(I + k.length);
10941
10940
  P(null), j(!1), we() && H(Ne.CONNECTED);
10942
10941
  try {
10943
10942
  const Q = a.length == 2 && _.length == 2 ? _ : null;
@@ -11163,20 +11162,20 @@ const al = (e) => Object.fromEntries(
11163
11162
  }
11164
11163
  }
11165
11164
  };
11166
- }, wh = 32, Ch = 100, Th = 320;
11167
- function Nh() {
11165
+ }, Th = 32, Nh = 100, xh = 320;
11166
+ function kh() {
11168
11167
  return typeof window > "u" || !window.matchMedia ? !1 : window.matchMedia("(prefers-reduced-motion: reduce)").matches;
11169
11168
  }
11170
- function xh({
11169
+ function Rh({
11171
11170
  messageCount: e,
11172
11171
  isStreaming: t,
11173
11172
  isFirstMessage: n,
11174
11173
  resolvedMode: r
11175
11174
  }) {
11176
- const o = G(null), s = G(null), [a, i] = U(!1), c = G(null), d = G(!1), m = G("auto"), u = G(!0), p = ae(() => o.current?.querySelector(
11175
+ const o = G(null), s = G(null), [a, i] = V(!1), c = G(null), d = G(!1), m = G("auto"), u = G(!0), p = ae(() => o.current?.querySelector(
11177
11176
  "[data-radix-scroll-area-viewport]"
11178
11177
  ) || null, []), h = ae(
11179
- (y) => Nh() ? "auto" : y,
11178
+ (y) => kh() ? "auto" : y,
11180
11179
  []
11181
11180
  ), _ = ae(
11182
11181
  (y) => {
@@ -11204,7 +11203,7 @@ function xh({
11204
11203
  if (!e || !u.current) return;
11205
11204
  const y = setTimeout(
11206
11205
  () => b("auto"),
11207
- Th
11206
+ xh
11208
11207
  );
11209
11208
  return () => clearTimeout(y);
11210
11209
  }, [r, e, b]), $(() => {
@@ -11218,7 +11217,7 @@ function xh({
11218
11217
  }
11219
11218
  const S = () => {
11220
11219
  const { scrollTop: O, scrollHeight: I, clientHeight: z } = w;
11221
- return I - O - z <= wh;
11220
+ return I - O - z <= Th;
11222
11221
  };
11223
11222
  u.current = !0;
11224
11223
  let v = 0;
@@ -11232,7 +11231,7 @@ function xh({
11232
11231
  w.addEventListener("scroll", x, { passive: !0 }), g = () => w.removeEventListener("scroll", x), f = new ResizeObserver(() => {
11233
11232
  if (!u.current) return;
11234
11233
  const O = Date.now();
11235
- O - E < Ch || (E = O, v++, b("auto"));
11234
+ O - E < Nh || (E = O, v++, b("auto"));
11236
11235
  }), f.observe(T);
11237
11236
  };
11238
11237
  return N(), () => {
@@ -11246,7 +11245,7 @@ function xh({
11246
11245
  scheduleScrollToBottom: b
11247
11246
  };
11248
11247
  }
11249
- function kh({ isOpen: e, agentId: t, config: n }) {
11248
+ function Ih({ isOpen: e, agentId: t, config: n }) {
11250
11249
  const {
11251
11250
  state: r,
11252
11251
  isMuted: o,
@@ -11256,9 +11255,9 @@ function kh({ isOpen: e, agentId: t, config: n }) {
11256
11255
  toggleMute: c
11257
11256
  } = Eu(), d = () => {
11258
11257
  r === M.VOICE_AGENT_STATE.IDLE && s();
11259
- }, m = r !== M.VOICE_AGENT_STATE.IDLE, [u, p] = U(""), [h, _] = U(!1), b = ne((se) => se.setDisplayMode), [y, f] = U(
11258
+ }, m = r !== M.VOICE_AGENT_STATE.IDLE, [u, p] = V(""), [h, _] = V(!1), b = ne((se) => se.setDisplayMode), [y, f] = V(
11260
11259
  n.displayMode === "full" ? "full" : "widget"
11261
- ), g = () => f((se) => se === "full" ? "widget" : "full"), N = ol() ? "mobile" : y, [w, C] = U([]), T = G(!1), [S, v] = U(!1), x = G(null), {
11260
+ ), g = () => f((se) => se === "full" ? "widget" : "full"), N = ol() ? "mobile" : y, [w, C] = V([]), T = G(!1), [S, v] = V(!1), x = G(null), {
11262
11261
  setAgentId: O,
11263
11262
  startNewConnection: I,
11264
11263
  showRetryButton: z,
@@ -11276,7 +11275,7 @@ function kh({ isOpen: e, agentId: t, config: n }) {
11276
11275
  setInitialDisplayMode: ue
11277
11276
  } = ne(), ge = ne((se) => se.elicitationState), {
11278
11277
  incomingMessages: X,
11279
- loading: Ve,
11278
+ loading: Ue,
11280
11279
  sendMessage: Ie,
11281
11280
  startSession: Se,
11282
11281
  isReady: he,
@@ -11286,7 +11285,7 @@ function kh({ isOpen: e, agentId: t, config: n }) {
11286
11285
  isValidFile: Ae,
11287
11286
  handleToggleFeedback: Ot,
11288
11287
  clearElicitationState: et
11289
- } = Sh({
11288
+ } = Ch({
11290
11289
  environment: n.environment,
11291
11290
  connectionType: n.connectionType,
11292
11291
  baseUrl: n.baseUrl ? n.baseUrl : void 0,
@@ -11312,7 +11311,7 @@ function kh({ isOpen: e, agentId: t, config: n }) {
11312
11311
  messagesEndRef: Lo,
11313
11312
  showScrollButton: Do,
11314
11313
  scrollToBottom: R
11315
- } = xh({
11314
+ } = Rh({
11316
11315
  messageCount: X.length,
11317
11316
  isStreaming: pe,
11318
11317
  isFirstMessage: Mt,
@@ -11417,7 +11416,7 @@ function kh({ isOpen: e, agentId: t, config: n }) {
11417
11416
  isAuthComponent: Mn,
11418
11417
  isConnected: k,
11419
11418
  isComposerDisabled: B,
11420
- loading: Ve,
11419
+ loading: Ue,
11421
11420
  initialMessage: A,
11422
11421
  // Chat hook values
11423
11422
  incomingMessages: X,
@@ -11454,7 +11453,7 @@ function kt() {
11454
11453
  return e;
11455
11454
  }, kt.apply(this, arguments);
11456
11455
  }
11457
- const Rh = ["children", "options"], ii = ["allowFullScreen", "allowTransparency", "autoComplete", "autoFocus", "autoPlay", "cellPadding", "cellSpacing", "charSet", "classId", "colSpan", "contentEditable", "contextMenu", "crossOrigin", "encType", "formAction", "formEncType", "formMethod", "formNoValidate", "formTarget", "frameBorder", "hrefLang", "inputMode", "keyParams", "keyType", "marginHeight", "marginWidth", "maxLength", "mediaGroup", "minLength", "noValidate", "radioGroup", "readOnly", "rowSpan", "spellCheck", "srcDoc", "srcLang", "srcSet", "tabIndex", "useMap"].reduce((e, t) => (e[t.toLowerCase()] = t, e), { class: "className", for: "htmlFor" }), ai = { amp: "&", apos: "'", gt: ">", lt: "<", nbsp: " ", quot: "“" }, Ih = ["style", "script", "pre"], Ah = ["src", "href", "data", "formAction", "srcDoc", "action"], Oh = /([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi, Mh = /\n{2,}$/, li = /^(\s*>[\s\S]*?)(?=\n\n|$)/, Ph = /^ *> ?/gm, Lh = /^(?:\[!([^\]]*)\]\n)?([\s\S]*)/, Dh = /^ {2,}\n/, Fh = /^(?:([-*_])( *\1){2,}) *(?:\n *)+\n/, ci = /^(?: {1,3})?(`{3,}|~{3,}) *(\S+)? *([^\n]*?)?\n([\s\S]*?)(?:\1\n?|$)/, di = /^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/, Vh = /^(`+)((?:\\`|(?!\1)`|[^`])+)\1/, Uh = /^(?:\n *)*\n/, $h = /\r\n?/g, zh = /^\[\^([^\]]+)](:(.*)((\n+ {4,}.*)|(\n(?!\[\^).+))*)/, Bh = /^\[\^([^\]]+)]/, jh = /\f/g, Hh = /^---[ \t]*\n(.|\n)*\n---[ \t]*\n/, Gh = /^\s*?\[(x|\s)\]/, ui = /^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/, hi = /^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/, fi = /^([^\n]+)\n *(=|-)\2{2,} *\n/, Mr = /^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?((?:[^>]*[^/])?)>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1\b)[\s\S])*?)<\/\1>(?!<\/\1>)\n*/i, Wh = /&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi, mi = /^<!--[\s\S]*?(?:-->)/, qh = /^(data|aria|x)-[a-z_][a-z\d_.-]*$/, Pr = /^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i, Yh = /^\{.*\}$/, Kh = /^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/, Zh = /^<([^ >]+[:@\/][^ >]+)>/, Xh = /-([a-z])?/gi, pi = /^(\|.*)\n(?: *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*))?\n?/, Jh = /^[^\n]+(?: \n|\n{2,})/, Qh = /^\[([^\]]*)\]:\s+<?([^\s>]+)>?\s*("([^"]*)")?/, ef = /^!\[([^\]]*)\] ?\[([^\]]*)\]/, tf = /^\[([^\]]*)\] ?\[([^\]]*)\]/, nf = /(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/, rf = /\t/g, of = /(^ *\||\| *$)/g, sf = /^ *:-+: *$/, af = /^ *:-+ *$/, lf = /^ *-+: *$/, ur = (e) => `(?=[\\s\\S]+?\\1${e ? "\\1" : ""})`, hr = "((?:\\[.*?\\][([].*?[)\\]]|<.*?>(?:.*?<.*?>)?|`.*?`|\\\\\\1|[\\s\\S])+?)", cf = RegExp(`^([*_])\\1${ur(1)}${hr}\\1\\1(?!\\1)`), df = RegExp(`^([*_])${ur(0)}${hr}\\1(?!\\1)`), uf = RegExp(`^(==)${ur(0)}${hr}\\1`), hf = RegExp(`^(~~)${ur(0)}${hr}\\1`), ff = /^(:[a-zA-Z0-9-_]+:)/, mf = /^\\([^0-9A-Za-z\s])/, pf = /\\([^0-9A-Za-z\s])/g, gf = /^[\s\S](?:(?! \n|[0-9]\.|http)[^=*_~\-\n:<`\\\[!])*/, _f = /^\n+/, Ef = /^([ \t]*)/, bf = /(?:^|\n)( *)$/, Oo = "(?:\\d+\\.)", Mo = "(?:[*+-])";
11456
+ const Ah = ["children", "options"], ii = ["allowFullScreen", "allowTransparency", "autoComplete", "autoFocus", "autoPlay", "cellPadding", "cellSpacing", "charSet", "classId", "colSpan", "contentEditable", "contextMenu", "crossOrigin", "encType", "formAction", "formEncType", "formMethod", "formNoValidate", "formTarget", "frameBorder", "hrefLang", "inputMode", "keyParams", "keyType", "marginHeight", "marginWidth", "maxLength", "mediaGroup", "minLength", "noValidate", "radioGroup", "readOnly", "rowSpan", "spellCheck", "srcDoc", "srcLang", "srcSet", "tabIndex", "useMap"].reduce((e, t) => (e[t.toLowerCase()] = t, e), { class: "className", for: "htmlFor" }), ai = { amp: "&", apos: "'", gt: ">", lt: "<", nbsp: " ", quot: "“" }, Oh = ["style", "script", "pre"], Mh = ["src", "href", "data", "formAction", "srcDoc", "action"], Ph = /([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi, Lh = /\n{2,}$/, li = /^(\s*>[\s\S]*?)(?=\n\n|$)/, Dh = /^ *> ?/gm, Fh = /^(?:\[!([^\]]*)\]\n)?([\s\S]*)/, Uh = /^ {2,}\n/, Vh = /^(?:([-*_])( *\1){2,}) *(?:\n *)+\n/, ci = /^(?: {1,3})?(`{3,}|~{3,}) *(\S+)? *([^\n]*?)?\n([\s\S]*?)(?:\1\n?|$)/, di = /^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/, $h = /^(`+)((?:\\`|(?!\1)`|[^`])+)\1/, zh = /^(?:\n *)*\n/, Bh = /\r\n?/g, jh = /^\[\^([^\]]+)](:(.*)((\n+ {4,}.*)|(\n(?!\[\^).+))*)/, Hh = /^\[\^([^\]]+)]/, Gh = /\f/g, Wh = /^---[ \t]*\n(.|\n)*\n---[ \t]*\n/, qh = /^\s*?\[(x|\s)\]/, ui = /^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/, hi = /^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/, fi = /^([^\n]+)\n *(=|-)\2{2,} *\n/, Mr = /^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?((?:[^>]*[^/])?)>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1\b)[\s\S])*?)<\/\1>(?!<\/\1>)\n*/i, Yh = /&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi, mi = /^<!--[\s\S]*?(?:-->)/, Kh = /^(data|aria|x)-[a-z_][a-z\d_.-]*$/, Pr = /^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i, Zh = /^\{.*\}$/, Xh = /^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/, Jh = /^<([^ >]+[:@\/][^ >]+)>/, Qh = /-([a-z])?/gi, pi = /^(\|.*)\n(?: *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*))?\n?/, ef = /^[^\n]+(?: \n|\n{2,})/, tf = /^\[([^\]]*)\]:\s+<?([^\s>]+)>?\s*("([^"]*)")?/, nf = /^!\[([^\]]*)\] ?\[([^\]]*)\]/, rf = /^\[([^\]]*)\] ?\[([^\]]*)\]/, of = /(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/, sf = /\t/g, af = /(^ *\||\| *$)/g, lf = /^ *:-+: *$/, cf = /^ *:-+ *$/, df = /^ *-+: *$/, ur = (e) => `(?=[\\s\\S]+?\\1${e ? "\\1" : ""})`, hr = "((?:\\[.*?\\][([].*?[)\\]]|<.*?>(?:.*?<.*?>)?|`.*?`|\\\\\\1|[\\s\\S])+?)", uf = RegExp(`^([*_])\\1${ur(1)}${hr}\\1\\1(?!\\1)`), hf = RegExp(`^([*_])${ur(0)}${hr}\\1(?!\\1)`), ff = RegExp(`^(==)${ur(0)}${hr}\\1`), mf = RegExp(`^(~~)${ur(0)}${hr}\\1`), pf = /^(:[a-zA-Z0-9-_]+:)/, gf = /^\\([^0-9A-Za-z\s])/, _f = /\\([^0-9A-Za-z\s])/g, Ef = /^[\s\S](?:(?! \n|[0-9]\.|http)[^=*_~\-\n:<`\\\[!])*/, bf = /^\n+/, yf = /^([ \t]*)/, vf = /(?:^|\n)( *)$/, Oo = "(?:\\d+\\.)", Mo = "(?:[*+-])";
11458
11457
  function ll(e) {
11459
11458
  return "( *)(" + (e === 1 ? Oo : Mo) + ") +";
11460
11459
  }
@@ -11462,23 +11461,23 @@ const cl = ll(1), dl = ll(2);
11462
11461
  function ul(e) {
11463
11462
  return RegExp("^" + (e === 1 ? cl : dl));
11464
11463
  }
11465
- const yf = ul(1), vf = ul(2);
11464
+ const Sf = ul(1), wf = ul(2);
11466
11465
  function hl(e) {
11467
11466
  return RegExp("^" + (e === 1 ? cl : dl) + "[^\\n]*(?:\\n(?!\\1" + (e === 1 ? Oo : Mo) + " )[^\\n]*)*(\\n|$)", "gm");
11468
11467
  }
11469
- const Sf = hl(1), wf = hl(2);
11468
+ const Cf = hl(1), Tf = hl(2);
11470
11469
  function fl(e) {
11471
11470
  const t = e === 1 ? Oo : Mo;
11472
11471
  return RegExp("^( *)(" + t + ") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1" + t + " (?!" + t + " ))\\n*|\\s*\\n*$)");
11473
11472
  }
11474
11473
  const ml = fl(1), pl = fl(2);
11475
11474
  function gi(e, t) {
11476
- const n = t === 1, r = n ? ml : pl, o = n ? Sf : wf, s = n ? yf : vf;
11475
+ const n = t === 1, r = n ? ml : pl, o = n ? Cf : Tf, s = n ? Sf : wf;
11477
11476
  return { t: (a) => s.test(a), o: Ht(function(a, i) {
11478
- const c = bf.exec(i.prevCapture);
11477
+ const c = vf.exec(i.prevCapture);
11479
11478
  return c && (i.list || !i.inline && !i.simple) ? r.exec(a = c[1] + a) : null;
11480
11479
  }), i: 1, u(a, i, c) {
11481
- const d = n ? +a[2] : void 0, m = a[0].replace(Mh, `
11480
+ const d = n ? +a[2] : void 0, m = a[0].replace(Lh, `
11482
11481
  `).match(o);
11483
11482
  let u = !1;
11484
11483
  return { items: m.map(function(p, h) {
@@ -11498,7 +11497,7 @@ function gi(e, t) {
11498
11497
  return e("li", { key: m }, i(d, c));
11499
11498
  })) };
11500
11499
  }
11501
- const Cf = RegExp(`^\\[((?:\\[[^\\[\\]]*(?:\\[[^\\[\\]]*\\][^\\[\\]]*)*\\]|[^\\[\\]])*)\\]\\(\\s*<?((?:\\([^)]*\\)|[^\\s\\\\]|\\\\.)*?)>?(?:\\s+['"]([\\s\\S]*?)['"])?\\s*\\)`), Tf = /^!\[(.*?)\]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/;
11500
+ const Nf = RegExp(`^\\[((?:\\[[^\\[\\]]*(?:\\[[^\\[\\]]*\\][^\\[\\]]*)*\\]|[^\\[\\]])*)\\]\\(\\s*<?((?:\\([^)]*\\)|[^\\s\\\\]|\\\\.)*?)>?(?:\\s+['"]([\\s\\S]*?)['"])?\\s*\\)`), xf = /^!\[(.*?)\]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/;
11502
11501
  function _i(e) {
11503
11502
  return typeof e == "string";
11504
11503
  }
@@ -11510,7 +11509,7 @@ function Tn(e) {
11510
11509
  function Zn(e, t) {
11511
11510
  return e.startsWith(t);
11512
11511
  }
11513
- function Nf(e, t, n) {
11512
+ function kf(e, t, n) {
11514
11513
  if (Array.isArray(n)) {
11515
11514
  for (let r = 0; r < n.length; r++) if (Zn(e, n[r])) return !0;
11516
11515
  return !1;
@@ -11520,8 +11519,8 @@ function Nf(e, t, n) {
11520
11519
  function vn(e) {
11521
11520
  return e.replace(/[ÀÁÂÃÄÅàáâãä忯]/g, "a").replace(/[çÇ]/g, "c").replace(/[ðÐ]/g, "d").replace(/[ÈÉÊËéèêë]/g, "e").replace(/[ÏïÎîÍíÌì]/g, "i").replace(/[Ññ]/g, "n").replace(/[øØœŒÕõÔôÓóÒò]/g, "o").replace(/[ÜüÛûÚúÙù]/g, "u").replace(/[ŸÿÝý]/g, "y").replace(/[^a-z0-9- ]/gi, "").replace(/ /gi, "-").toLowerCase();
11522
11521
  }
11523
- function xf(e) {
11524
- return lf.test(e) ? "right" : sf.test(e) ? "center" : af.test(e) ? "left" : null;
11522
+ function Rf(e) {
11523
+ return df.test(e) ? "right" : lf.test(e) ? "center" : cf.test(e) ? "left" : null;
11525
11524
  }
11526
11525
  function Ei(e, t, n, r) {
11527
11526
  const o = n.inTable;
@@ -11536,9 +11535,9 @@ function Ei(e, t, n, r) {
11536
11535
  c.trim() === "|" && (i(), r) ? d !== 0 && d !== m.length - 1 && s.push([]) : a += c;
11537
11536
  }), i(), n.inTable = o, s;
11538
11537
  }
11539
- function kf(e, t, n) {
11538
+ function If(e, t, n) {
11540
11539
  n.inline = !0;
11541
- const r = e[2] ? e[2].replace(of, "").split("|").map(xf) : [], o = e[3] ? (function(a, i, c) {
11540
+ const r = e[2] ? e[2].replace(af, "").split("|").map(Rf) : [], o = e[3] ? (function(a, i, c) {
11542
11541
  return a.trim().split(`
11543
11542
  `).map(function(d) {
11544
11543
  return Ei(d, i, c, !0);
@@ -11572,18 +11571,18 @@ function Wn(e) {
11572
11571
  return e.exec(t);
11573
11572
  });
11574
11573
  }
11575
- const Rf = /(javascript|vbscript|data(?!:image)):/i;
11576
- function If(e) {
11574
+ const Af = /(javascript|vbscript|data(?!:image)):/i;
11575
+ function Of(e) {
11577
11576
  try {
11578
11577
  const t = decodeURIComponent(e).replace(/[^A-Za-z0-9/:]/g, "");
11579
- if (Rf.test(t)) return null;
11578
+ if (Af.test(t)) return null;
11580
11579
  } catch {
11581
11580
  return null;
11582
11581
  }
11583
11582
  return e;
11584
11583
  }
11585
11584
  function Xe(e) {
11586
- return e && e.replace(pf, "$1");
11585
+ return e && e.replace(_f, "$1");
11587
11586
  }
11588
11587
  function Xn(e, t, n) {
11589
11588
  const r = n.inline || !1, o = n.simple || !1;
@@ -11591,13 +11590,13 @@ function Xn(e, t, n) {
11591
11590
  const s = e(t, n);
11592
11591
  return n.inline = r, n.simple = o, s;
11593
11592
  }
11594
- function Af(e, t, n) {
11593
+ function Mf(e, t, n) {
11595
11594
  const r = n.inline || !1, o = n.simple || !1;
11596
11595
  n.inline = !1, n.simple = !0;
11597
11596
  const s = e(t, n);
11598
11597
  return n.inline = r, n.simple = o, s;
11599
11598
  }
11600
- function Of(e, t, n) {
11599
+ function Pf(e, t, n) {
11601
11600
  const r = n.inline || !1;
11602
11601
  n.inline = !1;
11603
11602
  const o = e(t, n);
@@ -11610,34 +11609,34 @@ function Dr() {
11610
11609
  function Fr() {
11611
11610
  return null;
11612
11611
  }
11613
- function Mf(...e) {
11612
+ function Lf(...e) {
11614
11613
  return e.filter(Boolean).join(" ");
11615
11614
  }
11616
- function Vr(e, t, n) {
11615
+ function Ur(e, t, n) {
11617
11616
  let r = e;
11618
11617
  const o = t.split(".");
11619
11618
  for (; o.length && (r = r[o[0]], r !== void 0); ) o.shift();
11620
11619
  return r || n;
11621
11620
  }
11622
- function Pf(e = "", t = {}) {
11621
+ function Df(e = "", t = {}) {
11623
11622
  t.overrides = t.overrides || {}, t.namedCodesToUnicode = t.namedCodesToUnicode ? kt({}, ai, t.namedCodesToUnicode) : ai;
11624
- const n = t.slugify || vn, r = t.sanitizer || If, o = t.createElement || De, s = [li, ci, di, t.enforceAtxHeadings ? hi : ui, fi, pi, ml, pl], a = [...s, Jh, Mr, mi, Pr];
11623
+ const n = t.slugify || vn, r = t.sanitizer || Of, o = t.createElement || De, s = [li, ci, di, t.enforceAtxHeadings ? hi : ui, fi, pi, ml, pl], a = [...s, ef, Mr, mi, Pr];
11625
11624
  function i(f, g) {
11626
11625
  for (let E = 0; E < f.length; E++) if (f[E].test(g)) return !0;
11627
11626
  return !1;
11628
11627
  }
11629
11628
  function c(f, g, ...E) {
11630
- const N = Vr(t.overrides, f + ".props", {});
11629
+ const N = Ur(t.overrides, f + ".props", {});
11631
11630
  return o((function(w, C) {
11632
- const T = Vr(C, w);
11633
- return T ? typeof T == "function" || typeof T == "object" && "render" in T ? T : Vr(C, w + ".component", w) : w;
11634
- })(f, t.overrides), kt({}, g, N, { className: Mf(g?.className, N.className) || void 0 }), ...E);
11631
+ const T = Ur(C, w);
11632
+ return T ? typeof T == "function" || typeof T == "object" && "render" in T ? T : Ur(C, w + ".component", w) : w;
11633
+ })(f, t.overrides), kt({}, g, N, { className: Lf(g?.className, N.className) || void 0 }), ...E);
11635
11634
  }
11636
11635
  function d(f) {
11637
- f = f.replace(Hh, "");
11636
+ f = f.replace(Wh, "");
11638
11637
  let g = !1;
11639
- t.forceInline ? g = !0 : t.forceBlock || (g = nf.test(f) === !1);
11640
- const E = b(_(g ? f : Tn(f).replace(_f, "") + `
11638
+ t.forceInline ? g = !0 : t.forceBlock || (g = of.test(f) === !1);
11639
+ const E = b(_(g ? f : Tn(f).replace(bf, "") + `
11641
11640
 
11642
11641
  `, { inline: g }));
11643
11642
  for (; _i(E[E.length - 1]) && !E[E.length - 1].trim(); ) E.pop();
@@ -11653,12 +11652,12 @@ function Pf(e = "", t = {}) {
11653
11652
  }
11654
11653
  function m(f, g) {
11655
11654
  if (!g || !g.trim()) return null;
11656
- const E = g.match(Oh);
11655
+ const E = g.match(Ph);
11657
11656
  return E ? E.reduce(function(N, w) {
11658
11657
  const C = w.indexOf("=");
11659
11658
  if (C !== -1) {
11660
11659
  const T = (function(O) {
11661
- return O.indexOf("-") !== -1 && O.match(qh) === null && (O = O.replace(Xh, function(I, z) {
11660
+ return O.indexOf("-") !== -1 && O.match(Kh) === null && (O = O.replace(Qh, function(I, z) {
11662
11661
  return z.toUpperCase();
11663
11662
  })), O;
11664
11663
  })(w.slice(0, C)).trim(), S = (function(O) {
@@ -11697,7 +11696,7 @@ function Pf(e = "", t = {}) {
11697
11696
  return H;
11698
11697
  })(z).reduce(function(P, [H, j]) {
11699
11698
  return P[H.replace(/(-[a-z])/g, (L) => L[1].toUpperCase())] = oe(j, O, H), P;
11700
- }, {}) : Ah.indexOf(I) !== -1 ? oe(Xe(z), O, I) : (z.match(Yh) && (z = Xe(z.slice(1, z.length - 1))), z === "true" || z !== "false" && z);
11699
+ }, {}) : Mh.indexOf(I) !== -1 ? oe(Xe(z), O, I) : (z.match(Zh) && (z = Xe(z.slice(1, z.length - 1))), z === "true" || z !== "false" && z);
11701
11700
  })(f, T, S, r);
11702
11701
  typeof x == "string" && (Mr.test(x) || Pr.test(x)) && (N[v] = d(x.trim()));
11703
11702
  } else w !== "style" && (N[ii[w] || w] = !0);
@@ -11705,17 +11704,17 @@ function Pf(e = "", t = {}) {
11705
11704
  }, {}) : null;
11706
11705
  }
11707
11706
  const u = [], p = {}, h = { 0: { t: [">"], o: ot(li), i: 1, u(f, g, E) {
11708
- const [, N, w] = f[0].replace(Ph, "").match(Lh);
11707
+ const [, N, w] = f[0].replace(Dh, "").match(Fh);
11709
11708
  return { alert: N, children: g(w, E) };
11710
11709
  }, l(f, g, E) {
11711
11710
  const N = { key: E.key };
11712
11711
  return f.alert && (N.className = "markdown-alert-" + n(f.alert.toLowerCase(), vn), f.children.unshift({ attrs: {}, children: [{ type: "27", text: f.alert }], noInnerParse: !0, type: "11", tag: "header" })), c("blockquote", N, g(f.children, E));
11713
- } }, 1: { t: [" "], o: Wn(Dh), i: 1, u: Dr, l: (f, g, E) => c("br", { key: E.key }) }, 2: { t: ["--", "__", "**", "- ", "* ", "_ "], o: ot(Fh), i: 1, u: Dr, l: (f, g, E) => c("hr", { key: E.key }) }, 3: { t: [" "], o: ot(di), i: 0, u: (f) => ({ lang: void 0, text: Xe(Tn(f[0].replace(/^ {4}/gm, ""))) }), l: (f, g, E) => c("pre", { key: E.key }, c("code", kt({}, f.attrs, { className: f.lang ? "lang-" + f.lang : "" }), f.text)) }, 4: { t: ["```", "~~~"], o: ot(ci), i: 0, u: (f) => ({ attrs: m("code", f[3] || ""), lang: f[2] || void 0, text: f[4], type: "3" }) }, 5: { t: ["`"], o: gt(Vh), i: 3, u: (f) => ({ text: Xe(f[2]) }), l: (f, g, E) => c("code", { key: E.key }, f.text) }, 6: { t: ["[^"], o: ot(zh), i: 0, u: (f) => (u.push({ footnote: f[2], identifier: f[1] }), {}), l: Fr }, 7: { t: ["[^"], o: xt(Bh), i: 1, u: (f) => ({ target: "#" + n(f[1], vn), text: f[1] }), l: (f, g, E) => c("a", { key: E.key, href: r(f.target, "a", "href") }, c("sup", { key: E.key }, f.text)) }, 8: { t: ["[ ]", "[x]"], o: xt(Gh), i: 1, u: (f) => ({ completed: f[1].toLowerCase() === "x" }), l: (f, g, E) => c("input", { checked: f.completed, key: E.key, readOnly: !0, type: "checkbox" }) }, 9: { t: ["#"], o: ot(t.enforceAtxHeadings ? hi : ui), i: 1, u: (f, g, E) => ({ children: Xn(g, f[2], E), id: n(f[2], vn), level: f[1].length }), l: (f, g, E) => c("h" + f.level, { id: f.id, key: E.key }, g(f.children, E)) }, 10: { t: (f) => {
11712
+ } }, 1: { t: [" "], o: Wn(Uh), i: 1, u: Dr, l: (f, g, E) => c("br", { key: E.key }) }, 2: { t: ["--", "__", "**", "- ", "* ", "_ "], o: ot(Vh), i: 1, u: Dr, l: (f, g, E) => c("hr", { key: E.key }) }, 3: { t: [" "], o: ot(di), i: 0, u: (f) => ({ lang: void 0, text: Xe(Tn(f[0].replace(/^ {4}/gm, ""))) }), l: (f, g, E) => c("pre", { key: E.key }, c("code", kt({}, f.attrs, { className: f.lang ? "lang-" + f.lang : "" }), f.text)) }, 4: { t: ["```", "~~~"], o: ot(ci), i: 0, u: (f) => ({ attrs: m("code", f[3] || ""), lang: f[2] || void 0, text: f[4], type: "3" }) }, 5: { t: ["`"], o: gt($h), i: 3, u: (f) => ({ text: Xe(f[2]) }), l: (f, g, E) => c("code", { key: E.key }, f.text) }, 6: { t: ["[^"], o: ot(jh), i: 0, u: (f) => (u.push({ footnote: f[2], identifier: f[1] }), {}), l: Fr }, 7: { t: ["[^"], o: xt(Hh), i: 1, u: (f) => ({ target: "#" + n(f[1], vn), text: f[1] }), l: (f, g, E) => c("a", { key: E.key, href: r(f.target, "a", "href") }, c("sup", { key: E.key }, f.text)) }, 8: { t: ["[ ]", "[x]"], o: xt(qh), i: 1, u: (f) => ({ completed: f[1].toLowerCase() === "x" }), l: (f, g, E) => c("input", { checked: f.completed, key: E.key, readOnly: !0, type: "checkbox" }) }, 9: { t: ["#"], o: ot(t.enforceAtxHeadings ? hi : ui), i: 1, u: (f, g, E) => ({ children: Xn(g, f[2], E), id: n(f[2], vn), level: f[1].length }), l: (f, g, E) => c("h" + f.level, { id: f.id, key: E.key }, g(f.children, E)) }, 10: { t: (f) => {
11714
11713
  const g = f.indexOf(`
11715
11714
  `);
11716
11715
  return g > 0 && g < f.length - 1 && (f[g + 1] === "=" || f[g + 1] === "-");
11717
11716
  }, o: ot(fi), i: 1, u: (f, g, E) => ({ children: Xn(g, f[1], E), level: f[2] === "=" ? 1 : 2, type: "9" }) }, 11: { t: ["<"], o: Wn(Mr), i: 1, u(f, g, E) {
11718
- const [, N] = f[3].match(Ef), w = RegExp("^" + N, "gm"), C = f[3].replace(w, ""), T = i(a, C) ? Of : Xn, S = f[1].toLowerCase(), v = Ih.indexOf(S) !== -1, x = (v ? S : f[1]).trim(), O = { attrs: m(x, f[2]), noInnerParse: v, tag: x };
11717
+ const [, N] = f[3].match(yf), w = RegExp("^" + N, "gm"), C = f[3].replace(w, ""), T = i(a, C) ? Pf : Xn, S = f[1].toLowerCase(), v = Oh.indexOf(S) !== -1, x = (v ? S : f[1]).trim(), O = { attrs: m(x, f[2]), noInnerParse: v, tag: x };
11719
11718
  if (E.inAnchor = E.inAnchor || S === "a", v) O.text = f[3];
11720
11719
  else {
11721
11720
  const I = E.inHTML;
@@ -11725,11 +11724,11 @@ function Pf(e = "", t = {}) {
11725
11724
  }, l: (f, g, E) => c(f.tag, kt({ key: E.key }, f.attrs), f.text || (f.children ? g(f.children, E) : "")) }, 13: { t: ["<"], o: Wn(Pr), i: 1, u(f) {
11726
11725
  const g = f[1].trim();
11727
11726
  return { attrs: m(g, f[2] || ""), tag: g };
11728
- }, l: (f, g, E) => c(f.tag, kt({}, f.attrs, { key: E.key })) }, 12: { t: ["<!--"], o: Wn(mi), i: 1, u: () => ({}), l: Fr }, 14: { t: ["!["], o: gt(Tf), i: 1, u: (f) => ({ alt: Xe(f[1]), target: Xe(f[2]), title: Xe(f[3]) }), l: (f, g, E) => c("img", { key: E.key, alt: f.alt || void 0, title: f.title || void 0, src: r(f.target, "img", "src") }) }, 15: { t: ["["], o: xt(Cf), i: 3, u: (f, g, E) => ({ children: Af(g, f[1], E), target: Xe(f[2]), title: Xe(f[3]) }), l: (f, g, E) => c("a", { key: E.key, href: r(f.target, "a", "href"), title: f.title }, g(f.children, E)) }, 16: { t: ["<"], o: xt(Zh), i: 0, u(f) {
11727
+ }, l: (f, g, E) => c(f.tag, kt({}, f.attrs, { key: E.key })) }, 12: { t: ["<!--"], o: Wn(mi), i: 1, u: () => ({}), l: Fr }, 14: { t: ["!["], o: gt(xf), i: 1, u: (f) => ({ alt: Xe(f[1]), target: Xe(f[2]), title: Xe(f[3]) }), l: (f, g, E) => c("img", { key: E.key, alt: f.alt || void 0, title: f.title || void 0, src: r(f.target, "img", "src") }) }, 15: { t: ["["], o: xt(Nf), i: 3, u: (f, g, E) => ({ children: Mf(g, f[1], E), target: Xe(f[2]), title: Xe(f[3]) }), l: (f, g, E) => c("a", { key: E.key, href: r(f.target, "a", "href"), title: f.title }, g(f.children, E)) }, 16: { t: ["<"], o: xt(Jh), i: 0, u(f) {
11729
11728
  let g = f[1], E = !1;
11730
11729
  return g.indexOf("@") !== -1 && g.indexOf("//") === -1 && (E = !0, g = g.replace("mailto:", "")), { children: [{ text: g, type: "27" }], target: E ? "mailto:" + g : g, type: "15" };
11731
- } }, 17: { t: (f, g) => !g.inAnchor && !t.disableAutoLink && (Zn(f, "http://") || Zn(f, "https://")), o: xt(Kh), i: 0, u: (f) => ({ children: [{ text: f[1], type: "27" }], target: f[1], title: void 0, type: "15" }) }, 20: gi(c, 1), 33: gi(c, 2), 19: { t: [`
11732
- `], o: ot(Uh), i: 3, u: Dr, l: () => `
11730
+ } }, 17: { t: (f, g) => !g.inAnchor && !t.disableAutoLink && (Zn(f, "http://") || Zn(f, "https://")), o: xt(Xh), i: 0, u: (f) => ({ children: [{ text: f[1], type: "27" }], target: f[1], title: void 0, type: "15" }) }, 20: gi(c, 1), 33: gi(c, 2), 19: { t: [`
11731
+ `], o: ot(zh), i: 3, u: Dr, l: () => `
11733
11732
  ` }, 21: { o: Ht(function(f, g) {
11734
11733
  if (g.inline || g.simple || g.inHTML && f.indexOf(`
11735
11734
 
@@ -11745,7 +11744,7 @@ function Pf(e = "", t = {}) {
11745
11744
  }
11746
11745
  const w = Tn(E);
11747
11746
  return w === "" ? null : [E, , w];
11748
- }), i: 3, u: Lr, l: (f, g, E) => c("p", { key: E.key }, g(f.children, E)) }, 22: { t: ["["], o: xt(Qh), i: 0, u: (f) => (p[f[1]] = { target: f[2], title: f[4] }, {}), l: Fr }, 23: { t: ["!["], o: gt(ef), i: 0, u: (f) => ({ alt: f[1] ? Xe(f[1]) : void 0, ref: f[2] }), l: (f, g, E) => p[f.ref] ? c("img", { key: E.key, alt: f.alt, src: r(p[f.ref].target, "img", "src"), title: p[f.ref].title }) : null }, 24: { t: (f) => f[0] === "[" && f.indexOf("](") === -1, o: xt(tf), i: 0, u: (f, g, E) => ({ children: g(f[1], E), fallbackChildren: f[0], ref: f[2] }), l: (f, g, E) => p[f.ref] ? c("a", { key: E.key, href: r(p[f.ref].target, "a", "href"), title: p[f.ref].title }, g(f.children, E)) : c("span", { key: E.key }, f.fallbackChildren) }, 25: { t: ["|"], o: ot(pi), i: 1, u: kf, l(f, g, E) {
11747
+ }), i: 3, u: Lr, l: (f, g, E) => c("p", { key: E.key }, g(f.children, E)) }, 22: { t: ["["], o: xt(tf), i: 0, u: (f) => (p[f[1]] = { target: f[2], title: f[4] }, {}), l: Fr }, 23: { t: ["!["], o: gt(nf), i: 0, u: (f) => ({ alt: f[1] ? Xe(f[1]) : void 0, ref: f[2] }), l: (f, g, E) => p[f.ref] ? c("img", { key: E.key, alt: f.alt, src: r(p[f.ref].target, "img", "src"), title: p[f.ref].title }) : null }, 24: { t: (f) => f[0] === "[" && f.indexOf("](") === -1, o: xt(rf), i: 0, u: (f, g, E) => ({ children: g(f[1], E), fallbackChildren: f[0], ref: f[2] }), l: (f, g, E) => p[f.ref] ? c("a", { key: E.key, href: r(p[f.ref].target, "a", "href"), title: p[f.ref].title }, g(f.children, E)) : c("span", { key: E.key }, f.fallbackChildren) }, 25: { t: ["|"], o: ot(pi), i: 1, u: If, l(f, g, E) {
11749
11748
  const N = f;
11750
11749
  return c("table", { key: E.key }, c("thead", null, c("tr", null, N.header.map(function(w, C) {
11751
11750
  return c("th", { key: C, style: bi(N, C) }, g(w, E));
@@ -11756,14 +11755,14 @@ function Pf(e = "", t = {}) {
11756
11755
  })));
11757
11756
  } }, 27: { o: Ht(function(f, g) {
11758
11757
  let E;
11759
- return Zn(f, ":") && (E = ff.exec(f)), E || gf.exec(f);
11758
+ return Zn(f, ":") && (E = pf.exec(f)), E || Ef.exec(f);
11760
11759
  }), i: 4, u(f) {
11761
11760
  const g = f[0];
11762
- return { text: g.indexOf("&") === -1 ? g : g.replace(Wh, (E, N) => t.namedCodesToUnicode[N] || E) };
11763
- }, l: (f) => f.text }, 28: { t: ["**", "__"], o: gt(cf), i: 2, u: (f, g, E) => ({ children: g(f[2], E) }), l: (f, g, E) => c("strong", { key: E.key }, g(f.children, E)) }, 29: { t: (f) => {
11761
+ return { text: g.indexOf("&") === -1 ? g : g.replace(Yh, (E, N) => t.namedCodesToUnicode[N] || E) };
11762
+ }, l: (f) => f.text }, 28: { t: ["**", "__"], o: gt(uf), i: 2, u: (f, g, E) => ({ children: g(f[2], E) }), l: (f, g, E) => c("strong", { key: E.key }, g(f.children, E)) }, 29: { t: (f) => {
11764
11763
  const g = f[0];
11765
11764
  return (g === "*" || g === "_") && f[1] !== g;
11766
- }, o: gt(df), i: 3, u: (f, g, E) => ({ children: g(f[2], E) }), l: (f, g, E) => c("em", { key: E.key }, g(f.children, E)) }, 30: { t: ["\\"], o: gt(mf), i: 1, u: (f) => ({ text: f[1], type: "27" }) }, 31: { t: ["=="], o: gt(uf), i: 3, u: Lr, l: (f, g, E) => c("mark", { key: E.key }, g(f.children, E)) }, 32: { t: ["~~"], o: gt(hf), i: 3, u: Lr, l: (f, g, E) => c("del", { key: E.key }, g(f.children, E)) } };
11765
+ }, o: gt(hf), i: 3, u: (f, g, E) => ({ children: g(f[2], E) }), l: (f, g, E) => c("em", { key: E.key }, g(f.children, E)) }, 30: { t: ["\\"], o: gt(gf), i: 1, u: (f) => ({ text: f[1], type: "27" }) }, 31: { t: ["=="], o: gt(ff), i: 3, u: Lr, l: (f, g, E) => c("mark", { key: E.key }, g(f.children, E)) }, 32: { t: ["~~"], o: gt(mf), i: 3, u: Lr, l: (f, g, E) => c("del", { key: E.key }, g(f.children, E)) } };
11767
11766
  t.disableParsingRawHTML === !0 && (delete h[11], delete h[13]);
11768
11767
  const _ = (function(f) {
11769
11768
  var g = Object.keys(f);
@@ -11771,7 +11770,7 @@ function Pf(e = "", t = {}) {
11771
11770
  var C = [];
11772
11771
  if (w.prevCapture = w.prevCapture || "", N.trim()) for (; N; ) for (var T = 0; T < g.length; ) {
11773
11772
  var S = g[T], v = f[S];
11774
- if (!v.t || Nf(N, w, v.t)) {
11773
+ if (!v.t || kf(N, w, v.t)) {
11775
11774
  var x = v.o(N, w);
11776
11775
  if (x && x[0]) {
11777
11776
  N = N.substring(x[0].length);
@@ -11788,8 +11787,8 @@ function Pf(e = "", t = {}) {
11788
11787
  return f[N].i - f[w].i || (N < w ? -1 : 1);
11789
11788
  }), function(N, w) {
11790
11789
  return E((function(C) {
11791
- return C.replace($h, `
11792
- `).replace(jh, "").replace(rf, " ");
11790
+ return C.replace(Bh, `
11791
+ `).replace(Gh, "").replace(sf, " ");
11793
11792
  })(N), w);
11794
11793
  };
11795
11794
  })(h), b = /* @__PURE__ */ (function(f, g) {
@@ -11814,32 +11813,32 @@ function Pf(e = "", t = {}) {
11814
11813
  return c("div", { id: n(f.identifier, vn), key: f.identifier }, f.identifier, b(_(f.footnote, { inline: !0 })));
11815
11814
  }))) : y;
11816
11815
  }
11817
- const Lf = (e) => {
11816
+ const Ff = (e) => {
11818
11817
  let { children: t, options: n } = e, r = (function(o, s) {
11819
11818
  if (o == null) return {};
11820
11819
  var a, i, c = {}, d = Object.keys(o);
11821
11820
  for (i = 0; i < d.length; i++) s.indexOf(a = d[i]) >= 0 || (c[a] = o[a]);
11822
11821
  return c;
11823
- })(e, Rh);
11824
- return yt(Pf(t ?? "", n), r);
11825
- }, Df = {
11822
+ })(e, Ah);
11823
+ return yt(Df(t ?? "", n), r);
11824
+ }, Uf = {
11826
11825
  disableParsingRawHTML: !0,
11827
11826
  forceBlock: !0
11828
11827
  };
11829
11828
  function Xr({ children: e }) {
11830
- return /* @__PURE__ */ l(Lf, { options: Df, children: e });
11829
+ return /* @__PURE__ */ l(Ff, { options: Uf, children: e });
11831
11830
  }
11832
- const Ff = dt(
11833
- () => Promise.resolve().then(() => Gf).then((e) => ({ default: e.Pills }))
11834
- ), Vf = dt(
11831
+ const Vf = dt(
11832
+ () => Promise.resolve().then(() => qf).then((e) => ({ default: e.Pills }))
11833
+ ), $f = dt(
11835
11834
  () => import("./medassist-widget-MultiSelect-BnExX-Ty.js").then((e) => ({ default: e.MultiSelectGroup }))
11836
- ), Uf = dt(
11835
+ ), zf = dt(
11837
11836
  () => import("./medassist-widget-FocusCarousel-BsLIZftX.js").then((e) => ({ default: e.FocusCarousel }))
11838
- ), $f = dt(
11837
+ ), Bf = dt(
11839
11838
  () => import("./medassist-widget-DoctorCard-BdLitZW0.js").then((e) => ({ default: e.DoctorCard }))
11840
- ), zf = dt(
11839
+ ), jf = dt(
11841
11840
  () => import("./medassist-widget-CardList-BR2hjo_A.js").then((e) => ({ default: e.CardList }))
11842
- ), Bf = dt(
11841
+ ), Hf = dt(
11843
11842
  () => import("./medassist-widget-MediaCard-DRUToQV3.js").then((e) => ({ default: e.MediaCard }))
11844
11843
  );
11845
11844
  function ke({ className: e }) {
@@ -11921,14 +11920,14 @@ function Ft({ variant: e }) {
11921
11920
  function qn() {
11922
11921
  return /* @__PURE__ */ l("style", { children: "@keyframes shimmer { 100% { transform: translateX(100%); } }" });
11923
11922
  }
11924
- function jf({
11923
+ function Gf({
11925
11924
  messageId: e,
11926
11925
  tool_key: t,
11927
11926
  entry: n,
11928
11927
  onSendMessage: r,
11929
11928
  disabled: o
11930
11929
  }) {
11931
- const [s, a] = U([]), [i, c] = U({}), [d, m] = U(!1), [u, p] = U(5), h = n.component, _ = n.disabled, b = de(() => n.ui_input, [n.ui_input]);
11930
+ const [s, a] = V([]), [i, c] = V({}), [d, m] = V(!1), [u, p] = V(5), h = n.component, _ = n.disabled, b = de(() => n.ui_input, [n.ui_input]);
11932
11931
  $(() => {
11933
11932
  h === M.SYNAPSE_COMPONENTS.DOCTOR_CARD && b?.doctor_details && c(b.doctor_details);
11934
11933
  }, [h, b?.doctor_details]);
@@ -11982,7 +11981,7 @@ function jf({
11982
11981
  return /* @__PURE__ */ l("div", { className: "flex justify-end", children: [
11983
11982
  C && /* @__PURE__ */ l(Re, { fallback: /* @__PURE__ */ l(Ft, { variant: "pill" }), children: /* @__PURE__ */ l("div", { className: `flex ${C.length > 3 ? "flex-col" : "flex-wrap"} gap-2 mt-3`, children: [
11984
11983
  C.slice(0, u).map((v, x) => /* @__PURE__ */ l(
11985
- Ff,
11984
+ Vf,
11986
11985
  {
11987
11986
  disabled: _ || o || d,
11988
11987
  text: v?.label || "",
@@ -12015,7 +12014,7 @@ function jf({
12015
12014
  h === M.SYNAPSE_COMPONENTS.MULTI && b?.options && /* @__PURE__ */ l(Re, { fallback: /* @__PURE__ */ l(Ft, { variant: "input" }), children: /* @__PURE__ */ l("div", { className: "mt-3 space-y-3 break-words overflow-wrap-anywhere whitespace-pre-wrap bg-elicitationBg border border-primary/40 rounded-xl p-4", children: [
12016
12015
  /* @__PURE__ */ l("h3", { className: "text-xs font-medium text-muted-foreground mb-2", children: "Select multiple options:" }),
12017
12016
  /* @__PURE__ */ l(
12018
- Vf,
12017
+ $f,
12019
12018
  {
12020
12019
  options: N(),
12021
12020
  selectedValues: s,
@@ -12039,7 +12038,7 @@ function jf({
12039
12038
  )
12040
12039
  ] }) }),
12041
12040
  w && w.length > 0 ? /* @__PURE__ */ l(Re, { fallback: /* @__PURE__ */ l(Ft, { variant: "card" }), children: /* @__PURE__ */ l(
12042
- Uf,
12041
+ zf,
12043
12042
  {
12044
12043
  count: w.length > 1 ? w.length + 1 : w.length,
12045
12044
  renderItem: (v, x) => {
@@ -12072,7 +12071,7 @@ function jf({
12072
12071
  );
12073
12072
  const O = w[v];
12074
12073
  return /* @__PURE__ */ l(Re, { fallback: /* @__PURE__ */ l(Ft, { variant: "card" }), children: /* @__PURE__ */ l(
12075
- $f,
12074
+ Bf,
12076
12075
  {
12077
12076
  doctor: O,
12078
12077
  doctorDetails: i?.[O.doctor_id],
@@ -12085,7 +12084,7 @@ function jf({
12085
12084
  }
12086
12085
  ) }) : null,
12087
12086
  T && /* @__PURE__ */ l(Re, { fallback: /* @__PURE__ */ l(Ft, { variant: "card" }), children: /* @__PURE__ */ l(
12088
- zf,
12087
+ jf,
12089
12088
  {
12090
12089
  cards: T,
12091
12090
  onSelect: async (v) => {
@@ -12100,10 +12099,10 @@ function jf({
12100
12099
  disabled: _ || o
12101
12100
  }
12102
12101
  ) }),
12103
- S && /* @__PURE__ */ l(Re, { fallback: /* @__PURE__ */ l(Ft, { variant: "media" }), children: /* @__PURE__ */ l("div", { className: "mt-3", children: /* @__PURE__ */ l(Bf, { card: S }) }) })
12102
+ S && /* @__PURE__ */ l(Re, { fallback: /* @__PURE__ */ l(Ft, { variant: "media" }), children: /* @__PURE__ */ l("div", { className: "mt-3", children: /* @__PURE__ */ l(Hf, { card: S }) }) })
12104
12103
  ] });
12105
12104
  }
12106
- function Hf({
12105
+ function Wf({
12107
12106
  id: e,
12108
12107
  role: t,
12109
12108
  content: n,
@@ -12121,7 +12120,7 @@ function Hf({
12121
12120
  isAuthComponent: _,
12122
12121
  isFullScreen: b
12123
12122
  }) {
12124
- const y = t === "user", [f, g] = U(M.USER_FEEDBACK.NONE), E = ne((C) => C.isStreaming), N = (C) => {
12123
+ const y = t === "user", [f, g] = V(M.USER_FEEDBACK.NONE), E = ne((C) => C.isStreaming), N = (C) => {
12125
12124
  g(C), u(C);
12126
12125
  }, w = !!(n?.trim() || r && r.length > 0 || d || s || i);
12127
12126
  return /* @__PURE__ */ l(be, { children: [
@@ -12224,7 +12223,7 @@ function Hf({
12224
12223
  a?.map((C) => {
12225
12224
  const T = c[C];
12226
12225
  return T ? /* @__PURE__ */ l(
12227
- jf,
12226
+ Gf,
12228
12227
  {
12229
12228
  messageId: e,
12230
12229
  tool_key: C,
@@ -12318,7 +12317,7 @@ function gl({
12318
12317
  onClick: o,
12319
12318
  disabled: s = !1
12320
12319
  }) {
12321
- const [a, i] = U(!1), c = G(null), d = G(null);
12320
+ const [a, i] = V(!1), c = G(null), d = G(null);
12322
12321
  return $(() => {
12323
12322
  const m = () => {
12324
12323
  if (c.current && d.current) {
@@ -12360,8 +12359,8 @@ function gl({
12360
12359
  }
12361
12360
  ) : null;
12362
12361
  }
12363
- const Gf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, Pills: gl }, Symbol.toStringTag, { value: "Module" }));
12364
- function Wf({
12362
+ const qf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, Pills: gl }, Symbol.toStringTag, { value: "Module" }));
12363
+ function Yf({
12365
12364
  text: e,
12366
12365
  suggestions: t,
12367
12366
  onSendMessage: n,
@@ -12423,7 +12422,7 @@ function Wf({
12423
12422
  ) })
12424
12423
  ] });
12425
12424
  }
12426
- function qf({
12425
+ function Kf({
12427
12426
  messages: e,
12428
12427
  onSendMessage: t,
12429
12428
  onToggleFeedback: n,
@@ -12435,7 +12434,7 @@ function qf({
12435
12434
  }) {
12436
12435
  const c = ne((h) => h.isWaitingForResponse), d = ne((h) => h.connectionStatus), m = ne((h) => h.elicitationState), u = d === Ne.CONNECTED, p = ne((h) => h.progressMessage);
12437
12436
  return e.length === 0 && !p ? /* @__PURE__ */ l(
12438
- Wf,
12437
+ Yf,
12439
12438
  {
12440
12439
  text: a?.text,
12441
12440
  suggestions: a?.suggestions,
@@ -12452,7 +12451,7 @@ function qf({
12452
12451
  "data-message-id": h.id,
12453
12452
  id: _ === e.length - 1 ? "last-message" : void 0,
12454
12453
  children: /* @__PURE__ */ l(
12455
- Hf,
12454
+ Wf,
12456
12455
  {
12457
12456
  id: h.id,
12458
12457
  role: h.role,
@@ -12476,10 +12475,10 @@ function qf({
12476
12475
  },
12477
12476
  h.id
12478
12477
  )) }),
12479
- c && /* @__PURE__ */ l(Yf, {})
12478
+ c && /* @__PURE__ */ l(Zf, {})
12480
12479
  ] });
12481
12480
  }
12482
- function Yf() {
12481
+ function Zf() {
12483
12482
  return /* @__PURE__ */ l("div", { className: "animate-slideUp", children: /* @__PURE__ */ l("div", { className: "flex justify-start", children: /* @__PURE__ */ l("div", { className: "flex gap-3", children: /* @__PURE__ */ l(jt, { className: "px-4 py-2 rounded-lg shadow-none bg-botMessage backdrop-blur-sm text-text-primary shadow-sm", children: /* @__PURE__ */ l(
12484
12483
  "div",
12485
12484
  {
@@ -12496,7 +12495,7 @@ function Yf() {
12496
12495
  }
12497
12496
  ) }) }) }) });
12498
12497
  }
12499
- function Kf({ message: e, onDismiss: t }) {
12498
+ function Xf({ message: e, onDismiss: t }) {
12500
12499
  return /* @__PURE__ */ l(be, { children: [
12501
12500
  /* @__PURE__ */ l(
12502
12501
  "div",
@@ -12544,7 +12543,7 @@ function Kf({ message: e, onDismiss: t }) {
12544
12543
  )
12545
12544
  ] });
12546
12545
  }
12547
- function Zf() {
12546
+ function Jf() {
12548
12547
  const e = ne((r) => r.toastMessage), t = ne((r) => r.setToastMessage), n = ae(() => {
12549
12548
  t(null);
12550
12549
  }, [t]);
@@ -12553,7 +12552,7 @@ function Zf() {
12553
12552
  const r = window.setTimeout(n, 3e3);
12554
12553
  return () => window.clearTimeout(r);
12555
12554
  }, [e, n]), e ? /* @__PURE__ */ l(
12556
- Kf,
12555
+ Xf,
12557
12556
  {
12558
12557
  message: e,
12559
12558
  onDismiss: n
@@ -12569,7 +12568,7 @@ function yi({
12569
12568
  error: s,
12570
12569
  isConnected: a
12571
12570
  }) {
12572
- const { isOnline: i } = il(), [c, d] = U(!0);
12571
+ const { isOnline: i } = il(), [c, d] = V(!0);
12573
12572
  return $(() => {
12574
12573
  if (!r && !n && !!s) {
12575
12574
  d(!0);
@@ -12640,8 +12639,8 @@ function yi({
12640
12639
  }
12641
12640
  );
12642
12641
  }
12643
- const Xf = dt(() => import("./medassist-widget-VoiceAgentScreen-BK0p37RC.js"));
12644
- function Jf({
12642
+ const Qf = dt(() => import("./medassist-widget-VoiceAgentScreen-BK0p37RC.js"));
12643
+ function em({
12645
12644
  isOpen: e,
12646
12645
  agentId: t,
12647
12646
  config: n
@@ -12679,7 +12678,7 @@ function Jf({
12679
12678
  disconnectVoiceAgent: H,
12680
12679
  resetVoiceAgent: j,
12681
12680
  toggleMute: L
12682
- } = kh({ isOpen: e, agentId: t, config: n });
12681
+ } = Ih({ isOpen: e, agentId: t, config: n });
12683
12682
  $(() => {
12684
12683
  N.length || x("auto");
12685
12684
  }, [N.length, x]);
@@ -12715,7 +12714,7 @@ function Jf({
12715
12714
  voiceAgentState: z,
12716
12715
  chatComposer: O,
12717
12716
  fullScreenEmptyState: E ? (le) => /* @__PURE__ */ l(
12718
- Eh,
12717
+ yh,
12719
12718
  {
12720
12719
  title: n.title,
12721
12720
  description: n?.initialMessage?.text,
@@ -12738,7 +12737,7 @@ function Jf({
12738
12737
  }
12739
12738
  ) : void 0,
12740
12739
  children: P ? /* @__PURE__ */ l(Re, { fallback: /* @__PURE__ */ l(vi, {}), children: /* @__PURE__ */ l(
12741
- Xf,
12740
+ Qf,
12742
12741
  {
12743
12742
  state: z,
12744
12743
  isMuted: oe,
@@ -12771,8 +12770,8 @@ function Jf({
12771
12770
  children: [
12772
12771
  g && /* @__PURE__ */ l("div", { className: "text-xs text-[var(--color-muted-foreground)] text-center mb-2", children: "Just now" }),
12773
12772
  !g && /* @__PURE__ */ l("div", { className: "text-xs text-[var(--color-muted-foreground)] text-center", children: pe }),
12774
- /* @__PURE__ */ l(Re, { fallback: /* @__PURE__ */ l(Uu, {}), children: /* @__PURE__ */ l(
12775
- qf,
12773
+ /* @__PURE__ */ l(Re, { fallback: /* @__PURE__ */ l(Vu, {}), children: /* @__PURE__ */ l(
12774
+ Kf,
12776
12775
  {
12777
12776
  messages: N,
12778
12777
  onSendMessage: w,
@@ -12792,7 +12791,7 @@ function Jf({
12792
12791
  ]
12793
12792
  }
12794
12793
  ),
12795
- /* @__PURE__ */ l(Re, { fallback: null, children: /* @__PURE__ */ l(Zf, {}) })
12794
+ /* @__PURE__ */ l(Re, { fallback: null, children: /* @__PURE__ */ l(Jf, {}) })
12796
12795
  ] }),
12797
12796
  i && /* @__PURE__ */ l("div", { className: "absolute bottom-[10px] left-1/2 transform -translate-x-1/2 z-10", children: /* @__PURE__ */ l(
12798
12797
  ce,
@@ -12838,7 +12837,7 @@ function Jr(e) {
12838
12837
  return new Error("Unknown error");
12839
12838
  }
12840
12839
  }
12841
- class Qf extends Ge {
12840
+ class tm extends Ge {
12842
12841
  state = { error: null };
12843
12842
  static getDerivedStateFromError(t) {
12844
12843
  return { error: Jr(t) };
@@ -12848,7 +12847,7 @@ class Qf extends Ge {
12848
12847
  }
12849
12848
  render() {
12850
12849
  return this.state.error ? /* @__PURE__ */ l(
12851
- nm,
12850
+ om,
12852
12851
  {
12853
12852
  error: this.state.error,
12854
12853
  componentStack: this.state.componentStack,
@@ -12864,11 +12863,11 @@ class Qf extends Ge {
12864
12863
  ) : this.props.children;
12865
12864
  }
12866
12865
  }
12867
- function em({ error: e }) {
12866
+ function nm({ error: e }) {
12868
12867
  throw e;
12869
12868
  }
12870
- function tm(e) {
12871
- const [t, n] = U(null);
12869
+ function rm(e) {
12870
+ const [t, n] = V(null);
12872
12871
  return $(() => {
12873
12872
  if (typeof window > "u") return;
12874
12873
  const r = (s) => {
@@ -12879,9 +12878,9 @@ function tm(e) {
12879
12878
  return window.addEventListener("error", r), window.addEventListener("unhandledrejection", o), () => {
12880
12879
  window.removeEventListener("error", r), window.removeEventListener("unhandledrejection", o);
12881
12880
  };
12882
- }, []), /* @__PURE__ */ l(Qf, { ...e, children: t ? /* @__PURE__ */ l(em, { error: t }) : e.children });
12881
+ }, []), /* @__PURE__ */ l(tm, { ...e, children: t ? /* @__PURE__ */ l(nm, { error: t }) : e.children });
12883
12882
  }
12884
- function nm({
12883
+ function om({
12885
12884
  error: e,
12886
12885
  title: t,
12887
12886
  titleImg: n,
@@ -12949,8 +12948,8 @@ function nm({
12949
12948
  }
12950
12949
  );
12951
12950
  }
12952
- function rm({ agentId: e, config: t }) {
12953
- const [n, r] = U(!1);
12951
+ function sm({ agentId: e, config: t }) {
12952
+ const [n, r] = V(!1);
12954
12953
  $(() => {
12955
12954
  r(!0);
12956
12955
  }, []);
@@ -12958,7 +12957,7 @@ function rm({ agentId: e, config: t }) {
12958
12957
  r(!1), t?.onClose?.();
12959
12958
  };
12960
12959
  return /* @__PURE__ */ l(
12961
- tm,
12960
+ rm,
12962
12961
  {
12963
12962
  title: t.title ?? "Medi Clinic",
12964
12963
  titleImg: t.theme?.titleImg,
@@ -12969,7 +12968,7 @@ function rm({ agentId: e, config: t }) {
12969
12968
  displayMode: t.displayMode,
12970
12969
  theme: t.theme,
12971
12970
  children: /* @__PURE__ */ l(pu, { children: /* @__PURE__ */ l(
12972
- Jf,
12971
+ em,
12973
12972
  {
12974
12973
  isOpen: n,
12975
12974
  agentId: e,
@@ -12986,13 +12985,13 @@ function rm({ agentId: e, config: t }) {
12986
12985
  }
12987
12986
  );
12988
12987
  }
12989
- const om = (e, t, n) => {
12988
+ const im = (e, t, n) => {
12990
12989
  const r = n || {}, o = Bl(e);
12991
12990
  return o.render(
12992
- /* @__PURE__ */ l(be, { children: /* @__PURE__ */ l(rm, { agentId: t, config: r }) })
12991
+ /* @__PURE__ */ l(be, { children: /* @__PURE__ */ l(sm, { agentId: t, config: r }) })
12993
12992
  ), o;
12994
12993
  };
12995
- typeof window < "u" && (window.renderMedAssist = om);
12994
+ typeof window < "u" && (window.renderMedAssist = im);
12996
12995
  export {
12997
12996
  G as A,
12998
12997
  ce as B,
@@ -13008,22 +13007,22 @@ export {
13008
13007
  M as a,
13009
13008
  zt as b,
13010
13009
  Fe as c,
13011
- U as d,
13010
+ V as d,
13012
13011
  Ql as e,
13013
13012
  An as f,
13014
13013
  At as g,
13015
13014
  Rt as h,
13016
13015
  D as i,
13017
- _m as j,
13016
+ bm as j,
13018
13017
  bu as k,
13019
13018
  Qa as l,
13020
13019
  Ju as m,
13021
13020
  el as n,
13022
- gm as o,
13021
+ Em as o,
13023
13022
  Su as p,
13024
13023
  ae as q,
13025
13024
  Xr as r,
13026
- om as renderMedAssist,
13025
+ im as renderMedAssist,
13027
13026
  jt as s,
13028
13027
  yu as t,
13029
13028
  l as u,