@scbt-ecom/ui 0.47.1 → 0.49.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/widget.js CHANGED
@@ -1,10 +1,10 @@
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-jk9y4fVq.js";
2
- import { s as Z } from "./scrollToElement-B-reg4jF.js";
3
- import { c as x, T as c } from "./typeGuards-BigW-JS1.js";
1
+ import { j as t, B as y, H as j, c as h, R as k, P as F, b as D, I as f, C as I, S as G, a as U, L as Z, d as B, A as v, e as $ } from "./index-BiAdttkO.js";
2
+ import { s as q, c as L } from "./scrollToElement-BjUPRtGF.js";
3
+ import { c as p, T as c } from "./typeGuards-BigW-JS1.js";
4
4
  import { a as g } from "./useDebounce-QgEEiWs9.js";
5
5
  import * as N from "react";
6
- import { useState as q, useMemo as J, createElement as K } from "react";
7
- const Q = h(
6
+ import { useState as J, useMemo as K, createElement as Q } from "react";
7
+ const X = 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,14 +15,14 @@ const Q = h(
15
15
  }
16
16
  }
17
17
  }
18
- ), X = ({
18
+ ), Y = ({
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: p,
25
+ buttonText: x,
26
26
  intent: m,
27
27
  cardColor: a
28
28
  }) => {
@@ -30,30 +30,30 @@ const Q = h(
30
30
  y,
31
31
  {
32
32
  intent: "primary",
33
- className: x("desktop:w-[200px]", d == null ? void 0 : d.button),
34
- onClick: () => Z("personal_form"),
33
+ className: p("desktop:w-[200px]", d == null ? void 0 : d.button),
34
+ onClick: () => q("personal_form"),
35
35
  size: "lg",
36
- children: p
36
+ children: x
37
37
  }
38
38
  ) });
39
39
  return /* @__PURE__ */ t.jsxs(
40
40
  "li",
41
41
  {
42
- className: x(Q({ intent: m }), { "pb-0": n }, { "pb-12": !n }, a, d == null ? void 0 : d.root),
42
+ className: p(X({ intent: m }), { "pb-0": n }, { "pb-12": !n }, a, d == null ? void 0 : d.root),
43
43
  children: [
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 })
44
+ /* @__PURE__ */ t.jsxs("div", { className: p("flex flex-col items-start justify-between px-4 desktop:px-8 desktop:py-8", d == null ? void 0 : d.wrapper), children: [
45
+ /* @__PURE__ */ t.jsxs("div", { className: p("flex flex-col gap-4", d == null ? void 0 : d.textContainer), children: [
46
+ /* @__PURE__ */ t.jsx(j, { as: "h4", className: p("desktop:desk-title-bold-s", d == null ? void 0 : d.title), children: e }),
47
+ /* @__PURE__ */ t.jsx("p", { className: p("mob-body-regular-l text-icon-blue-grey-800 desktop:desk-body-regular-l", d == null ? void 0 : d.description), children: r })
48
48
  ] }),
49
49
  i && u && l
50
50
  ] }),
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 }) })
51
+ (n || u) && o && /* @__PURE__ */ t.jsx("div", { className: p("flex w-full justify-end", d == null ? void 0 : d.imgContainer), children: /* @__PURE__ */ t.jsx("img", { className: p("h-[246px] object-cover", d == null ? void 0 : d.img), src: o, alt: e }) })
52
52
  ]
53
53
  },
54
54
  o
55
55
  );
