md-components-mdigial-azamat 0.0.19 → 0.0.24

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.
Files changed (83) hide show
  1. package/dist/AllComponents.js +5 -9
  2. package/dist/AnimatedSwiper/index.js +64 -42
  3. package/dist/Banner/Banner.js +2 -2
  4. package/dist/Banner/index.js +1 -1
  5. package/dist/Banner/types.js +1 -4
  6. package/dist/BannerAndText/index.js +27 -35
  7. package/dist/CardIconList/CardIconList.js +26 -71
  8. package/dist/CardIconList/index.js +2 -2
  9. package/dist/CardImageList/CardImageList.js +1 -1
  10. package/dist/CardImageList/index.js +1 -1
  11. package/dist/CardImageSecondary/CardImageSecondary.js +27 -48
  12. package/dist/CardImageSecondary/index.js +2 -2
  13. package/dist/CardImageSecondaryList/CardImageSecondaryList.js +4 -19
  14. package/dist/CardImageSecondaryList/index.js +1 -1
  15. package/dist/CardInfoTable/index.js +23 -3
  16. package/dist/Cards/CardImage/CardImage.js +32 -18
  17. package/dist/Cards/ColoredCard/index.js +23 -10
  18. package/dist/Cards/ContentCard/ContentCard.js +1 -1
  19. package/dist/Cards/ContentCard/index.js +1 -1
  20. package/dist/Cards/FeaturesCard/index.js +2 -1
  21. package/dist/Cards/WarningCard/WarningCard.js +1 -1
  22. package/dist/Cards/WarningCard/index.js +1 -1
  23. package/dist/ContentCardList/ContentCardList.js +23 -2
  24. package/dist/ContentCardList/index.js +1 -1
  25. package/dist/DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js +1 -1
  26. package/dist/DownloadFile/components/DownloadFileBanner/index.js +1 -1
  27. package/dist/DownloadFile/components/DownloadFileBright/index.js +2 -2
  28. package/dist/DownloadFile/components/DownloadFileFull/DownloadFileFull.js +1 -1
  29. package/dist/DownloadFile/components/DownloadFileFull/index.js +2 -2
  30. package/dist/DownloadFile/components/DownloadFileHalf/DownloadFileHalf.js +1 -1
  31. package/dist/DownloadFile/components/DownloadFileHalf/index.js +1 -1
  32. package/dist/DownloadFile/components/DownloadFileMini/DownloadFileMini.js +1 -1
  33. package/dist/DownloadFile/components/DownloadFileMini/index.js +1 -1
  34. package/dist/Faq/Faq.js +20 -2
  35. package/dist/Faq/components/FeedbackForm/FeedbackForm.js +1 -1
  36. package/dist/Faq/components/FeedbackForm/index.js +1 -1
  37. package/dist/Faq/index.js +1 -1
  38. package/dist/HeroPossibilityBanner/index.js +30 -19
  39. package/dist/InfoBanner/index.js +3 -2
  40. package/dist/InfoBannerList/InfoBannerList.js +3 -2
  41. package/dist/InfoBannerList/index.js +2 -2
  42. package/dist/InstructionList/InstructionList.js +1 -1
  43. package/dist/InstructionList/index.js +1 -1
  44. package/dist/IntroBanner/IntroBanner.js +1 -1
  45. package/dist/IntroBanner/index.js +1 -1
  46. package/dist/MainBanner/MainBanner.js +1 -1
  47. package/dist/MainBanner/index.js +1 -1
  48. package/dist/MultiCards/index.js +5 -54
  49. package/dist/PageViewer/PageViewer.js +5 -7
  50. package/dist/PageViewer/renderComponents.js +1 -1
  51. package/dist/Partners/Partners.js +21 -4
  52. package/dist/PartnersColors/PartnersColors.js +38 -20
  53. package/dist/PreviewList/PreviewList.js +1 -1
  54. package/dist/PreviewList/components/PreviewCard/PreviewCard.js +1 -1
  55. package/dist/PreviewList/components/PreviewCard/index.js +1 -1
  56. package/dist/PreviewList/index.js +1 -1
  57. package/dist/PromoPoster/PromoPoster.js +29 -15
  58. package/dist/RenderAllComponents/RenderAllComponents.js +1 -1
  59. package/dist/RenderAllComponents/const.js +5 -5
  60. package/dist/Segments/Segments.js +15 -7
  61. package/dist/Space/Space.js +21 -0
  62. package/dist/Space/index.js +4 -0
  63. package/dist/StandartTable/components/CardWarning/index.js +1 -1
  64. package/dist/StandartTable/index.js +3 -2
  65. package/dist/Stepper/Stepper.js +2 -1
  66. package/dist/Stepper/index.js +1 -1
  67. package/dist/SwiperList/SwiperList.js +39 -29
  68. package/dist/TasksBanner/TasksBanner.js +45 -28
  69. package/dist/TasksBannerList/TasksBannerList.js +26 -11
  70. package/dist/Types/FiledTypes.js +2 -2
  71. package/dist/Video/VideoList/VideoList.js +19 -10
  72. package/dist/Video/VideoListMini/VideoListMini.js +17 -8
  73. package/dist/VideoMainBanner/VideoMainBanner.js +3 -2
  74. package/dist/VideoMainBanner/index.js +1 -1
  75. package/dist/componentsMap-189b0c59.js +50 -0
  76. package/dist/{AllComponents-3adfe2a3.js → index-7e2966f2.js} +1774 -1319
  77. package/dist/index-a379154f.js +66 -0
  78. package/dist/main.js +60 -61
  79. package/package.json +1 -1
  80. package/dist/EmptyBox/EmptyBox.js +0 -5
  81. package/dist/componentsMap-4a48f9e0.js +0 -53
  82. package/dist/index-6e0f7db0.js +0 -52
  83. /package/dist/{EmptyBox → Space}/types.js +0 -0
@@ -1,67 +1,68 @@
1
- import { BannerVariant as Se } from "./Banner/types.js";
1
+ import { jsxs as x, jsx as r } from "react/jsx-runtime";
2
2
  import "./ConfigProvider/index.js";
3
- import { jsxs as x, jsx as n } from "react/jsx-runtime";
4
- import * as st from "react";
5
- import W, { forwardRef as wt, useState as ri } from "react";
6
- import { c as F, a as X } from "./cn-d8c04b28.js";
7
- import { C as R } from "./ComponentContainer-0fcc2695.js";
8
- import { I as U } from "./index-60dfa873.js";
9
- import { u as Fe } from "./useScreenSize-c1b64c02.js";
10
- import "./BannerAndText/index.js";
11
- import { Segments as ni } from "./Segments/Segments.js";
12
- import { VideoFull as li } from "./Video/VideoFull/VideoFull.js";
13
- import { VideoList as si } from "./Video/VideoList/VideoList.js";
14
- import { VideoListMini as oi } from "./Video/VideoListMini/VideoListMini.js";
15
- import { HtmlContent as $e } from "./HtmlContent/HtmlContent.js";
16
- import { CardIconList as ci } from "./CardIconList/CardIconList.js";
17
- import { MultiCards as di } from "./MultiCards/index.js";
18
- import { Partners as pi } from "./Partners/Partners.js";
19
- import { CardImage as mi } from "./Cards/CardImage/CardImage.js";
20
- import { CardImageVariant as ot } from "./Cards/CardImage/types.js";
21
- import { FieldTypes as J } from "./Types/FiledTypes.js";
22
- import { Collapse as ui } from "./Faq/components/Collapse/Collapse.js";
23
- import { InstructionCard as gi } from "./InstructionList/components/InstructionCard/InstructionCard.js";
3
+ import { FieldTypes as b } from "./Types/FiledTypes.js";
4
+ import * as pt from "react";
5
+ import W, { forwardRef as Ct, useState as ki } from "react";
6
+ import { c as y, a as X } from "./cn-d8c04b28.js";
7
+ import { C as V } from "./ComponentContainer-0fcc2695.js";
8
+ import { I as $ } from "./index-60dfa873.js";
9
+ import { Segments as _i } from "./Segments/Segments.js";
10
+ import { VideoFull as yi } from "./Video/VideoFull/VideoFull.js";
11
+ import { VideoList as wi } from "./Video/VideoList/VideoList.js";
12
+ import { VideoListMini as vi } from "./Video/VideoListMini/VideoListMini.js";
13
+ import { HtmlContent as Ze } from "./HtmlContent/HtmlContent.js";
14
+ import { F as Fi, S as Be } from "./index-a379154f.js";
15
+ import { Partners as Ni } from "./Partners/Partners.js";
16
+ import { CardImage as Ci } from "./Cards/CardImage/CardImage.js";
17
+ import { CardImageVariant as mt } from "./Cards/CardImage/types.js";
18
+ import { Collapse as Li } from "./Faq/components/Collapse/Collapse.js";
19
+ import { InstructionCard as Di } from "./InstructionList/components/InstructionCard/InstructionCard.js";
24
20
  import "./HeroPossibilityBanner/index.js";
25
- import { PartnersColors as xi } from "./PartnersColors/PartnersColors.js";
26
- import { W as Be, p as se } from "./model-bc7ae7c3.js";
21
+ import { PartnersColors as Ti } from "./PartnersColors/PartnersColors.js";
22
+ import { W as Se, p as ne } from "./model-bc7ae7c3.js";
27
23
  import "./Cards/ColoredCard/index.js";
28
- import "./index-6e0f7db0.js";
29
- import "./swiper-react-c049ea66.js";
30
- import './assets/swiper.css';/* empty css */import { SwiperList as bi } from "./SwiperList/SwiperList.js";
31
- import "./TasksBanner/TasksBanner.js";
32
- import fi from "./AnimatedSwiper/index.js";
33
- import { CardImageSecondaryList as hi } from "./CardImageSecondaryList/CardImageSecondaryList.js";
34
- import { EmptyBox as ki } from "./EmptyBox/EmptyBox.js";
35
- import { PromoPoster as _i } from "./PromoPoster/PromoPoster.js";
36
- import { CardMarkedRow as yi } from "./StandartTable/components/CardMarkedRow/index.js";
37
- import { TasksBannerList as wi } from "./TasksBannerList/TasksBannerList.js";
24
+ import Bi from "./AnimatedSwiper/index.js";
25
+ import { u as Fe } from "./useScreenSize-c1b64c02.js";
26
+ import { PromoPoster as Si } from "./PromoPoster/PromoPoster.js";
27
+ import { Space as Ei } from "./Space/Space.js";
28
+ import { CardMarkedRow as Ii } from "./StandartTable/components/CardMarkedRow/index.js";
29
+ import { SwiperList as Vi } from "./SwiperList/SwiperList.js";
30
+ import { TasksBannerList as Pi } from "./TasksBannerList/TasksBannerList.js";
38
31
  var Y = /* @__PURE__ */ ((e) => (e.S = "s", e.M = "m", e.L = "l", e.XL = "xl", e))(Y || {}), B = /* @__PURE__ */ ((e) => (e.Primary = "primary", e.Secondary = "secondary", e.SecondaryBlue = "secondaryBlue", e.Grey = "grey", e.Static = "static", e.Brand = "brand", e))(B || {});
