@versini/sassysaint 5.5.31 → 5.5.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,8 +1,8 @@
1
- import { jsxs as x, jsx as i, Fragment as Oe } from "react/jsx-runtime";
2
- import { g as ie, ACTION_RESTORE as Kr, ACTION_MESSAGE as ye, ROLE_ASSISTANT as ve, ACTION_RESET as ht, ACTION_MODEL as cr, ACTION_STREAMING as lr, ACTION_SORT as Jr, ACTION_SEARCH as Yr, ACTION_RESET_PROMPT as dr, ACTION_TOGGLE_PROMPT as ur, DEFAULT_AI_ENGINE as ke, P as Ee, un as xe, ENGINE_ANTHROPIC as Fe, ENGINE_OPENAI as $t, PROMPT_CLASSNAME as Zr, PROMPT_EDITABLE_AREA_CLASSNAME as Xr, ROLE_SYSTEM as Qr, ROLE_INTERNAL as ft, ROLE_HIDDEN as ea, STATS_SEPARATOR as Dt, CLIPBOARD_PROMPT as Vt, TYPE_QUESTION as ta, APP_NAME as ra, ERROR_MESSAGE as aa, ROLE_USER as Qe, isLastMessageFromRole as na, getMessageContaintWrapperClass as oa, Logo as sa, getMainPaddingClass as Pt, r as ia, LOCAL_STORAGE_PREFIX as Ut, LOCAL_STORAGE_SEARCH as ca, LOCAL_STORAGE_SORT as la } from "./index.jHs4IE9w.js";
1
+ import { jsxs as x, jsx as i, Fragment as ht } from "react/jsx-runtime";
2
+ import { g as ie, ACTION_RESTORE as Kr, ACTION_MESSAGE as ye, ROLE_ASSISTANT as ve, ACTION_RESET as ft, ACTION_MODEL as cr, ACTION_STREAMING as lr, ACTION_SORT as Jr, ACTION_SEARCH as Yr, ACTION_RESET_PROMPT as dr, ACTION_TOGGLE_PROMPT as ur, DEFAULT_AI_ENGINE as ke, P as Ee, un as xe, ENGINE_ANTHROPIC as Fe, ENGINE_OPENAI as $t, PROMPT_CLASSNAME as Zr, PROMPT_EDITABLE_AREA_CLASSNAME as Xr, ROLE_SYSTEM as Qr, ROLE_INTERNAL as pt, ROLE_HIDDEN as ea, STATS_SEPARATOR as Dt, CLIPBOARD_PROMPT as Pt, TYPE_QUESTION as ta, ERROR_MESSAGE as ra, ROLE_USER as Qe, FOOTER_DISCLAIMER as aa, isLastMessageFromRole as na, getMessageContaintWrapperClass as oa, Logo as sa, getMainPaddingClass as Vt, r as ia, LOCAL_STORAGE_PREFIX as Ut, LOCAL_STORAGE_SEARCH as ca, LOCAL_STORAGE_SORT as la } from "./index.ObAZLC3I.js";
3
3
  import l from "clsx";
4
4
  import * as et from "react";
5
- import O, { useRef as L, useEffect as A, useCallback as Z, useSyncExternalStore as da, useMemo as pt, useState as W, useId as ua, useContext as $, createContext as ma, useLayoutEffect as mr, useDebugValue as ga, forwardRef as gr, lazy as hr, Suspense as tt, useReducer as He } from "react";
5
+ import M, { useRef as A, useEffect as O, useCallback as K, useSyncExternalStore as da, useMemo as bt, useState as W, useId as ua, useContext as B, createContext as ma, useLayoutEffect as mr, useDebugValue as ga, forwardRef as gr, lazy as hr, Suspense as tt, useReducer as He } from "react";
6
6
  import { useFloatingTree as fr, useFloatingNodeId as ha, useListItem as pr, useFloating as fa, offset as pa, flip as ba, shift as ya, autoUpdate as va, useClick as ka, useRole as _a, useDismiss as Ea, useListNavigation as xa, useTypeahead as Sa, useInteractions as wa, useMergeRefs as br, FloatingNode as Ta, FloatingList as Na, FloatingPortal as Ca, FloatingFocusManager as Ra, FloatingTree as Ia } from "@floating-ui/react";
