md-components-mdigial-azamat 0.0.44 → 0.0.45

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 (44) hide show
  1. package/dist/AllComponents.js +3 -4
  2. package/dist/AnimatedSwiper/index.js +2 -2
  3. package/dist/CardImageSecondaryList/CardImageSecondaryList.js +7 -7
  4. package/dist/Header/Header.js +1 -1
  5. package/dist/Header/components/HeaderMenuMobile/HeaderMenuMobile.js +2 -3
  6. package/dist/Header/components/HeaderMobile/HeaderMobile.js +1 -1
  7. package/dist/Header/components/HeaderMobile/index.js +1 -1
  8. package/dist/Header/components/HeaderTabsMobile/HeaderTabsMobile.js +6 -7
  9. package/dist/Header/components/TabsOutlined/TabsOutlined.js +10 -11
  10. package/dist/Header/index.js +1 -1
  11. package/dist/InfoBannerList/InfoBannerList.js +1 -1
  12. package/dist/InfoBannerList/index.js +1 -1
  13. package/dist/InstructionList/InstructionList.js +1 -1
  14. package/dist/InstructionList/components/InstructionCard/InstructionCard.js +3 -4
  15. package/dist/InstructionList/components/InstructionCard/index.js +1 -1
  16. package/dist/InstructionList/index.js +1 -1
  17. package/dist/PageViewer/PageViewer.js +1 -1
  18. package/dist/PageViewer/renderComponents.js +1 -1
  19. package/dist/PreviewList/PreviewList.js +1 -1
  20. package/dist/PreviewList/components/PreviewCard/PreviewCard.js +3 -4
  21. package/dist/PreviewList/components/PreviewCard/index.js +1 -1
  22. package/dist/PreviewList/index.js +1 -1
  23. package/dist/PromoPoster/PromoPoster.js +1 -1
  24. package/dist/RenderAllComponents/RenderAllComponents.js +1 -1
  25. package/dist/StandartTable/components/CardMarkedRow/index.js +3 -4
  26. package/dist/StandartTable/index.js +1 -1
  27. package/dist/SwiperList/SwiperList.js +3 -4
  28. package/dist/SwiperList/index.js +1 -1
  29. package/dist/TasksBanner/TasksBanner.js +1 -1
  30. package/dist/TasksBanner/index.js +1 -1
  31. package/dist/TasksBannerList/TasksBannerList.js +1 -1
  32. package/dist/TasksBannerList/index.js +1 -1
  33. package/dist/VideoMainBanner/VideoMainBanner.js +15 -15
  34. package/dist/assets/index2.css +1 -1
  35. package/dist/componentsMap-0e7046ee.js +67 -0
  36. package/dist/index-aa718078.js +1229 -0
  37. package/dist/main.js +13 -13
  38. package/dist/{swiper-react-90953710.js → swiper-react-0815edaf.js} +652 -505
  39. package/package.json +1 -1
  40. package/dist/assets/index3.css +0 -1
  41. package/dist/componentsMap-0b4c8ca6.js +0 -68
  42. package/dist/index-3b24fe0f.js +0 -314
  43. package/dist/index-54813771.js +0 -925
  44. package/dist/mousewheel-865ae601.js +0 -153
