@versini/sassysaint 5.3.10 → 5.3.12

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,10 +1,10 @@
1
1
  import { jsx as r, jsxs as v, Fragment as A } from "react/jsx-runtime";
2
- import { g as O, E as P, CARDS as N, renderDataAsList as se, pluralize as be, AppContext as ue, ABOUT_TITLE as Rt, DEFAULT_AI_ENGINE as ae, numberFormatter as At, durationFormatter as qe, NA as Mt, ROLE_ASSISTANT as Lt, extractAverage as $t, GPT4_MAX_TOKENS as Bt, rn as X, STATS as Xe, b as ie, j as B, R as G, HistoryContext as Ze, LOCAL_STORAGE_PREFIX as me, LOCAL_STORAGE_SORT as Pt, O as Y, ACTION_RESET as Je, ACTION_RESTORE as zt, truncate as Ot, ACTION_SORT as we, LOCAL_STORAGE_SEARCH as Vt, me as xe, ACTION_SEARCH as Dt, HISTORY_TITLE as Ft, LOCAL_STORAGE_ENGINE_TOGGLE as Qe, ENGINE_OPENAI as Te, ENGINE_ANTHROPIC as fe, ACTION_ENGINE as et, getCurrentGeoLocation as Ht, TagsContext as Gt, TAGS_DESCRIPTION as Ut, ACTION_SET_TAGS as jt, LOCAL_STORAGE_CHAT_DETAILS as Kt, G as Wt, v as Oe, PROFILE_TITLE as Yt, LOG_OUT as Ve } from "./index.BduqxN2L.js";
3
- import { serviceCall as F, SERVICE_TYPES as H, E as he, f as D, ge as qt, he as Xt, ue as Ne, de as $, pe as Zt, me as Jt, be as Qt, we as De, n as Fe } from "./index.B5_RXEo-.js";
2
+ import { g as O, E as B, CARDS as N, renderDataAsList as se, pluralize as be, AppContext as ue, ABOUT_TITLE as Rt, DEFAULT_AI_ENGINE as ae, numberFormatter as At, durationFormatter as qe, NA as Mt, ROLE_ASSISTANT as Lt, extractAverage as $t, GPT4_MAX_TOKENS as Pt, rn as X, STATS as Xe, b as ie, j as P, R as G, HistoryContext as Ze, LOCAL_STORAGE_PREFIX as me, LOCAL_STORAGE_SORT as Bt, O as Y, ACTION_RESET as Je, ACTION_RESTORE as zt, truncate as Ot, ACTION_SORT as we, LOCAL_STORAGE_SEARCH as Vt, me as xe, ACTION_SEARCH as Dt, HISTORY_TITLE as Ft, LOCAL_STORAGE_ENGINE_TOGGLE as Qe, ENGINE_OPENAI as Te, ENGINE_ANTHROPIC as fe, APP_NAME as Ht, ACTION_ENGINE as et, getCurrentGeoLocation as Gt, TagsContext as Ut, TAGS_DESCRIPTION as jt, ACTION_SET_TAGS as Kt, LOCAL_STORAGE_CHAT_DETAILS as Wt, G as Yt, v as Oe, PROFILE_TITLE as qt, LOG_OUT as Ve } from "./index.BuI_vLZB.js";
3
+ import { serviceCall as F, SERVICE_TYPES as H, E as he, f as D, ge as Xt, he as Zt, ue as Ne, de as $, pe as Jt, me as Qt, be as eo, we as De, n as Fe } from "./index.CXA5Oh8b.js";
4
4
  import * as f from "react";
5
- import x, { useId as eo, forwardRef as tt, useState as S, useRef as le, useContext as z, useEffect as U, Suspense as to, lazy as oo, useMemo as ro } from "react";
5
+ import x, { useId as to, forwardRef as tt, useState as S, useRef as le, useContext as z, useEffect as U, Suspense as oo, lazy as ro, useMemo as ao } from "react";
6
6
  import w from "clsx";
