@iclips/ui 1.2.19 → 1.2.21

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
@@ -47,7 +47,7 @@ import { useTheme as Lv } from "next-themes";
47
47
  import { Toaster as Nv } from "sonner";
48
48
  import { toast as hO } from "sonner";
49
49
  import * as u1 from "@radix-ui/react-toggle-group";
50
- function M(...t) {
50
+ function x(...t) {
51
51
  return Xy(qy(t));
52
52
  }
53
53
  function t8({
@@ -63,7 +63,7 @@ function n8({
63
63
  ka.Item,
64
64
  {
65
65
  "data-slot": "accordion-item",
66
- className: M("border-b last:border-b-0", t),
66
+ className: x("border-b last:border-b-0", t),
67
67
  ...e
68
68
  }
69
69
  );
@@ -77,7 +77,7 @@ function r8({
77
77
  ka.Trigger,
78
78
  {
79
79
  "data-slot": "accordion-trigger",
80
- className: M(
80
+ className: x(
81
81
  "focus-visible:border-ring focus-visible:ring-ring/50 flex flex-1 items-start justify-between gap-4 rounded-md py-4 text-left text-sm font-semibold transition-all outline-none hover:underline focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 [&[data-state=open]>svg]:rotate-180",
82
82
  t
83
83
  ),
@@ -100,7 +100,7 @@ function i8({
100
100
  "data-slot": "accordion-content",
101
101
  className: "data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm",
102
102
  ...n,
103
- children: /* @__PURE__ */ f("div", { className: M("pt-0 pb-4", t), children: e })
103
+ children: /* @__PURE__ */ f("div", { className: x("pt-0 pb-4", t), children: e })
104
104
  }
105
105
  );
106
106
  }
@@ -109,7 +109,7 @@ function Mi({ className: t, ...e }) {
109
109
  "div",
110
110
  {
111
111
  "data-slot": "card",
112
- className: M(
112
+ className: x(
113
113
  "bg-card text-card-foreground flex flex-col gap-6 rounded-xl border",
114
114
  t
115
115
  ),
@@ -122,7 +122,7 @@ function Ia({ className: t, ...e }) {
122
122
  "div",
123
123
  {
124
124
  "data-slot": "card-header",
125
- className: M(
125
+ className: x(
126
126
  "@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 pt-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",
127
127
  t
128
128
  ),
@@ -135,7 +135,7 @@ function Ta({ className: t, ...e }) {
135
135
  "h4",
136
136
  {
137
137
  "data-slot": "card-title",
138
- className: M("font-semibold leading-[1.2]", t),
138
+ className: x("font-semibold leading-[1.2]", t),
139
139
  ...e
140
140
  }
141
141
  );
@@ -145,7 +145,7 @@ function kv({ className: t, ...e }) {
145
145
  "p",
146
146
  {
147
147
  "data-slot": "card-description",
148
- className: M("text-muted-foreground leading-relaxed", t),
148
+ className: x("text-muted-foreground leading-relaxed", t),
149
149
  ...e
150
150
  }
151
151
  );
@@ -155,7 +155,7 @@ function a8({ className: t, ...e }) {
155
155
  "div",
156
156
  {
157
157
  "data-slot": "card-action",
158
- className: M(
158
+ className: x(
159
159
  "col-start-2 row-span-2 row-start-1 self-start justify-self-end",
160
160
  t
161
161
  ),
@@ -168,7 +168,7 @@ function ja({ className: t, ...e }) {
168
168
  "div",
169
169
  {
170
170
  "data-slot": "card-content",
171
- className: M("px-6 [&:last-child]:pb-6", t),
171
+ className: x("px-6 [&:last-child]:pb-6", t),
172
172
  ...e
173
173
  }
174
174
  );
@@ -178,7 +178,7 @@ function Sv({ className: t, ...e }) {
178
178
  "div",
179
179
  {
180
180
  "data-slot": "card-footer",
181
- className: M("flex items-center px-6 pb-6 [.border-t]:pt-6", t),
181
+ className: x("flex items-center px-6 pb-6 [.border-t]:pt-6", t),
182
182
  ...e
183
183
  }
184
184
  );
@@ -194,7 +194,7 @@ const h1 = T.forwardRef(
194
194
  {
195
195
  ref: n,
196
196
  "data-slot": "table",
197
- className: M("w-full caption-bottom text-sm", t),
197
+ className: x("w-full caption-bottom text-sm", t),
198
198
  ...e
199
199
  }
200
200
  )
@@ -208,7 +208,7 @@ const p1 = T.forwardRef(
208
208
  {
209
209
  ref: n,
210
210
  "data-slot": "table-header",
211
- className: M("[&_tr]:border-b", t),
211
+ className: x("[&_tr]:border-b", t),
212
212
  ...e
213
213
  }
214
214
  )
@@ -220,7 +220,7 @@ const m1 = T.forwardRef(
220
220
  {
221
221
  ref: n,
222
222
  "data-slot": "table-body",
223
- className: M("[&_tr:last-child]:border-0", t),
223
+ className: x("[&_tr:last-child]:border-0", t),
224
224
  ...e
225
225
  }
226
226
  )
@@ -232,7 +232,7 @@ const Iv = T.forwardRef(
232
232
  {
233
233
  ref: n,
234
234
  "data-slot": "table-footer",
235
- className: M(
235
+ className: x(
236
236
  "bg-muted/50 border-t font-semibold [&>tr]:last:border-b-0",
237
237
  t
238
238
  ),
@@ -246,7 +246,7 @@ const ta = T.forwardRef(({ className: t, ...e }, n) => /* @__PURE__ */ f(
246
246
  {
247
247
  ref: n,
248
248
  "data-slot": "table-row",
249
- className: M(
249
+ className: x(
250
250
  "hover:bg-muted/50 data-[state=selected]:bg-muted border-b transition-colors",
251
251
  t
252
252
  ),
@@ -260,7 +260,7 @@ const g1 = T.forwardRef(
260
260
  {
261
261
  ref: n,
262
262
  "data-slot": "table-head",
263
- className: M(
263
+ className: x(
264
264
  "text-foreground h-10 px-2 text-left align-middle font-semibold",
265
265
  "[&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",
266
266
  t
@@ -276,7 +276,7 @@ const Ho = T.forwardRef(
276
276
  {
277
277
  ref: n,
278
278
  "data-slot": "table-cell",
279
- className: M(
279
+ className: x(
280
280
  "p-2 align-middle",
281
281
  "[&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",
282
282
  t
@@ -292,7 +292,7 @@ const Tv = T.forwardRef(
292
292
  {
293
293
  ref: n,
294
294
  "data-slot": "table-caption",
295
- className: M("text-muted-foreground mt-4 text-sm leading-relaxed", t),
295
+ className: x("text-muted-foreground mt-4 text-sm leading-relaxed", t),
296
296
  ...e
297
297
  }
298
298
  )
@@ -327,7 +327,7 @@ const Nr = nn(
327
327
  r ? Pn : "button",
328
328
  {
329
329
  "data-slot": "button",
330
- className: M(Nr({ variant: e, size: n, className: t })),
330
+ className: x(Nr({ variant: e, size: n, className: t })),
331
331
  ref: l,
332
332
  disabled: o || i,
333
333
  "aria-busy": i || void 0,
@@ -365,7 +365,7 @@ function Tn({
365
365
  {
366
366
  "data-slot": "select-trigger",
367
367
  "data-size": e,
368
- className: M(
368
+ className: x(
369
369
  "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-full items-center justify-between gap-2 rounded-md border bg-input-background px-3 py-2 text-sm whitespace-nowrap 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",
370
370
  t
371
371
  ),
@@ -387,7 +387,7 @@ function jn({
387
387
  ft.Content,
388
388
  {
389
389
  "data-slot": "select-content",
390
- className: M(
390
+ className: x(
391
391
  "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",
392
392
  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",
393
393
  t
@@ -399,7 +399,7 @@ function jn({
399
399
  /* @__PURE__ */ f(
400
400
  ft.Viewport,
401
401
  {
402
- className: M(
402
+ className: x(
403
403
  "p-1",
404
404
  n === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1"
405
405
  ),
@@ -419,7 +419,7 @@ function s8({
419
419
  ft.Label,
420
420
  {
421
421
  "data-slot": "select-label",
422
- className: M("text-muted-foreground px-2 py-1.5 text-xs font-semibold", t),
422
+ className: x("text-muted-foreground px-2 py-1.5 text-xs font-semibold", t),
423
423
  ...e
424
424
  }
425
425
  );
@@ -433,7 +433,7 @@ function Wt({
433
433
  ft.Item,
434
434
  {
435
435
  "data-slot": "select-item",
436
- className: M(
436
+ className: x(
437
437
  "focus:bg-accent focus:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",
438
438
  t
439
439
  ),
@@ -453,7 +453,7 @@ function l8({
453
453
  ft.Separator,
454
454
  {
455
455
  "data-slot": "select-separator",
456
- className: M("bg-border pointer-events-none -mx-1 my-1 h-px", t),
456
+ className: x("bg-border pointer-events-none -mx-1 my-1 h-px", t),
457
457
  ...e
458
458
  }
459
459
  );
@@ -466,7 +466,7 @@ function jv({
466
466
  ft.ScrollUpButton,
467
467
  {
468
468
  "data-slot": "select-scroll-up-button",
469
- className: M(
469
+ className: x(
470
470
  "flex cursor-default items-center justify-center py-1",
471
471
  t
472
472
  ),
@@ -483,7 +483,7 @@ function Dv({
483
483
  ft.ScrollDownButton,
484
484
  {
485
485
  "data-slot": "select-scroll-down-button",
486
- className: M(
486
+ className: x(
487
487
  "flex cursor-default items-center justify-center py-1",
488
488
  t
489
489
  ),
@@ -530,11 +530,11 @@ function b1({
530
530
  labels: p,
531
531
  className: h
532
532
  }) {
533
- const m = { ...Ev, ...p }, g = zv(t, e, s), y = (t - 1) * n + 1, v = Math.min(t * n, r), x = t > 1, C = t < e;
533
+ const m = { ...Ev, ...p }, g = zv(t, e, s), y = (t - 1) * n + 1, v = Math.min(t * n, r), M = t > 1, C = t < e;
534
534
  return e === 0 ? null : /* @__PURE__ */ b(
535
535
  "div",
536
536
  {
537
- className: M(
537
+ className: x(
538
538
  "flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-between",
539
539
  h
540
540
  ),
@@ -586,7 +586,7 @@ function b1({
586
586
  size: "icon",
587
587
  className: "h-8 w-8",
588
588
  onClick: () => i(1),
589
- disabled: !x,
589
+ disabled: !M,
590
590
  "aria-label": m.first,
591
591
  children: /* @__PURE__ */ f(q4, { className: "h-4 w-4" })
592
592
  }
@@ -598,7 +598,7 @@ function b1({
598
598
  size: "icon",
599
599
  className: "h-8 w-8",
600
600
  onClick: () => i(t - 1),
601
- disabled: !x,
601
+ disabled: !M,
602
602
  "aria-label": m.previous,
603
603
  children: /* @__PURE__ */ f(rl, { className: "h-4 w-4" })
604
604
  }
@@ -663,7 +663,7 @@ function Xt({ className: t, type: e, ...n }) {
663
663
  {
664
664
  type: e,
665
665
  "data-slot": "input",
666
- className: M(
666
+ className: x(
667
667
  "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 px-3 py-1 text-base bg-input-background transition-[color,box-shadow,border-color] 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",
668
668
  "hover:border-ring/50",
669
669
  "focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]",
@@ -679,7 +679,7 @@ function vr({ className: t, variant: e = "pulse", ...n }) {
679
679
  "div",
680
680
  {
681
681
  "data-slot": "skeleton",
682
- className: M(
682
+ className: x(
683
683
  "rounded-md",
684
684
  e === "shimmer" ? "skeleton-shimmer" : "bg-accent animate-pulse",
685
685
  t
@@ -707,7 +707,7 @@ function Gu({
707
707
  return /* @__PURE__ */ b(
708
708
  "div",
709
709
  {
710
- className: M(
710
+ className: x(
711
711
  "flex flex-col items-center justify-center gap-4 py-12 px-6 text-center",
712
712
  s
713
713
  ),
@@ -725,7 +725,7 @@ function Gu({
725
725
  ) : t ? /* @__PURE__ */ f(
726
726
  "div",
727
727
  {
728
- className: M(
728
+ className: x(
729
729
  "flex size-16 items-center justify-center rounded-2xl",
730
730
  Ov[i]
731
731
  ),
@@ -786,14 +786,14 @@ function Rv({
786
786
  i < d && a((N) => N + 1);
787
787
  }, v = () => {
788
788
  i > 1 && a((N) => N - 1);
789
- }, x = (N) => {
789
+ }, M = (N) => {
790
790
  s(N), a(1);
791
791
  }, C = {
792
792
  currentPage: u,
793
793
  pageSize: o,
794
794
  totalItems: c,
795
795
  onPageChange: g,
796
- onPageSizeChange: x
796
+ onPageSizeChange: M
797
797
  }, w = Pv(C);
798
798
  return {
799
799
  currentPage: u,
@@ -804,7 +804,7 @@ function Rv({
804
804
  goToPage: g,
805
805
  nextPage: y,
806
806
  prevPage: v,
807
- setPageSize: x,
807
+ setPageSize: M,
808
808
  paginationConfig: C,
809
809
  metadata: w
810
810
  };
@@ -864,7 +864,7 @@ function Bv({
864
864
  const A = I.filter((O) => O.column !== L);
865
865
  return k === "" || k === null || k === void 0 ? A : [...A, { column: L, operator: S, value: k }];
866
866
  });
867
- }, x = (L) => {
867
+ }, M = (L) => {
868
868
  u((k) => k.filter((S) => S.column !== L));
869
869
  }, C = (L) => l.column === L ? l.direction : null, w = i ? t : r ? g.paginatedData : h, N = i && (o !== void 0 || s !== void 0) ? {
870
870
  ...g.paginationConfig,
@@ -881,7 +881,7 @@ function Bv({
881
881
  handlers: {
882
882
  onSort: y,
883
883
  setFilter: v,
884
- removeFilter: x,
884
+ removeFilter: M,
885
885
  clearFilters: () => u([])
886
886
  },
887
887
  getSortDirection: C
@@ -907,7 +907,7 @@ const Hv = nn(
907
907
  {
908
908
  ref: i,
909
909
  "data-slot": "badge",
910
- className: M(Hv({ variant: e }), t),
910
+ className: x(Hv({ variant: e }), t),
911
911
  ...r
912
912
  }
913
913
  ));
@@ -917,7 +917,7 @@ function Uv({ label: t, value: e, onRemove: n, className: r }) {
917
917
  be,
918
918
  {
919
919
  variant: "secondary",
920
- className: M(
920
+ className: x(
921
921
  "gap-1 pr-1 pl-2 h-7",
922
922
  n && "pr-1",
923
923
  r
@@ -952,7 +952,7 @@ function Fv({
952
952
  children: i
953
953
  }) {
954
954
  const a = t.length > 0;
955
- return /* @__PURE__ */ b("div", { className: M("flex items-center gap-2 flex-wrap", r), children: [
955
+ return /* @__PURE__ */ b("div", { className: x("flex items-center gap-2 flex-wrap", r), children: [
956
956
  /* @__PURE__ */ b(
957
957
  H,
958
958
  {
@@ -1009,7 +1009,7 @@ const lt = T.forwardRef(({ className: t, align: e = "center", sideOffset: n = 4,
1009
1009
  "data-slot": "popover-content",
1010
1010
  align: e,
1011
1011
  sideOffset: n,
1012
- className: M(
1012
+ className: x(
1013
1013
  "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",
1014
1014
  t
1015
1015
  ),
@@ -1027,7 +1027,7 @@ function Vv({
1027
1027
  Uu.Root,
1028
1028
  {
1029
1029
  "data-slot": "checkbox",
1030
- className: M(
1030
+ className: x(
1031
1031
  "peer border bg-input-background 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",
1032
1032
  t
1033
1033
  ),
@@ -1051,7 +1051,7 @@ function tt({
1051
1051
  iv.Root,
1052
1052
  {
1053
1053
  "data-slot": "label",
1054
- className: M(
1054
+ className: x(
1055
1055
  "flex items-center gap-2 text-sm leading-none font-semibold select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",
1056
1056
  t
1057
1057
  ),
@@ -1506,18 +1506,18 @@ function ld({
1506
1506
  {
1507
1507
  showOutsideDays: n,
1508
1508
  locale: r,
1509
- className: M("p-3", t),
1509
+ className: x("p-3", t),
1510
1510
  classNames: {
1511
1511
  months: "flex flex-col sm:flex-row gap-4",
1512
1512
  month: "flex flex-col gap-4",
1513
1513
  month_caption: "flex justify-center pt-1 relative items-center",
1514
1514
  caption_label: "text-sm font-medium",
1515
1515
  nav: "space-x-1 flex items-center",
1516
- button_previous: M(
1516
+ button_previous: x(
1517
1517
  Nr({ variant: "outline" }),
1518
1518
  "absolute left-1 top-0 size-7 bg-background p-0 hover:bg-accent hover:text-accent-foreground rounded-md border-border z-10"
1519
1519
  ),
1520
- button_next: M(
1520
+ button_next: x(
1521
1521
  Nr({ variant: "outline" }),
1522
1522
  "absolute right-1 top-0 size-7 bg-background p-0 hover:bg-accent hover:text-accent-foreground rounded-md border-border z-10"
1523
1523
  ),
@@ -1526,7 +1526,7 @@ function ld({
1526
1526
  weekday: "text-muted-foreground rounded-md w-9 font-normal text-[0.8rem]",
1527
1527
  week: "flex w-full mt-2",
1528
1528
  day: "h-9 w-9 text-center text-sm p-0 relative [&:has([aria-selected].outside)]:bg-accent/50 [&:has([aria-selected])]:bg-accent first:[&:has([aria-selected])]:rounded-l-md last:[&:has([aria-selected])]:rounded-r-md focus-within:relative focus-within:z-20 rounded-md",
1529
- day_button: M(
1529
+ day_button: x(
1530
1530
  Nr({ variant: "ghost" }),
1531
1531
  "h-9 w-9 p-0 font-normal aria-selected:opacity-100 rounded-md"
1532
1532
  ),
@@ -1589,12 +1589,12 @@ function is({
1589
1589
  }) {
1590
1590
  const [u, p] = T.useMemo(() => {
1591
1591
  if (!t) return ["", ""];
1592
- const [v, x] = t.split(":");
1593
- return [v || "", x || ""];
1594
- }, [t]), [h, m] = T.useState(() => u && parseInt(u) >= 12 ? "PM" : "AM"), g = (v, x, C) => {
1595
- if (!v || !x) return;
1592
+ const [v, M] = t.split(":");
1593
+ return [v || "", M || ""];
1594
+ }, [t]), [h, m] = T.useState(() => u && parseInt(u) >= 12 ? "PM" : "AM"), g = (v, M, C) => {
1595
+ if (!v || !M) return;
1596
1596
  let w = parseInt(v);
1597
- const N = parseInt(x);
1597
+ const N = parseInt(M);
1598
1598
  n === "12h" && C && (w = Cw(w, C));
1599
1599
  const L = `${w.toString().padStart(2, "0")}:${N.toString().padStart(2, "0")}`;
1600
1600
  Zu(L, i, a) && (e == null || e(L));
@@ -1612,7 +1612,7 @@ function is({
1612
1612
  e == null || e(C);
1613
1613
  };
1614
1614
  if (d === "input")
1615
- return /* @__PURE__ */ b("div", { className: M("relative", l), children: [
1615
+ return /* @__PURE__ */ b("div", { className: x("relative", l), children: [
1616
1616
  c && /* @__PURE__ */ f(mi, { className: "absolute left-3 top-1/2 -translate-y-1/2 size-4 text-muted-foreground pointer-events-none" }),
1617
1617
  /* @__PURE__ */ f(
1618
1618
  Xt,
@@ -1622,14 +1622,14 @@ function is({
1622
1622
  onChange: y,
1623
1623
  placeholder: s,
1624
1624
  disabled: o,
1625
- className: M(c && "pl-9"),
1625
+ className: x(c && "pl-9"),
1626
1626
  maxLength: 5
1627
1627
  }
1628
1628
  )
1629
1629
  ] });
1630
1630
  if (d === "select") {
1631
- const v = Wu(n), x = $u(r), C = n === "12h" && u ? xw(parseInt(u)).hour.toString().padStart(2, "0") : u;
1632
- return /* @__PURE__ */ b("div", { className: M("flex items-center gap-2", l), children: [
1631
+ const v = Wu(n), M = $u(r), C = n === "12h" && u ? xw(parseInt(u)).hour.toString().padStart(2, "0") : u;
1632
+ return /* @__PURE__ */ b("div", { className: x("flex items-center gap-2", l), children: [
1633
1633
  c && /* @__PURE__ */ f(mi, { className: "size-4 text-muted-foreground" }),
1634
1634
  /* @__PURE__ */ b(
1635
1635
  Sn,
@@ -1656,7 +1656,7 @@ function is({
1656
1656
  disabled: o,
1657
1657
  children: [
1658
1658
  /* @__PURE__ */ f(Tn, { className: "w-[70px]", children: /* @__PURE__ */ f(In, { placeholder: "MM" }) }),
1659
- /* @__PURE__ */ f(jn, { children: x.map((w) => /* @__PURE__ */ f(Wt, { value: w, children: w }, w)) })
1659
+ /* @__PURE__ */ f(jn, { children: M.map((w) => /* @__PURE__ */ f(Wt, { value: w, children: w }, w)) })
1660
1660
  ]
1661
1661
  }
1662
1662
  ),
@@ -1680,8 +1680,8 @@ function is({
1680
1680
  ] });
1681
1681
  }
1682
1682
  if (d === "inline") {
1683
- const v = Wu(n), x = $u(r);
1684
- return /* @__PURE__ */ b("div", { className: M("flex items-center gap-2", l), children: [
1683
+ const v = Wu(n), M = $u(r);
1684
+ return /* @__PURE__ */ b("div", { className: x("flex items-center gap-2", l), children: [
1685
1685
  c && /* @__PURE__ */ f(mi, { className: "size-4 text-muted-foreground" }),
1686
1686
  /* @__PURE__ */ f(tt, { className: "text-sm text-muted-foreground", children: "Horário:" }),
1687
1687
  /* @__PURE__ */ b(
@@ -1705,7 +1705,7 @@ function is({
1705
1705
  disabled: o,
1706
1706
  children: [
1707
1707
  /* @__PURE__ */ f(Tn, { className: "w-[65px] h-8 text-sm", children: /* @__PURE__ */ f(In, { placeholder: "MM" }) }),
1708
- /* @__PURE__ */ f(jn, { children: x.map((C) => /* @__PURE__ */ f(Wt, { value: C, children: C }, C)) })
1708
+ /* @__PURE__ */ f(jn, { children: M.map((C) => /* @__PURE__ */ f(Wt, { value: C, children: C }, C)) })
1709
1709
  ]
1710
1710
  }
1711
1711
  ),
@@ -1749,7 +1749,7 @@ function y1({
1749
1749
  id: m,
1750
1750
  name: g
1751
1751
  }) {
1752
- const [y, v] = T.useState(!1), [x, C] = T.useState(""), [w, N] = T.useState(!1), L = o || (d ? "dd/MM/yyyy HH:mm" : "dd/MM/yyyy"), k = T.useMemo(() => d ? [
1752
+ const [y, v] = T.useState(!1), [M, C] = T.useState(""), [w, N] = T.useState(!1), L = o || (d ? "dd/MM/yyyy HH:mm" : "dd/MM/yyyy"), k = T.useMemo(() => d ? [
1753
1753
  "dd/MM/yyyy HH:mm",
1754
1754
  "dd/MM/yyyy HH:mm:ss",
1755
1755
  "dd/MM/yy HH:mm",
@@ -1807,11 +1807,11 @@ function y1({
1807
1807
  const _ = D.target.value;
1808
1808
  C(_), N(!1);
1809
1809
  }, J = () => {
1810
- if (!x.trim()) {
1810
+ if (!M.trim()) {
1811
1811
  e == null || e(void 0), N(!1);
1812
1812
  return;
1813
1813
  }
1814
- const D = O(x);
1814
+ const D = O(M);
1815
1815
  D ? (e == null || e(D), N(!1)) : N(!0);
1816
1816
  }, Y = (D) => {
1817
1817
  D.key === "Enter" ? (D.preventDefault(), J(), w || v(!0)) : D.key === "Escape" && (D.preventDefault(), C(t ? fe(t, L, { locale: s }) : ""), N(!1));
@@ -1825,14 +1825,14 @@ function y1({
1825
1825
  {
1826
1826
  id: m,
1827
1827
  name: g,
1828
- value: x,
1828
+ value: M,
1829
1829
  onChange: U,
1830
1830
  onBlur: J,
1831
1831
  onKeyDown: Y,
1832
1832
  placeholder: n,
1833
1833
  disabled: r,
1834
1834
  "aria-invalid": c || w,
1835
- className: M(
1835
+ className: x(
1836
1836
  "pr-20",
1837
1837
  (c || w) && "border-destructive focus-visible:ring-destructive/20",
1838
1838
  l
@@ -1840,7 +1840,7 @@ function y1({
1840
1840
  }
1841
1841
  ),
1842
1842
  /* @__PURE__ */ b("div", { className: "absolute inset-y-0 right-0 flex items-center gap-1 pr-1", children: [
1843
- x && !r && /* @__PURE__ */ b(
1843
+ M && !r && /* @__PURE__ */ b(
1844
1844
  H,
1845
1845
  {
1846
1846
  type: "button",
@@ -1945,7 +1945,7 @@ function Lw({
1945
1945
  t.map((c) => c.id === s ? { ...c, ...l } : c)
1946
1946
  );
1947
1947
  };
1948
- return /* @__PURE__ */ b("div", { className: M("space-y-3", r), children: [
1948
+ return /* @__PURE__ */ b("div", { className: x("space-y-3", r), children: [
1949
1949
  t.length === 0 ? /* @__PURE__ */ f("div", { className: "text-center py-8 text-muted-foreground text-sm", children: 'Nenhuma condição de filtro. Clique em "Adicionar condição" para começar.' }) : t.map((s, l) => /* @__PURE__ */ f(
1950
1950
  Nw,
1951
1951
  {
@@ -1986,7 +1986,7 @@ function Nw({
1986
1986
  r({ value: g });
1987
1987
  return;
1988
1988
  }
1989
- const y = Array.isArray(t.value) ? t.value : [], v = y.includes(g) ? y.filter((x) => x !== g) : [...y, g];
1989
+ const y = Array.isArray(t.value) ? t.value : [], v = y.includes(g) ? y.filter((M) => M !== g) : [...y, g];
1990
1990
  r({ value: v });
1991
1991
  }, h = (g) => {
1992
1992
  if (!s) return;
@@ -2011,7 +2011,7 @@ function Nw({
2011
2011
  {
2012
2012
  variant: "ghost",
2013
2013
  size: "sm",
2014
- className: M(
2014
+ className: x(
2015
2015
  "w-full justify-start",
2016
2016
  t.field === g.value && "bg-muted"
2017
2017
  ),
@@ -2039,7 +2039,7 @@ function Nw({
2039
2039
  {
2040
2040
  variant: "ghost",
2041
2041
  size: "sm",
2042
- className: M(
2042
+ className: x(
2043
2043
  "w-full justify-start",
2044
2044
  t.operator === g.value && "bg-muted"
2045
2045
  ),
@@ -2119,7 +2119,7 @@ function Nw({
2119
2119
  {
2120
2120
  variant: "ghost",
2121
2121
  size: "sm",
2122
- className: M(
2122
+ className: x(
2123
2123
  "w-full justify-start",
2124
2124
  v && "bg-muted"
2125
2125
  ),
@@ -2179,8 +2179,8 @@ function Nw({
2179
2179
  ] })
2180
2180
  ),
2181
2181
  s && u.length > 0 && /* @__PURE__ */ f("div", { className: "flex items-center gap-1 flex-wrap", children: u.map((g) => {
2182
- var v, x;
2183
- const y = ((x = (v = a == null ? void 0 : a.options) == null ? void 0 : v.find((C) => C.value === g)) == null ? void 0 : x.label) || g;
2182
+ var v, M;
2183
+ const y = ((M = (v = a == null ? void 0 : a.options) == null ? void 0 : v.find((C) => C.value === g)) == null ? void 0 : M.label) || g;
2184
2184
  return /* @__PURE__ */ b(
2185
2185
  be,
2186
2186
  {
@@ -2241,7 +2241,7 @@ function kw({
2241
2241
  var Z, ne;
2242
2242
  const y = !!u, {
2243
2243
  data: v,
2244
- state: x,
2244
+ state: M,
2245
2245
  handlers: C,
2246
2246
  getSortDirection: w
2247
2247
  } = Bv({
@@ -2340,7 +2340,7 @@ function kw({
2340
2340
  A([]), y && (u != null && u.onFilterChange) ? u.onFilterChange([], N) : (C.clearFilters(), N && C.setFilter(O, N, "contains"));
2341
2341
  }, Ce = Le(async (E) => {
2342
2342
  if (y && (u != null && u.onSortChange)) {
2343
- const B = x.sort;
2343
+ const B = M.sort;
2344
2344
  let ee = "asc";
2345
2345
  B.column === E && (ee = B.direction === "asc" ? "desc" : B.direction === "desc" ? null : "asc");
2346
2346
  const pe = {
@@ -2350,11 +2350,11 @@ function kw({
2350
2350
  C.onSort(E), await u.onSortChange(pe);
2351
2351
  } else
2352
2352
  C.onSort(E);
2353
- }, [y, u, x.sort, C]), Ae = Le(async (E) => {
2354
- y && (u != null && u.onPageChange) ? await u.onPageChange(E, x.pagination.pageSize) : x.pagination.onPageChange && x.pagination.onPageChange(E);
2355
- }, [y, u, x.pagination]), Ie = Le(async (E) => {
2356
- y && (u != null && u.onPageChange) ? await u.onPageChange(1, E) : x.pagination.onPageSizeChange && x.pagination.onPageSizeChange(E);
2357
- }, [y, u, x.pagination]), V = () => {
2353
+ }, [y, u, M.sort, C]), Ae = Le(async (E) => {
2354
+ y && (u != null && u.onPageChange) ? await u.onPageChange(E, M.pagination.pageSize) : M.pagination.onPageChange && M.pagination.onPageChange(E);
2355
+ }, [y, u, M.pagination]), Ie = Le(async (E) => {
2356
+ y && (u != null && u.onPageChange) ? await u.onPageChange(1, E) : M.pagination.onPageSizeChange && M.pagination.onPageSizeChange(E);
2357
+ }, [y, u, M.pagination]), V = () => {
2358
2358
  const E = I.length > 0, B = N.trim().length > 0;
2359
2359
  return typeof h == "string" || m ? /* @__PURE__ */ f("div", { className: "text-sm text-muted-foreground", children: E || B ? "Nenhum resultado encontrado para os filtros aplicados." : typeof h == "string" ? h : m || "Nenhum dado disponível." }) : h && typeof h == "object" ? E || B ? /* @__PURE__ */ f(
2360
2360
  Gu,
@@ -2384,7 +2384,7 @@ function kw({
2384
2384
  }
2385
2385
  ) : /* @__PURE__ */ f("div", { className: "text-sm text-muted-foreground", children: E || B ? "Nenhum resultado encontrado para os filtros aplicados." : "Nenhum dado disponível." });
2386
2386
  };
2387
- return /* @__PURE__ */ b("div", { className: M("space-y-4", g), children: [
2387
+ return /* @__PURE__ */ b("div", { className: x("space-y-4", g), children: [
2388
2388
  /* @__PURE__ */ b("div", { className: "flex items-center justify-between gap-2", children: [
2389
2389
  /* @__PURE__ */ b("div", { className: "flex items-center gap-2 flex-1", children: [
2390
2390
  i && /* @__PURE__ */ b("div", { className: "relative max-w-sm flex-1", children: [
@@ -2456,7 +2456,7 @@ function kw({
2456
2456
  /* @__PURE__ */ f(p1, { children: /* @__PURE__ */ f(ta, { children: e.map((E) => /* @__PURE__ */ b(
2457
2457
  g1,
2458
2458
  {
2459
- className: M(
2459
+ className: x(
2460
2460
  E.headerClassName,
2461
2461
  E.sortable && "cursor-pointer select-none hover:bg-muted/50 transition-colors",
2462
2462
  E.sortable && w(E.key) && "text-primary"
@@ -2473,13 +2473,13 @@ function kw({
2473
2473
  )) }) }),
2474
2474
  /* @__PURE__ */ f(m1, { children: p ? (
2475
2475
  // SKELETON ROWS - limitar a max 15 para performance
2476
- Array.from({ length: Math.min(x.pagination.pageSize, 15) }).map((E, B) => /* @__PURE__ */ f(ta, { children: e.map((ee, pe) => /* @__PURE__ */ f(Ho, { className: ee.className, children: /* @__PURE__ */ f(vr, { className: "h-4 w-full" }) }, pe)) }, `skeleton-${B}`))
2476
+ Array.from({ length: Math.min(M.pagination.pageSize, 15) }).map((E, B) => /* @__PURE__ */ f(ta, { children: e.map((ee, pe) => /* @__PURE__ */ f(Ho, { className: ee.className, children: /* @__PURE__ */ f(vr, { className: "h-4 w-full" }) }, pe)) }, `skeleton-${B}`))
2477
2477
  ) : v.length > 0 ? (
2478
2478
  // DADOS NORMAIS
2479
2479
  v.map((E, B) => /* @__PURE__ */ f(ta, { children: e.map((ee) => /* @__PURE__ */ f(
2480
2480
  Ho,
2481
2481
  {
2482
- className: M(ee.className, ee.align ? `text-${ee.align}` : "text-left"),
2482
+ className: x(ee.className, ee.align ? `text-${ee.align}` : "text-left"),
2483
2483
  children: ee.render ? ee.render(E[ee.key], E, B) : E[ee.key]
2484
2484
  },
2485
2485
  String(ee.key)
@@ -2499,10 +2499,10 @@ function kw({
2499
2499
  /* @__PURE__ */ f(
2500
2500
  b1,
2501
2501
  {
2502
- currentPage: x.pagination.currentPage,
2503
- totalPages: Math.ceil(x.pagination.totalItems / x.pagination.pageSize),
2504
- pageSize: x.pagination.pageSize,
2505
- totalItems: x.pagination.totalItems,
2502
+ currentPage: M.pagination.currentPage,
2503
+ totalPages: Math.ceil(M.pagination.totalItems / M.pagination.pageSize),
2504
+ pageSize: M.pagination.pageSize,
2505
+ totalItems: M.pagination.totalItems,
2506
2506
  onPageChange: Ae,
2507
2507
  onPageSizeChange: Ie,
2508
2508
  pageSizeOptions: l
@@ -2530,7 +2530,7 @@ function Sw({
2530
2530
  emptyState: y,
2531
2531
  emptyMessage: v,
2532
2532
  // deprecated
2533
- className: x,
2533
+ className: M,
2534
2534
  serverConfig: C
2535
2535
  }, w) {
2536
2536
  const N = /* @__PURE__ */ f(
@@ -2553,13 +2553,13 @@ function Sw({
2553
2553
  emptyMessage: v
2554
2554
  }
2555
2555
  );
2556
- return p ? /* @__PURE__ */ b(Mi, { ref: w, className: M(h, x), children: [
2556
+ return p ? /* @__PURE__ */ b(Mi, { ref: w, className: x(h, M), children: [
2557
2557
  (n || r) && /* @__PURE__ */ b("div", { className: "mb-6", children: [
2558
2558
  n && /* @__PURE__ */ f("h2", { className: "text-lg font-semibold", children: n }),
2559
2559
  r && /* @__PURE__ */ f("p", { className: "text-sm text-muted-foreground mt-1", children: r })
2560
2560
  ] }),
2561
2561
  N
2562
- ] }) : /* @__PURE__ */ b("div", { ref: w, className: x, children: [
2562
+ ] }) : /* @__PURE__ */ b("div", { ref: w, className: M, children: [
2563
2563
  (n || r) && /* @__PURE__ */ b("div", { className: "mb-6", children: [
2564
2564
  n && /* @__PURE__ */ f("h2", { className: "text-lg font-semibold", children: n }),
2565
2565
  r && /* @__PURE__ */ f("p", { className: "text-sm text-muted-foreground mt-1", children: r })
@@ -2596,7 +2596,7 @@ function f8({
2596
2596
  {
2597
2597
  "data-slot": "alert",
2598
2598
  role: "alert",
2599
- className: M(Tw({ variant: e }), t),
2599
+ className: x(Tw({ variant: e }), t),
2600
2600
  ...n
2601
2601
  }
2602
2602
  );
@@ -2606,7 +2606,7 @@ function c8({ className: t, ...e }) {
2606
2606
  "div",
2607
2607
  {
2608
2608
  "data-slot": "alert-title",
2609
- className: M(
2609
+ className: x(
2610
2610
  "col-start-2 line-clamp-1 min-h-4 font-semibold leading-[1.2] tracking-tight",
2611
2611
  t
2612
2612
  ),
@@ -2622,7 +2622,7 @@ function d8({
2622
2622
  "div",
2623
2623
  {
2624
2624
  "data-slot": "alert-description",
2625
- className: M(
2625
+ className: x(
2626
2626
  "text-muted-foreground col-start-2 grid justify-items-start gap-1 text-sm [&_p]:leading-relaxed",
2627
2627
  t
2628
2628
  ),
@@ -2650,7 +2650,7 @@ const v1 = T.forwardRef(({ className: t, ...e }, n) => /* @__PURE__ */ f(
2650
2650
  {
2651
2651
  ref: n,
2652
2652
  "data-slot": "alert-dialog-overlay",
2653
- className: M(
2653
+ className: x(
2654
2654
  "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",
2655
2655
  t
2656
2656
  ),
@@ -2668,7 +2668,7 @@ function p8({
2668
2668
  mn.Content,
2669
2669
  {
2670
2670
  "data-slot": "alert-dialog-content",
2671
- className: M(
2671
+ className: x(
2672
2672
  "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",
2673
2673
  t
2674
2674
  ),
@@ -2685,7 +2685,7 @@ function m8({
2685
2685
  "div",
2686
2686
  {
2687
2687
  "data-slot": "alert-dialog-header",
2688
- className: M("flex flex-col gap-2 text-center sm:text-left", t),
2688
+ className: x("flex flex-col gap-2 text-center sm:text-left", t),
2689
2689
  ...e
2690
2690
  }
2691
2691
  );
@@ -2698,7 +2698,7 @@ function g8({
2698
2698
  "div",
2699
2699
  {
2700
2700
  "data-slot": "alert-dialog-footer",
2701
- className: M(
2701
+ className: x(
2702
2702
  "flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",
2703
2703
  t
2704
2704
  ),
@@ -2714,7 +2714,7 @@ function b8({
2714
2714
  mn.Title,
2715
2715
  {
2716
2716
  "data-slot": "alert-dialog-title",
2717
- className: M("text-lg font-semibold leading-[1.2]", t),
2717
+ className: x("text-lg font-semibold leading-[1.2]", t),
2718
2718
  ...e
2719
2719
  }
2720
2720
  );
@@ -2727,7 +2727,7 @@ function y8({
2727
2727
  mn.Description,
2728
2728
  {
2729
2729
  "data-slot": "alert-dialog-description",
2730
- className: M("text-muted-foreground text-sm leading-relaxed", t),
2730
+ className: x("text-muted-foreground text-sm leading-relaxed", t),
2731
2731
  ...e
2732
2732
  }
2733
2733
  );
@@ -2739,7 +2739,7 @@ function v8({
2739
2739
  return /* @__PURE__ */ f(
2740
2740
  mn.Action,
2741
2741
  {
2742
- className: M(Nr(), t),
2742
+ className: x(Nr(), t),
2743
2743
  ...e
2744
2744
  }
2745
2745
  );
@@ -2751,7 +2751,7 @@ function w8({
2751
2751
  return /* @__PURE__ */ f(
2752
2752
  mn.Cancel,
2753
2753
  {
2754
- className: M(Nr({ variant: "outline" }), t),
2754
+ className: x(Nr({ variant: "outline" }), t),
2755
2755
  ...e
2756
2756
  }
2757
2757
  );
@@ -2765,7 +2765,7 @@ function fd({
2765
2765
  fa.Root,
2766
2766
  {
2767
2767
  "data-slot": "scroll-area",
2768
- className: M("relative", t),
2768
+ className: x("relative", t),
2769
2769
  ...n,
2770
2770
  children: [
2771
2771
  /* @__PURE__ */ f(
@@ -2792,7 +2792,7 @@ function Dw({
2792
2792
  {
2793
2793
  "data-slot": "scroll-area-scrollbar",
2794
2794
  orientation: e,
2795
- className: M(
2795
+ className: x(
2796
2796
  "flex touch-none p-px transition-colors select-none",
2797
2797
  e === "vertical" && "h-full w-2.5 border-l border-l-transparent",
2798
2798
  e === "horizontal" && "h-2.5 flex-col border-t border-t-transparent",
@@ -2834,7 +2834,7 @@ const qu = {
2834
2834
  pb292700: "M35.4086 9.31285C36.1566 10.1046 36.5616 11.1597 36.5357 12.2486C36.562 13.3426 36.1572 14.4032 35.4086 15.2014C35.0701 15.5832 34.6534 15.8876 34.1867 16.094C33.7201 16.3003 33.2144 16.4037 32.7043 16.3971C32.2189 16.4239 31.7343 16.3336 31.2912 16.1337C30.8481 15.9337 30.4596 15.6302 30.1586 15.2486V19.6371H29.1686C28.8946 19.6371 28.6319 19.5283 28.4382 19.3346C28.2445 19.1409 28.1357 18.8782 28.1357 18.6043V8.31857H29.3314C29.4402 8.318 29.548 8.33901 29.6486 8.38037C29.7492 8.42174 29.8406 8.48264 29.9176 8.55957C29.9945 8.63649 30.0554 8.7279 30.0967 8.82851C30.1381 8.92912 30.1591 9.03693 30.1586 9.14571V9.24428C30.4606 8.864 30.8493 8.56165 31.2923 8.36255C31.7352 8.16346 32.2194 8.07343 32.7043 8.1C33.2156 8.09642 33.7218 8.20287 34.1884 8.41214C34.655 8.62141 35.0711 8.92859 35.4086 9.31285V9.31285ZM32.3271 14.4557C32.6145 14.465 32.9008 14.4155 33.1683 14.3101C33.4359 14.2047 33.679 14.0457 33.8828 13.8429C34.0917 13.6329 34.2554 13.3823 34.3638 13.1067C34.4721 12.831 34.5229 12.536 34.5128 12.24C34.5244 11.9463 34.4743 11.6535 34.3658 11.3804C34.2573 11.1073 34.0928 10.86 33.8828 10.6543C33.4656 10.2505 32.9077 10.0248 32.3271 10.0248C31.7465 10.0248 31.1887 10.2505 30.7714 10.6543C30.5665 10.8628 30.4064 11.1111 30.301 11.3838C30.1956 11.6565 30.1471 11.9479 30.1586 12.24C30.1495 12.5344 30.199 12.8278 30.3042 13.1029C30.4094 13.3781 30.5682 13.6296 30.7714 13.8429C30.9757 14.0456 31.2187 14.2051 31.486 14.3119C31.7533 14.4187 32.0394 14.4705 32.3271 14.4643V14.4557Z"
2835
2835
  };
2836
2836
  function Xf({ variant: t = "full", mode: e = "positive", className: n, ...r }) {
2837
- return t === "symbol" ? /* @__PURE__ */ f("div", { className: M("relative inline-block", n), ...r, "data-name": "Logo Símbolo", children: /* @__PURE__ */ b(
2837
+ return t === "symbol" ? /* @__PURE__ */ f("div", { className: x("relative inline-block", n), ...r, "data-name": "Logo Símbolo", children: /* @__PURE__ */ b(
2838
2838
  "svg",
2839
2839
  {
2840
2840
  className: "block w-full h-full",
@@ -2846,7 +2846,7 @@ function Xf({ variant: t = "full", mode: e = "positive", className: n, ...r }) {
2846
2846
  /* @__PURE__ */ f("path", { d: qu.p395de780, fill: "#E62EA8", transform: "translate(11.65, 7.32)" })
2847
2847
  ]
2848
2848
  }
2849
- ) }) : e === "positive" ? /* @__PURE__ */ f("div", { className: M("relative inline-block", n), ...r, "data-name": "Logo", children: /* @__PURE__ */ b(
2849
+ ) }) : e === "positive" ? /* @__PURE__ */ f("div", { className: x("relative inline-block", n), ...r, "data-name": "Logo", children: /* @__PURE__ */ b(
2850
2850
  "svg",
2851
2851
  {
2852
2852
  className: "block w-full h-full",
@@ -2870,7 +2870,7 @@ function Xf({ variant: t = "full", mode: e = "positive", className: n, ...r }) {
2870
2870
  /* @__PURE__ */ f("defs", { children: /* @__PURE__ */ f("clipPath", { id: "clip0_positive", children: /* @__PURE__ */ f("rect", { width: "122.201", height: "67", fill: "white" }) }) })
2871
2871
  ]
2872
2872
  }
2873
- ) }) : /* @__PURE__ */ f("div", { className: M("relative inline-block", n), ...r, "data-name": "Logo Negative", children: /* @__PURE__ */ b(
2873
+ ) }) : /* @__PURE__ */ f("div", { className: x("relative inline-block", n), ...r, "data-name": "Logo Negative", children: /* @__PURE__ */ b(
2874
2874
  "svg",
2875
2875
  {
2876
2876
  className: "block w-full h-full",
@@ -2927,7 +2927,7 @@ function dl({
2927
2927
  {
2928
2928
  "data-slot": "dropdown-menu-content",
2929
2929
  sideOffset: e,
2930
- className: M(
2930
+ className: x(
2931
2931
  "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",
2932
2932
  t
2933
2933
  ),
@@ -2952,7 +2952,7 @@ function bi({
2952
2952
  "data-slot": "dropdown-menu-item",
2953
2953
  "data-inset": e,
2954
2954
  "data-variant": n,
2955
- className: M(
2955
+ className: x(
2956
2956
  "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]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
2957
2957
  t
2958
2958
  ),
@@ -2970,7 +2970,7 @@ function x8({
2970
2970
  Ze.CheckboxItem,
2971
2971
  {
2972
2972
  "data-slot": "dropdown-menu-checkbox-item",
2973
- className: M(
2973
+ className: x(
2974
2974
  "focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-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",
2975
2975
  t
2976
2976
  ),
@@ -3003,7 +3003,7 @@ function L8({
3003
3003
  Ze.RadioItem,
3004
3004
  {
3005
3005
  "data-slot": "dropdown-menu-radio-item",
3006
- className: M(
3006
+ className: x(
3007
3007
  "focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-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",
3008
3008
  t
3009
3009
  ),
@@ -3025,7 +3025,7 @@ function Aw({
3025
3025
  {
3026
3026
  "data-slot": "dropdown-menu-label",
3027
3027
  "data-inset": e,
3028
- className: M(
3028
+ className: x(
3029
3029
  "px-2 py-1.5 text-sm font-semibold data-[inset]:pl-8",
3030
3030
  t
3031
3031
  ),
@@ -3041,7 +3041,7 @@ function ec({
3041
3041
  Ze.Separator,
3042
3042
  {
3043
3043
  "data-slot": "dropdown-menu-separator",
3044
- className: M("bg-border -mx-1 my-1 h-px", t),
3044
+ className: x("bg-border -mx-1 my-1 h-px", t),
3045
3045
  ...e
3046
3046
  }
3047
3047
  );
@@ -3054,7 +3054,7 @@ function N8({
3054
3054
  "span",
3055
3055
  {
3056
3056
  "data-slot": "dropdown-menu-shortcut",
3057
- className: M(
3057
+ className: x(
3058
3058
  "text-muted-foreground ml-auto text-xs tracking-widest",
3059
3059
  t
3060
3060
  ),
@@ -3078,7 +3078,7 @@ function S8({
3078
3078
  {
3079
3079
  "data-slot": "dropdown-menu-sub-trigger",
3080
3080
  "data-inset": e,
3081
- className: M(
3081
+ className: x(
3082
3082
  "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]:pl-8",
3083
3083
  t
3084
3084
  ),
@@ -3098,7 +3098,7 @@ function I8({
3098
3098
  Ze.SubContent,
3099
3099
  {
3100
3100
  "data-slot": "dropdown-menu-sub-content",
3101
- className: M(
3101
+ className: x(
3102
3102
  "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",
3103
3103
  t
3104
3104
  ),
@@ -3129,7 +3129,7 @@ const zw = nn(
3129
3129
  {
3130
3130
  ref: n,
3131
3131
  "data-slot": "avatar",
3132
- className: M(
3132
+ className: x(
3133
3133
  "relative flex size-10 shrink-0 overflow-hidden rounded-full",
3134
3134
  t
3135
3135
  ),
@@ -3142,7 +3142,7 @@ const tr = T.forwardRef(({ className: t, ...e }, n) => /* @__PURE__ */ f(
3142
3142
  {
3143
3143
  ref: n,
3144
3144
  "data-slot": "avatar-image",
3145
- className: M("aspect-square size-full", t),
3145
+ className: x("aspect-square size-full", t),
3146
3146
  ...e
3147
3147
  }
3148
3148
  ));
@@ -3152,7 +3152,7 @@ const tn = T.forwardRef(({ className: t, colorVariant: e, ...n }, r) => /* @__PU
3152
3152
  {
3153
3153
  ref: r,
3154
3154
  "data-slot": "avatar-fallback",
3155
- className: M(zw({ colorVariant: e }), t),
3155
+ className: x(zw({ colorVariant: e }), t),
3156
3156
  ...n
3157
3157
  }
3158
3158
  ));
@@ -3180,24 +3180,25 @@ const Ow = [
3180
3180
  function Pw({
3181
3181
  user: t,
3182
3182
  menuItems: e = Ow,
3183
- expanded: n = !0,
3184
- className: r
3183
+ onLogout: n,
3184
+ expanded: r = !0,
3185
+ className: i
3185
3186
  }) {
3186
- const i = t.initials || t.name.split(" ").map((a) => a[0]).slice(0, 2).join("").toUpperCase();
3187
+ const a = t.initials || t.name.split(" ").map((o) => o[0]).slice(0, 2).join("").toUpperCase();
3187
3188
  return /* @__PURE__ */ b(fl, { children: [
3188
3189
  /* @__PURE__ */ f(cl, { asChild: !0, children: /* @__PURE__ */ b(
3189
3190
  "button",
3190
3191
  {
3191
- className: M(
3192
+ className: x(
3192
3193
  "flex w-full items-center gap-3 rounded-lg p-2 transition-colors hover:bg-accent",
3193
- r
3194
+ i
3194
3195
  ),
3195
3196
  children: [
3196
3197
  /* @__PURE__ */ b(en, { className: "h-8 w-8", children: [
3197
3198
  /* @__PURE__ */ f(tr, { src: t.avatar, alt: t.name }),
3198
- /* @__PURE__ */ f(tn, { className: "bg-primary text-primary-foreground text-xs", children: i })
3199
+ /* @__PURE__ */ f(tn, { className: "bg-primary text-primary-foreground text-xs", children: a })
3199
3200
  ] }),
3200
- n && /* @__PURE__ */ b("div", { className: "flex min-w-0 flex-1 flex-col items-start overflow-hidden", children: [
3201
+ r && /* @__PURE__ */ b("div", { className: "flex min-w-0 flex-1 flex-col items-start overflow-hidden", children: [
3201
3202
  /* @__PURE__ */ f("span", { className: "truncate text-sm font-medium", children: t.name }),
3202
3203
  t.email && /* @__PURE__ */ f("span", { className: "truncate text-xs text-muted-foreground", children: t.email })
3203
3204
  ] })
@@ -3210,28 +3211,28 @@ function Pw({
3210
3211
  t.email && /* @__PURE__ */ f("p", { className: "text-xs leading-none text-muted-foreground", children: t.email })
3211
3212
  ] }) }),
3212
3213
  /* @__PURE__ */ f(ec, {}),
3213
- /* @__PURE__ */ f(Ew, { children: e.map((a, o) => {
3214
- const s = a.icon;
3214
+ /* @__PURE__ */ f(Ew, { children: e.map((o, s) => {
3215
+ const l = o.icon;
3215
3216
  return /* @__PURE__ */ b(
3216
3217
  bi,
3217
3218
  {
3218
- onClick: a.onClick,
3219
- className: M(
3220
- a.variant === "destructive" && "text-destructive focus:text-destructive"
3219
+ onClick: o.onClick,
3220
+ className: x(
3221
+ o.variant === "destructive" && "text-destructive focus:text-destructive"
3221
3222
  ),
3222
3223
  children: [
3223
- /* @__PURE__ */ f(s, { className: "mr-2 h-4 w-4" }),
3224
- /* @__PURE__ */ f("span", { children: a.label })
3224
+ /* @__PURE__ */ f(l, { className: "mr-2 h-4 w-4" }),
3225
+ /* @__PURE__ */ f("span", { children: o.label })
3225
3226
  ]
3226
3227
  },
3227
- o
3228
+ s
3228
3229
  );
3229
3230
  }) }),
3230
3231
  /* @__PURE__ */ f(ec, {}),
3231
3232
  /* @__PURE__ */ b(
3232
3233
  bi,
3233
3234
  {
3234
- onClick: Xu.onClick,
3235
+ onClick: n ?? Xu.onClick,
3235
3236
  className: "text-destructive focus:text-destructive",
3236
3237
  children: [
3237
3238
  /* @__PURE__ */ f(ry, { className: "mr-2 h-4 w-4" }),
@@ -3249,69 +3250,70 @@ function T8({
3249
3250
  logoComponent: r,
3250
3251
  user: i,
3251
3252
  userMenuItems: a,
3252
- defaultPinned: o = !1,
3253
- className: s
3253
+ onLogout: o,
3254
+ defaultPinned: s = !1,
3255
+ className: l
3254
3256
  }) {
3255
- const [l, c] = T.useState(o), [d, u] = T.useState(!1), [p, h] = T.useState([]), m = l || d, g = (v) => {
3256
- h(
3257
- (x) => x.includes(v) ? x.filter((C) => C !== v) : [...x, v]
3257
+ const [c, d] = T.useState(s), [u, p] = T.useState(!1), [h, m] = T.useState([]), g = c || u, y = (M) => {
3258
+ m(
3259
+ (C) => C.includes(M) ? C.filter((w) => w !== M) : [...C, M]
3258
3260
  );
3259
- }, y = (v, x) => {
3260
- x ? g(v) : n == null || n(v);
3261
+ }, v = (M, C) => {
3262
+ C ? y(M) : n == null || n(M);
3261
3263
  };
3262
3264
  return /* @__PURE__ */ b(
3263
3265
  "div",
3264
3266
  {
3265
- className: M(
3267
+ className: x(
3266
3268
  "relative flex h-screen flex-col transition-all duration-200",
3267
- m ? "w-56" : "w-16",
3268
- s
3269
+ g ? "w-56" : "w-16",
3270
+ l
3269
3271
  ),
3270
- onMouseEnter: () => u(!0),
3271
- onMouseLeave: () => u(!1),
3272
+ onMouseEnter: () => p(!0),
3273
+ onMouseLeave: () => p(!1),
3272
3274
  children: [
3273
- /* @__PURE__ */ f("div", { className: "flex h-16 min-h-16 items-center px-2", children: m ? /* @__PURE__ */ b("div", { className: "flex min-w-0 flex-1 items-center justify-between overflow-hidden", children: [
3275
+ /* @__PURE__ */ f("div", { className: "flex h-16 min-h-16 items-center px-2", children: g ? /* @__PURE__ */ b("div", { className: "flex min-w-0 flex-1 items-center justify-between overflow-hidden", children: [
3274
3276
  r || /* @__PURE__ */ f(Xf, { variant: "full", className: "h-8 w-auto" }),
3275
3277
  /* @__PURE__ */ f(
3276
3278
  "button",
3277
3279
  {
3278
3280
  className: "flex h-6 w-6 shrink-0 items-center justify-center rounded hover:bg-accent",
3279
- onClick: () => c(!l),
3281
+ onClick: () => d(!c),
3280
3282
  children: /* @__PURE__ */ f(
3281
3283
  iy,
3282
3284
  {
3283
- className: M(
3285
+ className: x(
3284
3286
  "h-3.5 w-3.5",
3285
- l ? "fill-primary text-primary" : "text-muted-foreground"
3287
+ c ? "fill-primary text-primary" : "text-muted-foreground"
3286
3288
  )
3287
3289
  }
3288
3290
  )
3289
3291
  }
3290
3292
  )
3291
3293
  ] }) : /* @__PURE__ */ f("div", { className: "flex w-full justify-center", children: r || /* @__PURE__ */ f(Xf, { variant: "symbol", className: "h-8 w-8" }) }) }),
3292
- /* @__PURE__ */ f(fd, { className: "flex-1", children: /* @__PURE__ */ f("nav", { className: "space-y-1 py-3 px-2", children: t.map((v) => {
3293
- var L;
3294
- const x = v.icon, C = v.children && v.children.length > 0, w = p.includes(v.id), N = e === v.id || ((L = v.children) == null ? void 0 : L.some((k) => k.id === e));
3295
- return /* @__PURE__ */ b("div", { className: M(!m && "flex justify-center"), children: [
3294
+ /* @__PURE__ */ f(fd, { className: "flex-1", children: /* @__PURE__ */ f("nav", { className: "space-y-1 py-3 px-2", children: t.map((M) => {
3295
+ var k;
3296
+ const C = M.icon, w = M.children && M.children.length > 0, N = h.includes(M.id), L = e === M.id || ((k = M.children) == null ? void 0 : k.some((S) => S.id === e));
3297
+ return /* @__PURE__ */ b("div", { className: x(!g && "flex justify-center"), children: [
3296
3298
  /* @__PURE__ */ b(
3297
3299
  "button",
3298
3300
  {
3299
- onClick: () => y(v.id, !!C),
3300
- className: M(
3301
+ onClick: () => v(M.id, !!w),
3302
+ className: x(
3301
3303
  "flex items-center rounded-lg text-sm transition-colors",
3302
- m ? "w-full gap-3 px-3 py-2" : "w-10 h-10 justify-center shrink-0",
3303
- N ? "bg-accent text-accent-foreground" : "text-muted-foreground hover:bg-accent hover:text-accent-foreground"
3304
+ g ? "w-full gap-3 px-3 py-2" : "w-10 h-10 justify-center shrink-0",
3305
+ L ? "bg-accent text-accent-foreground" : "text-muted-foreground hover:bg-accent hover:text-accent-foreground"
3304
3306
  ),
3305
3307
  children: [
3306
- /* @__PURE__ */ f(x, { className: "h-4 w-4 shrink-0" }),
3307
- m && /* @__PURE__ */ b(Ue, { children: [
3308
- /* @__PURE__ */ f("span", { className: "flex-1 text-left", children: v.label }),
3309
- C && /* @__PURE__ */ f(
3308
+ /* @__PURE__ */ f(C, { className: "h-4 w-4 shrink-0" }),
3309
+ g && /* @__PURE__ */ b(Ue, { children: [
3310
+ /* @__PURE__ */ f("span", { className: "flex-1 text-left", children: M.label }),
3311
+ w && /* @__PURE__ */ f(
3310
3312
  eo,
3311
3313
  {
3312
- className: M(
3314
+ className: x(
3313
3315
  "h-4 w-4 transition-transform",
3314
- w && "rotate-180"
3316
+ N && "rotate-180"
3315
3317
  )
3316
3318
  }
3317
3319
  )
@@ -3319,32 +3321,33 @@ function T8({
3319
3321
  ]
3320
3322
  }
3321
3323
  ),
3322
- C && w && m && /* @__PURE__ */ f("div", { className: "ml-4 mt-1 space-y-1 border-l pl-2", children: v.children.map((k) => {
3323
- const S = k.icon, I = e === k.id;
3324
+ w && N && g && /* @__PURE__ */ f("div", { className: "ml-4 mt-1 space-y-1 border-l pl-2", children: M.children.map((S) => {
3325
+ const I = S.icon, A = e === S.id;
3324
3326
  return /* @__PURE__ */ b(
3325
3327
  "button",
3326
3328
  {
3327
- onClick: () => n == null ? void 0 : n(k.id),
3328
- className: M(
3329
+ onClick: () => n == null ? void 0 : n(S.id),
3330
+ className: x(
3329
3331
  "flex w-full items-center gap-2 rounded px-3 py-1.5 text-sm transition-colors",
3330
- I ? "bg-accent text-accent-foreground" : "text-muted-foreground hover:bg-accent hover:text-accent-foreground"
3332
+ A ? "bg-accent text-accent-foreground" : "text-muted-foreground hover:bg-accent hover:text-accent-foreground"
3331
3333
  ),
3332
3334
  children: [
3333
- S && /* @__PURE__ */ f(S, { className: "h-3.5 w-3.5 shrink-0" }),
3334
- /* @__PURE__ */ f("span", { className: "truncate", children: k.label })
3335
+ I && /* @__PURE__ */ f(I, { className: "h-3.5 w-3.5 shrink-0" }),
3336
+ /* @__PURE__ */ f("span", { className: "truncate", children: S.label })
3335
3337
  ]
3336
3338
  },
3337
- k.id
3339
+ S.id
3338
3340
  );
3339
3341
  }) })
3340
- ] }, v.id);
3342
+ ] }, M.id);
3341
3343
  }) }) }),
3342
3344
  i && /* @__PURE__ */ f("div", { className: "py-3 px-2", children: /* @__PURE__ */ f(
3343
3345
  Pw,
3344
3346
  {
3345
3347
  user: i,
3346
3348
  menuItems: a,
3347
- expanded: m
3349
+ onLogout: o,
3350
+ expanded: g
3348
3351
  }
3349
3352
  ) })
3350
3353
  ]
@@ -3371,27 +3374,27 @@ function j8({
3371
3374
  p(
3372
3375
  (w) => w.includes(C) ? w.filter((N) => N !== C) : [...w, C]
3373
3376
  );
3374
- }, x = (C) => C.map((w, N) => {
3377
+ }, M = (C) => C.map((w, N) => {
3375
3378
  const L = w.icon, k = w.active || n && w.label === n;
3376
3379
  return /* @__PURE__ */ b(
3377
3380
  "button",
3378
3381
  {
3379
3382
  onClick: w.onClick,
3380
- className: M(
3383
+ className: x(
3381
3384
  "flex w-full items-center gap-2 rounded-lg px-3 py-2 text-sm transition-all relative",
3382
3385
  k ? "bg-accent text-foreground font-semibold border-l-2 border-l-primary" : w.highlighted ? "bg-primary/10 text-primary font-medium" : "text-muted-foreground hover:bg-accent/50 hover:text-foreground"
3383
3386
  ),
3384
3387
  children: [
3385
- /* @__PURE__ */ f(L, { className: M(
3388
+ /* @__PURE__ */ f(L, { className: x(
3386
3389
  "h-4 w-4 shrink-0 transition-colors",
3387
3390
  k && "text-primary"
3388
3391
  ) }),
3389
- /* @__PURE__ */ f("span", { className: M("flex-1 text-left"), children: w.label }),
3392
+ /* @__PURE__ */ f("span", { className: x("flex-1 text-left"), children: w.label }),
3390
3393
  w.badge && /* @__PURE__ */ f(
3391
3394
  be,
3392
3395
  {
3393
3396
  variant: "secondary",
3394
- className: M(
3397
+ className: x(
3395
3398
  "min-w-5 px-1.5 text-xs",
3396
3399
  k && "bg-primary/10 text-primary font-medium"
3397
3400
  ),
@@ -3407,7 +3410,7 @@ function j8({
3407
3410
  return /* @__PURE__ */ b(
3408
3411
  "div",
3409
3412
  {
3410
- className: M(
3413
+ className: x(
3411
3414
  "flex flex-col bg-background transition-all duration-300 rounded-lg my-2 ml-2",
3412
3415
  g ? "w-0 overflow-hidden border-0" : "w-64 border",
3413
3416
  o
@@ -3438,7 +3441,7 @@ function j8({
3438
3441
  children: /* @__PURE__ */ f(
3439
3442
  zn,
3440
3443
  {
3441
- className: M(
3444
+ className: x(
3442
3445
  "h-4 w-4 transition-transform",
3443
3446
  !g && "rotate-180"
3444
3447
  )
@@ -3461,7 +3464,7 @@ function j8({
3461
3464
  /* @__PURE__ */ f(
3462
3465
  eo,
3463
3466
  {
3464
- className: M(
3467
+ className: x(
3465
3468
  "h-3 w-3 transition-transform",
3466
3469
  w && "-rotate-90"
3467
3470
  )
@@ -3471,10 +3474,10 @@ function j8({
3471
3474
  ]
3472
3475
  }
3473
3476
  ) : /* @__PURE__ */ f("div", { className: "px-3 py-1.5 text-xs font-semibold uppercase tracking-wider text-muted-foreground", children: C.title }),
3474
- !w && /* @__PURE__ */ f("div", { className: "space-y-0.5", children: x(C.items) })
3477
+ !w && /* @__PURE__ */ f("div", { className: "space-y-0.5", children: M(C.items) })
3475
3478
  ] }, C.title);
3476
3479
  }),
3477
- r && !e && /* @__PURE__ */ f("div", { className: "space-y-0.5", children: x(r) })
3480
+ r && !e && /* @__PURE__ */ f("div", { className: "space-y-0.5", children: M(r) })
3478
3481
  ] }) }),
3479
3482
  a && /* @__PURE__ */ f("div", { className: "p-4", children: a })
3480
3483
  ]
@@ -3511,16 +3514,16 @@ const eh = nn(
3511
3514
  footerLinks: s,
3512
3515
  formClassName: l
3513
3516
  }, c) => {
3514
- const d = t === "split", u = () => /* @__PURE__ */ b("div", { className: M(
3517
+ const d = t === "split", u = () => /* @__PURE__ */ b("div", { className: x(
3515
3518
  "flex flex-col gap-6",
3516
3519
  d ? "min-h-screen justify-center px-8 py-12 lg:px-16" : "w-full max-w-md"
3517
3520
  ), children: [
3518
- /* @__PURE__ */ f("div", { className: M("flex justify-center", d && "lg:justify-start"), children: n || /* @__PURE__ */ f(Xf, { className: "w-32 h-auto" }) }),
3521
+ /* @__PURE__ */ f("div", { className: x("flex justify-center", d && "lg:justify-start"), children: n || /* @__PURE__ */ f(Xf, { className: "w-32 h-auto" }) }),
3519
3522
  (r || i) && /* @__PURE__ */ b("div", { className: "space-y-2 text-center lg:text-left", children: [
3520
3523
  r && /* @__PURE__ */ f("h1", { className: "text-2xl font-semibold tracking-tight", children: r }),
3521
3524
  i && /* @__PURE__ */ f("p", { className: "text-sm text-muted-foreground", children: i })
3522
3525
  ] }),
3523
- /* @__PURE__ */ f("div", { className: M("space-y-6", l), children: e }),
3526
+ /* @__PURE__ */ f("div", { className: x("space-y-6", l), children: e }),
3524
3527
  s && s.length > 0 && /* @__PURE__ */ f("div", { className: "flex flex-wrap items-center justify-center gap-4 text-sm text-muted-foreground lg:justify-start", children: s.map((h, m) => /* @__PURE__ */ b(T.Fragment, { children: [
3525
3528
  /* @__PURE__ */ f(
3526
3529
  "a",
@@ -3543,10 +3546,10 @@ const eh = nn(
3543
3546
  ) : /* @__PURE__ */ f("div", { className: "absolute inset-0 flex items-center justify-center p-12", children: a }),
3544
3547
  /* @__PURE__ */ f("div", { className: "absolute inset-0 bg-gradient-to-br from-primary/10 via-transparent to-transparent" })
3545
3548
  ] });
3546
- return t === "split" ? /* @__PURE__ */ b("div", { ref: c, className: M(eh({ variant: t })), children: [
3549
+ return t === "split" ? /* @__PURE__ */ b("div", { ref: c, className: x(eh({ variant: t })), children: [
3547
3550
  /* @__PURE__ */ f(u, {}),
3548
3551
  /* @__PURE__ */ f(p, {})
3549
- ] }) : /* @__PURE__ */ f("div", { ref: c, className: M(eh({ variant: t })), children: /* @__PURE__ */ f(u, {}) });
3552
+ ] }) : /* @__PURE__ */ f("div", { ref: c, className: x(eh({ variant: t })), children: /* @__PURE__ */ f(u, {}) });
3550
3553
  }
3551
3554
  );
3552
3555
  Rw.displayName = "AuthLayout";
@@ -3558,7 +3561,7 @@ function Hw({ className: t, ...e }) {
3558
3561
  "ol",
3559
3562
  {
3560
3563
  "data-slot": "breadcrumb-list",
3561
- className: M(
3564
+ className: x(
3562
3565
  "text-muted-foreground flex flex-wrap items-center gap-1.5 text-sm break-words sm:gap-2.5",
3563
3566
  t
3564
3567
  ),
@@ -3571,7 +3574,7 @@ function Uw({ className: t, ...e }) {
3571
3574
  "li",
3572
3575
  {
3573
3576
  "data-slot": "breadcrumb-item",
3574
- className: M("inline-flex items-center gap-1.5", t),
3577
+ className: x("inline-flex items-center gap-1.5", t),
3575
3578
  ...e
3576
3579
  }
3577
3580
  );
@@ -3585,7 +3588,7 @@ function Fw({
3585
3588
  t ? Pn : "a",
3586
3589
  {
3587
3590
  "data-slot": "breadcrumb-link",
3588
- className: M("hover:text-foreground transition-colors", e),
3591
+ className: x("hover:text-foreground transition-colors", e),
3589
3592
  ...n
3590
3593
  }
3591
3594
  );
@@ -3598,7 +3601,7 @@ function Jw({ className: t, ...e }) {
3598
3601
  role: "link",
3599
3602
  "aria-disabled": "true",
3600
3603
  "aria-current": "page",
3601
- className: M("text-foreground font-normal", t),
3604
+ className: x("text-foreground font-normal", t),
3602
3605
  ...e
3603
3606
  }
3604
3607
  );
@@ -3614,7 +3617,7 @@ function Vw({
3614
3617
  "data-slot": "breadcrumb-separator",
3615
3618
  role: "presentation",
3616
3619
  "aria-hidden": "true",
3617
- className: M("[&>svg]:size-3.5", e),
3620
+ className: x("[&>svg]:size-3.5", e),
3618
3621
  ...n,
3619
3622
  children: t ?? /* @__PURE__ */ f(zn, {})
3620
3623
  }
@@ -3630,7 +3633,7 @@ function E8({
3630
3633
  "data-slot": "breadcrumb-ellipsis",
3631
3634
  role: "presentation",
3632
3635
  "aria-hidden": "true",
3633
- className: M("flex size-9 items-center justify-center", t),
3636
+ className: x("flex size-9 items-center justify-center", t),
3634
3637
  ...e,
3635
3638
  children: [
3636
3639
  /* @__PURE__ */ f(V0, { className: "size-4" }),
@@ -3697,7 +3700,7 @@ function A8({
3697
3700
  "div",
3698
3701
  {
3699
3702
  onKeyDownCapture: y,
3700
- className: M("relative", i),
3703
+ className: x("relative", i),
3701
3704
  role: "region",
3702
3705
  "aria-roledescription": "carousel",
3703
3706
  "data-slot": "carousel",
@@ -3719,7 +3722,7 @@ function z8({ className: t, ...e }) {
3719
3722
  children: /* @__PURE__ */ f(
3720
3723
  "div",
3721
3724
  {
3722
- className: M(
3725
+ className: x(
3723
3726
  "flex",
3724
3727
  r === "horizontal" ? "-ml-4" : "-mt-4 flex-col",
3725
3728
  t
@@ -3738,7 +3741,7 @@ function O8({ className: t, ...e }) {
3738
3741
  role: "group",
3739
3742
  "aria-roledescription": "slide",
3740
3743
  "data-slot": "carousel-item",
3741
- className: M(
3744
+ className: x(
3742
3745
  "min-w-0 shrink-0 grow-0 basis-full",
3743
3746
  n === "horizontal" ? "pl-4" : "pt-4",
3744
3747
  t
@@ -3760,7 +3763,7 @@ function P8({
3760
3763
  "data-slot": "carousel-previous",
3761
3764
  variant: e,
3762
3765
  size: n,
3763
- className: M(
3766
+ className: x(
3764
3767
  "absolute size-8 rounded-full",
3765
3768
  i === "horizontal" ? "top-1/2 -left-12 -translate-y-1/2" : "-top-12 left-1/2 -translate-x-1/2 rotate-90",
3766
3769
  t
@@ -3788,7 +3791,7 @@ function R8({
3788
3791
  "data-slot": "carousel-next",
3789
3792
  variant: e,
3790
3793
  size: n,
3791
- className: M(
3794
+ className: x(
3792
3795
  "absolute size-8 rounded-full",
3793
3796
  i === "horizontal" ? "top-1/2 -right-12 -translate-y-1/2" : "-bottom-12 left-1/2 -translate-x-1/2 rotate-90",
3794
3797
  t
@@ -3823,7 +3826,7 @@ function B8({
3823
3826
  {
3824
3827
  "data-slot": "chart",
3825
3828
  "data-chart": o,
3826
- className: M(
3829
+ className: x(
3827
3830
  "[&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border flex aspect-video justify-center text-xs [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-hidden [&_.recharts-sector]:outline-hidden [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-surface]:outline-hidden",
3828
3831
  e
3829
3832
  ),
@@ -3879,8 +3882,8 @@ function U8({
3879
3882
  var w;
3880
3883
  if (i || !(e != null && e.length))
3881
3884
  return null;
3882
- const [y] = e, v = `${p || (y == null ? void 0 : y.dataKey) || (y == null ? void 0 : y.name) || "value"}`, x = tc(h, y, v), C = !p && typeof o == "string" ? ((w = h[o]) == null ? void 0 : w.label) || o : x == null ? void 0 : x.label;
3883
- return s ? /* @__PURE__ */ f("div", { className: M("font-medium", l), children: s(C, e) }) : C ? /* @__PURE__ */ f("div", { className: M("font-medium", l), children: C }) : null;
3885
+ const [y] = e, v = `${p || (y == null ? void 0 : y.dataKey) || (y == null ? void 0 : y.name) || "value"}`, M = tc(h, y, v), C = !p && typeof o == "string" ? ((w = h[o]) == null ? void 0 : w.label) || o : M == null ? void 0 : M.label;
3886
+ return s ? /* @__PURE__ */ f("div", { className: x("font-medium", l), children: s(C, e) }) : C ? /* @__PURE__ */ f("div", { className: x("font-medium", l), children: C }) : null;
3884
3887
  }, [
3885
3888
  o,
3886
3889
  s,
@@ -3896,18 +3899,18 @@ function U8({
3896
3899
  return /* @__PURE__ */ b(
3897
3900
  "div",
3898
3901
  {
3899
- className: M(
3902
+ className: x(
3900
3903
  "border-border/50 bg-background grid min-w-[8rem] items-start gap-1.5 rounded-lg border px-2.5 py-1.5 text-xs shadow-xl",
3901
3904
  n
3902
3905
  ),
3903
3906
  children: [
3904
3907
  g ? null : m,
3905
3908
  /* @__PURE__ */ f("div", { className: "grid gap-1.5", children: e.map((y, v) => {
3906
- const x = `${u || y.name || y.dataKey || "value"}`, C = tc(h, y, x), w = d || y.payload.fill || y.color;
3909
+ const M = `${u || y.name || y.dataKey || "value"}`, C = tc(h, y, M), w = d || y.payload.fill || y.color;
3907
3910
  return /* @__PURE__ */ f(
3908
3911
  "div",
3909
3912
  {
3910
- className: M(
3913
+ className: x(
3911
3914
  "[&>svg]:text-muted-foreground flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5",
3912
3915
  r === "dot" && "items-center"
3913
3916
  ),
@@ -3915,7 +3918,7 @@ function U8({
3915
3918
  C != null && C.icon ? /* @__PURE__ */ f(C.icon, {}) : !a && /* @__PURE__ */ f(
3916
3919
  "div",
3917
3920
  {
3918
- className: M(
3921
+ className: x(
3919
3922
  "shrink-0 rounded-[2px] border-(--color-border) bg-(--color-bg)",
3920
3923
  {
3921
3924
  "h-2.5 w-2.5": r === "dot",
@@ -3933,7 +3936,7 @@ function U8({
3933
3936
  /* @__PURE__ */ b(
3934
3937
  "div",
3935
3938
  {
3936
- className: M(
3939
+ className: x(
3937
3940
  "flex flex-1 justify-between leading-none",
3938
3941
  g ? "items-end" : "items-center"
3939
3942
  ),
@@ -3967,7 +3970,7 @@ function J8({
3967
3970
  return n != null && n.length ? /* @__PURE__ */ f(
3968
3971
  "div",
3969
3972
  {
3970
- className: M(
3973
+ className: x(
3971
3974
  "flex items-center justify-center gap-4",
3972
3975
  r === "top" ? "pb-3" : "pt-3",
3973
3976
  t
@@ -3977,7 +3980,7 @@ function J8({
3977
3980
  return /* @__PURE__ */ b(
3978
3981
  "div",
3979
3982
  {
3980
- className: M(
3983
+ className: x(
3981
3984
  "[&>svg]:text-muted-foreground flex items-center gap-1.5 [&>svg]:h-3 [&>svg]:w-3"
3982
3985
  ),
3983
3986
  children: [
@@ -4052,7 +4055,7 @@ function V8({
4052
4055
  const h = "#" + p;
4053
4056
  o(h), p.length === 6 && (e == null || e(h));
4054
4057
  };
4055
- return /* @__PURE__ */ b("div", { className: M("space-y-2", r), children: [
4058
+ return /* @__PURE__ */ b("div", { className: x("space-y-2", r), children: [
4056
4059
  n && /* @__PURE__ */ f(tt, { children: n }),
4057
4060
  /* @__PURE__ */ b("div", { className: "flex gap-2", children: [
4058
4061
  /* @__PURE__ */ b(vt, { open: s, onOpenChange: l, children: [
@@ -4138,7 +4141,7 @@ function V8({
4138
4141
  "button",
4139
4142
  {
4140
4143
  type: "button",
4141
- className: M(
4144
+ className: x(
4142
4145
  "w-6 h-6 rounded border transition-all hover:scale-110",
4143
4146
  a.toLowerCase() === u.toLowerCase() ? "border-2 border-primary ring-2 ring-primary/20" : "border-border"
4144
4147
  ),
@@ -4193,7 +4196,7 @@ const C1 = T.forwardRef(({ className: t, ...e }, n) => /* @__PURE__ */ f(
4193
4196
  {
4194
4197
  ref: n,
4195
4198
  "data-slot": "dialog-overlay",
4196
- className: M(
4199
+ className: x(
4197
4200
  "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",
4198
4201
  t
4199
4202
  ),
@@ -4212,7 +4215,7 @@ function pl({
4212
4215
  Be.Content,
4213
4216
  {
4214
4217
  "data-slot": "dialog-content",
4215
- className: M(
4218
+ className: x(
4216
4219
  "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",
4217
4220
  t
4218
4221
  ),
@@ -4233,7 +4236,7 @@ function ml({ className: t, ...e }) {
4233
4236
  "div",
4234
4237
  {
4235
4238
  "data-slot": "dialog-header",
4236
- className: M("flex flex-col gap-2 text-center sm:text-left", t),
4239
+ className: x("flex flex-col gap-2 text-center sm:text-left", t),
4237
4240
  ...e
4238
4241
  }
4239
4242
  );
@@ -4243,7 +4246,7 @@ function cd({ className: t, ...e }) {
4243
4246
  "div",
4244
4247
  {
4245
4248
  "data-slot": "dialog-footer",
4246
- className: M(
4249
+ className: x(
4247
4250
  "flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",
4248
4251
  t
4249
4252
  ),
@@ -4259,7 +4262,7 @@ function gl({
4259
4262
  Be.Title,
4260
4263
  {
4261
4264
  "data-slot": "dialog-title",
4262
- className: M("text-lg leading-[1.2] font-semibold", t),
4265
+ className: x("text-lg leading-[1.2] font-semibold", t),
4263
4266
  ...e
4264
4267
  }
4265
4268
  );
@@ -4272,7 +4275,7 @@ function bl({
4272
4275
  Be.Description,
4273
4276
  {
4274
4277
  "data-slot": "dialog-description",
4275
- className: M("text-muted-foreground text-sm leading-relaxed", t),
4278
+ className: x("text-muted-foreground text-sm leading-relaxed", t),
4276
4279
  ...e
4277
4280
  }
4278
4281
  );
@@ -4285,7 +4288,7 @@ function Zw({
4285
4288
  Jr,
4286
4289
  {
4287
4290
  "data-slot": "command",
4288
- className: M(
4291
+ className: x(
4289
4292
  "bg-popover text-popover-foreground flex h-full w-full flex-col overflow-hidden rounded-md",
4290
4293
  t
4291
4294
  ),
@@ -4322,7 +4325,7 @@ function G8({
4322
4325
  Jr.Input,
4323
4326
  {
4324
4327
  "data-slot": "command-input",
4325
- className: M(
4328
+ className: x(
4326
4329
  "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",
4327
4330
  t
4328
4331
  ),
@@ -4341,7 +4344,7 @@ function W8({
4341
4344
  Jr.List,
4342
4345
  {
4343
4346
  "data-slot": "command-list",
4344
- className: M(
4347
+ className: x(
4345
4348
  "max-h-[300px] scroll-py-1 overflow-x-hidden overflow-y-auto",
4346
4349
  t
4347
4350
  ),
@@ -4369,7 +4372,7 @@ function Z8({
4369
4372
  Jr.Group,
4370
4373
  {
4371
4374
  "data-slot": "command-group",
4372
- className: M(
4375
+ className: x(
4373
4376
  "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-semibold",
4374
4377
  t
4375
4378
  ),
@@ -4385,7 +4388,7 @@ function K8({
4385
4388
  Jr.Separator,
4386
4389
  {
4387
4390
  "data-slot": "command-separator",
4388
- className: M("bg-border -mx-1 h-px", t),
4391
+ className: x("bg-border -mx-1 h-px", t),
4389
4392
  ...e
4390
4393
  }
4391
4394
  );
@@ -4398,7 +4401,7 @@ function q8({
4398
4401
  Jr.Item,
4399
4402
  {
4400
4403
  "data-slot": "command-item",
4401
- className: M(
4404
+ className: x(
4402
4405
  "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",
4403
4406
  t
4404
4407
  ),
@@ -4414,7 +4417,7 @@ function X8({
4414
4417
  "span",
4415
4418
  {
4416
4419
  "data-slot": "command-shortcut",
4417
- className: M(
4420
+ className: x(
4418
4421
  "text-muted-foreground ml-auto text-xs tracking-widest",
4419
4422
  t
4420
4423
  ),
@@ -4456,7 +4459,7 @@ function gt({
4456
4459
  {
4457
4460
  "data-slot": "tooltip-content",
4458
4461
  sideOffset: e,
4459
- className: M(
4462
+ className: x(
4460
4463
  "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",
4461
4464
  t
4462
4465
  ),
@@ -4480,7 +4483,7 @@ function wr({
4480
4483
  "data-slot": "separator-root",
4481
4484
  decorative: n,
4482
4485
  orientation: e,
4483
- className: M(
4486
+ className: x(
4484
4487
  "bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",
4485
4488
  t
4486
4489
  ),
@@ -8440,8 +8443,8 @@ function H3(t, e, n, r) {
8440
8443
  for (let g = 0; g < o.length; g++) {
8441
8444
  let y = o[(g + l) % o.length], v = !0;
8442
8445
  y < 0 && (v = !1, y = -y);
8443
- let x = i.node(y - 1), C = i.index(y - 1);
8444
- if (x.canReplaceWith(C, C, m.type, m.marks))
8446
+ let M = i.node(y - 1), C = i.index(y - 1);
8447
+ if (M.canReplaceWith(C, C, m.type, m.marks))
8445
8448
  return t.replace(i.before(y), v ? a.after(y) : n, new F(X1(r.content, 0, r.openStart, h), h, r.openEnd));
8446
8449
  }
8447
8450
  }
@@ -9917,8 +9920,8 @@ function pm(t, e, n, r) {
9917
9920
  let v = z.empty;
9918
9921
  for (let C = m.length - 1; C >= 0; C--)
9919
9922
  v = z.from(m[C].copy(v));
9920
- let x = t.tr.step(new Ye(e.pos - m.length, e.pos + a.nodeSize, e.pos + y, e.pos + a.nodeSize - y, new F(v, m.length, 0), 0, !0));
9921
- n(x.scrollIntoView());
9923
+ let M = t.tr.step(new Ye(e.pos - m.length, e.pos + a.nodeSize, e.pos + y, e.pos + a.nodeSize - y, new F(v, m.length, 0), 0, !0));
9924
+ n(M.scrollIntoView());
9922
9925
  }
9923
9926
  return !0;
9924
9927
  }
@@ -12927,8 +12930,8 @@ function Tx(t, e, n, r, i, a, o) {
12927
12930
  n.maps[c].forEach((p, h, m, g) => {
12928
12931
  let y = g - m - (h - p);
12929
12932
  for (let v = 0; v < s.length; v += 3) {
12930
- let x = s[v + 1];
12931
- if (x < 0 || p > x + d - u)
12933
+ let M = s[v + 1];
12934
+ if (M < 0 || p > M + d - u)
12932
12935
  continue;
12933
12936
  let C = s[v] + d - u;
12934
12937
  h >= C ? s[v + 1] = p <= C ? -2 : -1 : p >= d && y && (s[v] += y, s[v + 1] += y);
@@ -13281,12 +13284,12 @@ function Hx(t, e, n) {
13281
13284
  let { node: r, fromOffset: i, toOffset: a, from: o, to: s } = t.docView.parseRange(e, n), l = t.domSelectionRange(), c, d = l.anchorNode;
13282
13285
  if (d && t.dom.contains(d.nodeType == 1 ? d : d.parentNode) && (c = [{ node: d, offset: l.anchorOffset }], xl(l) || c.push({ node: l.focusNode, offset: l.focusOffset })), $e && t.input.lastKeyCode === 8)
13283
13286
  for (let y = a; y > i; y--) {
13284
- let v = r.childNodes[y - 1], x = v.pmViewDesc;
13285
- if (v.nodeName == "BR" && !x) {
13287
+ let v = r.childNodes[y - 1], M = v.pmViewDesc;
13288
+ if (v.nodeName == "BR" && !M) {
13286
13289
  a = y;
13287
13290
  break;
13288
13291
  }
13289
- if (!x || x.size)
13292
+ if (!M || M.size)
13290
13293
  break;
13291
13294
  }
13292
13295
  let u = t.state.doc, p = t.someProp("domParser") || Zn.fromSchema(t.state.schema), h = u.resolve(o), m = null, g = p.parse(r, {
@@ -13356,8 +13359,8 @@ function Jx(t, e, n, r, i) {
13356
13359
  return;
13357
13360
  }
13358
13361
  t.state.selection.from < t.state.selection.to && m.start == m.endB && t.state.selection instanceof X && (m.start > t.state.selection.from && m.start <= t.state.selection.from + 2 && t.state.selection.from >= c.from ? m.start = t.state.selection.from : m.endA < t.state.selection.to && m.endA >= t.state.selection.to - 2 && t.state.selection.to <= c.to && (m.endB += t.state.selection.to - m.endA, m.endA = t.state.selection.to)), wt && Kn <= 11 && m.endB == m.start + 1 && m.endA == m.start && m.start > c.from && c.doc.textBetween(m.start - c.from - 1, m.start - c.from + 1) == "  " && (m.start--, m.endA--, m.endB--);
13359
- let g = c.doc.resolveNoCache(m.start - c.from), y = c.doc.resolveNoCache(m.endB - c.from), v = d.resolve(m.start), x = g.sameParent(y) && g.parent.inlineContent && v.end() >= m.endA;
13360
- if ((Ni && t.input.lastIOSEnter > Date.now() - 225 && (!x || i.some((k) => k.nodeName == "DIV" || k.nodeName == "P")) || !x && g.pos < c.doc.content.size && (!g.sameParent(y) || !g.parent.inlineContent) && g.pos < y.pos && !/\S/.test(c.doc.textBetween(g.pos, y.pos, "", ""))) && t.someProp("handleKeyDown", (k) => k(t, yr(13, "Enter")))) {
13362
+ let g = c.doc.resolveNoCache(m.start - c.from), y = c.doc.resolveNoCache(m.endB - c.from), v = d.resolve(m.start), M = g.sameParent(y) && g.parent.inlineContent && v.end() >= m.endA;
13363
+ if ((Ni && t.input.lastIOSEnter > Date.now() - 225 && (!M || i.some((k) => k.nodeName == "DIV" || k.nodeName == "P")) || !M && g.pos < c.doc.content.size && (!g.sameParent(y) || !g.parent.inlineContent) && g.pos < y.pos && !/\S/.test(c.doc.textBetween(g.pos, y.pos, "", ""))) && t.someProp("handleKeyDown", (k) => k(t, yr(13, "Enter")))) {
13361
13364
  t.input.lastIOSEnter = 0;
13362
13365
  return;
13363
13366
  }
@@ -13365,7 +13368,7 @@ function Jx(t, e, n, r, i) {
13365
13368
  Dn && $e && t.domObserver.suppressSelectionUpdates();
13366
13369
  return;
13367
13370
  }
13368
- $e && m.endB == m.start && (t.input.lastChromeDelete = Date.now()), Dn && !x && g.start() != y.start() && y.parentOffset == 0 && g.depth == y.depth && c.sel && c.sel.anchor == c.sel.head && c.sel.head == m.endA && (m.endB -= 2, y = c.doc.resolveNoCache(m.endB - c.from), setTimeout(() => {
13371
+ $e && m.endB == m.start && (t.input.lastChromeDelete = Date.now()), Dn && !M && g.start() != y.start() && y.parentOffset == 0 && g.depth == y.depth && c.sel && c.sel.anchor == c.sel.head && c.sel.head == m.endA && (m.endB -= 2, y = c.doc.resolveNoCache(m.endB - c.from), setTimeout(() => {
13369
13372
  t.someProp("handleKeyDown", function(k) {
13370
13373
  return k(t, yr(13, "Enter"));
13371
13374
  });
@@ -13378,7 +13381,7 @@ function Jx(t, e, n, r, i) {
13378
13381
  }
13379
13382
  return a && S.setMeta("composition", a), S.scrollIntoView();
13380
13383
  }, L;
13381
- if (x)
13384
+ if (M)
13382
13385
  if (g.pos == y.pos) {
13383
13386
  wt && Kn <= 11 && g.parentOffset == 0 && (t.domObserver.suppressSelectionUpdates(), setTimeout(() => An(t), 20));
13384
13387
  let k = N(t.state.tr.delete(C, w)), S = d.resolve(m.start).marksAcross(d.resolve(m.endA));
@@ -14461,8 +14464,8 @@ var xC = (t) => !("type" in t), CC = (t, e, n) => ({ tr: r, dispatch: i, editor:
14461
14464
  r.insertText(g, d, u);
14462
14465
  } else {
14463
14466
  g = s;
14464
- const y = r.doc.resolve(d), v = y.node(), x = y.parentOffset === 0, C = v.isText || v.isTextblock, w = v.content.size > 0;
14465
- x && C && w && (d = Math.max(0, d - 1)), r.replaceWith(d, u, g);
14467
+ const y = r.doc.resolve(d), v = y.node(), M = y.parentOffset === 0, C = v.isText || v.isTextblock, w = v.content.size > 0;
14468
+ M && C && w && (d = Math.max(0, d - 1)), r.replaceWith(d, u, g);
14466
14469
  }
14467
14470
  n.updateSelection && MC(r, r.steps.length - 1, -1), n.applyInputRules && r.setMeta("applyInputRules", { from: d, text: g }), n.applyPasteRules && r.setMeta("applyPasteRules", { from: d, text: g });
14468
14471
  }
@@ -14817,8 +14820,8 @@ function qC(t, e) {
14817
14820
  options: c.options,
14818
14821
  storage: c.storage,
14819
14822
  editor: e
14820
- }, p = t.reduce((v, x) => {
14821
- const C = G(x, "extendNodeSchema", u);
14823
+ }, p = t.reduce((v, M) => {
14824
+ const C = G(M, "extendNodeSchema", u);
14822
14825
  return {
14823
14826
  ...v,
14824
14827
  ...C ? C(c) : {}
@@ -14860,10 +14863,10 @@ function qC(t, e) {
14860
14863
  storage: c.storage,
14861
14864
  editor: e
14862
14865
  }, p = t.reduce((y, v) => {
14863
- const x = G(v, "extendMarkSchema", u);
14866
+ const M = G(v, "extendMarkSchema", u);
14864
14867
  return {
14865
14868
  ...y,
14866
- ...x ? x(c) : {}
14869
+ ...M ? M(c) : {}
14867
14870
  };
14868
14871
  }, {}), h = ip({
14869
14872
  ...p,
@@ -15058,12 +15061,12 @@ function yc(t, e, n = {}) {
15058
15061
  return !1;
15059
15062
  if (!g.isText && !g.marks.length)
15060
15063
  return;
15061
- const v = Math.max(h, y), x = Math.min(m, y + g.nodeSize), C = x - v;
15064
+ const v = Math.max(h, y), M = Math.min(m, y + g.nodeSize), C = M - v;
15062
15065
  o += C, s.push(
15063
15066
  ...g.marks.map((w) => ({
15064
15067
  mark: w,
15065
15068
  from: v,
15066
- to: x
15069
+ to: M
15067
15070
  }))
15068
15071
  );
15069
15072
  });
@@ -15290,8 +15293,8 @@ var v6 = ({ keepMarks: t = !0 } = {}) => ({ tr: e, state: n, dispatch: r, editor
15290
15293
  return !1;
15291
15294
  if (i) {
15292
15295
  let v = z.empty;
15293
- const x = l.index(-1) ? 1 : l.index(-2) ? 2 : 3;
15294
- for (let S = l.depth - x; S >= l.depth - 3; S -= 1)
15296
+ const M = l.index(-1) ? 1 : l.index(-2) ? 2 : 3;
15297
+ for (let S = l.depth - M; S >= l.depth - 3; S -= 1)
15295
15298
  v = z.from(l.node(S).copy(v));
15296
15299
  const C = (
15297
15300
  // eslint-disable-next-line no-nested-ternary
@@ -15301,8 +15304,8 @@ var v6 = ({ keepMarks: t = !0 } = {}) => ({ tr: e, state: n, dispatch: r, editor
15301
15304
  ...e
15302
15305
  }, N = ((o = s.contentMatch.defaultType) == null ? void 0 : o.createAndFill(w)) || void 0;
15303
15306
  v = v.append(z.from(s.createAndFill(null, N) || void 0));
15304
- const L = l.before(l.depth - (x - 1));
15305
- n.replace(L, l.after(-C), new F(v, 4 - x, 0));
15307
+ const L = l.before(l.depth - (M - 1));
15308
+ n.replace(L, l.after(-C), new F(v, 4 - M, 0));
15306
15309
  let k = -1;
15307
15310
  n.doc.nodesBetween(L, n.doc.content.size, (S, I) => {
15308
15311
  if (k > -1)
@@ -15327,7 +15330,7 @@ var v6 = ({ keepMarks: t = !0 } = {}) => ({ tr: e, state: n, dispatch: r, editor
15327
15330
  if (!En(n.doc, l.pos, 2))
15328
15331
  return !1;
15329
15332
  if (i) {
15330
- const { selection: v, storedMarks: x } = r, { splittableMarks: C } = a.extensionManager, w = x || v.$to.parentOffset && v.$from.marks();
15333
+ const { selection: v, storedMarks: M } = r, { splittableMarks: C } = a.extensionManager, w = M || v.$to.parentOffset && v.$from.marks();
15331
15334
  if (n.split(l.pos, 2, y).scrollIntoView(), !w || !i)
15332
15335
  return !0;
15333
15336
  const N = w.filter((L) => C.includes(L.type.name));
@@ -15353,7 +15356,7 @@ var v6 = ({ keepMarks: t = !0 } = {}) => ({ tr: e, state: n, dispatch: r, editor
15353
15356
  const i = t.doc.nodeAt(r);
15354
15357
  return n.node.type === (i == null ? void 0 : i.type) && sr(t.doc, r) && t.join(r), !0;
15355
15358
  }, M6 = (t, e, n, r = {}) => ({ editor: i, tr: a, state: o, dispatch: s, chain: l, commands: c, can: d }) => {
15356
- const { extensions: u, splittableMarks: p } = i.extensionManager, h = He(t, o.schema), m = He(e, o.schema), { selection: g, storedMarks: y } = o, { $from: v, $to: x } = g, C = v.blockRange(x), w = y || g.$to.parentOffset && g.$from.marks();
15359
+ const { extensions: u, splittableMarks: p } = i.extensionManager, h = He(t, o.schema), m = He(e, o.schema), { selection: g, storedMarks: y } = o, { $from: v, $to: M } = g, C = v.blockRange(M), w = y || g.$to.parentOffset && g.$from.marks();
15357
15360
  if (!C)
15358
15361
  return !1;
15359
15362
  const N = Il((L) => sp(L.type.name, u))(g);
@@ -15444,14 +15447,14 @@ var v6 = ({ keepMarks: t = !0 } = {}) => ({ tr: e, state: n, dispatch: r, editor
15444
15447
  v < d && a && a === y.type && (l = !0, m = Math.max(v, d), g = Math.min(v + y.nodeSize, u), p = v, h = y), v >= d && v <= u && (a && a === y.type && (l = !0, i && n.setNodeMarkup(v, void 0, {
15445
15448
  ...y.attrs,
15446
15449
  ...e
15447
- })), o && y.marks.length && y.marks.forEach((x) => {
15448
- if (o === x.type && (l = !0, i)) {
15450
+ })), o && y.marks.length && y.marks.forEach((M) => {
15451
+ if (o === M.type && (l = !0, i)) {
15449
15452
  const C = Math.max(v, d), w = Math.min(v + y.nodeSize, u);
15450
15453
  n.addMark(
15451
15454
  C,
15452
15455
  w,
15453
15456
  o.create({
15454
- ...x.attrs,
15457
+ ...M.attrs,
15455
15458
  ...e
15456
15459
  })
15457
15460
  );
@@ -15540,7 +15543,7 @@ function No(t) {
15540
15543
  }), y = {
15541
15544
  from: r - (h[0].length - a.length),
15542
15545
  to: i
15543
- }, { commands: v, chain: x, can: C } = new kl({
15546
+ }, { commands: v, chain: M, can: C } = new kl({
15544
15547
  editor: n,
15545
15548
  state: g
15546
15549
  });
@@ -15549,7 +15552,7 @@ function No(t) {
15549
15552
  range: y,
15550
15553
  match: h,
15551
15554
  commands: v,
15552
- chain: x,
15555
+ chain: M,
15553
15556
  can: C
15554
15557
  }) === null || !m.steps.length || (p.undoable && m.setMeta(s, {
15555
15558
  transform: m,
@@ -15735,10 +15738,10 @@ function H6(t) {
15735
15738
  state: n
15736
15739
  }), u = [];
15737
15740
  return n.doc.nodesBetween(r, i, (h, m) => {
15738
- var g, y, v, x, C;
15741
+ var g, y, v, M, C;
15739
15742
  if ((y = (g = h.type) == null ? void 0 : g.spec) != null && y.code || !(h.isText || h.isTextblock || h.isInline))
15740
15743
  return;
15741
- const w = (C = (x = (v = h.content) == null ? void 0 : v.size) != null ? x : h.nodeSize) != null ? C : 0, N = Math.max(r, m), L = Math.min(i, m + w);
15744
+ const w = (C = (M = (v = h.content) == null ? void 0 : v.size) != null ? M : h.nodeSize) != null ? C : 0, N = Math.max(r, m), L = Math.min(i, m + w);
15742
15745
  if (N >= L)
15743
15746
  return;
15744
15747
  const k = h.isText ? h.text || "" : h.textBetween(N - m, L - m, void 0, "");
@@ -15840,10 +15843,10 @@ function F6(t) {
15840
15843
  }
15841
15844
  },
15842
15845
  appendTransaction: (u, p, h) => {
15843
- const m = u[0], g = m.getMeta("uiEvent") === "paste" && !i, y = m.getMeta("uiEvent") === "drop" && !a, v = m.getMeta("applyPasteRules"), x = !!v;
15844
- if (!g && !y && !x)
15846
+ const m = u[0], g = m.getMeta("uiEvent") === "paste" && !i, y = m.getMeta("uiEvent") === "drop" && !a, v = m.getMeta("applyPasteRules"), M = !!v;
15847
+ if (!g && !y && !M)
15845
15848
  return;
15846
- if (x) {
15849
+ if (M) {
15847
15850
  let { text: N } = v;
15848
15851
  typeof N == "string" ? N = N : N = Ad(z.from(N), h.schema);
15849
15852
  const { from: L } = v, k = L + N.length, S = U6(N);
@@ -16204,7 +16207,7 @@ var De = class yg extends Od {
16204
16207
  d.steps.forEach((h, m) => {
16205
16208
  var g, y;
16206
16209
  if (h instanceof Kt) {
16207
- const v = p.slice(m).map(h.from, -1), x = p.slice(m).map(h.to), C = p.invert().map(v, -1), w = p.invert().map(x), N = (g = d.doc.nodeAt(v - 1)) == null ? void 0 : g.marks.some((k) => k.eq(h.mark)), L = (y = d.doc.nodeAt(x)) == null ? void 0 : y.marks.some((k) => k.eq(h.mark));
16210
+ const v = p.slice(m).map(h.from, -1), M = p.slice(m).map(h.to), C = p.invert().map(v, -1), w = p.invert().map(M), N = (g = d.doc.nodeAt(v - 1)) == null ? void 0 : g.marks.some((k) => k.eq(h.mark)), L = (y = d.doc.nodeAt(M)) == null ? void 0 : y.marks.some((k) => k.eq(h.mark));
16208
16211
  this.editor.emit("delete", {
16209
16212
  type: "mark",
16210
16213
  mark: h.mark,
@@ -16216,7 +16219,7 @@ var De = class yg extends Od {
16216
16219
  },
16217
16220
  newRange: {
16218
16221
  from: v,
16219
- to: x
16222
+ to: M
16220
16223
  },
16221
16224
  partial: !!(L || N),
16222
16225
  editor: this.editor,
@@ -17505,7 +17508,7 @@ function q6(t) {
17505
17508
  if (!m)
17506
17509
  return;
17507
17510
  const g = m[1] || "", y = r(g);
17508
- if (!o.find((x) => !(x in y)))
17511
+ if (!o.find((M) => !(M in y)))
17509
17512
  return {
17510
17513
  type: e,
17511
17514
  raw: m[0],
@@ -17560,7 +17563,7 @@ function X6(t) {
17560
17563
  const g = new RegExp(`^:::${c}(?:\\s+\\{([^}]*)\\})?\\s*\\n`), y = u.match(g);
17561
17564
  if (!y)
17562
17565
  return;
17563
- const [v, x = ""] = y, C = i(x);
17566
+ const [v, M = ""] = y, C = i(M);
17564
17567
  let w = 1;
17565
17568
  const N = v.length;
17566
17569
  let L = "";
@@ -17672,15 +17675,15 @@ function Dg(t) {
17672
17675
  const g = s ? new RegExp(`^\\[${u}\\s*([^\\]]*)\\]`) : new RegExp(`^\\[${u}\\s*([^\\]]*)\\]([\\s\\S]*?)\\[\\/${u}\\]`), y = p.match(g);
17673
17676
  if (!y)
17674
17677
  return;
17675
- let v = "", x = "";
17678
+ let v = "", M = "";
17676
17679
  if (s) {
17677
17680
  const [, w] = y;
17678
- x = w;
17681
+ M = w;
17679
17682
  } else {
17680
17683
  const [, w, N] = y;
17681
- x = w, v = N || "";
17684
+ M = w, v = N || "";
17682
17685
  }
17683
- const C = i(x.trim());
17686
+ const C = i(M.trim());
17684
17687
  return {
17685
17688
  type: e,
17686
17689
  raw: y[0],
@@ -17738,14 +17741,14 @@ function wc(t, e, n) {
17738
17741
  else
17739
17742
  break;
17740
17743
  }
17741
- let x;
17744
+ let M;
17742
17745
  const C = v.slice(1);
17743
17746
  if (C.length > 0) {
17744
17747
  const N = C.map((L) => L.slice(g + u)).join(`
17745
17748
  `);
17746
- N.trim() && (e.customNestedParser ? x = e.customNestedParser(N) : x = n.blockTokens(N));
17749
+ N.trim() && (e.customNestedParser ? M = e.customNestedParser(N) : M = n.blockTokens(N));
17747
17750
  }
17748
- const w = e.createToken(m, x);
17751
+ const w = e.createToken(m, M);
17749
17752
  l.push(w);
17750
17753
  }
17751
17754
  if (l.length !== 0)
@@ -17996,7 +17999,7 @@ const xL = "[object ArrayBuffer]", CL = "[object Arguments]", LL = "[object Bool
17996
17999
  "[object BigUint64Array]": !0
17997
18000
  }, OL = "[object URL]", PL = Object.prototype.toString;
17998
18001
  function RL({ areArrayBuffersEqual: t, areArraysEqual: e, areDataViewsEqual: n, areDatesEqual: r, areErrorsEqual: i, areFunctionsEqual: a, areMapsEqual: o, areNumbersEqual: s, areObjectsEqual: l, arePrimitiveWrappersEqual: c, areRegExpsEqual: d, areSetsEqual: u, areTypedArraysEqual: p, areUrlsEqual: h, unknownTagComparators: m }) {
17999
- return function(y, v, x) {
18002
+ return function(y, v, M) {
18000
18003
  if (y === v)
18001
18004
  return !0;
18002
18005
  if (y == null || v == null)
@@ -18005,47 +18008,47 @@ function RL({ areArrayBuffersEqual: t, areArraysEqual: e, areDataViewsEqual: n,
18005
18008
  if (C !== typeof v)
18006
18009
  return !1;
18007
18010
  if (C !== "object")
18008
- return C === "number" ? s(y, v, x) : C === "function" ? a(y, v, x) : !1;
18011
+ return C === "number" ? s(y, v, M) : C === "function" ? a(y, v, M) : !1;
18009
18012
  const w = y.constructor;
18010
18013
  if (w !== v.constructor)
18011
18014
  return !1;
18012
18015
  if (w === Object)
18013
- return l(y, v, x);
18016
+ return l(y, v, M);
18014
18017
  if (Array.isArray(y))
18015
- return e(y, v, x);
18018
+ return e(y, v, M);
18016
18019
  if (w === Date)
18017
- return r(y, v, x);
18020
+ return r(y, v, M);
18018
18021
  if (w === RegExp)
18019
- return d(y, v, x);
18022
+ return d(y, v, M);
18020
18023
  if (w === Map)
18021
- return o(y, v, x);
18024
+ return o(y, v, M);
18022
18025
  if (w === Set)
18023
- return u(y, v, x);
18026
+ return u(y, v, M);
18024
18027
  const N = PL.call(y);
18025
18028
  if (N === kL)
18026
- return r(y, v, x);
18029
+ return r(y, v, M);
18027
18030
  if (N === DL)
18028
- return d(y, v, x);
18031
+ return d(y, v, M);
18029
18032
  if (N === IL)
18030
- return o(y, v, x);
18033
+ return o(y, v, M);
18031
18034
  if (N === EL)
18032
- return u(y, v, x);
18035
+ return u(y, v, M);
18033
18036
  if (N === jL)
18034
- return typeof y.then != "function" && typeof v.then != "function" && l(y, v, x);
18037
+ return typeof y.then != "function" && typeof v.then != "function" && l(y, v, M);
18035
18038
  if (N === OL)
18036
- return h(y, v, x);
18039
+ return h(y, v, M);
18037
18040
  if (N === SL)
18038
- return i(y, v, x);
18041
+ return i(y, v, M);
18039
18042
  if (N === CL)
18040
- return l(y, v, x);
18043
+ return l(y, v, M);
18041
18044
  if (zL[N])
18042
- return p(y, v, x);
18045
+ return p(y, v, M);
18043
18046
  if (N === xL)
18044
- return t(y, v, x);
18047
+ return t(y, v, M);
18045
18048
  if (N === NL)
18046
- return n(y, v, x);
18049
+ return n(y, v, M);
18047
18050
  if (N === LL || N === TL || N === AL)
18048
- return c(y, v, x);
18051
+ return c(y, v, M);
18049
18052
  if (m) {
18050
18053
  let L = m[N];
18051
18054
  if (!L) {
@@ -18053,7 +18056,7 @@ function RL({ areArrayBuffersEqual: t, areArraysEqual: e, areDataViewsEqual: n,
18053
18056
  k && (L = m[k]);
18054
18057
  }
18055
18058
  if (L)
18056
- return L(y, v, x);
18059
+ return L(y, v, M);
18057
18060
  }
18058
18061
  return !1;
18059
18062
  };
@@ -18928,7 +18931,7 @@ ${n}
18928
18931
  }
18929
18932
  g += h[L].length + 1;
18930
18933
  }
18931
- const x = ((l = h[m].match(/^ */)) == null ? void 0 : l[0]) || "", C = Math.min(x.length, n);
18934
+ const M = ((l = h[m].match(/^ */)) == null ? void 0 : l[0]) || "", C = Math.min(M.length, n);
18932
18935
  if (C === 0)
18933
18936
  return !0;
18934
18937
  let w = d;
@@ -19506,12 +19509,12 @@ function ON(t = []) {
19506
19509
  ascii: !0
19507
19510
  }, e), t = t.sort((g, y) => g[0] > y[0] ? 1 : -1);
19508
19511
  for (let g = 0; g < t.length; g++) {
19509
- const y = t[g][0], x = t[g][1] ? {
19512
+ const y = t[g][0], M = t[g][1] ? {
19510
19513
  [TN]: !0
19511
19514
  } : {
19512
19515
  [jN]: !0
19513
19516
  };
19514
- y.indexOf("-") >= 0 ? x[Nc] = !0 : xn.test(y) ? Cn.test(y) ? x[ma] = !0 : x[Cc] = !0 : x[xc] = !0, bp(n, y, y, x);
19517
+ y.indexOf("-") >= 0 ? M[Nc] = !0 : xn.test(y) ? Cn.test(y) ? M[ma] = !0 : M[Cc] = !0 : M[xc] = !0, bp(n, y, y, M);
19515
19518
  }
19516
19519
  return bp(n, "localhost", Ua, {
19517
19520
  ascii: !0
@@ -19832,12 +19835,12 @@ function BN({
19832
19835
  re(g, t.numeric, Mp);
19833
19836
  const y = P(o, Pt), v = P(o, an);
19834
19837
  P(y, Pt, y), re(y, t.domain, o), re(v, r, a), re(v, t.domain, o);
19835
- const x = At(Do);
19836
- re(v, t.tld, x), re(v, t.utld, x), re(x, t.domain, o), re(x, r, a), P(x, an, v), P(x, Pt, y), P(x, Vn, c);
19837
- const C = P(x, Qn), w = At(Do);
19838
+ const M = At(Do);
19839
+ re(v, t.tld, M), re(v, t.utld, M), re(M, t.domain, o), re(M, r, a), P(M, an, v), P(M, Pt, y), P(M, Vn, c);
19840
+ const C = P(M, Qn), w = At(Do);
19838
19841
  re(C, t.numeric, w);
19839
19842
  const N = At(Do), L = At();
19840
- re(N, e, N), re(N, n, L), re(L, e, N), re(L, n, L), P(x, on, N), P(w, on, N);
19843
+ re(N, e, N), re(N, n, L), re(L, e, N), re(L, n, L), P(M, on, N), P(w, on, N);
19841
19844
  const k = P(s, Qn), S = P(l, Qn), I = P(S, on), A = P(I, on);
19842
19845
  re(s, t.domain, o), P(s, an, v), P(s, Pt, y), re(l, t.domain, o), P(l, an, v), P(l, Pt, y), re(k, t.domain, N), P(k, on, N), P(k, va, N), re(A, t.domain, N), re(A, e, N), P(A, on, N);
19843
19846
  const O = [
@@ -19866,7 +19869,7 @@ function BN({
19866
19869
  const _ = At();
19867
19870
  re(K, n), re(D, e, D), re(D, n, _), re(_, e, D), re(_, n, _), P(D, Y, N), P(_, Y, N);
19868
19871
  }
19869
- return P(i, Ua, x), P(i, Jd, RN), {
19872
+ return P(i, Ua, M), P(i, Jd, RN), {
19870
19873
  start: i,
19871
19874
  tokens: Yg
19872
19875
  };
@@ -19987,7 +19990,7 @@ function WN(t) {
19987
19990
  from: g + v.start + 1,
19988
19991
  to: g + v.end + 1
19989
19992
  })).filter((v) => r.schema.marks.code ? !r.doc.rangeHasMark(v.from, v.to, r.schema.marks.code) : !0).filter((v) => t.validate(v.value)).filter((v) => t.shouldAutoLink(v.value)).forEach((v) => {
19990
- zd(v.from, v.to, r.doc).some((x) => x.mark.type === t.type) || o.addMark(
19993
+ zd(v.from, v.to, r.doc).some((M) => M.mark.type === t.type) || o.addMark(
19991
19994
  v.from,
19992
19995
  v.to,
19993
19996
  t.type.create({
@@ -22166,8 +22169,8 @@ function Yk(t) {
22166
22169
  const g = s.pos - m.length, y = Array.from(m.matchAll(h)).pop();
22167
22170
  if (!y || y.input === void 0 || y.index === void 0)
22168
22171
  return null;
22169
- const v = y.input.slice(Math.max(0, y.index - 1), y.index), x = new RegExp(`^[${a == null ? void 0 : a.join("")}\0]?$`).test(v);
22170
- if (a !== null && !x)
22172
+ const v = y.input.slice(Math.max(0, y.index - 1), y.index), M = new RegExp(`^[${a == null ? void 0 : a.join("")}\0]?$`).test(v);
22173
+ if (a !== null && !M)
22171
22174
  return null;
22172
22175
  const C = g + y.index;
22173
22176
  let w = C + y[0].length;
@@ -22201,7 +22204,7 @@ function Qk({
22201
22204
  shouldShow: y
22202
22205
  }) {
22203
22206
  let v;
22204
- const x = h == null ? void 0 : h(), C = () => {
22207
+ const M = h == null ? void 0 : h(), C = () => {
22205
22208
  const k = e.state.selection.$anchor.pos, S = e.view.coordsAtPos(k), { top: I, right: A, bottom: O, left: U } = S;
22206
22209
  try {
22207
22210
  return new DOMRect(U, I, A - U, O - I);
@@ -22226,7 +22229,7 @@ function Qk({
22226
22229
  decorationNode: U,
22227
22230
  clientRect: w(k, U)
22228
22231
  };
22229
- (I = x == null ? void 0 : x.onExit) == null || I.call(x, J);
22232
+ (I = M == null ? void 0 : M.onExit) == null || I.call(M, J);
22230
22233
  } catch {
22231
22234
  }
22232
22235
  const A = k.state.tr.setMeta(S, { exit: !0 });
@@ -22255,14 +22258,14 @@ function Qk({
22255
22258
  }),
22256
22259
  decorationNode: E,
22257
22260
  clientRect: w(k, E)
22258
- }, Ie && ((O = x == null ? void 0 : x.onBeforeStart) == null || O.call(x, v)), V && ((U = x == null ? void 0 : x.onBeforeUpdate) == null || U.call(x, v)), (V || Ie) && (v.items = await p({
22261
+ }, Ie && ((O = M == null ? void 0 : M.onBeforeStart) == null || O.call(M, v)), V && ((U = M == null ? void 0 : M.onBeforeUpdate) == null || U.call(M, v)), (V || Ie) && (v.items = await p({
22259
22262
  editor: e,
22260
22263
  query: ne.query
22261
- })), Z && ((J = x == null ? void 0 : x.onExit) == null || J.call(x, v)), V && ((Y = x == null ? void 0 : x.onUpdate) == null || Y.call(x, v)), Ie && ((K = x == null ? void 0 : x.onStart) == null || K.call(x, v));
22264
+ })), Z && ((J = M == null ? void 0 : M.onExit) == null || J.call(M, v)), V && ((Y = M == null ? void 0 : M.onUpdate) == null || Y.call(M, v)), Ie && ((K = M == null ? void 0 : M.onStart) == null || K.call(M, v));
22262
22265
  },
22263
22266
  destroy: () => {
22264
22267
  var k;
22265
- v && ((k = x == null ? void 0 : x.onExit) == null || k.call(x, v));
22268
+ v && ((k = M == null ? void 0 : M.onExit) == null || k.call(M, v));
22266
22269
  }
22267
22270
  };
22268
22271
  },
@@ -22321,7 +22324,7 @@ function Qk({
22321
22324
  return !1;
22322
22325
  if (S.key === "Escape" || S.key === "Esc") {
22323
22326
  const D = L.getState(k.state), _ = (I = v == null ? void 0 : v.decorationNode) != null ? I : null, $ = _ ?? (D != null && D.decorationId ? k.dom.querySelector(`[data-decoration-id="${D.decorationId}"]`) : null);
22324
- if (((A = x == null ? void 0 : x.onKeyDown) == null ? void 0 : A.call(x, { view: k, event: S, range: D.range })) || !1)
22327
+ if (((A = M == null ? void 0 : M.onKeyDown) == null ? void 0 : A.call(M, { view: k, event: S, range: D.range })) || !1)
22325
22328
  return !0;
22326
22329
  const Ce = {
22327
22330
  editor: e,
@@ -22336,9 +22339,9 @@ function Qk({
22336
22339
  // let consumer decide if they want to query.
22337
22340
  clientRect: $ ? () => $.getBoundingClientRect() || null : null
22338
22341
  };
22339
- return (O = x == null ? void 0 : x.onExit) == null || O.call(x, Ce), N(k, t), !0;
22342
+ return (O = M == null ? void 0 : M.onExit) == null || O.call(M, Ce), N(k, t), !0;
22340
22343
  }
22341
- return ((U = x == null ? void 0 : x.onKeyDown) == null ? void 0 : U.call(x, { view: k, event: S, range: Y })) || !1;
22344
+ return ((U = M == null ? void 0 : M.onKeyDown) == null ? void 0 : U.call(M, { view: k, event: S, range: Y })) || !1;
22342
22345
  },
22343
22346
  // Setup decorator on the currently active suggestion.
22344
22347
  decorations(k) {
@@ -22745,7 +22748,7 @@ var h9 = function(e, n) {
22745
22748
  function p9(t) {
22746
22749
  var e, n = t.state, r = t.name, i = t.options, a = n.elements.arrow, o = n.modifiersData.popperOffsets, s = cn(n.placement), l = tu(s), c = [xt, _t].indexOf(s) >= 0, d = c ? "height" : "width";
22747
22750
  if (!(!a || !o)) {
22748
- var u = h9(i.padding, n), p = eu(a), h = l === "y" ? Mt : xt, m = l === "y" ? Yt : _t, g = n.rects.reference[d] + n.rects.reference[l] - o[l] - n.rects.popper[d], y = o[l] - n.rects.reference[l], v = oo(a), x = v ? l === "y" ? v.clientHeight || 0 : v.clientWidth || 0 : 0, C = g / 2 - y / 2, w = u[h], N = x - p[d] - u[m], L = x / 2 - p[d] / 2 + C, k = Ma(w, L, N), S = l;
22751
+ var u = h9(i.padding, n), p = eu(a), h = l === "y" ? Mt : xt, m = l === "y" ? Yt : _t, g = n.rects.reference[d] + n.rects.reference[l] - o[l] - n.rects.popper[d], y = o[l] - n.rects.reference[l], v = oo(a), M = v ? l === "y" ? v.clientHeight || 0 : v.clientWidth || 0 : 0, C = g / 2 - y / 2, w = u[h], N = M - p[d] - u[m], L = M / 2 - p[d] / 2 + C, k = Ma(w, L, N), S = l;
22749
22752
  n.modifiersData[r] = (e = {}, e[S] = k, e.centerOffset = k - L, e);
22750
22753
  }
22751
22754
  }
@@ -22787,7 +22790,7 @@ function Rp(t) {
22787
22790
  y: g
22788
22791
  };
22789
22792
  h = y.x, g = y.y;
22790
- var v = o.hasOwnProperty("x"), x = o.hasOwnProperty("y"), C = xt, w = Mt, N = window;
22793
+ var v = o.hasOwnProperty("x"), M = o.hasOwnProperty("y"), C = xt, w = Mt, N = window;
22791
22794
  if (c) {
22792
22795
  var L = oo(n), k = "clientHeight", S = "clientWidth";
22793
22796
  if (L === It(n) && (L = cr(n), On(L).position !== "static" && s === "absolute" && (k = "scrollHeight", S = "scrollWidth")), L = L, i === Mt || (i === xt || i === _t) && a === Ja) {
@@ -22818,9 +22821,9 @@ function Rp(t) {
22818
22821
  };
22819
22822
  if (h = U.x, g = U.y, l) {
22820
22823
  var J;
22821
- return Object.assign({}, O, (J = {}, J[w] = x ? "0" : "", J[C] = v ? "0" : "", J.transform = (N.devicePixelRatio || 1) <= 1 ? "translate(" + h + "px, " + g + "px)" : "translate3d(" + h + "px, " + g + "px, 0)", J));
22824
+ return Object.assign({}, O, (J = {}, J[w] = M ? "0" : "", J[C] = v ? "0" : "", J.transform = (N.devicePixelRatio || 1) <= 1 ? "translate(" + h + "px, " + g + "px)" : "translate3d(" + h + "px, " + g + "px, 0)", J));
22822
22825
  }
22823
- return Object.assign({}, O, (e = {}, e[w] = x ? g + "px" : "", e[C] = v ? h + "px" : "", e.transform = "", e));
22826
+ return Object.assign({}, O, (e = {}, e[w] = M ? g + "px" : "", e[C] = v ? h + "px" : "", e.transform = "", e));
22824
22827
  }
22825
22828
  function v9(t) {
22826
22829
  var e = t.state, n = t.options, r = n.gpuAcceleration, i = r === void 0 ? !0 : r, a = n.adaptive, o = a === void 0 ? !0 : a, s = n.roundOffsets, l = s === void 0 ? !0 : s, c = {
@@ -23020,7 +23023,7 @@ function Cb(t) {
23020
23023
  }
23021
23024
  function Va(t, e) {
23022
23025
  e === void 0 && (e = {});
23023
- var n = e, r = n.placement, i = r === void 0 ? t.placement : r, a = n.strategy, o = a === void 0 ? t.strategy : a, s = n.boundary, l = s === void 0 ? Zk : s, c = n.rootBoundary, d = c === void 0 ? pb : c, u = n.elementContext, p = u === void 0 ? qi : u, h = n.altBoundary, m = h === void 0 ? !1 : h, g = n.padding, y = g === void 0 ? 0 : g, v = wb(typeof y != "number" ? y : Mb(y, ao)), x = p === qi ? Kk : qi, C = t.rects.popper, w = t.elements[m ? x : p], N = T9(Hr(w) ? w : w.contextElement || cr(t.elements.popper), l, d, o), L = Di(t.elements.reference), k = Cb({
23026
+ var n = e, r = n.placement, i = r === void 0 ? t.placement : r, a = n.strategy, o = a === void 0 ? t.strategy : a, s = n.boundary, l = s === void 0 ? Zk : s, c = n.rootBoundary, d = c === void 0 ? pb : c, u = n.elementContext, p = u === void 0 ? qi : u, h = n.altBoundary, m = h === void 0 ? !1 : h, g = n.padding, y = g === void 0 ? 0 : g, v = wb(typeof y != "number" ? y : Mb(y, ao)), M = p === qi ? Kk : qi, C = t.rects.popper, w = t.elements[m ? M : p], N = T9(Hr(w) ? w : w.contextElement || cr(t.elements.popper), l, d, o), L = Di(t.elements.reference), k = Cb({
23024
23027
  reference: L,
23025
23028
  element: C,
23026
23029
  placement: i
@@ -23068,7 +23071,7 @@ function D9(t) {
23068
23071
  function E9(t) {
23069
23072
  var e = t.state, n = t.options, r = t.name;
23070
23073
  if (!e.modifiersData[r]._skip) {
23071
- for (var i = n.mainAxis, a = i === void 0 ? !0 : i, o = n.altAxis, s = o === void 0 ? !0 : o, l = n.fallbackPlacements, c = n.padding, d = n.boundary, u = n.rootBoundary, p = n.altBoundary, h = n.flipVariations, m = h === void 0 ? !0 : h, g = n.allowedAutoPlacements, y = e.options.placement, v = cn(y), x = v === y, C = l || (x || !m ? [_o(y)] : D9(y)), w = [y].concat(C).reduce(function(Z, ne) {
23074
+ for (var i = n.mainAxis, a = i === void 0 ? !0 : i, o = n.altAxis, s = o === void 0 ? !0 : o, l = n.fallbackPlacements, c = n.padding, d = n.boundary, u = n.rootBoundary, p = n.altBoundary, h = n.flipVariations, m = h === void 0 ? !0 : h, g = n.allowedAutoPlacements, y = e.options.placement, v = cn(y), M = v === y, C = l || (M || !m ? [_o(y)] : D9(y)), w = [y].concat(C).reduce(function(Z, ne) {
23072
23075
  return Z.concat(cn(ne) === qd ? j9(e, {
23073
23076
  placement: ne,
23074
23077
  boundary: d,
@@ -23211,7 +23214,7 @@ function J9(t) {
23211
23214
  rootBoundary: c,
23212
23215
  padding: u,
23213
23216
  altBoundary: d
23214
- }), v = cn(e.placement), x = Ei(e.placement), C = !x, w = tu(v), N = F9(w), L = e.modifiersData.popperOffsets, k = e.rects.reference, S = e.rects.popper, I = typeof g == "function" ? g(Object.assign({}, e.rects, {
23217
+ }), v = cn(e.placement), M = Ei(e.placement), C = !M, w = tu(v), N = F9(w), L = e.modifiersData.popperOffsets, k = e.rects.reference, S = e.rects.popper, I = typeof g == "function" ? g(Object.assign({}, e.rects, {
23215
23218
  placement: e.placement
23216
23219
  })) : g, A = typeof I == "number" ? {
23217
23220
  mainAxis: I,
@@ -23225,7 +23228,7 @@ function J9(t) {
23225
23228
  };
23226
23229
  if (L) {
23227
23230
  if (a) {
23228
- var J, Y = w === "y" ? Mt : xt, K = w === "y" ? Yt : _t, D = w === "y" ? "height" : "width", _ = L[w], $ = _ + y[Y], le = _ - y[K], Ce = h ? -S[D] / 2 : 0, Ae = x === Ti ? k[D] : S[D], Ie = x === Ti ? -S[D] : -k[D], V = e.elements.arrow, Z = h && V ? eu(V) : {
23231
+ var J, Y = w === "y" ? Mt : xt, K = w === "y" ? Yt : _t, D = w === "y" ? "height" : "width", _ = L[w], $ = _ + y[Y], le = _ - y[K], Ce = h ? -S[D] / 2 : 0, Ae = M === Ti ? k[D] : S[D], Ie = M === Ti ? -S[D] : -k[D], V = e.elements.arrow, Z = h && V ? eu(V) : {
23229
23232
  width: 0,
23230
23233
  height: 0
23231
23234
  }, ne = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : vb(), E = ne[Y], B = ne[K], ee = Ma(0, k[D], Z[D]), pe = C ? k[D] / 2 - Ce - ee - E - A.mainAxis : Ae - ee - E - A.mainAxis, Fe = C ? -k[D] / 2 + Ce + ee + B + A.mainAxis : Ie + ee + B + A.mainAxis, gn = e.elements.arrow && oo(e.elements.arrow), ht = gn ? w === "y" ? gn.clientTop || 0 : gn.clientLeft || 0 : 0, rn = (J = O == null ? void 0 : O[w]) != null ? J : 0, hr = _ + pe - rn - ht, ti = _ + Fe - rn, Ji = Ma(h ? $s($, hr) : $, _, h ? Dr(le, ti) : le);
@@ -23355,8 +23358,8 @@ function q9(t) {
23355
23358
  }, u = [], p = !1, h = {
23356
23359
  state: d,
23357
23360
  setOptions: function(v) {
23358
- var x = typeof v == "function" ? v(d.options) : v;
23359
- g(), d.options = Object.assign({}, a, d.options, x), d.scrollParents = {
23361
+ var M = typeof v == "function" ? v(d.options) : v;
23362
+ g(), d.options = Object.assign({}, a, d.options, M), d.scrollParents = {
23360
23363
  reference: Hr(s) ? xa(s) : s.contextElement ? xa(s.contextElement) : [],
23361
23364
  popper: xa(l)
23362
23365
  };
@@ -23372,10 +23375,10 @@ function q9(t) {
23372
23375
  // prefer the async Popper#update method
23373
23376
  forceUpdate: function() {
23374
23377
  if (!p) {
23375
- var v = d.elements, x = v.reference, C = v.popper;
23376
- if (Vp(x, C)) {
23378
+ var v = d.elements, M = v.reference, C = v.popper;
23379
+ if (Vp(M, C)) {
23377
23380
  d.rects = {
23378
- reference: G9(x, oo(C), d.options.strategy === "fixed"),
23381
+ reference: G9(M, oo(C), d.options.strategy === "fixed"),
23379
23382
  popper: eu(C)
23380
23383
  }, d.reset = !1, d.placement = d.options.placement, d.orderedModifiers.forEach(function(A) {
23381
23384
  return d.modifiersData[A.name] = Object.assign({}, A.data);
@@ -23414,7 +23417,7 @@ function q9(t) {
23414
23417
  });
23415
23418
  function m() {
23416
23419
  d.orderedModifiers.forEach(function(y) {
23417
- var v = y.name, x = y.options, C = x === void 0 ? {} : x, w = y.effect;
23420
+ var v = y.name, M = y.options, C = M === void 0 ? {} : M, w = y.effect;
23418
23421
  if (typeof w == "function") {
23419
23422
  var N = w({
23420
23423
  state: d,
@@ -23541,8 +23544,8 @@ function hS(t, e) {
23541
23544
  var a = i.popperRect, o = i.popperState, s = i.props, l = s.interactiveBorder, c = sS(o.placement), d = o.modifiersData.offset;
23542
23545
  if (!d)
23543
23546
  return !0;
23544
- var u = c === "bottom" ? d.top.y : 0, p = c === "top" ? d.bottom.y : 0, h = c === "right" ? d.left.x : 0, m = c === "left" ? d.right.x : 0, g = a.top - r + u > l, y = r - a.bottom - p > l, v = a.left - n + h > l, x = n - a.right - m > l;
23545
- return g || y || v || x;
23547
+ var u = c === "bottom" ? d.top.y : 0, p = c === "top" ? d.bottom.y : 0, h = c === "right" ? d.left.x : 0, m = c === "left" ? d.right.x : 0, g = a.top - r + u > l, y = r - a.bottom - p > l, v = a.left - n + h > l, M = n - a.right - m > l;
23548
+ return g || y || v || M;
23546
23549
  });
23547
23550
  }
23548
23551
  function Pf(t, e, n) {
@@ -23800,7 +23803,7 @@ function zb(t) {
23800
23803
  zb.$$tippy = !0;
23801
23804
  var SS = 1, zo = [], Rf = [];
23802
23805
  function IS(t, e) {
23803
- var n = Kp(t, Object.assign({}, Lt, Eb(Qp(e)))), r, i, a, o = !1, s = !1, l = !1, c = !1, d, u, p, h = [], m = Yp(hr, n.interactiveDebounce), g, y = SS++, v = null, x = oS(n.plugins), C = {
23806
+ var n = Kp(t, Object.assign({}, Lt, Eb(Qp(e)))), r, i, a, o = !1, s = !1, l = !1, c = !1, d, u, p, h = [], m = Yp(hr, n.interactiveDebounce), g, y = SS++, v = null, M = oS(n.plugins), C = {
23804
23807
  // Is the instance currently enabled?
23805
23808
  isEnabled: !0,
23806
23809
  // Is the tippy currently showing and not transitioning out?
@@ -23819,7 +23822,7 @@ function IS(t, e) {
23819
23822
  popperInstance: v,
23820
23823
  props: n,
23821
23824
  state: C,
23822
- plugins: x,
23825
+ plugins: M,
23823
23826
  // methods
23824
23827
  clearDelayTimeouts: po,
23825
23828
  setProps: mo,
@@ -23836,7 +23839,7 @@ function IS(t, e) {
23836
23839
  return process.env.NODE_ENV !== "production" && zc(!0, "render() function has not been supplied."), w;
23837
23840
  var N = n.render(w), L = N.popper, k = N.onUpdate;
23838
23841
  L.setAttribute("data-tippy-root", ""), L.id = "tippy-" + w.id, w.popper = L, t._tippy = w, L._tippy = w;
23839
- var S = x.map(function(j) {
23842
+ var S = M.map(function(j) {
23840
23843
  return j.fn(w);
23841
23844
  }), I = t.hasAttribute("aria-expanded");
23842
23845
  return gn(), Ce(), _(), $("onCreate", [w]), n.showOnCreate && Yi(), L.addEventListener("mouseenter", function() {
@@ -24263,7 +24266,7 @@ const Ob = r1((t, e) => {
24263
24266
  })), /* @__PURE__ */ f("div", { className: "bg-popover text-popover-foreground border rounded-md shadow-md overflow-hidden p-1 min-w-[200px]", children: t.items.length ? t.items.map((l, c) => /* @__PURE__ */ b(
24264
24267
  "button",
24265
24268
  {
24266
- className: M(
24269
+ className: x(
24267
24270
  "w-full flex items-center gap-2 px-2 py-1.5 text-sm rounded-sm select-none outline-none cursor-pointer transition-colors",
24268
24271
  c === n ? "bg-accent text-accent-foreground" : "hover:bg-muted"
24269
24272
  ),
@@ -46483,8 +46486,8 @@ function vI(t) {
46483
46486
  }
46484
46487
  var y = (h[Ve.name] || []).join("").toLowerCase().split("");
46485
46488
  y.forEach(function(v) {
46486
- var x;
46487
- p[v] = (x = p[v]) != null ? x : {}, p[v][m] = h;
46489
+ var M;
46490
+ p[v] = (M = p[v]) != null ? M : {}, p[v][m] = h;
46488
46491
  });
46489
46492
  }), {
46490
46493
  emojiData: l,
@@ -46564,7 +46567,7 @@ function kI(t) {
46564
46567
  ge(function() {
46565
46568
  s.current = o;
46566
46569
  }, [o]);
46567
- var l = ze(!1), c = ze(!1), d = ze(n), u = i0(Date.now(), 200), p = i0("", 100), h = ie(!1), m = ie(r), g = ie(null), y = ie(/* @__PURE__ */ new Set()), v = ie(null), x = ie(i), C = ie(!1), w = C[0], N = C[1], L = ie([]), k = ie(null);
46570
+ var l = ze(!1), c = ze(!1), d = ze(n), u = i0(Date.now(), 200), p = i0("", 100), h = ie(!1), m = ie(r), g = ie(null), y = ie(/* @__PURE__ */ new Set()), v = ie(null), M = ie(i), C = ie(!1), w = C[0], N = C[1], L = ie([]), k = ie(null);
46568
46571
  return NI(N), R(Tt.Provider, {
46569
46572
  value: {
46570
46573
  activeCategoryState: g,
@@ -46579,7 +46582,7 @@ function kI(t) {
46579
46582
  searchTerm: p,
46580
46583
  skinToneFanOpenState: h,
46581
46584
  suggestedUpdateState: u,
46582
- reactionsModeState: x,
46585
+ reactionsModeState: M,
46583
46586
  visibleCategoriesState: L,
46584
46587
  emojiSizeState: k
46585
46588
  }
@@ -47801,7 +47804,7 @@ function $2(t, e) {
47801
47804
  p(), pI(k, I), d(UT(k, I, m, h), N);
47802
47805
  }
47803
47806
  }
47804
- }, [c, s, i, y, d, p, h, m]), x = Le(function(N) {
47807
+ }, [c, s, i, y, d, p, h, m]), M = Le(function(N) {
47805
47808
  var L;
47806
47809
  n.current && clearTimeout(n.current);
47807
47810
  var k = p0(N, y), S = k[0];
@@ -47818,15 +47821,15 @@ function $2(t, e) {
47818
47821
  var w = t.current;
47819
47822
  return w.addEventListener("click", v, {
47820
47823
  passive: !0
47821
- }), w.addEventListener("mousedown", x, {
47824
+ }), w.addEventListener("mousedown", M, {
47822
47825
  passive: !0
47823
47826
  }), w.addEventListener("mouseup", C, {
47824
47827
  passive: !0
47825
47828
  }), function() {
47826
- w == null || w.removeEventListener("click", v), w == null || w.removeEventListener("mousedown", x), w == null || w.removeEventListener("mouseup", C);
47829
+ w == null || w.removeEventListener("click", v), w == null || w.removeEventListener("mousedown", M), w == null || w.removeEventListener("mouseup", C);
47827
47830
  };
47828
47831
  }
47829
- }, [t, v, x, C]);
47832
+ }, [t, v, M, C]);
47830
47833
  }
47831
47834
  function p0(t, e) {
47832
47835
  var n = t == null ? void 0 : t.target;
@@ -48205,9 +48208,9 @@ function tj(t) {
48205
48208
  if (m) {
48206
48209
  var g = m.querySelector(Za), y = g == null ? void 0 : g.clientHeight;
48207
48210
  y && (a.current = y);
48208
- var v = c || y || a.current || ej, x = m.clientWidth;
48209
- if (!(x === 0 || v === 0)) {
48210
- var C = Math.max(1, Math.floor(x / v)), w = Math.ceil(t / C), N = w * v;
48211
+ var v = c || y || a.current || ej, M = m.clientWidth;
48212
+ if (!(M === 0 || v === 0)) {
48213
+ var C = Math.max(1, Math.floor(M / v)), w = Math.ceil(t / C), N = w * v;
48211
48214
  p({
48212
48215
  categoryHeight: N,
48213
48216
  emojisPerRow: C,
@@ -48222,7 +48225,7 @@ function tj(t) {
48222
48225
  var m = i.current;
48223
48226
  if (m) {
48224
48227
  var g = function(v) {
48225
- var x = v, C = x.propertyName;
48228
+ var M = v, C = M.propertyName;
48226
48229
  (C === "width" || C === "max-width" || C === "min-width" || C === "height" || C === "max-height" || C === "min-height") && (typeof queueMicrotask == "function" ? queueMicrotask(function() {
48227
48230
  return h();
48228
48231
  }) : requestAnimationFrame(function() {
@@ -48256,7 +48259,7 @@ function rj(t) {
48256
48259
  ge(function() {
48257
48260
  v && r(v.categoryHeight);
48258
48261
  }, [v, r, y.length]);
48259
- var x = function(N) {
48262
+ var M = function(N) {
48260
48263
  var L, k;
48261
48264
  return v && m.current && qT({
48262
48265
  scrollTop: i,
@@ -48267,7 +48270,7 @@ function rj(t) {
48267
48270
  });
48268
48271
  }, C = y.reduce(function(w, N, L) {
48269
48272
  var k = Wr(N, d), S = XT(v, L);
48270
- if (x(S)) {
48273
+ if (M(S)) {
48271
48274
  var I, A;
48272
48275
  return g++, NT(N, l, i, (I = (A = m.current) == null ? void 0 : A.clientHeight) != null ? I : 0, n, S, v, p), w;
48273
48276
  }
@@ -48757,14 +48760,14 @@ function K2(t) {
48757
48760
  }, R("div", {
48758
48761
  className: se(ea.select),
48759
48762
  ref: r
48760
- }, qs.map(function(v, x) {
48763
+ }, qs.map(function(v, M) {
48761
48764
  var C = v === c;
48762
48765
  return R(wj, {
48763
48766
  key: v,
48764
48767
  skinToneVariation: v,
48765
48768
  isOpen: o,
48766
48769
  style: {
48767
- transform: se(y ? "translateY(-" + x * (o ? sa : 0) + "px)" : "translateX(-" + x * (o ? sa : 0) + "px)", o && C && "scale(1.3)")
48770
+ transform: se(y ? "translateY(-" + M * (o ? sa : 0) + "px)" : "translateX(-" + M * (o ? sa : 0) + "px)", o && C && "scale(1.3)")
48768
48771
  },
48769
48772
  isActive: C,
48770
48773
  onClick: function() {
@@ -48897,7 +48900,7 @@ function Nj(t) {
48897
48900
  if ((g == null ? void 0 : g[1]) == 1)
48898
48901
  return e(g[0]);
48899
48902
  for (var y = 0, v = h; y < v.length; y++) {
48900
- var x = v[y], C = x[0], w = x[1];
48903
+ var M = v[y], C = M[0], w = M[1];
48901
48904
  if (w) {
48902
48905
  e(C);
48903
48906
  break;
@@ -49323,14 +49326,14 @@ const Qj = ({ role: t }) => {
49323
49326
  client: { label: "Cliente", className: "bg-blue-500/10 text-blue-600 hover:bg-blue-500/20 border-blue-500/20" },
49324
49327
  freelancer: { label: "Freelancer", className: "bg-orange-500/10 text-orange-600 hover:bg-orange-500/20 border-orange-500/20" }
49325
49328
  }, { label: n, className: r } = e[t];
49326
- return /* @__PURE__ */ f(be, { variant: "outline", className: M("text-[10px] h-5 px-1.5 font-medium border-0", r), children: n });
49329
+ return /* @__PURE__ */ f(be, { variant: "outline", className: x("text-[10px] h-5 px-1.5 font-medium border-0", r), children: n });
49327
49330
  }, Gj = ({ editor: t, visible: e }) => !t || !e ? null : /* @__PURE__ */ b("div", { className: "flex items-center gap-1 border-b p-1 bg-muted/20 animate-in slide-in-from-bottom-2 duration-200", children: [
49328
49331
  /* @__PURE__ */ f(
49329
49332
  H,
49330
49333
  {
49331
49334
  variant: "ghost",
49332
49335
  size: "icon",
49333
- className: M("h-7 w-7", t.isActive("bold") && "bg-muted text-primary"),
49336
+ className: x("h-7 w-7", t.isActive("bold") && "bg-muted text-primary"),
49334
49337
  onClick: () => t.chain().focus().toggleBold().run(),
49335
49338
  title: "Negrito (Ctrl+B)",
49336
49339
  children: /* @__PURE__ */ f(G0, { className: "h-3.5 w-3.5" })
@@ -49341,7 +49344,7 @@ const Qj = ({ role: t }) => {
49341
49344
  {
49342
49345
  variant: "ghost",
49343
49346
  size: "icon",
49344
- className: M("h-7 w-7", t.isActive("italic") && "bg-muted text-primary"),
49347
+ className: x("h-7 w-7", t.isActive("italic") && "bg-muted text-primary"),
49345
49348
  onClick: () => t.chain().focus().toggleItalic().run(),
49346
49349
  title: "Itálico (Ctrl+I)",
49347
49350
  children: /* @__PURE__ */ f(W0, { className: "h-3.5 w-3.5" })
@@ -49352,7 +49355,7 @@ const Qj = ({ role: t }) => {
49352
49355
  {
49353
49356
  variant: "ghost",
49354
49357
  size: "icon",
49355
- className: M("h-7 w-7", t.isActive("underline") && "bg-muted text-primary"),
49358
+ className: x("h-7 w-7", t.isActive("underline") && "bg-muted text-primary"),
49356
49359
  onClick: () => t.chain().focus().toggleUnderline().run(),
49357
49360
  title: "Sublinhado (Ctrl+U)",
49358
49361
  children: /* @__PURE__ */ f($0, { className: "h-3.5 w-3.5" })
@@ -49364,7 +49367,7 @@ const Qj = ({ role: t }) => {
49364
49367
  {
49365
49368
  variant: "ghost",
49366
49369
  size: "icon",
49367
- className: M("h-7 w-7", t.isActive("bulletList") && "bg-muted text-primary"),
49370
+ className: x("h-7 w-7", t.isActive("bulletList") && "bg-muted text-primary"),
49368
49371
  onClick: () => t.chain().focus().toggleBulletList().run(),
49369
49372
  children: /* @__PURE__ */ f(Z0, { className: "h-3.5 w-3.5" })
49370
49373
  }
@@ -49374,7 +49377,7 @@ const Qj = ({ role: t }) => {
49374
49377
  {
49375
49378
  variant: "ghost",
49376
49379
  size: "icon",
49377
- className: M("h-7 w-7", t.isActive("orderedList") && "bg-muted text-primary"),
49380
+ className: x("h-7 w-7", t.isActive("orderedList") && "bg-muted text-primary"),
49378
49381
  onClick: () => t.chain().focus().toggleOrderedList().run(),
49379
49382
  children: /* @__PURE__ */ f(K0, { className: "h-3.5 w-3.5" })
49380
49383
  }
@@ -49385,7 +49388,7 @@ const Qj = ({ role: t }) => {
49385
49388
  {
49386
49389
  variant: "ghost",
49387
49390
  size: "icon",
49388
- className: M("h-7 w-7", t.isActive("link") && "bg-muted text-primary"),
49391
+ className: x("h-7 w-7", t.isActive("link") && "bg-muted text-primary"),
49389
49392
  onClick: () => {
49390
49393
  const n = t.getAttributes("link").href, r = window.prompt("URL", n);
49391
49394
  if (r !== null) {
@@ -49421,15 +49424,15 @@ const Qj = ({ role: t }) => {
49421
49424
  class: "bg-purple-100 text-purple-800 rounded-sm px-1 py-0.5 font-medium dark:bg-purple-900/30 dark:text-purple-300 decoration-clone"
49422
49425
  },
49423
49426
  suggestion: {
49424
- items: ({ query: v }) => n.filter((x) => x.name.toLowerCase().startsWith(v.toLowerCase())).slice(0, 5),
49427
+ items: ({ query: v }) => n.filter((M) => M.name.toLowerCase().startsWith(v.toLowerCase())).slice(0, 5),
49425
49428
  render: () => {
49426
- let v, x;
49429
+ let v, M;
49427
49430
  return {
49428
49431
  onStart: (C) => {
49429
49432
  v = new rN(Ob, {
49430
49433
  props: C,
49431
49434
  editor: C.editor
49432
- }), C.clientRect && (x = so("body", {
49435
+ }), C.clientRect && (M = so("body", {
49433
49436
  getReferenceClientRect: C.clientRect,
49434
49437
  appendTo: () => document.body,
49435
49438
  content: v.element,
@@ -49440,16 +49443,16 @@ const Qj = ({ role: t }) => {
49440
49443
  }));
49441
49444
  },
49442
49445
  onUpdate(C) {
49443
- v.updateProps(C), C.clientRect && x[0].setProps({
49446
+ v.updateProps(C), C.clientRect && M[0].setProps({
49444
49447
  getReferenceClientRect: C.clientRect
49445
49448
  });
49446
49449
  },
49447
49450
  onKeyDown(C) {
49448
49451
  var w;
49449
- return C.event.key === "Escape" ? (x[0].hide(), !0) : (w = v.ref) == null ? void 0 : w.onKeyDown(C);
49452
+ return C.event.key === "Escape" ? (M[0].hide(), !0) : (w = v.ref) == null ? void 0 : w.onKeyDown(C);
49450
49453
  },
49451
49454
  onExit() {
49452
- x[0].destroy(), v.destroy();
49455
+ M[0].destroy(), v.destroy();
49453
49456
  }
49454
49457
  };
49455
49458
  }
@@ -49468,16 +49471,16 @@ const Qj = ({ role: t }) => {
49468
49471
  }
49469
49472
  }), m = (v) => {
49470
49473
  if (v.target.files && v.target.files[0]) {
49471
- const x = v.target.files[0], C = URL.createObjectURL(x), w = {
49474
+ const M = v.target.files[0], C = URL.createObjectURL(M), w = {
49472
49475
  id: Math.random().toString(36).substr(2, 9),
49473
- name: x.name,
49476
+ name: M.name,
49474
49477
  url: C,
49475
- type: x.type.startsWith("image/") ? "image" : "file"
49478
+ type: M.type.startsWith("image/") ? "image" : "file"
49476
49479
  };
49477
49480
  l([...s, w]), v.target.value = "";
49478
49481
  }
49479
49482
  }, g = (v) => {
49480
- l(s.filter((x) => x.id !== v));
49483
+ l(s.filter((M) => M.id !== v));
49481
49484
  }, y = () => {
49482
49485
  !h || h.isEmpty && s.length === 0 || (e({
49483
49486
  content: h.getHTML(),
@@ -49490,7 +49493,7 @@ const Qj = ({ role: t }) => {
49490
49493
  /* @__PURE__ */ f(tr, { src: t.avatar }),
49491
49494
  /* @__PURE__ */ f(tn, { children: t.name.substring(0, 2).toUpperCase() })
49492
49495
  ] }),
49493
- /* @__PURE__ */ b("div", { className: M(
49496
+ /* @__PURE__ */ b("div", { className: x(
49494
49497
  "flex-1 rounded-xl border bg-background shadow-sm overflow-hidden transition-colors",
49495
49498
  r && "border-red-200 ring-1 ring-red-100 dark:border-red-900/50 dark:ring-red-900/20"
49496
49499
  ), children: [
@@ -49515,7 +49518,7 @@ const Qj = ({ role: t }) => {
49515
49518
  {
49516
49519
  variant: "ghost",
49517
49520
  size: "icon",
49518
- className: M(
49521
+ className: x(
49519
49522
  "h-8 w-8 transition-colors",
49520
49523
  a ? "bg-muted text-foreground" : "text-muted-foreground hover:text-foreground"
49521
49524
  ),
@@ -49577,7 +49580,7 @@ const Qj = ({ role: t }) => {
49577
49580
  {
49578
49581
  variant: "ghost",
49579
49582
  size: "sm",
49580
- className: M(
49583
+ className: x(
49581
49584
  "h-8 gap-2 px-2 transition-colors",
49582
49585
  r ? "bg-red-100 text-red-700 hover:bg-red-200 hover:text-red-800 dark:bg-red-900/30 dark:text-red-400" : "text-muted-foreground hover:text-foreground"
49583
49586
  ),
@@ -49615,7 +49618,7 @@ const Qj = ({ role: t }) => {
49615
49618
  }) => {
49616
49619
  var a;
49617
49620
  const i = t.isRevisionRequest;
49618
- return /* @__PURE__ */ b("div", { className: M(
49621
+ return /* @__PURE__ */ b("div", { className: x(
49619
49622
  "group flex gap-3 p-4 rounded-lg transition-colors",
49620
49623
  i ? "bg-red-50/50 dark:bg-red-900/10 border border-red-100 dark:border-red-900/20" : "hover:bg-muted/20"
49621
49624
  ), children: [
@@ -49693,7 +49696,7 @@ const Qj = ({ role: t }) => {
49693
49696
  "button",
49694
49697
  {
49695
49698
  onClick: () => r == null ? void 0 : r(t.id, o.emoji),
49696
- className: M(
49699
+ className: x(
49697
49700
  "inline-flex items-center gap-1.5 px-2 py-0.5 rounded-full text-xs font-medium border transition-colors",
49698
49701
  o.users.includes(e) ? "bg-purple-50 border-purple-200 text-purple-700 dark:bg-purple-900/20 dark:border-purple-800 dark:text-purple-300" : "bg-muted/30 border-transparent hover:bg-muted/50 text-muted-foreground"
49699
49702
  ),
@@ -49743,7 +49746,7 @@ const Qj = ({ role: t }) => {
49743
49746
  attachments: l.attachments
49744
49747
  });
49745
49748
  };
49746
- return /* @__PURE__ */ b("div", { className: M("flex flex-col h-full", o), children: [
49749
+ return /* @__PURE__ */ b("div", { className: x("flex flex-col h-full", o), children: [
49747
49750
  /* @__PURE__ */ b("div", { className: "px-4 py-3 border-b flex items-center justify-between bg-card", children: [
49748
49751
  /* @__PURE__ */ f("h3", { className: "font-semibold text-base", children: "Comentários da Atividade" }),
49749
49752
  /* @__PURE__ */ f(be, { variant: "secondary", className: "bg-muted text-muted-foreground hover:bg-muted", children: t.length })
@@ -49819,7 +49822,7 @@ function l7({
49819
49822
  {
49820
49823
  "data-slot": "context-menu-sub-trigger",
49821
49824
  "data-inset": e,
49822
- className: M(
49825
+ className: x(
49823
49826
  "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]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
49824
49827
  t
49825
49828
  ),
@@ -49839,7 +49842,7 @@ function f7({
49839
49842
  Ke.SubContent,
49840
49843
  {
49841
49844
  "data-slot": "context-menu-sub-content",
49842
- className: M(
49845
+ className: x(
49843
49846
  "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-context-menu-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg",
49844
49847
  t
49845
49848
  ),
@@ -49855,7 +49858,7 @@ function c7({
49855
49858
  Ke.Content,
49856
49859
  {
49857
49860
  "data-slot": "context-menu-content",
49858
- className: M(
49861
+ className: x(
49859
49862
  "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-context-menu-content-available-height) min-w-[8rem] origin-(--radix-context-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md",
49860
49863
  t
49861
49864
  ),
@@ -49875,7 +49878,7 @@ function d7({
49875
49878
  "data-slot": "context-menu-item",
49876
49879
  "data-inset": e,
49877
49880
  "data-variant": n,
49878
- className: M(
49881
+ className: x(
49879
49882
  "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]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
49880
49883
  t
49881
49884
  ),
@@ -49893,7 +49896,7 @@ function u7({
49893
49896
  Ke.CheckboxItem,
49894
49897
  {
49895
49898
  "data-slot": "context-menu-checkbox-item",
49896
- className: M(
49899
+ className: x(
49897
49900
  "focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-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",
49898
49901
  t
49899
49902
  ),
@@ -49915,7 +49918,7 @@ function h7({
49915
49918
  Ke.RadioItem,
49916
49919
  {
49917
49920
  "data-slot": "context-menu-radio-item",
49918
- className: M(
49921
+ className: x(
49919
49922
  "focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-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",
49920
49923
  t
49921
49924
  ),
@@ -49937,7 +49940,7 @@ function p7({
49937
49940
  {
49938
49941
  "data-slot": "context-menu-label",
49939
49942
  "data-inset": e,
49940
- className: M(
49943
+ className: x(
49941
49944
  "text-foreground px-2 py-1.5 text-sm font-semibold data-[inset]:pl-8",
49942
49945
  t
49943
49946
  ),
@@ -49953,7 +49956,7 @@ function m7({
49953
49956
  Ke.Separator,
49954
49957
  {
49955
49958
  "data-slot": "context-menu-separator",
49956
- className: M("bg-border -mx-1 my-1 h-px", t),
49959
+ className: x("bg-border -mx-1 my-1 h-px", t),
49957
49960
  ...e
49958
49961
  }
49959
49962
  );
@@ -49966,7 +49969,7 @@ function g7({
49966
49969
  "span",
49967
49970
  {
49968
49971
  "data-slot": "context-menu-shortcut",
49969
- className: M(
49972
+ className: x(
49970
49973
  "text-muted-foreground ml-auto text-xs tracking-widest",
49971
49974
  t
49972
49975
  ),
@@ -50074,10 +50077,10 @@ function pi({
50074
50077
  3: "grid-cols-3",
50075
50078
  4: "grid-cols-4"
50076
50079
  }[e];
50077
- return /* @__PURE__ */ f("div", { className: M("print-info-grid", n), children: /* @__PURE__ */ f("div", { className: M("grid gap-4", r), children: t.map((i, a) => /* @__PURE__ */ b(
50080
+ return /* @__PURE__ */ f("div", { className: x("print-info-grid", n), children: /* @__PURE__ */ f("div", { className: x("grid gap-4", r), children: t.map((i, a) => /* @__PURE__ */ b(
50078
50081
  "div",
50079
50082
  {
50080
- className: M(
50083
+ className: x(
50081
50084
  "info-item",
50082
50085
  i.highlight && "bg-gray-50 p-3 rounded border border-gray-200"
50083
50086
  ),
@@ -50086,7 +50089,7 @@ function pi({
50086
50089
  /* @__PURE__ */ f(
50087
50090
  "dd",
50088
50091
  {
50089
- className: M(
50092
+ className: x(
50090
50093
  "text-sm text-gray-900",
50091
50094
  i.highlight && "font-semibold"
50092
50095
  ),
@@ -50109,7 +50112,7 @@ function bt({
50109
50112
  return /* @__PURE__ */ b(
50110
50113
  "div",
50111
50114
  {
50112
- className: M(
50115
+ className: x(
50113
50116
  "print-section mb-8",
50114
50117
  i && "avoid-break",
50115
50118
  a && "page-break",
@@ -50174,7 +50177,7 @@ function Yc({
50174
50177
  /* @__PURE__ */ b(
50175
50178
  "table",
50176
50179
  {
50177
- className: M(
50180
+ className: x(
50178
50181
  "w-full text-sm",
50179
50182
  i && "border border-gray-300"
50180
50183
  ),
@@ -50182,7 +50185,7 @@ function Yc({
50182
50185
  /* @__PURE__ */ f("thead", { children: /* @__PURE__ */ f("tr", { className: "bg-gray-100", children: t.map((c, d) => /* @__PURE__ */ f(
50183
50186
  "th",
50184
50187
  {
50185
- className: M(
50188
+ className: x(
50186
50189
  l,
50187
50190
  "font-semibold text-gray-900 border-b-2 border-gray-300",
50188
50191
  c.align === "center" && "text-center",
@@ -50196,7 +50199,7 @@ function Yc({
50196
50199
  /* @__PURE__ */ f("tbody", { children: e.map((c, d) => /* @__PURE__ */ f(
50197
50200
  "tr",
50198
50201
  {
50199
- className: M(
50202
+ className: x(
50200
50203
  r && d % 2 === 0 && "bg-gray-50",
50201
50204
  "avoid-break"
50202
50205
  ),
@@ -50205,7 +50208,7 @@ function Yc({
50205
50208
  return /* @__PURE__ */ f(
50206
50209
  "td",
50207
50210
  {
50208
- className: M(
50211
+ className: x(
50209
50212
  l,
50210
50213
  "border-b border-gray-200",
50211
50214
  u.align === "center" && "text-center",
@@ -50265,7 +50268,7 @@ function n4({
50265
50268
  return /* @__PURE__ */ b(
50266
50269
  "div",
50267
50270
  {
50268
- className: M(
50271
+ className: x(
50269
50272
  "contract-template bg-white text-black",
50270
50273
  e ? "shadow-lg rounded-lg p-8 max-w-5xl mx-auto my-8" : "p-0"
50271
50274
  ),
@@ -50815,7 +50818,7 @@ function y7({
50815
50818
  style: "currency",
50816
50819
  currency: "BRL"
50817
50820
  }).format(v);
50818
- return /* @__PURE__ */ b("div", { className: M("space-y-6", o), children: [
50821
+ return /* @__PURE__ */ b("div", { className: x("space-y-6", o), children: [
50819
50822
  n && /* @__PURE__ */ b(Mi, { className: "no-print", children: [
50820
50823
  /* @__PURE__ */ f(Ia, { children: /* @__PURE__ */ b(Ta, { className: "flex items-center justify-between", children: [
50821
50824
  /* @__PURE__ */ f("span", { children: "Ações do Documento" }),
@@ -50907,7 +50910,7 @@ function y7({
50907
50910
  ] })
50908
50911
  ] });
50909
50912
  }
50910
- const Xj = T.forwardRef(({ data: t, logo: e, showServices: n = !0, className: r }, i) => /* @__PURE__ */ f("div", { className: M("bg-white rounded-lg shadow-sm p-8", r), ref: i, children: /* @__PURE__ */ f(
50913
+ const Xj = T.forwardRef(({ data: t, logo: e, showServices: n = !0, className: r }, i) => /* @__PURE__ */ f("div", { className: x("bg-white rounded-lg shadow-sm p-8", r), ref: i, children: /* @__PURE__ */ f(
50911
50914
  n4,
50912
50915
  {
50913
50916
  data: t,
@@ -50937,7 +50940,7 @@ const _c = T.forwardRef(
50937
50940
  keepWithinRange: g = !0,
50938
50941
  showButtons: y = !0,
50939
50942
  buttonLayout: v = "vertical",
50940
- buttonPosition: x = "right",
50943
+ buttonPosition: M = "right",
50941
50944
  disabled: C,
50942
50945
  readOnly: w,
50943
50946
  ...N
@@ -50990,7 +50993,7 @@ const _c = T.forwardRef(
50990
50993
  disabled: C || w || Y >= l,
50991
50994
  tabIndex: -1,
50992
50995
  "aria-label": "Increment",
50993
- className: M(
50996
+ className: x(
50994
50997
  "inline-flex items-center justify-center transition-colors",
50995
50998
  "hover:bg-muted active:bg-accent",
50996
50999
  "disabled:opacity-40 disabled:cursor-not-allowed disabled:hover:bg-transparent",
@@ -51009,7 +51012,7 @@ const _c = T.forwardRef(
51009
51012
  disabled: C || w || Y <= s,
51010
51013
  tabIndex: -1,
51011
51014
  "aria-label": "Decrement",
51012
- className: M(
51015
+ className: x(
51013
51016
  "inline-flex items-center justify-center transition-colors",
51014
51017
  "hover:bg-muted active:bg-accent",
51015
51018
  "disabled:opacity-40 disabled:cursor-not-allowed disabled:hover:bg-transparent",
@@ -51025,9 +51028,9 @@ const _c = T.forwardRef(
51025
51028
  return /* @__PURE__ */ b(
51026
51029
  "div",
51027
51030
  {
51028
- className: M(
51031
+ className: x(
51029
51032
  "flex flex-col items-center justify-center gap-[2px] self-stretch px-1 shrink-0 overflow-hidden",
51030
- x === "right" ? "order-2 border-l border-input rounded-r-md" : "order-[-1] border-r border-input rounded-l-md"
51033
+ M === "right" ? "order-2 border-l border-input rounded-r-md" : "order-[-1] border-r border-input rounded-l-md"
51031
51034
  ),
51032
51035
  children: [
51033
51036
  B,
@@ -51038,7 +51041,7 @@ const _c = T.forwardRef(
51038
51041
  if (v === "horizontal")
51039
51042
  return [ee, B];
51040
51043
  };
51041
- return v === "horizontal" && y ? /* @__PURE__ */ b("div", { className: M("inline-flex items-center w-full", n), style: r, children: [
51044
+ return v === "horizontal" && y ? /* @__PURE__ */ b("div", { className: x("inline-flex items-center w-full", n), style: r, children: [
51042
51045
  E(),
51043
51046
  /* @__PURE__ */ f(
51044
51047
  "input",
@@ -51047,7 +51050,7 @@ const _c = T.forwardRef(
51047
51050
  type: "text",
51048
51051
  inputMode: "decimal",
51049
51052
  "data-slot": "input",
51050
- className: M(
51053
+ className: x(
51051
51054
  "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 border-y px-3 py-1 text-base bg-input-background transition-[color,box-shadow] outline-none disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
51052
51055
  "focus-visible:relative focus-visible:z-10 focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]",
51053
51056
  "aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
@@ -51072,7 +51075,7 @@ const _c = T.forwardRef(
51072
51075
  ] }) : /* @__PURE__ */ b(
51073
51076
  "div",
51074
51077
  {
51075
- className: M(
51078
+ className: x(
51076
51079
  "inline-flex w-full items-stretch",
51077
51080
  n
51078
51081
  ),
@@ -51085,13 +51088,13 @@ const _c = T.forwardRef(
51085
51088
  type: "text",
51086
51089
  inputMode: "decimal",
51087
51090
  "data-slot": "input",
51088
- className: M(
51091
+ className: x(
51089
51092
  "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 px-3 py-1 text-base bg-input-background transition-[color,box-shadow] outline-none disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
51090
51093
  "focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]",
51091
51094
  "aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
51092
51095
  "tabular-nums",
51093
- y && v === "vertical" && x === "right" && "text-right rounded-r-none border-r-0",
51094
- y && v === "vertical" && x === "left" && "text-left rounded-l-none border-l-0",
51096
+ y && v === "vertical" && M === "right" && "text-right rounded-r-none border-r-0",
51097
+ y && v === "vertical" && M === "left" && "text-left rounded-l-none border-l-0",
51095
51098
  !y && "text-right",
51096
51099
  e,
51097
51100
  t
@@ -51123,7 +51126,7 @@ function r4({ className: t, ...e }) {
51123
51126
  "textarea",
51124
51127
  {
51125
51128
  "data-slot": "textarea",
51126
- className: M(
51129
+ className: x(
51127
51130
  "resize-none 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-input-background px-3 py-2 text-base transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
51128
51131
  t
51129
51132
  ),
@@ -51137,7 +51140,7 @@ function eD({ className: t, ...e }) {
51137
51140
  {
51138
51141
  "data-slot": "input-group",
51139
51142
  role: "group",
51140
- className: M(
51143
+ className: x(
51141
51144
  "group/input-group cn-input-group relative flex w-full min-w-0 items-center outline-none has-[>textarea]:h-auto",
51142
51145
  t
51143
51146
  ),
@@ -51172,7 +51175,7 @@ function x0({
51172
51175
  role: "group",
51173
51176
  "data-slot": "input-group-addon",
51174
51177
  "data-align": e,
51175
- className: M(tD({ align: e }), t),
51178
+ className: x(tD({ align: e }), t),
51176
51179
  onClick: (r) => {
51177
51180
  var i, a;
51178
51181
  r.target.closest("button") || (a = (i = r.currentTarget.parentElement) == null ? void 0 : i.querySelector("input")) == null || a.focus();
@@ -51210,7 +51213,7 @@ function v7({
51210
51213
  "data-slot": "input-group-button",
51211
51214
  type: r,
51212
51215
  variant: n,
51213
- className: M(nD({ size: e }), t),
51216
+ className: x(nD({ size: e }), t),
51214
51217
  ...i
51215
51218
  }
51216
51219
  );
@@ -51220,7 +51223,7 @@ function w7({ className: t, ...e }) {
51220
51223
  "span",
51221
51224
  {
51222
51225
  "data-slot": "input-group-text",
51223
- className: M("text-muted-foreground text-sm", t),
51226
+ className: x("text-muted-foreground text-sm", t),
51224
51227
  ...e
51225
51228
  }
51226
51229
  );
@@ -51233,7 +51236,7 @@ function M7({
51233
51236
  Xt,
51234
51237
  {
51235
51238
  "data-slot": "input-group-control",
51236
- className: M("cn-input-group-input flex-1", t),
51239
+ className: x("cn-input-group-input flex-1", t),
51237
51240
  ...e
51238
51241
  }
51239
51242
  );
@@ -51246,7 +51249,7 @@ function x7({
51246
51249
  r4,
51247
51250
  {
51248
51251
  "data-slot": "input-group-control",
51249
- className: M("cn-input-group-textarea flex-1 resize-none", t),
51252
+ className: x("cn-input-group-textarea flex-1 resize-none", t),
51250
51253
  ...e
51251
51254
  }
51252
51255
  );
@@ -51284,7 +51287,7 @@ const rD = {
51284
51287
  _c,
51285
51288
  {
51286
51289
  ref: s,
51287
- className: M(
51290
+ className: x(
51288
51291
  "border-none shadow-none ring-0 focus-visible:ring-0 focus-visible:border-transparent",
51289
51292
  i === "start" ? "pl-2" : "pr-2"
51290
51293
  ),
@@ -51369,7 +51372,7 @@ function oD({
51369
51372
  id: y,
51370
51373
  name: v
51371
51374
  }) {
51372
- const [x, C] = T.useState(!1), [w, N] = T.useState(""), [L, k] = T.useState(!1), S = u ? `${o} HH:mm` : o, I = T.useMemo(() => u ? [
51375
+ const [M, C] = T.useState(!1), [w, N] = T.useState(""), [L, k] = T.useState(!1), S = u ? `${o} HH:mm` : o, I = T.useMemo(() => u ? [
51373
51376
  "dd/MM/yyyy HH:mm",
51374
51377
  "dd/MM/yy HH:mm",
51375
51378
  "d/M/yyyy HH:mm",
@@ -51480,7 +51483,7 @@ function oD({
51480
51483
  }, Ie = (V) => {
51481
51484
  V.stopPropagation(), e == null || e(void 0), N(""), k(!1);
51482
51485
  };
51483
- return /* @__PURE__ */ b(vt, { open: x, onOpenChange: C, children: [
51486
+ return /* @__PURE__ */ b(vt, { open: M, onOpenChange: C, children: [
51484
51487
  /* @__PURE__ */ f(st, { asChild: !0, children: /* @__PURE__ */ b("div", { className: "relative w-full", children: [
51485
51488
  /* @__PURE__ */ f(
51486
51489
  Xt,
@@ -51494,7 +51497,7 @@ function oD({
51494
51497
  placeholder: n,
51495
51498
  disabled: r,
51496
51499
  "aria-invalid": c || L,
51497
- className: M(
51500
+ className: x(
51498
51501
  "pr-20",
51499
51502
  (c || L) && "border-destructive focus-visible:ring-destructive/20",
51500
51503
  l
@@ -51684,7 +51687,7 @@ function cD({
51684
51687
  bv.Root,
51685
51688
  {
51686
51689
  "data-slot": "toggle",
51687
- className: M(i4({ variant: e, size: n, className: t })),
51690
+ className: x(i4({ variant: e, size: n, className: t })),
51688
51691
  ...r
51689
51692
  }
51690
51693
  );
@@ -51721,7 +51724,7 @@ const ot = ({
51721
51724
  const i = window.prompt("URL da imagem");
51722
51725
  i && t.chain().focus().setImage({ src: i }).run();
51723
51726
  };
51724
- return /* @__PURE__ */ b("div", { className: M(
51727
+ return /* @__PURE__ */ b("div", { className: x(
51725
51728
  "flex flex-wrap items-center gap-1 p-2 border-b bg-muted/30 sticky top-0 z-10",
51726
51729
  e === "full" ? "px-4 py-2" : "px-2 py-1"
51727
51730
  ), children: [
@@ -51799,7 +51802,7 @@ function C7({
51799
51802
  },
51800
51803
  editorProps: {
51801
51804
  attributes: {
51802
- class: M(
51805
+ class: x(
51803
51806
  "prose prose-stone dark:prose-invert max-w-none focus:outline-none",
51804
51807
  "prose-headings:font-semibold prose-headings:tracking-tight",
51805
51808
  "prose-h1:text-3xl prose-h2:text-2xl prose-h3:text-xl",
@@ -51812,14 +51815,14 @@ function C7({
51812
51815
  }
51813
51816
  }
51814
51817
  });
51815
- return l ? /* @__PURE__ */ b("div", { className: M("flex flex-col w-full", i), children: [
51818
+ return l ? /* @__PURE__ */ b("div", { className: x("flex flex-col w-full", i), children: [
51816
51819
  o && /* @__PURE__ */ f("label", { className: "text-sm font-medium mb-1.5 block", children: o }),
51817
- /* @__PURE__ */ b("div", { className: M(
51820
+ /* @__PURE__ */ b("div", { className: x(
51818
51821
  "border rounded-lg bg-background overflow-hidden transition-shadow focus-within:ring-2 focus-within:ring-primary/20",
51819
51822
  a && "opacity-80 bg-muted/30 pointer-events-none border-transparent"
51820
51823
  ), children: [
51821
51824
  !a && /* @__PURE__ */ f(dD, { editor: l, variant: r }),
51822
- /* @__PURE__ */ f("div", { className: M(
51825
+ /* @__PURE__ */ f("div", { className: x(
51823
51826
  "bg-background relative",
51824
51827
  r === "full" ? "bg-white dark:bg-zinc-950" : ""
51825
51828
  ), children: /* @__PURE__ */ f(Hd, { editor: l }) })
@@ -51849,7 +51852,7 @@ const a4 = T.forwardRef(({ className: t, ...e }, n) => /* @__PURE__ */ f(
51849
51852
  {
51850
51853
  ref: n,
51851
51854
  "data-slot": "drawer-overlay",
51852
- className: M(
51855
+ className: x(
51853
51856
  "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",
51854
51857
  t
51855
51858
  ),
@@ -51864,7 +51867,7 @@ const mD = T.forwardRef(({ className: t, children: e, ...n }, r) => /* @__PURE__
51864
51867
  {
51865
51868
  ref: r,
51866
51869
  "data-slot": "drawer-content",
51867
- className: M(
51870
+ className: x(
51868
51871
  "group/drawer-content bg-background fixed z-50 flex h-auto flex-col",
51869
51872
  "data-[vaul-drawer-direction=top]:inset-x-0 data-[vaul-drawer-direction=top]:top-0 data-[vaul-drawer-direction=top]:mb-24 data-[vaul-drawer-direction=top]:max-h-[80vh] data-[vaul-drawer-direction=top]:rounded-b-lg data-[vaul-drawer-direction=top]:border-b",
51870
51873
  "data-[vaul-drawer-direction=bottom]:inset-x-0 data-[vaul-drawer-direction=bottom]:bottom-0 data-[vaul-drawer-direction=bottom]:mt-24 data-[vaul-drawer-direction=bottom]:max-h-[80vh] data-[vaul-drawer-direction=bottom]:rounded-t-lg data-[vaul-drawer-direction=bottom]:border-t",
@@ -51886,7 +51889,7 @@ function N7({ className: t, ...e }) {
51886
51889
  "div",
51887
51890
  {
51888
51891
  "data-slot": "drawer-header",
51889
- className: M("flex flex-col gap-1.5 p-4", t),
51892
+ className: x("flex flex-col gap-1.5 p-4", t),
51890
51893
  ...e
51891
51894
  }
51892
51895
  );
@@ -51896,7 +51899,7 @@ function k7({ className: t, ...e }) {
51896
51899
  "div",
51897
51900
  {
51898
51901
  "data-slot": "drawer-footer",
51899
- className: M("mt-auto flex flex-col gap-2 p-4", t),
51902
+ className: x("mt-auto flex flex-col gap-2 p-4", t),
51900
51903
  ...e
51901
51904
  }
51902
51905
  );
@@ -51906,7 +51909,7 @@ const gD = T.forwardRef(({ className: t, ...e }, n) => /* @__PURE__ */ f(
51906
51909
  {
51907
51910
  ref: n,
51908
51911
  "data-slot": "drawer-title",
51909
- className: M("text-foreground font-semibold leading-[1.2]", t),
51912
+ className: x("text-foreground font-semibold leading-[1.2]", t),
51910
51913
  ...e
51911
51914
  }
51912
51915
  ));
@@ -51916,7 +51919,7 @@ const bD = T.forwardRef(({ className: t, ...e }, n) => /* @__PURE__ */ f(
51916
51919
  {
51917
51920
  ref: n,
51918
51921
  "data-slot": "drawer-description",
51919
- className: M("text-muted-foreground text-sm leading-relaxed", t),
51922
+ className: x("text-muted-foreground text-sm leading-relaxed", t),
51920
51923
  ...e
51921
51924
  }
51922
51925
  ));
@@ -51938,7 +51941,7 @@ function yD({
51938
51941
  className: h,
51939
51942
  ...m
51940
51943
  }, g) {
51941
- const [y, v] = T.useState(null), [x, C] = T.useState(!1), [w, N] = T.useState(!1), [L, k] = T.useState(!1), S = T.useMemo(
51944
+ const [y, v] = T.useState(null), [M, C] = T.useState(!1), [w, N] = T.useState(!1), [L, k] = T.useState(!1), S = T.useMemo(
51942
51945
  () => e.find((D) => D.value === t),
51943
51946
  [e, t]
51944
51947
  ), I = T.useMemo(
@@ -51974,13 +51977,13 @@ function yD({
51974
51977
  S.icon,
51975
51978
  S.label
51976
51979
  ] }) : t, [p, t, S]), Y = (S == null ? void 0 : S.variant) || a, K = S == null ? void 0 : S.className;
51977
- return i ? /* @__PURE__ */ f("div", { ref: g, className: M("inline-flex", h), ...m, children: /* @__PURE__ */ f(be, { variant: Y, className: K, children: J() }) }) : /* @__PURE__ */ b(Ue, { children: [
51978
- /* @__PURE__ */ f("div", { ref: g, className: M("inline-flex", h), ...m, children: /* @__PURE__ */ b(fl, { open: w, onOpenChange: N, children: [
51980
+ return i ? /* @__PURE__ */ f("div", { ref: g, className: x("inline-flex", h), ...m, children: /* @__PURE__ */ f(be, { variant: Y, className: K, children: J() }) }) : /* @__PURE__ */ b(Ue, { children: [
51981
+ /* @__PURE__ */ f("div", { ref: g, className: x("inline-flex", h), ...m, children: /* @__PURE__ */ b(fl, { open: w, onOpenChange: N, children: [
51979
51982
  /* @__PURE__ */ f(cl, { asChild: !0, disabled: u, children: /* @__PURE__ */ b(
51980
51983
  be,
51981
51984
  {
51982
51985
  variant: Y,
51983
- className: M(
51986
+ className: x(
51984
51987
  "cursor-pointer hover:opacity-80 transition-opacity gap-1.5",
51985
51988
  u && "opacity-50 cursor-not-allowed",
51986
51989
  K
@@ -52005,7 +52008,7 @@ function yD({
52005
52008
  String(D.value)
52006
52009
  )) })
52007
52010
  ] }) }),
52008
- /* @__PURE__ */ f(hl, { open: x, onOpenChange: C, children: /* @__PURE__ */ b(pl, { children: [
52011
+ /* @__PURE__ */ f(hl, { open: M, onOpenChange: C, children: /* @__PURE__ */ b(pl, { children: [
52009
52012
  /* @__PURE__ */ b(ml, { children: [
52010
52013
  /* @__PURE__ */ f(gl, { children: o }),
52011
52014
  /* @__PURE__ */ f(bl, { children: s })
@@ -52052,7 +52055,7 @@ function wD({
52052
52055
  ll.Root,
52053
52056
  {
52054
52057
  "data-slot": "tabs",
52055
- className: M("flex flex-col gap-2", t),
52058
+ className: x("flex flex-col gap-2", t),
52056
52059
  ...e
52057
52060
  }
52058
52061
  );
@@ -52065,7 +52068,7 @@ function MD({
52065
52068
  ll.List,
52066
52069
  {
52067
52070
  "data-slot": "tabs-list",
52068
- className: M(
52071
+ className: x(
52069
52072
  "bg-muted text-muted-foreground inline-flex h-9 w-fit items-center justify-center rounded-xl p-[3px] flex",
52070
52073
  t
52071
52074
  ),
@@ -52081,7 +52084,7 @@ function Ff({
52081
52084
  ll.Trigger,
52082
52085
  {
52083
52086
  "data-slot": "tabs-trigger",
52084
- className: M(
52087
+ className: x(
52085
52088
  "data-[state=active]:bg-card 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-xl 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 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
52086
52089
  t
52087
52090
  ),
@@ -52097,7 +52100,7 @@ function S7({
52097
52100
  ll.Content,
52098
52101
  {
52099
52102
  "data-slot": "tabs-content",
52100
- className: M("flex-1 outline-none", t),
52103
+ className: x("flex-1 outline-none", t),
52101
52104
  ...e
52102
52105
  }
52103
52106
  );
@@ -52193,8 +52196,8 @@ function s4(t, e, n) {
52193
52196
  if (l)
52194
52197
  throw new Error(process.env.NODE_ENV === "production" ? Ot(6) : "You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api/store#subscribelistener for more details.");
52195
52198
  y = !1, c();
52196
- var x = s.indexOf(g);
52197
- s.splice(x, 1), o = null;
52199
+ var M = s.indexOf(g);
52200
+ s.splice(M, 1), o = null;
52198
52201
  }
52199
52202
  };
52200
52203
  }
@@ -52211,8 +52214,8 @@ function s4(t, e, n) {
52211
52214
  l = !1;
52212
52215
  }
52213
52216
  for (var y = o = s, v = 0; v < y.length; v++) {
52214
- var x = y[v];
52215
- x();
52217
+ var M = y[v];
52218
+ M();
52216
52219
  }
52217
52220
  return g;
52218
52221
  }
@@ -52234,11 +52237,11 @@ function s4(t, e, n) {
52234
52237
  * be used to unsubscribe the observable from the store, and prevent further
52235
52238
  * emission of values from the observable.
52236
52239
  */
52237
- subscribe: function(x) {
52238
- if (typeof x != "object" || x === null)
52239
- throw new Error(process.env.NODE_ENV === "production" ? Ot(11) : "Expected the observer to be an object. Instead, received: '" + si(x) + "'");
52240
+ subscribe: function(M) {
52241
+ if (typeof M != "object" || M === null)
52242
+ throw new Error(process.env.NODE_ENV === "production" ? Ot(11) : "Expected the observer to be an object. Instead, received: '" + si(M) + "'");
52240
52243
  function C() {
52241
- x.next && x.next(d());
52244
+ M.next && M.next(d());
52242
52245
  }
52243
52246
  C();
52244
52247
  var w = y(C);
@@ -54105,10 +54108,10 @@ function j5(t, e, n, r, i) {
54105
54108
  l.x / c * h,
54106
54109
  // Dock to the right
54107
54110
  l.x + h - c
54108
- ]).interpolate(u), { offsetX: v, offsetY: x } = i, C = v === 0 || v, w = x === 0 || x;
54111
+ ]).interpolate(u), { offsetX: v, offsetY: M } = i, C = v === 0 || v, w = M === 0 || M;
54109
54112
  return {
54110
54113
  x: C ? v : y(),
54111
- y: w ? x : g()
54114
+ y: w ? M : g()
54112
54115
  };
54113
54116
  }
54114
54117
  class D5 {
@@ -54454,7 +54457,7 @@ function ef({
54454
54457
  {
54455
54458
  ref: o,
54456
54459
  onClick: r,
54457
- className: M(
54460
+ className: x(
54458
54461
  "relative group cursor-pointer bg-white border rounded-md shadow-sm hover:shadow-md transition-all mb-3 overflow-hidden",
54459
54462
  a ? "opacity-50" : "opacity-100",
54460
54463
  t.status === "published" ? "border-l-4 border-l-slate-800" : "border-l-4 border-l-[#7F26BF]"
@@ -54462,7 +54465,7 @@ function ef({
54462
54465
  children: [
54463
54466
  /* @__PURE__ */ b("div", { className: "flex items-center justify-between px-3 py-2 border-b bg-gray-50/50", children: [
54464
54467
  /* @__PURE__ */ b("div", { className: "flex items-center gap-2", children: [
54465
- /* @__PURE__ */ f(s, { size: 14, className: M(t.channel ? Wf[t.channel] : "text-gray-400") }),
54468
+ /* @__PURE__ */ f(s, { size: 14, className: x(t.channel ? Wf[t.channel] : "text-gray-400") }),
54466
54469
  d && /* @__PURE__ */ f("span", { className: "text-xs font-medium text-gray-500", children: d })
54467
54470
  ] }),
54468
54471
  /* @__PURE__ */ f("div", { className: "opacity-0 group-hover:opacity-100 text-gray-400 cursor-grab", children: /* @__PURE__ */ f(Dy, { size: 14 }) })
@@ -54471,7 +54474,7 @@ function ef({
54471
54474
  /* @__PURE__ */ b("div", { className: "p-3", children: [
54472
54475
  /* @__PURE__ */ f("h4", { className: "text-sm font-medium text-gray-900 line-clamp-2 mb-2 leading-snug", children: t.title }),
54473
54476
  /* @__PURE__ */ b("div", { className: "flex items-center justify-between", children: [
54474
- /* @__PURE__ */ f(be, { variant: "outline", className: M("px-1.5 py-0 text-[10px] h-5 font-normal uppercase tracking-wide", Kc[t.status]), children: t.status }),
54477
+ /* @__PURE__ */ f(be, { variant: "outline", className: x("px-1.5 py-0 text-[10px] h-5 font-normal uppercase tracking-wide", Kc[t.status]), children: t.status }),
54475
54478
  t.assignees && t.assignees.length > 0 && /* @__PURE__ */ f("div", { className: "flex -space-x-2", children: t.assignees.slice(0, 2).map((h, m) => /* @__PURE__ */ b(en, { className: "w-5 h-5 border border-white", children: [
54476
54479
  /* @__PURE__ */ f(tr, { src: h.avatar }),
54477
54480
  /* @__PURE__ */ f(tn, { className: "text-[8px]", children: h.name[0] })
@@ -54485,7 +54488,7 @@ function ef({
54485
54488
  {
54486
54489
  ref: o,
54487
54490
  onClick: r,
54488
- className: M(
54491
+ className: x(
54489
54492
  "relative group cursor-pointer bg-white border rounded-md shadow-sm hover:shadow-md transition-all mb-1 overflow-hidden flex items-center gap-2 p-1.5",
54490
54493
  a ? "opacity-50" : "opacity-100",
54491
54494
  t.status === "published" ? "border-l-4 border-l-slate-800" : "border-l-4 border-l-[#7F26BF]"
@@ -54493,7 +54496,7 @@ function ef({
54493
54496
  children: [
54494
54497
  t.imageUrl && /* @__PURE__ */ f("div", { className: "w-8 h-8 flex-shrink-0 bg-gray-100 rounded overflow-hidden", children: /* @__PURE__ */ f("img", { src: t.imageUrl, alt: "", className: "w-full h-full object-cover" }) }),
54495
54498
  /* @__PURE__ */ f("div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ b("div", { className: "flex items-center gap-1.5", children: [
54496
- /* @__PURE__ */ f(s, { size: 12, className: M(t.channel ? Wf[t.channel] : "text-gray-400") }),
54499
+ /* @__PURE__ */ f(s, { size: 12, className: x(t.channel ? Wf[t.channel] : "text-gray-400") }),
54497
54500
  /* @__PURE__ */ f("span", { className: "truncate font-medium text-xs", children: t.title })
54498
54501
  ] }) })
54499
54502
  ]
@@ -54504,7 +54507,7 @@ function ef({
54504
54507
  ref: o,
54505
54508
  onClick: r,
54506
54509
  style: i,
54507
- className: M(
54510
+ className: x(
54508
54511
  "absolute z-10 rounded-md border shadow-sm p-1.5 text-xs flex flex-col overflow-hidden hover:overflow-visible hover:h-auto! hover:min-h-[min-content] hover:z-50 transition-all cursor-pointer group",
54509
54512
  a ? "opacity-50" : "opacity-100",
54510
54513
  t.color || B0(t.id)
@@ -54520,7 +54523,7 @@ function ef({
54520
54523
  /* @__PURE__ */ f(tr, { src: h.avatar }),
54521
54524
  /* @__PURE__ */ f(tn, { className: "text-[8px]", children: h.name[0] })
54522
54525
  ] }, m)) }),
54523
- t.status !== "published" && /* @__PURE__ */ f("div", { className: M("w-2 h-2 rounded-full", Kc[t.status].split(" ")[1].replace("text-", "bg-")) })
54526
+ t.status !== "published" && /* @__PURE__ */ f("div", { className: x("w-2 h-2 rounded-full", Kc[t.status].split(" ")[1].replace("text-", "bg-")) })
54524
54527
  ] })
54525
54528
  ]
54526
54529
  }
@@ -54529,7 +54532,7 @@ function ef({
54529
54532
  {
54530
54533
  ref: o,
54531
54534
  onClick: r,
54532
- className: M(
54535
+ className: x(
54533
54536
  "relative group cursor-pointer rounded px-2 py-1 mb-1 text-xs truncate font-medium transition-all",
54534
54537
  a ? "opacity-50" : "opacity-100",
54535
54538
  t.color || B0(t.id).replace("bg-", "bg-opacity-20 bg-")
@@ -54546,7 +54549,7 @@ function ef({
54546
54549
  {
54547
54550
  ref: o,
54548
54551
  onClick: r,
54549
- className: M(
54552
+ className: x(
54550
54553
  "relative group cursor-pointer bg-white border rounded-md shadow-sm hover:shadow-md transition-all mb-2 p-2 flex items-start gap-3",
54551
54554
  a ? "opacity-50" : "opacity-100",
54552
54555
  n === "editorial" && (t.status === "published" ? "border-l-4 border-l-slate-800" : "border-l-4 border-l-[#7F26BF]")
@@ -54555,7 +54558,7 @@ function ef({
54555
54558
  n === "editorial" && t.imageUrl && /* @__PURE__ */ f("div", { className: "w-10 h-10 flex-shrink-0 bg-gray-100 rounded overflow-hidden", children: /* @__PURE__ */ f("img", { src: t.imageUrl, alt: "", className: "w-full h-full object-cover" }) }),
54556
54559
  /* @__PURE__ */ b("div", { className: "min-w-0 flex-1", children: [
54557
54560
  /* @__PURE__ */ b("div", { className: "flex items-center gap-1.5 mb-1", children: [
54558
- n === "editorial" && /* @__PURE__ */ f(s, { size: 12, className: M(t.channel ? Wf[t.channel] : "text-gray-400") }),
54561
+ n === "editorial" && /* @__PURE__ */ f(s, { size: 12, className: x(t.channel ? Wf[t.channel] : "text-gray-400") }),
54559
54562
  /* @__PURE__ */ f("span", { className: "truncate font-medium text-sm", children: t.title })
54560
54563
  ] }),
54561
54564
  /* @__PURE__ */ f(be, { variant: "secondary", className: "text-[10px] h-4 px-1 py-0", children: t.status })
@@ -54572,7 +54575,7 @@ function z5({
54572
54575
  onAddClick: i,
54573
54576
  view: a
54574
54577
  }) {
54575
- return /* @__PURE__ */ f("div", { className: M(
54578
+ return /* @__PURE__ */ f("div", { className: x(
54576
54579
  "grid h-full min-h-[calc(100vh-200px)] bg-gray-50/30",
54577
54580
  a === "week" ? "grid-cols-7 divide-x" : "grid-cols-1 border-x"
54578
54581
  ), children: t.map((o) => {
@@ -54603,17 +54606,17 @@ function O5({ day: t, tasks: e, onDropTask: n, onTaskClick: r, onAddClick: i, is
54603
54606
  "div",
54604
54607
  {
54605
54608
  ref: s,
54606
- className: M(
54609
+ className: x(
54607
54610
  "flex flex-col h-full min-h-0 transition-colors",
54608
54611
  o && "bg-purple-50 ring-inset ring-2 ring-[#7F26BF]"
54609
54612
  ),
54610
54613
  children: [
54611
- /* @__PURE__ */ b("div", { className: M(
54614
+ /* @__PURE__ */ b("div", { className: x(
54612
54615
  "p-2 text-center border-b bg-white sticky top-0 z-10",
54613
54616
  a && "bg-purple-50/50"
54614
54617
  ), children: [
54615
54618
  /* @__PURE__ */ f("div", { className: "text-xs font-semibold uppercase text-gray-500 mb-1", children: fe(t, "EEE") }),
54616
- /* @__PURE__ */ f("div", { className: M(
54619
+ /* @__PURE__ */ f("div", { className: x(
54617
54620
  "w-8 h-8 rounded-full flex items-center justify-center mx-auto text-sm font-medium",
54618
54621
  a ? "bg-[#7F26BF] text-white" : "text-gray-900 bg-gray-100"
54619
54622
  ), children: fe(t, "d") })
@@ -54709,7 +54712,7 @@ function R5({
54709
54712
  "div",
54710
54713
  {
54711
54714
  ref: l,
54712
- className: M(
54715
+ className: x(
54713
54716
  "flex-1 relative min-w-[150px]",
54714
54717
  !a && "border-r",
54715
54718
  s && "bg-blue-50/30"
@@ -54718,7 +54721,7 @@ function R5({
54718
54721
  /* @__PURE__ */ f("div", { className: "sticky top-0 z-20 bg-white border-b h-10 flex items-center justify-center shadow-sm", children: /* @__PURE__ */ b("div", { className: "text-xs font-bold text-gray-500", children: [
54719
54722
  fe(t, "EEE"),
54720
54723
  " ",
54721
- /* @__PURE__ */ f("span", { className: M("ml-1", ol(t) && "text-blue-600"), children: fe(t, "d") })
54724
+ /* @__PURE__ */ f("span", { className: x("ml-1", ol(t) && "text-blue-600"), children: fe(t, "d") })
54722
54725
  ] }) }),
54723
54726
  o.map((c) => /* @__PURE__ */ f(
54724
54727
  "div",
@@ -54808,7 +54811,7 @@ function B5({
54808
54811
  "div",
54809
54812
  {
54810
54813
  ref: l,
54811
- className: M(
54814
+ className: x(
54812
54815
  "min-h-[120px] border-b border-r p-2 relative transition-colors group flex flex-col",
54813
54816
  !n && "bg-gray-50/50 text-gray-400",
54814
54817
  s && "bg-purple-50 ring-2 ring-inset ring-[#7F26BF]",
@@ -54816,7 +54819,7 @@ function B5({
54816
54819
  ),
54817
54820
  children: [
54818
54821
  /* @__PURE__ */ b("div", { className: "flex justify-between items-start mb-2", children: [
54819
- /* @__PURE__ */ f("span", { className: M(
54822
+ /* @__PURE__ */ f("span", { className: x(
54820
54823
  "text-sm font-medium rounded-full w-7 h-7 flex items-center justify-center",
54821
54824
  c ? "bg-[#7F26BF] text-white" : "text-gray-700"
54822
54825
  ), children: fe(t, "d") }),
@@ -54967,7 +54970,7 @@ function T4({
54967
54970
  A = Ju(U), O = Vu(J);
54968
54971
  } else o === "week" ? (A = Ju(i), O = Vu(i)) : (A = i, O = i);
54969
54972
  return o1({ start: A, end: O });
54970
- }, [i, o]), v = t.filter((A) => !A.date), x = t.filter((A) => A.date);
54973
+ }, [i, o]), v = t.filter((A) => !A.date), M = t.filter((A) => A.date);
54971
54974
  return {
54972
54975
  currentDate: i,
54973
54976
  view: o,
@@ -54980,7 +54983,7 @@ function T4({
54980
54983
  isNewTask: m,
54981
54984
  calendarDays: y,
54982
54985
  unplannedTasks: v,
54983
- scheduledTasks: x,
54986
+ scheduledTasks: M,
54984
54987
  handlePrev: () => {
54985
54988
  a(o === "month" ? ns(i, 1) : o === "week" ? vo(i, -7) : vo(i, -1));
54986
54989
  },
@@ -55088,11 +55091,11 @@ function D4({ title: t, onPrev: e, onNext: n, onToday: r, onAdd: i, view: a, set
55088
55091
  ] });
55089
55092
  }
55090
55093
  function E4({ days: t }) {
55091
- return /* @__PURE__ */ f("div", { className: "grid grid-cols-7 border-b bg-gray-50 flex-shrink-0 divide-x", children: t.slice(0, 7).map((e, n) => /* @__PURE__ */ f("div", { className: "py-2 text-center group", children: /* @__PURE__ */ f("div", { className: M("text-xs font-semibold uppercase tracking-wider", ol(e) ? "text-[#7F26BF]" : "text-gray-500"), children: fe(e, "EEE") }) }, n)) });
55094
+ return /* @__PURE__ */ f("div", { className: "grid grid-cols-7 border-b bg-gray-50 flex-shrink-0 divide-x", children: t.slice(0, 7).map((e, n) => /* @__PURE__ */ f("div", { className: "py-2 text-center group", children: /* @__PURE__ */ f("div", { className: x("text-xs font-semibold uppercase tracking-wider", ol(e) ? "text-[#7F26BF]" : "text-gray-500"), children: fe(e, "EEE") }) }, n)) });
55092
55095
  }
55093
55096
  function I7(t) {
55094
55097
  const e = T4({ ...t, defaultView: "month" });
55095
- return /* @__PURE__ */ f(h4, { backend: N4, children: /* @__PURE__ */ b("div", { className: M("flex h-[calc(100vh-100px)] bg-background border rounded-lg overflow-hidden shadow-sm", t.className), children: [
55098
+ return /* @__PURE__ */ f(h4, { backend: N4, children: /* @__PURE__ */ b("div", { className: x("flex h-[calc(100vh-100px)] bg-background border rounded-lg overflow-hidden shadow-sm", t.className), children: [
55096
55099
  /* @__PURE__ */ f(
55097
55100
  j4,
55098
55101
  {
@@ -55156,7 +55159,7 @@ function I7(t) {
55156
55159
  }
55157
55160
  function T7(t) {
55158
55161
  const e = T4({ ...t, defaultView: "week" });
55159
- return /* @__PURE__ */ f(h4, { backend: N4, children: /* @__PURE__ */ b("div", { className: M("flex h-[calc(100vh-100px)] bg-background border rounded-lg overflow-hidden shadow-sm", t.className), children: [
55162
+ return /* @__PURE__ */ f(h4, { backend: N4, children: /* @__PURE__ */ b("div", { className: x("flex h-[calc(100vh-100px)] bg-background border rounded-lg overflow-hidden shadow-sm", t.className), children: [
55160
55163
  /* @__PURE__ */ f(
55161
55164
  j4,
55162
55165
  {
@@ -55243,7 +55246,7 @@ function E7({ className: t, ...e }) {
55243
55246
  "div",
55244
55247
  {
55245
55248
  "data-slot": "form-item",
55246
- className: M("grid gap-2", t),
55249
+ className: x("grid gap-2", t),
55247
55250
  ...e
55248
55251
  }
55249
55252
  ) });
@@ -55258,7 +55261,7 @@ function A7({
55258
55261
  {
55259
55262
  "data-slot": "form-label",
55260
55263
  "data-error": !!n,
55261
- className: M("data-[error=true]:text-destructive", t),
55264
+ className: x("data-[error=true]:text-destructive", t),
55262
55265
  htmlFor: r,
55263
55266
  ...e
55264
55267
  }
@@ -55284,7 +55287,7 @@ function O7({ className: t, ...e }) {
55284
55287
  {
55285
55288
  "data-slot": "form-description",
55286
55289
  id: n,
55287
- className: M("text-muted-foreground text-sm", t),
55290
+ className: x("text-muted-foreground text-sm", t),
55288
55291
  ...e
55289
55292
  }
55290
55293
  );
@@ -55296,7 +55299,7 @@ function P7({ className: t, ...e }) {
55296
55299
  {
55297
55300
  "data-slot": "form-message",
55298
55301
  id: r,
55299
- className: M("text-destructive text-sm", t),
55302
+ className: x("text-destructive text-sm", t),
55300
55303
  ...e,
55301
55304
  children: i
55302
55305
  }
@@ -55390,7 +55393,7 @@ const P4 = T.memo(({
55390
55393
  /* @__PURE__ */ f(mt, { asChild: !0, children: /* @__PURE__ */ f(
55391
55394
  "div",
55392
55395
  {
55393
- className: M(
55396
+ className: x(
55394
55397
  "w-4 h-4 rotate-45 cursor-pointer transition-all hover:scale-125",
55395
55398
  c.barColor
55396
55399
  ),
@@ -55441,7 +55444,7 @@ const P4 = T.memo(({
55441
55444
  /* @__PURE__ */ f(
55442
55445
  "div",
55443
55446
  {
55444
- className: M(
55447
+ className: x(
55445
55448
  "absolute inset-0 rounded-lg transition-all",
55446
55449
  c.barColor,
55447
55450
  "group-hover/task:shadow-lg group-hover/task:scale-[1.02]",
@@ -55528,7 +55531,7 @@ const U5 = ["DOM", "SEG", "TER", "QUA", "QUI", "SEX", "SAB"], F5 = T.forwardRef(
55528
55531
  columnWidth: a = 40,
55529
55532
  groupBy: o = "projects"
55530
55533
  }, s) => {
55531
- const [l, c] = T.useState(/* @__PURE__ */ new Date()), [d, u] = T.useState(/* @__PURE__ */ new Set()), p = ts(l), h = id(l), m = o1({ start: p, end: h }), g = () => c(ns(l, 1)), y = () => c(f1(l, 1)), v = () => c(/* @__PURE__ */ new Date()), x = T.useMemo(() => {
55534
+ const [l, c] = T.useState(/* @__PURE__ */ new Date()), [d, u] = T.useState(/* @__PURE__ */ new Set()), p = ts(l), h = id(l), m = o1({ start: p, end: h }), g = () => c(ns(l, 1)), y = () => c(f1(l, 1)), v = () => c(/* @__PURE__ */ new Date()), M = T.useMemo(() => {
55532
55535
  if (o === "assignees") {
55533
55536
  const w = /* @__PURE__ */ new Map();
55534
55537
  return t.forEach((L) => {
@@ -55579,7 +55582,7 @@ const U5 = ["DOM", "SEG", "TER", "QUA", "QUI", "SEX", "SAB"], F5 = T.forwardRef(
55579
55582
  "div",
55580
55583
  {
55581
55584
  ref: s,
55582
- className: M("gantt-chart overflow-hidden rounded-lg border bg-card flex flex-col"),
55585
+ className: x("gantt-chart overflow-hidden rounded-lg border bg-card flex flex-col"),
55583
55586
  role: "grid",
55584
55587
  "aria-label": "Gantt Chart",
55585
55588
  children: /* @__PURE__ */ f("div", { className: "overflow-auto max-h-[600px] relative", children: /* @__PURE__ */ b("div", { style: { minWidth: "max-content" }, children: [
@@ -55597,7 +55600,7 @@ const U5 = ["DOM", "SEG", "TER", "QUA", "QUI", "SEX", "SAB"], F5 = T.forwardRef(
55597
55600
  return /* @__PURE__ */ f(
55598
55601
  "div",
55599
55602
  {
55600
- className: M(
55603
+ className: x(
55601
55604
  "flex-shrink-0 border-r text-center bg-background",
55602
55605
  N && "bg-muted/20"
55603
55606
  ),
@@ -55623,7 +55626,7 @@ const U5 = ["DOM", "SEG", "TER", "QUA", "QUI", "SEX", "SAB"], F5 = T.forwardRef(
55623
55626
  return /* @__PURE__ */ f(
55624
55627
  "div",
55625
55628
  {
55626
- className: M(
55629
+ className: x(
55627
55630
  "flex-shrink-0 h-full",
55628
55631
  N && "bg-muted/10",
55629
55632
  L && "bg-primary/5"
@@ -55633,7 +55636,7 @@ const U5 = ["DOM", "SEG", "TER", "QUA", "QUI", "SEX", "SAB"], F5 = T.forwardRef(
55633
55636
  `grid-${w.toISOString()}`
55634
55637
  );
55635
55638
  }) }),
55636
- x.map((w) => {
55639
+ M.map((w) => {
55637
55640
  const N = d.has(w.id);
55638
55641
  return /* @__PURE__ */ b("div", { children: [
55639
55642
  /* @__PURE__ */ b("div", { className: "flex sticky-container", children: [
@@ -55669,7 +55672,7 @@ const U5 = ["DOM", "SEG", "TER", "QUA", "QUI", "SEX", "SAB"], F5 = T.forwardRef(
55669
55672
  /* @__PURE__ */ f(
55670
55673
  "div",
55671
55674
  {
55672
- className: M(
55675
+ className: x(
55673
55676
  "size-2 rounded-full flex-shrink-0",
55674
55677
  L.milestone && "rotate-45"
55675
55678
  ),
@@ -55727,9 +55730,9 @@ const U5 = ["DOM", "SEG", "TER", "QUA", "QUI", "SEX", "SAB"], F5 = T.forwardRef(
55727
55730
  );
55728
55731
  F5.displayName = "GanttChart";
55729
55732
  const J5 = T.forwardRef(
55730
- ({ className: t }, e) => /* @__PURE__ */ b("div", { ref: e, className: M("flex flex-wrap gap-4", t), children: [
55733
+ ({ className: t }, e) => /* @__PURE__ */ b("div", { ref: e, className: x("flex flex-wrap gap-4", t), children: [
55731
55734
  Object.entries(O4).map(([n, r]) => /* @__PURE__ */ b("div", { className: "flex items-center gap-2", children: [
55732
- /* @__PURE__ */ f("div", { className: M("size-3 rounded", r.barColor) }),
55735
+ /* @__PURE__ */ f("div", { className: x("size-3 rounded", r.barColor) }),
55733
55736
  /* @__PURE__ */ f("span", { className: "text-sm text-muted-foreground", children: r.label })
55734
55737
  ] }, n)),
55735
55738
  /* @__PURE__ */ b("div", { className: "flex items-center gap-2", children: [
@@ -55761,7 +55764,7 @@ function H7({
55761
55764
  "data-slot": "hover-card-content",
55762
55765
  align: e,
55763
55766
  sideOffset: n,
55764
- className: M(
55767
+ className: x(
55765
55768
  "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-64 origin-(--radix-hover-card-content-transform-origin) rounded-md border p-4 shadow-md outline-hidden",
55766
55769
  t
55767
55770
  ),
@@ -55778,11 +55781,11 @@ function U7({
55778
55781
  xv,
55779
55782
  {
55780
55783
  "data-slot": "input-otp",
55781
- containerClassName: M(
55784
+ containerClassName: x(
55782
55785
  "flex items-center gap-2 has-disabled:opacity-50",
55783
55786
  e
55784
55787
  ),
55785
- className: M("disabled:cursor-not-allowed", t),
55788
+ className: x("disabled:cursor-not-allowed", t),
55786
55789
  ...n
55787
55790
  }
55788
55791
  );
@@ -55792,7 +55795,7 @@ function F7({ className: t, ...e }) {
55792
55795
  "div",
55793
55796
  {
55794
55797
  "data-slot": "input-otp-group",
55795
- className: M("flex items-center gap-1", t),
55798
+ className: x("flex items-center gap-1", t),
55796
55799
  ...e
55797
55800
  }
55798
55801
  );
@@ -55808,7 +55811,7 @@ function J7({
55808
55811
  {
55809
55812
  "data-slot": "input-otp-slot",
55810
55813
  "data-active": o,
55811
- className: M(
55814
+ className: x(
55812
55815
  "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 bg-input-background 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]",
55813
55816
  e
55814
55817
  ),
@@ -55842,7 +55845,7 @@ function Y7({
55842
55845
  /* @__PURE__ */ f(
55843
55846
  Xt,
55844
55847
  {
55845
- className: M(
55848
+ className: x(
55846
55849
  s !== "idle" && "pr-9",
55847
55850
  r
55848
55851
  ),
@@ -55876,7 +55879,7 @@ function R4({
55876
55879
  _u.Root,
55877
55880
  {
55878
55881
  "data-slot": "progress",
55879
- className: M(
55882
+ className: x(
55880
55883
  "bg-primary/20 relative h-2 w-full overflow-hidden rounded-full",
55881
55884
  t
55882
55885
  ),
@@ -55937,7 +55940,7 @@ const V5 = {
55937
55940
  onClick: g,
55938
55941
  onEdit: y,
55939
55942
  onDelete: v,
55940
- onDuplicate: x,
55943
+ onDuplicate: M,
55941
55944
  className: C
55942
55945
  }, w) => {
55943
55946
  const N = s && new Date(s) < /* @__PURE__ */ new Date(), L = o ? V5[o] : null, k = (I) => {
@@ -55950,7 +55953,7 @@ const V5 = {
55950
55953
  Mi,
55951
55954
  {
55952
55955
  ref: w,
55953
- className: M(
55956
+ className: x(
55954
55957
  "group cursor-grab active:cursor-grabbing transition-all duration-200",
55955
55958
  "hover:shadow-lg hover:scale-[1.02]",
55956
55959
  m && "opacity-50 rotate-2 scale-105 shadow-2xl cursor-grabbing",
@@ -55977,12 +55980,12 @@ const V5 = {
55977
55980
  be,
55978
55981
  {
55979
55982
  variant: "secondary",
55980
- className: M("shadow-sm", L == null ? void 0 : L.bgColor),
55983
+ className: x("shadow-sm", L == null ? void 0 : L.bgColor),
55981
55984
  children: [
55982
55985
  /* @__PURE__ */ f(
55983
55986
  "div",
55984
55987
  {
55985
- className: M("w-2 h-2 rounded-full mr-1", L == null ? void 0 : L.color)
55988
+ className: x("w-2 h-2 rounded-full mr-1", L == null ? void 0 : L.color)
55986
55989
  }
55987
55990
  ),
55988
55991
  L == null ? void 0 : L.label
@@ -55990,7 +55993,7 @@ const V5 = {
55990
55993
  }
55991
55994
  ) })
55992
55995
  ] }),
55993
- /* @__PURE__ */ b(Ia, { className: M(h === "compact" ? "p-3 pb-2" : "p-4 pb-3"), children: [
55996
+ /* @__PURE__ */ b(Ia, { className: x(h === "compact" ? "p-3 pb-2" : "p-4 pb-3"), children: [
55994
55997
  /* @__PURE__ */ b("div", { className: "flex items-start justify-between gap-2", children: [
55995
55998
  /* @__PURE__ */ b("div", { className: "flex-1 min-w-0", children: [
55996
55999
  /* @__PURE__ */ b("div", { className: "flex items-start gap-2", children: [
@@ -56006,7 +56009,7 @@ const V5 = {
56006
56009
  /* @__PURE__ */ f(
56007
56010
  Ta,
56008
56011
  {
56009
- className: M(
56012
+ className: x(
56010
56013
  "line-clamp-2",
56011
56014
  h === "compact" ? "text-sm" : "text-base"
56012
56015
  ),
@@ -56018,7 +56021,7 @@ const V5 = {
56018
56021
  ] }),
56019
56022
  e && h !== "compact" && /* @__PURE__ */ f(kv, { className: "mt-2 line-clamp-2 text-xs", children: e })
56020
56023
  ] }),
56021
- (y || v || x) && /* @__PURE__ */ b(fl, { children: [
56024
+ (y || v || M) && /* @__PURE__ */ b(fl, { children: [
56022
56025
  /* @__PURE__ */ f(cl, { asChild: !0, children: /* @__PURE__ */ f(
56023
56026
  H,
56024
56027
  {
@@ -56030,7 +56033,7 @@ const V5 = {
56030
56033
  ) }),
56031
56034
  /* @__PURE__ */ b(dl, { align: "end", children: [
56032
56035
  y && /* @__PURE__ */ f(bi, { onClick: y, children: "Editar" }),
56033
- x && /* @__PURE__ */ f(bi, { onClick: x, children: "Duplicar" }),
56036
+ M && /* @__PURE__ */ f(bi, { onClick: M, children: "Duplicar" }),
56034
56037
  v && /* @__PURE__ */ f(
56035
56038
  bi,
56036
56039
  {
@@ -56066,12 +56069,12 @@ const V5 = {
56066
56069
  be,
56067
56070
  {
56068
56071
  variant: "secondary",
56069
- className: M("mt-2 w-fit text-xs", L == null ? void 0 : L.bgColor),
56072
+ className: x("mt-2 w-fit text-xs", L == null ? void 0 : L.bgColor),
56070
56073
  children: [
56071
56074
  /* @__PURE__ */ f(
56072
56075
  "div",
56073
56076
  {
56074
- className: M("w-2 h-2 rounded-full mr-1", L == null ? void 0 : L.color)
56077
+ className: x("w-2 h-2 rounded-full mr-1", L == null ? void 0 : L.color)
56075
56078
  }
56076
56079
  ),
56077
56080
  L == null ? void 0 : L.label
@@ -56092,7 +56095,7 @@ const V5 = {
56092
56095
  /* @__PURE__ */ b(
56093
56096
  Sv,
56094
56097
  {
56095
- className: M(
56098
+ className: x(
56096
56099
  "flex items-center justify-between gap-2",
56097
56100
  h === "compact" ? "px-3 pb-3 pt-1" : "px-4 pb-4 pt-2"
56098
56101
  ),
@@ -56101,7 +56104,7 @@ const V5 = {
56101
56104
  s && /* @__PURE__ */ b(
56102
56105
  "div",
56103
56106
  {
56104
- className: M(
56107
+ className: x(
56105
56108
  "flex items-center gap-1",
56106
56109
  N && "text-destructive font-medium"
56107
56110
  ),
@@ -56173,7 +56176,7 @@ const _5 = T.forwardRef(
56173
56176
  {
56174
56177
  ref: c,
56175
56178
  onClick: s,
56176
- className: M(
56179
+ className: x(
56177
56180
  s && "cursor-pointer hover:bg-accent/50 transition-colors",
56178
56181
  l
56179
56182
  ),
@@ -56189,7 +56192,7 @@ const _5 = T.forwardRef(
56189
56192
  be,
56190
56193
  {
56191
56194
  variant: "secondary",
56192
- className: M(
56195
+ className: x(
56193
56196
  "px-1.5 py-0 h-auto text-xs",
56194
56197
  r > 0 ? "text-green-600" : "text-red-600"
56195
56198
  ),
@@ -56248,19 +56251,19 @@ function _7({
56248
56251
  }) {
56249
56252
  const [p, h] = ie({}), m = async (g, y, v) => {
56250
56253
  if (!v) return;
56251
- const x = g.chave || g.nomeOriginal;
56252
- h((C) => ({ ...C, [x]: y }));
56254
+ const M = g.chave || g.nomeOriginal;
56255
+ h((C) => ({ ...C, [M]: y }));
56253
56256
  try {
56254
56257
  await v(g);
56255
56258
  } finally {
56256
- h((C) => ({ ...C, [x]: null }));
56259
+ h((C) => ({ ...C, [M]: null }));
56257
56260
  }
56258
56261
  };
56259
- return d ? /* @__PURE__ */ f("div", { className: M("space-y-2", u), children: [1, 2, 3].map((g) => /* @__PURE__ */ b("div", { className: "flex items-center gap-2 p-3 border rounded bg-muted/30 animate-pulse", children: [
56262
+ return d ? /* @__PURE__ */ f("div", { className: x("space-y-2", u), children: [1, 2, 3].map((g) => /* @__PURE__ */ b("div", { className: "flex items-center gap-2 p-3 border rounded bg-muted/30 animate-pulse", children: [
56260
56263
  /* @__PURE__ */ f("div", { className: "h-4 w-4 bg-muted-foreground/20 rounded" }),
56261
56264
  /* @__PURE__ */ f("div", { className: "h-4 flex-1 bg-muted-foreground/20 rounded" })
56262
- ] }, g)) }) : t.length === 0 ? /* @__PURE__ */ f("div", { className: M("text-center py-6 text-sm text-muted-foreground border rounded-lg bg-muted/20", u), children: c }) : /* @__PURE__ */ f("div", { className: M("space-y-2", u), children: t.map((g, y) => {
56263
- const v = g.chave || g.id || `${g.nomeOriginal}-${y}`, x = p[g.chave || g.nomeOriginal], C = x === "download", w = x === "view", N = (() => {
56265
+ ] }, g)) }) : t.length === 0 ? /* @__PURE__ */ f("div", { className: x("text-center py-6 text-sm text-muted-foreground border rounded-lg bg-muted/20", u), children: c }) : /* @__PURE__ */ f("div", { className: x("space-y-2", u), children: t.map((g, y) => {
56266
+ const v = g.chave || g.id || `${g.nomeOriginal}-${y}`, M = p[g.chave || g.nomeOriginal], C = M === "download", w = M === "view", N = (() => {
56264
56267
  switch (g.status) {
56265
56268
  case "completed":
56266
56269
  return /* @__PURE__ */ f(be, { variant: "outline", className: "bg-green-50 text-green-600 border-green-200 hover:bg-green-50", children: "✓ Enviado" });
@@ -56277,7 +56280,7 @@ function _7({
56277
56280
  return l === "detailed" ? /* @__PURE__ */ f(
56278
56281
  "div",
56279
56282
  {
56280
- className: M(
56283
+ className: x(
56281
56284
  "p-4 border rounded-lg bg-card transition-colors",
56282
56285
  g.status === "failed" && "border-red-200 bg-red-50/30"
56283
56286
  ),
@@ -56353,7 +56356,7 @@ function _7({
56353
56356
  ) : /* @__PURE__ */ b(
56354
56357
  "div",
56355
56358
  {
56356
- className: M(
56359
+ className: x(
56357
56360
  "flex items-center justify-between gap-2 p-3 border rounded-lg bg-muted/30 transition-colors",
56358
56361
  g.status === "failed" && "border-red-200 bg-red-50/30"
56359
56362
  ),
@@ -56431,7 +56434,7 @@ function Q7({
56431
56434
  qe.Root,
56432
56435
  {
56433
56436
  "data-slot": "menubar",
56434
- className: M(
56437
+ className: x(
56435
56438
  "bg-background flex h-9 items-center gap-1 rounded-md border p-1 shadow-xs",
56436
56439
  t
56437
56440
  ),
@@ -56467,7 +56470,7 @@ function Z7({
56467
56470
  qe.Trigger,
56468
56471
  {
56469
56472
  "data-slot": "menubar-trigger",
56470
- className: M(
56473
+ className: x(
56471
56474
  "focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex items-center rounded-sm px-2 py-1 text-sm font-medium outline-hidden select-none",
56472
56475
  t
56473
56476
  ),
@@ -56489,7 +56492,7 @@ function K7({
56489
56492
  align: e,
56490
56493
  alignOffset: n,
56491
56494
  sideOffset: r,
56492
- className: M(
56495
+ className: x(
56493
56496
  "bg-popover text-popover-foreground data-[state=open]:animate-in 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-[12rem] origin-(--radix-menubar-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-md",
56494
56497
  t
56495
56498
  ),
@@ -56509,7 +56512,7 @@ function q7({
56509
56512
  "data-slot": "menubar-item",
56510
56513
  "data-inset": e,
56511
56514
  "data-variant": n,
56512
- className: M(
56515
+ className: x(
56513
56516
  "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]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
56514
56517
  t
56515
56518
  ),
@@ -56527,7 +56530,7 @@ function X7({
56527
56530
  qe.CheckboxItem,
56528
56531
  {
56529
56532
  "data-slot": "menubar-checkbox-item",
56530
- className: M(
56533
+ className: x(
56531
56534
  "focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-xs py-1.5 pr-2 pl-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",
56532
56535
  t
56533
56536
  ),
@@ -56549,7 +56552,7 @@ function ez({
56549
56552
  qe.RadioItem,
56550
56553
  {
56551
56554
  "data-slot": "menubar-radio-item",
56552
- className: M(
56555
+ className: x(
56553
56556
  "focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-xs py-1.5 pr-2 pl-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",
56554
56557
  t
56555
56558
  ),
@@ -56571,7 +56574,7 @@ function tz({
56571
56574
  {
56572
56575
  "data-slot": "menubar-label",
56573
56576
  "data-inset": e,
56574
- className: M(
56577
+ className: x(
56575
56578
  "px-2 py-1.5 text-sm font-semibold data-[inset]:pl-8",
56576
56579
  t
56577
56580
  ),
@@ -56587,7 +56590,7 @@ function nz({
56587
56590
  qe.Separator,
56588
56591
  {
56589
56592
  "data-slot": "menubar-separator",
56590
- className: M("bg-border -mx-1 my-1 h-px", t),
56593
+ className: x("bg-border -mx-1 my-1 h-px", t),
56591
56594
  ...e
56592
56595
  }
56593
56596
  );
@@ -56600,7 +56603,7 @@ function rz({
56600
56603
  "span",
56601
56604
  {
56602
56605
  "data-slot": "menubar-shortcut",
56603
- className: M(
56606
+ className: x(
56604
56607
  "text-muted-foreground ml-auto text-xs tracking-widest",
56605
56608
  t
56606
56609
  ),
@@ -56624,7 +56627,7 @@ function az({
56624
56627
  {
56625
56628
  "data-slot": "menubar-sub-trigger",
56626
56629
  "data-inset": e,
56627
- className: M(
56630
+ className: x(
56628
56631
  "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-none select-none data-[inset]:pl-8",
56629
56632
  t
56630
56633
  ),
@@ -56644,7 +56647,7 @@ function oz({
56644
56647
  qe.SubContent,
56645
56648
  {
56646
56649
  "data-slot": "menubar-sub-content",
56647
- className: M(
56650
+ className: x(
56648
56651
  "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-menubar-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg",
56649
56652
  t
56650
56653
  ),
@@ -56663,7 +56666,7 @@ function sz({
56663
56666
  {
56664
56667
  "data-slot": "navigation-menu",
56665
56668
  "data-viewport": n,
56666
- className: M(
56669
+ className: x(
56667
56670
  "group/navigation-menu relative flex max-w-max flex-1 items-center justify-center",
56668
56671
  t
56669
56672
  ),
@@ -56683,7 +56686,7 @@ function lz({
56683
56686
  Vr.List,
56684
56687
  {
56685
56688
  "data-slot": "navigation-menu-list",
56686
- className: M(
56689
+ className: x(
56687
56690
  "group flex flex-1 list-none items-center justify-center gap-1",
56688
56691
  t
56689
56692
  ),
@@ -56699,7 +56702,7 @@ function fz({
56699
56702
  Vr.Item,
56700
56703
  {
56701
56704
  "data-slot": "navigation-menu-item",
56702
- className: M("relative", t),
56705
+ className: x("relative", t),
56703
56706
  ...e
56704
56707
  }
56705
56708
  );
@@ -56716,7 +56719,7 @@ function cz({
56716
56719
  Vr.Trigger,
56717
56720
  {
56718
56721
  "data-slot": "navigation-menu-trigger",
56719
- className: M(Z5(), "group", t),
56722
+ className: x(Z5(), "group", t),
56720
56723
  ...n,
56721
56724
  children: [
56722
56725
  e,
@@ -56740,7 +56743,7 @@ function dz({
56740
56743
  Vr.Content,
56741
56744
  {
56742
56745
  "data-slot": "navigation-menu-content",
56743
- className: M(
56746
+ className: x(
56744
56747
  "data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 top-0 left-0 w-full p-2 pr-2.5 md:absolute md:w-auto",
56745
56748
  "group-data-[viewport=false]/navigation-menu:bg-popover group-data-[viewport=false]/navigation-menu:text-popover-foreground group-data-[viewport=false]/navigation-menu:data-[state=open]:animate-in group-data-[viewport=false]/navigation-menu:data-[state=closed]:animate-out group-data-[viewport=false]/navigation-menu:data-[state=closed]:zoom-out-95 group-data-[viewport=false]/navigation-menu:data-[state=open]:zoom-in-95 group-data-[viewport=false]/navigation-menu:data-[state=open]:fade-in-0 group-data-[viewport=false]/navigation-menu:data-[state=closed]:fade-out-0 group-data-[viewport=false]/navigation-menu:top-full group-data-[viewport=false]/navigation-menu:mt-1.5 group-data-[viewport=false]/navigation-menu:overflow-hidden group-data-[viewport=false]/navigation-menu:rounded-md group-data-[viewport=false]/navigation-menu:border group-data-[viewport=false]/navigation-menu:shadow group-data-[viewport=false]/navigation-menu:duration-200 **:data-[slot=navigation-menu-link]:focus:ring-0 **:data-[slot=navigation-menu-link]:focus:outline-none",
56746
56749
  t
@@ -56756,14 +56759,14 @@ function K5({
56756
56759
  return /* @__PURE__ */ f(
56757
56760
  "div",
56758
56761
  {
56759
- className: M(
56762
+ className: x(
56760
56763
  "absolute top-full left-0 isolate z-50 flex justify-center"
56761
56764
  ),
56762
56765
  children: /* @__PURE__ */ f(
56763
56766
  Vr.Viewport,
56764
56767
  {
56765
56768
  "data-slot": "navigation-menu-viewport",
56766
- className: M(
56769
+ className: x(
56767
56770
  "origin-top-center bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border shadow md:w-[var(--radix-navigation-menu-viewport-width)]",
56768
56771
  t
56769
56772
  ),
@@ -56781,7 +56784,7 @@ function uz({
56781
56784
  Vr.Link,
56782
56785
  {
56783
56786
  "data-slot": "navigation-menu-link",
56784
- className: M(
56787
+ className: x(
56785
56788
  "data-[active=true]:focus:bg-accent data-[active=true]:hover:bg-accent data-[active=true]:bg-accent/50 data-[active=true]:text-accent-foreground hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus-visible:ring-ring/50 [&_svg:not([class*='text-'])]:text-muted-foreground flex flex-col gap-1 rounded-sm p-2 text-sm transition-all outline-none focus-visible:ring-[3px] focus-visible:outline-1 [&_svg:not([class*='size-'])]:size-4",
56786
56789
  t
56787
56790
  ),
@@ -56797,7 +56800,7 @@ function hz({
56797
56800
  onSecondaryNavToggle: i,
56798
56801
  className: a
56799
56802
  }) {
56800
- return /* @__PURE__ */ b("div", { className: M("border-b bg-background", a), children: [
56803
+ return /* @__PURE__ */ b("div", { className: x("border-b bg-background", a), children: [
56801
56804
  /* @__PURE__ */ b("div", { className: "flex h-14 items-center gap-4 px-6", children: [
56802
56805
  i && /* @__PURE__ */ f(
56803
56806
  H,
@@ -56827,7 +56830,7 @@ function pz({
56827
56830
  onSecondaryNavToggle: i,
56828
56831
  className: a
56829
56832
  }) {
56830
- return /* @__PURE__ */ b("div", { className: M("flex h-14 items-center gap-3 border-b bg-background px-6", a), children: [
56833
+ return /* @__PURE__ */ b("div", { className: x("flex h-14 items-center gap-3 border-b bg-background px-6", a), children: [
56831
56834
  i && /* @__PURE__ */ f(
56832
56835
  H,
56833
56836
  {
@@ -56850,7 +56853,7 @@ function mz({
56850
56853
  actions: n,
56851
56854
  className: r
56852
56855
  }) {
56853
- return /* @__PURE__ */ b("div", { className: M("flex items-start justify-between gap-4", r), children: [
56856
+ return /* @__PURE__ */ b("div", { className: x("flex items-start justify-between gap-4", r), children: [
56854
56857
  /* @__PURE__ */ b("div", { className: "flex-1", children: [
56855
56858
  /* @__PURE__ */ f("h2", { className: "text-2xl font-semibold tracking-tight", children: t }),
56856
56859
  e && /* @__PURE__ */ f("p", { className: "text-sm text-muted-foreground mt-1", children: e })
@@ -56865,7 +56868,7 @@ function gz({ className: t, ...e }) {
56865
56868
  role: "navigation",
56866
56869
  "aria-label": "pagination",
56867
56870
  "data-slot": "pagination",
56868
- className: M("mx-auto flex w-full justify-center", t),
56871
+ className: x("mx-auto flex w-full justify-center", t),
56869
56872
  ...e
56870
56873
  }
56871
56874
  );
@@ -56878,7 +56881,7 @@ function bz({
56878
56881
  "ul",
56879
56882
  {
56880
56883
  "data-slot": "pagination-content",
56881
- className: M("flex flex-row items-center gap-1", t),
56884
+ className: x("flex flex-row items-center gap-1", t),
56882
56885
  ...e
56883
56886
  }
56884
56887
  );
@@ -56898,7 +56901,7 @@ function B4({
56898
56901
  "aria-current": e ? "page" : void 0,
56899
56902
  "data-slot": "pagination-link",
56900
56903
  "data-active": e,
56901
- className: M(
56904
+ className: x(
56902
56905
  Nr({
56903
56906
  variant: e ? "outline" : "ghost",
56904
56907
  size: n
@@ -56918,7 +56921,7 @@ function vz({
56918
56921
  {
56919
56922
  "aria-label": "Go to previous page",
56920
56923
  size: "default",
56921
- className: M("gap-1 px-2.5 sm:pl-2.5", t),
56924
+ className: x("gap-1 px-2.5 sm:pl-2.5", t),
56922
56925
  ...e,
56923
56926
  children: [
56924
56927
  /* @__PURE__ */ f(Uy, {}),
@@ -56936,7 +56939,7 @@ function wz({
56936
56939
  {
56937
56940
  "aria-label": "Go to next page",
56938
56941
  size: "default",
56939
- className: M("gap-1 px-2.5 sm:pr-2.5", t),
56942
+ className: x("gap-1 px-2.5 sm:pr-2.5", t),
56940
56943
  ...e,
56941
56944
  children: [
56942
56945
  /* @__PURE__ */ f("span", { className: "hidden sm:block", children: "Next" }),
@@ -56954,7 +56957,7 @@ function Mz({
56954
56957
  {
56955
56958
  "aria-hidden": !0,
56956
56959
  "data-slot": "pagination-ellipsis",
56957
- className: M("flex size-9 items-center justify-center", t),
56960
+ className: x("flex size-9 items-center justify-center", t),
56958
56961
  ...e,
56959
56962
  children: [
56960
56963
  /* @__PURE__ */ f(Hy, { className: "size-4" }),
@@ -56972,7 +56975,7 @@ const q5 = T.forwardRef(
56972
56975
  {
56973
56976
  type: i ? "text" : "password",
56974
56977
  "data-slot": "input",
56975
- className: M(
56978
+ className: x(
56976
56979
  "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 px-3 py-1 text-base bg-input-background 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",
56977
56980
  "focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]",
56978
56981
  "aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
@@ -57006,7 +57009,7 @@ function xz({
57006
57009
  qf.Root,
57007
57010
  {
57008
57011
  "data-slot": "radio-group",
57009
- className: M("grid gap-3", t),
57012
+ className: x("grid gap-3", t),
57010
57013
  ...e
57011
57014
  }
57012
57015
  );
@@ -57019,7 +57022,7 @@ function Cz({
57019
57022
  qf.Item,
57020
57023
  {
57021
57024
  "data-slot": "radio-group-item",
57022
- className: M(
57025
+ className: x(
57023
57026
  "peer h-5 w-5 shrink-0 rounded-full border border-gray-300 bg-white shadow-sm transition-all hover:shadow-md focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring/40 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:border-primary data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",
57024
57027
  t
57025
57028
  ),
@@ -57043,7 +57046,7 @@ function Lz({
57043
57046
  sd.PanelGroup,
57044
57047
  {
57045
57048
  "data-slot": "resizable-panel-group",
57046
- className: M(
57049
+ className: x(
57047
57050
  "flex h-full w-full data-[panel-group-direction=vertical]:flex-col",
57048
57051
  t
57049
57052
  ),
@@ -57065,7 +57068,7 @@ function kz({
57065
57068
  sd.PanelResizeHandle,
57066
57069
  {
57067
57070
  "data-slot": "resizable-handle",
57068
- className: M(
57071
+ className: x(
57069
57072
  "bg-border focus-visible:ring-ring relative flex w-px items-center justify-center after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:ring-1 focus-visible:ring-offset-1 focus-visible:outline-hidden data-[panel-group-direction=vertical]:h-px data-[panel-group-direction=vertical]:w-full data-[panel-group-direction=vertical]:after:left-0 data-[panel-group-direction=vertical]:after:h-1 data-[panel-group-direction=vertical]:after:w-full data-[panel-group-direction=vertical]:after:-translate-y-1/2 data-[panel-group-direction=vertical]:after:translate-x-0 [&[data-panel-group-direction=vertical]>div]:rotate-90",
57070
57073
  e
57071
57074
  ),
@@ -57083,7 +57086,7 @@ function Sz({
57083
57086
  }) {
57084
57087
  const a = t.filter((s) => s.isFavorite), o = t.filter((s) => !s.isFavorite);
57085
57088
  return /* @__PURE__ */ b(fl, { children: [
57086
- /* @__PURE__ */ f(cl, { asChild: !0, children: /* @__PURE__ */ b(H, { variant: "outline", size: "sm", className: M("gap-2", i), children: [
57089
+ /* @__PURE__ */ f(cl, { asChild: !0, children: /* @__PURE__ */ b(H, { variant: "outline", size: "sm", className: x("gap-2", i), children: [
57087
57090
  /* @__PURE__ */ f(Xo, { className: "h-4 w-4" }),
57088
57091
  "Filtros salvos",
57089
57092
  t.length > 0 && /* @__PURE__ */ b("span", { className: "text-xs text-muted-foreground", children: [
@@ -57140,7 +57143,7 @@ function U0({
57140
57143
  children: /* @__PURE__ */ f(
57141
57144
  Vy,
57142
57145
  {
57143
- className: M(
57146
+ className: x(
57144
57147
  "h-3.5 w-3.5",
57145
57148
  t.isFavorite ? "fill-yellow-500 text-yellow-500" : "text-muted-foreground"
57146
57149
  )
@@ -57199,7 +57202,7 @@ const H4 = T.forwardRef(({ className: t, ...e }, n) => /* @__PURE__ */ f(
57199
57202
  {
57200
57203
  ref: n,
57201
57204
  "data-slot": "sheet-overlay",
57202
- className: M(
57205
+ className: x(
57203
57206
  "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",
57204
57207
  t
57205
57208
  ),
@@ -57219,7 +57222,7 @@ function tA({
57219
57222
  Be.Content,
57220
57223
  {
57221
57224
  "data-slot": "sheet-content",
57222
- className: M(
57225
+ className: x(
57223
57226
  "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",
57224
57227
  n === "right" && "data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm",
57225
57228
  n === "left" && "data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm",
@@ -57244,7 +57247,7 @@ function nA({ className: t, ...e }) {
57244
57247
  "div",
57245
57248
  {
57246
57249
  "data-slot": "sheet-header",
57247
- className: M("flex flex-col gap-1.5 p-4", t),
57250
+ className: x("flex flex-col gap-1.5 p-4", t),
57248
57251
  ...e
57249
57252
  }
57250
57253
  );
@@ -57254,7 +57257,7 @@ function jz({ className: t, ...e }) {
57254
57257
  "div",
57255
57258
  {
57256
57259
  "data-slot": "sheet-footer",
57257
- className: M("mt-auto flex flex-col gap-2 p-4", t),
57260
+ className: x("mt-auto flex flex-col gap-2 p-4", t),
57258
57261
  ...e
57259
57262
  }
57260
57263
  );
@@ -57267,7 +57270,7 @@ function rA({
57267
57270
  Be.Title,
57268
57271
  {
57269
57272
  "data-slot": "sheet-title",
57270
- className: M("text-foreground font-semibold leading-[1.2]", t),
57273
+ className: x("text-foreground font-semibold leading-[1.2]", t),
57271
57274
  ...e
57272
57275
  }
57273
57276
  );
@@ -57280,7 +57283,7 @@ function iA({
57280
57283
  Be.Description,
57281
57284
  {
57282
57285
  "data-slot": "sheet-description",
57283
- className: M("text-muted-foreground text-sm leading-relaxed", t),
57286
+ className: x("text-muted-foreground text-sm leading-relaxed", t),
57284
57287
  ...e
57285
57288
  }
57286
57289
  );
@@ -57315,14 +57318,14 @@ function Dz({
57315
57318
  }) {
57316
57319
  const s = aA(), [l, c] = T.useState(!1), [d, u] = T.useState(t), p = e ?? d, h = T.useCallback(
57317
57320
  (v) => {
57318
- const x = typeof v == "function" ? v(p) : v;
57319
- n ? n(x) : u(x), document.cookie = `${oA}=${x}; path=/; max-age=${sA}`;
57321
+ const M = typeof v == "function" ? v(p) : v;
57322
+ n ? n(M) : u(M), document.cookie = `${oA}=${M}; path=/; max-age=${sA}`;
57320
57323
  },
57321
57324
  [n, p]
57322
57325
  ), m = T.useCallback(() => s ? c((v) => !v) : h((v) => !v), [s, h, c]);
57323
57326
  T.useEffect(() => {
57324
- const v = (x) => {
57325
- x.key === dA && (x.metaKey || x.ctrlKey) && (x.preventDefault(), m());
57327
+ const v = (M) => {
57328
+ M.key === dA && (M.metaKey || M.ctrlKey) && (M.preventDefault(), m());
57326
57329
  };
57327
57330
  return window.addEventListener("keydown", v), () => window.removeEventListener("keydown", v);
57328
57331
  }, [m]);
@@ -57347,7 +57350,7 @@ function Dz({
57347
57350
  "--sidebar-width-icon": cA,
57348
57351
  ...i
57349
57352
  },
57350
- className: M(
57353
+ className: x(
57351
57354
  "group/sidebar-wrapper has-data-[variant=inset]:bg-sidebar flex min-h-svh w-full",
57352
57355
  r
57353
57356
  ),
@@ -57369,7 +57372,7 @@ function Ez({
57369
57372
  "div",
57370
57373
  {
57371
57374
  "data-slot": "sidebar",
57372
- className: M(
57375
+ className: x(
57373
57376
  "bg-sidebar text-sidebar-foreground flex h-full w-(--sidebar-width) flex-col",
57374
57377
  r
57375
57378
  ),
@@ -57409,7 +57412,7 @@ function Ez({
57409
57412
  "div",
57410
57413
  {
57411
57414
  "data-slot": "sidebar-gap",
57412
- className: M(
57415
+ className: x(
57413
57416
  "relative w-(--sidebar-width) bg-transparent transition-[width] duration-200 ease-linear",
57414
57417
  "group-data-[collapsible=offcanvas]:w-0",
57415
57418
  "group-data-[side=right]:rotate-180",
@@ -57421,7 +57424,7 @@ function Ez({
57421
57424
  "div",
57422
57425
  {
57423
57426
  "data-slot": "sidebar-container",
57424
- className: M(
57427
+ className: x(
57425
57428
  "fixed inset-y-0 z-10 hidden h-svh w-(--sidebar-width) transition-[left,right,width] duration-200 ease-linear md:flex",
57426
57429
  t === "left" ? "left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]" : "right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",
57427
57430
  // Adjust the padding for floating and inset variants.
@@ -57457,7 +57460,7 @@ function Az({
57457
57460
  "data-slot": "sidebar-trigger",
57458
57461
  variant: "ghost",
57459
57462
  size: "icon",
57460
- className: M("size-7", t),
57463
+ className: x("size-7", t),
57461
57464
  onClick: (i) => {
57462
57465
  e == null || e(i), r();
57463
57466
  },
@@ -57480,7 +57483,7 @@ function zz({ className: t, ...e }) {
57480
57483
  tabIndex: -1,
57481
57484
  onClick: n,
57482
57485
  title: "Toggle Sidebar",
57483
- className: M(
57486
+ className: x(
57484
57487
  "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]:-right-4 group-data-[side=right]:left-0 after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] sm:flex",
57485
57488
  "in-data-[side=left]:cursor-w-resize in-data-[side=right]:cursor-e-resize",
57486
57489
  "[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize",
@@ -57498,7 +57501,7 @@ function Oz({ className: t, ...e }) {
57498
57501
  "main",
57499
57502
  {
57500
57503
  "data-slot": "sidebar-inset",
57501
- className: M(
57504
+ className: x(
57502
57505
  "bg-background relative flex w-full flex-1 flex-col",
57503
57506
  "md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2",
57504
57507
  t
@@ -57513,7 +57516,7 @@ function Pz({ className: t, ...e }) {
57513
57516
  {
57514
57517
  "data-slot": "sidebar-header",
57515
57518
  "data-sidebar": "header",
57516
- className: M("flex flex-col gap-2 p-2", t),
57519
+ className: x("flex flex-col gap-2 p-2", t),
57517
57520
  ...e
57518
57521
  }
57519
57522
  );
@@ -57524,7 +57527,7 @@ function Rz({ className: t, ...e }) {
57524
57527
  {
57525
57528
  "data-slot": "sidebar-footer",
57526
57529
  "data-sidebar": "footer",
57527
- className: M("flex flex-col gap-2 p-2", t),
57530
+ className: x("flex flex-col gap-2 p-2", t),
57528
57531
  ...e
57529
57532
  }
57530
57533
  );
@@ -57538,7 +57541,7 @@ function Bz({
57538
57541
  {
57539
57542
  "data-slot": "sidebar-separator",
57540
57543
  "data-sidebar": "separator",
57541
- className: M("bg-sidebar-border mx-2 w-auto", t),
57544
+ className: x("bg-sidebar-border mx-2 w-auto", t),
57542
57545
  ...e
57543
57546
  }
57544
57547
  );
@@ -57549,7 +57552,7 @@ function Hz({ className: t, ...e }) {
57549
57552
  {
57550
57553
  "data-slot": "sidebar-content",
57551
57554
  "data-sidebar": "content",
57552
- className: M(
57555
+ className: x(
57553
57556
  "flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",
57554
57557
  t
57555
57558
  ),
@@ -57563,7 +57566,7 @@ function Uz({ className: t, ...e }) {
57563
57566
  {
57564
57567
  "data-slot": "sidebar-group",
57565
57568
  "data-sidebar": "group",
57566
- className: M("relative flex w-full min-w-0 flex-col p-2", t),
57569
+ className: x("relative flex w-full min-w-0 flex-col p-2", t),
57567
57570
  ...e
57568
57571
  }
57569
57572
  );
@@ -57578,7 +57581,7 @@ function Fz({
57578
57581
  {
57579
57582
  "data-slot": "sidebar-group-label",
57580
57583
  "data-sidebar": "group-label",
57581
- className: M(
57584
+ className: x(
57582
57585
  "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",
57583
57586
  "group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",
57584
57587
  t
@@ -57597,7 +57600,7 @@ function Jz({
57597
57600
  {
57598
57601
  "data-slot": "sidebar-group-action",
57599
57602
  "data-sidebar": "group-action",
57600
- className: M(
57603
+ className: x(
57601
57604
  "text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground absolute top-3.5 right-3 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-hidden transition-transform focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",
57602
57605
  // Increases the hit area of the button on mobile.
57603
57606
  "after:absolute after:-inset-2 md:after:hidden",
@@ -57617,7 +57620,7 @@ function Vz({
57617
57620
  {
57618
57621
  "data-slot": "sidebar-group-content",
57619
57622
  "data-sidebar": "group-content",
57620
- className: M("w-full text-sm", t),
57623
+ className: x("w-full text-sm", t),
57621
57624
  ...e
57622
57625
  }
57623
57626
  );
@@ -57628,7 +57631,7 @@ function Yz({ className: t, ...e }) {
57628
57631
  {
57629
57632
  "data-slot": "sidebar-menu",
57630
57633
  "data-sidebar": "menu",
57631
- className: M("flex w-full min-w-0 flex-col gap-1", t),
57634
+ className: x("flex w-full min-w-0 flex-col gap-1", t),
57632
57635
  ...e
57633
57636
  }
57634
57637
  );
@@ -57639,7 +57642,7 @@ function _z({ className: t, ...e }) {
57639
57642
  {
57640
57643
  "data-slot": "sidebar-menu-item",
57641
57644
  "data-sidebar": "menu-item",
57642
- className: M("group/menu-item relative", t),
57645
+ className: x("group/menu-item relative", t),
57643
57646
  ...e
57644
57647
  }
57645
57648
  );
@@ -57680,7 +57683,7 @@ function Qz({
57680
57683
  "data-sidebar": "menu-button",
57681
57684
  "data-size": r,
57682
57685
  "data-active": e,
57683
- className: M(uA({ variant: n, size: r }), a),
57686
+ className: x(uA({ variant: n, size: r }), a),
57684
57687
  ...o
57685
57688
  }
57686
57689
  );
@@ -57710,7 +57713,7 @@ function Gz({
57710
57713
  {
57711
57714
  "data-slot": "sidebar-menu-action",
57712
57715
  "data-sidebar": "menu-action",
57713
- className: M(
57716
+ className: x(
57714
57717
  "text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground peer-hover/menu-button:text-sidebar-accent-foreground absolute top-1.5 right-1 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-hidden transition-transform focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",
57715
57718
  // Increases the hit area of the button on mobile.
57716
57719
  "after:absolute after:-inset-2 md:after:hidden",
@@ -57734,7 +57737,7 @@ function Wz({
57734
57737
  {
57735
57738
  "data-slot": "sidebar-menu-badge",
57736
57739
  "data-sidebar": "menu-badge",
57737
- className: M(
57740
+ className: x(
57738
57741
  "text-sidebar-foreground pointer-events-none absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums select-none",
57739
57742
  "peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground",
57740
57743
  "peer-data-[size=sm]/menu-button:top-1",
@@ -57758,7 +57761,7 @@ function $z({
57758
57761
  {
57759
57762
  "data-slot": "sidebar-menu-skeleton",
57760
57763
  "data-sidebar": "menu-skeleton",
57761
- className: M("flex h-8 items-center gap-2 rounded-md px-2", t),
57764
+ className: x("flex h-8 items-center gap-2 rounded-md px-2", t),
57762
57765
  ...n,
57763
57766
  children: [
57764
57767
  e && /* @__PURE__ */ f(
@@ -57788,7 +57791,7 @@ function Zz({ className: t, ...e }) {
57788
57791
  {
57789
57792
  "data-slot": "sidebar-menu-sub",
57790
57793
  "data-sidebar": "menu-sub",
57791
- className: M(
57794
+ className: x(
57792
57795
  "border-sidebar-border mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l px-2.5 py-0.5",
57793
57796
  "group-data-[collapsible=icon]:hidden",
57794
57797
  t
@@ -57806,7 +57809,7 @@ function Kz({
57806
57809
  {
57807
57810
  "data-slot": "sidebar-menu-sub-item",
57808
57811
  "data-sidebar": "menu-sub-item",
57809
- className: M("group/menu-sub-item relative", t),
57812
+ className: x("group/menu-sub-item relative", t),
57810
57813
  ...e
57811
57814
  }
57812
57815
  );
@@ -57825,7 +57828,7 @@ function qz({
57825
57828
  "data-sidebar": "menu-sub-button",
57826
57829
  "data-size": e,
57827
57830
  "data-active": n,
57828
- className: M(
57831
+ className: x(
57829
57832
  "text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground [&>svg]: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",
57830
57833
  "data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground",
57831
57834
  e === "sm" && "text-xs",
@@ -57857,7 +57860,7 @@ function hA({
57857
57860
  value: n,
57858
57861
  min: r,
57859
57862
  max: i,
57860
- className: M(
57863
+ className: x(
57861
57864
  "relative flex w-full touch-none items-center select-none data-[disabled]:opacity-50 data-[orientation=vertical]:h-full data-[orientation=vertical]:min-h-44 data-[orientation=vertical]:w-auto data-[orientation=vertical]:flex-col",
57862
57865
  t
57863
57866
  ),
@@ -57867,14 +57870,14 @@ function hA({
57867
57870
  wo.Track,
57868
57871
  {
57869
57872
  "data-slot": "slider-track",
57870
- className: M(
57873
+ className: x(
57871
57874
  "bg-muted relative grow overflow-hidden rounded-full data-[orientation=horizontal]:h-4 data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-1.5"
57872
57875
  ),
57873
57876
  children: /* @__PURE__ */ f(
57874
57877
  wo.Range,
57875
57878
  {
57876
57879
  "data-slot": "slider-range",
57877
- className: M(
57880
+ className: x(
57878
57881
  "bg-primary absolute data-[orientation=horizontal]:h-full data-[orientation=vertical]:w-full"
57879
57882
  )
57880
57883
  }
@@ -57954,7 +57957,7 @@ const pA = nn(
57954
57957
  return /* @__PURE__ */ b(
57955
57958
  "button",
57956
57959
  {
57957
- className: M(pA({ variant: s, size: n, className: t })),
57960
+ className: x(pA({ variant: s, size: n, className: t })),
57958
57961
  ref: o,
57959
57962
  ...a,
57960
57963
  children: [
@@ -57974,7 +57977,7 @@ function wA({
57974
57977
  Qu.Root,
57975
57978
  {
57976
57979
  "data-slot": "switch",
57977
- className: M(
57980
+ className: x(
57978
57981
  "peer data-[state=checked]:bg-primary data-[state=unchecked]:bg-switch-background 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 transition-all outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50",
57979
57982
  t
57980
57983
  ),
@@ -57983,7 +57986,7 @@ function wA({
57983
57986
  Qu.Thumb,
57984
57987
  {
57985
57988
  "data-slot": "switch-thumb",
57986
- className: M(
57989
+ className: x(
57987
57990
  "bg-card dark:data-[state=unchecked]:bg-card-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"
57988
57991
  )
57989
57992
  }
@@ -58014,15 +58017,15 @@ function Xz({
58014
58017
  }, [t]), !o) return null;
58015
58018
  const p = () => {
58016
58019
  r(o), n(!1);
58017
- }, h = (x, C) => {
58018
- s((w) => w ? { ...w, [x]: C } : null);
58019
- }, m = (x) => {
58020
+ }, h = (M, C) => {
58021
+ s((w) => w ? { ...w, [M]: C } : null);
58022
+ }, m = (M) => {
58020
58023
  s((C) => {
58021
58024
  if (!C) return null;
58022
- const w = C.dependencies || [], N = w.includes(x) ? w.filter((L) => L !== x) : [...w, x];
58025
+ const w = C.dependencies || [], N = w.includes(M) ? w.filter((L) => L !== M) : [...w, M];
58023
58026
  return { ...C, dependencies: N };
58024
58027
  });
58025
- }, g = i.filter((x) => x.id !== o.id), y = o.name.trim() !== "" && o.startDate <= o.endDate;
58028
+ }, g = i.filter((M) => M.id !== o.id), y = o.name.trim() !== "" && o.startDate <= o.endDate;
58026
58029
  return /* @__PURE__ */ f(hl, { open: e, onOpenChange: n, children: /* @__PURE__ */ b(pl, { className: "max-w-2xl max-h-[90vh] overflow-y-auto", children: [
58027
58030
  /* @__PURE__ */ b(ml, { children: [
58028
58031
  /* @__PURE__ */ f(gl, { children: "Editar Tarefa" }),
@@ -58036,7 +58039,7 @@ function Xz({
58036
58039
  {
58037
58040
  id: "task-name",
58038
58041
  value: o.name,
58039
- onChange: (x) => h("name", x.target.value),
58042
+ onChange: (M) => h("name", M.target.value),
58040
58043
  placeholder: "Ex: Briefing com cliente"
58041
58044
  }
58042
58045
  )
@@ -58048,7 +58051,7 @@ function Xz({
58048
58051
  {
58049
58052
  id: "task-description",
58050
58053
  value: o.description || "",
58051
- onChange: (x) => h("description", x.target.value),
58054
+ onChange: (M) => h("description", M.target.value),
58052
58055
  placeholder: "Adicione detalhes sobre esta tarefa...",
58053
58056
  rows: 3
58054
58057
  }
@@ -58062,7 +58065,7 @@ function Xz({
58062
58065
  H,
58063
58066
  {
58064
58067
  variant: "outline",
58065
- className: M(
58068
+ className: x(
58066
58069
  "w-full justify-start text-left font-normal",
58067
58070
  !o.startDate && "text-muted-foreground"
58068
58071
  ),
@@ -58077,8 +58080,8 @@ function Xz({
58077
58080
  {
58078
58081
  mode: "single",
58079
58082
  selected: o.startDate,
58080
- onSelect: (x) => {
58081
- x && (h("startDate", x), c(!1));
58083
+ onSelect: (M) => {
58084
+ M && (h("startDate", M), c(!1));
58082
58085
  },
58083
58086
  initialFocus: !0
58084
58087
  }
@@ -58092,7 +58095,7 @@ function Xz({
58092
58095
  H,
58093
58096
  {
58094
58097
  variant: "outline",
58095
- className: M(
58098
+ className: x(
58096
58099
  "w-full justify-start text-left font-normal",
58097
58100
  !o.endDate && "text-muted-foreground"
58098
58101
  ),
@@ -58107,10 +58110,10 @@ function Xz({
58107
58110
  {
58108
58111
  mode: "single",
58109
58112
  selected: o.endDate,
58110
- onSelect: (x) => {
58111
- x && (h("endDate", x), u(!1));
58113
+ onSelect: (M) => {
58114
+ M && (h("endDate", M), u(!1));
58112
58115
  },
58113
- disabled: (x) => o.startDate ? x < o.startDate : !1,
58116
+ disabled: (M) => o.startDate ? M < o.startDate : !1,
58114
58117
  initialFocus: !0
58115
58118
  }
58116
58119
  ) })
@@ -58128,13 +58131,13 @@ function Xz({
58128
58131
  Sn,
58129
58132
  {
58130
58133
  value: o.status,
58131
- onValueChange: (x) => h("status", x),
58134
+ onValueChange: (M) => h("status", M),
58132
58135
  children: [
58133
58136
  /* @__PURE__ */ f(Tn, { id: "task-status", children: /* @__PURE__ */ f(In, {}) }),
58134
- /* @__PURE__ */ f(jn, { children: MA.map((x) => /* @__PURE__ */ f(Wt, { value: x.value, children: /* @__PURE__ */ b("div", { className: "flex items-center gap-2", children: [
58135
- /* @__PURE__ */ f("div", { className: M("size-2 rounded-full", x.color) }),
58136
- x.label
58137
- ] }) }, x.value)) })
58137
+ /* @__PURE__ */ f(jn, { children: MA.map((M) => /* @__PURE__ */ f(Wt, { value: M.value, children: /* @__PURE__ */ b("div", { className: "flex items-center gap-2", children: [
58138
+ /* @__PURE__ */ f("div", { className: x("size-2 rounded-full", M.color) }),
58139
+ M.label
58140
+ ] }) }, M.value)) })
58138
58141
  ]
58139
58142
  }
58140
58143
  )
@@ -58145,16 +58148,16 @@ function Xz({
58145
58148
  Sn,
58146
58149
  {
58147
58150
  value: ((v = o.assignee) == null ? void 0 : v.name) || "",
58148
- onValueChange: (x) => {
58149
- const C = a.find((w) => w.name === x);
58151
+ onValueChange: (M) => {
58152
+ const C = a.find((w) => w.name === M);
58150
58153
  h("assignee", C || void 0);
58151
58154
  },
58152
58155
  children: [
58153
58156
  /* @__PURE__ */ f(Tn, { id: "task-assignee", children: /* @__PURE__ */ f(In, { placeholder: "Selecionar responsável" }) }),
58154
- /* @__PURE__ */ f(jn, { children: a.map((x) => /* @__PURE__ */ f(Wt, { value: x.name, children: /* @__PURE__ */ b("div", { className: "flex items-center gap-2", children: [
58157
+ /* @__PURE__ */ f(jn, { children: a.map((M) => /* @__PURE__ */ f(Wt, { value: M.name, children: /* @__PURE__ */ b("div", { className: "flex items-center gap-2", children: [
58155
58158
  /* @__PURE__ */ f(al, { className: "size-4" }),
58156
- x.name
58157
- ] }) }, x.name)) })
58159
+ M.name
58160
+ ] }) }, M.name)) })
58158
58161
  ]
58159
58162
  }
58160
58163
  )
@@ -58172,7 +58175,7 @@ function Xz({
58172
58175
  hA,
58173
58176
  {
58174
58177
  value: [o.progress],
58175
- onValueChange: (x) => h("progress", x[0]),
58178
+ onValueChange: (M) => h("progress", M[0]),
58176
58179
  max: 100,
58177
58180
  step: 5,
58178
58181
  className: "w-full"
@@ -58194,7 +58197,7 @@ function Xz({
58194
58197
  {
58195
58198
  id: "milestone-toggle",
58196
58199
  checked: o.milestone || !1,
58197
- onCheckedChange: (x) => h("milestone", x)
58200
+ onCheckedChange: (M) => h("milestone", M)
58198
58201
  }
58199
58202
  )
58200
58203
  ] }),
@@ -58204,33 +58207,33 @@ function Xz({
58204
58207
  /* @__PURE__ */ f(tt, { children: "Dependências" })
58205
58208
  ] }),
58206
58209
  /* @__PURE__ */ f("p", { className: "text-sm text-muted-foreground", children: "Selecione as tarefas que precisam ser concluídas antes desta" }),
58207
- /* @__PURE__ */ f("div", { className: "space-y-2 max-h-48 overflow-y-auto border rounded-lg p-3", children: g.map((x) => {
58210
+ /* @__PURE__ */ f("div", { className: "space-y-2 max-h-48 overflow-y-auto border rounded-lg p-3", children: g.map((M) => {
58208
58211
  var w;
58209
- const C = ((w = o.dependencies) == null ? void 0 : w.includes(x.id)) || !1;
58212
+ const C = ((w = o.dependencies) == null ? void 0 : w.includes(M.id)) || !1;
58210
58213
  return /* @__PURE__ */ b(
58211
58214
  "div",
58212
58215
  {
58213
- className: M(
58216
+ className: x(
58214
58217
  "flex items-center gap-3 p-2 rounded-md cursor-pointer transition-colors",
58215
58218
  C ? "bg-primary/10 border border-primary/20" : "hover:bg-muted/50"
58216
58219
  ),
58217
- onClick: () => m(x.id),
58220
+ onClick: () => m(M.id),
58218
58221
  children: [
58219
58222
  /* @__PURE__ */ f(
58220
58223
  "div",
58221
58224
  {
58222
- className: M(
58225
+ className: x(
58223
58226
  "size-4 rounded border-2 flex items-center justify-center transition-all",
58224
58227
  C ? "bg-primary border-primary" : "border-muted-foreground"
58225
58228
  ),
58226
58229
  children: C && /* @__PURE__ */ f("div", { className: "size-2 rounded-sm bg-white" })
58227
58230
  }
58228
58231
  ),
58229
- /* @__PURE__ */ f("span", { className: "text-sm flex-1", children: x.name }),
58230
- x.assignee && /* @__PURE__ */ f(be, { variant: "outline", className: "text-xs", children: x.assignee.name })
58232
+ /* @__PURE__ */ f("span", { className: "text-sm flex-1", children: M.name }),
58233
+ M.assignee && /* @__PURE__ */ f(be, { variant: "outline", className: "text-xs", children: M.assignee.name })
58231
58234
  ]
58232
58235
  },
58233
- x.id
58236
+ M.id
58234
58237
  );
58235
58238
  }) }),
58236
58239
  o.dependencies && o.dependencies.length > 0 && /* @__PURE__ */ b("p", { className: "text-xs text-muted-foreground", children: [
@@ -58286,7 +58289,7 @@ const xA = (t) => {
58286
58289
  };
58287
58290
  return /* @__PURE__ */ b("div", { className: "flex gap-4 group", children: [
58288
58291
  /* @__PURE__ */ b("div", { className: "flex flex-col items-center", children: [
58289
- /* @__PURE__ */ f("div", { className: M(
58292
+ /* @__PURE__ */ f("div", { className: x(
58290
58293
  "flex items-center justify-center w-8 h-8 rounded-full border shadow-sm z-10 transition-colors",
58291
58294
  "bg-background group-hover:border-primary/50",
58292
58295
  CA(t.action)
@@ -58315,7 +58318,7 @@ const xA = (t) => {
58315
58318
  className: "h-6 px-2 text-xs text-muted-foreground hover:text-primary gap-1",
58316
58319
  children: [
58317
58320
  r ? "Ocultar detalhes" : "Ver detalhes",
58318
- /* @__PURE__ */ f(zn, { className: M("h-3 w-3 transition-transform duration-200", r && "rotate-90") })
58321
+ /* @__PURE__ */ f(zn, { className: x("h-3 w-3 transition-transform duration-200", r && "rotate-90") })
58319
58322
  ]
58320
58323
  }
58321
58324
  ) })
@@ -58331,7 +58334,7 @@ const xA = (t) => {
58331
58334
  ] })
58332
58335
  ] }) })
58333
58336
  ] });
58334
- }, eO = ({ events: t, className: e, onDetailsOpen: n }) => /* @__PURE__ */ f("div", { className: M("flex flex-col", e), children: t.map((r, i) => /* @__PURE__ */ f(
58337
+ }, eO = ({ events: t, className: e, onDetailsOpen: n }) => /* @__PURE__ */ f("div", { className: x("flex flex-col", e), children: t.map((r, i) => /* @__PURE__ */ f(
58335
58338
  LA,
58336
58339
  {
58337
58340
  event: r,
@@ -58383,7 +58386,7 @@ function nO({
58383
58386
  "data-slot": "toggle-group",
58384
58387
  "data-variant": e,
58385
58388
  "data-size": n,
58386
- className: M(
58389
+ className: x(
58387
58390
  "group/toggle-group flex w-fit items-center rounded-md data-[variant=outline]:shadow-xs",
58388
58391
  t
58389
58392
  ),
@@ -58406,7 +58409,7 @@ function rO({
58406
58409
  "data-slot": "toggle-group-item",
58407
58410
  "data-variant": a.variant || n,
58408
58411
  "data-size": a.size || r,
58409
- className: M(
58412
+ className: x(
58410
58413
  i4({
58411
58414
  variant: a.variant || n,
58412
58415
  size: a.size || r
@@ -58436,10 +58439,10 @@ function iO({
58436
58439
  const [a, o] = T.useState(t || ""), s = e !== void 0 ? e : a, l = (c) => {
58437
58440
  e === void 0 && o(c), n == null || n(c);
58438
58441
  };
58439
- return /* @__PURE__ */ f(J4.Provider, { value: { value: s, onValueChange: l }, children: /* @__PURE__ */ f("div", { className: M("w-full", i), role: "tablist", children: r }) });
58442
+ return /* @__PURE__ */ f(J4.Provider, { value: { value: s, onValueChange: l }, children: /* @__PURE__ */ f("div", { className: x("w-full", i), role: "tablist", children: r }) });
58440
58443
  }
58441
58444
  function aO({ children: t, className: e }) {
58442
- return /* @__PURE__ */ f("div", { className: M("border-b border-border bg-background", e), children: /* @__PURE__ */ f("div", { className: "flex", children: t }) });
58445
+ return /* @__PURE__ */ f("div", { className: x("border-b border-border bg-background", e), children: /* @__PURE__ */ f("div", { className: "flex", children: t }) });
58443
58446
  }
58444
58447
  function oO({
58445
58448
  value: t,
@@ -58457,7 +58460,7 @@ function oO({
58457
58460
  "aria-disabled": r,
58458
58461
  disabled: r,
58459
58462
  onClick: () => !r && a(t),
58460
- className: M(
58463
+ className: x(
58461
58464
  "px-4 h-12 text-sm font-medium border-b-2 transition-colors relative",
58462
58465
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
58463
58466
  "disabled:pointer-events-none disabled:opacity-50",
@@ -58479,7 +58482,7 @@ function sO({
58479
58482
  {
58480
58483
  role: "tabpanel",
58481
58484
  "aria-labelledby": t,
58482
- className: M("mt-4", n),
58485
+ className: x("mt-4", n),
58483
58486
  children: e
58484
58487
  }
58485
58488
  );
@@ -58541,7 +58544,7 @@ function lO({
58541
58544
  }, [r, i, e, t, g]), v = Le(() => {
58542
58545
  var k;
58543
58546
  a || o || (k = m.current) == null || k.click();
58544
- }, [a, o]), x = Le((k) => {
58547
+ }, [a, o]), M = Le((k) => {
58545
58548
  y(k.target.files);
58546
58549
  }, [y]), C = Le((k) => {
58547
58550
  k.preventDefault(), k.stopPropagation(), !a && !o && h(!0);
@@ -58560,7 +58563,7 @@ function lO({
58560
58563
  return /* @__PURE__ */ b(
58561
58564
  "div",
58562
58565
  {
58563
- className: M(
58566
+ className: x(
58564
58567
  "relative border-2 border-dashed rounded-lg p-8 text-center transition-all cursor-pointer",
58565
58568
  "hover:border-primary/50 hover:bg-muted/30",
58566
58569
  p && "border-primary bg-primary/5 scale-[1.02]",
@@ -58581,23 +58584,23 @@ function lO({
58581
58584
  multiple: n,
58582
58585
  accept: e,
58583
58586
  className: "hidden",
58584
- onChange: x,
58587
+ onChange: M,
58585
58588
  disabled: a || o
58586
58589
  }
58587
58590
  ),
58588
58591
  /* @__PURE__ */ b("div", { className: "flex flex-col items-center gap-3", children: [
58589
- c || /* @__PURE__ */ f("div", { className: M(
58592
+ c || /* @__PURE__ */ f("div", { className: x(
58590
58593
  "transition-transform",
58591
58594
  p && "scale-110"
58592
58595
  ), children: o ? /* @__PURE__ */ f("div", { className: "h-12 w-12 mx-auto", children: /* @__PURE__ */ b("svg", { className: "animate-spin h-12 w-12 text-primary", xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", children: [
58593
58596
  /* @__PURE__ */ f("circle", { className: "opacity-25", cx: "12", cy: "12", r: "10", stroke: "currentColor", strokeWidth: "4" }),
58594
58597
  /* @__PURE__ */ f("path", { className: "opacity-75", fill: "currentColor", d: "M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z" })
58595
- ] }) }) : /* @__PURE__ */ f(Ky, { className: M(
58598
+ ] }) }) : /* @__PURE__ */ f(Ky, { className: x(
58596
58599
  "h-12 w-12 mx-auto text-muted-foreground transition-colors",
58597
58600
  p && "text-primary"
58598
58601
  ) }) }),
58599
58602
  /* @__PURE__ */ b("div", { className: "space-y-1", children: [
58600
- /* @__PURE__ */ f("p", { className: M(
58603
+ /* @__PURE__ */ f("p", { className: x(
58601
58604
  "font-medium transition-colors",
58602
58605
  p && "text-primary",
58603
58606
  o && "text-muted-foreground"
@@ -58634,7 +58637,7 @@ function ei({
58634
58637
  {
58635
58638
  src: t,
58636
58639
  alt: e,
58637
- className: M(SA[n], "object-contain", r)
58640
+ className: x(SA[n], "object-contain", r)
58638
58641
  }
58639
58642
  );
58640
58643
  }
@@ -58740,7 +58743,7 @@ function cO({
58740
58743
  return /* @__PURE__ */ b(
58741
58744
  "div",
58742
58745
  {
58743
- className: M(
58746
+ className: x(
58744
58747
  "proposal-template bg-white text-black",
58745
58748
  e ? "shadow-lg rounded-lg p-8 max-w-5xl mx-auto my-8" : "p-0"
58746
58749
  ),
@@ -59183,7 +59186,7 @@ export {
59183
59186
  Hv as badgeVariants,
59184
59187
  Nr as buttonVariants,
59185
59188
  Pv as calculatePaginationMetadata,
59186
- M as cn,
59189
+ x as cn,
59187
59190
  b7 as dadosContratoExemplo,
59188
59191
  zv as getPageNumbers,
59189
59192
  Z5 as navigationMenuTriggerStyle,