@asteby/metacore-starter-core 9.0.0 → 11.0.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.
package/dist/index.js CHANGED
@@ -4,54 +4,55 @@ import { create as n } from "zustand";
4
4
  import { Toaster as r, toast as i } from "sonner";
5
5
  import a, { AxiosError as o } from "axios";
6
6
  import * as s from "react";
7
- import { createContext as c, useContext as l, useEffect as u, useRef as ee, useState as te } from "react";
8
- import * as d from "@radix-ui/react-accordion";
9
- import { Check as f, CheckIcon as p, ChevronDown as m, ChevronDownIcon as h, ChevronLeftIcon as ne, ChevronRightIcon as re, ChevronUpIcon as ie, ChevronsUpDown as ae, CircleIcon as oe, Image as se, Loader2 as ce, MinusIcon as le, PanelLeftIcon as ue, SearchIcon as de, X as fe, XIcon as pe } from "lucide-react";
10
- import { jsx as g, jsxs as _ } from "react/jsx-runtime";
11
- import { cva as v } from "class-variance-authority";
12
- import * as y from "@radix-ui/react-alert-dialog";
13
- import { Slot as b } from "@radix-ui/react-slot";
14
- import * as x from "@radix-ui/react-avatar";
7
+ import { Fragment as c, createContext as l, useContext as u, useEffect as d, useRef as ee, useState as f } from "react";
8
+ import * as p from "@radix-ui/react-accordion";
9
+ import { Check as m, CheckIcon as h, ChevronDown as g, ChevronDownIcon as _, ChevronLeftIcon as te, ChevronRightIcon as ne, ChevronUpIcon as re, ChevronsUpDown as ie, CircleIcon as ae, Image as oe, Loader2 as se, MinusIcon as ce, PanelLeftIcon as le, SearchIcon as ue, X as de, XIcon as fe } from "lucide-react";
10
+ import { Fragment as pe, jsx as v, jsxs as y } from "react/jsx-runtime";
11
+ import { cva as b } from "class-variance-authority";
12
+ import * as x from "@radix-ui/react-alert-dialog";
13
+ import { Slot as S } from "@radix-ui/react-slot";
14
+ import * as C from "@radix-ui/react-avatar";
15
15
  import { DayPicker as me, getDefaultClassNames as he } from "react-day-picker";
16
16
  import * as ge from "@radix-ui/react-checkbox";
17
- import * as S from "@radix-ui/react-collapsible";
18
- import { Command as C } from "cmdk";
19
- import * as w from "@radix-ui/react-dialog";
20
- import * as T from "@radix-ui/react-dropdown-menu";
17
+ import * as w from "@radix-ui/react-collapsible";
18
+ import { Command as T } from "cmdk";
19
+ import * as E from "@radix-ui/react-dialog";
20
+ import * as D from "@radix-ui/react-dropdown-menu";
21
21
  import { Controller as _e, FormProvider as ve, useFormContext as ye, useFormState as be } from "react-hook-form";
22
22
  import * as xe from "@radix-ui/react-label";
23
23
  import { OTPInput as Se, OTPInputContext as Ce } from "input-otp";
24
- import * as E from "@radix-ui/react-popover";
24
+ import * as O from "@radix-ui/react-popover";
25
25
  import * as we from "react-phone-number-input";
26
26
  import Te from "react-phone-number-input/flags";
27
- import * as D from "@radix-ui/react-scroll-area";
28
- import * as O from "@radix-ui/react-progress";
29
- import * as k from "@radix-ui/react-radio-group";
30
- import * as A from "@radix-ui/react-select";
27
+ import * as k from "@radix-ui/react-scroll-area";
28
+ import * as A from "@radix-ui/react-progress";
29
+ import * as j from "@radix-ui/react-radio-group";
30
+ import * as M from "@radix-ui/react-select";
31
31
  import * as Ee from "@radix-ui/react-separator";
32
- import * as j from "@radix-ui/react-tooltip";
32
+ import * as N from "@radix-ui/react-tooltip";
33
33
  import * as De from "@radix-ui/react-switch";
34
- import * as M from "@radix-ui/react-tabs";
34
+ import * as P from "@radix-ui/react-tabs";
35
+ import { useAddonLayout as Oe, useAddonLayoutControl as ke } from "@asteby/metacore-runtime-react";
35
36
  //#region src/lib/utils.ts
