md-components-mdigial-azamat 0.0.20 → 0.0.25

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