@versini/sassysaint 5.5.18 → 5.5.20

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,35 +1,35 @@
1
1
  import { jsx as o, jsxs as y, Fragment as z } from "react/jsx-runtime";
2
- import { g as L, R as O, CARDS as S, renderDataAsList as he, pluralize as ge, ABOUT_TITLE as Dt, L as Y, j as M, C as F, un as Q, INFINITE_SCROLL_LIMIT as De, INFINITE_SCROLL_THRESHOLD as Fe, LOCAL_STORAGE_PREFIX as ce, LOCAL_STORAGE_SORT as Ft, P as J, ACTION_RESET as et, ACTION_RESTORE as Ht, ACTION_SORT as He, LOCAL_STORAGE_SEARCH as Gt, HISTORY_TITLE as Ut, ye as Ie, ACTION_SEARCH as jt, debounce as Wt, M as Kt, z as Ge, durationFormatter as Yt, PROFILE_TITLE as qt, TAGS_DESCRIPTION as Zt, ACTION_SET_TAGS as Qt, DEFAULT_AI_ENGINE as me, LOCAL_STORAGE_ENGINE_TOGGLE as tt, LOCAL_STORAGE_CHAT_DETAILS as Xt, SETTINGS_TITLE as Jt, ENGINE_OPENAI as ne, ENGINE_ANTHROPIC as X, APP_NAME as er, ACTION_ENGINE as rt, getCurrentGeoLocation as tr, LOG_OUT as Ue } from "./index.Dc-g6Ljy.js";
3
- import { AppContext as ve, HistoryContext as ot, E as le, ge as rr, he as or, ue as xe, le as B, ye as ar, me as nr, be as sr, serviceCall as $, SERVICE_TYPES as V, f as W, TagsContext as ir, Pe as je, NewChatButton as cr } from "./App.oZoXeHpk.js";
4
- import * as g from "react";
5
- import I, { useId as ze, forwardRef as at, useState as R, useRef as q, useContext as D, useEffect as Z, useCallback as lr, Fragment as dr, useLayoutEffect as We } from "react";
2
+ import { g as A, R as O, CARDS as S, renderDataAsList as he, pluralize as fe, ABOUT_TITLE as Ft, L as Y, j as M, C as G, un as Q, INFINITE_SCROLL_LIMIT as Fe, INFINITE_SCROLL_THRESHOLD as Ge, LOCAL_STORAGE_PREFIX as ce, LOCAL_STORAGE_SORT as Gt, P as J, ACTION_RESET as et, ACTION_RESTORE as Vt, ACTION_SORT as Ve, LOCAL_STORAGE_SEARCH as Ut, HISTORY_TITLE as Ht, ye as Ee, ACTION_SEARCH as jt, debounce as Wt, M as Kt, z as Ue, durationFormatter as Yt, PROFILE_TITLE as Zt, PROMPTS_DESCRIPTION as qt, ACTION_SET_PROMPTS as Qt, DEFAULT_AI_ENGINE as me, LOCAL_STORAGE_ENGINE_TOGGLE as tt, LOCAL_STORAGE_CHAT_DETAILS as Xt, SETTINGS_TITLE as Jt, ENGINE_OPENAI as ne, ENGINE_ANTHROPIC as X, APP_NAME as er, ACTION_ENGINE as rt, getCurrentGeoLocation as tr, LOG_OUT as He } from "./index.D4jSn1Cz.js";
3
+ import { AppContext as ve, HistoryContext as ot, E as le, ge as rr, he as or, ue as xe, ie as P, ye as ar, me as nr, be as sr, serviceCall as $, SERVICE_TYPES as D, f as W, PromptsContext as ir, Pe as je, NewChatButton as cr } from "./App.BCrssLN1.js";
4
+ import * as f from "react";
5
+ import E, { useId as ze, forwardRef as at, useState as R, useRef as Z, useContext as F, useEffect as q, useCallback as lr, Fragment as dr, useLayoutEffect as We } from "react";
6
6
  import w from "clsx";
