@viglet/viglet-design-system 2026.3.11 → 2026.3.13

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.
Files changed (54) hide show
  1. package/README.md +41 -12
  2. package/consumers.json +2 -2
  3. package/dist/badge-locale-1_BmNTro.cjs +1 -0
  4. package/dist/{badge-locale-DxDp8Q3S.js → badge-locale-Bx7m7tg2.js} +189 -85
  5. package/dist/bento/bento-calendar.d.ts +52 -0
  6. package/dist/bento/bento-calendar.d.ts.map +1 -0
  7. package/dist/bento/bento-change-mark.d.ts +21 -0
  8. package/dist/bento/bento-change-mark.d.ts.map +1 -0
  9. package/dist/bento/bento-data-table.d.ts +8 -1
  10. package/dist/bento/bento-data-table.d.ts.map +1 -1
  11. package/dist/bento/bento-diff.d.ts +10 -1
  12. package/dist/bento/bento-diff.d.ts.map +1 -1
  13. package/dist/bento/bento-split-page.d.ts +31 -0
  14. package/dist/bento/bento-split-page.d.ts.map +1 -0
  15. package/dist/bento/bento-version-rail.d.ts.map +1 -1
  16. package/dist/bento/index.d.ts +4 -1
  17. package/dist/bento/index.d.ts.map +1 -1
  18. package/dist/bento.cjs +4 -4
  19. package/dist/bento.es.js +1431 -788
  20. package/dist/catalogue.json +256 -2
  21. package/dist/components/ui/form.d.ts +1 -1
  22. package/dist/components/ui/form.d.ts.map +1 -1
  23. package/dist/components/ui/index.d.ts +1 -0
  24. package/dist/components/ui/index.d.ts.map +1 -1
  25. package/dist/components/ui/tree.d.ts +60 -0
  26. package/dist/components/ui/tree.d.ts.map +1 -0
  27. package/dist/components/ui/viglet-assistant.d.ts +7 -1
  28. package/dist/components/ui/viglet-assistant.d.ts.map +1 -1
  29. package/dist/exports.json +20 -1
  30. package/dist/i18n/index.d.ts +44 -0
  31. package/dist/i18n/index.d.ts.map +1 -1
  32. package/dist/i18n/locales/en/bento.json.d.ts +22 -0
  33. package/dist/i18n/locales/pt/bento.json.d.ts +22 -0
  34. package/dist/i18n.cjs +1 -1
  35. package/dist/i18n.es.js +40 -0
  36. package/dist/index.cjs +1 -1
  37. package/dist/index.es.js +1365 -1230
  38. package/dist/{loading-provider-ClDkFPuv.js → loading-provider-D-_5G-08.js} +1 -1
  39. package/dist/{loading-provider-DGuCfsl9.cjs → loading-provider-E4tIG9BM.cjs} +1 -1
  40. package/dist/preset.css +1 -1
  41. package/dist/router.cjs +1 -1
  42. package/dist/router.es.js +1 -1
  43. package/dist/{user.context-Cr3GAQ_r.js → user.context-D3kmD3_y.js} +379 -210
  44. package/dist/user.context-gQvBxcwr.cjs +1 -0
  45. package/dist/viglet-design-system.css +1 -1
  46. package/docs/BENTO-AUTHORING.md +13 -2
  47. package/docs/reference/README.md +2 -1
  48. package/docs/reference/canvas.json +10 -1
  49. package/docs/reference/split.dc.html +164 -0
  50. package/package.json +1 -1
  51. package/scripts/lib/contrast.mjs +29 -3
  52. package/scripts/page-reference.mjs +3 -3
  53. package/dist/badge-locale-CJkHDlPg.cjs +0 -1
  54. package/dist/user.context-hbdvmXOn.cjs +0 -1
package/dist/index.es.js CHANGED
@@ -1,312 +1,360 @@
1
1
  "use client";
2
2
  import { a as e, n as t, r as n, t as r } from "./utils-Fk5jmzzb.js";
3
- import { C as i, S as a, _ as o, a as s, b as c, c as l, d as u, f as d, g as f, h as p, i as m, l as h, m as g, n as _, o as v, p as y, r as ee, s as b, t as x, u as S, x as te } from "./badge-locale-DxDp8Q3S.js";
4
- import { A as C, B as ne, C as w, D as T, E, F as D, H as O, I as k, L as A, M as j, N as M, O as N, P as re, R as P, S as ie, T as F, V as ae, _ as oe, a as se, b as ce, c as le, d as ue, f as de, g as fe, h as I, i as pe, j as me, k as L, l as he, m as ge, n as _e, o as ve, p as ye, s as be, t as xe, u as Se, v as Ce, w as we, x as Te, y as Ee, z as R } from "./user.context-Cr3GAQ_r.js";
5
- import { FloatingFormulasBg as De } from "./floating-formulas-bg.es.js";
6
- import { i as Oe, n as ke, r as Ae } from "./products-Du9KB6Xl.js";
7
- import * as z from "@radix-ui/react-accordion";
8
- import * as B from "react";
9
- import je, { createContext as Me, useCallback as Ne, useContext as Pe, useEffect as V, useMemo as Fe, useRef as H, useState as Ie } from "react";
10
- import { Fragment as Le, jsx as U, jsxs as W } from "react/jsx-runtime";
11
- import * as Re from "@radix-ui/react-avatar";
12
- import { Slot as ze } from "@radix-ui/react-slot";
13
- import { cva as Be } from "class-variance-authority";
14
- import { useTranslation as G } from "react-i18next";
15
- import * as K from "@radix-ui/react-dialog";
16
- import { Drawer as q } from "vaul";
17
- import { Controller as Ve, FormProvider as He, useFormContext as Ue, useFormState as We } from "react-hook-form";
18
- import * as Ge from "@radix-ui/react-label";
19
- import { IconAlertTriangle as Ke, IconAlertTriangleFilled as qe, IconCheck as Je, IconCircleCheck as Ye, IconDeviceFloppy as Xe, IconLoader2 as Ze, IconLogout as Qe, IconRefresh as $e, IconTrash as et, IconUserCircle as tt, IconX as nt } from "@tabler/icons-react";
20
- import * as rt from "@radix-ui/react-switch";
21
- import * as it from "@radix-ui/react-hover-card";
22
- import * as at from "@radix-ui/react-navigation-menu";
23
- import { Progress as ot } from "radix-ui";
24
- import { Group as st, Panel as ct, Separator as lt } from "react-resizable-panels";
3
+ import { C as i, S as a, _ as o, a as s, b as c, c as l, d as u, f as d, g as f, h as p, i as m, l as h, m as g, n as _, o as v, p as y, r as ee, s as b, t as x, u as S, x as C } from "./badge-locale-Bx7m7tg2.js";
4
+ import { A as w, B as T, C as te, D as E, E as D, F as O, G as k, H as A, I as j, J as M, K as N, L as P, M as ne, N as F, O as re, P as ie, R as ae, S as oe, T as se, U as ce, V as le, W as ue, X as de, Y as fe, _ as I, a as pe, b as me, c as L, d as he, f as ge, g as _e, h as ve, i as ye, j as be, k as xe, l as Se, m as Ce, n as we, o as Te, p as Ee, q as R, s as De, t as Oe, u as ke, v as Ae, w as je, x as Me, y as Ne, z as Pe } from "./user.context-D3kmD3_y.js";
5
+ import { FloatingFormulasBg as Fe } from "./floating-formulas-bg.es.js";
6
+ import { i as Ie, n as Le, r as Re } from "./products-Du9KB6Xl.js";
7
+ import * as ze from "@radix-ui/react-accordion";
8
+ import * as z from "react";
9
+ import Be, { createContext as Ve, useCallback as He, useContext as Ue, useEffect as B, useMemo as We, useRef as V, useState as Ge } from "react";
10
+ import { Fragment as Ke, jsx as H, jsxs as U } from "react/jsx-runtime";
11
+ import * as qe from "@radix-ui/react-avatar";
12
+ import { Slot as Je } from "@radix-ui/react-slot";
13
+ import { cva as Ye } from "class-variance-authority";
14
+ import { useTranslation as W } from "react-i18next";
15
+ import * as G from "@radix-ui/react-dialog";
16
+ import { Drawer as K } from "vaul";
17
+ import { Controller as Xe, FormProvider as Ze, useFormContext as Qe, useFormState as $e } from "react-hook-form";
18
+ import * as et from "@radix-ui/react-label";
19
+ import { IconAlertTriangle as tt, IconAlertTriangleFilled as nt, IconCheck as rt, IconCircleCheck as it, IconDeviceFloppy as at, IconLoader2 as ot, IconLogout as st, IconRefresh as ct, IconTrash as lt, IconUserCircle as ut, IconX as dt } from "@tabler/icons-react";
20
+ import * as ft from "@radix-ui/react-switch";
21
+ import * as pt from "@radix-ui/react-hover-card";
22
+ import * as q from "@radix-ui/react-navigation-menu";
23
+ import { Progress as mt } from "radix-ui";
25
24
  import * as J from "@radix-ui/react-select";
26
- import * as ut from "@radix-ui/react-separator";
27
- import * as dt from "@radix-ui/react-slider";
28
- import { ThemeProvider as ft, useTheme as pt } from "next-themes";
29
- import { useSonner as mt } from "sonner";
30
- import * as ht from "@radix-ui/react-tabs";
31
- import * as gt from "@radix-ui/react-toggle";
32
- import * as _t from "@radix-ui/react-toggle-group";
25
+ import * as ht from "@radix-ui/react-separator";
26
+ import * as gt from "@radix-ui/react-slider";
27
+ import { ThemeProvider as _t, useTheme as vt } from "next-themes";
28
+ import { useSonner as yt } from "sonner";
29
+ import * as bt from "@radix-ui/react-toggle";
30
+ import * as xt from "@radix-ui/react-toggle-group";
33
31
  import Y from "axios";
