@scbt-ecom/ui 0.14.1 → 0.15.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/client.js +7041 -7026
- package/dist/client.js.map +1 -1
- package/dist/hybrid.js +427 -381
- package/dist/hybrid.js.map +1 -1
- package/dist/{index-BJGvyDqg.js → index-CexXWplL.js} +22 -2
- package/dist/index-CexXWplL.js.map +1 -0
- package/dist/shared/hooks/index.d.ts +1 -0
- package/dist/shared/hooks/useFieldsProgress.d.ts +14 -0
- package/dist/shared/ui/CustomLink.d.ts +7 -2
- package/dist/shared/ui/icon/sprite.gen.d.ts +1 -0
- package/dist/sprites/logos.svg +1 -0
- package/dist/style.css +1 -1
- package/dist/widgets/authProvider/AuthProvider.d.ts +3 -0
- package/dist/widgets/authProvider/index.d.ts +2 -0
- package/dist/widgets/authProvider/model/helpers.d.ts +5 -0
- package/dist/widgets/authProvider/model/types.d.ts +75 -0
- package/dist/widgets/authProvider/ui/Esia.d.ts +2 -0
- package/dist/widgets/authProvider/ui/MobileId.d.ts +2 -0
- package/dist/widgets/authProvider/ui/index.d.ts +2 -0
- package/dist/widgets/authProvider/ui/ui/AuthWrapper.d.ts +11 -0
- package/dist/widgets/authProvider/ui/ui/EsiaLogo.d.ts +2 -0
- package/dist/widgets/authProvider/ui/ui/Links.d.ts +11 -0
- package/dist/widgets/authProvider/ui/ui/index.d.ts +3 -0
- package/dist/widgets/baseForm/BaseForm.d.ts +3 -0
- package/dist/widgets/baseForm/index.d.ts +1 -0
- package/dist/widgets/footer/Footer.d.ts +14 -12
- package/dist/widgets/footer/ui/Copyright.d.ts +4 -3
- package/dist/widgets/footer/ui/FooterLogo.d.ts +8 -0
- package/dist/widgets/footer/ui/Ligal.d.ts +4 -4
- package/dist/widgets/footer/ui/NavLinks.d.ts +7 -6
- package/dist/widgets/footer/ui/PhonesBlock.d.ts +5 -5
- package/dist/widgets/footer/ui/SiteMap.d.ts +8 -0
- package/dist/widgets/footer/ui/SocialLinks.d.ts +4 -4
- package/dist/widgets/footer/ui/index.d.ts +7 -5
- package/dist/widgets/index.d.ts +9 -7
- package/package.json +1 -1
- package/dist/index-BJGvyDqg.js.map +0 -1
package/dist/hybrid.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { j as o, c as
|
|
2
|
-
import { b as
|
|
3
|
-
import * as
|
|
1
|
+
import { j as o, c as i, I as m, a as c, R as g, B as I, z as f, p as Z, i as G, g as _, H as L, P as W } from "./index-CexXWplL.js";
|
|
2
|
+
import { b as et, L as tt, d as rt, s as ot } from "./index-CexXWplL.js";
|
|
3
|
+
import * as y from "react";
|
|
4
4
|
import { forwardRef as X } from "react";
|
|
5
|
-
const
|
|
6
|
-
const e =
|
|
7
|
-
return e.length <= 1 ? e[0] || null : function(
|
|
8
|
-
e.forEach((
|
|
9
|
-
typeof
|
|
5
|
+
const Fe = (t) => t.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1).toLowerCase()).join("-"), ze = (...t) => {
|
|
6
|
+
const e = t.filter(Boolean);
|
|
7
|
+
return e.length <= 1 ? e[0] || null : function(r) {
|
|
8
|
+
e.forEach((a) => {
|
|
9
|
+
typeof a == "function" ? a(r) : a && (a.current = r);
|
|
10
10
|
});
|
|
11
11
|
};
|
|
12
|
-
},
|
|
12
|
+
}, q = ({ children: t, className: e, ...n }) => /* @__PURE__ */ o.jsx("section", { className: i("pb-16 desktop:pb-20", e), ...n, children: t }), Ae = ({ linksList: t }) => /* @__PURE__ */ o.jsx("div", { "aria-label": "Breadcrumb", className: "flex max-w-[840px] items-center gap-2", children: t.map((e) => /* @__PURE__ */ o.jsx(o.Fragment, { children: "path" in e ? /* @__PURE__ */ o.jsxs(
|
|
13
13
|
"div",
|
|
14
14
|
{
|
|
15
|
-
className:
|
|
15
|
+
className: i(
|
|
16
16
|
"flex items-center gap-1 rounded-sm border-2 border-solid border-transparent px-1 focus-within:border-primary-focus",
|
|
17
17
|
{ "pointer-events-none !border-transparent": e == null ? void 0 : e.isDisabled }
|
|
18
18
|
),
|
|
@@ -23,7 +23,7 @@ const Ee = (r) => r.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1)
|
|
|
23
23
|
href: e.path,
|
|
24
24
|
target: "_blank",
|
|
25
25
|
rel: "noreferrer",
|
|
26
|
-
className:
|
|
26
|
+
className: i(
|
|
27
27
|
"desk-body-regular-m text-color-primary-default outline-none hover:text-color-primary-hover focus:text-color-primary-default",
|
|
28
28
|
{ "!text-color-disabled": e == null ? void 0 : e.isDisabled }
|
|
29
29
|
),
|
|
@@ -34,12 +34,12 @@ const Ee = (r) => r.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1)
|
|
|
34
34
|
m,
|
|
35
35
|
{
|
|
36
36
|
name: "arrows/arrowRight",
|
|
37
|
-
className:
|
|
37
|
+
className: i("size-4 text-icon-primary-default", { "!text-icon-disabled": e == null ? void 0 : e.isDisabled })
|
|
38
38
|
}
|
|
39
39
|
)
|
|
40
40
|
]
|
|
41
41
|
}
|
|
42
|
-
) : /* @__PURE__ */ o.jsx("div", { "aria-current": "page", className: "desk-body-regular-m text-color-blue-grey-600", children: e.label }) })) }),
|
|
42
|
+
) : /* @__PURE__ */ o.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,16 +59,20 @@ const Ee = (r) => r.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1)
|
|
|
59
59
|
size: "lg"
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
|
-
),
|
|
63
|
-
({ size:
|
|
64
|
-
),
|
|
65
|
-
"group
|
|
62
|
+
), Be = X(
|
|
63
|
+
({ size: t, intent: e, children: n, classes: r, type: a = "button", ...d }, l) => /* @__PURE__ */ o.jsx("button", { ref: l, type: a, className: i(Q({ intent: e, size: t }), r == null ? void 0 : r.button), ...d, children: /* @__PURE__ */ o.jsx("span", { className: i(r == null ? void 0 : r.icon), children: n }) })
|
|
64
|
+
), J = c(
|
|
65
|
+
"group outline-none transition-colors duration-100 p-[2px] rounded-sm border border-solid border-transparent",
|
|
66
66
|
{
|
|
67
67
|
variants: {
|
|
68
68
|
intent: {
|
|
69
69
|
blue: "text-color-primary-default hover:text-color-primary-hover focus:text-color-primary-default focus:border-primary-focus",
|
|
70
70
|
white: "text-color-white hover:text-color-footer focus:text-color-white focus:border-primary-focus"
|
|
71
71
|
},
|
|
72
|
+
withUnderline: {
|
|
73
|
+
true: "underline underline-offset-4",
|
|
74
|
+
false: ""
|
|
75
|
+
},
|
|
72
76
|
withIcon: {
|
|
73
77
|
true: "flex items-center gap-1",
|
|
74
78
|
false: ""
|
|
@@ -86,10 +90,11 @@ const Ee = (r) => r.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1)
|
|
|
86
90
|
intent: "blue",
|
|
87
91
|
withIcon: !0,
|
|
88
92
|
disabled: !1,
|
|
89
|
-
size: "sm"
|
|
93
|
+
size: "sm",
|
|
94
|
+
withUnderline: !1
|
|
90
95
|
}
|
|
91
96
|
}
|
|
92
|
-
),
|
|
97
|
+
), K = c("size-6", {
|
|
93
98
|
variants: {
|
|
94
99
|
intent: {
|
|
95
100
|
blue: "text-icon-primary-default group-hover:text-icon-primary-hover group-focus:text-icon-primary-default ",
|
|
@@ -104,19 +109,20 @@ const Ee = (r) => r.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1)
|
|
|
104
109
|
intent: "blue",
|
|
105
110
|
disabled: !1
|
|
106
111
|
}
|
|
107
|
-
}),
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
112
|
+
}), E = ({
|
|
113
|
+
intent: t,
|
|
114
|
+
children: e,
|
|
115
|
+
withIcon: n,
|
|
116
|
+
disabled: r,
|
|
117
|
+
size: a,
|
|
118
|
+
icon: d = "arrows/arrowLink",
|
|
119
|
+
classes: l,
|
|
120
|
+
withUnderline: u,
|
|
121
|
+
...b
|
|
122
|
+
}) => /* @__PURE__ */ o.jsxs("a", { className: i(J({ intent: t, withIcon: n, withUnderline: u, disabled: r, size: a }), l == null ? void 0 : l.link), ...b, children: [
|
|
123
|
+
e,
|
|
124
|
+
n && /* @__PURE__ */ o.jsx(m, { name: d, className: i(K({ intent: t, disabled: r }), l == null ? void 0 : l.icon) })
|
|
125
|
+
] }), Y = c("size-8 transition-colors", {
|
|
120
126
|
variants: {
|
|
121
127
|
intent: {
|
|
122
128
|
outline: "text-icon-secondary-dark-default group-hover:text-icon-secondary-dark-hover",
|
|
@@ -126,24 +132,24 @@ const Ee = (r) => r.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1)
|
|
|
126
132
|
defaultVariants: {
|
|
127
133
|
intent: "outline"
|
|
128
134
|
}
|
|
129
|
-
}),
|
|
135
|
+
}), ee = {
|
|
130
136
|
filled: "files/documentFilled",
|
|
131
137
|
outline: "files/documentOutline"
|
|
132
|
-
},
|
|
138
|
+
}, Se = ({ text: t, size: e, sizeType: n, href: r, intent: a = "outline" }) => /* @__PURE__ */ o.jsxs(
|
|
133
139
|
"a",
|
|
134
140
|
{
|
|
135
|
-
href:
|
|
141
|
+
href: r,
|
|
136
142
|
target: "_blank",
|
|
137
143
|
rel: "noreferrer",
|
|
138
144
|
tabIndex: 0,
|
|
139
|
-
className:
|
|
145
|
+
className: i(
|
|
140
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]"
|
|
141
147
|
),
|
|
142
148
|
children: [
|
|
143
|
-
/* @__PURE__ */ o.jsx(m, { name:
|
|
144
|
-
/* @__PURE__ */ o.jsxs("div", { className:
|
|
145
|
-
/* @__PURE__ */ o.jsx("p", { className:
|
|
146
|
-
/* @__PURE__ */ o.jsxs("div", { className:
|
|
149
|
+
/* @__PURE__ */ o.jsx(m, { name: ee[a], className: i(Y({ intent: a })) }),
|
|
150
|
+
/* @__PURE__ */ o.jsxs("div", { className: i("flex flex-1 flex-col"), children: [
|
|
151
|
+
/* @__PURE__ */ o.jsx("p", { className: i("desk-body-medium-l text-color-dark"), children: t }),
|
|
152
|
+
/* @__PURE__ */ o.jsxs("div", { className: i("desk-body-regular-m text-color-disabled"), children: [
|
|
147
153
|
e,
|
|
148
154
|
" ",
|
|
149
155
|
n
|
|
@@ -151,59 +157,59 @@ const Ee = (r) => r.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1)
|
|
|
151
157
|
] })
|
|
152
158
|
]
|
|
153
159
|
}
|
|
154
|
-
),
|
|
160
|
+
), T = ({ phone: t, text: e, classes: n, ...r }) => /* @__PURE__ */ o.jsxs("div", { className: i("flex w-max flex-col", n == null ? void 0 : n.wrapper), ...r, children: [
|
|
155
161
|
/* @__PURE__ */ o.jsx(
|
|
156
162
|
"a",
|
|
157
163
|
{
|
|
158
|
-
href: `tel:${
|
|
159
|
-
className:
|
|
160
|
-
children:
|
|
164
|
+
href: `tel:${t}`,
|
|
165
|
+
className: i("mob-body-medium-l ml-auto text-color-dark desktop:desk-body-medium-l", n == null ? void 0 : n.link),
|
|
166
|
+
children: t
|
|
161
167
|
}
|
|
162
168
|
),
|
|
163
|
-
/* @__PURE__ */ o.jsx("p", { className:
|
|
164
|
-
] }),
|
|
165
|
-
|
|
166
|
-
/* @__PURE__ */ o.jsxs("div", { className:
|
|
169
|
+
/* @__PURE__ */ o.jsx("p", { className: i("desk-body-regular-s text-color-tetriary", n == null ? void 0 : n.text), children: e })
|
|
170
|
+
] }), Re = ({ topContent: t, bottomContent: e, progress: n, maxPercent: r = 100, classes: a }) => /* @__PURE__ */ o.jsxs("div", { className: i("flex w-full flex-col", a == null ? void 0 : a.wrapper), children: [
|
|
171
|
+
t && /* @__PURE__ */ o.jsx("div", { className: i("mb-2 flex justify-between gap-5", a == null ? void 0 : a.topContent), children: t }),
|
|
172
|
+
/* @__PURE__ */ o.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: [
|
|
167
173
|
/* @__PURE__ */ o.jsx(
|
|
168
174
|
"div",
|
|
169
175
|
{
|
|
170
176
|
style: { width: `${n}%` },
|
|
171
|
-
className:
|
|
177
|
+
className: i("relative z-10 h-2 rounded-md bg-color-positive transition-all", a == null ? void 0 : a.progress)
|
|
172
178
|
}
|
|
173
179
|
),
|
|
174
180
|
/* @__PURE__ */ o.jsx(
|
|
175
181
|
"span",
|
|
176
182
|
{
|
|
177
|
-
style: { maxWidth: `${
|
|
178
|
-
className:
|
|
183
|
+
style: { maxWidth: `${r}%` },
|
|
184
|
+
className: i(
|
|
179
185
|
"progressBar-apply z-1 absolute top-1/2 h-full w-full -translate-y-1/2 animate-progress-loader rounded-md",
|
|
180
|
-
|
|
186
|
+
a == null ? void 0 : a.loader
|
|
181
187
|
)
|
|
182
188
|
}
|
|
183
189
|
)
|
|
184
190
|
] }),
|
|
185
|
-
e && /* @__PURE__ */ o.jsx("div", { className:
|
|
186
|
-
] }),
|
|
191
|
+
e && /* @__PURE__ */ o.jsx("div", { className: i("mt-2 flex justify-between gap-5", a == null ? void 0 : a.bottomContent), children: e })
|
|
192
|
+
] }), Pe = ({ className: t }) => /* @__PURE__ */ o.jsx("div", { className: i("skeleton-apply h-full w-full", t) }), te = {
|
|
187
193
|
main: /* @__PURE__ */ o.jsx(m, { name: "brandLogos/logoMain" }),
|
|
188
194
|
white: /* @__PURE__ */ o.jsx(m, { name: "brandLogos/logoWhite" }),
|
|
189
195
|
gray: /* @__PURE__ */ o.jsx(m, { name: "brandLogos/logoGray" }),
|
|
190
196
|
black: /* @__PURE__ */ o.jsx(m, { name: "brandLogos/logoBlack" }),
|
|
191
197
|
business: /* @__PURE__ */ o.jsx(m, { name: "brandLogos/logoBusiness" }),
|
|
192
198
|
insurance: /* @__PURE__ */ o.jsx(m, { name: "brandLogos/logoInsurance" })
|
|
193
|
-
},
|
|
199
|
+
}, $e = ({ isVisible: t, classes: e, children: n, buttonProps: r }) => /* @__PURE__ */ o.jsxs(
|
|
194
200
|
g,
|
|
195
201
|
{
|
|
196
|
-
className:
|
|
202
|
+
className: i(
|
|
197
203
|
"fixed bottom-0 left-1/2 z-[60] w-full max-w-[604px] -translate-x-1/2 translate-y-0 rounded-t-lg bg-color-white px-6 py-4 shadow-[0px_-6px_8px_0px_#2929290A] transition-transform duration-1000 desktop:hidden",
|
|
198
|
-
{ "translate-y-[100%]": !
|
|
204
|
+
{ "translate-y-[100%]": !t },
|
|
199
205
|
e == null ? void 0 : e.root
|
|
200
206
|
),
|
|
201
207
|
children: [
|
|
202
208
|
n,
|
|
203
|
-
/* @__PURE__ */ o.jsx(I, { size: "lg", className:
|
|
209
|
+
/* @__PURE__ */ o.jsx(I, { size: "lg", className: i("m-auto w-full", e == null ? void 0 : e.button), ...r, children: "Оформить заявку" })
|
|
204
210
|
]
|
|
205
211
|
}
|
|
206
|
-
),
|
|
212
|
+
), re = /^[\u0400-\u04FF\u00CB\u00EB -]+$/, D = /^(?:[^-]+(?:-[^-]+){0,4}|[^-]+)$/, oe = /^[a-zA-Zа-яА-ЯёЁ]+(?:\s*-\s*[a-zA-Zа-яА-ЯёЁ]+){0,4}(?:\s+[a-zA-Zа-яА-ЯёЁ]+(?:\s*-\s*[a-zA-Zа-яА-ЯёЁ]+){0,4})?$/i, s = {
|
|
207
213
|
REQUIRED: "Поле обязательно к заполнению",
|
|
208
214
|
MIN_LENGTH: "Минимальная длина символов должна быть не менее",
|
|
209
215
|
MAX_LENGTH: "Максимальная длина символов должна быть не более",
|
|
@@ -214,69 +220,69 @@ const Ee = (r) => r.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1)
|
|
|
214
220
|
INVALID_VALUE: "Поле заполнено некорректно",
|
|
215
221
|
INVALID_DATE: "Введите корректную дату",
|
|
216
222
|
FUTURE_DATE_NOT_ALLOWED: "Нельзя выбрать дату позже текущей"
|
|
217
|
-
},
|
|
218
|
-
const e =
|
|
223
|
+
}, ne = (t) => {
|
|
224
|
+
const e = t.trim().replace(/\s+/g, " ").split(" "), [n, r, ...a] = e, d = a == null ? void 0 : a.join(" ");
|
|
219
225
|
return {
|
|
220
226
|
surname: n,
|
|
221
|
-
name:
|
|
227
|
+
name: r,
|
|
222
228
|
patronymic: d
|
|
223
229
|
};
|
|
224
|
-
},
|
|
225
|
-
|
|
226
|
-
code:
|
|
230
|
+
}, He = f.string({ invalid_type_error: "Обязательно к заполнению", required_error: "Обязательно к заполнению" }).superRefine((t, e) => {
|
|
231
|
+
t === "" && e.addIssue({
|
|
232
|
+
code: f.ZodIssueCode.custom,
|
|
227
233
|
message: "Введите имя и фамилию"
|
|
228
|
-
}),
|
|
229
|
-
code:
|
|
234
|
+
}), re.test(t) || e.addIssue({
|
|
235
|
+
code: f.ZodIssueCode.custom,
|
|
230
236
|
message: "Должна быть только кириллица"
|
|
231
237
|
});
|
|
232
|
-
const { surname: n, name:
|
|
233
|
-
(!n || !
|
|
234
|
-
code:
|
|
238
|
+
const { surname: n, name: r, patronymic: a } = ne(t);
|
|
239
|
+
(!n || !r) && e.addIssue({
|
|
240
|
+
code: f.ZodIssueCode.custom,
|
|
235
241
|
message: "Введите имя и фамилию"
|
|
236
|
-
}), D.test(
|
|
237
|
-
code:
|
|
242
|
+
}), D.test(r) || e.addIssue({
|
|
243
|
+
code: f.ZodIssueCode.custom,
|
|
238
244
|
message: "Неверно введено имя"
|
|
239
245
|
}), D.test(n) || e.addIssue({
|
|
240
|
-
code:
|
|
246
|
+
code: f.ZodIssueCode.custom,
|
|
241
247
|
message: "Неверно введена фамилия"
|
|
242
|
-
}),
|
|
243
|
-
code:
|
|
248
|
+
}), a && (oe.test(a) || e.addIssue({
|
|
249
|
+
code: f.ZodIssueCode.custom,
|
|
244
250
|
message: "Неверно введено отчество"
|
|
245
251
|
}));
|
|
246
|
-
}),
|
|
247
|
-
const [n,
|
|
248
|
-
+
|
|
249
|
-
code:
|
|
252
|
+
}), Ve = f.string().length(10, { message: s.INVALID_DATE }).superRefine((t, e) => {
|
|
253
|
+
const [n, r, a] = (t == null ? void 0 : t.split(".")) ?? "", d = Z(`${n}/${r}/${a}`, "dd/MM/yyyy", /* @__PURE__ */ new Date());
|
|
254
|
+
+a <= 1950 && e.addIssue({
|
|
255
|
+
code: f.ZodIssueCode.custom,
|
|
250
256
|
message: s.INVALID_DATE
|
|
251
|
-
}),
|
|
252
|
-
code:
|
|
257
|
+
}), G(d) || e.addIssue({
|
|
258
|
+
code: f.ZodIssueCode.custom,
|
|
253
259
|
message: s.INVALID_DATE
|
|
254
260
|
}), (/* @__PURE__ */ new Date()).getTime() < new Date(d).getTime() && e.addIssue({
|
|
255
|
-
code:
|
|
261
|
+
code: f.ZodIssueCode.custom,
|
|
256
262
|
message: s.FUTURE_DATE_NOT_ALLOWED
|
|
257
263
|
});
|
|
258
|
-
}),
|
|
259
|
-
const n =
|
|
264
|
+
}), Me = f.string().superRefine((t, e) => {
|
|
265
|
+
const n = t.charAt(0);
|
|
260
266
|
["3", "4", "5", "6", "9"].includes(n) || e.addIssue({
|
|
261
|
-
code:
|
|
267
|
+
code: f.ZodIssueCode.custom,
|
|
262
268
|
message: "Код города/оператора должен начинаться с цифры 3, 4, 5, 6 или 9"
|
|
263
|
-
}),
|
|
264
|
-
code:
|
|
269
|
+
}), t.length !== 10 && e.addIssue({
|
|
270
|
+
code: f.ZodIssueCode.custom,
|
|
265
271
|
message: "Введите номер телефона полностью"
|
|
266
272
|
});
|
|
267
|
-
}).transform((
|
|
268
|
-
|
|
269
|
-
code:
|
|
273
|
+
}).transform((t) => `7${t}`), Oe = f.coerce.number().min(1e3, `${s.FIX_LENGTH} 4`).max(9999, `${s.FIX_LENGTH} 4`).nullable().superRefine((t, e) => {
|
|
274
|
+
t === null && e.addIssue({
|
|
275
|
+
code: f.ZodIssueCode.invalid_type,
|
|
270
276
|
expected: "number",
|
|
271
277
|
received: "null",
|
|
272
278
|
message: `${s.FIX_LENGTH} 4`
|
|
273
279
|
});
|
|
274
|
-
}).default(null),
|
|
280
|
+
}).default(null), h = {
|
|
275
281
|
transparent: "transparent",
|
|
276
282
|
current: "currentColor",
|
|
277
283
|
inherit: "inherit",
|
|
278
284
|
initial: "initial"
|
|
279
|
-
},
|
|
285
|
+
}, w = {
|
|
280
286
|
"blue-grey-100": "#f3f4f7",
|
|
281
287
|
"blue-grey-200": "#eaedf1",
|
|
282
288
|
"blue-grey-300": "#d4dbe2",
|
|
@@ -304,7 +310,7 @@ const Ee = (r) => r.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1)
|
|
|
304
310
|
purple: "#5f40bd",
|
|
305
311
|
"purple-hover": "#52399d",
|
|
306
312
|
overlay: "#0000004d",
|
|
307
|
-
...
|
|
313
|
+
...h
|
|
308
314
|
}, F = {
|
|
309
315
|
dark: "#292929",
|
|
310
316
|
disabled: "#a9b6c5",
|
|
@@ -319,8 +325,8 @@ const Ee = (r) => r.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1)
|
|
|
319
325
|
white: "#ffffff",
|
|
320
326
|
"primary-disabled": "#809bc7",
|
|
321
327
|
"blue-grey-600": "#94a4b7",
|
|
322
|
-
...
|
|
323
|
-
},
|
|
328
|
+
...h
|
|
329
|
+
}, z = {
|
|
324
330
|
"barvcray-200": "#ebeef4",
|
|
325
331
|
"barvcray-300": "#dde1e8",
|
|
326
332
|
"greymint-200": "#deecee",
|
|
@@ -333,8 +339,8 @@ const Ee = (r) => r.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1)
|
|
|
333
339
|
"skyblue-100": "#f4f8fe",
|
|
334
340
|
"skyblue-200": "#e7f3ff",
|
|
335
341
|
"skyblue-300": "#d9edff",
|
|
336
|
-
...
|
|
337
|
-
},
|
|
342
|
+
...h
|
|
343
|
+
}, x = {
|
|
338
344
|
"accent-default": "#2477ff",
|
|
339
345
|
"accent-hover": "#0053da",
|
|
340
346
|
"blue-grey-100": "#f3f4f7",
|
|
@@ -359,8 +365,8 @@ const Ee = (r) => r.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1)
|
|
|
359
365
|
white: "#ffffff",
|
|
360
366
|
"primary-disabled": "#809bc7",
|
|
361
367
|
footer: "#C3C3C3",
|
|
362
|
-
...
|
|
363
|
-
},
|
|
368
|
+
...h
|
|
369
|
+
}, v = {
|
|
364
370
|
"blue-grey-500": "#a9b6c5",
|
|
365
371
|
"blue-grey-700": "#69809a",
|
|
366
372
|
"blue-grey-800": "#5a6e85",
|
|
@@ -378,8 +384,8 @@ const Ee = (r) => r.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1)
|
|
|
378
384
|
warning: "#f49f00",
|
|
379
385
|
white: "#ffffff",
|
|
380
386
|
"primary-disabled": "#809bc7",
|
|
381
|
-
...
|
|
382
|
-
},
|
|
387
|
+
...h
|
|
388
|
+
}, A = {
|
|
383
389
|
none: "0",
|
|
384
390
|
sm: "4px",
|
|
385
391
|
md: "8px",
|
|
@@ -392,7 +398,7 @@ const Ee = (r) => r.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1)
|
|
|
392
398
|
90: "90deg",
|
|
393
399
|
110: "110deg",
|
|
394
400
|
180: "180deg"
|
|
395
|
-
},
|
|
401
|
+
}, ie = {
|
|
396
402
|
0: "0",
|
|
397
403
|
1: "1",
|
|
398
404
|
10: "10",
|
|
@@ -482,61 +488,61 @@ const Ee = (r) => r.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1)
|
|
|
482
488
|
}
|
|
483
489
|
};
|
|
484
490
|
var $ = {}, H = {};
|
|
485
|
-
(function(
|
|
486
|
-
Object.defineProperty(
|
|
491
|
+
(function(t) {
|
|
492
|
+
Object.defineProperty(t, "__esModule", {
|
|
487
493
|
value: !0
|
|
488
|
-
}), Object.defineProperty(
|
|
494
|
+
}), Object.defineProperty(t, "default", {
|
|
489
495
|
enumerable: !0,
|
|
490
496
|
get: function() {
|
|
491
497
|
return n;
|
|
492
498
|
}
|
|
493
499
|
});
|
|
494
|
-
function e(
|
|
500
|
+
function e(r, a) {
|
|
495
501
|
return {
|
|
496
|
-
handler:
|
|
497
|
-
config:
|
|
502
|
+
handler: r,
|
|
503
|
+
config: a
|
|
498
504
|
};
|
|
499
505
|
}
|
|
500
|
-
e.withOptions = function(
|
|
501
|
-
const d = function(
|
|
506
|
+
e.withOptions = function(r, a = () => ({})) {
|
|
507
|
+
const d = function(l) {
|
|
502
508
|
return {
|
|
503
|
-
__options:
|
|
504
|
-
handler:
|
|
505
|
-
config:
|
|
509
|
+
__options: l,
|
|
510
|
+
handler: r(l),
|
|
511
|
+
config: a(l)
|
|
506
512
|
};
|
|
507
513
|
};
|
|
508
|
-
return d.__isOptionsFunction = !0, d.__pluginFunction =
|
|
514
|
+
return d.__isOptionsFunction = !0, d.__pluginFunction = r, d.__configFunction = a, d;
|
|
509
515
|
};
|
|
510
516
|
const n = e;
|
|
511
517
|
})(H);
|
|
512
|
-
(function(
|
|
513
|
-
Object.defineProperty(
|
|
518
|
+
(function(t) {
|
|
519
|
+
Object.defineProperty(t, "__esModule", {
|
|
514
520
|
value: !0
|
|
515
|
-
}), Object.defineProperty(
|
|
521
|
+
}), Object.defineProperty(t, "default", {
|
|
516
522
|
enumerable: !0,
|
|
517
523
|
get: function() {
|
|
518
|
-
return
|
|
524
|
+
return r;
|
|
519
525
|
}
|
|
520
526
|
});
|
|
521
527
|
const e = /* @__PURE__ */ n(H);
|
|
522
|
-
function n(
|
|
523
|
-
return
|
|
524
|
-
default:
|
|
528
|
+
function n(a) {
|
|
529
|
+
return a && a.__esModule ? a : {
|
|
530
|
+
default: a
|
|
525
531
|
};
|
|
526
532
|
}
|
|
527
|
-
const
|
|
533
|
+
const r = e.default;
|
|
528
534
|
})($);
|
|
529
535
|
let j = $;
|
|
530
536
|
var V = (j.__esModule ? j : { default: j }).default;
|
|
531
|
-
const
|
|
532
|
-
function C(
|
|
537
|
+
const k = /* @__PURE__ */ _(V), ae = V;
|
|
538
|
+
function C(t) {
|
|
533
539
|
return Object.fromEntries(
|
|
534
|
-
Object.entries(
|
|
540
|
+
Object.entries(t).filter(([e]) => e !== "DEFAULT")
|
|
535
541
|
);
|
|
536
542
|
}
|
|
537
|
-
var
|
|
538
|
-
({ addUtilities:
|
|
539
|
-
|
|
543
|
+
var de = ae(
|
|
544
|
+
({ addUtilities: t, matchUtilities: e, theme: n }) => {
|
|
545
|
+
t({
|
|
540
546
|
"@keyframes enter": n("keyframes.enter"),
|
|
541
547
|
"@keyframes exit": n("keyframes.exit"),
|
|
542
548
|
".animate-in": {
|
|
@@ -559,85 +565,85 @@ var ie = ae(
|
|
|
559
565
|
}
|
|
560
566
|
}), e(
|
|
561
567
|
{
|
|
562
|
-
"fade-in": (
|
|
563
|
-
"fade-out": (
|
|
568
|
+
"fade-in": (r) => ({ "--tw-enter-opacity": r }),
|
|
569
|
+
"fade-out": (r) => ({ "--tw-exit-opacity": r })
|
|
564
570
|
},
|
|
565
571
|
{ values: n("animationOpacity") }
|
|
566
572
|
), e(
|
|
567
573
|
{
|
|
568
|
-
"zoom-in": (
|
|
569
|
-
"zoom-out": (
|
|
574
|
+
"zoom-in": (r) => ({ "--tw-enter-scale": r }),
|
|
575
|
+
"zoom-out": (r) => ({ "--tw-exit-scale": r })
|
|
570
576
|
},
|
|
571
577
|
{ values: n("animationScale") }
|
|
572
578
|
), e(
|
|
573
579
|
{
|
|
574
|
-
"spin-in": (
|
|
575
|
-
"spin-out": (
|
|
580
|
+
"spin-in": (r) => ({ "--tw-enter-rotate": r }),
|
|
581
|
+
"spin-out": (r) => ({ "--tw-exit-rotate": r })
|
|
576
582
|
},
|
|
577
583
|
{ values: n("animationRotate") }
|
|
578
584
|
), e(
|
|
579
585
|
{
|
|
580
|
-
"slide-in-from-top": (
|
|
581
|
-
"--tw-enter-translate-y": `-${
|
|
586
|
+
"slide-in-from-top": (r) => ({
|
|
587
|
+
"--tw-enter-translate-y": `-${r}`
|
|
582
588
|
}),
|
|
583
|
-
"slide-in-from-bottom": (
|
|
584
|
-
"--tw-enter-translate-y":
|
|
589
|
+
"slide-in-from-bottom": (r) => ({
|
|
590
|
+
"--tw-enter-translate-y": r
|
|
585
591
|
}),
|
|
586
|
-
"slide-in-from-left": (
|
|
587
|
-
"--tw-enter-translate-x": `-${
|
|
592
|
+
"slide-in-from-left": (r) => ({
|
|
593
|
+
"--tw-enter-translate-x": `-${r}`
|
|
588
594
|
}),
|
|
589
|
-
"slide-in-from-right": (
|
|
590
|
-
"--tw-enter-translate-x":
|
|
595
|
+
"slide-in-from-right": (r) => ({
|
|
596
|
+
"--tw-enter-translate-x": r
|
|
591
597
|
}),
|
|
592
|
-
"slide-out-to-top": (
|
|
593
|
-
"--tw-exit-translate-y": `-${
|
|
598
|
+
"slide-out-to-top": (r) => ({
|
|
599
|
+
"--tw-exit-translate-y": `-${r}`
|
|
594
600
|
}),
|
|
595
|
-
"slide-out-to-bottom": (
|
|
596
|
-
"--tw-exit-translate-y":
|
|
601
|
+
"slide-out-to-bottom": (r) => ({
|
|
602
|
+
"--tw-exit-translate-y": r
|
|
597
603
|
}),
|
|
598
|
-
"slide-out-to-left": (
|
|
599
|
-
"--tw-exit-translate-x": `-${
|
|
604
|
+
"slide-out-to-left": (r) => ({
|
|
605
|
+
"--tw-exit-translate-x": `-${r}`
|
|
600
606
|
}),
|
|
601
|
-
"slide-out-to-right": (
|
|
602
|
-
"--tw-exit-translate-x":
|
|
607
|
+
"slide-out-to-right": (r) => ({
|
|
608
|
+
"--tw-exit-translate-x": r
|
|
603
609
|
})
|
|
604
610
|
},
|
|
605
611
|
{ values: n("animationTranslate") }
|
|
606
612
|
), e(
|
|
607
|
-
{ duration: (
|
|
613
|
+
{ duration: (r) => ({ animationDuration: r }) },
|
|
608
614
|
{ values: C(n("animationDuration")) }
|
|
609
615
|
), e(
|
|
610
|
-
{ delay: (
|
|
616
|
+
{ delay: (r) => ({ animationDelay: r }) },
|
|
611
617
|
{ values: n("animationDelay") }
|
|
612
618
|
), e(
|
|
613
|
-
{ ease: (
|
|
619
|
+
{ ease: (r) => ({ animationTimingFunction: r }) },
|
|
614
620
|
{ values: C(n("animationTimingFunction")) }
|
|
615
|
-
),
|
|
621
|
+
), t({
|
|
616
622
|
".running": { animationPlayState: "running" },
|
|
617
623
|
".paused": { animationPlayState: "paused" }
|
|
618
624
|
}), e(
|
|
619
|
-
{ "fill-mode": (
|
|
625
|
+
{ "fill-mode": (r) => ({ animationFillMode: r }) },
|
|
620
626
|
{ values: n("animationFillMode") }
|
|
621
627
|
), e(
|
|
622
|
-
{ direction: (
|
|
628
|
+
{ direction: (r) => ({ animationDirection: r }) },
|
|
623
629
|
{ values: n("animationDirection") }
|
|
624
630
|
), e(
|
|
625
|
-
{ repeat: (
|
|
631
|
+
{ repeat: (r) => ({ animationIterationCount: r }) },
|
|
626
632
|
{ values: n("animationRepeat") }
|
|
627
633
|
);
|
|
628
634
|
},
|
|
629
635
|
{
|
|
630
636
|
theme: {
|
|
631
637
|
extend: {
|
|
632
|
-
animationDelay: ({ theme:
|
|
633
|
-
...
|
|
638
|
+
animationDelay: ({ theme: t }) => ({
|
|
639
|
+
...t("transitionDelay")
|
|
634
640
|
}),
|
|
635
|
-
animationDuration: ({ theme:
|
|
641
|
+
animationDuration: ({ theme: t }) => ({
|
|
636
642
|
0: "0ms",
|
|
637
|
-
...
|
|
643
|
+
...t("transitionDuration")
|
|
638
644
|
}),
|
|
639
|
-
animationTimingFunction: ({ theme:
|
|
640
|
-
...
|
|
645
|
+
animationTimingFunction: ({ theme: t }) => ({
|
|
646
|
+
...t("transitionTimingFunction")
|
|
641
647
|
}),
|
|
642
648
|
animationFillMode: {
|
|
643
649
|
none: "none",
|
|
@@ -651,21 +657,21 @@ var ie = ae(
|
|
|
651
657
|
alternate: "alternate",
|
|
652
658
|
"alternate-reverse": "alternate-reverse"
|
|
653
659
|
},
|
|
654
|
-
animationOpacity: ({ theme:
|
|
660
|
+
animationOpacity: ({ theme: t }) => ({
|
|
655
661
|
DEFAULT: 0,
|
|
656
|
-
...
|
|
662
|
+
...t("opacity")
|
|
657
663
|
}),
|
|
658
|
-
animationTranslate: ({ theme:
|
|
664
|
+
animationTranslate: ({ theme: t }) => ({
|
|
659
665
|
DEFAULT: "100%",
|
|
660
|
-
...
|
|
666
|
+
...t("translate")
|
|
661
667
|
}),
|
|
662
|
-
animationScale: ({ theme:
|
|
668
|
+
animationScale: ({ theme: t }) => ({
|
|
663
669
|
DEFAULT: 0,
|
|
664
|
-
...
|
|
670
|
+
...t("scale")
|
|
665
671
|
}),
|
|
666
|
-
animationRotate: ({ theme:
|
|
672
|
+
animationRotate: ({ theme: t }) => ({
|
|
667
673
|
DEFAULT: "30deg",
|
|
668
|
-
...
|
|
674
|
+
...t("rotate")
|
|
669
675
|
}),
|
|
670
676
|
animationRepeat: {
|
|
671
677
|
0: "0",
|
|
@@ -690,26 +696,26 @@ var ie = ae(
|
|
|
690
696
|
}
|
|
691
697
|
}
|
|
692
698
|
);
|
|
693
|
-
const
|
|
699
|
+
const M = /* @__PURE__ */ _(de), Ue = {
|
|
694
700
|
theme: {
|
|
695
701
|
backgroundColor: {
|
|
696
|
-
color:
|
|
697
|
-
banner:
|
|
698
|
-
icon:
|
|
702
|
+
color: w,
|
|
703
|
+
banner: z,
|
|
704
|
+
icon: x
|
|
699
705
|
},
|
|
700
706
|
textColor: {
|
|
701
|
-
icon:
|
|
707
|
+
icon: x,
|
|
702
708
|
color: F
|
|
703
709
|
},
|
|
704
|
-
fill:
|
|
705
|
-
stroke:
|
|
706
|
-
borderColor:
|
|
707
|
-
outlineColor:
|
|
708
|
-
borderRadius:
|
|
710
|
+
fill: x,
|
|
711
|
+
stroke: x,
|
|
712
|
+
borderColor: v,
|
|
713
|
+
outlineColor: v,
|
|
714
|
+
borderRadius: A,
|
|
709
715
|
fontFamily: { roboto: ["var(--ff-roboto)", "sans-serif"] },
|
|
710
716
|
fontSize: S,
|
|
711
717
|
lineHeight: R,
|
|
712
|
-
gradientColorStops:
|
|
718
|
+
gradientColorStops: w,
|
|
713
719
|
boxShadow: {
|
|
714
720
|
sm: "0 8px 20px 0 rgba(0, 0, 0, 0.08)",
|
|
715
721
|
md: "0 12px 20px 0 rgba(0, 33, 87, 0.10)",
|
|
@@ -770,12 +776,12 @@ const O = /* @__PURE__ */ _(ie), Oe = {
|
|
|
770
776
|
}
|
|
771
777
|
},
|
|
772
778
|
plugins: [
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
779
|
+
M,
|
|
780
|
+
k(({ addComponents: t }) => {
|
|
781
|
+
t(P);
|
|
776
782
|
}),
|
|
777
|
-
|
|
778
|
-
|
|
783
|
+
k(function({ matchUtilities: t, theme: e }) {
|
|
784
|
+
t(
|
|
779
785
|
{
|
|
780
786
|
"bg-deg-gradient": (n) => ({
|
|
781
787
|
"background-image": `linear-gradient(${n}, var(--tw-gradient-stops))`
|
|
@@ -787,7 +793,7 @@ const O = /* @__PURE__ */ _(ie), Oe = {
|
|
|
787
793
|
);
|
|
788
794
|
})
|
|
789
795
|
]
|
|
790
|
-
},
|
|
796
|
+
}, Ze = {
|
|
791
797
|
theme: {
|
|
792
798
|
extend: {
|
|
793
799
|
transitionDuration: {
|
|
@@ -827,47 +833,47 @@ const O = /* @__PURE__ */ _(ie), Oe = {
|
|
|
827
833
|
}
|
|
828
834
|
}
|
|
829
835
|
}
|
|
830
|
-
},
|
|
836
|
+
}, Ge = {
|
|
831
837
|
theme: {
|
|
832
838
|
screens: {
|
|
833
839
|
mobile: { max: "1187px" },
|
|
834
840
|
desktop: "1188px"
|
|
835
841
|
},
|
|
836
842
|
backgroundColor: {
|
|
837
|
-
color:
|
|
838
|
-
banner:
|
|
839
|
-
icon:
|
|
843
|
+
color: w,
|
|
844
|
+
banner: z,
|
|
845
|
+
icon: x
|
|
840
846
|
},
|
|
841
847
|
textColor: {
|
|
842
|
-
icon:
|
|
848
|
+
icon: x,
|
|
843
849
|
color: F
|
|
844
850
|
},
|
|
845
|
-
fill:
|
|
846
|
-
stroke:
|
|
847
|
-
borderColor:
|
|
848
|
-
outlineColor:
|
|
849
|
-
borderRadius:
|
|
851
|
+
fill: x,
|
|
852
|
+
stroke: x,
|
|
853
|
+
borderColor: v,
|
|
854
|
+
outlineColor: v,
|
|
855
|
+
borderRadius: A,
|
|
850
856
|
fontFamily: { roboto: ["var(--ff-roboto)", "sans-serif"] },
|
|
851
857
|
fontSize: S,
|
|
852
858
|
lineHeight: R,
|
|
853
|
-
gradientColorStops:
|
|
859
|
+
gradientColorStops: w,
|
|
854
860
|
boxShadow: {
|
|
855
861
|
sm: "0 8px 20px 0 rgba(0, 0, 0, 0.08)",
|
|
856
862
|
md: "0 12px 20px 0 rgba(0, 33, 87, 0.10)",
|
|
857
863
|
lg: "0 16px 24px 0 rgba(0, 33, 87, 0.16)"
|
|
858
864
|
},
|
|
859
|
-
zIndex:
|
|
865
|
+
zIndex: ie,
|
|
860
866
|
extend: {
|
|
861
867
|
bgGradientDeg: B
|
|
862
868
|
}
|
|
863
869
|
},
|
|
864
870
|
plugins: [
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
871
|
+
M,
|
|
872
|
+
k(({ addComponents: t }) => {
|
|
873
|
+
t(P);
|
|
868
874
|
}),
|
|
869
|
-
|
|
870
|
-
|
|
875
|
+
k(function({ matchUtilities: t, theme: e }) {
|
|
876
|
+
t(
|
|
871
877
|
{
|
|
872
878
|
"bg-deg-gradient": (n) => ({
|
|
873
879
|
"background-image": `linear-gradient(${n}, var(--tw-gradient-stops))`
|
|
@@ -880,42 +886,42 @@ const O = /* @__PURE__ */ _(ie), Oe = {
|
|
|
880
886
|
})
|
|
881
887
|
]
|
|
882
888
|
};
|
|
883
|
-
class
|
|
889
|
+
class le extends Error {
|
|
884
890
|
constructor(e) {
|
|
885
891
|
super("ApiError: " + e.status), this.response = e;
|
|
886
892
|
}
|
|
887
893
|
}
|
|
888
|
-
const
|
|
894
|
+
const pe = {
|
|
889
895
|
"Content-Type": "application/json"
|
|
890
|
-
},
|
|
891
|
-
const
|
|
896
|
+
}, We = async ({ url: t, init: e, baseUrl: n }) => {
|
|
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(`${n}${t}`, {
|
|
892
898
|
headers: {
|
|
893
|
-
...
|
|
894
|
-
...
|
|
899
|
+
...pe,
|
|
900
|
+
...r
|
|
895
901
|
},
|
|
896
|
-
body:
|
|
902
|
+
body: a,
|
|
897
903
|
...e
|
|
898
904
|
});
|
|
899
905
|
if (!d.ok)
|
|
900
|
-
throw new
|
|
906
|
+
throw new le(d);
|
|
901
907
|
return await d.json();
|
|
902
908
|
}, fe = /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
|
|
903
909
|
"© 2004-2024, ПАО «Совкомбанк». Все права защищены. ",
|
|
904
|
-
/* @__PURE__ */ o.jsx("br", {}),
|
|
910
|
+
/* @__PURE__ */ o.jsx("br", { className: "mobile:hidden" }),
|
|
905
911
|
" Генеральная лицензия Банка России №963 от 5 декабря 2014 г."
|
|
906
|
-
] }),
|
|
912
|
+
] }), ue = `Кредит на бизнес цели, срок 3, 6, 9, 12, 18, 24, 36, 48, 60 мес. Ставка – от 22,9%*. *Точная процентная ставка
|
|
907
913
|
устанавливается по соглашению сторон и определяется исходя из платёжеспособности и кредитоспособности клиента, а также
|
|
908
914
|
иных индивидуальных особенностей клиента. Сумма 100 000 – 50 000 000 руб. Кредит выдается на карту “Халва”, открытый в
|
|
909
915
|
Банке. Банк вправе отказать в предоставлении кредита без объяснения причины, а также запросить дополнительную информацию о
|
|
910
916
|
клиенте. Предварительное одобрение не влечет обязательств Банка по выдаче кредита. В некоторых случаях срок рассмотрения
|
|
911
917
|
заявки может составлять до 3 рабочих дней. Полный электронный документооборот при наличии открытого р/с в ПАО «Совкомбанк»
|
|
912
|
-
и действующей ЭЦП. Условия рекламы действительны на 20.02.2024г.`,
|
|
918
|
+
и действующей ЭЦП. Условия рекламы действительны на 20.02.2024г.`, me = [
|
|
913
919
|
{ phone: "8 800 100-00-06", text: "Звонок по России (бесплатно)" },
|
|
914
920
|
{ phone: "+7 (495) 988 00 00", text: "Для звонков из-за рубежа (платно)" }
|
|
915
|
-
],
|
|
916
|
-
{ iconName: "social/vk", href: "/
|
|
917
|
-
{ iconName: "social/telegram", href: "/
|
|
918
|
-
{ iconName: "social/classmates", href: "/
|
|
921
|
+
], xe = [
|
|
922
|
+
{ iconName: "social/vk", href: "https://vk.com/sovcombank" },
|
|
923
|
+
{ iconName: "social/telegram", href: "https://t.me/sovcombankofficial" },
|
|
924
|
+
{ iconName: "social/classmates", href: "https://ok.ru/paosovcombank" }
|
|
919
925
|
], ce = [
|
|
920
926
|
{
|
|
921
927
|
groupLabel: "Совкомбанк",
|
|
@@ -993,56 +999,73 @@ const le = {
|
|
|
993
999
|
{ text: "Офисы и банкоматы", href: "/" }
|
|
994
1000
|
]
|
|
995
1001
|
}
|
|
996
|
-
],
|
|
1002
|
+
], se = ({ socialsLinks: t, classes: e }) => /* @__PURE__ */ o.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: n, href: r }) => /* @__PURE__ */ o.jsx(
|
|
997
1003
|
"a",
|
|
998
1004
|
{
|
|
999
|
-
className:
|
|
1000
|
-
href:
|
|
1005
|
+
className: i("flex size-8 items-center justify-center rounded-full bg-[#52576a] p-2", e == null ? void 0 : e.socialLink),
|
|
1006
|
+
href: r,
|
|
1001
1007
|
"aria-label": n.replace("social/", ""),
|
|
1002
|
-
children: /* @__PURE__ */ o.jsx(m, { name: n, className:
|
|
1008
|
+
children: /* @__PURE__ */ o.jsx(m, { name: n, className: i("h-full w-full text-icon-white", e == null ? void 0 : e.socialIcon) })
|
|
1003
1009
|
},
|
|
1004
|
-
|
|
1005
|
-
)) }),
|
|
1006
|
-
|
|
1010
|
+
r
|
|
1011
|
+
)) }), be = ({ phones: t, classes: e }) => /* @__PURE__ */ o.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: n, text: r }) => /* @__PURE__ */ o.jsx(
|
|
1012
|
+
T,
|
|
1007
1013
|
{
|
|
1008
1014
|
phone: n,
|
|
1009
|
-
text:
|
|
1015
|
+
text: r,
|
|
1010
1016
|
classes: {
|
|
1011
|
-
wrapper:
|
|
1012
|
-
text:
|
|
1013
|
-
link:
|
|
1017
|
+
wrapper: i(e == null ? void 0 : e.phoneWrapper),
|
|
1018
|
+
text: i("text-color-footer", e == null ? void 0 : e.phoneText),
|
|
1019
|
+
link: i("text-color-white mobile:m-0", e == null ? void 0 : e.phoneLink)
|
|
1014
1020
|
}
|
|
1015
1021
|
},
|
|
1016
1022
|
n
|
|
1017
|
-
)) }), ge = ({ navigationLinks:
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
),
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1023
|
+
)) }), ge = ({ navigationLinks: t, classes: e }) => /* @__PURE__ */ o.jsx(
|
|
1024
|
+
"div",
|
|
1025
|
+
{
|
|
1026
|
+
className: i(
|
|
1027
|
+
"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
|
+
e == null ? void 0 : e.navRoot
|
|
1029
|
+
),
|
|
1030
|
+
children: t == null ? void 0 : t.map(({ groupLabel: n, links: r }) => /* @__PURE__ */ o.jsxs("div", { className: i("flex flex-col gap-4", e == null ? void 0 : e.navGroup), children: [
|
|
1031
|
+
/* @__PURE__ */ o.jsx("div", { className: i("desk-body-medium-l text-color-white", e == null ? void 0 : e.navLabel), children: n }),
|
|
1032
|
+
/* @__PURE__ */ o.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__ */ o.jsx(
|
|
1033
|
+
E,
|
|
1034
|
+
{
|
|
1035
|
+
href: d,
|
|
1036
|
+
"aria-label": a,
|
|
1037
|
+
intent: "white",
|
|
1038
|
+
classes: {
|
|
1039
|
+
link: e == null ? void 0 : e.navLink,
|
|
1040
|
+
icon: e == null ? void 0 : e.navLinkIcon
|
|
1041
|
+
},
|
|
1042
|
+
children: a
|
|
1043
|
+
},
|
|
1044
|
+
a
|
|
1045
|
+
)) })
|
|
1046
|
+
] }, n))
|
|
1047
|
+
}
|
|
1048
|
+
), he = ({ ligal: t, classes: e }) => {
|
|
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;
|
|
1036
1052
|
u && d(u.scrollHeight > u.clientHeight);
|
|
1037
|
-
}, []), /* @__PURE__ */ o.jsxs("div", { className:
|
|
1038
|
-
/* @__PURE__ */ o.jsx(
|
|
1039
|
-
|
|
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(
|
|
1040
1063
|
"div",
|
|
1041
1064
|
{
|
|
1042
1065
|
tabIndex: 0,
|
|
1043
1066
|
role: "button",
|
|
1044
|
-
onClick: () =>
|
|
1045
|
-
className:
|
|
1067
|
+
onClick: () => r((u) => !u),
|
|
1068
|
+
className: i(
|
|
1046
1069
|
"desk-body-regular-l w-max cursor-pointer font-medium text-color-footer transition-colors hover:text-color-white",
|
|
1047
1070
|
e == null ? void 0 : e.ligalButton
|
|
1048
1071
|
),
|
|
@@ -1050,56 +1073,79 @@ const le = {
|
|
|
1050
1073
|
}
|
|
1051
1074
|
)
|
|
1052
1075
|
] });
|
|
1053
|
-
},
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
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(
|
|
1077
|
+
"a",
|
|
1078
|
+
{
|
|
1079
|
+
"aria-label": "logo",
|
|
1080
|
+
href: "https://sovcombank.ru/",
|
|
1081
|
+
className: i("block h-[24px] w-[132px] desktop:h-[32px] desktop:w-[194px]", t == null ? void 0 : t.footerLogo),
|
|
1082
|
+
children: /* @__PURE__ */ o.jsx(m, { name: "brandLogos/logoWhite", className: i("size-full", t == null ? void 0 : t.footerLogoIcon) })
|
|
1083
|
+
}
|
|
1084
|
+
), ve = ({ classes: t }) => /* @__PURE__ */ o.jsx(
|
|
1085
|
+
E,
|
|
1086
|
+
{
|
|
1087
|
+
intent: "white",
|
|
1088
|
+
href: "https://sovcombank.ru/site-map",
|
|
1089
|
+
target: "_blank",
|
|
1090
|
+
"aria-label": "site-map",
|
|
1091
|
+
rel: "noreferrer",
|
|
1092
|
+
classes: {
|
|
1093
|
+
link: i("mobile:mt-6", t == null ? void 0 : t.siteMapLink),
|
|
1094
|
+
icon: t == null ? void 0 : t.siteMapLinkIcon
|
|
1095
|
+
},
|
|
1096
|
+
children: "Карта сайта"
|
|
1097
|
+
}
|
|
1098
|
+
), Xe = ({
|
|
1099
|
+
renderBlocks: {
|
|
1100
|
+
withSocial: t = !0,
|
|
1101
|
+
withPhones: e = !0,
|
|
1102
|
+
withNavLinks: n = !0,
|
|
1103
|
+
withLigal: r = !0,
|
|
1104
|
+
withCopyright: a = !0,
|
|
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,
|
|
1112
|
+
classes: p
|
|
1113
|
+
}) => /* @__PURE__ */ o.jsx("footer", { className: i("w-full bg-color-footer py-8 desktop:py-10", p == null ? void 0 : p.root), children: /* @__PURE__ */ o.jsx(g, { className: i(p == null ? void 0 : p.footerContainer), children: /* @__PURE__ */ o.jsxs("div", { className: i("mobile:pb-[176px]", p == null ? void 0 : p.footerWrapper), children: [
|
|
1114
|
+
/* @__PURE__ */ o.jsxs(
|
|
1115
|
+
"div",
|
|
1116
|
+
{
|
|
1117
|
+
className: i(
|
|
1118
|
+
"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",
|
|
1119
|
+
p == null ? void 0 : p.footerHead
|
|
1120
|
+
),
|
|
1121
|
+
children: [
|
|
1122
|
+
/* @__PURE__ */ o.jsxs("div", { className: i(p == null ? void 0 : p.footerSocialBlock), children: [
|
|
1123
|
+
/* @__PURE__ */ o.jsx(we, { classes: p }),
|
|
1124
|
+
t && /* @__PURE__ */ o.jsx(se, { socialsLinks: l, classes: p })
|
|
1125
|
+
] }),
|
|
1126
|
+
e && /* @__PURE__ */ o.jsx(be, { phones: u, classes: p })
|
|
1127
|
+
]
|
|
1128
|
+
}
|
|
1129
|
+
),
|
|
1130
|
+
n && /* @__PURE__ */ o.jsx(ge, { navigationLinks: b, classes: p }),
|
|
1131
|
+
r && /* @__PURE__ */ o.jsx(he, { ligal: O, classes: p }),
|
|
1132
|
+
/* @__PURE__ */ o.jsxs("div", { className: "flex flex-col-reverse items-start justify-between gap-4 desktop:flex-row desktop:gap-6", children: [
|
|
1133
|
+
a && /* @__PURE__ */ o.jsx(ye, { text: U, classes: p, withSiteMap: d }),
|
|
1134
|
+
d && /* @__PURE__ */ o.jsx(ve, { classes: p })
|
|
1089
1135
|
] })
|
|
1090
|
-
] }) }) }),
|
|
1091
|
-
switch (
|
|
1136
|
+
] }) }) }), ke = (t) => {
|
|
1137
|
+
switch (t.variant) {
|
|
1092
1138
|
case "withButton":
|
|
1093
|
-
return /* @__PURE__ */ o.jsx(I, { intent: "secondary", size: "sm", ...
|
|
1139
|
+
return /* @__PURE__ */ o.jsx(I, { intent: "secondary", size: "sm", ...t.buttonProps, children: "Оформить заявку" });
|
|
1094
1140
|
case "withPhone":
|
|
1095
|
-
const { phone: e, phoneText: n } =
|
|
1096
|
-
return /* @__PURE__ */ o.jsx(
|
|
1141
|
+
const { phone: e, phoneText: n } = t;
|
|
1142
|
+
return /* @__PURE__ */ o.jsx(T, { phone: e, text: n, ...t.phoneProps });
|
|
1097
1143
|
default:
|
|
1098
1144
|
return null;
|
|
1099
1145
|
}
|
|
1100
|
-
},
|
|
1101
|
-
const { logoPath: e = "/", logoType: n = "main", classes:
|
|
1102
|
-
return /* @__PURE__ */ o.jsx("header", { className:
|
|
1146
|
+
}, qe = (t) => {
|
|
1147
|
+
const { logoPath: e = "/", logoType: n = "main", classes: r } = t;
|
|
1148
|
+
return /* @__PURE__ */ o.jsx("header", { className: i("flex h-[72px] items-center justify-center bg-color-white", r == null ? void 0 : r.header), children: /* @__PURE__ */ o.jsx(g, { className: i(r == null ? void 0 : r.container), children: /* @__PURE__ */ o.jsxs("div", { className: i("flex items-center justify-between gap-5", r == null ? void 0 : r.wrapper), children: [
|
|
1103
1149
|
/* @__PURE__ */ o.jsx(
|
|
1104
1150
|
"a",
|
|
1105
1151
|
{
|
|
@@ -1107,52 +1153,52 @@ const le = {
|
|
|
1107
1153
|
"aria-label": "logo",
|
|
1108
1154
|
target: "_blank",
|
|
1109
1155
|
rel: "noreferrer",
|
|
1110
|
-
className:
|
|
1156
|
+
className: i(
|
|
1111
1157
|
"flex items-center justify-center [&_svg]:w-[132px] desktop:[&_svg]:h-[32px] desktop:[&_svg]:w-[192px]",
|
|
1112
|
-
|
|
1158
|
+
r == null ? void 0 : r.logo
|
|
1113
1159
|
),
|
|
1114
|
-
children:
|
|
1160
|
+
children: te[n]
|
|
1115
1161
|
}
|
|
1116
1162
|
),
|
|
1117
|
-
|
|
1163
|
+
ke(t)
|
|
1118
1164
|
] }) }) });
|
|
1119
|
-
},
|
|
1165
|
+
}, je = ({ title: t, description: e, index: n, classes: r }) => /* @__PURE__ */ o.jsxs(
|
|
1120
1166
|
"div",
|
|
1121
1167
|
{
|
|
1122
|
-
className:
|
|
1168
|
+
className: i(
|
|
1123
1169
|
"flex w-[328px] max-w-[328px] flex-col gap-6 rounded-md border border-solid border-blue-grey-500 p-4 desktop:w-[348px] desktop:max-w-[348px] desktop:border-none desktop:p-0",
|
|
1124
|
-
|
|
1170
|
+
r == null ? void 0 : r.singleStep
|
|
1125
1171
|
),
|
|
1126
1172
|
children: [
|
|
1127
1173
|
/* @__PURE__ */ o.jsx(
|
|
1128
1174
|
"div",
|
|
1129
1175
|
{
|
|
1130
|
-
className:
|
|
1176
|
+
className: i(
|
|
1131
1177
|
"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",
|
|
1132
|
-
|
|
1178
|
+
r == null ? void 0 : r.numeric
|
|
1133
1179
|
),
|
|
1134
1180
|
children: n
|
|
1135
1181
|
}
|
|
1136
1182
|
),
|
|
1137
|
-
/* @__PURE__ */ o.jsxs("div", { className:
|
|
1138
|
-
/* @__PURE__ */ o.jsx(
|
|
1139
|
-
/* @__PURE__ */ o.jsx("p", { className:
|
|
1183
|
+
/* @__PURE__ */ o.jsxs("div", { className: i("flex flex-col gap-4", r == null ? void 0 : r.textBlock), children: [
|
|
1184
|
+
/* @__PURE__ */ o.jsx(L, { as: "h4", className: i("text-color-dark", r == null ? void 0 : r.title), children: t }),
|
|
1185
|
+
/* @__PURE__ */ o.jsx("p", { className: i("desk-body-regular-l text-color-tetriary", r == null ? void 0 : r.description), children: e })
|
|
1140
1186
|
] })
|
|
1141
1187
|
]
|
|
1142
1188
|
}
|
|
1143
|
-
),
|
|
1144
|
-
/* @__PURE__ */ o.jsx(
|
|
1189
|
+
), Qe = ({ heading: t, stepsList: e, classes: n }) => /* @__PURE__ */ o.jsx(q, { children: /* @__PURE__ */ o.jsx(g, { children: /* @__PURE__ */ o.jsxs("div", { className: i("flex flex-col gap-12 desktop:items-start", n == null ? void 0 : n.root), children: [
|
|
1190
|
+
/* @__PURE__ */ o.jsx(L, { as: "h2", className: i("text-color-dark", n == null ? void 0 : n.headline), children: t }),
|
|
1145
1191
|
/* @__PURE__ */ o.jsx(
|
|
1146
1192
|
"div",
|
|
1147
1193
|
{
|
|
1148
|
-
className:
|
|
1194
|
+
className: i(
|
|
1149
1195
|
"flex w-full flex-col items-start gap-6 desktop:flex-row desktop:items-center desktop:gap-12",
|
|
1150
1196
|
n == null ? void 0 : n.stepsWrapper
|
|
1151
1197
|
),
|
|
1152
|
-
children: e == null ? void 0 : e.map((
|
|
1198
|
+
children: e == null ? void 0 : e.map((r, a) => /* @__PURE__ */ o.jsx(je, { index: a + 1, ...r, classes: n }, r.title))
|
|
1153
1199
|
}
|
|
1154
1200
|
)
|
|
1155
|
-
] }) }) }),
|
|
1201
|
+
] }) }) }), Ne = c("", {
|
|
1156
1202
|
variants: {
|
|
1157
1203
|
intent: {
|
|
1158
1204
|
twoItems: "mob-headline-bold-s mb-6 desktop:desk-headline-bold-m desktop:mb-12",
|
|
@@ -1168,7 +1214,7 @@ const le = {
|
|
|
1168
1214
|
defaultVariants: {
|
|
1169
1215
|
intent: "twoItems"
|
|
1170
1216
|
}
|
|
1171
|
-
}),
|
|
1217
|
+
}), Ie = c("desktop:max-h-[98px]", {
|
|
1172
1218
|
variants: {
|
|
1173
1219
|
intent: {
|
|
1174
1220
|
twoItems: "",
|
|
@@ -1200,7 +1246,7 @@ const le = {
|
|
|
1200
1246
|
class: "desktop:grid grid-rows-2 desktop:gap-x-10 desktop:gap-y-4 grid-flow-col"
|
|
1201
1247
|
}
|
|
1202
1248
|
]
|
|
1203
|
-
}),
|
|
1249
|
+
}), De = c("border-blue-grey-500 pb-6 mobile:mb-6 mobile:border-b mobile:last:pb-0 mobile:last:mb-0", {
|
|
1204
1250
|
variants: {
|
|
1205
1251
|
intent: {
|
|
1206
1252
|
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',
|
|
@@ -1210,7 +1256,7 @@ const le = {
|
|
|
1210
1256
|
defaultVariants: {
|
|
1211
1257
|
intent: "twoItems"
|
|
1212
1258
|
}
|
|
1213
|
-
}),
|
|
1259
|
+
}), Ce = c("mobile:mx-auto mobile:mb-8, h-[172px] w-[280px] ", {
|
|
1214
1260
|
variants: {
|
|
1215
1261
|
intent: {
|
|
1216
1262
|
twoItems: "desktop:h-[232px] desktop:w-[500px]",
|
|
@@ -1236,47 +1282,47 @@ const le = {
|
|
|
1236
1282
|
class: "desktop:h-[272px] desktop:w-[500px]"
|
|
1237
1283
|
}
|
|
1238
1284
|
]
|
|
1239
|
-
}),
|
|
1240
|
-
const { title: n, description:
|
|
1241
|
-
return /* @__PURE__ */ o.jsx("li", { className:
|
|
1242
|
-
/* @__PURE__ */ o.jsxs("div", { className:
|
|
1243
|
-
/* @__PURE__ */ o.jsx("h4", { className:
|
|
1244
|
-
|
|
1285
|
+
}), _e = ({ data: t, intent: e }) => {
|
|
1286
|
+
const { title: n, description: r, popoverText: a } = t;
|
|
1287
|
+
return /* @__PURE__ */ o.jsx("li", { className: i(De({ intent: e })), children: /* @__PURE__ */ o.jsxs("div", { className: "desktop:max-w-[264px]", children: [
|
|
1288
|
+
/* @__PURE__ */ o.jsxs("div", { className: i("mb-2 flex items-center gap-2"), children: [
|
|
1289
|
+
/* @__PURE__ */ o.jsx("h4", { className: i("mob-title-bold-m text-color-dark"), children: n }),
|
|
1290
|
+
a && /* @__PURE__ */ o.jsx(W, { triggerElement: /* @__PURE__ */ o.jsx(m, { className: i("size-5 text-icon-blue-grey-600"), name: "info/helpCircle" }), children: a })
|
|
1245
1291
|
] }),
|
|
1246
|
-
/* @__PURE__ */ o.jsx("p", { className:
|
|
1292
|
+
/* @__PURE__ */ o.jsx("p", { className: i("mob-body-regular-l text-color-secondary"), children: r })
|
|
1247
1293
|
] }) });
|
|
1248
|
-
}, N = ({ intent:
|
|
1249
|
-
title:
|
|
1294
|
+
}, N = ({ intent: t, title: e, desktopHidden: n = !1, mobileHidden: r = !1 }) => /* @__PURE__ */ o.jsx("h2", { className: i(Ne({ intent: t, desktopHidden: n, mobileHidden: r })), children: e }), Le = ({ textContent: t, intent: e, withButton: n }) => /* @__PURE__ */ o.jsx("ul", { className: i(Ie({ intent: e, withButton: n })), children: t == null ? void 0 : t.map((r, a) => /* @__PURE__ */ o.jsx(_e, { intent: e, data: r }, a)) }), Je = ({
|
|
1295
|
+
title: t,
|
|
1250
1296
|
buttonConfig: e,
|
|
1251
1297
|
intent: n = "twoItems",
|
|
1252
|
-
textContent:
|
|
1253
|
-
imageComponent:
|
|
1298
|
+
textContent: r,
|
|
1299
|
+
imageComponent: a,
|
|
1254
1300
|
classes: d
|
|
1255
1301
|
}) => {
|
|
1256
|
-
const
|
|
1257
|
-
return /* @__PURE__ */ o.jsx("section", { className:
|
|
1258
|
-
|
|
1302
|
+
const l = !!e, u = n === "fourItems", b = n === "twoItems";
|
|
1303
|
+
return /* @__PURE__ */ o.jsx("section", { className: i(d == null ? void 0 : d.section), children: /* @__PURE__ */ o.jsxs(g, { className: i(d == null ? void 0 : d.mainContainer), children: [
|
|
1304
|
+
b && /* @__PURE__ */ o.jsx(N, { intent: n, title: t }),
|
|
1259
1305
|
/* @__PURE__ */ o.jsxs(
|
|
1260
1306
|
"div",
|
|
1261
1307
|
{
|
|
1262
|
-
className:
|
|
1308
|
+
className: i(
|
|
1263
1309
|
"bg-banner-skyblue-100 px-6 pb-8 pt-6 desktop:flex desktop:flex-row-reverse desktop:justify-between desktop:px-0 desktop:py-0 desktop:pl-12",
|
|
1264
1310
|
d == null ? void 0 : d.contentContainer
|
|
1265
1311
|
),
|
|
1266
1312
|
children: [
|
|
1267
|
-
u && /* @__PURE__ */ o.jsx(N, { intent: n, title:
|
|
1268
|
-
/* @__PURE__ */ o.jsx("div", { className:
|
|
1313
|
+
u && /* @__PURE__ */ o.jsx(N, { intent: n, title: t, desktopHidden: !0 }),
|
|
1314
|
+
/* @__PURE__ */ o.jsx("div", { className: i(Ce({ intent: n, withButton: l }), d == null ? void 0 : d.imgContainer), children: a }),
|
|
1269
1315
|
/* @__PURE__ */ o.jsxs(
|
|
1270
1316
|
"div",
|
|
1271
1317
|
{
|
|
1272
|
-
className:
|
|
1318
|
+
className: i("desktop:flex desktop:flex-col desktop:justify-center desktop:py-10", d == null ? void 0 : d.textWithBtnContainer),
|
|
1273
1319
|
children: [
|
|
1274
|
-
u && /* @__PURE__ */ o.jsx(N, { intent: n, title:
|
|
1275
|
-
/* @__PURE__ */ o.jsx(
|
|
1276
|
-
|
|
1320
|
+
u && /* @__PURE__ */ o.jsx(N, { intent: n, title: t, mobileHidden: !0 }),
|
|
1321
|
+
/* @__PURE__ */ o.jsx(Le, { textContent: r, intent: n, withButton: l }),
|
|
1322
|
+
l && /* @__PURE__ */ o.jsx(
|
|
1277
1323
|
I,
|
|
1278
1324
|
{
|
|
1279
|
-
className:
|
|
1325
|
+
className: i("w-full px-4 desktop:w-max", d == null ? void 0 : d.button),
|
|
1280
1326
|
size: "lg",
|
|
1281
1327
|
onClick: e.onClick,
|
|
1282
1328
|
intent: "secondary",
|
|
@@ -1292,55 +1338,55 @@ const le = {
|
|
|
1292
1338
|
] }) });
|
|
1293
1339
|
};
|
|
1294
1340
|
export {
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1341
|
+
le as ApiError,
|
|
1342
|
+
et as Badge,
|
|
1343
|
+
Ae as Breadcrumbs,
|
|
1298
1344
|
I as Button,
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1345
|
+
Be as ButtonIcon,
|
|
1346
|
+
E as CustomLink,
|
|
1347
|
+
Se as Document,
|
|
1348
|
+
$e as FloatButton,
|
|
1349
|
+
Xe as Footer,
|
|
1350
|
+
L as Heading,
|
|
1305
1351
|
m as Icon,
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1352
|
+
tt as Loader,
|
|
1353
|
+
Je as LongBanner,
|
|
1354
|
+
qe as PageHeader,
|
|
1355
|
+
T as PhoneView,
|
|
1356
|
+
Re as ProgressBar,
|
|
1311
1357
|
g as ResponsiveContainer,
|
|
1312
1358
|
D as RgxCheckForHyphen,
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1359
|
+
oe as RgxPatronymic,
|
|
1360
|
+
re as RgxUnicode,
|
|
1361
|
+
q as Section,
|
|
1362
|
+
Pe as Skeleton,
|
|
1363
|
+
Qe as Stepper,
|
|
1318
1364
|
s as VALIDATION_MESSAGES,
|
|
1319
|
-
|
|
1365
|
+
w as allowedBackgroundColors,
|
|
1320
1366
|
B as allowedBackgroundDeg,
|
|
1321
|
-
|
|
1322
|
-
|
|
1367
|
+
z as allowedBannersBackgroundColors,
|
|
1368
|
+
A as allowedBorderRadius,
|
|
1323
1369
|
S as allowedFontSize,
|
|
1324
|
-
|
|
1370
|
+
x as allowedIconsColors,
|
|
1325
1371
|
R as allowedLineHeight,
|
|
1326
|
-
|
|
1372
|
+
v as allowedStrokeColors,
|
|
1327
1373
|
F as allowedTextColors,
|
|
1328
1374
|
P as allowedTextStyles,
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1375
|
+
ie as allowedZIndex,
|
|
1376
|
+
We as apiInstance,
|
|
1377
|
+
Fe as capitalize,
|
|
1378
|
+
i as cn,
|
|
1379
|
+
pe as defaultHeaders,
|
|
1380
|
+
Ze as extendsPreset,
|
|
1381
|
+
ne as formattedDadataFio,
|
|
1382
|
+
rt as isClient,
|
|
1383
|
+
ze as mergeRefs,
|
|
1384
|
+
Ge as resetPreset,
|
|
1385
|
+
ot as scrollToElement,
|
|
1386
|
+
Ue as tailwindConfigBase,
|
|
1387
|
+
Ve as zodCalendarValidate,
|
|
1388
|
+
He as zodDadataFioSchema,
|
|
1389
|
+
Oe as zodOtpCodeSchema,
|
|
1390
|
+
Me as zodPhoneSchema
|
|
1345
1391
|
};
|
|
1346
1392
|
//# sourceMappingURL=hybrid.js.map
|