@a4ui/core 0.1.0

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 (59) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +52 -0
  3. package/dist/index.d.ts +53 -0
  4. package/dist/index.js +2157 -0
  5. package/dist/layout/AppShell.d.ts +18 -0
  6. package/dist/layout/EffectsToggle.d.ts +1 -0
  7. package/dist/layout/NavGroup.d.ts +6 -0
  8. package/dist/layout/SpaceBackground.d.ts +1 -0
  9. package/dist/layout/ThemeToggle.d.ts +2 -0
  10. package/dist/lib/cn.d.ts +3 -0
  11. package/dist/lib/effects.d.ts +4 -0
  12. package/dist/lib/media.d.ts +1 -0
  13. package/dist/lib/motion.d.ts +24 -0
  14. package/dist/lib/theme.d.ts +10 -0
  15. package/dist/lib/virtual.d.ts +2 -0
  16. package/dist/styles.css +305 -0
  17. package/dist/ui/Accordion.d.ts +13 -0
  18. package/dist/ui/Alert.d.ts +9 -0
  19. package/dist/ui/AlertDialog.d.ts +9 -0
  20. package/dist/ui/Avatar.d.ts +9 -0
  21. package/dist/ui/Badge.d.ts +8 -0
  22. package/dist/ui/Breadcrumb.d.ts +11 -0
  23. package/dist/ui/Button.d.ts +10 -0
  24. package/dist/ui/Card.d.ts +18 -0
  25. package/dist/ui/Checkbox.d.ts +9 -0
  26. package/dist/ui/Combobox.d.ts +10 -0
  27. package/dist/ui/ContextMenu.d.ts +13 -0
  28. package/dist/ui/DateField.d.ts +10 -0
  29. package/dist/ui/Drawer.d.ts +10 -0
  30. package/dist/ui/Dropdown.d.ts +17 -0
  31. package/dist/ui/Dropzone.d.ts +13 -0
  32. package/dist/ui/HoverCard.d.ts +7 -0
  33. package/dist/ui/Input.d.ts +8 -0
  34. package/dist/ui/Meter.d.ts +9 -0
  35. package/dist/ui/Modal.d.ts +10 -0
  36. package/dist/ui/NumberInput.d.ts +10 -0
  37. package/dist/ui/PageHeader.d.ts +9 -0
  38. package/dist/ui/Pagination.d.ts +9 -0
  39. package/dist/ui/Popover.d.ts +7 -0
  40. package/dist/ui/Progress.d.ts +9 -0
  41. package/dist/ui/RadioGroup.d.ts +15 -0
  42. package/dist/ui/SegmentedControl.d.ts +13 -0
  43. package/dist/ui/Select.d.ts +8 -0
  44. package/dist/ui/Separator.d.ts +7 -0
  45. package/dist/ui/Skeleton.d.ts +6 -0
  46. package/dist/ui/Slider.d.ts +12 -0
  47. package/dist/ui/Spinner.d.ts +7 -0
  48. package/dist/ui/Stat.d.ts +16 -0
  49. package/dist/ui/Switch.d.ts +10 -0
  50. package/dist/ui/Table.d.ts +11 -0
  51. package/dist/ui/Tabs.d.ts +14 -0
  52. package/dist/ui/Textarea.d.ts +8 -0
  53. package/dist/ui/Toast.d.ts +9 -0
  54. package/dist/ui/Toggle.d.ts +8 -0
  55. package/dist/ui/ToggleGroup.d.ts +13 -0
  56. package/dist/ui/Tooltip.d.ts +7 -0
  57. package/dist/ui/VirtualList.d.ts +15 -0
  58. package/package.json +82 -0
  59. package/preset.js +166 -0