7
7
  const La = ({
8
8
  className: e,
@@ -47,7 +47,7 @@ const La = ({
47
47
  ...n,
48
48
  children: /* @__PURE__ */ i("path", { d: "M17.3041 3.541h-3.6718l6.696 16.918H24Zm-10.6082 0L0 20.459h3.7442l1.3693-3.5527h7.0052l1.3693 3.5528h3.7442L10.5363 3.5409Zm-.3712 10.2232 2.2914-5.9456 2.2914 5.9456Z" })
49
49
  }
50
- ), Aa = ({
50
+ ), Oa = ({
51
51
  className: e,
52
52
  viewBox: t,
53
53
  title: r,
@@ -80,7 +80,7 @@ const La = ({
80
80
  )
81
81
  ]
82
82
  }
83
- ), Oa = ({
83
+ ), Aa = ({
84
84
  className: e,
85
85
  viewBox: t,
86
86
  title: r,
@@ -150,13 +150,13 @@ const La = ({
150
150
  }
151
151
  );
152
152
  /*!
153
- @versini/ui-header v3.0.1
153
+ @versini/ui-header v3.0.2
154
154
  © 2025 gizmette.com
155
155
  */
156
156
  try {
157
157
  window.__VERSINI_UI_HEADER__ || (window.__VERSINI_UI_HEADER__ = {
158
- version: "3.0.1",
159
- buildTime: "01/06/2025 08:00 PM EST",
158
+ version: "3.0.2",
159
+ buildTime: "01/13/2025 01:15 PM EST",
160
160
  homepage: "https://github.com/aversini/ui-components",
161
161
  license: "MIT"
162
162
  });
@@ -171,9 +171,9 @@ const za = "av-header", $a = ({
171
171
  sticky: o = !1,
172
172
  noBorder: s = !1,
173
173
  noMargin: c = !1,
174
- noPadding: m = !1
174
+ noPadding: g = !1
175
175
  }) => {
176
- const u = l(
176
+ const d = l(
177
177
  za,
178
178
  {
179
179
  "border-border-accent": a === "dark" && !r && !n && !s,
@@ -189,12 +189,12 @@ const za = "av-header", $a = ({
189
189
  "sticky top-0 z-50": o
190
190
  },
191
191
  t
192
- ), g = l({
192
+ ), h = l({
193
193
  "mt-0": !c,
194
- "p-2": !m,
194
+ "p-2": !g,
195
195
  "flex flex-col w-full md:mx-auto md:max-w-4xl": !r
196
196
  });
197
- return /* @__PURE__ */ i("header", { className: u, children: /* @__PURE__ */ i("div", { className: g, children: e }) });
197
+ return /* @__PURE__ */ i("header", { className: d, children: /* @__PURE__ */ i("div", { className: h, children: e }) });
198
198
  };
199
199
  function Da(e) {
200
200
  const t = e.toLowerCase().split("+").map((o) => o.trim()), r = {
@@ -209,33 +209,33 @@ function Da(e) {
209
209
  key: n
210
210
  };
211
211
  }
212
- function Va(e, t) {
213
- const { alt: r, ctrl: a, meta: n, mod: o, shift: s, key: c } = e, { altKey: m, ctrlKey: u, metaKey: g, shiftKey: h, key: d } = t;
214
- if (r !== m)
212
+ function Pa(e, t) {
213
+ const { alt: r, ctrl: a, meta: n, mod: o, shift: s, key: c } = e, { altKey: g, ctrlKey: d, metaKey: h, shiftKey: m, key: u } = t;
214
+ if (r !== g)
215
215
  return !1;
216
216
  if (o) {
217
- if (!u && !g)
217
+ if (!d && !h)
218
218
  return !1;
219
- } else if (a !== u || n !== g)
219
+ } else if (a !== d || n !== h)
220
220
  return !1;
221
- return s !== h ? !1 : !!(c && (d.toLowerCase() === c.toLowerCase() || t.code.replace("Key", "").toLowerCase() === c.toLowerCase()));
221
+ return s !== m ? !1 : !!(c && (u.toLowerCase() === c.toLowerCase() || t.code.replace("Key", "").toLowerCase() === c.toLowerCase()));
222
222
  }
223
- function Pa(e) {
224
- return (t) => Va(Da(e), t);
223
+ function Va(e) {
224
+ return (t) => Pa(Da(e), t);
225
225
  }
226
226
  function Ua(e) {
227
227
  return (t) => {
228
228
  const r = "nativeEvent" in t ? t.nativeEvent : t;
229
229
  e.forEach(([a, n, o = { preventDefault: !0 }]) => {
230
- Pa(a)(r) && (o.preventDefault && t.preventDefault(), n(r));
230
+ Va(a)(r) && (o.preventDefault && t.preventDefault(), n(r));
231
231
  });
232
232
  };
233
233
  }
234
234
  function Fa() {
235
- const e = L(!1);
236
- return A(() => (e.current = !0, () => {
235
+ const e = A(!1);
236
+ return O(() => (e.current = !0, () => {
237
237
  e.current = !1;
238
- }), []), Z(() => e.current, []);
238
+ }), []), K(() => e.current, []);
239
239
  }
240
240
  function yr(e, t) {
241
241
  window.dispatchEvent(new StorageEvent("storage", { key: e, newValue: t }));
@@ -252,7 +252,7 @@ function jt({
252
252
  key: e,
253
253
  initialValue: t
254
254
  }) {
255
- const r = da(Wa, () => Gt(e)), a = Z(
255
+ const r = da(Wa, () => Gt(e)), a = K(
256
256
  (s) => {
257
257
  try {
258
258
  const c = typeof s == "function" ? s(JSON.parse(r)) : s;
@@ -262,12 +262,12 @@ function jt({
262
262
  }
263
263
  },
264
264
  [e, r]
265
- ), n = Z(() => {
265
+ ), n = K(() => {
266
266
  a(t);
267
- }, [t, a]), o = Z(() => {
267
+ }, [t, a]), o = K(() => {
268
268
  a(null);
269
269
  }, [a]);
270
- return A(() => {
270
+ return O(() => {
271
271
  try {
272
272
  Gt(e) === null && typeof t < "u" && Wt(e, t);
273
273
  } catch (s) {
@@ -276,7 +276,7 @@ function jt({
276
276
  }, [e, t]), [r ? JSON.parse(r) : null, a, n, o];
277
277
  }
278
278
  function Ga(e) {
279
- return pt(() => e.every((t) => t == null) ? () => {
279
+ return bt(() => e.every((t) => t == null) ? () => {
280
280
  } : (t) => {
281
281
  e.forEach((r) => {
282
282
  typeof r == "function" ? r(t) : r != null && (r.current = t);
@@ -294,13 +294,13 @@ const ja = {
294
294
  right: 0
295
295
  };
296
296
  function qa(e) {
297
- const t = Fa(), r = L(0), a = L(null), [n, o] = W(ja), s = pt(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((c) => {
298
- const m = c[0];
299
- m && (cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
300
- a.current && t() && o(m.contentRect);
297
+ const t = Fa(), r = A(0), a = A(null), [n, o] = W(ja), s = bt(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((c) => {
298
+ const g = c[0];
299
+ g && (cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
300
+ a.current && t() && o(g.contentRect);
301
301
  }));
302
302
  }), [t]);
303
- return A(() => (a.current && (s == null || s.observe(a.current, e)), () => {
303
+ return O(() => (a.current && (s == null || s.observe(a.current, e)), () => {
304
304
  s == null || s.disconnect(), r.current && cancelAnimationFrame(r.current);
305
305
  }), [s, e]), [a, n];
306
306
  }
@@ -312,34 +312,34 @@ function Ka({
312
312
  },
313
313
  initialControlledDelay: n = 0
314
314
  }) {
315
- const [o, s] = W(!1), [c, m] = W(
315
+ const [o, s] = W(!1), [c, g] = W(
316
316
  t !== void 0 ? t : r
317
- ), u = (g) => {
318
- m(g), a == null || a(g);
317
+ ), d = (h) => {
318
+ g(h), a == null || a(h);
319
319
  };
320
- return A(() => {
320
+ return O(() => {
321
321
  (async () => e !== void 0 && !o && n > 0 && (await new Promise(
322
- (g) => setTimeout(g, n)
322
+ (h) => setTimeout(h, n)
323
323
  ), s(!0)))();
324
- }, [e, n, o]), e !== void 0 ? !o && n > 0 ? ["", a, !0] : [e, a, !0] : [c, u, !1];
324
+ }, [e, n, o]), e !== void 0 ? !o && n > 0 ? ["", a, !0] : [e, a, !0] : [c, d, !1];
325
325
  }
326
326
  function Ja(e) {
327
327
  return ua();
328
328
  }
329
329
  /*!
330
- @versini/ui-table v3.0.8
330
+ @versini/ui-table v3.0.9
331
331
  © 2025 gizmette.com
332
332
  */
333
333
  try {
334
334
  window.__VERSINI_UI_TABLE__ || (window.__VERSINI_UI_TABLE__ = {
335
- version: "3.0.8",
336
- buildTime: "01/13/2025 05:57 AM EST",
335
+ version: "3.0.9",
336
+ buildTime: "01/13/2025 01:16 PM EST",
337
337
  homepage: "https://github.com/aversini/ui-components",
338
338
  license: "MIT"
339
339
  });
340
340
  } catch {
341
341
  }
342
- const Be = "thead", bt = "tfoot", me = "tbody", be = {
342
+ const Ae = "thead", yt = "tfoot", me = "tbody", be = {
343
343
  ASC: "asc",
344
344
  DESC: "desc"
345
345
  }, Ya = ({
@@ -407,7 +407,7 @@ const Be = "thead", bt = "tfoot", me = "tbody", be = {
407
407
  mode: e,
408
408
  className: t,
409
409
  cellWrapper: r
410
- }) => r === Be || r === bt ? l(
410
+ }) => r === Ae || r === yt ? l(
411
411
  {
412
412
  "bg-table-head-dark": e === "dark" || e === "system",
413
413
  "bg-table-head-light": e === "light" || e === "alt-system",
@@ -446,7 +446,7 @@ const Be = "thead", bt = "tfoot", me = "tbody", be = {
446
446
  "text-copy-dark": a === "light" || a === "alt-system",
447
447
  "dark:text-copy-dark": a === "system",
448
448
  "dark:text-copy-light": a === "alt-system",
449
- "px-4 py-3": !r && (e === Be || e === bt),
449
+ "px-4 py-3": !r && (e === Ae || e === yt),
450
450
  "p-4": !r && e === me,
451
451
  "px-2 py-1.5": r
452
452
  },
@@ -454,7 +454,7 @@ const Be = "thead", bt = "tfoot", me = "tbody", be = {
454
454
  )
455
455
  }), tn = ({
456
456
  buttonClassName: e
457
- }) => l("rounded-none text-sm", e), qt = "av-button", yt = "icon", vr = "button", rt = "link", rn = ({
457
+ }) => l("rounded-none text-sm", e), qt = "av-button", vt = "icon", vr = "button", rt = "link", rn = ({
458
458
  type: e,
459
459
  size: t,
460
460
  labelRight: r,
@@ -470,7 +470,7 @@ const Be = "thead", bt = "tfoot", me = "tbody", be = {
470
470
  [s]: t === "medium",
471
471
  [c]: t === "large"
472
472
  });
473
- case yt:
473
+ case vt:
474
474
  return l("inline-flex items-center", {
475
475
  "justify-center": n === "center",
476
476
  "justify-start": n === "left",
@@ -499,7 +499,7 @@ const Be = "thead", bt = "tfoot", me = "tbody", be = {
499
499
  [o]: t === "medium",
500
500
  [s]: t === "large"
501
501
  });
502
- case yt:
502
+ case vt:
503
503
  return l({
504
504
  [n]: t === "small" && (r || a),
505
505
  [o]: t === "medium" && (r || a),
@@ -684,36 +684,36 @@ const Be = "thead", bt = "tfoot", me = "tbody", be = {
684
684
  disabled: o,
685
685
  fullWidth: s,
686
686
  size: c,
687
- noBorder: m,
688
- labelRight: u,
689
- labelLeft: g,
690
- noBackground: h,
691
- variant: d,
687
+ noBorder: g,
688
+ labelRight: d,
689
+ labelLeft: h,
690
+ noBackground: m,
691
+ variant: u,
692
692
  noTruncate: f,
693
693
  align: p,
694
694
  radius: b
695
- }) => (d || (d = "primary"), r ? l(qt, t) : l(
695
+ }) => (u || (u = "primary"), r ? l(qt, t) : l(
696
696
  qt,
697
697
  nn({
698
698
  mode: a,
699
- variant: d,
700
- noBackground: h,
699
+ variant: u,
700
+ noBackground: m,
701
701
  noTruncate: f
702
702
  }),
703
- on({ mode: a, noBackground: h, variant: d }),
703
+ on({ mode: a, noBackground: m, variant: u }),
704
704
  sn({ radius: b }),
705
705
  rn({
706
706
  type: e,
707
707
  size: c,
708
- labelRight: u,
709
- labelLeft: g,
708
+ labelRight: d,
709
+ labelLeft: h,
710
710
  align: p
711
711
  }),
712
- an({ type: e, size: c, labelRight: u, labelLeft: g }),
713
- dn({ mode: a, variant: d, noBorder: m }),
712
+ an({ type: e, size: c, labelRight: d, labelLeft: h }),
713
+ dn({ mode: a, variant: u, noBorder: g }),
714
714
  un({ focusMode: n }),
715
- cn({ mode: a, variant: d, disabled: o }),
716
- ln({ mode: a, variant: d, disabled: o }),
715
+ cn({ mode: a, variant: u, disabled: o }),
716
+ ln({ mode: a, variant: u, disabled: o }),
717
717
  {
718
718
  "w-full": s,
719
719
  "disabled:cursor-not-allowed disabled:opacity-50": o
@@ -722,7 +722,7 @@ const Be = "thead", bt = "tfoot", me = "tbody", be = {
722
722
  )), gn = (e, t, r) => {
723
723
  var a;
724
724
  !t && (!document.activeElement || document.activeElement !== e.currentTarget) && typeof ((a = e == null ? void 0 : e.currentTarget) == null ? void 0 : a.focus) == "function" && e.currentTarget.focus(), typeof r == "function" && r(e);
725
- }, kr = O.forwardRef((e, t) => {
725
+ }, kr = M.forwardRef((e, t) => {
726
726
  const { onClick: r, noInternalClick: a = !1, ...n } = e;
727
727
  return /* @__PURE__ */ i(
728
728
  "button",
@@ -737,19 +737,19 @@ const Be = "thead", bt = "tfoot", me = "tbody", be = {
737
737
  });
738
738
  kr.displayName = "BaseButton";
739
739
  /*!
740
- @versini/ui-button v4.0.7
740
+ @versini/ui-button v4.0.8
741
741
  © 2025 gizmette.com
742
742
  */
743
743
  try {
744
744
  window.__VERSINI_UI_BUTTON__ || (window.__VERSINI_UI_BUTTON__ = {
745
- version: "4.0.7",
746
- buildTime: "01/13/2025 05:57 AM EST",
745
+ version: "4.0.8",
746
+ buildTime: "01/13/2025 01:16 PM EST",
747
747
  homepage: "https://github.com/aversini/ui-components",
748
748
  license: "MIT"
749
749
  });
750
750
  } catch {
751
751
  }
752
- const _r = O.forwardRef(
752
+ const _r = M.forwardRef(
753
753
  ({
754
754
  children: e,
755
755
  disabled: t = !1,
@@ -759,29 +759,29 @@ const _r = O.forwardRef(
759
759
  className: o,
760
760
  type: s = "button",
761
761
  raw: c = !1,
762
- noBorder: m = !1,
763
- "aria-label": u,
764
- label: g,
765
- size: h = "medium",
766
- labelRight: d,
762
+ noBorder: g = !1,
763
+ "aria-label": d,
764
+ label: h,
765
+ size: m = "medium",
766
+ labelRight: u,
767
767
  labelLeft: f,
768
768
  noBackground: p = !1,
769
769
  align: b = "center",
770
770
  active: v = !1,
771
771
  radius: y = "large",
772
772
  ..._
773
- }, N) => {
774
- const S = mn({
775
- type: yt,
773
+ }, S) => {
774
+ const N = mn({
775
+ type: vt,
776
776
  mode: r,
777
777
  focusMode: a,
778
778
  fullWidth: n,
779
779
  disabled: t,
780
780
  raw: c,
781
781
  className: o,
782
- noBorder: m,
783
- size: h,
784
- labelRight: d,
782
+ noBorder: g,
783
+ size: m,
784
+ labelRight: u,
785
785
  labelLeft: f,
786
786
  noBackground: p,
787
787
  align: b,
@@ -811,23 +811,23 @@ const _r = O.forwardRef(
811
811
  return /* @__PURE__ */ i("div", { className: C, children: /* @__PURE__ */ x(
812
812
  kr,
813
813
  {
814
- ref: N,
815
- className: S,
814
+ ref: S,
815
+ className: N,
816
816
  disabled: t,
817
817
  type: s,
818
- "aria-label": u || g,
818
+ "aria-label": d || h,
819
819
  ..._,
820
820
  children: [
821
821
  f && /* @__PURE__ */ i("span", { className: "pr-2", children: f }),
822
822
  /* @__PURE__ */ i("div", { className: k, children: e }),
823
- d && /* @__PURE__ */ i("span", { className: "pl-2", children: d })
823
+ u && /* @__PURE__ */ i("span", { className: "pl-2", children: u })
824
824
  ]
825
825
  }
826
826
  ) });
827
827
  }
828
828
  );
829
829
  _r.displayName = "ButtonSort";
830
- const vt = ({
830
+ const kt = ({
831
831
  children: e,
832
832
  fill: t,
833
833
  viewBox: r,
@@ -836,21 +836,21 @@ const vt = ({
836
836
  size: o,
837
837
  title: s,
838
838
  semantic: c = !1,
839
- ...m
839
+ ...g
840
840
  }) => {
841
- const u = l(o, a);
842
- return /* @__PURE__ */ x(Oe, { children: [
841
+ const d = l(o, a);
842
+ return /* @__PURE__ */ x(ht, { children: [
843
843
  /* @__PURE__ */ i(
844
844
  "svg",
845
845
  {
846
846
  xmlns: "http://www.w3.org/2000/svg",
847
- className: u,
847
+ className: d,
848
848
  viewBox: r || n,
849
849
  fill: t || "currentColor",
850
850
  role: "img",
851
851
  "aria-hidden": !c,
852
852
  focusable: !1,
853
- ...m,
853
+ ...g,
854
854
  children: e
855
855
  }
856
856
  ),
@@ -858,13 +858,13 @@ const vt = ({
858
858
  ] });
859
859
  };
860
860
  /*!
861
- @versini/ui-svgicon v4.0.1
861
+ @versini/ui-svgicon v4.0.2
862
862
  © 2025 gizmette.com
863
863
  */
864
864
  try {
865
865
  window.__VERSINI_UI_SVGICON__ || (window.__VERSINI_UI_SVGICON__ = {
866
- version: "4.0.1",
867
- buildTime: "01/13/2025 05:57 AM EST",
866
+ version: "4.0.2",
867
+ buildTime: "01/13/2025 01:15 PM EST",
868
868
  homepage: "https://github.com/aversini/ui-components",
869
869
  license: "MIT"
870
870
  });
@@ -877,7 +877,7 @@ const hn = ({
877
877
  monotone: a,
878
878
  ...n
879
879
  }) => /* @__PURE__ */ x(
880
- vt,
880
+ kt,
881
881
  {
882
882
  defaultViewBox: "0 0 576 512",
883
883
  size: "size-5",
@@ -910,7 +910,7 @@ const hn = ({
910
910
  monotone: a,
911
911
  ...n
912
912
  }) => /* @__PURE__ */ x(
913
- vt,
913
+ kt,
914
914
  {
915
915
  defaultViewBox: "0 0 576 512",
916
916
  size: "size-5",
@@ -943,7 +943,7 @@ const hn = ({
943
943
  monotone: a,
944
944
  ...n
945
945
  }) => /* @__PURE__ */ x(
946
- vt,
946
+ kt,
947
947
  {
948
948
  defaultViewBox: "0 0 576 512",
949
949
  size: "size-5",
@@ -971,19 +971,19 @@ const hn = ({
971
971
  }
972
972
  );
973
973
  /*!
974
- @versini/ui-icons v4.4.0
974
+ @versini/ui-icons v4.4.1
975
975
  © 2025 gizmette.com
976
976
  */
977
977
  try {
978
978
  window.__VERSINI_UI_ICONS__ || (window.__VERSINI_UI_ICONS__ = {
979
- version: "4.4.0",
980
- buildTime: "01/13/2025 05:57 AM EST",
979
+ version: "4.4.1",
980
+ buildTime: "01/13/2025 01:15 PM EST",
981
981
  homepage: "https://github.com/aversini/ui-components",
982
982
  license: "MIT"
983
983
  });
984
984
  } catch {
985
985
  }
986
- const ge = O.createContext({
986
+ const ge = M.createContext({
987
987
  mode: "light",
988
988
  cellWrapper: "thead",
989
989
  stickyHeader: !1,
@@ -998,30 +998,30 @@ const ge = O.createContext({
998
998
  className: o,
999
999
  wrapperClassName: s,
1000
1000
  maxHeight: c,
1001
- stickyHeader: m,
1002
- stickyFooter: u,
1003
- ...g
1001
+ stickyHeader: g,
1002
+ stickyFooter: d,
1003
+ ...h
1004
1004
  }) => {
1005
- const h = Ya({
1005
+ const m = Ya({
1006
1006
  mode: t,
1007
1007
  className: o,
1008
1008
  wrapperClassName: s,
1009
- stickyHeader: m,
1010
- stickyFooter: u
1009
+ stickyHeader: g,
1010
+ stickyFooter: d
1011
1011
  });
1012
1012
  return /* @__PURE__ */ i(
1013
1013
  ge.Provider,
1014
1014
  {
1015
- value: { mode: t, stickyHeader: m, stickyFooter: u, compact: a },
1015
+ value: { mode: t, stickyHeader: g, stickyFooter: d, compact: a },
1016
1016
  children: /* @__PURE__ */ i(
1017
1017
  "div",
1018
1018
  {
1019
- className: h.wrapper,
1019
+ className: m.wrapper,
1020
1020
  ...c && {
1021
1021
  style: { maxHeight: c }
1022
1022
  },
1023
- children: /* @__PURE__ */ x("table", { className: h.table, summary: n, ...g, children: [
1024
- r && /* @__PURE__ */ i("caption", { className: h.caption, children: r }),
1023
+ children: /* @__PURE__ */ x("table", { className: m.table, summary: n, ...h, children: [
1024
+ r && /* @__PURE__ */ i("caption", { className: m.caption, children: r }),
1025
1025
  e
1026
1026
  ] })
1027
1027
  }
@@ -1033,8 +1033,8 @@ const ge = O.createContext({
1033
1033
  className: t,
1034
1034
  ...r
1035
1035
  }) => {
1036
- const a = $(ge);
1037
- a.cellWrapper = Be;
1036
+ const a = B(ge);
1037
+ a.cellWrapper = Ae;
1038
1038
  const n = Za({
1039
1039
  className: t,
1040
1040
  mode: a.mode,
@@ -1046,8 +1046,8 @@ const ge = O.createContext({
1046
1046
  className: t,
1047
1047
  ...r
1048
1048
  }) => {
1049
- const a = $(ge);
1050
- a.cellWrapper = bt;
1049
+ const a = B(ge);
1050
+ a.cellWrapper = yt;
1051
1051
  const n = Xa({
1052
1052
  className: t,
1053
1053
  mode: a.mode,
@@ -1055,14 +1055,14 @@ const ge = O.createContext({
1055
1055
  });
1056
1056
  return /* @__PURE__ */ i("tfoot", { className: n, ...r, children: e });
1057
1057
  }, ys = ({ children: e, ...t }) => {
1058
- const r = $(ge);
1058
+ const r = B(ge);
1059
1059
  return r.cellWrapper = me, /* @__PURE__ */ i("tbody", { ...t, children: e });
1060
1060
  }, vs = ({
1061
1061
  children: e,
1062
1062
  className: t,
1063
1063
  ...r
1064
1064
  }) => {
1065
- const a = $(ge), n = Qa({
1065
+ const a = B(ge), n = Qa({
1066
1066
  mode: a.mode,
1067
1067
  cellWrapper: a.cellWrapper,
1068
1068
  className: t
@@ -1075,14 +1075,14 @@ const ge = O.createContext({
1075
1075
  align: a,
1076
1076
  ...n
1077
1077
  }) => {
1078
- const o = $(ge), s = t || (o.cellWrapper === Be ? "th" : "td"), { mainClasses: c, alignClasses: m } = en({
1078
+ const o = B(ge), s = t || (o.cellWrapper === Ae ? "th" : "td"), { mainClasses: c, alignClasses: g } = en({
1079
1079
  cellWrapper: o.cellWrapper,
1080
1080
  className: r,
1081
1081
  mode: o.mode,
1082
1082
  compact: o.compact,
1083
1083
  align: a
1084
1084
  });
1085
- return a ? /* @__PURE__ */ i(s, { className: c, ...n, children: /* @__PURE__ */ i("div", { className: m, children: e }) }) : /* @__PURE__ */ i(s, { className: c, ...n, children: e });
1085
+ return a ? /* @__PURE__ */ i(s, { className: c, ...n, children: /* @__PURE__ */ i("div", { className: g, children: e }) }) : /* @__PURE__ */ i(s, { className: c, ...n, children: e });
1086
1086
  }, ks = ({
1087
1087
  align: e,
1088
1088
  children: t,
@@ -1092,25 +1092,25 @@ const ge = O.createContext({
1092
1092
  focusMode: o = "alt-system",
1093
1093
  mode: s = "alt-system",
1094
1094
  onClick: c,
1095
- sortDirection: m,
1096
- sortedCell: u,
1097
- cellId: g,
1098
- ...h
1095
+ sortDirection: g,
1096
+ sortedCell: d,
1097
+ cellId: h,
1098
+ ...m
1099
1099
  }) => {
1100
- const d = tn({ buttonClassName: r });
1100
+ const u = tn({ buttonClassName: r });
1101
1101
  return /* @__PURE__ */ i(
1102
1102
  bn,
1103
1103
  {
1104
1104
  component: n,
1105
1105
  className: a,
1106
1106
  role: "columnheader",
1107
- "aria-sort": m === be.ASC && u === g ? "ascending" : m === be.DESC && u === g ? "descending" : "other",
1108
- ...h,
1107
+ "aria-sort": g === be.ASC && d === h ? "ascending" : g === be.DESC && d === h ? "descending" : "other",
1108
+ ...m,
1109
1109
  children: /* @__PURE__ */ i(
1110
1110
  _r,
1111
1111
  {
1112
- active: u === g,
1113
- className: d,
1112
+ active: d === h,
1113
+ className: u,
1114
1114
  onClick: c,
1115
1115
  align: e,
1116
1116
  noBorder: !0,
@@ -1118,16 +1118,16 @@ const ge = O.createContext({
1118
1118
  mode: s,
1119
1119
  fullWidth: !0,
1120
1120
  labelRight: t,
1121
- children: m === be.ASC && u === g ? /* @__PURE__ */ i(pn, { className: "size-4", monotone: !0 }) : m === be.DESC && u === g ? /* @__PURE__ */ i(fn, { className: "size-4", monotone: !0 }) : /* @__PURE__ */ i(hn, { className: "size-4", monotone: !0 })
1121
+ children: g === be.ASC && d === h ? /* @__PURE__ */ i(pn, { className: "size-4", monotone: !0 }) : g === be.DESC && d === h ? /* @__PURE__ */ i(fn, { className: "size-4", monotone: !0 }) : /* @__PURE__ */ i(hn, { className: "size-4", monotone: !0 })
1122
1122
  }
1123
1123
  )
1124
1124
  }
1125
1125
  );
1126
- }, M = [];
1126
+ }, $ = [];
1127
1127
  for (let e = 0; e < 256; ++e)
1128
- M.push((e + 256).toString(16).slice(1));
1128
+ $.push((e + 256).toString(16).slice(1));
1129
1129
  function yn(e, t = 0) {
1130
- return (M[e[t + 0]] + M[e[t + 1]] + M[e[t + 2]] + M[e[t + 3]] + "-" + M[e[t + 4]] + M[e[t + 5]] + "-" + M[e[t + 6]] + M[e[t + 7]] + "-" + M[e[t + 8]] + M[e[t + 9]] + "-" + M[e[t + 10]] + M[e[t + 11]] + M[e[t + 12]] + M[e[t + 13]] + M[e[t + 14]] + M[e[t + 15]]).toLowerCase();
1130
+ return ($[e[t + 0]] + $[e[t + 1]] + $[e[t + 2]] + $[e[t + 3]] + "-" + $[e[t + 4]] + $[e[t + 5]] + "-" + $[e[t + 6]] + $[e[t + 7]] + "-" + $[e[t + 8]] + $[e[t + 9]] + "-" + $[e[t + 10]] + $[e[t + 11]] + $[e[t + 12]] + $[e[t + 13]] + $[e[t + 14]] + $[e[t + 15]]).toLowerCase();
1131
1131
  }
1132
1132
  let We;
1133
1133
  const vn = new Uint8Array(16);
@@ -1140,7 +1140,7 @@ function kn() {
1140
1140
  return We(vn);
1141
1141
  }
1142
1142
  const _n = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Kt = { randomUUID: _n };
1143
- function kt(e, t, r) {
1143
+ function _t(e, t, r) {
1144
1144
  var n;
1145
1145
  if (Kt.randomUUID && !t && !e)
1146
1146
  return Kt.randomUUID();
@@ -1181,24 +1181,24 @@ const En = (e, t) => {
1181
1181
  messageId: s
1182
1182
  };
1183
1183
  if (r === ve) {
1184
- const m = e.messages.findIndex(
1185
- (u) => u.message.messageId === s
1184
+ const g = e.messages.findIndex(
1185
+ (d) => d.message.messageId === s
1186
1186
  );
1187
- if (m !== -1) {
1188
- const u = e.messages.map((g, h) => h === m ? {
1187
+ if (g !== -1) {
1188
+ const d = e.messages.map((h, m) => m === g ? {
1189
1189
  message: {
1190
- ...g.message,
1191
- content: `${g.message.content}${a}`,
1190
+ ...h.message,
1191
+ content: `${h.message.content}${a}`,
1192
1192
  processingTime: o,
1193
1193
  name: n
1194
1194
  }
1195
- } : g);
1195
+ } : h);
1196
1196
  return {
1197
1197
  id: e.id,
1198
1198
  model: e.model,
1199
1199
  usage: e.usage,
1200
1200
  isComponent: e.isComponent,
1201
- messages: u,
1201
+ messages: d,
1202
1202
  engine: e.engine,
1203
1203
  prompts: e.prompts
1204
1204
  };
@@ -1220,8 +1220,8 @@ const En = (e, t) => {
1220
1220
  };
1221
1221
  }
1222
1222
  }
1223
- return (t == null ? void 0 : t.type) === ht ? {
1224
- id: kt(),
1223
+ return (t == null ? void 0 : t.type) === ft ? {
1224
+ id: _t(),
1225
1225
  model: e.model,
1226
1226
  engine: e.engine,
1227
1227
  usage: 0,
@@ -1261,11 +1261,13 @@ const En = (e, t) => {
1261
1261
  switch (t == null ? void 0 : t.type) {
1262
1262
  case ur:
1263
1263
  return {
1264
- prompt: t.payload.prompt
1264
+ prompt: t.payload.prompt,
1265
+ lastTriggeredTimestamp: e.lastTriggeredTimestamp
1265
1266
  };
1266
1267
  case dr:
1267
1268
  return {
1268
- prompt: ""
1269
+ prompt: "",
1270
+ lastTriggeredTimestamp: (/* @__PURE__ */ new Date()).getTime()
1269
1271
  };
1270
1272
  default:
1271
1273
  return e;
@@ -1285,42 +1287,42 @@ var Jt;
1285
1287
  function wn() {
1286
1288
  if (Jt) return Ge;
1287
1289
  Jt = 1;
1288
- var e = O;
1289
- function t(h, d) {
1290
- return h === d && (h !== 0 || 1 / h === 1 / d) || h !== h && d !== d;
1290
+ var e = M;
1291
+ function t(m, u) {
1292
+ return m === u && (m !== 0 || 1 / m === 1 / u) || m !== m && u !== u;
1291
1293
  }
1292
1294
  var r = typeof Object.is == "function" ? Object.is : t, a = e.useState, n = e.useEffect, o = e.useLayoutEffect, s = e.useDebugValue;
1293
- function c(h, d) {
1294
- var f = d(), p = a({ inst: { value: f, getSnapshot: d } }), b = p[0].inst, v = p[1];
1295
+ function c(m, u) {
1296
+ var f = u(), p = a({ inst: { value: f, getSnapshot: u } }), b = p[0].inst, v = p[1];
1295
1297
  return o(
1296
1298
  function() {
1297
- b.value = f, b.getSnapshot = d, m(b) && v({ inst: b });
1299
+ b.value = f, b.getSnapshot = u, g(b) && v({ inst: b });
1298
1300
  },
1299
- [h, f, d]
1301
+ [m, f, u]
1300
1302
  ), n(
1301
1303
  function() {
1302
- return m(b) && v({ inst: b }), h(function() {
1303
- m(b) && v({ inst: b });
1304
+ return g(b) && v({ inst: b }), m(function() {
1305
+ g(b) && v({ inst: b });
1304
1306
  });
1305
1307
  },
1306
- [h]
1308
+ [m]
1307
1309
  ), s(f), f;
1308
1310
  }
1309
- function m(h) {
1310
- var d = h.getSnapshot;
1311
- h = h.value;
1311
+ function g(m) {
1312
+ var u = m.getSnapshot;
1313
+ m = m.value;
1312
1314
  try {
1313
- var f = d();
1314
- return !r(h, f);
1315
+ var f = u();
1316
+ return !r(m, f);
1315
1317
  } catch {
1316
1318
  return !0;
1317
1319
  }
1318
1320
  }
1319
- function u(h, d) {
1320
- return d();
1321
+ function d(m, u) {
1322
+ return u();
1321
1323
  }
1322
- var g = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? u : c;
1323
- return Ge.useSyncExternalStore = e.useSyncExternalStore !== void 0 ? e.useSyncExternalStore : g, Ge;
1324
+ var h = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? d : c;
1325
+ return Ge.useSyncExternalStore = e.useSyncExternalStore !== void 0 ? e.useSyncExternalStore : h, Ge;
1324
1326
  }
1325
1327
  var je = {};
1326
1328
  /**
@@ -1339,21 +1341,21 @@ function Tn() {
1339
1341
  return f === p && (f !== 0 || 1 / f === 1 / p) || f !== f && p !== p;
1340
1342
  }
1341
1343
  function t(f, p) {
1342
- g || n.startTransition === void 0 || (g = !0, console.error(
1344
+ h || n.startTransition === void 0 || (h = !0, console.error(
1343
1345
  "You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."
1344
1346
  ));
1345
1347
  var b = p();
1346
- if (!h) {
1348
+ if (!m) {
1347
1349
  var v = p();
1348
1350
  o(b, v) || (console.error(
1349
1351
  "The result of getSnapshot should be cached to avoid an infinite loop"
1350
- ), h = !0);
1352
+ ), m = !0);
1351
1353
  }
1352
1354
  v = s({
1353
1355
  inst: { value: b, getSnapshot: p }
1354
1356
  });
1355
1357
  var y = v[0].inst, _ = v[1];
1356
- return m(
1358
+ return g(
1357
1359
  function() {
1358
1360
  y.value = b, y.getSnapshot = p, r(y) && _({ inst: y });
1359
1361
  },
@@ -1365,7 +1367,7 @@ function Tn() {
1365
1367
  });
1366
1368
  },
1367
1369
  [f]
1368
- ), u(b), b;
1370
+ ), d(b), b;
1369
1371
  }
1370
1372
  function r(f) {
1371
1373
  var p = f.getSnapshot;
@@ -1381,8 +1383,8 @@ function Tn() {
1381
1383
  return p();
1382
1384
  }
1383
1385
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
1384
- var n = O, o = typeof Object.is == "function" ? Object.is : e, s = n.useState, c = n.useEffect, m = n.useLayoutEffect, u = n.useDebugValue, g = !1, h = !1, d = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? a : t;
1385
- je.useSyncExternalStore = n.useSyncExternalStore !== void 0 ? n.useSyncExternalStore : d, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
1386
+ var n = M, o = typeof Object.is == "function" ? Object.is : e, s = n.useState, c = n.useEffect, g = n.useLayoutEffect, d = n.useDebugValue, h = !1, m = !1, u = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? a : t;
1387
+ je.useSyncExternalStore = n.useSyncExternalStore !== void 0 ? n.useSyncExternalStore : u, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
1386
1388
  }()), je;
1387
1389
  }
1388
1390
  var Zt;
@@ -1410,14 +1412,14 @@ function at(e, t) {
1410
1412
  }
1411
1413
  return e !== e && t !== t;
1412
1414
  }
1413
- const j = /* @__PURE__ */ new WeakMap(), ne = () => {
1415
+ const j = /* @__PURE__ */ new WeakMap(), oe = () => {
1414
1416
  }, V = (
1415
1417
  /*#__NOINLINE__*/
1416
- ne()
1417
- ), nt = Object, E = (e) => e === V, q = (e) => typeof e == "function", oe = (e, t) => ({
1418
+ oe()
1419
+ ), nt = Object, E = (e) => e === V, q = (e) => typeof e == "function", se = (e, t) => ({
1418
1420
  ...e,
1419
1421
  ...t
1420
- }), Er = (e) => q(e.then), qe = {}, Re = {}, _t = "undefined", Me = typeof window != _t, ot = typeof document != _t, Rn = () => Me && typeof window.requestAnimationFrame != _t, xr = (e, t) => {
1422
+ }), Er = (e) => q(e.then), qe = {}, Re = {}, Et = "undefined", Be = typeof window != Et, ot = typeof document != Et, Rn = () => Be && typeof window.requestAnimationFrame != Et, xr = (e, t) => {
1421
1423
  const r = j.get(e);
1422
1424
  return [
1423
1425
  // Getter
@@ -1426,7 +1428,7 @@ const j = /* @__PURE__ */ new WeakMap(), ne = () => {
1426
1428
  (a) => {
1427
1429
  if (!E(t)) {
1428
1430
  const n = e.get(t);
1429
- t in Re || (Re[t] = n), r[5](t, oe(n, a), n || qe);
1431
+ t in Re || (Re[t] = n), r[5](t, se(n, a), n || qe);
1430
1432
  }
1431
1433
  },
1432
1434
  // Subscriber
@@ -1436,18 +1438,18 @@ const j = /* @__PURE__ */ new WeakMap(), ne = () => {
1436
1438
  ];
1437
1439
  };
1438
1440
  let st = !0;
1439
- const In = () => st, [it, ct] = Me && window.addEventListener ? [
1441
+ const In = () => st, [it, ct] = Be && window.addEventListener ? [
1440
1442
  window.addEventListener.bind(window),
1441
1443
  window.removeEventListener.bind(window)
1442
1444
  ] : [
1443
- ne,
1444
- ne
1445
+ oe,
1446
+ oe
1445
1447
  ], Ln = () => {
1446
1448
  const e = ot && document.visibilityState;
1447
1449
  return E(e) || e !== "hidden";
1448
- }, An = (e) => (ot && document.addEventListener("visibilitychange", e), it("focus", e), () => {
1450
+ }, On = (e) => (ot && document.addEventListener("visibilitychange", e), it("focus", e), () => {
1449
1451
  ot && document.removeEventListener("visibilitychange", e), ct("focus", e);
1450
- }), On = (e) => {
1452
+ }), An = (e) => {
1451
1453
  const t = () => {
1452
1454
  st = !0, e();
1453
1455
  }, r = () => {
@@ -1460,9 +1462,9 @@ const In = () => st, [it, ct] = Me && window.addEventListener ? [
1460
1462
  isOnline: In,
1461
1463
  isVisible: Ln
1462
1464
  }, Mn = {
1463
- initFocus: An,
1464
- initReconnect: On
1465
- }, Qt = !O.useId, _e = !Me || "Deno" in globalThis, zn = (e) => Rn() ? window.requestAnimationFrame(e) : setTimeout(e, 1), Ke = _e ? A : mr, Je = typeof navigator < "u" && navigator.connection, er = !_e && Je && ([
1465
+ initFocus: On,
1466
+ initReconnect: An
1467
+ }, Qt = !M.useId, _e = !Be || "Deno" in globalThis, zn = (e) => Rn() ? window.requestAnimationFrame(e) : setTimeout(e, 1), Ke = _e ? O : mr, Je = typeof navigator < "u" && navigator.connection, er = !_e && Je && ([
1466
1468
  "slow-2g",
1467
1469
  "2g"
1468
1470
  ].includes(Je.effectiveType) || Je.saveData), Ie = /* @__PURE__ */ new WeakMap(), Ye = (e, t) => nt.prototype.toString.call(e) === `[object ${t}]`;
@@ -1487,7 +1489,7 @@ const lt = (e) => {
1487
1489
  } else
1488
1490
  o = r ? e.toJSON() : t == "symbol" ? e.toString() : t == "string" ? JSON.stringify(e) : "" + e;
1489
1491
  return o;
1490
- }, ze = (e) => {
1492
+ }, Me = (e) => {
1491
1493
  if (q(e))
1492
1494
  try {
1493
1495
  e = e();
@@ -1501,16 +1503,16 @@ const lt = (e) => {
1501
1503
  ];
1502
1504
  };
1503
1505
  let Dn = 0;
1504
- const dt = () => ++Dn, Sr = 0, wr = 1, Tr = 2, Vn = 3;
1506
+ const dt = () => ++Dn, Sr = 0, wr = 1, Tr = 2, Pn = 3;
1505
1507
  var pe = {
1506
1508
  __proto__: null,
1507
- ERROR_REVALIDATE_EVENT: Vn,
1509
+ ERROR_REVALIDATE_EVENT: Pn,
1508
1510
  FOCUS_EVENT: Sr,
1509
1511
  MUTATE_EVENT: Tr,
1510
1512
  RECONNECT_EVENT: wr
1511
1513
  };
1512
1514
  async function Nr(...e) {
1513
- const [t, r, a, n] = e, o = oe({
1515
+ const [t, r, a, n] = e, o = se({
1514
1516
  populateCache: !0,
1515
1517
  throwOnError: !0
1516
1518
  }, typeof n == "boolean" ? {
@@ -1518,54 +1520,54 @@ async function Nr(...e) {
1518
1520
  } : n || {});
1519
1521
  let s = o.populateCache;
1520
1522
  const c = o.rollbackOnError;
1521
- let m = o.optimisticData;
1522
- const u = (d) => typeof c == "function" ? c(d) : c !== !1, g = o.throwOnError;
1523
+ let g = o.optimisticData;
1524
+ const d = (u) => typeof c == "function" ? c(u) : c !== !1, h = o.throwOnError;
1523
1525
  if (q(r)) {
1524
- const d = r, f = [], p = t.keys();
1526
+ const u = r, f = [], p = t.keys();
1525
1527
  for (const b of p)
1526
1528
  // Skip the special useSWRInfinite and useSWRSubscription keys.
1527
- !/^\$(inf|sub)\$/.test(b) && d(t.get(b)._k) && f.push(b);
1528
- return Promise.all(f.map(h));
1529
+ !/^\$(inf|sub)\$/.test(b) && u(t.get(b)._k) && f.push(b);
1530
+ return Promise.all(f.map(m));
1529
1531
  }
1530
- return h(r);
1531
- async function h(d) {
1532
- const [f] = ze(d);
1532
+ return m(r);
1533
+ async function m(u) {
1534
+ const [f] = Me(u);
1533
1535
  if (!f) return;
1534
- const [p, b] = xr(t, f), [v, y, _, N] = j.get(t), S = () => {
1536
+ const [p, b] = xr(t, f), [v, y, _, S] = j.get(t), N = () => {
1535
1537
  const U = v[f];
1536
- return (q(o.revalidate) ? o.revalidate(p().data, d) : o.revalidate !== !1) && (delete _[f], delete N[f], U && U[0]) ? U[0](Tr).then(() => p().data) : p().data;
1538
+ return (q(o.revalidate) ? o.revalidate(p().data, u) : o.revalidate !== !1) && (delete _[f], delete S[f], U && U[0]) ? U[0](Tr).then(() => p().data) : p().data;
1537
1539
  };
1538
1540
  if (e.length < 3)
1539
- return S();
1541
+ return N();
1540
1542
  let k = a, C;
1541
- const P = dt();
1543
+ const I = dt();
1542
1544
  y[f] = [
1543
- P,
1545
+ I,
1544
1546
  0
1545
1547
  ];
1546
- const R = !E(m), X = p(), F = X.data, Q = X._c, K = E(Q) ? F : Q;
1547
- if (R && (m = q(m) ? m(K, F) : m, b({
1548
- data: m,
1549
- _c: K
1548
+ const R = !E(g), Q = p(), F = Q.data, ee = Q._c, J = E(ee) ? F : ee;
1549
+ if (R && (g = q(g) ? g(J, F) : g, b({
1550
+ data: g,
1551
+ _c: J
1550
1552
  })), q(k))
1551
1553
  try {
1552
- k = k(K);
1554
+ k = k(J);
1553
1555
  } catch (U) {
1554
1556
  C = U;
1555
1557
  }
1556
1558
  if (k && Er(k))
1557
1559
  if (k = await k.catch((U) => {
1558
1560
  C = U;
1559
- }), P !== y[f][0]) {
1561
+ }), I !== y[f][0]) {
1560
1562
  if (C) throw C;
1561
1563
  return k;
1562
- } else C && R && u(C) && (s = !0, b({
1563
- data: K,
1564
+ } else C && R && d(C) && (s = !0, b({
1565
+ data: J,
1564
1566
  _c: V
1565
1567
  }));
1566
1568
  if (s && !C)
1567
1569
  if (q(s)) {
1568
- const U = s(k, K);
1570
+ const U = s(k, J);
1569
1571
  b({
1570
1572
  data: U,
1571
1573
  error: V,
@@ -1577,12 +1579,12 @@ async function Nr(...e) {
1577
1579
  error: V,
1578
1580
  _c: V
1579
1581
  });
1580
- if (y[f][1] = dt(), Promise.resolve(S()).then(() => {
1582
+ if (y[f][1] = dt(), Promise.resolve(N()).then(() => {
1581
1583
  b({
1582
1584
  _c: V
1583
1585
  });
1584
1586
  }), C) {
1585
- if (g) throw C;
1587
+ if (h) throw C;
1586
1588
  return;
1587
1589
  }
1588
1590
  return k;
@@ -1591,39 +1593,39 @@ async function Nr(...e) {
1591
1593
  const tr = (e, t) => {
1592
1594
  for (const r in e)
1593
1595
  e[r][0] && e[r][0](t);
1594
- }, Pn = (e, t) => {
1596
+ }, Vn = (e, t) => {
1595
1597
  if (!j.has(e)) {
1596
- const r = oe(Mn, t), a = {}, n = Nr.bind(V, e);
1597
- let o = ne;
1598
- const s = {}, c = (g, h) => {
1599
- const d = s[g] || [];
1600
- return s[g] = d, d.push(h), () => d.splice(d.indexOf(h), 1);
1601
- }, m = (g, h, d) => {
1602
- e.set(g, h);
1603
- const f = s[g];
1598
+ const r = se(Mn, t), a = {}, n = Nr.bind(V, e);
1599
+ let o = oe;
1600
+ const s = {}, c = (h, m) => {
1601
+ const u = s[h] || [];
1602
+ return s[h] = u, u.push(m), () => u.splice(u.indexOf(m), 1);
1603
+ }, g = (h, m, u) => {
1604
+ e.set(h, m);
1605
+ const f = s[h];
1604
1606
  if (f)
1605
1607
  for (const p of f)
1606
- p(h, d);
1607
- }, u = () => {
1608
+ p(m, u);
1609
+ }, d = () => {
1608
1610
  if (!j.has(e) && (j.set(e, [
1609
1611
  a,
1610
1612
  {},
1611
1613
  {},
1612
1614
  {},
1613
1615
  n,
1614
- m,
1616
+ g,
1615
1617
  c
1616
1618
  ]), !_e)) {
1617
- const g = r.initFocus(setTimeout.bind(V, tr.bind(V, a, Sr))), h = r.initReconnect(setTimeout.bind(V, tr.bind(V, a, wr)));
1619
+ const h = r.initFocus(setTimeout.bind(V, tr.bind(V, a, Sr))), m = r.initReconnect(setTimeout.bind(V, tr.bind(V, a, wr)));
1618
1620
  o = () => {
1619
- g && g(), h && h(), j.delete(e);
1621
+ h && h(), m && m(), j.delete(e);
1620
1622
  };
1621
1623
  }
1622
1624
  };
1623
- return u(), [
1625
+ return d(), [
1624
1626
  e,
1625
1627
  n,
1626
- u,
1628
+ d,
1627
1629
  o
1628
1630
  ];
1629
1631
  }
@@ -1634,14 +1636,14 @@ const tr = (e, t) => {
1634
1636
  }, Un = (e, t, r, a, n) => {
1635
1637
  const o = r.errorRetryCount, s = n.retryCount, c = ~~((Math.random() + 0.5) * (1 << (s < 8 ? s : 8))) * r.errorRetryInterval;
1636
1638
  !E(o) && s > o || setTimeout(a, c, n);
1637
- }, Fn = at, [Et, Hn] = Pn(/* @__PURE__ */ new Map()), Wn = oe(
1639
+ }, Fn = at, [xt, Hn] = Vn(/* @__PURE__ */ new Map()), Wn = se(
1638
1640
  {
1639
1641
  // events
1640
- onLoadingSlow: ne,
1641
- onSuccess: ne,
1642
- onError: ne,
1642
+ onLoadingSlow: oe,
1643
+ onSuccess: oe,
1644
+ onError: oe,
1643
1645
  onErrorRetry: Un,
1644
- onDiscarded: ne,
1646
+ onDiscarded: oe,
1645
1647
  // switches
1646
1648
  revalidateOnFocus: !0,
1647
1649
  revalidateOnReconnect: !0,
@@ -1655,21 +1657,21 @@ const tr = (e, t) => {
1655
1657
  // providers
1656
1658
  compare: Fn,
1657
1659
  isPaused: () => !1,
1658
- cache: Et,
1660
+ cache: xt,
1659
1661
  mutate: Hn,
1660
1662
  fallback: {}
1661
1663
  },
1662
1664
  // use web preset by default
1663
1665
  Bn
1664
1666
  ), Gn = (e, t) => {
1665
- const r = oe(e, t);
1667
+ const r = se(e, t);
1666
1668
  if (t) {
1667
1669
  const { use: a, fallback: n } = e, { use: o, fallback: s } = t;
1668
- a && o && (r.use = a.concat(o)), n && s && (r.fallback = oe(n, s));
1670
+ a && o && (r.use = a.concat(o)), n && s && (r.fallback = se(n, s));
1669
1671
  }
1670
1672
  return r;
1671
- }, jn = ma({}), qn = "$inf$", Cr = Me && window.__SWR_DEVTOOLS_USE__, Kn = Cr ? window.__SWR_DEVTOOLS_USE__ : [], Jn = () => {
1672
- Cr && (window.__SWR_DEVTOOLS_REACT__ = O);
1673
+ }, jn = ma({}), qn = "$inf$", Cr = Be && window.__SWR_DEVTOOLS_USE__, Kn = Cr ? window.__SWR_DEVTOOLS_USE__ : [], Jn = () => {
1674
+ Cr && (window.__SWR_DEVTOOLS_REACT__ = M);
1673
1675
  }, Yn = (e) => q(e[1]) ? [
1674
1676
  e[0],
1675
1677
  e[1],
@@ -1678,24 +1680,24 @@ const tr = (e, t) => {
1678
1680
  e[0],
1679
1681
  null,
1680
1682
  (e[1] === null ? e[2] : e[1]) || {}
1681
- ], Zn = () => oe(Wn, $(jn)), xt = (e, t) => {
1682
- const [r, a] = ze(e), [, , , n] = j.get(Et);
1683
+ ], Zn = () => se(Wn, B(jn)), St = (e, t) => {
1684
+ const [r, a] = Me(e), [, , , n] = j.get(xt);
1683
1685
  if (n[r]) return n[r];
1684
1686
  const o = t(a);
1685
1687
  return n[r] = o, o;
1686
1688
  }, Xn = (e) => (t, r, a) => e(t, r && ((...o) => {
1687
- const [s] = ze(t), [, , , c] = j.get(Et);
1689
+ const [s] = Me(t), [, , , c] = j.get(xt);
1688
1690
  if (s.startsWith(qn))
1689
1691
  return r(...o);
1690
- const m = c[s];
1691
- return E(m) ? r(...o) : (delete c[s], m);
1692
+ const g = c[s];
1693
+ return E(g) ? r(...o) : (delete c[s], g);
1692
1694
  }), a), Qn = Kn.concat(Xn), eo = (e) => function(...r) {
1693
1695
  const a = Zn(), [n, o, s] = Yn(r), c = Gn(a, s);
1694
- let m = e;
1695
- const { use: u } = c, g = (u || []).concat(Qn);
1696
- for (let h = g.length; h--; )
1697
- m = g[h](m);
1698
- return m(n, o || c.fetcher || null, c);
1696
+ let g = e;
1697
+ const { use: d } = c, h = (d || []).concat(Qn);
1698
+ for (let m = h.length; m--; )
1699
+ g = h[m](g);
1700
+ return g(n, o || c.fetcher || null, c);
1699
1701
  }, to = (e, t, r) => {
1700
1702
  const a = t[e] || (t[e] = []);
1701
1703
  return a.push(r), () => {
@@ -1704,7 +1706,7 @@ const tr = (e, t) => {
1704
1706
  };
1705
1707
  };
1706
1708
  Jn();
1707
- const Ze = O.use || // This extra generic is to avoid TypeScript mixing up the generic and JSX sytax
1709
+ const Ze = M.use || // This extra generic is to avoid TypeScript mixing up the generic and JSX sytax
1708
1710
  // and emitting an error.
1709
1711
  // We assume that this is only for the `use(thenable)` case, not `use(context)`.
1710
1712
  // https://github.com/facebook/react/blob/aed00dacfb79d17c53218404c52b1c7aa59c4a89/packages/react-server/src/ReactFizzThenable.js#L45
@@ -1726,84 +1728,84 @@ const Ze = O.use || // This extra generic is to avoid TypeScript mixing up the g
1726
1728
  }), Xe = {
1727
1729
  dedupe: !0
1728
1730
  }, ro = (e, t, r) => {
1729
- const { cache: a, compare: n, suspense: o, fallbackData: s, revalidateOnMount: c, revalidateIfStale: m, refreshInterval: u, refreshWhenHidden: g, refreshWhenOffline: h, keepPreviousData: d } = r, [f, p, b, v] = j.get(a), [y, _] = ze(e), N = L(!1), S = L(!1), k = L(y), C = L(t), P = L(r), R = () => P.current, X = () => R().isVisible() && R().isOnline(), [F, Q, K, U] = xr(a, y), ee = L({}).current, ce = E(s) ? E(r.fallback) ? V : r.fallback[y] : s, he = (w, T) => {
1730
- for (const z in ee) {
1731
- const I = z;
1732
- if (I === "data") {
1733
- if (!n(w[I], T[I]) && (!E(w[I]) || !n(Ne, T[I])))
1731
+ const { cache: a, compare: n, suspense: o, fallbackData: s, revalidateOnMount: c, revalidateIfStale: g, refreshInterval: d, refreshWhenHidden: h, refreshWhenOffline: m, keepPreviousData: u } = r, [f, p, b, v] = j.get(a), [y, _] = Me(e), S = A(!1), N = A(!1), k = A(y), C = A(t), I = A(r), R = () => I.current, Q = () => R().isVisible() && R().isOnline(), [F, ee, J, U] = xr(a, y), te = A({}).current, ce = E(s) ? E(r.fallback) ? V : r.fallback[y] : s, he = (w, T) => {
1732
+ for (const D in te) {
1733
+ const L = D;
1734
+ if (L === "data") {
1735
+ if (!n(w[L], T[L]) && (!E(w[L]) || !n(Ne, T[L])))
1734
1736
  return !1;
1735
- } else if (T[I] !== w[I])
1737
+ } else if (T[L] !== w[L])
1736
1738
  return !1;
1737
1739
  }
1738
1740
  return !0;
1739
- }, we = pt(() => {
1740
- const w = !y || !t ? !1 : E(c) ? R().isPaused() || o ? !1 : m !== !1 : c, T = (D) => {
1741
- const J = oe(D);
1742
- return delete J._k, w ? {
1741
+ }, we = bt(() => {
1742
+ const w = !y || !t ? !1 : E(c) ? R().isPaused() || o ? !1 : g !== !1 : c, T = (P) => {
1743
+ const Y = se(P);
1744
+ return delete Y._k, w ? {
1743
1745
  isValidating: !0,
1744
1746
  isLoading: !0,
1745
- ...J
1746
- } : J;
1747
- }, z = F(), I = U(), G = T(z), ue = z === I ? G : T(I);
1748
- let B = G;
1747
+ ...Y
1748
+ } : Y;
1749
+ }, D = F(), L = U(), G = T(D), ue = D === L ? G : T(L);
1750
+ let z = G;
1749
1751
  return [
1750
1752
  () => {
1751
- const D = T(F());
1752
- return he(D, B) ? (B.data = D.data, B.isLoading = D.isLoading, B.isValidating = D.isValidating, B.error = D.error, B) : (B = D, D);
1753
+ const P = T(F());
1754
+ return he(P, z) ? (z.data = P.data, z.isLoading = P.isLoading, z.isValidating = P.isValidating, z.error = P.error, z) : (z = P, P);
1753
1755
  },
1754
1756
  () => ue
1755
1757
  ];
1756
1758
  }, [
1757
1759
  a,
1758
1760
  y
1759
- ]), te = Cn.useSyncExternalStore(Z(
1760
- (w) => K(y, (T, z) => {
1761
- he(z, T) || w();
1761
+ ]), re = Cn.useSyncExternalStore(K(
1762
+ (w) => J(y, (T, D) => {
1763
+ he(D, T) || w();
1762
1764
  }),
1763
1765
  // eslint-disable-next-line react-hooks/exhaustive-deps
1764
1766
  [
1765
1767
  a,
1766
1768
  y
1767
1769
  ]
1768
- ), we[0], we[1]), re = !N.current, Wr = f[y] && f[y].length > 0, le = te.data, de = E(le) ? ce && Er(ce) ? Ze(ce) : ce : le, Te = te.error, It = L(de), Ne = d ? E(le) ? It.current : le : de, Lt = Wr && !E(Te) ? !1 : re && !E(c) ? c : R().isPaused() ? !1 : o ? E(de) ? !1 : m : E(de) || m, At = !!(y && t && re && Lt), Gr = E(te.isValidating) ? At : te.isValidating, jr = E(te.isLoading) ? At : te.isLoading, fe = Z(
1770
+ ), we[0], we[1]), ae = !S.current, Wr = f[y] && f[y].length > 0, le = re.data, de = E(le) ? ce && Er(ce) ? Ze(ce) : ce : le, Te = re.error, It = A(de), Ne = u ? E(le) ? It.current : le : de, Lt = Wr && !E(Te) ? !1 : ae && !E(c) ? c : R().isPaused() ? !1 : o ? E(de) ? !1 : g : E(de) || g, Ot = !!(y && t && ae && Lt), Gr = E(re.isValidating) ? Ot : re.isValidating, jr = E(re.isLoading) ? Ot : re.isLoading, fe = K(
1769
1771
  async (w) => {
1770
1772
  const T = C.current;
1771
- if (!y || !T || S.current || R().isPaused())
1773
+ if (!y || !T || N.current || R().isPaused())
1772
1774
  return !1;
1773
- let z, I, G = !0;
1774
- const ue = w || {}, B = !b[y] || !ue.dedupe, D = () => Qt ? !S.current && y === k.current && N.current : y === k.current, J = {
1775
+ let D, L, G = !0;
1776
+ const ue = w || {}, z = !b[y] || !ue.dedupe, P = () => Qt ? !N.current && y === k.current && S.current : y === k.current, Y = {
1775
1777
  isValidating: !1,
1776
1778
  isLoading: !1
1777
1779
  }, Bt = () => {
1778
- Q(J);
1780
+ ee(Y);
1779
1781
  }, Mt = () => {
1780
1782
  const H = b[y];
1781
- H && H[1] === I && delete b[y];
1783
+ H && H[1] === L && delete b[y];
1782
1784
  }, zt = {
1783
1785
  isValidating: !0
1784
1786
  };
1785
1787
  E(F().data) && (zt.isLoading = !0);
1786
1788
  try {
1787
- if (B && (Q(zt), r.loadingTimeout && E(F().data) && setTimeout(() => {
1788
- G && D() && R().onLoadingSlow(y, r);
1789
+ if (z && (ee(zt), r.loadingTimeout && E(F().data) && setTimeout(() => {
1790
+ G && P() && R().onLoadingSlow(y, r);
1789
1791
  }, r.loadingTimeout), b[y] = [
1790
1792
  T(_),
1791
1793
  dt()
1792
- ]), [z, I] = b[y], z = await z, B && setTimeout(Mt, r.dedupingInterval), !b[y] || b[y][1] !== I)
1793
- return B && D() && R().onDiscarded(y), !1;
1794
- J.error = V;
1794
+ ]), [D, L] = b[y], D = await D, z && setTimeout(Mt, r.dedupingInterval), !b[y] || b[y][1] !== L)
1795
+ return z && P() && R().onDiscarded(y), !1;
1796
+ Y.error = V;
1795
1797
  const H = p[y];
1796
1798
  if (!E(H) && // case 1
1797
- (I <= H[0] || // case 2
1798
- I <= H[1] || // case 3
1799
+ (L <= H[0] || // case 2
1800
+ L <= H[1] || // case 3
1799
1801
  H[1] === 0))
1800
- return Bt(), B && D() && R().onDiscarded(y), !1;
1801
- const Y = F().data;
1802
- J.data = n(Y, z) ? Y : z, B && D() && R().onSuccess(z, y, r);
1802
+ return Bt(), z && P() && R().onDiscarded(y), !1;
1803
+ const Z = F().data;
1804
+ Y.data = n(Z, D) ? Z : D, z && P() && R().onSuccess(D, y, r);
1803
1805
  } catch (H) {
1804
1806
  Mt();
1805
- const Y = R(), { shouldRetryOnError: Pe } = Y;
1806
- Y.isPaused() || (J.error = H, B && D() && (Y.onError(H, y, Y), (Pe === !0 || q(Pe) && Pe(H)) && (!R().revalidateOnFocus || !R().revalidateOnReconnect || X()) && Y.onErrorRetry(H, y, Y, (qr) => {
1807
+ const Z = R(), { shouldRetryOnError: Ve } = Z;
1808
+ Z.isPaused() || (Y.error = H, z && P() && (Z.onError(H, y, Z), (Ve === !0 || q(Ve) && Ve(H)) && (!R().revalidateOnFocus || !R().revalidateOnReconnect || Q()) && Z.onErrorRetry(H, y, Z, (qr) => {
1807
1809
  const Ue = f[y];
1808
1810
  Ue && Ue[0] && Ue[0](pe.ERROR_REVALIDATE_EVENT, qr);
1809
1811
  }, {
@@ -1828,24 +1830,24 @@ const Ze = O.use || // This extra generic is to avoid TypeScript mixing up the g
1828
1830
  y,
1829
1831
  a
1830
1832
  ]
1831
- ), Ot = Z(
1833
+ ), At = K(
1832
1834
  // Use callback to make sure `keyRef.current` returns latest result every time
1833
1835
  (...w) => Nr(a, k.current, ...w),
1834
1836
  // eslint-disable-next-line react-hooks/exhaustive-deps
1835
1837
  []
1836
1838
  );
1837
1839
  if (Ke(() => {
1838
- C.current = t, P.current = r, E(le) || (It.current = le);
1840
+ C.current = t, I.current = r, E(le) || (It.current = le);
1839
1841
  }), Ke(() => {
1840
1842
  if (!y) return;
1841
1843
  const w = fe.bind(V, Xe);
1842
1844
  let T = 0;
1843
- const I = to(y, f, (G, ue = {}) => {
1845
+ const L = to(y, f, (G, ue = {}) => {
1844
1846
  if (G == pe.FOCUS_EVENT) {
1845
- const B = Date.now();
1846
- R().revalidateOnFocus && B > T && X() && (T = B + R().focusThrottleInterval, w());
1847
+ const z = Date.now();
1848
+ R().revalidateOnFocus && z > T && Q() && (T = z + R().focusThrottleInterval, w());
1847
1849
  } else if (G == pe.RECONNECT_EVENT)
1848
- R().revalidateOnReconnect && X() && w();
1850
+ R().revalidateOnReconnect && Q() && w();
1849
1851
  else {
1850
1852
  if (G == pe.MUTATE_EVENT)
1851
1853
  return fe();
@@ -1853,37 +1855,37 @@ const Ze = O.use || // This extra generic is to avoid TypeScript mixing up the g
1853
1855
  return fe(ue);
1854
1856
  }
1855
1857
  });
1856
- return S.current = !1, k.current = y, N.current = !0, Q({
1858
+ return N.current = !1, k.current = y, S.current = !0, ee({
1857
1859
  _k: _
1858
1860
  }), Lt && (E(de) || _e ? w() : zn(w)), () => {
1859
- S.current = !0, I();
1861
+ N.current = !0, L();
1860
1862
  };
1861
1863
  }, [
1862
1864
  y
1863
1865
  ]), Ke(() => {
1864
1866
  let w;
1865
1867
  function T() {
1866
- const I = q(u) ? u(F().data) : u;
1867
- I && w !== -1 && (w = setTimeout(z, I));
1868
+ const L = q(d) ? d(F().data) : d;
1869
+ L && w !== -1 && (w = setTimeout(D, L));
1868
1870
  }
1869
- function z() {
1870
- !F().error && (g || R().isVisible()) && (h || R().isOnline()) ? fe(Xe).then(T) : T();
1871
+ function D() {
1872
+ !F().error && (h || R().isVisible()) && (m || R().isOnline()) ? fe(Xe).then(T) : T();
1871
1873
  }
1872
1874
  return T(), () => {
1873
1875
  w && (clearTimeout(w), w = -1);
1874
1876
  };
1875
1877
  }, [
1876
- u,
1877
- g,
1878
+ d,
1878
1879
  h,
1880
+ m,
1879
1881
  y
1880
1882
  ]), ga(Ne), o && E(de) && y) {
1881
1883
  if (!Qt && _e)
1882
1884
  throw new Error("Fallback data is required when using Suspense in SSR.");
1883
- C.current = t, P.current = r, S.current = !1;
1885
+ C.current = t, I.current = r, N.current = !1;
1884
1886
  const w = v[y];
1885
1887
  if (!E(w)) {
1886
- const T = Ot(w);
1888
+ const T = At(w);
1887
1889
  Ze(T);
1888
1890
  }
1889
1891
  if (E(Te)) {
@@ -1893,21 +1895,21 @@ const Ze = O.use || // This extra generic is to avoid TypeScript mixing up the g
1893
1895
  throw Te;
1894
1896
  }
1895
1897
  return {
1896
- mutate: Ot,
1898
+ mutate: At,
1897
1899
  get data() {
1898
- return ee.data = !0, Ne;
1900
+ return te.data = !0, Ne;
1899
1901
  },
1900
1902
  get error() {
1901
- return ee.error = !0, Te;
1903
+ return te.error = !0, Te;
1902
1904
  },
1903
1905
  get isValidating() {
1904
- return ee.isValidating = !0, Gr;
1906
+ return te.isValidating = !0, Gr;
1905
1907
  },
1906
1908
  get isLoading() {
1907
- return ee.isLoading = !0, jr;
1909
+ return te.isLoading = !0, jr;
1908
1910
  }
1909
1911
  };
1910
- }, ao = eo(ro), ae = {
1912
+ }, ao = eo(ro), ne = {
1911
1913
  GET_LOCATION: `query GetLocation($latitude: Float!, $longitude: Float!) {
1912
1914
  location(latitude: $latitude, longitude: $longitude) {
1913
1915
  country
@@ -2000,35 +2002,35 @@ const Ze = O.use || // This extra generic is to avoid TypeScript mixing up the g
2000
2002
  }`
2001
2003
  }, Se = {
2002
2004
  GET_LOCATION: {
2003
- schema: ae.GET_LOCATION,
2005
+ schema: ne.GET_LOCATION,
2004
2006
  method: "location"
2005
2007
  },
2006
2008
  GET_CHATS: {
2007
- schema: ae.GET_CHATS,
2009
+ schema: ne.GET_CHATS,
2008
2010
  method: "chats"
2009
2011
  },
2010
2012
  GET_CHATS_STATS: {
2011
- schema: ae.GET_CHATS_STATS,
2013
+ schema: ne.GET_CHATS_STATS,
2012
2014
  method: "chatsStats"
2013
2015
  },
2014
2016
  GET_CHAT: {
2015
- schema: ae.GET_CHAT,
2017
+ schema: ne.GET_CHAT,
2016
2018
  method: "chatById"
2017
2019
  },
2018
2020
  DELETE_CHAT: {
2019
- schema: ae.DELETE_CHAT,
2021
+ schema: ne.DELETE_CHAT,
2020
2022
  method: "deleteChat"
2021
2023
  },
2022
2024
  GET_SERVER_CAPABILITIES: {
2023
- schema: ae.GET_SERVER_CAPABILITIES,
2025
+ schema: ne.GET_SERVER_CAPABILITIES,
2024
2026
  method: "getServerCapabilities"
2025
2027
  },
2026
2028
  GET_USER_PREFERENCES: {
2027
- schema: ae.GET_USER_PREFERENCES,
2029
+ schema: ne.GET_USER_PREFERENCES,
2028
2030
  method: "getUserPreferences"
2029
2031
  },
2030
2032
  SET_USER_PREFERENCES: {
2031
- schema: ae.SET_USER_PREFERENCES,
2033
+ schema: ne.SET_USER_PREFERENCES,
2032
2034
  method: "setUserPreferences"
2033
2035
  }
2034
2036
  }, Rr = process.env.PUBLIC_SASSY_API_SERVER_URL, no = async ({
@@ -2088,20 +2090,20 @@ const Ze = O.use || // This extra generic is to avoid TypeScript mixing up the g
2088
2090
  },
2089
2091
  body: JSON.stringify(r)
2090
2092
  });
2091
- }, $e = ({
2093
+ }, ze = ({
2092
2094
  fetcher: e,
2093
2095
  scope: t,
2094
2096
  keys: r,
2095
2097
  swrOptions: a,
2096
2098
  getAccessToken: n
2097
2099
  }) => {
2098
- const { data: o, error: s, isLoading: c, mutate: m } = ao(
2100
+ const { data: o, error: s, isLoading: c, mutate: g } = ao(
2099
2101
  [t, ...r],
2100
- (u) => e(u, n),
2102
+ (d) => e(d, n),
2101
2103
  { ...a }
2102
2104
  );
2103
- return { data: o, error: s, isLoading: c, mutate: m };
2104
- }, De = async ({
2105
+ return { data: o, error: s, isLoading: c, mutate: g };
2106
+ }, $e = async ({
2105
2107
  getAccessToken: e,
2106
2108
  type: t,
2107
2109
  params: r
@@ -2114,16 +2116,16 @@ const Ze = O.use || // This extra generic is to avoid TypeScript mixing up the g
2114
2116
  if (n.status === 200 && n.errors === void 0)
2115
2117
  return n.data;
2116
2118
  throw new Error("An error occurred while fetching the data.");
2117
- }, Lr = async ([e, t], r) => De({
2119
+ }, Lr = async ([e, t], r) => $e({
2118
2120
  getAccessToken: r,
2119
2121
  type: Se.GET_USER_PREFERENCES,
2120
2122
  params: {
2121
2123
  user: t
2122
2124
  }
2123
- }), Ar = ({
2125
+ }), Or = ({
2124
2126
  keys: e,
2125
2127
  getAccessToken: t
2126
- }) => $e({
2128
+ }) => ze({
2127
2129
  fetcher: Lr,
2128
2130
  scope: "/preferences",
2129
2131
  keys: e,
@@ -2133,11 +2135,11 @@ const Ze = O.use || // This extra generic is to avoid TypeScript mixing up the g
2133
2135
  keys: e,
2134
2136
  getAccessToken: t
2135
2137
  }) => {
2136
- xt(
2138
+ St(
2137
2139
  ["/preferences", ...e],
2138
2140
  (r) => Lr(r, t)
2139
2141
  );
2140
- }, io = async ([e, t], r) => De({
2142
+ }, io = async ([e, t], r) => $e({
2141
2143
  getAccessToken: r,
2142
2144
  type: Se.GET_CHATS_STATS,
2143
2145
  params: {
@@ -2146,12 +2148,12 @@ const Ze = O.use || // This extra generic is to avoid TypeScript mixing up the g
2146
2148
  }), _s = ({
2147
2149
  keys: e,
2148
2150
  getAccessToken: t
2149
- }) => $e({
2151
+ }) => ze({
2150
2152
  fetcher: io,
2151
2153
  scope: "/stats",
2152
2154
  keys: e,
2153
2155
  getAccessToken: t
2154
- }), Or = async ([e, t, r, a], n) => De({
2156
+ }), Ar = async ([e, t, r, a], n) => $e({
2155
2157
  getAccessToken: n,
2156
2158
  type: Se.GET_CHATS,
2157
2159
  params: {
@@ -2164,8 +2166,8 @@ const Ze = O.use || // This extra generic is to avoid TypeScript mixing up the g
2164
2166
  }), Es = ({
2165
2167
  keys: e,
2166
2168
  getAccessToken: t
2167
- }) => $e({
2168
- fetcher: Or,
2169
+ }) => ze({
2170
+ fetcher: Ar,
2169
2171
  scope: "/history",
2170
2172
  keys: e,
2171
2173
  getAccessToken: t,
@@ -2177,13 +2179,13 @@ const Ze = O.use || // This extra generic is to avoid TypeScript mixing up the g
2177
2179
  keys: e,
2178
2180
  getAccessToken: t
2179
2181
  }) => {
2180
- xt(["/history", ...e], (r) => Or(r, t));
2181
- }, Br = async ([e], t) => De({
2182
+ St(["/history", ...e], (r) => Ar(r, t));
2183
+ }, Br = async ([e], t) => $e({
2182
2184
  getAccessToken: t,
2183
2185
  type: Se.GET_SERVER_CAPABILITIES
2184
2186
  }), xs = ({
2185
2187
  getAccessToken: e
2186
- }) => $e({
2188
+ }) => ze({
2187
2189
  fetcher: Br,
2188
2190
  scope: "/capabilities",
2189
2191
  keys: [],
@@ -2191,8 +2193,8 @@ const Ze = O.use || // This extra generic is to avoid TypeScript mixing up the g
2191
2193
  }), lo = ({
2192
2194
  getAccessToken: e
2193
2195
  }) => {
2194
- xt(["/capabilities"], (t) => Br(t, e));
2195
- }, uo = "z-20", mo = "z-10", se = O.createContext({
2196
+ St(["/capabilities"], (t) => Br(t, e));
2197
+ }, uo = "z-20", mo = "z-10", X = M.createContext({
2196
2198
  state: {
2197
2199
  id: "",
2198
2200
  model: ke,
@@ -2210,23 +2212,23 @@ const Ze = O.use || // This extra generic is to avoid TypeScript mixing up the g
2210
2212
  plugins: [],
2211
2213
  engines: []
2212
2214
  }
2213
- }), go = O.createContext({
2215
+ }), go = M.createContext({
2214
2216
  state: { searchString: "", sortedCell: "", sortDirection: "" },
2215
2217
  dispatch: () => {
2216
2218
  }
2217
- }), St = O.createContext({
2218
- state: { prompt: "" },
2219
+ }), De = M.createContext({
2220
+ state: { prompt: "", lastTriggeredTimestamp: 0 },
2219
2221
  dispatch: () => {
2220
2222
  }
2221
2223
  }), ho = ({
2222
2224
  className: e
2223
2225
  }) => {
2224
- const { state: t, dispatch: r } = $(se), a = L(null), n = L(!1), o = (s) => {
2226
+ const { state: t, dispatch: r } = B(X), a = A(null), n = A(!1), o = (s) => {
2225
2227
  s.preventDefault(), r({
2226
- type: ht
2228
+ type: ft
2227
2229
  });
2228
2230
  };
2229
- return A(() => {
2231
+ return O(() => {
2230
2232
  var s;
2231
2233
  (t == null ? void 0 : t.streaming) === !0 && !n.current && a.current && (n.current = !0, a.current.focus()), (t == null ? void 0 : t.streaming) === !1 && (n.current = !1, (s = a.current) == null || s.blur());
2232
2234
  }, [t]), /* @__PURE__ */ i(
@@ -2237,9 +2239,10 @@ const Ze = O.use || // This extra generic is to avoid TypeScript mixing up the g
2237
2239
  radius: "small",
2238
2240
  mode: "dark",
2239
2241
  focusMode: "light",
2242
+ label: "New Chat",
2240
2243
  ref: a,
2241
2244
  onClick: o,
2242
- children: t != null && t.streaming ? /* @__PURE__ */ i(Oa, { size: "size-4", monotone: !0 }) : /* @__PURE__ */ i(La, { size: "size-4", monotone: !0 })
2245
+ children: t != null && t.streaming ? /* @__PURE__ */ i(Aa, { size: "size-4", monotone: !0 }) : /* @__PURE__ */ i(La, { size: "size-4", monotone: !0 })
2243
2246
  }
2244
2247
  );
2245
2248
  }, ut = et.createContext({
@@ -2272,43 +2275,43 @@ const Ze = O.use || // This extra generic is to avoid TypeScript mixing up the g
2272
2275
  mode: o = "system",
2273
2276
  focusMode: s = "system",
2274
2277
  ...c
2275
- }, m) => {
2276
- const [u, g] = W(!1), [h, d] = W(!1), [f, p] = W(null), b = L([]), v = L([]), y = $(ut), _ = fr(), N = ha(), S = pr(), { floatingStyles: k, refs: C, context: P } = fa({
2277
- nodeId: N,
2278
- open: u,
2279
- onOpenChange: (re) => {
2280
- g(re), n == null || n(re);
2278
+ }, g) => {
2279
+ const [d, h] = W(!1), [m, u] = W(!1), [f, p] = W(null), b = A([]), v = A([]), y = B(ut), _ = fr(), S = ha(), N = pr(), { floatingStyles: k, refs: C, context: I } = fa({
2280
+ nodeId: S,
2281
+ open: d,
2282
+ onOpenChange: (ae) => {
2283
+ h(ae), n == null || n(ae);
2281
2284
  },
2282
2285
  placement: a,
2283
2286
  strategy: "fixed",
2284
2287
  middleware: [pa({ mainAxis: 10 }), ba(), ya()],
2285
2288
  whileElementsMounted: va
2286
- }), R = ka(P, {
2289
+ }), R = ka(I, {
2287
2290
  event: "mousedown",
2288
2291
  toggle: !0,
2289
2292
  ignoreMouse: !1
2290
- }), X = _a(P, { role: "menu" }), F = Ea(P, { bubbles: !0 }), Q = xa(P, {
2293
+ }), Q = _a(I, { role: "menu" }), F = Ea(I, { bubbles: !0 }), ee = xa(I, {
2291
2294
  listRef: b,
2292
2295
  activeIndex: f,
2293
2296
  nested: !1,
2294
2297
  onNavigate: p,
2295
2298
  loop: !0
2296
- }), K = Sa(P, {
2299
+ }), J = Sa(I, {
2297
2300
  listRef: v,
2298
- onMatch: u ? p : void 0,
2301
+ onMatch: d ? p : void 0,
2299
2302
  activeIndex: f
2300
- }), { getReferenceProps: U, getFloatingProps: ee, getItemProps: ce } = wa([R, X, F, Q, K]), he = rr(e) === "Button" || rr(e) === "ButtonIcon", we = he ? {
2303
+ }), { getReferenceProps: U, getFloatingProps: te, getItemProps: ce } = wa([R, Q, F, ee, J]), he = rr(e) === "Button" || rr(e) === "ButtonIcon", we = he ? {
2301
2304
  noInternalClick: he,
2302
2305
  focusMode: s,
2303
2306
  mode: o
2304
- } : {}, te = O.cloneElement(
2307
+ } : {}, re = M.cloneElement(
2305
2308
  e,
2306
2309
  {
2307
2310
  ...we,
2308
2311
  "aria-label": r,
2309
- "data-open": u ? "" : void 0,
2310
- "data-focus-inside": h ? "" : void 0,
2311
- ref: br([C.setReference, S.ref, m]),
2312
+ "data-open": d ? "" : void 0,
2313
+ "data-focus-inside": m ? "" : void 0,
2314
+ ref: br([C.setReference, N.ref, g]),
2312
2315
  ...U(
2313
2316
  y.getItemProps({
2314
2317
  ...c
@@ -2316,19 +2319,19 @@ const Ze = O.use || // This extra generic is to avoid TypeScript mixing up the g
2316
2319
  )
2317
2320
  }
2318
2321
  );
2319
- return A(() => {
2322
+ return O(() => {
2320
2323
  if (!_)
2321
2324
  return;
2322
- function re() {
2323
- g(!1), n == null || n(!1);
2325
+ function ae() {
2326
+ h(!1), n == null || n(!1);
2324
2327
  }
2325
- return _.events.on("click", re), () => {
2326
- _.events.off("click", re);
2328
+ return _.events.on("click", ae), () => {
2329
+ _.events.off("click", ae);
2327
2330
  };
2328
- }, [_, n]), A(() => {
2329
- u && _ && _.events.emit("menuopen", { nodeId: N });
2330
- }, [_, u, N]), /* @__PURE__ */ x(Ta, { id: N, children: [
2331
- te,
2331
+ }, [_, n]), O(() => {
2332
+ d && _ && _.events.emit("menuopen", { nodeId: S });
2333
+ }, [_, d, S]), /* @__PURE__ */ x(Ta, { id: S, children: [
2334
+ re,
2332
2335
  /* @__PURE__ */ i(
2333
2336
  ut.Provider,
2334
2337
  {
@@ -2336,13 +2339,13 @@ const Ze = O.use || // This extra generic is to avoid TypeScript mixing up the g
2336
2339
  activeIndex: f,
2337
2340
  setActiveIndex: p,
2338
2341
  getItemProps: ce,
2339
- setHasFocusInside: d,
2340
- isOpen: u
2342
+ setHasFocusInside: u,
2343
+ isOpen: d
2341
2344
  },
2342
- children: /* @__PURE__ */ i(Na, { elementsRef: b, labelsRef: v, children: u && /* @__PURE__ */ i(Ca, { children: /* @__PURE__ */ i(
2345
+ children: /* @__PURE__ */ i(Na, { elementsRef: b, labelsRef: v, children: d && /* @__PURE__ */ i(Ca, { children: /* @__PURE__ */ i(
2343
2346
  Ra,
2344
2347
  {
2345
- context: P,
2348
+ context: I,
2346
2349
  modal: !1,
2347
2350
  initialFocus: 0,
2348
2351
  returnFocus: !0,
@@ -2352,7 +2355,7 @@ const Ze = O.use || // This extra generic is to avoid TypeScript mixing up the g
2352
2355
  ref: C.setFloating,
2353
2356
  className: "rounded-md bg-surface-light shadow-sm shadow-border-dark outline-none p-4 sm:p-2",
2354
2357
  style: k,
2355
- ...ee(),
2358
+ ...te(),
2356
2359
  children: t
2357
2360
  }
2358
2361
  )
@@ -2365,7 +2368,7 @@ const Ze = O.use || // This extra generic is to avoid TypeScript mixing up the g
2365
2368
  ), wt = gr((e, t) => /* @__PURE__ */ i(Ia, { children: /* @__PURE__ */ i(Mr, { ...e, ref: t }) }));
2366
2369
  wt.displayName = "Menu";
2367
2370
  Mr.displayName = "MenuComponent";
2368
- const Ae = et.forwardRef(
2371
+ const Oe = et.forwardRef(
2369
2372
  ({
2370
2373
  label: e,
2371
2374
  disabled: t,
@@ -2375,24 +2378,24 @@ const Ae = et.forwardRef(
2375
2378
  ignoreClick: o = !1,
2376
2379
  selected: s = !1,
2377
2380
  ...c
2378
- }, m) => {
2379
- let u = "";
2380
- const g = et.useContext(ut), h = pr({ label: t ? null : e }), d = fr(), f = br([h.ref, m]);
2381
+ }, g) => {
2382
+ let d = "";
2383
+ const h = et.useContext(ut), m = pr({ label: t ? null : e }), u = fr(), f = br([m.ref, g]);
2381
2384
  if (a && n)
2382
2385
  return /* @__PURE__ */ i(
2383
2386
  "div",
2384
2387
  {
2385
2388
  role: "menuitem",
2386
- ...g.getItemProps({
2389
+ ...h.getItemProps({
2387
2390
  onClick(b) {
2388
2391
  var v;
2389
- o || ((v = c.onClick) == null || v.call(c, b), d == null || d.events.emit("click"));
2392
+ o || ((v = c.onClick) == null || v.call(c, b), u == null || u.events.emit("click"));
2390
2393
  }
2391
2394
  }),
2392
2395
  children: n
2393
2396
  }
2394
2397
  );
2395
- r && (u = "pl-2");
2398
+ r && (d = "pl-2");
2396
2399
  const p = l(
2397
2400
  "m-0 first:mt-0 mt-2 sm:mt-1 px-2 py-1 flex w-full rounded-md border border-transparent text-left text-base outline-none focus:border focus:border-border-medium focus:bg-surface-lighter focus:underline disabled:cursor-not-allowed disabled:text-copy-medium",
2398
2401
  {
@@ -2410,25 +2413,25 @@ const Ae = et.forwardRef(
2410
2413
  className: p,
2411
2414
  tabIndex: 0,
2412
2415
  disabled: t,
2413
- ...g.getItemProps({
2416
+ ...h.getItemProps({
2414
2417
  onClick(b) {
2415
2418
  var v;
2416
- o || ((v = c.onClick) == null || v.call(c, b), d == null || d.events.emit("click"));
2419
+ o || ((v = c.onClick) == null || v.call(c, b), u == null || u.events.emit("click"));
2417
2420
  },
2418
2421
  onFocus(b) {
2419
2422
  var v;
2420
- (v = c.onFocus) == null || v.call(c, b), g.setHasFocusInside(!0);
2423
+ (v = c.onFocus) == null || v.call(c, b), h.setHasFocusInside(!0);
2421
2424
  }
2422
2425
  }),
2423
2426
  children: [
2424
2427
  r,
2425
- e && /* @__PURE__ */ i("span", { className: u, children: e })
2428
+ e && /* @__PURE__ */ i("span", { className: d, children: e })
2426
2429
  ]
2427
2430
  }
2428
2431
  );
2429
2432
  }
2430
2433
  );
2431
- Ae.displayName = "MenuItem";
2434
+ Oe.displayName = "MenuItem";
2432
2435
  const Ss = ({ className: e, ...t }) => {
2433
2436
  const r = l(e, "my-1 border-t border-border-medium");
2434
2437
  return /* @__PURE__ */ i("div", { className: r, ...t });
@@ -2440,13 +2443,13 @@ const Ss = ({ className: e, ...t }) => {
2440
2443
  return /* @__PURE__ */ i("div", { className: r, ...t });
2441
2444
  };
2442
2445
  /*!
2443
- @versini/ui-menu v3.2.2
2446
+ @versini/ui-menu v3.2.3
2444
2447
  © 2025 gizmette.com
2445
2448
  */
2446
2449
  try {
2447
2450
  window.__VERSINI_UI_MENU__ || (window.__VERSINI_UI_MENU__ = {
2448
- version: "3.2.2",
2449
- buildTime: "01/13/2025 05:57 AM EST",
2451
+ version: "3.2.3",
2452
+ buildTime: "01/13/2025 01:16 PM EST",
2450
2453
  homepage: "https://github.com/aversini/ui-components",
2451
2454
  license: "MIT"
2452
2455
  });
@@ -2461,18 +2464,18 @@ const fo = (e) => {
2461
2464
  className: e,
2462
2465
  defaultPlacement: t = "top-start"
2463
2466
  }) => {
2464
- const { dispatch: r } = $(St), { getAccessToken: a, user: n } = xe(), {
2467
+ const { dispatch: r } = B(De), { getAccessToken: a, user: n } = xe(), {
2465
2468
  data: o,
2466
2469
  error: s,
2467
2470
  isLoading: c
2468
- } = Ar({
2471
+ } = Or({
2469
2472
  keys: [n == null ? void 0 : n.username],
2470
2473
  getAccessToken: a
2471
- }), m = (u, g) => {
2472
- u.preventDefault(), r({
2474
+ }), g = (d, h) => {
2475
+ d.preventDefault(), r({
2473
2476
  type: ur,
2474
2477
  payload: {
2475
- prompt: g
2478
+ prompt: h
2476
2479
  }
2477
2480
  });
2478
2481
  };
@@ -2481,17 +2484,17 @@ const fo = (e) => {
2481
2484
  {
2482
2485
  mode: "dark",
2483
2486
  focusMode: "light",
2484
- trigger: /* @__PURE__ */ i(Ee, { className: e, children: /* @__PURE__ */ i(Aa, { size: "size-4" }) }),
2487
+ trigger: /* @__PURE__ */ i(Ee, { className: e, noBorder: !0, label: "Prompts", children: /* @__PURE__ */ i(Oa, { size: "size-4" }) }),
2485
2488
  defaultPlacement: t,
2486
2489
  children: [
2487
2490
  /* @__PURE__ */ i(zr, { children: "Prompts" }),
2488
- o && o.tags && o.tags.map((u) => u.enabled && u.label && u.content && /* @__PURE__ */ i(
2489
- Ae,
2491
+ o && o.tags && o.tags.map((d) => d.enabled && d.label && d.content && /* @__PURE__ */ i(
2492
+ Oe,
2490
2493
  {
2491
- label: u.label,
2492
- onClick: (g) => m(g, u.content)
2494
+ label: d.label,
2495
+ onClick: (h) => g(h, d.content)
2493
2496
  },
2494
- `prompt-button-${u.slot}`
2497
+ `prompt-button-${d.slot}`
2495
2498
  ))
2496
2499
  ]
2497
2500
  }
@@ -2499,12 +2502,13 @@ const fo = (e) => {
2499
2502
  }, bo = ({
2500
2503
  className: e
2501
2504
  }) => {
2502
- const { state: t } = $(se);
2505
+ const { state: t } = B(X);
2503
2506
  return /* @__PURE__ */ i(
2504
2507
  Ee,
2505
2508
  {
2506
2509
  className: e,
2507
2510
  disabled: t == null ? void 0 : t.streaming,
2511
+ label: "Send",
2508
2512
  noBorder: !0,
2509
2513
  type: "submit",
2510
2514
  mode: "light",
@@ -2515,25 +2519,25 @@ const fo = (e) => {
2515
2519
  }, yo = ({
2516
2520
  className: e
2517
2521
  }) => {
2518
- const { state: t, dispatch: r } = $(se), { getAccessToken: a, user: n } = xe(), {
2522
+ const { state: t, dispatch: r } = B(X), { getAccessToken: a, user: n } = xe(), {
2519
2523
  data: o,
2520
2524
  error: s,
2521
2525
  isLoading: c,
2522
- mutate: m
2523
- } = Ar({
2526
+ mutate: g
2527
+ } = Or({
2524
2528
  keys: [n == null ? void 0 : n.username],
2525
2529
  getAccessToken: a
2526
- }), u = async (g) => {
2530
+ }), d = async (h) => {
2527
2531
  try {
2528
2532
  await Ir({
2529
2533
  accessToken: await a(),
2530
2534
  type: Se.SET_USER_PREFERENCES,
2531
2535
  params: {
2532
2536
  user: n == null ? void 0 : n.username,
2533
- engine: g
2537
+ engine: h
2534
2538
  }
2535
- }), m({ ...o }), t && (t == null ? void 0 : t.messages.length) > 0 && r({
2536
- type: ht
2539
+ }), g({ ...o }), t && (t == null ? void 0 : t.messages.length) > 0 && r({
2540
+ type: ft
2537
2541
  });
2538
2542
  } catch {
2539
2543
  }
@@ -2543,26 +2547,26 @@ const fo = (e) => {
2543
2547
  {
2544
2548
  mode: "dark",
2545
2549
  focusMode: "light",
2546
- trigger: /* @__PURE__ */ i(Ee, { className: e, children: o && o.engine === Fe ? /* @__PURE__ */ i(Ft, { size: "size-4" }) : /* @__PURE__ */ i(Ht, { size: "size-4" }) }),
2550
+ trigger: /* @__PURE__ */ i(Ee, { className: e, noBorder: !0, label: "Engines", children: o && o.engine === Fe ? /* @__PURE__ */ i(Ft, { size: "size-4" }) : /* @__PURE__ */ i(Ht, { size: "size-4" }) }),
2547
2551
  defaultPlacement: "top-start",
2548
2552
  children: [
2549
2553
  /* @__PURE__ */ i(zr, { children: "Engines" }),
2550
2554
  /* @__PURE__ */ i(
2551
- Ae,
2555
+ Oe,
2552
2556
  {
2553
2557
  selected: o && o.engine === $t,
2554
2558
  label: "OpenAI",
2555
2559
  icon: /* @__PURE__ */ i(Ht, {}),
2556
- onClick: () => u($t)
2560
+ onClick: () => d($t)
2557
2561
  }
2558
2562
  ),
2559
2563
  /* @__PURE__ */ i(
2560
- Ae,
2564
+ Oe,
2561
2565
  {
2562
2566
  selected: o && o.engine === Fe,
2563
2567
  label: "Anthropic",
2564
2568
  icon: /* @__PURE__ */ i(Ft, {}),
2565
- onClick: () => u(Fe)
2569
+ onClick: () => d(Fe)
2566
2570
  }
2567
2571
  )
2568
2572
  ]
@@ -2606,58 +2610,66 @@ const fo = (e) => {
2606
2610
  ref: s,
2607
2611
  ...c
2608
2612
  }) => {
2609
- const h = L(null), d = L(null), f = Ga([s, d]), p = Ja(), b = xo({
2613
+ const { state: m } = B(X), { state: u } = B(De), f = A(null), p = A(null), b = Ga([s, p]), v = Ja(), y = xo({
2610
2614
  className: e
2611
- }), [v, y] = Ka({
2615
+ }), [_, S] = Ka({
2612
2616
  value: r,
2613
2617
  initialControlledDelay: 20,
2614
2618
  defaultValue: a,
2615
- onChange: (S) => {
2619
+ onChange: (I) => {
2616
2620
  n && n({
2617
2621
  target: {
2618
- value: S
2622
+ value: I
2619
2623
  }
2620
2624
  });
2621
2625
  }
2622
- }), _ = (S) => {
2623
- d.current && (d.current.style.height = "24px"), o(S, v), y("");
2624
- }, N = (S) => {
2625
- if (!d.current)
2626
+ }), N = K(() => {
2627
+ if (!p.current)
2626
2628
  return;
2627
- y(S.target.value), d.current.style.height = "auto";
2628
- const k = d.current.scrollHeight;
2629
- if (k > 120) {
2630
- d.current.style.height = "120px", d.current.style.overflowY = "scroll";
2629
+ p.current.style.height = "auto";
2630
+ const I = p.current.scrollHeight;
2631
+ if (I > 120) {
2632
+ p.current.style.height = "120px", p.current.style.overflowY = "scroll";
2631
2633
  return;
2632
2634
  }
2633
- d.current.style.height = `${k}px`, d.current.style.overflowY = "hidden";
2635
+ p.current.style.height = `${I}px`, p.current.style.overflowY = "hidden";
2636
+ }, [120]), k = (I) => {
2637
+ p.current && (p.current.style.height = "24px"), o(I, _), S("");
2638
+ }, C = (I) => {
2639
+ S(I.target.value), N();
2634
2640
  };
2635
- return /* @__PURE__ */ i(
2641
+ return O(() => {
2642
+ m && m.usage === 0 && m.messages.length === 0 && p.current && (p.current.style.height = "24px");
2643
+ }, [m]), O(() => {
2644
+ u.lastTriggeredTimestamp && setTimeout(() => {
2645
+ N();
2646
+ }, 100);
2647
+ }, [u.lastTriggeredTimestamp, N]), /* @__PURE__ */ i(
2636
2648
  "div",
2637
2649
  {
2638
- className: b.wrapper,
2639
- ref: h,
2650
+ className: y.wrapper,
2651
+ ref: f,
2640
2652
  ...c,
2641
- children: /* @__PURE__ */ x("form", { onSubmit: _, children: [
2642
- /* @__PURE__ */ i("div", { id: p, className: "sr-only", children: t }),
2653
+ children: /* @__PURE__ */ x("form", { onSubmit: k, children: [
2654
+ /* @__PURE__ */ i("div", { id: v, className: "sr-only", children: t }),
2643
2655
  /* @__PURE__ */ i("div", { className: "relative", children: /* @__PURE__ */ i(
2644
2656
  "textarea",
2645
2657
  {
2646
2658
  required: !0,
2647
2659
  rows: 1,
2648
- ref: f,
2660
+ ref: b,
2649
2661
  placeholder: "Type your question here.",
2650
2662
  translate: "no",
2651
- onChange: N,
2652
- value: v,
2653
- onKeyDown: Ua([["mod+Enter", _]]),
2654
- className: b.textArea,
2655
- "aria-labelledby": p
2663
+ onChange: C,
2664
+ value: _,
2665
+ onKeyDown: Ua([["mod+Enter", k]]),
2666
+ className: y.textArea,
2667
+ "aria-labelledby": v
2656
2668
  }
2657
2669
  ) }),
2658
2670
  /* @__PURE__ */ x("div", { className: "p-2 flex items-center", children: [
2659
2671
  /* @__PURE__ */ i(bo, { className: "order-4 ml-auto" }),
2660
- /* @__PURE__ */ i(ho, { className: "order-1 mr-2" }),
2672
+ /* @__PURE__ */ i(ho, { className: "order-1 mr-4" }),
2661
2673
  /* @__PURE__ */ i(po, { className: "order-2 mr-2" }),
2662
2674
  /* @__PURE__ */ i(yo, { className: "order-3" })
2663
2675
  ] })
@@ -2676,24 +2688,24 @@ const fo = (e) => {
2676
2688
  type: ye,
2677
2689
  payload: {
2678
2690
  message: {
2679
- role: ft,
2680
- content: aa
2691
+ role: pt,
2692
+ content: ra
2681
2693
  }
2682
2694
  }
2683
2695
  });
2684
2696
  }, wo = () => {
2685
- const { state: e, dispatch: t } = $(se), { state: r, dispatch: a } = $(St), [n, o] = W(""), { getAccessToken: s, user: c } = xe(), m = L(null), u = L(
2697
+ const { state: e, dispatch: t } = B(X), { state: r, dispatch: a } = B(De), [n, o] = W(""), { getAccessToken: s, user: c } = xe(), g = A(null), d = A(
2686
2698
  null
2687
2699
  );
2688
- A(() => {
2700
+ O(() => {
2689
2701
  (async () => {
2690
- var d;
2702
+ var u;
2691
2703
  if (!e || e.messages.length === 0) {
2692
- (d = u == null ? void 0 : u.current) == null || d.cancel();
2704
+ (u = d == null ? void 0 : d.current) == null || u.cancel();
2693
2705
  return;
2694
2706
  }
2695
- const h = e.messages[e.messages.length - 1];
2696
- if (!(e.messages.length === 0 || h.message.role === ve || h.message.role === Qr || h.message.role === ft || h.message.role === ea))
2707
+ const m = e.messages[e.messages.length - 1];
2708
+ if (!(e.messages.length === 0 || m.message.role === ve || m.message.role === Qr || m.message.role === pt || m.message.role === ea))
2697
2709
  try {
2698
2710
  const f = await oo({
2699
2711
  accessToken: await s(),
@@ -2707,20 +2719,20 @@ const fo = (e) => {
2707
2719
  }
2708
2720
  });
2709
2721
  if (f && f.ok) {
2710
- const p = kt();
2711
- u.current = f.body.getReader();
2722
+ const p = _t();
2723
+ d.current = f.body.getReader();
2712
2724
  const b = new TextDecoder();
2713
2725
  for (; ; ) {
2714
2726
  Le(t, !0);
2715
- const { done: v, value: y } = await u.current.read();
2727
+ const { done: v, value: y } = await d.current.read();
2716
2728
  if (v) {
2717
2729
  Le(t, !1);
2718
2730
  break;
2719
2731
  }
2720
- const _ = b.decode(y, { stream: !0 }), N = _.indexOf(Dt);
2721
- if (N !== -1) {
2722
- const S = _.substring(0, N), k = JSON.parse(
2723
- _.substring(N + Dt.length)
2732
+ const _ = b.decode(y, { stream: !0 }), S = _.indexOf(Dt);
2733
+ if (S !== -1) {
2734
+ const N = _.substring(0, S), k = JSON.parse(
2735
+ _.substring(S + Dt.length)
2724
2736
  );
2725
2737
  t({
2726
2738
  type: cr,
@@ -2732,7 +2744,7 @@ const fo = (e) => {
2732
2744
  type: ye,
2733
2745
  payload: {
2734
2746
  message: {
2735
- content: S,
2747
+ content: N,
2736
2748
  role: ve,
2737
2749
  messageId: p,
2738
2750
  processingTime: k.processingTime,
@@ -2760,8 +2772,8 @@ const fo = (e) => {
2760
2772
  }
2761
2773
  })();
2762
2774
  }, [e == null ? void 0 : e.messages]);
2763
- const g = async (h) => {
2764
- h.preventDefault(), t({
2775
+ const h = async (m) => {
2776
+ m.preventDefault(), t({
2765
2777
  type: ye,
2766
2778
  payload: {
2767
2779
  message: {
@@ -2771,45 +2783,38 @@ const fo = (e) => {
2771
2783
  }
2772
2784
  }), o("");
2773
2785
  };
2774
- return A(() => {
2786
+ return O(() => {
2775
2787
  if (r.prompt !== "") {
2776
- const h = r.prompt.endsWith(":") && !r.prompt.endsWith(": ") ? r.prompt + " " : r.prompt;
2777
- h.indexOf(Vt) !== -1 ? navigator.clipboard.readText().then((f) => {
2778
- o(h.replace(Vt, f));
2779
- }) : o(h), m.current && m.current.focus(), a({
2788
+ const m = r.prompt.endsWith(":") && !r.prompt.endsWith(": ") ? r.prompt + " " : r.prompt;
2789
+ m.indexOf(Pt) !== -1 ? navigator.clipboard.readText().then((f) => {
2790
+ o(m.replace(Pt, f));
2791
+ }) : o(m), g.current && g.current.focus(), a({
2780
2792
  type: dr
2781
2793
  });
2782
2794
  }
2783
- }, [r, a]), A(() => {
2784
- e && e.usage === 0 && e.messages.length === 0 && (o(""), m.current && m.current.focus());
2785
- }, [e]), A(() => {
2786
- (e == null ? void 0 : e.streaming) === !1 && m.current && m.current.focus();
2787
- }, [e]), /* @__PURE__ */ x(Oe, { children: [
2788
- /* @__PURE__ */ i(
2789
- So,
2790
- {
2791
- label: ta,
2792
- onSubmit: g,
2793
- ref: m,
2794
- value: n,
2795
- onChange: (h) => o(h.target.value)
2796
- }
2797
- ),
2798
- /* @__PURE__ */ x("div", { className: "w-full text-center text-xs text-copy-lighter pt-2", children: [
2799
- "Sometimes, ",
2800
- ra,
2801
- " hallucinates. Check important info."
2802
- ] })
2803
- ] });
2795
+ }, [r, a]), O(() => {
2796
+ e && e.usage === 0 && e.messages.length === 0 && (o(""), g.current && g.current.focus());
2797
+ }, [e]), O(() => {
2798
+ (e == null ? void 0 : e.streaming) === !1 && g.current && g.current.focus();
2799
+ }, [e]), /* @__PURE__ */ i(ht, { children: /* @__PURE__ */ i(
2800
+ So,
2801
+ {
2802
+ label: ta,
2803
+ onSubmit: h,
2804
+ ref: g,
2805
+ value: n,
2806
+ onChange: (m) => o(m.target.value)
2807
+ }
2808
+ ) });
2804
2809
  }, To = () => {
2805
- const { state: e } = $(se), t = L(!1), r = window.innerWidth < 403, [a, n] = W(
2810
+ const { state: e } = B(X), t = A(!1), r = window.innerWidth < 403, [a, n] = W(
2806
2811
  r ? "bottom-4" : "top-[245px]"
2807
2812
  );
2808
- return A(() => {
2813
+ return O(() => {
2809
2814
  r || e && (!t.current && e.streaming && n("bottom-4"), t.current = !!e.streaming);
2810
- }, [e, r]), A(() => {
2815
+ }, [e, r]), O(() => {
2811
2816
  r || (e && e.messages.length === 0 && n("top-[245px]"), e && !e.streaming && e.messages.length > 0 && n("bottom-4"));
2812
- }, [e, r]), /* @__PURE__ */ i(Oe, { children: /* @__PURE__ */ i(
2817
+ }, [e, r]), /* @__PURE__ */ x(
2813
2818
  "footer",
2814
2819
  {
2815
2820
  className: l(
@@ -2817,24 +2822,27 @@ const fo = (e) => {
2817
2822
  uo,
2818
2823
  a
2819
2824
  ),
2820
- children: /* @__PURE__ */ i(wo, {})
2825
+ children: [
2826
+ /* @__PURE__ */ i(wo, {}),
2827
+ /* @__PURE__ */ i("div", { className: "w-full text-center text-xs text-copy-lighter pt-2", children: aa })
2828
+ ]
2821
2829
  }
2822
- ) });
2830
+ );
2823
2831
  };
2824
2832
  /*!
2825
- @versini/ui-bubble v3.1.4
2833
+ @versini/ui-bubble v3.1.5
2826
2834
  © 2025 gizmette.com
2827
2835
  */
2828
2836
  try {
2829
2837
  window.__VERSINI_UI_BUBBLE__ || (window.__VERSINI_UI_BUBBLE__ = {
2830
- version: "3.1.4",
2831
- buildTime: "01/13/2025 05:57 AM EST",
2838
+ version: "3.1.5",
2839
+ buildTime: "01/13/2025 01:16 PM EST",
2832
2840
  homepage: "https://github.com/aversini/ui-components",
2833
2841
  license: "MIT"
2834
2842
  });
2835
2843
  } catch {
2836
2844
  }
2837
- const No = "av-bubble", or = "av-button", Ve = "icon", $r = "button", mt = "link", Co = ({
2845
+ const No = "av-bubble", or = "av-button", Pe = "icon", $r = "button", mt = "link", Co = ({
2838
2846
  type: e,
2839
2847
  size: t,
2840
2848
  labelRight: r,
@@ -2850,7 +2858,7 @@ const No = "av-bubble", or = "av-button", Ve = "icon", $r = "button", mt = "link
2850
2858
  [s]: t === "medium",
2851
2859
  [c]: t === "large"
2852
2860
  });
2853
- case Ve:
2861
+ case Pe:
2854
2862
  return l("inline-flex items-center", {
2855
2863
  "justify-center": n === "center",
2856
2864
  "justify-start": n === "left",
@@ -2879,7 +2887,7 @@ const No = "av-bubble", or = "av-button", Ve = "icon", $r = "button", mt = "link
2879
2887
  [o]: t === "medium",
2880
2888
  [s]: t === "large"
2881
2889
  });
2882
- case Ve:
2890
+ case Pe:
2883
2891
  return l({
2884
2892
  [n]: t === "small" && (r || a),
2885
2893
  [o]: t === "medium" && (r || a),
@@ -2952,13 +2960,13 @@ const No = "av-bubble", or = "av-button", Ve = "icon", $r = "button", mt = "link
2952
2960
  if (r === "selected")
2953
2961
  return "bg-action-selected-dark";
2954
2962
  }
2955
- }, Ao = ({
2963
+ }, Oo = ({
2956
2964
  radius: e
2957
2965
  }) => l({
2958
2966
  "rounded-full": e === "large",
2959
2967
  "rounded-md": e === "medium",
2960
2968
  "rounded-sm": e === "small"
2961
- }), Oo = ({
2969
+ }), Ao = ({
2962
2970
  mode: e,
2963
2971
  disabled: t,
2964
2972
  variant: r
@@ -3064,36 +3072,36 @@ const No = "av-bubble", or = "av-button", Ve = "icon", $r = "button", mt = "link
3064
3072
  disabled: o,
3065
3073
  fullWidth: s,
3066
3074
  size: c,
3067
- noBorder: m,
3068
- labelRight: u,
3069
- labelLeft: g,
3070
- noBackground: h,
3071
- variant: d,
3075
+ noBorder: g,
3076
+ labelRight: d,
3077
+ labelLeft: h,
3078
+ noBackground: m,
3079
+ variant: u,
3072
3080
  noTruncate: f,
3073
3081
  align: p,
3074
3082
  radius: b
3075
- }) => (d || (d = "primary"), r ? l(or, t) : l(
3083
+ }) => (u || (u = "primary"), r ? l(or, t) : l(
3076
3084
  or,
3077
3085
  Io({
3078
3086
  mode: a,
3079
- variant: d,
3080
- noBackground: h,
3087
+ variant: u,
3088
+ noBackground: m,
3081
3089
  noTruncate: f
3082
3090
  }),
3083
- Lo({ mode: a, noBackground: h, variant: d }),
3084
- Ao({ radius: b }),
3091
+ Lo({ mode: a, noBackground: m, variant: u }),
3092
+ Oo({ radius: b }),
3085
3093
  Co({
3086
3094
  type: e,
3087
3095
  size: c,
3088
- labelRight: u,
3089
- labelLeft: g,
3096
+ labelRight: d,
3097
+ labelLeft: h,
3090
3098
  align: p
3091
3099
  }),
3092
- Ro({ type: e, size: c, labelRight: u, labelLeft: g }),
3093
- Mo({ mode: a, variant: d, noBorder: m }),
3100
+ Ro({ type: e, size: c, labelRight: d, labelLeft: h }),
3101
+ Mo({ mode: a, variant: u, noBorder: g }),
3094
3102
  zo({ focusMode: n }),
3095
- Oo({ mode: a, variant: d, disabled: o }),
3096
- Bo({ mode: a, variant: d, disabled: o }),
3103
+ Ao({ mode: a, variant: u, disabled: o }),
3104
+ Bo({ mode: a, variant: u, disabled: o }),
3097
3105
  {
3098
3106
  "w-full": s,
3099
3107
  "disabled:cursor-not-allowed disabled:opacity-50": o
@@ -3102,7 +3110,7 @@ const No = "av-bubble", or = "av-button", Ve = "icon", $r = "button", mt = "link
3102
3110
  )), $o = (e, t, r) => {
3103
3111
  var a;
3104
3112
  !t && (!document.activeElement || document.activeElement !== e.currentTarget) && typeof ((a = e == null ? void 0 : e.currentTarget) == null ? void 0 : a.focus) == "function" && e.currentTarget.focus(), typeof r == "function" && r(e);
3105
- }, Tt = O.forwardRef((e, t) => {
3113
+ }, Tt = M.forwardRef((e, t) => {
3106
3114
  const { onClick: r, noInternalClick: a = !1, ...n } = e;
3107
3115
  return /* @__PURE__ */ i(
3108
3116
  "button",
@@ -3116,7 +3124,7 @@ const No = "av-bubble", or = "av-button", Ve = "icon", $r = "button", mt = "link
3116
3124
  );
3117
3125
  });
3118
3126
  Tt.displayName = "BaseButton";
3119
- const Vr = O.forwardRef(
3127
+ const Pr = M.forwardRef(
3120
3128
  ({
3121
3129
  children: e,
3122
3130
  disabled: t = !1,
@@ -3126,29 +3134,29 @@ const Vr = O.forwardRef(
3126
3134
  className: o,
3127
3135
  type: s = "button",
3128
3136
  raw: c = !1,
3129
- noBorder: m = !1,
3130
- "aria-label": u,
3131
- label: g,
3132
- size: h = "medium",
3133
- labelRight: d,
3137
+ noBorder: g = !1,
3138
+ "aria-label": d,
3139
+ label: h,
3140
+ size: m = "medium",
3141
+ labelRight: u,
3134
3142
  labelLeft: f,
3135
3143
  noBackground: p = !1,
3136
3144
  align: b = "center",
3137
3145
  radius: v = "large",
3138
3146
  variant: y = "primary",
3139
3147
  ..._
3140
- }, N) => {
3141
- const S = Dr({
3142
- type: Ve,
3148
+ }, S) => {
3149
+ const N = Dr({
3150
+ type: Pe,
3143
3151
  mode: r,
3144
3152
  focusMode: a,
3145
3153
  fullWidth: n,
3146
3154
  disabled: t,
3147
3155
  raw: c,
3148
3156
  className: o,
3149
- noBorder: m,
3150
- size: h,
3151
- labelRight: d,
3157
+ noBorder: g,
3158
+ size: m,
3159
+ labelRight: u,
3152
3160
  labelLeft: f,
3153
3161
  noBackground: p,
3154
3162
  align: b,
@@ -3163,36 +3171,36 @@ const Vr = O.forwardRef(
3163
3171
  return /* @__PURE__ */ x(
3164
3172
  Tt,
3165
3173
  {
3166
- ref: N,
3167
- className: S,
3174
+ ref: S,
3175
+ className: N,
3168
3176
  disabled: t,
3169
3177
  type: s,
3170
- "aria-label": u || g,
3178
+ "aria-label": d || h,
3171
3179
  ..._,
3172
3180
  children: [
3173
3181
  f && /* @__PURE__ */ i("span", { className: "pr-2", children: f }),
3174
3182
  /* @__PURE__ */ i("div", { className: k, children: e }),
3175
- d && /* @__PURE__ */ i("span", { className: "pl-2", children: d })
3183
+ u && /* @__PURE__ */ i("span", { className: "pl-2", children: u })
3176
3184
  ]
3177
3185
  }
3178
3186
  );
3179
3187
  }
3180
3188
  );
3181
- Vr.displayName = "ButtonIcon";
3189
+ Pr.displayName = "ButtonIcon";
3182
3190
  /*!
3183
- @versini/ui-button v4.0.7
3191
+ @versini/ui-button v4.0.8
3184
3192
  © 2025 gizmette.com
3185
3193
  */
3186
3194
  try {
3187
3195
  window.__VERSINI_UI_BUTTON__ || (window.__VERSINI_UI_BUTTON__ = {
3188
- version: "4.0.7",
3189
- buildTime: "01/13/2025 05:57 AM EST",
3196
+ version: "4.0.8",
3197
+ buildTime: "01/13/2025 01:16 PM EST",
3190
3198
  homepage: "https://github.com/aversini/ui-components",
3191
3199
  license: "MIT"
3192
3200
  });
3193
3201
  } catch {
3194
3202
  }
3195
- const Do = O.forwardRef(
3203
+ const Do = M.forwardRef(
3196
3204
  ({
3197
3205
  children: e,
3198
3206
  disabled: t = !1,
@@ -3202,29 +3210,29 @@ const Do = O.forwardRef(
3202
3210
  className: o,
3203
3211
  type: s = "button",
3204
3212
  raw: c = !1,
3205
- noBorder: m = !1,
3206
- "aria-label": u,
3207
- label: g,
3208
- size: h = "medium",
3209
- labelRight: d,
3213
+ noBorder: g = !1,
3214
+ "aria-label": d,
3215
+ label: h,
3216
+ size: m = "medium",
3217
+ labelRight: u,
3210
3218
  labelLeft: f,
3211
3219
  noBackground: p = !1,
3212
3220
  align: b = "center",
3213
3221
  active: v = !1,
3214
3222
  radius: y = "large",
3215
3223
  ..._
3216
- }, N) => {
3217
- const S = Dr({
3218
- type: Ve,
3224
+ }, S) => {
3225
+ const N = Dr({
3226
+ type: Pe,
3219
3227
  mode: r,
3220
3228
  focusMode: a,
3221
3229
  fullWidth: n,
3222
3230
  disabled: t,
3223
3231
  raw: c,
3224
3232
  className: o,
3225
- noBorder: m,
3226
- size: h,
3227
- labelRight: d,
3233
+ noBorder: g,
3234
+ size: m,
3235
+ labelRight: u,
3228
3236
  labelLeft: f,
3229
3237
  noBackground: p,
3230
3238
  align: b,
@@ -3254,23 +3262,23 @@ const Do = O.forwardRef(
3254
3262
  return /* @__PURE__ */ i("div", { className: C, children: /* @__PURE__ */ x(
3255
3263
  Tt,
3256
3264
  {
3257
- ref: N,
3258
- className: S,
3265
+ ref: S,
3266
+ className: N,
3259
3267
  disabled: t,
3260
3268
  type: s,
3261
- "aria-label": u || g,
3269
+ "aria-label": d || h,
3262
3270
  ..._,
3263
3271
  children: [
3264
3272
  f && /* @__PURE__ */ i("span", { className: "pr-2", children: f }),
3265
3273
  /* @__PURE__ */ i("div", { className: k, children: e }),
3266
- d && /* @__PURE__ */ i("span", { className: "pl-2", children: d })
3274
+ u && /* @__PURE__ */ i("span", { className: "pl-2", children: u })
3267
3275
  ]
3268
3276
  }
3269
3277
  ) });
3270
3278
  }
3271
3279
  );
3272
3280
  Do.displayName = "ButtonSort";
3273
- const Pr = ({
3281
+ const Vr = ({
3274
3282
  children: e,
3275
3283
  fill: t,
3276
3284
  viewBox: r,
@@ -3279,21 +3287,21 @@ const Pr = ({
3279
3287
  size: o,
3280
3288
  title: s,
3281
3289
  semantic: c = !1,
3282
- ...m
3290
+ ...g
3283
3291
  }) => {
3284
- const u = l(o, a);
3285
- return /* @__PURE__ */ x(Oe, { children: [
3292
+ const d = l(o, a);
3293
+ return /* @__PURE__ */ x(ht, { children: [
3286
3294
  /* @__PURE__ */ i(
3287
3295
  "svg",
3288
3296
  {
3289
3297
  xmlns: "http://www.w3.org/2000/svg",
3290
- className: u,
3298
+ className: d,
3291
3299
  viewBox: r || n,
3292
3300
  fill: t || "currentColor",
3293
3301
  role: "img",
3294
3302
  "aria-hidden": !c,
3295
3303
  focusable: !1,
3296
- ...m,
3304
+ ...g,
3297
3305
  children: e
3298
3306
  }
3299
3307
  ),
@@ -3301,26 +3309,26 @@ const Pr = ({
3301
3309
  ] });
3302
3310
  };
3303
3311
  /*!
3304
- @versini/ui-svgicon v4.0.1
3312
+ @versini/ui-svgicon v4.0.2
3305
3313
  © 2025 gizmette.com
3306
3314
  */
3307
3315
  try {
3308
3316
  window.__VERSINI_UI_SVGICON__ || (window.__VERSINI_UI_SVGICON__ = {
3309
- version: "4.0.1",
3310
- buildTime: "01/13/2025 05:57 AM EST",
3317
+ version: "4.0.2",
3318
+ buildTime: "01/13/2025 01:15 PM EST",
3311
3319
  homepage: "https://github.com/aversini/ui-components",
3312
3320
  license: "MIT"
3313
3321
  });
3314
3322
  } catch {
3315
3323
  }
3316
- const Vo = ({
3324
+ const Po = ({
3317
3325
  className: e,
3318
3326
  viewBox: t,
3319
3327
  title: r,
3320
3328
  monotone: a,
3321
3329
  ...n
3322
3330
  }) => /* @__PURE__ */ x(
3323
- Pr,
3331
+ Vr,
3324
3332
  {
3325
3333
  defaultViewBox: "0 0 448 512",
3326
3334
  size: "size-5",
@@ -3346,14 +3354,14 @@ const Vo = ({
3346
3354
  )
3347
3355
  ]
3348
3356
  }
3349
- ), Po = ({
3357
+ ), Vo = ({
3350
3358
  className: e,
3351
3359
  viewBox: t,
3352
3360
  title: r,
3353
3361
  monotone: a,
3354
3362
  ...n
3355
3363
  }) => /* @__PURE__ */ i(
3356
- Pr,
3364
+ Vr,
3357
3365
  {
3358
3366
  defaultViewBox: "0 0 512 512",
3359
3367
  size: "size-5",
@@ -3365,13 +3373,13 @@ const Vo = ({
3365
3373
  }
3366
3374
  );
3367
3375
  /*!
3368
- @versini/ui-icons v4.4.0
3376
+ @versini/ui-icons v4.4.1
3369
3377
  © 2025 gizmette.com
3370
3378
  */
3371
3379
  try {
3372
3380
  window.__VERSINI_UI_ICONS__ || (window.__VERSINI_UI_ICONS__ = {
3373
- version: "4.4.0",
3374
- buildTime: "01/13/2025 05:57 AM EST",
3381
+ version: "4.4.1",
3382
+ buildTime: "01/13/2025 01:15 PM EST",
3375
3383
  homepage: "https://github.com/aversini/ui-components",
3376
3384
  license: "MIT"
3377
3385
  });
@@ -3431,40 +3439,40 @@ const Uo = ({
3431
3439
  copyToClipboard: o,
3432
3440
  copyToClipboardFocusMode: s = "system",
3433
3441
  copyToClipboardMode: c = "system",
3434
- noMaxWidth: m = !1
3442
+ noMaxWidth: g = !1
3435
3443
  }) => {
3436
- const [u, g] = W(!1), h = Go({ kind: t, className: r, noMaxWidth: m }), d = !!o && (typeof o == "function" || typeof o == "string" || typeof e == "string"), f = () => {
3437
- g(!0), typeof o == "function" ? o(e) : typeof o == "string" ? navigator.clipboard.writeText(o) : typeof e == "string" && navigator.clipboard.writeText(e);
3444
+ const [d, h] = W(!1), m = Go({ kind: t, className: r, noMaxWidth: g }), u = !!o && (typeof o == "function" || typeof o == "string" || typeof e == "string"), f = () => {
3445
+ h(!0), typeof o == "function" ? o(e) : typeof o == "string" ? navigator.clipboard.writeText(o) : typeof e == "string" && navigator.clipboard.writeText(e);
3438
3446
  };
3439
- return A(() => {
3447
+ return O(() => {
3440
3448
  let p;
3441
- return u && (p = window.setTimeout(() => {
3442
- g(!1);
3449
+ return d && (p = window.setTimeout(() => {
3450
+ h(!1);
3443
3451
  }, 3e3)), () => {
3444
3452
  clearTimeout(p);
3445
3453
  };
3446
- }, [u]), /* @__PURE__ */ x("div", { className: h.wrapper, children: [
3454
+ }, [d]), /* @__PURE__ */ x("div", { className: m.wrapper, children: [
3447
3455
  /* @__PURE__ */ x("div", { children: [
3448
- /* @__PURE__ */ i("div", { className: h.main, children: e }),
3449
- a && Object.keys(a).map((p) => a[p] ? /* @__PURE__ */ i("div", { className: "prose-p:m-0", children: /* @__PURE__ */ x("p", { className: h.footer, children: [
3456
+ /* @__PURE__ */ i("div", { className: m.main, children: e }),
3457
+ a && Object.keys(a).map((p) => a[p] ? /* @__PURE__ */ i("div", { className: "prose-p:m-0", children: /* @__PURE__ */ x("p", { className: m.footer, children: [
3450
3458
  p,
3451
3459
  ": ",
3452
3460
  a[p]
3453
3461
  ] }) }, `-${p}`) : null),
3454
3462
  n && n
3455
3463
  ] }),
3456
- d && /* @__PURE__ */ i("div", { className: h.copyButton, children: /* @__PURE__ */ i(
3457
- Vr,
3464
+ u && /* @__PURE__ */ i("div", { className: m.copyButton, children: /* @__PURE__ */ i(
3465
+ Pr,
3458
3466
  {
3459
3467
  noBorder: !0,
3460
3468
  noBackground: !0,
3461
3469
  size: "small",
3462
3470
  mode: c,
3463
3471
  focusMode: s,
3464
- label: u ? "Copied to clipboard" : "Copy to clipboard",
3472
+ label: d ? "Copied to clipboard" : "Copy to clipboard",
3465
3473
  onClick: f,
3466
- disabled: u,
3467
- children: u ? /* @__PURE__ */ i(Vo, { size: "size-3" }) : /* @__PURE__ */ i(Po, { size: "size-3" })
3474
+ disabled: d,
3475
+ children: d ? /* @__PURE__ */ i(Po, { size: "size-3" }) : /* @__PURE__ */ i(Vo, { size: "size-3" })
3468
3476
  }
3469
3477
  ) })
3470
3478
  ] });
@@ -3698,36 +3706,36 @@ const Uo = ({
3698
3706
  disabled: o,
3699
3707
  fullWidth: s,
3700
3708
  size: c,
3701
- noBorder: m,
3702
- labelRight: u,
3703
- labelLeft: g,
3704
- noBackground: h,
3705
- variant: d,
3709
+ noBorder: g,
3710
+ labelRight: d,
3711
+ labelLeft: h,
3712
+ noBackground: m,
3713
+ variant: u,
3706
3714
  noTruncate: f,
3707
3715
  align: p,
3708
3716
  radius: b
3709
- }) => (d || (d = "primary"), r ? l(sr, t) : l(
3717
+ }) => (u || (u = "primary"), r ? l(sr, t) : l(
3710
3718
  sr,
3711
3719
  Jo({
3712
3720
  mode: a,
3713
- variant: d,
3714
- noBackground: h,
3721
+ variant: u,
3722
+ noBackground: m,
3715
3723
  noTruncate: f
3716
3724
  }),
3717
- Yo({ mode: a, noBackground: h, variant: d }),
3725
+ Yo({ mode: a, noBackground: m, variant: u }),
3718
3726
  Zo({ radius: b }),
3719
3727
  qo({
3720
3728
  type: e,
3721
3729
  size: c,
3722
- labelRight: u,
3723
- labelLeft: g,
3730
+ labelRight: d,
3731
+ labelLeft: h,
3724
3732
  align: p
3725
3733
  }),
3726
- Ko({ type: e, size: c, labelRight: u, labelLeft: g }),
3727
- es({ mode: a, variant: d, noBorder: m }),
3734
+ Ko({ type: e, size: c, labelRight: d, labelLeft: h }),
3735
+ es({ mode: a, variant: u, noBorder: g }),
3728
3736
  ts({ focusMode: n }),
3729
- Xo({ mode: a, variant: d, disabled: o }),
3730
- Qo({ mode: a, variant: d, disabled: o }),
3737
+ Xo({ mode: a, variant: u, disabled: o }),
3738
+ Qo({ mode: a, variant: u, disabled: o }),
3731
3739
  {
3732
3740
  "w-full": s,
3733
3741
  "disabled:cursor-not-allowed disabled:opacity-50": o
@@ -3736,7 +3744,7 @@ const Uo = ({
3736
3744
  )), rs = (e, t, r) => {
3737
3745
  var a;
3738
3746
  !t && (!document.activeElement || document.activeElement !== e.currentTarget) && typeof ((a = e == null ? void 0 : e.currentTarget) == null ? void 0 : a.focus) == "function" && e.currentTarget.focus(), typeof r == "function" && r(e);
3739
- }, Rt = O.forwardRef((e, t) => {
3747
+ }, Rt = M.forwardRef((e, t) => {
3740
3748
  const { onClick: r, noInternalClick: a = !1, ...n } = e;
3741
3749
  return /* @__PURE__ */ i(
3742
3750
  "button",
@@ -3750,7 +3758,7 @@ const Uo = ({
3750
3758
  );
3751
3759
  });
3752
3760
  Rt.displayName = "BaseButton";
3753
- const Fr = O.forwardRef(
3761
+ const Fr = M.forwardRef(
3754
3762
  ({
3755
3763
  children: e,
3756
3764
  disabled: t = !1,
@@ -3760,11 +3768,11 @@ const Fr = O.forwardRef(
3760
3768
  className: o,
3761
3769
  size: s = "medium",
3762
3770
  raw: c = !1,
3763
- noBorder: m = !1,
3764
- variant: u = "primary",
3765
- noTruncate: g = !1,
3766
- radius: h = "large",
3767
- ...d
3771
+ noBorder: g = !1,
3772
+ variant: d = "primary",
3773
+ noTruncate: h = !1,
3774
+ radius: m = "large",
3775
+ ...u
3768
3776
  }, f) => {
3769
3777
  const p = Ur({
3770
3778
  type: Ct,
@@ -3775,10 +3783,10 @@ const Fr = O.forwardRef(
3775
3783
  raw: c,
3776
3784
  className: o,
3777
3785
  size: s,
3778
- noBorder: m,
3779
- variant: u,
3780
- noTruncate: g,
3781
- radius: h
3786
+ noBorder: g,
3787
+ variant: d,
3788
+ noTruncate: h,
3789
+ radius: m
3782
3790
  });
3783
3791
  return /* @__PURE__ */ i(
3784
3792
  Rt,
@@ -3786,7 +3794,7 @@ const Fr = O.forwardRef(
3786
3794
  ref: f,
3787
3795
  className: p,
3788
3796
  disabled: t,
3789
- ...d,
3797
+ ...u,
3790
3798
  children: e
3791
3799
  }
3792
3800
  );
@@ -3794,19 +3802,19 @@ const Fr = O.forwardRef(
3794
3802
  );
3795
3803
  Fr.displayName = "Button";
3796
3804
  /*!
3797
- @versini/ui-button v4.0.7
3805
+ @versini/ui-button v4.0.8
3798
3806
  © 2025 gizmette.com
3799
3807
  */
3800
3808
  try {
3801
3809
  window.__VERSINI_UI_BUTTON__ || (window.__VERSINI_UI_BUTTON__ = {
3802
- version: "4.0.7",
3803
- buildTime: "01/13/2025 05:57 AM EST",
3810
+ version: "4.0.8",
3811
+ buildTime: "01/13/2025 01:16 PM EST",
3804
3812
  homepage: "https://github.com/aversini/ui-components",
3805
3813
  license: "MIT"
3806
3814
  });
3807
3815
  } catch {
3808
3816
  }
3809
- const as = O.forwardRef(
3817
+ const as = M.forwardRef(
3810
3818
  ({
3811
3819
  children: e,
3812
3820
  disabled: t = !1,
@@ -3816,19 +3824,19 @@ const as = O.forwardRef(
3816
3824
  className: o,
3817
3825
  type: s = "button",
3818
3826
  raw: c = !1,
3819
- noBorder: m = !1,
3820
- "aria-label": u,
3821
- label: g,
3822
- size: h = "medium",
3823
- labelRight: d,
3827
+ noBorder: g = !1,
3828
+ "aria-label": d,
3829
+ label: h,
3830
+ size: m = "medium",
3831
+ labelRight: u,
3824
3832
  labelLeft: f,
3825
3833
  noBackground: p = !1,
3826
3834
  align: b = "center",
3827
3835
  active: v = !1,
3828
3836
  radius: y = "large",
3829
3837
  ..._
3830
- }, N) => {
3831
- const S = Ur({
3838
+ }, S) => {
3839
+ const N = Ur({
3832
3840
  type: Nt,
3833
3841
  mode: r,
3834
3842
  focusMode: a,
@@ -3836,9 +3844,9 @@ const as = O.forwardRef(
3836
3844
  disabled: t,
3837
3845
  raw: c,
3838
3846
  className: o,
3839
- noBorder: m,
3840
- size: h,
3841
- labelRight: d,
3847
+ noBorder: g,
3848
+ size: m,
3849
+ labelRight: u,
3842
3850
  labelLeft: f,
3843
3851
  noBackground: p,
3844
3852
  align: b,
@@ -3868,16 +3876,16 @@ const as = O.forwardRef(
3868
3876
  return /* @__PURE__ */ i("div", { className: C, children: /* @__PURE__ */ x(
3869
3877
  Rt,
3870
3878
  {
3871
- ref: N,
3872
- className: S,
3879
+ ref: S,
3880
+ className: N,
3873
3881
  disabled: t,
3874
3882
  type: s,
3875
- "aria-label": u || g,
3883
+ "aria-label": d || h,
3876
3884
  ..._,
3877
3885
  children: [
3878
3886
  f && /* @__PURE__ */ i("span", { className: "pr-2", children: f }),
3879
3887
  /* @__PURE__ */ i("div", { className: k, children: e }),
3880
- d && /* @__PURE__ */ i("span", { className: "pl-2", children: d })
3888
+ u && /* @__PURE__ */ i("span", { className: "pl-2", children: u })
3881
3889
  ]
3882
3890
  }
3883
3891
  ) });
@@ -3919,8 +3927,8 @@ const ns = 200, os = ({
3919
3927
  focusMode: a,
3920
3928
  className: "ml-2",
3921
3929
  size: "small",
3922
- onClick: (m) => {
3923
- m.preventDefault(), o(!n);
3930
+ onClick: (g) => {
3931
+ g.preventDefault(), o(!n);
3924
3932
  },
3925
3933
  children: n ? "less..." : "more..."
3926
3934
  }
@@ -3928,13 +3936,13 @@ const ns = 200, os = ({
3928
3936
  ] });
3929
3937
  };
3930
3938
  /*!
3931
- @versini/ui-truncate v3.0.7
3939
+ @versini/ui-truncate v3.0.8
3932
3940
  © 2025 gizmette.com
3933
3941
  */
3934
3942
  try {
3935
3943
  window.__VERSINI_UI_TRUNCATE__ || (window.__VERSINI_UI_TRUNCATE__ = {
3936
- version: "3.0.7",
3937
- buildTime: "01/13/2025 05:57 AM EST",
3944
+ version: "3.0.8",
3945
+ buildTime: "01/13/2025 01:16 PM EST",
3938
3946
  homepage: "https://github.com/aversini/ui-components",
3939
3947
  license: "MIT"
3940
3948
  });
@@ -3943,14 +3951,14 @@ try {
3943
3951
  const ir = hr(
3944
3952
  () => import(
3945
3953
  /* webpackChunkName: "LazyMessageAssistant" */
3946
- "./MessageAssistant.Dc4io3BJ.js"
3954
+ "./MessageAssistant.DKGaNVFc.js"
3947
3955
  ).then((e) => e.MessageAssistant)
3948
3956
  ), is = () => {
3949
- const { state: e } = $(se);
3957
+ const { state: e } = B(X);
3950
3958
  return /* @__PURE__ */ x("div", { className: "space-y-6 mt-2 @container", children: [
3951
3959
  e && e.messages.length > 0 && e.messages.map((t, r) => {
3952
3960
  const { role: a, content: n, name: o, processingTime: s } = t.message;
3953
- return (a === ve || a === ft) && n ? /* @__PURE__ */ i(tt, { fallback: /* @__PURE__ */ i("span", {}), children: /* @__PURE__ */ i(ir, { name: o, processingTime: s, children: n }) }, `${r}-${a}`) : a === Qe && n ? /* @__PURE__ */ i(
3961
+ return (a === ve || a === pt) && n ? /* @__PURE__ */ i(tt, { fallback: /* @__PURE__ */ i("span", {}), children: /* @__PURE__ */ i(ir, { name: o, processingTime: s, children: n }) }, `${r}-${a}`) : a === Qe && n ? /* @__PURE__ */ i(
3954
3962
  jo,
3955
3963
  {
3956
3964
  kind: "right",
@@ -3964,36 +3972,36 @@ const ir = hr(
3964
3972
  na(Qe, e) && /* @__PURE__ */ i(tt, { fallback: /* @__PURE__ */ i("span", {}), children: /* @__PURE__ */ i(ir, { loading: !0 }) })
3965
3973
  ] });
3966
3974
  }, cs = () => {
3967
- const { isAuthenticated: e } = xe(), { state: t } = $(se), [r, a] = W(!1), [n, o] = qa(), s = oa({
3975
+ const { isAuthenticated: e } = xe(), { state: t } = B(X), [r, a] = W(!1), [n, o] = qa(), s = oa({
3968
3976
  isAuthenticated: e,
3969
3977
  extraClass: "rounded-b-md"
3970
- }), c = L(!1), m = Z(() => {
3971
- const g = n.current;
3972
- if (g) {
3973
- const { scrollHeight: h, clientHeight: d, scrollTop: f } = g, p = h - d - f;
3974
- g.scrollBy({
3978
+ }), c = A(!1), g = K(() => {
3979
+ const h = n.current;
3980
+ if (h) {
3981
+ const { scrollHeight: m, clientHeight: u, scrollTop: f } = h, p = m - u - f;
3982
+ h.scrollBy({
3975
3983
  top: p,
3976
3984
  behavior: "smooth"
3977
3985
  });
3978
3986
  }
3979
- }, [n]), u = Z(() => {
3980
- const g = n.current;
3981
- if (g) {
3982
- const { scrollTop: h, scrollHeight: d, clientHeight: f } = g, p = d > f, b = h + f >= d - 1;
3987
+ }, [n]), d = K(() => {
3988
+ const h = n.current;
3989
+ if (h) {
3990
+ const { scrollTop: m, scrollHeight: u, clientHeight: f } = h, p = u > f, b = m + f >= u - 1;
3983
3991
  a(p && !b);
3984
3992
  }
3985
3993
  }, [n]);
3986
3994
  return mr(() => {
3987
- o && o.width && t && !t.streaming && u();
3988
- }, [o, t, u]), A(() => {
3989
- const g = n.current;
3990
- if (g)
3991
- return g.addEventListener("scroll", u), () => g.removeEventListener("scroll", u);
3992
- }, [u, n]), A(() => {
3993
- t && t.streaming && u();
3994
- }, [t, u]), A(() => {
3995
- t && (!c.current && t.streaming && m(), c.current = !!t.streaming);
3996
- }, [t, m]), /* @__PURE__ */ x("div", { className: s, ref: n, children: [
3995
+ o && o.width && t && !t.streaming && d();
3996
+ }, [o, t, d]), O(() => {
3997
+ const h = n.current;
3998
+ if (h)
3999
+ return h.addEventListener("scroll", d), () => h.removeEventListener("scroll", d);
4000
+ }, [d, n]), O(() => {
4001
+ t && t.streaming && d();
4002
+ }, [t, d]), O(() => {
4003
+ t && (!c.current && t.streaming && g(), c.current = !!t.streaming);
4004
+ }, [t, g]), /* @__PURE__ */ x("div", { className: s, ref: n, children: [
3997
4005
  r && /* @__PURE__ */ i(
3998
4006
  "div",
3999
4007
  {
@@ -4004,6 +4012,7 @@ const ir = hr(
4004
4012
  children: /* @__PURE__ */ i(
4005
4013
  Ee,
4006
4014
  {
4015
+ label: "Scroll to bottom",
4007
4016
  className: l(
4008
4017
  "dark:bg-slate-50 dark:hover:bg-slate-300 dark:active:bg-slate-400",
4009
4018
  "bg-slate-500 hover:bg-slate-600 active:bg-slate-700"
@@ -4011,7 +4020,7 @@ const ir = hr(
4011
4020
  noBorder: !0,
4012
4021
  size: "medium",
4013
4022
  mode: "dark",
4014
- onClick: m,
4023
+ onClick: g,
4015
4024
  children: /* @__PURE__ */ i(
4016
4025
  Ba,
4017
4026
  {
@@ -4030,7 +4039,7 @@ const ir = hr(
4030
4039
  }, ls = hr(
4031
4040
  () => import(
4032
4041
  /* webpackChunkName: "LazyHeader" */
4033
- "./HeaderToolbar.BL6VBjoM.js"
4042
+ "./HeaderToolbar.BoRwNEMw.js"
4034
4043
  )
4035
4044
  );
4036
4045
  function Hr({ isComponent: e = !1 }) {
@@ -4041,19 +4050,20 @@ function Hr({ isComponent: e = !1 }) {
4041
4050
  key: Ut + la,
4042
4051
  initialValue: be.ASC
4043
4052
  }), [o, s] = He(En, {
4044
- id: kt(),
4053
+ id: _t(),
4045
4054
  model: ke,
4046
4055
  engine: ke,
4047
4056
  usage: 0,
4048
4057
  messages: [],
4049
4058
  prompts: [],
4050
4059
  isComponent: e
4051
- }), [c, m] = He(xn, {
4060
+ }), [c, g] = He(xn, {
4052
4061
  searchString: a,
4053
4062
  sortedCell: "timestamp",
4054
4063
  sortDirection: n
4055
- }), [u, g] = He(Sn, {
4056
- prompt: ""
4064
+ }), [d, h] = He(Sn, {
4065
+ prompt: "",
4066
+ lastTriggeredTimestamp: 0
4057
4067
  });
4058
4068
  return co({
4059
4069
  keys: [
@@ -4062,23 +4072,23 @@ function Hr({ isComponent: e = !1 }) {
4062
4072
  c.sortDirection
4063
4073
  ],
4064
4074
  getAccessToken: r
4065
- }), lo({ getAccessToken: r }), so({ keys: [t == null ? void 0 : t.username], getAccessToken: r }), A(() => {
4066
- var d;
4067
- (d = document.getElementById("logo")) == null || d.classList.add("fadeOut"), setTimeout(() => {
4075
+ }), lo({ getAccessToken: r }), so({ keys: [t == null ? void 0 : t.username], getAccessToken: r }), O(() => {
4076
+ var u;
4077
+ (u = document.getElementById("logo")) == null || u.classList.add("fadeOut"), setTimeout(() => {
4068
4078
  var f;
4069
4079
  (f = document.getElementById("root")) == null || f.classList.replace("app-hidden", "fadeIn");
4070
4080
  }, 500);
4071
- }), /* @__PURE__ */ i(se.Provider, { value: { state: o, dispatch: s }, children: /* @__PURE__ */ i(
4081
+ }), /* @__PURE__ */ i(X.Provider, { value: { state: o, dispatch: s }, children: /* @__PURE__ */ i(
4072
4082
  go.Provider,
4073
4083
  {
4074
4084
  value: {
4075
4085
  state: c,
4076
- dispatch: m
4086
+ dispatch: g
4077
4087
  },
4078
4088
  children: /* @__PURE__ */ x(
4079
- St.Provider,
4089
+ De.Provider,
4080
4090
  {
4081
- value: { state: u, dispatch: g },
4091
+ value: { state: d, dispatch: h },
4082
4092
  children: [
4083
4093
  /* @__PURE__ */ i(
4084
4094
  $a,
@@ -4087,7 +4097,7 @@ function Hr({ isComponent: e = !1 }) {
4087
4097
  noMargin: !0,
4088
4098
  noPadding: !0,
4089
4099
  noBorder: !0,
4090
- className: Pt({
4100
+ className: Vt({
4091
4101
  extraClass: "mt-5"
4092
4102
  }),
4093
4103
  children: /* @__PURE__ */ i(tt, { fallback: /* @__PURE__ */ i("div", {}), children: /* @__PURE__ */ i(ls, {}) })
@@ -4096,7 +4106,7 @@ function Hr({ isComponent: e = !1 }) {
4096
4106
  /* @__PURE__ */ i(
4097
4107
  ia,
4098
4108
  {
4099
- className: Pt({
4109
+ className: Vt({
4100
4110
  extraClass: "max-h-[calc(100svh_-_250px)]"
4101
4111
  }),
4102
4112
  noMargin: !0,
@@ -4115,11 +4125,11 @@ Hr.displayName = "App";
4115
4125
  const ws = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, default: Hr }, Symbol.toStringTag, { value: "Module" }));
4116
4126
  export {
4117
4127
  ws as App,
4118
- se as AppContext,
4128
+ X as AppContext,
4119
4129
  jt as E,
4120
4130
  go as HistoryContext,
4121
4131
  Ss as P,
4122
- Ae as R,
4132
+ Oe as R,
4123
4133
  Se as SERVICE_TYPES,
4124
4134
  bs as be,
4125
4135
  be as f,
@@ -4137,6 +4147,6 @@ export {
4137
4147
  Es as useChatsHistory,
4138
4148
  xs as useServerCapabilities,
4139
4149
  _s as useUserChatStats,
4140
- Ar as useUserPreferences,
4150
+ Or as useUserPreferences,
4141
4151
  ks as ye
4142
4152
  };