@scbt-ecom/ui 0.58.0 → 0.59.1

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.
Files changed (34) hide show
  1. package/dist/hooks.js +2 -2
  2. package/dist/{index-Bnb3sS3q.js → index-mSNqlGXI.js} +45 -42
  3. package/dist/{index-Bnb3sS3q.js.map → index-mSNqlGXI.js.map} +1 -1
  4. package/dist/ui.js +3 -3
  5. package/dist/{useDebounce-CK7Ghu8F.js → useDebounce-QgEEiWs9.js} +7 -7
  6. package/dist/{useDebounce-CK7Ghu8F.js.map → useDebounce-QgEEiWs9.js.map} +1 -1
  7. package/dist/{useFieldsProgress-BeFcsVuB.js → useFieldsProgress-BXzIWmGP.js} +7 -7
  8. package/dist/{useFieldsProgress-BeFcsVuB.js.map → useFieldsProgress-BXzIWmGP.js.map} +1 -1
  9. package/dist/utils.js +10 -11
  10. package/dist/utils.js.map +1 -1
  11. package/dist/uuid-2wKG15vy.js +25 -0
  12. package/dist/uuid-2wKG15vy.js.map +1 -0
  13. package/dist/widget.js +962 -544
  14. package/dist/widget.js.map +1 -1
  15. package/dist/widgets/index.d.ts +1 -0
  16. package/dist/widgets/model/helpers.d.ts +2 -1
  17. package/dist/widgets/seoHeader/SeoHeader.d.ts +1 -2
  18. package/dist/widgets/seoHeader/index.d.ts +1 -0
  19. package/dist/widgets/usefulInfo/UsefulInfo.d.ts +14 -2
  20. package/dist/widgets/usefulInfo/model/types.d.ts +9 -34
  21. package/dist/widgets/usefulInfo/ui/RenderEntity.d.ts +13 -2
  22. package/dist/widgets/usefulInfo/ui/Tabs.d.ts +6 -1
  23. package/dist/widgets/usefulInfo/ui/subEntities/documents/Documents.d.ts +23 -2
  24. package/dist/widgets/usefulInfo/ui/subEntities/documents/ui/document/Document.d.ts +9 -1
  25. package/dist/widgets/usefulInfo/ui/subEntities/html/Html.d.ts +11 -2
  26. package/dist/widgets/usefulInfo/ui/subEntities/table/Table.d.ts +32 -2
  27. package/dist/widgets/usefulInfo/ui/subEntities/table/model/utils.d.ts +2 -1
  28. package/dist/widgets/usefulInfo/ui/subEntities/table/ui/DesktopHeadings.d.ts +9 -4
  29. package/dist/widgets/usefulInfo/ui/subEntities/table/ui/DesktopRow.d.ts +9 -4
  30. package/dist/widgets/usefulInfo/ui/subEntities/table/ui/MobileRow.d.ts +13 -6
  31. package/dist/widgets/usefulInfo/ui/subEntities/table/ui/TableBody.d.ts +16 -6
  32. package/package.json +1 -1
  33. package/dist/uuid-DQgafI7K.js +0 -24
  34. package/dist/uuid-DQgafI7K.js.map +0 -1
