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.
- package/dist/AllComponents.js +5 -9
- package/dist/AnimatedSwiper/index.js +64 -42
- package/dist/Banner/Banner.js +2 -2
- package/dist/Banner/index.js +1 -1
- package/dist/Banner/types.js +1 -4
- package/dist/BannerAndText/index.js +27 -35
- package/dist/CardIconList/CardIconList.js +26 -71
- package/dist/CardIconList/index.js +2 -2
- package/dist/CardImageList/CardImageList.js +1 -1
- package/dist/CardImageList/index.js +1 -1
- package/dist/CardImageSecondary/CardImageSecondary.js +27 -48
- package/dist/CardImageSecondary/index.js +2 -2
- package/dist/CardImageSecondaryList/CardImageSecondaryList.js +4 -19
- package/dist/CardImageSecondaryList/index.js +1 -1
- package/dist/CardInfoTable/index.js +23 -3
- package/dist/Cards/CardImage/CardImage.js +32 -18
- package/dist/Cards/ColoredCard/index.js +23 -10
- package/dist/Cards/ContentCard/ContentCard.js +1 -1
- package/dist/Cards/ContentCard/index.js +1 -1
- package/dist/Cards/FeaturesCard/index.js +2 -1
- package/dist/Cards/WarningCard/WarningCard.js +1 -1
- package/dist/Cards/WarningCard/index.js +1 -1
- package/dist/ContentCardList/ContentCardList.js +23 -2
- package/dist/ContentCardList/index.js +1 -1
- package/dist/DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js +1 -1
- package/dist/DownloadFile/components/DownloadFileBanner/index.js +1 -1
- package/dist/DownloadFile/components/DownloadFileBright/index.js +2 -2
- package/dist/DownloadFile/components/DownloadFileFull/DownloadFileFull.js +1 -1
- package/dist/DownloadFile/components/DownloadFileFull/index.js +2 -2
- package/dist/DownloadFile/components/DownloadFileHalf/DownloadFileHalf.js +1 -1
- package/dist/DownloadFile/components/DownloadFileHalf/index.js +1 -1
- package/dist/DownloadFile/components/DownloadFileMini/DownloadFileMini.js +1 -1
- package/dist/DownloadFile/components/DownloadFileMini/index.js +1 -1
- package/dist/Faq/Faq.js +20 -2
- package/dist/Faq/components/FeedbackForm/FeedbackForm.js +1 -1
- package/dist/Faq/components/FeedbackForm/index.js +1 -1
- package/dist/Faq/index.js +1 -1
- package/dist/HeroPossibilityBanner/index.js +30 -19
- package/dist/InfoBanner/index.js +3 -2
- package/dist/InfoBannerList/InfoBannerList.js +3 -2
- package/dist/InfoBannerList/index.js +2 -2
- package/dist/InstructionList/InstructionList.js +1 -1
- package/dist/InstructionList/index.js +1 -1
- package/dist/IntroBanner/IntroBanner.js +1 -1
- package/dist/IntroBanner/index.js +1 -1
- package/dist/MainBanner/MainBanner.js +1 -1
- package/dist/MainBanner/index.js +1 -1
- package/dist/MultiCards/index.js +5 -54
- package/dist/PageViewer/PageViewer.js +5 -7
- package/dist/PageViewer/renderComponents.js +6 -6
- package/dist/Partners/Partners.js +21 -4
- package/dist/PartnersColors/PartnersColors.js +38 -20
- package/dist/PreviewList/PreviewList.js +1 -1
- package/dist/PreviewList/components/PreviewCard/PreviewCard.js +1 -1
- package/dist/PreviewList/components/PreviewCard/index.js +1 -1
- package/dist/PreviewList/index.js +1 -1
- package/dist/PromoPoster/PromoPoster.js +29 -15
- package/dist/RenderAllComponents/RenderAllComponents.js +3 -3
- package/dist/RenderAllComponents/const.js +5 -5
- package/dist/Segments/Segments.js +15 -7
- package/dist/Space/Space.js +21 -0
- package/dist/Space/index.js +4 -0
- package/dist/StandartTable/components/CardWarning/index.js +1 -1
- package/dist/StandartTable/index.js +3 -2
- package/dist/Stepper/Stepper.js +2 -1
- package/dist/Stepper/index.js +1 -1
- package/dist/SwiperList/SwiperList.js +39 -29
- package/dist/TasksBanner/TasksBanner.js +45 -28
- package/dist/TasksBannerList/TasksBannerList.js +26 -11
- package/dist/Types/FiledTypes.js +1 -1
- package/dist/Video/VideoList/VideoList.js +19 -10
- package/dist/Video/VideoListMini/VideoListMini.js +17 -8
- package/dist/VideoMainBanner/VideoMainBanner.js +3 -2
- package/dist/VideoMainBanner/index.js +1 -1
- package/dist/componentsMap-5e677eaa.js +50 -0
- package/dist/index-a379154f.js +66 -0
- package/dist/{AllComponents-7aa1a7f1.js → index-f6bbda32.js} +1809 -1362
- package/dist/main.js +60 -61
- package/package.json +1 -1
- package/dist/EmptyBox/EmptyBox.js +0 -5
- package/dist/componentsMap-678541b7.js +0 -53
- package/dist/index-6e0f7db0.js +0 -52
- /package/dist/{EmptyBox → Space}/types.js +0 -0
|
@@ -1,69 +1,68 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jsxs as x, jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import "./ConfigProvider/index.js";
|
|
3
|
-
import {
|
|
4
|
-
import * as
|
|
5
|
-
import W, { forwardRef as
|
|
6
|
-
import { c as
|
|
7
|
-
import { C as
|
|
8
|
-
import { I as
|
|
9
|
-
import {
|
|
10
|
-
import "./
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
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
|
|
26
|
-
import { W as
|
|
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
|
|
29
|
-
import "./
|
|
30
|
-
import
|
|
31
|
-
import "./
|
|
32
|
-
import
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
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
|
|
32
|
+
const Ne = {
|
|
33
|
+
type: "button",
|
|
40
34
|
size: Y,
|
|
41
35
|
variant: B,
|
|
42
|
-
loading:
|
|
43
|
-
iconRight:
|
|
44
|
-
iconLeft:
|
|
45
|
-
className:
|
|
46
|
-
button_hex:
|
|
47
|
-
title:
|
|
48
|
-
link:
|
|
49
|
-
},
|
|
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:
|
|
55
|
-
iconRight:
|
|
56
|
-
iconLeft:
|
|
57
|
-
className:
|
|
58
|
-
title:
|
|
59
|
-
...
|
|
60
|
-
},
|
|
61
|
-
const
|
|
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
|
-
},
|
|
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:
|
|
76
|
+
className: y(
|
|
78
77
|
"flex items-center justify-center gap-2 border-none font-i font-medium cursor-pointer w-fit ",
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
78
|
+
F[t],
|
|
79
|
+
_[i],
|
|
80
|
+
d
|
|
82
81
|
),
|
|
83
|
-
ref:
|
|
84
|
-
...
|
|
82
|
+
ref: L,
|
|
83
|
+
...v,
|
|
85
84
|
children: [
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
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
|
-
|
|
95
|
-
const
|
|
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
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
], Ft = ({
|
|
113
|
+
Lt,
|
|
114
|
+
Ai
|
|
115
|
+
], Dt = ({
|
|
105
116
|
bg_image: e,
|
|
106
117
|
image: t,
|
|
107
118
|
title: i,
|
|
108
|
-
text_color:
|
|
109
|
-
description:
|
|
110
|
-
buttons:
|
|
111
|
-
variant: p,
|
|
119
|
+
text_color: a = "inherit",
|
|
120
|
+
description: n,
|
|
121
|
+
buttons: s,
|
|
112
122
|
qr: d
|
|
113
123
|
}) => {
|
|
114
|
-
var
|
|
115
|
-
const
|
|
116
|
-
return /* @__PURE__ */
|
|
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:
|
|
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__ */
|
|
137
|
+
i && /* @__PURE__ */ r(
|
|
128
138
|
"p",
|
|
129
139
|
{
|
|
130
|
-
className:
|
|
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:
|
|
143
|
+
style: { color: a },
|
|
134
144
|
children: i
|
|
135
145
|
}
|
|
136
146
|
),
|
|
137
|
-
|
|
147
|
+
n && /* @__PURE__ */ r(
|
|
138
148
|
"p",
|
|
139
149
|
{
|
|
140
|
-
className:
|
|
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:
|
|
144
|
-
children:
|
|
153
|
+
style: { color: a },
|
|
154
|
+
children: n
|
|
145
155
|
}
|
|
146
156
|
),
|
|
147
|
-
|
|
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: (
|
|
151
|
-
className:
|
|
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__ */
|
|
155
|
-
|
|
164
|
+
children: /* @__PURE__ */ r(
|
|
165
|
+
I,
|
|
156
166
|
{
|
|
157
|
-
variant:
|
|
167
|
+
variant: _.variant,
|
|
158
168
|
className: "w-[200px] max-tablet:w-full",
|
|
159
|
-
|
|
169
|
+
title: _ == null ? void 0 : _.title
|
|
160
170
|
}
|
|
161
171
|
)
|
|
162
172
|
},
|
|
163
|
-
|
|
173
|
+
k
|
|
164
174
|
)) }),
|
|
165
|
-
|
|
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: ((
|
|
169
|
-
className:
|
|
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__ */
|
|
173
|
-
|
|
182
|
+
children: /* @__PURE__ */ r(
|
|
183
|
+
I,
|
|
174
184
|
{
|
|
175
|
-
variant: (
|
|
176
|
-
|
|
177
|
-
|
|
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:
|
|
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__ */
|
|
189
|
-
|
|
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__ */
|
|
207
|
+
/* @__PURE__ */ r(
|
|
198
208
|
"p",
|
|
199
209
|
{
|
|
200
|
-
className:
|
|
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__ */
|
|
212
|
-
|
|
221
|
+
t && /* @__PURE__ */ r(
|
|
222
|
+
$,
|
|
213
223
|
{
|
|
214
224
|
src: t,
|
|
215
225
|
alt: i,
|
|
216
|
-
width:
|
|
217
|
-
height:
|
|
218
|
-
className:
|
|
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
|
-
|
|
227
|
-
const
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
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
|
-
|
|
237
|
-
|
|
304
|
+
a.icon ? /* @__PURE__ */ r(
|
|
305
|
+
$,
|
|
238
306
|
{
|
|
239
|
-
src:
|
|
307
|
+
src: a.icon,
|
|
240
308
|
className: "w-[72px] h-[72px] rounded-full overflow-hidden"
|
|
241
309
|
}
|
|
242
|
-
) : /* @__PURE__ */
|
|
243
|
-
/* @__PURE__ */
|
|
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
|
-
|
|
314
|
+
n
|
|
247
315
|
);
|
|
248
316
|
}) }),
|
|
249
|
-
!!(i != null && i.length) && /* @__PURE__ */
|
|
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: (
|
|
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__ */
|
|
324
|
+
children: /* @__PURE__ */ r(I, { variant: a.variant, children: a.text })
|
|
257
325
|
},
|
|
258
|
-
|
|
326
|
+
n
|
|
259
327
|
)) })
|
|
260
328
|
] }) });
|
|
261
|
-
|
|
262
|
-
const
|
|
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__ */
|
|
266
|
-
|
|
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__ */
|
|
275
|
-
/* @__PURE__ */
|
|
276
|
-
|
|
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__ */
|
|
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__ */
|
|
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
|
-
|
|
294
|
-
const
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
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
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
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
|
-
|
|
315
|
-
const
|
|
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:
|
|
321
|
-
description:
|
|
322
|
-
image:
|
|
323
|
-
is_black:
|
|
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:
|
|
558
|
+
value: mt.LARGE
|
|
329
559
|
},
|
|
330
560
|
{
|
|
331
561
|
label: "Small",
|
|
332
|
-
value:
|
|
562
|
+
value: mt.SMALL
|
|
333
563
|
}
|
|
334
564
|
],
|
|
335
|
-
type:
|
|
565
|
+
type: b.VARIANT
|
|
336
566
|
}
|
|
337
567
|
}
|
|
338
|
-
},
|
|
568
|
+
}, ea = [Ki, "title", "grid", Ne], Vt = ({
|
|
339
569
|
cards: e,
|
|
340
570
|
title: t,
|
|
341
571
|
grid: i,
|
|
342
|
-
button:
|
|
343
|
-
}) => /* @__PURE__ */
|
|
344
|
-
t && /* @__PURE__ */
|
|
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__ */
|
|
582
|
+
/* @__PURE__ */ r(
|
|
353
583
|
"div",
|
|
354
584
|
{
|
|
355
|
-
className:
|
|
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((
|
|
360
|
-
|
|
589
|
+
children: e == null ? void 0 : e.map((n) => /* @__PURE__ */ r(
|
|
590
|
+
Ci,
|
|
361
591
|
{
|
|
362
|
-
data:
|
|
592
|
+
data: n
|
|
363
593
|
},
|
|
364
|
-
|
|
594
|
+
n == null ? void 0 : n.id
|
|
365
595
|
))
|
|
366
596
|
}
|
|
367
597
|
),
|
|
368
|
-
!!(
|
|
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: (
|
|
372
|
-
className:
|
|
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__ */
|
|
605
|
+
children: /* @__PURE__ */ r(I, { variant: n.variant, children: n.text })
|
|
376
606
|
},
|
|
377
|
-
|
|
607
|
+
s
|
|
378
608
|
)) })
|
|
379
609
|
] }) });
|
|
380
|
-
|
|
381
|
-
const
|
|
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
|
-
|
|
395
|
-
],
|
|
618
|
+
Lt
|
|
619
|
+
], Mt = ({
|
|
396
620
|
title: e,
|
|
397
621
|
description: t,
|
|
398
622
|
buttons: i,
|
|
399
|
-
image:
|
|
400
|
-
image_mob:
|
|
401
|
-
logo:
|
|
402
|
-
grid:
|
|
623
|
+
image: a,
|
|
624
|
+
image_mob: n,
|
|
625
|
+
logo: s,
|
|
626
|
+
grid: d
|
|
403
627
|
}) => {
|
|
404
|
-
const
|
|
628
|
+
const p = (v, L) => L.length % 2 !== 0 && v === L.length - 1;
|
|
405
629
|
return /* @__PURE__ */ x("section", { children: [
|
|
406
|
-
/* @__PURE__ */ x(
|
|
407
|
-
|
|
408
|
-
|
|
630
|
+
/* @__PURE__ */ x(V, { className: "flex flex-col items-center", children: [
|
|
631
|
+
s && /* @__PURE__ */ r(
|
|
632
|
+
$,
|
|
409
633
|
{
|
|
410
|
-
src:
|
|
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__ */
|
|
417
|
-
t && /* @__PURE__ */
|
|
418
|
-
/* @__PURE__ */
|
|
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-${
|
|
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((
|
|
647
|
+
children: i == null ? void 0 : i.map((v, L) => /* @__PURE__ */ r(
|
|
424
648
|
"a",
|
|
425
649
|
{
|
|
426
|
-
href:
|
|
427
|
-
className:
|
|
428
|
-
[`col-span-${
|
|
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__ */
|
|
432
|
-
|
|
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:
|
|
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
|
-
|
|
444
|
-
|
|
667
|
+
a && /* @__PURE__ */ r(
|
|
668
|
+
$,
|
|
445
669
|
{
|
|
446
|
-
src:
|
|
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
|
-
|
|
453
|
-
|
|
676
|
+
n && /* @__PURE__ */ r(
|
|
677
|
+
$,
|
|
454
678
|
{
|
|
455
|
-
src:
|
|
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
|
-
|
|
464
|
-
var
|
|
465
|
-
const
|
|
466
|
-
var
|
|
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
|
|
469
|
-
},
|
|
470
|
-
function
|
|
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),
|
|
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 (!(
|
|
478
|
-
if (t = i ? [] : {}, !i && !
|
|
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
|
|
482
|
-
e.hasOwnProperty(
|
|
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
|
|
488
|
-
if (!t || !
|
|
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
|
|
491
|
-
return
|
|
492
|
-
},
|
|
493
|
-
let
|
|
494
|
-
const
|
|
495
|
-
for (; ++
|
|
496
|
-
const
|
|
497
|
-
let
|
|
498
|
-
if (
|
|
499
|
-
const
|
|
500
|
-
|
|
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 (
|
|
726
|
+
if (p === "__proto__" || p === "constructor" || p === "prototype")
|
|
503
727
|
return;
|
|
504
|
-
e[
|
|
728
|
+
e[p] = v, e = e[p];
|
|
505
729
|
}
|
|
506
730
|
};
|
|
507
|
-
const
|
|
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
|
-
},
|
|
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
|
-
},
|
|
526
|
-
|
|
527
|
-
const
|
|
749
|
+
}, Pt = W.createContext(null);
|
|
750
|
+
Pt.displayName = "HookFormContext";
|
|
751
|
+
const na = (e) => {
|
|
528
752
|
const { children: t, ...i } = e;
|
|
529
|
-
return W.createElement(
|
|
753
|
+
return W.createElement(Pt.Provider, { value: i }, t);
|
|
530
754
|
};
|
|
531
|
-
var
|
|
532
|
-
const
|
|
755
|
+
var sa = (e, t, i, a = !0) => {
|
|
756
|
+
const n = {
|
|
533
757
|
defaultValues: t._defaultValues
|
|
534
758
|
};
|
|
535
|
-
for (const
|
|
536
|
-
Object.defineProperty(
|
|
759
|
+
for (const s in e)
|
|
760
|
+
Object.defineProperty(n, s, {
|
|
537
761
|
get: () => {
|
|
538
|
-
const
|
|
539
|
-
return t._proxyFormState[
|
|
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
|
|
766
|
+
return n;
|
|
543
767
|
};
|
|
544
|
-
const
|
|
545
|
-
var
|
|
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
|
-
[
|
|
773
|
+
[a]: n || !0
|
|
550
774
|
}
|
|
551
|
-
} : {}, we = (e) => Array.isArray(e) ? e : [e],
|
|
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: (
|
|
558
|
-
for (const
|
|
559
|
-
|
|
781
|
+
next: (n) => {
|
|
782
|
+
for (const s of e)
|
|
783
|
+
s.next && s.next(n);
|
|
560
784
|
},
|
|
561
|
-
subscribe: (
|
|
785
|
+
subscribe: (n) => (e.push(n), {
|
|
562
786
|
unsubscribe: () => {
|
|
563
|
-
e = e.filter((
|
|
787
|
+
e = e.filter((s) => s !== n);
|
|
564
788
|
}
|
|
565
789
|
}),
|
|
566
790
|
unsubscribe: () => {
|
|
567
791
|
e = [];
|
|
568
792
|
}
|
|
569
793
|
};
|
|
570
|
-
}, Ge = (e) =>
|
|
571
|
-
function
|
|
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),
|
|
577
|
-
if (i.length !==
|
|
800
|
+
const i = Object.keys(e), a = Object.keys(t);
|
|
801
|
+
if (i.length !== a.length)
|
|
578
802
|
return !1;
|
|
579
|
-
for (const
|
|
580
|
-
const
|
|
581
|
-
if (!
|
|
803
|
+
for (const n of i) {
|
|
804
|
+
const s = e[n];
|
|
805
|
+
if (!a.includes(n))
|
|
582
806
|
return !1;
|
|
583
|
-
if (
|
|
584
|
-
const
|
|
585
|
-
if (be(
|
|
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) =>
|
|
592
|
-
if (!
|
|
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
|
-
},
|
|
597
|
-
function
|
|
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
|
|
600
|
-
for (;
|
|
601
|
-
e =
|
|
823
|
+
let a = 0;
|
|
824
|
+
for (; a < i; )
|
|
825
|
+
e = O(e) ? a++ : e[t[a++]];
|
|
602
826
|
return e;
|
|
603
827
|
}
|
|
604
|
-
function
|
|
828
|
+
function ua(e) {
|
|
605
829
|
for (const t in e)
|
|
606
|
-
if (e.hasOwnProperty(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 :
|
|
612
|
-
return
|
|
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
|
|
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
|
|
844
|
+
function Ve(e, t = {}) {
|
|
621
845
|
const i = Array.isArray(e);
|
|
622
|
-
if (
|
|
623
|
-
for (const
|
|
624
|
-
Array.isArray(e[
|
|
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
|
|
628
|
-
const
|
|
629
|
-
if (
|
|
630
|
-
for (const
|
|
631
|
-
Array.isArray(e[
|
|
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
|
|
635
|
-
const
|
|
858
|
+
var ke = (e, t) => qt(e, t, Ve(t));
|
|
859
|
+
const xt = {
|
|
636
860
|
value: !1,
|
|
637
861
|
isValid: !1
|
|
638
|
-
},
|
|
639
|
-
var
|
|
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 && !
|
|
648
|
-
) :
|
|
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
|
|
651
|
-
},
|
|
652
|
-
const
|
|
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
|
|
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,
|
|
660
|
-
function
|
|
883
|
+
} : t, ft) : ft;
|
|
884
|
+
function ht(e) {
|
|
661
885
|
const t = e.ref;
|
|
662
|
-
return
|
|
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
|
|
665
|
-
const
|
|
666
|
-
for (const
|
|
667
|
-
const
|
|
668
|
-
|
|
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:
|
|
674
|
-
shouldUseNativeValidation:
|
|
897
|
+
fields: n,
|
|
898
|
+
shouldUseNativeValidation: a
|
|
675
899
|
};
|
|
676
|
-
},
|
|
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
|
|
684
|
-
var
|
|
685
|
-
const ve = (e, t, i,
|
|
686
|
-
for (const
|
|
687
|
-
const
|
|
688
|
-
if (
|
|
689
|
-
const { _f:
|
|
690
|
-
if (
|
|
691
|
-
if (
|
|
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 (
|
|
917
|
+
if (d.ref && t(d.ref, d.name) && !a)
|
|
694
918
|
return !0;
|
|
695
|
-
if (ve(
|
|
919
|
+
if (ve(p, t))
|
|
696
920
|
break;
|
|
697
|
-
} else if (
|
|
921
|
+
} else if (P(p) && ve(p, t))
|
|
698
922
|
break;
|
|
699
923
|
}
|
|
700
924
|
}
|
|
701
925
|
};
|
|
702
|
-
function
|
|
703
|
-
const
|
|
704
|
-
if (
|
|
926
|
+
function wt(e, t, i) {
|
|
927
|
+
const a = f(e, i);
|
|
928
|
+
if (a || Ae(i))
|
|
705
929
|
return {
|
|
706
|
-
error:
|
|
930
|
+
error: a,
|
|
707
931
|
name: i
|
|
708
932
|
};
|
|
709
|
-
const
|
|
710
|
-
for (;
|
|
711
|
-
const
|
|
712
|
-
if (
|
|
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 (
|
|
938
|
+
if (p && p.type)
|
|
715
939
|
return {
|
|
716
|
-
name:
|
|
717
|
-
error:
|
|
940
|
+
name: s,
|
|
941
|
+
error: p
|
|
718
942
|
};
|
|
719
|
-
if (
|
|
943
|
+
if (p && p.root && p.root.type)
|
|
720
944
|
return {
|
|
721
|
-
name: `${
|
|
722
|
-
error:
|
|
945
|
+
name: `${s}.root`,
|
|
946
|
+
error: p.root
|
|
723
947
|
};
|
|
724
|
-
|
|
948
|
+
n.pop();
|
|
725
949
|
}
|
|
726
950
|
return {
|
|
727
951
|
name: i
|
|
728
952
|
};
|
|
729
953
|
}
|
|
730
|
-
var
|
|
954
|
+
var fa = (e, t, i, a) => {
|
|
731
955
|
i(e);
|
|
732
|
-
const { name:
|
|
733
|
-
return Z(
|
|
734
|
-
},
|
|
735
|
-
const
|
|
736
|
-
return
|
|
737
|
-
},
|
|
738
|
-
function
|
|
739
|
-
if (
|
|
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:
|
|
966
|
+
message: Ee(e) ? e : "",
|
|
743
967
|
ref: t
|
|
744
968
|
};
|
|
745
969
|
}
|
|
746
|
-
var he = (e) =>
|
|
970
|
+
var he = (e) => P(e) && !Me(e) ? e : {
|
|
747
971
|
value: e,
|
|
748
972
|
message: ""
|
|
749
|
-
},
|
|
750
|
-
const { ref:
|
|
751
|
-
if (!
|
|
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
|
|
754
|
-
|
|
755
|
-
},
|
|
756
|
-
const
|
|
757
|
-
|
|
758
|
-
type:
|
|
759
|
-
message:
|
|
760
|
-
ref:
|
|
761
|
-
...xe(
|
|
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 (
|
|
765
|
-
const { value:
|
|
766
|
-
if (
|
|
767
|
-
type:
|
|
768
|
-
message:
|
|
769
|
-
ref:
|
|
770
|
-
...xe(
|
|
771
|
-
}, !
|
|
772
|
-
return
|
|
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 && (!
|
|
775
|
-
let
|
|
776
|
-
const A = he(
|
|
777
|
-
if (!
|
|
778
|
-
const
|
|
779
|
-
|
|
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
|
|
782
|
-
|
|
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 ((
|
|
785
|
-
return
|
|
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 ((
|
|
788
|
-
const
|
|
789
|
-
if ((A ||
|
|
790
|
-
return
|
|
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 (
|
|
793
|
-
const { value:
|
|
794
|
-
if (
|
|
795
|
-
type:
|
|
796
|
-
message:
|
|
797
|
-
ref:
|
|
798
|
-
...xe(
|
|
799
|
-
}, !
|
|
800
|
-
return
|
|
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 (
|
|
803
|
-
if (ee(
|
|
804
|
-
const
|
|
805
|
-
if (
|
|
806
|
-
...
|
|
807
|
-
...xe(
|
|
808
|
-
}, !
|
|
809
|
-
return
|
|
810
|
-
} else if (
|
|
811
|
-
let
|
|
812
|
-
for (const
|
|
813
|
-
if (!Z(
|
|
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 =
|
|
816
|
-
A && (
|
|
1039
|
+
const A = vt(await Q[T](C, i), oe, T);
|
|
1040
|
+
A && (N = {
|
|
817
1041
|
...A,
|
|
818
|
-
...xe(
|
|
819
|
-
},
|
|
1042
|
+
...xe(T, A.message)
|
|
1043
|
+
}, te(A.message), a && (R[M] = N));
|
|
820
1044
|
}
|
|
821
|
-
if (!Z(
|
|
822
|
-
ref:
|
|
823
|
-
...
|
|
824
|
-
}, !
|
|
825
|
-
return
|
|
1045
|
+
if (!Z(N) && (R[M] = {
|
|
1046
|
+
ref: oe,
|
|
1047
|
+
...N
|
|
1048
|
+
}, !a))
|
|
1049
|
+
return R;
|
|
826
1050
|
}
|
|
827
1051
|
}
|
|
828
|
-
return
|
|
1052
|
+
return te(!0), R;
|
|
829
1053
|
};
|
|
830
|
-
const
|
|
1054
|
+
const wa = {
|
|
831
1055
|
mode: K.onSubmit,
|
|
832
1056
|
reValidateMode: K.onChange,
|
|
833
1057
|
shouldFocusError: !0
|
|
834
1058
|
};
|
|
835
|
-
function
|
|
1059
|
+
function va(e = {}) {
|
|
836
1060
|
let t = {
|
|
837
|
-
...
|
|
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
|
|
856
|
-
let
|
|
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
|
-
},
|
|
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
|
-
},
|
|
867
|
-
const
|
|
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
|
|
877
|
-
...
|
|
1100
|
+
let _ = {
|
|
1101
|
+
...F
|
|
878
1102
|
};
|
|
879
|
-
const
|
|
880
|
-
array:
|
|
881
|
-
state:
|
|
882
|
-
},
|
|
883
|
-
clearTimeout(
|
|
884
|
-
}, M = async (
|
|
885
|
-
if (!t.disabled && (
|
|
886
|
-
const
|
|
887
|
-
|
|
888
|
-
isValid:
|
|
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
|
-
},
|
|
892
|
-
!t.disabled && (
|
|
893
|
-
c && (
|
|
894
|
-
}),
|
|
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
|
-
},
|
|
1122
|
+
}, Pe = (l, o = [], c, g, u = !0, m = !0) => {
|
|
899
1123
|
if (g && c && !t.disabled) {
|
|
900
|
-
if (
|
|
901
|
-
const
|
|
902
|
-
u &&
|
|
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(
|
|
905
|
-
const
|
|
906
|
-
u &&
|
|
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 ((
|
|
909
|
-
const
|
|
910
|
-
u &&
|
|
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
|
-
(
|
|
913
|
-
name:
|
|
914
|
-
isDirty:
|
|
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
|
-
|
|
921
|
-
},
|
|
922
|
-
|
|
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
|
-
},
|
|
926
|
-
i.errors =
|
|
1149
|
+
}, oe = (l) => {
|
|
1150
|
+
i.errors = l, k.state.next({
|
|
927
1151
|
errors: i.errors,
|
|
928
1152
|
isValid: !1
|
|
929
1153
|
});
|
|
930
|
-
},
|
|
931
|
-
const u =
|
|
1154
|
+
}, te = (l, o, c, g) => {
|
|
1155
|
+
const u = f(a, l);
|
|
932
1156
|
if (u) {
|
|
933
|
-
const m =
|
|
934
|
-
|
|
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
|
-
},
|
|
937
|
-
let m = !1,
|
|
1160
|
+
}, R = (l, o, c, g, u) => {
|
|
1161
|
+
let m = !1, h = !1;
|
|
938
1162
|
const D = {
|
|
939
|
-
name:
|
|
1163
|
+
name: l
|
|
940
1164
|
};
|
|
941
1165
|
if (!t.disabled) {
|
|
942
1166
|
if (!c || g) {
|
|
943
|
-
(
|
|
944
|
-
const
|
|
945
|
-
|
|
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
|
|
949
|
-
|
|
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 &&
|
|
1175
|
+
m && u && k.state.next(D);
|
|
952
1176
|
}
|
|
953
1177
|
return m ? D : {};
|
|
954
|
-
},
|
|
955
|
-
const u =
|
|
956
|
-
if (t.delayError && c ? (
|
|
957
|
-
const
|
|
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 &&
|
|
1183
|
+
...m && le(o) ? { isValid: o } : {},
|
|
960
1184
|
errors: i.errors,
|
|
961
|
-
name:
|
|
1185
|
+
name: l
|
|
962
1186
|
};
|
|
963
1187
|
i = {
|
|
964
1188
|
...i,
|
|
965
|
-
...
|
|
966
|
-
},
|
|
1189
|
+
...h
|
|
1190
|
+
}, k.state.next(h);
|
|
967
1191
|
}
|
|
968
|
-
},
|
|
969
|
-
|
|
970
|
-
const
|
|
971
|
-
return
|
|
972
|
-
},
|
|
973
|
-
const { errors:
|
|
974
|
-
if (
|
|
975
|
-
for (const c of
|
|
976
|
-
const g =
|
|
977
|
-
g ?
|
|
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 =
|
|
981
|
-
return
|
|
982
|
-
}, J = async (
|
|
1204
|
+
i.errors = o;
|
|
1205
|
+
return o;
|
|
1206
|
+
}, J = async (l, o, c = {
|
|
983
1207
|
valid: !0
|
|
984
1208
|
}) => {
|
|
985
|
-
for (const g in
|
|
986
|
-
const u =
|
|
1209
|
+
for (const g in l) {
|
|
1210
|
+
const u = l[g];
|
|
987
1211
|
if (u) {
|
|
988
|
-
const { _f: m, ...
|
|
1212
|
+
const { _f: m, ...h } = u;
|
|
989
1213
|
if (m) {
|
|
990
|
-
const D =
|
|
991
|
-
|
|
992
|
-
const z = await
|
|
993
|
-
if (
|
|
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
|
-
!
|
|
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(
|
|
1221
|
+
!Z(h) && await J(h, o, c);
|
|
998
1222
|
}
|
|
999
1223
|
}
|
|
1000
1224
|
return c.valid;
|
|
1001
1225
|
}, xe = () => {
|
|
1002
|
-
for (const
|
|
1003
|
-
const
|
|
1004
|
-
|
|
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
|
-
|
|
1007
|
-
},
|
|
1008
|
-
...
|
|
1009
|
-
}, c,
|
|
1010
|
-
const g =
|
|
1011
|
-
let u =
|
|
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 &&
|
|
1015
|
-
(!
|
|
1016
|
-
}) : m.refs.forEach((
|
|
1017
|
-
name:
|
|
1018
|
-
values:
|
|
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) &&
|
|
1022
|
-
},
|
|
1023
|
-
for (const g in
|
|
1024
|
-
if (!
|
|
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 =
|
|
1027
|
-
(
|
|
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
|
-
},
|
|
1030
|
-
const g =
|
|
1031
|
-
|
|
1032
|
-
name:
|
|
1033
|
-
values:
|
|
1034
|
-
}), (
|
|
1035
|
-
name:
|
|
1036
|
-
dirtyFields:
|
|
1037
|
-
isDirty:
|
|
1038
|
-
})) : g && !g._f && !
|
|
1039
|
-
name:
|
|
1040
|
-
values:
|
|
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
|
-
},
|
|
1043
|
-
|
|
1044
|
-
const
|
|
1045
|
-
let c =
|
|
1046
|
-
const u =
|
|
1047
|
-
g = Number.isNaN(
|
|
1048
|
-
},
|
|
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
|
|
1051
|
-
const
|
|
1052
|
-
|
|
1053
|
-
const
|
|
1054
|
-
if (!
|
|
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:
|
|
1057
|
-
values:
|
|
1058
|
-
}),
|
|
1059
|
-
return (
|
|
1060
|
-
if (!
|
|
1061
|
-
const { errors:
|
|
1062
|
-
if (m(
|
|
1063
|
-
const
|
|
1064
|
-
|
|
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
|
-
|
|
1068
|
-
g && (u._f.deps && fe(u._f.deps),
|
|
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
|
-
},
|
|
1071
|
-
if (
|
|
1072
|
-
return
|
|
1073
|
-
}, fe = async (
|
|
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(
|
|
1299
|
+
const u = we(l);
|
|
1076
1300
|
if (t.resolver) {
|
|
1077
|
-
const m = await
|
|
1078
|
-
c = Z(m), g =
|
|
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
|
-
|
|
1081
|
-
const
|
|
1082
|
-
return await J(
|
|
1083
|
-
}))).every(Boolean), !(!g && !i.isValid) && M()) : g = c = await J(
|
|
1084
|
-
return
|
|
1085
|
-
...!
|
|
1086
|
-
...t.resolver || !
|
|
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
|
-
}),
|
|
1089
|
-
}, De = (
|
|
1090
|
-
const
|
|
1091
|
-
...
|
|
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
|
|
1094
|
-
},
|
|
1095
|
-
invalid: !!
|
|
1096
|
-
isDirty: !!
|
|
1097
|
-
error:
|
|
1098
|
-
isValidating: !!
|
|
1099
|
-
isTouched: !!
|
|
1100
|
-
}),
|
|
1101
|
-
|
|
1102
|
-
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
|
-
},
|
|
1105
|
-
const g = (
|
|
1106
|
-
|
|
1107
|
-
...
|
|
1108
|
-
...
|
|
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
|
-
}),
|
|
1111
|
-
name:
|
|
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
|
-
},
|
|
1116
|
-
next: (c) =>
|
|
1117
|
-
}) :
|
|
1118
|
-
next: (
|
|
1119
|
-
|
|
1120
|
-
values: { ...
|
|
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
|
-
...
|
|
1346
|
+
...o
|
|
1123
1347
|
});
|
|
1124
1348
|
}
|
|
1125
|
-
}).unsubscribe,
|
|
1126
|
-
...
|
|
1127
|
-
...
|
|
1128
|
-
},
|
|
1129
|
-
...
|
|
1130
|
-
formState:
|
|
1131
|
-
})),
|
|
1132
|
-
for (const c of
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
values:
|
|
1136
|
-
}),
|
|
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
|
-
...
|
|
1139
|
-
}), !
|
|
1140
|
-
},
|
|
1141
|
-
(
|
|
1142
|
-
},
|
|
1143
|
-
let c =
|
|
1144
|
-
const g =
|
|
1145
|
-
return
|
|
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:
|
|
1149
|
-
name:
|
|
1372
|
+
...c && c._f ? c._f : { ref: { name: l } },
|
|
1373
|
+
name: l,
|
|
1150
1374
|
mount: !0,
|
|
1151
|
-
...
|
|
1375
|
+
...o
|
|
1152
1376
|
}
|
|
1153
|
-
}),
|
|
1154
|
-
disabled:
|
|
1155
|
-
name:
|
|
1156
|
-
}) :
|
|
1157
|
-
...g ? { 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: !!
|
|
1160
|
-
min: ye(
|
|
1161
|
-
max: ye(
|
|
1162
|
-
minLength: ye(
|
|
1163
|
-
maxLength: ye(
|
|
1164
|
-
pattern: ye(
|
|
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:
|
|
1167
|
-
onChange:
|
|
1168
|
-
onBlur:
|
|
1390
|
+
name: l,
|
|
1391
|
+
onChange: ae,
|
|
1392
|
+
onBlur: ae,
|
|
1169
1393
|
ref: (u) => {
|
|
1170
1394
|
if (u) {
|
|
1171
|
-
|
|
1172
|
-
const m =
|
|
1173
|
-
if (
|
|
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
|
-
|
|
1399
|
+
E(a, l, {
|
|
1176
1400
|
_f: {
|
|
1177
1401
|
...c._f,
|
|
1178
|
-
...
|
|
1402
|
+
...h ? {
|
|
1179
1403
|
refs: [
|
|
1180
|
-
...D.filter(
|
|
1404
|
+
...D.filter(Ue),
|
|
1181
1405
|
m,
|
|
1182
|
-
...Array.isArray(
|
|
1406
|
+
...Array.isArray(f(n, l)) ? [{}] : []
|
|
1183
1407
|
],
|
|
1184
|
-
ref: { type: m.type, name:
|
|
1408
|
+
ref: { type: m.type, name: l }
|
|
1185
1409
|
} : { ref: m }
|
|
1186
1410
|
}
|
|
1187
|
-
}),
|
|
1411
|
+
}), te(l, !1, void 0, m);
|
|
1188
1412
|
} else
|
|
1189
|
-
c =
|
|
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
|
-
},
|
|
1193
|
-
|
|
1194
|
-
const g =
|
|
1195
|
-
g && (
|
|
1196
|
-
u.disabled = g._f.disabled ||
|
|
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
|
-
},
|
|
1423
|
+
}, rt = (l, o) => async (c) => {
|
|
1200
1424
|
let g;
|
|
1201
1425
|
c && (c.preventDefault && c.preventDefault(), c.persist && c.persist());
|
|
1202
|
-
let u =
|
|
1203
|
-
if (
|
|
1426
|
+
let u = j(s);
|
|
1427
|
+
if (k.state.next({
|
|
1204
1428
|
isSubmitting: !0
|
|
1205
1429
|
}), t.resolver) {
|
|
1206
|
-
const { errors: m, values:
|
|
1207
|
-
i.errors = m, u =
|
|
1430
|
+
const { errors: m, values: h } = await pe();
|
|
1431
|
+
i.errors = m, u = h;
|
|
1208
1432
|
} else
|
|
1209
|
-
await J(
|
|
1210
|
-
if (
|
|
1211
|
-
for (const m of
|
|
1212
|
-
|
|
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
|
-
|
|
1438
|
+
k.state.next({
|
|
1215
1439
|
errors: {}
|
|
1216
1440
|
});
|
|
1217
1441
|
try {
|
|
1218
|
-
await
|
|
1442
|
+
await l(u, c);
|
|
1219
1443
|
} catch (m) {
|
|
1220
1444
|
g = m;
|
|
1221
1445
|
}
|
|
1222
1446
|
} else
|
|
1223
|
-
|
|
1224
|
-
if (
|
|
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
|
-
},
|
|
1233
|
-
|
|
1234
|
-
},
|
|
1235
|
-
const c =
|
|
1236
|
-
if (
|
|
1237
|
-
if (
|
|
1238
|
-
const
|
|
1239
|
-
...
|
|
1240
|
-
...Object.keys(
|
|
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(
|
|
1243
|
-
|
|
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 (
|
|
1246
|
-
for (const
|
|
1247
|
-
const D =
|
|
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
|
|
1250
|
-
if (
|
|
1251
|
-
const z =
|
|
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
|
|
1260
|
-
|
|
1483
|
+
for (const h of p.mount)
|
|
1484
|
+
G(h, f(m, h));
|
|
1261
1485
|
}
|
|
1262
|
-
|
|
1486
|
+
s = j(m), k.array.next({
|
|
1263
1487
|
values: { ...m }
|
|
1264
|
-
}),
|
|
1488
|
+
}), k.state.next({
|
|
1265
1489
|
values: { ...m }
|
|
1266
1490
|
});
|
|
1267
1491
|
}
|
|
1268
|
-
|
|
1269
|
-
mount:
|
|
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
|
-
},
|
|
1277
|
-
submitCount:
|
|
1278
|
-
isDirty: u ? !1 :
|
|
1279
|
-
isSubmitted:
|
|
1280
|
-
dirtyFields: u ? {} :
|
|
1281
|
-
touchedFields:
|
|
1282
|
-
errors:
|
|
1283
|
-
isSubmitSuccessful:
|
|
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
|
-
},
|
|
1287
|
-
const c =
|
|
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(),
|
|
1514
|
+
u.focus && (u.focus(), o.shouldSelect && ee(u.select) && u.select());
|
|
1291
1515
|
}
|
|
1292
|
-
},
|
|
1516
|
+
}, xi = (l) => {
|
|
1293
1517
|
i = {
|
|
1294
1518
|
...i,
|
|
1295
|
-
...
|
|
1519
|
+
...l
|
|
1296
1520
|
};
|
|
1297
|
-
},
|
|
1521
|
+
}, ot = {
|
|
1298
1522
|
control: {
|
|
1299
|
-
register:
|
|
1300
|
-
unregister:
|
|
1301
|
-
getFieldState:
|
|
1302
|
-
handleSubmit:
|
|
1303
|
-
setError:
|
|
1304
|
-
_subscribe:
|
|
1305
|
-
_runSchema:
|
|
1306
|
-
_focusError:
|
|
1307
|
-
_getWatch:
|
|
1308
|
-
_getDirty:
|
|
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:
|
|
1311
|
-
_setDisabledField:
|
|
1312
|
-
_setErrors:
|
|
1313
|
-
_getFieldArray:
|
|
1314
|
-
_reset:
|
|
1315
|
-
_resetDefaultValues: () => ee(t.defaultValues) && t.defaultValues().then((
|
|
1316
|
-
|
|
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:
|
|
1322
|
-
_subjects:
|
|
1323
|
-
_proxyFormState:
|
|
1545
|
+
_disableForm: mi,
|
|
1546
|
+
_subjects: k,
|
|
1547
|
+
_proxyFormState: F,
|
|
1324
1548
|
get _fields() {
|
|
1325
|
-
return
|
|
1549
|
+
return a;
|
|
1326
1550
|
},
|
|
1327
1551
|
get _formValues() {
|
|
1328
|
-
return
|
|
1552
|
+
return s;
|
|
1329
1553
|
},
|
|
1330
1554
|
get _state() {
|
|
1331
|
-
return
|
|
1555
|
+
return d;
|
|
1332
1556
|
},
|
|
1333
|
-
set _state(
|
|
1334
|
-
|
|
1557
|
+
set _state(l) {
|
|
1558
|
+
d = l;
|
|
1335
1559
|
},
|
|
1336
1560
|
get _defaultValues() {
|
|
1337
|
-
return
|
|
1561
|
+
return n;
|
|
1338
1562
|
},
|
|
1339
1563
|
get _names() {
|
|
1340
|
-
return
|
|
1564
|
+
return p;
|
|
1341
1565
|
},
|
|
1342
|
-
set _names(
|
|
1343
|
-
|
|
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(
|
|
1575
|
+
set _options(l) {
|
|
1352
1576
|
t = {
|
|
1353
1577
|
...t,
|
|
1354
|
-
...
|
|
1578
|
+
...l
|
|
1355
1579
|
};
|
|
1356
1580
|
}
|
|
1357
1581
|
},
|
|
1358
|
-
subscribe:
|
|
1582
|
+
subscribe: pi,
|
|
1359
1583
|
trigger: fe,
|
|
1360
|
-
register:
|
|
1361
|
-
handleSubmit:
|
|
1362
|
-
watch:
|
|
1363
|
-
setValue:
|
|
1584
|
+
register: qe,
|
|
1585
|
+
handleSubmit: rt,
|
|
1586
|
+
watch: di,
|
|
1587
|
+
setValue: G,
|
|
1364
1588
|
getValues: De,
|
|
1365
|
-
reset:
|
|
1366
|
-
resetField:
|
|
1367
|
-
clearErrors:
|
|
1368
|
-
unregister:
|
|
1369
|
-
setError:
|
|
1370
|
-
setFocus:
|
|
1371
|
-
getFieldState:
|
|
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
|
-
...
|
|
1375
|
-
formControl:
|
|
1598
|
+
...ot,
|
|
1599
|
+
formControl: ot
|
|
1376
1600
|
};
|
|
1377
1601
|
}
|
|
1378
|
-
function
|
|
1379
|
-
const t = W.useRef(void 0), i = W.useRef(void 0), [
|
|
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:
|
|
1624
|
+
formState: a
|
|
1401
1625
|
}, e.defaultValues && !ee(e.defaultValues) && e.formControl.reset(e.defaultValues, e.resetOptions);
|
|
1402
1626
|
else {
|
|
1403
|
-
const { formControl:
|
|
1627
|
+
const { formControl: d, ...p } = va(e);
|
|
1404
1628
|
t.current = {
|
|
1405
|
-
...
|
|
1406
|
-
formState:
|
|
1629
|
+
...p,
|
|
1630
|
+
formState: a
|
|
1407
1631
|
};
|
|
1408
1632
|
}
|
|
1409
|
-
const
|
|
1410
|
-
return
|
|
1411
|
-
const
|
|
1412
|
-
formState:
|
|
1413
|
-
callback: () =>
|
|
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
|
|
1417
|
-
...
|
|
1640
|
+
return n((p) => ({
|
|
1641
|
+
...p,
|
|
1418
1642
|
isReady: !0
|
|
1419
|
-
})),
|
|
1420
|
-
}, [
|
|
1421
|
-
e.mode && (
|
|
1422
|
-
}, [
|
|
1423
|
-
e.errors && (
|
|
1424
|
-
}, [
|
|
1425
|
-
e.shouldUnregister &&
|
|
1426
|
-
values:
|
|
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
|
-
}, [
|
|
1429
|
-
if (
|
|
1430
|
-
const
|
|
1431
|
-
|
|
1432
|
-
isDirty:
|
|
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
|
-
}, [
|
|
1436
|
-
e.values && !
|
|
1437
|
-
}, [
|
|
1438
|
-
|
|
1439
|
-
}), t.current.formState =
|
|
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
|
|
1442
|
-
const [i,
|
|
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:
|
|
1670
|
+
}), { handleSubmit: s, setValue: d, getValues: p } = n, v = (_) => {
|
|
1447
1671
|
try {
|
|
1448
|
-
|
|
1449
|
-
} catch (
|
|
1450
|
-
console.error("Error submitting feedback:",
|
|
1672
|
+
a(!0), console.log("Submitted:", _);
|
|
1673
|
+
} catch (k) {
|
|
1674
|
+
console.error("Error submitting feedback:", k);
|
|
1451
1675
|
} finally {
|
|
1452
|
-
|
|
1676
|
+
a(!1);
|
|
1453
1677
|
}
|
|
1454
|
-
},
|
|
1455
|
-
|
|
1456
|
-
},
|
|
1457
|
-
return /* @__PURE__ */
|
|
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__ */
|
|
1460
|
-
/* @__PURE__ */
|
|
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__ */
|
|
1464
|
-
|
|
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: () =>
|
|
1471
|
-
loading:
|
|
1694
|
+
onClick: () => L("yes"),
|
|
1695
|
+
loading: F === "yes" && i,
|
|
1472
1696
|
children: "Да"
|
|
1473
1697
|
}
|
|
1474
1698
|
),
|
|
1475
|
-
/* @__PURE__ */
|
|
1476
|
-
|
|
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: () =>
|
|
1483
|
-
loading:
|
|
1706
|
+
onClick: () => L("no"),
|
|
1707
|
+
loading: F === "no" && i,
|
|
1484
1708
|
children: "Нет"
|
|
1485
1709
|
}
|
|
1486
1710
|
)
|
|
1487
1711
|
] })
|
|
1488
1712
|
] }) }) });
|
|
1489
|
-
},
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
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__ */
|
|
1497
|
-
|
|
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__ */
|
|
1504
|
-
|
|
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
|
-
|
|
1517
|
-
const
|
|
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(
|
|
1522
|
-
e && /* @__PURE__ */
|
|
1523
|
-
/* @__PURE__ */
|
|
1524
|
-
|
|
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:
|
|
1759
|
+
data: a
|
|
1527
1760
|
},
|
|
1528
|
-
|
|
1761
|
+
a == null ? void 0 : a.id
|
|
1529
1762
|
)) }),
|
|
1530
|
-
(i == null ? void 0 : i.link) && (i == null ? void 0 : i.text) && /* @__PURE__ */
|
|
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__ */
|
|
1769
|
+
children: /* @__PURE__ */ r(I, { children: i == null ? void 0 : i.text })
|
|
1537
1770
|
}
|
|
1538
1771
|
)
|
|
1539
1772
|
] });
|
|
1540
|
-
|
|
1541
|
-
const
|
|
1542
|
-
var t, i,
|
|
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__ */
|
|
1545
|
-
|
|
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__ */
|
|
1555
|
-
(e == null ? void 0 : e.subtitle) && /* @__PURE__ */
|
|
1556
|
-
(e == null ? void 0 : e.button.button_link) && ((t = e == null ? void 0 : e.button) == null ? void 0 : t.button_text) && /* @__PURE__ */
|
|
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__ */
|
|
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
|
-
|
|
1568
|
-
const
|
|
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:
|
|
1573
|
-
grid:
|
|
1574
|
-
}) => /* @__PURE__ */ x(
|
|
1575
|
-
e && /* @__PURE__ */
|
|
1576
|
-
/* @__PURE__ */
|
|
1577
|
-
i &&
|
|
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__ */
|
|
1816
|
+
children: /* @__PURE__ */ r(I, { children: a })
|
|
1584
1817
|
}
|
|
1585
1818
|
)
|
|
1586
1819
|
] });
|
|
1587
|
-
|
|
1588
|
-
const
|
|
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__ */
|
|
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__ */
|
|
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__ */
|
|
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__ */
|
|
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__ */
|
|
1876
|
+
/* @__PURE__ */ r(
|
|
1644
1877
|
"stop",
|
|
1645
1878
|
{
|
|
1646
1879
|
"stop-color": "white",
|
|
1647
1880
|
"stop-opacity": "0"
|
|
1648
1881
|
}
|
|
1649
1882
|
),
|
|
1650
|
-
/* @__PURE__ */
|
|
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__ */
|
|
1671
|
-
/* @__PURE__ */
|
|
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
|
-
),
|
|
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__ */
|
|
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
|
-
),
|
|
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__ */
|
|
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
|
-
),
|
|
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__ */
|
|
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
|
-
),
|
|
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__ */
|
|
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
|
-
),
|
|
1749
|
-
infoDark:
|
|
1750
|
-
infoCrown:
|
|
1751
|
-
infoLight:
|
|
1752
|
-
download:
|
|
1753
|
-
file:
|
|
1754
|
-
},
|
|
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
|
-
},
|
|
1993
|
+
}, se = ({
|
|
1761
1994
|
name: e,
|
|
1762
1995
|
color: t = "currentColor",
|
|
1763
1996
|
size: i = "sm",
|
|
1764
|
-
...
|
|
1765
|
-
}) =>
|
|
1766
|
-
size: typeof i == "string" ?
|
|
1997
|
+
...a
|
|
1998
|
+
}) => Nt[e] && Nt[e]({
|
|
1999
|
+
size: typeof i == "string" ? Aa[i] : i,
|
|
1767
2000
|
color: t,
|
|
1768
2001
|
name: e,
|
|
1769
|
-
...
|
|
1770
|
-
}),
|
|
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:
|
|
1775
|
-
}) => /* @__PURE__ */
|
|
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:
|
|
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__ */
|
|
1783
|
-
|
|
2015
|
+
/* @__PURE__ */ r(
|
|
2016
|
+
se,
|
|
1784
2017
|
{
|
|
1785
|
-
name:
|
|
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__ */
|
|
2023
|
+
/* @__PURE__ */ r(
|
|
1791
2024
|
"p",
|
|
1792
2025
|
{
|
|
1793
|
-
className:
|
|
1794
|
-
style: { color:
|
|
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__ */
|
|
2031
|
+
/* @__PURE__ */ r(
|
|
1799
2032
|
"p",
|
|
1800
2033
|
{
|
|
1801
2034
|
className: "text-[16px] leading-6",
|
|
1802
|
-
style: { color:
|
|
2035
|
+
style: { color: Se[a].textColor },
|
|
1803
2036
|
children: t
|
|
1804
2037
|
}
|
|
1805
2038
|
)
|
|
1806
2039
|
] })
|
|
1807
2040
|
] }),
|
|
1808
|
-
/* @__PURE__ */
|
|
2041
|
+
/* @__PURE__ */ r(I, { variant: B.Static, children: i })
|
|
1809
2042
|
] })
|
|
1810
2043
|
}
|
|
1811
2044
|
) });
|
|
1812
|
-
|
|
1813
|
-
const
|
|
2045
|
+
Wt.propsToEdit = Pa;
|
|
2046
|
+
const Oa = ["data"], Qt = ({
|
|
1814
2047
|
id: e,
|
|
1815
2048
|
title: t,
|
|
1816
2049
|
text: i,
|
|
1817
|
-
link:
|
|
1818
|
-
}) => /* @__PURE__ */
|
|
1819
|
-
/* @__PURE__ */
|
|
1820
|
-
/* @__PURE__ */
|
|
1821
|
-
/* @__PURE__ */
|
|
1822
|
-
/* @__PURE__ */
|
|
1823
|
-
|
|
1824
|
-
{
|
|
1825
|
-
iconRight: /* @__PURE__ */
|
|
1826
|
-
|
|
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:
|
|
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__ */
|
|
1839
|
-
|
|
2071
|
+
/* @__PURE__ */ r(
|
|
2072
|
+
se,
|
|
1840
2073
|
{
|
|
1841
2074
|
className: "flex-shrink-0",
|
|
1842
2075
|
name: "file",
|
|
1843
|
-
color:
|
|
2076
|
+
color: ne.greenLight,
|
|
1844
2077
|
size: 82
|
|
1845
2078
|
}
|
|
1846
2079
|
)
|
|
1847
2080
|
] }) });
|
|
1848
|
-
|
|
1849
|
-
const
|
|
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__ */
|
|
1852
|
-
|
|
2084
|
+
/* @__PURE__ */ r(
|
|
2085
|
+
se,
|
|
1853
2086
|
{
|
|
1854
2087
|
className: "flex-shrink-0",
|
|
1855
2088
|
name: "file",
|
|
1856
|
-
color:
|
|
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__ */
|
|
1862
|
-
/* @__PURE__ */
|
|
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__ */
|
|
1866
|
-
|
|
2098
|
+
/* @__PURE__ */ r(
|
|
2099
|
+
I,
|
|
1867
2100
|
{
|
|
1868
2101
|
variant: B.Secondary,
|
|
1869
|
-
iconRight: /* @__PURE__ */
|
|
1870
|
-
|
|
2102
|
+
iconRight: /* @__PURE__ */ r(
|
|
2103
|
+
se,
|
|
1871
2104
|
{
|
|
1872
2105
|
name: "download",
|
|
1873
2106
|
size: 20,
|
|
1874
|
-
color:
|
|
2107
|
+
color: ne.blackBG
|
|
1875
2108
|
}
|
|
1876
2109
|
)
|
|
1877
2110
|
}
|
|
1878
2111
|
)
|
|
1879
2112
|
] })) }) });
|
|
1880
|
-
|
|
1881
|
-
const
|
|
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__ */
|
|
1887
|
-
/* @__PURE__ */
|
|
1888
|
-
/* @__PURE__ */
|
|
1889
|
-
/* @__PURE__ */
|
|
1890
|
-
|
|
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__ */
|
|
1893
|
-
|
|
2125
|
+
iconRight: /* @__PURE__ */ r(
|
|
2126
|
+
se,
|
|
1894
2127
|
{
|
|
1895
2128
|
name: "download",
|
|
1896
2129
|
size: 20,
|
|
1897
|
-
color:
|
|
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__ */
|
|
1907
|
-
|
|
2139
|
+
/* @__PURE__ */ r(
|
|
2140
|
+
se,
|
|
1908
2141
|
{
|
|
1909
2142
|
className: "flex-shrink-0",
|
|
1910
2143
|
name: "file",
|
|
1911
|
-
color:
|
|
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
|
-
|
|
1920
|
-
const
|
|
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__ */
|
|
1926
|
-
|
|
2158
|
+
/* @__PURE__ */ r(
|
|
2159
|
+
se,
|
|
1927
2160
|
{
|
|
1928
2161
|
name: "file",
|
|
1929
|
-
color:
|
|
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__ */
|
|
1935
|
-
/* @__PURE__ */
|
|
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__ */
|
|
1938
|
-
|
|
2170
|
+
/* @__PURE__ */ r(
|
|
2171
|
+
I,
|
|
1939
2172
|
{
|
|
1940
|
-
iconRight: /* @__PURE__ */
|
|
1941
|
-
|
|
2173
|
+
iconRight: /* @__PURE__ */ r(
|
|
2174
|
+
se,
|
|
1942
2175
|
{
|
|
1943
2176
|
name: "download",
|
|
1944
2177
|
size: 20,
|
|
1945
|
-
color:
|
|
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
|
-
|
|
1958
|
-
const
|
|
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:
|
|
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__ */
|
|
1970
|
-
/* @__PURE__ */
|
|
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
|
-
(
|
|
1976
|
-
(
|
|
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
|
-
|
|
2296
|
+
a == null ? void 0 : a.id
|
|
1980
2297
|
)) })
|
|
1981
2298
|
]
|
|
1982
2299
|
}
|
|
1983
2300
|
);
|
|
1984
|
-
}
|
|
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:
|
|
1989
|
-
className:
|
|
2308
|
+
image: a,
|
|
2309
|
+
className: n
|
|
1990
2310
|
}) => /* @__PURE__ */ x(
|
|
1991
2311
|
"div",
|
|
1992
2312
|
{
|
|
1993
|
-
className:
|
|
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
|
-
|
|
2316
|
+
n
|
|
1997
2317
|
),
|
|
1998
2318
|
children: [
|
|
1999
2319
|
/* @__PURE__ */ x(
|
|
2000
2320
|
"div",
|
|
2001
2321
|
{
|
|
2002
|
-
className:
|
|
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) ||
|
|
2008
|
-
|
|
2327
|
+
((e == null ? void 0 : e.necessary_icon) || a) && /* @__PURE__ */ r(
|
|
2328
|
+
$,
|
|
2009
2329
|
{
|
|
2010
|
-
src: (e == null ? void 0 : e.necessary_icon) ??
|
|
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__ */
|
|
2339
|
+
/* @__PURE__ */ r(
|
|
2020
2340
|
"p",
|
|
2021
2341
|
{
|
|
2022
|
-
className:
|
|
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__ */
|
|
2349
|
+
((e == null ? void 0 : e.necessary_description) || i) && /* @__PURE__ */ r(
|
|
2030
2350
|
"p",
|
|
2031
2351
|
{
|
|
2032
|
-
className:
|
|
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__ */
|
|
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__ */
|
|
2049
|
-
|
|
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
|
-
),
|
|
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
|
|
2064
|
-
return /* @__PURE__ */ x(
|
|
2065
|
-
e && /* @__PURE__ */
|
|
2404
|
+
var a, n, s;
|
|
2405
|
+
return /* @__PURE__ */ x(V, { children: [
|
|
2406
|
+
e && /* @__PURE__ */ r(
|
|
2066
2407
|
"p",
|
|
2067
2408
|
{
|
|
2068
|
-
className:
|
|
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((
|
|
2076
|
-
var
|
|
2077
|
-
return /* @__PURE__ */
|
|
2078
|
-
|
|
2416
|
+
i == null ? void 0 : i.map((d) => {
|
|
2417
|
+
var p;
|
|
2418
|
+
return /* @__PURE__ */ r(
|
|
2419
|
+
Ke,
|
|
2079
2420
|
{
|
|
2080
|
-
data:
|
|
2081
|
-
className:
|
|
2082
|
-
"border-none": (
|
|
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
|
-
|
|
2426
|
+
d == null ? void 0 : d.id
|
|
2086
2427
|
);
|
|
2087
2428
|
}),
|
|
2088
|
-
((
|
|
2089
|
-
|
|
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: (
|
|
2093
|
-
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
|
-
|
|
2101
|
-
|
|
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:
|
|
2106
|
-
button_text:
|
|
2107
|
-
button_link:
|
|
2108
|
-
variant:
|
|
2109
|
-
buttonVariant:
|
|
2110
|
-
className:
|
|
2111
|
-
isDark:
|
|
2112
|
-
linkClassName:
|
|
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
|
|
2468
|
+
const _ = Fe(960), Q = d === "big" ? _ ? 106 : 343 : _ ? 106 : 64, M = p === B.Brand;
|
|
2115
2469
|
return /* @__PURE__ */ x(
|
|
2116
|
-
|
|
2470
|
+
V,
|
|
2117
2471
|
{
|
|
2118
2472
|
className: `flex justify-between items-center rounded-[20px]
|
|
2119
|
-
${
|
|
2120
|
-
${
|
|
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__ */
|
|
2480
|
+
/* @__PURE__ */ r(
|
|
2127
2481
|
"p",
|
|
2128
2482
|
{
|
|
2129
2483
|
className: `font-[700]
|
|
2130
|
-
${
|
|
2131
|
-
${
|
|
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__ */
|
|
2491
|
+
/* @__PURE__ */ r(
|
|
2138
2492
|
"p",
|
|
2139
2493
|
{
|
|
2140
2494
|
className: `font-[400] text-[16px] leading-[24px]
|
|
2141
|
-
${
|
|
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__ */
|
|
2500
|
+
/* @__PURE__ */ r(
|
|
2147
2501
|
"a",
|
|
2148
2502
|
{
|
|
2149
|
-
className: `mt-auto ${
|
|
2150
|
-
href: i ||
|
|
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
|
-
|
|
2508
|
+
I,
|
|
2155
2509
|
{
|
|
2156
2510
|
className: "w-fit max-tablet:w-full flex items-center justify-center",
|
|
2157
|
-
variant:
|
|
2511
|
+
variant: p,
|
|
2158
2512
|
children: [
|
|
2159
|
-
|
|
2160
|
-
/* @__PURE__ */
|
|
2161
|
-
|
|
2513
|
+
n,
|
|
2514
|
+
/* @__PURE__ */ r(
|
|
2515
|
+
se,
|
|
2162
2516
|
{
|
|
2163
2517
|
name: "download",
|
|
2164
2518
|
size: 20,
|
|
2165
|
-
color: M ?
|
|
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__ */
|
|
2175
|
-
|
|
2528
|
+
/* @__PURE__ */ r(
|
|
2529
|
+
$,
|
|
2176
2530
|
{
|
|
2177
|
-
src:
|
|
2531
|
+
src: a,
|
|
2178
2532
|
alt: e,
|
|
2179
|
-
width:
|
|
2180
|
-
height:
|
|
2181
|
-
className:
|
|
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
|
-
}
|
|
2192
|
-
|
|
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:
|
|
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(${
|
|
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__ */
|
|
2582
|
+
/* @__PURE__ */ r(
|
|
2212
2583
|
"p",
|
|
2213
2584
|
{
|
|
2214
|
-
className:
|
|
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__ */
|
|
2592
|
+
/* @__PURE__ */ r(
|
|
2222
2593
|
"p",
|
|
2223
2594
|
{
|
|
2224
|
-
className:
|
|
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__ */
|
|
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__ */
|
|
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__ */
|
|
2243
|
-
|
|
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:
|
|
2620
|
+
className: y("shrink-0")
|
|
2250
2621
|
}
|
|
2251
2622
|
)
|
|
2252
2623
|
]
|
|
2253
2624
|
}
|
|
2254
2625
|
);
|
|
2255
|
-
}
|
|
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:
|
|
2643
|
+
isLightTitle: a
|
|
2260
2644
|
}) => {
|
|
2261
|
-
const
|
|
2262
|
-
return /* @__PURE__ */
|
|
2263
|
-
e && /* @__PURE__ */
|
|
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:
|
|
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":
|
|
2652
|
+
{ "text-white4": a }
|
|
2269
2653
|
),
|
|
2270
2654
|
children: e
|
|
2271
2655
|
}
|
|
2272
2656
|
),
|
|
2273
|
-
/* @__PURE__ */
|
|
2274
|
-
|
|
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:
|
|
2277
|
-
isTextLast:
|
|
2660
|
+
data: s,
|
|
2661
|
+
isTextLast: n ? !1 : d % 2 === 1,
|
|
2278
2662
|
isLight: i
|
|
2279
2663
|
},
|
|
2280
|
-
|
|
2664
|
+
d
|
|
2281
2665
|
)) })
|
|
2282
2666
|
] }) });
|
|
2283
|
-
}
|
|
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:
|
|
2288
|
-
button_text:
|
|
2289
|
-
button_link:
|
|
2290
|
-
logo:
|
|
2291
|
-
logo_second:
|
|
2682
|
+
image_mob: a,
|
|
2683
|
+
button_text: n,
|
|
2684
|
+
button_link: s,
|
|
2685
|
+
logo: d,
|
|
2686
|
+
logo_second: p
|
|
2292
2687
|
}) => {
|
|
2293
|
-
const
|
|
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__ */
|
|
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
|
-
|
|
2298
|
-
|
|
2692
|
+
d && /* @__PURE__ */ r(
|
|
2693
|
+
$,
|
|
2299
2694
|
{
|
|
2300
|
-
src:
|
|
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
|
-
|
|
2308
|
-
|
|
2702
|
+
p && /* @__PURE__ */ r(
|
|
2703
|
+
$,
|
|
2309
2704
|
{
|
|
2310
|
-
src:
|
|
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__ */
|
|
2319
|
-
/* @__PURE__ */
|
|
2320
|
-
|
|
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__ */
|
|
2323
|
-
|
|
2717
|
+
i && /* @__PURE__ */ r(
|
|
2718
|
+
$,
|
|
2324
2719
|
{
|
|
2325
|
-
src:
|
|
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
|
-
}
|
|
2729
|
+
};
|
|
2730
|
+
ni.propsToEdit = tl;
|
|
2731
|
+
const il = ({
|
|
2335
2732
|
data: e,
|
|
2336
2733
|
title: t,
|
|
2337
2734
|
description: i,
|
|
2338
|
-
image:
|
|
2339
|
-
className:
|
|
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
|
-
|
|
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) ||
|
|
2358
|
-
|
|
2754
|
+
((e == null ? void 0 : e.necessary_icon) || a) && /* @__PURE__ */ r(
|
|
2755
|
+
$,
|
|
2359
2756
|
{
|
|
2360
|
-
src: (e == null ? void 0 : e.necessary_icon) ??
|
|
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__ */
|
|
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__ */
|
|
2379
|
-
|
|
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__ */
|
|
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__ */
|
|
2398
|
-
|
|
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
|
-
),
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
|
|
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:
|
|
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__ */
|
|
2846
|
+
/* @__PURE__ */ r(
|
|
2427
2847
|
"div",
|
|
2428
2848
|
{
|
|
2429
|
-
className:
|
|
2430
|
-
children: /* @__PURE__ */
|
|
2431
|
-
|
|
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:
|
|
2434
|
-
className:
|
|
2853
|
+
data: n,
|
|
2854
|
+
className: y({
|
|
2435
2855
|
"border-b border-[#E6E8EB]": !(t != null && t.warning)
|
|
2436
2856
|
})
|
|
2437
2857
|
},
|
|
2438
|
-
|
|
2858
|
+
n == null ? void 0 : n.id
|
|
2439
2859
|
)) })
|
|
2440
2860
|
}
|
|
2441
2861
|
),
|
|
2442
|
-
((
|
|
2443
|
-
|
|
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
|
-
}
|
|
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:
|
|
2457
|
-
logo:
|
|
2458
|
-
animation:
|
|
2459
|
-
animation_mob:
|
|
2460
|
-
buttons:
|
|
2461
|
-
isShadow:
|
|
2462
|
-
grid:
|
|
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
|
|
2906
|
+
const F = (_, k) => k.length % 2 !== 0 && _ === k.length - 1;
|
|
2465
2907
|
return /* @__PURE__ */ x("div", { children: [
|
|
2466
|
-
/* @__PURE__ */
|
|
2467
|
-
|
|
2468
|
-
|
|
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:
|
|
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__ */
|
|
2479
|
-
t && /* @__PURE__ */
|
|
2480
|
-
/* @__PURE__ */
|
|
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-${
|
|
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:
|
|
2927
|
+
children: p == null ? void 0 : p.map((_, k) => /* @__PURE__ */ r(
|
|
2486
2928
|
"a",
|
|
2487
2929
|
{
|
|
2488
|
-
href:
|
|
2489
|
-
className:
|
|
2490
|
-
[`col-span-${
|
|
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__ */
|
|
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__ */
|
|
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__ */
|
|
2947
|
+
children: /* @__PURE__ */ r(
|
|
2506
2948
|
"div",
|
|
2507
2949
|
{
|
|
2508
2950
|
className: X(
|
|
2509
2951
|
"h-[450px] xxl:h-[630px] xxl:w-full",
|
|
2510
|
-
|
|
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__ */
|
|
2965
|
+
/* @__PURE__ */ r(
|
|
2524
2966
|
"source",
|
|
2525
2967
|
{
|
|
2526
2968
|
type: "video/quicktime",
|
|
2527
|
-
src:
|
|
2969
|
+
src: d
|
|
2528
2970
|
}
|
|
2529
2971
|
),
|
|
2530
|
-
/* @__PURE__ */
|
|
2972
|
+
/* @__PURE__ */ r(
|
|
2531
2973
|
"source",
|
|
2532
2974
|
{
|
|
2533
2975
|
type: "video/webm",
|
|
2534
|
-
src:
|
|
2976
|
+
src: s
|
|
2535
2977
|
}
|
|
2536
2978
|
)
|
|
2537
2979
|
]
|
|
@@ -2541,24 +2983,24 @@ const ha = ({
|
|
|
2541
2983
|
)
|
|
2542
2984
|
}
|
|
2543
2985
|
),
|
|
2544
|
-
|
|
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__ */
|
|
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
|
-
|
|
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:
|
|
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__ */
|
|
3011
|
+
/* @__PURE__ */ r(
|
|
2570
3012
|
"source",
|
|
2571
3013
|
{
|
|
2572
3014
|
type: "video/quicktime",
|
|
2573
|
-
src:
|
|
3015
|
+
src: d
|
|
2574
3016
|
}
|
|
2575
3017
|
),
|
|
2576
|
-
/* @__PURE__ */
|
|
3018
|
+
/* @__PURE__ */ r(
|
|
2577
3019
|
"source",
|
|
2578
3020
|
{
|
|
2579
3021
|
type: "video/webm",
|
|
2580
|
-
src:
|
|
3022
|
+
src: s
|
|
2581
3023
|
}
|
|
2582
3024
|
)
|
|
2583
3025
|
]
|
|
@@ -2589,12 +3031,12 @@ const ha = ({
|
|
|
2589
3031
|
)
|
|
2590
3032
|
] });
|
|
2591
3033
|
};
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
|
|
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
|
-
|
|
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
|
-
|
|
3049
|
+
title: "Начать",
|
|
2608
3050
|
link: "/start",
|
|
2609
3051
|
variant: B.Primary
|
|
2610
3052
|
},
|
|
2611
3053
|
{
|
|
2612
|
-
|
|
3054
|
+
title: "Узнать больше",
|
|
2613
3055
|
link: "/learn-more",
|
|
2614
3056
|
variant: B.Secondary
|
|
2615
3057
|
}
|
|
2616
3058
|
]
|
|
2617
3059
|
}
|
|
2618
|
-
},
|
|
2619
|
-
key:
|
|
3060
|
+
}, fr = {
|
|
3061
|
+
key: w.Banner,
|
|
2620
3062
|
id: "2",
|
|
2621
|
-
|
|
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
|
-
},
|
|
2643
|
-
key:
|
|
3083
|
+
}, cl = {
|
|
3084
|
+
key: w.CardImageList,
|
|
2644
3085
|
id: "3",
|
|
2645
|
-
|
|
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
|
-
},
|
|
2675
|
-
key:
|
|
3115
|
+
}, dl = {
|
|
3116
|
+
key: w.Stepper,
|
|
2676
3117
|
id: "4",
|
|
2677
|
-
|
|
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
|
-
},
|
|
2693
|
-
key:
|
|
3133
|
+
}, pl = {
|
|
3134
|
+
key: w.Segments,
|
|
2694
3135
|
id: "5",
|
|
2695
|
-
|
|
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
|
-
},
|
|
2702
|
-
key:
|
|
3142
|
+
}, ml = {
|
|
3143
|
+
key: w.Video,
|
|
2703
3144
|
id: "6",
|
|
2704
|
-
|
|
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
|
-
},
|
|
2711
|
-
key:
|
|
3151
|
+
}, ul = {
|
|
3152
|
+
key: w.VideoList,
|
|
2712
3153
|
id: "7",
|
|
2713
|
-
|
|
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
|
-
},
|
|
2726
|
-
key:
|
|
3166
|
+
}, gl = {
|
|
3167
|
+
key: w.VideoListMini,
|
|
2727
3168
|
id: "8",
|
|
2728
|
-
|
|
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
|
-
},
|
|
2745
|
-
key:
|
|
3185
|
+
}, xl = {
|
|
3186
|
+
key: w.ContentCardList,
|
|
2746
3187
|
id: "9",
|
|
2747
|
-
|
|
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
|
-
},
|
|
2812
|
-
key:
|
|
3252
|
+
}, bl = {
|
|
3253
|
+
key: w.Partners,
|
|
2813
3254
|
id: "10",
|
|
2814
|
-
|
|
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
|
-
},
|
|
2863
|
-
key:
|
|
3303
|
+
}, fl = {
|
|
3304
|
+
key: w.CardIconList,
|
|
2864
3305
|
id: "11",
|
|
2865
|
-
|
|
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
|
-
},
|
|
2908
|
-
key:
|
|
3348
|
+
}, hr = {
|
|
3349
|
+
key: w.CardIconList,
|
|
2909
3350
|
id: "12",
|
|
2910
|
-
|
|
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
|
-
},
|
|
2953
|
-
key:
|
|
3393
|
+
}, hl = {
|
|
3394
|
+
key: w.MultiCards,
|
|
2954
3395
|
id: "13",
|
|
2955
|
-
|
|
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
|
-
},
|
|
3007
|
-
key:
|
|
3447
|
+
}, _l = {
|
|
3448
|
+
key: w.PartnersColors,
|
|
3008
3449
|
id: "14",
|
|
3009
|
-
|
|
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
|
-
},
|
|
3244
|
-
key:
|
|
3684
|
+
}, kl = {
|
|
3685
|
+
key: w.MainBanner,
|
|
3245
3686
|
id: "15",
|
|
3246
|
-
|
|
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
|
-
},
|
|
3268
|
-
key:
|
|
3708
|
+
}, yl = {
|
|
3709
|
+
key: w.WarningCard,
|
|
3269
3710
|
id: "16",
|
|
3270
|
-
|
|
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
|
-
},
|
|
3277
|
-
key:
|
|
3717
|
+
}, _r = {
|
|
3718
|
+
key: w.WarningCard,
|
|
3278
3719
|
id: "17",
|
|
3279
|
-
|
|
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
|
-
},
|
|
3286
|
-
key:
|
|
3726
|
+
}, kr = {
|
|
3727
|
+
key: w.WarningCard,
|
|
3287
3728
|
id: "18",
|
|
3288
|
-
|
|
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
|
-
},
|
|
3295
|
-
key:
|
|
3735
|
+
}, wl = {
|
|
3736
|
+
key: w.Faq,
|
|
3296
3737
|
id: "19",
|
|
3297
|
-
|
|
3738
|
+
component_props: {
|
|
3298
3739
|
title: "Часто задаваемые вопросы",
|
|
3299
3740
|
data: [
|
|
3300
3741
|
{
|
|
@@ -3311,10 +3752,10 @@ const Na = {
|
|
|
3311
3752
|
}
|
|
3312
3753
|
]
|
|
3313
3754
|
}
|
|
3314
|
-
},
|
|
3315
|
-
key:
|
|
3755
|
+
}, vl = {
|
|
3756
|
+
key: w.DownloadFileHalf,
|
|
3316
3757
|
id: "20",
|
|
3317
|
-
|
|
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
|
-
},
|
|
3334
|
-
key:
|
|
3774
|
+
}, Fl = {
|
|
3775
|
+
key: w.DownloadFileBanner,
|
|
3335
3776
|
id: "21",
|
|
3336
|
-
|
|
3777
|
+
component_props: {
|
|
3337
3778
|
id: "1",
|
|
3338
3779
|
title: "Скачать приложение",
|
|
3339
3780
|
text: "Помогает научить ребенка контролировать свои траты, копить и обращаться с деньгами",
|
|
3340
3781
|
link: "#"
|
|
3341
3782
|
}
|
|
3342
|
-
},
|
|
3343
|
-
key:
|
|
3783
|
+
}, Nl = {
|
|
3784
|
+
key: w.DownloadFileFull,
|
|
3344
3785
|
id: "22",
|
|
3345
|
-
|
|
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
|
-
},
|
|
3368
|
-
key:
|
|
3808
|
+
}, Cl = {
|
|
3809
|
+
key: w.DownloadFileMini,
|
|
3369
3810
|
id: "23",
|
|
3370
|
-
|
|
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
|
-
},
|
|
3399
|
-
key:
|
|
3839
|
+
}, Ll = {
|
|
3840
|
+
key: w.InstructionList,
|
|
3400
3841
|
id: "24",
|
|
3401
|
-
|
|
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
|
-
},
|
|
3435
|
-
key:
|
|
3875
|
+
}, Dl = {
|
|
3876
|
+
key: w.PreviewList,
|
|
3436
3877
|
id: "25",
|
|
3437
|
-
|
|
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
|
-
},
|
|
3464
|
-
key:
|
|
3904
|
+
}, Tl = {
|
|
3905
|
+
key: w.SwiperList,
|
|
3465
3906
|
id: "26",
|
|
3466
|
-
|
|
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
|
-
},
|
|
3530
|
-
key:
|
|
3970
|
+
}, Bl = {
|
|
3971
|
+
key: w.AnimatedSwiper,
|
|
3531
3972
|
id: "27",
|
|
3532
|
-
|
|
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
|
-
},
|
|
3626
|
-
key:
|
|
4066
|
+
}, Sl = {
|
|
4067
|
+
key: w.InfoBannerList,
|
|
3627
4068
|
id: "28",
|
|
3628
|
-
|
|
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
|
-
},
|
|
3714
|
-
key:
|
|
4154
|
+
}, El = {
|
|
4155
|
+
key: w.TasksBannerList,
|
|
3715
4156
|
id: "29",
|
|
3716
|
-
|
|
4157
|
+
component_props: {
|
|
3717
4158
|
title: "Задачи",
|
|
3718
4159
|
cards: [
|
|
3719
4160
|
{
|
|
@@ -3791,10 +4232,10 @@ const Na = {
|
|
|
3791
4232
|
}
|
|
3792
4233
|
]
|
|
3793
4234
|
}
|
|
3794
|
-
},
|
|
3795
|
-
key:
|
|
4235
|
+
}, Il = {
|
|
4236
|
+
key: w.VideoMainBanner,
|
|
3796
4237
|
id: "30",
|
|
3797
|
-
|
|
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
|
-
},
|
|
3821
|
-
key:
|
|
4261
|
+
}, Vl = {
|
|
4262
|
+
key: w.EmptyBox,
|
|
3822
4263
|
id: "31",
|
|
3823
|
-
|
|
4264
|
+
component_props: {
|
|
3824
4265
|
size: "100"
|
|
3825
4266
|
}
|
|
3826
|
-
},
|
|
3827
|
-
key:
|
|
4267
|
+
}, Ml = {
|
|
4268
|
+
key: w.PromoPoster,
|
|
3828
4269
|
id: "32",
|
|
3829
|
-
|
|
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
|
-
},
|
|
3853
|
-
key:
|
|
4293
|
+
}, Al = {
|
|
4294
|
+
key: w.CardImageSecondaryList,
|
|
3854
4295
|
id: "33",
|
|
3855
|
-
|
|
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
|
-
},
|
|
3883
|
-
key:
|
|
4323
|
+
}, Pl = {
|
|
4324
|
+
key: w.CardInfoTable,
|
|
3884
4325
|
id: "34",
|
|
3885
|
-
|
|
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
|
-
},
|
|
3990
|
-
key:
|
|
4430
|
+
}, Ol = {
|
|
4431
|
+
key: w.StandartTable,
|
|
3991
4432
|
id: "35",
|
|
3992
|
-
|
|
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
|
-
},
|
|
4239
|
-
key:
|
|
4679
|
+
}, Rl = {
|
|
4680
|
+
key: w.IntroBanner,
|
|
4240
4681
|
id: "36",
|
|
4241
|
-
|
|
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
|
-
},
|
|
4254
|
-
key:
|
|
4694
|
+
}, ql = {
|
|
4695
|
+
key: w.DownloadFileBright,
|
|
4255
4696
|
id: "37",
|
|
4256
|
-
|
|
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
|
-
},
|
|
4265
|
-
MainBanner: { key: "MainBanner", component:
|
|
4266
|
-
Banner: { key: "Banner", component:
|
|
4267
|
-
CardImageList: { key: "CardImageList", component:
|
|
4268
|
-
Stepper: { key: "Stepper", component:
|
|
4269
|
-
Segments: { key: "Segments", component:
|
|
4270
|
-
VideoFull: { key: "VideoFull", component:
|
|
4271
|
-
VideoList: { key: "VideoList", component:
|
|
4272
|
-
VideoListMini: { key: "VideoListMini", component:
|
|
4273
|
-
ContentCardList: { key: "ContentCardList", component:
|
|
4274
|
-
CardIconList: { key: "CardIconList", component:
|
|
4275
|
-
MultiCards: { key: "MultiCards", component:
|
|
4276
|
-
Partners: { key: "Partners", component:
|
|
4277
|
-
PartnersColors: { key: "PartnersColors", component:
|
|
4278
|
-
WarningCard: { key: "WarningCard", component:
|
|
4279
|
-
Faq: { key: "Faq", component:
|
|
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:
|
|
4723
|
+
component: Qt
|
|
4283
4724
|
},
|
|
4284
|
-
DownloadFileHalf: { key: "DownloadFileHalf", component:
|
|
4285
|
-
DownloadFileFull: { key: "DownloadFileFull", component:
|
|
4286
|
-
DownloadFileMini: { key: "DownloadFileMini", component:
|
|
4287
|
-
InstructionList: { key: "InstructionList", component:
|
|
4288
|
-
PreviewList: { key: "PreviewList", component:
|
|
4289
|
-
SwiperList: { key: "SwiperList", component:
|
|
4290
|
-
AnimatedSwiper: { key: "AnimatedSwiper", component:
|
|
4291
|
-
InfoBannerList: { key: "InfoBannerList", component:
|
|
4292
|
-
TasksBannerList: { key: "TasksBannerList", component:
|
|
4293
|
-
VideoMainBanner: { key: "VideoMainBanner", component:
|
|
4294
|
-
|
|
4295
|
-
PromoPoster: { key: "PromoPoster", component:
|
|
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:
|
|
4739
|
+
component: ti
|
|
4299
4740
|
},
|
|
4300
|
-
CardInfoTable: { key: "CardInfoTable", component:
|
|
4301
|
-
StandartTable: { key: "StandartTable", component:
|
|
4302
|
-
IntroBanner: { key: "IntroBanner", component:
|
|
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:
|
|
4746
|
+
component: ai
|
|
4306
4747
|
}
|
|
4307
|
-
},
|
|
4308
|
-
MainBanner:
|
|
4309
|
-
Banner:
|
|
4310
|
-
CardImageList:
|
|
4311
|
-
Stepper:
|
|
4312
|
-
Segments:
|
|
4313
|
-
VideoFull:
|
|
4314
|
-
VideoList:
|
|
4315
|
-
VideoListMini:
|
|
4316
|
-
ContentCardList:
|
|
4317
|
-
CardIconList:
|
|
4318
|
-
MultiCards:
|
|
4319
|
-
Partners:
|
|
4320
|
-
PartnersColors:
|
|
4321
|
-
WarningCard:
|
|
4322
|
-
Faq:
|
|
4323
|
-
DownloadFileBanner:
|
|
4324
|
-
DownloadFileHalf:
|
|
4325
|
-
DownloadFileFull:
|
|
4326
|
-
DownloadFileMini:
|
|
4327
|
-
InstructionList:
|
|
4328
|
-
PreviewList:
|
|
4329
|
-
SwiperList:
|
|
4330
|
-
AnimatedSwiper:
|
|
4331
|
-
InfoBannerList:
|
|
4332
|
-
TasksBannerList:
|
|
4333
|
-
VideoMainBanner:
|
|
4334
|
-
EmptyBox:
|
|
4335
|
-
PromoPoster:
|
|
4336
|
-
CardImageSecondaryList:
|
|
4337
|
-
CardInfoTable:
|
|
4338
|
-
StandartTable:
|
|
4339
|
-
IntroBanner:
|
|
4340
|
-
DownloadFileBright:
|
|
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
|
-
|
|
4344
|
-
|
|
4345
|
-
|
|
4346
|
-
|
|
4347
|
-
|
|
4348
|
-
|
|
4349
|
-
|
|
4350
|
-
|
|
4351
|
-
|
|
4352
|
-
|
|
4353
|
-
|
|
4354
|
-
|
|
4355
|
-
|
|
4356
|
-
|
|
4357
|
-
|
|
4358
|
-
|
|
4359
|
-
|
|
4360
|
-
|
|
4361
|
-
|
|
4362
|
-
|
|
4363
|
-
|
|
4364
|
-
|
|
4365
|
-
|
|
4366
|
-
|
|
4367
|
-
|
|
4368
|
-
|
|
4369
|
-
|
|
4370
|
-
|
|
4371
|
-
|
|
4372
|
-
|
|
4373
|
-
|
|
4374
|
-
|
|
4375
|
-
|
|
4376
|
-
|
|
4377
|
-
|
|
4378
|
-
|
|
4379
|
-
|
|
4380
|
-
|
|
4381
|
-
|
|
4382
|
-
|
|
4383
|
-
|
|
4384
|
-
|
|
4385
|
-
|
|
4386
|
-
|
|
4387
|
-
|
|
4388
|
-
|
|
4389
|
-
|
|
4390
|
-
|
|
4391
|
-
|
|
4392
|
-
|
|
4393
|
-
|
|
4394
|
-
|
|
4395
|
-
|
|
4396
|
-
|
|
4397
|
-
|
|
4398
|
-
|
|
4399
|
-
|
|
4400
|
-
|
|
4401
|
-
|
|
4402
|
-
|
|
4403
|
-
|
|
4404
|
-
|
|
4405
|
-
|
|
4406
|
-
|
|
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
|
};
|