@scbt-ecom/ui 0.16.0 → 0.16.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +1 -0
- package/dist/client.js +5003 -4973
- package/dist/client.js.map +1 -1
- package/dist/hybrid.d.ts +0 -1
- package/dist/hybrid.js +218 -248
- package/dist/hybrid.js.map +1 -1
- package/package.json +1 -1
package/dist/hybrid.js
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
import { j as n, c as i, I as
|
|
2
|
-
import { b as
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
const Le = (t) => t.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1).toLowerCase()).join("-"), Ee = (...t) => {
|
|
1
|
+
import { j as n, c as i, I as u, a as x, R as g, B as N, z as f, p as O, i as U, g as _, H as C, P as Z } from "./index-CexXWplL.js";
|
|
2
|
+
import { b as Qe, L as Je, d as Ke, s as Ye } from "./index-CexXWplL.js";
|
|
3
|
+
import { forwardRef as G } from "react";
|
|
4
|
+
const Ce = (t) => t.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1).toLowerCase()).join("-"), Le = (...t) => {
|
|
6
5
|
const e = t.filter(Boolean);
|
|
7
6
|
return e.length <= 1 ? e[0] || null : function(r) {
|
|
8
7
|
e.forEach((a) => {
|
|
9
8
|
typeof a == "function" ? a(r) : a && (a.current = r);
|
|
10
9
|
});
|
|
11
10
|
};
|
|
12
|
-
},
|
|
11
|
+
}, W = ({ 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
12
|
"div",
|
|
14
13
|
{
|
|
15
14
|
className: i(
|
|
@@ -31,7 +30,7 @@ const Le = (t) => t.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1)
|
|
|
31
30
|
}
|
|
32
31
|
),
|
|
33
32
|
/* @__PURE__ */ n.jsx(
|
|
34
|
-
|
|
33
|
+
u,
|
|
35
34
|
{
|
|
36
35
|
name: "arrows/arrowRight",
|
|
37
36
|
className: i("size-4 text-icon-primary-default", { "!text-icon-disabled": e == null ? void 0 : e.isDisabled })
|
|
@@ -39,7 +38,7 @@ const Le = (t) => t.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1)
|
|
|
39
38
|
)
|
|
40
39
|
]
|
|
41
40
|
}
|
|
42
|
-
) : /* @__PURE__ */ n.jsx("div", { "aria-current": "page", className: "desk-body-regular-m text-color-blue-grey-600", children: e.label }) })) }),
|
|
41
|
+
) : /* @__PURE__ */ n.jsx("div", { "aria-current": "page", className: "desk-body-regular-m text-color-blue-grey-600", children: e.label }) })) }), X = x(
|
|
43
42
|
"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
43
|
{
|
|
45
44
|
variants: {
|
|
@@ -59,9 +58,9 @@ const Le = (t) => t.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1)
|
|
|
59
58
|
size: "lg"
|
|
60
59
|
}
|
|
61
60
|
}
|
|
62
|
-
),
|
|
63
|
-
({ size: t, intent: e, children: o, classes: r, type: a = "button", ...d },
|
|
64
|
-
),
|
|
61
|
+
), Ee = G(
|
|
62
|
+
({ size: t, intent: e, children: o, classes: r, type: a = "button", ...d }, p) => /* @__PURE__ */ n.jsx("button", { ref: p, type: a, className: i(X({ 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 }) })
|
|
63
|
+
), q = x(
|
|
65
64
|
"group outline-none transition-colors duration-100 p-[2px] rounded-sm border border-solid border-transparent",
|
|
66
65
|
{
|
|
67
66
|
variants: {
|
|
@@ -94,7 +93,7 @@ const Le = (t) => t.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1)
|
|
|
94
93
|
withUnderline: !1
|
|
95
94
|
}
|
|
96
95
|
}
|
|
97
|
-
),
|
|
96
|
+
), Q = x("size-6", {
|
|
98
97
|
variants: {
|
|
99
98
|
intent: {
|
|
100
99
|
blue: "text-icon-primary-default group-hover:text-icon-primary-hover group-focus:text-icon-primary-default ",
|
|
@@ -109,20 +108,20 @@ const Le = (t) => t.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1)
|
|
|
109
108
|
intent: "blue",
|
|
110
109
|
disabled: !1
|
|
111
110
|
}
|
|
112
|
-
}),
|
|
111
|
+
}), L = ({
|
|
113
112
|
intent: t,
|
|
114
113
|
children: e,
|
|
115
114
|
withIcon: o,
|
|
116
115
|
disabled: r,
|
|
117
116
|
size: a,
|
|
118
117
|
icon: d = "arrows/arrowLink",
|
|
119
|
-
classes:
|
|
120
|
-
withUnderline:
|
|
118
|
+
classes: p,
|
|
119
|
+
withUnderline: s,
|
|
121
120
|
...b
|
|
122
|
-
}) => /* @__PURE__ */ n.jsxs("a", { className: i(
|
|
121
|
+
}) => /* @__PURE__ */ n.jsxs("a", { className: i(q({ intent: t, withIcon: o, withUnderline: s, disabled: r, size: a }), p == null ? void 0 : p.link), ...b, children: [
|
|
123
122
|
e,
|
|
124
|
-
o && /* @__PURE__ */ n.jsx(
|
|
125
|
-
] }),
|
|
123
|
+
o && /* @__PURE__ */ n.jsx(u, { name: d, className: i(Q({ intent: t, disabled: r }), p == null ? void 0 : p.icon) })
|
|
124
|
+
] }), J = x("size-8 transition-colors", {
|
|
126
125
|
variants: {
|
|
127
126
|
intent: {
|
|
128
127
|
outline: "text-icon-secondary-dark-default group-hover:text-icon-secondary-dark-hover",
|
|
@@ -132,10 +131,10 @@ const Le = (t) => t.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1)
|
|
|
132
131
|
defaultVariants: {
|
|
133
132
|
intent: "outline"
|
|
134
133
|
}
|
|
135
|
-
}),
|
|
134
|
+
}), K = {
|
|
136
135
|
filled: "files/documentFilled",
|
|
137
136
|
outline: "files/documentOutline"
|
|
138
|
-
},
|
|
137
|
+
}, Fe = ({ text: t, size: e, sizeType: o, href: r, intent: a = "outline" }) => /* @__PURE__ */ n.jsxs(
|
|
139
138
|
"a",
|
|
140
139
|
{
|
|
141
140
|
href: r,
|
|
@@ -146,7 +145,7 @@ const Le = (t) => t.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1)
|
|
|
146
145
|
"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
146
|
),
|
|
148
147
|
children: [
|
|
149
|
-
/* @__PURE__ */ n.jsx(
|
|
148
|
+
/* @__PURE__ */ n.jsx(u, { name: K[a], className: i(J({ intent: a })) }),
|
|
150
149
|
/* @__PURE__ */ n.jsxs("div", { className: i("flex flex-1 flex-col"), children: [
|
|
151
150
|
/* @__PURE__ */ n.jsx("p", { className: i("desk-body-medium-l text-color-dark"), children: t }),
|
|
152
151
|
/* @__PURE__ */ n.jsxs("div", { className: i("desk-body-regular-m text-color-disabled"), children: [
|
|
@@ -167,7 +166,7 @@ const Le = (t) => t.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1)
|
|
|
167
166
|
}
|
|
168
167
|
),
|
|
169
168
|
/* @__PURE__ */ n.jsx("p", { className: i("desk-body-regular-s text-color-tetriary", o == null ? void 0 : o.text), children: e })
|
|
170
|
-
] }),
|
|
169
|
+
] }), ze = ({ 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
170
|
t && /* @__PURE__ */ n.jsx("div", { className: i("mb-2 flex justify-between gap-5", a == null ? void 0 : a.topContent), children: t }),
|
|
172
171
|
/* @__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
172
|
/* @__PURE__ */ n.jsx(
|
|
@@ -189,42 +188,14 @@ const Le = (t) => t.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1)
|
|
|
189
188
|
)
|
|
190
189
|
] }),
|
|
191
190
|
e && /* @__PURE__ */ n.jsx("div", { className: i("mt-2 flex justify-between gap-5", a == null ? void 0 : a.bottomContent), children: e })
|
|
192
|
-
] }),
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
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(
|
|
191
|
+
] }), Ae = ({ className: t }) => /* @__PURE__ */ n.jsx("div", { className: i("skeleton-apply h-full w-full", t) }), Y = {
|
|
192
|
+
main: /* @__PURE__ */ n.jsx(u, { name: "brandLogos/logoMain" }),
|
|
193
|
+
white: /* @__PURE__ */ n.jsx(u, { name: "brandLogos/logoWhite" }),
|
|
194
|
+
gray: /* @__PURE__ */ n.jsx(u, { name: "brandLogos/logoGray" }),
|
|
195
|
+
black: /* @__PURE__ */ n.jsx(u, { name: "brandLogos/logoBlack" }),
|
|
196
|
+
business: /* @__PURE__ */ n.jsx(u, { name: "brandLogos/logoBusiness" }),
|
|
197
|
+
insurance: /* @__PURE__ */ n.jsx(u, { name: "brandLogos/logoInsurance" })
|
|
198
|
+
}, Be = ({ isVisible: t, classes: e, children: o, buttonProps: r }) => /* @__PURE__ */ n.jsxs(
|
|
228
199
|
g,
|
|
229
200
|
{
|
|
230
201
|
className: i(
|
|
@@ -234,10 +205,10 @@ const Le = (t) => t.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1)
|
|
|
234
205
|
),
|
|
235
206
|
children: [
|
|
236
207
|
o,
|
|
237
|
-
/* @__PURE__ */ n.jsx(
|
|
208
|
+
/* @__PURE__ */ n.jsx(N, { size: "lg", className: i("m-auto w-full", e == null ? void 0 : e.button), ...r, children: "Оформить заявку" })
|
|
238
209
|
]
|
|
239
210
|
}
|
|
240
|
-
),
|
|
211
|
+
), ee = /^[\u0400-\u04FF\u00CB\u00EB -]+$/, I = /^(?:[^-]+(?:-[^-]+){0,4}|[^-]+)$/, te = /^[a-zA-Zа-яА-ЯёЁ]+(?:\s*-\s*[a-zA-Zа-яА-ЯёЁ]+){0,4}(?:\s+[a-zA-Zа-яА-ЯёЁ]+(?:\s*-\s*[a-zA-Zа-яА-ЯёЁ]+){0,4})?$/i, c = {
|
|
241
212
|
REQUIRED: "Поле обязательно к заполнению",
|
|
242
213
|
MIN_LENGTH: "Минимальная длина символов должна быть не менее",
|
|
243
214
|
MAX_LENGTH: "Максимальная длина символов должна быть не более",
|
|
@@ -248,48 +219,48 @@ const Le = (t) => t.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1)
|
|
|
248
219
|
INVALID_VALUE: "Поле заполнено некорректно",
|
|
249
220
|
INVALID_DATE: "Введите корректную дату",
|
|
250
221
|
FUTURE_DATE_NOT_ALLOWED: "Нельзя выбрать дату позже текущей"
|
|
251
|
-
},
|
|
222
|
+
}, re = (t) => {
|
|
252
223
|
const e = t.trim().replace(/\s+/g, " ").split(" "), [o, r, ...a] = e, d = a == null ? void 0 : a.join(" ");
|
|
253
224
|
return {
|
|
254
225
|
surname: o,
|
|
255
226
|
name: r,
|
|
256
227
|
patronymic: d
|
|
257
228
|
};
|
|
258
|
-
},
|
|
229
|
+
}, Se = f.string({ invalid_type_error: "Обязательно к заполнению", required_error: "Обязательно к заполнению" }).superRefine((t, e) => {
|
|
259
230
|
t === "" && e.addIssue({
|
|
260
231
|
code: f.ZodIssueCode.custom,
|
|
261
232
|
message: "Введите имя и фамилию"
|
|
262
|
-
}),
|
|
233
|
+
}), ee.test(t) || e.addIssue({
|
|
263
234
|
code: f.ZodIssueCode.custom,
|
|
264
235
|
message: "Должна быть только кириллица"
|
|
265
236
|
});
|
|
266
|
-
const { surname: o, name: r, patronymic: a } =
|
|
237
|
+
const { surname: o, name: r, patronymic: a } = re(t);
|
|
267
238
|
(!o || !r) && e.addIssue({
|
|
268
239
|
code: f.ZodIssueCode.custom,
|
|
269
240
|
message: "Введите имя и фамилию"
|
|
270
|
-
}),
|
|
241
|
+
}), I.test(r) || e.addIssue({
|
|
271
242
|
code: f.ZodIssueCode.custom,
|
|
272
243
|
message: "Неверно введено имя"
|
|
273
|
-
}),
|
|
244
|
+
}), I.test(o) || e.addIssue({
|
|
274
245
|
code: f.ZodIssueCode.custom,
|
|
275
246
|
message: "Неверно введена фамилия"
|
|
276
|
-
}), a && (
|
|
247
|
+
}), a && (te.test(a) || e.addIssue({
|
|
277
248
|
code: f.ZodIssueCode.custom,
|
|
278
249
|
message: "Неверно введено отчество"
|
|
279
250
|
}));
|
|
280
|
-
}),
|
|
281
|
-
const [o, r, a] = (t == null ? void 0 : t.split(".")) ?? "", d =
|
|
251
|
+
}), Re = f.string().length(10, { message: c.INVALID_DATE }).superRefine((t, e) => {
|
|
252
|
+
const [o, r, a] = (t == null ? void 0 : t.split(".")) ?? "", d = O(`${o}/${r}/${a}`, "dd/MM/yyyy", /* @__PURE__ */ new Date());
|
|
282
253
|
+a <= 1950 && e.addIssue({
|
|
283
254
|
code: f.ZodIssueCode.custom,
|
|
284
|
-
message:
|
|
285
|
-
}),
|
|
255
|
+
message: c.INVALID_DATE
|
|
256
|
+
}), U(d) || e.addIssue({
|
|
286
257
|
code: f.ZodIssueCode.custom,
|
|
287
|
-
message:
|
|
258
|
+
message: c.INVALID_DATE
|
|
288
259
|
}), (/* @__PURE__ */ new Date()).getTime() < new Date(d).getTime() && e.addIssue({
|
|
289
260
|
code: f.ZodIssueCode.custom,
|
|
290
|
-
message:
|
|
261
|
+
message: c.FUTURE_DATE_NOT_ALLOWED
|
|
291
262
|
});
|
|
292
|
-
}),
|
|
263
|
+
}), Pe = f.string().superRefine((t, e) => {
|
|
293
264
|
const o = t.charAt(0);
|
|
294
265
|
["3", "4", "5", "6", "9"].includes(o) || e.addIssue({
|
|
295
266
|
code: f.ZodIssueCode.custom,
|
|
@@ -298,19 +269,19 @@ const Le = (t) => t.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1)
|
|
|
298
269
|
code: f.ZodIssueCode.custom,
|
|
299
270
|
message: "Введите номер телефона полностью"
|
|
300
271
|
});
|
|
301
|
-
}).transform((t) => `7${t}`),
|
|
272
|
+
}).transform((t) => `7${t}`), $e = f.coerce.number().min(1e3, `${c.FIX_LENGTH} 4`).max(9999, `${c.FIX_LENGTH} 4`).nullable().superRefine((t, e) => {
|
|
302
273
|
t === null && e.addIssue({
|
|
303
274
|
code: f.ZodIssueCode.invalid_type,
|
|
304
275
|
expected: "number",
|
|
305
276
|
received: "null",
|
|
306
|
-
message: `${
|
|
277
|
+
message: `${c.FIX_LENGTH} 4`
|
|
307
278
|
});
|
|
308
279
|
}).default(null), h = {
|
|
309
280
|
transparent: "transparent",
|
|
310
281
|
current: "currentColor",
|
|
311
282
|
inherit: "inherit",
|
|
312
283
|
initial: "initial"
|
|
313
|
-
},
|
|
284
|
+
}, y = {
|
|
314
285
|
"blue-grey-100": "#f3f4f7",
|
|
315
286
|
"blue-grey-200": "#eaedf1",
|
|
316
287
|
"blue-grey-300": "#d4dbe2",
|
|
@@ -339,7 +310,7 @@ const Le = (t) => t.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1)
|
|
|
339
310
|
"purple-hover": "#52399d",
|
|
340
311
|
overlay: "#0000004d",
|
|
341
312
|
...h
|
|
342
|
-
},
|
|
313
|
+
}, E = {
|
|
343
314
|
dark: "#292929",
|
|
344
315
|
disabled: "#a9b6c5",
|
|
345
316
|
footer: "#c3c3c3",
|
|
@@ -354,7 +325,7 @@ const Le = (t) => t.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1)
|
|
|
354
325
|
"primary-disabled": "#809bc7",
|
|
355
326
|
"blue-grey-600": "#94a4b7",
|
|
356
327
|
...h
|
|
357
|
-
},
|
|
328
|
+
}, F = {
|
|
358
329
|
"barvcray-200": "#ebeef4",
|
|
359
330
|
"barvcray-300": "#dde1e8",
|
|
360
331
|
"greymint-200": "#deecee",
|
|
@@ -368,7 +339,7 @@ const Le = (t) => t.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1)
|
|
|
368
339
|
"skyblue-200": "#e7f3ff",
|
|
369
340
|
"skyblue-300": "#d9edff",
|
|
370
341
|
...h
|
|
371
|
-
},
|
|
342
|
+
}, m = {
|
|
372
343
|
"accent-default": "#2477ff",
|
|
373
344
|
"accent-hover": "#0053da",
|
|
374
345
|
"blue-grey-100": "#f3f4f7",
|
|
@@ -394,7 +365,7 @@ const Le = (t) => t.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1)
|
|
|
394
365
|
"primary-disabled": "#809bc7",
|
|
395
366
|
footer: "#C3C3C3",
|
|
396
367
|
...h
|
|
397
|
-
},
|
|
368
|
+
}, w = {
|
|
398
369
|
"blue-grey-500": "#a9b6c5",
|
|
399
370
|
"blue-grey-700": "#69809a",
|
|
400
371
|
"blue-grey-800": "#5a6e85",
|
|
@@ -413,20 +384,20 @@ const Le = (t) => t.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1)
|
|
|
413
384
|
white: "#ffffff",
|
|
414
385
|
"primary-disabled": "#809bc7",
|
|
415
386
|
...h
|
|
416
|
-
},
|
|
387
|
+
}, z = {
|
|
417
388
|
none: "0",
|
|
418
389
|
sm: "4px",
|
|
419
390
|
md: "8px",
|
|
420
391
|
lg: "16px",
|
|
421
392
|
full: "9999px"
|
|
422
|
-
},
|
|
393
|
+
}, A = {
|
|
423
394
|
30: "30deg",
|
|
424
395
|
45: "45deg",
|
|
425
396
|
80: "80deg",
|
|
426
397
|
90: "90deg",
|
|
427
398
|
110: "110deg",
|
|
428
399
|
180: "180deg"
|
|
429
|
-
},
|
|
400
|
+
}, oe = {
|
|
430
401
|
0: "0",
|
|
431
402
|
1: "1",
|
|
432
403
|
10: "10",
|
|
@@ -436,7 +407,7 @@ const Le = (t) => t.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1)
|
|
|
436
407
|
250: "250",
|
|
437
408
|
500: "500",
|
|
438
409
|
1e3: "1000"
|
|
439
|
-
},
|
|
410
|
+
}, B = {
|
|
440
411
|
12: "12px",
|
|
441
412
|
14: "14px",
|
|
442
413
|
16: "16px",
|
|
@@ -446,7 +417,7 @@ const Le = (t) => t.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1)
|
|
|
446
417
|
28: "28px",
|
|
447
418
|
32: "32px",
|
|
448
419
|
40: "40px"
|
|
449
|
-
},
|
|
420
|
+
}, S = {
|
|
450
421
|
16: "16px",
|
|
451
422
|
20: "20px",
|
|
452
423
|
22: "22px",
|
|
@@ -455,7 +426,7 @@ const Le = (t) => t.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1)
|
|
|
455
426
|
32: "32px",
|
|
456
427
|
40: "40px",
|
|
457
428
|
48: "48px"
|
|
458
|
-
},
|
|
429
|
+
}, R = {
|
|
459
430
|
/* # Headline */
|
|
460
431
|
".mob-headline-bold-m": {
|
|
461
432
|
"@apply font-bold text-28 leading-32": ""
|
|
@@ -515,7 +486,7 @@ const Le = (t) => t.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1)
|
|
|
515
486
|
"@apply font-normal text-12 leading-16": ""
|
|
516
487
|
}
|
|
517
488
|
};
|
|
518
|
-
var
|
|
489
|
+
var P = {}, $ = {};
|
|
519
490
|
(function(t) {
|
|
520
491
|
Object.defineProperty(t, "__esModule", {
|
|
521
492
|
value: !0
|
|
@@ -532,17 +503,17 @@ var $ = {}, H = {};
|
|
|
532
503
|
};
|
|
533
504
|
}
|
|
534
505
|
e.withOptions = function(r, a = () => ({})) {
|
|
535
|
-
const d = function(
|
|
506
|
+
const d = function(p) {
|
|
536
507
|
return {
|
|
537
|
-
__options:
|
|
538
|
-
handler: r(
|
|
539
|
-
config: a(
|
|
508
|
+
__options: p,
|
|
509
|
+
handler: r(p),
|
|
510
|
+
config: a(p)
|
|
540
511
|
};
|
|
541
512
|
};
|
|
542
513
|
return d.__isOptionsFunction = !0, d.__pluginFunction = r, d.__configFunction = a, d;
|
|
543
514
|
};
|
|
544
515
|
const o = e;
|
|
545
|
-
})(
|
|
516
|
+
})($);
|
|
546
517
|
(function(t) {
|
|
547
518
|
Object.defineProperty(t, "__esModule", {
|
|
548
519
|
value: !0
|
|
@@ -552,23 +523,23 @@ var $ = {}, H = {};
|
|
|
552
523
|
return r;
|
|
553
524
|
}
|
|
554
525
|
});
|
|
555
|
-
const e = /* @__PURE__ */ o(
|
|
526
|
+
const e = /* @__PURE__ */ o($);
|
|
556
527
|
function o(a) {
|
|
557
528
|
return a && a.__esModule ? a : {
|
|
558
529
|
default: a
|
|
559
530
|
};
|
|
560
531
|
}
|
|
561
532
|
const r = e.default;
|
|
562
|
-
})(
|
|
563
|
-
let
|
|
564
|
-
var
|
|
565
|
-
const
|
|
566
|
-
function
|
|
533
|
+
})(P);
|
|
534
|
+
let k = P;
|
|
535
|
+
var H = (k.__esModule ? k : { default: k }).default;
|
|
536
|
+
const v = /* @__PURE__ */ _(H), ne = H;
|
|
537
|
+
function D(t) {
|
|
567
538
|
return Object.fromEntries(
|
|
568
539
|
Object.entries(t).filter(([e]) => e !== "DEFAULT")
|
|
569
540
|
);
|
|
570
541
|
}
|
|
571
|
-
var
|
|
542
|
+
var ie = ne(
|
|
572
543
|
({ addUtilities: t, matchUtilities: e, theme: o }) => {
|
|
573
544
|
t({
|
|
574
545
|
"@keyframes enter": o("keyframes.enter"),
|
|
@@ -639,13 +610,13 @@ var ae = ie(
|
|
|
639
610
|
{ values: o("animationTranslate") }
|
|
640
611
|
), e(
|
|
641
612
|
{ duration: (r) => ({ animationDuration: r }) },
|
|
642
|
-
{ values:
|
|
613
|
+
{ values: D(o("animationDuration")) }
|
|
643
614
|
), e(
|
|
644
615
|
{ delay: (r) => ({ animationDelay: r }) },
|
|
645
616
|
{ values: o("animationDelay") }
|
|
646
617
|
), e(
|
|
647
618
|
{ ease: (r) => ({ animationTimingFunction: r }) },
|
|
648
|
-
{ values:
|
|
619
|
+
{ values: D(o("animationTimingFunction")) }
|
|
649
620
|
), t({
|
|
650
621
|
".running": { animationPlayState: "running" },
|
|
651
622
|
".paused": { animationPlayState: "paused" }
|
|
@@ -724,33 +695,33 @@ var ae = ie(
|
|
|
724
695
|
}
|
|
725
696
|
}
|
|
726
697
|
);
|
|
727
|
-
const
|
|
698
|
+
const V = /* @__PURE__ */ _(ie), He = {
|
|
728
699
|
theme: {
|
|
729
700
|
backgroundColor: {
|
|
730
|
-
color:
|
|
731
|
-
banner:
|
|
732
|
-
icon:
|
|
701
|
+
color: y,
|
|
702
|
+
banner: F,
|
|
703
|
+
icon: m
|
|
733
704
|
},
|
|
734
705
|
textColor: {
|
|
735
|
-
icon:
|
|
736
|
-
color:
|
|
706
|
+
icon: m,
|
|
707
|
+
color: E
|
|
737
708
|
},
|
|
738
|
-
fill:
|
|
739
|
-
stroke:
|
|
740
|
-
borderColor:
|
|
741
|
-
outlineColor:
|
|
742
|
-
borderRadius:
|
|
709
|
+
fill: m,
|
|
710
|
+
stroke: m,
|
|
711
|
+
borderColor: w,
|
|
712
|
+
outlineColor: w,
|
|
713
|
+
borderRadius: z,
|
|
743
714
|
fontFamily: { roboto: ["var(--ff-roboto)", "sans-serif"] },
|
|
744
|
-
fontSize:
|
|
745
|
-
lineHeight:
|
|
746
|
-
gradientColorStops:
|
|
715
|
+
fontSize: B,
|
|
716
|
+
lineHeight: S,
|
|
717
|
+
gradientColorStops: y,
|
|
747
718
|
boxShadow: {
|
|
748
719
|
sm: "0 8px 20px 0 rgba(0, 0, 0, 0.08)",
|
|
749
720
|
md: "0 12px 20px 0 rgba(0, 33, 87, 0.10)",
|
|
750
721
|
lg: "0 16px 24px 0 rgba(0, 33, 87, 0.16)"
|
|
751
722
|
},
|
|
752
723
|
extend: {
|
|
753
|
-
bgGradientDeg:
|
|
724
|
+
bgGradientDeg: A,
|
|
754
725
|
width: {
|
|
755
726
|
"popper-content": "var(--radix-popover-content-available-width)",
|
|
756
727
|
"popper-trigger": "var(--radix-popover-trigger-width)",
|
|
@@ -804,11 +775,11 @@ const M = /* @__PURE__ */ _(ae), Me = {
|
|
|
804
775
|
}
|
|
805
776
|
},
|
|
806
777
|
plugins: [
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
t(
|
|
778
|
+
V,
|
|
779
|
+
v(({ addComponents: t }) => {
|
|
780
|
+
t(R);
|
|
810
781
|
}),
|
|
811
|
-
|
|
782
|
+
v(function({ matchUtilities: t, theme: e }) {
|
|
812
783
|
t(
|
|
813
784
|
{
|
|
814
785
|
"bg-deg-gradient": (o) => ({
|
|
@@ -821,7 +792,7 @@ const M = /* @__PURE__ */ _(ae), Me = {
|
|
|
821
792
|
);
|
|
822
793
|
})
|
|
823
794
|
]
|
|
824
|
-
},
|
|
795
|
+
}, Ve = {
|
|
825
796
|
theme: {
|
|
826
797
|
extend: {
|
|
827
798
|
transitionDuration: {
|
|
@@ -861,46 +832,46 @@ const M = /* @__PURE__ */ _(ae), Me = {
|
|
|
861
832
|
}
|
|
862
833
|
}
|
|
863
834
|
}
|
|
864
|
-
},
|
|
835
|
+
}, Me = {
|
|
865
836
|
theme: {
|
|
866
837
|
screens: {
|
|
867
838
|
mobile: { max: "1187px" },
|
|
868
839
|
desktop: "1188px"
|
|
869
840
|
},
|
|
870
841
|
backgroundColor: {
|
|
871
|
-
color:
|
|
872
|
-
banner:
|
|
873
|
-
icon:
|
|
842
|
+
color: y,
|
|
843
|
+
banner: F,
|
|
844
|
+
icon: m
|
|
874
845
|
},
|
|
875
846
|
textColor: {
|
|
876
|
-
icon:
|
|
877
|
-
color:
|
|
847
|
+
icon: m,
|
|
848
|
+
color: E
|
|
878
849
|
},
|
|
879
|
-
fill:
|
|
880
|
-
stroke:
|
|
881
|
-
borderColor:
|
|
882
|
-
outlineColor:
|
|
883
|
-
borderRadius:
|
|
850
|
+
fill: m,
|
|
851
|
+
stroke: m,
|
|
852
|
+
borderColor: w,
|
|
853
|
+
outlineColor: w,
|
|
854
|
+
borderRadius: z,
|
|
884
855
|
fontFamily: { roboto: ["var(--ff-roboto)", "sans-serif"] },
|
|
885
|
-
fontSize:
|
|
886
|
-
lineHeight:
|
|
887
|
-
gradientColorStops:
|
|
856
|
+
fontSize: B,
|
|
857
|
+
lineHeight: S,
|
|
858
|
+
gradientColorStops: y,
|
|
888
859
|
boxShadow: {
|
|
889
860
|
sm: "0 8px 20px 0 rgba(0, 0, 0, 0.08)",
|
|
890
861
|
md: "0 12px 20px 0 rgba(0, 33, 87, 0.10)",
|
|
891
862
|
lg: "0 16px 24px 0 rgba(0, 33, 87, 0.16)"
|
|
892
863
|
},
|
|
893
|
-
zIndex:
|
|
864
|
+
zIndex: oe,
|
|
894
865
|
extend: {
|
|
895
|
-
bgGradientDeg:
|
|
866
|
+
bgGradientDeg: A
|
|
896
867
|
}
|
|
897
868
|
},
|
|
898
869
|
plugins: [
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
t(
|
|
870
|
+
V,
|
|
871
|
+
v(({ addComponents: t }) => {
|
|
872
|
+
t(R);
|
|
902
873
|
}),
|
|
903
|
-
|
|
874
|
+
v(function({ matchUtilities: t, theme: e }) {
|
|
904
875
|
t(
|
|
905
876
|
{
|
|
906
877
|
"bg-deg-gradient": (o) => ({
|
|
@@ -914,37 +885,37 @@ const M = /* @__PURE__ */ _(ae), Me = {
|
|
|
914
885
|
})
|
|
915
886
|
]
|
|
916
887
|
};
|
|
917
|
-
class
|
|
888
|
+
class ae extends Error {
|
|
918
889
|
constructor(e) {
|
|
919
890
|
super("ApiError: " + e.status), this.response = e;
|
|
920
891
|
}
|
|
921
892
|
}
|
|
922
|
-
const
|
|
893
|
+
const de = {
|
|
923
894
|
"Content-Type": "application/json"
|
|
924
|
-
},
|
|
895
|
+
}, Oe = async ({ url: t, init: e, baseUrl: o }) => {
|
|
925
896
|
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}`, {
|
|
926
897
|
headers: {
|
|
927
|
-
...
|
|
898
|
+
...de,
|
|
928
899
|
...r
|
|
929
900
|
},
|
|
930
901
|
body: a,
|
|
931
902
|
...e
|
|
932
903
|
});
|
|
933
904
|
if (!d.ok)
|
|
934
|
-
throw new
|
|
905
|
+
throw new ae(d);
|
|
935
906
|
return await d.json();
|
|
936
|
-
},
|
|
907
|
+
}, le = /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
937
908
|
"© 2004-2024, ПАО «Совкомбанк». Все права защищены. ",
|
|
938
909
|
/* @__PURE__ */ n.jsx("br", { className: "mobile:hidden" }),
|
|
939
910
|
" Генеральная лицензия Банка России №963 от 5 декабря 2014 г."
|
|
940
|
-
] }),
|
|
911
|
+
] }), pe = [
|
|
941
912
|
{ phone: "8 800 100-00-06", text: "Звонок по России (бесплатно)" },
|
|
942
913
|
{ phone: "+7 (495) 988 00 00", text: "Для звонков из-за рубежа (платно)" }
|
|
943
|
-
],
|
|
914
|
+
], fe = [
|
|
944
915
|
{ iconName: "social/vk", href: "https://vk.com/sovcombank" },
|
|
945
916
|
{ iconName: "social/telegram", href: "https://t.me/sovcombankofficial" },
|
|
946
917
|
{ iconName: "social/classmates", href: "https://ok.ru/paosovcombank" }
|
|
947
|
-
],
|
|
918
|
+
], ue = [
|
|
948
919
|
{
|
|
949
920
|
groupLabel: "Совкомбанк",
|
|
950
921
|
links: [
|
|
@@ -1021,16 +992,16 @@ const le = {
|
|
|
1021
992
|
{ text: "Офисы и банкоматы", href: "/" }
|
|
1022
993
|
]
|
|
1023
994
|
}
|
|
1024
|
-
],
|
|
995
|
+
], me = ({ 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(
|
|
1025
996
|
"a",
|
|
1026
997
|
{
|
|
1027
998
|
className: i("flex size-8 items-center justify-center rounded-full bg-[#52576a] p-2", e == null ? void 0 : e.socialLink),
|
|
1028
999
|
href: r,
|
|
1029
1000
|
"aria-label": o.replace("social/", ""),
|
|
1030
|
-
children: /* @__PURE__ */ n.jsx(
|
|
1001
|
+
children: /* @__PURE__ */ n.jsx(u, { name: o, className: i("h-full w-full text-icon-white", e == null ? void 0 : e.socialIcon) })
|
|
1031
1002
|
},
|
|
1032
1003
|
r
|
|
1033
|
-
)) }),
|
|
1004
|
+
)) }), xe = ({ 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(
|
|
1034
1005
|
T,
|
|
1035
1006
|
{
|
|
1036
1007
|
phone: o,
|
|
@@ -1042,7 +1013,7 @@ const le = {
|
|
|
1042
1013
|
}
|
|
1043
1014
|
},
|
|
1044
1015
|
o
|
|
1045
|
-
)) }),
|
|
1016
|
+
)) }), ce = ({ navigationLinks: t, classes: e }) => /* @__PURE__ */ n.jsx(
|
|
1046
1017
|
"div",
|
|
1047
1018
|
{
|
|
1048
1019
|
className: i(
|
|
@@ -1052,7 +1023,7 @@ const le = {
|
|
|
1052
1023
|
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
1024
|
/* @__PURE__ */ n.jsx("div", { className: i("desk-body-medium-l text-color-white", e == null ? void 0 : e.navLabel), children: o }),
|
|
1054
1025
|
/* @__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(
|
|
1055
|
-
|
|
1026
|
+
L,
|
|
1056
1027
|
{
|
|
1057
1028
|
href: d,
|
|
1058
1029
|
"aria-label": a,
|
|
@@ -1067,16 +1038,16 @@ const le = {
|
|
|
1067
1038
|
)) })
|
|
1068
1039
|
] }, o))
|
|
1069
1040
|
}
|
|
1070
|
-
),
|
|
1041
|
+
), se = ({ 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 }), be = ({ classes: t }) => /* @__PURE__ */ n.jsx(
|
|
1071
1042
|
"a",
|
|
1072
1043
|
{
|
|
1073
1044
|
"aria-label": "logo",
|
|
1074
1045
|
href: "https://sovcombank.ru/",
|
|
1075
1046
|
className: i("block h-[24px] w-[132px] desktop:h-[32px] desktop:w-[194px]", t == null ? void 0 : t.footerLogo),
|
|
1076
|
-
children: /* @__PURE__ */ n.jsx(
|
|
1047
|
+
children: /* @__PURE__ */ n.jsx(u, { name: "brandLogos/logoWhite", className: i("size-full", t == null ? void 0 : t.footerLogoIcon) })
|
|
1077
1048
|
}
|
|
1078
|
-
),
|
|
1079
|
-
|
|
1049
|
+
), ge = ({ classes: t }) => /* @__PURE__ */ n.jsx(
|
|
1050
|
+
L,
|
|
1080
1051
|
{
|
|
1081
1052
|
intent: "white",
|
|
1082
1053
|
href: "https://sovcombank.ru/site-map",
|
|
@@ -1089,48 +1060,48 @@ const le = {
|
|
|
1089
1060
|
},
|
|
1090
1061
|
children: "Карта сайта"
|
|
1091
1062
|
}
|
|
1092
|
-
),
|
|
1063
|
+
), Ue = ({
|
|
1093
1064
|
renderBlocks: { withSocial: t = !0, withPhones: e = !0, withNavLinks: o = !0, withCopyright: r = !0, withSiteMap: a = !0 } = {},
|
|
1094
|
-
socialsLinks: d =
|
|
1095
|
-
phones:
|
|
1096
|
-
navigationLinks:
|
|
1065
|
+
socialsLinks: d = fe,
|
|
1066
|
+
phones: p = pe,
|
|
1067
|
+
navigationLinks: s = ue,
|
|
1097
1068
|
ligal: b,
|
|
1098
|
-
copyright:
|
|
1099
|
-
classes:
|
|
1100
|
-
}) => /* @__PURE__ */ n.jsx("footer", { className: i("w-full bg-color-footer py-8 desktop:py-10",
|
|
1069
|
+
copyright: M = le,
|
|
1070
|
+
classes: l
|
|
1071
|
+
}) => /* @__PURE__ */ n.jsx("footer", { className: i("w-full bg-color-footer py-8 desktop:py-10", l == null ? void 0 : l.root), children: /* @__PURE__ */ n.jsx(g, { className: i(l == null ? void 0 : l.footerContainer), children: /* @__PURE__ */ n.jsxs("div", { className: i("mobile:pb-[176px]", l == null ? void 0 : l.footerWrapper), children: [
|
|
1101
1072
|
/* @__PURE__ */ n.jsxs(
|
|
1102
1073
|
"div",
|
|
1103
1074
|
{
|
|
1104
1075
|
className: i(
|
|
1105
1076
|
"flex flex-col items-start justify-between gap-4 border-b border-solid border-blue-grey-500 pb-6 desktop:flex-row desktop:gap-6 desktop:pb-8",
|
|
1106
|
-
|
|
1077
|
+
l == null ? void 0 : l.footerHead
|
|
1107
1078
|
),
|
|
1108
1079
|
children: [
|
|
1109
|
-
/* @__PURE__ */ n.jsxs("div", { className: i(
|
|
1110
|
-
/* @__PURE__ */ n.jsx(
|
|
1111
|
-
t && /* @__PURE__ */ n.jsx(
|
|
1080
|
+
/* @__PURE__ */ n.jsxs("div", { className: i(l == null ? void 0 : l.footerSocialBlock), children: [
|
|
1081
|
+
/* @__PURE__ */ n.jsx(be, { classes: l }),
|
|
1082
|
+
t && /* @__PURE__ */ n.jsx(me, { socialsLinks: d, classes: l })
|
|
1112
1083
|
] }),
|
|
1113
|
-
e && /* @__PURE__ */ n.jsx(
|
|
1084
|
+
e && /* @__PURE__ */ n.jsx(xe, { phones: p, classes: l })
|
|
1114
1085
|
]
|
|
1115
1086
|
}
|
|
1116
1087
|
),
|
|
1117
|
-
o && /* @__PURE__ */ n.jsx(
|
|
1088
|
+
o && /* @__PURE__ */ n.jsx(ce, { navigationLinks: s, classes: l }),
|
|
1118
1089
|
b && b,
|
|
1119
1090
|
/* @__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(
|
|
1121
|
-
a && /* @__PURE__ */ n.jsx(
|
|
1091
|
+
r && /* @__PURE__ */ n.jsx(se, { text: M, classes: l, withSiteMap: a }),
|
|
1092
|
+
a && /* @__PURE__ */ n.jsx(ge, { classes: l })
|
|
1122
1093
|
] })
|
|
1123
|
-
] }) }) }),
|
|
1094
|
+
] }) }) }), he = (t) => {
|
|
1124
1095
|
switch (t.variant) {
|
|
1125
1096
|
case "withButton":
|
|
1126
|
-
return /* @__PURE__ */ n.jsx(
|
|
1097
|
+
return /* @__PURE__ */ n.jsx(N, { intent: "secondary", size: "sm", ...t.buttonProps, children: "Оформить заявку" });
|
|
1127
1098
|
case "withPhone":
|
|
1128
1099
|
const { phone: e, phoneText: o } = t;
|
|
1129
1100
|
return /* @__PURE__ */ n.jsx(T, { phone: e, text: o, ...t.phoneProps });
|
|
1130
1101
|
default:
|
|
1131
1102
|
return null;
|
|
1132
1103
|
}
|
|
1133
|
-
},
|
|
1104
|
+
}, Ze = (t) => {
|
|
1134
1105
|
const { logoPath: e = "/", logoType: o = "main", classes: r } = t;
|
|
1135
1106
|
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
1107
|
/* @__PURE__ */ n.jsx(
|
|
@@ -1144,12 +1115,12 @@ const le = {
|
|
|
1144
1115
|
"flex items-center justify-center [&_svg]:w-[132px] desktop:[&_svg]:h-[32px] desktop:[&_svg]:w-[192px]",
|
|
1145
1116
|
r == null ? void 0 : r.logo
|
|
1146
1117
|
),
|
|
1147
|
-
children:
|
|
1118
|
+
children: Y[o]
|
|
1148
1119
|
}
|
|
1149
1120
|
),
|
|
1150
|
-
|
|
1121
|
+
he(t)
|
|
1151
1122
|
] }) }) });
|
|
1152
|
-
},
|
|
1123
|
+
}, ye = ({ title: t, description: e, index: o, classes: r }) => /* @__PURE__ */ n.jsxs(
|
|
1153
1124
|
"div",
|
|
1154
1125
|
{
|
|
1155
1126
|
className: i(
|
|
@@ -1168,13 +1139,13 @@ const le = {
|
|
|
1168
1139
|
}
|
|
1169
1140
|
),
|
|
1170
1141
|
/* @__PURE__ */ n.jsxs("div", { className: i("flex flex-col gap-4", r == null ? void 0 : r.textBlock), children: [
|
|
1171
|
-
/* @__PURE__ */ n.jsx(
|
|
1142
|
+
/* @__PURE__ */ n.jsx(C, { as: "h4", className: i("text-color-dark", r == null ? void 0 : r.title), children: t }),
|
|
1172
1143
|
/* @__PURE__ */ n.jsx("p", { className: i("desk-body-regular-l text-color-tetriary", r == null ? void 0 : r.description), children: e })
|
|
1173
1144
|
] })
|
|
1174
1145
|
]
|
|
1175
1146
|
}
|
|
1176
|
-
),
|
|
1177
|
-
/* @__PURE__ */ n.jsx(
|
|
1147
|
+
), Ge = ({ heading: t, stepsList: e, classes: o }) => /* @__PURE__ */ n.jsx(W, { 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: [
|
|
1148
|
+
/* @__PURE__ */ n.jsx(C, { as: "h2", className: i("text-color-dark", o == null ? void 0 : o.headline), children: t }),
|
|
1178
1149
|
/* @__PURE__ */ n.jsx(
|
|
1179
1150
|
"div",
|
|
1180
1151
|
{
|
|
@@ -1182,10 +1153,10 @@ const le = {
|
|
|
1182
1153
|
"flex w-full flex-col items-start gap-6 desktop:flex-row desktop:items-center desktop:gap-12",
|
|
1183
1154
|
o == null ? void 0 : o.stepsWrapper
|
|
1184
1155
|
),
|
|
1185
|
-
children: e == null ? void 0 : e.map((r, a) => /* @__PURE__ */ n.jsx(
|
|
1156
|
+
children: e == null ? void 0 : e.map((r, a) => /* @__PURE__ */ n.jsx(ye, { index: a + 1, ...r, classes: o }, r.title))
|
|
1186
1157
|
}
|
|
1187
1158
|
)
|
|
1188
|
-
] }) }) }),
|
|
1159
|
+
] }) }) }), we = x("", {
|
|
1189
1160
|
variants: {
|
|
1190
1161
|
intent: {
|
|
1191
1162
|
twoItems: "mob-headline-bold-s mb-6 desktop:desk-headline-bold-m desktop:mb-12",
|
|
@@ -1201,7 +1172,7 @@ const le = {
|
|
|
1201
1172
|
defaultVariants: {
|
|
1202
1173
|
intent: "twoItems"
|
|
1203
1174
|
}
|
|
1204
|
-
}),
|
|
1175
|
+
}), ve = x("desktop:max-h-[98px]", {
|
|
1205
1176
|
variants: {
|
|
1206
1177
|
intent: {
|
|
1207
1178
|
twoItems: "",
|
|
@@ -1233,7 +1204,7 @@ const le = {
|
|
|
1233
1204
|
class: "desktop:grid grid-rows-2 desktop:gap-x-10 desktop:gap-y-4 grid-flow-col"
|
|
1234
1205
|
}
|
|
1235
1206
|
]
|
|
1236
|
-
}),
|
|
1207
|
+
}), ke = x("border-blue-grey-500 pb-6 mobile:mb-6 mobile:border-b mobile:last:pb-0 mobile:last:mb-0", {
|
|
1237
1208
|
variants: {
|
|
1238
1209
|
intent: {
|
|
1239
1210
|
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',
|
|
@@ -1243,7 +1214,7 @@ const le = {
|
|
|
1243
1214
|
defaultVariants: {
|
|
1244
1215
|
intent: "twoItems"
|
|
1245
1216
|
}
|
|
1246
|
-
}),
|
|
1217
|
+
}), je = x("mobile:mx-auto mobile:mb-8, h-[172px] w-[280px] ", {
|
|
1247
1218
|
variants: {
|
|
1248
1219
|
intent: {
|
|
1249
1220
|
twoItems: "desktop:h-[232px] desktop:w-[500px]",
|
|
@@ -1269,16 +1240,16 @@ const le = {
|
|
|
1269
1240
|
class: "desktop:h-[272px] desktop:w-[500px]"
|
|
1270
1241
|
}
|
|
1271
1242
|
]
|
|
1272
|
-
}),
|
|
1243
|
+
}), Ne = ({ data: t, intent: e }) => {
|
|
1273
1244
|
const { title: o, description: r, popoverText: a } = t;
|
|
1274
|
-
return /* @__PURE__ */ n.jsx("li", { className: i(
|
|
1245
|
+
return /* @__PURE__ */ n.jsx("li", { className: i(ke({ intent: e })), children: /* @__PURE__ */ n.jsxs("div", { className: "desktop:max-w-[264px]", children: [
|
|
1275
1246
|
/* @__PURE__ */ n.jsxs("div", { className: i("mb-2 flex items-center gap-2"), children: [
|
|
1276
1247
|
/* @__PURE__ */ n.jsx("h4", { className: i("mob-title-bold-m text-color-dark"), children: o }),
|
|
1277
|
-
a && /* @__PURE__ */ n.jsx(
|
|
1248
|
+
a && /* @__PURE__ */ n.jsx(Z, { triggerElement: /* @__PURE__ */ n.jsx(u, { className: i("size-5 text-icon-blue-grey-600"), name: "info/helpCircle" }), children: a })
|
|
1278
1249
|
] }),
|
|
1279
1250
|
/* @__PURE__ */ n.jsx("p", { className: i("mob-body-regular-l text-color-secondary"), children: r })
|
|
1280
1251
|
] }) });
|
|
1281
|
-
},
|
|
1252
|
+
}, j = ({ intent: t, title: e, desktopHidden: o = !1, mobileHidden: r = !1 }) => /* @__PURE__ */ n.jsx("h2", { className: i(we({ intent: t, desktopHidden: o, mobileHidden: r })), children: e }), Ie = ({ textContent: t, intent: e, withButton: o }) => /* @__PURE__ */ n.jsx("ul", { className: i(ve({ intent: e, withButton: o })), children: t == null ? void 0 : t.map((r, a) => /* @__PURE__ */ n.jsx(Ne, { intent: e, data: r }, a)) }), We = ({
|
|
1282
1253
|
title: t,
|
|
1283
1254
|
buttonConfig: e,
|
|
1284
1255
|
intent: o = "twoItems",
|
|
@@ -1286,9 +1257,9 @@ const le = {
|
|
|
1286
1257
|
imageComponent: a,
|
|
1287
1258
|
classes: d
|
|
1288
1259
|
}) => {
|
|
1289
|
-
const
|
|
1260
|
+
const p = !!e, s = o === "fourItems", b = o === "twoItems";
|
|
1290
1261
|
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(
|
|
1262
|
+
b && /* @__PURE__ */ n.jsx(j, { intent: o, title: t }),
|
|
1292
1263
|
/* @__PURE__ */ n.jsxs(
|
|
1293
1264
|
"div",
|
|
1294
1265
|
{
|
|
@@ -1297,17 +1268,17 @@ const le = {
|
|
|
1297
1268
|
d == null ? void 0 : d.contentContainer
|
|
1298
1269
|
),
|
|
1299
1270
|
children: [
|
|
1300
|
-
|
|
1301
|
-
/* @__PURE__ */ n.jsx("div", { className: i(
|
|
1271
|
+
s && /* @__PURE__ */ n.jsx(j, { intent: o, title: t, desktopHidden: !0 }),
|
|
1272
|
+
/* @__PURE__ */ n.jsx("div", { className: i(je({ intent: o, withButton: p }), d == null ? void 0 : d.imgContainer), children: a }),
|
|
1302
1273
|
/* @__PURE__ */ n.jsxs(
|
|
1303
1274
|
"div",
|
|
1304
1275
|
{
|
|
1305
1276
|
className: i("desktop:flex desktop:flex-col desktop:justify-center desktop:py-10", d == null ? void 0 : d.textWithBtnContainer),
|
|
1306
1277
|
children: [
|
|
1307
|
-
|
|
1308
|
-
/* @__PURE__ */ n.jsx(
|
|
1309
|
-
|
|
1310
|
-
|
|
1278
|
+
s && /* @__PURE__ */ n.jsx(j, { intent: o, title: t, mobileHidden: !0 }),
|
|
1279
|
+
/* @__PURE__ */ n.jsx(Ie, { textContent: r, intent: o, withButton: p }),
|
|
1280
|
+
p && /* @__PURE__ */ n.jsx(
|
|
1281
|
+
N,
|
|
1311
1282
|
{
|
|
1312
1283
|
className: i("w-full px-4 desktop:w-max", d == null ? void 0 : d.button),
|
|
1313
1284
|
size: "lg",
|
|
@@ -1325,56 +1296,55 @@ const le = {
|
|
|
1325
1296
|
] }) });
|
|
1326
1297
|
};
|
|
1327
1298
|
export {
|
|
1328
|
-
|
|
1329
|
-
|
|
1299
|
+
ae as ApiError,
|
|
1300
|
+
Qe as Badge,
|
|
1330
1301
|
Te as Breadcrumbs,
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
We as PageHeader,
|
|
1302
|
+
N as Button,
|
|
1303
|
+
Ee as ButtonIcon,
|
|
1304
|
+
L as CustomLink,
|
|
1305
|
+
Fe as Document,
|
|
1306
|
+
Be as FloatButton,
|
|
1307
|
+
Ue as Footer,
|
|
1308
|
+
C as Heading,
|
|
1309
|
+
u as Icon,
|
|
1310
|
+
Je as Loader,
|
|
1311
|
+
We as LongBanner,
|
|
1312
|
+
Ze as PageHeader,
|
|
1343
1313
|
T as PhoneView,
|
|
1344
|
-
|
|
1314
|
+
ze as ProgressBar,
|
|
1345
1315
|
g as ResponsiveContainer,
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1316
|
+
I as RgxCheckForHyphen,
|
|
1317
|
+
te as RgxPatronymic,
|
|
1318
|
+
ee as RgxUnicode,
|
|
1319
|
+
W as Section,
|
|
1320
|
+
Ae as Skeleton,
|
|
1321
|
+
Ge as Stepper,
|
|
1322
|
+
c as VALIDATION_MESSAGES,
|
|
1323
|
+
y as allowedBackgroundColors,
|
|
1324
|
+
A as allowedBackgroundDeg,
|
|
1325
|
+
F as allowedBannersBackgroundColors,
|
|
1326
|
+
z as allowedBorderRadius,
|
|
1327
|
+
B as allowedFontSize,
|
|
1328
|
+
m as allowedIconsColors,
|
|
1329
|
+
S as allowedLineHeight,
|
|
1330
|
+
w as allowedStrokeColors,
|
|
1331
|
+
E as allowedTextColors,
|
|
1332
|
+
R as allowedTextStyles,
|
|
1333
|
+
oe as allowedZIndex,
|
|
1334
|
+
Oe as apiInstance,
|
|
1335
|
+
Ce as capitalize,
|
|
1366
1336
|
i as cn,
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1337
|
+
de as defaultHeaders,
|
|
1338
|
+
Ve as extendsPreset,
|
|
1339
|
+
re as formattedDadataFio,
|
|
1340
|
+
Ke as isClient,
|
|
1341
|
+
Le as mergeRefs,
|
|
1342
|
+
Me as resetPreset,
|
|
1343
|
+
Ye as scrollToElement,
|
|
1344
|
+
He as tailwindConfigBase,
|
|
1345
|
+
Re as zodCalendarValidate,
|
|
1346
|
+
Se as zodDadataFioSchema,
|
|
1347
|
+
$e as zodOtpCodeSchema,
|
|
1348
|
+
Pe as zodPhoneSchema
|
|
1379
1349
|
};
|
|
1380
1350
|
//# sourceMappingURL=hybrid.js.map
|