@sigtes/ui 0.2.10 → 0.2.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,35 +1,35 @@
1
1
  "use client";
2
- import { j as r, c as s, B as j, b as be, x as _e, _ as it } from "./providers.es-DkWBRd2l.js";
3
- import { useSortable as Te, SortableContext as dt, verticalListSortingStrategy as lt, arrayMove as ct } from "@dnd-kit/sortable";
4
- import { CSS as ut } from "@dnd-kit/utilities";
5
- import { flexRender as ze, useReactTable as mt, getFacetedUniqueValues as ft, getFacetedRowModel as gt, getSortedRowModel as ht, getPaginationRowModel as xt, getFilteredRowModel as pt, getCoreRowModel as bt } from "@tanstack/react-table";
2
+ import { j as r, c as s, B as j, b as be, x as _e } from "./providers.es-DkWBRd2l.js";
3
+ import { useSortable as Te, SortableContext as it, verticalListSortingStrategy as dt, arrayMove as lt } from "@dnd-kit/sortable";
4
+ import { CSS as ct } from "@dnd-kit/utilities";
5
+ import { flexRender as ze, useReactTable as ut, getFacetedUniqueValues as mt, getFacetedRowModel as ft, getSortedRowModel as gt, getPaginationRowModel as ht, getFilteredRowModel as xt, getCoreRowModel as pt } from "@tanstack/react-table";
6
6
  import * as N from "react";
7
- import { useState as S, useId as vt, useMemo as wt, useEffect as A, useRef as yt } from "react";
8
- import { useSensors as jt, useSensor as ne, MouseSensor as Nt, TouchSensor as Ct, KeyboardSensor as kt, DndContext as St, closestCenter as Dt } from "@dnd-kit/core";
9
- import { CheckIcon as ue, CircleIcon as Mt, ChevronRightIcon as Fe, ChevronDownIcon as me, ChevronUpIcon as Pt, Search as _t, FilterIcon as Tt, ChevronLeftIcon as zt, Calendar as Ie, XIcon as Ft, SearchIcon as It, ChevronsUpDown as Ot, Check as Oe, PlusCircle as Wt } from "lucide-react";
7
+ import { useState as S, useId as bt, useMemo as vt, useEffect as A, useRef as wt } from "react";
8
+ import { useSensors as yt, useSensor as ne, MouseSensor as jt, TouchSensor as Nt, KeyboardSensor as Ct, DndContext as kt, closestCenter as St } from "@dnd-kit/core";
9
+ import { CheckIcon as ue, CircleIcon as Dt, ChevronRightIcon as Fe, ChevronDownIcon as me, ChevronUpIcon as Mt, Search as Pt, FilterIcon as _t, ChevronLeftIcon as Tt, Calendar as Ie, XIcon as zt, SearchIcon as Ft, ChevronsUpDown as It, Check as Oe, PlusCircle as Ot } from "lucide-react";
10
10
  import { Slot as We } from "@radix-ui/react-slot";
11
- import { cva as Yt } from "class-variance-authority";
11
+ import { cva as Wt } from "class-variance-authority";
12
12
  import "tailwind-merge";
13
13
  import * as v from "@radix-ui/react-dropdown-menu";
14
- import { IconDotsVertical as Rt, IconChevronDown as ve, IconLayoutColumns as Et, IconChevronsLeft as Lt, IconChevronLeft as Vt, IconChevronRight as qt, IconChevronsRight as Ht, IconGripVertical as Gt } from "@tabler/icons-react";
14
+ import { IconDotsVertical as Yt, IconChevronDown as ve, IconLayoutColumns as Rt, IconChevronsLeft as Et, IconChevronLeft as Lt, IconChevronRight as Vt, IconChevronsRight as qt, IconGripVertical as Ht } from "@tabler/icons-react";
15
15
  import * as y from "@radix-ui/react-select";
16
- import { restrictToVerticalAxis as $t } from "@dnd-kit/modifiers";
17
- import * as At from "@radix-ui/react-label";
18
- import { getDefaultClassNames as Ye, DayPicker as Bt, TZDate as q } from "react-day-picker";
19
- import { TZDate as so } from "react-day-picker";
16
+ import { restrictToVerticalAxis as Gt } from "@dnd-kit/modifiers";
17
+ import * as $t from "@radix-ui/react-label";
18
+ import { getDefaultClassNames as Ye, DayPicker as At, TZDate as q } from "react-day-picker";
19
+ import { TZDate as oo } from "react-day-picker";
20
20
  import * as Q from "@radix-ui/react-popover";
21
21
  import * as we from "@radix-ui/react-checkbox";
22
22
  import * as fe from "@radix-ui/react-collapsible";
23
23
  import * as D from "@radix-ui/react-dialog";
24
24
  import { Command as T } from "cmdk";
25
- import * as Qt from "@radix-ui/react-separator";
26
- import { FormProvider as Xt, Controller as Ut, useFormContext as Jt, useFormState as Kt } from "react-hook-form";
27
- import { useTheme as Zt } from "next-themes";
28
- import { Toaster as en } from "sonner";
29
- import { toast as lo } from "sonner";
25
+ import * as Bt from "@radix-ui/react-separator";
26
+ import { FormProvider as Qt, Controller as Xt, useFormContext as Ut, useFormState as Jt } from "react-hook-form";
27
+ import { useTheme as Kt } from "next-themes";
28
+ import { Toaster as Zt } from "sonner";
29
+ import { toast as io } from "sonner";
30
30
  import * as X from "@radix-ui/react-tabs";
31
31
  import * as ge from "recharts";
