@scbt-ecom/ui 0.15.0 → 0.16.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/README.md +1 -1
- package/dist/hybrid.d.ts +1 -0
- package/dist/hybrid.js +238 -250
- package/dist/hybrid.js.map +1 -1
- package/dist/shared/ui/Ligal.d.ts +12 -0
- package/dist/shared/ui/index.d.ts +1 -0
- package/dist/widgets/footer/Footer.d.ts +5 -6
- package/dist/widgets/footer/model/defaultValues.d.ts +0 -1
- package/dist/widgets/footer/ui/index.d.ts +1 -1
- package/package.json +1 -1
- package/dist/widgets/footer/ui/Ligal.d.ts +0 -12
package/dist/hybrid.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import { b as
|
|
1
|
+
import { j as n, c as i, I as m, a as c, R as g, B as I, z as f, p as U, i as Z, g as _, H as L, P as G } from "./index-CexXWplL.js";
|
|
2
|
+
import { b as Ke, L as Ye, d as et, s as tt } from "./index-CexXWplL.js";
|
|
3
3
|
import * as y from "react";
|
|
4
|
-
import { forwardRef as
|
|
5
|
-
const
|
|
4
|
+
import { forwardRef as W } from "react";
|
|
5
|
+
const Le = (t) => t.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1).toLowerCase()).join("-"), Ee = (...t) => {
|
|
6
6
|
const e = t.filter(Boolean);
|
|
7
7
|
return e.length <= 1 ? e[0] || null : function(r) {
|
|
8
8
|
e.forEach((a) => {
|
|
9
9
|
typeof a == "function" ? a(r) : a && (a.current = r);
|
|
10
10
|
});
|
|
11
11
|
};
|
|
12
|
-
},
|
|
12
|
+
}, X = ({ children: t, className: e, ...o }) => /* @__PURE__ */ n.jsx("section", { className: i("pb-16 desktop:pb-20", e), ...o, children: t }), Te = ({ linksList: t }) => /* @__PURE__ */ n.jsx("div", { "aria-label": "Breadcrumb", className: "flex max-w-[840px] items-center gap-2", children: t.map((e) => /* @__PURE__ */ n.jsx(n.Fragment, { children: "path" in e ? /* @__PURE__ */ n.jsxs(
|
|
13
13
|
"div",
|
|
14
14
|
{
|
|
15
15
|
className: i(
|
|
@@ -17,7 +17,7 @@ const Fe = (t) => t.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1)
|
|
|
17
17
|
{ "pointer-events-none !border-transparent": e == null ? void 0 : e.isDisabled }
|
|
18
18
|
),
|
|
19
19
|
children: [
|
|
20
|
-
/* @__PURE__ */
|
|
20
|
+
/* @__PURE__ */ n.jsx(
|
|
21
21
|
"a",
|
|
22
22
|
{
|
|
23
23
|
href: e.path,
|
|
@@ -30,7 +30,7 @@ const Fe = (t) => t.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1)
|
|
|
30
30
|
children: e.label
|
|
31
31
|
}
|
|
32
32
|
),
|
|
33
|
-
/* @__PURE__ */
|
|
33
|
+
/* @__PURE__ */ n.jsx(
|
|
34
34
|
m,
|
|
35
35
|
{
|
|
36
36
|
name: "arrows/arrowRight",
|
|
@@ -39,7 +39,7 @@ const Fe = (t) => t.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1)
|
|
|
39
39
|
)
|
|
40
40
|
]
|
|
41
41
|
}
|
|
42
|
-
) : /* @__PURE__ */
|
|
42
|
+
) : /* @__PURE__ */ n.jsx("div", { "aria-current": "page", className: "desk-body-regular-m text-color-blue-grey-600", children: e.label }) })) }), q = c(
|
|
43
43
|
"group flex items-center justify-center cursor-pointer rounded-full outline-offset-[3px] outline-transparent outline-2 transition duration-12 active:scale-[0.97] disabled:pointer-events-none",
|
|
44
44
|
{
|
|
45
45
|
variants: {
|
|
@@ -59,9 +59,9 @@ const Fe = (t) => t.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1)
|
|
|
59
59
|
size: "lg"
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
|
-
),
|
|
63
|
-
({ size: t, intent: e, children:
|
|
64
|
-
),
|
|
62
|
+
), Fe = W(
|
|
63
|
+
({ size: t, intent: e, children: o, classes: r, type: a = "button", ...d }, l) => /* @__PURE__ */ n.jsx("button", { ref: l, type: a, className: i(q({ intent: e, size: t }), r == null ? void 0 : r.button), ...d, children: /* @__PURE__ */ n.jsx("span", { className: i(r == null ? void 0 : r.icon), children: o }) })
|
|
64
|
+
), Q = c(
|
|
65
65
|
"group outline-none transition-colors duration-100 p-[2px] rounded-sm border border-solid border-transparent",
|
|
66
66
|
{
|
|
67
67
|
variants: {
|
|
@@ -94,7 +94,7 @@ const Fe = (t) => t.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1)
|
|
|
94
94
|
withUnderline: !1
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
|
-
),
|
|
97
|
+
), J = c("size-6", {
|
|
98
98
|
variants: {
|
|
99
99
|
intent: {
|
|
100
100
|
blue: "text-icon-primary-default group-hover:text-icon-primary-hover group-focus:text-icon-primary-default ",
|
|
@@ -112,17 +112,17 @@ const Fe = (t) => t.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1)
|
|
|
112
112
|
}), E = ({
|
|
113
113
|
intent: t,
|
|
114
114
|
children: e,
|
|
115
|
-
withIcon:
|
|
115
|
+
withIcon: o,
|
|
116
116
|
disabled: r,
|
|
117
117
|
size: a,
|
|
118
118
|
icon: d = "arrows/arrowLink",
|
|
119
119
|
classes: l,
|
|
120
120
|
withUnderline: u,
|
|
121
121
|
...b
|
|
122
|
-
}) => /* @__PURE__ */
|
|
122
|
+
}) => /* @__PURE__ */ n.jsxs("a", { className: i(Q({ intent: t, withIcon: o, withUnderline: u, disabled: r, size: a }), l == null ? void 0 : l.link), ...b, children: [
|
|
123
123
|
e,
|
|
124
|
-
|
|
125
|
-
] }),
|
|
124
|
+
o && /* @__PURE__ */ n.jsx(m, { name: d, className: i(J({ intent: t, disabled: r }), l == null ? void 0 : l.icon) })
|
|
125
|
+
] }), K = c("size-8 transition-colors", {
|
|
126
126
|
variants: {
|
|
127
127
|
intent: {
|
|
128
128
|
outline: "text-icon-secondary-dark-default group-hover:text-icon-secondary-dark-hover",
|
|
@@ -132,10 +132,10 @@ const Fe = (t) => t.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1)
|
|
|
132
132
|
defaultVariants: {
|
|
133
133
|
intent: "outline"
|
|
134
134
|
}
|
|
135
|
-
}),
|
|
135
|
+
}), Y = {
|
|
136
136
|
filled: "files/documentFilled",
|
|
137
137
|
outline: "files/documentOutline"
|
|
138
|
-
},
|
|
138
|
+
}, ze = ({ text: t, size: e, sizeType: o, href: r, intent: a = "outline" }) => /* @__PURE__ */ n.jsxs(
|
|
139
139
|
"a",
|
|
140
140
|
{
|
|
141
141
|
href: r,
|
|
@@ -146,38 +146,38 @@ const Fe = (t) => t.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1)
|
|
|
146
146
|
"group flex cursor-pointer items-center gap-2 rounded-sm p-1 outline outline-2 outline-transparent transition-colors focus-within:outline-primary-focus desktop:max-w-[592px]"
|
|
147
147
|
),
|
|
148
148
|
children: [
|
|
149
|
-
/* @__PURE__ */
|
|
150
|
-
/* @__PURE__ */
|
|
151
|
-
/* @__PURE__ */
|
|
152
|
-
/* @__PURE__ */
|
|
149
|
+
/* @__PURE__ */ n.jsx(m, { name: Y[a], className: i(K({ intent: a })) }),
|
|
150
|
+
/* @__PURE__ */ n.jsxs("div", { className: i("flex flex-1 flex-col"), children: [
|
|
151
|
+
/* @__PURE__ */ n.jsx("p", { className: i("desk-body-medium-l text-color-dark"), children: t }),
|
|
152
|
+
/* @__PURE__ */ n.jsxs("div", { className: i("desk-body-regular-m text-color-disabled"), children: [
|
|
153
153
|
e,
|
|
154
154
|
" ",
|
|
155
|
-
|
|
155
|
+
o
|
|
156
156
|
] })
|
|
157
157
|
] })
|
|
158
158
|
]
|
|
159
159
|
}
|
|
160
|
-
), T = ({ phone: t, text: e, classes:
|
|
161
|
-
/* @__PURE__ */
|
|
160
|
+
), T = ({ phone: t, text: e, classes: o, ...r }) => /* @__PURE__ */ n.jsxs("div", { className: i("flex w-max flex-col", o == null ? void 0 : o.wrapper), ...r, children: [
|
|
161
|
+
/* @__PURE__ */ n.jsx(
|
|
162
162
|
"a",
|
|
163
163
|
{
|
|
164
164
|
href: `tel:${t}`,
|
|
165
|
-
className: i("mob-body-medium-l ml-auto text-color-dark desktop:desk-body-medium-l",
|
|
165
|
+
className: i("mob-body-medium-l ml-auto text-color-dark desktop:desk-body-medium-l", o == null ? void 0 : o.link),
|
|
166
166
|
children: t
|
|
167
167
|
}
|
|
168
168
|
),
|
|
169
|
-
/* @__PURE__ */
|
|
170
|
-
] }),
|
|
171
|
-
t && /* @__PURE__ */
|
|
172
|
-
/* @__PURE__ */
|
|
173
|
-
/* @__PURE__ */
|
|
169
|
+
/* @__PURE__ */ n.jsx("p", { className: i("desk-body-regular-s text-color-tetriary", o == null ? void 0 : o.text), children: e })
|
|
170
|
+
] }), Ae = ({ topContent: t, bottomContent: e, progress: o, maxPercent: r = 100, classes: a }) => /* @__PURE__ */ n.jsxs("div", { className: i("flex w-full flex-col", a == null ? void 0 : a.wrapper), children: [
|
|
171
|
+
t && /* @__PURE__ */ n.jsx("div", { className: i("mb-2 flex justify-between gap-5", a == null ? void 0 : a.topContent), children: t }),
|
|
172
|
+
/* @__PURE__ */ n.jsxs("div", { className: i("relative h-2 w-[328xp] rounded-md bg-color-blue-grey-100 desktop:w-[524px]", a == null ? void 0 : a.progressBar), children: [
|
|
173
|
+
/* @__PURE__ */ n.jsx(
|
|
174
174
|
"div",
|
|
175
175
|
{
|
|
176
|
-
style: { width: `${
|
|
176
|
+
style: { width: `${o}%` },
|
|
177
177
|
className: i("relative z-10 h-2 rounded-md bg-color-positive transition-all", a == null ? void 0 : a.progress)
|
|
178
178
|
}
|
|
179
179
|
),
|
|
180
|
-
/* @__PURE__ */
|
|
180
|
+
/* @__PURE__ */ n.jsx(
|
|
181
181
|
"span",
|
|
182
182
|
{
|
|
183
183
|
style: { maxWidth: `${r}%` },
|
|
@@ -188,15 +188,43 @@ const Fe = (t) => t.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1)
|
|
|
188
188
|
}
|
|
189
189
|
)
|
|
190
190
|
] }),
|
|
191
|
-
e && /* @__PURE__ */
|
|
192
|
-
] }),
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
191
|
+
e && /* @__PURE__ */ n.jsx("div", { className: i("mt-2 flex justify-between gap-5", a == null ? void 0 : a.bottomContent), children: e })
|
|
192
|
+
] }), Be = ({ className: t }) => /* @__PURE__ */ n.jsx("div", { className: i("skeleton-apply h-full w-full", t) }), Se = ({ text: t, classes: e }) => {
|
|
193
|
+
const [o, r] = y.useState(!1), [a, d] = y.useState(!1), l = y.useRef(null);
|
|
194
|
+
return y.useEffect(() => {
|
|
195
|
+
const u = l.current;
|
|
196
|
+
u && d(u.scrollHeight > u.clientHeight);
|
|
197
|
+
}, []), /* @__PURE__ */ n.jsxs("div", { className: i("mt-8 flex flex-col gap-4", e == null ? void 0 : e.ligalRoot), children: [
|
|
198
|
+
/* @__PURE__ */ n.jsx(
|
|
199
|
+
"p",
|
|
200
|
+
{
|
|
201
|
+
ref: l,
|
|
202
|
+
className: i("desk-body-regular-m text-color-footer", { "line-clamp-3": !o }, e == null ? void 0 : e.ligalText),
|
|
203
|
+
children: t
|
|
204
|
+
}
|
|
205
|
+
),
|
|
206
|
+
a && /* @__PURE__ */ n.jsx(
|
|
207
|
+
"div",
|
|
208
|
+
{
|
|
209
|
+
tabIndex: 0,
|
|
210
|
+
role: "button",
|
|
211
|
+
onClick: () => r((u) => !u),
|
|
212
|
+
className: i(
|
|
213
|
+
"desk-body-regular-l w-max cursor-pointer font-medium text-color-footer transition-colors hover:text-color-white",
|
|
214
|
+
e == null ? void 0 : e.ligalButton
|
|
215
|
+
),
|
|
216
|
+
children: "Подробнее"
|
|
217
|
+
}
|
|
218
|
+
)
|
|
219
|
+
] });
|
|
220
|
+
}, ee = {
|
|
221
|
+
main: /* @__PURE__ */ n.jsx(m, { name: "brandLogos/logoMain" }),
|
|
222
|
+
white: /* @__PURE__ */ n.jsx(m, { name: "brandLogos/logoWhite" }),
|
|
223
|
+
gray: /* @__PURE__ */ n.jsx(m, { name: "brandLogos/logoGray" }),
|
|
224
|
+
black: /* @__PURE__ */ n.jsx(m, { name: "brandLogos/logoBlack" }),
|
|
225
|
+
business: /* @__PURE__ */ n.jsx(m, { name: "brandLogos/logoBusiness" }),
|
|
226
|
+
insurance: /* @__PURE__ */ n.jsx(m, { name: "brandLogos/logoInsurance" })
|
|
227
|
+
}, Re = ({ isVisible: t, classes: e, children: o, buttonProps: r }) => /* @__PURE__ */ n.jsxs(
|
|
200
228
|
g,
|
|
201
229
|
{
|
|
202
230
|
className: i(
|
|
@@ -205,11 +233,11 @@ const Fe = (t) => t.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1)
|
|
|
205
233
|
e == null ? void 0 : e.root
|
|
206
234
|
),
|
|
207
235
|
children: [
|
|
208
|
-
|
|
209
|
-
/* @__PURE__ */
|
|
236
|
+
o,
|
|
237
|
+
/* @__PURE__ */ n.jsx(I, { size: "lg", className: i("m-auto w-full", e == null ? void 0 : e.button), ...r, children: "Оформить заявку" })
|
|
210
238
|
]
|
|
211
239
|
}
|
|
212
|
-
),
|
|
240
|
+
), te = /^[\u0400-\u04FF\u00CB\u00EB -]+$/, D = /^(?:[^-]+(?:-[^-]+){0,4}|[^-]+)$/, re = /^[a-zA-Zа-яА-ЯёЁ]+(?:\s*-\s*[a-zA-Zа-яА-ЯёЁ]+){0,4}(?:\s+[a-zA-Zа-яА-ЯёЁ]+(?:\s*-\s*[a-zA-Zа-яА-ЯёЁ]+){0,4})?$/i, s = {
|
|
213
241
|
REQUIRED: "Поле обязательно к заполнению",
|
|
214
242
|
MIN_LENGTH: "Минимальная длина символов должна быть не менее",
|
|
215
243
|
MAX_LENGTH: "Максимальная длина символов должна быть не более",
|
|
@@ -220,57 +248,57 @@ const Fe = (t) => t.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1)
|
|
|
220
248
|
INVALID_VALUE: "Поле заполнено некорректно",
|
|
221
249
|
INVALID_DATE: "Введите корректную дату",
|
|
222
250
|
FUTURE_DATE_NOT_ALLOWED: "Нельзя выбрать дату позже текущей"
|
|
223
|
-
},
|
|
224
|
-
const e = t.trim().replace(/\s+/g, " ").split(" "), [
|
|
251
|
+
}, oe = (t) => {
|
|
252
|
+
const e = t.trim().replace(/\s+/g, " ").split(" "), [o, r, ...a] = e, d = a == null ? void 0 : a.join(" ");
|
|
225
253
|
return {
|
|
226
|
-
surname:
|
|
254
|
+
surname: o,
|
|
227
255
|
name: r,
|
|
228
256
|
patronymic: d
|
|
229
257
|
};
|
|
230
|
-
},
|
|
258
|
+
}, Pe = f.string({ invalid_type_error: "Обязательно к заполнению", required_error: "Обязательно к заполнению" }).superRefine((t, e) => {
|
|
231
259
|
t === "" && e.addIssue({
|
|
232
260
|
code: f.ZodIssueCode.custom,
|
|
233
261
|
message: "Введите имя и фамилию"
|
|
234
|
-
}),
|
|
262
|
+
}), te.test(t) || e.addIssue({
|
|
235
263
|
code: f.ZodIssueCode.custom,
|
|
236
264
|
message: "Должна быть только кириллица"
|
|
237
265
|
});
|
|
238
|
-
const { surname:
|
|
239
|
-
(!
|
|
266
|
+
const { surname: o, name: r, patronymic: a } = oe(t);
|
|
267
|
+
(!o || !r) && e.addIssue({
|
|
240
268
|
code: f.ZodIssueCode.custom,
|
|
241
269
|
message: "Введите имя и фамилию"
|
|
242
270
|
}), D.test(r) || e.addIssue({
|
|
243
271
|
code: f.ZodIssueCode.custom,
|
|
244
272
|
message: "Неверно введено имя"
|
|
245
|
-
}), D.test(
|
|
273
|
+
}), D.test(o) || e.addIssue({
|
|
246
274
|
code: f.ZodIssueCode.custom,
|
|
247
275
|
message: "Неверно введена фамилия"
|
|
248
|
-
}), a && (
|
|
276
|
+
}), a && (re.test(a) || e.addIssue({
|
|
249
277
|
code: f.ZodIssueCode.custom,
|
|
250
278
|
message: "Неверно введено отчество"
|
|
251
279
|
}));
|
|
252
|
-
}),
|
|
253
|
-
const [
|
|
280
|
+
}), $e = f.string().length(10, { message: s.INVALID_DATE }).superRefine((t, e) => {
|
|
281
|
+
const [o, r, a] = (t == null ? void 0 : t.split(".")) ?? "", d = U(`${o}/${r}/${a}`, "dd/MM/yyyy", /* @__PURE__ */ new Date());
|
|
254
282
|
+a <= 1950 && e.addIssue({
|
|
255
283
|
code: f.ZodIssueCode.custom,
|
|
256
284
|
message: s.INVALID_DATE
|
|
257
|
-
}),
|
|
285
|
+
}), Z(d) || e.addIssue({
|
|
258
286
|
code: f.ZodIssueCode.custom,
|
|
259
287
|
message: s.INVALID_DATE
|
|
260
288
|
}), (/* @__PURE__ */ new Date()).getTime() < new Date(d).getTime() && e.addIssue({
|
|
261
289
|
code: f.ZodIssueCode.custom,
|
|
262
290
|
message: s.FUTURE_DATE_NOT_ALLOWED
|
|
263
291
|
});
|
|
264
|
-
}),
|
|
265
|
-
const
|
|
266
|
-
["3", "4", "5", "6", "9"].includes(
|
|
292
|
+
}), He = f.string().superRefine((t, e) => {
|
|
293
|
+
const o = t.charAt(0);
|
|
294
|
+
["3", "4", "5", "6", "9"].includes(o) || e.addIssue({
|
|
267
295
|
code: f.ZodIssueCode.custom,
|
|
268
296
|
message: "Код города/оператора должен начинаться с цифры 3, 4, 5, 6 или 9"
|
|
269
297
|
}), t.length !== 10 && e.addIssue({
|
|
270
298
|
code: f.ZodIssueCode.custom,
|
|
271
299
|
message: "Введите номер телефона полностью"
|
|
272
300
|
});
|
|
273
|
-
}).transform((t) => `7${t}`),
|
|
301
|
+
}).transform((t) => `7${t}`), Ve = f.coerce.number().min(1e3, `${s.FIX_LENGTH} 4`).max(9999, `${s.FIX_LENGTH} 4`).nullable().superRefine((t, e) => {
|
|
274
302
|
t === null && e.addIssue({
|
|
275
303
|
code: f.ZodIssueCode.invalid_type,
|
|
276
304
|
expected: "number",
|
|
@@ -398,7 +426,7 @@ const Fe = (t) => t.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1)
|
|
|
398
426
|
90: "90deg",
|
|
399
427
|
110: "110deg",
|
|
400
428
|
180: "180deg"
|
|
401
|
-
},
|
|
429
|
+
}, ne = {
|
|
402
430
|
0: "0",
|
|
403
431
|
1: "1",
|
|
404
432
|
10: "10",
|
|
@@ -494,7 +522,7 @@ var $ = {}, H = {};
|
|
|
494
522
|
}), Object.defineProperty(t, "default", {
|
|
495
523
|
enumerable: !0,
|
|
496
524
|
get: function() {
|
|
497
|
-
return
|
|
525
|
+
return o;
|
|
498
526
|
}
|
|
499
527
|
});
|
|
500
528
|
function e(r, a) {
|
|
@@ -513,7 +541,7 @@ var $ = {}, H = {};
|
|
|
513
541
|
};
|
|
514
542
|
return d.__isOptionsFunction = !0, d.__pluginFunction = r, d.__configFunction = a, d;
|
|
515
543
|
};
|
|
516
|
-
const
|
|
544
|
+
const o = e;
|
|
517
545
|
})(H);
|
|
518
546
|
(function(t) {
|
|
519
547
|
Object.defineProperty(t, "__esModule", {
|
|
@@ -524,8 +552,8 @@ var $ = {}, H = {};
|
|
|
524
552
|
return r;
|
|
525
553
|
}
|
|
526
554
|
});
|
|
527
|
-
const e = /* @__PURE__ */
|
|
528
|
-
function
|
|
555
|
+
const e = /* @__PURE__ */ o(H);
|
|
556
|
+
function o(a) {
|
|
529
557
|
return a && a.__esModule ? a : {
|
|
530
558
|
default: a
|
|
531
559
|
};
|
|
@@ -534,20 +562,20 @@ var $ = {}, H = {};
|
|
|
534
562
|
})($);
|
|
535
563
|
let j = $;
|
|
536
564
|
var V = (j.__esModule ? j : { default: j }).default;
|
|
537
|
-
const k = /* @__PURE__ */ _(V),
|
|
565
|
+
const k = /* @__PURE__ */ _(V), ie = V;
|
|
538
566
|
function C(t) {
|
|
539
567
|
return Object.fromEntries(
|
|
540
568
|
Object.entries(t).filter(([e]) => e !== "DEFAULT")
|
|
541
569
|
);
|
|
542
570
|
}
|
|
543
|
-
var
|
|
544
|
-
({ addUtilities: t, matchUtilities: e, theme:
|
|
571
|
+
var ae = ie(
|
|
572
|
+
({ addUtilities: t, matchUtilities: e, theme: o }) => {
|
|
545
573
|
t({
|
|
546
|
-
"@keyframes enter":
|
|
547
|
-
"@keyframes exit":
|
|
574
|
+
"@keyframes enter": o("keyframes.enter"),
|
|
575
|
+
"@keyframes exit": o("keyframes.exit"),
|
|
548
576
|
".animate-in": {
|
|
549
577
|
animationName: "enter",
|
|
550
|
-
animationDuration:
|
|
578
|
+
animationDuration: o("animationDuration.DEFAULT"),
|
|
551
579
|
"--tw-enter-opacity": "initial",
|
|
552
580
|
"--tw-enter-scale": "initial",
|
|
553
581
|
"--tw-enter-rotate": "initial",
|
|
@@ -556,7 +584,7 @@ var de = ae(
|
|
|
556
584
|
},
|
|
557
585
|
".animate-out": {
|
|
558
586
|
animationName: "exit",
|
|
559
|
-
animationDuration:
|
|
587
|
+
animationDuration: o("animationDuration.DEFAULT"),
|
|
560
588
|
"--tw-exit-opacity": "initial",
|
|
561
589
|
"--tw-exit-scale": "initial",
|
|
562
590
|
"--tw-exit-rotate": "initial",
|
|
@@ -568,19 +596,19 @@ var de = ae(
|
|
|
568
596
|
"fade-in": (r) => ({ "--tw-enter-opacity": r }),
|
|
569
597
|
"fade-out": (r) => ({ "--tw-exit-opacity": r })
|
|
570
598
|
},
|
|
571
|
-
{ values:
|
|
599
|
+
{ values: o("animationOpacity") }
|
|
572
600
|
), e(
|
|
573
601
|
{
|
|
574
602
|
"zoom-in": (r) => ({ "--tw-enter-scale": r }),
|
|
575
603
|
"zoom-out": (r) => ({ "--tw-exit-scale": r })
|
|
576
604
|
},
|
|
577
|
-
{ values:
|
|
605
|
+
{ values: o("animationScale") }
|
|
578
606
|
), e(
|
|
579
607
|
{
|
|
580
608
|
"spin-in": (r) => ({ "--tw-enter-rotate": r }),
|
|
581
609
|
"spin-out": (r) => ({ "--tw-exit-rotate": r })
|
|
582
610
|
},
|
|
583
|
-
{ values:
|
|
611
|
+
{ values: o("animationRotate") }
|
|
584
612
|
), e(
|
|
585
613
|
{
|
|
586
614
|
"slide-in-from-top": (r) => ({
|
|
@@ -608,28 +636,28 @@ var de = ae(
|
|
|
608
636
|
"--tw-exit-translate-x": r
|
|
609
637
|
})
|
|
610
638
|
},
|
|
611
|
-
{ values:
|
|
639
|
+
{ values: o("animationTranslate") }
|
|
612
640
|
), e(
|
|
613
641
|
{ duration: (r) => ({ animationDuration: r }) },
|
|
614
|
-
{ values: C(
|
|
642
|
+
{ values: C(o("animationDuration")) }
|
|
615
643
|
), e(
|
|
616
644
|
{ delay: (r) => ({ animationDelay: r }) },
|
|
617
|
-
{ values:
|
|
645
|
+
{ values: o("animationDelay") }
|
|
618
646
|
), e(
|
|
619
647
|
{ ease: (r) => ({ animationTimingFunction: r }) },
|
|
620
|
-
{ values: C(
|
|
648
|
+
{ values: C(o("animationTimingFunction")) }
|
|
621
649
|
), t({
|
|
622
650
|
".running": { animationPlayState: "running" },
|
|
623
651
|
".paused": { animationPlayState: "paused" }
|
|
624
652
|
}), e(
|
|
625
653
|
{ "fill-mode": (r) => ({ animationFillMode: r }) },
|
|
626
|
-
{ values:
|
|
654
|
+
{ values: o("animationFillMode") }
|
|
627
655
|
), e(
|
|
628
656
|
{ direction: (r) => ({ animationDirection: r }) },
|
|
629
|
-
{ values:
|
|
657
|
+
{ values: o("animationDirection") }
|
|
630
658
|
), e(
|
|
631
659
|
{ repeat: (r) => ({ animationIterationCount: r }) },
|
|
632
|
-
{ values:
|
|
660
|
+
{ values: o("animationRepeat") }
|
|
633
661
|
);
|
|
634
662
|
},
|
|
635
663
|
{
|
|
@@ -696,7 +724,7 @@ var de = ae(
|
|
|
696
724
|
}
|
|
697
725
|
}
|
|
698
726
|
);
|
|
699
|
-
const M = /* @__PURE__ */ _(
|
|
727
|
+
const M = /* @__PURE__ */ _(ae), Me = {
|
|
700
728
|
theme: {
|
|
701
729
|
backgroundColor: {
|
|
702
730
|
color: w,
|
|
@@ -783,8 +811,8 @@ const M = /* @__PURE__ */ _(de), Ue = {
|
|
|
783
811
|
k(function({ matchUtilities: t, theme: e }) {
|
|
784
812
|
t(
|
|
785
813
|
{
|
|
786
|
-
"bg-deg-gradient": (
|
|
787
|
-
"background-image": `linear-gradient(${
|
|
814
|
+
"bg-deg-gradient": (o) => ({
|
|
815
|
+
"background-image": `linear-gradient(${o}, var(--tw-gradient-stops))`
|
|
788
816
|
})
|
|
789
817
|
},
|
|
790
818
|
{
|
|
@@ -793,7 +821,7 @@ const M = /* @__PURE__ */ _(de), Ue = {
|
|
|
793
821
|
);
|
|
794
822
|
})
|
|
795
823
|
]
|
|
796
|
-
},
|
|
824
|
+
}, Oe = {
|
|
797
825
|
theme: {
|
|
798
826
|
extend: {
|
|
799
827
|
transitionDuration: {
|
|
@@ -833,7 +861,7 @@ const M = /* @__PURE__ */ _(de), Ue = {
|
|
|
833
861
|
}
|
|
834
862
|
}
|
|
835
863
|
}
|
|
836
|
-
},
|
|
864
|
+
}, Ue = {
|
|
837
865
|
theme: {
|
|
838
866
|
screens: {
|
|
839
867
|
mobile: { max: "1187px" },
|
|
@@ -862,7 +890,7 @@ const M = /* @__PURE__ */ _(de), Ue = {
|
|
|
862
890
|
md: "0 12px 20px 0 rgba(0, 33, 87, 0.10)",
|
|
863
891
|
lg: "0 16px 24px 0 rgba(0, 33, 87, 0.16)"
|
|
864
892
|
},
|
|
865
|
-
zIndex:
|
|
893
|
+
zIndex: ne,
|
|
866
894
|
extend: {
|
|
867
895
|
bgGradientDeg: B
|
|
868
896
|
}
|
|
@@ -875,8 +903,8 @@ const M = /* @__PURE__ */ _(de), Ue = {
|
|
|
875
903
|
k(function({ matchUtilities: t, theme: e }) {
|
|
876
904
|
t(
|
|
877
905
|
{
|
|
878
|
-
"bg-deg-gradient": (
|
|
879
|
-
"background-image": `linear-gradient(${
|
|
906
|
+
"bg-deg-gradient": (o) => ({
|
|
907
|
+
"background-image": `linear-gradient(${o}, var(--tw-gradient-stops))`
|
|
880
908
|
})
|
|
881
909
|
},
|
|
882
910
|
{
|
|
@@ -886,43 +914,37 @@ const M = /* @__PURE__ */ _(de), Ue = {
|
|
|
886
914
|
})
|
|
887
915
|
]
|
|
888
916
|
};
|
|
889
|
-
class
|
|
917
|
+
class de extends Error {
|
|
890
918
|
constructor(e) {
|
|
891
919
|
super("ApiError: " + e.status), this.response = e;
|
|
892
920
|
}
|
|
893
921
|
}
|
|
894
|
-
const
|
|
922
|
+
const le = {
|
|
895
923
|
"Content-Type": "application/json"
|
|
896
|
-
},
|
|
897
|
-
const r = (e == null ? void 0 : e.headers) ?? {}, a = (e == null ? void 0 : e.body) && (e == null ? void 0 : e.body), d = await fetch(`${
|
|
924
|
+
}, Ze = async ({ url: t, init: e, baseUrl: o }) => {
|
|
925
|
+
const r = (e == null ? void 0 : e.headers) ?? {}, a = (e == null ? void 0 : e.body) && (e == null ? void 0 : e.body), d = await fetch(`${o}${t}`, {
|
|
898
926
|
headers: {
|
|
899
|
-
...
|
|
927
|
+
...le,
|
|
900
928
|
...r
|
|
901
929
|
},
|
|
902
930
|
body: a,
|
|
903
931
|
...e
|
|
904
932
|
});
|
|
905
933
|
if (!d.ok)
|
|
906
|
-
throw new
|
|
934
|
+
throw new de(d);
|
|
907
935
|
return await d.json();
|
|
908
|
-
},
|
|
936
|
+
}, pe = /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
909
937
|
"© 2004-2024, ПАО «Совкомбанк». Все права защищены. ",
|
|
910
|
-
/* @__PURE__ */
|
|
938
|
+
/* @__PURE__ */ n.jsx("br", { className: "mobile:hidden" }),
|
|
911
939
|
" Генеральная лицензия Банка России №963 от 5 декабря 2014 г."
|
|
912
|
-
] }),
|
|
913
|
-
устанавливается по соглашению сторон и определяется исходя из платёжеспособности и кредитоспособности клиента, а также
|
|
914
|
-
иных индивидуальных особенностей клиента. Сумма 100 000 – 50 000 000 руб. Кредит выдается на карту “Халва”, открытый в
|
|
915
|
-
Банке. Банк вправе отказать в предоставлении кредита без объяснения причины, а также запросить дополнительную информацию о
|
|
916
|
-
клиенте. Предварительное одобрение не влечет обязательств Банка по выдаче кредита. В некоторых случаях срок рассмотрения
|
|
917
|
-
заявки может составлять до 3 рабочих дней. Полный электронный документооборот при наличии открытого р/с в ПАО «Совкомбанк»
|
|
918
|
-
и действующей ЭЦП. Условия рекламы действительны на 20.02.2024г.`, me = [
|
|
940
|
+
] }), fe = [
|
|
919
941
|
{ phone: "8 800 100-00-06", text: "Звонок по России (бесплатно)" },
|
|
920
942
|
{ phone: "+7 (495) 988 00 00", text: "Для звонков из-за рубежа (платно)" }
|
|
921
|
-
],
|
|
943
|
+
], ue = [
|
|
922
944
|
{ iconName: "social/vk", href: "https://vk.com/sovcombank" },
|
|
923
945
|
{ iconName: "social/telegram", href: "https://t.me/sovcombankofficial" },
|
|
924
946
|
{ iconName: "social/classmates", href: "https://ok.ru/paosovcombank" }
|
|
925
|
-
],
|
|
947
|
+
], me = [
|
|
926
948
|
{
|
|
927
949
|
groupLabel: "Совкомбанк",
|
|
928
950
|
links: [
|
|
@@ -999,19 +1021,19 @@ const pe = {
|
|
|
999
1021
|
{ text: "Офисы и банкоматы", href: "/" }
|
|
1000
1022
|
]
|
|
1001
1023
|
}
|
|
1002
|
-
],
|
|
1024
|
+
], xe = ({ socialsLinks: t, classes: e }) => /* @__PURE__ */ n.jsx("div", { className: i("mt-4 flex items-center gap-2 desktop:mt-6", e == null ? void 0 : e.socialRoot), children: t == null ? void 0 : t.map(({ iconName: o, href: r }) => /* @__PURE__ */ n.jsx(
|
|
1003
1025
|
"a",
|
|
1004
1026
|
{
|
|
1005
1027
|
className: i("flex size-8 items-center justify-center rounded-full bg-[#52576a] p-2", e == null ? void 0 : e.socialLink),
|
|
1006
1028
|
href: r,
|
|
1007
|
-
"aria-label":
|
|
1008
|
-
children: /* @__PURE__ */
|
|
1029
|
+
"aria-label": o.replace("social/", ""),
|
|
1030
|
+
children: /* @__PURE__ */ n.jsx(m, { name: o, className: i("h-full w-full text-icon-white", e == null ? void 0 : e.socialIcon) })
|
|
1009
1031
|
},
|
|
1010
1032
|
r
|
|
1011
|
-
)) }),
|
|
1033
|
+
)) }), ce = ({ phones: t, classes: e }) => /* @__PURE__ */ n.jsx("div", { className: i("flex flex-col gap-4 desktop:items-end", e == null ? void 0 : e.phonesRoot), children: t == null ? void 0 : t.map(({ phone: o, text: r }) => /* @__PURE__ */ n.jsx(
|
|
1012
1034
|
T,
|
|
1013
1035
|
{
|
|
1014
|
-
phone:
|
|
1036
|
+
phone: o,
|
|
1015
1037
|
text: r,
|
|
1016
1038
|
classes: {
|
|
1017
1039
|
wrapper: i(e == null ? void 0 : e.phoneWrapper),
|
|
@@ -1019,17 +1041,17 @@ const pe = {
|
|
|
1019
1041
|
link: i("text-color-white mobile:m-0", e == null ? void 0 : e.phoneLink)
|
|
1020
1042
|
}
|
|
1021
1043
|
},
|
|
1022
|
-
|
|
1023
|
-
)) }),
|
|
1044
|
+
o
|
|
1045
|
+
)) }), se = ({ navigationLinks: t, classes: e }) => /* @__PURE__ */ n.jsx(
|
|
1024
1046
|
"div",
|
|
1025
1047
|
{
|
|
1026
1048
|
className: i(
|
|
1027
1049
|
"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",
|
|
1028
1050
|
e == null ? void 0 : e.navRoot
|
|
1029
1051
|
),
|
|
1030
|
-
children: t == null ? void 0 : t.map(({ groupLabel:
|
|
1031
|
-
/* @__PURE__ */
|
|
1032
|
-
/* @__PURE__ */
|
|
1052
|
+
children: t == null ? void 0 : t.map(({ groupLabel: o, links: r }) => /* @__PURE__ */ n.jsxs("div", { className: i("flex flex-col gap-4", e == null ? void 0 : e.navGroup), children: [
|
|
1053
|
+
/* @__PURE__ */ n.jsx("div", { className: i("desk-body-medium-l text-color-white", e == null ? void 0 : e.navLabel), children: o }),
|
|
1054
|
+
/* @__PURE__ */ n.jsx("div", { className: i("flex flex-col gap-1", e == null ? void 0 : e.navLinks), children: r == null ? void 0 : r.map(({ text: a, href: d }) => /* @__PURE__ */ n.jsx(
|
|
1033
1055
|
E,
|
|
1034
1056
|
{
|
|
1035
1057
|
href: d,
|
|
@@ -1043,45 +1065,17 @@ const pe = {
|
|
|
1043
1065
|
},
|
|
1044
1066
|
a
|
|
1045
1067
|
)) })
|
|
1046
|
-
] },
|
|
1068
|
+
] }, o))
|
|
1047
1069
|
}
|
|
1048
|
-
),
|
|
1049
|
-
const [n, r] = y.useState(!1), [a, d] = y.useState(!1), l = y.useRef(null);
|
|
1050
|
-
return y.useEffect(() => {
|
|
1051
|
-
const u = l.current;
|
|
1052
|
-
u && d(u.scrollHeight > u.clientHeight);
|
|
1053
|
-
}, []), /* @__PURE__ */ o.jsxs("div", { className: i("mt-8 flex flex-col gap-4", e == null ? void 0 : e.ligalRoot), children: [
|
|
1054
|
-
/* @__PURE__ */ o.jsx(
|
|
1055
|
-
"p",
|
|
1056
|
-
{
|
|
1057
|
-
ref: l,
|
|
1058
|
-
className: i("desk-body-regular-m text-color-footer", { "line-clamp-3": !n }, e == null ? void 0 : e.ligalText),
|
|
1059
|
-
children: t
|
|
1060
|
-
}
|
|
1061
|
-
),
|
|
1062
|
-
a && /* @__PURE__ */ o.jsx(
|
|
1063
|
-
"div",
|
|
1064
|
-
{
|
|
1065
|
-
tabIndex: 0,
|
|
1066
|
-
role: "button",
|
|
1067
|
-
onClick: () => r((u) => !u),
|
|
1068
|
-
className: i(
|
|
1069
|
-
"desk-body-regular-l w-max cursor-pointer font-medium text-color-footer transition-colors hover:text-color-white",
|
|
1070
|
-
e == null ? void 0 : e.ligalButton
|
|
1071
|
-
),
|
|
1072
|
-
children: "Подробнее"
|
|
1073
|
-
}
|
|
1074
|
-
)
|
|
1075
|
-
] });
|
|
1076
|
-
}, ye = ({ text: t, classes: e, withSiteMap: n }) => /* @__PURE__ */ o.jsx("div", { className: i("desk-body-regular-m text-color-footer", { "mt-6 desktop:mt-8": !n }, e == null ? void 0 : e.copyRight), children: t }), we = ({ classes: t }) => /* @__PURE__ */ o.jsx(
|
|
1070
|
+
), be = ({ text: t, classes: e, withSiteMap: o }) => /* @__PURE__ */ n.jsx("div", { className: i("desk-body-regular-m text-color-footer", { "mt-6 desktop:mt-8": !o }, e == null ? void 0 : e.copyRight), children: t }), ge = ({ classes: t }) => /* @__PURE__ */ n.jsx(
|
|
1077
1071
|
"a",
|
|
1078
1072
|
{
|
|
1079
1073
|
"aria-label": "logo",
|
|
1080
1074
|
href: "https://sovcombank.ru/",
|
|
1081
1075
|
className: i("block h-[24px] w-[132px] desktop:h-[32px] desktop:w-[194px]", t == null ? void 0 : t.footerLogo),
|
|
1082
|
-
children: /* @__PURE__ */
|
|
1076
|
+
children: /* @__PURE__ */ n.jsx(m, { name: "brandLogos/logoWhite", className: i("size-full", t == null ? void 0 : t.footerLogoIcon) })
|
|
1083
1077
|
}
|
|
1084
|
-
),
|
|
1078
|
+
), he = ({ classes: t }) => /* @__PURE__ */ n.jsx(
|
|
1085
1079
|
E,
|
|
1086
1080
|
{
|
|
1087
1081
|
intent: "white",
|
|
@@ -1095,23 +1089,16 @@ const pe = {
|
|
|
1095
1089
|
},
|
|
1096
1090
|
children: "Карта сайта"
|
|
1097
1091
|
}
|
|
1098
|
-
),
|
|
1099
|
-
renderBlocks: {
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
withSiteMap: d = !0
|
|
1106
|
-
} = {},
|
|
1107
|
-
socialsLinks: l = xe,
|
|
1108
|
-
phones: u = me,
|
|
1109
|
-
navigationLinks: b = ce,
|
|
1110
|
-
ligal: O = ue,
|
|
1111
|
-
copyright: U = fe,
|
|
1092
|
+
), Ge = ({
|
|
1093
|
+
renderBlocks: { withSocial: t = !0, withPhones: e = !0, withNavLinks: o = !0, withCopyright: r = !0, withSiteMap: a = !0 } = {},
|
|
1094
|
+
socialsLinks: d = ue,
|
|
1095
|
+
phones: l = fe,
|
|
1096
|
+
navigationLinks: u = me,
|
|
1097
|
+
ligal: b,
|
|
1098
|
+
copyright: O = pe,
|
|
1112
1099
|
classes: p
|
|
1113
|
-
}) => /* @__PURE__ */
|
|
1114
|
-
/* @__PURE__ */
|
|
1100
|
+
}) => /* @__PURE__ */ n.jsx("footer", { className: i("w-full bg-color-footer py-8 desktop:py-10", p == null ? void 0 : p.root), children: /* @__PURE__ */ n.jsx(g, { className: i(p == null ? void 0 : p.footerContainer), children: /* @__PURE__ */ n.jsxs("div", { className: i("mobile:pb-[176px]", p == null ? void 0 : p.footerWrapper), children: [
|
|
1101
|
+
/* @__PURE__ */ n.jsxs(
|
|
1115
1102
|
"div",
|
|
1116
1103
|
{
|
|
1117
1104
|
className: i(
|
|
@@ -1119,34 +1106,34 @@ const pe = {
|
|
|
1119
1106
|
p == null ? void 0 : p.footerHead
|
|
1120
1107
|
),
|
|
1121
1108
|
children: [
|
|
1122
|
-
/* @__PURE__ */
|
|
1123
|
-
/* @__PURE__ */
|
|
1124
|
-
t && /* @__PURE__ */
|
|
1109
|
+
/* @__PURE__ */ n.jsxs("div", { className: i(p == null ? void 0 : p.footerSocialBlock), children: [
|
|
1110
|
+
/* @__PURE__ */ n.jsx(ge, { classes: p }),
|
|
1111
|
+
t && /* @__PURE__ */ n.jsx(xe, { socialsLinks: d, classes: p })
|
|
1125
1112
|
] }),
|
|
1126
|
-
e && /* @__PURE__ */
|
|
1113
|
+
e && /* @__PURE__ */ n.jsx(ce, { phones: l, classes: p })
|
|
1127
1114
|
]
|
|
1128
1115
|
}
|
|
1129
1116
|
),
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
/* @__PURE__ */
|
|
1133
|
-
|
|
1134
|
-
|
|
1117
|
+
o && /* @__PURE__ */ n.jsx(se, { navigationLinks: u, classes: p }),
|
|
1118
|
+
b && b,
|
|
1119
|
+
/* @__PURE__ */ n.jsxs("div", { className: "flex flex-col-reverse items-start justify-between gap-4 desktop:flex-row desktop:gap-6", children: [
|
|
1120
|
+
r && /* @__PURE__ */ n.jsx(be, { text: O, classes: p, withSiteMap: a }),
|
|
1121
|
+
a && /* @__PURE__ */ n.jsx(he, { classes: p })
|
|
1135
1122
|
] })
|
|
1136
|
-
] }) }) }),
|
|
1123
|
+
] }) }) }), ye = (t) => {
|
|
1137
1124
|
switch (t.variant) {
|
|
1138
1125
|
case "withButton":
|
|
1139
|
-
return /* @__PURE__ */
|
|
1126
|
+
return /* @__PURE__ */ n.jsx(I, { intent: "secondary", size: "sm", ...t.buttonProps, children: "Оформить заявку" });
|
|
1140
1127
|
case "withPhone":
|
|
1141
|
-
const { phone: e, phoneText:
|
|
1142
|
-
return /* @__PURE__ */
|
|
1128
|
+
const { phone: e, phoneText: o } = t;
|
|
1129
|
+
return /* @__PURE__ */ n.jsx(T, { phone: e, text: o, ...t.phoneProps });
|
|
1143
1130
|
default:
|
|
1144
1131
|
return null;
|
|
1145
1132
|
}
|
|
1146
|
-
},
|
|
1147
|
-
const { logoPath: e = "/", logoType:
|
|
1148
|
-
return /* @__PURE__ */
|
|
1149
|
-
/* @__PURE__ */
|
|
1133
|
+
}, We = (t) => {
|
|
1134
|
+
const { logoPath: e = "/", logoType: o = "main", classes: r } = t;
|
|
1135
|
+
return /* @__PURE__ */ n.jsx("header", { className: i("flex h-[72px] items-center justify-center bg-color-white", r == null ? void 0 : r.header), children: /* @__PURE__ */ n.jsx(g, { className: i(r == null ? void 0 : r.container), children: /* @__PURE__ */ n.jsxs("div", { className: i("flex items-center justify-between gap-5", r == null ? void 0 : r.wrapper), children: [
|
|
1136
|
+
/* @__PURE__ */ n.jsx(
|
|
1150
1137
|
"a",
|
|
1151
1138
|
{
|
|
1152
1139
|
href: e,
|
|
@@ -1157,12 +1144,12 @@ const pe = {
|
|
|
1157
1144
|
"flex items-center justify-center [&_svg]:w-[132px] desktop:[&_svg]:h-[32px] desktop:[&_svg]:w-[192px]",
|
|
1158
1145
|
r == null ? void 0 : r.logo
|
|
1159
1146
|
),
|
|
1160
|
-
children:
|
|
1147
|
+
children: ee[o]
|
|
1161
1148
|
}
|
|
1162
1149
|
),
|
|
1163
|
-
|
|
1150
|
+
ye(t)
|
|
1164
1151
|
] }) }) });
|
|
1165
|
-
},
|
|
1152
|
+
}, we = ({ title: t, description: e, index: o, classes: r }) => /* @__PURE__ */ n.jsxs(
|
|
1166
1153
|
"div",
|
|
1167
1154
|
{
|
|
1168
1155
|
className: i(
|
|
@@ -1170,35 +1157,35 @@ const pe = {
|
|
|
1170
1157
|
r == null ? void 0 : r.singleStep
|
|
1171
1158
|
),
|
|
1172
1159
|
children: [
|
|
1173
|
-
/* @__PURE__ */
|
|
1160
|
+
/* @__PURE__ */ n.jsx(
|
|
1174
1161
|
"div",
|
|
1175
1162
|
{
|
|
1176
1163
|
className: i(
|
|
1177
1164
|
"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",
|
|
1178
1165
|
r == null ? void 0 : r.numeric
|
|
1179
1166
|
),
|
|
1180
|
-
children:
|
|
1167
|
+
children: o
|
|
1181
1168
|
}
|
|
1182
1169
|
),
|
|
1183
|
-
/* @__PURE__ */
|
|
1184
|
-
/* @__PURE__ */
|
|
1185
|
-
/* @__PURE__ */
|
|
1170
|
+
/* @__PURE__ */ n.jsxs("div", { className: i("flex flex-col gap-4", r == null ? void 0 : r.textBlock), children: [
|
|
1171
|
+
/* @__PURE__ */ n.jsx(L, { as: "h4", className: i("text-color-dark", r == null ? void 0 : r.title), children: t }),
|
|
1172
|
+
/* @__PURE__ */ n.jsx("p", { className: i("desk-body-regular-l text-color-tetriary", r == null ? void 0 : r.description), children: e })
|
|
1186
1173
|
] })
|
|
1187
1174
|
]
|
|
1188
1175
|
}
|
|
1189
|
-
),
|
|
1190
|
-
/* @__PURE__ */
|
|
1191
|
-
/* @__PURE__ */
|
|
1176
|
+
), Xe = ({ heading: t, stepsList: e, classes: o }) => /* @__PURE__ */ n.jsx(X, { children: /* @__PURE__ */ n.jsx(g, { children: /* @__PURE__ */ n.jsxs("div", { className: i("flex flex-col gap-12 desktop:items-start", o == null ? void 0 : o.root), children: [
|
|
1177
|
+
/* @__PURE__ */ n.jsx(L, { as: "h2", className: i("text-color-dark", o == null ? void 0 : o.headline), children: t }),
|
|
1178
|
+
/* @__PURE__ */ n.jsx(
|
|
1192
1179
|
"div",
|
|
1193
1180
|
{
|
|
1194
1181
|
className: i(
|
|
1195
1182
|
"flex w-full flex-col items-start gap-6 desktop:flex-row desktop:items-center desktop:gap-12",
|
|
1196
|
-
|
|
1183
|
+
o == null ? void 0 : o.stepsWrapper
|
|
1197
1184
|
),
|
|
1198
|
-
children: e == null ? void 0 : e.map((r, a) => /* @__PURE__ */
|
|
1185
|
+
children: e == null ? void 0 : e.map((r, a) => /* @__PURE__ */ n.jsx(we, { index: a + 1, ...r, classes: o }, r.title))
|
|
1199
1186
|
}
|
|
1200
1187
|
)
|
|
1201
|
-
] }) }) }),
|
|
1188
|
+
] }) }) }), ve = c("", {
|
|
1202
1189
|
variants: {
|
|
1203
1190
|
intent: {
|
|
1204
1191
|
twoItems: "mob-headline-bold-s mb-6 desktop:desk-headline-bold-m desktop:mb-12",
|
|
@@ -1214,7 +1201,7 @@ const pe = {
|
|
|
1214
1201
|
defaultVariants: {
|
|
1215
1202
|
intent: "twoItems"
|
|
1216
1203
|
}
|
|
1217
|
-
}),
|
|
1204
|
+
}), ke = c("desktop:max-h-[98px]", {
|
|
1218
1205
|
variants: {
|
|
1219
1206
|
intent: {
|
|
1220
1207
|
twoItems: "",
|
|
@@ -1246,7 +1233,7 @@ const pe = {
|
|
|
1246
1233
|
class: "desktop:grid grid-rows-2 desktop:gap-x-10 desktop:gap-y-4 grid-flow-col"
|
|
1247
1234
|
}
|
|
1248
1235
|
]
|
|
1249
|
-
}),
|
|
1236
|
+
}), je = c("border-blue-grey-500 pb-6 mobile:mb-6 mobile:border-b mobile:last:pb-0 mobile:last:mb-0", {
|
|
1250
1237
|
variants: {
|
|
1251
1238
|
intent: {
|
|
1252
1239
|
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',
|
|
@@ -1256,7 +1243,7 @@ const pe = {
|
|
|
1256
1243
|
defaultVariants: {
|
|
1257
1244
|
intent: "twoItems"
|
|
1258
1245
|
}
|
|
1259
|
-
}),
|
|
1246
|
+
}), Ne = c("mobile:mx-auto mobile:mb-8, h-[172px] w-[280px] ", {
|
|
1260
1247
|
variants: {
|
|
1261
1248
|
intent: {
|
|
1262
1249
|
twoItems: "desktop:h-[232px] desktop:w-[500px]",
|
|
@@ -1282,27 +1269,27 @@ const pe = {
|
|
|
1282
1269
|
class: "desktop:h-[272px] desktop:w-[500px]"
|
|
1283
1270
|
}
|
|
1284
1271
|
]
|
|
1285
|
-
}),
|
|
1286
|
-
const { title:
|
|
1287
|
-
return /* @__PURE__ */
|
|
1288
|
-
/* @__PURE__ */
|
|
1289
|
-
/* @__PURE__ */
|
|
1290
|
-
a && /* @__PURE__ */
|
|
1272
|
+
}), Ie = ({ data: t, intent: e }) => {
|
|
1273
|
+
const { title: o, description: r, popoverText: a } = t;
|
|
1274
|
+
return /* @__PURE__ */ n.jsx("li", { className: i(je({ intent: e })), children: /* @__PURE__ */ n.jsxs("div", { className: "desktop:max-w-[264px]", children: [
|
|
1275
|
+
/* @__PURE__ */ n.jsxs("div", { className: i("mb-2 flex items-center gap-2"), children: [
|
|
1276
|
+
/* @__PURE__ */ n.jsx("h4", { className: i("mob-title-bold-m text-color-dark"), children: o }),
|
|
1277
|
+
a && /* @__PURE__ */ n.jsx(G, { triggerElement: /* @__PURE__ */ n.jsx(m, { className: i("size-5 text-icon-blue-grey-600"), name: "info/helpCircle" }), children: a })
|
|
1291
1278
|
] }),
|
|
1292
|
-
/* @__PURE__ */
|
|
1279
|
+
/* @__PURE__ */ n.jsx("p", { className: i("mob-body-regular-l text-color-secondary"), children: r })
|
|
1293
1280
|
] }) });
|
|
1294
|
-
}, N = ({ intent: t, title: e, desktopHidden:
|
|
1281
|
+
}, N = ({ intent: t, title: e, desktopHidden: o = !1, mobileHidden: r = !1 }) => /* @__PURE__ */ n.jsx("h2", { className: i(ve({ intent: t, desktopHidden: o, mobileHidden: r })), children: e }), De = ({ textContent: t, intent: e, withButton: o }) => /* @__PURE__ */ n.jsx("ul", { className: i(ke({ intent: e, withButton: o })), children: t == null ? void 0 : t.map((r, a) => /* @__PURE__ */ n.jsx(Ie, { intent: e, data: r }, a)) }), qe = ({
|
|
1295
1282
|
title: t,
|
|
1296
1283
|
buttonConfig: e,
|
|
1297
|
-
intent:
|
|
1284
|
+
intent: o = "twoItems",
|
|
1298
1285
|
textContent: r,
|
|
1299
1286
|
imageComponent: a,
|
|
1300
1287
|
classes: d
|
|
1301
1288
|
}) => {
|
|
1302
|
-
const l = !!e, u =
|
|
1303
|
-
return /* @__PURE__ */
|
|
1304
|
-
b && /* @__PURE__ */
|
|
1305
|
-
/* @__PURE__ */
|
|
1289
|
+
const l = !!e, u = o === "fourItems", b = o === "twoItems";
|
|
1290
|
+
return /* @__PURE__ */ n.jsx("section", { className: i(d == null ? void 0 : d.section), children: /* @__PURE__ */ n.jsxs(g, { className: i(d == null ? void 0 : d.mainContainer), children: [
|
|
1291
|
+
b && /* @__PURE__ */ n.jsx(N, { intent: o, title: t }),
|
|
1292
|
+
/* @__PURE__ */ n.jsxs(
|
|
1306
1293
|
"div",
|
|
1307
1294
|
{
|
|
1308
1295
|
className: i(
|
|
@@ -1310,16 +1297,16 @@ const pe = {
|
|
|
1310
1297
|
d == null ? void 0 : d.contentContainer
|
|
1311
1298
|
),
|
|
1312
1299
|
children: [
|
|
1313
|
-
u && /* @__PURE__ */
|
|
1314
|
-
/* @__PURE__ */
|
|
1315
|
-
/* @__PURE__ */
|
|
1300
|
+
u && /* @__PURE__ */ n.jsx(N, { intent: o, title: t, desktopHidden: !0 }),
|
|
1301
|
+
/* @__PURE__ */ n.jsx("div", { className: i(Ne({ intent: o, withButton: l }), d == null ? void 0 : d.imgContainer), children: a }),
|
|
1302
|
+
/* @__PURE__ */ n.jsxs(
|
|
1316
1303
|
"div",
|
|
1317
1304
|
{
|
|
1318
1305
|
className: i("desktop:flex desktop:flex-col desktop:justify-center desktop:py-10", d == null ? void 0 : d.textWithBtnContainer),
|
|
1319
1306
|
children: [
|
|
1320
|
-
u && /* @__PURE__ */
|
|
1321
|
-
/* @__PURE__ */
|
|
1322
|
-
l && /* @__PURE__ */
|
|
1307
|
+
u && /* @__PURE__ */ n.jsx(N, { intent: o, title: t, mobileHidden: !0 }),
|
|
1308
|
+
/* @__PURE__ */ n.jsx(De, { textContent: r, intent: o, withButton: l }),
|
|
1309
|
+
l && /* @__PURE__ */ n.jsx(
|
|
1323
1310
|
I,
|
|
1324
1311
|
{
|
|
1325
1312
|
className: i("w-full px-4 desktop:w-max", d == null ? void 0 : d.button),
|
|
@@ -1338,29 +1325,30 @@ const pe = {
|
|
|
1338
1325
|
] }) });
|
|
1339
1326
|
};
|
|
1340
1327
|
export {
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1328
|
+
de as ApiError,
|
|
1329
|
+
Ke as Badge,
|
|
1330
|
+
Te as Breadcrumbs,
|
|
1344
1331
|
I as Button,
|
|
1345
|
-
|
|
1332
|
+
Fe as ButtonIcon,
|
|
1346
1333
|
E as CustomLink,
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1334
|
+
ze as Document,
|
|
1335
|
+
Re as FloatButton,
|
|
1336
|
+
Ge as Footer,
|
|
1350
1337
|
L as Heading,
|
|
1351
1338
|
m as Icon,
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
qe as
|
|
1339
|
+
Se as Ligal,
|
|
1340
|
+
Ye as Loader,
|
|
1341
|
+
qe as LongBanner,
|
|
1342
|
+
We as PageHeader,
|
|
1355
1343
|
T as PhoneView,
|
|
1356
|
-
|
|
1344
|
+
Ae as ProgressBar,
|
|
1357
1345
|
g as ResponsiveContainer,
|
|
1358
1346
|
D as RgxCheckForHyphen,
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1347
|
+
re as RgxPatronymic,
|
|
1348
|
+
te as RgxUnicode,
|
|
1349
|
+
X as Section,
|
|
1350
|
+
Be as Skeleton,
|
|
1351
|
+
Xe as Stepper,
|
|
1364
1352
|
s as VALIDATION_MESSAGES,
|
|
1365
1353
|
w as allowedBackgroundColors,
|
|
1366
1354
|
B as allowedBackgroundDeg,
|
|
@@ -1372,21 +1360,21 @@ export {
|
|
|
1372
1360
|
v as allowedStrokeColors,
|
|
1373
1361
|
F as allowedTextColors,
|
|
1374
1362
|
P as allowedTextStyles,
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1363
|
+
ne as allowedZIndex,
|
|
1364
|
+
Ze as apiInstance,
|
|
1365
|
+
Le as capitalize,
|
|
1378
1366
|
i as cn,
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1367
|
+
le as defaultHeaders,
|
|
1368
|
+
Oe as extendsPreset,
|
|
1369
|
+
oe as formattedDadataFio,
|
|
1370
|
+
et as isClient,
|
|
1371
|
+
Ee as mergeRefs,
|
|
1372
|
+
Ue as resetPreset,
|
|
1373
|
+
tt as scrollToElement,
|
|
1374
|
+
Me as tailwindConfigBase,
|
|
1375
|
+
$e as zodCalendarValidate,
|
|
1376
|
+
Pe as zodDadataFioSchema,
|
|
1377
|
+
Ve as zodOtpCodeSchema,
|
|
1378
|
+
He as zodPhoneSchema
|
|
1391
1379
|
};
|
|
1392
1380
|
//# sourceMappingURL=hybrid.js.map
|