36
- function N(...n) {
37
+ function F(...n) {
37
38
  return t(e(n));
38
39
  }
39
- function Oe() {
40
+ function Ae() {
40
41
  return (globalThis.__METACORE_BACKEND_URL__ || "http://localhost:8080").replace(/\/api\/?$/, "").replace(/\/+$/, "");
41
42
  }
42
- function ke(e, t) {
43
+ function je(e, t) {
43
44
  if (!e) return "";
44
45
  if (e.startsWith("http://") || e.startsWith("https://")) return e;
45
- let n = Oe();
46
+ let n = Ae();
46
47
  return e.startsWith("/storage/") ? `${n}${e}` : `${n}/storage/${t}/${e}`;
47
48
  }
48
- function Ae(e) {
49
- return e ? e.startsWith("http://") || e.startsWith("https://") ? e : `${Oe()}${e.startsWith("/") ? e : `/${e}`}` : "";
49
+ function Me(e) {
50
+ return e ? e.startsWith("http://") || e.startsWith("https://") ? e : `${Ae()}${e.startsWith("/") ? e : `/${e}`}` : "";
50
51
  }
51
- function je(e = 1e3) {
52
+ function Ne(e = 1e3) {
52
53
  return new Promise((t) => setTimeout(t, e));
53
54
  }
54
- function Me(e, t) {
55
+ function Pe(e, t) {
55
56
  let n = [];
56
57
  if (t <= 5) for (let e = 1; e <= t; e++) n.push(e);
57
58
  else if (n.push(1), e <= 3) {
@@ -69,11 +70,11 @@ function Me(e, t) {
69
70
  }
70
71
  //#endregion
71
72
  //#region src/stores/auth-store.ts
72
- var P = "auth_token", F = "auth_user", I = n()((e) => {
73
- let t = localStorage.getItem(P) || "", n = localStorage.getItem(F);
73
+ var I = "auth_token", L = "auth_user", Fe = n()((e) => {
74
+ let t = localStorage.getItem(I) || "", n = localStorage.getItem(L);
74
75
  return { auth: {
75
76
  user: n ? JSON.parse(n) : null,
76
- setUser: (t) => e((e) => (t ? localStorage.setItem(F, JSON.stringify(t)) : localStorage.removeItem(F), {
77
+ setUser: (t) => e((e) => (t ? localStorage.setItem(L, JSON.stringify(t)) : localStorage.removeItem(L), {
77
78
  ...e,
78
79
  auth: {
79
80
  ...e.auth,
@@ -81,14 +82,14 @@ var P = "auth_token", F = "auth_user", I = n()((e) => {
81
82
  }
82
83
  })),
83
84
  accessToken: t,
84
- setAccessToken: (t) => e((e) => (localStorage.setItem(P, t), {
85
+ setAccessToken: (t) => e((e) => (localStorage.setItem(I, t), {
85
86
  ...e,
86
87
  auth: {
87
88
  ...e.auth,
88
89
  accessToken: t
89
90
  }
90
91
  })),
91
- resetAccessToken: () => e((e) => (localStorage.removeItem(P), localStorage.removeItem(F), {
92
+ resetAccessToken: () => e((e) => (localStorage.removeItem(I), localStorage.removeItem(L), {
92
93
  ...e,
93
94
  auth: {
94
95
  ...e.auth,
@@ -96,7 +97,7 @@ var P = "auth_token", F = "auth_user", I = n()((e) => {
96
97
  user: null
97
98
  }
98
99
  })),
99
- reset: () => e((e) => (localStorage.removeItem(P), localStorage.removeItem(F), {
100
+ reset: () => e((e) => (localStorage.removeItem(I), localStorage.removeItem(L), {
100
101
  ...e,
101
102
  auth: {
102
103
  ...e.auth,
@@ -105,7 +106,7 @@ var P = "auth_token", F = "auth_user", I = n()((e) => {
105
106
  }
106
107
  }))
107
108
  } };
108
- }), Ne = {
109
+ }), Ie = {
109
110
  PEN: "S/",
110
111
  VES: "Bs.",
111
112
  BOB: "Bs.",
@@ -125,7 +126,7 @@ var P = "auth_token", F = "auth_user", I = n()((e) => {
125
126
  EUR: "€",
126
127
  USD: "$"
127
128
  };
128
- function Pe(e, t = "USD", n = "es") {
129
+ function Le(e, t = "USD", n = "es") {
129
130
  try {
130
131
  return new Intl.NumberFormat(n, {
131
132
  style: "currency",
@@ -135,8 +136,8 @@ function Pe(e, t = "USD", n = "es") {
135
136
  return `${t} ${e}`;
136
137
  }
137
138
  }
138
- function Fe(e) {
139
- return Ne[e] || (typeof Intl < "u" ? new Intl.NumberFormat("en-US", {
139
+ function Re(e) {
140
+ return Ie[e] || (typeof Intl < "u" ? new Intl.NumberFormat("en-US", {
140
141
  style: "currency",
141
142
  currency: e,
142
143
  currencyDisplay: "narrowSymbol"
@@ -144,16 +145,16 @@ function Fe(e) {
144
145
  }
145
146
  //#endregion
146
147
  //#region src/lib/format.ts
147
- function Ie() {
148
- let e = I((e) => e.auth.user?.currency_code) || "USD";
149
- return (t) => Pe(t, e);
148
+ function ze() {
149
+ let e = Fe((e) => e.auth.user?.currency_code) || "USD";
150
+ return (t) => Le(t, e);
150
151
  }
151
- function Le(e) {
152
- return Pe(e, I.getState().auth.user?.currency_code || "USD");
152
+ function Be(e) {
153
+ return Le(e, Fe.getState().auth.user?.currency_code || "USD");
153
154
  }
154
155
  //#endregion
155
156
  //#region src/lib/date-utils.ts
156
- function Re() {
157
+ function Ve() {
157
158
  let e = typeof Intl < "u" && Intl.supportedValuesOf ? Intl.supportedValuesOf("timeZone") : [
158
159
  "UTC",
159
160
  "America/Mexico_City",
@@ -201,21 +202,21 @@ function Re() {
201
202
  }
202
203
  //#endregion
203
204
  //#region src/lib/countries.ts
204
- var ze = /* @__PURE__ */ "AR.AT.AU.AE.AL.AO.AZ.BA.BB.BD.BE.BG.BH.BO.BR.BS.BY.BZ.CA.CD.CH.CI.CL.CM.CN.CO.CR.CU.CY.CZ.DE.DK.DO.DZ.EC.EE.EG.ES.ET.SV.FI.FJ.FR.GB.GE.GH.GR.GT.GY.HK.HN.HR.HT.HU.ID.IE.IL.IN.IQ.IR.IS.IT.JM.JO.JP.KE.KH.KR.KW.KZ.LA.LB.LK.LT.LU.LV.LY.MA.MD.ME.MK.MM.MN.MT.MU.MX.MY.MZ.NG.NI.NL.NO.NP.NZ.OM.PA.PE.PG.PH.PK.PL.PR.PT.PY.QA.RO.RS.RU.RW.SA.SE.SG.SI.SK.SN.SR.TH.TN.TR.TT.TW.TZ.UA.UG.US.UY.UZ.VE.VN.ZA".split(".");
205
- function Be(e) {
205
+ var He = /* @__PURE__ */ "AR.AT.AU.AE.AL.AO.AZ.BA.BB.BD.BE.BG.BH.BO.BR.BS.BY.BZ.CA.CD.CH.CI.CL.CM.CN.CO.CR.CU.CY.CZ.DE.DK.DO.DZ.EC.EE.EG.ES.ET.SV.FI.FJ.FR.GB.GE.GH.GR.GT.GY.HK.HN.HR.HT.HU.ID.IE.IL.IN.IQ.IR.IS.IT.JM.JO.JP.KE.KH.KR.KW.KZ.LA.LB.LK.LT.LU.LV.LY.MA.MD.ME.MK.MM.MN.MT.MU.MX.MY.MZ.NG.NI.NL.NO.NP.NZ.OM.PA.PE.PG.PH.PK.PL.PR.PT.PY.QA.RO.RS.RU.RW.SA.SE.SG.SI.SK.SN.SR.TH.TN.TR.TT.TW.TZ.UA.UG.US.UY.UZ.VE.VN.ZA".split(".");
206
+ function Ue(e) {
206
207
  return String.fromCodePoint(...e.toUpperCase().split("").map((e) => 127462 + e.charCodeAt(0) - 65));
207
208
  }
208
- function Ve(e) {
209
+ function We(e) {
209
210
  let t = e || navigator.language || "es", n = new Intl.DisplayNames([t], { type: "region" });
210
- return ze.map((e) => ({
211
+ return He.map((e) => ({
211
212
  code: e,
212
213
  name: n.of(e) || e,
213
- flag: Be(e)
214
+ flag: Ue(e)
214
215
  })).sort((e, n) => e.name.localeCompare(n.name, t));
215
216
  }
216
217
  //#endregion
217
218
  //#region src/lib/option-colors.ts
218
- var He = {
219
+ var Ge = {
219
220
  red: "ef4444",
220
221
  orange: "f97316",
221
222
  amber: "f59e0b",
@@ -238,11 +239,11 @@ var He = {
238
239
  zinc: "71717a",
239
240
  neutral: "737373",
240
241
  stone: "78716c"
241
- }, Ue = (e) => e ? He[e.toLowerCase()] || e.replace("#", "") : "", We = (e) => {
242
- let t = Ue(e);
242
+ }, Ke = (e) => e ? Ge[e.toLowerCase()] || e.replace("#", "") : "", qe = (e) => {
243
+ let t = Ke(e);
243
244
  return t ? `#${t}` : "";
244
- }, Ge = (e, { isDark: t }) => {
245
- let n = Ue(e);
245
+ }, Je = (e, { isDark: t }) => {
246
+ let n = Ke(e);
246
247
  if (n.length < 6) return {};
247
248
  let r = parseInt(n.substring(0, 2), 16), i = parseInt(n.substring(2, 4), 16), a = parseInt(n.substring(4, 6), 16);
248
249
  return t ? {
@@ -256,21 +257,21 @@ var He = {
256
257
  border: `1px solid rgba(${r}, ${i}, ${a}, 0.25)`,
257
258
  fontWeight: 500
258
259
  };
259
- }, Ke = 3600 * 24 * 7;
260
- function qe(e) {
260
+ }, Ye = 3600 * 24 * 7;
261
+ function Xe(e) {
261
262
  if (typeof document > "u") return;
262
263
  let t = `; ${document.cookie}`.split(`; ${e}=`);
263
264
  if (t.length === 2) return t.pop()?.split(";").shift();
264
265
  }
265
- function Je(e, t, n = Ke) {
266
+ function Ze(e, t, n = Ye) {
266
267
  typeof document > "u" || (document.cookie = `${e}=${t}; path=/; max-age=${n}`);
267
268
  }
268
- function Ye(e) {
269
+ function Qe(e) {
269
270
  typeof document > "u" || (document.cookie = `${e}=; path=/; max-age=0`);
270
271
  }
271
272
  //#endregion
272
273
  //#region src/lib/sound.ts
273
- function Xe() {
274
+ function $e() {
274
275
  try {
275
276
  let e = window.AudioContext || window.webkitAudioContext;
276
277
  if (!e) return;
@@ -280,7 +281,7 @@ function Xe() {
280
281
  console.error("Error playing notification sound:", e);
281
282
  }
282
283
  }
283
- var Ze = new class {
284
+ var et = new class {
284
285
  permission = "default";
285
286
  constructor() {
286
287
  "Notification" in window && (this.permission = Notification.permission);
@@ -341,27 +342,27 @@ var Ze = new class {
341
342
  getPermission() {
342
343
  return this.permission;
343
344
  }
344
- }(), Qe = { language: "es" }, L = a.create({
345
+ }(), tt = { language: "es" }, R = a.create({
345
346
  baseURL: "/api",
346
347
  headers: { "Content-Type": "application/json" }
347
348
  });
348
- L.interceptors.request.use((e) => {
349
+ R.interceptors.request.use((e) => {
349
350
  let t = localStorage.getItem("auth_token");
350
- t && (e.headers.Authorization = `Bearer ${t}`), e.headers["Accept-Language"] = Qe.language || "es";
351
+ t && (e.headers.Authorization = `Bearer ${t}`), e.headers["Accept-Language"] = tt.language || "es";
351
352
  try {
352
353
  let t = JSON.parse(localStorage.getItem("current_branch") || "{}");
353
354
  t?.id && (e.headers["X-Branch-ID"] = t.id);
354
355
  } catch {}
355
356
  return e.data instanceof FormData && delete e.headers["Content-Type"], e;
356
- }), L.interceptors.response.use((e) => e, (e) => {
357
+ }), R.interceptors.response.use((e) => e, (e) => {
357
358
  let t = e.response?.status, n = e.response?.data, r = e.config?.method?.toUpperCase() + " " + e.config?.url, i = n?.message || n?.error || n?.title || e.message;
358
359
  if (console.error(`[API Error] ${r} → ${t}: ${i}`, n), t === 401) {
359
- let { reset: e } = I.getState().auth;
360
+ let { reset: e } = Fe.getState().auth;
360
361
  e(), window.location.href = "/sign-in";
361
362
  }
362
363
  return Promise.reject(e);
363
364
  });
364
- var $e = new class {
365
+ var nt = new class {
365
366
  vapidPublicKey = null;
366
367
  subscription = null;
367
368
  isSupported = !1;
@@ -374,7 +375,7 @@ var $e = new class {
374
375
  return;
375
376
  }
376
377
  try {
377
- let e = await L.get("/push/public-key");
378
+ let e = await R.get("/push/public-key");
378
379
  e.data?.publicKey && (this.vapidPublicKey = e.data.publicKey, console.log("✅ VAPID public key loaded"));
379
380
  let t = await navigator.serviceWorker.ready;
380
381
  this.subscription = await t.pushManager.getSubscription(), this.subscription && console.log("✅ Existing push subscription found");
@@ -393,7 +394,7 @@ var $e = new class {
393
394
  });
394
395
  this.subscription = e;
395
396
  let t = e.toJSON().keys;
396
- return await L.post("/push/subscribe", {
397
+ return await R.post("/push/subscribe", {
397
398
  endpoint: e.endpoint,
398
399
  p256dh: t.p256dh,
399
400
  auth: t.auth,
@@ -406,14 +407,14 @@ var $e = new class {
406
407
  async unsubscribe() {
407
408
  if (!this.subscription) return !0;
408
409
  try {
409
- return await this.subscription.unsubscribe(), await L.post("/push/unsubscribe", { endpoint: this.subscription.endpoint }), this.subscription = null, i.success("Notificaciones push desactivadas"), !0;
410
+ return await this.subscription.unsubscribe(), await R.post("/push/unsubscribe", { endpoint: this.subscription.endpoint }), this.subscription = null, i.success("Notificaciones push desactivadas"), !0;
410
411
  } catch (e) {
411
412
  return console.error("Failed to unsubscribe:", e), i.error("Error al desactivar notificaciones"), !1;
412
413
  }
413
414
  }
414
415
  async testNotification() {
415
416
  try {
416
- await L.post("/push/test"), i.success("Notificación de prueba enviada");
417
+ await R.post("/push/test"), i.success("Notificación de prueba enviada");
417
418
  } catch (e) {
418
419
  console.error("Failed to send test notification:", e), i.error("Error al enviar notificación de prueba");
419
420
  }
@@ -436,73 +437,73 @@ var $e = new class {
436
437
  }();
437
438
  //#endregion
438
439
  //#region src/lib/handle-server-error.ts
439
- function et(e) {
440
+ function rt(e) {
440
441
  console.log(e);
441
442
  let t = "Something went wrong!";
442
443
  e && typeof e == "object" && "status" in e && Number(e.status) === 204 && (t = "Content not found."), e instanceof o && (t = e.response?.data?.message || e.response?.data?.title || e.message), i.error(t);
443
444
  }
444
445
  //#endregion
445
446
  //#region src/components/ui/accordion.tsx
446
- var tt = d.Root, nt = s.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ g(d.Item, {
447
+ var it = p.Root, at = s.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(p.Item, {
447
448
  ref: n,
448
- className: N("border-b", e),
449
+ className: F("border-b", e),
449
450
  ...t
450
451
  }));
451
- nt.displayName = "AccordionItem";
452
- var rt = s.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ g(d.Header, {
452
+ at.displayName = "AccordionItem";
453
+ var ot = s.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ v(p.Header, {
453
454
  className: "flex",
454
- children: /* @__PURE__ */ _(d.Trigger, {
455
+ children: /* @__PURE__ */ y(p.Trigger, {
455
456
  ref: r,
456
- className: N("flex flex-1 items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180", e),
457
+ className: F("flex flex-1 items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180", e),
457
458
  ...n,
458
- children: [t, /* @__PURE__ */ g(m, { className: "h-4 w-4 shrink-0 transition-transform duration-200" })]
459
+ children: [t, /* @__PURE__ */ v(g, { className: "h-4 w-4 shrink-0 transition-transform duration-200" })]
459
460
  })
460
461
  }));
461
- rt.displayName = d.Trigger.displayName;
462
- var it = s.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ g(d.Content, {
462
+ ot.displayName = p.Trigger.displayName;
463
+ var st = s.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ v(p.Content, {
463
464
  ref: r,
464
465
  className: "overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",
465
466
  ...n,
466
- children: /* @__PURE__ */ g("div", {
467
- className: N("pb-4 pt-0", e),
467
+ children: /* @__PURE__ */ v("div", {
468
+ className: F("pb-4 pt-0", e),
468
469
  children: t
469
470
  })
470
471
  }));
471
- it.displayName = d.Content.displayName;
472
+ st.displayName = p.Content.displayName;
472
473
  //#endregion
473
474
  //#region src/components/ui/alert.tsx
474
- var at = v("relative w-full rounded-lg border px-4 py-3 text-sm grid has-[>svg]:grid-cols-[calc(var(--spacing)*4)_1fr] grid-cols-[0_1fr] has-[>svg]:gap-x-3 gap-y-0.5 items-start [&>svg]:size-4 [&>svg]:translate-y-0.5 [&>svg]:text-current", {
475
+ var ct = b("relative w-full rounded-lg border px-4 py-3 text-sm grid has-[>svg]:grid-cols-[calc(var(--spacing)*4)_1fr] grid-cols-[0_1fr] has-[>svg]:gap-x-3 gap-y-0.5 items-start [&>svg]:size-4 [&>svg]:translate-y-0.5 [&>svg]:text-current", {
475
476
  variants: { variant: {
476
477
  default: "bg-card text-card-foreground",
477
478
  destructive: "text-destructive bg-card [&>svg]:text-current *:data-[slot=alert-description]:text-destructive/90"
478
479
  } },
479
480
  defaultVariants: { variant: "default" }
480
481
  });
481
- function ot({ className: e, variant: t, ...n }) {
482
- return /* @__PURE__ */ g("div", {
482
+ function lt({ className: e, variant: t, ...n }) {
483
+ return /* @__PURE__ */ v("div", {
483
484
  "data-slot": "alert",
484
485
  role: "alert",
485
- className: N(at({ variant: t }), e),
486
+ className: F(ct({ variant: t }), e),
486
487
  ...n
487
488
  });
488
489
  }
489
- function st({ className: e, ...t }) {
490
- return /* @__PURE__ */ g("div", {
490
+ function ut({ className: e, ...t }) {
491
+ return /* @__PURE__ */ v("div", {
491
492
  "data-slot": "alert-title",
492
- className: N("col-start-2 line-clamp-1 min-h-4 font-medium tracking-tight", e),
493
+ className: F("col-start-2 line-clamp-1 min-h-4 font-medium tracking-tight", e),
493
494
  ...t
494
495
  });
495
496
  }
496
- function ct({ className: e, ...t }) {
497
- return /* @__PURE__ */ g("div", {
497
+ function dt({ className: e, ...t }) {
498
+ return /* @__PURE__ */ v("div", {
498
499
  "data-slot": "alert-description",
499
- className: N("text-muted-foreground col-start-2 grid justify-items-start gap-1 text-sm [&_p]:leading-relaxed", e),
500
+ className: F("text-muted-foreground col-start-2 grid justify-items-start gap-1 text-sm [&_p]:leading-relaxed", e),
500
501
  ...t
501
502
  });
502
503
  }
503
504
  //#endregion
504
505
  //#region src/components/ui/button.tsx
505
- var R = v("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive", {
506
+ var z = b("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive", {
506
507
  variants: {
507
508
  variant: {
508
509
  default: "bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",
@@ -524,10 +525,10 @@ var R = v("inline-flex items-center justify-center gap-2 whitespace-nowrap round
524
525
  size: "default"
525
526
  }
526
527
  });
527
- function z({ className: e, variant: t, size: n, asChild: r = !1, ...i }) {
528
- return /* @__PURE__ */ g(r ? b : "button", {
528
+ function B({ className: e, variant: t, size: n, asChild: r = !1, ...i }) {
529
+ return /* @__PURE__ */ v(r ? S : "button", {
529
530
  "data-slot": "button",
530
- className: N(R({
531
+ className: F(z({
531
532
  variant: t,
532
533
  size: n,
533
534
  className: e
@@ -537,104 +538,104 @@ function z({ className: e, variant: t, size: n, asChild: r = !1, ...i }) {
537
538
  }
538
539
  //#endregion
539
540
  //#region src/components/ui/alert-dialog.tsx
540
- function lt({ ...e }) {
541
- return /* @__PURE__ */ g(y.Root, {
541
+ function ft({ ...e }) {
542
+ return /* @__PURE__ */ v(x.Root, {
542
543
  "data-slot": "alert-dialog",
543
544
  ...e
544
545
  });
545
546
  }
546
- function ut({ ...e }) {
547
- return /* @__PURE__ */ g(y.Trigger, {
547
+ function pt({ ...e }) {
548
+ return /* @__PURE__ */ v(x.Trigger, {
548
549
  "data-slot": "alert-dialog-trigger",
549
550
  ...e
550
551
  });
551
552
  }
552
- function dt({ ...e }) {
553
- return /* @__PURE__ */ g(y.Portal, {
553
+ function mt({ ...e }) {
554
+ return /* @__PURE__ */ v(x.Portal, {
554
555
  "data-slot": "alert-dialog-portal",
555
556
  ...e
556
557
  });
557
558
  }
558
- function ft({ className: e, ...t }) {
559
- return /* @__PURE__ */ g(y.Overlay, {
559
+ function ht({ className: e, ...t }) {
560
+ return /* @__PURE__ */ v(x.Overlay, {
560
561
  "data-slot": "alert-dialog-overlay",
561
- className: N("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),
562
+ className: F("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),
562
563
  ...t
563
564
  });
564
565
  }
565
- function pt({ className: e, ...t }) {
566
- return /* @__PURE__ */ _(dt, { children: [/* @__PURE__ */ g(ft, {}), /* @__PURE__ */ g(y.Content, {
566
+ function gt({ className: e, ...t }) {
567
+ return /* @__PURE__ */ y(mt, { children: [/* @__PURE__ */ v(ht, {}), /* @__PURE__ */ v(x.Content, {
567
568
  "data-slot": "alert-dialog-content",
568
- className: N("bg-background 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 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg", e),
569
+ className: F("bg-background 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 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg", e),
569
570
  ...t
570
571
  })] });
571
572
  }
572
- function mt({ className: e, ...t }) {
573
- return /* @__PURE__ */ g("div", {
573
+ function _t({ className: e, ...t }) {
574
+ return /* @__PURE__ */ v("div", {
574
575
  "data-slot": "alert-dialog-header",
575
- className: N("flex flex-col gap-2 text-center sm:text-start", e),
576
+ className: F("flex flex-col gap-2 text-center sm:text-start", e),
576
577
  ...t
577
578
  });
578
579
  }
579
- function ht({ className: e, ...t }) {
580
- return /* @__PURE__ */ g("div", {
580
+ function vt({ className: e, ...t }) {
581
+ return /* @__PURE__ */ v("div", {
581
582
  "data-slot": "alert-dialog-footer",
582
- className: N("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", e),
583
+ className: F("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", e),
583
584
  ...t
584
585
  });
585
586
  }
586
- function gt({ className: e, ...t }) {
587
- return /* @__PURE__ */ g(y.Title, {
587
+ function yt({ className: e, ...t }) {
588
+ return /* @__PURE__ */ v(x.Title, {
588
589
  "data-slot": "alert-dialog-title",
589
- className: N("text-lg font-semibold", e),
590
+ className: F("text-lg font-semibold", e),
590
591
  ...t
591
592
  });
592
593
  }
593
- function _t({ className: e, ...t }) {
594
- return /* @__PURE__ */ g(y.Description, {
594
+ function bt({ className: e, ...t }) {
595
+ return /* @__PURE__ */ v(x.Description, {
595
596
  "data-slot": "alert-dialog-description",
596
- className: N("text-muted-foreground text-sm", e),
597
+ className: F("text-muted-foreground text-sm", e),
597
598
  ...t
598
599
  });
599
600
  }
600
- function vt({ className: e, ...t }) {
601
- return /* @__PURE__ */ g(y.Action, {
602
- className: N(R(), e),
601
+ function xt({ className: e, ...t }) {
602
+ return /* @__PURE__ */ v(x.Action, {
603
+ className: F(z(), e),
603
604
  ...t
604
605
  });
605
606
  }
606
- function yt({ className: e, ...t }) {
607
- return /* @__PURE__ */ g(y.Cancel, {
608
- className: N(R({ variant: "outline" }), e),
607
+ function St({ className: e, ...t }) {
608
+ return /* @__PURE__ */ v(x.Cancel, {
609
+ className: F(z({ variant: "outline" }), e),
609
610
  ...t
610
611
  });
611
612
  }
612
613
  //#endregion
613
614
  //#region src/components/ui/avatar.tsx
614
- function bt({ className: e, ...t }) {
615
- return /* @__PURE__ */ g(x.Root, {
615
+ function Ct({ className: e, ...t }) {
616
+ return /* @__PURE__ */ v(C.Root, {
616
617
  "data-slot": "avatar",
617
- className: N("relative flex size-8 shrink-0 overflow-hidden rounded-full", e),
618
+ className: F("relative flex size-8 shrink-0 overflow-hidden rounded-full", e),
618
619
  ...t
619
620
  });
620
621
  }
621
- function xt({ className: e, ...t }) {
622
- return /* @__PURE__ */ g(x.Image, {
622
+ function wt({ className: e, ...t }) {
623
+ return /* @__PURE__ */ v(C.Image, {
623
624
  "data-slot": "avatar-image",
624
- className: N("aspect-square size-full object-cover", e),
625
+ className: F("aspect-square size-full object-cover", e),
625
626
  ...t
626
627
  });
627
628
  }
628
- function St({ className: e, ...t }) {
629
- return /* @__PURE__ */ g(x.Fallback, {
629
+ function Tt({ className: e, ...t }) {
630
+ return /* @__PURE__ */ v(C.Fallback, {
630
631
  "data-slot": "avatar-fallback",
631
- className: N("bg-muted flex size-full items-center justify-center rounded-full", e),
632
+ className: F("bg-muted flex size-full items-center justify-center rounded-full", e),
632
633
  ...t
633
634
  });
634
635
  }
635
636
  //#endregion
636
637
  //#region src/components/ui/badge.tsx
637
- var Ct = v("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden", {
638
+ var Et = b("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden", {
638
639
  variants: { variant: {
639
640
  default: "border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",
640
641
  secondary: "border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",
@@ -643,68 +644,68 @@ var Ct = v("inline-flex items-center justify-center rounded-md border px-2 py-0.
643
644
  } },
644
645
  defaultVariants: { variant: "default" }
645
646
  });
646
- function wt({ className: e, variant: t, asChild: n = !1, ...r }) {
647
- return /* @__PURE__ */ g(n ? b : "span", {
647
+ function Dt({ className: e, variant: t, asChild: n = !1, ...r }) {
648
+ return /* @__PURE__ */ v(n ? S : "span", {
648
649
  "data-slot": "badge",
649
- className: N(Ct({ variant: t }), e),
650
+ className: F(Et({ variant: t }), e),
650
651
  ...r
651
652
  });
652
653
  }
653
654
  //#endregion
654
655
  //#region src/components/ui/calendar.tsx
655
- function Tt({ className: e, classNames: t, showOutsideDays: n = !0, captionLayout: r = "label", buttonVariant: i = "ghost", formatters: a, components: o, ...s }) {
656
+ function Ot({ className: e, classNames: t, showOutsideDays: n = !0, captionLayout: r = "label", buttonVariant: i = "ghost", formatters: a, components: o, ...s }) {
656
657
  let c = he();
657
- return /* @__PURE__ */ g(me, {
658
+ return /* @__PURE__ */ v(me, {
658
659
  showOutsideDays: n,
659
- className: N("bg-background group/calendar p-3 [--cell-size:--spacing(8)] [[data-slot=card-content]_&]:bg-transparent [[data-slot=popover-content]_&]:bg-transparent", String.raw`rtl:**:[.rdp-button\_next>svg]:rotate-180`, String.raw`rtl:**:[.rdp-button\_previous>svg]:rotate-180`, e),
660
+ className: F("bg-background group/calendar p-3 [--cell-size:--spacing(8)] [[data-slot=card-content]_&]:bg-transparent [[data-slot=popover-content]_&]:bg-transparent", String.raw`rtl:**:[.rdp-button\_next>svg]:rotate-180`, String.raw`rtl:**:[.rdp-button\_previous>svg]:rotate-180`, e),
660
661
  captionLayout: r,
661
662
  formatters: {
662
663
  formatMonthDropdown: (e) => e.toLocaleString("default", { month: "short" }),
663
664
  ...a
664
665
  },
665
666
  classNames: {
666
- root: N("w-fit", c.root),
667
- months: N("flex gap-4 flex-col md:flex-row relative", c.months),
668
- month: N("flex flex-col w-full gap-4", c.month),
669
- nav: N("flex items-center gap-1 w-full absolute top-0 inset-x-0 justify-between", c.nav),
670
- button_previous: N(R({ variant: i }), "size-(--cell-size) aria-disabled:opacity-50 p-0 select-none", c.button_previous),
671
- button_next: N(R({ variant: i }), "size-(--cell-size) aria-disabled:opacity-50 p-0 select-none", c.button_next),
672
- month_caption: N("flex items-center justify-center h-(--cell-size) w-full px-(--cell-size)", c.month_caption),
673
- dropdowns: N("w-full flex items-center text-sm font-medium justify-center h-(--cell-size) gap-1.5", c.dropdowns),
674
- dropdown_root: N("relative has-focus:border-ring border border-input shadow-xs has-focus:ring-ring/50 has-focus:ring-[3px] rounded-md", c.dropdown_root),
675
- dropdown: N("absolute bg-popover inset-0 opacity-0", c.dropdown),
676
- caption_label: N("select-none font-medium", r === "label" ? "text-sm" : "rounded-md ps-2 pe-1 flex items-center gap-1 text-sm h-8 [&>svg]:text-muted-foreground [&>svg]:size-3.5", c.caption_label),
667
+ root: F("w-fit", c.root),
668
+ months: F("flex gap-4 flex-col md:flex-row relative", c.months),
669
+ month: F("flex flex-col w-full gap-4", c.month),
670
+ nav: F("flex items-center gap-1 w-full absolute top-0 inset-x-0 justify-between", c.nav),
671
+ button_previous: F(z({ variant: i }), "size-(--cell-size) aria-disabled:opacity-50 p-0 select-none", c.button_previous),
672
+ button_next: F(z({ variant: i }), "size-(--cell-size) aria-disabled:opacity-50 p-0 select-none", c.button_next),
673
+ month_caption: F("flex items-center justify-center h-(--cell-size) w-full px-(--cell-size)", c.month_caption),
674
+ dropdowns: F("w-full flex items-center text-sm font-medium justify-center h-(--cell-size) gap-1.5", c.dropdowns),
675
+ dropdown_root: F("relative has-focus:border-ring border border-input shadow-xs has-focus:ring-ring/50 has-focus:ring-[3px] rounded-md", c.dropdown_root),
676
+ dropdown: F("absolute bg-popover inset-0 opacity-0", c.dropdown),
677
+ caption_label: F("select-none font-medium", r === "label" ? "text-sm" : "rounded-md ps-2 pe-1 flex items-center gap-1 text-sm h-8 [&>svg]:text-muted-foreground [&>svg]:size-3.5", c.caption_label),
677
678
  table: "w-full border-collapse",
678
- weekdays: N("flex", c.weekdays),
679
- weekday: N("text-muted-foreground rounded-md flex-1 font-normal text-[0.8rem] select-none", c.weekday),
680
- week: N("flex w-full mt-2", c.week),
681
- week_number_header: N("select-none w-(--cell-size)", c.week_number_header),
682
- week_number: N("text-[0.8rem] select-none text-muted-foreground", c.week_number),
683
- day: N("relative w-full h-full p-0 text-center [&:first-child[data-selected=true]_button]:rounded-l-md [&:last-child[data-selected=true]_button]:rounded-r-md group/day aspect-square select-none", c.day),
684
- range_start: N("rounded-l-md bg-accent", c.range_start),
685
- range_middle: N("rounded-none", c.range_middle),
686
- range_end: N("rounded-r-md bg-accent", c.range_end),
687
- today: N("bg-accent text-accent-foreground rounded-md data-[selected=true]:rounded-none", c.today),
688
- outside: N("text-muted-foreground aria-selected:text-muted-foreground", c.outside),
689
- disabled: N("text-muted-foreground opacity-50", c.disabled),
690
- hidden: N("invisible", c.hidden),
679
+ weekdays: F("flex", c.weekdays),
680
+ weekday: F("text-muted-foreground rounded-md flex-1 font-normal text-[0.8rem] select-none", c.weekday),
681
+ week: F("flex w-full mt-2", c.week),
682
+ week_number_header: F("select-none w-(--cell-size)", c.week_number_header),
683
+ week_number: F("text-[0.8rem] select-none text-muted-foreground", c.week_number),
684
+ day: F("relative w-full h-full p-0 text-center [&:first-child[data-selected=true]_button]:rounded-l-md [&:last-child[data-selected=true]_button]:rounded-r-md group/day aspect-square select-none", c.day),
685
+ range_start: F("rounded-l-md bg-accent", c.range_start),
686
+ range_middle: F("rounded-none", c.range_middle),
687
+ range_end: F("rounded-r-md bg-accent", c.range_end),
688
+ today: F("bg-accent text-accent-foreground rounded-md data-[selected=true]:rounded-none", c.today),
689
+ outside: F("text-muted-foreground aria-selected:text-muted-foreground", c.outside),
690
+ disabled: F("text-muted-foreground opacity-50", c.disabled),
691
+ hidden: F("invisible", c.hidden),
691
692
  ...t
692
693
  },
693
694
  components: {
694
- Root: ({ className: e, rootRef: t, ...n }) => /* @__PURE__ */ g("div", {
695
+ Root: ({ className: e, rootRef: t, ...n }) => /* @__PURE__ */ v("div", {
695
696
  "data-slot": "calendar",
696
697
  ref: t,
697
- className: N(e),
698
+ className: F(e),
698
699
  ...n
699
700
  }),
700
- Chevron: ({ className: e, orientation: t, ...n }) => g(t === "left" ? ne : t === "right" ? re : h, {
701
- className: N("size-4", e),
701
+ Chevron: ({ className: e, orientation: t, ...n }) => v(t === "left" ? te : t === "right" ? ne : _, {
702
+ className: F("size-4", e),
702
703
  ...n
703
704
  }),
704
- DayButton: Et,
705
- WeekNumber: ({ children: e, ...t }) => /* @__PURE__ */ g("td", {
705
+ DayButton: kt,
706
+ WeekNumber: ({ children: e, ...t }) => /* @__PURE__ */ v("td", {
706
707
  ...t,
707
- children: /* @__PURE__ */ g("div", {
708
+ children: /* @__PURE__ */ v("div", {
708
709
  className: "flex size-(--cell-size) items-center justify-center text-center",
709
710
  children: e
710
711
  })
@@ -714,11 +715,11 @@ function Tt({ className: e, classNames: t, showOutsideDays: n = !0, captionLayou
714
715
  ...s
715
716
  });
716
717
  }
717
- function Et({ className: e, day: t, modifiers: n, ...r }) {
718
+ function kt({ className: e, day: t, modifiers: n, ...r }) {
718
719
  let i = he(), a = s.useRef(null);
719
720
  return s.useEffect(() => {
720
721
  n.focused && a.current?.focus();
721
- }, [n.focused]), /* @__PURE__ */ g(z, {
722
+ }, [n.focused]), /* @__PURE__ */ v(B, {
722
723
  ref: a,
723
724
  variant: "ghost",
724
725
  size: "icon",
@@ -727,139 +728,139 @@ function Et({ className: e, day: t, modifiers: n, ...r }) {
727
728
  "data-range-start": n.range_start,
728
729
  "data-range-end": n.range_end,
729
730
  "data-range-middle": n.range_middle,
730
- className: N("data-[selected-single=true]:bg-primary data-[selected-single=true]:text-primary-foreground data-[range-middle=true]:bg-accent data-[range-middle=true]:text-accent-foreground data-[range-start=true]:bg-primary data-[range-start=true]:text-primary-foreground data-[range-end=true]:bg-primary data-[range-end=true]:text-primary-foreground group-data-[focused=true]/day:border-ring group-data-[focused=true]/day:ring-ring/50 dark:hover:text-accent-foreground flex aspect-square size-auto w-full min-w-(--cell-size) flex-col gap-1 leading-none font-normal group-data-[focused=true]/day:relative group-data-[focused=true]/day:z-10 group-data-[focused=true]/day:ring-[3px] data-[range-end=true]:rounded-md data-[range-end=true]:rounded-r-md data-[range-middle=true]:rounded-none data-[range-start=true]:rounded-md data-[range-start=true]:rounded-l-md [&>span]:text-xs [&>span]:opacity-70", i.day, e),
731
+ className: F("data-[selected-single=true]:bg-primary data-[selected-single=true]:text-primary-foreground data-[range-middle=true]:bg-accent data-[range-middle=true]:text-accent-foreground data-[range-start=true]:bg-primary data-[range-start=true]:text-primary-foreground data-[range-end=true]:bg-primary data-[range-end=true]:text-primary-foreground group-data-[focused=true]/day:border-ring group-data-[focused=true]/day:ring-ring/50 dark:hover:text-accent-foreground flex aspect-square size-auto w-full min-w-(--cell-size) flex-col gap-1 leading-none font-normal group-data-[focused=true]/day:relative group-data-[focused=true]/day:z-10 group-data-[focused=true]/day:ring-[3px] data-[range-end=true]:rounded-md data-[range-end=true]:rounded-r-md data-[range-middle=true]:rounded-none data-[range-start=true]:rounded-md data-[range-start=true]:rounded-l-md [&>span]:text-xs [&>span]:opacity-70", i.day, e),
731
732
  ...r
732
733
  });
733
734
  }
734
735
  //#endregion
735
736
  //#region src/components/ui/card.tsx
736
- function Dt({ className: e, ...t }) {
737
- return /* @__PURE__ */ g("div", {
737
+ function At({ className: e, ...t }) {
738
+ return /* @__PURE__ */ v("div", {
738
739
  "data-slot": "card",
739
- className: N("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm", e),
740
+ className: F("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm", e),
740
741
  ...t
741
742
  });
742
743
  }
743
- function Ot({ className: e, ...t }) {
744
- return /* @__PURE__ */ g("div", {
744
+ function jt({ className: e, ...t }) {
745
+ return /* @__PURE__ */ v("div", {
745
746
  "data-slot": "card-header",
746
- className: N("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6", e),
747
+ className: F("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6", e),
747
748
  ...t
748
749
  });
749
750
  }
750
- function kt({ className: e, ...t }) {
751
- return /* @__PURE__ */ g("div", {
751
+ function Mt({ className: e, ...t }) {
752
+ return /* @__PURE__ */ v("div", {
752
753
  "data-slot": "card-title",
753
- className: N("leading-none font-semibold", e),
754
+ className: F("leading-none font-semibold", e),
754
755
  ...t
755
756
  });
756
757
  }
757
- function At({ className: e, ...t }) {
758
- return /* @__PURE__ */ g("div", {
758
+ function Nt({ className: e, ...t }) {
759
+ return /* @__PURE__ */ v("div", {
759
760
  "data-slot": "card-description",
760
- className: N("text-muted-foreground text-sm", e),
761
+ className: F("text-muted-foreground text-sm", e),
761
762
  ...t
762
763
  });
763
764
  }
764
- function jt({ className: e, ...t }) {
765
- return /* @__PURE__ */ g("div", {
765
+ function Pt({ className: e, ...t }) {
766
+ return /* @__PURE__ */ v("div", {
766
767
  "data-slot": "card-action",
767
- className: N("col-start-2 row-span-2 row-start-1 self-start justify-self-end", e),
768
+ className: F("col-start-2 row-span-2 row-start-1 self-start justify-self-end", e),
768
769
  ...t
769
770
  });
770
771
  }
771
- function Mt({ className: e, ...t }) {
772
- return /* @__PURE__ */ g("div", {
772
+ function Ft({ className: e, ...t }) {
773
+ return /* @__PURE__ */ v("div", {
773
774
  "data-slot": "card-content",
774
- className: N("px-6", e),
775
+ className: F("px-6", e),
775
776
  ...t
776
777
  });
777
778
  }
778
- function Nt({ className: e, ...t }) {
779
- return /* @__PURE__ */ g("div", {
779
+ function It({ className: e, ...t }) {
780
+ return /* @__PURE__ */ v("div", {
780
781
  "data-slot": "card-footer",
781
- className: N("flex items-center px-6 [.border-t]:pt-6", e),
782
+ className: F("flex items-center px-6 [.border-t]:pt-6", e),
782
783
  ...t
783
784
  });
784
785
  }
785
786
  //#endregion
786
787
  //#region src/components/ui/checkbox.tsx
787
- function Pt({ className: e, ...t }) {
788
- return /* @__PURE__ */ g(ge.Root, {
788
+ function Lt({ className: e, ...t }) {
789
+ return /* @__PURE__ */ v(ge.Root, {
789
790
  "data-slot": "checkbox",
790
- className: N("peer border-input dark:bg-input/30 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground dark:data-[state=checked]:bg-primary data-[state=checked]:border-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive size-4 shrink-0 rounded-[4px] border shadow-xs transition-shadow outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50", e),
791
+ className: F("peer border-input dark:bg-input/30 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground dark:data-[state=checked]:bg-primary data-[state=checked]:border-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive size-4 shrink-0 rounded-[4px] border shadow-xs transition-shadow outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50", e),
791
792
  ...t,
792
- children: /* @__PURE__ */ g(ge.Indicator, {
793
+ children: /* @__PURE__ */ v(ge.Indicator, {
793
794
  "data-slot": "checkbox-indicator",
794
795
  className: "flex items-center justify-center text-current transition-none",
795
- children: /* @__PURE__ */ g(p, { className: "size-3.5" })
796
+ children: /* @__PURE__ */ v(h, { className: "size-3.5" })
796
797
  })
797
798
  });
798
799
  }
799
800
  //#endregion
800
801
  //#region src/components/ui/collapsible.tsx
801
- function Ft({ ...e }) {
802
- return /* @__PURE__ */ g(S.Root, {
802
+ function Rt({ ...e }) {
803
+ return /* @__PURE__ */ v(w.Root, {
803
804
  "data-slot": "collapsible",
804
805
  ...e
805
806
  });
806
807
  }
807
- function It({ ...e }) {
808
- return /* @__PURE__ */ g(S.CollapsibleTrigger, {
808
+ function zt({ ...e }) {
809
+ return /* @__PURE__ */ v(w.CollapsibleTrigger, {
809
810
  "data-slot": "collapsible-trigger",
810
811
  ...e
811
812
  });
812
813
  }
813
- function Lt({ ...e }) {
814
- return /* @__PURE__ */ g(S.CollapsibleContent, {
814
+ function Bt({ ...e }) {
815
+ return /* @__PURE__ */ v(w.CollapsibleContent, {
815
816
  "data-slot": "collapsible-content",
816
817
  ...e
817
818
  });
818
819
  }
819
820
  //#endregion
820
821
  //#region src/components/ui/dialog.tsx
821
- function Rt({ ...e }) {
822
- return /* @__PURE__ */ g(w.Root, {
822
+ function Vt({ ...e }) {
823
+ return /* @__PURE__ */ v(E.Root, {
823
824
  "data-slot": "dialog",
824
825
  ...e
825
826
  });
826
827
  }
827
- function zt({ ...e }) {
828
- return /* @__PURE__ */ g(w.Trigger, {
828
+ function Ht({ ...e }) {
829
+ return /* @__PURE__ */ v(E.Trigger, {
829
830
  "data-slot": "dialog-trigger",
830
831
  ...e
831
832
  });
832
833
  }
833
- function Bt({ ...e }) {
834
- return /* @__PURE__ */ g(w.Portal, {
834
+ function Ut({ ...e }) {
835
+ return /* @__PURE__ */ v(E.Portal, {
835
836
  "data-slot": "dialog-portal",
836
837
  ...e
837
838
  });
838
839
  }
839
- function Vt({ ...e }) {
840
- return /* @__PURE__ */ g(w.Close, {
840
+ function Wt({ ...e }) {
841
+ return /* @__PURE__ */ v(E.Close, {
841
842
  "data-slot": "dialog-close",
842
843
  ...e
843
844
  });
844
845
  }
845
- function Ht({ className: e, ...t }) {
846
- return /* @__PURE__ */ g(w.Overlay, {
846
+ function Gt({ className: e, ...t }) {
847
+ return /* @__PURE__ */ v(E.Overlay, {
847
848
  "data-slot": "dialog-overlay",
848
- className: N("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),
849
+ className: F("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),
849
850
  ...t
850
851
  });
851
852
  }
852
- function Ut({ className: e, children: t, showCloseButton: n = !0, ...r }) {
853
- return /* @__PURE__ */ _(Bt, {
853
+ function Kt({ className: e, children: t, showCloseButton: n = !0, ...r }) {
854
+ return /* @__PURE__ */ y(Ut, {
854
855
  "data-slot": "dialog-portal",
855
- children: [/* @__PURE__ */ g(Ht, {}), /* @__PURE__ */ _(w.Content, {
856
+ children: [/* @__PURE__ */ v(Gt, {}), /* @__PURE__ */ y(E.Content, {
856
857
  "data-slot": "dialog-content",
857
- className: N("bg-background 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 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg", e),
858
+ className: F("bg-background 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 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg", e),
858
859
  ...r,
859
- children: [t, n && /* @__PURE__ */ _(w.Close, {
860
+ children: [t, n && /* @__PURE__ */ y(E.Close, {
860
861
  "data-slot": "dialog-close",
861
862
  className: "ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute end-4 top-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
862
- children: [/* @__PURE__ */ g(pe, {}), /* @__PURE__ */ g("span", {
863
+ children: [/* @__PURE__ */ v(fe, {}), /* @__PURE__ */ v("span", {
863
864
  className: "sr-only",
864
865
  children: "Close"
865
866
  })]
@@ -867,244 +868,244 @@ function Ut({ className: e, children: t, showCloseButton: n = !0, ...r }) {
867
868
  })]
868
869
  });
869
870
  }
870
- function Wt({ className: e, ...t }) {
871
- return /* @__PURE__ */ g("div", {
871
+ function qt({ className: e, ...t }) {
872
+ return /* @__PURE__ */ v("div", {
872
873
  "data-slot": "dialog-header",
873
- className: N("flex flex-col gap-2 text-center sm:text-start", e),
874
+ className: F("flex flex-col gap-2 text-center sm:text-start", e),
874
875
  ...t
875
876
  });
876
877
  }
877
- function Gt({ className: e, ...t }) {
878
- return /* @__PURE__ */ g("div", {
878
+ function Jt({ className: e, ...t }) {
879
+ return /* @__PURE__ */ v("div", {
879
880
  "data-slot": "dialog-footer",
880
- className: N("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", e),
881
+ className: F("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", e),
881
882
  ...t
882
883
  });
883
884
  }
884
- function Kt({ className: e, ...t }) {
885
- return /* @__PURE__ */ g(w.Title, {
885
+ function Yt({ className: e, ...t }) {
886
+ return /* @__PURE__ */ v(E.Title, {
886
887
  "data-slot": "dialog-title",
887
- className: N("text-lg leading-none font-semibold", e),
888
+ className: F("text-lg leading-none font-semibold", e),
888
889
  ...t
889
890
  });
890
891
  }
891
- function qt({ className: e, ...t }) {
892
- return /* @__PURE__ */ g(w.Description, {
892
+ function Xt({ className: e, ...t }) {
893
+ return /* @__PURE__ */ v(E.Description, {
893
894
  "data-slot": "dialog-description",
894
- className: N("text-muted-foreground text-sm", e),
895
+ className: F("text-muted-foreground text-sm", e),
895
896
  ...t
896
897
  });
897
898
  }
898
899
  //#endregion
899
900
  //#region src/components/ui/command.tsx
900
- function B({ className: e, ...t }) {
901
- return /* @__PURE__ */ g(C, {
901
+ function V({ className: e, ...t }) {
902
+ return /* @__PURE__ */ v(T, {
902
903
  "data-slot": "command",
903
- className: N("bg-popover text-popover-foreground flex h-full w-full flex-col overflow-hidden rounded-md", e),
904
+ className: F("bg-popover text-popover-foreground flex h-full w-full flex-col overflow-hidden rounded-md", e),
904
905
  ...t
905
906
  });
906
907
  }
907
- function Jt({ title: e = "Command Palette", description: t = "Search for a command to run...", children: n, className: r, showCloseButton: i = !0, ...a }) {
908
- return /* @__PURE__ */ _(Rt, {
908
+ function Zt({ title: e = "Command Palette", description: t = "Search for a command to run...", children: n, className: r, showCloseButton: i = !0, ...a }) {
909
+ return /* @__PURE__ */ y(Vt, {
909
910
  ...a,
910
- children: [/* @__PURE__ */ _(Wt, {
911
+ children: [/* @__PURE__ */ y(qt, {
911
912
  className: "sr-only",
912
- children: [/* @__PURE__ */ g(Kt, { children: e }), /* @__PURE__ */ g(qt, { children: t })]
913
- }), /* @__PURE__ */ g(Ut, {
914
- className: N("overflow-hidden p-0", r),
913
+ children: [/* @__PURE__ */ v(Yt, { children: e }), /* @__PURE__ */ v(Xt, { children: t })]
914
+ }), /* @__PURE__ */ v(Kt, {
915
+ className: F("overflow-hidden p-0", r),
915
916
  showCloseButton: i,
916
- children: /* @__PURE__ */ g(B, {
917
+ children: /* @__PURE__ */ v(V, {
917
918
  className: "[&_[cmdk-group-heading]]:text-muted-foreground **:data-[slot=command-input-wrapper]:h-12 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group]]:px-2 [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5",
918
919
  children: n
919
920
  })
920
921
  })]
921
922
  });
922
923
  }
923
- function V({ className: e, ...t }) {
924
- return /* @__PURE__ */ _("div", {
924
+ function H({ className: e, ...t }) {
925
+ return /* @__PURE__ */ y("div", {
925
926
  "data-slot": "command-input-wrapper",
926
927
  className: "flex h-10 items-center gap-2 border-b px-3",
927
- children: [/* @__PURE__ */ g(de, { className: "size-4 shrink-0 opacity-50" }), /* @__PURE__ */ g(C.Input, {
928
+ children: [/* @__PURE__ */ v(ue, { className: "size-4 shrink-0 opacity-50" }), /* @__PURE__ */ v(T.Input, {
928
929
  "data-slot": "command-input",
929
- className: N("placeholder:text-muted-foreground flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50", e),
930
+ className: F("placeholder:text-muted-foreground flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50", e),
930
931
  ...t
931
932
  })]
932
933
  });
933
934
  }
934
- function H({ className: e, ...t }) {
935
- return /* @__PURE__ */ g(C.List, {
935
+ function U({ className: e, ...t }) {
936
+ return /* @__PURE__ */ v(T.List, {
936
937
  "data-slot": "command-list",
937
- className: N("max-h-[300px] scroll-py-1 overflow-x-hidden overflow-y-auto", e),
938
+ className: F("max-h-[300px] scroll-py-1 overflow-x-hidden overflow-y-auto", e),
938
939
  ...t
939
940
  });
940
941
  }
941
- function U({ ...e }) {
942
- return /* @__PURE__ */ g(C.Empty, {
942
+ function W({ ...e }) {
943
+ return /* @__PURE__ */ v(T.Empty, {
943
944
  "data-slot": "command-empty",
944
945
  className: "py-6 text-center text-sm",
945
946
  ...e
946
947
  });
947
948
  }
948
- function W({ className: e, ...t }) {
949
- return /* @__PURE__ */ g(C.Group, {
949
+ function G({ className: e, ...t }) {
950
+ return /* @__PURE__ */ v(T.Group, {
950
951
  "data-slot": "command-group",
951
- className: N("text-foreground [&_[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium", e),
952
+ className: F("text-foreground [&_[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium", e),
952
953
  ...t
953
954
  });
954
955
  }
955
- function Yt({ className: e, ...t }) {
956
- return /* @__PURE__ */ g(C.Separator, {
956
+ function Qt({ className: e, ...t }) {
957
+ return /* @__PURE__ */ v(T.Separator, {
957
958
  "data-slot": "command-separator",
958
- className: N("bg-border -mx-1 h-px", e),
959
+ className: F("bg-border -mx-1 h-px", e),
959
960
  ...t
960
961
  });
961
962
  }
962
- function G({ className: e, ...t }) {
963
- return /* @__PURE__ */ g(C.Item, {
963
+ function K({ className: e, ...t }) {
964
+ return /* @__PURE__ */ v(T.Item, {
964
965
  "data-slot": "command-item",
965
- className: N("data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", e),
966
+ className: F("data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", e),
966
967
  ...t
967
968
  });
968
969
  }
969
- function Xt({ className: e, ...t }) {
970
- return /* @__PURE__ */ g("span", {
970
+ function $t({ className: e, ...t }) {
971
+ return /* @__PURE__ */ v("span", {
971
972
  "data-slot": "command-shortcut",
972
- className: N("text-muted-foreground ms-auto text-xs tracking-widest", e),
973
+ className: F("text-muted-foreground ms-auto text-xs tracking-widest", e),
973
974
  ...t
974
975
  });
975
976
  }
976
977
  //#endregion
977
978
  //#region src/components/ui/dropdown-menu.tsx
978
- function Zt({ ...e }) {
979
- return /* @__PURE__ */ g(T.Root, {
979
+ function en({ ...e }) {
980
+ return /* @__PURE__ */ v(D.Root, {
980
981
  "data-slot": "dropdown-menu",
981
982
  ...e
982
983
  });
983
984
  }
984
- function Qt({ ...e }) {
985
- return /* @__PURE__ */ g(T.Portal, {
985
+ function tn({ ...e }) {
986
+ return /* @__PURE__ */ v(D.Portal, {
986
987
  "data-slot": "dropdown-menu-portal",
987
988
  ...e
988
989
  });
989
990
  }
990
- function $t({ ...e }) {
991
- return /* @__PURE__ */ g(T.Trigger, {
991
+ function nn({ ...e }) {
992
+ return /* @__PURE__ */ v(D.Trigger, {
992
993
  "data-slot": "dropdown-menu-trigger",
993
994
  ...e
994
995
  });
995
996
  }
996
- function en({ className: e, sideOffset: t = 4, ...n }) {
997
- return /* @__PURE__ */ g(T.Portal, { children: /* @__PURE__ */ g(T.Content, {
997
+ function rn({ className: e, sideOffset: t = 4, ...n }) {
998
+ return /* @__PURE__ */ v(D.Portal, { children: /* @__PURE__ */ v(D.Content, {
998
999
  "data-slot": "dropdown-menu-content",
999
1000
  sideOffset: t,
1000
- className: N("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 z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md", e),
1001
+ className: F("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 z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md", e),
1001
1002
  ...n
1002
1003
  }) });
1003
1004
  }
1004
- function tn({ ...e }) {
1005
- return /* @__PURE__ */ g(T.Group, {
1005
+ function an({ ...e }) {
1006
+ return /* @__PURE__ */ v(D.Group, {
1006
1007
  "data-slot": "dropdown-menu-group",
1007
1008
  ...e
1008
1009
  });
1009
1010
  }
1010
- function nn({ className: e, inset: t, variant: n = "default", ...r }) {
1011
- return /* @__PURE__ */ g(T.Item, {
1011
+ function on({ className: e, inset: t, variant: n = "default", ...r }) {
1012
+ return /* @__PURE__ */ v(D.Item, {
1012
1013
  "data-slot": "dropdown-menu-item",
1013
1014
  "data-inset": t,
1014
1015
  "data-variant": n,
1015
- className: N("focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:ps-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", e),
1016
+ className: F("focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:ps-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", e),
1016
1017
  ...r
1017
1018
  });
1018
1019
  }
1019
- function rn({ className: e, children: t, checked: n, ...r }) {
1020
- return /* @__PURE__ */ _(T.CheckboxItem, {
1020
+ function sn({ className: e, children: t, checked: n, ...r }) {
1021
+ return /* @__PURE__ */ y(D.CheckboxItem, {
1021
1022
  "data-slot": "dropdown-menu-checkbox-item",
1022
- className: N("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 ps-8 pe-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", e),
1023
+ className: F("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 ps-8 pe-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", e),
1023
1024
  checked: n,
1024
1025
  ...r,
1025
- children: [/* @__PURE__ */ g("span", {
1026
+ children: [/* @__PURE__ */ v("span", {
1026
1027
  className: "pointer-events-none absolute start-2 flex size-3.5 items-center justify-center",
1027
- children: /* @__PURE__ */ g(T.ItemIndicator, { children: /* @__PURE__ */ g(p, { className: "size-4" }) })
1028
+ children: /* @__PURE__ */ v(D.ItemIndicator, { children: /* @__PURE__ */ v(h, { className: "size-4" }) })
1028
1029
  }), t]
1029
1030
  });
1030
1031
  }
1031
- function an({ ...e }) {
1032
- return /* @__PURE__ */ g(T.RadioGroup, {
1032
+ function cn({ ...e }) {
1033
+ return /* @__PURE__ */ v(D.RadioGroup, {
1033
1034
  "data-slot": "dropdown-menu-radio-group",
1034
1035
  ...e
1035
1036
  });
1036
1037
  }
1037
- function on({ className: e, children: t, ...n }) {
1038
- return /* @__PURE__ */ _(T.RadioItem, {
1038
+ function ln({ className: e, children: t, ...n }) {
1039
+ return /* @__PURE__ */ y(D.RadioItem, {
1039
1040
  "data-slot": "dropdown-menu-radio-item",
1040
- className: N("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 ps-8 pe-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", e),
1041
+ className: F("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 ps-8 pe-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", e),
1041
1042
  ...n,
1042
- children: [/* @__PURE__ */ g("span", {
1043
+ children: [/* @__PURE__ */ v("span", {
1043
1044
  className: "pointer-events-none absolute start-2 flex size-3.5 items-center justify-center",
1044
- children: /* @__PURE__ */ g(T.ItemIndicator, { children: /* @__PURE__ */ g(oe, { className: "size-2 fill-current" }) })
1045
+ children: /* @__PURE__ */ v(D.ItemIndicator, { children: /* @__PURE__ */ v(ae, { className: "size-2 fill-current" }) })
1045
1046
  }), t]
1046
1047
  });
1047
1048
  }
1048
- function sn({ className: e, inset: t, ...n }) {
1049
- return /* @__PURE__ */ g(T.Label, {
1049
+ function un({ className: e, inset: t, ...n }) {
1050
+ return /* @__PURE__ */ v(D.Label, {
1050
1051
  "data-slot": "dropdown-menu-label",
1051
1052
  "data-inset": t,
1052
- className: N("px-2 py-1.5 text-sm font-medium data-[inset]:ps-8", e),
1053
+ className: F("px-2 py-1.5 text-sm font-medium data-[inset]:ps-8", e),
1053
1054
  ...n
1054
1055
  });
1055
1056
  }
1056
- function cn({ className: e, ...t }) {
1057
- return /* @__PURE__ */ g(T.Separator, {
1057
+ function dn({ className: e, ...t }) {
1058
+ return /* @__PURE__ */ v(D.Separator, {
1058
1059
  "data-slot": "dropdown-menu-separator",
1059
- className: N("bg-border -mx-1 my-1 h-px", e),
1060
+ className: F("bg-border -mx-1 my-1 h-px", e),
1060
1061
  ...t
1061
1062
  });
1062
1063
  }
1063
- function ln({ className: e, ...t }) {
1064
- return /* @__PURE__ */ g("span", {
1064
+ function fn({ className: e, ...t }) {
1065
+ return /* @__PURE__ */ v("span", {
1065
1066
  "data-slot": "dropdown-menu-shortcut",
1066
- className: N("text-muted-foreground ms-auto text-xs tracking-widest", e),
1067
+ className: F("text-muted-foreground ms-auto text-xs tracking-widest", e),
1067
1068
  ...t
1068
1069
  });
1069
1070
  }
1070
- function un({ ...e }) {
1071
- return /* @__PURE__ */ g(T.Sub, {
1071
+ function pn({ ...e }) {
1072
+ return /* @__PURE__ */ v(D.Sub, {
1072
1073
  "data-slot": "dropdown-menu-sub",
1073
1074
  ...e
1074
1075
  });
1075
1076
  }
1076
- function dn({ className: e, inset: t, children: n, ...r }) {
1077
- return /* @__PURE__ */ _(T.SubTrigger, {
1077
+ function mn({ className: e, inset: t, children: n, ...r }) {
1078
+ return /* @__PURE__ */ y(D.SubTrigger, {
1078
1079
  "data-slot": "dropdown-menu-sub-trigger",
1079
1080
  "data-inset": t,
1080
- className: N("focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[inset]:ps-8", e),
1081
+ className: F("focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[inset]:ps-8", e),
1081
1082
  ...r,
1082
- children: [n, /* @__PURE__ */ g(re, { className: "ms-auto size-4" })]
1083
+ children: [n, /* @__PURE__ */ v(ne, { className: "ms-auto size-4" })]
1083
1084
  });
1084
1085
  }
1085
- function fn({ className: e, ...t }) {
1086
- return /* @__PURE__ */ g(T.SubContent, {
1086
+ function hn({ className: e, ...t }) {
1087
+ return /* @__PURE__ */ v(D.SubContent, {
1087
1088
  "data-slot": "dropdown-menu-sub-content",
1088
- className: N("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 z-50 min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg", e),
1089
+ className: F("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 z-50 min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg", e),
1089
1090
  ...t
1090
1091
  });
1091
1092
  }
1092
1093
  //#endregion
1093
1094
  //#region src/components/ui/label.tsx
1094
- function K({ className: e, ...t }) {
1095
- return /* @__PURE__ */ g(xe.Root, {
1095
+ function q({ className: e, ...t }) {
1096
+ return /* @__PURE__ */ v(xe.Root, {
1096
1097
  "data-slot": "label",
1097
- className: N("flex items-center gap-2 text-sm leading-none font-medium 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),
1098
+ className: F("flex items-center gap-2 text-sm leading-none font-medium 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),
1098
1099
  ...t
1099
1100
  });
1100
1101
  }
1101
1102
  //#endregion
1102
1103
  //#region src/components/ui/form.tsx
1103
- var pn = ve, mn = s.createContext({}), hn = ({ ...e }) => /* @__PURE__ */ g(mn.Provider, {
1104
+ var gn = ve, _n = s.createContext({}), vn = ({ ...e }) => /* @__PURE__ */ v(_n.Provider, {
1104
1105
  value: { name: e.name },
1105
- children: /* @__PURE__ */ g(_e, { ...e })
1106
- }), q = () => {
1107
- let e = s.useContext(mn), t = s.useContext(gn), { getFieldState: n } = ye(), r = be({ name: e.name }), i = n(e.name, r);
1106
+ children: /* @__PURE__ */ v(_e, { ...e })
1107
+ }), J = () => {
1108
+ let e = s.useContext(_n), t = s.useContext(yn), { getFieldState: n } = ye(), r = be({ name: e.name }), i = n(e.name, r);
1108
1109
  if (!e) throw Error("useFormField should be used within <FormField>");
1109
1110
  let { id: a } = t;
1110
1111
  return {
@@ -1115,31 +1116,31 @@ var pn = ve, mn = s.createContext({}), hn = ({ ...e }) => /* @__PURE__ */ g(mn.P
1115
1116
  formMessageId: `${a}-form-item-message`,
1116
1117
  ...i
1117
1118
  };
1118
- }, gn = s.createContext({});
1119
- function _n({ className: e, ...t }) {
1119
+ }, yn = s.createContext({});
1120
+ function bn({ className: e, ...t }) {
1120
1121
  let n = s.useId();
1121
- return /* @__PURE__ */ g(gn.Provider, {
1122
+ return /* @__PURE__ */ v(yn.Provider, {
1122
1123
  value: { id: n },
1123
- children: /* @__PURE__ */ g("div", {
1124
+ children: /* @__PURE__ */ v("div", {
1124
1125
  "data-slot": "form-item",
1125
- className: N("grid gap-2", e),
1126
+ className: F("grid gap-2", e),
1126
1127
  ...t
1127
1128
  })
1128
1129
  });
1129
1130
  }
1130
- function vn({ className: e, ...t }) {
1131
- let { error: n, formItemId: r } = q();
1132
- return /* @__PURE__ */ g(K, {
1131
+ function xn({ className: e, ...t }) {
1132
+ let { error: n, formItemId: r } = J();
1133
+ return /* @__PURE__ */ v(q, {
1133
1134
  "data-slot": "form-label",
1134
1135
  "data-error": !!n,
1135
- className: N("data-[error=true]:text-destructive", e),
1136
+ className: F("data-[error=true]:text-destructive", e),
1136
1137
  htmlFor: r,
1137
1138
  ...t
1138
1139
  });
1139
1140
  }
1140
- function yn({ ...e }) {
1141
- let { error: t, formItemId: n, formDescriptionId: r, formMessageId: i } = q();
1142
- return /* @__PURE__ */ g(b, {
1141
+ function Sn({ ...e }) {
1142
+ let { error: t, formItemId: n, formDescriptionId: r, formMessageId: i } = J();
1143
+ return /* @__PURE__ */ v(S, {
1143
1144
  "data-slot": "form-control",
1144
1145
  id: n,
1145
1146
  "aria-describedby": t ? `${r} ${i}` : `${r}`,
@@ -1147,33 +1148,33 @@ function yn({ ...e }) {
1147
1148
  ...e
1148
1149
  });
1149
1150
  }
1150
- function bn({ className: e, ...t }) {
1151
- let { formDescriptionId: n } = q();
1152
- return /* @__PURE__ */ g("p", {
1151
+ function Cn({ className: e, ...t }) {
1152
+ let { formDescriptionId: n } = J();
1153
+ return /* @__PURE__ */ v("p", {
1153
1154
  "data-slot": "form-description",
1154
1155
  id: n,
1155
- className: N("text-muted-foreground text-sm", e),
1156
+ className: F("text-muted-foreground text-sm", e),
1156
1157
  ...t
1157
1158
  });
1158
1159
  }
1159
- function xn({ className: e, ...t }) {
1160
- let { error: n, formMessageId: r } = q(), i = n ? String(n?.message ?? "") : t.children;
1161
- return i ? /* @__PURE__ */ g("p", {
1160
+ function wn({ className: e, ...t }) {
1161
+ let { error: n, formMessageId: r } = J(), i = n ? String(n?.message ?? "") : t.children;
1162
+ return i ? /* @__PURE__ */ v("p", {
1162
1163
  "data-slot": "form-message",
1163
1164
  id: r,
1164
- className: N("text-destructive text-sm", e),
1165
+ className: F("text-destructive text-sm", e),
1165
1166
  ...t,
1166
1167
  children: i
1167
1168
  }) : null;
1168
1169
  }
1169
1170
  //#endregion
1170
1171
  //#region src/components/ui/image-upload.tsx
1171
- function Sn({ value: e, onChange: t, label: n = "Imagen", disabled: r, multiple: a = !1, className: o }) {
1172
- let s = ee(null), [c, l] = te(!1), [d, f] = te([]);
1173
- u(() => {
1174
- f(Array.isArray(e) ? e : e ? [e] : []);
1172
+ function Tn({ value: e, onChange: t, label: n = "Imagen", disabled: r, multiple: a = !1, className: o }) {
1173
+ let s = ee(null), [c, l] = f(!1), [u, p] = f([]);
1174
+ d(() => {
1175
+ p(Array.isArray(e) ? e : e ? [e] : []);
1175
1176
  }, [e]);
1176
- let p = async (e) => {
1177
+ let m = async (e) => {
1177
1178
  let t = e.target.files;
1178
1179
  if (!t || t.length === 0) return;
1179
1180
  let n = [];
@@ -1189,54 +1190,54 @@ function Sn({ value: e, onChange: t, label: n = "Imagen", disabled: r, multiple:
1189
1190
  }
1190
1191
  n.push(r);
1191
1192
  }
1192
- n.length > 0 && await m(n);
1193
- }, m = async (e) => {
1193
+ n.length > 0 && await h(n);
1194
+ }, h = async (e) => {
1194
1195
  l(!0);
1195
1196
  try {
1196
1197
  let n = e.map(async (e) => {
1197
1198
  let t = new FormData();
1198
1199
  t.append("file", e);
1199
1200
  try {
1200
- return (await L.post("/upload", t, { headers: { "Content-Type": "multipart/form-data" } })).data.url;
1201
+ return (await R.post("/upload", t, { headers: { "Content-Type": "multipart/form-data" } })).data.url;
1201
1202
  } catch (e) {
1202
1203
  return console.error("Single file upload failed", e), null;
1203
1204
  }
1204
1205
  }), r = (await Promise.all(n)).filter((e) => e !== null);
1205
- r.length > 0 && (t(a ? [...d, ...r] : r[0]), i.success(`${r.length} imagen(es) cargada(s)`));
1206
+ r.length > 0 && (t(a ? [...u, ...r] : r[0]), i.success(`${r.length} imagen(es) cargada(s)`));
1206
1207
  } catch (e) {
1207
1208
  console.error("Upload Error:", e), i.error("Error al subir imágenes");
1208
1209
  } finally {
1209
1210
  l(!1), s.current && (s.current.value = "");
1210
1211
  }
1211
- }, h = (e) => {
1212
- t(a ? d.filter((t) => t !== e) : "");
1212
+ }, g = (e) => {
1213
+ t(a ? u.filter((t) => t !== e) : "");
1213
1214
  };
1214
- return /* @__PURE__ */ _("div", {
1215
- className: N("space-y-4", o),
1215
+ return /* @__PURE__ */ y("div", {
1216
+ className: F("space-y-4", o),
1216
1217
  children: [
1217
- /* @__PURE__ */ g(K, { children: n }),
1218
- d.length > 0 && /* @__PURE__ */ g("div", {
1218
+ /* @__PURE__ */ v(q, { children: n }),
1219
+ u.length > 0 && /* @__PURE__ */ v("div", {
1219
1220
  className: "grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 gap-4 mb-4",
1220
- children: d.map((e, t) => /* @__PURE__ */ _("div", {
1221
+ children: u.map((e, t) => /* @__PURE__ */ y("div", {
1221
1222
  className: "relative group rounded-lg overflow-hidden border bg-background aspect-square flex items-center justify-center bg-gray-50 dark:bg-gray-800/50",
1222
- children: [/* @__PURE__ */ g("img", {
1223
+ children: [/* @__PURE__ */ v("img", {
1223
1224
  src: e,
1224
1225
  alt: `Image ${t + 1}`,
1225
1226
  className: "h-full w-full object-contain p-1"
1226
- }), !r && /* @__PURE__ */ g("div", {
1227
+ }), !r && /* @__PURE__ */ v("div", {
1227
1228
  className: "absolute top-1 right-1 opacity-0 group-hover:opacity-100 transition-opacity",
1228
- children: /* @__PURE__ */ g(z, {
1229
+ children: /* @__PURE__ */ v(B, {
1229
1230
  type: "button",
1230
1231
  variant: "destructive",
1231
1232
  size: "icon",
1232
1233
  className: "h-6 w-6 rounded-full",
1233
- onClick: () => h(e),
1234
- children: /* @__PURE__ */ g(fe, { className: "h-3 w-3" })
1234
+ onClick: () => g(e),
1235
+ children: /* @__PURE__ */ v(de, { className: "h-3 w-3" })
1235
1236
  })
1236
1237
  })]
1237
1238
  }, t))
1238
1239
  }),
1239
- !r && (a || d.length === 0) && /* @__PURE__ */ _("div", {
1240
+ !r && (a || u.length === 0) && /* @__PURE__ */ y("div", {
1240
1241
  className: `
1241
1242
  border-2 border-dashed border-muted-foreground/25 rounded-lg
1242
1243
  flex flex-col items-center justify-center p-6 gap-2
@@ -1245,22 +1246,22 @@ function Sn({ value: e, onChange: t, label: n = "Imagen", disabled: r, multiple:
1245
1246
  `,
1246
1247
  onClick: () => s.current?.click(),
1247
1248
  children: [
1248
- c ? /* @__PURE__ */ g(ce, { className: "h-8 w-8 animate-spin text-muted-foreground" }) : /* @__PURE__ */ g(se, { className: "h-8 w-8 text-muted-foreground" }),
1249
- /* @__PURE__ */ g("span", {
1249
+ c ? /* @__PURE__ */ v(se, { className: "h-8 w-8 animate-spin text-muted-foreground" }) : /* @__PURE__ */ v(oe, { className: "h-8 w-8 text-muted-foreground" }),
1250
+ /* @__PURE__ */ v("span", {
1250
1251
  className: "text-sm text-muted-foreground font-medium",
1251
1252
  children: c ? "Subiendo..." : a ? "Click para agregar imágenes" : "Click para subir imagen"
1252
1253
  }),
1253
- /* @__PURE__ */ g("p", {
1254
+ /* @__PURE__ */ v("p", {
1254
1255
  className: "text-xs text-muted-foreground/70",
1255
1256
  children: "Soporta: JPG, PNG, WEBP (Max 5MB)"
1256
1257
  }),
1257
- /* @__PURE__ */ g("input", {
1258
+ /* @__PURE__ */ v("input", {
1258
1259
  type: "file",
1259
1260
  ref: s,
1260
1261
  className: "hidden",
1261
1262
  accept: "image/*",
1262
1263
  multiple: a,
1263
- onChange: p,
1264
+ onChange: m,
1264
1265
  disabled: r || c
1265
1266
  })
1266
1267
  ]
@@ -1270,111 +1271,111 @@ function Sn({ value: e, onChange: t, label: n = "Imagen", disabled: r, multiple:
1270
1271
  }
1271
1272
  //#endregion
1272
1273
  //#region src/components/ui/input.tsx
1273
- function J({ className: e, type: t, ...n }) {
1274
- return /* @__PURE__ */ g("input", {
1274
+ function Y({ className: e, type: t, ...n }) {
1275
+ return /* @__PURE__ */ v("input", {
1275
1276
  type: t,
1276
1277
  "data-slot": "input",
1277
- className: N("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm", "focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]", "aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive", e),
1278
+ className: F("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm", "focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]", "aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive", e),
1278
1279
  ...n
1279
1280
  });
1280
1281
  }
1281
1282
  //#endregion
1282
1283
  //#region src/components/ui/input-otp.tsx
1283
- function Cn({ className: e, containerClassName: t, ...n }) {
1284
- return /* @__PURE__ */ g(Se, {
1284
+ function En({ className: e, containerClassName: t, ...n }) {
1285
+ return /* @__PURE__ */ v(Se, {
1285
1286
  "data-slot": "input-otp",
1286
- containerClassName: N("flex items-center gap-2 has-disabled:opacity-50", t),
1287
- className: N("disabled:cursor-not-allowed", e),
1287
+ containerClassName: F("flex items-center gap-2 has-disabled:opacity-50", t),
1288
+ className: F("disabled:cursor-not-allowed", e),
1288
1289
  ...n
1289
1290
  });
1290
1291
  }
1291
- function wn({ className: e, ...t }) {
1292
- return /* @__PURE__ */ g("div", {
1292
+ function Dn({ className: e, ...t }) {
1293
+ return /* @__PURE__ */ v("div", {
1293
1294
  "data-slot": "input-otp-group",
1294
- className: N("flex items-center", e),
1295
+ className: F("flex items-center", e),
1295
1296
  ...t
1296
1297
  });
1297
1298
  }
1298
- function Tn({ index: e, className: t, ...n }) {
1299
+ function On({ index: e, className: t, ...n }) {
1299
1300
  let { char: r, hasFakeCaret: i, isActive: a } = s.useContext(Ce)?.slots[e] ?? {};
1300
- return /* @__PURE__ */ _("div", {
1301
+ return /* @__PURE__ */ y("div", {
1301
1302
  "data-slot": "input-otp-slot",
1302
1303
  "data-active": a,
1303
- className: N("data-[active=true]:border-ring data-[active=true]:ring-ring/50 data-[active=true]:aria-invalid:ring-destructive/20 dark:data-[active=true]:aria-invalid:ring-destructive/40 aria-invalid:border-destructive data-[active=true]:aria-invalid:border-destructive dark:bg-input/30 border-input relative flex h-9 w-9 items-center justify-center border-y border-r text-sm shadow-xs transition-all outline-none first:rounded-l-md first:border-l last:rounded-r-md data-[active=true]:z-10 data-[active=true]:ring-[3px]", t),
1304
+ className: F("data-[active=true]:border-ring data-[active=true]:ring-ring/50 data-[active=true]:aria-invalid:ring-destructive/20 dark:data-[active=true]:aria-invalid:ring-destructive/40 aria-invalid:border-destructive data-[active=true]:aria-invalid:border-destructive dark:bg-input/30 border-input relative flex h-9 w-9 items-center justify-center border-y border-r text-sm shadow-xs transition-all outline-none first:rounded-l-md first:border-l last:rounded-r-md data-[active=true]:z-10 data-[active=true]:ring-[3px]", t),
1304
1305
  ...n,
1305
- children: [r, i && /* @__PURE__ */ g("div", {
1306
+ children: [r, i && /* @__PURE__ */ v("div", {
1306
1307
  className: "pointer-events-none absolute inset-0 flex items-center justify-center",
1307
- children: /* @__PURE__ */ g("div", { className: "animate-caret-blink bg-foreground h-4 w-px duration-1000" })
1308
+ children: /* @__PURE__ */ v("div", { className: "animate-caret-blink bg-foreground h-4 w-px duration-1000" })
1308
1309
  })]
1309
1310
  });
1310
1311
  }
1311
- function En({ ...e }) {
1312
- return /* @__PURE__ */ g("div", {
1312
+ function kn({ ...e }) {
1313
+ return /* @__PURE__ */ v("div", {
1313
1314
  "data-slot": "input-otp-separator",
1314
1315
  role: "separator",
1315
1316
  ...e,
1316
- children: /* @__PURE__ */ g(le, {})
1317
+ children: /* @__PURE__ */ v(ce, {})
1317
1318
  });
1318
1319
  }
1319
1320
  //#endregion
1320
1321
  //#region src/components/ui/popover.tsx
1321
- function Y({ ...e }) {
1322
- return /* @__PURE__ */ g(E.Root, {
1322
+ function X({ ...e }) {
1323
+ return /* @__PURE__ */ v(O.Root, {
1323
1324
  "data-slot": "popover",
1324
1325
  ...e
1325
1326
  });
1326
1327
  }
1327
- function X({ ...e }) {
1328
- return /* @__PURE__ */ g(E.Trigger, {
1328
+ function Z({ ...e }) {
1329
+ return /* @__PURE__ */ v(O.Trigger, {
1329
1330
  "data-slot": "popover-trigger",
1330
1331
  ...e
1331
1332
  });
1332
1333
  }
1333
- function Z({ className: e, align: t = "center", sideOffset: n = 4, ...r }) {
1334
- return /* @__PURE__ */ g(E.Portal, { children: /* @__PURE__ */ g(E.Content, {
1334
+ function Q({ className: e, align: t = "center", sideOffset: n = 4, ...r }) {
1335
+ return /* @__PURE__ */ v(O.Portal, { children: /* @__PURE__ */ v(O.Content, {
1335
1336
  "data-slot": "popover-content",
1336
1337
  align: t,
1337
1338
  sideOffset: n,
1338
- className: N("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 z-50 w-72 origin-(--radix-popover-content-transform-origin) rounded-md border p-4 shadow-md outline-hidden", e),
1339
+ className: F("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 z-50 w-72 origin-(--radix-popover-content-transform-origin) rounded-md border p-4 shadow-md outline-hidden", e),
1339
1340
  ...r
1340
1341
  }) });
1341
1342
  }
1342
- function Dn({ ...e }) {
1343
- return /* @__PURE__ */ g(E.Anchor, {
1343
+ function An({ ...e }) {
1344
+ return /* @__PURE__ */ v(O.Anchor, {
1344
1345
  "data-slot": "popover-anchor",
1345
1346
  ...e
1346
1347
  });
1347
1348
  }
1348
1349
  //#endregion
1349
1350
  //#region src/components/ui/multi-select.tsx
1350
- function On({ options: e, selected: t, onChange: n, placeholder: r = "Select options...", className: i }) {
1351
+ function jn({ options: e, selected: t, onChange: n, placeholder: r = "Select options...", className: i }) {
1351
1352
  let [a, o] = s.useState(!1), c = (e) => {
1352
1353
  n(t.filter((t) => t !== e));
1353
1354
  };
1354
- return /* @__PURE__ */ _(Y, {
1355
+ return /* @__PURE__ */ y(X, {
1355
1356
  open: a,
1356
1357
  onOpenChange: o,
1357
- children: [/* @__PURE__ */ g(X, {
1358
+ children: [/* @__PURE__ */ v(Z, {
1358
1359
  asChild: !0,
1359
- children: /* @__PURE__ */ _("div", {
1360
+ children: /* @__PURE__ */ y("div", {
1360
1361
  role: "combobox",
1361
1362
  "aria-expanded": a,
1362
- className: N("flex w-full justify-between items-center rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 cursor-pointer hover:bg-accent hover:text-accent-foreground", "h-auto min-h-10", i),
1363
+ className: F("flex w-full justify-between items-center rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 cursor-pointer hover:bg-accent hover:text-accent-foreground", "h-auto min-h-10", i),
1363
1364
  onClick: () => o(!a),
1364
- children: [/* @__PURE__ */ g("div", {
1365
+ children: [/* @__PURE__ */ v("div", {
1365
1366
  className: "flex flex-wrap gap-1",
1366
1367
  children: t.length > 0 ? t.map((t) => {
1367
1368
  let n = e.find((e) => e.value === t);
1368
- return n ? /* @__PURE__ */ _(wt, {
1369
+ return n ? /* @__PURE__ */ y(Dt, {
1369
1370
  variant: "secondary",
1370
1371
  className: "mr-1 mb-1",
1371
1372
  onClick: (e) => {
1372
1373
  e.stopPropagation(), c(t);
1373
1374
  },
1374
1375
  children: [
1375
- n.icon && /* @__PURE__ */ g(n.icon, { className: "mr-1 h-3 w-3" }),
1376
+ n.icon && /* @__PURE__ */ v(n.icon, { className: "mr-1 h-3 w-3" }),
1376
1377
  n.label,
1377
- /* @__PURE__ */ g("button", {
1378
+ /* @__PURE__ */ v("button", {
1378
1379
  className: "ml-1 ring-offset-background rounded-full outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",
1379
1380
  onKeyDown: (e) => {
1380
1381
  e.key === "Enter" && c(t);
@@ -1385,30 +1386,30 @@ function On({ options: e, selected: t, onChange: n, placeholder: r = "Select opt
1385
1386
  onClick: (e) => {
1386
1387
  e.preventDefault(), e.stopPropagation(), c(t);
1387
1388
  },
1388
- children: /* @__PURE__ */ g(fe, { className: "h-3 w-3 text-muted-foreground hover:text-foreground" })
1389
+ children: /* @__PURE__ */ v(de, { className: "h-3 w-3 text-muted-foreground hover:text-foreground" })
1389
1390
  })
1390
1391
  ]
1391
1392
  }, n.value) : null;
1392
- }) : /* @__PURE__ */ g("span", {
1393
+ }) : /* @__PURE__ */ v("span", {
1393
1394
  className: "text-muted-foreground font-normal",
1394
1395
  children: r
1395
1396
  })
1396
- }), /* @__PURE__ */ g(ae, { className: "ml-2 h-4 w-4 shrink-0 opacity-50" })]
1397
+ }), /* @__PURE__ */ v(ie, { className: "ml-2 h-4 w-4 shrink-0 opacity-50" })]
1397
1398
  })
1398
- }), /* @__PURE__ */ g(Z, {
1399
+ }), /* @__PURE__ */ v(Q, {
1399
1400
  className: "w-full p-0",
1400
- children: /* @__PURE__ */ _(B, { children: [
1401
- /* @__PURE__ */ g(V, { placeholder: "Search..." }),
1402
- /* @__PURE__ */ g(U, { children: "No item found." }),
1403
- /* @__PURE__ */ g(H, { children: /* @__PURE__ */ g(W, {
1401
+ children: /* @__PURE__ */ y(V, { children: [
1402
+ /* @__PURE__ */ v(H, { placeholder: "Search..." }),
1403
+ /* @__PURE__ */ v(W, { children: "No item found." }),
1404
+ /* @__PURE__ */ v(U, { children: /* @__PURE__ */ v(G, {
1404
1405
  className: "max-h-64 overflow-auto",
1405
- children: e.map((e) => /* @__PURE__ */ _(G, {
1406
+ children: e.map((e) => /* @__PURE__ */ y(K, {
1406
1407
  onSelect: () => {
1407
1408
  t.includes(e.value) ? n(t.filter((t) => t !== e.value)) : n([...t, e.value]), o(!0);
1408
1409
  },
1409
1410
  children: [
1410
- /* @__PURE__ */ g(f, { className: N("mr-2 h-4 w-4", t.includes(e.value) ? "opacity-100" : "opacity-0") }),
1411
- e.icon && /* @__PURE__ */ g(e.icon, { className: "mr-2 h-4 w-4" }),
1411
+ /* @__PURE__ */ v(m, { className: F("mr-2 h-4 w-4", t.includes(e.value) ? "opacity-100" : "opacity-0") }),
1412
+ e.icon && /* @__PURE__ */ v(e.icon, { className: "mr-2 h-4 w-4" }),
1412
1413
  e.label
1413
1414
  ]
1414
1415
  }, e.value))
@@ -1419,106 +1420,106 @@ function On({ options: e, selected: t, onChange: n, placeholder: r = "Select opt
1419
1420
  }
1420
1421
  //#endregion
1421
1422
  //#region src/components/ui/scroll-area.tsx
1422
- var Q = s.forwardRef(({ className: e, children: t, orientation: n = "vertical", type: r = "hover", ...i }, a) => /* @__PURE__ */ _(D.Root, {
1423
+ var Mn = s.forwardRef(({ className: e, children: t, orientation: n = "vertical", type: r = "hover", ...i }, a) => /* @__PURE__ */ y(k.Root, {
1423
1424
  ref: a,
1424
1425
  "data-slot": "scroll-area",
1425
1426
  type: r,
1426
- className: N("relative overflow-hidden", e),
1427
+ className: F("relative overflow-hidden", e),
1427
1428
  ...i,
1428
1429
  children: [
1429
- /* @__PURE__ */ g(D.Viewport, {
1430
+ /* @__PURE__ */ v(k.Viewport, {
1430
1431
  "data-slot": "scroll-area-viewport",
1431
- className: N("focus-visible:ring-ring/50 size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:outline-1", n === "horizontal" && "overflow-x-auto!"),
1432
+ className: F("focus-visible:ring-ring/50 size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:outline-1", n === "horizontal" && "overflow-x-auto!"),
1432
1433
  children: t
1433
1434
  }),
1434
- /* @__PURE__ */ g(kn, { orientation: n }),
1435
- /* @__PURE__ */ g(D.Corner, {})
1435
+ /* @__PURE__ */ v(Nn, { orientation: n }),
1436
+ /* @__PURE__ */ v(k.Corner, {})
1436
1437
  ]
1437
1438
  }));
1438
- Q.displayName = "ScrollArea";
1439
- var kn = s.forwardRef(({ className: e, orientation: t = "vertical", ...n }, r) => /* @__PURE__ */ g(D.ScrollAreaScrollbar, {
1439
+ Mn.displayName = "ScrollArea";
1440
+ var Nn = s.forwardRef(({ className: e, orientation: t = "vertical", ...n }, r) => /* @__PURE__ */ v(k.ScrollAreaScrollbar, {
1440
1441
  ref: r,
1441
1442
  "data-slot": "scroll-area-scrollbar",
1442
1443
  orientation: t,
1443
- className: N("flex touch-none p-px transition-colors select-none", t === "vertical" && "h-full w-3 border-l border-l-transparent", t === "horizontal" && "h-3 flex-col border-t border-t-transparent", e),
1444
+ className: F("flex touch-none p-px transition-colors select-none", t === "vertical" && "h-full w-3 border-l border-l-transparent", t === "horizontal" && "h-3 flex-col border-t border-t-transparent", e),
1444
1445
  ...n,
1445
- children: /* @__PURE__ */ g(D.ScrollAreaThumb, {
1446
+ children: /* @__PURE__ */ v(k.ScrollAreaThumb, {
1446
1447
  "data-slot": "scroll-area-thumb",
1447
1448
  className: "bg-foreground/35 hover:bg-foreground/50 relative flex-1 rounded-full transition-colors"
1448
1449
  })
1449
1450
  }));
1450
- kn.displayName = "ScrollBar";
1451
+ Nn.displayName = "ScrollBar";
1451
1452
  //#endregion
1452
1453
  //#region src/components/ui/phone-input.tsx
1453
- var An = s.forwardRef(({ className: e, onChange: t, ...n }, r) => /* @__PURE__ */ g(we.default, {
1454
+ var Pn = s.forwardRef(({ className: e, onChange: t, ...n }, r) => /* @__PURE__ */ v(we.default, {
1454
1455
  ref: r,
1455
- className: N("flex", e),
1456
- flagComponent: Nn,
1457
- countrySelectComponent: Mn,
1458
- inputComponent: jn,
1456
+ className: F("flex", e),
1457
+ flagComponent: Ln,
1458
+ countrySelectComponent: In,
1459
+ inputComponent: Fn,
1459
1460
  smartCaret: !1,
1460
1461
  onChange: (e) => t?.(e || ""),
1461
1462
  ...n
1462
1463
  }));
1463
- An.displayName = "PhoneInput";
1464
- var jn = s.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ g(J, {
1465
- className: N("rounded-e-lg rounded-s-none", e),
1464
+ Pn.displayName = "PhoneInput";
1465
+ var Fn = s.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(Y, {
1466
+ className: F("rounded-e-lg rounded-s-none", e),
1466
1467
  ...t,
1467
1468
  ref: n
1468
1469
  }));
1469
- jn.displayName = "InputComponent";
1470
- var Mn = ({ disabled: e, value: t, onChange: n, options: r }) => {
1470
+ Fn.displayName = "InputComponent";
1471
+ var In = ({ disabled: e, value: t, onChange: n, options: r }) => {
1471
1472
  let i = s.useCallback((e) => {
1472
1473
  n(e);
1473
1474
  }, [n]);
1474
- return /* @__PURE__ */ _(Y, { children: [/* @__PURE__ */ g(X, {
1475
+ return /* @__PURE__ */ y(X, { children: [/* @__PURE__ */ v(Z, {
1475
1476
  asChild: !0,
1476
- children: /* @__PURE__ */ _(z, {
1477
+ children: /* @__PURE__ */ y(B, {
1477
1478
  type: "button",
1478
1479
  variant: "outline",
1479
- className: N("flex gap-1 rounded-e-none rounded-s-lg border-r-0 px-3 focus:z-10"),
1480
+ className: F("flex gap-1 rounded-e-none rounded-s-lg border-r-0 px-3 focus:z-10"),
1480
1481
  disabled: e,
1481
- children: [/* @__PURE__ */ g(Nn, {
1482
+ children: [/* @__PURE__ */ v(Ln, {
1482
1483
  country: t,
1483
1484
  countryName: t
1484
- }), /* @__PURE__ */ g(ae, { className: N("-mr-2 size-4 opacity-50", e ? "hidden" : "opacity-100") })]
1485
+ }), /* @__PURE__ */ v(ie, { className: F("-mr-2 size-4 opacity-50", e ? "hidden" : "opacity-100") })]
1485
1486
  })
1486
- }), /* @__PURE__ */ g(Z, {
1487
+ }), /* @__PURE__ */ v(Q, {
1487
1488
  className: "w-[300px] p-0",
1488
- children: /* @__PURE__ */ _(B, { children: [/* @__PURE__ */ g(V, { placeholder: "Buscar país..." }), /* @__PURE__ */ g(H, { children: /* @__PURE__ */ _(Q, {
1489
+ children: /* @__PURE__ */ y(V, { children: [/* @__PURE__ */ v(H, { placeholder: "Buscar país..." }), /* @__PURE__ */ v(U, { children: /* @__PURE__ */ y(Mn, {
1489
1490
  className: "h-72",
1490
- children: [/* @__PURE__ */ g(U, { children: "País no encontrado." }), /* @__PURE__ */ g(W, { children: r.filter((e) => e.value).map((e) => /* @__PURE__ */ _(G, {
1491
+ children: [/* @__PURE__ */ v(W, { children: "País no encontrado." }), /* @__PURE__ */ v(G, { children: r.filter((e) => e.value).map((e) => /* @__PURE__ */ y(K, {
1491
1492
  className: "gap-2",
1492
1493
  onSelect: () => i(e.value),
1493
1494
  children: [
1494
- /* @__PURE__ */ g(Nn, {
1495
+ /* @__PURE__ */ v(Ln, {
1495
1496
  country: e.value,
1496
1497
  countryName: e.label
1497
1498
  }),
1498
- /* @__PURE__ */ g("span", {
1499
+ /* @__PURE__ */ v("span", {
1499
1500
  className: "flex-1 text-sm",
1500
1501
  children: e.label
1501
1502
  }),
1502
- e.value && /* @__PURE__ */ g("span", {
1503
+ e.value && /* @__PURE__ */ v("span", {
1503
1504
  className: "text-sm text-foreground/50",
1504
1505
  children: `+${we.getCountryCallingCode(e.value)}`
1505
1506
  }),
1506
- /* @__PURE__ */ g(p, { className: N("ml-auto size-4", e.value === t ? "opacity-100" : "opacity-0") })
1507
+ /* @__PURE__ */ v(h, { className: F("ml-auto size-4", e.value === t ? "opacity-100" : "opacity-0") })
1507
1508
  ]
1508
1509
  }, e.value)) })]
1509
1510
  }) })] })
1510
1511
  })] });
1511
- }, Nn = ({ country: e, countryName: t }) => {
1512
+ }, Ln = ({ country: e, countryName: t }) => {
1512
1513
  let n = Te[e];
1513
- return /* @__PURE__ */ g("span", {
1514
+ return /* @__PURE__ */ v("span", {
1514
1515
  className: "flex h-5 w-7 shrink-0 items-center justify-center overflow-hidden rounded-sm bg-foreground/10 [&_svg]:h-full [&_svg]:w-full [&_svg]:object-cover",
1515
- children: n && /* @__PURE__ */ g(n, { title: t })
1516
+ children: n && /* @__PURE__ */ v(n, { title: t })
1516
1517
  });
1517
- }, Pn = s.forwardRef(({ className: e, value: t, ...n }, r) => /* @__PURE__ */ g(O.Root, {
1518
+ }, Rn = s.forwardRef(({ className: e, value: t, ...n }, r) => /* @__PURE__ */ v(A.Root, {
1518
1519
  ref: r,
1519
- className: N("relative h-2 w-full overflow-hidden rounded-full bg-primary/20", e),
1520
+ className: F("relative h-2 w-full overflow-hidden rounded-full bg-primary/20", e),
1520
1521
  ...n,
1521
- children: /* @__PURE__ */ g(O.Indicator, {
1522
+ children: /* @__PURE__ */ v(A.Indicator, {
1522
1523
  className: "h-full bg-primary transition-transform duration-300 ease-out",
1523
1524
  style: {
1524
1525
  width: "100%",
@@ -1526,353 +1527,353 @@ var Mn = ({ disabled: e, value: t, onChange: n, options: r }) => {
1526
1527
  }
1527
1528
  })
1528
1529
  }));
1529
- Pn.displayName = O.Root.displayName;
1530
+ Rn.displayName = A.Root.displayName;
1530
1531
  //#endregion
1531
1532
  //#region src/components/ui/radio-group.tsx
1532
- function Fn({ className: e, ...t }) {
1533
- return /* @__PURE__ */ g(k.Root, {
1533
+ function zn({ className: e, ...t }) {
1534
+ return /* @__PURE__ */ v(j.Root, {
1534
1535
  "data-slot": "radio-group",
1535
- className: N("grid gap-3", e),
1536
+ className: F("grid gap-3", e),
1536
1537
  ...t
1537
1538
  });
1538
1539
  }
1539
- function In({ className: e, ...t }) {
1540
- return /* @__PURE__ */ g(k.Item, {
1540
+ function Bn({ className: e, ...t }) {
1541
+ return /* @__PURE__ */ v(j.Item, {
1541
1542
  "data-slot": "radio-group-item",
1542
- className: N("border-input text-primary 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 aspect-square size-4 shrink-0 rounded-full border shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50", e),
1543
+ className: F("border-input text-primary 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 aspect-square size-4 shrink-0 rounded-full border shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50", e),
1543
1544
  ...t,
1544
- children: /* @__PURE__ */ g(k.Indicator, {
1545
+ children: /* @__PURE__ */ v(j.Indicator, {
1545
1546
  "data-slot": "radio-group-indicator",
1546
1547
  className: "relative flex items-center justify-center",
1547
- children: /* @__PURE__ */ g(oe, { className: "fill-primary absolute top-1/2 left-1/2 size-2 -translate-x-1/2 -translate-y-1/2" })
1548
+ children: /* @__PURE__ */ v(ae, { className: "fill-primary absolute top-1/2 left-1/2 size-2 -translate-x-1/2 -translate-y-1/2" })
1548
1549
  })
1549
1550
  });
1550
1551
  }
1551
1552
  //#endregion
1552
1553
  //#region src/components/ui/select.tsx
1553
- function Ln({ ...e }) {
1554
- return /* @__PURE__ */ g(A.Root, {
1554
+ function Vn({ ...e }) {
1555
+ return /* @__PURE__ */ v(M.Root, {
1555
1556
  "data-slot": "select",
1556
1557
  ...e
1557
1558
  });
1558
1559
  }
1559
- function Rn({ ...e }) {
1560
- return /* @__PURE__ */ g(A.Group, {
1560
+ function Hn({ ...e }) {
1561
+ return /* @__PURE__ */ v(M.Group, {
1561
1562
  "data-slot": "select-group",
1562
1563
  ...e
1563
1564
  });
1564
1565
  }
1565
- function zn({ ...e }) {
1566
- return /* @__PURE__ */ g(A.Value, {
1566
+ function Un({ ...e }) {
1567
+ return /* @__PURE__ */ v(M.Value, {
1567
1568
  "data-slot": "select-value",
1568
1569
  ...e
1569
1570
  });
1570
1571
  }
1571
- function Bn({ className: e, size: t = "default", children: n, ...r }) {
1572
- return /* @__PURE__ */ _(A.Trigger, {
1572
+ function Wn({ className: e, size: t = "default", children: n, ...r }) {
1573
+ return /* @__PURE__ */ y(M.Trigger, {
1573
1574
  "data-slot": "select-trigger",
1574
1575
  "data-size": t,
1575
- className: N("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),
1576
+ className: F("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),
1576
1577
  ...r,
1577
- children: [n, /* @__PURE__ */ g(A.Icon, {
1578
+ children: [n, /* @__PURE__ */ v(M.Icon, {
1578
1579
  asChild: !0,
1579
- children: /* @__PURE__ */ g(h, { className: "size-4 opacity-50" })
1580
+ children: /* @__PURE__ */ v(_, { className: "size-4 opacity-50" })
1580
1581
  })]
1581
1582
  });
1582
1583
  }
1583
- function Vn({ className: e, children: t, position: n = "popper", ...r }) {
1584
- return /* @__PURE__ */ g(A.Portal, { children: /* @__PURE__ */ _(A.Content, {
1584
+ function Gn({ className: e, children: t, position: n = "popper", ...r }) {
1585
+ return /* @__PURE__ */ v(M.Portal, { children: /* @__PURE__ */ y(M.Content, {
1585
1586
  "data-slot": "select-content",
1586
- className: N("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),
1587
+ className: F("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),
1587
1588
  position: n,
1588
1589
  ...r,
1589
1590
  children: [
1590
- /* @__PURE__ */ g(Gn, {}),
1591
- /* @__PURE__ */ g(A.Viewport, {
1592
- className: N("p-1", n === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1"),
1591
+ /* @__PURE__ */ v(Yn, {}),
1592
+ /* @__PURE__ */ v(M.Viewport, {
1593
+ className: F("p-1", n === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1"),
1593
1594
  children: t
1594
1595
  }),
1595
- /* @__PURE__ */ g(Kn, {})
1596
+ /* @__PURE__ */ v(Xn, {})
1596
1597
  ]
1597
1598
  }) });
1598
1599
  }
1599
- function Hn({ className: e, ...t }) {
1600
- return /* @__PURE__ */ g(A.Label, {
1600
+ function Kn({ className: e, ...t }) {
1601
+ return /* @__PURE__ */ v(M.Label, {
1601
1602
  "data-slot": "select-label",
1602
- className: N("text-muted-foreground px-2 py-1.5 text-xs", e),
1603
+ className: F("text-muted-foreground px-2 py-1.5 text-xs", e),
1603
1604
  ...t
1604
1605
  });
1605
1606
  }
1606
- function Un({ className: e, children: t, ...n }) {
1607
- return /* @__PURE__ */ _(A.Item, {
1607
+ function qn({ className: e, children: t, ...n }) {
1608
+ return /* @__PURE__ */ y(M.Item, {
1608
1609
  "data-slot": "select-item",
1609
- className: N("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 ps-2 pe-8 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),
1610
+ className: F("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 ps-2 pe-8 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),
1610
1611
  ...n,
1611
- children: [/* @__PURE__ */ g("span", {
1612
+ children: [/* @__PURE__ */ v("span", {
1612
1613
  className: "absolute end-2 flex size-3.5 items-center justify-center",
1613
- children: /* @__PURE__ */ g(A.ItemIndicator, { children: /* @__PURE__ */ g(p, { className: "size-4" }) })
1614
- }), /* @__PURE__ */ g(A.ItemText, { children: t })]
1614
+ children: /* @__PURE__ */ v(M.ItemIndicator, { children: /* @__PURE__ */ v(h, { className: "size-4" }) })
1615
+ }), /* @__PURE__ */ v(M.ItemText, { children: t })]
1615
1616
  });
1616
1617
  }
1617
- function Wn({ className: e, ...t }) {
1618
- return /* @__PURE__ */ g(A.Separator, {
1618
+ function Jn({ className: e, ...t }) {
1619
+ return /* @__PURE__ */ v(M.Separator, {
1619
1620
  "data-slot": "select-separator",
1620
- className: N("bg-border pointer-events-none -mx-1 my-1 h-px", e),
1621
+ className: F("bg-border pointer-events-none -mx-1 my-1 h-px", e),
1621
1622
  ...t
1622
1623
  });
1623
1624
  }
1624
- function Gn({ className: e, ...t }) {
1625
- return /* @__PURE__ */ g(A.ScrollUpButton, {
1625
+ function Yn({ className: e, ...t }) {
1626
+ return /* @__PURE__ */ v(M.ScrollUpButton, {
1626
1627
  "data-slot": "select-scroll-up-button",
1627
- className: N("flex cursor-default items-center justify-center py-1", e),
1628
+ className: F("flex cursor-default items-center justify-center py-1", e),
1628
1629
  ...t,
1629
- children: /* @__PURE__ */ g(ie, { className: "size-4" })
1630
+ children: /* @__PURE__ */ v(re, { className: "size-4" })
1630
1631
  });
1631
1632
  }
1632
- function Kn({ className: e, ...t }) {
1633
- return /* @__PURE__ */ g(A.ScrollDownButton, {
1633
+ function Xn({ className: e, ...t }) {
1634
+ return /* @__PURE__ */ v(M.ScrollDownButton, {
1634
1635
  "data-slot": "select-scroll-down-button",
1635
- className: N("flex cursor-default items-center justify-center py-1", e),
1636
+ className: F("flex cursor-default items-center justify-center py-1", e),
1636
1637
  ...t,
1637
- children: /* @__PURE__ */ g(h, { className: "size-4" })
1638
+ children: /* @__PURE__ */ v(_, { className: "size-4" })
1638
1639
  });
1639
1640
  }
1640
1641
  //#endregion
1641
1642
  //#region src/components/ui/separator.tsx
1642
- function qn({ className: e, orientation: t = "horizontal", decorative: n = !0, ...r }) {
1643
- return /* @__PURE__ */ g(Ee.Root, {
1643
+ function Zn({ className: e, orientation: t = "horizontal", decorative: n = !0, ...r }) {
1644
+ return /* @__PURE__ */ v(Ee.Root, {
1644
1645
  "data-slot": "separator",
1645
1646
  decorative: n,
1646
1647
  orientation: t,
1647
- className: N("bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:w-px", e),
1648
+ className: F("bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:w-px", e),
1648
1649
  ...r
1649
1650
  });
1650
1651
  }
1651
1652
  //#endregion
1652
1653
  //#region src/components/ui/sheet.tsx
1653
- function Jn({ ...e }) {
1654
- return /* @__PURE__ */ g(w.Root, {
1654
+ function Qn({ ...e }) {
1655
+ return /* @__PURE__ */ v(E.Root, {
1655
1656
  "data-slot": "sheet",
1656
1657
  ...e
1657
1658
  });
1658
1659
  }
1659
- function Yn({ ...e }) {
1660
- return /* @__PURE__ */ g(w.Trigger, {
1660
+ function $n({ ...e }) {
1661
+ return /* @__PURE__ */ v(E.Trigger, {
1661
1662
  "data-slot": "sheet-trigger",
1662
1663
  ...e
1663
1664
  });
1664
1665
  }
1665
- function Xn({ ...e }) {
1666
- return /* @__PURE__ */ g(w.Close, {
1666
+ function er({ ...e }) {
1667
+ return /* @__PURE__ */ v(E.Close, {
1667
1668
  "data-slot": "sheet-close",
1668
1669
  ...e
1669
1670
  });
1670
1671
  }
1671
- function Zn({ ...e }) {
1672
- return /* @__PURE__ */ g(w.Portal, {
1672
+ function tr({ ...e }) {
1673
+ return /* @__PURE__ */ v(E.Portal, {
1673
1674
  "data-slot": "sheet-portal",
1674
1675
  ...e
1675
1676
  });
1676
1677
  }
1677
- function Qn({ className: e, ...t }) {
1678
- return /* @__PURE__ */ g(w.Overlay, {
1678
+ function nr({ className: e, ...t }) {
1679
+ return /* @__PURE__ */ v(E.Overlay, {
1679
1680
  "data-slot": "sheet-overlay",
1680
- className: N("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),
1681
+ className: F("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),
1681
1682
  ...t
1682
1683
  });
1683
1684
  }
1684
- function $n({ className: e, children: t, side: n = "right", ...r }) {
1685
- return /* @__PURE__ */ _(Zn, { children: [/* @__PURE__ */ g(Qn, {}), /* @__PURE__ */ _(w.Content, {
1685
+ function rr({ className: e, children: t, side: n = "right", ...r }) {
1686
+ return /* @__PURE__ */ y(tr, { children: [/* @__PURE__ */ v(nr, {}), /* @__PURE__ */ y(E.Content, {
1686
1687
  "data-slot": "sheet-content",
1687
- className: N("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-end data-[state=open]:slide-in-from-end inset-y-0 end-0 h-full w-3/4 border-s sm:max-w-sm", n === "left" && "data-[state=closed]:slide-out-to-start data-[state=open]:slide-in-from-start inset-y-0 start-0 h-full w-3/4 border-e 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),
1688
+ className: F("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-end data-[state=open]:slide-in-from-end inset-y-0 end-0 h-full w-3/4 border-s sm:max-w-sm", n === "left" && "data-[state=closed]:slide-out-to-start data-[state=open]:slide-in-from-start inset-y-0 start-0 h-full w-3/4 border-e 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),
1688
1689
  ...r,
1689
- children: [t, /* @__PURE__ */ _(w.Close, {
1690
+ children: [t, /* @__PURE__ */ y(E.Close, {
1690
1691
  className: "ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute end-4 top-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none",
1691
- children: [/* @__PURE__ */ g(pe, { className: "size-4" }), /* @__PURE__ */ g("span", {
1692
+ children: [/* @__PURE__ */ v(fe, { className: "size-4" }), /* @__PURE__ */ v("span", {
1692
1693
  className: "sr-only",
1693
1694
  children: "Close"
1694
1695
  })]
1695
1696
  })]
1696
1697
  })] });
1697
1698
  }
1698
- function er({ className: e, ...t }) {
1699
- return /* @__PURE__ */ g("div", {
1699
+ function ir({ className: e, ...t }) {
1700
+ return /* @__PURE__ */ v("div", {
1700
1701
  "data-slot": "sheet-header",
1701
- className: N("flex flex-col gap-1.5 p-4", e),
1702
+ className: F("flex flex-col gap-1.5 p-4", e),
1702
1703
  ...t
1703
1704
  });
1704
1705
  }
1705
- function tr({ className: e, ...t }) {
1706
- return /* @__PURE__ */ g("div", {
1706
+ function ar({ className: e, ...t }) {
1707
+ return /* @__PURE__ */ v("div", {
1707
1708
  "data-slot": "sheet-footer",
1708
- className: N("mt-auto flex flex-col gap-2 p-4", e),
1709
+ className: F("mt-auto flex flex-col gap-2 p-4", e),
1709
1710
  ...t
1710
1711
  });
1711
1712
  }
1712
- function nr({ className: e, ...t }) {
1713
- return /* @__PURE__ */ g(w.Title, {
1713
+ function or({ className: e, ...t }) {
1714
+ return /* @__PURE__ */ v(E.Title, {
1714
1715
  "data-slot": "sheet-title",
1715
- className: N("text-foreground font-semibold", e),
1716
+ className: F("text-foreground font-semibold", e),
1716
1717
  ...t
1717
1718
  });
1718
1719
  }
1719
- function rr({ className: e, ...t }) {
1720
- return /* @__PURE__ */ g(w.Description, {
1720
+ function sr({ className: e, ...t }) {
1721
+ return /* @__PURE__ */ v(E.Description, {
1721
1722
  "data-slot": "sheet-description",
1722
- className: N("text-muted-foreground text-sm", e),
1723
+ className: F("text-muted-foreground text-sm", e),
1723
1724
  ...t
1724
1725
  });
1725
1726
  }
1726
1727
  //#endregion
1727
1728
  //#region src/hooks/use-mobile.tsx
1728
- var ir = 768;
1729
- function ar() {
1729
+ var cr = 768;
1730
+ function lr() {
1730
1731
  let [e, t] = s.useState(void 0);
1731
1732
  return s.useEffect(() => {
1732
- let e = window.matchMedia(`(max-width: ${ir - 1}px)`), n = () => {
1733
- t(window.innerWidth < ir);
1733
+ let e = window.matchMedia(`(max-width: ${cr - 1}px)`), n = () => {
1734
+ t(window.innerWidth < cr);
1734
1735
  };
1735
- return e.addEventListener("change", n), t(window.innerWidth < ir), () => e.removeEventListener("change", n);
1736
+ return e.addEventListener("change", n), t(window.innerWidth < cr), () => e.removeEventListener("change", n);
1736
1737
  }, []), !!e;
1737
1738
  }
1738
1739
  //#endregion
1739
1740
  //#region src/components/ui/skeleton.tsx
1740
- function or({ className: e, ...t }) {
1741
- return /* @__PURE__ */ g("div", {
1741
+ function ur({ className: e, ...t }) {
1742
+ return /* @__PURE__ */ v("div", {
1742
1743
  "data-slot": "skeleton",
1743
- className: N("bg-accent animate-pulse rounded-md", e),
1744
+ className: F("bg-accent animate-pulse rounded-md", e),
1744
1745
  ...t
1745
1746
  });
1746
1747
  }
1747
1748
  //#endregion
1748
1749
  //#region src/components/ui/tooltip.tsx
1749
- function sr({ delayDuration: e = 0, ...t }) {
1750
- return /* @__PURE__ */ g(j.Provider, {
1750
+ function dr({ delayDuration: e = 0, ...t }) {
1751
+ return /* @__PURE__ */ v(N.Provider, {
1751
1752
  "data-slot": "tooltip-provider",
1752
1753
  delayDuration: e,
1753
1754
  ...t
1754
1755
  });
1755
1756
  }
1756
- function cr({ ...e }) {
1757
- return /* @__PURE__ */ g(sr, { children: /* @__PURE__ */ g(j.Root, {
1757
+ function fr({ ...e }) {
1758
+ return /* @__PURE__ */ v(dr, { children: /* @__PURE__ */ v(N.Root, {
1758
1759
  "data-slot": "tooltip",
1759
1760
  ...e
1760
1761
  }) });
1761
1762
  }
1762
- function lr({ ...e }) {
1763
- return /* @__PURE__ */ g(j.Trigger, {
1763
+ function pr({ ...e }) {
1764
+ return /* @__PURE__ */ v(N.Trigger, {
1764
1765
  "data-slot": "tooltip-trigger",
1765
1766
  ...e
1766
1767
  });
1767
1768
  }
1768
- function ur({ className: e, sideOffset: t = 0, children: n, ...r }) {
1769
- return /* @__PURE__ */ g(j.Portal, { children: /* @__PURE__ */ _(j.Content, {
1769
+ function mr({ className: e, sideOffset: t = 0, children: n, ...r }) {
1770
+ return /* @__PURE__ */ v(N.Portal, { children: /* @__PURE__ */ y(N.Content, {
1770
1771
  "data-slot": "tooltip-content",
1771
1772
  sideOffset: t,
1772
- className: N("bg-primary text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-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 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-1.5 text-xs text-balance", e),
1773
+ className: F("bg-primary text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-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 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-1.5 text-xs text-balance", e),
1773
1774
  ...r,
1774
- children: [n, /* @__PURE__ */ g(j.Arrow, { className: "bg-primary fill-primary z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]" })]
1775
+ children: [n, /* @__PURE__ */ v(N.Arrow, { className: "bg-primary fill-primary z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]" })]
1775
1776
  }) });
1776
1777
  }
1777
1778
  //#endregion
1778
1779
  //#region src/components/ui/sidebar.tsx
1779
- var dr = "sidebar_state", fr = 3600 * 24 * 7, pr = "16rem", mr = "18rem", hr = "3rem", gr = "b", _r = s.createContext(null);
1780
+ var hr = "sidebar_state", gr = 3600 * 24 * 7, _r = "16rem", vr = "18rem", yr = "3rem", br = "b", xr = s.createContext(null);
1780
1781
  function $() {
1781
- let e = s.useContext(_r);
1782
+ let e = s.useContext(xr);
1782
1783
  if (!e) throw Error("useSidebar must be used within a SidebarProvider.");
1783
1784
  return e;
1784
1785
  }
1785
- function vr({ defaultOpen: e = !0, open: t, onOpenChange: n, className: r, style: i, children: a, ...o }) {
1786
- let c = ar(), [l, u] = s.useState(!1), [ee, te] = s.useState(e), d = t ?? ee, f = s.useCallback((e) => {
1787
- let t = typeof e == "function" ? e(d) : e;
1788
- n ? n(t) : te(t), document.cookie = `${dr}=${t}; path=/; max-age=${fr}`;
1789
- }, [n, d]), p = s.useCallback(() => c ? u((e) => !e) : f((e) => !e), [
1786
+ function Sr({ defaultOpen: e = !0, open: t, onOpenChange: n, className: r, style: i, children: a, ...o }) {
1787
+ let c = lr(), [l, u] = s.useState(!1), [d, ee] = s.useState(e), f = t ?? d, p = s.useCallback((e) => {
1788
+ let t = typeof e == "function" ? e(f) : e;
1789
+ n ? n(t) : ee(t), document.cookie = `${hr}=${t}; path=/; max-age=${gr}`;
1790
+ }, [n, f]), m = s.useCallback(() => c ? u((e) => !e) : p((e) => !e), [
1790
1791
  c,
1791
- f,
1792
+ p,
1792
1793
  u
1793
1794
  ]);
1794
1795
  s.useEffect(() => {
1795
1796
  let e = (e) => {
1796
- e.key === gr && (e.metaKey || e.ctrlKey) && (e.preventDefault(), p());
1797
+ e.key === br && (e.metaKey || e.ctrlKey) && (e.preventDefault(), m());
1797
1798
  };
1798
1799
  return window.addEventListener("keydown", e), () => window.removeEventListener("keydown", e);
1799
- }, [p]);
1800
- let m = d ? "expanded" : "collapsed", h = s.useMemo(() => ({
1801
- state: m,
1802
- open: d,
1803
- setOpen: f,
1800
+ }, [m]);
1801
+ let h = f ? "expanded" : "collapsed", g = s.useMemo(() => ({
1802
+ state: h,
1803
+ open: f,
1804
+ setOpen: p,
1804
1805
  isMobile: c,
1805
1806
  openMobile: l,
1806
1807
  setOpenMobile: u,
1807
- toggleSidebar: p
1808
+ toggleSidebar: m
1808
1809
  }), [
1809
- m,
1810
- d,
1810
+ h,
1811
1811
  f,
1812
+ p,
1812
1813
  c,
1813
1814
  l,
1814
1815
  u,
1815
- p
1816
+ m
1816
1817
  ]);
1817
- return /* @__PURE__ */ g(_r.Provider, {
1818
- value: h,
1819
- children: /* @__PURE__ */ g(sr, {
1818
+ return /* @__PURE__ */ v(xr.Provider, {
1819
+ value: g,
1820
+ children: /* @__PURE__ */ v(dr, {
1820
1821
  delayDuration: 0,
1821
- children: /* @__PURE__ */ g("div", {
1822
+ children: /* @__PURE__ */ v("div", {
1822
1823
  "data-slot": "sidebar-wrapper",
1823
1824
  style: {
1824
- "--sidebar-width": pr,
1825
- "--sidebar-width-icon": hr,
1825
+ "--sidebar-width": _r,
1826
+ "--sidebar-width-icon": yr,
1826
1827
  ...i
1827
1828
  },
1828
- className: N("group/sidebar-wrapper has-data-[variant=inset]:bg-sidebar flex h-svh w-full overflow-hidden", r),
1829
+ className: F("group/sidebar-wrapper has-data-[variant=inset]:bg-sidebar flex h-svh w-full overflow-hidden", r),
1829
1830
  ...o,
1830
1831
  children: a
1831
1832
  })
1832
1833
  })
1833
1834
  });
1834
1835
  }
1835
- function yr({ side: e = "left", variant: t = "sidebar", collapsible: n = "offcanvas", className: r, children: i, ...a }) {
1836
+ function Cr({ side: e = "left", variant: t = "sidebar", collapsible: n = "offcanvas", className: r, children: i, ...a }) {
1836
1837
  let { isMobile: o, state: s, openMobile: c, setOpenMobile: l } = $();
1837
- return n === "none" ? /* @__PURE__ */ g("div", {
1838
+ return n === "none" ? /* @__PURE__ */ v("div", {
1838
1839
  "data-slot": "sidebar",
1839
- className: N("bg-sidebar text-sidebar-foreground flex h-full w-(--sidebar-width) flex-col", r),
1840
+ className: F("bg-sidebar text-sidebar-foreground flex h-full w-(--sidebar-width) flex-col", r),
1840
1841
  ...a,
1841
1842
  children: i
1842
- }) : o ? /* @__PURE__ */ g(Jn, {
1843
+ }) : o ? /* @__PURE__ */ v(Qn, {
1843
1844
  open: c,
1844
1845
  onOpenChange: l,
1845
1846
  ...a,
1846
- children: /* @__PURE__ */ _($n, {
1847
+ children: /* @__PURE__ */ y(rr, {
1847
1848
  "data-sidebar": "sidebar",
1848
1849
  "data-slot": "sidebar",
1849
1850
  "data-mobile": "true",
1850
1851
  className: "bg-sidebar text-sidebar-foreground w-(--sidebar-width) p-0 [&>button]:hidden",
1851
- style: { "--sidebar-width": mr },
1852
+ style: { "--sidebar-width": vr },
1852
1853
  side: e,
1853
- children: [/* @__PURE__ */ _(er, {
1854
+ children: [/* @__PURE__ */ y(ir, {
1854
1855
  className: "sr-only",
1855
- children: [/* @__PURE__ */ g(nr, { children: "Sidebar" }), /* @__PURE__ */ g(rr, { children: "Displays the mobile sidebar." })]
1856
- }), /* @__PURE__ */ g("div", {
1856
+ children: [/* @__PURE__ */ v(or, { children: "Sidebar" }), /* @__PURE__ */ v(sr, { children: "Displays the mobile sidebar." })]
1857
+ }), /* @__PURE__ */ v("div", {
1857
1858
  className: "flex h-full w-full flex-col",
1858
1859
  children: i
1859
1860
  })]
1860
1861
  })
1861
- }) : /* @__PURE__ */ _("div", {
1862
+ }) : /* @__PURE__ */ y("div", {
1862
1863
  className: "group peer text-sidebar-foreground hidden md:block",
1863
1864
  "data-state": s,
1864
1865
  "data-collapsible": s === "collapsed" ? n : "",
1865
1866
  "data-variant": t,
1866
1867
  "data-side": e,
1867
1868
  "data-slot": "sidebar",
1868
- children: [/* @__PURE__ */ g("div", {
1869
+ children: [/* @__PURE__ */ v("div", {
1869
1870
  "data-slot": "sidebar-gap",
1870
- className: N("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)")
1871
- }), /* @__PURE__ */ g("div", {
1871
+ className: F("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)")
1872
+ }), /* @__PURE__ */ v("div", {
1872
1873
  "data-slot": "sidebar-container",
1873
- className: N("fixed inset-y-0 z-10 hidden h-svh w-(--sidebar-width) transition-[inset-inline,width] duration-200 ease-linear md:flex", e === "left" ? "start-0 group-data-[collapsible=offcanvas]:-start-[calc(var(--sidebar-width))]" : "end-0 group-data-[collapsible=offcanvas]:-end-[calc(var(--sidebar-width))]", 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-e group-data-[side=right]:border-s", r),
1874
+ className: F("fixed inset-y-0 z-10 hidden h-svh w-(--sidebar-width) transition-[inset-inline,width] duration-200 ease-linear md:flex", e === "left" ? "start-0 group-data-[collapsible=offcanvas]:-start-[calc(var(--sidebar-width))]" : "end-0 group-data-[collapsible=offcanvas]:-end-[calc(var(--sidebar-width))]", 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-e group-data-[side=right]:border-s", r),
1874
1875
  ...a,
1875
- children: /* @__PURE__ */ g("div", {
1876
+ children: /* @__PURE__ */ v("div", {
1876
1877
  "data-sidebar": "sidebar",
1877
1878
  "data-slot": "sidebar-inner",
1878
1879
  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",
@@ -1881,133 +1882,133 @@ function yr({ side: e = "left", variant: t = "sidebar", collapsible: n = "offcan
1881
1882
  })]
1882
1883
  });
1883
1884
  }
1884
- function br({ className: e, onClick: t, ...n }) {
1885
+ function wr({ className: e, onClick: t, ...n }) {
1885
1886
  let { toggleSidebar: r } = $();
1886
- return /* @__PURE__ */ _(z, {
1887
+ return /* @__PURE__ */ y(B, {
1887
1888
  "data-sidebar": "trigger",
1888
1889
  "data-slot": "sidebar-trigger",
1889
1890
  variant: "ghost",
1890
1891
  size: "icon",
1891
- className: N("size-7", e),
1892
+ className: F("size-7", e),
1892
1893
  onClick: (e) => {
1893
1894
  t?.(e), r();
1894
1895
  },
1895
1896
  ...n,
1896
- children: [/* @__PURE__ */ g(ue, {}), /* @__PURE__ */ g("span", {
1897
+ children: [/* @__PURE__ */ v(le, {}), /* @__PURE__ */ v("span", {
1897
1898
  className: "sr-only",
1898
1899
  children: "Toggle Sidebar"
1899
1900
  })]
1900
1901
  });
1901
1902
  }
1902
- function xr({ className: e, ...t }) {
1903
+ function Tr({ className: e, ...t }) {
1903
1904
  let { toggleSidebar: n } = $();
1904
- return /* @__PURE__ */ g("button", {
1905
+ return /* @__PURE__ */ v("button", {
1905
1906
  "data-sidebar": "rail",
1906
1907
  "data-slot": "sidebar-rail",
1907
1908
  "aria-label": "Toggle Sidebar",
1908
1909
  tabIndex: -1,
1909
1910
  onClick: n,
1910
1911
  title: "Toggle Sidebar",
1911
- className: N("hover:after:bg-sidebar-border absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear group-data-[side=left]:-end-4 group-data-[side=right]:start-0 after:absolute after:inset-y-0 after:start-1/2 after:w-[2px] sm:flex", "in-data-[side=left]:cursor-w-resize in-data-[side=right]:cursor-e-resize", "[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize", "hover:group-data-[collapsible=offcanvas]:bg-sidebar group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:start-full", "[[data-side=left][data-collapsible=offcanvas]_&]:-end-2", "[[data-side=right][data-collapsible=offcanvas]_&]:-start-2", "rtl:translate-x-1/2", "rtl:in-data-[side=left]:cursor-e-resize rtl:in-data-[side=right]:cursor-w-resize", "rtl:[[data-side=left][data-state=collapsed]_&]:cursor-w-resize rtl:[[data-side=right][data-state=collapsed]_&]:cursor-e-resize", e),
1912
+ className: F("hover:after:bg-sidebar-border absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear group-data-[side=left]:-end-4 group-data-[side=right]:start-0 after:absolute after:inset-y-0 after:start-1/2 after:w-[2px] sm:flex", "in-data-[side=left]:cursor-w-resize in-data-[side=right]:cursor-e-resize", "[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize", "hover:group-data-[collapsible=offcanvas]:bg-sidebar group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:start-full", "[[data-side=left][data-collapsible=offcanvas]_&]:-end-2", "[[data-side=right][data-collapsible=offcanvas]_&]:-start-2", "rtl:translate-x-1/2", "rtl:in-data-[side=left]:cursor-e-resize rtl:in-data-[side=right]:cursor-w-resize", "rtl:[[data-side=left][data-state=collapsed]_&]:cursor-w-resize rtl:[[data-side=right][data-state=collapsed]_&]:cursor-e-resize", e),
1912
1913
  ...t
1913
1914
  });
1914
1915
  }
1915
- function Sr({ className: e, ...t }) {
1916
- return /* @__PURE__ */ g("div", {
1916
+ function Er({ className: e, ...t }) {
1917
+ return /* @__PURE__ */ v("div", {
1917
1918
  "data-slot": "sidebar-inset",
1918
- className: N("bg-background relative flex w-full flex-1 flex-col overflow-y-auto", "md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ms-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ms-2", e),
1919
+ className: F("bg-background relative flex w-full flex-1 flex-col overflow-y-auto", "md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ms-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ms-2", e),
1919
1920
  ...t
1920
1921
  });
1921
1922
  }
1922
- function Cr({ className: e, ...t }) {
1923
- return /* @__PURE__ */ g(J, {
1923
+ function Dr({ className: e, ...t }) {
1924
+ return /* @__PURE__ */ v(Y, {
1924
1925
  "data-slot": "sidebar-input",
1925
1926
  "data-sidebar": "input",
1926
- className: N("bg-background h-8 w-full shadow-none", e),
1927
+ className: F("bg-background h-8 w-full shadow-none", e),
1927
1928
  ...t
1928
1929
  });
1929
1930
  }
1930
- function wr({ className: e, ...t }) {
1931
- return /* @__PURE__ */ g("div", {
1931
+ function Or({ className: e, ...t }) {
1932
+ return /* @__PURE__ */ v("div", {
1932
1933
  "data-slot": "sidebar-header",
1933
1934
  "data-sidebar": "header",
1934
- className: N("flex flex-col gap-2 p-2", e),
1935
+ className: F("flex flex-col gap-2 p-2", e),
1935
1936
  ...t
1936
1937
  });
1937
1938
  }
1938
- function Tr({ className: e, ...t }) {
1939
- return /* @__PURE__ */ g("div", {
1939
+ function kr({ className: e, ...t }) {
1940
+ return /* @__PURE__ */ v("div", {
1940
1941
  "data-slot": "sidebar-footer",
1941
1942
  "data-sidebar": "footer",
1942
- className: N("flex flex-col gap-2 p-2", e),
1943
+ className: F("flex flex-col gap-2 p-2", e),
1943
1944
  ...t
1944
1945
  });
1945
1946
  }
1946
- function Er({ className: e, ...t }) {
1947
- return /* @__PURE__ */ g(qn, {
1947
+ function Ar({ className: e, ...t }) {
1948
+ return /* @__PURE__ */ v(Zn, {
1948
1949
  "data-slot": "sidebar-separator",
1949
1950
  "data-sidebar": "separator",
1950
- className: N("bg-sidebar-border mx-2 w-auto", e),
1951
+ className: F("bg-sidebar-border mx-2 w-auto", e),
1951
1952
  ...t
1952
1953
  });
1953
1954
  }
1954
- function Dr({ className: e, ...t }) {
1955
- return /* @__PURE__ */ g("div", {
1955
+ function jr({ className: e, ...t }) {
1956
+ return /* @__PURE__ */ v("div", {
1956
1957
  "data-slot": "sidebar-content",
1957
1958
  "data-sidebar": "content",
1958
- className: N("flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden", e),
1959
+ className: F("flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden", e),
1959
1960
  ...t
1960
1961
  });
1961
1962
  }
1962
- function Or({ className: e, ...t }) {
1963
- return /* @__PURE__ */ g("div", {
1963
+ function Mr({ className: e, ...t }) {
1964
+ return /* @__PURE__ */ v("div", {
1964
1965
  "data-slot": "sidebar-group",
1965
1966
  "data-sidebar": "group",
1966
- className: N("relative flex w-full min-w-0 flex-col p-2", e),
1967
+ className: F("relative flex w-full min-w-0 flex-col p-2", e),
1967
1968
  ...t
1968
1969
  });
1969
1970
  }
1970
- function kr({ className: e, asChild: t = !1, ...n }) {
1971
- return /* @__PURE__ */ g(t ? b : "div", {
1971
+ function Nr({ className: e, asChild: t = !1, ...n }) {
1972
+ return /* @__PURE__ */ v(t ? S : "div", {
1972
1973
  "data-slot": "sidebar-group-label",
1973
1974
  "data-sidebar": "group-label",
1974
- className: N("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),
1975
+ className: F("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),
1975
1976
  ...n
1976
1977
  });
1977
1978
  }
1978
- function Ar({ className: e, asChild: t = !1, ...n }) {
1979
- return /* @__PURE__ */ g(t ? b : "button", {
1979
+ function Pr({ className: e, asChild: t = !1, ...n }) {
1980
+ return /* @__PURE__ */ v(t ? S : "button", {
1980
1981
  "data-slot": "sidebar-group-action",
1981
1982
  "data-sidebar": "group-action",
1982
- className: N("text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground absolute end-3 top-3.5 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),
1983
+ className: F("text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground absolute end-3 top-3.5 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),
1983
1984
  ...n
1984
1985
  });
1985
1986
  }
1986
- function jr({ className: e, ...t }) {
1987
- return /* @__PURE__ */ g("div", {
1987
+ function Fr({ className: e, ...t }) {
1988
+ return /* @__PURE__ */ v("div", {
1988
1989
  "data-slot": "sidebar-group-content",
1989
1990
  "data-sidebar": "group-content",
1990
- className: N("w-full text-sm", e),
1991
+ className: F("w-full text-sm", e),
1991
1992
  ...t
1992
1993
  });
1993
1994
  }
1994
- function Mr({ className: e, ...t }) {
1995
- return /* @__PURE__ */ g("ul", {
1995
+ function Ir({ className: e, ...t }) {
1996
+ return /* @__PURE__ */ v("ul", {
1996
1997
  "data-slot": "sidebar-menu",
1997
1998
  "data-sidebar": "menu",
1998
- className: N("flex w-full min-w-0 flex-col gap-1", e),
1999
+ className: F("flex w-full min-w-0 flex-col gap-1", e),
1999
2000
  ...t
2000
2001
  });
2001
2002
  }
2002
- function Nr({ className: e, ...t }) {
2003
- return /* @__PURE__ */ g("li", {
2003
+ function Lr({ className: e, ...t }) {
2004
+ return /* @__PURE__ */ v("li", {
2004
2005
  "data-slot": "sidebar-menu-item",
2005
2006
  "data-sidebar": "menu-item",
2006
- className: N("group/menu-item relative", e),
2007
+ className: F("group/menu-item relative", e),
2007
2008
  ...t
2008
2009
  });
2009
2010
  }
2010
- var Pr = v("peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-start 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:pe-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", {
2011
+ var Rr = b("peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-start 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:pe-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", {
2011
2012
  variants: {
2012
2013
  variant: {
2013
2014
  default: "hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",
@@ -2024,105 +2025,105 @@ var Pr = v("peer/menu-button flex w-full items-center gap-2 overflow-hidden roun
2024
2025
  size: "default"
2025
2026
  }
2026
2027
  });
2027
- function Fr({ asChild: e = !1, isActive: t = !1, variant: n = "default", size: r = "default", tooltip: i, className: a, ...o }) {
2028
- let s = e ? b : "button", { isMobile: c, state: l } = $(), u = /* @__PURE__ */ g(s, {
2028
+ function zr({ asChild: e = !1, isActive: t = !1, variant: n = "default", size: r = "default", tooltip: i, className: a, ...o }) {
2029
+ let s = e ? S : "button", { isMobile: c, state: l } = $(), u = /* @__PURE__ */ v(s, {
2029
2030
  "data-slot": "sidebar-menu-button",
2030
2031
  "data-sidebar": "menu-button",
2031
2032
  "data-size": r,
2032
2033
  "data-active": t,
2033
- className: N(Pr({
2034
+ className: F(Rr({
2034
2035
  variant: n,
2035
2036
  size: r
2036
2037
  }), a),
2037
2038
  ...o
2038
2039
  });
2039
- return i ? (typeof i == "string" && (i = { children: i }), /* @__PURE__ */ _(cr, { children: [/* @__PURE__ */ g(lr, {
2040
+ return i ? (typeof i == "string" && (i = { children: i }), /* @__PURE__ */ y(fr, { children: [/* @__PURE__ */ v(pr, {
2040
2041
  asChild: !0,
2041
2042
  children: u
2042
- }), /* @__PURE__ */ g(ur, {
2043
+ }), /* @__PURE__ */ v(mr, {
2043
2044
  side: "right",
2044
2045
  align: "center",
2045
2046
  hidden: l !== "collapsed" || c,
2046
2047
  ...i
2047
2048
  })] })) : u;
2048
2049
  }
2049
- function Ir({ className: e, asChild: t = !1, showOnHover: n = !1, ...r }) {
2050
- return /* @__PURE__ */ g(t ? b : "button", {
2050
+ function Br({ className: e, asChild: t = !1, showOnHover: n = !1, ...r }) {
2051
+ return /* @__PURE__ */ v(t ? S : "button", {
2051
2052
  "data-slot": "sidebar-menu-action",
2052
2053
  "data-sidebar": "menu-action",
2053
- className: N("text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground peer-hover/menu-button:text-sidebar-accent-foreground absolute end-1 top-1.5 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),
2054
+ className: F("text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground peer-hover/menu-button:text-sidebar-accent-foreground absolute end-1 top-1.5 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),
2054
2055
  ...r
2055
2056
  });
2056
2057
  }
2057
- function Lr({ className: e, ...t }) {
2058
- return /* @__PURE__ */ g("div", {
2058
+ function Vr({ className: e, ...t }) {
2059
+ return /* @__PURE__ */ v("div", {
2059
2060
  "data-slot": "sidebar-menu-badge",
2060
2061
  "data-sidebar": "menu-badge",
2061
- className: N("text-sidebar-foreground pointer-events-none absolute end-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),
2062
+ className: F("text-sidebar-foreground pointer-events-none absolute end-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),
2062
2063
  ...t
2063
2064
  });
2064
2065
  }
2065
- function Rr({ className: e, showIcon: t = !1, ...n }) {
2066
+ function Hr({ className: e, showIcon: t = !1, ...n }) {
2066
2067
  let r = s.useMemo(() => `${Math.floor(Math.random() * 40) + 50}%`, []);
2067
- return /* @__PURE__ */ _("div", {
2068
+ return /* @__PURE__ */ y("div", {
2068
2069
  "data-slot": "sidebar-menu-skeleton",
2069
2070
  "data-sidebar": "menu-skeleton",
2070
- className: N("flex h-8 items-center gap-2 rounded-md px-2", e),
2071
+ className: F("flex h-8 items-center gap-2 rounded-md px-2", e),
2071
2072
  ...n,
2072
- children: [t && /* @__PURE__ */ g(or, {
2073
+ children: [t && /* @__PURE__ */ v(ur, {
2073
2074
  className: "size-4 rounded-md",
2074
2075
  "data-sidebar": "menu-skeleton-icon"
2075
- }), /* @__PURE__ */ g(or, {
2076
+ }), /* @__PURE__ */ v(ur, {
2076
2077
  className: "h-4 max-w-(--skeleton-width) flex-1",
2077
2078
  "data-sidebar": "menu-skeleton-text",
2078
2079
  style: { "--skeleton-width": r }
2079
2080
  })]
2080
2081
  });
2081
2082
  }
2082
- function zr({ className: e, ...t }) {
2083
- return /* @__PURE__ */ g("ul", {
2083
+ function Ur({ className: e, ...t }) {
2084
+ return /* @__PURE__ */ v("ul", {
2084
2085
  "data-slot": "sidebar-menu-sub",
2085
2086
  "data-sidebar": "menu-sub",
2086
- className: N("border-sidebar-border mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-s px-2.5 py-0.5", "group-data-[collapsible=icon]:hidden", e),
2087
+ className: F("border-sidebar-border mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-s px-2.5 py-0.5", "group-data-[collapsible=icon]:hidden", e),
2087
2088
  ...t
2088
2089
  });
2089
2090
  }
2090
- function Br({ className: e, ...t }) {
2091
- return /* @__PURE__ */ g("li", {
2091
+ function Wr({ className: e, ...t }) {
2092
+ return /* @__PURE__ */ v("li", {
2092
2093
  "data-slot": "sidebar-menu-sub-item",
2093
2094
  "data-sidebar": "menu-sub-item",
2094
- className: N("group/menu-sub-item relative", e),
2095
+ className: F("group/menu-sub-item relative", e),
2095
2096
  ...t
2096
2097
  });
2097
2098
  }
2098
- function Vr({ asChild: e = !1, size: t = "md", isActive: n = !1, className: r, ...i }) {
2099
- return /* @__PURE__ */ g(e ? b : "a", {
2099
+ function Gr({ asChild: e = !1, size: t = "md", isActive: n = !1, className: r, ...i }) {
2100
+ return /* @__PURE__ */ v(e ? S : "a", {
2100
2101
  "data-slot": "sidebar-menu-sub-button",
2101
2102
  "data-sidebar": "menu-sub-button",
2102
2103
  "data-size": t,
2103
2104
  "data-active": n,
2104
- className: N("text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 outline-hidden focus-visible:ring-2 disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:text-inherit", "data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground", t === "sm" && "text-xs", t === "md" && "text-sm", "group-data-[collapsible=icon]:hidden", r),
2105
+ className: F("text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 outline-hidden focus-visible:ring-2 disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:text-inherit", "data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground", t === "sm" && "text-xs", t === "md" && "text-sm", "group-data-[collapsible=icon]:hidden", r),
2105
2106
  ...i
2106
2107
  });
2107
2108
  }
2108
2109
  //#endregion
2109
2110
  //#region src/context/theme-provider.tsx
2110
- var Hr = "system", Ur = c({
2111
- defaultTheme: Hr,
2111
+ var Kr = "system", qr = l({
2112
+ defaultTheme: Kr,
2112
2113
  resolvedTheme: "light",
2113
- theme: Hr,
2114
+ theme: Kr,
2114
2115
  setTheme: () => null,
2115
2116
  resetTheme: () => null
2116
- }), Wr = () => {
2117
- let e = l(Ur);
2117
+ }), Jr = () => {
2118
+ let e = u(qr);
2118
2119
  if (!e) throw Error("useTheme must be used within a ThemeProvider");
2119
2120
  return e;
2120
2121
  };
2121
2122
  //#endregion
2122
2123
  //#region src/components/ui/sonner.tsx
2123
- function Gr({ ...e }) {
2124
- let { theme: t = "system" } = Wr();
2125
- return /* @__PURE__ */ g(r, {
2124
+ function Yr({ ...e }) {
2125
+ let { theme: t = "system" } = Jr();
2126
+ return /* @__PURE__ */ v(r, {
2126
2127
  theme: t,
2127
2128
  className: "toaster group [&_div[data-content]]:w-full",
2128
2129
  toastOptions: { classNames: {
@@ -2142,120 +2143,134 @@ function Gr({ ...e }) {
2142
2143
  }
2143
2144
  //#endregion
2144
2145
  //#region src/components/ui/switch.tsx
2145
- function Kr({ className: e, ...t }) {
2146
- return /* @__PURE__ */ g(De.Root, {
2146
+ function Xr({ className: e, ...t }) {
2147
+ return /* @__PURE__ */ v(De.Root, {
2147
2148
  "data-slot": "switch",
2148
- className: N("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),
2149
+ className: F("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),
2149
2150
  ...t,
2150
- children: /* @__PURE__ */ g(De.Thumb, {
2151
+ children: /* @__PURE__ */ v(De.Thumb, {
2151
2152
  "data-slot": "switch-thumb",
2152
- className: N("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 rtl:data-[state=checked]:-translate-x-[calc(100%-2px)]")
2153
+ className: F("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 rtl:data-[state=checked]:-translate-x-[calc(100%-2px)]")
2153
2154
  })
2154
2155
  });
2155
2156
  }
2156
2157
  //#endregion
2157
2158
  //#region src/components/ui/table.tsx
2158
- function qr({ className: e, noWrapper: t, ...n }) {
2159
- let r = /* @__PURE__ */ g("table", {
2159
+ function Zr({ className: e, noWrapper: t, ...n }) {
2160
+ let r = /* @__PURE__ */ v("table", {
2160
2161
  "data-slot": "table",
2161
- className: N("w-full caption-bottom text-sm", e),
2162
+ className: F("w-full caption-bottom text-sm", e),
2162
2163
  ...n
2163
2164
  });
2164
- return t ? r : /* @__PURE__ */ g("div", {
2165
+ return t ? r : /* @__PURE__ */ v("div", {
2165
2166
  "data-slot": "table-container",
2166
2167
  className: "relative w-full overflow-x-auto",
2167
2168
  children: r
2168
2169
  });
2169
2170
  }
2170
- function Jr({ className: e, ...t }) {
2171
- return /* @__PURE__ */ g("thead", {
2171
+ function Qr({ className: e, ...t }) {
2172
+ return /* @__PURE__ */ v("thead", {
2172
2173
  "data-slot": "table-header",
2173
- className: N("[&_tr]:border-b", e),
2174
+ className: F("[&_tr]:border-b", e),
2174
2175
  ...t
2175
2176
  });
2176
2177
  }
2177
- function Yr({ className: e, ...t }) {
2178
- return /* @__PURE__ */ g("tbody", {
2178
+ function $r({ className: e, ...t }) {
2179
+ return /* @__PURE__ */ v("tbody", {
2179
2180
  "data-slot": "table-body",
2180
- className: N("[&_tr:last-child]:border-0", e),
2181
+ className: F("[&_tr:last-child]:border-0", e),
2181
2182
  ...t
2182
2183
  });
2183
2184
  }
2184
- function Xr({ className: e, ...t }) {
2185
- return /* @__PURE__ */ g("tfoot", {
2185
+ function ei({ className: e, ...t }) {
2186
+ return /* @__PURE__ */ v("tfoot", {
2186
2187
  "data-slot": "table-footer",
2187
- className: N("bg-muted/50 border-t font-medium [&>tr]:last:border-b-0", e),
2188
+ className: F("bg-muted/50 border-t font-medium [&>tr]:last:border-b-0", e),
2188
2189
  ...t
2189
2190
  });
2190
2191
  }
2191
- function Zr({ className: e, ...t }) {
2192
- return /* @__PURE__ */ g("tr", {
2192
+ function ti({ className: e, ...t }) {
2193
+ return /* @__PURE__ */ v("tr", {
2193
2194
  "data-slot": "table-row",
2194
- className: N("hover:bg-muted/50 data-[state=selected]:bg-muted border-b transition-colors", e),
2195
+ className: F("hover:bg-muted/50 data-[state=selected]:bg-muted border-b transition-colors", e),
2195
2196
  ...t
2196
2197
  });
2197
2198
  }
2198
- function Qr({ className: e, ...t }) {
2199
- return /* @__PURE__ */ g("th", {
2199
+ function ni({ className: e, ...t }) {
2200
+ return /* @__PURE__ */ v("th", {
2200
2201
  "data-slot": "table-head",
2201
- className: N("text-foreground h-10 px-2 text-start align-middle font-medium whitespace-nowrap [&>[role=checkbox]]:translate-y-[2px]", e),
2202
+ className: F("text-foreground h-10 px-2 text-start align-middle font-medium whitespace-nowrap [&>[role=checkbox]]:translate-y-[2px]", e),
2202
2203
  ...t
2203
2204
  });
2204
2205
  }
2205
- function $r({ className: e, ...t }) {
2206
- return /* @__PURE__ */ g("td", {
2206
+ function ri({ className: e, ...t }) {
2207
+ return /* @__PURE__ */ v("td", {
2207
2208
  "data-slot": "table-cell",
2208
- className: N("p-2 align-middle whitespace-nowrap [&>[role=checkbox]]:translate-y-[2px]", e),
2209
+ className: F("p-2 align-middle whitespace-nowrap [&>[role=checkbox]]:translate-y-[2px]", e),
2209
2210
  ...t
2210
2211
  });
2211
2212
  }
2212
- function ei({ className: e, ...t }) {
2213
- return /* @__PURE__ */ g("caption", {
2213
+ function ii({ className: e, ...t }) {
2214
+ return /* @__PURE__ */ v("caption", {
2214
2215
  "data-slot": "table-caption",
2215
- className: N("text-muted-foreground mt-4 text-sm", e),
2216
+ className: F("text-muted-foreground mt-4 text-sm", e),
2216
2217
  ...t
2217
2218
  });
2218
2219
  }
2219
2220
  //#endregion
2220
2221
  //#region src/components/ui/tabs.tsx
2221
- function ti({ className: e, ...t }) {
2222
- return /* @__PURE__ */ g(M.Root, {
2222
+ function ai({ className: e, ...t }) {
2223
+ return /* @__PURE__ */ v(P.Root, {
2223
2224
  "data-slot": "tabs",
2224
- className: N("flex flex-col gap-2", e),
2225
+ className: F("flex flex-col gap-2", e),
2225
2226
  ...t
2226
2227
  });
2227
2228
  }
2228
- function ni({ className: e, ...t }) {
2229
- return /* @__PURE__ */ g(M.List, {
2229
+ function oi({ className: e, ...t }) {
2230
+ return /* @__PURE__ */ v(P.List, {
2230
2231
  "data-slot": "tabs-list",
2231
- className: N("bg-muted text-muted-foreground inline-flex h-9 w-fit items-center justify-center rounded-lg p-[3px]", e),
2232
+ className: F("bg-muted text-muted-foreground inline-flex h-9 w-fit items-center justify-center rounded-lg p-[3px]", e),
2232
2233
  ...t
2233
2234
  });
2234
2235
  }
2235
- function ri({ className: e, ...t }) {
2236
- return /* @__PURE__ */ g(M.Trigger, {
2236
+ function si({ className: e, ...t }) {
2237
+ return /* @__PURE__ */ v(P.Trigger, {
2237
2238
  "data-slot": "tabs-trigger",
2238
- className: N("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),
2239
+ className: F("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),
2239
2240
  ...t
2240
2241
  });
2241
2242
  }
2242
- function ii({ className: e, ...t }) {
2243
- return /* @__PURE__ */ g(M.Content, {
2243
+ function ci({ className: e, ...t }) {
2244
+ return /* @__PURE__ */ v(P.Content, {
2244
2245
  "data-slot": "tabs-content",
2245
- className: N("flex-1 outline-none", e),
2246
+ className: F("flex-1 outline-none", e),
2246
2247
  ...t
2247
2248
  });
2248
2249
  }
2249
2250
  //#endregion
2250
2251
  //#region src/components/ui/textarea.tsx
2251
- function ai({ className: e, ...t }) {
2252
- return /* @__PURE__ */ g("textarea", {
2252
+ function li({ className: e, ...t }) {
2253
+ return /* @__PURE__ */ v("textarea", {
2253
2254
  "data-slot": "textarea",
2254
- className: N("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),
2255
+ className: F("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),
2255
2256
  ...t
2256
2257
  });
2257
2258
  }
2258
2259
  //#endregion
2259
- export { tt as Accordion, it as AccordionContent, nt as AccordionItem, rt as AccordionTrigger, ot as Alert, ct as AlertDescription, lt as AlertDialog, vt as AlertDialogAction, yt as AlertDialogCancel, pt as AlertDialogContent, _t as AlertDialogDescription, ht as AlertDialogFooter, mt as AlertDialogHeader, ft as AlertDialogOverlay, dt as AlertDialogPortal, gt as AlertDialogTitle, ut as AlertDialogTrigger, st as AlertTitle, bt as Avatar, St as AvatarFallback, xt as AvatarImage, wt as Badge, z as Button, Tt as Calendar, Et as CalendarDayButton, Dt as Card, jt as CardAction, Mt as CardContent, At as CardDescription, Nt as CardFooter, Ot as CardHeader, kt as CardTitle, Pt as Checkbox, Ft as Collapsible, Lt as CollapsibleContent, It as CollapsibleTrigger, B as Command, Jt as CommandDialog, U as CommandEmpty, W as CommandGroup, V as CommandInput, G as CommandItem, H as CommandList, Yt as CommandSeparator, Xt as CommandShortcut, Rt as Dialog, Vt as DialogClose, Ut as DialogContent, qt as DialogDescription, Gt as DialogFooter, Wt as DialogHeader, Ht as DialogOverlay, Bt as DialogPortal, Kt as DialogTitle, zt as DialogTrigger, Zt as DropdownMenu, rn as DropdownMenuCheckboxItem, en as DropdownMenuContent, tn as DropdownMenuGroup, nn as DropdownMenuItem, sn as DropdownMenuLabel, Qt as DropdownMenuPortal, an as DropdownMenuRadioGroup, on as DropdownMenuRadioItem, cn as DropdownMenuSeparator, ln as DropdownMenuShortcut, un as DropdownMenuSub, fn as DropdownMenuSubContent, dn as DropdownMenuSubTrigger, $t as DropdownMenuTrigger, pn as Form, yn as FormControl, bn as FormDescription, hn as FormField, _n as FormItem, vn as FormLabel, xn as FormMessage, Sn as ImageUpload, J as Input, Cn as InputOTP, wn as InputOTPGroup, En as InputOTPSeparator, Tn as InputOTPSlot, K as Label, On as MultiSelect, An as PhoneInput, Y as Popover, Dn as PopoverAnchor, Z as PopoverContent, X as PopoverTrigger, Pn as Progress, Fn as RadioGroup, In as RadioGroupItem, Ne as SPANISH_SYMBOLS, Q as ScrollArea, kn as ScrollBar, Ln as Select, Vn as SelectContent, Rn as SelectGroup, Un as SelectItem, Hn as SelectLabel, Kn as SelectScrollDownButton, Gn as SelectScrollUpButton, Wn as SelectSeparator, Bn as SelectTrigger, zn as SelectValue, qn as Separator, Jn as Sheet, Xn as SheetClose, $n as SheetContent, rr as SheetDescription, tr as SheetFooter, er as SheetHeader, nr as SheetTitle, Yn as SheetTrigger, yr as Sidebar, Dr as SidebarContent, Tr as SidebarFooter, Or as SidebarGroup, Ar as SidebarGroupAction, jr as SidebarGroupContent, kr as SidebarGroupLabel, wr as SidebarHeader, Cr as SidebarInput, Sr as SidebarInset, Mr as SidebarMenu, Ir as SidebarMenuAction, Lr as SidebarMenuBadge, Fr as SidebarMenuButton, Nr as SidebarMenuItem, Rr as SidebarMenuSkeleton, zr as SidebarMenuSub, Vr as SidebarMenuSubButton, Br as SidebarMenuSubItem, vr as SidebarProvider, xr as SidebarRail, Er as SidebarSeparator, br as SidebarTrigger, or as Skeleton, Kr as Switch, qr as Table, Yr as TableBody, ei as TableCaption, $r as TableCell, Xr as TableFooter, Qr as TableHead, Jr as TableHeader, Zr as TableRow, ti as Tabs, ii as TabsContent, ni as TabsList, ri as TabsTrigger, ai as Textarea, Gr as Toaster, cr as Tooltip, ur as TooltipContent, sr as TooltipProvider, lr as TooltipTrigger, L as api, Ct as badgeVariants, R as buttonVariants, N as cn, Le as fmtCurrency, Pe as formatCurrency, Ge as generateBadgeStyles, Re as getAllTimezones, qe as getCookie, Ve as getCountries, Fe as getCurrencySymbol, Ae as getImageUrl, Me as getPageNumbers, ke as getStorageUrl, et as handleServerError, Ze as notificationManager, Xe as playNotificationSound, $e as pushService, Ye as removeCookie, We as resolveColorCss, Ue as resolveColorHex, Je as setCookie, je as sleep, q as useFormField, Ie as useFormatCurrency, $ as useSidebar };
2260
+ //#region src/components/AddonRoute.tsx
2261
+ function ui({ children: e, layout: t, immersiveClassName: n, shell: r, version: i }) {
2262
+ let a = Oe(), { setLayout: o } = ke(), s = t ?? a, l = i === void 0 ? e : /* @__PURE__ */ v(c, { children: e }, i);
2263
+ return d(() => {
2264
+ if (t && t !== a) return o(t), () => {
2265
+ o("shell");
2266
+ };
2267
+ }, [t, o]), s === "immersive" ? /* @__PURE__ */ v("div", {
2268
+ "data-metacore-addon-layout": "immersive",
2269
+ className: ["fixed inset-0 z-50 overflow-hidden bg-background", n ?? ""].filter(Boolean).join(" "),
2270
+ children: l
2271
+ }) : r ? /* @__PURE__ */ v(pe, { children: r(l) }) : /* @__PURE__ */ v(pe, { children: l });
2272
+ }
2273
+ //#endregion
2274
+ export { it as Accordion, st as AccordionContent, at as AccordionItem, ot as AccordionTrigger, ui as AddonRoute, lt as Alert, dt as AlertDescription, ft as AlertDialog, xt as AlertDialogAction, St as AlertDialogCancel, gt as AlertDialogContent, bt as AlertDialogDescription, vt as AlertDialogFooter, _t as AlertDialogHeader, ht as AlertDialogOverlay, mt as AlertDialogPortal, yt as AlertDialogTitle, pt as AlertDialogTrigger, ut as AlertTitle, Ct as Avatar, Tt as AvatarFallback, wt as AvatarImage, Dt as Badge, B as Button, Ot as Calendar, kt as CalendarDayButton, At as Card, Pt as CardAction, Ft as CardContent, Nt as CardDescription, It as CardFooter, jt as CardHeader, Mt as CardTitle, Lt as Checkbox, Rt as Collapsible, Bt as CollapsibleContent, zt as CollapsibleTrigger, V as Command, Zt as CommandDialog, W as CommandEmpty, G as CommandGroup, H as CommandInput, K as CommandItem, U as CommandList, Qt as CommandSeparator, $t as CommandShortcut, Vt as Dialog, Wt as DialogClose, Kt as DialogContent, Xt as DialogDescription, Jt as DialogFooter, qt as DialogHeader, Gt as DialogOverlay, Ut as DialogPortal, Yt as DialogTitle, Ht as DialogTrigger, en as DropdownMenu, sn as DropdownMenuCheckboxItem, rn as DropdownMenuContent, an as DropdownMenuGroup, on as DropdownMenuItem, un as DropdownMenuLabel, tn as DropdownMenuPortal, cn as DropdownMenuRadioGroup, ln as DropdownMenuRadioItem, dn as DropdownMenuSeparator, fn as DropdownMenuShortcut, pn as DropdownMenuSub, hn as DropdownMenuSubContent, mn as DropdownMenuSubTrigger, nn as DropdownMenuTrigger, gn as Form, Sn as FormControl, Cn as FormDescription, vn as FormField, bn as FormItem, xn as FormLabel, wn as FormMessage, Tn as ImageUpload, Y as Input, En as InputOTP, Dn as InputOTPGroup, kn as InputOTPSeparator, On as InputOTPSlot, q as Label, jn as MultiSelect, Pn as PhoneInput, X as Popover, An as PopoverAnchor, Q as PopoverContent, Z as PopoverTrigger, Rn as Progress, zn as RadioGroup, Bn as RadioGroupItem, Ie as SPANISH_SYMBOLS, Mn as ScrollArea, Nn as ScrollBar, Vn as Select, Gn as SelectContent, Hn as SelectGroup, qn as SelectItem, Kn as SelectLabel, Xn as SelectScrollDownButton, Yn as SelectScrollUpButton, Jn as SelectSeparator, Wn as SelectTrigger, Un as SelectValue, Zn as Separator, Qn as Sheet, er as SheetClose, rr as SheetContent, sr as SheetDescription, ar as SheetFooter, ir as SheetHeader, or as SheetTitle, $n as SheetTrigger, Cr as Sidebar, jr as SidebarContent, kr as SidebarFooter, Mr as SidebarGroup, Pr as SidebarGroupAction, Fr as SidebarGroupContent, Nr as SidebarGroupLabel, Or as SidebarHeader, Dr as SidebarInput, Er as SidebarInset, Ir as SidebarMenu, Br as SidebarMenuAction, Vr as SidebarMenuBadge, zr as SidebarMenuButton, Lr as SidebarMenuItem, Hr as SidebarMenuSkeleton, Ur as SidebarMenuSub, Gr as SidebarMenuSubButton, Wr as SidebarMenuSubItem, Sr as SidebarProvider, Tr as SidebarRail, Ar as SidebarSeparator, wr as SidebarTrigger, ur as Skeleton, Xr as Switch, Zr as Table, $r as TableBody, ii as TableCaption, ri as TableCell, ei as TableFooter, ni as TableHead, Qr as TableHeader, ti as TableRow, ai as Tabs, ci as TabsContent, oi as TabsList, si as TabsTrigger, li as Textarea, Yr as Toaster, fr as Tooltip, mr as TooltipContent, dr as TooltipProvider, pr as TooltipTrigger, R as api, Et as badgeVariants, z as buttonVariants, F as cn, Be as fmtCurrency, Le as formatCurrency, Je as generateBadgeStyles, Ve as getAllTimezones, Xe as getCookie, We as getCountries, Re as getCurrencySymbol, Me as getImageUrl, Pe as getPageNumbers, je as getStorageUrl, rt as handleServerError, et as notificationManager, $e as playNotificationSound, nt as pushService, Qe as removeCookie, qe as resolveColorCss, Ke as resolveColorHex, Ze as setCookie, Ne as sleep, J as useFormField, ze as useFormatCurrency, $ as useSidebar };
2260
2275
 
2261
2276
  //# sourceMappingURL=index.js.map