@@ -0,0 +1,1229 @@
1
+ import { jsx as t, jsxs as d, Fragment as he } from "react/jsx-runtime";
2
+ import { useState as I, useEffect as we, useRef as P } from "react";
3
+ import { HeaderMobileRender as F } from "./Header/const.js";
4
+ import { c as be, a as Ne } from "./index-3a534581.js";
5
+ import { c as m } from "./cn-6a4bf187.js";
6
+ import Me from "./Header/components/HeaderMainMobile/HeaderMainMobile.js";
7
+ import "./ConfigProvider/index.js";
8
+ import { Banner as Ie } from "./Banner/Banner.js";
9
+ import "./BannerAndText/index.js";
10
+ import { HtmlContent as Te } from "./HtmlContent/HtmlContent.js";
11
+ import "./Header/components/TabsOutlined/TabsOutlined.js";
12
+ import { B as H } from "./index-6af94f99.js";
13
+ import { c as G, b as Le } from "./const-637b0dca.js";
14
+ import { Stepper as ve } from "./Stepper/Stepper.js";
15
+ import { Segments as De } from "./Segments/Segments.js";
16
+ import { VideoFull as Ee } from "./Video/VideoFull/VideoFull.js";
17
+ import { VideoList as Ce } from "./Video/VideoList/VideoList.js";
18
+ import { VideoListMini as Se } from "./Video/VideoListMini/VideoListMini.js";
19
+ import { ContentCardList as ke } from "./ContentCardList/ContentCardList.js";
20
+ import { CardIconList as Be } from "./CardIconList/CardIconList.js";
21
+ import { MultiCards as je } from "./MultiCards/index.js";
22
+ import { Partners as ze } from "./Partners/Partners.js";
23
+ import { CardImageList as Pe } from "./CardImageList/CardImageList.js";
24
+ import { MainBanner as Ae } from "./MainBanner/MainBanner.js";
25
+ import { Faq as Fe } from "./Faq/Faq.js";
26
+ import { C as v } from "./ComponentContainer-cdb2528c.js";
27
+ import { I as k } from "./index-2265d593.js";
28
+ import _e from "./Header/components/HeaderTabsMobile/HeaderTabsMobile.js";
29
+ import "./HeroPossibilityBanner/index.js";
30
+ import { PartnersColors as Oe } from "./PartnersColors/PartnersColors.js";
31
+ import "./Cards/CardImage/CardImage.js";
32
+ import "./Cards/ContentCard/ContentCard.js";
33
+ import { WarningCard as He } from "./Cards/WarningCard/WarningCard.js";
34
+ import "./Cards/ColoredCard/index.js";
35
+ import "./index-815f0132.js";
36
+ import { DownloadFileBanner as Re } from "./DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js";
37
+ import { DownloadFileFull as Ye } from "./DownloadFile/components/DownloadFileFull/DownloadFileFull.js";
38
+ import { DownloadFileHalf as Ze } from "./DownloadFile/components/DownloadFileHalf/DownloadFileHalf.js";
39
+ import { DownloadFileMini as Ve } from "./DownloadFile/components/DownloadFileMini/DownloadFileMini.js";
40
+ import { Collapse as Qe } from "./Faq/components/Collapse/Collapse.js";
41
+ import { Bullet as $ } from "./SwiperList/components/Bullet/Bullet.js";
42
+ import { FieldTypes as l } from "./Types/FiledTypes.js";
43
+ import { g as O, a as J, N as K, b as X } from "./swiper-react-0815edaf.js";
44
+ import { CardImageSecondaryList as We } from "./CardImageSecondaryList/CardImageSecondaryList.js";
45
+ import { CardInfoTable as Ue } from "./CardInfoTable/index.js";
46
+ import { DownloadFileBright as Ge } from "./DownloadFile/components/DownloadFileBright/index.js";
47
+ import { InfoBanner as $e, InfoBannerFields as Je } from "./InfoBanner/index.js";
48
+ import { u as _ } from "./useScreenSize-c1b64c02.js";
49
+ import { IntroBanner as Ke } from "./IntroBanner/IntroBanner.js";
50
+ import { Space as Xe } from "./Space/Space.js";
51
+ import { VideoMainBanner as qe } from "./VideoMainBanner/VideoMainBanner.js";
52
+ import { M as et, B as tt, C as at, S as ot, b as nt, V as rt, c as lt, d as it, e as st, f as pt, g as dt, P as ct, h as mt, W as ut, F as xt, k as ft, D as gt, l as yt, m as ht, I as wt, o as bt, p as Nt, A as Mt, q as It, T as Tt, r as Lt, E as vt, s as Dt, t as Et, u as Ct, v as St, w as kt, x as Bt } from "./data.mock-483400cb.js";
53
+ import jt from "./Header/components/HeaderWeb/HeaderWeb.js";
54
+ import { Footer as zt } from "./Footer/Footer.js";
55
+ import { Slide as Pt } from "./SwiperList/components/Slide/Slide.js";
56
+ import './assets/swiper.css';import './assets/index2.css';/* empty css */import { CardWarning as At } from "./StandartTable/components/CardWarning/index.js";
57
+ import { Slide as Ft } from "./AnimatedSwiper/Slide/Slide.js";
58
+ import { InstructionModal as _t } from "./InstructionList/components/InstructionModal/InstructionModal.js";
59
+ import Ot from "./Header/components/HeaderSearchMobile/HeaderSearchMobile.js";
60
+ function q(o) {
61
+ let {
62
+ swiper: e,
63
+ extendParams: r,
64
+ on: a,
65
+ emit: n,
66
+ params: i
67
+ } = o;
68
+ e.autoplay = {
69
+ running: !1,
70
+ paused: !1,
71
+ timeLeft: 0
72
+ }, r({
73
+ autoplay: {
74
+ enabled: !1,
75
+ delay: 3e3,
76
+ waitForTransition: !0,
77
+ disableOnInteraction: !1,
78
+ stopOnLastSlide: !1,
79
+ reverseDirection: !1,
80
+ pauseOnMouseEnter: !1
81
+ }
82
+ });
83
+ let u, f, g = i && i.autoplay ? i.autoplay.delay : 3e3, y = i && i.autoplay ? i.autoplay.delay : 3e3, x, h = (/* @__PURE__ */ new Date()).getTime(), p, b, N, E, B, c, T;
84
+ function C(s) {
85
+ !e || e.destroyed || !e.wrapperEl || s.target === e.wrapperEl && (e.wrapperEl.removeEventListener("transitionend", C), !(T || s.detail && s.detail.bySwiperTouchMove) && L());
86
+ }
87
+ const Y = () => {
88
+ if (e.destroyed || !e.autoplay.running)
89
+ return;
90
+ e.autoplay.paused ? p = !0 : p && (y = x, p = !1);
91
+ const s = e.autoplay.paused ? x : h + y - (/* @__PURE__ */ new Date()).getTime();
92
+ e.autoplay.timeLeft = s, n("autoplayTimeLeft", s, s / g), f = requestAnimationFrame(() => {
93
+ Y();
94
+ });
95
+ }, ue = () => {
96
+ let s;
97
+ return e.virtual && e.params.virtual.enabled ? s = e.slides.find((w) => w.classList.contains("swiper-slide-active")) : s = e.slides[e.activeIndex], s ? parseInt(s.getAttribute("data-swiper-autoplay"), 10) : void 0;
98
+ }, A = (s) => {
99
+ if (e.destroyed || !e.autoplay.running)
100
+ return;
101
+ cancelAnimationFrame(f), Y();
102
+ let M = typeof s > "u" ? e.params.autoplay.delay : s;
103
+ g = e.params.autoplay.delay, y = e.params.autoplay.delay;
104
+ const w = ue();
105
+ !Number.isNaN(w) && w > 0 && typeof s > "u" && (M = w, g = w, y = w), x = M;
106
+ const z = e.params.speed, U = () => {
107
+ !e || e.destroyed || (e.params.autoplay.reverseDirection ? !e.isBeginning || e.params.loop || e.params.rewind ? (e.slidePrev(z, !0, !0), n("autoplay")) : e.params.autoplay.stopOnLastSlide || (e.slideTo(e.slides.length - 1, z, !0, !0), n("autoplay")) : !e.isEnd || e.params.loop || e.params.rewind ? (e.slideNext(z, !0, !0), n("autoplay")) : e.params.autoplay.stopOnLastSlide || (e.slideTo(0, z, !0, !0), n("autoplay")), e.params.cssMode && (h = (/* @__PURE__ */ new Date()).getTime(), requestAnimationFrame(() => {
108
+ A();
109
+ })));
110
+ };
111
+ return M > 0 ? (clearTimeout(u), u = setTimeout(() => {
112
+ U();
113
+ }, M)) : requestAnimationFrame(() => {
114
+ U();
115
+ }), M;
116
+ }, Z = () => {
117
+ h = (/* @__PURE__ */ new Date()).getTime(), e.autoplay.running = !0, A(), n("autoplayStart");
118
+ }, j = () => {
119
+ e.autoplay.running = !1, clearTimeout(u), cancelAnimationFrame(f), n("autoplayStop");
120
+ }, S = (s, M) => {
121
+ if (e.destroyed || !e.autoplay.running)
122
+ return;
123
+ clearTimeout(u), s || (c = !0);
124
+ const w = () => {
125
+ n("autoplayPause"), e.params.autoplay.waitForTransition ? e.wrapperEl.addEventListener("transitionend", C) : L();
126
+ };
127
+ if (e.autoplay.paused = !0, M) {
128
+ B && (x = e.params.autoplay.delay), B = !1, w();
129
+ return;
130
+ }
131
+ x = (x || e.params.autoplay.delay) - ((/* @__PURE__ */ new Date()).getTime() - h), !(e.isEnd && x < 0 && !e.params.loop) && (x < 0 && (x = 0), w());
132
+ }, L = () => {
133
+ e.isEnd && x < 0 && !e.params.loop || e.destroyed || !e.autoplay.running || (h = (/* @__PURE__ */ new Date()).getTime(), c ? (c = !1, A(x)) : A(), e.autoplay.paused = !1, n("autoplayResume"));
134
+ }, V = () => {
135
+ if (e.destroyed || !e.autoplay.running)
136
+ return;
137
+ const s = O();
138
+ s.visibilityState === "hidden" && (c = !0, S(!0)), s.visibilityState === "visible" && L();
139
+ }, Q = (s) => {
140
+ s.pointerType === "mouse" && (c = !0, T = !0, !(e.animating || e.autoplay.paused) && S(!0));
141
+ }, W = (s) => {
142
+ s.pointerType === "mouse" && (T = !1, e.autoplay.paused && L());
143
+ }, xe = () => {
144
+ e.params.autoplay.pauseOnMouseEnter && (e.el.addEventListener("pointerenter", Q), e.el.addEventListener("pointerleave", W));
145
+ }, fe = () => {
146
+ e.el && typeof e.el != "string" && (e.el.removeEventListener("pointerenter", Q), e.el.removeEventListener("pointerleave", W));
147
+ }, ge = () => {
148
+ O().addEventListener("visibilitychange", V);
149
+ }, ye = () => {
150
+ O().removeEventListener("visibilitychange", V);
151
+ };
152
+ a("init", () => {
153
+ e.params.autoplay.enabled && (xe(), ge(), Z());
154
+ }), a("destroy", () => {
155
+ fe(), ye(), e.autoplay.running && j();
156
+ }), a("_freeModeStaticRelease", () => {
157
+ (N || c) && L();
158
+ }), a("_freeModeNoMomentumRelease", () => {
159
+ e.params.autoplay.disableOnInteraction ? j() : S(!0, !0);
160
+ }), a("beforeTransitionStart", (s, M, w) => {
161
+ e.destroyed || !e.autoplay.running || (w || !e.params.autoplay.disableOnInteraction ? S(!0, !0) : j());
162
+ }), a("sliderFirstMove", () => {
163
+ if (!(e.destroyed || !e.autoplay.running)) {
164
+ if (e.params.autoplay.disableOnInteraction) {
165
+ j();
166
+ return;
167
+ }
168
+ b = !0, N = !1, c = !1, E = setTimeout(() => {
169
+ c = !0, N = !0, S(!0);
170
+ }, 200);
171
+ }
172
+ }), a("touchEnd", () => {
173
+ if (!(e.destroyed || !e.autoplay.running || !b)) {
174
+ if (clearTimeout(E), clearTimeout(u), e.params.autoplay.disableOnInteraction) {
175
+ N = !1, b = !1;
176
+ return;
177
+ }
178
+ N && e.params.cssMode && L(), N = !1, b = !1;
179
+ }
180
+ }), a("slideChange", () => {
181
+ e.destroyed || !e.autoplay.running || (B = !0);
182
+ }), Object.assign(e.autoplay, {
183
+ start: Z,
184
+ stop: j,
185
+ pause: S,
186
+ resume: L
187
+ });
188
+ }
189
+ const Ht = ({ sectionsData: o, render: e }) => {
190
+ const [r, a] = I(
191
+ []
192
+ );
193
+ return /* @__PURE__ */ t(
194
+ "div",
195
+ {
196
+ className: m(
197
+ "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",
198
+ {
199
+ "top-14": e === F.MENU
200
+ }
201
+ ),
202
+ children: /* @__PURE__ */ t("div", { className: "flex items-center justify-between py-2 px-4 pb-2.5 relative", children: /* @__PURE__ */ d("div", { className: "w-full bg-white flex flex-col z-[1000]", children: [
203
+ /* @__PURE__ */ t(
204
+ _e,
205
+ {
206
+ sectionsData: o,
207
+ setCategoriesData: a
208
+ }
209
+ ),
210
+ r == null ? void 0 : r.map((n, i) => {
211
+ var u;
212
+ return /* @__PURE__ */ t(
213
+ Qe,
214
+ {
215
+ title: n == null ? void 0 : n.title,
216
+ icon: n == null ? void 0 : n.icon,
217
+ children: /* @__PURE__ */ t("div", { className: "rounded-2xl bg-white4 p-3 px-4 flex flex-col gap-6", children: (u = n == null ? void 0 : n.subcategories) == null ? void 0 : u.map((f, g) => /* @__PURE__ */ t(
218
+ "a",
219
+ {
220
+ href: (f == null ? void 0 : f.link) || "/",
221
+ className: "w-full flex justify-between",
222
+ children: f == null ? void 0 : f.title
223
+ },
224
+ g
225
+ )) })
226
+ },
227
+ i
228
+ );
229
+ })
230
+ ] }) })
231
+ }
232
+ );
233
+ }, Rt = ({
234
+ sections: o,
235
+ darkTheme: e,
236
+ className: r
237
+ }) => {
238
+ const [a, n] = I(F.MAIN), i = (p) => {
239
+ n(p);
240
+ }, [u, f] = I(void 0), [g, y] = I(!1), x = be(async (p) => {
241
+ if (p.trim())
242
+ try {
243
+ const { data: b } = await Ne.searchHeader(p);
244
+ f(b), y(!0);
245
+ } catch {
246
+ console.log("Нет результатов");
247
+ }
248
+ }, 500), h = (p) => {
249
+ x(p);
250
+ };
251
+ return we(() => {
252
+ if (a === F.MENU || a === F.SEARCH)
253
+ return document.body.style.overflow = "hidden", () => {
254
+ document.body.style.overflow = "";
255
+ };
256
+ }, [a]), /* @__PURE__ */ d(
257
+ "div",
258
+ {
259
+ className: m(
260
+ "w-full left-0 right-0 max-w-full overflow-hidden",
261
+ r
262
+ ),
263
+ children: [
264
+ /* @__PURE__ */ t(
265
+ Me,
266
+ {
267
+ render: a,
268
+ show: i,
269
+ darkEffect: e,
270
+ setSearchValue: h
271
+ }
272
+ ),
273
+ /* @__PURE__ */ t(
274
+ Ht,
275
+ {
276
+ show: i,
277
+ sectionsData: Array.isArray(o) ? o : [o],
278
+ className: "top-[56px]",
279
+ render: a
280
+ }
281
+ ),
282
+ /* @__PURE__ */ t(
283
+ Ot,
284
+ {
285
+ render: a,
286
+ show: i,
287
+ results: u,
288
+ showResults: g
289
+ }
290
+ )
291
+ ]
292
+ }
293
+ );
294
+ }, Yt = ({ sections: o, darkTheme: e }) => {
295
+ const r = _(960);
296
+ return /* @__PURE__ */ t(he, { children: r ? /* @__PURE__ */ t(
297
+ Rt,
298
+ {
299
+ sections: o,
300
+ darkTheme: e,
301
+ className: "fixed top-0 z-[9999] w-full"
302
+ }
303
+ ) : /* @__PURE__ */ t(
304
+ "div",
305
+ {
306
+ className: m(
307
+ "fixed top-0 z-[9999] w-full h-[70px] bg-white flex items-center justify-center py-[9px]"
308
+ ),
309
+ children: /* @__PURE__ */ t(
310
+ jt,
311
+ {
312
+ sections: o,
313
+ darkTheme: e
314
+ }
315
+ )
316
+ }
317
+ ) });
318
+ }, Zt = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwXzYxODBfMjc4KSI+CjxwYXRoIGQ9Ik0xNS4zMzM3IDQuNjY2NjlIMTIuNjY3QzEyLjAzODUgNC42NjY2OSAxMS43MjQyIDQuNjY2NjkgMTEuNTI4OSA0LjQ3MTQyQzExLjMzMzcgNC4yNzYxNiAxMS4zMzM3IDMuOTYxODkgMTEuMzMzNyAzLjMzMzM1VjAuNjY2Njg3TTE1LjMzMzcgMTEuMzMzNEgxMi42NjdDMTIuMDM4NSAxMS4zMzM0IDExLjcyNDIgMTEuMzMzNCAxMS41Mjg5IDExLjUyODZDMTEuMzMzNyAxMS43MjM5IDExLjMzMzcgMTIuMDM4MSAxMS4zMzM3IDEyLjY2NjdWMTUuMzMzNE00LjY2Njk5IDE1LjMzMzRWMTIuNjY2N0M0LjY2Njk5IDEyLjAzODEgNC42NjY5OSAxMS43MjM5IDQuNDcxNzMgMTEuNTI4NkM0LjI3NjQ3IDExLjMzMzQgMy45NjIyIDExLjMzMzQgMy4zMzM2NiAxMS4zMzM0SDAuNjY2OTkyTTQuNjY2OTkgMC42NjY2ODdWMy4zMzMzNUM0LjY2Njk5IDMuOTYxODkgNC42NjY5OSA0LjI3NjE2IDQuNDcxNzMgNC40NzE0MkM0LjI3NjQ3IDQuNjY2NjkgMy45NjIyIDQuNjY2NjkgMy4zMzM2NiA0LjY2NjY5SDAuNjY2OTkyIiBzdHJva2U9IndoaXRlIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9nPgo8ZGVmcz4KPGNsaXBQYXRoIGlkPSJjbGlwMF82MTgwXzI3OCI+CjxyZWN0IHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0id2hpdGUiLz4KPC9jbGlwUGF0aD4KPC9kZWZzPgo8L3N2Zz4K", Vt = ["title", "subtitle", "count_color", "image", "id"], Qt = {
319
+ title: l.TITLE,
320
+ subtitle: l.DESCRIPTION,
321
+ count_color: l.COLOR,
322
+ image: l.FILE,
323
+ id: l.NUMBER
324
+ }, ee = ({
325
+ title: o,
326
+ subtitle: e,
327
+ count_color: r,
328
+ image: a,
329
+ id: n
330
+ }) => {
331
+ const [i, u] = I(!1);
332
+ return /* @__PURE__ */ d("div", { className: "w-full flex flex-col rounded-[20px] overflow-hidden", children: [
333
+ /* @__PURE__ */ d("div", { className: "relative w-full h-[256px]", children: [
334
+ /* @__PURE__ */ t(
335
+ k,
336
+ {
337
+ src: a,
338
+ alt: o,
339
+ className: "w-full h-full",
340
+ imageStyles: "object-cover"
341
+ }
342
+ ),
343
+ n && /* @__PURE__ */ t(
344
+ "div",
345
+ {
346
+ className: `absolute top-[26px] left-[36px] text-[20px] leading-[32px] text-white
347
+ px-[18px] rounded-[100px]`,
348
+ style: { background: r },
349
+ children: n
350
+ }
351
+ ),
352
+ /* @__PURE__ */ d(
353
+ "button",
354
+ {
355
+ className: `absolute top-[26px] right-[36px] w-fit flex items-center gap-[4px] py-[8px] px-[10px]
356
+ bg-translucentBlack rounded-[100px] cursor-pointer`,
357
+ onClick: () => {
358
+ a && (u(!0), document.body.style.overflow = "hidden");
359
+ },
360
+ children: [
361
+ /* @__PURE__ */ t("p", { className: "text-[14px] leading-[20px] text-white", children: "Показать" }),
362
+ /* @__PURE__ */ t(
363
+ k,
364
+ {
365
+ src: Zt,
366
+ alt: "show"
367
+ }
368
+ )
369
+ ]
370
+ }
371
+ )
372
+ ] }),
373
+ /* @__PURE__ */ d("div", { className: "bg-white px-[24px] py-[32px] flex flex-col flex-grow gap-[8px]", children: [
374
+ o && /* @__PURE__ */ t("p", { className: "text-[24px] leading-[32px] font-bold", children: o }),
375
+ e && /* @__PURE__ */ t("p", { className: "text-[18px] leading-[26px] text-graySoft2", children: e })
376
+ ] }),
377
+ /* @__PURE__ */ t(
378
+ _t,
379
+ {
380
+ show: i,
381
+ image: a,
382
+ title: o,
383
+ onClose: () => {
384
+ u(!1), document.body.style.overflow = "auto";
385
+ }
386
+ }
387
+ )
388
+ ] });
389
+ };
390
+ ee.propsToEdit = Vt;
391
+ const Wt = ["title", "cards", G], jo = {
392
+ type: "cards",
393
+ label: "Карточки",
394
+ dataType: "array",
395
+ data: {
396
+ ...Qt
397
+ }
398
+ }, te = ({
399
+ title: o,
400
+ cards: e,
401
+ button: r
402
+ }) => /* @__PURE__ */ d(v, { className: "flex flex-col items-center", children: [
403
+ o && /* @__PURE__ */ t("p", { className: "text-[44px] leading-[54px] font-bold text-center mb-[48px]", children: o }),
404
+ /* @__PURE__ */ t("div", { className: "flex flex-row max-tablet:flex-col items-stretch gap-[24px]", children: e == null ? void 0 : e.map((a) => /* @__PURE__ */ t(
405
+ ee,
406
+ {
407
+ ...a
408
+ },
409
+ a == null ? void 0 : a.id
410
+ )) }),
411
+ /* @__PURE__ */ t(H, { ...r })
412
+ ] });
413
+ te.propsToEdit = Wt;
414
+ const Ut = ["title", "subtitle", "image", "button", "id"], Gt = {
415
+ title: l.TITLE,
416
+ subtitle: l.DESCRIPTION,
417
+ image: l.FILE,
418
+ button: Le
419
+ }, ae = ({ title: o, subtitle: e, image: r, button: a }) => /* @__PURE__ */ d("div", { className: "w-full flex flex-col rounded-[20px] overflow-hidden", children: [
420
+ /* @__PURE__ */ t("div", { className: "relative w-full h-[256px]", children: /* @__PURE__ */ t(
421
+ k,
422
+ {
423
+ src: r,
424
+ alt: o,
425
+ className: "w-full h-full",
426
+ imageStyles: "object-cover"
427
+ }
428
+ ) }),
429
+ /* @__PURE__ */ d("div", { className: "bg-white p-[32px] flex flex-col gap-[8px] h-full", children: [
430
+ (o == null ? void 0 : o.length) && /* @__PURE__ */ t("p", { className: "text-[24px] leading-[32px] font-bold", children: o }),
431
+ e && /* @__PURE__ */ t("p", { className: "text-[14px] leading-[20px] text-graySoft", children: e }),
432
+ ((a == null ? void 0 : a.title) || (a == null ? void 0 : a.children)) && /* @__PURE__ */ t(H, { ...a })
433
+ ] })
434
+ ] });
435
+ ae.propsToEdit = Ut;
436
+ const $t = {
437
+ type: "cards",
438
+ dataType: "array",
439
+ label: "Карточки",
440
+ data: {
441
+ ...Gt
442
+ }
443
+ }, Jt = ["title", $t, G, "grid"], oe = ({
444
+ title: o,
445
+ cards: e,
446
+ button: r,
447
+ grid: a = 3
448
+ }) => (console.log(o), /* @__PURE__ */ d(v, { className: "flex flex-col items-center", children: [
449
+ (o == null ? void 0 : o.length) && /* @__PURE__ */ t("p", { className: "text-[44px] leading-[52px] font-bold text-center mb-[48px]", children: o }),
450
+ /* @__PURE__ */ t("div", { className: `grid grid-cols-${a} items-stretch gap-[24px]`, children: e == null ? void 0 : e.map((n, i) => /* @__PURE__ */ t(
451
+ ae,
452
+ {
453
+ ...n
454
+ },
455
+ i
456
+ )) }),
457
+ ((r == null ? void 0 : r.title) || (r == null ? void 0 : r.children)) && /* @__PURE__ */ t(H, { ...r })
458
+ ] }));
459
+ oe.propsToEdit = Jt;
460
+ const ne = ({
461
+ color: o = "#40474F",
462
+ size: e = 24,
463
+ ...r
464
+ }) => /* @__PURE__ */ t(
465
+ "svg",
466
+ {
467
+ width: e,
468
+ height: e,
469
+ viewBox: "0 0 24 24",
470
+ fill: "none",
471
+ xmlns: "http://www.w3.org/2000/svg",
472
+ ...r,
473
+ children: /* @__PURE__ */ t(
474
+ "path",
475
+ {
476
+ d: "M17 22L8.41418 13.4142C7.74752 12.7476 7.41418 12.4142 7.41418 12C7.41418 11.5858 7.74752 11.2525 8.41418 10.5858L17 2",
477
+ stroke: o,
478
+ "stroke-width": "2",
479
+ "stroke-linejoin": "round"
480
+ }
481
+ )
482
+ }
483
+ ), re = ({
484
+ color: o = "#40474F",
485
+ size: e = 24,
486
+ ...r
487
+ }) => /* @__PURE__ */ t(
488
+ "svg",
489
+ {
490
+ width: e,
491
+ height: e,
492
+ viewBox: "0 0 24 24",
493
+ fill: "none",
494
+ xmlns: "http://www.w3.org/2000/svg",
495
+ ...r,
496
+ children: /* @__PURE__ */ t(
497
+ "path",
498
+ {
499
+ d: "M7 22L15.5858 13.4142C16.2524 12.7476 16.5858 12.4142 16.5858 12C16.5858 11.5858 16.2525 11.2525 15.5858 10.5858L7 2",
500
+ stroke: o,
501
+ "stroke-width": "2",
502
+ "stroke-linejoin": "round"
503
+ }
504
+ )
505
+ }
506
+ );
507
+ const D = ({
508
+ label: o,
509
+ type: e
510
+ }) => ({
511
+ dataType: l.BOOLEAN,
512
+ label: o,
513
+ type: e
514
+ }), Kt = {
515
+ type: "cards",
516
+ label: "Карточки слайдера",
517
+ dataType: "array",
518
+ data: {
519
+ title: l.TITLE,
520
+ description: l.DESCRIPTION,
521
+ image: l.FILE,
522
+ icon: l.FILE,
523
+ is_black: l.BOOLEAN,
524
+ is_promo: l.BOOLEAN,
525
+ is_yellow: l.BOOLEAN
526
+ }
527
+ }, Xt = D({
528
+ label: "Тема темного цвета",
529
+ type: "isLight"
530
+ }), qt = ["title", Kt, "autoplay", Xt, "isButton"];
531
+ function le({
532
+ title: o,
533
+ cards: e,
534
+ autoplay: r = !1,
535
+ isLight: a = !1,
536
+ isButton: n = !0
537
+ }) {
538
+ const [i, u] = I(1), f = P(null), g = _(960), y = g ? 1.2 : 3, x = g ? 16 : 0, p = r ? {
539
+ delay: 3e3,
540
+ disableOnInteraction: !1,
541
+ waitForTransition: !0
542
+ } : !1, b = P(null), N = P(null), E = (e == null ? void 0 : e.length) <= y + 1 ? [...e, ...e] : e, B = (e == null ? void 0 : e.length) <= y + 1 ? i % (e == null ? void 0 : e.length) : i;
543
+ return /* @__PURE__ */ d("div", { className: "flex flex-col items-center gap-6 h-fit max-w-[1232px] w-full mx-auto px-4 relative max-tablet:max-w-full max-tablet:p-0", children: [
544
+ o && /* @__PURE__ */ t("p", { className: "text-[44px] leading-[52px] font-bold text-center mb-[48px]", children: o }),
545
+ /* @__PURE__ */ d("div", { className: "relative w-full h-[346px] max-tablet:h-fit", children: [
546
+ /* @__PURE__ */ t(
547
+ J,
548
+ {
549
+ modules: [K, q],
550
+ className: "feature_swiper",
551
+ initialSlide: 0,
552
+ slidesPerView: y,
553
+ spaceBetween: x,
554
+ centeredSlides: !0,
555
+ speed: 500,
556
+ autoplay: p,
557
+ onSwiper: (c) => {
558
+ f.current = c, u(c.realIndex);
559
+ },
560
+ onBeforeTransitionStart: (c) => {
561
+ let T = c.realIndex;
562
+ u(T);
563
+ },
564
+ navigation: {
565
+ nextEl: b.current,
566
+ prevEl: N.current
567
+ },
568
+ loop: !0,
569
+ children: E == null ? void 0 : E.map((c, T) => {
570
+ const C = T === i;
571
+ return /* @__PURE__ */ t(X, { children: /* @__PURE__ */ t(
572
+ Ft,
573
+ {
574
+ image: c == null ? void 0 : c.image,
575
+ description: c == null ? void 0 : c.description,
576
+ title: c == null ? void 0 : c.title,
577
+ className: m(
578
+ "h-[314px] transition-all duration-500 transform scale-[0.85] relative max-tablet:h-[288px] max-tablet:scale-100",
579
+ {
580
+ "!h-[346px] !w-full transform scale-100 flex flex-col gap-[40px] md:h-auto md:gap-6": C && !g
581
+ }
582
+ ),
583
+ imgClassName: m({
584
+ "h-[122px] w-[122px]": C && !g
585
+ }),
586
+ imgStyle: m({
587
+ "h-[122px] w-[122px]": C && !g
588
+ }),
589
+ isLight: a
590
+ }
591
+ ) }, c.id);
592
+ })
593
+ }
594
+ ),
595
+ n && /* @__PURE__ */ t(
596
+ "button",
597
+ {
598
+ ref: N,
599
+ className: m(
600
+ "absolute h-[40px] w-[40px] left-0 top-[200px] translate-x-[-50%] translate-y-[-50%] z-10 p-[8px] rounded-[50%] bg-graySoft border-none cursor-pointer max-tablet:hidden"
601
+ ),
602
+ children: /* @__PURE__ */ t(
603
+ ne,
604
+ {
605
+ size: 24,
606
+ color: "#ffffff"
607
+ }
608
+ )
609
+ }
610
+ ),
611
+ n && /* @__PURE__ */ t(
612
+ "button",
613
+ {
614
+ ref: b,
615
+ className: m(
616
+ "absolute h-[40px] w-[40px] right-0 top-[200px] translate-x-[-50%] translate-y-[-50%] z-10 p-[8px] rounded-[50%] bg-graySoft border-none cursor-pointer max-tablet:hidden"
617
+ ),
618
+ children: /* @__PURE__ */ t(
619
+ re,
620
+ {
621
+ size: 24,
622
+ color: "#ffffff"
623
+ }
624
+ )
625
+ }
626
+ )
627
+ ] }),
628
+ (e == null ? void 0 : e.length) && /* @__PURE__ */ t(
629
+ $,
630
+ {
631
+ count: e.length,
632
+ active: B,
633
+ activeColor: "#16A34A",
634
+ anActiveColor: "#A6B2BA",
635
+ className: "mt-[24px]"
636
+ }
637
+ )
638
+ ] });
639
+ }
640
+ le.propsToEdit = qt;
641
+ const ea = {
642
+ type: "cards",
643
+ label: "Карточки информации",
644
+ dataType: "array",
645
+ data: Je
646
+ }, ta = D({
647
+ label: "Светлый вариант",
648
+ type: "isLight"
649
+ }), aa = D({
650
+ label: "Светлый заголовок",
651
+ type: "isLightTitle"
652
+ }), oa = ["title", ea, ta, aa], ie = ({
653
+ title: o,
654
+ cards: e,
655
+ isLight: r,
656
+ isLightTitle: a
657
+ }) => {
658
+ const n = _(960);
659
+ return /* @__PURE__ */ t(v, { children: /* @__PURE__ */ d("div", { className: m("w-full"), children: [
660
+ o && /* @__PURE__ */ t(
661
+ "p",
662
+ {
663
+ className: m(
664
+ "text-[44px] font-bold leading-[52px] mb-[48px] text-black text-center max-tablet:text-[26px] max-tablet:leading-[32px] max-tablet:mb-[32px]",
665
+ { "text-white4": a }
666
+ ),
667
+ children: o
668
+ }
669
+ ),
670
+ /* @__PURE__ */ t("div", { className: m("flex flex-col gap-[40px] w-full"), children: e == null ? void 0 : e.map((i, u) => /* @__PURE__ */ t(
671
+ $e,
672
+ {
673
+ data: i,
674
+ isTextLast: n ? !1 : u % 2 === 1,
675
+ isLight: r
676
+ },
677
+ u
678
+ )) })
679
+ ] }) });
680
+ };
681
+ ie.propsToEdit = oa;
682
+ const na = D({
683
+ label: "Большой текст",
684
+ type: "is_big"
685
+ }), ra = {
686
+ type: "texts",
687
+ label: "Тексты",
688
+ dataType: "array",
689
+ data: {
690
+ title: l.TITLE,
691
+ is_big: na
692
+ }
693
+ }, la = ["image", "image_mob", ra], se = ({ image: o, image_mob: e, texts: r }) => {
694
+ const a = _(960);
695
+ return /* @__PURE__ */ t(
696
+ v,
697
+ {
698
+ 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",
699
+ style: {
700
+ backgroundImage: `url(${a ? e : o})`
701
+ },
702
+ children: r == null ? void 0 : r.map((n, i) => /* @__PURE__ */ t(
703
+ "p",
704
+ {
705
+ className: m(
706
+ "text-[15px] leading-[22px] text-white break-words whitespace-normal max-w-full overflow-hidden",
707
+ {
708
+ "text-[72px] leading-[32px] font-bold text-white max-tablet:text-[32px] max-tablet:leading-[32px] max-tablet:h-[57px] max-tablet:break-words": n == null ? void 0 : n.is_big
709
+ }
710
+ ),
711
+ children: n == null ? void 0 : n.title
712
+ },
713
+ i
714
+ ))
715
+ }
716
+ );
717
+ };
718
+ se.propsToEdit = la;
719
+ const ia = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTIiIHZpZXdCb3g9IjAgMCAxNiAxMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE0LjY2NzMgMS41NTMyMkw1Ljc3ODQzIDEwLjQ0MjNMMS4zMzM5OCA1Ljk5Nzg4IiBzdHJva2U9IiMxNkEzNEEiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8L3N2Zz4K", sa = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxOCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEuNSAxLjQ0NjA0TDE2LjUgMTYuNDQ2TTE2LjUgMS40NDYwNEwxLjUgMTYuNDQ2IiBzdHJva2U9IiNFRjQ0NDQiIHN0cm9rZS13aWR0aD0iMiIvPgo8L3N2Zz4K", pa = D({
720
+ label: "Маркированный",
721
+ type: "is_marked"
722
+ }), da = {
723
+ title: l.TITLE,
724
+ columns: {
725
+ type: "columns",
726
+ label: "Колонки",
727
+ dataType: "array",
728
+ data: {
729
+ title: l.TITLE,
730
+ description: l.DESCRIPTION,
731
+ is_marked: pa
732
+ }
733
+ }
734
+ }, ca = ({ title: o, columns: e, className: r }) => /* @__PURE__ */ d(
735
+ "div",
736
+ {
737
+ className: m(
738
+ "w-full grid grid-cols-[200px_3fr] gap-[24px] border-b border-greyLight",
739
+ "max-tablet:last:border-none",
740
+ "max-tablet:grid-cols-[170px_3fr] max-tablet:gap-0 max-tablet:w-fit",
741
+ r
742
+ ),
743
+ children: [
744
+ /* @__PURE__ */ t(
745
+ "p",
746
+ {
747
+ className: m(
748
+ "sticky left-0 top-0 z-10 bg-white font-medium text-[18px] leading-[24px] text-graySoft3 border-r border-greyLight",
749
+ "py-[24px] px-[32px] max-tablet:w-[170px] max-tablet:px-4 whitespace-normal"
750
+ ),
751
+ children: o
752
+ }
753
+ ),
754
+ /* @__PURE__ */ t(
755
+ "div",
756
+ {
757
+ className: m(
758
+ "grid grid-cols-[repeat(4,1fr)] max-tablet:grid-cols-[repeat(4,134px)] gap-[24px] max-tablet:gap-0 w-full"
759
+ ),
760
+ children: e == null ? void 0 : e.map((a) => /* @__PURE__ */ d(
761
+ "div",
762
+ {
763
+ className: m(
764
+ "w-full flex flex-col gap-2",
765
+ "py-[24px] max-tablet:last:py-[10px] max-tablet:px-[12px] max-tablet:last:pb-0 max-tablet:w-134px]"
766
+ ),
767
+ children: [
768
+ /* @__PURE__ */ d("div", { className: "flex flex-row items-start gap-2 w-[240px] max-tablet:w-full", children: [
769
+ (a == null ? void 0 : a.is_marked) === null ? null : a != null && a.is_marked ? /* @__PURE__ */ t(
770
+ k,
771
+ {
772
+ src: ia,
773
+ alt: "check",
774
+ width: 20,
775
+ height: 20,
776
+ className: "flex items-center justify-center"
777
+ }
778
+ ) : /* @__PURE__ */ t(
779
+ k,
780
+ {
781
+ src: sa,
782
+ alt: "cross",
783
+ width: 20,
784
+ height: 20,
785
+ className: "flex items-center justify-center"
786
+ }
787
+ ),
788
+ (a == null ? void 0 : a.title) && /* @__PURE__ */ t("p", { className: "text-[18px] leading-[26px] font-medium m-0 break-words", children: a == null ? void 0 : a.title })
789
+ ] }),
790
+ (a == null ? void 0 : a.description) && /* @__PURE__ */ t("div", { className: "text-[14px] leading-[20px] text-graySoft3 max-tablet:text-[13px] max-tablet:leading-[16px]", children: a == null ? void 0 : a.description })
791
+ ]
792
+ },
793
+ a == null ? void 0 : a.id
794
+ ))
795
+ }
796
+ )
797
+ ]
798
+ }
799
+ ), ma = {
800
+ type: "table",
801
+ label: "Таблица",
802
+ dataType: "object",
803
+ data: {
804
+ keys: {
805
+ image: l.FILE,
806
+ image_mob: l.FILE,
807
+ warning: {
808
+ dataType: l.OBJECT,
809
+ label: "Предупреждение",
810
+ type: "warning",
811
+ keys: {
812
+ warning_title: l.TITLE,
813
+ warning_description: l.DESCRIPTION
814
+ }
815
+ }
816
+ }
817
+ }
818
+ }, ua = {
819
+ type: "rows",
820
+ label: "Строки таблицы",
821
+ dataType: "array",
822
+ data: da
823
+ }, xa = ["title", ma, ua], pe = ({ title: o, table: e, rows: r }) => {
824
+ var a;
825
+ return /* @__PURE__ */ d(v, { children: [
826
+ o && /* @__PURE__ */ t(
827
+ "p",
828
+ {
829
+ className: m(
830
+ "text-[44px] font-bold leading-[52px] mb-[48px] text-black text-center max-tablet:text-[26px] max-tablet:leading-[32px] max-tablet:mb-[32px]"
831
+ ),
832
+ children: o
833
+ }
834
+ ),
835
+ /* @__PURE__ */ d("div", { className: "bg-white rounded-[20px] overflow-hidden p-8 md:p-6", children: [
836
+ /* @__PURE__ */ t(
837
+ "div",
838
+ {
839
+ className: m("overflow-x-auto whitespace-nowrap custom-scrollbar"),
840
+ children: /* @__PURE__ */ t("div", { className: "bg-white rounded-[20px] w-full", children: r == null ? void 0 : r.map((n) => /* @__PURE__ */ t(
841
+ ca,
842
+ {
843
+ id: n == null ? void 0 : n.id,
844
+ title: n == null ? void 0 : n.title,
845
+ description: n == null ? void 0 : n.description,
846
+ columns: n == null ? void 0 : n.columns,
847
+ className: m({
848
+ "border-b border-[#E6E8EB]": !(e != null && e.warning)
849
+ })
850
+ },
851
+ n == null ? void 0 : n.id
852
+ )) })
853
+ }
854
+ ),
855
+ ((a = e == null ? void 0 : e.warning) == null ? void 0 : a.warning_description) && /* @__PURE__ */ t("div", { className: "mt-4", children: /* @__PURE__ */ t(
856
+ At,
857
+ {
858
+ className: "!flex-[1_1_100%] bg-white",
859
+ title: e.warning.warning_title,
860
+ description: e.warning.warning_description
861
+ }
862
+ ) })
863
+ ] })
864
+ ] });
865
+ };
866
+ pe.propsToEdit = xa;
867
+ const R = ({
868
+ label: o,
869
+ type: e
870
+ }) => ({
871
+ dataType: l.NUMBER,
872
+ label: o,
873
+ type: e
874
+ }), fa = {
875
+ type: "cards",
876
+ label: "Карточки слайдера",
877
+ dataType: "array",
878
+ data: {
879
+ description: l.DESCRIPTION,
880
+ image: l.FILE
881
+ }
882
+ }, ga = D({
883
+ label: "Автоматический переход",
884
+ type: "autoplay"
885
+ }), ya = R({
886
+ label: "Задержка автоматического перехода",
887
+ type: "autoplayDelay"
888
+ }), ha = R({
889
+ label: "Количество слайдов на экране",
890
+ type: "perViewScreens"
891
+ }), wa = R({
892
+ label: "Высота карточки",
893
+ type: "cardHeight"
894
+ }), ba = [
895
+ "title",
896
+ fa,
897
+ wa,
898
+ ga,
899
+ ya,
900
+ ha
901
+ ], de = ({
902
+ title: o,
903
+ cards: e,
904
+ card_height: r,
905
+ autoplay: a,
906
+ autoplayDelay: n = 2e3,
907
+ perViewScreens: i
908
+ }) => {
909
+ const [u, f] = I(0), y = a ? {
910
+ delay: n,
911
+ disableOnInteraction: !1,
912
+ waitForTransition: !0
913
+ } : !1, x = P(null), h = P(null);
914
+ return /* @__PURE__ */ d(v, { children: [
915
+ o && /* @__PURE__ */ t("p", { className: "text-[44px] leading-[52px] font-bold text-center mb-[48px]", children: o }),
916
+ /* @__PURE__ */ d("div", { className: "relative w-full", children: [
917
+ /* @__PURE__ */ t(
918
+ J,
919
+ {
920
+ modules: [K, q],
921
+ spaceBetween: 24,
922
+ slidesPerView: i,
923
+ slidesPerGroup: 1,
924
+ navigation: {
925
+ nextEl: x.current,
926
+ prevEl: h.current
927
+ },
928
+ onBeforeInit: (p) => {
929
+ p.params.navigation && typeof p.params.navigation != "boolean" && (p.params.navigation.nextEl = x.current, p.params.navigation.prevEl = h.current);
930
+ },
931
+ pagination: { clickable: !0 },
932
+ onSlideChange: (p) => f(p.realIndex),
933
+ autoplay: y,
934
+ children: e == null ? void 0 : e.map((p) => /* @__PURE__ */ t(X, { children: /* @__PURE__ */ t(
935
+ Pt,
936
+ {
937
+ height: r,
938
+ image: p == null ? void 0 : p.image,
939
+ description: p == null ? void 0 : p.description
940
+ }
941
+ ) }, p.id))
942
+ }
943
+ ),
944
+ /* @__PURE__ */ t(
945
+ "button",
946
+ {
947
+ ref: h,
948
+ className: "custom-prev absolute left-0 top-[50%] translate-y-[-50%] translate-x-[-50%] z-10 p-[8px] rounded-[50%] bg-white",
949
+ children: /* @__PURE__ */ t(ne, { size: 24 })
950
+ }
951
+ ),
952
+ /* @__PURE__ */ t(
953
+ "button",
954
+ {
955
+ ref: x,
956
+ className: "custom-next p-[8px] absolute right-0 top-[50%] translate-y-[-50%] translate-x-[50%] z-10 rounded-[50%] bg-white",
957
+ children: /* @__PURE__ */ t(re, { size: 24 })
958
+ }
959
+ )
960
+ ] }),
961
+ (e == null ? void 0 : e.length) > 1 && /* @__PURE__ */ t(
962
+ $,
963
+ {
964
+ count: (e == null ? void 0 : e.length) - (i - 1),
965
+ active: u,
966
+ activeColor: "#16A34A",
967
+ anActiveColor: "#A6B2BA",
968
+ className: "mt-[24px]"
969
+ }
970
+ )
971
+ ] });
972
+ };
973
+ de.propsToEdit = ba;
974
+ const Na = ({
975
+ color: o = "#40474F",
976
+ size: e = 24,
977
+ ...r
978
+ }) => /* @__PURE__ */ t(
979
+ "svg",
980
+ {
981
+ xmlns: "http://www.w3.org/2000/svg",
982
+ width: e,
983
+ height: e,
984
+ viewBox: "0 0 16 16",
985
+ fill: "none",
986
+ ...r,
987
+ children: /* @__PURE__ */ t(
988
+ "path",
989
+ {
990
+ 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",
991
+ stroke: o || "currentColor",
992
+ "stroke-width": "2",
993
+ "stroke-linejoin": "round"
994
+ }
995
+ )
996
+ }
997
+ );
998
+ const zo = {
999
+ title: l.TITLE,
1000
+ htmlContent: l.HTML_CONTENT,
1001
+ image: l.FILE,
1002
+ isTextLast: l.BOOLEAN,
1003
+ turnover: l.BOOLEAN
1004
+ }, Ma = D({
1005
+ label: "Текст в конце",
1006
+ type: "isTextLast"
1007
+ }), Ia = [
1008
+ "title",
1009
+ "htmlContent",
1010
+ "image",
1011
+ Ma,
1012
+ l.TURN_OVER
1013
+ ], ce = ({
1014
+ htmlContent: o,
1015
+ image: e,
1016
+ title: r,
1017
+ isTextLast: a,
1018
+ turnover: n
1019
+ }) => {
1020
+ const [i, u] = I(!1);
1021
+ return /* @__PURE__ */ d("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: [
1022
+ /* @__PURE__ */ d(
1023
+ "div",
1024
+ {
1025
+ className: m(
1026
+ "h-full py-[32px] pr-[64px] pl-[48px] max-tablet:p-[32px] max-tablet:order-1 max-tablet:w-full",
1027
+ {
1028
+ "order-1": a
1029
+ }
1030
+ ),
1031
+ children: [
1032
+ /* @__PURE__ */ d("div", { className: "h-full flex flex-col gap-[24px]", children: [
1033
+ /* @__PURE__ */ t("p", { className: "text-[32px] leading-[40px] font-bold text-black5 max-tablet:text-[22px] max-tablet:leading-[26px]", children: r }),
1034
+ /* @__PURE__ */ t(
1035
+ "div",
1036
+ {
1037
+ className: m(
1038
+ "max-h-[98px] overflow-hidden max-tablet:text-[95px] transition-[max-height] duration-500 ease-in-out",
1039
+ {
1040
+ "max-h-[1000px]": i
1041
+ }
1042
+ ),
1043
+ children: /* @__PURE__ */ t(
1044
+ Te,
1045
+ {
1046
+ className: "htmlContent",
1047
+ data: o
1048
+ }
1049
+ )
1050
+ }
1051
+ )
1052
+ ] }),
1053
+ /* @__PURE__ */ d(
1054
+ "button",
1055
+ {
1056
+ className: "flex items-center gap-2 px-6 bg-none border-none cursor-pointer transition-all duration-500 ease-in-out",
1057
+ onClick: () => u(!i),
1058
+ children: [
1059
+ /* @__PURE__ */ t("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 ? "Скрыть" : "Показать больше" }),
1060
+ /* @__PURE__ */ t(
1061
+ Na,
1062
+ {
1063
+ size: 16,
1064
+ color: "#3B82F6",
1065
+ className: m(
1066
+ i ? "transition-all duration-500 rotate-180" : "transition-all duration-500",
1067
+ "mt-[12px]"
1068
+ )
1069
+ }
1070
+ )
1071
+ ]
1072
+ }
1073
+ )
1074
+ ]
1075
+ }
1076
+ ),
1077
+ e && /* @__PURE__ */ t(
1078
+ k,
1079
+ {
1080
+ src: e,
1081
+ alt: r,
1082
+ width: 453,
1083
+ className: m(
1084
+ "absolute right-0 bottom-0 h-auto flex items-end max-tablet:relative"
1085
+ ),
1086
+ imageStyles: m(
1087
+ "object-contain",
1088
+ n && "object-bottom",
1089
+ i && "object-bottom"
1090
+ )
1091
+ }
1092
+ )
1093
+ ] });
1094
+ };
1095
+ ce.propsToEdit = Ia;
1096
+ const Ta = {
1097
+ type: "cards",
1098
+ label: "Карточки задач",
1099
+ dataType: "array",
1100
+ data: {
1101
+ title: l.TITLE,
1102
+ description: l.HTML_CONTENT,
1103
+ image: l.FILE,
1104
+ icon: l.FILE,
1105
+ is_black: l.BOOLEAN,
1106
+ is_promo: l.BOOLEAN,
1107
+ is_yellow: l.BOOLEAN
1108
+ }
1109
+ }, La = ["title", Ta], me = ({ title: o, cards: e }) => /* @__PURE__ */ d(v, { children: [
1110
+ o && /* @__PURE__ */ t("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: o }),
1111
+ /* @__PURE__ */ t("div", { className: "flex flex-col gap-[40px] w-full", children: e == null ? void 0 : e.map((r, a) => {
1112
+ const n = a === 0;
1113
+ return /* @__PURE__ */ t(
1114
+ ce,
1115
+ {
1116
+ title: r == null ? void 0 : r.title,
1117
+ description: r == null ? void 0 : r.description,
1118
+ image: r == null ? void 0 : r.image,
1119
+ isFirst: n
1120
+ },
1121
+ a
1122
+ );
1123
+ }) })
1124
+ ] });
1125
+ me.propsToEdit = La;
1126
+ const Po = {
1127
+ MainBanner: { key: "MainBanner", component: Ae },
1128
+ Banner: { key: "Banner", component: Ie },
1129
+ CardImageList: { key: "CardImageList", component: Pe },
1130
+ Stepper: { key: "Stepper", component: ve },
1131
+ Segments: { key: "Segments", component: De },
1132
+ VideoFull: { key: "VideoFull", component: Ee },
1133
+ VideoList: { key: "VideoList", component: Ce },
1134
+ VideoListMini: { key: "VideoListMini", component: Se },
1135
+ ContentCardList: { key: "ContentCardList", component: ke },
1136
+ CardIconList: { key: "CardIconList", component: Be },
1137
+ MultiCards: { key: "MultiCards", component: je },
1138
+ Partners: { key: "Partners", component: ze },
1139
+ PartnersColors: { key: "PartnersColors", component: Oe },
1140
+ WarningCard: { key: "WarningCard", component: He },
1141
+ Faq: { key: "Faq", component: Fe },
1142
+ DownloadFileBanner: {
1143
+ key: "DownloadFileBanner",
1144
+ component: Re
1145
+ },
1146
+ DownloadFileHalf: { key: "DownloadFileHalf", component: Ze },
1147
+ DownloadFileFull: { key: "DownloadFileFull", component: Ye },
1148
+ DownloadFileMini: { key: "DownloadFileMini", component: Ve },
1149
+ InstructionList: { key: "InstructionList", component: te },
1150
+ PreviewList: { key: "PreviewList", component: oe },
1151
+ SwiperList: { key: "SwiperList", component: de },
1152
+ AnimatedSwiper: { key: "AnimatedSwiper", component: le },
1153
+ InfoBannerList: { key: "InfoBannerList", component: ie },
1154
+ TasksBannerList: { key: "TasksBannerList", component: me },
1155
+ VideoMainBanner: { key: "VideoMainBanner", component: qe },
1156
+ Space: { key: "Space", component: Xe },
1157
+ PromoPoster: { key: "PromoPoster", component: se },
1158
+ CardImageSecondaryList: {
1159
+ key: "CardImageSecondaryList",
1160
+ component: We
1161
+ },
1162
+ CardInfoTable: { key: "CardInfoTable", component: Ue },
1163
+ StandartTable: { key: "StandartTable", component: pe },
1164
+ IntroBanner: { key: "IntroBanner", component: Ke },
1165
+ DownloadFileBright: {
1166
+ key: "DownloadFileBright",
1167
+ component: Ge
1168
+ },
1169
+ Header: { key: "Header", component: Yt },
1170
+ Footer: { key: "Footer", component: zt }
1171
+ }, Ao = {
1172
+ MainBanner: et.component_props,
1173
+ Banner: tt.component_props,
1174
+ CardImageList: at.component_props,
1175
+ Stepper: ot.component_props,
1176
+ Segments: nt.component_props,
1177
+ VideoFull: rt.component_props,
1178
+ VideoList: lt.component_props,
1179
+ VideoListMini: it.component_props,
1180
+ ContentCardList: st.component_props,
1181
+ CardIconList: pt.component_props,
1182
+ MultiCards: dt.component_props,
1183
+ Partners: ct.component_props,
1184
+ PartnersColors: mt.component_props,
1185
+ WarningCard: ut.component_props,
1186
+ Faq: xt.component_props,
1187
+ DownloadFileBanner: ft.component_props,
1188
+ DownloadFileHalf: gt.component_props,
1189
+ DownloadFileFull: yt.component_props,
1190
+ DownloadFileMini: ht.component_props,
1191
+ InstructionList: wt.component_props,
1192
+ PreviewList: bt.component_props,
1193
+ SwiperList: Nt.component_props,
1194
+ AnimatedSwiper: Mt.component_props,
1195
+ InfoBannerList: It.component_props,
1196
+ TasksBannerList: Tt.component_props,
1197
+ VideoMainBanner: Lt.component_props,
1198
+ EmptyBox: vt.component_props,
1199
+ PromoPoster: Dt.component_props,
1200
+ CardImageSecondaryList: Et.component_props,
1201
+ CardInfoTable: Ct.component_props,
1202
+ StandartTable: St.component_props,
1203
+ IntroBanner: kt.component_props,
1204
+ DownloadFileBright: Bt.component_props
1205
+ };
1206
+ export {
1207
+ le as A,
1208
+ da as C,
1209
+ Yt as H,
1210
+ te as I,
1211
+ oe as P,
1212
+ de as S,
1213
+ me as T,
1214
+ ie as a,
1215
+ se as b,
1216
+ pe as c,
1217
+ ee as d,
1218
+ ae as e,
1219
+ Ao as f,
1220
+ Po as g,
1221
+ Ht as h,
1222
+ Rt as i,
1223
+ Qt as j,
1224
+ jo as k,
1225
+ Gt as l,
1226
+ ca as m,
1227
+ zo as n,
1228
+ ce as o
1229
+ };