@emoo-ai/ui-react 0.1.9 → 0.1.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -7,7 +7,7 @@ import { cva as se } from "class-variance-authority";
7
7
  import * as O from "react";
8
8
  import { useState as j, useEffect as fe, useMemo as te, useSyncExternalStore as ir, useRef as q, useId as sr, useCallback as dt, useLayoutEffect as ut, useImperativeHandle as Za, Fragment as lr } from "react";
9
9
  import { Toaster as Wo, toast as Ko } from "sonner";
10
- import { toast as xg } from "sonner";
10
+ import { toast as kg } from "sonner";
11
11
  import { format as ja, parse as Uo } from "date-fns";
12
12
  import { zhCN as En } from "date-fns/locale";
13
13
  import { getDefaultClassNames as dr, DayPicker as Yo } from "react-day-picker";
@@ -17,15 +17,16 @@ import { Command as mt } from "cmdk";
17
17
  import { useReactTable as Qo, getPaginationRowModel as Zo, getSortedRowModel as ei, getCoreRowModel as ti } from "@tanstack/react-table";
18
18
  import { defaultRangeExtractor as ai, useVirtualizer as ni } from "@tanstack/react-virtual";
19
19
  import { Drawer as et } from "vaul";
20
- import { OTPInput as ri, OTPInputContext as oi } from "input-otp";
20
+ import { fileIconGlyph as ri, fileIconViewBox as oi } from "@emoo-ai/brand/file-icons";
21
+ import { OTPInput as ii, OTPInputContext as si } from "input-otp";
21
22
  import { MessageScroller as xt } from "@shadcn/react/message-scroller";
22
- import { useMessageScroller as yg, useMessageScrollerScrollable as Ng, useMessageScrollerVisibility as kg } from "@shadcn/react/message-scroller";
23
+ import { useMessageScroller as Cg, useMessageScrollerScrollable as Sg, useMessageScrollerVisibility as _g } from "@shadcn/react/message-scroller";
23
24
  import { Questionnaire as be } from "@shadcn/react/questionnaire";
24
25
  import * as en from "react-resizable-panels";
25
26
  function i(...e) {
26
27
  return Mo(Io(e));
27
28
  }
