@scbt-ecom/ui 0.7.22 → 0.7.23
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/client.js +5873 -5707
- package/dist/client.js.map +1 -1
- package/dist/hybrid.js +147 -154
- package/dist/hybrid.js.map +1 -1
- package/dist/shared/ui/formControlElements/autocompleteDadata/AutocompleteDadata.d.ts +14 -0
- package/dist/shared/ui/formControlElements/autocompleteDadata/model/api.d.ts +2 -0
- package/dist/shared/ui/formControlElements/autocompleteDadata/model/helpers.d.ts +6 -0
- package/dist/shared/ui/formControlElements/autocompleteDadata/model/types.d.ts +42 -0
- package/dist/shared/ui/formControlElements/autocompleteDadata/model/useDadata.d.ts +7 -0
- package/dist/shared/ui/formControlElements/autocompleteDadata/ui/ComboboxOptionsCustom.d.ts +6 -0
- package/dist/shared/ui/formControlElements/dadataControl/DadataControl.d.ts +16 -0
- package/dist/shared/ui/formControlElements/dadataControl/index.d.ts +1 -0
- package/dist/shared/ui/formControlElements/index.d.ts +1 -0
- package/dist/shared/ui/index.d.ts +1 -1
- package/dist/shared/validation/zodValidation/dadataFio.d.ts +1 -5
- package/dist/utils-tailwind-C70VBN9S.js.map +1 -1
- package/package.json +1 -1
package/dist/hybrid.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { p as
|
|
1
|
+
import { p as F, j as t, c as a, H as y, a as x, I as f, L as K, z as c, i as Y, g as A, u as z, P as ee } from "./utils-tailwind-C70VBN9S.js";
|
|
2
2
|
import { B as lt, D as pt, d as mt, N as ut, b as xt } from "./utils-tailwind-C70VBN9S.js";
|
|
3
3
|
import * as v from "react";
|
|
4
|
-
import { forwardRef as
|
|
5
|
-
const
|
|
4
|
+
import { forwardRef as L } from "react";
|
|
5
|
+
const Me = (o, e) => JSON.stringify(o) === JSON.stringify(e), Oe = (o) => o.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1).toLowerCase()).join("-"), $e = (o, e = "dd.MM.yyyy") => F(o, e, /* @__PURE__ */ new Date()), R = ({ children: o, className: e, ...i }) => /* @__PURE__ */ t.jsx("section", { className: a("pb-16 desktop:pb-20", e), ...i, children: o }), g = ({ children: o, className: e, ...i }) => /* @__PURE__ */ t.jsx("div", { className: a("m-auto w-full mobile:px-4 desktop:max-w-[1140px]", e), ...i, children: o }), te = x("grid", {
|
|
6
6
|
variants: {
|
|
7
7
|
columnCount: {
|
|
8
8
|
twoColumns: "grid-cols-[repeat(2,minmax(172px,_1fr))] desktop:grid-cols-[repeat(2,minmax(172px,_1fr))]",
|
|
9
9
|
threeColumns: "grid-cols-[repeat(3,minmax(172px,_1fr))] desktop:grid-cols-[repeat(3,minmax(312px,_1fr))]"
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
|
-
}),
|
|
12
|
+
}), re = x("grid", {
|
|
13
13
|
variants: {
|
|
14
14
|
columnCount: {
|
|
15
15
|
twoColumns: "",
|
|
@@ -42,7 +42,7 @@ const Oe = (o, e) => JSON.stringify(o) === JSON.stringify(e), C = (o) => o.split
|
|
|
42
42
|
class: "grid-cols-[repeat(3,_auto)]"
|
|
43
43
|
}
|
|
44
44
|
]
|
|
45
|
-
}),
|
|
45
|
+
}), oe = x("grid", {
|
|
46
46
|
variants: {
|
|
47
47
|
columnCount: {
|
|
48
48
|
twoColumns: "",
|
|
@@ -55,7 +55,7 @@ const Oe = (o, e) => JSON.stringify(o) === JSON.stringify(e), C = (o) => o.split
|
|
|
55
55
|
class: "overflow-x-scroll max-w-[368px] mb-1"
|
|
56
56
|
}
|
|
57
57
|
]
|
|
58
|
-
}),
|
|
58
|
+
}), ne = x("border-b border-warm-grey-200 py-4 desktop:desk-body-regular-l mob-body-regular-l", {
|
|
59
59
|
variants: {
|
|
60
60
|
columnCount: {
|
|
61
61
|
twoColumns: "",
|
|
@@ -84,8 +84,8 @@ const Oe = (o, e) => JSON.stringify(o) === JSON.stringify(e), C = (o) => o.split
|
|
|
84
84
|
const l = i && i.length > 0 ? "exist" : "notExist";
|
|
85
85
|
return /* @__PURE__ */ t.jsx(g, { children: /* @__PURE__ */ t.jsxs("div", { className: a("flex flex-col", d == null ? void 0 : d.tableRootWrapper), children: [
|
|
86
86
|
/* @__PURE__ */ t.jsx(y, { as: "h3", className: a("mob-title-bold-m pb-6 desktop:desk-title-bold-s", d == null ? void 0 : d.tableHeading), children: o }),
|
|
87
|
-
/* @__PURE__ */ t.jsxs("div", { className: a(
|
|
88
|
-
/* @__PURE__ */ t.jsx("ul", { className: a(
|
|
87
|
+
/* @__PURE__ */ t.jsxs("div", { className: a(oe({ columnCount: n }), d == null ? void 0 : d.tableBody), children: [
|
|
88
|
+
/* @__PURE__ */ t.jsx("ul", { className: a(te({ columnCount: n }), d == null ? void 0 : d.tableTitlesContainer), children: i == null ? void 0 : i.map((m) => /* @__PURE__ */ t.jsx(
|
|
89
89
|
"li",
|
|
90
90
|
{
|
|
91
91
|
className: a(
|
|
@@ -96,7 +96,7 @@ const Oe = (o, e) => JSON.stringify(o) === JSON.stringify(e), C = (o) => o.split
|
|
|
96
96
|
},
|
|
97
97
|
m
|
|
98
98
|
)) }),
|
|
99
|
-
/* @__PURE__ */ t.jsx("ul", { className: a("mb-4 flex flex-col", d == null ? void 0 : d.tableBodyContainer), children: e.map((m, u) => /* @__PURE__ */ t.jsx("li", { className: a(
|
|
99
|
+
/* @__PURE__ */ t.jsx("ul", { className: a("mb-4 flex flex-col", d == null ? void 0 : d.tableBodyContainer), children: e.map((m, u) => /* @__PURE__ */ t.jsx("li", { className: a(re({ columnCount: n, titlesExist: l }), d == null ? void 0 : d.tableBodyRow), children: m.map((b, s) => /* @__PURE__ */ t.jsx("p", { className: a(ne({ titlesExist: l, columnCount: n }), d == null ? void 0 : d.tableBodyCeil), children: b.text }, s)) }, u)) })
|
|
100
100
|
] }),
|
|
101
101
|
/* @__PURE__ */ t.jsx("p", { className: a("mob-body-regular-m desktop:desk-body-regular-l", d == null ? void 0 : d.tableAdditionalText), children: r })
|
|
102
102
|
] }) });
|
|
@@ -130,7 +130,7 @@ const Oe = (o, e) => JSON.stringify(o) === JSON.stringify(e), C = (o) => o.split
|
|
|
130
130
|
)
|
|
131
131
|
]
|
|
132
132
|
}
|
|
133
|
-
) : /* @__PURE__ */ t.jsx("div", { "aria-current": "page", className: "desk-body-regular-m text-color-blue-grey-600", children: e.label }) })) }),
|
|
133
|
+
) : /* @__PURE__ */ t.jsx("div", { "aria-current": "page", className: "desk-body-regular-m text-color-blue-grey-600", children: e.label }) })) }), ie = (o) => {
|
|
134
134
|
switch (o) {
|
|
135
135
|
case "ghost":
|
|
136
136
|
case "secondary":
|
|
@@ -141,7 +141,7 @@ const Oe = (o, e) => JSON.stringify(o) === JSON.stringify(e), C = (o) => o.split
|
|
|
141
141
|
default:
|
|
142
142
|
return o;
|
|
143
143
|
}
|
|
144
|
-
},
|
|
144
|
+
}, ae = x(
|
|
145
145
|
"relative flex items-center justify-center gap-4 cursor-pointer rounded-sm w-max px-4 outline-offset-4 outline-transparent outline-2 desk-body-regular-l transition duration-12 active:scale-[0.97] disabled:pointer-events-none",
|
|
146
146
|
{
|
|
147
147
|
variants: {
|
|
@@ -199,7 +199,7 @@ const Oe = (o, e) => JSON.stringify(o) === JSON.stringify(e), C = (o) => o.split
|
|
|
199
199
|
isFull: !1
|
|
200
200
|
}
|
|
201
201
|
}
|
|
202
|
-
), j =
|
|
202
|
+
), j = L(
|
|
203
203
|
({
|
|
204
204
|
intent: o,
|
|
205
205
|
size: e,
|
|
@@ -213,22 +213,22 @@ const Oe = (o, e) => JSON.stringify(o) === JSON.stringify(e), C = (o) => o.split
|
|
|
213
213
|
isFull: b = !1,
|
|
214
214
|
textFormat: s,
|
|
215
215
|
...p
|
|
216
|
-
},
|
|
216
|
+
}, Q) => /* @__PURE__ */ t.jsx(
|
|
217
217
|
"button",
|
|
218
218
|
{
|
|
219
|
-
ref:
|
|
219
|
+
ref: Q,
|
|
220
220
|
type: n,
|
|
221
221
|
disabled: m || u,
|
|
222
|
-
className: a(
|
|
222
|
+
className: a(ae({ intent: o, size: e, textFormat: s, isLoading: u, isFull: b }), i),
|
|
223
223
|
...p,
|
|
224
|
-
children: u ? /* @__PURE__ */ t.jsx(
|
|
224
|
+
children: u ? /* @__PURE__ */ t.jsx(K, { size: "sm", intent: ie(o) }) : /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
225
225
|
d && /* @__PURE__ */ t.jsx("span", { className: "flex size-5 items-center justify-center", children: d }),
|
|
226
226
|
r,
|
|
227
227
|
l && /* @__PURE__ */ t.jsx("span", { className: "flex size-5 items-center justify-center", children: l })
|
|
228
228
|
] })
|
|
229
229
|
}
|
|
230
230
|
)
|
|
231
|
-
),
|
|
231
|
+
), de = x(
|
|
232
232
|
"group flex items-center justify-center cursor-pointer rounded-full outline-offset-[3px] outline-transparent outline-2 transition duration-12 active:scale-[0.97] disabled:pointer-events-none",
|
|
233
233
|
{
|
|
234
234
|
variants: {
|
|
@@ -248,9 +248,9 @@ const Oe = (o, e) => JSON.stringify(o) === JSON.stringify(e), C = (o) => o.split
|
|
|
248
248
|
size: "lg"
|
|
249
249
|
}
|
|
250
250
|
}
|
|
251
|
-
), Ge =
|
|
252
|
-
({ size: o, intent: e, children: i, classes: r, type: n = "button", ...d }, l) => /* @__PURE__ */ t.jsx("button", { ref: l, type: n, className: a(
|
|
253
|
-
),
|
|
251
|
+
), Ge = L(
|
|
252
|
+
({ size: o, intent: e, children: i, classes: r, type: n = "button", ...d }, l) => /* @__PURE__ */ t.jsx("button", { ref: l, type: n, className: a(de({ intent: e, size: o }), r == null ? void 0 : r.button), ...d, children: /* @__PURE__ */ t.jsx("span", { className: a(r == null ? void 0 : r.icon), children: i }) })
|
|
253
|
+
), le = x(
|
|
254
254
|
"group underline underline-offset-4 outline-none p-[2px] rounded-sm border border-solid border-transparent",
|
|
255
255
|
{
|
|
256
256
|
variants: {
|
|
@@ -278,7 +278,7 @@ const Oe = (o, e) => JSON.stringify(o) === JSON.stringify(e), C = (o) => o.split
|
|
|
278
278
|
size: "sm"
|
|
279
279
|
}
|
|
280
280
|
}
|
|
281
|
-
),
|
|
281
|
+
), pe = x("size-6", {
|
|
282
282
|
variants: {
|
|
283
283
|
intent: {
|
|
284
284
|
blue: "text-icon-primary-default group-hover:text-icon-primary-hover group-focus:text-icon-primary-default ",
|
|
@@ -302,10 +302,10 @@ const Oe = (o, e) => JSON.stringify(o) === JSON.stringify(e), C = (o) => o.split
|
|
|
302
302
|
size: d,
|
|
303
303
|
icon: l = "arrows/arrowLink",
|
|
304
304
|
...m
|
|
305
|
-
}) => /* @__PURE__ */ t.jsxs(o, { className: a(
|
|
305
|
+
}) => /* @__PURE__ */ t.jsxs(o, { className: a(le({ intent: e, withIcon: r, disabled: n, size: d })), ...m, children: [
|
|
306
306
|
i,
|
|
307
|
-
r && /* @__PURE__ */ t.jsx(f, { name: l, className: a(
|
|
308
|
-
] }),
|
|
307
|
+
r && /* @__PURE__ */ t.jsx(f, { name: l, className: a(pe({ intent: e, disabled: n })) })
|
|
308
|
+
] }), me = x("size-8 transition-colors", {
|
|
309
309
|
variants: {
|
|
310
310
|
intent: {
|
|
311
311
|
outline: "text-icon-secondary-dark-default group-hover:text-icon-secondary-dark-hover",
|
|
@@ -315,7 +315,7 @@ const Oe = (o, e) => JSON.stringify(o) === JSON.stringify(e), C = (o) => o.split
|
|
|
315
315
|
defaultVariants: {
|
|
316
316
|
intent: "outline"
|
|
317
317
|
}
|
|
318
|
-
}),
|
|
318
|
+
}), ue = {
|
|
319
319
|
filled: "files/documentFilled",
|
|
320
320
|
outline: "files/documentOutline"
|
|
321
321
|
}, Ze = ({ text: o, size: e, sizeType: i, href: r, intent: n = "outline" }) => /* @__PURE__ */ t.jsxs(
|
|
@@ -329,7 +329,7 @@ const Oe = (o, e) => JSON.stringify(o) === JSON.stringify(e), C = (o) => o.split
|
|
|
329
329
|
"group flex max-w-[288px] cursor-pointer items-center gap-2 rounded-sm p-1 outline outline-2 outline-transparent transition-colors focus-within:outline-primary-focus desktop:max-w-[592px]"
|
|
330
330
|
),
|
|
331
331
|
children: [
|
|
332
|
-
/* @__PURE__ */ t.jsx(f, { name:
|
|
332
|
+
/* @__PURE__ */ t.jsx(f, { name: ue[n], className: a(me({ intent: n })) }),
|
|
333
333
|
/* @__PURE__ */ t.jsxs("div", { className: a("flex flex-1 flex-col"), children: [
|
|
334
334
|
/* @__PURE__ */ t.jsx("p", { className: a("desk-body-medium-l text-color-dark"), children: o }),
|
|
335
335
|
/* @__PURE__ */ t.jsxs("div", { className: a("desk-body-regular-m text-color-disabled"), children: [
|
|
@@ -340,7 +340,7 @@ const Oe = (o, e) => JSON.stringify(o) === JSON.stringify(e), C = (o) => o.split
|
|
|
340
340
|
] })
|
|
341
341
|
]
|
|
342
342
|
}
|
|
343
|
-
),
|
|
343
|
+
), S = ({ phone: o, text: e, classes: i }) => /* @__PURE__ */ t.jsxs("div", { className: a("flex w-max flex-col", i == null ? void 0 : i.wrapper), children: [
|
|
344
344
|
/* @__PURE__ */ t.jsx("a", { href: `tel:${o}`, className: a("desk-body-medium-l ml-auto text-color-dark", i == null ? void 0 : i.link), children: o }),
|
|
345
345
|
/* @__PURE__ */ t.jsx("p", { className: a("desk-body-regular-l text-color-tetriary", i == null ? void 0 : i.text), children: e })
|
|
346
346
|
] }), Xe = ({ topContent: o, bottomContent: e, progress: i, maxPercent: r = 100, classes: n }) => /* @__PURE__ */ t.jsxs("div", { className: a("flex flex-col", n == null ? void 0 : n.wrapper), children: [
|
|
@@ -365,7 +365,7 @@ const Oe = (o, e) => JSON.stringify(o) === JSON.stringify(e), C = (o) => o.split
|
|
|
365
365
|
)
|
|
366
366
|
] }),
|
|
367
367
|
e && /* @__PURE__ */ t.jsx("div", { className: a("mt-2 flex justify-between gap-5", n == null ? void 0 : n.bottomContent), children: e })
|
|
368
|
-
] }), qe = ({ className: o }) => /* @__PURE__ */ t.jsx("div", { className: a("skeleton-apply h-full w-full", o) }),
|
|
368
|
+
] }), qe = ({ className: o }) => /* @__PURE__ */ t.jsx("div", { className: a("skeleton-apply h-full w-full", o) }), xe = {
|
|
369
369
|
main: /* @__PURE__ */ t.jsx(f, { name: "brandLogos/logoMain" }),
|
|
370
370
|
white: /* @__PURE__ */ t.jsx(f, { name: "brandLogos/logoWhite" }),
|
|
371
371
|
gray: /* @__PURE__ */ t.jsx(f, { name: "brandLogos/logoGray" }),
|
|
@@ -406,7 +406,7 @@ const Oe = (o, e) => JSON.stringify(o) === JSON.stringify(e), C = (o) => o.split
|
|
|
406
406
|
"purple-hover": "#52399d",
|
|
407
407
|
overlay: "#0000004d",
|
|
408
408
|
...w
|
|
409
|
-
},
|
|
409
|
+
}, V = {
|
|
410
410
|
dark: "#292929",
|
|
411
411
|
disabled: "#a9b6c5",
|
|
412
412
|
footer: "#c3c3c3",
|
|
@@ -421,7 +421,7 @@ const Oe = (o, e) => JSON.stringify(o) === JSON.stringify(e), C = (o) => o.split
|
|
|
421
421
|
"primary-disabled": "#809bc7",
|
|
422
422
|
"blue-grey-600": "#94a4b7",
|
|
423
423
|
...w
|
|
424
|
-
},
|
|
424
|
+
}, P = {
|
|
425
425
|
"barvcray-200": "#ebeef4",
|
|
426
426
|
"barvcray-300": "#dde1e8",
|
|
427
427
|
"greymint-200": "#deecee",
|
|
@@ -480,20 +480,20 @@ const Oe = (o, e) => JSON.stringify(o) === JSON.stringify(e), C = (o) => o.split
|
|
|
480
480
|
white: "#ffffff",
|
|
481
481
|
"primary-disabled": "#809bc7",
|
|
482
482
|
...w
|
|
483
|
-
},
|
|
483
|
+
}, M = {
|
|
484
484
|
none: "0",
|
|
485
485
|
sm: "4px",
|
|
486
486
|
md: "8px",
|
|
487
487
|
lg: "16px",
|
|
488
488
|
full: "9999px"
|
|
489
|
-
},
|
|
489
|
+
}, O = {
|
|
490
490
|
30: "30deg",
|
|
491
491
|
45: "45deg",
|
|
492
492
|
80: "80deg",
|
|
493
493
|
90: "90deg",
|
|
494
494
|
110: "110deg",
|
|
495
495
|
180: "180deg"
|
|
496
|
-
},
|
|
496
|
+
}, fe = {
|
|
497
497
|
0: "0",
|
|
498
498
|
1: "1",
|
|
499
499
|
10: "10",
|
|
@@ -503,7 +503,7 @@ const Oe = (o, e) => JSON.stringify(o) === JSON.stringify(e), C = (o) => o.split
|
|
|
503
503
|
250: "250",
|
|
504
504
|
500: "500",
|
|
505
505
|
1e3: "1000"
|
|
506
|
-
},
|
|
506
|
+
}, $ = {
|
|
507
507
|
12: "12px",
|
|
508
508
|
14: "14px",
|
|
509
509
|
16: "16px",
|
|
@@ -513,7 +513,7 @@ const Oe = (o, e) => JSON.stringify(o) === JSON.stringify(e), C = (o) => o.split
|
|
|
513
513
|
28: "28px",
|
|
514
514
|
32: "32px",
|
|
515
515
|
40: "40px"
|
|
516
|
-
},
|
|
516
|
+
}, U = {
|
|
517
517
|
16: "16px",
|
|
518
518
|
20: "20px",
|
|
519
519
|
22: "22px",
|
|
@@ -522,7 +522,7 @@ const Oe = (o, e) => JSON.stringify(o) === JSON.stringify(e), C = (o) => o.split
|
|
|
522
522
|
32: "32px",
|
|
523
523
|
40: "40px",
|
|
524
524
|
48: "48px"
|
|
525
|
-
},
|
|
525
|
+
}, H = {
|
|
526
526
|
/* # Headline */
|
|
527
527
|
".mob-headline-bold-m": {
|
|
528
528
|
"@apply font-bold text-28 leading-32": ""
|
|
@@ -581,7 +581,7 @@ const Oe = (o, e) => JSON.stringify(o) === JSON.stringify(e), C = (o) => o.split
|
|
|
581
581
|
".desk-body-regular-s": {
|
|
582
582
|
"@apply font-normal text-12 leading-16": ""
|
|
583
583
|
}
|
|
584
|
-
},
|
|
584
|
+
}, ce = /^[\u0400-\u04FF\u00CB\u00EB -]+$/, E = /^(?:[^-]+(?:-[^-]+){0,4}|[^-]+)$/, be = /^[a-zA-Zа-яА-ЯёЁ]+(?:\s*-\s*[a-zA-Zа-яА-ЯёЁ]+){0,4}(?:\s+[a-zA-Zа-яА-ЯёЁ]+(?:\s*-\s*[a-zA-Zа-яА-ЯёЁ]+){0,4})?$/i, k = {
|
|
585
585
|
REQUIRED: "Поле обязательно к заполнению",
|
|
586
586
|
MIN_LENGTH: "Минимальная длина символов должна быть не менее",
|
|
587
587
|
MAX_LENGTH: "Максимальная длина символов должна быть не более",
|
|
@@ -592,7 +592,7 @@ const Oe = (o, e) => JSON.stringify(o) === JSON.stringify(e), C = (o) => o.split
|
|
|
592
592
|
INVALID_VALUE: "Поле заполнено некорректно",
|
|
593
593
|
INVALID_DATE: "Введите корректную дату",
|
|
594
594
|
FUTURE_DATE_NOT_ALLOWED: "Нельзя выбрать дату позже текущей"
|
|
595
|
-
},
|
|
595
|
+
}, he = (o) => {
|
|
596
596
|
const e = o.trim().replace(/\s+/g, " ").split(" "), [i, r, ...n] = e, d = n == null ? void 0 : n.join(" ");
|
|
597
597
|
return {
|
|
598
598
|
surname: i,
|
|
@@ -600,37 +600,30 @@ const Oe = (o, e) => JSON.stringify(o) === JSON.stringify(e), C = (o) => o.split
|
|
|
600
600
|
patronymic: d
|
|
601
601
|
};
|
|
602
602
|
}, Je = c.string({ invalid_type_error: "Обязательно к заполнению", required_error: "Обязательно к заполнению" }).superRefine((o, e) => {
|
|
603
|
-
|
|
603
|
+
ce.test(o) || e.addIssue({
|
|
604
604
|
code: c.ZodIssueCode.custom,
|
|
605
605
|
message: "Должна быть только кириллица"
|
|
606
606
|
});
|
|
607
|
-
const { surname: i, name: r, patronymic: n } =
|
|
607
|
+
const { surname: i, name: r, patronymic: n } = he(o);
|
|
608
608
|
(!i || !r) && e.addIssue({
|
|
609
609
|
code: c.ZodIssueCode.custom,
|
|
610
610
|
message: "Введите имя и фамилию"
|
|
611
|
-
}),
|
|
611
|
+
}), E.test(r) || e.addIssue({
|
|
612
612
|
code: c.ZodIssueCode.custom,
|
|
613
613
|
message: "Неверно введено имя"
|
|
614
|
-
}),
|
|
614
|
+
}), E.test(i) || e.addIssue({
|
|
615
615
|
code: c.ZodIssueCode.custom,
|
|
616
616
|
message: "Неверно введена фамилия"
|
|
617
|
-
}), n && (
|
|
617
|
+
}), n && (be.test(n) || e.addIssue({
|
|
618
618
|
code: c.ZodIssueCode.custom,
|
|
619
619
|
message: "Неверно введено отчество"
|
|
620
620
|
}));
|
|
621
|
-
}).transform((o) => {
|
|
622
|
-
const { surname: e, name: i, patronymic: r } = B(o);
|
|
623
|
-
return {
|
|
624
|
-
surname: C(e),
|
|
625
|
-
name: C(i),
|
|
626
|
-
patronymic: r ? C(r) : void 0
|
|
627
|
-
};
|
|
628
621
|
}), Qe = c.string().length(10, { message: k.INVALID_DATE }).superRefine((o, e) => {
|
|
629
|
-
const [i, r, n] = (o == null ? void 0 : o.split(".")) ?? "", d =
|
|
622
|
+
const [i, r, n] = (o == null ? void 0 : o.split(".")) ?? "", d = F(`${i}/${r}/${n}`, "dd/MM/yyyy", /* @__PURE__ */ new Date());
|
|
630
623
|
+n <= 1950 && e.addIssue({
|
|
631
624
|
code: c.ZodIssueCode.custom,
|
|
632
625
|
message: k.INVALID_DATE
|
|
633
|
-
}),
|
|
626
|
+
}), Y(d) || e.addIssue({
|
|
634
627
|
code: c.ZodIssueCode.custom,
|
|
635
628
|
message: k.INVALID_DATE
|
|
636
629
|
}), (/* @__PURE__ */ new Date()).getTime() < new Date(d).getTime() && e.addIssue({
|
|
@@ -638,7 +631,7 @@ const Oe = (o, e) => JSON.stringify(o) === JSON.stringify(e), C = (o) => o.split
|
|
|
638
631
|
message: k.FUTURE_DATE_NOT_ALLOWED
|
|
639
632
|
});
|
|
640
633
|
});
|
|
641
|
-
var
|
|
634
|
+
var G = {}, W = {};
|
|
642
635
|
(function(o) {
|
|
643
636
|
Object.defineProperty(o, "__esModule", {
|
|
644
637
|
value: !0
|
|
@@ -665,7 +658,7 @@ var Z = {}, X = {};
|
|
|
665
658
|
return d.__isOptionsFunction = !0, d.__pluginFunction = r, d.__configFunction = n, d;
|
|
666
659
|
};
|
|
667
660
|
const i = e;
|
|
668
|
-
})(
|
|
661
|
+
})(W);
|
|
669
662
|
(function(o) {
|
|
670
663
|
Object.defineProperty(o, "__esModule", {
|
|
671
664
|
value: !0
|
|
@@ -675,23 +668,23 @@ var Z = {}, X = {};
|
|
|
675
668
|
return r;
|
|
676
669
|
}
|
|
677
670
|
});
|
|
678
|
-
const e = /* @__PURE__ */ i(
|
|
671
|
+
const e = /* @__PURE__ */ i(W);
|
|
679
672
|
function i(n) {
|
|
680
673
|
return n && n.__esModule ? n : {
|
|
681
674
|
default: n
|
|
682
675
|
};
|
|
683
676
|
}
|
|
684
677
|
const r = e.default;
|
|
685
|
-
})(
|
|
686
|
-
let
|
|
687
|
-
var
|
|
688
|
-
const D = /* @__PURE__ */
|
|
689
|
-
function
|
|
678
|
+
})(G);
|
|
679
|
+
let C = G;
|
|
680
|
+
var Z = (C.__esModule ? C : { default: C }).default;
|
|
681
|
+
const D = /* @__PURE__ */ A(Z), ge = Z;
|
|
682
|
+
function T(o) {
|
|
690
683
|
return Object.fromEntries(
|
|
691
684
|
Object.entries(o).filter(([e]) => e !== "DEFAULT")
|
|
692
685
|
);
|
|
693
686
|
}
|
|
694
|
-
var
|
|
687
|
+
var ye = ge(
|
|
695
688
|
({ addUtilities: o, matchUtilities: e, theme: i }) => {
|
|
696
689
|
o({
|
|
697
690
|
"@keyframes enter": i("keyframes.enter"),
|
|
@@ -762,13 +755,13 @@ var se = ye(
|
|
|
762
755
|
{ values: i("animationTranslate") }
|
|
763
756
|
), e(
|
|
764
757
|
{ duration: (r) => ({ animationDuration: r }) },
|
|
765
|
-
{ values:
|
|
758
|
+
{ values: T(i("animationDuration")) }
|
|
766
759
|
), e(
|
|
767
760
|
{ delay: (r) => ({ animationDelay: r }) },
|
|
768
761
|
{ values: i("animationDelay") }
|
|
769
762
|
), e(
|
|
770
763
|
{ ease: (r) => ({ animationTimingFunction: r }) },
|
|
771
|
-
{ values:
|
|
764
|
+
{ values: T(i("animationTimingFunction")) }
|
|
772
765
|
), o({
|
|
773
766
|
".running": { animationPlayState: "running" },
|
|
774
767
|
".paused": { animationPlayState: "paused" }
|
|
@@ -847,25 +840,25 @@ var se = ye(
|
|
|
847
840
|
}
|
|
848
841
|
}
|
|
849
842
|
);
|
|
850
|
-
const
|
|
843
|
+
const X = /* @__PURE__ */ A(ye), Ke = {
|
|
851
844
|
theme: {
|
|
852
845
|
backgroundColor: {
|
|
853
846
|
color: N,
|
|
854
|
-
banner:
|
|
847
|
+
banner: P,
|
|
855
848
|
icon: h
|
|
856
849
|
},
|
|
857
850
|
textColor: {
|
|
858
851
|
icon: h,
|
|
859
|
-
color:
|
|
852
|
+
color: V
|
|
860
853
|
},
|
|
861
854
|
fill: h,
|
|
862
855
|
stroke: h,
|
|
863
856
|
borderColor: I,
|
|
864
857
|
outlineColor: I,
|
|
865
|
-
borderRadius:
|
|
858
|
+
borderRadius: M,
|
|
866
859
|
fontFamily: { roboto: ["var(--ff-roboto)", "sans-serif"] },
|
|
867
|
-
fontSize:
|
|
868
|
-
lineHeight:
|
|
860
|
+
fontSize: $,
|
|
861
|
+
lineHeight: U,
|
|
869
862
|
gradientColorStops: N,
|
|
870
863
|
boxShadow: {
|
|
871
864
|
sm: "0 8px 20px 0 rgba(0, 0, 0, 0.08)",
|
|
@@ -873,7 +866,7 @@ const J = /* @__PURE__ */ L(se), Ke = {
|
|
|
873
866
|
lg: "0 16px 24px 0 rgba(0, 33, 87, 0.16)"
|
|
874
867
|
},
|
|
875
868
|
extend: {
|
|
876
|
-
bgGradientDeg:
|
|
869
|
+
bgGradientDeg: O,
|
|
877
870
|
width: {
|
|
878
871
|
"popper-content": "var(--radix-popover-content-available-width)",
|
|
879
872
|
"popper-trigger": "var(--radix-popover-trigger-width)",
|
|
@@ -917,9 +910,9 @@ const J = /* @__PURE__ */ L(se), Ke = {
|
|
|
917
910
|
}
|
|
918
911
|
},
|
|
919
912
|
plugins: [
|
|
920
|
-
|
|
913
|
+
X,
|
|
921
914
|
D(({ addComponents: o }) => {
|
|
922
|
-
o(
|
|
915
|
+
o(H);
|
|
923
916
|
}),
|
|
924
917
|
D(function({ matchUtilities: o, theme: e }) {
|
|
925
918
|
o(
|
|
@@ -982,36 +975,36 @@ const J = /* @__PURE__ */ L(se), Ke = {
|
|
|
982
975
|
},
|
|
983
976
|
backgroundColor: {
|
|
984
977
|
color: N,
|
|
985
|
-
banner:
|
|
978
|
+
banner: P,
|
|
986
979
|
icon: h
|
|
987
980
|
},
|
|
988
981
|
textColor: {
|
|
989
982
|
icon: h,
|
|
990
|
-
color:
|
|
983
|
+
color: V
|
|
991
984
|
},
|
|
992
985
|
fill: h,
|
|
993
986
|
stroke: h,
|
|
994
987
|
borderColor: I,
|
|
995
988
|
outlineColor: I,
|
|
996
|
-
borderRadius:
|
|
989
|
+
borderRadius: M,
|
|
997
990
|
fontFamily: { roboto: ["var(--ff-roboto)", "sans-serif"] },
|
|
998
|
-
fontSize:
|
|
999
|
-
lineHeight:
|
|
991
|
+
fontSize: $,
|
|
992
|
+
lineHeight: U,
|
|
1000
993
|
gradientColorStops: N,
|
|
1001
994
|
boxShadow: {
|
|
1002
995
|
sm: "0 8px 20px 0 rgba(0, 0, 0, 0.08)",
|
|
1003
996
|
md: "0 12px 20px 0 rgba(0, 33, 87, 0.10)",
|
|
1004
997
|
lg: "0 16px 24px 0 rgba(0, 33, 87, 0.16)"
|
|
1005
998
|
},
|
|
1006
|
-
zIndex:
|
|
999
|
+
zIndex: fe,
|
|
1007
1000
|
extend: {
|
|
1008
|
-
bgGradientDeg:
|
|
1001
|
+
bgGradientDeg: O
|
|
1009
1002
|
}
|
|
1010
1003
|
},
|
|
1011
1004
|
plugins: [
|
|
1012
|
-
|
|
1005
|
+
X,
|
|
1013
1006
|
D(({ addComponents: o }) => {
|
|
1014
|
-
o(
|
|
1007
|
+
o(H);
|
|
1015
1008
|
}),
|
|
1016
1009
|
D(function({ matchUtilities: o, theme: e }) {
|
|
1017
1010
|
o(
|
|
@@ -1026,7 +1019,7 @@ const J = /* @__PURE__ */ L(se), Ke = {
|
|
|
1026
1019
|
);
|
|
1027
1020
|
})
|
|
1028
1021
|
]
|
|
1029
|
-
},
|
|
1022
|
+
}, q = ({ buttonsConfig: o, classes: e, className: i }) => {
|
|
1030
1023
|
var n;
|
|
1031
1024
|
const r = (o == null ? void 0 : o.secondary) && o.secondary.children;
|
|
1032
1025
|
return /* @__PURE__ */ t.jsxs(
|
|
@@ -1054,7 +1047,7 @@ const J = /* @__PURE__ */ L(se), Ke = {
|
|
|
1054
1047
|
]
|
|
1055
1048
|
}
|
|
1056
1049
|
);
|
|
1057
|
-
},
|
|
1050
|
+
}, J = ({ advantagesList: o, classes: e }) => /* @__PURE__ */ t.jsx(
|
|
1058
1051
|
"div",
|
|
1059
1052
|
{
|
|
1060
1053
|
className: a(
|
|
@@ -1076,7 +1069,7 @@ const J = /* @__PURE__ */ L(se), Ke = {
|
|
|
1076
1069
|
i
|
|
1077
1070
|
))
|
|
1078
1071
|
}
|
|
1079
|
-
),
|
|
1072
|
+
), se = ({
|
|
1080
1073
|
headTitle: o,
|
|
1081
1074
|
subtitle: e,
|
|
1082
1075
|
buttonsConfig: i,
|
|
@@ -1085,7 +1078,7 @@ const J = /* @__PURE__ */ L(se), Ke = {
|
|
|
1085
1078
|
img: d,
|
|
1086
1079
|
imgSets: l
|
|
1087
1080
|
}) => {
|
|
1088
|
-
const { isDesktop: m, isMobile: u } =
|
|
1081
|
+
const { isDesktop: m, isMobile: u } = z(), b = /* @__PURE__ */ t.jsx(
|
|
1089
1082
|
"div",
|
|
1090
1083
|
{
|
|
1091
1084
|
"data-id": "banner-advantages",
|
|
@@ -1093,7 +1086,7 @@ const J = /* @__PURE__ */ L(se), Ke = {
|
|
|
1093
1086
|
"flex items-center justify-center pt-4 desktop:absolute desktop:bottom-[-50px] desktop:right-1/2 desktop:translate-x-1/2 desktop:pt-0",
|
|
1094
1087
|
n == null ? void 0 : n.advantageContainer
|
|
1095
1088
|
),
|
|
1096
|
-
children: r && (r == null ? void 0 : r.length) > 0 && /* @__PURE__ */ t.jsx(
|
|
1089
|
+
children: r && (r == null ? void 0 : r.length) > 0 && /* @__PURE__ */ t.jsx(J, { classes: n, advantagesList: r })
|
|
1097
1090
|
}
|
|
1098
1091
|
);
|
|
1099
1092
|
return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
@@ -1130,7 +1123,7 @@ const J = /* @__PURE__ */ L(se), Ke = {
|
|
|
1130
1123
|
/* @__PURE__ */ t.jsx("p", { "data-id": "banner-subtitle", className: a("desk-body-regular-l text-color-white", n == null ? void 0 : n.subtitle), children: e })
|
|
1131
1124
|
] }),
|
|
1132
1125
|
/* @__PURE__ */ t.jsx(
|
|
1133
|
-
|
|
1126
|
+
q,
|
|
1134
1127
|
{
|
|
1135
1128
|
className: "self-end desktop:self-center",
|
|
1136
1129
|
"data-id": "banner-buttons-group",
|
|
@@ -1146,7 +1139,7 @@ const J = /* @__PURE__ */ L(se), Ke = {
|
|
|
1146
1139
|
] }),
|
|
1147
1140
|
u && b
|
|
1148
1141
|
] });
|
|
1149
|
-
},
|
|
1142
|
+
}, B = ({
|
|
1150
1143
|
headTitle: o,
|
|
1151
1144
|
subtitle: e,
|
|
1152
1145
|
buttonsConfig: i,
|
|
@@ -1154,7 +1147,7 @@ const J = /* @__PURE__ */ L(se), Ke = {
|
|
|
1154
1147
|
classes: n,
|
|
1155
1148
|
img: d
|
|
1156
1149
|
}) => {
|
|
1157
|
-
const { isDesktop: l, isMobile: m } =
|
|
1150
|
+
const { isDesktop: l, isMobile: m } = z(), u = /* @__PURE__ */ t.jsx(
|
|
1158
1151
|
"div",
|
|
1159
1152
|
{
|
|
1160
1153
|
"data-id": "banner-advantages",
|
|
@@ -1162,7 +1155,7 @@ const J = /* @__PURE__ */ L(se), Ke = {
|
|
|
1162
1155
|
"flex items-center justify-center bg-color-transparent p-4 desktop:absolute desktop:bottom-[-50px] desktop:right-1/2 desktop:translate-x-1/2 desktop:p-0",
|
|
1163
1156
|
n == null ? void 0 : n.advantageContainer
|
|
1164
1157
|
),
|
|
1165
|
-
children: r && (r == null ? void 0 : r.length) > 0 && /* @__PURE__ */ t.jsx(
|
|
1158
|
+
children: r && (r == null ? void 0 : r.length) > 0 && /* @__PURE__ */ t.jsx(J, { classes: n, advantagesList: r })
|
|
1166
1159
|
}
|
|
1167
1160
|
);
|
|
1168
1161
|
return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
@@ -1173,7 +1166,7 @@ const J = /* @__PURE__ */ L(se), Ke = {
|
|
|
1173
1166
|
/* @__PURE__ */ t.jsx(y, { "data-id": "banner-title", as: "h1", className: a("text-color-dark", n == null ? void 0 : n.title), children: o }),
|
|
1174
1167
|
/* @__PURE__ */ t.jsx("p", { "data-id": "banner-subtitle", className: a("desk-body-regular-l text-color-dark", n == null ? void 0 : n.subtitle), children: e })
|
|
1175
1168
|
] }),
|
|
1176
|
-
/* @__PURE__ */ t.jsx(
|
|
1169
|
+
/* @__PURE__ */ t.jsx(q, { buttonsConfig: i, classes: n })
|
|
1177
1170
|
] }),
|
|
1178
1171
|
/* @__PURE__ */ t.jsx(
|
|
1179
1172
|
"div",
|
|
@@ -1199,30 +1192,30 @@ const J = /* @__PURE__ */ L(se), Ke = {
|
|
|
1199
1192
|
}, tt = ({ bannerVariant: o, ...e }) => {
|
|
1200
1193
|
switch (o) {
|
|
1201
1194
|
case "sepatateImg":
|
|
1202
|
-
return /* @__PURE__ */ t.jsx(
|
|
1195
|
+
return /* @__PURE__ */ t.jsx(B, { ...e });
|
|
1203
1196
|
case "fullImg":
|
|
1204
|
-
return /* @__PURE__ */ t.jsx(
|
|
1197
|
+
return /* @__PURE__ */ t.jsx(se, { ...e });
|
|
1205
1198
|
default:
|
|
1206
|
-
return /* @__PURE__ */ t.jsx(
|
|
1199
|
+
return /* @__PURE__ */ t.jsx(B, { ...e });
|
|
1207
1200
|
}
|
|
1208
|
-
},
|
|
1201
|
+
}, we = /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
1209
1202
|
"© 2004-2024, ПАО «Совкомбанк». Все права защищены. ",
|
|
1210
1203
|
/* @__PURE__ */ t.jsx("br", {}),
|
|
1211
1204
|
" Генеральная лицензия Банка России №963 от 5 декабря 2014 г."
|
|
1212
|
-
] }),
|
|
1205
|
+
] }), ve = `Кредит на бизнес цели, срок 3, 6, 9, 12, 18, 24, 36, 48, 60 мес. Ставка – от 22,9%*. *Точная процентная ставка
|
|
1213
1206
|
устанавливается по соглашению сторон и определяется исходя из платёжеспособности и кредитоспособности клиента, а также
|
|
1214
1207
|
иных индивидуальных особенностей клиента. Сумма 100 000 – 50 000 000 руб. Кредит выдается на карту “Халва”, открытый в
|
|
1215
1208
|
Банке. Банк вправе отказать в предоставлении кредита без объяснения причины, а также запросить дополнительную информацию о
|
|
1216
1209
|
клиенте. Предварительное одобрение не влечет обязательств Банка по выдаче кредита. В некоторых случаях срок рассмотрения
|
|
1217
1210
|
заявки может составлять до 3 рабочих дней. Полный электронный документооборот при наличии открытого р/с в ПАО «Совкомбанк»
|
|
1218
|
-
и действующей ЭЦП. Условия рекламы действительны на 20.02.2024г.`,
|
|
1211
|
+
и действующей ЭЦП. Условия рекламы действительны на 20.02.2024г.`, ke = [
|
|
1219
1212
|
{ phone: "8 800 100-00-06", text: "Звонок по России (бесплатно)" },
|
|
1220
1213
|
{ phone: "+7 (495) 988 00 00", text: "Для звонков из-за рубежа (платно)" }
|
|
1221
|
-
],
|
|
1214
|
+
], je = [
|
|
1222
1215
|
{ iconName: "social/vk", href: "/vk" },
|
|
1223
1216
|
{ iconName: "social/telegram", href: "/tg" },
|
|
1224
1217
|
{ iconName: "social/classmates", href: "/cl" }
|
|
1225
|
-
],
|
|
1218
|
+
], Ne = [
|
|
1226
1219
|
{
|
|
1227
1220
|
groupLabel: "Совкомбанк",
|
|
1228
1221
|
links: [
|
|
@@ -1299,7 +1292,7 @@ const J = /* @__PURE__ */ L(se), Ke = {
|
|
|
1299
1292
|
{ text: "Офисы и банкоматы", href: "/" }
|
|
1300
1293
|
]
|
|
1301
1294
|
}
|
|
1302
|
-
],
|
|
1295
|
+
], Ie = ({ socialsLinks: o, classes: e }) => /* @__PURE__ */ t.jsx("div", { className: a("mt-6 flex items-center gap-2", e == null ? void 0 : e.socialRoot), children: o == null ? void 0 : o.map(({ iconName: i, href: r }) => /* @__PURE__ */ t.jsx(
|
|
1303
1296
|
"a",
|
|
1304
1297
|
{
|
|
1305
1298
|
className: a("flex size-8 items-center justify-center rounded-full bg-[#52576a] p-2", e == null ? void 0 : e.socialLink),
|
|
@@ -1307,8 +1300,8 @@ const J = /* @__PURE__ */ L(se), Ke = {
|
|
|
1307
1300
|
children: /* @__PURE__ */ t.jsx(f, { name: i, className: a("h-full w-full text-icon-white", e == null ? void 0 : e.socialIcon) })
|
|
1308
1301
|
},
|
|
1309
1302
|
r
|
|
1310
|
-
)) }),
|
|
1311
|
-
|
|
1303
|
+
)) }), De = ({ phones: o, classes: e }) => /* @__PURE__ */ t.jsx("div", { className: a("flex flex-col items-end gap-4", e == null ? void 0 : e.phonesRoot), children: o == null ? void 0 : o.map(({ phone: i, text: r }) => /* @__PURE__ */ t.jsx(
|
|
1304
|
+
S,
|
|
1312
1305
|
{
|
|
1313
1306
|
phone: i,
|
|
1314
1307
|
text: r,
|
|
@@ -1319,7 +1312,7 @@ const J = /* @__PURE__ */ L(se), Ke = {
|
|
|
1319
1312
|
}
|
|
1320
1313
|
},
|
|
1321
1314
|
i
|
|
1322
|
-
)) }),
|
|
1315
|
+
)) }), Ce = ({ navigationLinks: o, classes: e }) => /* @__PURE__ */ t.jsx("div", { className: a("grid grid-cols-4 gap-10 border-y border-blue-grey-500 py-8 pt-8", e == null ? void 0 : e.navRoot), children: o == null ? void 0 : o.map(({ groupLabel: i, links: r }) => /* @__PURE__ */ t.jsxs("div", { className: a("flex flex-col gap-4", e == null ? void 0 : e.navGroup), children: [
|
|
1323
1316
|
/* @__PURE__ */ t.jsx("div", { className: a("desk-body-regular-m font-medium text-color-white", e == null ? void 0 : e.navLabel), children: i }),
|
|
1324
1317
|
/* @__PURE__ */ t.jsx("div", { className: a("flex flex-col gap-2", e == null ? void 0 : e.navWrapper), children: r == null ? void 0 : r.map(({ text: n, href: d }) => /* @__PURE__ */ t.jsx(
|
|
1325
1318
|
"a",
|
|
@@ -1333,7 +1326,7 @@ const J = /* @__PURE__ */ L(se), Ke = {
|
|
|
1333
1326
|
},
|
|
1334
1327
|
n
|
|
1335
1328
|
)) })
|
|
1336
|
-
] }, i)) }),
|
|
1329
|
+
] }, i)) }), _e = ({ ligal: o, classes: e }) => {
|
|
1337
1330
|
const [i, r] = v.useState(!1), [n, d] = v.useState(!1), l = v.useRef(null);
|
|
1338
1331
|
return v.useEffect(() => {
|
|
1339
1332
|
const m = l.current;
|
|
@@ -1354,31 +1347,31 @@ const J = /* @__PURE__ */ L(se), Ke = {
|
|
|
1354
1347
|
}
|
|
1355
1348
|
)
|
|
1356
1349
|
] });
|
|
1357
|
-
},
|
|
1350
|
+
}, Ee = ({ text: o, classes: e }) => /* @__PURE__ */ t.jsx("div", { className: a("desk-body-regular-m text-color-footer", e == null ? void 0 : e.text), children: o }), rt = ({
|
|
1358
1351
|
withSocial: o = !0,
|
|
1359
1352
|
withPhones: e = !0,
|
|
1360
1353
|
withNavLinks: i = !0,
|
|
1361
1354
|
withLigal: r = !0,
|
|
1362
1355
|
withCopyright: n = !0,
|
|
1363
1356
|
withSiteMap: d = !0,
|
|
1364
|
-
socialsLinks: l =
|
|
1365
|
-
phones: m =
|
|
1366
|
-
navigationLinks: u =
|
|
1367
|
-
ligal: b =
|
|
1368
|
-
copyright: s =
|
|
1357
|
+
socialsLinks: l = je,
|
|
1358
|
+
phones: m = ke,
|
|
1359
|
+
navigationLinks: u = Ne,
|
|
1360
|
+
ligal: b = ve,
|
|
1361
|
+
copyright: s = we,
|
|
1369
1362
|
classes: p
|
|
1370
|
-
}) => /* @__PURE__ */ t.jsx(
|
|
1363
|
+
}) => /* @__PURE__ */ t.jsx(R, { className: a("w-full", p == null ? void 0 : p.section), children: /* @__PURE__ */ t.jsx(g, { className: a(p == null ? void 0 : p.container), children: /* @__PURE__ */ t.jsxs("div", { className: a("bg-color-footer px-4 py-8 desktop:px-6 desktop:py-10", p == null ? void 0 : p.footerRoot), children: [
|
|
1371
1364
|
/* @__PURE__ */ t.jsxs("div", { className: a("mb-8 flex items-center justify-between gap-6", p == null ? void 0 : p.footerHead), children: [
|
|
1372
1365
|
/* @__PURE__ */ t.jsxs("div", { className: a(p == null ? void 0 : p.footerSocialBlock), children: [
|
|
1373
1366
|
/* @__PURE__ */ t.jsx("a", { href: "/", className: a(p == null ? void 0 : p.footerLogo), children: /* @__PURE__ */ t.jsx(f, { name: "brandLogos/logoWhite", className: "h-[32px] w-[194px]" }) }),
|
|
1374
|
-
o && /* @__PURE__ */ t.jsx(
|
|
1367
|
+
o && /* @__PURE__ */ t.jsx(Ie, { socialsLinks: l, classes: p })
|
|
1375
1368
|
] }),
|
|
1376
|
-
e && /* @__PURE__ */ t.jsx(
|
|
1369
|
+
e && /* @__PURE__ */ t.jsx(De, { phones: m, classes: p })
|
|
1377
1370
|
] }),
|
|
1378
|
-
i && /* @__PURE__ */ t.jsx(
|
|
1379
|
-
r && /* @__PURE__ */ t.jsx(
|
|
1371
|
+
i && /* @__PURE__ */ t.jsx(Ce, { navigationLinks: u, classes: p }),
|
|
1372
|
+
r && /* @__PURE__ */ t.jsx(_e, { ligal: b, classes: p }),
|
|
1380
1373
|
/* @__PURE__ */ t.jsxs("div", { className: "mt-6 flex items-start justify-between gap-6", children: [
|
|
1381
|
-
n && /* @__PURE__ */ t.jsx(
|
|
1374
|
+
n && /* @__PURE__ */ t.jsx(Ee, { text: s, classes: p }),
|
|
1382
1375
|
d && /* @__PURE__ */ t.jsx(
|
|
1383
1376
|
"a",
|
|
1384
1377
|
{
|
|
@@ -1390,7 +1383,7 @@ const J = /* @__PURE__ */ L(se), Ke = {
|
|
|
1390
1383
|
}
|
|
1391
1384
|
)
|
|
1392
1385
|
] })
|
|
1393
|
-
] }) }) }),
|
|
1386
|
+
] }) }) }), Te = (o) => {
|
|
1394
1387
|
var e, i, r, n;
|
|
1395
1388
|
switch (o.variant) {
|
|
1396
1389
|
case "withButton":
|
|
@@ -1398,7 +1391,7 @@ const J = /* @__PURE__ */ L(se), Ke = {
|
|
|
1398
1391
|
case "withPhone":
|
|
1399
1392
|
const { phone: d, phoneText: l } = o;
|
|
1400
1393
|
return /* @__PURE__ */ t.jsx(
|
|
1401
|
-
|
|
1394
|
+
S,
|
|
1402
1395
|
{
|
|
1403
1396
|
phone: d,
|
|
1404
1397
|
text: l,
|
|
@@ -1425,12 +1418,12 @@ const J = /* @__PURE__ */ L(se), Ke = {
|
|
|
1425
1418
|
"flex items-center justify-center [&_svg]:w-[114px] desktop:[&_svg]:h-[32px] desktop:[&_svg]:w-[192px]",
|
|
1426
1419
|
r == null ? void 0 : r.logo
|
|
1427
1420
|
),
|
|
1428
|
-
children:
|
|
1421
|
+
children: xe[i]
|
|
1429
1422
|
}
|
|
1430
1423
|
),
|
|
1431
|
-
|
|
1424
|
+
Te(o)
|
|
1432
1425
|
] }) }) });
|
|
1433
|
-
},
|
|
1426
|
+
}, Be = ({ title: o, description: e, index: i, classes: r }) => /* @__PURE__ */ t.jsxs(
|
|
1434
1427
|
"div",
|
|
1435
1428
|
{
|
|
1436
1429
|
className: a(
|
|
@@ -1454,7 +1447,7 @@ const J = /* @__PURE__ */ L(se), Ke = {
|
|
|
1454
1447
|
] })
|
|
1455
1448
|
]
|
|
1456
1449
|
}
|
|
1457
|
-
), nt = ({ heading: o, stepsList: e, classes: i }) => /* @__PURE__ */ t.jsx(
|
|
1450
|
+
), nt = ({ heading: o, stepsList: e, classes: i }) => /* @__PURE__ */ t.jsx(R, { children: /* @__PURE__ */ t.jsx(g, { children: /* @__PURE__ */ t.jsxs("div", { className: a("flex flex-col gap-12", i == null ? void 0 : i.root), children: [
|
|
1458
1451
|
/* @__PURE__ */ t.jsx(y, { as: "h2", className: a("text-color-dark", i == null ? void 0 : i.headline), children: o }),
|
|
1459
1452
|
/* @__PURE__ */ t.jsx(
|
|
1460
1453
|
"div",
|
|
@@ -1463,10 +1456,10 @@ const J = /* @__PURE__ */ L(se), Ke = {
|
|
|
1463
1456
|
"flex flex-col items-start gap-6 desktop:flex-row desktop:items-center desktop:gap-12",
|
|
1464
1457
|
i == null ? void 0 : i.stepsWrapper
|
|
1465
1458
|
),
|
|
1466
|
-
children: e == null ? void 0 : e.map((r, n) => /* @__PURE__ */ t.jsx(
|
|
1459
|
+
children: e == null ? void 0 : e.map((r, n) => /* @__PURE__ */ t.jsx(Be, { index: n + 1, ...r, classes: i }, r.title))
|
|
1467
1460
|
}
|
|
1468
1461
|
)
|
|
1469
|
-
] }) }) }),
|
|
1462
|
+
] }) }) }), Fe = x("", {
|
|
1470
1463
|
variants: {
|
|
1471
1464
|
intent: {
|
|
1472
1465
|
twoItems: "mob-headline-bold-s mb-6 desktop:desk-headline-bold-m desktop:mb-12",
|
|
@@ -1482,7 +1475,7 @@ const J = /* @__PURE__ */ L(se), Ke = {
|
|
|
1482
1475
|
defaultVariants: {
|
|
1483
1476
|
intent: "twoItems"
|
|
1484
1477
|
}
|
|
1485
|
-
}),
|
|
1478
|
+
}), Ae = x("desktop:max-h-[98px]", {
|
|
1486
1479
|
variants: {
|
|
1487
1480
|
intent: {
|
|
1488
1481
|
twoItems: "",
|
|
@@ -1514,7 +1507,7 @@ const J = /* @__PURE__ */ L(se), Ke = {
|
|
|
1514
1507
|
class: "desktop:grid grid-rows-2 desktop:gap-x-10 desktop:gap-y-4 grid-flow-col"
|
|
1515
1508
|
}
|
|
1516
1509
|
]
|
|
1517
|
-
}),
|
|
1510
|
+
}), ze = x("border-blue-grey-500 pb-6 mobile:mb-6 mobile:border-b mobile:last:pb-0 mobile:last:mb-0", {
|
|
1518
1511
|
variants: {
|
|
1519
1512
|
intent: {
|
|
1520
1513
|
twoItems: 'last:border-none relative desktop:first:after:top-1/2 desktop:first:after:-translate-y-1/2 desktop:first:after:right-0 desktop:first:after:content-[""] desktop:first:after:block desktop:first:after:absolute desktop:first:after:w-[1px] desktop:first:after:h-[64px] desktop:first:after:bg-color-blue-grey-500 desktop:ml-8 desktop:pr-8 desktop:first:ml-0 desktop:last:pr-0 desktop:pb-3',
|
|
@@ -1524,7 +1517,7 @@ const J = /* @__PURE__ */ L(se), Ke = {
|
|
|
1524
1517
|
defaultVariants: {
|
|
1525
1518
|
intent: "twoItems"
|
|
1526
1519
|
}
|
|
1527
|
-
}),
|
|
1520
|
+
}), Le = x("mobile:mx-auto mobile:mb-8, h-[172px] w-[280px] ", {
|
|
1528
1521
|
variants: {
|
|
1529
1522
|
intent: {
|
|
1530
1523
|
twoItems: "desktop:h-[232px] desktop:w-[500px]",
|
|
@@ -1550,16 +1543,16 @@ const J = /* @__PURE__ */ L(se), Ke = {
|
|
|
1550
1543
|
class: "desktop:h-[272px] desktop:w-[500px]"
|
|
1551
1544
|
}
|
|
1552
1545
|
]
|
|
1553
|
-
}),
|
|
1546
|
+
}), Re = ({ data: o, intent: e }) => {
|
|
1554
1547
|
const { title: i, description: r, popoverText: n } = o;
|
|
1555
|
-
return /* @__PURE__ */ t.jsx("li", { className: a(
|
|
1548
|
+
return /* @__PURE__ */ t.jsx("li", { className: a(ze({ intent: e })), children: /* @__PURE__ */ t.jsxs("div", { className: "desktop:max-w-[264px]", children: [
|
|
1556
1549
|
/* @__PURE__ */ t.jsxs("div", { className: a("mb-2 flex items-center gap-2"), children: [
|
|
1557
1550
|
/* @__PURE__ */ t.jsx("h4", { className: a("mob-title-bold-m text-color-dark"), children: i }),
|
|
1558
|
-
n && /* @__PURE__ */ t.jsx(
|
|
1551
|
+
n && /* @__PURE__ */ t.jsx(ee, { triggerElement: /* @__PURE__ */ t.jsx(f, { className: a("size-4 text-icon-blue-grey-600"), name: "info/helpCircle" }), children: n })
|
|
1559
1552
|
] }),
|
|
1560
1553
|
/* @__PURE__ */ t.jsx("p", { className: a("mob-body-regular-l text-color-secondary"), children: r })
|
|
1561
1554
|
] }) });
|
|
1562
|
-
},
|
|
1555
|
+
}, _ = ({ intent: o, title: e, desktopHidden: i = !1, mobileHidden: r = !1 }) => /* @__PURE__ */ t.jsx("h2", { className: a(Fe({ intent: o, desktopHidden: i, mobileHidden: r })), children: e }), Se = ({ textContent: o, intent: e, withButton: i }) => /* @__PURE__ */ t.jsx("ul", { className: a(Ae({ intent: e, withButton: i })), children: o == null ? void 0 : o.map((r, n) => /* @__PURE__ */ t.jsx(Re, { intent: e, data: r }, n)) }), it = ({
|
|
1563
1556
|
title: o,
|
|
1564
1557
|
buttonConfig: e,
|
|
1565
1558
|
intent: i = "twoItems",
|
|
@@ -1569,7 +1562,7 @@ const J = /* @__PURE__ */ L(se), Ke = {
|
|
|
1569
1562
|
}) => {
|
|
1570
1563
|
const l = !!e, m = i === "fourItems", u = i === "twoItems";
|
|
1571
1564
|
return /* @__PURE__ */ t.jsx("section", { className: a(d == null ? void 0 : d.section), children: /* @__PURE__ */ t.jsxs(g, { className: a(d == null ? void 0 : d.mainContainer), children: [
|
|
1572
|
-
u && /* @__PURE__ */ t.jsx(
|
|
1565
|
+
u && /* @__PURE__ */ t.jsx(_, { intent: i, title: o }),
|
|
1573
1566
|
/* @__PURE__ */ t.jsxs(
|
|
1574
1567
|
"div",
|
|
1575
1568
|
{
|
|
@@ -1578,15 +1571,15 @@ const J = /* @__PURE__ */ L(se), Ke = {
|
|
|
1578
1571
|
d == null ? void 0 : d.contentContainer
|
|
1579
1572
|
),
|
|
1580
1573
|
children: [
|
|
1581
|
-
m && /* @__PURE__ */ t.jsx(
|
|
1582
|
-
/* @__PURE__ */ t.jsx("div", { className: a(
|
|
1574
|
+
m && /* @__PURE__ */ t.jsx(_, { intent: i, title: o, desktopHidden: !0 }),
|
|
1575
|
+
/* @__PURE__ */ t.jsx("div", { className: a(Le({ intent: i, withButton: l }), d == null ? void 0 : d.imgContainer), children: n }),
|
|
1583
1576
|
/* @__PURE__ */ t.jsxs(
|
|
1584
1577
|
"div",
|
|
1585
1578
|
{
|
|
1586
1579
|
className: a("desktop:flex desktop:flex-col desktop:justify-center desktop:py-10", d == null ? void 0 : d.textWithBtnContainer),
|
|
1587
1580
|
children: [
|
|
1588
|
-
m && /* @__PURE__ */ t.jsx(
|
|
1589
|
-
/* @__PURE__ */ t.jsx(
|
|
1581
|
+
m && /* @__PURE__ */ t.jsx(_, { intent: i, title: o, mobileHidden: !0 }),
|
|
1582
|
+
/* @__PURE__ */ t.jsx(Se, { textContent: r, intent: i, withButton: l }),
|
|
1590
1583
|
l && /* @__PURE__ */ t.jsx(
|
|
1591
1584
|
j,
|
|
1592
1585
|
{
|
|
@@ -1606,10 +1599,10 @@ const J = /* @__PURE__ */ L(se), Ke = {
|
|
|
1606
1599
|
] }) });
|
|
1607
1600
|
};
|
|
1608
1601
|
export {
|
|
1609
|
-
|
|
1602
|
+
J as Advantages,
|
|
1610
1603
|
lt as Badge,
|
|
1611
1604
|
tt as Banner,
|
|
1612
|
-
|
|
1605
|
+
B as BannerWithSeparateImg,
|
|
1613
1606
|
He as Breadcrumbs,
|
|
1614
1607
|
j as Button,
|
|
1615
1608
|
Ge as ButtonIcon,
|
|
@@ -1620,35 +1613,35 @@ export {
|
|
|
1620
1613
|
rt as Footer,
|
|
1621
1614
|
y as Heading,
|
|
1622
1615
|
f as Icon,
|
|
1623
|
-
|
|
1616
|
+
K as Loader,
|
|
1624
1617
|
it as LongBanner,
|
|
1625
1618
|
ut as Notification,
|
|
1626
1619
|
ot as PageHeader,
|
|
1627
|
-
|
|
1620
|
+
S as PhoneView,
|
|
1628
1621
|
Xe as ProgressBar,
|
|
1629
1622
|
g as ResponsiveContainer,
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1623
|
+
E as RgxCheckForHyphen,
|
|
1624
|
+
be as RgxPatronymic,
|
|
1625
|
+
ce as RgxUnicode,
|
|
1626
|
+
R as Section,
|
|
1634
1627
|
qe as Skeleton,
|
|
1635
1628
|
nt as Stepper,
|
|
1636
1629
|
Ue as Table,
|
|
1637
1630
|
k as VALIDATION_MESSAGES,
|
|
1638
1631
|
N as allowedBackgroundColors,
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1632
|
+
O as allowedBackgroundDeg,
|
|
1633
|
+
P as allowedBannersBackgroundColors,
|
|
1634
|
+
M as allowedBorderRadius,
|
|
1635
|
+
$ as allowedFontSize,
|
|
1643
1636
|
h as allowedIconsColors,
|
|
1644
|
-
|
|
1637
|
+
U as allowedLineHeight,
|
|
1645
1638
|
I as allowedStrokeColors,
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1639
|
+
V as allowedTextColors,
|
|
1640
|
+
H as allowedTextStyles,
|
|
1641
|
+
fe as allowedZIndex,
|
|
1642
|
+
Oe as capitalize,
|
|
1650
1643
|
a as cn,
|
|
1651
|
-
|
|
1644
|
+
Me as deepCompare,
|
|
1652
1645
|
Ye as extendsPreset,
|
|
1653
1646
|
$e as formatToDate,
|
|
1654
1647
|
xt as isClient,
|