@scbt-ecom/ui 0.45.1 → 0.46.0
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/{index-DV_MMMPA.js → index-BrkPKCF9.js} +5938 -5904
- package/dist/index-BrkPKCF9.js.map +1 -0
- package/dist/shared/ui/formElements/uncontrolled/autocomplete/Autocomplete.d.ts +1 -5
- package/dist/shared/ui/formElements/uncontrolled/index.d.ts +1 -0
- package/dist/shared/ui/formElements/uncontrolled/select/Select.d.ts +8 -0
- package/dist/shared/ui/formElements/uncontrolled/select/index.d.ts +1 -2
- package/dist/shared/ui/formElements/uncontrolled/select/model/index.d.ts +1 -1
- package/dist/shared/ui/formElements/uncontrolled/select/model/types.d.ts +1 -1
- package/dist/shared/validation/base/base.constants.d.ts +1 -0
- package/dist/shared/validation/base/base.validators.d.ts +2 -0
- package/dist/shared/validation/base/url.validators.d.ts +28 -0
- package/dist/shared/validation/index.d.ts +1 -0
- package/dist/ui.js +73 -73
- package/dist/ui.js.map +1 -1
- package/dist/{utils-DnWHDMk6.js → utils-SIizw_5C.js} +544 -530
- package/dist/utils-SIizw_5C.js.map +1 -0
- package/dist/validation.js +174 -161
- package/dist/validation.js.map +1 -1
- package/dist/widget.js +250 -280
- package/dist/widget.js.map +1 -1
- package/dist/widgets/banner/Banner.d.ts +7 -10
- package/dist/widgets/banner/ui/banners/BannerImageFull.d.ts +1 -1
- package/dist/widgets/banner/ui/banners/BannerWithSeparateImg.d.ts +1 -1
- package/dist/widgets/banner/ui/index.d.ts +2 -0
- package/package.json +1 -1
- package/dist/index-DV_MMMPA.js.map +0 -1
- package/dist/shared/ui/formElements/uncontrolled/select/model/compareByValue.d.ts +0 -2
- package/dist/utils-DnWHDMk6.js.map +0 -1
package/dist/widget.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { j as t, B as
|
|
2
|
-
import { s as
|
|
1
|
+
import { j as t, B as N, H as j, c as h, R as k, P as H, b as L, I as f, C as v, S as R, a as W, L as D, d as c, A as y, e as O } from "./index-BrkPKCF9.js";
|
|
2
|
+
import { s as V } from "./scrollToElement-B-reg4jF.js";
|
|
3
3
|
import { c as p } from "./typeGuards-yOWv7RXH.js";
|
|
4
|
-
import { a as
|
|
5
|
-
import * as
|
|
4
|
+
import { a as g } from "./useDebounce-QgEEiWs9.js";
|
|
5
|
+
import * as w from "react";
|
|
6
6
|
import { useState as G, useMemo as U, createElement as $ } from "react";
|
|
7
7
|
const Z = h(
|
|
8
8
|
"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",
|
|
@@ -19,19 +19,19 @@ const Z = h(
|
|
|
19
19
|
description: r,
|
|
20
20
|
title: e,
|
|
21
21
|
img: o,
|
|
22
|
-
mobileImg:
|
|
23
|
-
classes:
|
|
22
|
+
mobileImg: n,
|
|
23
|
+
classes: d,
|
|
24
24
|
withButton: i,
|
|
25
25
|
buttonText: x,
|
|
26
26
|
intent: l,
|
|
27
|
-
cardColor:
|
|
27
|
+
cardColor: a
|
|
28
28
|
}) => {
|
|
29
|
-
const { isDesktop:
|
|
30
|
-
|
|
29
|
+
const { isDesktop: u } = g(), m = /* @__PURE__ */ t.jsx(t.Fragment, { children: /* @__PURE__ */ t.jsx(
|
|
30
|
+
N,
|
|
31
31
|
{
|
|
32
32
|
intent: "primary",
|
|
33
|
-
className: p("desktop:w-[200px]",
|
|
34
|
-
onClick: () =>
|
|
33
|
+
className: p("desktop:w-[200px]", d == null ? void 0 : d.button),
|
|
34
|
+
onClick: () => V("personal_form"),
|
|
35
35
|
size: "lg",
|
|
36
36
|
children: x
|
|
37
37
|
}
|
|
@@ -39,16 +39,16 @@ const Z = h(
|
|
|
39
39
|
return /* @__PURE__ */ t.jsxs(
|
|
40
40
|
"li",
|
|
41
41
|
{
|
|
42
|
-
className: p(Z({ intent: l }), { "pb-0":
|
|
42
|
+
className: p(Z({ intent: l }), { "pb-0": n }, { "pb-12": !n }, a, d == null ? void 0 : d.root),
|
|
43
43
|
children: [
|
|
44
|
-
/* @__PURE__ */ t.jsxs("div", { className: p("flex flex-col items-start justify-between px-4 desktop:px-8 desktop:py-8",
|
|
45
|
-
/* @__PURE__ */ t.jsxs("div", { className: p("flex flex-col gap-4",
|
|
46
|
-
/* @__PURE__ */ t.jsx(
|
|
47
|
-
/* @__PURE__ */ t.jsx("p", { className: p("mob-body-regular-l text-icon-blue-grey-800 desktop:desk-body-regular-l",
|
|
44
|
+
/* @__PURE__ */ t.jsxs("div", { className: p("flex flex-col items-start justify-between px-4 desktop:px-8 desktop:py-8", d == null ? void 0 : d.wrapper), children: [
|
|
45
|
+
/* @__PURE__ */ t.jsxs("div", { className: p("flex flex-col gap-4", d == null ? void 0 : d.textContainer), children: [
|
|
46
|
+
/* @__PURE__ */ t.jsx(j, { as: "h4", className: p("desktop:desk-title-bold-s", d == null ? void 0 : d.title), children: e }),
|
|
47
|
+
/* @__PURE__ */ t.jsx("p", { className: p("mob-body-regular-l text-icon-blue-grey-800 desktop:desk-body-regular-l", d == null ? void 0 : d.description), children: r })
|
|
48
48
|
] }),
|
|
49
|
-
i &&
|
|
49
|
+
i && u && m
|
|
50
50
|
] }),
|
|
51
|
-
(
|
|
51
|
+
(n || u) && o && /* @__PURE__ */ t.jsx("div", { className: p("flex w-full justify-end", d == null ? void 0 : d.imgContainer), children: /* @__PURE__ */ t.jsx("img", { className: p("h-[246px] object-cover", d == null ? void 0 : d.img), src: o, alt: e }) })
|
|
52
52
|
]
|
|
53
53
|
},
|
|
54
54
|
o
|
|
@@ -61,20 +61,20 @@ const Z = h(
|
|
|
61
61
|
fourCards: "grid-cols-1 mobile:grid-rows-[400px,1fr,1fr,400px] desktop:grid-cols-3"
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
|
-
}), Gt = ({ heading: r, cards: e, classes: o, intent:
|
|
65
|
-
/* @__PURE__ */ t.jsx(
|
|
66
|
-
/* @__PURE__ */ t.jsx("ul", { className: p(J({ intent:
|
|
64
|
+
}), Gt = ({ heading: r, cards: e, classes: o, intent: n }) => /* @__PURE__ */ t.jsx("section", { className: p("pb-20", o == null ? void 0 : o.root), children: /* @__PURE__ */ t.jsxs(k, { className: o == null ? void 0 : o.container, children: [
|
|
65
|
+
/* @__PURE__ */ t.jsx(j, { className: p("mb-8", o == null ? void 0 : o.heading), as: "h2", children: r }),
|
|
66
|
+
/* @__PURE__ */ t.jsx("ul", { className: p(J({ intent: n }), o == null ? void 0 : o.grid), children: e == null ? void 0 : e.map((d) => /* @__PURE__ */ t.jsx(q, { intent: n, classes: o == null ? void 0 : o.item, ...d }, d.img)) })
|
|
67
67
|
] }) }), K = (r) => {
|
|
68
68
|
const { variant: e, details: o } = r;
|
|
69
69
|
switch (e) {
|
|
70
70
|
case "withButton":
|
|
71
|
-
return /* @__PURE__ */ t.jsx(
|
|
71
|
+
return /* @__PURE__ */ t.jsx(N, { intent: "secondary", size: "sm", ...o, children: (o == null ? void 0 : o.children) || "Оформить заявку" });
|
|
72
72
|
case "withPhone":
|
|
73
73
|
return /* @__PURE__ */ t.jsx(H, { classes: { root: "items-end" }, ...o });
|
|
74
74
|
default:
|
|
75
75
|
return null;
|
|
76
76
|
}
|
|
77
|
-
}, Ut = ({ logoPath: r = "/", logoType: e = "main", config: o, classes:
|
|
77
|
+
}, Ut = ({ logoPath: r = "/", logoType: e = "main", config: o, classes: n }) => /* @__PURE__ */ t.jsx("header", { className: p("flex h-[64px] items-center justify-center bg-color-white desktop:h-[72px]", n == null ? void 0 : n.header), children: /* @__PURE__ */ t.jsx(k, { className: p(n == null ? void 0 : n.container), children: /* @__PURE__ */ t.jsxs("div", { className: p("flex items-center justify-between gap-5", n == null ? void 0 : n.wrapper), children: [
|
|
78
78
|
/* @__PURE__ */ t.jsx(
|
|
79
79
|
"a",
|
|
80
80
|
{
|
|
@@ -84,35 +84,35 @@ const Z = h(
|
|
|
84
84
|
rel: "noreferrer",
|
|
85
85
|
className: p(
|
|
86
86
|
"flex items-center justify-center [&_svg]:w-[132px] desktop:[&_svg]:h-[32px] desktop:[&_svg]:w-[192px]",
|
|
87
|
-
|
|
87
|
+
n == null ? void 0 : n.logo
|
|
88
88
|
),
|
|
89
89
|
children: L[e]
|
|
90
90
|
}
|
|
91
91
|
),
|
|
92
92
|
K(o)
|
|
93
|
-
] }) }) }),
|
|
94
|
-
var
|
|
95
|
-
const
|
|
93
|
+
] }) }) }), S = ({ buttonsConfig: r, classes: e, className: o }) => {
|
|
94
|
+
var d;
|
|
95
|
+
const n = (r == null ? void 0 : r.secondary) && r.secondary.children;
|
|
96
96
|
return /* @__PURE__ */ t.jsxs(
|
|
97
97
|
"div",
|
|
98
98
|
{
|
|
99
99
|
"data-id": "banner-buttons-group",
|
|
100
100
|
className: p(
|
|
101
101
|
"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",
|
|
102
|
-
{ "flex items-center gap-4":
|
|
102
|
+
{ "flex items-center gap-4": n },
|
|
103
103
|
e == null ? void 0 : e.group,
|
|
104
104
|
o
|
|
105
105
|
),
|
|
106
106
|
children: [
|
|
107
|
-
/* @__PURE__ */ t.jsx(
|
|
108
|
-
|
|
109
|
-
|
|
107
|
+
/* @__PURE__ */ t.jsx(N, { intent: "primary", ...r.primary, isFull: !0, className: p("desktop:max-w-[216px]", e == null ? void 0 : e.primary), children: r.primary.children }),
|
|
108
|
+
n && /* @__PURE__ */ t.jsx(
|
|
109
|
+
N,
|
|
110
110
|
{
|
|
111
111
|
intent: "secondary",
|
|
112
112
|
...r == null ? void 0 : r.secondary,
|
|
113
113
|
isFull: !0,
|
|
114
114
|
className: p("desktop:max-w-[216px]", e == null ? void 0 : e.secondary),
|
|
115
|
-
children: (
|
|
115
|
+
children: (d = r == null ? void 0 : r.secondary) == null ? void 0 : d.children
|
|
116
116
|
}
|
|
117
117
|
)
|
|
118
118
|
]
|
|
@@ -122,140 +122,110 @@ const Z = h(
|
|
|
122
122
|
headTitle: r,
|
|
123
123
|
subtitle: e,
|
|
124
124
|
buttonsConfig: o,
|
|
125
|
-
|
|
126
|
-
classes:
|
|
127
|
-
|
|
128
|
-
|
|
125
|
+
advantages: n,
|
|
126
|
+
classes: d,
|
|
127
|
+
imgMobile: i,
|
|
128
|
+
imgDesktop: x
|
|
129
129
|
}) => {
|
|
130
130
|
var m;
|
|
131
|
-
const { isDesktop: l, isMobile:
|
|
131
|
+
const { isDesktop: l, isMobile: a } = g(), u = /* @__PURE__ */ t.jsx(
|
|
132
132
|
"div",
|
|
133
133
|
{
|
|
134
|
-
"data-id": "banner-advantages",
|
|
135
134
|
className: p(
|
|
136
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",
|
|
137
|
-
|
|
136
|
+
d == null ? void 0 : d.advantageContainer
|
|
138
137
|
),
|
|
139
|
-
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(E, { ...n })
|
|
140
139
|
}
|
|
141
140
|
);
|
|
142
141
|
return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
143
|
-
/* @__PURE__ */ t.jsxs("section", { "data-id": "banner
|
|
144
|
-
/* @__PURE__ */ t.jsx(
|
|
145
|
-
|
|
146
|
-
{
|
|
147
|
-
"
|
|
148
|
-
className: "absolute bottom-0 left-0 right-0 top-0 z-[-1] mx-auto h-full max-w-[1920px] desktop:h-[456px]",
|
|
149
|
-
children: /* @__PURE__ */ t.jsxs("picture", { children: [
|
|
150
|
-
/* @__PURE__ */ t.jsx("source", { media: "(min-width: 1128px)", srcSet: x == null ? void 0 : x.large }),
|
|
151
|
-
/* @__PURE__ */ t.jsx("source", { media: "(max-width: 1127px)", srcSet: x == null ? void 0 : x.mob }),
|
|
142
|
+
/* @__PURE__ */ t.jsxs("section", { "data-test-id": "banner", className: p("relative h-[552px] desktop:h-[456px]", d == null ? void 0 : d.root), children: [
|
|
143
|
+
/* @__PURE__ */ t.jsx("div", { className: "absolute bottom-0 left-0 right-0 top-0 z-[-1] mx-auto h-full max-w-[1920px] desktop:h-[456px]", children: a ? i : x }),
|
|
144
|
+
/* @__PURE__ */ t.jsxs(k, { className: p("h-full", d == null ? void 0 : d.container), children: [
|
|
145
|
+
/* @__PURE__ */ t.jsx("div", { className: p("flex h-full", d == null ? void 0 : d.wrapper), children: /* @__PURE__ */ t.jsxs("div", { className: p("flex w-[328px] flex-col gap-10 pt-6 desktop:w-full desktop:pt-20", d == null ? void 0 : d.textBlock), children: [
|
|
146
|
+
/* @__PURE__ */ t.jsxs("div", { className: "flex flex-col gap-4", children: [
|
|
152
147
|
/* @__PURE__ */ t.jsx(
|
|
153
|
-
"
|
|
148
|
+
"div",
|
|
154
149
|
{
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
150
|
+
dangerouslySetInnerHTML: { __html: r },
|
|
151
|
+
className: p("mob-headline-bold-m text-color-dark desktop:desk-headline-bold-l", d == null ? void 0 : d.title)
|
|
152
|
+
}
|
|
153
|
+
),
|
|
154
|
+
/* @__PURE__ */ t.jsx(
|
|
155
|
+
"div",
|
|
156
|
+
{
|
|
157
|
+
dangerouslySetInnerHTML: { __html: e },
|
|
158
|
+
className: p("desk-body-regular-l text-color-dark", d == null ? void 0 : d.subtitle)
|
|
159
159
|
}
|
|
160
160
|
)
|
|
161
|
-
] })
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
/* @__PURE__ */ t.jsx("div", { "data-id": "banner", className: p("flex h-full", n == null ? void 0 : n.wrapper), children: /* @__PURE__ */ t.jsxs(
|
|
166
|
-
"div",
|
|
167
|
-
{
|
|
168
|
-
"data-id": "banner-text-block",
|
|
169
|
-
className: p("flex w-[328px] flex-col gap-10 pt-6 desktop:w-full desktop:pt-20", n == null ? void 0 : n.textBlock),
|
|
170
|
-
children: [
|
|
171
|
-
/* @__PURE__ */ t.jsxs("div", { className: "flex flex-col gap-4", children: [
|
|
172
|
-
/* @__PURE__ */ t.jsx(f, { "data-id": "banner-title", as: "h1", className: p("text-color-white", n == null ? void 0 : n.title), children: r }),
|
|
173
|
-
/* @__PURE__ */ t.jsx("p", { "data-id": "banner-subtitle", className: p("desk-body-regular-l text-color-white", n == null ? void 0 : n.subtitle), children: e })
|
|
174
|
-
] }),
|
|
175
|
-
/* @__PURE__ */ t.jsx(
|
|
176
|
-
E,
|
|
177
|
-
{
|
|
178
|
-
className: "self-end desktop:self-center",
|
|
179
|
-
"data-id": "banner-buttons-group",
|
|
180
|
-
buttonsConfig: o,
|
|
181
|
-
classes: n
|
|
182
|
-
}
|
|
183
|
-
)
|
|
184
|
-
]
|
|
185
|
-
}
|
|
186
|
-
) }),
|
|
187
|
-
l && a
|
|
161
|
+
] }),
|
|
162
|
+
/* @__PURE__ */ t.jsx(S, { className: "self-end desktop:self-center", buttonsConfig: o, classes: d })
|
|
163
|
+
] }) }),
|
|
164
|
+
l && u
|
|
188
165
|
] })
|
|
189
166
|
] }),
|
|
190
|
-
|
|
167
|
+
a && u
|
|
191
168
|
] });
|
|
192
|
-
},
|
|
169
|
+
}, _ = ({
|
|
193
170
|
headTitle: r,
|
|
194
171
|
subtitle: e,
|
|
195
172
|
buttonsConfig: o,
|
|
196
|
-
|
|
197
|
-
classes:
|
|
198
|
-
|
|
199
|
-
|
|
173
|
+
advantages: n,
|
|
174
|
+
classes: d,
|
|
175
|
+
imgMobile: i,
|
|
176
|
+
withAdvantages: x,
|
|
177
|
+
imgDesktop: l
|
|
200
178
|
}) => {
|
|
201
|
-
var
|
|
202
|
-
const { isDesktop:
|
|
179
|
+
var b;
|
|
180
|
+
const { isDesktop: a, isMobile: u } = g(), m = /* @__PURE__ */ t.jsx(
|
|
203
181
|
"div",
|
|
204
182
|
{
|
|
205
|
-
"data-id": "banner-advantages",
|
|
206
183
|
className: p(
|
|
207
184
|
"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",
|
|
208
|
-
|
|
185
|
+
d == null ? void 0 : d.advantageContainer
|
|
209
186
|
),
|
|
210
|
-
children: (
|
|
187
|
+
children: (n == null ? void 0 : n.config.details) && ((b = n == null ? void 0 : n.config.details) == null ? void 0 : b.length) > 0 && /* @__PURE__ */ t.jsx(E, { ...n })
|
|
211
188
|
}
|
|
212
189
|
);
|
|
213
190
|
return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
214
|
-
/* @__PURE__ */ t.jsx("section", { "data-id": "banner
|
|
215
|
-
/* @__PURE__ */ t.jsxs("div", {
|
|
191
|
+
/* @__PURE__ */ t.jsx("section", { "data-test-id": "banner", className: p("bg-banner-skyblue-300 desktop:h-[456px]", d == null ? void 0 : d.root), children: /* @__PURE__ */ t.jsxs(k, { className: p("relative", d == null ? void 0 : d.container), children: [
|
|
192
|
+
/* @__PURE__ */ t.jsxs("div", { className: p("flex flex-col desktop:flex-row desktop:justify-between", d == null ? void 0 : d.wrapper), children: [
|
|
216
193
|
/* @__PURE__ */ t.jsxs("div", { className: "flex flex-col desktop:gap-10 desktop:pt-20", children: [
|
|
217
|
-
/* @__PURE__ */ t.jsxs("div", {
|
|
218
|
-
/* @__PURE__ */ t.jsx(
|
|
219
|
-
|
|
194
|
+
/* @__PURE__ */ t.jsxs("div", { className: p("flex flex-col gap-4 pt-6 desktop:pt-0", d == null ? void 0 : d.textBlock), children: [
|
|
195
|
+
/* @__PURE__ */ t.jsx(
|
|
196
|
+
"div",
|
|
197
|
+
{
|
|
198
|
+
dangerouslySetInnerHTML: { __html: r },
|
|
199
|
+
className: p("mob-headline-bold-m text-color-dark desktop:desk-headline-bold-l", d == null ? void 0 : d.title)
|
|
200
|
+
}
|
|
201
|
+
),
|
|
202
|
+
/* @__PURE__ */ t.jsx(
|
|
203
|
+
"div",
|
|
204
|
+
{
|
|
205
|
+
dangerouslySetInnerHTML: { __html: e },
|
|
206
|
+
className: p("desk-body-regular-l text-color-dark", d == null ? void 0 : d.subtitle)
|
|
207
|
+
}
|
|
208
|
+
)
|
|
220
209
|
] }),
|
|
221
|
-
/* @__PURE__ */ t.jsx(
|
|
210
|
+
/* @__PURE__ */ t.jsx(S, { buttonsConfig: o, classes: d })
|
|
222
211
|
] }),
|
|
223
|
-
/* @__PURE__ */ t.jsx(
|
|
224
|
-
"div",
|
|
225
|
-
{
|
|
226
|
-
"data-id": "banner-image-wrapper",
|
|
227
|
-
className: p("flex h-[356px] justify-center desktop:h-[456px] desktop:w-[550px]", n == null ? void 0 : n.imageContainer),
|
|
228
|
-
children: /* @__PURE__ */ t.jsxs("picture", { children: [
|
|
229
|
-
/* @__PURE__ */ t.jsx("source", { media: "(min-width: 1128px)", srcSet: x == null ? void 0 : x.large }),
|
|
230
|
-
/* @__PURE__ */ t.jsx("source", { media: "(max-width: 1127px)", srcSet: x == null ? void 0 : x.mob }),
|
|
231
|
-
/* @__PURE__ */ t.jsx(
|
|
232
|
-
"img",
|
|
233
|
-
{
|
|
234
|
-
"data-id": "banner-image",
|
|
235
|
-
src: i,
|
|
236
|
-
alt: "Картинка баннера",
|
|
237
|
-
className: p("h-full object-cover", n == null ? void 0 : n.image)
|
|
238
|
-
}
|
|
239
|
-
)
|
|
240
|
-
] })
|
|
241
|
-
}
|
|
242
|
-
)
|
|
212
|
+
/* @__PURE__ */ t.jsx("div", { className: p("flex h-[356px] justify-center desktop:h-[456px] desktop:w-[550px]", d == null ? void 0 : d.imageContainer), children: u ? i : l })
|
|
243
213
|
] }),
|
|
244
|
-
|
|
214
|
+
a && x && m
|
|
245
215
|
] }) }),
|
|
246
|
-
u &&
|
|
216
|
+
u && x && m
|
|
247
217
|
] });
|
|
248
|
-
}, $t = ({
|
|
218
|
+
}, $t = ({ variant: r, ...e }) => {
|
|
249
219
|
switch (r) {
|
|
250
220
|
case "separateImg":
|
|
251
|
-
return /* @__PURE__ */ t.jsx(
|
|
221
|
+
return /* @__PURE__ */ t.jsx(_, { ...e });
|
|
252
222
|
case "fullImg":
|
|
253
223
|
return /* @__PURE__ */ t.jsx(Q, { ...e });
|
|
254
224
|
default:
|
|
255
|
-
return /* @__PURE__ */ t.jsx(
|
|
225
|
+
return /* @__PURE__ */ t.jsx(_, { ...e });
|
|
256
226
|
}
|
|
257
|
-
},
|
|
258
|
-
const { variant: o, details:
|
|
227
|
+
}, E = ({ config: r, classes: e }) => {
|
|
228
|
+
const { variant: o, details: n } = r;
|
|
259
229
|
return /* @__PURE__ */ t.jsx(
|
|
260
230
|
"div",
|
|
261
231
|
{
|
|
@@ -265,7 +235,7 @@ const Z = h(
|
|
|
265
235
|
{ "desktop:max-w-[1140px]": o === "fourCards" },
|
|
266
236
|
e == null ? void 0 : e.root
|
|
267
237
|
),
|
|
268
|
-
children:
|
|
238
|
+
children: n == null ? void 0 : n.map(({ title: d, description: i }) => /* @__PURE__ */ t.jsxs(
|
|
269
239
|
"div",
|
|
270
240
|
{
|
|
271
241
|
className: p(
|
|
@@ -273,28 +243,28 @@ const Z = h(
|
|
|
273
243
|
e == null ? void 0 : e.item
|
|
274
244
|
),
|
|
275
245
|
children: [
|
|
276
|
-
/* @__PURE__ */ t.jsx(
|
|
246
|
+
/* @__PURE__ */ t.jsx(j, { as: "h4", className: p("text-color-dark", e == null ? void 0 : e.title), children: d }),
|
|
277
247
|
/* @__PURE__ */ t.jsx("p", { className: p("desk-body-regular-l text-color-secondary", e == null ? void 0 : e.description), children: i })
|
|
278
248
|
]
|
|
279
249
|
},
|
|
280
|
-
|
|
250
|
+
d
|
|
281
251
|
))
|
|
282
252
|
}
|
|
283
253
|
);
|
|
284
|
-
}, X = ({ socialsLinks: r, classes: e }) => /* @__PURE__ */ t.jsx("div", { className: p("mt-4 flex items-center gap-2 desktop:mt-6", e == null ? void 0 : e.socialRoot), children: r == null ? void 0 : r.map(({ iconName: o, href:
|
|
254
|
+
}, X = ({ socialsLinks: r, classes: e }) => /* @__PURE__ */ t.jsx("div", { className: p("mt-4 flex items-center gap-2 desktop:mt-6", e == null ? void 0 : e.socialRoot), children: r == null ? void 0 : r.map(({ iconName: o, href: n }) => /* @__PURE__ */ t.jsx(
|
|
285
255
|
"a",
|
|
286
256
|
{
|
|
287
257
|
className: p("flex size-8 items-center justify-center rounded-full bg-[#52576a] p-2", e == null ? void 0 : e.socialLink),
|
|
288
|
-
href:
|
|
258
|
+
href: n,
|
|
289
259
|
"aria-label": o.replace("social/", ""),
|
|
290
|
-
children: /* @__PURE__ */ t.jsx(
|
|
260
|
+
children: /* @__PURE__ */ t.jsx(f, { name: o, className: p("h-full w-full text-icon-white", e == null ? void 0 : e.socialIcon) })
|
|
291
261
|
},
|
|
292
|
-
|
|
293
|
-
)) }), Y = (r) => `${r[0]} ${r.slice(1, 4)} ${r.slice(4, 7)}-${r.slice(7, 9)}-${r.slice(9)}`, A = ({ phones: r, classes: e }) => /* @__PURE__ */ t.jsx("div", { className: p("flex flex-col gap-4 desktop:items-end", e == null ? void 0 : e.phonesRoot), children: r == null ? void 0 : r.map(({ phone: o, text:
|
|
262
|
+
n
|
|
263
|
+
)) }), Y = (r) => `${r[0]} ${r.slice(1, 4)} ${r.slice(4, 7)}-${r.slice(7, 9)}-${r.slice(9)}`, A = ({ phones: r, classes: e }) => /* @__PURE__ */ t.jsx("div", { className: p("flex flex-col gap-4 desktop:items-end", e == null ? void 0 : e.phonesRoot), children: r == null ? void 0 : r.map(({ phone: o, text: n }) => /* @__PURE__ */ t.jsx(
|
|
294
264
|
H,
|
|
295
265
|
{
|
|
296
266
|
phone: Y(o),
|
|
297
|
-
text:
|
|
267
|
+
text: n,
|
|
298
268
|
classes: {
|
|
299
269
|
root: p(e == null ? void 0 : e.phoneWrapper),
|
|
300
270
|
text: p("text-color-footer", e == null ? void 0 : e.phoneText),
|
|
@@ -312,10 +282,10 @@ const Z = h(
|
|
|
312
282
|
r == null ? void 0 : r.navRoot
|
|
313
283
|
),
|
|
314
284
|
children: o == null ? void 0 : o.map(
|
|
315
|
-
({ column:
|
|
316
|
-
/* @__PURE__ */ t.jsx("div", { className: p("desk-body-medium-l text-color-white", r == null ? void 0 : r.navLabel), children:
|
|
285
|
+
({ column: n }) => n == null ? void 0 : n.map(({ groupLabel: d, links: i }) => /* @__PURE__ */ t.jsxs("div", { className: p("flex flex-col gap-4", r == null ? void 0 : r.navGroup), children: [
|
|
286
|
+
/* @__PURE__ */ t.jsx("div", { className: p("desk-body-medium-l text-color-white", r == null ? void 0 : r.navLabel), children: d }),
|
|
317
287
|
/* @__PURE__ */ t.jsx("div", { className: p("flex flex-col gap-1", r == null ? void 0 : r.navLinks), children: i == null ? void 0 : i.map(({ path: x, label: l }) => /* @__PURE__ */ t.jsx(
|
|
318
|
-
|
|
288
|
+
v,
|
|
319
289
|
{
|
|
320
290
|
href: x,
|
|
321
291
|
"aria-label": l,
|
|
@@ -328,7 +298,7 @@ const Z = h(
|
|
|
328
298
|
},
|
|
329
299
|
l
|
|
330
300
|
)) })
|
|
331
|
-
] },
|
|
301
|
+
] }, d))
|
|
332
302
|
)
|
|
333
303
|
}
|
|
334
304
|
);
|
|
@@ -344,10 +314,10 @@ const Z = h(
|
|
|
344
314
|
"aria-label": "logo",
|
|
345
315
|
href: "https://sovcombank.ru/",
|
|
346
316
|
className: p("block h-[24px] w-[132px] desktop:h-[32px] desktop:w-[194px]", r == null ? void 0 : r.footerLogo),
|
|
347
|
-
children: /* @__PURE__ */ t.jsx(
|
|
317
|
+
children: /* @__PURE__ */ t.jsx(f, { name: "brandLogos/logoWhite", className: p("size-full", r == null ? void 0 : r.footerLogoIcon) })
|
|
348
318
|
}
|
|
349
319
|
), et = ({ classes: r }) => /* @__PURE__ */ t.jsx(
|
|
350
|
-
|
|
320
|
+
v,
|
|
351
321
|
{
|
|
352
322
|
intent: "white",
|
|
353
323
|
href: "https://sovcombank.ru/site-map",
|
|
@@ -361,8 +331,8 @@ const Z = h(
|
|
|
361
331
|
children: "Карта сайта"
|
|
362
332
|
}
|
|
363
333
|
), rt = ({ text: r, classes: e }) => {
|
|
364
|
-
const [o,
|
|
365
|
-
return
|
|
334
|
+
const [o, n] = w.useState(!1), [d, i] = w.useState(!1), x = w.useRef(null);
|
|
335
|
+
return w.useEffect(() => {
|
|
366
336
|
const l = x.current;
|
|
367
337
|
l && i(l.scrollHeight > l.clientHeight);
|
|
368
338
|
}, []), /* @__PURE__ */ t.jsxs("div", { className: p("mt-8 flex flex-col gap-4", e == null ? void 0 : e.ligalRoot), children: [
|
|
@@ -374,12 +344,12 @@ const Z = h(
|
|
|
374
344
|
dangerouslySetInnerHTML: { __html: r }
|
|
375
345
|
}
|
|
376
346
|
),
|
|
377
|
-
|
|
347
|
+
d && /* @__PURE__ */ t.jsx(
|
|
378
348
|
"div",
|
|
379
349
|
{
|
|
380
350
|
tabIndex: 0,
|
|
381
351
|
role: "button",
|
|
382
|
-
onClick: () =>
|
|
352
|
+
onClick: () => n((l) => !l),
|
|
383
353
|
className: p(
|
|
384
354
|
"desk-body-regular-l w-max cursor-pointer font-medium text-color-footer transition-colors hover:text-color-white",
|
|
385
355
|
e == null ? void 0 : e.ligalButton
|
|
@@ -393,16 +363,16 @@ const Z = h(
|
|
|
393
363
|
withSocialsLinks: r = !0,
|
|
394
364
|
withPhones: e = !0,
|
|
395
365
|
withNavLinks: o = !0,
|
|
396
|
-
withCopyright:
|
|
397
|
-
withSiteMap:
|
|
366
|
+
withCopyright: n = !0,
|
|
367
|
+
withSiteMap: d = !0,
|
|
398
368
|
withLigal: i = !0
|
|
399
369
|
} = {},
|
|
400
370
|
socialsLinks: x = [],
|
|
401
371
|
phones: l = [],
|
|
402
|
-
ligal:
|
|
403
|
-
copyright:
|
|
372
|
+
ligal: a,
|
|
373
|
+
copyright: u = "",
|
|
404
374
|
classes: m,
|
|
405
|
-
config:
|
|
375
|
+
config: b
|
|
406
376
|
}) => /* @__PURE__ */ t.jsx("footer", { className: p("w-full bg-color-footer py-8 desktop:py-10", m == null ? void 0 : m.root), children: /* @__PURE__ */ t.jsx(k, { className: p(m == null ? void 0 : m.footerContainer), children: /* @__PURE__ */ t.jsxs("div", { className: p("mobile:pb-[176px]", m == null ? void 0 : m.footerWrapper), children: [
|
|
407
377
|
/* @__PURE__ */ t.jsxs(
|
|
408
378
|
"div",
|
|
@@ -420,8 +390,8 @@ const Z = h(
|
|
|
420
390
|
]
|
|
421
391
|
}
|
|
422
392
|
),
|
|
423
|
-
o && /* @__PURE__ */ t.jsx(P, { config:
|
|
424
|
-
i && /* @__PURE__ */ t.jsx(rt, { text:
|
|
393
|
+
o && /* @__PURE__ */ t.jsx(P, { config: b, classes: m == null ? void 0 : m.navLinks }),
|
|
394
|
+
i && /* @__PURE__ */ t.jsx(rt, { text: a || "" }),
|
|
425
395
|
/* @__PURE__ */ t.jsxs(
|
|
426
396
|
"div",
|
|
427
397
|
{
|
|
@@ -430,13 +400,13 @@ const Z = h(
|
|
|
430
400
|
m == null ? void 0 : m.footerBottom
|
|
431
401
|
),
|
|
432
402
|
children: [
|
|
433
|
-
|
|
434
|
-
|
|
403
|
+
n && /* @__PURE__ */ t.jsx(s, { text: u, classes: m == null ? void 0 : m.copyright }),
|
|
404
|
+
d && /* @__PURE__ */ t.jsx(et, { classes: m == null ? void 0 : m.siteMap })
|
|
435
405
|
]
|
|
436
406
|
}
|
|
437
407
|
)
|
|
438
|
-
] }) }) }), ot = ({ classes: r, index: e, variant: o, title:
|
|
439
|
-
const i = o === "withTitleAndDescription" &&
|
|
408
|
+
] }) }) }), ot = ({ classes: r, index: e, variant: o, title: n, description: d }) => {
|
|
409
|
+
const i = o === "withTitleAndDescription" && n;
|
|
440
410
|
return /* @__PURE__ */ t.jsxs(
|
|
441
411
|
"div",
|
|
442
412
|
{
|
|
@@ -456,11 +426,11 @@ const Z = h(
|
|
|
456
426
|
}
|
|
457
427
|
),
|
|
458
428
|
/* @__PURE__ */ t.jsxs("div", { className: p("flex flex-col gap-2"), children: [
|
|
459
|
-
i && /* @__PURE__ */ t.jsx(
|
|
429
|
+
i && /* @__PURE__ */ t.jsx(j, { as: "h4", className: p("text-color-dark", r == null ? void 0 : r.title), children: n }),
|
|
460
430
|
/* @__PURE__ */ t.jsx(
|
|
461
431
|
"div",
|
|
462
432
|
{
|
|
463
|
-
dangerouslySetInnerHTML: { __html:
|
|
433
|
+
dangerouslySetInnerHTML: { __html: d ?? "" },
|
|
464
434
|
className: p("desk-body-regular-l text-color-tetriary", r == null ? void 0 : r.description)
|
|
465
435
|
}
|
|
466
436
|
)
|
|
@@ -469,9 +439,9 @@ const Z = h(
|
|
|
469
439
|
}
|
|
470
440
|
);
|
|
471
441
|
}, qt = ({ headline: r, config: e, classes: o }) => {
|
|
472
|
-
const { variant:
|
|
473
|
-
return /* @__PURE__ */ t.jsx(
|
|
474
|
-
/* @__PURE__ */ t.jsx(
|
|
442
|
+
const { variant: n, details: d } = e;
|
|
443
|
+
return /* @__PURE__ */ t.jsx(R, { className: o == null ? void 0 : o.root, children: /* @__PURE__ */ t.jsx(k, { className: o == null ? void 0 : o.container, children: /* @__PURE__ */ t.jsxs("div", { className: p("flex flex-col gap-6 desktop:items-start desktop:gap-12", o == null ? void 0 : o.wrapper), children: [
|
|
444
|
+
/* @__PURE__ */ t.jsx(j, { as: "h2", className: p("text-color-dark", o == null ? void 0 : o.headline), children: r }),
|
|
475
445
|
/* @__PURE__ */ t.jsx(
|
|
476
446
|
"div",
|
|
477
447
|
{
|
|
@@ -479,7 +449,7 @@ const Z = h(
|
|
|
479
449
|
"flex w-full flex-col items-start gap-6 desktop:flex-row desktop:items-start desktop:gap-12",
|
|
480
450
|
o == null ? void 0 : o.stepsWrapper
|
|
481
451
|
),
|
|
482
|
-
children:
|
|
452
|
+
children: d == null ? void 0 : d.map((i, x) => /* @__PURE__ */ t.jsx(ot, { variant: n, ...i, index: x + 1, classes: o == null ? void 0 : o.step }, i.description))
|
|
483
453
|
}
|
|
484
454
|
)
|
|
485
455
|
] }) }) });
|
|
@@ -570,22 +540,22 @@ const Z = h(
|
|
|
570
540
|
}), xt = ({ data: r, intent: e }) => {
|
|
571
541
|
const {
|
|
572
542
|
title: o,
|
|
573
|
-
description:
|
|
574
|
-
popover:
|
|
543
|
+
description: n,
|
|
544
|
+
popover: d = {
|
|
575
545
|
enabled: !1
|
|
576
546
|
}
|
|
577
547
|
} = r;
|
|
578
548
|
return /* @__PURE__ */ t.jsx("li", { className: p(it({ intent: e })), children: /* @__PURE__ */ t.jsxs("div", { className: "desktop:max-w-[264px]", children: [
|
|
579
549
|
/* @__PURE__ */ t.jsxs("div", { className: p("mb-2 flex items-center gap-2"), children: [
|
|
580
550
|
/* @__PURE__ */ t.jsx("h4", { className: p("mob-title-bold-m text-color-dark"), children: o }),
|
|
581
|
-
|
|
551
|
+
d.enabled && /* @__PURE__ */ t.jsx(W, { triggerElement: /* @__PURE__ */ t.jsx(f, { className: p("size-5 text-icon-blue-grey-600"), name: "info/helpCircle" }), children: d == null ? void 0 : d.text })
|
|
582
552
|
] }),
|
|
583
|
-
/* @__PURE__ */ t.jsx("div", { className: p("mob-body-regular-l text-color-secondary"), dangerouslySetInnerHTML: { __html:
|
|
553
|
+
/* @__PURE__ */ t.jsx("div", { className: p("mob-body-regular-l text-color-secondary"), dangerouslySetInnerHTML: { __html: n } })
|
|
584
554
|
] }) });
|
|
585
|
-
}, C = ({ intent: r, headline: e, desktopHidden: o = !1, mobileHidden:
|
|
586
|
-
const { intent: x = "twoItems", details: l } =
|
|
555
|
+
}, C = ({ intent: r, headline: e, desktopHidden: o = !1, mobileHidden: n = !1 }) => /* @__PURE__ */ t.jsx("h2", { className: p(nt({ intent: r, desktopHidden: o, mobileHidden: n })), children: e }), mt = ({ details: r, intent: e, withButton: o }) => /* @__PURE__ */ t.jsx("ul", { className: p(dt({ intent: e, withButton: o })), children: r == null ? void 0 : r.map((n, d) => /* @__PURE__ */ t.jsx(xt, { intent: e, data: n }, d)) }), Jt = ({ headline: r, buttonConfig: e, withButton: o = !1, config: n, imageComponent: d, classes: i }) => {
|
|
556
|
+
const { intent: x = "twoItems", details: l } = n, a = x === "fourItems", u = x === "twoItems";
|
|
587
557
|
return /* @__PURE__ */ t.jsx("section", { className: p(i == null ? void 0 : i.root), children: /* @__PURE__ */ t.jsxs(k, { className: p(i == null ? void 0 : i.container), children: [
|
|
588
|
-
|
|
558
|
+
u && /* @__PURE__ */ t.jsx(C, { intent: x, headline: r }),
|
|
589
559
|
/* @__PURE__ */ t.jsxs(
|
|
590
560
|
"div",
|
|
591
561
|
{
|
|
@@ -594,17 +564,17 @@ const Z = h(
|
|
|
594
564
|
i == null ? void 0 : i.contentContainer
|
|
595
565
|
),
|
|
596
566
|
children: [
|
|
597
|
-
|
|
598
|
-
/* @__PURE__ */ t.jsx("div", { className: p(pt({ intent: x, withButton: o }), i == null ? void 0 : i.imgContainer), children:
|
|
567
|
+
a && /* @__PURE__ */ t.jsx(C, { intent: x, headline: r, desktopHidden: !0 }),
|
|
568
|
+
/* @__PURE__ */ t.jsx("div", { className: p(pt({ intent: x, withButton: o }), i == null ? void 0 : i.imgContainer), children: d }),
|
|
599
569
|
/* @__PURE__ */ t.jsxs(
|
|
600
570
|
"div",
|
|
601
571
|
{
|
|
602
572
|
className: p("desktop:flex desktop:flex-col desktop:justify-center desktop:py-10", i == null ? void 0 : i.textWithBtnContainer),
|
|
603
573
|
children: [
|
|
604
|
-
|
|
574
|
+
a && /* @__PURE__ */ t.jsx(C, { intent: x, headline: r, mobileHidden: !0 }),
|
|
605
575
|
/* @__PURE__ */ t.jsx(mt, { details: l, intent: x, withButton: o }),
|
|
606
576
|
o && /* @__PURE__ */ t.jsx(
|
|
607
|
-
|
|
577
|
+
N,
|
|
608
578
|
{
|
|
609
579
|
className: p("w-full px-4 desktop:w-max", i == null ? void 0 : i.button),
|
|
610
580
|
size: "lg",
|
|
@@ -620,11 +590,11 @@ const Z = h(
|
|
|
620
590
|
}
|
|
621
591
|
)
|
|
622
592
|
] }) });
|
|
623
|
-
},
|
|
593
|
+
}, I = {
|
|
624
594
|
ESIA: "esia",
|
|
625
595
|
MOBILE_ID: "mobileId",
|
|
626
596
|
COMBINE: "combine"
|
|
627
|
-
},
|
|
597
|
+
}, z = ({ children: r, isLoading: e, classes: o, loaderProps: n }) => /* @__PURE__ */ t.jsx(
|
|
628
598
|
"div",
|
|
629
599
|
{
|
|
630
600
|
tabIndex: 0,
|
|
@@ -642,7 +612,7 @@ const Z = h(
|
|
|
642
612
|
{ "items-center": e },
|
|
643
613
|
o == null ? void 0 : o.wrapper
|
|
644
614
|
),
|
|
645
|
-
children: e ? /* @__PURE__ */ t.jsx(
|
|
615
|
+
children: e ? /* @__PURE__ */ t.jsx(D, { position: "static", classes: { wrapper: "size-8 m-auto" }, ...n }) : r
|
|
646
616
|
}
|
|
647
617
|
)
|
|
648
618
|
}
|
|
@@ -674,7 +644,7 @@ const Z = h(
|
|
|
674
644
|
/* @__PURE__ */ t.jsx("stop", { offset: "0.6875", stopColor: "#EE2F53" }),
|
|
675
645
|
/* @__PURE__ */ t.jsx("stop", { offset: "1", stopColor: "#EE2F53" })
|
|
676
646
|
] }) })
|
|
677
|
-
] }),
|
|
647
|
+
] }), F = ({ mainLink: r, subLink: e, isMobile: o, classes: n }) => /* @__PURE__ */ t.jsxs("div", { className: p("flex flex-col", n == null ? void 0 : n.linksWrapper), children: [
|
|
678
648
|
/* @__PURE__ */ t.jsx(
|
|
679
649
|
"a",
|
|
680
650
|
{
|
|
@@ -683,13 +653,13 @@ const Z = h(
|
|
|
683
653
|
rel: "noreferrer",
|
|
684
654
|
className: p(
|
|
685
655
|
'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',
|
|
686
|
-
|
|
656
|
+
n == null ? void 0 : n.linksMainLink
|
|
687
657
|
),
|
|
688
658
|
children: o ? r.mobileTitle : r.title
|
|
689
659
|
}
|
|
690
660
|
),
|
|
691
661
|
(e == null ? void 0 : e.text) && (e == null ? void 0 : e.href) && /* @__PURE__ */ t.jsx(
|
|
692
|
-
|
|
662
|
+
v,
|
|
693
663
|
{
|
|
694
664
|
intent: "blue",
|
|
695
665
|
withUnderline: !0,
|
|
@@ -697,64 +667,64 @@ const Z = h(
|
|
|
697
667
|
target: "_blank",
|
|
698
668
|
rel: "noreferrer",
|
|
699
669
|
classes: {
|
|
700
|
-
link: p("w-max relative z-[6] p-0 desk-body-regular-m text-color-tetriary",
|
|
670
|
+
link: p("w-max relative z-[6] p-0 desk-body-regular-m text-color-tetriary", n == null ? void 0 : n.linksSubLink)
|
|
701
671
|
},
|
|
702
672
|
children: e == null ? void 0 : e.text
|
|
703
673
|
}
|
|
704
674
|
)
|
|
705
|
-
] }),
|
|
706
|
-
const { isMobile: x } =
|
|
707
|
-
return /* @__PURE__ */ t.jsx(
|
|
675
|
+
] }), B = ({ mainLink: r, subLink: e, isLoading: o, badge: n, loaderProps: d, classes: i }) => {
|
|
676
|
+
const { isMobile: x } = g();
|
|
677
|
+
return /* @__PURE__ */ t.jsx(z, { isLoading: o, loaderProps: d, classes: i == null ? void 0 : i.authWrapper, children: /* @__PURE__ */ t.jsxs(
|
|
708
678
|
"div",
|
|
709
679
|
{
|
|
710
680
|
className: p(
|
|
711
681
|
"flex flex-1 items-center justify-between gap-1",
|
|
712
|
-
{ "justify-center": !
|
|
682
|
+
{ "justify-center": !n && x },
|
|
713
683
|
i == null ? void 0 : i.innerWrapper
|
|
714
684
|
),
|
|
715
685
|
children: [
|
|
716
686
|
/* @__PURE__ */ t.jsxs("div", { className: p("flex items-center gap-1 desktop:gap-4", i == null ? void 0 : i.textContent), children: [
|
|
717
687
|
/* @__PURE__ */ t.jsxs("div", { children: [
|
|
718
|
-
/* @__PURE__ */ t.jsx(
|
|
719
|
-
/* @__PURE__ */ t.jsx(
|
|
720
|
-
/* @__PURE__ */ t.jsx(
|
|
688
|
+
/* @__PURE__ */ t.jsx(f, { name: "logos/mts", className: p("relative z-[9] size-7 desktop:size-8", i == null ? void 0 : i.mtsLogo) }),
|
|
689
|
+
/* @__PURE__ */ t.jsx(f, { name: "logos/megafon", className: p("relative z-[8] -ml-4 size-7 desktop:size-8", i == null ? void 0 : i.megafonLogo) }),
|
|
690
|
+
/* @__PURE__ */ t.jsx(f, { name: "logos/beeline", className: p("relative z-[7] -ml-4 size-7 desktop:size-8", i == null ? void 0 : i.beelineLogo) })
|
|
721
691
|
] }),
|
|
722
|
-
/* @__PURE__ */ t.jsx(
|
|
723
|
-
/* @__PURE__ */ t.jsx(
|
|
692
|
+
/* @__PURE__ */ t.jsx(F, { mainLink: r, subLink: e, isMobile: x, classes: i == null ? void 0 : i.links }),
|
|
693
|
+
/* @__PURE__ */ t.jsx(f, { name: "arrows/arrowRight", className: p("mobile:hidden", i == null ? void 0 : i.arrowIcon) })
|
|
724
694
|
] }),
|
|
725
|
-
|
|
695
|
+
n && /* @__PURE__ */ t.jsx(c, { className: p("bg-color-positive", i == null ? void 0 : i.badge), children: n })
|
|
726
696
|
]
|
|
727
697
|
}
|
|
728
698
|
) });
|
|
729
|
-
},
|
|
730
|
-
const { isMobile: x } =
|
|
731
|
-
return /* @__PURE__ */ t.jsx(
|
|
699
|
+
}, T = ({ mainLink: r, subLink: e, isLoading: o, badge: n, loaderProps: d, classes: i }) => {
|
|
700
|
+
const { isMobile: x } = g();
|
|
701
|
+
return /* @__PURE__ */ t.jsx(z, { isLoading: o, loaderProps: d, classes: i == null ? void 0 : i.authWrapper, children: /* @__PURE__ */ t.jsxs(
|
|
732
702
|
"div",
|
|
733
703
|
{
|
|
734
704
|
className: p(
|
|
735
705
|
"flex flex-1 items-center justify-between gap-1",
|
|
736
|
-
{ "justify-center": !
|
|
706
|
+
{ "justify-center": !n && x },
|
|
737
707
|
i == null ? void 0 : i.innerWrapper
|
|
738
708
|
),
|
|
739
709
|
children: [
|
|
740
710
|
/* @__PURE__ */ t.jsxs("div", { className: p("flex items-center gap-1 desktop:gap-4", i == null ? void 0 : i.textContent), children: [
|
|
741
711
|
/* @__PURE__ */ t.jsx(lt, { className: p("size-7 desktop:size-8", i == null ? void 0 : i.esiaLogo) }),
|
|
742
|
-
/* @__PURE__ */ t.jsx(
|
|
743
|
-
/* @__PURE__ */ t.jsx(
|
|
712
|
+
/* @__PURE__ */ t.jsx(F, { mainLink: r, subLink: e, isMobile: x, classes: i == null ? void 0 : i.links }),
|
|
713
|
+
/* @__PURE__ */ t.jsx(f, { name: "arrows/arrowRight", className: p("mobile:hidden", i == null ? void 0 : i.arrowIcon) })
|
|
744
714
|
] }),
|
|
745
|
-
|
|
715
|
+
n && /* @__PURE__ */ t.jsx(c, { className: p("bg-color-positive", i == null ? void 0 : i.badge), children: n })
|
|
746
716
|
]
|
|
747
717
|
}
|
|
748
718
|
) });
|
|
749
719
|
}, at = (r) => {
|
|
750
720
|
switch (r.mode) {
|
|
751
|
-
case
|
|
752
|
-
return /* @__PURE__ */ t.jsx(M, { ...r });
|
|
753
|
-
case c.MOBILE_ID:
|
|
721
|
+
case I.ESIA:
|
|
754
722
|
return /* @__PURE__ */ t.jsx(T, { ...r });
|
|
755
|
-
case
|
|
723
|
+
case I.MOBILE_ID:
|
|
724
|
+
return /* @__PURE__ */ t.jsx(B, { ...r });
|
|
725
|
+
case I.COMBINE:
|
|
756
726
|
default:
|
|
757
|
-
const { esiaConfig: e, mobileIdConfig: o, subtitle:
|
|
727
|
+
const { esiaConfig: e, mobileIdConfig: o, subtitle: n, badge: d, classes: i } = r, x = !n && !d ? w.Fragment : "div";
|
|
758
728
|
return /* @__PURE__ */ t.jsxs(
|
|
759
729
|
"div",
|
|
760
730
|
{
|
|
@@ -764,12 +734,12 @@ const Z = h(
|
|
|
764
734
|
),
|
|
765
735
|
children: [
|
|
766
736
|
/* @__PURE__ */ t.jsxs(x, { className: p("flex w-full items-center justify-between gap-2", i == null ? void 0 : i.topContent), children: [
|
|
767
|
-
|
|
768
|
-
|
|
737
|
+
n && /* @__PURE__ */ t.jsx("h5", { className: p("desk-body-regular-l flex flex-1 text-color-dark", i == null ? void 0 : i.subtitle), children: n }),
|
|
738
|
+
d && /* @__PURE__ */ t.jsx(c, { className: p("bg-color-positive", i == null ? void 0 : i.badge), children: d })
|
|
769
739
|
] }),
|
|
770
740
|
/* @__PURE__ */ t.jsxs("div", { className: p("grid w-full grid-cols-2 gap-2 desktop:gap-4", i == null ? void 0 : i.authWrapper), children: [
|
|
771
741
|
/* @__PURE__ */ t.jsx(
|
|
772
|
-
|
|
742
|
+
T,
|
|
773
743
|
{
|
|
774
744
|
...e,
|
|
775
745
|
classes: {
|
|
@@ -780,7 +750,7 @@ const Z = h(
|
|
|
780
750
|
}
|
|
781
751
|
),
|
|
782
752
|
/* @__PURE__ */ t.jsx(
|
|
783
|
-
|
|
753
|
+
B,
|
|
784
754
|
{
|
|
785
755
|
...o,
|
|
786
756
|
classes: {
|
|
@@ -795,8 +765,8 @@ const Z = h(
|
|
|
795
765
|
}
|
|
796
766
|
);
|
|
797
767
|
}
|
|
798
|
-
}, Kt = (r) => at(r),
|
|
799
|
-
|
|
768
|
+
}, Kt = (r) => at(r), M = ({ links: r, classes: e }) => /* @__PURE__ */ t.jsx("nav", { className: p("flex flex-col gap-1", e == null ? void 0 : e.linksWrapper), children: r == null ? void 0 : r.map(({ path: o, label: n }) => /* @__PURE__ */ t.jsx(
|
|
769
|
+
v,
|
|
800
770
|
{
|
|
801
771
|
classes: {
|
|
802
772
|
link: p("w-max", e == null ? void 0 : e.linkText),
|
|
@@ -804,23 +774,23 @@ const Z = h(
|
|
|
804
774
|
},
|
|
805
775
|
intent: "dark",
|
|
806
776
|
href: o,
|
|
807
|
-
children:
|
|
777
|
+
children: n
|
|
808
778
|
},
|
|
809
779
|
o
|
|
810
|
-
)) }), ut = ({ groupLabel: r, links: e, mobileAccordionProps: o, classes:
|
|
780
|
+
)) }), ut = ({ groupLabel: r, links: e, mobileAccordionProps: o, classes: n }) => {
|
|
811
781
|
var i, x, l;
|
|
812
|
-
const { isMobile:
|
|
813
|
-
return /* @__PURE__ */ t.jsxs("div", { className: p("flex flex-col gap-2",
|
|
814
|
-
!
|
|
815
|
-
/* @__PURE__ */ t.jsx("h5", { className: p("mob-body-medium-l text-color-dark desktop:desk-body-medium-l",
|
|
816
|
-
/* @__PURE__ */ t.jsx(
|
|
782
|
+
const { isMobile: d } = g();
|
|
783
|
+
return /* @__PURE__ */ t.jsxs("div", { className: p("flex flex-col gap-2", n == null ? void 0 : n.columnGroup), children: [
|
|
784
|
+
!d && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
785
|
+
/* @__PURE__ */ t.jsx("h5", { className: p("mob-body-medium-l text-color-dark desktop:desk-body-medium-l", n == null ? void 0 : n.columnGroupHeading), children: r }),
|
|
786
|
+
/* @__PURE__ */ t.jsx(M, { links: e, classes: n == null ? void 0 : n.linksList }, "desktop")
|
|
817
787
|
] }),
|
|
818
|
-
|
|
819
|
-
|
|
788
|
+
d && /* @__PURE__ */ t.jsx(
|
|
789
|
+
y,
|
|
820
790
|
{
|
|
821
791
|
defaultOpen: !0,
|
|
822
792
|
label: r,
|
|
823
|
-
icon: /* @__PURE__ */ t.jsx(
|
|
793
|
+
icon: /* @__PURE__ */ t.jsx(f, { name: "arrows/arrowRight", className: p("rotate-90 transition-transform group-data-[state=open]:-rotate-90") }),
|
|
824
794
|
...o,
|
|
825
795
|
classes: {
|
|
826
796
|
...o == null ? void 0 : o.classes,
|
|
@@ -829,11 +799,11 @@ const Z = h(
|
|
|
829
799
|
},
|
|
830
800
|
contentInner: p("py-2 px-4", (l = o == null ? void 0 : o.classes) == null ? void 0 : l.contentInner)
|
|
831
801
|
},
|
|
832
|
-
children: /* @__PURE__ */ t.jsx(
|
|
802
|
+
children: /* @__PURE__ */ t.jsx(M, { links: e, classes: n == null ? void 0 : n.linksList }, "mobile")
|
|
833
803
|
}
|
|
834
804
|
)
|
|
835
805
|
] });
|
|
836
|
-
}, ht = ({ column: r, mobileAccordionProps: e, classes: o }) => /* @__PURE__ */ t.jsx("div", { className: p("flex flex-col gap-4 desktop:gap-6", o == null ? void 0 : o.column), children: r == null ? void 0 : r.map((
|
|
806
|
+
}, ht = ({ column: r, mobileAccordionProps: e, classes: o }) => /* @__PURE__ */ t.jsx("div", { className: p("flex flex-col gap-4 desktop:gap-6", o == null ? void 0 : o.column), children: r == null ? void 0 : r.map((n) => /* @__PURE__ */ t.jsx(ut, { ...e, ...n, classes: o == null ? void 0 : o.columnGroup }, n.groupLabel)) }), ft = h("grid gap-4 grid-cols-1", {
|
|
837
807
|
variants: {
|
|
838
808
|
variant: {
|
|
839
809
|
twoCols: "desktop:grid-cols-2",
|
|
@@ -844,48 +814,48 @@ const Z = h(
|
|
|
844
814
|
defaultVariants: {
|
|
845
815
|
variant: "fourCols"
|
|
846
816
|
}
|
|
847
|
-
}), Qt = ({ config: r, headline: e, mobileAccordionProps: o, rootAccordionProps:
|
|
848
|
-
var l,
|
|
817
|
+
}), Qt = ({ config: r, headline: e, mobileAccordionProps: o, rootAccordionProps: n, classes: d }) => {
|
|
818
|
+
var l, a, u;
|
|
849
819
|
const { variant: i, details: x } = r;
|
|
850
|
-
return /* @__PURE__ */ t.jsx("section", { id: "inter-linking", className: p("min-w-full desktop:min-w-[1140px]",
|
|
851
|
-
|
|
820
|
+
return /* @__PURE__ */ t.jsx("section", { id: "inter-linking", className: p("min-w-full desktop:min-w-[1140px]", d == null ? void 0 : d.root), children: /* @__PURE__ */ t.jsx(k, { children: /* @__PURE__ */ t.jsx(
|
|
821
|
+
y,
|
|
852
822
|
{
|
|
853
823
|
defaultOpen: !0,
|
|
854
|
-
label: /* @__PURE__ */ t.jsx(
|
|
855
|
-
...
|
|
824
|
+
label: /* @__PURE__ */ t.jsx(j, { as: "h4", className: p("text-left", d == null ? void 0 : d.headline), children: e }),
|
|
825
|
+
...n,
|
|
856
826
|
classes: {
|
|
857
|
-
...
|
|
827
|
+
...n == null ? void 0 : n.classes,
|
|
858
828
|
header: {
|
|
859
|
-
trigger: p("bg-color-blue-grey-100", (
|
|
829
|
+
trigger: p("bg-color-blue-grey-100", (a = (l = n == null ? void 0 : n.classes) == null ? void 0 : l.header) == null ? void 0 : a.trigger)
|
|
860
830
|
},
|
|
861
|
-
content: p("max-w-full bg-color-blue-grey-100 relative", (
|
|
831
|
+
content: p("max-w-full bg-color-blue-grey-100 relative", (u = n == null ? void 0 : n.classes) == null ? void 0 : u.content)
|
|
862
832
|
},
|
|
863
|
-
children: /* @__PURE__ */ t.jsx("div", { className: p(ft({ variant: i }),
|
|
833
|
+
children: /* @__PURE__ */ t.jsx("div", { className: p(ft({ variant: i }), d == null ? void 0 : d.columnsWrapper), children: x == null ? void 0 : x.map((m, b) => /* @__PURE__ */ t.jsx(ht, { ...m, ...o, classes: d == null ? void 0 : d.column }, b)) })
|
|
864
834
|
}
|
|
865
835
|
) }) });
|
|
866
|
-
}, jt = ({ tabsNames: r, activeTab: e, setActiveTab: o }) => /* @__PURE__ */ t.jsx("div", { className: "hidden-scroll flex items-center gap-4 overflow-x-auto p-[6px]", children: r && r.map((
|
|
836
|
+
}, jt = ({ tabsNames: r, activeTab: e, setActiveTab: o }) => /* @__PURE__ */ t.jsx("div", { className: "hidden-scroll flex items-center gap-4 overflow-x-auto p-[6px]", children: r && r.map((n, d) => /* @__PURE__ */ t.jsx(
|
|
867
837
|
"button",
|
|
868
838
|
{
|
|
869
|
-
onClick: () => o(
|
|
839
|
+
onClick: () => o(d),
|
|
870
840
|
className: p(
|
|
871
841
|
"desktop:kpy-3 mob-body-regular-m text-nowrap rounded-sm bg-color-blue-grey-100 px-3 py-1.5 text-color-secondary outline-1 outline-offset-4 outline-transparent focus:outline-primary-focus desktop:px-4 desktop:py-3",
|
|
872
842
|
{
|
|
873
|
-
"bg-icon-primary-default text-color-white": e ===
|
|
843
|
+
"bg-icon-primary-default text-color-white": e === d
|
|
874
844
|
}
|
|
875
845
|
),
|
|
876
|
-
children:
|
|
846
|
+
children: n
|
|
877
847
|
},
|
|
878
|
-
|
|
879
|
-
)) }), kt = (r) => r.variant === "HTML",
|
|
848
|
+
n
|
|
849
|
+
)) }), kt = (r) => r.variant === "HTML", gt = (r) => r.variant === "DOCUMENTS", bt = (r) => r.variant === "TABLE", wt = ({ html: r, config: e }) => {
|
|
880
850
|
const o = /* @__PURE__ */ t.jsx("div", { dangerouslySetInnerHTML: { __html: r ?? "" } });
|
|
881
|
-
return /* @__PURE__ */ t.jsx(t.Fragment, { children: e && (e != null && e.isAccordion) && (e != null && e.accordionTitle) ? /* @__PURE__ */ t.jsx(
|
|
851
|
+
return /* @__PURE__ */ t.jsx(t.Fragment, { children: e && (e != null && e.isAccordion) && (e != null && e.accordionTitle) ? /* @__PURE__ */ t.jsx(y, { label: e == null ? void 0 : e.accordionTitle, children: o }) : o });
|
|
882
852
|
}, Nt = (r, e) => ({
|
|
883
853
|
rows: r == null ? void 0 : r.map(({ row: o }) => ({
|
|
884
|
-
row: o == null ? void 0 : o.map((
|
|
854
|
+
row: o == null ? void 0 : o.map((n, d) => {
|
|
885
855
|
var i;
|
|
886
856
|
return {
|
|
887
|
-
...
|
|
888
|
-
heading: e && ((i = e[
|
|
857
|
+
...n,
|
|
858
|
+
heading: e && ((i = e[d]) == null ? void 0 : i.heading)
|
|
889
859
|
};
|
|
890
860
|
})
|
|
891
861
|
}))
|
|
@@ -903,7 +873,7 @@ const Z = h(
|
|
|
903
873
|
threeCols: "grid-cols-3 gap-12"
|
|
904
874
|
}
|
|
905
875
|
}
|
|
906
|
-
}), Ct = ({ headings: r, columnsVariant: e }) => /* @__PURE__ */ t.jsx("div", { className: p(vt({ columnsVariant: e })), children: r == null ? void 0 : r.map((o) => /* @__PURE__ */ t.jsx("div", { className: "text-color-secondary", children: o == null ? void 0 : o.heading }, o == null ? void 0 : o.heading)) }),
|
|
876
|
+
}), Ct = ({ headings: r, columnsVariant: e }) => /* @__PURE__ */ t.jsx("div", { className: p(vt({ columnsVariant: e })), children: r == null ? void 0 : r.map((o) => /* @__PURE__ */ t.jsx("div", { className: "text-color-secondary", children: o == null ? void 0 : o.heading }, o == null ? void 0 : o.heading)) }), It = h("grid items-center", {
|
|
907
877
|
variants: {
|
|
908
878
|
columnsVariant: {
|
|
909
879
|
twoCols: "grid-cols-2 gap-16",
|
|
@@ -914,51 +884,51 @@ const Z = h(
|
|
|
914
884
|
separator: "px-4 py-4 border-t border-solid border-warm-grey-200"
|
|
915
885
|
}
|
|
916
886
|
}
|
|
917
|
-
}),
|
|
887
|
+
}), ct = ({ row: r, tableVariant: e, columnsVariant: o, rowIndex: n }) => /* @__PURE__ */ t.jsx("div", { className: p(It({ columnsVariant: o, tableVariant: e }), { "border-none": n === 0 }), children: r == null ? void 0 : r.map(({ cell: d }, i) => /* @__PURE__ */ t.jsx("div", { className: p("desk-body-regular-l text-color-dark", { "font-medium": i !== 0 }), children: d && d }, i)) }), _t = h("flex flex-col gap-2", {
|
|
918
888
|
variants: {
|
|
919
889
|
tableVariant: {
|
|
920
890
|
filled: "px-4 py-4 odd:bg-color-primary-light-default",
|
|
921
891
|
separator: "py-4 border-t border-solid border-warm-grey-200 first:border-none"
|
|
922
892
|
}
|
|
923
893
|
}
|
|
924
|
-
}),
|
|
894
|
+
}), Bt = ({ row: r, tableVariant: e, columnsVariant: o, headingsExist: n }) => /* @__PURE__ */ t.jsx("div", { className: p(_t({ tableVariant: e })), children: r == null ? void 0 : r.map(({ cell: d, heading: i }, x) => /* @__PURE__ */ t.jsxs("div", { className: p("grid grid-cols-2 gap-3", { "grid-cols-1 gap-0": !n }), children: [
|
|
925
895
|
i && /* @__PURE__ */ t.jsx("div", { className: "mob-body-regular-l text-color-secondary", children: i }),
|
|
926
896
|
/* @__PURE__ */ t.jsx(
|
|
927
897
|
"div",
|
|
928
898
|
{
|
|
929
899
|
className: p("mob-body-regular-l text-color-dark", {
|
|
930
|
-
"font-medium": x !== 0 && o === "twoCols" || o === "threeCols" || o === "twoCols" &&
|
|
900
|
+
"font-medium": x !== 0 && o === "twoCols" || o === "threeCols" || o === "twoCols" && n
|
|
931
901
|
}),
|
|
932
|
-
children:
|
|
902
|
+
children: d
|
|
933
903
|
}
|
|
934
904
|
)
|
|
935
|
-
] }, x)) }),
|
|
905
|
+
] }, x)) }), Tt = ({ tableVariant: r, rows: e, headings: o, columnsVariant: n }) => {
|
|
936
906
|
var l;
|
|
937
|
-
const { isDesktop:
|
|
907
|
+
const { isDesktop: d } = g(), i = ((l = Nt(e, o)) == null ? void 0 : l.rows) ?? [], x = !!(o && o.length > 0);
|
|
938
908
|
return /* @__PURE__ */ t.jsxs("div", { className: "flex flex-col", children: [
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
909
|
+
d && x && /* @__PURE__ */ t.jsx(Ct, { headings: o, columnsVariant: n }),
|
|
910
|
+
d ? /* @__PURE__ */ t.jsx(t.Fragment, { children: e == null ? void 0 : e.map((a, u) => /* @__PURE__ */ t.jsx(ct, { rowIndex: u, tableVariant: r, columnsVariant: n, ...a }, u)) }) : /* @__PURE__ */ t.jsx(t.Fragment, { children: i == null ? void 0 : i.map((a, u) => /* @__PURE__ */ t.jsx(
|
|
911
|
+
Bt,
|
|
942
912
|
{
|
|
943
913
|
headingsExist: x,
|
|
944
914
|
tableVariant: r,
|
|
945
|
-
columnsVariant:
|
|
946
|
-
...
|
|
915
|
+
columnsVariant: n,
|
|
916
|
+
...a
|
|
947
917
|
},
|
|
948
|
-
|
|
918
|
+
u
|
|
949
919
|
)) })
|
|
950
920
|
] });
|
|
951
|
-
},
|
|
921
|
+
}, Mt = ({ tableVariant: r, description: e, columnsVariant: o, config: n, rows: d, title: i, headings: x }) => {
|
|
952
922
|
const l = /* @__PURE__ */ t.jsxs("div", { className: p(yt({ columnsVariant: o })), children: [
|
|
953
|
-
i && /* @__PURE__ */ t.jsx(
|
|
954
|
-
/* @__PURE__ */ t.jsx(
|
|
923
|
+
i && /* @__PURE__ */ t.jsx(j, { as: "h4", className: "mb-4 desktop:mb-6", children: i }),
|
|
924
|
+
/* @__PURE__ */ t.jsx(Tt, { tableVariant: r, rows: d, headings: x, columnsVariant: o }),
|
|
955
925
|
e && /* @__PURE__ */ t.jsx("div", { className: "mt-2 [&&]:desk-body-regular-m desktop:mt-2", dangerouslySetInnerHTML: { __html: e ?? "" } })
|
|
956
926
|
] });
|
|
957
|
-
return /* @__PURE__ */ t.jsx(t.Fragment, { children:
|
|
927
|
+
return /* @__PURE__ */ t.jsx(t.Fragment, { children: n && (n != null && n.isAccordion) && (n != null && n.accordionTitle) ? /* @__PURE__ */ t.jsx(y, { label: n == null ? void 0 : n.accordionTitle, children: l }) : l });
|
|
958
928
|
}, Ht = {
|
|
959
929
|
documentFilled: "files/documentFilled",
|
|
960
930
|
documentOutline: "files/documentOutline"
|
|
961
|
-
},
|
|
931
|
+
}, St = h("size-8 transition-colors", {
|
|
962
932
|
variants: {
|
|
963
933
|
iconType: {
|
|
964
934
|
documentOutline: "text-icon-secondary-dark-default group-hover:text-icon-secondary-dark-hover",
|
|
@@ -968,7 +938,7 @@ const Z = h(
|
|
|
968
938
|
defaultVariants: {
|
|
969
939
|
iconType: "documentOutline"
|
|
970
940
|
}
|
|
971
|
-
}),
|
|
941
|
+
}), Et = ({ label: r, size: e, url: o, iconType: n }) => /* @__PURE__ */ t.jsxs(
|
|
972
942
|
"a",
|
|
973
943
|
{
|
|
974
944
|
href: o,
|
|
@@ -979,7 +949,7 @@ const Z = h(
|
|
|
979
949
|
"group flex w-full cursor-pointer items-center gap-2 rounded-sm p-1 outline outline-2 outline-transparent transition-colors focus-within:outline-primary-focus"
|
|
980
950
|
),
|
|
981
951
|
children: [
|
|
982
|
-
/* @__PURE__ */ t.jsx(
|
|
952
|
+
/* @__PURE__ */ t.jsx(f, { name: Ht[n], className: p(St({ iconType: n })) }),
|
|
983
953
|
/* @__PURE__ */ t.jsxs("div", { className: p("flex flex-1 flex-col"), children: [
|
|
984
954
|
/* @__PURE__ */ t.jsx("p", { className: p("desk-body-medium-l text-color-dark"), children: r }),
|
|
985
955
|
/* @__PURE__ */ t.jsxs("div", { className: p("desk-body-regular-m text-color-disabled"), children: [
|
|
@@ -989,42 +959,42 @@ const Z = h(
|
|
|
989
959
|
] })
|
|
990
960
|
]
|
|
991
961
|
}
|
|
992
|
-
),
|
|
962
|
+
), zt = ({ docs: r, config: e, title: o, iconType: n, description: d }) => {
|
|
993
963
|
const i = /* @__PURE__ */ t.jsxs("div", { className: "flex max-w-[680px] flex-col", children: [
|
|
994
|
-
o && /* @__PURE__ */ t.jsx(
|
|
995
|
-
/* @__PURE__ */ t.jsx("div", { className: "gap- flex flex-col gap-4", children: r == null ? void 0 : r.map((x) => /* @__PURE__ */ t.jsx(
|
|
996
|
-
|
|
964
|
+
o && /* @__PURE__ */ t.jsx(j, { as: "h3", className: "mb-4", children: o }),
|
|
965
|
+
/* @__PURE__ */ t.jsx("div", { className: "gap- flex flex-col gap-4", children: r == null ? void 0 : r.map((x) => /* @__PURE__ */ t.jsx(Et, { iconType: n, ...x }, x.label)) }),
|
|
966
|
+
d && /* @__PURE__ */ t.jsx("div", { className: "mt-4", dangerouslySetInnerHTML: { __html: d ?? "" } })
|
|
997
967
|
] });
|
|
998
|
-
return /* @__PURE__ */ t.jsx(t.Fragment, { children: e && (e != null && e.isAccordion) && (e != null && e.accordionTitle) ? /* @__PURE__ */ t.jsx(
|
|
999
|
-
},
|
|
1000
|
-
var e, o,
|
|
968
|
+
return /* @__PURE__ */ t.jsx(t.Fragment, { children: e && (e != null && e.isAccordion) && (e != null && e.accordionTitle) ? /* @__PURE__ */ t.jsx(y, { label: e == null ? void 0 : e.accordionTitle, children: i }) : i });
|
|
969
|
+
}, Ft = (r) => {
|
|
970
|
+
var e, o, n;
|
|
1001
971
|
switch (!0) {
|
|
1002
972
|
case kt(r):
|
|
1003
|
-
return (e = r.details) == null ? void 0 : e.map((
|
|
1004
|
-
case bt(r):
|
|
1005
|
-
return (o = r.details) == null ? void 0 : o.map((n, i) => /* @__PURE__ */ t.jsx(Ft, { ...n }, i));
|
|
973
|
+
return (e = r.details) == null ? void 0 : e.map((d, i) => /* @__PURE__ */ t.jsx(wt, { ...d }, i));
|
|
1006
974
|
case gt(r):
|
|
1007
|
-
return (
|
|
975
|
+
return (o = r.details) == null ? void 0 : o.map((d, i) => /* @__PURE__ */ t.jsx(zt, { ...d }, i));
|
|
976
|
+
case bt(r):
|
|
977
|
+
return (n = r.details) == null ? void 0 : n.map((d, i) => /* @__PURE__ */ t.jsx(Mt, { ...d }, i));
|
|
1008
978
|
default:
|
|
1009
979
|
return null;
|
|
1010
980
|
}
|
|
1011
|
-
}, Lt = ({ entity: r }) => /* @__PURE__ */ t.jsx("div", { className: "flex flex-col gap-6", children:
|
|
981
|
+
}, Lt = ({ entity: r }) => /* @__PURE__ */ t.jsx("div", { className: "flex flex-col gap-6", children: Ft(r) }), Xt = ({ headline: r, tabs: e }) => {
|
|
1012
982
|
var i, x;
|
|
1013
|
-
const [o,
|
|
983
|
+
const [o, n] = G(0), d = U(() => e == null ? void 0 : e.map((l) => l == null ? void 0 : l.tabName), [e]) ?? [];
|
|
1014
984
|
return !e || (e == null ? void 0 : e.length) === 0 ? null : /* @__PURE__ */ t.jsx("section", { id: "useful-info", className: "pb-[64px] desktop:pb-20", children: /* @__PURE__ */ t.jsxs(k, { children: [
|
|
1015
|
-
/* @__PURE__ */ t.jsx(
|
|
1016
|
-
/* @__PURE__ */ t.jsx("div", { className: "mt-6 flex flex-col gap-2 desktop:mt-12", children: /* @__PURE__ */ t.jsx(jt, { tabsNames:
|
|
1017
|
-
/* @__PURE__ */ t.jsx("div", { className: "mt-6 flex flex-col gap-6", children: (x = (i = e == null ? void 0 : e[o]) == null ? void 0 : i.contents) == null ? void 0 : x.map((l,
|
|
985
|
+
/* @__PURE__ */ t.jsx(j, { as: "h2", children: r }),
|
|
986
|
+
/* @__PURE__ */ t.jsx("div", { className: "mt-6 flex flex-col gap-2 desktop:mt-12", children: /* @__PURE__ */ t.jsx(jt, { tabsNames: d, activeTab: o, setActiveTab: n }) }),
|
|
987
|
+
/* @__PURE__ */ t.jsx("div", { className: "mt-6 flex flex-col gap-6", children: (x = (i = e == null ? void 0 : e[o]) == null ? void 0 : i.contents) == null ? void 0 : x.map((l, a) => /* @__PURE__ */ t.jsx(Lt, { ...l }, a)) })
|
|
1018
988
|
] }) });
|
|
1019
|
-
}, Yt = ({ fields: r, control: e }) => r.map(({ type: o, args:
|
|
1020
|
-
const
|
|
1021
|
-
return /* @__PURE__ */ $(
|
|
989
|
+
}, Yt = ({ fields: r, control: e }) => r.map(({ type: o, args: n }) => {
|
|
990
|
+
const d = O[o];
|
|
991
|
+
return /* @__PURE__ */ $(d, { ...n, key: n.name, control: e });
|
|
1022
992
|
});
|
|
1023
993
|
export {
|
|
1024
|
-
|
|
994
|
+
E as Advantages,
|
|
1025
995
|
Kt as AuthProvider,
|
|
1026
996
|
$t as Banner,
|
|
1027
|
-
|
|
997
|
+
_ as BannerWithSeparateImg,
|
|
1028
998
|
Gt as Benefit,
|
|
1029
999
|
Yt as FieldMapper,
|
|
1030
1000
|
Zt as Footer,
|