package/dist/index.js ADDED
@@ -0,0 +1,2157 @@
1
+ import { clsx as dt } from "clsx";
2
+ import { twMerge as ut } from "tailwind-merge";
3
+ import { createSignal as j, createEffect as we, untrack as Ve, onCleanup as ye, onMount as Ne, For as z, splitProps as M, createMemo as Fe, Show as p, ErrorBoundary as gt, Suspense as ft } from "solid-js";
4
+ import { createComponent as r, memo as ae, template as c, spread as E, mergeProps as I, insert as a, effect as S, className as G, Portal as mt, setStyleProperty as oe, use as X, delegateEvents as ee, setAttribute as J, classList as ht, Dynamic as bt, addEventListener as xt } from "solid-js/web";
5
+ import { Accordion as se } from "@kobalte/core/accordion";
6
+ import { CalendarDays as vt, ChevronLeft as Ye, ChevronRight as Ge, X as Xe, UploadCloud as $t, CircleX as pt, TriangleAlert as wt, CircleCheck as yt, Info as _t, ChevronsUpDown as Ct, Check as kt, Satellite as St, Moon as Tt, Sun as Mt, Sparkles as Et } from "lucide-solid";
7
+ import { Dialog as T } from "@kobalte/core/dialog";
8
+ import { DropdownMenu as ce } from "@kobalte/core/dropdown-menu";
9
+ import { Motion as It } from "solid-motionone";
10
+ import { createVirtualizer as Lt } from "@tanstack/solid-virtual";
11
+ import { Tabs as de } from "@kobalte/core/tabs";
12
+ import { Toast as le, toaster as Ft } from "@kobalte/core/toast";
13
+ import { Switch as ue } from "@kobalte/core/switch";
14
+ import { RadioGroup as W } from "@kobalte/core/radio-group";
15
+ import { Tooltip as ge } from "@kobalte/core/tooltip";
16
+ import { Popover as fe } from "@kobalte/core/popover";
17
+ import { HoverCard as me } from "@kobalte/core/hover-card";
18
+ import { Alert as At } from "@kobalte/core/alert";
19
+ import { Image as _e } from "@kobalte/core/image";
20
+ import { Separator as Dt } from "@kobalte/core/separator";
21
+ import { Progress as he } from "@kobalte/core/progress";
22
+ import { Meter as be } from "@kobalte/core/meter";
23
+ import { Slider as Q } from "@kobalte/core/slider";
24
+ import { NumberField as $e } from "@kobalte/core/number-field";
25
+ import { ToggleButton as Rt } from "@kobalte/core/toggle-button";
26
+ import { ToggleGroup as Ae } from "@kobalte/core/toggle-group";
27
+ import { SegmentedControl as xe } from "@kobalte/core/segmented-control";
28
+ import { Breadcrumbs as Ce } from "@kobalte/core/breadcrumbs";
29
+ import { AlertDialog as ne } from "@kobalte/core/alert-dialog";
30
+ import { ContextMenu as ve } from "@kobalte/core/context-menu";
31
+ import { Combobox as O } from "@kobalte/core/combobox";
32
+ import { Transition as zt } from "solid-transition-group";
33
+ function u(...e) {
34
+ return ut(dt(e));
35
+ }
36
+ const He = "a4ui-theme";
37
+ function Pt(e) {
38
+ return e === "dark" || e === "light";
39
+ }
40
+ function qe() {
41
+ try {
42
+ return window.localStorage;
43
+ } catch {
44
+ return null;
45
+ }
46
+ }
47
+ function Ot() {
48
+ var t;
49
+ const e = ((t = qe()) == null ? void 0 : t.getItem(He)) ?? null;
50
+ return Pt(e) ? e : "dark";
51
+ }
52
+ function Ue(e) {
53
+ const t = document.documentElement;
54
+ e === "light" ? t.setAttribute("data-theme", "light") : t.removeAttribute("data-theme");
55
+ }
56
+ function jt(e) {
57
+ var t;
58
+ (t = qe()) == null || t.setItem(He, e), Ue(e);
59
+ }
60
+ function Bt(e) {
61
+ return e === "dark" ? "light" : "dark";
62
+ }
63
+ const Ke = Ot();
64
+ Ue(Ke);
65
+ const [Ze, Vt] = j(Ke);
66
+ function We() {
67
+ return Ze;
68
+ }
69
+ function Nt() {
70
+ const e = Bt(Ze());
71
+ jt(e), Vt(e);
72
+ }
73
+ const Qe = "a4ui-effects";
74
+ function Je() {
75
+ try {
76
+ return window.localStorage;
77
+ } catch {
78
+ return null;
79
+ }
80
+ }
81
+ function Yt() {
82
+ var t;
83
+ try {
84
+ if (new URLSearchParams(window.location.search).get("calm") === "1") return !1;
85
+ } catch {
86
+ }
87
+ const e = (t = Je()) == null ? void 0 : t.getItem(Qe);
88
+ return e === null ? !0 : e === "1";
89
+ }
90
+ function et(e) {
91
+ document.documentElement.classList.toggle("calm", !e);
92
+ }
93
+ const tt = Yt();
94
+ et(tt);
95
+ const [rt, Gt] = j(tt);
96
+ function Xt() {
97
+ return rt;
98
+ }
99
+ function Ht() {
100
+ return !rt();
101
+ }
102
+ function qt(e) {
103
+ var t;
104
+ (t = Je()) == null || t.setItem(Qe, e ? "1" : "0"), et(e), Gt(e);
105
+ }
106
+ const Ut = "(prefers-reduced-motion: reduce)";
107
+ function nt() {
108
+ return typeof window > "u" || typeof window.matchMedia != "function" ? !1 : window.matchMedia(Ut).matches;
109
+ }
110
+ const lt = "a4ui-motion-forced";
111
+ function ot() {
112
+ try {
113
+ return window.localStorage;
114
+ } catch {
115
+ return null;
116
+ }
117
+ }
118
+ var Be;
119
+ const [Te, Kt] = j(((Be = ot()) == null ? void 0 : Be.getItem(lt)) === "1");
120
+ typeof document < "u" && document.documentElement.classList.toggle("force-motion", Ve(Te));
121
+ function ol() {
122
+ return Te;
123
+ }
124
+ function al(e) {
125
+ var t;
126
+ (t = ot()) == null || t.setItem(lt, e ? "1" : "0"), typeof document < "u" && document.documentElement.classList.toggle("force-motion", e), Kt(e);
127
+ }
128
+ function Se() {
129
+ return Ht() || nt() && !Te();
130
+ }
131
+ const Zt = (e) => 1 - (1 - e) ** 3;
132
+ function Wt(e, t = 600) {
133
+ const [l, n] = j(0);
134
+ let o;
135
+ return we(() => {
136
+ const i = e();
137
+ if (Se()) {
138
+ o !== void 0 && cancelAnimationFrame(o), n(i);
139
+ return;
140
+ }
141
+ const s = Ve(l);
142
+ if (s === i) return;
143
+ o !== void 0 && cancelAnimationFrame(o);
144
+ const g = performance.now(), m = (d) => {
145
+ const b = d - g, _ = Math.min(1, b / t);
146
+ n(s + (i - s) * Zt(_)), o = _ < 1 ? requestAnimationFrame(m) : void 0;
147
+ };
148
+ o = requestAnimationFrame(m);
149
+ }), ye(() => {
150
+ o !== void 0 && cancelAnimationFrame(o);
151
+ }), l;
152
+ }
153
+ function il(e) {
154
+ const t = typeof window < "u" ? window.matchMedia(e) : null, [l, n] = j(t ? t.matches : !1);
155
+ if (t) {
156
+ const o = (i) => n(i.matches);
157
+ t.addEventListener("change", o), ye(() => t.removeEventListener("change", o));
158
+ }
159
+ return l;
160
+ }
161
+ function Qt(e, t) {
162
+ Ne(() => {
163
+ requestAnimationFrame(() => {
164
+ const l = e();
165
+ l && (t(void 0), t(l));
166
+ });
167
+ });
168
+ }
169
+ var Jt = /* @__PURE__ */ c('<svg class="h-3.5 w-3.5 shrink-0 transition-transform duration-200"viewBox="0 0 20 20"fill=none stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round><path d="M7 5l6 5-6 5">');
170
+ function sl(e) {
171
+ return r(se, {
172
+ get multiple() {
173
+ return e.multiple ?? !1;
174
+ },
175
+ get class() {
176
+ return e.class;
177
+ },
178
+ get children() {
179
+ return r(z, {
180
+ get each() {
181
+ return e.items;
182
+ },
183
+ children: (t) => r(se.Item, {
184
+ get value() {
185
+ return t.value;
186
+ },
187
+ class: "border-b border-border",
188
+ get children() {
189
+ return [r(se.Header, {
190
+ get children() {
191
+ return r(se.Trigger, {
192
+ class: "flex w-full items-center justify-between py-3 text-sm font-medium text-foreground [&[data-expanded]>svg]:rotate-90",
193
+ get children() {
194
+ return [ae(() => t.title), Jt()];
195
+ }
196
+ });
197
+ }
198
+ }), r(se.Content, {
199
+ class: "pb-3 text-sm text-muted-foreground",
200
+ get children() {
201
+ return t.content;
202
+ }
203
+ })];
204
+ }
205
+ })
206
+ });
207
+ }
208
+ });
209
+ }
210
+ var er = /* @__PURE__ */ c("<span>");
211
+ const tr = {
212
+ neutral: "bg-muted text-muted-foreground ring-border",
213
+ success: "bg-emerald-500/15 text-emerald-600 ring-emerald-500/30",
214
+ warning: "bg-amber-500/15 text-amber-600 ring-amber-500/30",
215
+ danger: "bg-rose-500/15 text-rose-600 ring-rose-500/30",
216
+ info: "bg-sky-500/15 text-sky-600 ring-sky-500/30"
217
+ }, rr = "badge inline-flex items-center gap-1 rounded-full px-2 py-0.5 text-xs font-semibold ring-1 ring-inset whitespace-nowrap";
218
+ function cl(e) {
219
+ const [t, l] = M(e, ["tone", "class", "children"]);
220
+ return (() => {
221
+ var n = er();
222
+ return E(n, I({
223
+ get class() {
224
+ return u(rr, tr[t.tone ?? "neutral"], t.class);
225
+ }
226
+ }, l), !1, !0), a(n, () => t.children), n;
227
+ })();
228
+ }
229
+ var nr = /* @__PURE__ */ c("<button>");
230
+ const lr = {
231
+ primary: "bg-primary text-primary-foreground hover:bg-primary/90",
232
+ secondary: "bg-muted text-foreground hover:bg-muted/70",
233
+ outline: "border border-border bg-transparent text-foreground hover:bg-muted",
234
+ ghost: "bg-transparent text-foreground hover:bg-muted"
235
+ }, or = "inline-flex items-center justify-center rounded-md px-3 py-2 text-sm font-medium transition-[color,background-color,transform] duration-150 active:scale-[0.97] focus:outline-none focus:ring-2 focus:ring-ring disabled:pointer-events-none disabled:opacity-50";
236
+ function De(e) {
237
+ const [t, l] = M(e, ["variant", "class", "type", "children"]);
238
+ return (() => {
239
+ var n = nr();
240
+ return E(n, I({
241
+ get type() {
242
+ return t.type ?? "button";
243
+ },
244
+ get class() {
245
+ return u(or, lr[t.variant ?? "primary"], t.class);
246
+ }
247
+ }, l), !1, !0), a(n, () => t.children), n;
248
+ })();
249
+ }
250
+ var Me = /* @__PURE__ */ c("<div>"), ar = /* @__PURE__ */ c("<h2>");
251
+ function ir(e) {
252
+ const [t, l] = M(e, ["class", "children", "glass", "glow"]), n = () => (t.glow ?? t.glass) === !0;
253
+ return (() => {
254
+ var o = Me();
255
+ return E(o, I({
256
+ get class() {
257
+ return u(t.glass ? "card rounded-xl text-card-foreground" : "rounded-xl border border-border bg-card text-card-foreground shadow-sm", n() && "glow-edge", t.class);
258
+ }
259
+ }, l), !1, !0), a(o, () => t.children), o;
260
+ })();
261
+ }
262
+ function dl(e) {
263
+ const [t, l] = M(e, ["class", "children"]);
264
+ return (() => {
265
+ var n = Me();
266
+ return E(n, I({
267
+ get class() {
268
+ return u("flex flex-col space-y-1.5 p-6", t.class);
269
+ }
270
+ }, l), !1, !0), a(n, () => t.children), n;
271
+ })();
272
+ }
273
+ function ul(e) {
274
+ const [t, l] = M(e, ["class", "children"]);
275
+ return (() => {
276
+ var n = ar();
277
+ return E(n, I({
278
+ get class() {
279
+ return u("text-lg font-semibold leading-none tracking-tight", t.class);
280
+ }
281
+ }, l), !1, !0), a(n, () => t.children), n;
282
+ })();
283
+ }
284
+ function sr(e) {
285
+ const [t, l] = M(e, ["class", "children"]);
286
+ return (() => {
287
+ var n = Me();
288
+ return E(n, I({
289
+ get class() {
290
+ return u("p-6 pt-0", t.class);
291
+ }
292
+ }, l), !1, !0), a(n, () => t.children), n;
293
+ })();
294
+ }
295
+ var cr = /* @__PURE__ */ c('<label><input type=checkbox class="h-4 w-4 rounded border-input">');
296
+ function gl(e) {
297
+ return (() => {
298
+ var t = cr(), l = t.firstChild;
299
+ return l.addEventListener("change", (n) => e.onChange(n.currentTarget.checked)), a(t, () => e.label, null), S(() => G(t, u("inline-flex items-center gap-2 text-sm text-foreground", e.class))), S(() => l.checked = e.checked), t;
300
+ })();
301
+ }
302
+ var dr = /* @__PURE__ */ c('<div class="z-50 w-72 rounded-lg border border-border bg-card p-3 text-card-foreground shadow-lg"style=position:fixed><div class="mb-2 flex items-center justify-between"><button type=button aria-label="Mes anterior"class="rounded-md p-1 text-foreground transition-colors hover:bg-muted"></button><span class="text-sm font-medium capitalize text-foreground"> </span><button type=button aria-label="Mes siguiente"class="rounded-md p-1 text-foreground transition-colors hover:bg-muted"></button></div><div class="mb-1 grid grid-cols-7 gap-0.5 text-center text-[11px] font-medium text-muted-foreground"></div><div class="grid grid-cols-7 gap-0.5">'), ur = /* @__PURE__ */ c('<div><button type=button class="flex w-full items-center justify-between gap-2 rounded-md border border-input bg-background px-3 py-2 text-left text-sm text-foreground outline-none transition-colors focus:border-ring focus:ring-2 focus:ring-ring/30 disabled:cursor-not-allowed disabled:opacity-50"><span>'), gr = /* @__PURE__ */ c("<span>"), fr = /* @__PURE__ */ c("<button type=button>");
303
+ const mr = ["Lu", "Ma", "Mi", "Ju", "Vi", "Sá", "Do"], at = ["enero", "febrero", "marzo", "abril", "mayo", "junio", "julio", "agosto", "septiembre", "octubre", "noviembre", "diciembre"];
304
+ function hr(e) {
305
+ const t = e.getFullYear(), l = `${e.getMonth() + 1}`.padStart(2, "0"), n = `${e.getDate()}`.padStart(2, "0");
306
+ return `${t}-${l}-${n}`;
307
+ }
308
+ function pe(e) {
309
+ const t = /^(\d{4})-(\d{2})-(\d{2})$/.exec(e);
310
+ return t ? new Date(Number(t[1]), Number(t[2]) - 1, Number(t[3])) : null;
311
+ }
312
+ function Re(e) {
313
+ const t = pe(e);
314
+ return t ? `${t.getDate()} ${at[t.getMonth()].slice(0, 3)} ${t.getFullYear()}` : null;
315
+ }
316
+ function ze(e, t) {
317
+ return e.getFullYear() === t.getFullYear() && e.getMonth() === t.getMonth() && e.getDate() === t.getDate();
318
+ }
319
+ function fl(e) {
320
+ const [t, l] = j(!1), n = pe(e.value) ?? /* @__PURE__ */ new Date(), [o, i] = j(n.getFullYear()), [s, g] = j(n.getMonth());
321
+ let m, d, b;
322
+ const [_, B] = j({
323
+ top: 0,
324
+ left: 0
325
+ }), L = 288, A = () => {
326
+ if (!d) return;
327
+ const f = d.getBoundingClientRect(), C = Math.max(8, Math.min(f.left, window.innerWidth - L - 8));
328
+ B({
329
+ top: f.bottom + 4,
330
+ left: C
331
+ });
332
+ }, P = () => {
333
+ if (e.disabled) return;
334
+ const f = pe(e.value) ?? /* @__PURE__ */ new Date();
335
+ i(f.getFullYear()), g(f.getMonth()), A(), l(!0);
336
+ }, V = () => l(!1), h = (f) => {
337
+ const C = f.target;
338
+ m && !m.contains(C) && b && !b.contains(C) && V();
339
+ }, w = (f) => {
340
+ f.key === "Escape" && V();
341
+ }, v = (f) => {
342
+ f ? (document.addEventListener("mousedown", h), document.addEventListener("keydown", w), window.addEventListener("scroll", V, !0), window.addEventListener("resize", V)) : (document.removeEventListener("mousedown", h), document.removeEventListener("keydown", w), window.removeEventListener("scroll", V, !0), window.removeEventListener("resize", V));
343
+ };
344
+ we(() => v(t())), ye(() => v(!1));
345
+ const x = () => {
346
+ const f = s();
347
+ f === 0 ? (g(11), i(o() - 1)) : g(f - 1);
348
+ }, y = () => {
349
+ const f = s();
350
+ f === 11 ? (g(0), i(o() + 1)) : g(f + 1);
351
+ }, k = Fe(() => {
352
+ const C = (new Date(o(), s(), 1).getDay() + 6) % 7, D = new Date(o(), s(), 1 - C), q = [];
353
+ for (let te = 0; te < 42; te++)
354
+ q.push(new Date(D.getFullYear(), D.getMonth(), D.getDate() + te));
355
+ return q;
356
+ }), $ = Fe(() => pe(e.value)), N = /* @__PURE__ */ new Date(), H = (f) => {
357
+ e.onChange(hr(f)), V();
358
+ };
359
+ return (() => {
360
+ var f = ur(), C = f.firstChild, D = C.firstChild, q = m;
361
+ typeof q == "function" ? X(q, f) : m = f, C.$$click = () => t() ? V() : P();
362
+ var te = d;
363
+ return typeof te == "function" ? X(te, C) : d = C, a(D, () => Re(e.value) ?? e.label ?? "Seleccionar fecha"), a(C, r(vt, {
364
+ class: "h-4 w-4 shrink-0 text-muted-foreground"
365
+ }), null), a(f, r(p, {
366
+ get when() {
367
+ return t();
368
+ },
369
+ get children() {
370
+ return r(mt, {
371
+ get children() {
372
+ var F = dr(), ie = F.firstChild, re = ie.firstChild, U = re.nextSibling, it = U.firstChild, Ee = U.nextSibling, Ie = ie.nextSibling, st = Ie.nextSibling, Le = b;
373
+ return typeof Le == "function" ? X(Le, F) : b = F, re.$$click = x, a(re, r(Ye, {
374
+ class: "h-4 w-4"
375
+ })), a(U, () => at[s()], it), a(U, o, null), Ee.$$click = y, a(Ee, r(Ge, {
376
+ class: "h-4 w-4"
377
+ })), a(Ie, r(z, {
378
+ each: mr,
379
+ children: (R) => (() => {
380
+ var Y = gr();
381
+ return a(Y, R), Y;
382
+ })()
383
+ })), a(st, r(z, {
384
+ get each() {
385
+ return k();
386
+ },
387
+ children: (R) => {
388
+ const Y = R.getMonth() === s(), K = () => {
389
+ const Z = $();
390
+ return Z ? ze(Z, R) : !1;
391
+ }, ct = ze(N, R);
392
+ return (() => {
393
+ var Z = fr();
394
+ return Z.$$click = () => H(R), a(Z, () => R.getDate()), S(() => G(Z, u("flex h-8 items-center justify-center rounded-md text-sm transition-colors", K() ? "bg-primary font-semibold text-primary-foreground" : "hover:bg-muted", !K() && !Y && "text-muted-foreground/50", !K() && Y && "text-foreground", !K() && ct && "ring-1 ring-inset ring-ring"))), Z;
395
+ })();
396
+ }
397
+ })), S((R) => {
398
+ var Y = `${_().top}px`, K = `${_().left}px`;
399
+ return Y !== R.e && oe(F, "top", R.e = Y), K !== R.t && oe(F, "left", R.t = K), R;
400
+ }, {
401
+ e: void 0,
402
+ t: void 0
403
+ }), F;
404
+ }
405
+ });
406
+ }
407
+ }), null), S((F) => {
408
+ var ie = u("relative", e.class), re = e.disabled, U = Re(e.value) ? "" : "text-muted-foreground";
409
+ return ie !== F.e && G(f, F.e = ie), re !== F.t && (C.disabled = F.t = re), U !== F.a && G(D, F.a = U), F;
410
+ }, {
411
+ e: void 0,
412
+ t: void 0,
413
+ a: void 0
414
+ }), f;
415
+ })();
416
+ }
417
+ ee(["click"]);
418
+ var br = /* @__PURE__ */ c('<p class="text-[12px] text-muted-foreground">'), xr = /* @__PURE__ */ c('<div class="sticky top-0 z-10 flex items-center justify-between border-b border-border bg-background/90 px-5 py-4 backdrop-blur"><div>'), vr = /* @__PURE__ */ c('<div class="fixed inset-0 z-50 flex justify-end">');
419
+ function ml(e) {
420
+ return r(T, {
421
+ get open() {
422
+ return e.open;
423
+ },
424
+ get onOpenChange() {
425
+ return e.onOpenChange;
426
+ },
427
+ get children() {
428
+ return r(T.Portal, {
429
+ get children() {
430
+ return [r(T.Overlay, {
431
+ class: "modal-overlay fixed inset-0 z-40 bg-black/50 backdrop-blur-[2px]"
432
+ }), (() => {
433
+ var t = vr();
434
+ return a(t, r(T.Content, {
435
+ get class() {
436
+ return u("drawer-content flex h-full w-full max-w-[520px] flex-col overflow-y-auto border-l border-border bg-glass shadow-2xl", e.class);
437
+ },
438
+ get children() {
439
+ return [r(p, {
440
+ get when() {
441
+ return e.title;
442
+ },
443
+ get children() {
444
+ var l = xr(), n = l.firstChild;
445
+ return a(n, r(T.Title, {
446
+ class: "text-[16px] font-bold leading-tight",
447
+ get children() {
448
+ return e.title;
449
+ }
450
+ }), null), a(n, r(p, {
451
+ get when() {
452
+ return e.subtitle;
453
+ },
454
+ get children() {
455
+ var o = br();
456
+ return a(o, () => e.subtitle), o;
457
+ }
458
+ }), null), a(l, r(T.CloseButton, {
459
+ class: "grid h-9 w-9 place-items-center rounded-lg text-muted-foreground transition hover:bg-muted hover:text-foreground",
460
+ "aria-label": "Cerrar",
461
+ get children() {
462
+ return r(Xe, {
463
+ class: "h-5 w-5"
464
+ });
465
+ }
466
+ }), null), l;
467
+ }
468
+ }), ae(() => e.children)];
469
+ }
470
+ })), t;
471
+ })()];
472
+ }
473
+ });
474
+ }
475
+ });
476
+ }
477
+ function hl(e) {
478
+ return (
479
+ // preventScroll defaults to true in Kobalte's menu — that locks page scroll
480
+ // (body overflow:hidden + scrollbar-width compensation) while the menu is
481
+ // open, which is wrong for a small contextual menu (it closes on scroll
482
+ // anyway). Dialogs (Modal/Drawer) keep the lock; a dropdown shouldn't.
483
+ r(ce, {
484
+ preventScroll: !1,
485
+ get children() {
486
+ return [r(ce.Trigger, {
487
+ get class() {
488
+ return u("inline-flex", e.class);
489
+ },
490
+ get "aria-label"() {
491
+ return e.label;
492
+ },
493
+ get children() {
494
+ return e.children;
495
+ }
496
+ }), r(ce.Portal, {
497
+ get children() {
498
+ return r(ce.Content, {
499
+ class: "z-50 min-w-[10rem] overflow-hidden rounded-md border border-border bg-card p-1 text-card-foreground shadow-sm",
500
+ get children() {
501
+ return r(z, {
502
+ get each() {
503
+ return e.items;
504
+ },
505
+ children: (t) => r(ce.Item, {
506
+ get class() {
507
+ return u("cursor-pointer select-none rounded-sm px-2 py-1.5 text-sm outline-none hover:bg-muted data-[disabled]:pointer-events-none data-[disabled]:opacity-50", t.destructive && "text-destructive");
508
+ },
509
+ get disabled() {
510
+ return t.disabled;
511
+ },
512
+ get onSelect() {
513
+ return t.onSelect;
514
+ },
515
+ get children() {
516
+ return t.label;
517
+ }
518
+ })
519
+ });
520
+ }
521
+ });
522
+ }
523
+ })];
524
+ }
525
+ })
526
+ );
527
+ }
528
+ var $r = /* @__PURE__ */ c('<p class="text-xs text-muted-foreground">'), pr = /* @__PURE__ */ c('<div role=button class="flex cursor-pointer flex-col items-center justify-center gap-2 rounded-xl border-2 border-dashed px-6 py-10 text-center transition"><p class="text-sm font-medium text-foreground"></p><input type=file class=hidden>');
529
+ function bl(e) {
530
+ const [t, l] = j(!1);
531
+ let n;
532
+ const o = (i) => {
533
+ if (e.disabled || !i) return;
534
+ const s = Array.from(i);
535
+ s.length && e.onFiles(s);
536
+ };
537
+ return (() => {
538
+ var i = pr(), s = i.firstChild, g = s.nextSibling;
539
+ i.addEventListener("drop", (d) => {
540
+ var b;
541
+ d.preventDefault(), l(!1), o((b = d.dataTransfer) == null ? void 0 : b.files);
542
+ }), i.addEventListener("dragleave", () => l(!1)), i.addEventListener("dragover", (d) => {
543
+ e.disabled || (d.preventDefault(), l(!0));
544
+ }), i.$$keydown = (d) => {
545
+ e.disabled || (d.key === "Enter" || d.key === " ") && (d.preventDefault(), n == null || n.click());
546
+ }, i.$$click = () => !e.disabled && (n == null ? void 0 : n.click()), a(i, r($t, {
547
+ class: "h-8 w-8 text-muted-foreground"
548
+ }), s), a(s, () => e.label ?? "Arrastra archivos aquí o haz clic para elegir"), a(i, r(p, {
549
+ get when() {
550
+ return e.hint;
551
+ },
552
+ get children() {
553
+ var d = $r();
554
+ return a(d, () => e.hint), d;
555
+ }
556
+ }), g), g.addEventListener("change", (d) => {
557
+ o(d.currentTarget.files), d.currentTarget.value = "";
558
+ });
559
+ var m = n;
560
+ return typeof m == "function" ? X(m, g) : n = g, S((d) => {
561
+ var b = e.disabled ? -1 : 0, _ = e.disabled, B = {
562
+ "border-ring bg-primary/5": t(),
563
+ "border-border bg-glass hover:border-ring/60": !t() && !e.disabled,
564
+ "cursor-not-allowed opacity-60": e.disabled
565
+ }, L = e.accept, A = e.multiple, P = e.disabled;
566
+ return b !== d.e && J(i, "tabindex", d.e = b), _ !== d.t && J(i, "aria-disabled", d.t = _), d.a = ht(i, B, d.a), L !== d.o && J(g, "accept", d.o = L), A !== d.i && (g.multiple = d.i = A), P !== d.n && (g.disabled = d.n = P), d;
567
+ }, {
568
+ e: void 0,
569
+ t: void 0,
570
+ a: void 0,
571
+ o: void 0,
572
+ i: void 0,
573
+ n: void 0
574
+ }), i;
575
+ })();
576
+ }
577
+ ee(["click", "keydown"]);
578
+ var wr = /* @__PURE__ */ c("<input>");
579
+ const yr = "w-full rounded-md border border-input bg-background text-foreground placeholder:text-muted-foreground px-3 py-2 text-sm outline-none transition-colors focus:border-ring focus:ring-2 focus:ring-ring/30 disabled:cursor-not-allowed disabled:opacity-50";
580
+ function xl(e) {
581
+ const [t, l] = M(e, ["value", "onInput", "class"]);
582
+ return (() => {
583
+ var n = wr();
584
+ return n.$$input = (o) => t.onInput(o.currentTarget.value), E(n, I({
585
+ get class() {
586
+ return u(yr, t.class);
587
+ },
588
+ get value() {
589
+ return t.value;
590
+ }
591
+ }, l), !1, !1), n;
592
+ })();
593
+ }
594
+ ee(["input"]);
595
+ var _r = /* @__PURE__ */ c('<div class="flex items-center justify-between border-b border-border p-6 pb-4">'), Pe = /* @__PURE__ */ c('<div class="p-6 pt-4">'), Cr = /* @__PURE__ */ c('<div class="fixed inset-0 z-50 flex items-center justify-center p-4">'), kr = /* @__PURE__ */ c('<div class="sticky top-0 z-10 flex items-center justify-between border-b border-border bg-background/85 px-6 py-4 backdrop-blur">'), Sr = /* @__PURE__ */ c('<div class="fixed inset-0 z-50 flex justify-end">');
596
+ function vl(e) {
597
+ const t = () => e.variant === "center";
598
+ return r(T, {
599
+ get open() {
600
+ return e.open;
601
+ },
602
+ get onOpenChange() {
603
+ return e.onOpenChange;
604
+ },
605
+ get children() {
606
+ return r(T.Portal, {
607
+ get children() {
608
+ return [r(T.Overlay, {
609
+ class: "modal-overlay fixed inset-0 z-40 bg-background/80 backdrop-blur-sm"
610
+ }), r(p, {
611
+ get when() {
612
+ return t();
613
+ },
614
+ get fallback() {
615
+ return (() => {
616
+ var l = Sr();
617
+ return a(l, r(T.Content, {
618
+ get class() {
619
+ return u("drawer-content bg-glass flex h-full w-full max-w-[520px] flex-col overflow-y-auto border-l border-border text-card-foreground shadow-2xl", e.class);
620
+ },
621
+ get children() {
622
+ return [r(p, {
623
+ get when() {
624
+ return e.title;
625
+ },
626
+ get children() {
627
+ var n = kr();
628
+ return a(n, r(T.Title, {
629
+ class: "text-lg font-semibold leading-none tracking-tight",
630
+ get children() {
631
+ return e.title;
632
+ }
633
+ }), null), a(n, r(T.CloseButton, {
634
+ class: "grid h-8 w-8 place-items-center rounded-lg text-muted-foreground transition hover:bg-muted hover:text-foreground",
635
+ "aria-label": "Cerrar",
636
+ get children() {
637
+ return r(Xe, {
638
+ class: "h-5 w-5"
639
+ });
640
+ }
641
+ }), null), n;
642
+ }
643
+ }), (() => {
644
+ var n = Pe();
645
+ return a(n, () => e.children), n;
646
+ })()];
647
+ }
648
+ })), l;
649
+ })();
650
+ },
651
+ get children() {
652
+ var l = Cr();
653
+ return a(l, r(T.Content, {
654
+ get class() {
655
+ return u("modal-content w-full max-w-lg rounded-xl border border-border bg-card text-card-foreground shadow-sm", e.class);
656
+ },
657
+ get children() {
658
+ return [r(p, {
659
+ get when() {
660
+ return e.title;
661
+ },
662
+ get children() {
663
+ var n = _r();
664
+ return a(n, r(T.Title, {
665
+ class: "text-lg font-semibold leading-none tracking-tight",
666
+ get children() {
667
+ return e.title;
668
+ }
669
+ }), null), a(n, r(T.CloseButton, {
670
+ class: "text-muted-foreground hover:text-foreground",
671
+ "aria-label": "Cerrar",
672
+ children: "✕"
673
+ }), null), n;
674
+ }
675
+ }), (() => {
676
+ var n = Pe();
677
+ return a(n, () => e.children), n;
678
+ })()];
679
+ }
680
+ })), l;
681
+ }
682
+ })];
683
+ }
684
+ });
685
+ }
686
+ });
687
+ }
688
+ var Tr = /* @__PURE__ */ c('<div class="flex items-center gap-2 text-[12px] text-muted-foreground">'), Mr = /* @__PURE__ */ c('<p class="mt-0.5 text-[13px] text-muted-foreground">'), Er = /* @__PURE__ */ c('<div class="flex items-center gap-2">'), Ir = /* @__PURE__ */ c('<div class="flex flex-col gap-4 sm:flex-row sm:items-end sm:justify-between"><div><h1 class="mt-1 text-2xl font-bold tracking-tight">'), Lr = /* @__PURE__ */ c("<span class=text-muted-foreground/60>/"), Fr = /* @__PURE__ */ c("<span>");
689
+ function $l(e) {
690
+ return (() => {
691
+ var t = Ir(), l = t.firstChild, n = l.firstChild;
692
+ return a(l, r(p, {
693
+ get when() {
694
+ var o;
695
+ return (o = e.breadcrumb) == null ? void 0 : o.length;
696
+ },
697
+ get children() {
698
+ var o = Tr();
699
+ return a(o, r(z, {
700
+ get each() {
701
+ return e.breadcrumb;
702
+ },
703
+ children: (i, s) => [r(p, {
704
+ get when() {
705
+ return s() > 0;
706
+ },
707
+ get children() {
708
+ return Lr();
709
+ }
710
+ }), (() => {
711
+ var g = Fr();
712
+ return a(g, i), S(() => {
713
+ var m;
714
+ return g.classList.toggle("text-foreground", s() === (((m = e.breadcrumb) == null ? void 0 : m.length) ?? 0) - 1);
715
+ }), g;
716
+ })()]
717
+ })), o;
718
+ }
719
+ }), n), a(n, () => e.title), a(l, r(p, {
720
+ get when() {
721
+ return e.subtitle;
722
+ },
723
+ get children() {
724
+ var o = Mr();
725
+ return a(o, () => e.subtitle), o;
726
+ }
727
+ }), null), a(t, r(p, {
728
+ get when() {
729
+ return e.actions;
730
+ },
731
+ get children() {
732
+ var o = Er();
733
+ return a(o, () => e.actions), o;
734
+ }
735
+ }), null), t;
736
+ })();
737
+ }
738
+ var Ar = /* @__PURE__ */ c('<div class="flex flex-col gap-3 border-t border-border p-3 sm:flex-row sm:items-center sm:justify-between"><div class="text-[12px] text-muted-foreground"></div><div class="flex items-center gap-1"><button type=button class="grid h-8 w-8 place-items-center rounded-lg border border-input transition hover:bg-muted disabled:pointer-events-none disabled:opacity-40"aria-label="Página anterior"></button><span class="px-2 font-mono text-[12px] tabular-nums">Página <!> de </span><button type=button class="grid h-8 w-8 place-items-center rounded-lg border border-input transition hover:bg-muted disabled:pointer-events-none disabled:opacity-40"aria-label="Página siguiente">');
739
+ function pl(e) {
740
+ return (() => {
741
+ var t = Ar(), l = t.firstChild, n = l.nextSibling, o = n.firstChild, i = o.nextSibling, s = i.firstChild, g = s.nextSibling;
742
+ g.nextSibling;
743
+ var m = i.nextSibling;
744
+ return a(l, () => e.summary), o.$$click = () => e.onChange(e.page - 1), a(o, r(Ye, {
745
+ class: "h-4 w-4"
746
+ })), a(i, () => e.page, g), a(i, () => e.totalPages, null), m.$$click = () => e.onChange(e.page + 1), a(m, r(Ge, {
747
+ class: "h-4 w-4"
748
+ })), S((d) => {
749
+ var b = e.page <= 1, _ = e.page >= e.totalPages;
750
+ return b !== d.e && (o.disabled = d.e = b), _ !== d.t && (m.disabled = d.t = _), d;
751
+ }, {
752
+ e: void 0,
753
+ t: void 0
754
+ }), t;
755
+ })();
756
+ }
757
+ ee(["click"]);
758
+ var Dr = /* @__PURE__ */ c("<select>");
759
+ const Rr = "w-full rounded-md border border-input bg-background text-foreground px-3 py-2 text-sm outline-none transition-colors focus:border-ring focus:ring-2 focus:ring-ring/30";
760
+ function wl(e) {
761
+ const [t, l] = M(e, ["value", "onChange", "class", "children"]);
762
+ let n;
763
+ return we(() => {
764
+ const o = t.value ?? "";
765
+ t.children, n && n.value !== o && (n.value = o);
766
+ }), (() => {
767
+ var o = Dr();
768
+ o.addEventListener("change", (s) => t.onChange(s.currentTarget.value));
769
+ var i = n;
770
+ return typeof i == "function" ? X(i, o) : n = o, E(o, I({
771
+ get class() {
772
+ return u(Rr, t.class);
773
+ },
774
+ get value() {
775
+ return t.value;
776
+ }
777
+ }, l), !1, !0), a(o, () => t.children), o;
778
+ })();
779
+ }
780
+ var zr = /* @__PURE__ */ c('<svg viewBox="0 0 24 24"fill=none role=status><circle class=opacity-25 cx=12 cy=12 r=10 stroke=currentColor stroke-width=4></circle><path class=opacity-75 fill=currentColor d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z">');
781
+ function Pr(e) {
782
+ return (() => {
783
+ var t = zr();
784
+ return S((l) => {
785
+ var n = u("h-5 w-5 animate-spin text-muted-foreground", e.class), o = e.label ?? "Cargando";
786
+ return n !== l.e && J(t, "class", l.e = n), o !== l.t && J(t, "aria-label", l.t = o), l;
787
+ }, {
788
+ e: void 0,
789
+ t: void 0
790
+ }), t;
791
+ })();
792
+ }
793
+ var Or = /* @__PURE__ */ c("<div>"), jr = /* @__PURE__ */ c('<div class=min-w-0><p class="truncate text-sm text-muted-foreground"></p><p class="truncate text-xl font-semibold tabular-nums text-foreground">');
794
+ const Br = {
795
+ primary: "bg-primary/15 text-primary",
796
+ success: "bg-emerald-500/15 text-emerald-600",
797
+ danger: "bg-rose-500/15 text-rose-600",
798
+ neutral: "bg-muted text-muted-foreground"
799
+ };
800
+ function yl(e) {
801
+ const t = nt(), l = Wt(() => e.value), n = () => (e.format ?? ((o) => String(Math.round(o))))(l());
802
+ return r(It.div, {
803
+ initial: t ? !1 : {
804
+ opacity: 0,
805
+ y: 8
806
+ },
807
+ animate: {
808
+ opacity: 1,
809
+ y: 0
810
+ },
811
+ get transition() {
812
+ return {
813
+ duration: t ? 0 : 0.32,
814
+ delay: t ? 0 : e.delay ?? 0,
815
+ easing: "ease-out"
816
+ };
817
+ },
818
+ get children() {
819
+ return r(ir, {
820
+ glass: !0,
821
+ glow: !0,
822
+ get class() {
823
+ return e.class;
824
+ },
825
+ get children() {
826
+ return r(sr, {
827
+ class: "flex items-center gap-4 p-5",
828
+ get children() {
829
+ return [r(p, {
830
+ get when() {
831
+ return e.icon;
832
+ },
833
+ get children() {
834
+ var o = Or();
835
+ return a(o, () => e.icon), S(() => G(o, u("flex h-11 w-11 shrink-0 items-center justify-center rounded-lg", Br[e.tone ?? "neutral"]))), o;
836
+ }
837
+ }), (() => {
838
+ var o = jr(), i = o.firstChild, s = i.nextSibling;
839
+ return a(i, () => e.label), a(s, n), o;
840
+ })()];
841
+ }
842
+ });
843
+ }
844
+ });
845
+ }
846
+ });
847
+ }
848
+ var Vr = /* @__PURE__ */ c('<div class="w-full overflow-x-auto"><table>'), Nr = /* @__PURE__ */ c("<thead>"), Yr = /* @__PURE__ */ c("<tbody>"), Gr = /* @__PURE__ */ c("<tr>"), Xr = /* @__PURE__ */ c("<th>"), Hr = /* @__PURE__ */ c("<td>");
849
+ function _l(e) {
850
+ const [t, l] = M(e, ["class", "children"]);
851
+ return (() => {
852
+ var n = Vr(), o = n.firstChild;
853
+ return E(o, I({
854
+ get class() {
855
+ return u("w-full border-collapse text-sm", t.class);
856
+ }
857
+ }, l), !1, !0), a(o, () => t.children), n;
858
+ })();
859
+ }
860
+ function Cl(e) {
861
+ const [t, l] = M(e, ["class", "children"]);
862
+ return (() => {
863
+ var n = Nr();
864
+ return E(n, I({
865
+ get class() {
866
+ return u("border-b border-border text-left text-muted-foreground", t.class);
867
+ }
868
+ }, l), !1, !0), a(n, () => t.children), n;
869
+ })();
870
+ }
871
+ function kl(e) {
872
+ const [t, l] = M(e, ["class", "children"]);
873
+ return (() => {
874
+ var n = Yr();
875
+ return E(n, I({
876
+ get class() {
877
+ return t.class;
878
+ }
879
+ }, l), !1, !0), a(n, () => t.children), n;
880
+ })();
881
+ }
882
+ function Sl(e) {
883
+ const [t, l] = M(e, ["class", "children"]);
884
+ return (() => {
885
+ var n = Gr();
886
+ return E(n, I({
887
+ get class() {
888
+ return u("border-b border-border last:border-0 hover:bg-muted/40", t.class);
889
+ }
890
+ }, l), !1, !0), a(n, () => t.children), n;
891
+ })();
892
+ }
893
+ function Tl(e) {
894
+ const [t, l] = M(e, ["class", "children"]);
895
+ return (() => {
896
+ var n = Xr();
897
+ return E(n, I({
898
+ get class() {
899
+ return u("px-3 py-2 text-xs font-semibold uppercase tracking-wide", t.class);
900
+ }
901
+ }, l), !1, !0), a(n, () => t.children), n;
902
+ })();
903
+ }
904
+ function Ml(e) {
905
+ const [t, l] = M(e, ["class", "children"]);
906
+ return (() => {
907
+ var n = Hr();
908
+ return E(n, I({
909
+ get class() {
910
+ return u("px-3 py-2 align-middle", t.class);
911
+ }
912
+ }, l), !1, !0), a(n, () => t.children), n;
913
+ })();
914
+ }
915
+ var qr = /* @__PURE__ */ c("<div><div style=position:relative;width:100%>"), Ur = /* @__PURE__ */ c("<div style=position:absolute;top:0;left:0;width:100%>");
916
+ function El(e) {
917
+ const [t, l] = j(), n = Lt({
918
+ get count() {
919
+ return e.each.length;
920
+ },
921
+ getScrollElement: () => t() ?? null,
922
+ estimateSize: (o) => typeof e.estimateSize == "function" ? e.estimateSize(o) : e.estimateSize,
923
+ get overscan() {
924
+ return e.overscan ?? 10;
925
+ }
926
+ });
927
+ return Qt(t, l), (() => {
928
+ var o = qr(), i = o.firstChild;
929
+ return X(l, o), a(i, r(z, {
930
+ get each() {
931
+ return n.getVirtualItems();
932
+ },
933
+ children: (s) => (() => {
934
+ var g = Ur();
935
+ return a(g, () => e.children(e.each[s.index], () => s.index)), S((m) => {
936
+ var d = `${s.size}px`, b = `translateY(${s.start}px)`;
937
+ return d !== m.e && oe(g, "height", m.e = d), b !== m.t && oe(g, "transform", m.t = b), m;
938
+ }, {
939
+ e: void 0,
940
+ t: void 0
941
+ }), g;
942
+ })()
943
+ })), S((s) => {
944
+ var g = u("overflow-auto", e.class), m = `${n.getTotalSize()}px`;
945
+ return g !== s.e && G(o, s.e = g), m !== s.t && oe(i, "height", s.t = m), s;
946
+ }, {
947
+ e: void 0,
948
+ t: void 0
949
+ }), o;
950
+ })();
951
+ }
952
+ function Il(e) {
953
+ return r(de, {
954
+ get value() {
955
+ return e.value;
956
+ },
957
+ get onChange() {
958
+ return e.onChange;
959
+ },
960
+ get class() {
961
+ return e.class;
962
+ },
963
+ get children() {
964
+ return [r(de.List, {
965
+ class: "flex gap-1 border-b border-border",
966
+ get children() {
967
+ return [r(z, {
968
+ get each() {
969
+ return e.items;
970
+ },
971
+ children: (t) => r(de.Trigger, {
972
+ get value() {
973
+ return t.value;
974
+ },
975
+ get class() {
976
+ return u("px-3 py-2 text-sm font-medium text-muted-foreground transition-colors hover:text-foreground", "data-[selected]:text-foreground");
977
+ },
978
+ get children() {
979
+ return t.label;
980
+ }
981
+ })
982
+ }), r(de.Indicator, {
983
+ class: "absolute bottom-0 h-0.5 bg-primary transition-all"
984
+ })];
985
+ }
986
+ }), r(z, {
987
+ get each() {
988
+ return e.items;
989
+ },
990
+ children: (t) => r(de.Content, {
991
+ get value() {
992
+ return t.value;
993
+ },
994
+ class: "py-4",
995
+ get children() {
996
+ return t.content;
997
+ }
998
+ })
999
+ })];
1000
+ }
1001
+ });
1002
+ }
1003
+ var Kr = /* @__PURE__ */ c("<div class=flex-1>");
1004
+ const Zr = {
1005
+ success: "border-emerald-500/30 bg-emerald-500/10",
1006
+ error: "border-destructive/30 bg-destructive/10",
1007
+ info: "border-sky-500/30 bg-sky-500/10"
1008
+ };
1009
+ function ke(e, t, l) {
1010
+ Ft.show((n) => r(le, {
1011
+ get toastId() {
1012
+ return n.toastId;
1013
+ },
1014
+ get class() {
1015
+ return u(
1016
+ // toast-item drives the slide+fade keyframes in styles.css, keyed off
1017
+ // Kobalte's data-opened/data-closed presence (same animationend-only
1018
+ // mechanism as Modal).
1019
+ "toast-item flex w-full items-start gap-2 rounded-md border bg-card p-3 text-sm text-card-foreground shadow-sm ring-1 ring-border",
1020
+ Zr[e]
1021
+ );
1022
+ },
1023
+ get children() {
1024
+ return [(() => {
1025
+ var o = Kr();
1026
+ return a(o, r(le.Title, {
1027
+ class: "font-semibold",
1028
+ children: t
1029
+ }), null), a(o, r(p, {
1030
+ when: l,
1031
+ get children() {
1032
+ return r(le.Description, {
1033
+ class: "text-muted-foreground",
1034
+ children: l
1035
+ });
1036
+ }
1037
+ }), null), o;
1038
+ })(), r(le.CloseButton, {
1039
+ class: "text-muted-foreground hover:text-foreground",
1040
+ "aria-label": "Cerrar",
1041
+ children: "✕"
1042
+ })];
1043
+ }
1044
+ }));
1045
+ }
1046
+ const Ll = {
1047
+ success: (e, t) => ke("success", e, t),
1048
+ error: (e, t) => ke("error", e, t),
1049
+ info: (e, t) => ke("info", e, t)
1050
+ };
1051
+ function Fl() {
1052
+ return r(le.Region, {
1053
+ duration: 5e3,
1054
+ swipeDirection: "right",
1055
+ get children() {
1056
+ return r(le.List, {
1057
+ class: "fixed bottom-4 right-4 z-50 flex w-80 flex-col gap-2 outline-none"
1058
+ });
1059
+ }
1060
+ });
1061
+ }
1062
+ function Al(e) {
1063
+ return r(ue, {
1064
+ get checked() {
1065
+ return e.checked;
1066
+ },
1067
+ get onChange() {
1068
+ return e.onChange;
1069
+ },
1070
+ get disabled() {
1071
+ return e.disabled;
1072
+ },
1073
+ get class() {
1074
+ return u("inline-flex items-center gap-2", e.class);
1075
+ },
1076
+ get children() {
1077
+ return [r(ue.Input, {}), r(ue.Control, {
1078
+ class: "inline-flex h-5 w-9 shrink-0 items-center rounded-full bg-input px-0.5 transition-colors data-[checked]:bg-primary data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50",
1079
+ get children() {
1080
+ return r(ue.Thumb, {
1081
+ class: "h-4 w-4 rounded-full bg-white shadow-sm transition-transform data-[checked]:translate-x-4"
1082
+ });
1083
+ }
1084
+ }), r(p, {
1085
+ get when() {
1086
+ return e.label;
1087
+ },
1088
+ get children() {
1089
+ return r(ue.Label, {
1090
+ class: "text-sm text-foreground",
1091
+ get children() {
1092
+ return e.label;
1093
+ }
1094
+ });
1095
+ }
1096
+ })];
1097
+ }
1098
+ });
1099
+ }
1100
+ function Dl(e) {
1101
+ return r(W, {
1102
+ get value() {
1103
+ return e.value;
1104
+ },
1105
+ get onChange() {
1106
+ return e.onChange;
1107
+ },
1108
+ get class() {
1109
+ return u("flex flex-col gap-2", e.class);
1110
+ },
1111
+ get children() {
1112
+ return [r(p, {
1113
+ get when() {
1114
+ return e.label;
1115
+ },
1116
+ get children() {
1117
+ return r(W.Label, {
1118
+ class: "text-sm font-medium text-foreground",
1119
+ get children() {
1120
+ return e.label;
1121
+ }
1122
+ });
1123
+ }
1124
+ }), r(z, {
1125
+ get each() {
1126
+ return e.options;
1127
+ },
1128
+ children: (t) => r(W.Item, {
1129
+ get value() {
1130
+ return t.value;
1131
+ },
1132
+ get disabled() {
1133
+ return t.disabled;
1134
+ },
1135
+ class: "flex items-center gap-2 text-sm text-foreground data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50",
1136
+ get children() {
1137
+ return [r(W.ItemInput, {}), r(W.ItemControl, {
1138
+ class: "grid h-4 w-4 place-items-center rounded-full border border-input transition-colors data-[checked]:border-primary",
1139
+ get children() {
1140
+ return r(W.ItemIndicator, {
1141
+ class: "h-2 w-2 rounded-full bg-primary"
1142
+ });
1143
+ }
1144
+ }), r(W.ItemLabel, {
1145
+ get children() {
1146
+ return t.label;
1147
+ }
1148
+ })];
1149
+ }
1150
+ })
1151
+ })];
1152
+ }
1153
+ });
1154
+ }
1155
+ var Wr = /* @__PURE__ */ c("<textarea>");
1156
+ const Qr = "w-full min-h-[80px] resize-y rounded-md border border-input bg-background text-foreground placeholder:text-muted-foreground px-3 py-2 text-sm outline-none transition-colors focus:border-ring focus:ring-2 focus:ring-ring/30 disabled:cursor-not-allowed disabled:opacity-50";
1157
+ function Rl(e) {
1158
+ const [t, l] = M(e, ["value", "onInput", "class"]);
1159
+ return (() => {
1160
+ var n = Wr();
1161
+ return n.$$input = (o) => t.onInput(o.currentTarget.value), E(n, I({
1162
+ get class() {
1163
+ return u(Qr, t.class);
1164
+ },
1165
+ get value() {
1166
+ return t.value;
1167
+ }
1168
+ }, l), !1, !1), n;
1169
+ })();
1170
+ }
1171
+ ee(["input"]);
1172
+ function zl(e) {
1173
+ return r(ge, {
1174
+ get children() {
1175
+ return [r(ge.Trigger, {
1176
+ class: "inline-flex",
1177
+ get children() {
1178
+ return e.children;
1179
+ }
1180
+ }), r(ge.Portal, {
1181
+ get children() {
1182
+ return r(ge.Content, {
1183
+ get class() {
1184
+ return u("z-50 rounded-md border border-border bg-card px-2.5 py-1.5 text-xs text-card-foreground shadow-md", e.class);
1185
+ },
1186
+ get children() {
1187
+ return [r(ge.Arrow, {}), ae(() => e.content)];
1188
+ }
1189
+ });
1190
+ }
1191
+ })];
1192
+ }
1193
+ });
1194
+ }
1195
+ function Pl(e) {
1196
+ return r(fe, {
1197
+ get children() {
1198
+ return [r(fe.Trigger, {
1199
+ class: "inline-flex",
1200
+ get children() {
1201
+ return e.trigger;
1202
+ }
1203
+ }), r(fe.Portal, {
1204
+ get children() {
1205
+ return r(fe.Content, {
1206
+ get class() {
1207
+ return u("bg-glass z-50 rounded-lg border border-border p-4 text-card-foreground shadow-lg", e.class);
1208
+ },
1209
+ get children() {
1210
+ return [r(fe.Arrow, {}), ae(() => e.children)];
1211
+ }
1212
+ });
1213
+ }
1214
+ })];
1215
+ }
1216
+ });
1217
+ }
1218
+ function Ol(e) {
1219
+ return r(me, {
1220
+ get children() {
1221
+ return [r(me.Trigger, {
1222
+ class: "inline-flex",
1223
+ get children() {
1224
+ return e.trigger;
1225
+ }
1226
+ }), r(me.Portal, {
1227
+ get children() {
1228
+ return r(me.Content, {
1229
+ get class() {
1230
+ return u("bg-glass z-50 rounded-lg border border-border p-4 text-card-foreground shadow-lg", e.class);
1231
+ },
1232
+ get children() {
1233
+ return [r(me.Arrow, {}), ae(() => e.children)];
1234
+ }
1235
+ });
1236
+ }
1237
+ })];
1238
+ }
1239
+ });
1240
+ }
1241
+ var Jr = /* @__PURE__ */ c("<p class=font-semibold>"), en = /* @__PURE__ */ c("<div class=flex-1><div class=text-muted-foreground>");
1242
+ const tn = {
1243
+ info: {
1244
+ wrap: "border-sky-500/30 bg-sky-500/10",
1245
+ icon: "text-sky-500",
1246
+ Icon: _t
1247
+ },
1248
+ success: {
1249
+ wrap: "border-emerald-500/30 bg-emerald-500/10",
1250
+ icon: "text-emerald-500",
1251
+ Icon: yt
1252
+ },
1253
+ warning: {
1254
+ wrap: "border-amber-500/30 bg-amber-500/10",
1255
+ icon: "text-amber-500",
1256
+ Icon: wt
1257
+ },
1258
+ danger: {
1259
+ wrap: "border-rose-500/30 bg-rose-500/10",
1260
+ icon: "text-rose-500",
1261
+ Icon: pt
1262
+ }
1263
+ };
1264
+ function jl(e) {
1265
+ const t = () => tn[e.tone ?? "info"];
1266
+ return r(At, {
1267
+ get class() {
1268
+ return u("flex gap-3 rounded-lg border p-3 text-sm text-foreground", t().wrap, e.class);
1269
+ },
1270
+ get children() {
1271
+ return [r(bt, {
1272
+ get component() {
1273
+ return t().Icon;
1274
+ },
1275
+ get class() {
1276
+ return u("mt-0.5 h-4 w-4 shrink-0", t().icon);
1277
+ }
1278
+ }), (() => {
1279
+ var l = en(), n = l.firstChild;
1280
+ return a(l, r(p, {
1281
+ get when() {
1282
+ return e.title;
1283
+ },
1284
+ get children() {
1285
+ var o = Jr();
1286
+ return a(o, () => e.title), o;
1287
+ }
1288
+ }), n), a(n, () => e.children), l;
1289
+ })()];
1290
+ }
1291
+ });
1292
+ }
1293
+ function Bl(e) {
1294
+ return r(_e, {
1295
+ get class() {
1296
+ return u("inline-flex h-9 w-9 shrink-0 overflow-hidden rounded-full bg-muted", e.class);
1297
+ },
1298
+ get children() {
1299
+ return [r(_e.Img, {
1300
+ get src() {
1301
+ return e.src;
1302
+ },
1303
+ get alt() {
1304
+ return e.alt;
1305
+ },
1306
+ class: "h-full w-full object-cover"
1307
+ }), r(_e.Fallback, {
1308
+ class: "grid h-full w-full place-items-center text-xs font-medium text-muted-foreground",
1309
+ get children() {
1310
+ return e.fallback;
1311
+ }
1312
+ })];
1313
+ }
1314
+ });
1315
+ }
1316
+ var rn = /* @__PURE__ */ c("<div>");
1317
+ function Vl(e) {
1318
+ return (() => {
1319
+ var t = rn();
1320
+ return S(() => G(t, u("animate-pulse rounded-md bg-muted", e.class))), t;
1321
+ })();
1322
+ }
1323
+ function Nl(e) {
1324
+ const t = () => e.orientation ?? "horizontal";
1325
+ return r(Dt, {
1326
+ get orientation() {
1327
+ return t();
1328
+ },
1329
+ get class() {
1330
+ return u("bg-border", t() === "vertical" ? "w-px self-stretch" : "h-px w-full", e.class);
1331
+ }
1332
+ });
1333
+ }
1334
+ var nn = /* @__PURE__ */ c('<div class="flex items-center justify-between text-sm text-foreground">');
1335
+ function Yl(e) {
1336
+ return r(he, {
1337
+ get value() {
1338
+ return e.value;
1339
+ },
1340
+ minValue: 0,
1341
+ get maxValue() {
1342
+ return e.max ?? 100;
1343
+ },
1344
+ get class() {
1345
+ return u("flex flex-col gap-1.5", e.class);
1346
+ },
1347
+ get children() {
1348
+ return [r(p, {
1349
+ get when() {
1350
+ return e.label;
1351
+ },
1352
+ get children() {
1353
+ var t = nn();
1354
+ return a(t, r(he.Label, {
1355
+ get children() {
1356
+ return e.label;
1357
+ }
1358
+ }), null), a(t, r(he.ValueLabel, {
1359
+ class: "text-muted-foreground"
1360
+ }), null), t;
1361
+ }
1362
+ }), r(he.Track, {
1363
+ class: "h-2 overflow-hidden rounded-full bg-muted",
1364
+ get children() {
1365
+ return r(he.Fill, {
1366
+ class: "h-full rounded-full bg-primary transition-all"
1367
+ });
1368
+ }
1369
+ })];
1370
+ }
1371
+ });
1372
+ }
1373
+ var ln = /* @__PURE__ */ c('<div class="flex items-center justify-between text-sm text-foreground">');
1374
+ function Gl(e) {
1375
+ return r(be, {
1376
+ get value() {
1377
+ return e.value;
1378
+ },
1379
+ minValue: 0,
1380
+ get maxValue() {
1381
+ return e.max ?? 100;
1382
+ },
1383
+ get class() {
1384
+ return u("flex flex-col gap-1.5", e.class);
1385
+ },
1386
+ get children() {
1387
+ return [r(p, {
1388
+ get when() {
1389
+ return e.label;
1390
+ },
1391
+ get children() {
1392
+ var t = ln();
1393
+ return a(t, r(be.Label, {
1394
+ get children() {
1395
+ return e.label;
1396
+ }
1397
+ }), null), a(t, r(be.ValueLabel, {
1398
+ class: "text-muted-foreground"
1399
+ }), null), t;
1400
+ }
1401
+ }), r(be.Track, {
1402
+ class: "h-2 overflow-hidden rounded-full bg-muted",
1403
+ get children() {
1404
+ return r(be.Fill, {
1405
+ class: "h-full rounded-full bg-primary transition-all"
1406
+ });
1407
+ }
1408
+ })];
1409
+ }
1410
+ });
1411
+ }
1412
+ var on = /* @__PURE__ */ c('<div class="flex items-center justify-between text-sm text-foreground">');
1413
+ function Xl(e) {
1414
+ return r(Q, {
1415
+ get value() {
1416
+ return [e.value];
1417
+ },
1418
+ onChange: (t) => e.onChange(t[0]),
1419
+ get minValue() {
1420
+ return e.min ?? 0;
1421
+ },
1422
+ get maxValue() {
1423
+ return e.max ?? 100;
1424
+ },
1425
+ get step() {
1426
+ return e.step ?? 1;
1427
+ },
1428
+ get class() {
1429
+ return u("flex flex-col gap-2", e.class);
1430
+ },
1431
+ get children() {
1432
+ return [r(p, {
1433
+ get when() {
1434
+ return e.label;
1435
+ },
1436
+ get children() {
1437
+ var t = on();
1438
+ return a(t, r(Q.Label, {
1439
+ get children() {
1440
+ return e.label;
1441
+ }
1442
+ }), null), a(t, r(Q.ValueLabel, {
1443
+ class: "text-muted-foreground"
1444
+ }), null), t;
1445
+ }
1446
+ }), r(Q.Track, {
1447
+ class: "relative h-1.5 w-full rounded-full bg-muted",
1448
+ get children() {
1449
+ return [r(Q.Fill, {
1450
+ class: "absolute h-full rounded-full bg-primary"
1451
+ }), r(Q.Thumb, {
1452
+ class: "-top-1.5 block h-4 w-4 rounded-full bg-primary outline-none focus:ring-2 focus:ring-ring/40",
1453
+ get children() {
1454
+ return r(Q.Input, {});
1455
+ }
1456
+ })];
1457
+ }
1458
+ })];
1459
+ }
1460
+ });
1461
+ }
1462
+ const Oe = "grid h-9 w-9 shrink-0 place-items-center border border-input bg-background text-foreground transition-colors hover:bg-muted disabled:cursor-not-allowed disabled:opacity-50";
1463
+ function Hl(e) {
1464
+ return r($e, {
1465
+ get rawValue() {
1466
+ return e.value;
1467
+ },
1468
+ onRawValueChange: (t) => e.onChange(t),
1469
+ get minValue() {
1470
+ return e.min;
1471
+ },
1472
+ get maxValue() {
1473
+ return e.max;
1474
+ },
1475
+ get class() {
1476
+ return u("inline-flex items-stretch", e.class);
1477
+ },
1478
+ get children() {
1479
+ return [r($e.DecrementTrigger, {
1480
+ get class() {
1481
+ return u(Oe, "rounded-l-md");
1482
+ },
1483
+ "aria-label": "Decrement",
1484
+ children: "−"
1485
+ }), r($e.Input, {
1486
+ class: "w-16 border-y border-input bg-background px-3 py-2 text-center text-sm text-foreground outline-none transition-colors focus:border-ring focus:ring-2 focus:ring-ring/30"
1487
+ }), r($e.IncrementTrigger, {
1488
+ get class() {
1489
+ return u(Oe, "rounded-r-md");
1490
+ },
1491
+ "aria-label": "Increment",
1492
+ children: "+"
1493
+ })];
1494
+ }
1495
+ });
1496
+ }
1497
+ function ql(e) {
1498
+ return r(Rt, {
1499
+ get pressed() {
1500
+ return e.pressed;
1501
+ },
1502
+ get onChange() {
1503
+ return e.onChange;
1504
+ },
1505
+ get class() {
1506
+ return u(
1507
+ // Outlined at rest so it reads as a button; filled primary when pressed
1508
+ // so the "on" state is unmistakable (the resting muted look alone made it
1509
+ // look like stray text).
1510
+ "inline-flex h-9 w-9 items-center justify-center rounded-md border border-border text-muted-foreground transition-colors hover:bg-muted hover:text-foreground data-[pressed]:border-primary data-[pressed]:bg-primary data-[pressed]:text-primary-foreground",
1511
+ e.class
1512
+ );
1513
+ },
1514
+ get children() {
1515
+ return e.children;
1516
+ }
1517
+ });
1518
+ }
1519
+ function Ul(e) {
1520
+ return r(Ae, {
1521
+ get value() {
1522
+ return e.value;
1523
+ },
1524
+ get onChange() {
1525
+ return e.onChange;
1526
+ },
1527
+ get class() {
1528
+ return u("inline-flex gap-1 rounded-md border border-border bg-card p-1", e.class);
1529
+ },
1530
+ get children() {
1531
+ return r(z, {
1532
+ get each() {
1533
+ return e.options;
1534
+ },
1535
+ children: (t) => r(Ae.Item, {
1536
+ get value() {
1537
+ return t.value;
1538
+ },
1539
+ class: "rounded-sm px-3 py-1.5 text-sm font-medium text-muted-foreground transition-colors hover:text-foreground data-[pressed]:bg-primary data-[pressed]:text-primary-foreground",
1540
+ get children() {
1541
+ return t.label;
1542
+ }
1543
+ })
1544
+ });
1545
+ }
1546
+ });
1547
+ }
1548
+ function Kl(e) {
1549
+ return r(xe, {
1550
+ get value() {
1551
+ return e.value;
1552
+ },
1553
+ get onChange() {
1554
+ return e.onChange;
1555
+ },
1556
+ get class() {
1557
+ return u("relative inline-flex rounded-md border border-border bg-card p-1", e.class);
1558
+ },
1559
+ get children() {
1560
+ return [r(xe.Indicator, {
1561
+ class: "absolute rounded-sm bg-primary shadow-sm transition-all"
1562
+ }), r(z, {
1563
+ get each() {
1564
+ return e.options;
1565
+ },
1566
+ children: (t) => r(xe.Item, {
1567
+ get value() {
1568
+ return t.value;
1569
+ },
1570
+ class: "relative z-10 flex cursor-pointer items-center px-3 py-1.5 text-sm font-medium text-muted-foreground transition-colors data-[selected]:text-primary-foreground",
1571
+ get children() {
1572
+ return [r(xe.ItemInput, {}), r(xe.ItemLabel, {
1573
+ get children() {
1574
+ return t.label;
1575
+ }
1576
+ })];
1577
+ }
1578
+ })
1579
+ })];
1580
+ }
1581
+ });
1582
+ }
1583
+ var an = /* @__PURE__ */ c('<ol class="flex items-center gap-2 text-muted-foreground">'), sn = /* @__PURE__ */ c('<li class="flex items-center gap-2">'), cn = /* @__PURE__ */ c("<span>");
1584
+ function Zl(e) {
1585
+ return r(Ce, {
1586
+ get class() {
1587
+ return u("text-sm", e.class);
1588
+ },
1589
+ get children() {
1590
+ var t = an();
1591
+ return a(t, r(z, {
1592
+ get each() {
1593
+ return e.items;
1594
+ },
1595
+ children: (l, n) => {
1596
+ const o = () => n() === e.items.length - 1;
1597
+ return (() => {
1598
+ var i = sn();
1599
+ return a(i, r(p, {
1600
+ get when() {
1601
+ return ae(() => !!l.href)() && !o();
1602
+ },
1603
+ get fallback() {
1604
+ return (() => {
1605
+ var s = cn();
1606
+ return a(s, () => l.label), S(() => G(s, o() ? "font-medium text-foreground" : void 0)), s;
1607
+ })();
1608
+ },
1609
+ get children() {
1610
+ return r(Ce.Link, {
1611
+ get href() {
1612
+ return l.href;
1613
+ },
1614
+ class: "transition-colors hover:text-foreground",
1615
+ get children() {
1616
+ return l.label;
1617
+ }
1618
+ });
1619
+ }
1620
+ }), null), a(i, r(p, {
1621
+ get when() {
1622
+ return !o();
1623
+ },
1624
+ get children() {
1625
+ return r(Ce.Separator, {
1626
+ class: "text-muted-foreground/60"
1627
+ });
1628
+ }
1629
+ }), null), i;
1630
+ })();
1631
+ }
1632
+ })), t;
1633
+ }
1634
+ });
1635
+ }
1636
+ var dn = /* @__PURE__ */ c("<div class=p-6>"), un = /* @__PURE__ */ c('<div class="fixed inset-0 z-50 flex items-center justify-center p-4">');
1637
+ function Wl(e) {
1638
+ return r(ne, {
1639
+ get open() {
1640
+ return e.open;
1641
+ },
1642
+ get onOpenChange() {
1643
+ return e.onOpenChange;
1644
+ },
1645
+ get children() {
1646
+ return r(ne.Portal, {
1647
+ get children() {
1648
+ return [r(ne.Overlay, {
1649
+ class: "modal-overlay fixed inset-0 z-40 bg-background/80 backdrop-blur-sm"
1650
+ }), (() => {
1651
+ var t = un();
1652
+ return a(t, r(ne.Content, {
1653
+ get class() {
1654
+ return u("modal-content w-full max-w-md rounded-xl border border-border bg-card text-card-foreground shadow-sm", e.class);
1655
+ },
1656
+ get children() {
1657
+ var l = dn();
1658
+ return a(l, r(p, {
1659
+ get when() {
1660
+ return e.title;
1661
+ },
1662
+ get children() {
1663
+ return r(ne.Title, {
1664
+ class: "text-lg font-semibold leading-none tracking-tight",
1665
+ get children() {
1666
+ return e.title;
1667
+ }
1668
+ });
1669
+ }
1670
+ }), null), a(l, r(ne.Description, {
1671
+ class: "mt-3 text-sm text-muted-foreground",
1672
+ get children() {
1673
+ return e.children;
1674
+ }
1675
+ }), null), l;
1676
+ }
1677
+ })), t;
1678
+ })()];
1679
+ }
1680
+ });
1681
+ }
1682
+ });
1683
+ }
1684
+ function Ql(e) {
1685
+ return r(ve, {
1686
+ get children() {
1687
+ return [r(ve.Trigger, {
1688
+ get class() {
1689
+ return u("inline-flex", e.class);
1690
+ },
1691
+ get children() {
1692
+ return e.children;
1693
+ }
1694
+ }), r(ve.Portal, {
1695
+ get children() {
1696
+ return r(ve.Content, {
1697
+ class: "z-50 min-w-[10rem] overflow-hidden rounded-md border border-border bg-card p-1 text-card-foreground shadow-sm",
1698
+ get children() {
1699
+ return r(z, {
1700
+ get each() {
1701
+ return e.items;
1702
+ },
1703
+ children: (t) => r(ve.Item, {
1704
+ get class() {
1705
+ return u("cursor-pointer select-none rounded-sm px-2 py-1.5 text-sm outline-none hover:bg-muted data-[disabled]:pointer-events-none data-[disabled]:opacity-50", t.destructive && "text-destructive");
1706
+ },
1707
+ get disabled() {
1708
+ return t.disabled;
1709
+ },
1710
+ get onSelect() {
1711
+ return t.onSelect;
1712
+ },
1713
+ get children() {
1714
+ return t.label;
1715
+ }
1716
+ })
1717
+ });
1718
+ }
1719
+ });
1720
+ }
1721
+ })];
1722
+ }
1723
+ });
1724
+ }
1725
+ function Jl(e) {
1726
+ return r(O, {
1727
+ get options() {
1728
+ return e.options;
1729
+ },
1730
+ get value() {
1731
+ return e.value;
1732
+ },
1733
+ onChange: (t) => e.onChange(t ?? ""),
1734
+ get placeholder() {
1735
+ return e.placeholder;
1736
+ },
1737
+ get class() {
1738
+ return u("w-full", e.class);
1739
+ },
1740
+ itemComponent: (t) => r(O.Item, {
1741
+ get item() {
1742
+ return t.item;
1743
+ },
1744
+ class: "flex cursor-pointer select-none items-center justify-between rounded-sm px-2 py-1.5 text-sm outline-none data-[highlighted]:bg-muted",
1745
+ get children() {
1746
+ return [r(O.ItemLabel, {
1747
+ get children() {
1748
+ return t.item.rawValue;
1749
+ }
1750
+ }), r(O.ItemIndicator, {
1751
+ get children() {
1752
+ return r(kt, {
1753
+ class: "h-4 w-4"
1754
+ });
1755
+ }
1756
+ })];
1757
+ }
1758
+ }),
1759
+ get children() {
1760
+ return [r(O.Control, {
1761
+ class: "flex w-full items-center rounded-md border border-input bg-background text-foreground transition-colors focus-within:border-ring focus-within:ring-2 focus-within:ring-ring/30",
1762
+ get children() {
1763
+ return [r(O.Input, {
1764
+ class: "w-full bg-transparent px-3 py-2 text-sm outline-none placeholder:text-muted-foreground"
1765
+ }), r(O.Trigger, {
1766
+ class: "grid h-9 w-9 shrink-0 place-items-center text-muted-foreground",
1767
+ get children() {
1768
+ return r(O.Icon, {
1769
+ get children() {
1770
+ return r(Ct, {
1771
+ class: "h-4 w-4"
1772
+ });
1773
+ }
1774
+ });
1775
+ }
1776
+ })];
1777
+ }
1778
+ }), r(O.Portal, {
1779
+ get children() {
1780
+ return r(O.Content, {
1781
+ class: "z-50 overflow-hidden rounded-md border border-border bg-card p-1 text-card-foreground shadow-sm",
1782
+ get children() {
1783
+ return r(O.Listbox, {
1784
+ class: "max-h-60 overflow-y-auto"
1785
+ });
1786
+ }
1787
+ });
1788
+ }
1789
+ })];
1790
+ }
1791
+ });
1792
+ }
1793
+ var gn = /* @__PURE__ */ c('<div id=space aria-hidden=true><div class=sky></div><div class=aurora></div><div id=starfield></div><svg class=constellation viewBox="0 0 260 170"style=position:absolute;top:6%;left:58%;width:260px;height:170px><g class=cline fill=none stroke="hsl(199 89% 75%)"stroke-width=2><line x1=12 y1=120 x2=70 y2=60></line><line x1=70 y1=60 x2=140 y2=80></line><line x1=140 y1=80 x2=205 y2=30></line><line x1=140 y1=80 x2=170 y2=140></line></g><g class=cdot fill=hsl(var(--foreground))><circle cx=12 cy=120 r=3.6></circle><circle cx=70 cy=60 r=4.2></circle><circle cx=140 cy=80 r=3.6></circle><circle cx=205 cy=30 r=3.8></circle><circle cx=170 cy=140 r=3.4></circle></g></svg><svg class=constellation viewBox="0 0 200 130"style=position:absolute;bottom:8%;left:10%;width:200px;height:130px><g class=cline fill=none stroke="hsl(199 89% 75%)"stroke-width=2><line x1=10 y1=20 x2=60 y2=55></line><line x1=60 y1=55 x2=120 y2=40></line><line x1=120 y1=40 x2=180 y2=90></line></g><g class=cdot fill=hsl(var(--foreground))><circle cx=10 cy=20 r=3.4></circle><circle cx=60 cy=55 r=4></circle><circle cx=120 cy=40 r=3.6></circle><circle cx=180 cy=90 r=3.8></circle></g></svg><div class="floaty slow"style=position:absolute;top:88px;right:-30px><div class=planet style="width:120px;height:120px;background:radial-gradient(circle at 32% 28%, hsl(217 91% 68%), hsl(217 80% 42%) 70%, hsl(222 60% 24%));opacity:.7;box-shadow:0 0 60px hsl(217 91% 60% / .35)"></div></div><div class=floaty style=position:absolute;bottom:60px;left:-24px><div class=planet-glow style="width:72px;height:72px;background:radial-gradient(circle at 36% 30%, hsl(38 95% 70%), hsl(24 85% 48%) 72%, hsl(14 70% 30%));opacity:.6;box-shadow:0 0 44px hsl(38 92% 55% / .4)"></div></div><div class="floaty slow"style=position:absolute;top:52%;right:6%><div class=planet-glow style="width:26px;height:26px;background:radial-gradient(circle at 35% 30%, hsl(199 60% 90%), hsl(210 30% 62%));opacity:.5"></div></div><div id=cursorGlow style="position:absolute;width:520px;height:520px;border-radius:50%;background:radial-gradient(circle, hsl(217 91% 60% / .10), transparent 70%);transform:translate(-50%,-50%);opacity:0;transition:opacity .4s ease"></div><div id=satellite style="position:absolute;top:14%;left:-6%;transform:rotate(-18deg);filter:drop-shadow(0 0 4px hsl(199 89% 70% / .8))">');
1794
+ const je = [{
1795
+ angle: 22,
1796
+ x: [0, 32],
1797
+ y: [-6, 18]
1798
+ }, {
1799
+ angle: -24,
1800
+ x: [0, 32],
1801
+ y: [55, 82]
1802
+ }, {
1803
+ angle: 158,
1804
+ x: [62, 96],
1805
+ y: [-6, 22]
1806
+ }, {
1807
+ angle: 202,
1808
+ x: [62, 96],
1809
+ y: [52, 80]
1810
+ }], fn = ["255,255,255", "180,210,255", "255,228,170", "210,185,255", "165,230,255"], mn = ["198,146,28", "176,120,18", "214,162,46", "160,110,28", "190,134,34"], hn = `<svg viewBox="0 0 24 82" width="100%" height="100%" style="display:block;overflow:visible">
1811
+ <g class="rk-flame">
1812
+ <path d="M8.5 31 C 8 50, 11 70, 12 80 C 13 70, 16 50, 15.5 31 Z" fill="#ff6a00" opacity="0.8"/>
1813
+ <path d="M9.6 31 C 9.4 47, 11.2 60, 12 70 C 12.8 60, 14.6 47, 14.4 31 Z" fill="#ffb020" opacity="0.95"/>
1814
+ <path d="M10.6 31 C 10.6 43, 11.6 52, 12 60 C 12.4 52, 13.4 43, 13.4 31 Z" fill="#fff2b0"/>
1815
+ </g>
1816
+ <path d="M12 2 C 16 8, 16 20, 15 32 L 9 32 C 8 20, 8 8, 12 2 Z" fill="#e6edf7"/>
1817
+ <path d="M12 2 C 15 8, 15 13, 14.6 15 L 9.4 15 C 9 13, 9 8, 12 2 Z" fill="#ef5a3a"/>
1818
+ <path d="M9 26 L 4.6 34 L 9 31 Z" fill="#ef5a3a"/>
1819
+ <path d="M15 26 L 19.4 34 L 15 31 Z" fill="#ef5a3a"/>
1820
+ <circle cx="12" cy="19" r="2.3" fill="#8fd0ff" stroke="#2f6aa8" stroke-width="1"/>
1821
+ </svg>`, bn = 66, xn = 7;
1822
+ function vn(e) {
1823
+ const t = Math.random, l = () => e[Math.floor(t() * e.length)];
1824
+ let n = "";
1825
+ for (let o = 0; o < bn; o++) {
1826
+ const i = t() < 0.12, s = i ? 3 + t() * 1.8 : 1.2 + t() * 1.8, g = i ? 0.85 + t() * 0.15 : 0.3 + t() * 0.55, m = i ? 6 + t() * 8 : 1.5 + t() * 4, d = l(), b = t() < 0.4 ? `animation:twinkle ${(2.6 + t() * 3.5).toFixed(1)}s ease-in-out ${(t() * 4).toFixed(1)}s infinite;` : "";
1827
+ n += `<span style="position:absolute;left:${(t() * 100).toFixed(2)}%;top:${(t() * 100).toFixed(2)}%;width:${s.toFixed(1)}px;height:${s.toFixed(1)}px;border-radius:50%;background:rgba(${d},${g.toFixed(2)});box-shadow:0 0 ${m.toFixed(1)}px rgba(${d},${(g * 0.8).toFixed(2)});${b}"></span>`;
1828
+ }
1829
+ for (let o = 0; o < xn; o++) {
1830
+ const i = l(), s = (1.8 + t() * 1.8).toFixed(1), g = (0.7 + t() * 0.3).toFixed(2), m = (4 + t() * 6).toFixed(1), d = (4 + t() * 86).toFixed(1), b = t() < 0.5, _ = b ? "106%" : "-6%", B = b ? "-118vw" : "118vw", L = `${((t() * 2 - 1) * 16).toFixed(1)}vh`, A = 34 + t() * 34, P = (-t() * A).toFixed(1);
1831
+ n += `<span style="position:absolute;left:${_};top:${d}%;width:${s}px;height:${s}px;border-radius:50%;background:rgba(${i},${g});box-shadow:0 0 ${m}px rgba(${i},${(Number(g) * 0.8).toFixed(2)});--dx:${B};--dy:${L};animation:starDrift ${A.toFixed(1)}s linear ${P}s infinite;"></span>`;
1832
+ }
1833
+ return n;
1834
+ }
1835
+ function $n() {
1836
+ let e, t;
1837
+ const l = We();
1838
+ return we(() => {
1839
+ const n = l() === "light" ? mn : fn;
1840
+ t && (t.innerHTML = vn(n));
1841
+ }), Ne(() => {
1842
+ const n = [], o = [], i = (h, w, v, x) => {
1843
+ h.addEventListener(w, v, x), n.push(() => h.removeEventListener(w, v, x));
1844
+ };
1845
+ let s = 0, g = 0, m = 0;
1846
+ const d = () => {
1847
+ s = 0, t && (t.style.transform = `translate3d(${g.toFixed(1)}px, ${m.toFixed(1)}px, 0)`), e.querySelectorAll(".constellation").forEach((h) => {
1848
+ h.style.transform = `translate3d(${(g * 1.8).toFixed(1)}px, ${(m * 1.8).toFixed(1)}px, 0)`;
1849
+ });
1850
+ };
1851
+ let b = null, _ = null;
1852
+ const B = (h) => {
1853
+ if (Se() || h.gamma == null || h.beta == null) return;
1854
+ b === null && (b = h.gamma, _ = h.beta);
1855
+ const w = Math.max(-25, Math.min(25, h.gamma - b)), v = Math.max(-25, Math.min(25, h.beta - (_ ?? 0)));
1856
+ g = w / 25 * 16, m = v / 25 * 16, s || (s = requestAnimationFrame(d));
1857
+ }, L = window.DeviceOrientationEvent;
1858
+ if (L)
1859
+ if (typeof L.requestPermission == "function") {
1860
+ let h = !1;
1861
+ const w = () => {
1862
+ var v;
1863
+ h || (v = L.requestPermission) == null || v.call(L).then((x) => {
1864
+ x === "granted" && (h = !0, i(window, "deviceorientation", B));
1865
+ }).catch(() => {
1866
+ });
1867
+ };
1868
+ i(window, "click", w), i(window, "touchend", w);
1869
+ } else
1870
+ i(window, "deviceorientation", B);
1871
+ n.push(() => {
1872
+ s && cancelAnimationFrame(s);
1873
+ });
1874
+ const A = (h, w, v, x, y, k) => {
1875
+ const $ = document.createElement("div");
1876
+ $.className = "shooter", $.style.width = `${x}px`, $.style.left = h, $.style.top = w, e.appendChild($);
1877
+ const N = $.animate([{
1878
+ opacity: 0,
1879
+ transform: `rotate(${v}deg) translateX(0px) scaleX(.4)`
1880
+ }, {
1881
+ opacity: 1,
1882
+ transform: `rotate(${v}deg) translateX(${y * 0.35}px) scaleX(1)`,
1883
+ offset: 0.5
1884
+ }, {
1885
+ opacity: 0,
1886
+ transform: `rotate(${v}deg) translateX(${y}px) scaleX(1)`
1887
+ }], {
1888
+ duration: k,
1889
+ easing: "cubic-bezier(.3,0,.15,1)",
1890
+ fill: "forwards"
1891
+ });
1892
+ N.onfinish = () => $.remove(), o.push(window.setTimeout(() => $.remove(), k + 250));
1893
+ }, P = (h, w, v, x, y, k) => {
1894
+ const $ = document.createElement("div"), N = x * (82 / 24);
1895
+ $.style.cssText = `position:absolute;left:${h};top:${w};width:${x.toFixed(0)}px;height:${N.toFixed(0)}px;pointer-events:none;filter:drop-shadow(0 0 5px rgba(255,170,80,.55));`, $.innerHTML = hn, e.appendChild($);
1896
+ const H = v * Math.PI / 180, f = Math.cos(H) * y, C = Math.sin(H) * y, D = v + 90, q = $.animate([{
1897
+ opacity: 0,
1898
+ transform: `translate(0px,0px) rotate(${D}deg) scale(.5)`
1899
+ }, {
1900
+ opacity: 1,
1901
+ transform: `translate(${(f * 0.12).toFixed(0)}px,${(C * 0.12).toFixed(0)}px) rotate(${D}deg) scale(1)`,
1902
+ offset: 0.14
1903
+ }, {
1904
+ opacity: 1,
1905
+ transform: `translate(${(f * 0.82).toFixed(0)}px,${(C * 0.82).toFixed(0)}px) rotate(${D}deg) scale(1)`,
1906
+ offset: 0.82
1907
+ }, {
1908
+ opacity: 0,
1909
+ transform: `translate(${f.toFixed(0)}px,${C.toFixed(0)}px) rotate(${D}deg) scale(.85)`
1910
+ }], {
1911
+ duration: k,
1912
+ easing: "cubic-bezier(.25,0,.2,1)",
1913
+ fill: "forwards"
1914
+ });
1915
+ q.onfinish = () => $.remove(), o.push(window.setTimeout(() => $.remove(), k + 250));
1916
+ }, V = 'a, button, input, select, textarea, label, [role="button"], [role="tab"], [role="menuitem"], [role="dialog"], [contenteditable]';
1917
+ if (i(document, "click", ((h) => {
1918
+ var w, v;
1919
+ (v = (w = h.target) == null ? void 0 : w.closest) != null && v.call(w, V) || (l() === "light" ? P(
1920
+ `${h.clientX}px`,
1921
+ `${h.clientY}px`,
1922
+ -90 + (Math.random() * 80 - 40),
1923
+ // up-and-out from the click
1924
+ 16 + Math.random() * 10,
1925
+ 260 + Math.random() * 280,
1926
+ 950 + Math.random() * 700
1927
+ ) : A(`${h.clientX}px`, `${h.clientY}px`, Math.random() * 360, 80 + Math.random() * 120, 300 + Math.random() * 380, 700 + Math.random() * 700));
1928
+ })), !Se()) {
1929
+ const h = () => {
1930
+ if (l() === "light") {
1931
+ P(`${(5 + Math.random() * 90).toFixed(0)}vw`, "104vh", -90 + (Math.random() * 30 - 15), 13 + Math.random() * 9, window.innerHeight * (1.1 + Math.random() * 0.35), 5200 + Math.random() * 3500);
1932
+ return;
1933
+ }
1934
+ const x = je[Math.floor(Math.random() * je.length)];
1935
+ A(`${x.x[0] + Math.random() * (x.x[1] - x.x[0])}vw`, `${x.y[0] + Math.random() * (x.y[1] - x.y[0])}vh`, x.angle + (Math.random() * 16 - 8), 90 + Math.random() * 90, 380 + Math.random() * 300, 850 + Math.random() * 550);
1936
+ }, w = () => {
1937
+ h(), o.push(window.setTimeout(w, 4500 + Math.random() * 6e3));
1938
+ };
1939
+ o.push(window.setTimeout(w, 1500));
1940
+ const v = e.querySelector("#cursorGlow");
1941
+ i(document, "pointermove", ((x) => {
1942
+ var N, H;
1943
+ v && (v.style.opacity = "1", v.style.left = `${x.clientX}px`, v.style.top = `${x.clientY}px`);
1944
+ const y = x.target, k = (N = y == null ? void 0 : y.closest) == null ? void 0 : N.call(y, ".magnetic");
1945
+ if (k) {
1946
+ const f = k.getBoundingClientRect(), C = (x.clientX - (f.left + f.width / 2)) / f.width, D = (x.clientY - (f.top + f.height / 2)) / f.height;
1947
+ k.style.transform = `translate(${(C * 7).toFixed(1)}px, ${(D * 7).toFixed(1)}px)`;
1948
+ }
1949
+ const $ = (H = y == null ? void 0 : y.closest) == null ? void 0 : H.call(y, ".glow-edge");
1950
+ if ($) {
1951
+ const f = $.getBoundingClientRect();
1952
+ $.style.setProperty("--mx", `${x.clientX - f.left}px`), $.style.setProperty("--my", `${x.clientY - f.top}px`);
1953
+ }
1954
+ })), i(window, "pointerleave", (() => {
1955
+ v && (v.style.opacity = "0");
1956
+ })), i(document, "pointerout", ((x) => {
1957
+ var k, $;
1958
+ const y = ($ = (k = x.target) == null ? void 0 : k.closest) == null ? void 0 : $.call(k, ".magnetic");
1959
+ y && (y.style.transform = "");
1960
+ }));
1961
+ }
1962
+ ye(() => {
1963
+ n.forEach((h) => h()), o.forEach((h) => clearTimeout(h));
1964
+ });
1965
+ }), (() => {
1966
+ var n = gn(), o = n.firstChild, i = o.nextSibling, s = i.nextSibling, g = s.nextSibling, m = g.nextSibling, d = m.nextSibling;
1967
+ d.firstChild;
1968
+ var b = d.nextSibling;
1969
+ b.firstChild;
1970
+ var _ = b.nextSibling;
1971
+ _.firstChild;
1972
+ var B = _.nextSibling, L = B.nextSibling, A = e;
1973
+ typeof A == "function" ? X(A, n) : e = n;
1974
+ var P = t;
1975
+ return typeof P == "function" ? X(P, s) : t = s, a(L, r(St, {
1976
+ style: {
1977
+ width: "28px",
1978
+ height: "28px",
1979
+ color: "hsl(199 60% 88%)",
1980
+ opacity: ".85"
1981
+ }
1982
+ })), n;
1983
+ })();
1984
+ }
1985
+ var pn = /* @__PURE__ */ c('<div class="mx-auto max-w-md py-20 text-center"><p class="text-lg font-semibold">Algo salió mal al cargar esta página</p><p class="mt-1 break-words text-sm text-muted-foreground"></p><div class="mt-4 flex justify-center gap-2">'), wn = /* @__PURE__ */ c('<div class="relative min-h-screen"><div class="relative z-10 flex min-h-screen"><div class="flex min-w-0 flex-1 flex-col"><main class="mx-auto w-full min-w-0 flex-1 px-4 py-6 sm:px-6">'), yn = /* @__PURE__ */ c('<div class="flex justify-center py-24 text-muted-foreground">');
1986
+ function _n(e, t) {
1987
+ return (() => {
1988
+ var l = pn(), n = l.firstChild, o = n.nextSibling, i = o.nextSibling;
1989
+ return a(o, () => String((e == null ? void 0 : e.message) ?? e)), a(i, r(De, {
1990
+ variant: "outline",
1991
+ onClick: t,
1992
+ children: "Reintentar"
1993
+ }), null), a(i, r(De, {
1994
+ onClick: () => window.location.reload(),
1995
+ children: "Recargar"
1996
+ }), null), l;
1997
+ })();
1998
+ }
1999
+ function eo(e) {
2000
+ const t = (l, n) => (e.errorFallback ?? _n)(l, n);
2001
+ return (() => {
2002
+ var l = wn(), n = l.firstChild, o = n.firstChild, i = o.firstChild;
2003
+ return a(l, r(p, {
2004
+ get when() {
2005
+ return e.background !== null;
2006
+ },
2007
+ fallback: null,
2008
+ get children() {
2009
+ return e.background ?? r($n, {});
2010
+ }
2011
+ }), n), a(n, () => e.sidebar, o), a(o, () => e.banner, i), a(o, () => e.topbar, i), a(i, r(gt, {
2012
+ fallback: t,
2013
+ get children() {
2014
+ return r(ft, {
2015
+ get fallback() {
2016
+ return (() => {
2017
+ var s = yn();
2018
+ return a(s, r(Pr, {})), s;
2019
+ })();
2020
+ },
2021
+ get children() {
2022
+ return r(zt, {
2023
+ name: "page",
2024
+ mode: "outin",
2025
+ get children() {
2026
+ return e.children;
2027
+ }
2028
+ });
2029
+ }
2030
+ });
2031
+ }
2032
+ })), S((s) => oe(i, "max-width", e.maxWidth ?? "1400px")), l;
2033
+ })();
2034
+ }
2035
+ var Cn = /* @__PURE__ */ c('<button type=button class="grid h-9 w-9 place-items-center rounded-lg text-muted-foreground transition hover:bg-muted hover:text-foreground"aria-label="Cambiar tema"title="Cambiar tema claro/oscuro">');
2036
+ function to() {
2037
+ const e = We();
2038
+ return (() => {
2039
+ var t = Cn();
2040
+ return xt(t, "click", Nt, !0), a(t, r(p, {
2041
+ get when() {
2042
+ return e() === "dark";
2043
+ },
2044
+ get fallback() {
2045
+ return r(Mt, {
2046
+ class: "h-[18px] w-[18px]"
2047
+ });
2048
+ },
2049
+ get children() {
2050
+ return r(Tt, {
2051
+ class: "h-[18px] w-[18px]"
2052
+ });
2053
+ }
2054
+ })), t;
2055
+ })();
2056
+ }
2057
+ ee(["click"]);
2058
+ var kn = /* @__PURE__ */ c('<button type=button class="grid h-9 w-9 place-items-center rounded-lg text-muted-foreground transition hover:bg-muted hover:text-foreground aria-pressed:text-primary"aria-label="Efectos visuales">');
2059
+ function ro() {
2060
+ const e = Xt();
2061
+ return (() => {
2062
+ var t = kn();
2063
+ return t.$$click = () => qt(!e()), a(t, r(Et, {
2064
+ class: "h-[18px] w-[18px]"
2065
+ })), S((l) => {
2066
+ var n = e(), o = e() ? "Efectos visuales activos (vidrio + animaciones) — clic para modo calmado" : "Modo calmado (opaco, sin animaciones) — clic para activar efectos";
2067
+ return n !== l.e && J(t, "aria-pressed", l.e = n), o !== l.t && J(t, "title", l.t = o), l;
2068
+ }, {
2069
+ e: void 0,
2070
+ t: void 0
2071
+ }), t;
2072
+ })();
2073
+ }
2074
+ ee(["click"]);
2075
+ var Sn = /* @__PURE__ */ c('<details open class=group><summary class="mt-3 flex cursor-pointer list-none select-none items-center justify-between rounded-md px-3 py-1.5 text-xs font-semibold uppercase tracking-wide text-muted-foreground transition-colors hover:bg-muted hover:text-foreground [&amp;::-webkit-details-marker]:hidden"><span></span><svg class="h-3.5 w-3.5 shrink-0 transition-transform duration-200 group-[[open]]:rotate-90"viewBox="0 0 20 20"fill=none stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round><path d="M7 5l6 5-6 5"></path></svg></summary><div class="ml-4 mt-1 space-y-0.5 border-l border-border pl-2">');
2076
+ function no(e) {
2077
+ return (() => {
2078
+ var t = Sn(), l = t.firstChild, n = l.firstChild, o = l.nextSibling;
2079
+ return a(n, () => e.title), a(o, () => e.children), t;
2080
+ })();
2081
+ }
2082
+ const lo = "0.0.0";
2083
+ export {
2084
+ lo as A4UI_VERSION,
2085
+ sl as Accordion,
2086
+ jl as Alert,
2087
+ Wl as AlertDialog,
2088
+ eo as AppShell,
2089
+ Bl as Avatar,
2090
+ cl as Badge,
2091
+ Zl as Breadcrumb,
2092
+ De as Button,
2093
+ ir as Card,
2094
+ sr as CardContent,
2095
+ dl as CardHeader,
2096
+ ul as CardTitle,
2097
+ gl as Checkbox,
2098
+ Jl as Combobox,
2099
+ Ql as ContextMenu,
2100
+ fl as DateField,
2101
+ ml as Drawer,
2102
+ hl as Dropdown,
2103
+ bl as Dropzone,
2104
+ ro as EffectsToggle,
2105
+ Ol as HoverCard,
2106
+ xl as Input,
2107
+ Gl as Meter,
2108
+ vl as Modal,
2109
+ no as NavGroup,
2110
+ Hl as NumberInput,
2111
+ $l as PageHeader,
2112
+ pl as Pagination,
2113
+ Pl as Popover,
2114
+ Yl as Progress,
2115
+ Dl as RadioGroup,
2116
+ Kl as SegmentedControl,
2117
+ wl as Select,
2118
+ Nl as Separator,
2119
+ Vl as Skeleton,
2120
+ Xl as Slider,
2121
+ $n as SpaceBackground,
2122
+ Pr as Spinner,
2123
+ yl as Stat,
2124
+ Al as Switch,
2125
+ _l as Table,
2126
+ kl as TableBody,
2127
+ Ml as TableCell,
2128
+ Cl as TableHead,
2129
+ Tl as TableHeadCell,
2130
+ Sl as TableRow,
2131
+ Il as Tabs,
2132
+ Rl as Textarea,
2133
+ to as ThemeToggle,
2134
+ Fl as Toaster,
2135
+ ql as Toggle,
2136
+ Ul as ToggleGroup,
2137
+ zl as Tooltip,
2138
+ El as VirtualList,
2139
+ Ue as applyTheme,
2140
+ u as cn,
2141
+ Wt as createCountUp,
2142
+ Ht as isCalm,
2143
+ Se as motionReduced,
2144
+ nt as prefersReducedMotion,
2145
+ Qt as remeasureAfterLayout,
2146
+ qt as setEffects,
2147
+ al as setMotionForced,
2148
+ jt as setTheme,
2149
+ Ot as storedTheme,
2150
+ Ll as toast,
2151
+ Nt as toggleTheme,
2152
+ Bt as toggled,
2153
+ Xt as useEffects,
2154
+ il as useMediaQuery,
2155
+ ol as useMotionForced,
2156
+ We as useTheme
2157
+ };