32
- function tn({
32
+ function en({
33
33
  row: e,
34
34
  onRowClick: t = () => {
35
35
  }
@@ -44,7 +44,7 @@ function tn({
44
44
  "data-dragging": i,
45
45
  ref: o,
46
46
  style: {
47
- transform: ut.Transform.toString(n),
47
+ transform: ct.Transform.toString(n),
48
48
  transition: a,
49
49
  cursor: "grab"
50
50
  },
@@ -60,7 +60,7 @@ function ye({
60
60
  }) {
61
61
  return /* @__PURE__ */ r.jsx(v.Root, { "data-slot": "dropdown-menu", ...e });
62
62
  }
63
- function ta({
63
+ function ea({
64
64
  ...e
65
65
  }) {
66
66
  return /* @__PURE__ */ r.jsx(v.Portal, { "data-slot": "dropdown-menu-portal", ...e });
@@ -94,12 +94,12 @@ function je({
94
94
  }
95
95
  ) });
96
96
  }
97
- function na({
97
+ function ta({
98
98
  ...e
99
99
  }) {
100
100
  return /* @__PURE__ */ r.jsx(v.Group, { "data-slot": "dropdown-menu-group", ...e });
101
101
  }
102
- function ra({
102
+ function na({
103
103
  className: e,
104
104
  inset: t,
105
105
  variant: n = "default",
@@ -119,7 +119,7 @@ function ra({
119
119
  }
120
120
  );
121
121
  }
122
- function nn({
122
+ function tn({
123
123
  className: e,
124
124
  children: t,
125
125
  checked: n,
@@ -142,7 +142,7 @@ function nn({
142
142
  }
143
143
  );
144
144
  }
145
- function rn({
145
+ function nn({
146
146
  ...e
147
147
  }) {
148
148
  return /* @__PURE__ */ r.jsx(
@@ -153,7 +153,7 @@ function rn({
153
153
  }
154
154
  );
155
155
  }
156
- function an({
156
+ function rn({
157
157
  className: e,
158
158
  children: t,
159
159
  ...n
@@ -168,13 +168,13 @@ function an({
168
168
  ),
169
169
  ...n,
170
170
  children: [
171
- /* @__PURE__ */ r.jsx("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ r.jsx(v.ItemIndicator, { children: /* @__PURE__ */ r.jsx(Mt, { className: "size-2 fill-current" }) }) }),
171
+ /* @__PURE__ */ r.jsx("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ r.jsx(v.ItemIndicator, { children: /* @__PURE__ */ r.jsx(Dt, { className: "size-2 fill-current" }) }) }),
172
172
  t
173
173
  ]
174
174
  }
175
175
  );
176
176
  }
177
- function aa({
177
+ function ra({
178
178
  className: e,
179
179
  inset: t,
180
180
  ...n
@@ -192,7 +192,7 @@ function aa({
192
192
  }
193
193
  );
194
194
  }
195
- function oa({
195
+ function aa({
196
196
  className: e,
197
197
  ...t
198
198
  }) {
@@ -205,7 +205,7 @@ function oa({
205
205
  }
206
206
  );
207
207
  }
208
- function sa({
208
+ function oa({
209
209
  className: e,
210
210
  ...t
211
211
  }) {
@@ -221,12 +221,12 @@ function sa({
221
221
  }
222
222
  );
223
223
  }
224
- function ia({
224
+ function sa({
225
225
  ...e
226
226
  }) {
227
227
  return /* @__PURE__ */ r.jsx(v.Sub, { "data-slot": "dropdown-menu-sub", ...e });
228
228
  }
229
- function da({
229
+ function ia({
230
230
  className: e,
231
231
  inset: t,
232
232
  children: n,
@@ -249,7 +249,7 @@ function da({
249
249
  }
250
250
  );
251
251
  }
252
- function la({
252
+ function da({
253
253
  className: e,
254
254
  ...t
255
255
  }) {
@@ -265,7 +265,7 @@ function la({
265
265
  }
266
266
  );
267
267
  }
268
- function ca() {
268
+ function la() {
269
269
  return /* @__PURE__ */ r.jsx(oe, { asChild: !0, children: /* @__PURE__ */ r.jsxs(
270
270
  j,
271
271
  {
@@ -273,13 +273,13 @@ function ca() {
273
273
  className: "data-[state=open]:bg-muted text-muted-foreground flex size-8 p-0",
274
274
  size: "icon",
275
275
  children: [
276
- /* @__PURE__ */ r.jsx(Rt, { className: "size-4" }),
276
+ /* @__PURE__ */ r.jsx(Yt, { className: "size-4" }),
277
277
  /* @__PURE__ */ r.jsx("span", { className: "sr-only", children: "Abrir Menu" })
278
278
  ]
279
279
  }
280
280
  ) });
281
281
  }
282
- function on({ className: e, type: t, ...n }) {
282
+ function an({ className: e, type: t, ...n }) {
283
283
  return /* @__PURE__ */ r.jsx(
284
284
  "input",
285
285
  {
@@ -295,22 +295,22 @@ function on({ className: e, type: t, ...n }) {
295
295
  }
296
296
  );
297
297
  }
298
- function sn({
298
+ function on({
299
299
  ...e
300
300
  }) {
301
301
  return /* @__PURE__ */ r.jsx(y.Root, { "data-slot": "select", ...e });
302
302
  }
303
- function ua({
303
+ function ca({
304
304
  ...e
305
305
  }) {
306
306
  return /* @__PURE__ */ r.jsx(y.Group, { "data-slot": "select-group", ...e });
307
307
  }
308
- function dn({
308
+ function sn({
309
309
  ...e
310
310
  }) {
311
311
  return /* @__PURE__ */ r.jsx(y.Value, { "data-slot": "select-value", ...e });
312
312
  }
313
- function ln({
313
+ function dn({
314
314
  className: e,
315
315
  size: t = "default",
316
316
  children: n,
@@ -333,7 +333,7 @@ function ln({
333
333
  }
334
334
  );
335
335
  }
336
- function cn({
336
+ function ln({
337
337
  className: e,
338
338
  children: t,
339
339
  position: n = "popper",
@@ -351,7 +351,7 @@ function cn({
351
351
  position: n,
352
352
  ...a,
353
353
  children: [
354
- /* @__PURE__ */ r.jsx(mn, {}),
354
+ /* @__PURE__ */ r.jsx(un, {}),
355
355
  /* @__PURE__ */ r.jsx(
356
356
  y.Viewport,
357
357
  {
@@ -362,12 +362,12 @@ function cn({
362
362
  children: t
363
363
  }
364
364
  ),
365
- /* @__PURE__ */ r.jsx(fn, {})
365
+ /* @__PURE__ */ r.jsx(mn, {})
366
366
  ]
367
367
  }
368
368
  ) });
369
369
  }
370
- function ma({
370
+ function ua({
371
371
  className: e,
372
372
  ...t
373
373
  }) {
@@ -380,7 +380,7 @@ function ma({
380
380
  }
381
381
  );
382
382
  }
383
- function un({
383
+ function cn({
384
384
  className: e,
385
385
  children: t,
386
386
  ...n
@@ -401,7 +401,7 @@ function un({
401
401
  }
402
402
  );
403
403
  }
404
- function fa({
404
+ function ma({
405
405
  className: e,
406
406
  ...t
407
407
  }) {
@@ -414,7 +414,7 @@ function fa({
414
414
  }
415
415
  );
416
416
  }
417
- function mn({
417
+ function un({
418
418
  className: e,
419
419
  ...t
420
420
  }) {
@@ -427,11 +427,11 @@ function mn({
427
427
  e
428
428
  ),
429
429
  ...t,
430
- children: /* @__PURE__ */ r.jsx(Pt, { className: "size-4" })
430
+ children: /* @__PURE__ */ r.jsx(Mt, { className: "size-4" })
431
431
  }
432
432
  );
433
433
  }
434
- function fn({
434
+ function mn({
435
435
  className: e,
436
436
  ...t
437
437
  }) {
@@ -453,7 +453,7 @@ function Re({
453
453
  ...t
454
454
  }) {
455
455
  return /* @__PURE__ */ r.jsx(
456
- At.Root,
456
+ $t.Root,
457
457
  {
458
458
  "data-slot": "label",
459
459
  className: s(
@@ -464,7 +464,7 @@ function Re({
464
464
  }
465
465
  );
466
466
  }
467
- function ga({
467
+ function fa({
468
468
  data: e,
469
469
  columns: t,
470
470
  getRowId: n,
@@ -487,11 +487,11 @@ function ga({
487
487
  pageSize: Number(
488
488
  typeof window < "u" && localStorage.getItem(d)
489
489
  ) || 10
490
- }), G = vt(), F = jt(
490
+ }), G = bt(), F = yt(
491
+ ne(jt, {}),
491
492
  ne(Nt, {}),
492
- ne(Ct, {}),
493
- ne(kt, {})
494
- ), p = wt(
493
+ ne(Ct, {})
494
+ ), p = vt(
495
495
  () => e?.map(({ id: c }) => c) || [],
496
496
  [e]
497
497
  ), [W, I] = S(e), [k, $] = S({}), [Ke, xe] = S([]), [Ze, et] = S([]);
@@ -519,11 +519,11 @@ function ga({
519
519
  function nt(c) {
520
520
  const { active: b, over: R } = c;
521
521
  b && R && b.id !== R.id && I((E) => {
522
- const ot = E.findIndex((te) => te.id === b.id), st = E.findIndex((te) => te.id === R.id), pe = ct(E, ot, st);
522
+ const ot = E.findIndex((te) => te.id === b.id), st = E.findIndex((te) => te.id === R.id), pe = lt(E, ot, st);
523
523
  return a && a(pe), pe;
524
524
  });
525
525
  }
526
- const x = mt({
526
+ const x = ut({
527
527
  data: W,
528
528
  columns: tt({ columns: t }),
529
529
  state: {
@@ -540,12 +540,12 @@ function ga({
540
540
  onColumnFiltersChange: xe,
541
541
  onColumnVisibilityChange: g,
542
542
  onPaginationChange: z,
543
- getCoreRowModel: bt(),
544
- getFilteredRowModel: pt(),
545
- getPaginationRowModel: xt(),
546
- getSortedRowModel: ht(),
547
- getFacetedRowModel: gt(),
548
- getFacetedUniqueValues: ft()
543
+ getCoreRowModel: pt(),
544
+ getFilteredRowModel: xt(),
545
+ getPaginationRowModel: ht(),
546
+ getSortedRowModel: gt(),
547
+ getFacetedRowModel: ft(),
548
+ getFacetedUniqueValues: mt()
549
549
  });
550
550
  function rt() {
551
551
  const c = x.getAllColumns()[1].columnDef;
@@ -557,9 +557,9 @@ function ga({
557
557
  return /* @__PURE__ */ r.jsxs("div", { children: [
558
558
  /* @__PURE__ */ r.jsxs("div", { className: "flex items-center justify-between px-4 lg:px-6 mb-5 gap-2", children: [
559
559
  /* @__PURE__ */ r.jsxs("div", { className: "relative w-full h-[32px]", children: [
560
- /* @__PURE__ */ r.jsx(_t, { className: "absolute left-3 top-1/2 w-4 -translate-y-1/2 text-muted-foreground" }),
560
+ /* @__PURE__ */ r.jsx(Pt, { className: "absolute left-3 top-1/2 w-4 -translate-y-1/2 text-muted-foreground" }),
561
561
  /* @__PURE__ */ r.jsx(
562
- on,
562
+ an,
563
563
  {
564
564
  type: "text",
565
565
  placeholder: "",
@@ -574,13 +574,13 @@ function ga({
574
574
  /* @__PURE__ */ r.jsxs("div", { className: "flex items-center gap-2", children: [
575
575
  /* @__PURE__ */ r.jsxs(ye, { children: [
576
576
  /* @__PURE__ */ r.jsx(oe, { asChild: !0, children: /* @__PURE__ */ r.jsxs(j, { variant: "outline", size: "sm", children: [
577
- /* @__PURE__ */ r.jsx(Tt, {}),
577
+ /* @__PURE__ */ r.jsx(_t, {}),
578
578
  /* @__PURE__ */ r.jsx("span", { className: "sm:hidden lg:inline", children: Y || "Filtro" }),
579
579
  /* @__PURE__ */ r.jsx("span", { className: "lg:hidden", children: Y || "Filtro" }),
580
580
  /* @__PURE__ */ r.jsx(ve, {})
581
581
  ] }) }),
582
582
  /* @__PURE__ */ r.jsx(je, { align: "end", className: "w-56", children: /* @__PURE__ */ r.jsx(
583
- rn,
583
+ nn,
584
584
  {
585
585
  value: Y,
586
586
  onValueChange: (c) => {
@@ -590,14 +590,14 @@ function ga({
590
590
  (c) => typeof c.accessorFn < "u" && c.getCanHide()
591
591
  ).map((c) => {
592
592
  const b = c.columnDef.id ? String(c.columnDef.id) : String(c.columnDef.header);
593
- return /* @__PURE__ */ r.jsx(an, { value: b, children: b }, b);
593
+ return /* @__PURE__ */ r.jsx(rn, { value: b, children: b }, b);
594
594
  })
595
595
  }
596
596
  ) })
597
597
  ] }),
598
598
  /* @__PURE__ */ r.jsxs(ye, { children: [
599
599
  /* @__PURE__ */ r.jsx(oe, { asChild: !0, children: /* @__PURE__ */ r.jsxs(j, { variant: "outline", size: "sm", children: [
600
- /* @__PURE__ */ r.jsx(Et, {}),
600
+ /* @__PURE__ */ r.jsx(Rt, {}),
601
601
  /* @__PURE__ */ r.jsx("span", { className: "hidden lg:inline", children: "Colunas" }),
602
602
  /* @__PURE__ */ r.jsx("span", { className: "lg:hidden", children: "Colunas" }),
603
603
  /* @__PURE__ */ r.jsx(ve, {})
@@ -605,7 +605,7 @@ function ga({
605
605
  /* @__PURE__ */ r.jsx(je, { align: "end", className: "w-56", children: x.getAllColumns().filter(
606
606
  (c) => typeof c.accessorFn < "u" && c.getCanHide()
607
607
  ).map((c) => /* @__PURE__ */ r.jsx(
608
- nn,
608
+ tn,
609
609
  {
610
610
  className: "capitalize",
611
611
  checked: c.getIsVisible(),
@@ -622,25 +622,25 @@ function ga({
622
622
  ] }),
623
623
  /* @__PURE__ */ r.jsxs("div", { className: "relative flex flex-col gap-4 overflow-auto px-4 lg:px-6", children: [
624
624
  /* @__PURE__ */ r.jsx("div", { className: "overflow-hidden rounded-lg border", children: /* @__PURE__ */ r.jsx(
625
- St,
625
+ kt,
626
626
  {
627
- collisionDetection: Dt,
628
- modifiers: [$t],
627
+ collisionDetection: St,
628
+ modifiers: [Gt],
629
629
  onDragEnd: nt,
630
630
  sensors: F,
631
631
  id: G,
632
- children: /* @__PURE__ */ r.jsxs(gn, { children: [
633
- /* @__PURE__ */ r.jsx(hn, { className: "sticky top-0 z-10", children: x.getHeaderGroups().map((c) => /* @__PURE__ */ r.jsx(se, { children: c.headers.map((b) => /* @__PURE__ */ r.jsx(pn, { colSpan: b.colSpan, children: b.isPlaceholder ? null : ze(
632
+ children: /* @__PURE__ */ r.jsxs(fn, { children: [
633
+ /* @__PURE__ */ r.jsx(gn, { className: "sticky top-0 z-10", children: x.getHeaderGroups().map((c) => /* @__PURE__ */ r.jsx(se, { children: c.headers.map((b) => /* @__PURE__ */ r.jsx(xn, { colSpan: b.colSpan, children: b.isPlaceholder ? null : ze(
634
634
  b.column.columnDef.header,
635
635
  b.getContext()
636
636
  ) }, b.id)) }, c.id)) }),
637
637
  /* @__PURE__ */ r.jsx(
638
- dt,
638
+ it,
639
639
  {
640
640
  items: p,
641
- strategy: lt,
642
- children: /* @__PURE__ */ r.jsx(xn, { className: "**:data-[slot=table-cell]:first:w-8", children: x.getRowModel().rows?.length ? x.getRowModel().rows.map((c) => /* @__PURE__ */ r.jsx(
643
- tn,
641
+ strategy: dt,
642
+ children: /* @__PURE__ */ r.jsx(hn, { className: "**:data-[slot=table-cell]:first:w-8", children: x.getRowModel().rows?.length ? x.getRowModel().rows.map((c) => /* @__PURE__ */ r.jsx(
643
+ en,
644
644
  {
645
645
  row: c,
646
646
  onRowClick: o
@@ -671,20 +671,20 @@ function ga({
671
671
  /* @__PURE__ */ r.jsxs("div", { className: "hidden items-center gap-2 lg:flex", children: [
672
672
  /* @__PURE__ */ r.jsx(Re, { htmlFor: "rows-per-page", className: "text-sm font-medium", children: "linhas por paginas" }),
673
673
  /* @__PURE__ */ r.jsxs(
674
- sn,
674
+ on,
675
675
  {
676
676
  value: `${x.getState().pagination.pageSize}`,
677
677
  onValueChange: (c) => {
678
678
  x.setPageSize(Number(c));
679
679
  },
680
680
  children: [
681
- /* @__PURE__ */ r.jsx(ln, { size: "sm", className: "w-20", id: "rows-per-page", children: /* @__PURE__ */ r.jsx(
682
- dn,
681
+ /* @__PURE__ */ r.jsx(dn, { size: "sm", className: "w-20", id: "rows-per-page", children: /* @__PURE__ */ r.jsx(
682
+ sn,
683
683
  {
684
684
  placeholder: x.getState().pagination.pageSize
685
685
  }
686
686
  ) }),
687
- /* @__PURE__ */ r.jsx(cn, { side: "top", children: [10, 20, 30, 40, 50].map((c) => /* @__PURE__ */ r.jsx(un, { value: `${c}`, children: c }, c)) })
687
+ /* @__PURE__ */ r.jsx(ln, { side: "top", children: [10, 20, 30, 40, 50].map((c) => /* @__PURE__ */ r.jsx(cn, { value: `${c}`, children: c }, c)) })
688
688
  ]
689
689
  }
690
690
  )
@@ -706,7 +706,7 @@ function ga({
706
706
  disabled: !x.getCanPreviousPage(),
707
707
  children: [
708
708
  /* @__PURE__ */ r.jsx("span", { className: "sr-only", children: "Go to first page" }),
709
- /* @__PURE__ */ r.jsx(Lt, {})
709
+ /* @__PURE__ */ r.jsx(Et, {})
710
710
  ]
711
711
  }
712
712
  ),
@@ -720,7 +720,7 @@ function ga({
720
720
  disabled: !x.getCanPreviousPage(),
721
721
  children: [
722
722
  /* @__PURE__ */ r.jsx("span", { className: "sr-only", children: "Go to previous page" }),
723
- /* @__PURE__ */ r.jsx(Vt, {})
723
+ /* @__PURE__ */ r.jsx(Lt, {})
724
724
  ]
725
725
  }
726
726
  ),
@@ -734,7 +734,7 @@ function ga({
734
734
  disabled: !x.getCanNextPage(),
735
735
  children: [
736
736
  /* @__PURE__ */ r.jsx("span", { className: "sr-only", children: "Go to next page" }),
737
- /* @__PURE__ */ r.jsx(qt, {})
737
+ /* @__PURE__ */ r.jsx(Vt, {})
738
738
  ]
739
739
  }
740
740
  ),
@@ -748,7 +748,7 @@ function ga({
748
748
  disabled: !x.getCanNextPage(),
749
749
  children: [
750
750
  /* @__PURE__ */ r.jsx("span", { className: "sr-only", children: "Go to last page" }),
751
- /* @__PURE__ */ r.jsx(Ht, {})
751
+ /* @__PURE__ */ r.jsx(qt, {})
752
752
  ]
753
753
  }
754
754
  )
@@ -758,7 +758,7 @@ function ga({
758
758
  ] })
759
759
  ] });
760
760
  }
761
- function ha({ id: e }) {
761
+ function ga({ id: e }) {
762
762
  const { attributes: t, listeners: n } = Te({
763
763
  id: e
764
764
  });
@@ -771,13 +771,13 @@ function ha({ id: e }) {
771
771
  size: "icon",
772
772
  className: "text-muted-foreground size-7 hover:bg-transparent cursor-pointer",
773
773
  children: [
774
- /* @__PURE__ */ r.jsx(Gt, { className: "text-muted-foreground size-3" }),
774
+ /* @__PURE__ */ r.jsx(Ht, { className: "text-muted-foreground size-3" }),
775
775
  /* @__PURE__ */ r.jsx("span", { className: "sr-only", children: "Drag to reorder" })
776
776
  ]
777
777
  }
778
778
  );
779
779
  }
780
- function gn({ className: e, ...t }) {
780
+ function fn({ className: e, ...t }) {
781
781
  return /* @__PURE__ */ r.jsx(
782
782
  "div",
783
783
  {
@@ -794,7 +794,7 @@ function gn({ className: e, ...t }) {
794
794
  }
795
795
  );
796
796
  }
797
- function hn({
797
+ function gn({
798
798
  className: e,
799
799
  ...t
800
800
  }) {
@@ -807,7 +807,7 @@ function hn({
807
807
  }
808
808
  );
809
809
  }
810
- function xn({
810
+ function hn({
811
811
  className: e,
812
812
  ...t
813
813
  }) {
@@ -820,7 +820,7 @@ function xn({
820
820
  }
821
821
  );
822
822
  }
823
- function xa({
823
+ function ha({
824
824
  className: e,
825
825
  ...t
826
826
  }) {
@@ -849,7 +849,7 @@ function se({ className: e, ...t }) {
849
849
  }
850
850
  );
851
851
  }
852
- function pn({ className: e, ...t }) {
852
+ function xn({ className: e, ...t }) {
853
853
  return /* @__PURE__ */ r.jsx(
854
854
  "th",
855
855
  {
@@ -875,7 +875,7 @@ function Ee({ className: e, ...t }) {
875
875
  }
876
876
  );
877
877
  }
878
- function pa({
878
+ function xa({
879
879
  className: e,
880
880
  ...t
881
881
  }) {
@@ -900,7 +900,7 @@ function Le({
900
900
  }) {
901
901
  const d = Ye();
902
902
  return /* @__PURE__ */ r.jsx(
903
- Bt,
903
+ At,
904
904
  {
905
905
  showOutsideDays: n,
906
906
  className: s(
@@ -1006,14 +1006,14 @@ function Le({
1006
1006
  ...g
1007
1007
  }
1008
1008
  ),
1009
- Chevron: ({ className: m, orientation: f, ...g }) => f === "left" ? /* @__PURE__ */ r.jsx(zt, { className: s("size-4", m), ...g }) : f === "right" ? /* @__PURE__ */ r.jsx(
1009
+ Chevron: ({ className: m, orientation: f, ...g }) => f === "left" ? /* @__PURE__ */ r.jsx(Tt, { className: s("size-4", m), ...g }) : f === "right" ? /* @__PURE__ */ r.jsx(
1010
1010
  Fe,
1011
1011
  {
1012
1012
  className: s("size-4", m),
1013
1013
  ...g
1014
1014
  }
1015
1015
  ) : /* @__PURE__ */ r.jsx(me, { className: s("size-4", m), ...g }),
1016
- DayButton: bn,
1016
+ DayButton: pn,
1017
1017
  WeekNumber: ({ children: m, ...f }) => /* @__PURE__ */ r.jsx("td", { ...f, children: /* @__PURE__ */ r.jsx("div", { className: "flex size-(--cell-size) items-center justify-center text-center", children: m }) }),
1018
1018
  ...l
1019
1019
  },
@@ -1021,13 +1021,13 @@ function Le({
1021
1021
  }
1022
1022
  );
1023
1023
  }
1024
- function bn({
1024
+ function pn({
1025
1025
  className: e,
1026
1026
  day: t,
1027
1027
  modifiers: n,
1028
1028
  ...a
1029
1029
  }) {
1030
- const o = Ye(), i = yt(null);
1030
+ const o = Ye(), i = wt(null);
1031
1031
  return A(() => {
1032
1032
  n.focused && i.current?.focus();
1033
1033
  }, [n.focused]), /* @__PURE__ */ r.jsx(
@@ -1050,16 +1050,16 @@ function bn({
1050
1050
  }
1051
1051
  );
1052
1052
  }
1053
- const Ve = 6048e5, vn = 864e5, Ne = Symbol.for("constructDateFrom");
1053
+ const Ve = 6048e5, bn = 864e5, Ne = Symbol.for("constructDateFrom");
1054
1054
  function P(e, t) {
1055
1055
  return typeof e == "function" ? e(t) : e && typeof e == "object" && Ne in e ? e[Ne](t) : e instanceof Date ? new e.constructor(t) : new Date(t);
1056
1056
  }
1057
1057
  function C(e, t) {
1058
1058
  return P(t || e, e);
1059
1059
  }
1060
- let wn = {};
1060
+ let vn = {};
1061
1061
  function U() {
1062
- return wn;
1062
+ return vn;
1063
1063
  }
1064
1064
  function H(e, t) {
1065
1065
  const n = U(), a = t?.weekStartsOn ?? t?.locale?.options?.weekStartsOn ?? n.weekStartsOn ?? n.locale?.options?.weekStartsOn ?? 0, o = C(e, t?.in), i = o.getDay(), l = (i < a ? 7 : 0) + i - a;
@@ -1090,7 +1090,7 @@ function Ce(e) {
1090
1090
  );
1091
1091
  return n.setUTCFullYear(t.getFullYear()), +e - +n;
1092
1092
  }
1093
- function yn(e, ...t) {
1093
+ function wn(e, ...t) {
1094
1094
  const n = P.bind(
1095
1095
  null,
1096
1096
  t.find((a) => typeof a == "object")
@@ -1101,29 +1101,29 @@ function ke(e, t) {
1101
1101
  const n = C(e, t?.in);
1102
1102
  return n.setHours(0, 0, 0, 0), n;
1103
1103
  }
1104
- function jn(e, t, n) {
1105
- const [a, o] = yn(
1104
+ function yn(e, t, n) {
1105
+ const [a, o] = wn(
1106
1106
  n?.in,
1107
1107
  e,
1108
1108
  t
1109
1109
  ), i = ke(a), l = ke(o), u = +i - Ce(i), d = +l - Ce(l);
1110
- return Math.round((u - d) / vn);
1110
+ return Math.round((u - d) / bn);
1111
1111
  }
1112
- function Nn(e, t) {
1112
+ function jn(e, t) {
1113
1113
  const n = qe(e, t), a = P(e, 0);
1114
1114
  return a.setFullYear(n, 0, 4), a.setHours(0, 0, 0, 0), B(a);
1115
1115
  }
1116
- function Cn(e) {
1116
+ function Nn(e) {
1117
1117
  return e instanceof Date || typeof e == "object" && Object.prototype.toString.call(e) === "[object Date]";
1118
1118
  }
1119
- function kn(e) {
1120
- return !(!Cn(e) && typeof e != "number" || isNaN(+C(e)));
1119
+ function Cn(e) {
1120
+ return !(!Nn(e) && typeof e != "number" || isNaN(+C(e)));
1121
1121
  }
1122
- function Sn(e, t) {
1122
+ function kn(e, t) {
1123
1123
  const n = C(e, t?.in);
1124
1124
  return n.setFullYear(n.getFullYear(), 0, 1), n.setHours(0, 0, 0, 0), n;
1125
1125
  }
1126
- const Dn = {
1126
+ const Sn = {
1127
1127
  lessThanXSeconds: {
1128
1128
  one: "less than a second",
1129
1129
  other: "less than {{count}} seconds"
@@ -1185,9 +1185,9 @@ const Dn = {
1185
1185
  one: "almost 1 year",
1186
1186
  other: "almost {{count}} years"
1187
1187
  }
1188
- }, Mn = (e, t, n) => {
1188
+ }, Dn = (e, t, n) => {
1189
1189
  let a;
1190
- const o = Dn[e];
1190
+ const o = Sn[e];
1191
1191
  return typeof o == "string" ? a = o : t === 1 ? a = o.one : a = o.other.replace("{{count}}", t.toString()), n?.addSuffix ? n.comparison && n.comparison > 0 ? "in " + a : a + " ago" : a;
1192
1192
  };
1193
1193
  function re(e) {
@@ -1196,42 +1196,42 @@ function re(e) {
1196
1196
  return e.formats[n] || e.formats[e.defaultWidth];
1197
1197
  };
1198
1198
  }
1199
- const Pn = {
1199
+ const Mn = {
1200
1200
  full: "EEEE, MMMM do, y",
1201
1201
  long: "MMMM do, y",
1202
1202
  medium: "MMM d, y",
1203
1203
  short: "MM/dd/yyyy"
1204
- }, _n = {
1204
+ }, Pn = {
1205
1205
  full: "h:mm:ss a zzzz",
1206
1206
  long: "h:mm:ss a z",
1207
1207
  medium: "h:mm:ss a",
1208
1208
  short: "h:mm a"
1209
- }, Tn = {
1209
+ }, _n = {
1210
1210
  full: "{{date}} 'at' {{time}}",
1211
1211
  long: "{{date}} 'at' {{time}}",
1212
1212
  medium: "{{date}}, {{time}}",
1213
1213
  short: "{{date}}, {{time}}"
1214
- }, zn = {
1214
+ }, Tn = {
1215
1215
  date: re({
1216
- formats: Pn,
1216
+ formats: Mn,
1217
1217
  defaultWidth: "full"
1218
1218
  }),
1219
1219
  time: re({
1220
- formats: _n,
1220
+ formats: Pn,
1221
1221
  defaultWidth: "full"
1222
1222
  }),
1223
1223
  dateTime: re({
1224
- formats: Tn,
1224
+ formats: _n,
1225
1225
  defaultWidth: "full"
1226
1226
  })
1227
- }, Fn = {
1227
+ }, zn = {
1228
1228
  lastWeek: "'last' eeee 'at' p",
1229
1229
  yesterday: "'yesterday at' p",
1230
1230
  today: "'today at' p",
1231
1231
  tomorrow: "'tomorrow at' p",
1232
1232
  nextWeek: "eeee 'at' p",
1233
1233
  other: "P"
1234
- }, In = (e, t, n, a) => Fn[e];
1234
+ }, Fn = (e, t, n, a) => zn[e];
1235
1235
  function L(e) {
1236
1236
  return (t, n) => {
1237
1237
  const a = n?.context ? String(n.context) : "standalone";
@@ -1247,15 +1247,15 @@ function L(e) {
1247
1247
  return o[i];
1248
1248
  };
1249
1249
  }
1250
- const On = {
1250
+ const In = {
1251
1251
  narrow: ["B", "A"],
1252
1252
  abbreviated: ["BC", "AD"],
1253
1253
  wide: ["Before Christ", "Anno Domini"]
1254
- }, Wn = {
1254
+ }, On = {
1255
1255
  narrow: ["1", "2", "3", "4"],
1256
1256
  abbreviated: ["Q1", "Q2", "Q3", "Q4"],
1257
1257
  wide: ["1st quarter", "2nd quarter", "3rd quarter", "4th quarter"]
1258
- }, Yn = {
1258
+ }, Wn = {
1259
1259
  narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
1260
1260
  abbreviated: [
1261
1261
  "Jan",
@@ -1285,7 +1285,7 @@ const On = {
1285
1285
  "November",
1286
1286
  "December"
1287
1287
  ]
1288
- }, Rn = {
1288
+ }, Yn = {
1289
1289
  narrow: ["S", "M", "T", "W", "T", "F", "S"],
1290
1290
  short: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
1291
1291
  abbreviated: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
@@ -1298,7 +1298,7 @@ const On = {
1298
1298
  "Friday",
1299
1299
  "Saturday"
1300
1300
  ]
1301
- }, En = {
1301
+ }, Rn = {
1302
1302
  narrow: {
1303
1303
  am: "a",
1304
1304
  pm: "p",
@@ -1329,7 +1329,7 @@ const On = {
1329
1329
  evening: "evening",
1330
1330
  night: "night"
1331
1331
  }
1332
- }, Ln = {
1332
+ }, En = {
1333
1333
  narrow: {
1334
1334
  am: "a",
1335
1335
  pm: "p",
@@ -1360,7 +1360,7 @@ const On = {
1360
1360
  evening: "in the evening",
1361
1361
  night: "at night"
1362
1362
  }
1363
- }, Vn = (e, t) => {
1363
+ }, Ln = (e, t) => {
1364
1364
  const n = Number(e), a = n % 100;
1365
1365
  if (a > 20 || a < 10)
1366
1366
  switch (a % 10) {
@@ -1372,29 +1372,29 @@ const On = {
1372
1372
  return n + "rd";
1373
1373
  }
1374
1374
  return n + "th";
1375
- }, qn = {
1376
- ordinalNumber: Vn,
1375
+ }, Vn = {
1376
+ ordinalNumber: Ln,
1377
1377
  era: L({
1378
- values: On,
1378
+ values: In,
1379
1379
  defaultWidth: "wide"
1380
1380
  }),
1381
1381
  quarter: L({
1382
- values: Wn,
1382
+ values: On,
1383
1383
  defaultWidth: "wide",
1384
1384
  argumentCallback: (e) => e - 1
1385
1385
  }),
1386
1386
  month: L({
1387
- values: Yn,
1387
+ values: Wn,
1388
1388
  defaultWidth: "wide"
1389
1389
  }),
1390
1390
  day: L({
1391
- values: Rn,
1391
+ values: Yn,
1392
1392
  defaultWidth: "wide"
1393
1393
  }),
1394
1394
  dayPeriod: L({
1395
- values: En,
1395
+ values: Rn,
1396
1396
  defaultWidth: "wide",
1397
- formattingValues: Ln,
1397
+ formattingValues: En,
1398
1398
  defaultFormattingWidth: "wide"
1399
1399
  })
1400
1400
  };
@@ -1403,9 +1403,9 @@ function V(e) {
1403
1403
  const a = n.width, o = a && e.matchPatterns[a] || e.matchPatterns[e.defaultMatchWidth], i = t.match(o);
1404
1404
  if (!i)
1405
1405
  return null;
1406
- const l = i[0], u = a && e.parsePatterns[a] || e.parsePatterns[e.defaultParseWidth], d = Array.isArray(u) ? Gn(u, (g) => g.test(l)) : (
1406
+ const l = i[0], u = a && e.parsePatterns[a] || e.parsePatterns[e.defaultParseWidth], d = Array.isArray(u) ? Hn(u, (g) => g.test(l)) : (
1407
1407
  // [TODO] -- I challenge you to fix the type
1408
- Hn(u, (g) => g.test(l))
1408
+ qn(u, (g) => g.test(l))
1409
1409
  );
1410
1410
  let m;
1411
1411
  m = e.valueCallback ? e.valueCallback(d) : d, m = n.valueCallback ? (
@@ -1416,17 +1416,17 @@ function V(e) {
1416
1416
  return { value: m, rest: f };
1417
1417
  };
1418
1418
  }
1419
- function Hn(e, t) {
1419
+ function qn(e, t) {
1420
1420
  for (const n in e)
1421
1421
  if (Object.prototype.hasOwnProperty.call(e, n) && t(e[n]))
1422
1422
  return n;
1423
1423
  }
1424
- function Gn(e, t) {
1424
+ function Hn(e, t) {
1425
1425
  for (let n = 0; n < e.length; n++)
1426
1426
  if (t(e[n]))
1427
1427
  return n;
1428
1428
  }
1429
- function $n(e) {
1429
+ function Gn(e) {
1430
1430
  return (t, n = {}) => {
1431
1431
  const a = t.match(e.matchPattern);
1432
1432
  if (!a) return null;
@@ -1438,23 +1438,23 @@ function $n(e) {
1438
1438
  return { value: l, rest: u };
1439
1439
  };
1440
1440
  }
1441
- const An = /^(\d+)(th|st|nd|rd)?/i, Bn = /\d+/i, Qn = {
1441
+ const $n = /^(\d+)(th|st|nd|rd)?/i, An = /\d+/i, Bn = {
1442
1442
  narrow: /^(b|a)/i,
1443
1443
  abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
1444
1444
  wide: /^(before christ|before common era|anno domini|common era)/i
1445
- }, Xn = {
1445
+ }, Qn = {
1446
1446
  any: [/^b/i, /^(a|c)/i]
1447
- }, Un = {
1447
+ }, Xn = {
1448
1448
  narrow: /^[1234]/i,
1449
1449
  abbreviated: /^q[1234]/i,
1450
1450
  wide: /^[1234](th|st|nd|rd)? quarter/i
1451
- }, Jn = {
1451
+ }, Un = {
1452
1452
  any: [/1/i, /2/i, /3/i, /4/i]
1453
- }, Kn = {
1453
+ }, Jn = {
1454
1454
  narrow: /^[jfmasond]/i,
1455
1455
  abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,
1456
1456
  wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i
1457
- }, Zn = {
1457
+ }, Kn = {
1458
1458
  narrow: [
1459
1459
  /^j/i,
1460
1460
  /^f/i,
@@ -1483,18 +1483,18 @@ const An = /^(\d+)(th|st|nd|rd)?/i, Bn = /\d+/i, Qn = {
1483
1483
  /^n/i,
1484
1484
  /^d/i
1485
1485
  ]
1486
- }, er = {
1486
+ }, Zn = {
1487
1487
  narrow: /^[smtwf]/i,
1488
1488
  short: /^(su|mo|tu|we|th|fr|sa)/i,
1489
1489
  abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,
1490
1490
  wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i
1491
- }, tr = {
1491
+ }, er = {
1492
1492
  narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],
1493
1493
  any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]
1494
- }, nr = {
1494
+ }, tr = {
1495
1495
  narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,
1496
1496
  any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i
1497
- }, rr = {
1497
+ }, nr = {
1498
1498
  any: {
1499
1499
  am: /^a/i,
1500
1500
  pm: /^p/i,
@@ -1505,61 +1505,61 @@ const An = /^(\d+)(th|st|nd|rd)?/i, Bn = /\d+/i, Qn = {
1505
1505
  evening: /evening/i,
1506
1506
  night: /night/i
1507
1507
  }
1508
- }, ar = {
1509
- ordinalNumber: $n({
1510
- matchPattern: An,
1511
- parsePattern: Bn,
1508
+ }, rr = {
1509
+ ordinalNumber: Gn({
1510
+ matchPattern: $n,
1511
+ parsePattern: An,
1512
1512
  valueCallback: (e) => parseInt(e, 10)
1513
1513
  }),
1514
1514
  era: V({
1515
- matchPatterns: Qn,
1515
+ matchPatterns: Bn,
1516
1516
  defaultMatchWidth: "wide",
1517
- parsePatterns: Xn,
1517
+ parsePatterns: Qn,
1518
1518
  defaultParseWidth: "any"
1519
1519
  }),
1520
1520
  quarter: V({
1521
- matchPatterns: Un,
1521
+ matchPatterns: Xn,
1522
1522
  defaultMatchWidth: "wide",
1523
- parsePatterns: Jn,
1523
+ parsePatterns: Un,
1524
1524
  defaultParseWidth: "any",
1525
1525
  valueCallback: (e) => e + 1
1526
1526
  }),
1527
1527
  month: V({
1528
- matchPatterns: Kn,
1528
+ matchPatterns: Jn,
1529
1529
  defaultMatchWidth: "wide",
1530
- parsePatterns: Zn,
1530
+ parsePatterns: Kn,
1531
1531
  defaultParseWidth: "any"
1532
1532
  }),
1533
1533
  day: V({
1534
- matchPatterns: er,
1534
+ matchPatterns: Zn,
1535
1535
  defaultMatchWidth: "wide",
1536
- parsePatterns: tr,
1536
+ parsePatterns: er,
1537
1537
  defaultParseWidth: "any"
1538
1538
  }),
1539
1539
  dayPeriod: V({
1540
- matchPatterns: nr,
1540
+ matchPatterns: tr,
1541
1541
  defaultMatchWidth: "any",
1542
- parsePatterns: rr,
1542
+ parsePatterns: nr,
1543
1543
  defaultParseWidth: "any"
1544
1544
  })
1545
- }, or = {
1545
+ }, ar = {
1546
1546
  code: "en-US",
1547
- formatDistance: Mn,
1548
- formatLong: zn,
1549
- formatRelative: In,
1550
- localize: qn,
1551
- match: ar,
1547
+ formatDistance: Dn,
1548
+ formatLong: Tn,
1549
+ formatRelative: Fn,
1550
+ localize: Vn,
1551
+ match: rr,
1552
1552
  options: {
1553
1553
  weekStartsOn: 0,
1554
1554
  firstWeekContainsDate: 1
1555
1555
  }
1556
1556
  };
1557
- function sr(e, t) {
1557
+ function or(e, t) {
1558
1558
  const n = C(e, t?.in);
1559
- return jn(n, Sn(n)) + 1;
1559
+ return yn(n, kn(n)) + 1;
1560
1560
  }
1561
- function ir(e, t) {
1562
- const n = C(e, t?.in), a = +B(n) - +Nn(n);
1561
+ function sr(e, t) {
1562
+ const n = C(e, t?.in), a = +B(n) - +jn(n);
1563
1563
  return Math.round(a / Ve) + 1;
1564
1564
  }
1565
1565
  function He(e, t) {
@@ -1570,12 +1570,12 @@ function He(e, t) {
1570
1570
  const m = H(d, t);
1571
1571
  return +n >= +u ? a + 1 : +n >= +m ? a : a - 1;
1572
1572
  }
1573
- function dr(e, t) {
1573
+ function ir(e, t) {
1574
1574
  const n = U(), a = t?.firstWeekContainsDate ?? t?.locale?.options?.firstWeekContainsDate ?? n.firstWeekContainsDate ?? n.locale?.options?.firstWeekContainsDate ?? 1, o = He(e, t), i = P(t?.in || e, 0);
1575
1575
  return i.setFullYear(o, 0, a), i.setHours(0, 0, 0, 0), H(i, t);
1576
1576
  }
1577
- function lr(e, t) {
1578
- const n = C(e, t?.in), a = +H(n, t) - +dr(n, t);
1577
+ function dr(e, t) {
1578
+ const n = C(e, t?.in), a = +H(n, t) - +ir(n, t);
1579
1579
  return Math.round(a / Ve) + 1;
1580
1580
  }
1581
1581
  function h(e, t) {
@@ -1826,12 +1826,12 @@ const M = {
1826
1826
  },
1827
1827
  // Local week of year
1828
1828
  w: function(e, t, n, a) {
1829
- const o = lr(e, a);
1829
+ const o = dr(e, a);
1830
1830
  return t === "wo" ? n.ordinalNumber(o, { unit: "week" }) : h(o, t.length);
1831
1831
  },
1832
1832
  // ISO week of year
1833
1833
  I: function(e, t, n) {
1834
- const a = ir(e);
1834
+ const a = sr(e);
1835
1835
  return t === "Io" ? n.ordinalNumber(a, { unit: "week" }) : h(a, t.length);
1836
1836
  },
1837
1837
  // Day of the month
@@ -1840,7 +1840,7 @@ const M = {
1840
1840
  },
1841
1841
  // Day of year
1842
1842
  D: function(e, t, n) {
1843
- const a = sr(e);
1843
+ const a = or(e);
1844
1844
  return t === "Do" ? n.ordinalNumber(a, { unit: "dayOfYear" }) : h(a, t.length);
1845
1845
  },
1846
1846
  // Day of week
@@ -2233,7 +2233,7 @@ const Pe = (e, t) => {
2233
2233
  default:
2234
2234
  return t.time({ width: "full" });
2235
2235
  }
2236
- }, cr = (e, t) => {
2236
+ }, lr = (e, t) => {
2237
2237
  const n = e.match(/(P+)(p+)?/) || [], a = n[1], o = n[2];
2238
2238
  if (!o)
2239
2239
  return Pe(e, t);
@@ -2254,45 +2254,45 @@ const Pe = (e, t) => {
2254
2254
  break;
2255
2255
  }
2256
2256
  return i.replace("{{date}}", Pe(a, t)).replace("{{time}}", Ge(o, t));
2257
- }, ur = {
2257
+ }, cr = {
2258
2258
  p: Ge,
2259
- P: cr
2260
- }, mr = /^D+$/, fr = /^Y+$/, gr = ["D", "DD", "YY", "YYYY"];
2259
+ P: lr
2260
+ }, ur = /^D+$/, mr = /^Y+$/, fr = ["D", "DD", "YY", "YYYY"];
2261
+ function gr(e) {
2262
+ return ur.test(e);
2263
+ }
2261
2264
  function hr(e) {
2262
2265
  return mr.test(e);
2263
2266
  }
2264
- function xr(e) {
2265
- return fr.test(e);
2267
+ function xr(e, t, n) {
2268
+ const a = pr(e, t, n);
2269
+ if (console.warn(a), fr.includes(e)) throw new RangeError(a);
2266
2270
  }
2267
2271
  function pr(e, t, n) {
2268
- const a = br(e, t, n);
2269
- if (console.warn(a), gr.includes(e)) throw new RangeError(a);
2270
- }
2271
- function br(e, t, n) {
2272
2272
  const a = e[0] === "Y" ? "years" : "days of the month";
2273
2273
  return `Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${a} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`;
2274
2274
  }
2275
- const vr = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, wr = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, yr = /^'([^]*?)'?$/, jr = /''/g, Nr = /[a-zA-Z]/;
2275
+ const br = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, vr = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, wr = /^'([^]*?)'?$/, yr = /''/g, jr = /[a-zA-Z]/;
2276
2276
  function ie(e, t, n) {
2277
- const a = U(), o = n?.locale ?? a.locale ?? or, i = n?.firstWeekContainsDate ?? n?.locale?.options?.firstWeekContainsDate ?? a.firstWeekContainsDate ?? a.locale?.options?.firstWeekContainsDate ?? 1, l = n?.weekStartsOn ?? n?.locale?.options?.weekStartsOn ?? a.weekStartsOn ?? a.locale?.options?.weekStartsOn ?? 0, u = C(e, n?.in);
2278
- if (!kn(u))
2277
+ const a = U(), o = n?.locale ?? a.locale ?? ar, i = n?.firstWeekContainsDate ?? n?.locale?.options?.firstWeekContainsDate ?? a.firstWeekContainsDate ?? a.locale?.options?.firstWeekContainsDate ?? 1, l = n?.weekStartsOn ?? n?.locale?.options?.weekStartsOn ?? a.weekStartsOn ?? a.locale?.options?.weekStartsOn ?? 0, u = C(e, n?.in);
2278
+ if (!Cn(u))
2279
2279
  throw new RangeError("Invalid time value");
2280
- let d = t.match(wr).map((f) => {
2280
+ let d = t.match(vr).map((f) => {
2281
2281
  const g = f[0];
2282
2282
  if (g === "p" || g === "P") {
2283
- const w = ur[g];
2283
+ const w = cr[g];
2284
2284
  return w(f, o.formatLong);
2285
2285
  }
2286
2286
  return f;
2287
- }).join("").match(vr).map((f) => {
2287
+ }).join("").match(br).map((f) => {
2288
2288
  if (f === "''")
2289
2289
  return { isToken: !1, value: "'" };
2290
2290
  const g = f[0];
2291
2291
  if (g === "'")
2292
- return { isToken: !1, value: Cr(f) };
2292
+ return { isToken: !1, value: Nr(f) };
2293
2293
  if (Se[g])
2294
2294
  return { isToken: !0, value: f };
2295
- if (g.match(Nr))
2295
+ if (g.match(jr))
2296
2296
  throw new RangeError(
2297
2297
  "Format string contains an unescaped latin alphabet character `" + g + "`"
2298
2298
  );
@@ -2307,14 +2307,14 @@ function ie(e, t, n) {
2307
2307
  return d.map((f) => {
2308
2308
  if (!f.isToken) return f.value;
2309
2309
  const g = f.value;
2310
- (!n?.useAdditionalWeekYearTokens && xr(g) || !n?.useAdditionalDayOfYearTokens && hr(g)) && pr(g, t, String(e));
2310
+ (!n?.useAdditionalWeekYearTokens && hr(g) || !n?.useAdditionalDayOfYearTokens && gr(g)) && xr(g, t, String(e));
2311
2311
  const w = Se[g[0]];
2312
2312
  return w(u, g, o.localize, m);
2313
2313
  }).join("");
2314
2314
  }
2315
- function Cr(e) {
2316
- const t = e.match(yr);
2317
- return t ? t[1].replace(jr, "'") : e;
2315
+ function Nr(e) {
2316
+ const t = e.match(wr);
2317
+ return t ? t[1].replace(yr, "'") : e;
2318
2318
  }
2319
2319
  function J({
2320
2320
  ...e
@@ -2346,12 +2346,12 @@ function Z({
2346
2346
  }
2347
2347
  );
2348
2348
  }
2349
- function ba({
2349
+ function pa({
2350
2350
  ...e
2351
2351
  }) {
2352
2352
  return /* @__PURE__ */ r.jsx(Q.Anchor, { "data-slot": "popover-anchor", ...e });
2353
2353
  }
2354
- function va({ value: e, onChange: t = () => {
2354
+ function ba({ value: e, onChange: t = () => {
2355
2355
  } }) {
2356
2356
  const [n, a] = S(e), { locale: o } = _e();
2357
2357
  return /* @__PURE__ */ r.jsxs(J, { children: [
@@ -2391,7 +2391,7 @@ function va({ value: e, onChange: t = () => {
2391
2391
  ) })
2392
2392
  ] });
2393
2393
  }
2394
- function wa({
2394
+ function va({
2395
2395
  locale: e,
2396
2396
  value: t,
2397
2397
  onChange: n = () => {
@@ -2433,7 +2433,7 @@ function wa({
2433
2433
  ) })
2434
2434
  ] });
2435
2435
  }
2436
- const kr = Yt(
2436
+ const Cr = Wt(
2437
2437
  "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",
2438
2438
  {
2439
2439
  variants: {
@@ -2460,12 +2460,12 @@ function ae({
2460
2460
  o,
2461
2461
  {
2462
2462
  "data-slot": "badge",
2463
- className: s(kr({ variant: t }), e),
2463
+ className: s(Cr({ variant: t }), e),
2464
2464
  ...a
2465
2465
  }
2466
2466
  );
2467
2467
  }
2468
- function ya({ className: e, ...t }) {
2468
+ function wa({ className: e, ...t }) {
2469
2469
  return /* @__PURE__ */ r.jsx(
2470
2470
  "div",
2471
2471
  {
@@ -2478,7 +2478,7 @@ function ya({ className: e, ...t }) {
2478
2478
  }
2479
2479
  );
2480
2480
  }
2481
- function ja({
2481
+ function ya({
2482
2482
  className: e,
2483
2483
  ...t
2484
2484
  }) {
@@ -2494,7 +2494,7 @@ function ja({
2494
2494
  }
2495
2495
  );
2496
2496
  }
2497
- function Na({
2497
+ function ja({
2498
2498
  className: e,
2499
2499
  ...t
2500
2500
  }) {
@@ -2507,7 +2507,7 @@ function Na({
2507
2507
  }
2508
2508
  );
2509
2509
  }
2510
- function Ca({
2510
+ function Na({
2511
2511
  className: e,
2512
2512
  ...t
2513
2513
  }) {
@@ -2520,7 +2520,7 @@ function Ca({
2520
2520
  }
2521
2521
  );
2522
2522
  }
2523
- function ka({
2523
+ function Ca({
2524
2524
  className: e,
2525
2525
  ...t
2526
2526
  }) {
@@ -2536,7 +2536,7 @@ function ka({
2536
2536
  }
2537
2537
  );
2538
2538
  }
2539
- function Sa({
2539
+ function ka({
2540
2540
  className: e,
2541
2541
  ...t
2542
2542
  }) {
@@ -2549,7 +2549,7 @@ function Sa({
2549
2549
  }
2550
2550
  );
2551
2551
  }
2552
- function Da({
2552
+ function Sa({
2553
2553
  className: e,
2554
2554
  ...t
2555
2555
  }) {
@@ -2562,7 +2562,7 @@ function Da({
2562
2562
  }
2563
2563
  );
2564
2564
  }
2565
- function Ma({
2565
+ function Da({
2566
2566
  className: e,
2567
2567
  ...t
2568
2568
  }) {
@@ -2586,12 +2586,12 @@ function Ma({
2586
2586
  }
2587
2587
  );
2588
2588
  }
2589
- function Pa({
2589
+ function Ma({
2590
2590
  ...e
2591
2591
  }) {
2592
2592
  return /* @__PURE__ */ r.jsx(fe.Root, { "data-slot": "collapsible", ...e });
2593
2593
  }
2594
- function _a({
2594
+ function Pa({
2595
2595
  ...e
2596
2596
  }) {
2597
2597
  return /* @__PURE__ */ r.jsx(
@@ -2602,7 +2602,7 @@ function _a({
2602
2602
  }
2603
2603
  );
2604
2604
  }
2605
- function Ta({
2605
+ function _a({
2606
2606
  ...e
2607
2607
  }) {
2608
2608
  return /* @__PURE__ */ r.jsx(
@@ -2613,27 +2613,27 @@ function Ta({
2613
2613
  }
2614
2614
  );
2615
2615
  }
2616
- function Sr({
2616
+ function kr({
2617
2617
  ...e
2618
2618
  }) {
2619
2619
  return /* @__PURE__ */ r.jsx(D.Root, { "data-slot": "dialog", ...e });
2620
2620
  }
2621
- function za({
2621
+ function Ta({
2622
2622
  ...e
2623
2623
  }) {
2624
2624
  return /* @__PURE__ */ r.jsx(D.Trigger, { "data-slot": "dialog-trigger", ...e });
2625
2625
  }
2626
- function Dr({
2626
+ function Sr({
2627
2627
  ...e
2628
2628
  }) {
2629
2629
  return /* @__PURE__ */ r.jsx(D.Portal, { "data-slot": "dialog-portal", ...e });
2630
2630
  }
2631
- function Fa({
2631
+ function za({
2632
2632
  ...e
2633
2633
  }) {
2634
2634
  return /* @__PURE__ */ r.jsx(D.Close, { "data-slot": "dialog-close", ...e });
2635
2635
  }
2636
- function Mr({
2636
+ function Dr({
2637
2637
  className: e,
2638
2638
  ...t
2639
2639
  }) {
@@ -2649,14 +2649,14 @@ function Mr({
2649
2649
  }
2650
2650
  );
2651
2651
  }
2652
- function Pr({
2652
+ function Mr({
2653
2653
  className: e,
2654
2654
  children: t,
2655
2655
  showCloseButton: n = !0,
2656
2656
  ...a
2657
2657
  }) {
2658
- return /* @__PURE__ */ r.jsxs(Dr, { "data-slot": "dialog-portal", children: [
2659
- /* @__PURE__ */ r.jsx(Mr, {}),
2658
+ return /* @__PURE__ */ r.jsxs(Sr, { "data-slot": "dialog-portal", children: [
2659
+ /* @__PURE__ */ r.jsx(Dr, {}),
2660
2660
  /* @__PURE__ */ r.jsxs(
2661
2661
  D.Content,
2662
2662
  {
@@ -2674,7 +2674,7 @@ function Pr({
2674
2674
  "data-slot": "dialog-close",
2675
2675
  className: "ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
2676
2676
  children: [
2677
- /* @__PURE__ */ r.jsx(Ft, {}),
2677
+ /* @__PURE__ */ r.jsx(zt, {}),
2678
2678
  /* @__PURE__ */ r.jsx("span", { className: "sr-only", children: "Close" })
2679
2679
  ]
2680
2680
  }
@@ -2684,7 +2684,7 @@ function Pr({
2684
2684
  )
2685
2685
  ] });
2686
2686
  }
2687
- function _r({
2687
+ function Pr({
2688
2688
  className: e,
2689
2689
  ...t
2690
2690
  }) {
@@ -2697,7 +2697,7 @@ function _r({
2697
2697
  }
2698
2698
  );
2699
2699
  }
2700
- function Ia({
2700
+ function Fa({
2701
2701
  className: e,
2702
2702
  ...t
2703
2703
  }) {
@@ -2713,7 +2713,7 @@ function Ia({
2713
2713
  }
2714
2714
  );
2715
2715
  }
2716
- function Tr({
2716
+ function _r({
2717
2717
  className: e,
2718
2718
  ...t
2719
2719
  }) {
@@ -2726,7 +2726,7 @@ function Tr({
2726
2726
  }
2727
2727
  );
2728
2728
  }
2729
- function zr({
2729
+ function Tr({
2730
2730
  className: e,
2731
2731
  ...t
2732
2732
  }) {
@@ -2755,7 +2755,7 @@ function he({
2755
2755
  }
2756
2756
  );
2757
2757
  }
2758
- function Oa({
2758
+ function Ia({
2759
2759
  title: e = "Command Palette",
2760
2760
  description: t = "Search for a command to run...",
2761
2761
  children: n,
@@ -2763,13 +2763,13 @@ function Oa({
2763
2763
  showCloseButton: o = !0,
2764
2764
  ...i
2765
2765
  }) {
2766
- return /* @__PURE__ */ r.jsxs(Sr, { ...i, children: [
2767
- /* @__PURE__ */ r.jsxs(_r, { className: "sr-only", children: [
2768
- /* @__PURE__ */ r.jsx(Tr, { children: e }),
2769
- /* @__PURE__ */ r.jsx(zr, { children: t })
2766
+ return /* @__PURE__ */ r.jsxs(kr, { ...i, children: [
2767
+ /* @__PURE__ */ r.jsxs(Pr, { className: "sr-only", children: [
2768
+ /* @__PURE__ */ r.jsx(_r, { children: e }),
2769
+ /* @__PURE__ */ r.jsx(Tr, { children: t })
2770
2770
  ] }),
2771
2771
  /* @__PURE__ */ r.jsx(
2772
- Pr,
2772
+ Mr,
2773
2773
  {
2774
2774
  className: s("overflow-hidden p-0", a),
2775
2775
  showCloseButton: o,
@@ -2788,7 +2788,7 @@ function $e({
2788
2788
  "data-slot": "command-input-wrapper",
2789
2789
  className: "flex h-9 items-center gap-2 border-b px-3",
2790
2790
  children: [
2791
- /* @__PURE__ */ r.jsx(It, { className: "size-4 shrink-0 opacity-50" }),
2791
+ /* @__PURE__ */ r.jsx(Ft, { className: "size-4 shrink-0 opacity-50" }),
2792
2792
  /* @__PURE__ */ r.jsx(
2793
2793
  T.Input,
2794
2794
  {
@@ -2848,7 +2848,7 @@ function de({
2848
2848
  }
2849
2849
  );
2850
2850
  }
2851
- function Fr({
2851
+ function zr({
2852
2852
  className: e,
2853
2853
  ...t
2854
2854
  }) {
@@ -2877,7 +2877,7 @@ function le({
2877
2877
  }
2878
2878
  );
2879
2879
  }
2880
- function Wa({
2880
+ function Oa({
2881
2881
  className: e,
2882
2882
  ...t
2883
2883
  }) {
@@ -2893,7 +2893,7 @@ function Wa({
2893
2893
  }
2894
2894
  );
2895
2895
  }
2896
- function Ya({
2896
+ function Wa({
2897
2897
  data: e = [],
2898
2898
  placeholder: t = "Selecione um item...",
2899
2899
  value: n,
@@ -2914,7 +2914,7 @@ function Ya({
2914
2914
  disabled: a.disabled,
2915
2915
  children: [
2916
2916
  u > -1 ? e[u].label : /* @__PURE__ */ r.jsx("div", { className: "text-sm text-foreground opacity-50 font-normal", children: t }),
2917
- /* @__PURE__ */ r.jsx(Ot, { className: "opacity-50" })
2917
+ /* @__PURE__ */ r.jsx(It, { className: "opacity-50" })
2918
2918
  ]
2919
2919
  }
2920
2920
  ) }),
@@ -2959,14 +2959,14 @@ function Ya({
2959
2959
  ] }) })
2960
2960
  ] });
2961
2961
  }
2962
- function Ir({
2962
+ function Fr({
2963
2963
  className: e,
2964
2964
  orientation: t = "horizontal",
2965
2965
  decorative: n = !0,
2966
2966
  ...a
2967
2967
  }) {
2968
2968
  return /* @__PURE__ */ r.jsx(
2969
- Qt.Root,
2969
+ Bt.Root,
2970
2970
  {
2971
2971
  "data-slot": "separator",
2972
2972
  decorative: n,
@@ -2979,7 +2979,7 @@ function Ir({
2979
2979
  }
2980
2980
  );
2981
2981
  }
2982
- function Ra({
2982
+ function Ya({
2983
2983
  column: e,
2984
2984
  title: t,
2985
2985
  options: n,
@@ -2996,10 +2996,10 @@ function Ra({
2996
2996
  },
2997
2997
  children: [
2998
2998
  /* @__PURE__ */ r.jsx(K, { asChild: !0, children: /* @__PURE__ */ r.jsxs(j, { variant: "outline", size: "sm", className: "h-8 border-dashed", children: [
2999
- /* @__PURE__ */ r.jsx(Wt, {}),
2999
+ /* @__PURE__ */ r.jsx(Ot, {}),
3000
3000
  t,
3001
3001
  u?.length > 0 && /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
3002
- /* @__PURE__ */ r.jsx(Ir, { orientation: "vertical", className: "mx-2 h-4" }),
3002
+ /* @__PURE__ */ r.jsx(Fr, { orientation: "vertical", className: "mx-2 h-4" }),
3003
3003
  /* @__PURE__ */ r.jsx(
3004
3004
  ae,
3005
3005
  {
@@ -3068,7 +3068,7 @@ function Ra({
3068
3068
  );
3069
3069
  }) }),
3070
3070
  u.length > 0 && /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
3071
- /* @__PURE__ */ r.jsx(Fr, {}),
3071
+ /* @__PURE__ */ r.jsx(zr, {}),
3072
3072
  /* @__PURE__ */ r.jsx(de, { children: /* @__PURE__ */ r.jsx(
3073
3073
  le,
3074
3074
  {
@@ -3086,12 +3086,12 @@ function Ra({
3086
3086
  }
3087
3087
  );
3088
3088
  }
3089
- const Ea = Xt, Qe = N.createContext(
3089
+ const Ra = Qt, Qe = N.createContext(
3090
3090
  {}
3091
- ), La = ({
3091
+ ), Ea = ({
3092
3092
  ...e
3093
- }) => /* @__PURE__ */ r.jsx(Qe.Provider, { value: { name: e.name }, children: /* @__PURE__ */ r.jsx(Ut, { ...e }) }), ee = () => {
3094
- const e = N.useContext(Qe), t = N.useContext(Xe), { getFieldState: n } = Jt(), a = Kt({ name: e.name }), o = n(e.name, a);
3093
+ }) => /* @__PURE__ */ r.jsx(Qe.Provider, { value: { name: e.name }, children: /* @__PURE__ */ r.jsx(Xt, { ...e }) }), ee = () => {
3094
+ const e = N.useContext(Qe), t = N.useContext(Xe), { getFieldState: n } = Ut(), a = Jt({ name: e.name }), o = n(e.name, a);
3095
3095
  if (!e)
3096
3096
  throw new Error("useFormField should be used within <FormField>");
3097
3097
  const { id: i } = t;
@@ -3106,7 +3106,7 @@ const Ea = Xt, Qe = N.createContext(
3106
3106
  }, Xe = N.createContext(
3107
3107
  {}
3108
3108
  );
3109
- function Va({ className: e, ...t }) {
3109
+ function La({ className: e, ...t }) {
3110
3110
  const n = N.useId();
3111
3111
  return /* @__PURE__ */ r.jsx(Xe.Provider, { value: { id: n }, children: /* @__PURE__ */ r.jsx(
3112
3112
  "div",
@@ -3117,7 +3117,7 @@ function Va({ className: e, ...t }) {
3117
3117
  }
3118
3118
  ) });
3119
3119
  }
3120
- function qa({
3120
+ function Va({
3121
3121
  className: e,
3122
3122
  ...t
3123
3123
  }) {
@@ -3133,7 +3133,7 @@ function qa({
3133
3133
  }
3134
3134
  );
3135
3135
  }
3136
- function Ha({ ...e }) {
3136
+ function qa({ ...e }) {
3137
3137
  const { error: t, formItemId: n, formDescriptionId: a, formMessageId: o } = ee();
3138
3138
  return /* @__PURE__ */ r.jsx(
3139
3139
  We,
@@ -3146,7 +3146,7 @@ function Ha({ ...e }) {
3146
3146
  }
3147
3147
  );
3148
3148
  }
3149
- function Ga({
3149
+ function Ha({
3150
3150
  className: e,
3151
3151
  ...t
3152
3152
  }) {
@@ -3161,7 +3161,7 @@ function Ga({
3161
3161
  }
3162
3162
  );
3163
3163
  }
3164
- function $a({
3164
+ function Ga({
3165
3165
  className: e,
3166
3166
  ...t
3167
3167
  }) {
@@ -3177,7 +3177,7 @@ function $a({
3177
3177
  }
3178
3178
  ) : null;
3179
3179
  }
3180
- function Or({ className: e, ...t }) {
3180
+ function Ir({ className: e, ...t }) {
3181
3181
  return /* @__PURE__ */ r.jsx(
3182
3182
  "div",
3183
3183
  {
@@ -3187,10 +3187,10 @@ function Or({ className: e, ...t }) {
3187
3187
  }
3188
3188
  );
3189
3189
  }
3190
- const Aa = ({ ...e }) => {
3191
- const { theme: t = "system" } = Zt();
3190
+ const $a = ({ ...e }) => {
3191
+ const { theme: t = "system" } = Kt();
3192
3192
  return /* @__PURE__ */ r.jsx(
3193
- en,
3193
+ Zt,
3194
3194
  {
3195
3195
  theme: t,
3196
3196
  className: "toaster group",
@@ -3203,7 +3203,7 @@ const Aa = ({ ...e }) => {
3203
3203
  }
3204
3204
  );
3205
3205
  };
3206
- function Ba({
3206
+ function Aa({
3207
3207
  className: e,
3208
3208
  ...t
3209
3209
  }) {
@@ -3216,7 +3216,7 @@ function Ba({
3216
3216
  }
3217
3217
  );
3218
3218
  }
3219
- function Qa({
3219
+ function Ba({
3220
3220
  className: e,
3221
3221
  ...t
3222
3222
  }) {
@@ -3232,7 +3232,7 @@ function Qa({
3232
3232
  }
3233
3233
  );
3234
3234
  }
3235
- function Xa({
3235
+ function Qa({
3236
3236
  className: e,
3237
3237
  ...t
3238
3238
  }) {
@@ -3248,7 +3248,7 @@ function Xa({
3248
3248
  }
3249
3249
  );
3250
3250
  }
3251
- function Ua({
3251
+ function Xa({
3252
3252
  className: e,
3253
3253
  ...t
3254
3254
  }) {
@@ -3261,7 +3261,7 @@ function Ua({
3261
3261
  }
3262
3262
  );
3263
3263
  }
3264
- function Ja({
3264
+ function Ua({
3265
3265
  className: e,
3266
3266
  ...t
3267
3267
  }) {
@@ -3277,18 +3277,18 @@ function Ja({
3277
3277
  }
3278
3278
  );
3279
3279
  }
3280
- function Ka() {
3281
- const { user: e, isLoading: t } = it(), n = e?.username, a = n ? n.substring(0, 2) : "";
3282
- return t ? /* @__PURE__ */ r.jsx(Or, { className: "h-9 w-9 rounded-4xl" }) : /* @__PURE__ */ r.jsx("div", { className: "rounded-full w-9 h-9 justify-center text-xs cursor-default uppercase items-center flex flex-col bg-amber-400 border-2 border-black", children: a });
3280
+ function Ja({ user: e }) {
3281
+ const t = e?.username, n = t ? t.substring(0, 2) : "";
3282
+ return e.id === "" ? /* @__PURE__ */ r.jsx(Ir, { className: "h-9 w-9 rounded-4xl" }) : /* @__PURE__ */ r.jsx("div", { className: "rounded-full w-9 h-9 justify-center text-xs cursor-default uppercase items-center flex flex-col bg-amber-400 border-2 border-black", children: n });
3283
3283
  }
3284
- const Wr = { light: "", dark: ".dark" }, Ue = N.createContext(null);
3284
+ const Or = { light: "", dark: ".dark" }, Ue = N.createContext(null);
3285
3285
  function Je() {
3286
3286
  const e = N.useContext(Ue);
3287
3287
  if (!e)
3288
3288
  throw new Error("useChart must be used within a <ChartContainer />");
3289
3289
  return e;
3290
3290
  }
3291
- function Za({
3291
+ function Ka({
3292
3292
  id: e,
3293
3293
  className: t,
3294
3294
  children: n,
@@ -3307,13 +3307,13 @@ function Za({
3307
3307
  ),
3308
3308
  ...o,
3309
3309
  children: [
3310
- /* @__PURE__ */ r.jsx(Yr, { id: l, config: a }),
3310
+ /* @__PURE__ */ r.jsx(Wr, { id: l, config: a }),
3311
3311
  /* @__PURE__ */ r.jsx(ge.ResponsiveContainer, { children: n })
3312
3312
  ]
3313
3313
  }
3314
3314
  ) });
3315
3315
  }
3316
- const Yr = ({
3316
+ const Wr = ({
3317
3317
  id: e,
3318
3318
  config: t
3319
3319
  }) => {
@@ -3324,7 +3324,7 @@ const Yr = ({
3324
3324
  "style",
3325
3325
  {
3326
3326
  dangerouslySetInnerHTML: {
3327
- __html: Object.entries(Wr).map(
3327
+ __html: Object.entries(Or).map(
3328
3328
  ([a, o]) => `
3329
3329
  ${o} [data-chart=${e}] {
3330
3330
  ${n.map(([i, l]) => {
@@ -3339,8 +3339,8 @@ ${n.map(([i, l]) => {
3339
3339
  }
3340
3340
  }
3341
3341
  ) : null;
3342
- }, eo = ge.Tooltip;
3343
- function to({
3342
+ }, Za = ge.Tooltip;
3343
+ function eo({
3344
3344
  active: e,
3345
3345
  payload: t,
3346
3346
  className: n,
@@ -3434,8 +3434,8 @@ function to({
3434
3434
  }
3435
3435
  );
3436
3436
  }
3437
- const no = ge.Legend;
3438
- function ro({
3437
+ const to = ge.Legend;
3438
+ function no({
3439
3439
  className: e,
3440
3440
  hideIcon: t = !1,
3441
3441
  payload: n,
@@ -3486,112 +3486,112 @@ function ce(e, t, n) {
3486
3486
  return n in t && typeof t[n] == "string" ? o = t[n] : a && n in a && typeof a[n] == "string" && (o = a[n]), o in e ? e[o] : e[n];
3487
3487
  }
3488
3488
  export {
3489
- Ka as Avatar,
3489
+ Ja as Avatar,
3490
3490
  ae as Badge,
3491
3491
  j as Button,
3492
3492
  Le as Calendar,
3493
- bn as CalendarDayButton,
3494
- ya as Card,
3495
- ka as CardAction,
3496
- Sa as CardContent,
3497
- Ca as CardDescription,
3498
- Da as CardFooter,
3499
- ja as CardHeader,
3500
- Na as CardTitle,
3501
- Za as ChartContainer,
3502
- no as ChartLegend,
3503
- ro as ChartLegendContent,
3504
- Yr as ChartStyle,
3505
- eo as ChartTooltip,
3506
- to as ChartTooltipContent,
3507
- Ma as Checkbox,
3508
- Pa as Collapsible,
3509
- Ta as CollapsibleContent,
3510
- _a as CollapsibleTrigger,
3511
- Ya as Combobox,
3493
+ pn as CalendarDayButton,
3494
+ wa as Card,
3495
+ Ca as CardAction,
3496
+ ka as CardContent,
3497
+ Na as CardDescription,
3498
+ Sa as CardFooter,
3499
+ ya as CardHeader,
3500
+ ja as CardTitle,
3501
+ Ka as ChartContainer,
3502
+ to as ChartLegend,
3503
+ no as ChartLegendContent,
3504
+ Wr as ChartStyle,
3505
+ Za as ChartTooltip,
3506
+ eo as ChartTooltipContent,
3507
+ Da as Checkbox,
3508
+ Ma as Collapsible,
3509
+ _a as CollapsibleContent,
3510
+ Pa as CollapsibleTrigger,
3511
+ Wa as Combobox,
3512
3512
  he as Command,
3513
- Oa as CommandDialog,
3513
+ Ia as CommandDialog,
3514
3514
  Be as CommandEmpty,
3515
3515
  de as CommandGroup,
3516
3516
  $e as CommandInput,
3517
3517
  le as CommandItem,
3518
3518
  Ae as CommandList,
3519
- Fr as CommandSeparator,
3520
- Wa as CommandShortcut,
3521
- ga as DataTable,
3522
- Ra as DataTableFacetedFilter,
3523
- va as DatePicker,
3524
- wa as DateRangePicker,
3525
- ca as DefaultDropdownMenuTrigger,
3526
- Sr as Dialog,
3527
- Fa as DialogClose,
3528
- Pr as DialogContent,
3529
- zr as DialogDescription,
3530
- Ia as DialogFooter,
3531
- _r as DialogHeader,
3532
- Mr as DialogOverlay,
3533
- Dr as DialogPortal,
3534
- Tr as DialogTitle,
3535
- za as DialogTrigger,
3536
- ha as DragHandle,
3537
- tn as DraggableRow,
3519
+ zr as CommandSeparator,
3520
+ Oa as CommandShortcut,
3521
+ fa as DataTable,
3522
+ Ya as DataTableFacetedFilter,
3523
+ ba as DatePicker,
3524
+ va as DateRangePicker,
3525
+ la as DefaultDropdownMenuTrigger,
3526
+ kr as Dialog,
3527
+ za as DialogClose,
3528
+ Mr as DialogContent,
3529
+ Tr as DialogDescription,
3530
+ Fa as DialogFooter,
3531
+ Pr as DialogHeader,
3532
+ Dr as DialogOverlay,
3533
+ Sr as DialogPortal,
3534
+ _r as DialogTitle,
3535
+ Ta as DialogTrigger,
3536
+ ga as DragHandle,
3537
+ en as DraggableRow,
3538
3538
  ye as DropdownMenu,
3539
- nn as DropdownMenuCheckboxItem,
3539
+ tn as DropdownMenuCheckboxItem,
3540
3540
  je as DropdownMenuContent,
3541
- na as DropdownMenuGroup,
3542
- ra as DropdownMenuItem,
3543
- aa as DropdownMenuLabel,
3544
- ta as DropdownMenuPortal,
3545
- rn as DropdownMenuRadioGroup,
3546
- an as DropdownMenuRadioItem,
3547
- oa as DropdownMenuSeparator,
3548
- sa as DropdownMenuShortcut,
3549
- ia as DropdownMenuSub,
3550
- la as DropdownMenuSubContent,
3551
- da as DropdownMenuSubTrigger,
3541
+ ta as DropdownMenuGroup,
3542
+ na as DropdownMenuItem,
3543
+ ra as DropdownMenuLabel,
3544
+ ea as DropdownMenuPortal,
3545
+ nn as DropdownMenuRadioGroup,
3546
+ rn as DropdownMenuRadioItem,
3547
+ aa as DropdownMenuSeparator,
3548
+ oa as DropdownMenuShortcut,
3549
+ sa as DropdownMenuSub,
3550
+ da as DropdownMenuSubContent,
3551
+ ia as DropdownMenuSubTrigger,
3552
3552
  oe as DropdownMenuTrigger,
3553
- Ea as Form,
3554
- Ha as FormControl,
3555
- Ga as FormDescription,
3556
- La as FormField,
3557
- Va as FormItem,
3558
- qa as FormLabel,
3559
- $a as FormMessage,
3560
- on as Input,
3553
+ Ra as Form,
3554
+ qa as FormControl,
3555
+ Ha as FormDescription,
3556
+ Ea as FormField,
3557
+ La as FormItem,
3558
+ Va as FormLabel,
3559
+ Ga as FormMessage,
3560
+ an as Input,
3561
3561
  Re as Label,
3562
3562
  J as Popover,
3563
- ba as PopoverAnchor,
3563
+ pa as PopoverAnchor,
3564
3564
  Z as PopoverContent,
3565
3565
  K as PopoverTrigger,
3566
- sn as Select,
3567
- cn as SelectContent,
3568
- ua as SelectGroup,
3569
- un as SelectItem,
3570
- ma as SelectLabel,
3571
- fn as SelectScrollDownButton,
3572
- mn as SelectScrollUpButton,
3573
- fa as SelectSeparator,
3574
- ln as SelectTrigger,
3575
- dn as SelectValue,
3576
- Ir as Separator,
3577
- Or as Skeleton,
3578
- so as TZDate,
3579
- gn as Table,
3580
- xn as TableBody,
3581
- pa as TableCaption,
3566
+ on as Select,
3567
+ ln as SelectContent,
3568
+ ca as SelectGroup,
3569
+ cn as SelectItem,
3570
+ ua as SelectLabel,
3571
+ mn as SelectScrollDownButton,
3572
+ un as SelectScrollUpButton,
3573
+ ma as SelectSeparator,
3574
+ dn as SelectTrigger,
3575
+ sn as SelectValue,
3576
+ Fr as Separator,
3577
+ Ir as Skeleton,
3578
+ oo as TZDate,
3579
+ fn as Table,
3580
+ hn as TableBody,
3581
+ xa as TableCaption,
3582
3582
  Ee as TableCell,
3583
- xa as TableFooter,
3584
- pn as TableHead,
3585
- hn as TableHeader,
3583
+ ha as TableFooter,
3584
+ xn as TableHead,
3585
+ gn as TableHeader,
3586
3586
  se as TableRow,
3587
- Ba as Tabs,
3588
- Ua as TabsContent,
3589
- Qa as TabsList,
3590
- Xa as TabsTrigger,
3591
- Ja as Textarea,
3592
- Aa as Toaster,
3593
- kr as badgeVariants,
3587
+ Aa as Tabs,
3588
+ Xa as TabsContent,
3589
+ Ba as TabsList,
3590
+ Qa as TabsTrigger,
3591
+ Ua as Textarea,
3592
+ $a as Toaster,
3593
+ Cr as badgeVariants,
3594
3594
  be as buttonVariants,
3595
- lo as toast,
3595
+ io as toast,
3596
3596
  ee as useFormField
3597
3597
  };