package/dist/widget.js CHANGED
@@ -1,33 +1,48 @@
1
- var te = Object.defineProperty;
2
- var re = (o, t, i) => t in o ? te(o, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : o[t] = i;
3
- var I = (o, t, i) => re(o, typeof t != "symbol" ? t + "" : t, i);
4
- import { j as e, B as O, c, R as w, P as Z, b as oe, H as y, I as b, C as H, a as ne, L as ie, d as R, A as B, e as de, f as le, U as pe } from "./index-Bnb3sS3q.js";
1
+ var ae = Object.defineProperty;
2
+ var pe = (o, t, n) => t in o ? ae(o, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : o[t] = n;
3
+ var B = (o, t, n) => pe(o, typeof t != "symbol" ? t + "" : t, n);
4
+ import { j as e, B as U, c as k, R as y, l as Q, r as me, H as N, i as h, s as R, p as ue, L as fe, n as V, A as E, t as he, q as be, U as Y, m as W, k as je } from "./index-mSNqlGXI.js";
5
5
  import { c as l, T as j } from "./typeGuards-Bhdr9KYW.js";
6
- import * as E from "react";
7
- import { useCallback as xe, useState as _, useMemo as $, createElement as X, Fragment as ae, useEffect as q, useRef as me } from "react";
8
- import { s as ue, c as J, g as D } from "./uuid-DQgafI7K.js";
9
- import { i as K } from "./isClient-C9aZtt2Q.js";
10
- import { u as C, b as fe, a as he } from "./useDebounce-CK7Ghu8F.js";
11
- import { o as be } from "./utils-Cc0awqbk.js";
12
- import { z as Q, Z as je } from "./index-DskTH4KE.js";
13
- import { u as ce } from "./useFieldsProgress-BeFcsVuB.js";
14
- const ke = (o) => xe(() => {
6
+ import * as _ from "react";
7
+ import { useCallback as A, useState as v, useMemo as G, createElement as P, Fragment as ce, useEffect as s, useRef as $, useReducer as ke, memo as ee } from "react";
8
+ import { s as ge, c as F, g as Z, a as we } from "./uuid-2wKG15vy.js";
9
+ import { i as te } from "./isClient-C9aZtt2Q.js";
10
+ import { a as C, c as ye, b as Ne } from "./useDebounce-QgEEiWs9.js";
11
+ import { o as ve } from "./utils-Cc0awqbk.js";
12
+ import { z as re, Z as Ce } from "./index-DskTH4KE.js";
13
+ import { u as Te } from "./useFieldsProgress-BXzIWmGP.js";
14
+ import { createPortal as oe } from "react-dom";
15
+ const Ie = [
16
+ "header",
17
+ "footer",
18
+ "interLinking",
19
+ "stepper",
20
+ "usefulInfo",
21
+ "longBanner",
22
+ "banner",
23
+ "benefit",
24
+ "form",
25
+ "seoHeader"
26
+ ], b = Ie.reduce(
27
+ (o, t) => (o[t] = t, o),
28
+ {}
29
+ ), Ee = (o) => A(() => {
15
30
  switch (o.handler) {
16
31
  case "navigate": {
17
- const { url: i, target: n, rel: r } = o;
18
- K && (window == null || window.open(i, n, r));
32
+ const { url: n, target: i, rel: r } = o;
33
+ te && (window == null || window.open(n, i, r));
19
34
  break;
20
35
  }
21
36
  case "scroll": {
22
- const { widgetId: i } = o ?? "";
23
- ue({ widgetId: i });
37
+ const { widgetId: n } = o ?? "";
38
+ ge({ widgetId: n });
24
39
  break;
25
40
  }
26
41
  }
27
- }, [o]), v = ({ handlerOptions: o, ...t }) => {
28
- const i = ke(o);
29
- return /* @__PURE__ */ e.jsx(O, { onClick: i, ...t, children: t.children });
30
- }, ge = c(
42
+ }, [o]), I = ({ handlerOptions: o, ...t }) => {
43
+ const n = Ee(o);
44
+ return /* @__PURE__ */ e.jsx(U, { onClick: n, ...t, children: t.children });
45
+ }, Be = k(
31
46
  "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",
32
47
  {
33
48
  variants: {
@@ -38,23 +53,23 @@ const ke = (o) => xe(() => {
38
53
  }
39
54
  }
40
55
  }
41
- ), we = ({
56
+ ), Se = ({
42
57
  subtitle: o,
43
58
  title: t,
44
- img: i,
45
- mobileImg: n,
59
+ img: n,
60
+ mobileImg: i,
46
61
  classes: r,
47
62
  withButton: d,
48
- button: p,
49
- variant: x,
50
- color: a
63
+ button: x,
64
+ variant: a,
65
+ color: p
51
66
  }) => {
52
67
  const { isDesktop: m } = C();
53
68
  return /* @__PURE__ */ e.jsxs(
54
69
  "li",
55
70
  {
56
- style: { backgroundColor: a ?? "#f4f8fe" },
57
- className: l(ge({ variant: x }), { "pb-0": n }, { "pb-12": !n }, r == null ? void 0 : r.root),
71
+ style: { backgroundColor: p ?? "#f4f8fe" },
72
+ className: l(Be({ variant: a }), { "pb-0": i }, { "pb-12": !i }, r == null ? void 0 : r.root),
58
73
  children: [
59
74
  /* @__PURE__ */ e.jsxs("div", { className: l("flex flex-col items-start justify-between px-4 desktop:px-8 desktop:py-8", r == null ? void 0 : r.wrapper), children: [
60
75
  /* @__PURE__ */ e.jsxs("div", { className: l("flex flex-col gap-4", r == null ? void 0 : r.textContainer), children: [
@@ -67,14 +82,14 @@ const ke = (o) => xe(() => {
67
82
  }
68
83
  )
69
84
  ] }),
70
- d && m && (p == null ? void 0 : p.handlerOptions) && /* @__PURE__ */ e.jsx(v, { intent: "primary", className: l("desktop:w-[200px]", r == null ? void 0 : r.button), size: "lg", ...p })
85
+ d && m && (x == null ? void 0 : x.handlerOptions) && /* @__PURE__ */ e.jsx(I, { intent: "primary", className: l("desktop:w-[200px]", r == null ? void 0 : r.button), size: "lg", ...x })
71
86
  ] }),
72
- (n || m) && i && /* @__PURE__ */ e.jsx("div", { className: l("flex w-full justify-end", r == null ? void 0 : r.imgContainer), children: i && "url" in i && j.isObject(i) ? /* @__PURE__ */ e.jsx("img", { className: l("h-[246px] object-cover", r == null ? void 0 : r.img), src: i.url, alt: t }) : i })
87
+ (i || m) && n && /* @__PURE__ */ e.jsx("div", { className: l("flex w-full justify-end", r == null ? void 0 : r.imgContainer), children: n && "url" in n && j.isObject(n) ? /* @__PURE__ */ e.jsx("img", { className: l("h-[246px] object-cover", r == null ? void 0 : r.img), src: n.url, alt: t }) : n })
73
88
  ]
74
89
  },
75
90
  t
76
91
  );
77
- }, ye = c("grid gap-4", {
92
+ }, _e = k("grid gap-4", {
78
93
  variants: {
79
94
  variant: {
80
95
  twoCards: "grid-cols-1 mobile:grid-rows-[repeat(2,400px)] desktop:grid-cols-2",
@@ -82,32 +97,33 @@ const ke = (o) => xe(() => {
82
97
  fourCards: "grid-cols-1 mobile:grid-rows-[400px,1fr,1fr,400px] desktop:grid-cols-3"
83
98
  }
84
99
  }
85
- }), Ft = ({ headline: o, details: t, variant: i, classes: n }) => /* @__PURE__ */ e.jsx("section", { id: "benefit", className: l("pb-20", n == null ? void 0 : n.root), children: /* @__PURE__ */ e.jsxs(w, { className: n == null ? void 0 : n.container, children: [
100
+ }), ir = ({ headline: o, details: t, variant: n, classes: i }) => /* @__PURE__ */ e.jsx("section", { id: b.benefit, "data-test-id": b.benefit, className: l("pb-20", i == null ? void 0 : i.root), children: /* @__PURE__ */ e.jsxs(y, { className: i == null ? void 0 : i.container, children: [
86
101
  /* @__PURE__ */ e.jsx(
87
102
  "div",
88
103
  {
89
104
  dangerouslySetInnerHTML: { __html: o },
90
- className: l("mob-headline-bold-s mb-8 desktop:desk-headline-bold-m", n == null ? void 0 : n.heading)
105
+ className: l("mob-headline-bold-s mb-8 desktop:desk-headline-bold-m", i == null ? void 0 : i.heading)
91
106
  }
92
107
  ),
93
- /* @__PURE__ */ e.jsx("ul", { className: l(ye({ variant: i }), n == null ? void 0 : n.grid), children: t == null ? void 0 : t.map((r) => /* @__PURE__ */ e.jsx(we, { variant: i, classes: n == null ? void 0 : n.item, ...r }, r.title)) })
94
- ] }) }), Ne = ({ variant: o, details: t }) => {
108
+ /* @__PURE__ */ e.jsx("ul", { className: l(_e({ variant: n }), i == null ? void 0 : i.grid), children: t == null ? void 0 : t.map((r) => /* @__PURE__ */ e.jsx(Se, { variant: n, classes: i == null ? void 0 : i.item, ...r }, r.title)) })
109
+ ] }) }), Me = ({ variant: o, details: t }) => {
95
110
  switch (o) {
96
111
  case "withButton":
97
- return /* @__PURE__ */ e.jsx(v, { ...t });
112
+ return /* @__PURE__ */ e.jsx(I, { ...t });
98
113
  case "withPhone":
99
- return /* @__PURE__ */ e.jsx(Z, { classes: { root: "items-end" }, ...t, phone: J(t.phone) });
114
+ return /* @__PURE__ */ e.jsx(Q, { classes: { root: "items-end" }, ...t, phone: F(t.phone) });
100
115
  default:
101
116
  return null;
102
117
  }
103
- }, Lt = (o) => {
104
- const { logoPath: t = "/", logoType: i = "main", classes: n } = o;
118
+ }, dr = (o) => {
119
+ const { logoPath: t = "/", logoType: n = "main", classes: i } = o;
105
120
  return /* @__PURE__ */ e.jsx(
106
121
  "header",
107
122
  {
108
- id: "header",
109
- className: l("flex h-[64px] items-center justify-center bg-color-white desktop:h-[72px]", n == null ? void 0 : n.header),
110
- children: /* @__PURE__ */ e.jsx(w, { className: l(n == null ? void 0 : n.container), children: /* @__PURE__ */ e.jsxs("div", { className: l("flex items-center justify-between gap-5", n == null ? void 0 : n.wrapper), children: [
123
+ id: b.header,
124
+ "data-test-id": b.header,
125
+ className: l("flex h-[64px] items-center justify-center bg-color-white desktop:h-[72px]", i == null ? void 0 : i.header),
126
+ children: /* @__PURE__ */ e.jsx(y, { className: l(i == null ? void 0 : i.container), children: /* @__PURE__ */ e.jsxs("div", { className: l("flex items-center justify-between gap-5", i == null ? void 0 : i.wrapper), children: [
111
127
  /* @__PURE__ */ e.jsx(
112
128
  "a",
113
129
  {
@@ -117,46 +133,47 @@ const ke = (o) => xe(() => {
117
133
  rel: "noreferrer",
118
134
  className: l(
119
135
  "flex items-center justify-center [&_svg]:w-[132px] desktop:[&_svg]:h-[32px] desktop:[&_svg]:w-[192px]",
120
- n == null ? void 0 : n.logo
136
+ i == null ? void 0 : i.logo
121
137
  ),
122
- children: oe[i]
138
+ children: me[n]
123
139
  }
124
140
  ),
125
- Ne(o)
141
+ Me(o)
126
142
  ] }) })
127
143
  }
128
144
  );
129
- }, ve = ({
145
+ }, He = ({
130
146
  headTitle: o,
131
147
  subtitle: t,
132
- buttonsConfig: i,
133
- advantages: n,
148
+ buttonsConfig: n,
149
+ advantages: i,
134
150
  classes: r,
135
151
  imgMobile: d,
136
- imgDesktop: p,
137
- color: x
152
+ imgDesktop: x,
153
+ color: a
138
154
  }) => {
139
- var N;
140
- const { isDesktop: a, isMobile: m } = C(), { primary: u, secondary: f } = i || {}, h = d && "url" in d && j.isObject(d) ? /* @__PURE__ */ e.jsx("img", { className: "h-full w-full object-cover object-center", alt: "Картинка баннера", src: d.url }) : d, g = p && "url" in p && j.isObject(p) ? /* @__PURE__ */ e.jsx("img", { className: "h-full w-full object-cover object-center", alt: "Картинка баннера", src: p.url }) : p, k = /* @__PURE__ */ e.jsx(
155
+ var T;
156
+ const { isDesktop: p, isMobile: m } = C(), { primary: u, secondary: f } = n || {}, c = d && "url" in d && j.isObject(d) ? /* @__PURE__ */ e.jsx("img", { className: "h-full w-full object-cover object-center", alt: "Картинка баннера", src: d.url }) : d, w = x && "url" in x && j.isObject(x) ? /* @__PURE__ */ e.jsx("img", { className: "h-full w-full object-cover object-center", alt: "Картинка баннера", src: x.url }) : x, g = /* @__PURE__ */ e.jsx(
141
157
  "div",
142
158
  {
143
159
  className: l(
144
160
  "flex items-center justify-center pt-4 desktop:absolute desktop:bottom-[-50px] desktop:right-1/2 desktop:translate-x-1/2 desktop:pt-0",
145
161
  r == null ? void 0 : r.advantageContainer
146
162
  ),
147
- children: (n == null ? void 0 : n.details) && ((N = n == null ? void 0 : n.details) == null ? void 0 : N.items.length) > 0 && /* @__PURE__ */ e.jsx(Y, { ...n })
163
+ children: (i == null ? void 0 : i.details) && ((T = i == null ? void 0 : i.details) == null ? void 0 : T.items.length) > 0 && /* @__PURE__ */ e.jsx(ne, { ...i })
148
164
  }
149
165
  );
150
166
  return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
151
167
  /* @__PURE__ */ e.jsxs(
152
168
  "section",
153
169
  {
154
- style: { backgroundColor: x ?? "#d9edff" },
155
- "data-test-id": "banner",
170
+ id: b.banner,
171
+ "data-test-id": b.banner,
172
+ style: { backgroundColor: a ?? "#d9edff" },
156
173
  className: l("relative h-[552px] desktop:h-[456px]", r == null ? void 0 : r.root),
157
174
  children: [
158
- /* @__PURE__ */ e.jsx("div", { className: "absolute bottom-0 left-0 right-0 top-0 mx-auto h-full max-w-[1920px] desktop:h-[456px]", children: m ? h : g }),
159
- /* @__PURE__ */ e.jsxs(w, { className: l("h-full", r == null ? void 0 : r.container), children: [
175
+ /* @__PURE__ */ e.jsx("div", { className: "absolute bottom-0 left-0 right-0 top-0 mx-auto h-full max-w-[1920px] desktop:h-[456px]", children: m ? c : w }),
176
+ /* @__PURE__ */ e.jsxs(y, { className: l("h-full", r == null ? void 0 : r.container), children: [
160
177
  /* @__PURE__ */ e.jsx("div", { className: l("flex h-full", r == null ? void 0 : r.wrapper), children: /* @__PURE__ */ e.jsxs("div", { className: l("flex w-[328px] flex-col gap-10 pt-6 desktop:w-full desktop:pt-20", r == null ? void 0 : r.textBlock), children: [
161
178
  /* @__PURE__ */ e.jsxs("div", { className: "z-10 flex flex-col gap-4", children: [
162
179
  /* @__PURE__ */ e.jsx(
@@ -184,7 +201,7 @@ const ke = (o) => xe(() => {
184
201
  ),
185
202
  children: [
186
203
  u.enabled && /* @__PURE__ */ e.jsx(
187
- v,
204
+ I,
188
205
  {
189
206
  className: l("w-full desktop:max-w-[216px]", r == null ? void 0 : r.primary),
190
207
  size: "lg",
@@ -193,7 +210,7 @@ const ke = (o) => xe(() => {
193
210
  }
194
211
  ),
195
212
  (f == null ? void 0 : f.enabled) && /* @__PURE__ */ e.jsx(
196
- v,
213
+ I,
197
214
  {
198
215
  intent: "secondary",
199
216
  className: l("w-full desktop:max-w-[216px]", r == null ? void 0 : r.secondary),
@@ -204,42 +221,43 @@ const ke = (o) => xe(() => {
204
221
  }
205
222
  )
206
223
  ] }) }),
207
- a && (n == null ? void 0 : n.enabled) && k
224
+ p && (i == null ? void 0 : i.enabled) && g
208
225
  ] })
209
226
  ]
210
227
  }
211
228
  ),
212
- m && (n == null ? void 0 : n.enabled) && k
229
+ m && (i == null ? void 0 : i.enabled) && g
213
230
  ] });
214
- }, V = ({
231
+ }, X = ({
215
232
  headTitle: o,
216
233
  subtitle: t,
217
- buttonsConfig: i,
218
- advantages: n,
234
+ buttonsConfig: n,
235
+ advantages: i,
219
236
  classes: r,
220
237
  imgMobile: d,
221
- imgDesktop: p,
222
- color: x
238
+ imgDesktop: x,
239
+ color: a
223
240
  }) => {
224
- var N;
225
- const { isDesktop: a, isMobile: m } = C(), { primary: u, secondary: f } = i || {}, h = d && "url" in d && j.isObject(d) ? /* @__PURE__ */ e.jsx("img", { className: "w-full object-contain", alt: "Картинка баннера", src: d.url }) : d, g = p && "url" in p && j.isObject(p) ? /* @__PURE__ */ e.jsx("img", { className: "w-full object-contain", alt: "Картинка баннера", src: p.url }) : p, k = /* @__PURE__ */ e.jsx(
241
+ var T;
242
+ const { isDesktop: p, isMobile: m } = C(), { primary: u, secondary: f } = n || {}, c = d && "url" in d && j.isObject(d) ? /* @__PURE__ */ e.jsx("img", { className: "w-full object-contain", alt: "Картинка баннера", src: d.url }) : d, w = x && "url" in x && j.isObject(x) ? /* @__PURE__ */ e.jsx("img", { className: "w-full object-contain", alt: "Картинка баннера", src: x.url }) : x, g = /* @__PURE__ */ e.jsx(
226
243
  "div",
227
244
  {
228
245
  className: l(
229
246
  "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",
230
247
  r == null ? void 0 : r.advantageContainer
231
248
  ),
232
- children: (n == null ? void 0 : n.details) && ((N = n == null ? void 0 : n.details) == null ? void 0 : N.items.length) > 0 && /* @__PURE__ */ e.jsx(Y, { ...n })
249
+ children: (i == null ? void 0 : i.details) && ((T = i == null ? void 0 : i.details) == null ? void 0 : T.items.length) > 0 && /* @__PURE__ */ e.jsx(ne, { ...i })
233
250
  }
234
251
  );
235
252
  return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
236
253
  /* @__PURE__ */ e.jsx(
237
254
  "section",
238
255
  {
239
- style: { backgroundColor: x ?? "#d9edff" },
240
- "data-test-id": "banner",
256
+ id: b.banner,
257
+ "data-test-id": b.banner,
258
+ style: { backgroundColor: a ?? "#d9edff" },
241
259
  className: l("bg-banner-skyblue-300 desktop:h-[456px]", r == null ? void 0 : r.root),
242
- children: /* @__PURE__ */ e.jsxs(w, { className: l("relative", r == null ? void 0 : r.container), children: [
260
+ children: /* @__PURE__ */ e.jsxs(y, { className: l("relative", r == null ? void 0 : r.container), children: [
243
261
  /* @__PURE__ */ e.jsxs("div", { className: l("flex flex-col desktop:flex-row desktop:justify-between", r == null ? void 0 : r.wrapper), children: [
244
262
  /* @__PURE__ */ e.jsxs("div", { className: "flex flex-col desktop:gap-10 desktop:pt-20", children: [
245
263
  /* @__PURE__ */ e.jsxs("div", { className: l("flex flex-col gap-4 pt-6 desktop:pt-0", r == null ? void 0 : r.textBlock), children: [
@@ -268,7 +286,7 @@ const ke = (o) => xe(() => {
268
286
  ),
269
287
  children: [
270
288
  u.enabled && /* @__PURE__ */ e.jsx(
271
- v,
289
+ I,
272
290
  {
273
291
  className: l("w-full desktop:max-w-[216px]", r == null ? void 0 : r.primary),
274
292
  size: "lg",
@@ -277,7 +295,7 @@ const ke = (o) => xe(() => {
277
295
  }
278
296
  ),
279
297
  (f == null ? void 0 : f.enabled) && /* @__PURE__ */ e.jsx(
280
- v,
298
+ I,
281
299
  {
282
300
  intent: "secondary",
283
301
  className: l("w-full desktop:max-w-[216px]", r == null ? void 0 : r.secondary),
@@ -288,36 +306,36 @@ const ke = (o) => xe(() => {
288
306
  }
289
307
  )
290
308
  ] }),
291
- /* @__PURE__ */ e.jsx("div", { className: l("flex h-[356px] justify-center desktop:h-[456px] desktop:w-[550px]", r == null ? void 0 : r.imageContainer), children: m ? h : g })
309
+ /* @__PURE__ */ e.jsx("div", { className: l("flex h-[356px] justify-center desktop:h-[456px] desktop:w-[550px]", r == null ? void 0 : r.imageContainer), children: m ? c : w })
292
310
  ] }),
293
- a && (n == null ? void 0 : n.enabled) && k
311
+ p && (i == null ? void 0 : i.enabled) && g
294
312
  ] })
295
313
  }
296
314
  ),
297
- m && (n == null ? void 0 : n.enabled) && k
315
+ m && (i == null ? void 0 : i.enabled) && g
298
316
  ] });
299
- }, zt = ({ variant: o, ...t }) => {
317
+ }, lr = ({ variant: o, ...t }) => {
300
318
  switch (o) {
301
319
  case "separateImg":
302
- return /* @__PURE__ */ e.jsx(V, { ...t });
320
+ return /* @__PURE__ */ e.jsx(X, { ...t });
303
321
  case "fullImg":
304
- return /* @__PURE__ */ e.jsx(ve, { ...t });
322
+ return /* @__PURE__ */ e.jsx(He, { ...t });
305
323
  default:
306
- return /* @__PURE__ */ e.jsx(V, { ...t });
324
+ return /* @__PURE__ */ e.jsx(X, { ...t });
307
325
  }
308
- }, Y = ({ details: o, classes: t }) => {
309
- const { variant: i, items: n } = o ?? {};
326
+ }, ne = ({ details: o, classes: t }) => {
327
+ const { variant: n, items: i } = o ?? {};
310
328
  return /* @__PURE__ */ e.jsx(
311
329
  "div",
312
330
  {
313
331
  id: "advantages",
314
332
  className: l(
315
333
  "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",
316
- { "desktop:max-w-[860px]": i === "threeCards" },
317
- { "desktop:max-w-[1140px]": i === "fourCards" },
334
+ { "desktop:max-w-[860px]": n === "threeCards" },
335
+ { "desktop:max-w-[1140px]": n === "fourCards" },
318
336
  t == null ? void 0 : t.root
319
337
  ),
320
- children: n == null ? void 0 : n.map(({ title: r, description: d }) => /* @__PURE__ */ e.jsxs(
338
+ children: i == null ? void 0 : i.map(({ title: r, description: d }) => /* @__PURE__ */ e.jsxs(
321
339
  "div",
322
340
  {
323
341
  className: l(
@@ -325,7 +343,7 @@ const ke = (o) => xe(() => {
325
343
  t == null ? void 0 : t.item
326
344
  ),
327
345
  children: [
328
- /* @__PURE__ */ e.jsx(y, { as: "h4", className: l("text-color-dark", t == null ? void 0 : t.title), children: r }),
346
+ /* @__PURE__ */ e.jsx(N, { as: "h4", className: l("text-color-dark", t == null ? void 0 : t.title), children: r }),
329
347
  /* @__PURE__ */ e.jsx("p", { className: l("desk-body-regular-l text-color-secondary", t == null ? void 0 : t.description), children: d })
330
348
  ]
331
349
  },
@@ -333,28 +351,28 @@ const ke = (o) => xe(() => {
333
351
  ))
334
352
  }
335
353
  );
336
- }, Ce = ({ socialsLinks: o, classes: t }) => /* @__PURE__ */ e.jsx("div", { className: l("mt-4 flex items-center gap-2 desktop:mt-6", t == null ? void 0 : t.socialRoot), children: o == null ? void 0 : o.map(({ iconName: i, href: n }) => /* @__PURE__ */ e.jsx(
354
+ }, Le = ({ socialsLinks: o, classes: t }) => /* @__PURE__ */ e.jsx("div", { className: l("mt-4 flex items-center gap-2 desktop:mt-6", t == null ? void 0 : t.socialRoot), children: o == null ? void 0 : o.map(({ iconName: n, href: i }) => /* @__PURE__ */ e.jsx(
337
355
  "a",
338
356
  {
339
357
  className: l("flex size-8 items-center justify-center rounded-full bg-[#52576a] p-2", t == null ? void 0 : t.socialLink),
340
- href: n,
341
- "aria-label": i.replace("social/", ""),
342
- children: /* @__PURE__ */ e.jsx(b, { name: i, className: l("h-full w-full text-icon-white", t == null ? void 0 : t.socialIcon) })
358
+ href: i,
359
+ "aria-label": n.replace("social/", ""),
360
+ children: /* @__PURE__ */ e.jsx(h, { name: n, className: l("h-full w-full text-icon-white", t == null ? void 0 : t.socialIcon) })
343
361
  },
344
- n
345
- )) }), Ie = ({ phones: o, classes: t }) => /* @__PURE__ */ e.jsx("div", { className: l("flex flex-col gap-4 desktop:items-end", t == null ? void 0 : t.phonesRoot), children: o == null ? void 0 : o.map(({ phone: i, text: n }) => /* @__PURE__ */ e.jsx(
346
- Z,
362
+ i
363
+ )) }), Re = ({ phones: o, classes: t }) => /* @__PURE__ */ e.jsx("div", { className: l("flex flex-col gap-4 desktop:items-end", t == null ? void 0 : t.phonesRoot), children: o == null ? void 0 : o.map(({ phone: n, text: i }) => /* @__PURE__ */ e.jsx(
364
+ Q,
347
365
  {
348
- phone: J(i),
349
- text: n,
366
+ phone: F(n),
367
+ text: i,
350
368
  classes: {
351
369
  root: l(t == null ? void 0 : t.phoneWrapper),
352
370
  text: l("text-color-footer", t == null ? void 0 : t.phoneText),
353
371
  link: l("text-color-white mobile:m-0", t == null ? void 0 : t.phoneLink)
354
372
  }
355
373
  },
356
- i
357
- )) }), Te = ({ classes: o, details: t }) => /* @__PURE__ */ e.jsx(
374
+ n
375
+ )) }), Fe = ({ classes: o, details: t }) => /* @__PURE__ */ e.jsx(
358
376
  "div",
359
377
  {
360
378
  className: l(
@@ -362,41 +380,41 @@ const ke = (o) => xe(() => {
362
380
  o == null ? void 0 : o.navRoot
363
381
  ),
364
382
  children: t == null ? void 0 : t.map(
365
- ({ column: i }) => i == null ? void 0 : i.map(({ groupLabel: n, links: r }) => /* @__PURE__ */ e.jsxs("div", { className: l("flex flex-col gap-4", o == null ? void 0 : o.navGroup), children: [
366
- /* @__PURE__ */ e.jsx("div", { className: l("desk-body-medium-l text-color-white", o == null ? void 0 : o.navLabel), children: n }),
367
- /* @__PURE__ */ e.jsx("div", { className: l("flex flex-col gap-1", o == null ? void 0 : o.navLinks), children: r == null ? void 0 : r.map(({ path: d, label: p }) => /* @__PURE__ */ e.jsx(
368
- H,
383
+ ({ column: n }) => n == null ? void 0 : n.map(({ groupLabel: i, links: r }) => /* @__PURE__ */ e.jsxs("div", { className: l("flex flex-col gap-4", o == null ? void 0 : o.navGroup), children: [
384
+ /* @__PURE__ */ e.jsx("div", { className: l("desk-body-medium-l text-color-white", o == null ? void 0 : o.navLabel), children: i }),
385
+ /* @__PURE__ */ e.jsx("div", { className: l("flex flex-col gap-1", o == null ? void 0 : o.navLinks), children: r == null ? void 0 : r.map(({ path: d, label: x }) => /* @__PURE__ */ e.jsx(
386
+ R,
369
387
  {
370
388
  href: d,
371
- "aria-label": p,
389
+ "aria-label": x,
372
390
  intent: "white",
373
391
  classes: {
374
392
  link: o == null ? void 0 : o.navLink,
375
393
  icon: o == null ? void 0 : o.navLinkIcon
376
394
  },
377
- children: p
395
+ children: x
378
396
  },
379
- p
397
+ x
380
398
  )) })
381
- ] }, n))
399
+ ] }, i))
382
400
  )
383
401
  }
384
- ), Ee = ({ text: o, classes: t }) => /* @__PURE__ */ e.jsx(
402
+ ), ze = ({ text: o, classes: t }) => /* @__PURE__ */ e.jsx(
385
403
  "div",
386
404
  {
387
405
  className: l("desk-body-regular-m text-color-footer", t == null ? void 0 : t.copyRight),
388
406
  dangerouslySetInnerHTML: { __html: o }
389
407
  }
390
- ), Be = ({ classes: o }) => /* @__PURE__ */ e.jsx(
408
+ ), Oe = ({ classes: o }) => /* @__PURE__ */ e.jsx(
391
409
  "a",
392
410
  {
393
411
  "aria-label": "logo",
394
412
  href: "https://sovcombank.ru/",
395
413
  className: l("block h-[24px] w-[132px] desktop:h-[32px] desktop:w-[194px]", o == null ? void 0 : o.footerLogo),
396
- children: /* @__PURE__ */ e.jsx(b, { name: "brandLogos/logoWhite", className: l("size-full", o == null ? void 0 : o.footerLogoIcon) })
414
+ children: /* @__PURE__ */ e.jsx(h, { name: "brandLogos/logoWhite", className: l("size-full", o == null ? void 0 : o.footerLogoIcon) })
397
415
  }
398
- ), _e = ({ classes: o }) => /* @__PURE__ */ e.jsx(
399
- H,
416
+ ), De = ({ classes: o }) => /* @__PURE__ */ e.jsx(
417
+ R,
400
418
  {
401
419
  intent: "white",
402
420
  href: "https://sovcombank.ru/site-map",
@@ -409,17 +427,17 @@ const ke = (o) => xe(() => {
409
427
  },
410
428
  children: "Карта сайта"
411
429
  }
412
- ), Se = ({ text: o, classes: t }) => {
413
- const [i, n] = E.useState(!1), [r, d] = E.useState(!1), p = E.useRef(null);
414
- return E.useEffect(() => {
415
- const x = p.current;
416
- x && d(x.scrollHeight > x.clientHeight);
430
+ ), Ue = ({ text: o, classes: t }) => {
431
+ const [n, i] = _.useState(!1), [r, d] = _.useState(!1), x = _.useRef(null);
432
+ return _.useEffect(() => {
433
+ const a = x.current;
434
+ a && d(a.scrollHeight > a.clientHeight);
417
435
  }, []), /* @__PURE__ */ e.jsxs("div", { className: l("mt-8 flex flex-col gap-4", t == null ? void 0 : t.ligalRoot), children: [
418
436
  /* @__PURE__ */ e.jsx(
419
437
  "div",
420
438
  {
421
- ref: p,
422
- className: l("desk-body-regular-m text-color-footer", { "line-clamp-3": !i }, t == null ? void 0 : t.ligalText),
439
+ ref: x,
440
+ className: l("desk-body-regular-m text-color-footer", { "line-clamp-3": !n }, t == null ? void 0 : t.ligalText),
423
441
  dangerouslySetInnerHTML: { __html: o }
424
442
  }
425
443
  ),
@@ -428,7 +446,7 @@ const ke = (o) => xe(() => {
428
446
  {
429
447
  tabIndex: 0,
430
448
  role: "button",
431
- onClick: () => n((x) => !x),
449
+ onClick: () => i((a) => !a),
432
450
  className: l(
433
451
  "desk-body-regular-l w-max cursor-pointer font-medium text-color-footer transition-colors hover:text-color-white",
434
452
  t == null ? void 0 : t.ligalButton
@@ -437,48 +455,56 @@ const ke = (o) => xe(() => {
437
455
  }
438
456
  )
439
457
  ] });
440
- }, Ot = ({
458
+ }, xr = ({
441
459
  socialsLinks: o,
442
460
  phones: t,
443
- ligal: i,
444
- copyright: n,
461
+ ligal: n,
462
+ copyright: i,
445
463
  classes: r,
446
464
  details: d,
447
- siteMap: p = !0
448
- }) => /* @__PURE__ */ e.jsx("footer", { id: "footer", className: l("w-full bg-color-footer py-8 desktop:py-10", r == null ? void 0 : r.root), children: /* @__PURE__ */ e.jsx(w, { className: l(r == null ? void 0 : r.footerContainer), children: /* @__PURE__ */ e.jsxs("div", { className: l("mobile:pb-[176px]", r == null ? void 0 : r.footerWrapper), children: [
449
- /* @__PURE__ */ e.jsxs(
450
- "div",
451
- {
452
- className: l(
453
- "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",
454
- r == null ? void 0 : r.footerHead
455
- ),
456
- children: [
457
- /* @__PURE__ */ e.jsxs("div", { className: l(r == null ? void 0 : r.footerSocialBlock), children: [
458
- /* @__PURE__ */ e.jsx(Be, { classes: r == null ? void 0 : r.footerLogo }),
459
- o.enabled && /* @__PURE__ */ e.jsx(Ce, { socialsLinks: o.links, classes: r == null ? void 0 : r.socialLinks })
460
- ] }),
461
- t.enabled && /* @__PURE__ */ e.jsx(Ie, { phones: t.items, classes: r == null ? void 0 : r.phonesBlock })
462
- ]
463
- }
464
- ),
465
- !j.isArrayEmpty(d) && /* @__PURE__ */ e.jsx(Te, { details: d, classes: r == null ? void 0 : r.navLinks }),
466
- i.enabled && /* @__PURE__ */ e.jsx(Se, { text: i.text }),
467
- /* @__PURE__ */ e.jsxs(
468
- "div",
469
- {
470
- className: l(
471
- "mt-6 flex flex-col-reverse items-start justify-between gap-4 desktop:mt-8 desktop:flex-row desktop:gap-6",
472
- r == null ? void 0 : r.footerBottom
465
+ siteMap: x = !0
466
+ }) => /* @__PURE__ */ e.jsx(
467
+ "footer",
468
+ {
469
+ id: b.footer,
470
+ "data-test-id": b.footer,
471
+ className: l("w-full bg-color-footer py-8 desktop:py-10", r == null ? void 0 : r.root),
472
+ children: /* @__PURE__ */ e.jsx(y, { className: l(r == null ? void 0 : r.footerContainer), children: /* @__PURE__ */ e.jsxs("div", { className: l("mobile:pb-[176px]", r == null ? void 0 : r.footerWrapper), children: [
473
+ /* @__PURE__ */ e.jsxs(
474
+ "div",
475
+ {
476
+ className: l(
477
+ "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",
478
+ r == null ? void 0 : r.footerHead
479
+ ),
480
+ children: [
481
+ /* @__PURE__ */ e.jsxs("div", { className: l(r == null ? void 0 : r.footerSocialBlock), children: [
482
+ /* @__PURE__ */ e.jsx(Oe, { classes: r == null ? void 0 : r.footerLogo }),
483
+ o.enabled && /* @__PURE__ */ e.jsx(Le, { socialsLinks: o.links, classes: r == null ? void 0 : r.socialLinks })
484
+ ] }),
485
+ t.enabled && /* @__PURE__ */ e.jsx(Re, { phones: t.items, classes: r == null ? void 0 : r.phonesBlock })
486
+ ]
487
+ }
473
488
  ),
474
- children: [
475
- n.enabled && /* @__PURE__ */ e.jsx(Ee, { text: n.text, classes: r == null ? void 0 : r.copyright }),
476
- p && /* @__PURE__ */ e.jsx(_e, { classes: r == null ? void 0 : r.siteMap })
477
- ]
478
- }
479
- )
480
- ] }) }) }), Me = ({ classes: o, index: t, variant: i, title: n, description: r }) => {
481
- const d = i === "withTitleAndDescription" && n;
489
+ !j.isArrayEmpty(d) && /* @__PURE__ */ e.jsx(Fe, { details: d, classes: r == null ? void 0 : r.navLinks }),
490
+ n.enabled && /* @__PURE__ */ e.jsx(Ue, { text: n.text }),
491
+ /* @__PURE__ */ e.jsxs(
492
+ "div",
493
+ {
494
+ className: l(
495
+ "mt-6 flex flex-col-reverse items-start justify-between gap-4 desktop:mt-8 desktop:flex-row desktop:gap-6",
496
+ r == null ? void 0 : r.footerBottom
497
+ ),
498
+ children: [
499
+ i.enabled && /* @__PURE__ */ e.jsx(ze, { text: i.text, classes: r == null ? void 0 : r.copyright }),
500
+ x && /* @__PURE__ */ e.jsx(De, { classes: r == null ? void 0 : r.siteMap })
501
+ ]
502
+ }
503
+ )
504
+ ] }) })
505
+ }
506
+ ), Ve = ({ classes: o, index: t, variant: n, title: i, description: r }) => {
507
+ const d = n === "withTitleAndDescription" && i;
482
508
  return /* @__PURE__ */ e.jsxs(
483
509
  "div",
484
510
  {
@@ -498,7 +524,7 @@ const ke = (o) => xe(() => {
498
524
  }
499
525
  ),
500
526
  /* @__PURE__ */ e.jsxs("div", { className: l("flex flex-col gap-2"), children: [
501
- d && /* @__PURE__ */ e.jsx(y, { as: "h4", className: l("text-color-dark", o == null ? void 0 : o.title), children: n }),
527
+ d && /* @__PURE__ */ e.jsx(N, { as: "h4", className: l("text-color-dark", o == null ? void 0 : o.title), children: i }),
502
528
  /* @__PURE__ */ e.jsx(
503
529
  "div",
504
530
  {
@@ -510,19 +536,19 @@ const ke = (o) => xe(() => {
510
536
  ]
511
537
  }
512
538
  );
513
- }, Rt = ({ headline: o, details: t, variant: i, classes: n }) => /* @__PURE__ */ e.jsx("section", { id: "stepper", className: n == null ? void 0 : n.root, children: /* @__PURE__ */ e.jsx(w, { className: n == null ? void 0 : n.container, children: /* @__PURE__ */ e.jsxs("div", { className: l("flex flex-col gap-6 desktop:items-start desktop:gap-12", n == null ? void 0 : n.wrapper), children: [
514
- /* @__PURE__ */ e.jsx(y, { as: "h2", className: l("text-color-dark", n == null ? void 0 : n.headline), children: o }),
539
+ }, ar = ({ headline: o, details: t, variant: n, classes: i }) => /* @__PURE__ */ e.jsx("section", { id: b.stepper, "data-test-id": b.stepper, className: i == null ? void 0 : i.root, children: /* @__PURE__ */ e.jsx(y, { className: i == null ? void 0 : i.container, children: /* @__PURE__ */ e.jsxs("div", { className: l("flex flex-col gap-6 desktop:items-start desktop:gap-12", i == null ? void 0 : i.wrapper), children: [
540
+ /* @__PURE__ */ e.jsx(N, { as: "h2", className: l("text-color-dark", i == null ? void 0 : i.headline), children: o }),
515
541
  /* @__PURE__ */ e.jsx(
516
542
  "div",
517
543
  {
518
544
  className: l(
519
545
  "flex w-full flex-col items-start gap-6 desktop:flex-row desktop:items-start desktop:gap-12",
520
- n == null ? void 0 : n.stepsWrapper
546
+ i == null ? void 0 : i.stepsWrapper
521
547
  ),
522
- children: t == null ? void 0 : t.map((r, d) => /* @__PURE__ */ e.jsx(Me, { variant: i, ...r, index: d + 1, classes: n == null ? void 0 : n.step }, r.description))
548
+ children: t == null ? void 0 : t.map((r, d) => /* @__PURE__ */ e.jsx(Ve, { variant: n, ...r, index: d + 1, classes: i == null ? void 0 : i.step }, r.description))
523
549
  }
524
550
  )
525
- ] }) }) }), He = c("", {
551
+ ] }) }) }), We = k("", {
526
552
  variants: {
527
553
  intent: {
528
554
  twoItems: "mob-headline-bold-s mb-6 desktop:desk-headline-bold-m desktop:mb-12",
@@ -538,7 +564,7 @@ const ke = (o) => xe(() => {
538
564
  defaultVariants: {
539
565
  intent: "twoItems"
540
566
  }
541
- }), Fe = c("", {
567
+ }), Ge = k("", {
542
568
  variants: {
543
569
  intent: {
544
570
  twoItems: "",
@@ -570,7 +596,7 @@ const ke = (o) => xe(() => {
570
596
  class: "desktop:grid grid-rows-2 desktop:gap-x-10 desktop:gap-y-4 grid-flow-col"
571
597
  }
572
598
  ]
573
- }), Le = c("border-blue-grey-500 pb-6 mobile:mb-6 mobile:border-b mobile:last:pb-0 mobile:last:mb-0", {
599
+ }), $e = k("border-blue-grey-500 pb-6 mobile:mb-6 mobile:border-b mobile:last:pb-0 mobile:last:mb-0", {
574
600
  variants: {
575
601
  intent: {
576
602
  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',
@@ -580,7 +606,7 @@ const ke = (o) => xe(() => {
580
606
  defaultVariants: {
581
607
  intent: "twoItems"
582
608
  }
583
- }), ze = c("mobile:mx-auto mobile:mb-8, h-[172px] w-[280px] ", {
609
+ }), Ze = k("mobile:mx-auto mobile:mb-8, h-[172px] w-[280px] ", {
584
610
  variants: {
585
611
  intent: {
586
612
  twoItems: "desktop:h-[232px] desktop:w-[500px]",
@@ -606,32 +632,32 @@ const ke = (o) => xe(() => {
606
632
  class: "desktop:h-[272px] desktop:w-[500px]"
607
633
  }
608
634
  ]
609
- }), Oe = ({ data: o, intent: t }) => {
635
+ }), Xe = ({ data: o, intent: t }) => {
610
636
  const {
611
- title: i,
612
- description: n,
637
+ title: n,
638
+ description: i,
613
639
  popover: r = {
614
640
  enabled: !1
615
641
  }
616
642
  } = o;
617
- return /* @__PURE__ */ e.jsx("li", { className: l(Le({ intent: t })), children: /* @__PURE__ */ e.jsxs("div", { className: "desktop:max-w-[264px]", children: [
643
+ return /* @__PURE__ */ e.jsx("li", { className: l($e({ intent: t })), children: /* @__PURE__ */ e.jsxs("div", { className: "desktop:max-w-[264px]", children: [
618
644
  /* @__PURE__ */ e.jsxs("div", { className: l("mb-2 flex items-center gap-2"), children: [
619
- /* @__PURE__ */ e.jsx("h4", { className: l("mob-title-bold-m text-color-dark"), children: i }),
620
- r.enabled && /* @__PURE__ */ e.jsx(ne, { triggerElement: /* @__PURE__ */ e.jsx(b, { className: l("size-5 text-icon-blue-grey-600"), name: "info/helpCircle" }), children: r.text })
645
+ /* @__PURE__ */ e.jsx("h4", { className: l("mob-title-bold-m text-color-dark"), children: n }),
646
+ r.enabled && /* @__PURE__ */ e.jsx(ue, { triggerElement: /* @__PURE__ */ e.jsx(h, { className: l("size-5 text-icon-blue-grey-600"), name: "info/helpCircle" }), children: r.text })
621
647
  ] }),
622
- /* @__PURE__ */ e.jsx("div", { className: l("mob-body-regular-l text-color-secondary"), dangerouslySetInnerHTML: { __html: n } })
648
+ /* @__PURE__ */ e.jsx("div", { className: l("mob-body-regular-l text-color-secondary"), dangerouslySetInnerHTML: { __html: i } })
623
649
  ] }) });
624
- }, F = ({ intent: o, headline: t, desktopHidden: i = !1, mobileHidden: n = !1 }) => /* @__PURE__ */ e.jsx("h2", { className: l(He({ intent: o, desktopHidden: i, mobileHidden: n })), children: t }), Re = ({ details: o, intent: t, withButton: i }) => /* @__PURE__ */ e.jsx("ul", { className: l(Fe({ intent: t, withButton: i })), children: o == null ? void 0 : o.map((n, r) => /* @__PURE__ */ e.jsx(Oe, { intent: t, data: n }, r)) }), Dt = ({
650
+ }, z = ({ intent: o, headline: t, desktopHidden: n = !1, mobileHidden: i = !1 }) => /* @__PURE__ */ e.jsx("h2", { className: l(We({ intent: o, desktopHidden: n, mobileHidden: i })), children: t }), qe = ({ details: o, intent: t, withButton: n }) => /* @__PURE__ */ e.jsx("ul", { className: l(Ge({ intent: t, withButton: n })), children: o == null ? void 0 : o.map((i, r) => /* @__PURE__ */ e.jsx(Xe, { intent: t, data: i }, r)) }), pr = ({
625
651
  headline: o,
626
652
  buttonConfig: t,
627
- intent: i = "twoItems",
628
- details: n,
653
+ intent: n = "twoItems",
654
+ details: i,
629
655
  image: r,
630
656
  classes: d
631
657
  }) => {
632
- const p = i === "fourItems", x = i === "twoItems", a = r && "url" in r && j.isObject(r) ? /* @__PURE__ */ e.jsx("img", { className: "w-full object-contain", alt: "Картинка баннера", src: r.url }) : r;
633
- return /* @__PURE__ */ e.jsx("section", { id: "long-banner", className: l(d == null ? void 0 : d.root), children: /* @__PURE__ */ e.jsxs(w, { className: l(d == null ? void 0 : d.container), children: [
634
- x && /* @__PURE__ */ e.jsx(F, { intent: i, headline: o }),
658
+ const x = n === "fourItems", a = n === "twoItems", p = r && "url" in r && j.isObject(r) ? /* @__PURE__ */ e.jsx("img", { className: "w-full object-contain", alt: "Картинка баннера", src: r.url }) : r;
659
+ return /* @__PURE__ */ e.jsx("section", { id: b.longBanner, "data-test-id": b.longBanner, className: l(d == null ? void 0 : d.root), children: /* @__PURE__ */ e.jsxs(y, { className: l(d == null ? void 0 : d.container), children: [
660
+ a && /* @__PURE__ */ e.jsx(z, { intent: n, headline: o }),
635
661
  /* @__PURE__ */ e.jsxs(
636
662
  "div",
637
663
  {
@@ -640,17 +666,17 @@ const ke = (o) => xe(() => {
640
666
  d == null ? void 0 : d.contentContainer
641
667
  ),
642
668
  children: [
643
- p && /* @__PURE__ */ e.jsx(F, { intent: i, headline: o, desktopHidden: !0 }),
644
- /* @__PURE__ */ e.jsx("div", { className: l(ze({ intent: i, withButton: t == null ? void 0 : t.enabled }), d == null ? void 0 : d.imgContainer), children: a }),
669
+ x && /* @__PURE__ */ e.jsx(z, { intent: n, headline: o, desktopHidden: !0 }),
670
+ /* @__PURE__ */ e.jsx("div", { className: l(Ze({ intent: n, withButton: t == null ? void 0 : t.enabled }), d == null ? void 0 : d.imgContainer), children: p }),
645
671
  /* @__PURE__ */ e.jsxs(
646
672
  "div",
647
673
  {
648
674
  className: l("desktop:flex desktop:flex-col desktop:justify-center desktop:py-10", d == null ? void 0 : d.textWithBtnContainer),
649
675
  children: [
650
- p && /* @__PURE__ */ e.jsx(F, { intent: i, headline: o, mobileHidden: !0 }),
651
- /* @__PURE__ */ e.jsx(Re, { details: n, intent: i, withButton: (t == null ? void 0 : t.enabled) ?? !1 }),
676
+ x && /* @__PURE__ */ e.jsx(z, { intent: n, headline: o, mobileHidden: !0 }),
677
+ /* @__PURE__ */ e.jsx(qe, { details: i, intent: n, withButton: (t == null ? void 0 : t.enabled) ?? !1 }),
652
678
  (t == null ? void 0 : t.enabled) && t && /* @__PURE__ */ e.jsx(
653
- v,
679
+ I,
654
680
  {
655
681
  className: l("w-full px-4 desktop:w-max", d == null ? void 0 : d.button),
656
682
  size: "lg",
@@ -665,18 +691,18 @@ const ke = (o) => xe(() => {
665
691
  }
666
692
  )
667
693
  ] }) });
668
- }, L = {
694
+ }, O = {
669
695
  ESIA: "esia",
670
696
  MOBILE_ID: "mobileId",
671
697
  COMBINE: "combine"
672
- }, P = ({ children: o, isLoading: t, classes: i, loaderProps: n }) => /* @__PURE__ */ e.jsx(
698
+ }, ie = ({ children: o, isLoading: t, classes: n, loaderProps: i }) => /* @__PURE__ */ e.jsx(
673
699
  "div",
674
700
  {
675
701
  tabIndex: 0,
676
702
  className: l(
677
703
  "relative flex h-[90px] w-full max-w-[328px] items-center justify-center rounded-sm p-2 desktop:max-w-[524px]",
678
704
  "bg-color-white outline outline-1 outline-warm-grey-200 transition-colors focus-visible:outline-primary-focus",
679
- i == null ? void 0 : i.root
705
+ n == null ? void 0 : n.root
680
706
  ),
681
707
  children: /* @__PURE__ */ e.jsx(
682
708
  "div",
@@ -685,13 +711,13 @@ const ke = (o) => xe(() => {
685
711
  "flex h-[74px] flex-1 cursor-pointer rounded-sm px-2 py-3 transition-colors desktop:px-4 desktop:py-3",
686
712
  "bg-color-blue-grey-100 hover:bg-color-blue-grey-200 active:bg-color-blue-grey-300",
687
713
  { "items-center": t },
688
- i == null ? void 0 : i.wrapper
714
+ n == null ? void 0 : n.wrapper
689
715
  ),
690
- children: t ? /* @__PURE__ */ e.jsx(ie, { position: "static", classes: { wrapper: "size-8 m-auto" }, ...n }) : o
716
+ children: t ? /* @__PURE__ */ e.jsx(fe, { position: "static", classes: { wrapper: "size-8 m-auto" }, ...i }) : o
691
717
  }
692
718
  )
693
719
  }
694
- ), De = ({ ...o }) => /* @__PURE__ */ e.jsxs("svg", { width: "32", height: "32", viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...o, children: [
720
+ ), Je = ({ ...o }) => /* @__PURE__ */ e.jsxs("svg", { width: "32", height: "32", viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...o, children: [
695
721
  /* @__PURE__ */ e.jsx(
696
722
  "path",
697
723
  {
@@ -719,7 +745,7 @@ const ke = (o) => xe(() => {
719
745
  /* @__PURE__ */ e.jsx("stop", { offset: "0.6875", stopColor: "#EE2F53" }),
720
746
  /* @__PURE__ */ e.jsx("stop", { offset: "1", stopColor: "#EE2F53" })
721
747
  ] }) })
722
- ] }), A = ({ mainLink: o, subLink: t, isMobile: i, classes: n }) => /* @__PURE__ */ e.jsxs("div", { className: l("flex flex-col", n == null ? void 0 : n.linksWrapper), children: [
748
+ ] }), de = ({ mainLink: o, subLink: t, isMobile: n, classes: i }) => /* @__PURE__ */ e.jsxs("div", { className: l("flex flex-col", i == null ? void 0 : i.linksWrapper), children: [
723
749
  /* @__PURE__ */ e.jsx(
724
750
  "a",
725
751
  {
@@ -728,13 +754,13 @@ const ke = (o) => xe(() => {
728
754
  rel: "noreferrer",
729
755
  className: l(
730
756
  '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',
731
- n == null ? void 0 : n.linksMainLink
757
+ i == null ? void 0 : i.linksMainLink
732
758
  ),
733
- children: i ? o.mobileTitle : o.title
759
+ children: n ? o.mobileTitle : o.title
734
760
  }
735
761
  ),
736
762
  (t == null ? void 0 : t.text) && (t == null ? void 0 : t.href) && /* @__PURE__ */ e.jsx(
737
- H,
763
+ R,
738
764
  {
739
765
  intent: "blue",
740
766
  withUnderline: !0,
@@ -742,64 +768,64 @@ const ke = (o) => xe(() => {
742
768
  target: "_blank",
743
769
  rel: "noreferrer",
744
770
  classes: {
745
- link: l("w-max relative z-[6] p-0 desk-body-regular-m text-color-tetriary", n == null ? void 0 : n.linksSubLink)
771
+ link: l("w-max relative z-[6] p-0 desk-body-regular-m text-color-tetriary", i == null ? void 0 : i.linksSubLink)
746
772
  },
747
773
  children: t == null ? void 0 : t.text
748
774
  }
749
775
  )
750
- ] }), U = ({ mainLink: o, subLink: t, isLoading: i, badge: n, loaderProps: r, classes: d }) => {
751
- const { isMobile: p } = C();
752
- return /* @__PURE__ */ e.jsx(P, { isLoading: i, loaderProps: r, classes: d == null ? void 0 : d.authWrapper, children: /* @__PURE__ */ e.jsxs(
776
+ ] }), q = ({ mainLink: o, subLink: t, isLoading: n, badge: i, loaderProps: r, classes: d }) => {
777
+ const { isMobile: x } = C();
778
+ return /* @__PURE__ */ e.jsx(ie, { isLoading: n, loaderProps: r, classes: d == null ? void 0 : d.authWrapper, children: /* @__PURE__ */ e.jsxs(
753
779
  "div",
754
780
  {
755
781
  className: l(
756
782
  "flex flex-1 items-center justify-between gap-1",
757
- { "justify-center": !n && p },
783
+ { "justify-center": !i && x },
758
784
  d == null ? void 0 : d.innerWrapper
759
785
  ),
760
786
  children: [
761
787
  /* @__PURE__ */ e.jsxs("div", { className: l("flex items-center gap-1 desktop:gap-4", d == null ? void 0 : d.textContent), children: [
762
788
  /* @__PURE__ */ e.jsxs("div", { children: [
763
- /* @__PURE__ */ e.jsx(b, { name: "logos/mts", className: l("relative z-[9] size-7 desktop:size-8", d == null ? void 0 : d.mtsLogo) }),
764
- /* @__PURE__ */ e.jsx(b, { name: "logos/megafon", className: l("relative z-[8] -ml-4 size-7 desktop:size-8", d == null ? void 0 : d.megafonLogo) }),
765
- /* @__PURE__ */ e.jsx(b, { name: "logos/beeline", className: l("relative z-[7] -ml-4 size-7 desktop:size-8", d == null ? void 0 : d.beelineLogo) })
789
+ /* @__PURE__ */ e.jsx(h, { name: "logos/mts", className: l("relative z-[9] size-7 desktop:size-8", d == null ? void 0 : d.mtsLogo) }),
790
+ /* @__PURE__ */ e.jsx(h, { name: "logos/megafon", className: l("relative z-[8] -ml-4 size-7 desktop:size-8", d == null ? void 0 : d.megafonLogo) }),
791
+ /* @__PURE__ */ e.jsx(h, { name: "logos/beeline", className: l("relative z-[7] -ml-4 size-7 desktop:size-8", d == null ? void 0 : d.beelineLogo) })
766
792
  ] }),
767
- /* @__PURE__ */ e.jsx(A, { mainLink: o, subLink: t, isMobile: p, classes: d == null ? void 0 : d.links }),
768
- /* @__PURE__ */ e.jsx(b, { name: "arrows/arrowRight", className: l("mobile:hidden", d == null ? void 0 : d.arrowIcon) })
793
+ /* @__PURE__ */ e.jsx(de, { mainLink: o, subLink: t, isMobile: x, classes: d == null ? void 0 : d.links }),
794
+ /* @__PURE__ */ e.jsx(h, { name: "arrows/arrowRight", className: l("mobile:hidden", d == null ? void 0 : d.arrowIcon) })
769
795
  ] }),
770
- n && /* @__PURE__ */ e.jsx(R, { className: l("bg-color-positive", d == null ? void 0 : d.badge), children: n })
796
+ i && /* @__PURE__ */ e.jsx(V, { className: l("bg-color-positive", d == null ? void 0 : d.badge), children: i })
771
797
  ]
772
798
  }
773
799
  ) });
774
- }, W = ({ mainLink: o, subLink: t, isLoading: i, badge: n, loaderProps: r, classes: d }) => {
775
- const { isMobile: p } = C();
776
- return /* @__PURE__ */ e.jsx(P, { isLoading: i, loaderProps: r, classes: d == null ? void 0 : d.authWrapper, children: /* @__PURE__ */ e.jsxs(
800
+ }, J = ({ mainLink: o, subLink: t, isLoading: n, badge: i, loaderProps: r, classes: d }) => {
801
+ const { isMobile: x } = C();
802
+ return /* @__PURE__ */ e.jsx(ie, { isLoading: n, loaderProps: r, classes: d == null ? void 0 : d.authWrapper, children: /* @__PURE__ */ e.jsxs(
777
803
  "div",
778
804
  {
779
805
  className: l(
780
806
  "flex flex-1 items-center justify-between gap-1",
781
- { "justify-center": !n && p },
807
+ { "justify-center": !i && x },
782
808
  d == null ? void 0 : d.innerWrapper
783
809
  ),
784
810
  children: [
785
811
  /* @__PURE__ */ e.jsxs("div", { className: l("flex items-center gap-1 desktop:gap-4", d == null ? void 0 : d.textContent), children: [
786
- /* @__PURE__ */ e.jsx(De, { className: l("size-7 desktop:size-8", d == null ? void 0 : d.esiaLogo) }),
787
- /* @__PURE__ */ e.jsx(A, { mainLink: o, subLink: t, isMobile: p, classes: d == null ? void 0 : d.links }),
788
- /* @__PURE__ */ e.jsx(b, { name: "arrows/arrowRight", className: l("mobile:hidden", d == null ? void 0 : d.arrowIcon) })
812
+ /* @__PURE__ */ e.jsx(Je, { className: l("size-7 desktop:size-8", d == null ? void 0 : d.esiaLogo) }),
813
+ /* @__PURE__ */ e.jsx(de, { mainLink: o, subLink: t, isMobile: x, classes: d == null ? void 0 : d.links }),
814
+ /* @__PURE__ */ e.jsx(h, { name: "arrows/arrowRight", className: l("mobile:hidden", d == null ? void 0 : d.arrowIcon) })
789
815
  ] }),
790
- n && /* @__PURE__ */ e.jsx(R, { className: l("bg-color-positive", d == null ? void 0 : d.badge), children: n })
816
+ i && /* @__PURE__ */ e.jsx(V, { className: l("bg-color-positive", d == null ? void 0 : d.badge), children: i })
791
817
  ]
792
818
  }
793
819
  ) });
794
- }, Ve = (o) => {
820
+ }, Ke = (o) => {
795
821
  switch (o.mode) {
796
- case L.ESIA:
797
- return /* @__PURE__ */ e.jsx(W, { ...o });
798
- case L.MOBILE_ID:
799
- return /* @__PURE__ */ e.jsx(U, { ...o });
800
- case L.COMBINE:
822
+ case O.ESIA:
823
+ return /* @__PURE__ */ e.jsx(J, { ...o });
824
+ case O.MOBILE_ID:
825
+ return /* @__PURE__ */ e.jsx(q, { ...o });
826
+ case O.COMBINE:
801
827
  default:
802
- const { esiaConfig: t, mobileIdConfig: i, subtitle: n, badge: r, classes: d } = o, p = !n && !r ? E.Fragment : "div";
828
+ const { esiaConfig: t, mobileIdConfig: n, subtitle: i, badge: r, classes: d } = o, x = !i && !r ? _.Fragment : "div";
803
829
  return /* @__PURE__ */ e.jsxs(
804
830
  "div",
805
831
  {
@@ -808,13 +834,13 @@ const ke = (o) => xe(() => {
808
834
  d == null ? void 0 : d.root
809
835
  ),
810
836
  children: [
811
- /* @__PURE__ */ e.jsxs(p, { className: l("flex w-full items-center justify-between gap-2", d == null ? void 0 : d.topContent), children: [
812
- n && /* @__PURE__ */ e.jsx("h5", { className: l("desk-body-regular-l flex flex-1 text-color-dark", d == null ? void 0 : d.subtitle), children: n }),
813
- r && /* @__PURE__ */ e.jsx(R, { className: l("bg-color-positive", d == null ? void 0 : d.badge), children: r })
837
+ /* @__PURE__ */ e.jsxs(x, { className: l("flex w-full items-center justify-between gap-2", d == null ? void 0 : d.topContent), children: [
838
+ i && /* @__PURE__ */ e.jsx("h5", { className: l("desk-body-regular-l flex flex-1 text-color-dark", d == null ? void 0 : d.subtitle), children: i }),
839
+ r && /* @__PURE__ */ e.jsx(V, { className: l("bg-color-positive", d == null ? void 0 : d.badge), children: r })
814
840
  ] }),
815
841
  /* @__PURE__ */ e.jsxs("div", { className: l("grid w-full grid-cols-2 gap-2 desktop:gap-4", d == null ? void 0 : d.authWrapper), children: [
816
842
  /* @__PURE__ */ e.jsx(
817
- W,
843
+ J,
818
844
  {
819
845
  ...t,
820
846
  classes: {
@@ -825,13 +851,13 @@ const ke = (o) => xe(() => {
825
851
  }
826
852
  ),
827
853
  /* @__PURE__ */ e.jsx(
828
- U,
854
+ q,
829
855
  {
830
- ...i,
856
+ ...n,
831
857
  classes: {
832
858
  root: "p-0 outline-0 h-[74px]",
833
859
  arrowIcon: "hidden",
834
- ...i.classes
860
+ ...n.classes
835
861
  }
836
862
  }
837
863
  )
@@ -840,45 +866,45 @@ const ke = (o) => xe(() => {
840
866
  }
841
867
  );
842
868
  }
843
- }, Vt = (o) => Ve(o), G = ({ links: o, classes: t }) => /* @__PURE__ */ e.jsx("nav", { className: l("flex flex-col gap-1", t == null ? void 0 : t.linksWrapper), children: o == null ? void 0 : o.map(({ path: i, label: n }) => /* @__PURE__ */ e.jsx(
844
- H,
869
+ }, mr = (o) => Ke(o), K = ({ links: o, classes: t }) => /* @__PURE__ */ e.jsx("nav", { className: l("flex flex-col gap-1", t == null ? void 0 : t.linksWrapper), children: o == null ? void 0 : o.map(({ path: n, label: i }) => /* @__PURE__ */ e.jsx(
870
+ R,
845
871
  {
846
872
  classes: {
847
873
  link: l("w-max", t == null ? void 0 : t.linkText),
848
874
  icon: l(t == null ? void 0 : t.linkIcon)
849
875
  },
850
876
  intent: "dark",
851
- href: i,
852
- children: n
877
+ href: n,
878
+ children: i
853
879
  },
854
- i
855
- )) }), Ue = ({ groupLabel: o, links: t, mobileAccordionProps: i, classes: n }) => {
856
- var d, p, x;
880
+ n
881
+ )) }), Qe = ({ groupLabel: o, links: t, mobileAccordionProps: n, classes: i }) => {
882
+ var d, x, a;
857
883
  const { isMobile: r } = C();
858
- return /* @__PURE__ */ e.jsxs("div", { className: l("flex flex-col gap-2", n == null ? void 0 : n.columnGroup), children: [
884
+ return /* @__PURE__ */ e.jsxs("div", { className: l("flex flex-col gap-2", i == null ? void 0 : i.columnGroup), children: [
859
885
  !r && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
860
- /* @__PURE__ */ e.jsx("h5", { className: l("mob-body-medium-l text-color-dark desktop:desk-body-medium-l", n == null ? void 0 : n.columnGroupHeading), children: o }),
861
- /* @__PURE__ */ e.jsx(G, { links: t, classes: n == null ? void 0 : n.linksList }, "desktop")
886
+ /* @__PURE__ */ e.jsx("h5", { className: l("mob-body-medium-l text-color-dark desktop:desk-body-medium-l", i == null ? void 0 : i.columnGroupHeading), children: o }),
887
+ /* @__PURE__ */ e.jsx(K, { links: t, classes: i == null ? void 0 : i.linksList }, "desktop")
862
888
  ] }),
863
889
  r && /* @__PURE__ */ e.jsx(
864
- B,
890
+ E,
865
891
  {
866
892
  defaultOpen: !0,
867
893
  label: o,
868
- icon: /* @__PURE__ */ e.jsx(b, { name: "arrows/arrowRight", className: l("rotate-90 transition-transform group-data-[state=open]:-rotate-90") }),
869
- ...i,
894
+ icon: /* @__PURE__ */ e.jsx(h, { name: "arrows/arrowRight", className: l("rotate-90 transition-transform group-data-[state=open]:-rotate-90") }),
895
+ ...n,
870
896
  classes: {
871
- ...i == null ? void 0 : i.classes,
897
+ ...n == null ? void 0 : n.classes,
872
898
  header: {
873
- trigger: l("p-0 bg-color-blue-grey-100", (p = (d = i == null ? void 0 : i.classes) == null ? void 0 : d.header) == null ? void 0 : p.trigger)
899
+ trigger: l("p-0 bg-color-blue-grey-100", (x = (d = n == null ? void 0 : n.classes) == null ? void 0 : d.header) == null ? void 0 : x.trigger)
874
900
  },
875
- contentInner: l("py-2 px-4", (x = i == null ? void 0 : i.classes) == null ? void 0 : x.contentInner)
901
+ contentInner: l("py-2 px-4", (a = n == null ? void 0 : n.classes) == null ? void 0 : a.contentInner)
876
902
  },
877
- children: /* @__PURE__ */ e.jsx(G, { links: t, classes: n == null ? void 0 : n.linksList }, "mobile")
903
+ children: /* @__PURE__ */ e.jsx(K, { links: t, classes: i == null ? void 0 : i.linksList }, "mobile")
878
904
  }
879
905
  )
880
906
  ] });
881
- }, We = ({ column: o, mobileAccordionProps: t, classes: i }) => /* @__PURE__ */ e.jsx("div", { className: l("flex flex-col gap-4 desktop:gap-6", i == null ? void 0 : i.column), children: o == null ? void 0 : o.map((n) => /* @__PURE__ */ e.jsx(Ue, { ...t, ...n, classes: i == null ? void 0 : i.columnGroup }, n.groupLabel)) }), Ge = c("grid gap-4 grid-cols-1", {
907
+ }, Ye = ({ column: o, mobileAccordionProps: t, classes: n }) => /* @__PURE__ */ e.jsx("div", { className: l("flex flex-col gap-4 desktop:gap-6", n == null ? void 0 : n.column), children: o == null ? void 0 : o.map((i) => /* @__PURE__ */ e.jsx(Qe, { ...t, ...i, classes: n == null ? void 0 : n.columnGroup }, i.groupLabel)) }), Ae = k("grid gap-4 grid-cols-1", {
882
908
  variants: {
883
909
  variant: {
884
910
  twoCols: "desktop:grid-cols-2",
@@ -889,72 +915,81 @@ const ke = (o) => xe(() => {
889
915
  defaultVariants: {
890
916
  variant: "fourCols"
891
917
  }
892
- }), Ut = ({
918
+ }), ur = ({
893
919
  variant: o,
894
920
  details: t,
895
- headline: i,
896
- mobileAccordionProps: n,
921
+ headline: n,
922
+ mobileAccordionProps: i,
897
923
  rootAccordionProps: r,
898
924
  classes: d
899
925
  }) => {
900
- var p, x, a;
901
- return /* @__PURE__ */ e.jsx("section", { id: "inter-linking", className: l("min-w-full desktop:min-w-[1140px]", d == null ? void 0 : d.root), children: /* @__PURE__ */ e.jsx(w, { children: /* @__PURE__ */ e.jsx(
902
- B,
926
+ var x, a, p;
927
+ return /* @__PURE__ */ e.jsx(
928
+ "section",
903
929
  {
904
- defaultOpen: !0,
905
- label: /* @__PURE__ */ e.jsx(y, { as: "h4", className: l("text-left", d == null ? void 0 : d.headline), children: i }),
906
- ...r,
907
- classes: {
908
- ...r == null ? void 0 : r.classes,
909
- header: {
910
- trigger: l("bg-color-blue-grey-100", (x = (p = r == null ? void 0 : r.classes) == null ? void 0 : p.header) == null ? void 0 : x.trigger)
911
- },
912
- content: l("max-w-full bg-color-blue-grey-100 relative", (a = r == null ? void 0 : r.classes) == null ? void 0 : a.content)
913
- },
914
- children: /* @__PURE__ */ e.jsx("div", { className: l(Ge({ variant: o }), d == null ? void 0 : d.columnsWrapper), children: t == null ? void 0 : t.map((m, u) => /* @__PURE__ */ e.jsx(We, { ...m, ...n, classes: d == null ? void 0 : d.column }, u)) })
930
+ id: b.interLinking,
931
+ "data-test-id": b.interLinking,
932
+ className: l("min-w-full desktop:min-w-[1140px]", d == null ? void 0 : d.root),
933
+ children: /* @__PURE__ */ e.jsx(y, { children: /* @__PURE__ */ e.jsx(
934
+ E,
935
+ {
936
+ defaultOpen: !0,
937
+ label: /* @__PURE__ */ e.jsx(N, { as: "h4", className: l("text-left", d == null ? void 0 : d.headline), children: n }),
938
+ ...r,
939
+ classes: {
940
+ ...r == null ? void 0 : r.classes,
941
+ header: {
942
+ trigger: l("bg-color-blue-grey-100", (a = (x = r == null ? void 0 : r.classes) == null ? void 0 : x.header) == null ? void 0 : a.trigger)
943
+ },
944
+ content: l("max-w-full bg-color-blue-grey-100 relative", (p = r == null ? void 0 : r.classes) == null ? void 0 : p.content)
945
+ },
946
+ children: /* @__PURE__ */ e.jsx("div", { className: l(Ae({ variant: o }), d == null ? void 0 : d.columnsWrapper), children: t == null ? void 0 : t.map((m, u) => /* @__PURE__ */ e.jsx(Ye, { ...m, ...i, classes: d == null ? void 0 : d.column }, u)) })
947
+ }
948
+ ) })
915
949
  }
916
- ) }) });
917
- }, Ze = ({ tabsNames: o, activeTab: t, setActiveTab: i }) => /* @__PURE__ */ e.jsx("div", { className: "hidden-scroll flex items-center gap-4 overflow-x-auto p-[6px]", children: o && o.map((n, r) => /* @__PURE__ */ e.jsx(
950
+ );
951
+ }, Pe = ({ tabsNames: o, activeTab: t, setActiveTab: n, classes: i }) => /* @__PURE__ */ e.jsx("div", { className: l("hidden-scroll flex items-center gap-4 overflow-x-auto p-[6px]", i == null ? void 0 : i.tabs), children: o && o.map((r, d) => /* @__PURE__ */ e.jsx(
918
952
  "button",
919
953
  {
920
- onClick: () => i(r),
954
+ onClick: () => n(d),
921
955
  className: l(
922
956
  "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",
923
957
  {
924
- "bg-icon-primary-default text-color-white": t === r
925
- }
958
+ "bg-icon-primary-default text-color-white": t === d
959
+ },
960
+ i == null ? void 0 : i.button
926
961
  ),
927
- children: n
962
+ children: r
928
963
  },
929
- n
930
- )) }), $e = (o) => o.variant === "HTML", Xe = (o) => o.variant === "DOCUMENTS", qe = (o) => o.variant === "TABLE", Je = ({ html: o, config: t }) => {
931
- const i = /* @__PURE__ */ e.jsx("div", { dangerouslySetInnerHTML: { __html: o ?? "" } });
932
- return /* @__PURE__ */ e.jsx(e.Fragment, { children: t && (t != null && t.isAccordion) && (t != null && t.accordionTitle) ? /* @__PURE__ */ e.jsx(B, { label: t == null ? void 0 : t.accordionTitle, children: i }) : i });
933
- }, Ke = (o, t) => ({
934
- rows: o == null ? void 0 : o.map(({ row: i }) => ({
935
- row: i == null ? void 0 : i.map((n, r) => {
964
+ r
965
+ )) }), se = (o) => o.variant === "HTML", et = (o) => o.variant === "DOCUMENTS", tt = (o) => o.variant === "TABLE", rt = ({ html: o, config: t, classes: n, accordionConfig: i }) => {
966
+ const r = /* @__PURE__ */ e.jsx("div", { className: l(n == null ? void 0 : n.html), dangerouslySetInnerHTML: { __html: o ?? "" } });
967
+ return /* @__PURE__ */ e.jsx(e.Fragment, { children: t && (t != null && t.isAccordion) && (t != null && t.accordionTitle) ? /* @__PURE__ */ e.jsx(E, { label: t == null ? void 0 : t.accordionTitle, ...i, children: (i == null ? void 0 : i.children) ?? r }) : r });
968
+ }, ot = (o, t) => ({
969
+ rows: o == null ? void 0 : o.map(({ row: n }) => ({
970
+ row: n == null ? void 0 : n.map((i, r) => {
936
971
  var d;
937
972
  return {
938
- ...n,
973
+ ...i,
939
974
  heading: t && ((d = t[r]) == null ? void 0 : d.heading)
940
975
  };
941
976
  })
942
977
  }))
943
- }), Qe = c("flex flex-col", {
978
+ }), nt = k("flex flex-col", {
944
979
  variants: {
945
980
  columnsVariant: {
946
981
  twoCols: "w-full max-w-[656px]",
947
982
  threeCols: "w-full max-w-[768px]"
948
983
  }
949
984
  }
950
- }), Ye = c("grid px-4 mb-4", {
985
+ }), it = k("grid px-4 mb-4", {
951
986
  variants: {
952
987
  columnsVariant: {
953
988
  twoCols: "grid-cols-2 gap-16",
954
989
  threeCols: "grid-cols-3 gap-12"
955
990
  }
956
991
  }
957
- }), Pe = ({ headings: o, columnsVariant: t }) => /* @__PURE__ */ e.jsx("div", { className: l(Ye({ columnsVariant: t })), children: o == null ? void 0 : o.map((i) => /* @__PURE__ */ e.jsx("div", { className: "text-color-secondary", children: i == null ? void 0 : i.heading }, i == null ? void 0 : i.heading)) }), Ae = c("grid items-center", {
992
+ }), dt = ({ headings: o, columnsVariant: t, classes: n }) => /* @__PURE__ */ e.jsx("div", { className: l(it({ columnsVariant: t }), n == null ? void 0 : n.row), children: o == null ? void 0 : o.map((i) => /* @__PURE__ */ e.jsx("div", { className: l("text-color-secondary", n == null ? void 0 : n.cell), children: i == null ? void 0 : i.heading }, i == null ? void 0 : i.heading)) }), lt = k("grid items-center", {
958
993
  variants: {
959
994
  columnsVariant: {
960
995
  twoCols: "grid-cols-2 gap-16",
@@ -965,51 +1000,89 @@ const ke = (o) => xe(() => {
965
1000
  separator: "px-4 py-4 border-t border-solid border-warm-grey-200"
966
1001
  }
967
1002
  }
968
- }), se = ({ row: o, tableVariant: t, columnsVariant: i, rowIndex: n }) => /* @__PURE__ */ e.jsx("div", { className: l(Ae({ columnsVariant: i, tableVariant: t }), { "border-none": n === 0 }), children: o == null ? void 0 : o.map(({ cell: r }, d) => /* @__PURE__ */ e.jsx("div", { className: l("desk-body-regular-l text-color-dark", { "font-medium": d !== 0 }), children: r && r }, d)) }), et = c("flex flex-col gap-2", {
1003
+ }), xt = ({ row: o, tableVariant: t, columnsVariant: n, rowIndex: i, classes: r }) => /* @__PURE__ */ e.jsx("div", { className: l(lt({ columnsVariant: n, tableVariant: t }), { "border-none": i === 0 }, r == null ? void 0 : r.row), children: o == null ? void 0 : o.map(({ cell: d }, x) => /* @__PURE__ */ e.jsx(
1004
+ "div",
1005
+ {
1006
+ className: l("desk-body-regular-l text-color-dark", { "font-medium": x !== 0 }, r == null ? void 0 : r.cell),
1007
+ children: d && d
1008
+ },
1009
+ x
1010
+ )) }), at = k("flex flex-col gap-2", {
969
1011
  variants: {
970
1012
  tableVariant: {
971
1013
  filled: "px-4 py-4 odd:bg-color-primary-light-default",
972
1014
  separator: "py-4 border-t border-solid border-warm-grey-200 first:border-none"
973
1015
  }
974
1016
  }
975
- }), tt = ({ row: o, tableVariant: t, columnsVariant: i, headingsExist: n }) => /* @__PURE__ */ e.jsx("div", { className: l(et({ tableVariant: t })), children: o == null ? void 0 : o.map(({ cell: r, heading: d }, p) => /* @__PURE__ */ e.jsxs("div", { className: l("grid grid-cols-2 gap-3", { "grid-cols-1 gap-0": !n }), children: [
976
- d && /* @__PURE__ */ e.jsx("div", { className: "mob-body-regular-l text-color-secondary", children: d }),
1017
+ }), pt = ({ row: o, tableVariant: t, columnsVariant: n, headingsExist: i, classes: r }) => /* @__PURE__ */ e.jsx("div", { className: l(at({ tableVariant: t }), r == null ? void 0 : r.row), children: o == null ? void 0 : o.map(({ cell: d, heading: x }, a) => /* @__PURE__ */ e.jsxs("div", { className: l("grid grid-cols-2 gap-3", { "grid-cols-1 gap-0": !i }, r == null ? void 0 : r.wrapper), children: [
1018
+ x && /* @__PURE__ */ e.jsx("div", { className: l("mob-body-regular-l text-color-secondary", r == null ? void 0 : r.heading), children: x }),
977
1019
  /* @__PURE__ */ e.jsx(
978
1020
  "div",
979
1021
  {
980
- className: l("mob-body-regular-l text-color-dark", {
981
- "font-medium": p !== 0 && i === "twoCols" || i === "threeCols" || i === "twoCols" && n
982
- }),
983
- children: r
1022
+ className: l(
1023
+ "mob-body-regular-l text-color-dark",
1024
+ {
1025
+ "font-medium": a !== 0 && n === "twoCols" || n === "threeCols" || n === "twoCols" && i
1026
+ },
1027
+ r == null ? void 0 : r.cell
1028
+ ),
1029
+ children: d
984
1030
  }
985
1031
  )
986
- ] }, p)) }), rt = ({ tableVariant: o, rows: t, headings: i, columnsVariant: n }) => {
987
- var x;
988
- const { isDesktop: r } = C(), d = ((x = Ke(t, i)) == null ? void 0 : x.rows) ?? [], p = !!(i && i.length > 0);
989
- return /* @__PURE__ */ e.jsxs("div", { className: "flex flex-col", children: [
990
- r && p && /* @__PURE__ */ e.jsx(Pe, { headings: i, columnsVariant: n }),
991
- r ? /* @__PURE__ */ e.jsx(e.Fragment, { children: t == null ? void 0 : t.map((a, m) => /* @__PURE__ */ e.jsx(se, { rowIndex: m, tableVariant: o, columnsVariant: n, ...a }, m)) }) : /* @__PURE__ */ e.jsx(e.Fragment, { children: d == null ? void 0 : d.map((a, m) => /* @__PURE__ */ e.jsx(
992
- tt,
1032
+ ] }, a)) }), mt = ({ tableVariant: o, rows: t, headings: n, columnsVariant: i, classes: r }) => {
1033
+ var p;
1034
+ const { isDesktop: d } = C(), x = ((p = ot(t, n)) == null ? void 0 : p.rows) ?? [], a = !!(n && n.length > 0);
1035
+ return /* @__PURE__ */ e.jsxs("div", { className: l("flex flex-col", r == null ? void 0 : r.wrapper), children: [
1036
+ d && a && /* @__PURE__ */ e.jsx(dt, { headings: n, columnsVariant: i, classes: r == null ? void 0 : r.desktopHeading }),
1037
+ d ? /* @__PURE__ */ e.jsx(e.Fragment, { children: t == null ? void 0 : t.map((m, u) => /* @__PURE__ */ e.jsx(
1038
+ xt,
993
1039
  {
994
- headingsExist: p,
1040
+ rowIndex: u,
995
1041
  tableVariant: o,
996
- columnsVariant: n,
997
- ...a
1042
+ columnsVariant: i,
1043
+ classes: r == null ? void 0 : r.desktopRow,
1044
+ ...m
998
1045
  },
999
- m
1046
+ u
1047
+ )) }) : /* @__PURE__ */ e.jsx(e.Fragment, { children: x == null ? void 0 : x.map((m, u) => /* @__PURE__ */ e.jsx(
1048
+ pt,
1049
+ {
1050
+ headingsExist: a,
1051
+ tableVariant: o,
1052
+ columnsVariant: i,
1053
+ classes: r == null ? void 0 : r.desktopRow,
1054
+ ...m
1055
+ },
1056
+ u
1000
1057
  )) })
1001
1058
  ] });
1002
- }, ot = ({ tableVariant: o, description: t, columnsVariant: i, config: n, rows: r, title: d, headings: p }) => {
1003
- const x = /* @__PURE__ */ e.jsxs("div", { className: l(Qe({ columnsVariant: i })), children: [
1004
- d && /* @__PURE__ */ e.jsx(y, { as: "h4", className: "mb-4 desktop:mb-6", children: d }),
1005
- /* @__PURE__ */ e.jsx(rt, { tableVariant: o, rows: r, headings: p, columnsVariant: i }),
1006
- t && /* @__PURE__ */ e.jsx("div", { className: "mt-2 [&&]:desk-body-regular-m desktop:mt-2", dangerouslySetInnerHTML: { __html: t ?? "" } })
1059
+ }, ut = ({
1060
+ tableVariant: o,
1061
+ description: t,
1062
+ columnsVariant: n,
1063
+ config: i,
1064
+ rows: r,
1065
+ title: d,
1066
+ headings: x,
1067
+ accordionConfig: a,
1068
+ classes: p
1069
+ }) => {
1070
+ const m = /* @__PURE__ */ e.jsxs("div", { className: l(nt({ columnsVariant: n }), p == null ? void 0 : p.wrapper), children: [
1071
+ d && /* @__PURE__ */ e.jsx(N, { as: "h4", className: l("mb-4 desktop:mb-6", p == null ? void 0 : p.headline), children: d }),
1072
+ /* @__PURE__ */ e.jsx(mt, { tableVariant: o, rows: r, headings: x, columnsVariant: n }),
1073
+ t && /* @__PURE__ */ e.jsx(
1074
+ "div",
1075
+ {
1076
+ className: l("mt-2 [&&]:desk-body-regular-m desktop:mt-2", p == null ? void 0 : p.description),
1077
+ dangerouslySetInnerHTML: { __html: t ?? "" }
1078
+ }
1079
+ )
1007
1080
  ] });
1008
- return /* @__PURE__ */ e.jsx(e.Fragment, { children: n && (n != null && n.isAccordion) && (n != null && n.accordionTitle) ? /* @__PURE__ */ e.jsx(B, { label: n == null ? void 0 : n.accordionTitle, children: x }) : x });
1009
- }, nt = {
1081
+ return /* @__PURE__ */ e.jsx(e.Fragment, { children: i && (i != null && i.isAccordion) && (i != null && i.accordionTitle) ? /* @__PURE__ */ e.jsx(E, { label: i == null ? void 0 : i.accordionTitle, ...a, children: (a == null ? void 0 : a.children) || m }) : m });
1082
+ }, ft = {
1010
1083
  documentFilled: "files/documentFilled",
1011
1084
  documentOutline: "files/documentOutline"
1012
- }, it = c("size-8 transition-colors", {
1085
+ }, ht = k("size-8 transition-colors", {
1013
1086
  variants: {
1014
1087
  iconType: {
1015
1088
  documentOutline: "text-icon-secondary-dark-default group-hover:text-icon-secondary-dark-hover",
@@ -1019,62 +1092,88 @@ const ke = (o) => xe(() => {
1019
1092
  defaultVariants: {
1020
1093
  iconType: "documentOutline"
1021
1094
  }
1022
- }), dt = ({ label: o, size: t, url: i, iconType: n }) => /* @__PURE__ */ e.jsxs(
1095
+ }), bt = ({ label: o, size: t, url: n, iconType: i, classes: r }) => /* @__PURE__ */ e.jsxs(
1023
1096
  "a",
1024
1097
  {
1025
- href: i,
1098
+ href: n,
1026
1099
  target: "_blank",
1027
1100
  rel: "noreferrer",
1028
1101
  tabIndex: 0,
1029
1102
  className: l(
1030
- "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"
1103
+ "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",
1104
+ r == null ? void 0 : r.link
1031
1105
  ),
1032
1106
  children: [
1033
- /* @__PURE__ */ e.jsx(b, { name: nt[n], className: l(it({ iconType: n })) }),
1034
- /* @__PURE__ */ e.jsxs("div", { className: l("flex flex-1 flex-col"), children: [
1035
- /* @__PURE__ */ e.jsx("p", { className: l("desk-body-medium-l text-color-dark"), children: o }),
1036
- /* @__PURE__ */ e.jsxs("div", { className: l("desk-body-regular-m text-color-disabled"), children: [
1107
+ /* @__PURE__ */ e.jsx(h, { name: ft[i], className: l(ht({ iconType: i }), r == null ? void 0 : r.icon) }),
1108
+ /* @__PURE__ */ e.jsxs("div", { className: l("flex flex-1 flex-col", r == null ? void 0 : r.wrapper), children: [
1109
+ /* @__PURE__ */ e.jsx("p", { className: l("desk-body-medium-l text-color-dark", r == null ? void 0 : r.label), children: o }),
1110
+ /* @__PURE__ */ e.jsxs("div", { className: l("desk-body-regular-m text-color-disabled", r == null ? void 0 : r.size), children: [
1037
1111
  Number(t),
1038
1112
  " КБ"
1039
1113
  ] })
1040
1114
  ] })
1041
1115
  ]
1042
1116
  }
1043
- ), lt = ({ docs: o, config: t, title: i, iconType: n, description: r }) => {
1044
- const d = /* @__PURE__ */ e.jsxs("div", { className: "flex max-w-[680px] flex-col", children: [
1045
- i && /* @__PURE__ */ e.jsx(y, { as: "h3", className: "mb-4", children: i }),
1046
- /* @__PURE__ */ e.jsx("div", { className: "gap- flex flex-col gap-4", children: o == null ? void 0 : o.map((p) => /* @__PURE__ */ e.jsx(dt, { iconType: n, ...p }, p.label)) }),
1047
- r && /* @__PURE__ */ e.jsx("div", { className: "mt-4", dangerouslySetInnerHTML: { __html: r ?? "" } })
1117
+ ), jt = ({ docs: o, config: t, title: n, iconType: i, description: r, classes: d, accordionConfig: x }) => {
1118
+ const a = /* @__PURE__ */ e.jsxs("div", { className: l("flex max-w-[680px] flex-col", d == null ? void 0 : d.wrapper), children: [
1119
+ n && /* @__PURE__ */ e.jsx(N, { as: "h3", className: "mb-4", children: n }),
1120
+ /* @__PURE__ */ e.jsx("div", { className: l("flex flex-col gap-4", d == null ? void 0 : d.documentsWrapper), children: o == null ? void 0 : o.map((p) => /* @__PURE__ */ e.jsx(bt, { iconType: i, ...p, classes: d == null ? void 0 : d.singleDocument }, p.label)) }),
1121
+ r && /* @__PURE__ */ e.jsx("div", { className: l("mt-4", d == null ? void 0 : d.description), dangerouslySetInnerHTML: { __html: r ?? "" } })
1048
1122
  ] });
1049
- return /* @__PURE__ */ e.jsx(e.Fragment, { children: t && (t != null && t.isAccordion) && (t != null && t.accordionTitle) ? /* @__PURE__ */ e.jsx(B, { label: t == null ? void 0 : t.accordionTitle, children: d }) : d });
1050
- }, pt = (o) => {
1051
- var t, i, n;
1123
+ return /* @__PURE__ */ e.jsx(e.Fragment, { children: t && (t != null && t.isAccordion) && (t != null && t.accordionTitle) ? /* @__PURE__ */ e.jsx(E, { label: t == null ? void 0 : t.accordionTitle, ...x, children: (x == null ? void 0 : x.children) || a }) : a });
1124
+ }, ct = ({ entity: o, classes: t, accordionsConfig: n }) => {
1125
+ var i, r, d;
1052
1126
  switch (!0) {
1053
- case $e(o):
1054
- return (t = o.details) == null ? void 0 : t.map((r, d) => /* @__PURE__ */ e.jsx(Je, { ...r }, d));
1055
- case Xe(o):
1056
- return (i = o.details) == null ? void 0 : i.map((r, d) => /* @__PURE__ */ e.jsx(lt, { ...r }, d));
1057
- case qe(o):
1058
- return (n = o.details) == null ? void 0 : n.map((r, d) => /* @__PURE__ */ e.jsx(ot, { ...r }, d));
1127
+ case se(o):
1128
+ return (i = o.details) == null ? void 0 : i.map((x, a) => {
1129
+ var p;
1130
+ return /* @__PURE__ */ e.jsx(rt, { ...x, accordionConfig: n == null ? void 0 : n.htmlAccordion, classes: (p = t == null ? void 0 : t.entities) == null ? void 0 : p.html }, a);
1131
+ });
1132
+ case et(o):
1133
+ return (r = o.details) == null ? void 0 : r.map((x, a) => {
1134
+ var p;
1135
+ return /* @__PURE__ */ e.jsx(
1136
+ jt,
1137
+ {
1138
+ accordionConfig: n == null ? void 0 : n.documentAccordion,
1139
+ ...x,
1140
+ classes: (p = t == null ? void 0 : t.entities) == null ? void 0 : p.documents
1141
+ },
1142
+ a
1143
+ );
1144
+ });
1145
+ case tt(o):
1146
+ return (d = o.details) == null ? void 0 : d.map((x, a) => {
1147
+ var p;
1148
+ return /* @__PURE__ */ e.jsx(
1149
+ ut,
1150
+ {
1151
+ accordionConfig: n == null ? void 0 : n.tableAccordion,
1152
+ ...x,
1153
+ classes: (p = t == null ? void 0 : t.entities) == null ? void 0 : p.table
1154
+ },
1155
+ a
1156
+ );
1157
+ });
1059
1158
  default:
1060
1159
  return null;
1061
1160
  }
1062
- }, xt = ({ entity: o }) => /* @__PURE__ */ e.jsx("div", { className: "flex flex-col gap-6", children: pt(o) }), Wt = ({ headline: o, tabs: t }) => {
1063
- var d, p;
1064
- const [i, n] = _(0), r = $(() => t == null ? void 0 : t.map((x) => x == null ? void 0 : x.tabName), [t]) ?? [];
1065
- return !t || (t == null ? void 0 : t.length) === 0 ? null : /* @__PURE__ */ e.jsx("section", { id: "useful-info", children: /* @__PURE__ */ e.jsxs(w, { children: [
1066
- /* @__PURE__ */ e.jsx(y, { as: "h2", children: o }),
1067
- /* @__PURE__ */ e.jsx("div", { className: "mt-6 flex flex-col gap-2 desktop:mt-12", children: /* @__PURE__ */ e.jsx(Ze, { tabsNames: r, activeTab: i, setActiveTab: n }) }),
1068
- /* @__PURE__ */ e.jsx("div", { className: "mt-6 flex flex-col gap-6", children: (p = (d = t == null ? void 0 : t[i]) == null ? void 0 : d.contents) == null ? void 0 : p.map((x, a) => /* @__PURE__ */ e.jsx(xt, { ...x }, a)) })
1161
+ }, kt = ({ entity: o, classes: t, accordionsConfig: n }) => /* @__PURE__ */ e.jsx("div", { className: l("flex flex-col gap-6", t == null ? void 0 : t.entityWrapper), children: ct({ entity: o, classes: t, accordionsConfig: n }) }), fr = ({ headline: o, tabs: t, classes: n, accordionsConfig: i }) => {
1162
+ var a, p;
1163
+ const [r, d] = v(0), x = G(() => t == null ? void 0 : t.map((m) => m == null ? void 0 : m.tabName), [t]) ?? [];
1164
+ return !t || (t == null ? void 0 : t.length) === 0 ? null : /* @__PURE__ */ e.jsx("section", { id: b.usefulInfo, "data-test-id": b.usefulInfo, className: l(n == null ? void 0 : n.root), children: /* @__PURE__ */ e.jsxs(y, { className: l(n == null ? void 0 : n.container), children: [
1165
+ /* @__PURE__ */ e.jsx(N, { className: l(n == null ? void 0 : n.headline), as: "h2", children: o }),
1166
+ /* @__PURE__ */ e.jsx("div", { className: l("mt-6 flex flex-col gap-2 desktop:mt-12", n == null ? void 0 : n.tabsWrapper), children: /* @__PURE__ */ e.jsx(Pe, { tabsNames: x, activeTab: r, setActiveTab: d, classes: n == null ? void 0 : n.tabs }) }),
1167
+ /* @__PURE__ */ e.jsx("div", { className: l("mt-6 flex flex-col gap-6", n == null ? void 0 : n.contentWrapper), children: (p = (a = t == null ? void 0 : t[r]) == null ? void 0 : a.contents) == null ? void 0 : p.map((m, u) => /* @__PURE__ */ e.jsx(kt, { accordionsConfig: i, ...m, classes: n == null ? void 0 : n.entityClasses }, u)) })
1069
1168
  ] }) });
1070
- }, at = ({ fields: o, control: t }) => o.map(({ type: i, args: n }) => {
1071
- const r = de[i];
1072
- return /* @__PURE__ */ X(r, { ...n, key: n.name, control: t });
1169
+ }, gt = ({ fields: o, control: t }) => o.map(({ type: n, args: i }) => {
1170
+ const r = he[n];
1171
+ return /* @__PURE__ */ P(r, { ...i, key: i.name, control: t });
1073
1172
  });
1074
- class mt {
1173
+ class wt {
1075
1174
  constructor(t) {
1076
- I(this, "TEXT_NODE", 3);
1077
- I(this, "ELEMENT_NODE", 1);
1175
+ B(this, "TEXT_NODE", 3);
1176
+ B(this, "ELEMENT_NODE", 1);
1078
1177
  this.options = t;
1079
1178
  }
1080
1179
  /**
@@ -1083,37 +1182,37 @@ class mt {
1083
1182
  * @param elements Массив для сбора элементов
1084
1183
  * @param as Тип возвращаемых данных ('string' или 'node')
1085
1184
  */
1086
- traverse(t, i = "string", n) {
1087
- const { includeSolidText: r, recursive: d, element: p } = this.options || {};
1185
+ traverse(t, n = "string", i) {
1186
+ const { includeSolidText: r, recursive: d, element: x } = this.options || {};
1088
1187
  switch (t.nodeType) {
1089
1188
  // если узел - элемент
1090
1189
  case this.ELEMENT_NODE:
1091
- const x = t, a = x.tagName.toLowerCase();
1092
- if (a === "script") {
1190
+ const a = t, p = a.tagName.toLowerCase();
1191
+ if (p === "script") {
1093
1192
  console.warn("Found script node. For better security this node will be skipped.");
1094
1193
  break;
1095
1194
  }
1096
- if (p && a !== p)
1195
+ if (x && p !== x)
1097
1196
  break;
1098
- if (i === "node")
1099
- n.push(t);
1197
+ if (n === "node")
1198
+ i.push(t);
1100
1199
  else {
1101
- const m = x.outerHTML.trim();
1102
- n.push(m);
1200
+ const m = a.outerHTML.trim();
1201
+ i.push(m);
1103
1202
  }
1104
1203
  if (d)
1105
1204
  for (const m of t.childNodes)
1106
- this.traverse(m, i, n);
1205
+ this.traverse(m, n, i);
1107
1206
  break;
1108
1207
  // если узел - текстовый и требуется его добавить, добавляем
1109
1208
  case this.TEXT_NODE:
1110
1209
  if (!r)
1111
1210
  break;
1112
- if (i === "node")
1113
- n.push(t);
1211
+ if (n === "node")
1212
+ i.push(t);
1114
1213
  else {
1115
1214
  const m = t.textContent;
1116
- m && n.push(m);
1215
+ m && i.push(m);
1117
1216
  }
1118
1217
  break;
1119
1218
  }
@@ -1124,13 +1223,13 @@ class mt {
1124
1223
  * @param as Тип возвращаемых данных ('string' или 'node')
1125
1224
  * @returns Массив тегов или нод
1126
1225
  */
1127
- async parse(t, i = "string") {
1128
- const { includeBody: n } = this.options || {}, r = [], d = [], p = await this.parseFromString(t), x = i === "string" ? r : d;
1129
- if (n)
1130
- this.traverse(p.body, i, x);
1226
+ async parse(t, n = "string") {
1227
+ const { includeBody: i } = this.options || {}, r = [], d = [], x = await this.parseFromString(t), a = n === "string" ? r : d;
1228
+ if (i)
1229
+ this.traverse(x.body, n, a);
1131
1230
  else
1132
- for (const a of p.body.childNodes)
1133
- this.traverse(a, i, x);
1231
+ for (const p of x.body.childNodes)
1232
+ this.traverse(p, n, a);
1134
1233
  return { stringNodes: r, nodes: d };
1135
1234
  }
1136
1235
  /**
@@ -1139,27 +1238,27 @@ class mt {
1139
1238
  * @returns Количество найденных тегов
1140
1239
  */
1141
1240
  async countElements(t) {
1142
- const { stringNodes: i } = await this.parse(t, "string");
1143
- return i.length;
1241
+ const { stringNodes: n } = await this.parse(t, "string");
1242
+ return n.length;
1144
1243
  }
1145
1244
  }
1146
- const ut = typeof window < "u";
1147
- class ft extends Error {
1148
- constructor(t, i) {
1149
- super(t), this.originalError = i, this.name = "BrowserHTMLParserError";
1245
+ const yt = typeof window < "u";
1246
+ class Nt extends Error {
1247
+ constructor(t, n) {
1248
+ super(t), this.originalError = n, this.name = "BrowserHTMLParserError";
1150
1249
  }
1151
1250
  }
1152
- class ht extends mt {
1251
+ class vt extends wt {
1153
1252
  constructor(t) {
1154
1253
  super(t);
1155
1254
  }
1156
1255
  async parseFromString(t) {
1157
- if (!ut)
1158
- throw new ft("HTMLParser should only be used in the browser.");
1256
+ if (!yt)
1257
+ throw new Nt("HTMLParser should only be used in the browser.");
1159
1258
  return new DOMParser().parseFromString(t, "text/html");
1160
1259
  }
1161
1260
  }
1162
- class z {
1261
+ class D {
1163
1262
  /**
1164
1263
  * Функция для парсинга ноды в react элемент
1165
1264
  */
@@ -1167,90 +1266,90 @@ class z {
1167
1266
  if (t.nodeType === this.TEXT_NODE)
1168
1267
  return t.textContent ?? null;
1169
1268
  if (t.nodeType === this.ELEMENT_NODE) {
1170
- const i = t, n = i.tagName.toLowerCase(), r = {};
1171
- for (const p of i.attributes) {
1172
- let x = p.name, a = p.value;
1173
- switch (p.name) {
1269
+ const n = t, i = n.tagName.toLowerCase(), r = {};
1270
+ for (const x of n.attributes) {
1271
+ let a = x.name, p = x.value;
1272
+ switch (x.name) {
1174
1273
  case "class":
1175
- x = "className";
1274
+ a = "className";
1176
1275
  break;
1177
1276
  case "for":
1178
- x = "htmlFor";
1277
+ a = "htmlFor";
1179
1278
  break;
1180
1279
  case "checked":
1181
1280
  case "disabled":
1182
1281
  case "selected":
1183
- a = p.value !== "false", a = p.value !== "false", a = p.value !== "false";
1282
+ p = x.value !== "false", p = x.value !== "false", p = x.value !== "false";
1184
1283
  break;
1185
1284
  case "readonly":
1186
- x = "readOnly", a = p.value !== "false";
1285
+ a = "readOnly", p = x.value !== "false";
1187
1286
  break;
1188
1287
  case "style":
1189
- x = "style";
1288
+ a = "style";
1190
1289
  const m = {};
1191
- p.value.split(";").forEach((u) => {
1192
- const [f, h] = u.split(":");
1193
- if (f && h) {
1194
- const g = f.trim().replace(/-([a-z])/g, (k, N) => N.toUpperCase());
1195
- m[g] = h.trim();
1290
+ x.value.split(";").forEach((u) => {
1291
+ const [f, c] = u.split(":");
1292
+ if (f && c) {
1293
+ const w = f.trim().replace(/-([a-z])/g, (g, T) => T.toUpperCase());
1294
+ m[w] = c.trim();
1196
1295
  }
1197
- }), a = m;
1296
+ }), p = m;
1198
1297
  break;
1199
1298
  }
1200
- r[x] = a;
1299
+ r[a] = p;
1201
1300
  }
1202
1301
  r.key = Math.random().toString(36).substring(2, 9);
1203
1302
  const d = [];
1204
- for (const p of i.childNodes) {
1205
- const x = this.parseNode(p);
1206
- x && d.push(x);
1303
+ for (const x of n.childNodes) {
1304
+ const a = this.parseNode(x);
1305
+ a && d.push(a);
1207
1306
  }
1208
- return X(n, r, ...d);
1307
+ return P(i, r, ...d);
1209
1308
  }
1210
1309
  return null;
1211
1310
  }
1212
1311
  /**
1213
1312
  * функция для преобразования html строки в react элементы
1214
1313
  */
1215
- static async toReactNodes(t, i) {
1216
- const n = new ht(i), { nodes: r } = await n.parse(t, "node");
1314
+ static async toReactNodes(t, n) {
1315
+ const i = new vt(n), { nodes: r } = await i.parse(t, "node");
1217
1316
  return r.map((d) => this.parseNode(d));
1218
1317
  }
1219
1318
  }
1220
- I(z, "TEXT_NODE", 3), I(z, "ELEMENT_NODE", 1);
1221
- const bt = ({ promises: o }) => {
1222
- const [t, i] = _([]);
1223
- return q(() => {
1319
+ B(D, "TEXT_NODE", 3), B(D, "ELEMENT_NODE", 1);
1320
+ const Ct = ({ promises: o }) => {
1321
+ const [t, n] = v([]);
1322
+ return s(() => {
1224
1323
  (async () => {
1225
- i(await o);
1324
+ n(await o);
1226
1325
  })();
1227
1326
  }, [o]), /* @__PURE__ */ e.jsx(e.Fragment, { children: t });
1228
- }, M = ({ html: o, options: t, as: i }) => {
1229
- const n = i ?? ae, r = z.toReactNodes(o, t);
1230
- return /* @__PURE__ */ e.jsx(n, { children: /* @__PURE__ */ e.jsx(bt, { promises: r }) });
1231
- }, jt = ["getFioSchema"], s = (o, t, i) => {
1232
- const n = o[t];
1233
- if (j.isNil(n))
1327
+ }, L = ({ html: o, options: t, as: n }) => {
1328
+ const i = n ?? ce, r = D.toReactNodes(o, t);
1329
+ return /* @__PURE__ */ e.jsx(i, { children: /* @__PURE__ */ e.jsx(Ct, { promises: r }) });
1330
+ }, Tt = ["getFioSchema"], le = (o, t, n) => {
1331
+ const i = o[t];
1332
+ if (j.isNil(i))
1234
1333
  throw new Error(`validation for type ${String(t)} not found`);
1235
- if (!j.isFunction(n))
1334
+ if (!j.isFunction(i))
1236
1335
  throw new Error(`Cannot generate ${String(t)} because is not a function`);
1237
- return n(i);
1238
- }, ct = (o, t) => s(Q.base, o, t), kt = (o, t) => s(Q.dadata, o, t), gt = (o) => {
1239
- const i = o.map((n) => ({ name: n.args.name, validation: n.args.validation })).reduce((n, r) => {
1240
- const d = jt.includes(r.validation.type) ? kt(
1336
+ return i(n);
1337
+ }, It = (o, t) => le(re.base, o, t), Et = (o, t) => le(re.dadata, o, t), Bt = (o) => {
1338
+ const n = o.map((i) => ({ name: i.args.name, validation: i.args.validation })).reduce((i, r) => {
1339
+ const d = Tt.includes(r.validation.type) ? Et(
1241
1340
  r.validation.type,
1242
1341
  r.validation.args
1243
- ) : ct(
1342
+ ) : It(
1244
1343
  r.validation.type,
1245
1344
  r.validation.args
1246
1345
  );
1247
- return n[r.name] = d, n;
1346
+ return i[r.name] = d, i;
1248
1347
  }, {});
1249
- return be(i);
1250
- }, wt = (o, t) => o.enabled ? t.map((i) => ({
1251
- name: i.args.name,
1252
- ...i.args.progress
1253
- })) : null, yt = (o, t, i) => o.type === "off" ? null : o.type === "text" ? /* @__PURE__ */ e.jsx(M, { html: o.message, as: "div" }) : /* @__PURE__ */ e.jsxs(
1348
+ return ve(n);
1349
+ }, St = (o, t) => o.enabled ? t.map((n) => ({
1350
+ name: n.args.name,
1351
+ ...n.args.progress
1352
+ })) : null, _t = (o, t, n) => o.type === "off" ? null : o.type === "text" ? /* @__PURE__ */ e.jsx(L, { html: o.message, as: "div" }) : /* @__PURE__ */ e.jsxs(
1254
1353
  "label",
1255
1354
  {
1256
1355
  className: l(
@@ -1259,81 +1358,80 @@ const bt = ({ promises: o }) => {
1259
1358
  "flex items-center justify-items-start gap-x-3"
1260
1359
  ),
1261
1360
  children: [
1262
- /* @__PURE__ */ e.jsx(pe.CheckboxBase, { checked: t, onCheckedChange: i }),
1263
- /* @__PURE__ */ e.jsx(M, { html: o.content, as: "div" })
1361
+ /* @__PURE__ */ e.jsx(Y.CheckboxBase, { checked: t, onCheckedChange: n }),
1362
+ /* @__PURE__ */ e.jsx(L, { html: o.content, as: "div" })
1264
1363
  ]
1265
1364
  }
1266
- ), Gt = ({
1365
+ ), hr = ({
1267
1366
  fields: o,
1268
1367
  title: t,
1269
- progress: i,
1270
- approvement: n,
1368
+ progress: n,
1369
+ approvement: i,
1271
1370
  chips: r,
1272
1371
  submitContent: d = "Submit"
1273
1372
  }) => {
1274
- const [p, x] = _(!1), a = gt(o), { control: m, handleSubmit: u } = fe({
1275
- schema: a,
1276
- defaultValues: je.getZodDefaults(a),
1373
+ const [x, a] = v(!1), p = Bt(o), { control: m, handleSubmit: u } = ye({
1374
+ schema: p,
1375
+ defaultValues: Ce.getZodDefaults(p),
1277
1376
  mode: "onBlur"
1278
- }), f = wt(i, o), h = ce({ control: m, fields: f || [], schema: a }), g = (k) => {
1279
- console.warn(k);
1377
+ }), f = St(n, o), c = Te({ control: m, fields: f || [], schema: p }), w = (g) => {
1378
+ console.warn(g);
1280
1379
  };
1281
- return /* @__PURE__ */ e.jsxs("div", { className: "relative flex flex-col gap-6 rounded-sm border border-warm-grey-200 px-4 py-8 desktop:gap-8 desktop:p-14", children: [
1282
- r.enabled && /* @__PURE__ */ e.jsxs(
1283
- "div",
1284
- {
1285
- className: l(
1286
- "desk-body-regular-l flex items-center gap-x-2 rounded-sm desktop:absolute",
1287
- "bg-color-blue-grey-100 px-2 py-1 text-color-tetriary",
1288
- "right-4 top-4 w-max"
1289
- ),
1290
- children: [
1291
- r.image && /* @__PURE__ */ e.jsx(b, { name: r.image, className: "size-4" }),
1292
- r.content
1293
- ]
1294
- }
1295
- ),
1296
- /* @__PURE__ */ e.jsx(y, { as: "h3", children: t }),
1297
- /* @__PURE__ */ e.jsxs("form", { onSubmit: u(g), className: "flex w-[328px] flex-col gap-y-6 desktop:w-[524px] desktop:gap-y-8", children: [
1298
- i.enabled && /* @__PURE__ */ e.jsx(
1299
- le,
1300
- {
1301
- progress: h,
1302
- topContent: /* @__PURE__ */ e.jsx(M, { html: i.title }),
1303
- bottomContent: /* @__PURE__ */ e.jsx(M, { html: i.subtitle }),
1304
- maxPercent: i.maxPercent
1305
- }
1306
- ),
1307
- /* @__PURE__ */ e.jsx(at, { control: m, fields: o }),
1308
- /* @__PURE__ */ e.jsxs("div", { className: "mob-body-regular-m flex flex-col items-center justify-center gap-4 desktop:flex-row desktop:justify-between", children: [
1309
- yt(n, p, x),
1310
- /* @__PURE__ */ e.jsx(
1311
- O,
1380
+ return /* @__PURE__ */ e.jsxs(
1381
+ "div",
1382
+ {
1383
+ id: b.form,
1384
+ "data-test-id": b.form,
1385
+ className: "relative flex flex-col gap-6 rounded-sm border border-warm-grey-200 px-4 py-8 desktop:gap-8 desktop:p-14",
1386
+ children: [
1387
+ r.enabled && /* @__PURE__ */ e.jsxs(
1388
+ "div",
1312
1389
  {
1313
- type: "submit",
1314
- disabled: n.type === "checkbox" ? !p : !1,
1315
- className: l("w-full whitespace-nowrap", {
1316
- "w-full desktop:w-[216px]": !!n
1317
- }),
1318
- children: d
1390
+ className: l(
1391
+ "desk-body-regular-l flex items-center gap-x-2 rounded-sm desktop:absolute",
1392
+ "bg-color-blue-grey-100 px-2 py-1 text-color-tetriary",
1393
+ "right-4 top-4 w-max"
1394
+ ),
1395
+ children: [
1396
+ r.image && /* @__PURE__ */ e.jsx(h, { name: r.image, className: "size-4" }),
1397
+ r.content
1398
+ ]
1319
1399
  }
1320
- )
1321
- ] })
1322
- ] })
1323
- ] });
1324
- }, Zt = [
1325
- "header",
1326
- "footer",
1327
- "interLinking",
1328
- "stepper",
1329
- "usefulInfo",
1330
- "longBanner",
1331
- "banner",
1332
- "benefit"
1333
- ], T = () => ({
1400
+ ),
1401
+ /* @__PURE__ */ e.jsx(N, { as: "h3", children: t }),
1402
+ /* @__PURE__ */ e.jsxs("form", { onSubmit: u(w), className: "flex w-[328px] flex-col gap-y-6 desktop:w-[524px] desktop:gap-y-8", children: [
1403
+ n.enabled && /* @__PURE__ */ e.jsx(
1404
+ be,
1405
+ {
1406
+ progress: c,
1407
+ topContent: /* @__PURE__ */ e.jsx(L, { html: n.title }),
1408
+ bottomContent: /* @__PURE__ */ e.jsx(L, { html: n.subtitle }),
1409
+ maxPercent: n.maxPercent
1410
+ }
1411
+ ),
1412
+ /* @__PURE__ */ e.jsx(gt, { control: m, fields: o }),
1413
+ /* @__PURE__ */ e.jsxs("div", { className: "mob-body-regular-m flex flex-col items-center justify-center gap-4 desktop:flex-row desktop:justify-between", children: [
1414
+ _t(i, x, a),
1415
+ /* @__PURE__ */ e.jsx(
1416
+ U,
1417
+ {
1418
+ type: "submit",
1419
+ disabled: i.type === "checkbox" ? !x : !1,
1420
+ className: l("w-full whitespace-nowrap", {
1421
+ "w-full desktop:w-[216px]": !!i
1422
+ }),
1423
+ children: d
1424
+ }
1425
+ )
1426
+ ] })
1427
+ ] })
1428
+ ]
1429
+ }
1430
+ );
1431
+ }, S = () => ({
1334
1432
  approve: {
1335
1433
  icon: {
1336
- element: /* @__PURE__ */ e.jsx(b, { name: "status/iconMark" }),
1434
+ element: /* @__PURE__ */ e.jsx(h, { name: "status/iconMark" }),
1337
1435
  bg: "bg-color-positive-light"
1338
1436
  },
1339
1437
  title: "Ваша заявка отправлена",
@@ -1348,7 +1446,7 @@ const bt = ({ promises: o }) => {
1348
1446
  },
1349
1447
  repeated: {
1350
1448
  icon: {
1351
- element: /* @__PURE__ */ e.jsx(b, { name: "status/iconUser" }),
1449
+ element: /* @__PURE__ */ e.jsx(h, { name: "status/iconUser" }),
1352
1450
  bg: "bg-color-positive-light"
1353
1451
  },
1354
1452
  title: "Мы вас узнали",
@@ -1363,7 +1461,7 @@ const bt = ({ promises: o }) => {
1363
1461
  },
1364
1462
  error: {
1365
1463
  icon: {
1366
- element: /* @__PURE__ */ e.jsx(b, { name: "status/iconRetry" }),
1464
+ element: /* @__PURE__ */ e.jsx(h, { name: "status/iconRetry" }),
1367
1465
  bg: "bg-color-warning-light"
1368
1466
  },
1369
1467
  title: "Что-то пошло не так",
@@ -1378,7 +1476,7 @@ const bt = ({ promises: o }) => {
1378
1476
  },
1379
1477
  reject: {
1380
1478
  icon: {
1381
- element: /* @__PURE__ */ e.jsx(b, { name: "status/badSmile" }),
1479
+ element: /* @__PURE__ */ e.jsx(h, { name: "status/badSmile" }),
1382
1480
  bg: "bg-color-negative-light"
1383
1481
  },
1384
1482
  title: "Нам очень жаль",
@@ -1391,91 +1489,91 @@ const bt = ({ promises: o }) => {
1391
1489
  text: "Вернуться на главную"
1392
1490
  }
1393
1491
  }
1394
- }), $t = ({ status: o, navigationFn: t }) => /* @__PURE__ */ e.jsx("div", { className: "flex flex-col", children: /* @__PURE__ */ e.jsx(w, { className: "flex flex-col justify-center", children: /* @__PURE__ */ e.jsxs("div", { className: "mt-32 flex w-full flex-col items-center gap-8 desktop:gap-12", children: [
1492
+ }), br = ({ status: o, navigationFn: t }) => /* @__PURE__ */ e.jsx("div", { className: "flex flex-col", children: /* @__PURE__ */ e.jsx(y, { className: "flex flex-col justify-center", children: /* @__PURE__ */ e.jsxs("div", { className: "mt-32 flex w-full flex-col items-center gap-8 desktop:gap-12", children: [
1395
1493
  /* @__PURE__ */ e.jsx(
1396
1494
  "span",
1397
1495
  {
1398
1496
  className: l(
1399
1497
  "flex size-16 items-center justify-center rounded-full bg-color-positive-light",
1400
- `${T()[o].icon.bg}`
1498
+ `${S()[o].icon.bg}`
1401
1499
  ),
1402
- children: T()[o].icon.element
1500
+ children: S()[o].icon.element
1403
1501
  }
1404
1502
  ),
1405
1503
  /* @__PURE__ */ e.jsxs("div", { className: "flex flex-col items-center gap-2 text-center desktop:gap-6", children: [
1406
- /* @__PURE__ */ e.jsx(y, { as: "h2", children: T()[o].title }),
1407
- /* @__PURE__ */ e.jsx("p", { className: "desk-body-regular-l text-color-dark", children: T()[o].description })
1504
+ /* @__PURE__ */ e.jsx(N, { as: "h2", children: S()[o].title }),
1505
+ /* @__PURE__ */ e.jsx("p", { className: "desk-body-regular-l text-color-dark", children: S()[o].description })
1408
1506
  ] }),
1409
- /* @__PURE__ */ e.jsx(O, { size: "lg", className: "w-full max-w-[328px] desktop:desk-body-regular-l desktop:w-[256px]", onClick: t, children: T()[o].button.text })
1410
- ] }) }) }), ee = ({ breadcrumb: o, className: t, ...i }) => /* @__PURE__ */ e.jsx("a", { href: o.path, className: l("desk-body-regular-m", t), ...i, children: o.label }), Nt = ({ startsWith: o, endsWith: t, matcher: i, filter: n, rootEnabled: r = !0 }) => {
1411
- const [d, p] = _([]);
1412
- return q(() => {
1413
- if (!K)
1507
+ /* @__PURE__ */ e.jsx(U, { size: "lg", className: "w-full max-w-[328px] desktop:desk-body-regular-l desktop:w-[256px]", onClick: t, children: S()[o].button.text })
1508
+ ] }) }) }), xe = ({ breadcrumb: o, className: t, ...n }) => /* @__PURE__ */ e.jsx("a", { href: o.path, className: l("desk-body-regular-m", t), ...n, children: o.label }), Mt = ({ startsWith: o, endsWith: t, matcher: n, filter: i, rootEnabled: r = !0 }) => {
1509
+ const [d, x] = v([]);
1510
+ return s(() => {
1511
+ if (!te)
1414
1512
  return;
1415
- let x = window.location.pathname.split("/").filter((u) => !j.isStringEmpty(u));
1416
- j.isUndefined(o) || (j.isString(o) ? x = x.slice(x.findIndex((u) => u === o)) : x = x.slice(o)), j.isUndefined(t) || (j.isString(t) ? x = x.slice(0, x.findIndex((u) => u === t) + 1) : x = x.slice(0, t + 1));
1417
- let a = [], m = "";
1513
+ let a = window.location.pathname.split("/").filter((u) => !j.isStringEmpty(u));
1514
+ j.isUndefined(o) || (j.isString(o) ? a = a.slice(a.findIndex((u) => u === o)) : a = a.slice(o)), j.isUndefined(t) || (j.isString(t) ? a = a.slice(0, a.findIndex((u) => u === t) + 1) : a = a.slice(0, t + 1));
1515
+ let p = [], m = "";
1418
1516
  if (r) {
1419
1517
  const u = {
1420
1518
  index: 0,
1421
- id: D(),
1519
+ id: Z(),
1422
1520
  path: "/",
1423
1521
  label: "home"
1424
1522
  };
1425
- a.push(u);
1523
+ p.push(u);
1426
1524
  }
1427
- x.forEach((u, f) => {
1525
+ a.forEach((u, f) => {
1428
1526
  m += `/${u}`;
1429
- const h = {
1527
+ const c = {
1430
1528
  // while root enabled we need to increment index
1431
1529
  // cuz we have root breadcrumb
1432
1530
  index: r ? f + 1 : f,
1433
- id: D(),
1531
+ id: Z(),
1434
1532
  path: m,
1435
1533
  label: u
1436
1534
  };
1437
- a.push(h);
1438
- }), i && (a = a.map((u) => ({
1535
+ p.push(c);
1536
+ }), n && (p = p.map((u) => ({
1439
1537
  ...u,
1440
- ...i(u)
1441
- }))), p(n ? a.filter(n) : a);
1442
- }, [t, n, i, r, o]), d;
1443
- }, S = (o, t, i, n) => o.map((r, d) => {
1444
- const p = d === n;
1538
+ ...n(u)
1539
+ }))), x(i ? p.filter(i) : p);
1540
+ }, [t, i, n, r, o]), d;
1541
+ }, H = (o, t, n, i) => o.map((r, d) => {
1542
+ const x = d === i;
1445
1543
  return /* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-x-2", children: [
1446
1544
  /* @__PURE__ */ e.jsx(
1447
- ee,
1545
+ xe,
1448
1546
  {
1449
1547
  breadcrumb: r,
1450
- className: l(i, {
1451
- "pointer-events-none text-color-primary-disabled": p
1548
+ className: l(n, {
1549
+ "pointer-events-none text-color-primary-disabled": x
1452
1550
  })
1453
1551
  }
1454
1552
  ),
1455
1553
  d !== o.length - 1 && t
1456
1554
  ] }, r.id);
1457
- }), Xt = ({ separator: o, ellipsis: t, classes: i, ...n }) => {
1458
- const [r, d] = _(!1), p = me(null);
1459
- he(p, () => d(!1));
1460
- const x = Nt(n), { first: a, middle: m, last: u } = $(() => {
1461
- let h = [], g = [], k = [];
1462
- return t && (h = x.slice(0, t), g = x.slice(t, x.length - t), k = x.slice(x.length - t)), { first: h, middle: g, last: k };
1463
- }, [x, t]), f = o ?? /* @__PURE__ */ e.jsx(b, { name: "arrows/arrowRight", className: l("size-4", i == null ? void 0 : i.separator) });
1555
+ }), Ht = ({ separator: o, ellipsis: t, classes: n, ...i }) => {
1556
+ const [r, d] = v(!1), x = $(null);
1557
+ Ne(x, () => d(!1));
1558
+ const a = Mt(i), { first: p, middle: m, last: u } = G(() => {
1559
+ let c = [], w = [], g = [];
1560
+ return t && (c = a.slice(0, t), w = a.slice(t, a.length - t), g = a.slice(a.length - t)), { first: c, middle: w, last: g };
1561
+ }, [a, t]), f = o ?? /* @__PURE__ */ e.jsx(h, { name: "arrows/arrowRight", className: l("size-4", n == null ? void 0 : n.separator) });
1464
1562
  return /* @__PURE__ */ e.jsx(
1465
1563
  "div",
1466
1564
  {
1467
1565
  className: l(
1468
1566
  "flex max-w-[840px] flex-wrap items-center",
1469
1567
  "gap-x-2 gap-y-1 py-4 text-color-primary-default",
1470
- i == null ? void 0 : i.root
1568
+ n == null ? void 0 : n.root
1471
1569
  ),
1472
1570
  children: t ? (
1473
1571
  // if ellipsis provided, render hidden breadcrumbs
1474
- /* @__PURE__ */ e.jsx(e.Fragment, { children: x.length > t * 2 + 1 ? (
1572
+ /* @__PURE__ */ e.jsx(e.Fragment, { children: a.length > t * 2 + 1 ? (
1475
1573
  // if we have more than ellipsis (visible crumbs) + available hidden crumbs
1476
1574
  // render hidden breadcrumbs
1477
1575
  /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
1478
- S(a, f, i == null ? void 0 : i.breadcrumb),
1576
+ H(p, f, n == null ? void 0 : n.breadcrumb),
1479
1577
  f,
1480
1578
  m.length > 0 && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
1481
1579
  /* @__PURE__ */ e.jsxs("div", { className: "relative", children: [
@@ -1483,7 +1581,7 @@ const bt = ({ promises: o }) => {
1483
1581
  /* @__PURE__ */ e.jsx(
1484
1582
  "ul",
1485
1583
  {
1486
- ref: p,
1584
+ ref: x,
1487
1585
  className: l(
1488
1586
  "invisible absolute max-h-[264px] overflow-y-auto",
1489
1587
  "w-[280px] rounded-sm bg-color-white",
@@ -1492,55 +1590,375 @@ const bt = ({ promises: o }) => {
1492
1590
  "visible opacity-100": r
1493
1591
  }
1494
1592
  ),
1495
- children: m.map((h) => /* @__PURE__ */ e.jsx("li", { children: /* @__PURE__ */ e.jsx(
1496
- ee,
1593
+ children: m.map((c) => /* @__PURE__ */ e.jsx("li", { children: /* @__PURE__ */ e.jsx(
1594
+ xe,
1497
1595
  {
1498
- breadcrumb: h,
1596
+ breadcrumb: c,
1499
1597
  className: l(
1500
1598
  "desk-body-regular-l inline-block py-3",
1501
1599
  "w-full rounded-sm bg-color-white px-2",
1502
1600
  "text-color-dark hover:bg-color-primary-tr-hover",
1503
- i == null ? void 0 : i.breadcrumb
1601
+ n == null ? void 0 : n.breadcrumb
1504
1602
  )
1505
1603
  }
1506
- ) }, h.id))
1604
+ ) }, c.id))
1507
1605
  }
1508
1606
  )
1509
1607
  ] }),
1510
1608
  f
1511
1609
  ] }),
1512
- S(u, f, i == null ? void 0 : i.breadcrumb, u.length - 1)
1610
+ H(u, f, n == null ? void 0 : n.breadcrumb, u.length - 1)
1513
1611
  ] })
1514
1612
  ) : (
1515
1613
  // otherwise render all breadcrumbs
1516
- S(x, f, i == null ? void 0 : i.breadcrumb, x.length - 1)
1614
+ H(a, f, n == null ? void 0 : n.breadcrumb, a.length - 1)
1517
1615
  ) })
1518
1616
  ) : (
1519
1617
  // if ellipsis doesn't provided render all breadcrumbs
1520
- S(x, f, i == null ? void 0 : i.breadcrumb, x.length - 1)
1618
+ H(a, f, n == null ? void 0 : n.breadcrumb, a.length - 1)
1521
1619
  )
1522
1620
  }
1523
1621
  );
1524
1622
  };
1623
+ var M = /* @__PURE__ */ ((o) => (o.ROOT = "root", o.CURRENT = "current", o))(M || {});
1624
+ const Lt = (o, t) => {
1625
+ switch (t.type) {
1626
+ case M.ROOT:
1627
+ return {
1628
+ ...o,
1629
+ root: t.payload
1630
+ };
1631
+ case M.CURRENT:
1632
+ return {
1633
+ ...o,
1634
+ current: t.payload
1635
+ };
1636
+ default:
1637
+ return o;
1638
+ }
1639
+ }, Rt = (o) => {
1640
+ const [t, n] = ke(Lt, o);
1641
+ return [t, n];
1642
+ }, Ft = (o) => ({
1643
+ type: M.CURRENT,
1644
+ payload: o
1645
+ }), zt = (o) => ({
1646
+ type: M.ROOT,
1647
+ payload: o
1648
+ }), Ot = ({ categories: o, ...t }) => oe(
1649
+ /* @__PURE__ */ e.jsx(
1650
+ W.div,
1651
+ {
1652
+ ...t,
1653
+ layout: !0,
1654
+ initial: { opacity: 0 },
1655
+ animate: { opacity: 1 },
1656
+ transition: { duration: 0.2 },
1657
+ className: "absolute bg-color-white",
1658
+ children: /* @__PURE__ */ e.jsx("div", { className: "mx-auto flex w-[1140px] gap-x-[56px] py-10", children: o.map((n) => {
1659
+ var r;
1660
+ const i = n.link ? "a" : "p";
1661
+ return /* @__PURE__ */ e.jsxs("div", { className: "flex flex-col gap-y-6", children: [
1662
+ n.title && /* @__PURE__ */ e.jsxs(
1663
+ i,
1664
+ {
1665
+ href: ((r = n.link) == null ? void 0 : r.href) ?? void 0,
1666
+ className: "flex items-center gap-x-1 text-16 uppercase text-color-primary-default",
1667
+ children: [
1668
+ n.title,
1669
+ /* @__PURE__ */ e.jsx(h, { name: "arrows/arrowLink", className: "size-6" })
1670
+ ]
1671
+ }
1672
+ ),
1673
+ /* @__PURE__ */ e.jsx("ul", { className: "w-[328px]", children: n.children.map((d) => {
1674
+ var x;
1675
+ return /* @__PURE__ */ e.jsx("li", { className: "w-full [&:not(:last-child)]:mb-4", children: /* @__PURE__ */ e.jsx("a", { href: (x = d.link) == null ? void 0 : x.href, className: "w-full text-16", children: d.title }) }, d.title);
1676
+ }) })
1677
+ ] }, n.title);
1678
+ }) })
1679
+ }
1680
+ ),
1681
+ document.body
1682
+ ), Dt = ({ category: o, active: t, onActiveTabChange: n }) => {
1683
+ var a, p;
1684
+ const i = $(null), r = (a = i.current) == null ? void 0 : a.getBoundingClientRect(), d = t && !j.isArrayEmpty(o.children), x = j.isArrayEmpty(o.children) ? "a" : "span";
1685
+ return /* @__PURE__ */ e.jsxs(
1686
+ W.div,
1687
+ {
1688
+ ref: i,
1689
+ className: l(
1690
+ "relative flex cursor-default items-center justify-center py-4 text-color-dark",
1691
+ 'after:content="" after:absolute after:bottom-0 after:left-1/2 after:h-[1px]',
1692
+ "after:w-0 after:-translate-x-1/2 after:bg-color-primary-default after:duration-100",
1693
+ {
1694
+ "text-color-primary-default": d,
1695
+ "after:w-full": d
1696
+ }
1697
+ ),
1698
+ onMouseEnter: () => n(o.title),
1699
+ onMouseLeave: () => n(null),
1700
+ onFocus: () => n(o.title),
1701
+ children: [
1702
+ /* @__PURE__ */ e.jsx(x, { href: x === "a" ? (p = o.link) == null ? void 0 : p.href : void 0, className: "desk-body-regular-m outline-none", children: o.title }),
1703
+ d && /* @__PURE__ */ e.jsx(
1704
+ Ot,
1705
+ {
1706
+ categories: o.children,
1707
+ style: {
1708
+ top: r ? r.top + r.height : 0,
1709
+ width: window.innerWidth
1710
+ }
1711
+ }
1712
+ )
1713
+ ]
1714
+ }
1715
+ );
1716
+ }, Ut = ee(Dt), Vt = ({ categories: o }) => {
1717
+ const [t, n] = v(null), i = A((r) => {
1718
+ n(r);
1719
+ }, []);
1720
+ return /* @__PURE__ */ e.jsx(je, { mode: "sync", children: /* @__PURE__ */ e.jsxs("div", { id: "tabs", className: "relative flex w-full items-center justify-between gap-x-4 border-b border-b-[rgba(234,237,241)]", children: [
1721
+ o.map((r) => /* @__PURE__ */ e.jsx(
1722
+ Ut,
1723
+ {
1724
+ category: r,
1725
+ active: t === r.title,
1726
+ onActiveTabChange: i
1727
+ },
1728
+ r.title
1729
+ )),
1730
+ /* @__PURE__ */ e.jsx("div", { className: "ml-auto", children: "Личный кабинет" })
1731
+ ] }) });
1732
+ }, Wt = ee(Vt), Gt = ({
1733
+ category: o,
1734
+ selectedCategory: t,
1735
+ onCurrentCategoryChange: n,
1736
+ onRootCategoryChange: i,
1737
+ active: r,
1738
+ ...d
1739
+ }) => /* @__PURE__ */ e.jsxs(
1740
+ "div",
1741
+ {
1742
+ ...d,
1743
+ onClick: () => {
1744
+ n(o.children[0]), i(o);
1745
+ },
1746
+ className: l("group/category relative cursor-default text-color-blue-grey-600 duration-100 hover:text-color-dark", {
1747
+ "text-color-dark": r
1748
+ }),
1749
+ children: [
1750
+ /* @__PURE__ */ e.jsx("span", { className: "desk-body-regular-m", children: o.title }),
1751
+ o.children.length > 1 && /* @__PURE__ */ e.jsx(
1752
+ "div",
1753
+ {
1754
+ className: l(
1755
+ "absolute right-0 top-full z-10 flex w-max flex-col",
1756
+ "invisible bg-color-white opacity-0 shadow-sm group-hover/category:visible group-hover/category:opacity-100",
1757
+ "rounded-sm p-1"
1758
+ ),
1759
+ children: o.children.map((x) => /* @__PURE__ */ e.jsx(
1760
+ "span",
1761
+ {
1762
+ onClick: (a) => {
1763
+ a.stopPropagation(), a.nativeEvent.stopPropagation(), i(o), n(x);
1764
+ },
1765
+ className: l(
1766
+ "desk-body-regular-l rounded-sm px-3 py-3.5 text-color-dark duration-100 hover:bg-color-primary-tr-hover hover:text-color-dark",
1767
+ {
1768
+ "text-color-primary-default": t.title === x.title
1769
+ }
1770
+ ),
1771
+ children: x.title
1772
+ },
1773
+ x.title
1774
+ ))
1775
+ }
1776
+ )
1777
+ ]
1778
+ }
1779
+ ), $t = ({ categories: o, helpers: t, phone: n }) => {
1780
+ const [i, r] = Rt({ root: o[0].children[0], current: o[0].children[0] });
1781
+ return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
1782
+ /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center justify-between gap-x-4 border-b border-b-[rgba(234,237,241)] py-4", children: [
1783
+ /* @__PURE__ */ e.jsx(h, { name: "brandLogos/logoMain", className: "mr-auto w-[130px]" }),
1784
+ o.map((d) => {
1785
+ const x = i.root.title === d.title;
1786
+ return /* @__PURE__ */ e.jsx(
1787
+ Gt,
1788
+ {
1789
+ category: d,
1790
+ selectedCategory: i.current,
1791
+ onCurrentCategoryChange: (a) => r(Ft(a)),
1792
+ onRootCategoryChange: (a) => r(zt(a)),
1793
+ active: x
1794
+ },
1795
+ d.title
1796
+ );
1797
+ }),
1798
+ /* @__PURE__ */ e.jsx("div", { className: "h-3.5 w-[1px] rounded-sm bg-color-blue-grey-500" }),
1799
+ t.map((d) => /* @__PURE__ */ e.jsxs(
1800
+ "a",
1801
+ {
1802
+ href: d.link.href,
1803
+ className: "desk-body-regular-m flex items-center gap-x-1 text-color-blue-grey-600 duration-100 hover:text-color-dark",
1804
+ children: [
1805
+ d.link.icon && /* @__PURE__ */ e.jsx(h, { name: d.link.icon, className: "size-4" }),
1806
+ d.title
1807
+ ]
1808
+ },
1809
+ d.title
1810
+ )),
1811
+ /* @__PURE__ */ e.jsx("div", { className: "h-3.5 w-[1px] rounded-sm bg-color-blue-grey-500" }),
1812
+ /* @__PURE__ */ e.jsx(
1813
+ "a",
1814
+ {
1815
+ href: `tel:${n}`,
1816
+ className: "desk-body-regular-m flex items-center gap-x-1 text-color-blue-grey-600 duration-100 hover:text-color-dark",
1817
+ children: F(n, "x xxx xxx xx xx")
1818
+ }
1819
+ )
1820
+ ] }),
1821
+ /* @__PURE__ */ e.jsx(Wt, { categories: i.current.children })
1822
+ ] });
1823
+ }, Zt = ({ category: o }) => /* @__PURE__ */ e.jsx(
1824
+ E,
1825
+ {
1826
+ label: o.title ?? "",
1827
+ icon: /* @__PURE__ */ e.jsx(h, { name: "arrows/arrowRight", className: "-rotate-90" }),
1828
+ classes: {
1829
+ root: "w-full",
1830
+ header: {
1831
+ trigger: "py-2 data-[open=false]:bg-color-white",
1832
+ label: "desk-body-regular-m"
1833
+ },
1834
+ content: l(
1835
+ "relative",
1836
+ 'after:content-"" after:absolute after:w-[calc(100%-32px)]',
1837
+ "after:bottom-0 after:left-1/2 after:-translate-x-1/2",
1838
+ "after:h-[1px] after:bg-color-blue-grey-200"
1839
+ )
1840
+ },
1841
+ children: /* @__PURE__ */ e.jsx("div", { className: "flex flex-col items-start justify-center gap-y-4", children: o.children.map((t) => {
1842
+ var r;
1843
+ const n = !!t.link, i = n ? "a" : "p";
1844
+ return /* @__PURE__ */ e.jsxs("ul", { className: "w-full list-none p-0", children: [
1845
+ /* @__PURE__ */ e.jsxs(
1846
+ i,
1847
+ {
1848
+ href: n ? (r = t.link) == null ? void 0 : r.href : void 0,
1849
+ className: "mb-3 flex items-center gap-x-1 text-16 text-color-primary-default",
1850
+ children: [
1851
+ t.title,
1852
+ /* @__PURE__ */ e.jsx(h, { name: "arrows/arrowLink" })
1853
+ ]
1854
+ }
1855
+ ),
1856
+ t.children.map((d) => {
1857
+ var x;
1858
+ return /* @__PURE__ */ e.jsx("li", { className: "inline-block w-full [&:not(:last-child)]:mb-3", children: /* @__PURE__ */ e.jsx("a", { href: (x = d.link) == null ? void 0 : x.href, className: "w-full", children: d.title }) }, d.title);
1859
+ })
1860
+ ] }, t.title);
1861
+ }) })
1862
+ },
1863
+ o.title
1864
+ ), Xt = (o) => o.map((t) => ({
1865
+ value: t.title ?? "",
1866
+ label: t.title ?? ""
1867
+ })), qt = ({ categories: o, helpers: t, phone: n, ...i }) => {
1868
+ const r = Xt(o), [d, x] = v(r[0]), a = (m) => {
1869
+ j.isUndefined(m) || j.isArray(m) || x(m);
1870
+ }, p = G(() => {
1871
+ var m;
1872
+ return j.isUndefined(d) || j.isArray(d) ? [] : ((m = o.find((u) => u.title === d.value)) == null ? void 0 : m.children) ?? [];
1873
+ }, [d, o]);
1874
+ return /* @__PURE__ */ e.jsxs(
1875
+ W.div,
1876
+ {
1877
+ ...i,
1878
+ className: l(
1879
+ "absolute w-full max-w-[calc(636px-32px)]",
1880
+ "absolute left-1/2 top-full bg-color-white p-4",
1881
+ "-translate-x-1/2 overflow-x-hidden",
1882
+ "flex flex-col items-center justify-center gap-y-4"
1883
+ ),
1884
+ initial: { opacity: 0 },
1885
+ animate: { opacity: 1 },
1886
+ children: [
1887
+ /* @__PURE__ */ e.jsx(Y.SelectBase, { label: "Категория", options: r, value: d, onChange: a }),
1888
+ /* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col items-center justify-center gap-y-1", children: p.map((m) => {
1889
+ var u;
1890
+ return j.isArrayEmpty(m.children) ? /* @__PURE__ */ e.jsx("div", { className: "w-full px-4 py-2.5", children: /* @__PURE__ */ e.jsx("a", { href: (u = m.link) == null ? void 0 : u.href, className: "desk-body-regular-m inline-block w-full", children: m.title }) }, m.title) : /* @__PURE__ */ e.jsx(Zt, { category: m }, m.title);
1891
+ }) }),
1892
+ /* @__PURE__ */ e.jsx("div", { className: "h-[1px] w-full bg-color-blue-grey-200" }),
1893
+ /* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-center justify-center gap-y-1", children: [
1894
+ t.map((m) => {
1895
+ var u, f;
1896
+ return /* @__PURE__ */ e.jsx("div", { className: "w-full px-4 py-2.5", children: /* @__PURE__ */ e.jsxs("a", { href: (u = m.link) == null ? void 0 : u.href, className: "flex w-full items-center gap-x-1", children: [
1897
+ ((f = m.link) == null ? void 0 : f.icon) && /* @__PURE__ */ e.jsx(h, { name: m.link.icon, className: "size-4" }),
1898
+ m.title
1899
+ ] }) }, m.title);
1900
+ }),
1901
+ /* @__PURE__ */ e.jsx("div", { className: "w-full px-4 py-2.5", children: /* @__PURE__ */ e.jsxs("a", { href: `tel:${n}`, className: "flex w-full items-center gap-x-1", children: [
1902
+ /* @__PURE__ */ e.jsx(h, { name: "communication/phone", className: "size-4" }),
1903
+ F(n)
1904
+ ] }) })
1905
+ ] })
1906
+ ]
1907
+ }
1908
+ );
1909
+ }, Jt = ({ categories: o, helpers: t, phone: n }) => {
1910
+ var p;
1911
+ const i = $(null), r = (p = i.current) == null ? void 0 : p.getBoundingClientRect(), [d, x] = v(!1), a = () => x(!d);
1912
+ return /* @__PURE__ */ e.jsxs("div", { ref: i, className: "relative flex w-full items-center justify-between border-b border-b-blue-grey-500 py-4", children: [
1913
+ /* @__PURE__ */ e.jsx(h, { name: "brandLogos/logoMain", className: "w-[130px]" }),
1914
+ /* @__PURE__ */ e.jsx("button", { type: "button", onClick: a, className: "h-max w-max", children: /* @__PURE__ */ e.jsx(h, { name: d ? "general/close" : "general/menu", className: "size-6 text-color-primary-default" }) }),
1915
+ d && oe(
1916
+ /* @__PURE__ */ e.jsx(
1917
+ qt,
1918
+ {
1919
+ categories: o,
1920
+ helpers: t,
1921
+ phone: n,
1922
+ style: { top: r ? r.top + r.height : 0 }
1923
+ }
1924
+ ),
1925
+ document.body
1926
+ )
1927
+ ] });
1928
+ }, jr = ({ categories: o, helpers: t, phone: n }) => {
1929
+ const { isMobile: i } = C();
1930
+ return /* @__PURE__ */ e.jsxs("div", { id: b.seoHeader, "data-test-id": b.seoHeader, className: "mx-auto w-full max-w-[1440px]", children: [
1931
+ i ? /* @__PURE__ */ e.jsx(Jt, { categories: o.map((r) => r.children).flat(), helpers: t, phone: n }) : /* @__PURE__ */ e.jsx($t, { categories: o, helpers: t, phone: n }),
1932
+ /* @__PURE__ */ e.jsx(
1933
+ Ht,
1934
+ {
1935
+ ellipsis: i ? 1 : void 0,
1936
+ matcher: (r) => ({ label: we(r.label).split("-").join(" ") })
1937
+ }
1938
+ )
1939
+ ] });
1940
+ };
1525
1941
  export {
1526
- Y as Advantages,
1527
- Vt as AuthProvider,
1528
- zt as Banner,
1529
- V as BannerWithSeparateImg,
1530
- Ft as Benefit,
1531
- Xt as Breadcrumbs,
1532
- v as ButtonWithHandlers,
1533
- Gt as DynamicForm,
1534
- $t as FallbacksView,
1535
- at as FieldMapper,
1536
- Ot as Footer,
1537
- ht as HTMLParser,
1538
- M as HTMLRenderer,
1539
- Lt as Header,
1540
- Ut as InterLinking,
1541
- Dt as LongBanner,
1542
- Rt as Stepper,
1543
- Wt as UsefulInfo,
1544
- Zt as WIDGET_LIST
1942
+ ne as Advantages,
1943
+ mr as AuthProvider,
1944
+ lr as Banner,
1945
+ X as BannerWithSeparateImg,
1946
+ ir as Benefit,
1947
+ Ht as Breadcrumbs,
1948
+ I as ButtonWithHandlers,
1949
+ hr as DynamicForm,
1950
+ br as FallbacksView,
1951
+ gt as FieldMapper,
1952
+ xr as Footer,
1953
+ vt as HTMLParser,
1954
+ L as HTMLRenderer,
1955
+ dr as Header,
1956
+ ur as InterLinking,
1957
+ pr as LongBanner,
1958
+ jr as SeoHeader,
1959
+ ar as Stepper,
1960
+ fr as UsefulInfo,
1961
+ Ie as WIDGET_LIST,
1962
+ b as widgetIds
1545
1963
  };
1546
1964
  //# sourceMappingURL=widget.js.map