@post-pioneer/ui-kit 0.1.42 → 0.1.43

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,6 +1,6 @@
1
1
  import { jsx as o, jsxs as b, Fragment as C1 } from "react/jsx-runtime";
2
- import u, { forwardRef as w, useState as a1 } from "react";
3
- const v1 = w(
2
+ import u, { forwardRef as g, useState as a1 } from "react";
3
+ const v1 = g(
4
4
  ({ width: e = "12", height: r = "14", color: t = "currentColor", ...a }, n) => /* @__PURE__ */ o(
5
5
  "svg",
6
6
  {
@@ -25,7 +25,7 @@ const v1 = w(
25
25
  )
26
26
  );
27
27
  v1.displayName = "AlertsBellIcon";
28
- const m1 = w(
28
+ const m1 = g(
29
29
  ({ width: e = "6", height: r = "10", color: t = "currentColor", ...a }, n) => /* @__PURE__ */ o(
30
30
  "svg",
31
31
  {
@@ -48,7 +48,7 @@ const m1 = w(
48
48
  )
49
49
  );
50
50
  m1.displayName = "ArrowChevronLeftIcon";
51
- const x1 = w(
51
+ const x1 = g(
52
52
  ({ width: e = "6", height: r = "10", color: t = "currentColor", ...a }, n) => /* @__PURE__ */ o(
53
53
  "svg",
54
54
  {
@@ -71,7 +71,7 @@ const x1 = w(
71
71
  )
72
72
  );
73
73
  x1.displayName = "ArrowChevronRightIcon";
74
- const b1 = w(
74
+ const b1 = g(
75
75
  ({ width: e = "13", height: r = "13", color: t = "currentColor", ...a }, n) => /* @__PURE__ */ o(
76
76
  "svg",
77
77
  {
@@ -88,7 +88,7 @@ const b1 = w(
88
88
  )
89
89
  );
90
90
  b1.displayName = "FacebookIcon";
91
- const y1 = w(
91
+ const y1 = g(
92
92
  ({ width: e = "24", height: r = "24", color: t = "currentColor", ...a }, n) => /* @__PURE__ */ o(
93
93
  "svg",
94
94
  {
@@ -113,7 +113,7 @@ const y1 = w(
113
113
  )
114
114
  );
115
115
  y1.displayName = "EyeIcon";
116
- const z1 = w(
116
+ const z1 = g(
117
117
  ({ width: e = "26", height: r = "26", color: t = "currentColor", ...a }, n) => /* @__PURE__ */ o(
118
118
  "svg",
119
119
  {
@@ -136,7 +136,7 @@ const z1 = w(
136
136
  )
137
137
  );
138
138
  z1.displayName = "EyeSlashIcon";
139
- const L1 = w(
139
+ const L1 = g(
140
140
  ({ width: e = "16", height: r = "16", color: t = "currentColor", ...a }, n) => /* @__PURE__ */ o(
141
141
  "svg",
142
142
  {
@@ -161,7 +161,7 @@ const L1 = w(
161
161
  )
162
162
  );
163
163
  L1.displayName = "ImagePhotoIcon";
164
- const k1 = w(
164
+ const k1 = g(
165
165
  ({ width: e = "12", height: r = "14", color: t = "currentColor", ...a }, n) => /* @__PURE__ */ o(
166
166
  "svg",
167
167
  {
@@ -186,7 +186,7 @@ const k1 = w(
186
186
  )
187
187
  );
188
188
  k1.displayName = "ImagePhotoOutline";
189
- const V1 = w(
189
+ const V1 = g(
190
190
  ({ width: e = "24", height: r = "24", color: t = "currentColor", ...a }, n) => /* @__PURE__ */ o(
191
191
  "svg",
192
192
  {
@@ -211,7 +211,7 @@ const V1 = w(
211
211
  )
212
212
  );
213
213
  V1.displayName = "LogoutV1Outline";
214
- const N1 = w(
214
+ const N1 = g(
215
215
  ({ width: e = "16", height: r = "16", color: t = "currentColor", ...a }, n) => /* @__PURE__ */ o(
216
216
  "svg",
217
217
  {
@@ -245,7 +245,7 @@ const N1 = w(
245
245
  )
246
246
  );
247
247
  N1.displayName = "MathSymbolsAddSquareV2Icon";
248
- const X = w(
248
+ const X = g(
249
249
  ({ width: e = "9", height: r = "8", color: t = "currentColor", ...a }, n) => /* @__PURE__ */ o(
250
250
  "svg",
251
251
  {
@@ -262,7 +262,7 @@ const X = w(
262
262
  )
263
263
  );
264
264
  X.displayName = "MathSymbolXV2Icon";
265
- const J = w(
265
+ const J = g(
266
266
  ({ width: e = "12", height: r = "12", color: t = "currentColor", ...a }, n) => /* @__PURE__ */ o(
267
267
  "svg",
268
268
  {
@@ -279,7 +279,7 @@ const J = w(
279
279
  )
280
280
  );
281
281
  J.displayName = "RequiredIcon";
282
- const $1 = w(
282
+ const $1 = g(
283
283
  ({ width: e = "18", height: r = "18", color: t = "currentColor", ...a }, n) => /* @__PURE__ */ o(
284
284
  "svg",
285
285
  {
@@ -296,7 +296,7 @@ const $1 = w(
296
296
  )
297
297
  );
298
298
  $1.displayName = "SearchIcon";
299
- const q1 = w(
299
+ const q1 = g(
300
300
  ({ size: e = 16, color: r = "currentColor", ...t }, a) => /* @__PURE__ */ o(
301
301
  "svg",
302
302
  {
@@ -321,7 +321,7 @@ const q1 = w(
321
321
  )
322
322
  );
323
323
  q1.displayName = "SwapIcon";
324
- const M1 = w(
324
+ const M1 = g(
325
325
  ({ width: e = "14", height: r = "15", color: t = "currentColor", ...a }, n) => /* @__PURE__ */ o(
326
326
  "svg",
327
327
  {
@@ -338,7 +338,7 @@ const M1 = w(
338
338
  )
339
339
  );
340
340
  M1.displayName = "TelegramIcon";
341
- const S1 = w(
341
+ const S1 = g(
342
342
  ({ width: e = "16", height: r = "16", color: t = "currentColor", ...a }, n) => /* @__PURE__ */ o(
343
343
  "svg",
344
344
  {
@@ -355,7 +355,7 @@ const S1 = w(
355
355
  )
356
356
  );
357
357
  S1.displayName = "TimeCalendarV2Icon";
358
- const B1 = w(
358
+ const B1 = g(
359
359
  ({ width: e = "14", height: r = "14", color: t = "currentColor", ...a }, n) => /* @__PURE__ */ o(
360
360
  "svg",
361
361
  {
@@ -391,8 +391,8 @@ const H1 = "_card_1nlez_780", I1 = "_header_1nlez_801", Z1 = "_title_1nlez_806",
391
391
  title: Z1,
392
392
  subtitle: R1,
393
393
  content: A1
394
- }, T1 = "_focus_qdf1d_550", E1 = "_swap_qdf1d_632", W1 = "_swap__content_qdf1d_688", G1 = "_typography_qdf1d_780", F1 = "_truncate_qdf1d_991", A = {
395
- focus: T1,
394
+ }, E1 = "_focus_qdf1d_550", T1 = "_swap_qdf1d_632", W1 = "_swap__content_qdf1d_688", G1 = "_typography_qdf1d_780", F1 = "_truncate_qdf1d_991", A = {
395
+ focus: E1,
396
396
  "focus--default": "_focus--default_qdf1d_567",
397
397
  "focus--danger": "_focus--danger_qdf1d_571",
398
398
  "focus--visible": "_focus--visible_qdf1d_577",
@@ -402,7 +402,7 @@ const H1 = "_card_1nlez_780", I1 = "_header_1nlez_801", Z1 = "_title_1nlez_806",
402
402
  "focus--input": "_focus--input_qdf1d_607",
403
403
  "focus--button": "_focus--button_qdf1d_612",
404
404
  "focus--card": "_focus--card_qdf1d_617",
405
- swap: E1,
405
+ swap: T1,
406
406
  "swap--text": "_swap--text_qdf1d_641",
407
407
  "swap--icon": "_swap--icon_qdf1d_652",
408
408
  "swap--icon-xs": "_swap--icon-xs_qdf1d_662",
@@ -500,25 +500,25 @@ const H1 = "_card_1nlez_780", I1 = "_header_1nlez_801", Z1 = "_title_1nlez_806",
500
500
  SmallText: "text-short-s-regular",
501
501
  RegularLink: "text-long-m-regular",
502
502
  SmallLink: "text-short-s-regular"
503
- }, P = w(
503
+ }, P = g(
504
504
  (e, r) => {
505
505
  const {
506
506
  as: t = "p",
507
507
  children: a,
508
508
  className: n,
509
509
  textAlign: s = "left",
510
- variant: _ = "text-long-m-regular",
511
- truncate: i = !1,
510
+ variant: i = "text-long-m-regular",
511
+ truncate: _ = !1,
512
512
  multilineTruncate: l = !1,
513
513
  noWrap: d = !1,
514
514
  breakWord: c = !1,
515
515
  ...f
516
- } = e, v = O1[_], p = V(
516
+ } = e, v = O1[i], p = V(
517
517
  A.typography,
518
518
  A[v],
519
519
  A[`align-${s}`],
520
520
  {
521
- [A.truncate]: i,
521
+ [A.truncate]: _,
522
522
  [A.multilineTruncate]: l,
523
523
  [A.noWrap]: d,
524
524
  [A.breakWord]: c
@@ -601,8 +601,8 @@ const m0 = ({
601
601
  status: a = null,
602
602
  bordered: n = !1,
603
603
  backgroundColor: s,
604
- className: _ = "",
605
- onError: i
604
+ className: i = "",
605
+ onError: _
606
606
  }) => {
607
607
  const l = (p) => {
608
608
  const h = p.trim().split(" ");
@@ -640,7 +640,7 @@ const m0 = ({
640
640
  Z.avatar,
641
641
  Z[`avatar--${t}`],
642
642
  n ? Z["avatar--bordered"] : "",
643
- _
643
+ i
644
644
  ].filter(Boolean).join(" "), v = () => {
645
645
  if (e)
646
646
  return /* @__PURE__ */ o(
@@ -649,7 +649,7 @@ const m0 = ({
649
649
  src: e,
650
650
  alt: r ? `${r} avatar` : "Avatar",
651
651
  className: Z.avatar__image,
652
- onError: i
652
+ onError: _
653
653
  }
654
654
  );
655
655
  if (r) {
@@ -701,7 +701,7 @@ const m0 = ({
701
701
  overlap: a = !0,
702
702
  className: n = ""
703
703
  }) => {
704
- const s = e.slice(0, r), _ = e.length - s.length;
704
+ const s = e.slice(0, r), i = e.length - s.length;
705
705
  return /* @__PURE__ */ b(
706
706
  "div",
707
707
  {
@@ -711,10 +711,10 @@ const m0 = ({
711
711
  n
712
712
  ].filter(Boolean).join(" "),
713
713
  children: [
714
- s.map((i, l) => /* @__PURE__ */ o("div", { className: G.avatarGroup__item, children: /* @__PURE__ */ o(r2, { ...i, size: t }) }, l)),
715
- _ > 0 && /* @__PURE__ */ b("div", { className: `${G.avatarGroup__item} ${G.avatarGroup__more}`, children: [
714
+ s.map((_, l) => /* @__PURE__ */ o("div", { className: G.avatarGroup__item, children: /* @__PURE__ */ o(r2, { ..._, size: t }) }, l)),
715
+ i > 0 && /* @__PURE__ */ b("div", { className: `${G.avatarGroup__item} ${G.avatarGroup__more}`, children: [
716
716
  "+",
717
- _
717
+ i
718
718
  ] })
719
719
  ]
720
720
  }
@@ -753,7 +753,7 @@ const m0 = ({
753
753
  }
754
754
  )
755
755
  }
756
- ), s2 = "_focus_rofil_550", _2 = "_swap_rofil_632", i2 = "_swap__content_rofil_688", l2 = "_spinner_rofil_780", d2 = "_spinner__label_rofil_842", E = {
756
+ ), s2 = "_focus_rofil_550", _2 = "_swap_rofil_632", i2 = "_swap__content_rofil_688", l2 = "_spinner_rofil_780", d2 = "_spinner__label_rofil_842", T = {
757
757
  focus: s2,
758
758
  "focus--default": "_focus--default_rofil_567",
759
759
  "focus--danger": "_focus--danger_rofil_571",
@@ -803,17 +803,17 @@ const m0 = ({
803
803
  label: a,
804
804
  labelPosition: n = "bottom"
805
805
  }) => {
806
- const s = !!a, _ = [
807
- E["spinner-container"],
808
- s && E[`spinner-container--label-${n}`],
806
+ const s = !!a, i = [
807
+ T["spinner-container"],
808
+ s && T[`spinner-container--label-${n}`],
809
809
  t
810
- ].filter(Boolean).join(" "), i = [
811
- E.spinner,
812
- E[`spinner--${e}`],
813
- E[`spinner--${r}`]
810
+ ].filter(Boolean).join(" "), _ = [
811
+ T.spinner,
812
+ T[`spinner--${e}`],
813
+ T[`spinner--${r}`]
814
814
  ].filter(Boolean).join(" ");
815
- return /* @__PURE__ */ b("div", { className: _, children: [
816
- /* @__PURE__ */ o("div", { className: i, children: (() => {
815
+ return /* @__PURE__ */ b("div", { className: i, children: [
816
+ /* @__PURE__ */ o("div", { className: _, children: (() => {
817
817
  switch (e) {
818
818
  case "xs":
819
819
  return /* @__PURE__ */ o("svg", { width: "12", height: "12", viewBox: "0 0 12 12", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ o("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M11.0271 9.32414C11.5487 8.54345 11.8786 7.65462 11.9948 6.7298C12.0466 6.31739 11.7048 5.97912 11.2891 5.97912C10.8735 5.97912 10.5431 6.3186 10.4746 6.72857C10.1176 8.86575 8.25944 10.4946 6.02088 10.4946C3.52695 10.4946 1.50522 8.47291 1.50522 5.97898C1.50522 3.74035 3.13422 1.88219 5.27149 1.52522C5.68143 1.45675 6.02088 1.1264 6.02088 0.710787C6.02088 0.29517 5.68266 -0.0466028 5.27028 0.00521079C4.34544 0.121414 3.45658 0.451289 2.67586 0.972945C1.68573 1.63453 0.914021 2.57486 0.458315 3.67503C0.00260876 4.7752 -0.116625 5.9858 0.115692 7.15374C0.348009 8.32167 0.921443 9.39449 1.76348 10.2365C2.60551 11.0786 3.67833 11.652 4.84627 11.8843C6.0142 12.1166 7.2248 11.9974 8.32497 11.5417C9.42515 11.086 10.3655 10.3143 11.0271 9.32414Z", fill: "currentColor" }) });
@@ -831,9 +831,9 @@ const m0 = ({
831
831
  return null;
832
832
  }
833
833
  })() }),
834
- a && /* @__PURE__ */ o("span", { className: E.spinner__label, "aria-hidden": "true", children: a })
834
+ a && /* @__PURE__ */ o("span", { className: T.spinner__label, "aria-hidden": "true", children: a })
835
835
  ] });
836
- }, u2 = "_focus_1vdat_550", p2 = "_swap_1vdat_632", f2 = "_swap__content_1vdat_688", h2 = "_button_1vdat_780", g2 = "_sizeL_1vdat_805", w2 = "_sizeM_1vdat_809", C2 = "_sizeS_1vdat_813", v2 = "_iconOnly_1vdat_817", m2 = "_primary_1vdat_829", x2 = "_disabled_1vdat_834", b2 = "_count_1vdat_848", y2 = "_secondary_1vdat_852", z2 = "_ghost_1vdat_875", L2 = "_link_1vdat_898", k2 = "_dangerPrimary_1vdat_927", V2 = "_dangerSecondary_1vdat_953", N2 = "_dangerGhost_1vdat_979", $2 = "_dangerLink_1vdat_1005", q2 = "_open_1vdat_1032", M2 = "_content_1vdat_1044", S2 = "_loader_1vdat_1049", B2 = "_text_1vdat_1055", H2 = "_icon_1vdat_817", I2 = "_chevron_1vdat_1082", Z2 = "_loading_1vdat_1110", y = {
836
+ }, u2 = "_focus_1vdat_550", p2 = "_swap_1vdat_632", f2 = "_swap__content_1vdat_688", h2 = "_button_1vdat_780", w2 = "_sizeL_1vdat_805", g2 = "_sizeM_1vdat_809", C2 = "_sizeS_1vdat_813", v2 = "_iconOnly_1vdat_817", m2 = "_primary_1vdat_829", x2 = "_disabled_1vdat_834", b2 = "_count_1vdat_848", y2 = "_secondary_1vdat_852", z2 = "_ghost_1vdat_875", L2 = "_link_1vdat_898", k2 = "_dangerPrimary_1vdat_927", V2 = "_dangerSecondary_1vdat_953", N2 = "_dangerGhost_1vdat_979", $2 = "_dangerLink_1vdat_1005", q2 = "_open_1vdat_1032", M2 = "_content_1vdat_1044", S2 = "_loader_1vdat_1049", B2 = "_text_1vdat_1055", H2 = "_icon_1vdat_817", I2 = "_chevron_1vdat_1082", Z2 = "_loading_1vdat_1110", y = {
837
837
  focus: u2,
838
838
  "focus--default": "_focus--default_1vdat_567",
839
839
  "focus--danger": "_focus--danger_1vdat_571",
@@ -859,8 +859,8 @@ const m0 = ({
859
859
  "swap--with-border": "_swap--with-border_1vdat_718",
860
860
  "swap--interactive": "_swap--interactive_1vdat_726",
861
861
  button: h2,
862
- sizeL: g2,
863
- sizeM: w2,
862
+ sizeL: w2,
863
+ sizeM: g2,
864
864
  sizeS: C2,
865
865
  iconOnly: v2,
866
866
  primary: m2,
@@ -891,15 +891,15 @@ const m0 = ({
891
891
  default:
892
892
  return "s";
893
893
  }
894
- }, A2 = w(
894
+ }, A2 = g(
895
895
  (e, r) => {
896
896
  const {
897
897
  size: t = "m",
898
898
  variant: a = "primary",
899
899
  disabled: n = !1,
900
900
  loading: s = !1,
901
- active: _ = !1,
902
- open: i = !1,
901
+ active: i = !1,
902
+ open: _ = !1,
903
903
  className: l = "",
904
904
  children: d,
905
905
  icon: c,
@@ -909,14 +909,14 @@ const m0 = ({
909
909
  withChevron: h = !1,
910
910
  href: x,
911
911
  ...m
912
- } = e, N = f === "only" || !d && c, B = h && !N, g = [
912
+ } = e, N = f === "only" || !d && c, B = h && !N, w = [
913
913
  y.button,
914
914
  y[`size${t.toUpperCase()}`],
915
915
  y[a],
916
916
  n && y.disabled,
917
917
  s && y.loading,
918
- _ && y.active,
919
- i && y.open,
918
+ i && y.active,
919
+ _ && y.open,
920
920
  N && y.iconOnly,
921
921
  l
922
922
  ].filter(Boolean).join(" "), k = () => /* @__PURE__ */ b(C1, { children: [
@@ -931,12 +931,12 @@ const m0 = ({
931
931
  ] });
932
932
  if (x) {
933
933
  const H = m;
934
- return n || s ? /* @__PURE__ */ o("span", { className: g, ...H, children: k() }) : /* @__PURE__ */ o(
934
+ return n || s ? /* @__PURE__ */ o("span", { className: w, ...H, children: k() }) : /* @__PURE__ */ o(
935
935
  "a",
936
936
  {
937
937
  ref: r,
938
938
  href: x,
939
- className: g,
939
+ className: w,
940
940
  ...H,
941
941
  children: k()
942
942
  }
@@ -948,7 +948,7 @@ const m0 = ({
948
948
  {
949
949
  ref: r,
950
950
  type: z,
951
- className: g,
951
+ className: w,
952
952
  disabled: n || s,
953
953
  "aria-label": N && v ? v : void 0,
954
954
  ...M,
@@ -958,8 +958,8 @@ const m0 = ({
958
958
  }
959
959
  );
960
960
  A2.displayName = "Button";
961
- const T2 = "_focus_17z2d_550", E2 = "_swap_17z2d_632", W2 = "_swap__content_17z2d_688", G2 = "_badge_17z2d_780", F2 = "_badge__part_17z2d_1042", O = {
962
- focus: T2,
961
+ const E2 = "_focus_17z2d_550", T2 = "_swap_17z2d_632", W2 = "_swap__content_17z2d_688", G2 = "_badge_17z2d_780", F2 = "_badge__part_17z2d_1042", O = {
962
+ focus: E2,
963
963
  "focus--default": "_focus--default_17z2d_567",
964
964
  "focus--danger": "_focus--danger_17z2d_571",
965
965
  "focus--visible": "_focus--visible_17z2d_577",
@@ -969,7 +969,7 @@ const T2 = "_focus_17z2d_550", E2 = "_swap_17z2d_632", W2 = "_swap__content_17z2
969
969
  "focus--input": "_focus--input_17z2d_607",
970
970
  "focus--button": "_focus--button_17z2d_612",
971
971
  "focus--card": "_focus--card_17z2d_617",
972
- swap: E2,
972
+ swap: T2,
973
973
  "swap--text": "_swap--text_17z2d_641",
974
974
  "swap--icon": "_swap--icon_17z2d_652",
975
975
  "swap--icon-xs": "_swap--icon-xs_17z2d_662",
@@ -1087,8 +1087,8 @@ const T2 = "_focus_17z2d_550", E2 = "_swap_17z2d_632", W2 = "_swap__content_17z2
1087
1087
  color: a = "default",
1088
1088
  className: n = "",
1089
1089
  children: s,
1090
- textPosition: _ = "center",
1091
- ...i
1090
+ textPosition: i = "center",
1091
+ ..._
1092
1092
  }) => {
1093
1093
  const l = !!s, d = [
1094
1094
  R.divider,
@@ -1097,7 +1097,7 @@ const T2 = "_focus_17z2d_550", E2 = "_swap_17z2d_632", W2 = "_swap__content_17z2
1097
1097
  R[`divider--${t}`],
1098
1098
  R[`divider--${a}`],
1099
1099
  l && R["divider--with-text"],
1100
- l && R[`divider--text-${_}`],
1100
+ l && R[`divider--text-${i}`],
1101
1101
  n
1102
1102
  ].filter(Boolean).join(" ");
1103
1103
  return l && e === "horizontal" ? /* @__PURE__ */ o(
@@ -1106,7 +1106,7 @@ const T2 = "_focus_17z2d_550", E2 = "_swap_17z2d_632", W2 = "_swap__content_17z2
1106
1106
  className: d,
1107
1107
  role: "separator",
1108
1108
  "aria-orientation": e,
1109
- ...i,
1109
+ ..._,
1110
1110
  children: /* @__PURE__ */ o("span", { className: R.divider__text, children: s })
1111
1111
  }
1112
1112
  ) : /* @__PURE__ */ o(
@@ -1115,22 +1115,22 @@ const T2 = "_focus_17z2d_550", E2 = "_swap_17z2d_632", W2 = "_swap__content_17z2
1115
1115
  className: d,
1116
1116
  role: "separator",
1117
1117
  "aria-orientation": e,
1118
- ...i
1118
+ ..._
1119
1119
  }
1120
1120
  );
1121
1121
  };
1122
1122
  var K2 = (e) => e.type === "checkbox", F = (e) => e instanceof Date, Q = (e) => e == null;
1123
1123
  const s1 = (e) => typeof e == "object";
1124
- var T = (e) => !Q(e) && !Array.isArray(e) && s1(e) && !F(e), X2 = (e) => T(e) && e.target ? K2(e.target) ? e.target.checked : e.target.value : e, J2 = (e) => e.substring(0, e.search(/\.\d+(\.|$)/)) || e, Q2 = (e, r) => e.has(J2(r)), Y2 = (e) => {
1124
+ var E = (e) => !Q(e) && !Array.isArray(e) && s1(e) && !F(e), X2 = (e) => E(e) && e.target ? K2(e.target) ? e.target.checked : e.target.value : e, J2 = (e) => e.substring(0, e.search(/\.\d+(\.|$)/)) || e, Q2 = (e, r) => e.has(J2(r)), Y2 = (e) => {
1125
1125
  const r = e.constructor && e.constructor.prototype;
1126
- return T(r) && r.hasOwnProperty("isPrototypeOf");
1126
+ return E(r) && r.hasOwnProperty("isPrototypeOf");
1127
1127
  }, ee = typeof window < "u" && typeof window.HTMLElement < "u" && typeof document < "u";
1128
1128
  function _1(e) {
1129
1129
  let r;
1130
1130
  const t = Array.isArray(e), a = typeof FileList < "u" ? e instanceof FileList : !1;
1131
1131
  if (e instanceof Date)
1132
1132
  r = new Date(e);
1133
- else if (!(ee && (e instanceof Blob || a)) && (t || T(e)))
1133
+ else if (!(ee && (e instanceof Blob || a)) && (t || E(e)))
1134
1134
  if (r = t ? [] : Object.create(Object.getPrototypeOf(e)), !t && !Y2(e))
1135
1135
  r = e;
1136
1136
  else
@@ -1141,23 +1141,23 @@ function _1(e) {
1141
1141
  return r;
1142
1142
  }
1143
1143
  var i1 = (e) => /^\w*$/.test(e), K = (e) => e === void 0, te = (e) => Array.isArray(e) ? e.filter(Boolean) : [], l1 = (e) => te(e.replace(/["|']|\]/g, "").split(/\.|\[/)), L = (e, r, t) => {
1144
- if (!r || !T(e))
1144
+ if (!r || !E(e))
1145
1145
  return t;
1146
1146
  const a = (i1(r) ? [r] : l1(r)).reduce((n, s) => Q(n) ? n : n[s], e);
1147
1147
  return K(a) || a === e ? K(e[r]) ? t : e[r] : a;
1148
1148
  }, U = (e) => typeof e == "boolean", e1 = (e, r, t) => {
1149
1149
  let a = -1;
1150
- const n = i1(r) ? [r] : l1(r), s = n.length, _ = s - 1;
1150
+ const n = i1(r) ? [r] : l1(r), s = n.length, i = s - 1;
1151
1151
  for (; ++a < s; ) {
1152
- const i = n[a];
1152
+ const _ = n[a];
1153
1153
  let l = t;
1154
- if (a !== _) {
1155
- const d = e[i];
1156
- l = T(d) || Array.isArray(d) ? d : isNaN(+n[a + 1]) ? {} : [];
1154
+ if (a !== i) {
1155
+ const d = e[_];
1156
+ l = E(d) || Array.isArray(d) ? d : isNaN(+n[a + 1]) ? {} : [];
1157
1157
  }
1158
- if (i === "__proto__" || i === "constructor" || i === "prototype")
1158
+ if (_ === "__proto__" || _ === "constructor" || _ === "prototype")
1159
1159
  return;
1160
- e[i] = l, e = e[i];
1160
+ e[_] = l, e = e[_];
1161
1161
  }
1162
1162
  };
1163
1163
  const t1 = {
@@ -1175,15 +1175,15 @@ var re = (e, r, t, a = !0) => {
1175
1175
  for (const s in e)
1176
1176
  Object.defineProperty(n, s, {
1177
1177
  get: () => {
1178
- const _ = s;
1179
- return r._proxyFormState[_] !== r1.all && (r._proxyFormState[_] = !a || r1.all), t && (t[_] = !0), e[_];
1178
+ const i = s;
1179
+ return r._proxyFormState[i] !== r1.all && (r._proxyFormState[i] = !a || r1.all), t && (t[i] = !0), e[i];
1180
1180
  }
1181
1181
  });
1182
1182
  return n;
1183
1183
  };
1184
1184
  const c1 = typeof window < "u" ? u.useLayoutEffect : u.useEffect;
1185
1185
  function ne(e) {
1186
- const r = Y(), { control: t = r.control, disabled: a, name: n, exact: s } = e || {}, [_, i] = u.useState(t._formState), l = u.useRef({
1186
+ const r = Y(), { control: t = r.control, disabled: a, name: n, exact: s } = e || {}, [i, _] = u.useState(t._formState), l = u.useRef({
1187
1187
  isDirty: !1,
1188
1188
  isLoading: !1,
1189
1189
  dirtyFields: !1,
@@ -1198,14 +1198,14 @@ function ne(e) {
1198
1198
  formState: l.current,
1199
1199
  exact: s,
1200
1200
  callback: (d) => {
1201
- !a && i({
1201
+ !a && _({
1202
1202
  ...t._formState,
1203
1203
  ...d
1204
1204
  });
1205
1205
  }
1206
1206
  }), [n, a, s]), u.useEffect(() => {
1207
1207
  l.current.isValid && t._setValid(!0);
1208
- }, [t]), u.useMemo(() => re(_, t, l.current, !1), [_, t]);
1208
+ }, [t]), u.useMemo(() => re(i, t, l.current, !1), [i, t]);
1209
1209
  }
1210
1210
  var ae = (e) => typeof e == "string", oe = (e, r, t, a, n) => ae(e) ? L(t, e, n) : Array.isArray(e) ? e.map((s) => L(t, s)) : t, n1 = (e) => Q(e) || !s1(e);
1211
1211
  function u1(e, r, t = /* @__PURE__ */ new WeakSet()) {
@@ -1220,27 +1220,27 @@ function u1(e, r, t = /* @__PURE__ */ new WeakSet()) {
1220
1220
  return !0;
1221
1221
  t.add(e), t.add(r);
1222
1222
  for (const s of a) {
1223
- const _ = e[s];
1223
+ const i = e[s];
1224
1224
  if (!n.includes(s))
1225
1225
  return !1;
1226
1226
  if (s !== "ref") {
1227
- const i = r[s];
1228
- if (F(_) && F(i) || T(_) && T(i) || Array.isArray(_) && Array.isArray(i) ? !u1(_, i, t) : _ !== i)
1227
+ const _ = r[s];
1228
+ if (F(i) && F(_) || E(i) && E(_) || Array.isArray(i) && Array.isArray(_) ? !u1(i, _, t) : i !== _)
1229
1229
  return !1;
1230
1230
  }
1231
1231
  }
1232
1232
  return !0;
1233
1233
  }
1234
1234
  function se(e) {
1235
- const r = Y(), { control: t = r.control, name: a, defaultValue: n, disabled: s, exact: _, compute: i } = e || {}, l = u.useRef(n), d = u.useRef(i), c = u.useRef(void 0);
1236
- d.current = i;
1235
+ const r = Y(), { control: t = r.control, name: a, defaultValue: n, disabled: s, exact: i, compute: _ } = e || {}, l = u.useRef(n), d = u.useRef(_), c = u.useRef(void 0);
1236
+ d.current = _;
1237
1237
  const f = u.useMemo(() => t._getWatch(a, l.current), [t, a]), [v, p] = u.useState(d.current ? d.current(f) : f);
1238
1238
  return c1(() => t._subscribe({
1239
1239
  name: a,
1240
1240
  formState: {
1241
1241
  values: !0
1242
1242
  },
1243
- exact: _,
1243
+ exact: i,
1244
1244
  callback: (h) => {
1245
1245
  if (!s) {
1246
1246
  const x = oe(a, t._names, h.values || t._formValues, !1, l.current);
@@ -1251,10 +1251,10 @@ function se(e) {
1251
1251
  p(x);
1252
1252
  }
1253
1253
  }
1254
- }), [t, s, a, _]), u.useEffect(() => t._removeUnmounted()), v;
1254
+ }), [t, s, a, i]), u.useEffect(() => t._removeUnmounted()), v;
1255
1255
  }
1256
1256
  function p1(e) {
1257
- const r = Y(), { name: t, disabled: a, control: n = r.control, shouldUnregister: s, defaultValue: _ } = e, i = Q2(n._names.array, t), l = u.useMemo(() => L(n._formValues, t, L(n._defaultValues, t, _)), [n, t, _]), d = se({
1257
+ const r = Y(), { name: t, disabled: a, control: n = r.control, shouldUnregister: s, defaultValue: i } = e, _ = Q2(n._names.array, t), l = u.useMemo(() => L(n._formValues, t, L(n._defaultValues, t, i)), [n, t, i]), d = se({
1258
1258
  control: n,
1259
1259
  name: t,
1260
1260
  defaultValue: l,
@@ -1290,9 +1290,9 @@ function p1(e) {
1290
1290
  enumerable: !0,
1291
1291
  get: () => L(c.errors, t)
1292
1292
  }
1293
- }), [c, t]), x = u.useCallback((g) => p.current.onChange({
1293
+ }), [c, t]), x = u.useCallback((w) => p.current.onChange({
1294
1294
  target: {
1295
- value: X2(g),
1295
+ value: X2(w),
1296
1296
  name: t
1297
1297
  },
1298
1298
  type: t1.CHANGE
@@ -1302,13 +1302,13 @@ function p1(e) {
1302
1302
  name: t
1303
1303
  },
1304
1304
  type: t1.BLUR
1305
- }), [t, n._formValues]), N = u.useCallback((g) => {
1305
+ }), [t, n._formValues]), N = u.useCallback((w) => {
1306
1306
  const k = L(n._fields, t);
1307
- k && g && (k._f.ref = {
1308
- focus: () => g.focus && g.focus(),
1309
- select: () => g.select && g.select(),
1310
- setCustomValidity: (z) => g.setCustomValidity(z),
1311
- reportValidity: () => g.reportValidity()
1307
+ k && w && (k._f.ref = {
1308
+ focus: () => w.focus && w.focus(),
1309
+ select: () => w.select && w.select(),
1310
+ setCustomValidity: (z) => w.setCustomValidity(z),
1311
+ reportValidity: () => w.reportValidity()
1312
1312
  });
1313
1313
  }, [n._fields, t]), B = u.useMemo(() => ({
1314
1314
  name: t,
@@ -1319,8 +1319,8 @@ function p1(e) {
1319
1319
  ref: N
1320
1320
  }), [t, a, c.disabled, x, m, N, d]);
1321
1321
  return u.useEffect(() => {
1322
- const g = n._options.shouldUnregister || s, k = v.current;
1323
- k && k !== t && !i && n.unregister(k), n.register(t, {
1322
+ const w = n._options.shouldUnregister || s, k = v.current;
1323
+ k && k !== t && !_ && n.unregister(k), n.register(t, {
1324
1324
  ...f.current.rules,
1325
1325
  ...U(f.current.disabled) ? { disabled: f.current.disabled } : {}
1326
1326
  });
@@ -1328,14 +1328,14 @@ function p1(e) {
1328
1328
  const q = L(n._fields, M);
1329
1329
  q && q._f && (q._f.mount = H);
1330
1330
  };
1331
- if (z(t, !0), g) {
1331
+ if (z(t, !0), w) {
1332
1332
  const M = _1(L(n._options.defaultValues, t, f.current.defaultValue));
1333
1333
  e1(n._defaultValues, t, M), K(L(n._formValues, t)) && e1(n._formValues, t, M);
1334
1334
  }
1335
- return !i && n.register(t), v.current = t, () => {
1336
- (i ? g && !n._state.action : g) ? n.unregister(t) : z(t, !1);
1335
+ return !_ && n.register(t), v.current = t, () => {
1336
+ (_ ? w && !n._state.action : w) ? n.unregister(t) : z(t, !1);
1337
1337
  };
1338
- }, [t, n, i, s]), u.useEffect(() => {
1338
+ }, [t, n, _, s]), u.useEffect(() => {
1339
1339
  n._setDisabledField({
1340
1340
  disabled: a,
1341
1341
  name: t
@@ -1346,7 +1346,7 @@ function p1(e) {
1346
1346
  fieldState: h
1347
1347
  }), [B, c, h]);
1348
1348
  }
1349
- const _e = "_focus_1xn7u_550", ie = "_swap_1xn7u_632", le = "_swap__content_1xn7u_688", de = "_root_1xn7u_780", ce = "_fullWidth_1xn7u_786", ue = "_wrapper_1xn7u_799", pe = "_first_1xn7u_816", fe = "_middle_1xn7u_819", he = "_last_1xn7u_823", ge = "_error_1xn7u_830", we = "_outline_1xn7u_841", Ce = "_fill_1xn7u_852", ve = "_disabled_1xn7u_868", me = "_input_1xn7u_874", xe = "_label_1xn7u_877", be = "_clearButton_1xn7u_880", ye = "_requiredIcon_1xn7u_916", ze = "_filled_1xn7u_924", Le = "_errorText_1xn7u_933", ke = "_single_1xn7u_957", Ve = "_small_1xn7u_1007", Ne = "_medium_1xn7u_1019", $e = "_withPrefix_1xn7u_1078", qe = "_withSuffix_1xn7u_1081", Me = "_innerHint_1xn7u_1183", Se = "_affix_1xn7u_1230", Be = "_prefix_1xn7u_1241", He = "_suffix_1xn7u_1246", C = {
1349
+ const _e = "_focus_1xn7u_550", ie = "_swap_1xn7u_632", le = "_swap__content_1xn7u_688", de = "_root_1xn7u_780", ce = "_fullWidth_1xn7u_786", ue = "_wrapper_1xn7u_799", pe = "_first_1xn7u_816", fe = "_middle_1xn7u_819", he = "_last_1xn7u_823", we = "_error_1xn7u_830", ge = "_outline_1xn7u_841", Ce = "_fill_1xn7u_852", ve = "_disabled_1xn7u_868", me = "_input_1xn7u_874", xe = "_label_1xn7u_877", be = "_clearButton_1xn7u_880", ye = "_requiredIcon_1xn7u_916", ze = "_filled_1xn7u_924", Le = "_errorText_1xn7u_933", ke = "_single_1xn7u_957", Ve = "_small_1xn7u_1007", Ne = "_medium_1xn7u_1019", $e = "_withPrefix_1xn7u_1078", qe = "_withSuffix_1xn7u_1081", Me = "_innerHint_1xn7u_1183", Se = "_affix_1xn7u_1230", Be = "_prefix_1xn7u_1241", He = "_suffix_1xn7u_1246", C = {
1350
1350
  focus: _e,
1351
1351
  "focus--default": "_focus--default_1xn7u_567",
1352
1352
  "focus--danger": "_focus--danger_1xn7u_571",
@@ -1377,8 +1377,8 @@ const _e = "_focus_1xn7u_550", ie = "_swap_1xn7u_632", le = "_swap__content_1xn7
1377
1377
  first: pe,
1378
1378
  middle: fe,
1379
1379
  last: he,
1380
- error: ge,
1381
- outline: we,
1380
+ error: we,
1381
+ outline: ge,
1382
1382
  fill: Ce,
1383
1383
  disabled: ve,
1384
1384
  input: me,
@@ -1396,7 +1396,7 @@ const _e = "_focus_1xn7u_550", ie = "_swap_1xn7u_632", le = "_swap__content_1xn7
1396
1396
  affix: Se,
1397
1397
  prefix: Be,
1398
1398
  suffix: He
1399
- }, f1 = w(
1399
+ }, f1 = g(
1400
1400
  ({
1401
1401
  className: e,
1402
1402
  disabled: r,
@@ -1404,8 +1404,8 @@ const _e = "_focus_1xn7u_550", ie = "_swap_1xn7u_632", le = "_swap__content_1xn7
1404
1404
  showErrorMessage: a = !0,
1405
1405
  hint: n,
1406
1406
  isRequired: s,
1407
- label: _,
1408
- id: i,
1407
+ label: i,
1408
+ id: _,
1409
1409
  clearable: l = !1,
1410
1410
  variant: d = "outline",
1411
1411
  size: c = "small",
@@ -1417,11 +1417,11 @@ const _e = "_focus_1xn7u_550", ie = "_swap_1xn7u_632", le = "_swap__content_1xn7
1417
1417
  onChange: m,
1418
1418
  type: N = "text",
1419
1419
  fullWidth: B = !0,
1420
- ...g
1420
+ ...w
1421
1421
  }, k) => {
1422
- const z = h !== void 0, [M, H] = a1(x?.toString() ?? ""), q = z ? h : M, j = !!q && q.toString().length > 0, g1 = (D) => {
1422
+ const z = h !== void 0, [M, H] = a1(x?.toString() ?? ""), q = z ? h : M, j = !!q && q.toString().length > 0, w1 = (D) => {
1423
1423
  z || H(D.target.value), m?.(D);
1424
- }, w1 = () => {
1424
+ }, g1 = () => {
1425
1425
  if (r) return;
1426
1426
  z || H(""), m?.({
1427
1427
  target: { value: "" },
@@ -1450,19 +1450,19 @@ const _e = "_focus_1xn7u_550", ie = "_swap_1xn7u_632", le = "_swap__content_1xn7
1450
1450
  /* @__PURE__ */ o(
1451
1451
  "input",
1452
1452
  {
1453
- id: i,
1453
+ id: _,
1454
1454
  ref: k,
1455
1455
  disabled: r,
1456
1456
  value: q,
1457
- onChange: g1,
1457
+ onChange: w1,
1458
1458
  className: C.input,
1459
1459
  type: N,
1460
1460
  placeholder: "",
1461
- ...g
1461
+ ...w
1462
1462
  }
1463
1463
  ),
1464
- _ && /* @__PURE__ */ b("label", { htmlFor: i, className: V(C.label), children: [
1465
- _,
1464
+ i && /* @__PURE__ */ b("label", { htmlFor: _, className: V(C.label), children: [
1465
+ i,
1466
1466
  s && /* @__PURE__ */ o(J, { className: C.requiredIcon })
1467
1467
  ] }),
1468
1468
  n && !t && !j && /* @__PURE__ */ o("span", { className: C.innerHint, children: n }),
@@ -1471,7 +1471,7 @@ const _e = "_focus_1xn7u_550", ie = "_swap_1xn7u_632", le = "_swap__content_1xn7
1471
1471
  {
1472
1472
  type: "button",
1473
1473
  className: C.clearButton,
1474
- onClick: w1,
1474
+ onClick: g1,
1475
1475
  "aria-label": "Очистить поле",
1476
1476
  children: /* @__PURE__ */ o(X, {})
1477
1477
  }
@@ -1503,11 +1503,11 @@ const L0 = ({
1503
1503
  {
1504
1504
  ...n,
1505
1505
  ...a,
1506
- error: t?.message,
1506
+ error: t?.message || "",
1507
1507
  "aria-invalid": s
1508
1508
  }
1509
1509
  );
1510
- }, Ie = "_focus_iyomv_550", Ze = "_swap_iyomv_632", Re = "_swap__content_iyomv_688", Ae = "_root_iyomv_780", Te = "_fullWidth_iyomv_785", Ee = "_hasGroupError_iyomv_791", We = "_wrapper_iyomv_791", Ge = "_hasChildErrors_iyomv_802", Fe = "_container_iyomv_811", Oe = "_vertical_iyomv_815", Pe = "_inputWrapper_iyomv_818", je = "_horizontal_iyomv_833", De = "_groupError_iyomv_863", I = {
1510
+ }, Ie = "_focus_iyomv_550", Ze = "_swap_iyomv_632", Re = "_swap__content_iyomv_688", Ae = "_root_iyomv_780", Ee = "_fullWidth_iyomv_785", Te = "_hasGroupError_iyomv_791", We = "_wrapper_iyomv_791", Ge = "_hasChildErrors_iyomv_802", Fe = "_container_iyomv_811", Oe = "_vertical_iyomv_815", Pe = "_inputWrapper_iyomv_818", je = "_horizontal_iyomv_833", De = "_groupError_iyomv_863", I = {
1511
1511
  focus: Ie,
1512
1512
  "focus--default": "_focus--default_iyomv_567",
1513
1513
  "focus--danger": "_focus--danger_iyomv_571",
@@ -1533,8 +1533,8 @@ const L0 = ({
1533
1533
  "swap--with-border": "_swap--with-border_iyomv_718",
1534
1534
  "swap--interactive": "_swap--interactive_iyomv_726",
1535
1535
  root: Ae,
1536
- fullWidth: Te,
1537
- hasGroupError: Ee,
1536
+ fullWidth: Ee,
1537
+ hasGroupError: Te,
1538
1538
  wrapper: We,
1539
1539
  hasChildErrors: Ge,
1540
1540
  container: Fe,
@@ -1542,7 +1542,7 @@ const L0 = ({
1542
1542
  inputWrapper: Pe,
1543
1543
  horizontal: je,
1544
1544
  groupError: De
1545
- }, h1 = w(
1545
+ }, h1 = g(
1546
1546
  ({
1547
1547
  children: e,
1548
1548
  direction: r = "vertical",
@@ -1550,13 +1550,13 @@ const L0 = ({
1550
1550
  className: a,
1551
1551
  groupError: n,
1552
1552
  showGroupErrorMessage: s = !0,
1553
- ..._
1554
- }, i) => {
1553
+ ...i
1554
+ }, _) => {
1555
1555
  const l = Array.isArray(e) ? e : [e], d = l.length, c = l.map((h) => h.props.error).filter(Boolean), f = !!n, v = c.length > 0, p = n || c.join(", ");
1556
1556
  return /* @__PURE__ */ b(
1557
1557
  "div",
1558
1558
  {
1559
- ref: i,
1559
+ ref: _,
1560
1560
  className: V(
1561
1561
  I.root,
1562
1562
  I[r],
@@ -1567,7 +1567,7 @@ const L0 = ({
1567
1567
  },
1568
1568
  a
1569
1569
  ),
1570
- ..._,
1570
+ ...i,
1571
1571
  children: [
1572
1572
  /* @__PURE__ */ o("div", { className: V(I.container, I[r]), children: l.map((h, x) => {
1573
1573
  const m = x === 0 ? "first" : x === d - 1 ? "last" : "middle", N = u.cloneElement(h, {
@@ -1596,23 +1596,16 @@ const k0 = ({
1596
1596
  const s = e ? p1({
1597
1597
  name: e,
1598
1598
  control: r
1599
- }) : null, _ = t || s?.fieldState.error;
1600
- return /* @__PURE__ */ b("div", { children: [
1601
- /* @__PURE__ */ o(h1, { ...n, children: a }),
1602
- _?.message && /* @__PURE__ */ o(
1603
- "span",
1604
- {
1605
- className: "input-group-error",
1606
- style: {
1607
- color: "var(--color-danger-500)",
1608
- fontSize: "var(--font-size-s)",
1609
- marginTop: "var(--spacing-2xs)",
1610
- display: "block"
1611
- },
1612
- children: _.message
1613
- }
1614
- )
1615
- ] });
1599
+ }) : null, _ = (t || s?.fieldState.error)?.message || "";
1600
+ return /* @__PURE__ */ o(
1601
+ h1,
1602
+ {
1603
+ ...n,
1604
+ groupError: _,
1605
+ showGroupErrorMessage: !0,
1606
+ children: a
1607
+ }
1608
+ );
1616
1609
  }, Ue = "_focus_f2n8z_550", Ke = "_swap_f2n8z_632", Xe = "_swap__content_f2n8z_688", Je = "_pageContainer_f2n8z_780", Qe = "_white_f2n8z_787", Ye = "_gray_f2n8z_790", e0 = "_content_f2n8z_883", S = {
1617
1610
  focus: Ue,
1618
1611
  "focus--default": "_focus--default_f2n8z_567",
@@ -1681,8 +1674,8 @@ const k0 = ({
1681
1674
  direction: a = "column",
1682
1675
  justify: n = "start",
1683
1676
  align: s = "stretch",
1684
- padding: _ = "m",
1685
- margin: i = "none",
1677
+ padding: i = "m",
1678
+ margin: _ = "none",
1686
1679
  maxWidth: l = "full",
1687
1680
  className: d
1688
1681
  }) => /* @__PURE__ */ o(
@@ -1692,8 +1685,8 @@ const k0 = ({
1692
1685
  S.pageContainer,
1693
1686
  S[r],
1694
1687
  S[`layout-${t}`],
1695
- S[`padding-${_}`],
1696
- S[`margin-${i}`],
1688
+ S[`padding-${i}`],
1689
+ S[`margin-${_}`],
1697
1690
  S[`maxWidth-${l}`],
1698
1691
  d
1699
1692
  ),
@@ -1712,7 +1705,7 @@ const k0 = ({
1712
1705
  }
1713
1706
  )
1714
1707
  }
1715
- ), t0 = "_focus_ehd4r_550", r0 = "_swap_ehd4r_632", n0 = "_swap__content_ehd4r_688", a0 = "_root_ehd4r_780", o0 = "_wrapper_ehd4r_787", s0 = "_outline_ehd4r_794", _0 = "_fill_ehd4r_804", i0 = "_error_ehd4r_813", l0 = "_disabled_ehd4r_823", d0 = "_textarea_ehd4r_828", c0 = "_label_ehd4r_851", u0 = "_required_ehd4r_866", p0 = "_filled_ehd4r_875", f0 = "_clearButton_ehd4r_894", h0 = "_errorText_ehd4r_919", g0 = "_innerHint_ehd4r_925", $ = {
1708
+ ), t0 = "_focus_ehd4r_550", r0 = "_swap_ehd4r_632", n0 = "_swap__content_ehd4r_688", a0 = "_root_ehd4r_780", o0 = "_wrapper_ehd4r_787", s0 = "_outline_ehd4r_794", _0 = "_fill_ehd4r_804", i0 = "_error_ehd4r_813", l0 = "_disabled_ehd4r_823", d0 = "_textarea_ehd4r_828", c0 = "_label_ehd4r_851", u0 = "_required_ehd4r_866", p0 = "_filled_ehd4r_875", f0 = "_clearButton_ehd4r_894", h0 = "_errorText_ehd4r_919", w0 = "_innerHint_ehd4r_925", $ = {
1716
1709
  focus: t0,
1717
1710
  "focus--default": "_focus--default_ehd4r_567",
1718
1711
  "focus--danger": "_focus--danger_ehd4r_571",
@@ -1749,8 +1742,8 @@ const k0 = ({
1749
1742
  filled: p0,
1750
1743
  clearButton: f0,
1751
1744
  errorText: h0,
1752
- innerHint: g0
1753
- }, w0 = w(
1745
+ innerHint: w0
1746
+ }, g0 = g(
1754
1747
  ({
1755
1748
  className: e,
1756
1749
  disabled: r,
@@ -1758,8 +1751,8 @@ const k0 = ({
1758
1751
  hint: a,
1759
1752
  isRequired: n,
1760
1753
  label: s,
1761
- id: _,
1762
- maxLength: i,
1754
+ id: i,
1755
+ maxLength: _,
1763
1756
  onChange: l,
1764
1757
  rows: d = 4,
1765
1758
  clearable: c = !1,
@@ -1768,7 +1761,7 @@ const k0 = ({
1768
1761
  defaultValue: p,
1769
1762
  ...h
1770
1763
  }, x) => {
1771
- const m = v !== void 0, [N, B] = a1(p?.toString() ?? ""), g = m ? v : N, z = (g?.toString() ?? "").length > 0, M = (q) => {
1764
+ const m = v !== void 0, [N, B] = a1(p?.toString() ?? ""), w = m ? v : N, z = (w?.toString() ?? "").length > 0, M = (q) => {
1772
1765
  m || B(q.target.value), l?.(q);
1773
1766
  }, H = () => {
1774
1767
  r || (m || B(""), l?.({
@@ -1789,18 +1782,18 @@ const k0 = ({
1789
1782
  /* @__PURE__ */ o(
1790
1783
  "textarea",
1791
1784
  {
1792
- id: _,
1785
+ id: i,
1793
1786
  ref: x,
1794
1787
  disabled: r,
1795
- maxLength: i,
1788
+ maxLength: _,
1796
1789
  rows: d,
1797
1790
  className: $.textarea,
1798
- value: g,
1791
+ value: w,
1799
1792
  onChange: M,
1800
1793
  ...h
1801
1794
  }
1802
1795
  ),
1803
- s && /* @__PURE__ */ b("label", { htmlFor: _, className: $.label, children: [
1796
+ s && /* @__PURE__ */ b("label", { htmlFor: i, className: $.label, children: [
1804
1797
  s,
1805
1798
  n && /* @__PURE__ */ o(J, { className: $.required })
1806
1799
  ] }),
@@ -1822,7 +1815,7 @@ const k0 = ({
1822
1815
  ] });
1823
1816
  }
1824
1817
  );
1825
- w0.displayName = "TextArea";
1818
+ g0.displayName = "TextArea";
1826
1819
  export {
1827
1820
  v1 as AlertsBellIcon,
1828
1821
  m1 as ArrowChevronLeftIcon,
@@ -1852,7 +1845,7 @@ export {
1852
1845
  c2 as Spinner,
1853
1846
  q1 as SwapIcon,
1854
1847
  M1 as TelegramIcon,
1855
- w0 as TextArea,
1848
+ g0 as TextArea,
1856
1849
  S1 as TimeCalendarV2Icon,
1857
1850
  P as Typography,
1858
1851
  B1 as VKIcon