28
- function cd({
29
+ function md({
29
30
  className: e,
30
31
  ...t
31
32
  }) {
@@ -38,7 +39,7 @@ function cd({
38
39
  }
39
40
  );
40
41
  }
41
- function ud({
42
+ function gd({
42
43
  className: e,
43
44
  ...t
44
45
  }) {
@@ -51,7 +52,7 @@ function ud({
51
52
  }
52
53
  );
53
54
  }
54
- function fd({
55
+ function pd({
55
56
  className: e,
56
57
  children: t,
57
58
  ...n
@@ -73,7 +74,7 @@ function fd({
73
74
  }
74
75
  ) });
75
76
  }
76
- function md({
77
+ function hd({
77
78
  className: e,
78
79
  children: t,
79
80
  ...n
@@ -192,22 +193,22 @@ function J({
192
193
  }
193
194
  );
194
195
  }
195
- function gd({
196
+ function bd({
196
197
  ...e
197
198
  }) {
198
199
  return /* @__PURE__ */ a(Ge.Root, { "data-slot": "alert-dialog", ...e });
199
200
  }
200
- function pd({
201
+ function vd({
201
202
  ...e
202
203
  }) {
203
204
  return /* @__PURE__ */ a(Ge.Trigger, { "data-slot": "alert-dialog-trigger", ...e });
204
205
  }
205
- function ii({
206
+ function li({
206
207
  ...e
207
208
  }) {
208
209
  return /* @__PURE__ */ a(Ge.Portal, { "data-slot": "alert-dialog-portal", ...e });
209
210
  }
210
- function si({
211
+ function di({
211
212
  className: e,
212
213
  ...t
213
214
  }) {
@@ -223,14 +224,14 @@ function si({
223
224
  }
224
225
  );
225
226
  }
226
- function hd({
227
+ function xd({
227
228
  className: e,
228
229
  size: t = "default",
229
230
  container: n,
230
231
  ...r
231
232
  }) {
232
- return /* @__PURE__ */ f(ii, { container: n, children: [
233
- /* @__PURE__ */ a(si, {}),
233
+ return /* @__PURE__ */ f(li, { container: n, children: [
234
+ /* @__PURE__ */ a(di, {}),
234
235
  /* @__PURE__ */ a(
235
236
  Ge.Content,
236
237
  {
@@ -245,7 +246,7 @@ function hd({
245
246
  )
246
247
  ] });
247
248
  }
248
- function bd({
249
+ function wd({
249
250
  className: e,
250
251
  ...t
251
252
  }) {
@@ -261,7 +262,7 @@ function bd({
261
262
  }
262
263
  );
263
264
  }
264
- function vd({
265
+ function yd({
265
266
  className: e,
266
267
  ...t
267
268
  }) {
@@ -277,7 +278,7 @@ function vd({
277
278
  }
278
279
  );
279
280
  }
280
- function xd({
281
+ function Nd({
281
282
  className: e,
282
283
  ...t
283
284
  }) {
@@ -293,7 +294,7 @@ function xd({
293
294
  }
294
295
  );
295
296
  }
296
- function wd({
297
+ function kd({
297
298
  className: e,
298
299
  ...t
299
300
  }) {
@@ -309,7 +310,7 @@ function wd({
309
310
  }
310
311
  );
311
312
  }
312
- function yd({
313
+ function zd({
313
314
  className: e,
314
315
  ...t
315
316
  }) {
@@ -325,7 +326,7 @@ function yd({
325
326
  }
326
327
  );
327
328
  }
328
- function Nd({
329
+ function Cd({
329
330
  className: e,
330
331
  variant: t = "default",
331
332
  size: n = "default",
@@ -340,7 +341,7 @@ function Nd({
340
341
  }
341
342
  ) });
342
343
  }
343
- function kd({
344
+ function Sd({
344
345
  className: e,
345
346
  variant: t = "outline",
346
347
  size: n = "default",
@@ -355,7 +356,7 @@ function kd({
355
356
  }
356
357
  ) });
357
358
  }
358
- const li = se(
359
+ const ci = se(
359
360
  "group/alert relative grid w-full gap-0.5 rounded-lg border px-2.5 py-2 text-left text-sm has-data-[slot=alert-action]:relative has-data-[slot=alert-action]:pr-18 has-[>svg]:grid-cols-[auto_1fr] has-[>svg]:gap-x-2 *:[svg]:row-span-2 *:[svg]:translate-y-0.5 *:[svg]:text-current *:[svg:not([class*='size-'])]:size-4",
360
361
  {
361
362
  variants: {
@@ -369,7 +370,7 @@ const li = se(
369
370
  }
370
371
  }
371
372
  );
372
- function zd({
373
+ function _d({
373
374
  className: e,
374
375
  variant: t,
375
376
  ...n
@@ -379,12 +380,12 @@ function zd({
379
380
  {
380
381
  "data-slot": "alert",
381
382
  role: "alert",
382
- className: i(li({ variant: t }), e),
383
+ className: i(ci({ variant: t }), e),
383
384
  ...n
384
385
  }
385
386
  );
386
387
  }
387
- function Cd({ className: e, ...t }) {
388
+ function Id({ className: e, ...t }) {
388
389
  return /* @__PURE__ */ a(
389
390
  "div",
390
391
  {
@@ -397,7 +398,7 @@ function Cd({ className: e, ...t }) {
397
398
  }
398
399
  );
399
400
  }
400
- function Sd({
401
+ function Md({
401
402
  className: e,
402
403
  ...t
403
404
  }) {
@@ -413,7 +414,7 @@ function Sd({
413
414
  }
414
415
  );
415
416
  }
416
- function _d({ className: e, ...t }) {
417
+ function Td({ className: e, ...t }) {
417
418
  return /* @__PURE__ */ a(
418
419
  "div",
419
420
  {
@@ -423,12 +424,12 @@ function _d({ className: e, ...t }) {
423
424
  }
424
425
  );
425
426
  }
426
- function Id({
427
+ function Dd({
427
428
  ...e
428
429
  }) {
429
430
  return /* @__PURE__ */ a(zo.Root, { "data-slot": "aspect-ratio", ...e });
430
431
  }
431
- const di = se(
432
+ const ui = se(
432
433
  "group/attachment relative flex w-fit max-w-full min-w-0 shrink-0 flex-wrap rounded-xl border bg-card text-card-foreground transition-colors focus-within:ring-1 focus-within:ring-ring/50 has-[>a,>button]:hover:bg-muted/50 data-[state=error]:border-destructive/30 data-[state=idle]:border-dashed",
433
434
  {
434
435
  variants: {
@@ -458,12 +459,12 @@ function cr({
458
459
  "data-state": t,
459
460
  "data-size": n,
460
461
  "data-orientation": r,
461
- className: i(di({ size: n, orientation: r }), e),
462
+ className: i(ui({ size: n, orientation: r }), e),
462
463
  ...o
463
464
  }
464
465
  );
465
466
  }
466
- const ci = se(
467
+ const fi = se(
467
468
  "relative flex aspect-square w-10 shrink-0 items-center justify-center overflow-hidden rounded-lg bg-muted text-foreground group-data-[orientation=vertical]/attachment:w-full group-data-[size=sm]/attachment:w-8 group-data-[size=xs]/attachment:w-7 group-data-[size=xs]/attachment:rounded-md group-data-[state=error]/attachment:bg-destructive/10 group-data-[state=error]/attachment:text-destructive group-data-[orientation=vertical]/attachment:*:data-[slot=spinner]:size-6! [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 group-data-[orientation=vertical]/attachment:[&_svg:not([class*='size-'])]:size-6 group-data-[size=xs]/attachment:[&_svg:not([class*='size-'])]:size-3.5",
468
469
  {
469
470
  variants: {
@@ -477,7 +478,7 @@ const ci = se(
477
478
  }
478
479
  }
479
480
  );
480
- function Md({
481
+ function Ed({
481
482
  className: e,
482
483
  variant: t = "icon",
483
484
  ...n
@@ -487,12 +488,12 @@ function Md({
487
488
  {
488
489
  "data-slot": "attachment-media",
489
490
  "data-variant": t,
490
- className: i(ci({ variant: t }), e),
491
+ className: i(fi({ variant: t }), e),
491
492
  ...n
492
493
  }
493
494
  );
494
495
  }
495
- function Td({
496
+ function Pd({
496
497
  className: e,
497
498
  ...t
498
499
  }) {
@@ -524,7 +525,7 @@ function ur({
524
525
  }
525
526
  );
526
527
  }
527
- function ui({
528
+ function mi({
528
529
  className: e,
529
530
  ...t
530
531
  }) {
@@ -574,7 +575,7 @@ function Ba({
574
575
  }
575
576
  );
576
577
  }
577
- function fi({
578
+ function gi({
578
579
  className: e,
579
580
  asChild: t = !1,
580
581
  type: n,
@@ -591,7 +592,7 @@ function fi({
591
592
  }
592
593
  );
593
594
  }
594
- function Dd({ className: e, ...t }) {
595
+ function Rd({ className: e, ...t }) {
595
596
  return /* @__PURE__ */ a(
596
597
  "div",
597
598
  {
@@ -604,7 +605,7 @@ function Dd({ className: e, ...t }) {
604
605
  }
605
606
  );
606
607
  }
607
- function Ed({
608
+ function Ld({
608
609
  className: e,
609
610
  size: t = "default",
610
611
  ...n
@@ -622,7 +623,7 @@ function Ed({
622
623
  }
623
624
  );
624
625
  }
625
- function Pd({
626
+ function Ad({
626
627
  className: e,
627
628
  ...t
628
629
  }) {
@@ -638,7 +639,7 @@ function Pd({
638
639
  }
639
640
  );
640
641
  }
641
- function Rd({
642
+ function Od({
642
643
  className: e,
643
644
  ...t
644
645
  }) {
@@ -654,7 +655,7 @@ function Rd({
654
655
  }
655
656
  );
656
657
  }
657
- function Ld({ className: e, ...t }) {
658
+ function jd({ className: e, ...t }) {
658
659
  return /* @__PURE__ */ a(
659
660
  "span",
660
661
  {
@@ -670,7 +671,7 @@ function Ld({ className: e, ...t }) {
670
671
  }
671
672
  );
672
673
  }
673
- function Ad({ className: e, ...t }) {
674
+ function Bd({ className: e, ...t }) {
674
675
  return /* @__PURE__ */ a(
675
676
  "div",
676
677
  {
@@ -683,7 +684,7 @@ function Ad({ className: e, ...t }) {
683
684
  }
684
685
  );
685
686
  }
686
- function Od({
687
+ function $d({
687
688
  className: e,
688
689
  ...t
689
690
  }) {
@@ -699,7 +700,7 @@ function Od({
699
700
  }
700
701
  );
701
702
  }
702
- const mi = se(
703
+ const pi = se(
703
704
  "group/badge inline-flex h-5 w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-4xl border border-transparent px-2 py-0.5 text-xs font-medium whitespace-nowrap transition-all focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&>svg]:pointer-events-none [&>svg]:size-3!",
704
705
  {
705
706
  variants: {
@@ -729,7 +730,7 @@ function mr({
729
730
  {
730
731
  "data-slot": "badge",
731
732
  "data-variant": t,
732
- className: i(mi({ variant: t }), e),
733
+ className: i(pi({ variant: t }), e),
733
734
  ...r
734
735
  }
735
736
  );
@@ -754,7 +755,7 @@ function ia({
754
755
  }
755
756
  );
756
757
  }
757
- const gi = se(
758
+ const hi = se(
758
759
  "group/button-group flex w-fit items-stretch *:focus-visible:relative *:focus-visible:z-10 has-[>[data-slot=button-group]]:gap-2 has-[select[aria-hidden=true]:last-child]:[&>[data-slot=select-trigger]:last-of-type]:rounded-r-lg [&>[data-slot=select-trigger]:not([class*='w-'])]:w-fit [&>input]:flex-1",
759
760
  {
760
761
  variants: {
@@ -768,7 +769,7 @@ const gi = se(
768
769
  }
769
770
  }
770
771
  );
771
- function jd({
772
+ function Fd({
772
773
  className: e,
773
774
  orientation: t,
774
775
  ...n
@@ -779,12 +780,12 @@ function jd({
779
780
  role: "group",
780
781
  "data-slot": "button-group",
781
782
  "data-orientation": t,
782
- className: i(gi({ orientation: t }), e),
783
+ className: i(hi({ orientation: t }), e),
783
784
  ...n
784
785
  }
785
786
  );
786
787
  }
787
- function Bd({
788
+ function Vd({
788
789
  className: e,
789
790
  asChild: t = !1,
790
791
  ...n
@@ -801,7 +802,7 @@ function Bd({
801
802
  }
802
803
  );
803
804
  }
804
- function $d({
805
+ function Hd({
805
806
  className: e,
806
807
  orientation: t = "vertical",
807
808
  ...n
@@ -931,7 +932,7 @@ function br({
931
932
  }
932
933
  ) });
933
934
  }
934
- function Fd({
935
+ function qd({
935
936
  className: e,
936
937
  ...t
937
938
  }) {
@@ -999,7 +1000,7 @@ function wr({
999
1000
  style: { pointerEvents: "auto", ...n },
1000
1001
  ...l,
1001
1002
  children: [
1002
- /* @__PURE__ */ a(pi, {}),
1003
+ /* @__PURE__ */ a(bi, {}),
1003
1004
  /* @__PURE__ */ a(
1004
1005
  ze.Viewport,
1005
1006
  {
@@ -1011,12 +1012,12 @@ function wr({
1011
1012
  children: t
1012
1013
  }
1013
1014
  ),
1014
- /* @__PURE__ */ a(hi, {})
1015
+ /* @__PURE__ */ a(vi, {})
1015
1016
  ]
1016
1017
  }
1017
1018
  ) });
1018
1019
  }
1019
- function Vd({
1020
+ function Gd({
1020
1021
  className: e,
1021
1022
  ...t
1022
1023
  }) {
@@ -1051,7 +1052,7 @@ function yr({
1051
1052
  }
1052
1053
  );
1053
1054
  }
1054
- function Hd({
1055
+ function Wd({
1055
1056
  className: e,
1056
1057
  ...t
1057
1058
  }) {
@@ -1064,7 +1065,7 @@ function Hd({
1064
1065
  }
1065
1066
  );
1066
1067
  }
1067
- function pi({
1068
+ function bi({
1068
1069
  className: e,
1069
1070
  ...t
1070
1071
  }) {
@@ -1084,7 +1085,7 @@ function pi({
1084
1085
  }
1085
1086
  );
1086
1087
  }
1087
- function hi({
1088
+ function vi({
1088
1089
  className: e,
1089
1090
  ...t
1090
1091
  }) {
@@ -1104,7 +1105,7 @@ function hi({
1104
1105
  }
1105
1106
  );
1106
1107
  }
1107
- function bi({
1108
+ function xi({
1108
1109
  options: e,
1109
1110
  value: t,
1110
1111
  onChange: n,
@@ -1141,7 +1142,7 @@ function bi({
1141
1142
  }
1142
1143
  );
1143
1144
  }
1144
- function vi({
1145
+ function wi({
1145
1146
  className: e,
1146
1147
  classNames: t,
1147
1148
  showOutsideDays: n = !0,
@@ -1270,16 +1271,16 @@ function vi({
1270
1271
  }
1271
1272
  ),
1272
1273
  Chevron: ({ className: p, orientation: m, ...h }) => m === "left" ? /* @__PURE__ */ a(ra, { className: i("size-4", p), ...h }) : m === "right" ? /* @__PURE__ */ a(Le, { className: i("size-4", p), ...h }) : /* @__PURE__ */ a(He, { className: i("size-4", p), ...h }),
1273
- DayButton: ({ ...p }) => /* @__PURE__ */ a(xi, { locale: s, ...p }),
1274
+ DayButton: ({ ...p }) => /* @__PURE__ */ a(yi, { locale: s, ...p }),
1274
1275
  WeekNumber: ({ children: p, ...m }) => /* @__PURE__ */ a("td", { ...m, children: /* @__PURE__ */ a("div", { className: "flex size-(--cell-size) items-center justify-center text-center", children: p }) }),
1275
- Dropdown: bi,
1276
+ Dropdown: xi,
1276
1277
  ...d
1277
1278
  },
1278
1279
  ...c
1279
1280
  }
1280
1281
  );
1281
1282
  }
1282
- function xi({
1283
+ function yi({
1283
1284
  className: e,
1284
1285
  day: t,
1285
1286
  modifiers: n,
@@ -1309,7 +1310,7 @@ function xi({
1309
1310
  }
1310
1311
  );
1311
1312
  }
1312
- function qd({
1313
+ function Kd({
1313
1314
  className: e,
1314
1315
  size: t = "default",
1315
1316
  ...n
@@ -1327,7 +1328,7 @@ function qd({
1327
1328
  }
1328
1329
  );
1329
1330
  }
1330
- function Gd({ className: e, ...t }) {
1331
+ function Ud({ className: e, ...t }) {
1331
1332
  return /* @__PURE__ */ a(
1332
1333
  "div",
1333
1334
  {
@@ -1340,7 +1341,7 @@ function Gd({ className: e, ...t }) {
1340
1341
  }
1341
1342
  );
1342
1343
  }
1343
- function Wd({ className: e, ...t }) {
1344
+ function Yd({ className: e, ...t }) {
1344
1345
  return /* @__PURE__ */ a(
1345
1346
  "div",
1346
1347
  {
@@ -1353,7 +1354,7 @@ function Wd({ className: e, ...t }) {
1353
1354
  }
1354
1355
  );
1355
1356
  }
1356
- function Kd({ className: e, ...t }) {
1357
+ function Xd({ className: e, ...t }) {
1357
1358
  return /* @__PURE__ */ a(
1358
1359
  "div",
1359
1360
  {
@@ -1363,7 +1364,7 @@ function Kd({ className: e, ...t }) {
1363
1364
  }
1364
1365
  );
1365
1366
  }
1366
- function Ud({ className: e, ...t }) {
1367
+ function Jd({ className: e, ...t }) {
1367
1368
  return /* @__PURE__ */ a(
1368
1369
  "div",
1369
1370
  {
@@ -1376,7 +1377,7 @@ function Ud({ className: e, ...t }) {
1376
1377
  }
1377
1378
  );
1378
1379
  }
1379
- function Yd({ className: e, ...t }) {
1380
+ function Qd({ className: e, ...t }) {
1380
1381
  return /* @__PURE__ */ a(
1381
1382
  "div",
1382
1383
  {
@@ -1386,7 +1387,7 @@ function Yd({ className: e, ...t }) {
1386
1387
  }
1387
1388
  );
1388
1389
  }
1389
- function Xd({ className: e, ...t }) {
1390
+ function Zd({ className: e, ...t }) {
1390
1391
  return /* @__PURE__ */ a(
1391
1392
  "div",
1392
1393
  {
@@ -1426,12 +1427,12 @@ function Lt({
1426
1427
  }
1427
1428
  );
1428
1429
  }
1429
- function wi({
1430
+ function Ni({
1430
1431
  ...e
1431
1432
  }) {
1432
1433
  return /* @__PURE__ */ a(Ua.Root, { "data-slot": "collapsible", ...e });
1433
1434
  }
1434
- function yi({
1435
+ function ki({
1435
1436
  ...e
1436
1437
  }) {
1437
1438
  return /* @__PURE__ */ a(
@@ -1442,7 +1443,7 @@ function yi({
1442
1443
  }
1443
1444
  );
1444
1445
  }
1445
- function Ni({
1446
+ function zi({
1446
1447
  ...e
1447
1448
  }) {
1448
1449
  return /* @__PURE__ */ a(
@@ -1453,27 +1454,27 @@ function Ni({
1453
1454
  }
1454
1455
  );
1455
1456
  }
1456
- function ki({
1457
+ function Ci({
1457
1458
  ...e
1458
1459
  }) {
1459
1460
  return /* @__PURE__ */ a(le.Root, { "data-slot": "dialog", ...e });
1460
1461
  }
1461
- function Jd({
1462
+ function ec({
1462
1463
  ...e
1463
1464
  }) {
1464
1465
  return /* @__PURE__ */ a(le.Trigger, { "data-slot": "dialog-trigger", ...e });
1465
1466
  }
1466
- function zi({
1467
+ function Si({
1467
1468
  ...e
1468
1469
  }) {
1469
1470
  return /* @__PURE__ */ a(le.Portal, { "data-slot": "dialog-portal", ...e });
1470
1471
  }
1471
- function Qd({
1472
+ function tc({
1472
1473
  ...e
1473
1474
  }) {
1474
1475
  return /* @__PURE__ */ a(le.Close, { "data-slot": "dialog-close", ...e });
1475
1476
  }
1476
- function Ci({
1477
+ function _i({
1477
1478
  className: e,
1478
1479
  ...t
1479
1480
  }) {
@@ -1489,7 +1490,7 @@ function Ci({
1489
1490
  }
1490
1491
  );
1491
1492
  }
1492
- function Si({
1493
+ function Ii({
1493
1494
  className: e,
1494
1495
  children: t,
1495
1496
  showCloseButton: n = !0,
@@ -1497,8 +1498,8 @@ function Si({
1497
1498
  container: o,
1498
1499
  ...s
1499
1500
  }) {
1500
- return /* @__PURE__ */ f(zi, { container: o, children: [
1501
- /* @__PURE__ */ a(Ci, {}),
1501
+ return /* @__PURE__ */ f(Si, { container: o, children: [
1502
+ /* @__PURE__ */ a(_i, {}),
1502
1503
  /* @__PURE__ */ f(
1503
1504
  le.Content,
1504
1505
  {
@@ -1530,7 +1531,7 @@ function Si({
1530
1531
  )
1531
1532
  ] });
1532
1533
  }
1533
- function _i({ className: e, ...t }) {
1534
+ function Mi({ className: e, ...t }) {
1534
1535
  return /* @__PURE__ */ a(
1535
1536
  "div",
1536
1537
  {
@@ -1540,7 +1541,7 @@ function _i({ className: e, ...t }) {
1540
1541
  }
1541
1542
  );
1542
1543
  }
1543
- function Zd({
1544
+ function ac({
1544
1545
  className: e,
1545
1546
  showCloseButton: t = !1,
1546
1547
  closeLabel: n = "关闭",
@@ -1563,7 +1564,7 @@ function Zd({
1563
1564
  }
1564
1565
  );
1565
1566
  }
1566
- function Ii({
1567
+ function Ti({
1567
1568
  className: e,
1568
1569
  ...t
1569
1570
  }) {
@@ -1579,7 +1580,7 @@ function Ii({
1579
1580
  }
1580
1581
  );
1581
1582
  }
1582
- function Mi({
1583
+ function Di({
1583
1584
  className: e,
1584
1585
  ...t
1585
1586
  }) {
@@ -1615,7 +1616,7 @@ function Nr({
1615
1616
  }
1616
1617
  );
1617
1618
  }
1618
- const Ti = /* @__PURE__ */ new Set(["text", "search", "email", "tel", "url", "password", "number"]);
1619
+ const Ei = /* @__PURE__ */ new Set(["text", "search", "email", "tel", "url", "password", "number"]);
1619
1620
  function Ae({ className: e, type: t, clearable: n = !1, wrapperClassName: r, ...o }) {
1620
1621
  const s = i(
1621
1622
  "h-8 w-full min-w-0 rounded-lg border border-input bg-transparent px-2.5 py-1 text-base transition-colors outline-none file:inline-flex file:h-6 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-placeholder focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:pointer-events-none disabled:cursor-not-allowed disabled:bg-input/50 disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:disabled:bg-input/80 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40",
@@ -1623,9 +1624,9 @@ function Ae({ className: e, type: t, clearable: n = !1, wrapperClassName: r, ...
1623
1624
  "placeholder-shown:text-[12px] placeholder-shown:leading-5 placeholder:text-[12px]",
1624
1625
  e
1625
1626
  );
1626
- return n && Ti.has(t ?? "text") ? /* @__PURE__ */ a(Di, { ...o, type: t, className: s, wrapperClassName: r }) : /* @__PURE__ */ a("input", { type: t, "data-slot": "input", className: s, ...o });
1627
+ return n && Ei.has(t ?? "text") ? /* @__PURE__ */ a(Pi, { ...o, type: t, className: s, wrapperClassName: r }) : /* @__PURE__ */ a("input", { type: t, "data-slot": "input", className: s, ...o });
1627
1628
  }
1628
- function Di({
1629
+ function Pi({
1629
1630
  ref: e,
1630
1631
  value: t,
1631
1632
  defaultValue: n,
@@ -1699,7 +1700,7 @@ function zr({ className: e, ...t }) {
1699
1700
  }
1700
1701
  );
1701
1702
  }
1702
- const Ei = se(
1703
+ const Ri = se(
1703
1704
  "flex h-auto cursor-text items-center justify-center gap-2 py-1.5 text-sm font-medium text-muted-foreground select-none group-data-[disabled=true]/input-group:opacity-50 [&>kbd]:rounded-[calc(var(--emoo-radius-base)-5px)] [&>svg:not([class*='size-'])]:size-4",
1704
1705
  {
1705
1706
  variants: {
@@ -1726,7 +1727,7 @@ function $a({
1726
1727
  role: "group",
1727
1728
  "data-slot": "input-group-addon",
1728
1729
  "data-align": t,
1729
- className: i(Ei({ align: t }), e),
1730
+ className: i(Ri({ align: t }), e),
1730
1731
  onClick: (r) => {
1731
1732
  r.target.closest("button") || r.currentTarget.parentElement?.querySelector("input")?.focus();
1732
1733
  },
@@ -1734,7 +1735,7 @@ function $a({
1734
1735
  }
1735
1736
  );
1736
1737
  }
1737
- const Pi = se(
1738
+ const Li = se(
1738
1739
  "flex items-center gap-2 text-sm shadow-none",
1739
1740
  {
1740
1741
  variants: {
@@ -1750,7 +1751,7 @@ const Pi = se(
1750
1751
  }
1751
1752
  }
1752
1753
  );
1753
- function ec({
1754
+ function nc({
1754
1755
  className: e,
1755
1756
  type: t = "button",
1756
1757
  variant: n = "ghost",
@@ -1763,12 +1764,12 @@ function ec({
1763
1764
  type: t,
1764
1765
  "data-size": r,
1765
1766
  variant: n,
1766
- className: i(Pi({ size: r }), e),
1767
+ className: i(Li({ size: r }), e),
1767
1768
  ...o
1768
1769
  }
1769
1770
  );
1770
1771
  }
1771
- function Ri({ className: e, ...t }) {
1772
+ function Ai({ className: e, ...t }) {
1772
1773
  return /* @__PURE__ */ a(
1773
1774
  "span",
1774
1775
  {
@@ -1780,7 +1781,7 @@ function Ri({ className: e, ...t }) {
1780
1781
  }
1781
1782
  );
1782
1783
  }
1783
- function Li({
1784
+ function Oi({
1784
1785
  className: e,
1785
1786
  ...t
1786
1787
  }) {
@@ -1796,7 +1797,7 @@ function Li({
1796
1797
  }
1797
1798
  );
1798
1799
  }
1799
- function tc({
1800
+ function rc({
1800
1801
  className: e,
1801
1802
  ...t
1802
1803
  }) {
@@ -1812,7 +1813,7 @@ function tc({
1812
1813
  }
1813
1814
  );
1814
1815
  }
1815
- function Ai({
1816
+ function ji({
1816
1817
  className: e,
1817
1818
  ...t
1818
1819
  }) {
@@ -1828,7 +1829,7 @@ function Ai({
1828
1829
  }
1829
1830
  );
1830
1831
  }
1831
- function ac({
1832
+ function oc({
1832
1833
  title: e = "Command Palette",
1833
1834
  description: t = "Search for a command to run...",
1834
1835
  children: n,
@@ -1836,8 +1837,8 @@ function ac({
1836
1837
  showCloseButton: o = !1,
1837
1838
  ...s
1838
1839
  }) {
1839
- return /* @__PURE__ */ a(ki, { ...s, children: /* @__PURE__ */ f(
1840
- Si,
1840
+ return /* @__PURE__ */ a(Ci, { ...s, children: /* @__PURE__ */ f(
1841
+ Ii,
1841
1842
  {
1842
1843
  className: i(
1843
1844
  "top-1/3 translate-y-0 overflow-hidden rounded-xl! p-0",
@@ -1845,16 +1846,16 @@ function ac({
1845
1846
  ),
1846
1847
  showCloseButton: o,
1847
1848
  children: [
1848
- /* @__PURE__ */ f(_i, { className: "sr-only", children: [
1849
- /* @__PURE__ */ a(Ii, { children: e }),
1850
- /* @__PURE__ */ a(Mi, { children: t })
1849
+ /* @__PURE__ */ f(Mi, { className: "sr-only", children: [
1850
+ /* @__PURE__ */ a(Ti, { children: e }),
1851
+ /* @__PURE__ */ a(Di, { children: t })
1851
1852
  ] }),
1852
- /* @__PURE__ */ a(Ai, { children: n })
1853
+ /* @__PURE__ */ a(ji, { children: n })
1853
1854
  ]
1854
1855
  }
1855
1856
  ) });
1856
1857
  }
1857
- function nc({
1858
+ function ic({
1858
1859
  className: e,
1859
1860
  ...t
1860
1861
  }) {
@@ -1873,7 +1874,7 @@ function nc({
1873
1874
  /* @__PURE__ */ a($a, { children: /* @__PURE__ */ a(Xa, { className: "size-4 shrink-0 opacity-50" }) })
1874
1875
  ] }) });
1875
1876
  }
1876
- function rc({
1877
+ function sc({
1877
1878
  className: e,
1878
1879
  ...t
1879
1880
  }) {
@@ -1889,7 +1890,7 @@ function rc({
1889
1890
  }
1890
1891
  );
1891
1892
  }
1892
- function oc({
1893
+ function lc({
1893
1894
  className: e,
1894
1895
  ...t
1895
1896
  }) {
@@ -1902,7 +1903,7 @@ function oc({
1902
1903
  }
1903
1904
  );
1904
1905
  }
1905
- function ic({
1906
+ function dc({
1906
1907
  className: e,
1907
1908
  ...t
1908
1909
  }) {
@@ -1918,7 +1919,7 @@ function ic({
1918
1919
  }
1919
1920
  );
1920
1921
  }
1921
- function sc({
1922
+ function cc({
1922
1923
  className: e,
1923
1924
  ...t
1924
1925
  }) {
@@ -1931,7 +1932,7 @@ function sc({
1931
1932
  }
1932
1933
  );
1933
1934
  }
1934
- function lc({
1935
+ function uc({
1935
1936
  className: e,
1936
1937
  children: t,
1937
1938
  ...n
@@ -1952,7 +1953,7 @@ function lc({
1952
1953
  }
1953
1954
  );
1954
1955
  }
1955
- function dc({
1956
+ function fc({
1956
1957
  className: e,
1957
1958
  ...t
1958
1959
  }) {
@@ -1968,12 +1969,12 @@ function dc({
1968
1969
  }
1969
1970
  );
1970
1971
  }
1971
- function cc({
1972
+ function mc({
1972
1973
  ...e
1973
1974
  }) {
1974
1975
  return /* @__PURE__ */ a(me.Root, { "data-slot": "context-menu", ...e });
1975
1976
  }
1976
- function uc({
1977
+ function gc({
1977
1978
  className: e,
1978
1979
  ...t
1979
1980
  }) {
@@ -1986,22 +1987,22 @@ function uc({
1986
1987
  }
1987
1988
  );
1988
1989
  }
1989
- function fc({
1990
+ function pc({
1990
1991
  ...e
1991
1992
  }) {
1992
1993
  return /* @__PURE__ */ a(me.Group, { "data-slot": "context-menu-group", ...e });
1993
1994
  }
1994
- function mc({
1995
+ function hc({
1995
1996
  ...e
1996
1997
  }) {
1997
1998
  return /* @__PURE__ */ a(me.Portal, { "data-slot": "context-menu-portal", ...e });
1998
1999
  }
1999
- function gc({
2000
+ function bc({
2000
2001
  ...e
2001
2002
  }) {
2002
2003
  return /* @__PURE__ */ a(me.Sub, { "data-slot": "context-menu-sub", ...e });
2003
2004
  }
2004
- function pc({
2005
+ function vc({
2005
2006
  ...e
2006
2007
  }) {
2007
2008
  return /* @__PURE__ */ a(
@@ -2012,7 +2013,7 @@ function pc({
2012
2013
  }
2013
2014
  );
2014
2015
  }
2015
- function hc({
2016
+ function xc({
2016
2017
  style: e,
2017
2018
  className: t,
2018
2019
  container: n,
@@ -2028,7 +2029,7 @@ function hc({
2028
2029
  }
2029
2030
  ) });
2030
2031
  }
2031
- function bc({
2032
+ function wc({
2032
2033
  className: e,
2033
2034
  inset: t,
2034
2035
  variant: n = "default",
@@ -2048,7 +2049,7 @@ function bc({
2048
2049
  }
2049
2050
  );
2050
2051
  }
2051
- function vc({
2052
+ function yc({
2052
2053
  className: e,
2053
2054
  inset: t,
2054
2055
  children: n,
@@ -2071,7 +2072,7 @@ function vc({
2071
2072
  }
2072
2073
  );
2073
2074
  }
2074
- function xc({
2075
+ function Nc({
2075
2076
  className: e,
2076
2077
  ...t
2077
2078
  }) {
@@ -2084,7 +2085,7 @@ function xc({
2084
2085
  }
2085
2086
  );
2086
2087
  }
2087
- function wc({
2088
+ function kc({
2088
2089
  className: e,
2089
2090
  children: t,
2090
2091
  checked: n,
@@ -2112,7 +2113,7 @@ function wc({
2112
2113
  }
2113
2114
  );
2114
2115
  }
2115
- function yc({
2116
+ function zc({
2116
2117
  className: e,
2117
2118
  children: t,
2118
2119
  inset: n,
@@ -2138,7 +2139,7 @@ function yc({
2138
2139
  }
2139
2140
  );
2140
2141
  }
2141
- function Nc({
2142
+ function Cc({
2142
2143
  className: e,
2143
2144
  inset: t,
2144
2145
  ...n
@@ -2156,7 +2157,7 @@ function Nc({
2156
2157
  }
2157
2158
  );
2158
2159
  }
2159
- function kc({
2160
+ function Sc({
2160
2161
  className: e,
2161
2162
  ...t
2162
2163
  }) {
@@ -2169,7 +2170,7 @@ function kc({
2169
2170
  }
2170
2171
  );
2171
2172
  }
2172
- function zc({
2173
+ function _c({
2173
2174
  className: e,
2174
2175
  ...t
2175
2176
  }) {
@@ -2185,35 +2186,35 @@ function zc({
2185
2186
  }
2186
2187
  );
2187
2188
  }
2188
- function Cc({
2189
+ function Ic({
2189
2190
  dir: e,
2190
2191
  direction: t,
2191
2192
  children: n
2192
2193
  }) {
2193
2194
  return /* @__PURE__ */ a(er.DirectionProvider, { dir: t ?? e, children: n });
2194
2195
  }
2195
- const Sc = er.useDirection;
2196
- function _c({
2196
+ const Mc = er.useDirection;
2197
+ function Tc({
2197
2198
  ...e
2198
2199
  }) {
2199
2200
  return /* @__PURE__ */ a(et.Root, { "data-slot": "drawer", ...e });
2200
2201
  }
2201
- function Ic({
2202
+ function Dc({
2202
2203
  ...e
2203
2204
  }) {
2204
2205
  return /* @__PURE__ */ a(et.Trigger, { "data-slot": "drawer-trigger", ...e });
2205
2206
  }
2206
- function Oi({
2207
+ function Bi({
2207
2208
  ...e
2208
2209
  }) {
2209
2210
  return /* @__PURE__ */ a(et.Portal, { "data-slot": "drawer-portal", ...e });
2210
2211
  }
2211
- function Mc({
2212
+ function Ec({
2212
2213
  ...e
2213
2214
  }) {
2214
2215
  return /* @__PURE__ */ a(et.Close, { "data-slot": "drawer-close", ...e });
2215
2216
  }
2216
- function ji({
2217
+ function $i({
2217
2218
  className: e,
2218
2219
  ...t
2219
2220
  }) {
@@ -2229,14 +2230,14 @@ function ji({
2229
2230
  }
2230
2231
  );
2231
2232
  }
2232
- function Tc({
2233
+ function Pc({
2233
2234
  className: e,
2234
2235
  children: t,
2235
2236
  container: n,
2236
2237
  ...r
2237
2238
  }) {
2238
- return /* @__PURE__ */ f(Oi, { "data-slot": "drawer-portal", container: n, children: [
2239
- /* @__PURE__ */ a(ji, {}),
2239
+ return /* @__PURE__ */ f(Bi, { "data-slot": "drawer-portal", container: n, children: [
2240
+ /* @__PURE__ */ a($i, {}),
2240
2241
  /* @__PURE__ */ f(
2241
2242
  et.Content,
2242
2243
  {
@@ -2254,7 +2255,7 @@ function Tc({
2254
2255
  )
2255
2256
  ] });
2256
2257
  }
2257
- function Dc({ className: e, ...t }) {
2258
+ function Rc({ className: e, ...t }) {
2258
2259
  return /* @__PURE__ */ a(
2259
2260
  "div",
2260
2261
  {
@@ -2267,7 +2268,7 @@ function Dc({ className: e, ...t }) {
2267
2268
  }
2268
2269
  );
2269
2270
  }
2270
- function Ec({ className: e, ...t }) {
2271
+ function Lc({ className: e, ...t }) {
2271
2272
  return /* @__PURE__ */ a(
2272
2273
  "div",
2273
2274
  {
@@ -2277,7 +2278,7 @@ function Ec({ className: e, ...t }) {
2277
2278
  }
2278
2279
  );
2279
2280
  }
2280
- function Pc({
2281
+ function Ac({
2281
2282
  className: e,
2282
2283
  ...t
2283
2284
  }) {
@@ -2293,7 +2294,7 @@ function Pc({
2293
2294
  }
2294
2295
  );
2295
2296
  }
2296
- function Rc({
2297
+ function Oc({
2297
2298
  className: e,
2298
2299
  ...t
2299
2300
  }) {
@@ -2311,7 +2312,7 @@ function Cr({
2311
2312
  }) {
2312
2313
  return /* @__PURE__ */ a(ge.Root, { "data-slot": "dropdown-menu", ...e });
2313
2314
  }
2314
- function Lc({
2315
+ function jc({
2315
2316
  ...e
2316
2317
  }) {
2317
2318
  return /* @__PURE__ */ a(ge.Portal, { "data-slot": "dropdown-menu-portal", ...e });
@@ -2347,7 +2348,7 @@ function _r({
2347
2348
  }
2348
2349
  ) });
2349
2350
  }
2350
- function Ac({
2351
+ function Bc({
2351
2352
  ...e
2352
2353
  }) {
2353
2354
  return /* @__PURE__ */ a(ge.Group, { "data-slot": "dropdown-menu-group", ...e });
@@ -2372,7 +2373,7 @@ function $e({
2372
2373
  }
2373
2374
  );
2374
2375
  }
2375
- function Oc({
2376
+ function $c({
2376
2377
  className: e,
2377
2378
  children: t,
2378
2379
  checked: n,
@@ -2407,7 +2408,7 @@ function Oc({
2407
2408
  }
2408
2409
  );
2409
2410
  }
2410
- function jc({
2411
+ function Fc({
2411
2412
  ...e
2412
2413
  }) {
2413
2414
  return /* @__PURE__ */ a(
@@ -2418,7 +2419,7 @@ function jc({
2418
2419
  }
2419
2420
  );
2420
2421
  }
2421
- function Bc({
2422
+ function Vc({
2422
2423
  className: e,
2423
2424
  children: t,
2424
2425
  inset: n,
@@ -2451,7 +2452,7 @@ function Bc({
2451
2452
  }
2452
2453
  );
2453
2454
  }
2454
- function Bi({
2455
+ function Fi({
2455
2456
  className: e,
2456
2457
  inset: t,
2457
2458
  ...n
@@ -2482,7 +2483,7 @@ function Kt({
2482
2483
  }
2483
2484
  );
2484
2485
  }
2485
- function $c({
2486
+ function Hc({
2486
2487
  className: e,
2487
2488
  ...t
2488
2489
  }) {
@@ -2498,12 +2499,12 @@ function $c({
2498
2499
  }
2499
2500
  );
2500
2501
  }
2501
- function Fc({
2502
+ function qc({
2502
2503
  ...e
2503
2504
  }) {
2504
2505
  return /* @__PURE__ */ a(ge.Sub, { "data-slot": "dropdown-menu-sub", ...e });
2505
2506
  }
2506
- function Vc({
2507
+ function Gc({
2507
2508
  className: e,
2508
2509
  inset: t,
2509
2510
  children: n,
@@ -2526,7 +2527,7 @@ function Vc({
2526
2527
  }
2527
2528
  );
2528
2529
  }
2529
- function Hc({
2530
+ function Wc({
2530
2531
  className: e,
2531
2532
  ...t
2532
2533
  }) {
@@ -2539,7 +2540,7 @@ function Hc({
2539
2540
  }
2540
2541
  );
2541
2542
  }
2542
- function $i({ className: e, ...t }) {
2543
+ function Vi({ className: e, ...t }) {
2543
2544
  return /* @__PURE__ */ a(
2544
2545
  "div",
2545
2546
  {
@@ -2552,7 +2553,7 @@ function $i({ className: e, ...t }) {
2552
2553
  }
2553
2554
  );
2554
2555
  }
2555
- function Fi({ className: e, ...t }) {
2556
+ function Hi({ className: e, ...t }) {
2556
2557
  return /* @__PURE__ */ a(
2557
2558
  "div",
2558
2559
  {
@@ -2562,7 +2563,7 @@ function Fi({ className: e, ...t }) {
2562
2563
  }
2563
2564
  );
2564
2565
  }
2565
- const Vi = se(
2566
+ const qi = se(
2566
2567
  "mb-2 flex shrink-0 items-center justify-center [&_svg]:pointer-events-none [&_svg]:shrink-0",
2567
2568
  {
2568
2569
  variants: {
@@ -2576,7 +2577,7 @@ const Vi = se(
2576
2577
  }
2577
2578
  }
2578
2579
  );
2579
- function qc({
2580
+ function Kc({
2580
2581
  className: e,
2581
2582
  variant: t = "default",
2582
2583
  ...n
@@ -2586,12 +2587,12 @@ function qc({
2586
2587
  {
2587
2588
  "data-slot": "empty-icon",
2588
2589
  "data-variant": t,
2589
- className: i(Vi({ variant: t, className: e })),
2590
+ className: i(qi({ variant: t, className: e })),
2590
2591
  ...n
2591
2592
  }
2592
2593
  );
2593
2594
  }
2594
- function Hi({ className: e, ...t }) {
2595
+ function Gi({ className: e, ...t }) {
2595
2596
  return /* @__PURE__ */ a(
2596
2597
  "div",
2597
2598
  {
@@ -2604,7 +2605,7 @@ function Hi({ className: e, ...t }) {
2604
2605
  }
2605
2606
  );
2606
2607
  }
2607
- function Gc({ className: e, ...t }) {
2608
+ function Uc({ className: e, ...t }) {
2608
2609
  return /* @__PURE__ */ a(
2609
2610
  "div",
2610
2611
  {
@@ -2617,7 +2618,7 @@ function Gc({ className: e, ...t }) {
2617
2618
  }
2618
2619
  );
2619
2620
  }
2620
- function Wc({ className: e, ...t }) {
2621
+ function Yc({ className: e, ...t }) {
2621
2622
  return /* @__PURE__ */ a(
2622
2623
  "div",
2623
2624
  {
@@ -2646,7 +2647,7 @@ function la({
2646
2647
  }
2647
2648
  );
2648
2649
  }
2649
- function Kc({ className: e, ...t }) {
2650
+ function Xc({ className: e, ...t }) {
2650
2651
  return /* @__PURE__ */ a(
2651
2652
  "fieldset",
2652
2653
  {
@@ -2659,7 +2660,7 @@ function Kc({ className: e, ...t }) {
2659
2660
  }
2660
2661
  );
2661
2662
  }
2662
- function Uc({
2663
+ function Jc({
2663
2664
  className: e,
2664
2665
  variant: t = "legend",
2665
2666
  ...n
@@ -2677,7 +2678,7 @@ function Uc({
2677
2678
  }
2678
2679
  );
2679
2680
  }
2680
- function Yc({ className: e, ...t }) {
2681
+ function Qc({ className: e, ...t }) {
2681
2682
  return /* @__PURE__ */ a(
2682
2683
  "div",
2683
2684
  {
@@ -2690,7 +2691,7 @@ function Yc({ className: e, ...t }) {
2690
2691
  }
2691
2692
  );
2692
2693
  }
2693
- const qi = se(
2694
+ const Wi = se(
2694
2695
  "group/field flex w-full gap-2 data-[invalid=true]:text-destructive",
2695
2696
  {
2696
2697
  variants: {
@@ -2705,7 +2706,7 @@ const qi = se(
2705
2706
  }
2706
2707
  }
2707
2708
  );
2708
- function Xc({
2709
+ function Zc({
2709
2710
  className: e,
2710
2711
  orientation: t = "vertical",
2711
2712
  ...n
@@ -2716,12 +2717,12 @@ function Xc({
2716
2717
  role: "group",
2717
2718
  "data-slot": "field",
2718
2719
  "data-orientation": t,
2719
- className: i(qi({ orientation: t }), e),
2720
+ className: i(Wi({ orientation: t }), e),
2720
2721
  ...n
2721
2722
  }
2722
2723
  );
2723
2724
  }
2724
- function Jc({ className: e, ...t }) {
2725
+ function eu({ className: e, ...t }) {
2725
2726
  return /* @__PURE__ */ a(
2726
2727
  "div",
2727
2728
  {
@@ -2734,7 +2735,7 @@ function Jc({ className: e, ...t }) {
2734
2735
  }
2735
2736
  );
2736
2737
  }
2737
- function Qc({
2738
+ function tu({
2738
2739
  className: e,
2739
2740
  ...t
2740
2741
  }) {
@@ -2751,7 +2752,7 @@ function Qc({
2751
2752
  }
2752
2753
  );
2753
2754
  }
2754
- function Zc({ className: e, ...t }) {
2755
+ function au({ className: e, ...t }) {
2755
2756
  return /* @__PURE__ */ a(
2756
2757
  "div",
2757
2758
  {
@@ -2764,7 +2765,7 @@ function Zc({ className: e, ...t }) {
2764
2765
  }
2765
2766
  );
2766
2767
  }
2767
- function eu({ className: e, ...t }) {
2768
+ function nu({ className: e, ...t }) {
2768
2769
  return /* @__PURE__ */ a(
2769
2770
  "p",
2770
2771
  {
@@ -2779,7 +2780,7 @@ function eu({ className: e, ...t }) {
2779
2780
  }
2780
2781
  );
2781
2782
  }
2782
- function tu({
2783
+ function ru({
2783
2784
  children: e,
2784
2785
  className: t,
2785
2786
  ...n
@@ -2808,7 +2809,7 @@ function tu({
2808
2809
  }
2809
2810
  );
2810
2811
  }
2811
- function au({
2812
+ function ou({
2812
2813
  className: e,
2813
2814
  children: t,
2814
2815
  errors: n,
@@ -2837,17 +2838,17 @@ function au({
2837
2838
  }
2838
2839
  ) : null;
2839
2840
  }
2840
- function nu({
2841
+ function iu({
2841
2842
  ...e
2842
2843
  }) {
2843
2844
  return /* @__PURE__ */ a(ta.Root, { "data-slot": "hover-card", ...e });
2844
2845
  }
2845
- function ru({
2846
+ function su({
2846
2847
  ...e
2847
2848
  }) {
2848
2849
  return /* @__PURE__ */ a(ta.Trigger, { "data-slot": "hover-card-trigger", ...e });
2849
2850
  }
2850
- function ou({
2851
+ function lu({
2851
2852
  className: e,
2852
2853
  align: t = "center",
2853
2854
  sideOffset: n = 4,
@@ -2868,13 +2869,13 @@ function ou({
2868
2869
  }
2869
2870
  ) });
2870
2871
  }
2871
- function iu({
2872
+ function du({
2872
2873
  className: e,
2873
2874
  containerClassName: t,
2874
2875
  ...n
2875
2876
  }) {
2876
2877
  return /* @__PURE__ */ a(
2877
- ri,
2878
+ ii,
2878
2879
  {
2879
2880
  "data-slot": "input-otp",
2880
2881
  containerClassName: i(
@@ -2887,7 +2888,7 @@ function iu({
2887
2888
  }
2888
2889
  );
2889
2890
  }
2890
- function su({ className: e, ...t }) {
2891
+ function cu({ className: e, ...t }) {
2891
2892
  return /* @__PURE__ */ a(
2892
2893
  "div",
2893
2894
  {
@@ -2900,12 +2901,12 @@ function su({ className: e, ...t }) {
2900
2901
  }
2901
2902
  );
2902
2903
  }
2903
- function lu({
2904
+ function uu({
2904
2905
  index: e,
2905
2906
  className: t,
2906
2907
  ...n
2907
2908
  }) {
2908
- const r = O.useContext(oi), { char: o, hasFakeCaret: s, isActive: l } = r?.slots[e] ?? {};
2909
+ const r = O.useContext(si), { char: o, hasFakeCaret: s, isActive: l } = r?.slots[e] ?? {};
2909
2910
  return /* @__PURE__ */ f(
2910
2911
  "div",
2911
2912
  {
@@ -2923,7 +2924,7 @@ function lu({
2923
2924
  }
2924
2925
  );
2925
2926
  }
2926
- function du({ ...e }) {
2927
+ function fu({ ...e }) {
2927
2928
  return /* @__PURE__ */ a(
2928
2929
  "div",
2929
2930
  {
@@ -2938,7 +2939,7 @@ function du({ ...e }) {
2938
2939
  }
2939
2940
  );
2940
2941
  }
2941
- function cu({ className: e, ...t }) {
2942
+ function mu({ className: e, ...t }) {
2942
2943
  return /* @__PURE__ */ a(
2943
2944
  "div",
2944
2945
  {
@@ -2952,7 +2953,7 @@ function cu({ className: e, ...t }) {
2952
2953
  }
2953
2954
  );
2954
2955
  }
2955
- function uu({
2956
+ function gu({
2956
2957
  className: e,
2957
2958
  ...t
2958
2959
  }) {
@@ -2966,7 +2967,7 @@ function uu({
2966
2967
  }
2967
2968
  );
2968
2969
  }
2969
- const Gi = se(
2970
+ const Ki = se(
2970
2971
  "group/item flex w-full flex-wrap items-center rounded-lg border text-sm transition-colors duration-100 outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 [a]:transition-colors [a]:hover:bg-muted",
2971
2972
  {
2972
2973
  variants: {
@@ -2987,7 +2988,7 @@ const Gi = se(
2987
2988
  }
2988
2989
  }
2989
2990
  );
2990
- function fu({
2991
+ function pu({
2991
2992
  className: e,
2992
2993
  variant: t = "default",
2993
2994
  size: n = "default",
@@ -3001,12 +3002,12 @@ function fu({
3001
3002
  "data-slot": "item",
3002
3003
  "data-variant": t,
3003
3004
  "data-size": n,
3004
- className: i(Gi({ variant: t, size: n, className: e })),
3005
+ className: i(Ki({ variant: t, size: n, className: e })),
3005
3006
  ...o
3006
3007
  }
3007
3008
  );
3008
3009
  }
3009
- const Wi = se(
3010
+ const Ui = se(
3010
3011
  "flex shrink-0 items-center justify-center gap-2 group-has-data-[slot=item-description]/item:translate-y-0.5 group-has-data-[slot=item-description]/item:self-start [&_svg]:pointer-events-none",
3011
3012
  {
3012
3013
  variants: {
@@ -3021,7 +3022,7 @@ const Wi = se(
3021
3022
  }
3022
3023
  }
3023
3024
  );
3024
- function mu({
3025
+ function hu({
3025
3026
  className: e,
3026
3027
  variant: t = "default",
3027
3028
  ...n
@@ -3031,12 +3032,12 @@ function mu({
3031
3032
  {
3032
3033
  "data-slot": "item-media",
3033
3034
  "data-variant": t,
3034
- className: i(Wi({ variant: t, className: e })),
3035
+ className: i(Ui({ variant: t, className: e })),
3035
3036
  ...n
3036
3037
  }
3037
3038
  );
3038
3039
  }
3039
- function gu({ className: e, ...t }) {
3040
+ function bu({ className: e, ...t }) {
3040
3041
  return /* @__PURE__ */ a(
3041
3042
  "div",
3042
3043
  {
@@ -3049,7 +3050,7 @@ function gu({ className: e, ...t }) {
3049
3050
  }
3050
3051
  );
3051
3052
  }
3052
- function pu({ className: e, ...t }) {
3053
+ function vu({ className: e, ...t }) {
3053
3054
  return /* @__PURE__ */ a(
3054
3055
  "div",
3055
3056
  {
@@ -3062,7 +3063,7 @@ function pu({ className: e, ...t }) {
3062
3063
  }
3063
3064
  );
3064
3065
  }
3065
- function hu({ className: e, ...t }) {
3066
+ function xu({ className: e, ...t }) {
3066
3067
  return /* @__PURE__ */ a(
3067
3068
  "p",
3068
3069
  {
@@ -3075,7 +3076,7 @@ function hu({ className: e, ...t }) {
3075
3076
  }
3076
3077
  );
3077
3078
  }
3078
- function bu({ className: e, ...t }) {
3079
+ function wu({ className: e, ...t }) {
3079
3080
  return /* @__PURE__ */ a(
3080
3081
  "div",
3081
3082
  {
@@ -3085,7 +3086,7 @@ function bu({ className: e, ...t }) {
3085
3086
  }
3086
3087
  );
3087
3088
  }
3088
- function vu({ className: e, ...t }) {
3089
+ function yu({ className: e, ...t }) {
3089
3090
  return /* @__PURE__ */ a(
3090
3091
  "div",
3091
3092
  {
@@ -3098,7 +3099,7 @@ function vu({ className: e, ...t }) {
3098
3099
  }
3099
3100
  );
3100
3101
  }
3101
- function xu({ className: e, ...t }) {
3102
+ function Nu({ className: e, ...t }) {
3102
3103
  return /* @__PURE__ */ a(
3103
3104
  "div",
3104
3105
  {
@@ -3111,7 +3112,7 @@ function xu({ className: e, ...t }) {
3111
3112
  }
3112
3113
  );
3113
3114
  }
3114
- function wu({ className: e, ...t }) {
3115
+ function ku({ className: e, ...t }) {
3115
3116
  return /* @__PURE__ */ a(
3116
3117
  "kbd",
3117
3118
  {
@@ -3124,7 +3125,7 @@ function wu({ className: e, ...t }) {
3124
3125
  }
3125
3126
  );
3126
3127
  }
3127
- function yu({ className: e, ...t }) {
3128
+ function zu({ className: e, ...t }) {
3128
3129
  return /* @__PURE__ */ a(
3129
3130
  "kbd",
3130
3131
  {
@@ -3134,7 +3135,7 @@ function yu({ className: e, ...t }) {
3134
3135
  }
3135
3136
  );
3136
3137
  }
3137
- function Nu({
3138
+ function Cu({
3138
3139
  className: e,
3139
3140
  size: t = "default",
3140
3141
  ...n
@@ -3163,7 +3164,7 @@ function Nu({
3163
3164
  }
3164
3165
  );
3165
3166
  }
3166
- function ku({
3167
+ function Su({
3167
3168
  className: e,
3168
3169
  ...t
3169
3170
  }) {
@@ -3176,7 +3177,7 @@ function ku({
3176
3177
  }
3177
3178
  );
3178
3179
  }
3179
- function zu({
3180
+ function _u({
3180
3181
  className: e,
3181
3182
  ...t
3182
3183
  }) {
@@ -3189,7 +3190,7 @@ function zu({
3189
3190
  }
3190
3191
  );
3191
3192
  }
3192
- function Cu({ className: e, ...t }) {
3193
+ function Iu({ className: e, ...t }) {
3193
3194
  return /* @__PURE__ */ a(
3194
3195
  "nav",
3195
3196
  {
@@ -3201,7 +3202,7 @@ function Cu({ className: e, ...t }) {
3201
3202
  }
3202
3203
  );
3203
3204
  }
3204
- function Su({
3205
+ function Mu({
3205
3206
  className: e,
3206
3207
  ...t
3207
3208
  }) {
@@ -3214,7 +3215,7 @@ function Su({
3214
3215
  }
3215
3216
  );
3216
3217
  }
3217
- function _u({ ...e }) {
3218
+ function Tu({ ...e }) {
3218
3219
  return /* @__PURE__ */ a("li", { "data-slot": "pagination-item", ...e });
3219
3220
  }
3220
3221
  function Ir({
@@ -3242,7 +3243,7 @@ function Ir({
3242
3243
  }
3243
3244
  );
3244
3245
  }
3245
- function Iu({
3246
+ function Du({
3246
3247
  className: e,
3247
3248
  text: t = "Previous",
3248
3249
  ...n
@@ -3261,7 +3262,7 @@ function Iu({
3261
3262
  }
3262
3263
  );
3263
3264
  }
3264
- function Mu({
3265
+ function Eu({
3265
3266
  className: e,
3266
3267
  text: t = "Next",
3267
3268
  ...n
@@ -3280,7 +3281,7 @@ function Mu({
3280
3281
  }
3281
3282
  );
3282
3283
  }
3283
- function Tu({
3284
+ function Pu({
3284
3285
  className: e,
3285
3286
  ...t
3286
3287
  }) {
@@ -3334,12 +3335,12 @@ function nn({
3334
3335
  }
3335
3336
  ) });
3336
3337
  }
3337
- function Du({
3338
+ function Ru({
3338
3339
  ...e
3339
3340
  }) {
3340
3341
  return /* @__PURE__ */ a(Ve.Anchor, { "data-slot": "popover-anchor", ...e });
3341
3342
  }
3342
- function Eu({ className: e, ...t }) {
3343
+ function Lu({ className: e, ...t }) {
3343
3344
  return /* @__PURE__ */ a(
3344
3345
  "div",
3345
3346
  {
@@ -3349,7 +3350,7 @@ function Eu({ className: e, ...t }) {
3349
3350
  }
3350
3351
  );
3351
3352
  }
3352
- function Pu({ className: e, ...t }) {
3353
+ function Au({ className: e, ...t }) {
3353
3354
  return /* @__PURE__ */ a(
3354
3355
  "div",
3355
3356
  {
@@ -3359,7 +3360,7 @@ function Pu({ className: e, ...t }) {
3359
3360
  }
3360
3361
  );
3361
3362
  }
3362
- function Ru({
3363
+ function Ou({
3363
3364
  className: e,
3364
3365
  ...t
3365
3366
  }) {
@@ -3372,7 +3373,7 @@ function Ru({
3372
3373
  }
3373
3374
  );
3374
3375
  }
3375
- function Lu({
3376
+ function ju({
3376
3377
  className: e,
3377
3378
  value: t,
3378
3379
  max: n = 100,
@@ -3402,7 +3403,7 @@ function Lu({
3402
3403
  );
3403
3404
  }
3404
3405
  const Mr = O.createContext(null);
3405
- function Ki({
3406
+ function Yi({
3406
3407
  className: e,
3407
3408
  allowDeselect: t = !1,
3408
3409
  value: n,
@@ -3430,7 +3431,7 @@ function Ki({
3430
3431
  }
3431
3432
  );
3432
3433
  }
3433
- function Ui({
3434
+ function Xi({
3434
3435
  className: e,
3435
3436
  onClick: t,
3436
3437
  ...n
@@ -3459,7 +3460,7 @@ function Ui({
3459
3460
  }
3460
3461
  );
3461
3462
  }
3462
- function Au({
3463
+ function Bu({
3463
3464
  className: e,
3464
3465
  ...t
3465
3466
  }) {
@@ -3475,10 +3476,10 @@ function Au({
3475
3476
  }
3476
3477
  );
3477
3478
  }
3478
- function Ou({ ...e }) {
3479
+ function $u({ ...e }) {
3479
3480
  return /* @__PURE__ */ a(en.Panel, { "data-slot": "resizable-panel", ...e });
3480
3481
  }
3481
- function ju({
3482
+ function Fu({
3482
3483
  withHandle: e,
3483
3484
  className: t,
3484
3485
  ...n
@@ -3496,7 +3497,7 @@ function ju({
3496
3497
  }
3497
3498
  );
3498
3499
  }
3499
- function Bu({
3500
+ function Vu({
3500
3501
  className: e,
3501
3502
  children: t,
3502
3503
  ...n
@@ -3516,13 +3517,13 @@ function Bu({
3516
3517
  children: t
3517
3518
  }
3518
3519
  ),
3519
- /* @__PURE__ */ a(Yi, {}),
3520
+ /* @__PURE__ */ a(Ji, {}),
3520
3521
  /* @__PURE__ */ a(Et.Corner, {})
3521
3522
  ]
3522
3523
  }
3523
3524
  );
3524
3525
  }
3525
- function Yi({
3526
+ function Ji({
3526
3527
  className: e,
3527
3528
  orientation: t = "vertical",
3528
3529
  ...n
@@ -3551,22 +3552,22 @@ function Yi({
3551
3552
  function Tr({ ...e }) {
3552
3553
  return /* @__PURE__ */ a(le.Root, { "data-slot": "sheet", ...e });
3553
3554
  }
3554
- function $u({
3555
+ function Hu({
3555
3556
  ...e
3556
3557
  }) {
3557
3558
  return /* @__PURE__ */ a(le.Trigger, { "data-slot": "sheet-trigger", ...e });
3558
3559
  }
3559
- function Fu({
3560
+ function qu({
3560
3561
  ...e
3561
3562
  }) {
3562
3563
  return /* @__PURE__ */ a(le.Close, { "data-slot": "sheet-close", ...e });
3563
3564
  }
3564
- function Xi({
3565
+ function Qi({
3565
3566
  ...e
3566
3567
  }) {
3567
3568
  return /* @__PURE__ */ a(le.Portal, { "data-slot": "sheet-portal", ...e });
3568
3569
  }
3569
- function Ji({
3570
+ function Zi({
3570
3571
  className: e,
3571
3572
  ...t
3572
3573
  }) {
@@ -3590,8 +3591,8 @@ function rn({
3590
3591
  container: o,
3591
3592
  ...s
3592
3593
  }) {
3593
- return /* @__PURE__ */ f(Xi, { container: o, children: [
3594
- /* @__PURE__ */ a(Ji, {}),
3594
+ return /* @__PURE__ */ f(Qi, { container: o, children: [
3595
+ /* @__PURE__ */ a(Zi, {}),
3595
3596
  /* @__PURE__ */ f(
3596
3597
  le.Content,
3597
3598
  {
@@ -3642,7 +3643,7 @@ function Dr({ className: e, children: t, ...n }) {
3642
3643
  }
3643
3644
  );
3644
3645
  }
3645
- function Vu({ className: e, ...t }) {
3646
+ function Gu({ className: e, ...t }) {
3646
3647
  return /* @__PURE__ */ a(
3647
3648
  "div",
3648
3649
  {
@@ -3691,7 +3692,7 @@ function qe({ className: e, ...t }) {
3691
3692
  }
3692
3693
  );
3693
3694
  }
3694
- function Hu({
3695
+ function Wu({
3695
3696
  className: e,
3696
3697
  defaultValue: t,
3697
3698
  value: n,
@@ -3743,7 +3744,7 @@ function Hu({
3743
3744
  }
3744
3745
  );
3745
3746
  }
3746
- function qu({
3747
+ function Ku({
3747
3748
  className: e,
3748
3749
  ...t
3749
3750
  }) {
@@ -3766,7 +3767,7 @@ function qu({
3766
3767
  }
3767
3768
  );
3768
3769
  }
3769
- function Gu({
3770
+ function Uu({
3770
3771
  className: e,
3771
3772
  orientation: t = "horizontal",
3772
3773
  ...n
@@ -3784,7 +3785,7 @@ function Gu({
3784
3785
  }
3785
3786
  );
3786
3787
  }
3787
- const Qi = se(
3788
+ const es = se(
3788
3789
  "group/tabs-list inline-flex w-fit items-center justify-center rounded-lg p-[3px] text-muted-foreground group-data-horizontal/tabs:h-8 group-data-vertical/tabs:h-fit group-data-vertical/tabs:flex-col data-[variant=line]:rounded-none",
3789
3790
  {
3790
3791
  variants: {
@@ -3798,7 +3799,7 @@ const Qi = se(
3798
3799
  }
3799
3800
  }
3800
3801
  );
3801
- function Wu({
3802
+ function Yu({
3802
3803
  className: e,
3803
3804
  variant: t = "default",
3804
3805
  ...n
@@ -3808,12 +3809,12 @@ function Wu({
3808
3809
  {
3809
3810
  "data-slot": "tabs-list",
3810
3811
  "data-variant": t,
3811
- className: i(Qi({ variant: t }), e),
3812
+ className: i(es({ variant: t }), e),
3812
3813
  ...n
3813
3814
  }
3814
3815
  );
3815
3816
  }
3816
- function Ku({
3817
+ function Xu({
3817
3818
  className: e,
3818
3819
  ...t
3819
3820
  }) {
@@ -3832,7 +3833,7 @@ function Ku({
3832
3833
  }
3833
3834
  );
3834
3835
  }
3835
- function Uu({
3836
+ function Ju({
3836
3837
  className: e,
3837
3838
  ...t
3838
3839
  }) {
@@ -3845,15 +3846,15 @@ function Uu({
3845
3846
  }
3846
3847
  );
3847
3848
  }
3848
- const Zi = () => document.documentElement.classList.contains("dark") ? "dark" : "light", es = () => "light", ts = (e) => {
3849
+ const ts = () => document.documentElement.classList.contains("dark") ? "dark" : "light", as = () => "light", ns = (e) => {
3849
3850
  const t = new MutationObserver(e);
3850
3851
  return t.observe(document.documentElement, { attributes: !0, attributeFilter: ["class"] }), () => t.disconnect();
3851
3852
  };
3852
- function as() {
3853
- return ir(ts, Zi, es);
3853
+ function rs() {
3854
+ return ir(ns, ts, as);
3854
3855
  }
3855
- function Yu({ className: e, theme: t, ...n }) {
3856
- const r = as();
3856
+ function Qu({ className: e, theme: t, ...n }) {
3857
+ const r = rs();
3857
3858
  return /* @__PURE__ */ a(
3858
3859
  Wo,
3859
3860
  {
@@ -3901,7 +3902,7 @@ const Rr = se(
3901
3902
  }
3902
3903
  }
3903
3904
  );
3904
- function Xu({
3905
+ function Zu({
3905
3906
  className: e,
3906
3907
  variant: t = "default",
3907
3908
  size: n = "default",
@@ -4030,7 +4031,7 @@ function Qe({
4030
4031
  }
4031
4032
  ) });
4032
4033
  }
4033
- function ns({
4034
+ function os({
4034
4035
  message: e,
4035
4036
  className: t,
4036
4037
  spinnerClassName: n,
@@ -4068,7 +4069,7 @@ function $r() {
4068
4069
  return n.addEventListener("change", r), t(window.innerWidth < _a), () => n.removeEventListener("change", r);
4069
4070
  }, []), !!e;
4070
4071
  }
4071
- const rs = [
4072
+ const is = [
4072
4073
  { code: "CNY", symbol: "¥", label: "人民币", fractionDigits: 2 },
4073
4074
  { code: "EUR", symbol: "€", label: "欧元", fractionDigits: 2 },
4074
4075
  { code: "GBP", symbol: "£", label: "英镑", fractionDigits: 2 },
@@ -4077,7 +4078,7 @@ const rs = [
4077
4078
  { code: "USD", symbol: "$", label: "美元", fractionDigits: 2 }
4078
4079
  ];
4079
4080
  function da(e) {
4080
- return rs.find((t) => t.code === e) ?? {
4081
+ return is.find((t) => t.code === e) ?? {
4081
4082
  code: e,
4082
4083
  symbol: e,
4083
4084
  label: e,
@@ -4097,35 +4098,35 @@ function Fr(e, t) {
4097
4098
  function Fa(e, t = "CNY") {
4098
4099
  return e === 0 && (e = 0), Number.isFinite(e) ? Fr(da(t).fractionDigits, !0).format(e) : "";
4099
4100
  }
4100
- function os(e, t) {
4101
+ function ss(e, t) {
4101
4102
  const n = da(t).fractionDigits, r = Number(Fr(n, !1).format(e));
4102
4103
  return r === 0 ? 0 : r;
4103
4104
  }
4104
- const is = ["HK$", "$", "¥", "€", "£"];
4105
+ const ls = ["HK$", "$", "¥", "€", "£"];
4105
4106
  function Va(e) {
4106
4107
  let t = e.normalize("NFKC").replaceAll("。", ".").trim(), n = !1;
4107
4108
  for (; ; )
4108
4109
  if (t.startsWith("-"))
4109
4110
  n = !n, t = t.slice(1).trimStart();
4110
4111
  else {
4111
- const r = is.find((o) => t.startsWith(o));
4112
+ const r = ls.find((o) => t.startsWith(o));
4112
4113
  if (!r) break;
4113
4114
  t = t.slice(r.length).trimStart();
4114
4115
  }
4115
4116
  for (; t.endsWith("元"); ) t = t.slice(0, -1).trimEnd();
4116
4117
  return n ? `-${t}` : t;
4117
4118
  }
4118
- const ss = /^-?(\d+(\.\d*)?|\.\d+)$/;
4119
- function ls(e) {
4119
+ const ds = /^-?(\d+(\.\d*)?|\.\d+)$/;
4120
+ function cs(e) {
4120
4121
  const t = Va(e).replace(/,/g, "");
4121
- if (ss.test(t))
4122
+ if (ds.test(t))
4122
4123
  return Number(t);
4123
4124
  }
4124
4125
  function Rn(e, t) {
4125
4126
  const n = e.replace(/,/g, "");
4126
4127
  return n === "" ? !0 : n === "-" ? t : (t ? /^-?(\d+(\.\d*)?|\.\d+)$/ : /^(\d+(\.\d*)?|\.\d+)$/).test(n);
4127
4128
  }
4128
- function Ju({
4129
+ function ef({
4129
4130
  value: e,
4130
4131
  onChange: t,
4131
4132
  currency: n = "CNY",
@@ -4146,9 +4147,9 @@ function Ju({
4146
4147
  if (w !== null) {
4147
4148
  if (w.trim() === "") t(void 0);
4148
4149
  else {
4149
- const y = Rn(w, s) ? ls(w) : void 0;
4150
+ const y = Rn(w, s) ? cs(w) : void 0;
4150
4151
  if (y !== void 0) {
4151
- const E = os(y, n);
4152
+ const E = ss(y, n);
4152
4153
  (r === void 0 || E >= r) && (o === void 0 || E <= o) && t(E);
4153
4154
  }
4154
4155
  }
@@ -4163,9 +4164,9 @@ function Ju({
4163
4164
  y.currentTarget.contains(y.relatedTarget) || C();
4164
4165
  },
4165
4166
  children: [
4166
- /* @__PURE__ */ a($a, { align: "inline-start", children: /* @__PURE__ */ a(Ri, { children: m.symbol }) }),
4167
+ /* @__PURE__ */ a($a, { align: "inline-start", children: /* @__PURE__ */ a(Ai, { children: m.symbol }) }),
4167
4168
  /* @__PURE__ */ a(
4168
- Li,
4169
+ Oi,
4169
4170
  {
4170
4171
  ref: h,
4171
4172
  id: p,
@@ -4202,7 +4203,7 @@ function Ju({
4202
4203
  }
4203
4204
  );
4204
4205
  }
4205
- function Qu({
4206
+ function tf({
4206
4207
  value: e,
4207
4208
  currency: t = "CNY",
4208
4209
  show: n = "symbol",
@@ -4216,7 +4217,7 @@ function Qu({
4216
4217
  n === "both" && /* @__PURE__ */ a("span", { className: "ml-1 text-xs text-muted-foreground", children: o.code })
4217
4218
  ] });
4218
4219
  }
4219
- function ds({
4220
+ function us({
4220
4221
  value: e,
4221
4222
  onChange: t,
4222
4223
  options: n,
@@ -4290,7 +4291,7 @@ function Xt({
4290
4291
  ) : null
4291
4292
  ] });
4292
4293
  }
4293
- function cs({
4294
+ function fs({
4294
4295
  name: e,
4295
4296
  avatar: t,
4296
4297
  className: n
@@ -4325,8 +4326,8 @@ function Vr({
4325
4326
  }
4326
4327
  );
4327
4328
  }
4328
- const An = 100, us = 300;
4329
- function fs({
4329
+ const An = 100, ms = 300;
4330
+ function gs({
4330
4331
  value: e,
4331
4332
  onChange: t,
4332
4333
  fetchOptions: n,
@@ -4387,7 +4388,7 @@ function fs({
4387
4388
  } finally {
4388
4389
  k === z.current && y(!1);
4389
4390
  }
4390
- }, us);
4391
+ }, ms);
4391
4392
  return () => clearTimeout(T);
4392
4393
  }, [h, b, n]), fe(() => {
4393
4394
  $.current?.querySelector(`[data-idx="${L}"]`)?.scrollIntoView({ block: "nearest" });
@@ -4531,7 +4532,7 @@ function fs({
4531
4532
  }
4532
4533
  );
4533
4534
  }
4534
- function ms({
4535
+ function ps({
4535
4536
  value: e,
4536
4537
  onChange: t,
4537
4538
  options: n,
@@ -4608,7 +4609,7 @@ function ms({
4608
4609
  )
4609
4610
  ] });
4610
4611
  }
4611
- function gs({
4612
+ function hs({
4612
4613
  value: e,
4613
4614
  onChange: t,
4614
4615
  options: n,
@@ -4618,7 +4619,7 @@ function gs({
4618
4619
  }) {
4619
4620
  const l = sr();
4620
4621
  return /* @__PURE__ */ a(
4621
- Ki,
4622
+ Yi,
4622
4623
  {
4623
4624
  value: e,
4624
4625
  onValueChange: t,
@@ -4629,7 +4630,7 @@ function gs({
4629
4630
  const c = `${l}-${d.value}`, u = o || d.disabled, p = pr(d.color);
4630
4631
  return /* @__PURE__ */ f("div", { className: "flex items-center gap-2", children: [
4631
4632
  /* @__PURE__ */ a(
4632
- Ui,
4633
+ Xi,
4633
4634
  {
4634
4635
  value: d.value,
4635
4636
  id: c,
@@ -4654,15 +4655,15 @@ function gs({
4654
4655
  }
4655
4656
  );
4656
4657
  }
4657
- const ps = 3;
4658
+ const bs = 3;
4658
4659
  function Tt(e) {
4659
4660
  return e.map(
4660
4661
  (t) => typeof t == "string" ? { value: t, label: t } : { value: t.value, label: t.label ?? t.value, color: t.color }
4661
4662
  );
4662
4663
  }
4663
4664
  function Ut(e) {
4664
- const { label: t, options: n, className: r, children: o } = e, s = e.variant === "inline" || e.variant !== "select" && n.length <= ps, l = e.multiple === !0 ? s ? /* @__PURE__ */ a(
4665
- ds,
4665
+ const { label: t, options: n, className: r, children: o } = e, s = e.variant === "inline" || e.variant !== "select" && n.length <= bs, l = e.multiple === !0 ? s ? /* @__PURE__ */ a(
4666
+ us,
4666
4667
  {
4667
4668
  className: "flex flex-row flex-wrap gap-x-4 gap-y-2",
4668
4669
  options: Tt(n),
@@ -4670,7 +4671,7 @@ function Ut(e) {
4670
4671
  onChange: e.onChange
4671
4672
  }
4672
4673
  ) : /* @__PURE__ */ a(
4673
- ms,
4674
+ ps,
4674
4675
  {
4675
4676
  options: Tt(n),
4676
4677
  value: e.value,
@@ -4688,7 +4689,7 @@ function Ut(e) {
4688
4689
  children: Tt(n).map((d) => /* @__PURE__ */ a(Or, { value: d.value, className: "flex-1 text-xs", children: d.label }, d.value))
4689
4690
  }
4690
4691
  ) : s ? /* @__PURE__ */ a(
4691
- gs,
4692
+ hs,
4692
4693
  {
4693
4694
  value: e.value,
4694
4695
  onChange: e.onChange,
@@ -4725,7 +4726,7 @@ function Ut(e) {
4725
4726
  ] })
4726
4727
  ] });
4727
4728
  }
4728
- function Zu(e) {
4729
+ function af(e) {
4729
4730
  const t = /* @__PURE__ */ new Map();
4730
4731
  function n(d) {
4731
4732
  if (d)
@@ -4746,7 +4747,7 @@ function Zu(e) {
4746
4747
  className: w
4747
4748
  }) {
4748
4749
  return n(u), /* @__PURE__ */ a(
4749
- fs,
4750
+ gs,
4750
4751
  {
4751
4752
  value: d,
4752
4753
  onChange: c,
@@ -4807,7 +4808,7 @@ function Zu(e) {
4807
4808
  }) {
4808
4809
  n(c);
4809
4810
  const p = s(d);
4810
- return d.length ? /* @__PURE__ */ a("span", { className: i("flex flex-wrap gap-x-3 gap-y-1", u), children: d.map((m) => /* @__PURE__ */ a(cs, { name: p[m]?.name ?? m, avatar: p[m]?.avatar }, m)) }) : /* @__PURE__ */ a(jt, {});
4811
+ return d.length ? /* @__PURE__ */ a("span", { className: i("flex flex-wrap gap-x-3 gap-y-1", u), children: d.map((m) => /* @__PURE__ */ a(fs, { name: p[m]?.name ?? m, avatar: p[m]?.avatar }, m)) }) : /* @__PURE__ */ a(jt, {});
4811
4812
  }
4812
4813
  return { Select: o, View: l, useProfiles: s };
4813
4814
  }
@@ -4816,7 +4817,7 @@ function Ia(e) {
4816
4817
  const t = Uo(e, "yyyy-MM-dd", /* @__PURE__ */ new Date());
4817
4818
  return Number.isNaN(t.getTime()) ? void 0 : t;
4818
4819
  }
4819
- function hs({
4820
+ function vs({
4820
4821
  value: e,
4821
4822
  onChange: t,
4822
4823
  placeholder: n = "YYYY-MM-DD",
@@ -4896,7 +4897,7 @@ function hs({
4896
4897
  ] })
4897
4898
  ] }),
4898
4899
  /* @__PURE__ */ a(nn, { className: "w-auto p-0", align: "start", children: /* @__PURE__ */ a(
4899
- vi,
4900
+ wi,
4900
4901
  {
4901
4902
  mode: "single",
4902
4903
  captionLayout: "dropdown",
@@ -4912,16 +4913,16 @@ function hs({
4912
4913
  ) })
4913
4914
  ] });
4914
4915
  }
4915
- const bs = 480, Hr = 240, On = "wide-sheet-content:width";
4916
+ const xs = 480, Hr = 240, On = "wide-sheet-content:width";
4916
4917
  function Jt(e) {
4917
- return Math.max(bs, Math.min(e, window.innerWidth * 0.98));
4918
+ return Math.max(xs, Math.min(e, window.innerWidth * 0.98));
4918
4919
  }
4919
- const vs = 0.95;
4920
+ const ws = 0.95;
4920
4921
  function jn(e, t) {
4921
4922
  const n = Math.min(window.innerHeight, Math.max(Hr, e));
4922
- return t && n >= window.innerHeight * vs ? "full" : n;
4923
+ return t && n >= window.innerHeight * ws ? "full" : n;
4923
4924
  }
4924
- function xs(e) {
4925
+ function ys(e) {
4925
4926
  try {
4926
4927
  const t = localStorage.getItem(e);
4927
4928
  if (t === "full") return "full";
@@ -4931,7 +4932,7 @@ function xs(e) {
4931
4932
  return null;
4932
4933
  }
4933
4934
  }
4934
- function ws(e) {
4935
+ function Ns(e) {
4935
4936
  try {
4936
4937
  const t = localStorage.getItem(e);
4937
4938
  if (t == null) return null;
@@ -4941,7 +4942,7 @@ function ws(e) {
4941
4942
  return null;
4942
4943
  }
4943
4944
  }
4944
- function ef({
4945
+ function nf({
4945
4946
  className: e,
4946
4947
  side: t,
4947
4948
  resizable: n = !0,
@@ -4951,9 +4952,9 @@ function ef({
4951
4952
  ...l
4952
4953
  }) {
4953
4954
  const d = $r(), c = t ?? (d ? "bottom" : "right"), u = c === "bottom", p = n && (c === "right" || u), m = r === On ? "wide-sheet-content:height" : `${r}:height`, h = u ? m : r, [w, b] = j(
4954
- () => n ? xs(m) : null
4955
+ () => n ? ys(m) : null
4955
4956
  ), [N, _] = j(
4956
- () => n ? ws(r) : null
4957
+ () => n ? Ns(r) : null
4957
4958
  ), [I, g] = j(!1), C = q(!1), M = q(0), y = q(0), E = q(null), H = q(null), L = q(!1), K = q(0), R = q(!1);
4958
4959
  fe(
4959
4960
  () => () => {
@@ -5057,7 +5058,7 @@ function ef({
5057
5058
  );
5058
5059
  }
5059
5060
  const qr = "md:col-span-3 lg:col-span-4";
5060
- function tf({
5061
+ function rf({
5061
5062
  children: e,
5062
5063
  className: t
5063
5064
  }) {
@@ -5069,7 +5070,7 @@ function tf({
5069
5070
  }
5070
5071
  );
5071
5072
  }
5072
- function ys({
5073
+ function ks({
5073
5074
  label: e,
5074
5075
  value: t,
5075
5076
  full: n,
@@ -5091,7 +5092,7 @@ function ys({
5091
5092
  r ? /* @__PURE__ */ a("div", { className: "min-w-0 wrap-break-word text-sm", children: s }) : /* @__PURE__ */ a("div", { className: "flex min-h-9 items-center rounded-md bg-muted/50 px-3 py-2", children: /* @__PURE__ */ a("span", { className: "min-w-0 wrap-break-word text-sm", children: s }) })
5092
5093
  ] }) });
5093
5094
  }
5094
- function Ns({
5095
+ function zs({
5095
5096
  label: e,
5096
5097
  required: t,
5097
5098
  full: n,
@@ -5118,7 +5119,7 @@ function Ns({
5118
5119
  /* @__PURE__ */ a("div", { className: "grid min-h-9 min-w-0 content-center items-center [&>*]:min-w-0", children: l })
5119
5120
  ] }) });
5120
5121
  }
5121
- function af({
5122
+ function of({
5122
5123
  children: e,
5123
5124
  extra: t
5124
5125
  }) {
@@ -5127,15 +5128,15 @@ function af({
5127
5128
  t
5128
5129
  ] });
5129
5130
  }
5130
- function nf({
5131
+ function sf({
5131
5132
  title: e,
5132
5133
  open: t,
5133
5134
  onOpenChange: n,
5134
5135
  error: r,
5135
5136
  children: o
5136
5137
  }) {
5137
- return /* @__PURE__ */ f(wi, { open: t, onOpenChange: n, className: "group", children: [
5138
- /* @__PURE__ */ a(yi, { asChild: !0, children: /* @__PURE__ */ f(
5138
+ return /* @__PURE__ */ f(Ni, { open: t, onOpenChange: n, className: "group", children: [
5139
+ /* @__PURE__ */ a(ki, { asChild: !0, children: /* @__PURE__ */ f(
5139
5140
  "button",
5140
5141
  {
5141
5142
  type: "button",
@@ -5159,11 +5160,11 @@ function nf({
5159
5160
  ]
5160
5161
  }
5161
5162
  ) }),
5162
- /* @__PURE__ */ a(Ni, { className: "pt-2", children: o })
5163
+ /* @__PURE__ */ a(zi, { className: "pt-2", children: o })
5163
5164
  ] });
5164
5165
  }
5165
5166
  const Bn = 5;
5166
- function rf({
5167
+ function lf({
5167
5168
  items: e,
5168
5169
  render: t
5169
5170
  }) {
@@ -5183,7 +5184,7 @@ function rf({
5183
5184
  )
5184
5185
  ] });
5185
5186
  }
5186
- function ks({
5187
+ function Cs({
5187
5188
  state: e,
5188
5189
  label: t,
5189
5190
  full: n,
@@ -5194,12 +5195,12 @@ function ks({
5194
5195
  plain: d,
5195
5196
  labelTone: c
5196
5197
  }) {
5197
- return e === "hidden" ? null : e === "view" || s == null ? /* @__PURE__ */ a(ys, { label: t, full: n, value: l, plain: d, labelTone: c }) : /* @__PURE__ */ a(Ns, { label: t, full: n, htmlFor: r, required: o, labelTone: c, children: s });
5198
+ return e === "hidden" ? null : e === "view" || s == null ? /* @__PURE__ */ a(ks, { label: t, full: n, value: l, plain: d, labelTone: c }) : /* @__PURE__ */ a(zs, { label: t, full: n, htmlFor: r, required: o, labelTone: c, children: s });
5198
5199
  }
5199
5200
  function $n(e) {
5200
5201
  return e.normalize("NFKC").toLocaleLowerCase();
5201
5202
  }
5202
- function of(e) {
5203
+ function df(e) {
5203
5204
  const {
5204
5205
  options: t,
5205
5206
  isSelectable: n = () => !0,
@@ -5429,7 +5430,7 @@ function of(e) {
5429
5430
  ] });
5430
5431
  }
5431
5432
  const yt = (e) => e.other?.label ?? "其他", on = (e) => (e.options ?? []).map((t) => typeof t == "string" ? t : t.value), Ye = (e) => Array.isArray(e) ? e.filter((t) => typeof t == "string") : [], Te = (e) => typeof e == "string" ? e : e == null ? "" : String(e), Ha = (e) => e.multiple === !0 || e.control === "members" || e.control === "roles";
5432
- function zs(e, t) {
5433
+ function Ss(e, t) {
5433
5434
  if (e.other) {
5434
5435
  const n = on(e), r = yt(e);
5435
5436
  if (e.multiple) {
@@ -5441,9 +5442,9 @@ function zs(e, t) {
5441
5442
  }
5442
5443
  return Ha(e) ? Ye(t) : Te(t);
5443
5444
  }
5444
- function sf(e, t) {
5445
+ function cf(e, t) {
5445
5446
  const n = t, r = {};
5446
- for (const o of e) r[o.key] = zs(o, n[o.key]);
5447
+ for (const o of e) r[o.key] = Ss(o, n[o.key]);
5447
5448
  return r;
5448
5449
  }
5449
5450
  function sn(e, t) {
@@ -5464,12 +5465,12 @@ function sn(e, t) {
5464
5465
  const r = Te(t).trim();
5465
5466
  return e.control === "number" ? r === "" ? n : Number(r) : r === "" ? n : r;
5466
5467
  }
5467
- function lf(e, t) {
5468
+ function uf(e, t) {
5468
5469
  const n = t, r = {};
5469
5470
  for (const o of e) r[o.key] = sn(o, n[o.key]);
5470
5471
  return r;
5471
5472
  }
5472
- function df(e, t) {
5473
+ function ff(e, t) {
5473
5474
  const n = t, r = [];
5474
5475
  for (const o of e) {
5475
5476
  if (!o.other || o.other.required === !1) continue;
@@ -5480,7 +5481,7 @@ function df(e, t) {
5480
5481
  }
5481
5482
  return r;
5482
5483
  }
5483
- function cf(e, t) {
5484
+ function mf(e, t) {
5484
5485
  const n = t, r = [];
5485
5486
  for (const o of e) {
5486
5487
  if (o.required !== !0) continue;
@@ -5489,13 +5490,13 @@ function cf(e, t) {
5489
5490
  }
5490
5491
  return r;
5491
5492
  }
5492
- function Cs({ value: e, onChange: t, htmlFor: n }) {
5493
+ function _s({ value: e, onChange: t, htmlFor: n }) {
5493
5494
  return /* @__PURE__ */ a(Ae, { id: n, value: Te(e), onChange: (r) => t(r.target.value) });
5494
5495
  }
5495
- function Ss({ value: e, onChange: t, htmlFor: n }) {
5496
+ function Is({ value: e, onChange: t, htmlFor: n }) {
5496
5497
  return /* @__PURE__ */ a(kr, { id: n, value: Te(e), onChange: (r) => t(r.target.value) });
5497
5498
  }
5498
- function _s({ value: e, onChange: t, htmlFor: n }) {
5499
+ function Ms({ value: e, onChange: t, htmlFor: n }) {
5499
5500
  return /* @__PURE__ */ a(
5500
5501
  Ae,
5501
5502
  {
@@ -5506,10 +5507,10 @@ function _s({ value: e, onChange: t, htmlFor: n }) {
5506
5507
  }
5507
5508
  );
5508
5509
  }
5509
- function Is({ value: e, onChange: t, htmlFor: n }) {
5510
- return /* @__PURE__ */ a(hs, { id: n, value: Te(e), onChange: (r) => t(r ?? "") });
5510
+ function Ts({ value: e, onChange: t, htmlFor: n }) {
5511
+ return /* @__PURE__ */ a(vs, { id: n, value: Te(e), onChange: (r) => t(r ?? "") });
5511
5512
  }
5512
- function Ms({ spec: e, value: t, onChange: n }) {
5513
+ function Ds({ spec: e, value: t, onChange: n }) {
5513
5514
  const r = yt(e), o = e.other ? [
5514
5515
  ...e.options ?? [],
5515
5516
  e.other.color == null ? r : { value: r, color: e.other.color }
@@ -5563,17 +5564,17 @@ function Ms({ spec: e, value: t, onChange: n }) {
5563
5564
  }
5564
5565
  );
5565
5566
  }
5566
- const Ts = {
5567
- choice: Ms,
5568
- text: Cs,
5569
- textarea: Ss,
5570
- number: _s,
5571
- date: Is
5572
- }, Gr = new Map(Object.entries(Ts)), Wr = /* @__PURE__ */ new Map();
5573
- function uf(e, t, n) {
5567
+ const Es = {
5568
+ choice: Ds,
5569
+ text: _s,
5570
+ textarea: Is,
5571
+ number: Ms,
5572
+ date: Ts
5573
+ }, Gr = new Map(Object.entries(Es)), Wr = /* @__PURE__ */ new Map();
5574
+ function gf(e, t, n) {
5574
5575
  Gr.set(e, t), n && Wr.set(e, n);
5575
5576
  }
5576
- function Ds(e, t, n, r, o) {
5577
+ function Ps(e, t, n, r, o) {
5577
5578
  const s = Gr.get(e.control);
5578
5579
  if (!s)
5579
5580
  throw new Error(
@@ -5606,7 +5607,7 @@ function Fn(e, t) {
5606
5607
  (o, s) => o.color ? /* @__PURE__ */ a(wt, { color: o.color, children: o.text }, s) : /* @__PURE__ */ a("span", { children: o.text }, s)
5607
5608
  ) }) : /* @__PURE__ */ a("span", { className: "text-xs", children: r.map((o) => o.text).join("、") });
5608
5609
  }
5609
- function Es(e, t, n) {
5610
+ function Rs(e, t, n) {
5610
5611
  if (e.control === "members" || e.control === "roles") {
5611
5612
  const o = Ye(t);
5612
5613
  if (!o.length) return;
@@ -5639,7 +5640,7 @@ function Es(e, t, n) {
5639
5640
  const r = Te(t).trim();
5640
5641
  return r === "" ? void 0 : r;
5641
5642
  }
5642
- function ff({
5643
+ function pf({
5643
5644
  spec: e,
5644
5645
  state: t,
5645
5646
  value: n,
@@ -5653,13 +5654,13 @@ function ff({
5653
5654
  editNode: p,
5654
5655
  readNode: m
5655
5656
  }) {
5656
- const h = p ?? Ds(e, n, r, s, d), w = m ?? Es(
5657
+ const h = p ?? Ps(e, n, r, s, d), w = m ?? Rs(
5657
5658
  e,
5658
5659
  o !== void 0 ? o : sn(e, n),
5659
5660
  s
5660
5661
  );
5661
5662
  return /* @__PURE__ */ a(
5662
- ks,
5663
+ Cs,
5663
5664
  {
5664
5665
  state: t,
5665
5666
  label: e.label,
@@ -5673,7 +5674,7 @@ function ff({
5673
5674
  }
5674
5675
  );
5675
5676
  }
5676
- function mf({ className: e, ...t }) {
5677
+ function hf({ className: e, ...t }) {
5677
5678
  return /* @__PURE__ */ a(
5678
5679
  "div",
5679
5680
  {
@@ -5683,7 +5684,7 @@ function mf({ className: e, ...t }) {
5683
5684
  }
5684
5685
  );
5685
5686
  }
5686
- const Ps = se(
5687
+ const Ls = se(
5687
5688
  "group/bubble relative flex w-fit max-w-[80%] min-w-0 flex-col gap-1 group-data-[align=end]/message:self-end data-[align=end]:self-end data-[variant=ghost]:max-w-full",
5688
5689
  {
5689
5690
  variants: {
@@ -5702,7 +5703,7 @@ const Ps = se(
5702
5703
  }
5703
5704
  }
5704
5705
  );
5705
- function gf({
5706
+ function bf({
5706
5707
  variant: e = "default",
5707
5708
  align: t = "start",
5708
5709
  className: n,
@@ -5714,12 +5715,12 @@ function gf({
5714
5715
  "data-slot": "bubble",
5715
5716
  "data-variant": e,
5716
5717
  "data-align": t,
5717
- className: i(Ps({ variant: e }), n),
5718
+ className: i(Ls({ variant: e }), n),
5718
5719
  ...r
5719
5720
  }
5720
5721
  );
5721
5722
  }
5722
- function pf({
5723
+ function vf({
5723
5724
  asChild: e = !1,
5724
5725
  className: t,
5725
5726
  ...n
@@ -5737,7 +5738,7 @@ function pf({
5737
5738
  }
5738
5739
  );
5739
5740
  }
5740
- const Rs = se(
5741
+ const As = se(
5741
5742
  "absolute z-10 flex w-fit shrink-0 items-center justify-center gap-1 rounded-full bg-muted px-1.5 py-0.5 text-sm ring-3 ring-card has-[button]:p-0",
5742
5743
  {
5743
5744
  variants: {
@@ -5756,7 +5757,7 @@ const Rs = se(
5756
5757
  }
5757
5758
  }
5758
5759
  );
5759
- function hf({
5760
+ function xf({
5760
5761
  side: e = "bottom",
5761
5762
  align: t = "end",
5762
5763
  className: n,
@@ -5768,7 +5769,7 @@ function hf({
5768
5769
  "data-slot": "bubble-reactions",
5769
5770
  "data-align": t,
5770
5771
  "data-side": e,
5771
- className: i(Rs({ side: e, align: t }), n),
5772
+ className: i(As({ side: e, align: t }), n),
5772
5773
  ...r
5773
5774
  }
5774
5775
  );
@@ -5780,7 +5781,7 @@ function ca() {
5780
5781
  throw new Error("useCarousel must be used within a <Carousel />");
5781
5782
  return e;
5782
5783
  }
5783
- function bf({
5784
+ function wf({
5784
5785
  orientation: e = "horizontal",
5785
5786
  opts: t,
5786
5787
  setApi: n,
@@ -5842,7 +5843,7 @@ function bf({
5842
5843
  }
5843
5844
  );
5844
5845
  }
5845
- function vf({ className: e, ...t }) {
5846
+ function yf({ className: e, ...t }) {
5846
5847
  const { carouselRef: n, orientation: r } = ca();
5847
5848
  return /* @__PURE__ */ a(
5848
5849
  "div",
@@ -5864,7 +5865,7 @@ function vf({ className: e, ...t }) {
5864
5865
  }
5865
5866
  );
5866
5867
  }
5867
- function xf({ className: e, ...t }) {
5868
+ function Nf({ className: e, ...t }) {
5868
5869
  const { orientation: n } = ca();
5869
5870
  return /* @__PURE__ */ a(
5870
5871
  "div",
@@ -5881,7 +5882,7 @@ function xf({ className: e, ...t }) {
5881
5882
  }
5882
5883
  );
5883
5884
  }
5884
- function wf({
5885
+ function kf({
5885
5886
  className: e,
5886
5887
  variant: t = "outline",
5887
5888
  size: n = "icon-sm",
@@ -5909,7 +5910,7 @@ function wf({
5909
5910
  }
5910
5911
  );
5911
5912
  }
5912
- function yf({
5913
+ function zf({
5913
5914
  className: e,
5914
5915
  variant: t = "outline",
5915
5916
  size: n = "icon-sm",
@@ -5937,7 +5938,7 @@ function yf({
5937
5938
  }
5938
5939
  );
5939
5940
  }
5940
- const Ls = se(
5941
+ const Os = se(
5941
5942
  "group/marker relative flex min-h-4 w-full items-center gap-2 text-left text-sm text-muted-foreground [&_svg:not([class*='size-'])]:size-4 [a]:underline [a]:underline-offset-3 [a]:hover:text-foreground",
5942
5943
  {
5943
5944
  variants: {
@@ -5949,7 +5950,7 @@ const Ls = se(
5949
5950
  }
5950
5951
  }
5951
5952
  );
5952
- function Nf({
5953
+ function Cf({
5953
5954
  className: e,
5954
5955
  variant: t = "default",
5955
5956
  asChild: n = !1,
@@ -5961,12 +5962,12 @@ function Nf({
5961
5962
  {
5962
5963
  "data-slot": "marker",
5963
5964
  "data-variant": t,
5964
- className: i(Ls({ variant: t, className: e })),
5965
+ className: i(Os({ variant: t, className: e })),
5965
5966
  ...r
5966
5967
  }
5967
5968
  );
5968
5969
  }
5969
- function kf({ className: e, ...t }) {
5970
+ function Sf({ className: e, ...t }) {
5970
5971
  return /* @__PURE__ */ a(
5971
5972
  "span",
5972
5973
  {
@@ -5980,7 +5981,7 @@ function kf({ className: e, ...t }) {
5980
5981
  }
5981
5982
  );
5982
5983
  }
5983
- function zf({ className: e, ...t }) {
5984
+ function _f({ className: e, ...t }) {
5984
5985
  return /* @__PURE__ */ a(
5985
5986
  "span",
5986
5987
  {
@@ -5993,10 +5994,10 @@ function zf({ className: e, ...t }) {
5993
5994
  }
5994
5995
  );
5995
5996
  }
5996
- function Cf(e) {
5997
+ function If(e) {
5997
5998
  return /* @__PURE__ */ a(xt.Provider, { ...e });
5998
5999
  }
5999
- function Sf({
6000
+ function Mf({
6000
6001
  className: e,
6001
6002
  ...t
6002
6003
  }) {
@@ -6012,7 +6013,7 @@ function Sf({
6012
6013
  }
6013
6014
  );
6014
6015
  }
6015
- function _f({
6016
+ function Tf({
6016
6017
  className: e,
6017
6018
  ...t
6018
6019
  }) {
@@ -6028,7 +6029,7 @@ function _f({
6028
6029
  }
6029
6030
  );
6030
6031
  }
6031
- function If({
6032
+ function Df({
6032
6033
  className: e,
6033
6034
  ...t
6034
6035
  }) {
@@ -6041,7 +6042,7 @@ function If({
6041
6042
  }
6042
6043
  );
6043
6044
  }
6044
- function Mf({
6045
+ function Ef({
6045
6046
  className: e,
6046
6047
  scrollAnchor: t = !1,
6047
6048
  ...n
@@ -6059,7 +6060,7 @@ function Mf({
6059
6060
  }
6060
6061
  );
6061
6062
  }
6062
- function Tf({
6063
+ function Pf({
6063
6064
  direction: e = "end",
6064
6065
  className: t,
6065
6066
  children: n,
@@ -6092,7 +6093,7 @@ function Tf({
6092
6093
  }
6093
6094
  );
6094
6095
  }
6095
- function Df({ className: e, ...t }) {
6096
+ function Rf({ className: e, ...t }) {
6096
6097
  return /* @__PURE__ */ a(
6097
6098
  "div",
6098
6099
  {
@@ -6102,7 +6103,7 @@ function Df({ className: e, ...t }) {
6102
6103
  }
6103
6104
  );
6104
6105
  }
6105
- function Ef({
6106
+ function Lf({
6106
6107
  className: e,
6107
6108
  align: t = "start",
6108
6109
  ...n
@@ -6120,7 +6121,7 @@ function Ef({
6120
6121
  }
6121
6122
  );
6122
6123
  }
6123
- function Pf({ className: e, ...t }) {
6124
+ function Af({ className: e, ...t }) {
6124
6125
  return /* @__PURE__ */ a(
6125
6126
  "div",
6126
6127
  {
@@ -6133,7 +6134,7 @@ function Pf({ className: e, ...t }) {
6133
6134
  }
6134
6135
  );
6135
6136
  }
6136
- function Rf({ className: e, ...t }) {
6137
+ function Of({ className: e, ...t }) {
6137
6138
  return /* @__PURE__ */ a(
6138
6139
  "div",
6139
6140
  {
@@ -6146,7 +6147,7 @@ function Rf({ className: e, ...t }) {
6146
6147
  }
6147
6148
  );
6148
6149
  }
6149
- function Lf({ className: e, ...t }) {
6150
+ function jf({ className: e, ...t }) {
6150
6151
  return /* @__PURE__ */ a(
6151
6152
  "div",
6152
6153
  {
@@ -6159,7 +6160,7 @@ function Lf({ className: e, ...t }) {
6159
6160
  }
6160
6161
  );
6161
6162
  }
6162
- function Af({ className: e, ...t }) {
6163
+ function Bf({ className: e, ...t }) {
6163
6164
  return /* @__PURE__ */ a(
6164
6165
  "div",
6165
6166
  {
@@ -6172,7 +6173,7 @@ function Af({ className: e, ...t }) {
6172
6173
  }
6173
6174
  );
6174
6175
  }
6175
- function Of({
6176
+ function $f({
6176
6177
  className: e,
6177
6178
  ...t
6178
6179
  }) {
@@ -6185,7 +6186,7 @@ function Of({
6185
6186
  }
6186
6187
  );
6187
6188
  }
6188
- function jf({
6189
+ function Ff({
6189
6190
  className: e,
6190
6191
  ...t
6191
6192
  }) {
@@ -6201,7 +6202,7 @@ function jf({
6201
6202
  }
6202
6203
  );
6203
6204
  }
6204
- function Bf({
6205
+ function Vf({
6205
6206
  className: e,
6206
6207
  ...t
6207
6208
  }) {
@@ -6217,7 +6218,7 @@ function Bf({
6217
6218
  }
6218
6219
  );
6219
6220
  }
6220
- function $f({
6221
+ function Hf({
6221
6222
  className: e,
6222
6223
  ...t
6223
6224
  }) {
@@ -6233,7 +6234,7 @@ function $f({
6233
6234
  }
6234
6235
  );
6235
6236
  }
6236
- function Ff({
6237
+ function qf({
6237
6238
  className: e,
6238
6239
  ...t
6239
6240
  }) {
@@ -6246,7 +6247,7 @@ function Ff({
6246
6247
  }
6247
6248
  );
6248
6249
  }
6249
- function Vf({
6250
+ function Gf({
6250
6251
  className: e,
6251
6252
  ...t
6252
6253
  }) {
@@ -6262,7 +6263,7 @@ function Vf({
6262
6263
  }
6263
6264
  );
6264
6265
  }
6265
- function Hf({
6266
+ function Wf({
6266
6267
  children: e,
6267
6268
  className: t,
6268
6269
  ...n
@@ -6322,7 +6323,7 @@ function Hf({
6322
6323
  }
6323
6324
  );
6324
6325
  }
6325
- function qf({
6326
+ function Kf({
6326
6327
  className: e,
6327
6328
  ...t
6328
6329
  }) {
@@ -6335,7 +6336,7 @@ function qf({
6335
6336
  }
6336
6337
  );
6337
6338
  }
6338
- function Gf({
6339
+ function Uf({
6339
6340
  className: e,
6340
6341
  ...t
6341
6342
  }) {
@@ -6359,7 +6360,7 @@ function Gf({
6359
6360
  }
6360
6361
  );
6361
6362
  }
6362
- function Wf({
6363
+ function Yf({
6363
6364
  className: e,
6364
6365
  ...t
6365
6366
  }) {
@@ -6372,7 +6373,7 @@ function Wf({
6372
6373
  }
6373
6374
  );
6374
6375
  }
6375
- function Kf({
6376
+ function Xf({
6376
6377
  className: e,
6377
6378
  ...t
6378
6379
  }) {
@@ -6388,7 +6389,7 @@ function Kf({
6388
6389
  }
6389
6390
  );
6390
6391
  }
6391
- function Uf({
6392
+ function Jf({
6392
6393
  children: e,
6393
6394
  className: t,
6394
6395
  size: n = "default",
@@ -6411,7 +6412,7 @@ function Uf({
6411
6412
  }
6412
6413
  );
6413
6414
  }
6414
- function Yf({
6415
+ function Qf({
6415
6416
  children: e,
6416
6417
  className: t,
6417
6418
  size: n = "default",
@@ -6434,7 +6435,7 @@ function Yf({
6434
6435
  }
6435
6436
  );
6436
6437
  }
6437
- function Xf({
6438
+ function Zf({
6438
6439
  children: e,
6439
6440
  className: t,
6440
6441
  size: n = "default",
@@ -6457,7 +6458,7 @@ function Xf({
6457
6458
  }
6458
6459
  );
6459
6460
  }
6460
- function Jf({
6461
+ function em({
6461
6462
  children: e,
6462
6463
  className: t,
6463
6464
  size: n = "default",
@@ -6484,7 +6485,7 @@ function Vn(e) {
6484
6485
  const t = Array.from(e.files);
6485
6486
  return t.length > 0 ? t : Array.from(e.items).filter((n) => n.kind === "file").map((n) => n.getAsFile()).filter((n) => n != null);
6486
6487
  }
6487
- function As(e, t) {
6488
+ function js(e, t) {
6488
6489
  if (!t) return !0;
6489
6490
  const n = e.name.toLowerCase(), r = e.type.toLowerCase();
6490
6491
  return t.split(",").some((o) => {
@@ -6492,10 +6493,10 @@ function As(e, t) {
6492
6493
  return s ? s.startsWith(".") ? n.endsWith(s) : s.endsWith("/*") ? r.startsWith(s.slice(0, -1)) : r === s : !1;
6493
6494
  });
6494
6495
  }
6495
- function Os(e) {
6496
+ function Bs(e) {
6496
6497
  return e ? e.split(",").map((t) => t.trim().replace(/^\./, "").toUpperCase()).filter(Boolean).join("、") : "该字段支持的文件";
6497
6498
  }
6498
- function Qf({
6499
+ function tm({
6499
6500
  label: e,
6500
6501
  accept: t,
6501
6502
  multiple: n = !0,
@@ -6511,9 +6512,9 @@ function Qf({
6511
6512
  b(`${e}一次只能上传 1 个文件`);
6512
6513
  return;
6513
6514
  }
6514
- const E = y.filter((H) => !As(H, t));
6515
+ const E = y.filter((H) => !js(H, t));
6515
6516
  if (E.length > 0) {
6516
- b(`${E.map((H) => H.name).join("、")}:仅支持 ${Os(t)}`);
6517
+ b(`${E.map((H) => H.name).join("、")}:仅支持 ${Bs(t)}`);
6517
6518
  return;
6518
6519
  }
6519
6520
  b(null), c.current = !0, h(!0);
@@ -6582,7 +6583,7 @@ function Qf({
6582
6583
  }
6583
6584
  );
6584
6585
  }
6585
- const js = {
6586
+ const $s = {
6586
6587
  image: "图片",
6587
6588
  pdf: "PDF",
6588
6589
  video: "视频",
@@ -6592,7 +6593,7 @@ const js = {
6592
6593
  word: "文档",
6593
6594
  cad: "CAD 图纸",
6594
6595
  other: "文件"
6595
- }, Bs = {
6596
+ }, Fs = {
6596
6597
  png: "image",
6597
6598
  jpg: "image",
6598
6599
  jpeg: "image",
@@ -6643,7 +6644,7 @@ const js = {
6643
6644
  docx: "word",
6644
6645
  dwg: "cad",
6645
6646
  dxf: "cad"
6646
- }, $s = {
6647
+ }, Vs = {
6647
6648
  xls: Sa,
6648
6649
  xlsx: Sa,
6649
6650
  csv: Sa,
@@ -6681,25 +6682,25 @@ function At(e) {
6681
6682
  return t > 0 ? e.slice(t + 1).toLowerCase() : "";
6682
6683
  }
6683
6684
  const Yr = /* @__PURE__ */ new Map();
6684
- function Zf(e) {
6685
+ function am(e) {
6685
6686
  for (const t of e.extensions) Yr.set(t.toLowerCase(), e);
6686
6687
  }
6687
6688
  function ua(e) {
6688
6689
  return Yr.get(At(e));
6689
6690
  }
6690
6691
  function Xr(e) {
6691
- return Bs[At(e)] ?? "other";
6692
+ return Fs[At(e)] ?? "other";
6692
6693
  }
6693
6694
  function ln(e) {
6694
6695
  return ua(e) ? "custom" : Xr(e);
6695
6696
  }
6696
6697
  function Ga(e) {
6697
- return ua(e)?.label ?? js[Xr(e)];
6698
+ return ua(e)?.label ?? $s[Xr(e)];
6698
6699
  }
6699
6700
  function dn(e) {
6700
6701
  const t = ua(e);
6701
6702
  if (t) return t.icon ?? _n;
6702
- const n = $s[At(e)];
6703
+ const n = Vs[At(e)];
6703
6704
  if (n) return n;
6704
6705
  switch (ln(e)) {
6705
6706
  case "image":
@@ -6712,7 +6713,7 @@ function dn(e) {
6712
6713
  return _n;
6713
6714
  }
6714
6715
  }
6715
- function Fs(e) {
6716
+ function Hs(e) {
6716
6717
  if (e < 1024) return `${e} B`;
6717
6718
  const t = ["KB", "MB", "GB"];
6718
6719
  let n = e, r = -1;
@@ -6721,7 +6722,7 @@ function Fs(e) {
6721
6722
  while (n >= 1024 && r < t.length - 1);
6722
6723
  return `${n >= 100 ? Math.round(n) : n.toFixed(1)} ${t[r]}`;
6723
6724
  }
6724
- function em({
6725
+ function nm({
6725
6726
  value: e,
6726
6727
  onChange: t,
6727
6728
  readOnly: n,
@@ -6788,7 +6789,7 @@ function em({
6788
6789
  }
6789
6790
  }
6790
6791
  const F = e.map((k) => /* @__PURE__ */ a(
6791
- Hs,
6792
+ Gs,
6792
6793
  {
6793
6794
  item: k,
6794
6795
  editable: h && !r,
@@ -6801,7 +6802,7 @@ function em({
6801
6802
  for (const k of _)
6802
6803
  F.push(
6803
6804
  /* @__PURE__ */ a(
6804
- Vs,
6805
+ qs,
6805
6806
  {
6806
6807
  pending: k,
6807
6808
  onRetry: () => {
@@ -6852,10 +6853,10 @@ function em({
6852
6853
  children: H && /* @__PURE__ */ f(Se, { children: [
6853
6854
  /* @__PURE__ */ f(Dr, { children: [
6854
6855
  /* @__PURE__ */ a(Er, { className: "truncate pr-2", children: H.name }),
6855
- /* @__PURE__ */ a(Pr, { children: H.size != null ? `${Ga(H.name)} · ${Fs(H.size)}` : Ga(H.name) })
6856
+ /* @__PURE__ */ a(Pr, { children: H.size != null ? `${Ga(H.name)} · ${Hs(H.size)}` : Ga(H.name) })
6856
6857
  ] }),
6857
6858
  /* @__PURE__ */ a(
6858
- qs,
6859
+ Ws,
6859
6860
  {
6860
6861
  item: H,
6861
6862
  url: K,
@@ -6871,7 +6872,7 @@ function em({
6871
6872
  );
6872
6873
  }
6873
6874
  const Jr = "h-8 max-w-[min(100%,280px)] min-w-0 flex-nowrap items-center gap-1.5 rounded-lg px-2 text-xs", Qr = "text-muted-foreground size-4 shrink-0";
6874
- function Vs({
6875
+ function qs({
6875
6876
  pending: e,
6876
6877
  onRetry: t,
6877
6878
  onRemove: n
@@ -6880,7 +6881,7 @@ function Vs({
6880
6881
  return /* @__PURE__ */ f(cr, { className: Jr, state: e.state, children: [
6881
6882
  /* @__PURE__ */ a(o, { className: Qr }),
6882
6883
  /* @__PURE__ */ a(ur, { className: "flex-1", children: e.file.name }),
6883
- /* @__PURE__ */ a(ui, { className: "mt-0 max-w-40 shrink-0 truncate text-[10px]", children: r ? `上传失败${e.error ? ` · ${e.error}` : ""}` : "上传中…" }),
6884
+ /* @__PURE__ */ a(mi, { className: "mt-0 max-w-40 shrink-0 truncate text-[10px]", children: r ? `上传失败${e.error ? ` · ${e.error}` : ""}` : "上传中…" }),
6884
6885
  r && /* @__PURE__ */ f(fr, { children: [
6885
6886
  /* @__PURE__ */ a(
6886
6887
  Ba,
@@ -6901,7 +6902,7 @@ function Vs({
6901
6902
  ] })
6902
6903
  ] });
6903
6904
  }
6904
- function Hs({
6905
+ function Gs({
6905
6906
  item: e,
6906
6907
  editable: t,
6907
6908
  removable: n,
@@ -6911,7 +6912,7 @@ function Hs({
6911
6912
  const s = ln(e.name), [l, d] = j(!1), c = s === "image" && e.url && !l, u = dn(e.name);
6912
6913
  return /* @__PURE__ */ f(cr, { className: Jr, children: [
6913
6914
  /* @__PURE__ */ a(
6914
- fi,
6915
+ gi,
6915
6916
  {
6916
6917
  "aria-label": `预览 ${e.name}`,
6917
6918
  onClick: () => r(e)
@@ -6938,7 +6939,7 @@ function Hs({
6938
6939
  ) })
6939
6940
  ] });
6940
6941
  }
6941
- function qs({
6942
+ function Ws({
6942
6943
  item: e,
6943
6944
  url: t,
6944
6945
  failed: n,
@@ -6965,7 +6966,7 @@ function qs({
6965
6966
  )
6966
6967
  ] }),
6967
6968
  /* @__PURE__ */ a("div", { className: "min-h-0 flex-1 p-4", children: d ? /* @__PURE__ */ a(
6968
- Gs,
6969
+ Ks,
6969
6970
  {
6970
6971
  item: e,
6971
6972
  url: t,
@@ -6980,7 +6981,7 @@ function qs({
6980
6981
  onError: r,
6981
6982
  className: "max-h-full max-w-full object-contain"
6982
6983
  }
6983
- ) }) : s === "pdf" ? /* @__PURE__ */ a(Ws, { url: t, title: e.name, onError: r }) : s === "video" ? /* @__PURE__ */ a("div", { className: "flex h-full items-center justify-center", children: /* @__PURE__ */ a(
6984
+ ) }) : s === "pdf" ? /* @__PURE__ */ a(Us, { url: t, title: e.name, onError: r }) : s === "video" ? /* @__PURE__ */ a("div", { className: "flex h-full items-center justify-center", children: /* @__PURE__ */ a(
6984
6985
  "video",
6985
6986
  {
6986
6987
  controls: !0,
@@ -6988,14 +6989,14 @@ function qs({
6988
6989
  onError: r,
6989
6990
  className: "max-h-full max-w-full"
6990
6991
  }
6991
- ) }) : s === "audio" ? /* @__PURE__ */ a("div", { className: "flex h-full items-center justify-center", children: /* @__PURE__ */ a("audio", { controls: !0, src: t, onError: r, className: "w-full" }) }) : s === "excel" ? /* @__PURE__ */ a(Ys, { url: t, onError: r }) : s === "word" ? (
6992
+ ) }) : s === "audio" ? /* @__PURE__ */ a("div", { className: "flex h-full items-center justify-center", children: /* @__PURE__ */ a("audio", { controls: !0, src: t, onError: r, className: "w-full" }) }) : s === "excel" ? /* @__PURE__ */ a(Js, { url: t, onError: r }) : s === "word" ? (
6992
6993
  // .doc 无文本解析注入时不硬塞给 docx-preview(解析不了老格式)——
6993
6994
  // 落下载兜底;有注入在上面 legacyWord 分支已接走
6994
- At(e.name) === "doc" ? /* @__PURE__ */ a(Pt, { item: e, url: t, note: "此类型暂不支持在线预览" }) : /* @__PURE__ */ a(Xs, { url: t, onError: r })
6995
- ) : s === "text" ? /* @__PURE__ */ a(Ks, { url: t, onError: r }) : /* @__PURE__ */ a(Pt, { item: e, url: t, note: "此类型暂不支持在线预览" }) })
6995
+ At(e.name) === "doc" ? /* @__PURE__ */ a(Pt, { item: e, url: t, note: "此类型暂不支持在线预览" }) : /* @__PURE__ */ a(Qs, { url: t, onError: r })
6996
+ ) : s === "text" ? /* @__PURE__ */ a(Ys, { url: t, onError: r }) : /* @__PURE__ */ a(Pt, { item: e, url: t, note: "此类型暂不支持在线预览" }) })
6996
6997
  ] });
6997
6998
  }
6998
- function Gs({
6999
+ function Ks({
6999
7000
  item: e,
7000
7001
  url: t,
7001
7002
  getDocPreview: n
@@ -7039,7 +7040,7 @@ function Gs({
7039
7040
  ] }) })
7040
7041
  ] });
7041
7042
  }
7042
- function Ws({
7043
+ function Us({
7043
7044
  url: e,
7044
7045
  title: t,
7045
7046
  onError: n
@@ -7062,7 +7063,7 @@ function Ws({
7062
7063
  }, [e]), r ? /* @__PURE__ */ a("iframe", { src: r, title: t, className: "h-full w-full" }) : /* @__PURE__ */ a(qe, { className: "h-full w-full" });
7063
7064
  }
7064
7065
  const aa = 2 * 1024 * 1024;
7065
- function Ks({
7066
+ function Ys({
7066
7067
  url: e,
7067
7068
  onError: t
7068
7069
  }) {
@@ -7086,7 +7087,7 @@ function Ks({
7086
7087
  o && /* @__PURE__ */ a("span", { className: "text-muted-foreground mt-2 block", children: "(文件超 2MB,仅显示前 2MB 内容,完整内容请下载)" })
7087
7088
  ] });
7088
7089
  }
7089
- async function Us(e) {
7090
+ async function Xs(e) {
7090
7091
  const { read: t, utils: n } = await import("xlsx"), r = t(e, { type: "array" });
7091
7092
  return r.SheetNames.map((o) => {
7092
7093
  const s = r.Sheets[o];
@@ -7120,7 +7121,7 @@ async function Us(e) {
7120
7121
  return { name: o, rows: u };
7121
7122
  });
7122
7123
  }
7123
- function Ys({
7124
+ function Js({
7124
7125
  url: e,
7125
7126
  onError: t
7126
7127
  }) {
@@ -7130,7 +7131,7 @@ function Ys({
7130
7131
  return r(null), fetch(e).then(async (c) => {
7131
7132
  if (!c.ok) throw new Error(`HTTP ${c.status}`);
7132
7133
  return c.arrayBuffer();
7133
- }).then((c) => Us(c)).then((c) => {
7134
+ }).then((c) => Xs(c)).then((c) => {
7134
7135
  d && (r(c), s(0));
7135
7136
  }).catch(() => {
7136
7137
  d && t();
@@ -7168,7 +7169,7 @@ function Ys({
7168
7169
  )) }, c)) }) }) : /* @__PURE__ */ a("p", { className: "text-muted-foreground text-sm", children: "空工作表" }) })
7169
7170
  ] });
7170
7171
  }
7171
- function Xs({
7172
+ function Qs({
7172
7173
  url: e,
7173
7174
  onError: t
7174
7175
  }) {
@@ -7212,7 +7213,7 @@ function Pt({
7212
7213
  ] }) })
7213
7214
  ] });
7214
7215
  }
7215
- const Js = /Mac|iPhone|iPad|iPod/i;
7216
+ const Zs = /Mac|iPhone|iPad|iPod/i;
7216
7217
  function Zr(e, t = {}) {
7217
7218
  const n = q(t);
7218
7219
  n.current = t;
@@ -7236,7 +7237,7 @@ function Zr(e, t = {}) {
7236
7237
  };
7237
7238
  }, [e]), fe(() => {
7238
7239
  const s = e.current;
7239
- if (!s || Js.test(navigator.userAgent)) return;
7240
+ if (!s || Zs.test(navigator.userAgent)) return;
7240
7241
  const l = (d) => {
7241
7242
  if (d.deltaX !== 0 || d.deltaY === 0 || d.ctrlKey) return;
7242
7243
  const c = d.deltaMode === 1 ? d.deltaY * 16 : d.deltaMode === 2 ? d.deltaY * s.clientHeight : d.deltaY;
@@ -7298,7 +7299,7 @@ function eo({
7298
7299
  )
7299
7300
  ] });
7300
7301
  }
7301
- function Qs({
7302
+ function el({
7302
7303
  className: e,
7303
7304
  containerClassName: t,
7304
7305
  containerRef: n,
@@ -7346,7 +7347,7 @@ function Qs({
7346
7347
  }
7347
7348
  );
7348
7349
  }
7349
- function Zs({ className: e, ...t }) {
7350
+ function tl({ className: e, ...t }) {
7350
7351
  return /* @__PURE__ */ a(
7351
7352
  "thead",
7352
7353
  {
@@ -7366,7 +7367,7 @@ function to({ className: e, ...t }) {
7366
7367
  }
7367
7368
  );
7368
7369
  }
7369
- function tm({ className: e, ...t }) {
7370
+ function rm({ className: e, ...t }) {
7370
7371
  return /* @__PURE__ */ a(
7371
7372
  "tfoot",
7372
7373
  {
@@ -7394,7 +7395,7 @@ function ht({ className: e, ...t }) {
7394
7395
  }
7395
7396
  );
7396
7397
  }
7397
- function el({ className: e, ...t }) {
7398
+ function al({ className: e, ...t }) {
7398
7399
  return /* @__PURE__ */ a(
7399
7400
  "th",
7400
7401
  {
@@ -7420,7 +7421,7 @@ function Dt({ className: e, ...t }) {
7420
7421
  }
7421
7422
  );
7422
7423
  }
7423
- function am({
7424
+ function om({
7424
7425
  className: e,
7425
7426
  ...t
7426
7427
  }) {
@@ -7433,7 +7434,7 @@ function am({
7433
7434
  }
7434
7435
  );
7435
7436
  }
7436
- function tl(e) {
7437
+ function nl(e) {
7437
7438
  try {
7438
7439
  const t = localStorage.getItem(e);
7439
7440
  if (!t) return {};
@@ -7448,7 +7449,7 @@ function tl(e) {
7448
7449
  return {};
7449
7450
  }
7450
7451
  }
7451
- function al(e, t, n) {
7452
+ function rl(e, t, n) {
7452
7453
  const r = {};
7453
7454
  for (const [o, s] of Object.entries(t))
7454
7455
  n.has(o) && (r[o] = s);
@@ -7457,7 +7458,7 @@ function al(e, t, n) {
7457
7458
  } catch {
7458
7459
  }
7459
7460
  }
7460
- function nl(e) {
7461
+ function ol(e) {
7461
7462
  try {
7462
7463
  const t = localStorage.getItem(e);
7463
7464
  if (!t) return {};
@@ -7470,13 +7471,13 @@ function nl(e) {
7470
7471
  return {};
7471
7472
  }
7472
7473
  }
7473
- function rl(e, t) {
7474
+ function il(e, t) {
7474
7475
  try {
7475
7476
  t === void 0 ? localStorage.removeItem(e) : localStorage.setItem(e, JSON.stringify(t));
7476
7477
  } catch {
7477
7478
  }
7478
7479
  }
7479
- function ol(e) {
7480
+ function sl(e) {
7480
7481
  try {
7481
7482
  const t = localStorage.getItem(e);
7482
7483
  if (!t) return {};
@@ -7491,7 +7492,7 @@ function ol(e) {
7491
7492
  return {};
7492
7493
  }
7493
7494
  }
7494
- function il(e, t, n) {
7495
+ function ll(e, t, n) {
7495
7496
  const r = {};
7496
7497
  for (const [o, s] of Object.entries(t))
7497
7498
  s === !1 && n.has(o) && (r[o] = !1);
@@ -7536,7 +7537,7 @@ function cn(e) {
7536
7537
  ...typeof s == "number" && Number.isFinite(s) && s >= 0 ? { pinnedColumns: { left: Math.trunc(s) } } : {}
7537
7538
  };
7538
7539
  }
7539
- function sl(e) {
7540
+ function dl(e) {
7540
7541
  if (!e.trim() || /^(cols|pins|vis):/.test(e))
7541
7542
  throw new Error("DataTable tableKey 必须非空,且不能以 cols:、pins:、vis: 开头");
7542
7543
  return `table:${e}`;
@@ -7557,19 +7558,19 @@ function Ta(e) {
7557
7558
  return { value: Qt, writable: !0 };
7558
7559
  }
7559
7560
  }
7560
- function ll(e) {
7561
+ function cl(e) {
7561
7562
  const t = e.columnSizingKey ? `table:cols:${e.columnSizingKey}` : void 0, n = e.columnVisibilityKey ? `table:vis:${e.columnVisibilityKey}` : void 0, r = e.pinnedColumnsKey ? `table:pins:${e.pinnedColumnsKey}` : void 0;
7562
7563
  return {
7563
7564
  exists: [t, n, r].some((o) => o !== void 0 && ea(o) !== null),
7564
7565
  value: cn({
7565
- columnSizing: t ? tl(t) : void 0,
7566
- columnVisibility: n ? ol(n) : void 0,
7567
- pinnedColumns: r ? nl(r) : void 0
7566
+ columnSizing: t ? nl(t) : void 0,
7567
+ columnVisibility: n ? sl(n) : void 0,
7568
+ pinnedColumns: r ? ol(r) : void 0
7568
7569
  })
7569
7570
  };
7570
7571
  }
7571
- function dl(e, t = {}) {
7572
- const n = e === void 0 ? void 0 : sl(e), r = n ? ea(n) : null, o = r === null ? ll(t) : { exists: !1, value: Qt }, s = r === null ? { value: o.value, writable: !0 } : Ta(r);
7572
+ function ul(e, t = {}) {
7573
+ const n = e === void 0 ? void 0 : dl(e), r = n ? ea(n) : null, o = r === null ? cl(t) : { exists: !1, value: Qt }, s = r === null ? { value: o.value, writable: !0 } : Ta(r);
7573
7574
  let l = s.value, d = s.writable, c = !!(n && r === null && o.exists), u = !1;
7574
7575
  const p = /* @__PURE__ */ new Set(), m = /* @__PURE__ */ new Set();
7575
7576
  let h;
@@ -7592,15 +7593,15 @@ function dl(e, t = {}) {
7592
7593
  }
7593
7594
  } else {
7594
7595
  const g = t.columnSizingKey, C = t.columnVisibilityKey, M = t.pinnedColumnsKey;
7595
- g && p.has("columnSizing") && al(
7596
+ g && p.has("columnSizing") && rl(
7596
7597
  `table:cols:${g}`,
7597
7598
  l.columnSizing ?? {},
7598
7599
  new Set(Object.keys(l.columnSizing ?? {}))
7599
- ), C && p.has("columnVisibility") && il(
7600
+ ), C && p.has("columnVisibility") && ll(
7600
7601
  `table:vis:${C}`,
7601
7602
  l.columnVisibility ?? {},
7602
7603
  new Set(Object.keys(l.columnVisibility ?? {}))
7603
- ), M && p.has("pinnedColumns") && rl(`table:pins:${M}`, l.pinnedColumns), p.clear(), u = !1;
7604
+ ), M && p.has("pinnedColumns") && il(`table:pins:${M}`, l.pinnedColumns), p.clear(), u = !1;
7604
7605
  }
7605
7606
  }, I = (g) => {
7606
7607
  if (g.key !== n && g.key !== null) return;
@@ -7634,7 +7635,7 @@ function ao(e, t) {
7634
7635
  const u = Yt.get(e);
7635
7636
  if (u) return u;
7636
7637
  }
7637
- const c = dl(e, {
7638
+ const c = ul(e, {
7638
7639
  columnSizingKey: n,
7639
7640
  columnVisibilityKey: r,
7640
7641
  pinnedColumnsKey: o
@@ -7651,7 +7652,7 @@ function ao(e, t) {
7651
7652
  s.start();
7652
7653
  }, [s]), { preferences: d, update: s.update, reset: s.reset, getCurrent: s.getSnapshot };
7653
7654
  }
7654
- function cl(e, t, n) {
7655
+ function fl(e, t, n) {
7655
7656
  const r = [], o = new Map((e ?? []).map((l, d) => [l, d])), s = Math.max(0, t.length - n);
7656
7657
  for (let l = 0; l < t.length; ) {
7657
7658
  const d = t[l];
@@ -7668,7 +7669,7 @@ function cl(e, t, n) {
7668
7669
  }
7669
7670
  return r;
7670
7671
  }
7671
- function ul(e, t, n, r, o, s) {
7672
+ function ml(e, t, n, r, o, s) {
7672
7673
  const l = e.indexOf(n), d = e.indexOf(r);
7673
7674
  if (l < 0 || d < 0 || l === d) return;
7674
7675
  const c = (h) => h < o ? "left" : h >= Math.max(o, e.length - s) ? "right" : "center";
@@ -7679,7 +7680,7 @@ function ul(e, t, n, r, o, s) {
7679
7680
  const m = [...e];
7680
7681
  return m.splice(l, 1), m.splice(d, 0, n), m;
7681
7682
  }
7682
- function fl(e, t, n, r) {
7683
+ function gl(e, t, n, r) {
7683
7684
  const o = t.getBoundingClientRect(), s = e.getBoundingClientRect(), l = t.closest("table").getBoundingClientRect();
7684
7685
  let d = Math.max(s.left, r.left, 0), c = Math.min(s.right, r.right, window.innerWidth), u = Math.max(o.top, s.top, 0), p = Math.min(l.bottom, s.bottom, window.innerHeight);
7685
7686
  for (let w = e.parentElement; w; w = w.parentElement) {
@@ -7696,7 +7697,7 @@ function fl(e, t, n, r) {
7696
7697
  edge: Math.max(d + 2, Math.min(n ? o.right : o.left, c - 2))
7697
7698
  };
7698
7699
  }
7699
- function ml(e) {
7700
+ function pl(e) {
7700
7701
  const t = q(e);
7701
7702
  t.current = e;
7702
7703
  const n = q(() => {
@@ -7717,7 +7718,7 @@ function ml(e) {
7717
7718
  x: u,
7718
7719
  y: p,
7719
7720
  blocked: !!(B && K !== l && !h),
7720
- preview: h && Y && R ? fl(Y, R, X, t.current.columnBounds(h)) : void 0
7721
+ preview: h && Y && R ? gl(Y, R, X, t.current.columnBounds(h)) : void 0
7721
7722
  });
7722
7723
  }, g = () => {
7723
7724
  const L = t.current.container.current;
@@ -7747,7 +7748,7 @@ function ml(e) {
7747
7748
  }, document.addEventListener("pointermove", C, { passive: !1 }), document.addEventListener("pointerup", y), document.addEventListener("pointercancel", M), document.addEventListener("keydown", E), window.addEventListener("blur", M), window.addEventListener("resize", M), document.addEventListener("scroll", H, !0);
7748
7749
  } };
7749
7750
  }
7750
- function gl({
7751
+ function hl({
7751
7752
  drag: e,
7752
7753
  sourceLabel: t,
7753
7754
  targetLabel: n
@@ -7831,7 +7832,7 @@ function gl({
7831
7832
  document.body
7832
7833
  );
7833
7834
  }
7834
- function pl(e) {
7835
+ function bl(e) {
7835
7836
  const t = e.getBoundingClientRect(), n = e.querySelector("table").getBoundingClientRect(), r = e.querySelector("thead tr:last-child th")?.getBoundingClientRect();
7836
7837
  let o = Math.max(t.top, r?.bottom ?? t.top, 0), s = Math.min(t.bottom, n.bottom, window.innerHeight);
7837
7838
  for (let l = e.parentElement; l; l = l.parentElement)
@@ -7841,7 +7842,7 @@ function pl(e) {
7841
7842
  }
7842
7843
  return { top: o, bottom: s };
7843
7844
  }
7844
- function hl(e, t) {
7845
+ function vl(e, t) {
7845
7846
  const n = (o) => t < 0 ? o.scrollTop > 0 : o.scrollTop + o.clientHeight < o.scrollHeight - 1;
7846
7847
  for (let o = e; o; o = o.parentElement)
7847
7848
  if (o.scrollHeight > o.clientHeight && /(auto|scroll)/.test(getComputedStyle(o).overflowY) && n(o))
@@ -7849,7 +7850,7 @@ function hl(e, t) {
7849
7850
  const r = document.scrollingElement;
7850
7851
  return r && n(r) ? r : null;
7851
7852
  }
7852
- function bl(e) {
7853
+ function xl(e) {
7853
7854
  const t = q(e);
7854
7855
  t.current = e;
7855
7856
  const n = q(void 0), r = q(() => {
@@ -7885,9 +7886,9 @@ function bl(e) {
7885
7886
  }, W = (S) => {
7886
7887
  const G = t.current.container.current;
7887
7888
  if (G) {
7888
- const U = G.querySelector("td[data-row-selection-id]")?.getBoundingClientRect(), ae = G.getBoundingClientRect(), { top: Q, bottom: ie } = pl(G);
7889
+ const U = G.querySelector("td[data-row-selection-id]")?.getBoundingClientRect(), ae = G.getBoundingClientRect(), { top: Q, bottom: ie } = bl(G);
7889
7890
  if (U && ie > Q && M >= Math.max(U.left, ae.left, 0) && M <= Math.min(U.right, ae.right, window.innerWidth) && y >= Q - 24 && y <= ie + 24) {
7890
- const De = y < Q + 28 ? -12 : y > ie - 28 ? 12 : 0, Ke = G.querySelector("table").getBoundingClientRect(), tt = G.querySelector("tbody").getBoundingClientRect(), at = De < 0 ? tt.top < Q - 1 : Ke.bottom > ie + 1, nt = De && at ? hl(G, De) : null;
7891
+ const De = y < Q + 28 ? -12 : y > ie - 28 ? 12 : 0, Ke = G.querySelector("table").getBoundingClientRect(), tt = G.querySelector("tbody").getBoundingClientRect(), at = De < 0 ? tt.top < Q - 1 : Ke.bottom > ie + 1, nt = De && at ? vl(G, De) : null;
7891
7892
  if (nt) {
7892
7893
  const Nt = K ? Math.min(S - K, 32) / 16.666666666666668 : 1;
7893
7894
  nt.scrollTop += De * Nt;
@@ -7960,7 +7961,7 @@ function bl(e) {
7960
7961
  rowHint: (b) => l(b) ? void 0 : t.current.selection?.disabledTitle
7961
7962
  };
7962
7963
  }
7963
- function vl({
7964
+ function wl({
7964
7965
  rows: e,
7965
7966
  container: t,
7966
7967
  header: n,
@@ -8032,7 +8033,7 @@ function vl({
8032
8033
  function qn({ height: e, colCount: t }) {
8033
8034
  return e > 0 ? /* @__PURE__ */ a("tr", { "aria-hidden": "true", "data-virtual-spacer": "true", style: { height: e }, children: /* @__PURE__ */ a("td", { colSpan: t, style: { height: e, padding: 0, border: 0 } }) }) : null;
8034
8035
  }
8035
- function xl({ options: e, container: t, count: n, context: r, loading: o, initialError: s }) {
8036
+ function yl({ options: e, container: t, count: n, context: r, loading: o, initialError: s }) {
8036
8037
  const l = e.loadedCount ?? n, d = te(() => ({ context: r, busy: !1, attemptedCount: -1, active: !0 }), [r]), c = q({ options: e, count: l, loading: o, session: d });
8037
8038
  c.current = { options: e, count: l, loading: o, session: d };
8038
8039
  const [u, p] = j(), m = e.error || (u?.session === d && u.failedCount === l ? u.error : void 0), h = e.isLoadingMore || u?.session === d && u.busy, w = q(() => {
@@ -8131,7 +8132,7 @@ function Da(e, t) {
8131
8132
  }
8132
8133
  return n;
8133
8134
  }
8134
- function wl(e, t, n, r, o, s) {
8135
+ function Nl(e, t, n, r, o, s) {
8135
8136
  const l = q({ value: 0 });
8136
8137
  ut(() => {
8137
8138
  const d = l.current;
@@ -8173,8 +8174,8 @@ function wl(e, t, n, r, o, s) {
8173
8174
  }
8174
8175
  }), [t, n, r]);
8175
8176
  }
8176
- const yl = [];
8177
- function nm(e, { defaultSorting: t = yl, allowedIds: n, ...r } = {}) {
8177
+ const kl = [];
8178
+ function im(e, { defaultSorting: t = kl, allowedIds: n, ...r } = {}) {
8178
8179
  const { preferences: o, update: s, getCurrent: l } = ao(e, r), d = te(
8179
8180
  () => Zt(o.sorting ?? t, n),
8180
8181
  [o.sorting, t, n]
@@ -8184,8 +8185,8 @@ function nm(e, { defaultSorting: t = yl, allowedIds: n, ...r } = {}) {
8184
8185
  }, [t, n, l, s]);
8185
8186
  return [d, c];
8186
8187
  }
8187
- const Wn = 44, Nl = (e, t) => (e ?? 4) * 14 + 16 + 8 + 16 * t, Kn = "before:pointer-events-none before:absolute before:inset-y-0 before:-right-2 before:w-2 before:bg-gradient-to-r before:from-[color-mix(in_srgb,var(--foreground)_8%,transparent)] before:to-transparent before:content-['']", Un = "before:pointer-events-none before:absolute before:inset-y-0 before:-left-2 before:w-2 before:bg-gradient-to-l before:from-[color-mix(in_srgb,var(--foreground)_8%,transparent)] before:to-transparent before:content-['']", kl = "sticky z-[5] bg-background transition-colors group-hover/row:bg-[image:linear-gradient(color-mix(in_srgb,var(--muted)_50%,transparent)_0_0)] group-data-[state=selected]/row:bg-[image:linear-gradient(var(--muted)_0_0)]";
8188
- function zl({ render: e }) {
8188
+ const Wn = 44, zl = (e, t) => (e ?? 4) * 14 + 16 + 8 + 16 * t, Kn = "before:pointer-events-none before:absolute before:inset-y-0 before:-right-2 before:w-2 before:bg-gradient-to-r before:from-[color-mix(in_srgb,var(--foreground)_8%,transparent)] before:to-transparent before:content-['']", Un = "before:pointer-events-none before:absolute before:inset-y-0 before:-left-2 before:w-2 before:bg-gradient-to-l before:from-[color-mix(in_srgb,var(--foreground)_8%,transparent)] before:to-transparent before:content-['']", Cl = "sticky z-[5] bg-background transition-colors group-hover/row:bg-[image:linear-gradient(color-mix(in_srgb,var(--muted)_50%,transparent)_0_0)] group-data-[state=selected]/row:bg-[image:linear-gradient(var(--muted)_0_0)]";
8189
+ function Sl({ render: e }) {
8189
8190
  return e();
8190
8191
  }
8191
8192
  const Yn = (e) => e.renderValue()?.toString() ?? null;
@@ -8201,7 +8202,7 @@ function Xn({ active: e }) {
8201
8202
  return e ? /* @__PURE__ */ a(ve, { "aria-hidden": !0, className: "ml-auto size-3.5" }) : null;
8202
8203
  }
8203
8204
  function Jn(e, t) {
8204
- return typeof e == "function" ? /* @__PURE__ */ a(zl, { render: () => e(t) }) : e ?? null;
8205
+ return typeof e == "function" ? /* @__PURE__ */ a(Sl, { render: () => e(t) }) : e ?? null;
8205
8206
  }
8206
8207
  function Pa({ text: e, as: t = "div" }) {
8207
8208
  const n = q(null), [r, o] = j(!1), s = {
@@ -8248,16 +8249,16 @@ function Qn({ children: e, wrap: t = !1, as: n = "div" }) {
8248
8249
  t && "whitespace-normal wrap-anywhere"
8249
8250
  ), children: e });
8250
8251
  }
8251
- function rm(e) {
8252
+ function sm(e) {
8252
8253
  const t = JSON.stringify([
8253
8254
  e.tableKey,
8254
8255
  e.columnSizingKey,
8255
8256
  e.pinnedColumnsKey,
8256
8257
  e.columnVisibilityKey
8257
8258
  ]);
8258
- return /* @__PURE__ */ a(Cl, { ...e }, t);
8259
+ return /* @__PURE__ */ a(_l, { ...e }, t);
8259
8260
  }
8260
- function Cl({
8261
+ function _l({
8261
8262
  columns: e,
8262
8263
  data: t,
8263
8264
  loading: n = !1,
@@ -8391,7 +8392,7 @@ function Cl({
8391
8392
  ), ne = te(() => xe.map((v) => v.id), [xe]);
8392
8393
  at.current = new Set(ne);
8393
8394
  const we = Math.max(0, Math.trunc(y?.left ?? 0)), _e = Math.max(0, Math.trunc(y?.right ?? 0)), de = te(
8394
- () => cl(A.columnOrder, D, _e),
8395
+ () => fl(A.columnOrder, D, _e),
8395
8396
  [A.columnOrder, D, _e]
8396
8397
  ), ot = te(() => {
8397
8398
  const v = Object.fromEntries(
@@ -8492,13 +8493,13 @@ function Cl({
8492
8493
  const P = Ee.current?.querySelector("table");
8493
8494
  return P && x?.observe(P), () => x?.disconnect();
8494
8495
  }, [fo]);
8495
- const Ft = (v) => Fe.includes(v) ? "left" : gt.includes(v) ? "right" : void 0, ba = (v, x) => ul(de, D, v, x, Ct, _e), va = (v, x) => {
8496
+ const Ft = (v) => Fe.includes(v) ? "left" : gt.includes(v) ? "right" : void 0, ba = (v, x) => ml(de, D, v, x, Ct, _e), va = (v, x) => {
8496
8497
  const P = ba(v, x);
8497
8498
  P && zt(P);
8498
8499
  }, xa = (v, x) => Z[Z.indexOf(v) + x], Vt = (v, x) => {
8499
8500
  const P = xa(v, x);
8500
8501
  return !!(P && ba(v, P));
8501
- }, { drag: Ue, start: mo } = ml({
8502
+ }, { drag: Ue, start: mo } = pl({
8502
8503
  enabled: B,
8503
8504
  scope: JSON.stringify([
8504
8505
  de,
@@ -8525,7 +8526,7 @@ function Cl({
8525
8526
  oe.getState().pagination.pageIndex,
8526
8527
  oe.getState().sorting
8527
8528
  ]);
8528
- wl(
8529
+ Nl(
8529
8530
  I,
8530
8531
  Ee,
8531
8532
  gn,
@@ -8535,7 +8536,7 @@ function Cl({
8535
8536
  );
8536
8537
  const _t = st.map((v) => v.id), It = q({ ids: _t, revision: 0 });
8537
8538
  w && (_t.length < It.current.ids.length || !It.current.ids.every((v, x) => _t[x] === v)) && It.current.revision++, It.current.ids = _t;
8538
- const ka = bl({
8539
+ const ka = xl({
8539
8540
  selection: n ? void 0 : c,
8540
8541
  rows: st,
8541
8542
  container: Ee,
@@ -8626,7 +8627,7 @@ function Cl({
8626
8627
  "data-column-id": V.column.id,
8627
8628
  "data-row-selection-id": ee ? v.id : void 0,
8628
8629
  className: i(
8629
- Re && kl,
8630
+ Re && Cl,
8630
8631
  Re === "left" && V.column.id === ma && pa && Kn,
8631
8632
  Re === "right" && V.column.id === ga && ha && Un,
8632
8633
  V.column.columnDef.meta?.className,
@@ -8645,7 +8646,7 @@ function Cl({
8645
8646
  },
8646
8647
  W ? JSON.stringify([v.id, "row"]) : v.id
8647
8648
  ), wo = w ? /* @__PURE__ */ a(
8648
- xl,
8649
+ yl,
8649
8650
  {
8650
8651
  options: w,
8651
8652
  container: Ee,
@@ -8659,7 +8660,7 @@ function Cl({
8659
8660
  g && /* @__PURE__ */ a("p", { className: i("shrink-0 text-sm text-red-600", w && "mb-2"), children: g }),
8660
8661
  /* @__PURE__ */ f("div", { className: "group/dt-table relative flex min-h-0 flex-1 flex-col", children: [
8661
8662
  /* @__PURE__ */ f(
8662
- Qs,
8663
+ el,
8663
8664
  {
8664
8665
  containerClassName: "min-h-0 flex-1 overflow-auto",
8665
8666
  containerRef: Ee,
@@ -8671,8 +8672,8 @@ function Cl({
8671
8672
  } : void 0,
8672
8673
  children: [
8673
8674
  W && /* @__PURE__ */ a("colgroup", { children: oe.getVisibleLeafColumns().map((v) => /* @__PURE__ */ a("col", { style: { width: v.getSize() } }, v.id)) }),
8674
- /* @__PURE__ */ a(Zs, { ref: mn, className: "[&_tr]:border-b-0!", children: bn.map((v) => /* @__PURE__ */ a(ht, { children: v.headers.map((x) => {
8675
- const P = x.column.getCanSort(), V = x.column.getIsSorted(), ee = Ft(x.column.id), ce = F && ee !== "right" && x.column.columnDef.meta?.pinControl !== !1, he = Object.hasOwn(Ke, x.column.id) ? x.column.getSize() : void 0, je = co[x.column.id] ?? he, Me = $ && x.column.getCanHide(), ye = T && x.column.columnDef.meta?.menuControl !== !1, Pe = !x.isPlaceholder && c?.columnId === x.column.id, Ne = x.isPlaceholder ? null : Jn(x.column.columnDef.header, x.getContext()), Re = x.column.columnDef, lt = typeof Re.header == "string" ? Re.header : Re.header === Wa ? Re.accessorKey ?? Re.id : void 0, pt = ye && je !== void 0 && je < Nl(lt?.length, bo), yn = B && !x.isPlaceholder && !x.column.columns.length && (Vt(x.column.id, -1) || Vt(x.column.id, 1)), Be = c?.columnId !== x.column.id && lt && lt.length > 0 && qt(x.column) ? lt : void 0, yo = Be === void 0 && qt(x.column) && Re.meta?.headerEllipsis === !0, Nn = W && c?.columnId !== x.column.id && !x.isPlaceholder ? /* @__PURE__ */ a(Qn, { as: "span", wrap: Re.meta?.ellipsis === !1, children: Ne }) : Ne;
8675
+ /* @__PURE__ */ a(tl, { ref: mn, className: "[&_tr]:border-b-0!", children: bn.map((v) => /* @__PURE__ */ a(ht, { children: v.headers.map((x) => {
8676
+ const P = x.column.getCanSort(), V = x.column.getIsSorted(), ee = Ft(x.column.id), ce = F && ee !== "right" && x.column.columnDef.meta?.pinControl !== !1, he = Object.hasOwn(Ke, x.column.id) ? x.column.getSize() : void 0, je = co[x.column.id] ?? he, Me = $ && x.column.getCanHide(), ye = T && x.column.columnDef.meta?.menuControl !== !1, Pe = !x.isPlaceholder && c?.columnId === x.column.id, Ne = x.isPlaceholder ? null : Jn(x.column.columnDef.header, x.getContext()), Re = x.column.columnDef, lt = typeof Re.header == "string" ? Re.header : Re.header === Wa ? Re.accessorKey ?? Re.id : void 0, pt = ye && je !== void 0 && je < zl(lt?.length, bo), yn = B && !x.isPlaceholder && !x.column.columns.length && (Vt(x.column.id, -1) || Vt(x.column.id, 1)), Be = c?.columnId !== x.column.id && lt && lt.length > 0 && qt(x.column) ? lt : void 0, yo = Be === void 0 && qt(x.column) && Re.meta?.headerEllipsis === !0, Nn = W && c?.columnId !== x.column.id && !x.isPlaceholder ? /* @__PURE__ */ a(Qn, { as: "span", wrap: Re.meta?.ellipsis === !1, children: Ne }) : Ne;
8676
8677
  return (
8677
8678
  // 吸顶表头:bg 遮住滚过的行;底部分隔线用 after 伪元素画而不是
8678
8679
  // border-b——border-collapse: collapse 下 Safari 不渲染 sticky
@@ -8684,7 +8685,7 @@ function Cl({
8684
8685
  // 分隔线在 th 内高于 z-10 的图钉 / 菜单底色,避免常显或 hover
8685
8686
  // 时被盖断;不参与命中,底边的按钮点击与列宽拖拽仍可穿透。
8686
8687
  /* @__PURE__ */ f(
8687
- el,
8688
+ al,
8688
8689
  {
8689
8690
  colSpan: x.colSpan,
8690
8691
  "data-column-id": x.isPlaceholder ? void 0 : x.column.id,
@@ -8961,7 +8962,7 @@ function Cl({
8961
8962
  ] }),
8962
8963
  za.length > 0 && /* @__PURE__ */ f(Se, { children: [
8963
8964
  /* @__PURE__ */ a(Kt, {}),
8964
- /* @__PURE__ */ a(Bi, { className: "text-xs text-muted-foreground", children: "已隐藏的列" }),
8965
+ /* @__PURE__ */ a(Fi, { className: "text-xs text-muted-foreground", children: "已隐藏的列" }),
8965
8966
  za.map((ke) => /* @__PURE__ */ f(
8966
8967
  $e,
8967
8968
  {
@@ -9025,7 +9026,7 @@ function Cl({
9025
9026
  );
9026
9027
  }) }, v.id)) }),
9027
9028
  W && !n && st.length ? /* @__PURE__ */ a(
9028
- vl,
9029
+ wl,
9029
9030
  {
9030
9031
  rows: st,
9031
9032
  container: Ee,
@@ -9047,7 +9048,7 @@ function Cl({
9047
9048
  }
9048
9049
  ),
9049
9050
  Ue && wa && /* @__PURE__ */ a(
9050
- gl,
9051
+ hl,
9051
9052
  {
9052
9053
  drag: Ue,
9053
9054
  sourceLabel: Ie.current.get(wa.id)?.textContent?.trim() || Ea(wa),
@@ -9092,27 +9093,27 @@ function Cl({
9092
9093
  )
9093
9094
  ] });
9094
9095
  }
9095
- function om(e, t) {
9096
+ function lm(e, t) {
9096
9097
  const n = e[0];
9097
9098
  return {
9098
9099
  sort: n?.id ?? t,
9099
9100
  order: n?.desc ? "desc" : "asc"
9100
9101
  };
9101
9102
  }
9102
- const Sl = 2e3, _l = /* @__PURE__ */ new Map();
9103
- function im({
9103
+ const Il = 2e3, Ml = /* @__PURE__ */ new Map();
9104
+ function dm({
9104
9105
  context: e,
9105
9106
  fetchAll: t,
9106
9107
  selectable: n,
9107
9108
  onSelectAll: r,
9108
- limit: o = Sl,
9109
+ limit: o = Il,
9109
9110
  errorText: s = "选全部失败,请重试"
9110
9111
  }) {
9111
9112
  const [l, d] = j({ context: "", rows: /* @__PURE__ */ new Map(), allPicked: !1 }), c = q(e);
9112
9113
  c.current = e, fe(() => {
9113
9114
  d({ context: e, rows: /* @__PURE__ */ new Map(), allPicked: !1 });
9114
9115
  }, [e]);
9115
- const u = l.context === e ? l.rows : _l, p = te(() => [...u.keys()], [u]), m = (g) => d(
9116
+ const u = l.context === e ? l.rows : Ml, p = te(() => [...u.keys()], [u]), m = (g) => d(
9116
9117
  (C) => C.context === e ? {
9117
9118
  context: e,
9118
9119
  allPicked: C.allPicked,
@@ -9160,7 +9161,7 @@ function im({
9160
9161
  limit: o
9161
9162
  };
9162
9163
  }
9163
- function sm({
9164
+ function cm({
9164
9165
  count: e,
9165
9166
  offPageCount: t = 0,
9166
9167
  measure: n = "条",
@@ -9210,7 +9211,7 @@ function sm({
9210
9211
  ] })
9211
9212
  ] });
9212
9213
  }
9213
- function lm({
9214
+ function um({
9214
9215
  groups: e,
9215
9216
  activeId: t = null,
9216
9217
  keyword: n = "",
@@ -9526,17 +9527,17 @@ function lm({
9526
9527
  ),
9527
9528
  D.items.map((ne) => xe(ne))
9528
9529
  ] }, D.key)) : /* @__PURE__ */ a(
9529
- $i,
9530
+ Vi,
9530
9531
  {
9531
9532
  "data-testid": "chat-history-empty",
9532
9533
  className: "justify-center border-0 py-8",
9533
- children: /* @__PURE__ */ a(Fi, { className: "justify-center", children: /* @__PURE__ */ a(Hi, { className: "text-xs font-normal text-muted-foreground", children: n.trim() ? y : M }) })
9534
+ children: /* @__PURE__ */ a(Hi, { className: "justify-center", children: /* @__PURE__ */ a(Gi, { className: "text-xs font-normal text-muted-foreground", children: n.trim() ? y : M }) })
9534
9535
  }
9535
9536
  )
9536
9537
  }
9537
9538
  ),
9538
9539
  o && K && /* @__PURE__ */ a(
9539
- ns,
9540
+ os,
9540
9541
  {
9541
9542
  "data-testid": "chat-history-loading",
9542
9543
  className: "bg-transparent backdrop-blur-none",
@@ -9548,7 +9549,7 @@ function lm({
9548
9549
  }
9549
9550
  );
9550
9551
  }
9551
- function dm({
9552
+ function fm({
9552
9553
  value: e,
9553
9554
  old: t,
9554
9555
  className: n,
@@ -9572,8 +9573,8 @@ function dm({
9572
9573
  }
9573
9574
  );
9574
9575
  }
9575
- const Il = { small: "h-6", default: "h-8", large: "h-10" };
9576
- function cm({
9576
+ const Tl = { small: "h-6", default: "h-8", large: "h-10" };
9577
+ function mm({
9577
9578
  className: e,
9578
9579
  options: t,
9579
9580
  value: n,
@@ -9591,7 +9592,7 @@ function cm({
9591
9592
  "data-slot": "segmented",
9592
9593
  className: i(
9593
9594
  "inline-flex box-border items-stretch gap-0.5 rounded-[var(--emoo-radius-base)] border border-[var(--emoo-ghost-border-color)] bg-[var(--emoo-ghost-bg)] p-[3px]",
9594
- Il[o],
9595
+ Tl[o],
9595
9596
  e
9596
9597
  ),
9597
9598
  ...d,
@@ -9626,7 +9627,7 @@ function cm({
9626
9627
  }
9627
9628
  );
9628
9629
  }
9629
- function um({
9630
+ function gm({
9630
9631
  value: e,
9631
9632
  onValueChange: t,
9632
9633
  placeholder: n = "",
@@ -9688,8 +9689,8 @@ function um({
9688
9689
  }
9689
9690
  );
9690
9691
  }
9691
- const Ml = 40;
9692
- function fm({ items: e, labelOf: t, gap: n = 10, className: r }) {
9692
+ const Dl = 40;
9693
+ function pm({ items: e, labelOf: t, gap: n = 10, className: r }) {
9693
9694
  const o = O.useRef(null), s = O.useRef([]), [l, d] = O.useState(e.length), [c, u] = O.useState(0), p = O.useCallback(() => {
9694
9695
  const w = o.current, b = s.current.filter((y) => y !== null), N = w?.clientWidth ?? 0;
9695
9696
  if (b.length === 0 || N <= 0) {
@@ -9704,7 +9705,7 @@ function fm({ items: e, labelOf: t, gap: n = 10, className: r }) {
9704
9705
  let g = 0, C = 0;
9705
9706
  for (const y of _) {
9706
9707
  const E = C === 0 ? y : g + n + y;
9707
- if (E > N - Ml) break;
9708
+ if (E > N - Dl) break;
9708
9709
  g = E, C++;
9709
9710
  }
9710
9711
  const M = Math.max(1, C);
@@ -9752,7 +9753,7 @@ function fm({ items: e, labelOf: t, gap: n = 10, className: r }) {
9752
9753
  c > 0 ? /* @__PURE__ */ a(Qe, { children: h }) : null
9753
9754
  ] }) });
9754
9755
  }
9755
- function mm({ className: e, ...t }) {
9756
+ function hm({ className: e, ...t }) {
9756
9757
  return /* @__PURE__ */ a(
9757
9758
  "nav",
9758
9759
  {
@@ -9763,7 +9764,7 @@ function mm({ className: e, ...t }) {
9763
9764
  }
9764
9765
  );
9765
9766
  }
9766
- function gm({ className: e, ...t }) {
9767
+ function bm({ className: e, ...t }) {
9767
9768
  return /* @__PURE__ */ a(
9768
9769
  "ol",
9769
9770
  {
@@ -9776,7 +9777,7 @@ function gm({ className: e, ...t }) {
9776
9777
  }
9777
9778
  );
9778
9779
  }
9779
- function pm({ className: e, ...t }) {
9780
+ function vm({ className: e, ...t }) {
9780
9781
  return /* @__PURE__ */ a(
9781
9782
  "li",
9782
9783
  {
@@ -9786,7 +9787,7 @@ function pm({ className: e, ...t }) {
9786
9787
  }
9787
9788
  );
9788
9789
  }
9789
- function hm({
9790
+ function xm({
9790
9791
  asChild: e,
9791
9792
  className: t,
9792
9793
  ...n
@@ -9801,7 +9802,7 @@ function hm({
9801
9802
  }
9802
9803
  );
9803
9804
  }
9804
- function bm({ className: e, ...t }) {
9805
+ function wm({ className: e, ...t }) {
9805
9806
  return /* @__PURE__ */ a(
9806
9807
  "span",
9807
9808
  {
@@ -9814,7 +9815,7 @@ function bm({ className: e, ...t }) {
9814
9815
  }
9815
9816
  );
9816
9817
  }
9817
- function vm({
9818
+ function ym({
9818
9819
  children: e,
9819
9820
  className: t,
9820
9821
  ...n
@@ -9831,7 +9832,7 @@ function vm({
9831
9832
  }
9832
9833
  );
9833
9834
  }
9834
- function xm({
9835
+ function Nm({
9835
9836
  className: e,
9836
9837
  ...t
9837
9838
  }) {
@@ -9853,7 +9854,7 @@ function xm({
9853
9854
  }
9854
9855
  );
9855
9856
  }
9856
- function wm({
9857
+ function km({
9857
9858
  className: e,
9858
9859
  ...t
9859
9860
  }) {
@@ -9869,27 +9870,27 @@ function wm({
9869
9870
  }
9870
9871
  );
9871
9872
  }
9872
- function ym({
9873
+ function zm({
9873
9874
  ...e
9874
9875
  }) {
9875
9876
  return /* @__PURE__ */ a(pe.Menu, { "data-slot": "menubar-menu", ...e });
9876
9877
  }
9877
- function Nm({
9878
+ function Cm({
9878
9879
  ...e
9879
9880
  }) {
9880
9881
  return /* @__PURE__ */ a(pe.Group, { "data-slot": "menubar-group", ...e });
9881
9882
  }
9882
- function Tl({
9883
+ function El({
9883
9884
  ...e
9884
9885
  }) {
9885
9886
  return /* @__PURE__ */ a(pe.Portal, { "data-slot": "menubar-portal", ...e });
9886
9887
  }
9887
- function km({
9888
+ function Sm({
9888
9889
  ...e
9889
9890
  }) {
9890
9891
  return /* @__PURE__ */ a(pe.RadioGroup, { "data-slot": "menubar-radio-group", ...e });
9891
9892
  }
9892
- function zm({
9893
+ function _m({
9893
9894
  className: e,
9894
9895
  ...t
9895
9896
  }) {
@@ -9905,14 +9906,14 @@ function zm({
9905
9906
  }
9906
9907
  );
9907
9908
  }
9908
- function Cm({
9909
+ function Im({
9909
9910
  className: e,
9910
9911
  align: t = "start",
9911
9912
  alignOffset: n = -4,
9912
9913
  sideOffset: r = 8,
9913
9914
  ...o
9914
9915
  }) {
9915
- return /* @__PURE__ */ a(Tl, { children: /* @__PURE__ */ a(
9916
+ return /* @__PURE__ */ a(El, { children: /* @__PURE__ */ a(
9916
9917
  pe.Content,
9917
9918
  {
9918
9919
  "data-slot": "menubar-content",
@@ -9924,7 +9925,7 @@ function Cm({
9924
9925
  }
9925
9926
  ) });
9926
9927
  }
9927
- function Sm({
9928
+ function Mm({
9928
9929
  className: e,
9929
9930
  inset: t,
9930
9931
  variant: n = "default",
@@ -9944,7 +9945,7 @@ function Sm({
9944
9945
  }
9945
9946
  );
9946
9947
  }
9947
- function _m({
9948
+ function Tm({
9948
9949
  className: e,
9949
9950
  children: t,
9950
9951
  checked: n,
@@ -9972,7 +9973,7 @@ function _m({
9972
9973
  }
9973
9974
  );
9974
9975
  }
9975
- function Im({
9976
+ function Dm({
9976
9977
  className: e,
9977
9978
  children: t,
9978
9979
  inset: n,
@@ -9998,7 +9999,7 @@ function Im({
9998
9999
  }
9999
10000
  );
10000
10001
  }
10001
- function Mm({
10002
+ function Em({
10002
10003
  className: e,
10003
10004
  inset: t,
10004
10005
  ...n
@@ -10016,7 +10017,7 @@ function Mm({
10016
10017
  }
10017
10018
  );
10018
10019
  }
10019
- function Tm({
10020
+ function Pm({
10020
10021
  className: e,
10021
10022
  ...t
10022
10023
  }) {
@@ -10029,7 +10030,7 @@ function Tm({
10029
10030
  }
10030
10031
  );
10031
10032
  }
10032
- function Dm({
10033
+ function Rm({
10033
10034
  className: e,
10034
10035
  ...t
10035
10036
  }) {
@@ -10045,12 +10046,12 @@ function Dm({
10045
10046
  }
10046
10047
  );
10047
10048
  }
10048
- function Em({
10049
+ function Lm({
10049
10050
  ...e
10050
10051
  }) {
10051
10052
  return /* @__PURE__ */ a(pe.Sub, { "data-slot": "menubar-sub", ...e });
10052
10053
  }
10053
- function Pm({
10054
+ function Am({
10054
10055
  className: e,
10055
10056
  inset: t,
10056
10057
  children: n,
@@ -10073,7 +10074,7 @@ function Pm({
10073
10074
  }
10074
10075
  );
10075
10076
  }
10076
- function Rm({
10077
+ function Om({
10077
10078
  className: e,
10078
10079
  ...t
10079
10080
  }) {
@@ -10086,7 +10087,7 @@ function Rm({
10086
10087
  }
10087
10088
  );
10088
10089
  }
10089
- function Lm({
10090
+ function jm({
10090
10091
  className: e,
10091
10092
  children: t,
10092
10093
  viewport: n = !0,
@@ -10104,12 +10105,12 @@ function Lm({
10104
10105
  ...r,
10105
10106
  children: [
10106
10107
  t,
10107
- n && /* @__PURE__ */ a(El, {})
10108
+ n && /* @__PURE__ */ a(Rl, {})
10108
10109
  ]
10109
10110
  }
10110
10111
  );
10111
10112
  }
10112
- function Am({
10113
+ function Bm({
10113
10114
  className: e,
10114
10115
  ...t
10115
10116
  }) {
@@ -10125,7 +10126,7 @@ function Am({
10125
10126
  }
10126
10127
  );
10127
10128
  }
10128
- function Om({
10129
+ function $m({
10129
10130
  className: e,
10130
10131
  ...t
10131
10132
  }) {
@@ -10138,10 +10139,10 @@ function Om({
10138
10139
  }
10139
10140
  );
10140
10141
  }
10141
- const Dl = se(
10142
+ const Pl = se(
10142
10143
  "group/navigation-menu-trigger inline-flex h-9 w-max items-center justify-center rounded-lg px-2.5 py-1.5 text-sm font-medium transition-all outline-none hover:bg-muted focus:bg-muted focus-visible:ring-3 focus-visible:ring-ring/50 focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-popup-open:bg-muted/50 data-popup-open:hover:bg-muted data-open:bg-muted/50 data-open:hover:bg-muted data-open:focus:bg-muted"
10143
10144
  );
10144
- function jm({
10145
+ function Fm({
10145
10146
  className: e,
10146
10147
  children: t,
10147
10148
  ...n
@@ -10150,7 +10151,7 @@ function jm({
10150
10151
  Ze.Trigger,
10151
10152
  {
10152
10153
  "data-slot": "navigation-menu-trigger",
10153
- className: i(Dl(), "group", e),
10154
+ className: i(Pl(), "group", e),
10154
10155
  ...n,
10155
10156
  children: [
10156
10157
  t,
@@ -10160,7 +10161,7 @@ function jm({
10160
10161
  }
10161
10162
  );
10162
10163
  }
10163
- function Bm({
10164
+ function Vm({
10164
10165
  className: e,
10165
10166
  ...t
10166
10167
  }) {
@@ -10176,7 +10177,7 @@ function Bm({
10176
10177
  }
10177
10178
  );
10178
10179
  }
10179
- function El({
10180
+ function Rl({
10180
10181
  className: e,
10181
10182
  ...t
10182
10183
  }) {
@@ -10200,7 +10201,7 @@ function El({
10200
10201
  }
10201
10202
  );
10202
10203
  }
10203
- function $m({
10204
+ function Hm({
10204
10205
  className: e,
10205
10206
  ...t
10206
10207
  }) {
@@ -10216,7 +10217,7 @@ function $m({
10216
10217
  }
10217
10218
  );
10218
10219
  }
10219
- function Fm({
10220
+ function qm({
10220
10221
  className: e,
10221
10222
  ...t
10222
10223
  }) {
@@ -10233,14 +10234,14 @@ function Fm({
10233
10234
  }
10234
10235
  );
10235
10236
  }
10236
- const Pl = "sidebar_state", Rl = 3600 * 24 * 7, Ll = "16rem", Al = "18rem", Ol = "3rem", jl = "b", no = O.createContext(null);
10237
+ const Ll = "sidebar_state", Al = 3600 * 24 * 7, Ol = "16rem", jl = "18rem", Bl = "3rem", $l = "b", no = O.createContext(null);
10237
10238
  function fa() {
10238
10239
  const e = O.useContext(no);
10239
10240
  if (!e)
10240
10241
  throw new Error("useSidebar must be used within a SidebarProvider.");
10241
10242
  return e;
10242
10243
  }
10243
- function Vm({
10244
+ function Gm({
10244
10245
  defaultOpen: e = !0,
10245
10246
  open: t,
10246
10247
  onOpenChange: n,
@@ -10252,13 +10253,13 @@ function Vm({
10252
10253
  const d = $r(), [c, u] = O.useState(!1), [p, m] = O.useState(e), h = t ?? p, w = O.useCallback(
10253
10254
  (I) => {
10254
10255
  const g = typeof I == "function" ? I(h) : I;
10255
- n ? n(g) : m(g), document.cookie = `${Pl}=${g}; path=/; max-age=${Rl}`;
10256
+ n ? n(g) : m(g), document.cookie = `${Ll}=${g}; path=/; max-age=${Al}`;
10256
10257
  },
10257
10258
  [n, h]
10258
10259
  ), b = O.useCallback(() => d ? u((I) => !I) : w((I) => !I), [d, w, u]);
10259
10260
  O.useEffect(() => {
10260
10261
  const I = (g) => {
10261
- g.key === jl && (g.metaKey || g.ctrlKey) && (g.preventDefault(), b());
10262
+ g.key === $l && (g.metaKey || g.ctrlKey) && (g.preventDefault(), b());
10262
10263
  };
10263
10264
  return window.addEventListener("keydown", I), () => window.removeEventListener("keydown", I);
10264
10265
  }, [b]);
@@ -10279,8 +10280,8 @@ function Vm({
10279
10280
  {
10280
10281
  "data-slot": "sidebar-wrapper",
10281
10282
  style: {
10282
- "--sidebar-width": Ll,
10283
- "--sidebar-width-icon": Ol,
10283
+ "--sidebar-width": Ol,
10284
+ "--sidebar-width-icon": Bl,
10284
10285
  ...o
10285
10286
  },
10286
10287
  className: i(
@@ -10292,7 +10293,7 @@ function Vm({
10292
10293
  }
10293
10294
  ) });
10294
10295
  }
10295
- function Hm({
10296
+ function Wm({
10296
10297
  side: e = "left",
10297
10298
  variant: t = "sidebar",
10298
10299
  collapsible: n = "offcanvas",
@@ -10322,7 +10323,7 @@ function Hm({
10322
10323
  "data-mobile": "true",
10323
10324
  className: "w-(--sidebar-width) bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden",
10324
10325
  style: {
10325
- "--sidebar-width": Al
10326
+ "--sidebar-width": jl
10326
10327
  },
10327
10328
  side: e,
10328
10329
  children: [
@@ -10382,7 +10383,7 @@ function Hm({
10382
10383
  }
10383
10384
  );
10384
10385
  }
10385
- function qm({
10386
+ function Km({
10386
10387
  className: e,
10387
10388
  onClick: t,
10388
10389
  ...n
@@ -10407,7 +10408,7 @@ function qm({
10407
10408
  }
10408
10409
  );
10409
10410
  }
10410
- function Gm({ className: e, ...t }) {
10411
+ function Um({ className: e, ...t }) {
10411
10412
  const { toggleSidebar: n } = fa();
10412
10413
  return /* @__PURE__ */ a(
10413
10414
  "button",
@@ -10431,7 +10432,7 @@ function Gm({ className: e, ...t }) {
10431
10432
  }
10432
10433
  );
10433
10434
  }
10434
- function Wm({ className: e, ...t }) {
10435
+ function Ym({ className: e, ...t }) {
10435
10436
  return /* @__PURE__ */ a(
10436
10437
  "main",
10437
10438
  {
@@ -10444,7 +10445,7 @@ function Wm({ className: e, ...t }) {
10444
10445
  }
10445
10446
  );
10446
10447
  }
10447
- function Km({
10448
+ function Xm({
10448
10449
  className: e,
10449
10450
  ...t
10450
10451
  }) {
@@ -10458,7 +10459,7 @@ function Km({
10458
10459
  }
10459
10460
  );
10460
10461
  }
10461
- function Um({ className: e, ...t }) {
10462
+ function Jm({ className: e, ...t }) {
10462
10463
  return /* @__PURE__ */ a(
10463
10464
  "div",
10464
10465
  {
@@ -10469,7 +10470,7 @@ function Um({ className: e, ...t }) {
10469
10470
  }
10470
10471
  );
10471
10472
  }
10472
- function Ym({ className: e, ...t }) {
10473
+ function Qm({ className: e, ...t }) {
10473
10474
  return /* @__PURE__ */ a(
10474
10475
  "div",
10475
10476
  {
@@ -10480,7 +10481,7 @@ function Ym({ className: e, ...t }) {
10480
10481
  }
10481
10482
  );
10482
10483
  }
10483
- function Xm({
10484
+ function Zm({
10484
10485
  className: e,
10485
10486
  ...t
10486
10487
  }) {
@@ -10494,7 +10495,7 @@ function Xm({
10494
10495
  }
10495
10496
  );
10496
10497
  }
10497
- function Jm({ className: e, ...t }) {
10498
+ function eg({ className: e, ...t }) {
10498
10499
  return /* @__PURE__ */ a(
10499
10500
  "div",
10500
10501
  {
@@ -10508,7 +10509,7 @@ function Jm({ className: e, ...t }) {
10508
10509
  }
10509
10510
  );
10510
10511
  }
10511
- function Qm({ className: e, ...t }) {
10512
+ function tg({ className: e, ...t }) {
10512
10513
  return /* @__PURE__ */ a(
10513
10514
  "div",
10514
10515
  {
@@ -10519,7 +10520,7 @@ function Qm({ className: e, ...t }) {
10519
10520
  }
10520
10521
  );
10521
10522
  }
10522
- function Zm({
10523
+ function ag({
10523
10524
  className: e,
10524
10525
  asChild: t = !1,
10525
10526
  ...n
@@ -10538,7 +10539,7 @@ function Zm({
10538
10539
  }
10539
10540
  );
10540
10541
  }
10541
- function eg({
10542
+ function ng({
10542
10543
  className: e,
10543
10544
  asChild: t = !1,
10544
10545
  ...n
@@ -10557,7 +10558,7 @@ function eg({
10557
10558
  }
10558
10559
  );
10559
10560
  }
10560
- function tg({
10561
+ function rg({
10561
10562
  className: e,
10562
10563
  ...t
10563
10564
  }) {
@@ -10571,7 +10572,7 @@ function tg({
10571
10572
  }
10572
10573
  );
10573
10574
  }
10574
- function ag({ className: e, ...t }) {
10575
+ function og({ className: e, ...t }) {
10575
10576
  return /* @__PURE__ */ a(
10576
10577
  "ul",
10577
10578
  {
@@ -10582,7 +10583,7 @@ function ag({ className: e, ...t }) {
10582
10583
  }
10583
10584
  );
10584
10585
  }
10585
- function ng({ className: e, ...t }) {
10586
+ function ig({ className: e, ...t }) {
10586
10587
  return /* @__PURE__ */ a(
10587
10588
  "li",
10588
10589
  {
@@ -10593,7 +10594,7 @@ function ng({ className: e, ...t }) {
10593
10594
  }
10594
10595
  );
10595
10596
  }
10596
- const ro = "relative data-active:bg-sidebar-primary/10 data-active:text-sidebar-foreground data-active:font-semibold data-active:**:text-sidebar-foreground data-active:hover:bg-sidebar-primary/10 data-active:hover:text-sidebar-foreground data-active:active:bg-sidebar-primary/10 data-active:active:text-sidebar-foreground data-active:data-open:hover:bg-sidebar-primary/10 data-active:data-open:hover:text-sidebar-foreground data-active:before:pointer-events-none data-active:before:absolute data-active:before:left-0 data-active:before:top-1/2 data-active:before:h-4 data-active:before:w-[3px] data-active:before:-translate-y-1/2 data-active:before:rounded-r-full data-active:before:bg-sidebar-primary", Bl = se(
10597
+ const ro = "relative data-active:bg-sidebar-primary/10 data-active:text-sidebar-foreground data-active:font-semibold data-active:**:text-sidebar-foreground data-active:hover:bg-sidebar-primary/10 data-active:hover:text-sidebar-foreground data-active:active:bg-sidebar-primary/10 data-active:active:text-sidebar-foreground data-active:data-open:hover:bg-sidebar-primary/10 data-active:data-open:hover:text-sidebar-foreground data-active:before:pointer-events-none data-active:before:absolute data-active:before:left-0 data-active:before:top-1/2 data-active:before:h-4 data-active:before:w-[3px] data-active:before:-translate-y-1/2 data-active:before:rounded-r-full data-active:before:bg-sidebar-primary", Fl = se(
10597
10598
  [
10598
10599
  "peer/menu-button group/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm ring-sidebar-ring outline-hidden transition-[width,height,padding] group-has-data-[sidebar=menu-action]/menu-item:pr-8 group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-open:hover:bg-sidebar-accent data-open:hover:text-sidebar-accent-foreground [&_svg]:size-4 [&_svg]:shrink-0 [&>span:last-child]:truncate",
10599
10600
  ro
@@ -10616,7 +10617,7 @@ const ro = "relative data-active:bg-sidebar-primary/10 data-active:text-sidebar-
10616
10617
  }
10617
10618
  }
10618
10619
  );
10619
- function rg({
10620
+ function sg({
10620
10621
  asChild: e = !1,
10621
10622
  isActive: t = !1,
10622
10623
  variant: n = "default",
@@ -10632,7 +10633,7 @@ function rg({
10632
10633
  "data-sidebar": "menu-button",
10633
10634
  "data-size": r,
10634
10635
  "data-active": t,
10635
- className: i(Bl({ variant: n, size: r }), s),
10636
+ className: i(Fl({ variant: n, size: r }), s),
10636
10637
  ...l
10637
10638
  }
10638
10639
  );
@@ -10651,7 +10652,7 @@ function rg({
10651
10652
  )
10652
10653
  ] })) : p;
10653
10654
  }
10654
- function og({
10655
+ function lg({
10655
10656
  className: e,
10656
10657
  asChild: t = !1,
10657
10658
  showOnHover: n = !1,
@@ -10673,7 +10674,7 @@ function og({
10673
10674
  }
10674
10675
  );
10675
10676
  }
10676
- function ig({
10677
+ function dg({
10677
10678
  className: e,
10678
10679
  ...t
10679
10680
  }) {
@@ -10690,7 +10691,7 @@ function ig({
10690
10691
  }
10691
10692
  );
10692
10693
  }
10693
- function sg({
10694
+ function cg({
10694
10695
  className: e,
10695
10696
  showIcon: t = !1,
10696
10697
  ...n
@@ -10725,7 +10726,7 @@ function sg({
10725
10726
  }
10726
10727
  );
10727
10728
  }
10728
- function lg({ className: e, ...t }) {
10729
+ function ug({ className: e, ...t }) {
10729
10730
  return /* @__PURE__ */ a(
10730
10731
  "ul",
10731
10732
  {
@@ -10739,7 +10740,7 @@ function lg({ className: e, ...t }) {
10739
10740
  }
10740
10741
  );
10741
10742
  }
10742
- function dg({
10743
+ function fg({
10743
10744
  className: e,
10744
10745
  ...t
10745
10746
  }) {
@@ -10753,7 +10754,7 @@ function dg({
10753
10754
  }
10754
10755
  );
10755
10756
  }
10756
- function cg({
10757
+ function mg({
10757
10758
  asChild: e = !1,
10758
10759
  size: t = "md",
10759
10760
  isActive: n = !1,
@@ -10783,7 +10784,7 @@ function cg({
10783
10784
  }
10784
10785
  const ct = se(
10785
10786
  "inline-flex shrink-0 cursor-pointer items-center justify-center border border-transparent bg-transparent p-0 font-[inherit] leading-[inherit] whitespace-nowrap select-none outline-none [-webkit-tap-highlight-color:transparent] [&_svg]:pointer-events-none [&_svg]:shrink-0"
10786
- ), $l = se(
10787
+ ), Vl = se(
10787
10788
  i(
10788
10789
  ct(),
10789
10790
  "gap-1 text-[15px] text-[var(--emoo-text-color-tertiary)] transition-[background-color,color] duration-150 ease-[var(--emoo-ease)] motion-reduce:transition-none"
@@ -10812,18 +10813,18 @@ const ct = se(
10812
10813
  defaultVariants: { variant: "icon", touch: !1 }
10813
10814
  }
10814
10815
  );
10815
- function ug({ pill: e, touch: t, className: n, type: r = "button", ...o }) {
10816
+ function gg({ pill: e, touch: t, className: n, type: r = "button", ...o }) {
10816
10817
  return /* @__PURE__ */ a(
10817
10818
  "button",
10818
10819
  {
10819
10820
  "data-slot": "ghost-button",
10820
- className: i($l({ variant: e ? "pill" : "icon", touch: !!t, className: n })),
10821
+ className: i(Vl({ variant: e ? "pill" : "icon", touch: !!t, className: n })),
10821
10822
  ...o,
10822
10823
  type: r
10823
10824
  }
10824
10825
  );
10825
10826
  }
10826
- function fg({ icon: e, label: t, kbd: n, className: r, type: o = "button", ...s }) {
10827
+ function pg({ icon: e, label: t, kbd: n, className: r, type: o = "button", ...s }) {
10827
10828
  return /* @__PURE__ */ f(
10828
10829
  "button",
10829
10830
  {
@@ -10865,7 +10866,7 @@ function fg({ icon: e, label: t, kbd: n, className: r, type: o = "button", ...s
10865
10866
  }
10866
10867
  );
10867
10868
  }
10868
- function mg({
10869
+ function hg({
10869
10870
  variant: e = "composer",
10870
10871
  grip: t = !1,
10871
10872
  resizing: n = !1,
@@ -10916,11 +10917,11 @@ function mg({
10916
10917
  }
10917
10918
  );
10918
10919
  }
10919
- const Fl = (e) => !!(e.children && e.children.length > 0), Vl = (e, t) => e.active ?? t === (e.path || e.key);
10920
+ const Hl = (e) => !!(e.children && e.children.length > 0), ql = (e, t) => e.active ?? t === (e.path || e.key);
10920
10921
  function oo(e, t) {
10921
10922
  return e.path && t.startsWith(e.path) ? !0 : (e.children ?? []).some((n) => oo(n, t));
10922
10923
  }
10923
- const Hl = (e) => !!e.action && !e.path && !e.children, Ra = (e) => `emoo-nav-${e.key.replace(/[^a-zA-Z0-9_-]/g, "-")}-children`;
10924
+ const Gl = (e) => !!e.action && !e.path && !e.children, Ra = (e) => `emoo-nav-${e.key.replace(/[^a-zA-Z0-9_-]/g, "-")}-children`;
10924
10925
  function Zn(e, t) {
10925
10926
  return i(
10926
10927
  "w-full gap-2 rounded-[var(--emoo-radius-base)] px-2.5 text-[length:var(--emoo-font-size-nav)]",
@@ -10928,7 +10929,7 @@ function Zn(e, t) {
10928
10929
  t
10929
10930
  );
10930
10931
  }
10931
- function gg({
10932
+ function bg({
10932
10933
  items: e,
10933
10934
  activePath: t = "",
10934
10935
  canShow: n = () => !0,
@@ -10969,8 +10970,8 @@ function gg({
10969
10970
  )
10970
10971
  }
10971
10972
  ), I = (g, C) => {
10972
- if (!Fl(g)) {
10973
- const E = Vl(g, t), H = Hl(g) && g.active !== !0;
10973
+ if (!Hl(g)) {
10974
+ const E = ql(g, t), H = Gl(g) && g.active !== !0;
10974
10975
  return C === 0 ? /* @__PURE__ */ f(
10975
10976
  "button",
10976
10977
  {
@@ -11116,7 +11117,7 @@ function gg({
11116
11117
  }
11117
11118
  );
11118
11119
  }
11119
- function pg({ items: e, activeKey: t = "", navigate: n, onSelect: r, className: o }) {
11120
+ function vg({ items: e, activeKey: t = "", navigate: n, onSelect: r, className: o }) {
11120
11121
  return /* @__PURE__ */ a(
11121
11122
  "nav",
11122
11123
  {
@@ -11152,7 +11153,7 @@ function pg({ items: e, activeKey: t = "", navigate: n, onSelect: r, className:
11152
11153
  }
11153
11154
  );
11154
11155
  }
11155
- function hg({
11156
+ function xg({
11156
11157
  collapsed: e = !1,
11157
11158
  overlay: t = !1,
11158
11159
  resizing: n = !1,
@@ -11188,430 +11189,449 @@ function hg({
11188
11189
  }
11189
11190
  );
11190
11191
  }
11192
+ function wg({ type: e, size: t = "1em", ...n }) {
11193
+ return /* @__PURE__ */ a(
11194
+ "svg",
11195
+ {
11196
+ "data-slot": "file-type-icon",
11197
+ "data-testid": "emoo-file-type-icon",
11198
+ "data-type": e,
11199
+ width: t,
11200
+ height: t,
11201
+ viewBox: oi(e),
11202
+ fill: "none",
11203
+ "aria-hidden": "true",
11204
+ focusable: "false",
11205
+ ...n,
11206
+ dangerouslySetInnerHTML: { __html: ri(e) }
11207
+ }
11208
+ );
11209
+ }
11191
11210
  export {
11192
- cd as Accordion,
11193
- md as AccordionContent,
11194
- ud as AccordionItem,
11195
- fd as AccordionTrigger,
11196
- fg as ActionPill,
11197
- zd as Alert,
11198
- _d as AlertAction,
11199
- Sd as AlertDescription,
11200
- gd as AlertDialog,
11201
- Nd as AlertDialogAction,
11202
- kd as AlertDialogCancel,
11203
- hd as AlertDialogContent,
11204
- yd as AlertDialogDescription,
11205
- vd as AlertDialogFooter,
11206
- bd as AlertDialogHeader,
11207
- xd as AlertDialogMedia,
11208
- si as AlertDialogOverlay,
11209
- ii as AlertDialogPortal,
11210
- wd as AlertDialogTitle,
11211
- pd as AlertDialogTrigger,
11212
- Cd as AlertTitle,
11213
- Ju as AmountInput,
11214
- Qu as AmountText,
11215
- Id as AspectRatio,
11211
+ md as Accordion,
11212
+ hd as AccordionContent,
11213
+ gd as AccordionItem,
11214
+ pd as AccordionTrigger,
11215
+ pg as ActionPill,
11216
+ _d as Alert,
11217
+ Td as AlertAction,
11218
+ Md as AlertDescription,
11219
+ bd as AlertDialog,
11220
+ Cd as AlertDialogAction,
11221
+ Sd as AlertDialogCancel,
11222
+ xd as AlertDialogContent,
11223
+ zd as AlertDialogDescription,
11224
+ yd as AlertDialogFooter,
11225
+ wd as AlertDialogHeader,
11226
+ Nd as AlertDialogMedia,
11227
+ di as AlertDialogOverlay,
11228
+ li as AlertDialogPortal,
11229
+ kd as AlertDialogTitle,
11230
+ vd as AlertDialogTrigger,
11231
+ Id as AlertTitle,
11232
+ ef as AmountInput,
11233
+ tf as AmountText,
11234
+ Dd as AspectRatio,
11216
11235
  cr as Attachment,
11217
11236
  Ba as AttachmentAction,
11218
11237
  fr as AttachmentActions,
11219
- Td as AttachmentContent,
11220
- ui as AttachmentDescription,
11221
- Dd as AttachmentGroup,
11222
- Md as AttachmentMedia,
11238
+ Pd as AttachmentContent,
11239
+ mi as AttachmentDescription,
11240
+ Rd as AttachmentGroup,
11241
+ Ed as AttachmentMedia,
11223
11242
  ur as AttachmentTitle,
11224
- fi as AttachmentTrigger,
11225
- Ed as Avatar,
11226
- Ld as AvatarBadge,
11227
- Rd as AvatarFallback,
11228
- Ad as AvatarGroup,
11229
- Od as AvatarGroupCount,
11230
- Pd as AvatarImage,
11231
- Sl as BULK_SELECTION_LIMIT,
11243
+ gi as AttachmentTrigger,
11244
+ Ld as Avatar,
11245
+ jd as AvatarBadge,
11246
+ Od as AvatarFallback,
11247
+ Bd as AvatarGroup,
11248
+ $d as AvatarGroupCount,
11249
+ Ad as AvatarImage,
11250
+ Il as BULK_SELECTION_LIMIT,
11232
11251
  mr as Badge,
11233
- mm as Breadcrumb,
11234
- xm as BreadcrumbEllipsis,
11235
- pm as BreadcrumbItem,
11236
- hm as BreadcrumbLink,
11237
- gm as BreadcrumbList,
11238
- bm as BreadcrumbPage,
11239
- vm as BreadcrumbSeparator,
11240
- gf as Bubble,
11241
- pf as BubbleContent,
11242
- mf as BubbleGroup,
11243
- hf as BubbleReactions,
11244
- sm as BulkSelectionBar,
11252
+ hm as Breadcrumb,
11253
+ Nm as BreadcrumbEllipsis,
11254
+ vm as BreadcrumbItem,
11255
+ xm as BreadcrumbLink,
11256
+ bm as BreadcrumbList,
11257
+ wm as BreadcrumbPage,
11258
+ ym as BreadcrumbSeparator,
11259
+ bf as Bubble,
11260
+ vf as BubbleContent,
11261
+ hf as BubbleGroup,
11262
+ xf as BubbleReactions,
11263
+ cm as BulkSelectionBar,
11245
11264
  J as Button,
11246
- jd as ButtonGroup,
11247
- $d as ButtonGroupSeparator,
11248
- Bd as ButtonGroupText,
11249
- rs as CURRENCIES,
11250
- vi as Calendar,
11251
- xi as CalendarDayButton,
11252
- qd as Card,
11253
- Ud as CardAction,
11254
- Yd as CardContent,
11255
- Kd as CardDescription,
11256
- Xd as CardFooter,
11257
- Gd as CardHeader,
11258
- Wd as CardTitle,
11259
- bf as Carousel,
11260
- vf as CarouselContent,
11261
- xf as CarouselItem,
11262
- yf as CarouselNext,
11263
- wf as CarouselPrevious,
11265
+ Fd as ButtonGroup,
11266
+ Hd as ButtonGroupSeparator,
11267
+ Vd as ButtonGroupText,
11268
+ is as CURRENCIES,
11269
+ wi as Calendar,
11270
+ yi as CalendarDayButton,
11271
+ Kd as Card,
11272
+ Jd as CardAction,
11273
+ Qd as CardContent,
11274
+ Xd as CardDescription,
11275
+ Zd as CardFooter,
11276
+ Ud as CardHeader,
11277
+ Yd as CardTitle,
11278
+ wf as Carousel,
11279
+ yf as CarouselContent,
11280
+ Nf as CarouselItem,
11281
+ zf as CarouselNext,
11282
+ kf as CarouselPrevious,
11264
11283
  Lt as Checkbox,
11265
- ds as CheckboxGroup,
11266
- fm as Chips,
11284
+ us as CheckboxGroup,
11285
+ pm as Chips,
11267
11286
  Ut as Choice,
11268
- wi as Collapsible,
11269
- Ni as CollapsibleContent,
11270
- rf as CollapsibleList,
11271
- yi as CollapsibleTrigger,
11272
- gl as ColumnDragOverlay,
11273
- Ai as Command,
11274
- ac as CommandDialog,
11275
- oc as CommandEmpty,
11276
- ic as CommandGroup,
11277
- nc as CommandInput,
11278
- lc as CommandItem,
11279
- rc as CommandList,
11280
- sc as CommandSeparator,
11281
- dc as CommandShortcut,
11282
- cc as ContextMenu,
11283
- wc as ContextMenuCheckboxItem,
11284
- hc as ContextMenuContent,
11285
- fc as ContextMenuGroup,
11286
- bc as ContextMenuItem,
11287
- Nc as ContextMenuLabel,
11288
- mc as ContextMenuPortal,
11289
- pc as ContextMenuRadioGroup,
11290
- yc as ContextMenuRadioItem,
11291
- kc as ContextMenuSeparator,
11292
- zc as ContextMenuShortcut,
11293
- gc as ContextMenuSub,
11294
- xc as ContextMenuSubContent,
11295
- vc as ContextMenuSubTrigger,
11296
- uc as ContextMenuTrigger,
11297
- rm as DataTable,
11298
- hs as DatePicker,
11299
- ki as Dialog,
11300
- Qd as DialogClose,
11301
- Si as DialogContent,
11302
- Mi as DialogDescription,
11303
- Zd as DialogFooter,
11304
- _i as DialogHeader,
11305
- Ci as DialogOverlay,
11306
- zi as DialogPortal,
11307
- Ii as DialogTitle,
11308
- Jd as DialogTrigger,
11309
- Cc as DirectionProvider,
11310
- _c as Drawer,
11311
- Mc as DrawerClose,
11312
- Tc as DrawerContent,
11313
- Rc as DrawerDescription,
11314
- Ec as DrawerFooter,
11315
- Dc as DrawerHeader,
11316
- ji as DrawerOverlay,
11317
- Oi as DrawerPortal,
11318
- Pc as DrawerTitle,
11319
- Ic as DrawerTrigger,
11287
+ Ni as Collapsible,
11288
+ zi as CollapsibleContent,
11289
+ lf as CollapsibleList,
11290
+ ki as CollapsibleTrigger,
11291
+ hl as ColumnDragOverlay,
11292
+ ji as Command,
11293
+ oc as CommandDialog,
11294
+ lc as CommandEmpty,
11295
+ dc as CommandGroup,
11296
+ ic as CommandInput,
11297
+ uc as CommandItem,
11298
+ sc as CommandList,
11299
+ cc as CommandSeparator,
11300
+ fc as CommandShortcut,
11301
+ mc as ContextMenu,
11302
+ kc as ContextMenuCheckboxItem,
11303
+ xc as ContextMenuContent,
11304
+ pc as ContextMenuGroup,
11305
+ wc as ContextMenuItem,
11306
+ Cc as ContextMenuLabel,
11307
+ hc as ContextMenuPortal,
11308
+ vc as ContextMenuRadioGroup,
11309
+ zc as ContextMenuRadioItem,
11310
+ Sc as ContextMenuSeparator,
11311
+ _c as ContextMenuShortcut,
11312
+ bc as ContextMenuSub,
11313
+ Nc as ContextMenuSubContent,
11314
+ yc as ContextMenuSubTrigger,
11315
+ gc as ContextMenuTrigger,
11316
+ sm as DataTable,
11317
+ vs as DatePicker,
11318
+ Ci as Dialog,
11319
+ tc as DialogClose,
11320
+ Ii as DialogContent,
11321
+ Di as DialogDescription,
11322
+ ac as DialogFooter,
11323
+ Mi as DialogHeader,
11324
+ _i as DialogOverlay,
11325
+ Si as DialogPortal,
11326
+ Ti as DialogTitle,
11327
+ ec as DialogTrigger,
11328
+ Ic as DirectionProvider,
11329
+ Tc as Drawer,
11330
+ Ec as DrawerClose,
11331
+ Pc as DrawerContent,
11332
+ Oc as DrawerDescription,
11333
+ Lc as DrawerFooter,
11334
+ Rc as DrawerHeader,
11335
+ $i as DrawerOverlay,
11336
+ Bi as DrawerPortal,
11337
+ Ac as DrawerTitle,
11338
+ Dc as DrawerTrigger,
11320
11339
  Cr as DropdownMenu,
11321
- Oc as DropdownMenuCheckboxItem,
11340
+ $c as DropdownMenuCheckboxItem,
11322
11341
  _r as DropdownMenuContent,
11323
- Ac as DropdownMenuGroup,
11342
+ Bc as DropdownMenuGroup,
11324
11343
  $e as DropdownMenuItem,
11325
- Bi as DropdownMenuLabel,
11326
- Lc as DropdownMenuPortal,
11327
- jc as DropdownMenuRadioGroup,
11328
- Bc as DropdownMenuRadioItem,
11344
+ Fi as DropdownMenuLabel,
11345
+ jc as DropdownMenuPortal,
11346
+ Fc as DropdownMenuRadioGroup,
11347
+ Vc as DropdownMenuRadioItem,
11329
11348
  Kt as DropdownMenuSeparator,
11330
- $c as DropdownMenuShortcut,
11331
- Fc as DropdownMenuSub,
11332
- Hc as DropdownMenuSubContent,
11333
- Vc as DropdownMenuSubTrigger,
11349
+ Hc as DropdownMenuShortcut,
11350
+ qc as DropdownMenuSub,
11351
+ Wc as DropdownMenuSubContent,
11352
+ Gc as DropdownMenuSubTrigger,
11334
11353
  Sr as DropdownMenuTrigger,
11335
- Ns as EditField,
11354
+ zs as EditField,
11336
11355
  Pa as EllipsisText,
11337
- $i as Empty,
11338
- Wc as EmptyContent,
11339
- Gc as EmptyDescription,
11340
- Fi as EmptyHeader,
11341
- qc as EmptyMedia,
11342
- Hi as EmptyTitle,
11356
+ Vi as Empty,
11357
+ Yc as EmptyContent,
11358
+ Uc as EmptyDescription,
11359
+ Hi as EmptyHeader,
11360
+ Kc as EmptyMedia,
11361
+ Gi as EmptyTitle,
11343
11362
  jt as EmptyValue,
11344
11363
  Xt as EntityAvatar,
11345
11364
  qr as FULL_SPAN,
11346
- Xc as Field,
11347
- Jc as FieldContent,
11348
- eu as FieldDescription,
11349
- au as FieldError,
11350
- tf as FieldGrid,
11351
- Yc as FieldGroup,
11352
- Qc as FieldLabel,
11353
- Uc as FieldLegend,
11354
- tu as FieldSeparator,
11355
- Kc as FieldSet,
11356
- Zc as FieldTitle,
11357
- Qf as FileIntakeTarget,
11358
- em as FileUpload,
11359
- nf as FoldSection,
11360
- ks as GateField,
11361
- ug as GhostButton,
11365
+ Zc as Field,
11366
+ eu as FieldContent,
11367
+ nu as FieldDescription,
11368
+ ou as FieldError,
11369
+ rf as FieldGrid,
11370
+ Qc as FieldGroup,
11371
+ tu as FieldLabel,
11372
+ Jc as FieldLegend,
11373
+ ru as FieldSeparator,
11374
+ Xc as FieldSet,
11375
+ au as FieldTitle,
11376
+ tm as FileIntakeTarget,
11377
+ wg as FileTypeIcon,
11378
+ nm as FileUpload,
11379
+ sf as FoldSection,
11380
+ Cs as GateField,
11381
+ gg as GhostButton,
11362
11382
  eo as HScrollArrows,
11363
- of as HierarchyPicker,
11364
- lm as HistoryList,
11365
- nu as HoverCard,
11366
- ou as HoverCardContent,
11367
- ru as HoverCardTrigger,
11368
- xl as InfiniteTableLoader,
11383
+ df as HierarchyPicker,
11384
+ um as HistoryList,
11385
+ iu as HoverCard,
11386
+ lu as HoverCardContent,
11387
+ su as HoverCardTrigger,
11388
+ yl as InfiniteTableLoader,
11369
11389
  Ae as Input,
11370
11390
  Nr as InputClearButton,
11371
11391
  zr as InputGroup,
11372
11392
  $a as InputGroupAddon,
11373
- ec as InputGroupButton,
11374
- Li as InputGroupInput,
11375
- Ri as InputGroupText,
11376
- tc as InputGroupTextarea,
11377
- iu as InputOTP,
11378
- su as InputOTPGroup,
11379
- du as InputOTPSeparator,
11380
- lu as InputOTPSlot,
11381
- fu as Item,
11382
- bu as ItemActions,
11383
- gu as ItemContent,
11384
- hu as ItemDescription,
11385
- xu as ItemFooter,
11386
- cu as ItemGroup,
11387
- vu as ItemHeader,
11388
- mu as ItemMedia,
11389
- uu as ItemSeparator,
11390
- pu as ItemTitle,
11391
- wu as Kbd,
11392
- yu as KbdGroup,
11393
+ nc as InputGroupButton,
11394
+ Oi as InputGroupInput,
11395
+ Ai as InputGroupText,
11396
+ rc as InputGroupTextarea,
11397
+ du as InputOTP,
11398
+ cu as InputOTPGroup,
11399
+ fu as InputOTPSeparator,
11400
+ uu as InputOTPSlot,
11401
+ pu as Item,
11402
+ wu as ItemActions,
11403
+ bu as ItemContent,
11404
+ xu as ItemDescription,
11405
+ Nu as ItemFooter,
11406
+ mu as ItemGroup,
11407
+ yu as ItemHeader,
11408
+ hu as ItemMedia,
11409
+ gu as ItemSeparator,
11410
+ vu as ItemTitle,
11411
+ ku as Kbd,
11412
+ zu as KbdGroup,
11393
11413
  la as Label,
11394
- ns as LoadingOverlay,
11395
- Nf as Marker,
11396
- zf as MarkerContent,
11397
- kf as MarkerIcon,
11398
- wm as Menubar,
11399
- _m as MenubarCheckboxItem,
11400
- Cm as MenubarContent,
11401
- Nm as MenubarGroup,
11402
- Sm as MenubarItem,
11403
- Mm as MenubarLabel,
11404
- ym as MenubarMenu,
11405
- Tl as MenubarPortal,
11406
- km as MenubarRadioGroup,
11407
- Im as MenubarRadioItem,
11408
- Tm as MenubarSeparator,
11409
- Dm as MenubarShortcut,
11410
- Em as MenubarSub,
11411
- Rm as MenubarSubContent,
11412
- Pm as MenubarSubTrigger,
11413
- zm as MenubarTrigger,
11414
- Ef as Message,
11415
- Pf as MessageAvatar,
11416
- Rf as MessageContent,
11417
- Af as MessageFooter,
11418
- Df as MessageGroup,
11419
- Lf as MessageHeader,
11420
- Sf as MessageScroller,
11421
- Tf as MessageScrollerButton,
11422
- If as MessageScrollerContent,
11423
- Mf as MessageScrollerItem,
11424
- Cf as MessageScrollerProvider,
11425
- _f as MessageScrollerViewport,
11426
- ms as MultiSelect,
11427
- Nu as NativeSelect,
11428
- zu as NativeSelectOptGroup,
11429
- ku as NativeSelectOption,
11430
- gg as NavMenu,
11431
- pg as NavSegmented,
11432
- Lm as NavigationMenu,
11433
- Bm as NavigationMenuContent,
11434
- Fm as NavigationMenuIndicator,
11435
- Om as NavigationMenuItem,
11436
- $m as NavigationMenuLink,
11437
- Am as NavigationMenuList,
11438
- jm as NavigationMenuTrigger,
11439
- El as NavigationMenuViewport,
11414
+ os as LoadingOverlay,
11415
+ Cf as Marker,
11416
+ _f as MarkerContent,
11417
+ Sf as MarkerIcon,
11418
+ km as Menubar,
11419
+ Tm as MenubarCheckboxItem,
11420
+ Im as MenubarContent,
11421
+ Cm as MenubarGroup,
11422
+ Mm as MenubarItem,
11423
+ Em as MenubarLabel,
11424
+ zm as MenubarMenu,
11425
+ El as MenubarPortal,
11426
+ Sm as MenubarRadioGroup,
11427
+ Dm as MenubarRadioItem,
11428
+ Pm as MenubarSeparator,
11429
+ Rm as MenubarShortcut,
11430
+ Lm as MenubarSub,
11431
+ Om as MenubarSubContent,
11432
+ Am as MenubarSubTrigger,
11433
+ _m as MenubarTrigger,
11434
+ Lf as Message,
11435
+ Af as MessageAvatar,
11436
+ Of as MessageContent,
11437
+ Bf as MessageFooter,
11438
+ Rf as MessageGroup,
11439
+ jf as MessageHeader,
11440
+ Mf as MessageScroller,
11441
+ Pf as MessageScrollerButton,
11442
+ Df as MessageScrollerContent,
11443
+ Ef as MessageScrollerItem,
11444
+ If as MessageScrollerProvider,
11445
+ Tf as MessageScrollerViewport,
11446
+ ps as MultiSelect,
11447
+ Cu as NativeSelect,
11448
+ _u as NativeSelectOptGroup,
11449
+ Su as NativeSelectOption,
11450
+ bg as NavMenu,
11451
+ vg as NavSegmented,
11452
+ jm as NavigationMenu,
11453
+ Vm as NavigationMenuContent,
11454
+ qm as NavigationMenuIndicator,
11455
+ $m as NavigationMenuItem,
11456
+ Hm as NavigationMenuLink,
11457
+ Bm as NavigationMenuList,
11458
+ Fm as NavigationMenuTrigger,
11459
+ Rl as NavigationMenuViewport,
11440
11460
  wt as OptionPill,
11441
- Cu as Pagination,
11442
- Su as PaginationContent,
11443
- Tu as PaginationEllipsis,
11444
- _u as PaginationItem,
11461
+ Iu as Pagination,
11462
+ Mu as PaginationContent,
11463
+ Pu as PaginationEllipsis,
11464
+ Tu as PaginationItem,
11445
11465
  Ir as PaginationLink,
11446
- Mu as PaginationNext,
11447
- Iu as PaginationPrevious,
11466
+ Eu as PaginationNext,
11467
+ Du as PaginationPrevious,
11448
11468
  tn as Popover,
11449
- Du as PopoverAnchor,
11469
+ Ru as PopoverAnchor,
11450
11470
  nn as PopoverContent,
11451
- Ru as PopoverDescription,
11452
- Eu as PopoverHeader,
11453
- Pu as PopoverTitle,
11471
+ Ou as PopoverDescription,
11472
+ Lu as PopoverHeader,
11473
+ Au as PopoverTitle,
11454
11474
  an as PopoverTrigger,
11455
11475
  Pt as PreviewFallbackCard,
11456
- Lu as Progress,
11457
- Of as Questionnaire,
11458
- Kf as QuestionnaireActions,
11459
- Hf as QuestionnaireChoice,
11460
- qf as QuestionnaireChoiceDescription,
11461
- Vf as QuestionnaireChoices,
11462
- Ff as QuestionnaireDescription,
11463
- Wf as QuestionnaireError,
11464
- Gf as QuestionnaireInput,
11465
- Bf as QuestionnaireItem,
11466
- Xf as QuestionnaireNext,
11467
- Uf as QuestionnairePrevious,
11468
- jf as QuestionnaireProgress,
11469
- Yf as QuestionnaireSkip,
11470
- Jf as QuestionnaireSubmit,
11471
- $f as QuestionnaireTitle,
11472
- Ki as RadioGroup,
11473
- gs as RadioGroupField,
11474
- Ui as RadioGroupItem,
11475
- fs as RemoteSearchSelect,
11476
+ ju as Progress,
11477
+ $f as Questionnaire,
11478
+ Xf as QuestionnaireActions,
11479
+ Wf as QuestionnaireChoice,
11480
+ Kf as QuestionnaireChoiceDescription,
11481
+ Gf as QuestionnaireChoices,
11482
+ qf as QuestionnaireDescription,
11483
+ Yf as QuestionnaireError,
11484
+ Uf as QuestionnaireInput,
11485
+ Vf as QuestionnaireItem,
11486
+ Zf as QuestionnaireNext,
11487
+ Jf as QuestionnairePrevious,
11488
+ Ff as QuestionnaireProgress,
11489
+ Qf as QuestionnaireSkip,
11490
+ em as QuestionnaireSubmit,
11491
+ Hf as QuestionnaireTitle,
11492
+ Yi as RadioGroup,
11493
+ hs as RadioGroupField,
11494
+ Xi as RadioGroupItem,
11495
+ gs as RemoteSearchSelect,
11476
11496
  Vr as RemovableBadge,
11477
- ju as ResizableHandle,
11478
- Ou as ResizablePanel,
11479
- Au as ResizablePanelGroup,
11480
- Bu as ScrollArea,
11481
- Yi as ScrollBar,
11482
- mg as SearchBox,
11483
- af as SectionTitle,
11484
- cm as Segmented,
11497
+ Fu as ResizableHandle,
11498
+ $u as ResizablePanel,
11499
+ Bu as ResizablePanelGroup,
11500
+ Vu as ScrollArea,
11501
+ Ji as ScrollBar,
11502
+ hg as SearchBox,
11503
+ of as SectionTitle,
11504
+ mm as Segmented,
11485
11505
  br as Select,
11486
11506
  wr as SelectContent,
11487
- Fd as SelectGroup,
11507
+ qd as SelectGroup,
11488
11508
  sa as SelectIndicator,
11489
11509
  yr as SelectItem,
11490
- Vd as SelectLabel,
11491
- hi as SelectScrollDownButton,
11492
- pi as SelectScrollUpButton,
11493
- Hd as SelectSeparator,
11510
+ Gd as SelectLabel,
11511
+ vi as SelectScrollDownButton,
11512
+ bi as SelectScrollUpButton,
11513
+ Wd as SelectSeparator,
11494
11514
  xr as SelectTrigger,
11495
11515
  vr as SelectValue,
11496
11516
  ia as Separator,
11497
11517
  Tr as Sheet,
11498
- Fu as SheetClose,
11518
+ qu as SheetClose,
11499
11519
  rn as SheetContent,
11500
11520
  Pr as SheetDescription,
11501
- Vu as SheetFooter,
11521
+ Gu as SheetFooter,
11502
11522
  Dr as SheetHeader,
11503
11523
  Er as SheetTitle,
11504
- $u as SheetTrigger,
11505
- Hm as Sidebar,
11506
- Jm as SidebarContent,
11507
- Ym as SidebarFooter,
11508
- Qm as SidebarGroup,
11509
- eg as SidebarGroupAction,
11510
- tg as SidebarGroupContent,
11511
- Zm as SidebarGroupLabel,
11512
- Um as SidebarHeader,
11513
- Km as SidebarInput,
11514
- Wm as SidebarInset,
11515
- ag as SidebarMenu,
11516
- og as SidebarMenuAction,
11517
- ig as SidebarMenuBadge,
11518
- rg as SidebarMenuButton,
11519
- ng as SidebarMenuItem,
11520
- sg as SidebarMenuSkeleton,
11521
- lg as SidebarMenuSub,
11522
- cg as SidebarMenuSubButton,
11523
- dg as SidebarMenuSubItem,
11524
- Vm as SidebarProvider,
11525
- Gm as SidebarRail,
11526
- Xm as SidebarSeparator,
11527
- hg as SidebarShell,
11528
- qm as SidebarTrigger,
11524
+ Hu as SheetTrigger,
11525
+ Wm as Sidebar,
11526
+ eg as SidebarContent,
11527
+ Qm as SidebarFooter,
11528
+ tg as SidebarGroup,
11529
+ ng as SidebarGroupAction,
11530
+ rg as SidebarGroupContent,
11531
+ ag as SidebarGroupLabel,
11532
+ Jm as SidebarHeader,
11533
+ Xm as SidebarInput,
11534
+ Ym as SidebarInset,
11535
+ og as SidebarMenu,
11536
+ lg as SidebarMenuAction,
11537
+ dg as SidebarMenuBadge,
11538
+ sg as SidebarMenuButton,
11539
+ ig as SidebarMenuItem,
11540
+ cg as SidebarMenuSkeleton,
11541
+ ug as SidebarMenuSub,
11542
+ mg as SidebarMenuSubButton,
11543
+ fg as SidebarMenuSubItem,
11544
+ Gm as SidebarProvider,
11545
+ Um as SidebarRail,
11546
+ Zm as SidebarSeparator,
11547
+ xg as SidebarShell,
11548
+ Km as SidebarTrigger,
11529
11549
  qe as Skeleton,
11530
- Hu as Slider,
11531
- ff as SpecField,
11550
+ Wu as Slider,
11551
+ pf as SpecField,
11532
11552
  Ot as Spinner,
11533
- qu as Switch,
11534
- Qs as Table,
11553
+ Ku as Switch,
11554
+ el as Table,
11535
11555
  to as TableBody,
11536
- am as TableCaption,
11556
+ om as TableCaption,
11537
11557
  Dt as TableCell,
11538
- tm as TableFooter,
11539
- el as TableHead,
11540
- Zs as TableHeader,
11558
+ rm as TableFooter,
11559
+ al as TableHead,
11560
+ tl as TableHeader,
11541
11561
  ht as TableRow,
11542
- Gu as Tabs,
11543
- Uu as TabsContent,
11544
- Wu as TabsList,
11545
- Ku as TabsTrigger,
11546
- um as TagsInput,
11562
+ Uu as Tabs,
11563
+ Ju as TabsContent,
11564
+ Yu as TabsList,
11565
+ Xu as TabsTrigger,
11566
+ gm as TagsInput,
11547
11567
  kr as Textarea,
11548
- Yu as Toaster,
11549
- Xu as Toggle,
11568
+ Qu as Toaster,
11569
+ Zu as Toggle,
11550
11570
  Ar as ToggleGroup,
11551
11571
  Or as ToggleGroupItem,
11552
11572
  Xe as Tooltip,
11553
11573
  Qe as TooltipContent,
11554
11574
  jr as TooltipProvider,
11555
11575
  Je as TooltipTrigger,
11556
- cs as UserTag,
11557
- dm as ValueDiff,
11558
- ys as ViewField,
11559
- vl as VirtualTableBody,
11560
- ef as WideSheetContent,
11561
- mi as badgeVariants,
11576
+ fs as UserTag,
11577
+ fm as ValueDiff,
11578
+ ks as ViewField,
11579
+ wl as VirtualTableBody,
11580
+ nf as WideSheetContent,
11581
+ pi as badgeVariants,
11562
11582
  ct as btnBase,
11563
- gi as buttonGroupVariants,
11583
+ hi as buttonGroupVariants,
11564
11584
  ft as buttonVariants,
11565
11585
  i as cn,
11566
- Zu as createContactsEntities,
11567
- dl as createPreferencesStore,
11586
+ af as createContactsEntities,
11587
+ ul as createPreferencesStore,
11568
11588
  Fa as formatAmount,
11569
- Es as formatSpecView,
11589
+ Rs as formatSpecView,
11570
11590
  da as getCurrencyMeta,
11571
- $l as ghostButtonVariants,
11572
- sf as initSpecState,
11573
- zs as initSpecValue,
11591
+ Vl as ghostButtonVariants,
11592
+ cf as initSpecState,
11593
+ Ss as initSpecValue,
11574
11594
  Br as isEmptyValue,
11575
- Ls as markerVariants,
11576
- ul as moveColumn,
11577
- Dl as navigationMenuTriggerStyle,
11595
+ Os as markerVariants,
11596
+ ml as moveColumn,
11597
+ Pl as navigationMenuTriggerStyle,
11578
11598
  Va as normalizeAmountInput,
11579
- cl as normalizeColumnOrder,
11599
+ fl as normalizeColumnOrder,
11580
11600
  Zt as normalizeSorting,
11581
11601
  pr as optionCheckedStyle,
11582
11602
  gr as optionColorStyle,
11583
- ls as parseAmount,
11584
- nl as readStoredPins,
11585
- tl as readStoredSizing,
11586
- ol as readStoredVisibility,
11587
- Zf as registerPreviewKind,
11588
- uf as registerSpecControl,
11589
- os as roundAmount,
11603
+ cs as parseAmount,
11604
+ ol as readStoredPins,
11605
+ nl as readStoredSizing,
11606
+ sl as readStoredVisibility,
11607
+ am as registerPreviewKind,
11608
+ gf as registerSpecControl,
11609
+ ss as roundAmount,
11590
11610
  cn as sanitizePreferences,
11591
- om as sortParams,
11592
- df as specOtherMissing,
11593
- lf as specPayload,
11594
- cf as specRequiredMissing,
11611
+ lm as sortParams,
11612
+ ff as specOtherMissing,
11613
+ uf as specPayload,
11614
+ mf as specRequiredMissing,
11595
11615
  sn as specValuePayload,
11596
- sl as tableStorageKey,
11597
- Qi as tabsListVariants,
11598
- xg as toast,
11616
+ dl as tableStorageKey,
11617
+ es as tabsListVariants,
11618
+ kg as toast,
11599
11619
  Rr as toggleVariants,
11600
- im as useBulkSelection,
11620
+ dm as useBulkSelection,
11601
11621
  ca as useCarousel,
11602
- ml as useColumnReordering,
11603
- Sc as useDirection,
11622
+ pl as useColumnReordering,
11623
+ Mc as useDirection,
11604
11624
  Zr as useHScrollEnhance,
11605
11625
  $r as useIsMobile,
11606
- yg as useMessageScroller,
11607
- Ng as useMessageScrollerScrollable,
11608
- kg as useMessageScrollerVisibility,
11609
- bl as useRowSelection,
11626
+ Cg as useMessageScroller,
11627
+ Sg as useMessageScrollerScrollable,
11628
+ _g as useMessageScrollerVisibility,
11629
+ xl as useRowSelection,
11610
11630
  fa as useSidebar,
11611
11631
  ao as useTablePreferences,
11612
- wl as useTableScroll,
11613
- nm as useTableSorting,
11614
- rl as writeStoredPins,
11615
- al as writeStoredSizing,
11616
- il as writeStoredVisibility
11632
+ Nl as useTableScroll,
11633
+ im as useTableSorting,
11634
+ il as writeStoredPins,
11635
+ rl as writeStoredSizing,
11636
+ ll as writeStoredVisibility
11617
11637
  };