@asteby/metacore-starter-core 8.0.0 → 10.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,8 +375,10 @@ var $e = new class {
374
375
  return;
375
376
  }
376
377
  try {
377
- let e = await L.get("/push/public-key");
378
- e.data?.publicKey && (this.vapidPublicKey = e.data.publicKey, console.log("✅ VAPID public key loaded")), this.subscription = await (await navigator.serviceWorker.ready).pushManager.getSubscription(), this.subscription && console.log("✅ Existing push subscription found");
378
+ let e = await R.get("/push/public-key");
379
+ e.data?.publicKey && (this.vapidPublicKey = e.data.publicKey, console.log("✅ VAPID public key loaded"));
380
+ let t = await navigator.serviceWorker.ready;
381
+ this.subscription = await t.pushManager.getSubscription(), this.subscription && console.log("✅ Existing push subscription found");
379
382
  } catch (e) {
380
383
  console.error("Failed to initialize push service:", e);
381
384
  }
@@ -391,7 +394,7 @@ var $e = new class {
391
394
  });
392
395
  this.subscription = e;
393
396
  let t = e.toJSON().keys;
394
- return await L.post("/push/subscribe", {
397
+ return await R.post("/push/subscribe", {
395
398
  endpoint: e.endpoint,
396
399
  p256dh: t.p256dh,
397
400
  auth: t.auth,
@@ -404,14 +407,14 @@ var $e = new class {
404
407
  async unsubscribe() {
405
408
  if (!this.subscription) return !0;
406
409
  try {
407
- 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;
408
411
  } catch (e) {
409
412
  return console.error("Failed to unsubscribe:", e), i.error("Error al desactivar notificaciones"), !1;
410
413
  }
411
414
  }
412
415
  async testNotification() {
413
416
  try {
414
- 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");
415
418
  } catch (e) {
416
419
  console.error("Failed to send test notification:", e), i.error("Error al enviar notificación de prueba");
417
420
  }
@@ -434,73 +437,73 @@ var $e = new class {
434
437
  }();
435
438
  //#endregion
436
439
  //#region src/lib/handle-server-error.ts
437
- function et(e) {
440
+ function rt(e) {
438
441
  console.log(e);
439
442
  let t = "Something went wrong!";
440
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);
441
444
  }
442
445
  //#endregion
443
446
  //#region src/components/ui/accordion.tsx
444
- 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, {
445
448
  ref: n,
446
- className: N("border-b", e),
449
+ className: F("border-b", e),
447
450
  ...t
448
451
  }));
449
- nt.displayName = "AccordionItem";
450
- 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, {
451
454
  className: "flex",
452
- children: /* @__PURE__ */ _(d.Trigger, {
455
+ children: /* @__PURE__ */ y(p.Trigger, {
453
456
  ref: r,
454
- 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),
455
458
  ...n,
456
- 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" })]
457
460
  })
458
461
  }));
459
- rt.displayName = d.Trigger.displayName;
460
- 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, {
461
464
  ref: r,
462
465
  className: "overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",
463
466
  ...n,
464
- children: /* @__PURE__ */ g("div", {
465
- className: N("pb-4 pt-0", e),
467
+ children: /* @__PURE__ */ v("div", {
468
+ className: F("pb-4 pt-0", e),
466
469
  children: t
467
470
  })
468
471
  }));
469
- it.displayName = d.Content.displayName;
472
+ st.displayName = p.Content.displayName;
470
473
  //#endregion
471
474
  //#region src/components/ui/alert.tsx
472
- 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", {
473
476
  variants: { variant: {
474
477
  default: "bg-card text-card-foreground",
475
478
  destructive: "text-destructive bg-card [&>svg]:text-current *:data-[slot=alert-description]:text-destructive/90"
476
479
  } },
477
480
  defaultVariants: { variant: "default" }
478
481
  });
479
- function ot({ className: e, variant: t, ...n }) {
480
- return /* @__PURE__ */ g("div", {
482
+ function lt({ className: e, variant: t, ...n }) {
483
+ return /* @__PURE__ */ v("div", {
481
484
  "data-slot": "alert",
482
485
  role: "alert",
483
- className: N(at({ variant: t }), e),
486
+ className: F(ct({ variant: t }), e),
484
487
  ...n
485
488
  });
486
489
  }
487
- function st({ className: e, ...t }) {
488
- return /* @__PURE__ */ g("div", {
490
+ function ut({ className: e, ...t }) {
491
+ return /* @__PURE__ */ v("div", {
489
492
  "data-slot": "alert-title",
490
- 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),
491
494
  ...t
492
495
  });
493
496
  }
494
- function ct({ className: e, ...t }) {
495
- return /* @__PURE__ */ g("div", {
497
+ function dt({ className: e, ...t }) {
498
+ return /* @__PURE__ */ v("div", {
496
499
  "data-slot": "alert-description",
497
- 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),
498
501
  ...t
499
502
  });
500
503
  }
501
504
  //#endregion
502
505
  //#region src/components/ui/button.tsx
503
- 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", {
504
507
  variants: {
505
508
  variant: {
506
509
  default: "bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",
@@ -522,10 +525,10 @@ var R = v("inline-flex items-center justify-center gap-2 whitespace-nowrap round
522
525
  size: "default"
523
526
  }
524
527
  });
525
- function z({ className: e, variant: t, size: n, asChild: r = !1, ...i }) {
526
- 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", {
527
530
  "data-slot": "button",
528
- className: N(R({
531
+ className: F(z({
529
532
  variant: t,
530
533
  size: n,
531
534
  className: e
@@ -535,104 +538,104 @@ function z({ className: e, variant: t, size: n, asChild: r = !1, ...i }) {
535
538
  }
536
539
  //#endregion
537
540
  //#region src/components/ui/alert-dialog.tsx
538
- function lt({ ...e }) {
539
- return /* @__PURE__ */ g(y.Root, {
541
+ function ft({ ...e }) {
542
+ return /* @__PURE__ */ v(x.Root, {
540
543
  "data-slot": "alert-dialog",
541
544
  ...e
542
545
  });
543
546
  }
544
- function ut({ ...e }) {
545
- return /* @__PURE__ */ g(y.Trigger, {
547
+ function pt({ ...e }) {
548
+ return /* @__PURE__ */ v(x.Trigger, {
546
549
  "data-slot": "alert-dialog-trigger",
547
550
  ...e
548
551
  });
549
552
  }
550
- function dt({ ...e }) {
551
- return /* @__PURE__ */ g(y.Portal, {
553
+ function mt({ ...e }) {
554
+ return /* @__PURE__ */ v(x.Portal, {
552
555
  "data-slot": "alert-dialog-portal",
553
556
  ...e
554
557
  });
555
558
  }
556
- function ft({ className: e, ...t }) {
557
- return /* @__PURE__ */ g(y.Overlay, {
559
+ function ht({ className: e, ...t }) {
560
+ return /* @__PURE__ */ v(x.Overlay, {
558
561
  "data-slot": "alert-dialog-overlay",
559
- 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),
560
563
  ...t
561
564
  });
562
565
  }
563
- function pt({ className: e, ...t }) {
564
- 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, {
565
568
  "data-slot": "alert-dialog-content",
566
- 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),
567
570
  ...t
568
571
  })] });
569
572
  }
570
- function mt({ className: e, ...t }) {
571
- return /* @__PURE__ */ g("div", {
573
+ function _t({ className: e, ...t }) {
574
+ return /* @__PURE__ */ v("div", {
572
575
  "data-slot": "alert-dialog-header",
573
- 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),
574
577
  ...t
575
578
  });
576
579
  }
577
- function ht({ className: e, ...t }) {
578
- return /* @__PURE__ */ g("div", {
580
+ function vt({ className: e, ...t }) {
581
+ return /* @__PURE__ */ v("div", {
579
582
  "data-slot": "alert-dialog-footer",
580
- 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),
581
584
  ...t
582
585
  });
583
586
  }
584
- function gt({ className: e, ...t }) {
585
- return /* @__PURE__ */ g(y.Title, {
587
+ function yt({ className: e, ...t }) {
588
+ return /* @__PURE__ */ v(x.Title, {
586
589
  "data-slot": "alert-dialog-title",
587
- className: N("text-lg font-semibold", e),
590
+ className: F("text-lg font-semibold", e),
588
591
  ...t
589
592
  });
590
593
  }
591
- function _t({ className: e, ...t }) {
592
- return /* @__PURE__ */ g(y.Description, {
594
+ function bt({ className: e, ...t }) {
595
+ return /* @__PURE__ */ v(x.Description, {
593
596
  "data-slot": "alert-dialog-description",
594
- className: N("text-muted-foreground text-sm", e),
597
+ className: F("text-muted-foreground text-sm", e),
595
598
  ...t
596
599
  });
597
600
  }
598
- function vt({ className: e, ...t }) {
599
- return /* @__PURE__ */ g(y.Action, {
600
- className: N(R(), e),
601
+ function xt({ className: e, ...t }) {
602
+ return /* @__PURE__ */ v(x.Action, {
603
+ className: F(z(), e),
601
604
  ...t
602
605
  });
603
606
  }
604
- function yt({ className: e, ...t }) {
605
- return /* @__PURE__ */ g(y.Cancel, {
606
- 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),
607
610
  ...t
608
611
  });
609
612
  }
610
613
  //#endregion
611
614
  //#region src/components/ui/avatar.tsx
612
- function bt({ className: e, ...t }) {
613
- return /* @__PURE__ */ g(x.Root, {
615
+ function Ct({ className: e, ...t }) {
616
+ return /* @__PURE__ */ v(C.Root, {
614
617
  "data-slot": "avatar",
615
- 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),
616
619
  ...t
617
620
  });
618
621
  }
619
- function xt({ className: e, ...t }) {
620
- return /* @__PURE__ */ g(x.Image, {
622
+ function wt({ className: e, ...t }) {
623
+ return /* @__PURE__ */ v(C.Image, {
621
624
  "data-slot": "avatar-image",
622
- className: N("aspect-square size-full object-cover", e),
625
+ className: F("aspect-square size-full object-cover", e),
623
626
  ...t
624
627
  });
625
628
  }
626
- function St({ className: e, ...t }) {
627
- return /* @__PURE__ */ g(x.Fallback, {
629
+ function Tt({ className: e, ...t }) {
630
+ return /* @__PURE__ */ v(C.Fallback, {
628
631
  "data-slot": "avatar-fallback",
629
- 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),
630
633
  ...t
631
634
  });
632
635
  }
633
636
  //#endregion
634
637
  //#region src/components/ui/badge.tsx
635
- 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", {
636
639
  variants: { variant: {
637
640
  default: "border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",
638
641
  secondary: "border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",
@@ -641,68 +644,68 @@ var Ct = v("inline-flex items-center justify-center rounded-md border px-2 py-0.
641
644
  } },
642
645
  defaultVariants: { variant: "default" }
643
646
  });
644
- function wt({ className: e, variant: t, asChild: n = !1, ...r }) {
645
- return /* @__PURE__ */ g(n ? b : "span", {
647
+ function Dt({ className: e, variant: t, asChild: n = !1, ...r }) {
648
+ return /* @__PURE__ */ v(n ? S : "span", {
646
649
  "data-slot": "badge",
647
- className: N(Ct({ variant: t }), e),
650
+ className: F(Et({ variant: t }), e),
648
651
  ...r
649
652
  });
650
653
  }
651
654
  //#endregion
652
655
  //#region src/components/ui/calendar.tsx
653
- 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 }) {
654
657
  let c = he();
655
- return /* @__PURE__ */ g(me, {
658
+ return /* @__PURE__ */ v(me, {
656
659
  showOutsideDays: n,
657
- 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),
658
661
  captionLayout: r,
659
662
  formatters: {
660
663
  formatMonthDropdown: (e) => e.toLocaleString("default", { month: "short" }),
661
664
  ...a
662
665
  },
663
666
  classNames: {
664
- root: N("w-fit", c.root),
665
- months: N("flex gap-4 flex-col md:flex-row relative", c.months),
666
- month: N("flex flex-col w-full gap-4", c.month),
667
- nav: N("flex items-center gap-1 w-full absolute top-0 inset-x-0 justify-between", c.nav),
668
- button_previous: N(R({ variant: i }), "size-(--cell-size) aria-disabled:opacity-50 p-0 select-none", c.button_previous),
669
- button_next: N(R({ variant: i }), "size-(--cell-size) aria-disabled:opacity-50 p-0 select-none", c.button_next),
670
- month_caption: N("flex items-center justify-center h-(--cell-size) w-full px-(--cell-size)", c.month_caption),
671
- dropdowns: N("w-full flex items-center text-sm font-medium justify-center h-(--cell-size) gap-1.5", c.dropdowns),
672
- 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),
673
- dropdown: N("absolute bg-popover inset-0 opacity-0", c.dropdown),
674
- 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),
675
678
  table: "w-full border-collapse",
676
- weekdays: N("flex", c.weekdays),
677
- weekday: N("text-muted-foreground rounded-md flex-1 font-normal text-[0.8rem] select-none", c.weekday),
678
- week: N("flex w-full mt-2", c.week),
679
- week_number_header: N("select-none w-(--cell-size)", c.week_number_header),
680
- week_number: N("text-[0.8rem] select-none text-muted-foreground", c.week_number),
681
- 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),
682
- range_start: N("rounded-l-md bg-accent", c.range_start),
683
- range_middle: N("rounded-none", c.range_middle),
684
- range_end: N("rounded-r-md bg-accent", c.range_end),
685
- today: N("bg-accent text-accent-foreground rounded-md data-[selected=true]:rounded-none", c.today),
686
- outside: N("text-muted-foreground aria-selected:text-muted-foreground", c.outside),
687
- disabled: N("text-muted-foreground opacity-50", c.disabled),
688
- 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),
689
692
  ...t
690
693
  },
691
694
  components: {
692
- Root: ({ className: e, rootRef: t, ...n }) => /* @__PURE__ */ g("div", {
695
+ Root: ({ className: e, rootRef: t, ...n }) => /* @__PURE__ */ v("div", {
693
696
  "data-slot": "calendar",
694
697
  ref: t,
695
- className: N(e),
698
+ className: F(e),
696
699
  ...n
697
700
  }),
698
- Chevron: ({ className: e, orientation: t, ...n }) => g(t === "left" ? ne : t === "right" ? re : h, {
699
- 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),
700
703
  ...n
701
704
  }),
702
- DayButton: Et,
703
- WeekNumber: ({ children: e, ...t }) => /* @__PURE__ */ g("td", {
705
+ DayButton: kt,
706
+ WeekNumber: ({ children: e, ...t }) => /* @__PURE__ */ v("td", {
704
707
  ...t,
705
- children: /* @__PURE__ */ g("div", {
708
+ children: /* @__PURE__ */ v("div", {
706
709
  className: "flex size-(--cell-size) items-center justify-center text-center",
707
710
  children: e
708
711
  })
@@ -712,11 +715,11 @@ function Tt({ className: e, classNames: t, showOutsideDays: n = !0, captionLayou
712
715
  ...s
713
716
  });
714
717
  }
715
- function Et({ className: e, day: t, modifiers: n, ...r }) {
718
+ function kt({ className: e, day: t, modifiers: n, ...r }) {
716
719
  let i = he(), a = s.useRef(null);
717
720
  return s.useEffect(() => {
718
721
  n.focused && a.current?.focus();
719
- }, [n.focused]), /* @__PURE__ */ g(z, {
722
+ }, [n.focused]), /* @__PURE__ */ v(B, {
720
723
  ref: a,
721
724
  variant: "ghost",
722
725
  size: "icon",
@@ -725,139 +728,139 @@ function Et({ className: e, day: t, modifiers: n, ...r }) {
725
728
  "data-range-start": n.range_start,
726
729
  "data-range-end": n.range_end,
727
730
  "data-range-middle": n.range_middle,
728
- 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),
729
732
  ...r
730
733
  });
731
734
  }
732
735
  //#endregion
733
736
  //#region src/components/ui/card.tsx
734
- function Dt({ className: e, ...t }) {
735
- return /* @__PURE__ */ g("div", {
737
+ function At({ className: e, ...t }) {
738
+ return /* @__PURE__ */ v("div", {
736
739
  "data-slot": "card",
737
- 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),
738
741
  ...t
739
742
  });
740
743
  }
741
- function Ot({ className: e, ...t }) {
742
- return /* @__PURE__ */ g("div", {
744
+ function jt({ className: e, ...t }) {
745
+ return /* @__PURE__ */ v("div", {
743
746
  "data-slot": "card-header",
744
- 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),
745
748
  ...t
746
749
  });
747
750
  }
748
- function kt({ className: e, ...t }) {
749
- return /* @__PURE__ */ g("div", {
751
+ function Mt({ className: e, ...t }) {
752
+ return /* @__PURE__ */ v("div", {
750
753
  "data-slot": "card-title",
751
- className: N("leading-none font-semibold", e),
754
+ className: F("leading-none font-semibold", e),
752
755
  ...t
753
756
  });
754
757
  }
755
- function At({ className: e, ...t }) {
756
- return /* @__PURE__ */ g("div", {
758
+ function Nt({ className: e, ...t }) {
759
+ return /* @__PURE__ */ v("div", {
757
760
  "data-slot": "card-description",
758
- className: N("text-muted-foreground text-sm", e),
761
+ className: F("text-muted-foreground text-sm", e),
759
762
  ...t
760
763
  });
761
764
  }
762
- function jt({ className: e, ...t }) {
763
- return /* @__PURE__ */ g("div", {
765
+ function Pt({ className: e, ...t }) {
766
+ return /* @__PURE__ */ v("div", {
764
767
  "data-slot": "card-action",
765
- 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),
766
769
  ...t
767
770
  });
768
771
  }
769
- function Mt({ className: e, ...t }) {
770
- return /* @__PURE__ */ g("div", {
772
+ function Ft({ className: e, ...t }) {
773
+ return /* @__PURE__ */ v("div", {
771
774
  "data-slot": "card-content",
772
- className: N("px-6", e),
775
+ className: F("px-6", e),
773
776
  ...t
774
777
  });
775
778
  }
776
- function Nt({ className: e, ...t }) {
777
- return /* @__PURE__ */ g("div", {
779
+ function It({ className: e, ...t }) {
780
+ return /* @__PURE__ */ v("div", {
778
781
  "data-slot": "card-footer",
779
- 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),
780
783
  ...t
781
784
  });
782
785
  }
783
786
  //#endregion
784
787
  //#region src/components/ui/checkbox.tsx
785
- function Pt({ className: e, ...t }) {
786
- return /* @__PURE__ */ g(ge.Root, {
788
+ function Lt({ className: e, ...t }) {
789
+ return /* @__PURE__ */ v(ge.Root, {
787
790
  "data-slot": "checkbox",
788
- 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),
789
792
  ...t,
790
- children: /* @__PURE__ */ g(ge.Indicator, {
793
+ children: /* @__PURE__ */ v(ge.Indicator, {
791
794
  "data-slot": "checkbox-indicator",
792
795
  className: "flex items-center justify-center text-current transition-none",
793
- children: /* @__PURE__ */ g(p, { className: "size-3.5" })
796
+ children: /* @__PURE__ */ v(h, { className: "size-3.5" })
794
797
  })
795
798
  });
796
799
  }
797
800
  //#endregion
798
801
  //#region src/components/ui/collapsible.tsx
799
- function Ft({ ...e }) {
800
- return /* @__PURE__ */ g(S.Root, {
802
+ function Rt({ ...e }) {
803
+ return /* @__PURE__ */ v(w.Root, {
801
804
  "data-slot": "collapsible",
802
805
  ...e
803
806
  });
804
807
  }
805
- function It({ ...e }) {
806
- return /* @__PURE__ */ g(S.CollapsibleTrigger, {
808
+ function zt({ ...e }) {
809
+ return /* @__PURE__ */ v(w.CollapsibleTrigger, {
807
810
  "data-slot": "collapsible-trigger",
808
811
  ...e
809
812
  });
810
813
  }
811
- function Lt({ ...e }) {
812
- return /* @__PURE__ */ g(S.CollapsibleContent, {
814
+ function Bt({ ...e }) {
815
+ return /* @__PURE__ */ v(w.CollapsibleContent, {
813
816
  "data-slot": "collapsible-content",
814
817
  ...e
815
818
  });
816
819
  }
817
820
  //#endregion
818
821
  //#region src/components/ui/dialog.tsx
819
- function Rt({ ...e }) {
820
- return /* @__PURE__ */ g(w.Root, {
822
+ function Vt({ ...e }) {
823
+ return /* @__PURE__ */ v(E.Root, {
821
824
  "data-slot": "dialog",
822
825
  ...e
823
826
  });
824
827
  }
825
- function zt({ ...e }) {
826
- return /* @__PURE__ */ g(w.Trigger, {
828
+ function Ht({ ...e }) {
829
+ return /* @__PURE__ */ v(E.Trigger, {
827
830
  "data-slot": "dialog-trigger",
828
831
  ...e
829
832
  });
830
833
  }
831
- function Bt({ ...e }) {
832
- return /* @__PURE__ */ g(w.Portal, {
834
+ function Ut({ ...e }) {
835
+ return /* @__PURE__ */ v(E.Portal, {
833
836
  "data-slot": "dialog-portal",
834
837
  ...e
835
838
  });
836
839
  }
837
- function Vt({ ...e }) {
838
- return /* @__PURE__ */ g(w.Close, {
840
+ function Wt({ ...e }) {
841
+ return /* @__PURE__ */ v(E.Close, {
839
842
  "data-slot": "dialog-close",
840
843
  ...e
841
844
  });
842
845
  }
843
- function Ht({ className: e, ...t }) {
844
- return /* @__PURE__ */ g(w.Overlay, {
846
+ function Gt({ className: e, ...t }) {
847
+ return /* @__PURE__ */ v(E.Overlay, {
845
848
  "data-slot": "dialog-overlay",
846
- 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),
847
850
  ...t
848
851
  });
849
852
  }
850
- function Ut({ className: e, children: t, showCloseButton: n = !0, ...r }) {
851
- return /* @__PURE__ */ _(Bt, {
853
+ function Kt({ className: e, children: t, showCloseButton: n = !0, ...r }) {
854
+ return /* @__PURE__ */ y(Ut, {
852
855
  "data-slot": "dialog-portal",
853
- children: [/* @__PURE__ */ g(Ht, {}), /* @__PURE__ */ _(w.Content, {
856
+ children: [/* @__PURE__ */ v(Gt, {}), /* @__PURE__ */ y(E.Content, {
854
857
  "data-slot": "dialog-content",
855
- 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),
856
859
  ...r,
857
- children: [t, n && /* @__PURE__ */ _(w.Close, {
860
+ children: [t, n && /* @__PURE__ */ y(E.Close, {
858
861
  "data-slot": "dialog-close",
859
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",
860
- children: [/* @__PURE__ */ g(pe, {}), /* @__PURE__ */ g("span", {
863
+ children: [/* @__PURE__ */ v(fe, {}), /* @__PURE__ */ v("span", {
861
864
  className: "sr-only",
862
865
  children: "Close"
863
866
  })]
@@ -865,244 +868,244 @@ function Ut({ className: e, children: t, showCloseButton: n = !0, ...r }) {
865
868
  })]
866
869
  });
867
870
  }
868
- function Wt({ className: e, ...t }) {
869
- return /* @__PURE__ */ g("div", {
871
+ function qt({ className: e, ...t }) {
872
+ return /* @__PURE__ */ v("div", {
870
873
  "data-slot": "dialog-header",
871
- 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),
872
875
  ...t
873
876
  });
874
877
  }
875
- function Gt({ className: e, ...t }) {
876
- return /* @__PURE__ */ g("div", {
878
+ function Jt({ className: e, ...t }) {
879
+ return /* @__PURE__ */ v("div", {
877
880
  "data-slot": "dialog-footer",
878
- 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),
879
882
  ...t
880
883
  });
881
884
  }
882
- function Kt({ className: e, ...t }) {
883
- return /* @__PURE__ */ g(w.Title, {
885
+ function Yt({ className: e, ...t }) {
886
+ return /* @__PURE__ */ v(E.Title, {
884
887
  "data-slot": "dialog-title",
885
- className: N("text-lg leading-none font-semibold", e),
888
+ className: F("text-lg leading-none font-semibold", e),
886
889
  ...t
887
890
  });
888
891
  }
889
- function qt({ className: e, ...t }) {
890
- return /* @__PURE__ */ g(w.Description, {
892
+ function Xt({ className: e, ...t }) {
893
+ return /* @__PURE__ */ v(E.Description, {
891
894
  "data-slot": "dialog-description",
892
- className: N("text-muted-foreground text-sm", e),
895
+ className: F("text-muted-foreground text-sm", e),
893
896
  ...t
894
897
  });
895
898
  }
896
899
  //#endregion
897
900
  //#region src/components/ui/command.tsx
898
- function B({ className: e, ...t }) {
899
- return /* @__PURE__ */ g(C, {
901
+ function V({ className: e, ...t }) {
902
+ return /* @__PURE__ */ v(T, {
900
903
  "data-slot": "command",
901
- 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),
902
905
  ...t
903
906
  });
904
907
  }
905
- function Jt({ title: e = "Command Palette", description: t = "Search for a command to run...", children: n, className: r, showCloseButton: i = !0, ...a }) {
906
- 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, {
907
910
  ...a,
908
- children: [/* @__PURE__ */ _(Wt, {
911
+ children: [/* @__PURE__ */ y(qt, {
909
912
  className: "sr-only",
910
- children: [/* @__PURE__ */ g(Kt, { children: e }), /* @__PURE__ */ g(qt, { children: t })]
911
- }), /* @__PURE__ */ g(Ut, {
912
- 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),
913
916
  showCloseButton: i,
914
- children: /* @__PURE__ */ g(B, {
917
+ children: /* @__PURE__ */ v(V, {
915
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",
916
919
  children: n
917
920
  })
918
921
  })]
919
922
  });
920
923
  }
921
- function V({ className: e, ...t }) {
922
- return /* @__PURE__ */ _("div", {
924
+ function H({ className: e, ...t }) {
925
+ return /* @__PURE__ */ y("div", {
923
926
  "data-slot": "command-input-wrapper",
924
927
  className: "flex h-10 items-center gap-2 border-b px-3",
925
- 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, {
926
929
  "data-slot": "command-input",
927
- 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),
928
931
  ...t
929
932
  })]
930
933
  });
931
934
  }
932
- function H({ className: e, ...t }) {
933
- return /* @__PURE__ */ g(C.List, {
935
+ function U({ className: e, ...t }) {
936
+ return /* @__PURE__ */ v(T.List, {
934
937
  "data-slot": "command-list",
935
- 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),
936
939
  ...t
937
940
  });
938
941
  }
939
- function U({ ...e }) {
940
- return /* @__PURE__ */ g(C.Empty, {
942
+ function W({ ...e }) {
943
+ return /* @__PURE__ */ v(T.Empty, {
941
944
  "data-slot": "command-empty",
942
945
  className: "py-6 text-center text-sm",
943
946
  ...e
944
947
  });
945
948
  }
946
- function W({ className: e, ...t }) {
947
- return /* @__PURE__ */ g(C.Group, {
949
+ function G({ className: e, ...t }) {
950
+ return /* @__PURE__ */ v(T.Group, {
948
951
  "data-slot": "command-group",
949
- 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),
950
953
  ...t
951
954
  });
952
955
  }
953
- function Yt({ className: e, ...t }) {
954
- return /* @__PURE__ */ g(C.Separator, {
956
+ function Qt({ className: e, ...t }) {
957
+ return /* @__PURE__ */ v(T.Separator, {
955
958
  "data-slot": "command-separator",
956
- className: N("bg-border -mx-1 h-px", e),
959
+ className: F("bg-border -mx-1 h-px", e),
957
960
  ...t
958
961
  });
959
962
  }
960
- function G({ className: e, ...t }) {
961
- return /* @__PURE__ */ g(C.Item, {
963
+ function K({ className: e, ...t }) {
964
+ return /* @__PURE__ */ v(T.Item, {
962
965
  "data-slot": "command-item",
963
- 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),
964
967
  ...t
965
968
  });
966
969
  }
967
- function Xt({ className: e, ...t }) {
968
- return /* @__PURE__ */ g("span", {
970
+ function $t({ className: e, ...t }) {
971
+ return /* @__PURE__ */ v("span", {
969
972
  "data-slot": "command-shortcut",
970
- 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),
971
974
  ...t
972
975
  });
973
976
  }
974
977
  //#endregion
975
978
  //#region src/components/ui/dropdown-menu.tsx
976
- function Zt({ ...e }) {
977
- return /* @__PURE__ */ g(T.Root, {
979
+ function en({ ...e }) {
980
+ return /* @__PURE__ */ v(D.Root, {
978
981
  "data-slot": "dropdown-menu",
979
982
  ...e
980
983
  });
981
984
  }
982
- function Qt({ ...e }) {
983
- return /* @__PURE__ */ g(T.Portal, {
985
+ function tn({ ...e }) {
986
+ return /* @__PURE__ */ v(D.Portal, {
984
987
  "data-slot": "dropdown-menu-portal",
985
988
  ...e
986
989
  });
987
990
  }
988
- function $t({ ...e }) {
989
- return /* @__PURE__ */ g(T.Trigger, {
991
+ function nn({ ...e }) {
992
+ return /* @__PURE__ */ v(D.Trigger, {
990
993
  "data-slot": "dropdown-menu-trigger",
991
994
  ...e
992
995
  });
993
996
  }
994
- function en({ className: e, sideOffset: t = 4, ...n }) {
995
- 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, {
996
999
  "data-slot": "dropdown-menu-content",
997
1000
  sideOffset: t,
998
- 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),
999
1002
  ...n
1000
1003
  }) });
1001
1004
  }
1002
- function tn({ ...e }) {
1003
- return /* @__PURE__ */ g(T.Group, {
1005
+ function an({ ...e }) {
1006
+ return /* @__PURE__ */ v(D.Group, {
1004
1007
  "data-slot": "dropdown-menu-group",
1005
1008
  ...e
1006
1009
  });
1007
1010
  }
1008
- function nn({ className: e, inset: t, variant: n = "default", ...r }) {
1009
- return /* @__PURE__ */ g(T.Item, {
1011
+ function on({ className: e, inset: t, variant: n = "default", ...r }) {
1012
+ return /* @__PURE__ */ v(D.Item, {
1010
1013
  "data-slot": "dropdown-menu-item",
1011
1014
  "data-inset": t,
1012
1015
  "data-variant": n,
1013
- 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),
1014
1017
  ...r
1015
1018
  });
1016
1019
  }
1017
- function rn({ className: e, children: t, checked: n, ...r }) {
1018
- return /* @__PURE__ */ _(T.CheckboxItem, {
1020
+ function sn({ className: e, children: t, checked: n, ...r }) {
1021
+ return /* @__PURE__ */ y(D.CheckboxItem, {
1019
1022
  "data-slot": "dropdown-menu-checkbox-item",
1020
- 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),
1021
1024
  checked: n,
1022
1025
  ...r,
1023
- children: [/* @__PURE__ */ g("span", {
1026
+ children: [/* @__PURE__ */ v("span", {
1024
1027
  className: "pointer-events-none absolute start-2 flex size-3.5 items-center justify-center",
1025
- 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" }) })
1026
1029
  }), t]
1027
1030
  });
1028
1031
  }
1029
- function an({ ...e }) {
1030
- return /* @__PURE__ */ g(T.RadioGroup, {
1032
+ function cn({ ...e }) {
1033
+ return /* @__PURE__ */ v(D.RadioGroup, {
1031
1034
  "data-slot": "dropdown-menu-radio-group",
1032
1035
  ...e
1033
1036
  });
1034
1037
  }
1035
- function on({ className: e, children: t, ...n }) {
1036
- return /* @__PURE__ */ _(T.RadioItem, {
1038
+ function ln({ className: e, children: t, ...n }) {
1039
+ return /* @__PURE__ */ y(D.RadioItem, {
1037
1040
  "data-slot": "dropdown-menu-radio-item",
1038
- 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),
1039
1042
  ...n,
1040
- children: [/* @__PURE__ */ g("span", {
1043
+ children: [/* @__PURE__ */ v("span", {
1041
1044
  className: "pointer-events-none absolute start-2 flex size-3.5 items-center justify-center",
1042
- 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" }) })
1043
1046
  }), t]
1044
1047
  });
1045
1048
  }
1046
- function sn({ className: e, inset: t, ...n }) {
1047
- return /* @__PURE__ */ g(T.Label, {
1049
+ function un({ className: e, inset: t, ...n }) {
1050
+ return /* @__PURE__ */ v(D.Label, {
1048
1051
  "data-slot": "dropdown-menu-label",
1049
1052
  "data-inset": t,
1050
- 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),
1051
1054
  ...n
1052
1055
  });
1053
1056
  }
1054
- function cn({ className: e, ...t }) {
1055
- return /* @__PURE__ */ g(T.Separator, {
1057
+ function dn({ className: e, ...t }) {
1058
+ return /* @__PURE__ */ v(D.Separator, {
1056
1059
  "data-slot": "dropdown-menu-separator",
1057
- className: N("bg-border -mx-1 my-1 h-px", e),
1060
+ className: F("bg-border -mx-1 my-1 h-px", e),
1058
1061
  ...t
1059
1062
  });
1060
1063
  }
1061
- function ln({ className: e, ...t }) {
1062
- return /* @__PURE__ */ g("span", {
1064
+ function fn({ className: e, ...t }) {
1065
+ return /* @__PURE__ */ v("span", {
1063
1066
  "data-slot": "dropdown-menu-shortcut",
1064
- 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),
1065
1068
  ...t
1066
1069
  });
1067
1070
  }
1068
- function un({ ...e }) {
1069
- return /* @__PURE__ */ g(T.Sub, {
1071
+ function pn({ ...e }) {
1072
+ return /* @__PURE__ */ v(D.Sub, {
1070
1073
  "data-slot": "dropdown-menu-sub",
1071
1074
  ...e
1072
1075
  });
1073
1076
  }
1074
- function dn({ className: e, inset: t, children: n, ...r }) {
1075
- return /* @__PURE__ */ _(T.SubTrigger, {
1077
+ function mn({ className: e, inset: t, children: n, ...r }) {
1078
+ return /* @__PURE__ */ y(D.SubTrigger, {
1076
1079
  "data-slot": "dropdown-menu-sub-trigger",
1077
1080
  "data-inset": t,
1078
- 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),
1079
1082
  ...r,
1080
- children: [n, /* @__PURE__ */ g(re, { className: "ms-auto size-4" })]
1083
+ children: [n, /* @__PURE__ */ v(ne, { className: "ms-auto size-4" })]
1081
1084
  });
1082
1085
  }
1083
- function fn({ className: e, ...t }) {
1084
- return /* @__PURE__ */ g(T.SubContent, {
1086
+ function hn({ className: e, ...t }) {
1087
+ return /* @__PURE__ */ v(D.SubContent, {
1085
1088
  "data-slot": "dropdown-menu-sub-content",
1086
- 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),
1087
1090
  ...t
1088
1091
  });
1089
1092
  }
1090
1093
  //#endregion
1091
1094
  //#region src/components/ui/label.tsx
1092
- function K({ className: e, ...t }) {
1093
- return /* @__PURE__ */ g(xe.Root, {
1095
+ function q({ className: e, ...t }) {
1096
+ return /* @__PURE__ */ v(xe.Root, {
1094
1097
  "data-slot": "label",
1095
- 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),
1096
1099
  ...t
1097
1100
  });
1098
1101
  }
1099
1102
  //#endregion
1100
1103
  //#region src/components/ui/form.tsx
1101
- 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, {
1102
1105
  value: { name: e.name },
1103
- children: /* @__PURE__ */ g(_e, { ...e })
1104
- }), q = () => {
1105
- 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);
1106
1109
  if (!e) throw Error("useFormField should be used within <FormField>");
1107
1110
  let { id: a } = t;
1108
1111
  return {
@@ -1113,31 +1116,31 @@ var pn = ve, mn = s.createContext({}), hn = ({ ...e }) => /* @__PURE__ */ g(mn.P
1113
1116
  formMessageId: `${a}-form-item-message`,
1114
1117
  ...i
1115
1118
  };
1116
- }, gn = s.createContext({});
1117
- function _n({ className: e, ...t }) {
1119
+ }, yn = s.createContext({});
1120
+ function bn({ className: e, ...t }) {
1118
1121
  let n = s.useId();
1119
- return /* @__PURE__ */ g(gn.Provider, {
1122
+ return /* @__PURE__ */ v(yn.Provider, {
1120
1123
  value: { id: n },
1121
- children: /* @__PURE__ */ g("div", {
1124
+ children: /* @__PURE__ */ v("div", {
1122
1125
  "data-slot": "form-item",
1123
- className: N("grid gap-2", e),
1126
+ className: F("grid gap-2", e),
1124
1127
  ...t
1125
1128
  })
1126
1129
  });
1127
1130
  }
1128
- function vn({ className: e, ...t }) {
1129
- let { error: n, formItemId: r } = q();
1130
- return /* @__PURE__ */ g(K, {
1131
+ function xn({ className: e, ...t }) {
1132
+ let { error: n, formItemId: r } = J();
1133
+ return /* @__PURE__ */ v(q, {
1131
1134
  "data-slot": "form-label",
1132
1135
  "data-error": !!n,
1133
- className: N("data-[error=true]:text-destructive", e),
1136
+ className: F("data-[error=true]:text-destructive", e),
1134
1137
  htmlFor: r,
1135
1138
  ...t
1136
1139
  });
1137
1140
  }
1138
- function yn({ ...e }) {
1139
- let { error: t, formItemId: n, formDescriptionId: r, formMessageId: i } = q();
1140
- return /* @__PURE__ */ g(b, {
1141
+ function Sn({ ...e }) {
1142
+ let { error: t, formItemId: n, formDescriptionId: r, formMessageId: i } = J();
1143
+ return /* @__PURE__ */ v(S, {
1141
1144
  "data-slot": "form-control",
1142
1145
  id: n,
1143
1146
  "aria-describedby": t ? `${r} ${i}` : `${r}`,
@@ -1145,33 +1148,33 @@ function yn({ ...e }) {
1145
1148
  ...e
1146
1149
  });
1147
1150
  }
1148
- function bn({ className: e, ...t }) {
1149
- let { formDescriptionId: n } = q();
1150
- return /* @__PURE__ */ g("p", {
1151
+ function Cn({ className: e, ...t }) {
1152
+ let { formDescriptionId: n } = J();
1153
+ return /* @__PURE__ */ v("p", {
1151
1154
  "data-slot": "form-description",
1152
1155
  id: n,
1153
- className: N("text-muted-foreground text-sm", e),
1156
+ className: F("text-muted-foreground text-sm", e),
1154
1157
  ...t
1155
1158
  });
1156
1159
  }
1157
- function xn({ className: e, ...t }) {
1158
- let { error: n, formMessageId: r } = q(), i = n ? String(n?.message ?? "") : t.children;
1159
- 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", {
1160
1163
  "data-slot": "form-message",
1161
1164
  id: r,
1162
- className: N("text-destructive text-sm", e),
1165
+ className: F("text-destructive text-sm", e),
1163
1166
  ...t,
1164
1167
  children: i
1165
1168
  }) : null;
1166
1169
  }
1167
1170
  //#endregion
1168
1171
  //#region src/components/ui/image-upload.tsx
1169
- function Sn({ value: e, onChange: t, label: n = "Imagen", disabled: r, multiple: a = !1, className: o }) {
1170
- let s = ee(null), [c, l] = te(!1), [d, f] = te([]);
1171
- u(() => {
1172
- 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] : []);
1173
1176
  }, [e]);
1174
- let p = async (e) => {
1177
+ let m = async (e) => {
1175
1178
  let t = e.target.files;
1176
1179
  if (!t || t.length === 0) return;
1177
1180
  let n = [];
@@ -1187,54 +1190,54 @@ function Sn({ value: e, onChange: t, label: n = "Imagen", disabled: r, multiple:
1187
1190
  }
1188
1191
  n.push(r);
1189
1192
  }
1190
- n.length > 0 && await m(n);
1191
- }, m = async (e) => {
1193
+ n.length > 0 && await h(n);
1194
+ }, h = async (e) => {
1192
1195
  l(!0);
1193
1196
  try {
1194
1197
  let n = e.map(async (e) => {
1195
1198
  let t = new FormData();
1196
1199
  t.append("file", e);
1197
1200
  try {
1198
- 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;
1199
1202
  } catch (e) {
1200
1203
  return console.error("Single file upload failed", e), null;
1201
1204
  }
1202
1205
  }), r = (await Promise.all(n)).filter((e) => e !== null);
1203
- 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)`));
1204
1207
  } catch (e) {
1205
1208
  console.error("Upload Error:", e), i.error("Error al subir imágenes");
1206
1209
  } finally {
1207
1210
  l(!1), s.current && (s.current.value = "");
1208
1211
  }
1209
- }, h = (e) => {
1210
- t(a ? d.filter((t) => t !== e) : "");
1212
+ }, g = (e) => {
1213
+ t(a ? u.filter((t) => t !== e) : "");
1211
1214
  };
1212
- return /* @__PURE__ */ _("div", {
1213
- className: N("space-y-4", o),
1215
+ return /* @__PURE__ */ y("div", {
1216
+ className: F("space-y-4", o),
1214
1217
  children: [
1215
- /* @__PURE__ */ g(K, { children: n }),
1216
- d.length > 0 && /* @__PURE__ */ g("div", {
1218
+ /* @__PURE__ */ v(q, { children: n }),
1219
+ u.length > 0 && /* @__PURE__ */ v("div", {
1217
1220
  className: "grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 gap-4 mb-4",
1218
- children: d.map((e, t) => /* @__PURE__ */ _("div", {
1221
+ children: u.map((e, t) => /* @__PURE__ */ y("div", {
1219
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",
1220
- children: [/* @__PURE__ */ g("img", {
1223
+ children: [/* @__PURE__ */ v("img", {
1221
1224
  src: e,
1222
1225
  alt: `Image ${t + 1}`,
1223
1226
  className: "h-full w-full object-contain p-1"
1224
- }), !r && /* @__PURE__ */ g("div", {
1227
+ }), !r && /* @__PURE__ */ v("div", {
1225
1228
  className: "absolute top-1 right-1 opacity-0 group-hover:opacity-100 transition-opacity",
1226
- children: /* @__PURE__ */ g(z, {
1229
+ children: /* @__PURE__ */ v(B, {
1227
1230
  type: "button",
1228
1231
  variant: "destructive",
1229
1232
  size: "icon",
1230
1233
  className: "h-6 w-6 rounded-full",
1231
- onClick: () => h(e),
1232
- children: /* @__PURE__ */ g(fe, { className: "h-3 w-3" })
1234
+ onClick: () => g(e),
1235
+ children: /* @__PURE__ */ v(de, { className: "h-3 w-3" })
1233
1236
  })
1234
1237
  })]
1235
1238
  }, t))
1236
1239
  }),
1237
- !r && (a || d.length === 0) && /* @__PURE__ */ _("div", {
1240
+ !r && (a || u.length === 0) && /* @__PURE__ */ y("div", {
1238
1241
  className: `
1239
1242
  border-2 border-dashed border-muted-foreground/25 rounded-lg
1240
1243
  flex flex-col items-center justify-center p-6 gap-2
@@ -1243,22 +1246,22 @@ function Sn({ value: e, onChange: t, label: n = "Imagen", disabled: r, multiple:
1243
1246
  `,
1244
1247
  onClick: () => s.current?.click(),
1245
1248
  children: [
1246
- 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" }),
1247
- /* @__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", {
1248
1251
  className: "text-sm text-muted-foreground font-medium",
1249
1252
  children: c ? "Subiendo..." : a ? "Click para agregar imágenes" : "Click para subir imagen"
1250
1253
  }),
1251
- /* @__PURE__ */ g("p", {
1254
+ /* @__PURE__ */ v("p", {
1252
1255
  className: "text-xs text-muted-foreground/70",
1253
1256
  children: "Soporta: JPG, PNG, WEBP (Max 5MB)"
1254
1257
  }),
1255
- /* @__PURE__ */ g("input", {
1258
+ /* @__PURE__ */ v("input", {
1256
1259
  type: "file",
1257
1260
  ref: s,
1258
1261
  className: "hidden",
1259
1262
  accept: "image/*",
1260
1263
  multiple: a,
1261
- onChange: p,
1264
+ onChange: m,
1262
1265
  disabled: r || c
1263
1266
  })
1264
1267
  ]
@@ -1268,111 +1271,111 @@ function Sn({ value: e, onChange: t, label: n = "Imagen", disabled: r, multiple:
1268
1271
  }
1269
1272
  //#endregion
1270
1273
  //#region src/components/ui/input.tsx
1271
- function J({ className: e, type: t, ...n }) {
1272
- return /* @__PURE__ */ g("input", {
1274
+ function Y({ className: e, type: t, ...n }) {
1275
+ return /* @__PURE__ */ v("input", {
1273
1276
  type: t,
1274
1277
  "data-slot": "input",
1275
- 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),
1276
1279
  ...n
1277
1280
  });
1278
1281
  }
1279
1282
  //#endregion
1280
1283
  //#region src/components/ui/input-otp.tsx
1281
- function Cn({ className: e, containerClassName: t, ...n }) {
1282
- return /* @__PURE__ */ g(Se, {
1284
+ function En({ className: e, containerClassName: t, ...n }) {
1285
+ return /* @__PURE__ */ v(Se, {
1283
1286
  "data-slot": "input-otp",
1284
- containerClassName: N("flex items-center gap-2 has-disabled:opacity-50", t),
1285
- 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),
1286
1289
  ...n
1287
1290
  });
1288
1291
  }
1289
- function wn({ className: e, ...t }) {
1290
- return /* @__PURE__ */ g("div", {
1292
+ function Dn({ className: e, ...t }) {
1293
+ return /* @__PURE__ */ v("div", {
1291
1294
  "data-slot": "input-otp-group",
1292
- className: N("flex items-center", e),
1295
+ className: F("flex items-center", e),
1293
1296
  ...t
1294
1297
  });
1295
1298
  }
1296
- function Tn({ index: e, className: t, ...n }) {
1299
+ function On({ index: e, className: t, ...n }) {
1297
1300
  let { char: r, hasFakeCaret: i, isActive: a } = s.useContext(Ce)?.slots[e] ?? {};
1298
- return /* @__PURE__ */ _("div", {
1301
+ return /* @__PURE__ */ y("div", {
1299
1302
  "data-slot": "input-otp-slot",
1300
1303
  "data-active": a,
1301
- 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),
1302
1305
  ...n,
1303
- children: [r, i && /* @__PURE__ */ g("div", {
1306
+ children: [r, i && /* @__PURE__ */ v("div", {
1304
1307
  className: "pointer-events-none absolute inset-0 flex items-center justify-center",
1305
- 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" })
1306
1309
  })]
1307
1310
  });
1308
1311
  }
1309
- function En({ ...e }) {
1310
- return /* @__PURE__ */ g("div", {
1312
+ function kn({ ...e }) {
1313
+ return /* @__PURE__ */ v("div", {
1311
1314
  "data-slot": "input-otp-separator",
1312
1315
  role: "separator",
1313
1316
  ...e,
1314
- children: /* @__PURE__ */ g(le, {})
1317
+ children: /* @__PURE__ */ v(ce, {})
1315
1318
  });
1316
1319
  }
1317
1320
  //#endregion
1318
1321
  //#region src/components/ui/popover.tsx
1319
- function Y({ ...e }) {
1320
- return /* @__PURE__ */ g(E.Root, {
1322
+ function X({ ...e }) {
1323
+ return /* @__PURE__ */ v(O.Root, {
1321
1324
  "data-slot": "popover",
1322
1325
  ...e
1323
1326
  });
1324
1327
  }
1325
- function X({ ...e }) {
1326
- return /* @__PURE__ */ g(E.Trigger, {
1328
+ function Z({ ...e }) {
1329
+ return /* @__PURE__ */ v(O.Trigger, {
1327
1330
  "data-slot": "popover-trigger",
1328
1331
  ...e
1329
1332
  });
1330
1333
  }
1331
- function Z({ className: e, align: t = "center", sideOffset: n = 4, ...r }) {
1332
- 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, {
1333
1336
  "data-slot": "popover-content",
1334
1337
  align: t,
1335
1338
  sideOffset: n,
1336
- 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),
1337
1340
  ...r
1338
1341
  }) });
1339
1342
  }
1340
- function Dn({ ...e }) {
1341
- return /* @__PURE__ */ g(E.Anchor, {
1343
+ function An({ ...e }) {
1344
+ return /* @__PURE__ */ v(O.Anchor, {
1342
1345
  "data-slot": "popover-anchor",
1343
1346
  ...e
1344
1347
  });
1345
1348
  }
1346
1349
  //#endregion
1347
1350
  //#region src/components/ui/multi-select.tsx
1348
- 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 }) {
1349
1352
  let [a, o] = s.useState(!1), c = (e) => {
1350
1353
  n(t.filter((t) => t !== e));
1351
1354
  };
1352
- return /* @__PURE__ */ _(Y, {
1355
+ return /* @__PURE__ */ y(X, {
1353
1356
  open: a,
1354
1357
  onOpenChange: o,
1355
- children: [/* @__PURE__ */ g(X, {
1358
+ children: [/* @__PURE__ */ v(Z, {
1356
1359
  asChild: !0,
1357
- children: /* @__PURE__ */ _("div", {
1360
+ children: /* @__PURE__ */ y("div", {
1358
1361
  role: "combobox",
1359
1362
  "aria-expanded": a,
1360
- 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),
1361
1364
  onClick: () => o(!a),
1362
- children: [/* @__PURE__ */ g("div", {
1365
+ children: [/* @__PURE__ */ v("div", {
1363
1366
  className: "flex flex-wrap gap-1",
1364
1367
  children: t.length > 0 ? t.map((t) => {
1365
1368
  let n = e.find((e) => e.value === t);
1366
- return n ? /* @__PURE__ */ _(wt, {
1369
+ return n ? /* @__PURE__ */ y(Dt, {
1367
1370
  variant: "secondary",
1368
1371
  className: "mr-1 mb-1",
1369
1372
  onClick: (e) => {
1370
1373
  e.stopPropagation(), c(t);
1371
1374
  },
1372
1375
  children: [
1373
- 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" }),
1374
1377
  n.label,
1375
- /* @__PURE__ */ g("button", {
1378
+ /* @__PURE__ */ v("button", {
1376
1379
  className: "ml-1 ring-offset-background rounded-full outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",
1377
1380
  onKeyDown: (e) => {
1378
1381
  e.key === "Enter" && c(t);
@@ -1383,30 +1386,30 @@ function On({ options: e, selected: t, onChange: n, placeholder: r = "Select opt
1383
1386
  onClick: (e) => {
1384
1387
  e.preventDefault(), e.stopPropagation(), c(t);
1385
1388
  },
1386
- 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" })
1387
1390
  })
1388
1391
  ]
1389
1392
  }, n.value) : null;
1390
- }) : /* @__PURE__ */ g("span", {
1393
+ }) : /* @__PURE__ */ v("span", {
1391
1394
  className: "text-muted-foreground font-normal",
1392
1395
  children: r
1393
1396
  })
1394
- }), /* @__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" })]
1395
1398
  })
1396
- }), /* @__PURE__ */ g(Z, {
1399
+ }), /* @__PURE__ */ v(Q, {
1397
1400
  className: "w-full p-0",
1398
- children: /* @__PURE__ */ _(B, { children: [
1399
- /* @__PURE__ */ g(V, { placeholder: "Search..." }),
1400
- /* @__PURE__ */ g(U, { children: "No item found." }),
1401
- /* @__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, {
1402
1405
  className: "max-h-64 overflow-auto",
1403
- children: e.map((e) => /* @__PURE__ */ _(G, {
1406
+ children: e.map((e) => /* @__PURE__ */ y(K, {
1404
1407
  onSelect: () => {
1405
1408
  t.includes(e.value) ? n(t.filter((t) => t !== e.value)) : n([...t, e.value]), o(!0);
1406
1409
  },
1407
1410
  children: [
1408
- /* @__PURE__ */ g(f, { className: N("mr-2 h-4 w-4", t.includes(e.value) ? "opacity-100" : "opacity-0") }),
1409
- 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" }),
1410
1413
  e.label
1411
1414
  ]
1412
1415
  }, e.value))
@@ -1417,106 +1420,106 @@ function On({ options: e, selected: t, onChange: n, placeholder: r = "Select opt
1417
1420
  }
1418
1421
  //#endregion
1419
1422
  //#region src/components/ui/scroll-area.tsx
1420
- 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, {
1421
1424
  ref: a,
1422
1425
  "data-slot": "scroll-area",
1423
1426
  type: r,
1424
- className: N("relative overflow-hidden", e),
1427
+ className: F("relative overflow-hidden", e),
1425
1428
  ...i,
1426
1429
  children: [
1427
- /* @__PURE__ */ g(D.Viewport, {
1430
+ /* @__PURE__ */ v(k.Viewport, {
1428
1431
  "data-slot": "scroll-area-viewport",
1429
- 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!"),
1430
1433
  children: t
1431
1434
  }),
1432
- /* @__PURE__ */ g(kn, { orientation: n }),
1433
- /* @__PURE__ */ g(D.Corner, {})
1435
+ /* @__PURE__ */ v(Nn, { orientation: n }),
1436
+ /* @__PURE__ */ v(k.Corner, {})
1434
1437
  ]
1435
1438
  }));
1436
- Q.displayName = "ScrollArea";
1437
- 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, {
1438
1441
  ref: r,
1439
1442
  "data-slot": "scroll-area-scrollbar",
1440
1443
  orientation: t,
1441
- 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),
1442
1445
  ...n,
1443
- children: /* @__PURE__ */ g(D.ScrollAreaThumb, {
1446
+ children: /* @__PURE__ */ v(k.ScrollAreaThumb, {
1444
1447
  "data-slot": "scroll-area-thumb",
1445
1448
  className: "bg-foreground/35 hover:bg-foreground/50 relative flex-1 rounded-full transition-colors"
1446
1449
  })
1447
1450
  }));
1448
- kn.displayName = "ScrollBar";
1451
+ Nn.displayName = "ScrollBar";
1449
1452
  //#endregion
1450
1453
  //#region src/components/ui/phone-input.tsx
1451
- 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, {
1452
1455
  ref: r,
1453
- className: N("flex", e),
1454
- flagComponent: Nn,
1455
- countrySelectComponent: Mn,
1456
- inputComponent: jn,
1456
+ className: F("flex", e),
1457
+ flagComponent: Ln,
1458
+ countrySelectComponent: In,
1459
+ inputComponent: Fn,
1457
1460
  smartCaret: !1,
1458
1461
  onChange: (e) => t?.(e || ""),
1459
1462
  ...n
1460
1463
  }));
1461
- An.displayName = "PhoneInput";
1462
- var jn = s.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ g(J, {
1463
- 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),
1464
1467
  ...t,
1465
1468
  ref: n
1466
1469
  }));
1467
- jn.displayName = "InputComponent";
1468
- 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 }) => {
1469
1472
  let i = s.useCallback((e) => {
1470
1473
  n(e);
1471
1474
  }, [n]);
1472
- return /* @__PURE__ */ _(Y, { children: [/* @__PURE__ */ g(X, {
1475
+ return /* @__PURE__ */ y(X, { children: [/* @__PURE__ */ v(Z, {
1473
1476
  asChild: !0,
1474
- children: /* @__PURE__ */ _(z, {
1477
+ children: /* @__PURE__ */ y(B, {
1475
1478
  type: "button",
1476
1479
  variant: "outline",
1477
- 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"),
1478
1481
  disabled: e,
1479
- children: [/* @__PURE__ */ g(Nn, {
1482
+ children: [/* @__PURE__ */ v(Ln, {
1480
1483
  country: t,
1481
1484
  countryName: t
1482
- }), /* @__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") })]
1483
1486
  })
1484
- }), /* @__PURE__ */ g(Z, {
1487
+ }), /* @__PURE__ */ v(Q, {
1485
1488
  className: "w-[300px] p-0",
1486
- 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, {
1487
1490
  className: "h-72",
1488
- 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, {
1489
1492
  className: "gap-2",
1490
1493
  onSelect: () => i(e.value),
1491
1494
  children: [
1492
- /* @__PURE__ */ g(Nn, {
1495
+ /* @__PURE__ */ v(Ln, {
1493
1496
  country: e.value,
1494
1497
  countryName: e.label
1495
1498
  }),
1496
- /* @__PURE__ */ g("span", {
1499
+ /* @__PURE__ */ v("span", {
1497
1500
  className: "flex-1 text-sm",
1498
1501
  children: e.label
1499
1502
  }),
1500
- e.value && /* @__PURE__ */ g("span", {
1503
+ e.value && /* @__PURE__ */ v("span", {
1501
1504
  className: "text-sm text-foreground/50",
1502
1505
  children: `+${we.getCountryCallingCode(e.value)}`
1503
1506
  }),
1504
- /* @__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") })
1505
1508
  ]
1506
1509
  }, e.value)) })]
1507
1510
  }) })] })
1508
1511
  })] });
1509
- }, Nn = ({ country: e, countryName: t }) => {
1512
+ }, Ln = ({ country: e, countryName: t }) => {
1510
1513
  let n = Te[e];
1511
- return /* @__PURE__ */ g("span", {
1514
+ return /* @__PURE__ */ v("span", {
1512
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",
1513
- children: n && /* @__PURE__ */ g(n, { title: t })
1516
+ children: n && /* @__PURE__ */ v(n, { title: t })
1514
1517
  });
1515
- }, 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, {
1516
1519
  ref: r,
1517
- 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),
1518
1521
  ...n,
1519
- children: /* @__PURE__ */ g(O.Indicator, {
1522
+ children: /* @__PURE__ */ v(A.Indicator, {
1520
1523
  className: "h-full bg-primary transition-transform duration-300 ease-out",
1521
1524
  style: {
1522
1525
  width: "100%",
@@ -1524,353 +1527,353 @@ var Mn = ({ disabled: e, value: t, onChange: n, options: r }) => {
1524
1527
  }
1525
1528
  })
1526
1529
  }));
1527
- Pn.displayName = O.Root.displayName;
1530
+ Rn.displayName = A.Root.displayName;
1528
1531
  //#endregion
1529
1532
  //#region src/components/ui/radio-group.tsx
1530
- function Fn({ className: e, ...t }) {
1531
- return /* @__PURE__ */ g(k.Root, {
1533
+ function zn({ className: e, ...t }) {
1534
+ return /* @__PURE__ */ v(j.Root, {
1532
1535
  "data-slot": "radio-group",
1533
- className: N("grid gap-3", e),
1536
+ className: F("grid gap-3", e),
1534
1537
  ...t
1535
1538
  });
1536
1539
  }
1537
- function In({ className: e, ...t }) {
1538
- return /* @__PURE__ */ g(k.Item, {
1540
+ function Bn({ className: e, ...t }) {
1541
+ return /* @__PURE__ */ v(j.Item, {
1539
1542
  "data-slot": "radio-group-item",
1540
- 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),
1541
1544
  ...t,
1542
- children: /* @__PURE__ */ g(k.Indicator, {
1545
+ children: /* @__PURE__ */ v(j.Indicator, {
1543
1546
  "data-slot": "radio-group-indicator",
1544
1547
  className: "relative flex items-center justify-center",
1545
- 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" })
1546
1549
  })
1547
1550
  });
1548
1551
  }
1549
1552
  //#endregion
1550
1553
  //#region src/components/ui/select.tsx
1551
- function Ln({ ...e }) {
1552
- return /* @__PURE__ */ g(A.Root, {
1554
+ function Vn({ ...e }) {
1555
+ return /* @__PURE__ */ v(M.Root, {
1553
1556
  "data-slot": "select",
1554
1557
  ...e
1555
1558
  });
1556
1559
  }
1557
- function Rn({ ...e }) {
1558
- return /* @__PURE__ */ g(A.Group, {
1560
+ function Hn({ ...e }) {
1561
+ return /* @__PURE__ */ v(M.Group, {
1559
1562
  "data-slot": "select-group",
1560
1563
  ...e
1561
1564
  });
1562
1565
  }
1563
- function zn({ ...e }) {
1564
- return /* @__PURE__ */ g(A.Value, {
1566
+ function Un({ ...e }) {
1567
+ return /* @__PURE__ */ v(M.Value, {
1565
1568
  "data-slot": "select-value",
1566
1569
  ...e
1567
1570
  });
1568
1571
  }
1569
- function Bn({ className: e, size: t = "default", children: n, ...r }) {
1570
- return /* @__PURE__ */ _(A.Trigger, {
1572
+ function Wn({ className: e, size: t = "default", children: n, ...r }) {
1573
+ return /* @__PURE__ */ y(M.Trigger, {
1571
1574
  "data-slot": "select-trigger",
1572
1575
  "data-size": t,
1573
- 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),
1574
1577
  ...r,
1575
- children: [n, /* @__PURE__ */ g(A.Icon, {
1578
+ children: [n, /* @__PURE__ */ v(M.Icon, {
1576
1579
  asChild: !0,
1577
- children: /* @__PURE__ */ g(h, { className: "size-4 opacity-50" })
1580
+ children: /* @__PURE__ */ v(_, { className: "size-4 opacity-50" })
1578
1581
  })]
1579
1582
  });
1580
1583
  }
1581
- function Vn({ className: e, children: t, position: n = "popper", ...r }) {
1582
- 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, {
1583
1586
  "data-slot": "select-content",
1584
- 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),
1585
1588
  position: n,
1586
1589
  ...r,
1587
1590
  children: [
1588
- /* @__PURE__ */ g(Gn, {}),
1589
- /* @__PURE__ */ g(A.Viewport, {
1590
- 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"),
1591
1594
  children: t
1592
1595
  }),
1593
- /* @__PURE__ */ g(Kn, {})
1596
+ /* @__PURE__ */ v(Xn, {})
1594
1597
  ]
1595
1598
  }) });
1596
1599
  }
1597
- function Hn({ className: e, ...t }) {
1598
- return /* @__PURE__ */ g(A.Label, {
1600
+ function Kn({ className: e, ...t }) {
1601
+ return /* @__PURE__ */ v(M.Label, {
1599
1602
  "data-slot": "select-label",
1600
- 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),
1601
1604
  ...t
1602
1605
  });
1603
1606
  }
1604
- function Un({ className: e, children: t, ...n }) {
1605
- return /* @__PURE__ */ _(A.Item, {
1607
+ function qn({ className: e, children: t, ...n }) {
1608
+ return /* @__PURE__ */ y(M.Item, {
1606
1609
  "data-slot": "select-item",
1607
- 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),
1608
1611
  ...n,
1609
- children: [/* @__PURE__ */ g("span", {
1612
+ children: [/* @__PURE__ */ v("span", {
1610
1613
  className: "absolute end-2 flex size-3.5 items-center justify-center",
1611
- children: /* @__PURE__ */ g(A.ItemIndicator, { children: /* @__PURE__ */ g(p, { className: "size-4" }) })
1612
- }), /* @__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 })]
1613
1616
  });
1614
1617
  }
1615
- function Wn({ className: e, ...t }) {
1616
- return /* @__PURE__ */ g(A.Separator, {
1618
+ function Jn({ className: e, ...t }) {
1619
+ return /* @__PURE__ */ v(M.Separator, {
1617
1620
  "data-slot": "select-separator",
1618
- 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),
1619
1622
  ...t
1620
1623
  });
1621
1624
  }
1622
- function Gn({ className: e, ...t }) {
1623
- return /* @__PURE__ */ g(A.ScrollUpButton, {
1625
+ function Yn({ className: e, ...t }) {
1626
+ return /* @__PURE__ */ v(M.ScrollUpButton, {
1624
1627
  "data-slot": "select-scroll-up-button",
1625
- 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),
1626
1629
  ...t,
1627
- children: /* @__PURE__ */ g(ie, { className: "size-4" })
1630
+ children: /* @__PURE__ */ v(re, { className: "size-4" })
1628
1631
  });
1629
1632
  }
1630
- function Kn({ className: e, ...t }) {
1631
- return /* @__PURE__ */ g(A.ScrollDownButton, {
1633
+ function Xn({ className: e, ...t }) {
1634
+ return /* @__PURE__ */ v(M.ScrollDownButton, {
1632
1635
  "data-slot": "select-scroll-down-button",
1633
- 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),
1634
1637
  ...t,
1635
- children: /* @__PURE__ */ g(h, { className: "size-4" })
1638
+ children: /* @__PURE__ */ v(_, { className: "size-4" })
1636
1639
  });
1637
1640
  }
1638
1641
  //#endregion
1639
1642
  //#region src/components/ui/separator.tsx
1640
- function qn({ className: e, orientation: t = "horizontal", decorative: n = !0, ...r }) {
1641
- return /* @__PURE__ */ g(Ee.Root, {
1643
+ function Zn({ className: e, orientation: t = "horizontal", decorative: n = !0, ...r }) {
1644
+ return /* @__PURE__ */ v(Ee.Root, {
1642
1645
  "data-slot": "separator",
1643
1646
  decorative: n,
1644
1647
  orientation: t,
1645
- 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),
1646
1649
  ...r
1647
1650
  });
1648
1651
  }
1649
1652
  //#endregion
1650
1653
  //#region src/components/ui/sheet.tsx
1651
- function Jn({ ...e }) {
1652
- return /* @__PURE__ */ g(w.Root, {
1654
+ function Qn({ ...e }) {
1655
+ return /* @__PURE__ */ v(E.Root, {
1653
1656
  "data-slot": "sheet",
1654
1657
  ...e
1655
1658
  });
1656
1659
  }
1657
- function Yn({ ...e }) {
1658
- return /* @__PURE__ */ g(w.Trigger, {
1660
+ function $n({ ...e }) {
1661
+ return /* @__PURE__ */ v(E.Trigger, {
1659
1662
  "data-slot": "sheet-trigger",
1660
1663
  ...e
1661
1664
  });
1662
1665
  }
1663
- function Xn({ ...e }) {
1664
- return /* @__PURE__ */ g(w.Close, {
1666
+ function er({ ...e }) {
1667
+ return /* @__PURE__ */ v(E.Close, {
1665
1668
  "data-slot": "sheet-close",
1666
1669
  ...e
1667
1670
  });
1668
1671
  }
1669
- function Zn({ ...e }) {
1670
- return /* @__PURE__ */ g(w.Portal, {
1672
+ function tr({ ...e }) {
1673
+ return /* @__PURE__ */ v(E.Portal, {
1671
1674
  "data-slot": "sheet-portal",
1672
1675
  ...e
1673
1676
  });
1674
1677
  }
1675
- function Qn({ className: e, ...t }) {
1676
- return /* @__PURE__ */ g(w.Overlay, {
1678
+ function nr({ className: e, ...t }) {
1679
+ return /* @__PURE__ */ v(E.Overlay, {
1677
1680
  "data-slot": "sheet-overlay",
1678
- 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),
1679
1682
  ...t
1680
1683
  });
1681
1684
  }
1682
- function $n({ className: e, children: t, side: n = "right", ...r }) {
1683
- 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, {
1684
1687
  "data-slot": "sheet-content",
1685
- 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),
1686
1689
  ...r,
1687
- children: [t, /* @__PURE__ */ _(w.Close, {
1690
+ children: [t, /* @__PURE__ */ y(E.Close, {
1688
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",
1689
- children: [/* @__PURE__ */ g(pe, { className: "size-4" }), /* @__PURE__ */ g("span", {
1692
+ children: [/* @__PURE__ */ v(fe, { className: "size-4" }), /* @__PURE__ */ v("span", {
1690
1693
  className: "sr-only",
1691
1694
  children: "Close"
1692
1695
  })]
1693
1696
  })]
1694
1697
  })] });
1695
1698
  }
1696
- function er({ className: e, ...t }) {
1697
- return /* @__PURE__ */ g("div", {
1699
+ function ir({ className: e, ...t }) {
1700
+ return /* @__PURE__ */ v("div", {
1698
1701
  "data-slot": "sheet-header",
1699
- className: N("flex flex-col gap-1.5 p-4", e),
1702
+ className: F("flex flex-col gap-1.5 p-4", e),
1700
1703
  ...t
1701
1704
  });
1702
1705
  }
1703
- function tr({ className: e, ...t }) {
1704
- return /* @__PURE__ */ g("div", {
1706
+ function ar({ className: e, ...t }) {
1707
+ return /* @__PURE__ */ v("div", {
1705
1708
  "data-slot": "sheet-footer",
1706
- 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),
1707
1710
  ...t
1708
1711
  });
1709
1712
  }
1710
- function nr({ className: e, ...t }) {
1711
- return /* @__PURE__ */ g(w.Title, {
1713
+ function or({ className: e, ...t }) {
1714
+ return /* @__PURE__ */ v(E.Title, {
1712
1715
  "data-slot": "sheet-title",
1713
- className: N("text-foreground font-semibold", e),
1716
+ className: F("text-foreground font-semibold", e),
1714
1717
  ...t
1715
1718
  });
1716
1719
  }
1717
- function rr({ className: e, ...t }) {
1718
- return /* @__PURE__ */ g(w.Description, {
1720
+ function sr({ className: e, ...t }) {
1721
+ return /* @__PURE__ */ v(E.Description, {
1719
1722
  "data-slot": "sheet-description",
1720
- className: N("text-muted-foreground text-sm", e),
1723
+ className: F("text-muted-foreground text-sm", e),
1721
1724
  ...t
1722
1725
  });
1723
1726
  }
1724
1727
  //#endregion
1725
1728
  //#region src/hooks/use-mobile.tsx
1726
- var ir = 768;
1727
- function ar() {
1729
+ var cr = 768;
1730
+ function lr() {
1728
1731
  let [e, t] = s.useState(void 0);
1729
1732
  return s.useEffect(() => {
1730
- let e = window.matchMedia(`(max-width: ${ir - 1}px)`), n = () => {
1731
- t(window.innerWidth < ir);
1733
+ let e = window.matchMedia(`(max-width: ${cr - 1}px)`), n = () => {
1734
+ t(window.innerWidth < cr);
1732
1735
  };
1733
- 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);
1734
1737
  }, []), !!e;
1735
1738
  }
1736
1739
  //#endregion
1737
1740
  //#region src/components/ui/skeleton.tsx
1738
- function or({ className: e, ...t }) {
1739
- return /* @__PURE__ */ g("div", {
1741
+ function ur({ className: e, ...t }) {
1742
+ return /* @__PURE__ */ v("div", {
1740
1743
  "data-slot": "skeleton",
1741
- className: N("bg-accent animate-pulse rounded-md", e),
1744
+ className: F("bg-accent animate-pulse rounded-md", e),
1742
1745
  ...t
1743
1746
  });
1744
1747
  }
1745
1748
  //#endregion
1746
1749
  //#region src/components/ui/tooltip.tsx
1747
- function sr({ delayDuration: e = 0, ...t }) {
1748
- return /* @__PURE__ */ g(j.Provider, {
1750
+ function dr({ delayDuration: e = 0, ...t }) {
1751
+ return /* @__PURE__ */ v(N.Provider, {
1749
1752
  "data-slot": "tooltip-provider",
1750
1753
  delayDuration: e,
1751
1754
  ...t
1752
1755
  });
1753
1756
  }
1754
- function cr({ ...e }) {
1755
- return /* @__PURE__ */ g(sr, { children: /* @__PURE__ */ g(j.Root, {
1757
+ function fr({ ...e }) {
1758
+ return /* @__PURE__ */ v(dr, { children: /* @__PURE__ */ v(N.Root, {
1756
1759
  "data-slot": "tooltip",
1757
1760
  ...e
1758
1761
  }) });
1759
1762
  }
1760
- function lr({ ...e }) {
1761
- return /* @__PURE__ */ g(j.Trigger, {
1763
+ function pr({ ...e }) {
1764
+ return /* @__PURE__ */ v(N.Trigger, {
1762
1765
  "data-slot": "tooltip-trigger",
1763
1766
  ...e
1764
1767
  });
1765
1768
  }
1766
- function ur({ className: e, sideOffset: t = 0, children: n, ...r }) {
1767
- 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, {
1768
1771
  "data-slot": "tooltip-content",
1769
1772
  sideOffset: t,
1770
- 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),
1771
1774
  ...r,
1772
- 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]" })]
1773
1776
  }) });
1774
1777
  }
1775
1778
  //#endregion
1776
1779
  //#region src/components/ui/sidebar.tsx
1777
- 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);
1778
1781
  function $() {
1779
- let e = s.useContext(_r);
1782
+ let e = s.useContext(xr);
1780
1783
  if (!e) throw Error("useSidebar must be used within a SidebarProvider.");
1781
1784
  return e;
1782
1785
  }
1783
- function vr({ defaultOpen: e = !0, open: t, onOpenChange: n, className: r, style: i, children: a, ...o }) {
1784
- let c = ar(), [l, u] = s.useState(!1), [ee, te] = s.useState(e), d = t ?? ee, f = s.useCallback((e) => {
1785
- let t = typeof e == "function" ? e(d) : e;
1786
- n ? n(t) : te(t), document.cookie = `${dr}=${t}; path=/; max-age=${fr}`;
1787
- }, [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), [
1788
1791
  c,
1789
- f,
1792
+ p,
1790
1793
  u
1791
1794
  ]);
1792
1795
  s.useEffect(() => {
1793
1796
  let e = (e) => {
1794
- e.key === gr && (e.metaKey || e.ctrlKey) && (e.preventDefault(), p());
1797
+ e.key === br && (e.metaKey || e.ctrlKey) && (e.preventDefault(), m());
1795
1798
  };
1796
1799
  return window.addEventListener("keydown", e), () => window.removeEventListener("keydown", e);
1797
- }, [p]);
1798
- let m = d ? "expanded" : "collapsed", h = s.useMemo(() => ({
1799
- state: m,
1800
- open: d,
1801
- setOpen: f,
1800
+ }, [m]);
1801
+ let h = f ? "expanded" : "collapsed", g = s.useMemo(() => ({
1802
+ state: h,
1803
+ open: f,
1804
+ setOpen: p,
1802
1805
  isMobile: c,
1803
1806
  openMobile: l,
1804
1807
  setOpenMobile: u,
1805
- toggleSidebar: p
1808
+ toggleSidebar: m
1806
1809
  }), [
1807
- m,
1808
- d,
1810
+ h,
1809
1811
  f,
1812
+ p,
1810
1813
  c,
1811
1814
  l,
1812
1815
  u,
1813
- p
1816
+ m
1814
1817
  ]);
1815
- return /* @__PURE__ */ g(_r.Provider, {
1816
- value: h,
1817
- children: /* @__PURE__ */ g(sr, {
1818
+ return /* @__PURE__ */ v(xr.Provider, {
1819
+ value: g,
1820
+ children: /* @__PURE__ */ v(dr, {
1818
1821
  delayDuration: 0,
1819
- children: /* @__PURE__ */ g("div", {
1822
+ children: /* @__PURE__ */ v("div", {
1820
1823
  "data-slot": "sidebar-wrapper",
1821
1824
  style: {
1822
- "--sidebar-width": pr,
1823
- "--sidebar-width-icon": hr,
1825
+ "--sidebar-width": _r,
1826
+ "--sidebar-width-icon": yr,
1824
1827
  ...i
1825
1828
  },
1826
- 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),
1827
1830
  ...o,
1828
1831
  children: a
1829
1832
  })
1830
1833
  })
1831
1834
  });
1832
1835
  }
1833
- 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 }) {
1834
1837
  let { isMobile: o, state: s, openMobile: c, setOpenMobile: l } = $();
1835
- return n === "none" ? /* @__PURE__ */ g("div", {
1838
+ return n === "none" ? /* @__PURE__ */ v("div", {
1836
1839
  "data-slot": "sidebar",
1837
- 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),
1838
1841
  ...a,
1839
1842
  children: i
1840
- }) : o ? /* @__PURE__ */ g(Jn, {
1843
+ }) : o ? /* @__PURE__ */ v(Qn, {
1841
1844
  open: c,
1842
1845
  onOpenChange: l,
1843
1846
  ...a,
1844
- children: /* @__PURE__ */ _($n, {
1847
+ children: /* @__PURE__ */ y(rr, {
1845
1848
  "data-sidebar": "sidebar",
1846
1849
  "data-slot": "sidebar",
1847
1850
  "data-mobile": "true",
1848
1851
  className: "bg-sidebar text-sidebar-foreground w-(--sidebar-width) p-0 [&>button]:hidden",
1849
- style: { "--sidebar-width": mr },
1852
+ style: { "--sidebar-width": vr },
1850
1853
  side: e,
1851
- children: [/* @__PURE__ */ _(er, {
1854
+ children: [/* @__PURE__ */ y(ir, {
1852
1855
  className: "sr-only",
1853
- children: [/* @__PURE__ */ g(nr, { children: "Sidebar" }), /* @__PURE__ */ g(rr, { children: "Displays the mobile sidebar." })]
1854
- }), /* @__PURE__ */ g("div", {
1856
+ children: [/* @__PURE__ */ v(or, { children: "Sidebar" }), /* @__PURE__ */ v(sr, { children: "Displays the mobile sidebar." })]
1857
+ }), /* @__PURE__ */ v("div", {
1855
1858
  className: "flex h-full w-full flex-col",
1856
1859
  children: i
1857
1860
  })]
1858
1861
  })
1859
- }) : /* @__PURE__ */ _("div", {
1862
+ }) : /* @__PURE__ */ y("div", {
1860
1863
  className: "group peer text-sidebar-foreground hidden md:block",
1861
1864
  "data-state": s,
1862
1865
  "data-collapsible": s === "collapsed" ? n : "",
1863
1866
  "data-variant": t,
1864
1867
  "data-side": e,
1865
1868
  "data-slot": "sidebar",
1866
- children: [/* @__PURE__ */ g("div", {
1869
+ children: [/* @__PURE__ */ v("div", {
1867
1870
  "data-slot": "sidebar-gap",
1868
- 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)")
1869
- }), /* @__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", {
1870
1873
  "data-slot": "sidebar-container",
1871
- 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),
1872
1875
  ...a,
1873
- children: /* @__PURE__ */ g("div", {
1876
+ children: /* @__PURE__ */ v("div", {
1874
1877
  "data-sidebar": "sidebar",
1875
1878
  "data-slot": "sidebar-inner",
1876
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",
@@ -1879,133 +1882,133 @@ function yr({ side: e = "left", variant: t = "sidebar", collapsible: n = "offcan
1879
1882
  })]
1880
1883
  });
1881
1884
  }
1882
- function br({ className: e, onClick: t, ...n }) {
1885
+ function wr({ className: e, onClick: t, ...n }) {
1883
1886
  let { toggleSidebar: r } = $();
1884
- return /* @__PURE__ */ _(z, {
1887
+ return /* @__PURE__ */ y(B, {
1885
1888
  "data-sidebar": "trigger",
1886
1889
  "data-slot": "sidebar-trigger",
1887
1890
  variant: "ghost",
1888
1891
  size: "icon",
1889
- className: N("size-7", e),
1892
+ className: F("size-7", e),
1890
1893
  onClick: (e) => {
1891
1894
  t?.(e), r();
1892
1895
  },
1893
1896
  ...n,
1894
- children: [/* @__PURE__ */ g(ue, {}), /* @__PURE__ */ g("span", {
1897
+ children: [/* @__PURE__ */ v(le, {}), /* @__PURE__ */ v("span", {
1895
1898
  className: "sr-only",
1896
1899
  children: "Toggle Sidebar"
1897
1900
  })]
1898
1901
  });
1899
1902
  }
1900
- function xr({ className: e, ...t }) {
1903
+ function Tr({ className: e, ...t }) {
1901
1904
  let { toggleSidebar: n } = $();
1902
- return /* @__PURE__ */ g("button", {
1905
+ return /* @__PURE__ */ v("button", {
1903
1906
  "data-sidebar": "rail",
1904
1907
  "data-slot": "sidebar-rail",
1905
1908
  "aria-label": "Toggle Sidebar",
1906
1909
  tabIndex: -1,
1907
1910
  onClick: n,
1908
1911
  title: "Toggle Sidebar",
1909
- 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),
1910
1913
  ...t
1911
1914
  });
1912
1915
  }
1913
- function Sr({ className: e, ...t }) {
1914
- return /* @__PURE__ */ g("div", {
1916
+ function Er({ className: e, ...t }) {
1917
+ return /* @__PURE__ */ v("div", {
1915
1918
  "data-slot": "sidebar-inset",
1916
- 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),
1917
1920
  ...t
1918
1921
  });
1919
1922
  }
1920
- function Cr({ className: e, ...t }) {
1921
- return /* @__PURE__ */ g(J, {
1923
+ function Dr({ className: e, ...t }) {
1924
+ return /* @__PURE__ */ v(Y, {
1922
1925
  "data-slot": "sidebar-input",
1923
1926
  "data-sidebar": "input",
1924
- className: N("bg-background h-8 w-full shadow-none", e),
1927
+ className: F("bg-background h-8 w-full shadow-none", e),
1925
1928
  ...t
1926
1929
  });
1927
1930
  }
1928
- function wr({ className: e, ...t }) {
1929
- return /* @__PURE__ */ g("div", {
1931
+ function Or({ className: e, ...t }) {
1932
+ return /* @__PURE__ */ v("div", {
1930
1933
  "data-slot": "sidebar-header",
1931
1934
  "data-sidebar": "header",
1932
- className: N("flex flex-col gap-2 p-2", e),
1935
+ className: F("flex flex-col gap-2 p-2", e),
1933
1936
  ...t
1934
1937
  });
1935
1938
  }
1936
- function Tr({ className: e, ...t }) {
1937
- return /* @__PURE__ */ g("div", {
1939
+ function kr({ className: e, ...t }) {
1940
+ return /* @__PURE__ */ v("div", {
1938
1941
  "data-slot": "sidebar-footer",
1939
1942
  "data-sidebar": "footer",
1940
- className: N("flex flex-col gap-2 p-2", e),
1943
+ className: F("flex flex-col gap-2 p-2", e),
1941
1944
  ...t
1942
1945
  });
1943
1946
  }
1944
- function Er({ className: e, ...t }) {
1945
- return /* @__PURE__ */ g(qn, {
1947
+ function Ar({ className: e, ...t }) {
1948
+ return /* @__PURE__ */ v(Zn, {
1946
1949
  "data-slot": "sidebar-separator",
1947
1950
  "data-sidebar": "separator",
1948
- className: N("bg-sidebar-border mx-2 w-auto", e),
1951
+ className: F("bg-sidebar-border mx-2 w-auto", e),
1949
1952
  ...t
1950
1953
  });
1951
1954
  }
1952
- function Dr({ className: e, ...t }) {
1953
- return /* @__PURE__ */ g("div", {
1955
+ function jr({ className: e, ...t }) {
1956
+ return /* @__PURE__ */ v("div", {
1954
1957
  "data-slot": "sidebar-content",
1955
1958
  "data-sidebar": "content",
1956
- 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),
1957
1960
  ...t
1958
1961
  });
1959
1962
  }
1960
- function Or({ className: e, ...t }) {
1961
- return /* @__PURE__ */ g("div", {
1963
+ function Mr({ className: e, ...t }) {
1964
+ return /* @__PURE__ */ v("div", {
1962
1965
  "data-slot": "sidebar-group",
1963
1966
  "data-sidebar": "group",
1964
- 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),
1965
1968
  ...t
1966
1969
  });
1967
1970
  }
1968
- function kr({ className: e, asChild: t = !1, ...n }) {
1969
- return /* @__PURE__ */ g(t ? b : "div", {
1971
+ function Nr({ className: e, asChild: t = !1, ...n }) {
1972
+ return /* @__PURE__ */ v(t ? S : "div", {
1970
1973
  "data-slot": "sidebar-group-label",
1971
1974
  "data-sidebar": "group-label",
1972
- 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),
1973
1976
  ...n
1974
1977
  });
1975
1978
  }
1976
- function Ar({ className: e, asChild: t = !1, ...n }) {
1977
- return /* @__PURE__ */ g(t ? b : "button", {
1979
+ function Pr({ className: e, asChild: t = !1, ...n }) {
1980
+ return /* @__PURE__ */ v(t ? S : "button", {
1978
1981
  "data-slot": "sidebar-group-action",
1979
1982
  "data-sidebar": "group-action",
1980
- 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),
1981
1984
  ...n
1982
1985
  });
1983
1986
  }
1984
- function jr({ className: e, ...t }) {
1985
- return /* @__PURE__ */ g("div", {
1987
+ function Fr({ className: e, ...t }) {
1988
+ return /* @__PURE__ */ v("div", {
1986
1989
  "data-slot": "sidebar-group-content",
1987
1990
  "data-sidebar": "group-content",
1988
- className: N("w-full text-sm", e),
1991
+ className: F("w-full text-sm", e),
1989
1992
  ...t
1990
1993
  });
1991
1994
  }
1992
- function Mr({ className: e, ...t }) {
1993
- return /* @__PURE__ */ g("ul", {
1995
+ function Ir({ className: e, ...t }) {
1996
+ return /* @__PURE__ */ v("ul", {
1994
1997
  "data-slot": "sidebar-menu",
1995
1998
  "data-sidebar": "menu",
1996
- 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),
1997
2000
  ...t
1998
2001
  });
1999
2002
  }
2000
- function Nr({ className: e, ...t }) {
2001
- return /* @__PURE__ */ g("li", {
2003
+ function Lr({ className: e, ...t }) {
2004
+ return /* @__PURE__ */ v("li", {
2002
2005
  "data-slot": "sidebar-menu-item",
2003
2006
  "data-sidebar": "menu-item",
2004
- className: N("group/menu-item relative", e),
2007
+ className: F("group/menu-item relative", e),
2005
2008
  ...t
2006
2009
  });
2007
2010
  }
2008
- 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", {
2009
2012
  variants: {
2010
2013
  variant: {
2011
2014
  default: "hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",
@@ -2022,105 +2025,105 @@ var Pr = v("peer/menu-button flex w-full items-center gap-2 overflow-hidden roun
2022
2025
  size: "default"
2023
2026
  }
2024
2027
  });
2025
- function Fr({ asChild: e = !1, isActive: t = !1, variant: n = "default", size: r = "default", tooltip: i, className: a, ...o }) {
2026
- 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, {
2027
2030
  "data-slot": "sidebar-menu-button",
2028
2031
  "data-sidebar": "menu-button",
2029
2032
  "data-size": r,
2030
2033
  "data-active": t,
2031
- className: N(Pr({
2034
+ className: F(Rr({
2032
2035
  variant: n,
2033
2036
  size: r
2034
2037
  }), a),
2035
2038
  ...o
2036
2039
  });
2037
- 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, {
2038
2041
  asChild: !0,
2039
2042
  children: u
2040
- }), /* @__PURE__ */ g(ur, {
2043
+ }), /* @__PURE__ */ v(mr, {
2041
2044
  side: "right",
2042
2045
  align: "center",
2043
2046
  hidden: l !== "collapsed" || c,
2044
2047
  ...i
2045
2048
  })] })) : u;
2046
2049
  }
2047
- function Ir({ className: e, asChild: t = !1, showOnHover: n = !1, ...r }) {
2048
- 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", {
2049
2052
  "data-slot": "sidebar-menu-action",
2050
2053
  "data-sidebar": "menu-action",
2051
- 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),
2052
2055
  ...r
2053
2056
  });
2054
2057
  }
2055
- function Lr({ className: e, ...t }) {
2056
- return /* @__PURE__ */ g("div", {
2058
+ function Vr({ className: e, ...t }) {
2059
+ return /* @__PURE__ */ v("div", {
2057
2060
  "data-slot": "sidebar-menu-badge",
2058
2061
  "data-sidebar": "menu-badge",
2059
- 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),
2060
2063
  ...t
2061
2064
  });
2062
2065
  }
2063
- function Rr({ className: e, showIcon: t = !1, ...n }) {
2066
+ function Hr({ className: e, showIcon: t = !1, ...n }) {
2064
2067
  let r = s.useMemo(() => `${Math.floor(Math.random() * 40) + 50}%`, []);
2065
- return /* @__PURE__ */ _("div", {
2068
+ return /* @__PURE__ */ y("div", {
2066
2069
  "data-slot": "sidebar-menu-skeleton",
2067
2070
  "data-sidebar": "menu-skeleton",
2068
- 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),
2069
2072
  ...n,
2070
- children: [t && /* @__PURE__ */ g(or, {
2073
+ children: [t && /* @__PURE__ */ v(ur, {
2071
2074
  className: "size-4 rounded-md",
2072
2075
  "data-sidebar": "menu-skeleton-icon"
2073
- }), /* @__PURE__ */ g(or, {
2076
+ }), /* @__PURE__ */ v(ur, {
2074
2077
  className: "h-4 max-w-(--skeleton-width) flex-1",
2075
2078
  "data-sidebar": "menu-skeleton-text",
2076
2079
  style: { "--skeleton-width": r }
2077
2080
  })]
2078
2081
  });
2079
2082
  }
2080
- function zr({ className: e, ...t }) {
2081
- return /* @__PURE__ */ g("ul", {
2083
+ function Ur({ className: e, ...t }) {
2084
+ return /* @__PURE__ */ v("ul", {
2082
2085
  "data-slot": "sidebar-menu-sub",
2083
2086
  "data-sidebar": "menu-sub",
2084
- 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),
2085
2088
  ...t
2086
2089
  });
2087
2090
  }
2088
- function Br({ className: e, ...t }) {
2089
- return /* @__PURE__ */ g("li", {
2091
+ function Wr({ className: e, ...t }) {
2092
+ return /* @__PURE__ */ v("li", {
2090
2093
  "data-slot": "sidebar-menu-sub-item",
2091
2094
  "data-sidebar": "menu-sub-item",
2092
- className: N("group/menu-sub-item relative", e),
2095
+ className: F("group/menu-sub-item relative", e),
2093
2096
  ...t
2094
2097
  });
2095
2098
  }
2096
- function Vr({ asChild: e = !1, size: t = "md", isActive: n = !1, className: r, ...i }) {
2097
- 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", {
2098
2101
  "data-slot": "sidebar-menu-sub-button",
2099
2102
  "data-sidebar": "menu-sub-button",
2100
2103
  "data-size": t,
2101
2104
  "data-active": n,
2102
- 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),
2103
2106
  ...i
2104
2107
  });
2105
2108
  }
2106
2109
  //#endregion
2107
2110
  //#region src/context/theme-provider.tsx
2108
- var Hr = "system", Ur = c({
2109
- defaultTheme: Hr,
2111
+ var Kr = "system", qr = l({
2112
+ defaultTheme: Kr,
2110
2113
  resolvedTheme: "light",
2111
- theme: Hr,
2114
+ theme: Kr,
2112
2115
  setTheme: () => null,
2113
2116
  resetTheme: () => null
2114
- }), Wr = () => {
2115
- let e = l(Ur);
2117
+ }), Jr = () => {
2118
+ let e = u(qr);
2116
2119
  if (!e) throw Error("useTheme must be used within a ThemeProvider");
2117
2120
  return e;
2118
2121
  };
2119
2122
  //#endregion
2120
2123
  //#region src/components/ui/sonner.tsx
2121
- function Gr({ ...e }) {
2122
- let { theme: t = "system" } = Wr();
2123
- return /* @__PURE__ */ g(r, {
2124
+ function Yr({ ...e }) {
2125
+ let { theme: t = "system" } = Jr();
2126
+ return /* @__PURE__ */ v(r, {
2124
2127
  theme: t,
2125
2128
  className: "toaster group [&_div[data-content]]:w-full",
2126
2129
  toastOptions: { classNames: {
@@ -2140,120 +2143,134 @@ function Gr({ ...e }) {
2140
2143
  }
2141
2144
  //#endregion
2142
2145
  //#region src/components/ui/switch.tsx
2143
- function Kr({ className: e, ...t }) {
2144
- return /* @__PURE__ */ g(De.Root, {
2146
+ function Xr({ className: e, ...t }) {
2147
+ return /* @__PURE__ */ v(De.Root, {
2145
2148
  "data-slot": "switch",
2146
- 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),
2147
2150
  ...t,
2148
- children: /* @__PURE__ */ g(De.Thumb, {
2151
+ children: /* @__PURE__ */ v(De.Thumb, {
2149
2152
  "data-slot": "switch-thumb",
2150
- 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)]")
2151
2154
  })
2152
2155
  });
2153
2156
  }
2154
2157
  //#endregion
2155
2158
  //#region src/components/ui/table.tsx
2156
- function qr({ className: e, noWrapper: t, ...n }) {
2157
- let r = /* @__PURE__ */ g("table", {
2159
+ function Zr({ className: e, noWrapper: t, ...n }) {
2160
+ let r = /* @__PURE__ */ v("table", {
2158
2161
  "data-slot": "table",
2159
- className: N("w-full caption-bottom text-sm", e),
2162
+ className: F("w-full caption-bottom text-sm", e),
2160
2163
  ...n
2161
2164
  });
2162
- return t ? r : /* @__PURE__ */ g("div", {
2165
+ return t ? r : /* @__PURE__ */ v("div", {
2163
2166
  "data-slot": "table-container",
2164
2167
  className: "relative w-full overflow-x-auto",
2165
2168
  children: r
2166
2169
  });
2167
2170
  }
2168
- function Jr({ className: e, ...t }) {
2169
- return /* @__PURE__ */ g("thead", {
2171
+ function Qr({ className: e, ...t }) {
2172
+ return /* @__PURE__ */ v("thead", {
2170
2173
  "data-slot": "table-header",
2171
- className: N("[&_tr]:border-b", e),
2174
+ className: F("[&_tr]:border-b", e),
2172
2175
  ...t
2173
2176
  });
2174
2177
  }
2175
- function Yr({ className: e, ...t }) {
2176
- return /* @__PURE__ */ g("tbody", {
2178
+ function $r({ className: e, ...t }) {
2179
+ return /* @__PURE__ */ v("tbody", {
2177
2180
  "data-slot": "table-body",
2178
- className: N("[&_tr:last-child]:border-0", e),
2181
+ className: F("[&_tr:last-child]:border-0", e),
2179
2182
  ...t
2180
2183
  });
2181
2184
  }
2182
- function Xr({ className: e, ...t }) {
2183
- return /* @__PURE__ */ g("tfoot", {
2185
+ function ei({ className: e, ...t }) {
2186
+ return /* @__PURE__ */ v("tfoot", {
2184
2187
  "data-slot": "table-footer",
2185
- 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),
2186
2189
  ...t
2187
2190
  });
2188
2191
  }
2189
- function Zr({ className: e, ...t }) {
2190
- return /* @__PURE__ */ g("tr", {
2192
+ function ti({ className: e, ...t }) {
2193
+ return /* @__PURE__ */ v("tr", {
2191
2194
  "data-slot": "table-row",
2192
- 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),
2193
2196
  ...t
2194
2197
  });
2195
2198
  }
2196
- function Qr({ className: e, ...t }) {
2197
- return /* @__PURE__ */ g("th", {
2199
+ function ni({ className: e, ...t }) {
2200
+ return /* @__PURE__ */ v("th", {
2198
2201
  "data-slot": "table-head",
2199
- 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),
2200
2203
  ...t
2201
2204
  });
2202
2205
  }
2203
- function $r({ className: e, ...t }) {
2204
- return /* @__PURE__ */ g("td", {
2206
+ function ri({ className: e, ...t }) {
2207
+ return /* @__PURE__ */ v("td", {
2205
2208
  "data-slot": "table-cell",
2206
- 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),
2207
2210
  ...t
2208
2211
  });
2209
2212
  }
2210
- function ei({ className: e, ...t }) {
2211
- return /* @__PURE__ */ g("caption", {
2213
+ function ii({ className: e, ...t }) {
2214
+ return /* @__PURE__ */ v("caption", {
2212
2215
  "data-slot": "table-caption",
2213
- className: N("text-muted-foreground mt-4 text-sm", e),
2216
+ className: F("text-muted-foreground mt-4 text-sm", e),
2214
2217
  ...t
2215
2218
  });
2216
2219
  }
2217
2220
  //#endregion
2218
2221
  //#region src/components/ui/tabs.tsx
2219
- function ti({ className: e, ...t }) {
2220
- return /* @__PURE__ */ g(M.Root, {
2222
+ function ai({ className: e, ...t }) {
2223
+ return /* @__PURE__ */ v(P.Root, {
2221
2224
  "data-slot": "tabs",
2222
- className: N("flex flex-col gap-2", e),
2225
+ className: F("flex flex-col gap-2", e),
2223
2226
  ...t
2224
2227
  });
2225
2228
  }
2226
- function ni({ className: e, ...t }) {
2227
- return /* @__PURE__ */ g(M.List, {
2229
+ function oi({ className: e, ...t }) {
2230
+ return /* @__PURE__ */ v(P.List, {
2228
2231
  "data-slot": "tabs-list",
2229
- 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),
2230
2233
  ...t
2231
2234
  });
2232
2235
  }
2233
- function ri({ className: e, ...t }) {
2234
- return /* @__PURE__ */ g(M.Trigger, {
2236
+ function si({ className: e, ...t }) {
2237
+ return /* @__PURE__ */ v(P.Trigger, {
2235
2238
  "data-slot": "tabs-trigger",
2236
- 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),
2237
2240
  ...t
2238
2241
  });
2239
2242
  }
2240
- function ii({ className: e, ...t }) {
2241
- return /* @__PURE__ */ g(M.Content, {
2243
+ function ci({ className: e, ...t }) {
2244
+ return /* @__PURE__ */ v(P.Content, {
2242
2245
  "data-slot": "tabs-content",
2243
- className: N("flex-1 outline-none", e),
2246
+ className: F("flex-1 outline-none", e),
2244
2247
  ...t
2245
2248
  });
2246
2249
  }
2247
2250
  //#endregion
2248
2251
  //#region src/components/ui/textarea.tsx
2249
- function ai({ className: e, ...t }) {
2250
- return /* @__PURE__ */ g("textarea", {
2252
+ function li({ className: e, ...t }) {
2253
+ return /* @__PURE__ */ v("textarea", {
2251
2254
  "data-slot": "textarea",
2252
- 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),
2253
2256
  ...t
2254
2257
  });
2255
2258
  }
2256
2259
  //#endregion
2257
- 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 };
2258
2275
 
2259
2276
  //# sourceMappingURL=index.js.map