@scbt-ecom/ui 0.46.3 → 0.46.4

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