@scbt-ecom/ui 0.7.10 → 0.7.11
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/hybrid.js +80 -121
- package/dist/hybrid.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/hybrid.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { p as z, j as t, c as a, H as
|
|
1
|
+
import { p as z, j as t, c as a, H as g, a as u, I as x, L as Y, z as f, i as ee, g as L, P as te } from "./Notification-B1J5kH7h.js";
|
|
2
2
|
import { B as dt, D as lt, d as pt, N as mt, b as ut } from "./Notification-B1J5kH7h.js";
|
|
3
3
|
import * as v from "react";
|
|
4
4
|
import { forwardRef as R } from "react";
|
|
5
|
-
const Oe = (o, e) => JSON.stringify(o) === JSON.stringify(e),
|
|
5
|
+
const Oe = (o, e) => JSON.stringify(o) === JSON.stringify(e), D = (o) => o.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1).toLowerCase()).join("-"), Me = (o, e = "dd.MM.yyyy") => z(o, e, /* @__PURE__ */ new Date()), S = ({ children: o, className: e, ...i }) => /* @__PURE__ */ t.jsx("section", { className: a("pb-16 desktop:pb-20", e), ...i, children: o }), h = ({ children: o, className: e, ...i }) => /* @__PURE__ */ t.jsx("div", { className: a("m-auto w-full px-4 desktop:max-w-[1188px]", e), ...i, children: o }), re = u("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))]",
|
|
@@ -82,8 +82,8 @@ const Oe = (o, e) => JSON.stringify(o) === JSON.stringify(e), C = (o) => o.split
|
|
|
82
82
|
classes: d
|
|
83
83
|
}) => {
|
|
84
84
|
const l = i && i.length > 0 ? "exist" : "notExist";
|
|
85
|
-
return /* @__PURE__ */ t.jsx(
|
|
86
|
-
/* @__PURE__ */ t.jsx(
|
|
85
|
+
return /* @__PURE__ */ t.jsx(h, { children: /* @__PURE__ */ t.jsxs("div", { className: a("flex flex-col", d == null ? void 0 : d.tableRootWrapper), children: [
|
|
86
|
+
/* @__PURE__ */ t.jsx(g, { as: "h3", className: a("mob-title-bold-m pb-6 desktop:desk-title-bold-s", d == null ? void 0 : d.tableHeading), children: o }),
|
|
87
87
|
/* @__PURE__ */ t.jsxs("div", { className: a(ne({ columnCount: n }), d == null ? void 0 : d.tableBody), children: [
|
|
88
88
|
/* @__PURE__ */ t.jsx("ul", { className: a(re({ columnCount: n }), d == null ? void 0 : d.tableTitlesContainer), children: i == null ? void 0 : i.map((m) => /* @__PURE__ */ t.jsx(
|
|
89
89
|
"li",
|
|
@@ -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,
|
|
99
|
+
/* @__PURE__ */ t.jsx("ul", { className: a("mb-4 flex flex-col", d == null ? void 0 : d.tableBodyContainer), children: e.map((m, c) => /* @__PURE__ */ t.jsx("li", { className: a(oe({ columnCount: n, titlesExist: l }), d == null ? void 0 : d.tableBodyRow), children: m.map((y, s) => /* @__PURE__ */ t.jsx("p", { className: a(ie({ titlesExist: l, columnCount: n }), d == null ? void 0 : d.tableBodyCeil), children: y.text }, s)) }, c)) })
|
|
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
|
] }) });
|
|
@@ -209,7 +209,7 @@ const Oe = (o, e) => JSON.stringify(o) === JSON.stringify(e), C = (o) => o.split
|
|
|
209
209
|
iconLeft: d,
|
|
210
210
|
iconRight: l,
|
|
211
211
|
disabled: m = !1,
|
|
212
|
-
isLoading:
|
|
212
|
+
isLoading: c = !1,
|
|
213
213
|
isFull: y = !1,
|
|
214
214
|
textFormat: s,
|
|
215
215
|
...p
|
|
@@ -218,10 +218,10 @@ const Oe = (o, e) => JSON.stringify(o) === JSON.stringify(e), C = (o) => o.split
|
|
|
218
218
|
{
|
|
219
219
|
ref: K,
|
|
220
220
|
type: n,
|
|
221
|
-
disabled: m ||
|
|
222
|
-
className: a(de({ intent: o, size: e, textFormat: s, isLoading:
|
|
221
|
+
disabled: m || c,
|
|
222
|
+
className: a(de({ intent: o, size: e, textFormat: s, isLoading: c, isFull: y }), i),
|
|
223
223
|
...p,
|
|
224
|
-
children:
|
|
224
|
+
children: c ? /* @__PURE__ */ t.jsx(Y, { size: "sm", intent: ae(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 })
|
|
@@ -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
|
-
}, be = /^[\u0400-\u04FF\u00CB\u00EB -]+$/, T = /^(?:[^-]+(?:-[^-]+){0,4}|[^-]+)$/,
|
|
584
|
+
}, be = /^[\u0400-\u04FF\u00CB\u00EB -]+$/, T = /^(?:[^-]+(?:-[^-]+){0,4}|[^-]+)$/, he = /^[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: "Максимальная длина символов должна быть не более",
|
|
@@ -599,42 +599,42 @@ const Oe = (o, e) => JSON.stringify(o) === JSON.stringify(e), C = (o) => o.split
|
|
|
599
599
|
name: r,
|
|
600
600
|
patronymic: d
|
|
601
601
|
};
|
|
602
|
-
}, qe =
|
|
602
|
+
}, qe = f.string({ invalid_type_error: "Обязательно к заполнению", required_error: "Обязательно к заполнению" }).superRefine((o, e) => {
|
|
603
603
|
be.test(o) || e.addIssue({
|
|
604
|
-
code:
|
|
604
|
+
code: f.ZodIssueCode.custom,
|
|
605
605
|
message: "Должна быть только кириллица"
|
|
606
606
|
});
|
|
607
607
|
const { surname: i, name: r, patronymic: n } = B(o);
|
|
608
608
|
(!i || !r) && e.addIssue({
|
|
609
|
-
code:
|
|
609
|
+
code: f.ZodIssueCode.custom,
|
|
610
610
|
message: "Введите имя и фамилию"
|
|
611
611
|
}), T.test(r) || e.addIssue({
|
|
612
|
-
code:
|
|
612
|
+
code: f.ZodIssueCode.custom,
|
|
613
613
|
message: "Неверно введено имя"
|
|
614
614
|
}), T.test(i) || e.addIssue({
|
|
615
|
-
code:
|
|
615
|
+
code: f.ZodIssueCode.custom,
|
|
616
616
|
message: "Неверно введена фамилия"
|
|
617
|
-
}), n && (
|
|
618
|
-
code:
|
|
617
|
+
}), n && (he.test(n) || e.addIssue({
|
|
618
|
+
code: f.ZodIssueCode.custom,
|
|
619
619
|
message: "Неверно введено отчество"
|
|
620
620
|
}));
|
|
621
621
|
}).transform((o) => {
|
|
622
622
|
const { surname: e, name: i, patronymic: r } = B(o);
|
|
623
623
|
return {
|
|
624
|
-
surname:
|
|
625
|
-
name:
|
|
626
|
-
patronymic: r ?
|
|
624
|
+
surname: D(e),
|
|
625
|
+
name: D(i),
|
|
626
|
+
patronymic: r ? D(r) : void 0
|
|
627
627
|
};
|
|
628
|
-
}), Je =
|
|
628
|
+
}), Je = f.string().length(10, { message: k.INVALID_DATE }).superRefine((o, e) => {
|
|
629
629
|
const [i, r, n] = (o == null ? void 0 : o.split(".")) ?? "", d = z(`${i}/${r}/${n}`, "dd/MM/yyyy", /* @__PURE__ */ new Date());
|
|
630
630
|
+n <= 1950 && e.addIssue({
|
|
631
|
-
code:
|
|
631
|
+
code: f.ZodIssueCode.custom,
|
|
632
632
|
message: k.INVALID_DATE
|
|
633
633
|
}), ee(d) || e.addIssue({
|
|
634
|
-
code:
|
|
634
|
+
code: f.ZodIssueCode.custom,
|
|
635
635
|
message: k.INVALID_DATE
|
|
636
636
|
}), (/* @__PURE__ */ new Date()).getTime() < new Date(d).getTime() && e.addIssue({
|
|
637
|
-
code:
|
|
637
|
+
code: f.ZodIssueCode.custom,
|
|
638
638
|
message: k.FUTURE_DATE_NOT_ALLOWED
|
|
639
639
|
});
|
|
640
640
|
});
|
|
@@ -685,13 +685,13 @@ var Z = {}, W = {};
|
|
|
685
685
|
})(Z);
|
|
686
686
|
let _ = Z;
|
|
687
687
|
var X = (_.__esModule ? _ : { default: _ }).default;
|
|
688
|
-
const
|
|
688
|
+
const C = /* @__PURE__ */ L(X), ge = X;
|
|
689
689
|
function F(o) {
|
|
690
690
|
return Object.fromEntries(
|
|
691
691
|
Object.entries(o).filter(([e]) => e !== "DEFAULT")
|
|
692
692
|
);
|
|
693
693
|
}
|
|
694
|
-
var ye =
|
|
694
|
+
var ye = ge(
|
|
695
695
|
({ addUtilities: o, matchUtilities: e, theme: i }) => {
|
|
696
696
|
o({
|
|
697
697
|
"@keyframes enter": i("keyframes.enter"),
|
|
@@ -922,10 +922,10 @@ const q = /* @__PURE__ */ L(ye), Qe = {
|
|
|
922
922
|
},
|
|
923
923
|
plugins: [
|
|
924
924
|
q,
|
|
925
|
-
|
|
925
|
+
C(({ addComponents: o }) => {
|
|
926
926
|
o(G);
|
|
927
927
|
}),
|
|
928
|
-
|
|
928
|
+
C(function({ matchUtilities: o, theme: e }) {
|
|
929
929
|
o(
|
|
930
930
|
{
|
|
931
931
|
"bg-deg-gradient": (i) => ({
|
|
@@ -1014,10 +1014,10 @@ const q = /* @__PURE__ */ L(ye), Qe = {
|
|
|
1014
1014
|
},
|
|
1015
1015
|
plugins: [
|
|
1016
1016
|
q,
|
|
1017
|
-
|
|
1017
|
+
C(({ addComponents: o }) => {
|
|
1018
1018
|
o(G);
|
|
1019
1019
|
}),
|
|
1020
|
-
|
|
1020
|
+
C(function({ matchUtilities: o, theme: e }) {
|
|
1021
1021
|
o(
|
|
1022
1022
|
{
|
|
1023
1023
|
"bg-deg-gradient": (i) => ({
|
|
@@ -1038,7 +1038,7 @@ const q = /* @__PURE__ */ L(ye), Qe = {
|
|
|
1038
1038
|
{
|
|
1039
1039
|
"data-id": "banner-buttons-group",
|
|
1040
1040
|
className: a(
|
|
1041
|
-
"grid-buttons-apply absolute bottom-6 flex w-full max-w-[328px] flex-col justify-self-center desktop:static desktop:max-w-full desktop:flex-row desktop:justify-normal",
|
|
1041
|
+
"grid-buttons-apply absolute bottom-6 left-1/2 flex w-full max-w-[328px] -translate-x-1/2 flex-col justify-self-center desktop:static desktop:left-auto desktop:max-w-full desktop:translate-x-0 desktop:flex-row desktop:justify-normal",
|
|
1042
1042
|
{ "flex items-center gap-4": r },
|
|
1043
1043
|
e == null ? void 0 : e.group,
|
|
1044
1044
|
i
|
|
@@ -1073,7 +1073,7 @@ const q = /* @__PURE__ */ L(ye), Qe = {
|
|
|
1073
1073
|
e == null ? void 0 : e.advantage
|
|
1074
1074
|
),
|
|
1075
1075
|
children: [
|
|
1076
|
-
/* @__PURE__ */ t.jsx(
|
|
1076
|
+
/* @__PURE__ */ t.jsx(g, { as: "h4", className: a("text-color-dark", e == null ? void 0 : e.title), children: i }),
|
|
1077
1077
|
/* @__PURE__ */ t.jsx("p", { className: a("desk-body-regular-l text-color-tetriary", e == null ? void 0 : e.description), children: r })
|
|
1078
1078
|
]
|
|
1079
1079
|
},
|
|
@@ -1109,30 +1109,17 @@ const q = /* @__PURE__ */ L(ye), Qe = {
|
|
|
1109
1109
|
] })
|
|
1110
1110
|
}
|
|
1111
1111
|
),
|
|
1112
|
-
/* @__PURE__ */ t.jsxs(
|
|
1113
|
-
/* @__PURE__ */ t.jsxs(
|
|
1112
|
+
/* @__PURE__ */ t.jsxs(h, { "data-id": "banner-container", className: a("h-full", n == null ? void 0 : n.container), children: [
|
|
1113
|
+
/* @__PURE__ */ t.jsx("div", { "data-id": "banner", className: a("flex h-full", n == null ? void 0 : n.wrapper), children: /* @__PURE__ */ t.jsxs(
|
|
1114
1114
|
"div",
|
|
1115
1115
|
{
|
|
1116
|
-
"data-id": "banner-
|
|
1117
|
-
className: a(
|
|
1118
|
-
"grid-mob-full-img-apply desktop:grid-desk-full-img-apply grid h-full grid-rows-[repeat(2,_min-content)]",
|
|
1119
|
-
n == null ? void 0 : n.wrapper
|
|
1120
|
-
),
|
|
1116
|
+
"data-id": "banner-text-block",
|
|
1117
|
+
className: a("flex w-[328px] flex-col gap-10 pt-6 desktop:w-full desktop:pt-20", n == null ? void 0 : n.textBlock),
|
|
1121
1118
|
children: [
|
|
1122
|
-
/* @__PURE__ */ t.jsxs(
|
|
1123
|
-
"
|
|
1124
|
-
{
|
|
1125
|
-
|
|
1126
|
-
className: a(
|
|
1127
|
-
"grid-text-apply flex w-[328px] flex-col gap-4 pt-6 desktop:w-full desktop:pb-10 desktop:pt-20",
|
|
1128
|
-
n == null ? void 0 : n.textBlock
|
|
1129
|
-
),
|
|
1130
|
-
children: [
|
|
1131
|
-
/* @__PURE__ */ t.jsx(h, { "data-id": "banner-title", as: "h1", className: a("text-color-white", n == null ? void 0 : n.title), children: o }),
|
|
1132
|
-
/* @__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 })
|
|
1133
|
-
]
|
|
1134
|
-
}
|
|
1135
|
-
),
|
|
1119
|
+
/* @__PURE__ */ t.jsxs("div", { className: "flex flex-col gap-4", children: [
|
|
1120
|
+
/* @__PURE__ */ t.jsx(g, { "data-id": "banner-title", as: "h1", className: a("text-color-white", n == null ? void 0 : n.title), children: o }),
|
|
1121
|
+
/* @__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 })
|
|
1122
|
+
] }),
|
|
1136
1123
|
/* @__PURE__ */ t.jsx(
|
|
1137
1124
|
J,
|
|
1138
1125
|
{
|
|
@@ -1144,7 +1131,7 @@ const q = /* @__PURE__ */ L(ye), Qe = {
|
|
|
1144
1131
|
)
|
|
1145
1132
|
]
|
|
1146
1133
|
}
|
|
1147
|
-
),
|
|
1134
|
+
) }),
|
|
1148
1135
|
/* @__PURE__ */ t.jsx(
|
|
1149
1136
|
"div",
|
|
1150
1137
|
{
|
|
@@ -1161,61 +1148,33 @@ const q = /* @__PURE__ */ L(ye), Qe = {
|
|
|
1161
1148
|
advantagesList: r,
|
|
1162
1149
|
classes: n,
|
|
1163
1150
|
img: d
|
|
1164
|
-
}) => {
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
/* @__PURE__ */ t.jsxs(
|
|
1174
|
-
"div",
|
|
1175
|
-
{
|
|
1176
|
-
"data-id": "banner-text-block",
|
|
1177
|
-
className: a("grid-text-apply mb-2 flex flex-col gap-4 pt-6 desktop:pb-10 desktop:pt-20", n == null ? void 0 : n.textBlock),
|
|
1178
|
-
children: [
|
|
1179
|
-
/* @__PURE__ */ t.jsx(h, { "data-id": "banner-title", as: "h1", className: a("text-color-dark", n == null ? void 0 : n.title), children: o }),
|
|
1180
|
-
/* @__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 })
|
|
1181
|
-
]
|
|
1182
|
-
}
|
|
1183
|
-
),
|
|
1184
|
-
/* @__PURE__ */ t.jsx(J, { buttonsConfig: i, classes: n }),
|
|
1185
|
-
/* @__PURE__ */ t.jsx(
|
|
1186
|
-
"div",
|
|
1187
|
-
{
|
|
1188
|
-
"data-id": "banner-image-wrapper",
|
|
1189
|
-
className: a(
|
|
1190
|
-
"grid-image-apply w-full desktop:h-full desktop:w-[550px]",
|
|
1191
|
-
{ "h-[450px]": l === 2 },
|
|
1192
|
-
{ "h-[410px]": l === 1 },
|
|
1193
|
-
n == null ? void 0 : n.imageContainer
|
|
1194
|
-
),
|
|
1195
|
-
children: /* @__PURE__ */ t.jsx(
|
|
1196
|
-
"img",
|
|
1197
|
-
{
|
|
1198
|
-
"data-id": "banner-image",
|
|
1199
|
-
src: d,
|
|
1200
|
-
alt: "Картинка баннера",
|
|
1201
|
-
className: a("h-full w-full object-contain", n == null ? void 0 : n.image)
|
|
1202
|
-
}
|
|
1203
|
-
)
|
|
1204
|
-
}
|
|
1205
|
-
)
|
|
1206
|
-
]
|
|
1207
|
-
}
|
|
1208
|
-
),
|
|
1151
|
+
}) => /* @__PURE__ */ t.jsx("section", { "data-id": "banner-section", className: a("relative bg-banner-skyblue-300 desktop:h-[456px]", n == null ? void 0 : n.section), children: /* @__PURE__ */ t.jsxs(h, { "data-id": "banner-container", className: a(n == null ? void 0 : n.container), children: [
|
|
1152
|
+
/* @__PURE__ */ t.jsxs("div", { "data-id": "banner", className: a("flex flex-col desktop:flex-row desktop:justify-between", n == null ? void 0 : n.wrapper), children: [
|
|
1153
|
+
/* @__PURE__ */ t.jsxs("div", { className: "flex flex-col desktop:gap-10 desktop:pt-20", children: [
|
|
1154
|
+
/* @__PURE__ */ t.jsxs("div", { "data-id": "banner-text-block", className: a("mb-2 flex flex-col gap-4 pt-6 desktop:pt-0", n == null ? void 0 : n.textBlock), children: [
|
|
1155
|
+
/* @__PURE__ */ t.jsx(g, { "data-id": "banner-title", as: "h1", className: a("text-color-dark", n == null ? void 0 : n.title), children: o }),
|
|
1156
|
+
/* @__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 })
|
|
1157
|
+
] }),
|
|
1158
|
+
/* @__PURE__ */ t.jsx(J, { buttonsConfig: i, classes: n })
|
|
1159
|
+
] }),
|
|
1209
1160
|
/* @__PURE__ */ t.jsx(
|
|
1210
1161
|
"div",
|
|
1211
1162
|
{
|
|
1212
|
-
"data-id": "banner-
|
|
1213
|
-
className: a("
|
|
1214
|
-
children:
|
|
1163
|
+
"data-id": "banner-image-wrapper",
|
|
1164
|
+
className: a("flex h-[356px] justify-center desktop:h-[456px] desktop:w-[550px]", n == null ? void 0 : n.imageContainer),
|
|
1165
|
+
children: /* @__PURE__ */ t.jsx("img", { "data-id": "banner-image", src: d, alt: "Картинка баннера", className: a("h-full object-cover", n == null ? void 0 : n.image) })
|
|
1215
1166
|
}
|
|
1216
1167
|
)
|
|
1217
|
-
] })
|
|
1218
|
-
|
|
1168
|
+
] }),
|
|
1169
|
+
/* @__PURE__ */ t.jsx(
|
|
1170
|
+
"div",
|
|
1171
|
+
{
|
|
1172
|
+
"data-id": "banner-advantages",
|
|
1173
|
+
className: a("absolute bottom-[-400px] right-1/2 translate-x-1/2 desktop:bottom-[-50px]", n == null ? void 0 : n.advantages),
|
|
1174
|
+
children: r && (r == null ? void 0 : r.length) > 0 && /* @__PURE__ */ t.jsx(Q, { classes: n, advantagesList: r })
|
|
1175
|
+
}
|
|
1176
|
+
)
|
|
1177
|
+
] }) }), et = ({ bannerVariant: o, ...e }) => {
|
|
1219
1178
|
switch (o) {
|
|
1220
1179
|
case "sepatateImg":
|
|
1221
1180
|
return /* @__PURE__ */ t.jsx(A, { ...e });
|
|
@@ -1326,7 +1285,7 @@ const q = /* @__PURE__ */ L(ye), Qe = {
|
|
|
1326
1285
|
children: /* @__PURE__ */ t.jsx(x, { name: i, className: a("h-full w-full text-icon-white", e == null ? void 0 : e.socialIcon) })
|
|
1327
1286
|
},
|
|
1328
1287
|
r
|
|
1329
|
-
)) }),
|
|
1288
|
+
)) }), Ce = ({ 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(
|
|
1330
1289
|
V,
|
|
1331
1290
|
{
|
|
1332
1291
|
phone: i,
|
|
@@ -1338,7 +1297,7 @@ const q = /* @__PURE__ */ L(ye), Qe = {
|
|
|
1338
1297
|
}
|
|
1339
1298
|
},
|
|
1340
1299
|
i
|
|
1341
|
-
)) }),
|
|
1300
|
+
)) }), De = ({ 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: [
|
|
1342
1301
|
/* @__PURE__ */ t.jsx("div", { className: a("desk-body-regular-m font-medium text-color-white", e == null ? void 0 : e.navLabel), children: i }),
|
|
1343
1302
|
/* @__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(
|
|
1344
1303
|
"a",
|
|
@@ -1382,19 +1341,19 @@ const q = /* @__PURE__ */ L(ye), Qe = {
|
|
|
1382
1341
|
withSiteMap: d = !0,
|
|
1383
1342
|
socialsLinks: l = je,
|
|
1384
1343
|
phones: m = ke,
|
|
1385
|
-
navigationLinks:
|
|
1344
|
+
navigationLinks: c = Ne,
|
|
1386
1345
|
ligal: y = ve,
|
|
1387
1346
|
copyright: s = we,
|
|
1388
1347
|
classes: p
|
|
1389
|
-
}) => /* @__PURE__ */ t.jsx(S, { className: a("w-full", p == null ? void 0 : p.section), children: /* @__PURE__ */ t.jsx(
|
|
1348
|
+
}) => /* @__PURE__ */ t.jsx(S, { className: a("w-full", p == null ? void 0 : p.section), children: /* @__PURE__ */ t.jsx(h, { 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: [
|
|
1390
1349
|
/* @__PURE__ */ t.jsxs("div", { className: a("mb-8 flex items-center justify-between gap-6", p == null ? void 0 : p.footerHead), children: [
|
|
1391
1350
|
/* @__PURE__ */ t.jsxs("div", { className: a(p == null ? void 0 : p.footerSocialBlock), children: [
|
|
1392
1351
|
/* @__PURE__ */ t.jsx("a", { href: "/", className: a(p == null ? void 0 : p.footerLogo), children: /* @__PURE__ */ t.jsx(x, { name: "brandLogos/logoWhite", className: "h-[32px] w-[194px]" }) }),
|
|
1393
1352
|
o && /* @__PURE__ */ t.jsx(Ie, { socialsLinks: l, classes: p })
|
|
1394
1353
|
] }),
|
|
1395
|
-
e && /* @__PURE__ */ t.jsx(
|
|
1354
|
+
e && /* @__PURE__ */ t.jsx(Ce, { phones: m, classes: p })
|
|
1396
1355
|
] }),
|
|
1397
|
-
i && /* @__PURE__ */ t.jsx(
|
|
1356
|
+
i && /* @__PURE__ */ t.jsx(De, { navigationLinks: c, classes: p }),
|
|
1398
1357
|
r && /* @__PURE__ */ t.jsx(_e, { ligal: y, classes: p }),
|
|
1399
1358
|
/* @__PURE__ */ t.jsxs("div", { className: "mt-6 flex items-start justify-between gap-6", children: [
|
|
1400
1359
|
n && /* @__PURE__ */ t.jsx(Ee, { text: s, classes: p }),
|
|
@@ -1433,7 +1392,7 @@ const q = /* @__PURE__ */ L(ye), Qe = {
|
|
|
1433
1392
|
}
|
|
1434
1393
|
}, rt = (o) => {
|
|
1435
1394
|
const { logoPath: e = "/", logoType: i = "main", classes: r } = o;
|
|
1436
|
-
return /* @__PURE__ */ t.jsx("header", { className: a("flex h-[72px] items-center justify-center bg-color-white", r == null ? void 0 : r.header), children: /* @__PURE__ */ t.jsx(
|
|
1395
|
+
return /* @__PURE__ */ t.jsx("header", { className: a("flex h-[72px] items-center justify-center bg-color-white", r == null ? void 0 : r.header), children: /* @__PURE__ */ t.jsx(h, { className: a(r == null ? void 0 : r.container), children: /* @__PURE__ */ t.jsxs("div", { className: a("flex items-center justify-between gap-5", r == null ? void 0 : r.wrapper), children: [
|
|
1437
1396
|
/* @__PURE__ */ t.jsx(
|
|
1438
1397
|
"a",
|
|
1439
1398
|
{
|
|
@@ -1468,13 +1427,13 @@ const q = /* @__PURE__ */ L(ye), Qe = {
|
|
|
1468
1427
|
}
|
|
1469
1428
|
),
|
|
1470
1429
|
/* @__PURE__ */ t.jsxs("div", { className: a("flex flex-col gap-4", r == null ? void 0 : r.textBlock), children: [
|
|
1471
|
-
/* @__PURE__ */ t.jsx(
|
|
1430
|
+
/* @__PURE__ */ t.jsx(g, { as: "h4", className: a("text-color-dark", r == null ? void 0 : r.title), children: o }),
|
|
1472
1431
|
/* @__PURE__ */ t.jsx("p", { className: a("desk-body-regular-l text-color-tetriary", r == null ? void 0 : r.description), children: e })
|
|
1473
1432
|
] })
|
|
1474
1433
|
]
|
|
1475
1434
|
}
|
|
1476
|
-
), ot = ({ heading: o, stepsList: e, classes: i }) => /* @__PURE__ */ t.jsx(S, { children: /* @__PURE__ */ t.jsx(
|
|
1477
|
-
/* @__PURE__ */ t.jsx(
|
|
1435
|
+
), ot = ({ heading: o, stepsList: e, classes: i }) => /* @__PURE__ */ t.jsx(S, { children: /* @__PURE__ */ t.jsx(h, { children: /* @__PURE__ */ t.jsxs("div", { className: a("flex flex-col gap-12", i == null ? void 0 : i.root), children: [
|
|
1436
|
+
/* @__PURE__ */ t.jsx(g, { as: "h2", className: a("text-color-dark", i == null ? void 0 : i.headline), children: o }),
|
|
1478
1437
|
/* @__PURE__ */ t.jsx(
|
|
1479
1438
|
"div",
|
|
1480
1439
|
{
|
|
@@ -1586,9 +1545,9 @@ const q = /* @__PURE__ */ L(ye), Qe = {
|
|
|
1586
1545
|
imageComponent: n,
|
|
1587
1546
|
classes: d
|
|
1588
1547
|
}) => {
|
|
1589
|
-
const l = !!e, m = i === "fourItems",
|
|
1590
|
-
return /* @__PURE__ */ t.jsx("section", { className: a(d == null ? void 0 : d.section), children: /* @__PURE__ */ t.jsxs(
|
|
1591
|
-
|
|
1548
|
+
const l = !!e, m = i === "fourItems", c = i === "twoItems";
|
|
1549
|
+
return /* @__PURE__ */ t.jsx("section", { className: a(d == null ? void 0 : d.section), children: /* @__PURE__ */ t.jsxs(h, { className: a(d == null ? void 0 : d.mainContainer), children: [
|
|
1550
|
+
c && /* @__PURE__ */ t.jsx(E, { intent: i, title: o }),
|
|
1592
1551
|
/* @__PURE__ */ t.jsxs(
|
|
1593
1552
|
"div",
|
|
1594
1553
|
{
|
|
@@ -1637,7 +1596,7 @@ export {
|
|
|
1637
1596
|
pt as DADATA_BASE_CONSTANTS_URL,
|
|
1638
1597
|
Ze as Document,
|
|
1639
1598
|
tt as Footer,
|
|
1640
|
-
|
|
1599
|
+
g as Heading,
|
|
1641
1600
|
x as Icon,
|
|
1642
1601
|
Y as Loader,
|
|
1643
1602
|
nt as LongBanner,
|
|
@@ -1645,9 +1604,9 @@ export {
|
|
|
1645
1604
|
rt as PageHeader,
|
|
1646
1605
|
V as PhoneView,
|
|
1647
1606
|
We as ProgressBar,
|
|
1648
|
-
|
|
1607
|
+
h as ResponsiveContainer,
|
|
1649
1608
|
T as RgxCheckForHyphen,
|
|
1650
|
-
|
|
1609
|
+
he as RgxPatronymic,
|
|
1651
1610
|
be as RgxUnicode,
|
|
1652
1611
|
S as Section,
|
|
1653
1612
|
Xe as Skeleton,
|
|
@@ -1665,7 +1624,7 @@ export {
|
|
|
1665
1624
|
P as allowedTextColors,
|
|
1666
1625
|
G as allowedTextStyles,
|
|
1667
1626
|
ce as allowedZIndex,
|
|
1668
|
-
|
|
1627
|
+
D as capitalize,
|
|
1669
1628
|
a as cn,
|
|
1670
1629
|
Oe as deepCompare,
|
|
1671
1630
|
Ke as extendsPreset,
|