39
- const vt = {
32
+ const Ne = {
33
+ type: "button",
40
34
  size: Y,
41
35
  variant: B,
42
- loading: J.BOOLEAN,
43
- iconRight: J.COMPONENT,
44
- iconLeft: J.COMPONENT,
45
- className: J.CLASSNAME,
46
- button_hex: J.COLOR,
47
- link: J.LINK
48
- }, P = wt(
36
+ loading: b.BOOLEAN,
37
+ iconRight: b.COMPONENT,
38
+ iconLeft: b.COMPONENT,
39
+ className: b.CLASSNAME,
40
+ button_hex: b.COLOR,
41
+ title: b.NODE,
42
+ link: b.LINK
43
+ }, Lt = {
44
+ type: "buttons",
45
+ dataType: "array",
46
+ label: "Кнопки",
47
+ data: Ne
48
+ }, I = Ct(
49
49
  ({
50
50
  children: e,
51
51
  size: t = Y.XL,
52
52
  variant: i = B.Primary,
53
- loading: r = !1,
54
- iconRight: s,
55
- iconLeft: o,
56
- className: p,
57
- ...d
58
- }, _) => {
59
- const C = {
53
+ loading: a = !1,
54
+ iconRight: n,
55
+ iconLeft: s,
56
+ className: d,
57
+ title: p,
58
+ ...v
59
+ }, L) => {
60
+ const F = {
60
61
  [Y.S]: "",
61
62
  [Y.M]: "px-[12px] py-[8px] rounded-[12px] text-[14px] h-[36px]",
62
63
  [Y.L]: "px-[16px] py-[10px] rounded-[16px] text-[16px] h-[44px]",
63
64
  [Y.XL]: "px-[20px] py-[16px] rounded-[16px] text-[16px] h-[56px]"
64
- }, w = {
65
+ }, k = {
65
66
  [B.Primary]: "bg-yellowLight hover:bg-yellowSaturated disabled:bg-yellowLight2 disabled:cursor-not-allowed",
66
67
  [B.Secondary]: "bg-lightBlue hover:bg-grayBlue disabled:bg-white disabled:cursor-not-allowed",
67
68
  [B.SecondaryBlue]: "bg-lightBlue text-blue hover:bg-grayBlue disabled:bg-white disabled:text-lightBlue5 disabled:cursor-not-allowed",
@@ -72,49 +73,60 @@ const vt = {
72
73
  return /* @__PURE__ */ x(
73
74
  "button",
74
75
  {
75
- className: F(
76
+ className: y(
76
77
  "flex items-center justify-center gap-2 border-none font-i font-medium cursor-pointer w-fit ",
77
- C[t],
78
- w[i],
79
- p
78
+ F[t],
79
+ k[i],
80
+ d
80
81
  ),
81
- ref: _,
82
- ...d,
82
+ ref: L,
83
+ ...v,
83
84
  children: [
84
- r ? /* @__PURE__ */ n("span", { className: "flex justify-center items-center w-[22px] h-[22px] p-[2px] bg-transparent rounded-full border-2 border-[#0e0f11] border-t-transparent animate-spin" }) : o && /* @__PURE__ */ n("span", { className: "flex items-center", children: o }),
85
- e,
86
- s && /* @__PURE__ */ n("span", { className: "flex items-center", children: s })
85
+ a ? /* @__PURE__ */ r("span", { className: "flex justify-center items-center w-[22px] h-[22px] p-[2px] bg-transparent rounded-full border-2 border-[#0e0f11] border-t-transparent animate-spin" }) : s && /* @__PURE__ */ r("span", { className: "flex items-center", children: s }),
86
+ p || e,
87
+ n && /* @__PURE__ */ r("span", { className: "flex items-center", children: n })
87
88
  ]
88
89
  }
89
90
  );
90
91
  }
91
92
  );
92
- P.displayName = "AppButton";
93
- const vi = [
93
+ I.displayName = "AppButton";
94
+ const Mi = {
95
+ type: "qr",
96
+ label: "QR Блок",
97
+ dataType: "object",
98
+ data: {
99
+ keys: {
100
+ banner_qr: b.LINK,
101
+ banner_qr_text: b.DESCRIPTION,
102
+ banner_title: b.TITLE,
103
+ color_text: b.COLOR,
104
+ button: Ne
105
+ }
106
+ }
107
+ }, Ai = [
94
108
  "bg_image",
95
109
  "image",
96
110
  "title",
97
111
  "text_color",
98
112
  "description",
99
- "buttons",
100
- "variant",
101
- "qr"
102
- ], Ft = ({
113
+ Lt,
114
+ Mi
115
+ ], Dt = ({
103
116
  bg_image: e,
104
117
  image: t,
105
118
  title: i,
106
- text_color: r = "inherit",
107
- description: s,
108
- buttons: o,
109
- variant: p,
119
+ text_color: a = "inherit",
120
+ description: n,
121
+ buttons: s,
110
122
  qr: d
111
123
  }) => {
112
- var k, h, te;
113
- const _ = Fe(960), C = p === Se.Buttons, w = p === Se.Qr;
114
- return /* @__PURE__ */ n(R, { children: /* @__PURE__ */ x(
124
+ var v, L, F;
125
+ const p = Fe(960);
126
+ return /* @__PURE__ */ r(V, { children: /* @__PURE__ */ x(
115
127
  "div",
116
128
  {
117
- className: F(
129
+ className: y(
118
130
  "relative w-full h-fit flex max-tablet:flex-col justify-between gap-4 bg-cover bg-center rounded-[20px] overflow-hidden max-tablet:justify-start max-tablet:items-center"
119
131
  ),
120
132
  style: {
@@ -122,69 +134,69 @@ const vi = [
122
134
  },
123
135
  children: [
124
136
  /* @__PURE__ */ x("div", { className: " flex flex-col gap-4 w-[40%] max-tablet:w-full justify-center p-12 max-tablet:p-8", children: [
125
- i && /* @__PURE__ */ n(
137
+ i && /* @__PURE__ */ r(
126
138
  "p",
127
139
  {
128
- className: F(
140
+ className: y(
129
141
  "text-[32px] font-bold leading-[40px] text-left text-black m-0 max-tablet:text-center max-tablet:text-[24px] max-tablet:leading-[28px]"
130
142
  ),
131
- style: { color: r },
143
+ style: { color: a },
132
144
  children: i
133
145
  }
134
146
  ),
135
- s && /* @__PURE__ */ n(
147
+ n && /* @__PURE__ */ r(
136
148
  "p",
137
149
  {
138
- className: F(
150
+ className: y(
139
151
  "text-[18px] font-normal leading-[26px] text-left m-0 max-tablet:px-[24px] max-tablet:text-center max-tablet:text-[15px] max-tablet:leading-[22px]"
140
152
  ),
141
- style: { color: r },
142
- children: s
153
+ style: { color: a },
154
+ children: n
143
155
  }
144
156
  ),
145
- C && /* @__PURE__ */ n("div", { className: "flex items-center gap-4 mt-6 max-tablet:flex-col max-tablet:gap-[10px] max-tablet:mt-[5px]", children: o == null ? void 0 : o.map((H, M) => /* @__PURE__ */ n(
157
+ !!s && /* @__PURE__ */ r("div", { className: "flex items-center gap-4 mt-6 max-tablet:flex-col max-tablet:gap-[10px] max-tablet:mt-[5px]", children: s == null ? void 0 : s.map((k, _) => /* @__PURE__ */ r(
146
158
  "a",
147
159
  {
148
- href: (H == null ? void 0 : H.link) || "#",
149
- className: F("w-fit z-10 max-tablet:w-full"),
160
+ href: (k == null ? void 0 : k.link) || "#",
161
+ className: y("w-fit z-10 max-tablet:w-full"),
150
162
  target: "_blank",
151
163
  rel: "noopener noreferrer",
152
- children: /* @__PURE__ */ n(
153
- P,
164
+ children: /* @__PURE__ */ r(
165
+ I,
154
166
  {
155
- variant: H.variant,
167
+ variant: k.variant,
156
168
  className: "w-[200px] max-tablet:w-full",
157
- children: H.text
169
+ title: k == null ? void 0 : k.title
158
170
  }
159
171
  )
160
172
  },
161
- M
173
+ _
162
174
  )) }),
163
- w && (_ ? /* @__PURE__ */ n("div", { className: "flex items-center gap-4 mt-6 max-tablet:flex-col max-tablet:gap-[10px] max-tablet:mt-[5px]", children: /* @__PURE__ */ n(
175
+ !!d && (p ? /* @__PURE__ */ r("div", { className: "flex items-center gap-4 mt-6 max-tablet:flex-col max-tablet:gap-[10px] max-tablet:mt-[5px]", children: /* @__PURE__ */ r(
164
176
  "a",
165
177
  {
166
- href: ((k = d == null ? void 0 : d.button) == null ? void 0 : k.link) || "#",
167
- className: F("w-fit z-10 max-tablet:w-full"),
178
+ href: ((v = d == null ? void 0 : d.button) == null ? void 0 : v.link) || "#",
179
+ className: y("w-fit z-10 max-tablet:w-full"),
168
180
  target: "_blank",
169
181
  rel: "noopener noreferrer",
170
- children: /* @__PURE__ */ n(
171
- P,
182
+ children: /* @__PURE__ */ r(
183
+ I,
172
184
  {
173
- variant: (h = d == null ? void 0 : d.button) == null ? void 0 : h.variant,
174
- className: "w-[200px] max-tablet:w-full",
175
- children: (te = d == null ? void 0 : d.button) == null ? void 0 : te.text
185
+ variant: (L = d == null ? void 0 : d.button) == null ? void 0 : L.variant,
186
+ title: (F = d == null ? void 0 : d.button) == null ? void 0 : F.title,
187
+ className: "w-[200px] max-tablet:w-full"
176
188
  }
177
189
  )
178
190
  }
179
191
  ) }) : /* @__PURE__ */ x(
180
192
  "div",
181
193
  {
182
- className: F(
194
+ className: y(
183
195
  "bg-white rounded-[15px] items-center gap-[12px] p-[12px] flex w-[282px] mt-6"
184
196
  ),
185
197
  children: [
186
- /* @__PURE__ */ n(
187
- U,
198
+ /* @__PURE__ */ r(
199
+ $,
188
200
  {
189
201
  src: d == null ? void 0 : d.banner_qr,
190
202
  alt: d == null ? void 0 : d.banner_qr_text,
@@ -192,10 +204,10 @@ const vi = [
192
204
  height: 101
193
205
  }
194
206
  ),
195
- /* @__PURE__ */ n(
207
+ /* @__PURE__ */ r(
196
208
  "p",
197
209
  {
198
- className: F(
210
+ className: y(
199
211
  "text-[15px] font-medium leading-[22px] text-center w-[60%] text-graySoft"
200
212
  ),
201
213
  style: { color: d == null ? void 0 : d.color_text },
@@ -206,14 +218,14 @@ const vi = [
206
218
  }
207
219
  ))
208
220
  ] }),
209
- t && /* @__PURE__ */ n(
210
- U,
221
+ t && /* @__PURE__ */ r(
222
+ $,
211
223
  {
212
224
  src: t,
213
225
  alt: i,
214
- width: _ ? 312 : 588,
215
- height: _ ? 218 : 400,
216
- className: F("max-tablet:!w-full align-bottom items-end mt-auto"),
226
+ width: p ? 312 : 588,
227
+ height: p ? 218 : 400,
228
+ className: y("max-tablet:!w-full align-bottom items-end mt-auto"),
217
229
  imageStyles: "object-contain object-bottom"
218
230
  }
219
231
  )
@@ -221,47 +233,105 @@ const vi = [
221
233
  }
222
234
  ) });
223
235
  };
224
- Ft.propsToEdit = vi;
225
- const Fi = ["data", "title", "button"], Nt = ({ data: e, title: t, button: i }) => /* @__PURE__ */ n(R, { children: /* @__PURE__ */ x("div", { className: "flex items-center flex-col", children: [
226
- t && /* @__PURE__ */ n("p", { className: "font-bold max-tablet:text-[26px] text-[44px] mb-12 max-tablet:leading-[32px] leading-[42px] font-variant-numeric font-feature-settings", children: t }),
227
- /* @__PURE__ */ n("div", { className: "grid grid-cols-3 gap-6 max-tablet:grid-cols-1", children: e == null ? void 0 : e.map((r, s) => {
228
- const o = s + 1;
236
+ Dt.propsToEdit = Ai;
237
+ const Oi = {
238
+ type: "banner_card",
239
+ label: "Баннер карточка",
240
+ dataType: "object",
241
+ data: {
242
+ keys: {
243
+ image: b.FILE
244
+ }
245
+ }
246
+ }, Ri = {
247
+ type: "banner_card",
248
+ label: "Текстовая карточка",
249
+ dataType: "object",
250
+ data: {
251
+ keys: {
252
+ title: b.TITLE,
253
+ description: b.DESCRIPTION,
254
+ color_text: b.COLOR
255
+ }
256
+ }
257
+ }, qi = [Oi, Ri, "turnover"], Tt = ({
258
+ banner_card: e,
259
+ text_card: t,
260
+ is_banner_first: i
261
+ }) => /* @__PURE__ */ r(V, { className: "p-0", children: /* @__PURE__ */ x("div", { className: "w-full h-full flex flex-col lg:flex-row items-stretch gap-[24px]", children: [
262
+ (e == null ? void 0 : e.image) && /* @__PURE__ */ r("div", { className: "w-auto rounded-[20px] h-full object-cover", children: /* @__PURE__ */ r(
263
+ $,
264
+ {
265
+ src: e == null ? void 0 : e.image,
266
+ alt: t == null ? void 0 : t.title,
267
+ className: "h-full"
268
+ }
269
+ ) }),
270
+ t && /* @__PURE__ */ x(
271
+ "div",
272
+ {
273
+ className: y(
274
+ "w-full flex flex-col bg-white justify-center gap-[11px] rounded-[20px] p-[32px]",
275
+ {
276
+ "order-[-1]": !i
277
+ }
278
+ ),
279
+ children: [
280
+ /* @__PURE__ */ r("p", { className: "font-inter text-[32px] leading-[40px] max-tablet:text-[24px] max-tablet:leading-[28px] font-bold", children: t.title }),
281
+ /* @__PURE__ */ r("p", { className: "text-graySoft text-[16px] leading-[24px]", children: t.description })
282
+ ]
283
+ }
284
+ )
285
+ ] }) });
286
+ Tt.propsToEdit = qi;
287
+ const $i = {
288
+ type: "data",
289
+ label: "Шаги",
290
+ dataType: "array",
291
+ data: {
292
+ text: b.DESCRIPTION,
293
+ icon: b.FILE
294
+ }
295
+ }, ji = [$i, "title", Ne], Bt = ({ data: e, title: t, button: i }) => /* @__PURE__ */ r(V, { children: /* @__PURE__ */ x("div", { className: "flex items-center flex-col", children: [
296
+ t && /* @__PURE__ */ r("p", { className: "font-bold max-tablet:text-[26px] text-[44px] mb-12 max-tablet:leading-[32px] leading-[42px] font-variant-numeric font-feature-settings", children: t }),
297
+ /* @__PURE__ */ r("div", { className: "grid grid-cols-3 gap-6 max-tablet:grid-cols-1", children: e == null ? void 0 : e.map((a, n) => {
298
+ const s = n + 1;
229
299
  return /* @__PURE__ */ x(
230
300
  "div",
231
301
  {
232
302
  className: "p-8 bg-white rounded-[20px] flex flex-col gap-6 items-center",
233
303
  children: [
234
- r.icon ? /* @__PURE__ */ n(
235
- U,
304
+ a.icon ? /* @__PURE__ */ r(
305
+ $,
236
306
  {
237
- src: r.icon,
307
+ src: a.icon,
238
308
  className: "w-[72px] h-[72px] rounded-full overflow-hidden"
239
309
  }
240
- ) : /* @__PURE__ */ n("span", { className: "w-[72px] h-[72px] rounded-full bg-greenLight font-bold overflow-hidden flex items-center justify-center text-white text-[24px] leading-8 ", children: o }),
241
- /* @__PURE__ */ n("p", { className: "text-blackBG text-[18px] leading-[26px] text-center", children: r.text })
310
+ ) : /* @__PURE__ */ r("span", { className: "w-[72px] h-[72px] rounded-full bg-greenLight font-bold overflow-hidden flex items-center justify-center text-white text-[24px] leading-8 ", children: s }),
311
+ /* @__PURE__ */ r("p", { className: "text-blackBG text-[18px] leading-[26px] text-center", children: a.text })
242
312
  ]
243
313
  },
244
- s
314
+ n
245
315
  );
246
316
  }) }),
247
- !!(i != null && i.length) && /* @__PURE__ */ n("div", { className: "flex items-center gap-4 mt-6", children: i.map((r, s) => /* @__PURE__ */ n(
317
+ !!(i != null && i.length) && /* @__PURE__ */ r("div", { className: "flex items-center gap-4 mt-6", children: i.map((a, n) => /* @__PURE__ */ r(
248
318
  "a",
249
319
  {
250
- href: (r == null ? void 0 : r.link) || "#",
320
+ href: (a == null ? void 0 : a.link) || "#",
251
321
  className: "w-fit z-10 max-tablet:w-full",
252
322
  target: "_blank",
253
323
  rel: "noopener noreferrer",
254
- children: /* @__PURE__ */ n(P, { variant: r.variant, children: r.text })
324
+ children: /* @__PURE__ */ r(I, { variant: a.variant, children: a.text })
255
325
  },
256
- s
326
+ n
257
327
  )) })
258
328
  ] }) });
259
- Nt.propsToEdit = Fi;
260
- const Ni = ["data"], Ct = ({ data: e }) => {
329
+ Bt.propsToEdit = ji;
330
+ const Hi = ["data"], St = ({ data: e }) => {
261
331
  var t;
262
332
  return /* @__PURE__ */ x("div", { className: "rounded-[20px] overflow-hidden", children: [
263
- /* @__PURE__ */ n(
264
- U,
333
+ /* @__PURE__ */ r(
334
+ $,
265
335
  {
266
336
  src: e == null ? void 0 : e.image,
267
337
  alt: e == null ? void 0 : e.title,
@@ -269,77 +339,239 @@ const Ni = ["data"], Ct = ({ data: e }) => {
269
339
  }
270
340
  ),
271
341
  /* @__PURE__ */ x("div", { className: "flex flex-col gap-[24px] bg-white p-[32px]", children: [
272
- /* @__PURE__ */ n("p", { className: "text-[24px] leading-[32px] font-semibold", children: e == null ? void 0 : e.title }),
273
- /* @__PURE__ */ n(
274
- $e,
342
+ /* @__PURE__ */ r("p", { className: "text-[24px] leading-[32px] font-semibold", children: e == null ? void 0 : e.title }),
343
+ /* @__PURE__ */ r(
344
+ Ze,
275
345
  {
276
346
  data: e == null ? void 0 : e.description,
277
347
  className: "text-graySoft text-[15px] leading-[22px]"
278
348
  }
279
349
  ),
280
- /* @__PURE__ */ n("div", { className: "flex gap-12px items-center max-tablet:flex-col", children: (t = e == null ? void 0 : e.button) == null ? void 0 : t.map((i) => /* @__PURE__ */ n(
350
+ /* @__PURE__ */ r("div", { className: "flex gap-12px items-center max-tablet:flex-col", children: (t = e == null ? void 0 : e.button) == null ? void 0 : t.map((i) => /* @__PURE__ */ r(
281
351
  "a",
282
352
  {
283
353
  href: (i == null ? void 0 : i.link) || "#",
284
354
  target: "_blank",
285
- children: /* @__PURE__ */ n(P, { variant: B.Grey, children: i == null ? void 0 : i.text })
355
+ children: /* @__PURE__ */ r(I, { variant: B.Grey, children: i == null ? void 0 : i.text })
286
356
  }
287
357
  )) })
288
358
  ] })
289
359
  ] });
290
360
  };
291
- Ct.propsToEdit = Ni;
292
- const Ci = ["data"], Dt = ({ data: e }) => {
293
- var t;
294
- return /* @__PURE__ */ n(R, { children: /* @__PURE__ */ x("div", { className: "w-full flex flex-col items-center justify-center", children: [
295
- (e == null ? void 0 : e.title) && /* @__PURE__ */ n(
296
- "p",
297
- {
298
- className: `font-bold max-tablet:text-[26px] text-[44px] max-tablet:leading-[32px] leading-[42px]
361
+ St.propsToEdit = Hi;
362
+ const Ui = {
363
+ type: "cards",
364
+ label: "Карточки",
365
+ dataType: "array",
366
+ data: {
367
+ title: b.TITLE,
368
+ image: b.FILE,
369
+ description: b.DESCRIPTION,
370
+ button: Ne
371
+ }
372
+ }, Gi = ["title", Ui], Et = ({ title: e, cards: t }) => /* @__PURE__ */ r(V, { children: /* @__PURE__ */ x("div", { className: "w-full flex flex-col items-center justify-center", children: [
373
+ e && /* @__PURE__ */ r(
374
+ "p",
375
+ {
376
+ className: `font-bold max-tablet:text-[26px] text-[44px] max-tablet:leading-[32px] leading-[42px]
299
377
  mb-[24px] font-variant-numeric font-feature-settings`,
300
- children: e == null ? void 0 : e.title
301
- }
302
- ),
303
- /* @__PURE__ */ n("div", { className: "flex flex-row max-tablet:flex-col gap-[24px]", children: (t = e == null ? void 0 : e.cards) == null ? void 0 : t.map((i) => /* @__PURE__ */ n(
304
- Ct,
305
- {
306
- data: i
307
- },
308
- i.id
309
- )) })
310
- ] }) });
378
+ children: e
379
+ }
380
+ ),
381
+ /* @__PURE__ */ r("div", { className: "flex flex-row max-tablet:flex-col gap-[24px]", children: t == null ? void 0 : t.map((i) => /* @__PURE__ */ r(
382
+ St,
383
+ {
384
+ data: i
385
+ },
386
+ i.id
387
+ )) })
388
+ ] }) });
389
+ Et.propsToEdit = Gi;
390
+ const Zi = {
391
+ type: "cards",
392
+ label: "Карточки",
393
+ dataType: "array",
394
+ data: {
395
+ keys: {
396
+ title: b.TITLE,
397
+ description: b.DESCRIPTION,
398
+ image: b.FILE,
399
+ is_black: b.BOOLEAN,
400
+ variant: b.VARIANT
401
+ }
402
+ }
403
+ }, zi = {
404
+ type: "multiHasText",
405
+ label: "Множественные текстовые карточки",
406
+ dataType: "boolean"
407
+ }, Wi = [Zi, "title", "size", "turnover", zi], ze = ({
408
+ cards: e,
409
+ title: t,
410
+ size: i = Be.SMALL,
411
+ turnover: a,
412
+ multiHasText: n = !1
413
+ }) => {
414
+ let s;
415
+ switch (i) {
416
+ case Be.SMALL:
417
+ s = "flex flex-row items-stretch max-tablet:flex-col";
418
+ break;
419
+ case Be.MEDIUM:
420
+ s = "grid grid-cols-3 items-stretch max-tablet:grid-cols-1";
421
+ break;
422
+ case Be.LARGE:
423
+ s = "grid grid-cols-2 items-stretch max-tablet:grid-cols-1";
424
+ break;
425
+ default:
426
+ s = "flex flex-row items-stretch max-tablet:flex-col";
427
+ break;
428
+ }
429
+ return /* @__PURE__ */ r(V, { className: y("p-0", { "order-[-1]": a }), children: /* @__PURE__ */ x(
430
+ "div",
431
+ {
432
+ className: y("w-full h-full flex flex-col items-center gap-[24px]"),
433
+ children: [
434
+ t && /* @__PURE__ */ r(
435
+ "p",
436
+ {
437
+ className: `font-bold max-tablet:text-[26px] text-[44px] max-tablet:leading-[32px] leading-[42px]
438
+ mb-[24px] font-variant-numeric font-feature-settings`,
439
+ children: t
440
+ }
441
+ ),
442
+ /* @__PURE__ */ r(
443
+ "div",
444
+ {
445
+ className: `${s} gap-[24px] w-full ${n ? "grid grid-cols-2 max-tablet:flex h-full" : "flex flex-row max-tablet:flex-col"}`,
446
+ children: e == null ? void 0 : e.map((d, p) => /* @__PURE__ */ r(
447
+ Fi,
448
+ {
449
+ data: d,
450
+ size: i,
451
+ className: y(
452
+ { "h-full": n },
453
+ {
454
+ "col-span-2": n && p === 0
455
+ }
456
+ )
457
+ },
458
+ p
459
+ ))
460
+ }
461
+ )
462
+ ]
463
+ }
464
+ ) });
311
465
  };
312
- Dt.propsToEdit = Ci;
313
- const Di = {
466
+ ze.propsToEdit = Wi;
467
+ const Qi = {
468
+ type: "banner_card",
469
+ label: "Баннер карточка",
470
+ dataType: "object",
471
+ data: {
472
+ keys: {
473
+ image: b.FILE
474
+ }
475
+ }
476
+ }, Ji = {
477
+ type: "cards",
478
+ label: "Карточки функций",
479
+ dataType: "array",
480
+ data: {
481
+ title: b.TITLE,
482
+ description: b.DESCRIPTION,
483
+ icon: b.FILE
484
+ }
485
+ }, Xi = {
486
+ type: "text_card",
487
+ label: "Текстовая карточка",
488
+ dataType: "object",
489
+ data: {
490
+ keys: {
491
+ title: b.TITLE,
492
+ description: b.DESCRIPTION,
493
+ color_text: b.COLOR
494
+ }
495
+ }
496
+ }, Yi = [
497
+ "title",
498
+ Qi,
499
+ Ji,
500
+ Xi,
501
+ "is_banner_first",
502
+ "is_cards_first"
503
+ ], It = ({
504
+ title: e,
505
+ banner_card: t,
506
+ text_card: i,
507
+ cards: a,
508
+ is_banner_first: n,
509
+ is_cards_first: s
510
+ }) => /* @__PURE__ */ x(V, { className: "flex flex-col items-center gap-[24px]", children: [
511
+ e && /* @__PURE__ */ r(
512
+ "p",
513
+ {
514
+ className: `font-bold max-tablet:text-[26px] text-[44px] max-tablet:leading-[32px] leading-[42px]
515
+ mb-[24px] font-variant-numeric font-feature-settings`,
516
+ children: e
517
+ }
518
+ ),
519
+ /* @__PURE__ */ x(
520
+ "div",
521
+ {
522
+ className: `w-full flex ${!i || !t ? "flex-row max-tablet:flex-col" : "flex-col"} gap-[24px]`,
523
+ children: [
524
+ /* @__PURE__ */ r(
525
+ Tt,
526
+ {
527
+ banner_card: t,
528
+ text_card: i,
529
+ is_banner_first: n
530
+ }
531
+ ),
532
+ /* @__PURE__ */ r(
533
+ ze,
534
+ {
535
+ cards: a,
536
+ is_cards_first: s,
537
+ multiHasText: !i
538
+ }
539
+ )
540
+ ]
541
+ }
542
+ )
543
+ ] });
544
+ It.propsToEdit = Yi;
545
+ const Ki = {
314
546
  type: "cards",
315
547
  dataType: "array",
316
548
  label: "Карточки",
317
549
  data: {
318
- title: J.TITLE,
319
- description: J.DESCRIPTION,
320
- image: J.FILE,
321
- is_black: J.BOOLEAN,
550
+ title: b.TITLE,
551
+ description: b.DESCRIPTION,
552
+ image: b.FILE,
553
+ is_black: b.BOOLEAN,
322
554
  variant: {
323
555
  options: [
324
556
  {
325
557
  label: "Large",
326
- value: ot.LARGE
558
+ value: mt.LARGE
327
559
  },
328
560
  {
329
561
  label: "Small",
330
- value: ot.SMALL
562
+ value: mt.SMALL
331
563
  }
332
564
  ],
333
- type: J.VARIANT
565
+ type: b.VARIANT
334
566
  }
335
567
  }
336
- }, Li = [Di, "title", "grid", vt], Lt = ({
568
+ }, ea = [Ki, "title", "grid", Ne], Vt = ({
337
569
  cards: e,
338
570
  title: t,
339
571
  grid: i,
340
- button: r
341
- }) => /* @__PURE__ */ n(R, { children: /* @__PURE__ */ x("div", { className: "w-full flex flex-col items-center gap-6", children: [
342
- t && /* @__PURE__ */ n(
572
+ button: a
573
+ }) => /* @__PURE__ */ r(V, { children: /* @__PURE__ */ x("div", { className: "w-full flex flex-col items-center gap-6", children: [
574
+ t && /* @__PURE__ */ r(
343
575
  "p",
344
576
  {
345
577
  className: `font-bold max-tablet:text-[26px] text-[44px] max-tablet:leading-[32px] leading-[42px]
@@ -347,104 +579,104 @@ const Di = {
347
579
  children: t
348
580
  }
349
581
  ),
350
- /* @__PURE__ */ n(
582
+ /* @__PURE__ */ r(
351
583
  "div",
352
584
  {
353
- className: F(
585
+ className: y(
354
586
  `grid grid-cols-${i} items-stretch gap-6`,
355
587
  "max-tablet:grid-cols-1"
356
588
  ),
357
- children: e == null ? void 0 : e.map((s) => /* @__PURE__ */ n(
358
- mi,
589
+ children: e == null ? void 0 : e.map((n) => /* @__PURE__ */ r(
590
+ Ci,
359
591
  {
360
- data: s
592
+ data: n
361
593
  },
362
- s == null ? void 0 : s.id
594
+ n == null ? void 0 : n.id
363
595
  ))
364
596
  }
365
597
  ),
366
- !!(r != null && r.length) && /* @__PURE__ */ n("div", { className: "flex flex-wrap gap-4", children: r.map((s, o) => /* @__PURE__ */ n(
598
+ !!(a != null && a.length) && /* @__PURE__ */ r("div", { className: "flex flex-wrap gap-4", children: a.map((n, s) => /* @__PURE__ */ r(
367
599
  "a",
368
600
  {
369
- href: (s == null ? void 0 : s.link) || "#",
370
- className: F("w-fit z-10 max-tablet:w-full"),
601
+ href: (n == null ? void 0 : n.link) || "#",
602
+ className: y("w-fit z-10 max-tablet:w-full"),
371
603
  target: "_blank",
372
604
  rel: "noopener noreferrer",
373
- children: /* @__PURE__ */ n(P, { variant: s.variant, children: s.text })
605
+ children: /* @__PURE__ */ r(I, { variant: n.variant, children: n.text })
374
606
  },
375
- o
607
+ s
376
608
  )) })
377
609
  ] }) });
378
- Lt.propsToEdit = Li;
379
- const Bi = {
380
- type: "buttons",
381
- dataType: "array",
382
- label: "Кнопки",
383
- data: vt
384
- }, Vi = [
610
+ Vt.propsToEdit = ea;
611
+ const ta = [
385
612
  "title",
386
613
  "description",
387
- "buttons",
388
614
  "image",
389
615
  "image_mob",
390
616
  "logo",
391
617
  "grid",
392
- Bi
393
- ], Bt = ({
618
+ Lt
619
+ ], Pt = ({
394
620
  title: e,
395
621
  description: t,
396
622
  buttons: i,
397
- image: r,
398
- image_mob: s,
399
- logo: o,
400
- grid: p
623
+ image: a,
624
+ image_mob: n,
625
+ logo: s,
626
+ grid: d
401
627
  }) => {
402
- const d = (_, C) => C.length % 2 !== 0 && _ === C.length - 1;
628
+ const p = (v, L) => L.length % 2 !== 0 && v === L.length - 1;
403
629
  return /* @__PURE__ */ x("section", { children: [
404
- /* @__PURE__ */ x(R, { className: "flex flex-col items-center", children: [
405
- o && /* @__PURE__ */ n(
406
- U,
630
+ /* @__PURE__ */ x(V, { className: "flex flex-col items-center", children: [
631
+ s && /* @__PURE__ */ r(
632
+ $,
407
633
  {
408
- src: o,
634
+ src: s,
409
635
  alt: e,
410
636
  className: "mb-[36px] mt-[40px] w-[427px] flex items-center h-[94px] max-tablet:w-[100%] max-tablet:h-[45px] max-tablet:my-[12px] max-tablet:mb-[24px]",
411
637
  imageStyles: "h-full w-full max-tablet:object-contain"
412
638
  }
413
639
  ),
414
- /* @__PURE__ */ n("h1", { className: "text-black2 text-[40px] font-bold leading-[50px] mb-[24px] text-center max-tablet:text-[26px] max-tablet:leading-[32px] max-tablet:mb-[20px]", children: e }),
415
- t && /* @__PURE__ */ n("p", { className: "text-black2 text-center text-[20px] font-normal leading-[25px] mb-[32px] w-[75%] max-tablet:text-[16px] max-tablet:leading-[20px] max-tablet:w-full", children: t }),
416
- /* @__PURE__ */ n(
640
+ /* @__PURE__ */ r("h1", { className: "text-black2 text-[40px] font-bold leading-[50px] mb-[24px] text-center max-tablet:text-[26px] max-tablet:leading-[32px] max-tablet:mb-[20px]", children: e }),
641
+ t && /* @__PURE__ */ r("p", { className: "text-black2 text-center text-[20px] font-normal leading-[25px] mb-[32px] w-[75%] max-tablet:text-[16px] max-tablet:leading-[20px] max-tablet:w-full", children: t }),
642
+ /* @__PURE__ */ r(
417
643
  "div",
418
644
  {
419
- className: `grid grid-cols-${p} items-center gap-[16px] mb-[60px]
645
+ className: `grid grid-cols-${d} items-center gap-[16px] mb-[60px]
420
646
  max-tablet:grid-cols-1 max-tablet:w-full max-tablet:mb-[40px]`,
421
- children: i == null ? void 0 : i.map((_, C) => /* @__PURE__ */ n(
647
+ children: i == null ? void 0 : i.map((v, L) => /* @__PURE__ */ r(
422
648
  "a",
423
649
  {
424
- href: _ == null ? void 0 : _.link,
425
- className: F("flex items-center", {
426
- [`col-span-${p}`]: d(C, i)
650
+ href: v == null ? void 0 : v.link,
651
+ className: y("flex items-center", {
652
+ [`col-span-${d}`]: p(L, i)
427
653
  }),
428
654
  target: "_blank",
429
- children: /* @__PURE__ */ n(P, { className: "font-[Inter] h-[56px] mx-auto px-[32px] py-[12px] max-tablet:px-[32px] max-tablet:py-[12px]", children: _ == null ? void 0 : _.title })
655
+ children: /* @__PURE__ */ r(
656
+ I,
657
+ {
658
+ className: "font-[Inter] h-[56px] mx-auto px-[32px] py-[12px] max-tablet:px-[32px] max-tablet:py-[12px]",
659
+ title: v == null ? void 0 : v.title
660
+ }
661
+ )
430
662
  }
431
663
  ))
432
664
  }
433
665
  )
434
666
  ] }),
435
- r && /* @__PURE__ */ n(
436
- U,
667
+ a && /* @__PURE__ */ r(
668
+ $,
437
669
  {
438
- src: r,
670
+ src: a,
439
671
  alt: e,
440
672
  className: "w-full h-[450px] max-mobile:h-[320px] mb-[64px] block max-mobile::block",
441
673
  imageStyles: "w-full h-full object-contain max-mobile:object-cover"
442
674
  }
443
675
  ),
444
- s && /* @__PURE__ */ n(
445
- U,
676
+ n && /* @__PURE__ */ r(
677
+ $,
446
678
  {
447
- src: s,
679
+ src: n,
448
680
  alt: e,
449
681
  className: "w-full h-[280px] hidden max-mobile::block",
450
682
  imageStyles: "w-full h-full object-contain max-mobile:object-cover"
@@ -452,51 +684,51 @@ const Bi = {
452
684
  )
453
685
  ] });
454
686
  };
455
- Bt.propsToEdit = Vi;
456
- var Ne = (e) => e.type === "checkbox", be = (e) => e instanceof Date, G = (e) => e == null;
457
- const Vt = (e) => typeof e == "object";
458
- var I = (e) => !G(e) && !Array.isArray(e) && Vt(e) && !be(e), Si = (e) => I(e) && e.target ? Ne(e.target) ? e.target.checked : e.target.value : e, Mi = (e) => e.substring(0, e.search(/\.\d+(\.|$)/)) || e, Pi = (e, t) => e.has(Mi(t)), Ai = (e) => {
687
+ Pt.propsToEdit = ta;
688
+ var Ce = (e) => e.type === "checkbox", be = (e) => e instanceof Date, U = (e) => e == null;
689
+ const Mt = (e) => typeof e == "object";
690
+ var A = (e) => !U(e) && !Array.isArray(e) && Mt(e) && !be(e), ia = (e) => A(e) && e.target ? Ce(e.target) ? e.target.checked : e.target.value : e, aa = (e) => e.substring(0, e.search(/\.\d+(\.|$)/)) || e, la = (e, t) => e.has(aa(t)), ra = (e) => {
459
691
  const t = e.constructor && e.constructor.prototype;
460
- return I(t) && t.hasOwnProperty("isPrototypeOf");
461
- }, Ze = typeof window < "u" && typeof window.HTMLElement < "u" && typeof document < "u";
462
- function O(e) {
692
+ return A(t) && t.hasOwnProperty("isPrototypeOf");
693
+ }, We = typeof window < "u" && typeof window.HTMLElement < "u" && typeof document < "u";
694
+ function j(e) {
463
695
  let t;
464
- const i = Array.isArray(e), r = typeof FileList < "u" ? e instanceof FileList : !1;
696
+ const i = Array.isArray(e), a = typeof FileList < "u" ? e instanceof FileList : !1;
465
697
  if (e instanceof Date)
466
698
  t = new Date(e);
467
699
  else if (e instanceof Set)
468
700
  t = new Set(e);
469
- else if (!(Ze && (e instanceof Blob || r)) && (i || I(e)))
470
- if (t = i ? [] : {}, !i && !Ai(e))
701
+ else if (!(We && (e instanceof Blob || a)) && (i || A(e)))
702
+ if (t = i ? [] : {}, !i && !ra(e))
471
703
  t = e;
472
704
  else
473
- for (const s in e)
474
- e.hasOwnProperty(s) && (t[s] = O(e[s]));
705
+ for (const n in e)
706
+ e.hasOwnProperty(n) && (t[n] = j(e[n]));
475
707
  else
476
708
  return e;
477
709
  return t;
478
710
  }
479
- var Ie = (e) => /^\w*$/.test(e), E = (e) => e === void 0, ze = (e) => Array.isArray(e) ? e.filter(Boolean) : [], We = (e) => ze(e.replace(/["|']|\]/g, "").split(/\.|\[/)), b = (e, t, i) => {
480
- if (!t || !I(e))
711
+ var Me = (e) => /^\w*$/.test(e), O = (e) => e === void 0, Qe = (e) => Array.isArray(e) ? e.filter(Boolean) : [], Je = (e) => Qe(e.replace(/["|']|\]/g, "").split(/\.|\[/)), f = (e, t, i) => {
712
+ if (!t || !A(e))
481
713
  return i;
482
- const r = (Ie(t) ? [t] : We(t)).reduce((s, o) => G(s) ? s : s[o], e);
483
- return E(r) || r === e ? E(e[t]) ? i : e[t] : r;
484
- }, ne = (e) => typeof e == "boolean", S = (e, t, i) => {
485
- let r = -1;
486
- const s = Ie(t) ? [t] : We(t), o = s.length, p = o - 1;
487
- for (; ++r < o; ) {
488
- const d = s[r];
489
- let _ = i;
490
- if (r !== p) {
491
- const C = e[d];
492
- _ = I(C) || Array.isArray(C) ? C : isNaN(+s[r + 1]) ? {} : [];
714
+ const a = (Me(t) ? [t] : Je(t)).reduce((n, s) => U(n) ? n : n[s], e);
715
+ return O(a) || a === e ? O(e[t]) ? i : e[t] : a;
716
+ }, le = (e) => typeof e == "boolean", E = (e, t, i) => {
717
+ let a = -1;
718
+ const n = Me(t) ? [t] : Je(t), s = n.length, d = s - 1;
719
+ for (; ++a < s; ) {
720
+ const p = n[a];
721
+ let v = i;
722
+ if (a !== d) {
723
+ const L = e[p];
724
+ v = A(L) || Array.isArray(L) ? L : isNaN(+n[a + 1]) ? {} : [];
493
725
  }
494
- if (d === "__proto__" || d === "constructor" || d === "prototype")
726
+ if (p === "__proto__" || p === "constructor" || p === "prototype")
495
727
  return;
496
- e[d] = _, e = e[d];
728
+ e[p] = v, e = e[p];
497
729
  }
498
730
  };
499
- const ct = {
731
+ const ut = {
500
732
  BLUR: "blur",
501
733
  FOCUS_OUT: "focusout",
502
734
  CHANGE: "change"
@@ -506,7 +738,7 @@ const ct = {
506
738
  onSubmit: "onSubmit",
507
739
  onTouched: "onTouched",
508
740
  all: "all"
509
- }, de = {
741
+ }, ce = {
510
742
  max: "max",
511
743
  min: "min",
512
744
  maxLength: "maxLength",
@@ -514,121 +746,121 @@ const ct = {
514
746
  pattern: "pattern",
515
747
  required: "required",
516
748
  validate: "validate"
517
- }, St = W.createContext(null);
518
- St.displayName = "HookFormContext";
519
- const Ii = (e) => {
749
+ }, At = W.createContext(null);
750
+ At.displayName = "HookFormContext";
751
+ const na = (e) => {
520
752
  const { children: t, ...i } = e;
521
- return W.createElement(St.Provider, { value: i }, t);
753
+ return W.createElement(At.Provider, { value: i }, t);
522
754
  };
523
- var Ei = (e, t, i, r = !0) => {
524
- const s = {
755
+ var sa = (e, t, i, a = !0) => {
756
+ const n = {
525
757
  defaultValues: t._defaultValues
526
758
  };
527
- for (const o in e)
528
- Object.defineProperty(s, o, {
759
+ for (const s in e)
760
+ Object.defineProperty(n, s, {
529
761
  get: () => {
530
- const p = o;
531
- return t._proxyFormState[p] !== K.all && (t._proxyFormState[p] = !r || K.all), i && (i[p] = !0), e[p];
762
+ const d = s;
763
+ return t._proxyFormState[d] !== K.all && (t._proxyFormState[d] = !a || K.all), i && (i[d] = !0), e[d];
532
764
  }
533
765
  });
534
- return s;
766
+ return n;
535
767
  };
536
- const Ti = typeof window < "u" ? st.useLayoutEffect : st.useEffect;
537
- var le = (e) => typeof e == "string", qi = (e, t, i, r, s) => le(e) ? (r && t.watch.add(e), b(i, e, s)) : Array.isArray(e) ? e.map((o) => (r && t.watch.add(o), b(i, o))) : (r && (t.watchAll = !0), i), Ri = (e, t, i, r, s) => t ? {
768
+ const oa = typeof window < "u" ? pt.useLayoutEffect : pt.useEffect;
769
+ var re = (e) => typeof e == "string", ca = (e, t, i, a, n) => re(e) ? (a && t.watch.add(e), f(i, e, n)) : Array.isArray(e) ? e.map((s) => (a && t.watch.add(s), f(i, s))) : (a && (t.watchAll = !0), i), da = (e, t, i, a, n) => t ? {
538
770
  ...i[e],
539
771
  types: {
540
772
  ...i[e] && i[e].types ? i[e].types : {},
541
- [r]: s || !0
773
+ [a]: n || !0
542
774
  }
543
- } : {}, we = (e) => Array.isArray(e) ? e : [e], dt = () => {
775
+ } : {}, we = (e) => Array.isArray(e) ? e : [e], gt = () => {
544
776
  let e = [];
545
777
  return {
546
778
  get observers() {
547
779
  return e;
548
780
  },
549
- next: (s) => {
550
- for (const o of e)
551
- o.next && o.next(s);
781
+ next: (n) => {
782
+ for (const s of e)
783
+ s.next && s.next(n);
552
784
  },
553
- subscribe: (s) => (e.push(s), {
785
+ subscribe: (n) => (e.push(n), {
554
786
  unsubscribe: () => {
555
- e = e.filter((o) => o !== s);
787
+ e = e.filter((s) => s !== n);
556
788
  }
557
789
  }),
558
790
  unsubscribe: () => {
559
791
  e = [];
560
792
  }
561
793
  };
562
- }, Ge = (e) => G(e) || !Vt(e);
563
- function ge(e, t) {
794
+ }, Ge = (e) => U(e) || !Mt(e);
795
+ function ue(e, t) {
564
796
  if (Ge(e) || Ge(t))
565
797
  return e === t;
566
798
  if (be(e) && be(t))
567
799
  return e.getTime() === t.getTime();
568
- const i = Object.keys(e), r = Object.keys(t);
569
- if (i.length !== r.length)
800
+ const i = Object.keys(e), a = Object.keys(t);
801
+ if (i.length !== a.length)
570
802
  return !1;
571
- for (const s of i) {
572
- const o = e[s];
573
- if (!r.includes(s))
803
+ for (const n of i) {
804
+ const s = e[n];
805
+ if (!a.includes(n))
574
806
  return !1;
575
- if (s !== "ref") {
576
- const p = t[s];
577
- if (be(o) && be(p) || I(o) && I(p) || Array.isArray(o) && Array.isArray(p) ? !ge(o, p) : o !== p)
807
+ if (n !== "ref") {
808
+ const d = t[n];
809
+ if (be(s) && be(d) || A(s) && A(d) || Array.isArray(s) && Array.isArray(d) ? !ue(s, d) : s !== d)
578
810
  return !1;
579
811
  }
580
812
  }
581
813
  return !0;
582
814
  }
583
- var Z = (e) => I(e) && !Object.keys(e).length, Qe = (e) => e.type === "file", ee = (e) => typeof e == "function", Me = (e) => {
584
- if (!Ze)
815
+ var Z = (e) => A(e) && !Object.keys(e).length, Xe = (e) => e.type === "file", ee = (e) => typeof e == "function", Ie = (e) => {
816
+ if (!We)
585
817
  return !1;
586
818
  const t = e ? e.ownerDocument : 0;
587
819
  return e instanceof (t && t.defaultView ? t.defaultView.HTMLElement : HTMLElement);
588
- }, Mt = (e) => e.type === "select-multiple", Je = (e) => e.type === "radio", Hi = (e) => Je(e) || Ne(e), je = (e) => Me(e) && e.isConnected;
589
- function Oi(e, t) {
820
+ }, Ot = (e) => e.type === "select-multiple", Ye = (e) => e.type === "radio", pa = (e) => Ye(e) || Ce(e), Ue = (e) => Ie(e) && e.isConnected;
821
+ function ma(e, t) {
590
822
  const i = t.slice(0, -1).length;
591
- let r = 0;
592
- for (; r < i; )
593
- e = E(e) ? r++ : e[t[r++]];
823
+ let a = 0;
824
+ for (; a < i; )
825
+ e = O(e) ? a++ : e[t[a++]];
594
826
  return e;
595
827
  }
596
- function Ui(e) {
828
+ function ua(e) {
597
829
  for (const t in e)
598
- if (e.hasOwnProperty(t) && !E(e[t]))
830
+ if (e.hasOwnProperty(t) && !O(e[t]))
599
831
  return !1;
600
832
  return !0;
601
833
  }
602
834
  function q(e, t) {
603
- const i = Array.isArray(t) ? t : Ie(t) ? [t] : We(t), r = i.length === 1 ? e : Oi(e, i), s = i.length - 1, o = i[s];
604
- return r && delete r[o], s !== 0 && (I(r) && Z(r) || Array.isArray(r) && Ui(r)) && q(e, i.slice(0, -1)), e;
835
+ const i = Array.isArray(t) ? t : Me(t) ? [t] : Je(t), a = i.length === 1 ? e : ma(e, i), n = i.length - 1, s = i[n];
836
+ return a && delete a[s], n !== 0 && (A(a) && Z(a) || Array.isArray(a) && ua(a)) && q(e, i.slice(0, -1)), e;
605
837
  }
606
- var Pt = (e) => {
838
+ var Rt = (e) => {
607
839
  for (const t in e)
608
840
  if (ee(e[t]))
609
841
  return !0;
610
842
  return !1;
611
843
  };
612
- function Pe(e, t = {}) {
844
+ function Ve(e, t = {}) {
613
845
  const i = Array.isArray(e);
614
- if (I(e) || i)
615
- for (const r in e)
616
- Array.isArray(e[r]) || I(e[r]) && !Pt(e[r]) ? (t[r] = Array.isArray(e[r]) ? [] : {}, Pe(e[r], t[r])) : G(e[r]) || (t[r] = !0);
846
+ if (A(e) || i)
847
+ for (const a in e)
848
+ Array.isArray(e[a]) || A(e[a]) && !Rt(e[a]) ? (t[a] = Array.isArray(e[a]) ? [] : {}, Ve(e[a], t[a])) : U(e[a]) || (t[a] = !0);
617
849
  return t;
618
850
  }
619
- function At(e, t, i) {
620
- const r = Array.isArray(e);
621
- if (I(e) || r)
622
- for (const s in e)
623
- Array.isArray(e[s]) || I(e[s]) && !Pt(e[s]) ? E(t) || Ge(i[s]) ? i[s] = Array.isArray(e[s]) ? Pe(e[s], []) : { ...Pe(e[s]) } : At(e[s], G(t) ? {} : t[s], i[s]) : i[s] = !ge(e[s], t[s]);
851
+ function qt(e, t, i) {
852
+ const a = Array.isArray(e);
853
+ if (A(e) || a)
854
+ for (const n in e)
855
+ Array.isArray(e[n]) || A(e[n]) && !Rt(e[n]) ? O(t) || Ge(i[n]) ? i[n] = Array.isArray(e[n]) ? Ve(e[n], []) : { ...Ve(e[n]) } : qt(e[n], U(t) ? {} : t[n], i[n]) : i[n] = !ue(e[n], t[n]);
624
856
  return i;
625
857
  }
626
- var _e = (e, t) => At(e, t, Pe(t));
627
- const pt = {
858
+ var _e = (e, t) => qt(e, t, Ve(t));
859
+ const xt = {
628
860
  value: !1,
629
861
  isValid: !1
630
- }, mt = { value: !0, isValid: !0 };
631
- var It = (e) => {
862
+ }, bt = { value: !0, isValid: !0 };
863
+ var $t = (e) => {
632
864
  if (Array.isArray(e)) {
633
865
  if (e.length > 1) {
634
866
  const t = e.filter((i) => i && i.checked && !i.disabled).map((i) => i.value);
@@ -636,197 +868,197 @@ var It = (e) => {
636
868
  }
637
869
  return e[0].checked && !e[0].disabled ? (
638
870
  // @ts-expect-error expected to work in the browser
639
- e[0].attributes && !E(e[0].attributes.value) ? E(e[0].value) || e[0].value === "" ? mt : { value: e[0].value, isValid: !0 } : mt
640
- ) : pt;
871
+ e[0].attributes && !O(e[0].attributes.value) ? O(e[0].value) || e[0].value === "" ? bt : { value: e[0].value, isValid: !0 } : bt
872
+ ) : xt;
641
873
  }
642
- return pt;
643
- }, Et = (e, { valueAsNumber: t, valueAsDate: i, setValueAs: r }) => E(e) ? e : t ? e === "" ? NaN : e && +e : i && le(e) ? new Date(e) : r ? r(e) : e;
644
- const ut = {
874
+ return xt;
875
+ }, jt = (e, { valueAsNumber: t, valueAsDate: i, setValueAs: a }) => O(e) ? e : t ? e === "" ? NaN : e && +e : i && re(e) ? new Date(e) : a ? a(e) : e;
876
+ const ft = {
645
877
  isValid: !1,
646
878
  value: null
647
879
  };
648
- var Tt = (e) => Array.isArray(e) ? e.reduce((t, i) => i && i.checked && !i.disabled ? {
880
+ var Ht = (e) => Array.isArray(e) ? e.reduce((t, i) => i && i.checked && !i.disabled ? {
649
881
  isValid: !0,
650
882
  value: i.value
651
- } : t, ut) : ut;
652
- function gt(e) {
883
+ } : t, ft) : ft;
884
+ function ht(e) {
653
885
  const t = e.ref;
654
- return Qe(t) ? t.files : Je(t) ? Tt(e.refs).value : Mt(t) ? [...t.selectedOptions].map(({ value: i }) => i) : Ne(t) ? It(e.refs).value : Et(E(t.value) ? e.ref.value : t.value, e);
886
+ return Xe(t) ? t.files : Ye(t) ? Ht(e.refs).value : Ot(t) ? [...t.selectedOptions].map(({ value: i }) => i) : Ce(t) ? $t(e.refs).value : jt(O(t.value) ? e.ref.value : t.value, e);
655
887
  }
656
- var ji = (e, t, i, r) => {
657
- const s = {};
658
- for (const o of e) {
659
- const p = b(t, o);
660
- p && S(s, o, p._f);
888
+ var ga = (e, t, i, a) => {
889
+ const n = {};
890
+ for (const s of e) {
891
+ const d = f(t, s);
892
+ d && E(n, s, d._f);
661
893
  }
662
894
  return {
663
895
  criteriaMode: i,
664
896
  names: [...e],
665
- fields: s,
666
- shouldUseNativeValidation: r
897
+ fields: n,
898
+ shouldUseNativeValidation: a
667
899
  };
668
- }, Ae = (e) => e instanceof RegExp, ye = (e) => E(e) ? e : Ae(e) ? e.source : I(e) ? Ae(e.value) ? e.value.source : e.value : e, xt = (e) => ({
900
+ }, Pe = (e) => e instanceof RegExp, ye = (e) => O(e) ? e : Pe(e) ? e.source : A(e) ? Pe(e.value) ? e.value.source : e.value : e, kt = (e) => ({
669
901
  isOnSubmit: !e || e === K.onSubmit,
670
902
  isOnBlur: e === K.onBlur,
671
903
  isOnChange: e === K.onChange,
672
904
  isOnAll: e === K.all,
673
905
  isOnTouch: e === K.onTouched
674
906
  });
675
- const bt = "AsyncFunction";
676
- var Gi = (e) => !!e && !!e.validate && !!(ee(e.validate) && e.validate.constructor.name === bt || I(e.validate) && Object.values(e.validate).find((t) => t.constructor.name === bt)), $i = (e) => e.mount && (e.required || e.min || e.max || e.maxLength || e.minLength || e.pattern || e.validate), ft = (e, t, i) => !i && (t.watchAll || t.watch.has(e) || [...t.watch].some((r) => e.startsWith(r) && /^\.\w+/.test(e.slice(r.length))));
677
- const ve = (e, t, i, r) => {
678
- for (const s of i || Object.keys(e)) {
679
- const o = b(e, s);
680
- if (o) {
681
- const { _f: p, ...d } = o;
682
- if (p) {
683
- if (p.refs && p.refs[0] && t(p.refs[0], s) && !r)
907
+ const _t = "AsyncFunction";
908
+ var xa = (e) => !!e && !!e.validate && !!(ee(e.validate) && e.validate.constructor.name === _t || A(e.validate) && Object.values(e.validate).find((t) => t.constructor.name === _t)), ba = (e) => e.mount && (e.required || e.min || e.max || e.maxLength || e.minLength || e.pattern || e.validate), yt = (e, t, i) => !i && (t.watchAll || t.watch.has(e) || [...t.watch].some((a) => e.startsWith(a) && /^\.\w+/.test(e.slice(a.length))));
909
+ const ve = (e, t, i, a) => {
910
+ for (const n of i || Object.keys(e)) {
911
+ const s = f(e, n);
912
+ if (s) {
913
+ const { _f: d, ...p } = s;
914
+ if (d) {
915
+ if (d.refs && d.refs[0] && t(d.refs[0], n) && !a)
684
916
  return !0;
685
- if (p.ref && t(p.ref, p.name) && !r)
917
+ if (d.ref && t(d.ref, d.name) && !a)
686
918
  return !0;
687
- if (ve(d, t))
919
+ if (ve(p, t))
688
920
  break;
689
- } else if (I(d) && ve(d, t))
921
+ } else if (A(p) && ve(p, t))
690
922
  break;
691
923
  }
692
924
  }
693
925
  };
694
- function ht(e, t, i) {
695
- const r = b(e, i);
696
- if (r || Ie(i))
926
+ function wt(e, t, i) {
927
+ const a = f(e, i);
928
+ if (a || Me(i))
697
929
  return {
698
- error: r,
930
+ error: a,
699
931
  name: i
700
932
  };
701
- const s = i.split(".");
702
- for (; s.length; ) {
703
- const o = s.join("."), p = b(t, o), d = b(e, o);
704
- if (p && !Array.isArray(p) && i !== o)
933
+ const n = i.split(".");
934
+ for (; n.length; ) {
935
+ const s = n.join("."), d = f(t, s), p = f(e, s);
936
+ if (d && !Array.isArray(d) && i !== s)
705
937
  return { name: i };
706
- if (d && d.type)
938
+ if (p && p.type)
707
939
  return {
708
- name: o,
709
- error: d
940
+ name: s,
941
+ error: p
710
942
  };
711
- if (d && d.root && d.root.type)
943
+ if (p && p.root && p.root.type)
712
944
  return {
713
- name: `${o}.root`,
714
- error: d.root
945
+ name: `${s}.root`,
946
+ error: p.root
715
947
  };
716
- s.pop();
948
+ n.pop();
717
949
  }
718
950
  return {
719
951
  name: i
720
952
  };
721
953
  }
722
- var Zi = (e, t, i, r) => {
954
+ var fa = (e, t, i, a) => {
723
955
  i(e);
724
- const { name: s, ...o } = e;
725
- return Z(o) || Object.keys(o).length >= Object.keys(t).length || Object.keys(o).find((p) => t[p] === (!r || K.all));
726
- }, zi = (e, t, i) => !e || !t || e === t || we(e).some((r) => r && (i ? r === t : r.startsWith(t) || t.startsWith(r))), Wi = (e, t, i, r, s) => s.isOnAll ? !1 : !i && s.isOnTouch ? !(t || e) : (i ? r.isOnBlur : s.isOnBlur) ? !e : (i ? r.isOnChange : s.isOnChange) ? e : !0, Qi = (e, t) => !ze(b(e, t)).length && q(e, t), Ji = (e, t, i) => {
727
- const r = we(b(e, i));
728
- return S(r, "root", t[i]), S(e, i, r), e;
729
- }, Ve = (e) => le(e);
730
- function kt(e, t, i = "validate") {
731
- if (Ve(e) || Array.isArray(e) && e.every(Ve) || ne(e) && !e)
956
+ const { name: n, ...s } = e;
957
+ return Z(s) || Object.keys(s).length >= Object.keys(t).length || Object.keys(s).find((d) => t[d] === (!a || K.all));
958
+ }, ha = (e, t, i) => !e || !t || e === t || we(e).some((a) => a && (i ? a === t : a.startsWith(t) || t.startsWith(a))), ka = (e, t, i, a, n) => n.isOnAll ? !1 : !i && n.isOnTouch ? !(t || e) : (i ? a.isOnBlur : n.isOnBlur) ? !e : (i ? a.isOnChange : n.isOnChange) ? e : !0, _a = (e, t) => !Qe(f(e, t)).length && q(e, t), ya = (e, t, i) => {
959
+ const a = we(f(e, i));
960
+ return E(a, "root", t[i]), E(e, i, a), e;
961
+ }, Ee = (e) => re(e);
962
+ function vt(e, t, i = "validate") {
963
+ if (Ee(e) || Array.isArray(e) && e.every(Ee) || le(e) && !e)
732
964
  return {
733
965
  type: i,
734
- message: Ve(e) ? e : "",
966
+ message: Ee(e) ? e : "",
735
967
  ref: t
736
968
  };
737
969
  }
738
- var he = (e) => I(e) && !Ae(e) ? e : {
970
+ var he = (e) => A(e) && !Pe(e) ? e : {
739
971
  value: e,
740
972
  message: ""
741
- }, _t = async (e, t, i, r, s, o) => {
742
- const { ref: p, refs: d, required: _, maxLength: C, minLength: w, min: k, max: h, pattern: te, validate: H, name: M, valueAsNumber: pe, mount: Ee } = e._f, N = b(i, M);
743
- if (!Ee || t.has(M))
973
+ }, Ft = async (e, t, i, a, n, s) => {
974
+ const { ref: d, refs: p, required: v, maxLength: L, minLength: F, min: k, max: _, pattern: ge, validate: Q, name: P, valueAsNumber: de, mount: Ae } = e._f, C = f(i, P);
975
+ if (!Ae || t.has(P))
744
976
  return {};
745
- const ce = d ? d[0] : p, ie = (v) => {
746
- s && ce.reportValidity && (ce.setCustomValidity(ne(v) ? "" : v || ""), ce.reportValidity());
747
- }, T = {}, Ce = Je(p), me = Ne(p), Te = Ce || me, Q = (pe || Qe(p)) && E(p.value) && E(N) || Me(p) && p.value === "" || N === "" || Array.isArray(N) && !N.length, xe = Ri.bind(null, M, r, T), ae = (v, L, A, j = de.maxLength, $ = de.minLength) => {
748
- const re = v ? L : A;
749
- T[M] = {
750
- type: v ? j : $,
751
- message: re,
752
- ref: p,
753
- ...xe(v ? j : $, re)
977
+ const oe = p ? p[0] : d, te = (N) => {
978
+ n && oe.reportValidity && (oe.setCustomValidity(le(N) ? "" : N || ""), oe.reportValidity());
979
+ }, R = {}, Le = Ye(d), pe = Ce(d), Oe = Le || pe, J = (de || Xe(d)) && O(d.value) && O(C) || Ie(d) && d.value === "" || C === "" || Array.isArray(C) && !C.length, xe = da.bind(null, P, a, R), ie = (N, T, M, H = ce.maxLength, G = ce.minLength) => {
980
+ const ae = N ? T : M;
981
+ R[P] = {
982
+ type: N ? H : G,
983
+ message: ae,
984
+ ref: d,
985
+ ...xe(N ? H : G, ae)
754
986
  };
755
987
  };
756
- if (o ? !Array.isArray(N) || !N.length : _ && (!Te && (Q || G(N)) || ne(N) && !N || me && !It(d).isValid || Ce && !Tt(d).isValid)) {
757
- const { value: v, message: L } = Ve(_) ? { value: !!_, message: _ } : he(_);
758
- if (v && (T[M] = {
759
- type: de.required,
760
- message: L,
761
- ref: ce,
762
- ...xe(de.required, L)
763
- }, !r))
764
- return ie(L), T;
988
+ if (s ? !Array.isArray(C) || !C.length : v && (!Oe && (J || U(C)) || le(C) && !C || pe && !$t(p).isValid || Le && !Ht(p).isValid)) {
989
+ const { value: N, message: T } = Ee(v) ? { value: !!v, message: v } : he(v);
990
+ if (N && (R[P] = {
991
+ type: ce.required,
992
+ message: T,
993
+ ref: oe,
994
+ ...xe(ce.required, T)
995
+ }, !a))
996
+ return te(T), R;
765
997
  }
766
- if (!Q && (!G(k) || !G(h))) {
767
- let v, L;
768
- const A = he(h), j = he(k);
769
- if (!G(N) && !isNaN(N)) {
770
- const $ = p.valueAsNumber || N && +N;
771
- G(A.value) || (v = $ > A.value), G(j.value) || (L = $ < j.value);
998
+ if (!J && (!U(k) || !U(_))) {
999
+ let N, T;
1000
+ const M = he(_), H = he(k);
1001
+ if (!U(C) && !isNaN(C)) {
1002
+ const G = d.valueAsNumber || C && +C;
1003
+ U(M.value) || (N = G > M.value), U(H.value) || (T = G < H.value);
772
1004
  } else {
773
- const $ = p.valueAsDate || new Date(N), re = (De) => /* @__PURE__ */ new Date((/* @__PURE__ */ new Date()).toDateString() + " " + De), ke = p.type == "time", fe = p.type == "week";
774
- le(A.value) && N && (v = ke ? re(N) > re(A.value) : fe ? N > A.value : $ > new Date(A.value)), le(j.value) && N && (L = ke ? re(N) < re(j.value) : fe ? N < j.value : $ < new Date(j.value));
1005
+ const G = d.valueAsDate || new Date(C), ae = (De) => /* @__PURE__ */ new Date((/* @__PURE__ */ new Date()).toDateString() + " " + De), ke = d.type == "time", fe = d.type == "week";
1006
+ re(M.value) && C && (N = ke ? ae(C) > ae(M.value) : fe ? C > M.value : G > new Date(M.value)), re(H.value) && C && (T = ke ? ae(C) < ae(H.value) : fe ? C < H.value : G < new Date(H.value));
775
1007
  }
776
- if ((v || L) && (ae(!!v, A.message, j.message, de.max, de.min), !r))
777
- return ie(T[M].message), T;
1008
+ if ((N || T) && (ie(!!N, M.message, H.message, ce.max, ce.min), !a))
1009
+ return te(R[P].message), R;
778
1010
  }
779
- if ((C || w) && !Q && (le(N) || o && Array.isArray(N))) {
780
- const v = he(C), L = he(w), A = !G(v.value) && N.length > +v.value, j = !G(L.value) && N.length < +L.value;
781
- if ((A || j) && (ae(A, v.message, L.message), !r))
782
- return ie(T[M].message), T;
1011
+ if ((L || F) && !J && (re(C) || s && Array.isArray(C))) {
1012
+ const N = he(L), T = he(F), M = !U(N.value) && C.length > +N.value, H = !U(T.value) && C.length < +T.value;
1013
+ if ((M || H) && (ie(M, N.message, T.message), !a))
1014
+ return te(R[P].message), R;
783
1015
  }
784
- if (te && !Q && le(N)) {
785
- const { value: v, message: L } = he(te);
786
- if (Ae(v) && !N.match(v) && (T[M] = {
787
- type: de.pattern,
788
- message: L,
789
- ref: p,
790
- ...xe(de.pattern, L)
791
- }, !r))
792
- return ie(L), T;
1016
+ if (ge && !J && re(C)) {
1017
+ const { value: N, message: T } = he(ge);
1018
+ if (Pe(N) && !C.match(N) && (R[P] = {
1019
+ type: ce.pattern,
1020
+ message: T,
1021
+ ref: d,
1022
+ ...xe(ce.pattern, T)
1023
+ }, !a))
1024
+ return te(T), R;
793
1025
  }
794
- if (H) {
795
- if (ee(H)) {
796
- const v = await H(N, i), L = kt(v, ce);
797
- if (L && (T[M] = {
798
- ...L,
799
- ...xe(de.validate, L.message)
800
- }, !r))
801
- return ie(L.message), T;
802
- } else if (I(H)) {
803
- let v = {};
804
- for (const L in H) {
805
- if (!Z(v) && !r)
1026
+ if (Q) {
1027
+ if (ee(Q)) {
1028
+ const N = await Q(C, i), T = vt(N, oe);
1029
+ if (T && (R[P] = {
1030
+ ...T,
1031
+ ...xe(ce.validate, T.message)
1032
+ }, !a))
1033
+ return te(T.message), R;
1034
+ } else if (A(Q)) {
1035
+ let N = {};
1036
+ for (const T in Q) {
1037
+ if (!Z(N) && !a)
806
1038
  break;
807
- const A = kt(await H[L](N, i), ce, L);
808
- A && (v = {
809
- ...A,
810
- ...xe(L, A.message)
811
- }, ie(A.message), r && (T[M] = v));
1039
+ const M = vt(await Q[T](C, i), oe, T);
1040
+ M && (N = {
1041
+ ...M,
1042
+ ...xe(T, M.message)
1043
+ }, te(M.message), a && (R[P] = N));
812
1044
  }
813
- if (!Z(v) && (T[M] = {
814
- ref: ce,
815
- ...v
816
- }, !r))
817
- return T;
1045
+ if (!Z(N) && (R[P] = {
1046
+ ref: oe,
1047
+ ...N
1048
+ }, !a))
1049
+ return R;
818
1050
  }
819
1051
  }
820
- return ie(!0), T;
1052
+ return te(!0), R;
821
1053
  };
822
- const Xi = {
1054
+ const wa = {
823
1055
  mode: K.onSubmit,
824
1056
  reValidateMode: K.onChange,
825
1057
  shouldFocusError: !0
826
1058
  };
827
- function Yi(e = {}) {
1059
+ function va(e = {}) {
828
1060
  let t = {
829
- ...Xi,
1061
+ ...wa,
830
1062
  ...e
831
1063
  }, i = {
832
1064
  submitCount: 0,
@@ -844,19 +1076,19 @@ function Yi(e = {}) {
844
1076
  errors: t.errors || {},
845
1077
  disabled: t.disabled || !1
846
1078
  };
847
- const r = {};
848
- let s = I(t.defaultValues) || I(t.values) ? O(t.defaultValues || t.values) || {} : {}, o = t.shouldUnregister ? {} : O(s), p = {
1079
+ const a = {};
1080
+ let n = A(t.defaultValues) || A(t.values) ? j(t.defaultValues || t.values) || {} : {}, s = t.shouldUnregister ? {} : j(n), d = {
849
1081
  action: !1,
850
1082
  mount: !1,
851
1083
  watch: !1
852
- }, d = {
1084
+ }, p = {
853
1085
  mount: /* @__PURE__ */ new Set(),
854
1086
  disabled: /* @__PURE__ */ new Set(),
855
1087
  unMount: /* @__PURE__ */ new Set(),
856
1088
  array: /* @__PURE__ */ new Set(),
857
1089
  watch: /* @__PURE__ */ new Set()
858
- }, _, C = 0;
859
- const w = {
1090
+ }, v, L = 0;
1091
+ const F = {
860
1092
  isDirty: !1,
861
1093
  dirtyFields: !1,
862
1094
  validatingFields: !1,
@@ -866,354 +1098,354 @@ function Yi(e = {}) {
866
1098
  errors: !1
867
1099
  };
868
1100
  let k = {
869
- ...w
1101
+ ...F
870
1102
  };
871
- const h = {
872
- array: dt(),
873
- state: dt()
874
- }, te = t.criteriaMode === K.all, H = (a) => (l) => {
875
- clearTimeout(C), C = setTimeout(a, l);
876
- }, M = async (a) => {
877
- if (!t.disabled && (w.isValid || k.isValid || a)) {
878
- const l = t.resolver ? Z((await me()).errors) : await Q(r, !0);
879
- l !== i.isValid && h.state.next({
880
- isValid: l
1103
+ const _ = {
1104
+ array: gt(),
1105
+ state: gt()
1106
+ }, ge = t.criteriaMode === K.all, Q = (l) => (o) => {
1107
+ clearTimeout(L), L = setTimeout(l, o);
1108
+ }, P = async (l) => {
1109
+ if (!t.disabled && (F.isValid || k.isValid || l)) {
1110
+ const o = t.resolver ? Z((await pe()).errors) : await J(a, !0);
1111
+ o !== i.isValid && _.state.next({
1112
+ isValid: o
881
1113
  });
882
1114
  }
883
- }, pe = (a, l) => {
884
- !t.disabled && (w.isValidating || w.validatingFields || k.isValidating || k.validatingFields) && ((a || Array.from(d.mount)).forEach((c) => {
885
- c && (l ? S(i.validatingFields, c, l) : q(i.validatingFields, c));
886
- }), h.state.next({
1115
+ }, de = (l, o) => {
1116
+ !t.disabled && (F.isValidating || F.validatingFields || k.isValidating || k.validatingFields) && ((l || Array.from(p.mount)).forEach((c) => {
1117
+ c && (o ? E(i.validatingFields, c, o) : q(i.validatingFields, c));
1118
+ }), _.state.next({
887
1119
  validatingFields: i.validatingFields,
888
1120
  isValidating: !Z(i.validatingFields)
889
1121
  }));
890
- }, Ee = (a, l = [], c, g, u = !0, m = !0) => {
1122
+ }, Ae = (l, o = [], c, g, u = !0, m = !0) => {
891
1123
  if (g && c && !t.disabled) {
892
- if (p.action = !0, m && Array.isArray(b(r, a))) {
893
- const f = c(b(r, a), g.argA, g.argB);
894
- u && S(r, a, f);
1124
+ if (d.action = !0, m && Array.isArray(f(a, l))) {
1125
+ const h = c(f(a, l), g.argA, g.argB);
1126
+ u && E(a, l, h);
895
1127
  }
896
- if (m && Array.isArray(b(i.errors, a))) {
897
- const f = c(b(i.errors, a), g.argA, g.argB);
898
- u && S(i.errors, a, f), Qi(i.errors, a);
1128
+ if (m && Array.isArray(f(i.errors, l))) {
1129
+ const h = c(f(i.errors, l), g.argA, g.argB);
1130
+ u && E(i.errors, l, h), _a(i.errors, l);
899
1131
  }
900
- if ((w.touchedFields || k.touchedFields) && m && Array.isArray(b(i.touchedFields, a))) {
901
- const f = c(b(i.touchedFields, a), g.argA, g.argB);
902
- u && S(i.touchedFields, a, f);
1132
+ if ((F.touchedFields || k.touchedFields) && m && Array.isArray(f(i.touchedFields, l))) {
1133
+ const h = c(f(i.touchedFields, l), g.argA, g.argB);
1134
+ u && E(i.touchedFields, l, h);
903
1135
  }
904
- (w.dirtyFields || k.dirtyFields) && (i.dirtyFields = _e(s, o)), h.state.next({
905
- name: a,
906
- isDirty: ae(a, l),
1136
+ (F.dirtyFields || k.dirtyFields) && (i.dirtyFields = _e(n, s)), _.state.next({
1137
+ name: l,
1138
+ isDirty: ie(l, o),
907
1139
  dirtyFields: i.dirtyFields,
908
1140
  errors: i.errors,
909
1141
  isValid: i.isValid
910
1142
  });
911
1143
  } else
912
- S(o, a, l);
913
- }, N = (a, l) => {
914
- S(i.errors, a, l), h.state.next({
1144
+ E(s, l, o);
1145
+ }, C = (l, o) => {
1146
+ E(i.errors, l, o), _.state.next({
915
1147
  errors: i.errors
916
1148
  });
917
- }, ce = (a) => {
918
- i.errors = a, h.state.next({
1149
+ }, oe = (l) => {
1150
+ i.errors = l, _.state.next({
919
1151
  errors: i.errors,
920
1152
  isValid: !1
921
1153
  });
922
- }, ie = (a, l, c, g) => {
923
- const u = b(r, a);
1154
+ }, te = (l, o, c, g) => {
1155
+ const u = f(a, l);
924
1156
  if (u) {
925
- const m = b(o, a, E(c) ? b(s, a) : c);
926
- E(m) || g && g.defaultChecked || l ? S(o, a, l ? m : gt(u._f)) : A(a, m), p.mount && M();
1157
+ const m = f(s, l, O(c) ? f(n, l) : c);
1158
+ O(m) || g && g.defaultChecked || o ? E(s, l, o ? m : ht(u._f)) : M(l, m), d.mount && P();
927
1159
  }
928
- }, T = (a, l, c, g, u) => {
929
- let m = !1, f = !1;
1160
+ }, R = (l, o, c, g, u) => {
1161
+ let m = !1, h = !1;
930
1162
  const D = {
931
- name: a
1163
+ name: l
932
1164
  };
933
1165
  if (!t.disabled) {
934
1166
  if (!c || g) {
935
- (w.isDirty || k.isDirty) && (f = i.isDirty, i.isDirty = D.isDirty = ae(), m = f !== D.isDirty);
936
- const V = ge(b(s, a), l);
937
- f = !!b(i.dirtyFields, a), V ? q(i.dirtyFields, a) : S(i.dirtyFields, a, !0), D.dirtyFields = i.dirtyFields, m = m || (w.dirtyFields || k.dirtyFields) && f !== !V;
1167
+ (F.isDirty || k.isDirty) && (h = i.isDirty, i.isDirty = D.isDirty = ie(), m = h !== D.isDirty);
1168
+ const S = ue(f(n, l), o);
1169
+ h = !!f(i.dirtyFields, l), S ? q(i.dirtyFields, l) : E(i.dirtyFields, l, !0), D.dirtyFields = i.dirtyFields, m = m || (F.dirtyFields || k.dirtyFields) && h !== !S;
938
1170
  }
939
1171
  if (c) {
940
- const V = b(i.touchedFields, a);
941
- V || (S(i.touchedFields, a, c), D.touchedFields = i.touchedFields, m = m || (w.touchedFields || k.touchedFields) && V !== c);
1172
+ const S = f(i.touchedFields, l);
1173
+ S || (E(i.touchedFields, l, c), D.touchedFields = i.touchedFields, m = m || (F.touchedFields || k.touchedFields) && S !== c);
942
1174
  }
943
- m && u && h.state.next(D);
1175
+ m && u && _.state.next(D);
944
1176
  }
945
1177
  return m ? D : {};
946
- }, Ce = (a, l, c, g) => {
947
- const u = b(i.errors, a), m = (w.isValid || k.isValid) && ne(l) && i.isValid !== l;
948
- if (t.delayError && c ? (_ = H(() => N(a, c)), _(t.delayError)) : (clearTimeout(C), _ = null, c ? S(i.errors, a, c) : q(i.errors, a)), (c ? !ge(u, c) : u) || !Z(g) || m) {
949
- const f = {
1178
+ }, Le = (l, o, c, g) => {
1179
+ const u = f(i.errors, l), m = (F.isValid || k.isValid) && le(o) && i.isValid !== o;
1180
+ if (t.delayError && c ? (v = Q(() => C(l, c)), v(t.delayError)) : (clearTimeout(L), v = null, c ? E(i.errors, l, c) : q(i.errors, l)), (c ? !ue(u, c) : u) || !Z(g) || m) {
1181
+ const h = {
950
1182
  ...g,
951
- ...m && ne(l) ? { isValid: l } : {},
1183
+ ...m && le(o) ? { isValid: o } : {},
952
1184
  errors: i.errors,
953
- name: a
1185
+ name: l
954
1186
  };
955
1187
  i = {
956
1188
  ...i,
957
- ...f
958
- }, h.state.next(f);
1189
+ ...h
1190
+ }, _.state.next(h);
959
1191
  }
960
- }, me = async (a) => {
961
- pe(a, !0);
962
- const l = await t.resolver(o, t.context, ji(a || d.mount, r, t.criteriaMode, t.shouldUseNativeValidation));
963
- return pe(a), l;
964
- }, Te = async (a) => {
965
- const { errors: l } = await me(a);
966
- if (a)
967
- for (const c of a) {
968
- const g = b(l, c);
969
- g ? S(i.errors, c, g) : q(i.errors, c);
1192
+ }, pe = async (l) => {
1193
+ de(l, !0);
1194
+ const o = await t.resolver(s, t.context, ga(l || p.mount, a, t.criteriaMode, t.shouldUseNativeValidation));
1195
+ return de(l), o;
1196
+ }, Oe = async (l) => {
1197
+ const { errors: o } = await pe(l);
1198
+ if (l)
1199
+ for (const c of l) {
1200
+ const g = f(o, c);
1201
+ g ? E(i.errors, c, g) : q(i.errors, c);
970
1202
  }
971
1203
  else
972
- i.errors = l;
973
- return l;
974
- }, Q = async (a, l, c = {
1204
+ i.errors = o;
1205
+ return o;
1206
+ }, J = async (l, o, c = {
975
1207
  valid: !0
976
1208
  }) => {
977
- for (const g in a) {
978
- const u = a[g];
1209
+ for (const g in l) {
1210
+ const u = l[g];
979
1211
  if (u) {
980
- const { _f: m, ...f } = u;
1212
+ const { _f: m, ...h } = u;
981
1213
  if (m) {
982
- const D = d.array.has(m.name), V = u._f && Gi(u._f);
983
- V && w.validatingFields && pe([g], !0);
984
- const z = await _t(u, d.disabled, o, te, t.shouldUseNativeValidation && !l, D);
985
- if (V && w.validatingFields && pe([g]), z[m.name] && (c.valid = !1, l))
1214
+ const D = p.array.has(m.name), S = u._f && xa(u._f);
1215
+ S && F.validatingFields && de([g], !0);
1216
+ const z = await Ft(u, p.disabled, s, ge, t.shouldUseNativeValidation && !o, D);
1217
+ if (S && F.validatingFields && de([g]), z[m.name] && (c.valid = !1, o))
986
1218
  break;
987
- !l && (b(z, m.name) ? D ? Ji(i.errors, z, m.name) : S(i.errors, m.name, z[m.name]) : q(i.errors, m.name));
1219
+ !o && (f(z, m.name) ? D ? ya(i.errors, z, m.name) : E(i.errors, m.name, z[m.name]) : q(i.errors, m.name));
988
1220
  }
989
- !Z(f) && await Q(f, l, c);
1221
+ !Z(h) && await J(h, o, c);
990
1222
  }
991
1223
  }
992
1224
  return c.valid;
993
1225
  }, xe = () => {
994
- for (const a of d.unMount) {
995
- const l = b(r, a);
996
- l && (l._f.refs ? l._f.refs.every((c) => !je(c)) : !je(l._f.ref)) && qe(a);
1226
+ for (const l of p.unMount) {
1227
+ const o = f(a, l);
1228
+ o && (o._f.refs ? o._f.refs.every((c) => !Ue(c)) : !Ue(o._f.ref)) && Re(l);
997
1229
  }
998
- d.unMount = /* @__PURE__ */ new Set();
999
- }, ae = (a, l) => !t.disabled && (a && l && S(o, a, l), !ge(De(), s)), v = (a, l, c) => qi(a, d, {
1000
- ...p.mount ? o : E(l) ? s : le(a) ? { [a]: l } : l
1001
- }, c, l), L = (a) => ze(b(p.mount ? o : s, a, t.shouldUnregister ? b(s, a, []) : [])), A = (a, l, c = {}) => {
1002
- const g = b(r, a);
1003
- let u = l;
1230
+ p.unMount = /* @__PURE__ */ new Set();
1231
+ }, ie = (l, o) => !t.disabled && (l && o && E(s, l, o), !ue(De(), n)), N = (l, o, c) => ca(l, p, {
1232
+ ...d.mount ? s : O(o) ? n : re(l) ? { [l]: o } : o
1233
+ }, c, o), T = (l) => Qe(f(d.mount ? s : n, l, t.shouldUnregister ? f(n, l, []) : [])), M = (l, o, c = {}) => {
1234
+ const g = f(a, l);
1235
+ let u = o;
1004
1236
  if (g) {
1005
1237
  const m = g._f;
1006
- m && (!m.disabled && S(o, a, Et(l, m)), u = Me(m.ref) && G(l) ? "" : l, Mt(m.ref) ? [...m.ref.options].forEach((f) => f.selected = u.includes(f.value)) : m.refs ? Ne(m.ref) ? m.refs.forEach((f) => {
1007
- (!f.defaultChecked || !f.disabled) && (Array.isArray(u) ? f.checked = !!u.find((D) => D === f.value) : f.checked = u === f.value || !!u);
1008
- }) : m.refs.forEach((f) => f.checked = f.value === u) : Qe(m.ref) ? m.ref.value = "" : (m.ref.value = u, m.ref.type || h.state.next({
1009
- name: a,
1010
- values: O(o)
1238
+ m && (!m.disabled && E(s, l, jt(o, m)), u = Ie(m.ref) && U(o) ? "" : o, Ot(m.ref) ? [...m.ref.options].forEach((h) => h.selected = u.includes(h.value)) : m.refs ? Ce(m.ref) ? m.refs.forEach((h) => {
1239
+ (!h.defaultChecked || !h.disabled) && (Array.isArray(u) ? h.checked = !!u.find((D) => D === h.value) : h.checked = u === h.value || !!u);
1240
+ }) : m.refs.forEach((h) => h.checked = h.value === u) : Xe(m.ref) ? m.ref.value = "" : (m.ref.value = u, m.ref.type || _.state.next({
1241
+ name: l,
1242
+ values: j(s)
1011
1243
  })));
1012
1244
  }
1013
- (c.shouldDirty || c.shouldTouch) && T(a, u, c.shouldTouch, c.shouldDirty, !0), c.shouldValidate && fe(a);
1014
- }, j = (a, l, c) => {
1015
- for (const g in l) {
1016
- if (!l.hasOwnProperty(g))
1245
+ (c.shouldDirty || c.shouldTouch) && R(l, u, c.shouldTouch, c.shouldDirty, !0), c.shouldValidate && fe(l);
1246
+ }, H = (l, o, c) => {
1247
+ for (const g in o) {
1248
+ if (!o.hasOwnProperty(g))
1017
1249
  return;
1018
- const u = l[g], m = a + "." + g, f = b(r, m);
1019
- (d.array.has(a) || I(u) || f && !f._f) && !be(u) ? j(m, u, c) : A(m, u, c);
1250
+ const u = o[g], m = l + "." + g, h = f(a, m);
1251
+ (p.array.has(l) || A(u) || h && !h._f) && !be(u) ? H(m, u, c) : M(m, u, c);
1020
1252
  }
1021
- }, $ = (a, l, c = {}) => {
1022
- const g = b(r, a), u = d.array.has(a), m = O(l);
1023
- S(o, a, m), u ? (h.array.next({
1024
- name: a,
1025
- values: O(o)
1026
- }), (w.isDirty || w.dirtyFields || k.isDirty || k.dirtyFields) && c.shouldDirty && h.state.next({
1027
- name: a,
1028
- dirtyFields: _e(s, o),
1029
- isDirty: ae(a, m)
1030
- })) : g && !g._f && !G(m) ? j(a, m, c) : A(a, m, c), ft(a, d) && h.state.next({ ...i }), h.state.next({
1031
- name: p.mount ? a : void 0,
1032
- values: O(o)
1253
+ }, G = (l, o, c = {}) => {
1254
+ const g = f(a, l), u = p.array.has(l), m = j(o);
1255
+ E(s, l, m), u ? (_.array.next({
1256
+ name: l,
1257
+ values: j(s)
1258
+ }), (F.isDirty || F.dirtyFields || k.isDirty || k.dirtyFields) && c.shouldDirty && _.state.next({
1259
+ name: l,
1260
+ dirtyFields: _e(n, s),
1261
+ isDirty: ie(l, m)
1262
+ })) : g && !g._f && !U(m) ? H(l, m, c) : M(l, m, c), yt(l, p) && _.state.next({ ...i }), _.state.next({
1263
+ name: d.mount ? l : void 0,
1264
+ values: j(s)
1033
1265
  });
1034
- }, re = async (a) => {
1035
- p.mount = !0;
1036
- const l = a.target;
1037
- let c = l.name, g = !0;
1038
- const u = b(r, c), m = (V) => {
1039
- g = Number.isNaN(V) || be(V) && isNaN(V.getTime()) || ge(V, b(o, c, V));
1040
- }, f = xt(t.mode), D = xt(t.reValidateMode);
1266
+ }, ae = async (l) => {
1267
+ d.mount = !0;
1268
+ const o = l.target;
1269
+ let c = o.name, g = !0;
1270
+ const u = f(a, c), m = (S) => {
1271
+ g = Number.isNaN(S) || be(S) && isNaN(S.getTime()) || ue(S, f(s, c, S));
1272
+ }, h = kt(t.mode), D = kt(t.reValidateMode);
1041
1273
  if (u) {
1042
- let V, z;
1043
- const Le = l.type ? gt(u._f) : Si(a), ue = a.type === ct.BLUR || a.type === ct.FOCUS_OUT, ti = !$i(u._f) && !t.resolver && !b(i.errors, c) && !u._f.deps || Wi(ue, b(i.touchedFields, c), i.isSubmitted, D, f), Oe = ft(c, d, ue);
1044
- S(o, c, Le), ue ? (u._f.onBlur && u._f.onBlur(a), _ && _(0)) : u._f.onChange && u._f.onChange(a);
1045
- const Ue = T(c, Le, ue), ii = !Z(Ue) || Oe;
1046
- if (!ue && h.state.next({
1274
+ let S, z;
1275
+ const Te = o.type ? ht(u._f) : ia(l), me = l.type === ut.BLUR || l.type === ut.FOCUS_OUT, bi = !ba(u._f) && !t.resolver && !f(i.errors, c) && !u._f.deps || ka(me, f(i.touchedFields, c), i.isSubmitted, D, h), je = yt(c, p, me);
1276
+ E(s, c, Te), me ? (u._f.onBlur && u._f.onBlur(l), v && v(0)) : u._f.onChange && u._f.onChange(l);
1277
+ const He = R(c, Te, me), fi = !Z(He) || je;
1278
+ if (!me && _.state.next({
1047
1279
  name: c,
1048
- type: a.type,
1049
- values: O(o)
1050
- }), ti)
1051
- return (w.isValid || k.isValid) && (t.mode === "onBlur" ? ue && M() : ue || M()), ii && h.state.next({ name: c, ...Oe ? {} : Ue });
1052
- if (!ue && Oe && h.state.next({ ...i }), t.resolver) {
1053
- const { errors: nt } = await me([c]);
1054
- if (m(Le), g) {
1055
- const ai = ht(i.errors, r, c), lt = ht(nt, r, ai.name || c);
1056
- V = lt.error, c = lt.name, z = Z(nt);
1280
+ type: l.type,
1281
+ values: j(s)
1282
+ }), bi)
1283
+ return (F.isValid || k.isValid) && (t.mode === "onBlur" ? me && P() : me || P()), fi && _.state.next({ name: c, ...je ? {} : He });
1284
+ if (!me && je && _.state.next({ ...i }), t.resolver) {
1285
+ const { errors: ct } = await pe([c]);
1286
+ if (m(Te), g) {
1287
+ const hi = wt(i.errors, a, c), dt = wt(ct, a, hi.name || c);
1288
+ S = dt.error, c = dt.name, z = Z(ct);
1057
1289
  }
1058
1290
  } else
1059
- pe([c], !0), V = (await _t(u, d.disabled, o, te, t.shouldUseNativeValidation))[c], pe([c]), m(Le), g && (V ? z = !1 : (w.isValid || k.isValid) && (z = await Q(r, !0)));
1060
- g && (u._f.deps && fe(u._f.deps), Ce(c, z, V, Ue));
1291
+ de([c], !0), S = (await Ft(u, p.disabled, s, ge, t.shouldUseNativeValidation))[c], de([c]), m(Te), g && (S ? z = !1 : (F.isValid || k.isValid) && (z = await J(a, !0)));
1292
+ g && (u._f.deps && fe(u._f.deps), Le(c, z, S, He));
1061
1293
  }
1062
- }, ke = (a, l) => {
1063
- if (b(i.errors, l) && a.focus)
1064
- return a.focus(), 1;
1065
- }, fe = async (a, l = {}) => {
1294
+ }, ke = (l, o) => {
1295
+ if (f(i.errors, o) && l.focus)
1296
+ return l.focus(), 1;
1297
+ }, fe = async (l, o = {}) => {
1066
1298
  let c, g;
1067
- const u = we(a);
1299
+ const u = we(l);
1068
1300
  if (t.resolver) {
1069
- const m = await Te(E(a) ? a : u);
1070
- c = Z(m), g = a ? !u.some((f) => b(m, f)) : c;
1301
+ const m = await Oe(O(l) ? l : u);
1302
+ c = Z(m), g = l ? !u.some((h) => f(m, h)) : c;
1071
1303
  } else
1072
- a ? (g = (await Promise.all(u.map(async (m) => {
1073
- const f = b(r, m);
1074
- return await Q(f && f._f ? { [m]: f } : f);
1075
- }))).every(Boolean), !(!g && !i.isValid) && M()) : g = c = await Q(r);
1076
- return h.state.next({
1077
- ...!le(a) || (w.isValid || k.isValid) && c !== i.isValid ? {} : { name: a },
1078
- ...t.resolver || !a ? { isValid: c } : {},
1304
+ l ? (g = (await Promise.all(u.map(async (m) => {
1305
+ const h = f(a, m);
1306
+ return await J(h && h._f ? { [m]: h } : h);
1307
+ }))).every(Boolean), !(!g && !i.isValid) && P()) : g = c = await J(a);
1308
+ return _.state.next({
1309
+ ...!re(l) || (F.isValid || k.isValid) && c !== i.isValid ? {} : { name: l },
1310
+ ...t.resolver || !l ? { isValid: c } : {},
1079
1311
  errors: i.errors
1080
- }), l.shouldFocus && !g && ve(r, ke, a ? u : d.mount), g;
1081
- }, De = (a) => {
1082
- const l = {
1083
- ...p.mount ? o : s
1312
+ }), o.shouldFocus && !g && ve(a, ke, l ? u : p.mount), g;
1313
+ }, De = (l) => {
1314
+ const o = {
1315
+ ...d.mount ? s : n
1084
1316
  };
1085
- return E(a) ? l : le(a) ? b(l, a) : a.map((c) => b(l, c));
1086
- }, Xe = (a, l) => ({
1087
- invalid: !!b((l || i).errors, a),
1088
- isDirty: !!b((l || i).dirtyFields, a),
1089
- error: b((l || i).errors, a),
1090
- isValidating: !!b(i.validatingFields, a),
1091
- isTouched: !!b((l || i).touchedFields, a)
1092
- }), Wt = (a) => {
1093
- a && we(a).forEach((l) => q(i.errors, l)), h.state.next({
1094
- errors: a ? i.errors : {}
1317
+ return O(l) ? o : re(l) ? f(o, l) : l.map((c) => f(o, c));
1318
+ }, tt = (l, o) => ({
1319
+ invalid: !!f((o || i).errors, l),
1320
+ isDirty: !!f((o || i).dirtyFields, l),
1321
+ error: f((o || i).errors, l),
1322
+ isValidating: !!f(i.validatingFields, l),
1323
+ isTouched: !!f((o || i).touchedFields, l)
1324
+ }), ci = (l) => {
1325
+ l && we(l).forEach((o) => q(i.errors, o)), _.state.next({
1326
+ errors: l ? i.errors : {}
1095
1327
  });
1096
- }, Ye = (a, l, c) => {
1097
- const g = (b(r, a, { _f: {} })._f || {}).ref, u = b(i.errors, a) || {}, { ref: m, message: f, type: D, ...V } = u;
1098
- S(i.errors, a, {
1099
- ...V,
1100
- ...l,
1328
+ }, it = (l, o, c) => {
1329
+ const g = (f(a, l, { _f: {} })._f || {}).ref, u = f(i.errors, l) || {}, { ref: m, message: h, type: D, ...S } = u;
1330
+ E(i.errors, l, {
1331
+ ...S,
1332
+ ...o,
1101
1333
  ref: g
1102
- }), h.state.next({
1103
- name: a,
1334
+ }), _.state.next({
1335
+ name: l,
1104
1336
  errors: i.errors,
1105
1337
  isValid: !1
1106
1338
  }), c && c.shouldFocus && g && g.focus && g.focus();
1107
- }, Qt = (a, l) => ee(a) ? h.state.subscribe({
1108
- next: (c) => a(v(void 0, l), c)
1109
- }) : v(a, l, !0), Ke = (a) => h.state.subscribe({
1110
- next: (l) => {
1111
- zi(a.name, l.name, a.exact) && Zi(l, a.formState || w, ei, a.reRenderRoot) && a.callback({
1112
- values: { ...o },
1339
+ }, di = (l, o) => ee(l) ? _.state.subscribe({
1340
+ next: (c) => l(N(void 0, o), c)
1341
+ }) : N(l, o, !0), at = (l) => _.state.subscribe({
1342
+ next: (o) => {
1343
+ ha(l.name, o.name, l.exact) && fa(o, l.formState || F, xi, l.reRenderRoot) && l.callback({
1344
+ values: { ...s },
1113
1345
  ...i,
1114
- ...l
1346
+ ...o
1115
1347
  });
1116
1348
  }
1117
- }).unsubscribe, Jt = (a) => (p.mount = !0, k = {
1349
+ }).unsubscribe, pi = (l) => (d.mount = !0, k = {
1118
1350
  ...k,
1119
- ...a.formState
1120
- }, Ke({
1121
- ...a,
1351
+ ...l.formState
1352
+ }, at({
1353
+ ...l,
1122
1354
  formState: k
1123
- })), qe = (a, l = {}) => {
1124
- for (const c of a ? we(a) : d.mount)
1125
- d.mount.delete(c), d.array.delete(c), l.keepValue || (q(r, c), q(o, c)), !l.keepError && q(i.errors, c), !l.keepDirty && q(i.dirtyFields, c), !l.keepTouched && q(i.touchedFields, c), !l.keepIsValidating && q(i.validatingFields, c), !t.shouldUnregister && !l.keepDefaultValue && q(s, c);
1126
- h.state.next({
1127
- values: O(o)
1128
- }), h.state.next({
1355
+ })), Re = (l, o = {}) => {
1356
+ for (const c of l ? we(l) : p.mount)
1357
+ p.mount.delete(c), p.array.delete(c), o.keepValue || (q(a, c), q(s, c)), !o.keepError && q(i.errors, c), !o.keepDirty && q(i.dirtyFields, c), !o.keepTouched && q(i.touchedFields, c), !o.keepIsValidating && q(i.validatingFields, c), !t.shouldUnregister && !o.keepDefaultValue && q(n, c);
1358
+ _.state.next({
1359
+ values: j(s)
1360
+ }), _.state.next({
1129
1361
  ...i,
1130
- ...l.keepDirty ? { isDirty: ae() } : {}
1131
- }), !l.keepIsValid && M();
1132
- }, et = ({ disabled: a, name: l }) => {
1133
- (ne(a) && p.mount || a || d.disabled.has(l)) && (a ? d.disabled.add(l) : d.disabled.delete(l));
1134
- }, Re = (a, l = {}) => {
1135
- let c = b(r, a);
1136
- const g = ne(l.disabled) || ne(t.disabled);
1137
- return S(r, a, {
1362
+ ...o.keepDirty ? { isDirty: ie() } : {}
1363
+ }), !o.keepIsValid && P();
1364
+ }, lt = ({ disabled: l, name: o }) => {
1365
+ (le(l) && d.mount || l || p.disabled.has(o)) && (l ? p.disabled.add(o) : p.disabled.delete(o));
1366
+ }, qe = (l, o = {}) => {
1367
+ let c = f(a, l);
1368
+ const g = le(o.disabled) || le(t.disabled);
1369
+ return E(a, l, {
1138
1370
  ...c || {},
1139
1371
  _f: {
1140
- ...c && c._f ? c._f : { ref: { name: a } },
1141
- name: a,
1372
+ ...c && c._f ? c._f : { ref: { name: l } },
1373
+ name: l,
1142
1374
  mount: !0,
1143
- ...l
1375
+ ...o
1144
1376
  }
1145
- }), d.mount.add(a), c ? et({
1146
- disabled: ne(l.disabled) ? l.disabled : t.disabled,
1147
- name: a
1148
- }) : ie(a, !0, l.value), {
1149
- ...g ? { disabled: l.disabled || t.disabled } : {},
1377
+ }), p.mount.add(l), c ? lt({
1378
+ disabled: le(o.disabled) ? o.disabled : t.disabled,
1379
+ name: l
1380
+ }) : te(l, !0, o.value), {
1381
+ ...g ? { disabled: o.disabled || t.disabled } : {},
1150
1382
  ...t.progressive ? {
1151
- required: !!l.required,
1152
- min: ye(l.min),
1153
- max: ye(l.max),
1154
- minLength: ye(l.minLength),
1155
- maxLength: ye(l.maxLength),
1156
- pattern: ye(l.pattern)
1383
+ required: !!o.required,
1384
+ min: ye(o.min),
1385
+ max: ye(o.max),
1386
+ minLength: ye(o.minLength),
1387
+ maxLength: ye(o.maxLength),
1388
+ pattern: ye(o.pattern)
1157
1389
  } : {},
1158
- name: a,
1159
- onChange: re,
1160
- onBlur: re,
1390
+ name: l,
1391
+ onChange: ae,
1392
+ onBlur: ae,
1161
1393
  ref: (u) => {
1162
1394
  if (u) {
1163
- Re(a, l), c = b(r, a);
1164
- const m = E(u.value) && u.querySelectorAll && u.querySelectorAll("input,select,textarea")[0] || u, f = Hi(m), D = c._f.refs || [];
1165
- if (f ? D.find((V) => V === m) : m === c._f.ref)
1395
+ qe(l, o), c = f(a, l);
1396
+ const m = O(u.value) && u.querySelectorAll && u.querySelectorAll("input,select,textarea")[0] || u, h = pa(m), D = c._f.refs || [];
1397
+ if (h ? D.find((S) => S === m) : m === c._f.ref)
1166
1398
  return;
1167
- S(r, a, {
1399
+ E(a, l, {
1168
1400
  _f: {
1169
1401
  ...c._f,
1170
- ...f ? {
1402
+ ...h ? {
1171
1403
  refs: [
1172
- ...D.filter(je),
1404
+ ...D.filter(Ue),
1173
1405
  m,
1174
- ...Array.isArray(b(s, a)) ? [{}] : []
1406
+ ...Array.isArray(f(n, l)) ? [{}] : []
1175
1407
  ],
1176
- ref: { type: m.type, name: a }
1408
+ ref: { type: m.type, name: l }
1177
1409
  } : { ref: m }
1178
1410
  }
1179
- }), ie(a, !1, void 0, m);
1411
+ }), te(l, !1, void 0, m);
1180
1412
  } else
1181
- c = b(r, a, {}), c._f && (c._f.mount = !1), (t.shouldUnregister || l.shouldUnregister) && !(Pi(d.array, a) && p.action) && d.unMount.add(a);
1413
+ c = f(a, l, {}), c._f && (c._f.mount = !1), (t.shouldUnregister || o.shouldUnregister) && !(la(p.array, l) && d.action) && p.unMount.add(l);
1182
1414
  }
1183
1415
  };
1184
- }, He = () => t.shouldFocusError && ve(r, ke, d.mount), Xt = (a) => {
1185
- ne(a) && (h.state.next({ disabled: a }), ve(r, (l, c) => {
1186
- const g = b(r, c);
1187
- g && (l.disabled = g._f.disabled || a, Array.isArray(g._f.refs) && g._f.refs.forEach((u) => {
1188
- u.disabled = g._f.disabled || a;
1416
+ }, $e = () => t.shouldFocusError && ve(a, ke, p.mount), mi = (l) => {
1417
+ le(l) && (_.state.next({ disabled: l }), ve(a, (o, c) => {
1418
+ const g = f(a, c);
1419
+ g && (o.disabled = g._f.disabled || l, Array.isArray(g._f.refs) && g._f.refs.forEach((u) => {
1420
+ u.disabled = g._f.disabled || l;
1189
1421
  }));
1190
1422
  }, 0, !1));
1191
- }, tt = (a, l) => async (c) => {
1423
+ }, rt = (l, o) => async (c) => {
1192
1424
  let g;
1193
1425
  c && (c.preventDefault && c.preventDefault(), c.persist && c.persist());
1194
- let u = O(o);
1195
- if (h.state.next({
1426
+ let u = j(s);
1427
+ if (_.state.next({
1196
1428
  isSubmitting: !0
1197
1429
  }), t.resolver) {
1198
- const { errors: m, values: f } = await me();
1199
- i.errors = m, u = f;
1430
+ const { errors: m, values: h } = await pe();
1431
+ i.errors = m, u = h;
1200
1432
  } else
1201
- await Q(r);
1202
- if (d.disabled.size)
1203
- for (const m of d.disabled)
1204
- S(u, m, void 0);
1433
+ await J(a);
1434
+ if (p.disabled.size)
1435
+ for (const m of p.disabled)
1436
+ E(u, m, void 0);
1205
1437
  if (q(i.errors, "root"), Z(i.errors)) {
1206
- h.state.next({
1438
+ _.state.next({
1207
1439
  errors: {}
1208
1440
  });
1209
1441
  try {
1210
- await a(u, c);
1442
+ await l(u, c);
1211
1443
  } catch (m) {
1212
1444
  g = m;
1213
1445
  }
1214
1446
  } else
1215
- l && await l({ ...i.errors }, c), He(), setTimeout(He);
1216
- if (h.state.next({
1447
+ o && await o({ ...i.errors }, c), $e(), setTimeout($e);
1448
+ if (_.state.next({
1217
1449
  isSubmitted: !0,
1218
1450
  isSubmitting: !1,
1219
1451
  isSubmitSuccessful: Z(i.errors) && !g,
@@ -1221,26 +1453,26 @@ function Yi(e = {}) {
1221
1453
  errors: i.errors
1222
1454
  }), g)
1223
1455
  throw g;
1224
- }, Yt = (a, l = {}) => {
1225
- b(r, a) && (E(l.defaultValue) ? $(a, O(b(s, a))) : ($(a, l.defaultValue), S(s, a, O(l.defaultValue))), l.keepTouched || q(i.touchedFields, a), l.keepDirty || (q(i.dirtyFields, a), i.isDirty = l.defaultValue ? ae(a, O(b(s, a))) : ae()), l.keepError || (q(i.errors, a), w.isValid && M()), h.state.next({ ...i }));
1226
- }, it = (a, l = {}) => {
1227
- const c = a ? O(a) : s, g = O(c), u = Z(a), m = u ? s : g;
1228
- if (l.keepDefaultValues || (s = c), !l.keepValues) {
1229
- if (l.keepDirtyValues) {
1230
- const f = /* @__PURE__ */ new Set([
1231
- ...d.mount,
1232
- ...Object.keys(_e(s, o))
1456
+ }, ui = (l, o = {}) => {
1457
+ f(a, l) && (O(o.defaultValue) ? G(l, j(f(n, l))) : (G(l, o.defaultValue), E(n, l, j(o.defaultValue))), o.keepTouched || q(i.touchedFields, l), o.keepDirty || (q(i.dirtyFields, l), i.isDirty = o.defaultValue ? ie(l, j(f(n, l))) : ie()), o.keepError || (q(i.errors, l), F.isValid && P()), _.state.next({ ...i }));
1458
+ }, nt = (l, o = {}) => {
1459
+ const c = l ? j(l) : n, g = j(c), u = Z(l), m = u ? n : g;
1460
+ if (o.keepDefaultValues || (n = c), !o.keepValues) {
1461
+ if (o.keepDirtyValues) {
1462
+ const h = /* @__PURE__ */ new Set([
1463
+ ...p.mount,
1464
+ ...Object.keys(_e(n, s))
1233
1465
  ]);
1234
- for (const D of Array.from(f))
1235
- b(i.dirtyFields, D) ? S(m, D, b(o, D)) : $(D, b(m, D));
1466
+ for (const D of Array.from(h))
1467
+ f(i.dirtyFields, D) ? E(m, D, f(s, D)) : G(D, f(m, D));
1236
1468
  } else {
1237
- if (Ze && E(a))
1238
- for (const f of d.mount) {
1239
- const D = b(r, f);
1469
+ if (We && O(l))
1470
+ for (const h of p.mount) {
1471
+ const D = f(a, h);
1240
1472
  if (D && D._f) {
1241
- const V = Array.isArray(D._f.refs) ? D._f.refs[0] : D._f.ref;
1242
- if (Me(V)) {
1243
- const z = V.closest("form");
1473
+ const S = Array.isArray(D._f.refs) ? D._f.refs[0] : D._f.ref;
1474
+ if (Ie(S)) {
1475
+ const z = S.closest("form");
1244
1476
  if (z) {
1245
1477
  z.reset();
1246
1478
  break;
@@ -1248,91 +1480,91 @@ function Yi(e = {}) {
1248
1480
  }
1249
1481
  }
1250
1482
  }
1251
- for (const f of d.mount)
1252
- $(f, b(m, f));
1483
+ for (const h of p.mount)
1484
+ G(h, f(m, h));
1253
1485
  }
1254
- o = O(m), h.array.next({
1486
+ s = j(m), _.array.next({
1255
1487
  values: { ...m }
1256
- }), h.state.next({
1488
+ }), _.state.next({
1257
1489
  values: { ...m }
1258
1490
  });
1259
1491
  }
1260
- d = {
1261
- mount: l.keepDirtyValues ? d.mount : /* @__PURE__ */ new Set(),
1492
+ p = {
1493
+ mount: o.keepDirtyValues ? p.mount : /* @__PURE__ */ new Set(),
1262
1494
  unMount: /* @__PURE__ */ new Set(),
1263
1495
  array: /* @__PURE__ */ new Set(),
1264
1496
  disabled: /* @__PURE__ */ new Set(),
1265
1497
  watch: /* @__PURE__ */ new Set(),
1266
1498
  watchAll: !1,
1267
1499
  focus: ""
1268
- }, p.mount = !w.isValid || !!l.keepIsValid || !!l.keepDirtyValues, p.watch = !!t.shouldUnregister, h.state.next({
1269
- submitCount: l.keepSubmitCount ? i.submitCount : 0,
1270
- isDirty: u ? !1 : l.keepDirty ? i.isDirty : !!(l.keepDefaultValues && !ge(a, s)),
1271
- isSubmitted: l.keepIsSubmitted ? i.isSubmitted : !1,
1272
- dirtyFields: u ? {} : l.keepDirtyValues ? l.keepDefaultValues && o ? _e(s, o) : i.dirtyFields : l.keepDefaultValues && a ? _e(s, a) : l.keepDirty ? i.dirtyFields : {},
1273
- touchedFields: l.keepTouched ? i.touchedFields : {},
1274
- errors: l.keepErrors ? i.errors : {},
1275
- isSubmitSuccessful: l.keepIsSubmitSuccessful ? i.isSubmitSuccessful : !1,
1500
+ }, d.mount = !F.isValid || !!o.keepIsValid || !!o.keepDirtyValues, d.watch = !!t.shouldUnregister, _.state.next({
1501
+ submitCount: o.keepSubmitCount ? i.submitCount : 0,
1502
+ isDirty: u ? !1 : o.keepDirty ? i.isDirty : !!(o.keepDefaultValues && !ue(l, n)),
1503
+ isSubmitted: o.keepIsSubmitted ? i.isSubmitted : !1,
1504
+ dirtyFields: u ? {} : o.keepDirtyValues ? o.keepDefaultValues && s ? _e(n, s) : i.dirtyFields : o.keepDefaultValues && l ? _e(n, l) : o.keepDirty ? i.dirtyFields : {},
1505
+ touchedFields: o.keepTouched ? i.touchedFields : {},
1506
+ errors: o.keepErrors ? i.errors : {},
1507
+ isSubmitSuccessful: o.keepIsSubmitSuccessful ? i.isSubmitSuccessful : !1,
1276
1508
  isSubmitting: !1
1277
1509
  });
1278
- }, at = (a, l) => it(ee(a) ? a(o) : a, l), Kt = (a, l = {}) => {
1279
- const c = b(r, a), g = c && c._f;
1510
+ }, st = (l, o) => nt(ee(l) ? l(s) : l, o), gi = (l, o = {}) => {
1511
+ const c = f(a, l), g = c && c._f;
1280
1512
  if (g) {
1281
1513
  const u = g.refs ? g.refs[0] : g.ref;
1282
- u.focus && (u.focus(), l.shouldSelect && ee(u.select) && u.select());
1514
+ u.focus && (u.focus(), o.shouldSelect && ee(u.select) && u.select());
1283
1515
  }
1284
- }, ei = (a) => {
1516
+ }, xi = (l) => {
1285
1517
  i = {
1286
1518
  ...i,
1287
- ...a
1519
+ ...l
1288
1520
  };
1289
- }, rt = {
1521
+ }, ot = {
1290
1522
  control: {
1291
- register: Re,
1292
- unregister: qe,
1293
- getFieldState: Xe,
1294
- handleSubmit: tt,
1295
- setError: Ye,
1296
- _subscribe: Ke,
1297
- _runSchema: me,
1298
- _focusError: He,
1299
- _getWatch: v,
1300
- _getDirty: ae,
1301
- _setValid: M,
1302
- _setFieldArray: Ee,
1303
- _setDisabledField: et,
1304
- _setErrors: ce,
1305
- _getFieldArray: L,
1306
- _reset: it,
1307
- _resetDefaultValues: () => ee(t.defaultValues) && t.defaultValues().then((a) => {
1308
- at(a, t.resetOptions), h.state.next({
1523
+ register: qe,
1524
+ unregister: Re,
1525
+ getFieldState: tt,
1526
+ handleSubmit: rt,
1527
+ setError: it,
1528
+ _subscribe: at,
1529
+ _runSchema: pe,
1530
+ _focusError: $e,
1531
+ _getWatch: N,
1532
+ _getDirty: ie,
1533
+ _setValid: P,
1534
+ _setFieldArray: Ae,
1535
+ _setDisabledField: lt,
1536
+ _setErrors: oe,
1537
+ _getFieldArray: T,
1538
+ _reset: nt,
1539
+ _resetDefaultValues: () => ee(t.defaultValues) && t.defaultValues().then((l) => {
1540
+ st(l, t.resetOptions), _.state.next({
1309
1541
  isLoading: !1
1310
1542
  });
1311
1543
  }),
1312
1544
  _removeUnmounted: xe,
1313
- _disableForm: Xt,
1314
- _subjects: h,
1315
- _proxyFormState: w,
1545
+ _disableForm: mi,
1546
+ _subjects: _,
1547
+ _proxyFormState: F,
1316
1548
  get _fields() {
1317
- return r;
1549
+ return a;
1318
1550
  },
1319
1551
  get _formValues() {
1320
- return o;
1552
+ return s;
1321
1553
  },
1322
1554
  get _state() {
1323
- return p;
1555
+ return d;
1324
1556
  },
1325
- set _state(a) {
1326
- p = a;
1557
+ set _state(l) {
1558
+ d = l;
1327
1559
  },
1328
1560
  get _defaultValues() {
1329
- return s;
1561
+ return n;
1330
1562
  },
1331
1563
  get _names() {
1332
- return d;
1564
+ return p;
1333
1565
  },
1334
- set _names(a) {
1335
- d = a;
1566
+ set _names(l) {
1567
+ p = l;
1336
1568
  },
1337
1569
  get _formState() {
1338
1570
  return i;
@@ -1340,35 +1572,35 @@ function Yi(e = {}) {
1340
1572
  get _options() {
1341
1573
  return t;
1342
1574
  },
1343
- set _options(a) {
1575
+ set _options(l) {
1344
1576
  t = {
1345
1577
  ...t,
1346
- ...a
1578
+ ...l
1347
1579
  };
1348
1580
  }
1349
1581
  },
1350
- subscribe: Jt,
1582
+ subscribe: pi,
1351
1583
  trigger: fe,
1352
- register: Re,
1353
- handleSubmit: tt,
1354
- watch: Qt,
1355
- setValue: $,
1584
+ register: qe,
1585
+ handleSubmit: rt,
1586
+ watch: di,
1587
+ setValue: G,
1356
1588
  getValues: De,
1357
- reset: at,
1358
- resetField: Yt,
1359
- clearErrors: Wt,
1360
- unregister: qe,
1361
- setError: Ye,
1362
- setFocus: Kt,
1363
- getFieldState: Xe
1589
+ reset: st,
1590
+ resetField: ui,
1591
+ clearErrors: ci,
1592
+ unregister: Re,
1593
+ setError: it,
1594
+ setFocus: gi,
1595
+ getFieldState: tt
1364
1596
  };
1365
1597
  return {
1366
- ...rt,
1367
- formControl: rt
1598
+ ...ot,
1599
+ formControl: ot
1368
1600
  };
1369
1601
  }
1370
- function Ki(e = {}) {
1371
- const t = W.useRef(void 0), i = W.useRef(void 0), [r, s] = W.useState({
1602
+ function Fa(e = {}) {
1603
+ const t = W.useRef(void 0), i = W.useRef(void 0), [a, n] = W.useState({
1372
1604
  isDirty: !1,
1373
1605
  isValidating: !1,
1374
1606
  isLoading: ee(e.defaultValues),
@@ -1389,111 +1621,120 @@ function Ki(e = {}) {
1389
1621
  if (e.formControl)
1390
1622
  t.current = {
1391
1623
  ...e.formControl,
1392
- formState: r
1624
+ formState: a
1393
1625
  }, e.defaultValues && !ee(e.defaultValues) && e.formControl.reset(e.defaultValues, e.resetOptions);
1394
1626
  else {
1395
- const { formControl: p, ...d } = Yi(e);
1627
+ const { formControl: d, ...p } = va(e);
1396
1628
  t.current = {
1397
- ...d,
1398
- formState: r
1629
+ ...p,
1630
+ formState: a
1399
1631
  };
1400
1632
  }
1401
- const o = t.current.control;
1402
- return o._options = e, Ti(() => {
1403
- const p = o._subscribe({
1404
- formState: o._proxyFormState,
1405
- callback: () => s({ ...o._formState }),
1633
+ const s = t.current.control;
1634
+ return s._options = e, oa(() => {
1635
+ const d = s._subscribe({
1636
+ formState: s._proxyFormState,
1637
+ callback: () => n({ ...s._formState }),
1406
1638
  reRenderRoot: !0
1407
1639
  });
1408
- return s((d) => ({
1409
- ...d,
1640
+ return n((p) => ({
1641
+ ...p,
1410
1642
  isReady: !0
1411
- })), o._formState.isReady = !0, p;
1412
- }, [o]), W.useEffect(() => o._disableForm(e.disabled), [o, e.disabled]), W.useEffect(() => {
1413
- e.mode && (o._options.mode = e.mode), e.reValidateMode && (o._options.reValidateMode = e.reValidateMode);
1414
- }, [o, e.mode, e.reValidateMode]), W.useEffect(() => {
1415
- e.errors && (o._setErrors(e.errors), o._focusError());
1416
- }, [o, e.errors]), W.useEffect(() => {
1417
- e.shouldUnregister && o._subjects.state.next({
1418
- values: o._getWatch()
1643
+ })), s._formState.isReady = !0, d;
1644
+ }, [s]), W.useEffect(() => s._disableForm(e.disabled), [s, e.disabled]), W.useEffect(() => {
1645
+ e.mode && (s._options.mode = e.mode), e.reValidateMode && (s._options.reValidateMode = e.reValidateMode);
1646
+ }, [s, e.mode, e.reValidateMode]), W.useEffect(() => {
1647
+ e.errors && (s._setErrors(e.errors), s._focusError());
1648
+ }, [s, e.errors]), W.useEffect(() => {
1649
+ e.shouldUnregister && s._subjects.state.next({
1650
+ values: s._getWatch()
1419
1651
  });
1420
- }, [o, e.shouldUnregister]), W.useEffect(() => {
1421
- if (o._proxyFormState.isDirty) {
1422
- const p = o._getDirty();
1423
- p !== r.isDirty && o._subjects.state.next({
1424
- isDirty: p
1652
+ }, [s, e.shouldUnregister]), W.useEffect(() => {
1653
+ if (s._proxyFormState.isDirty) {
1654
+ const d = s._getDirty();
1655
+ d !== a.isDirty && s._subjects.state.next({
1656
+ isDirty: d
1425
1657
  });
1426
1658
  }
1427
- }, [o, r.isDirty]), W.useEffect(() => {
1428
- e.values && !ge(e.values, i.current) ? (o._reset(e.values, o._options.resetOptions), i.current = e.values, s((p) => ({ ...p }))) : o._resetDefaultValues();
1429
- }, [o, e.values]), W.useEffect(() => {
1430
- o._state.mount || (o._setValid(), o._state.mount = !0), o._state.watch && (o._state.watch = !1, o._subjects.state.next({ ...o._formState })), o._removeUnmounted();
1431
- }), t.current.formState = Ei(r, o), t.current;
1659
+ }, [s, a.isDirty]), W.useEffect(() => {
1660
+ e.values && !ue(e.values, i.current) ? (s._reset(e.values, s._options.resetOptions), i.current = e.values, n((d) => ({ ...d }))) : s._resetDefaultValues();
1661
+ }, [s, e.values]), W.useEffect(() => {
1662
+ s._state.mount || (s._setValid(), s._state.mount = !0), s._state.watch && (s._state.watch = !1, s._subjects.state.next({ ...s._formState })), s._removeUnmounted();
1663
+ }), t.current.formState = sa(a, s), t.current;
1432
1664
  }
1433
- const ea = ({ faqId: e, percent: t }) => {
1434
- const [i, r] = ri(!1), s = Ki({
1665
+ const Na = ({ faqId: e, percent: t }) => {
1666
+ const [i, a] = ki(!1), n = Fa({
1435
1667
  defaultValues: {
1436
1668
  faq: e
1437
1669
  }
1438
- }), { handleSubmit: o, setValue: p, getValues: d } = s, _ = (k) => {
1670
+ }), { handleSubmit: s, setValue: d, getValues: p } = n, v = (k) => {
1439
1671
  try {
1440
- r(!0), console.log("Submitted:", k);
1441
- } catch (h) {
1442
- console.error("Error submitting feedback:", h);
1672
+ a(!0), console.log("Submitted:", k);
1673
+ } catch (_) {
1674
+ console.error("Error submitting feedback:", _);
1443
1675
  } finally {
1444
- r(!1);
1676
+ a(!1);
1445
1677
  }
1446
- }, C = (k) => {
1447
- p("rate", k), o(_)();
1448
- }, w = d("rate");
1449
- return /* @__PURE__ */ n(Ii, { ...s, children: /* @__PURE__ */ n("form", { children: /* @__PURE__ */ x("div", { className: "mt-6 flex items-center gap-6 max-tablet:flex-col max-tablet:items-start", children: [
1678
+ }, L = (k) => {
1679
+ d("rate", k), s(v)();
1680
+ }, F = p("rate");
1681
+ return /* @__PURE__ */ r(na, { ...n, children: /* @__PURE__ */ r("form", { children: /* @__PURE__ */ x("div", { className: "mt-6 flex items-center gap-6 max-tablet:flex-col max-tablet:items-start", children: [
1450
1682
  /* @__PURE__ */ x("div", { className: "border-l-2 border-green pl-6 mr-14 shrink-0", children: [
1451
- /* @__PURE__ */ n("span", { className: "text-gray2 block text-[14px] leading-5", children: `${t}% считают ответ полезным` }),
1452
- /* @__PURE__ */ n("p", { className: "text-blackBG text-[15px] leading-[22px]", children: "Ответ был полезным?" })
1683
+ /* @__PURE__ */ r("span", { className: "text-gray2 block text-[14px] leading-5", children: `${t}% считают ответ полезным` }),
1684
+ /* @__PURE__ */ r("p", { className: "text-blackBG text-[15px] leading-[22px]", children: "Ответ был полезным?" })
1453
1685
  ] }),
1454
1686
  /* @__PURE__ */ x("div", { className: "flex items-center gap-4 w-full max-tablet::pt-4", children: [
1455
- /* @__PURE__ */ n(
1456
- P,
1687
+ /* @__PURE__ */ r(
1688
+ I,
1457
1689
  {
1458
1690
  size: Y.M,
1459
1691
  variant: B.Secondary,
1460
1692
  className: "w-[125px]",
1461
1693
  disabled: i,
1462
- onClick: () => C("yes"),
1463
- loading: w === "yes" && i,
1694
+ onClick: () => L("yes"),
1695
+ loading: F === "yes" && i,
1464
1696
  children: "Да"
1465
1697
  }
1466
1698
  ),
1467
- /* @__PURE__ */ n(
1468
- P,
1699
+ /* @__PURE__ */ r(
1700
+ I,
1469
1701
  {
1470
1702
  size: Y.M,
1471
1703
  variant: B.Secondary,
1472
1704
  className: "w-[125px]",
1473
1705
  disabled: i,
1474
- onClick: () => C("no"),
1475
- loading: w === "no" && i,
1706
+ onClick: () => L("no"),
1707
+ loading: F === "no" && i,
1476
1708
  children: "Нет"
1477
1709
  }
1478
1710
  )
1479
1711
  ] })
1480
1712
  ] }) }) });
1481
- }, ta = ["data", "title"], qt = ({ data: e, title: t }) => e != null && e.length ? /* @__PURE__ */ n(R, { children: /* @__PURE__ */ x("div", { className: "w-full mx-auto flex flex-col gap-[48px] transition-all duration-1000 max-tablet:gap-[30px]", children: [
1482
- t && /* @__PURE__ */ n("p", { className: "text-[44px] leading-[55px] font-bold text-center text-black2 max-tablet:text-[24px] max-tablet:leading-[30px] m-0", children: t }),
1483
- /* @__PURE__ */ n("div", { className: "flex flex-col bg-white p-12 rounded-[20px] max-tablet:p-6", children: e == null ? void 0 : e.map((i) => /* @__PURE__ */ n(
1484
- ui,
1713
+ }, Ca = {
1714
+ type: "data",
1715
+ label: "Вопрос",
1716
+ dataType: "array",
1717
+ data: {
1718
+ title: b.TITLE,
1719
+ description: b.HTML_CONTENT,
1720
+ percentage: b.NUMBER
1721
+ }
1722
+ }, La = [Ca, "title"], Ut = ({ data: e, title: t }) => e != null && e.length ? /* @__PURE__ */ r(V, { children: /* @__PURE__ */ x("div", { className: "w-full mx-auto flex flex-col gap-[48px] transition-all duration-1000 max-tablet:gap-[30px]", children: [
1723
+ t && /* @__PURE__ */ r("p", { className: "text-[44px] leading-[55px] font-bold text-center text-black2 max-tablet:text-[24px] max-tablet:leading-[30px] m-0", children: t }),
1724
+ /* @__PURE__ */ r("div", { className: "flex flex-col bg-white p-12 rounded-[20px] max-tablet:p-6", children: e == null ? void 0 : e.map((i) => /* @__PURE__ */ r(
1725
+ Li,
1485
1726
  {
1486
1727
  title: i == null ? void 0 : i.title,
1487
1728
  children: /* @__PURE__ */ x("div", { children: [
1488
- /* @__PURE__ */ n(
1489
- $e,
1729
+ /* @__PURE__ */ r(
1730
+ Ze,
1490
1731
  {
1491
1732
  data: i == null ? void 0 : i.description,
1492
1733
  className: "text-[18px] leading-[26px] text-blackBG "
1493
1734
  }
1494
1735
  ),
1495
- /* @__PURE__ */ n(
1496
- ea,
1736
+ /* @__PURE__ */ r(
1737
+ Na,
1497
1738
  {
1498
1739
  faqId: i == null ? void 0 : i.id,
1499
1740
  percent: i == null ? void 0 : i.percentage
@@ -1505,36 +1746,36 @@ const ea = ({ faqId: e, percent: t }) => {
1505
1746
  i == null ? void 0 : i.id
1506
1747
  )) })
1507
1748
  ] }) }) : null;
1508
- qt.propsToEdit = ta;
1509
- const ia = ["title", "cards", "button"], Rt = ({
1749
+ Ut.propsToEdit = La;
1750
+ const Da = ["title", "cards", "button"], Gt = ({
1510
1751
  title: e,
1511
1752
  cards: t,
1512
1753
  button: i
1513
- }) => /* @__PURE__ */ x(R, { className: "flex flex-col items-center", children: [
1514
- e && /* @__PURE__ */ n("p", { className: "text-[44px] leading-[54px] font-bold text-center mb-[48px]", children: e }),
1515
- /* @__PURE__ */ n("div", { className: "flex items-stretch gap-[24px]", children: t == null ? void 0 : t.map((r) => /* @__PURE__ */ n(
1516
- gi,
1754
+ }) => /* @__PURE__ */ x(V, { className: "flex flex-col items-center", children: [
1755
+ e && /* @__PURE__ */ r("p", { className: "text-[44px] leading-[54px] font-bold text-center mb-[48px]", children: e }),
1756
+ /* @__PURE__ */ r("div", { className: "flex items-stretch gap-[24px]", children: t == null ? void 0 : t.map((a) => /* @__PURE__ */ r(
1757
+ Di,
1517
1758
  {
1518
- data: r
1759
+ data: a
1519
1760
  },
1520
- r == null ? void 0 : r.id
1761
+ a == null ? void 0 : a.id
1521
1762
  )) }),
1522
- (i == null ? void 0 : i.link) && (i == null ? void 0 : i.text) && /* @__PURE__ */ n(
1763
+ (i == null ? void 0 : i.link) && (i == null ? void 0 : i.text) && /* @__PURE__ */ r(
1523
1764
  "a",
1524
1765
  {
1525
1766
  href: i == null ? void 0 : i.link,
1526
1767
  target: "_blank",
1527
1768
  className: "mt-[24px]",
1528
- children: /* @__PURE__ */ n(P, { children: i == null ? void 0 : i.text })
1769
+ children: /* @__PURE__ */ r(I, { children: i == null ? void 0 : i.text })
1529
1770
  }
1530
1771
  )
1531
1772
  ] });
1532
- Rt.propsToEdit = ia;
1533
- const aa = ["item"], Ht = ({ item: e }) => {
1534
- var t, i, r;
1773
+ Gt.propsToEdit = Da;
1774
+ const Ta = ["item"], Zt = ({ item: e }) => {
1775
+ var t, i, a;
1535
1776
  return /* @__PURE__ */ x("div", { className: "w-full flex flex-col rounded-[20px] overflow-hidden", children: [
1536
- /* @__PURE__ */ n("div", { className: "relative w-full h-[256px]", children: /* @__PURE__ */ n(
1537
- U,
1777
+ /* @__PURE__ */ r("div", { className: "relative w-full h-[256px]", children: /* @__PURE__ */ r(
1778
+ $,
1538
1779
  {
1539
1780
  src: e == null ? void 0 : e.image,
1540
1781
  alt: e == null ? void 0 : e.title,
@@ -1543,41 +1784,41 @@ const aa = ["item"], Ht = ({ item: e }) => {
1543
1784
  }
1544
1785
  ) }),
1545
1786
  /* @__PURE__ */ x("div", { className: "bg-white p-[32px] flex flex-col gap-[8px] h-full", children: [
1546
- (e == null ? void 0 : e.title) && /* @__PURE__ */ n("p", { className: "text-[24px] leading-[32px] font-bold", children: e == null ? void 0 : e.title }),
1547
- (e == null ? void 0 : e.subtitle) && /* @__PURE__ */ n("p", { className: "text-[14px] leading-[20px] text-graySoft", children: e == null ? void 0 : e.subtitle }),
1548
- (e == null ? void 0 : e.button.button_link) && ((t = e == null ? void 0 : e.button) == null ? void 0 : t.button_text) && /* @__PURE__ */ n(
1787
+ (e == null ? void 0 : e.title) && /* @__PURE__ */ r("p", { className: "text-[24px] leading-[32px] font-bold", children: e == null ? void 0 : e.title }),
1788
+ (e == null ? void 0 : e.subtitle) && /* @__PURE__ */ r("p", { className: "text-[14px] leading-[20px] text-graySoft", children: e == null ? void 0 : e.subtitle }),
1789
+ (e == null ? void 0 : e.button.button_link) && ((t = e == null ? void 0 : e.button) == null ? void 0 : t.button_text) && /* @__PURE__ */ r(
1549
1790
  "a",
1550
1791
  {
1551
1792
  href: (i = e == null ? void 0 : e.button) == null ? void 0 : i.button_link,
1552
1793
  className: "mt-[24px]",
1553
- children: /* @__PURE__ */ n(P, { variant: B.SecondaryBlue, children: (r = e == null ? void 0 : e.button) == null ? void 0 : r.button_text })
1794
+ children: /* @__PURE__ */ r(I, { variant: B.SecondaryBlue, children: (a = e == null ? void 0 : e.button) == null ? void 0 : a.button_text })
1554
1795
  }
1555
1796
  )
1556
1797
  ] })
1557
1798
  ] });
1558
1799
  };
1559
- Ht.propsToEdit = aa;
1560
- const ra = ["title", "cards", "button_link", "button_text", "grid"], Ot = ({
1800
+ Zt.propsToEdit = Ta;
1801
+ const Ba = ["title", "cards", "button_link", "button_text", "grid"], zt = ({
1561
1802
  title: e,
1562
1803
  cards: t,
1563
1804
  button_link: i,
1564
- button_text: r,
1565
- grid: s = 3
1566
- }) => /* @__PURE__ */ x(R, { className: "flex flex-col items-center", children: [
1567
- e && /* @__PURE__ */ n("p", { className: "text-[44px] leading-[52px] font-bold text-center mb-[48px]", children: e }),
1568
- /* @__PURE__ */ n("div", { className: `grid grid-cols-${s} items-stretch gap-[24px]`, children: t == null ? void 0 : t.map((o) => /* @__PURE__ */ n(Ht, { item: o })) }),
1569
- i && r && /* @__PURE__ */ n(
1805
+ button_text: a,
1806
+ grid: n = 3
1807
+ }) => /* @__PURE__ */ x(V, { className: "flex flex-col items-center", children: [
1808
+ e && /* @__PURE__ */ r("p", { className: "text-[44px] leading-[52px] font-bold text-center mb-[48px]", children: e }),
1809
+ /* @__PURE__ */ r("div", { className: `grid grid-cols-${n} items-stretch gap-[24px]`, children: t == null ? void 0 : t.map((s) => /* @__PURE__ */ r(Zt, { item: s })) }),
1810
+ i && a && /* @__PURE__ */ r(
1570
1811
  "a",
1571
1812
  {
1572
1813
  href: i,
1573
1814
  target: "_blank",
1574
1815
  className: "mt-[24px]",
1575
- children: /* @__PURE__ */ n(P, { children: r })
1816
+ children: /* @__PURE__ */ r(I, { children: a })
1576
1817
  }
1577
1818
  )
1578
1819
  ] });
1579
- Ot.propsToEdit = ra;
1580
- const na = ({ size: e, ...t }) => /* @__PURE__ */ x(
1820
+ zt.propsToEdit = Ba;
1821
+ const Sa = ({ size: e, ...t }) => /* @__PURE__ */ x(
1581
1822
  "svg",
1582
1823
  {
1583
1824
  xmlns: "http://www.w3.org/2000/svg",
@@ -1587,14 +1828,14 @@ const na = ({ size: e, ...t }) => /* @__PURE__ */ x(
1587
1828
  fill: "none",
1588
1829
  ...t,
1589
1830
  children: [
1590
- /* @__PURE__ */ n(
1831
+ /* @__PURE__ */ r(
1591
1832
  "path",
1592
1833
  {
1593
1834
  d: "M0 24C0 10.7452 10.7452 0 24 0C37.2548 0 48 10.7452 48 24C48 37.2548 37.2548 48 24 48C10.7452 48 0 37.2548 0 24Z",
1594
1835
  fill: "#1B1E22"
1595
1836
  }
1596
1837
  ),
1597
- /* @__PURE__ */ n(
1838
+ /* @__PURE__ */ r(
1598
1839
  "path",
1599
1840
  {
1600
1841
  d: "M0 24C0 10.7452 10.7452 0 24 0C37.2548 0 48 10.7452 48 24C48 37.2548 37.2548 48 24 48C10.7452 48 0 37.2548 0 24Z",
@@ -1602,7 +1843,7 @@ const na = ({ size: e, ...t }) => /* @__PURE__ */ x(
1602
1843
  "fill-opacity": "0.2"
1603
1844
  }
1604
1845
  ),
1605
- /* @__PURE__ */ n(
1846
+ /* @__PURE__ */ r(
1606
1847
  "path",
1607
1848
  {
1608
1849
  "fill-rule": "evenodd",
@@ -1611,7 +1852,7 @@ const na = ({ size: e, ...t }) => /* @__PURE__ */ x(
1611
1852
  fill: "white"
1612
1853
  }
1613
1854
  ),
1614
- /* @__PURE__ */ n(
1855
+ /* @__PURE__ */ r(
1615
1856
  "path",
1616
1857
  {
1617
1858
  "fill-rule": "evenodd",
@@ -1632,14 +1873,14 @@ const na = ({ size: e, ...t }) => /* @__PURE__ */ x(
1632
1873
  y2: "48",
1633
1874
  gradientUnits: "userSpaceOnUse",
1634
1875
  children: [
1635
- /* @__PURE__ */ n(
1876
+ /* @__PURE__ */ r(
1636
1877
  "stop",
1637
1878
  {
1638
1879
  "stop-color": "white",
1639
1880
  "stop-opacity": "0"
1640
1881
  }
1641
1882
  ),
1642
- /* @__PURE__ */ n(
1883
+ /* @__PURE__ */ r(
1643
1884
  "stop",
1644
1885
  {
1645
1886
  offset: "1",
@@ -1659,15 +1900,15 @@ const na = ({ size: e, ...t }) => /* @__PURE__ */ x(
1659
1900
  y2: "32",
1660
1901
  gradientUnits: "userSpaceOnUse",
1661
1902
  children: [
1662
- /* @__PURE__ */ n("stop", { "stop-opacity": "0" }),
1663
- /* @__PURE__ */ n("stop", { offset: "1" })
1903
+ /* @__PURE__ */ r("stop", { "stop-opacity": "0" }),
1904
+ /* @__PURE__ */ r("stop", { offset: "1" })
1664
1905
  ]
1665
1906
  }
1666
1907
  )
1667
1908
  ] })
1668
1909
  ]
1669
1910
  }
1670
- ), la = ({ size: e, color: t, ...i }) => /* @__PURE__ */ n(
1911
+ ), Ea = ({ size: e, color: t, ...i }) => /* @__PURE__ */ r(
1671
1912
  "svg",
1672
1913
  {
1673
1914
  xmlns: "http://www.w3.org/2000/svg",
@@ -1676,7 +1917,7 @@ const na = ({ size: e, ...t }) => /* @__PURE__ */ x(
1676
1917
  viewBox: "0 0 20 22",
1677
1918
  fill: "none",
1678
1919
  ...i,
1679
- children: /* @__PURE__ */ n(
1920
+ children: /* @__PURE__ */ r(
1680
1921
  "path",
1681
1922
  {
1682
1923
  d: "M1.24254 17.9701L0.272393 18.2127L0.272393 18.2127L1.24254 17.9701ZM18.7575 17.9701L17.7873 17.7276V17.7276L18.7575 17.9701ZM17.6693 20.5764L17.0539 19.7882V19.7882L17.6693 20.5764ZM2.33073 20.5764L2.94614 19.7882H2.94614L2.33073 20.5764ZM7.17157 12.1716L6.46447 12.8787H6.46447L7.17157 12.1716ZM12.8284 12.1716L12.1213 11.4645L12.8284 12.1716ZM0.0298575 17.2425L0.272393 18.2127L2.21268 17.7276L1.97014 16.7575L0.0298575 17.2425ZM5.12311 22H14.8769V20H5.12311V22ZM19.7276 18.2127L19.9701 17.2425L18.0299 16.7575L17.7873 17.7276L19.7276 18.2127ZM14.8769 22C15.6025 22 16.235 22.0017 16.7508 21.94C17.2934 21.8751 17.8165 21.7302 18.2847 21.3646L17.0539 19.7882C16.9796 19.8462 16.8564 19.9131 16.5134 19.9541C16.1436 19.9983 15.6512 20 14.8769 20V22ZM17.7873 17.7276C17.5995 18.4788 17.4785 18.9561 17.3459 19.3041C17.2229 19.6269 17.1281 19.7302 17.0539 19.7882L18.2847 21.3646C18.7529 20.999 19.0203 20.5267 19.2149 20.0161C19.3998 19.5306 19.5516 18.9166 19.7276 18.2127L17.7873 17.7276ZM0.272393 18.2127C0.448378 18.9166 0.600166 19.5306 0.785121 20.0161C0.979652 20.5267 1.24708 20.999 1.71532 21.3646L2.94614 19.7882C2.87185 19.7302 2.77708 19.6269 2.65409 19.3041C2.52152 18.9561 2.40047 18.4788 2.21268 17.7276L0.272393 18.2127ZM5.12311 20C4.34881 20 3.85637 19.9983 3.48663 19.9541C3.14361 19.9131 3.02043 19.8462 2.94614 19.7882L1.71532 21.3646C2.18355 21.7302 2.70661 21.8751 3.24917 21.94C3.76501 22.0017 4.3975 22 5.12311 22V20ZM7.87868 11.4645L4.70711 8.29289L3.29289 9.70711L6.46447 12.8787L7.87868 11.4645ZM13.5355 12.8787L16.7071 9.70711L15.2929 8.29289L12.1213 11.4645L13.5355 12.8787ZM6.46447 12.8787C7.11114 13.5254 7.66578 14.083 8.16855 14.4666C8.69438 14.8678 9.27923 15.1716 10 15.1716V13.1716C9.89234 13.1716 9.72964 13.142 9.38171 12.8766C9.0107 12.5935 8.56534 12.1511 7.87868 11.4645L6.46447 12.8787ZM12.1213 11.4645C11.4347 12.1511 10.9893 12.5935 10.6183 12.8766C10.2704 13.142 10.1077 13.1716 10 13.1716V15.1716C10.7208 15.1716 11.3056 14.8678 11.8315 14.4666C12.3342 14.083 12.8889 13.5254 13.5355 12.8787L12.1213 11.4645ZM9 0V14H11V0H9Z",
@@ -1684,7 +1925,7 @@ const na = ({ size: e, ...t }) => /* @__PURE__ */ x(
1684
1925
  }
1685
1926
  )
1686
1927
  }
1687
- ), sa = ({ size: e, color: t, ...i }) => /* @__PURE__ */ n(
1928
+ ), Ia = ({ size: e, color: t, ...i }) => /* @__PURE__ */ r(
1688
1929
  "svg",
1689
1930
  {
1690
1931
  xmlns: "http://www.w3.org/2000/svg",
@@ -1693,7 +1934,7 @@ const na = ({ size: e, ...t }) => /* @__PURE__ */ x(
1693
1934
  viewBox: "0 0 66 82",
1694
1935
  fill: "none",
1695
1936
  ...i,
1696
- children: /* @__PURE__ */ n(
1937
+ children: /* @__PURE__ */ r(
1697
1938
  "path",
1698
1939
  {
1699
1940
  "fill-rule": "evenodd",
@@ -1703,7 +1944,7 @@ const na = ({ size: e, ...t }) => /* @__PURE__ */ x(
1703
1944
  }
1704
1945
  )
1705
1946
  }
1706
- ), oa = ({ size: e, ...t }) => /* @__PURE__ */ n(
1947
+ ), Va = ({ size: e, ...t }) => /* @__PURE__ */ r(
1707
1948
  "svg",
1708
1949
  {
1709
1950
  xmlns: "http://www.w3.org/2000/svg",
@@ -1712,7 +1953,7 @@ const na = ({ size: e, ...t }) => /* @__PURE__ */ x(
1712
1953
  viewBox: "0 0 38 38",
1713
1954
  fill: "none",
1714
1955
  ...t,
1715
- children: /* @__PURE__ */ n(
1956
+ children: /* @__PURE__ */ r(
1716
1957
  "path",
1717
1958
  {
1718
1959
  d: "M19 37.3334C8.88329 37.3334 0.666626 29.1001 0.666626 19.0001C0.666626 8.90008 8.88329 0.666748 19 0.666748C29.1166 0.666748 37.3333 8.88342 37.3333 19.0001C37.3333 29.1167 29.1166 37.3334 19 37.3334ZM20.6666 12.3334H17.3333V15.6667H20.6666V12.3334ZM20.6666 18.1667H17.3333V27.3334H20.6666V18.1667Z",
@@ -1720,7 +1961,7 @@ const na = ({ size: e, ...t }) => /* @__PURE__ */ x(
1720
1961
  }
1721
1962
  )
1722
1963
  }
1723
- ), ca = ({ size: e, ...t }) => /* @__PURE__ */ n(
1964
+ ), Pa = ({ size: e, ...t }) => /* @__PURE__ */ r(
1724
1965
  "svg",
1725
1966
  {
1726
1967
  xmlns: "http://www.w3.org/2000/svg",
@@ -1729,7 +1970,7 @@ const na = ({ size: e, ...t }) => /* @__PURE__ */ x(
1729
1970
  viewBox: "0 0 38 38",
1730
1971
  fill: "none",
1731
1972
  ...t,
1732
- children: /* @__PURE__ */ n(
1973
+ children: /* @__PURE__ */ r(
1733
1974
  "path",
1734
1975
  {
1735
1976
  d: "M19 37.3334C8.88329 37.3334 0.666626 29.1001 0.666626 19.0001C0.666626 8.90008 8.88329 0.666748 19 0.666748C29.1166 0.666748 37.3333 8.88342 37.3333 19.0001C37.3333 29.1167 29.1166 37.3334 19 37.3334ZM20.6666 12.3334H17.3333V15.6667H20.6666V12.3334ZM20.6666 18.1667H17.3333V27.3334H20.6666V18.1667Z",
@@ -1737,89 +1978,89 @@ const na = ({ size: e, ...t }) => /* @__PURE__ */ x(
1737
1978
  }
1738
1979
  )
1739
1980
  }
1740
- ), yt = {
1741
- infoDark: oa,
1742
- infoCrown: na,
1743
- infoLight: ca,
1744
- download: la,
1745
- file: sa
1746
- }, da = {
1981
+ ), Nt = {
1982
+ infoDark: Va,
1983
+ infoCrown: Sa,
1984
+ infoLight: Pa,
1985
+ download: Ea,
1986
+ file: Ia
1987
+ }, Ma = {
1747
1988
  sm: 12,
1748
1989
  mx: 16,
1749
1990
  lx: 20,
1750
1991
  md: 24,
1751
1992
  lg: 32
1752
- }, oe = ({
1993
+ }, se = ({
1753
1994
  name: e,
1754
1995
  color: t = "currentColor",
1755
1996
  size: i = "sm",
1756
- ...r
1757
- }) => yt[e] && yt[e]({
1758
- size: typeof i == "string" ? da[i] : i,
1997
+ ...a
1998
+ }) => Nt[e] && Nt[e]({
1999
+ size: typeof i == "string" ? Ma[i] : i,
1759
2000
  color: t,
1760
2001
  name: e,
1761
- ...r
1762
- }), pa = ["title", "description", "button_text", "variant"], Ut = ({
2002
+ ...a
2003
+ }), Aa = ["title", "description", "button_text", "variant"], Wt = ({
1763
2004
  title: e,
1764
2005
  description: t,
1765
2006
  button_text: i,
1766
- variant: r
1767
- }) => /* @__PURE__ */ n(R, { children: /* @__PURE__ */ n(
2007
+ variant: a
2008
+ }) => /* @__PURE__ */ r(V, { children: /* @__PURE__ */ r(
1768
2009
  "div",
1769
2010
  {
1770
2011
  className: "rounded-[24px] p-6",
1771
- style: { background: Be[r].background },
2012
+ style: { background: Se[a].background },
1772
2013
  children: /* @__PURE__ */ x("div", { className: "flex gap-4 items-center justify-between", children: [
1773
2014
  /* @__PURE__ */ x("div", { className: "flex gap-4 items-center", children: [
1774
- /* @__PURE__ */ n(
1775
- oe,
2015
+ /* @__PURE__ */ r(
2016
+ se,
1776
2017
  {
1777
- name: Be[r].icon,
2018
+ name: Se[a].icon,
1778
2019
  size: 40
1779
2020
  }
1780
2021
  ),
1781
2022
  /* @__PURE__ */ x("div", { className: "flex flex-col gap-1", children: [
1782
- /* @__PURE__ */ n(
2023
+ /* @__PURE__ */ r(
1783
2024
  "p",
1784
2025
  {
1785
- className: F("text-[24px] leading-8 font-bold"),
1786
- style: { color: Be[r].textColor },
2026
+ className: y("text-[24px] leading-8 font-bold"),
2027
+ style: { color: Se[a].textColor },
1787
2028
  children: e
1788
2029
  }
1789
2030
  ),
1790
- /* @__PURE__ */ n(
2031
+ /* @__PURE__ */ r(
1791
2032
  "p",
1792
2033
  {
1793
2034
  className: "text-[16px] leading-6",
1794
- style: { color: Be[r].textColor },
2035
+ style: { color: Se[a].textColor },
1795
2036
  children: t
1796
2037
  }
1797
2038
  )
1798
2039
  ] })
1799
2040
  ] }),
1800
- /* @__PURE__ */ n(P, { variant: B.Static, children: i })
2041
+ /* @__PURE__ */ r(I, { variant: B.Static, children: i })
1801
2042
  ] })
1802
2043
  }
1803
2044
  ) });
1804
- Ut.propsToEdit = pa;
1805
- const ma = ["data"], jt = ({
2045
+ Wt.propsToEdit = Aa;
2046
+ const Oa = ["data"], Qt = ({
1806
2047
  id: e,
1807
2048
  title: t,
1808
2049
  text: i,
1809
- link: r
1810
- }) => /* @__PURE__ */ n(R, { children: /* @__PURE__ */ x("div", { className: "p-[48px] bg-white rounded-[20px] flex justify-between gap-[64px] max-tablet:flex-col-reverse max-tablet:gap-8", children: [
1811
- /* @__PURE__ */ n("div", { className: "flex flex-col ", children: /* @__PURE__ */ x("div", { children: [
1812
- /* @__PURE__ */ n("p", { className: "text-[32px] leading-10 font-bold mb-4", children: t }),
1813
- /* @__PURE__ */ n("p", { className: "text-[16px] leading-6", children: i }),
1814
- /* @__PURE__ */ n("a", { href: r, children: /* @__PURE__ */ n(
1815
- P,
1816
- {
1817
- iconRight: /* @__PURE__ */ n(
1818
- oe,
2050
+ link: a
2051
+ }) => /* @__PURE__ */ r(V, { children: /* @__PURE__ */ x("div", { className: "p-[48px] bg-white rounded-[20px] flex justify-between gap-[64px] max-tablet:flex-col-reverse max-tablet:gap-8", children: [
2052
+ /* @__PURE__ */ r("div", { className: "flex flex-col ", children: /* @__PURE__ */ x("div", { children: [
2053
+ /* @__PURE__ */ r("p", { className: "text-[32px] leading-10 font-bold mb-4", children: t }),
2054
+ /* @__PURE__ */ r("p", { className: "text-[16px] leading-6", children: i }),
2055
+ /* @__PURE__ */ r("a", { href: a, children: /* @__PURE__ */ r(
2056
+ I,
2057
+ {
2058
+ iconRight: /* @__PURE__ */ r(
2059
+ se,
1819
2060
  {
1820
2061
  name: "download",
1821
2062
  size: 20,
1822
- color: se.blackBG
2063
+ color: ne.blackBG
1823
2064
  }
1824
2065
  ),
1825
2066
  className: "mt-8",
@@ -1827,66 +2068,66 @@ const ma = ["data"], jt = ({
1827
2068
  }
1828
2069
  ) })
1829
2070
  ] }) }),
1830
- /* @__PURE__ */ n(
1831
- oe,
2071
+ /* @__PURE__ */ r(
2072
+ se,
1832
2073
  {
1833
2074
  className: "flex-shrink-0",
1834
2075
  name: "file",
1835
- color: se.greenLight,
2076
+ color: ne.greenLight,
1836
2077
  size: 82
1837
2078
  }
1838
2079
  )
1839
2080
  ] }) });
1840
- jt.propsToEdit = ma;
1841
- const ua = ["data"], Gt = ({ data: e }) => /* @__PURE__ */ n(R, { children: /* @__PURE__ */ n("div", { className: "flex flex-col gap-2", children: e == null ? void 0 : e.map((t) => /* @__PURE__ */ x("div", { className: "px-[48px] py-8 bg-white rounded-[20px] flex justify-between items-center gap-[64px]", children: [
2081
+ Qt.propsToEdit = Oa;
2082
+ const Ra = ["data"], Jt = ({ data: e }) => /* @__PURE__ */ r(V, { children: /* @__PURE__ */ r("div", { className: "flex flex-col gap-2", children: e == null ? void 0 : e.map((t) => /* @__PURE__ */ x("div", { className: "px-[48px] py-8 bg-white rounded-[20px] flex justify-between items-center gap-[64px]", children: [
1842
2083
  /* @__PURE__ */ x("div", { className: "flex items-center gap-4 max-tablet:flex-col max-tablet:items-start", children: [
1843
- /* @__PURE__ */ n(
1844
- oe,
2084
+ /* @__PURE__ */ r(
2085
+ se,
1845
2086
  {
1846
2087
  className: "flex-shrink-0",
1847
2088
  name: "file",
1848
- color: se.greenLight,
2089
+ color: ne.greenLight,
1849
2090
  size: 44
1850
2091
  }
1851
2092
  ),
1852
2093
  /* @__PURE__ */ x("div", { className: "flex flex-col max-tablet:gap-2 ", children: [
1853
- /* @__PURE__ */ n("p", { className: "text-[20px] leading-7 font-bold", children: t == null ? void 0 : t.title }),
1854
- /* @__PURE__ */ n("p", { className: "text-[16px] leading-6", children: t == null ? void 0 : t.text })
2094
+ /* @__PURE__ */ r("p", { className: "text-[20px] leading-7 font-bold", children: t == null ? void 0 : t.title }),
2095
+ /* @__PURE__ */ r("p", { className: "text-[16px] leading-6", children: t == null ? void 0 : t.text })
1855
2096
  ] })
1856
2097
  ] }),
1857
- /* @__PURE__ */ n(
1858
- P,
2098
+ /* @__PURE__ */ r(
2099
+ I,
1859
2100
  {
1860
2101
  variant: B.Secondary,
1861
- iconRight: /* @__PURE__ */ n(
1862
- oe,
2102
+ iconRight: /* @__PURE__ */ r(
2103
+ se,
1863
2104
  {
1864
2105
  name: "download",
1865
2106
  size: 20,
1866
- color: se.blackBG
2107
+ color: ne.blackBG
1867
2108
  }
1868
2109
  )
1869
2110
  }
1870
2111
  )
1871
2112
  ] })) }) });
1872
- Gt.propsToEdit = ua;
1873
- const ga = ["data"], $t = ({ data: e }) => /* @__PURE__ */ n(R, { children: /* @__PURE__ */ n("div", { className: "grid grid-cols-2 gap-6 max-tablet:grid-cols-1", children: e == null ? void 0 : e.map((t) => /* @__PURE__ */ x(
2113
+ Jt.propsToEdit = Ra;
2114
+ const qa = ["data"], Xt = ({ data: e }) => /* @__PURE__ */ r(V, { children: /* @__PURE__ */ r("div", { className: "grid grid-cols-2 gap-6 max-tablet:grid-cols-1", children: e == null ? void 0 : e.map((t) => /* @__PURE__ */ x(
1874
2115
  "div",
1875
2116
  {
1876
2117
  className: "p-[32px] bg-white rounded-[20px] flex justify-between gap-[40px]",
1877
2118
  children: [
1878
- /* @__PURE__ */ n("div", { className: "flex flex-col ", children: /* @__PURE__ */ x("div", { children: [
1879
- /* @__PURE__ */ n("p", { className: "text-[24px] leading-8 font-bold mb-4", children: t == null ? void 0 : t.title }),
1880
- /* @__PURE__ */ n("p", { className: "text-[16px] leading-6", children: t == null ? void 0 : t.text }),
1881
- /* @__PURE__ */ n(
1882
- P,
2119
+ /* @__PURE__ */ r("div", { className: "flex flex-col ", children: /* @__PURE__ */ x("div", { children: [
2120
+ /* @__PURE__ */ r("p", { className: "text-[24px] leading-8 font-bold mb-4", children: t == null ? void 0 : t.title }),
2121
+ /* @__PURE__ */ r("p", { className: "text-[16px] leading-6", children: t == null ? void 0 : t.text }),
2122
+ /* @__PURE__ */ r(
2123
+ I,
1883
2124
  {
1884
- iconRight: /* @__PURE__ */ n(
1885
- oe,
2125
+ iconRight: /* @__PURE__ */ r(
2126
+ se,
1886
2127
  {
1887
2128
  name: "download",
1888
2129
  size: 20,
1889
- color: se.blackBG
2130
+ color: ne.blackBG
1890
2131
  }
1891
2132
  ),
1892
2133
  className: "mt-8",
@@ -1895,12 +2136,12 @@ const ga = ["data"], $t = ({ data: e }) => /* @__PURE__ */ n(R, { children: /* @
1895
2136
  }
1896
2137
  )
1897
2138
  ] }) }),
1898
- /* @__PURE__ */ n(
1899
- oe,
2139
+ /* @__PURE__ */ r(
2140
+ se,
1900
2141
  {
1901
2142
  className: "flex-shrink-0",
1902
2143
  name: "file",
1903
- color: se.greenLight,
2144
+ color: ne.greenLight,
1904
2145
  size: 48
1905
2146
  }
1906
2147
  )
@@ -1908,33 +2149,33 @@ const ga = ["data"], $t = ({ data: e }) => /* @__PURE__ */ n(R, { children: /* @
1908
2149
  },
1909
2150
  t == null ? void 0 : t.id
1910
2151
  )) }) });
1911
- $t.propsToEdit = ga;
1912
- const xa = ["data"], Zt = ({ data: e }) => /* @__PURE__ */ n(R, { children: /* @__PURE__ */ n("div", { className: "grid grid-cols-4 gap-6 max-tablet:grid-cols-1", children: e == null ? void 0 : e.map((t) => /* @__PURE__ */ x(
2152
+ Xt.propsToEdit = qa;
2153
+ const $a = ["data"], Yt = ({ data: e }) => /* @__PURE__ */ r(V, { children: /* @__PURE__ */ r("div", { className: "grid grid-cols-4 gap-6 max-tablet:grid-cols-1", children: e == null ? void 0 : e.map((t) => /* @__PURE__ */ x(
1913
2154
  "div",
1914
2155
  {
1915
2156
  className: "p-[24px] bg-white rounded-[20px] flex flex-col gap-8",
1916
2157
  children: [
1917
- /* @__PURE__ */ n(
1918
- oe,
2158
+ /* @__PURE__ */ r(
2159
+ se,
1919
2160
  {
1920
2161
  name: "file",
1921
- color: se.greenLight,
2162
+ color: ne.greenLight,
1922
2163
  size: 44
1923
2164
  }
1924
2165
  ),
1925
2166
  /* @__PURE__ */ x("div", { className: "flex flex-col gap-4", children: [
1926
- /* @__PURE__ */ n("p", { className: "text-[20px] leading-[28px] font-bold", children: t == null ? void 0 : t.title }),
1927
- /* @__PURE__ */ n("p", { className: "text-[16px] leading-6", children: t == null ? void 0 : t.text })
2167
+ /* @__PURE__ */ r("p", { className: "text-[20px] leading-[28px] font-bold", children: t == null ? void 0 : t.title }),
2168
+ /* @__PURE__ */ r("p", { className: "text-[16px] leading-6", children: t == null ? void 0 : t.text })
1928
2169
  ] }),
1929
- /* @__PURE__ */ n(
1930
- P,
2170
+ /* @__PURE__ */ r(
2171
+ I,
1931
2172
  {
1932
- iconRight: /* @__PURE__ */ n(
1933
- oe,
2173
+ iconRight: /* @__PURE__ */ r(
2174
+ se,
1934
2175
  {
1935
2176
  name: "download",
1936
2177
  size: 20,
1937
- color: se.blackBG
2178
+ color: ne.blackBG
1938
2179
  }
1939
2180
  ),
1940
2181
  className: "w-full",
@@ -1946,60 +2187,147 @@ const xa = ["data"], Zt = ({ data: e }) => /* @__PURE__ */ n(R, { children: /* @
1946
2187
  },
1947
2188
  t == null ? void 0 : t.id
1948
2189
  )) }) });
1949
- Zt.propsToEdit = xa;
1950
- const ba = ({ data: e, className: t }) => {
2190
+ Yt.propsToEdit = $a;
2191
+ const Kt = {
2192
+ type: "data",
2193
+ label: "Данные",
2194
+ dataType: "object",
2195
+ data: {
2196
+ keys: {
2197
+ title: b.TITLE,
2198
+ icon: b.FILE
2199
+ }
2200
+ }
2201
+ }, ja = [Kt, "turnover"], ei = ({ data: e, turnover: t, imageStyles: i }) => /* @__PURE__ */ x(
2202
+ "div",
2203
+ {
2204
+ className: y(
2205
+ "flex flex-col items-center gap-[30px] bg-white rounded-[20px] flex-1",
2206
+ t && "flex-row max-tablet:flex-col"
2207
+ ),
2208
+ children: [
2209
+ /* @__PURE__ */ r(
2210
+ "div",
2211
+ {
2212
+ className: y(
2213
+ "px-[24px] pt-[24px] w-full",
2214
+ t && "px-0 max-tablet:px-[24px]"
2215
+ ),
2216
+ children: /* @__PURE__ */ r(
2217
+ "p",
2218
+ {
2219
+ className: y(
2220
+ "text-[24px] font-medium leading-[32px] text-bgBlack text-center m-0 break-words",
2221
+ t && "text-left pl-[24px] max-tablet:text-center",
2222
+ "max-tablet:text-[22px] max-tablet:leading-[26px]"
2223
+ ),
2224
+ children: e == null ? void 0 : e.title
2225
+ }
2226
+ )
2227
+ }
2228
+ ),
2229
+ (e == null ? void 0 : e.icon) && /* @__PURE__ */ r(
2230
+ $,
2231
+ {
2232
+ src: e.icon,
2233
+ alt: e.title || "image",
2234
+ className: y("w-full h-[164px]", i),
2235
+ imageStyles: "object-contain object-bottom"
2236
+ }
2237
+ )
2238
+ ]
2239
+ }
2240
+ );
2241
+ ei.propsToEdit = ja;
2242
+ const Ha = {
2243
+ type: "cards",
2244
+ label: "Карточки",
2245
+ dataType: "array",
2246
+ data: {
2247
+ ...Kt
2248
+ }
2249
+ }, Ua = ["title", Ha, "turnover"], ti = ({
2250
+ title: e,
2251
+ cards: t,
2252
+ turnover: i = !1
2253
+ }) => /* @__PURE__ */ x(V, { className: "flex flex-col items-stretch gap-[48px]", children: [
2254
+ e && /* @__PURE__ */ r("p", { className: "text-bgBlack text-center text-[44px] font-bold leading-[52px] m-0 max-tablet:text-[26px] max-tablet:leading-[32px]", children: e }),
2255
+ /* @__PURE__ */ r("div", { className: "flex gap-[24px] max-tablet:flex-col max-tablet:gap-[16px]", children: t == null ? void 0 : t.map((a, n) => /* @__PURE__ */ r(
2256
+ ei,
2257
+ {
2258
+ data: a,
2259
+ turnover: i
2260
+ },
2261
+ n
2262
+ )) })
2263
+ ] });
2264
+ ti.propsToEdit = Ua;
2265
+ const ii = {
2266
+ type: "data",
2267
+ label: "Данные",
2268
+ dataType: "object",
2269
+ data: {
2270
+ keys: {
2271
+ title: b.TITLE,
2272
+ description: b.DESCRIPTION
2273
+ }
2274
+ }
2275
+ }, Ga = [ii, "className"], Ke = ({ data: e, className: t }) => {
1951
2276
  var i;
1952
2277
  return /* @__PURE__ */ x(
1953
2278
  "div",
1954
2279
  {
1955
- className: F(
2280
+ className: y(
1956
2281
  "w-full grid grid-cols-[1fr_3fr] gap-[24px] py-[24px] border-b border-lightGray8 first:pt-0 first:pb-[24px] last:pt-[24px] last:pb-0 last:border-b-0",
1957
2282
  "max-tablet:grid-cols-[140px_1fr] max-tablet:items-start max-tablet:gap-[12px] max-tablet:py-[16px] max-tablet:first:pt-0 max-tablet:first:pb-[16px] max-tablet:last:pt-[16px] max-tablet:last:pb-0 max-tablet:last:border-b-0",
1958
2283
  t
1959
2284
  ),
1960
2285
  children: [
1961
- /* @__PURE__ */ n("p", { className: "text-[18px] leading-[26px] font-medium text-graySoft m-0 max-tablet:text-[13px] max-tablet:leading-[16px] max-tablet:w-[140px] max-tablet:break-words", children: e == null ? void 0 : e.title }),
1962
- /* @__PURE__ */ n("div", { className: "grid grid-cols-3 gap-[24px] w-full max-tablet:grid-cols-1 max-tablet:gap-0 max-tablet:w-auto", children: (i = e == null ? void 0 : e.columns) == null ? void 0 : i.map((r) => /* @__PURE__ */ x(
2286
+ /* @__PURE__ */ r("p", { className: "text-[18px] leading-[26px] font-medium text-graySoft m-0 max-tablet:text-[13px] max-tablet:leading-[16px] max-tablet:w-[140px] max-tablet:break-words", children: e == null ? void 0 : e.title }),
2287
+ /* @__PURE__ */ r("div", { className: "grid grid-cols-3 gap-[24px] w-full max-tablet:grid-cols-1 max-tablet:gap-0 max-tablet:w-auto", children: (i = e == null ? void 0 : e.columns) == null ? void 0 : i.map((a) => /* @__PURE__ */ x(
1963
2288
  "div",
1964
2289
  {
1965
2290
  className: "w-full flex flex-col gap-[8px] max-tablet:py-[16px] max-tablet:border-b max-tablet:border-lightGray8 first:max-tablet:pt-0 first:max-tablet:pb-[16px] last:max-tablet:pt-[16px] last:max-tablet:pb-0 last:max-tablet:border-b-0",
1966
2291
  children: [
1967
- (r == null ? void 0 : r.title) && /* @__PURE__ */ n("p", { className: "text-[18px] leading-[26px] font-medium m-0 break-words whitespace-pre-line", children: r == null ? void 0 : r.title }),
1968
- (r == null ? void 0 : r.description) && /* @__PURE__ */ n("div", { className: "text-[14px] leading-[20px] text-graySoft whitespace-pre-line max-[420px]:whitespace-normal max-[420px]:break-words max-tablet:text-[13px] max-tablet:leading-[16px]", children: r == null ? void 0 : r.description })
2292
+ (a == null ? void 0 : a.title) && /* @__PURE__ */ r("p", { className: "text-[18px] leading-[26px] font-medium m-0 break-words whitespace-pre-line", children: a == null ? void 0 : a.title }),
2293
+ (a == null ? void 0 : a.description) && /* @__PURE__ */ r("div", { className: "text-[14px] leading-[20px] text-graySoft whitespace-pre-line max-[420px]:whitespace-normal max-[420px]:break-words max-tablet:text-[13px] max-tablet:leading-[16px]", children: a == null ? void 0 : a.description })
1969
2294
  ]
1970
2295
  },
1971
- r == null ? void 0 : r.id
2296
+ a == null ? void 0 : a.id
1972
2297
  )) })
1973
2298
  ]
1974
2299
  }
1975
2300
  );
1976
- }, fa = ({
2301
+ };
2302
+ Ke.propsToEdit = Ga;
2303
+ Ke.displayName = "CardRowInfo";
2304
+ const Za = ({
1977
2305
  data: e,
1978
2306
  title: t,
1979
2307
  description: i,
1980
- image: r,
1981
- className: s
2308
+ image: a,
2309
+ className: n
1982
2310
  }) => /* @__PURE__ */ x(
1983
2311
  "div",
1984
2312
  {
1985
- className: F(
2313
+ className: y(
1986
2314
  "w-full flex justify-between gap-[20px] bg-[#5f6e7b10] p-[32px] rounded-[20px]",
1987
2315
  "max-tablet:flex-col max-tablet:items-stretch max-tablet:gap-[24px] max-tablet:p-[16px] max-tablet:h-fit",
1988
- s
2316
+ n
1989
2317
  ),
1990
2318
  children: [
1991
2319
  /* @__PURE__ */ x(
1992
2320
  "div",
1993
2321
  {
1994
- className: F(
2322
+ className: y(
1995
2323
  "flex gap-[16px] items-center justify-center basis-[70%]",
1996
2324
  "max-tablet:flex-col max-tablet:items-start max-tablet:gap-[12px] max-tablet:basis-full"
1997
2325
  ),
1998
2326
  children: [
1999
- ((e == null ? void 0 : e.necessary_icon) || r) && /* @__PURE__ */ n(
2000
- U,
2327
+ ((e == null ? void 0 : e.necessary_icon) || a) && /* @__PURE__ */ r(
2328
+ $,
2001
2329
  {
2002
- src: (e == null ? void 0 : e.necessary_icon) ?? r ?? "",
2330
+ src: (e == null ? void 0 : e.necessary_icon) ?? a ?? "",
2003
2331
  alt: (e == null ? void 0 : e.necessary_title) ?? t ?? "",
2004
2332
  width: 48,
2005
2333
  height: 48,
@@ -2008,20 +2336,20 @@ const ba = ({ data: e, className: t }) => {
2008
2336
  }
2009
2337
  ),
2010
2338
  /* @__PURE__ */ x("div", { className: "box-border max-tablet:h-fit", children: [
2011
- /* @__PURE__ */ n(
2339
+ /* @__PURE__ */ r(
2012
2340
  "p",
2013
2341
  {
2014
- className: F(
2342
+ className: y(
2015
2343
  "text-[24px] font-bold leading-[32px] m-0",
2016
2344
  "max-tablet:text-[18px] max-tablet:font-semibold max-tablet:leading-[26px]"
2017
2345
  ),
2018
2346
  children: (e == null ? void 0 : e.necessary_title) || t
2019
2347
  }
2020
2348
  ),
2021
- ((e == null ? void 0 : e.necessary_description) || i) && /* @__PURE__ */ n(
2349
+ ((e == null ? void 0 : e.necessary_description) || i) && /* @__PURE__ */ r(
2022
2350
  "p",
2023
2351
  {
2024
- className: F(
2352
+ className: y(
2025
2353
  "text-[15px] font-normal leading-[24px] m-0",
2026
2354
  "max-tablet:text-[13px] max-tablet:leading-[16px]"
2027
2355
  ),
@@ -2032,13 +2360,13 @@ const ba = ({ data: e, className: t }) => {
2032
2360
  ]
2033
2361
  }
2034
2362
  ),
2035
- (e == null ? void 0 : e.necessary_button_link) && /* @__PURE__ */ n(
2363
+ (e == null ? void 0 : e.necessary_button_link) && /* @__PURE__ */ r(
2036
2364
  "a",
2037
2365
  {
2038
2366
  href: e == null ? void 0 : e.necessary_button_link,
2039
2367
  target: "_blank",
2040
- children: /* @__PURE__ */ n(
2041
- P,
2368
+ children: /* @__PURE__ */ r(
2369
+ I,
2042
2370
  {
2043
2371
  variant: B.Static,
2044
2372
  size: Y.L,
@@ -2050,111 +2378,145 @@ const ba = ({ data: e, className: t }) => {
2050
2378
  )
2051
2379
  ]
2052
2380
  }
2053
- ), zt = wt(
2381
+ ), za = {
2382
+ type: "table",
2383
+ label: "Таблица",
2384
+ dataType: "object",
2385
+ data: {
2386
+ keys: {
2387
+ warning: {
2388
+ keys: {
2389
+ warning_title: b.TITLE,
2390
+ warning_description: b.DESCRIPTION
2391
+ }
2392
+ }
2393
+ }
2394
+ }
2395
+ }, Wa = {
2396
+ type: "rows",
2397
+ label: "Строки",
2398
+ dataType: "array",
2399
+ data: {
2400
+ ...ii
2401
+ }
2402
+ }, Qa = ["title", za, Wa], et = Ct(
2054
2403
  ({ title: e, table: t, rows: i }) => {
2055
- var r, s, o;
2056
- return /* @__PURE__ */ x(R, { children: [
2057
- e && /* @__PURE__ */ n(
2404
+ var a, n, s;
2405
+ return /* @__PURE__ */ x(V, { children: [
2406
+ e && /* @__PURE__ */ r(
2058
2407
  "p",
2059
2408
  {
2060
- className: F(
2409
+ className: y(
2061
2410
  "text-[44px] font-bold leading-[52px] mb-[48px] text-black text-center max-tablet:text-[26px] max-tablet:leading-[32px] max-tablet:mb-[32px]"
2062
2411
  ),
2063
2412
  children: e
2064
2413
  }
2065
2414
  ),
2066
2415
  /* @__PURE__ */ x("div", { className: "bg-white p-8 rounded-[20px] md:p-6", children: [
2067
- i == null ? void 0 : i.map((p) => {
2068
- var d;
2069
- return /* @__PURE__ */ n(
2070
- ba,
2416
+ i == null ? void 0 : i.map((d) => {
2417
+ var p;
2418
+ return /* @__PURE__ */ r(
2419
+ Ke,
2071
2420
  {
2072
- data: p,
2073
- className: F("border-b border-gray-200 last:border-b-0", {
2074
- "border-none": (d = t == null ? void 0 : t.warning) == null ? void 0 : d.warning_title
2421
+ data: d,
2422
+ className: y("border-b border-gray-200 last:border-b-0", {
2423
+ "border-none": (p = t == null ? void 0 : t.warning) == null ? void 0 : p.warning_title
2075
2424
  })
2076
2425
  },
2077
- p == null ? void 0 : p.id
2426
+ d == null ? void 0 : d.id
2078
2427
  );
2079
2428
  }),
2080
- ((r = t == null ? void 0 : t.warning) == null ? void 0 : r.warning_title) && /* @__PURE__ */ n(
2081
- fa,
2429
+ ((a = t == null ? void 0 : t.warning) == null ? void 0 : a.warning_title) && /* @__PURE__ */ r(
2430
+ Za,
2082
2431
  {
2083
2432
  className: "!flex-auto [&_p:first-child]:text-[16px] [&_p:first-child]:leading-[24px] [&_p:last-child]:text-[15px] [&_p:last-child]:leading-[22px]",
2084
- title: (s = t == null ? void 0 : t.warning) == null ? void 0 : s.warning_title,
2085
- description: (o = t == null ? void 0 : t.warning) == null ? void 0 : o.warning_description
2433
+ title: (n = t == null ? void 0 : t.warning) == null ? void 0 : n.warning_title,
2434
+ description: (s = t == null ? void 0 : t.warning) == null ? void 0 : s.warning_description
2086
2435
  }
2087
2436
  )
2088
2437
  ] })
2089
2438
  ] });
2090
2439
  }
2091
2440
  );
2092
- zt.displayName = "CardInfoTable";
2093
- const ha = ({
2441
+ et.propsToEdit = Qa;
2442
+ et.displayName = "CardInfoTable";
2443
+ const Ja = [
2444
+ "title",
2445
+ "description",
2446
+ "file",
2447
+ "icon",
2448
+ "button_text",
2449
+ "button_link",
2450
+ "variant",
2451
+ "buttonVariant",
2452
+ "className",
2453
+ "isDark",
2454
+ "linkClassName"
2455
+ ], ai = ({
2094
2456
  title: e,
2095
2457
  description: t,
2096
2458
  file: i,
2097
- icon: r,
2098
- button_text: s,
2099
- button_link: o,
2100
- variant: p = "big",
2101
- buttonVariant: d,
2102
- className: _ = "",
2103
- isDark: C,
2104
- linkClassName: w = ""
2459
+ icon: a,
2460
+ button_text: n,
2461
+ button_link: s,
2462
+ variant: d = "big",
2463
+ buttonVariant: p,
2464
+ className: v = "",
2465
+ isDark: L,
2466
+ linkClassName: F = ""
2105
2467
  }) => {
2106
- const k = Fe(960), H = p === "big" ? k ? 106 : 343 : k ? 106 : 64, M = d === B.Brand;
2468
+ const k = Fe(960), Q = d === "big" ? k ? 106 : 343 : k ? 106 : 64, P = p === B.Brand;
2107
2469
  return /* @__PURE__ */ x(
2108
- R,
2470
+ V,
2109
2471
  {
2110
2472
  className: `flex justify-between items-center rounded-[20px]
2111
- ${p === "big" ? "p-[48px]" : "p-[32px] gap-[32px]"}
2112
- ${C ? "bg-black7" : "bg-white"}
2473
+ ${d === "big" ? "p-[48px]" : "p-[32px] gap-[32px]"}
2474
+ ${L ? "bg-black7" : "bg-white"}
2113
2475
  max-tablet:flex-col max-tablet:items-start max-tablet:justify-start max-tablet:p-[24px] max-tablet:gap-[0] max-tablet:my-[48px] my-[88px]
2114
2476
  max-tablet:relative w-[calc(100%-239px)]
2115
- ${_}`,
2477
+ ${v}`,
2116
2478
  children: [
2117
2479
  /* @__PURE__ */ x("div", { className: "flex flex-col h-full w-full", children: [
2118
- /* @__PURE__ */ n(
2480
+ /* @__PURE__ */ r(
2119
2481
  "p",
2120
2482
  {
2121
2483
  className: `font-[700]
2122
- ${C ? "text-[#f4f6f7]" : "text-[#0e0f11]"}
2123
- ${p === "big" ? "text-[32px] leading-[40px]" : "text-[24px] leading-[32px]"}
2484
+ ${L ? "text-[#f4f6f7]" : "text-[#0e0f11]"}
2485
+ ${d === "big" ? "text-[32px] leading-[40px]" : "text-[24px] leading-[32px]"}
2124
2486
  max-tablet:text-[24px] max-tablet:leading-[28px]
2125
2487
  mb-[16px] max-tablet:mt-[24px] max-tablet:mb-[12px] max-tablet:text-center`,
2126
2488
  children: e
2127
2489
  }
2128
2490
  ),
2129
- /* @__PURE__ */ n(
2491
+ /* @__PURE__ */ r(
2130
2492
  "p",
2131
2493
  {
2132
2494
  className: `font-[400] text-[16px] leading-[24px]
2133
- ${C ? "text-[#f4f6f7]" : "text-[#40474f]"}
2495
+ ${L ? "text-[#f4f6f7]" : "text-[#40474f]"}
2134
2496
  mb-[32px] max-tablet:mb-[24px] max-tablet:text-center`,
2135
2497
  children: t
2136
2498
  }
2137
2499
  ),
2138
- /* @__PURE__ */ n(
2500
+ /* @__PURE__ */ r(
2139
2501
  "a",
2140
2502
  {
2141
- className: `mt-auto ${w} w-fit max-tablet:w-full`,
2142
- href: i || o || "#",
2503
+ className: `mt-auto ${F} w-fit max-tablet:w-full`,
2504
+ href: i || s || "#",
2143
2505
  download: !0,
2144
2506
  target: "_blank",
2145
2507
  children: /* @__PURE__ */ x(
2146
- P,
2508
+ I,
2147
2509
  {
2148
2510
  className: "w-fit max-tablet:w-full flex items-center justify-center",
2149
- variant: d,
2511
+ variant: p,
2150
2512
  children: [
2151
- s,
2152
- /* @__PURE__ */ n(
2153
- oe,
2513
+ n,
2514
+ /* @__PURE__ */ r(
2515
+ se,
2154
2516
  {
2155
2517
  name: "download",
2156
2518
  size: 20,
2157
- color: M ? se.white : se.blackBG
2519
+ color: P ? ne.white : ne.blackBG
2158
2520
  }
2159
2521
  )
2160
2522
  ]
@@ -2163,14 +2525,14 @@ const ha = ({
2163
2525
  }
2164
2526
  )
2165
2527
  ] }),
2166
- /* @__PURE__ */ n(
2167
- U,
2528
+ /* @__PURE__ */ r(
2529
+ $,
2168
2530
  {
2169
- src: r,
2531
+ src: a,
2170
2532
  alt: e,
2171
- width: H,
2172
- height: H,
2173
- className: F(
2533
+ width: Q,
2534
+ height: Q,
2535
+ className: y(
2174
2536
  "absolute top-1/2 right-6 w-[343px] !h-auto -translate-y-1/2 max-tablet:relative max-tablet:!h-[106px]",
2175
2537
  "max-tablet:top-auto max-tablet:right-auto max-tablet:-translate-y-0 max-tablet:order-[-1] max-tablet:mx-auto"
2176
2538
  ),
@@ -2180,15 +2542,32 @@ const ha = ({
2180
2542
  ]
2181
2543
  }
2182
2544
  );
2183
- }, ka = ({ data: e, isTextLast: t, isLight: i = !1 }) => {
2184
- const s = Fe(960) ? e == null ? void 0 : e.banner_bg_image_mob : e == null ? void 0 : e.banner_bg_image;
2545
+ };
2546
+ ai.propsToEdit = Ja;
2547
+ const Xa = {
2548
+ type: "data",
2549
+ label: "Данные баннера",
2550
+ dataType: "object",
2551
+ data: {
2552
+ keys: {
2553
+ banner_title: b.TITLE,
2554
+ banner_description: b.DESCRIPTION,
2555
+ banner_image: b.FILE,
2556
+ banner_bg_image: b.FILE,
2557
+ banner_bg_image_mob: b.FILE,
2558
+ banner_button_text: b.TITLE,
2559
+ banner_button_link: b.LINK
2560
+ }
2561
+ }
2562
+ }, Ya = [Xa, "isTextLast", "isLight"], li = ({ data: e, isTextLast: t, isLight: i = !1 }) => {
2563
+ const n = Fe(960) ? e == null ? void 0 : e.banner_bg_image_mob : e == null ? void 0 : e.banner_bg_image;
2185
2564
  return /* @__PURE__ */ x(
2186
2565
  "div",
2187
2566
  {
2188
- className: F(
2567
+ className: y(
2189
2568
  "relative w-full px-[48px] bg-cover bg-no-repeat flex items-center justify-between gap-[100px] max-tablet:h-fit max-tablet:flex-col max-tablet:p-0 max-tablet:gap-0 max-tablet:overflow-hidden rounded-[20px] overflow-hidden bg-center"
2190
2569
  ),
2191
- style: { backgroundImage: `url(${s})` },
2570
+ style: { backgroundImage: `url(${n})` },
2192
2571
  children: [
2193
2572
  /* @__PURE__ */ x(
2194
2573
  "div",
@@ -2200,106 +2579,130 @@ const ha = ({
2200
2579
  }
2201
2580
  ),
2202
2581
  children: [
2203
- /* @__PURE__ */ n(
2582
+ /* @__PURE__ */ r(
2204
2583
  "p",
2205
2584
  {
2206
- className: F(
2585
+ className: y(
2207
2586
  "text-[32px] leading-[40px] font-bold text-white4 max-tablet:text-[24px] max-tablet:leading-[28px] max-tablet:text-center",
2208
2587
  { "text-black5": i }
2209
2588
  ),
2210
2589
  children: e == null ? void 0 : e.banner_title
2211
2590
  }
2212
2591
  ),
2213
- /* @__PURE__ */ n(
2592
+ /* @__PURE__ */ r(
2214
2593
  "p",
2215
2594
  {
2216
- className: F(
2595
+ className: y(
2217
2596
  "text-[18px] leading-[26px] text-white4 max-tablet:text-[17px] max-tablet:leading-[24px] max-tablet:text-center",
2218
2597
  { "text-graySoft": i }
2219
2598
  ),
2220
2599
  children: e == null ? void 0 : e.banner_description
2221
2600
  }
2222
2601
  ),
2223
- (e == null ? void 0 : e.banner_button_link) && /* @__PURE__ */ n(
2602
+ (e == null ? void 0 : e.banner_button_link) && /* @__PURE__ */ r(
2224
2603
  "a",
2225
2604
  {
2226
2605
  href: e == null ? void 0 : e.banner_button_link,
2227
2606
  className: "max-tablet:absolute max-tablet:left-[50%] max-tablet:translate-x-[-50%] max-tablet:bottom-[24px] max-tablet:z-10",
2228
- children: /* @__PURE__ */ n(P, { children: e == null ? void 0 : e.banner_button_text })
2607
+ children: /* @__PURE__ */ r(I, { children: e == null ? void 0 : e.banner_button_text })
2229
2608
  }
2230
2609
  )
2231
2610
  ]
2232
2611
  }
2233
2612
  ),
2234
- (e == null ? void 0 : e.banner_image) && /* @__PURE__ */ n(
2235
- U,
2613
+ (e == null ? void 0 : e.banner_image) && /* @__PURE__ */ r(
2614
+ $,
2236
2615
  {
2237
2616
  src: e == null ? void 0 : e.banner_image,
2238
2617
  alt: e == null ? void 0 : e.banner_title,
2239
2618
  width: 453,
2240
2619
  height: 282,
2241
- className: F("shrink-0")
2620
+ className: y("shrink-0")
2242
2621
  }
2243
2622
  )
2244
2623
  ]
2245
2624
  }
2246
2625
  );
2247
- }, _a = ({
2626
+ };
2627
+ li.propsToEdit = Ya;
2628
+ const Ka = {
2629
+ type: "cards",
2630
+ label: "Карточки информации",
2631
+ dataType: "array",
2632
+ data: {
2633
+ title: b.TITLE,
2634
+ description: b.HTML_CONTENT,
2635
+ image: b.FILE,
2636
+ icon: b.FILE,
2637
+ is_black: b.BOOLEAN
2638
+ }
2639
+ }, el = ["title", Ka, "isLight", "isLightTitle"], ri = ({
2248
2640
  title: e,
2249
2641
  cards: t,
2250
2642
  isLight: i,
2251
- isLightTitle: r
2643
+ isLightTitle: a
2252
2644
  }) => {
2253
- const s = Fe(960);
2254
- return /* @__PURE__ */ n(R, { children: /* @__PURE__ */ x("div", { className: F("w-full"), children: [
2255
- e && /* @__PURE__ */ n(
2645
+ const n = Fe(960);
2646
+ return /* @__PURE__ */ r(V, { children: /* @__PURE__ */ x("div", { className: y("w-full"), children: [
2647
+ e && /* @__PURE__ */ r(
2256
2648
  "p",
2257
2649
  {
2258
- className: F(
2650
+ className: y(
2259
2651
  "text-[44px] font-bold leading-[52px] mb-[48px] text-black text-center max-tablet:text-[26px] max-tablet:leading-[32px] max-tablet:mb-[32px]",
2260
- { "text-white4": r }
2652
+ { "text-white4": a }
2261
2653
  ),
2262
2654
  children: e
2263
2655
  }
2264
2656
  ),
2265
- /* @__PURE__ */ n("div", { className: F("flex flex-col gap-[40px] w-full"), children: t == null ? void 0 : t.map((o, p) => /* @__PURE__ */ n(
2266
- ka,
2657
+ /* @__PURE__ */ r("div", { className: y("flex flex-col gap-[40px] w-full"), children: t == null ? void 0 : t.map((s, d) => /* @__PURE__ */ r(
2658
+ li,
2267
2659
  {
2268
- data: o,
2269
- isTextLast: s ? !1 : p % 2 === 1,
2660
+ data: s,
2661
+ isTextLast: n ? !1 : d % 2 === 1,
2270
2662
  isLight: i
2271
2663
  },
2272
- p
2664
+ d
2273
2665
  )) })
2274
2666
  ] }) });
2275
- }, ya = ({
2667
+ };
2668
+ ri.propsToEdit = el;
2669
+ const tl = [
2670
+ "title",
2671
+ "description",
2672
+ "image",
2673
+ "image_mob",
2674
+ "button_text",
2675
+ "button_link",
2676
+ "logo",
2677
+ "logo_second"
2678
+ ], ni = ({
2276
2679
  title: e,
2277
2680
  description: t,
2278
2681
  image: i,
2279
- image_mob: r,
2280
- button_text: s,
2281
- button_link: o,
2282
- logo: p,
2283
- logo_second: d
2682
+ image_mob: a,
2683
+ button_text: n,
2684
+ button_link: s,
2685
+ logo: d,
2686
+ logo_second: p
2284
2687
  }) => {
2285
- const _ = Fe(960);
2688
+ const v = Fe(960);
2286
2689
  return /* @__PURE__ */ x("div", { className: "relative flex items-center gap-[80px] w-full h-[527px] max-tablet:flex-col max-tablet:gap-[24px] max-tablet:h-auto", children: [
2287
- /* @__PURE__ */ n(R, { className: "flex flex-col gap-[24px] max-w-[614px] max-tablet:items-center max-tablet:gap-[16px] max-tablet:mx-auto", children: /* @__PURE__ */ x("div", { className: "flex flex-col gap-[24px] max-tablet:gap-[16px] w-[614px] max-tablet:w-full", children: [
2690
+ /* @__PURE__ */ r(V, { className: "flex flex-col gap-[24px] max-w-[614px] max-tablet:items-center max-tablet:gap-[16px] max-tablet:mx-auto", children: /* @__PURE__ */ x("div", { className: "flex flex-col gap-[24px] max-tablet:gap-[16px] w-[614px] max-tablet:w-full", children: [
2288
2691
  /* @__PURE__ */ x("div", { className: "flex mb-[12px] max-tablet:mb-[8px] max-tablet:mx-auto", children: [
2289
- p && /* @__PURE__ */ n(
2290
- U,
2692
+ d && /* @__PURE__ */ r(
2693
+ $,
2291
2694
  {
2292
- src: p,
2695
+ src: d,
2293
2696
  alt: "visa",
2294
2697
  height: 40,
2295
2698
  width: 135,
2296
2699
  className: "h-[40px] max-tablet:!h-[32px] w-auto pr-[16px] border-r border-[#838795] first:pl-0 last:border-none object-contain"
2297
2700
  }
2298
2701
  ),
2299
- d && /* @__PURE__ */ n(
2300
- U,
2702
+ p && /* @__PURE__ */ r(
2703
+ $,
2301
2704
  {
2302
- src: d,
2705
+ src: p,
2303
2706
  alt: "mbank",
2304
2707
  height: 40,
2305
2708
  width: 135,
@@ -2307,14 +2710,14 @@ const ha = ({
2307
2710
  }
2308
2711
  )
2309
2712
  ] }),
2310
- /* @__PURE__ */ n("h2", { className: "text-[44px] leading-[52px] font-[700] m-0 max-tablet:text-[26px] max-tablet:leading-[32px] max-tablet:text-center", children: e }),
2311
- /* @__PURE__ */ n("span", { className: "text-[18px] leading-[26px] text-[#40474f] max-tablet:text-[17px] max-tablet:leading-[24px] max-tablet:text-center", children: t }),
2312
- o && s && /* @__PURE__ */ n("a", { href: o, children: /* @__PURE__ */ n(P, { className: "mt-[24px] max-tablet:mt-[8px] max-tablet:mx-auto", children: s }) })
2713
+ /* @__PURE__ */ r("h2", { className: "text-[44px] leading-[52px] font-[700] m-0 max-tablet:text-[26px] max-tablet:leading-[32px] max-tablet:text-center", children: e }),
2714
+ /* @__PURE__ */ r("span", { className: "text-[18px] leading-[26px] text-[#40474f] max-tablet:text-[17px] max-tablet:leading-[24px] max-tablet:text-center", children: t }),
2715
+ s && n && /* @__PURE__ */ r("a", { href: s, children: /* @__PURE__ */ r(I, { className: "mt-[24px] max-tablet:mt-[8px] max-tablet:mx-auto", children: n }) })
2313
2716
  ] }) }),
2314
- i && /* @__PURE__ */ n(
2315
- U,
2717
+ i && /* @__PURE__ */ r(
2718
+ $,
2316
2719
  {
2317
- src: _ ? r : i,
2720
+ src: v ? a : i,
2318
2721
  alt: e,
2319
2722
  width: 543,
2320
2723
  height: 527,
@@ -2323,19 +2726,21 @@ const ha = ({
2323
2726
  }
2324
2727
  )
2325
2728
  ] });
2326
- }, wa = ({
2729
+ };
2730
+ ni.propsToEdit = tl;
2731
+ const il = ({
2327
2732
  data: e,
2328
2733
  title: t,
2329
2734
  description: i,
2330
- image: r,
2331
- className: s
2735
+ image: a,
2736
+ className: n
2332
2737
  }) => /* @__PURE__ */ x(
2333
2738
  "div",
2334
2739
  {
2335
2740
  className: X(
2336
2741
  "w-full flex justify-between gap-[20px] bg-gray2 rounded-[20px] p-[16px]",
2337
2742
  "md:flex-col md:items-stretch md:gap-[24px] md:p-[16px]",
2338
- s
2743
+ n
2339
2744
  ),
2340
2745
  children: [
2341
2746
  /* @__PURE__ */ x(
@@ -2346,10 +2751,10 @@ const ha = ({
2346
2751
  "md:flex-col md:items-start md:gap-3 md:basis-full"
2347
2752
  ),
2348
2753
  children: [
2349
- ((e == null ? void 0 : e.necessary_icon) || r) && /* @__PURE__ */ n(
2350
- U,
2754
+ ((e == null ? void 0 : e.necessary_icon) || a) && /* @__PURE__ */ r(
2755
+ $,
2351
2756
  {
2352
- src: (e == null ? void 0 : e.necessary_icon) ?? r ?? "",
2757
+ src: (e == null ? void 0 : e.necessary_icon) ?? a ?? "",
2353
2758
  alt: (e == null ? void 0 : e.necessary_title) ?? t ?? "",
2354
2759
  width: 48,
2355
2760
  height: 48,
@@ -2357,7 +2762,7 @@ const ha = ({
2357
2762
  }
2358
2763
  ),
2359
2764
  /* @__PURE__ */ x("div", { className: "box-border md:h-fit", children: [
2360
- /* @__PURE__ */ n(
2765
+ /* @__PURE__ */ r(
2361
2766
  "p",
2362
2767
  {
2363
2768
  className: X(
@@ -2367,8 +2772,8 @@ const ha = ({
2367
2772
  children: (e == null ? void 0 : e.necessary_title) || t
2368
2773
  }
2369
2774
  ),
2370
- ((e == null ? void 0 : e.necessary_description) || i) && /* @__PURE__ */ n(
2371
- $e,
2775
+ ((e == null ? void 0 : e.necessary_description) || i) && /* @__PURE__ */ r(
2776
+ Ze,
2372
2777
  {
2373
2778
  className: X(
2374
2779
  "text-[15px] leading-[22px] text-[#5F6E7B] font-normal",
@@ -2381,13 +2786,13 @@ const ha = ({
2381
2786
  ]
2382
2787
  }
2383
2788
  ),
2384
- (e == null ? void 0 : e.necessary_button_link) && /* @__PURE__ */ n(
2789
+ (e == null ? void 0 : e.necessary_button_link) && /* @__PURE__ */ r(
2385
2790
  "a",
2386
2791
  {
2387
2792
  href: e == null ? void 0 : e.necessary_button_link,
2388
2793
  target: "_blank",
2389
- children: /* @__PURE__ */ n(
2390
- P,
2794
+ children: /* @__PURE__ */ r(
2795
+ I,
2391
2796
  {
2392
2797
  variant: B.Static,
2393
2798
  size: Y.L,
@@ -2402,37 +2807,60 @@ const ha = ({
2402
2807
  )
2403
2808
  ]
2404
2809
  }
2405
- ), va = ({ title: e, table: t, rows: i }) => {
2406
- var r;
2407
- return /* @__PURE__ */ x(R, { children: [
2408
- e && /* @__PURE__ */ n(
2810
+ ), al = {
2811
+ type: "table",
2812
+ label: "Таблица",
2813
+ dataType: "object",
2814
+ data: {
2815
+ keys: {
2816
+ image: b.FILE,
2817
+ image_mob: b.FILE,
2818
+ warning: {
2819
+ warning_title: b.TITLE,
2820
+ warning_description: b.DESCRIPTION
2821
+ }
2822
+ }
2823
+ }
2824
+ }, ll = {
2825
+ type: "rows",
2826
+ label: "Строки таблицы",
2827
+ dataType: "array",
2828
+ data: {
2829
+ title: b.TITLE,
2830
+ description: b.DESCRIPTION,
2831
+ is_marked: b.BOOLEAN
2832
+ }
2833
+ }, rl = ["title", al, ll], si = ({ title: e, table: t, rows: i }) => {
2834
+ var a;
2835
+ return /* @__PURE__ */ x(V, { children: [
2836
+ e && /* @__PURE__ */ r(
2409
2837
  "p",
2410
2838
  {
2411
- className: F(
2839
+ className: y(
2412
2840
  "text-[44px] font-bold leading-[52px] mb-[48px] text-black text-center max-tablet:text-[26px] max-tablet:leading-[32px] max-tablet:mb-[32px]"
2413
2841
  ),
2414
2842
  children: e
2415
2843
  }
2416
2844
  ),
2417
2845
  /* @__PURE__ */ x("div", { className: "bg-white rounded-[20px] overflow-hidden p-8 md:p-6", children: [
2418
- /* @__PURE__ */ n(
2846
+ /* @__PURE__ */ r(
2419
2847
  "div",
2420
2848
  {
2421
- className: F("overflow-x-auto whitespace-nowrap custom-scrollbar"),
2422
- children: /* @__PURE__ */ n("div", { className: "bg-white rounded-[20px] w-full", children: i == null ? void 0 : i.map((s) => /* @__PURE__ */ n(
2423
- yi,
2849
+ className: y("overflow-x-auto whitespace-nowrap custom-scrollbar"),
2850
+ children: /* @__PURE__ */ r("div", { className: "bg-white rounded-[20px] w-full", children: i == null ? void 0 : i.map((n) => /* @__PURE__ */ r(
2851
+ Ii,
2424
2852
  {
2425
- data: s,
2426
- className: F({
2853
+ data: n,
2854
+ className: y({
2427
2855
  "border-b border-[#E6E8EB]": !(t != null && t.warning)
2428
2856
  })
2429
2857
  },
2430
- s == null ? void 0 : s.id
2858
+ n == null ? void 0 : n.id
2431
2859
  )) })
2432
2860
  }
2433
2861
  ),
2434
- ((r = t == null ? void 0 : t.warning) == null ? void 0 : r.warning_description) && /* @__PURE__ */ n("div", { className: "mt-4", children: /* @__PURE__ */ n(
2435
- wa,
2862
+ ((a = t == null ? void 0 : t.warning) == null ? void 0 : a.warning_description) && /* @__PURE__ */ r("div", { className: "mt-4", children: /* @__PURE__ */ r(
2863
+ il,
2436
2864
  {
2437
2865
  className: "!flex-[1_1_100%] bg-white",
2438
2866
  title: t.warning.warning_title,
@@ -2441,25 +2869,47 @@ const ha = ({
2441
2869
  ) })
2442
2870
  ] })
2443
2871
  ] });
2444
- }, Fa = ({
2872
+ };
2873
+ si.propsToEdit = rl;
2874
+ const nl = {
2875
+ type: "buttons",
2876
+ label: "Кнопки",
2877
+ dataType: "array",
2878
+ data: {
2879
+ button_hex: b.COLOR,
2880
+ button_link: b.LINK,
2881
+ button_text: b.TITLE
2882
+ }
2883
+ }, sl = [
2884
+ "title",
2885
+ "description",
2886
+ "image",
2887
+ "image_mob",
2888
+ "logo",
2889
+ "animation",
2890
+ "animation_mob",
2891
+ nl,
2892
+ "isShadow",
2893
+ "grid"
2894
+ ], oi = ({
2445
2895
  title: e,
2446
2896
  description: t,
2447
2897
  image: i,
2448
- image_mob: r,
2449
- logo: s,
2450
- animation: o,
2451
- animation_mob: p,
2452
- buttons: d,
2453
- isShadow: _ = !1,
2454
- grid: C
2898
+ image_mob: a,
2899
+ logo: n,
2900
+ animation: s,
2901
+ animation_mob: d,
2902
+ buttons: p,
2903
+ isShadow: v = !1,
2904
+ grid: L
2455
2905
  }) => {
2456
- const w = (k, h) => h.length % 2 !== 0 && k === h.length - 1;
2906
+ const F = (k, _) => _.length % 2 !== 0 && k === _.length - 1;
2457
2907
  return /* @__PURE__ */ x("div", { children: [
2458
- /* @__PURE__ */ n(R, { children: /* @__PURE__ */ x("div", { className: "flex flex-col items-center pt-[40px] max-tablet:pt-[32px]", children: [
2459
- s && /* @__PURE__ */ n(
2460
- U,
2908
+ /* @__PURE__ */ r(V, { children: /* @__PURE__ */ x("div", { className: "flex flex-col items-center pt-[40px] max-tablet:pt-[32px]", children: [
2909
+ n && /* @__PURE__ */ r(
2910
+ $,
2461
2911
  {
2462
- src: s,
2912
+ src: n,
2463
2913
  alt: "mtravel logo",
2464
2914
  className: X(
2465
2915
  "mb-[36px] w-[427px] h-[94px] max-tablet:w-full max-tablet:h-[45px] max-tablet:mt-[12px] max-tablet:mb-[24px] xxl:!h-[131px] xxl:w-full xxl:mt-[12px] xxl:mb-[24px]"
@@ -2467,39 +2917,39 @@ const ha = ({
2467
2917
  imageStyles: "h-full w-full object-contain"
2468
2918
  }
2469
2919
  ),
2470
- /* @__PURE__ */ n("h1", { className: "text-black2 text-[40px] font-bold leading-[50px] mb-[24px] text-center max-tablet:text-[26px] max-tablet:leading-[32px] max-tablet:mb-[20px] xxl:text-[56px] xxl:leading-[66px]", children: e }),
2471
- t && /* @__PURE__ */ n("p", { className: "text-black2 text-center text-[20px] font-normal leading-[25px] mb-[36px] w-[75%] max-tablet:text-[16px] max-tablet:leading-[20px] max-tablet:w-full", children: t }),
2472
- /* @__PURE__ */ n(
2920
+ /* @__PURE__ */ r("h1", { className: "text-black2 text-[40px] font-bold leading-[50px] mb-[24px] text-center max-tablet:text-[26px] max-tablet:leading-[32px] max-tablet:mb-[20px] xxl:text-[56px] xxl:leading-[66px]", children: e }),
2921
+ t && /* @__PURE__ */ r("p", { className: "text-black2 text-center text-[20px] font-normal leading-[25px] mb-[36px] w-[75%] max-tablet:text-[16px] max-tablet:leading-[20px] max-tablet:w-full", children: t }),
2922
+ /* @__PURE__ */ r(
2473
2923
  "div",
2474
2924
  {
2475
- className: `grid grid-cols-${C} items-center gap-[16px] mb-[60px]
2925
+ className: `grid grid-cols-${L} items-center gap-[16px] mb-[60px]
2476
2926
  max-tablet:grid-cols-1 max-tablet:w-full max-tablet:mb-[40px]`,
2477
- children: d == null ? void 0 : d.map((k, h) => /* @__PURE__ */ n(
2927
+ children: p == null ? void 0 : p.map((k, _) => /* @__PURE__ */ r(
2478
2928
  "a",
2479
2929
  {
2480
2930
  href: k == null ? void 0 : k.button_link,
2481
- className: F("flex items-center", {
2482
- [`col-span-${C}`]: w(h, d)
2931
+ className: y("flex items-center", {
2932
+ [`col-span-${L}`]: F(_, p)
2483
2933
  }),
2484
2934
  target: "_blank",
2485
- children: /* @__PURE__ */ n(P, { className: "font-[Inter] h-[56px] mx-auto px-[32px] py-[12px] max-tablet:px-[32px] max-tablet:py-[12px]", children: k == null ? void 0 : k.button_text })
2935
+ children: /* @__PURE__ */ r(I, { className: "font-[Inter] h-[56px] mx-auto px-[32px] py-[12px] max-tablet:px-[32px] max-tablet:py-[12px]", children: k == null ? void 0 : k.button_text })
2486
2936
  }
2487
2937
  ))
2488
2938
  }
2489
2939
  )
2490
2940
  ] }) }),
2491
- i && /* @__PURE__ */ n(
2941
+ i && /* @__PURE__ */ r(
2492
2942
  "div",
2493
2943
  {
2494
2944
  className: X(
2495
2945
  "w-full h-[450px] max-tablet:w-full max-tablet:h-[280px] max-mobile:hidden xxl:h-[630px] xxl:w-full"
2496
2946
  ),
2497
- children: /* @__PURE__ */ n(
2947
+ children: /* @__PURE__ */ r(
2498
2948
  "div",
2499
2949
  {
2500
2950
  className: X(
2501
2951
  "h-[450px] xxl:h-[630px] xxl:w-full",
2502
- _ && "w-fit h-full my-0 mx-auto block relative gradient-border"
2952
+ v && "w-fit h-full my-0 mx-auto block relative gradient-border"
2503
2953
  ),
2504
2954
  children: /* @__PURE__ */ x(
2505
2955
  "video",
@@ -2512,18 +2962,18 @@ const ha = ({
2512
2962
  style: { background: "transparent" },
2513
2963
  className: "h-full",
2514
2964
  children: [
2515
- /* @__PURE__ */ n(
2965
+ /* @__PURE__ */ r(
2516
2966
  "source",
2517
2967
  {
2518
2968
  type: "video/quicktime",
2519
- src: p
2969
+ src: d
2520
2970
  }
2521
2971
  ),
2522
- /* @__PURE__ */ n(
2972
+ /* @__PURE__ */ r(
2523
2973
  "source",
2524
2974
  {
2525
2975
  type: "video/webm",
2526
- src: o
2976
+ src: s
2527
2977
  }
2528
2978
  )
2529
2979
  ]
@@ -2533,24 +2983,24 @@ const ha = ({
2533
2983
  )
2534
2984
  }
2535
2985
  ),
2536
- r && /* @__PURE__ */ n(
2986
+ a && /* @__PURE__ */ r(
2537
2987
  "div",
2538
2988
  {
2539
2989
  className: X(
2540
2990
  "hidden max-mobile:w-full max-mobile:h-[280px] max-mobile:block"
2541
2991
  ),
2542
2992
  style: { background: "transparent" },
2543
- children: /* @__PURE__ */ n(
2993
+ children: /* @__PURE__ */ r(
2544
2994
  "div",
2545
2995
  {
2546
2996
  className: X(
2547
2997
  "h-[450px] xxl:h-[630px] xxl:w-full max-tablet:h-[280px]",
2548
- _ && "w-fit h-full my-0 mx-auto block relative gradient-border"
2998
+ v && "w-fit h-full my-0 mx-auto block relative gradient-border"
2549
2999
  ),
2550
3000
  children: /* @__PURE__ */ x(
2551
3001
  "video",
2552
3002
  {
2553
- poster: r,
3003
+ poster: a,
2554
3004
  autoPlay: !0,
2555
3005
  loop: !0,
2556
3006
  muted: !0,
@@ -2558,18 +3008,18 @@ const ha = ({
2558
3008
  style: { background: "transparent" },
2559
3009
  className: "w-full h-full object-contain align-middle max-700:object-cover",
2560
3010
  children: [
2561
- /* @__PURE__ */ n(
3011
+ /* @__PURE__ */ r(
2562
3012
  "source",
2563
3013
  {
2564
3014
  type: "video/quicktime",
2565
- src: p
3015
+ src: d
2566
3016
  }
2567
3017
  ),
2568
- /* @__PURE__ */ n(
3018
+ /* @__PURE__ */ r(
2569
3019
  "source",
2570
3020
  {
2571
3021
  type: "video/webm",
2572
- src: o
3022
+ src: s
2573
3023
  }
2574
3024
  )
2575
3025
  ]
@@ -2581,12 +3031,12 @@ const ha = ({
2581
3031
  )
2582
3032
  ] });
2583
3033
  };
2584
- var y = /* @__PURE__ */ ((e) => (e.Banner = "Banner", e.CardImageList = "CardImageList", e.Stepper = "Stepper", e.Segments = "Segments", e.Video = "VideoFull", e.VideoList = "VideoList", e.VideoListMini = "VideoListMini", e.ContentCardList = "ContentCardList", e.CardIconList = "CardIconList", e.MultiCards = "MultiCards", e.Partners = "Partners", e.PartnersColors = "PartnersColors", e.MainBanner = "MainBanner", e.WarningCard = "WarningCard", e.Faq = "Faq", e.DownloadFileBanner = "DownloadFileBanner", e.DownloadFileFull = "DownloadFileFull", e.DownloadFileHalf = "DownloadFileHalf", e.DownloadFileMini = "DownloadFileMini", e.InstructionList = "InstructionList", e.PreviewList = "PreviewList", e.SwiperList = "SwiperList", e.AnimatedSwiper = "AnimatedSwiper", e.InfoBannerList = "InfoBannerList", e.TasksBannerList = "TasksBannerList", e.VideoMainBanner = "VideoMainBanner", e.EmptyBox = "EmptyBox", e.PromoPoster = "PromoPoster", e.CardImageSecondaryList = "CardImageSecondaryList", e.CardInfoTable = "CardInfoTable", e.StandartTable = "StandartTable", e.IntroBanner = "IntroBanner", e.DownloadFileBright = "DownloadFileBright", e))(y || {});
2585
- const Na = {
2586
- key: y.Banner,
3034
+ oi.propsToEdit = sl;
3035
+ var w = /* @__PURE__ */ ((e) => (e.Banner = "Banner", e.CardImageList = "CardImageList", e.Stepper = "Stepper", e.Segments = "Segments", e.Video = "VideoFull", e.VideoList = "VideoList", e.VideoListMini = "VideoListMini", e.ContentCardList = "ContentCardList", e.CardIconList = "CardIconList", e.MultiCards = "MultiCards", e.Partners = "Partners", e.PartnersColors = "PartnersColors", e.MainBanner = "MainBanner", e.WarningCard = "WarningCard", e.Faq = "Faq", e.DownloadFileBanner = "DownloadFileBanner", e.DownloadFileFull = "DownloadFileFull", e.DownloadFileHalf = "DownloadFileHalf", e.DownloadFileMini = "DownloadFileMini", e.InstructionList = "InstructionList", e.PreviewList = "PreviewList", e.SwiperList = "SwiperList", e.AnimatedSwiper = "AnimatedSwiper", e.InfoBannerList = "InfoBannerList", e.TasksBannerList = "TasksBannerList", e.VideoMainBanner = "VideoMainBanner", e.EmptyBox = "EmptyBox", e.PromoPoster = "PromoPoster", e.CardImageSecondaryList = "CardImageSecondaryList", e.CardInfoTable = "CardInfoTable", e.StandartTable = "StandartTable", e.IntroBanner = "IntroBanner", e.DownloadFileBright = "DownloadFileBright", e))(w || {});
3036
+ const ol = {
3037
+ key: w.Banner,
2587
3038
  id: "1",
2588
3039
  componentProps: {
2589
- variant: Se.Buttons,
2590
3040
  bg_image: "https://mbank.kg/media/market/Banner_bg.webp",
2591
3041
  bg_image_mob: "https://mbank.kg/media/market/Banner_bg.webp",
2592
3042
  image: "https://mbank.kg/_next/image?url=https%3A%2F%2Fmbank.kg%2Fmedia%2Fmarket%2FImage-2.webp&w=762&q=75",
@@ -2596,22 +3046,21 @@ const Na = {
2596
3046
  description: "Присоединяйтесь к Market и начните выгодные покупки уже сегодня!",
2597
3047
  buttons: [
2598
3048
  {
2599
- text: "Начать",
3049
+ title: "Начать",
2600
3050
  link: "/start",
2601
3051
  variant: B.Primary
2602
3052
  },
2603
3053
  {
2604
- text: "Узнать больше",
3054
+ title: "Узнать больше",
2605
3055
  link: "/learn-more",
2606
3056
  variant: B.Secondary
2607
3057
  }
2608
3058
  ]
2609
3059
  }
2610
- }, Ur = {
2611
- key: y.Banner,
3060
+ }, fr = {
3061
+ key: w.Banner,
2612
3062
  id: "2",
2613
3063
  componentProps: {
2614
- variant: Se.Qr,
2615
3064
  bg_image: "https://mbank.kg/media/market/Banner_bg.webp",
2616
3065
  bg_image_mob: "https://mbank.kg/media/market/Banner_bg.webp",
2617
3066
  image: "https://mbank.kg/_next/image?url=https%3A%2F%2Fmbank.kg%2Fmedia%2Fmarket%2FImage-2.webp&w=762&q=75",
@@ -2631,8 +3080,8 @@ const Na = {
2631
3080
  }
2632
3081
  }
2633
3082
  }
2634
- }, Ca = {
2635
- key: y.CardImageList,
3083
+ }, cl = {
3084
+ key: w.CardImageList,
2636
3085
  id: "3",
2637
3086
  componentProps: {
2638
3087
  cards: [
@@ -2663,8 +3112,8 @@ const Na = {
2663
3112
  }
2664
3113
  ]
2665
3114
  }
2666
- }, Da = {
2667
- key: y.Stepper,
3115
+ }, dl = {
3116
+ key: w.Stepper,
2668
3117
  id: "4",
2669
3118
  componentProps: {
2670
3119
  title: "Stepper",
@@ -2681,8 +3130,8 @@ const Na = {
2681
3130
  { text: "Выберите товар, который Вы хотите взять в рассрочку", id: 3 }
2682
3131
  ]
2683
3132
  }
2684
- }, La = {
2685
- key: y.Segments,
3133
+ }, pl = {
3134
+ key: w.Segments,
2686
3135
  id: "5",
2687
3136
  componentProps: {
2688
3137
  data: [
@@ -2690,8 +3139,8 @@ const Na = {
2690
3139
  { title: "Segment 2", id: 2 }
2691
3140
  ]
2692
3141
  }
2693
- }, Ba = {
2694
- key: y.Video,
3142
+ }, ml = {
3143
+ key: w.Video,
2695
3144
  id: "6",
2696
3145
  componentProps: {
2697
3146
  data: {
@@ -2699,8 +3148,8 @@ const Na = {
2699
3148
  title: "Заголовок1"
2700
3149
  }
2701
3150
  }
2702
- }, Va = {
2703
- key: y.VideoList,
3151
+ }, ul = {
3152
+ key: w.VideoList,
2704
3153
  id: "7",
2705
3154
  componentProps: {
2706
3155
  data: [
@@ -2714,8 +3163,8 @@ const Na = {
2714
3163
  }
2715
3164
  ]
2716
3165
  }
2717
- }, Sa = {
2718
- key: y.VideoListMini,
3166
+ }, gl = {
3167
+ key: w.VideoListMini,
2719
3168
  id: "8",
2720
3169
  componentProps: {
2721
3170
  data: [
@@ -2733,8 +3182,8 @@ const Na = {
2733
3182
  }
2734
3183
  ]
2735
3184
  }
2736
- }, Ma = {
2737
- key: y.ContentCardList,
3185
+ }, xl = {
3186
+ key: w.ContentCardList,
2738
3187
  id: "9",
2739
3188
  componentProps: {
2740
3189
  data: {
@@ -2800,8 +3249,8 @@ const Na = {
2800
3249
  ]
2801
3250
  }
2802
3251
  }
2803
- }, Pa = {
2804
- key: y.Partners,
3252
+ }, bl = {
3253
+ key: w.Partners,
2805
3254
  id: "10",
2806
3255
  componentProps: {
2807
3256
  data: {
@@ -2851,8 +3300,8 @@ const Na = {
2851
3300
  ]
2852
3301
  }
2853
3302
  }
2854
- }, Aa = {
2855
- key: y.CardIconList,
3303
+ }, fl = {
3304
+ key: w.CardIconList,
2856
3305
  id: "11",
2857
3306
  componentProps: {
2858
3307
  title: "Card Icon List",
@@ -2896,8 +3345,8 @@ const Na = {
2896
3345
  ],
2897
3346
  size: "medium"
2898
3347
  }
2899
- }, jr = {
2900
- key: y.CardIconList,
3348
+ }, hr = {
3349
+ key: w.CardIconList,
2901
3350
  id: "12",
2902
3351
  componentProps: {
2903
3352
  title: "Card Icon List",
@@ -2941,8 +3390,8 @@ const Na = {
2941
3390
  ],
2942
3391
  size: "large"
2943
3392
  }
2944
- }, Ia = {
2945
- key: y.MultiCards,
3393
+ }, hl = {
3394
+ key: w.MultiCards,
2946
3395
  id: "13",
2947
3396
  componentProps: {
2948
3397
  title: "Multi Card List",
@@ -2995,8 +3444,8 @@ const Na = {
2995
3444
  is_banner_first: !0,
2996
3445
  is_cards_first: !0
2997
3446
  }
2998
- }, Ea = {
2999
- key: y.PartnersColors,
3447
+ }, kl = {
3448
+ key: w.PartnersColors,
3000
3449
  id: "14",
3001
3450
  componentProps: {
3002
3451
  title: "С нами сотрудничают одни из самых крупных брендов",
@@ -3232,8 +3681,8 @@ const Na = {
3232
3681
  }
3233
3682
  ]
3234
3683
  }
3235
- }, Ta = {
3236
- key: y.MainBanner,
3684
+ }, _l = {
3685
+ key: w.MainBanner,
3237
3686
  id: "15",
3238
3687
  componentProps: {
3239
3688
  id: 1,
@@ -3256,8 +3705,8 @@ const Na = {
3256
3705
  logo: "https://mbank.kg/media/market/item-hero-image-logos.svg",
3257
3706
  grid: 2
3258
3707
  }
3259
- }, qa = {
3260
- key: y.WarningCard,
3708
+ }, yl = {
3709
+ key: w.WarningCard,
3261
3710
  id: "16",
3262
3711
  componentProps: {
3263
3712
  title: "Test",
@@ -3265,8 +3714,8 @@ const Na = {
3265
3714
  button_text: "button text",
3266
3715
  variant: "orange"
3267
3716
  }
3268
- }, Gr = {
3269
- key: y.WarningCard,
3717
+ }, kr = {
3718
+ key: w.WarningCard,
3270
3719
  id: "17",
3271
3720
  componentProps: {
3272
3721
  title: "Test",
@@ -3274,8 +3723,8 @@ const Na = {
3274
3723
  button_text: "button text",
3275
3724
  variant: "gray"
3276
3725
  }
3277
- }, $r = {
3278
- key: y.WarningCard,
3726
+ }, _r = {
3727
+ key: w.WarningCard,
3279
3728
  id: "18",
3280
3729
  componentProps: {
3281
3730
  title: "Test",
@@ -3283,8 +3732,8 @@ const Na = {
3283
3732
  button_text: "button text",
3284
3733
  variant: "black"
3285
3734
  }
3286
- }, Ra = {
3287
- key: y.Faq,
3735
+ }, wl = {
3736
+ key: w.Faq,
3288
3737
  id: "19",
3289
3738
  componentProps: {
3290
3739
  title: "Часто задаваемые вопросы",
@@ -3303,8 +3752,8 @@ const Na = {
3303
3752
  }
3304
3753
  ]
3305
3754
  }
3306
- }, Ha = {
3307
- key: y.DownloadFileHalf,
3755
+ }, vl = {
3756
+ key: w.DownloadFileHalf,
3308
3757
  id: "20",
3309
3758
  componentProps: {
3310
3759
  data: [
@@ -3322,8 +3771,8 @@ const Na = {
3322
3771
  }
3323
3772
  ]
3324
3773
  }
3325
- }, Oa = {
3326
- key: y.DownloadFileBanner,
3774
+ }, Fl = {
3775
+ key: w.DownloadFileBanner,
3327
3776
  id: "21",
3328
3777
  componentProps: {
3329
3778
  id: "1",
@@ -3331,8 +3780,8 @@ const Na = {
3331
3780
  text: "Помогает научить ребенка контролировать свои траты, копить и обращаться с деньгами",
3332
3781
  link: "#"
3333
3782
  }
3334
- }, Ua = {
3335
- key: y.DownloadFileFull,
3783
+ }, Nl = {
3784
+ key: w.DownloadFileFull,
3336
3785
  id: "22",
3337
3786
  componentProps: {
3338
3787
  data: [
@@ -3356,8 +3805,8 @@ const Na = {
3356
3805
  }
3357
3806
  ]
3358
3807
  }
3359
- }, ja = {
3360
- key: y.DownloadFileMini,
3808
+ }, Cl = {
3809
+ key: w.DownloadFileMini,
3361
3810
  id: "23",
3362
3811
  componentProps: {
3363
3812
  data: [
@@ -3387,8 +3836,8 @@ const Na = {
3387
3836
  }
3388
3837
  ]
3389
3838
  }
3390
- }, Ga = {
3391
- key: y.InstructionList,
3839
+ }, Ll = {
3840
+ key: w.InstructionList,
3392
3841
  id: "24",
3393
3842
  componentProps: {
3394
3843
  title: "Hero stepper screen",
@@ -3423,8 +3872,8 @@ const Na = {
3423
3872
  link: "https://www.youtube.com/"
3424
3873
  }
3425
3874
  }
3426
- }, $a = {
3427
- key: y.PreviewList,
3875
+ }, Dl = {
3876
+ key: w.PreviewList,
3428
3877
  id: "25",
3429
3878
  componentProps: {
3430
3879
  title: "Hero blog",
@@ -3452,8 +3901,8 @@ const Na = {
3452
3901
  ],
3453
3902
  grid: 2
3454
3903
  }
3455
- }, Za = {
3456
- key: y.SwiperList,
3904
+ }, Tl = {
3905
+ key: w.SwiperList,
3457
3906
  id: "26",
3458
3907
  componentProps: {
3459
3908
  title: "Hero Gallery",
@@ -3518,8 +3967,8 @@ const Na = {
3518
3967
  autoplayDelay: 2e3,
3519
3968
  perViewScreens: 4
3520
3969
  }
3521
- }, za = {
3522
- key: y.AnimatedSwiper,
3970
+ }, Bl = {
3971
+ key: w.AnimatedSwiper,
3523
3972
  id: "27",
3524
3973
  componentProps: {
3525
3974
  title: "Анимированный свайпер",
@@ -3614,8 +4063,8 @@ const Na = {
3614
4063
  isLight: !1,
3615
4064
  isButton: !1
3616
4065
  }
3617
- }, Wa = {
3618
- key: y.InfoBannerList,
4066
+ }, Sl = {
4067
+ key: w.InfoBannerList,
3619
4068
  id: "28",
3620
4069
  componentProps: {
3621
4070
  title: "Премиальная карта для самых первых",
@@ -3702,8 +4151,8 @@ const Na = {
3702
4151
  isLight: !1,
3703
4152
  isLightTitle: !1
3704
4153
  }
3705
- }, Qa = {
3706
- key: y.TasksBannerList,
4154
+ }, El = {
4155
+ key: w.TasksBannerList,
3707
4156
  id: "29",
3708
4157
  componentProps: {
3709
4158
  title: "Задачи",
@@ -3783,8 +4232,8 @@ const Na = {
3783
4232
  }
3784
4233
  ]
3785
4234
  }
3786
- }, Ja = {
3787
- key: y.VideoMainBanner,
4235
+ }, Il = {
4236
+ key: w.VideoMainBanner,
3788
4237
  id: "30",
3789
4238
  componentProps: {
3790
4239
  title: "Марафон призов от MBANK",
@@ -3809,14 +4258,14 @@ const Na = {
3809
4258
  grid: 2,
3810
4259
  isShadow: !0
3811
4260
  }
3812
- }, Xa = {
3813
- key: y.EmptyBox,
4261
+ }, Vl = {
4262
+ key: w.EmptyBox,
3814
4263
  id: "31",
3815
4264
  componentProps: {
3816
4265
  size: "100"
3817
4266
  }
3818
- }, Ya = {
3819
- key: y.PromoPoster,
4267
+ }, Pl = {
4268
+ key: w.PromoPoster,
3820
4269
  id: "32",
3821
4270
  componentProps: {
3822
4271
  id: 1,
@@ -3841,8 +4290,8 @@ const Na = {
3841
4290
  }
3842
4291
  ]
3843
4292
  }
3844
- }, Ka = {
3845
- key: y.CardImageSecondaryList,
4293
+ }, Ml = {
4294
+ key: w.CardImageSecondaryList,
3846
4295
  id: "33",
3847
4296
  componentProps: {
3848
4297
  title: "На какие цели можно получить финансирование?",
@@ -3871,8 +4320,8 @@ const Na = {
3871
4320
  ],
3872
4321
  isHorizontal: !1
3873
4322
  }
3874
- }, er = {
3875
- key: y.CardInfoTable,
4323
+ }, Al = {
4324
+ key: w.CardInfoTable,
3876
4325
  id: "34",
3877
4326
  componentProps: {
3878
4327
  title: "Условия финансирования",
@@ -3978,8 +4427,8 @@ const Na = {
3978
4427
  }
3979
4428
  ]
3980
4429
  }
3981
- }, tr = {
3982
- key: y.StandartTable,
4430
+ }, Ol = {
4431
+ key: w.StandartTable,
3983
4432
  id: "35",
3984
4433
  componentProps: {
3985
4434
  title: "Ознакомьтесь с условиями",
@@ -4227,8 +4676,8 @@ const Na = {
4227
4676
  }
4228
4677
  ]
4229
4678
  }
4230
- }, ir = {
4231
- key: y.IntroBanner,
4679
+ }, Rl = {
4680
+ key: w.IntroBanner,
4232
4681
  id: "36",
4233
4682
  componentProps: {
4234
4683
  title: "Откройте путь в Барселону с Visa и MBANK!",
@@ -4242,8 +4691,8 @@ const Na = {
4242
4691
  logo: "https://mbank.kg/media/standard/logo/Vector_1.svg",
4243
4692
  logo_second: "https://mbank.kg/media/standard/logo_second/mbank_logo_full_tNoEfG4.svg"
4244
4693
  }
4245
- }, ar = {
4246
- key: y.DownloadFileBright,
4694
+ }, ql = {
4695
+ key: w.DownloadFileBright,
4247
4696
  id: "37",
4248
4697
  componentProps: {
4249
4698
  id: 1,
@@ -4253,147 +4702,153 @@ const Na = {
4253
4702
  button_text: "Скачать",
4254
4703
  button_link: "https://mbank.kg/media/documents/%D0%9F%D1%80%D0%B8%D0%BB%D0%BE%D0%B6%D0%B5%D0%BD%D0%B8%D0%B5_1_%D0%9F%D1%80%D0%B0%D0%B2%D0%B8%D0%BB%D0%B0_%D0%B0%D0%BA%D1%86%D0%B8%D0%B8__C%D0%BE%D0%B2%D0%B5%D1%80%D1%88%D0%B0%D0%B9_%D0%BE%D0%BF%D0%B5%D1%80%D0%B0%D1%86%D0%B8%D0%B8-%D0%BE%D1%82%D0%BA%D1%80%D0%BE%D0%B9_%D0%BF%D1%83%D1%82%D1%8C_%D0%B2_%D0%91%D0%B0%D1%80%D1%81%D0%B5%D0%BB%D0%BE%D0%BD%D1%83__%D0%A4%D0%98%D0%9D%D0%90%D0%9B_YZc1tmj.pdf"
4255
4704
  }
4256
- }, Zr = {
4257
- MainBanner: { key: "MainBanner", component: Bt },
4258
- Banner: { key: "Banner", component: Ft },
4259
- CardImageList: { key: "CardImageList", component: Lt },
4260
- Stepper: { key: "Stepper", component: Nt },
4261
- Segments: { key: "Segments", component: ni },
4262
- VideoFull: { key: "VideoFull", component: li },
4263
- VideoList: { key: "VideoList", component: si },
4264
- VideoListMini: { key: "VideoListMini", component: oi },
4265
- ContentCardList: { key: "ContentCardList", component: Dt },
4266
- CardIconList: { key: "CardIconList", component: ci },
4267
- MultiCards: { key: "MultiCards", component: di },
4268
- Partners: { key: "Partners", component: pi },
4269
- PartnersColors: { key: "PartnersColors", component: xi },
4270
- WarningCard: { key: "WarningCard", component: Ut },
4271
- Faq: { key: "Faq", component: qt },
4705
+ }, yr = {
4706
+ MainBanner: { key: "MainBanner", component: Pt },
4707
+ Banner: { key: "Banner", component: Dt },
4708
+ CardImageList: { key: "CardImageList", component: Vt },
4709
+ Stepper: { key: "Stepper", component: Bt },
4710
+ Segments: { key: "Segments", component: _i },
4711
+ VideoFull: { key: "VideoFull", component: yi },
4712
+ VideoList: { key: "VideoList", component: wi },
4713
+ VideoListMini: { key: "VideoListMini", component: vi },
4714
+ ContentCardList: { key: "ContentCardList", component: Et },
4715
+ CardIconList: { key: "CardIconList", component: ze },
4716
+ MultiCards: { key: "MultiCards", component: It },
4717
+ Partners: { key: "Partners", component: Ni },
4718
+ PartnersColors: { key: "PartnersColors", component: Ti },
4719
+ WarningCard: { key: "WarningCard", component: Wt },
4720
+ Faq: { key: "Faq", component: Ut },
4272
4721
  DownloadFileBanner: {
4273
4722
  key: "DownloadFileBanner",
4274
- component: jt
4723
+ component: Qt
4275
4724
  },
4276
- DownloadFileHalf: { key: "DownloadFileHalf", component: $t },
4277
- DownloadFileFull: { key: "DownloadFileFull", component: Gt },
4278
- DownloadFileMini: { key: "DownloadFileMini", component: Zt },
4279
- InstructionList: { key: "InstructionList", component: Rt },
4280
- PreviewList: { key: "PreviewList", component: Ot },
4281
- SwiperList: { key: "SwiperList", component: bi },
4282
- AnimatedSwiper: { key: "AnimatedSwiper", component: fi },
4283
- InfoBannerList: { key: "InfoBannerList", component: _a },
4284
- TasksBannerList: { key: "TasksBannerList", component: wi },
4285
- VideoMainBanner: { key: "VideoMainBanner", component: Fa },
4286
- EmptyBox: { key: "EmptyBox", component: ki },
4287
- PromoPoster: { key: "PromoPoster", component: _i },
4725
+ DownloadFileHalf: { key: "DownloadFileHalf", component: Xt },
4726
+ DownloadFileFull: { key: "DownloadFileFull", component: Jt },
4727
+ DownloadFileMini: { key: "DownloadFileMini", component: Yt },
4728
+ InstructionList: { key: "InstructionList", component: Gt },
4729
+ PreviewList: { key: "PreviewList", component: zt },
4730
+ SwiperList: { key: "SwiperList", component: Vi },
4731
+ AnimatedSwiper: { key: "AnimatedSwiper", component: Bi },
4732
+ InfoBannerList: { key: "InfoBannerList", component: ri },
4733
+ TasksBannerList: { key: "TasksBannerList", component: Pi },
4734
+ VideoMainBanner: { key: "VideoMainBanner", component: oi },
4735
+ Space: { key: "Space", component: Ei },
4736
+ PromoPoster: { key: "PromoPoster", component: Si },
4288
4737
  CardImageSecondaryList: {
4289
4738
  key: "CardImageSecondaryList",
4290
- component: hi
4739
+ component: ti
4291
4740
  },
4292
- CardInfoTable: { key: "CardInfoTable", component: zt },
4293
- StandartTable: { key: "StandartTable", component: va },
4294
- IntroBanner: { key: "IntroBanner", component: ya },
4741
+ CardInfoTable: { key: "CardInfoTable", component: et },
4742
+ StandartTable: { key: "StandartTable", component: si },
4743
+ IntroBanner: { key: "IntroBanner", component: ni },
4295
4744
  DownloadFileBright: {
4296
4745
  key: "DownloadFileBright",
4297
- component: ha
4746
+ component: ai
4298
4747
  }
4299
- }, zr = {
4300
- MainBanner: Ta.componentProps,
4301
- Banner: Na.componentProps,
4302
- CardImageList: Ca.componentProps,
4303
- Stepper: Da.componentProps,
4304
- Segments: La.componentProps,
4305
- VideoFull: Ba.componentProps,
4306
- VideoList: Va.componentProps,
4307
- VideoListMini: Sa.componentProps,
4308
- ContentCardList: Ma.componentProps,
4309
- CardIconList: Aa.componentProps,
4310
- MultiCards: Ia.componentProps,
4311
- Partners: Pa.componentProps,
4312
- PartnersColors: Ea.componentProps,
4313
- WarningCard: qa.componentProps,
4314
- Faq: Ra.componentProps,
4315
- DownloadFileBanner: Oa.componentProps,
4316
- DownloadFileHalf: Ha.componentProps,
4317
- DownloadFileFull: Ua.componentProps,
4318
- DownloadFileMini: ja.componentProps,
4319
- InstructionList: Ga.componentProps,
4320
- PreviewList: $a.componentProps,
4321
- SwiperList: Za.componentProps,
4322
- AnimatedSwiper: za.componentProps,
4323
- InfoBannerList: Wa.componentProps,
4324
- TasksBannerList: Qa.componentProps,
4325
- VideoMainBanner: Ja.componentProps,
4326
- EmptyBox: Xa.componentProps,
4327
- PromoPoster: Ya.componentProps,
4328
- CardImageSecondaryList: Ka.componentProps,
4329
- CardInfoTable: er.componentProps,
4330
- StandartTable: tr.componentProps,
4331
- IntroBanner: ir.componentProps,
4332
- DownloadFileBright: ar.componentProps
4748
+ }, wr = {
4749
+ MainBanner: _l.componentProps,
4750
+ Banner: ol.componentProps,
4751
+ CardImageList: cl.componentProps,
4752
+ Stepper: dl.componentProps,
4753
+ Segments: pl.componentProps,
4754
+ VideoFull: ml.componentProps,
4755
+ VideoList: ul.componentProps,
4756
+ VideoListMini: gl.componentProps,
4757
+ ContentCardList: xl.componentProps,
4758
+ CardIconList: fl.componentProps,
4759
+ MultiCards: hl.componentProps,
4760
+ Partners: bl.componentProps,
4761
+ PartnersColors: kl.componentProps,
4762
+ WarningCard: yl.componentProps,
4763
+ Faq: wl.componentProps,
4764
+ DownloadFileBanner: Fl.componentProps,
4765
+ DownloadFileHalf: vl.componentProps,
4766
+ DownloadFileFull: Nl.componentProps,
4767
+ DownloadFileMini: Cl.componentProps,
4768
+ InstructionList: Ll.componentProps,
4769
+ PreviewList: Dl.componentProps,
4770
+ SwiperList: Tl.componentProps,
4771
+ AnimatedSwiper: Bl.componentProps,
4772
+ InfoBannerList: Sl.componentProps,
4773
+ TasksBannerList: El.componentProps,
4774
+ VideoMainBanner: Il.componentProps,
4775
+ EmptyBox: Vl.componentProps,
4776
+ PromoPoster: Pl.componentProps,
4777
+ CardImageSecondaryList: Ml.componentProps,
4778
+ CardInfoTable: Al.componentProps,
4779
+ StandartTable: Ol.componentProps,
4780
+ IntroBanner: Rl.componentProps,
4781
+ DownloadFileBright: ql.componentProps
4333
4782
  };
4334
4783
  export {
4335
- tr as $,
4336
- Ra as A,
4337
- Ft as B,
4338
- Lt as C,
4339
- jt as D,
4340
- Ha as E,
4341
- qt as F,
4342
- Oa as G,
4343
- Ua as H,
4344
- Rt as I,
4345
- ja as J,
4346
- Ga as K,
4347
- jr as L,
4348
- Bt as M,
4349
- $a as N,
4350
- Za as O,
4351
- Ot as P,
4352
- za as Q,
4353
- Wa as R,
4354
- Nt as S,
4355
- Qa as T,
4356
- Ja as U,
4357
- Fa as V,
4358
- Ut as W,
4359
- Xa as X,
4360
- Ya as Y,
4361
- Ka as Z,
4362
- er as _,
4363
- Dt as a,
4364
- ir as a0,
4365
- ar as a1,
4366
- Ct as a2,
4367
- ea as a3,
4368
- Ht as a4,
4369
- vt as a5,
4370
- zr as a6,
4371
- Zr as a7,
4372
- ka as a8,
4373
- wa as a9,
4374
- $t as b,
4375
- Gt as c,
4376
- Zt as d,
4377
- _a as e,
4378
- zt as f,
4379
- va as g,
4380
- ya as h,
4381
- ha as i,
4382
- Ta as j,
4383
- Na as k,
4384
- Ur as l,
4385
- Ca as m,
4386
- Da as n,
4387
- La as o,
4388
- Ba as p,
4389
- Va as q,
4390
- Sa as r,
4391
- Ma as s,
4392
- Pa as t,
4393
- Aa as u,
4394
- Ia as v,
4395
- Ea as w,
4396
- qa as x,
4397
- Gr as y,
4398
- $r as z
4784
+ Pl as $,
4785
+ yl as A,
4786
+ Dt as B,
4787
+ Vt as C,
4788
+ Qt as D,
4789
+ kr as E,
4790
+ Ut as F,
4791
+ _r as G,
4792
+ wl as H,
4793
+ Gt as I,
4794
+ vl as J,
4795
+ Fl as K,
4796
+ Nl as L,
4797
+ It as M,
4798
+ Cl as N,
4799
+ Ll as O,
4800
+ zt as P,
4801
+ hr as Q,
4802
+ Dl as R,
4803
+ Bt as S,
4804
+ Tl as T,
4805
+ Bl as U,
4806
+ oi as V,
4807
+ Wt as W,
4808
+ Sl as X,
4809
+ El as Y,
4810
+ Il as Z,
4811
+ Vl as _,
4812
+ Et as a,
4813
+ Ml as a0,
4814
+ Al as a1,
4815
+ Ol as a2,
4816
+ Rl as a3,
4817
+ ql as a4,
4818
+ Tt as a5,
4819
+ St as a6,
4820
+ Na as a7,
4821
+ Zt as a8,
4822
+ Ne as a9,
4823
+ wr as aa,
4824
+ yr as ab,
4825
+ Kt as ac,
4826
+ ei as ad,
4827
+ li as ae,
4828
+ il as af,
4829
+ ze as b,
4830
+ Pt as c,
4831
+ Xt as d,
4832
+ Jt as e,
4833
+ Yt as f,
4834
+ ri as g,
4835
+ ti as h,
4836
+ et as i,
4837
+ si as j,
4838
+ ni as k,
4839
+ ai as l,
4840
+ _l as m,
4841
+ ol as n,
4842
+ fr as o,
4843
+ cl as p,
4844
+ dl as q,
4845
+ pl as r,
4846
+ ml as s,
4847
+ ul as t,
4848
+ gl as u,
4849
+ xl as v,
4850
+ bl as w,
4851
+ fl as x,
4852
+ hl as y,
4853
+ kl as z
4399
4854
  };