@post-pioneer/ui-kit 0.1.59 → 0.1.60

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,9 +1,9 @@
1
- import { jsx as f, jsxs as A, Fragment as ke } from "react/jsx-runtime";
1
+ import { jsx as f, jsxs as A, Fragment as Ee } from "react/jsx-runtime";
2
2
  import * as h from "react";
3
- import M, { forwardRef as L, useState as W, useRef as ce, useEffect as ae, useMemo as vt, useLayoutEffect as To, useCallback as Mn, Children as ot, isValidElement as Ot, createElement as V, cloneElement as In, Fragment as zo, useReducer as Mo, createContext as vn, useContext as Io } from "react";
3
+ import M, { forwardRef as P, useState as W, useRef as ce, useEffect as ae, useMemo as vt, useLayoutEffect as To, useCallback as Mn, Children as ot, isValidElement as Ot, createElement as V, cloneElement as In, Fragment as zo, useReducer as Mo, createContext as vn, useContext as Io } from "react";
4
4
  import * as Zt from "react-dom";
5
5
  import va, { flushSync as Ca } from "react-dom";
6
- const ba = L(
6
+ const ba = P(
7
7
  ({ width: e = "12", height: t = "14", color: n = "currentColor", ...o }, r) => /* @__PURE__ */ f(
8
8
  "svg",
9
9
  {
@@ -28,7 +28,7 @@ const ba = L(
28
28
  )
29
29
  );
30
30
  ba.displayName = "AlertsBellIcon";
31
- const gt = L(
31
+ const gt = P(
32
32
  ({ width: e = "7", height: t = "4", color: n = "currentColor", ...o }, r) => /* @__PURE__ */ f(
33
33
  "svg",
34
34
  {
@@ -45,7 +45,7 @@ const gt = L(
45
45
  )
46
46
  );
47
47
  gt.displayName = "ArrowIcon";
48
- const On = L(
48
+ const On = P(
49
49
  ({ width: e = "12", height: t = "8", color: n = "currentColor", ...o }, r) => /* @__PURE__ */ f(
50
50
  "svg",
51
51
  {
@@ -62,7 +62,7 @@ const On = L(
62
62
  )
63
63
  );
64
64
  On.displayName = "ArrowChevronDownIcon";
65
- const ya = L(
65
+ const ya = P(
66
66
  ({ width: e = "6", height: t = "10", color: n = "currentColor", ...o }, r) => /* @__PURE__ */ f(
67
67
  "svg",
68
68
  {
@@ -85,7 +85,7 @@ const ya = L(
85
85
  )
86
86
  );
87
87
  ya.displayName = "ArrowChevronLeftIcon";
88
- const xa = L(
88
+ const xa = P(
89
89
  ({ width: e = "6", height: t = "10", color: n = "currentColor", ...o }, r) => /* @__PURE__ */ f(
90
90
  "svg",
91
91
  {
@@ -108,7 +108,7 @@ const xa = L(
108
108
  )
109
109
  );
110
110
  xa.displayName = "ArrowChevronRightIcon";
111
- const Oo = L(
111
+ const Oo = P(
112
112
  ({ width: e = "12", height: t = "8", color: n = "currentColor", ...o }, r) => /* @__PURE__ */ f(
113
113
  "svg",
114
114
  {
@@ -125,7 +125,7 @@ const Oo = L(
125
125
  )
126
126
  );
127
127
  Oo.displayName = "ArrowChevronUpIcon";
128
- const Sa = L(
128
+ const Sa = P(
129
129
  ({ width: e = "20", height: t = "20", color: n = "currentColor", ...o }, r) => /* @__PURE__ */ A(
130
130
  "svg",
131
131
  {
@@ -151,7 +151,7 @@ const Sa = L(
151
151
  )
152
152
  );
153
153
  Sa.displayName = "ArrowRefreshIcon";
154
- const Do = L(
154
+ const Do = P(
155
155
  ({ width: e = "18", height: t = "12", color: n = "currentColor", ...o }, r) => /* @__PURE__ */ f(
156
156
  "svg",
157
157
  {
@@ -168,7 +168,7 @@ const Do = L(
168
168
  )
169
169
  );
170
170
  Do.displayName = "CheckIcon";
171
- const ka = L(
171
+ const Ea = P(
172
172
  ({ width: e = "16", height: t = "16", color: n = "currentColor", ...o }, r) => /* @__PURE__ */ f(
173
173
  "svg",
174
174
  {
@@ -184,8 +184,8 @@ const ka = L(
184
184
  }
185
185
  )
186
186
  );
187
- ka.displayName = "FacebookIcon";
188
- const Ea = L(
187
+ Ea.displayName = "FacebookIcon";
188
+ const La = P(
189
189
  ({ width: e = "24", height: t = "24", color: n = "currentColor", ...o }, r) => /* @__PURE__ */ f(
190
190
  "svg",
191
191
  {
@@ -209,8 +209,8 @@ const Ea = L(
209
209
  }
210
210
  )
211
211
  );
212
- Ea.displayName = "EyeIcon";
213
- const La = L(
212
+ La.displayName = "EyeIcon";
213
+ const Pa = P(
214
214
  ({ width: e = "26", height: t = "26", color: n = "currentColor", ...o }, r) => /* @__PURE__ */ f(
215
215
  "svg",
216
216
  {
@@ -232,8 +232,8 @@ const La = L(
232
232
  }
233
233
  )
234
234
  );
235
- La.displayName = "EyeSlashIcon";
236
- const Pa = L(
235
+ Pa.displayName = "EyeSlashIcon";
236
+ const $a = P(
237
237
  ({ width: e = "14", height: t = "14", color: n = "currentColor", ...o }, r) => /* @__PURE__ */ f(
238
238
  "svg",
239
239
  {
@@ -249,8 +249,8 @@ const Pa = L(
249
249
  }
250
250
  )
251
251
  );
252
- Pa.displayName = "InstagramIcon";
253
- const $a = L(
252
+ $a.displayName = "InstagramIcon";
253
+ const Ra = P(
254
254
  ({ width: e = "16", height: t = "16", color: n = "currentColor", ...o }, r) => /* @__PURE__ */ f(
255
255
  "svg",
256
256
  {
@@ -274,8 +274,8 @@ const $a = L(
274
274
  }
275
275
  )
276
276
  );
277
- $a.displayName = "ImagePhotoIcon";
278
- const Ra = L(
277
+ Ra.displayName = "ImagePhotoIcon";
278
+ const Na = P(
279
279
  ({ width: e = "12", height: t = "14", color: n = "currentColor", ...o }, r) => /* @__PURE__ */ f(
280
280
  "svg",
281
281
  {
@@ -299,8 +299,8 @@ const Ra = L(
299
299
  }
300
300
  )
301
301
  );
302
- Ra.displayName = "ImagePhotoOutline";
303
- const Na = L(
302
+ Na.displayName = "ImagePhotoOutline";
303
+ const ka = P(
304
304
  ({ width: e = "24", height: t = "24", color: n = "currentColor", ...o }, r) => /* @__PURE__ */ f(
305
305
  "svg",
306
306
  {
@@ -324,8 +324,8 @@ const Na = L(
324
324
  }
325
325
  )
326
326
  );
327
- Na.displayName = "LogoutV1Outline";
328
- const Aa = L(
327
+ ka.displayName = "LogoutV1Outline";
328
+ const Aa = P(
329
329
  ({ width: e = "16", height: t = "16", color: n = "currentColor", ...o }, r) => /* @__PURE__ */ f(
330
330
  "svg",
331
331
  {
@@ -359,7 +359,7 @@ const Aa = L(
359
359
  )
360
360
  );
361
361
  Aa.displayName = "MathSymbolsAddSquareV2Icon";
362
- const Ta = L(
362
+ const Ta = P(
363
363
  ({ width: e = "20", height: t = "20", color: n = "currentColor", ...o }, r) => /* @__PURE__ */ f(
364
364
  "svg",
365
365
  {
@@ -384,7 +384,7 @@ const Ta = L(
384
384
  )
385
385
  );
386
386
  Ta.displayName = "MathSymbolsXCircleContainedIcon";
387
- const Dn = L(
387
+ const Dn = P(
388
388
  ({ width: e = "9", height: t = "8", color: n = "currentColor", ...o }, r) => /* @__PURE__ */ f(
389
389
  "svg",
390
390
  {
@@ -401,7 +401,7 @@ const Dn = L(
401
401
  )
402
402
  );
403
403
  Dn.displayName = "MathSymbolXV2Icon";
404
- const Vo = L(
404
+ const Vo = P(
405
405
  ({ width: e = "16", height: t = "2", color: n = "currentColor", ...o }, r) => /* @__PURE__ */ f(
406
406
  "svg",
407
407
  {
@@ -418,7 +418,7 @@ const Vo = L(
418
418
  )
419
419
  );
420
420
  Vo.displayName = "MinusIcon";
421
- const za = L(
421
+ const za = P(
422
422
  ({ width: e = "20", height: t = "16", color: n = "currentColor", ...o }, r) => /* @__PURE__ */ f(
423
423
  "svg",
424
424
  {
@@ -435,7 +435,7 @@ const za = L(
435
435
  )
436
436
  );
437
437
  za.displayName = "OdnoklassnikiIcon";
438
- const Vn = L(
438
+ const Vn = P(
439
439
  ({ width: e = "12", height: t = "12", color: n = "currentColor", ...o }, r) => /* @__PURE__ */ f(
440
440
  "svg",
441
441
  {
@@ -452,7 +452,7 @@ const Vn = L(
452
452
  )
453
453
  );
454
454
  Vn.displayName = "RequiredIcon";
455
- const Ma = L(
455
+ const Ma = P(
456
456
  ({ width: e = "18", height: t = "18", color: n = "currentColor", ...o }, r) => /* @__PURE__ */ f(
457
457
  "svg",
458
458
  {
@@ -469,7 +469,7 @@ const Ma = L(
469
469
  )
470
470
  );
471
471
  Ma.displayName = "SearchIcon";
472
- const Ho = L(
472
+ const Ho = P(
473
473
  ({ size: e = 16, color: t = "currentColor", ...n }, o) => /* @__PURE__ */ f(
474
474
  "svg",
475
475
  {
@@ -494,7 +494,7 @@ const Ho = L(
494
494
  )
495
495
  );
496
496
  Ho.displayName = "SwapIcon";
497
- const Ia = L(
497
+ const Ia = P(
498
498
  ({ width: e = "14", height: t = "15", color: n = "currentColor", ...o }, r) => /* @__PURE__ */ f(
499
499
  "svg",
500
500
  {
@@ -511,7 +511,7 @@ const Ia = L(
511
511
  )
512
512
  );
513
513
  Ia.displayName = "TelegramIcon";
514
- const Oa = L(
514
+ const Oa = P(
515
515
  ({ width: e = "16", height: t = "16", color: n = "currentColor", ...o }, r) => /* @__PURE__ */ f(
516
516
  "svg",
517
517
  {
@@ -528,7 +528,7 @@ const Oa = L(
528
528
  )
529
529
  );
530
530
  Oa.displayName = "TimeCalendarV2Icon";
531
- const Da = L(
531
+ const Da = P(
532
532
  ({ width: e = "14", height: t = "14", color: n = "currentColor", ...o }, r) => /* @__PURE__ */ f(
533
533
  "svg",
534
534
  {
@@ -583,7 +583,7 @@ const Va = "_accordion_1bao6_780", Ha = "_open_1bao6_789", Ba = "_disabled_1bao6
583
583
  divider: es,
584
584
  content: ts,
585
585
  inner: ns
586
- }, os = "_focus_1untv_551", rs = "_swap_1untv_633", as = "_swap__content_1untv_689", ss = "_typography_1untv_781", is = "_truncate_1untv_1017", Re = {
586
+ }, os = "_focus_1untv_551", rs = "_swap_1untv_633", as = "_swap__content_1untv_689", ss = "_typography_1untv_781", is = "_truncate_1untv_1017", Ne = {
587
587
  focus: os,
588
588
  "focus--default": "_focus--default_1untv_568",
589
589
  "focus--danger": "_focus--danger_1untv_572",
@@ -708,7 +708,7 @@ const Va = "_accordion_1bao6_780", Ha = "_open_1bao6_789", Ba = "_disabled_1bao6
708
708
  SmallText: "text-short-s-regular",
709
709
  RegularLink: "text-long-m-regular",
710
710
  SmallLink: "text-short-s-regular"
711
- }, st = L(
711
+ }, st = P(
712
712
  (e, t) => {
713
713
  const {
714
714
  as: n = "p",
@@ -723,15 +723,15 @@ const Va = "_accordion_1bao6_780", Ha = "_open_1bao6_789", Ba = "_disabled_1bao6
723
723
  fontFamily: d = "inter",
724
724
  ..._
725
725
  } = e, g = cs[i], w = I(
726
- Re.typography,
727
- Re[g],
728
- Re[`align-${a}`],
729
- Re[`font-${d}`],
726
+ Ne.typography,
727
+ Ne[g],
728
+ Ne[`align-${a}`],
729
+ Ne[`font-${d}`],
730
730
  {
731
- [Re.truncate]: s,
732
- [Re.multilineTruncate]: c,
733
- [Re.noWrap]: l,
734
- [Re.breakWord]: u
731
+ [Ne.truncate]: s,
732
+ [Ne.multilineTruncate]: c,
733
+ [Ne.noWrap]: l,
734
+ [Ne.breakWord]: u
735
735
  },
736
736
  r
737
737
  );
@@ -826,7 +826,7 @@ const us = "_focus_l2mdh_550", ds = "_swap_l2mdh_632", fs = "_swap__content_l2md
826
826
  })() }),
827
827
  o && /* @__PURE__ */ f("span", { className: Qe.spinner__label, "aria-hidden": "true", children: o })
828
828
  ] });
829
- }, gs = "_focus_1samt_550", ms = "_swap_1samt_632", ws = "_swap__content_1samt_688", vs = "_button_1samt_780", Cs = "_sizeL_1samt_805", bs = "_sizeM_1samt_809", ys = "_sizeS_1samt_813", xs = "_iconOnly_1samt_817", Ss = "_primary_1samt_829", ks = "_disabled_1samt_834", Es = "_count_1samt_848", Ls = "_secondary_1samt_852", Ps = "_ghost_1samt_875", $s = "_link_1samt_898", Rs = "_dangerPrimary_1samt_927", Ns = "_dangerSecondary_1samt_953", As = "_dangerGhost_1samt_979", Ts = "_dangerLink_1samt_1005", zs = "_open_1samt_1032", Ms = "_content_1samt_1044", Is = "_loader_1samt_1049", Os = "_text_1samt_1055", Ds = "_icon_1samt_817", Vs = "_chevron_1samt_1082", Hs = "_loading_1samt_1110", re = {
829
+ }, gs = "_focus_1samt_550", ms = "_swap_1samt_632", ws = "_swap__content_1samt_688", vs = "_button_1samt_780", Cs = "_sizeL_1samt_805", bs = "_sizeM_1samt_809", ys = "_sizeS_1samt_813", xs = "_iconOnly_1samt_817", Ss = "_primary_1samt_829", Es = "_disabled_1samt_834", Ls = "_count_1samt_848", Ps = "_secondary_1samt_852", $s = "_ghost_1samt_875", Rs = "_link_1samt_898", Ns = "_dangerPrimary_1samt_927", ks = "_dangerSecondary_1samt_953", As = "_dangerGhost_1samt_979", Ts = "_dangerLink_1samt_1005", zs = "_open_1samt_1032", Ms = "_content_1samt_1044", Is = "_loader_1samt_1049", Os = "_text_1samt_1055", Ds = "_icon_1samt_817", Vs = "_chevron_1samt_1082", Hs = "_loading_1samt_1110", re = {
830
830
  focus: gs,
831
831
  "focus--default": "_focus--default_1samt_567",
832
832
  "focus--danger": "_focus--danger_1samt_571",
@@ -857,13 +857,13 @@ const us = "_focus_l2mdh_550", ds = "_swap_l2mdh_632", fs = "_swap__content_l2md
857
857
  sizeS: ys,
858
858
  iconOnly: xs,
859
859
  primary: Ss,
860
- disabled: ks,
861
- count: Es,
862
- secondary: Ls,
863
- ghost: Ps,
864
- link: $s,
865
- dangerPrimary: Rs,
866
- dangerSecondary: Ns,
860
+ disabled: Es,
861
+ count: Ls,
862
+ secondary: Ps,
863
+ ghost: $s,
864
+ link: Rs,
865
+ dangerPrimary: Ns,
866
+ dangerSecondary: ks,
867
867
  dangerGhost: As,
868
868
  dangerLink: Ts,
869
869
  open: zs,
@@ -884,7 +884,7 @@ const us = "_focus_l2mdh_550", ds = "_swap_l2mdh_632", fs = "_swap__content_l2md
884
884
  default:
885
885
  return "s";
886
886
  }
887
- }, Cn = L(
887
+ }, Cn = P(
888
888
  (e, t) => {
889
889
  const {
890
890
  size: n = "m",
@@ -912,7 +912,7 @@ const us = "_focus_l2mdh_550", ds = "_swap_l2mdh_632", fs = "_swap__content_l2md
912
912
  s && re.open,
913
913
  v && re.iconOnly,
914
914
  c
915
- ].filter(Boolean).join(" "), y = () => /* @__PURE__ */ A(ke, { children: [
915
+ ].filter(Boolean).join(" "), y = () => /* @__PURE__ */ A(Ee, { children: [
916
916
  /* @__PURE__ */ A("span", { className: re.content, children: [
917
917
  u && d !== "right" && /* @__PURE__ */ f("span", { className: re.icon, children: u }),
918
918
  l && /* @__PURE__ */ f("span", { className: re.text, children: l }),
@@ -935,7 +935,7 @@ const us = "_focus_l2mdh_550", ds = "_swap_l2mdh_632", fs = "_swap__content_l2md
935
935
  }
936
936
  );
937
937
  }
938
- const { type: x = "button", ...k } = m;
938
+ const { type: x = "button", ...E } = m;
939
939
  return /* @__PURE__ */ f(
940
940
  "button",
941
941
  {
@@ -944,14 +944,14 @@ const us = "_focus_l2mdh_550", ds = "_swap_l2mdh_632", fs = "_swap__content_l2md
944
944
  className: b,
945
945
  disabled: r || a,
946
946
  "aria-label": v && _ ? _ : void 0,
947
- ...k,
947
+ ...E,
948
948
  children: y()
949
949
  }
950
950
  );
951
951
  }
952
952
  );
953
953
  Cn.displayName = "Button";
954
- const js = "_focus_1gu7y_550", Ws = "_swap_1gu7y_632", Fs = "_swap__content_1gu7y_688", Us = "_divider_1gu7y_780", Zs = "_divider__text_1gu7y_852", Ne = {
954
+ const js = "_focus_1gu7y_550", Ws = "_swap_1gu7y_632", Fs = "_swap__content_1gu7y_688", Us = "_divider_1gu7y_780", Zs = "_divider__text_1gu7y_852", ke = {
955
955
  focus: js,
956
956
  "focus--default": "_focus--default_1gu7y_567",
957
957
  "focus--danger": "_focus--danger_1gu7y_571",
@@ -1004,13 +1004,13 @@ const js = "_focus_1gu7y_550", Ws = "_swap_1gu7y_632", Fs = "_swap__content_1gu7
1004
1004
  ...s
1005
1005
  }) => {
1006
1006
  const c = !!a, l = [
1007
- Ne.divider,
1008
- Ne[`divider--${e}`],
1009
- Ne[`divider--${t}`],
1010
- Ne[`divider--${n}`],
1011
- Ne[`divider--${o}`],
1012
- c && Ne["divider--with-text"],
1013
- c && Ne[`divider--text-${i}`],
1007
+ ke.divider,
1008
+ ke[`divider--${e}`],
1009
+ ke[`divider--${t}`],
1010
+ ke[`divider--${n}`],
1011
+ ke[`divider--${o}`],
1012
+ c && ke["divider--with-text"],
1013
+ c && ke[`divider--text-${i}`],
1014
1014
  r
1015
1015
  ].filter(Boolean).join(" ");
1016
1016
  return c && e === "horizontal" ? /* @__PURE__ */ f(
@@ -1020,7 +1020,7 @@ const js = "_focus_1gu7y_550", Ws = "_swap_1gu7y_632", Fs = "_swap__content_1gu7
1020
1020
  role: "separator",
1021
1021
  "aria-orientation": e,
1022
1022
  ...s,
1023
- children: /* @__PURE__ */ f("span", { className: Ne.divider__text, children: a })
1023
+ children: /* @__PURE__ */ f("span", { className: ke.divider__text, children: a })
1024
1024
  }
1025
1025
  ) : /* @__PURE__ */ f(
1026
1026
  "div",
@@ -1031,7 +1031,7 @@ const js = "_focus_1gu7y_550", Ws = "_swap_1gu7y_632", Fs = "_swap__content_1gu7
1031
1031
  ...s
1032
1032
  }
1033
1033
  );
1034
- }, yf = ({
1034
+ }, b2 = ({
1035
1035
  title: e,
1036
1036
  count: t,
1037
1037
  icon: n,
@@ -1119,7 +1119,7 @@ const js = "_focus_1gu7y_550", Ws = "_swap_1gu7y_632", Fs = "_swap__content_1gu7
1119
1119
  title: Gs,
1120
1120
  subtitle: Ks,
1121
1121
  content: Qs
1122
- }, xf = ({
1122
+ }, y2 = ({
1123
1123
  title: e,
1124
1124
  subtitle: t,
1125
1125
  children: n,
@@ -1263,7 +1263,7 @@ const js = "_focus_1gu7y_550", Ws = "_swap_1gu7y_632", Fs = "_swap__content_1gu7
1263
1263
  "avatarGroup--overlap": "_avatarGroup--overlap_18gsw_784",
1264
1264
  avatarGroup__item: ui,
1265
1265
  avatarGroup__more: di
1266
- }, Sf = ({
1266
+ }, x2 = ({
1267
1267
  items: e,
1268
1268
  max: t = 5,
1269
1269
  size: n = "m",
@@ -1288,7 +1288,7 @@ const js = "_focus_1gu7y_550", Ws = "_swap_1gu7y_632", Fs = "_swap__content_1gu7
1288
1288
  ]
1289
1289
  }
1290
1290
  );
1291
- }, kf = ({
1291
+ }, S2 = ({
1292
1292
  size: e = 80,
1293
1293
  borderColor: t = "#D6DDFF",
1294
1294
  borderWidth: n = 2,
@@ -1322,7 +1322,7 @@ const js = "_focus_1gu7y_550", Ws = "_swap_1gu7y_632", Fs = "_swap__content_1gu7
1322
1322
  }
1323
1323
  )
1324
1324
  }
1325
- ), fi = "_focus_3zn4h_550", _i = "_swap_3zn4h_632", pi = "_swap__content_3zn4h_688", hi = "_badge_3zn4h_780", gi = "_badge__part_3zn4h_1042", kt = {
1325
+ ), fi = "_focus_3zn4h_550", _i = "_swap_3zn4h_632", pi = "_swap__content_3zn4h_688", hi = "_badge_3zn4h_780", gi = "_badge__part_3zn4h_1042", Et = {
1326
1326
  focus: fi,
1327
1327
  "focus--default": "_focus--default_3zn4h_567",
1328
1328
  "focus--danger": "_focus--danger_3zn4h_571",
@@ -1387,7 +1387,7 @@ const js = "_focus_1gu7y_550", Ws = "_swap_1gu7y_632", Fs = "_swap__content_1gu7
1387
1387
  "badge__part--yellow": "_badge__part--yellow_3zn4h_1103",
1388
1388
  "badge__part--rose": "_badge__part--rose_3zn4h_1107",
1389
1389
  "badge__part--pink": "_badge__part--pink_3zn4h_1111"
1390
- }, Ef = ({
1390
+ }, E2 = ({
1391
1391
  children: e,
1392
1392
  color: t = "gray",
1393
1393
  variant: n = "primary",
@@ -1395,14 +1395,14 @@ const js = "_focus_1gu7y_550", Ws = "_swap_1gu7y_632", Fs = "_swap__content_1gu7
1395
1395
  className: r = ""
1396
1396
  }) => {
1397
1397
  const a = [
1398
- kt.badge,
1399
- kt[`badge--${t}`],
1400
- kt[`badge--${n}`],
1401
- kt[`badge--${o}`],
1398
+ Et.badge,
1399
+ Et[`badge--${t}`],
1400
+ Et[`badge--${n}`],
1401
+ Et[`badge--${o}`],
1402
1402
  r
1403
1403
  ].filter(Boolean).join(" ");
1404
1404
  return /* @__PURE__ */ f("span", { className: a, children: e });
1405
- }, mi = "_focus_55oxc_550", wi = "_swap_55oxc_632", vi = "_swap__content_55oxc_688", Ci = "_dot_55oxc_780", Et = {
1405
+ }, mi = "_focus_55oxc_550", wi = "_swap_55oxc_632", vi = "_swap__content_55oxc_688", Ci = "_dot_55oxc_780", Lt = {
1406
1406
  focus: mi,
1407
1407
  "focus--default": "_focus--default_55oxc_567",
1408
1408
  "focus--danger": "_focus--danger_55oxc_571",
@@ -1442,7 +1442,7 @@ const js = "_focus_1gu7y_550", Ws = "_swap_1gu7y_632", Fs = "_swap__content_1gu7
1442
1442
  "color-orange": "_color-orange_55oxc_850",
1443
1443
  "color-green": "_color-green_55oxc_863",
1444
1444
  "color-yellow": "_color-yellow_55oxc_876"
1445
- }, Lf = ({
1445
+ }, L2 = ({
1446
1446
  color: e = "gray",
1447
1447
  size: t = "m",
1448
1448
  variant: n = "filled",
@@ -1451,14 +1451,14 @@ const js = "_focus_1gu7y_550", Ws = "_swap_1gu7y_632", Fs = "_swap__content_1gu7
1451
1451
  "span",
1452
1452
  {
1453
1453
  className: I(
1454
- Et.dot,
1455
- Et[`color-${e}`],
1456
- Et[`size-${t}`],
1457
- Et[`variant-${n}`],
1454
+ Lt.dot,
1455
+ Lt[`color-${e}`],
1456
+ Lt[`size-${t}`],
1457
+ Lt[`variant-${n}`],
1458
1458
  o
1459
1459
  )
1460
1460
  }
1461
- ), bi = "_focus_1hrjy_550", yi = "_swap_1hrjy_632", xi = "_swap__content_1hrjy_688", Si = "_counter_1hrjy_780", Lt = {
1461
+ ), bi = "_focus_1hrjy_550", yi = "_swap_1hrjy_632", xi = "_swap__content_1hrjy_688", Si = "_counter_1hrjy_780", Pt = {
1462
1462
  focus: bi,
1463
1463
  "focus--default": "_focus--default_1hrjy_567",
1464
1464
  "focus--danger": "_focus--danger_1hrjy_571",
@@ -1495,7 +1495,7 @@ const js = "_focus_1gu7y_550", Ws = "_swap_1gu7y_632", Fs = "_swap__content_1gu7
1495
1495
  "color-grayLight": "_color-grayLight_1hrjy_863",
1496
1496
  "color-orange": "_color-orange_1hrjy_877",
1497
1497
  "color-green": "_color-green_1hrjy_891"
1498
- }, Pf = ({
1498
+ }, P2 = ({
1499
1499
  value: e,
1500
1500
  color: t = "gray",
1501
1501
  size: n = "m",
@@ -1505,16 +1505,16 @@ const js = "_focus_1gu7y_550", Ws = "_swap_1gu7y_632", Fs = "_swap__content_1gu7
1505
1505
  "span",
1506
1506
  {
1507
1507
  className: I(
1508
- Lt.counter,
1509
- Lt[`color-${t}`],
1510
- Lt[`size-${n}`],
1511
- Lt[`variant-${o}`],
1508
+ Pt.counter,
1509
+ Pt[`color-${t}`],
1510
+ Pt[`size-${n}`],
1511
+ Pt[`variant-${o}`],
1512
1512
  r
1513
1513
  ),
1514
1514
  children: e
1515
1515
  }
1516
- ), ki = "_focus_y95yk_550", Ei = "_swap_y95yk_632", Li = "_swap__content_y95yk_688", Pi = "_wrapper_y95yk_780", $i = "_disabled_y95yk_789", Ri = "_input_y95yk_794", Ni = "_icon_y95yk_800", Ai = "_box_y95yk_806", Ti = "_checked_y95yk_839", zi = "_indeterminate_y95yk_840", Mi = "_small_y95yk_846", Ii = "_medium_y95yk_851", Oi = "_primary_y95yk_857", Di = "_danger_y95yk_869", Vi = "_error_y95yk_894", Hi = "_label_y95yk_922", _e = {
1517
- focus: ki,
1516
+ ), Ei = "_focus_y95yk_550", Li = "_swap_y95yk_632", Pi = "_swap__content_y95yk_688", $i = "_wrapper_y95yk_780", Ri = "_disabled_y95yk_789", Ni = "_input_y95yk_794", ki = "_icon_y95yk_800", Ai = "_box_y95yk_806", Ti = "_checked_y95yk_839", zi = "_indeterminate_y95yk_840", Mi = "_small_y95yk_846", Ii = "_medium_y95yk_851", Oi = "_primary_y95yk_857", Di = "_danger_y95yk_869", Vi = "_error_y95yk_894", Hi = "_label_y95yk_922", _e = {
1517
+ focus: Ei,
1518
1518
  "focus--default": "_focus--default_y95yk_567",
1519
1519
  "focus--danger": "_focus--danger_y95yk_571",
1520
1520
  "focus--visible": "_focus--visible_y95yk_577",
@@ -1524,7 +1524,7 @@ const js = "_focus_1gu7y_550", Ws = "_swap_1gu7y_632", Fs = "_swap__content_1gu7
1524
1524
  "focus--input": "_focus--input_y95yk_607",
1525
1525
  "focus--button": "_focus--button_y95yk_612",
1526
1526
  "focus--card": "_focus--card_y95yk_617",
1527
- swap: Ei,
1527
+ swap: Li,
1528
1528
  "swap--text": "_swap--text_y95yk_641",
1529
1529
  "swap--icon": "_swap--icon_y95yk_652",
1530
1530
  "swap--icon-xs": "_swap--icon-xs_y95yk_662",
@@ -1532,16 +1532,16 @@ const js = "_focus_1gu7y_550", Ws = "_swap_1gu7y_632", Fs = "_swap__content_1gu7
1532
1532
  "swap--icon-m": "_swap--icon-m_y95yk_672",
1533
1533
  "swap--icon-l": "_swap--icon-l_y95yk_677",
1534
1534
  "swap--icon-xl": "_swap--icon-xl_y95yk_682",
1535
- swap__content: Li,
1535
+ swap__content: Pi,
1536
1536
  "swap--group-horizontal": "_swap--group-horizontal_y95yk_697",
1537
1537
  "swap--group-vertical": "_swap--group-vertical_y95yk_704",
1538
1538
  "swap--with-background": "_swap--with-background_y95yk_712",
1539
1539
  "swap--with-border": "_swap--with-border_y95yk_718",
1540
1540
  "swap--interactive": "_swap--interactive_y95yk_726",
1541
- wrapper: Pi,
1542
- disabled: $i,
1543
- input: Ri,
1544
- icon: Ni,
1541
+ wrapper: $i,
1542
+ disabled: Ri,
1543
+ input: Ni,
1544
+ icon: ki,
1545
1545
  box: Ai,
1546
1546
  checked: Ti,
1547
1547
  indeterminate: zi,
@@ -1551,7 +1551,7 @@ const js = "_focus_1gu7y_550", Ws = "_swap_1gu7y_632", Fs = "_swap__content_1gu7
1551
1551
  danger: Di,
1552
1552
  error: Vi,
1553
1553
  label: Hi
1554
- }, jo = L(
1554
+ }, jo = P(
1555
1555
  ({
1556
1556
  label: e,
1557
1557
  size: t = "medium",
@@ -1640,7 +1640,7 @@ const Bi = "_focus_1kco8_550", ji = "_swap_1kco8_632", Wi = "_swap__content_1kco
1640
1640
  clickable: Ui,
1641
1641
  disabled: Zi,
1642
1642
  active: qi
1643
- }, $f = ({
1643
+ }, $2 = ({
1644
1644
  children: e,
1645
1645
  variant: t = "default",
1646
1646
  size: n = "m",
@@ -1867,13 +1867,13 @@ function jn(e) {
1867
1867
  ...d.current.rules,
1868
1868
  ...sn(d.current.disabled) ? { disabled: d.current.disabled } : {}
1869
1869
  });
1870
- const x = (k, S) => {
1871
- const E = ie(r._fields, k);
1872
- E && E._f && (E._f.mount = S);
1870
+ const x = (E, S) => {
1871
+ const L = ie(r._fields, E);
1872
+ L && L._f && (L._f.mount = S);
1873
1873
  };
1874
1874
  if (x(n, !0), b) {
1875
- const k = Fo(ie(r._options.defaultValues, n, d.current.defaultValue));
1876
- to(r._defaultValues, n, k), bn(ie(r._formValues, n)) && to(r._formValues, n, k);
1875
+ const E = Fo(ie(r._options.defaultValues, n, d.current.defaultValue));
1876
+ to(r._defaultValues, n, E), bn(ie(r._formValues, n)) && to(r._formValues, n, E);
1877
1877
  }
1878
1878
  return !s && r.register(n), _.current = n, () => {
1879
1879
  (s ? b && !r._state.action : b) ? r.unregister(n) : x(n, !1);
@@ -1889,7 +1889,7 @@ function jn(e) {
1889
1889
  fieldState: w
1890
1890
  }), [C, u, w]);
1891
1891
  }
1892
- const Rf = ({
1892
+ const R2 = ({
1893
1893
  name: e,
1894
1894
  control: t,
1895
1895
  ...n
@@ -1898,31 +1898,31 @@ const Rf = ({
1898
1898
  field: { value: o, onChange: r, ref: a }
1899
1899
  } = jn({ name: e, control: t });
1900
1900
  return /* @__PURE__ */ f(jo, { ...n, ref: a, checked: !!o, onChange: (i) => r(i.target.checked) });
1901
- }, sc = "_focus_1kkfn_550", ic = "_swap_1kkfn_632", cc = "_swap__content_1kkfn_688", lc = "_root_1kkfn_780", uc = "_fullWidth_1kkfn_786", dc = "_wrapper_1kkfn_791", fc = "_single_1kkfn_808", _c = "_first_1kkfn_811", pc = "_middle_1kkfn_814", hc = "_last_1kkfn_818", gc = "_error_1kkfn_825", mc = "_outline_1kkfn_828", wc = "_fill_1kkfn_842", vc = "_small_1kkfn_858", Cc = "_input_1kkfn_861", bc = "_label_1kkfn_865", yc = "_medium_1kkfn_870", xc = "_disabled_1kkfn_914", Sc = "_clearButton_1kkfn_926", kc = "_withPrefix_1kkfn_932", Ec = "_withSuffix_1kkfn_935", Lc = "_requiredIcon_1kkfn_979", Pc = "_filled_1kkfn_991", $c = "_innerHint_1kkfn_1040", Rc = "_affix_1kkfn_1088", Nc = "_prefix_1kkfn_1100", Ac = "_suffix_1kkfn_1105", Tc = "_errorText_1kkfn_1114", K = {
1901
+ }, sc = "_focus_iu0hh_550", ic = "_swap_iu0hh_632", cc = "_swap__content_iu0hh_688", lc = "_root_iu0hh_780", uc = "_fullWidth_iu0hh_786", dc = "_wrapper_iu0hh_791", fc = "_single_iu0hh_808", _c = "_first_iu0hh_811", pc = "_middle_iu0hh_814", hc = "_last_iu0hh_818", gc = "_error_iu0hh_825", mc = "_outline_iu0hh_828", wc = "_fill_iu0hh_842", vc = "_small_iu0hh_858", Cc = "_input_iu0hh_861", bc = "_label_iu0hh_865", yc = "_medium_iu0hh_870", xc = "_disabled_iu0hh_914", Sc = "_clearButton_iu0hh_926", Ec = "_withPrefix_iu0hh_932", Lc = "_withSuffix_iu0hh_935", Pc = "_requiredIcon_iu0hh_979", $c = "_filled_iu0hh_991", Rc = "_innerHint_iu0hh_1040", Nc = "_affix_iu0hh_1088", kc = "_prefix_iu0hh_1100", Ac = "_suffix_iu0hh_1105", Tc = "_errorText_iu0hh_1114", K = {
1902
1902
  focus: sc,
1903
- "focus--default": "_focus--default_1kkfn_567",
1904
- "focus--danger": "_focus--danger_1kkfn_571",
1905
- "focus--visible": "_focus--visible_1kkfn_577",
1906
- "focus-danger": "_focus-danger_1kkfn_592",
1907
- "focus-within--default": "_focus-within--default_1kkfn_598",
1908
- "focus-within--danger": "_focus-within--danger_1kkfn_602",
1909
- "focus--input": "_focus--input_1kkfn_607",
1910
- "focus--button": "_focus--button_1kkfn_612",
1911
- "focus--card": "_focus--card_1kkfn_617",
1903
+ "focus--default": "_focus--default_iu0hh_567",
1904
+ "focus--danger": "_focus--danger_iu0hh_571",
1905
+ "focus--visible": "_focus--visible_iu0hh_577",
1906
+ "focus-danger": "_focus-danger_iu0hh_592",
1907
+ "focus-within--default": "_focus-within--default_iu0hh_598",
1908
+ "focus-within--danger": "_focus-within--danger_iu0hh_602",
1909
+ "focus--input": "_focus--input_iu0hh_607",
1910
+ "focus--button": "_focus--button_iu0hh_612",
1911
+ "focus--card": "_focus--card_iu0hh_617",
1912
1912
  swap: ic,
1913
- "swap--text": "_swap--text_1kkfn_641",
1914
- "swap--icon": "_swap--icon_1kkfn_652",
1915
- "swap--icon-xs": "_swap--icon-xs_1kkfn_662",
1916
- "swap--icon-s": "_swap--icon-s_1kkfn_667",
1917
- "swap--icon-m": "_swap--icon-m_1kkfn_672",
1918
- "swap--icon-l": "_swap--icon-l_1kkfn_677",
1919
- "swap--icon-xl": "_swap--icon-xl_1kkfn_682",
1913
+ "swap--text": "_swap--text_iu0hh_641",
1914
+ "swap--icon": "_swap--icon_iu0hh_652",
1915
+ "swap--icon-xs": "_swap--icon-xs_iu0hh_662",
1916
+ "swap--icon-s": "_swap--icon-s_iu0hh_667",
1917
+ "swap--icon-m": "_swap--icon-m_iu0hh_672",
1918
+ "swap--icon-l": "_swap--icon-l_iu0hh_677",
1919
+ "swap--icon-xl": "_swap--icon-xl_iu0hh_682",
1920
1920
  swap__content: cc,
1921
- "swap--group-horizontal": "_swap--group-horizontal_1kkfn_697",
1922
- "swap--group-vertical": "_swap--group-vertical_1kkfn_704",
1923
- "swap--with-background": "_swap--with-background_1kkfn_712",
1924
- "swap--with-border": "_swap--with-border_1kkfn_718",
1925
- "swap--interactive": "_swap--interactive_1kkfn_726",
1921
+ "swap--group-horizontal": "_swap--group-horizontal_iu0hh_697",
1922
+ "swap--group-vertical": "_swap--group-vertical_iu0hh_704",
1923
+ "swap--with-background": "_swap--with-background_iu0hh_712",
1924
+ "swap--with-border": "_swap--with-border_iu0hh_718",
1925
+ "swap--interactive": "_swap--interactive_iu0hh_726",
1926
1926
  root: lc,
1927
1927
  fullWidth: uc,
1928
1928
  wrapper: dc,
@@ -1939,16 +1939,16 @@ const Rf = ({
1939
1939
  medium: yc,
1940
1940
  disabled: xc,
1941
1941
  clearButton: Sc,
1942
- withPrefix: kc,
1943
- withSuffix: Ec,
1944
- requiredIcon: Lc,
1945
- filled: Pc,
1946
- innerHint: $c,
1947
- affix: Rc,
1948
- prefix: Nc,
1942
+ withPrefix: Ec,
1943
+ withSuffix: Lc,
1944
+ requiredIcon: Pc,
1945
+ filled: $c,
1946
+ innerHint: Rc,
1947
+ affix: Nc,
1948
+ prefix: kc,
1949
1949
  suffix: Ac,
1950
1950
  errorText: Tc
1951
- }, Go = L(
1951
+ }, Go = P(
1952
1952
  ({
1953
1953
  className: e,
1954
1954
  disabled: t,
@@ -1972,12 +1972,12 @@ const Rf = ({
1972
1972
  fullWidth: b = !0,
1973
1973
  placeholder: y,
1974
1974
  ...x
1975
- }, k) => {
1976
- const S = p !== void 0, [E, P] = W(m?.toString() ?? ""), R = S ? p : E, T = !!R && R.toString().length > 0, B = (D) => {
1977
- S || P(D.target.value), v?.(D);
1975
+ }, E) => {
1976
+ const S = p !== void 0, [L, $] = W(m?.toString() ?? ""), N = S ? p : L, T = !!N && N.toString().length > 0, B = (D) => {
1977
+ S || $(D.target.value), v?.(D);
1978
1978
  }, H = () => {
1979
1979
  if (t) return;
1980
- S || P(""), v?.({
1980
+ S || $(""), v?.({
1981
1981
  target: { value: "" },
1982
1982
  currentTarget: { value: "" }
1983
1983
  });
@@ -2005,9 +2005,9 @@ const Rf = ({
2005
2005
  "input",
2006
2006
  {
2007
2007
  id: c,
2008
- ref: k,
2008
+ ref: E,
2009
2009
  disabled: t,
2010
- value: R,
2010
+ value: N,
2011
2011
  onChange: B,
2012
2012
  className: K.input,
2013
2013
  type: C,
@@ -2039,7 +2039,7 @@ const Rf = ({
2039
2039
  }
2040
2040
  );
2041
2041
  Go.displayName = "Input";
2042
- const Nf = ({
2042
+ const N2 = ({
2043
2043
  name: e,
2044
2044
  control: t,
2045
2045
  error: n,
@@ -2094,7 +2094,7 @@ const Nf = ({
2094
2094
  inputWrapper: Bc,
2095
2095
  horizontal: jc,
2096
2096
  groupError: Wc
2097
- }, Ko = L(
2097
+ }, Ko = P(
2098
2098
  ({
2099
2099
  children: e,
2100
2100
  direction: t = "vertical",
@@ -2141,7 +2141,7 @@ const Nf = ({
2141
2141
  }
2142
2142
  );
2143
2143
  Ko.displayName = "InputGroupStack";
2144
- const Af = ({
2144
+ const k2 = ({
2145
2145
  name: e,
2146
2146
  control: t,
2147
2147
  groupError: n,
@@ -2222,7 +2222,7 @@ const Af = ({
2222
2222
  "align-center": "_align-center_gathj_919",
2223
2223
  "align-end": "_align-end_gathj_922",
2224
2224
  "align-stretch": "_align-stretch_gathj_925"
2225
- }, Tf = ({
2225
+ }, A2 = ({
2226
2226
  children: e,
2227
2227
  variant: t = "white",
2228
2228
  layout: n = "flex",
@@ -2297,7 +2297,7 @@ const Af = ({
2297
2297
  hover: sl,
2298
2298
  "variant-filled": "_variant-filled_zdqaw_874",
2299
2299
  "variant-outlined": "_variant-outlined_zdqaw_883"
2300
- }, zf = ({
2300
+ }, T2 = ({
2301
2301
  options: e,
2302
2302
  value: t,
2303
2303
  onChange: n,
@@ -2522,8 +2522,8 @@ function ml(e) {
2522
2522
  l.displayName = s;
2523
2523
  const u = e + "CollectionItemSlot", d = "data-radix-collection-item", _ = /* @__PURE__ */ Dt(u), g = M.forwardRef(
2524
2524
  (p, m) => {
2525
- const { scope: v, children: C, ...b } = p, y = M.useRef(null), x = ne(m, y), k = a(u, v);
2526
- return M.useEffect(() => (k.itemMap.set(y, { ref: y, ...b }), () => void k.itemMap.delete(y))), /* @__PURE__ */ f(_, { [d]: "", ref: x, children: C });
2525
+ const { scope: v, children: C, ...b } = p, y = M.useRef(null), x = ne(m, y), E = a(u, v);
2526
+ return M.useEffect(() => (E.itemMap.set(y, { ref: y, ...b }), () => void E.itemMap.delete(y))), /* @__PURE__ */ f(_, { [d]: "", ref: x, children: C });
2527
2527
  }
2528
2528
  );
2529
2529
  g.displayName = u;
@@ -2534,7 +2534,7 @@ function ml(e) {
2534
2534
  if (!C) return [];
2535
2535
  const b = Array.from(C.querySelectorAll(`[${d}]`));
2536
2536
  return Array.from(m.itemMap.values()).sort(
2537
- (k, S) => b.indexOf(k.ref.current) - b.indexOf(S.ref.current)
2537
+ (E, S) => b.indexOf(E.ref.current) - b.indexOf(S.ref.current)
2538
2538
  );
2539
2539
  }, [m.collectionRef, m.itemMap]);
2540
2540
  }
@@ -2584,12 +2584,12 @@ var bl = "DismissableLayer", yn = "dismissableLayer.update", yl = "dismissableLa
2584
2584
  onInteractOutside: i,
2585
2585
  onDismiss: s,
2586
2586
  ...c
2587
- } = e, l = h.useContext(er), [u, d] = h.useState(null), _ = u?.ownerDocument ?? globalThis?.document, [, g] = h.useState({}), w = ne(t, (S) => d(S)), p = Array.from(l.layers), [m] = [...l.layersWithOutsidePointerEventsDisabled].slice(-1), v = p.indexOf(m), C = u ? p.indexOf(u) : -1, b = l.layersWithOutsidePointerEventsDisabled.size > 0, y = C >= v, x = El((S) => {
2588
- const E = S.target, P = [...l.branches].some((R) => R.contains(E));
2589
- !y || P || (r?.(S), i?.(S), S.defaultPrevented || s?.());
2590
- }, _), k = Ll((S) => {
2591
- const E = S.target;
2592
- [...l.branches].some((R) => R.contains(E)) || (a?.(S), i?.(S), S.defaultPrevented || s?.());
2587
+ } = e, l = h.useContext(er), [u, d] = h.useState(null), _ = u?.ownerDocument ?? globalThis?.document, [, g] = h.useState({}), w = ne(t, (S) => d(S)), p = Array.from(l.layers), [m] = [...l.layersWithOutsidePointerEventsDisabled].slice(-1), v = p.indexOf(m), C = u ? p.indexOf(u) : -1, b = l.layersWithOutsidePointerEventsDisabled.size > 0, y = C >= v, x = Ll((S) => {
2588
+ const L = S.target, $ = [...l.branches].some((N) => N.contains(L));
2589
+ !y || $ || (r?.(S), i?.(S), S.defaultPrevented || s?.());
2590
+ }, _), E = Pl((S) => {
2591
+ const L = S.target;
2592
+ [...l.branches].some((N) => N.contains(L)) || (a?.(S), i?.(S), S.defaultPrevented || s?.());
2593
2593
  }, _);
2594
2594
  return Cl((S) => {
2595
2595
  C === l.layers.size - 1 && (o?.(S), !S.defaultPrevented && s && (S.preventDefault(), s()));
@@ -2612,8 +2612,8 @@ var bl = "DismissableLayer", yn = "dismissableLayer.update", yl = "dismissableLa
2612
2612
  pointerEvents: b ? y ? "auto" : "none" : void 0,
2613
2613
  ...e.style
2614
2614
  },
2615
- onFocusCapture: cn(e.onFocusCapture, k.onFocusCapture),
2616
- onBlurCapture: cn(e.onBlurCapture, k.onBlurCapture),
2615
+ onFocusCapture: cn(e.onFocusCapture, E.onFocusCapture),
2616
+ onBlurCapture: cn(e.onBlurCapture, E.onBlurCapture),
2617
2617
  onPointerDownCapture: cn(
2618
2618
  e.onPointerDownCapture,
2619
2619
  x.onPointerDownCapture
@@ -2623,7 +2623,7 @@ var bl = "DismissableLayer", yn = "dismissableLayer.update", yl = "dismissableLa
2623
2623
  }
2624
2624
  );
2625
2625
  tr.displayName = bl;
2626
- var Sl = "DismissableLayerBranch", kl = h.forwardRef((e, t) => {
2626
+ var Sl = "DismissableLayerBranch", El = h.forwardRef((e, t) => {
2627
2627
  const n = h.useContext(er), o = h.useRef(null), r = ne(t, o);
2628
2628
  return h.useEffect(() => {
2629
2629
  const a = o.current;
@@ -2633,8 +2633,8 @@ var Sl = "DismissableLayerBranch", kl = h.forwardRef((e, t) => {
2633
2633
  };
2634
2634
  }, [n.branches]), /* @__PURE__ */ f(G.div, { ...e, ref: r });
2635
2635
  });
2636
- kl.displayName = Sl;
2637
- function El(e, t = globalThis?.document) {
2636
+ El.displayName = Sl;
2637
+ function Ll(e, t = globalThis?.document) {
2638
2638
  const n = Ze(e), o = h.useRef(!1), r = h.useRef(() => {
2639
2639
  });
2640
2640
  return h.useEffect(() => {
@@ -2664,7 +2664,7 @@ function El(e, t = globalThis?.document) {
2664
2664
  onPointerDownCapture: () => o.current = !0
2665
2665
  };
2666
2666
  }
2667
- function Ll(e, t = globalThis?.document) {
2667
+ function Pl(e, t = globalThis?.document) {
2668
2668
  const n = Ze(e), o = h.useRef(!1);
2669
2669
  return h.useEffect(() => {
2670
2670
  const r = (a) => {
@@ -2687,7 +2687,7 @@ function nr(e, t, n, { discrete: o }) {
2687
2687
  t && r.addEventListener(e, t, { once: !0 }), o ? _l(r, a) : r.dispatchEvent(a);
2688
2688
  }
2689
2689
  var ln = 0;
2690
- function Pl() {
2690
+ function $l() {
2691
2691
  h.useEffect(() => {
2692
2692
  const e = document.querySelectorAll("[data-radix-focus-guard]");
2693
2693
  return document.body.insertAdjacentElement("afterbegin", e[0] ?? lo()), document.body.insertAdjacentElement("beforeend", e[1] ?? lo()), ln++, () => {
@@ -2699,7 +2699,7 @@ function lo() {
2699
2699
  const e = document.createElement("span");
2700
2700
  return e.setAttribute("data-radix-focus-guard", ""), e.tabIndex = 0, e.style.outline = "none", e.style.opacity = "0", e.style.position = "fixed", e.style.pointerEvents = "none", e;
2701
2701
  }
2702
- var un = "focusScope.autoFocusOnMount", dn = "focusScope.autoFocusOnUnmount", uo = { bubbles: !1, cancelable: !0 }, $l = "FocusScope", or = h.forwardRef((e, t) => {
2702
+ var un = "focusScope.autoFocusOnMount", dn = "focusScope.autoFocusOnUnmount", uo = { bubbles: !1, cancelable: !0 }, Rl = "FocusScope", or = h.forwardRef((e, t) => {
2703
2703
  const {
2704
2704
  loop: n = !1,
2705
2705
  trapped: o = !1,
@@ -2742,7 +2742,7 @@ var un = "focusScope.autoFocusOnMount", dn = "focusScope.autoFocusOnUnmount", uo
2742
2742
  const p = document.activeElement;
2743
2743
  if (!s.contains(p)) {
2744
2744
  const v = new CustomEvent(un, uo);
2745
- s.addEventListener(un, l), s.dispatchEvent(v), v.defaultPrevented || (Rl(Ml(rr(s)), { select: !0 }), document.activeElement === p && ze(s));
2745
+ s.addEventListener(un, l), s.dispatchEvent(v), v.defaultPrevented || (Nl(Ml(rr(s)), { select: !0 }), document.activeElement === p && ze(s));
2746
2746
  }
2747
2747
  return () => {
2748
2748
  s.removeEventListener(un, l), setTimeout(() => {
@@ -2757,7 +2757,7 @@ var un = "focusScope.autoFocusOnMount", dn = "focusScope.autoFocusOnUnmount", uo
2757
2757
  if (!n && !o || g.paused) return;
2758
2758
  const m = p.key === "Tab" && !p.altKey && !p.ctrlKey && !p.metaKey, v = document.activeElement;
2759
2759
  if (m && v) {
2760
- const C = p.currentTarget, [b, y] = Nl(C);
2760
+ const C = p.currentTarget, [b, y] = kl(C);
2761
2761
  b && y ? !p.shiftKey && v === y ? (p.preventDefault(), n && ze(b, { select: !0 })) : p.shiftKey && v === b && (p.preventDefault(), n && ze(y, { select: !0 })) : v === C && p.preventDefault();
2762
2762
  }
2763
2763
  },
@@ -2765,13 +2765,13 @@ var un = "focusScope.autoFocusOnMount", dn = "focusScope.autoFocusOnUnmount", uo
2765
2765
  );
2766
2766
  return /* @__PURE__ */ f(G.div, { tabIndex: -1, ...i, ref: _, onKeyDown: w });
2767
2767
  });
2768
- or.displayName = $l;
2769
- function Rl(e, { select: t = !1 } = {}) {
2768
+ or.displayName = Rl;
2769
+ function Nl(e, { select: t = !1 } = {}) {
2770
2770
  const n = document.activeElement;
2771
2771
  for (const o of e)
2772
2772
  if (ze(o, { select: t }), document.activeElement !== n) return;
2773
2773
  }
2774
- function Nl(e) {
2774
+ function kl(e) {
2775
2775
  const t = rr(e), n = fo(t, e), o = fo(t.reverse(), e);
2776
2776
  return [n, o];
2777
2777
  }
@@ -2836,7 +2836,7 @@ function Fn(e) {
2836
2836
  n((o) => o ?? String(Ol++));
2837
2837
  }, [e]), e || (t ? `radix-${t}` : "");
2838
2838
  }
2839
- const Dl = ["top", "right", "bottom", "left"], Me = Math.min, ue = Math.max, Vt = Math.round, Pt = Math.floor, ye = (e) => ({
2839
+ const Dl = ["top", "right", "bottom", "left"], Me = Math.min, ue = Math.max, Vt = Math.round, $t = Math.floor, ye = (e) => ({
2840
2840
  x: e,
2841
2841
  y: e
2842
2842
  }), Vl = {
@@ -2851,10 +2851,10 @@ const Dl = ["top", "right", "bottom", "left"], Me = Math.min, ue = Math.max, Vt
2851
2851
  function xn(e, t, n) {
2852
2852
  return ue(e, Me(t, n));
2853
2853
  }
2854
- function Ee(e, t) {
2854
+ function Le(e, t) {
2855
2855
  return typeof e == "function" ? e(t) : e;
2856
2856
  }
2857
- function Le(e) {
2857
+ function Pe(e) {
2858
2858
  return e.split("-")[0];
2859
2859
  }
2860
2860
  function lt(e) {
@@ -2868,7 +2868,7 @@ function Zn(e) {
2868
2868
  }
2869
2869
  const Bl = /* @__PURE__ */ new Set(["top", "bottom"]);
2870
2870
  function be(e) {
2871
- return Bl.has(Le(e)) ? "y" : "x";
2871
+ return Bl.has(Pe(e)) ? "y" : "x";
2872
2872
  }
2873
2873
  function qn(e) {
2874
2874
  return Un(be(e));
@@ -2901,7 +2901,7 @@ function Zl(e, t, n) {
2901
2901
  }
2902
2902
  function ql(e, t, n, o) {
2903
2903
  const r = lt(e);
2904
- let a = Zl(Le(e), n === "start", o);
2904
+ let a = Zl(Pe(e), n === "start", o);
2905
2905
  return r && (a = a.map((i) => i + "-" + r), t && (a = a.concat(a.map(Sn)))), a;
2906
2906
  }
2907
2907
  function Ht(e) {
@@ -2947,7 +2947,7 @@ function mo(e, t, n) {
2947
2947
  reference: o,
2948
2948
  floating: r
2949
2949
  } = e;
2950
- const a = be(t), i = qn(t), s = Zn(i), c = Le(t), l = a === "y", u = o.x + o.width / 2 - r.width / 2, d = o.y + o.height / 2 - r.height / 2, _ = o[s] / 2 - r[s] / 2;
2950
+ const a = be(t), i = qn(t), s = Zn(i), c = Pe(t), l = a === "y", u = o.x + o.width / 2 - r.width / 2, d = o.y + o.height / 2 - r.height / 2, _ = o[s] / 2 - r[s] / 2;
2951
2951
  let g;
2952
2952
  switch (c) {
2953
2953
  case "top":
@@ -3067,7 +3067,7 @@ async function Ct(e, t) {
3067
3067
  elementContext: d = "floating",
3068
3068
  altBoundary: _ = !1,
3069
3069
  padding: g = 0
3070
- } = Ee(t, e), w = ar(g), m = s[_ ? d === "floating" ? "reference" : "floating" : d], v = Bt(await a.getClippingRect({
3070
+ } = Le(t, e), w = ar(g), m = s[_ ? d === "floating" ? "reference" : "floating" : d], v = Bt(await a.getClippingRect({
3071
3071
  element: (n = await (a.isElement == null ? void 0 : a.isElement(m))) == null || n ? m : m.contextElement || await (a.getDocumentElement == null ? void 0 : a.getDocumentElement(s.floating)),
3072
3072
  boundary: l,
3073
3073
  rootBoundary: u,
@@ -3111,16 +3111,16 @@ const Gl = (e) => ({
3111
3111
  } = t, {
3112
3112
  element: l,
3113
3113
  padding: u = 0
3114
- } = Ee(e, t) || {};
3114
+ } = Le(e, t) || {};
3115
3115
  if (l == null)
3116
3116
  return {};
3117
3117
  const d = ar(u), _ = {
3118
3118
  x: n,
3119
3119
  y: o
3120
- }, g = qn(r), w = Zn(g), p = await i.getDimensions(l), m = g === "y", v = m ? "top" : "left", C = m ? "bottom" : "right", b = m ? "clientHeight" : "clientWidth", y = a.reference[w] + a.reference[g] - _[g] - a.floating[w], x = _[g] - a.reference[g], k = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(l));
3121
- let S = k ? k[b] : 0;
3122
- (!S || !await (i.isElement == null ? void 0 : i.isElement(k))) && (S = s.floating[b] || a.floating[w]);
3123
- const E = y / 2 - x / 2, P = S / 2 - p[w] / 2 - 1, R = Me(d[v], P), T = Me(d[C], P), B = R, H = S - p[w] - T, O = S / 2 - p[w] / 2 + E, j = xn(B, O, H), z = !c.arrow && lt(r) != null && O !== j && a.reference[w] / 2 - (O < B ? R : T) - p[w] / 2 < 0, D = z ? O < B ? O - B : O - H : 0;
3120
+ }, g = qn(r), w = Zn(g), p = await i.getDimensions(l), m = g === "y", v = m ? "top" : "left", C = m ? "bottom" : "right", b = m ? "clientHeight" : "clientWidth", y = a.reference[w] + a.reference[g] - _[g] - a.floating[w], x = _[g] - a.reference[g], E = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(l));
3121
+ let S = E ? E[b] : 0;
3122
+ (!S || !await (i.isElement == null ? void 0 : i.isElement(E))) && (S = s.floating[b] || a.floating[w]);
3123
+ const L = y / 2 - x / 2, $ = S / 2 - p[w] / 2 - 1, N = Me(d[v], $), T = Me(d[C], $), B = N, H = S - p[w] - T, O = S / 2 - p[w] / 2 + L, j = xn(B, O, H), z = !c.arrow && lt(r) != null && O !== j && a.reference[w] / 2 - (O < B ? N : T) - p[w] / 2 < 0, D = z ? O < B ? O - B : O - H : 0;
3124
3124
  return {
3125
3125
  [g]: _[g] + D,
3126
3126
  data: {
@@ -3154,49 +3154,49 @@ const Gl = (e) => ({
3154
3154
  fallbackAxisSideDirection: w = "none",
3155
3155
  flipAlignment: p = !0,
3156
3156
  ...m
3157
- } = Ee(e, t);
3157
+ } = Le(e, t);
3158
3158
  if ((n = a.arrow) != null && n.alignmentOffset)
3159
3159
  return {};
3160
- const v = Le(r), C = be(s), b = Le(s) === s, y = await (c.isRTL == null ? void 0 : c.isRTL(l.floating)), x = _ || (b || !p ? [Ht(s)] : Wl(s)), k = w !== "none";
3161
- !_ && k && x.push(...ql(s, p, w, y));
3162
- const S = [s, ...x], E = await Ct(t, m), P = [];
3163
- let R = ((o = a.flip) == null ? void 0 : o.overflows) || [];
3164
- if (u && P.push(E[v]), d) {
3160
+ const v = Pe(r), C = be(s), b = Pe(s) === s, y = await (c.isRTL == null ? void 0 : c.isRTL(l.floating)), x = _ || (b || !p ? [Ht(s)] : Wl(s)), E = w !== "none";
3161
+ !_ && E && x.push(...ql(s, p, w, y));
3162
+ const S = [s, ...x], L = await Ct(t, m), $ = [];
3163
+ let N = ((o = a.flip) == null ? void 0 : o.overflows) || [];
3164
+ if (u && $.push(L[v]), d) {
3165
3165
  const O = jl(r, i, y);
3166
- P.push(E[O[0]], E[O[1]]);
3166
+ $.push(L[O[0]], L[O[1]]);
3167
3167
  }
3168
- if (R = [...R, {
3168
+ if (N = [...N, {
3169
3169
  placement: r,
3170
- overflows: P
3171
- }], !P.every((O) => O <= 0)) {
3170
+ overflows: $
3171
+ }], !$.every((O) => O <= 0)) {
3172
3172
  var T, B;
3173
3173
  const O = (((T = a.flip) == null ? void 0 : T.index) || 0) + 1, j = S[O];
3174
3174
  if (j && (!(d === "alignment" ? C !== be(j) : !1) || // We leave the current main axis only if every placement on that axis
3175
3175
  // overflows the main axis.
3176
- R.every((N) => be(N.placement) === C ? N.overflows[0] > 0 : !0)))
3176
+ N.every((k) => be(k.placement) === C ? k.overflows[0] > 0 : !0)))
3177
3177
  return {
3178
3178
  data: {
3179
3179
  index: O,
3180
- overflows: R
3180
+ overflows: N
3181
3181
  },
3182
3182
  reset: {
3183
3183
  placement: j
3184
3184
  }
3185
3185
  };
3186
- let z = (B = R.filter((D) => D.overflows[0] <= 0).sort((D, N) => D.overflows[1] - N.overflows[1])[0]) == null ? void 0 : B.placement;
3186
+ let z = (B = N.filter((D) => D.overflows[0] <= 0).sort((D, k) => D.overflows[1] - k.overflows[1])[0]) == null ? void 0 : B.placement;
3187
3187
  if (!z)
3188
3188
  switch (g) {
3189
3189
  case "bestFit": {
3190
3190
  var H;
3191
- const D = (H = R.filter((N) => {
3192
- if (k) {
3193
- const F = be(N.placement);
3191
+ const D = (H = N.filter((k) => {
3192
+ if (E) {
3193
+ const F = be(k.placement);
3194
3194
  return F === C || // Create a bias to the `y` side axis due to horizontal
3195
3195
  // reading directions favoring greater width.
3196
3196
  F === "y";
3197
3197
  }
3198
3198
  return !0;
3199
- }).map((N) => [N.placement, N.overflows.filter((F) => F > 0).reduce((F, se) => F + se, 0)]).sort((N, F) => N[1] - F[1])[0]) == null ? void 0 : H[0];
3199
+ }).map((k) => [k.placement, k.overflows.filter((F) => F > 0).reduce((F, se) => F + se, 0)]).sort((k, F) => k[1] - F[1])[0]) == null ? void 0 : H[0];
3200
3200
  D && (z = D);
3201
3201
  break;
3202
3202
  }
@@ -3236,7 +3236,7 @@ const Ql = function(e) {
3236
3236
  } = t, {
3237
3237
  strategy: o = "referenceHidden",
3238
3238
  ...r
3239
- } = Ee(e, t);
3239
+ } = Le(e, t);
3240
3240
  switch (o) {
3241
3241
  case "referenceHidden": {
3242
3242
  const a = await Ct(t, {
@@ -3273,7 +3273,7 @@ async function Jl(e, t) {
3273
3273
  placement: n,
3274
3274
  platform: o,
3275
3275
  elements: r
3276
- } = e, a = await (o.isRTL == null ? void 0 : o.isRTL(r.floating)), i = Le(n), s = lt(n), c = be(n) === "y", l = sr.has(i) ? -1 : 1, u = a && c ? -1 : 1, d = Ee(t, e);
3276
+ } = e, a = await (o.isRTL == null ? void 0 : o.isRTL(r.floating)), i = Pe(n), s = lt(n), c = be(n) === "y", l = sr.has(i) ? -1 : 1, u = a && c ? -1 : 1, d = Le(t, e);
3277
3277
  let {
3278
3278
  mainAxis: _,
3279
3279
  crossAxis: g,
@@ -3342,10 +3342,10 @@ const e1 = function(e) {
3342
3342
  }
3343
3343
  },
3344
3344
  ...c
3345
- } = Ee(e, t), l = {
3345
+ } = Le(e, t), l = {
3346
3346
  x: n,
3347
3347
  y: o
3348
- }, u = await Ct(t, c), d = be(Le(r)), _ = Un(d);
3348
+ }, u = await Ct(t, c), d = be(Pe(r)), _ = Un(d);
3349
3349
  let g = l[_], w = l[d];
3350
3350
  if (a) {
3351
3351
  const m = _ === "y" ? "top" : "left", v = _ === "y" ? "bottom" : "right", C = g + u[m], b = g - u[v];
@@ -3387,12 +3387,12 @@ const e1 = function(e) {
3387
3387
  offset: s = 0,
3388
3388
  mainAxis: c = !0,
3389
3389
  crossAxis: l = !0
3390
- } = Ee(e, t), u = {
3390
+ } = Le(e, t), u = {
3391
3391
  x: n,
3392
3392
  y: o
3393
3393
  }, d = be(r), _ = Un(d);
3394
3394
  let g = u[_], w = u[d];
3395
- const p = Ee(s, t), m = typeof p == "number" ? {
3395
+ const p = Le(s, t), m = typeof p == "number" ? {
3396
3396
  mainAxis: p,
3397
3397
  crossAxis: 0
3398
3398
  } : {
@@ -3406,8 +3406,8 @@ const e1 = function(e) {
3406
3406
  }
3407
3407
  if (l) {
3408
3408
  var v, C;
3409
- const b = _ === "y" ? "width" : "height", y = sr.has(Le(r)), x = a.reference[d] - a.floating[b] + (y && ((v = i.offset) == null ? void 0 : v[d]) || 0) + (y ? 0 : m.crossAxis), k = a.reference[d] + a.reference[b] + (y ? 0 : ((C = i.offset) == null ? void 0 : C[d]) || 0) - (y ? m.crossAxis : 0);
3410
- w < x ? w = x : w > k && (w = k);
3409
+ const b = _ === "y" ? "width" : "height", y = sr.has(Pe(r)), x = a.reference[d] - a.floating[b] + (y && ((v = i.offset) == null ? void 0 : v[d]) || 0) + (y ? 0 : m.crossAxis), E = a.reference[d] + a.reference[b] + (y ? 0 : ((C = i.offset) == null ? void 0 : C[d]) || 0) - (y ? m.crossAxis : 0);
3410
+ w < x ? w = x : w > E && (w = E);
3411
3411
  }
3412
3412
  return {
3413
3413
  [_]: g,
@@ -3430,25 +3430,25 @@ const e1 = function(e) {
3430
3430
  apply: c = () => {
3431
3431
  },
3432
3432
  ...l
3433
- } = Ee(e, t), u = await Ct(t, l), d = Le(r), _ = lt(r), g = be(r) === "y", {
3433
+ } = Le(e, t), u = await Ct(t, l), d = Pe(r), _ = lt(r), g = be(r) === "y", {
3434
3434
  width: w,
3435
3435
  height: p
3436
3436
  } = a.floating;
3437
3437
  let m, v;
3438
3438
  d === "top" || d === "bottom" ? (m = d, v = _ === (await (i.isRTL == null ? void 0 : i.isRTL(s.floating)) ? "start" : "end") ? "left" : "right") : (v = d, m = _ === "end" ? "top" : "bottom");
3439
- const C = p - u.top - u.bottom, b = w - u.left - u.right, y = Me(p - u[m], C), x = Me(w - u[v], b), k = !t.middlewareData.shift;
3440
- let S = y, E = x;
3441
- if ((n = t.middlewareData.shift) != null && n.enabled.x && (E = b), (o = t.middlewareData.shift) != null && o.enabled.y && (S = C), k && !_) {
3442
- const R = ue(u.left, 0), T = ue(u.right, 0), B = ue(u.top, 0), H = ue(u.bottom, 0);
3443
- g ? E = w - 2 * (R !== 0 || T !== 0 ? R + T : ue(u.left, u.right)) : S = p - 2 * (B !== 0 || H !== 0 ? B + H : ue(u.top, u.bottom));
3439
+ const C = p - u.top - u.bottom, b = w - u.left - u.right, y = Me(p - u[m], C), x = Me(w - u[v], b), E = !t.middlewareData.shift;
3440
+ let S = y, L = x;
3441
+ if ((n = t.middlewareData.shift) != null && n.enabled.x && (L = b), (o = t.middlewareData.shift) != null && o.enabled.y && (S = C), E && !_) {
3442
+ const N = ue(u.left, 0), T = ue(u.right, 0), B = ue(u.top, 0), H = ue(u.bottom, 0);
3443
+ g ? L = w - 2 * (N !== 0 || T !== 0 ? N + T : ue(u.left, u.right)) : S = p - 2 * (B !== 0 || H !== 0 ? B + H : ue(u.top, u.bottom));
3444
3444
  }
3445
3445
  await c({
3446
3446
  ...t,
3447
- availableWidth: E,
3447
+ availableWidth: L,
3448
3448
  availableHeight: S
3449
3449
  });
3450
- const P = await i.getDimensions(s.floating);
3451
- return w !== P.width || p !== P.height ? {
3450
+ const $ = await i.getDimensions(s.floating);
3451
+ return w !== $.width || p !== $.height ? {
3452
3452
  reset: {
3453
3453
  rects: !0
3454
3454
  }
@@ -3562,12 +3562,12 @@ function bt(e, t, n) {
3562
3562
  t === void 0 && (t = []), n === void 0 && (n = !0);
3563
3563
  const r = cr(e), a = r === ((o = e.ownerDocument) == null ? void 0 : o.body), i = de(r);
3564
3564
  if (a) {
3565
- const s = kn(i);
3565
+ const s = En(i);
3566
3566
  return t.concat(i, i.visualViewport || [], yt(r) ? r : [], s && n ? bt(s) : []);
3567
3567
  }
3568
3568
  return t.concat(r, bt(r, [], n));
3569
3569
  }
3570
- function kn(e) {
3570
+ function En(e) {
3571
3571
  return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
3572
3572
  }
3573
3573
  function lr(e) {
@@ -3618,10 +3618,10 @@ function qe(e, t, n, o) {
3618
3618
  let c = (r.left + s.x) / i.x, l = (r.top + s.y) / i.y, u = r.width / i.x, d = r.height / i.y;
3619
3619
  if (a) {
3620
3620
  const _ = de(a), g = o && me(o) ? de(o) : o;
3621
- let w = _, p = kn(w);
3621
+ let w = _, p = En(w);
3622
3622
  for (; p && o && g !== w; ) {
3623
3623
  const m = rt(p), v = p.getBoundingClientRect(), C = we(p), b = v.left + (p.clientLeft + parseFloat(C.paddingLeft)) * m.x, y = v.top + (p.clientTop + parseFloat(C.paddingTop)) * m.y;
3624
- c *= m.x, l *= m.y, u *= m.x, d *= m.y, c += b, l += y, w = de(p), p = kn(w);
3624
+ c *= m.x, l *= m.y, u *= m.x, d *= m.y, c += b, l += y, w = de(p), p = En(w);
3625
3625
  }
3626
3626
  }
3627
3627
  return Bt({
@@ -3831,7 +3831,7 @@ function _r(e, t) {
3831
3831
  o = xo(o, t);
3832
3832
  return o && it(o) && fn(o) && !Xn(o) ? n : o || d1(e) || n;
3833
3833
  }
3834
- const k1 = async function(e) {
3834
+ const E1 = async function(e) {
3835
3835
  const t = this.getOffsetParent || _r, n = this.getDimensions, o = await n(e.floating);
3836
3836
  return {
3837
3837
  reference: S1(e.reference, await t(e.floating), e.strategy),
@@ -3843,25 +3843,25 @@ const k1 = async function(e) {
3843
3843
  }
3844
3844
  };
3845
3845
  };
3846
- function E1(e) {
3846
+ function L1(e) {
3847
3847
  return we(e).direction === "rtl";
3848
3848
  }
3849
- const L1 = {
3849
+ const P1 = {
3850
3850
  convertOffsetParentRelativeRectToViewportRelativeRect: h1,
3851
3851
  getDocumentElement: Se,
3852
3852
  getClippingRect: y1,
3853
3853
  getOffsetParent: _r,
3854
- getElementRects: k1,
3854
+ getElementRects: E1,
3855
3855
  getClientRects: g1,
3856
3856
  getDimensions: x1,
3857
3857
  getScale: rt,
3858
3858
  isElement: me,
3859
- isRTL: E1
3859
+ isRTL: L1
3860
3860
  };
3861
3861
  function pr(e, t) {
3862
3862
  return e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height;
3863
3863
  }
3864
- function P1(e, t) {
3864
+ function $1(e, t) {
3865
3865
  let n = null, o;
3866
3866
  const r = Se(e);
3867
3867
  function a() {
@@ -3878,13 +3878,13 @@ function P1(e, t) {
3878
3878
  } = l;
3879
3879
  if (s || t(), !_ || !g)
3880
3880
  return;
3881
- const w = Pt(d), p = Pt(r.clientWidth - (u + _)), m = Pt(r.clientHeight - (d + g)), v = Pt(u), b = {
3881
+ const w = $t(d), p = $t(r.clientWidth - (u + _)), m = $t(r.clientHeight - (d + g)), v = $t(u), b = {
3882
3882
  rootMargin: -w + "px " + -p + "px " + -m + "px " + -v + "px",
3883
3883
  threshold: ue(0, Me(1, c)) || 1
3884
3884
  };
3885
3885
  let y = !0;
3886
- function x(k) {
3887
- const S = k[0].intersectionRatio;
3886
+ function x(E) {
3887
+ const S = E[0].intersectionRatio;
3888
3888
  if (S !== c) {
3889
3889
  if (!y)
3890
3890
  return i();
@@ -3907,7 +3907,7 @@ function P1(e, t) {
3907
3907
  }
3908
3908
  return i(!0), a;
3909
3909
  }
3910
- function $1(e, t, n, o) {
3910
+ function R1(e, t, n, o) {
3911
3911
  o === void 0 && (o = {});
3912
3912
  const {
3913
3913
  ancestorScroll: r = !0,
@@ -3921,7 +3921,7 @@ function $1(e, t, n, o) {
3921
3921
  passive: !0
3922
3922
  }), a && v.addEventListener("resize", n);
3923
3923
  });
3924
- const d = l && s ? P1(l, n) : null;
3924
+ const d = l && s ? $1(l, n) : null;
3925
3925
  let _ = -1, g = null;
3926
3926
  i && (g = new ResizeObserver((v) => {
3927
3927
  let [C] = v;
@@ -3943,9 +3943,9 @@ function $1(e, t, n, o) {
3943
3943
  }), d?.(), (v = g) == null || v.disconnect(), g = null, c && cancelAnimationFrame(w);
3944
3944
  };
3945
3945
  }
3946
- const R1 = e1, N1 = t1, A1 = Kl, T1 = o1, z1 = Ql, So = Gl, M1 = n1, I1 = (e, t, n) => {
3946
+ const N1 = e1, k1 = t1, A1 = Kl, T1 = o1, z1 = Ql, So = Gl, M1 = n1, I1 = (e, t, n) => {
3947
3947
  const o = /* @__PURE__ */ new Map(), r = {
3948
- platform: L1,
3948
+ platform: P1,
3949
3949
  ...n
3950
3950
  }, a = {
3951
3951
  ...r.platform,
@@ -3991,7 +3991,7 @@ function jt(e, t) {
3991
3991
  function hr(e) {
3992
3992
  return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
3993
3993
  }
3994
- function ko(e, t) {
3994
+ function Eo(e, t) {
3995
3995
  const n = hr(e);
3996
3996
  return Math.round(t * n) / n;
3997
3997
  }
@@ -4024,19 +4024,19 @@ function V1(e) {
4024
4024
  isPositioned: !1
4025
4025
  }), [_, g] = h.useState(o);
4026
4026
  jt(_, o) || g(o);
4027
- const [w, p] = h.useState(null), [m, v] = h.useState(null), C = h.useCallback((N) => {
4028
- N !== k.current && (k.current = N, p(N));
4029
- }, []), b = h.useCallback((N) => {
4030
- N !== S.current && (S.current = N, v(N));
4031
- }, []), y = a || w, x = i || m, k = h.useRef(null), S = h.useRef(null), E = h.useRef(u), P = c != null, R = _n(c), T = _n(r), B = _n(l), H = h.useCallback(() => {
4032
- if (!k.current || !S.current)
4027
+ const [w, p] = h.useState(null), [m, v] = h.useState(null), C = h.useCallback((k) => {
4028
+ k !== E.current && (E.current = k, p(k));
4029
+ }, []), b = h.useCallback((k) => {
4030
+ k !== S.current && (S.current = k, v(k));
4031
+ }, []), y = a || w, x = i || m, E = h.useRef(null), S = h.useRef(null), L = h.useRef(u), $ = c != null, N = _n(c), T = _n(r), B = _n(l), H = h.useCallback(() => {
4032
+ if (!E.current || !S.current)
4033
4033
  return;
4034
- const N = {
4034
+ const k = {
4035
4035
  placement: t,
4036
4036
  strategy: n,
4037
4037
  middleware: _
4038
4038
  };
4039
- T.current && (N.platform = T.current), I1(k.current, S.current, N).then((F) => {
4039
+ T.current && (k.platform = T.current), I1(E.current, S.current, k).then((F) => {
4040
4040
  const se = {
4041
4041
  ...F,
4042
4042
  // The floating element's position may be recomputed while it's closed
@@ -4045,14 +4045,14 @@ function V1(e) {
4045
4045
  // setting it to `true` when `open === false` (must be specified).
4046
4046
  isPositioned: B.current !== !1
4047
4047
  };
4048
- O.current && !jt(E.current, se) && (E.current = se, Zt.flushSync(() => {
4048
+ O.current && !jt(L.current, se) && (L.current = se, Zt.flushSync(() => {
4049
4049
  d(se);
4050
4050
  }));
4051
4051
  });
4052
4052
  }, [_, t, n, T, B]);
4053
4053
  zt(() => {
4054
- l === !1 && E.current.isPositioned && (E.current.isPositioned = !1, d((N) => ({
4055
- ...N,
4054
+ l === !1 && L.current.isPositioned && (L.current.isPositioned = !1, d((k) => ({
4055
+ ...k,
4056
4056
  isPositioned: !1
4057
4057
  })));
4058
4058
  }, [l]);
@@ -4060,14 +4060,14 @@ function V1(e) {
4060
4060
  zt(() => (O.current = !0, () => {
4061
4061
  O.current = !1;
4062
4062
  }), []), zt(() => {
4063
- if (y && (k.current = y), x && (S.current = x), y && x) {
4064
- if (R.current)
4065
- return R.current(y, x, H);
4063
+ if (y && (E.current = y), x && (S.current = x), y && x) {
4064
+ if (N.current)
4065
+ return N.current(y, x, H);
4066
4066
  H();
4067
4067
  }
4068
- }, [y, x, H, R, P]);
4068
+ }, [y, x, H, N, $]);
4069
4069
  const j = h.useMemo(() => ({
4070
- reference: k,
4070
+ reference: E,
4071
4071
  floating: S,
4072
4072
  setReference: C,
4073
4073
  setFloating: b
@@ -4075,16 +4075,16 @@ function V1(e) {
4075
4075
  reference: y,
4076
4076
  floating: x
4077
4077
  }), [y, x]), D = h.useMemo(() => {
4078
- const N = {
4078
+ const k = {
4079
4079
  position: n,
4080
4080
  left: 0,
4081
4081
  top: 0
4082
4082
  };
4083
4083
  if (!z.floating)
4084
- return N;
4085
- const F = ko(z.floating, u.x), se = ko(z.floating, u.y);
4084
+ return k;
4085
+ const F = Eo(z.floating, u.x), se = Eo(z.floating, u.y);
4086
4086
  return s ? {
4087
- ...N,
4087
+ ...k,
4088
4088
  transform: "translate(" + F + "px, " + se + "px)",
4089
4089
  ...hr(z.floating) >= 1.5 && {
4090
4090
  willChange: "transform"
@@ -4125,10 +4125,10 @@ const H1 = (e) => {
4125
4125
  }
4126
4126
  };
4127
4127
  }, B1 = (e, t) => ({
4128
- ...R1(e),
4128
+ ...N1(e),
4129
4129
  options: [e, t]
4130
4130
  }), j1 = (e, t) => ({
4131
- ...N1(e),
4131
+ ...k1(e),
4132
4132
  options: [e, t]
4133
4133
  }), W1 = (e, t) => ({
4134
4134
  ...M1(e),
@@ -4217,23 +4217,23 @@ var Qn = "PopperContent", [Q1, J1] = mr(Qn), xr = h.forwardRef(
4217
4217
  updatePositionStrategy: g = "optimized",
4218
4218
  onPlaced: w,
4219
4219
  ...p
4220
- } = e, m = vr(Qn, n), [v, C] = h.useState(null), b = ne(t, ($) => C($)), [y, x] = h.useState(null), k = G1(y), S = k?.width ?? 0, E = k?.height ?? 0, P = o + (a !== "center" ? "-" + a : ""), R = typeof u == "number" ? u : { top: 0, right: 0, bottom: 0, left: 0, ...u }, T = Array.isArray(l) ? l : [l], B = T.length > 0, H = {
4221
- padding: R,
4220
+ } = e, m = vr(Qn, n), [v, C] = h.useState(null), b = ne(t, (R) => C(R)), [y, x] = h.useState(null), E = G1(y), S = E?.width ?? 0, L = E?.height ?? 0, $ = o + (a !== "center" ? "-" + a : ""), N = typeof u == "number" ? u : { top: 0, right: 0, bottom: 0, left: 0, ...u }, T = Array.isArray(l) ? l : [l], B = T.length > 0, H = {
4221
+ padding: N,
4222
4222
  boundary: T.filter(tu),
4223
4223
  // with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
4224
4224
  altBoundary: B
4225
- }, { refs: O, floatingStyles: j, placement: z, isPositioned: D, middlewareData: N } = V1({
4225
+ }, { refs: O, floatingStyles: j, placement: z, isPositioned: D, middlewareData: k } = V1({
4226
4226
  // default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues
4227
4227
  strategy: "fixed",
4228
- placement: P,
4229
- whileElementsMounted: (...$) => $1(...$, {
4228
+ placement: $,
4229
+ whileElementsMounted: (...R) => R1(...R, {
4230
4230
  animationFrame: g === "always"
4231
4231
  }),
4232
4232
  elements: {
4233
4233
  reference: m.anchor
4234
4234
  },
4235
4235
  middleware: [
4236
- B1({ mainAxis: r + E, alignmentAxis: i }),
4236
+ B1({ mainAxis: r + L, alignmentAxis: i }),
4237
4237
  c && j1({
4238
4238
  mainAxis: !0,
4239
4239
  crossAxis: !1,
@@ -4243,20 +4243,20 @@ var Qn = "PopperContent", [Q1, J1] = mr(Qn), xr = h.forwardRef(
4243
4243
  c && F1({ ...H }),
4244
4244
  U1({
4245
4245
  ...H,
4246
- apply: ({ elements: $, rects: X, availableWidth: oe, availableHeight: U }) => {
4247
- const { width: Z, height: Q } = X.reference, fe = $.floating.style;
4246
+ apply: ({ elements: R, rects: X, availableWidth: oe, availableHeight: U }) => {
4247
+ const { width: Z, height: Q } = X.reference, fe = R.floating.style;
4248
4248
  fe.setProperty("--radix-popper-available-width", `${oe}px`), fe.setProperty("--radix-popper-available-height", `${U}px`), fe.setProperty("--radix-popper-anchor-width", `${Z}px`), fe.setProperty("--radix-popper-anchor-height", `${Q}px`);
4249
4249
  }
4250
4250
  }),
4251
4251
  y && q1({ element: y, padding: s }),
4252
- nu({ arrowWidth: S, arrowHeight: E }),
4252
+ nu({ arrowWidth: S, arrowHeight: L }),
4253
4253
  _ && Z1({ strategy: "referenceHidden", ...H })
4254
4254
  ]
4255
- }), [F, se] = Er(z), Ve = Ze(w);
4255
+ }), [F, se] = Lr(z), Ve = Ze(w);
4256
4256
  le(() => {
4257
4257
  D && Ve?.();
4258
4258
  }, [D, Ve]);
4259
- const ft = N.arrow?.x, _t = N.arrow?.y, $e = N.arrow?.centerOffset !== 0, [Ke, He] = h.useState();
4259
+ const ft = k.arrow?.x, _t = k.arrow?.y, Re = k.arrow?.centerOffset !== 0, [Ke, He] = h.useState();
4260
4260
  return le(() => {
4261
4261
  v && He(window.getComputedStyle(v).zIndex);
4262
4262
  }, [v]), /* @__PURE__ */ f(
@@ -4271,13 +4271,13 @@ var Qn = "PopperContent", [Q1, J1] = mr(Qn), xr = h.forwardRef(
4271
4271
  minWidth: "max-content",
4272
4272
  zIndex: Ke,
4273
4273
  "--radix-popper-transform-origin": [
4274
- N.transformOrigin?.x,
4275
- N.transformOrigin?.y
4274
+ k.transformOrigin?.x,
4275
+ k.transformOrigin?.y
4276
4276
  ].join(" "),
4277
4277
  // hide the content if using the hide middleware and should be hidden
4278
4278
  // set visibility to hidden and disable pointer events so the UI behaves
4279
4279
  // as if the PopperContent isn't there at all
4280
- ...N.hide?.referenceHidden && {
4280
+ ...k.hide?.referenceHidden && {
4281
4281
  visibility: "hidden",
4282
4282
  pointerEvents: "none"
4283
4283
  }
@@ -4291,7 +4291,7 @@ var Qn = "PopperContent", [Q1, J1] = mr(Qn), xr = h.forwardRef(
4291
4291
  onArrowChange: x,
4292
4292
  arrowX: ft,
4293
4293
  arrowY: _t,
4294
- shouldHideArrow: $e,
4294
+ shouldHideArrow: Re,
4295
4295
  children: /* @__PURE__ */ f(
4296
4296
  G.div,
4297
4297
  {
@@ -4319,7 +4319,7 @@ var Sr = "PopperArrow", eu = {
4319
4319
  right: "left",
4320
4320
  bottom: "top",
4321
4321
  left: "right"
4322
- }, kr = h.forwardRef(function(t, n) {
4322
+ }, Er = h.forwardRef(function(t, n) {
4323
4323
  const { __scopePopper: o, ...r } = t, a = J1(Sr, o), i = eu[a.placedSide];
4324
4324
  return (
4325
4325
  // we have to use an extra wrapper because `ResizeObserver` (used by `useSize`)
@@ -4364,7 +4364,7 @@ var Sr = "PopperArrow", eu = {
4364
4364
  )
4365
4365
  );
4366
4366
  });
4367
- kr.displayName = Sr;
4367
+ Er.displayName = Sr;
4368
4368
  function tu(e) {
4369
4369
  return e !== null;
4370
4370
  }
@@ -4372,24 +4372,24 @@ var nu = (e) => ({
4372
4372
  name: "transformOrigin",
4373
4373
  options: e,
4374
4374
  fn(t) {
4375
- const { placement: n, rects: o, middlewareData: r } = t, i = r.arrow?.centerOffset !== 0, s = i ? 0 : e.arrowWidth, c = i ? 0 : e.arrowHeight, [l, u] = Er(n), d = { start: "0%", center: "50%", end: "100%" }[u], _ = (r.arrow?.x ?? 0) + s / 2, g = (r.arrow?.y ?? 0) + c / 2;
4375
+ const { placement: n, rects: o, middlewareData: r } = t, i = r.arrow?.centerOffset !== 0, s = i ? 0 : e.arrowWidth, c = i ? 0 : e.arrowHeight, [l, u] = Lr(n), d = { start: "0%", center: "50%", end: "100%" }[u], _ = (r.arrow?.x ?? 0) + s / 2, g = (r.arrow?.y ?? 0) + c / 2;
4376
4376
  let w = "", p = "";
4377
4377
  return l === "bottom" ? (w = i ? d : `${_}px`, p = `${-c}px`) : l === "top" ? (w = i ? d : `${_}px`, p = `${o.floating.height + c}px`) : l === "right" ? (w = `${-c}px`, p = i ? d : `${g}px`) : l === "left" && (w = `${o.floating.width + c}px`, p = i ? d : `${g}px`), { data: { x: w, y: p } };
4378
4378
  }
4379
4379
  });
4380
- function Er(e) {
4380
+ function Lr(e) {
4381
4381
  const [t, n = "center"] = e.split("-");
4382
4382
  return [t, n];
4383
4383
  }
4384
- var ou = Cr, ru = yr, au = xr, su = kr, iu = "Portal", Lr = h.forwardRef((e, t) => {
4384
+ var ou = Cr, ru = yr, au = xr, su = Er, iu = "Portal", Pr = h.forwardRef((e, t) => {
4385
4385
  const { container: n, ...o } = e, [r, a] = h.useState(!1);
4386
4386
  le(() => a(!0), []);
4387
4387
  const i = n || r && globalThis?.document?.body;
4388
4388
  return i ? va.createPortal(/* @__PURE__ */ f(G.div, { ...o, ref: t }), i) : null;
4389
4389
  });
4390
- Lr.displayName = iu;
4390
+ Pr.displayName = iu;
4391
4391
  var cu = h[" useInsertionEffect ".trim().toString()] || le;
4392
- function Eo({
4392
+ function Lo({
4393
4393
  prop: e,
4394
4394
  defaultProp: t,
4395
4395
  onChange: n = () => {
@@ -4439,7 +4439,7 @@ function du(e) {
4439
4439
  const t = h.useRef({ value: e, previous: e });
4440
4440
  return h.useMemo(() => (t.current.value !== e && (t.current.previous = t.current.value, t.current.value = e), t.current.previous), [e]);
4441
4441
  }
4442
- var Pr = Object.freeze({
4442
+ var $r = Object.freeze({
4443
4443
  // See: https://github.com/twbs/bootstrap/blob/main/scss/mixins/_visually-hidden.scss
4444
4444
  position: "absolute",
4445
4445
  border: 0,
@@ -4457,7 +4457,7 @@ var Pr = Object.freeze({
4457
4457
  {
4458
4458
  ...e,
4459
4459
  ref: t,
4460
- style: { ...Pr, ...e.style }
4460
+ style: { ...$r, ...e.style }
4461
4461
  }
4462
4462
  )
4463
4463
  );
@@ -4467,21 +4467,21 @@ var pu = function(e) {
4467
4467
  return null;
4468
4468
  var t = Array.isArray(e) ? e[0] : e;
4469
4469
  return t.ownerDocument.body;
4470
- }, et = /* @__PURE__ */ new WeakMap(), $t = /* @__PURE__ */ new WeakMap(), Rt = {}, pn = 0, $r = function(e) {
4471
- return e && (e.host || $r(e.parentNode));
4470
+ }, et = /* @__PURE__ */ new WeakMap(), Rt = /* @__PURE__ */ new WeakMap(), Nt = {}, pn = 0, Rr = function(e) {
4471
+ return e && (e.host || Rr(e.parentNode));
4472
4472
  }, hu = function(e, t) {
4473
4473
  return t.map(function(n) {
4474
4474
  if (e.contains(n))
4475
4475
  return n;
4476
- var o = $r(n);
4476
+ var o = Rr(n);
4477
4477
  return o && e.contains(o) ? o : (console.error("aria-hidden", n, "in not contained inside", e, ". Doing nothing"), null);
4478
4478
  }).filter(function(n) {
4479
4479
  return !!n;
4480
4480
  });
4481
4481
  }, gu = function(e, t, n, o) {
4482
4482
  var r = hu(t, Array.isArray(e) ? e : [e]);
4483
- Rt[n] || (Rt[n] = /* @__PURE__ */ new WeakMap());
4484
- var a = Rt[n], i = [], s = /* @__PURE__ */ new Set(), c = new Set(r), l = function(d) {
4483
+ Nt[n] || (Nt[n] = /* @__PURE__ */ new WeakMap());
4484
+ var a = Nt[n], i = [], s = /* @__PURE__ */ new Set(), c = new Set(r), l = function(d) {
4485
4485
  !d || s.has(d) || (s.add(d), l(d.parentNode));
4486
4486
  };
4487
4487
  r.forEach(l);
@@ -4492,7 +4492,7 @@ var pu = function(e) {
4492
4492
  else
4493
4493
  try {
4494
4494
  var g = _.getAttribute(o), w = g !== null && g !== "false", p = (et.get(_) || 0) + 1, m = (a.get(_) || 0) + 1;
4495
- et.set(_, p), a.set(_, m), i.push(_), p === 1 && w && $t.set(_, !0), m === 1 && _.setAttribute(n, "true"), w || _.setAttribute(o, "true");
4495
+ et.set(_, p), a.set(_, m), i.push(_), p === 1 && w && Rt.set(_, !0), m === 1 && _.setAttribute(n, "true"), w || _.setAttribute(o, "true");
4496
4496
  } catch (v) {
4497
4497
  console.error("aria-hidden: cannot operate on ", _, v);
4498
4498
  }
@@ -4501,8 +4501,8 @@ var pu = function(e) {
4501
4501
  return u(t), s.clear(), pn++, function() {
4502
4502
  i.forEach(function(d) {
4503
4503
  var _ = et.get(d) - 1, g = a.get(d) - 1;
4504
- et.set(d, _), a.set(d, g), _ || ($t.has(d) || d.removeAttribute(o), $t.delete(d)), g || d.removeAttribute(n);
4505
- }), pn--, pn || (et = /* @__PURE__ */ new WeakMap(), et = /* @__PURE__ */ new WeakMap(), $t = /* @__PURE__ */ new WeakMap(), Rt = {});
4504
+ et.set(d, _), a.set(d, g), _ || (Rt.has(d) || d.removeAttribute(o), Rt.delete(d)), g || d.removeAttribute(n);
4505
+ }), pn--, pn || (et = /* @__PURE__ */ new WeakMap(), et = /* @__PURE__ */ new WeakMap(), Rt = /* @__PURE__ */ new WeakMap(), Nt = {});
4506
4506
  };
4507
4507
  }, mu = function(e, t, n) {
4508
4508
  n === void 0 && (n = "data-aria-hidden");
@@ -4519,7 +4519,7 @@ var pu = function(e) {
4519
4519
  return t;
4520
4520
  }, Ce.apply(this, arguments);
4521
4521
  };
4522
- function Rr(e, t) {
4522
+ function Nr(e, t) {
4523
4523
  var n = {};
4524
4524
  for (var o in e) Object.prototype.hasOwnProperty.call(e, o) && t.indexOf(o) < 0 && (n[o] = e[o]);
4525
4525
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -4557,7 +4557,7 @@ function bu(e, t) {
4557
4557
  })[0];
4558
4558
  return n.callback = t, n.facade;
4559
4559
  }
4560
- var yu = typeof window < "u" ? h.useLayoutEffect : h.useEffect, Lo = /* @__PURE__ */ new WeakMap();
4560
+ var yu = typeof window < "u" ? h.useLayoutEffect : h.useEffect, Po = /* @__PURE__ */ new WeakMap();
4561
4561
  function xu(e, t) {
4562
4562
  var n = bu(null, function(o) {
4563
4563
  return e.forEach(function(r) {
@@ -4565,7 +4565,7 @@ function xu(e, t) {
4565
4565
  });
4566
4566
  });
4567
4567
  return yu(function() {
4568
- var o = Lo.get(n);
4568
+ var o = Po.get(n);
4569
4569
  if (o) {
4570
4570
  var r = new Set(o), a = new Set(e), i = n.current;
4571
4571
  r.forEach(function(s) {
@@ -4574,13 +4574,13 @@ function xu(e, t) {
4574
4574
  r.has(s) || hn(s, i);
4575
4575
  });
4576
4576
  }
4577
- Lo.set(n, e);
4577
+ Po.set(n, e);
4578
4578
  }, [e]), n;
4579
4579
  }
4580
4580
  function Su(e) {
4581
4581
  return e;
4582
4582
  }
4583
- function ku(e, t) {
4583
+ function Eu(e, t) {
4584
4584
  t === void 0 && (t = Su);
4585
4585
  var n = [], o = !1, r = {
4586
4586
  read: function() {
@@ -4635,13 +4635,13 @@ function ku(e, t) {
4635
4635
  };
4636
4636
  return r;
4637
4637
  }
4638
- function Eu(e) {
4638
+ function Lu(e) {
4639
4639
  e === void 0 && (e = {});
4640
- var t = ku(null);
4640
+ var t = Eu(null);
4641
4641
  return t.options = Ce({ async: !0, ssr: !1 }, e), t;
4642
4642
  }
4643
- var Nr = function(e) {
4644
- var t = e.sideCar, n = Rr(e, ["sideCar"]);
4643
+ var kr = function(e) {
4644
+ var t = e.sideCar, n = Nr(e, ["sideCar"]);
4645
4645
  if (!t)
4646
4646
  throw new Error("Sidecar: please provide `sideCar` property to import the right car");
4647
4647
  var o = t.read();
@@ -4649,22 +4649,22 @@ var Nr = function(e) {
4649
4649
  throw new Error("Sidecar medium not found");
4650
4650
  return h.createElement(o, Ce({}, n));
4651
4651
  };
4652
- Nr.isSideCarExport = !0;
4653
- function Lu(e, t) {
4654
- return e.useMedium(t), Nr;
4652
+ kr.isSideCarExport = !0;
4653
+ function Pu(e, t) {
4654
+ return e.useMedium(t), kr;
4655
4655
  }
4656
- var Ar = Eu(), gn = function() {
4656
+ var Ar = Lu(), gn = function() {
4657
4657
  }, Kt = h.forwardRef(function(e, t) {
4658
4658
  var n = h.useRef(null), o = h.useState({
4659
4659
  onScrollCapture: gn,
4660
4660
  onWheelCapture: gn,
4661
4661
  onTouchMoveCapture: gn
4662
- }), r = o[0], a = o[1], i = e.forwardProps, s = e.children, c = e.className, l = e.removeScrollBar, u = e.enabled, d = e.shards, _ = e.sideCar, g = e.noRelative, w = e.noIsolation, p = e.inert, m = e.allowPinchZoom, v = e.as, C = v === void 0 ? "div" : v, b = e.gapMode, y = Rr(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noRelative", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), x = _, k = xu([n, t]), S = Ce(Ce({}, y), r);
4662
+ }), r = o[0], a = o[1], i = e.forwardProps, s = e.children, c = e.className, l = e.removeScrollBar, u = e.enabled, d = e.shards, _ = e.sideCar, g = e.noRelative, w = e.noIsolation, p = e.inert, m = e.allowPinchZoom, v = e.as, C = v === void 0 ? "div" : v, b = e.gapMode, y = Nr(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noRelative", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), x = _, E = xu([n, t]), S = Ce(Ce({}, y), r);
4663
4663
  return h.createElement(
4664
4664
  h.Fragment,
4665
4665
  null,
4666
4666
  u && h.createElement(x, { sideCar: Ar, removeScrollBar: l, shards: d, noRelative: g, noIsolation: w, inert: p, setCallbacks: a, allowPinchZoom: !!m, lockRef: n, gapMode: b }),
4667
- i ? h.cloneElement(h.Children.only(s), Ce(Ce({}, S), { ref: k })) : h.createElement(C, Ce({}, S, { className: c, ref: k }), s)
4667
+ i ? h.cloneElement(h.Children.only(s), Ce(Ce({}, S), { ref: E })) : h.createElement(C, Ce({}, S, { className: c, ref: E }), s)
4668
4668
  );
4669
4669
  });
4670
4670
  Kt.defaultProps = {
@@ -4676,22 +4676,22 @@ Kt.classNames = {
4676
4676
  fullWidth: It,
4677
4677
  zeroRight: Mt
4678
4678
  };
4679
- var Pu = function() {
4679
+ var $u = function() {
4680
4680
  if (typeof __webpack_nonce__ < "u")
4681
4681
  return __webpack_nonce__;
4682
4682
  };
4683
- function $u() {
4683
+ function Ru() {
4684
4684
  if (!document)
4685
4685
  return null;
4686
4686
  var e = document.createElement("style");
4687
4687
  e.type = "text/css";
4688
- var t = Pu();
4688
+ var t = $u();
4689
4689
  return t && e.setAttribute("nonce", t), e;
4690
4690
  }
4691
- function Ru(e, t) {
4691
+ function Nu(e, t) {
4692
4692
  e.styleSheet ? e.styleSheet.cssText = t : e.appendChild(document.createTextNode(t));
4693
4693
  }
4694
- function Nu(e) {
4694
+ function ku(e) {
4695
4695
  var t = document.head || document.getElementsByTagName("head")[0];
4696
4696
  t.appendChild(e);
4697
4697
  }
@@ -4699,7 +4699,7 @@ var Au = function() {
4699
4699
  var e = 0, t = null;
4700
4700
  return {
4701
4701
  add: function(n) {
4702
- e == 0 && (t = $u()) && (Ru(t, n), Nu(t)), e++;
4702
+ e == 0 && (t = Ru()) && (Nu(t, n), ku(t)), e++;
4703
4703
  },
4704
4704
  remove: function() {
4705
4705
  e--, !e && t && (t.parentNode && t.parentNode.removeChild(t), t = null);
@@ -4784,13 +4784,13 @@ var Au = function() {
4784
4784
  `).concat(Cu, ": ").concat(s, `px;
4785
4785
  }
4786
4786
  `);
4787
- }, Po = function() {
4787
+ }, $o = function() {
4788
4788
  var e = parseInt(document.body.getAttribute(at) || "0", 10);
4789
4789
  return isFinite(e) ? e : 0;
4790
4790
  }, Vu = function() {
4791
4791
  h.useEffect(function() {
4792
- return document.body.setAttribute(at, (Po() + 1).toString()), function() {
4793
- var e = Po() - 1;
4792
+ return document.body.setAttribute(at, ($o() + 1).toString()), function() {
4793
+ var e = $o() - 1;
4794
4794
  e <= 0 ? document.body.removeAttribute(at) : document.body.setAttribute(at, e.toString());
4795
4795
  };
4796
4796
  }, []);
@@ -4801,19 +4801,19 @@ var Au = function() {
4801
4801
  return Iu(r);
4802
4802
  }, [r]);
4803
4803
  return h.createElement(Ou, { styles: Du(a, !t, r, n ? "" : "!important") });
4804
- }, En = !1;
4804
+ }, Ln = !1;
4805
4805
  if (typeof window < "u")
4806
4806
  try {
4807
- var Nt = Object.defineProperty({}, "passive", {
4807
+ var kt = Object.defineProperty({}, "passive", {
4808
4808
  get: function() {
4809
- return En = !0, !0;
4809
+ return Ln = !0, !0;
4810
4810
  }
4811
4811
  });
4812
- window.addEventListener("test", Nt, Nt), window.removeEventListener("test", Nt, Nt);
4812
+ window.addEventListener("test", kt, kt), window.removeEventListener("test", kt, kt);
4813
4813
  } catch {
4814
- En = !1;
4814
+ Ln = !1;
4815
4815
  }
4816
- var tt = En ? { passive: !1 } : !1, Bu = function(e) {
4816
+ var tt = Ln ? { passive: !1 } : !1, Bu = function(e) {
4817
4817
  return e.tagName === "TEXTAREA";
4818
4818
  }, zr = function(e, t) {
4819
4819
  if (!(e instanceof Element))
@@ -4828,7 +4828,7 @@ var tt = En ? { passive: !1 } : !1, Bu = function(e) {
4828
4828
  return zr(e, "overflowY");
4829
4829
  }, Wu = function(e) {
4830
4830
  return zr(e, "overflowX");
4831
- }, $o = function(e, t) {
4831
+ }, Ro = function(e, t) {
4832
4832
  var n = t.ownerDocument, o = t;
4833
4833
  do {
4834
4834
  typeof ShadowRoot < "u" && o instanceof ShadowRoot && (o = o.host);
@@ -4878,9 +4878,9 @@ var tt = En ? { passive: !1 } : !1, Bu = function(e) {
4878
4878
  return (u && Math.abs(d) < 1 || !u && Math.abs(_) < 1) && (l = !0), l;
4879
4879
  }, At = function(e) {
4880
4880
  return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0];
4881
- }, Ro = function(e) {
4882
- return [e.deltaX, e.deltaY];
4883
4881
  }, No = function(e) {
4882
+ return [e.deltaX, e.deltaY];
4883
+ }, ko = function(e) {
4884
4884
  return e && "current" in e ? e.current : e;
4885
4885
  }, Xu = function(e, t) {
4886
4886
  return e[0] === t[0] && e[1] === t[1];
@@ -4897,7 +4897,7 @@ function Ku(e) {
4897
4897
  }, [e]), h.useEffect(function() {
4898
4898
  if (e.inert) {
4899
4899
  document.body.classList.add("block-interactivity-".concat(r));
4900
- var p = wu([e.lockRef.current], (e.shards || []).map(No), !0).filter(Boolean);
4900
+ var p = wu([e.lockRef.current], (e.shards || []).map(ko), !0).filter(Boolean);
4901
4901
  return p.forEach(function(m) {
4902
4902
  return m.classList.add("allow-interactivity-".concat(r));
4903
4903
  }), function() {
@@ -4910,22 +4910,22 @@ function Ku(e) {
4910
4910
  var s = h.useCallback(function(p, m) {
4911
4911
  if ("touches" in p && p.touches.length === 2 || p.type === "wheel" && p.ctrlKey)
4912
4912
  return !i.current.allowPinchZoom;
4913
- var v = At(p), C = n.current, b = "deltaX" in p ? p.deltaX : C[0] - v[0], y = "deltaY" in p ? p.deltaY : C[1] - v[1], x, k = p.target, S = Math.abs(b) > Math.abs(y) ? "h" : "v";
4914
- if ("touches" in p && S === "h" && k.type === "range")
4913
+ var v = At(p), C = n.current, b = "deltaX" in p ? p.deltaX : C[0] - v[0], y = "deltaY" in p ? p.deltaY : C[1] - v[1], x, E = p.target, S = Math.abs(b) > Math.abs(y) ? "h" : "v";
4914
+ if ("touches" in p && S === "h" && E.type === "range")
4915
4915
  return !1;
4916
- var E = $o(S, k);
4917
- if (!E)
4916
+ var L = Ro(S, E);
4917
+ if (!L)
4918
4918
  return !0;
4919
- if (E ? x = S : (x = S === "v" ? "h" : "v", E = $o(S, k)), !E)
4919
+ if (L ? x = S : (x = S === "v" ? "h" : "v", L = Ro(S, E)), !L)
4920
4920
  return !1;
4921
4921
  if (!o.current && "changedTouches" in p && (b || y) && (o.current = x), !x)
4922
4922
  return !0;
4923
- var P = o.current || x;
4924
- return qu(P, m, p, P === "h" ? b : y);
4923
+ var $ = o.current || x;
4924
+ return qu($, m, p, $ === "h" ? b : y);
4925
4925
  }, []), c = h.useCallback(function(p) {
4926
4926
  var m = p;
4927
4927
  if (!(!nt.length || nt[nt.length - 1] !== a)) {
4928
- var v = "deltaY" in m ? Ro(m) : At(m), C = t.current.filter(function(x) {
4928
+ var v = "deltaY" in m ? No(m) : At(m), C = t.current.filter(function(x) {
4929
4929
  return x.name === m.type && (x.target === m.target || m.target === x.shadowParent) && Xu(x.delta, v);
4930
4930
  })[0];
4931
4931
  if (C && C.should) {
@@ -4933,7 +4933,7 @@ function Ku(e) {
4933
4933
  return;
4934
4934
  }
4935
4935
  if (!C) {
4936
- var b = (i.current.shards || []).map(No).filter(Boolean).filter(function(x) {
4936
+ var b = (i.current.shards || []).map(ko).filter(Boolean).filter(function(x) {
4937
4937
  return x.contains(m.target);
4938
4938
  }), y = b.length > 0 ? s(m, b[0]) : !i.current.noIsolation;
4939
4939
  y && m.cancelable && m.preventDefault();
@@ -4949,7 +4949,7 @@ function Ku(e) {
4949
4949
  }, []), u = h.useCallback(function(p) {
4950
4950
  n.current = At(p), o.current = void 0;
4951
4951
  }, []), d = h.useCallback(function(p) {
4952
- l(p.type, Ro(p), p.target, s(p, e.lockRef.current));
4952
+ l(p.type, No(p), p.target, s(p, e.lockRef.current));
4953
4953
  }, []), _ = h.useCallback(function(p) {
4954
4954
  l(p.type, At(p), p.target, s(p, e.lockRef.current));
4955
4955
  }, []);
@@ -4977,7 +4977,7 @@ function Qu(e) {
4977
4977
  e instanceof ShadowRoot && (t = e.host, e = e.host), e = e.parentNode;
4978
4978
  return t;
4979
4979
  }
4980
- const Ju = Lu(Ar, Ku);
4980
+ const Ju = Pu(Ar, Ku);
4981
4981
  var Or = h.forwardRef(function(e, t) {
4982
4982
  return h.createElement(Kt, Ce({}, e, { ref: t, sideCar: Ju }));
4983
4983
  });
@@ -5001,12 +5001,12 @@ var ed = [" ", "Enter", "ArrowUp", "ArrowDown"], td = [" ", "Enter"], Xe = "Sele
5001
5001
  disabled: _,
5002
5002
  required: g,
5003
5003
  form: w
5004
- } = e, p = en(t), [m, v] = h.useState(null), [C, b] = h.useState(null), [y, x] = h.useState(!1), k = vl(l), [S, E] = Eo({
5004
+ } = e, p = en(t), [m, v] = h.useState(null), [C, b] = h.useState(null), [y, x] = h.useState(!1), E = vl(l), [S, L] = Lo({
5005
5005
  prop: o,
5006
5006
  defaultProp: r ?? !1,
5007
5007
  onChange: a,
5008
5008
  caller: Xe
5009
- }), [P, R] = Eo({
5009
+ }), [$, N] = Lo({
5010
5010
  prop: i,
5011
5011
  defaultProp: s,
5012
5012
  onChange: c,
@@ -5024,11 +5024,11 @@ var ed = [" ", "Enter", "ArrowUp", "ArrowDown"], td = [" ", "Enter"], Xe = "Sele
5024
5024
  valueNodeHasChildren: y,
5025
5025
  onValueNodeHasChildrenChange: x,
5026
5026
  contentId: Fn(),
5027
- value: P,
5028
- onValueChange: R,
5027
+ value: $,
5028
+ onValueChange: N,
5029
5029
  open: S,
5030
- onOpenChange: E,
5031
- dir: k,
5030
+ onOpenChange: L,
5031
+ dir: E,
5032
5032
  triggerPointerDownPosRef: T,
5033
5033
  disabled: _,
5034
5034
  children: [
@@ -5041,8 +5041,8 @@ var ed = [" ", "Enter", "ArrowUp", "ArrowDown"], td = [" ", "Enter"], Xe = "Sele
5041
5041
  }, []),
5042
5042
  onNativeOptionRemove: h.useCallback((z) => {
5043
5043
  O((D) => {
5044
- const N = new Set(D);
5045
- return N.delete(z), N;
5044
+ const k = new Set(D);
5045
+ return k.delete(z), k;
5046
5046
  });
5047
5047
  }, []),
5048
5048
  children: n
@@ -5056,12 +5056,12 @@ var ed = [" ", "Enter", "ArrowUp", "ArrowDown"], td = [" ", "Enter"], Xe = "Sele
5056
5056
  tabIndex: -1,
5057
5057
  name: u,
5058
5058
  autoComplete: d,
5059
- value: P,
5060
- onChange: (z) => R(z.target.value),
5059
+ value: $,
5060
+ onChange: (z) => N(z.target.value),
5061
5061
  disabled: _,
5062
5062
  form: w,
5063
5063
  children: [
5064
- P === void 0 ? /* @__PURE__ */ f("option", { value: "" }) : null,
5064
+ $ === void 0 ? /* @__PURE__ */ f("option", { value: "" }) : null,
5065
5065
  Array.from(H)
5066
5066
  ]
5067
5067
  },
@@ -5127,7 +5127,7 @@ var Br = "SelectValue", jr = h.forwardRef(
5127
5127
  ...s,
5128
5128
  ref: d,
5129
5129
  style: { pointerEvents: "none" },
5130
- children: ra(c.value) ? /* @__PURE__ */ f(ke, { children: i }) : a
5130
+ children: ra(c.value) ? /* @__PURE__ */ f(Ee, { children: i }) : a
5131
5131
  }
5132
5132
  );
5133
5133
  }
@@ -5140,7 +5140,7 @@ var sd = "SelectIcon", Wr = h.forwardRef(
5140
5140
  }
5141
5141
  );
5142
5142
  Wr.displayName = sd;
5143
- var id = "SelectPortal", Fr = (e) => /* @__PURE__ */ f(Lr, { asChild: !0, ...e });
5143
+ var id = "SelectPortal", Fr = (e) => /* @__PURE__ */ f(Pr, { asChild: !0, ...e });
5144
5144
  Fr.displayName = id;
5145
5145
  var Ye = "SelectContent", Ur = h.forwardRef(
5146
5146
  (e, t) => {
@@ -5180,64 +5180,64 @@ var ge = 10, [Zr, De] = dt(Ye), cd = "SelectContentImpl", ld = /* @__PURE__ */ D
5180
5180
  avoidCollisions: m,
5181
5181
  //
5182
5182
  ...v
5183
- } = e, C = Oe(Ye, n), [b, y] = h.useState(null), [x, k] = h.useState(null), S = ne(t, ($) => y($)), [E, P] = h.useState(null), [R, T] = h.useState(
5183
+ } = e, C = Oe(Ye, n), [b, y] = h.useState(null), [x, E] = h.useState(null), S = ne(t, (R) => y(R)), [L, $] = h.useState(null), [N, T] = h.useState(
5184
5184
  null
5185
5185
  ), B = Jt(n), [H, O] = h.useState(!1), j = h.useRef(!1);
5186
5186
  h.useEffect(() => {
5187
5187
  if (b) return mu(b);
5188
- }, [b]), Pl();
5188
+ }, [b]), $l();
5189
5189
  const z = h.useCallback(
5190
- ($) => {
5190
+ (R) => {
5191
5191
  const [X, ...oe] = B().map((Q) => Q.ref.current), [U] = oe.slice(-1), Z = document.activeElement;
5192
- for (const Q of $)
5192
+ for (const Q of R)
5193
5193
  if (Q === Z || (Q?.scrollIntoView({ block: "nearest" }), Q === X && x && (x.scrollTop = 0), Q === U && x && (x.scrollTop = x.scrollHeight), Q?.focus(), document.activeElement !== Z)) return;
5194
5194
  },
5195
5195
  [B, x]
5196
5196
  ), D = h.useCallback(
5197
- () => z([E, b]),
5198
- [z, E, b]
5197
+ () => z([L, b]),
5198
+ [z, L, b]
5199
5199
  );
5200
5200
  h.useEffect(() => {
5201
5201
  H && D();
5202
5202
  }, [H, D]);
5203
- const { onOpenChange: N, triggerPointerDownPosRef: F } = C;
5203
+ const { onOpenChange: k, triggerPointerDownPosRef: F } = C;
5204
5204
  h.useEffect(() => {
5205
5205
  if (b) {
5206
- let $ = { x: 0, y: 0 };
5206
+ let R = { x: 0, y: 0 };
5207
5207
  const X = (U) => {
5208
- $ = {
5208
+ R = {
5209
5209
  x: Math.abs(Math.round(U.pageX) - (F.current?.x ?? 0)),
5210
5210
  y: Math.abs(Math.round(U.pageY) - (F.current?.y ?? 0))
5211
5211
  };
5212
5212
  }, oe = (U) => {
5213
- $.x <= 10 && $.y <= 10 ? U.preventDefault() : b.contains(U.target) || N(!1), document.removeEventListener("pointermove", X), F.current = null;
5213
+ R.x <= 10 && R.y <= 10 ? U.preventDefault() : b.contains(U.target) || k(!1), document.removeEventListener("pointermove", X), F.current = null;
5214
5214
  };
5215
5215
  return F.current !== null && (document.addEventListener("pointermove", X), document.addEventListener("pointerup", oe, { capture: !0, once: !0 })), () => {
5216
5216
  document.removeEventListener("pointermove", X), document.removeEventListener("pointerup", oe, { capture: !0 });
5217
5217
  };
5218
5218
  }
5219
- }, [b, N, F]), h.useEffect(() => {
5220
- const $ = () => N(!1);
5221
- return window.addEventListener("blur", $), window.addEventListener("resize", $), () => {
5222
- window.removeEventListener("blur", $), window.removeEventListener("resize", $);
5219
+ }, [b, k, F]), h.useEffect(() => {
5220
+ const R = () => k(!1);
5221
+ return window.addEventListener("blur", R), window.addEventListener("resize", R), () => {
5222
+ window.removeEventListener("blur", R), window.removeEventListener("resize", R);
5223
5223
  };
5224
- }, [N]);
5225
- const [se, Ve] = aa(($) => {
5226
- const X = B().filter((Z) => !Z.disabled), oe = X.find((Z) => Z.ref.current === document.activeElement), U = sa(X, $, oe);
5224
+ }, [k]);
5225
+ const [se, Ve] = aa((R) => {
5226
+ const X = B().filter((Z) => !Z.disabled), oe = X.find((Z) => Z.ref.current === document.activeElement), U = sa(X, R, oe);
5227
5227
  U && setTimeout(() => U.ref.current.focus());
5228
5228
  }), ft = h.useCallback(
5229
- ($, X, oe) => {
5229
+ (R, X, oe) => {
5230
5230
  const U = !j.current && !oe;
5231
- (C.value !== void 0 && C.value === X || U) && (P($), U && (j.current = !0));
5231
+ (C.value !== void 0 && C.value === X || U) && ($(R), U && (j.current = !0));
5232
5232
  },
5233
5233
  [C.value]
5234
- ), _t = h.useCallback(() => b?.focus(), [b]), $e = h.useCallback(
5235
- ($, X, oe) => {
5234
+ ), _t = h.useCallback(() => b?.focus(), [b]), Re = h.useCallback(
5235
+ (R, X, oe) => {
5236
5236
  const U = !j.current && !oe;
5237
- (C.value !== void 0 && C.value === X || U) && T($);
5237
+ (C.value !== void 0 && C.value === X || U) && T(R);
5238
5238
  },
5239
5239
  [C.value]
5240
- ), Ke = o === "popper" ? Ln : Xr, He = Ke === Ln ? {
5240
+ ), Ke = o === "popper" ? Pn : Xr, He = Ke === Pn ? {
5241
5241
  side: s,
5242
5242
  sideOffset: c,
5243
5243
  align: l,
@@ -5255,13 +5255,13 @@ var ge = 10, [Zr, De] = dt(Ye), cd = "SelectContentImpl", ld = /* @__PURE__ */ D
5255
5255
  scope: n,
5256
5256
  content: b,
5257
5257
  viewport: x,
5258
- onViewportChange: k,
5258
+ onViewportChange: E,
5259
5259
  itemRefCallback: ft,
5260
- selectedItem: E,
5260
+ selectedItem: L,
5261
5261
  onItemLeave: _t,
5262
- itemTextRefCallback: $e,
5262
+ itemTextRefCallback: Re,
5263
5263
  focusSelectedItem: D,
5264
- selectedItemText: R,
5264
+ selectedItemText: N,
5265
5265
  position: o,
5266
5266
  isPositioned: H,
5267
5267
  searchRef: se,
@@ -5270,11 +5270,11 @@ var ge = 10, [Zr, De] = dt(Ye), cd = "SelectContentImpl", ld = /* @__PURE__ */ D
5270
5270
  {
5271
5271
  asChild: !0,
5272
5272
  trapped: C.open,
5273
- onMountAutoFocus: ($) => {
5274
- $.preventDefault();
5273
+ onMountAutoFocus: (R) => {
5274
+ R.preventDefault();
5275
5275
  },
5276
- onUnmountAutoFocus: te(r, ($) => {
5277
- C.trigger?.focus({ preventScroll: !0 }), $.preventDefault();
5276
+ onUnmountAutoFocus: te(r, (R) => {
5277
+ C.trigger?.focus({ preventScroll: !0 }), R.preventDefault();
5278
5278
  }),
5279
5279
  children: /* @__PURE__ */ f(
5280
5280
  tr,
@@ -5283,7 +5283,7 @@ var ge = 10, [Zr, De] = dt(Ye), cd = "SelectContentImpl", ld = /* @__PURE__ */ D
5283
5283
  disableOutsidePointerEvents: !0,
5284
5284
  onEscapeKeyDown: a,
5285
5285
  onPointerDownOutside: i,
5286
- onFocusOutside: ($) => $.preventDefault(),
5286
+ onFocusOutside: (R) => R.preventDefault(),
5287
5287
  onDismiss: () => C.onOpenChange(!1),
5288
5288
  children: /* @__PURE__ */ f(
5289
5289
  Ke,
@@ -5292,7 +5292,7 @@ var ge = 10, [Zr, De] = dt(Ye), cd = "SelectContentImpl", ld = /* @__PURE__ */ D
5292
5292
  id: C.contentId,
5293
5293
  "data-state": C.open ? "open" : "closed",
5294
5294
  dir: C.dir,
5295
- onContextMenu: ($) => $.preventDefault(),
5295
+ onContextMenu: (R) => R.preventDefault(),
5296
5296
  ...v,
5297
5297
  ...He,
5298
5298
  onPlaced: () => O(!0),
@@ -5305,15 +5305,15 @@ var ge = 10, [Zr, De] = dt(Ye), cd = "SelectContentImpl", ld = /* @__PURE__ */ D
5305
5305
  outline: "none",
5306
5306
  ...v.style
5307
5307
  },
5308
- onKeyDown: te(v.onKeyDown, ($) => {
5309
- const X = $.ctrlKey || $.altKey || $.metaKey;
5310
- if ($.key === "Tab" && $.preventDefault(), !X && $.key.length === 1 && Ve($.key), ["ArrowUp", "ArrowDown", "Home", "End"].includes($.key)) {
5308
+ onKeyDown: te(v.onKeyDown, (R) => {
5309
+ const X = R.ctrlKey || R.altKey || R.metaKey;
5310
+ if (R.key === "Tab" && R.preventDefault(), !X && R.key.length === 1 && Ve(R.key), ["ArrowUp", "ArrowDown", "Home", "End"].includes(R.key)) {
5311
5311
  let U = B().filter((Z) => !Z.disabled).map((Z) => Z.ref.current);
5312
- if (["ArrowUp", "End"].includes($.key) && (U = U.slice().reverse()), ["ArrowUp", "ArrowDown"].includes($.key)) {
5313
- const Z = $.target, Q = U.indexOf(Z);
5312
+ if (["ArrowUp", "End"].includes(R.key) && (U = U.slice().reverse()), ["ArrowUp", "ArrowDown"].includes(R.key)) {
5313
+ const Z = R.target, Q = U.indexOf(Z);
5314
5314
  U = U.slice(Q + 1);
5315
5315
  }
5316
- setTimeout(() => z(U)), $.preventDefault();
5316
+ setTimeout(() => z(U)), R.preventDefault();
5317
5317
  }
5318
5318
  })
5319
5319
  }
@@ -5330,9 +5330,9 @@ qr.displayName = cd;
5330
5330
  var ud = "SelectItemAlignedPosition", Xr = h.forwardRef((e, t) => {
5331
5331
  const { __scopeSelect: n, onPlaced: o, ...r } = e, a = Oe(Ye, n), i = De(Ye, n), [s, c] = h.useState(null), [l, u] = h.useState(null), d = ne(t, (S) => u(S)), _ = Jt(n), g = h.useRef(!1), w = h.useRef(!0), { viewport: p, selectedItem: m, selectedItemText: v, focusSelectedItem: C } = i, b = h.useCallback(() => {
5332
5332
  if (a.trigger && a.valueNode && s && l && p && m && v) {
5333
- const S = a.trigger.getBoundingClientRect(), E = l.getBoundingClientRect(), P = a.valueNode.getBoundingClientRect(), R = v.getBoundingClientRect();
5333
+ const S = a.trigger.getBoundingClientRect(), L = l.getBoundingClientRect(), $ = a.valueNode.getBoundingClientRect(), N = v.getBoundingClientRect();
5334
5334
  if (a.dir !== "rtl") {
5335
- const Z = R.left - E.left, Q = P.left - Z, fe = S.left - Q, Be = S.width + fe, on = Math.max(Be, E.width), rn = window.innerWidth - ge, an = so(Q, [
5335
+ const Z = N.left - L.left, Q = $.left - Z, fe = S.left - Q, Be = S.width + fe, on = Math.max(Be, L.width), rn = window.innerWidth - ge, an = so(Q, [
5336
5336
  ge,
5337
5337
  // Prevents the content from going off the starting edge of the
5338
5338
  // viewport. It may still go off the ending edge, but this can be
@@ -5343,14 +5343,14 @@ var ud = "SelectItemAlignedPosition", Xr = h.forwardRef((e, t) => {
5343
5343
  ]);
5344
5344
  s.style.minWidth = Be + "px", s.style.left = an + "px";
5345
5345
  } else {
5346
- const Z = E.right - R.right, Q = window.innerWidth - P.right - Z, fe = window.innerWidth - S.right - Q, Be = S.width + fe, on = Math.max(Be, E.width), rn = window.innerWidth - ge, an = so(Q, [
5346
+ const Z = L.right - N.right, Q = window.innerWidth - $.right - Z, fe = window.innerWidth - S.right - Q, Be = S.width + fe, on = Math.max(Be, L.width), rn = window.innerWidth - ge, an = so(Q, [
5347
5347
  ge,
5348
5348
  Math.max(ge, rn - on)
5349
5349
  ]);
5350
5350
  s.style.minWidth = Be + "px", s.style.right = an + "px";
5351
5351
  }
5352
- const T = _(), B = window.innerHeight - ge * 2, H = p.scrollHeight, O = window.getComputedStyle(l), j = parseInt(O.borderTopWidth, 10), z = parseInt(O.paddingTop, 10), D = parseInt(O.borderBottomWidth, 10), N = parseInt(O.paddingBottom, 10), F = j + z + H + N + D, se = Math.min(m.offsetHeight * 5, F), Ve = window.getComputedStyle(p), ft = parseInt(Ve.paddingTop, 10), _t = parseInt(Ve.paddingBottom, 10), $e = S.top + S.height / 2 - ge, Ke = B - $e, He = m.offsetHeight / 2, $ = m.offsetTop + He, X = j + z + $, oe = F - X;
5353
- if (X <= $e) {
5352
+ const T = _(), B = window.innerHeight - ge * 2, H = p.scrollHeight, O = window.getComputedStyle(l), j = parseInt(O.borderTopWidth, 10), z = parseInt(O.paddingTop, 10), D = parseInt(O.borderBottomWidth, 10), k = parseInt(O.paddingBottom, 10), F = j + z + H + k + D, se = Math.min(m.offsetHeight * 5, F), Ve = window.getComputedStyle(p), ft = parseInt(Ve.paddingTop, 10), _t = parseInt(Ve.paddingBottom, 10), Re = S.top + S.height / 2 - ge, Ke = B - Re, He = m.offsetHeight / 2, R = m.offsetTop + He, X = j + z + R, oe = F - X;
5353
+ if (X <= Re) {
5354
5354
  const Z = T.length > 0 && m === T[T.length - 1].ref.current;
5355
5355
  s.style.bottom = "0px";
5356
5356
  const Q = l.clientHeight - p.offsetTop - p.offsetHeight, fe = Math.max(
@@ -5363,11 +5363,11 @@ var ud = "SelectItemAlignedPosition", Xr = h.forwardRef((e, t) => {
5363
5363
  const Z = T.length > 0 && m === T[0].ref.current;
5364
5364
  s.style.top = "0px";
5365
5365
  const fe = Math.max(
5366
- $e,
5366
+ Re,
5367
5367
  j + p.offsetTop + // viewport might have padding top, include it to avoid a scrollable viewport
5368
5368
  (Z ? ft : 0) + He
5369
5369
  ) + oe;
5370
- s.style.height = fe + "px", p.scrollTop = X - $e + p.offsetTop;
5370
+ s.style.height = fe + "px", p.scrollTop = X - Re + p.offsetTop;
5371
5371
  }
5372
5372
  s.style.margin = `${ge}px 0`, s.style.minHeight = se + "px", s.style.maxHeight = B + "px", o?.(), requestAnimationFrame(() => g.current = !0);
5373
5373
  }
@@ -5388,7 +5388,7 @@ var ud = "SelectItemAlignedPosition", Xr = h.forwardRef((e, t) => {
5388
5388
  le(() => {
5389
5389
  l && x(window.getComputedStyle(l).zIndex);
5390
5390
  }, [l]);
5391
- const k = h.useCallback(
5391
+ const E = h.useCallback(
5392
5392
  (S) => {
5393
5393
  S && w.current === !0 && (b(), C?.(), w.current = !1);
5394
5394
  },
@@ -5400,7 +5400,7 @@ var ud = "SelectItemAlignedPosition", Xr = h.forwardRef((e, t) => {
5400
5400
  scope: n,
5401
5401
  contentWrapper: s,
5402
5402
  shouldExpandOnScrollRef: g,
5403
- onScrollButtonChange: k,
5403
+ onScrollButtonChange: E,
5404
5404
  children: /* @__PURE__ */ f(
5405
5405
  "div",
5406
5406
  {
@@ -5432,7 +5432,7 @@ var ud = "SelectItemAlignedPosition", Xr = h.forwardRef((e, t) => {
5432
5432
  );
5433
5433
  });
5434
5434
  Xr.displayName = ud;
5435
- var dd = "SelectPopperPosition", Ln = h.forwardRef((e, t) => {
5435
+ var dd = "SelectPopperPosition", Pn = h.forwardRef((e, t) => {
5436
5436
  const {
5437
5437
  __scopeSelect: n,
5438
5438
  align: o = "start",
@@ -5460,11 +5460,11 @@ var dd = "SelectPopperPosition", Ln = h.forwardRef((e, t) => {
5460
5460
  }
5461
5461
  );
5462
5462
  });
5463
- Ln.displayName = dd;
5464
- var [fd, Jn] = dt(Ye, {}), Pn = "SelectViewport", Yr = h.forwardRef(
5463
+ Pn.displayName = dd;
5464
+ var [fd, Jn] = dt(Ye, {}), $n = "SelectViewport", Yr = h.forwardRef(
5465
5465
  (e, t) => {
5466
- const { __scopeSelect: n, nonce: o, ...r } = e, a = De(Pn, n), i = Jn(Pn, n), s = ne(t, a.onViewportChange), c = h.useRef(0);
5467
- return /* @__PURE__ */ A(ke, { children: [
5466
+ const { __scopeSelect: n, nonce: o, ...r } = e, a = De($n, n), i = Jn($n, n), s = ne(t, a.onViewportChange), c = h.useRef(0);
5467
+ return /* @__PURE__ */ A(Ee, { children: [
5468
5468
  /* @__PURE__ */ f(
5469
5469
  "style",
5470
5470
  {
@@ -5513,7 +5513,7 @@ var [fd, Jn] = dt(Ye, {}), Pn = "SelectViewport", Yr = h.forwardRef(
5513
5513
  ] });
5514
5514
  }
5515
5515
  );
5516
- Yr.displayName = Pn;
5516
+ Yr.displayName = $n;
5517
5517
  var Gr = "SelectGroup", [_d, pd] = dt(Gr), hd = h.forwardRef(
5518
5518
  (e, t) => {
5519
5519
  const { __scopeSelect: n, ...o } = e, r = Fn();
@@ -5617,7 +5617,7 @@ var wt = "SelectItemText", ea = h.forwardRef(
5617
5617
  () => /* @__PURE__ */ f("option", { value: c.value, disabled: c.disabled, children: g }, c.value),
5618
5618
  [c.disabled, c.value, g]
5619
5619
  ), { onNativeOptionAdd: p, onNativeOptionRemove: m } = l;
5620
- return le(() => (p(w), () => m(w)), [p, m, w]), /* @__PURE__ */ A(ke, { children: [
5620
+ return le(() => (p(w), () => m(w)), [p, m, w]), /* @__PURE__ */ A(Ee, { children: [
5621
5621
  /* @__PURE__ */ f(G.span, { id: c.textId, ...a, ref: _ }),
5622
5622
  c.isSelected && i.valueNode && !i.valueNodeHasChildren ? Zt.createPortal(a.children, i.valueNode) : null
5623
5623
  ] });
@@ -5631,8 +5631,8 @@ var ta = "SelectItemIndicator", wd = h.forwardRef(
5631
5631
  }
5632
5632
  );
5633
5633
  wd.displayName = ta;
5634
- var $n = "SelectScrollUpButton", vd = h.forwardRef((e, t) => {
5635
- const n = De($n, e.__scopeSelect), o = Jn($n, e.__scopeSelect), [r, a] = h.useState(!1), i = ne(t, o.onScrollButtonChange);
5634
+ var Rn = "SelectScrollUpButton", vd = h.forwardRef((e, t) => {
5635
+ const n = De(Rn, e.__scopeSelect), o = Jn(Rn, e.__scopeSelect), [r, a] = h.useState(!1), i = ne(t, o.onScrollButtonChange);
5636
5636
  return le(() => {
5637
5637
  if (n.viewport && n.isPositioned) {
5638
5638
  let s = function() {
@@ -5654,9 +5654,9 @@ var $n = "SelectScrollUpButton", vd = h.forwardRef((e, t) => {
5654
5654
  }
5655
5655
  ) : null;
5656
5656
  });
5657
- vd.displayName = $n;
5658
- var Rn = "SelectScrollDownButton", Cd = h.forwardRef((e, t) => {
5659
- const n = De(Rn, e.__scopeSelect), o = Jn(Rn, e.__scopeSelect), [r, a] = h.useState(!1), i = ne(t, o.onScrollButtonChange);
5657
+ vd.displayName = Rn;
5658
+ var Nn = "SelectScrollDownButton", Cd = h.forwardRef((e, t) => {
5659
+ const n = De(Nn, e.__scopeSelect), o = Jn(Nn, e.__scopeSelect), [r, a] = h.useState(!1), i = ne(t, o.onScrollButtonChange);
5660
5660
  return le(() => {
5661
5661
  if (n.viewport && n.isPositioned) {
5662
5662
  let s = function() {
@@ -5678,7 +5678,7 @@ var Rn = "SelectScrollDownButton", Cd = h.forwardRef((e, t) => {
5678
5678
  }
5679
5679
  ) : null;
5680
5680
  });
5681
- Cd.displayName = Rn;
5681
+ Cd.displayName = Nn;
5682
5682
  var na = h.forwardRef((e, t) => {
5683
5683
  const { __scopeSelect: n, onAutoScroll: o, ...r } = e, a = De("SelectScrollButton", n), i = h.useRef(null), s = Jt(n), c = h.useCallback(() => {
5684
5684
  i.current !== null && (window.clearInterval(i.current), i.current = null);
@@ -5710,13 +5710,13 @@ var na = h.forwardRef((e, t) => {
5710
5710
  }
5711
5711
  );
5712
5712
  yd.displayName = bd;
5713
- var Nn = "SelectArrow", xd = h.forwardRef(
5713
+ var kn = "SelectArrow", xd = h.forwardRef(
5714
5714
  (e, t) => {
5715
- const { __scopeSelect: n, ...o } = e, r = en(n), a = Oe(Nn, n), i = De(Nn, n);
5715
+ const { __scopeSelect: n, ...o } = e, r = en(n), a = Oe(kn, n), i = De(kn, n);
5716
5716
  return a.open && i.position === "popper" ? /* @__PURE__ */ f(su, { ...r, ...o, ref: t }) : null;
5717
5717
  }
5718
5718
  );
5719
- xd.displayName = Nn;
5719
+ xd.displayName = kn;
5720
5720
  var Sd = "SelectBubbleInput", oa = h.forwardRef(
5721
5721
  ({ __scopeSelect: e, value: t, ...n }, o) => {
5722
5722
  const r = h.useRef(null), a = ne(o, r), i = du(t);
@@ -5735,7 +5735,7 @@ var Sd = "SelectBubbleInput", oa = h.forwardRef(
5735
5735
  G.select,
5736
5736
  {
5737
5737
  ...n,
5738
- style: { ...Pr, ...n.style },
5738
+ style: { ...$r, ...n.style },
5739
5739
  ref: a,
5740
5740
  defaultValue: t
5741
5741
  }
@@ -5762,17 +5762,17 @@ function aa(e) {
5762
5762
  }
5763
5763
  function sa(e, t, n) {
5764
5764
  const r = t.length > 1 && Array.from(t).every((l) => l === t[0]) ? t[0] : t, a = n ? e.indexOf(n) : -1;
5765
- let i = kd(e, Math.max(a, 0));
5765
+ let i = Ed(e, Math.max(a, 0));
5766
5766
  r.length === 1 && (i = i.filter((l) => l !== n));
5767
5767
  const c = i.find(
5768
5768
  (l) => l.textValue.toLowerCase().startsWith(r.toLowerCase())
5769
5769
  );
5770
5770
  return c !== n ? c : void 0;
5771
5771
  }
5772
- function kd(e, t) {
5772
+ function Ed(e, t) {
5773
5773
  return e.map((n, o) => e[(t + o) % e.length]);
5774
5774
  }
5775
- var Ed = Dr, Ld = Hr, Pd = jr, $d = Wr, Rd = Fr, Nd = Ur, Ad = Yr, Td = Jr, zd = ea;
5775
+ var Ld = Dr, Pd = Hr, $d = jr, Rd = Wr, Nd = Fr, kd = Ur, Ad = Yr, Td = Jr, zd = ea;
5776
5776
  const Md = "_focus_nhfh5_550", Id = "_swap_nhfh5_632", Od = "_swap__content_nhfh5_688", Dd = "_container_nhfh5_781", Vd = "_wrapper_nhfh5_787", Hd = "_disabled_nhfh5_803", Bd = "_size32_nhfh5_807", jd = "_size48_nhfh5_810", Wd = "_prefix_nhfh5_815", Fd = "_suffix_nhfh5_816", Ud = "_trigger_nhfh5_848", Zd = "_icon_nhfh5_876", qd = "_content_nhfh5_891", Xd = "_fadeIn_nhfh5_1", Yd = "_item_nhfh5_910", Gd = "_itemContent_nhfh5_936", Kd = "_itemLabel_nhfh5_944", Qd = "_label_nhfh5_953", Jd = "_value_nhfh5_961", Y = {
5777
5777
  focus: Md,
5778
5778
  "focus--default": "_focus--default_nhfh5_567",
@@ -5835,7 +5835,7 @@ function ia(...e) {
5835
5835
  function Ge(...e) {
5836
5836
  return Mn(ia(...e), e);
5837
5837
  }
5838
- const ca = /* @__PURE__ */ L((e, t) => {
5838
+ const ca = /* @__PURE__ */ P((e, t) => {
5839
5839
  const { children: n, ...o } = e, r = ot.toArray(n), a = r.find(n0);
5840
5840
  if (a) {
5841
5841
  const i = a.props.children, s = r.map((c) => c === a ? ot.count(i) > 1 ? ot.only(null) : /* @__PURE__ */ Ot(i) ? i.props.children : null : c);
@@ -5848,7 +5848,7 @@ const ca = /* @__PURE__ */ L((e, t) => {
5848
5848
  }), n);
5849
5849
  });
5850
5850
  ca.displayName = "Slot";
5851
- const An = /* @__PURE__ */ L((e, t) => {
5851
+ const An = /* @__PURE__ */ P((e, t) => {
5852
5852
  const { children: n, ...o } = e;
5853
5853
  return /* @__PURE__ */ Ot(n) ? /* @__PURE__ */ In(n, {
5854
5854
  ...o0(o, n.props),
@@ -5899,7 +5899,7 @@ const r0 = [
5899
5899
  "svg",
5900
5900
  "ul"
5901
5901
  ], xt = r0.reduce((e, t) => {
5902
- const n = /* @__PURE__ */ L((o, r) => {
5902
+ const n = /* @__PURE__ */ P((o, r) => {
5903
5903
  const { asChild: a, ...i } = o, s = a ? ca : t;
5904
5904
  return ae(() => {
5905
5905
  window[Symbol.for("radix-ui")] = !0;
@@ -6099,15 +6099,15 @@ function f0(e, t) {
6099
6099
  return r ?? n;
6100
6100
  }, e);
6101
6101
  }
6102
- const la = "ScrollArea", [ua] = i0(la), [_0, he] = ua(la), p0 = /* @__PURE__ */ L((e, t) => {
6103
- const { __scopeScrollArea: n, type: o = "hover", dir: r, scrollHideDelay: a = 600, ...i } = e, [s, c] = W(null), [l, u] = W(null), [d, _] = W(null), [g, w] = W(null), [p, m] = W(null), [v, C] = W(0), [b, y] = W(0), [x, k] = W(!1), [S, E] = W(!1), P = Ge(
6102
+ const la = "ScrollArea", [ua] = i0(la), [_0, he] = ua(la), p0 = /* @__PURE__ */ P((e, t) => {
6103
+ const { __scopeScrollArea: n, type: o = "hover", dir: r, scrollHideDelay: a = 600, ...i } = e, [s, c] = W(null), [l, u] = W(null), [d, _] = W(null), [g, w] = W(null), [p, m] = W(null), [v, C] = W(0), [b, y] = W(0), [x, E] = W(!1), [S, L] = W(!1), $ = Ge(
6104
6104
  t,
6105
6105
  (T) => c(T)
6106
- ), R = u0(r);
6106
+ ), N = u0(r);
6107
6107
  return /* @__PURE__ */ V(_0, {
6108
6108
  scope: n,
6109
6109
  type: o,
6110
- dir: R,
6110
+ dir: N,
6111
6111
  scrollHideDelay: a,
6112
6112
  scrollArea: s,
6113
6113
  viewport: l,
@@ -6117,17 +6117,17 @@ const la = "ScrollArea", [ua] = i0(la), [_0, he] = ua(la), p0 = /* @__PURE__ */
6117
6117
  scrollbarX: g,
6118
6118
  onScrollbarXChange: w,
6119
6119
  scrollbarXEnabled: x,
6120
- onScrollbarXEnabledChange: k,
6120
+ onScrollbarXEnabledChange: E,
6121
6121
  scrollbarY: p,
6122
6122
  onScrollbarYChange: m,
6123
6123
  scrollbarYEnabled: S,
6124
- onScrollbarYEnabledChange: E,
6124
+ onScrollbarYEnabledChange: L,
6125
6125
  onCornerWidthChange: C,
6126
6126
  onCornerHeightChange: y
6127
6127
  }, /* @__PURE__ */ V(xt.div, q({
6128
- dir: R
6128
+ dir: N
6129
6129
  }, i, {
6130
- ref: P,
6130
+ ref: $,
6131
6131
  style: {
6132
6132
  position: "relative",
6133
6133
  // Pass corner sizes as CSS vars to reduce re-renders of context consumers
@@ -6136,7 +6136,7 @@ const la = "ScrollArea", [ua] = i0(la), [_0, he] = ua(la), p0 = /* @__PURE__ */
6136
6136
  ...e.style
6137
6137
  }
6138
6138
  })));
6139
- }), h0 = "ScrollAreaViewport", g0 = /* @__PURE__ */ L((e, t) => {
6139
+ }), h0 = "ScrollAreaViewport", g0 = /* @__PURE__ */ P((e, t) => {
6140
6140
  const { __scopeScrollArea: n, children: o, ...r } = e, a = he(h0, n), i = ce(null), s = Ge(t, i, a.onViewportChange);
6141
6141
  return /* @__PURE__ */ V(zo, null, /* @__PURE__ */ V("style", {
6142
6142
  dangerouslySetInnerHTML: {
@@ -6169,8 +6169,8 @@ const la = "ScrollArea", [ua] = i0(la), [_0, he] = ua(la), p0 = /* @__PURE__ */
6169
6169
  display: "table"
6170
6170
  }
6171
6171
  }, o)));
6172
- }), Pe = "ScrollAreaScrollbar", m0 = /* @__PURE__ */ L((e, t) => {
6173
- const { forceMount: n, ...o } = e, r = he(Pe, e.__scopeScrollArea), { onScrollbarXEnabledChange: a, onScrollbarYEnabledChange: i } = r, s = e.orientation === "horizontal";
6172
+ }), $e = "ScrollAreaScrollbar", m0 = /* @__PURE__ */ P((e, t) => {
6173
+ const { forceMount: n, ...o } = e, r = he($e, e.__scopeScrollArea), { onScrollbarXEnabledChange: a, onScrollbarYEnabledChange: i } = r, s = e.orientation === "horizontal";
6174
6174
  return ae(() => (s ? a(!0) : i(!0), () => {
6175
6175
  s ? a(!1) : i(!1);
6176
6176
  }), [
@@ -6189,8 +6189,8 @@ const la = "ScrollArea", [ua] = i0(la), [_0, he] = ua(la), p0 = /* @__PURE__ */
6189
6189
  })) : r.type === "always" ? /* @__PURE__ */ V(eo, q({}, o, {
6190
6190
  ref: t
6191
6191
  })) : null;
6192
- }), w0 = /* @__PURE__ */ L((e, t) => {
6193
- const { forceMount: n, ...o } = e, r = he(Pe, e.__scopeScrollArea), [a, i] = W(!1);
6192
+ }), w0 = /* @__PURE__ */ P((e, t) => {
6193
+ const { forceMount: n, ...o } = e, r = he($e, e.__scopeScrollArea), [a, i] = W(!1);
6194
6194
  return ae(() => {
6195
6195
  const s = r.scrollArea;
6196
6196
  let c = 0;
@@ -6217,8 +6217,8 @@ const la = "ScrollArea", [ua] = i0(la), [_0, he] = ua(la), p0 = /* @__PURE__ */
6217
6217
  }, o, {
6218
6218
  ref: t
6219
6219
  })));
6220
- }), v0 = /* @__PURE__ */ L((e, t) => {
6221
- const { forceMount: n, ...o } = e, r = he(Pe, e.__scopeScrollArea), a = e.orientation === "horizontal", i = nn(
6220
+ }), v0 = /* @__PURE__ */ P((e, t) => {
6221
+ const { forceMount: n, ...o } = e, r = he($e, e.__scopeScrollArea), a = e.orientation === "horizontal", i = nn(
6222
6222
  () => c("SCROLL_END"),
6223
6223
  100
6224
6224
  ), [s, c] = f0("hidden", {
@@ -6281,8 +6281,8 @@ const la = "ScrollArea", [ua] = i0(la), [_0, he] = ua(la), p0 = /* @__PURE__ */
6281
6281
  () => c("POINTER_LEAVE")
6282
6282
  )
6283
6283
  })));
6284
- }), da = /* @__PURE__ */ L((e, t) => {
6285
- const n = he(Pe, e.__scopeScrollArea), { forceMount: o, ...r } = e, [a, i] = W(!1), s = e.orientation === "horizontal", c = nn(() => {
6284
+ }), da = /* @__PURE__ */ P((e, t) => {
6285
+ const n = he($e, e.__scopeScrollArea), { forceMount: o, ...r } = e, [a, i] = W(!1), s = e.orientation === "horizontal", c = nn(() => {
6286
6286
  if (n.viewport) {
6287
6287
  const l = n.viewport.offsetWidth < n.viewport.scrollWidth, u = n.viewport.offsetHeight < n.viewport.scrollHeight;
6288
6288
  i(s ? l : u);
@@ -6295,8 +6295,8 @@ const la = "ScrollArea", [ua] = i0(la), [_0, he] = ua(la), p0 = /* @__PURE__ */
6295
6295
  }, r, {
6296
6296
  ref: t
6297
6297
  })));
6298
- }), eo = /* @__PURE__ */ L((e, t) => {
6299
- const { orientation: n = "vertical", ...o } = e, r = he(Pe, e.__scopeScrollArea), a = ce(null), i = ce(0), [s, c] = W({
6298
+ }), eo = /* @__PURE__ */ P((e, t) => {
6299
+ const { orientation: n = "vertical", ...o } = e, r = he($e, e.__scopeScrollArea), a = ce(null), i = ce(0), [s, c] = W({
6300
6300
  content: 0,
6301
6301
  viewport: 0,
6302
6302
  scrollbar: {
@@ -6314,7 +6314,7 @@ const la = "ScrollArea", [ua] = i0(la), [_0, he] = ua(la), p0 = /* @__PURE__ */
6314
6314
  onThumbPointerDown: (_) => i.current = _
6315
6315
  };
6316
6316
  function d(_, g) {
6317
- return E0(_, i.current, s, g);
6317
+ return L0(_, i.current, s, g);
6318
6318
  }
6319
6319
  return n === "horizontal" ? /* @__PURE__ */ V(C0, q({}, u, {
6320
6320
  ref: t,
@@ -6345,8 +6345,8 @@ const la = "ScrollArea", [ua] = i0(la), [_0, he] = ua(la), p0 = /* @__PURE__ */
6345
6345
  r.viewport && (r.viewport.scrollTop = d(_));
6346
6346
  }
6347
6347
  })) : null;
6348
- }), C0 = /* @__PURE__ */ L((e, t) => {
6349
- const { sizes: n, onSizesChange: o, ...r } = e, a = he(Pe, e.__scopeScrollArea), [i, s] = W(), c = ce(null), l = Ge(t, c, a.onScrollbarXChange);
6348
+ }), C0 = /* @__PURE__ */ P((e, t) => {
6349
+ const { sizes: n, onSizesChange: o, ...r } = e, a = he($e, e.__scopeScrollArea), [i, s] = W(), c = ce(null), l = Ge(t, c, a.onScrollbarXChange);
6350
6350
  return ae(() => {
6351
6351
  c.current && s(getComputedStyle(c.current));
6352
6352
  }, [
@@ -6383,8 +6383,8 @@ const la = "ScrollArea", [ua] = i0(la), [_0, he] = ua(la), p0 = /* @__PURE__ */
6383
6383
  });
6384
6384
  }
6385
6385
  }));
6386
- }), b0 = /* @__PURE__ */ L((e, t) => {
6387
- const { sizes: n, onSizesChange: o, ...r } = e, a = he(Pe, e.__scopeScrollArea), [i, s] = W(), c = ce(null), l = Ge(t, c, a.onScrollbarYChange);
6386
+ }), b0 = /* @__PURE__ */ P((e, t) => {
6387
+ const { sizes: n, onSizesChange: o, ...r } = e, a = he($e, e.__scopeScrollArea), [i, s] = W(), c = ce(null), l = Ge(t, c, a.onScrollbarYChange);
6388
6388
  return ae(() => {
6389
6389
  c.current && s(getComputedStyle(c.current));
6390
6390
  }, [
@@ -6422,28 +6422,28 @@ const la = "ScrollArea", [ua] = i0(la), [_0, he] = ua(la), p0 = /* @__PURE__ */
6422
6422
  });
6423
6423
  }
6424
6424
  }));
6425
- }), [y0, fa] = ua(Pe), _a = /* @__PURE__ */ L((e, t) => {
6426
- const { __scopeScrollArea: n, sizes: o, hasThumb: r, onThumbChange: a, onThumbPointerUp: i, onThumbPointerDown: s, onThumbPositionChange: c, onDragScroll: l, onWheelScroll: u, onResize: d, ..._ } = e, g = he(Pe, n), [w, p] = W(null), m = Ge(
6425
+ }), [y0, fa] = ua($e), _a = /* @__PURE__ */ P((e, t) => {
6426
+ const { __scopeScrollArea: n, sizes: o, hasThumb: r, onThumbChange: a, onThumbPointerUp: i, onThumbPointerDown: s, onThumbPositionChange: c, onDragScroll: l, onWheelScroll: u, onResize: d, ..._ } = e, g = he($e, n), [w, p] = W(null), m = Ge(
6427
6427
  t,
6428
- (P) => p(P)
6429
- ), v = ce(null), C = ce(""), b = g.viewport, y = o.content - o.viewport, x = We(u), k = We(c), S = nn(d, 10);
6430
- function E(P) {
6428
+ ($) => p($)
6429
+ ), v = ce(null), C = ce(""), b = g.viewport, y = o.content - o.viewport, x = We(u), E = We(c), S = nn(d, 10);
6430
+ function L($) {
6431
6431
  if (v.current) {
6432
- const R = P.clientX - v.current.left, T = P.clientY - v.current.top;
6432
+ const N = $.clientX - v.current.left, T = $.clientY - v.current.top;
6433
6433
  l({
6434
- x: R,
6434
+ x: N,
6435
6435
  y: T
6436
6436
  });
6437
6437
  }
6438
6438
  }
6439
6439
  return ae(() => {
6440
- const P = (R) => {
6441
- const T = R.target;
6442
- w?.contains(T) && x(R, y);
6440
+ const $ = (N) => {
6441
+ const T = N.target;
6442
+ w?.contains(T) && x(N, y);
6443
6443
  };
6444
- return document.addEventListener("wheel", P, {
6444
+ return document.addEventListener("wheel", $, {
6445
6445
  passive: !1
6446
- }), () => document.removeEventListener("wheel", P, {
6446
+ }), () => document.removeEventListener("wheel", $, {
6447
6447
  passive: !1
6448
6448
  });
6449
6449
  }, [
@@ -6451,16 +6451,16 @@ const la = "ScrollArea", [ua] = i0(la), [_0, he] = ua(la), p0 = /* @__PURE__ */
6451
6451
  w,
6452
6452
  y,
6453
6453
  x
6454
- ]), ae(k, [
6454
+ ]), ae(E, [
6455
6455
  o,
6456
- k
6456
+ E
6457
6457
  ]), ct(w, S), ct(g.content, S), /* @__PURE__ */ V(y0, {
6458
6458
  scope: n,
6459
6459
  scrollbar: w,
6460
6460
  hasThumb: r,
6461
6461
  onThumbChange: We(a),
6462
6462
  onThumbPointerUp: We(i),
6463
- onThumbPositionChange: k,
6463
+ onThumbPositionChange: E,
6464
6464
  onThumbPointerDown: We(s)
6465
6465
  }, /* @__PURE__ */ V(xt.div, q({}, _, {
6466
6466
  ref: m,
@@ -6468,23 +6468,23 @@ const la = "ScrollArea", [ua] = i0(la), [_0, he] = ua(la), p0 = /* @__PURE__ */
6468
6468
  position: "absolute",
6469
6469
  ..._.style
6470
6470
  },
6471
- onPointerDown: Fe(e.onPointerDown, (P) => {
6472
- P.button === 0 && (P.target.setPointerCapture(P.pointerId), v.current = w.getBoundingClientRect(), C.current = document.body.style.webkitUserSelect, document.body.style.webkitUserSelect = "none", g.viewport && (g.viewport.style.scrollBehavior = "auto"), E(P));
6471
+ onPointerDown: Fe(e.onPointerDown, ($) => {
6472
+ $.button === 0 && ($.target.setPointerCapture($.pointerId), v.current = w.getBoundingClientRect(), C.current = document.body.style.webkitUserSelect, document.body.style.webkitUserSelect = "none", g.viewport && (g.viewport.style.scrollBehavior = "auto"), L($));
6473
6473
  }),
6474
- onPointerMove: Fe(e.onPointerMove, E),
6475
- onPointerUp: Fe(e.onPointerUp, (P) => {
6476
- const R = P.target;
6477
- R.hasPointerCapture(P.pointerId) && R.releasePointerCapture(P.pointerId), document.body.style.webkitUserSelect = C.current, g.viewport && (g.viewport.style.scrollBehavior = ""), v.current = null;
6474
+ onPointerMove: Fe(e.onPointerMove, L),
6475
+ onPointerUp: Fe(e.onPointerUp, ($) => {
6476
+ const N = $.target;
6477
+ N.hasPointerCapture($.pointerId) && N.releasePointerCapture($.pointerId), document.body.style.webkitUserSelect = C.current, g.viewport && (g.viewport.style.scrollBehavior = ""), v.current = null;
6478
6478
  })
6479
6479
  })));
6480
- }), zn = "ScrollAreaThumb", wn = /* @__PURE__ */ L((e, t) => {
6480
+ }), zn = "ScrollAreaThumb", wn = /* @__PURE__ */ P((e, t) => {
6481
6481
  const { forceMount: n, ...o } = e, r = fa(zn, e.__scopeScrollArea);
6482
6482
  return /* @__PURE__ */ V(St, {
6483
6483
  present: n || r.hasThumb
6484
6484
  }, /* @__PURE__ */ V(x0, q({
6485
6485
  ref: t
6486
6486
  }, o)));
6487
- }), x0 = /* @__PURE__ */ L((e, t) => {
6487
+ }), x0 = /* @__PURE__ */ P((e, t) => {
6488
6488
  const { __scopeScrollArea: n, style: o, ...r } = e, a = he(zn, n), i = fa(zn, n), { onThumbPositionChange: s } = i, c = Ge(
6489
6489
  t,
6490
6490
  (d) => i.onThumbChange(d)
@@ -6496,7 +6496,7 @@ const la = "ScrollArea", [ua] = i0(la), [_0, he] = ua(la), p0 = /* @__PURE__ */
6496
6496
  if (d) {
6497
6497
  const _ = () => {
6498
6498
  if (u(), !l.current) {
6499
- const g = L0(d, s);
6499
+ const g = P0(d, s);
6500
6500
  l.current = g, s();
6501
6501
  }
6502
6502
  };
@@ -6524,12 +6524,12 @@ const la = "ScrollArea", [ua] = i0(la), [_0, he] = ua(la), p0 = /* @__PURE__ */
6524
6524
  }),
6525
6525
  onPointerUp: Fe(e.onPointerUp, i.onThumbPointerUp)
6526
6526
  }));
6527
- }), pa = "ScrollAreaCorner", S0 = /* @__PURE__ */ L((e, t) => {
6527
+ }), pa = "ScrollAreaCorner", S0 = /* @__PURE__ */ P((e, t) => {
6528
6528
  const n = he(pa, e.__scopeScrollArea), o = !!(n.scrollbarX && n.scrollbarY);
6529
- return n.type !== "scroll" && o ? /* @__PURE__ */ V(k0, q({}, e, {
6529
+ return n.type !== "scroll" && o ? /* @__PURE__ */ V(E0, q({}, e, {
6530
6530
  ref: t
6531
6531
  })) : null;
6532
- }), k0 = /* @__PURE__ */ L((e, t) => {
6532
+ }), E0 = /* @__PURE__ */ P((e, t) => {
6533
6533
  const { __scopeScrollArea: n, ...o } = e, r = he(pa, n), [a, i] = W(0), [s, c] = W(0), l = !!(a && s);
6534
6534
  return ct(r.scrollbarX, () => {
6535
6535
  var u;
@@ -6563,7 +6563,7 @@ function tn(e) {
6563
6563
  const t = ha(e.viewport, e.content), n = e.scrollbar.paddingStart + e.scrollbar.paddingEnd, o = (e.scrollbar.size - n) * t;
6564
6564
  return Math.max(o, 18);
6565
6565
  }
6566
- function E0(e, t, n, o = "ltr") {
6566
+ function L0(e, t, n, o = "ltr") {
6567
6567
  const r = tn(n), a = r / 2, i = t || a, s = r - i, c = n.scrollbar.paddingStart + i, l = n.scrollbar.size - n.scrollbar.paddingEnd - s, u = n.content - n.viewport, d = o === "ltr" ? [
6568
6568
  0,
6569
6569
  u
@@ -6602,7 +6602,7 @@ function ga(e, t) {
6602
6602
  function ma(e, t) {
6603
6603
  return e > 0 && e < t;
6604
6604
  }
6605
- const L0 = (e, t = () => {
6605
+ const P0 = (e, t = () => {
6606
6606
  }) => {
6607
6607
  let n = {
6608
6608
  left: e.scrollLeft,
@@ -6645,8 +6645,8 @@ function ct(e, t) {
6645
6645
  n
6646
6646
  ]);
6647
6647
  }
6648
- const P0 = p0, $0 = g0, R0 = S0, N0 = "_focus_3cfz1_550", A0 = "_swap_3cfz1_632", T0 = "_swap__content_3cfz1_688", z0 = "_root_3cfz1_780", M0 = "_viewport_3cfz1_786", I0 = "_scrollbar_3cfz1_799", O0 = "_thumb_3cfz1_812", D0 = "_corner_3cfz1_844", V0 = "_hideScrollbar_3cfz1_848", H0 = "_arrowButton_3cfz1_852", B0 = "_micro_3cfz1_882", j0 = "_tiny_3cfz1_893", W0 = "_small_3cfz1_903", F0 = "_large_3cfz1_927", U0 = "_xlarge_3cfz1_947", Z0 = "_light_3cfz1_957", q0 = "_dark_3cfz1_970", X0 = "_accent_3cfz1_986", Y0 = "_minimal_3cfz1_999", G0 = "_highContrast_3cfz1_1012", K0 = "_gap_3cfz1_1025", Q0 = "_arrows_3cfz1_1040", J0 = "_colorVariants_3cfz1_1119", ee = {
6649
- focus: N0,
6648
+ const $0 = p0, R0 = g0, N0 = S0, k0 = "_focus_3cfz1_550", A0 = "_swap_3cfz1_632", T0 = "_swap__content_3cfz1_688", z0 = "_root_3cfz1_780", M0 = "_viewport_3cfz1_786", I0 = "_scrollbar_3cfz1_799", O0 = "_thumb_3cfz1_812", D0 = "_corner_3cfz1_844", V0 = "_hideScrollbar_3cfz1_848", H0 = "_arrowButton_3cfz1_852", B0 = "_micro_3cfz1_882", j0 = "_tiny_3cfz1_893", W0 = "_small_3cfz1_903", F0 = "_large_3cfz1_927", U0 = "_xlarge_3cfz1_947", Z0 = "_light_3cfz1_957", q0 = "_dark_3cfz1_970", X0 = "_accent_3cfz1_986", Y0 = "_minimal_3cfz1_999", G0 = "_highContrast_3cfz1_1012", K0 = "_gap_3cfz1_1025", Q0 = "_arrows_3cfz1_1040", J0 = "_colorVariants_3cfz1_1119", ee = {
6649
+ focus: k0,
6650
6650
  "focus--default": "_focus--default_3cfz1_567",
6651
6651
  "focus--danger": "_focus--danger_3cfz1_571",
6652
6652
  "focus--visible": "_focus--visible_3cfz1_577",
@@ -6691,7 +6691,7 @@ const P0 = p0, $0 = g0, R0 = S0, N0 = "_focus_3cfz1_550", A0 = "_swap_3cfz1_632"
6691
6691
  gap: K0,
6692
6692
  arrows: Q0,
6693
6693
  colorVariants: J0
6694
- }, wa = L(
6694
+ }, wa = P(
6695
6695
  (e, t) => {
6696
6696
  const {
6697
6697
  children: n,
@@ -6716,7 +6716,7 @@ const P0 = p0, $0 = g0, R0 = S0, N0 = "_focus_3cfz1_550", A0 = "_swap_3cfz1_632"
6716
6716
  o
6717
6717
  );
6718
6718
  return /* @__PURE__ */ A(
6719
- P0,
6719
+ $0,
6720
6720
  {
6721
6721
  ref: t,
6722
6722
  type: l,
@@ -6724,17 +6724,17 @@ const P0 = p0, $0 = g0, R0 = S0, N0 = "_focus_3cfz1_550", A0 = "_swap_3cfz1_632"
6724
6724
  ...u,
6725
6725
  children: [
6726
6726
  /* @__PURE__ */ f(
6727
- $0,
6727
+ R0,
6728
6728
  {
6729
6729
  className: ee.viewport,
6730
6730
  style: g,
6731
6731
  children: n
6732
6732
  }
6733
6733
  ),
6734
- !c && /* @__PURE__ */ A(ke, { children: [
6734
+ !c && /* @__PURE__ */ A(Ee, { children: [
6735
6735
  /* @__PURE__ */ f(Ut, { orientation: "vertical", size: i, theme: s }),
6736
6736
  /* @__PURE__ */ f(Ut, { orientation: "horizontal", size: i, theme: s }),
6737
- /* @__PURE__ */ f(R0, { className: ee.corner })
6737
+ /* @__PURE__ */ f(N0, { className: ee.corner })
6738
6738
  ] })
6739
6739
  ]
6740
6740
  }
@@ -6742,7 +6742,7 @@ const P0 = p0, $0 = g0, R0 = S0, N0 = "_focus_3cfz1_550", A0 = "_swap_3cfz1_632"
6742
6742
  }
6743
6743
  );
6744
6744
  wa.displayName = "ScrollArea";
6745
- const Ut = L(({ className: e, orientation: t = "vertical", size: n = "default", theme: o = "light", ...r }, a) => {
6745
+ const Ut = P(({ className: e, orientation: t = "vertical", size: n = "default", theme: o = "light", ...r }, a) => {
6746
6746
  const [i, s] = W({ height: "20px", width: "20px" });
6747
6747
  ae(() => {
6748
6748
  (() => {
@@ -6773,8 +6773,8 @@ const Ut = L(({ className: e, orientation: t = "vertical", size: n = "default",
6773
6773
  ),
6774
6774
  ...r,
6775
6775
  children: [
6776
- n === "large" && o === "arrows" && /* @__PURE__ */ A(ke, { children: [
6777
- t === "vertical" && /* @__PURE__ */ A(ke, { children: [
6776
+ n === "large" && o === "arrows" && /* @__PURE__ */ A(Ee, { children: [
6777
+ t === "vertical" && /* @__PURE__ */ A(Ee, { children: [
6778
6778
  /* @__PURE__ */ f("button", { className: ee.arrowButton, "data-direction": "up", children: /* @__PURE__ */ f(gt, { width: 7, height: 4, color: "rgba(80, 80, 80, 1)", style: { transform: "rotate(180deg)" } }) }),
6779
6779
  /* @__PURE__ */ f(
6780
6780
  wn,
@@ -6792,7 +6792,7 @@ const Ut = L(({ className: e, orientation: t = "vertical", size: n = "default",
6792
6792
  }
6793
6793
  ) })
6794
6794
  ] }),
6795
- t === "horizontal" && /* @__PURE__ */ A(ke, { children: [
6795
+ t === "horizontal" && /* @__PURE__ */ A(Ee, { children: [
6796
6796
  /* @__PURE__ */ f("button", { className: ee.arrowButton, "data-direction": "left", children: /* @__PURE__ */ f(
6797
6797
  gt,
6798
6798
  {
@@ -6829,7 +6829,7 @@ const Ut = L(({ className: e, orientation: t = "vertical", size: n = "default",
6829
6829
  );
6830
6830
  });
6831
6831
  Ut.displayName = "ScrollBar";
6832
- const ef = L((e, t) => {
6832
+ const e2 = P((e, t) => {
6833
6833
  const {
6834
6834
  className: n,
6835
6835
  disabled: o = !1,
@@ -6850,7 +6850,7 @@ const ef = L((e, t) => {
6850
6850
  // 👈 значение по умолчанию
6851
6851
  } = e, [C, b] = W(r), y = p === "pagination", x = () => {
6852
6852
  o || (g ? g(!r) : b(!C));
6853
- }, k = {
6853
+ }, E = {
6854
6854
  wrapper: I(Y.wrapper, Y[`size${v}`], Y[p], n),
6855
6855
  content: I(Y.content, Y[p]),
6856
6856
  icon: I(Y.icon, Y[p]),
@@ -6864,11 +6864,11 @@ const ef = L((e, t) => {
6864
6864
  suffix: I(Y.suffix, Y[`size${v}`])
6865
6865
  };
6866
6866
  return /* @__PURE__ */ A("div", { ref: t, children: [
6867
- a && /* @__PURE__ */ f(hl, { className: k.label, onClick: x, children: a }),
6868
- /* @__PURE__ */ A("div", { className: k.wrapper, style: { width: m }, children: [
6869
- d && /* @__PURE__ */ f("div", { className: k.prefix, children: d }),
6867
+ a && /* @__PURE__ */ f(hl, { className: E.label, onClick: x, children: a }),
6868
+ /* @__PURE__ */ A("div", { className: E.wrapper, style: { width: m }, children: [
6869
+ d && /* @__PURE__ */ f("div", { className: E.prefix, children: d }),
6870
6870
  /* @__PURE__ */ A(
6871
- Ed,
6871
+ Ld,
6872
6872
  {
6873
6873
  disabled: o,
6874
6874
  name: s,
@@ -6877,15 +6877,15 @@ const ef = L((e, t) => {
6877
6877
  onValueChange: c,
6878
6878
  value: w,
6879
6879
  children: [
6880
- /* @__PURE__ */ A(Ld, { className: k.trigger, children: [
6880
+ /* @__PURE__ */ A(Pd, { className: E.trigger, children: [
6881
6881
  /* @__PURE__ */ f(
6882
- Pd,
6882
+ $d,
6883
6883
  {
6884
- className: k.value,
6884
+ className: E.value,
6885
6885
  placeholder: u
6886
6886
  }
6887
6887
  ),
6888
- /* @__PURE__ */ f($d, { className: k.icon, children: /* @__PURE__ */ f(
6888
+ /* @__PURE__ */ f(Rd, { className: E.icon, children: /* @__PURE__ */ f(
6889
6889
  On,
6890
6890
  {
6891
6891
  height: y ? 16 : 20,
@@ -6893,22 +6893,22 @@ const ef = L((e, t) => {
6893
6893
  }
6894
6894
  ) })
6895
6895
  ] }),
6896
- /* @__PURE__ */ f(Rd, { children: /* @__PURE__ */ f(
6897
- Nd,
6896
+ /* @__PURE__ */ f(Nd, { children: /* @__PURE__ */ f(
6897
+ kd,
6898
6898
  {
6899
- className: k.content,
6899
+ className: E.content,
6900
6900
  position: "popper",
6901
6901
  sideOffset: -1,
6902
6902
  children: /* @__PURE__ */ f(Ad, { asChild: !0, children: /* @__PURE__ */ A(wa, { maxHeight: i, size: "micro", theme: "colorVariants", children: [
6903
6903
  l.map((S) => /* @__PURE__ */ f(
6904
6904
  Td,
6905
6905
  {
6906
- className: k.item,
6906
+ className: E.item,
6907
6907
  disabled: S.disabled,
6908
6908
  value: S.value,
6909
- children: /* @__PURE__ */ f(zd, { asChild: !0, children: /* @__PURE__ */ A("div", { className: k.itemContent, children: [
6910
- S.icon && /* @__PURE__ */ f(ke, { children: S.icon }),
6911
- S.label && /* @__PURE__ */ f("span", { className: k.itemLabel, children: S.label })
6909
+ children: /* @__PURE__ */ f(zd, { asChild: !0, children: /* @__PURE__ */ A("div", { className: E.itemContent, children: [
6910
+ S.icon && /* @__PURE__ */ f(Ee, { children: S.icon }),
6911
+ S.label && /* @__PURE__ */ f("span", { className: E.itemLabel, children: S.label })
6912
6912
  ] }) })
6913
6913
  },
6914
6914
  S.value
@@ -6920,13 +6920,13 @@ const ef = L((e, t) => {
6920
6920
  ]
6921
6921
  }
6922
6922
  ),
6923
- _ && /* @__PURE__ */ f("div", { className: k.suffix, children: _ })
6923
+ _ && /* @__PURE__ */ f("div", { className: E.suffix, children: _ })
6924
6924
  ] })
6925
6925
  ] });
6926
6926
  });
6927
- ef.displayName = "Select";
6928
- const tf = "_focus_1jn0k_550", nf = "_swap_1jn0k_632", of = "_swap__content_1jn0k_688", rf = "_root_1jn0k_780", af = "_wrapper_1jn0k_787", sf = "_outline_1jn0k_794", cf = "_fill_1jn0k_804", lf = "_error_1jn0k_813", uf = "_disabled_1jn0k_823", df = "_textarea_1jn0k_828", ff = "_label_1jn0k_851", _f = "_required_1jn0k_866", pf = "_filled_1jn0k_875", hf = "_clearButton_1jn0k_894", gf = "_errorText_1jn0k_919", mf = "_innerHint_1jn0k_925", pe = {
6929
- focus: tf,
6927
+ e2.displayName = "Select";
6928
+ const t2 = "_focus_1jn0k_550", n2 = "_swap_1jn0k_632", o2 = "_swap__content_1jn0k_688", r2 = "_root_1jn0k_780", a2 = "_wrapper_1jn0k_787", s2 = "_outline_1jn0k_794", i2 = "_fill_1jn0k_804", c2 = "_error_1jn0k_813", l2 = "_disabled_1jn0k_823", u2 = "_textarea_1jn0k_828", d2 = "_label_1jn0k_851", f2 = "_required_1jn0k_866", _2 = "_filled_1jn0k_875", p2 = "_clearButton_1jn0k_894", h2 = "_errorText_1jn0k_919", g2 = "_innerHint_1jn0k_925", pe = {
6929
+ focus: t2,
6930
6930
  "focus--default": "_focus--default_1jn0k_567",
6931
6931
  "focus--danger": "_focus--danger_1jn0k_571",
6932
6932
  "focus--visible": "_focus--visible_1jn0k_577",
@@ -6936,7 +6936,7 @@ const tf = "_focus_1jn0k_550", nf = "_swap_1jn0k_632", of = "_swap__content_1jn0
6936
6936
  "focus--input": "_focus--input_1jn0k_607",
6937
6937
  "focus--button": "_focus--button_1jn0k_612",
6938
6938
  "focus--card": "_focus--card_1jn0k_617",
6939
- swap: nf,
6939
+ swap: n2,
6940
6940
  "swap--text": "_swap--text_1jn0k_641",
6941
6941
  "swap--icon": "_swap--icon_1jn0k_652",
6942
6942
  "swap--icon-xs": "_swap--icon-xs_1jn0k_662",
@@ -6944,26 +6944,26 @@ const tf = "_focus_1jn0k_550", nf = "_swap_1jn0k_632", of = "_swap__content_1jn0
6944
6944
  "swap--icon-m": "_swap--icon-m_1jn0k_672",
6945
6945
  "swap--icon-l": "_swap--icon-l_1jn0k_677",
6946
6946
  "swap--icon-xl": "_swap--icon-xl_1jn0k_682",
6947
- swap__content: of,
6947
+ swap__content: o2,
6948
6948
  "swap--group-horizontal": "_swap--group-horizontal_1jn0k_697",
6949
6949
  "swap--group-vertical": "_swap--group-vertical_1jn0k_704",
6950
6950
  "swap--with-background": "_swap--with-background_1jn0k_712",
6951
6951
  "swap--with-border": "_swap--with-border_1jn0k_718",
6952
6952
  "swap--interactive": "_swap--interactive_1jn0k_726",
6953
- root: rf,
6954
- wrapper: af,
6955
- outline: sf,
6956
- fill: cf,
6957
- error: lf,
6958
- disabled: uf,
6959
- textarea: df,
6960
- label: ff,
6961
- required: _f,
6962
- filled: pf,
6963
- clearButton: hf,
6964
- errorText: gf,
6965
- innerHint: mf
6966
- }, wf = L(
6953
+ root: r2,
6954
+ wrapper: a2,
6955
+ outline: s2,
6956
+ fill: i2,
6957
+ error: c2,
6958
+ disabled: l2,
6959
+ textarea: u2,
6960
+ label: d2,
6961
+ required: f2,
6962
+ filled: _2,
6963
+ clearButton: p2,
6964
+ errorText: h2,
6965
+ innerHint: g2
6966
+ }, m2 = P(
6967
6967
  ({
6968
6968
  className: e,
6969
6969
  disabled: t,
@@ -6981,8 +6981,8 @@ const tf = "_focus_1jn0k_550", nf = "_swap_1jn0k_632", of = "_swap__content_1jn0
6981
6981
  defaultValue: g,
6982
6982
  ...w
6983
6983
  }, p) => {
6984
- const m = _ !== void 0, [v, C] = W(g?.toString() ?? ""), b = m ? _ : v, x = (b?.toString() ?? "").length > 0, k = (E) => {
6985
- m || C(E.target.value), c?.(E);
6984
+ const m = _ !== void 0, [v, C] = W(g?.toString() ?? ""), b = m ? _ : v, x = (b?.toString() ?? "").length > 0, E = (L) => {
6985
+ m || C(L.target.value), c?.(L);
6986
6986
  }, S = () => {
6987
6987
  t || (m || C(""), c?.({
6988
6988
  target: { value: "" },
@@ -7009,7 +7009,7 @@ const tf = "_focus_1jn0k_550", nf = "_swap_1jn0k_632", of = "_swap__content_1jn0
7009
7009
  rows: l,
7010
7010
  className: pe.textarea,
7011
7011
  value: b,
7012
- onChange: k,
7012
+ onChange: E,
7013
7013
  ...w
7014
7014
  }
7015
7015
  ),
@@ -7035,9 +7035,9 @@ const tf = "_focus_1jn0k_550", nf = "_swap_1jn0k_632", of = "_swap__content_1jn0
7035
7035
  ] });
7036
7036
  }
7037
7037
  );
7038
- wf.displayName = "TextArea";
7038
+ m2.displayName = "TextArea";
7039
7039
  export {
7040
- yf as Accordion,
7040
+ b2 as Accordion,
7041
7041
  ba as AlertsBellIcon,
7042
7042
  On as ArrowChevronDownIcon,
7043
7043
  ya as ArrowChevronLeftIcon,
@@ -7045,46 +7045,46 @@ export {
7045
7045
  Oo as ArrowChevronUpIcon,
7046
7046
  gt as ArrowIcon,
7047
7047
  Sa as ArrowRefreshIcon,
7048
- xf as AuthCard,
7048
+ y2 as AuthCard,
7049
7049
  ci as Avatar,
7050
- Sf as AvatarGroup,
7051
- kf as AvatarWithCssBorder,
7052
- Ef as Badge,
7050
+ x2 as AvatarGroup,
7051
+ S2 as AvatarWithCssBorder,
7052
+ E2 as Badge,
7053
7053
  Cn as Button,
7054
7054
  Do as CheckIcon,
7055
7055
  jo as Checkbox,
7056
- $f as Chip,
7057
- Rf as ControlledCheckbox,
7058
- Nf as ControlledInput,
7059
- Af as ControlledInputGroupStack,
7060
- Pf as Counter,
7056
+ $2 as Chip,
7057
+ R2 as ControlledCheckbox,
7058
+ N2 as ControlledInput,
7059
+ k2 as ControlledInputGroupStack,
7060
+ P2 as Counter,
7061
7061
  qs as Divider,
7062
- Lf as Dot,
7063
- Ea as EyeIcon,
7064
- La as EyeSlashIcon,
7065
- ka as FacebookIcon,
7066
- $a as ImagePhotoIcon,
7067
- Ra as ImagePhotoOutline,
7062
+ L2 as Dot,
7063
+ La as EyeIcon,
7064
+ Pa as EyeSlashIcon,
7065
+ Ea as FacebookIcon,
7066
+ Ra as ImagePhotoIcon,
7067
+ Na as ImagePhotoOutline,
7068
7068
  Go as Input,
7069
7069
  Ko as InputGroupStack,
7070
- Pa as InstagramIcon,
7071
- Na as LogoutV1Outline,
7070
+ $a as InstagramIcon,
7071
+ ka as LogoutV1Outline,
7072
7072
  Dn as MathSymbolXV2Icon,
7073
7073
  Aa as MathSymbolsAddSquareV2Icon,
7074
7074
  Ta as MathSymbolsXCircleContainedIcon,
7075
7075
  Vo as MinusIcon,
7076
7076
  za as OdnoklassnikiIcon,
7077
- Tf as PageContainer,
7077
+ A2 as PageContainer,
7078
7078
  Vn as RequiredIcon,
7079
7079
  wa as ScrollArea,
7080
7080
  Ut as ScrollBar,
7081
7081
  Ma as SearchIcon,
7082
- zf as SegmentControl,
7083
- ef as Select,
7082
+ T2 as SegmentControl,
7083
+ e2 as Select,
7084
7084
  hs as Spinner,
7085
7085
  Ho as SwapIcon,
7086
7086
  Ia as TelegramIcon,
7087
- wf as TextArea,
7087
+ m2 as TextArea,
7088
7088
  Oa as TimeCalendarV2Icon,
7089
7089
  st as Typography,
7090
7090
  Da as VKIcon