md-components-mdigial-azamat 0.0.38 → 0.0.39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/dist/AllComponents.js +5 -6
  2. package/dist/AnimatedSwiper/index.js +2 -2
  3. package/dist/Header/Header.js +6 -31
  4. package/dist/Header/components/HeaderMenuMobile/HeaderMenuMobile.js +13 -58
  5. package/dist/Header/components/HeaderMobile/HeaderMobile.js +9 -71
  6. package/dist/Header/components/HeaderMobile/index.js +1 -1
  7. package/dist/Header/components/HeaderSearch/HeaderSearch.js +11 -157
  8. package/dist/Header/components/HeaderSearch/index.js +2 -2
  9. package/dist/Header/components/HeaderTabsMobile/HeaderTabsMobile.js +2 -2
  10. package/dist/Header/components/HeaderWeb/HeaderWeb.js +9 -9
  11. package/dist/Header/components/SelectLanguage/SelectLanguage.js +1 -1
  12. package/dist/Header/components/TabsOutlined/TabsOutlined.js +2 -2
  13. package/dist/Header/index.js +2 -2
  14. package/dist/InfoBannerList/InfoBannerList.js +1 -1
  15. package/dist/InfoBannerList/index.js +1 -1
  16. package/dist/InstructionList/InstructionList.js +1 -1
  17. package/dist/InstructionList/components/InstructionCard/InstructionCard.js +8 -8
  18. package/dist/InstructionList/components/InstructionCard/index.js +1 -1
  19. package/dist/InstructionList/index.js +1 -1
  20. package/dist/PageViewer/PageViewer.js +4 -3
  21. package/dist/PageViewer/renderComponents.js +1 -1
  22. package/dist/PreviewList/PreviewList.js +1 -1
  23. package/dist/PreviewList/components/PreviewCard/PreviewCard.js +9 -9
  24. package/dist/PreviewList/components/PreviewCard/index.js +1 -1
  25. package/dist/PreviewList/index.js +1 -1
  26. package/dist/PromoPoster/PromoPoster.js +1 -1
  27. package/dist/RenderAllComponents/RenderAllComponents.js +1 -1
  28. package/dist/StandartTable/components/CardMarkedRow/index.js +10 -10
  29. package/dist/StandartTable/index.js +1 -1
  30. package/dist/SwiperList/SwiperList.js +3 -3
  31. package/dist/SwiperList/index.js +1 -1
  32. package/dist/TasksBanner/TasksBanner.js +3 -3
  33. package/dist/TasksBanner/index.js +2 -2
  34. package/dist/TasksBannerList/TasksBannerList.js +1 -1
  35. package/dist/TasksBannerList/index.js +1 -1
  36. package/dist/{componentsMap-1d79e069.js → componentsMap-d90efb17.js} +22 -23
  37. package/dist/index-3a534581.js +261 -0
  38. package/dist/{index-9c3ff10b.js → index-66837af1.js} +55 -55
  39. package/dist/index-db31fa48.js +924 -0
  40. package/dist/{languages-list-87ab3324.js → languages-list-8419e560.js} +2 -2
  41. package/dist/main.js +81 -78
  42. package/dist/{mousewheel-f9c6bcd7.js → mousewheel-865ae601.js} +1 -1
  43. package/dist/{swiper-react-39919ab6.js → swiper-react-90953710.js} +251 -251
  44. package/package.json +1 -1
  45. package/dist/header-4f7ca247.js +0 -107
  46. package/dist/index-a302b5ed.js +0 -787
