@scbt-ecom/ui 0.42.2 → 0.42.4
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/{CustomLink-DRb2l2sC.js → CustomLink-BrBUFe53.js} +714 -718
- package/dist/CustomLink-BrBUFe53.js.map +1 -0
- package/dist/shared/ui/customLink/CustomLink.d.ts +2 -7
- package/dist/shared/ui/customLink/model/helpers.d.ts +10 -0
- package/dist/shared/ui/index.d.ts +0 -1
- package/dist/shared/ui/loader/Loader.d.ts +1 -7
- package/dist/shared/ui/loader/model/helpers.d.ts +7 -0
- package/dist/shared/ui/phoneView/helpers.d.ts +1 -0
- package/dist/shared/ui/skeleton/Skeleton.d.ts +2 -1
- package/dist/ui.js +142 -167
- package/dist/ui.js.map +1 -1
- package/dist/widget.js +388 -434
- package/dist/widget.js.map +1 -1
- package/dist/widgets/footer/Footer.d.ts +5 -6
- package/dist/widgets/footer/model/types.d.ts +15 -6
- package/dist/widgets/footer/ui/Copyright.d.ts +1 -2
- package/dist/{shared/ui/ligal → widgets/footer/ui}/Ligal.d.ts +1 -2
- package/dist/widgets/footer/ui/NavLinks.d.ts +3 -3
- package/dist/widgets/header/Header.d.ts +1 -1
- package/dist/widgets/header/model/types.d.ts +13 -16
- package/dist/widgets/longBanner/LongBanner.d.ts +7 -6
- package/dist/widgets/longBanner/model/types.d.ts +17 -9
- package/dist/widgets/longBanner/ui/TextList.d.ts +3 -3
- package/dist/widgets/longBanner/ui/Title.d.ts +2 -2
- package/package.json +1 -1
- package/dist/CustomLink-DRb2l2sC.js.map +0 -1
- package/dist/shared/ui/ligal/index.d.ts +0 -1
- package/dist/widgets/footer/model/defaultValues.d.ts +0 -5
package/dist/widget.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { j as t, B as
|
|
2
|
-
import { s as
|
|
3
|
-
import { c as
|
|
1
|
+
import { j as t, B as w, H as a, c as k, R as j, P as M, b as L, I as l, C as N, S as V, a as D, L as O, d as C, A as E } from "./CustomLink-BrBUFe53.js";
|
|
2
|
+
import { s as G } from "./scrollToElement-B-reg4jF.js";
|
|
3
|
+
import { c as d } from "./cn-DIfn7EPB.js";
|
|
4
4
|
import { u as b } from "./useDevice-L83kSsN7.js";
|
|
5
|
-
import * as
|
|
6
|
-
const
|
|
5
|
+
import * as g from "react";
|
|
6
|
+
const S = k(
|
|
7
7
|
"flex flex-col justify-between overflow-hidden rounded-md bg-color-blue-grey-100 py-6 desktop:flex-row desktop:px-0 desktop:py-0",
|
|
8
8
|
{
|
|
9
9
|
variants: {
|
|
@@ -14,45 +14,45 @@ const U = j(
|
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
|
-
),
|
|
18
|
-
description:
|
|
17
|
+
), U = ({
|
|
18
|
+
description: r,
|
|
19
19
|
title: e,
|
|
20
|
-
img:
|
|
21
|
-
mobileImg:
|
|
22
|
-
classes:
|
|
23
|
-
withButton:
|
|
24
|
-
buttonText:
|
|
20
|
+
img: i,
|
|
21
|
+
mobileImg: n,
|
|
22
|
+
classes: o,
|
|
23
|
+
withButton: p,
|
|
24
|
+
buttonText: x,
|
|
25
25
|
intent: h,
|
|
26
|
-
cardColor:
|
|
26
|
+
cardColor: u
|
|
27
27
|
}) => {
|
|
28
|
-
const { isDesktop:
|
|
29
|
-
|
|
28
|
+
const { isDesktop: f } = b(), m = /* @__PURE__ */ t.jsx(t.Fragment, { children: /* @__PURE__ */ t.jsx(
|
|
29
|
+
w,
|
|
30
30
|
{
|
|
31
31
|
intent: "primary",
|
|
32
|
-
className:
|
|
33
|
-
onClick: () =>
|
|
32
|
+
className: d("desktop:w-[200px]", o == null ? void 0 : o.button),
|
|
33
|
+
onClick: () => G("personal_form"),
|
|
34
34
|
size: "lg",
|
|
35
|
-
children:
|
|
35
|
+
children: x
|
|
36
36
|
}
|
|
37
37
|
) });
|
|
38
38
|
return /* @__PURE__ */ t.jsxs(
|
|
39
39
|
"li",
|
|
40
40
|
{
|
|
41
|
-
className:
|
|
41
|
+
className: d(S({ intent: h }), { "pb-0": n }, { "pb-12": !n }, u, o == null ? void 0 : o.root),
|
|
42
42
|
children: [
|
|
43
|
-
/* @__PURE__ */ t.jsxs("div", { className:
|
|
44
|
-
/* @__PURE__ */ t.jsxs("div", { className:
|
|
45
|
-
/* @__PURE__ */ t.jsx(a, { as: "h4", className:
|
|
46
|
-
/* @__PURE__ */ t.jsx("p", { className:
|
|
43
|
+
/* @__PURE__ */ t.jsxs("div", { className: d("flex flex-col items-start justify-between px-4 desktop:px-8 desktop:py-8", o == null ? void 0 : o.wrapper), children: [
|
|
44
|
+
/* @__PURE__ */ t.jsxs("div", { className: d("flex flex-col gap-4", o == null ? void 0 : o.textContainer), children: [
|
|
45
|
+
/* @__PURE__ */ t.jsx(a, { as: "h4", className: d("desktop:desk-title-bold-s", o == null ? void 0 : o.title), children: e }),
|
|
46
|
+
/* @__PURE__ */ t.jsx("p", { className: d("mob-body-regular-l text-icon-blue-grey-800 desktop:desk-body-regular-l", o == null ? void 0 : o.description), children: r })
|
|
47
47
|
] }),
|
|
48
|
-
|
|
48
|
+
p && f && m
|
|
49
49
|
] }),
|
|
50
|
-
(
|
|
50
|
+
(n || f) && i && /* @__PURE__ */ t.jsx("div", { className: d("flex w-full justify-end", o == null ? void 0 : o.imgContainer), children: /* @__PURE__ */ t.jsx("img", { className: d("h-[246px] object-cover", o == null ? void 0 : o.img), src: i, alt: e }) })
|
|
51
51
|
]
|
|
52
52
|
},
|
|
53
|
-
|
|
53
|
+
i
|
|
54
54
|
);
|
|
55
|
-
}, Z =
|
|
55
|
+
}, Z = k("grid gap-4", {
|
|
56
56
|
variants: {
|
|
57
57
|
intent: {
|
|
58
58
|
twoCards: "grid-cols-1 mobile:grid-rows-[repeat(2,400px)] desktop:grid-cols-2",
|
|
@@ -60,373 +60,293 @@ const U = j(
|
|
|
60
60
|
fourCards: "grid-cols-1 mobile:grid-rows-[400px,1fr,1fr,400px] desktop:grid-cols-3"
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
|
-
}),
|
|
64
|
-
/* @__PURE__ */ t.jsx(a, { className:
|
|
65
|
-
/* @__PURE__ */ t.jsx("ul", { className:
|
|
66
|
-
] }) }), $ = (
|
|
67
|
-
const { variant: e, details:
|
|
63
|
+
}), at = ({ heading: r, cards: e, classes: i, intent: n }) => /* @__PURE__ */ t.jsx("section", { className: d("pb-20", i == null ? void 0 : i.root), children: /* @__PURE__ */ t.jsxs(j, { className: i == null ? void 0 : i.container, children: [
|
|
64
|
+
/* @__PURE__ */ t.jsx(a, { className: d("mb-8", i == null ? void 0 : i.heading), as: "h2", children: r }),
|
|
65
|
+
/* @__PURE__ */ t.jsx("ul", { className: d(Z({ intent: n }), i == null ? void 0 : i.grid), children: e == null ? void 0 : e.map((o) => /* @__PURE__ */ t.jsx(U, { intent: n, classes: i == null ? void 0 : i.item, ...o }, o.img)) })
|
|
66
|
+
] }) }), $ = (r) => {
|
|
67
|
+
const { variant: e, details: i } = r;
|
|
68
68
|
switch (e) {
|
|
69
69
|
case "withButton":
|
|
70
|
-
return /* @__PURE__ */ t.jsx(
|
|
70
|
+
return /* @__PURE__ */ t.jsx(w, { intent: "secondary", size: "sm", ...i, children: (i == null ? void 0 : i.children) || "Оформить заявку" });
|
|
71
71
|
case "withPhone":
|
|
72
|
-
return /* @__PURE__ */ t.jsx(M, { ...
|
|
72
|
+
return /* @__PURE__ */ t.jsx(M, { ...i });
|
|
73
73
|
default:
|
|
74
74
|
return null;
|
|
75
75
|
}
|
|
76
|
-
},
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
}, E = ({ buttonsConfig: i, classes: e, className: o }) => {
|
|
96
|
-
var r;
|
|
97
|
-
const d = (i == null ? void 0 : i.secondary) && i.secondary.children;
|
|
76
|
+
}, jt = ({ logoPath: r = "/", logoType: e = "main", config: i, classes: n }) => /* @__PURE__ */ t.jsx("header", { className: d("flex h-[64px] items-center justify-center bg-color-white desktop:h-[72px]", n == null ? void 0 : n.header), children: /* @__PURE__ */ t.jsx(j, { className: d(n == null ? void 0 : n.container), children: /* @__PURE__ */ t.jsxs("div", { className: d("flex items-center justify-between gap-5", n == null ? void 0 : n.wrapper), children: [
|
|
77
|
+
/* @__PURE__ */ t.jsx(
|
|
78
|
+
"a",
|
|
79
|
+
{
|
|
80
|
+
href: r,
|
|
81
|
+
"aria-label": "logo",
|
|
82
|
+
target: "_blank",
|
|
83
|
+
rel: "noreferrer",
|
|
84
|
+
className: d(
|
|
85
|
+
"flex items-center justify-center [&_svg]:w-[132px] desktop:[&_svg]:h-[32px] desktop:[&_svg]:w-[192px]",
|
|
86
|
+
n == null ? void 0 : n.logo
|
|
87
|
+
),
|
|
88
|
+
children: L[e]
|
|
89
|
+
}
|
|
90
|
+
),
|
|
91
|
+
$(i)
|
|
92
|
+
] }) }) }), W = ({ buttonsConfig: r, classes: e, className: i }) => {
|
|
93
|
+
var o;
|
|
94
|
+
const n = (r == null ? void 0 : r.secondary) && r.secondary.children;
|
|
98
95
|
return /* @__PURE__ */ t.jsxs(
|
|
99
96
|
"div",
|
|
100
97
|
{
|
|
101
98
|
"data-id": "banner-buttons-group",
|
|
102
|
-
className:
|
|
99
|
+
className: d(
|
|
103
100
|
"grid-buttons-apply absolute bottom-6 left-1/2 flex w-full -translate-x-1/2 flex-col justify-self-center px-4 desktop:static desktop:left-auto desktop:max-w-full desktop:translate-x-0 desktop:flex-row desktop:justify-normal desktop:px-0",
|
|
104
|
-
{ "flex items-center gap-4":
|
|
101
|
+
{ "flex items-center gap-4": n },
|
|
105
102
|
e == null ? void 0 : e.group,
|
|
106
|
-
|
|
103
|
+
i
|
|
107
104
|
),
|
|
108
105
|
children: [
|
|
109
|
-
/* @__PURE__ */ t.jsx(
|
|
110
|
-
|
|
111
|
-
|
|
106
|
+
/* @__PURE__ */ t.jsx(w, { intent: "primary", ...r.primary, isFull: !0, className: d("desktop:max-w-[216px]", e == null ? void 0 : e.primary), children: r.primary.children }),
|
|
107
|
+
n && /* @__PURE__ */ t.jsx(
|
|
108
|
+
w,
|
|
112
109
|
{
|
|
113
110
|
intent: "secondary",
|
|
114
|
-
...
|
|
111
|
+
...r == null ? void 0 : r.secondary,
|
|
115
112
|
isFull: !0,
|
|
116
|
-
className:
|
|
117
|
-
children: (
|
|
113
|
+
className: d("desktop:max-w-[216px]", e == null ? void 0 : e.secondary),
|
|
114
|
+
children: (o = r == null ? void 0 : r.secondary) == null ? void 0 : o.children
|
|
118
115
|
}
|
|
119
116
|
)
|
|
120
117
|
]
|
|
121
118
|
}
|
|
122
119
|
);
|
|
123
120
|
}, q = ({
|
|
124
|
-
headTitle:
|
|
121
|
+
headTitle: r,
|
|
125
122
|
subtitle: e,
|
|
126
|
-
buttonsConfig:
|
|
127
|
-
advantagesConfig:
|
|
128
|
-
classes:
|
|
129
|
-
img:
|
|
130
|
-
imgSets:
|
|
123
|
+
buttonsConfig: i,
|
|
124
|
+
advantagesConfig: n,
|
|
125
|
+
classes: o,
|
|
126
|
+
img: p,
|
|
127
|
+
imgSets: x
|
|
131
128
|
}) => {
|
|
132
|
-
var
|
|
133
|
-
const { isDesktop: h, isMobile:
|
|
129
|
+
var m;
|
|
130
|
+
const { isDesktop: h, isMobile: u } = b(), f = /* @__PURE__ */ t.jsx(
|
|
134
131
|
"div",
|
|
135
132
|
{
|
|
136
133
|
"data-id": "banner-advantages",
|
|
137
|
-
className:
|
|
134
|
+
className: d(
|
|
138
135
|
"flex items-center justify-center pt-4 desktop:absolute desktop:bottom-[-50px] desktop:right-1/2 desktop:translate-x-1/2 desktop:pt-0",
|
|
139
|
-
|
|
136
|
+
o == null ? void 0 : o.advantageContainer
|
|
140
137
|
),
|
|
141
|
-
children: (
|
|
138
|
+
children: (n == null ? void 0 : n.config.details) && ((m = n == null ? void 0 : n.config.details) == null ? void 0 : m.length) > 0 && /* @__PURE__ */ t.jsx(R, { ...n })
|
|
142
139
|
}
|
|
143
140
|
);
|
|
144
141
|
return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
145
|
-
/* @__PURE__ */ t.jsxs("section", { "data-id": "banner-section", className:
|
|
142
|
+
/* @__PURE__ */ t.jsxs("section", { "data-id": "banner-section", className: d("relative h-[552px] desktop:h-[456px]", o == null ? void 0 : o.root), children: [
|
|
146
143
|
/* @__PURE__ */ t.jsx(
|
|
147
144
|
"div",
|
|
148
145
|
{
|
|
149
146
|
"data-id": "banner-img-wrapper",
|
|
150
147
|
className: "absolute bottom-0 left-0 right-0 top-0 z-[-1] mx-auto h-full max-w-[1920px] desktop:h-[456px]",
|
|
151
148
|
children: /* @__PURE__ */ t.jsxs("picture", { children: [
|
|
152
|
-
/* @__PURE__ */ t.jsx("source", { media: "(min-width: 1128px)", srcSet:
|
|
153
|
-
/* @__PURE__ */ t.jsx("source", { media: "(max-width: 1127px)", srcSet:
|
|
149
|
+
/* @__PURE__ */ t.jsx("source", { media: "(min-width: 1128px)", srcSet: x == null ? void 0 : x.large }),
|
|
150
|
+
/* @__PURE__ */ t.jsx("source", { media: "(max-width: 1127px)", srcSet: x == null ? void 0 : x.mob }),
|
|
154
151
|
/* @__PURE__ */ t.jsx(
|
|
155
152
|
"img",
|
|
156
153
|
{
|
|
157
154
|
"data-id": "banner-image",
|
|
158
|
-
src:
|
|
155
|
+
src: p,
|
|
159
156
|
alt: "Картинка баннера",
|
|
160
|
-
className:
|
|
157
|
+
className: d("h-full w-full object-cover object-center", o == null ? void 0 : o.image)
|
|
161
158
|
}
|
|
162
159
|
)
|
|
163
160
|
] })
|
|
164
161
|
}
|
|
165
162
|
),
|
|
166
|
-
/* @__PURE__ */ t.jsxs(
|
|
167
|
-
/* @__PURE__ */ t.jsx("div", { "data-id": "banner", className:
|
|
163
|
+
/* @__PURE__ */ t.jsxs(j, { "data-id": "banner-container", className: d("h-full", o == null ? void 0 : o.container), children: [
|
|
164
|
+
/* @__PURE__ */ t.jsx("div", { "data-id": "banner", className: d("flex h-full", o == null ? void 0 : o.wrapper), children: /* @__PURE__ */ t.jsxs(
|
|
168
165
|
"div",
|
|
169
166
|
{
|
|
170
167
|
"data-id": "banner-text-block",
|
|
171
|
-
className:
|
|
168
|
+
className: d("flex w-[328px] flex-col gap-10 pt-6 desktop:w-full desktop:pt-20", o == null ? void 0 : o.textBlock),
|
|
172
169
|
children: [
|
|
173
170
|
/* @__PURE__ */ t.jsxs("div", { className: "flex flex-col gap-4", children: [
|
|
174
|
-
/* @__PURE__ */ t.jsx(a, { "data-id": "banner-title", as: "h1", className:
|
|
175
|
-
/* @__PURE__ */ t.jsx("p", { "data-id": "banner-subtitle", className:
|
|
171
|
+
/* @__PURE__ */ t.jsx(a, { "data-id": "banner-title", as: "h1", className: d("text-color-white", o == null ? void 0 : o.title), children: r }),
|
|
172
|
+
/* @__PURE__ */ t.jsx("p", { "data-id": "banner-subtitle", className: d("desk-body-regular-l text-color-white", o == null ? void 0 : o.subtitle), children: e })
|
|
176
173
|
] }),
|
|
177
174
|
/* @__PURE__ */ t.jsx(
|
|
178
|
-
|
|
175
|
+
W,
|
|
179
176
|
{
|
|
180
177
|
className: "self-end desktop:self-center",
|
|
181
178
|
"data-id": "banner-buttons-group",
|
|
182
|
-
buttonsConfig:
|
|
183
|
-
classes:
|
|
179
|
+
buttonsConfig: i,
|
|
180
|
+
classes: o
|
|
184
181
|
}
|
|
185
182
|
)
|
|
186
183
|
]
|
|
187
184
|
}
|
|
188
185
|
) }),
|
|
189
|
-
h &&
|
|
186
|
+
h && f
|
|
190
187
|
] })
|
|
191
188
|
] }),
|
|
192
|
-
|
|
189
|
+
u && f
|
|
193
190
|
] });
|
|
194
|
-
},
|
|
195
|
-
headTitle:
|
|
191
|
+
}, B = ({
|
|
192
|
+
headTitle: r,
|
|
196
193
|
subtitle: e,
|
|
197
|
-
buttonsConfig:
|
|
198
|
-
advantagesConfig:
|
|
199
|
-
classes:
|
|
200
|
-
img:
|
|
201
|
-
imgSets:
|
|
194
|
+
buttonsConfig: i,
|
|
195
|
+
advantagesConfig: n,
|
|
196
|
+
classes: o,
|
|
197
|
+
img: p,
|
|
198
|
+
imgSets: x
|
|
202
199
|
}) => {
|
|
203
|
-
var
|
|
204
|
-
const { isDesktop: h, isMobile:
|
|
200
|
+
var m;
|
|
201
|
+
const { isDesktop: h, isMobile: u } = b(), f = /* @__PURE__ */ t.jsx(
|
|
205
202
|
"div",
|
|
206
203
|
{
|
|
207
204
|
"data-id": "banner-advantages",
|
|
208
|
-
className:
|
|
205
|
+
className: d(
|
|
209
206
|
"flex items-center justify-center rounded-md bg-color-blue-grey-100 p-4 pb-8 desktop:absolute desktop:bottom-[-50px] desktop:right-1/2 desktop:translate-x-1/2 desktop:p-0",
|
|
210
|
-
|
|
207
|
+
o == null ? void 0 : o.advantageContainer
|
|
211
208
|
),
|
|
212
|
-
children: (
|
|
209
|
+
children: (n == null ? void 0 : n.config.details) && ((m = n == null ? void 0 : n.config.details) == null ? void 0 : m.length) > 0 && /* @__PURE__ */ t.jsx(R, { ...n })
|
|
213
210
|
}
|
|
214
211
|
);
|
|
215
212
|
return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
216
|
-
/* @__PURE__ */ t.jsx("section", { "data-id": "banner-section", className:
|
|
217
|
-
/* @__PURE__ */ t.jsxs("div", { "data-id": "banner", className:
|
|
213
|
+
/* @__PURE__ */ t.jsx("section", { "data-id": "banner-section", className: d("bg-banner-skyblue-300 desktop:h-[456px]", o == null ? void 0 : o.root), children: /* @__PURE__ */ t.jsxs(j, { "data-id": "banner-container", className: d("relative", o == null ? void 0 : o.container), children: [
|
|
214
|
+
/* @__PURE__ */ t.jsxs("div", { "data-id": "banner", className: d("flex flex-col desktop:flex-row desktop:justify-between", o == null ? void 0 : o.wrapper), children: [
|
|
218
215
|
/* @__PURE__ */ t.jsxs("div", { className: "flex flex-col desktop:gap-10 desktop:pt-20", children: [
|
|
219
|
-
/* @__PURE__ */ t.jsxs("div", { "data-id": "banner-text-block", className:
|
|
220
|
-
/* @__PURE__ */ t.jsx(a, { "data-id": "banner-title", as: "h1", className:
|
|
221
|
-
/* @__PURE__ */ t.jsx("p", { "data-id": "banner-subtitle", className:
|
|
216
|
+
/* @__PURE__ */ t.jsxs("div", { "data-id": "banner-text-block", className: d("flex flex-col gap-4 pt-6 desktop:pt-0", o == null ? void 0 : o.textBlock), children: [
|
|
217
|
+
/* @__PURE__ */ t.jsx(a, { "data-id": "banner-title", as: "h1", className: d("text-color-dark", o == null ? void 0 : o.title), children: r }),
|
|
218
|
+
/* @__PURE__ */ t.jsx("p", { "data-id": "banner-subtitle", className: d("desk-body-regular-l text-color-dark", o == null ? void 0 : o.subtitle), children: e })
|
|
222
219
|
] }),
|
|
223
|
-
/* @__PURE__ */ t.jsx(
|
|
220
|
+
/* @__PURE__ */ t.jsx(W, { buttonsConfig: i, classes: o })
|
|
224
221
|
] }),
|
|
225
222
|
/* @__PURE__ */ t.jsx(
|
|
226
223
|
"div",
|
|
227
224
|
{
|
|
228
225
|
"data-id": "banner-image-wrapper",
|
|
229
|
-
className:
|
|
226
|
+
className: d("flex h-[356px] justify-center desktop:h-[456px] desktop:w-[550px]", o == null ? void 0 : o.imageContainer),
|
|
230
227
|
children: /* @__PURE__ */ t.jsxs("picture", { children: [
|
|
231
|
-
/* @__PURE__ */ t.jsx("source", { media: "(min-width: 1128px)", srcSet:
|
|
232
|
-
/* @__PURE__ */ t.jsx("source", { media: "(max-width: 1127px)", srcSet:
|
|
228
|
+
/* @__PURE__ */ t.jsx("source", { media: "(min-width: 1128px)", srcSet: x == null ? void 0 : x.large }),
|
|
229
|
+
/* @__PURE__ */ t.jsx("source", { media: "(max-width: 1127px)", srcSet: x == null ? void 0 : x.mob }),
|
|
233
230
|
/* @__PURE__ */ t.jsx(
|
|
234
231
|
"img",
|
|
235
232
|
{
|
|
236
233
|
"data-id": "banner-image",
|
|
237
|
-
src:
|
|
234
|
+
src: p,
|
|
238
235
|
alt: "Картинка баннера",
|
|
239
|
-
className:
|
|
236
|
+
className: d("h-full object-cover", o == null ? void 0 : o.image)
|
|
240
237
|
}
|
|
241
238
|
)
|
|
242
239
|
] })
|
|
243
240
|
}
|
|
244
241
|
)
|
|
245
242
|
] }),
|
|
246
|
-
h &&
|
|
243
|
+
h && f
|
|
247
244
|
] }) }),
|
|
248
|
-
|
|
245
|
+
u && f
|
|
249
246
|
] });
|
|
250
|
-
},
|
|
251
|
-
switch (
|
|
247
|
+
}, kt = ({ bannerVariant: r, ...e }) => {
|
|
248
|
+
switch (r) {
|
|
252
249
|
case "separateImg":
|
|
253
|
-
return /* @__PURE__ */ t.jsx(
|
|
250
|
+
return /* @__PURE__ */ t.jsx(B, { ...e });
|
|
254
251
|
case "fullImg":
|
|
255
252
|
return /* @__PURE__ */ t.jsx(q, { ...e });
|
|
256
253
|
default:
|
|
257
|
-
return /* @__PURE__ */ t.jsx(
|
|
254
|
+
return /* @__PURE__ */ t.jsx(B, { ...e });
|
|
258
255
|
}
|
|
259
|
-
},
|
|
260
|
-
const { variant:
|
|
256
|
+
}, R = ({ config: r, classes: e }) => {
|
|
257
|
+
const { variant: i, details: n } = r;
|
|
261
258
|
return /* @__PURE__ */ t.jsx(
|
|
262
259
|
"div",
|
|
263
260
|
{
|
|
264
|
-
className:
|
|
261
|
+
className: d(
|
|
265
262
|
"m-auto flex w-full min-w-[328px] max-w-[636px] flex-col gap-8 rounded-md bg-color-white p-6 shadow-sm desktop:w-full desktop:flex-row desktop:items-start desktop:gap-0 desktop:p-0 desktop:py-6",
|
|
266
|
-
{ "desktop:max-w-[860px]":
|
|
267
|
-
{ "desktop:max-w-[1140px]":
|
|
263
|
+
{ "desktop:max-w-[860px]": i === "threeCards" },
|
|
264
|
+
{ "desktop:max-w-[1140px]": i === "fourCards" },
|
|
268
265
|
e == null ? void 0 : e.root
|
|
269
266
|
),
|
|
270
|
-
children:
|
|
267
|
+
children: n == null ? void 0 : n.map(({ title: o, description: p }) => /* @__PURE__ */ t.jsxs(
|
|
271
268
|
"div",
|
|
272
269
|
{
|
|
273
|
-
className:
|
|
270
|
+
className: d(
|
|
274
271
|
'after:content-[" "] relative flex h-full w-full flex-col gap-1 after:absolute after:-bottom-4 after:left-1/2 after:h-[1px] after:w-full after:-translate-x-1/2 after:bg-color-blue-grey-300 last:after:hidden desktop:w-[285px] desktop:px-8 desktop:after:bottom-auto desktop:after:left-auto desktop:after:right-0 desktop:after:top-1/2 desktop:after:h-10 desktop:after:w-[1px] desktop:after:-translate-y-1/2 desktop:after:translate-x-0',
|
|
275
272
|
e == null ? void 0 : e.item
|
|
276
273
|
),
|
|
277
274
|
children: [
|
|
278
|
-
/* @__PURE__ */ t.jsx(a, { as: "h4", className:
|
|
279
|
-
/* @__PURE__ */ t.jsx("p", { className:
|
|
275
|
+
/* @__PURE__ */ t.jsx(a, { as: "h4", className: d("text-color-dark", e == null ? void 0 : e.title), children: o }),
|
|
276
|
+
/* @__PURE__ */ t.jsx("p", { className: d("desk-body-regular-l text-color-secondary", e == null ? void 0 : e.description), children: p })
|
|
280
277
|
]
|
|
281
278
|
},
|
|
282
|
-
|
|
279
|
+
o
|
|
283
280
|
))
|
|
284
281
|
}
|
|
285
282
|
);
|
|
286
|
-
}, J = /* @__PURE__ */ t.
|
|
287
|
-
"© 2004-2024, ПАО «Совкомбанк». Все права защищены. ",
|
|
288
|
-
/* @__PURE__ */ t.jsx("br", { className: "mobile:hidden" }),
|
|
289
|
-
" Генеральная лицензия Банка России №963 от 5 декабря 2014 г."
|
|
290
|
-
] }), K = [
|
|
291
|
-
{ phone: "8 800 100-00-06", text: "Звонок по России (бесплатно)" },
|
|
292
|
-
{ phone: "+7 (495) 988 00 00", text: "Для звонков из-за рубежа (платно)" }
|
|
293
|
-
], Q = [
|
|
294
|
-
{ iconName: "social/vk", href: "https://vk.com/sovcombank" },
|
|
295
|
-
{ iconName: "social/telegram", href: "https://t.me/sovcombankofficial" },
|
|
296
|
-
{ iconName: "social/classmates", href: "https://ok.ru/paosovcombank" }
|
|
297
|
-
], X = [
|
|
298
|
-
{
|
|
299
|
-
groupLabel: "Совкомбанк",
|
|
300
|
-
links: [
|
|
301
|
-
{ text: "О банке", href: "/" },
|
|
302
|
-
{ text: "Реквизиты и лицензии", href: "/" },
|
|
303
|
-
{ text: "Пресс-центр", href: "/" },
|
|
304
|
-
{ text: "Удостоверяющий центр ПАО «Совкомбанк»", href: "/" },
|
|
305
|
-
{ text: "Работа у нас", href: "/" },
|
|
306
|
-
{ text: "Контакты", href: "/" },
|
|
307
|
-
{ text: "Раскрытие информации", href: "/" },
|
|
308
|
-
{ text: "Страница раскрытия информации в Интерфакс", href: "/" },
|
|
309
|
-
{ text: "Реализация залогового имущества", href: "/" },
|
|
310
|
-
{ text: "Клиентам и партнерам", href: "/" },
|
|
311
|
-
{ text: "Биометрия", href: "/" },
|
|
312
|
-
{ text: "Стандарты безопасности", href: "/" },
|
|
313
|
-
{ text: "Информация о процентных ставках по договорам банковского вклада с физическими лицами", href: "/" },
|
|
314
|
-
{ text: "ООО «Совком Финанс»", href: "/" },
|
|
315
|
-
{ text: "Безопасность", href: "/" }
|
|
316
|
-
]
|
|
317
|
-
},
|
|
318
|
-
{
|
|
319
|
-
groupLabel: "Сервисы",
|
|
320
|
-
links: [
|
|
321
|
-
{ text: "Подарочная карта «Халва»", href: "/" },
|
|
322
|
-
{ text: "Страховые продукты", href: "/" },
|
|
323
|
-
{ text: "МультиЮрист", href: "/" },
|
|
324
|
-
{ text: "Единая социальная карта «Уралочка»", href: "/" },
|
|
325
|
-
{ text: "Единая Карта Жителя Мурманской области", href: "/" },
|
|
326
|
-
{ text: "Безопасные расчёты", href: "/" },
|
|
327
|
-
{ text: "Улучшение кредитной истории", href: "/" },
|
|
328
|
-
{ text: "Дистанционные сервисы Совкомбанка", href: "/" },
|
|
329
|
-
{ text: "Программы реструктуризации долга", href: "/" }
|
|
330
|
-
]
|
|
331
|
-
},
|
|
332
|
-
{
|
|
333
|
-
groupLabel: "Услуги банка",
|
|
334
|
-
links: [
|
|
335
|
-
{ text: "Карты", href: "/" },
|
|
336
|
-
{ text: "Кредиты", href: "/" },
|
|
337
|
-
{ text: "Кредиты наличными", href: "/" },
|
|
338
|
-
{ text: "Ипотека", href: "/" },
|
|
339
|
-
{ text: "Автокредиты", href: "/" },
|
|
340
|
-
{ text: "Кредитный калькулятор", href: "/" },
|
|
341
|
-
{ text: "Вклады", href: "/" },
|
|
342
|
-
{ text: "Инвестиции", href: "/" },
|
|
343
|
-
{ text: "Платежи", href: "/" },
|
|
344
|
-
{ text: "Сервисы", href: "/" },
|
|
345
|
-
{ text: "Малому бизнесу и ИП", href: "/" },
|
|
346
|
-
{ text: "Корпоративным клиентам", href: "/" },
|
|
347
|
-
{ text: "CIB", href: "/" },
|
|
348
|
-
{ text: "Драгоценные металлы в слитках", href: "/" },
|
|
349
|
-
{ text: "Счета в драгоценных металлах", href: "/" }
|
|
350
|
-
]
|
|
351
|
-
},
|
|
352
|
-
{
|
|
353
|
-
groupLabel: "Клиентам других банков",
|
|
354
|
-
links: [
|
|
355
|
-
{ text: "Держателям карт рассрочки Банка Хоум Кредит", href: "/" },
|
|
356
|
-
{ text: "ПАО КБ «Восточный»", href: "/" },
|
|
357
|
-
{ text: "Держателям карт «Совесть»", href: "/" },
|
|
358
|
-
{ text: "АО «Нордеа Банк»", href: "/" },
|
|
359
|
-
{ text: "ЗАО «ДжиИ Мани банк»", href: "/" },
|
|
360
|
-
{ text: "АО «Меткомбанк»", href: "/" },
|
|
361
|
-
{ text: "АКБ «РосЕвроБанк» (АО)", href: "/" },
|
|
362
|
-
{ text: "ПАО «Татфондбанк»", href: "/" },
|
|
363
|
-
{ text: "АО АКБ «Экспресс-Волга»", href: "/" },
|
|
364
|
-
{ text: "АО «ВКАБАНК»", href: "/" },
|
|
365
|
-
{ text: "ООО «ОНЕЙ БАНК»", href: "/" },
|
|
366
|
-
{ text: "АО «Евразийский»", href: "/" },
|
|
367
|
-
{ text: "АО «НФК»", href: "/" },
|
|
368
|
-
{ text: "ООО «РТС-Капитал»", href: "/" },
|
|
369
|
-
{ text: "ООО «ИК Септем Капитал»", href: "/" },
|
|
370
|
-
{ text: "Помощь", href: "/" },
|
|
371
|
-
{ text: "Офисы и банкоматы", href: "/" }
|
|
372
|
-
]
|
|
373
|
-
}
|
|
374
|
-
], Y = ({ socialsLinks: i, classes: e }) => /* @__PURE__ */ t.jsx("div", { className: n("mt-4 flex items-center gap-2 desktop:mt-6", e == null ? void 0 : e.socialRoot), children: i == null ? void 0 : i.map(({ iconName: o, href: d }) => /* @__PURE__ */ t.jsx(
|
|
283
|
+
}, J = ({ socialsLinks: r, classes: e }) => /* @__PURE__ */ t.jsx("div", { className: d("mt-4 flex items-center gap-2 desktop:mt-6", e == null ? void 0 : e.socialRoot), children: r == null ? void 0 : r.map(({ iconName: i, href: n }) => /* @__PURE__ */ t.jsx(
|
|
375
284
|
"a",
|
|
376
285
|
{
|
|
377
|
-
className:
|
|
378
|
-
href:
|
|
379
|
-
"aria-label":
|
|
380
|
-
children: /* @__PURE__ */ t.jsx(
|
|
286
|
+
className: d("flex size-8 items-center justify-center rounded-full bg-[#52576a] p-2", e == null ? void 0 : e.socialLink),
|
|
287
|
+
href: n,
|
|
288
|
+
"aria-label": i.replace("social/", ""),
|
|
289
|
+
children: /* @__PURE__ */ t.jsx(l, { name: i, className: d("h-full w-full text-icon-white", e == null ? void 0 : e.socialIcon) })
|
|
381
290
|
},
|
|
382
|
-
|
|
383
|
-
)) }),
|
|
291
|
+
n
|
|
292
|
+
)) }), K = ({ phones: r, classes: e }) => /* @__PURE__ */ t.jsx("div", { className: d("flex flex-col gap-4 desktop:items-end", e == null ? void 0 : e.phonesRoot), children: r == null ? void 0 : r.map(({ phone: i, text: n }) => /* @__PURE__ */ t.jsx(
|
|
384
293
|
M,
|
|
385
294
|
{
|
|
386
|
-
phone:
|
|
387
|
-
text:
|
|
295
|
+
phone: i,
|
|
296
|
+
text: n,
|
|
388
297
|
classes: {
|
|
389
|
-
wrapper:
|
|
390
|
-
text:
|
|
391
|
-
link:
|
|
298
|
+
wrapper: d(e == null ? void 0 : e.phoneWrapper),
|
|
299
|
+
text: d("text-color-footer", e == null ? void 0 : e.phoneText),
|
|
300
|
+
link: d("text-color-white mobile:m-0", e == null ? void 0 : e.phoneLink)
|
|
392
301
|
}
|
|
393
302
|
},
|
|
394
|
-
|
|
395
|
-
)) }),
|
|
303
|
+
i
|
|
304
|
+
)) }), Q = ({ classes: r, config: e }) => {
|
|
305
|
+
const { details: i } = e || {};
|
|
306
|
+
return /* @__PURE__ */ t.jsx(
|
|
307
|
+
"div",
|
|
308
|
+
{
|
|
309
|
+
className: d(
|
|
310
|
+
"mt-6 grid grid-cols-1 gap-6 border-b border-blue-grey-500 pb-6 desktop:my-8 desktop:grid-cols-4 desktop:gap-10 desktop:pb-8",
|
|
311
|
+
r == null ? void 0 : r.navRoot
|
|
312
|
+
),
|
|
313
|
+
children: i == null ? void 0 : i.map(
|
|
314
|
+
({ column: n }) => n == null ? void 0 : n.map(({ groupLabel: o, links: p }) => /* @__PURE__ */ t.jsxs("div", { className: d("flex flex-col gap-4", r == null ? void 0 : r.navGroup), children: [
|
|
315
|
+
/* @__PURE__ */ t.jsx("div", { className: d("desk-body-medium-l text-color-white", r == null ? void 0 : r.navLabel), children: o }),
|
|
316
|
+
/* @__PURE__ */ t.jsx("div", { className: d("flex flex-col gap-1", r == null ? void 0 : r.navLinks), children: p == null ? void 0 : p.map(({ path: x, label: h }) => /* @__PURE__ */ t.jsx(
|
|
317
|
+
N,
|
|
318
|
+
{
|
|
319
|
+
href: x,
|
|
320
|
+
"aria-label": h,
|
|
321
|
+
intent: "white",
|
|
322
|
+
classes: {
|
|
323
|
+
link: r == null ? void 0 : r.navLink,
|
|
324
|
+
icon: r == null ? void 0 : r.navLinkIcon
|
|
325
|
+
},
|
|
326
|
+
children: h
|
|
327
|
+
},
|
|
328
|
+
h
|
|
329
|
+
)) })
|
|
330
|
+
] }, o))
|
|
331
|
+
)
|
|
332
|
+
}
|
|
333
|
+
);
|
|
334
|
+
}, X = ({ text: r, classes: e }) => /* @__PURE__ */ t.jsx(
|
|
396
335
|
"div",
|
|
397
336
|
{
|
|
398
|
-
className:
|
|
399
|
-
|
|
400
|
-
e == null ? void 0 : e.navRoot
|
|
401
|
-
),
|
|
402
|
-
children: i == null ? void 0 : i.map(({ groupLabel: o, links: d }) => /* @__PURE__ */ t.jsxs("div", { className: n("flex flex-col gap-4", e == null ? void 0 : e.navGroup), children: [
|
|
403
|
-
/* @__PURE__ */ t.jsx("div", { className: n("desk-body-medium-l text-color-white", e == null ? void 0 : e.navLabel), children: o }),
|
|
404
|
-
/* @__PURE__ */ t.jsx("div", { className: n("flex flex-col gap-1", e == null ? void 0 : e.navLinks), children: d == null ? void 0 : d.map(({ text: r, href: x }) => /* @__PURE__ */ t.jsx(
|
|
405
|
-
w,
|
|
406
|
-
{
|
|
407
|
-
href: x,
|
|
408
|
-
"aria-label": r,
|
|
409
|
-
intent: "white",
|
|
410
|
-
classes: {
|
|
411
|
-
link: e == null ? void 0 : e.navLink,
|
|
412
|
-
icon: e == null ? void 0 : e.navLinkIcon
|
|
413
|
-
},
|
|
414
|
-
children: r
|
|
415
|
-
},
|
|
416
|
-
r
|
|
417
|
-
)) })
|
|
418
|
-
] }, o))
|
|
337
|
+
className: d("desk-body-regular-m text-color-footer", e == null ? void 0 : e.copyRight),
|
|
338
|
+
dangerouslySetInnerHTML: { __html: r }
|
|
419
339
|
}
|
|
420
|
-
),
|
|
340
|
+
), Y = ({ classes: r }) => /* @__PURE__ */ t.jsx(
|
|
421
341
|
"a",
|
|
422
342
|
{
|
|
423
343
|
"aria-label": "logo",
|
|
424
344
|
href: "https://sovcombank.ru/",
|
|
425
|
-
className:
|
|
426
|
-
children: /* @__PURE__ */ t.jsx(
|
|
345
|
+
className: d("block h-[24px] w-[132px] desktop:h-[32px] desktop:w-[194px]", r == null ? void 0 : r.footerLogo),
|
|
346
|
+
children: /* @__PURE__ */ t.jsx(l, { name: "brandLogos/logoWhite", className: d("size-full", r == null ? void 0 : r.footerLogoIcon) })
|
|
427
347
|
}
|
|
428
|
-
),
|
|
429
|
-
|
|
348
|
+
), A = ({ classes: r }) => /* @__PURE__ */ t.jsx(
|
|
349
|
+
N,
|
|
430
350
|
{
|
|
431
351
|
intent: "white",
|
|
432
352
|
href: "https://sovcombank.ru/site-map",
|
|
@@ -434,100 +354,135 @@ const U = j(
|
|
|
434
354
|
"aria-label": "site-map",
|
|
435
355
|
rel: "noreferrer",
|
|
436
356
|
classes: {
|
|
437
|
-
link:
|
|
438
|
-
icon:
|
|
357
|
+
link: d("mobile:mt-6", r == null ? void 0 : r.siteMapLink),
|
|
358
|
+
icon: r == null ? void 0 : r.siteMapLinkIcon
|
|
439
359
|
},
|
|
440
360
|
children: "Карта сайта"
|
|
441
361
|
}
|
|
442
|
-
),
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
362
|
+
), P = ({ text: r, classes: e }) => {
|
|
363
|
+
const [i, n] = g.useState(!1), [o, p] = g.useState(!1), x = g.useRef(null);
|
|
364
|
+
return g.useEffect(() => {
|
|
365
|
+
const h = x.current;
|
|
366
|
+
h && p(h.scrollHeight > h.clientHeight);
|
|
367
|
+
}, []), /* @__PURE__ */ t.jsxs("div", { className: d("mt-8 flex flex-col gap-4", e == null ? void 0 : e.ligalRoot), children: [
|
|
368
|
+
/* @__PURE__ */ t.jsx(
|
|
369
|
+
"div",
|
|
370
|
+
{
|
|
371
|
+
ref: x,
|
|
372
|
+
className: d("desk-body-regular-m text-color-footer", { "line-clamp-3": !i }, e == null ? void 0 : e.ligalText),
|
|
373
|
+
dangerouslySetInnerHTML: { __html: r }
|
|
374
|
+
}
|
|
375
|
+
),
|
|
376
|
+
o && /* @__PURE__ */ t.jsx(
|
|
377
|
+
"div",
|
|
378
|
+
{
|
|
379
|
+
tabIndex: 0,
|
|
380
|
+
role: "button",
|
|
381
|
+
onClick: () => n((h) => !h),
|
|
382
|
+
className: d(
|
|
383
|
+
"desk-body-regular-l w-max cursor-pointer font-medium text-color-footer transition-colors hover:text-color-white",
|
|
384
|
+
e == null ? void 0 : e.ligalButton
|
|
385
|
+
),
|
|
386
|
+
children: "Подробнее"
|
|
387
|
+
}
|
|
388
|
+
)
|
|
389
|
+
] });
|
|
390
|
+
}, bt = ({
|
|
391
|
+
renderBlocks: {
|
|
392
|
+
withSocialsLinks: r = !0,
|
|
393
|
+
withPhones: e = !0,
|
|
394
|
+
withNavLinks: i = !0,
|
|
395
|
+
withCopyright: n = !0,
|
|
396
|
+
withSiteMap: o = !0,
|
|
397
|
+
withLigal: p = !0
|
|
398
|
+
} = {},
|
|
399
|
+
socialsLinks: x = [],
|
|
400
|
+
phones: h = [],
|
|
401
|
+
ligal: u,
|
|
402
|
+
copyright: f = "",
|
|
403
|
+
classes: m,
|
|
404
|
+
config: y
|
|
405
|
+
}) => /* @__PURE__ */ t.jsx("footer", { className: d("w-full bg-color-footer py-8 desktop:py-10", m == null ? void 0 : m.root), children: /* @__PURE__ */ t.jsx(j, { className: d(m == null ? void 0 : m.footerContainer), children: /* @__PURE__ */ t.jsxs("div", { className: d("mobile:pb-[176px]", m == null ? void 0 : m.footerWrapper), children: [
|
|
451
406
|
/* @__PURE__ */ t.jsxs(
|
|
452
407
|
"div",
|
|
453
408
|
{
|
|
454
|
-
className:
|
|
409
|
+
className: d(
|
|
455
410
|
"flex flex-col items-start justify-between gap-4 border-b border-solid border-blue-grey-500 pb-6 desktop:flex-row desktop:gap-6 desktop:pb-8",
|
|
456
|
-
|
|
411
|
+
m == null ? void 0 : m.footerHead
|
|
457
412
|
),
|
|
458
413
|
children: [
|
|
459
|
-
/* @__PURE__ */ t.jsxs("div", { className:
|
|
460
|
-
/* @__PURE__ */ t.jsx(
|
|
461
|
-
|
|
414
|
+
/* @__PURE__ */ t.jsxs("div", { className: d(m == null ? void 0 : m.footerSocialBlock), children: [
|
|
415
|
+
/* @__PURE__ */ t.jsx(Y, { classes: m == null ? void 0 : m.footerLogo }),
|
|
416
|
+
r && /* @__PURE__ */ t.jsx(J, { socialsLinks: x, classes: m == null ? void 0 : m.socialLinks })
|
|
462
417
|
] }),
|
|
463
|
-
e && /* @__PURE__ */ t.jsx(
|
|
418
|
+
e && /* @__PURE__ */ t.jsx(K, { phones: h, classes: m == null ? void 0 : m.phonesBlock })
|
|
464
419
|
]
|
|
465
420
|
}
|
|
466
421
|
),
|
|
467
|
-
|
|
468
|
-
|
|
422
|
+
i && /* @__PURE__ */ t.jsx(Q, { config: y, classes: m == null ? void 0 : m.navLinks }),
|
|
423
|
+
p && /* @__PURE__ */ t.jsx(P, { text: u || "" }),
|
|
469
424
|
/* @__PURE__ */ t.jsxs(
|
|
470
425
|
"div",
|
|
471
426
|
{
|
|
472
|
-
className:
|
|
427
|
+
className: d(
|
|
473
428
|
"mt-6 flex flex-col-reverse items-start justify-between gap-4 desktop:mt-8 desktop:flex-row desktop:gap-6",
|
|
474
|
-
|
|
429
|
+
m == null ? void 0 : m.footerBottom
|
|
475
430
|
),
|
|
476
431
|
children: [
|
|
477
|
-
|
|
478
|
-
|
|
432
|
+
n && /* @__PURE__ */ t.jsx(X, { text: f, classes: m == null ? void 0 : m.copyright }),
|
|
433
|
+
o && /* @__PURE__ */ t.jsx(A, { classes: m == null ? void 0 : m.siteMap })
|
|
479
434
|
]
|
|
480
435
|
}
|
|
481
436
|
)
|
|
482
|
-
] }) }) }),
|
|
483
|
-
const
|
|
437
|
+
] }) }) }), c = ({ classes: r, index: e, variant: i, title: n, description: o }) => {
|
|
438
|
+
const p = i === "withTitleAndDescription" && n;
|
|
484
439
|
return /* @__PURE__ */ t.jsxs(
|
|
485
440
|
"div",
|
|
486
441
|
{
|
|
487
|
-
className:
|
|
442
|
+
className: d(
|
|
488
443
|
"flex w-[328px] max-w-[328px] flex-col gap-4 rounded-md border border-solid border-blue-grey-500 p-4 desktop:w-[348px] desktop:max-w-[348px] desktop:border-none desktop:p-0",
|
|
489
|
-
|
|
444
|
+
r == null ? void 0 : r.singleStep
|
|
490
445
|
),
|
|
491
446
|
children: [
|
|
492
447
|
/* @__PURE__ */ t.jsx(
|
|
493
448
|
"div",
|
|
494
449
|
{
|
|
495
|
-
className:
|
|
450
|
+
className: d(
|
|
496
451
|
"mob-headline-bold-s flex size-10 items-center justify-center rounded-sm bg-color-blue-grey-500 text-color-white desktop:desk-title-bold-l desktop:size-12",
|
|
497
|
-
|
|
452
|
+
r == null ? void 0 : r.numeric
|
|
498
453
|
),
|
|
499
454
|
children: e
|
|
500
455
|
}
|
|
501
456
|
),
|
|
502
|
-
/* @__PURE__ */ t.jsxs("div", { className:
|
|
503
|
-
|
|
457
|
+
/* @__PURE__ */ t.jsxs("div", { className: d("flex flex-col gap-2"), children: [
|
|
458
|
+
p && /* @__PURE__ */ t.jsx(a, { as: "h4", className: d("text-color-dark", r == null ? void 0 : r.title), children: n }),
|
|
504
459
|
/* @__PURE__ */ t.jsx(
|
|
505
460
|
"div",
|
|
506
461
|
{
|
|
507
|
-
dangerouslySetInnerHTML: { __html:
|
|
508
|
-
className:
|
|
462
|
+
dangerouslySetInnerHTML: { __html: o ?? "" },
|
|
463
|
+
className: d("desk-body-regular-l text-color-tetriary", r == null ? void 0 : r.description)
|
|
509
464
|
}
|
|
510
465
|
)
|
|
511
466
|
] })
|
|
512
467
|
]
|
|
513
468
|
}
|
|
514
469
|
);
|
|
515
|
-
},
|
|
516
|
-
const { variant:
|
|
517
|
-
return /* @__PURE__ */ t.jsx(V, { className:
|
|
518
|
-
/* @__PURE__ */ t.jsx(a, { as: "h2", className:
|
|
470
|
+
}, gt = ({ headline: r, config: e, classes: i }) => {
|
|
471
|
+
const { variant: n, details: o } = e;
|
|
472
|
+
return /* @__PURE__ */ t.jsx(V, { className: i == null ? void 0 : i.root, children: /* @__PURE__ */ t.jsx(j, { className: i == null ? void 0 : i.container, children: /* @__PURE__ */ t.jsxs("div", { className: d("flex flex-col gap-6 desktop:items-start desktop:gap-12", i == null ? void 0 : i.wrapper), children: [
|
|
473
|
+
/* @__PURE__ */ t.jsx(a, { as: "h2", className: d("text-color-dark", i == null ? void 0 : i.headline), children: r }),
|
|
519
474
|
/* @__PURE__ */ t.jsx(
|
|
520
475
|
"div",
|
|
521
476
|
{
|
|
522
|
-
className:
|
|
477
|
+
className: d(
|
|
523
478
|
"flex w-full flex-col items-start gap-6 desktop:flex-row desktop:items-start desktop:gap-12",
|
|
524
|
-
|
|
479
|
+
i == null ? void 0 : i.stepsWrapper
|
|
525
480
|
),
|
|
526
|
-
children:
|
|
481
|
+
children: o == null ? void 0 : o.map((p, x) => /* @__PURE__ */ t.jsx(c, { variant: n, ...p, index: x + 1, classes: i == null ? void 0 : i.step }, p.description))
|
|
527
482
|
}
|
|
528
483
|
)
|
|
529
484
|
] }) }) });
|
|
530
|
-
},
|
|
485
|
+
}, s = k("", {
|
|
531
486
|
variants: {
|
|
532
487
|
intent: {
|
|
533
488
|
twoItems: "mob-headline-bold-s mb-6 desktop:desk-headline-bold-m desktop:mb-12",
|
|
@@ -543,7 +498,7 @@ const U = j(
|
|
|
543
498
|
defaultVariants: {
|
|
544
499
|
intent: "twoItems"
|
|
545
500
|
}
|
|
546
|
-
}),
|
|
501
|
+
}), tt = k("", {
|
|
547
502
|
variants: {
|
|
548
503
|
intent: {
|
|
549
504
|
twoItems: "",
|
|
@@ -575,7 +530,7 @@ const U = j(
|
|
|
575
530
|
class: "desktop:grid grid-rows-2 desktop:gap-x-10 desktop:gap-y-4 grid-flow-col"
|
|
576
531
|
}
|
|
577
532
|
]
|
|
578
|
-
}),
|
|
533
|
+
}), et = k("border-blue-grey-500 pb-6 mobile:mb-6 mobile:border-b mobile:last:pb-0 mobile:last:mb-0", {
|
|
579
534
|
variants: {
|
|
580
535
|
intent: {
|
|
581
536
|
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',
|
|
@@ -585,7 +540,7 @@ const U = j(
|
|
|
585
540
|
defaultVariants: {
|
|
586
541
|
intent: "twoItems"
|
|
587
542
|
}
|
|
588
|
-
}),
|
|
543
|
+
}), rt = k("mobile:mx-auto mobile:mb-8, h-[172px] w-[280px] ", {
|
|
589
544
|
variants: {
|
|
590
545
|
intent: {
|
|
591
546
|
twoItems: "desktop:h-[232px] desktop:w-[500px]",
|
|
@@ -611,51 +566,50 @@ const U = j(
|
|
|
611
566
|
class: "desktop:h-[272px] desktop:w-[500px]"
|
|
612
567
|
}
|
|
613
568
|
]
|
|
614
|
-
}),
|
|
615
|
-
const {
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
569
|
+
}), ot = ({ data: r, intent: e }) => {
|
|
570
|
+
const {
|
|
571
|
+
title: i,
|
|
572
|
+
description: n,
|
|
573
|
+
popover: o = {
|
|
574
|
+
enabled: !1
|
|
575
|
+
}
|
|
576
|
+
} = r;
|
|
577
|
+
return /* @__PURE__ */ t.jsx("li", { className: d(et({ intent: e })), children: /* @__PURE__ */ t.jsxs("div", { className: "desktop:max-w-[264px]", children: [
|
|
578
|
+
/* @__PURE__ */ t.jsxs("div", { className: d("mb-2 flex items-center gap-2"), children: [
|
|
579
|
+
/* @__PURE__ */ t.jsx("h4", { className: d("mob-title-bold-m text-color-dark"), children: i }),
|
|
580
|
+
o.enabled && /* @__PURE__ */ t.jsx(D, { triggerElement: /* @__PURE__ */ t.jsx(l, { className: d("size-5 text-icon-blue-grey-600"), name: "info/helpCircle" }), children: o == null ? void 0 : o.text })
|
|
620
581
|
] }),
|
|
621
|
-
/* @__PURE__ */ t.jsx("
|
|
582
|
+
/* @__PURE__ */ t.jsx("div", { className: d("mob-body-regular-l text-color-secondary"), dangerouslySetInnerHTML: { __html: n } })
|
|
622
583
|
] }) });
|
|
623
|
-
},
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
textContent: d,
|
|
628
|
-
imageComponent: r,
|
|
629
|
-
classes: x
|
|
630
|
-
}) => {
|
|
631
|
-
const m = !!e, h = o === "fourItems", f = o === "twoItems";
|
|
632
|
-
return /* @__PURE__ */ t.jsx("section", { className: n(x == null ? void 0 : x.root), children: /* @__PURE__ */ t.jsxs(k, { className: n(x == null ? void 0 : x.container), children: [
|
|
633
|
-
f && /* @__PURE__ */ t.jsx(N, { intent: o, title: i }),
|
|
584
|
+
}, v = ({ intent: r, headline: e, desktopHidden: i = !1, mobileHidden: n = !1 }) => /* @__PURE__ */ t.jsx("h2", { className: d(s({ intent: r, desktopHidden: i, mobileHidden: n })), children: e }), nt = ({ details: r, intent: e, withButton: i }) => /* @__PURE__ */ t.jsx("ul", { className: d(tt({ intent: e, withButton: i })), children: r == null ? void 0 : r.map((n, o) => /* @__PURE__ */ t.jsx(ot, { intent: e, data: n }, o)) }), wt = ({ headline: r, buttonConfig: e, withButton: i = !1, config: n, imageComponent: o, classes: p }) => {
|
|
585
|
+
const { intent: x = "twoItems", details: h } = n, u = x === "fourItems", f = x === "twoItems";
|
|
586
|
+
return /* @__PURE__ */ t.jsx("section", { className: d(p == null ? void 0 : p.root), children: /* @__PURE__ */ t.jsxs(j, { className: d(p == null ? void 0 : p.container), children: [
|
|
587
|
+
f && /* @__PURE__ */ t.jsx(v, { intent: x, headline: r }),
|
|
634
588
|
/* @__PURE__ */ t.jsxs(
|
|
635
589
|
"div",
|
|
636
590
|
{
|
|
637
|
-
className:
|
|
591
|
+
className: d(
|
|
638
592
|
"bg-banner-skyblue-100 px-6 pb-8 pt-6 desktop:flex desktop:flex-row-reverse desktop:justify-between desktop:px-0 desktop:py-0 desktop:pl-12",
|
|
639
|
-
|
|
593
|
+
p == null ? void 0 : p.contentContainer
|
|
640
594
|
),
|
|
641
595
|
children: [
|
|
642
|
-
|
|
643
|
-
/* @__PURE__ */ t.jsx("div", { className:
|
|
596
|
+
u && /* @__PURE__ */ t.jsx(v, { intent: x, headline: r, desktopHidden: !0 }),
|
|
597
|
+
/* @__PURE__ */ t.jsx("div", { className: d(rt({ intent: x, withButton: i }), p == null ? void 0 : p.imgContainer), children: o }),
|
|
644
598
|
/* @__PURE__ */ t.jsxs(
|
|
645
599
|
"div",
|
|
646
600
|
{
|
|
647
|
-
className:
|
|
601
|
+
className: d("desktop:flex desktop:flex-col desktop:justify-center desktop:py-10", p == null ? void 0 : p.textWithBtnContainer),
|
|
648
602
|
children: [
|
|
649
|
-
|
|
650
|
-
/* @__PURE__ */ t.jsx(
|
|
651
|
-
|
|
652
|
-
|
|
603
|
+
u && /* @__PURE__ */ t.jsx(v, { intent: x, headline: r, mobileHidden: !0 }),
|
|
604
|
+
/* @__PURE__ */ t.jsx(nt, { details: h, intent: x, withButton: i }),
|
|
605
|
+
i && /* @__PURE__ */ t.jsx(
|
|
606
|
+
w,
|
|
653
607
|
{
|
|
654
|
-
className:
|
|
608
|
+
className: d("w-full px-4 desktop:w-max", p == null ? void 0 : p.button),
|
|
655
609
|
size: "lg",
|
|
656
|
-
onClick: e.onClick,
|
|
610
|
+
onClick: e == null ? void 0 : e.onClick,
|
|
657
611
|
intent: "secondary",
|
|
658
|
-
children: e.text
|
|
612
|
+
children: e == null ? void 0 : e.text
|
|
659
613
|
}
|
|
660
614
|
)
|
|
661
615
|
]
|
|
@@ -665,33 +619,33 @@ const U = j(
|
|
|
665
619
|
}
|
|
666
620
|
)
|
|
667
621
|
] }) });
|
|
668
|
-
},
|
|
622
|
+
}, I = {
|
|
669
623
|
ESIA: "esia",
|
|
670
624
|
MOBILE_ID: "mobileId",
|
|
671
625
|
COMBINE: "combine"
|
|
672
|
-
},
|
|
626
|
+
}, T = ({ children: r, isLoading: e, classes: i, loaderProps: n }) => /* @__PURE__ */ t.jsx(
|
|
673
627
|
"div",
|
|
674
628
|
{
|
|
675
629
|
tabIndex: 0,
|
|
676
|
-
className:
|
|
630
|
+
className: d(
|
|
677
631
|
"relative flex h-[90px] w-full max-w-[328px] items-center justify-center rounded-sm p-2 desktop:max-w-[524px]",
|
|
678
632
|
"bg-color-white outline outline-1 outline-warm-grey-200 transition-colors focus-visible:outline-primary-focus",
|
|
679
|
-
|
|
633
|
+
i == null ? void 0 : i.root
|
|
680
634
|
),
|
|
681
635
|
children: /* @__PURE__ */ t.jsx(
|
|
682
636
|
"div",
|
|
683
637
|
{
|
|
684
|
-
className:
|
|
638
|
+
className: d(
|
|
685
639
|
"flex h-[74px] flex-1 cursor-pointer rounded-sm px-2 py-3 transition-colors desktop:px-4 desktop:py-3",
|
|
686
640
|
"bg-color-blue-grey-100 hover:bg-color-blue-grey-200 active:bg-color-blue-grey-300",
|
|
687
641
|
{ "items-center": e },
|
|
688
|
-
|
|
642
|
+
i == null ? void 0 : i.wrapper
|
|
689
643
|
),
|
|
690
|
-
children: e ? /* @__PURE__ */ t.jsx(
|
|
644
|
+
children: e ? /* @__PURE__ */ t.jsx(O, { position: "static", classes: { wrapper: "size-8 m-auto" }, ...n }) : r
|
|
691
645
|
}
|
|
692
646
|
)
|
|
693
647
|
}
|
|
694
|
-
),
|
|
648
|
+
), it = ({ ...r }) => /* @__PURE__ */ t.jsxs("svg", { width: "32", height: "32", viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...r, children: [
|
|
695
649
|
/* @__PURE__ */ t.jsx(
|
|
696
650
|
"path",
|
|
697
651
|
{
|
|
@@ -719,22 +673,22 @@ const U = j(
|
|
|
719
673
|
/* @__PURE__ */ t.jsx("stop", { offset: "0.6875", stopColor: "#EE2F53" }),
|
|
720
674
|
/* @__PURE__ */ t.jsx("stop", { offset: "1", stopColor: "#EE2F53" })
|
|
721
675
|
] }) })
|
|
722
|
-
] }), F = ({ mainLink:
|
|
676
|
+
] }), F = ({ mainLink: r, subLink: e, isMobile: i, classes: n }) => /* @__PURE__ */ t.jsxs("div", { className: d("flex flex-col", n == null ? void 0 : n.linksWrapper), children: [
|
|
723
677
|
/* @__PURE__ */ t.jsx(
|
|
724
678
|
"a",
|
|
725
679
|
{
|
|
726
|
-
href:
|
|
680
|
+
href: r.href,
|
|
727
681
|
target: "_blank",
|
|
728
682
|
rel: "noreferrer",
|
|
729
|
-
className:
|
|
683
|
+
className: d(
|
|
730
684
|
'before:content=[" "] desk-body-medium-l z-[4] text-color-dark before:absolute before:left-1/2 before:top-1/2 before:h-full before:w-full before:-translate-x-1/2 before:-translate-y-1/2',
|
|
731
|
-
|
|
685
|
+
n == null ? void 0 : n.linksMainLink
|
|
732
686
|
),
|
|
733
|
-
children:
|
|
687
|
+
children: i ? r.mobileTitle : r.title
|
|
734
688
|
}
|
|
735
689
|
),
|
|
736
690
|
(e == null ? void 0 : e.text) && (e == null ? void 0 : e.href) && /* @__PURE__ */ t.jsx(
|
|
737
|
-
|
|
691
|
+
N,
|
|
738
692
|
{
|
|
739
693
|
intent: "blue",
|
|
740
694
|
withUnderline: !0,
|
|
@@ -742,79 +696,79 @@ const U = j(
|
|
|
742
696
|
target: "_blank",
|
|
743
697
|
rel: "noreferrer",
|
|
744
698
|
classes: {
|
|
745
|
-
link:
|
|
699
|
+
link: d("w-max relative z-[6] p-0 desk-body-regular-m text-color-tetriary", n == null ? void 0 : n.linksSubLink)
|
|
746
700
|
},
|
|
747
701
|
children: e == null ? void 0 : e.text
|
|
748
702
|
}
|
|
749
703
|
)
|
|
750
|
-
] }),
|
|
751
|
-
const { isMobile:
|
|
752
|
-
return /* @__PURE__ */ t.jsx(
|
|
704
|
+
] }), _ = ({ mainLink: r, subLink: e, isLoading: i, badge: n, loaderProps: o, classes: p }) => {
|
|
705
|
+
const { isMobile: x } = b();
|
|
706
|
+
return /* @__PURE__ */ t.jsx(T, { isLoading: i, loaderProps: o, classes: p == null ? void 0 : p.authWrapper, children: /* @__PURE__ */ t.jsxs(
|
|
753
707
|
"div",
|
|
754
708
|
{
|
|
755
|
-
className:
|
|
709
|
+
className: d(
|
|
756
710
|
"flex flex-1 items-center justify-between gap-1",
|
|
757
|
-
{ "justify-center": !
|
|
758
|
-
|
|
711
|
+
{ "justify-center": !n && x },
|
|
712
|
+
p == null ? void 0 : p.innerWrapper
|
|
759
713
|
),
|
|
760
714
|
children: [
|
|
761
|
-
/* @__PURE__ */ t.jsxs("div", { className:
|
|
715
|
+
/* @__PURE__ */ t.jsxs("div", { className: d("flex items-center gap-1 desktop:gap-4", p == null ? void 0 : p.textContent), children: [
|
|
762
716
|
/* @__PURE__ */ t.jsxs("div", { children: [
|
|
763
|
-
/* @__PURE__ */ t.jsx(
|
|
764
|
-
/* @__PURE__ */ t.jsx(
|
|
765
|
-
/* @__PURE__ */ t.jsx(
|
|
717
|
+
/* @__PURE__ */ t.jsx(l, { name: "logos/mts", className: d("relative z-[9] size-7 desktop:size-8", p == null ? void 0 : p.mtsLogo) }),
|
|
718
|
+
/* @__PURE__ */ t.jsx(l, { name: "logos/megafon", className: d("relative z-[8] -ml-4 size-7 desktop:size-8", p == null ? void 0 : p.megafonLogo) }),
|
|
719
|
+
/* @__PURE__ */ t.jsx(l, { name: "logos/beeline", className: d("relative z-[7] -ml-4 size-7 desktop:size-8", p == null ? void 0 : p.beelineLogo) })
|
|
766
720
|
] }),
|
|
767
|
-
/* @__PURE__ */ t.jsx(F, { mainLink:
|
|
768
|
-
/* @__PURE__ */ t.jsx(
|
|
721
|
+
/* @__PURE__ */ t.jsx(F, { mainLink: r, subLink: e, isMobile: x, classes: p == null ? void 0 : p.links }),
|
|
722
|
+
/* @__PURE__ */ t.jsx(l, { name: "arrows/arrowRight", className: d("mobile:hidden", p == null ? void 0 : p.arrowIcon) })
|
|
769
723
|
] }),
|
|
770
|
-
|
|
724
|
+
n && /* @__PURE__ */ t.jsx(C, { className: d("bg-color-positive", p == null ? void 0 : p.badge), children: n })
|
|
771
725
|
]
|
|
772
726
|
}
|
|
773
727
|
) });
|
|
774
|
-
},
|
|
775
|
-
const { isMobile:
|
|
776
|
-
return /* @__PURE__ */ t.jsx(
|
|
728
|
+
}, z = ({ mainLink: r, subLink: e, isLoading: i, badge: n, loaderProps: o, classes: p }) => {
|
|
729
|
+
const { isMobile: x } = b();
|
|
730
|
+
return /* @__PURE__ */ t.jsx(T, { isLoading: i, loaderProps: o, classes: p == null ? void 0 : p.authWrapper, children: /* @__PURE__ */ t.jsxs(
|
|
777
731
|
"div",
|
|
778
732
|
{
|
|
779
|
-
className:
|
|
733
|
+
className: d(
|
|
780
734
|
"flex flex-1 items-center justify-between gap-1",
|
|
781
|
-
{ "justify-center": !
|
|
782
|
-
|
|
735
|
+
{ "justify-center": !n && x },
|
|
736
|
+
p == null ? void 0 : p.innerWrapper
|
|
783
737
|
),
|
|
784
738
|
children: [
|
|
785
|
-
/* @__PURE__ */ t.jsxs("div", { className:
|
|
786
|
-
/* @__PURE__ */ t.jsx(
|
|
787
|
-
/* @__PURE__ */ t.jsx(F, { mainLink:
|
|
788
|
-
/* @__PURE__ */ t.jsx(
|
|
739
|
+
/* @__PURE__ */ t.jsxs("div", { className: d("flex items-center gap-1 desktop:gap-4", p == null ? void 0 : p.textContent), children: [
|
|
740
|
+
/* @__PURE__ */ t.jsx(it, { className: d("size-7 desktop:size-8", p == null ? void 0 : p.esiaLogo) }),
|
|
741
|
+
/* @__PURE__ */ t.jsx(F, { mainLink: r, subLink: e, isMobile: x, classes: p == null ? void 0 : p.links }),
|
|
742
|
+
/* @__PURE__ */ t.jsx(l, { name: "arrows/arrowRight", className: d("mobile:hidden", p == null ? void 0 : p.arrowIcon) })
|
|
789
743
|
] }),
|
|
790
|
-
|
|
744
|
+
n && /* @__PURE__ */ t.jsx(C, { className: d("bg-color-positive", p == null ? void 0 : p.badge), children: n })
|
|
791
745
|
]
|
|
792
746
|
}
|
|
793
747
|
) });
|
|
794
|
-
},
|
|
795
|
-
switch (
|
|
796
|
-
case
|
|
797
|
-
return /* @__PURE__ */ t.jsx(
|
|
798
|
-
case
|
|
799
|
-
return /* @__PURE__ */ t.jsx(
|
|
800
|
-
case
|
|
748
|
+
}, dt = (r) => {
|
|
749
|
+
switch (r.mode) {
|
|
750
|
+
case I.ESIA:
|
|
751
|
+
return /* @__PURE__ */ t.jsx(z, { ...r });
|
|
752
|
+
case I.MOBILE_ID:
|
|
753
|
+
return /* @__PURE__ */ t.jsx(_, { ...r });
|
|
754
|
+
case I.COMBINE:
|
|
801
755
|
default:
|
|
802
|
-
const { esiaConfig: e, mobileIdConfig:
|
|
756
|
+
const { esiaConfig: e, mobileIdConfig: i, subtitle: n, badge: o, classes: p } = r, x = !n && !o ? g.Fragment : "div";
|
|
803
757
|
return /* @__PURE__ */ t.jsxs(
|
|
804
758
|
"div",
|
|
805
759
|
{
|
|
806
|
-
className:
|
|
760
|
+
className: d(
|
|
807
761
|
"flex w-[328px] flex-col items-center justify-center gap-2 rounded-sm bg-color-white px-2 py-4 outline outline-1 outline-warm-grey-200 desktop:w-[524px] desktop:p-4",
|
|
808
|
-
|
|
762
|
+
p == null ? void 0 : p.root
|
|
809
763
|
),
|
|
810
764
|
children: [
|
|
811
|
-
/* @__PURE__ */ t.jsxs(
|
|
812
|
-
|
|
813
|
-
|
|
765
|
+
/* @__PURE__ */ t.jsxs(x, { className: d("flex w-full items-center justify-between gap-2", p == null ? void 0 : p.topContent), children: [
|
|
766
|
+
n && /* @__PURE__ */ t.jsx("h5", { className: d("desk-body-regular-l flex flex-1 text-color-dark", p == null ? void 0 : p.subtitle), children: n }),
|
|
767
|
+
o && /* @__PURE__ */ t.jsx(C, { className: d("bg-color-positive", p == null ? void 0 : p.badge), children: o })
|
|
814
768
|
] }),
|
|
815
|
-
/* @__PURE__ */ t.jsxs("div", { className:
|
|
769
|
+
/* @__PURE__ */ t.jsxs("div", { className: d("grid w-full grid-cols-2 gap-2 desktop:gap-4", p == null ? void 0 : p.authWrapper), children: [
|
|
816
770
|
/* @__PURE__ */ t.jsx(
|
|
817
|
-
|
|
771
|
+
z,
|
|
818
772
|
{
|
|
819
773
|
...e,
|
|
820
774
|
classes: {
|
|
@@ -825,13 +779,13 @@ const U = j(
|
|
|
825
779
|
}
|
|
826
780
|
),
|
|
827
781
|
/* @__PURE__ */ t.jsx(
|
|
828
|
-
|
|
782
|
+
_,
|
|
829
783
|
{
|
|
830
|
-
...
|
|
784
|
+
...i,
|
|
831
785
|
classes: {
|
|
832
786
|
root: "p-0 outline-0 h-[74px]",
|
|
833
787
|
arrowIcon: "hidden",
|
|
834
|
-
...
|
|
788
|
+
...i.classes
|
|
835
789
|
}
|
|
836
790
|
}
|
|
837
791
|
)
|
|
@@ -840,45 +794,45 @@ const U = j(
|
|
|
840
794
|
}
|
|
841
795
|
);
|
|
842
796
|
}
|
|
843
|
-
},
|
|
844
|
-
|
|
797
|
+
}, Nt = (r) => dt(r), H = ({ links: r, classes: e }) => /* @__PURE__ */ t.jsx("nav", { className: d("flex flex-col gap-1", e == null ? void 0 : e.linksWrapper), children: r == null ? void 0 : r.map(({ path: i, label: n }) => /* @__PURE__ */ t.jsx(
|
|
798
|
+
N,
|
|
845
799
|
{
|
|
846
800
|
classes: {
|
|
847
|
-
link:
|
|
848
|
-
icon:
|
|
801
|
+
link: d("w-max", e == null ? void 0 : e.linkText),
|
|
802
|
+
icon: d(e == null ? void 0 : e.linkIcon)
|
|
849
803
|
},
|
|
850
804
|
intent: "dark",
|
|
851
|
-
href:
|
|
852
|
-
children:
|
|
805
|
+
href: i,
|
|
806
|
+
children: n
|
|
853
807
|
},
|
|
854
|
-
|
|
855
|
-
)) }),
|
|
856
|
-
var
|
|
857
|
-
const { isMobile:
|
|
858
|
-
return /* @__PURE__ */ t.jsxs("div", { className:
|
|
859
|
-
!
|
|
860
|
-
/* @__PURE__ */ t.jsx("h5", { className:
|
|
861
|
-
/* @__PURE__ */ t.jsx(
|
|
808
|
+
i
|
|
809
|
+
)) }), pt = ({ groupLabel: r, links: e, mobileAccordionProps: i, classes: n }) => {
|
|
810
|
+
var p, x, h;
|
|
811
|
+
const { isMobile: o } = b();
|
|
812
|
+
return /* @__PURE__ */ t.jsxs("div", { className: d("flex flex-col gap-2", n == null ? void 0 : n.columnGroup), children: [
|
|
813
|
+
!o && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
814
|
+
/* @__PURE__ */ t.jsx("h5", { className: d("mob-body-medium-l text-color-dark desktop:desk-body-medium-l", n == null ? void 0 : n.columnGroupHeading), children: r }),
|
|
815
|
+
/* @__PURE__ */ t.jsx(H, { links: e, classes: n == null ? void 0 : n.linksList }, "desktop")
|
|
862
816
|
] }),
|
|
863
|
-
|
|
864
|
-
|
|
817
|
+
o && /* @__PURE__ */ t.jsx(
|
|
818
|
+
E,
|
|
865
819
|
{
|
|
866
820
|
defaultOpen: !0,
|
|
867
|
-
label:
|
|
868
|
-
icon: /* @__PURE__ */ t.jsx(
|
|
869
|
-
...
|
|
821
|
+
label: r,
|
|
822
|
+
icon: /* @__PURE__ */ t.jsx(l, { name: "arrows/arrowRight", className: d("rotate-90 transition-transform group-data-[state=open]:-rotate-90") }),
|
|
823
|
+
...i,
|
|
870
824
|
classes: {
|
|
871
|
-
...
|
|
825
|
+
...i == null ? void 0 : i.classes,
|
|
872
826
|
header: {
|
|
873
|
-
trigger:
|
|
827
|
+
trigger: d("p-0 bg-color-blue-grey-100", (x = (p = i == null ? void 0 : i.classes) == null ? void 0 : p.header) == null ? void 0 : x.trigger)
|
|
874
828
|
},
|
|
875
|
-
contentInner:
|
|
829
|
+
contentInner: d("py-2 px-4", (h = i == null ? void 0 : i.classes) == null ? void 0 : h.contentInner)
|
|
876
830
|
},
|
|
877
|
-
children: /* @__PURE__ */ t.jsx(
|
|
831
|
+
children: /* @__PURE__ */ t.jsx(H, { links: e, classes: n == null ? void 0 : n.linksList }, "mobile")
|
|
878
832
|
}
|
|
879
833
|
)
|
|
880
834
|
] });
|
|
881
|
-
},
|
|
835
|
+
}, xt = ({ column: r, mobileAccordionProps: e, classes: i }) => /* @__PURE__ */ t.jsx("div", { className: d("flex flex-col gap-4 desktop:gap-6", i == null ? void 0 : i.column), children: r == null ? void 0 : r.map((n) => /* @__PURE__ */ t.jsx(pt, { ...e, ...n, classes: i == null ? void 0 : i.columnGroup }, n.groupLabel)) }), mt = k("grid gap-4 grid-cols-1", {
|
|
882
836
|
variants: {
|
|
883
837
|
variant: {
|
|
884
838
|
twoCols: "desktop:grid-cols-2",
|
|
@@ -889,36 +843,36 @@ const U = j(
|
|
|
889
843
|
defaultVariants: {
|
|
890
844
|
variant: "fourCols"
|
|
891
845
|
}
|
|
892
|
-
}),
|
|
893
|
-
var h,
|
|
894
|
-
const { variant:
|
|
895
|
-
return /* @__PURE__ */ t.jsx("section", { id: "inter-linking", className:
|
|
896
|
-
|
|
846
|
+
}), yt = ({ config: r, headline: e, mobileAccordionProps: i, rootAccordionProps: n, classes: o }) => {
|
|
847
|
+
var h, u, f;
|
|
848
|
+
const { variant: p, details: x } = r;
|
|
849
|
+
return /* @__PURE__ */ t.jsx("section", { id: "inter-linking", className: d("min-w-full desktop:min-w-[1140px]", o == null ? void 0 : o.root), children: /* @__PURE__ */ t.jsx(j, { children: /* @__PURE__ */ t.jsx(
|
|
850
|
+
E,
|
|
897
851
|
{
|
|
898
852
|
defaultOpen: !0,
|
|
899
|
-
label: /* @__PURE__ */ t.jsx(a, { as: "h4", className:
|
|
900
|
-
...
|
|
853
|
+
label: /* @__PURE__ */ t.jsx(a, { as: "h4", className: d("text-left", o == null ? void 0 : o.headline), children: e }),
|
|
854
|
+
...n,
|
|
901
855
|
classes: {
|
|
902
|
-
...
|
|
856
|
+
...n == null ? void 0 : n.classes,
|
|
903
857
|
header: {
|
|
904
|
-
trigger:
|
|
858
|
+
trigger: d("bg-color-blue-grey-100", (u = (h = n == null ? void 0 : n.classes) == null ? void 0 : h.header) == null ? void 0 : u.trigger)
|
|
905
859
|
},
|
|
906
|
-
content:
|
|
860
|
+
content: d("max-w-full bg-color-blue-grey-100 relative", (f = n == null ? void 0 : n.classes) == null ? void 0 : f.content)
|
|
907
861
|
},
|
|
908
|
-
children: /* @__PURE__ */ t.jsx("div", { className:
|
|
862
|
+
children: /* @__PURE__ */ t.jsx("div", { className: d(mt({ variant: p }), o == null ? void 0 : o.columnsWrapper), children: x == null ? void 0 : x.map((m, y) => /* @__PURE__ */ t.jsx(xt, { ...m, ...i, classes: o == null ? void 0 : o.column }, y)) })
|
|
909
863
|
}
|
|
910
864
|
) }) });
|
|
911
865
|
};
|
|
912
866
|
export {
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
867
|
+
R as Advantages,
|
|
868
|
+
Nt as AuthProvider,
|
|
869
|
+
kt as Banner,
|
|
870
|
+
B as BannerWithSeparateImg,
|
|
871
|
+
at as Benefit,
|
|
872
|
+
bt as Footer,
|
|
873
|
+
jt as Header,
|
|
874
|
+
yt as InterLinking,
|
|
875
|
+
wt as LongBanner,
|
|
876
|
+
gt as Stepper
|
|
923
877
|
};
|
|
924
878
|
//# sourceMappingURL=widget.js.map
|