56
- }, Y = h("grid gap-4", {
56
+ }, A = 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 Q = h(
61
61
  fourCards: "grid-cols-1 mobile:grid-rows-[400px,1fr,1fr,400px] desktop:grid-cols-3"
62
62
  }
63
63
  }
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) => {
64
+ }), qt = ({ 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(A({ intent: n }), o == null ? void 0 : o.grid), children: e == null ? void 0 : e.map((d) => /* @__PURE__ */ t.jsx(Y, { intent: n, classes: o == null ? void 0 : o.item, ...d }, d.img)) })
67
+ ] }) }), P = (r) => {
68
68
  const { variant: e, details: o } = r;
69
69
  switch (e) {
70
70
  case "withButton":
71
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(F, { classes: { root: "items-end" }, ...o });
73
+ return /* @__PURE__ */ t.jsx(F, { classes: { root: "items-end" }, ...o, phone: L(o.phone) });
74
74
  default:
75
75
  return null;
76
76
  }
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: [
77
+ }, Jt = ({ logoPath: r = "/", logoType: e = "main", config: o, classes: n }) => /* @__PURE__ */ t.jsx("header", { className: p("flex h-[64px] items-center justify-center bg-color-white desktop:h-[72px]", n == null ? void 0 : n.header), children: /* @__PURE__ */ t.jsx(k, { className: p(n == null ? void 0 : n.container), children: /* @__PURE__ */ t.jsxs("div", { className: p("flex items-center justify-between gap-5", n == null ? void 0 : n.wrapper), children: [
78
78
  /* @__PURE__ */ t.jsx(
79
79
  "a",
80
80
  {
@@ -82,61 +82,61 @@ const Q = h(
82
82
  "aria-label": "logo",
83
83
  target: "_blank",
84
84
  rel: "noreferrer",
85
- className: x(
85
+ className: p(
86
86
  "flex items-center justify-center [&_svg]:w-[132px] desktop:[&_svg]:h-[32px] desktop:[&_svg]:w-[192px]",
87
87
  n == null ? void 0 : n.logo
88
88
  ),
89
- children: V[e]
89
+ children: D[e]
90
90
  }
91
91
  ),
92
- A(o)
93
- ] }) }) }), L = ({ buttonsConfig: r, classes: e, className: o }) => {
92
+ P(o)
93
+ ] }) }) }), R = ({ 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: x(
100
+ className: p(
101
101
  "grid-buttons-apply absolute bottom-6 left-1/2 flex w-full -translate-x-1/2 flex-col justify-self-center px-4 desktop:static desktop:left-auto desktop:max-w-full desktop:translate-x-0 desktop:flex-row desktop:justify-normal desktop:px-0",
102
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(y, { intent: "primary", ...r.primary, isFull: !0, className: x("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: p("desktop:max-w-[216px]", e == null ? void 0 : e.primary), children: r.primary.children }),
108
108
  n && /* @__PURE__ */ t.jsx(
109
109
  y,
110
110
  {
111
111
  intent: "secondary",
112
112
  ...r == null ? void 0 : r.secondary,
113
113
  isFull: !0,
114
- className: x("desktop:max-w-[216px]", e == null ? void 0 : e.secondary),
114
+ className: p("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
- }, P = ({
121
+ }, s = ({
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: p,
128
+ imgDesktop: x,
129
129
  color: m
130
130
  }) => {
131
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
+ 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 = x && "url" in x && c.isObject(x) ? /* @__PURE__ */ t.jsx("img", { className: "h-full w-full object-cover object-center", alt: "Картинка баннера", src: x.url }) : x, C = /* @__PURE__ */ t.jsx(
133
133
  "div",
134
134
  {
135
- className: x(
135
+ className: p(
136
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",
137
137
  d == null ? void 0 : d.advantageContainer
138
138
  ),
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
+ 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(O, { ...n })
140
140
  }
141
141
  );
142
142
  return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
@@ -145,28 +145,28 @@ const Q = h(
145
145
  {
146
146
  style: { backgroundColor: m ?? "#d9edff" },
147
147
  "data-test-id": "banner",
148
- className: x("relative h-[552px] desktop:h-[456px]", d == null ? void 0 : d.root),
148
+ className: p("relative h-[552px] desktop:h-[456px]", d == null ? void 0 : d.root),
149
149
  children: [
150
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: [
151
+ /* @__PURE__ */ t.jsxs(k, { className: p("h-full", d == null ? void 0 : d.container), children: [
152
+ /* @__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: [
153
153
  /* @__PURE__ */ t.jsxs("div", { className: "flex flex-col gap-4", children: [
154
154
  /* @__PURE__ */ t.jsx(
155
155
  "div",
156
156
  {
157
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)
158
+ className: p("mob-headline-bold-m text-color-dark desktop:desk-headline-bold-l", d == null ? void 0 : d.title)
159
159
  }
160
160
  ),
161
161
  /* @__PURE__ */ t.jsx(
162
162
  "div",
163
163
  {
164
164
  dangerouslySetInnerHTML: { __html: e },
165
- className: x("desk-body-regular-l text-color-dark", d == null ? void 0 : d.subtitle)
165
+ className: p("desk-body-regular-l text-color-dark", d == null ? void 0 : d.subtitle)
166
166
  }
167
167
  )
168
168
  ] }),
169
- /* @__PURE__ */ t.jsx(L, { className: "self-end desktop:self-center", buttonsConfig: o, classes: d })
169
+ /* @__PURE__ */ t.jsx(R, { className: "self-end desktop:self-center", buttonsConfig: o, classes: d })
170
170
  ] }) }),
171
171
  a && C
172
172
  ] })
@@ -182,7 +182,7 @@ const Q = h(
182
182
  advantages: n,
183
183
  classes: d,
184
184
  imgMobile: i,
185
- withAdvantages: p,
185
+ withAdvantages: x,
186
186
  imgDesktop: m,
187
187
  color: a
188
188
  }) => {
@@ -190,11 +190,11 @@ const Q = h(
190
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(
191
191
  "div",
192
192
  {
193
- className: x(
193
+ className: p(
194
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",
195
195
  d == null ? void 0 : d.advantageContainer
196
196
  ),
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 })
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(O, { ...n })
198
198
  }
199
199
  );
200
200
  return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
@@ -203,51 +203,51 @@ const Q = h(
203
203
  {
204
204
  style: { backgroundColor: a ?? "#d9edff" },
205
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: [
206
+ className: p("bg-banner-skyblue-300 desktop:h-[456px]", d == null ? void 0 : d.root),
207
+ children: /* @__PURE__ */ t.jsxs(k, { className: p("relative", d == null ? void 0 : d.container), children: [
208
+ /* @__PURE__ */ t.jsxs("div", { className: p("flex flex-col desktop:flex-row desktop:justify-between", d == null ? void 0 : d.wrapper), children: [
209
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: [
210
+ /* @__PURE__ */ t.jsxs("div", { className: p("flex flex-col gap-4 pt-6 desktop:pt-0", d == null ? void 0 : d.textBlock), children: [
211
211
  /* @__PURE__ */ t.jsx(
212
212
  "div",
213
213
  {
214
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)
215
+ className: p("mob-headline-bold-m text-color-dark desktop:desk-headline-bold-l", d == null ? void 0 : d.title)
216
216
  }
217
217
  ),
218
218
  /* @__PURE__ */ t.jsx(
219
219
  "div",
220
220
  {
221
221
  dangerouslySetInnerHTML: { __html: e },
222
- className: x("desk-body-regular-l text-color-dark", d == null ? void 0 : d.subtitle)
222
+ className: p("desk-body-regular-l text-color-dark", d == null ? void 0 : d.subtitle)
223
223
  }
224
224
  )
225
225
  ] }),
226
- /* @__PURE__ */ t.jsx(L, { buttonsConfig: o, classes: d })
226
+ /* @__PURE__ */ t.jsx(R, { buttonsConfig: o, classes: d })
227
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 })
228
+ /* @__PURE__ */ t.jsx("div", { className: p("flex h-[356px] justify-center desktop:h-[456px] desktop:w-[550px]", d == null ? void 0 : d.imageContainer), children: l ? b : C })
229
229
  ] }),
230
- u && p && w
230
+ u && x && w
231
231
  ] })
232
232
  }
233
233
  ),
234
- l && p && w
234
+ l && x && w
235
235
  ] });
236
236
  }, Kt = ({ variant: r, ...e }) => {
237
237
  switch (r) {
238
238
  case "separateImg":
239
239
  return /* @__PURE__ */ t.jsx(M, { ...e });
240
240
  case "fullImg":
241
- return /* @__PURE__ */ t.jsx(P, { ...e });
241
+ return /* @__PURE__ */ t.jsx(s, { ...e });
242
242
  default:
243
243
  return /* @__PURE__ */ t.jsx(M, { ...e });
244
244
  }
245
- }, R = ({ config: r, classes: e }) => {
245
+ }, O = ({ config: r, classes: e }) => {
246
246
  const { variant: o, details: n } = r;
247
247
  return /* @__PURE__ */ t.jsx(
248
248
  "div",
249
249
  {
250
- className: x(
250
+ className: p(
251
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",
252
252
  { "desktop:max-w-[860px]": o === "threeCards" },
253
253
  { "desktop:max-w-[1140px]": o === "fourCards" },
@@ -256,37 +256,37 @@ const Q = h(
256
256
  children: n == null ? void 0 : n.map(({ title: d, description: i }) => /* @__PURE__ */ t.jsxs(
257
257
  "div",
258
258
  {
259
- className: x(
259
+ className: p(
260
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',
261
261
  e == null ? void 0 : e.item
262
262
  ),
263
263
  children: [
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 })
264
+ /* @__PURE__ */ t.jsx(j, { as: "h4", className: p("text-color-dark", e == null ? void 0 : e.title), children: d }),
265
+ /* @__PURE__ */ t.jsx("p", { className: p("desk-body-regular-l text-color-secondary", e == null ? void 0 : e.description), children: i })
266
266
  ]
267
267
  },
268
268
  d
269
269
  ))
270
270
  }
271
271
  );
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(
272
+ }, tt = ({ 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(
273
273
  "a",
274
274
  {
275
- className: x("flex size-8 items-center justify-center rounded-full bg-[#52576a] p-2", e == null ? void 0 : e.socialLink),
275
+ className: p("flex size-8 items-center justify-center rounded-full bg-[#52576a] p-2", e == null ? void 0 : e.socialLink),
276
276
  href: n,
277
277
  "aria-label": o.replace("social/", ""),
278
- children: /* @__PURE__ */ t.jsx(f, { name: o, className: x("h-full w-full text-icon-white", e == null ? void 0 : e.socialIcon) })
278
+ children: /* @__PURE__ */ t.jsx(f, { name: o, className: p("h-full w-full text-icon-white", e == null ? void 0 : e.socialIcon) })
279
279
  },
280
280
  n
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(
281
+ )) }), et = ({ 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(
282
282
  F,
283
283
  {
284
- phone: tt(o),
284
+ phone: L(o),
285
285
  text: n,
286
286
  classes: {
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)
287
+ root: p(e == null ? void 0 : e.phoneWrapper),
288
+ text: p("text-color-footer", e == null ? void 0 : e.phoneText),
289
+ link: p("text-color-white mobile:m-0", e == null ? void 0 : e.phoneLink)
290
290
  }
291
291
  },
292
292
  o
@@ -295,17 +295,17 @@ const Q = h(
295
295
  return /* @__PURE__ */ t.jsx(
296
296
  "div",
297
297
  {
298
- className: x(
298
+ className: p(
299
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",
300
300
  r == null ? void 0 : r.navRoot
301
301
  ),
302
302
  children: o == null ? void 0 : o.map(
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(
303
+ ({ 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: [
304
+ /* @__PURE__ */ t.jsx("div", { className: p("desk-body-medium-l text-color-white", r == null ? void 0 : r.navLabel), children: d }),
305
+ /* @__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: m }) => /* @__PURE__ */ t.jsx(
306
306
  I,
307
307
  {
308
- href: p,
308
+ href: x,
309
309
  "aria-label": m,
310
310
  intent: "white",
311
311
  classes: {
@@ -323,7 +323,7 @@ const Q = h(
323
323
  }, ot = ({ text: r, classes: e }) => /* @__PURE__ */ t.jsx(
324
324
  "div",
325
325
  {
326
- className: x("desk-body-regular-m text-color-footer", e == null ? void 0 : e.copyRight),
326
+ className: p("desk-body-regular-m text-color-footer", e == null ? void 0 : e.copyRight),
327
327
  dangerouslySetInnerHTML: { __html: r }
328
328
  }
329
329
  ), nt = ({ classes: r }) => /* @__PURE__ */ t.jsx(
@@ -331,8 +331,8 @@ const Q = h(
331
331
  {
332
332
  "aria-label": "logo",
333
333
  href: "https://sovcombank.ru/",
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) })
334
+ className: p("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: p("size-full", r == null ? void 0 : r.footerLogoIcon) })
336
336
  }
337
337
  ), dt = ({ classes: r }) => /* @__PURE__ */ t.jsx(
338
338
  I,
@@ -343,22 +343,22 @@ const Q = h(
343
343
  "aria-label": "site-map",
344
344
  rel: "noreferrer",
345
345
  classes: {
346
- link: x("mobile:mt-6", r == null ? void 0 : r.siteMapLink),
346
+ link: p("mobile:mt-6", r == null ? void 0 : r.siteMapLink),
347
347
  icon: r == null ? void 0 : r.siteMapLinkIcon
348
348
  },
349
349
  children: "Карта сайта"
350
350
  }
351
351
  ), it = ({ text: r, classes: e }) => {
352
- const [o, n] = N.useState(!1), [d, i] = N.useState(!1), p = N.useRef(null);
352
+ const [o, n] = N.useState(!1), [d, i] = N.useState(!1), x = N.useRef(null);
353
353
  return N.useEffect(() => {
354
- const m = p.current;
354
+ const m = x.current;
355
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: [
356
+ }, []), /* @__PURE__ */ t.jsxs("div", { className: p("mt-8 flex flex-col gap-4", e == null ? void 0 : e.ligalRoot), children: [
357
357
  /* @__PURE__ */ t.jsx(
358
358
  "div",
359
359
  {
360
- ref: p,
361
- className: x("desk-body-regular-m text-color-footer", { "line-clamp-3": !o }, e == null ? void 0 : e.ligalText),
360
+ ref: x,
361
+ className: p("desk-body-regular-m text-color-footer", { "line-clamp-3": !o }, e == null ? void 0 : e.ligalText),
362
362
  dangerouslySetInnerHTML: { __html: r }
363
363
  }
364
364
  ),
@@ -368,7 +368,7 @@ const Q = h(
368
368
  tabIndex: 0,
369
369
  role: "button",
370
370
  onClick: () => n((m) => !m),
371
- className: x(
371
+ className: p(
372
372
  "desk-body-regular-l w-max cursor-pointer font-medium text-color-footer transition-colors hover:text-color-white",
373
373
  e == null ? void 0 : e.ligalButton
374
374
  ),
@@ -385,24 +385,24 @@ const Q = h(
385
385
  withSiteMap: d = !0,
386
386
  withLigal: i = !0
387
387
  } = {},
388
- socialsLinks: p = [],
388
+ socialsLinks: x = [],
389
389
  phones: m = [],
390
390
  ligal: a,
391
391
  copyright: u = "",
392
392
  classes: l,
393
393
  config: b
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: [
394
+ }) => /* @__PURE__ */ t.jsx("footer", { className: p("w-full bg-color-footer py-8 desktop:py-10", l == null ? void 0 : l.root), children: /* @__PURE__ */ t.jsx(k, { className: p(l == null ? void 0 : l.footerContainer), children: /* @__PURE__ */ t.jsxs("div", { className: p("mobile:pb-[176px]", l == null ? void 0 : l.footerWrapper), children: [
395
395
  /* @__PURE__ */ t.jsxs(
396
396
  "div",
397
397
  {
398
- className: x(
398
+ className: p(
399
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",
400
400
  l == null ? void 0 : l.footerHead
401
401
  ),
402
402
  children: [
403
- /* @__PURE__ */ t.jsxs("div", { className: x(l == null ? void 0 : l.footerSocialBlock), children: [
403
+ /* @__PURE__ */ t.jsxs("div", { className: p(l == null ? void 0 : l.footerSocialBlock), children: [
404
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 })
405
+ r && /* @__PURE__ */ t.jsx(tt, { socialsLinks: x, classes: l == null ? void 0 : l.socialLinks })
406
406
  ] }),
407
407
  e && /* @__PURE__ */ t.jsx(et, { phones: m, classes: l == null ? void 0 : l.phonesBlock })
408
408
  ]
@@ -413,7 +413,7 @@ const Q = h(
413
413
  /* @__PURE__ */ t.jsxs(
414
414
  "div",
415
415
  {
416
- className: x(
416
+ className: p(
417
417
  "mt-6 flex flex-col-reverse items-start justify-between gap-4 desktop:mt-8 desktop:flex-row desktop:gap-6",
418
418
  l == null ? void 0 : l.footerBottom
419
419
  ),
@@ -423,12 +423,12 @@ const Q = h(
423
423
  ]
424
424
  }
425
425
  )
426
- ] }) }) }), xt = ({ classes: r, index: e, variant: o, title: n, description: d }) => {
426
+ ] }) }) }), pt = ({ classes: r, index: e, variant: o, title: n, description: d }) => {
427
427
  const i = o === "withTitleAndDescription" && n;
428
428
  return /* @__PURE__ */ t.jsxs(
429
429
  "div",
430
430
  {
431
- className: x(
431
+ className: p(
432
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",
433
433
  r == null ? void 0 : r.singleStep
434
434
  ),
@@ -436,20 +436,20 @@ const Q = h(
436
436
  /* @__PURE__ */ t.jsx(
437
437
  "div",
438
438
  {
439
- className: x(
439
+ className: p(
440
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",
441
441
  r == null ? void 0 : r.numeric
442
442
  ),
443
443
  children: e
444
444
  }
445
445
  ),
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 }),
446
+ /* @__PURE__ */ t.jsxs("div", { className: p("flex flex-col gap-2"), children: [
447
+ i && /* @__PURE__ */ t.jsx(j, { as: "h4", className: p("text-color-dark", r == null ? void 0 : r.title), children: n }),
448
448
  /* @__PURE__ */ t.jsx(
449
449
  "div",
450
450
  {
451
451
  dangerouslySetInnerHTML: { __html: d ?? "" },
452
- className: x("desk-body-regular-l text-color-tetriary", r == null ? void 0 : r.description)
452
+ className: p("desk-body-regular-l text-color-tetriary", r == null ? void 0 : r.description)
453
453
  }
454
454
  )
455
455
  ] })
@@ -458,20 +458,20 @@ const Q = h(
458
458
  );
459
459
  }, Xt = ({ headline: r, config: e, classes: o }) => {
460
460
  const { variant: n, details: d } = e;
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 }),
461
+ return /* @__PURE__ */ t.jsx(G, { 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: [
462
+ /* @__PURE__ */ t.jsx(j, { as: "h2", className: p("text-color-dark", o == null ? void 0 : o.headline), children: r }),
463
463
  /* @__PURE__ */ t.jsx(
464
464
  "div",
465
465
  {
466
- className: x(
466
+ className: p(
467
467
  "flex w-full flex-col items-start gap-6 desktop:flex-row desktop:items-start desktop:gap-12",
468
468
  o == null ? void 0 : o.stepsWrapper
469
469
  ),
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))
470
+ children: d == null ? void 0 : d.map((i, x) => /* @__PURE__ */ t.jsx(pt, { variant: n, ...i, index: x + 1, classes: o == null ? void 0 : o.step }, i.description))
471
471
  }
472
472
  )
473
473
  ] }) }) });
474
- }, pt = h("", {
474
+ }, xt = h("", {
475
475
  variants: {
476
476
  intent: {
477
477
  twoItems: "mob-headline-bold-s mb-6 desktop:desk-headline-bold-m desktop:mb-12",
@@ -563,38 +563,38 @@ const Q = h(
563
563
  enabled: !1
564
564
  }
565
565
  } = r;
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 })
566
+ return /* @__PURE__ */ t.jsx("li", { className: p(mt({ intent: e })), children: /* @__PURE__ */ t.jsxs("div", { className: "desktop:max-w-[264px]", children: [
567
+ /* @__PURE__ */ t.jsxs("div", { className: p("mb-2 flex items-center gap-2"), children: [
568
+ /* @__PURE__ */ t.jsx("h4", { className: p("mob-title-bold-m text-color-dark"), children: o }),
569
+ d.enabled && /* @__PURE__ */ t.jsx(U, { triggerElement: /* @__PURE__ */ t.jsx(f, { className: p("size-5 text-icon-blue-grey-600"), name: "info/helpCircle" }), children: d == null ? void 0 : d.text })
570
570
  ] }),
571
- /* @__PURE__ */ t.jsx("div", { className: x("mob-body-regular-l text-color-secondary"), dangerouslySetInnerHTML: { __html: n } })
571
+ /* @__PURE__ */ t.jsx("div", { className: p("mob-body-regular-l text-color-secondary"), dangerouslySetInnerHTML: { __html: n } })
572
572
  ] }) });
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 }),
573
+ }, T = ({ intent: r, headline: e, desktopHidden: o = !1, mobileHidden: n = !1 }) => /* @__PURE__ */ t.jsx("h2", { className: p(xt({ intent: r, desktopHidden: o, mobileHidden: n })), children: e }), ht = ({ details: r, intent: e, withButton: o }) => /* @__PURE__ */ t.jsx("ul", { className: p(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: x = "twoItems", details: m } = n, a = x === "fourItems", u = x === "twoItems";
575
+ 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: [
576
+ u && /* @__PURE__ */ t.jsx(T, { intent: x, headline: r }),
577
577
  /* @__PURE__ */ t.jsxs(
578
578
  "div",
579
579
  {
580
- className: x(
580
+ className: p(
581
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",
582
582
  i == null ? void 0 : i.contentContainer
583
583
  ),
584
584
  children: [
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 }),
585
+ a && /* @__PURE__ */ t.jsx(T, { intent: x, headline: r, desktopHidden: !0 }),
586
+ /* @__PURE__ */ t.jsx("div", { className: p(at({ intent: x, withButton: o }), i == null ? void 0 : i.imgContainer), children: d }),
587
587
  /* @__PURE__ */ t.jsxs(
588
588
  "div",
589
589
  {
590
- className: x("desktop:flex desktop:flex-col desktop:justify-center desktop:py-10", i == null ? void 0 : i.textWithBtnContainer),
590
+ className: p("desktop:flex desktop:flex-col desktop:justify-center desktop:py-10", i == null ? void 0 : i.textWithBtnContainer),
591
591
  children: [
592
- a && /* @__PURE__ */ t.jsx(T, { intent: p, headline: r, mobileHidden: !0 }),
593
- /* @__PURE__ */ t.jsx(ht, { details: m, intent: p, withButton: o }),
592
+ a && /* @__PURE__ */ t.jsx(T, { intent: x, headline: r, mobileHidden: !0 }),
593
+ /* @__PURE__ */ t.jsx(ht, { details: m, intent: x, withButton: o }),
594
594
  o && /* @__PURE__ */ t.jsx(
595
595
  y,
596
596
  {
597
- className: x("w-full px-4 desktop:w-max", i == null ? void 0 : i.button),
597
+ className: p("w-full px-4 desktop:w-max", i == null ? void 0 : i.button),
598
598
  size: "lg",
599
599
  onClick: e == null ? void 0 : e.onClick,
600
600
  intent: "secondary",
@@ -612,11 +612,11 @@ const Q = h(
612
612
  ESIA: "esia",
613
613
  MOBILE_ID: "mobileId",
614
614
  COMBINE: "combine"
615
- }, O = ({ children: r, isLoading: e, classes: o, loaderProps: n }) => /* @__PURE__ */ t.jsx(
615
+ }, W = ({ children: r, isLoading: e, classes: o, loaderProps: n }) => /* @__PURE__ */ t.jsx(
616
616
  "div",
617
617
  {
618
618
  tabIndex: 0,
619
- className: x(
619
+ className: p(
620
620
  "relative flex h-[90px] w-full max-w-[328px] items-center justify-center rounded-sm p-2 desktop:max-w-[524px]",
621
621
  "bg-color-white outline outline-1 outline-warm-grey-200 transition-colors focus-visible:outline-primary-focus",
622
622
  o == null ? void 0 : o.root
@@ -624,13 +624,13 @@ const Q = h(
624
624
  children: /* @__PURE__ */ t.jsx(
625
625
  "div",
626
626
  {
627
- className: x(
627
+ className: p(
628
628
  "flex h-[74px] flex-1 cursor-pointer rounded-sm px-2 py-3 transition-colors desktop:px-4 desktop:py-3",
629
629
  "bg-color-blue-grey-100 hover:bg-color-blue-grey-200 active:bg-color-blue-grey-300",
630
630
  { "items-center": e },
631
631
  o == null ? void 0 : o.wrapper
632
632
  ),
633
- children: e ? /* @__PURE__ */ t.jsx(U, { position: "static", classes: { wrapper: "size-8 m-auto" }, ...n }) : r
633
+ children: e ? /* @__PURE__ */ t.jsx(Z, { position: "static", classes: { wrapper: "size-8 m-auto" }, ...n }) : r
634
634
  }
635
635
  )
636
636
  }
@@ -662,14 +662,14 @@ const Q = h(
662
662
  /* @__PURE__ */ t.jsx("stop", { offset: "0.6875", stopColor: "#EE2F53" }),
663
663
  /* @__PURE__ */ t.jsx("stop", { offset: "1", stopColor: "#EE2F53" })
664
664
  ] }) })
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: [
665
+ ] }), V = ({ mainLink: r, subLink: e, isMobile: o, classes: n }) => /* @__PURE__ */ t.jsxs("div", { className: p("flex flex-col", n == null ? void 0 : n.linksWrapper), children: [
666
666
  /* @__PURE__ */ t.jsx(
667
667
  "a",
668
668
  {
669
669
  href: r.href,
670
670
  target: "_blank",
671
671
  rel: "noreferrer",
672
- className: x(
672
+ className: p(
673
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',
674
674
  n == null ? void 0 : n.linksMainLink
675
675
  ),
@@ -685,52 +685,52 @@ const Q = h(
685
685
  target: "_blank",
686
686
  rel: "noreferrer",
687
687
  classes: {
688
- link: x("w-max relative z-[6] p-0 desk-body-regular-m text-color-tetriary", n == null ? void 0 : n.linksSubLink)
688
+ link: p("w-max relative z-[6] p-0 desk-body-regular-m text-color-tetriary", n == null ? void 0 : n.linksSubLink)
689
689
  },
690
690
  children: e == null ? void 0 : e.text
691
691
  }
692
692
  )
693
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(
694
+ const { isMobile: x } = g();
695
+ return /* @__PURE__ */ t.jsx(W, { isLoading: o, loaderProps: d, classes: i == null ? void 0 : i.authWrapper, children: /* @__PURE__ */ t.jsxs(
696
696
  "div",
697
697
  {
698
- className: x(
698
+ className: p(
699
699
  "flex flex-1 items-center justify-between gap-1",
700
- { "justify-center": !n && p },
700
+ { "justify-center": !n && x },
701
701
  i == null ? void 0 : i.innerWrapper
702
702
  ),
703
703
  children: [
704
- /* @__PURE__ */ t.jsxs("div", { className: x("flex items-center gap-1 desktop:gap-4", i == null ? void 0 : i.textContent), children: [
704
+ /* @__PURE__ */ t.jsxs("div", { className: p("flex items-center gap-1 desktop:gap-4", i == null ? void 0 : i.textContent), children: [
705
705
  /* @__PURE__ */ t.jsxs("div", { children: [
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) })
706
+ /* @__PURE__ */ t.jsx(f, { name: "logos/mts", className: p("relative z-[9] size-7 desktop:size-8", i == null ? void 0 : i.mtsLogo) }),
707
+ /* @__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) }),
708
+ /* @__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) })
709
709
  ] }),
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) })
710
+ /* @__PURE__ */ t.jsx(V, { mainLink: r, subLink: e, isMobile: x, classes: i == null ? void 0 : i.links }),
711
+ /* @__PURE__ */ t.jsx(f, { name: "arrows/arrowRight", className: p("mobile:hidden", i == null ? void 0 : i.arrowIcon) })
712
712
  ] }),
713
- n && /* @__PURE__ */ t.jsx(B, { className: x("bg-color-positive", i == null ? void 0 : i.badge), children: n })
713
+ n && /* @__PURE__ */ t.jsx(B, { className: p("bg-color-positive", i == null ? void 0 : i.badge), children: n })
714
714
  ]
715
715
  }
716
716
  ) });
717
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(
718
+ const { isMobile: x } = g();
719
+ return /* @__PURE__ */ t.jsx(W, { isLoading: o, loaderProps: d, classes: i == null ? void 0 : i.authWrapper, children: /* @__PURE__ */ t.jsxs(
720
720
  "div",
721
721
  {
722
- className: x(
722
+ className: p(
723
723
  "flex flex-1 items-center justify-between gap-1",
724
- { "justify-center": !n && p },
724
+ { "justify-center": !n && x },
725
725
  i == null ? void 0 : i.innerWrapper
726
726
  ),
727
727
  children: [
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) })
728
+ /* @__PURE__ */ t.jsxs("div", { className: p("flex items-center gap-1 desktop:gap-4", i == null ? void 0 : i.textContent), children: [
729
+ /* @__PURE__ */ t.jsx(ft, { className: p("size-7 desktop:size-8", i == null ? void 0 : i.esiaLogo) }),
730
+ /* @__PURE__ */ t.jsx(V, { mainLink: r, subLink: e, isMobile: x, classes: i == null ? void 0 : i.links }),
731
+ /* @__PURE__ */ t.jsx(f, { name: "arrows/arrowRight", className: p("mobile:hidden", i == null ? void 0 : i.arrowIcon) })
732
732
  ] }),
733
- n && /* @__PURE__ */ t.jsx(B, { className: x("bg-color-positive", i == null ? void 0 : i.badge), children: n })
733
+ n && /* @__PURE__ */ t.jsx(B, { className: p("bg-color-positive", i == null ? void 0 : i.badge), children: n })
734
734
  ]
735
735
  }
736
736
  ) });
@@ -742,20 +742,20 @@ const Q = h(
742
742
  return /* @__PURE__ */ t.jsx(S, { ...r });
743
743
  case _.COMBINE:
744
744
  default:
745
- const { esiaConfig: e, mobileIdConfig: o, subtitle: n, badge: d, classes: i } = r, p = !n && !d ? N.Fragment : "div";
745
+ const { esiaConfig: e, mobileIdConfig: o, subtitle: n, badge: d, classes: i } = r, x = !n && !d ? N.Fragment : "div";
746
746
  return /* @__PURE__ */ t.jsxs(
747
747
  "div",
748
748
  {
749
- className: x(
749
+ className: p(
750
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",
751
751
  i == null ? void 0 : i.root
752
752
  ),
753
753
  children: [
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 })
754
+ /* @__PURE__ */ t.jsxs(x, { className: p("flex w-full items-center justify-between gap-2", i == null ? void 0 : i.topContent), children: [
755
+ 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 }),
756
+ d && /* @__PURE__ */ t.jsx(B, { className: p("bg-color-positive", i == null ? void 0 : i.badge), children: d })
757
757
  ] }),
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: [
758
+ /* @__PURE__ */ t.jsxs("div", { className: p("grid w-full grid-cols-2 gap-2 desktop:gap-4", i == null ? void 0 : i.authWrapper), children: [
759
759
  /* @__PURE__ */ t.jsx(
760
760
  E,
761
761
  {
@@ -783,12 +783,12 @@ const Q = h(
783
783
  }
784
784
  );
785
785
  }
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(
786
+ }, At = (r) => jt(r), z = ({ 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(
787
787
  I,
788
788
  {
789
789
  classes: {
790
- link: x("w-max", e == null ? void 0 : e.linkText),
791
- icon: x(e == null ? void 0 : e.linkIcon)
790
+ link: p("w-max", e == null ? void 0 : e.linkText),
791
+ icon: p(e == null ? void 0 : e.linkIcon)
792
792
  },
793
793
  intent: "dark",
794
794
  href: o,
@@ -796,11 +796,11 @@ const Q = h(
796
796
  },
797
797
  o
798
798
  )) }), kt = ({ groupLabel: r, links: e, mobileAccordionProps: o, classes: n }) => {
799
- var i, p, m;
799
+ var i, x, m;
800
800
  const { isMobile: d } = g();
801
- return /* @__PURE__ */ t.jsxs("div", { className: x("flex flex-col gap-2", n == null ? void 0 : n.columnGroup), children: [
801
+ return /* @__PURE__ */ t.jsxs("div", { className: p("flex flex-col gap-2", n == null ? void 0 : n.columnGroup), children: [
802
802
  !d && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
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 }),
803
+ /* @__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 }),
804
804
  /* @__PURE__ */ t.jsx(z, { links: e, classes: n == null ? void 0 : n.linksList }, "desktop")
805
805
  ] }),
806
806
  d && /* @__PURE__ */ t.jsx(
@@ -808,20 +808,20 @@ const Q = h(
808
808
  {
809
809
  defaultOpen: !0,
810
810
  label: r,
811
- icon: /* @__PURE__ */ t.jsx(f, { name: "arrows/arrowRight", className: x("rotate-90 transition-transform group-data-[state=open]:-rotate-90") }),
811
+ icon: /* @__PURE__ */ t.jsx(f, { name: "arrows/arrowRight", className: p("rotate-90 transition-transform group-data-[state=open]:-rotate-90") }),
812
812
  ...o,
813
813
  classes: {
814
814
  ...o == null ? void 0 : o.classes,
815
815
  header: {
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)
816
+ 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)
817
817
  },
818
- contentInner: x("py-2 px-4", (m = o == null ? void 0 : o.classes) == null ? void 0 : m.contentInner)
818
+ contentInner: p("py-2 px-4", (m = o == null ? void 0 : o.classes) == null ? void 0 : m.contentInner)
819
819
  },
820
820
  children: /* @__PURE__ */ t.jsx(z, { links: e, classes: n == null ? void 0 : n.linksList }, "mobile")
821
821
  }
822
822
  )
823
823
  ] });
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", {
824
+ }, bt = ({ 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(kt, { ...e, ...n, classes: o == null ? void 0 : o.columnGroup }, n.groupLabel)) }), gt = h("grid gap-4 grid-cols-1", {
825
825
  variants: {
826
826
  variant: {
827
827
  twoCols: "desktop:grid-cols-2",
@@ -834,28 +834,28 @@ const Q = h(
834
834
  }
835
835
  }), Pt = ({ config: r, headline: e, mobileAccordionProps: o, rootAccordionProps: n, classes: d }) => {
836
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(
837
+ const { variant: i, details: x } = r;
838
+ 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(
839
839
  v,
840
840
  {
841
841
  defaultOpen: !0,
842
- label: /* @__PURE__ */ t.jsx(j, { as: "h4", className: x("text-left", d == null ? void 0 : d.headline), children: e }),
842
+ label: /* @__PURE__ */ t.jsx(j, { as: "h4", className: p("text-left", d == null ? void 0 : d.headline), children: e }),
843
843
  ...n,
844
844
  classes: {
845
845
  ...n == null ? void 0 : n.classes,
846
846
  header: {
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)
847
+ trigger: p("bg-color-blue-grey-100", (a = (m = n == null ? void 0 : n.classes) == null ? void 0 : m.header) == null ? void 0 : a.trigger)
848
848
  },
849
- content: x("max-w-full bg-color-blue-grey-100 relative", (u = n == null ? void 0 : n.classes) == null ? void 0 : u.content)
849
+ content: p("max-w-full bg-color-blue-grey-100 relative", (u = n == null ? void 0 : n.classes) == null ? void 0 : u.content)
850
850
  },
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)) })
851
+ children: /* @__PURE__ */ t.jsx("div", { className: p(gt({ variant: i }), d == null ? void 0 : d.columnsWrapper), children: x == null ? void 0 : x.map((l, b) => /* @__PURE__ */ t.jsx(bt, { ...l, ...o, classes: d == null ? void 0 : d.column }, b)) })
852
852
  }
853
853
  ) }) });
854
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(
855
855
  "button",
856
856
  {
857
857
  onClick: () => o(d),
858
- className: x(
858
+ className: p(
859
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",
860
860
  {
861
861
  "bg-icon-primary-default text-color-white": e === d
@@ -891,7 +891,7 @@ const Q = h(
891
891
  threeCols: "grid-cols-3 gap-12"
892
892
  }
893
893
  }
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", {
894
+ }), _t = ({ headings: r, columnsVariant: e }) => /* @__PURE__ */ t.jsx("div", { className: p(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", {
895
895
  variants: {
896
896
  columnsVariant: {
897
897
  twoCols: "grid-cols-2 gap-16",
@@ -902,33 +902,33 @@ const Q = h(
902
902
  separator: "px-4 py-4 border-t border-solid border-warm-grey-200"
903
903
  }
904
904
  }
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", {
905
+ }), Ht = ({ row: r, tableVariant: e, columnsVariant: o, rowIndex: n }) => /* @__PURE__ */ t.jsx("div", { className: p(Bt({ 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)) }), Mt = h("flex flex-col gap-2", {
906
906
  variants: {
907
907
  tableVariant: {
908
908
  filled: "px-4 py-4 odd:bg-color-primary-light-default",
909
909
  separator: "py-4 border-t border-solid border-warm-grey-200 first:border-none"
910
910
  }
911
911
  }
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: [
912
+ }), St = ({ row: r, tableVariant: e, columnsVariant: o, headingsExist: n }) => /* @__PURE__ */ t.jsx("div", { className: p(Mt({ 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: [
913
913
  i && /* @__PURE__ */ t.jsx("div", { className: "mob-body-regular-l text-color-secondary", children: i }),
914
914
  /* @__PURE__ */ t.jsx(
915
915
  "div",
916
916
  {
917
- className: x("mob-body-regular-l text-color-dark", {
918
- "font-medium": p !== 0 && o === "twoCols" || o === "threeCols" || o === "twoCols" && n
917
+ className: p("mob-body-regular-l text-color-dark", {
918
+ "font-medium": x !== 0 && o === "twoCols" || o === "threeCols" || o === "twoCols" && n
919
919
  }),
920
920
  children: d
921
921
  }
922
922
  )
923
- ] }, p)) }), Et = ({ tableVariant: r, rows: e, headings: o, columnsVariant: n }) => {
923
+ ] }, x)) }), Et = ({ tableVariant: r, rows: e, headings: o, columnsVariant: n }) => {
924
924
  var m;
925
- const { isDesktop: d } = g(), i = ((m = ct(e, o)) == null ? void 0 : m.rows) ?? [], p = !!(o && o.length > 0);
925
+ const { isDesktop: d } = g(), i = ((m = ct(e, o)) == null ? void 0 : m.rows) ?? [], x = !!(o && o.length > 0);
926
926
  return /* @__PURE__ */ t.jsxs("div", { className: "flex flex-col", children: [
927
- d && p && /* @__PURE__ */ t.jsx(_t, { headings: o, columnsVariant: n }),
927
+ d && x && /* @__PURE__ */ t.jsx(_t, { headings: o, columnsVariant: n }),
928
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
929
  St,
930
930
  {
931
- headingsExist: p,
931
+ headingsExist: x,
932
932
  tableVariant: r,
933
933
  columnsVariant: n,
934
934
  ...a
@@ -936,10 +936,10 @@ const Q = h(
936
936
  u
937
937
  )) })
938
938
  ] });
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: [
939
+ }, zt = ({ tableVariant: r, description: e, columnsVariant: o, config: n, rows: d, title: i, headings: x }) => {
940
+ const m = /* @__PURE__ */ t.jsxs("div", { className: p(It({ columnsVariant: o })), children: [
941
941
  i && /* @__PURE__ */ t.jsx(j, { as: "h4", className: "mb-4 desktop:mb-6", children: i }),
942
- /* @__PURE__ */ t.jsx(Et, { tableVariant: r, rows: d, headings: p, columnsVariant: o }),
942
+ /* @__PURE__ */ t.jsx(Et, { tableVariant: r, rows: d, headings: x, columnsVariant: o }),
943
943
  e && /* @__PURE__ */ t.jsx("div", { className: "mt-2 [&&]:desk-body-regular-m desktop:mt-2", dangerouslySetInnerHTML: { __html: e ?? "" } })
944
944
  ] });
945
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 });
@@ -963,14 +963,14 @@ const Q = h(
963
963
  target: "_blank",
964
964
  rel: "noreferrer",
965
965
  tabIndex: 0,
966
- className: x(
966
+ className: p(
967
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"
968
968
  ),
969
969
  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: [
970
+ /* @__PURE__ */ t.jsx(f, { name: Ft[n], className: p(Lt({ iconType: n })) }),
971
+ /* @__PURE__ */ t.jsxs("div", { className: p("flex flex-1 flex-col"), children: [
972
+ /* @__PURE__ */ t.jsx("p", { className: p("desk-body-medium-l text-color-dark"), children: r }),
973
+ /* @__PURE__ */ t.jsxs("div", { className: p("desk-body-regular-m text-color-disabled"), children: [
974
974
  Number(e),
975
975
  " КБ"
976
976
  ] })
@@ -980,7 +980,7 @@ const Q = h(
980
980
  ), Ot = ({ docs: r, config: e, title: o, iconType: n, description: d }) => {
981
981
  const i = /* @__PURE__ */ t.jsxs("div", { className: "flex max-w-[680px] flex-col", children: [
982
982
  o && /* @__PURE__ */ t.jsx(j, { as: "h3", className: "mb-4", children: o }),
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)) }),
983
+ /* @__PURE__ */ t.jsx("div", { className: "gap- flex flex-col gap-4", children: r == null ? void 0 : r.map((x) => /* @__PURE__ */ t.jsx(Rt, { iconType: n, ...x }, x.label)) }),
984
984
  d && /* @__PURE__ */ t.jsx("div", { className: "mt-4", dangerouslySetInnerHTML: { __html: d ?? "" } })
985
985
  ] });
986
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 });
@@ -997,19 +997,19 @@ const Q = h(
997
997
  return null;
998
998
  }
999
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]) ?? [];
1000
+ var i, x;
1001
+ const [o, n] = J(0), d = K(() => e == null ? void 0 : e.map((m) => m == null ? void 0 : m.tabName), [e]) ?? [];
1002
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: [
1003
1003
  /* @__PURE__ */ t.jsx(j, { as: "h2", children: r }),
1004
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)) })
1005
+ /* @__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((m, a) => /* @__PURE__ */ t.jsx(Vt, { ...m }, a)) })
1006
1006
  ] }) });
1007
1007
  }, te = ({ fields: r, control: e }) => r.map(({ type: o, args: n }) => {
1008
1008
  const d = $[o];
1009
- return /* @__PURE__ */ K(d, { ...n, key: n.name, control: e });
1009
+ return /* @__PURE__ */ Q(d, { ...n, key: n.name, control: e });
1010
1010
  });
1011
1011
  export {
1012
- R as Advantages,
1012
+ O as Advantages,
1013
1013
  At as AuthProvider,
1014
1014
  Kt as Banner,
1015
1015
  M as BannerWithSeparateImg,