34
- import { enUS as vt, ptBR as yt } from "date-fns/locale";
35
- import * as bt from "xlsx";
36
- var xt = i("book", [["path", {
37
- d: "M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",
38
- key: "k3hazp"
39
- }]]), St = i("chevron-down", [["path", {
40
- d: "m6 9 6 6 6-6",
41
- key: "qrunsl"
42
- }]]), Ct = i("chevron-left", [["path", {
43
- d: "m15 18-6-6 6-6",
44
- key: "1wnfg3"
45
- }]]), wt = i("chevron-up", [["path", {
46
- d: "m18 15-6-6-6 6",
47
- key: "153udz"
48
- }]]), Tt = i("cloud", [["path", {
49
- d: "M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z",
50
- key: "p7xjir"
51
- }]]), Et = i("ellipsis", [
52
- ["circle", {
53
- cx: "12",
54
- cy: "12",
55
- r: "1",
56
- key: "41hilf"
57
- }],
58
- ["circle", {
59
- cx: "19",
60
- cy: "12",
61
- r: "1",
62
- key: "1wjl8i"
63
- }],
64
- ["circle", {
65
- cx: "5",
66
- cy: "12",
67
- r: "1",
68
- key: "1pcz8c"
69
- }]
70
- ]), Dt = i("external-link", [
71
- ["path", {
72
- d: "M15 3h6v6",
73
- key: "1q9fwt"
74
- }],
75
- ["path", {
76
- d: "M10 14 21 3",
77
- key: "gplh6r"
78
- }],
79
- ["path", {
80
- d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",
81
- key: "a6xqqp"
82
- }]
83
- ]), Ot = i("grip-vertical", [
84
- ["circle", {
85
- cx: "9",
86
- cy: "12",
87
- r: "1",
88
- key: "1vctgf"
89
- }],
90
- ["circle", {
91
- cx: "9",
92
- cy: "5",
93
- r: "1",
94
- key: "hp0tcf"
95
- }],
96
- ["circle", {
97
- cx: "9",
98
- cy: "19",
99
- r: "1",
100
- key: "fkjjf6"
101
- }],
102
- ["circle", {
103
- cx: "15",
104
- cy: "12",
105
- r: "1",
106
- key: "1tmaij"
107
- }],
108
- ["circle", {
109
- cx: "15",
110
- cy: "5",
111
- r: "1",
112
- key: "19l28e"
113
- }],
114
- ["circle", {
115
- cx: "15",
116
- cy: "19",
117
- r: "1",
118
- key: "f4zoj3"
119
- }]
120
- ]), kt = i("languages", [
121
- ["path", {
122
- d: "m5 8 6 6",
123
- key: "1wu5hv"
124
- }],
125
- ["path", {
126
- d: "m4 14 6-6 2-3",
127
- key: "1k1g8d"
128
- }],
129
- ["path", {
130
- d: "M2 5h12",
131
- key: "or177f"
132
- }],
133
- ["path", {
134
- d: "M7 2h1",
135
- key: "1t2jsx"
136
- }],
137
- ["path", {
138
- d: "m22 22-5-10-5 10",
139
- key: "don7ne"
140
- }],
141
- ["path", {
142
- d: "M14 18h6",
143
- key: "1m8k6r"
144
- }]
145
- ]), At = i("layout-grid", [
146
- ["rect", {
147
- width: "7",
148
- height: "7",
149
- x: "3",
150
- y: "3",
151
- rx: "1",
152
- key: "1g98yp"
153
- }],
154
- ["rect", {
155
- width: "7",
156
- height: "7",
157
- x: "14",
158
- y: "3",
159
- rx: "1",
160
- key: "6d4xhi"
161
- }],
162
- ["rect", {
163
- width: "7",
164
- height: "7",
165
- x: "14",
166
- y: "14",
167
- rx: "1",
168
- key: "nxv5o0"
169
- }],
170
- ["rect", {
171
- width: "7",
172
- height: "7",
32
+ import { enUS as St, ptBR as Ct } from "date-fns/locale";
33
+ import * as wt from "xlsx";
34
+ //#region node_modules/lucide-react/dist/esm/icons/book.mjs
35
+ var Tt = {
36
+ name: "book",
37
+ size: 24,
38
+ node: [["path", {
39
+ d: "M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",
40
+ key: "k3hazp"
41
+ }]]
42
+ };
43
+ Tt.node;
44
+ var Et = i(Tt), Dt = {
45
+ name: "chevron-down",
46
+ size: 24,
47
+ node: [["path", {
48
+ d: "m6 9 6 6 6-6",
49
+ key: "qrunsl"
50
+ }]]
51
+ };
52
+ Dt.node;
53
+ var Ot = i(Dt), kt = {
54
+ name: "chevron-left",
55
+ size: 24,
56
+ node: [["path", {
57
+ d: "m15 18-6-6 6-6",
58
+ key: "1wnfg3"
59
+ }]]
60
+ };
61
+ kt.node;
62
+ var At = i(kt), jt = {
63
+ name: "chevron-up",
64
+ size: 24,
65
+ node: [["path", {
66
+ d: "m18 15-6-6-6 6",
67
+ key: "153udz"
68
+ }]]
69
+ };
70
+ jt.node;
71
+ var Mt = i(jt), Nt = {
72
+ name: "cloud",
73
+ size: 24,
74
+ node: [["path", {
75
+ d: "M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z",
76
+ key: "p7xjir"
77
+ }]]
78
+ };
79
+ Nt.node;
80
+ var Pt = i(Nt), Ft = {
81
+ name: "ellipsis",
82
+ size: 24,
83
+ node: [
84
+ ["circle", {
85
+ cx: "12",
86
+ cy: "12",
87
+ r: "1",
88
+ key: "41hilf"
89
+ }],
90
+ ["circle", {
91
+ cx: "19",
92
+ cy: "12",
93
+ r: "1",
94
+ key: "1wjl8i"
95
+ }],
96
+ ["circle", {
97
+ cx: "5",
98
+ cy: "12",
99
+ r: "1",
100
+ key: "1pcz8c"
101
+ }]
102
+ ],
103
+ aliases: ["more-horizontal"]
104
+ };
105
+ Ft.node;
106
+ var It = i(Ft), Lt = {
107
+ name: "external-link",
108
+ size: 24,
109
+ node: [
110
+ ["path", {
111
+ d: "M15 3h6v6",
112
+ key: "1q9fwt"
113
+ }],
114
+ ["path", {
115
+ d: "M10 14 21 3",
116
+ key: "gplh6r"
117
+ }],
118
+ ["path", {
119
+ d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",
120
+ key: "a6xqqp"
121
+ }]
122
+ ]
123
+ };
124
+ Lt.node;
125
+ var Rt = i(Lt), zt = {
126
+ name: "languages",
127
+ size: 24,
128
+ node: [
129
+ ["path", {
130
+ d: "m5 8 6 6",
131
+ key: "1wu5hv"
132
+ }],
133
+ ["path", {
134
+ d: "m4 14 6-6 2-3",
135
+ key: "1k1g8d"
136
+ }],
137
+ ["path", {
138
+ d: "M2 5h12",
139
+ key: "or177f"
140
+ }],
141
+ ["path", {
142
+ d: "M7 2h1",
143
+ key: "1t2jsx"
144
+ }],
145
+ ["path", {
146
+ d: "m22 22-5-10-5 10",
147
+ key: "don7ne"
148
+ }],
149
+ ["path", {
150
+ d: "M14 18h6",
151
+ key: "1m8k6r"
152
+ }]
153
+ ]
154
+ };
155
+ zt.node;
156
+ var Bt = i(zt), Vt = {
157
+ name: "layout-grid",
158
+ size: 24,
159
+ node: [
160
+ ["rect", {
161
+ width: "7",
162
+ height: "7",
163
+ x: "3",
164
+ y: "3",
165
+ rx: "1",
166
+ key: "1g98yp"
167
+ }],
168
+ ["rect", {
169
+ width: "7",
170
+ height: "7",
171
+ x: "14",
172
+ y: "3",
173
+ rx: "1",
174
+ key: "6d4xhi"
175
+ }],
176
+ ["rect", {
177
+ width: "7",
178
+ height: "7",
179
+ x: "14",
180
+ y: "14",
181
+ rx: "1",
182
+ key: "nxv5o0"
183
+ }],
184
+ ["rect", {
185
+ width: "7",
186
+ height: "7",
187
+ x: "3",
188
+ y: "14",
189
+ rx: "1",
190
+ key: "1bb6yr"
191
+ }]
192
+ ]
193
+ };
194
+ Vt.node;
195
+ var Ht = i(Vt), Ut = {
196
+ name: "menu",
197
+ size: 24,
198
+ node: [
199
+ ["path", {
200
+ d: "M4 5h16",
201
+ key: "1tepv9"
202
+ }],
203
+ ["path", {
204
+ d: "M4 12h16",
205
+ key: "1lakjw"
206
+ }],
207
+ ["path", {
208
+ d: "M4 19h16",
209
+ key: "1djgab"
210
+ }]
211
+ ]
212
+ };
213
+ Ut.node;
214
+ var Wt = i(Ut), Gt = {
215
+ name: "monitor",
216
+ size: 24,
217
+ node: [
218
+ ["rect", {
219
+ width: "20",
220
+ height: "14",
221
+ x: "2",
222
+ y: "3",
223
+ rx: "2",
224
+ key: "48i651"
225
+ }],
226
+ ["line", {
227
+ x1: "8",
228
+ x2: "16",
229
+ y1: "21",
230
+ y2: "21",
231
+ key: "1svkeh"
232
+ }],
233
+ ["line", {
234
+ x1: "12",
235
+ x2: "12",
236
+ y1: "17",
237
+ y2: "21",
238
+ key: "vw1qmm"
239
+ }]
240
+ ]
241
+ };
242
+ Gt.node;
243
+ var Kt = i(Gt), qt = {
244
+ name: "moon",
245
+ size: 24,
246
+ node: [["path", {
247
+ d: "M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",
248
+ key: "kfwtm"
249
+ }]]
250
+ };
251
+ qt.node;
252
+ var Jt = i(qt), Yt = {
253
+ name: "panel-left",
254
+ size: 24,
255
+ node: [["rect", {
256
+ width: "18",
257
+ height: "18",
173
258
  x: "3",
174
- y: "14",
175
- rx: "1",
176
- key: "1bb6yr"
177
- }]
178
- ]), jt = i("menu", [
179
- ["path", {
180
- d: "M4 5h16",
181
- key: "1tepv9"
182
- }],
183
- ["path", {
184
- d: "M4 12h16",
185
- key: "1lakjw"
186
- }],
187
- ["path", {
188
- d: "M4 19h16",
189
- key: "1djgab"
190
- }]
191
- ]), Mt = i("monitor", [
192
- ["rect", {
193
- width: "20",
194
- height: "14",
195
- x: "2",
196
259
  y: "3",
197
260
  rx: "2",
198
- key: "48i651"
199
- }],
200
- ["line", {
201
- x1: "8",
202
- x2: "16",
203
- y1: "21",
204
- y2: "21",
205
- key: "1svkeh"
206
- }],
207
- ["line", {
208
- x1: "12",
209
- x2: "12",
210
- y1: "17",
211
- y2: "21",
212
- key: "vw1qmm"
213
- }]
214
- ]), Nt = i("moon", [["path", {
215
- d: "M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",
216
- key: "kfwtm"
217
- }]]), Pt = i("panel-left", [["rect", {
218
- width: "18",
219
- height: "18",
220
- x: "3",
221
- y: "3",
222
- rx: "2",
223
- key: "afitv7"
224
- }], ["path", {
225
- d: "M9 3v18",
226
- key: "fh3hqa"
227
- }]]), Ft = i("sun", [
228
- ["circle", {
229
- cx: "12",
230
- cy: "12",
231
- r: "4",
232
- key: "4exip2"
233
- }],
234
- ["path", {
235
- d: "M12 2v2",
236
- key: "tus03m"
237
- }],
238
- ["path", {
239
- d: "M12 20v2",
240
- key: "1lh1kg"
241
- }],
242
- ["path", {
243
- d: "m4.93 4.93 1.41 1.41",
244
- key: "149t6j"
245
- }],
246
- ["path", {
247
- d: "m17.66 17.66 1.41 1.41",
248
- key: "ptbguv"
249
- }],
250
- ["path", {
251
- d: "M2 12h2",
252
- key: "1t8f8n"
253
- }],
254
- ["path", {
255
- d: "M20 12h2",
256
- key: "1q8mjw"
257
- }],
258
- ["path", {
259
- d: "m6.34 17.66-1.41 1.41",
260
- key: "1m8zz5"
261
- }],
262
- ["path", {
263
- d: "m19.07 4.93-1.41 1.41",
264
- key: "1shlcs"
265
- }]
266
- ]), It = z.Root, Lt = B.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ U(z.Item, {
261
+ key: "afitv7"
262
+ }], ["path", {
263
+ d: "M9 3v18",
264
+ key: "fh3hqa"
265
+ }]],
266
+ aliases: ["sidebar"]
267
+ };
268
+ Yt.node;
269
+ var Xt = i(Yt), Zt = {
270
+ name: "sun",
271
+ size: 24,
272
+ node: [
273
+ ["circle", {
274
+ cx: "12",
275
+ cy: "12",
276
+ r: "4",
277
+ key: "4exip2"
278
+ }],
279
+ ["path", {
280
+ d: "M12 2v2",
281
+ key: "tus03m"
282
+ }],
283
+ ["path", {
284
+ d: "M12 20v2",
285
+ key: "1lh1kg"
286
+ }],
287
+ ["path", {
288
+ d: "m4.93 4.93 1.41 1.41",
289
+ key: "149t6j"
290
+ }],
291
+ ["path", {
292
+ d: "m17.66 17.66 1.41 1.41",
293
+ key: "ptbguv"
294
+ }],
295
+ ["path", {
296
+ d: "M2 12h2",
297
+ key: "1t8f8n"
298
+ }],
299
+ ["path", {
300
+ d: "M20 12h2",
301
+ key: "1q8mjw"
302
+ }],
303
+ ["path", {
304
+ d: "m6.34 17.66-1.41 1.41",
305
+ key: "1m8zz5"
306
+ }],
307
+ ["path", {
308
+ d: "m19.07 4.93-1.41 1.41",
309
+ key: "1shlcs"
310
+ }]
311
+ ]
312
+ };
313
+ Zt.node;
314
+ var Qt = i(Zt), $t = ze.Root, en = z.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ H(ze.Item, {
267
315
  ref: n,
268
316
  className: r("border-b", e),
269
317
  ...t
270
318
  }));
271
- Lt.displayName = "AccordionItem";
272
- var Rt = B.forwardRef(({ className: e, children: t, ...n }, i) => /* @__PURE__ */ U(z.Header, {
319
+ en.displayName = "AccordionItem";
320
+ var tn = z.forwardRef(({ className: e, children: t, ...n }, i) => /* @__PURE__ */ H(ze.Header, {
273
321
  className: "flex",
274
- children: /* @__PURE__ */ W(z.Trigger, {
322
+ children: /* @__PURE__ */ U(ze.Trigger, {
275
323
  ref: i,
276
324
  className: r("flex flex-1 items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180", e),
277
325
  ...n,
278
- children: [t, /* @__PURE__ */ U(St, { className: "h-4 w-4 shrink-0 transition-transform duration-200" })]
326
+ children: [t, /* @__PURE__ */ H(Ot, { className: "h-4 w-4 shrink-0 transition-transform duration-200" })]
279
327
  })
280
328
  }));
281
- Rt.displayName = z.Trigger.displayName;
282
- var zt = B.forwardRef(({ className: e, children: t, ...n }, i) => /* @__PURE__ */ U(z.Content, {
329
+ tn.displayName = ze.Trigger.displayName;
330
+ var nn = z.forwardRef(({ className: e, children: t, ...n }, i) => /* @__PURE__ */ H(ze.Content, {
283
331
  ref: i,
284
332
  className: "overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",
285
333
  ...n,
286
- children: /* @__PURE__ */ U("div", {
334
+ children: /* @__PURE__ */ H("div", {
287
335
  className: r("pb-4 pt-0", e),
288
336
  children: t
289
337
  })
290
338
  }));
291
- zt.displayName = z.Content.displayName;
339
+ nn.displayName = ze.Content.displayName;
292
340
  //#endregion
293
341
  //#region src/components/ui/avatar.tsx
294
- function Bt({ className: e, ...t }) {
295
- return /* @__PURE__ */ U(Re.Root, {
342
+ function rn({ className: e, ...t }) {
343
+ return /* @__PURE__ */ H(qe.Root, {
296
344
  "data-slot": "avatar",
297
345
  className: r("relative flex size-8 shrink-0 overflow-hidden rounded-full", e),
298
346
  ...t
299
347
  });
300
348
  }
301
- function Vt({ className: e, ...t }) {
302
- return /* @__PURE__ */ U(Re.Image, {
349
+ function an({ className: e, ...t }) {
350
+ return /* @__PURE__ */ H(qe.Image, {
303
351
  "data-slot": "avatar-image",
304
352
  className: r("aspect-square size-full", e),
305
353
  ...t
306
354
  });
307
355
  }
308
- function Ht({ className: e, ...t }) {
309
- return /* @__PURE__ */ U(Re.Fallback, {
356
+ function on({ className: e, ...t }) {
357
+ return /* @__PURE__ */ H(qe.Fallback, {
310
358
  "data-slot": "avatar-fallback",
311
359
  className: r("bg-muted flex size-full items-center justify-center rounded-full", e),
312
360
  ...t
@@ -314,37 +362,37 @@ function Ht({ className: e, ...t }) {
314
362
  }
315
363
  //#endregion
316
364
  //#region src/components/ui/breadcrumb.tsx
317
- function Ut({ ...e }) {
318
- let { t } = G();
319
- return /* @__PURE__ */ U("nav", {
365
+ function sn({ ...e }) {
366
+ let { t } = W();
367
+ return /* @__PURE__ */ H("nav", {
320
368
  "aria-label": t("common.breadcrumb", { defaultValue: "Breadcrumb" }),
321
369
  "data-slot": "breadcrumb",
322
370
  ...e
323
371
  });
324
372
  }
325
- function Wt({ className: e, ...t }) {
326
- return /* @__PURE__ */ U("ol", {
373
+ function cn({ className: e, ...t }) {
374
+ return /* @__PURE__ */ H("ol", {
327
375
  "data-slot": "breadcrumb-list",
328
376
  className: r("text-muted-foreground flex flex-wrap items-center gap-1.5 text-sm break-words sm:gap-2.5", e),
329
377
  ...t
330
378
  });
331
379
  }
332
- function Gt({ className: e, ...t }) {
333
- return /* @__PURE__ */ U("li", {
380
+ function ln({ className: e, ...t }) {
381
+ return /* @__PURE__ */ H("li", {
334
382
  "data-slot": "breadcrumb-item",
335
383
  className: r("inline-flex items-center gap-1.5", e),
336
384
  ...t
337
385
  });
338
386
  }
339
- function Kt({ asChild: e, className: t, ...n }) {
340
- return /* @__PURE__ */ U(e ? ze : "a", {
387
+ function un({ asChild: e, className: t, ...n }) {
388
+ return /* @__PURE__ */ H(e ? Je : "a", {
341
389
  "data-slot": "breadcrumb-link",
342
390
  className: r("hover:text-foreground transition-colors", t),
343
391
  ...n
344
392
  });
345
393
  }
346
- function qt({ className: e, ...t }) {
347
- return /* @__PURE__ */ U("span", {
394
+ function dn({ className: e, ...t }) {
395
+ return /* @__PURE__ */ H("span", {
348
396
  "data-slot": "breadcrumb-page",
349
397
  role: "link",
350
398
  "aria-disabled": "true",
@@ -353,25 +401,25 @@ function qt({ className: e, ...t }) {
353
401
  ...t
354
402
  });
355
403
  }
356
- function Jt({ children: e, className: t, ...n }) {
357
- return /* @__PURE__ */ U("li", {
404
+ function fn({ children: e, className: t, ...n }) {
405
+ return /* @__PURE__ */ H("li", {
358
406
  "data-slot": "breadcrumb-separator",
359
407
  role: "presentation",
360
408
  "aria-hidden": "true",
361
409
  className: r("[&>svg]:size-3.5", t),
362
410
  ...n,
363
- children: e ?? /* @__PURE__ */ U(ae, {})
411
+ children: e ?? /* @__PURE__ */ H(fe, {})
364
412
  });
365
413
  }
366
- function Yt({ className: e, ...t }) {
367
- let { t: n } = G();
368
- return /* @__PURE__ */ W("span", {
414
+ function pn({ className: e, ...t }) {
415
+ let { t: n } = W();
416
+ return /* @__PURE__ */ U("span", {
369
417
  "data-slot": "breadcrumb-ellipsis",
370
418
  role: "presentation",
371
419
  "aria-hidden": "true",
372
420
  className: r("flex size-9 items-center justify-center", e),
373
421
  ...t,
374
- children: [/* @__PURE__ */ U(Et, { className: "size-4" }), /* @__PURE__ */ U("span", {
422
+ children: [/* @__PURE__ */ H(It, { className: "size-4" }), /* @__PURE__ */ H("span", {
375
423
  className: "sr-only",
376
424
  children: n("common.more", { defaultValue: "More" })
377
425
  })]
@@ -379,50 +427,50 @@ function Yt({ className: e, ...t }) {
379
427
  }
380
428
  //#endregion
381
429
  //#region src/components/ui/card.tsx
382
- function Xt({ className: e, ...t }) {
383
- return /* @__PURE__ */ U("div", {
430
+ function mn({ className: e, ...t }) {
431
+ return /* @__PURE__ */ H("div", {
384
432
  "data-slot": "card",
385
433
  className: r("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm", e),
386
434
  ...t
387
435
  });
388
436
  }
389
- function Zt({ className: e, ...t }) {
390
- return /* @__PURE__ */ U("div", {
437
+ function hn({ className: e, ...t }) {
438
+ return /* @__PURE__ */ H("div", {
391
439
  "data-slot": "card-header",
392
440
  className: r("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-2 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6", e),
393
441
  ...t
394
442
  });
395
443
  }
396
- function Qt({ className: e, ...t }) {
397
- return /* @__PURE__ */ U("div", {
444
+ function gn({ className: e, ...t }) {
445
+ return /* @__PURE__ */ H("div", {
398
446
  "data-slot": "card-title",
399
447
  className: r("leading-none font-semibold", e),
400
448
  ...t
401
449
  });
402
450
  }
403
- function $t({ className: e, ...t }) {
404
- return /* @__PURE__ */ U("div", {
451
+ function _n({ className: e, ...t }) {
452
+ return /* @__PURE__ */ H("div", {
405
453
  "data-slot": "card-description",
406
454
  className: r("text-muted-foreground text-sm", e),
407
455
  ...t
408
456
  });
409
457
  }
410
- function en({ className: e, ...t }) {
411
- return /* @__PURE__ */ U("div", {
458
+ function vn({ className: e, ...t }) {
459
+ return /* @__PURE__ */ H("div", {
412
460
  "data-slot": "card-action",
413
461
  className: r("col-start-2 row-span-2 row-start-1 self-start justify-self-end", e),
414
462
  ...t
415
463
  });
416
464
  }
417
- function tn({ className: e, ...t }) {
418
- return /* @__PURE__ */ U("div", {
465
+ function yn({ className: e, ...t }) {
466
+ return /* @__PURE__ */ H("div", {
419
467
  "data-slot": "card-content",
420
468
  className: r("px-6", e),
421
469
  ...t
422
470
  });
423
471
  }
424
- function nn({ className: e, ...t }) {
425
- return /* @__PURE__ */ U("div", {
472
+ function bn({ className: e, ...t }) {
473
+ return /* @__PURE__ */ H("div", {
426
474
  "data-slot": "card-footer",
427
475
  className: r("flex items-center px-6 [.border-t]:pt-6", e),
428
476
  ...t
@@ -430,71 +478,71 @@ function nn({ className: e, ...t }) {
430
478
  }
431
479
  //#endregion
432
480
  //#region src/components/ui/drawer.tsx
433
- function rn({ ...e }) {
434
- return /* @__PURE__ */ U(q.Root, {
481
+ function xn({ ...e }) {
482
+ return /* @__PURE__ */ H(K.Root, {
435
483
  "data-slot": "drawer",
436
484
  ...e
437
485
  });
438
486
  }
439
- function an({ ...e }) {
440
- return /* @__PURE__ */ U(q.Trigger, {
487
+ function Sn({ ...e }) {
488
+ return /* @__PURE__ */ H(K.Trigger, {
441
489
  "data-slot": "drawer-trigger",
442
490
  ...e
443
491
  });
444
492
  }
445
- function on({ ...e }) {
446
- return /* @__PURE__ */ U(q.Portal, {
493
+ function Cn({ ...e }) {
494
+ return /* @__PURE__ */ H(K.Portal, {
447
495
  "data-slot": "drawer-portal",
448
496
  ...e
449
497
  });
450
498
  }
451
- function sn({ ...e }) {
452
- return /* @__PURE__ */ U(q.Close, {
499
+ function wn({ ...e }) {
500
+ return /* @__PURE__ */ H(K.Close, {
453
501
  "data-slot": "drawer-close",
454
502
  ...e
455
503
  });
456
504
  }
457
- function cn({ className: e, ...t }) {
458
- return /* @__PURE__ */ U(q.Overlay, {
505
+ function Tn({ className: e, ...t }) {
506
+ return /* @__PURE__ */ H(K.Overlay, {
459
507
  "data-slot": "drawer-overlay",
460
508
  className: r("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50", e),
461
509
  ...t
462
510
  });
463
511
  }
464
- function ln({ className: e, children: t, ...n }) {
465
- return /* @__PURE__ */ W(on, {
512
+ function En({ className: e, children: t, ...n }) {
513
+ return /* @__PURE__ */ U(Cn, {
466
514
  "data-slot": "drawer-portal",
467
- children: [/* @__PURE__ */ U(cn, {}), /* @__PURE__ */ W(q.Content, {
515
+ children: [/* @__PURE__ */ H(Tn, {}), /* @__PURE__ */ U(K.Content, {
468
516
  "data-slot": "drawer-content",
469
517
  className: r("group/drawer-content bg-background fixed z-50 flex h-auto flex-col", "data-[vaul-drawer-direction=top]:inset-x-0 data-[vaul-drawer-direction=top]:top-0 data-[vaul-drawer-direction=top]:mb-24 data-[vaul-drawer-direction=top]:max-h-[80vh] data-[vaul-drawer-direction=top]:rounded-b-lg data-[vaul-drawer-direction=top]:border-b", "data-[vaul-drawer-direction=bottom]:inset-x-0 data-[vaul-drawer-direction=bottom]:bottom-0 data-[vaul-drawer-direction=bottom]:mt-24 data-[vaul-drawer-direction=bottom]:max-h-[80vh] data-[vaul-drawer-direction=bottom]:rounded-t-lg data-[vaul-drawer-direction=bottom]:border-t", "data-[vaul-drawer-direction=right]:inset-y-0 data-[vaul-drawer-direction=right]:right-0 data-[vaul-drawer-direction=right]:w-3/4 data-[vaul-drawer-direction=right]:border-l data-[vaul-drawer-direction=right]:sm:max-w-sm", "data-[vaul-drawer-direction=left]:inset-y-0 data-[vaul-drawer-direction=left]:left-0 data-[vaul-drawer-direction=left]:w-3/4 data-[vaul-drawer-direction=left]:border-r data-[vaul-drawer-direction=left]:sm:max-w-sm", e),
470
518
  ...n,
471
- children: [/* @__PURE__ */ U("div", { className: "bg-muted mx-auto mt-4 hidden h-2 w-[100px] shrink-0 rounded-full group-data-[vaul-drawer-direction=bottom]/drawer-content:block" }), t]
519
+ children: [/* @__PURE__ */ H("div", { className: "bg-muted mx-auto mt-4 hidden h-2 w-[100px] shrink-0 rounded-full group-data-[vaul-drawer-direction=bottom]/drawer-content:block" }), t]
472
520
  })]
473
521
  });
474
522
  }
475
- function un({ className: e, ...t }) {
476
- return /* @__PURE__ */ U("div", {
523
+ function Dn({ className: e, ...t }) {
524
+ return /* @__PURE__ */ H("div", {
477
525
  "data-slot": "drawer-header",
478
526
  className: r("flex flex-col gap-0.5 p-4 group-data-[vaul-drawer-direction=bottom]/drawer-content:text-center group-data-[vaul-drawer-direction=top]/drawer-content:text-center md:gap-1.5 md:text-left", e),
479
527
  ...t
480
528
  });
481
529
  }
482
- function dn({ className: e, ...t }) {
483
- return /* @__PURE__ */ U("div", {
530
+ function On({ className: e, ...t }) {
531
+ return /* @__PURE__ */ H("div", {
484
532
  "data-slot": "drawer-footer",
485
533
  className: r("mt-auto flex flex-col gap-2 p-4", e),
486
534
  ...t
487
535
  });
488
536
  }
489
- function fn({ className: e, ...t }) {
490
- return /* @__PURE__ */ U(q.Title, {
537
+ function kn({ className: e, ...t }) {
538
+ return /* @__PURE__ */ H(K.Title, {
491
539
  "data-slot": "drawer-title",
492
540
  className: r("text-foreground font-semibold", e),
493
541
  ...t
494
542
  });
495
543
  }
496
- function pn({ className: e, ...t }) {
497
- return /* @__PURE__ */ U(q.Description, {
544
+ function An({ className: e, ...t }) {
545
+ return /* @__PURE__ */ H(K.Description, {
498
546
  "data-slot": "drawer-description",
499
547
  className: r("text-muted-foreground text-sm", e),
500
548
  ...t
@@ -502,8 +550,8 @@ function pn({ className: e, ...t }) {
502
550
  }
503
551
  //#endregion
504
552
  //#region src/components/ui/label.tsx
505
- function mn({ className: e, ...t }) {
506
- return /* @__PURE__ */ U(Ge.Root, {
553
+ function jn({ className: e, ...t }) {
554
+ return /* @__PURE__ */ H(et.Root, {
507
555
  "data-slot": "label",
508
556
  className: r("flex items-center gap-2 text-sm leading-none font-medium text-foreground select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50", e),
509
557
  ...t
@@ -511,17 +559,17 @@ function mn({ className: e, ...t }) {
511
559
  }
512
560
  //#endregion
513
561
  //#region src/components/ui/form.tsx
514
- var hn = He, gn = B.createContext({}), _n = ({ ...e }) => {
515
- let t = !!e.rules?.required, n = B.useMemo(() => ({
562
+ var Mn = Ze, Nn = z.createContext({}), Pn = ({ ...e }) => {
563
+ let t = !!e.rules?.required, n = z.useMemo(() => ({
516
564
  name: e.name,
517
565
  required: t
518
566
  }), [e.name, t]);
519
- return /* @__PURE__ */ U(gn.Provider, {
567
+ return /* @__PURE__ */ H(Nn.Provider, {
520
568
  value: n,
521
- children: /* @__PURE__ */ U(Ve, { ...e })
569
+ children: /* @__PURE__ */ H(Xe, { ...e })
522
570
  });
523
- }, vn = () => {
524
- let e = B.useContext(gn), t = B.useContext(yn), { getFieldState: n } = Ue(), r = We({ name: e.name }), i = n(e.name, r);
571
+ }, Fn = () => {
572
+ let e = z.useContext(Nn), t = z.useContext(In), { getFieldState: n } = Qe(), r = $e({ name: e.name }), i = n(e.name, r);
525
573
  if (!e) throw Error("useFormField should be used within <FormField>");
526
574
  let { id: a } = t;
527
575
  return {
@@ -533,35 +581,35 @@ var hn = He, gn = B.createContext({}), _n = ({ ...e }) => {
533
581
  formMessageId: `${a}-form-item-message`,
534
582
  ...i
535
583
  };
536
- }, yn = B.createContext({});
537
- function bn({ className: e, ...t }) {
538
- let n = B.useId(), i = B.useMemo(() => ({ id: n }), [n]);
539
- return /* @__PURE__ */ U(yn.Provider, {
584
+ }, In = z.createContext({});
585
+ function Ln({ className: e, ...t }) {
586
+ let n = z.useId(), i = z.useMemo(() => ({ id: n }), [n]);
587
+ return /* @__PURE__ */ H(In.Provider, {
540
588
  value: i,
541
- children: /* @__PURE__ */ U("div", {
589
+ children: /* @__PURE__ */ H("div", {
542
590
  "data-slot": "form-item",
543
591
  className: r("grid gap-2", e),
544
592
  ...t
545
593
  })
546
594
  });
547
595
  }
548
- function xn({ className: e, children: t, ...n }) {
549
- let { error: i, formItemId: a, required: o } = vn();
550
- return /* @__PURE__ */ W(mn, {
596
+ function Rn({ className: e, children: t, ...n }) {
597
+ let { error: i, formItemId: a, required: o } = Fn();
598
+ return /* @__PURE__ */ U(jn, {
551
599
  "data-slot": "form-label",
552
600
  "data-error": !!i,
553
601
  className: r("data-[error=true]:text-destructive", e),
554
602
  htmlFor: a,
555
603
  ...n,
556
- children: [t, o ? /* @__PURE__ */ U("span", {
604
+ children: [t, o ? /* @__PURE__ */ H("span", {
557
605
  className: "text-destructive",
558
606
  children: " *"
559
607
  }) : null]
560
608
  });
561
609
  }
562
- function Sn({ ...e }) {
563
- let { error: t, formItemId: n, formDescriptionId: r, formMessageId: i } = vn();
564
- return /* @__PURE__ */ U(ze, {
610
+ function zn({ ...e }) {
611
+ let { error: t, formItemId: n, formDescriptionId: r, formMessageId: i } = Fn();
612
+ return /* @__PURE__ */ H(Je, {
565
613
  "data-slot": "form-control",
566
614
  id: n,
567
615
  "aria-describedby": t ? `${r} ${i}` : `${r}`,
@@ -569,18 +617,18 @@ function Sn({ ...e }) {
569
617
  ...e
570
618
  });
571
619
  }
572
- function Cn({ className: e, ...t }) {
573
- let { formDescriptionId: n } = vn();
574
- return /* @__PURE__ */ U("p", {
620
+ function Bn({ className: e, ...t }) {
621
+ let { formDescriptionId: n } = Fn();
622
+ return /* @__PURE__ */ H("p", {
575
623
  "data-slot": "form-description",
576
624
  id: n,
577
625
  className: r("text-muted-foreground text-sm", e),
578
626
  ...t
579
627
  });
580
628
  }
581
- function wn({ className: e, ...t }) {
582
- let { error: n, formMessageId: i } = vn(), a = n ? String(n?.message ?? "") : t.children;
583
- return a ? /* @__PURE__ */ U("p", {
629
+ function Vn({ className: e, ...t }) {
630
+ let { error: n, formMessageId: i } = Fn(), a = n ? String(n?.message ?? "") : t.children;
631
+ return a ? /* @__PURE__ */ H("p", {
584
632
  "data-slot": "form-message",
585
633
  id: i,
586
634
  className: r("text-destructive text-sm", e),
@@ -590,63 +638,63 @@ function wn({ className: e, ...t }) {
590
638
  }
591
639
  //#endregion
592
640
  //#region src/components/ui/form-actions.tsx
593
- function Tn({ children: e, className: t }) {
594
- return /* @__PURE__ */ U("div", {
641
+ function Hn({ children: e, className: t }) {
642
+ return /* @__PURE__ */ H("div", {
595
643
  className: r("flex items-center justify-end gap-3 pt-4 border-t", t),
596
644
  children: e
597
645
  });
598
646
  }
599
- function En({ onClick: e, children: t, className: n }) {
600
- let { t: r } = G();
601
- return /* @__PURE__ */ W(v, {
647
+ function Un({ onClick: e, children: t, className: n }) {
648
+ let { t: r } = W();
649
+ return /* @__PURE__ */ U(v, {
602
650
  type: "button",
603
651
  variant: "outline",
604
652
  onClick: e,
605
653
  className: n,
606
- children: [/* @__PURE__ */ U(nt, { className: "size-4" }), t ?? r("forms.formActions.cancel")]
654
+ children: [/* @__PURE__ */ H(dt, { className: "size-4" }), t ?? r("forms.formActions.cancel")]
607
655
  });
608
656
  }
609
- function Dn({ loading: e, disabled: t, children: n, className: r }) {
610
- let { t: i } = G();
611
- return /* @__PURE__ */ W(v, {
657
+ function Wn({ loading: e, disabled: t, children: n, className: r }) {
658
+ let { t: i } = W();
659
+ return /* @__PURE__ */ U(v, {
612
660
  type: "submit",
613
661
  disabled: t || e,
614
662
  className: r,
615
- children: [e ? /* @__PURE__ */ U(Ze, { className: "size-4 animate-spin" }) : /* @__PURE__ */ U(Xe, { className: "size-4" }), n ?? i("forms.formActions.saveChanges")]
663
+ children: [e ? /* @__PURE__ */ H(ot, { className: "size-4 animate-spin" }) : /* @__PURE__ */ H(at, { className: "size-4" }), n ?? i("forms.formActions.saveChanges")]
616
664
  });
617
665
  }
618
- function On({ onClick: e, children: t, className: n }) {
619
- let { t: i } = G();
620
- return /* @__PURE__ */ W(v, {
666
+ function Gn({ onClick: e, children: t, className: n }) {
667
+ let { t: i } = W();
668
+ return /* @__PURE__ */ U(v, {
621
669
  type: "button",
622
670
  variant: "outline",
623
671
  onClick: e,
624
672
  className: r("md:hidden text-destructive border-destructive/30 hover:bg-destructive/10 mr-auto", n),
625
- children: [/* @__PURE__ */ U(et, { className: "size-4" }), t ?? i("forms.formActions.delete")]
673
+ children: [/* @__PURE__ */ H(lt, { className: "size-4" }), t ?? i("forms.formActions.delete")]
626
674
  });
627
675
  }
628
- Tn.Cancel = En, Tn.Submit = Dn, Tn.Delete = On;
629
- var kn = Object.assign(({ className: e, ...t }) => /* @__PURE__ */ U(bn, { children: /* @__PURE__ */ U("div", {
676
+ Hn.Cancel = Un, Hn.Submit = Wn, Hn.Delete = Gn;
677
+ var Kn = Object.assign(({ className: e, ...t }) => /* @__PURE__ */ H(Ln, { children: /* @__PURE__ */ H("div", {
630
678
  className: r("flex w-full flex-row items-center gap-4", e),
631
679
  ...t
632
680
  }) }), {
633
- Left: ({ className: e, ...t }) => /* @__PURE__ */ U("div", {
681
+ Left: ({ className: e, ...t }) => /* @__PURE__ */ H("div", {
634
682
  className: r("flex w-1/2 flex-col gap-1", e),
635
683
  ...t
636
684
  }),
637
- Right: ({ className: e, ...t }) => /* @__PURE__ */ U("div", {
685
+ Right: ({ className: e, ...t }) => /* @__PURE__ */ H("div", {
638
686
  className: r("flex w-1/2 justify-end", e),
639
687
  ...t
640
688
  }),
641
- Label: ({ className: e, ...t }) => /* @__PURE__ */ U(xn, {
689
+ Label: ({ className: e, ...t }) => /* @__PURE__ */ H(Rn, {
642
690
  className: r(e),
643
691
  ...t
644
692
  }),
645
- Description: ({ className: e, ...t }) => /* @__PURE__ */ U(Cn, {
693
+ Description: ({ className: e, ...t }) => /* @__PURE__ */ H(Bn, {
646
694
  className: r(e),
647
695
  ...t
648
696
  })
649
- }), An = Be("peer inline-flex h-[1.15rem] w-8 shrink-0 items-center rounded-full border border-transparent shadow-xs transition-all outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50", {
697
+ }), qn = Ye("peer inline-flex h-[1.15rem] w-8 shrink-0 items-center rounded-full border border-transparent shadow-xs transition-all outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50", {
650
698
  variants: { variant: {
651
699
  default: [
652
700
  "data-[state=checked]:bg-gradient-to-r data-[state=checked]:from-[var(--vg-accent-fill-from)] data-[state=checked]:to-[var(--vg-accent-fill-to)]",
@@ -681,12 +729,12 @@ var kn = Object.assign(({ className: e, ...t }) => /* @__PURE__ */ U(bn, { child
681
729
  } },
682
730
  defaultVariants: { variant: "default" }
683
731
  });
684
- function jn({ className: e, variant: t, ...n }) {
685
- return /* @__PURE__ */ U(rt.Root, {
732
+ function Jn({ className: e, variant: t, ...n }) {
733
+ return /* @__PURE__ */ H(ft.Root, {
686
734
  "data-slot": "gradient-switch",
687
- className: r(An({ variant: t }), e),
735
+ className: r(qn({ variant: t }), e),
688
736
  ...n,
689
- children: /* @__PURE__ */ U(rt.Thumb, {
737
+ children: /* @__PURE__ */ H(ft.Thumb, {
690
738
  "data-slot": "gradient-switch-thumb",
691
739
  className: r("bg-background pointer-events-none block size-4 rounded-full ring-0 transition-transform data-[state=checked]:translate-x-[calc(100%-2px)] data-[state=unchecked]:translate-x-0 dark:bg-primary-foreground")
692
740
  })
@@ -694,11 +742,11 @@ function jn({ className: e, variant: t, ...n }) {
694
742
  }
695
743
  //#endregion
696
744
  //#region src/components/ui/glass-card.tsx
697
- var Mn = "rounded-2xl p-6 sm:p-8";
698
- function Nn({ children: e, color: t, colorDark: n, className: i, style: a, ...o }) {
745
+ var Yn = "rounded-2xl p-6 sm:p-8";
746
+ function Xn({ children: e, color: t, colorDark: n, className: i, style: a, ...o }) {
699
747
  let s = {};
700
- return t && (s["--glass-card-color"] = t), n ? s["--glass-card-color-dark"] = n : t && (s["--glass-card-color-dark"] = t), /* @__PURE__ */ U("div", {
701
- className: r("vig-glass-card", Mn, i),
748
+ return t && (s["--glass-card-color"] = t), n ? s["--glass-card-color-dark"] = n : t && (s["--glass-card-color-dark"] = t), /* @__PURE__ */ H("div", {
749
+ className: r("vig-glass-card", Yn, i),
702
750
  style: {
703
751
  ...a ?? {},
704
752
  ...s
@@ -709,9 +757,9 @@ function Nn({ children: e, color: t, colorDark: n, className: i, style: a, ...o
709
757
  }
710
758
  //#endregion
711
759
  //#region src/components/ui/pulse-ring.tsx
712
- function Pn({ children: e, color: t, colorDark: n, paused: i, className: a, style: o, ...s }) {
760
+ function Zn({ children: e, color: t, colorDark: n, paused: i, className: a, style: o, ...s }) {
713
761
  let c = {};
714
- return t && (c["--pulse-ring-color"] = t), n ? c["--pulse-ring-color-dark"] = n : t && (c["--pulse-ring-color-dark"] = t), /* @__PURE__ */ U("div", {
762
+ return t && (c["--pulse-ring-color"] = t), n ? c["--pulse-ring-color-dark"] = n : t && (c["--pulse-ring-color-dark"] = t), /* @__PURE__ */ H("div", {
715
763
  className: r("vig-pulse-ring", !i && "vig-pulse-ring--active", a),
716
764
  style: {
717
765
  ...o ?? {},
@@ -723,116 +771,116 @@ function Pn({ children: e, color: t, colorDark: n, paused: i, className: a, styl
723
771
  }
724
772
  //#endregion
725
773
  //#region src/components/ui/hover-card.tsx
726
- var Fn = it.Root, In = it.Trigger, Ln = B.forwardRef(({ className: e, align: t = "center", sideOffset: n = 4, ...i }, a) => /* @__PURE__ */ U(it.Content, {
774
+ var Qn = pt.Root, $n = pt.Trigger, er = z.forwardRef(({ className: e, align: t = "center", sideOffset: n = 4, ...i }, a) => /* @__PURE__ */ H(pt.Content, {
727
775
  ref: a,
728
776
  align: t,
729
777
  sideOffset: n,
730
778
  className: r("z-50 w-64 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2", e),
731
779
  ...i
732
780
  }));
733
- Ln.displayName = it.Content.displayName;
781
+ er.displayName = pt.Content.displayName;
734
782
  //#endregion
735
783
  //#region src/components/ui/navigation-menu.tsx
736
- function Rn({ className: e, children: t, viewport: n = !0, ...i }) {
737
- let { t: a } = G();
738
- return /* @__PURE__ */ W(at.Root, {
784
+ function tr({ className: e, children: t, viewport: n = !0, ...i }) {
785
+ let { t: a } = W();
786
+ return /* @__PURE__ */ U(q.Root, {
739
787
  "data-slot": "navigation-menu",
740
788
  "data-viewport": n,
741
789
  "aria-label": a("common.mainNavigation", { defaultValue: "Main navigation" }),
742
790
  className: r("group/navigation-menu relative flex max-w-max flex-1 items-center justify-center", e),
743
791
  ...i,
744
- children: [t, n && /* @__PURE__ */ U(Wn, {})]
792
+ children: [t, n && /* @__PURE__ */ H(sr, {})]
745
793
  });
746
794
  }
747
- function zn({ className: e, ...t }) {
748
- return /* @__PURE__ */ U(at.List, {
795
+ function nr({ className: e, ...t }) {
796
+ return /* @__PURE__ */ H(q.List, {
749
797
  "data-slot": "navigation-menu-list",
750
798
  className: r("group flex flex-1 list-none items-center justify-center gap-1", e),
751
799
  ...t
752
800
  });
753
801
  }
754
- function Bn({ className: e, ...t }) {
755
- return /* @__PURE__ */ U(at.Item, {
802
+ function rr({ className: e, ...t }) {
803
+ return /* @__PURE__ */ H(q.Item, {
756
804
  "data-slot": "navigation-menu-item",
757
805
  className: r("relative", e),
758
806
  ...t
759
807
  });
760
808
  }
761
- var Vn = Be("group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground disabled:pointer-events-none disabled:opacity-50 data-[state=open]:hover:bg-accent data-[state=open]:text-accent-foreground data-[state=open]:focus:bg-accent data-[state=open]:bg-accent/50 focus-visible:ring-ring/50 outline-none transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1");
762
- function Hn({ className: e, children: t, ...n }) {
763
- return /* @__PURE__ */ W(at.Trigger, {
809
+ var ir = Ye("group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground disabled:pointer-events-none disabled:opacity-50 data-[state=open]:hover:bg-accent data-[state=open]:text-accent-foreground data-[state=open]:focus:bg-accent data-[state=open]:bg-accent/50 focus-visible:ring-ring/50 outline-none transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1");
810
+ function ar({ className: e, children: t, ...n }) {
811
+ return /* @__PURE__ */ U(q.Trigger, {
764
812
  "data-slot": "navigation-menu-trigger",
765
- className: r(Vn(), "group", e),
813
+ className: r(ir(), "group", e),
766
814
  ...n,
767
815
  children: [
768
816
  t,
769
817
  " ",
770
- /* @__PURE__ */ U(St, {
818
+ /* @__PURE__ */ H(Ot, {
771
819
  className: "relative top-[1px] ml-1 size-3 transition duration-300 group-data-[state=open]:rotate-180",
772
820
  "aria-hidden": "true"
773
821
  })
774
822
  ]
775
823
  });
776
824
  }
777
- function Un({ className: e, ...t }) {
778
- return /* @__PURE__ */ U(at.Content, {
825
+ function or({ className: e, ...t }) {
826
+ return /* @__PURE__ */ H(q.Content, {
779
827
  "data-slot": "navigation-menu-content",
780
828
  className: r("data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 top-0 left-0 w-full p-2 pr-2.5 md:absolute md:w-auto", "group-data-[viewport=false]/navigation-menu:bg-popover group-data-[viewport=false]/navigation-menu:text-popover-foreground group-data-[viewport=false]/navigation-menu:data-[state=open]:animate-in group-data-[viewport=false]/navigation-menu:data-[state=closed]:animate-out group-data-[viewport=false]/navigation-menu:data-[state=closed]:zoom-out-95 group-data-[viewport=false]/navigation-menu:data-[state=open]:zoom-in-95 group-data-[viewport=false]/navigation-menu:data-[state=open]:fade-in-0 group-data-[viewport=false]/navigation-menu:data-[state=closed]:fade-out-0 group-data-[viewport=false]/navigation-menu:top-full group-data-[viewport=false]/navigation-menu:mt-1.5 group-data-[viewport=false]/navigation-menu:overflow-hidden group-data-[viewport=false]/navigation-menu:rounded-md group-data-[viewport=false]/navigation-menu:border group-data-[viewport=false]/navigation-menu:shadow group-data-[viewport=false]/navigation-menu:duration-200 **:data-[slot=navigation-menu-link]:focus:ring-0 **:data-[slot=navigation-menu-link]:focus:outline-none", e),
781
829
  ...t
782
830
  });
783
831
  }
784
- function Wn({ className: e, ...t }) {
785
- return /* @__PURE__ */ U("div", {
832
+ function sr({ className: e, ...t }) {
833
+ return /* @__PURE__ */ H("div", {
786
834
  className: r("absolute top-full left-0 isolate z-50 flex justify-center"),
787
- children: /* @__PURE__ */ U(at.Viewport, {
835
+ children: /* @__PURE__ */ H(q.Viewport, {
788
836
  "data-slot": "navigation-menu-viewport",
789
837
  className: r("origin-top-center bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border shadow md:w-[var(--radix-navigation-menu-viewport-width)]", e),
790
838
  ...t
791
839
  })
792
840
  });
793
841
  }
794
- function Gn({ className: e, ...t }) {
795
- return /* @__PURE__ */ U(at.Link, {
842
+ function cr({ className: e, ...t }) {
843
+ return /* @__PURE__ */ H(q.Link, {
796
844
  "data-slot": "navigation-menu-link",
797
845
  className: r("data-[active=true]:focus:bg-accent data-[active=true]:hover:bg-accent data-[active=true]:bg-accent/50 data-[active=true]:text-accent-foreground hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus-visible:ring-ring/50 [&_svg:not([class*='text-'])]:text-muted-foreground flex flex-col gap-1 rounded-sm p-2 text-sm transition-all outline-none focus-visible:ring-[3px] focus-visible:outline-1 [&_svg:not([class*='size-'])]:size-4", e),
798
846
  ...t
799
847
  });
800
848
  }
801
- function Kn({ className: e, ...t }) {
802
- return /* @__PURE__ */ U(at.Indicator, {
849
+ function lr({ className: e, ...t }) {
850
+ return /* @__PURE__ */ H(q.Indicator, {
803
851
  "data-slot": "navigation-menu-indicator",
804
852
  className: r("data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden", e),
805
853
  ...t,
806
- children: /* @__PURE__ */ U("div", { className: "bg-border relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm shadow-md" })
854
+ children: /* @__PURE__ */ H("div", { className: "bg-border relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm shadow-md" })
807
855
  });
808
856
  }
809
857
  //#endregion
810
858
  //#region src/components/ui/pagination.tsx
811
- function qn({ className: e, ...t }) {
812
- let { t: n } = G();
813
- return /* @__PURE__ */ U("nav", {
859
+ function ur({ className: e, ...t }) {
860
+ let { t: n } = W();
861
+ return /* @__PURE__ */ H("nav", {
814
862
  role: "navigation",
815
863
  "aria-label": n("common.pagination", { defaultValue: "Pagination" }),
816
864
  className: r("mx-auto flex w-full justify-center", e),
817
865
  ...t
818
866
  });
819
867
  }
820
- var Jn = B.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ U("ol", {
868
+ var dr = z.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ H("ol", {
821
869
  ref: n,
822
870
  className: r("flex flex-row items-center gap-1", e),
823
871
  ...t
824
872
  }));
825
- Jn.displayName = "PaginationContent";
826
- var Yn = B.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ U("li", {
873
+ dr.displayName = "PaginationContent";
874
+ var fr = z.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ H("li", {
827
875
  ref: n,
828
876
  className: r("", e),
829
877
  ...t
830
878
  }));
831
- Yn.displayName = "PaginationItem";
832
- function Xn({ className: e, isActive: t, size: n = "icon", children: i, ...a }) {
833
- return /* @__PURE__ */ U("a", {
879
+ fr.displayName = "PaginationItem";
880
+ function pr({ className: e, isActive: t, size: n = "icon", children: i, ...a }) {
881
+ return /* @__PURE__ */ H("a", {
834
882
  "aria-current": t ? "page" : void 0,
835
- className: r(ne({
883
+ className: r(M({
836
884
  variant: t ? "outline" : "ghost",
837
885
  size: n
838
886
  }), t && "bg-accent text-accent-foreground", e),
@@ -840,33 +888,33 @@ function Xn({ className: e, isActive: t, size: n = "icon", children: i, ...a })
840
888
  children: i
841
889
  });
842
890
  }
843
- function Zn({ className: e, ...t }) {
844
- let { t: n } = G();
845
- return /* @__PURE__ */ W(Xn, {
891
+ function mr({ className: e, ...t }) {
892
+ let { t: n } = W();
893
+ return /* @__PURE__ */ U(pr, {
846
894
  "aria-label": n("common.goToPreviousPage", { defaultValue: "Go to previous page" }),
847
895
  size: "default",
848
896
  className: r("gap-1 pl-2.5", e),
849
897
  ...t,
850
- children: [/* @__PURE__ */ U(Ct, { className: "h-4 w-4" }), /* @__PURE__ */ U("span", { children: n("common.previous", { defaultValue: "Previous" }) })]
898
+ children: [/* @__PURE__ */ H(At, { className: "h-4 w-4" }), /* @__PURE__ */ H("span", { children: n("common.previous", { defaultValue: "Previous" }) })]
851
899
  });
852
900
  }
853
- function Qn({ className: e, ...t }) {
854
- let { t: n } = G();
855
- return /* @__PURE__ */ W(Xn, {
901
+ function hr({ className: e, ...t }) {
902
+ let { t: n } = W();
903
+ return /* @__PURE__ */ U(pr, {
856
904
  "aria-label": n("common.goToNextPage", { defaultValue: "Go to next page" }),
857
905
  size: "default",
858
906
  className: r("gap-1 pr-2.5", e),
859
907
  ...t,
860
- children: [/* @__PURE__ */ U("span", { children: n("common.next", { defaultValue: "Next" }) }), /* @__PURE__ */ U(ae, { className: "h-4 w-4" })]
908
+ children: [/* @__PURE__ */ H("span", { children: n("common.next", { defaultValue: "Next" }) }), /* @__PURE__ */ H(fe, { className: "h-4 w-4" })]
861
909
  });
862
910
  }
863
- function $n({ className: e, ...t }) {
864
- let { t: n } = G();
865
- return /* @__PURE__ */ W("span", {
911
+ function gr({ className: e, ...t }) {
912
+ let { t: n } = W();
913
+ return /* @__PURE__ */ U("span", {
866
914
  "aria-hidden": "true",
867
915
  className: r("flex h-9 w-9 items-center justify-center", e),
868
916
  ...t,
869
- children: [/* @__PURE__ */ U(Et, { className: "h-4 w-4" }), /* @__PURE__ */ U("span", {
917
+ children: [/* @__PURE__ */ H(It, { className: "h-4 w-4" }), /* @__PURE__ */ H("span", {
870
918
  className: "sr-only",
871
919
  children: n("common.morePages", { defaultValue: "More pages" })
872
920
  })]
@@ -874,12 +922,12 @@ function $n({ className: e, ...t }) {
874
922
  }
875
923
  //#endregion
876
924
  //#region src/components/ui/progress.tsx
877
- function er({ className: e, value: t, ...n }) {
878
- return /* @__PURE__ */ U(ot.Root, {
925
+ function _r({ className: e, value: t, ...n }) {
926
+ return /* @__PURE__ */ H(mt.Root, {
879
927
  "data-slot": "progress",
880
928
  className: r("relative h-2 w-full overflow-hidden rounded-full bg-primary/20", e),
881
929
  ...n,
882
- children: /* @__PURE__ */ U(ot.Indicator, {
930
+ children: /* @__PURE__ */ H(mt.Indicator, {
883
931
  "data-slot": "progress-indicator",
884
932
  className: "h-full w-full flex-1 bg-primary transition-all",
885
933
  style: { transform: `translateX(-${100 - (t || 0)}%)` }
@@ -887,127 +935,99 @@ function er({ className: e, value: t, ...n }) {
887
935
  });
888
936
  }
889
937
  //#endregion
890
- //#region src/components/ui/resizable.tsx
891
- function tr({ className: e, ...t }) {
892
- return /* @__PURE__ */ U(st, {
893
- "data-slot": "resizable-panel-group",
894
- className: r("flex h-full w-full", e),
895
- ...t
896
- });
897
- }
898
- function nr({ overflowHidden: e, className: t, ...n }) {
899
- return /* @__PURE__ */ U(ct, {
900
- "data-slot": "resizable-panel",
901
- className: r(e && "[&>div]:overflow-hidden!", t),
902
- style: e ? { overflow: "hidden" } : void 0,
903
- ...n
904
- });
905
- }
906
- function rr({ withHandle: e, className: t, ...n }) {
907
- return /* @__PURE__ */ U(lt, {
908
- "data-slot": "resizable-handle",
909
- className: r("bg-border focus-visible:ring-ring relative flex w-px items-center justify-center after:absolute after:inset-y-0 after:-left-2 after:-right-2 focus-visible:ring-1 focus-visible:ring-offset-1 focus-visible:outline-hidden", "[&[aria-orientation=horizontal]]:h-px [&[aria-orientation=horizontal]]:w-full [&[aria-orientation=horizontal]]:after:inset-x-0 [&[aria-orientation=horizontal]]:after:-top-2 [&[aria-orientation=horizontal]]:after:-bottom-2 [&[aria-orientation=horizontal]>div]:rotate-90", t),
910
- ...n,
911
- children: e && /* @__PURE__ */ U("div", {
912
- className: "bg-border z-10 flex h-4 w-3 items-center justify-center rounded-xs border",
913
- children: /* @__PURE__ */ U(Ot, { className: "size-2.5" })
914
- })
915
- });
916
- }
917
- //#endregion
918
938
  //#region src/components/ui/select.tsx
919
- function ir({ ...e }) {
920
- return /* @__PURE__ */ U(J.Root, {
939
+ function vr({ ...e }) {
940
+ return /* @__PURE__ */ H(J.Root, {
921
941
  "data-slot": "select",
922
942
  ...e
923
943
  });
924
944
  }
925
- function ar({ ...e }) {
926
- return /* @__PURE__ */ U(J.Group, {
945
+ function yr({ ...e }) {
946
+ return /* @__PURE__ */ H(J.Group, {
927
947
  "data-slot": "select-group",
928
948
  ...e
929
949
  });
930
950
  }
931
- function or({ ...e }) {
932
- return /* @__PURE__ */ U(J.Value, {
951
+ function br({ ...e }) {
952
+ return /* @__PURE__ */ H(J.Value, {
933
953
  "data-slot": "select-value",
934
954
  ...e
935
955
  });
936
956
  }
937
- function sr({ className: e, size: t = "default", children: n, ...i }) {
938
- return /* @__PURE__ */ W(J.Trigger, {
957
+ function xr({ className: e, size: t = "default", children: n, ...i }) {
958
+ return /* @__PURE__ */ U(J.Trigger, {
939
959
  "data-slot": "select-trigger",
940
960
  "data-size": t,
941
961
  className: r("border-input data-[placeholder]:text-muted-foreground [&_svg:not([class*='text-'])]:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 dark:hover:bg-input/50 flex w-fit items-center justify-between gap-2 rounded-md border bg-transparent px-3 py-2 text-sm whitespace-nowrap shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", e),
942
962
  ...i,
943
- children: [n, /* @__PURE__ */ U(J.Icon, {
963
+ children: [n, /* @__PURE__ */ H(J.Icon, {
944
964
  asChild: !0,
945
- children: /* @__PURE__ */ U(St, { className: "size-4 opacity-50" })
965
+ children: /* @__PURE__ */ H(Ot, { className: "size-4 opacity-50" })
946
966
  })]
947
967
  });
948
968
  }
949
- function cr({ className: e, children: t, position: n = "popper", align: i = "center", ...a }) {
950
- return /* @__PURE__ */ U(J.Portal, { children: /* @__PURE__ */ W(J.Content, {
969
+ function Sr({ className: e, children: t, position: n = "popper", align: i = "center", ...a }) {
970
+ return /* @__PURE__ */ H(J.Portal, { children: /* @__PURE__ */ U(J.Content, {
951
971
  "data-slot": "select-content",
952
972
  className: r("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 relative z-50 max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border shadow-md", n === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1", e),
953
973
  position: n,
954
974
  align: i,
955
975
  ...a,
956
976
  children: [
957
- /* @__PURE__ */ U(fr, {}),
958
- /* @__PURE__ */ U(J.Viewport, {
977
+ /* @__PURE__ */ H(Er, {}),
978
+ /* @__PURE__ */ H(J.Viewport, {
959
979
  className: r("p-1", n === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1"),
960
980
  children: t
961
981
  }),
962
- /* @__PURE__ */ U(pr, {})
982
+ /* @__PURE__ */ H(Dr, {})
963
983
  ]
964
984
  }) });
965
985
  }
966
- function lr({ className: e, ...t }) {
967
- return /* @__PURE__ */ U(J.Label, {
986
+ function Cr({ className: e, ...t }) {
987
+ return /* @__PURE__ */ H(J.Label, {
968
988
  "data-slot": "select-label",
969
989
  className: r("text-muted-foreground px-2 py-1.5 text-xs", e),
970
990
  ...t
971
991
  });
972
992
  }
973
- function ur({ className: e, children: t, ...n }) {
974
- return /* @__PURE__ */ W(J.Item, {
993
+ function wr({ className: e, children: t, ...n }) {
994
+ return /* @__PURE__ */ U(J.Item, {
975
995
  "data-slot": "select-item",
976
996
  className: r("focus:bg-accent focus:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2", e),
977
997
  ...n,
978
- children: [/* @__PURE__ */ U("span", {
998
+ children: [/* @__PURE__ */ H("span", {
979
999
  className: "absolute right-2 flex size-3.5 items-center justify-center",
980
- children: /* @__PURE__ */ U(J.ItemIndicator, { children: /* @__PURE__ */ U(O, { className: "size-4" }) })
981
- }), /* @__PURE__ */ U(J.ItemText, { children: t })]
1000
+ children: /* @__PURE__ */ H(J.ItemIndicator, { children: /* @__PURE__ */ H(de, { className: "size-4" }) })
1001
+ }), /* @__PURE__ */ H(J.ItemText, { children: t })]
982
1002
  });
983
1003
  }
984
- function dr({ className: e, ...t }) {
985
- return /* @__PURE__ */ U(J.Separator, {
1004
+ function Tr({ className: e, ...t }) {
1005
+ return /* @__PURE__ */ H(J.Separator, {
986
1006
  "data-slot": "select-separator",
987
1007
  className: r("bg-border pointer-events-none -mx-1 my-1 h-px", e),
988
1008
  ...t
989
1009
  });
990
1010
  }
991
- function fr({ className: e, ...t }) {
992
- return /* @__PURE__ */ U(J.ScrollUpButton, {
1011
+ function Er({ className: e, ...t }) {
1012
+ return /* @__PURE__ */ H(J.ScrollUpButton, {
993
1013
  "data-slot": "select-scroll-up-button",
994
1014
  className: r("flex cursor-default items-center justify-center py-1", e),
995
1015
  ...t,
996
- children: /* @__PURE__ */ U(wt, { className: "size-4" })
1016
+ children: /* @__PURE__ */ H(Mt, { className: "size-4" })
997
1017
  });
998
1018
  }
999
- function pr({ className: e, ...t }) {
1000
- return /* @__PURE__ */ U(J.ScrollDownButton, {
1019
+ function Dr({ className: e, ...t }) {
1020
+ return /* @__PURE__ */ H(J.ScrollDownButton, {
1001
1021
  "data-slot": "select-scroll-down-button",
1002
1022
  className: r("flex cursor-default items-center justify-center py-1", e),
1003
1023
  ...t,
1004
- children: /* @__PURE__ */ U(St, { className: "size-4" })
1024
+ children: /* @__PURE__ */ H(Ot, { className: "size-4" })
1005
1025
  });
1006
1026
  }
1007
1027
  //#endregion
1008
1028
  //#region src/components/ui/separator.tsx
1009
- function mr({ className: e, orientation: t = "horizontal", decorative: n = !0, ...i }) {
1010
- return /* @__PURE__ */ U(ut.Root, {
1029
+ function Or({ className: e, orientation: t = "horizontal", decorative: n = !0, ...i }) {
1030
+ return /* @__PURE__ */ H(ht.Root, {
1011
1031
  "data-slot": "separator",
1012
1032
  decorative: n,
1013
1033
  orientation: t,
@@ -1017,120 +1037,107 @@ function mr({ className: e, orientation: t = "horizontal", decorative: n = !0, .
1017
1037
  }
1018
1038
  //#endregion
1019
1039
  //#region src/components/ui/sheet.tsx
1020
- function hr({ ...e }) {
1021
- return /* @__PURE__ */ U(K.Root, {
1040
+ function kr({ ...e }) {
1041
+ return /* @__PURE__ */ H(G.Root, {
1022
1042
  "data-slot": "sheet",
1023
1043
  ...e
1024
1044
  });
1025
1045
  }
1026
- function gr({ ...e }) {
1027
- return /* @__PURE__ */ U(K.Trigger, {
1046
+ function Ar({ ...e }) {
1047
+ return /* @__PURE__ */ H(G.Trigger, {
1028
1048
  "data-slot": "sheet-trigger",
1029
1049
  ...e
1030
1050
  });
1031
1051
  }
1032
- function _r({ ...e }) {
1033
- return /* @__PURE__ */ U(K.Close, {
1052
+ function jr({ ...e }) {
1053
+ return /* @__PURE__ */ H(G.Close, {
1034
1054
  "data-slot": "sheet-close",
1035
1055
  ...e
1036
1056
  });
1037
1057
  }
1038
- function vr({ ...e }) {
1039
- return /* @__PURE__ */ U(K.Portal, {
1058
+ function Mr({ ...e }) {
1059
+ return /* @__PURE__ */ H(G.Portal, {
1040
1060
  "data-slot": "sheet-portal",
1041
1061
  ...e
1042
1062
  });
1043
1063
  }
1044
- function yr({ className: e, ...t }) {
1045
- return /* @__PURE__ */ U(K.Overlay, {
1064
+ function Nr({ className: e, ...t }) {
1065
+ return /* @__PURE__ */ H(G.Overlay, {
1046
1066
  "data-slot": "sheet-overlay",
1047
1067
  className: r("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50", e),
1048
1068
  ...t
1049
1069
  });
1050
1070
  }
1051
- function br({ className: e, children: t, side: n = "right", ...i }) {
1052
- let { t: o } = G();
1053
- return /* @__PURE__ */ W(vr, { children: [/* @__PURE__ */ U(yr, {}), /* @__PURE__ */ W(K.Content, {
1071
+ function Pr({ className: e, children: t, side: n = "right", ...i }) {
1072
+ let { t: o } = W();
1073
+ return /* @__PURE__ */ U(Mr, { children: [/* @__PURE__ */ H(Nr, {}), /* @__PURE__ */ U(G.Content, {
1054
1074
  "data-slot": "sheet-content",
1055
1075
  className: r("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500", n === "right" && "data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm", n === "left" && "data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm", n === "top" && "data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b", n === "bottom" && "data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t", e),
1056
1076
  ...i,
1057
- children: [t, /* @__PURE__ */ W(K.Close, {
1077
+ children: [t, /* @__PURE__ */ U(G.Close, {
1058
1078
  className: "ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none",
1059
- children: [/* @__PURE__ */ U(a, { className: "size-4" }), /* @__PURE__ */ U("span", {
1079
+ children: [/* @__PURE__ */ H(a, { className: "size-4" }), /* @__PURE__ */ H("span", {
1060
1080
  className: "sr-only",
1061
1081
  children: o("dialog.close", { defaultValue: "Close" })
1062
1082
  })]
1063
1083
  })]
1064
1084
  })] });
1065
1085
  }
1066
- function xr({ className: e, ...t }) {
1067
- return /* @__PURE__ */ U("div", {
1086
+ function Fr({ className: e, ...t }) {
1087
+ return /* @__PURE__ */ H("div", {
1068
1088
  "data-slot": "sheet-header",
1069
1089
  className: r("flex flex-col gap-1.5 p-4", e),
1070
1090
  ...t
1071
1091
  });
1072
1092
  }
1073
- function Sr({ className: e, ...t }) {
1074
- return /* @__PURE__ */ U("div", {
1093
+ function Ir({ className: e, ...t }) {
1094
+ return /* @__PURE__ */ H("div", {
1075
1095
  "data-slot": "sheet-footer",
1076
1096
  className: r("mt-auto flex flex-col gap-2 p-4", e),
1077
1097
  ...t
1078
1098
  });
1079
1099
  }
1080
- function Cr({ className: e, ...t }) {
1081
- return /* @__PURE__ */ U(K.Title, {
1100
+ function Lr({ className: e, ...t }) {
1101
+ return /* @__PURE__ */ H(G.Title, {
1082
1102
  "data-slot": "sheet-title",
1083
1103
  className: r("text-foreground font-semibold", e),
1084
1104
  ...t
1085
1105
  });
1086
1106
  }
1087
- function wr({ className: e, ...t }) {
1088
- return /* @__PURE__ */ U(K.Description, {
1107
+ function Rr({ className: e, ...t }) {
1108
+ return /* @__PURE__ */ H(G.Description, {
1089
1109
  "data-slot": "sheet-description",
1090
1110
  className: r("text-muted-foreground text-sm", e),
1091
1111
  ...t
1092
1112
  });
1093
1113
  }
1094
1114
  //#endregion
1095
- //#region src/hooks/use-mobile.ts
1096
- var Tr = "(max-width: 767px)";
1097
- function Er() {
1098
- return window.matchMedia(Tr);
1099
- }
1100
- function Dr(e) {
1101
- let t = Er();
1102
- return t.addEventListener("change", e), () => t.removeEventListener("change", e);
1103
- }
1104
- function Or() {
1105
- return B.useSyncExternalStore(Dr, () => Er().matches, () => !1);
1106
- }
1107
- //#endregion
1108
1115
  //#region src/components/ui/sidebar.tsx
1109
- var kr = "sidebar_state", Ar = 604800, jr = "16rem", Mr = "18rem", Nr = "3rem", Pr = "b", Fr = B.createContext(null);
1110
- function Ir() {
1111
- let e = B.useContext(Fr);
1116
+ var zr = "sidebar_state", Br = 604800, Vr = "16rem", Hr = "18rem", Ur = "3rem", Wr = "b", Gr = z.createContext(null);
1117
+ function Kr() {
1118
+ let e = z.useContext(Gr);
1112
1119
  if (!e) throw Error("useSidebar must be used within a SidebarProvider.");
1113
1120
  return e;
1114
1121
  }
1115
- function Lr() {
1116
- return B.useContext(Fr);
1122
+ function qr() {
1123
+ return z.useContext(Gr);
1117
1124
  }
1118
- function Rr({ defaultOpen: e = !0, open: t, onOpenChange: n, className: i, style: a, children: o, ...s }) {
1119
- let c = Or(), [l, u] = B.useState(!1), [d, f] = B.useState(e), p = t ?? d, m = B.useCallback((e) => {
1125
+ function Jr({ defaultOpen: e = !0, open: t, onOpenChange: n, className: i, style: a, children: o, ...s }) {
1126
+ let c = Ee(), [l, u] = z.useState(!1), [d, f] = z.useState(e), p = t ?? d, m = z.useCallback((e) => {
1120
1127
  let t = typeof e == "function" ? e(p) : e;
1121
- n ? n(t) : f(t), document.cookie = `${kr}=${t}; path=/; max-age=${Ar}`;
1122
- }, [n, p]), h = B.useCallback(() => c ? u((e) => !e) : m((e) => !e), [
1128
+ n ? n(t) : f(t), document.cookie = `${zr}=${t}; path=/; max-age=${Br}`;
1129
+ }, [n, p]), h = z.useCallback(() => c ? u((e) => !e) : m((e) => !e), [
1123
1130
  c,
1124
1131
  m,
1125
1132
  u
1126
1133
  ]);
1127
- B.useEffect(() => {
1134
+ z.useEffect(() => {
1128
1135
  let e = (e) => {
1129
- e.key === Pr && (e.metaKey || e.ctrlKey) && (e.preventDefault(), h());
1136
+ e.key === Wr && (e.metaKey || e.ctrlKey) && (e.preventDefault(), h());
1130
1137
  };
1131
1138
  return globalThis.addEventListener("keydown", e), () => globalThis.removeEventListener("keydown", e);
1132
1139
  }, [h]);
1133
- let g = p ? "expanded" : "collapsed", _ = B.useMemo(() => ({
1140
+ let g = p ? "expanded" : "collapsed", _ = z.useMemo(() => ({
1134
1141
  state: g,
1135
1142
  open: p,
1136
1143
  setOpen: m,
@@ -1147,15 +1154,15 @@ function Rr({ defaultOpen: e = !0, open: t, onOpenChange: n, className: i, style
1147
1154
  u,
1148
1155
  h
1149
1156
  ]);
1150
- return /* @__PURE__ */ U(Fr.Provider, {
1157
+ return /* @__PURE__ */ H(Gr.Provider, {
1151
1158
  value: _,
1152
- children: /* @__PURE__ */ U(ue, {
1159
+ children: /* @__PURE__ */ H(_e, {
1153
1160
  delayDuration: 0,
1154
- children: /* @__PURE__ */ U("div", {
1161
+ children: /* @__PURE__ */ H("div", {
1155
1162
  "data-slot": "sidebar-wrapper",
1156
1163
  style: {
1157
- "--sidebar-width": jr,
1158
- "--sidebar-width-icon": Nr,
1164
+ "--sidebar-width": Vr,
1165
+ "--sidebar-width-icon": Ur,
1159
1166
  ...a
1160
1167
  },
1161
1168
  className: r("group/sidebar-wrapper has-data-[variant=inset]:bg-sidebar flex min-h-svh w-full", i),
@@ -1165,9 +1172,9 @@ function Rr({ defaultOpen: e = !0, open: t, onOpenChange: n, className: i, style
1165
1172
  })
1166
1173
  });
1167
1174
  }
1168
- function zr({ side: e = "left", variant: t = "sidebar", collapsible: n = "offcanvas", position: i = "fixed", className: a, children: o, ...s }) {
1169
- let { isMobile: c, state: l, openMobile: u, setOpenMobile: d } = Ir(), { t: f } = G();
1170
- if (n === "none") return /* @__PURE__ */ U("div", {
1175
+ function Yr({ side: e = "left", variant: t = "sidebar", collapsible: n = "offcanvas", position: i = "fixed", className: a, children: o, ...s }) {
1176
+ let { isMobile: c, state: l, openMobile: u, setOpenMobile: d } = Kr(), { t: f } = W();
1177
+ if (n === "none") return /* @__PURE__ */ H("div", {
1171
1178
  "data-slot": "sidebar",
1172
1179
  className: r("bg-sidebar text-sidebar-foreground flex h-full w-(--sidebar-width) flex-col", a),
1173
1180
  ...s,
@@ -1175,10 +1182,10 @@ function zr({ side: e = "left", variant: t = "sidebar", collapsible: n = "offcan
1175
1182
  });
1176
1183
  if (c) {
1177
1184
  let { style: t, ...n } = s;
1178
- return /* @__PURE__ */ U(hr, {
1185
+ return /* @__PURE__ */ H(kr, {
1179
1186
  open: u,
1180
1187
  onOpenChange: d,
1181
- children: /* @__PURE__ */ W(br, {
1188
+ children: /* @__PURE__ */ U(Pr, {
1182
1189
  "data-sidebar": "sidebar",
1183
1190
  "data-slot": "sidebar",
1184
1191
  "data-mobile": "true",
@@ -1186,34 +1193,34 @@ function zr({ side: e = "left", variant: t = "sidebar", collapsible: n = "offcan
1186
1193
  ...n,
1187
1194
  className: r("bg-sidebar text-sidebar-foreground w-(--sidebar-width) p-0 [&>button]:hidden", a),
1188
1195
  style: {
1189
- "--sidebar-width": Mr,
1196
+ "--sidebar-width": Hr,
1190
1197
  ...t
1191
1198
  },
1192
- children: [/* @__PURE__ */ W(xr, {
1199
+ children: [/* @__PURE__ */ U(Fr, {
1193
1200
  className: "sr-only",
1194
- children: [/* @__PURE__ */ U(Cr, { children: f("sidebar.title", { defaultValue: "Sidebar" }) }), /* @__PURE__ */ U(wr, { children: f("sidebar.description", { defaultValue: "Displays the mobile sidebar." }) })]
1195
- }), /* @__PURE__ */ U("div", {
1201
+ children: [/* @__PURE__ */ H(Lr, { children: f("sidebar.title", { defaultValue: "Sidebar" }) }), /* @__PURE__ */ H(Rr, { children: f("sidebar.description", { defaultValue: "Displays the mobile sidebar." }) })]
1202
+ }), /* @__PURE__ */ H("div", {
1196
1203
  className: "flex h-full w-full flex-col",
1197
1204
  children: o
1198
1205
  })]
1199
1206
  })
1200
1207
  });
1201
1208
  }
1202
- return /* @__PURE__ */ W("div", {
1209
+ return /* @__PURE__ */ U("div", {
1203
1210
  className: r("group peer text-sidebar-foreground hidden md:block", i === "absolute" && "relative"),
1204
1211
  "data-state": l,
1205
1212
  "data-collapsible": l === "collapsed" ? n : "",
1206
1213
  "data-variant": t,
1207
1214
  "data-side": e,
1208
1215
  "data-slot": "sidebar",
1209
- children: [/* @__PURE__ */ U("div", {
1216
+ children: [/* @__PURE__ */ H("div", {
1210
1217
  "data-slot": "sidebar-gap",
1211
1218
  className: r("relative w-(--sidebar-width) bg-transparent transition-[width] duration-200 ease-linear", "group-data-[collapsible=offcanvas]:w-0", "group-data-[side=right]:rotate-180", t === "floating" || t === "inset" ? "group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]" : "group-data-[collapsible=icon]:w-(--sidebar-width-icon)")
1212
- }), /* @__PURE__ */ U("div", {
1219
+ }), /* @__PURE__ */ H("div", {
1213
1220
  "data-slot": "sidebar-container",
1214
1221
  className: r("inset-y-0 z-10 hidden w-(--sidebar-width) transition-[left,right,width] duration-200 ease-linear md:flex", i === "absolute" ? "h-full" : "h-svh", i === "absolute" ? "absolute" : "fixed", e === "left" ? "left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]" : "right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]", t === "floating" || t === "inset" ? "p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]" : "group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-r group-data-[side=right]:border-l", a),
1215
1222
  ...s,
1216
- children: /* @__PURE__ */ U("div", {
1223
+ children: /* @__PURE__ */ H("div", {
1217
1224
  "data-sidebar": "sidebar",
1218
1225
  "data-slot": "sidebar-inner",
1219
1226
  className: "bg-sidebar group-data-[variant=floating]:border-sidebar-border flex h-full w-full flex-col group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:shadow-sm",
@@ -1222,11 +1229,11 @@ function zr({ side: e = "left", variant: t = "sidebar", collapsible: n = "offcan
1222
1229
  })]
1223
1230
  });
1224
1231
  }
1225
- function Br({ className: e, onClick: t, ...n }) {
1226
- let i = Lr(), { t: a } = G();
1232
+ function Xr({ className: e, onClick: t, ...n }) {
1233
+ let i = qr(), { t: a } = W();
1227
1234
  if (!i) return null;
1228
1235
  let { toggleSidebar: o, isMobile: s } = i;
1229
- return /* @__PURE__ */ W(v, {
1236
+ return /* @__PURE__ */ U(v, {
1230
1237
  "data-sidebar": "trigger",
1231
1238
  "data-slot": "sidebar-trigger",
1232
1239
  variant: "ghost",
@@ -1236,15 +1243,15 @@ function Br({ className: e, onClick: t, ...n }) {
1236
1243
  t?.(e), o();
1237
1244
  },
1238
1245
  ...n,
1239
- children: [U(s ? jt : Pt, {}), /* @__PURE__ */ U("span", {
1246
+ children: [H(s ? Wt : Xt, {}), /* @__PURE__ */ H("span", {
1240
1247
  className: "sr-only",
1241
1248
  children: a("sidebar.toggle", { defaultValue: "Toggle Sidebar" })
1242
1249
  })]
1243
1250
  });
1244
1251
  }
1245
- function Vr({ className: e, ...t }) {
1246
- let { toggleSidebar: n } = Ir(), { t: i } = G(), a = i("sidebar.toggle", { defaultValue: "Toggle Sidebar" });
1247
- return /* @__PURE__ */ U("button", {
1252
+ function Zr({ className: e, ...t }) {
1253
+ let { toggleSidebar: n } = Kr(), { t: i } = W(), a = i("sidebar.toggle", { defaultValue: "Toggle Sidebar" });
1254
+ return /* @__PURE__ */ H("button", {
1248
1255
  "data-sidebar": "rail",
1249
1256
  "data-slot": "sidebar-rail",
1250
1257
  "aria-label": a,
@@ -1255,102 +1262,102 @@ function Vr({ className: e, ...t }) {
1255
1262
  ...t
1256
1263
  });
1257
1264
  }
1258
- function Hr({ className: e, ...t }) {
1259
- return /* @__PURE__ */ U("main", {
1265
+ function Qr({ className: e, ...t }) {
1266
+ return /* @__PURE__ */ H("main", {
1260
1267
  "data-slot": "sidebar-inset",
1261
1268
  className: r("bg-background relative flex w-full flex-1 flex-col", "md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2", e),
1262
1269
  ...t
1263
1270
  });
1264
1271
  }
1265
- function Ur({ className: e, ...t }) {
1266
- return /* @__PURE__ */ U(s, {
1272
+ function $r({ className: e, ...t }) {
1273
+ return /* @__PURE__ */ H(s, {
1267
1274
  "data-slot": "sidebar-input",
1268
1275
  "data-sidebar": "input",
1269
1276
  className: r("bg-background h-8 w-full shadow-none", e),
1270
1277
  ...t
1271
1278
  });
1272
1279
  }
1273
- function Wr({ className: e, ...t }) {
1274
- return /* @__PURE__ */ U("div", {
1280
+ function ei({ className: e, ...t }) {
1281
+ return /* @__PURE__ */ H("div", {
1275
1282
  "data-slot": "sidebar-header",
1276
1283
  "data-sidebar": "header",
1277
1284
  className: r("flex flex-col gap-2 p-2", e),
1278
1285
  ...t
1279
1286
  });
1280
1287
  }
1281
- function Gr({ className: e, ...t }) {
1282
- return /* @__PURE__ */ U("div", {
1288
+ function ti({ className: e, ...t }) {
1289
+ return /* @__PURE__ */ H("div", {
1283
1290
  "data-slot": "sidebar-footer",
1284
1291
  "data-sidebar": "footer",
1285
1292
  className: r("flex flex-col gap-2 p-2", e),
1286
1293
  ...t
1287
1294
  });
1288
1295
  }
1289
- function Kr({ className: e, ...t }) {
1290
- return /* @__PURE__ */ U(mr, {
1296
+ function ni({ className: e, ...t }) {
1297
+ return /* @__PURE__ */ H(Or, {
1291
1298
  "data-slot": "sidebar-separator",
1292
1299
  "data-sidebar": "separator",
1293
1300
  className: r("bg-sidebar-border mx-2 w-auto", e),
1294
1301
  ...t
1295
1302
  });
1296
1303
  }
1297
- function qr({ className: e, ...t }) {
1298
- return /* @__PURE__ */ U("div", {
1304
+ function ri({ className: e, ...t }) {
1305
+ return /* @__PURE__ */ H("div", {
1299
1306
  "data-slot": "sidebar-content",
1300
1307
  "data-sidebar": "content",
1301
1308
  className: r("flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden", e),
1302
1309
  ...t
1303
1310
  });
1304
1311
  }
1305
- function Jr({ className: e, ...t }) {
1306
- return /* @__PURE__ */ U("div", {
1312
+ function ii({ className: e, ...t }) {
1313
+ return /* @__PURE__ */ H("div", {
1307
1314
  "data-slot": "sidebar-group",
1308
1315
  "data-sidebar": "group",
1309
1316
  className: r("relative flex w-full min-w-0 flex-col p-2", e),
1310
1317
  ...t
1311
1318
  });
1312
1319
  }
1313
- function Yr({ className: e, asChild: t = !1, ...n }) {
1314
- return /* @__PURE__ */ U(t ? ze : "div", {
1320
+ function ai({ className: e, asChild: t = !1, ...n }) {
1321
+ return /* @__PURE__ */ H(t ? Je : "div", {
1315
1322
  "data-slot": "sidebar-group-label",
1316
1323
  "data-sidebar": "group-label",
1317
1324
  className: r("text-sidebar-foreground/70 ring-sidebar-ring flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium outline-hidden transition-[margin,opacity] duration-200 ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0", "group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0", e),
1318
1325
  ...n
1319
1326
  });
1320
1327
  }
1321
- function Xr({ className: e, asChild: t = !1, ...n }) {
1322
- return /* @__PURE__ */ U(t ? ze : "button", {
1328
+ function oi({ className: e, asChild: t = !1, ...n }) {
1329
+ return /* @__PURE__ */ H(t ? Je : "button", {
1323
1330
  "data-slot": "sidebar-group-action",
1324
1331
  "data-sidebar": "group-action",
1325
1332
  className: r("text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground absolute top-3.5 right-3 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-hidden transition-transform focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0", "after:absolute after:-inset-2 md:after:hidden", "group-data-[collapsible=icon]:hidden", e),
1326
1333
  ...n
1327
1334
  });
1328
1335
  }
1329
- function Zr({ className: e, ...t }) {
1330
- return /* @__PURE__ */ U("div", {
1336
+ function si({ className: e, ...t }) {
1337
+ return /* @__PURE__ */ H("div", {
1331
1338
  "data-slot": "sidebar-group-content",
1332
1339
  "data-sidebar": "group-content",
1333
1340
  className: r("w-full text-sm", e),
1334
1341
  ...t
1335
1342
  });
1336
1343
  }
1337
- function Qr({ className: e, ...t }) {
1338
- return /* @__PURE__ */ U("ul", {
1344
+ function ci({ className: e, ...t }) {
1345
+ return /* @__PURE__ */ H("ul", {
1339
1346
  "data-slot": "sidebar-menu",
1340
1347
  "data-sidebar": "menu",
1341
1348
  className: r("flex w-full min-w-0 flex-col gap-1", e),
1342
1349
  ...t
1343
1350
  });
1344
1351
  }
1345
- function $r({ className: e, ...t }) {
1346
- return /* @__PURE__ */ U("li", {
1352
+ function li({ className: e, ...t }) {
1353
+ return /* @__PURE__ */ H("li", {
1347
1354
  "data-slot": "sidebar-menu-item",
1348
1355
  "data-sidebar": "menu-item",
1349
1356
  className: r("group/menu-item relative", e),
1350
1357
  ...t
1351
1358
  });
1352
1359
  }
1353
- var ei = Be("peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-hidden ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-data-[sidebar=menu-action]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0", {
1360
+ var ui = Ye("peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-hidden ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-data-[sidebar=menu-action]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0", {
1354
1361
  variants: {
1355
1362
  variant: {
1356
1363
  default: "hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",
@@ -1367,84 +1374,84 @@ var ei = Be("peer/menu-button flex w-full items-center gap-2 overflow-hidden rou
1367
1374
  size: "default"
1368
1375
  }
1369
1376
  });
1370
- function ti({ asChild: e = !1, isActive: t = !1, variant: n = "default", size: i = "default", tooltip: a, className: o, ...s }) {
1371
- let c = e ? ze : "button", { isMobile: l, state: u } = Ir(), d = /* @__PURE__ */ U(c, {
1377
+ function di({ asChild: e = !1, isActive: t = !1, variant: n = "default", size: i = "default", tooltip: a, className: o, ...s }) {
1378
+ let c = e ? Je : "button", { isMobile: l, state: u } = Kr(), d = /* @__PURE__ */ H(c, {
1372
1379
  "data-slot": "sidebar-menu-button",
1373
1380
  "data-sidebar": "menu-button",
1374
1381
  "data-size": i,
1375
1382
  "data-active": t,
1376
- className: r(ei({
1383
+ className: r(ui({
1377
1384
  variant: n,
1378
1385
  size: i
1379
1386
  }), o),
1380
1387
  ...s
1381
1388
  });
1382
- return a ? (typeof a == "string" && (a = { children: a }), /* @__PURE__ */ W(he, { children: [/* @__PURE__ */ U(de, {
1389
+ return a ? (typeof a == "string" && (a = { children: a }), /* @__PURE__ */ U(Ce, { children: [/* @__PURE__ */ H(I, {
1383
1390
  asChild: !0,
1384
1391
  children: d
1385
- }), /* @__PURE__ */ U(Se, {
1392
+ }), /* @__PURE__ */ H(ve, {
1386
1393
  side: "right",
1387
1394
  align: "center",
1388
1395
  hidden: u !== "collapsed" || l,
1389
1396
  ...a
1390
1397
  })] })) : d;
1391
1398
  }
1392
- function ni({ className: e, asChild: t = !1, showOnHover: n = !1, ...i }) {
1393
- return /* @__PURE__ */ U(t ? ze : "button", {
1399
+ function fi({ className: e, asChild: t = !1, showOnHover: n = !1, ...i }) {
1400
+ return /* @__PURE__ */ H(t ? Je : "button", {
1394
1401
  "data-slot": "sidebar-menu-action",
1395
1402
  "data-sidebar": "menu-action",
1396
1403
  className: r("text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground peer-hover/menu-button:text-sidebar-accent-foreground absolute top-1.5 right-1 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-hidden transition-transform focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0", "after:absolute after:-inset-2 md:after:hidden", "peer-data-[size=sm]/menu-button:top-1", "peer-data-[size=default]/menu-button:top-1.5", "peer-data-[size=lg]/menu-button:top-2.5", "group-data-[collapsible=icon]:hidden", n && "peer-data-[active=true]/menu-button:text-sidebar-accent-foreground group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 md:opacity-0", e),
1397
1404
  ...i
1398
1405
  });
1399
1406
  }
1400
- function ri({ className: e, ...t }) {
1401
- return /* @__PURE__ */ U("div", {
1407
+ function pi({ className: e, ...t }) {
1408
+ return /* @__PURE__ */ H("div", {
1402
1409
  "data-slot": "sidebar-menu-badge",
1403
1410
  "data-sidebar": "menu-badge",
1404
1411
  className: r("text-sidebar-foreground pointer-events-none absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums select-none", "peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground", "peer-data-[size=sm]/menu-button:top-1", "peer-data-[size=default]/menu-button:top-1.5", "peer-data-[size=lg]/menu-button:top-2.5", "group-data-[collapsible=icon]:hidden", e),
1405
1412
  ...t
1406
1413
  });
1407
1414
  }
1408
- function ii(e) {
1415
+ function mi(e) {
1409
1416
  let t = 0;
1410
1417
  for (let n = 0; n < e.length; n++) t = t * 31 + e.charCodeAt(n) | 0;
1411
1418
  return Math.abs(t);
1412
1419
  }
1413
- function ai({ className: e, showIcon: t = !1, ...n }) {
1414
- let i = `${50 + ii(B.useId()) % 40}%`;
1415
- return /* @__PURE__ */ W("div", {
1420
+ function hi({ className: e, showIcon: t = !1, ...n }) {
1421
+ let i = `${50 + mi(z.useId()) % 40}%`;
1422
+ return /* @__PURE__ */ U("div", {
1416
1423
  "data-slot": "sidebar-menu-skeleton",
1417
1424
  "data-sidebar": "menu-skeleton",
1418
1425
  className: r("flex h-8 items-center gap-2 rounded-md px-2", e),
1419
1426
  ...n,
1420
- children: [t && /* @__PURE__ */ U(m, {
1427
+ children: [t && /* @__PURE__ */ H(m, {
1421
1428
  className: "size-4 rounded-md",
1422
1429
  "data-sidebar": "menu-skeleton-icon"
1423
- }), /* @__PURE__ */ U(m, {
1430
+ }), /* @__PURE__ */ H(m, {
1424
1431
  className: "h-4 max-w-(--skeleton-width) flex-1",
1425
1432
  "data-sidebar": "menu-skeleton-text",
1426
1433
  style: { "--skeleton-width": i }
1427
1434
  })]
1428
1435
  });
1429
1436
  }
1430
- function oi({ className: e, ...t }) {
1431
- return /* @__PURE__ */ U("ul", {
1437
+ function gi({ className: e, ...t }) {
1438
+ return /* @__PURE__ */ H("ul", {
1432
1439
  "data-slot": "sidebar-menu-sub",
1433
1440
  "data-sidebar": "menu-sub",
1434
1441
  className: r("border-sidebar-border mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l px-2.5 py-0.5", "group-data-[collapsible=icon]:hidden", e),
1435
1442
  ...t
1436
1443
  });
1437
1444
  }
1438
- function si({ className: e, ...t }) {
1439
- return /* @__PURE__ */ U("li", {
1445
+ function _i({ className: e, ...t }) {
1446
+ return /* @__PURE__ */ H("li", {
1440
1447
  "data-slot": "sidebar-menu-sub-item",
1441
1448
  "data-sidebar": "menu-sub-item",
1442
1449
  className: r("group/menu-sub-item relative", e),
1443
1450
  ...t
1444
1451
  });
1445
1452
  }
1446
- function ci({ asChild: e = !1, size: t = "md", isActive: n = !1, className: i, ...a }) {
1447
- return /* @__PURE__ */ U(e ? ze : "a", {
1453
+ function vi({ asChild: e = !1, size: t = "md", isActive: n = !1, className: i, ...a }) {
1454
+ return /* @__PURE__ */ H(e ? Je : "a", {
1448
1455
  "data-slot": "sidebar-menu-sub-button",
1449
1456
  "data-sidebar": "menu-sub-button",
1450
1457
  "data-size": t,
@@ -1455,61 +1462,61 @@ function ci({ asChild: e = !1, size: t = "md", isActive: n = !1, className: i, .
1455
1462
  }
1456
1463
  //#endregion
1457
1464
  //#region src/components/ui/sticky-save-bar.tsx
1458
- var li = {
1465
+ var yi = {
1459
1466
  gray: "bg-gray-50 dark:bg-gray-950/30",
1460
1467
  blue: "bg-blue-50 dark:bg-blue-950/30",
1461
1468
  orange: "bg-orange-50 dark:bg-orange-950/30",
1462
1469
  green: "bg-green-50 dark:bg-green-950/30"
1463
1470
  };
1464
- function ui({ title: e, badges: t, actions: n, onCancel: r, loading: i, disabled: a, variant: o = "gray" }) {
1465
- let { t: s } = G();
1466
- return /* @__PURE__ */ W("div", {
1467
- className: `sticky top-0 z-10 border rounded-lg px-4 py-3 flex items-center justify-between gap-4 ${li[o]}`,
1468
- children: [/* @__PURE__ */ W("div", {
1471
+ function bi({ title: e, badges: t, actions: n, onCancel: r, loading: i, disabled: a, variant: o = "gray" }) {
1472
+ let { t: s } = W();
1473
+ return /* @__PURE__ */ U("div", {
1474
+ className: `sticky top-0 z-10 border rounded-lg px-4 py-3 flex items-center justify-between gap-4 ${yi[o]}`,
1475
+ children: [/* @__PURE__ */ U("div", {
1469
1476
  className: "flex items-center gap-3 min-w-0",
1470
- children: [/* @__PURE__ */ U("h3", {
1477
+ children: [/* @__PURE__ */ H("h3", {
1471
1478
  className: "text-lg font-semibold text-foreground truncate",
1472
1479
  children: e
1473
- }), t && /* @__PURE__ */ U("div", {
1480
+ }), t && /* @__PURE__ */ H("div", {
1474
1481
  className: "flex items-center gap-1.5 shrink-0",
1475
1482
  children: t
1476
1483
  })]
1477
- }), /* @__PURE__ */ U("div", {
1484
+ }), /* @__PURE__ */ H("div", {
1478
1485
  className: "flex gap-2 shrink-0",
1479
- children: n ?? /* @__PURE__ */ W(Le, { children: [/* @__PURE__ */ W(v, {
1486
+ children: n ?? /* @__PURE__ */ U(Ke, { children: [/* @__PURE__ */ U(v, {
1480
1487
  type: "submit",
1481
1488
  size: "sm",
1482
1489
  loading: i,
1483
1490
  disabled: a,
1484
- children: [/* @__PURE__ */ U(Xe, { className: "size-4" }), s("forms.formActions.saveChanges")]
1485
- }), r && /* @__PURE__ */ W(v, {
1491
+ children: [/* @__PURE__ */ H(at, { className: "size-4" }), s("forms.formActions.saveChanges")]
1492
+ }), r && /* @__PURE__ */ U(v, {
1486
1493
  type: "button",
1487
1494
  variant: "outline",
1488
1495
  size: "sm",
1489
1496
  onClick: r,
1490
- children: [/* @__PURE__ */ U(nt, { className: "size-4" }), s("forms.formActions.cancel")]
1497
+ children: [/* @__PURE__ */ H(dt, { className: "size-4" }), s("forms.formActions.cancel")]
1491
1498
  })] })
1492
1499
  })]
1493
1500
  });
1494
1501
  }
1495
- function di({ children: e }) {
1496
- return /* @__PURE__ */ U(c, {
1502
+ function xi({ children: e }) {
1503
+ return /* @__PURE__ */ H(c, {
1497
1504
  variant: "outline",
1498
1505
  className: "text-xs",
1499
1506
  children: e
1500
1507
  });
1501
1508
  }
1502
- ui.Badge = di;
1509
+ bi.Badge = xi;
1503
1510
  //#endregion
1504
1511
  //#region src/components/ui/slider.tsx
1505
- function fi({ className: e, defaultValue: t, value: n, min: i = 0, max: a = 100, "aria-label": o, "aria-labelledby": s, ...c }) {
1506
- let l = B.useMemo(() => Array.isArray(n) ? n : Array.isArray(t) ? t : [i, a], [
1512
+ function Si({ className: e, defaultValue: t, value: n, min: i = 0, max: a = 100, "aria-label": o, "aria-labelledby": s, ...c }) {
1513
+ let l = z.useMemo(() => Array.isArray(n) ? n : Array.isArray(t) ? t : [i, a], [
1507
1514
  n,
1508
1515
  t,
1509
1516
  i,
1510
1517
  a
1511
1518
  ]);
1512
- return /* @__PURE__ */ W(dt.Root, {
1519
+ return /* @__PURE__ */ U(gt.Root, {
1513
1520
  "data-slot": "slider",
1514
1521
  defaultValue: t,
1515
1522
  value: n,
@@ -1517,14 +1524,14 @@ function fi({ className: e, defaultValue: t, value: n, min: i = 0, max: a = 100,
1517
1524
  max: a,
1518
1525
  className: r("relative flex w-full touch-none items-center select-none data-[disabled]:opacity-50 data-[orientation=vertical]:h-full data-[orientation=vertical]:min-h-44 data-[orientation=vertical]:w-auto data-[orientation=vertical]:flex-col", e),
1519
1526
  ...c,
1520
- children: [/* @__PURE__ */ U(dt.Track, {
1527
+ children: [/* @__PURE__ */ H(gt.Track, {
1521
1528
  "data-slot": "slider-track",
1522
1529
  className: r("bg-muted relative grow overflow-hidden rounded-full data-[orientation=horizontal]:h-1.5 data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-1.5"),
1523
- children: /* @__PURE__ */ U(dt.Range, {
1530
+ children: /* @__PURE__ */ H(gt.Range, {
1524
1531
  "data-slot": "slider-range",
1525
1532
  className: r("bg-primary absolute data-[orientation=horizontal]:h-full data-[orientation=vertical]:w-full")
1526
1533
  })
1527
- }), Array.from({ length: l.length }, (e, t) => /* @__PURE__ */ U(dt.Thumb, {
1534
+ }), Array.from({ length: l.length }, (e, t) => /* @__PURE__ */ H(gt.Thumb, {
1528
1535
  "data-slot": "slider-thumb",
1529
1536
  "aria-label": o && l.length > 1 ? `${o} ${t + 1}` : o,
1530
1537
  "aria-labelledby": s,
@@ -1533,65 +1540,219 @@ function fi({ className: e, defaultValue: t, value: n, min: i = 0, max: a = 100,
1533
1540
  });
1534
1541
  }
1535
1542
  //#endregion
1543
+ //#region src/components/ui/tree.tsx
1544
+ var Ci = "/";
1545
+ function wi(e, t) {
1546
+ return e === "" ? t : `${e}${Ci}${t}`;
1547
+ }
1548
+ function Ti(e) {
1549
+ return e.children !== void 0 && e.children.length > 0;
1550
+ }
1551
+ function Ei(e, t, n) {
1552
+ if (!n || !Ti(e)) return {
1553
+ node: e,
1554
+ ids: t
1555
+ };
1556
+ let r = e.children?.length === 1 ? e.children[0] : void 0;
1557
+ return r === void 0 || !Ti(r) ? {
1558
+ node: e,
1559
+ ids: t
1560
+ } : Ei(r, [...t, r.id], n);
1561
+ }
1562
+ function Di(e, t, n, r = "", i = 1) {
1563
+ let a = [];
1564
+ for (let o of e) {
1565
+ let e = Ei(o, [o.id], n), s = e.ids.reduce((e, t) => wi(e, t), r), c = Ti(e.node);
1566
+ a.push({
1567
+ key: s,
1568
+ node: e.node,
1569
+ ids: e.ids,
1570
+ level: i,
1571
+ hasChildren: c
1572
+ }), c && t.has(s) && a.push(...Di(e.node.children ?? [], t, n, s, i + 1));
1573
+ }
1574
+ return a;
1575
+ }
1576
+ function Oi(e) {
1577
+ return e.ids.length > 1 ? e.ids.join(Ci) : e.node.label;
1578
+ }
1579
+ function ki({ nodes: e, label: t, expanded: n, defaultExpanded: i, onExpandedChange: a, selected: o, onSelect: s, renderAfter: c, compact: l = !0, className: u, ...d }) {
1580
+ let [f, p] = z.useState(i ?? []), m = z.useMemo(() => new Set(n ?? f), [n, f]), h = z.useMemo(() => Di(e, m, l), [
1581
+ e,
1582
+ m,
1583
+ l
1584
+ ]), [g, _] = z.useState(null), v = h.some((e) => e.key === g) ? g : h[0]?.key ?? null, y = z.useRef(null), ee = z.useCallback((e) => {
1585
+ n === void 0 && p(e), a?.(e);
1586
+ }, [n, a]), b = z.useCallback((e, t) => {
1587
+ let n = [...m];
1588
+ t !== m.has(e) && ee(t ? [...n, e] : n.filter((t) => t !== e));
1589
+ }, [m, ee]), x = z.useCallback((e) => {
1590
+ _(e), (y.current?.querySelector(`[data-tree-key="${CSS.escape(e)}"]`))?.focus();
1591
+ }, []), S = z.useCallback((e) => {
1592
+ let t = h.findIndex((e) => e.key === v), n = h[t];
1593
+ if (n === void 0) return;
1594
+ let r = (e) => {
1595
+ let t = h[e];
1596
+ t !== void 0 && x(t.key);
1597
+ };
1598
+ switch (e.key) {
1599
+ case "ArrowDown":
1600
+ e.preventDefault(), r(t + 1);
1601
+ return;
1602
+ case "ArrowUp":
1603
+ e.preventDefault(), r(t - 1);
1604
+ return;
1605
+ case "Home":
1606
+ e.preventDefault(), r(0);
1607
+ return;
1608
+ case "End":
1609
+ e.preventDefault(), r(h.length - 1);
1610
+ return;
1611
+ case "ArrowRight":
1612
+ e.preventDefault(), n.hasChildren && !m.has(n.key) ? b(n.key, !0) : n.hasChildren && r(t + 1);
1613
+ return;
1614
+ case "ArrowLeft":
1615
+ if (e.preventDefault(), n.hasChildren && m.has(n.key)) {
1616
+ b(n.key, !1);
1617
+ return;
1618
+ }
1619
+ for (let e = t - 1; e >= 0; --e) {
1620
+ let t = h[e];
1621
+ if (t !== void 0 && t.level < n.level) {
1622
+ x(t.key);
1623
+ return;
1624
+ }
1625
+ }
1626
+ return;
1627
+ case "Enter":
1628
+ case " ":
1629
+ e.preventDefault(), n.hasChildren && b(n.key, !m.has(n.key)), s?.(n.key, n.node);
1630
+ return;
1631
+ default: return;
1632
+ }
1633
+ }, [
1634
+ h,
1635
+ v,
1636
+ m,
1637
+ b,
1638
+ x,
1639
+ s
1640
+ ]);
1641
+ return /* @__PURE__ */ H("div", {
1642
+ ref: y,
1643
+ role: "tree",
1644
+ "aria-label": t,
1645
+ className: r("flex flex-col text-sm", u),
1646
+ onKeyDown: S,
1647
+ ...d,
1648
+ children: h.map((e) => {
1649
+ let t = e.hasChildren && m.has(e.key);
1650
+ return /* @__PURE__ */ U("div", {
1651
+ role: "treeitem",
1652
+ "data-tree-key": e.key,
1653
+ "aria-level": e.level,
1654
+ "aria-expanded": e.hasChildren ? t : void 0,
1655
+ "aria-selected": o === void 0 ? void 0 : o === e.key,
1656
+ tabIndex: v === e.key ? 0 : -1,
1657
+ className: r("flex cursor-default items-center gap-1.5 rounded-sm px-1.5 py-1 outline-none", "hover:bg-accent focus-visible:ring-ring focus-visible:ring-2", o === e.key && "bg-accent"),
1658
+ style: { paddingInlineStart: `${String(e.level * .75)}rem` },
1659
+ onFocus: () => {
1660
+ _(e.key);
1661
+ },
1662
+ onClick: () => {
1663
+ e.hasChildren && b(e.key, !t), s?.(e.key, e.node);
1664
+ },
1665
+ children: [
1666
+ /* @__PURE__ */ H(fe, {
1667
+ "aria-hidden": "true",
1668
+ className: r("size-3.5 shrink-0 transition-transform", e.hasChildren ? "opacity-70" : "opacity-0", t && "rotate-90")
1669
+ }),
1670
+ /* @__PURE__ */ H("span", {
1671
+ className: "min-w-0 truncate",
1672
+ children: Oi(e)
1673
+ }),
1674
+ c?.(e.node, e.key)
1675
+ ]
1676
+ }, e.key);
1677
+ })
1678
+ });
1679
+ }
1680
+ function Ai(e, t = {}) {
1681
+ let n = t.separator ?? Ci, r = [], i = /* @__PURE__ */ new Map();
1682
+ for (let t of e) {
1683
+ let e = t.split(n).filter((e) => e !== ""), a = r, o = "";
1684
+ for (let t of e) {
1685
+ o = o === "" ? t : `${o}${n}${t}`;
1686
+ let e = i.get(o);
1687
+ e === void 0 && (e = {
1688
+ id: t,
1689
+ label: t,
1690
+ children: []
1691
+ }, i.set(o, e), a.push(e)), a = e.children;
1692
+ }
1693
+ }
1694
+ return r;
1695
+ }
1696
+ //#endregion
1536
1697
  //#region src/components/ui/stepper.tsx
1537
- var pi = Me({
1698
+ var ji = Ve({
1538
1699
  completedSteps: [],
1539
1700
  allDone: !1
1540
1701
  });
1541
- function mi({ completedSteps: e, children: t, className: n }) {
1702
+ function Mi({ completedSteps: e, children: t, className: n }) {
1542
1703
  let i = e.length > 0 && e.every(Boolean);
1543
- return /* @__PURE__ */ U(pi.Provider, {
1704
+ return /* @__PURE__ */ H(ji.Provider, {
1544
1705
  value: {
1545
1706
  completedSteps: e,
1546
1707
  allDone: i
1547
1708
  },
1548
- children: /* @__PURE__ */ W("div", {
1709
+ children: /* @__PURE__ */ U("div", {
1549
1710
  className: r("relative", n),
1550
- children: [/* @__PURE__ */ U("div", { className: "stepper-line absolute left-3.75 top-4 bottom-4 w-0.5 rounded-full" }), t]
1711
+ children: [/* @__PURE__ */ H("div", { className: "stepper-line absolute left-3.75 top-4 bottom-4 w-0.5 rounded-full" }), t]
1551
1712
  })
1552
1713
  });
1553
1714
  }
1554
- function hi({ index: e, children: t, className: n }) {
1555
- let { completedSteps: i } = Pe(pi), a = i[e] ?? !1, o = e + 1;
1556
- return /* @__PURE__ */ W("div", {
1715
+ function Ni({ index: e, children: t, className: n }) {
1716
+ let { completedSteps: i } = Ue(ji), a = i[e] ?? !1, o = e + 1;
1717
+ return /* @__PURE__ */ U("div", {
1557
1718
  className: r("relative flex items-start gap-4 pb-8", n),
1558
- children: [/* @__PURE__ */ U("div", {
1719
+ children: [/* @__PURE__ */ H("div", {
1559
1720
  className: "flex flex-col items-center",
1560
- children: /* @__PURE__ */ U("div", {
1721
+ children: /* @__PURE__ */ H("div", {
1561
1722
  className: r("relative z-10 flex h-8 w-8 items-center justify-center rounded-full text-xs font-bold transition-all duration-500", a ? "bg-emerald-500 text-white shadow-md shadow-emerald-500/30 scale-105" : "bg-primary text-primary-foreground"),
1562
- children: a ? /* @__PURE__ */ U(Je, { className: "h-4 w-4" }) : o
1723
+ children: a ? /* @__PURE__ */ H(rt, { className: "h-4 w-4" }) : o
1563
1724
  })
1564
- }), /* @__PURE__ */ U("div", {
1725
+ }), /* @__PURE__ */ H("div", {
1565
1726
  className: "flex-1 pt-0.5",
1566
1727
  children: t
1567
1728
  })]
1568
1729
  });
1569
1730
  }
1570
- function gi({ readyLabel: e, pendingLabel: t, className: n }) {
1571
- let { allDone: i } = Pe(pi), { t: a } = G(), o = e ?? a("common.readyToSubmit"), s = t ?? a("common.completeAllSteps");
1572
- return /* @__PURE__ */ W("div", {
1731
+ function Pi({ readyLabel: e, pendingLabel: t, className: n }) {
1732
+ let { allDone: i } = Ue(ji), { t: a } = W(), o = e ?? a("common.readyToSubmit"), s = t ?? a("common.completeAllSteps");
1733
+ return /* @__PURE__ */ U("div", {
1573
1734
  className: r("relative flex items-center gap-4", n),
1574
- children: [/* @__PURE__ */ U("div", {
1735
+ children: [/* @__PURE__ */ H("div", {
1575
1736
  className: "flex flex-col items-center",
1576
- children: /* @__PURE__ */ U("div", {
1737
+ children: /* @__PURE__ */ H("div", {
1577
1738
  className: r("relative z-10 flex h-8 w-8 items-center justify-center rounded-full transition-all duration-700", i ? "stepper-ready bg-emerald-500 text-white shadow-lg shadow-emerald-500/40 scale-110" : "bg-muted text-muted-foreground/40"),
1578
- children: /* @__PURE__ */ U(Ye, { className: "h-5 w-5" })
1739
+ children: /* @__PURE__ */ H(it, { className: "h-5 w-5" })
1579
1740
  })
1580
- }), /* @__PURE__ */ U("span", {
1581
- className: r("text-sm font-medium transition-all duration-500", i ? "text-emerald-600 dark:text-emerald-400" : "text-muted-foreground/40"),
1741
+ }), /* @__PURE__ */ H("span", {
1742
+ className: r("text-sm font-medium transition-all duration-500", i ? "text-emerald-700 dark:text-emerald-400" : "text-muted-foreground"),
1582
1743
  children: i ? o : s
1583
1744
  })]
1584
1745
  });
1585
1746
  }
1586
- mi.Step = hi, mi.Completion = gi;
1747
+ Mi.Step = Ni, Mi.Completion = Pi;
1587
1748
  //#endregion
1588
1749
  //#region src/components/ui/switch.tsx
1589
- function _i({ className: e, ...t }) {
1590
- return /* @__PURE__ */ U(rt.Root, {
1750
+ function Fi({ className: e, ...t }) {
1751
+ return /* @__PURE__ */ H(ft.Root, {
1591
1752
  "data-slot": "switch",
1592
1753
  className: r("peer data-[state=checked]:bg-primary data-[state=unchecked]:bg-input focus-visible:border-ring focus-visible:ring-ring/50 dark:data-[state=unchecked]:bg-input/80 inline-flex h-[1.15rem] w-8 shrink-0 items-center rounded-full border border-transparent shadow-xs transition-all outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50", e),
1593
1754
  ...t,
1594
- children: /* @__PURE__ */ U(rt.Thumb, {
1755
+ children: /* @__PURE__ */ H(ft.Thumb, {
1595
1756
  "data-slot": "switch-thumb",
1596
1757
  className: r("bg-background dark:data-[state=unchecked]:bg-foreground dark:data-[state=checked]:bg-primary-foreground pointer-events-none block size-4 rounded-full ring-0 transition-transform data-[state=checked]:translate-x-[calc(100%-2px)] data-[state=unchecked]:translate-x-0")
1597
1758
  })
@@ -1599,100 +1760,70 @@ function _i({ className: e, ...t }) {
1599
1760
  }
1600
1761
  //#endregion
1601
1762
  //#region src/components/ui/table.tsx
1602
- function vi({ className: e, ...t }) {
1603
- return /* @__PURE__ */ U("div", {
1763
+ function Ii({ className: e, ...t }) {
1764
+ return /* @__PURE__ */ H("div", {
1604
1765
  "data-slot": "table-container",
1605
1766
  className: "relative w-full overflow-x-auto",
1606
- children: /* @__PURE__ */ U("table", {
1767
+ children: /* @__PURE__ */ H("table", {
1607
1768
  "data-slot": "table",
1608
1769
  className: r("w-full caption-bottom text-sm", e),
1609
1770
  ...t
1610
1771
  })
1611
1772
  });
1612
1773
  }
1613
- function yi({ className: e, ...t }) {
1614
- return /* @__PURE__ */ U("thead", {
1774
+ function Li({ className: e, ...t }) {
1775
+ return /* @__PURE__ */ H("thead", {
1615
1776
  "data-slot": "table-header",
1616
1777
  className: r("[&_tr]:border-b", e),
1617
1778
  ...t
1618
1779
  });
1619
1780
  }
1620
- function bi({ className: e, ...t }) {
1621
- return /* @__PURE__ */ U("tbody", {
1781
+ function Ri({ className: e, ...t }) {
1782
+ return /* @__PURE__ */ H("tbody", {
1622
1783
  "data-slot": "table-body",
1623
1784
  className: r("[&_tr:last-child]:border-0", e),
1624
1785
  ...t
1625
1786
  });
1626
1787
  }
1627
- function xi({ className: e, ...t }) {
1628
- return /* @__PURE__ */ U("tfoot", {
1788
+ function zi({ className: e, ...t }) {
1789
+ return /* @__PURE__ */ H("tfoot", {
1629
1790
  "data-slot": "table-footer",
1630
1791
  className: r("bg-muted/50 border-t font-medium [&>tr]:last:border-b-0", e),
1631
1792
  ...t
1632
1793
  });
1633
1794
  }
1634
- function Si({ className: e, ...t }) {
1635
- return /* @__PURE__ */ U("tr", {
1795
+ function Bi({ className: e, ...t }) {
1796
+ return /* @__PURE__ */ H("tr", {
1636
1797
  "data-slot": "table-row",
1637
1798
  className: r("hover:bg-muted/50 data-[state=selected]:bg-muted border-b transition-colors", e),
1638
1799
  ...t
1639
1800
  });
1640
1801
  }
1641
- function Ci({ className: e, ...t }) {
1642
- return /* @__PURE__ */ U("th", {
1802
+ function Vi({ className: e, ...t }) {
1803
+ return /* @__PURE__ */ H("th", {
1643
1804
  "data-slot": "table-head",
1644
1805
  className: r("text-foreground h-10 px-2 text-left align-middle font-medium whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]", e),
1645
1806
  ...t
1646
1807
  });
1647
1808
  }
1648
- function wi({ className: e, ...t }) {
1649
- return /* @__PURE__ */ U("td", {
1809
+ function Hi({ className: e, ...t }) {
1810
+ return /* @__PURE__ */ H("td", {
1650
1811
  "data-slot": "table-cell",
1651
1812
  className: r("p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]", e),
1652
1813
  ...t
1653
1814
  });
1654
1815
  }
1655
- function Ti({ className: e, ...t }) {
1656
- return /* @__PURE__ */ U("caption", {
1816
+ function Ui({ className: e, ...t }) {
1817
+ return /* @__PURE__ */ H("caption", {
1657
1818
  "data-slot": "table-caption",
1658
1819
  className: r("text-muted-foreground mt-4 text-sm", e),
1659
1820
  ...t
1660
1821
  });
1661
1822
  }
1662
1823
  //#endregion
1663
- //#region src/components/ui/tabs.tsx
1664
- function Ei({ className: e, ...t }) {
1665
- return /* @__PURE__ */ U(ht.Root, {
1666
- "data-slot": "tabs",
1667
- className: r("flex flex-col gap-2", e),
1668
- ...t
1669
- });
1670
- }
1671
- function Di({ className: e, ...t }) {
1672
- return /* @__PURE__ */ U(ht.List, {
1673
- "data-slot": "tabs-list",
1674
- className: r("bg-muted text-muted-foreground inline-flex h-9 w-fit items-center justify-center rounded-lg p-[3px]", e),
1675
- ...t
1676
- });
1677
- }
1678
- function Oi({ className: e, ...t }) {
1679
- return /* @__PURE__ */ U(ht.Trigger, {
1680
- "data-slot": "tabs-trigger",
1681
- className: r("data-[state=active]:bg-background dark:data-[state=active]:text-foreground focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 text-foreground dark:text-muted-foreground inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-sm [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", e),
1682
- ...t
1683
- });
1684
- }
1685
- function ki({ className: e, ...t }) {
1686
- return /* @__PURE__ */ U(ht.Content, {
1687
- "data-slot": "tabs-content",
1688
- className: r("flex-1 outline-none", e),
1689
- ...t
1690
- });
1691
- }
1692
- //#endregion
1693
1824
  //#region src/components/ui/textarea.tsx
1694
- function Ai({ className: e, ...t }) {
1695
- return /* @__PURE__ */ U("textarea", {
1825
+ function Wi({ className: e, ...t }) {
1826
+ return /* @__PURE__ */ H("textarea", {
1696
1827
  "data-slot": "textarea",
1697
1828
  className: r("border-input placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 flex field-sizing-content min-h-16 w-full rounded-md border bg-transparent px-3 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 md:text-sm", e),
1698
1829
  ...t
@@ -1700,7 +1831,7 @@ function Ai({ className: e, ...t }) {
1700
1831
  }
1701
1832
  //#endregion
1702
1833
  //#region src/components/ui/toggle.tsx
1703
- var ji = Be("inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium hover:bg-muted hover:text-muted-foreground disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 [&_svg]:shrink-0 focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] outline-none transition-[color,box-shadow] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive whitespace-nowrap", {
1834
+ var Gi = Ye("inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium hover:bg-muted hover:text-muted-foreground disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 [&_svg]:shrink-0 focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] outline-none transition-[color,box-shadow] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive whitespace-nowrap", {
1704
1835
  variants: {
1705
1836
  variant: {
1706
1837
  default: "bg-transparent",
@@ -1717,10 +1848,10 @@ var ji = Be("inline-flex items-center justify-center gap-2 rounded-md text-sm fo
1717
1848
  size: "default"
1718
1849
  }
1719
1850
  });
1720
- function Mi({ className: e, variant: t, size: n, ...i }) {
1721
- return /* @__PURE__ */ U(gt.Root, {
1851
+ function Ki({ className: e, variant: t, size: n, ...i }) {
1852
+ return /* @__PURE__ */ H(bt.Root, {
1722
1853
  "data-slot": "toggle",
1723
- className: r(ji({
1854
+ className: r(Gi({
1724
1855
  variant: t,
1725
1856
  size: n,
1726
1857
  className: e
@@ -1730,13 +1861,13 @@ function Mi({ className: e, variant: t, size: n, ...i }) {
1730
1861
  }
1731
1862
  //#endregion
1732
1863
  //#region src/components/ui/toggle-group.tsx
1733
- var Ni = B.createContext({
1864
+ var qi = z.createContext({
1734
1865
  size: "default",
1735
1866
  variant: "default",
1736
1867
  spacing: 0
1737
1868
  });
1738
- function Pi({ className: e, variant: t, size: n, spacing: i = 0, children: a, ...o }) {
1739
- return /* @__PURE__ */ U(_t.Root, {
1869
+ function Ji({ className: e, variant: t, size: n, spacing: i = 0, children: a, ...o }) {
1870
+ return /* @__PURE__ */ H(xt.Root, {
1740
1871
  "data-slot": "toggle-group",
1741
1872
  "data-variant": t,
1742
1873
  "data-size": n,
@@ -1744,7 +1875,7 @@ function Pi({ className: e, variant: t, size: n, spacing: i = 0, children: a, ..
1744
1875
  style: { "--gap": i },
1745
1876
  className: r("group/toggle-group flex w-fit items-center gap-[--spacing(var(--gap))] rounded-md data-[spacing=default]:data-[variant=outline]:shadow-xs", e),
1746
1877
  ...o,
1747
- children: /* @__PURE__ */ U(Ni.Provider, {
1878
+ children: /* @__PURE__ */ H(qi.Provider, {
1748
1879
  value: {
1749
1880
  variant: t,
1750
1881
  size: n,
@@ -1754,14 +1885,14 @@ function Pi({ className: e, variant: t, size: n, spacing: i = 0, children: a, ..
1754
1885
  })
1755
1886
  });
1756
1887
  }
1757
- function Fi({ className: e, children: t, variant: n, size: i, ...a }) {
1758
- let o = B.useContext(Ni);
1759
- return /* @__PURE__ */ U(_t.Item, {
1888
+ function Yi({ className: e, children: t, variant: n, size: i, ...a }) {
1889
+ let o = z.useContext(qi);
1890
+ return /* @__PURE__ */ H(xt.Item, {
1760
1891
  "data-slot": "toggle-group-item",
1761
1892
  "data-variant": o.variant || n,
1762
1893
  "data-size": o.size || i,
1763
1894
  "data-spacing": o.spacing,
1764
- className: r(ji({
1895
+ className: r(Gi({
1765
1896
  variant: o.variant || n,
1766
1897
  size: o.size || i
1767
1898
  }), "w-auto min-w-0 shrink-0 px-3 focus:z-10 focus-visible:z-10", "data-[spacing=0]:rounded-none data-[spacing=0]:shadow-none data-[spacing=0]:first:rounded-l-md data-[spacing=0]:last:rounded-r-md data-[spacing=0]:data-[variant=outline]:border-l-0 data-[spacing=0]:data-[variant=outline]:first:border-l", e),
@@ -1771,11 +1902,11 @@ function Fi({ className: e, children: t, variant: n, size: i, ...a }) {
1771
1902
  }
1772
1903
  //#endregion
1773
1904
  //#region src/components/ui/viglet-avatar.tsx
1774
- var Ii = (e) => e <= .04045 ? e / 12.92 : ((e + .055) / 1.055) ** 2.4, Li = (e) => e <= .0031308 ? 12.92 * e : 1.055 * e ** (1 / 2.4) - .055, X = (e) => [
1775
- Ii((e >> 16 & 255) / 255),
1776
- Ii((e >> 8 & 255) / 255),
1777
- Ii((e & 255) / 255)
1778
- ], Ri = {
1905
+ var Xi = (e) => e <= .04045 ? e / 12.92 : ((e + .055) / 1.055) ** 2.4, Zi = (e) => e <= .0031308 ? 12.92 * e : 1.055 * e ** (1 / 2.4) - .055, X = (e) => [
1906
+ Xi((e >> 16 & 255) / 255),
1907
+ Xi((e >> 8 & 255) / 255),
1908
+ Xi((e & 255) / 255)
1909
+ ], Qi = {
1779
1910
  idle: {
1780
1911
  center: X(14916170),
1781
1912
  rim: X(11022874),
@@ -1801,8 +1932,8 @@ var Ii = (e) => e <= .04045 ? e / 12.92 : ((e + .055) / 1.055) ** 2.4, Li = (e)
1801
1932
  rim: X(11812382),
1802
1933
  glow: .42
1803
1934
  }
1804
- }, zi = 2;
1805
- function Bi(e) {
1935
+ }, $i = 2;
1936
+ function ea(e) {
1806
1937
  let t = (1 + Math.sqrt(5)) / 2, n = [
1807
1938
  -1,
1808
1939
  t,
@@ -1938,12 +2069,12 @@ function Bi(e) {
1938
2069
  count: u
1939
2070
  };
1940
2071
  }
1941
- var Vi = Bi(zi), Hi = (e) => e < 0 ? 0 : e > 1 ? 1 : e, Z = (e, t, n) => e + (t - e) * n;
1942
- function Ui(e, t, n) {
1943
- let r = Hi((n - e) / (t - e));
2072
+ var ta = ea($i), na = (e) => e < 0 ? 0 : e > 1 ? 1 : e, Z = (e, t, n) => e + (t - e) * n;
2073
+ function ra(e, t, n) {
2074
+ let r = na((n - e) / (t - e));
1944
2075
  return r * r * (3 - 2 * r);
1945
2076
  }
1946
- var Wi = .78, Gi = [
2077
+ var ia = .78, aa = [
1947
2078
  [
1948
2079
  .59719,
1949
2080
  .35458,
@@ -1959,7 +2090,7 @@ var Wi = .78, Gi = [
1959
2090
  .13383,
1960
2091
  .83777
1961
2092
  ]
1962
- ], Ki = [
2093
+ ], oa = [
1963
2094
  [
1964
2095
  1.60475,
1965
2096
  -.53108,
@@ -1975,182 +2106,182 @@ var Wi = .78, Gi = [
1975
2106
  -.07276,
1976
2107
  1.07602
1977
2108
  ]
1978
- ], qi = (e) => (e * (e + .0245786) - 90537e-9) / (e * (.983729 * e + .432951) + .238081);
1979
- function Ji(e, t, n, r) {
1980
- let i = t * Wi, a = n * Wi, o = r * Wi;
2109
+ ], sa = (e) => (e * (e + .0245786) - 90537e-9) / (e * (.983729 * e + .432951) + .238081);
2110
+ function ca(e, t, n, r) {
2111
+ let i = t * ia, a = n * ia, o = r * ia;
1981
2112
  for (let t = 0; t < 3; t += 1) {
1982
- let [n, r, s] = Gi[t];
1983
- e[t] = qi(n * i + r * a + s * o);
2113
+ let [n, r, s] = aa[t];
2114
+ e[t] = sa(n * i + r * a + s * o);
1984
2115
  }
1985
2116
  let [s, c, l] = e;
1986
2117
  for (let t = 0; t < 3; t += 1) {
1987
- let [n, r, i] = Ki[t];
1988
- e[t] = Math.round(Li(Hi(n * s + r * c + i * l)) * 255);
2118
+ let [n, r, i] = oa[t];
2119
+ e[t] = Math.round(Zi(na(n * s + r * c + i * l)) * 255);
1989
2120
  }
1990
2121
  }
1991
2122
  function Q(e) {
1992
- let t = e * Wi;
1993
- return Math.round(Li(Hi(qi(t))) * 255);
2123
+ let t = e * ia;
2124
+ return Math.round(Zi(na(sa(t))) * 255);
1994
2125
  }
1995
- var Yi = 60, Xi = "rgba(255,214,150,0.34)";
1996
- function Zi(e) {
2126
+ var la = 60, ua = "rgba(255,214,150,0.34)";
2127
+ function da(e) {
1997
2128
  let t = Math.abs(Math.trunc(e)) % 2147483646 + 1;
1998
2129
  return () => (t = t * 16807 % 2147483647, (t - 1) / 2147483646);
1999
2130
  }
2000
- var Qi = 1618033;
2001
- function $i({ state: e = "idle", size: t = 128, compact: n = !1, activity: r = 0, unread: i = !1, paused: a = !1, seed: o = Qi, className: s, style: c }) {
2002
- let l = H(null), u = H(e), d = H(0), f = H(n), p = H(i), m = H(a), h = H(-Infinity), g = H(null);
2003
- return V(() => {
2131
+ var fa = 1618033;
2132
+ function pa({ state: e = "idle", size: t = 128, compact: n = !1, activity: r = 0, unread: i = !1, paused: a = !1, seed: o = fa, className: s, style: c }) {
2133
+ let l = V(null), u = V(e), d = V(0), f = V(n), p = V(i), m = V(a), h = V(-Infinity), g = V(null);
2134
+ return B(() => {
2004
2135
  u.current = e, d.current = typeof performance > "u" ? 0 : performance.now(), g.current?.();
2005
- }, [e]), V(() => {
2136
+ }, [e]), B(() => {
2006
2137
  f.current = n, g.current?.();
2007
- }, [n]), V(() => {
2138
+ }, [n]), B(() => {
2008
2139
  p.current = i, g.current?.();
2009
- }, [i]), V(() => {
2140
+ }, [i]), B(() => {
2010
2141
  m.current = a, g.current?.();
2011
- }, [a]), V(() => {
2142
+ }, [a]), B(() => {
2012
2143
  r && (h.current = performance.now(), g.current?.());
2013
- }, [r]), V(() => {
2144
+ }, [r]), B(() => {
2014
2145
  let r = l.current;
2015
2146
  if (!r) return;
2016
2147
  let i = r.getContext("2d");
2017
2148
  if (!i) return;
2018
2149
  let a = i, s = typeof window.matchMedia == "function" && window.matchMedia("(prefers-reduced-motion: reduce)").matches, c = Math.min(window.devicePixelRatio || 1, 2);
2019
2150
  r.width = Math.round(t * c), r.height = Math.round(t * c), a.scale(c, c);
2020
- let _ = t / 2, v = t / 2, y = Zi(o), ee = Array.from({ length: 34 }, () => ({
2151
+ let _ = t / 2, v = t / 2, y = da(o), ee = Array.from({ length: 34 }, () => ({
2021
2152
  x: (y() - .5) * 1.9,
2022
2153
  y: y() * 2.8 - .4,
2023
2154
  z: (y() - .5) * 1.9,
2024
2155
  speed: .05 + y() * .09
2025
2156
  })), b = {
2026
- center: [...Ri[e].center],
2027
- rim: [...Ri[e].rim],
2028
- glow: Ri[e].glow
2029
- }, x = 0, S = Yi, te = 0, C = 0, ne = performance.now(), w = 0, T = .34, E = n ? 7.4 : 9, D = -Infinity, O = {
2157
+ center: [...Qi[e].center],
2158
+ rim: [...Qi[e].rim],
2159
+ glow: Qi[e].glow
2160
+ }, x = 0, S = la, C = 0, w = 0, T = performance.now(), te = 0, E = .34, D = n ? 7.4 : 9, O = -Infinity, k = {
2030
2161
  x: 0,
2031
2162
  y: 0
2032
- }, k = {
2163
+ }, A = {
2033
2164
  x: 0,
2034
2165
  y: 0
2035
- }, A = (e) => {
2036
- O.x = e.clientX / window.innerWidth * 2 - 1, O.y = -(e.clientY / window.innerHeight * 2 - 1), D = performance.now(), S = Yi, x ||= requestAnimationFrame(F);
2037
- }, j = t * (n ? .27 : .24), M = (e, t, n, r) => {
2038
- let i = E / (E - n * r);
2039
- return [_ + e * r * i * j, v - t * r * i * j];
2166
+ }, j = (e) => {
2167
+ k.x = e.clientX / window.innerWidth * 2 - 1, k.y = -(e.clientY / window.innerHeight * 2 - 1), O = performance.now(), S = la, x ||= requestAnimationFrame(ie);
2168
+ }, M = t * (n ? .27 : .24), N = (e, t, n, r) => {
2169
+ let i = D / (D - n * r);
2170
+ return [_ + e * r * i * M, v - t * r * i * M];
2040
2171
  };
2041
- function N(e, t, n, r) {
2172
+ function P(e, t, n, r) {
2042
2173
  let i = a.createRadialGradient(e, t, 0, e, t, Math.max(n, .01));
2043
2174
  for (let [e, t] of r) i.addColorStop(e, t);
2044
2175
  return i;
2045
2176
  }
2046
- function re(e, t, n, r, i, o) {
2177
+ function ne(e, t, n, r, i, o) {
2047
2178
  if (i <= .002) return;
2048
2179
  a.save(), a.globalCompositeOperation = "lighter", a.strokeStyle = r, a.lineWidth = n, a.lineCap = "round", a.beginPath();
2049
2180
  let s = !1;
2050
2181
  for (let n = 0; n <= 96; n += 1) {
2051
- let r = n / 96 * Math.PI * 2, i = Math.cos(r) * t, c = Math.sin(r) * t, l = c * Math.cos(T), u = c * Math.sin(T), d = u >= 0 ? 1 : -1, f = !o || r >= o[0] && r <= o[1];
2182
+ let r = n / 96 * Math.PI * 2, i = Math.cos(r) * t, c = Math.sin(r) * t, l = c * Math.cos(E), u = c * Math.sin(E), d = u >= 0 ? 1 : -1, f = !o || r >= o[0] && r <= o[1];
2052
2183
  if (d !== e || !f) {
2053
2184
  s = !1;
2054
2185
  continue;
2055
2186
  }
2056
- let [p, m] = M(i, l, u, 1);
2187
+ let [p, m] = N(i, l, u, 1);
2057
2188
  s ? a.lineTo(p, m) : (a.moveTo(p, m), s = !0);
2058
2189
  }
2059
2190
  a.globalAlpha = e === -1 ? i * .32 : i, a.stroke(), a.restore();
2060
2191
  }
2061
- let P = new Float64Array(Vi.points.length), ie = [
2192
+ let F = new Float64Array(ta.points.length), re = [
2062
2193
  0,
2063
2194
  0,
2064
2195
  0
2065
2196
  ];
2066
- function F(e) {
2197
+ function ie(e) {
2067
2198
  x = 0;
2068
- let n = a, r = Math.min((e - ne) / 1e3, .05);
2069
- ne = e;
2070
- let i = u.current, o = Ri[i], c = f.current, l = m.current || s, g = l ? 0 : e / 1e3, A = l ? 0 : (e - d.current) / 1e3, ae = l ? Infinity : (e - h.current) / 1e3, oe = !l && e - D < 1200;
2071
- C = l ? 0 : Z(C, +!!oe, oe ? .05 : .02), l || (te += r * (.25 + C * .75));
2072
- let se = c ? 7.4 : 9, ce = !l && Math.abs(E - se) > .01;
2073
- E = l ? se : Z(E, se, .12), (i !== "idle" || ae < 2.2 || p.current || C > .004 || ce) && (S = Yi);
2199
+ let n = a, r = Math.min((e - T) / 1e3, .05);
2200
+ T = e;
2201
+ let i = u.current, o = Qi[i], c = f.current, l = m.current || s, g = l ? 0 : e / 1e3, j = l ? 0 : (e - d.current) / 1e3, ae = l ? Infinity : (e - h.current) / 1e3, oe = !l && e - O < 1200;
2202
+ w = l ? 0 : Z(w, +!!oe, oe ? .05 : .02), l || (C += r * (.25 + w * .75));
2203
+ let se = c ? 7.4 : 9, ce = !l && Math.abs(D - se) > .01;
2204
+ D = l ? se : Z(D, se, .12), (i !== "idle" || ae < 2.2 || p.current || w > .004 || ce) && (S = la);
2074
2205
  let le = l ? 1 : .06;
2075
2206
  for (let e = 0; e < 3; e += 1) b.center[e] = Z(b.center[e], o.center[e], le), b.rim[e] = Z(b.rim[e], o.rim[e], le);
2076
2207
  let ue = o.glow, de = 1;
2077
- ue += Math.sin(te * .9) * .05 * C;
2078
- let fe = ae < 1.8 ? Math.sin(Hi(ae / 1.8) * Math.PI) * .14 : 0;
2208
+ ue += Math.sin(C * .9) * .05 * w;
2209
+ let fe = ae < 1.8 ? Math.sin(na(ae / 1.8) * Math.PI) * .14 : 0;
2079
2210
  if (ue += fe, i === "working" && (ue += Math.sin(g * 2.2) * .06), i === "success") {
2080
- let e = Hi(A / 1.4);
2081
- de = 1 + Math.sin((1 - (1 - e) ** 3) * Math.PI) * .06, A > 1.4 && (ue = Z(o.glow, Ri.idle.glow + .25, Hi((A - 1.4) / 2)));
2211
+ let e = na(j / 1.4);
2212
+ de = 1 + Math.sin((1 - (1 - e) ** 3) * Math.PI) * .06, j > 1.4 && (ue = Z(o.glow, Qi.idle.glow + .25, na((j - 1.4) / 2)));
2082
2213
  }
2083
2214
  i === "error" && (de = .94), b.glow = Z(b.glow, ue, l ? 1 : .08);
2084
2215
  let I = b.glow;
2085
- l || (w += r * (.06 + C * .1), T = .34 + Math.sin(te * .6) * .12, k.x = Z(k.x, O.x, .02), k.y = Z(k.y, O.y, .02));
2086
- let pe = l ? 0 : Math.sin(te * .35) * .05 + k.x * .12, me = l ? 0 : -k.y * .08, L = de * (1 + fe * .08);
2087
- n.clearRect(0, 0, t, t), n.fillStyle = N(_, v, j * 1.95, [
2216
+ l || (te += r * (.06 + w * .1), E = .34 + Math.sin(C * .6) * .12, A.x = Z(A.x, k.x, .02), A.y = Z(A.y, k.y, .02));
2217
+ let pe = l ? 0 : Math.sin(C * .35) * .05 + A.x * .12, me = l ? 0 : -A.y * .08, L = de * (1 + fe * .08);
2218
+ n.clearRect(0, 0, t, t), n.fillStyle = P(_, v, M * 1.95, [
2088
2219
  [0, "rgba(9,11,15,0.5)"],
2089
2220
  [.52, "rgba(9,11,15,0.3)"],
2090
2221
  [.8, "rgba(9,11,15,0.08)"],
2091
2222
  [1, "rgba(9,11,15,0)"]
2092
2223
  ]), n.fillRect(0, 0, t, t), n.save(), n.globalCompositeOperation = "lighter";
2093
- let he = j * (1.5 + I * .5) * L, ge = .06 + I * .24;
2094
- n.fillStyle = N(_, v, he, [
2224
+ let he = M * (1.5 + I * .5) * L, ge = .06 + I * .24;
2225
+ n.fillStyle = P(_, v, he, [
2095
2226
  [0, `rgba(${Q(b.center[0])},${Q(b.center[1])},${Q(b.center[2])},${ge * .5})`],
2096
2227
  [.34, `rgba(${Q(b.rim[0] * 1.4)},${Q(b.rim[1] * 1.4)},${Q(b.rim[2] * 1.4)},${ge * .2})`],
2097
2228
  [1, "rgba(160,50,10,0)"]
2098
2229
  ]), n.fillRect(0, 0, t, t), n.restore();
2099
2230
  let _e = i === "working" ? .55 : p.current ? .26 + Math.sin(g * .8) * .07 : 0, ve = g * 1.6 % (Math.PI * 2), ye = 1.5 * L, be = Math.max(1, t * .007), xe = Math.max(1, t * .011), Se = (e) => {
2100
- re(e, ye, be, "rgba(255,224,160,1)", _e * .45), i === "working" && re(e, ye, xe, "rgba(255,236,190,1)", .75, [ve, ve + 1.1]);
2231
+ ne(e, ye, be, "rgba(255,224,160,1)", _e * .45), i === "working" && ne(e, ye, xe, "rgba(255,236,190,1)", .75, [ve, ve + 1.1]);
2101
2232
  };
2102
2233
  Se(-1), n.save(), n.globalCompositeOperation = "lighter";
2103
- let Ce = l ? 0 : i === "success" || i === "attention" ? 1 : Math.max(C, .12), we = .08 + I * .4;
2234
+ let Ce = l ? 0 : i === "success" || i === "attention" ? 1 : Math.max(w, .12), we = .08 + I * .4;
2104
2235
  n.fillStyle = `rgba(${Q(b.center[0])},${Q(b.center[1])},${Q(b.center[2])},${we})`;
2105
2236
  for (let e of ee) {
2106
2237
  e.y += e.speed * r * (.4 + I) * Ce, e.y > 2.4 && (e.y = -.4, e.x = (y() - .5) * 1.9, e.z = (y() - .5) * 1.9);
2107
- let [i, a] = M(e.x, e.y, e.z, 1), o = Math.max(t * .005, 1) * (e.z > 0 ? 1 : .7);
2238
+ let [i, a] = N(e.x, e.y, e.z, 1), o = Math.max(t * .005, 1) * (e.z > 0 ? 1 : .7);
2108
2239
  n.beginPath(), n.arc(i, a, o, 0, Math.PI * 2), n.fill();
2109
2240
  }
2110
2241
  n.restore();
2111
- let Te = Math.cos(w + pe), Ee = Math.sin(w + pe), R = Math.cos(.32 + me), De = Math.sin(.32 + me), { points: Oe, grain: ke, count: Ae } = Vi;
2242
+ let Te = Math.cos(te + pe), Ee = Math.sin(te + pe), R = Math.cos(.32 + me), De = Math.sin(.32 + me), { points: Oe, grain: ke, count: Ae } = ta;
2112
2243
  for (let e = 0; e < Oe.length; e += 3) {
2113
2244
  let t = Oe[e], n = Oe[e + 1], r = Oe[e + 2], i = t * Te + r * Ee, a = -t * Ee + r * Te, o = n * R - a * De, s = n * De + a * R;
2114
- P[e] = i, P[e + 1] = o, P[e + 2] = s;
2245
+ F[e] = i, F[e + 1] = o, F[e + 2] = s;
2115
2246
  }
2116
2247
  for (let e = 0; e < Ae; e += 1) {
2117
- let t = e * 9, r = t + 3, i = t + 6, a = P[r] - P[t], o = P[r + 1] - P[t + 1], s = P[r + 2] - P[t + 2], c = P[i] - P[t], l = P[i + 1] - P[t + 1], u = P[i + 2] - P[t + 2], d = o * u - s * l, f = s * c - a * u, p = a * l - o * c;
2248
+ let t = e * 9, r = t + 3, i = t + 6, a = F[r] - F[t], o = F[r + 1] - F[t + 1], s = F[r + 2] - F[t + 2], c = F[i] - F[t], l = F[i + 1] - F[t + 1], u = F[i + 2] - F[t + 2], d = o * u - s * l, f = s * c - a * u, p = a * l - o * c;
2118
2249
  if (p <= 0) continue;
2119
- let m = 1 - p / Math.hypot(d, f, p), h = ke[e], g = .9 + .14 * h + .06 * Math.sin(te * .8 + h * 6.28), _ = Ui(.08, .82, m), v = Ui(.66, 0, m) * I * .62, y = 1 - .18 * Ui(.82, 1, m);
2120
- Ji(ie, (Z(b.center[0], b.rim[0], _) * g + v) * y, (Z(b.center[1], b.rim[1], _) * g + v * .72) * y, (Z(b.center[2], b.rim[2], _) * g + v * .3) * y);
2121
- let ee = `rgb(${ie[0]},${ie[1]},${ie[2]})`, [x, S] = M(P[t], P[t + 1], P[t + 2], L), [C, ne] = M(P[r], P[r + 1], P[r + 2], L), [w, T] = M(P[i], P[i + 1], P[i + 2], L);
2122
- n.beginPath(), n.moveTo(x, S), n.lineTo(C, ne), n.lineTo(w, T), n.closePath(), n.fillStyle = ee, n.fill(), n.strokeStyle = Xi, n.lineWidth = 1, n.stroke();
2250
+ let m = 1 - p / Math.hypot(d, f, p), h = ke[e], g = .9 + .14 * h + .06 * Math.sin(C * .8 + h * 6.28), _ = ra(.08, .82, m), v = ra(.66, 0, m) * I * .62, y = 1 - .18 * ra(.82, 1, m);
2251
+ ca(re, (Z(b.center[0], b.rim[0], _) * g + v) * y, (Z(b.center[1], b.rim[1], _) * g + v * .72) * y, (Z(b.center[2], b.rim[2], _) * g + v * .3) * y);
2252
+ let ee = `rgb(${re[0]},${re[1]},${re[2]})`, [x, S] = N(F[t], F[t + 1], F[t + 2], L), [w, T] = N(F[r], F[r + 1], F[r + 2], L), [te, E] = N(F[i], F[i + 1], F[i + 2], L);
2253
+ n.beginPath(), n.moveTo(x, S), n.lineTo(w, T), n.lineTo(te, E), n.closePath(), n.fillStyle = ee, n.fill(), n.strokeStyle = ua, n.lineWidth = 1, n.stroke();
2123
2254
  }
2124
2255
  Se(1), n.save(), n.globalCompositeOperation = "lighter";
2125
- let z = j * .34 * L;
2126
- if (n.fillStyle = N(_ - j * .38 * L, v - j * .44 * L, z, [
2256
+ let je = M * .34 * L;
2257
+ if (n.fillStyle = P(_ - M * .38 * L, v - M * .44 * L, je, [
2127
2258
  [0, `rgba(255,246,228,${.05 + I * .09})`],
2128
2259
  [.5, `rgba(255,240,214,${.015 + I * .03})`],
2129
2260
  [1, "rgba(255,240,214,0)"]
2130
- ]), n.fillRect(0, 0, t, t), i === "success" && A < 2.6) {
2131
- let e = A / 2.6, n = 1.05 + e * 1.5, r = Math.max(1, t * .009), i = .65 * (1 - e);
2132
- re(-1, n, r, "rgba(255,241,192,1)", i), re(1, n, r, "rgba(255,241,192,1)", i);
2261
+ ]), n.fillRect(0, 0, t, t), i === "success" && j < 2.6) {
2262
+ let e = j / 2.6, n = 1.05 + e * 1.5, r = Math.max(1, t * .009), i = .65 * (1 - e);
2263
+ ne(-1, n, r, "rgba(255,241,192,1)", i), ne(1, n, r, "rgba(255,241,192,1)", i);
2133
2264
  }
2134
2265
  if (n.restore(), i === "attention") {
2135
- let e = Hi(A / 2.4), r = Z(-1.9, .25, 1 - (1 - e) ** 2), i = e < 1 ? .7 : .7 * Math.max(0, 1 - (A - 2.4) / 2.5);
2266
+ let e = na(j / 2.4), r = Z(-1.9, .25, 1 - (1 - e) ** 2), i = e < 1 ? .7 : .7 * Math.max(0, 1 - (j - 2.4) / 2.5);
2136
2267
  if (i > .002) {
2137
2268
  n.save(), n.globalCompositeOperation = "lighter", n.globalAlpha = i, n.strokeStyle = "rgba(255,230,160,1)", n.lineWidth = Math.max(1, t * .009);
2138
- let [, e] = M(0, r, 0, 1);
2139
- n.beginPath(), n.ellipse(_, e, j * 1.6, j * .42, 0, 0, Math.PI * 2), n.stroke(), n.restore();
2269
+ let [, e] = N(0, r, 0, 1);
2270
+ n.beginPath(), n.ellipse(_, e, M * 1.6, M * .42, 0, 0, Math.PI * 2), n.stroke(), n.restore();
2140
2271
  }
2141
2272
  }
2142
2273
  if (!c) {
2143
- let e = v + j * 1.5;
2144
- n.save(), n.globalCompositeOperation = "lighter", n.fillStyle = N(_, e, j * 1.5, [[0, `rgba(220,140,60,${.1 + I * .2})`], [1, "rgba(220,140,60,0)"]]), n.fillRect(0, 0, t, t), n.restore();
2274
+ let e = v + M * 1.5;
2275
+ n.save(), n.globalCompositeOperation = "lighter", n.fillStyle = P(_, e, M * 1.5, [[0, `rgba(220,140,60,${.1 + I * .2})`], [1, "rgba(220,140,60,0)"]]), n.fillRect(0, 0, t, t), n.restore();
2145
2276
  }
2146
- l || (--S, S > 0 && (x = requestAnimationFrame(F)));
2277
+ l || (--S, S > 0 && (x = requestAnimationFrame(ie)));
2147
2278
  }
2148
2279
  return g.current = () => {
2149
- S = Yi, ne = performance.now(), x ||= requestAnimationFrame(F);
2150
- }, s || window.addEventListener("mousemove", A, { passive: !0 }), F(performance.now()), () => {
2151
- g.current = null, x && cancelAnimationFrame(x), window.removeEventListener("mousemove", A);
2280
+ S = la, T = performance.now(), x ||= requestAnimationFrame(ie);
2281
+ }, s || window.addEventListener("mousemove", j, { passive: !0 }), ie(performance.now()), () => {
2282
+ g.current = null, x && cancelAnimationFrame(x), window.removeEventListener("mousemove", j);
2152
2283
  };
2153
- }, [t, o]), /* @__PURE__ */ U("canvas", {
2284
+ }, [t, o]), /* @__PURE__ */ H("canvas", {
2154
2285
  ref: l,
2155
2286
  "aria-hidden": "true",
2156
2287
  "data-state": e,
@@ -2165,203 +2296,206 @@ function $i({ state: e = "idle", size: t = 128, compact: n = !1, activity: r = 0
2165
2296
  }
2166
2297
  //#endregion
2167
2298
  //#region src/components/ui/viglet-assistant.tsx
2168
- var ea = {
2299
+ var ma = {
2169
2300
  idle: "assistant.idle",
2170
2301
  working: "assistant.working",
2171
2302
  success: "assistant.success",
2172
2303
  error: "assistant.error",
2173
2304
  attention: "assistant.attention"
2174
- }, ta = {
2305
+ }, ha = {
2175
2306
  idle: "text-muted-foreground",
2176
- working: "text-amber-600 dark:text-amber-400",
2307
+ working: "text-amber-700 dark:text-amber-400",
2177
2308
  success: "text-emerald-700 dark:text-emerald-400",
2178
2309
  error: "text-destructive",
2179
- attention: "text-amber-700 dark:text-amber-300"
2180
- }, na = 3;
2181
- function ra(e) {
2310
+ attention: "text-amber-800 dark:text-amber-300"
2311
+ }, ga = 3;
2312
+ function _a(e) {
2182
2313
  return e.role === "report";
2183
2314
  }
2184
- function ia() {
2315
+ function va() {
2185
2316
  return typeof window < "u" && typeof window.matchMedia == "function" && window.matchMedia("(prefers-reduced-motion: reduce)").matches;
2186
2317
  }
2187
- function aa({ text: e, className: t }) {
2188
- let [n, r] = Ie(0);
2189
- return V(() => {
2190
- let t = e.length;
2191
- if (t === 0) return;
2192
- if (ia()) {
2193
- let e = setTimeout(() => r(t), 0);
2318
+ function ya({ text: e, still: t = !1, className: n }) {
2319
+ let [r, i] = Ge(0);
2320
+ return B(() => {
2321
+ let n = e.length;
2322
+ if (n === 0) return;
2323
+ if (t || va()) {
2324
+ let e = setTimeout(() => i(n), 0);
2194
2325
  return () => clearTimeout(e);
2195
2326
  }
2196
- let n = Math.max(14, Math.min(34, 1400 / t)), i = setInterval(() => {
2197
- r((e) => e >= t ? (clearInterval(i), e) : e + 1);
2198
- }, n);
2199
- return () => clearInterval(i);
2200
- }, [e]), /* @__PURE__ */ U("span", {
2201
- className: t,
2202
- children: /* @__PURE__ */ W("span", {
2327
+ let r = Math.max(14, Math.min(34, 1400 / n)), a = setInterval(() => {
2328
+ i((e) => e >= n ? (clearInterval(a), e) : e + 1);
2329
+ }, r);
2330
+ return () => clearInterval(a);
2331
+ }, [e, t]), /* @__PURE__ */ H("span", {
2332
+ className: n,
2333
+ children: /* @__PURE__ */ U("span", {
2203
2334
  "aria-hidden": "true",
2204
- children: [e.slice(0, n), n < e.length && /* @__PURE__ */ U("span", { className: "ml-px inline-block h-[0.95em] w-px translate-y-[0.15em] bg-current align-baseline motion-safe:animate-pulse" })]
2335
+ children: [e.slice(0, r), r < e.length && /* @__PURE__ */ H("span", { className: "ml-px inline-block h-[0.95em] w-px translate-y-[0.15em] bg-current align-baseline motion-safe:animate-pulse" })]
2205
2336
  })
2206
2337
  });
2207
2338
  }
2208
- function oa({ at: e, locale: t }) {
2339
+ function ba({ at: e, locale: t }) {
2209
2340
  let n = new Date(e);
2210
2341
  if (Number.isNaN(n.getTime())) return null;
2211
2342
  let r = n.toDateString() === (/* @__PURE__ */ new Date()).toDateString(), i = new Intl.DateTimeFormat(t, r ? { timeStyle: "short" } : {
2212
2343
  dateStyle: "short",
2213
2344
  timeStyle: "short"
2214
2345
  }).format(n);
2215
- return /* @__PURE__ */ U("time", {
2346
+ return /* @__PURE__ */ H("time", {
2216
2347
  dateTime: n.toISOString(),
2217
2348
  className: "text-muted-foreground",
2218
2349
  children: i
2219
2350
  });
2220
2351
  }
2221
- function sa({ state: e, caption: t, messages: n, busy: r = !1, onSend: i, open: a, defaultOpen: o = !1, onOpenChange: c, unread: l, onRead: u, onDismiss: d, activity: f = 0, inline: p = !1, className: m }) {
2222
- let { t: h, i18n: g } = G(), _ = pe(), [v, y] = Ie(o), [ee, b] = Ie(""), x = H(null), S = n ?? [], te = S.filter(ra), C = te.filter((e) => !e.read), ne = C[C.length - 1], w = a ?? v, T = typeof i == "function", E = e ?? ne?.tone ?? "idle", D = t === void 0 ? ne?.text ?? null : t, O = typeof l == "number" ? l : C.length, k = l === !0 || O > 0, [A, j] = Ie({
2223
- source: D,
2224
- text: w ? "" : D ?? ""
2352
+ function xa({ state: e, caption: t, messages: n, busy: r = !1, onSend: i, open: a, defaultOpen: o = !1, onOpenChange: c, unread: l, onRead: u, onDismiss: d, activity: f = 0, inline: p = !1, paused: m = !1, className: h }) {
2353
+ let { t: g, i18n: _ } = W(), v = ye(), [y, ee] = Ge(o), [b, x] = Ge(""), S = V(null), C = n ?? [], w = C.filter(_a), T = w.filter((e) => !e.read), te = T[T.length - 1], E = a ?? y, D = typeof i == "function", O = e ?? te?.tone ?? "idle", k = t === void 0 ? te?.text ?? null : t, A = typeof l == "number" ? l : T.length, j = l === !0 || A > 0, [M, N] = Ge({
2354
+ source: k,
2355
+ text: E ? "" : k ?? ""
2225
2356
  });
2226
- A.source !== D && j({
2227
- source: D,
2228
- text: w ? "" : D ?? ""
2357
+ M.source !== k && N({
2358
+ source: k,
2359
+ text: E ? "" : k ?? ""
2229
2360
  });
2230
- let M = (e) => {
2231
- if (e !== w) for (let e of C) u?.(e.id);
2232
- a === void 0 && y(e), c?.(e);
2361
+ let P = (e) => {
2362
+ if (e !== E) for (let e of T) u?.(e.id);
2363
+ a === void 0 && ee(e), c?.(e);
2233
2364
  };
2234
- V(() => {
2235
- let e = x.current;
2365
+ B(() => {
2366
+ let e = S.current;
2236
2367
  e && (e.scrollTop = e.scrollHeight);
2237
2368
  }, [n, r]);
2238
- let N = () => {
2239
- let e = ee.trim();
2240
- !e || r || !i || (i(e), b(""));
2241
- }, re = w ? h("assistant.collapse") : [h("assistant.open"), O > 0 ? h("assistant.unreadCount", { count: O }) : null].filter(Boolean).join(", ");
2242
- return /* @__PURE__ */ W("div", {
2369
+ let ne = () => {
2370
+ let e = b.trim();
2371
+ !e || r || !i || (i(e), x(""));
2372
+ }, F = E ? g("assistant.collapse") : [g("assistant.open"), A > 0 ? g("assistant.unreadCount", { count: A }) : null].filter(Boolean).join(", ");
2373
+ return /* @__PURE__ */ U("div", {
2243
2374
  className: [
2244
- p || _ ? "relative" : "fixed bottom-5 right-5 z-50",
2245
- _ ? "pointer-events-auto" : "",
2375
+ p || v ? "relative" : "fixed bottom-5 right-5 z-50",
2376
+ v ? "pointer-events-auto" : "",
2246
2377
  "flex flex-col",
2247
- w ? "w-[min(22.5rem,calc(100vw-2.5rem))] rounded-2xl border border-border bg-popover p-4 text-popover-foreground shadow-2xl" : "w-[8.25rem] items-end",
2248
- m ?? ""
2378
+ E ? "w-[min(22.5rem,calc(100vw-2.5rem))] rounded-2xl border border-border bg-popover p-4 text-popover-foreground shadow-2xl" : "w-[8.25rem] items-end",
2379
+ h ?? ""
2249
2380
  ].join(" "),
2250
2381
  onKeyDown: (e) => {
2251
- e.key === "Escape" && w && M(!1);
2382
+ e.key === "Escape" && E && P(!1);
2252
2383
  },
2253
2384
  children: [
2254
- /* @__PURE__ */ U("span", {
2385
+ /* @__PURE__ */ H("span", {
2255
2386
  role: "status",
2256
2387
  "aria-live": "polite",
2257
2388
  className: "sr-only",
2258
- children: A.text
2389
+ children: M.text
2259
2390
  }),
2260
- !w && D && /* @__PURE__ */ U(aa, {
2261
- text: D,
2391
+ !E && k && /* @__PURE__ */ H(ya, {
2392
+ text: k,
2393
+ still: m,
2262
2394
  className: "pointer-events-none absolute bottom-11 right-[7.75rem] w-max max-w-[min(23rem,calc(100vw-9rem))] text-right text-sm font-semibold leading-snug text-foreground drop-shadow-sm"
2263
- }, D),
2264
- /* @__PURE__ */ W("div", {
2395
+ }, k),
2396
+ /* @__PURE__ */ U("div", {
2265
2397
  className: "flex flex-none items-center gap-3",
2266
2398
  children: [
2267
- /* @__PURE__ */ W("button", {
2399
+ /* @__PURE__ */ U("button", {
2268
2400
  type: "button",
2269
- "aria-label": re,
2270
- "aria-expanded": w,
2271
- onClick: () => M(!w),
2401
+ "aria-label": F,
2402
+ "aria-expanded": E,
2403
+ onClick: () => P(!E),
2272
2404
  className: "relative flex-none rounded-full focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring",
2273
- children: [/* @__PURE__ */ U($i, {
2274
- state: E,
2275
- compact: !w,
2276
- unread: k,
2405
+ children: [/* @__PURE__ */ H(pa, {
2406
+ state: O,
2407
+ compact: !E,
2408
+ unread: j,
2277
2409
  activity: f,
2278
- size: w ? 76 : 132
2279
- }), !w && O > 0 && /* @__PURE__ */ U("span", {
2410
+ paused: m,
2411
+ size: E ? 76 : 132
2412
+ }), !E && A > 0 && /* @__PURE__ */ H("span", {
2280
2413
  "aria-hidden": "true",
2281
2414
  className: "absolute right-5 top-5 grid h-5 min-w-5 place-items-center rounded-full bg-primary px-1 text-[0.6875rem] font-semibold leading-none text-primary-foreground",
2282
- children: O
2415
+ children: A
2283
2416
  })]
2284
2417
  }),
2285
- w && /* @__PURE__ */ W("div", {
2418
+ E && /* @__PURE__ */ U("div", {
2286
2419
  className: "flex min-w-0 flex-1 flex-col gap-0.5",
2287
2420
  children: [
2288
- /* @__PURE__ */ U("span", {
2421
+ /* @__PURE__ */ H("span", {
2289
2422
  className: "text-xs text-muted-foreground",
2290
- children: h("assistant.state")
2423
+ children: g("assistant.state")
2291
2424
  }),
2292
- /* @__PURE__ */ U("span", {
2293
- className: `text-sm font-semibold ${ta[E]}`,
2294
- children: h(ea[E])
2425
+ /* @__PURE__ */ H("span", {
2426
+ className: `text-sm font-semibold ${ha[O]}`,
2427
+ children: g(ma[O])
2295
2428
  }),
2296
- D && /* @__PURE__ */ U(aa, {
2297
- text: D,
2429
+ k && /* @__PURE__ */ H(ya, {
2430
+ text: k,
2431
+ still: m,
2298
2432
  className: "text-xs leading-snug text-muted-foreground"
2299
- }, D)
2433
+ }, k)
2300
2434
  ]
2301
2435
  }),
2302
- w && /* @__PURE__ */ U(R, {
2436
+ E && /* @__PURE__ */ H(R, {
2303
2437
  variant: "ghost",
2304
2438
  size: "sm",
2305
2439
  className: "flex-none self-start",
2306
- onClick: () => M(!1),
2307
- children: h("assistant.collapseAction")
2440
+ onClick: () => P(!1),
2441
+ children: g("assistant.collapseAction")
2308
2442
  })
2309
2443
  ]
2310
2444
  }),
2311
- w && (T || te.length > 0) && /* @__PURE__ */ W("div", {
2312
- ref: x,
2445
+ E && (D || w.length > 0) && /* @__PURE__ */ U("div", {
2446
+ ref: S,
2313
2447
  role: "log",
2314
- "aria-label": h("assistant.transcript"),
2448
+ "aria-label": g("assistant.transcript"),
2315
2449
  "aria-busy": r,
2316
2450
  className: "mt-3 flex max-h-96 min-h-32 flex-1 flex-col gap-2.5 overflow-y-auto pr-1",
2317
2451
  children: [
2318
- S.length === 0 && !r && /* @__PURE__ */ U("p", {
2452
+ C.length === 0 && !r && /* @__PURE__ */ H("p", {
2319
2453
  className: "m-auto max-w-52 text-center text-xs leading-relaxed text-muted-foreground",
2320
- children: h("assistant.empty")
2454
+ children: g("assistant.empty")
2321
2455
  }),
2322
- S.map((e, t) => ra(e) ? /* @__PURE__ */ W("div", {
2456
+ C.map((e, t) => _a(e) ? /* @__PURE__ */ U("div", {
2323
2457
  "data-kind": "report",
2324
2458
  className: `w-full rounded-lg border px-3 py-2 text-sm ${e.read ? "border-border/60" : "border-border bg-muted/50"}`,
2325
2459
  children: [
2326
- /* @__PURE__ */ W("div", {
2460
+ /* @__PURE__ */ U("div", {
2327
2461
  className: "flex items-center gap-2 text-xs",
2328
2462
  children: [
2329
- /* @__PURE__ */ U("span", {
2463
+ /* @__PURE__ */ H("span", {
2330
2464
  "aria-hidden": "true",
2331
- className: `size-2 flex-none rounded-full bg-current ${ta[e.tone]}`
2465
+ className: `size-2 flex-none rounded-full bg-current ${ha[e.tone]}`
2332
2466
  }),
2333
- /* @__PURE__ */ U("span", {
2467
+ /* @__PURE__ */ H("span", {
2334
2468
  className: "font-semibold",
2335
- children: h(ea[e.tone])
2469
+ children: g(ma[e.tone])
2336
2470
  }),
2337
- /* @__PURE__ */ U(oa, {
2471
+ /* @__PURE__ */ H(ba, {
2338
2472
  at: e.at,
2339
- locale: g?.resolvedLanguage
2473
+ locale: _?.resolvedLanguage
2340
2474
  }),
2341
- !e.read && /* @__PURE__ */ U("span", {
2475
+ !e.read && /* @__PURE__ */ H("span", {
2342
2476
  className: "rounded-full border border-border px-1.5 leading-4",
2343
- children: h("assistant.new")
2477
+ children: g("assistant.new")
2344
2478
  }),
2345
- d && /* @__PURE__ */ U(R, {
2479
+ d && /* @__PURE__ */ H(R, {
2346
2480
  variant: "ghost",
2347
2481
  size: "icon",
2348
2482
  className: "ml-auto size-6",
2349
- "aria-label": h("assistant.dismiss"),
2483
+ "aria-label": g("assistant.dismiss"),
2350
2484
  onClick: () => d(e.id),
2351
- children: /* @__PURE__ */ U(nt, {
2485
+ children: /* @__PURE__ */ H(dt, {
2352
2486
  "aria-hidden": "true",
2353
2487
  size: 14
2354
2488
  })
2355
2489
  })
2356
2490
  ]
2357
2491
  }),
2358
- /* @__PURE__ */ U("p", {
2492
+ /* @__PURE__ */ H("p", {
2359
2493
  className: "m-0 mt-1 whitespace-pre-wrap leading-snug",
2360
2494
  children: e.text
2361
2495
  }),
2362
- e.actions && e.actions.length > 0 && /* @__PURE__ */ U("div", {
2496
+ e.actions && e.actions.length > 0 && /* @__PURE__ */ H("div", {
2363
2497
  className: "mt-2 flex flex-wrap gap-2",
2364
- children: e.actions.slice(0, na).map((e) => /* @__PURE__ */ U(R, {
2498
+ children: e.actions.slice(0, ga).map((e) => /* @__PURE__ */ H(R, {
2365
2499
  variant: "outline",
2366
2500
  size: "sm",
2367
2501
  onClick: e.onSelect,
@@ -2369,13 +2503,13 @@ function sa({ state: e, caption: t, messages: n, busy: r = !1, onSend: i, open:
2369
2503
  }, e.label))
2370
2504
  })
2371
2505
  ]
2372
- }, e.id) : /* @__PURE__ */ W("div", {
2506
+ }, e.id) : /* @__PURE__ */ U("div", {
2373
2507
  "data-kind": e.role,
2374
2508
  className: e.role === "user" ? "max-w-[92%] self-end rounded-xl rounded-br-sm bg-accent px-3 py-2 text-sm text-accent-foreground" : "max-w-[92%] self-start rounded-xl rounded-bl-sm border border-border px-3 py-2 text-sm",
2375
- children: [/* @__PURE__ */ U("p", {
2509
+ children: [/* @__PURE__ */ H("p", {
2376
2510
  className: "m-0 whitespace-pre-wrap leading-snug",
2377
2511
  children: e.text
2378
- }), e.action && /* @__PURE__ */ U(R, {
2512
+ }), e.action && /* @__PURE__ */ H(R, {
2379
2513
  variant: "link",
2380
2514
  size: "sm",
2381
2515
  className: "mt-1 h-auto whitespace-normal p-0 text-left",
@@ -2383,28 +2517,28 @@ function sa({ state: e, caption: t, messages: n, busy: r = !1, onSend: i, open:
2383
2517
  children: e.action.label
2384
2518
  })]
2385
2519
  }, e.id ?? t)),
2386
- r && /* @__PURE__ */ U("p", {
2520
+ r && /* @__PURE__ */ H("p", {
2387
2521
  className: "m-0 self-start px-3 py-2 text-sm text-muted-foreground",
2388
- children: h("assistant.thinking")
2522
+ children: g("assistant.thinking")
2389
2523
  })
2390
2524
  ]
2391
2525
  }),
2392
- w && T && /* @__PURE__ */ W("div", {
2526
+ E && D && /* @__PURE__ */ U("div", {
2393
2527
  className: "mt-3 flex flex-none gap-2",
2394
- children: [/* @__PURE__ */ U(s, {
2395
- value: ee,
2528
+ children: [/* @__PURE__ */ H(s, {
2529
+ value: b,
2396
2530
  disabled: r,
2397
- placeholder: h("assistant.placeholder"),
2398
- "aria-label": h("assistant.placeholder"),
2399
- onChange: (e) => b(e.target.value),
2531
+ placeholder: g("assistant.placeholder"),
2532
+ "aria-label": g("assistant.placeholder"),
2533
+ onChange: (e) => x(e.target.value),
2400
2534
  onKeyDown: (e) => {
2401
- e.key === "Enter" && (e.preventDefault(), N());
2535
+ e.key === "Enter" && (e.preventDefault(), ne());
2402
2536
  }
2403
- }), /* @__PURE__ */ U(R, {
2537
+ }), /* @__PURE__ */ H(R, {
2404
2538
  variant: "outline",
2405
- disabled: r || ee.trim().length === 0,
2406
- onClick: N,
2407
- children: h("assistant.send")
2539
+ disabled: r || b.trim().length === 0,
2540
+ onClick: ne,
2541
+ children: g("assistant.send")
2408
2542
  })]
2409
2543
  })
2410
2544
  ]
@@ -2412,15 +2546,15 @@ function sa({ state: e, caption: t, messages: n, busy: r = !1, onSend: i, open:
2412
2546
  }
2413
2547
  //#endregion
2414
2548
  //#region src/components/ui/user-menu.tsx
2415
- function ca({ user: e, onAccount: t, onSignOut: n, extraItems: i, className: a, align: o = "end" }) {
2416
- let { t: s } = G(), c = `${e.firstName ?? ""} ${e.lastName ?? ""}`.trim() || e.username || "";
2417
- return /* @__PURE__ */ W(w, { children: [/* @__PURE__ */ U(A, {
2549
+ function Sa({ user: e, onAccount: t, onSignOut: n, extraItems: i, className: a, align: o = "end" }) {
2550
+ let { t: s } = W(), c = `${e.firstName ?? ""} ${e.lastName ?? ""}`.trim() || e.username || "";
2551
+ return /* @__PURE__ */ U(be, { children: [/* @__PURE__ */ H(k, {
2418
2552
  asChild: !0,
2419
- children: /* @__PURE__ */ U("button", {
2553
+ children: /* @__PURE__ */ H("button", {
2420
2554
  type: "button",
2421
2555
  title: c || e.username,
2422
2556
  className: r("cursor-pointer rounded-full outline-none focus-visible:ring-2 focus-visible:ring-ring", a),
2423
- children: /* @__PURE__ */ U(se, {
2557
+ children: /* @__PURE__ */ H(pe, {
2424
2558
  givenName: e.firstName,
2425
2559
  familyName: e.lastName,
2426
2560
  name: c || e.username,
@@ -2429,52 +2563,52 @@ function ca({ user: e, onAccount: t, onSignOut: n, extraItems: i, className: a,
2429
2563
  className: "hover:ring-2 hover:ring-border transition-all"
2430
2564
  })
2431
2565
  })
2432
- }), /* @__PURE__ */ W(F, {
2566
+ }), /* @__PURE__ */ U(F, {
2433
2567
  className: "min-w-56 rounded-lg",
2434
2568
  align: o,
2435
2569
  sideOffset: 8,
2436
2570
  children: [
2437
- /* @__PURE__ */ U(N, {
2571
+ /* @__PURE__ */ H(j, {
2438
2572
  className: "p-0 font-normal",
2439
- children: /* @__PURE__ */ W("div", {
2573
+ children: /* @__PURE__ */ U("div", {
2440
2574
  className: "flex items-center gap-2 px-1 py-1.5 text-left text-sm",
2441
- children: [/* @__PURE__ */ U(se, {
2575
+ children: [/* @__PURE__ */ H(pe, {
2442
2576
  givenName: e.firstName,
2443
2577
  familyName: e.lastName,
2444
2578
  name: c || e.username,
2445
2579
  src: e.avatarUrl || void 0,
2446
2580
  alt: e.username
2447
- }), /* @__PURE__ */ W("div", {
2581
+ }), /* @__PURE__ */ U("div", {
2448
2582
  className: "grid flex-1 text-left text-sm leading-tight",
2449
- children: [c && /* @__PURE__ */ U("span", {
2583
+ children: [c && /* @__PURE__ */ H("span", {
2450
2584
  className: "truncate font-medium",
2451
2585
  children: c
2452
- }), e.email && /* @__PURE__ */ U("span", {
2586
+ }), e.email && /* @__PURE__ */ H("span", {
2453
2587
  className: "text-muted-foreground truncate text-xs",
2454
2588
  children: e.email
2455
2589
  })]
2456
2590
  })]
2457
2591
  })
2458
2592
  }),
2459
- /* @__PURE__ */ U(j, {}),
2460
- /* @__PURE__ */ W(E, { children: [t && /* @__PURE__ */ W(T, {
2593
+ /* @__PURE__ */ H(T, {}),
2594
+ /* @__PURE__ */ U(ie, { children: [t && /* @__PURE__ */ U(O, {
2461
2595
  onSelect: t,
2462
2596
  className: "cursor-pointer",
2463
- children: [/* @__PURE__ */ U(tt, {}), s("nav.account")]
2597
+ children: [/* @__PURE__ */ H(ut, {}), s("nav.account")]
2464
2598
  }), i] }),
2465
- (t || i) && /* @__PURE__ */ U(j, {}),
2466
- n && /* @__PURE__ */ W(T, {
2599
+ (t || i) && /* @__PURE__ */ H(T, {}),
2600
+ n && /* @__PURE__ */ U(O, {
2467
2601
  onSelect: n,
2468
2602
  className: "cursor-pointer text-red-500 focus:text-red-500 focus:bg-red-50 dark:focus:bg-red-950",
2469
- children: [/* @__PURE__ */ U(Qe, {}), s("nav.logOut")]
2603
+ children: [/* @__PURE__ */ H(st, {}), s("nav.logOut")]
2470
2604
  })
2471
2605
  ]
2472
2606
  })] });
2473
2607
  }
2474
2608
  //#endregion
2475
2609
  //#region src/components/login/login.tsx
2476
- var la = Me({});
2477
- function ua(e) {
2610
+ var Ca = Ve({});
2611
+ function wa(e) {
2478
2612
  if (!e) return null;
2479
2613
  let t = /^#([0-9a-f])([0-9a-f])([0-9a-f])$/i.exec(e.trim());
2480
2614
  if (t) {
@@ -2488,18 +2622,18 @@ function ua(e) {
2488
2622
  }
2489
2623
  return null;
2490
2624
  }
2491
- function da({ color: e, colorDark: t, children: n, className: i, style: a, ...o }) {
2625
+ function Ta({ color: e, colorDark: t, children: n, className: i, style: a, ...o }) {
2492
2626
  let s = {};
2493
2627
  e && (s["--ff-color"] = e), t ? s["--ff-color-dark"] = t : e && (s["--ff-color-dark"] = e);
2494
- let c = ua(e);
2628
+ let c = wa(e);
2495
2629
  c && (s["--ff-color-rgb"] = c);
2496
- let l = ua(t) ?? c;
2497
- return l && (s["--ff-color-dark-rgb"] = l), /* @__PURE__ */ U(la.Provider, {
2630
+ let l = wa(t) ?? c;
2631
+ return l && (s["--ff-color-dark-rgb"] = l), /* @__PURE__ */ H(Ca.Provider, {
2498
2632
  value: {
2499
2633
  color: e,
2500
2634
  colorDark: t
2501
2635
  },
2502
- children: /* @__PURE__ */ U("div", {
2636
+ children: /* @__PURE__ */ H("div", {
2503
2637
  className: r("vig-login relative min-h-svh flex items-center justify-center overflow-hidden bg-slate-50 dark:bg-slate-900", i),
2504
2638
  style: {
2505
2639
  ...a ?? {},
@@ -2510,108 +2644,108 @@ function da({ color: e, colorDark: t, children: n, className: i, style: a, ...o
2510
2644
  })
2511
2645
  });
2512
2646
  }
2513
- function fa(e) {
2514
- let { color: t, colorDark: n } = Pe(la);
2515
- return /* @__PURE__ */ U(De, {
2647
+ function Ea(e) {
2648
+ let { color: t, colorDark: n } = Ue(Ca);
2649
+ return /* @__PURE__ */ H(Fe, {
2516
2650
  color: t,
2517
2651
  colorDark: n,
2518
2652
  ...e
2519
2653
  });
2520
2654
  }
2521
- function pa({ children: e, className: t, ...n }) {
2522
- return /* @__PURE__ */ U("div", {
2655
+ function Da({ children: e, className: t, ...n }) {
2656
+ return /* @__PURE__ */ H("div", {
2523
2657
  className: r("absolute top-4 right-4 z-30 flex items-center gap-2", t),
2524
2658
  ...n,
2525
2659
  children: e
2526
2660
  });
2527
2661
  }
2528
- function ma({ children: e, className: t, ...n }) {
2529
- return /* @__PURE__ */ U("div", {
2662
+ function Oa({ children: e, className: t, ...n }) {
2663
+ return /* @__PURE__ */ H("div", {
2530
2664
  className: r("relative z-20 flex flex-col items-center w-full max-w-md px-6 py-4", t),
2531
2665
  ...n,
2532
2666
  children: e
2533
2667
  });
2534
2668
  }
2535
- function ha({ children: e, pulsePaused: t, className: n, ...i }) {
2536
- return /* @__PURE__ */ U("div", {
2669
+ function ka({ children: e, pulsePaused: t, className: n, ...i }) {
2670
+ return /* @__PURE__ */ H("div", {
2537
2671
  className: r("vig-login__fade-in mb-3", n),
2538
2672
  ...i,
2539
- children: /* @__PURE__ */ U(Pn, {
2673
+ children: /* @__PURE__ */ H(Zn, {
2540
2674
  paused: t,
2541
- children: /* @__PURE__ */ U("div", {
2675
+ children: /* @__PURE__ */ H("div", {
2542
2676
  className: "flex h-16 w-16 items-center justify-center rounded-2xl bg-white/80 dark:bg-slate-800/80 backdrop-blur-sm shadow-lg ring-1 ring-[rgba(var(--ff-color-rgb,37,99,235),0.2)] dark:ring-[rgba(var(--ff-color-dark-rgb,96,165,250),0.2)]",
2543
2677
  children: e
2544
2678
  })
2545
2679
  })
2546
2680
  });
2547
2681
  }
2548
- function ga({ children: e, className: t, ...n }) {
2549
- return /* @__PURE__ */ U("div", {
2682
+ function Aa({ children: e, className: t, ...n }) {
2683
+ return /* @__PURE__ */ H("div", {
2550
2684
  className: "vig-login__fade-in-d1 text-center mb-1",
2551
- children: /* @__PURE__ */ U("h1", {
2685
+ children: /* @__PURE__ */ H("h1", {
2552
2686
  className: r("text-2xl font-bold tracking-tight bg-clip-text text-transparent vig-login__title-gradient", t),
2553
2687
  ...n,
2554
2688
  children: e
2555
2689
  })
2556
2690
  });
2557
2691
  }
2558
- function _a({ children: e, className: t, ...n }) {
2559
- return /* @__PURE__ */ U("div", {
2692
+ function ja({ children: e, className: t, ...n }) {
2693
+ return /* @__PURE__ */ H("div", {
2560
2694
  className: "vig-login__fade-in-d1 text-center mb-4",
2561
- children: /* @__PURE__ */ U("p", {
2695
+ children: /* @__PURE__ */ H("p", {
2562
2696
  className: r("text-sm text-slate-500 dark:text-slate-400 max-w-xs leading-relaxed", t),
2563
2697
  ...n,
2564
2698
  children: e
2565
2699
  })
2566
2700
  });
2567
2701
  }
2568
- function va({ children: e, className: t, ...n }) {
2569
- return /* @__PURE__ */ U("div", {
2702
+ function Ma({ children: e, className: t, ...n }) {
2703
+ return /* @__PURE__ */ H("div", {
2570
2704
  className: r("vig-login__fade-in-d2 flex flex-wrap justify-center gap-2 mb-5", t),
2571
2705
  ...n,
2572
2706
  children: e
2573
2707
  });
2574
2708
  }
2575
- function ya({ icon: e, children: t, className: n, ...i }) {
2576
- return /* @__PURE__ */ W("div", {
2709
+ function Na({ icon: e, children: t, className: n, ...i }) {
2710
+ return /* @__PURE__ */ U("div", {
2577
2711
  className: r("vig-login__feature-pill flex items-center gap-1.5 rounded-full px-3 py-1", n),
2578
2712
  ...i,
2579
- children: [e, /* @__PURE__ */ U("span", {
2713
+ children: [e, /* @__PURE__ */ H("span", {
2580
2714
  className: "text-xs font-medium text-slate-600 dark:text-slate-300",
2581
2715
  children: t
2582
2716
  })]
2583
2717
  });
2584
2718
  }
2585
- function ba({ children: e, className: t, ...n }) {
2586
- return /* @__PURE__ */ U("div", {
2719
+ function Pa({ children: e, className: t, ...n }) {
2720
+ return /* @__PURE__ */ H("div", {
2587
2721
  className: r("vig-login__fade-in-d3 w-full", t),
2588
2722
  ...n,
2589
- children: /* @__PURE__ */ U(Nn, { children: e })
2723
+ children: /* @__PURE__ */ H(Xn, { children: e })
2590
2724
  });
2591
2725
  }
2592
- function xa({ children: e, className: t, ...n }) {
2593
- return /* @__PURE__ */ U("div", {
2726
+ function Fa({ children: e, className: t, ...n }) {
2727
+ return /* @__PURE__ */ H("div", {
2594
2728
  className: "vig-login__fade-in-d3 mt-4 text-center",
2595
- children: /* @__PURE__ */ U("p", {
2729
+ children: /* @__PURE__ */ H("p", {
2596
2730
  className: r("text-xs text-slate-400 dark:text-slate-500", t),
2597
2731
  ...n,
2598
2732
  children: e
2599
2733
  })
2600
2734
  });
2601
2735
  }
2602
- var Sa = Object.assign(da, {
2603
- Background: fa,
2604
- Settings: pa,
2605
- Content: ma,
2606
- Logo: ha,
2607
- Title: ga,
2608
- Tagline: _a,
2609
- Features: va,
2610
- FeaturePill: ya,
2611
- Card: ba,
2612
- Footer: xa
2613
- }), Ca = Me({});
2614
- function wa(e) {
2736
+ var Ia = Object.assign(Ta, {
2737
+ Background: Ea,
2738
+ Settings: Da,
2739
+ Content: Oa,
2740
+ Logo: ka,
2741
+ Title: Aa,
2742
+ Tagline: ja,
2743
+ Features: Ma,
2744
+ FeaturePill: Na,
2745
+ Card: Pa,
2746
+ Footer: Fa
2747
+ }), La = Ve({});
2748
+ function Ra(e) {
2615
2749
  if (!e) return null;
2616
2750
  let t = /^#([0-9a-f])([0-9a-f])([0-9a-f])$/i.exec(e.trim());
2617
2751
  if (t) {
@@ -2625,18 +2759,18 @@ function wa(e) {
2625
2759
  }
2626
2760
  return null;
2627
2761
  }
2628
- function Ta({ color: e, colorDark: t, children: n, className: i, style: a, ...o }) {
2762
+ function za({ color: e, colorDark: t, children: n, className: i, style: a, ...o }) {
2629
2763
  let s = {};
2630
2764
  e && (s["--ff-color"] = e), t ? s["--ff-color-dark"] = t : e && (s["--ff-color-dark"] = e);
2631
- let c = wa(e);
2765
+ let c = Ra(e);
2632
2766
  c && (s["--ff-color-rgb"] = c);
2633
- let l = wa(t) ?? c;
2634
- return l && (s["--ff-color-dark-rgb"] = l), /* @__PURE__ */ U(Ca.Provider, {
2767
+ let l = Ra(t) ?? c;
2768
+ return l && (s["--ff-color-dark-rgb"] = l), /* @__PURE__ */ H(La.Provider, {
2635
2769
  value: {
2636
2770
  color: e,
2637
2771
  colorDark: t
2638
2772
  },
2639
- children: /* @__PURE__ */ U("div", {
2773
+ children: /* @__PURE__ */ H("div", {
2640
2774
  className: r("vig-sf relative min-h-svh flex items-center justify-center overflow-hidden bg-slate-50 dark:bg-slate-950", i),
2641
2775
  style: {
2642
2776
  ...a ?? {},
@@ -2647,24 +2781,24 @@ function Ta({ color: e, colorDark: t, children: n, className: i, style: a, ...o
2647
2781
  })
2648
2782
  });
2649
2783
  }
2650
- function Ea(e) {
2651
- let { color: t, colorDark: n } = Pe(Ca);
2652
- return /* @__PURE__ */ U(De, {
2784
+ function Ba(e) {
2785
+ let { color: t, colorDark: n } = Ue(La);
2786
+ return /* @__PURE__ */ H(Fe, {
2653
2787
  color: t,
2654
2788
  colorDark: n,
2655
2789
  ...e
2656
2790
  });
2657
2791
  }
2658
- function Da({ children: e, className: t, ...n }) {
2659
- return /* @__PURE__ */ U("div", {
2792
+ function Va({ children: e, className: t, ...n }) {
2793
+ return /* @__PURE__ */ H("div", {
2660
2794
  className: r("relative z-20 flex flex-col items-center w-full max-w-lg px-6 py-6", t),
2661
2795
  ...n,
2662
2796
  children: e
2663
2797
  });
2664
2798
  }
2665
- function Oa({ current: e, total: t, className: n, ...i }) {
2666
- let { t: a } = G();
2667
- return /* @__PURE__ */ U("div", {
2799
+ function Ha({ current: e, total: t, className: n, ...i }) {
2800
+ let { t: a } = W();
2801
+ return /* @__PURE__ */ H("div", {
2668
2802
  className: r("vig-sf__fade-in flex items-center gap-2 mb-4", n),
2669
2803
  role: "group",
2670
2804
  "aria-label": a("common.stepOf", {
@@ -2673,20 +2807,20 @@ function Oa({ current: e, total: t, className: n, ...i }) {
2673
2807
  defaultValue: "Step {{index}} of {{count}}"
2674
2808
  }),
2675
2809
  ...i,
2676
- children: Array.from({ length: t }, (t, n) => /* @__PURE__ */ U("span", {
2810
+ children: Array.from({ length: t }, (t, n) => /* @__PURE__ */ H("span", {
2677
2811
  className: n + 1 <= e ? "vig-sf__step vig-sf__step--active" : "vig-sf__step",
2678
2812
  "aria-current": n + 1 === e ? "step" : void 0
2679
2813
  }, `step-${n + 1}`))
2680
2814
  });
2681
2815
  }
2682
- function ka({ children: e, pulsePaused: t, size: n = 80, className: i, style: a, ...o }) {
2683
- return /* @__PURE__ */ U("div", {
2816
+ function Ua({ children: e, pulsePaused: t, size: n = 80, className: i, style: a, ...o }) {
2817
+ return /* @__PURE__ */ H("div", {
2684
2818
  className: r("vig-sf__fade-in mb-4", i),
2685
2819
  style: a,
2686
2820
  ...o,
2687
- children: /* @__PURE__ */ U(Pn, {
2821
+ children: /* @__PURE__ */ H(Zn, {
2688
2822
  paused: t,
2689
- children: /* @__PURE__ */ U("div", {
2823
+ children: /* @__PURE__ */ H("div", {
2690
2824
  className: "flex items-center justify-center rounded-3xl bg-white/80 dark:bg-slate-800/80 backdrop-blur-sm shadow-xl ring-1 ring-[rgba(var(--ff-color-rgb,37,99,235),0.2)] dark:ring-[rgba(var(--ff-color-dark-rgb,96,165,250),0.2)]",
2691
2825
  style: {
2692
2826
  width: n,
@@ -2697,90 +2831,91 @@ function ka({ children: e, pulsePaused: t, size: n = 80, className: i, style: a,
2697
2831
  })
2698
2832
  });
2699
2833
  }
2700
- function Aa({ children: e, className: t, ...n }) {
2701
- return /* @__PURE__ */ U("div", {
2834
+ function Wa({ children: e, className: t, ...n }) {
2835
+ return /* @__PURE__ */ H("div", {
2702
2836
  className: "vig-sf__fade-in-d1 text-center mb-2",
2703
- children: /* @__PURE__ */ U("h1", {
2837
+ children: /* @__PURE__ */ H("h1", {
2704
2838
  className: r("text-3xl font-bold tracking-tight bg-clip-text text-transparent vig-sf__title-gradient", t),
2705
2839
  ...n,
2706
2840
  children: e
2707
2841
  })
2708
2842
  });
2709
2843
  }
2710
- function ja({ children: e, className: t, ...n }) {
2711
- return /* @__PURE__ */ U("div", {
2844
+ function Ga({ children: e, className: t, ...n }) {
2845
+ return /* @__PURE__ */ H("div", {
2712
2846
  className: "vig-sf__fade-in-d1 text-center mb-5",
2713
- children: /* @__PURE__ */ U("p", {
2847
+ children: /* @__PURE__ */ H("p", {
2714
2848
  className: r("text-sm text-slate-500 dark:text-slate-400 max-w-md leading-relaxed", t),
2715
2849
  ...n,
2716
2850
  children: e
2717
2851
  })
2718
2852
  });
2719
2853
  }
2720
- function Ma({ children: e, className: t, ...n }) {
2721
- return /* @__PURE__ */ U("div", {
2854
+ function Ka({ children: e, className: t, ...n }) {
2855
+ return /* @__PURE__ */ H("div", {
2722
2856
  className: r("vig-sf__fade-in-d2 w-full", t),
2723
2857
  ...n,
2724
- children: /* @__PURE__ */ U(Nn, { children: e })
2858
+ children: /* @__PURE__ */ H(Xn, { children: e })
2725
2859
  });
2726
2860
  }
2727
- function Na({ children: e, className: t, ...n }) {
2728
- return /* @__PURE__ */ U("div", {
2861
+ function qa({ children: e, className: t, ...n }) {
2862
+ return /* @__PURE__ */ H("div", {
2729
2863
  className: r("vig-sf__fade-in-d3 w-full mt-4 flex items-center justify-between gap-3", t),
2730
2864
  ...n,
2731
2865
  children: e
2732
2866
  });
2733
2867
  }
2734
- function Pa({ children: e, className: t, ...n }) {
2735
- return /* @__PURE__ */ U("div", {
2868
+ function Ja({ children: e, className: t, ...n }) {
2869
+ return /* @__PURE__ */ H("div", {
2736
2870
  className: "vig-sf__fade-in-d3 mt-6 text-center",
2737
- children: /* @__PURE__ */ U("p", {
2871
+ children: /* @__PURE__ */ H("p", {
2738
2872
  className: r("text-xs text-slate-400 dark:text-slate-500", t),
2739
2873
  ...n,
2740
2874
  children: e
2741
2875
  })
2742
2876
  });
2743
2877
  }
2744
- function Fa({ icon: e, children: t, className: n, ...i }) {
2745
- return /* @__PURE__ */ W("div", {
2878
+ function Ya({ icon: e, children: t, className: n, ...i }) {
2879
+ return /* @__PURE__ */ U("div", {
2746
2880
  className: r("vig-sf__hint flex items-start gap-2 rounded-lg px-3 py-2 text-xs text-slate-600 dark:text-slate-300", n),
2747
2881
  ...i,
2748
- children: [e, /* @__PURE__ */ U("span", { children: t })]
2749
- });
2750
- }
2751
- var Ia = Object.assign(Ta, {
2752
- Background: Ea,
2753
- Content: Da,
2754
- Steps: Oa,
2755
- Logo: ka,
2756
- Title: Aa,
2757
- Description: ja,
2758
- Card: Ma,
2759
- Actions: Na,
2760
- Footer: Pa,
2761
- Hint: Fa
2882
+ children: [e, /* @__PURE__ */ H("span", { children: t })]
2883
+ });
2884
+ }
2885
+ var Xa = Object.assign(za, {
2886
+ Background: Ba,
2887
+ Content: Va,
2888
+ Steps: Ha,
2889
+ Logo: Ua,
2890
+ Title: Wa,
2891
+ Description: Ga,
2892
+ Card: Ka,
2893
+ Actions: qa,
2894
+ Footer: Ja,
2895
+ Hint: Ya
2762
2896
  });
2763
2897
  //#endregion
2764
2898
  //#region src/components/app-footer.tsx
2765
- function La({ logo: e, productName: t, version: n, links: r = [] }) {
2766
- return /* @__PURE__ */ W("footer", {
2899
+ function Za({ logo: e, productName: t, version: n, links: r = [] }) {
2900
+ return /* @__PURE__ */ U("footer", {
2767
2901
  className: "mt-auto",
2768
- children: [/* @__PURE__ */ U("div", { className: "mx-6 border-t" }), /* @__PURE__ */ W("div", {
2902
+ children: [/* @__PURE__ */ H("div", { className: "mx-6 border-t" }), /* @__PURE__ */ U("div", {
2769
2903
  className: "px-6 py-3 flex items-center justify-center gap-2 flex-wrap",
2770
2904
  children: [
2771
2905
  e,
2772
- /* @__PURE__ */ W("span", {
2773
- className: "text-xs text-muted-foreground/70",
2906
+ /* @__PURE__ */ U("span", {
2907
+ className: "text-xs text-muted-foreground",
2774
2908
  children: [t, n ? ` ${n}` : ""]
2775
2909
  }),
2776
- r.map((e) => /* @__PURE__ */ W(je.Fragment, { children: [/* @__PURE__ */ U("span", {
2910
+ r.map((e) => /* @__PURE__ */ U(Be.Fragment, { children: [/* @__PURE__ */ H("span", {
2911
+ "aria-hidden": "true",
2777
2912
  className: "text-xs text-muted-foreground/40",
2778
2913
  children: "·"
2779
- }), /* @__PURE__ */ U("a", {
2914
+ }), /* @__PURE__ */ H("a", {
2780
2915
  href: e.href,
2781
2916
  target: "_blank",
2782
2917
  rel: "noopener noreferrer",
2783
- className: "text-[11px] text-muted-foreground/50 hover:text-muted-foreground transition-colors",
2918
+ className: "text-[11px] text-muted-foreground hover:text-foreground transition-colors",
2784
2919
  children: e.label
2785
2920
  })] }, e.label))
2786
2921
  ]
@@ -2789,32 +2924,32 @@ function La({ logo: e, productName: t, version: n, links: r = [] }) {
2789
2924
  }
2790
2925
  //#endregion
2791
2926
  //#region src/components/app-switcher.tsx
2792
- function Ra({ open: e, onToggle: t, apps: n, triggerTitle: r, closeLabel: i, showTrigger: a = !0, headerHeight: o = 56 }) {
2793
- let { t: s } = G(), c = r ?? s("common.apps"), l = i ?? s("common.closeAppSwitcher"), u = {
2927
+ function Qa({ open: e, onToggle: t, apps: n, triggerTitle: r, closeLabel: i, showTrigger: a = !0, headerHeight: o = 56 }) {
2928
+ let { t: s } = W(), c = r ?? s("common.apps"), l = i ?? s("common.closeAppSwitcher"), u = {
2794
2929
  top: `${o}px`,
2795
2930
  height: `calc(100vh - ${o}px)`
2796
2931
  };
2797
- return /* @__PURE__ */ W(Le, { children: [
2798
- a && /* @__PURE__ */ U("button", {
2932
+ return /* @__PURE__ */ U(Ke, { children: [
2933
+ a && /* @__PURE__ */ H("button", {
2799
2934
  type: "button",
2800
2935
  title: c,
2801
2936
  onClick: t,
2802
2937
  className: `inline-flex items-center justify-center rounded-full w-9 h-9 transition-colors ${e ? "text-foreground bg-accent" : "text-muted-foreground hover:text-foreground hover:bg-accent"}`,
2803
- children: /* @__PURE__ */ U(At, { className: "h-5 w-5" })
2938
+ children: /* @__PURE__ */ H(Ht, { className: "h-5 w-5" })
2804
2939
  }),
2805
- e && /* @__PURE__ */ U("button", {
2940
+ e && /* @__PURE__ */ H("button", {
2806
2941
  type: "button",
2807
2942
  className: "fixed inset-0 z-40 cursor-default bg-transparent border-none",
2808
2943
  onClick: t,
2809
2944
  onKeyDown: (e) => e.key === "Escape" && t(),
2810
2945
  "aria-label": l
2811
2946
  }),
2812
- e && /* @__PURE__ */ U("div", {
2947
+ e && /* @__PURE__ */ H("div", {
2813
2948
  className: "vg-app-switcher-panel fixed right-0 z-50 w-72 border-l border-border bg-card shadow-xl overflow-y-auto",
2814
2949
  style: u,
2815
- children: /* @__PURE__ */ U("div", {
2950
+ children: /* @__PURE__ */ H("div", {
2816
2951
  className: "p-4",
2817
- children: n.map((e) => /* @__PURE__ */ U(za, {
2952
+ children: n.map((e) => /* @__PURE__ */ H($a, {
2818
2953
  app: e,
2819
2954
  onToggle: t
2820
2955
  }, e.id))
@@ -2822,37 +2957,37 @@ function Ra({ open: e, onToggle: t, apps: n, triggerTitle: r, closeLabel: i, sho
2822
2957
  })
2823
2958
  ] });
2824
2959
  }
2825
- function za({ app: e, onToggle: t }) {
2826
- let { t: n } = G(), r = e.name.includes(".") ? n(e.name, { defaultValue: e.name }) : e.name;
2827
- return /* @__PURE__ */ W("a", {
2960
+ function $a({ app: e, onToggle: t }) {
2961
+ let { t: n } = W(), r = e.name.includes(".") ? n(e.name, { defaultValue: e.name }) : e.name;
2962
+ return /* @__PURE__ */ U("a", {
2828
2963
  href: e.href,
2829
2964
  target: e.external ? "_blank" : void 0,
2830
2965
  rel: e.external ? "noopener noreferrer" : void 0,
2831
2966
  onClick: t,
2832
2967
  className: `flex items-center gap-3 px-3 py-2.5 rounded-lg transition-colors ${e.active ? "bg-accent font-medium" : "hover:bg-accent"}`,
2833
2968
  children: [
2834
- e.active && /* @__PURE__ */ U(O, { className: "h-4 w-4 text-[var(--vg-brand,#C2410C)] shrink-0" }),
2835
- e.image ? /* @__PURE__ */ U("img", {
2969
+ e.active && /* @__PURE__ */ H(de, { className: "h-4 w-4 text-[var(--vg-brand,#C2410C)] shrink-0" }),
2970
+ e.image ? /* @__PURE__ */ H("img", {
2836
2971
  src: e.image,
2837
2972
  alt: "",
2838
2973
  "aria-hidden": "true",
2839
2974
  className: `${e.active ? "" : "ml-7"} shrink-0 w-7 h-7 object-contain`
2840
- }) : /* @__PURE__ */ U("div", {
2975
+ }) : /* @__PURE__ */ H("div", {
2841
2976
  className: `${e.active ? "" : "ml-7"} shrink-0 w-7 h-7 rounded-[18%] bg-[#f5deb3] dark:bg-amber-900/40 p-0.5`,
2842
- children: /* @__PURE__ */ U("div", {
2977
+ children: /* @__PURE__ */ H("div", {
2843
2978
  className: `w-full h-full rounded-[14%] ${e.iconBg ?? "bg-muted"} flex items-center justify-center text-white`,
2844
2979
  children: e.icon
2845
2980
  })
2846
2981
  }),
2847
- /* @__PURE__ */ U("span", {
2982
+ /* @__PURE__ */ H("span", {
2848
2983
  className: "text-sm flex-1",
2849
2984
  children: r
2850
2985
  }),
2851
- e.external && /* @__PURE__ */ U(Dt, { className: "h-3.5 w-3.5 text-muted-foreground" })
2986
+ e.external && /* @__PURE__ */ H(Rt, { className: "h-3.5 w-3.5 text-muted-foreground" })
2852
2987
  ]
2853
2988
  });
2854
2989
  }
2855
- var Ba = new class {
2990
+ var eo = new class {
2856
2991
  status = "online";
2857
2992
  listeners = /* @__PURE__ */ new Set();
2858
2993
  get current() {
@@ -2867,30 +3002,30 @@ var Ba = new class {
2867
3002
  };
2868
3003
  }
2869
3004
  }();
2870
- function Va() {
2871
- Ba.set("offline");
3005
+ function to() {
3006
+ eo.set("offline");
2872
3007
  }
2873
- function Ha() {
2874
- Ba.set("online");
3008
+ function no() {
3009
+ eo.set("online");
2875
3010
  }
2876
- var Ua = Me(null);
2877
- function Wa() {
2878
- let e = Pe(Ua);
3011
+ var ro = Ve(null);
3012
+ function io() {
3013
+ let e = Ue(ro);
2879
3014
  if (!e) throw Error("useBackendStatus must be used inside <BackendStatusProvider>");
2880
3015
  return e;
2881
3016
  }
2882
- function Ga({ healthEndpoint: e = "/api/v2/ping", pollInterval: t = 5e3, showBanner: n = !0, children: r }) {
2883
- let [i, a] = Ie(Ba.current);
2884
- V(() => Ba.subscribe(a), []);
2885
- let o = Ne(async () => {
2886
- Ba.set("checking");
3017
+ function ao({ healthEndpoint: e = "/api/v2/ping", pollInterval: t = 5e3, showBanner: n = !0, children: r }) {
3018
+ let [i, a] = Ge(eo.current);
3019
+ B(() => eo.subscribe(a), []);
3020
+ let o = He(async () => {
3021
+ eo.set("checking");
2887
3022
  try {
2888
- await Y.get(e, { timeout: 4e3 }), Ba.set("online");
3023
+ await Y.get(e, { timeout: 4e3 }), eo.set("online");
2889
3024
  } catch {
2890
- Ba.set("offline");
3025
+ eo.set("offline");
2891
3026
  }
2892
3027
  }, [e]);
2893
- return V(() => {
3028
+ return B(() => {
2894
3029
  if (i === "online") return;
2895
3030
  let e = setInterval(o, t);
2896
3031
  return () => clearInterval(e);
@@ -2898,38 +3033,38 @@ function Ga({ healthEndpoint: e = "/api/v2/ping", pollInterval: t = 5e3, showBan
2898
3033
  i,
2899
3034
  t,
2900
3035
  o
2901
- ]), /* @__PURE__ */ W(Ua.Provider, {
3036
+ ]), /* @__PURE__ */ U(ro.Provider, {
2902
3037
  value: {
2903
3038
  status: i,
2904
3039
  retry: o
2905
3040
  },
2906
- children: [n && /* @__PURE__ */ U(Ka, {}), r]
3041
+ children: [n && /* @__PURE__ */ H(oo, {}), r]
2907
3042
  });
2908
3043
  }
2909
- function Ka() {
2910
- let { status: e, retry: t } = Wa(), { t: n } = G();
3044
+ function oo() {
3045
+ let { status: e, retry: t } = io(), { t: n } = W();
2911
3046
  if (e === "online") return null;
2912
3047
  let r = e === "checking";
2913
- return /* @__PURE__ */ U("div", {
3048
+ return /* @__PURE__ */ H("div", {
2914
3049
  role: "status",
2915
3050
  "aria-live": "polite",
2916
3051
  className: "sticky top-0 z-50 w-full border-b border-amber-500/30 bg-amber-500/10 backdrop-blur supports-[backdrop-filter]:bg-amber-500/15 text-amber-900 dark:text-amber-100",
2917
- children: /* @__PURE__ */ W("div", {
3052
+ children: /* @__PURE__ */ U("div", {
2918
3053
  className: "flex items-center gap-3 px-4 py-2 text-sm",
2919
3054
  children: [
2920
- r ? /* @__PURE__ */ U(Ze, { className: "size-4 animate-spin shrink-0" }) : /* @__PURE__ */ U(Ke, { className: "size-4 shrink-0" }),
2921
- /* @__PURE__ */ U("span", {
3055
+ r ? /* @__PURE__ */ H(ot, { className: "size-4 animate-spin shrink-0" }) : /* @__PURE__ */ H(tt, { className: "size-4 shrink-0" }),
3056
+ /* @__PURE__ */ H("span", {
2922
3057
  className: "flex-1",
2923
3058
  children: n(r ? "backendStatus.checking" : "backendStatus.offline", r ? "Reconnecting to the server..." : "Server unavailable. Retrying...")
2924
3059
  }),
2925
- /* @__PURE__ */ W(v, {
3060
+ /* @__PURE__ */ U(v, {
2926
3061
  type: "button",
2927
3062
  variant: "ghost",
2928
3063
  size: "sm",
2929
3064
  onClick: t,
2930
3065
  disabled: r,
2931
3066
  className: "text-amber-900 dark:text-amber-100 hover:bg-amber-500/20",
2932
- children: [/* @__PURE__ */ U($e, { className: `size-4 ${r ? "animate-spin" : ""}` }), n("backendStatus.retry", "Retry now")]
3067
+ children: [/* @__PURE__ */ H(ct, { className: `size-4 ${r ? "animate-spin" : ""}` }), n("backendStatus.retry", "Retry now")]
2933
3068
  })
2934
3069
  ]
2935
3070
  })
@@ -2937,7 +3072,7 @@ function Ka() {
2937
3072
  }
2938
3073
  //#endregion
2939
3074
  //#region src/components/error-boundary.tsx
2940
- var qa = class extends je.Component {
3075
+ var so = class extends Be.Component {
2941
3076
  state = { hasError: !1 };
2942
3077
  static getDerivedStateFromError(e) {
2943
3078
  return {
@@ -2960,49 +3095,49 @@ var qa = class extends je.Component {
2960
3095
  return this.props.fallback ? this.props.fallback({
2961
3096
  error: e,
2962
3097
  reset: this.reset
2963
- }) : /* @__PURE__ */ U(Ja, { error: e });
3098
+ }) : /* @__PURE__ */ H(co, { error: e });
2964
3099
  }
2965
3100
  };
2966
- function Ja({ error: e }) {
2967
- let { t } = G();
2968
- return /* @__PURE__ */ U("div", {
3101
+ function co({ error: e }) {
3102
+ let { t } = W();
3103
+ return /* @__PURE__ */ H("div", {
2969
3104
  className: "flex items-center justify-center min-h-[80vh] px-6 py-16",
2970
- children: /* @__PURE__ */ U("div", {
3105
+ children: /* @__PURE__ */ H("div", {
2971
3106
  className: "relative w-full max-w-md overflow-hidden rounded-2xl border border-border/50 bg-card/80 backdrop-blur-sm shadow-xl",
2972
- children: /* @__PURE__ */ W("div", {
3107
+ children: /* @__PURE__ */ U("div", {
2973
3108
  className: "relative flex flex-col items-center text-center px-8 py-12 space-y-6",
2974
3109
  children: [
2975
- /* @__PURE__ */ W("div", {
3110
+ /* @__PURE__ */ U("div", {
2976
3111
  className: "relative",
2977
- children: [/* @__PURE__ */ U("div", { className: "absolute inset-0 rounded-2xl bg-gradient-to-br from-red-500/20 to-rose-500/20 blur-xl animate-pulse" }), /* @__PURE__ */ U("div", {
3112
+ children: [/* @__PURE__ */ H("div", { className: "absolute inset-0 rounded-2xl bg-gradient-to-br from-red-500/20 to-rose-500/20 blur-xl animate-pulse" }), /* @__PURE__ */ H("div", {
2978
3113
  className: "relative inline-flex h-16 w-16 items-center justify-center rounded-2xl bg-gradient-to-br from-red-600 to-rose-600 shadow-lg shadow-red-500/25 ring-4 ring-red-500/10",
2979
- children: /* @__PURE__ */ U(qe, {
3114
+ children: /* @__PURE__ */ H(nt, {
2980
3115
  className: "text-white",
2981
3116
  size: 30
2982
3117
  })
2983
3118
  })]
2984
3119
  }),
2985
- /* @__PURE__ */ W("div", {
3120
+ /* @__PURE__ */ U("div", {
2986
3121
  className: "space-y-2",
2987
3122
  children: [
2988
- /* @__PURE__ */ U("h2", {
3123
+ /* @__PURE__ */ H("h2", {
2989
3124
  className: "text-xl font-semibold tracking-tight",
2990
3125
  children: t("errorBoundary.title", "Something went wrong")
2991
3126
  }),
2992
- /* @__PURE__ */ U("p", {
3127
+ /* @__PURE__ */ H("p", {
2993
3128
  className: "text-sm text-muted-foreground leading-relaxed max-w-xs mx-auto",
2994
3129
  children: t("errorBoundary.description", "An unexpected error occurred. Try reloading the page.")
2995
3130
  }),
2996
- e.message && /* @__PURE__ */ U("pre", {
3131
+ e.message && /* @__PURE__ */ H("pre", {
2997
3132
  className: "mt-3 text-xs text-left text-muted-foreground bg-muted/40 rounded-md p-3 max-h-32 overflow-auto whitespace-pre-wrap break-words",
2998
3133
  children: e.message
2999
3134
  })
3000
3135
  ]
3001
3136
  }),
3002
- /* @__PURE__ */ W(v, {
3137
+ /* @__PURE__ */ U(v, {
3003
3138
  size: "lg",
3004
3139
  onClick: () => window.location.reload(),
3005
- children: [/* @__PURE__ */ U($e, { className: "size-4" }), t("errorBoundary.reload", "Reload page")]
3140
+ children: [/* @__PURE__ */ H(ct, { className: "size-4" }), t("errorBoundary.reload", "Reload page")]
3006
3141
  })
3007
3142
  ]
3008
3143
  })
@@ -3011,8 +3146,8 @@ function Ja({ error: e }) {
3011
3146
  }
3012
3147
  //#endregion
3013
3148
  //#region src/components/language-select.tsx
3014
- function Ya({ value: e, onValueChange: t, locales: n, extraLocaleValues: r = [], placeholder: i, className: a }) {
3015
- let { t: o } = G(), s = i ?? o("forms.common.chooseLanguage"), c = /* @__PURE__ */ new Map();
3149
+ function lo({ value: e, onValueChange: t, locales: n, extraLocaleValues: r = [], placeholder: i, className: a }) {
3150
+ let { t: o } = W(), s = i ?? o("forms.common.chooseLanguage"), c = /* @__PURE__ */ new Map();
3016
3151
  n.forEach((e) => {
3017
3152
  c.set(e.initials, {
3018
3153
  name: e.en,
@@ -3029,34 +3164,34 @@ function Ya({ value: e, onValueChange: t, locales: n, extraLocaleValues: r = [],
3029
3164
  name: t.name,
3030
3165
  label: t.label
3031
3166
  })), u = l.find((t) => t.value === e);
3032
- return /* @__PURE__ */ W(ir, {
3167
+ return /* @__PURE__ */ U(vr, {
3033
3168
  value: e,
3034
3169
  onValueChange: t,
3035
- children: [/* @__PURE__ */ U(sr, {
3170
+ children: [/* @__PURE__ */ H(xr, {
3036
3171
  className: a,
3037
3172
  "aria-label": s,
3038
- children: u ? /* @__PURE__ */ W("div", {
3173
+ children: u ? /* @__PURE__ */ U("div", {
3039
3174
  className: "flex items-center gap-2 truncate",
3040
- children: [/* @__PURE__ */ U(x, { locale: u.value }), /* @__PURE__ */ U("span", {
3175
+ children: [/* @__PURE__ */ H(x, { locale: u.value }), /* @__PURE__ */ H("span", {
3041
3176
  className: "truncate",
3042
3177
  children: u.label
3043
3178
  })]
3044
- }) : /* @__PURE__ */ U("span", {
3179
+ }) : /* @__PURE__ */ H("span", {
3045
3180
  className: "text-muted-foreground",
3046
3181
  children: s
3047
3182
  })
3048
- }), /* @__PURE__ */ U(cr, { children: l.map((e) => /* @__PURE__ */ U(ur, {
3183
+ }), /* @__PURE__ */ H(Sr, { children: l.map((e) => /* @__PURE__ */ H(wr, {
3049
3184
  value: e.value,
3050
- children: /* @__PURE__ */ W("div", {
3185
+ children: /* @__PURE__ */ U("div", {
3051
3186
  className: "flex items-center gap-2",
3052
- children: [/* @__PURE__ */ U(x, { locale: e.value }), /* @__PURE__ */ U("span", { children: e.label })]
3187
+ children: [/* @__PURE__ */ H(x, { locale: e.value }), /* @__PURE__ */ H("span", { children: e.label })]
3053
3188
  })
3054
3189
  }, e.value)) })]
3055
3190
  });
3056
3191
  }
3057
3192
  //#endregion
3058
3193
  //#region src/components/language-switcher.tsx
3059
- var Xa = [{
3194
+ var uo = [{
3060
3195
  code: "en",
3061
3196
  label: "English",
3062
3197
  flag: "🇺🇸"
@@ -3065,24 +3200,24 @@ var Xa = [{
3065
3200
  label: "Português",
3066
3201
  flag: "🇧🇷"
3067
3202
  }];
3068
- function Za({ languages: e = Xa }) {
3069
- let { i18n: t, t: n } = G();
3070
- return /* @__PURE__ */ W(w, { children: [/* @__PURE__ */ U(A, {
3203
+ function fo({ languages: e = uo }) {
3204
+ let { i18n: t, t: n } = W();
3205
+ return /* @__PURE__ */ U(be, { children: [/* @__PURE__ */ H(k, {
3071
3206
  asChild: !0,
3072
- children: /* @__PURE__ */ W(v, {
3207
+ children: /* @__PURE__ */ U(v, {
3073
3208
  variant: "outline",
3074
3209
  size: "sm",
3075
- children: [/* @__PURE__ */ U(kt, { className: "h-[1.2rem] w-[1.2rem]" }), /* @__PURE__ */ U("span", {
3210
+ children: [/* @__PURE__ */ H(Bt, { className: "h-[1.2rem] w-[1.2rem]" }), /* @__PURE__ */ H("span", {
3076
3211
  className: "sr-only",
3077
3212
  children: n("language.toggle")
3078
3213
  })]
3079
3214
  })
3080
- }), /* @__PURE__ */ U(F, {
3215
+ }), /* @__PURE__ */ H(F, {
3081
3216
  align: "end",
3082
- children: e.map((e) => /* @__PURE__ */ W(T, {
3217
+ children: e.map((e) => /* @__PURE__ */ U(O, {
3083
3218
  onClick: () => t.changeLanguage(e.code),
3084
3219
  className: t.language === e.code ? "font-semibold bg-accent" : "",
3085
- children: [e.flag && /* @__PURE__ */ U("span", {
3220
+ children: [e.flag && /* @__PURE__ */ H("span", {
3086
3221
  className: "mr-2",
3087
3222
  children: e.flag
3088
3223
  }), e.label]
@@ -3091,8 +3226,8 @@ function Za({ languages: e = Xa }) {
3091
3226
  }
3092
3227
  //#endregion
3093
3228
  //#region src/components/theme-provider.tsx
3094
- function Qa({ children: e, defaultTheme: t = "system", storageKey: n = "vite-ui-theme", ...r }) {
3095
- return /* @__PURE__ */ U(ft, {
3229
+ function po({ children: e, defaultTheme: t = "system", storageKey: n = "vite-ui-theme", ...r }) {
3230
+ return /* @__PURE__ */ H(_t, {
3096
3231
  attribute: "class",
3097
3232
  enableSystem: !0,
3098
3233
  defaultTheme: t,
@@ -3101,8 +3236,8 @@ function Qa({ children: e, defaultTheme: t = "system", storageKey: n = "vite-ui-
3101
3236
  children: e
3102
3237
  });
3103
3238
  }
3104
- var $a = () => {
3105
- let { theme: e, setTheme: t } = pt();
3239
+ var mo = () => {
3240
+ let { theme: e, setTheme: t } = vt();
3106
3241
  return {
3107
3242
  theme: e ?? "system",
3108
3243
  setTheme: t
@@ -3110,104 +3245,104 @@ var $a = () => {
3110
3245
  };
3111
3246
  //#endregion
3112
3247
  //#region src/components/mode-toggle.tsx
3113
- function eo() {
3114
- let { setTheme: e } = $a(), { t } = G();
3115
- return /* @__PURE__ */ W(w, { children: [/* @__PURE__ */ U(A, {
3248
+ function ho() {
3249
+ let { setTheme: e } = mo(), { t } = W();
3250
+ return /* @__PURE__ */ U(be, { children: [/* @__PURE__ */ H(k, {
3116
3251
  asChild: !0,
3117
- children: /* @__PURE__ */ W(v, {
3252
+ children: /* @__PURE__ */ U(v, {
3118
3253
  variant: "outline",
3119
3254
  size: "sm",
3120
3255
  children: [
3121
- /* @__PURE__ */ U(Ft, { className: "h-[1.2rem] w-[1.2rem] scale-100 rotate-0 transition-all dark:scale-0 dark:-rotate-90" }),
3122
- /* @__PURE__ */ U(Nt, { className: "absolute h-[1.2rem] w-[1.2rem] scale-0 rotate-90 transition-all dark:scale-100 dark:rotate-0" }),
3123
- /* @__PURE__ */ U("span", {
3256
+ /* @__PURE__ */ H(Qt, { className: "h-[1.2rem] w-[1.2rem] scale-100 rotate-0 transition-all dark:scale-0 dark:-rotate-90" }),
3257
+ /* @__PURE__ */ H(Jt, { className: "absolute h-[1.2rem] w-[1.2rem] scale-0 rotate-90 transition-all dark:scale-100 dark:rotate-0" }),
3258
+ /* @__PURE__ */ H("span", {
3124
3259
  className: "sr-only",
3125
3260
  children: t("theme.toggle")
3126
3261
  })
3127
3262
  ]
3128
3263
  })
3129
- }), /* @__PURE__ */ W(F, {
3264
+ }), /* @__PURE__ */ U(F, {
3130
3265
  align: "end",
3131
3266
  children: [
3132
- /* @__PURE__ */ U(T, {
3267
+ /* @__PURE__ */ H(O, {
3133
3268
  onClick: () => e("light"),
3134
3269
  children: t("theme.light")
3135
3270
  }),
3136
- /* @__PURE__ */ U(T, {
3271
+ /* @__PURE__ */ H(O, {
3137
3272
  onClick: () => e("dark"),
3138
3273
  children: t("theme.dark")
3139
3274
  }),
3140
- /* @__PURE__ */ U(T, {
3275
+ /* @__PURE__ */ H(O, {
3141
3276
  onClick: () => e("system"),
3142
3277
  children: t("theme.system")
3143
3278
  })
3144
3279
  ]
3145
3280
  })] });
3146
3281
  }
3147
- var to = [
3282
+ var go = [
3148
3283
  {
3149
3284
  value: "light",
3150
3285
  labelKey: "theme.light",
3151
- icon: Ft
3286
+ icon: Qt
3152
3287
  },
3153
3288
  {
3154
3289
  value: "dark",
3155
3290
  labelKey: "theme.dark",
3156
- icon: Nt
3291
+ icon: Jt
3157
3292
  },
3158
3293
  {
3159
3294
  value: "system",
3160
3295
  labelKey: "theme.system",
3161
- icon: Mt
3296
+ icon: Kt
3162
3297
  }
3163
3298
  ];
3164
- function no() {
3165
- let { theme: e, setTheme: t } = $a(), { t: n } = G(), r = to.find((t) => t.value === e) ?? to[2];
3299
+ function _o() {
3300
+ let { theme: e, setTheme: t } = mo(), { t: n } = W(), r = go.find((t) => t.value === e) ?? go[2];
3166
3301
  function i() {
3167
- let n = to[(to.findIndex((t) => t.value === e) + 1) % to.length];
3302
+ let n = go[(go.findIndex((t) => t.value === e) + 1) % go.length];
3168
3303
  t(n.value);
3169
3304
  }
3170
3305
  let a = r.icon;
3171
- return /* @__PURE__ */ W("button", {
3306
+ return /* @__PURE__ */ U("button", {
3172
3307
  type: "button",
3173
3308
  title: n("theme.toggle"),
3174
3309
  onClick: i,
3175
3310
  className: "md:hidden flex items-center gap-3 rounded-lg px-3 py-2 text-sm text-sidebar-foreground hover:bg-sidebar-accent transition-colors w-full",
3176
- children: [/* @__PURE__ */ U(a, { className: "size-4 shrink-0" }), /* @__PURE__ */ U("span", { children: n("theme.modeLabel", { mode: n(r.labelKey) }) })]
3311
+ children: [/* @__PURE__ */ H(a, { className: "size-4 shrink-0" }), /* @__PURE__ */ H("span", { children: n("theme.modeLabel", { mode: n(r.labelKey) }) })]
3177
3312
  });
3178
3313
  }
3179
3314
  //#endregion
3180
3315
  //#region src/components/nav-secondary.tsx
3181
- function ro({ items: e, ...t }) {
3182
- return /* @__PURE__ */ U(Jr, {
3316
+ function vo({ items: e, ...t }) {
3317
+ return /* @__PURE__ */ H(ii, {
3183
3318
  ...t,
3184
- children: /* @__PURE__ */ U(Zr, { children: /* @__PURE__ */ U(Qr, { children: e.map((e) => /* @__PURE__ */ U($r, { children: /* @__PURE__ */ U(ti, {
3319
+ children: /* @__PURE__ */ H(si, { children: /* @__PURE__ */ H(ci, { children: e.map((e) => /* @__PURE__ */ H(li, { children: /* @__PURE__ */ H(di, {
3185
3320
  asChild: !0,
3186
- children: /* @__PURE__ */ W("a", {
3321
+ children: /* @__PURE__ */ U("a", {
3187
3322
  href: e.url,
3188
- children: [/* @__PURE__ */ U(e.icon, {}), /* @__PURE__ */ U("span", { children: e.title })]
3323
+ children: [/* @__PURE__ */ H(e.icon, {}), /* @__PURE__ */ H("span", { children: e.title })]
3189
3324
  })
3190
3325
  }) }, e.title)) }) })
3191
3326
  });
3192
3327
  }
3193
3328
  //#endregion
3194
3329
  //#region src/components/viglet-app-switcher.tsx
3195
- var io = {
3330
+ var yo = {
3196
3331
  cloud: "https://console.viglet.cloud",
3197
3332
  turing: "https://turing.viglet.cloud",
3198
3333
  shio: "https://shio.viglet.cloud",
3199
3334
  dumont: "https://dumont.viglet.cloud",
3200
3335
  docs: "https://docs.viglet.org"
3201
3336
  };
3202
- function ao({ open: e, onToggle: t, activeProduct: n, urls: r, triggerTitle: i, closeLabel: a, headerHeight: o = 56 }) {
3203
- let { t: s } = G(), c = {
3204
- ...io,
3337
+ function bo({ open: e, onToggle: t, activeProduct: n, urls: r, triggerTitle: i, closeLabel: a, headerHeight: o = 56 }) {
3338
+ let { t: s } = W(), c = {
3339
+ ...yo,
3205
3340
  ...r
3206
3341
  }, l = [
3207
3342
  {
3208
3343
  id: "cloud",
3209
3344
  name: "Viglet Cloud",
3210
- icon: /* @__PURE__ */ U(Tt, { className: "h-4 w-4" }),
3345
+ icon: /* @__PURE__ */ H(Pt, { className: "h-4 w-4" }),
3211
3346
  iconBg: "bg-linear-to-br from-[#C2410C] to-[#F97316]",
3212
3347
  href: n === "cloud" ? "/" : c.cloud,
3213
3348
  external: n !== "cloud",
@@ -3216,7 +3351,7 @@ function ao({ open: e, onToggle: t, activeProduct: n, urls: r, triggerTitle: i,
3216
3351
  {
3217
3352
  id: "turing",
3218
3353
  name: "Turing ES",
3219
- image: Oe,
3354
+ image: Ie,
3220
3355
  href: n === "turing" ? "/" : c.turing,
3221
3356
  external: n !== "turing",
3222
3357
  active: n === "turing"
@@ -3224,7 +3359,7 @@ function ao({ open: e, onToggle: t, activeProduct: n, urls: r, triggerTitle: i,
3224
3359
  {
3225
3360
  id: "shio",
3226
3361
  name: "Shio CMS",
3227
- image: Ae,
3362
+ image: Re,
3228
3363
  href: n === "shio" ? "/" : c.shio,
3229
3364
  external: n !== "shio",
3230
3365
  active: n === "shio"
@@ -3232,7 +3367,7 @@ function ao({ open: e, onToggle: t, activeProduct: n, urls: r, triggerTitle: i,
3232
3367
  {
3233
3368
  id: "dumont",
3234
3369
  name: "Dumont DEP",
3235
- image: ke,
3370
+ image: Le,
3236
3371
  href: n === "dumont" ? "/" : c.dumont,
3237
3372
  external: n !== "dumont",
3238
3373
  active: n === "dumont"
@@ -3240,13 +3375,13 @@ function ao({ open: e, onToggle: t, activeProduct: n, urls: r, triggerTitle: i,
3240
3375
  {
3241
3376
  id: "docs",
3242
3377
  name: s("common.docs", { defaultValue: "Documentation" }),
3243
- icon: /* @__PURE__ */ U(xt, { className: "h-4 w-4" }),
3378
+ icon: /* @__PURE__ */ H(Et, { className: "h-4 w-4" }),
3244
3379
  iconBg: "bg-linear-to-br from-violet-500 to-purple-600",
3245
3380
  href: c.docs,
3246
3381
  external: !0
3247
3382
  }
3248
3383
  ], u = i ?? s("common.apps", { defaultValue: "Apps" });
3249
- return /* @__PURE__ */ U(Ra, {
3384
+ return /* @__PURE__ */ H(Qa, {
3250
3385
  open: e,
3251
3386
  onToggle: t,
3252
3387
  apps: l,
@@ -3257,19 +3392,19 @@ function ao({ open: e, onToggle: t, activeProduct: n, urls: r, triggerTitle: i,
3257
3392
  }
3258
3393
  //#endregion
3259
3394
  //#region src/hooks/use-date-locale.ts
3260
- var oo = {
3261
- en: vt,
3262
- pt: yt
3395
+ var xo = {
3396
+ en: St,
3397
+ pt: Ct
3263
3398
  };
3264
- function so() {
3265
- let { i18n: e } = G();
3266
- return Fe(() => oo[e.language?.substring(0, 2)] ?? vt, [e.language]);
3399
+ function So() {
3400
+ let { i18n: e } = W();
3401
+ return We(() => xo[e.language?.substring(0, 2)] ?? St, [e.language]);
3267
3402
  }
3268
3403
  //#endregion
3269
3404
  //#region src/hooks/use-grid-adapter.ts
3270
- function co(e, t) {
3405
+ function Co(e, t) {
3271
3406
  let { id: n, name: r, description: i, url: a, icon: o } = t;
3272
- return Fe(() => {
3407
+ return We(() => {
3273
3408
  if (!Array.isArray(e) || e.length === 0) return [];
3274
3409
  let t = (e, t) => {
3275
3410
  if (typeof t == "function") return t(e);
@@ -3300,15 +3435,15 @@ function co(e, t) {
3300
3435
  }
3301
3436
  //#endregion
3302
3437
  //#region src/contexts/breadcrumb.context.tsx
3303
- var lo = Me(void 0);
3304
- function uo({ children: e }) {
3305
- let [t, n] = Ie([]), r = Ne((e) => {
3438
+ var wo = Ve(void 0);
3439
+ function To({ children: e }) {
3440
+ let [t, n] = Ge([]), r = He((e) => {
3306
3441
  n((t) => t.length > 0 && t[t.length - 1].label === e.label ? t : [...t, e]);
3307
- }, []), i = Ne(() => {
3442
+ }, []), i = He(() => {
3308
3443
  n((e) => e.slice(0, -1));
3309
- }, []), a = Ne((e = []) => {
3444
+ }, []), a = He((e = []) => {
3310
3445
  n(e);
3311
- }, []), o = Fe(() => ({
3446
+ }, []), o = We(() => ({
3312
3447
  items: t,
3313
3448
  setItems: n,
3314
3449
  pushItem: r,
@@ -3320,21 +3455,21 @@ function uo({ children: e }) {
3320
3455
  i,
3321
3456
  a
3322
3457
  ]);
3323
- return /* @__PURE__ */ U(lo.Provider, {
3458
+ return /* @__PURE__ */ H(wo.Provider, {
3324
3459
  value: o,
3325
3460
  children: e
3326
3461
  });
3327
3462
  }
3328
- var fo = () => {
3329
- let e = Pe(lo);
3463
+ var Eo = () => {
3464
+ let e = Ue(wo);
3330
3465
  if (!e) throw Error("useBreadcrumb must be used within Provider");
3331
3466
  return e;
3332
- }, po = () => Pe(lo);
3467
+ }, Do = () => Ue(wo);
3333
3468
  //#endregion
3334
3469
  //#region src/hooks/use-sub-page-breadcrumb.ts
3335
- function mo(e) {
3336
- let t = po()?.setItems, n = H([]);
3337
- V(() => {
3470
+ function Oo(e) {
3471
+ let t = Do()?.setItems, n = V([]);
3472
+ B(() => {
3338
3473
  if (e === void 0 || !t) return;
3339
3474
  let r = typeof e == "string" ? [{ label: e }] : Array.isArray(e) ? e : [e], i = n.current;
3340
3475
  i.length === r.length && i.every((e, t) => e.label === r[t].label && e.href === r[t].href) || t((e) => {
@@ -3350,7 +3485,7 @@ function mo(e) {
3350
3485
  ...o
3351
3486
  ];
3352
3487
  });
3353
- }, [e, t]), V(() => () => {
3488
+ }, [e, t]), B(() => () => {
3354
3489
  let e = n.current;
3355
3490
  e.length > 0 && t && t((t) => {
3356
3491
  let n = t.indexOf(e[0]);
@@ -3360,28 +3495,28 @@ function mo(e) {
3360
3495
  }
3361
3496
  //#endregion
3362
3497
  //#region src/hooks/use-assistant-notifications.ts
3363
- var ho = {
3498
+ var ko = {
3364
3499
  loading: "working",
3365
3500
  success: "success",
3366
3501
  error: "error",
3367
3502
  warning: "attention",
3368
3503
  info: "attention"
3369
- }, go = [
3504
+ }, Ao = [
3370
3505
  "working",
3371
3506
  "error",
3372
3507
  "attention",
3373
3508
  "success"
3374
3509
  ];
3375
- function _o(e) {
3510
+ function jo(e) {
3376
3511
  let { title: t } = e;
3377
3512
  return typeof t == "string" ? t : typeof t == "number" ? String(t) : null;
3378
3513
  }
3379
- function vo() {
3380
- let { toasts: e } = mt(), t = e.filter((e) => !e.delete), n = "idle", r = null;
3381
- for (let e of go) {
3382
- let i = t.find((t) => ho[t.type ?? ""] === e);
3514
+ function Mo() {
3515
+ let { toasts: e } = yt(), t = e.filter((e) => !e.delete), n = "idle", r = null;
3516
+ for (let e of Ao) {
3517
+ let i = t.find((t) => ko[t.type ?? ""] === e);
3383
3518
  if (i) {
3384
- n = e, r = _o(i);
3519
+ n = e, r = jo(i);
3385
3520
  break;
3386
3521
  }
3387
3522
  }
@@ -3393,8 +3528,8 @@ function vo() {
3393
3528
  }
3394
3529
  //#endregion
3395
3530
  //#region src/lib/axios.ts
3396
- var yo = "X-XSRF-TOKEN", bo = "/csrf", $ = null, xo = Y.create({ withCredentials: !0 });
3397
- function So(e) {
3531
+ var No = "X-XSRF-TOKEN", Po = "/csrf", $ = null, Fo = Y.create({ withCredentials: !0 });
3532
+ function Io(e) {
3398
3533
  return [
3399
3534
  "post",
3400
3535
  "put",
@@ -3402,58 +3537,58 @@ function So(e) {
3402
3537
  "patch"
3403
3538
  ].includes(e?.toLowerCase() || "");
3404
3539
  }
3405
- function Co(e) {
3406
- return e ? typeof e == "object" && e && "get" in e && typeof e.get == "function" ? e.get(yo) || null : typeof e == "object" && e && e[yo.toLowerCase()] || null : null;
3540
+ function Lo(e) {
3541
+ return e ? typeof e == "object" && e && "get" in e && typeof e.get == "function" ? e.get(No) || null : typeof e == "object" && e && e[No.toLowerCase()] || null : null;
3407
3542
  }
3408
- function wo(e, t) {
3543
+ function Ro(e, t) {
3409
3544
  if (typeof e.headers == "object" && e.headers !== null && "set" in e.headers && typeof e.headers.set == "function") {
3410
- e.headers.set(yo, t);
3545
+ e.headers.set(No, t);
3411
3546
  return;
3412
3547
  }
3413
3548
  let n = e.headers || {};
3414
- n[yo] = t, e.headers = n;
3549
+ n[No] = t, e.headers = n;
3415
3550
  }
3416
- function To() {
3417
- $ = null, Do = null;
3551
+ function zo() {
3552
+ $ = null, Vo = null;
3418
3553
  }
3419
- function Eo() {
3554
+ function Bo() {
3420
3555
  let e = /(?:^|;\s*)XSRF-TOKEN=([^;]+)/.exec(globalThis.document.cookie);
3421
3556
  return e ? decodeURIComponent(e[1]) : null;
3422
3557
  }
3423
- var Do = null;
3424
- async function Oo() {
3425
- xo.defaults.baseURL = Y.defaults.baseURL;
3426
- let e = await xo.get(bo), t = Co(e.headers), n = typeof e.data == "object" && e.data !== null ? e.data.token : void 0, r = Eo();
3558
+ var Vo = null;
3559
+ async function Ho() {
3560
+ Fo.defaults.baseURL = Y.defaults.baseURL;
3561
+ let e = await Fo.get(Po), t = Lo(e.headers), n = typeof e.data == "object" && e.data !== null ? e.data.token : void 0, r = Bo();
3427
3562
  $ = t || n || r || null;
3428
3563
  }
3429
- async function ko() {
3564
+ async function Uo() {
3430
3565
  if (!$) {
3431
- if (!Do) {
3432
- let e = Oo().finally(() => {
3433
- Do === e && (Do = null);
3566
+ if (!Vo) {
3567
+ let e = Ho().finally(() => {
3568
+ Vo === e && (Vo = null);
3434
3569
  });
3435
- Do = e;
3570
+ Vo = e;
3436
3571
  }
3437
- await Do;
3572
+ await Vo;
3438
3573
  }
3439
3574
  }
3440
- function Ao(e = {}) {
3575
+ function Wo(e = {}) {
3441
3576
  let t = e.loginPath ?? "/login";
3442
- e.baseURL && (Y.defaults.baseURL = e.baseURL), Y.defaults.withCredentials = !0, Y.defaults.xsrfCookieName = "XSRF-TOKEN", Y.defaults.xsrfHeaderName = yo, Y.interceptors.request.use(async (e) => {
3577
+ e.baseURL && (Y.defaults.baseURL = e.baseURL), Y.defaults.withCredentials = !0, Y.defaults.xsrfCookieName = "XSRF-TOKEN", Y.defaults.xsrfHeaderName = No, Y.interceptors.request.use(async (e) => {
3443
3578
  let t = e.url || "", n = e.baseURL || Y.defaults.baseURL;
3444
- if (xo.defaults.baseURL = n, t.includes(bo) || !So(e.method)) return e;
3445
- if ($ || await ko(), !$) throw Error("Unable to obtain CSRF token for mutating request.");
3446
- return wo(e, $), e;
3579
+ if (Fo.defaults.baseURL = n, t.includes(Po) || !Io(e.method)) return e;
3580
+ if ($ || await Uo(), !$) throw Error("Unable to obtain CSRF token for mutating request.");
3581
+ return Ro(e, $), e;
3447
3582
  }, (e) => Promise.reject(e)), Y.interceptors.response.use((e) => {
3448
- let t = Co(e.headers);
3583
+ let t = Lo(e.headers);
3449
3584
  return t && ($ = t), e;
3450
3585
  }, async (e) => {
3451
- let n = Co(e.response?.headers);
3586
+ let n = Lo(e.response?.headers);
3452
3587
  n && ($ = n);
3453
3588
  let r = e.config;
3454
- if (e.response?.status === 403 && r && !r._csrfRetried && So(r.method)) {
3455
- if (r._csrfRetried = !0, To(), xo.defaults.baseURL = r.baseURL || Y.defaults.baseURL, await ko(), !$) throw e;
3456
- return wo(r, $), Y.request(r);
3589
+ if (e.response?.status === 403 && r && !r._csrfRetried && Io(r.method)) {
3590
+ if (r._csrfRetried = !0, zo(), Fo.defaults.baseURL = r.baseURL || Y.defaults.baseURL, await Uo(), !$) throw e;
3591
+ return Ro(r, $), Y.request(r);
3457
3592
  }
3458
3593
  if (e.response?.status === 401 && !globalThis.location.pathname.startsWith(t)) {
3459
3594
  let e = globalThis.location.pathname + globalThis.location.search;
@@ -3464,15 +3599,15 @@ function Ao(e = {}) {
3464
3599
  }
3465
3600
  //#endregion
3466
3601
  //#region src/lib/export-xlsx.ts
3467
- var jo = /[[\]:*?/\\]/g, Mo = 31;
3468
- function No(e) {
3469
- return e.replace(jo, " ").trim().slice(0, Mo) || "Sheet1";
3602
+ var Go = /[[\]:*?/\\]/g, Ko = 31;
3603
+ function qo(e) {
3604
+ return e.replace(Go, " ").trim().slice(0, Ko) || "Sheet1";
3470
3605
  }
3471
- function Po(e) {
3606
+ function Jo(e) {
3472
3607
  return Array.isArray(e) ? e.join(", ") : e instanceof Date ? e.toISOString() : e;
3473
3608
  }
3474
- function Fo(e, t, n, r) {
3475
- let i = t.map((e) => e.label), a = e.map((e) => t.map((t) => Po(e[t.key]))), o = bt.utils.aoa_to_sheet([i, ...a]);
3609
+ function Yo(e, t, n, r) {
3610
+ let i = t.map((e) => e.label), a = e.map((e) => t.map((t) => Jo(e[t.key]))), o = wt.utils.aoa_to_sheet([i, ...a]);
3476
3611
  o["!cols"] = t.map((e, t) => {
3477
3612
  let n = e.label.length;
3478
3613
  for (let e of a) {
@@ -3481,8 +3616,8 @@ function Fo(e, t, n, r) {
3481
3616
  }
3482
3617
  return { wch: Math.min(Math.max(n + 2, 12), 60) };
3483
3618
  });
3484
- let s = bt.utils.book_new();
3485
- bt.utils.book_append_sheet(s, o, No(r ?? n)), bt.writeFile(s, `${n}.xlsx`);
3619
+ let s = wt.utils.book_new();
3620
+ wt.utils.book_append_sheet(s, o, qo(r ?? n)), wt.writeFile(s, `${n}.xlsx`);
3486
3621
  }
3487
3622
  //#endregion
3488
- export { It as Accordion, zt as AccordionContent, Lt as AccordionItem, Rt as AccordionTrigger, La as AppFooter, Ra as AppSwitcher, Bt as Avatar, Ht as AvatarFallback, Vt as AvatarImage, Ka as BackendStatusBanner, Ga as BackendStatusProvider, c as Badge, ee as BadgeColorful, x as BadgeLocale, Ut as Breadcrumb, Yt as BreadcrumbEllipsis, Gt as BreadcrumbItem, Kt as BreadcrumbLink, Wt as BreadcrumbList, qt as BreadcrumbPage, uo as BreadcrumbProvider, Jt as BreadcrumbSeparator, R as Button, Xt as Card, en as CardAction, tn as CardContent, $t as CardDescription, nn as CardFooter, Zt as CardHeader, Qt as CardTitle, P as Checkbox, l as Dialog, h as DialogClose, S as DialogContent, u as DialogDescription, d as DialogFooter, y as DialogHeader, g as DialogOverlay, p as DialogPortal, f as DialogTitle, o as DialogTrigger, rn as Drawer, sn as DrawerClose, ln as DrawerContent, pn as DrawerDescription, dn as DrawerFooter, un as DrawerHeader, cn as DrawerOverlay, on as DrawerPortal, fn as DrawerTitle, an as DrawerTrigger, w as DropdownMenu, we as DropdownMenuCheckboxItem, F as DropdownMenuContent, E as DropdownMenuGroup, T as DropdownMenuItem, N as DropdownMenuLabel, L as DropdownMenuPortal, C as DropdownMenuRadioGroup, me as DropdownMenuRadioItem, j as DropdownMenuSeparator, M as DropdownMenuShortcut, re as DropdownMenuSub, D as DropdownMenuSubContent, k as DropdownMenuSubTrigger, A as DropdownMenuTrigger, qa as ErrorBoundary, De as FloatingFormulasBg, hn as Form, Tn as FormActions, Sn as FormControl, Cn as FormDescription, _n as FormField, bn as FormItem, kn as FormItemTwoColumns, xn as FormLabel, wn as FormMessage, Nn as GlassCard, v as GradientButton, jn as GradientSwitch, Fn as HoverCard, Ln as HoverCardContent, In as HoverCardTrigger, ie as IconPickerDialog, s as Input, mn as Label, Ya as LanguageSelect, Za as LanguageSwitcher, Sa as Login, eo as ModeToggle, no as ModeToggleSidebar, ro as NavSecondary, Rn as NavigationMenu, Un as NavigationMenuContent, Kn as NavigationMenuIndicator, Bn as NavigationMenuItem, Gn as NavigationMenuLink, zn as NavigationMenuList, Hn as NavigationMenuTrigger, Wn as NavigationMenuViewport, qn as Pagination, Jn as PaginationContent, $n as PaginationEllipsis, Yn as PaginationItem, Xn as PaginationLink, Qn as PaginationNext, Zn as PaginationPrevious, I as Popover, fe as PopoverAnchor, oe as PopoverContent, Ce as PopoverDescription, Ee as PopoverHeader, ce as PopoverTitle, Te as PopoverTrigger, er as Progress, Pn as PulseRing, rr as ResizableHandle, nr as ResizablePanel, tr as ResizablePanelGroup, ye as SectionCard, ir as Select, cr as SelectContent, ar as SelectGroup, ur as SelectItem, lr as SelectLabel, pr as SelectScrollDownButton, fr as SelectScrollUpButton, dr as SelectSeparator, sr as SelectTrigger, or as SelectValue, mr as Separator, hr as Sheet, _r as SheetClose, br as SheetContent, wr as SheetDescription, Sr as SheetFooter, xr as SheetHeader, Cr as SheetTitle, gr as SheetTrigger, zr as Sidebar, qr as SidebarContent, Gr as SidebarFooter, Jr as SidebarGroup, Xr as SidebarGroupAction, Zr as SidebarGroupContent, Yr as SidebarGroupLabel, Wr as SidebarHeader, Ur as SidebarInput, Hr as SidebarInset, Qr as SidebarMenu, ni as SidebarMenuAction, ri as SidebarMenuBadge, ti as SidebarMenuButton, $r as SidebarMenuItem, ai as SidebarMenuSkeleton, oi as SidebarMenuSub, ci as SidebarMenuSubButton, si as SidebarMenuSubItem, Rr as SidebarProvider, Vr as SidebarRail, Kr as SidebarSeparator, Br as SidebarTrigger, m as Skeleton, fi as Slider, Ia as StartupFirst, mi as Stepper, ui as StickySaveBar, _i as Switch, vi as Table, bi as TableBody, Ti as TableCaption, wi as TableCell, xi as TableFooter, Ci as TableHead, yi as TableHeader, Si as TableRow, Ei as Tabs, ki as TabsContent, Di as TabsList, Oi as TabsTrigger, Ai as Textarea, Qa as ThemeProvider, be as Toaster, Mi as Toggle, Pi as ToggleGroup, Fi as ToggleGroupItem, he as Tooltip, Se as TooltipContent, ue as TooltipProvider, de as TooltipTrigger, se as UserAvatar, ca as UserMenu, xe as UserProvider, ao as VigletAppSwitcher, sa as VigletAssistant, $i as VigletAvatar, te as badgeVariants, ne as buttonVariants, r as cn, Fo as exportToXlsx, t as getFlagEmoji, n as getHashedColor, _ as getLocaleCountryCode, ve as getUserInitials, b as gradientButtonVariants, An as gradientSwitchVariants, Vn as navigationMenuTriggerStyle, Va as reportBackendOffline, Ha as reportBackendOnline, ge as sectionCardColorVariants, Ao as setupAxiosInterceptors, le as toast, ji as toggleVariants, e as truncateMiddle, vo as useAssistantNotifications, Wa as useBackendStatus, fo as useBreadcrumb, po as useBreadcrumbOptional, _e as useCurrentUser, so as useDateLocale, vn as useFormField, co as useGridAdapter, Or as useIsMobile, Ir as useSidebar, Lr as useSidebarOptional, mo as useSubPageBreadcrumb, $a as useTheme };
3623
+ export { $t as Accordion, nn as AccordionContent, en as AccordionItem, tn as AccordionTrigger, Za as AppFooter, Qa as AppSwitcher, rn as Avatar, on as AvatarFallback, an as AvatarImage, oo as BackendStatusBanner, ao as BackendStatusProvider, c as Badge, ee as BadgeColorful, x as BadgeLocale, sn as Breadcrumb, pn as BreadcrumbEllipsis, ln as BreadcrumbItem, un as BreadcrumbLink, cn as BreadcrumbList, dn as BreadcrumbPage, To as BreadcrumbProvider, fn as BreadcrumbSeparator, R as Button, mn as Card, vn as CardAction, yn as CardContent, _n as CardDescription, bn as CardFooter, hn as CardHeader, gn as CardTitle, N as Checkbox, l as Dialog, h as DialogClose, S as DialogContent, u as DialogDescription, d as DialogFooter, y as DialogHeader, g as DialogOverlay, p as DialogPortal, f as DialogTitle, o as DialogTrigger, xn as Drawer, wn as DrawerClose, En as DrawerContent, An as DrawerDescription, On as DrawerFooter, Dn as DrawerHeader, Tn as DrawerOverlay, Cn as DrawerPortal, kn as DrawerTitle, Sn as DrawerTrigger, be as DropdownMenu, ne as DropdownMenuCheckboxItem, F as DropdownMenuContent, ie as DropdownMenuGroup, O as DropdownMenuItem, j as DropdownMenuLabel, P as DropdownMenuPortal, ae as DropdownMenuRadioGroup, Pe as DropdownMenuRadioItem, T as DropdownMenuSeparator, le as DropdownMenuShortcut, A as DropdownMenuSub, ce as DropdownMenuSubContent, ue as DropdownMenuSubTrigger, k as DropdownMenuTrigger, so as ErrorBoundary, Fe as FloatingFormulasBg, Mn as Form, Hn as FormActions, zn as FormControl, Bn as FormDescription, Pn as FormField, Ln as FormItem, Kn as FormItemTwoColumns, Rn as FormLabel, Vn as FormMessage, Xn as GlassCard, v as GradientButton, Jn as GradientSwitch, Qn as HoverCard, er as HoverCardContent, $n as HoverCardTrigger, w as IconPickerDialog, s as Input, jn as Label, lo as LanguageSelect, fo as LanguageSwitcher, Ia as Login, ho as ModeToggle, _o as ModeToggleSidebar, vo as NavSecondary, tr as NavigationMenu, or as NavigationMenuContent, lr as NavigationMenuIndicator, rr as NavigationMenuItem, cr as NavigationMenuLink, nr as NavigationMenuList, ar as NavigationMenuTrigger, sr as NavigationMenuViewport, ur as Pagination, dr as PaginationContent, gr as PaginationEllipsis, fr as PaginationItem, pr as PaginationLink, hr as PaginationNext, mr as PaginationPrevious, te as Popover, je as PopoverAnchor, se as PopoverContent, D as PopoverDescription, E as PopoverHeader, re as PopoverTitle, xe as PopoverTrigger, _r as Progress, Zn as PulseRing, me as ResizableHandle, Me as ResizablePanel, oe as ResizablePanelGroup, Ae as SectionCard, vr as Select, Sr as SelectContent, yr as SelectGroup, wr as SelectItem, Cr as SelectLabel, Dr as SelectScrollDownButton, Er as SelectScrollUpButton, Tr as SelectSeparator, xr as SelectTrigger, br as SelectValue, Or as Separator, kr as Sheet, jr as SheetClose, Pr as SheetContent, Rr as SheetDescription, Ir as SheetFooter, Fr as SheetHeader, Lr as SheetTitle, Ar as SheetTrigger, Yr as Sidebar, ri as SidebarContent, ti as SidebarFooter, ii as SidebarGroup, oi as SidebarGroupAction, si as SidebarGroupContent, ai as SidebarGroupLabel, ei as SidebarHeader, $r as SidebarInput, Qr as SidebarInset, ci as SidebarMenu, fi as SidebarMenuAction, pi as SidebarMenuBadge, di as SidebarMenuButton, li as SidebarMenuItem, hi as SidebarMenuSkeleton, gi as SidebarMenuSub, vi as SidebarMenuSubButton, _i as SidebarMenuSubItem, Jr as SidebarProvider, Zr as SidebarRail, ni as SidebarSeparator, Xr as SidebarTrigger, m as Skeleton, Si as Slider, Xa as StartupFirst, Mi as Stepper, bi as StickySaveBar, Fi as Switch, Ii as Table, Ri as TableBody, Ui as TableCaption, Hi as TableCell, zi as TableFooter, Vi as TableHead, Li as TableHeader, Bi as TableRow, De as Tabs, L as TabsContent, Se as TabsList, ke as TabsTrigger, Wi as Textarea, po as ThemeProvider, he as Toaster, Ki as Toggle, Ji as ToggleGroup, Yi as ToggleGroupItem, Ce as Tooltip, ve as TooltipContent, _e as TooltipProvider, I as TooltipTrigger, ki as Tree, pe as UserAvatar, Sa as UserMenu, Oe as UserProvider, bo as VigletAppSwitcher, xa as VigletAssistant, pa as VigletAvatar, C as badgeVariants, M as buttonVariants, r as cn, Yo as exportToXlsx, t as getFlagEmoji, n as getHashedColor, _ as getLocaleCountryCode, Te as getUserInitials, b as gradientButtonVariants, qn as gradientSwitchVariants, ir as navigationMenuTriggerStyle, to as reportBackendOffline, no as reportBackendOnline, Ne as sectionCardColorVariants, Wo as setupAxiosInterceptors, ge as toast, Gi as toggleVariants, Ai as treeFromPaths, e as truncateMiddle, Mo as useAssistantNotifications, io as useBackendStatus, Eo as useBreadcrumb, Do as useBreadcrumbOptional, we as useCurrentUser, So as useDateLocale, Fn as useFormField, Co as useGridAdapter, Ee as useIsMobile, Kr as useSidebar, qr as useSidebarOptional, Oo as useSubPageBreadcrumb, mo as useTheme };