@@ -0,0 +1,924 @@
1
+ import { jsx as e, jsxs as s, Fragment as _ } from "react/jsx-runtime";
2
+ import { useState as x, useEffect as H, useRef as T } from "react";
3
+ import { HeaderMobileRender as N } from "./Header/const.js";
4
+ import { c as O, a as R } from "./index-3a534581.js";
5
+ import { c as d } from "./cn-6a4bf187.js";
6
+ import Y from "./Header/components/HeaderMainMobile/HeaderMainMobile.js";
7
+ import "./ConfigProvider/index.js";
8
+ import { Banner as Z } from "./Banner/Banner.js";
9
+ import "./BannerAndText/index.js";
10
+ import { HtmlContent as V } from "./HtmlContent/HtmlContent.js";
11
+ import "./Header/components/TabsOutlined/TabsOutlined.js";
12
+ import { B as y } from "./index-6af94f99.js";
13
+ import { c as D, b as Q } from "./const-637b0dca.js";
14
+ import { Stepper as W } from "./Stepper/Stepper.js";
15
+ import { Segments as U } from "./Segments/Segments.js";
16
+ import { VideoFull as G } from "./Video/VideoFull/VideoFull.js";
17
+ import { VideoList as $ } from "./Video/VideoList/VideoList.js";
18
+ import { VideoListMini as J } from "./Video/VideoListMini/VideoListMini.js";
19
+ import { ContentCardList as K } from "./ContentCardList/ContentCardList.js";
20
+ import { CardIconList as X } from "./CardIconList/CardIconList.js";
21
+ import { MultiCards as q } from "./MultiCards/index.js";
22
+ import { Partners as ee } from "./Partners/Partners.js";
23
+ import { CardImageList as ae } from "./CardImageList/CardImageList.js";
24
+ import { MainBanner as te } from "./MainBanner/MainBanner.js";
25
+ import { Faq as oe } from "./Faq/Faq.js";
26
+ import { C as g } from "./ComponentContainer-cdb2528c.js";
27
+ import { I as f } from "./index-2265d593.js";
28
+ import ne from "./Header/components/HeaderTabsMobile/HeaderTabsMobile.js";
29
+ import "./HeroPossibilityBanner/index.js";
30
+ import { PartnersColors as re } from "./PartnersColors/PartnersColors.js";
31
+ import "./Cards/CardImage/CardImage.js";
32
+ import "./Cards/ContentCard/ContentCard.js";
33
+ import { WarningCard as le } from "./Cards/WarningCard/WarningCard.js";
34
+ import "./Cards/ColoredCard/index.js";
35
+ import "./index-815f0132.js";
36
+ import { DownloadFileBanner as se } from "./DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js";
37
+ import { DownloadFileFull as ie } from "./DownloadFile/components/DownloadFileFull/DownloadFileFull.js";
38
+ import { DownloadFileHalf as pe } from "./DownloadFile/components/DownloadFileHalf/DownloadFileHalf.js";
39
+ import { DownloadFileMini as de } from "./DownloadFile/components/DownloadFileMini/DownloadFileMini.js";
40
+ import { Collapse as ce } from "./Faq/components/Collapse/Collapse.js";
41
+ import { a as me, C as xe, b as ge, A as fe } from "./index-66837af1.js";
42
+ import { CardImageSecondaryList as ue } from "./CardImageSecondaryList/CardImageSecondaryList.js";
43
+ import { CardInfoTable as he } from "./CardInfoTable/index.js";
44
+ import { DownloadFileBright as be } from "./DownloadFile/components/DownloadFileBright/index.js";
45
+ import { InfoBanner as we, InfoBannerFields as Ne } from "./InfoBanner/index.js";
46
+ import { IntroBanner as Me } from "./IntroBanner/IntroBanner.js";
47
+ import { FieldTypes as l } from "./Types/FiledTypes.js";
48
+ import { u as I } from "./useScreenSize-c1b64c02.js";
49
+ import { Space as ye } from "./Space/Space.js";
50
+ import { a as Ie, N as Le, b as Te } from "./swiper-react-90953710.js";
51
+ import { VideoMainBanner as De } from "./VideoMainBanner/VideoMainBanner.js";
52
+ import { M as Ce, B as ve, C as Ee, S as Se, b as je, V as ke, c as Be, d as ze, e as Pe, f as Ae, g as Fe, P as _e, h as He, W as Oe, F as Re, k as Ye, D as Ze, l as Ve, m as Qe, I as We, o as Ue, p as Ge, A as $e, q as Je, T as Ke, r as Xe, E as qe, s as ea, t as aa, u as ta, v as oa, w as na, x as ra } from "./data.mock-483400cb.js";
53
+ import la from "./Header/components/HeaderWeb/HeaderWeb.js";
54
+ import { Footer as sa } from "./Footer/Footer.js";
55
+ import { Bullet as ia } from "./SwiperList/components/Bullet/Bullet.js";
56
+ import { Slide as pa } from "./SwiperList/components/Slide/Slide.js";
57
+ import './assets/swiper.css';import './assets/index3.css';/* empty css */import { CardWarning as da } from "./StandartTable/components/CardWarning/index.js";
58
+ import { InstructionModal as ca } from "./InstructionList/components/InstructionModal/InstructionModal.js";
59
+ import ma from "./Header/components/HeaderSearchMobile/HeaderSearchMobile.js";
60
+ const xa = ({ sectionsData: n, render: t }) => {
61
+ const [r, a] = x(
62
+ []
63
+ );
64
+ return /* @__PURE__ */ e(
65
+ "div",
66
+ {
67
+ className: d(
68
+ "fixed -top-[100vh] left-0 right-0 w-full h-[calc(100vh-56px)] bg-white z-[9998] overflow-y-auto overflow-x-hidden transition-all duration-500 pb-12",
69
+ {
70
+ "top-14": t === N.MENU
71
+ }
72
+ ),
73
+ children: /* @__PURE__ */ e("div", { className: "flex items-center justify-between py-2 px-4 pb-2.5 relative", children: /* @__PURE__ */ s("div", { className: "w-full bg-white flex flex-col z-[1000]", children: [
74
+ /* @__PURE__ */ e(
75
+ ne,
76
+ {
77
+ sectionsData: n,
78
+ setCategoriesData: a
79
+ }
80
+ ),
81
+ r == null ? void 0 : r.map((o, i) => {
82
+ var c;
83
+ return /* @__PURE__ */ e(
84
+ ce,
85
+ {
86
+ title: o == null ? void 0 : o.title,
87
+ icon: o == null ? void 0 : o.icon,
88
+ children: /* @__PURE__ */ e("div", { className: "rounded-2xl bg-white4 p-3 px-4 flex flex-col gap-6", children: (c = o == null ? void 0 : o.subcategories) == null ? void 0 : c.map((m, h) => /* @__PURE__ */ e(
89
+ "a",
90
+ {
91
+ href: (m == null ? void 0 : m.link) || "/",
92
+ className: "w-full flex justify-between",
93
+ children: m == null ? void 0 : m.title
94
+ },
95
+ h
96
+ )) })
97
+ },
98
+ i
99
+ );
100
+ })
101
+ ] }) })
102
+ }
103
+ );
104
+ }, ga = ({
105
+ sections: n,
106
+ darkTheme: t,
107
+ className: r
108
+ }) => {
109
+ const [a, o] = x(N.MAIN), i = (p) => {
110
+ o(p);
111
+ }, [c, m] = x(void 0), [h, M] = x(!1), b = O(async (p) => {
112
+ if (p.trim())
113
+ try {
114
+ const { data: F } = await R.searchHeader(p);
115
+ m(F), M(!0);
116
+ } catch {
117
+ console.log("Нет результатов");
118
+ }
119
+ }, 500), w = (p) => {
120
+ b(p);
121
+ };
122
+ return H(() => {
123
+ if (a === N.MENU || a === N.SEARCH)
124
+ return document.body.style.overflow = "hidden", () => {
125
+ document.body.style.overflow = "";
126
+ };
127
+ }, [a]), /* @__PURE__ */ s(
128
+ "div",
129
+ {
130
+ className: d(
131
+ "w-full left-0 right-0 max-w-full overflow-hidden",
132
+ r
133
+ ),
134
+ children: [
135
+ /* @__PURE__ */ e(
136
+ Y,
137
+ {
138
+ render: a,
139
+ show: i,
140
+ darkEffect: t,
141
+ setSearchValue: w
142
+ }
143
+ ),
144
+ /* @__PURE__ */ e(
145
+ xa,
146
+ {
147
+ show: i,
148
+ sectionsData: Array.isArray(n) ? n : [n],
149
+ className: "top-[56px]",
150
+ render: a
151
+ }
152
+ ),
153
+ /* @__PURE__ */ e(
154
+ ma,
155
+ {
156
+ render: a,
157
+ show: i,
158
+ results: c,
159
+ showResults: h
160
+ }
161
+ )
162
+ ]
163
+ }
164
+ );
165
+ }, fa = ({ sections: n, darkTheme: t }) => {
166
+ const r = I(960);
167
+ return /* @__PURE__ */ e(_, { children: r ? /* @__PURE__ */ e(
168
+ ga,
169
+ {
170
+ sections: n,
171
+ darkTheme: t,
172
+ className: "fixed top-0 z-[9999] w-full"
173
+ }
174
+ ) : /* @__PURE__ */ e(
175
+ "div",
176
+ {
177
+ className: d(
178
+ "fixed top-0 z-[9999] w-full h-[70px] bg-white flex items-center justify-center py-[9px]"
179
+ ),
180
+ children: /* @__PURE__ */ e(
181
+ la,
182
+ {
183
+ sections: n,
184
+ darkTheme: t
185
+ }
186
+ )
187
+ }
188
+ ) });
189
+ }, ua = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwXzYxODBfMjc4KSI+CjxwYXRoIGQ9Ik0xNS4zMzM3IDQuNjY2NjlIMTIuNjY3QzEyLjAzODUgNC42NjY2OSAxMS43MjQyIDQuNjY2NjkgMTEuNTI4OSA0LjQ3MTQyQzExLjMzMzcgNC4yNzYxNiAxMS4zMzM3IDMuOTYxODkgMTEuMzMzNyAzLjMzMzM1VjAuNjY2Njg3TTE1LjMzMzcgMTEuMzMzNEgxMi42NjdDMTIuMDM4NSAxMS4zMzM0IDExLjcyNDIgMTEuMzMzNCAxMS41Mjg5IDExLjUyODZDMTEuMzMzNyAxMS43MjM5IDExLjMzMzcgMTIuMDM4MSAxMS4zMzM3IDEyLjY2NjdWMTUuMzMzNE00LjY2Njk5IDE1LjMzMzRWMTIuNjY2N0M0LjY2Njk5IDEyLjAzODEgNC42NjY5OSAxMS43MjM5IDQuNDcxNzMgMTEuNTI4NkM0LjI3NjQ3IDExLjMzMzQgMy45NjIyIDExLjMzMzQgMy4zMzM2NiAxMS4zMzM0SDAuNjY2OTkyTTQuNjY2OTkgMC42NjY2ODdWMy4zMzMzNUM0LjY2Njk5IDMuOTYxODkgNC42NjY5OSA0LjI3NjE2IDQuNDcxNzMgNC40NzE0MkM0LjI3NjQ3IDQuNjY2NjkgMy45NjIyIDQuNjY2NjkgMy4zMzM2NiA0LjY2NjY5SDAuNjY2OTkyIiBzdHJva2U9IndoaXRlIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9nPgo8ZGVmcz4KPGNsaXBQYXRoIGlkPSJjbGlwMF82MTgwXzI3OCI+CjxyZWN0IHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0id2hpdGUiLz4KPC9jbGlwUGF0aD4KPC9kZWZzPgo8L3N2Zz4K", ha = ["title", "subtitle", "count_color", "image", "id"], ba = {
190
+ title: l.TITLE,
191
+ subtitle: l.DESCRIPTION,
192
+ count_color: l.COLOR,
193
+ image: l.FILE,
194
+ id: l.NUMBER
195
+ }, C = ({
196
+ title: n,
197
+ subtitle: t,
198
+ count_color: r,
199
+ image: a,
200
+ id: o
201
+ }) => {
202
+ const [i, c] = x(!1);
203
+ return /* @__PURE__ */ s("div", { className: "w-full flex flex-col rounded-[20px] overflow-hidden", children: [
204
+ /* @__PURE__ */ s("div", { className: "relative w-full h-[256px]", children: [
205
+ /* @__PURE__ */ e(
206
+ f,
207
+ {
208
+ src: a,
209
+ alt: n,
210
+ className: "w-full h-full",
211
+ imageStyles: "object-cover"
212
+ }
213
+ ),
214
+ o && /* @__PURE__ */ e(
215
+ "div",
216
+ {
217
+ className: `absolute top-[26px] left-[36px] text-[20px] leading-[32px] text-white
218
+ px-[18px] rounded-[100px]`,
219
+ style: { background: r },
220
+ children: o
221
+ }
222
+ ),
223
+ /* @__PURE__ */ s(
224
+ "button",
225
+ {
226
+ className: `absolute top-[26px] right-[36px] w-fit flex items-center gap-[4px] py-[8px] px-[10px]
227
+ bg-translucentBlack rounded-[100px] cursor-pointer`,
228
+ onClick: () => {
229
+ a && (c(!0), document.body.style.overflow = "hidden");
230
+ },
231
+ children: [
232
+ /* @__PURE__ */ e("p", { className: "text-[14px] leading-[20px] text-white", children: "Показать" }),
233
+ /* @__PURE__ */ e(
234
+ f,
235
+ {
236
+ src: ua,
237
+ alt: "show"
238
+ }
239
+ )
240
+ ]
241
+ }
242
+ )
243
+ ] }),
244
+ /* @__PURE__ */ s("div", { className: "bg-white px-[24px] py-[32px] flex flex-col flex-grow gap-[8px]", children: [
245
+ n && /* @__PURE__ */ e("p", { className: "text-[24px] leading-[32px] font-bold", children: n }),
246
+ t && /* @__PURE__ */ e("p", { className: "text-[18px] leading-[26px] text-graySoft2", children: t })
247
+ ] }),
248
+ /* @__PURE__ */ e(
249
+ ca,
250
+ {
251
+ show: i,
252
+ image: a,
253
+ title: n,
254
+ onClose: () => {
255
+ c(!1), document.body.style.overflow = "auto";
256
+ }
257
+ }
258
+ )
259
+ ] });
260
+ };
261
+ C.propsToEdit = ha;
262
+ const wa = ["title", "cards", D], to = {
263
+ type: "cards",
264
+ label: "Карточки",
265
+ dataType: "array",
266
+ data: {
267
+ ...ba
268
+ }
269
+ }, v = ({
270
+ title: n,
271
+ cards: t,
272
+ button: r
273
+ }) => /* @__PURE__ */ s(g, { className: "flex flex-col items-center", children: [
274
+ n && /* @__PURE__ */ e("p", { className: "text-[44px] leading-[54px] font-bold text-center mb-[48px]", children: n }),
275
+ /* @__PURE__ */ e("div", { className: "flex flex-row max-tablet:flex-col items-stretch gap-[24px]", children: t == null ? void 0 : t.map((a) => /* @__PURE__ */ e(
276
+ C,
277
+ {
278
+ ...a
279
+ },
280
+ a == null ? void 0 : a.id
281
+ )) }),
282
+ /* @__PURE__ */ e(y, { ...r })
283
+ ] });
284
+ v.propsToEdit = wa;
285
+ const Na = ["title", "subtitle", "image", "button", "id"], Ma = {
286
+ title: l.TITLE,
287
+ subtitle: l.DESCRIPTION,
288
+ image: l.FILE,
289
+ button: Q
290
+ }, E = ({ title: n, subtitle: t, image: r, button: a }) => /* @__PURE__ */ s("div", { className: "w-full flex flex-col rounded-[20px] overflow-hidden", children: [
291
+ /* @__PURE__ */ e("div", { className: "relative w-full h-[256px]", children: /* @__PURE__ */ e(
292
+ f,
293
+ {
294
+ src: r,
295
+ alt: n,
296
+ className: "w-full h-full",
297
+ imageStyles: "object-cover"
298
+ }
299
+ ) }),
300
+ /* @__PURE__ */ s("div", { className: "bg-white p-[32px] flex flex-col gap-[8px] h-full", children: [
301
+ n && /* @__PURE__ */ e("p", { className: "text-[24px] leading-[32px] font-bold", children: n }),
302
+ t && /* @__PURE__ */ e("p", { className: "text-[14px] leading-[20px] text-graySoft", children: t }),
303
+ ((a == null ? void 0 : a.title) || (a == null ? void 0 : a.children)) && /* @__PURE__ */ e(y, { ...a })
304
+ ] })
305
+ ] });
306
+ E.propsToEdit = Na;
307
+ const ya = {
308
+ type: "cards",
309
+ dataType: "array",
310
+ label: "Карточки",
311
+ data: {
312
+ ...Ma
313
+ }
314
+ }, Ia = ["title", ya, D, "grid"], S = ({
315
+ title: n,
316
+ cards: t,
317
+ button: r,
318
+ grid: a = 3
319
+ }) => (console.log(n), /* @__PURE__ */ s(g, { className: "flex flex-col items-center", children: [
320
+ /* @__PURE__ */ e("div", { className: `grid grid-cols-${a} items-stretch gap-[24px]`, children: t == null ? void 0 : t.map((o, i) => /* @__PURE__ */ e(
321
+ E,
322
+ {
323
+ ...o
324
+ },
325
+ i
326
+ )) }),
327
+ (r.title || r.children) && /* @__PURE__ */ e(y, { ...r })
328
+ ] }));
329
+ S.propsToEdit = Ia;
330
+ const u = ({
331
+ label: n,
332
+ type: t
333
+ }) => ({
334
+ dataType: l.BOOLEAN,
335
+ label: n,
336
+ type: t
337
+ }), La = {
338
+ type: "cards",
339
+ label: "Карточки информации",
340
+ dataType: "array",
341
+ data: Ne
342
+ }, Ta = u({
343
+ label: "Светлый вариант",
344
+ type: "isLight"
345
+ }), Da = u({
346
+ label: "Светлый заголовок",
347
+ type: "isLightTitle"
348
+ }), Ca = ["title", La, Ta, Da], j = ({
349
+ title: n,
350
+ cards: t,
351
+ isLight: r,
352
+ isLightTitle: a
353
+ }) => {
354
+ const o = I(960);
355
+ return /* @__PURE__ */ e(g, { children: /* @__PURE__ */ s("div", { className: d("w-full"), children: [
356
+ n && /* @__PURE__ */ e(
357
+ "p",
358
+ {
359
+ className: d(
360
+ "text-[44px] font-bold leading-[52px] mb-[48px] text-black text-center max-tablet:text-[26px] max-tablet:leading-[32px] max-tablet:mb-[32px]",
361
+ { "text-white4": a }
362
+ ),
363
+ children: n
364
+ }
365
+ ),
366
+ /* @__PURE__ */ e("div", { className: d("flex flex-col gap-[40px] w-full"), children: t == null ? void 0 : t.map((i, c) => /* @__PURE__ */ e(
367
+ we,
368
+ {
369
+ data: i,
370
+ isTextLast: o ? !1 : c % 2 === 1,
371
+ isLight: r
372
+ },
373
+ c
374
+ )) })
375
+ ] }) });
376
+ };
377
+ j.propsToEdit = Ca;
378
+ const va = u({
379
+ label: "Большой текст",
380
+ type: "is_big"
381
+ }), Ea = {
382
+ type: "texts",
383
+ label: "Тексты",
384
+ dataType: "array",
385
+ data: {
386
+ title: l.TITLE,
387
+ is_big: va
388
+ }
389
+ }, Sa = ["image", "image_mob", Ea], k = ({ image: n, image_mob: t, texts: r }) => {
390
+ const a = I(960);
391
+ return /* @__PURE__ */ e(
392
+ g,
393
+ {
394
+ className: "flex items-center justify-between gap-[40px] px-[48px] py-[38px] pr-[68px] bg-cover bg-no-repeat rounded-[24px] overflow-hidden max-tablet:flex-col max-tablet:items-start max-tablet:gap-[24px] max-tablet:p-[24px] max-tablet:bg-center",
395
+ style: {
396
+ backgroundImage: `url(${a ? t : n})`
397
+ },
398
+ children: r == null ? void 0 : r.map((o, i) => /* @__PURE__ */ e(
399
+ "p",
400
+ {
401
+ className: d(
402
+ "text-[15px] leading-[22px] text-white break-words whitespace-normal max-w-full overflow-hidden",
403
+ {
404
+ "text-[72px] leading-[32px] font-bold text-white max-tablet:text-[32px] max-tablet:leading-[32px] max-tablet:h-[57px] max-tablet:break-words": o == null ? void 0 : o.is_big
405
+ }
406
+ ),
407
+ children: o == null ? void 0 : o.title
408
+ },
409
+ i
410
+ ))
411
+ }
412
+ );
413
+ };
414
+ k.propsToEdit = Sa;
415
+ const ja = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTIiIHZpZXdCb3g9IjAgMCAxNiAxMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE0LjY2NzMgMS41NTMyMkw1Ljc3ODQzIDEwLjQ0MjNMMS4zMzM5OCA1Ljk5Nzg4IiBzdHJva2U9IiMxNkEzNEEiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8L3N2Zz4K", ka = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxOCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEuNSAxLjQ0NjA0TDE2LjUgMTYuNDQ2TTE2LjUgMS40NDYwNEwxLjUgMTYuNDQ2IiBzdHJva2U9IiNFRjQ0NDQiIHN0cm9rZS13aWR0aD0iMiIvPgo8L3N2Zz4K", Ba = u({
416
+ label: "Маркированный",
417
+ type: "is_marked"
418
+ }), za = {
419
+ title: l.TITLE,
420
+ columns: {
421
+ type: "columns",
422
+ label: "Колонки",
423
+ dataType: "array",
424
+ data: {
425
+ title: l.TITLE,
426
+ description: l.DESCRIPTION,
427
+ is_marked: Ba
428
+ }
429
+ }
430
+ }, Pa = ({ title: n, columns: t, className: r }) => /* @__PURE__ */ s(
431
+ "div",
432
+ {
433
+ className: d(
434
+ "w-full grid grid-cols-[200px_3fr] gap-[24px] border-b border-greyLight",
435
+ "max-tablet:last:border-none",
436
+ "max-tablet:grid-cols-[170px_3fr] max-tablet:gap-0 max-tablet:w-fit",
437
+ r
438
+ ),
439
+ children: [
440
+ /* @__PURE__ */ e(
441
+ "p",
442
+ {
443
+ className: d(
444
+ "sticky left-0 top-0 z-10 bg-white font-medium text-[18px] leading-[24px] text-graySoft3 border-r border-greyLight",
445
+ "py-[24px] px-[32px] max-tablet:w-[170px] max-tablet:px-4 whitespace-normal"
446
+ ),
447
+ children: n
448
+ }
449
+ ),
450
+ /* @__PURE__ */ e(
451
+ "div",
452
+ {
453
+ className: d(
454
+ "grid grid-cols-[repeat(4,1fr)] max-tablet:grid-cols-[repeat(4,134px)] gap-[24px] max-tablet:gap-0 w-full"
455
+ ),
456
+ children: t == null ? void 0 : t.map((a) => /* @__PURE__ */ s(
457
+ "div",
458
+ {
459
+ className: d(
460
+ "w-full flex flex-col gap-2",
461
+ "py-[24px] max-tablet:last:py-[10px] max-tablet:px-[12px] max-tablet:last:pb-0 max-tablet:w-134px]"
462
+ ),
463
+ children: [
464
+ /* @__PURE__ */ s("div", { className: "flex flex-row items-start gap-2 w-[240px] max-tablet:w-full", children: [
465
+ (a == null ? void 0 : a.is_marked) === null ? null : a != null && a.is_marked ? /* @__PURE__ */ e(
466
+ f,
467
+ {
468
+ src: ja,
469
+ alt: "check",
470
+ width: 20,
471
+ height: 20,
472
+ className: "flex items-center justify-center"
473
+ }
474
+ ) : /* @__PURE__ */ e(
475
+ f,
476
+ {
477
+ src: ka,
478
+ alt: "cross",
479
+ width: 20,
480
+ height: 20,
481
+ className: "flex items-center justify-center"
482
+ }
483
+ ),
484
+ (a == null ? void 0 : a.title) && /* @__PURE__ */ e("p", { className: "text-[18px] leading-[26px] font-medium m-0 break-words", children: a == null ? void 0 : a.title })
485
+ ] }),
486
+ (a == null ? void 0 : a.description) && /* @__PURE__ */ e("div", { className: "text-[14px] leading-[20px] text-graySoft3 max-tablet:text-[13px] max-tablet:leading-[16px]", children: a == null ? void 0 : a.description })
487
+ ]
488
+ },
489
+ a == null ? void 0 : a.id
490
+ ))
491
+ }
492
+ )
493
+ ]
494
+ }
495
+ ), Aa = {
496
+ type: "table",
497
+ label: "Таблица",
498
+ dataType: "object",
499
+ data: {
500
+ keys: {
501
+ image: l.FILE,
502
+ image_mob: l.FILE,
503
+ warning: {
504
+ dataType: l.OBJECT,
505
+ label: "Предупреждение",
506
+ type: "warning",
507
+ keys: {
508
+ warning_title: l.TITLE,
509
+ warning_description: l.DESCRIPTION
510
+ }
511
+ }
512
+ }
513
+ }
514
+ }, Fa = {
515
+ type: "rows",
516
+ label: "Строки таблицы",
517
+ dataType: "array",
518
+ data: za
519
+ }, _a = ["title", Aa, Fa], B = ({ title: n, table: t, rows: r }) => {
520
+ var a;
521
+ return /* @__PURE__ */ s(g, { children: [
522
+ n && /* @__PURE__ */ e(
523
+ "p",
524
+ {
525
+ className: d(
526
+ "text-[44px] font-bold leading-[52px] mb-[48px] text-black text-center max-tablet:text-[26px] max-tablet:leading-[32px] max-tablet:mb-[32px]"
527
+ ),
528
+ children: n
529
+ }
530
+ ),
531
+ /* @__PURE__ */ s("div", { className: "bg-white rounded-[20px] overflow-hidden p-8 md:p-6", children: [
532
+ /* @__PURE__ */ e(
533
+ "div",
534
+ {
535
+ className: d("overflow-x-auto whitespace-nowrap custom-scrollbar"),
536
+ children: /* @__PURE__ */ e("div", { className: "bg-white rounded-[20px] w-full", children: r == null ? void 0 : r.map((o) => /* @__PURE__ */ e(
537
+ Pa,
538
+ {
539
+ id: o == null ? void 0 : o.id,
540
+ title: o == null ? void 0 : o.title,
541
+ description: o == null ? void 0 : o.description,
542
+ columns: o == null ? void 0 : o.columns,
543
+ className: d({
544
+ "border-b border-[#E6E8EB]": !(t != null && t.warning)
545
+ })
546
+ },
547
+ o == null ? void 0 : o.id
548
+ )) })
549
+ }
550
+ ),
551
+ ((a = t == null ? void 0 : t.warning) == null ? void 0 : a.warning_description) && /* @__PURE__ */ e("div", { className: "mt-4", children: /* @__PURE__ */ e(
552
+ da,
553
+ {
554
+ className: "!flex-[1_1_100%] bg-white",
555
+ title: t.warning.warning_title,
556
+ description: t.warning.warning_description
557
+ }
558
+ ) })
559
+ ] })
560
+ ] });
561
+ };
562
+ B.propsToEdit = _a;
563
+ const L = ({
564
+ label: n,
565
+ type: t
566
+ }) => ({
567
+ dataType: l.NUMBER,
568
+ label: n,
569
+ type: t
570
+ }), Ha = {
571
+ type: "cards",
572
+ label: "Карточки слайдера",
573
+ dataType: "array",
574
+ data: {
575
+ description: l.DESCRIPTION,
576
+ image: l.FILE
577
+ }
578
+ }, Oa = u({
579
+ label: "Автоматический переход",
580
+ type: "autoplay"
581
+ }), Ra = L({
582
+ label: "Задержка автоматического перехода",
583
+ type: "autoplayDelay"
584
+ }), Ya = L({
585
+ label: "Количество слайдов на экране",
586
+ type: "perViewScreens"
587
+ }), Za = L({
588
+ label: "Высота карточки",
589
+ type: "cardHeight"
590
+ }), Va = [
591
+ "title",
592
+ Ha,
593
+ Za,
594
+ Oa,
595
+ Ra,
596
+ Ya
597
+ ], z = ({
598
+ title: n,
599
+ cards: t,
600
+ card_height: r,
601
+ autoplay: a,
602
+ autoplayDelay: o = 2e3,
603
+ perViewScreens: i
604
+ }) => {
605
+ const [c, m] = x(0), M = a ? {
606
+ delay: o,
607
+ disableOnInteraction: !1,
608
+ waitForTransition: !0
609
+ } : !1, b = T(null), w = T(null);
610
+ return /* @__PURE__ */ s(g, { children: [
611
+ n && /* @__PURE__ */ e("p", { className: "text-[44px] leading-[52px] font-bold text-center mb-[48px]", children: n }),
612
+ /* @__PURE__ */ s("div", { className: "relative w-full", children: [
613
+ /* @__PURE__ */ e(
614
+ Ie,
615
+ {
616
+ modules: [Le, me],
617
+ spaceBetween: 24,
618
+ slidesPerView: i,
619
+ slidesPerGroup: 1,
620
+ navigation: {
621
+ nextEl: b.current,
622
+ prevEl: w.current
623
+ },
624
+ onBeforeInit: (p) => {
625
+ p.params.navigation && typeof p.params.navigation != "boolean" && (p.params.navigation.nextEl = b.current, p.params.navigation.prevEl = w.current);
626
+ },
627
+ pagination: { clickable: !0 },
628
+ onSlideChange: (p) => m(p.realIndex),
629
+ autoplay: M,
630
+ children: t == null ? void 0 : t.map((p) => /* @__PURE__ */ e(Te, { children: /* @__PURE__ */ e(
631
+ pa,
632
+ {
633
+ height: r,
634
+ image: p == null ? void 0 : p.image,
635
+ description: p == null ? void 0 : p.description
636
+ }
637
+ ) }, p.id))
638
+ }
639
+ ),
640
+ /* @__PURE__ */ e(
641
+ "button",
642
+ {
643
+ ref: w,
644
+ className: "custom-prev absolute left-0 top-[50%] translate-y-[-50%] translate-x-[-50%] z-10 p-[8px] rounded-[50%] bg-white",
645
+ children: /* @__PURE__ */ e(xe, { size: 24 })
646
+ }
647
+ ),
648
+ /* @__PURE__ */ e(
649
+ "button",
650
+ {
651
+ ref: b,
652
+ className: "custom-next p-[8px] absolute right-0 top-[50%] translate-y-[-50%] translate-x-[50%] z-10 rounded-[50%] bg-white",
653
+ children: /* @__PURE__ */ e(ge, { size: 24 })
654
+ }
655
+ )
656
+ ] }),
657
+ t.length > 1 && /* @__PURE__ */ e(
658
+ ia,
659
+ {
660
+ count: t.length - (i - 1),
661
+ active: c,
662
+ activeColor: "#16A34A",
663
+ anActiveColor: "#A6B2BA",
664
+ className: "mt-[24px]"
665
+ }
666
+ )
667
+ ] });
668
+ };
669
+ z.propsToEdit = Va;
670
+ const Qa = ({
671
+ color: n = "#40474F",
672
+ size: t = 24,
673
+ ...r
674
+ }) => /* @__PURE__ */ e(
675
+ "svg",
676
+ {
677
+ xmlns: "http://www.w3.org/2000/svg",
678
+ width: t,
679
+ height: t,
680
+ viewBox: "0 0 16 16",
681
+ fill: "none",
682
+ ...r,
683
+ children: /* @__PURE__ */ e(
684
+ "path",
685
+ {
686
+ d: "M12.6666 5.7334L8.65995 9.7401C8.34884 10.0512 8.19328 10.2068 7.99998 10.2068C7.80668 10.2068 7.65113 10.0512 7.34001 9.7401L3.33331 5.7334",
687
+ stroke: n || "currentColor",
688
+ "stroke-width": "2",
689
+ "stroke-linejoin": "round"
690
+ }
691
+ )
692
+ }
693
+ );
694
+ const oo = {
695
+ title: l.TITLE,
696
+ htmlContent: l.HTML_CONTENT,
697
+ image: l.FILE,
698
+ isTextLast: l.BOOLEAN,
699
+ turnover: l.BOOLEAN
700
+ }, Wa = u({
701
+ label: "Текст в конце",
702
+ type: "isTextLast"
703
+ }), Ua = [
704
+ "title",
705
+ "htmlContent",
706
+ "image",
707
+ Wa,
708
+ l.TURN_OVER
709
+ ], P = ({
710
+ htmlContent: n,
711
+ image: t,
712
+ title: r,
713
+ isTextLast: a,
714
+ turnover: o
715
+ }) => {
716
+ const [i, c] = x(!1);
717
+ return /* @__PURE__ */ s("div", { className: "relative w-full rounded-[20px] flex items-center justify-between gap-[100px] bg-white overflow-hidden max-tablet:flex-col max-tablet:gap-0", children: [
718
+ /* @__PURE__ */ s(
719
+ "div",
720
+ {
721
+ className: d(
722
+ "h-full py-[32px] pr-[64px] pl-[48px] max-tablet:p-[32px] max-tablet:order-1 max-tablet:w-full",
723
+ {
724
+ "order-1": a
725
+ }
726
+ ),
727
+ children: [
728
+ /* @__PURE__ */ s("div", { className: "h-full flex flex-col gap-[24px]", children: [
729
+ /* @__PURE__ */ e("p", { className: "text-[32px] leading-[40px] font-bold text-black5 max-tablet:text-[22px] max-tablet:leading-[26px]", children: r }),
730
+ /* @__PURE__ */ e(
731
+ "div",
732
+ {
733
+ className: d(
734
+ "max-h-[98px] overflow-hidden max-tablet:text-[95px] transition-[max-height] duration-500 ease-in-out",
735
+ {
736
+ "max-h-[1000px]": i
737
+ }
738
+ ),
739
+ children: /* @__PURE__ */ e(
740
+ V,
741
+ {
742
+ className: "htmlContent",
743
+ data: n
744
+ }
745
+ )
746
+ }
747
+ )
748
+ ] }),
749
+ /* @__PURE__ */ s(
750
+ "button",
751
+ {
752
+ className: "flex items-center gap-2 px-6 bg-none border-none cursor-pointer transition-all duration-500 ease-in-out",
753
+ onClick: () => c(!i),
754
+ children: [
755
+ /* @__PURE__ */ e("p", { className: "text-[16px] text-deepBlue leading-[24px] font-medium text-lightBlue6 transition-all duration-500 ease-in-out whitespace-nowrap mt-[12px]", children: i ? "Скрыть" : "Показать больше" }),
756
+ /* @__PURE__ */ e(
757
+ Qa,
758
+ {
759
+ size: 16,
760
+ color: "#3B82F6",
761
+ className: d(
762
+ i ? "transition-all duration-500 rotate-180" : "transition-all duration-500",
763
+ "mt-[12px]"
764
+ )
765
+ }
766
+ )
767
+ ]
768
+ }
769
+ )
770
+ ]
771
+ }
772
+ ),
773
+ t && /* @__PURE__ */ e(
774
+ f,
775
+ {
776
+ src: t,
777
+ alt: r,
778
+ width: 453,
779
+ className: d(
780
+ "absolute right-0 bottom-0 h-auto flex items-end max-tablet:relative"
781
+ ),
782
+ imageStyles: d(
783
+ "object-contain",
784
+ o && "object-bottom",
785
+ i && "object-bottom"
786
+ )
787
+ }
788
+ )
789
+ ] });
790
+ };
791
+ P.propsToEdit = Ua;
792
+ const Ga = {
793
+ type: "cards",
794
+ label: "Карточки задач",
795
+ dataType: "array",
796
+ data: {
797
+ title: l.TITLE,
798
+ description: l.HTML_CONTENT,
799
+ image: l.FILE,
800
+ icon: l.FILE,
801
+ is_black: l.BOOLEAN,
802
+ is_promo: l.BOOLEAN,
803
+ is_yellow: l.BOOLEAN
804
+ }
805
+ }, $a = ["title", Ga], A = ({ title: n, cards: t }) => /* @__PURE__ */ s(g, { children: [
806
+ n && /* @__PURE__ */ e("p", { className: "text-[44px] leading-[52px] font-bold text-[#0e0f11] text-center mb-[48px] max-tablet:text-[26px] max-tablet:leading-[32px] max-tablet:mb-[32px] [font-variant-numeric:lining-nums_tabular-nums_stacked-fractions] [font-feature-settings:'liga'_off,'clig'_off]", children: n }),
807
+ /* @__PURE__ */ e("div", { className: "flex flex-col gap-[40px] w-full", children: t == null ? void 0 : t.map((r, a) => {
808
+ const o = a === 0;
809
+ return /* @__PURE__ */ e(
810
+ P,
811
+ {
812
+ title: r == null ? void 0 : r.title,
813
+ description: r == null ? void 0 : r.description,
814
+ image: r == null ? void 0 : r.image,
815
+ isFirst: o
816
+ },
817
+ a
818
+ );
819
+ }) })
820
+ ] });
821
+ A.propsToEdit = $a;
822
+ const no = {
823
+ MainBanner: { key: "MainBanner", component: te },
824
+ Banner: { key: "Banner", component: Z },
825
+ CardImageList: { key: "CardImageList", component: ae },
826
+ Stepper: { key: "Stepper", component: W },
827
+ Segments: { key: "Segments", component: U },
828
+ VideoFull: { key: "VideoFull", component: G },
829
+ VideoList: { key: "VideoList", component: $ },
830
+ VideoListMini: { key: "VideoListMini", component: J },
831
+ ContentCardList: { key: "ContentCardList", component: K },
832
+ CardIconList: { key: "CardIconList", component: X },
833
+ MultiCards: { key: "MultiCards", component: q },
834
+ Partners: { key: "Partners", component: ee },
835
+ PartnersColors: { key: "PartnersColors", component: re },
836
+ WarningCard: { key: "WarningCard", component: le },
837
+ Faq: { key: "Faq", component: oe },
838
+ DownloadFileBanner: {
839
+ key: "DownloadFileBanner",
840
+ component: se
841
+ },
842
+ DownloadFileHalf: { key: "DownloadFileHalf", component: pe },
843
+ DownloadFileFull: { key: "DownloadFileFull", component: ie },
844
+ DownloadFileMini: { key: "DownloadFileMini", component: de },
845
+ InstructionList: { key: "InstructionList", component: v },
846
+ PreviewList: { key: "PreviewList", component: S },
847
+ SwiperList: { key: "SwiperList", component: z },
848
+ AnimatedSwiper: { key: "AnimatedSwiper", component: fe },
849
+ InfoBannerList: { key: "InfoBannerList", component: j },
850
+ TasksBannerList: { key: "TasksBannerList", component: A },
851
+ VideoMainBanner: { key: "VideoMainBanner", component: De },
852
+ Space: { key: "Space", component: ye },
853
+ PromoPoster: { key: "PromoPoster", component: k },
854
+ CardImageSecondaryList: {
855
+ key: "CardImageSecondaryList",
856
+ component: ue
857
+ },
858
+ CardInfoTable: { key: "CardInfoTable", component: he },
859
+ StandartTable: { key: "StandartTable", component: B },
860
+ IntroBanner: { key: "IntroBanner", component: Me },
861
+ DownloadFileBright: {
862
+ key: "DownloadFileBright",
863
+ component: be
864
+ },
865
+ Header: { key: "Header", component: fa },
866
+ Footer: { key: "Footer", component: sa }
867
+ }, ro = {
868
+ MainBanner: Ce.component_props,
869
+ Banner: ve.component_props,
870
+ CardImageList: Ee.component_props,
871
+ Stepper: Se.component_props,
872
+ Segments: je.component_props,
873
+ VideoFull: ke.component_props,
874
+ VideoList: Be.component_props,
875
+ VideoListMini: ze.component_props,
876
+ ContentCardList: Pe.component_props,
877
+ CardIconList: Ae.component_props,
878
+ MultiCards: Fe.component_props,
879
+ Partners: _e.component_props,
880
+ PartnersColors: He.component_props,
881
+ WarningCard: Oe.component_props,
882
+ Faq: Re.component_props,
883
+ DownloadFileBanner: Ye.component_props,
884
+ DownloadFileHalf: Ze.component_props,
885
+ DownloadFileFull: Ve.component_props,
886
+ DownloadFileMini: Qe.component_props,
887
+ InstructionList: We.component_props,
888
+ PreviewList: Ue.component_props,
889
+ SwiperList: Ge.component_props,
890
+ AnimatedSwiper: $e.component_props,
891
+ InfoBannerList: Je.component_props,
892
+ TasksBannerList: Ke.component_props,
893
+ VideoMainBanner: Xe.component_props,
894
+ EmptyBox: qe.component_props,
895
+ PromoPoster: ea.component_props,
896
+ CardImageSecondaryList: aa.component_props,
897
+ CardInfoTable: ta.component_props,
898
+ StandartTable: oa.component_props,
899
+ IntroBanner: na.component_props,
900
+ DownloadFileBright: ra.component_props
901
+ };
902
+ export {
903
+ ro as A,
904
+ za as C,
905
+ fa as H,
906
+ v as I,
907
+ S as P,
908
+ z as S,
909
+ A as T,
910
+ j as a,
911
+ k as b,
912
+ B as c,
913
+ C as d,
914
+ E as e,
915
+ no as f,
916
+ xa as g,
917
+ ga as h,
918
+ ba as i,
919
+ to as j,
920
+ Ma as k,
921
+ Pa as l,
922
+ oo as m,
923
+ P as n
924
+ };