7
- import { useFloatingTree as nt, useFloatingNodeId as ur, useListItem as st, useFloating as it, offset as mr, flip as hr, shift as gr, autoUpdate as fr, useClick as ct, useRole as lt, useDismiss as dt, useListNavigation as pr, useTypeahead as br, useInteractions as ut, useMergeRefs as Le, FloatingNode as vr, FloatingList as yr, FloatingPortal as mt, FloatingFocusManager as ht, FloatingTree as kr, FloatingOverlay as wr } from "@floating-ui/react";
8
- const gt = ({
7
+ import { useFloatingTree as nt, useFloatingNodeId as ur, useListItem as st, useFloating as it, offset as mr, flip as hr, shift as fr, autoUpdate as gr, useClick as ct, useRole as lt, useDismiss as dt, useListNavigation as pr, useTypeahead as br, useInteractions as ut, useMergeRefs as Ae, FloatingNode as vr, FloatingList as yr, FloatingPortal as mt, FloatingFocusManager as ht, FloatingTree as kr, FloatingOverlay as wr } from "@floating-ui/react";
8
+ const ft = ({
9
9
  className: e,
10
10
  viewBox: t,
11
11
  title: r,
12
12
  monotone: a,
13
13
  ...n
14
14
  }) => /* @__PURE__ */ o(
15
- L,
15
+ A,
16
16
  {
17
- defaultViewBox: "0 0 256 176",
17
+ defaultViewBox: "0 0 24 24",
18
18
  size: "size-5",
19
19
  viewBox: t,
20
20
  className: e,
21
21
  title: r || "Anthropic",
22
22
  ...n,
23
- children: /* @__PURE__ */ o("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" })
23
+ children: /* @__PURE__ */ o("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" })
24
24
  }
25
- ), Cr = ({
25
+ ), Nr = ({
26
26
  className: e,
27
27
  viewBox: t,
28
28
  title: r,
29
29
  monotone: a,
30
30
  ...n
31
31
  }) => /* @__PURE__ */ y(
32
- L,
32
+ A,
33
33
  {
34
34
  defaultViewBox: "0 0 512 512",
35
35
  size: "size-5",
@@ -41,21 +41,28 @@ const gt = ({
41
41
  /* @__PURE__ */ o(
42
42
  "path",
43
43
  {
44
+ className: "fa-secondary",
44
45
  opacity: a ? "1" : "0.4",
45
- d: "M288.4 93.4c2.9-17.4 19.4-29.2 36.9-26.3C431.3 84.9 512 177 512 288c0 123.7-100.3 224-224 224C177 512 84.9 431.3 67.1 325.3c-2.9-17.4 8.8-33.9 26.3-36.9s33.9 8.8 36.9 26.3C142.9 390.4 208.8 448 288 448c88.4 0 160-71.6 160-160c0-79.2-57.6-145.1-133.3-157.8c-17.4-2.9-29.2-19.4-26.3-36.9z"
46
+ d: "M66.6 320c0 1.8 .1 3.5 .4 5.3C84.9 431.3 177 512 288 512c123.7 0 224-100.3 224-224c0-111-80.7-203.1-186.7-220.9c-1.8-.3-3.6-.4-5.3-.4c-15.3 0-28.9 11.1-31.5 26.7c-2.9 17.4 8.8 33.9 26.3 36.9C390.4 142.9 448 208.8 448 288c0 88.4-71.6 160-160 160c-79.2 0-145.1-57.6-157.8-133.3c-2.9-17.4-19.4-29.2-36.9-26.3c-15.6 2.6-26.7 16.2-26.7 31.5z"
46
47
  }
47
48
  ),
48
- /* @__PURE__ */ o("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" })
49
+ /* @__PURE__ */ o(
50
+ "path",
51
+ {
52
+ className: "fa-primary",
53
+ d: "M32 0L192 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-82.7 0L342.6 297.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L64 109.3 64 192c0 17.7-14.3 32-32 32s-32-14.3-32-32L0 32C0 14.3 14.3 0 32 0z"
54
+ }
55
+ )
49
56
  ]
50
57
  }
51
- ), Nr = ({
58
+ ), Cr = ({
52
59
  className: e,
53
60
  viewBox: t,
54
61
  title: r,
55
62
  monotone: a,
56
63
  ...n
57
64
  }) => /* @__PURE__ */ y(
58
- L,
65
+ A,
59
66
  {
60
67
  defaultViewBox: "0 0 448 512",
61
68
  size: "size-5",
@@ -67,11 +74,18 @@ const gt = ({
67
74
  /* @__PURE__ */ o(
68
75
  "path",
69
76
  {
77
+ className: "fa-secondary",
70
78
  opacity: a ? "1" : "0.4",
71
- d: "M416 96H32V448c0 35.3 28.7 64 64 64H352c35.3 0 64-28.7 64-64V96zM144 176V400c0 8.8-7.2 16-16 16s-16-7.2-16-16V176c0-8.8 7.2-16 16-16s16 7.2 16 16zm96 0V400c0 8.8-7.2 16-16 16s-16-7.2-16-16V176c0-8.8 7.2-16 16-16s16 7.2 16 16zm96 0V400c0 8.8-7.2 16-16 16s-16-7.2-16-16V176c0-8.8 7.2-16 16-16s16 7.2 16 16z"
79
+ d: "M32 96l0 352c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-352L32 96zm80 80c0-8.8 7.2-16 16-16s16 7.2 16 16l0 224c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-224zm96 0c0-8.8 7.2-16 16-16s16 7.2 16 16l0 224c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-224zm96 0c0-8.8 7.2-16 16-16s16 7.2 16 16l0 224c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-224z"
72
80
  }
73
81
  ),
74
- /* @__PURE__ */ o("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" })
82
+ /* @__PURE__ */ o(
83
+ "path",
84
+ {
85
+ className: "fa-primary",
86
+ d: "M163.8 0c-12.1 0-23.2 6.8-28.6 17.7L128 32 32 32C14.3 32 0 46.3 0 64S14.3 96 32 96l384 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-96 0-7.2-14.3C307.4 6.8 296.3 0 284.2 0L163.8 0z"
87
+ }
88
+ )
75
89
  ]
76
90
  }
77
91
  ), xr = ({
@@ -81,7 +95,7 @@ const gt = ({
81
95
  monotone: a,
82
96
  ...n
83
97
  }) => /* @__PURE__ */ y(
84
- L,
98
+ A,
85
99
  {
86
100
  defaultViewBox: "0 0 512 512",
87
101
  size: "size-5",
@@ -93,21 +107,28 @@ const gt = ({
93
107
  /* @__PURE__ */ o(
94
108
  "path",
95
109
  {
110
+ className: "fa-secondary",
96
111
  opacity: a ? "1" : "0.4",
97
- d: "M0 160c0-53 43-96 96-96h96c17.7 0 32 14.3 32 32s-14.3 32-32 32H96c-17.7 0-32 14.3-32 32V416c0 17.7 14.3 32 32 32H352c17.7 0 32-14.3 32-32V320c0-17.7 14.3-32 32-32s32 14.3 32 32v96c0 53-43 96-96 96H96c-53 0-96-43-96-96V160z"
112
+ d: "M0 160c0-53 43-96 96-96l96 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-96 0c-17.7 0-32 14.3-32 32l0 256c0 17.7 14.3 32 32 32l256 0c17.7 0 32-14.3 32-32l0-96c0-17.7 14.3-32 32-32s32 14.3 32 32l0 96c0 53-43 96-96 96L96 512c-53 0-96-43-96-96L0 160z"
98
113
  }
99
114
  ),
100
- /* @__PURE__ */ o("path", { d: "M392.4 21.7L362.3 51.7l97.9 97.9 30.1-30.1c21.9-21.9 21.9-57.3 0-79.2L471.6 21.7c-21.9-21.9-57.3-21.9-79.2 0zM339.7 74.3L172.4 241.7c-6.1 6.1-10.8 13.6-13.5 21.9l-29.6 88.8c-2.9 8.6-.6 18.1 5.8 24.6s15.9 8.7 24.6 5.8l88.8-29.6c8.2-2.7 15.7-7.4 21.9-13.5L437.7 172.3 339.7 74.3z" })
115
+ /* @__PURE__ */ o(
116
+ "path",
117
+ {
118
+ className: "fa-primary",
119
+ d: "M392.4 21.7L362.3 51.7l97.9 97.9 30.1-30.1c21.9-21.9 21.9-57.3 0-79.2L471.6 21.7c-21.9-21.9-57.3-21.9-79.2 0zM339.7 74.3L172.4 241.7c-6.1 6.1-10.8 13.6-13.5 21.9l-29.6 88.8c-2.9 8.6-.6 18.1 5.8 24.6s15.9 8.7 24.6 5.8l88.8-29.6c8.2-2.7 15.7-7.4 21.9-13.5L437.7 172.3 339.7 74.3z"
120
+ }
121
+ )
101
122
  ]
102
123
  }
103
- ), Tr = ({
124
+ ), Ir = ({
104
125
  className: e,
105
126
  viewBox: t,
106
127
  title: r,
107
128
  monotone: a,
108
129
  ...n
109
130
  }) => /* @__PURE__ */ y(
110
- L,
131
+ A,
111
132
  {
112
133
  defaultViewBox: "0 0 512 512",
113
134
  size: "size-5",
@@ -119,21 +140,28 @@ const gt = ({
119
140
  /* @__PURE__ */ o(
120
141
  "path",
121
142
  {
143
+ className: "fa-secondary",
122
144
  opacity: a ? "1" : "0.4",
123
- d: "M120.2 120.2C155 85.5 203 64 256 64c106 0 192 86 192 192s-86 192-192 192c-40.8 0-78.6-12.7-109.7-34.4c-14.5-10.1-34.4-6.6-44.6 7.9s-6.6 34.4 7.9 44.6C151.2 495 201.7 512 256 512c141.4 0 256-114.6 256-256S397.4 0 256 0C185.3 0 121.3 28.7 75 75L41 41C25.9 25.9 0 36.6 0 57.9V168c0 13.3 10.7 24 24 24H134.1c21.4 0 32.1-25.9 17-41l-30.8-30.8z"
145
+ d: "M0 57.9L0 168c0 13.3 10.7 24 24 24l110.1 0c21.4 0 32.1-25.9 17-41l-30.8-30.8C155 85.5 203 64 256 64c106 0 192 86 192 192s-86 192-192 192c-40.8 0-78.6-12.7-109.7-34.4c-14.5-10.1-34.4-6.6-44.6 7.9s-6.6 34.4 7.9 44.6C151.2 495 201.7 512 256 512c141.4 0 256-114.6 256-256S397.4 0 256 0C185.3 0 121.3 28.7 75 75L41 41C25.9 25.9 0 36.6 0 57.9z"
124
146
  }
125
147
  ),
126
- /* @__PURE__ */ o("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" })
148
+ /* @__PURE__ */ o(
149
+ "path",
150
+ {
151
+ className: "fa-primary",
152
+ d: "M256 128c13.3 0 24 10.7 24 24l0 94.1 65 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-17l0-104c0-13.3 10.7-24 24-24z"
153
+ }
154
+ )
127
155
  ]
128
156
  }
129
- ), Ir = ({
157
+ ), Er = ({
130
158
  className: e,
131
159
  viewBox: t,
132
160
  title: r,
133
161
  monotone: a,
134
162
  ...n
135
163
  }) => /* @__PURE__ */ y(
136
- L,
164
+ A,
137
165
  {
138
166
  defaultViewBox: "0 0 512 512",
139
167
  size: "size-5",
@@ -145,21 +173,28 @@ const gt = ({
145
173
  /* @__PURE__ */ o(
146
174
  "path",
147
175
  {
176
+ className: "fa-secondary",
148
177
  opacity: "0.4",
149
- d: "M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336h24V272H216c-13.3 0-24-10.7-24-24s10.7-24 24-24h48c13.3 0 24 10.7 24 24v88h8c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-208a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"
178
+ d: "M0 256a256 256 0 1 0 512 0A256 256 0 1 0 0 256zm192-8c0-13.3 10.7-24 24-24l48 0c13.3 0 24 10.7 24 24l0 88 8 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l24 0 0-64-24 0c-13.3 0-24-10.7-24-24zm96-88a32 32 0 1 1 -64 0 32 32 0 1 1 64 0z"
150
179
  }
151
180
  ),
152
- /* @__PURE__ */ o("path", { d: "M256 128a32 32 0 1 1 0 64 32 32 0 1 1 0-64zM192 248c0-13.3 10.7-24 24-24h48c13.3 0 24 10.7 24 24v88h8c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24s10.7-24 24-24h24V272H216c-13.3 0-24-10.7-24-24z" })
181
+ /* @__PURE__ */ o(
182
+ "path",
183
+ {
184
+ className: "fa-primary",
185
+ d: "M256 128a32 32 0 1 1 0 64 32 32 0 1 1 0-64zM192 248c0-13.3 10.7-24 24-24l48 0c13.3 0 24 10.7 24 24l0 88 8 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l24 0 0-64-24 0c-13.3 0-24-10.7-24-24z"
186
+ }
187
+ )
153
188
  ]
154
189
  }
155
- ), ft = ({
190
+ ), gt = ({
156
191
  className: e,
157
192
  viewBox: t,
158
193
  title: r,
159
194
  monotone: a,
160
195
  ...n
161
196
  }) => /* @__PURE__ */ o(
162
- L,
197
+ A,
163
198
  {
164
199
  defaultViewBox: "0 0 24 24",
165
200
  size: "size-5",
@@ -167,22 +202,16 @@ const gt = ({
167
202
  className: e,
168
203
  title: r || "OpenAI",
169
204
  ...n,
170
- children: /* @__PURE__ */ o(
171
- "path",
172
- {
173
- fill: "currentColor",
174
- d: "M22.282 9.821a6 6 0 0 0-.516-4.91a6.05 6.05 0 0 0-6.51-2.9A6.065 6.065 0 0 0 4.981 4.18a6 6 0 0 0-3.998 2.9a6.05 6.05 0 0 0 .743 7.097a5.98 5.98 0 0 0 .51 4.911a6.05 6.05 0 0 0 6.515 2.9A6 6 0 0 0 13.26 24a6.06 6.06 0 0 0 5.772-4.206a6 6 0 0 0 3.997-2.9a6.06 6.06 0 0 0-.747-7.073M13.26 22.43a4.48 4.48 0 0 1-2.876-1.04l.141-.081l4.779-2.758a.8.8 0 0 0 .392-.681v-6.737l2.02 1.168a.07.07 0 0 1 .038.052v5.583a4.504 4.504 0 0 1-4.494 4.494M3.6 18.304a4.47 4.47 0 0 1-.535-3.014l.142.085l4.783 2.759a.77.77 0 0 0 .78 0l5.843-3.369v2.332a.08.08 0 0 1-.033.062L9.74 19.95a4.5 4.5 0 0 1-6.14-1.646M2.34 7.896a4.5 4.5 0 0 1 2.366-1.973V11.6a.77.77 0 0 0 .388.677l5.815 3.354l-2.02 1.168a.08.08 0 0 1-.071 0l-4.83-2.786A4.504 4.504 0 0 1 2.34 7.872zm16.597 3.855l-5.833-3.387L15.119 7.2a.08.08 0 0 1 .071 0l4.83 2.791a4.494 4.494 0 0 1-.676 8.105v-5.678a.79.79 0 0 0-.407-.667m2.01-3.023l-.141-.085l-4.774-2.782a.78.78 0 0 0-.785 0L9.409 9.23V6.897a.07.07 0 0 1 .028-.061l4.83-2.787a4.5 4.5 0 0 1 6.68 4.66zm-12.64 4.135l-2.02-1.164a.08.08 0 0 1-.038-.057V6.075a4.5 4.5 0 0 1 7.375-3.453l-.142.08L8.704 5.46a.8.8 0 0 0-.393.681zm1.097-2.365l2.602-1.5l2.607 1.5v2.999l-2.597 1.5l-2.607-1.5Z"
175
- }
176
- )
205
+ children: /* @__PURE__ */ o("path", { d: "M22.2819 9.8211a5.9847 5.9847 0 0 0-.5157-4.9108 6.0462 6.0462 0 0 0-6.5098-2.9A6.0651 6.0651 0 0 0 4.9807 4.1818a5.9847 5.9847 0 0 0-3.9977 2.9 6.0462 6.0462 0 0 0 .7427 7.0966 5.98 5.98 0 0 0 .511 4.9107 6.051 6.051 0 0 0 6.5146 2.9001A5.9847 5.9847 0 0 0 13.2599 24a6.0557 6.0557 0 0 0 5.7718-4.2058 5.9894 5.9894 0 0 0 3.9977-2.9001 6.0557 6.0557 0 0 0-.7475-7.0729zm-9.022 12.6081a4.4755 4.4755 0 0 1-2.8764-1.0408l.1419-.0804 4.7783-2.7582a.7948.7948 0 0 0 .3927-.6813v-6.7369l2.02 1.1686a.071.071 0 0 1 .038.052v5.5826a4.504 4.504 0 0 1-4.4945 4.4944zm-9.6607-4.1254a4.4708 4.4708 0 0 1-.5346-3.0137l.142.0852 4.783 2.7582a.7712.7712 0 0 0 .7806 0l5.8428-3.3685v2.3324a.0804.0804 0 0 1-.0332.0615L9.74 19.9502a4.4992 4.4992 0 0 1-6.1408-1.6464zM2.3408 7.8956a4.485 4.485 0 0 1 2.3655-1.9728V11.6a.7664.7664 0 0 0 .3879.6765l5.8144 3.3543-2.0201 1.1685a.0757.0757 0 0 1-.071 0l-4.8303-2.7865A4.504 4.504 0 0 1 2.3408 7.872zm16.5963 3.8558L13.1038 8.364 15.1192 7.2a.0757.0757 0 0 1 .071 0l4.8303 2.7913a4.4944 4.4944 0 0 1-.6765 8.1042v-5.6772a.79.79 0 0 0-.407-.667zm2.0107-3.0231l-.142-.0852-4.7735-2.7818a.7759.7759 0 0 0-.7854 0L9.409 9.2297V6.8974a.0662.0662 0 0 1 .0284-.0615l4.8303-2.7866a4.4992 4.4992 0 0 1 6.6802 4.66zM8.3065 12.863l-2.02-1.1638a.0804.0804 0 0 1-.038-.0567V6.0742a4.4992 4.4992 0 0 1 7.3757-3.4537l-.142.0805L8.704 5.459a.7948.7948 0 0 0-.3927.6813zm1.0976-2.3654l2.602-1.4998 2.6069 1.4998v2.9994l-2.5974 1.4997-2.6067-1.4997Z" })
177
206
  }
178
- ), Er = ({
207
+ ), Tr = ({
179
208
  className: e,
180
209
  viewBox: t,
181
210
  title: r,
182
211
  monotone: a,
183
212
  ...n
184
213
  }) => /* @__PURE__ */ y(
185
- L,
214
+ A,
186
215
  {
187
216
  defaultViewBox: "0 0 576 512",
188
217
  size: "size-5",
@@ -194,11 +223,18 @@ const gt = ({
194
223
  /* @__PURE__ */ o(
195
224
  "path",
196
225
  {
226
+ className: "fa-secondary",
197
227
  opacity: "0.4",
198
- d: "M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H512c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm80 256h64c44.2 0 80 35.8 80 80c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16c0-44.2 35.8-80 80-80zm-32-96a64 64 0 1 1 128 0 64 64 0 1 1 -128 0zm256-32H496c8.8 0 16 7.2 16 16s-7.2 16-16 16H368c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H496c8.8 0 16 7.2 16 16s-7.2 16-16 16H368c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H496c8.8 0 16 7.2 16 16s-7.2 16-16 16H368c-8.8 0-16-7.2-16-16s7.2-16 16-16z"
228
+ d: "M0 96L0 416c0 35.3 28.7 64 64 64l448 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32C28.7 32 0 60.7 0 96zM64 368c0-44.2 35.8-80 80-80l64 0c44.2 0 80 35.8 80 80c0 8.8-7.2 16-16 16L80 384c-8.8 0-16-7.2-16-16zM240 192a64 64 0 1 1 -128 0 64 64 0 1 1 128 0zm112-16c0-8.8 7.2-16 16-16l128 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-128 0c-8.8 0-16-7.2-16-16zm0 64c0-8.8 7.2-16 16-16l128 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-128 0c-8.8 0-16-7.2-16-16zm0 64c0-8.8 7.2-16 16-16l128 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-128 0c-8.8 0-16-7.2-16-16z"
199
229
  }
200
230
  ),
201
- /* @__PURE__ */ o("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" })
231
+ /* @__PURE__ */ o(
232
+ "path",
233
+ {
234
+ className: "fa-primary",
235
+ 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 16l192 0c8.8 0 16-7.2 16-16c0-44.2-35.8-80-80-80l-64 0z"
236
+ }
237
+ )
202
238
  ]
203
239
  }
204
240
  ), _r = ({
@@ -208,7 +244,7 @@ const gt = ({
208
244
  monotone: a,
209
245
  ...n
210
246
  }) => /* @__PURE__ */ y(
211
- L,
247
+ A,
212
248
  {
213
249
  defaultViewBox: "0 0 512 512",
214
250
  size: "size-5",
@@ -220,11 +256,18 @@ const gt = ({
220
256
  /* @__PURE__ */ o(
221
257
  "path",
222
258
  {
259
+ className: "fa-secondary",
223
260
  opacity: a ? "1" : "0.4",
224
- d: "M208 64H432c8.8 0 16 7.2 16 16V304c0 8.8-7.2 16-16 16H416v64h16c44.2 0 80-35.8 80-80V80c0-44.2-35.8-80-80-80H208c-44.2 0-80 35.8-80 80V96h64V80c0-8.8 7.2-16 16-16z"
261
+ d: "M128 80l0 16 64 0 0-16c0-8.8 7.2-16 16-16l224 0c8.8 0 16 7.2 16 16l0 224c0 8.8-7.2 16-16 16l-16 0 0 64 16 0c44.2 0 80-35.8 80-80l0-224c0-44.2-35.8-80-80-80L208 0c-44.2 0-80 35.8-80 80z"
225
262
  }
226
263
  ),
227
- /* @__PURE__ */ o("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" })
264
+ /* @__PURE__ */ o(
265
+ "path",
266
+ {
267
+ className: "fa-primary",
268
+ d: "M64 128c-35.3 0-64 28.7-64 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-256c0-35.3-28.7-64-64-64L64 128zm32 64l192 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L96 256c-17.7 0-32-14.3-32-32s14.3-32 32-32z"
269
+ }
270
+ )
228
271
  ]
229
272
  }
230
273
  ), Sr = ({
@@ -234,7 +277,7 @@ const gt = ({
234
277
  monotone: a,
235
278
  ...n
236
279
  }) => /* @__PURE__ */ o(
237
- L,
280
+ A,
238
281
  {
239
282
  defaultViewBox: "0 0 448 512",
240
283
  size: "size-5",
@@ -251,7 +294,7 @@ const gt = ({
251
294
  monotone: a,
252
295
  ...n
253
296
  }) => /* @__PURE__ */ y(
254
- L,
297
+ A,
255
298
  {
256
299
  defaultViewBox: "0 0 512 512",
257
300
  size: "size-5",
@@ -265,23 +308,23 @@ const gt = ({
265
308
  {
266
309
  className: "fa-secondary",
267
310
  opacity: a ? "1" : "0.4",
268
- d: "M128 416a32 32 0 1 0 64 0 32 32 0 1 0 -64 0zM160 96a32 32 0 1 0 64 0 32 32 0 1 0 -64 0zM320 256a32 32 0 1 0 64 0 32 32 0 1 0 -64 0z"
311
+ d: "M0 96C0 78.3 14.3 64 32 64l86.7 0c-2.1 4.9-3.8 10.1-4.9 15.4c-.6 2.7-1 5.4-1.3 8.2c-.1 1.4-.3 2.8-.3 4.2s-.1 2.8-.1 4.2c0 11.4 2.4 22.2 6.7 32L32 128C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32l246.7 0c-2.1 4.9-3.8 10.1-4.9 15.4c-.6 2.7-1 5.4-1.3 8.2c-.1 1.4-.3 2.8-.3 4.2s-.1 2.8-.1 4.2c0 11.4 2.4 22.2 6.7 32L32 288c-17.7 0-32-14.3-32-32zM0 416c0-17.7 14.3-32 32-32l54.7 0c-2.1 4.9-3.8 10.1-4.9 15.4c-.6 2.7-1 5.4-1.3 8.2c-.1 1.4-.3 2.8-.3 4.2s-.1 2.8-.1 4.2c0 11.4 2.4 22.2 6.7 32L32 448c-17.7 0-32-14.3-32-32zm233.3-32L480 384c17.7 0 32 14.3 32 32s-14.3 32-32 32l-246.7 0c2.1-4.9 3.8-10.1 4.9-15.4c.6-2.7 1-5.4 1.3-8.2c.1-1.4 .3-2.8 .3-4.2s.1-2.8 .1-4.2c0-11.4-2.4-22.2-6.7-32zm32-320L480 64c17.7 0 32 14.3 32 32s-14.3 32-32 32l-214.7 0c2.1-4.9 3.8-10.1 4.9-15.4c.6-2.7 1-5.4 1.3-8.2c.1-1.4 .3-2.8 .3-4.2s.1-2.8 .1-4.2c0-11.4-2.4-22.2-6.7-32zm160 160l54.7 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-54.7 0c2.1-4.9 3.8-10.1 4.9-15.4c.6-2.7 1-5.4 1.3-8.2c.1-1.4 .3-2.8 .3-4.2s.1-2.8 .1-4.2c0-11.4-2.4-22.2-6.7-32z"
269
312
  }
270
313
  ),
271
314
  /* @__PURE__ */ o(
272
315
  "path",
273
316
  {
274
317
  className: "fa-primary",
275
- d: "M0 416c0 13.3 10.7 24 24 24l59.7 0c10.2 32.5 40.5 56 76.3 56s66.1-23.5 76.3-56L488 440c13.3 0 24-10.7 24-24s-10.7-24-24-24l-251.7 0c-10.2-32.5-40.5-56-76.3-56s-66.1 23.5-76.3 56L24 392c-13.3 0-24 10.7-24 24zm128 0a32 32 0 1 1 64 0 32 32 0 1 1 -64 0zM320 256a32 32 0 1 1 64 0 32 32 0 1 1 -64 0zm32-80c-35.8 0-66.1 23.5-76.3 56L24 232c-13.3 0-24 10.7-24 24s10.7 24 24 24l251.7 0c10.2 32.5 40.5 56 76.3 56s66.1-23.5 76.3-56l59.7 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-59.7 0c-10.2-32.5-40.5-56-76.3-56zM192 128a32 32 0 1 1 0-64 32 32 0 1 1 0 64zm76.3-56C258.1 39.5 227.8 16 192 16s-66.1 23.5-76.3 56L24 72C10.7 72 0 82.7 0 96s10.7 24 24 24l91.7 0c10.2 32.5 40.5 56 76.3 56s66.1-23.5 76.3-56L488 120c13.3 0 24-10.7 24-24s-10.7-24-24-24L268.3 72z"
318
+ d: "M128 416a32 32 0 1 1 64 0 32 32 0 1 1 -64 0zm112 0A80 80 0 1 0 80 416a80 80 0 1 0 160 0zm80-160a32 32 0 1 1 64 0 32 32 0 1 1 -64 0zm112 0a80 80 0 1 0 -160 0 80 80 0 1 0 160 0zM192 128a32 32 0 1 1 0-64 32 32 0 1 1 0 64zm0-112a80 80 0 1 0 0 160 80 80 0 1 0 0-160z"
276
319
  }
277
320
  )
278
321
  ]
279
322
  }
280
323
  );
281
- function fe(e) {
324
+ function ge(e) {
282
325
  return ze();
283
326
  }
284
- const Ee = g.createContext({
327
+ const Te = f.createContext({
285
328
  getItemProps: () => ({}),
286
329
  activeIndex: null,
287
330
  /* v8 ignore next 2 */
@@ -312,7 +355,7 @@ const Ee = g.createContext({
312
355
  focusMode: i = "system",
313
356
  ...c
314
357
  }, l) => {
315
- const [d, u] = R(!1), [f, p] = R(!1), [v, h] = R(null), k = q([]), b = q([]), C = D(Ee), x = nt(), m = ur(), N = st(), { floatingStyles: E, refs: A, context: _ } = it({
358
+ const [d, u] = R(!1), [g, p] = R(!1), [v, h] = R(null), k = Z([]), b = Z([]), N = F(Te), x = nt(), m = ur(), C = st(), { floatingStyles: T, refs: L, context: _ } = it({
316
359
  nodeId: m,
317
360
  open: d,
318
361
  onOpenChange: (ae) => {
@@ -320,13 +363,13 @@ const Ee = g.createContext({
320
363
  },
321
364
  placement: a,
322
365
  strategy: "fixed",
323
- middleware: [mr({ mainAxis: 10 }), hr(), gr()],
324
- whileElementsMounted: fr
325
- }), T = ct(_, {
366
+ middleware: [mr({ mainAxis: 10 }), hr(), fr()],
367
+ whileElementsMounted: gr
368
+ }), I = ct(_, {
326
369
  event: "mousedown",
327
370
  toggle: !0,
328
371
  ignoreMouse: !1
329
- }), H = lt(_, { role: "menu" }), G = dt(_, { bubbles: !0 }), U = pr(_, {
372
+ }), V = lt(_, { role: "menu" }), U = dt(_, { bubbles: !0 }), H = pr(_, {
330
373
  listRef: k,
331
374
  activeIndex: v,
332
375
  nested: !1,
@@ -336,26 +379,26 @@ const Ee = g.createContext({
336
379
  listRef: b,
337
380
  onMatch: d ? h : void 0,
338
381
  activeIndex: v
339
- }), { getReferenceProps: oe, getFloatingProps: Ne, getItemProps: P } = ut([T, H, G, U, re]), Ve = Ke(e) === "Button" || Ke(e) === "ButtonIcon", $t = Ve ? {
340
- noInternalClick: Ve,
382
+ }), { getReferenceProps: oe, getFloatingProps: Ce, getItemProps: B } = ut([I, V, U, H, re]), De = Ke(e) === "Button" || Ke(e) === "ButtonIcon", $t = De ? {
383
+ noInternalClick: De,
341
384
  focusMode: i,
342
385
  mode: s
343
- } : {}, Vt = I.cloneElement(
386
+ } : {}, Dt = E.cloneElement(
344
387
  e,
345
388
  {
346
389
  ...$t,
347
390
  "aria-label": r,
348
391
  "data-open": d ? "" : void 0,
349
- "data-focus-inside": f ? "" : void 0,
350
- ref: Le([A.setReference, N.ref, l]),
392
+ "data-focus-inside": g ? "" : void 0,
393
+ ref: Ae([L.setReference, C.ref, l]),
351
394
  ...oe(
352
- C.getItemProps({
395
+ N.getItemProps({
353
396
  ...c
354
397
  })
355
398
  )
356
399
  }
357
400
  );
358
- return Z(() => {
401
+ return q(() => {
359
402
  if (!x)
360
403
  return;
361
404
  function ae() {
@@ -364,17 +407,17 @@ const Ee = g.createContext({
364
407
  return x.events.on("click", ae), () => {
365
408
  x.events.off("click", ae);
366
409
  };
367
- }, [x, n]), Z(() => {
410
+ }, [x, n]), q(() => {
368
411
  d && x && x.events.emit("menuopen", { nodeId: m });
369
412
  }, [x, d, m]), /* @__PURE__ */ y(vr, { id: m, children: [
370
- Vt,
413
+ Dt,
371
414
  /* @__PURE__ */ o(
372
- Ee.Provider,
415
+ Te.Provider,
373
416
  {
374
417
  value: {
375
418
  activeIndex: v,
376
419
  setActiveIndex: h,
377
- getItemProps: P,
420
+ getItemProps: B,
378
421
  setHasFocusInside: p,
379
422
  isOpen: d
380
423
  },
@@ -388,10 +431,10 @@ const Ee = g.createContext({
388
431
  children: /* @__PURE__ */ o(
389
432
  "div",
390
433
  {
391
- ref: A.setFloating,
434
+ ref: L.setFloating,
392
435
  className: "rounded-md bg-surface-light p-4 shadow-sm shadow-border-dark outline-none sm:p-2",
393
- style: E,
394
- ...Ne(),
436
+ style: T,
437
+ ...Ce(),
395
438
  children: t
396
439
  }
397
440
  )
@@ -404,7 +447,7 @@ const Ee = g.createContext({
404
447
  ), _e = at((e, t) => /* @__PURE__ */ o(kr, { children: /* @__PURE__ */ o(pt, { ...e, ref: t }) }));
405
448
  _e.displayName = "Menu";
406
449
  pt.displayName = "MenuComponent";
407
- const j = g.forwardRef(
450
+ const j = f.forwardRef(
408
451
  ({
409
452
  label: e,
410
453
  disabled: t,
@@ -415,7 +458,7 @@ const j = g.forwardRef(
415
458
  ...i
416
459
  }, c) => {
417
460
  let l = "";
418
- const d = g.useContext(Ee), u = st({ label: t ? null : e }), f = nt(), p = Le([u.ref, c]);
461
+ const d = f.useContext(Te), u = st({ label: t ? null : e }), g = nt(), p = Ae([u.ref, c]);
419
462
  return a && n ? /* @__PURE__ */ o(
420
463
  "div",
421
464
  {
@@ -423,7 +466,7 @@ const j = g.forwardRef(
423
466
  ...d.getItemProps({
424
467
  onClick(v) {
425
468
  var h;
426
- s || ((h = i.onClick) == null || h.call(i, v), f == null || f.events.emit("click"));
469
+ s || ((h = i.onClick) == null || h.call(i, v), g == null || g.events.emit("click"));
427
470
  }
428
471
  }),
429
472
  children: n
@@ -440,7 +483,7 @@ const j = g.forwardRef(
440
483
  ...d.getItemProps({
441
484
  onClick(v) {
442
485
  var h;
443
- s || ((h = i.onClick) == null || h.call(i, v), f == null || f.events.emit("click"));
486
+ s || ((h = i.onClick) == null || h.call(i, v), g == null || g.events.emit("click"));
444
487
  },
445
488
  onFocus(v) {
446
489
  var h;
@@ -461,13 +504,13 @@ const Mr = ({ className: e, ...t }) => {
461
504
  return /* @__PURE__ */ o("div", { className: r, ...t });
462
505
  };
463
506
  /*!
464
- @versini/ui-menu v3.0.0
507
+ @versini/ui-menu v3.0.2
465
508
  © 2025 gizmette.com
466
509
  */
467
510
  try {
468
511
  window.__VERSINI_UI_MENU__ || (window.__VERSINI_UI_MENU__ = {
469
- version: "3.0.0",
470
- buildTime: "01/03/2025 10:45 AM EST",
512
+ version: "3.0.2",
513
+ buildTime: "01/04/2025 04:09 PM EST",
471
514
  homepage: "https://github.com/aversini/ui-components",
472
515
  license: "MIT"
473
516
  });
@@ -486,40 +529,40 @@ try {
486
529
  });
487
530
  } catch {
488
531
  }
489
- const Ar = "av-togglegroup", zr = "av-togglegroup-item-wrapper", Lr = "av-togglegroup-item";
490
- function Be(e, t = []) {
532
+ const Lr = "av-togglegroup", zr = "av-togglegroup-item-wrapper", Ar = "av-togglegroup-item";
533
+ function Pe(e, t = []) {
491
534
  let r = [];
492
535
  function a(s, i) {
493
- const c = g.createContext(i), l = r.length;
536
+ const c = f.createContext(i), l = r.length;
494
537
  r = [...r, i];
495
- const d = (f) => {
538
+ const d = (g) => {
496
539
  var p;
497
- const { scope: v, children: h, ...k } = f, b = ((p = v == null ? void 0 : v[e]) == null ? void 0 : p[l]) || c, C = g.useMemo(() => k, Object.values(k));
498
- return /* @__PURE__ */ o(b.Provider, { value: C, children: h });
540
+ const { scope: v, children: h, ...k } = g, b = ((p = v == null ? void 0 : v[e]) == null ? void 0 : p[l]) || c, N = f.useMemo(() => k, Object.values(k));
541
+ return /* @__PURE__ */ o(b.Provider, { value: N, children: h });
499
542
  };
500
543
  d.displayName = s + "Provider";
501
- function u(f, p) {
544
+ function u(g, p) {
502
545
  var v;
503
- const h = ((v = p == null ? void 0 : p[e]) == null ? void 0 : v[l]) || c, k = g.useContext(h);
546
+ const h = ((v = p == null ? void 0 : p[e]) == null ? void 0 : v[l]) || c, k = f.useContext(h);
504
547
  if (k) return k;
505
548
  if (i !== void 0) return i;
506
- throw new Error(`\`${f}\` must be used within \`${s}\``);
549
+ throw new Error(`\`${g}\` must be used within \`${s}\``);
507
550
  }
508
551
  return [d, u];
509
552
  }
510
553
  const n = () => {
511
- const s = r.map((i) => g.createContext(i));
554
+ const s = r.map((i) => f.createContext(i));
512
555
  return function(i) {
513
556
  const c = (i == null ? void 0 : i[e]) || s;
514
- return g.useMemo(
557
+ return f.useMemo(
515
558
  () => ({ [`__scope${e}`]: { ...i, [e]: c } }),
516
559
  [i, c]
517
560
  );
518
561
  };
519
562
  };
520
- return n.scopeName = e, [a, Br(n, ...t)];
563
+ return n.scopeName = e, [a, Pr(n, ...t)];
521
564
  }
522
- function Br(...e) {
565
+ function Pr(...e) {
523
566
  const t = e[0];
524
567
  if (e.length === 1) return t;
525
568
  const r = () => {
@@ -532,7 +575,7 @@ function Br(...e) {
532
575
  const d = c(n)[`__scope${l}`];
533
576
  return { ...i, ...d };
534
577
  }, {});
535
- return g.useMemo(() => ({ [`__scope${t.scopeName}`]: s }), [s]);
578
+ return f.useMemo(() => ({ [`__scope${t.scopeName}`]: s }), [s]);
536
579
  };
537
580
  };
538
581
  return r.scopeName = t.scopeName, r;
@@ -559,33 +602,33 @@ function bt(...e) {
559
602
  };
560
603
  }
561
604
  function Se(...e) {
562
- return g.useCallback(bt(...e), e);
605
+ return f.useCallback(bt(...e), e);
563
606
  }
564
- var pe = g.forwardRef((e, t) => {
565
- const { children: r, ...a } = e, n = g.Children.toArray(r), s = n.find(Or);
607
+ var pe = f.forwardRef((e, t) => {
608
+ const { children: r, ...a } = e, n = f.Children.toArray(r), s = n.find(Or);
566
609
  if (s) {
567
- const i = s.props.children, c = n.map((l) => l === s ? g.Children.count(i) > 1 ? g.Children.only(null) : g.isValidElement(i) ? i.props.children : null : l);
568
- return /* @__PURE__ */ o(Re, { ...a, ref: t, children: g.isValidElement(i) ? g.cloneElement(i, void 0, c) : null });
610
+ const i = s.props.children, c = n.map((l) => l === s ? f.Children.count(i) > 1 ? f.Children.only(null) : f.isValidElement(i) ? i.props.children : null : l);
611
+ return /* @__PURE__ */ o(Re, { ...a, ref: t, children: f.isValidElement(i) ? f.cloneElement(i, void 0, c) : null });
569
612
  }
570
613
  return /* @__PURE__ */ o(Re, { ...a, ref: t, children: r });
571
614
  });
572
615
  pe.displayName = "Slot";
573
- var Re = g.forwardRef((e, t) => {
616
+ var Re = f.forwardRef((e, t) => {
574
617
  const { children: r, ...a } = e;
575
- if (g.isValidElement(r)) {
576
- const n = Vr(r);
577
- return g.cloneElement(r, {
618
+ if (f.isValidElement(r)) {
619
+ const n = Dr(r);
620
+ return f.cloneElement(r, {
578
621
  ...$r(a, r.props),
579
622
  // @ts-ignore
580
623
  ref: t ? bt(t, n) : n
581
624
  });
582
625
  }
583
- return g.Children.count(r) > 1 ? g.Children.only(null) : null;
626
+ return f.Children.count(r) > 1 ? f.Children.only(null) : null;
584
627
  });
585
628
  Re.displayName = "SlotClone";
586
- var Pr = ({ children: e }) => /* @__PURE__ */ o(z, { children: e });
629
+ var Br = ({ children: e }) => /* @__PURE__ */ o(z, { children: e });
587
630
  function Or(e) {
588
- return g.isValidElement(e) && e.type === Pr;
631
+ return f.isValidElement(e) && e.type === Br;
589
632
  }
590
633
  function $r(e, t) {
591
634
  const r = { ...t };
@@ -597,12 +640,12 @@ function $r(e, t) {
597
640
  }
598
641
  return { ...e, ...r };
599
642
  }
600
- function Vr(e) {
643
+ function Dr(e) {
601
644
  var t, r;
602
645
  let a = (t = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : t.get, n = a && "isReactWarning" in a && a.isReactWarning;
603
646
  return n ? e.ref : (a = (r = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : r.get, n = a && "isReactWarning" in a && a.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
604
647
  }
605
- var Dr = [
648
+ var Fr = [
606
649
  "a",
607
650
  "button",
608
651
  "div",
@@ -619,8 +662,8 @@ var Dr = [
619
662
  "span",
620
663
  "svg",
621
664
  "ul"
622
- ], de = Dr.reduce((e, t) => {
623
- const r = g.forwardRef((a, n) => {
665
+ ], de = Fr.reduce((e, t) => {
666
+ const r = f.forwardRef((a, n) => {
624
667
  const { asChild: s, ...i } = a, c = s ? pe : t;
625
668
  return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ o(c, { ...i, ref: n });
626
669
  });
@@ -632,60 +675,60 @@ function K(e, t, { checkForDefaultPrevented: r = !0 } = {}) {
632
675
  return t == null ? void 0 : t(a);
633
676
  };
634
677
  }
635
- function Fr(e) {
636
- const t = e + "CollectionProvider", [r, a] = Be(t), [n, s] = r(
678
+ function Gr(e) {
679
+ const t = e + "CollectionProvider", [r, a] = Pe(t), [n, s] = r(
637
680
  t,
638
681
  { collectionRef: { current: null }, itemMap: /* @__PURE__ */ new Map() }
639
682
  ), i = (v) => {
640
- const { scope: h, children: k } = v, b = I.useRef(null), C = I.useRef(/* @__PURE__ */ new Map()).current;
641
- return /* @__PURE__ */ o(n, { scope: h, itemMap: C, collectionRef: b, children: k });
683
+ const { scope: h, children: k } = v, b = E.useRef(null), N = E.useRef(/* @__PURE__ */ new Map()).current;
684
+ return /* @__PURE__ */ o(n, { scope: h, itemMap: N, collectionRef: b, children: k });
642
685
  };
643
686
  i.displayName = t;
644
- const c = e + "CollectionSlot", l = I.forwardRef(
687
+ const c = e + "CollectionSlot", l = E.forwardRef(
645
688
  (v, h) => {
646
- const { scope: k, children: b } = v, C = s(c, k), x = Se(h, C.collectionRef);
689
+ const { scope: k, children: b } = v, N = s(c, k), x = Se(h, N.collectionRef);
647
690
  return /* @__PURE__ */ o(pe, { ref: x, children: b });
648
691
  }
649
692
  );
650
693
  l.displayName = c;
651
- const d = e + "CollectionItemSlot", u = "data-radix-collection-item", f = I.forwardRef(
694
+ const d = e + "CollectionItemSlot", u = "data-radix-collection-item", g = E.forwardRef(
652
695
  (v, h) => {
653
- const { scope: k, children: b, ...C } = v, x = I.useRef(null), m = Se(h, x), N = s(d, k);
654
- return I.useEffect(() => (N.itemMap.set(x, { ref: x, ...C }), () => void N.itemMap.delete(x))), /* @__PURE__ */ o(pe, { [u]: "", ref: m, children: b });
696
+ const { scope: k, children: b, ...N } = v, x = E.useRef(null), m = Se(h, x), C = s(d, k);
697
+ return E.useEffect(() => (C.itemMap.set(x, { ref: x, ...N }), () => void C.itemMap.delete(x))), /* @__PURE__ */ o(pe, { [u]: "", ref: m, children: b });
655
698
  }
656
699
  );
657
- f.displayName = d;
700
+ g.displayName = d;
658
701
  function p(v) {
659
702
  const h = s(e + "CollectionConsumer", v);
660
- return I.useCallback(() => {
703
+ return E.useCallback(() => {
661
704
  const k = h.collectionRef.current;
662
705
  if (!k) return [];
663
706
  const b = Array.from(k.querySelectorAll(`[${u}]`));
664
707
  return Array.from(h.itemMap.values()).sort(
665
- (C, x) => b.indexOf(C.ref.current) - b.indexOf(x.ref.current)
708
+ (N, x) => b.indexOf(N.ref.current) - b.indexOf(x.ref.current)
666
709
  );
667
710
  }, [h.collectionRef, h.itemMap]);
668
711
  }
669
712
  return [
670
- { Provider: i, Slot: l, ItemSlot: f },
713
+ { Provider: i, Slot: l, ItemSlot: g },
671
714
  p,
672
715
  a
673
716
  ];
674
717
  }
675
- var Hr = globalThis != null && globalThis.document ? g.useLayoutEffect : () => {
676
- }, Gr = g.useId || (() => {
677
- }), Ur = 0;
718
+ var Vr = globalThis != null && globalThis.document ? f.useLayoutEffect : () => {
719
+ }, Ur = f.useId || (() => {
720
+ }), Hr = 0;
678
721
  function jr(e) {
679
- const [t, r] = g.useState(Gr());
680
- return Hr(() => {
681
- r((a) => a ?? String(Ur++));
722
+ const [t, r] = f.useState(Ur());
723
+ return Vr(() => {
724
+ r((a) => a ?? String(Hr++));
682
725
  }, [e]), t ? `radix-${t}` : "";
683
726
  }
684
- function Pe(e) {
685
- const t = g.useRef(e);
686
- return g.useEffect(() => {
727
+ function Be(e) {
728
+ const t = f.useRef(e);
729
+ return f.useEffect(() => {
687
730
  t.current = e;
688
- }), g.useMemo(() => (...r) => {
731
+ }), f.useMemo(() => (...r) => {
689
732
  var a;
690
733
  return (a = t.current) == null ? void 0 : a.call(t, ...r);
691
734
  }, []);
@@ -696,7 +739,7 @@ function ye({
696
739
  onChange: r = () => {
697
740
  }
698
741
  }) {
699
- const [a, n] = Wr({ defaultProp: t, onChange: r }), s = e !== void 0, i = s ? e : a, c = Pe(r), l = g.useCallback(
742
+ const [a, n] = Wr({ defaultProp: t, onChange: r }), s = e !== void 0, i = s ? e : a, c = Be(r), l = f.useCallback(
700
743
  (d) => {
701
744
  if (s) {
702
745
  const u = typeof d == "function" ? d(e) : d;
@@ -712,24 +755,24 @@ function Wr({
712
755
  defaultProp: e,
713
756
  onChange: t
714
757
  }) {
715
- const r = g.useState(e), [a] = r, n = g.useRef(a), s = Pe(t);
716
- return g.useEffect(() => {
758
+ const r = f.useState(e), [a] = r, n = f.useRef(a), s = Be(t);
759
+ return f.useEffect(() => {
717
760
  n.current !== a && (s(a), n.current = a);
718
761
  }, [a, n, s]), r;
719
762
  }
720
- var Kr = g.createContext(void 0);
763
+ var Kr = f.createContext(void 0);
721
764
  function vt(e) {
722
- const t = g.useContext(Kr);
765
+ const t = f.useContext(Kr);
723
766
  return e || t || "ltr";
724
767
  }
725
- var Te = "rovingFocusGroup.onEntryFocus", Yr = { bubbles: !1, cancelable: !0 }, ke = "RovingFocusGroup", [Me, yt, qr] = Fr(ke), [Zr, kt] = Be(
768
+ var Ie = "rovingFocusGroup.onEntryFocus", Yr = { bubbles: !1, cancelable: !0 }, ke = "RovingFocusGroup", [Me, yt, Zr] = Gr(ke), [qr, kt] = Pe(
726
769
  ke,
727
- [qr]
728
- ), [Qr, Xr] = Zr(ke), wt = g.forwardRef(
770
+ [Zr]
771
+ ), [Qr, Xr] = qr(ke), wt = f.forwardRef(
729
772
  (e, t) => /* @__PURE__ */ o(Me.Provider, { scope: e.__scopeRovingFocusGroup, children: /* @__PURE__ */ o(Me.Slot, { scope: e.__scopeRovingFocusGroup, children: /* @__PURE__ */ o(Jr, { ...e, ref: t }) }) })
730
773
  );
731
774
  wt.displayName = ke;
732
- var Jr = g.forwardRef((e, t) => {
775
+ var Jr = f.forwardRef((e, t) => {
733
776
  const {
734
777
  __scopeRovingFocusGroup: r,
735
778
  orientation: a,
@@ -740,16 +783,16 @@ var Jr = g.forwardRef((e, t) => {
740
783
  onCurrentTabStopIdChange: l,
741
784
  onEntryFocus: d,
742
785
  preventScrollOnEntryFocus: u = !1,
743
- ...f
744
- } = e, p = g.useRef(null), v = Se(t, p), h = vt(s), [k = null, b] = ye({
786
+ ...g
787
+ } = e, p = f.useRef(null), v = Se(t, p), h = vt(s), [k = null, b] = ye({
745
788
  prop: i,
746
789
  defaultProp: c,
747
790
  onChange: l
748
- }), [C, x] = g.useState(!1), m = Pe(d), N = yt(r), E = g.useRef(!1), [A, _] = g.useState(0);
749
- return g.useEffect(() => {
750
- const T = p.current;
751
- if (T)
752
- return T.addEventListener(Te, m), () => T.removeEventListener(Te, m);
791
+ }), [N, x] = f.useState(!1), m = Be(d), C = yt(r), T = f.useRef(!1), [L, _] = f.useState(0);
792
+ return f.useEffect(() => {
793
+ const I = p.current;
794
+ if (I)
795
+ return I.addEventListener(Ie, m), () => I.removeEventListener(Ie, m);
753
796
  }, [m]), /* @__PURE__ */ o(
754
797
  Qr,
755
798
  {
@@ -758,49 +801,49 @@ var Jr = g.forwardRef((e, t) => {
758
801
  dir: h,
759
802
  loop: n,
760
803
  currentTabStopId: k,
761
- onItemFocus: g.useCallback(
762
- (T) => b(T),
804
+ onItemFocus: f.useCallback(
805
+ (I) => b(I),
763
806
  [b]
764
807
  ),
765
- onItemShiftTab: g.useCallback(() => x(!0), []),
766
- onFocusableItemAdd: g.useCallback(
767
- () => _((T) => T + 1),
808
+ onItemShiftTab: f.useCallback(() => x(!0), []),
809
+ onFocusableItemAdd: f.useCallback(
810
+ () => _((I) => I + 1),
768
811
  []
769
812
  ),
770
- onFocusableItemRemove: g.useCallback(
771
- () => _((T) => T - 1),
813
+ onFocusableItemRemove: f.useCallback(
814
+ () => _((I) => I - 1),
772
815
  []
773
816
  ),
774
817
  children: /* @__PURE__ */ o(
775
818
  de.div,
776
819
  {
777
- tabIndex: C || A === 0 ? -1 : 0,
820
+ tabIndex: N || L === 0 ? -1 : 0,
778
821
  "data-orientation": a,
779
- ...f,
822
+ ...g,
780
823
  ref: v,
781
824
  style: { outline: "none", ...e.style },
782
825
  onMouseDown: K(e.onMouseDown, () => {
783
- E.current = !0;
826
+ T.current = !0;
784
827
  }),
785
- onFocus: K(e.onFocus, (T) => {
786
- const H = !E.current;
787
- if (T.target === T.currentTarget && H && !C) {
788
- const G = new CustomEvent(Te, Yr);
789
- if (T.currentTarget.dispatchEvent(G), !G.defaultPrevented) {
790
- const U = N().filter((P) => P.focusable), re = U.find((P) => P.active), oe = U.find((P) => P.id === k), Ne = [re, oe, ...U].filter(
828
+ onFocus: K(e.onFocus, (I) => {
829
+ const V = !T.current;
830
+ if (I.target === I.currentTarget && V && !N) {
831
+ const U = new CustomEvent(Ie, Yr);
832
+ if (I.currentTarget.dispatchEvent(U), !U.defaultPrevented) {
833
+ const H = C().filter((B) => B.focusable), re = H.find((B) => B.active), oe = H.find((B) => B.id === k), Ce = [re, oe, ...H].filter(
791
834
  Boolean
792
- ).map((P) => P.ref.current);
793
- xt(Ne, u);
835
+ ).map((B) => B.ref.current);
836
+ xt(Ce, u);
794
837
  }
795
838
  }
796
- E.current = !1;
839
+ T.current = !1;
797
840
  }),
798
841
  onBlur: K(e.onBlur, () => x(!1))
799
842
  }
800
843
  )
801
844
  }
802
845
  );
803
- }), Ct = "RovingFocusGroupItem", Nt = g.forwardRef(
846
+ }), Nt = "RovingFocusGroupItem", Ct = f.forwardRef(
804
847
  (e, t) => {
805
848
  const {
806
849
  __scopeRovingFocusGroup: r,
@@ -808,8 +851,8 @@ var Jr = g.forwardRef((e, t) => {
808
851
  active: n = !1,
809
852
  tabStopId: s,
810
853
  ...i
811
- } = e, c = jr(), l = s || c, d = Xr(Ct, r), u = d.currentTabStopId === l, f = yt(r), { onFocusableItemAdd: p, onFocusableItemRemove: v } = d;
812
- return g.useEffect(() => {
854
+ } = e, c = jr(), l = s || c, d = Xr(Nt, r), u = d.currentTabStopId === l, g = yt(r), { onFocusableItemAdd: p, onFocusableItemRemove: v } = d;
855
+ return f.useEffect(() => {
813
856
  if (a)
814
857
  return p(), () => v();
815
858
  }, [a, p, v]), /* @__PURE__ */ o(
@@ -840,12 +883,12 @@ var Jr = g.forwardRef((e, t) => {
840
883
  if (k !== void 0) {
841
884
  if (h.metaKey || h.ctrlKey || h.altKey || h.shiftKey) return;
842
885
  h.preventDefault();
843
- let b = f().filter((C) => C.focusable).map((C) => C.ref.current);
886
+ let b = g().filter((N) => N.focusable).map((N) => N.ref.current);
844
887
  if (k === "last") b.reverse();
845
888
  else if (k === "prev" || k === "next") {
846
889
  k === "prev" && b.reverse();
847
- const C = b.indexOf(h.currentTarget);
848
- b = d.loop ? oo(b, C + 1) : b.slice(C + 1);
890
+ const N = b.indexOf(h.currentTarget);
891
+ b = d.loop ? oo(b, N + 1) : b.slice(N + 1);
849
892
  }
850
893
  setTimeout(() => xt(b));
851
894
  }
@@ -856,7 +899,7 @@ var Jr = g.forwardRef((e, t) => {
856
899
  );
857
900
  }
858
901
  );
859
- Nt.displayName = Ct;
902
+ Ct.displayName = Nt;
860
903
  var eo = {
861
904
  ArrowLeft: "prev",
862
905
  ArrowUp: "prev",
@@ -883,7 +926,7 @@ function xt(e, t = !1) {
883
926
  function oo(e, t) {
884
927
  return e.map((r, a) => e[(t + a) % e.length]);
885
928
  }
886
- var ao = wt, no = Nt, so = "Toggle", Tt = g.forwardRef((e, t) => {
929
+ var ao = wt, no = Ct, so = "Toggle", It = f.forwardRef((e, t) => {
887
930
  const { pressed: r, defaultPressed: a = !1, onPressedChange: n, ...s } = e, [i = !1, c] = ye({
888
931
  prop: r,
889
932
  onChange: n,
@@ -904,10 +947,10 @@ var ao = wt, no = Nt, so = "Toggle", Tt = g.forwardRef((e, t) => {
904
947
  }
905
948
  );
906
949
  });
907
- Tt.displayName = so;
908
- var ee = "ToggleGroup", [It, ma] = Be(ee, [
950
+ It.displayName = so;
951
+ var ee = "ToggleGroup", [Et, ma] = Pe(ee, [
909
952
  kt
910
- ]), Et = kt(), Oe = I.forwardRef((e, t) => {
953
+ ]), Tt = kt(), Oe = E.forwardRef((e, t) => {
911
954
  const { type: r, ...a } = e;
912
955
  if (r === "single")
913
956
  return /* @__PURE__ */ o(io, { ...a, ref: t });
@@ -916,7 +959,7 @@ var ee = "ToggleGroup", [It, ma] = Be(ee, [
916
959
  throw new Error(`Missing prop \`type\` expected on \`${ee}\``);
917
960
  });
918
961
  Oe.displayName = ee;
919
- var [_t, St] = It(ee), io = I.forwardRef((e, t) => {
962
+ var [_t, St] = Et(ee), io = E.forwardRef((e, t) => {
920
963
  const {
921
964
  value: r,
922
965
  defaultValue: a,
@@ -935,11 +978,11 @@ var [_t, St] = It(ee), io = I.forwardRef((e, t) => {
935
978
  type: "single",
936
979
  value: i ? [i] : [],
937
980
  onItemActivate: c,
938
- onItemDeactivate: I.useCallback(() => c(""), [c]),
981
+ onItemDeactivate: E.useCallback(() => c(""), [c]),
939
982
  children: /* @__PURE__ */ o(Rt, { ...s, ref: t })
940
983
  }
941
984
  );
942
- }), co = I.forwardRef((e, t) => {
985
+ }), co = E.forwardRef((e, t) => {
943
986
  const {
944
987
  value: r,
945
988
  defaultValue: a,
@@ -950,11 +993,11 @@ var [_t, St] = It(ee), io = I.forwardRef((e, t) => {
950
993
  prop: r,
951
994
  defaultProp: a,
952
995
  onChange: n
953
- }), l = I.useCallback(
954
- (u) => c((f = []) => [...f, u]),
996
+ }), l = E.useCallback(
997
+ (u) => c((g = []) => [...g, u]),
955
998
  [c]
956
- ), d = I.useCallback(
957
- (u) => c((f = []) => f.filter((p) => p !== u)),
999
+ ), d = E.useCallback(
1000
+ (u) => c((g = []) => g.filter((p) => p !== u)),
958
1001
  [c]
959
1002
  );
960
1003
  return /* @__PURE__ */ o(
@@ -970,7 +1013,7 @@ var [_t, St] = It(ee), io = I.forwardRef((e, t) => {
970
1013
  );
971
1014
  });
972
1015
  Oe.displayName = ee;
973
- var [lo, uo] = It(ee), Rt = I.forwardRef(
1016
+ var [lo, uo] = Et(ee), Rt = E.forwardRef(
974
1017
  (e, t) => {
975
1018
  const {
976
1019
  __scopeToggleGroup: r,
@@ -980,7 +1023,7 @@ var [lo, uo] = It(ee), Rt = I.forwardRef(
980
1023
  dir: i,
981
1024
  loop: c = !0,
982
1025
  ...l
983
- } = e, d = Et(r), u = vt(i), f = { role: "group", dir: u, ...l };
1026
+ } = e, d = Tt(r), u = vt(i), g = { role: "group", dir: u, ...l };
984
1027
  return /* @__PURE__ */ o(lo, { scope: r, rovingFocus: n, disabled: a, children: n ? /* @__PURE__ */ o(
985
1028
  ao,
986
1029
  {
@@ -989,13 +1032,13 @@ var [lo, uo] = It(ee), Rt = I.forwardRef(
989
1032
  orientation: s,
990
1033
  dir: u,
991
1034
  loop: c,
992
- children: /* @__PURE__ */ o(de.div, { ...f, ref: t })
1035
+ children: /* @__PURE__ */ o(de.div, { ...g, ref: t })
993
1036
  }
994
- ) : /* @__PURE__ */ o(de.div, { ...f, ref: t }) });
1037
+ ) : /* @__PURE__ */ o(de.div, { ...g, ref: t }) });
995
1038
  }
996
- ), be = "ToggleGroupItem", Mt = I.forwardRef(
1039
+ ), be = "ToggleGroupItem", Mt = E.forwardRef(
997
1040
  (e, t) => {
998
- const r = St(be, e.__scopeToggleGroup), a = uo(be, e.__scopeToggleGroup), n = Et(e.__scopeToggleGroup), s = r.value.includes(e.value), i = a.disabled || e.disabled, c = { ...e, pressed: s, disabled: i }, l = I.useRef(null);
1041
+ const r = St(be, e.__scopeToggleGroup), a = uo(be, e.__scopeToggleGroup), n = Tt(e.__scopeToggleGroup), s = r.value.includes(e.value), i = a.disabled || e.disabled, c = { ...e, pressed: s, disabled: i }, l = E.useRef(null);
999
1042
  return a.rovingFocus ? /* @__PURE__ */ o(
1000
1043
  no,
1001
1044
  {
@@ -1004,17 +1047,17 @@ var [lo, uo] = It(ee), Rt = I.forwardRef(
1004
1047
  focusable: !i,
1005
1048
  active: s,
1006
1049
  ref: l,
1007
- children: /* @__PURE__ */ o(qe, { ...c, ref: t })
1050
+ children: /* @__PURE__ */ o(Ze, { ...c, ref: t })
1008
1051
  }
1009
- ) : /* @__PURE__ */ o(qe, { ...c, ref: t });
1052
+ ) : /* @__PURE__ */ o(Ze, { ...c, ref: t });
1010
1053
  }
1011
1054
  );
1012
1055
  Mt.displayName = be;
1013
- var qe = I.forwardRef(
1056
+ var Ze = E.forwardRef(
1014
1057
  (e, t) => {
1015
1058
  const { __scopeToggleGroup: r, value: a, ...n } = e, s = St(be, r), i = { role: "radio", "aria-checked": e.pressed, "aria-pressed": void 0 }, c = s.type === "single" ? i : void 0;
1016
1059
  return /* @__PURE__ */ o(
1017
- Tt,
1060
+ It,
1018
1061
  {
1019
1062
  ...c,
1020
1063
  ...n,
@@ -1026,16 +1069,16 @@ var qe = I.forwardRef(
1026
1069
  );
1027
1070
  }
1028
1071
  ), mo = Oe, ho = Mt;
1029
- const At = I.createContext({
1072
+ const Lt = E.createContext({
1030
1073
  size: "medium",
1031
1074
  focusMode: "system",
1032
1075
  mode: "system"
1033
- }), go = ({ focusMode: e }) => w("focus:outline", "focus:outline-2", "focus:outline-offset", {
1076
+ }), fo = ({ focusMode: e }) => w("focus:outline", "focus:outline-2", "focus:outline-offset", {
1034
1077
  "focus:outline-focus-light": e === "light",
1035
1078
  "focus:outline-focus-dark": e === "dark",
1036
1079
  "focus:outline-focus-light dark:focus:outline-focus-dark": e === "alt-system",
1037
1080
  "focus:outline-focus-dark dark:focus:outline-focus-light": e === "system"
1038
- }), fo = ({ mode: e }) => w({
1081
+ }), go = ({ mode: e }) => w({
1039
1082
  "data-[state=on]:bg-surface-medium": e === "dark",
1040
1083
  "data-[state=on]:bg-surface-lightest": e === "light",
1041
1084
  "data-[state=on]:bg-surface-lightest dark:data-[state=on]:bg-surface-medium": e === "system",
@@ -1065,19 +1108,19 @@ const At = I.createContext({
1065
1108
  }) => ({
1066
1109
  wrapperClass: bo({ mode: t }),
1067
1110
  itemClass: w(
1068
- Lr,
1111
+ Ar,
1069
1112
  "flex items-center justify-center bg-transparent",
1070
1113
  "rounded-sm",
1071
1114
  "transition duration-200 ease",
1072
1115
  po({ size: r }),
1073
- go({ focusMode: e }),
1074
- fo({ mode: t })
1116
+ fo({ focusMode: e }),
1117
+ go({ mode: t })
1075
1118
  )
1076
1119
  }), yo = ({
1077
1120
  mode: e,
1078
1121
  className: t
1079
1122
  }) => w(
1080
- Ar,
1123
+ Lr,
1081
1124
  "inline-flex p-1",
1082
1125
  "rounded-sm",
1083
1126
  {
@@ -1099,8 +1142,8 @@ const At = I.createContext({
1099
1142
  className: l,
1100
1143
  ...d
1101
1144
  }) => {
1102
- const u = yo({ mode: n, className: l }), f = { size: i, focusMode: s, mode: n };
1103
- return /* @__PURE__ */ o(At.Provider, { value: f, children: /* @__PURE__ */ o(
1145
+ const u = yo({ mode: n, className: l }), g = { size: i, focusMode: s, mode: n };
1146
+ return /* @__PURE__ */ o(Lt.Provider, { value: g, children: /* @__PURE__ */ o(
1104
1147
  mo,
1105
1148
  {
1106
1149
  disabled: a,
@@ -1114,7 +1157,7 @@ const At = I.createContext({
1114
1157
  }
1115
1158
  ) });
1116
1159
  }, wo = ({ value: e, disabled: t }) => {
1117
- const { size: r, focusMode: a, mode: n } = D(At), { itemClass: s, wrapperClass: i } = vo({
1160
+ const { size: r, focusMode: a, mode: n } = F(Lt), { itemClass: s, wrapperClass: i } = vo({
1118
1161
  focusMode: a,
1119
1162
  mode: n,
1120
1163
  size: r
@@ -1130,19 +1173,19 @@ const At = I.createContext({
1130
1173
  ) });
1131
1174
  };
1132
1175
  /*!
1133
- @versini/ui-panel v1.3.1
1176
+ @versini/ui-panel v1.3.3
1134
1177
  © 2025 gizmette.com
1135
1178
  */
1136
1179
  try {
1137
1180
  window.__VERSINI_UI_PANEL__ || (window.__VERSINI_UI_PANEL__ = {
1138
- version: "1.3.1",
1139
- buildTime: "01/04/2025 10:03 AM EST",
1181
+ version: "1.3.3",
1182
+ buildTime: "01/04/2025 04:09 PM EST",
1140
1183
  homepage: "https://github.com/aversini/ui-components",
1141
1184
  license: "MIT"
1142
1185
  });
1143
1186
  } catch {
1144
1187
  }
1145
- const Ze = "av-messagebox", Qe = "av-panel", Xe = "av-button", we = "icon", zt = "button", Ae = "link", Co = ({
1188
+ const qe = "av-messagebox", Qe = "av-panel", Xe = "av-button", we = "icon", zt = "button", Le = "link", No = ({
1146
1189
  type: e,
1147
1190
  size: t,
1148
1191
  labelRight: r,
@@ -1152,7 +1195,7 @@ const Ze = "av-messagebox", Qe = "av-panel", Xe = "av-button", we = "icon", zt =
1152
1195
  const s = "max-h-8 py-0 px-2", i = "max-h-9 py-1 px-3", c = "max-h-12 py-2 px-4";
1153
1196
  switch (e) {
1154
1197
  case zt:
1155
- case Ae:
1198
+ case Le:
1156
1199
  return w({
1157
1200
  [s]: t === "small",
1158
1201
  [i]: t === "medium",
@@ -1171,7 +1214,7 @@ const Ze = "av-messagebox", Qe = "av-panel", Xe = "av-button", we = "icon", zt =
1171
1214
  "h-12 px-4": t === "large" && (r || a)
1172
1215
  });
1173
1216
  }
1174
- }, No = ({
1217
+ }, Co = ({
1175
1218
  type: e,
1176
1219
  size: t,
1177
1220
  labelRight: r,
@@ -1180,9 +1223,9 @@ const Ze = "av-messagebox", Qe = "av-panel", Xe = "av-button", we = "icon", zt =
1180
1223
  const n = "text-sm font-medium", s = "text-base font-medium", i = "text-lg font-medium";
1181
1224
  switch (e) {
1182
1225
  case zt:
1183
- case Ae:
1226
+ case Le:
1184
1227
  return w({
1185
- "text-center": e === Ae,
1228
+ "text-center": e === Le,
1186
1229
  [n]: t === "small",
1187
1230
  [s]: t === "medium",
1188
1231
  [i]: t === "large"
@@ -1230,7 +1273,7 @@ const Ze = "av-messagebox", Qe = "av-panel", Xe = "av-button", we = "icon", zt =
1230
1273
  return w("not-prose text-copy-lighter", {
1231
1274
  truncate: !r
1232
1275
  });
1233
- }, To = ({
1276
+ }, Io = ({
1234
1277
  mode: e,
1235
1278
  noBackground: t,
1236
1279
  variant: r
@@ -1260,13 +1303,13 @@ const Ze = "av-messagebox", Qe = "av-panel", Xe = "av-button", we = "icon", zt =
1260
1303
  if (r === "selected")
1261
1304
  return "bg-action-selected-dark";
1262
1305
  }
1263
- }, Io = ({
1306
+ }, Eo = ({
1264
1307
  radius: e
1265
1308
  }) => w({
1266
1309
  "rounded-full": e === "large",
1267
1310
  "rounded-md": e === "medium",
1268
1311
  "rounded-sm": e === "small"
1269
- }), Eo = ({
1312
+ }), To = ({
1270
1313
  mode: e,
1271
1314
  disabled: t,
1272
1315
  variant: r
@@ -1363,7 +1406,7 @@ const Ze = "av-messagebox", Qe = "av-panel", Xe = "av-button", we = "icon", zt =
1363
1406
  "focus:outline-focus-light": e === "light",
1364
1407
  "focus:outline-focus-light dark:focus:outline-focus-dark": e === "alt-system",
1365
1408
  "focus:outline-focus-dark dark:focus:outline-focus-light": e === "system"
1366
- }), Lt = ({
1409
+ }), At = ({
1367
1410
  type: e,
1368
1411
  className: t,
1369
1412
  raw: r,
@@ -1375,7 +1418,7 @@ const Ze = "av-messagebox", Qe = "av-panel", Xe = "av-button", we = "icon", zt =
1375
1418
  noBorder: l,
1376
1419
  labelRight: d,
1377
1420
  labelLeft: u,
1378
- noBackground: f,
1421
+ noBackground: g,
1379
1422
  variant: p,
1380
1423
  noTruncate: v,
1381
1424
  align: h,
@@ -1385,22 +1428,22 @@ const Ze = "av-messagebox", Qe = "av-panel", Xe = "av-button", we = "icon", zt =
1385
1428
  xo({
1386
1429
  mode: a,
1387
1430
  variant: p,
1388
- noBackground: f,
1431
+ noBackground: g,
1389
1432
  noTruncate: v
1390
1433
  }),
1391
- To({ mode: a, noBackground: f, variant: p }),
1392
- Io({ radius: k }),
1393
- Co({
1434
+ Io({ mode: a, noBackground: g, variant: p }),
1435
+ Eo({ radius: k }),
1436
+ No({
1394
1437
  type: e,
1395
1438
  size: c,
1396
1439
  labelRight: d,
1397
1440
  labelLeft: u,
1398
1441
  align: h
1399
1442
  }),
1400
- No({ type: e, size: c, labelRight: d, labelLeft: u }),
1443
+ Co({ type: e, size: c, labelRight: d, labelLeft: u }),
1401
1444
  So({ mode: a, variant: p, noBorder: l }),
1402
1445
  Ro({ focusMode: n }),
1403
- Eo({ mode: a, variant: p, disabled: s }),
1446
+ To({ mode: a, variant: p, disabled: s }),
1404
1447
  _o({ mode: a, variant: p, disabled: s }),
1405
1448
  {
1406
1449
  "w-full": i,
@@ -1410,7 +1453,7 @@ const Ze = "av-messagebox", Qe = "av-panel", Xe = "av-button", we = "icon", zt =
1410
1453
  )), Mo = (e, t, r) => {
1411
1454
  var a;
1412
1455
  !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);
1413
- }, $e = I.forwardRef((e, t) => {
1456
+ }, $e = E.forwardRef((e, t) => {
1414
1457
  const { onClick: r, noInternalClick: a = !1, ...n } = e;
1415
1458
  return /* @__PURE__ */ o(
1416
1459
  "button",
@@ -1424,7 +1467,7 @@ const Ze = "av-messagebox", Qe = "av-panel", Xe = "av-button", we = "icon", zt =
1424
1467
  );
1425
1468
  });
1426
1469
  $e.displayName = "BaseButton";
1427
- const Bt = I.forwardRef(
1470
+ const Pt = E.forwardRef(
1428
1471
  ({
1429
1472
  children: e,
1430
1473
  disabled: t = !1,
@@ -1437,16 +1480,16 @@ const Bt = I.forwardRef(
1437
1480
  noBorder: l = !1,
1438
1481
  "aria-label": d,
1439
1482
  label: u,
1440
- size: f = "medium",
1483
+ size: g = "medium",
1441
1484
  labelRight: p,
1442
1485
  labelLeft: v,
1443
1486
  noBackground: h = !1,
1444
1487
  align: k = "center",
1445
1488
  radius: b = "large",
1446
- variant: C = "primary",
1489
+ variant: N = "primary",
1447
1490
  ...x
1448
1491
  }, m) => {
1449
- const N = Lt({
1492
+ const C = At({
1450
1493
  type: we,
1451
1494
  mode: r,
1452
1495
  focusMode: a,
@@ -1455,14 +1498,14 @@ const Bt = I.forwardRef(
1455
1498
  raw: c,
1456
1499
  className: s,
1457
1500
  noBorder: l,
1458
- size: f,
1501
+ size: g,
1459
1502
  labelRight: p,
1460
1503
  labelLeft: v,
1461
1504
  noBackground: h,
1462
1505
  align: k,
1463
1506
  radius: b,
1464
- variant: C
1465
- }), E = w({
1507
+ variant: N
1508
+ }), T = w({
1466
1509
  "text-copy-accent-dark": r === "light" && !c,
1467
1510
  "text-copy-light": r === "dark" && !c,
1468
1511
  "text-copy-accent-dark dark:text-copy-light": r === "alt-system" && !c,
@@ -1472,35 +1515,35 @@ const Bt = I.forwardRef(
1472
1515
  $e,
1473
1516
  {
1474
1517
  ref: m,
1475
- className: N,
1518
+ className: C,
1476
1519
  disabled: t,
1477
1520
  type: i,
1478
1521
  "aria-label": d || u,
1479
1522
  ...x,
1480
1523
  children: [
1481
1524
  v && /* @__PURE__ */ o("span", { className: "pr-2", children: v }),
1482
- /* @__PURE__ */ o("div", { className: E, children: e }),
1525
+ /* @__PURE__ */ o("div", { className: T, children: e }),
1483
1526
  p && /* @__PURE__ */ o("span", { className: "pl-2", children: p })
1484
1527
  ]
1485
1528
  }
1486
1529
  );
1487
1530
  }
1488
1531
  );
1489
- Bt.displayName = "ButtonIcon";
1532
+ Pt.displayName = "ButtonIcon";
1490
1533
  /*!
1491
- @versini/ui-button v4.0.1
1534
+ @versini/ui-button v4.0.3
1492
1535
  © 2025 gizmette.com
1493
1536
  */
1494
1537
  try {
1495
1538
  window.__VERSINI_UI_BUTTON__ || (window.__VERSINI_UI_BUTTON__ = {
1496
- version: "4.0.1",
1497
- buildTime: "01/04/2025 10:02 AM EST",
1539
+ version: "4.0.3",
1540
+ buildTime: "01/04/2025 04:09 PM EST",
1498
1541
  homepage: "https://github.com/aversini/ui-components",
1499
1542
  license: "MIT"
1500
1543
  });
1501
1544
  } catch {
1502
1545
  }
1503
- const Ao = I.forwardRef(
1546
+ const Lo = E.forwardRef(
1504
1547
  ({
1505
1548
  children: e,
1506
1549
  disabled: t = !1,
@@ -1513,16 +1556,16 @@ const Ao = I.forwardRef(
1513
1556
  noBorder: l = !1,
1514
1557
  "aria-label": d,
1515
1558
  label: u,
1516
- size: f = "medium",
1559
+ size: g = "medium",
1517
1560
  labelRight: p,
1518
1561
  labelLeft: v,
1519
1562
  noBackground: h = !1,
1520
1563
  align: k = "center",
1521
1564
  active: b = !1,
1522
- radius: C = "large",
1565
+ radius: N = "large",
1523
1566
  ...x
1524
1567
  }, m) => {
1525
- const N = Lt({
1568
+ const C = At({
1526
1569
  type: we,
1527
1570
  mode: r,
1528
1571
  focusMode: a,
@@ -1531,18 +1574,18 @@ const Ao = I.forwardRef(
1531
1574
  raw: c,
1532
1575
  className: s,
1533
1576
  noBorder: l,
1534
- size: f,
1577
+ size: g,
1535
1578
  labelRight: p,
1536
1579
  labelLeft: v,
1537
1580
  noBackground: h,
1538
1581
  align: k,
1539
- radius: C
1540
- }), E = w({
1582
+ radius: N
1583
+ }), T = w({
1541
1584
  "text-copy-accent-dark": r === "light" && !c,
1542
1585
  "text-copy-light": r === "dark" && !c,
1543
1586
  "text-copy-accent-dark dark:text-copy-light": r === "alt-system" && !c,
1544
1587
  "text-copy-light dark:text-copy-accent-dark": r === "system" && !c
1545
- }), A = b ? w(
1588
+ }), L = b ? w(
1546
1589
  "relative",
1547
1590
  "focus-within:static",
1548
1591
  "focus-within:after:border-transparent",
@@ -1559,25 +1602,25 @@ const Ao = I.forwardRef(
1559
1602
  "after:border-table-light dark:after:border-table-dark": r === "alt-system"
1560
1603
  }
1561
1604
  ) : "";
1562
- return /* @__PURE__ */ o("div", { className: A, children: /* @__PURE__ */ y(
1605
+ return /* @__PURE__ */ o("div", { className: L, children: /* @__PURE__ */ y(
1563
1606
  $e,
1564
1607
  {
1565
1608
  ref: m,
1566
- className: N,
1609
+ className: C,
1567
1610
  disabled: t,
1568
1611
  type: i,
1569
1612
  "aria-label": d || u,
1570
1613
  ...x,
1571
1614
  children: [
1572
1615
  v && /* @__PURE__ */ o("span", { className: "pr-2", children: v }),
1573
- /* @__PURE__ */ o("div", { className: E, children: e }),
1616
+ /* @__PURE__ */ o("div", { className: T, children: e }),
1574
1617
  p && /* @__PURE__ */ o("span", { className: "pl-2", children: p })
1575
1618
  ]
1576
1619
  }
1577
1620
  ) });
1578
1621
  }
1579
1622
  );
1580
- Ao.displayName = "ButtonSort";
1623
+ Lo.displayName = "ButtonSort";
1581
1624
  const zo = ({
1582
1625
  children: e,
1583
1626
  fill: t,
@@ -1615,13 +1658,13 @@ const zo = ({
1615
1658
  try {
1616
1659
  window.__VERSINI_UI_SVGICON__ || (window.__VERSINI_UI_SVGICON__ = {
1617
1660
  version: "4.0.0",
1618
- buildTime: "01/04/2025 10:02 AM EST",
1661
+ buildTime: "01/04/2025 04:09 PM EST",
1619
1662
  homepage: "https://github.com/aversini/ui-components",
1620
1663
  license: "MIT"
1621
1664
  });
1622
1665
  } catch {
1623
1666
  }
1624
- const Lo = ({
1667
+ const Ao = ({
1625
1668
  className: e,
1626
1669
  viewBox: t,
1627
1670
  title: r,
@@ -1636,66 +1679,66 @@ const Lo = ({
1636
1679
  className: e,
1637
1680
  title: r || "Close",
1638
1681
  ...n,
1639
- children: /* @__PURE__ */ o("path", { d: "M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3l105.4 105.3c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256l105.3-105.4z" })
1682
+ children: /* @__PURE__ */ o("path", { d: "M345 137c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-119 119L73 103c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l119 119L39 375c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l119-119L311 409c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-119-119L345 137z" })
1640
1683
  }
1641
1684
  );
1642
1685
  /*!
1643
- @versini/ui-icons v4.0.0
1686
+ @versini/ui-icons v4.2.0
1644
1687
  © 2025 gizmette.com
1645
1688
  */
1646
1689
  try {
1647
1690
  window.__VERSINI_UI_ICONS__ || (window.__VERSINI_UI_ICONS__ = {
1648
- version: "4.0.0",
1649
- buildTime: "01/04/2025 10:02 AM EST",
1691
+ version: "4.2.0",
1692
+ buildTime: "01/04/2025 04:09 PM EST",
1650
1693
  homepage: "https://github.com/aversini/ui-components",
1651
1694
  license: "MIT"
1652
1695
  });
1653
1696
  } catch {
1654
1697
  }
1655
- const Pt = g.createContext(null);
1656
- function Bo({
1698
+ const Bt = f.createContext(null);
1699
+ function Po({
1657
1700
  initialOpen: e = !1,
1658
1701
  open: t,
1659
1702
  onOpenChange: r
1660
1703
  } = {}) {
1661
- const [a, n] = g.useState(e), [s, i] = g.useState(), [c, l] = g.useState(), d = t ?? a, u = r ?? n, f = it({
1704
+ const [a, n] = f.useState(e), [s, i] = f.useState(), [c, l] = f.useState(), d = t ?? a, u = r ?? n, g = it({
1662
1705
  open: d,
1663
1706
  onOpenChange: u
1664
- }), p = f.context, v = ct(p, {
1707
+ }), p = g.context, v = ct(p, {
1665
1708
  enabled: t == null
1666
1709
  }), h = dt(p, {
1667
1710
  outsidePress: !1,
1668
1711
  outsidePressEvent: "mousedown"
1669
1712
  }), k = lt(p), b = ut([v, h, k]);
1670
- return g.useMemo(
1713
+ return f.useMemo(
1671
1714
  () => ({
1672
1715
  open: d,
1673
1716
  setOpen: u,
1674
1717
  ...b,
1675
- ...f,
1718
+ ...g,
1676
1719
  labelId: s,
1677
1720
  descriptionId: c,
1678
1721
  setLabelId: i,
1679
1722
  setDescriptionId: l
1680
1723
  }),
1681
- [d, u, b, f, s, c]
1724
+ [d, u, b, g, s, c]
1682
1725
  );
1683
1726
  }
1684
- const Ce = () => {
1685
- const e = g.useContext(Pt);
1727
+ const Ne = () => {
1728
+ const e = f.useContext(Bt);
1686
1729
  if (e == null)
1687
1730
  throw new Error("Modal components must be wrapped in <Modal />");
1688
1731
  return e;
1689
1732
  };
1690
- function Po({
1733
+ function Bo({
1691
1734
  children: e,
1692
1735
  ...t
1693
1736
  }) {
1694
- const r = Bo(t);
1695
- return /* @__PURE__ */ o(Pt.Provider, { value: r, children: e });
1737
+ const r = Po(t);
1738
+ return /* @__PURE__ */ o(Bt.Provider, { value: r, children: e });
1696
1739
  }
1697
- const Oo = g.forwardRef(function(e, t) {
1698
- const { context: r, ...a } = Ce(), n = Le([a.refs.setFloating, t]);
1740
+ const Oo = f.forwardRef(function(e, t) {
1741
+ const { context: r, ...a } = Ne(), n = Ae([a.refs.setFloating, t]);
1699
1742
  if (!r.open)
1700
1743
  return null;
1701
1744
  const { overlayBackground: s, ...i } = e, c = w("grid place-items-center", {
@@ -1712,15 +1755,15 @@ const Oo = g.forwardRef(function(e, t) {
1712
1755
  children: i.children
1713
1756
  }
1714
1757
  ) }) }) });
1715
- }), $o = g.forwardRef(function({ children: e, ...t }, r) {
1716
- const { setLabelId: a } = Ce(), n = ze();
1717
- return g.useLayoutEffect(() => (a(n), () => a(void 0)), [n, a]), /* @__PURE__ */ o("h1", { ...t, ref: r, id: n, children: e });
1718
- }), Vo = g.forwardRef(function({ children: e, ...t }, r) {
1719
- const { setDescriptionId: a } = Ce(), n = ze();
1720
- return g.useLayoutEffect(() => (a(n), () => a(void 0)), [n, a]), /* @__PURE__ */ o("div", { ...t, ref: r, id: n, children: e });
1721
- }), Do = g.forwardRef(function(e, t) {
1722
- const { setOpen: r } = Ce(), { trigger: a, className: n, ...s } = e, i = g.useCallback(() => r(!1), [r]);
1723
- return /* @__PURE__ */ o("div", { className: n, children: g.cloneElement(a, {
1758
+ }), $o = f.forwardRef(function({ children: e, ...t }, r) {
1759
+ const { setLabelId: a } = Ne(), n = ze();
1760
+ return f.useLayoutEffect(() => (a(n), () => a(void 0)), [n, a]), /* @__PURE__ */ o("h1", { ...t, ref: r, id: n, children: e });
1761
+ }), Do = f.forwardRef(function({ children: e, ...t }, r) {
1762
+ const { setDescriptionId: a } = Ne(), n = ze();
1763
+ return f.useLayoutEffect(() => (a(n), () => a(void 0)), [n, a]), /* @__PURE__ */ o("div", { ...t, ref: r, id: n, children: e });
1764
+ }), Fo = f.forwardRef(function(e, t) {
1765
+ const { setOpen: r } = Ne(), { trigger: a, className: n, ...s } = e, i = f.useCallback(() => r(!1), [r]);
1766
+ return /* @__PURE__ */ o("div", { className: n, children: f.cloneElement(a, {
1724
1767
  ref: t,
1725
1768
  onClick: i,
1726
1769
  ...s
@@ -1733,13 +1776,13 @@ const Oo = g.forwardRef(function(e, t) {
1733
1776
  try {
1734
1777
  window.__VERSINI_UI_MODAL__ || (window.__VERSINI_UI_MODAL__ = {
1735
1778
  version: "1.2.0",
1736
- buildTime: "01/04/2025 10:02 AM EST",
1779
+ buildTime: "01/04/2025 04:09 PM EST",
1737
1780
  homepage: "https://github.com/aversini/ui-components",
1738
1781
  license: "MIT"
1739
1782
  });
1740
1783
  } catch {
1741
1784
  }
1742
- const se = "panel", ue = "messagebox", Fo = ({
1785
+ const se = "panel", ue = "messagebox", Go = ({
1743
1786
  className: e,
1744
1787
  kind: t,
1745
1788
  borderMode: r
@@ -1747,8 +1790,8 @@ const se = "panel", ue = "messagebox", Fo = ({
1747
1790
  main: w("prose prose-lighter flex flex-col bg-surface-medium", {
1748
1791
  [`${Qe} max-h-full sm:max-h-[95%] min-h-full sm:min-h-[10rem] sm:rounded-lg sm:border-2`]: t === se,
1749
1792
  [`${Qe} w-full sm:w-[95%] md:max-w-2xl`]: t === se && !e,
1750
- [`${Ze} rounded-lg border-2`]: t === ue,
1751
- [`${Ze} w-[95%] sm:w-[50%] md:max-w-2xl`]: t === ue && !e,
1793
+ [`${qe} rounded-lg border-2`]: t === ue,
1794
+ [`${qe} w-[95%] sm:w-[50%] md:max-w-2xl`]: t === ue && !e,
1752
1795
  [`${e}`]: !!e,
1753
1796
  "sm:border-border-dark": r === "dark" && t === se,
1754
1797
  "sm:border-border-accent": r === "light" && t === se,
@@ -1769,34 +1812,34 @@ const se = "panel", ue = "messagebox", Fo = ({
1769
1812
  kind: i = se,
1770
1813
  className: c
1771
1814
  }) => {
1772
- const l = q(""), d = Fo({ className: c, kind: i, borderMode: s });
1773
- return Z(() => (e && (l.current = document.title, document.title = `${r} | ${l.current}`), () => {
1815
+ const l = Z(""), d = Go({ className: c, kind: i, borderMode: s });
1816
+ return q(() => (e && (l.current = document.title, document.title = `${r} | ${l.current}`), () => {
1774
1817
  e && (document.title = l.current);
1775
- }), [r, e]), /* @__PURE__ */ o(z, { children: e && /* @__PURE__ */ o(Po, { open: e, onOpenChange: t, children: /* @__PURE__ */ y(Oo, { className: d.main, children: [
1818
+ }), [r, e]), /* @__PURE__ */ o(z, { children: e && /* @__PURE__ */ o(Bo, { open: e, onOpenChange: t, children: /* @__PURE__ */ y(Oo, { className: d.main, children: [
1776
1819
  /* @__PURE__ */ y("div", { className: "flex flex-row-reverse items-center justify-between", children: [
1777
1820
  /* @__PURE__ */ o(
1778
- Do,
1821
+ Fo,
1779
1822
  {
1780
1823
  className: d.close,
1781
1824
  trigger: /* @__PURE__ */ o(
1782
- Bt,
1825
+ Pt,
1783
1826
  {
1784
1827
  mode: "dark",
1785
1828
  focusMode: "light",
1786
1829
  noBorder: !0,
1787
1830
  label: "Close",
1788
- children: /* @__PURE__ */ o(Lo, {})
1831
+ children: /* @__PURE__ */ o(Ao, {})
1789
1832
  }
1790
1833
  )
1791
1834
  }
1792
1835
  ),
1793
1836
  /* @__PURE__ */ o($o, { className: d.header, children: r })
1794
1837
  ] }),
1795
- /* @__PURE__ */ o(Vo, { className: d.content, children: a }),
1838
+ /* @__PURE__ */ o(Do, { className: d.content, children: a }),
1796
1839
  n && /* @__PURE__ */ o("div", { className: d.footer, children: n })
1797
1840
  ] }) }) });
1798
- }, Ho = ({ stats: e }) => {
1799
- const t = (e == null ? void 0 : e.plugins) || [], r = (e == null ? void 0 : e.version) || "", a = (e == null ? void 0 : e.models) || [], n = fe(), s = fe();
1841
+ }, Vo = ({ stats: e }) => {
1842
+ const t = (e == null ? void 0 : e.plugins) || [], r = (e == null ? void 0 : e.version) || "", a = (e == null ? void 0 : e.models) || [], n = ge(), s = ge();
1800
1843
  return /* @__PURE__ */ y(z, { children: [
1801
1844
  /* @__PURE__ */ o("div", { className: "mb-4", children: /* @__PURE__ */ o(
1802
1845
  O,
@@ -1804,8 +1847,8 @@ const se = "panel", ue = "messagebox", Fo = ({
1804
1847
  header: S.ABOUT.TITLE_CLIENT,
1805
1848
  className: "prose-dark dark:prose-lighter",
1806
1849
  children: he(n, {
1807
- [S.ABOUT.VERSION]: "5.19.4",
1808
- [S.ABOUT.BUILD_TIMESTAMP]: "01/04/2025 10:55 AM EST"
1850
+ [S.ABOUT.VERSION]: "5.19.6",
1851
+ [S.ABOUT.BUILD_TIMESTAMP]: "01/04/2025 06:40 PM EST"
1809
1852
  })
1810
1853
  }
1811
1854
  ) }),
@@ -1816,18 +1859,18 @@ const se = "panel", ue = "messagebox", Fo = ({
1816
1859
  className: "prose-dark dark:prose-lighter",
1817
1860
  children: he(s, {
1818
1861
  [S.ABOUT.VERSION]: r,
1819
- [ge(S.ABOUT.ENGINE, a.length)]: /* @__PURE__ */ o(z, { children: a.map((i) => /* @__PURE__ */ o("div", { className: "text-right", children: i }, i)) }),
1820
- [ge(S.ABOUT.PLUGIN, t.length)]: /* @__PURE__ */ o(z, { children: t.map((i) => /* @__PURE__ */ o("div", { className: "text-right", children: i }, i)) })
1862
+ [fe(S.ABOUT.ENGINE, a.length)]: /* @__PURE__ */ o(z, { children: a.map((i) => /* @__PURE__ */ o("div", { className: "text-right", children: i }, i)) }),
1863
+ [fe(S.ABOUT.PLUGIN, t.length)]: /* @__PURE__ */ o(z, { children: t.map((i) => /* @__PURE__ */ o("div", { className: "text-right", children: i }, i)) })
1821
1864
  })
1822
1865
  }
1823
1866
  )
1824
1867
  ] });
1825
- }, Go = ({
1868
+ }, Uo = ({
1826
1869
  open: e,
1827
1870
  onOpenChange: t
1828
1871
  }) => {
1829
- const { serverStats: r } = D(ve);
1830
- return /* @__PURE__ */ o(te, { open: e, onOpenChange: t, title: Dt, children: /* @__PURE__ */ o(Ho, { stats: r }) });
1872
+ const { serverStats: r } = F(ve);
1873
+ return /* @__PURE__ */ o(te, { open: e, onOpenChange: t, title: Ft, children: /* @__PURE__ */ o(Vo, { stats: r }) });
1831
1874
  }, Ot = ({
1832
1875
  showConfirmation: e,
1833
1876
  setShowConfirmation: t,
@@ -1843,7 +1886,7 @@ const se = "panel", ue = "messagebox", Fo = ({
1843
1886
  title: n.title,
1844
1887
  footer: /* @__PURE__ */ y(Y, { columnGap: 2, alignHorizontal: "flex-end", children: [
1845
1888
  /* @__PURE__ */ o(M, { children: /* @__PURE__ */ o(
1846
- F,
1889
+ G,
1847
1890
  {
1848
1891
  mode: "dark",
1849
1892
  variant: "secondary",
@@ -1855,7 +1898,7 @@ const se = "panel", ue = "messagebox", Fo = ({
1855
1898
  }
1856
1899
  ) }),
1857
1900
  /* @__PURE__ */ o(M, { children: /* @__PURE__ */ o(
1858
- F,
1901
+ G,
1859
1902
  {
1860
1903
  mode: "dark",
1861
1904
  variant: "danger",
@@ -1869,11 +1912,11 @@ const se = "panel", ue = "messagebox", Fo = ({
1869
1912
  ] }),
1870
1913
  children: a
1871
1914
  }
1872
- ), Uo = async (e, t, r, a) => {
1915
+ ), Ho = async (e, t, r, a) => {
1873
1916
  try {
1874
1917
  const n = await $({
1875
1918
  accessToken: a,
1876
- type: V.GET_CHAT,
1919
+ type: D.GET_CHAT,
1877
1920
  params: {
1878
1921
  id: e.id
1879
1922
  }
@@ -1881,7 +1924,7 @@ const se = "panel", ue = "messagebox", Fo = ({
1881
1924
  n.status === 200 && (t({
1882
1925
  type: et
1883
1926
  }), t({
1884
- type: Ht,
1927
+ type: Vt,
1885
1928
  payload: {
1886
1929
  id: e.id,
1887
1930
  model: n.data.model,
@@ -1898,20 +1941,20 @@ const se = "panel", ue = "messagebox", Fo = ({
1898
1941
  onOpenChange: a
1899
1942
  }) => {
1900
1943
  var x;
1901
- const { user: n, getAccessToken: s } = Q(), i = q(null), c = q({
1944
+ const { user: n, getAccessToken: s } = Q(), i = Z(null), c = Z({
1902
1945
  id: 0,
1903
1946
  timestamp: "",
1904
1947
  message: ""
1905
- }), [l, d] = R(!1), [u, f] = R(
1906
- De + Fe
1907
- ), { state: p, dispatch: v } = D(ot), [, h] = le({
1908
- key: ce + Ft,
1948
+ }), [l, d] = R(!1), [u, g] = R(
1949
+ Fe + Ge
1950
+ ), { state: p, dispatch: v } = F(ot), [, h] = le({
1951
+ key: ce + Gt,
1909
1952
  initialValue: p.sortDirection
1910
1953
  }), k = (m) => {
1911
1954
  switch (p.sortDirection) {
1912
1955
  case W.ASC:
1913
1956
  h(W.DESC), v({
1914
- type: He,
1957
+ type: Ve,
1915
1958
  payload: {
1916
1959
  sortedCell: m,
1917
1960
  sortDirection: W.DESC
@@ -1920,7 +1963,7 @@ const se = "panel", ue = "messagebox", Fo = ({
1920
1963
  break;
1921
1964
  default:
1922
1965
  h(W.ASC), v({
1923
- type: He,
1966
+ type: Ve,
1924
1967
  payload: {
1925
1968
  sortedCell: m,
1926
1969
  sortDirection: W.ASC
@@ -1931,9 +1974,9 @@ const se = "panel", ue = "messagebox", Fo = ({
1931
1974
  }, b = async () => {
1932
1975
  const m = c.current;
1933
1976
  try {
1934
- const N = await $({
1977
+ const C = await $({
1935
1978
  accessToken: await s(),
1936
- type: V.DELETE_CHAT,
1979
+ type: D.DELETE_CHAT,
1937
1980
  params: {
1938
1981
  userId: (n == null ? void 0 : n.username) || "",
1939
1982
  id: m.id,
@@ -1943,18 +1986,18 @@ const se = "panel", ue = "messagebox", Fo = ({
1943
1986
  truncateSize: 100
1944
1987
  }
1945
1988
  });
1946
- N.status === 200 && t({ data: N.data });
1989
+ C.status === 200 && t({ data: C.data });
1947
1990
  } catch {
1948
1991
  }
1949
- }, C = lr((m) => {
1950
- m[0].isIntersecting && f((E) => E + De);
1992
+ }, N = lr((m) => {
1993
+ m[0].isIntersecting && g((T) => T + Fe);
1951
1994
  }, []);
1952
- return Z(() => {
1995
+ return q(() => {
1953
1996
  const m = {
1954
1997
  // root: null,
1955
1998
  rootMargin: "20px"
1956
- }, N = new IntersectionObserver(C, m);
1957
- i.current && N.observe(i.current);
1999
+ }, C = new IntersectionObserver(N, m);
2000
+ i.current && C.observe(i.current);
1958
2001
  }), /* @__PURE__ */ y(z, { children: [
1959
2002
  /* @__PURE__ */ y(
1960
2003
  Ot,
@@ -1993,7 +2036,7 @@ const se = "panel", ue = "messagebox", Fo = ({
1993
2036
  wrapperClassName: "max-h-[60vh] min-h-[60vh]",
1994
2037
  children: [
1995
2038
  /* @__PURE__ */ o(or, { children: /* @__PURE__ */ y(xe, { children: [
1996
- /* @__PURE__ */ o(B, { className: "sr-only", children: "Row" }),
2039
+ /* @__PURE__ */ o(P, { className: "sr-only", children: "Row" }),
1997
2040
  /* @__PURE__ */ o(
1998
2041
  ar,
1999
2042
  {
@@ -2008,18 +2051,18 @@ const se = "panel", ue = "messagebox", Fo = ({
2008
2051
  children: "Date"
2009
2052
  }
2010
2053
  ),
2011
- /* @__PURE__ */ o(B, { className: "text-xs sm:text-sm", children: "First message" }),
2012
- /* @__PURE__ */ o(B, { className: "text-xs sm:text-sm", children: "Model" }),
2013
- /* @__PURE__ */ o(B, { className: "text-xs sm:text-sm text-right", children: "Actions" })
2054
+ /* @__PURE__ */ o(P, { className: "text-xs sm:text-sm", children: "First message" }),
2055
+ /* @__PURE__ */ o(P, { className: "text-xs sm:text-sm", children: "Model" }),
2056
+ /* @__PURE__ */ o(P, { className: "text-xs sm:text-sm text-right", children: "Actions" })
2014
2057
  ] }) }),
2015
- /* @__PURE__ */ o(nr, { children: e.data.slice(0, u).map((m, N) => {
2016
- var E, A;
2017
- return ((E = m == null ? void 0 : m.messages) == null ? void 0 : E.length) > 0 ? /* @__PURE__ */ y(dr, { children: [
2018
- N === u - Fe && /* @__PURE__ */ o("tr", { ref: i }),
2058
+ /* @__PURE__ */ o(nr, { children: e.data.slice(0, u).map((m, C) => {
2059
+ var T, L;
2060
+ return ((T = m == null ? void 0 : m.messages) == null ? void 0 : T.length) > 0 ? /* @__PURE__ */ y(dr, { children: [
2061
+ C === u - Ge && /* @__PURE__ */ o("tr", { ref: i }),
2019
2062
  /* @__PURE__ */ y(xe, { children: [
2020
- /* @__PURE__ */ o(B, { children: N + 1 }),
2063
+ /* @__PURE__ */ o(P, { children: C + 1 }),
2021
2064
  /* @__PURE__ */ o(
2022
- B,
2065
+ P,
2023
2066
  {
2024
2067
  component: "th",
2025
2068
  scope: "row",
@@ -2028,29 +2071,29 @@ const se = "panel", ue = "messagebox", Fo = ({
2028
2071
  }
2029
2072
  ),
2030
2073
  /* @__PURE__ */ o(
2031
- B,
2074
+ P,
2032
2075
  {
2033
2076
  className: "max-w-[100px] text-white sm:max-w-full text-xs sm:text-sm",
2034
2077
  style: {
2035
2078
  wordBreak: "break-word"
2036
2079
  },
2037
- children: m.messages.length > 0 ? (A = m.messages[0]) == null ? void 0 : A.content : ""
2080
+ children: m.messages.length > 0 ? (L = m.messages[0]) == null ? void 0 : L.content : ""
2038
2081
  }
2039
2082
  ),
2040
2083
  /* @__PURE__ */ y(
2041
- B,
2084
+ P,
2042
2085
  {
2043
2086
  component: "th",
2044
2087
  scope: "row",
2045
2088
  className: "text-gray-400",
2046
2089
  align: "center",
2047
2090
  children: [
2048
- m.model && m.model.startsWith("claude") && /* @__PURE__ */ o(gt, { size: "size-4 sm:size-5" }),
2049
- m.model && m.model.startsWith("gpt") && /* @__PURE__ */ o(ft, { size: "size-4 sm:size-5" })
2091
+ m.model && m.model.startsWith("claude") && /* @__PURE__ */ o(ft, { size: "size-4 sm:size-5" }),
2092
+ m.model && m.model.startsWith("gpt") && /* @__PURE__ */ o(gt, { size: "size-4 sm:size-5" })
2050
2093
  ]
2051
2094
  }
2052
2095
  ),
2053
- /* @__PURE__ */ y(B, { align: "right", children: [
2096
+ /* @__PURE__ */ y(P, { align: "right", children: [
2054
2097
  /* @__PURE__ */ o(
2055
2098
  J,
2056
2099
  {
@@ -2060,7 +2103,7 @@ const se = "panel", ue = "messagebox", Fo = ({
2060
2103
  label: "Restore chat",
2061
2104
  onClick: async () => {
2062
2105
  const _ = await s();
2063
- Uo(
2106
+ Ho(
2064
2107
  m,
2065
2108
  r,
2066
2109
  a,
@@ -2084,14 +2127,14 @@ const se = "panel", ue = "messagebox", Fo = ({
2084
2127
  message: m.messages.length > 0 ? (_ = m.messages[0]) == null ? void 0 : _.content : ""
2085
2128
  }, d(!l);
2086
2129
  },
2087
- children: /* @__PURE__ */ o("div", { className: "text-red-400", children: /* @__PURE__ */ o(Nr, { size: "size-3", monotone: !0 }) })
2130
+ children: /* @__PURE__ */ o("div", { className: "text-red-400", children: /* @__PURE__ */ o(Cr, { size: "size-3", monotone: !0 }) })
2088
2131
  }
2089
2132
  )
2090
2133
  ] })
2091
2134
  ] })
2092
- ] }, `${S.HISTORY.TITLE}-${m.id}-${N}`) : null;
2135
+ ] }, `${S.HISTORY.TITLE}-${m.id}-${C}`) : null;
2093
2136
  }) }),
2094
- /* @__PURE__ */ o(sr, { children: /* @__PURE__ */ o(xe, { children: /* @__PURE__ */ o(B, { colSpan: 1e3, children: /* @__PURE__ */ o("div", { children: ge(
2137
+ /* @__PURE__ */ o(sr, { children: /* @__PURE__ */ o(xe, { children: /* @__PURE__ */ o(P, { colSpan: 1e3, children: /* @__PURE__ */ o("div", { children: fe(
2095
2138
  `${e.data.length} chat`,
2096
2139
  e.data.length
2097
2140
  ) }) }) }) })
@@ -2110,7 +2153,7 @@ const se = "panel", ue = "messagebox", Fo = ({
2110
2153
  try {
2111
2154
  const n = await $({
2112
2155
  accessToken: r,
2113
- type: V.GET_CHATS,
2156
+ type: D.GET_CHATS,
2114
2157
  params: {
2115
2158
  userId: t,
2116
2159
  searchString: e,
@@ -2129,17 +2172,17 @@ const se = "panel", ue = "messagebox", Fo = ({
2129
2172
  open: e,
2130
2173
  onOpenChange: t
2131
2174
  }) => {
2132
- const { isAuthenticated: r, getAccessToken: a, user: n } = Q(), s = q(null), i = q(!1), { dispatch: c } = D(ve), { state: l, dispatch: d } = D(ot), [, u] = le({
2133
- key: ce + Gt,
2175
+ const { isAuthenticated: r, getAccessToken: a, user: n } = Q(), s = Z(null), i = Z(!1), { dispatch: c } = F(ve), { state: l, dispatch: d } = F(ot), [, u] = le({
2176
+ key: ce + Ut,
2134
2177
  initialValue: l.searchString
2135
- }), [f, p] = R({
2178
+ }), [g, p] = R({
2136
2179
  data: [],
2137
2180
  sortedDirection: l.sortDirection
2138
2181
  }), v = async (b) => {
2139
- const C = await a(), x = await Je({
2182
+ const N = await a(), x = await Je({
2140
2183
  searchString: b,
2141
2184
  username: n == null ? void 0 : n.username,
2142
- accessToken: C,
2185
+ accessToken: N,
2143
2186
  direction: l.sortDirection
2144
2187
  });
2145
2188
  p({
@@ -2157,23 +2200,23 @@ const se = "panel", ue = "messagebox", Fo = ({
2157
2200
  return We(() => {
2158
2201
  i.current || (async () => {
2159
2202
  i.current = !0;
2160
- const b = await a(), C = await Je({
2203
+ const b = await a(), N = await Je({
2161
2204
  searchString: l.searchString,
2162
2205
  username: n == null ? void 0 : n.username,
2163
2206
  accessToken: b,
2164
2207
  direction: l.sortDirection
2165
2208
  });
2166
2209
  p({
2167
- data: C,
2210
+ data: N,
2168
2211
  sortedDirection: l.sortDirection
2169
2212
  });
2170
2213
  })();
2171
2214
  }), We(() => {
2172
- if (l.sortDirection !== f.sortedDirection) {
2173
- const b = [...f.data].sort((C, x) => {
2215
+ if (l.sortDirection !== g.sortedDirection) {
2216
+ const b = [...g.data].sort((N, x) => {
2174
2217
  if (l.sortedCell === "timestamp") {
2175
- const m = new Date(C[l.sortedCell]).getTime(), N = new Date(x[l.sortedCell]).getTime();
2176
- return l.sortDirection === W.ASC ? m - N : N - m;
2218
+ const m = new Date(N[l.sortedCell]).getTime(), C = new Date(x[l.sortedCell]).getTime();
2219
+ return l.sortDirection === W.ASC ? m - C : C - m;
2177
2220
  }
2178
2221
  return 0;
2179
2222
  });
@@ -2182,9 +2225,9 @@ const se = "panel", ue = "messagebox", Fo = ({
2182
2225
  sortedDirection: l.sortDirection
2183
2226
  });
2184
2227
  }
2185
- }, [f, l]), r ? f && f.data && /* @__PURE__ */ o(te, { open: e, onOpenChange: t, title: Ut, children: /* @__PURE__ */ y(z, { children: [
2228
+ }, [g, l]), r ? g && g.data && /* @__PURE__ */ o(te, { open: e, onOpenChange: t, title: Ht, children: /* @__PURE__ */ y(z, { children: [
2186
2229
  /* @__PURE__ */ o("form", { autoComplete: "off", onSubmit: k, children: /* @__PURE__ */ o(
2187
- Ie,
2230
+ Ee,
2188
2231
  {
2189
2232
  autoCapitalize: "off",
2190
2233
  autoComplete: "off",
@@ -2199,7 +2242,7 @@ const se = "panel", ue = "messagebox", Fo = ({
2199
2242
  className: "mt-2 mb-2",
2200
2243
  ...l.searchString && {
2201
2244
  rightElement: /* @__PURE__ */ o(
2202
- F,
2245
+ G,
2203
2246
  {
2204
2247
  type: "button",
2205
2248
  disabled: !l.searchString,
@@ -2220,7 +2263,7 @@ const se = "panel", ue = "messagebox", Fo = ({
2220
2263
  /* @__PURE__ */ o("div", { className: "flex flex-col gap-2 sm:flex-row", children: /* @__PURE__ */ o(
2221
2264
  jo,
2222
2265
  {
2223
- filteredHistory: f,
2266
+ filteredHistory: g,
2224
2267
  setFilteredHistory: p,
2225
2268
  dispatch: c,
2226
2269
  onOpenChange: t
@@ -2228,7 +2271,7 @@ const se = "panel", ue = "messagebox", Fo = ({
2228
2271
  ) })
2229
2272
  ] }) }) : null;
2230
2273
  }, Ko = ({ stats: e }) => {
2231
- const { isAuthenticated: t, user: r, registeringForPasskey: a, authenticationType: n } = Q(), s = fe(), i = fe(), c = (r == null ? void 0 : r.username) || "";
2274
+ const { isAuthenticated: t, user: r, registeringForPasskey: a, authenticationType: n } = Q(), s = ge(), i = ge(), c = (r == null ? void 0 : r.username) || "";
2232
2275
  return t && c ? /* @__PURE__ */ y(z, { children: [
2233
2276
  /* @__PURE__ */ o(
2234
2277
  O,
@@ -2246,7 +2289,7 @@ const se = "panel", ue = "messagebox", Fo = ({
2246
2289
  {
2247
2290
  className: "prose-dark dark:prose-lighter mt-4",
2248
2291
  header: /* @__PURE__ */ o("h2", { className: "m-0", children: /* @__PURE__ */ y(Y, { columnGap: 3, alignVertical: "center", children: [
2249
- /* @__PURE__ */ o(M, { children: /* @__PURE__ */ o(Ge, { size: "size-8" }) }),
2292
+ /* @__PURE__ */ o(M, { children: /* @__PURE__ */ o(Ue, { size: "size-8" }) }),
2250
2293
  /* @__PURE__ */ o(M, { children: /* @__PURE__ */ o("div", { children: S.PREFERENCES.PASSKEY_TITLE }) })
2251
2294
  ] }) }),
2252
2295
  children: [
@@ -2258,7 +2301,7 @@ const se = "panel", ue = "messagebox", Fo = ({
2258
2301
  className: "mt-2",
2259
2302
  onClick: a,
2260
2303
  labelLeft: S.PREFERENCES.PASSKEY_BUTTON,
2261
- children: /* @__PURE__ */ o(Ge, { size: "size-5", monotone: !0 })
2304
+ children: /* @__PURE__ */ o(Ue, { size: "size-5", monotone: !0 })
2262
2305
  }
2263
2306
  )
2264
2307
  ]
@@ -2270,7 +2313,7 @@ const se = "panel", ue = "messagebox", Fo = ({
2270
2313
  header: S.MAIN_STATISTICS.TITLE,
2271
2314
  className: "prose-dark dark:prose-lighter mt-4",
2272
2315
  children: he(i, {
2273
- [ge(S.MAIN_STATISTICS.TOTAL, e.totalChats)]: e.totalChats,
2316
+ [fe(S.MAIN_STATISTICS.TOTAL, e.totalChats)]: e.totalChats,
2274
2317
  [S.MAIN_STATISTICS.PROCESSING_TIME]: Yt(
2275
2318
  e.averageProcessingTimes
2276
2319
  )
@@ -2286,12 +2329,12 @@ const se = "panel", ue = "messagebox", Fo = ({
2286
2329
  averageProcessingTimes: 0,
2287
2330
  totalChats: 0
2288
2331
  }), { getAccessToken: n, user: s } = Q();
2289
- return Z(() => {
2332
+ return q(() => {
2290
2333
  !e || !s || (async () => {
2291
2334
  try {
2292
2335
  const i = await $({
2293
2336
  accessToken: await n(),
2294
- type: V.GET_CHATS_STATS,
2337
+ type: D.GET_CHATS_STATS,
2295
2338
  params: {
2296
2339
  userId: s.username
2297
2340
  }
@@ -2300,7 +2343,7 @@ const se = "panel", ue = "messagebox", Fo = ({
2300
2343
  } catch {
2301
2344
  }
2302
2345
  })();
2303
- }, [e, n, s]), /* @__PURE__ */ o(te, { open: e, onOpenChange: t, title: qt, children: /* @__PURE__ */ o(Ko, { stats: r }) });
2346
+ }, [e, n, s]), /* @__PURE__ */ o(te, { open: e, onOpenChange: t, title: Zt, children: /* @__PURE__ */ o(Ko, { stats: r }) });
2304
2347
  };
2305
2348
  /*!
2306
2349
  @versini/ui-toggle v3.0.0
@@ -2315,7 +2358,7 @@ try {
2315
2358
  });
2316
2359
  } catch {
2317
2360
  }
2318
- const qo = "av-toggle", Zo = () => w("peer", "h-6", "w-11", "rounded-full"), Qo = ({
2361
+ const Zo = "av-toggle", qo = () => w("peer", "h-6", "w-11", "rounded-full"), Qo = ({
2319
2362
  focusMode: e
2320
2363
  }) => w(
2321
2364
  "peer-focus:outline",
@@ -2364,7 +2407,7 @@ const qo = "av-toggle", Zo = () => w("peer", "h-6", "w-11", "rounded-full"), Qo
2364
2407
  "text-copy-lighter dark:text-copy-dark": e === "alt-system",
2365
2408
  "text-copy-dark dark:text-copy-lighter": e === "system"
2366
2409
  }), ra = ({ className: e }) => w(
2367
- qo,
2410
+ Zo,
2368
2411
  "relative flex cursor-pointer items-center",
2369
2412
  e
2370
2413
  ), oa = ({
@@ -2375,7 +2418,7 @@ const qo = "av-toggle", Zo = () => w("peer", "h-6", "w-11", "rounded-full"), Qo
2375
2418
  noBorder: n
2376
2419
  }) => ({
2377
2420
  toggle: w(
2378
- Zo(),
2421
+ qo(),
2379
2422
  ea({ mode: e, noBorder: n }),
2380
2423
  Qo({ focusMode: t }),
2381
2424
  Jo(),
@@ -2401,8 +2444,8 @@ const qo = "av-toggle", Zo = () => w("peer", "h-6", "w-11", "rounded-full"), Qo
2401
2444
  labelHidden: a,
2402
2445
  className: c,
2403
2446
  noBorder: l
2404
- }), u = (f) => {
2405
- t == null || t(f.target.checked);
2447
+ }), u = (g) => {
2448
+ t == null || t(g.target.checked);
2406
2449
  };
2407
2450
  return /* @__PURE__ */ y("label", { className: d.wrapper, children: [
2408
2451
  /* @__PURE__ */ o(
@@ -2422,27 +2465,27 @@ const qo = "av-toggle", Zo = () => w("peer", "h-6", "w-11", "rounded-full"), Qo
2422
2465
  open: e,
2423
2466
  onOpenChange: t
2424
2467
  }) => {
2425
- const { state: r, dispatch: a } = D(ir), { getAccessToken: n, user: s } = Q(), [i, c] = R({
2426
- tags: [...r.tags]
2468
+ const { state: r, dispatch: a } = F(ir), { getAccessToken: n, user: s } = Q(), [i, c] = R({
2469
+ prompts: [...r.prompts]
2427
2470
  }), l = ({
2428
2471
  slot: u,
2429
- checked: f,
2472
+ checked: g,
2430
2473
  label: p,
2431
2474
  content: v
2432
2475
  }) => {
2433
2476
  c((h) => {
2434
- const k = h.tags, b = {
2477
+ const k = h.prompts, b = {
2435
2478
  slot: u,
2436
2479
  label: p,
2437
2480
  content: v,
2438
- enabled: f
2439
- }, C = k.findIndex((x) => x.slot === u);
2440
- return C === -1 ? {
2481
+ enabled: g
2482
+ }, N = k.findIndex((x) => x.slot === u);
2483
+ return N === -1 ? {
2441
2484
  ...h,
2442
- tags: [...k, { ...b, slot: u }]
2443
- } : (k[C] = b, {
2485
+ prompts: [...k, { ...b, slot: u }]
2486
+ } : (k[N] = b, {
2444
2487
  ...h,
2445
- tags: [...k]
2488
+ prompts: [...k]
2446
2489
  });
2447
2490
  });
2448
2491
  }, d = async (u) => {
@@ -2450,15 +2493,15 @@ const qo = "av-toggle", Zo = () => w("peer", "h-6", "w-11", "rounded-full"), Qo
2450
2493
  try {
2451
2494
  await $({
2452
2495
  accessToken: await n(),
2453
- type: V.SET_USER_PREFERENCES,
2496
+ type: D.SET_USER_PREFERENCES,
2454
2497
  params: {
2455
2498
  user: s == null ? void 0 : s.username,
2456
- tags: i.tags
2499
+ tags: i.prompts
2457
2500
  }
2458
2501
  }), a({
2459
2502
  type: Qt,
2460
2503
  payload: {
2461
- tags: i.tags
2504
+ prompts: i.prompts
2462
2505
  }
2463
2506
  });
2464
2507
  } catch {
@@ -2469,7 +2512,7 @@ const qo = "av-toggle", Zo = () => w("peer", "h-6", "w-11", "rounded-full"), Qo
2469
2512
  {
2470
2513
  open: e,
2471
2514
  onOpenChange: t,
2472
- title: "Tags",
2515
+ title: "Prompts",
2473
2516
  footer: /* @__PURE__ */ y(
2474
2517
  Y,
2475
2518
  {
@@ -2478,7 +2521,7 @@ const qo = "av-toggle", Zo = () => w("peer", "h-6", "w-11", "rounded-full"), Qo
2478
2521
  className: "pb-8 sm:pb-0",
2479
2522
  children: [
2480
2523
  /* @__PURE__ */ o(M, { children: /* @__PURE__ */ o(
2481
- F,
2524
+ G,
2482
2525
  {
2483
2526
  mode: "dark",
2484
2527
  variant: "secondary",
@@ -2490,7 +2533,7 @@ const qo = "av-toggle", Zo = () => w("peer", "h-6", "w-11", "rounded-full"), Qo
2490
2533
  }
2491
2534
  ) }),
2492
2535
  /* @__PURE__ */ o(M, { children: /* @__PURE__ */ o(
2493
- F,
2536
+ G,
2494
2537
  {
2495
2538
  mode: "dark",
2496
2539
  variant: "danger",
@@ -2505,42 +2548,42 @@ const qo = "av-toggle", Zo = () => w("peer", "h-6", "w-11", "rounded-full"), Qo
2505
2548
  }
2506
2549
  ),
2507
2550
  children: [
2508
- /* @__PURE__ */ o("p", { children: Zt }),
2509
- i.tags && i.tags.map((u) => /* @__PURE__ */ y(
2551
+ /* @__PURE__ */ o("p", { children: qt }),
2552
+ i.prompts && i.prompts.map((u) => /* @__PURE__ */ y(
2510
2553
  O,
2511
2554
  {
2512
- header: `Tag ${u.slot + 1}`,
2555
+ header: `Prompt ${u.slot + 1}`,
2513
2556
  className: "prose-dark dark:prose-lighter mb-2",
2514
2557
  children: [
2515
2558
  /* @__PURE__ */ y(Y, { className: "mt-8 mb-6", columnGap: 2, rowGap: 6, children: [
2516
- /* @__PURE__ */ o(M, { span: { fallback: 12, sm: 6 }, children: /* @__PURE__ */ o(
2517
- Ie,
2559
+ /* @__PURE__ */ o(M, { span: 12, children: /* @__PURE__ */ o(
2560
+ Ee,
2518
2561
  {
2519
2562
  label: "Label",
2520
- name: `tag${u.slot}-label`,
2563
+ name: `prompt${u.slot}-label`,
2521
2564
  value: u.label,
2522
- onChange: (f) => {
2565
+ onChange: (g) => {
2523
2566
  l({
2524
2567
  slot: u.slot,
2525
2568
  checked: u.enabled,
2526
- label: f.target.value,
2569
+ label: g.target.value,
2527
2570
  content: u.content
2528
2571
  });
2529
2572
  }
2530
2573
  }
2531
2574
  ) }),
2532
- /* @__PURE__ */ o(M, { span: { fallback: 12, sm: 6 }, children: /* @__PURE__ */ o(
2533
- Ie,
2575
+ /* @__PURE__ */ o(M, { span: 12, children: /* @__PURE__ */ o(
2576
+ Ee,
2534
2577
  {
2535
2578
  label: "Content",
2536
- name: `tag${u.slot}-content`,
2579
+ name: `prompt${u.slot}-content`,
2537
2580
  value: u.content,
2538
- onChange: (f) => {
2581
+ onChange: (g) => {
2539
2582
  l({
2540
2583
  slot: u.slot,
2541
2584
  checked: u.enabled,
2542
2585
  label: u.label,
2543
- content: f.target.value
2586
+ content: g.target.value
2544
2587
  });
2545
2588
  }
2546
2589
  }
@@ -2553,10 +2596,10 @@ const qo = "av-toggle", Zo = () => w("peer", "h-6", "w-11", "rounded-full"), Qo
2553
2596
  noBorder: !0,
2554
2597
  label: "Enabled",
2555
2598
  name: u.slot.toString(),
2556
- onChange: (f) => {
2599
+ onChange: (g) => {
2557
2600
  l({
2558
2601
  slot: u.slot,
2559
- checked: f,
2602
+ checked: g,
2560
2603
  label: u.label,
2561
2604
  content: u.content
2562
2605
  });
@@ -2566,7 +2609,7 @@ const qo = "av-toggle", Zo = () => w("peer", "h-6", "w-11", "rounded-full"), Qo
2566
2609
  )
2567
2610
  ]
2568
2611
  },
2569
- `tag-slot-${u.slot}`
2612
+ `prompt-slot-${u.slot}`
2570
2613
  ))
2571
2614
  ]
2572
2615
  }
@@ -2575,7 +2618,7 @@ const qo = "av-toggle", Zo = () => w("peer", "h-6", "w-11", "rounded-full"), Qo
2575
2618
  open: e,
2576
2619
  onOpenChange: t
2577
2620
  }) => {
2578
- const { dispatch: r } = D(ve), { getAccessToken: a, user: n } = Q(), [s, i] = R(!1), [c, l] = R({
2621
+ const { dispatch: r } = F(ve), { getAccessToken: a, user: n } = Q(), [s, i] = R(!1), [c, l] = R({
2579
2622
  loaded: !1,
2580
2623
  instructions: "",
2581
2624
  loadingLocation: !1,
@@ -2584,7 +2627,7 @@ const qo = "av-toggle", Zo = () => w("peer", "h-6", "w-11", "rounded-full"), Qo
2584
2627
  }), [d, u] = le({
2585
2628
  key: ce + tt,
2586
2629
  initialValue: !1
2587
- }), [f, p] = le({
2630
+ }), [g, p] = le({
2588
2631
  key: ce + Xt,
2589
2632
  initialValue: !1
2590
2633
  }), v = (m) => {
@@ -2594,7 +2637,7 @@ const qo = "av-toggle", Zo = () => w("peer", "h-6", "w-11", "rounded-full"), Qo
2594
2637
  try {
2595
2638
  await $({
2596
2639
  accessToken: await a(),
2597
- type: V.SET_USER_PREFERENCES,
2640
+ type: D.SET_USER_PREFERENCES,
2598
2641
  params: {
2599
2642
  user: n == null ? void 0 : n.username,
2600
2643
  instructions: c.instructions,
@@ -2616,16 +2659,16 @@ const qo = "av-toggle", Zo = () => w("peer", "h-6", "w-11", "rounded-full"), Qo
2616
2659
  loadingLocation: !0
2617
2660
  }));
2618
2661
  try {
2619
- const m = Date.now(), N = await tr(), E = await $({
2662
+ const m = Date.now(), C = await tr(), T = await $({
2620
2663
  accessToken: await a(),
2621
- type: V.GET_LOCATION,
2664
+ type: D.GET_LOCATION,
2622
2665
  params: {
2623
- latitude: N.latitude,
2624
- longitude: N.longitude
2666
+ latitude: C.latitude,
2667
+ longitude: C.longitude
2625
2668
  }
2626
2669
  }), _ = Date.now() - m;
2627
- if (_ < 2e3 && await new Promise((T) => setTimeout(T, 2e3 - _)), E.status === 200) {
2628
- const { city: T, state: H, country: G, displayName: U } = E.data, re = T && H && G ? `${T}, ${H}, ${G}` : U;
2670
+ if (_ < 2e3 && await new Promise((I) => setTimeout(I, 2e3 - _)), T.status === 200) {
2671
+ const { city: I, state: V, country: U, displayName: H } = T.data, re = I && V && U ? `${I}, ${V}, ${U}` : H;
2629
2672
  l((oe) => ({
2630
2673
  ...oe,
2631
2674
  loaded: !0,
@@ -2633,8 +2676,8 @@ const qo = "av-toggle", Zo = () => w("peer", "h-6", "w-11", "rounded-full"), Qo
2633
2676
  loadingLocation: !1
2634
2677
  }));
2635
2678
  } else
2636
- l((T) => ({
2637
- ...T,
2679
+ l((I) => ({
2680
+ ...I,
2638
2681
  loaded: !0,
2639
2682
  location: "",
2640
2683
  loadingLocation: !1
@@ -2642,19 +2685,19 @@ const qo = "av-toggle", Zo = () => w("peer", "h-6", "w-11", "rounded-full"), Qo
2642
2685
  } catch {
2643
2686
  }
2644
2687
  }, b = (m) => {
2645
- l((N) => ({
2646
- ...N,
2688
+ l((C) => ({
2689
+ ...C,
2647
2690
  engine: m ? ne : X
2648
2691
  }));
2649
- }, C = (m) => {
2650
- l((N) => ({
2651
- ...N,
2692
+ }, N = (m) => {
2693
+ l((C) => ({
2694
+ ...C,
2652
2695
  engine: m ? X : ne
2653
2696
  }));
2654
2697
  }, x = () => {
2655
2698
  i(!s);
2656
2699
  };
2657
- return Z(() => {
2700
+ return q(() => {
2658
2701
  if (!e || !n) {
2659
2702
  l({
2660
2703
  loaded: !1,
@@ -2669,13 +2712,13 @@ const qo = "av-toggle", Zo = () => w("peer", "h-6", "w-11", "rounded-full"), Qo
2669
2712
  try {
2670
2713
  const m = await $({
2671
2714
  accessToken: await a(),
2672
- type: V.GET_USER_PREFERENCES,
2715
+ type: D.GET_USER_PREFERENCES,
2673
2716
  params: {
2674
2717
  user: n.username
2675
2718
  }
2676
2719
  });
2677
- m.status === 200 && l((N) => ({
2678
- ...N,
2720
+ m.status === 200 && l((C) => ({
2721
+ ...C,
2679
2722
  loaded: !0,
2680
2723
  instructions: m.data.instructions || "",
2681
2724
  location: m.data.location || "",
@@ -2698,7 +2741,7 @@ const qo = "av-toggle", Zo = () => w("peer", "h-6", "w-11", "rounded-full"), Qo
2698
2741
  className: "pb-8 sm:pb-0",
2699
2742
  children: [
2700
2743
  /* @__PURE__ */ o(M, { children: /* @__PURE__ */ o(
2701
- F,
2744
+ G,
2702
2745
  {
2703
2746
  mode: "dark",
2704
2747
  variant: "secondary",
@@ -2710,7 +2753,7 @@ const qo = "av-toggle", Zo = () => w("peer", "h-6", "w-11", "rounded-full"), Qo
2710
2753
  }
2711
2754
  ) }),
2712
2755
  /* @__PURE__ */ o(M, { children: /* @__PURE__ */ o(
2713
- F,
2756
+ G,
2714
2757
  {
2715
2758
  mode: "dark",
2716
2759
  variant: "danger",
@@ -2732,7 +2775,7 @@ const qo = "av-toggle", Zo = () => w("peer", "h-6", "w-11", "rounded-full"), Qo
2732
2775
  header: S.SETTINGS_ENGINE.TITLE,
2733
2776
  className: "prose-dark dark:prose-lighter",
2734
2777
  children: [
2735
- /* @__PURE__ */ o("p", { className: "text-xs", children: "Select the AI engine that will be used to generate responses." }),
2778
+ /* @__PURE__ */ o("p", { className: "text-sm", children: "Select the AI engine that will be used to generate responses." }),
2736
2779
  /* @__PURE__ */ o(
2737
2780
  ie,
2738
2781
  {
@@ -2750,11 +2793,11 @@ const qo = "av-toggle", Zo = () => w("peer", "h-6", "w-11", "rounded-full"), Qo
2750
2793
  noBorder: !0,
2751
2794
  label: X,
2752
2795
  name: X,
2753
- onChange: C,
2796
+ onChange: N,
2754
2797
  checked: c.engine === X
2755
2798
  }
2756
2799
  ),
2757
- /* @__PURE__ */ o("p", { className: "text-xs", children: "This option introduces a new menu at the top of the screen, enabling you to quickly switch between engines." }),
2800
+ /* @__PURE__ */ o("p", { className: "text-sm", children: "This option introduces a new menu at the top of the screen, enabling you to quickly switch between engines." }),
2758
2801
  /* @__PURE__ */ o(
2759
2802
  ie,
2760
2803
  {
@@ -2766,7 +2809,7 @@ const qo = "av-toggle", Zo = () => w("peer", "h-6", "w-11", "rounded-full"), Qo
2766
2809
  checked: d
2767
2810
  }
2768
2811
  ),
2769
- /* @__PURE__ */ o("p", { className: "text-xs", children: "This option adds individual statistics for each messages under their respective bubbles, such as processing time, model name, and more." }),
2812
+ /* @__PURE__ */ o("p", { className: "text-sm", children: "This option adds individual statistics for each messages under their respective bubbles, such as processing time, model name, and more." }),
2770
2813
  /* @__PURE__ */ o(
2771
2814
  ie,
2772
2815
  {
@@ -2775,17 +2818,17 @@ const qo = "av-toggle", Zo = () => w("peer", "h-6", "w-11", "rounded-full"), Qo
2775
2818
  label: "Show Message Statistics",
2776
2819
  name: "show-message-statistics",
2777
2820
  onChange: v,
2778
- checked: f
2821
+ checked: g
2779
2822
  }
2780
2823
  ),
2781
- /* @__PURE__ */ o("h3", { className: "border-b-2 border-slate-400", children: "Tags" }),
2824
+ /* @__PURE__ */ o("h3", { className: "border-b-2 border-slate-400", children: "Prompts" }),
2782
2825
  /* @__PURE__ */ o(
2783
2826
  J,
2784
2827
  {
2785
2828
  className: "mt-2",
2786
2829
  size: "small",
2787
2830
  onClick: x,
2788
- labelLeft: "Edit Custom Tags",
2831
+ labelLeft: "Edit Custom Prompts",
2789
2832
  children: /* @__PURE__ */ o(xr, { size: "size-3", monotone: !0 })
2790
2833
  }
2791
2834
  )
@@ -2798,7 +2841,7 @@ const qo = "av-toggle", Zo = () => w("peer", "h-6", "w-11", "rounded-full"), Qo
2798
2841
  header: "Custom Instructions",
2799
2842
  className: "prose-dark dark:prose-lighter mt-4",
2800
2843
  children: [
2801
- /* @__PURE__ */ y("p", { children: [
2844
+ /* @__PURE__ */ y("p", { className: "text-sm", children: [
2802
2845
  "What would you like ",
2803
2846
  /* @__PURE__ */ o("em", { children: er }),
2804
2847
  " to know about you to provide better responses?"
@@ -2814,8 +2857,8 @@ const qo = "av-toggle", Zo = () => w("peer", "h-6", "w-11", "rounded-full"), Qo
2814
2857
  label: "Custom Instructions",
2815
2858
  value: c.instructions,
2816
2859
  onChange: (m) => {
2817
- l((N) => ({
2818
- ...N,
2860
+ l((C) => ({
2861
+ ...C,
2819
2862
  loaded: !0,
2820
2863
  instructions: m.target.value
2821
2864
  }));
@@ -2832,7 +2875,7 @@ const qo = "av-toggle", Zo = () => w("peer", "h-6", "w-11", "rounded-full"), Qo
2832
2875
  header: "Location",
2833
2876
  className: "prose-dark dark:prose-lighter mt-4",
2834
2877
  children: [
2835
- /* @__PURE__ */ o("p", { children: "You can share your location to receive customized responses based on your area." }),
2878
+ /* @__PURE__ */ o("p", { className: "text-sm", children: "You can share your location to receive customized responses based on your area." }),
2836
2879
  /* @__PURE__ */ o(
2837
2880
  je,
2838
2881
  {
@@ -2841,8 +2884,8 @@ const qo = "av-toggle", Zo = () => w("peer", "h-6", "w-11", "rounded-full"), Qo
2841
2884
  label: "Location",
2842
2885
  value: c.location,
2843
2886
  onChange: (m) => {
2844
- l((N) => ({
2845
- ...N,
2887
+ l((C) => ({
2888
+ ...C,
2846
2889
  loaded: !0,
2847
2890
  location: m.target.value
2848
2891
  }));
@@ -2851,7 +2894,7 @@ const qo = "av-toggle", Zo = () => w("peer", "h-6", "w-11", "rounded-full"), Qo
2851
2894
  }
2852
2895
  ),
2853
2896
  /* @__PURE__ */ o(
2854
- F,
2897
+ G,
2855
2898
  {
2856
2899
  className: "mt-2",
2857
2900
  size: "small",
@@ -2868,21 +2911,21 @@ const qo = "av-toggle", Zo = () => w("peer", "h-6", "w-11", "rounded-full"), Qo
2868
2911
  }
2869
2912
  );
2870
2913
  }, ha = () => {
2871
- const { state: e, dispatch: t, serverStats: r } = D(ve), [a, n] = R((e == null ? void 0 : e.engine) || me), [s, i] = R(!1), [c, l] = R(!1), [d, u] = R(!1), [f, p] = R(!1), [v, h] = R(!1), [k] = le({
2914
+ const { state: e, dispatch: t, serverStats: r } = F(ve), [a, n] = R((e == null ? void 0 : e.engine) || me), [s, i] = R(!1), [c, l] = R(!1), [d, u] = R(!1), [g, p] = R(!1), [v, h] = R(!1), [k] = le({
2872
2915
  key: ce + tt,
2873
2916
  initialValue: !1
2874
- }), { logout: b, getAccessToken: C, user: x } = Q(), m = () => {
2917
+ }), { logout: b, getAccessToken: N, user: x } = Q(), m = () => {
2875
2918
  i(!s);
2876
- }, N = () => {
2919
+ }, C = () => {
2877
2920
  l(!c);
2878
- }, E = () => {
2921
+ }, T = () => {
2879
2922
  u(!d);
2880
- }, A = () => {
2881
- p(!f);
2923
+ }, L = () => {
2924
+ p(!g);
2882
2925
  }, _ = () => {
2883
2926
  h(!v);
2884
2927
  };
2885
- return Z(() => {
2928
+ return q(() => {
2886
2929
  e && e.engine && e.engine !== a && n(e.engine);
2887
2930
  }, [e, a]), /* @__PURE__ */ y(z, { children: [
2888
2931
  /* @__PURE__ */ o(
@@ -2892,9 +2935,9 @@ const qo = "av-toggle", Zo = () => w("peer", "h-6", "w-11", "rounded-full"), Qo
2892
2935
  setShowConfirmation: h,
2893
2936
  action: b,
2894
2937
  customStrings: {
2895
- confirmAction: Ue,
2938
+ confirmAction: He,
2896
2939
  cancelAction: "Cancel",
2897
- title: Ue
2940
+ title: He
2898
2941
  },
2899
2942
  children: /* @__PURE__ */ o("p", { children: "Are you sure you want to log out?" })
2900
2943
  }
@@ -2902,7 +2945,7 @@ const qo = "av-toggle", Zo = () => w("peer", "h-6", "w-11", "rounded-full"), Qo
2902
2945
  /* @__PURE__ */ o(Yo, { open: s, onOpenChange: i }),
2903
2946
  /* @__PURE__ */ o(na, { open: c, onOpenChange: l }),
2904
2947
  /* @__PURE__ */ o(Wo, { open: d, onOpenChange: u }),
2905
- /* @__PURE__ */ o(Go, { open: f, onOpenChange: p }),
2948
+ /* @__PURE__ */ o(Uo, { open: g, onOpenChange: p }),
2906
2949
  /* @__PURE__ */ o("div", { className: "bg-slate-900 py-4 px-4 rounded-t-md", children: /* @__PURE__ */ y(Y, { alignHorizontal: "space-between", alignVertical: "center", children: [
2907
2950
  /* @__PURE__ */ o(M, { children: /* @__PURE__ */ o(cr, { mode: "dark", radius: "large" }) }),
2908
2951
  /* @__PURE__ */ o(M, { children: /* @__PURE__ */ y(Y, { children: [
@@ -2911,7 +2954,7 @@ const qo = "av-toggle", Zo = () => w("peer", "h-6", "w-11", "rounded-full"), Qo
2911
2954
  {
2912
2955
  mode: "dark",
2913
2956
  focusMode: "light",
2914
- trigger: /* @__PURE__ */ o(J, { className: "mr-2", children: e && e.engine === X ? /* @__PURE__ */ o(gt, {}) : /* @__PURE__ */ o(ft, {}) }),
2957
+ trigger: /* @__PURE__ */ o(J, { className: "mr-2", children: e && e.engine === X ? /* @__PURE__ */ o(ft, {}) : /* @__PURE__ */ o(gt, {}) }),
2915
2958
  defaultPlacement: "bottom-start",
2916
2959
  children: /* @__PURE__ */ o(j, { raw: !0, ignoreClick: !0, children: /* @__PURE__ */ o(
2917
2960
  ko,
@@ -2920,20 +2963,20 @@ const qo = "av-toggle", Zo = () => w("peer", "h-6", "w-11", "rounded-full"), Qo
2920
2963
  mode: "dark",
2921
2964
  focusMode: "light",
2922
2965
  value: a,
2923
- onValueChange: async (T) => {
2924
- if (T)
2966
+ onValueChange: async (I) => {
2967
+ if (I)
2925
2968
  try {
2926
2969
  await $({
2927
- accessToken: await C(),
2928
- type: V.SET_USER_PREFERENCES,
2970
+ accessToken: await N(),
2971
+ type: D.SET_USER_PREFERENCES,
2929
2972
  params: {
2930
2973
  user: x == null ? void 0 : x.username,
2931
- engine: T
2974
+ engine: I
2932
2975
  }
2933
2976
  }), t({
2934
2977
  type: rt,
2935
2978
  payload: {
2936
- engine: T
2979
+ engine: I
2937
2980
  }
2938
2981
  }), t({
2939
2982
  type: et
@@ -2941,7 +2984,7 @@ const qo = "av-toggle", Zo = () => w("peer", "h-6", "w-11", "rounded-full"), Qo
2941
2984
  } catch {
2942
2985
  }
2943
2986
  },
2944
- children: r && r.engines.map((T) => /* @__PURE__ */ o(wo, { value: T }, T))
2987
+ children: r && r.engines.map((I) => /* @__PURE__ */ o(wo, { value: I }, I))
2945
2988
  }
2946
2989
  ) })
2947
2990
  }
@@ -2959,14 +3002,14 @@ const qo = "av-toggle", Zo = () => w("peer", "h-6", "w-11", "rounded-full"), Qo
2959
3002
  {
2960
3003
  label: "Profile",
2961
3004
  onClick: m,
2962
- icon: /* @__PURE__ */ o(Er, {})
3005
+ icon: /* @__PURE__ */ o(Tr, {})
2963
3006
  }
2964
3007
  ),
2965
3008
  /* @__PURE__ */ o(
2966
3009
  j,
2967
3010
  {
2968
3011
  label: "Settings",
2969
- onClick: N,
3012
+ onClick: C,
2970
3013
  icon: /* @__PURE__ */ o(Rr, {})
2971
3014
  }
2972
3015
  ),
@@ -2974,16 +3017,16 @@ const qo = "av-toggle", Zo = () => w("peer", "h-6", "w-11", "rounded-full"), Qo
2974
3017
  j,
2975
3018
  {
2976
3019
  label: "History",
2977
- onClick: E,
2978
- icon: /* @__PURE__ */ o(Tr, {})
3020
+ onClick: T,
3021
+ icon: /* @__PURE__ */ o(Ir, {})
2979
3022
  }
2980
3023
  ),
2981
3024
  /* @__PURE__ */ o(
2982
3025
  j,
2983
3026
  {
2984
3027
  label: "About",
2985
- onClick: A,
2986
- icon: /* @__PURE__ */ o(Ir, {})
3028
+ onClick: L,
3029
+ icon: /* @__PURE__ */ o(Er, {})
2987
3030
  }
2988
3031
  ),
2989
3032
  e && e.id && !e.isComponent && /* @__PURE__ */ y(z, { children: [
@@ -2993,7 +3036,7 @@ const qo = "av-toggle", Zo = () => w("peer", "h-6", "w-11", "rounded-full"), Qo
2993
3036
  {
2994
3037
  label: "Log out",
2995
3038
  onClick: _,
2996
- icon: /* @__PURE__ */ o("div", { className: "text-red-700", children: /* @__PURE__ */ o(Cr, { monotone: !0 }) })
3039
+ icon: /* @__PURE__ */ o("div", { className: "text-red-700", children: /* @__PURE__ */ o(Nr, { monotone: !0 }) })
2997
3040
  }
2998
3041
  )
2999
3042
  ] })