7
- import { useFloatingTree as ot, useFloatingNodeId as ao, useListItem as rt, useFloating as no, offset as so, flip as io, shift as lo, autoUpdate as co, useClick as uo, useRole as mo, useDismiss as ho, useListNavigation as go, useTypeahead as po, useInteractions as fo, useMergeRefs as at, FloatingNode as bo, FloatingList as vo, FloatingPortal as yo, FloatingFocusManager as ko, FloatingTree as Co } from "@floating-ui/react";
7
+ import { useFloatingTree as ot, useFloatingNodeId as no, useListItem as rt, useFloating as so, offset as io, flip as lo, shift as co, autoUpdate as uo, useClick as mo, useRole as ho, useDismiss as go, useListNavigation as po, useTypeahead as fo, useInteractions as bo, useMergeRefs as at, FloatingNode as vo, FloatingList as yo, FloatingPortal as ko, FloatingFocusManager as Co, FloatingTree as wo } from "@floating-ui/react";
8
8
  const nt = ({
9
9
  className: e,
10
10
  viewBox: t,
@@ -24,7 +24,7 @@ const nt = ({
24
24
  ...s,
25
25
  children: /* @__PURE__ */ r("path", { d: "m147.487 0l70.081 175.78H256L185.919 0zM66.183 106.221l23.98-61.774l23.98 61.774zM70.07 0L0 175.78h39.18l14.33-36.914h73.308l14.328 36.914h39.179L110.255 0z" })
26
26
  }
27
- ), wo = ({
27
+ ), To = ({
28
28
  className: e,
29
29
  viewBox: t,
30
30
  spacing: o,
@@ -52,7 +52,7 @@ const nt = ({
52
52
  /* @__PURE__ */ r("path", { d: "M32 0H192c17.7 0 32 14.3 32 32s-14.3 32-32 32H109.3L342.6 297.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L64 109.3V192c0 17.7-14.3 32-32 32s-32-14.3-32-32V32C0 14.3 14.3 0 32 0z" })
53
53
  ]
54
54
  }
55
- ), To = ({
55
+ ), No = ({
56
56
  className: e,
57
57
  viewBox: t,
58
58
  spacing: o,
@@ -80,7 +80,7 @@ const nt = ({
80
80
  /* @__PURE__ */ r("path", { d: "M368 96c-26.5 0-48 21.5-48 48V432c0 26.5 21.5 48 48 48h32c26.5 0 48-21.5 48-48V144c0-26.5-21.5-48-48-48H368zM48 224c-26.5 0-48 21.5-48 48V432c0 26.5 21.5 48 48 48H80c26.5 0 48-21.5 48-48V272c0-26.5-21.5-48-48-48H48z" })
81
81
  ]
82
82
  }
83
- ), No = ({
83
+ ), Eo = ({
84
84
  className: e,
85
85
  viewBox: t,
86
86
  spacing: o,
@@ -108,7 +108,7 @@ const nt = ({
108
108
  /* @__PURE__ */ r("path", { d: "M163.8 0c-12.1 0-23.2 6.8-28.6 17.7L128 32H32C14.3 32 0 46.3 0 64S14.3 96 32 96H416c17.7 0 32-14.3 32-32s-14.3-32-32-32H320l-7.2-14.3C307.4 6.8 296.3 0 284.2 0H163.8z" })
109
109
  ]
110
110
  }
111
- ), Eo = ({
111
+ ), xo = ({
112
112
  className: e,
113
113
  viewBox: t,
114
114
  spacing: o,
@@ -136,7 +136,7 @@ const nt = ({
136
136
  /* @__PURE__ */ r("path", { d: "M256 128c13.3 0 24 10.7 24 24v94.1l65 65c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-72-72c-4.5-4.5-7-10.6-7-17V152c0-13.3 10.7-24 24-24z" })
137
137
  ]
138
138
  }
139
- ), xo = ({
139
+ ), Io = ({
140
140
  className: e,
141
141
  viewBox: t,
142
142
  spacing: o,
@@ -189,7 +189,7 @@ const nt = ({
189
189
  }
190
190
  )
191
191
  }
192
- ), Io = ({
192
+ ), So = ({
193
193
  className: e,
194
194
  viewBox: t,
195
195
  spacing: o,
@@ -217,7 +217,7 @@ const nt = ({
217
217
  /* @__PURE__ */ r("path", { d: "M176 256a64 64 0 1 0 0-128 64 64 0 1 0 0 128zm-32 32c-44.2 0-80 35.8-80 80c0 8.8 7.2 16 16 16H272c8.8 0 16-7.2 16-16c0-44.2-35.8-80-80-80H144z" })
218
218
  ]
219
219
  }
220
- ), So = ({
220
+ ), _o = ({
221
221
  className: e,
222
222
  viewBox: t,
223
223
  spacing: o,
@@ -245,7 +245,7 @@ const nt = ({
245
245
  /* @__PURE__ */ r("path", { d: "M64 128c-35.3 0-64 28.7-64 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V192c0-35.3-28.7-64-64-64H64zm32 64H288c17.7 0 32 14.3 32 32s-14.3 32-32 32H96c-17.7 0-32-14.3-32-32s14.3-32 32-32z" })
246
246
  ]
247
247
  }
248
- ), _o = ({
248
+ ), Ro = ({
249
249
  className: e,
250
250
  viewBox: t,
251
251
  spacing: o,
@@ -266,7 +266,7 @@ const nt = ({
266
266
  }
267
267
  );
268
268
  function ce(e) {
269
- return eo();
269
+ return to();
270
270
  }
271
271
  const Ie = f.createContext({
272
272
  getItemProps: () => ({}),
@@ -300,7 +300,7 @@ const Ie = f.createContext({
300
300
  focusMode: c = "system",
301
301
  ...h
302
302
  }, m) => {
303
- const [l, g] = S(!1), [b, u] = S(!1), [d, y] = S(null), C = le([]), p = le([]), k = z(Ie), T = ot(), I = ao(), M = rt(), { floatingStyles: _, refs: V, context: E } = no({
303
+ const [l, g] = S(!1), [b, u] = S(!1), [d, y] = S(null), C = le([]), p = le([]), k = z(Ie), T = ot(), I = no(), M = rt(), { floatingStyles: _, refs: V, context: E } = so({
304
304
  nodeId: I,
305
305
  open: l,
306
306
  onOpenChange: (oe) => {
@@ -308,23 +308,23 @@ const Ie = f.createContext({
308
308
  },
309
309
  placement: a,
310
310
  strategy: "fixed",
311
- middleware: [so({ mainAxis: 10 }), io(), lo()],
312
- whileElementsMounted: co
313
- }), ee = uo(E, {
311
+ middleware: [io({ mainAxis: 10 }), lo(), co()],
312
+ whileElementsMounted: uo
313
+ }), ee = mo(E, {
314
314
  event: "mousedown",
315
315
  toggle: !0,
316
316
  ignoreMouse: !1
317
- }), J = mo(E, { role: "menu" }), j = ho(E, { bubbles: !0 }), te = go(E, {
317
+ }), J = ho(E, { role: "menu" }), j = go(E, { bubbles: !0 }), te = po(E, {
318
318
  listRef: C,
319
319
  activeIndex: d,
320
320
  nested: !1,
321
321
  onNavigate: y,
322
322
  loop: !0
323
- }), L = po(E, {
323
+ }), L = fo(E, {
324
324
  listRef: p,
325
325
  onMatch: l ? y : void 0,
326
326
  activeIndex: d
327
- }), { getReferenceProps: K, getFloatingProps: R, getItemProps: It } = fo([ee, J, j, te, L]), ze = He(e) === "Button" || He(e) === "ButtonIcon", St = ze ? {
327
+ }), { getReferenceProps: K, getFloatingProps: R, getItemProps: It } = bo([ee, J, j, te, L]), ze = He(e) === "Button" || He(e) === "ButtonIcon", St = ze ? {
328
328
  noInternalClick: ze,
329
329
  focusMode: c,
330
330
  mode: i,
@@ -352,7 +352,7 @@ const Ie = f.createContext({
352
352
  };
353
353
  }, [T, n]), U(() => {
354
354
  l && T && T.events.emit("menuopen", { nodeId: I });
355
- }, [T, l, I]), /* @__PURE__ */ v(bo, { id: I, children: [
355
+ }, [T, l, I]), /* @__PURE__ */ v(vo, { id: I, children: [
356
356
  _t,
357
357
  /* @__PURE__ */ r(
358
358
  Ie.Provider,
@@ -364,8 +364,8 @@ const Ie = f.createContext({
364
364
  setHasFocusInside: u,
365
365
  isOpen: l
366
366
  },
367
- children: /* @__PURE__ */ r(vo, { elementsRef: C, labelsRef: p, children: l && /* @__PURE__ */ r(yo, { children: /* @__PURE__ */ r(
368
- ko,
367
+ children: /* @__PURE__ */ r(yo, { elementsRef: C, labelsRef: p, children: l && /* @__PURE__ */ r(ko, { children: /* @__PURE__ */ r(
368
+ Co,
369
369
  {
370
370
  context: E,
371
371
  modal: !1,
@@ -387,7 +387,7 @@ const Ie = f.createContext({
387
387
  )
388
388
  ] });
389
389
  }
390
- ), Se = tt((e, t) => /* @__PURE__ */ r(Co, { children: /* @__PURE__ */ r(it, { ...e, ref: t }) }));
390
+ ), Se = tt((e, t) => /* @__PURE__ */ r(wo, { children: /* @__PURE__ */ r(it, { ...e, ref: t }) }));
391
391
  Se.displayName = "Menu";
392
392
  it.displayName = "MenuComponent";
393
393
  const W = f.forwardRef(
@@ -441,7 +441,7 @@ const W = f.forwardRef(
441
441
  }
442
442
  );
443
443
  W.displayName = "MenuItem";
444
- const Ro = ({ className: e, ...t }) => {
444
+ const Ao = ({ className: e, ...t }) => {
445
445
  const o = w(e, "my-1 border-t border-border-medium");
446
446
  return /* @__PURE__ */ r("div", { className: o, ...t });
447
447
  };
@@ -471,7 +471,7 @@ try {
471
471
  });
472
472
  } catch {
473
473
  }
474
- const Ao = "av-togglegroup", Mo = "av-togglegroup-item-wrapper", Lo = "av-togglegroup-item";
474
+ const Mo = "av-togglegroup", Lo = "av-togglegroup-item-wrapper", $o = "av-togglegroup-item";
475
475
  function Me(e, t = []) {
476
476
  let o = [];
477
477
  function a(s, i) {
@@ -499,9 +499,9 @@ function Me(e, t = []) {
499
499
  );
500
500
  };
501
501
  };
502
- return n.scopeName = e, [a, $o(n, ...t)];
502
+ return n.scopeName = e, [a, Po(n, ...t)];
503
503
  }
504
- function $o(...e) {
504
+ function Po(...e) {
505
505
  const t = e[0];
506
506
  if (e.length === 1) return t;
507
507
  const o = () => {
@@ -529,7 +529,7 @@ function _e(...e) {
529
529
  return f.useCallback(lt(...e), e);
530
530
  }
531
531
  var ve = f.forwardRef((e, t) => {
532
- const { children: o, ...a } = e, n = f.Children.toArray(o), s = n.find(zo);
532
+ const { children: o, ...a } = e, n = f.Children.toArray(o), s = n.find(Oo);
533
533
  if (s) {
534
534
  const i = s.props.children, c = n.map((h) => h === s ? f.Children.count(i) > 1 ? f.Children.only(null) : f.isValidElement(i) ? i.props.children : null : h);
535
535
  return /* @__PURE__ */ r(Re, { ...a, ref: t, children: f.isValidElement(i) ? f.cloneElement(i, void 0, c) : null });
@@ -540,9 +540,9 @@ ve.displayName = "Slot";
540
540
  var Re = f.forwardRef((e, t) => {
541
541
  const { children: o, ...a } = e;
542
542
  if (f.isValidElement(o)) {
543
- const n = Vo(o);
543
+ const n = Do(o);
544
544
  return f.cloneElement(o, {
545
- ...Oo(a, o.props),
545
+ ...Vo(a, o.props),
546
546
  // @ts-ignore
547
547
  ref: t ? lt(t, n) : n
548
548
  });
@@ -550,11 +550,11 @@ var Re = f.forwardRef((e, t) => {
550
550
  return f.Children.count(o) > 1 ? f.Children.only(null) : null;
551
551
  });
552
552
  Re.displayName = "SlotClone";
553
- var Po = ({ children: e }) => /* @__PURE__ */ r(A, { children: e });
554
- function zo(e) {
555
- return f.isValidElement(e) && e.type === Po;
553
+ var zo = ({ children: e }) => /* @__PURE__ */ r(A, { children: e });
554
+ function Oo(e) {
555
+ return f.isValidElement(e) && e.type === zo;
556
556
  }
557
- function Oo(e, t) {
557
+ function Vo(e, t) {
558
558
  const o = { ...t };
559
559
  for (const a in t) {
560
560
  const n = e[a], s = t[a];
@@ -564,12 +564,12 @@ function Oo(e, t) {
564
564
  }
565
565
  return { ...e, ...o };
566
566
  }
567
- function Vo(e) {
567
+ function Do(e) {
568
568
  var t, o;
569
569
  let a = (t = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : t.get, n = a && "isReactWarning" in a && a.isReactWarning;
570
570
  return n ? e.ref : (a = (o = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : o.get, n = a && "isReactWarning" in a && a.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
571
571
  }
572
- var Do = [
572
+ var Fo = [
573
573
  "a",
574
574
  "button",
575
575
  "div",
@@ -586,7 +586,7 @@ var Do = [
586
586
  "span",
587
587
  "svg",
588
588
  "ul"
589
- ], de = Do.reduce((e, t) => {
589
+ ], de = Fo.reduce((e, t) => {
590
590
  const o = f.forwardRef((a, n) => {
591
591
  const { asChild: s, ...i } = a, c = s ? ve : t;
592
592
  return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ r(c, { ...i, ref: n });
@@ -599,7 +599,7 @@ function q(e, t, { checkForDefaultPrevented: o = !0 } = {}) {
599
599
  return t == null ? void 0 : t(a);
600
600
  };
601
601
  }
602
- function Fo(e) {
602
+ function Ho(e) {
603
603
  const t = e + "CollectionProvider", [o, a] = Me(t), [n, s] = o(
604
604
  t,
605
605
  { collectionRef: { current: null }, itemMap: /* @__PURE__ */ new Map() }
@@ -639,13 +639,13 @@ function Fo(e) {
639
639
  a
640
640
  ];
641
641
  }
642
- var Ho = globalThis != null && globalThis.document ? f.useLayoutEffect : () => {
643
- }, Go = f.useId || (() => {
644
- }), Uo = 0;
645
- function jo(e) {
646
- const [t, o] = f.useState(Go());
647
- return Ho(() => {
648
- o((a) => a ?? String(Uo++));
642
+ var Go = globalThis != null && globalThis.document ? f.useLayoutEffect : () => {
643
+ }, Uo = f.useId || (() => {
644
+ }), jo = 0;
645
+ function Ko(e) {
646
+ const [t, o] = f.useState(Uo());
647
+ return Go(() => {
648
+ o((a) => a ?? String(jo++));
649
649
  }, [e]), t ? `radix-${t}` : "";
650
650
  }
651
651
  function Le(e) {
@@ -663,7 +663,7 @@ function ke({
663
663
  onChange: o = () => {
664
664
  }
665
665
  }) {
666
- const [a, n] = Ko({ defaultProp: t, onChange: o }), s = e !== void 0, i = s ? e : a, c = Le(o), h = f.useCallback(
666
+ const [a, n] = Wo({ defaultProp: t, onChange: o }), s = e !== void 0, i = s ? e : a, c = Le(o), h = f.useCallback(
667
667
  (m) => {
668
668
  if (s) {
669
669
  const l = typeof m == "function" ? m(e) : m;
@@ -675,7 +675,7 @@ function ke({
675
675
  );
676
676
  return [i, h];
677
677
  }
678
- function Ko({
678
+ function Wo({
679
679
  defaultProp: e,
680
680
  onChange: t
681
681
  }) {
@@ -684,19 +684,19 @@ function Ko({
684
684
  n.current !== a && (s(a), n.current = a);
685
685
  }, [a, n, s]), o;
686
686
  }
687
- var Wo = f.createContext(void 0);
687
+ var Yo = f.createContext(void 0);
688
688
  function ct(e) {
689
- const t = f.useContext(Wo);
689
+ const t = f.useContext(Yo);
690
690
  return e || t || "ltr";
691
691
  }
692
- var Ee = "rovingFocusGroup.onEntryFocus", Yo = { bubbles: !1, cancelable: !0 }, Ce = "RovingFocusGroup", [Ae, dt, qo] = Fo(Ce), [Xo, ut] = Me(
692
+ var Ee = "rovingFocusGroup.onEntryFocus", qo = { bubbles: !1, cancelable: !0 }, Ce = "RovingFocusGroup", [Ae, dt, Xo] = Ho(Ce), [Zo, ut] = Me(
693
693
  Ce,
694
- [qo]
695
- ), [Zo, Jo] = Xo(Ce), mt = f.forwardRef(
696
- (e, t) => /* @__PURE__ */ r(Ae.Provider, { scope: e.__scopeRovingFocusGroup, children: /* @__PURE__ */ r(Ae.Slot, { scope: e.__scopeRovingFocusGroup, children: /* @__PURE__ */ r(Qo, { ...e, ref: t }) }) })
694
+ [Xo]
695
+ ), [Jo, Qo] = Zo(Ce), mt = f.forwardRef(
696
+ (e, t) => /* @__PURE__ */ r(Ae.Provider, { scope: e.__scopeRovingFocusGroup, children: /* @__PURE__ */ r(Ae.Slot, { scope: e.__scopeRovingFocusGroup, children: /* @__PURE__ */ r(er, { ...e, ref: t }) }) })
697
697
  );
698
698
  mt.displayName = Ce;
699
- var Qo = f.forwardRef((e, t) => {
699
+ var er = f.forwardRef((e, t) => {
700
700
  const {
701
701
  __scopeRovingFocusGroup: o,
702
702
  orientation: a,
@@ -718,7 +718,7 @@ var Qo = f.forwardRef((e, t) => {
718
718
  if (E)
719
719
  return E.addEventListener(Ee, T), () => E.removeEventListener(Ee, T);
720
720
  }, [T]), /* @__PURE__ */ r(
721
- Zo,
721
+ Jo,
722
722
  {
723
723
  scope: o,
724
724
  orientation: a,
@@ -752,7 +752,7 @@ var Qo = f.forwardRef((e, t) => {
752
752
  onFocus: q(e.onFocus, (E) => {
753
753
  const ee = !M.current;
754
754
  if (E.target === E.currentTarget && ee && !p) {
755
- const J = new CustomEvent(Ee, Yo);
755
+ const J = new CustomEvent(Ee, qo);
756
756
  if (E.currentTarget.dispatchEvent(J), !J.defaultPrevented) {
757
757
  const j = I().filter((R) => R.focusable), te = j.find((R) => R.active), L = j.find((R) => R.id === y), K = [te, L, ...j].filter(
758
758
  Boolean
@@ -775,7 +775,7 @@ var Qo = f.forwardRef((e, t) => {
775
775
  active: n = !1,
776
776
  tabStopId: s,
777
777
  ...i
778
- } = e, c = jo(), h = s || c, m = Jo(ht, o), l = m.currentTabStopId === h, g = dt(o), { onFocusableItemAdd: b, onFocusableItemRemove: u } = m;
778
+ } = e, c = Ko(), h = s || c, m = Qo(ht, o), l = m.currentTabStopId === h, g = dt(o), { onFocusableItemAdd: b, onFocusableItemRemove: u } = m;
779
779
  return f.useEffect(() => {
780
780
  if (a)
781
781
  return b(), () => u();
@@ -803,7 +803,7 @@ var Qo = f.forwardRef((e, t) => {
803
803
  return;
804
804
  }
805
805
  if (d.target !== d.currentTarget) return;
806
- const y = or(d, m.orientation, m.dir);
806
+ const y = rr(d, m.orientation, m.dir);
807
807
  if (y !== void 0) {
808
808
  if (d.metaKey || d.ctrlKey || d.altKey || d.shiftKey) return;
809
809
  d.preventDefault();
@@ -812,7 +812,7 @@ var Qo = f.forwardRef((e, t) => {
812
812
  else if (y === "prev" || y === "next") {
813
813
  y === "prev" && C.reverse();
814
814
  const p = C.indexOf(d.currentTarget);
815
- C = m.loop ? rr(C, p + 1) : C.slice(p + 1);
815
+ C = m.loop ? ar(C, p + 1) : C.slice(p + 1);
816
816
  }
817
817
  setTimeout(() => pt(C));
818
818
  }
@@ -824,7 +824,7 @@ var Qo = f.forwardRef((e, t) => {
824
824
  }
825
825
  );
826
826
  gt.displayName = ht;
827
- var er = {
827
+ var tr = {
828
828
  ArrowLeft: "prev",
829
829
  ArrowUp: "prev",
830
830
  ArrowRight: "next",
@@ -834,23 +834,23 @@ var er = {
834
834
  PageDown: "last",
835
835
  End: "last"
836
836
  };
837
- function tr(e, t) {
837
+ function or(e, t) {
838
838
  return t !== "rtl" ? e : e === "ArrowLeft" ? "ArrowRight" : e === "ArrowRight" ? "ArrowLeft" : e;
839
839
  }
840
- function or(e, t, o) {
841
- const a = tr(e.key, o);
840
+ function rr(e, t, o) {
841
+ const a = or(e.key, o);
842
842
  if (!(t === "vertical" && ["ArrowLeft", "ArrowRight"].includes(a)) && !(t === "horizontal" && ["ArrowUp", "ArrowDown"].includes(a)))
843
- return er[a];
843
+ return tr[a];
844
844
  }
845
845
  function pt(e, t = !1) {
846
846
  const o = document.activeElement;
847
847
  for (const a of e)
848
848
  if (a === o || (a.focus({ preventScroll: t }), document.activeElement !== o)) return;
849
849
  }
850
- function rr(e, t) {
850
+ function ar(e, t) {
851
851
  return e.map((o, a) => e[(t + a) % e.length]);
852
852
  }
853
- var ar = mt, nr = gt, sr = "Toggle", ft = f.forwardRef((e, t) => {
853
+ var nr = mt, sr = gt, ir = "Toggle", ft = f.forwardRef((e, t) => {
854
854
  const { pressed: o, defaultPressed: a = !1, onPressedChange: n, ...s } = e, [i = !1, c] = ke({
855
855
  prop: o,
856
856
  onChange: n,
@@ -871,19 +871,19 @@ var ar = mt, nr = gt, sr = "Toggle", ft = f.forwardRef((e, t) => {
871
871
  }
872
872
  );
873
873
  });
874
- ft.displayName = sr;
875
- var Q = "ToggleGroup", [bt, Ca] = Me(Q, [
874
+ ft.displayName = ir;
875
+ var Q = "ToggleGroup", [bt, wa] = Me(Q, [
876
876
  ut
877
877
  ]), vt = ut(), $e = x.forwardRef((e, t) => {
878
878
  const { type: o, ...a } = e;
879
879
  if (o === "single")
880
- return /* @__PURE__ */ r(ir, { ...a, ref: t });
881
- if (o === "multiple")
882
880
  return /* @__PURE__ */ r(lr, { ...a, ref: t });
881
+ if (o === "multiple")
882
+ return /* @__PURE__ */ r(cr, { ...a, ref: t });
883
883
  throw new Error(`Missing prop \`type\` expected on \`${Q}\``);
884
884
  });
885
885
  $e.displayName = Q;
886
- var [yt, kt] = bt(Q), ir = x.forwardRef((e, t) => {
886
+ var [yt, kt] = bt(Q), lr = x.forwardRef((e, t) => {
887
887
  const {
888
888
  value: o,
889
889
  defaultValue: a,
@@ -906,7 +906,7 @@ var [yt, kt] = bt(Q), ir = x.forwardRef((e, t) => {
906
906
  children: /* @__PURE__ */ r(Ct, { ...s, ref: t })
907
907
  }
908
908
  );
909
- }), lr = x.forwardRef((e, t) => {
909
+ }), cr = x.forwardRef((e, t) => {
910
910
  const {
911
911
  value: o,
912
912
  defaultValue: a,
@@ -937,7 +937,7 @@ var [yt, kt] = bt(Q), ir = x.forwardRef((e, t) => {
937
937
  );
938
938
  });
939
939
  $e.displayName = Q;
940
- var [cr, dr] = bt(Q), Ct = x.forwardRef(
940
+ var [dr, ur] = bt(Q), Ct = x.forwardRef(
941
941
  (e, t) => {
942
942
  const {
943
943
  __scopeToggleGroup: o,
@@ -948,8 +948,8 @@ var [cr, dr] = bt(Q), Ct = x.forwardRef(
948
948
  loop: c = !0,
949
949
  ...h
950
950
  } = e, m = vt(o), l = ct(i), g = { role: "group", dir: l, ...h };
951
- return /* @__PURE__ */ r(cr, { scope: o, rovingFocus: n, disabled: a, children: n ? /* @__PURE__ */ r(
952
- ar,
951
+ return /* @__PURE__ */ r(dr, { scope: o, rovingFocus: n, disabled: a, children: n ? /* @__PURE__ */ r(
952
+ nr,
953
953
  {
954
954
  asChild: !0,
955
955
  ...m,
@@ -962,9 +962,9 @@ var [cr, dr] = bt(Q), Ct = x.forwardRef(
962
962
  }
963
963
  ), ye = "ToggleGroupItem", wt = x.forwardRef(
964
964
  (e, t) => {
965
- const o = kt(ye, e.__scopeToggleGroup), a = dr(ye, e.__scopeToggleGroup), n = vt(e.__scopeToggleGroup), s = o.value.includes(e.value), i = a.disabled || e.disabled, c = { ...e, pressed: s, disabled: i }, h = x.useRef(null);
965
+ const o = kt(ye, e.__scopeToggleGroup), a = ur(ye, e.__scopeToggleGroup), n = vt(e.__scopeToggleGroup), s = o.value.includes(e.value), i = a.disabled || e.disabled, c = { ...e, pressed: s, disabled: i }, h = x.useRef(null);
966
966
  return a.rovingFocus ? /* @__PURE__ */ r(
967
- nr,
967
+ sr,
968
968
  {
969
969
  asChild: !0,
970
970
  ...n,
@@ -992,12 +992,12 @@ var Ge = x.forwardRef(
992
992
  }
993
993
  );
994
994
  }
995
- ), ur = $e, mr = wt;
995
+ ), mr = $e, hr = wt;
996
996
  const Tt = x.createContext({
997
997
  size: "medium",
998
998
  focusMode: "system",
999
999
  mode: "system"
1000
- }), hr = (e) => {
1000
+ }), gr = (e) => {
1001
1001
  let t = "";
1002
1002
  if (typeof e == "number" || typeof e == "string")
1003
1003
  t = "m-" + e;
@@ -1006,22 +1006,22 @@ const Tt = x.createContext({
1006
1006
  (e == null ? void 0 : e.t) !== void 0 && o.push(`mt-${e.t}`), (e == null ? void 0 : e.r) !== void 0 && o.push(`mr-${e.r}`), (e == null ? void 0 : e.b) !== void 0 && o.push(`mb-${e.b}`), (e == null ? void 0 : e.l) !== void 0 && o.push(`ml-${e.l}`), t = o.join(" ");
1007
1007
  }
1008
1008
  return t;
1009
- }, gr = ({ focusMode: e }) => w("focus:outline", "focus:outline-2", "focus:outline-offset", {
1009
+ }, pr = ({ focusMode: e }) => w("focus:outline", "focus:outline-2", "focus:outline-offset", {
1010
1010
  "focus:outline-focus-light": e === "light",
1011
1011
  "focus:outline-focus-dark": e === "dark",
1012
1012
  "focus:outline-focus-light dark:focus:outline-focus-dark": e === "alt-system",
1013
1013
  "focus:outline-focus-dark dark:focus:outline-focus-light": e === "system"
1014
- }), pr = ({ mode: e }) => w({
1014
+ }), fr = ({ mode: e }) => w({
1015
1015
  "data-[state=on]:bg-surface-medium": e === "dark",
1016
1016
  "data-[state=on]:bg-surface-lightest": e === "light",
1017
1017
  "data-[state=on]:bg-surface-lightest dark:data-[state=on]:bg-surface-medium": e === "system",
1018
1018
  "data-[state=on]:bg-surface-medium dark:data-[state=on]:bg-surface-lightest": e === "alt-system"
1019
- }), fr = ({ size: e }) => w({
1019
+ }), br = ({ size: e }) => w({
1020
1020
  "h-5 px-2": e === "small",
1021
1021
  "h-6 px-3": e === "medium",
1022
1022
  "h-7 px-4": e === "large"
1023
- }), br = ({ mode: e }) => w(
1024
- Mo,
1023
+ }), vr = ({ mode: e }) => w(
1024
+ Lo,
1025
1025
  "px-1",
1026
1026
  "relative",
1027
1027
  "border-r",
@@ -1034,27 +1034,27 @@ const Tt = x.createContext({
1034
1034
  "border-surface-light dark:border-surface-darker": e === "system",
1035
1035
  "border-surface-darker dark:border-surface-light": e === "alt-system"
1036
1036
  }
1037
- ), vr = ({
1037
+ ), yr = ({
1038
1038
  focusMode: e,
1039
1039
  mode: t,
1040
1040
  size: o
1041
1041
  }) => ({
1042
- wrapperClass: br({ mode: t }),
1042
+ wrapperClass: vr({ mode: t }),
1043
1043
  itemClass: w(
1044
- Lo,
1044
+ $o,
1045
1045
  "flex items-center justify-center bg-transparent",
1046
1046
  "rounded-sm",
1047
1047
  "transition duration-200 ease",
1048
- fr({ size: o }),
1049
- gr({ focusMode: e }),
1050
- pr({ mode: t })
1048
+ br({ size: o }),
1049
+ pr({ focusMode: e }),
1050
+ fr({ mode: t })
1051
1051
  )
1052
- }), yr = ({
1052
+ }), kr = ({
1053
1053
  mode: e,
1054
1054
  spacing: t
1055
1055
  }) => w(
1056
- Ao,
1057
- hr(t),
1056
+ Mo,
1057
+ gr(t),
1058
1058
  "inline-flex p-1",
1059
1059
  "rounded-sm",
1060
1060
  {
@@ -1063,7 +1063,7 @@ const Tt = x.createContext({
1063
1063
  "bg-surface-light text-copy-dark dark:bg-surface-darker dark:text-copy-lighter": e === "system",
1064
1064
  "bg-surface-darker text-copy-lighter dark:bg-surface-light dark:text-copy-dark": e === "alt-system"
1065
1065
  }
1066
- ), kr = ({
1066
+ ), Cr = ({
1067
1067
  children: e,
1068
1068
  value: t,
1069
1069
  onValueChange: o,
@@ -1075,9 +1075,9 @@ const Tt = x.createContext({
1075
1075
  spacing: h,
1076
1076
  ...m
1077
1077
  }) => {
1078
- const l = yr({ mode: n, spacing: h }), g = { size: i, focusMode: s, mode: n };
1078
+ const l = kr({ mode: n, spacing: h }), g = { size: i, focusMode: s, mode: n };
1079
1079
  return /* @__PURE__ */ r(Tt.Provider, { value: g, children: /* @__PURE__ */ r(
1080
- ur,
1080
+ mr,
1081
1081
  {
1082
1082
  disabled: a,
1083
1083
  className: l,
@@ -1089,14 +1089,14 @@ const Tt = x.createContext({
1089
1089
  children: e
1090
1090
  }
1091
1091
  ) });
1092
- }, Cr = ({ value: e, disabled: t }) => {
1093
- const { size: o, focusMode: a, mode: n } = z(Tt), { itemClass: s, wrapperClass: i } = vr({
1092
+ }, wr = ({ value: e, disabled: t }) => {
1093
+ const { size: o, focusMode: a, mode: n } = z(Tt), { itemClass: s, wrapperClass: i } = yr({
1094
1094
  focusMode: a,
1095
1095
  mode: n,
1096
1096
  size: o
1097
1097
  });
1098
1098
  return /* @__PURE__ */ r("div", { className: i, children: /* @__PURE__ */ r(
1099
- mr,
1099
+ hr,
1100
1100
  {
1101
1101
  disabled: t,
1102
1102
  className: s,
@@ -1118,7 +1118,7 @@ try {
1118
1118
  });
1119
1119
  } catch {
1120
1120
  }
1121
- const Ue = "av-messagebox", je = "av-panel", Ke = "av-button", wr = (e) => {
1121
+ const Ue = "av-messagebox", je = "av-panel", Ke = "av-button", Tr = (e) => {
1122
1122
  let t = "";
1123
1123
  if (typeof e == "number" || typeof e == "string")
1124
1124
  t = "m-" + e;
@@ -1127,7 +1127,7 @@ const Ue = "av-messagebox", je = "av-panel", Ke = "av-button", wr = (e) => {
1127
1127
  (e == null ? void 0 : e.t) !== void 0 && o.push(`mt-${e.t}`), (e == null ? void 0 : e.r) !== void 0 && o.push(`mr-${e.r}`), (e == null ? void 0 : e.b) !== void 0 && o.push(`mb-${e.b}`), (e == null ? void 0 : e.l) !== void 0 && o.push(`ml-${e.l}`), t = o.join(" ");
1128
1128
  }
1129
1129
  return t;
1130
- }, Be = "icon", Tr = "button", Nr = "link", Er = ({
1130
+ }, Pe = "icon", Nr = "button", Er = "link", xr = ({
1131
1131
  type: e,
1132
1132
  size: t,
1133
1133
  labelRight: o,
@@ -1136,19 +1136,19 @@ const Ue = "av-messagebox", je = "av-panel", Ke = "av-button", wr = (e) => {
1136
1136
  }) => {
1137
1137
  const s = "text-sm font-medium max-h-8 py-0", i = "text-base font-medium max-h-9 py-1", c = "text-lg font-medium max-h-12 py-2";
1138
1138
  switch (e) {
1139
- case Tr:
1139
+ case Nr:
1140
1140
  return w("px-4", {
1141
1141
  [s]: t === "small",
1142
1142
  [i]: t === "medium",
1143
1143
  [c]: t === "large"
1144
1144
  });
1145
- case Nr:
1145
+ case Er:
1146
1146
  return w("px-4 text-center", {
1147
1147
  [s]: t === "small",
1148
1148
  [i]: t === "medium",
1149
1149
  [c]: t === "large"
1150
1150
  });
1151
- case Be:
1151
+ case Pe:
1152
1152
  return w("inline-flex items-center", {
1153
1153
  "justify-center": n === "center",
1154
1154
  "justify-start": n === "left",
@@ -1161,7 +1161,7 @@ const Ue = "av-messagebox", je = "av-panel", Ke = "av-button", wr = (e) => {
1161
1161
  "h-12 px-4 text-lg font-medium": t === "large" && (o || a)
1162
1162
  });
1163
1163
  }
1164
- }, xr = ({
1164
+ }, Ir = ({
1165
1165
  mode: e,
1166
1166
  noBackground: t,
1167
1167
  noTruncate: o,
@@ -1193,7 +1193,7 @@ const Ue = "av-messagebox", je = "av-panel", Ke = "av-button", wr = (e) => {
1193
1193
  "bg-action-danger-dark text-copy-light dark:bg-action-danger-light dark:text-copy-lighter": e === "system",
1194
1194
  "bg-action-danger-light text-copy-lighter dark:bg-action-danger-dark dark:text-copy-light": e === "alt-system"
1195
1195
  });
1196
- }, Ir = ({
1196
+ }, Sr = ({
1197
1197
  mode: e,
1198
1198
  disabled: t,
1199
1199
  variant: o
@@ -1221,7 +1221,7 @@ const Ue = "av-messagebox", je = "av-panel", Ke = "av-button", wr = (e) => {
1221
1221
  "hover:bg-action-danger-dark-hover dark:hover:bg-action-danger-light-hover": e === "system",
1222
1222
  "hover:bg-action-danger-light-hover dark:hover:bg-action-danger-dark-hover": e === "alt-system"
1223
1223
  });
1224
- }, Sr = ({
1224
+ }, _r = ({
1225
1225
  mode: e,
1226
1226
  disabled: t,
1227
1227
  variant: o
@@ -1249,7 +1249,7 @@ const Ue = "av-messagebox", je = "av-panel", Ke = "av-button", wr = (e) => {
1249
1249
  "active:bg-action-danger-dark-active dark:active:bg-action-danger-light-active": e === "system",
1250
1250
  "active:bg-action-danger-light-active dark:active:bg-action-danger-dark-active": e === "alt-system"
1251
1251
  });
1252
- }, _r = ({
1252
+ }, Rr = ({
1253
1253
  mode: e,
1254
1254
  noBorder: t,
1255
1255
  variant: o
@@ -1277,7 +1277,7 @@ const Ue = "av-messagebox", je = "av-panel", Ke = "av-button", wr = (e) => {
1277
1277
  "border-border-danger-dark dark:border-border-danger-medium": e === "system",
1278
1278
  "border-border-danger-medium dark:border-border-danger-dark": e === "alt-system"
1279
1279
  });
1280
- }, Rr = ({ focusMode: e }) => w("focus:outline", "focus:outline-2", "focus:outline-offset-2", {
1280
+ }, Ar = ({ focusMode: e }) => w("focus:outline", "focus:outline-2", "focus:outline-offset-2", {
1281
1281
  "focus:outline-focus-dark": e === "dark",
1282
1282
  "focus:outline-focus-light": e === "light",
1283
1283
  "focus:outline-focus-light dark:focus:outline-focus-dark": e === "alt-system",
@@ -1302,34 +1302,34 @@ const Ue = "av-messagebox", je = "av-panel", Ke = "av-button", wr = (e) => {
1302
1302
  }) => (u || (u = "primary"), o ? w(Ke, t) : w(
1303
1303
  Ke,
1304
1304
  t,
1305
- wr(g),
1306
- xr({ mode: a, variant: u, noBackground: b, noTruncate: d }),
1307
- Er({ type: e, size: c, labelRight: m, labelLeft: l, align: y }),
1308
- _r({ mode: a, variant: u, noBorder: h }),
1309
- Rr({ focusMode: n }),
1310
- Ir({ mode: a, variant: u, disabled: s }),
1305
+ Tr(g),
1306
+ Ir({ mode: a, variant: u, noBackground: b, noTruncate: d }),
1307
+ xr({ type: e, size: c, labelRight: m, labelLeft: l, align: y }),
1308
+ Rr({ mode: a, variant: u, noBorder: h }),
1309
+ Ar({ focusMode: n }),
1311
1310
  Sr({ mode: a, variant: u, disabled: s }),
1311
+ _r({ mode: a, variant: u, disabled: s }),
1312
1312
  {
1313
1313
  "w-full": i,
1314
1314
  "disabled:cursor-not-allowed disabled:opacity-50": s
1315
1315
  }
1316
- )), Ar = (e, t, o) => {
1316
+ )), Mr = (e, t, o) => {
1317
1317
  var a;
1318
1318
  !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 o == "function" && o(e);
1319
- }, Pe = x.forwardRef((e, t) => {
1319
+ }, Be = x.forwardRef((e, t) => {
1320
1320
  const { onClick: o, noInternalClick: a = !1, ...n } = e;
1321
1321
  return /* @__PURE__ */ r(
1322
1322
  "button",
1323
1323
  {
1324
1324
  ref: t,
1325
1325
  onClick: (s) => {
1326
- Ar(s, a, o);
1326
+ Mr(s, a, o);
1327
1327
  },
1328
1328
  ...n
1329
1329
  }
1330
1330
  );
1331
1331
  });
1332
- Pe.displayName = "BaseButton";
1332
+ Be.displayName = "BaseButton";
1333
1333
  const Et = x.forwardRef(
1334
1334
  ({
1335
1335
  children: e,
@@ -1352,7 +1352,7 @@ const Et = x.forwardRef(
1352
1352
  ...p
1353
1353
  }, k) => {
1354
1354
  const T = Nt({
1355
- type: Be,
1355
+ type: Pe,
1356
1356
  mode: o,
1357
1357
  focusMode: a,
1358
1358
  fullWidth: n,
@@ -1373,7 +1373,7 @@ const Et = x.forwardRef(
1373
1373
  "text-copy-light dark:text-copy-accent-dark": o === "system" && !c
1374
1374
  });
1375
1375
  return /* @__PURE__ */ v(
1376
- Pe,
1376
+ Be,
1377
1377
  {
1378
1378
  ref: k,
1379
1379
  className: T,
@@ -1404,7 +1404,7 @@ try {
1404
1404
  });
1405
1405
  } catch {
1406
1406
  }
1407
- const Mr = x.forwardRef(
1407
+ const Lr = x.forwardRef(
1408
1408
  ({
1409
1409
  children: e,
1410
1410
  disabled: t = !1,
@@ -1427,7 +1427,7 @@ const Mr = x.forwardRef(
1427
1427
  ...k
1428
1428
  }, T) => {
1429
1429
  const I = Nt({
1430
- type: Be,
1430
+ type: Pe,
1431
1431
  mode: o,
1432
1432
  focusMode: a,
1433
1433
  fullWidth: n,
@@ -1464,7 +1464,7 @@ const Mr = x.forwardRef(
1464
1464
  }
1465
1465
  ) : "";
1466
1466
  return /* @__PURE__ */ r("div", { className: _, children: /* @__PURE__ */ v(
1467
- Pe,
1467
+ Be,
1468
1468
  {
1469
1469
  ref: T,
1470
1470
  className: I,
@@ -1481,8 +1481,8 @@ const Mr = x.forwardRef(
1481
1481
  ) });
1482
1482
  }
1483
1483
  );
1484
- Mr.displayName = "ButtonSort";
1485
- const Lr = (e) => {
1484
+ Lr.displayName = "ButtonSort";
1485
+ const $r = (e) => {
1486
1486
  let t = "";
1487
1487
  if (typeof e == "number" || typeof e == "string")
1488
1488
  t = "m-" + e;
@@ -1491,7 +1491,7 @@ const Lr = (e) => {
1491
1491
  (e == null ? void 0 : e.t) !== void 0 && o.push(`mt-${e.t}`), (e == null ? void 0 : e.r) !== void 0 && o.push(`mr-${e.r}`), (e == null ? void 0 : e.b) !== void 0 && o.push(`mb-${e.b}`), (e == null ? void 0 : e.l) !== void 0 && o.push(`ml-${e.l}`), t = o.join(" ");
1492
1492
  }
1493
1493
  return t;
1494
- }, $r = ({
1494
+ }, Pr = ({
1495
1495
  children: e,
1496
1496
  fill: t,
1497
1497
  viewBox: o,
@@ -1503,7 +1503,7 @@ const Lr = (e) => {
1503
1503
  semantic: h = !1,
1504
1504
  ...m
1505
1505
  }) => {
1506
- const l = Lr(i), g = w(
1506
+ const l = $r(i), g = w(
1507
1507
  l,
1508
1508
  a || s
1509
1509
  );
@@ -1546,7 +1546,7 @@ const Br = ({
1546
1546
  monotone: n,
1547
1547
  ...s
1548
1548
  }) => /* @__PURE__ */ r(
1549
- $r,
1549
+ Pr,
1550
1550
  {
1551
1551
  defaultViewBox: "0 0 384 512",
1552
1552
  defaultClassName: "size-5",
@@ -1571,7 +1571,7 @@ try {
1571
1571
  });
1572
1572
  } catch {
1573
1573
  }
1574
- const re = "panel", pe = "messagebox", Pr = ({
1574
+ const re = "panel", pe = "messagebox", zr = ({
1575
1575
  className: e,
1576
1576
  kind: t,
1577
1577
  borderMode: o
@@ -1591,11 +1591,11 @@ const re = "panel", pe = "messagebox", Pr = ({
1591
1591
  footer: "flex flex-grow flex-col sm:p-4 p-2",
1592
1592
  header: "sm:p-4 mb-0 p-2",
1593
1593
  close: "sm:p-4 p-2"
1594
- }), ge = (e) => oo(
1594
+ }), ge = (e) => ro(
1595
1595
  () => import("./index.AUArUGH7.FZU7Bha5.js").then((t) => ({
1596
1596
  default: t[e]
1597
1597
  }))
1598
- ), zr = ge("Modal"), Or = ge("ModalClose"), Vr = ge("ModalContent"), Dr = ge("ModalDescription"), Fr = ge("ModalHeading"), Z = ({
1598
+ ), Or = ge("Modal"), Vr = ge("ModalClose"), Dr = ge("ModalContent"), Fr = ge("ModalDescription"), Hr = ge("ModalHeading"), Z = ({
1599
1599
  open: e,
1600
1600
  onOpenChange: t,
1601
1601
  title: o,
@@ -1605,13 +1605,13 @@ const re = "panel", pe = "messagebox", Pr = ({
1605
1605
  kind: i = re,
1606
1606
  className: c
1607
1607
  }) => {
1608
- const h = le(""), m = Pr({ className: c, kind: i, borderMode: s });
1608
+ const h = le(""), m = zr({ className: c, kind: i, borderMode: s });
1609
1609
  return U(() => (e && (h.current = document.title, document.title = `${o} | ${h.current}`), () => {
1610
1610
  e && (document.title = h.current);
1611
- }), [o, e]), /* @__PURE__ */ r(to, { fallback: /* @__PURE__ */ r("div", {}), children: e && /* @__PURE__ */ r(zr, { open: e, onOpenChange: t, children: /* @__PURE__ */ v(Vr, { className: m.main, children: [
1611
+ }), [o, e]), /* @__PURE__ */ r(oo, { fallback: /* @__PURE__ */ r("div", {}), children: e && /* @__PURE__ */ r(Or, { open: e, onOpenChange: t, children: /* @__PURE__ */ v(Dr, { className: m.main, children: [
1612
1612
  /* @__PURE__ */ v("div", { className: "flex flex-row-reverse items-center justify-between", children: [
1613
1613
  /* @__PURE__ */ r(
1614
- Or,
1614
+ Vr,
1615
1615
  {
1616
1616
  className: m.close,
1617
1617
  trigger: /* @__PURE__ */ r(
@@ -1626,27 +1626,27 @@ const re = "panel", pe = "messagebox", Pr = ({
1626
1626
  )
1627
1627
  }
1628
1628
  ),
1629
- /* @__PURE__ */ r(Fr, { className: m.header, children: o })
1629
+ /* @__PURE__ */ r(Hr, { className: m.header, children: o })
1630
1630
  ] }),
1631
- /* @__PURE__ */ r(Dr, { className: m.content, children: a }),
1631
+ /* @__PURE__ */ r(Fr, { className: m.content, children: a }),
1632
1632
  n && /* @__PURE__ */ r("div", { className: m.footer, children: n })
1633
1633
  ] }) }) });
1634
- }, Hr = ({ stats: e }) => {
1634
+ }, Gr = ({ stats: e }) => {
1635
1635
  const t = (e == null ? void 0 : e.plugins) || [], o = (e == null ? void 0 : e.version) || "", a = (e == null ? void 0 : e.models) || [], n = ce(), s = ce();
1636
1636
  return /* @__PURE__ */ v(A, { children: [
1637
1637
  /* @__PURE__ */ r("div", { className: "mb-4", children: /* @__PURE__ */ r(
1638
- P,
1638
+ B,
1639
1639
  {
1640
1640
  header: N.ABOUT.TITLE_CLIENT,
1641
1641
  className: "prose-dark dark:prose-lighter",
1642
1642
  children: se(n, {
1643
- [N.ABOUT.VERSION]: "5.5.2",
1644
- [N.ABOUT.BUILD_TIMESTAMP]: "11/28/2024 05:10 PM EST"
1643
+ [N.ABOUT.VERSION]: "5.6.1",
1644
+ [N.ABOUT.BUILD_TIMESTAMP]: "11/30/2024 06:15 PM EST"
1645
1645
  })
1646
1646
  }
1647
1647
  ) }),
1648
1648
  /* @__PURE__ */ r(
1649
- P,
1649
+ B,
1650
1650
  {
1651
1651
  header: N.ABOUT.TITLE_SERVER,
1652
1652
  className: "prose-dark dark:prose-lighter",
@@ -1658,13 +1658,13 @@ const re = "panel", pe = "messagebox", Pr = ({
1658
1658
  }
1659
1659
  )
1660
1660
  ] });
1661
- }, Gr = ({
1661
+ }, Ur = ({
1662
1662
  open: e,
1663
1663
  onOpenChange: t
1664
1664
  }) => {
1665
1665
  const { serverStats: o } = z(ue);
1666
- return /* @__PURE__ */ r(Z, { open: e, onOpenChange: t, title: Rt, children: /* @__PURE__ */ r(Hr, { stats: o }) });
1667
- }, Ur = (e) => qe(e), jr = (e) => {
1666
+ return /* @__PURE__ */ r(Z, { open: e, onOpenChange: t, title: Rt, children: /* @__PURE__ */ r(Gr, { stats: o }) });
1667
+ }, jr = (e) => qe(e), Kr = (e) => {
1668
1668
  if (!e || e.length === 0)
1669
1669
  return Mt;
1670
1670
  const t = e.filter(
@@ -1675,16 +1675,16 @@ const re = "panel", pe = "messagebox", Pr = ({
1675
1675
  ).map((o) => o.message.processingTime);
1676
1676
  return $t({
1677
1677
  data: t,
1678
- formatter: Ur
1678
+ formatter: jr
1679
1679
  });
1680
- }, Kr = ({
1680
+ }, Wr = ({
1681
1681
  isAuthenticated: e,
1682
1682
  stats: t
1683
1683
  }) => {
1684
- const { state: o } = z(ue), a = Bt - Number(o == null ? void 0 : o.usage), n = ce(), s = ce();
1684
+ const { state: o } = z(ue), a = Pt - Number(o == null ? void 0 : o.usage), n = ce(), s = ce();
1685
1685
  return e ? /* @__PURE__ */ v(A, { children: [
1686
1686
  o && o.messages.length > 0 && /* @__PURE__ */ r("div", { className: "mb-4", children: /* @__PURE__ */ r(
1687
- P,
1687
+ B,
1688
1688
  {
1689
1689
  header: N.CURRENT_STATISTICS.TITLE,
1690
1690
  className: "prose-dark dark:prose-lighter",
@@ -1692,12 +1692,12 @@ const re = "panel", pe = "messagebox", Pr = ({
1692
1692
  [N.CURRENT_STATISTICS.MODEL_NAME]: (o == null ? void 0 : o.model) || ae,
1693
1693
  [N.CURRENT_STATISTICS.TOKENS_USED]: o == null ? void 0 : o.usage,
1694
1694
  [N.CURRENT_STATISTICS.REMAINING_TOKENS]: At.format(a),
1695
- [N.CURRENT_STATISTICS.PROCESSING_TIME]: jr(o == null ? void 0 : o.messages)
1695
+ [N.CURRENT_STATISTICS.PROCESSING_TIME]: Kr(o == null ? void 0 : o.messages)
1696
1696
  })
1697
1697
  }
1698
1698
  ) }),
1699
1699
  /* @__PURE__ */ r(
1700
- P,
1700
+ B,
1701
1701
  {
1702
1702
  header: N.MAIN_STATISTICS.TITLE,
1703
1703
  className: "prose-dark dark:prose-lighter",
@@ -1710,7 +1710,7 @@ const re = "panel", pe = "messagebox", Pr = ({
1710
1710
  }
1711
1711
  )
1712
1712
  ] }) : null;
1713
- }, Wr = ({
1713
+ }, Yr = ({
1714
1714
  open: e,
1715
1715
  onOpenChange: t
1716
1716
  }) => {
@@ -1732,7 +1732,7 @@ const re = "panel", pe = "messagebox", Pr = ({
1732
1732
  } catch {
1733
1733
  }
1734
1734
  })();
1735
- }, [e, s, i]), /* @__PURE__ */ r(Z, { open: e, onOpenChange: t, title: Xe, children: /* @__PURE__ */ r(Kr, { isAuthenticated: n, stats: o }) });
1735
+ }, [e, s, i]), /* @__PURE__ */ r(Z, { open: e, onOpenChange: t, title: Xe, children: /* @__PURE__ */ r(Wr, { isAuthenticated: n, stats: o }) });
1736
1736
  }, xt = ({
1737
1737
  showConfirmation: e,
1738
1738
  setShowConfirmation: t,
@@ -1747,7 +1747,7 @@ const re = "panel", pe = "messagebox", Pr = ({
1747
1747
  onOpenChange: t,
1748
1748
  title: n.title,
1749
1749
  footer: /* @__PURE__ */ v(ie, { columnGap: 2, alignHorizontal: "flex-end", children: [
1750
- /* @__PURE__ */ r(B, { children: /* @__PURE__ */ r(
1750
+ /* @__PURE__ */ r(P, { children: /* @__PURE__ */ r(
1751
1751
  G,
1752
1752
  {
1753
1753
  mode: "dark",
@@ -1759,7 +1759,7 @@ const re = "panel", pe = "messagebox", Pr = ({
1759
1759
  children: n.cancelAction
1760
1760
  }
1761
1761
  ) }),
1762
- /* @__PURE__ */ r(B, { children: /* @__PURE__ */ r(
1762
+ /* @__PURE__ */ r(P, { children: /* @__PURE__ */ r(
1763
1763
  G,
1764
1764
  {
1765
1765
  mode: "dark",
@@ -1775,10 +1775,10 @@ const re = "panel", pe = "messagebox", Pr = ({
1775
1775
  children: a
1776
1776
  }
1777
1777
  );
1778
- var Yr = typeof window < "u", qr = function(e, t) {
1779
- return Yr ? window.matchMedia(e).matches : (process.env.NODE_ENV !== "production" && console.warn("`useMedia` When server side rendering, defaultState should be defined to prevent a hydration mismatches."), !1);
1780
- }, Xr = function(e, t) {
1781
- var o = S(qr(e)), a = o[0], n = o[1];
1778
+ var qr = typeof window < "u", Xr = function(e, t) {
1779
+ return qr ? window.matchMedia(e).matches : (process.env.NODE_ENV !== "production" && console.warn("`useMedia` When server side rendering, defaultState should be defined to prevent a hydration mismatches."), !1);
1780
+ }, Zr = function(e, t) {
1781
+ var o = S(Xr(e)), a = o[0], n = o[1];
1782
1782
  return U(function() {
1783
1783
  var s = !0, i = window.matchMedia(e), c = function() {
1784
1784
  s && n(!!i.matches);
@@ -1788,7 +1788,7 @@ var Yr = typeof window < "u", qr = function(e, t) {
1788
1788
  };
1789
1789
  }, [e]), a;
1790
1790
  };
1791
- const Zr = async (e, t, o, a) => {
1791
+ const Jr = async (e, t, o, a) => {
1792
1792
  try {
1793
1793
  const n = await F({
1794
1794
  accessToken: a,
@@ -1813,7 +1813,7 @@ const Zr = async (e, t, o, a) => {
1813
1813
  }, We = (e) => {
1814
1814
  const t = e[0];
1815
1815
  return Ot(t == null ? void 0 : t.content, 100);
1816
- }, Jr = ({
1816
+ }, Qr = ({
1817
1817
  filteredHistory: e,
1818
1818
  setFilteredHistory: t,
1819
1819
  dispatch: o,
@@ -1824,8 +1824,8 @@ const Zr = async (e, t, o, a) => {
1824
1824
  id: 0,
1825
1825
  timestamp: "",
1826
1826
  message: ""
1827
- }), [c, h] = S(!1), m = Xr("(min-width: 480px)"), { state: l, dispatch: g } = z(Ze), [, b] = he({
1828
- key: me + Pt,
1827
+ }), [c, h] = S(!1), m = Zr("(min-width: 480px)"), { state: l, dispatch: g } = z(Ze), [, b] = he({
1828
+ key: me + Bt,
1829
1829
  initialValue: l.sortDirection
1830
1830
  }), u = e.data.sort(
1831
1831
  (p, k) => {
@@ -1915,11 +1915,11 @@ const Zr = async (e, t, o, a) => {
1915
1915
  ]
1916
1916
  }
1917
1917
  ),
1918
- /* @__PURE__ */ v(qt, { stickyHeader: !0, stickyFooter: !0, wrapperClassName: "max-h-[60vh]", children: [
1919
- /* @__PURE__ */ r(Xt, { children: /* @__PURE__ */ v(Ne, { children: [
1918
+ /* @__PURE__ */ v(Xt, { stickyHeader: !0, stickyFooter: !0, wrapperClassName: "max-h-[60vh]", children: [
1919
+ /* @__PURE__ */ r(Zt, { children: /* @__PURE__ */ v(Ne, { children: [
1920
1920
  m && /* @__PURE__ */ r($, { className: "sr-only", children: "Row" }),
1921
1921
  /* @__PURE__ */ r(
1922
- Zt,
1922
+ Jt,
1923
1923
  {
1924
1924
  buttonClassName: "text-xs sm:text-sm",
1925
1925
  cellId: "timestamp",
@@ -1936,7 +1936,7 @@ const Zr = async (e, t, o, a) => {
1936
1936
  /* @__PURE__ */ r($, { className: "text-xs sm:text-sm", children: "Model" }),
1937
1937
  /* @__PURE__ */ r($, { className: "text-xs sm:text-sm text-right", children: "Actions" })
1938
1938
  ] }) }),
1939
- /* @__PURE__ */ r(Jt, { children: u.map((p, k) => {
1939
+ /* @__PURE__ */ r(Qt, { children: u.map((p, k) => {
1940
1940
  var T;
1941
1941
  return ((T = p == null ? void 0 : p.messages) == null ? void 0 : T.length) > 0 ? /* @__PURE__ */ v(Ne, { children: [
1942
1942
  m && /* @__PURE__ */ r($, { children: k + 1 }),
@@ -1963,14 +1963,14 @@ const Zr = async (e, t, o, a) => {
1963
1963
  label: "Restore chat",
1964
1964
  onClick: async () => {
1965
1965
  const I = await s();
1966
- Zr(
1966
+ Jr(
1967
1967
  p,
1968
1968
  o,
1969
1969
  a,
1970
1970
  I
1971
1971
  );
1972
1972
  },
1973
- children: /* @__PURE__ */ r(So, { className: "h-3 w-3", monotone: !0 })
1973
+ children: /* @__PURE__ */ r(_o, { className: "h-3 w-3", monotone: !0 })
1974
1974
  }
1975
1975
  ),
1976
1976
  /* @__PURE__ */ r(
@@ -1986,13 +1986,13 @@ const Zr = async (e, t, o, a) => {
1986
1986
  message: We(p.messages)
1987
1987
  }, h(!c);
1988
1988
  },
1989
- children: /* @__PURE__ */ r("div", { className: "text-red-400", children: /* @__PURE__ */ r(No, { className: "h-3 w-3", monotone: !0 }) })
1989
+ children: /* @__PURE__ */ r("div", { className: "text-red-400", children: /* @__PURE__ */ r(Eo, { className: "h-3 w-3", monotone: !0 }) })
1990
1990
  }
1991
1991
  )
1992
1992
  ] }) })
1993
1993
  ] }, `${N.HISTORY.TITLE}-${p.id}-${k}`) : null;
1994
1994
  }) }),
1995
- /* @__PURE__ */ r(Qt, { children: /* @__PURE__ */ r(Ne, { children: /* @__PURE__ */ r($, { colSpan: 5, children: /* @__PURE__ */ r("div", { children: be(
1995
+ /* @__PURE__ */ r(eo, { children: /* @__PURE__ */ r(Ne, { children: /* @__PURE__ */ r($, { colSpan: 5, children: /* @__PURE__ */ r("div", { children: be(
1996
1996
  `${e.data.length} chat`,
1997
1997
  e.data.length
1998
1998
  ) }) }) }) })
@@ -2006,14 +2006,14 @@ function Ye(e, t) {
2006
2006
  )
2007
2007
  ) : e;
2008
2008
  }
2009
- const Qr = ({
2009
+ const ea = ({
2010
2010
  onOpenChange: e,
2011
2011
  historyData: t
2012
2012
  }) => {
2013
2013
  const { isAuthenticated: o } = X(), a = le(null), { dispatch: n } = z(ue), { state: s, dispatch: i } = z(Ze), [, c] = he({
2014
2014
  key: me + Vt,
2015
2015
  initialValue: s.searchString
2016
- }), h = ro(() => t, [t]), [m, l] = S({
2016
+ }), h = ao(() => t, [t]), [m, l] = S({
2017
2017
  data: h
2018
2018
  }), g = (d) => {
2019
2019
  const y = Ye(h, d);
@@ -2068,7 +2068,7 @@ const Qr = ({
2068
2068
  }
2069
2069
  ) }),
2070
2070
  /* @__PURE__ */ r("div", { className: "flex flex-col gap-2 sm:flex-row", children: /* @__PURE__ */ r(
2071
- Jr,
2071
+ Qr,
2072
2072
  {
2073
2073
  filteredHistory: m,
2074
2074
  setFilteredHistory: l,
@@ -2077,11 +2077,11 @@ const Qr = ({
2077
2077
  }
2078
2078
  ) })
2079
2079
  ] }) : null;
2080
- }, ea = ({
2080
+ }, ta = ({
2081
2081
  open: e,
2082
2082
  onOpenChange: t,
2083
2083
  historyData: o
2084
- }) => /* @__PURE__ */ r(Z, { open: e, onOpenChange: t, title: Ft, children: /* @__PURE__ */ r(Qr, { onOpenChange: t, historyData: o }) });
2084
+ }) => /* @__PURE__ */ r(Z, { open: e, onOpenChange: t, title: Ft, children: /* @__PURE__ */ r(ea, { onOpenChange: t, historyData: o }) });
2085
2085
  /*!
2086
2086
  @versini/ui-toggle v1.0.8
2087
2087
  © 2024 gizmette.com
@@ -2095,7 +2095,7 @@ try {
2095
2095
  });
2096
2096
  } catch {
2097
2097
  }
2098
- const ta = "av-toggle", oa = (e) => {
2098
+ const oa = "av-toggle", ra = (e) => {
2099
2099
  let t = "";
2100
2100
  if (typeof e == "number" || typeof e == "string")
2101
2101
  t = "m-" + e;
@@ -2104,7 +2104,7 @@ const ta = "av-toggle", oa = (e) => {
2104
2104
  (e == null ? void 0 : e.t) !== void 0 && o.push(`mt-${e.t}`), (e == null ? void 0 : e.r) !== void 0 && o.push(`mr-${e.r}`), (e == null ? void 0 : e.b) !== void 0 && o.push(`mb-${e.b}`), (e == null ? void 0 : e.l) !== void 0 && o.push(`ml-${e.l}`), t = o.join(" ");
2105
2105
  }
2106
2106
  return t;
2107
- }, ra = () => w("peer", "h-6", "w-11", "rounded-full"), aa = ({
2107
+ }, aa = () => w("peer", "h-6", "w-11", "rounded-full"), na = ({
2108
2108
  focusMode: e
2109
2109
  }) => w(
2110
2110
  "peer-focus:outline",
@@ -2116,14 +2116,14 @@ const ta = "av-toggle", oa = (e) => {
2116
2116
  "peer-focus:outline-focus-light dark:peer-focus:outline-focus-dark": e === "alt-system",
2117
2117
  "peer-focus:outline-focus-dark dark:peer-focus:outline-focus-light": e === "system"
2118
2118
  }
2119
- ), na = () => w(
2119
+ ), sa = () => w(
2120
2120
  "peer-checked:after:translate-x-full",
2121
2121
  // background color when checked
2122
2122
  "peer-checked:bg-violet-500",
2123
2123
  // knob circle and border color when checked
2124
2124
  "peer-checked:after:bg-white",
2125
2125
  "peer-checked:after:border-white"
2126
- ), sa = () => w(
2126
+ ), ia = () => w(
2127
2127
  "after:left-[2px]",
2128
2128
  "after:top-[2px]",
2129
2129
  "after:border",
@@ -2135,7 +2135,7 @@ const ta = "av-toggle", oa = (e) => {
2135
2135
  "after:rounded-full",
2136
2136
  "after:transition-all",
2137
2137
  "after:content-['']"
2138
- ), ia = ({
2138
+ ), la = ({
2139
2139
  mode: e,
2140
2140
  noBorder: t
2141
2141
  }) => w({
@@ -2144,7 +2144,7 @@ const ta = "av-toggle", oa = (e) => {
2144
2144
  "border-border-light bg-surface-darker": e === "dark",
2145
2145
  "border-border-light bg-surface-darker dark:border-border-dark dark:bg-surface-medium": e === "alt-system",
2146
2146
  "border-border-dark bg-surface-medium dark:border-border-light dark:bg-surface-darker": e === "system"
2147
- }), la = ({
2147
+ }), ca = ({
2148
2148
  mode: e,
2149
2149
  labelHidden: t
2150
2150
  }) => t ? "sr-only" : w("ml-2 text-sm", {
@@ -2152,11 +2152,11 @@ const ta = "av-toggle", oa = (e) => {
2152
2152
  "text-copy-lighter": e === "dark",
2153
2153
  "text-copy-lighter dark:text-copy-dark": e === "alt-system",
2154
2154
  "text-copy-dark dark:text-copy-lighter": e === "system"
2155
- }), ca = ({ spacing: e }) => w(
2156
- ta,
2155
+ }), da = ({ spacing: e }) => w(
2156
+ oa,
2157
2157
  "relative flex cursor-pointer items-center",
2158
- oa(e)
2159
- ), da = ({
2158
+ ra(e)
2159
+ ), ua = ({
2160
2160
  mode: e,
2161
2161
  focusMode: t,
2162
2162
  labelHidden: o,
@@ -2164,15 +2164,15 @@ const ta = "av-toggle", oa = (e) => {
2164
2164
  noBorder: n
2165
2165
  }) => ({
2166
2166
  toggle: w(
2167
- ra(),
2168
- ia({ mode: e, noBorder: n }),
2169
- aa({ focusMode: t }),
2170
- sa(),
2171
- na()
2167
+ aa(),
2168
+ la({ mode: e, noBorder: n }),
2169
+ na({ focusMode: t }),
2170
+ ia(),
2171
+ sa()
2172
2172
  ),
2173
- label: la({ mode: e, labelHidden: o }),
2173
+ label: ca({ mode: e, labelHidden: o }),
2174
2174
  input: "peer sr-only",
2175
- wrapper: ca({ spacing: a })
2175
+ wrapper: da({ spacing: a })
2176
2176
  }), ne = ({
2177
2177
  checked: e = !1,
2178
2178
  onChange: t,
@@ -2184,7 +2184,7 @@ const ta = "av-toggle", oa = (e) => {
2184
2184
  spacing: c,
2185
2185
  noBorder: h = !1
2186
2186
  }) => {
2187
- const m = da({
2187
+ const m = ua({
2188
2188
  mode: s,
2189
2189
  focusMode: i,
2190
2190
  labelHidden: a,
@@ -2207,7 +2207,7 @@ const ta = "av-toggle", oa = (e) => {
2207
2207
  /* @__PURE__ */ r("div", { className: m.toggle }),
2208
2208
  /* @__PURE__ */ r("span", { className: m.label, children: o })
2209
2209
  ] });
2210
- }, ua = ({
2210
+ }, ma = ({
2211
2211
  open: e,
2212
2212
  onOpenChange: t
2213
2213
  }) => {
@@ -2247,7 +2247,7 @@ const ta = "av-toggle", oa = (e) => {
2247
2247
  loadingLocation: !0
2248
2248
  }));
2249
2249
  try {
2250
- const u = Date.now(), d = await Ht(), y = await F({
2250
+ const u = Date.now(), d = await Gt(), y = await F({
2251
2251
  accessToken: await a(),
2252
2252
  type: H.GET_LOCATION,
2253
2253
  params: {
@@ -2326,7 +2326,7 @@ const ta = "av-toggle", oa = (e) => {
2326
2326
  alignHorizontal: "flex-end",
2327
2327
  className: "pb-8 sm:pb-0",
2328
2328
  children: [
2329
- /* @__PURE__ */ r(B, { children: /* @__PURE__ */ r(
2329
+ /* @__PURE__ */ r(P, { children: /* @__PURE__ */ r(
2330
2330
  G,
2331
2331
  {
2332
2332
  mode: "dark",
@@ -2338,7 +2338,7 @@ const ta = "av-toggle", oa = (e) => {
2338
2338
  children: "Cancel"
2339
2339
  }
2340
2340
  ) }),
2341
- /* @__PURE__ */ r(B, { children: /* @__PURE__ */ r(
2341
+ /* @__PURE__ */ r(P, { children: /* @__PURE__ */ r(
2342
2342
  G,
2343
2343
  {
2344
2344
  mode: "dark",
@@ -2355,7 +2355,7 @@ const ta = "av-toggle", oa = (e) => {
2355
2355
  ),
2356
2356
  children: /* @__PURE__ */ v(A, { children: [
2357
2357
  /* @__PURE__ */ v(
2358
- P,
2358
+ B,
2359
2359
  {
2360
2360
  header: "AI Engine",
2361
2361
  className: "prose-dark dark:prose-lighter",
@@ -2399,13 +2399,17 @@ const ta = "av-toggle", oa = (e) => {
2399
2399
  }
2400
2400
  ),
2401
2401
  /* @__PURE__ */ v(
2402
- P,
2402
+ B,
2403
2403
  {
2404
2404
  spacing: { t: 4 },
2405
2405
  header: "Custom Instructions",
2406
2406
  className: "prose-dark dark:prose-lighter",
2407
2407
  children: [
2408
- /* @__PURE__ */ r("p", { children: "What would you like Sassy Saint to know about you to provide better responses?" }),
2408
+ /* @__PURE__ */ v("p", { children: [
2409
+ "What would you like ",
2410
+ /* @__PURE__ */ r("em", { children: Ht }),
2411
+ " to know about you to provide better responses?"
2412
+ ] }),
2409
2413
  /* @__PURE__ */ r(
2410
2414
  De,
2411
2415
  {
@@ -2430,7 +2434,7 @@ const ta = "av-toggle", oa = (e) => {
2430
2434
  }
2431
2435
  ),
2432
2436
  /* @__PURE__ */ v(
2433
- P,
2437
+ B,
2434
2438
  {
2435
2439
  header: "Location",
2436
2440
  className: "prose-dark dark:prose-lighter",
@@ -2471,11 +2475,11 @@ const ta = "av-toggle", oa = (e) => {
2471
2475
  ] })
2472
2476
  }
2473
2477
  ) });
2474
- }, ma = ({
2478
+ }, ha = ({
2475
2479
  open: e,
2476
2480
  onOpenChange: t
2477
2481
  }) => {
2478
- const { state: o, dispatch: a } = z(Gt), { getAccessToken: n, user: s } = X(), [i, c] = S({
2482
+ const { state: o, dispatch: a } = z(Ut), { getAccessToken: n, user: s } = X(), [i, c] = S({
2479
2483
  tags: [...o.tags]
2480
2484
  }), h = ({
2481
2485
  slot: l,
@@ -2509,7 +2513,7 @@ const ta = "av-toggle", oa = (e) => {
2509
2513
  tags: i.tags
2510
2514
  }
2511
2515
  }), a({
2512
- type: jt,
2516
+ type: Kt,
2513
2517
  payload: {
2514
2518
  tags: i.tags
2515
2519
  }
@@ -2524,7 +2528,7 @@ const ta = "av-toggle", oa = (e) => {
2524
2528
  onOpenChange: t,
2525
2529
  title: "Tags",
2526
2530
  footer: /* @__PURE__ */ v(ie, { columnGap: 2, alignHorizontal: "flex-end", children: [
2527
- /* @__PURE__ */ r(B, { children: /* @__PURE__ */ r(
2531
+ /* @__PURE__ */ r(P, { children: /* @__PURE__ */ r(
2528
2532
  G,
2529
2533
  {
2530
2534
  mode: "dark",
@@ -2536,7 +2540,7 @@ const ta = "av-toggle", oa = (e) => {
2536
2540
  children: "Cancel"
2537
2541
  }
2538
2542
  ) }),
2539
- /* @__PURE__ */ r(B, { children: /* @__PURE__ */ r(
2543
+ /* @__PURE__ */ r(P, { children: /* @__PURE__ */ r(
2540
2544
  G,
2541
2545
  {
2542
2546
  mode: "dark",
@@ -2550,16 +2554,16 @@ const ta = "av-toggle", oa = (e) => {
2550
2554
  ) })
2551
2555
  ] }),
2552
2556
  children: [
2553
- /* @__PURE__ */ r("p", { children: Ut }),
2557
+ /* @__PURE__ */ r("p", { children: jt }),
2554
2558
  i.tags && i.tags.map((l) => /* @__PURE__ */ v(
2555
- P,
2559
+ B,
2556
2560
  {
2557
2561
  header: l.label !== "" ? `Tag ${l.slot} - ${l.label}` : `Tag ${l.slot}`,
2558
2562
  className: "prose-dark dark:prose-lighter",
2559
2563
  spacing: { b: 2 },
2560
2564
  children: [
2561
2565
  /* @__PURE__ */ v(ie, { spacing: { t: 8, b: 6 }, columnGap: 2, rowGap: 6, children: [
2562
- /* @__PURE__ */ r(B, { span: { fallback: 12, sm: 6 }, children: /* @__PURE__ */ r(
2566
+ /* @__PURE__ */ r(P, { span: { fallback: 12, sm: 6 }, children: /* @__PURE__ */ r(
2563
2567
  xe,
2564
2568
  {
2565
2569
  label: "Label",
@@ -2575,7 +2579,7 @@ const ta = "av-toggle", oa = (e) => {
2575
2579
  }
2576
2580
  }
2577
2581
  ) }),
2578
- /* @__PURE__ */ r(B, { span: { fallback: 12, sm: 6 }, children: /* @__PURE__ */ r(
2582
+ /* @__PURE__ */ r(P, { span: { fallback: 12, sm: 6 }, children: /* @__PURE__ */ r(
2579
2583
  xe,
2580
2584
  {
2581
2585
  label: "Content",
@@ -2617,9 +2621,9 @@ const ta = "av-toggle", oa = (e) => {
2617
2621
  ]
2618
2622
  }
2619
2623
  );
2620
- }, ha = () => {
2624
+ }, ga = () => {
2621
2625
  const { isAuthenticated: e, user: t, registeringForPasskey: o, authenticationType: a } = X(), [n, s] = he({
2622
- key: me + Kt,
2626
+ key: me + Wt,
2623
2627
  initialValue: !1
2624
2628
  }), [i, c] = S(!1), [h, m] = S(!1), l = ce(), g = (t == null ? void 0 : t.username) || "", b = (y) => {
2625
2629
  s(y);
@@ -2630,15 +2634,15 @@ const ta = "av-toggle", oa = (e) => {
2630
2634
  };
2631
2635
  return e && g ? /* @__PURE__ */ v(A, { children: [
2632
2636
  i && /* @__PURE__ */ r(
2633
- ua,
2637
+ ma,
2634
2638
  {
2635
2639
  open: i,
2636
2640
  onOpenChange: c
2637
2641
  }
2638
2642
  ),
2639
- h && /* @__PURE__ */ r(ma, { open: h, onOpenChange: m }),
2643
+ h && /* @__PURE__ */ r(ha, { open: h, onOpenChange: m }),
2640
2644
  /* @__PURE__ */ v(
2641
- P,
2645
+ B,
2642
2646
  {
2643
2647
  header: N.PREFERENCES.TITLE,
2644
2648
  className: "prose-dark dark:prose-lighter",
@@ -2681,14 +2685,14 @@ const ta = "av-toggle", oa = (e) => {
2681
2685
  ]
2682
2686
  }
2683
2687
  ),
2684
- a !== Wt.PASSKEY && /* @__PURE__ */ v(
2685
- P,
2688
+ a !== Yt.PASSKEY && /* @__PURE__ */ v(
2689
+ B,
2686
2690
  {
2687
2691
  spacing: { t: 4 },
2688
2692
  className: "prose-dark dark:prose-lighter",
2689
2693
  header: /* @__PURE__ */ r("h2", { className: "m-0", children: /* @__PURE__ */ v(ie, { columnGap: 3, alignVertical: "center", children: [
2690
- /* @__PURE__ */ r(B, { children: /* @__PURE__ */ r(Oe, { className: "size-8" }) }),
2691
- /* @__PURE__ */ r(B, { children: /* @__PURE__ */ r("div", { children: N.PREFERENCES.PASSKEY_TITLE }) })
2694
+ /* @__PURE__ */ r(P, { children: /* @__PURE__ */ r(Oe, { className: "size-8" }) }),
2695
+ /* @__PURE__ */ r(P, { children: /* @__PURE__ */ r("div", { children: N.PREFERENCES.PASSKEY_TITLE }) })
2692
2696
  ] }) }),
2693
2697
  children: [
2694
2698
  /* @__PURE__ */ r("p", { children: N.PREFERENCES.PASSKEY_INSTRUCTIONS }),
@@ -2706,10 +2710,10 @@ const ta = "av-toggle", oa = (e) => {
2706
2710
  }
2707
2711
  )
2708
2712
  ] }) : null;
2709
- }, ga = ({
2713
+ }, pa = ({
2710
2714
  open: e,
2711
2715
  onOpenChange: t
2712
- }) => /* @__PURE__ */ r(Z, { open: e, onOpenChange: t, title: Yt, children: /* @__PURE__ */ r(ha, {}) }), wa = () => {
2716
+ }) => /* @__PURE__ */ r(Z, { open: e, onOpenChange: t, title: qt, children: /* @__PURE__ */ r(ga, {}) }), Ta = () => {
2713
2717
  const { state: e, dispatch: t, serverStats: o } = z(ue), [a, n] = S((e == null ? void 0 : e.engine) || ae), [s, i] = S(!1), [c, h] = S(!1), [m, l] = S(!1), [g, b] = S(!1), [u, d] = S([]), [y, C] = S(!1), [p, k] = S({
2714
2718
  done: !1,
2715
2719
  progress: !1,
@@ -2774,17 +2778,17 @@ const ta = "av-toggle", oa = (e) => {
2774
2778
  children: /* @__PURE__ */ r("p", { children: "Are you sure you want to log out?" })
2775
2779
  }
2776
2780
  ),
2777
- /* @__PURE__ */ r(ga, { open: s, onOpenChange: i }),
2778
- /* @__PURE__ */ r(Wr, { open: c, onOpenChange: h }),
2781
+ /* @__PURE__ */ r(pa, { open: s, onOpenChange: i }),
2782
+ /* @__PURE__ */ r(Yr, { open: c, onOpenChange: h }),
2779
2783
  /* @__PURE__ */ r(
2780
- ea,
2784
+ ta,
2781
2785
  {
2782
2786
  open: m,
2783
2787
  onOpenChange: l,
2784
2788
  historyData: u
2785
2789
  }
2786
2790
  ),
2787
- /* @__PURE__ */ r(Gr, { open: g, onOpenChange: b }),
2791
+ /* @__PURE__ */ r(Ur, { open: g, onOpenChange: b }),
2788
2792
  /* @__PURE__ */ v("div", { className: "relative", children: [
2789
2793
  T && o && /* @__PURE__ */ r("div", { className: "absolute bottom-[-28px] left-[-7px]", children: /* @__PURE__ */ r(
2790
2794
  Se,
@@ -2794,7 +2798,7 @@ const ta = "av-toggle", oa = (e) => {
2794
2798
  trigger: /* @__PURE__ */ r(Y, { children: e && e.engine === fe ? /* @__PURE__ */ r(nt, {}) : /* @__PURE__ */ r(st, {}) }),
2795
2799
  defaultPlacement: "bottom-start",
2796
2800
  children: /* @__PURE__ */ r(W, { raw: !0, ignoreClick: !0, children: /* @__PURE__ */ r(
2797
- kr,
2801
+ Cr,
2798
2802
  {
2799
2803
  size: "small",
2800
2804
  mode: "dark",
@@ -2821,7 +2825,7 @@ const ta = "av-toggle", oa = (e) => {
2821
2825
  } catch {
2822
2826
  }
2823
2827
  },
2824
- children: o && o.engines.map((L) => /* @__PURE__ */ r(Cr, { value: L }, L))
2828
+ children: o && o.engines.map((L) => /* @__PURE__ */ r(wr, { value: L }, L))
2825
2829
  }
2826
2830
  ) })
2827
2831
  }
@@ -2831,7 +2835,7 @@ const ta = "av-toggle", oa = (e) => {
2831
2835
  {
2832
2836
  mode: "dark",
2833
2837
  focusMode: "light",
2834
- trigger: /* @__PURE__ */ r(Y, { children: /* @__PURE__ */ r(_o, {}) }),
2838
+ trigger: /* @__PURE__ */ r(Y, { children: /* @__PURE__ */ r(Ro, {}) }),
2835
2839
  defaultPlacement: "bottom-end",
2836
2840
  onOpenChange: j,
2837
2841
  children: [
@@ -2840,7 +2844,7 @@ const ta = "av-toggle", oa = (e) => {
2840
2844
  {
2841
2845
  label: "Profile",
2842
2846
  onClick: V,
2843
- icon: /* @__PURE__ */ r(Io, {})
2847
+ icon: /* @__PURE__ */ r(So, {})
2844
2848
  }
2845
2849
  ),
2846
2850
  /* @__PURE__ */ r(
@@ -2848,7 +2852,7 @@ const ta = "av-toggle", oa = (e) => {
2848
2852
  {
2849
2853
  label: Xe,
2850
2854
  onClick: E,
2851
- icon: /* @__PURE__ */ r(To, {})
2855
+ icon: /* @__PURE__ */ r(No, {})
2852
2856
  }
2853
2857
  ),
2854
2858
  /* @__PURE__ */ r(
@@ -2856,7 +2860,7 @@ const ta = "av-toggle", oa = (e) => {
2856
2860
  {
2857
2861
  label: "History",
2858
2862
  onClick: ee,
2859
- icon: /* @__PURE__ */ r(Eo, {})
2863
+ icon: /* @__PURE__ */ r(xo, {})
2860
2864
  }
2861
2865
  ),
2862
2866
  /* @__PURE__ */ r(
@@ -2864,17 +2868,17 @@ const ta = "av-toggle", oa = (e) => {
2864
2868
  {
2865
2869
  label: "About",
2866
2870
  onClick: J,
2867
- icon: /* @__PURE__ */ r(xo, {})
2871
+ icon: /* @__PURE__ */ r(Io, {})
2868
2872
  }
2869
2873
  ),
2870
2874
  e && e.id && !e.isComponent && /* @__PURE__ */ v(A, { children: [
2871
- /* @__PURE__ */ r(Ro, {}),
2875
+ /* @__PURE__ */ r(Ao, {}),
2872
2876
  /* @__PURE__ */ r(
2873
2877
  W,
2874
2878
  {
2875
2879
  label: "Log out",
2876
2880
  onClick: te,
2877
- icon: /* @__PURE__ */ r("div", { className: "text-red-700", children: /* @__PURE__ */ r(wo, { monotone: !0 }) })
2881
+ icon: /* @__PURE__ */ r("div", { className: "text-red-700", children: /* @__PURE__ */ r(To, { monotone: !0 }) })
2878
2882
  }
2879
2883
  )
2880
2884
  ] })
@@ -2885,5 +2889,5 @@ const ta = "av-toggle", oa = (e) => {
2885
2889
  ] });
2886
2890
  };
2887
2891
  export {
2888
- wa as default
2892
+ Ta as default
2889
2893
  };