@scbt-ecom/ui 0.28.1 → 0.30.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/dist/_commonjsHelpers-DaMA6jEr.js +9 -0
  2. package/dist/_commonjsHelpers-DaMA6jEr.js.map +1 -0
  3. package/dist/config.js +1 -1
  4. package/dist/shared/ui/formElements/controlled/index.d.ts +8 -10
  5. package/dist/shared/ui/formElements/controlled/slider/SliderControl.d.ts +12 -0
  6. package/dist/shared/ui/formElements/controlled/slider/index.d.ts +1 -0
  7. package/dist/shared/ui/formElements/editorControl/model/config.d.ts +1 -1
  8. package/dist/shared/ui/formElements/editorControl/ui/Editor.d.ts +7 -2
  9. package/dist/shared/ui/formElements/index.d.ts +0 -1
  10. package/dist/shared/ui/formElements/uncontrolled/index.d.ts +5 -11
  11. package/dist/shared/ui/formElements/uncontrolled/input/Input.d.ts +1 -1
  12. package/dist/shared/ui/formElements/uncontrolled/maskInput/MaskInput.d.ts +1 -5
  13. package/dist/shared/ui/formElements/uncontrolled/select/index.d.ts +1 -0
  14. package/dist/shared/ui/formElements/uncontrolled/select/model/typeGuards.d.ts +2 -0
  15. package/dist/shared/ui/formElements/uncontrolled/slider/SliderBase.d.ts +74 -0
  16. package/dist/shared/ui/formElements/uncontrolled/slider/index.d.ts +1 -0
  17. package/dist/shared/ui/formElements/uncontrolled/slider/model/helpers/dates/getIntlMonth.d.ts +1 -0
  18. package/dist/shared/ui/formElements/uncontrolled/slider/model/helpers/dates/getYearIntl.d.ts +1 -0
  19. package/dist/shared/ui/formElements/uncontrolled/slider/model/helpers/dates/index.d.ts +2 -0
  20. package/dist/shared/ui/formElements/{sliderControl → uncontrolled/slider}/model/helpers/index.d.ts +0 -1
  21. package/dist/shared/ui/formElements/{sliderControl → uncontrolled/slider}/model/useLogarithmic.d.ts +1 -1
  22. package/dist/shared/ui/formElements/uncontrolled/slider/model/useSlider.d.ts +17 -0
  23. package/dist/shared/ui/formElements/uncontrolled/slider/ui/Slider.d.ts +20 -0
  24. package/dist/shared/ui/formElements/uncontrolled/uploader/ui/UploaderFilename.d.ts +1 -1
  25. package/dist/ui.js +5362 -5350
  26. package/dist/ui.js.map +1 -1
  27. package/dist/widget.js +2215 -386
  28. package/dist/widget.js.map +1 -1
  29. package/dist/widgets/pageHeader/PageHeader.d.ts +1 -2
  30. package/dist/widgets/pageHeader/model/helpers.d.ts +2 -0
  31. package/dist/widgets/pageHeader/{types.d.ts → model/types.d.ts} +5 -4
  32. package/dist/widgets/stepper/Stepper.d.ts +10 -13
  33. package/dist/widgets/stepper/index.d.ts +1 -1
  34. package/dist/widgets/stepper/model/types.d.ts +11 -0
  35. package/dist/widgets/stepper/ui/SingleStep.d.ts +3 -8
  36. package/package.json +2 -1
  37. package/dist/_commonjsHelpers-C6fGbg64.js +0 -7
  38. package/dist/_commonjsHelpers-C6fGbg64.js.map +0 -1
  39. package/dist/shared/ui/formElements/sliderControl/SliderControl.d.ts +0 -31
  40. package/dist/shared/ui/formElements/sliderControl/index.d.ts +0 -1
  41. package/dist/shared/ui/formElements/sliderControl/model/helpers/dates/getEndWordMonth.d.ts +0 -1
  42. package/dist/shared/ui/formElements/sliderControl/model/helpers/dates/getYearEnding.d.ts +0 -1
  43. package/dist/shared/ui/formElements/sliderControl/model/helpers/dates/index.d.ts +0 -2
  44. package/dist/shared/ui/formElements/sliderControl/model/helpers/getStepByVariant.d.ts +0 -2
  45. package/dist/shared/ui/formElements/sliderControl/model/useSlider.d.ts +0 -8
  46. package/dist/shared/ui/formElements/sliderControl/ui/Slider.d.ts +0 -17
  47. /package/dist/shared/ui/formElements/{sliderControl → uncontrolled/slider}/model/helpers/formatNumber.d.ts +0 -0
  48. /package/dist/shared/ui/formElements/{sliderControl → uncontrolled/slider}/model/helpers/getInputSliderSuffix.d.ts +0 -0
  49. /package/dist/shared/ui/formElements/{sliderControl → uncontrolled/slider}/model/types.d.ts +0 -0
  50. /package/dist/shared/ui/formElements/{sliderControl → uncontrolled/slider}/ui/index.d.ts +0 -0
package/dist/widget.js CHANGED
@@ -1,9 +1,11 @@
1
- import { j as t, B as g, H as k, c as j, R as a, b as R, P as W, I as u, C as w, S as T, a as V, L as D, d as y, A as E } from "./CustomLink-CKaoTS8A.js";
2
- import { c as i } from "./cn-DIfn7EPB.js";
3
- import { s as O } from "./scrollToElement-B-reg4jF.js";
4
- import { u as b } from "./useDevice-L83kSsN7.js";
5
- import * as U from "react";
6
- const G = j(
1
+ import { j as o, B as P, H as s, c as I, R as C, P as Pe, b as pt, I as j, C as U, S as ct, a as ht, L as mt, d as oe, A as Le } from "./CustomLink-CKaoTS8A.js";
2
+ import { c as l } from "./cn-DIfn7EPB.js";
3
+ import { s as xt } from "./scrollToElement-B-reg4jF.js";
4
+ import { u as S } from "./useDevice-L83kSsN7.js";
5
+ import { c as v, g as gt } from "./_commonjsHelpers-DaMA6jEr.js";
6
+ import * as vt from "react";
7
+ import He from "react";
8
+ const yt = I(
7
9
  "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",
8
10
  {
9
11
  variants: {
@@ -14,45 +16,45 @@ const G = j(
14
16
  }
15
17
  }
16
18
  }
17
- ), Z = ({
18
- description: o,
19
- title: e,
20
- img: d,
21
- mobileImg: r,
22
- classes: n,
23
- withButton: x,
24
- buttonText: m,
25
- intent: f,
26
- cardColor: h
19
+ ), bt = ({
20
+ description: e,
21
+ title: t,
22
+ img: r,
23
+ mobileImg: n,
24
+ classes: i,
25
+ withButton: a,
26
+ buttonText: f,
27
+ intent: p,
28
+ cardColor: u
27
29
  }) => {
28
- const { isDesktop: l } = b(), p = /* @__PURE__ */ t.jsx(t.Fragment, { children: /* @__PURE__ */ t.jsx(
29
- g,
30
+ const { isDesktop: c } = S(), d = /* @__PURE__ */ o.jsx(o.Fragment, { children: /* @__PURE__ */ o.jsx(
31
+ P,
30
32
  {
31
33
  intent: "primary",
32
- className: i("desktop:w-[200px]", n == null ? void 0 : n.button),
33
- onClick: () => O("personal_form"),
34
+ className: l("desktop:w-[200px]", i == null ? void 0 : i.button),
35
+ onClick: () => xt("personal_form"),
34
36
  size: "lg",
35
- children: m
37
+ children: f
36
38
  }
37
39
  ) });
38
- return /* @__PURE__ */ t.jsxs(
40
+ return /* @__PURE__ */ o.jsxs(
39
41
  "li",
40
42
  {
41
- className: i(G({ intent: f }), { "pb-0": r }, { "pb-12": !r }, h, n == null ? void 0 : n.item),
43
+ className: l(yt({ intent: p }), { "pb-0": n }, { "pb-12": !n }, u, i == null ? void 0 : i.item),
42
44
  children: [
43
- /* @__PURE__ */ t.jsxs("div", { className: i("flex flex-col items-start justify-between px-4 desktop:px-8 desktop:py-8", n == null ? void 0 : n.itemWrapper), children: [
44
- /* @__PURE__ */ t.jsxs("div", { className: i("flex flex-col gap-4", n == null ? void 0 : n.itemTextContainer), children: [
45
- /* @__PURE__ */ t.jsx(k, { as: "h4", className: i("desktop:desk-title-bold-s", n == null ? void 0 : n.headingBenefitItem), children: e }),
46
- /* @__PURE__ */ t.jsx("p", { className: i("mob-body-regular-l text-icon-blue-grey-800 desktop:desk-body-regular-l", n == null ? void 0 : n.itemDescription), children: o })
45
+ /* @__PURE__ */ o.jsxs("div", { className: l("flex flex-col items-start justify-between px-4 desktop:px-8 desktop:py-8", i == null ? void 0 : i.itemWrapper), children: [
46
+ /* @__PURE__ */ o.jsxs("div", { className: l("flex flex-col gap-4", i == null ? void 0 : i.itemTextContainer), children: [
47
+ /* @__PURE__ */ o.jsx(s, { as: "h4", className: l("desktop:desk-title-bold-s", i == null ? void 0 : i.headingBenefitItem), children: t }),
48
+ /* @__PURE__ */ o.jsx("p", { className: l("mob-body-regular-l text-icon-blue-grey-800 desktop:desk-body-regular-l", i == null ? void 0 : i.itemDescription), children: e })
47
49
  ] }),
48
- x && l && p
50
+ a && c && d
49
51
  ] }),
50
- (r || l) && d && /* @__PURE__ */ t.jsx("div", { className: i("flex w-full justify-end", n == null ? void 0 : n.imgWrapper), children: /* @__PURE__ */ t.jsx("img", { className: i("h-[246px] object-cover", n == null ? void 0 : n.img), src: d, alt: e }) })
52
+ (n || c) && r && /* @__PURE__ */ o.jsx("div", { className: l("flex w-full justify-end", i == null ? void 0 : i.imgWrapper), children: /* @__PURE__ */ o.jsx("img", { className: l("h-[246px] object-cover", i == null ? void 0 : i.img), src: r, alt: t }) })
51
53
  ]
52
54
  },
53
- d
55
+ r
54
56
  );
55
- }, S = j("grid gap-4", {
57
+ }, kt = I("grid gap-4", {
56
58
  variants: {
57
59
  intent: {
58
60
  twoCards: "grid-cols-1 mobile:grid-rows-[repeat(2,400px)] desktop:grid-cols-2",
@@ -60,234 +62,234 @@ const G = j(
60
62
  fourCards: "grid-cols-1 mobile:grid-rows-[400px,1fr,1fr,400px] desktop:grid-cols-3"
61
63
  }
62
64
  }
63
- }), jt = ({ heading: o, cards: e, classes: d, intent: r }) => /* @__PURE__ */ t.jsx("section", { className: i("pb-20", d == null ? void 0 : d.section), children: /* @__PURE__ */ t.jsxs(a, { children: [
64
- /* @__PURE__ */ t.jsx(k, { className: "mb-8", as: "h2", children: o }),
65
- /* @__PURE__ */ t.jsx("ul", { className: i(S({ intent: r }), d == null ? void 0 : d.grid), children: e == null ? void 0 : e.map((n) => /* @__PURE__ */ t.jsx(Z, { intent: r, classes: d, ...n }, n.img)) })
66
- ] }) }), $ = (o) => {
67
- var e;
68
- switch (o.variant) {
65
+ }), nn = ({ heading: e, cards: t, classes: r, intent: n }) => /* @__PURE__ */ o.jsx("section", { className: l("pb-20", r == null ? void 0 : r.section), children: /* @__PURE__ */ o.jsxs(C, { children: [
66
+ /* @__PURE__ */ o.jsx(s, { className: "mb-8", as: "h2", children: e }),
67
+ /* @__PURE__ */ o.jsx("ul", { className: l(kt({ intent: n }), r == null ? void 0 : r.grid), children: t == null ? void 0 : t.map((i) => /* @__PURE__ */ o.jsx(bt, { intent: n, classes: r, ...i }, i.img)) })
68
+ ] }) }), Et = (e) => {
69
+ var t;
70
+ switch (e.variant) {
69
71
  case "withButton":
70
- return /* @__PURE__ */ t.jsx(g, { intent: "secondary", size: "sm", ...o.buttonProps, children: ((e = o.buttonProps) == null ? void 0 : e.children) || "Оформить заявку" });
72
+ return /* @__PURE__ */ o.jsx(P, { intent: "secondary", size: "sm", ...e.buttonProps, children: ((t = e.buttonProps) == null ? void 0 : t.children) || "Оформить заявку" });
71
73
  case "withPhone":
72
- return /* @__PURE__ */ t.jsx(W, { ...o.phoneProps });
74
+ return /* @__PURE__ */ o.jsx(Pe, { ...e.phoneProps });
73
75
  default:
74
76
  return null;
75
77
  }
76
- }, bt = (o) => {
77
- const { logoPath: e = "/", logoType: d = "main", classes: r } = o;
78
- return /* @__PURE__ */ t.jsx("header", { className: i("flex h-[64px] items-center justify-center bg-color-white desktop:h-[72px]", r == null ? void 0 : r.header), children: /* @__PURE__ */ t.jsx(a, { className: i(r == null ? void 0 : r.container), children: /* @__PURE__ */ t.jsxs("div", { className: i("flex items-center justify-between gap-5", r == null ? void 0 : r.wrapper), children: [
79
- /* @__PURE__ */ t.jsx(
78
+ }, on = (e) => {
79
+ const { logoPath: t = "/", logoType: r = "main", classes: n } = e;
80
+ return /* @__PURE__ */ o.jsx("header", { className: l("flex h-[64px] items-center justify-center bg-color-white desktop:h-[72px]", n == null ? void 0 : n.header), children: /* @__PURE__ */ o.jsx(C, { className: l(n == null ? void 0 : n.container), children: /* @__PURE__ */ o.jsxs("div", { className: l("flex items-center justify-between gap-5", n == null ? void 0 : n.wrapper), children: [
81
+ /* @__PURE__ */ o.jsx(
80
82
  "a",
81
83
  {
82
- href: e,
84
+ href: t,
83
85
  "aria-label": "logo",
84
86
  target: "_blank",
85
87
  rel: "noreferrer",
86
- className: i(
88
+ className: l(
87
89
  "flex items-center justify-center [&_svg]:w-[132px] desktop:[&_svg]:h-[32px] desktop:[&_svg]:w-[192px]",
88
- r == null ? void 0 : r.logo
90
+ n == null ? void 0 : n.logo
89
91
  ),
90
- children: R[d]
92
+ children: pt[r]
91
93
  }
92
94
  ),
93
- $(o)
95
+ Et(e)
94
96
  ] }) }) });
95
- }, M = ({ buttonsConfig: o, classes: e, className: d }) => {
96
- var n;
97
- const r = (o == null ? void 0 : o.secondary) && o.secondary.children;
98
- return /* @__PURE__ */ t.jsxs(
97
+ }, Be = ({ buttonsConfig: e, classes: t, className: r }) => {
98
+ var i;
99
+ const n = (e == null ? void 0 : e.secondary) && e.secondary.children;
100
+ return /* @__PURE__ */ o.jsxs(
99
101
  "div",
100
102
  {
101
103
  "data-id": "banner-buttons-group",
102
- className: i(
104
+ className: l(
103
105
  "grid-buttons-apply absolute bottom-6 left-1/2 flex w-full -translate-x-1/2 flex-col justify-self-center px-4 desktop:static desktop:left-auto desktop:max-w-full desktop:translate-x-0 desktop:flex-row desktop:justify-normal desktop:px-0",
104
- { "flex items-center gap-4": r },
105
- e == null ? void 0 : e.group,
106
- d
106
+ { "flex items-center gap-4": n },
107
+ t == null ? void 0 : t.group,
108
+ r
107
109
  ),
108
110
  children: [
109
- /* @__PURE__ */ t.jsx(g, { intent: "primary", ...o.primary, isFull: !0, className: i("desktop:max-w-[216px]", e == null ? void 0 : e.primary), children: o.primary.children }),
110
- r && /* @__PURE__ */ t.jsx(
111
- g,
111
+ /* @__PURE__ */ o.jsx(P, { intent: "primary", ...e.primary, isFull: !0, className: l("desktop:max-w-[216px]", t == null ? void 0 : t.primary), children: e.primary.children }),
112
+ n && /* @__PURE__ */ o.jsx(
113
+ P,
112
114
  {
113
115
  intent: "secondary",
114
- ...o == null ? void 0 : o.secondary,
116
+ ...e == null ? void 0 : e.secondary,
115
117
  isFull: !0,
116
- className: i("desktop:max-w-[216px]", e == null ? void 0 : e.secondary),
117
- children: (n = o == null ? void 0 : o.secondary) == null ? void 0 : n.children
118
+ className: l("desktop:max-w-[216px]", t == null ? void 0 : t.secondary),
119
+ children: (i = e == null ? void 0 : e.secondary) == null ? void 0 : i.children
118
120
  }
119
121
  )
120
122
  ]
121
123
  }
122
124
  );
123
- }, q = ({
124
- headTitle: o,
125
- subtitle: e,
126
- buttonsConfig: d,
127
- advantagesList: r,
128
- classes: n,
129
- img: x,
130
- imgSets: m
125
+ }, wt = ({
126
+ headTitle: e,
127
+ subtitle: t,
128
+ buttonsConfig: r,
129
+ advantagesList: n,
130
+ classes: i,
131
+ img: a,
132
+ imgSets: f
131
133
  }) => {
132
- const { isDesktop: f, isMobile: h } = b(), l = /* @__PURE__ */ t.jsx(
134
+ const { isDesktop: p, isMobile: u } = S(), c = /* @__PURE__ */ o.jsx(
133
135
  "div",
134
136
  {
135
137
  "data-id": "banner-advantages",
136
- className: i(
138
+ className: l(
137
139
  "flex items-center justify-center pt-4 desktop:absolute desktop:bottom-[-50px] desktop:right-1/2 desktop:translate-x-1/2 desktop:pt-0",
138
- n == null ? void 0 : n.advantageContainer
140
+ i == null ? void 0 : i.advantageContainer
139
141
  ),
140
- children: r && (r == null ? void 0 : r.length) > 0 && /* @__PURE__ */ t.jsx(_, { classes: n, advantagesList: r })
142
+ children: n && (n == null ? void 0 : n.length) > 0 && /* @__PURE__ */ o.jsx(Fe, { classes: i, advantagesList: n })
141
143
  }
142
144
  );
143
- return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
144
- /* @__PURE__ */ t.jsxs("section", { "data-id": "banner-section", className: i("relative h-[552px] desktop:h-[456px]", n == null ? void 0 : n.section), children: [
145
- /* @__PURE__ */ t.jsx(
145
+ return /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
146
+ /* @__PURE__ */ o.jsxs("section", { "data-id": "banner-section", className: l("relative h-[552px] desktop:h-[456px]", i == null ? void 0 : i.section), children: [
147
+ /* @__PURE__ */ o.jsx(
146
148
  "div",
147
149
  {
148
150
  "data-id": "banner-img-wrapper",
149
151
  className: "absolute bottom-0 left-0 right-0 top-0 z-[-1] mx-auto h-full max-w-[1920px] desktop:h-[456px]",
150
- children: /* @__PURE__ */ t.jsxs("picture", { children: [
151
- /* @__PURE__ */ t.jsx("source", { media: "(min-width: 1128px)", srcSet: m == null ? void 0 : m.large }),
152
- /* @__PURE__ */ t.jsx("source", { media: "(max-width: 1127px)", srcSet: m == null ? void 0 : m.mob }),
153
- /* @__PURE__ */ t.jsx(
152
+ children: /* @__PURE__ */ o.jsxs("picture", { children: [
153
+ /* @__PURE__ */ o.jsx("source", { media: "(min-width: 1128px)", srcSet: f == null ? void 0 : f.large }),
154
+ /* @__PURE__ */ o.jsx("source", { media: "(max-width: 1127px)", srcSet: f == null ? void 0 : f.mob }),
155
+ /* @__PURE__ */ o.jsx(
154
156
  "img",
155
157
  {
156
158
  "data-id": "banner-image",
157
- src: x,
159
+ src: a,
158
160
  alt: "Картинка баннера",
159
- className: i("h-full w-full object-cover object-center", n == null ? void 0 : n.image)
161
+ className: l("h-full w-full object-cover object-center", i == null ? void 0 : i.image)
160
162
  }
161
163
  )
162
164
  ] })
163
165
  }
164
166
  ),
165
- /* @__PURE__ */ t.jsxs(a, { "data-id": "banner-container", className: i("h-full", n == null ? void 0 : n.container), children: [
166
- /* @__PURE__ */ t.jsx("div", { "data-id": "banner", className: i("flex h-full", n == null ? void 0 : n.wrapper), children: /* @__PURE__ */ t.jsxs(
167
+ /* @__PURE__ */ o.jsxs(C, { "data-id": "banner-container", className: l("h-full", i == null ? void 0 : i.container), children: [
168
+ /* @__PURE__ */ o.jsx("div", { "data-id": "banner", className: l("flex h-full", i == null ? void 0 : i.wrapper), children: /* @__PURE__ */ o.jsxs(
167
169
  "div",
168
170
  {
169
171
  "data-id": "banner-text-block",
170
- className: i("flex w-[328px] flex-col gap-10 pt-6 desktop:w-full desktop:pt-20", n == null ? void 0 : n.textBlock),
172
+ className: l("flex w-[328px] flex-col gap-10 pt-6 desktop:w-full desktop:pt-20", i == null ? void 0 : i.textBlock),
171
173
  children: [
172
- /* @__PURE__ */ t.jsxs("div", { className: "flex flex-col gap-4", children: [
173
- /* @__PURE__ */ t.jsx(k, { "data-id": "banner-title", as: "h1", className: i("text-color-white", n == null ? void 0 : n.title), children: o }),
174
- /* @__PURE__ */ t.jsx("p", { "data-id": "banner-subtitle", className: i("desk-body-regular-l text-color-white", n == null ? void 0 : n.subtitle), children: e })
174
+ /* @__PURE__ */ o.jsxs("div", { className: "flex flex-col gap-4", children: [
175
+ /* @__PURE__ */ o.jsx(s, { "data-id": "banner-title", as: "h1", className: l("text-color-white", i == null ? void 0 : i.title), children: e }),
176
+ /* @__PURE__ */ o.jsx("p", { "data-id": "banner-subtitle", className: l("desk-body-regular-l text-color-white", i == null ? void 0 : i.subtitle), children: t })
175
177
  ] }),
176
- /* @__PURE__ */ t.jsx(
177
- M,
178
+ /* @__PURE__ */ o.jsx(
179
+ Be,
178
180
  {
179
181
  className: "self-end desktop:self-center",
180
182
  "data-id": "banner-buttons-group",
181
- buttonsConfig: d,
182
- classes: n
183
+ buttonsConfig: r,
184
+ classes: i
183
185
  }
184
186
  )
185
187
  ]
186
188
  }
187
189
  ) }),
188
- f && l
190
+ p && c
189
191
  ] })
190
192
  ] }),
191
- h && l
193
+ u && c
192
194
  ] });
193
- }, C = ({
194
- headTitle: o,
195
- subtitle: e,
196
- buttonsConfig: d,
197
- advantagesList: r,
198
- classes: n,
199
- img: x,
200
- imgSets: m
195
+ }, ye = ({
196
+ headTitle: e,
197
+ subtitle: t,
198
+ buttonsConfig: r,
199
+ advantagesList: n,
200
+ classes: i,
201
+ img: a,
202
+ imgSets: f
201
203
  }) => {
202
- const { isDesktop: f, isMobile: h } = b(), l = /* @__PURE__ */ t.jsx(
204
+ const { isDesktop: p, isMobile: u } = S(), c = /* @__PURE__ */ o.jsx(
203
205
  "div",
204
206
  {
205
207
  "data-id": "banner-advantages",
206
- className: i(
208
+ className: l(
207
209
  "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",
208
- n == null ? void 0 : n.advantageContainer
210
+ i == null ? void 0 : i.advantageContainer
209
211
  ),
210
- children: r && (r == null ? void 0 : r.length) > 0 && /* @__PURE__ */ t.jsx(_, { classes: n, advantagesList: r })
212
+ children: n && (n == null ? void 0 : n.length) > 0 && /* @__PURE__ */ o.jsx(Fe, { classes: i, advantagesList: n })
211
213
  }
212
214
  );
213
- return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
214
- /* @__PURE__ */ t.jsx("section", { "data-id": "banner-section", className: i("bg-banner-skyblue-300 desktop:h-[456px]", n == null ? void 0 : n.section), children: /* @__PURE__ */ t.jsxs(a, { "data-id": "banner-container", className: i("relative", n == null ? void 0 : n.container), children: [
215
- /* @__PURE__ */ t.jsxs("div", { "data-id": "banner", className: i("flex flex-col desktop:flex-row desktop:justify-between", n == null ? void 0 : n.wrapper), children: [
216
- /* @__PURE__ */ t.jsxs("div", { className: "flex flex-col desktop:gap-10 desktop:pt-20", children: [
217
- /* @__PURE__ */ t.jsxs("div", { "data-id": "banner-text-block", className: i("flex flex-col gap-4 pt-6 desktop:pt-0", n == null ? void 0 : n.textBlock), children: [
218
- /* @__PURE__ */ t.jsx(k, { "data-id": "banner-title", as: "h1", className: i("text-color-dark", n == null ? void 0 : n.title), children: o }),
219
- /* @__PURE__ */ t.jsx("p", { "data-id": "banner-subtitle", className: i("desk-body-regular-l text-color-dark", n == null ? void 0 : n.subtitle), children: e })
215
+ return /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
216
+ /* @__PURE__ */ o.jsx("section", { "data-id": "banner-section", className: l("bg-banner-skyblue-300 desktop:h-[456px]", i == null ? void 0 : i.section), children: /* @__PURE__ */ o.jsxs(C, { "data-id": "banner-container", className: l("relative", i == null ? void 0 : i.container), children: [
217
+ /* @__PURE__ */ o.jsxs("div", { "data-id": "banner", className: l("flex flex-col desktop:flex-row desktop:justify-between", i == null ? void 0 : i.wrapper), children: [
218
+ /* @__PURE__ */ o.jsxs("div", { className: "flex flex-col desktop:gap-10 desktop:pt-20", children: [
219
+ /* @__PURE__ */ o.jsxs("div", { "data-id": "banner-text-block", className: l("flex flex-col gap-4 pt-6 desktop:pt-0", i == null ? void 0 : i.textBlock), children: [
220
+ /* @__PURE__ */ o.jsx(s, { "data-id": "banner-title", as: "h1", className: l("text-color-dark", i == null ? void 0 : i.title), children: e }),
221
+ /* @__PURE__ */ o.jsx("p", { "data-id": "banner-subtitle", className: l("desk-body-regular-l text-color-dark", i == null ? void 0 : i.subtitle), children: t })
220
222
  ] }),
221
- /* @__PURE__ */ t.jsx(M, { buttonsConfig: d, classes: n })
223
+ /* @__PURE__ */ o.jsx(Be, { buttonsConfig: r, classes: i })
222
224
  ] }),
223
- /* @__PURE__ */ t.jsx(
225
+ /* @__PURE__ */ o.jsx(
224
226
  "div",
225
227
  {
226
228
  "data-id": "banner-image-wrapper",
227
- className: i("flex h-[356px] justify-center desktop:h-[456px] desktop:w-[550px]", n == null ? void 0 : n.imageContainer),
228
- children: /* @__PURE__ */ t.jsxs("picture", { children: [
229
- /* @__PURE__ */ t.jsx("source", { media: "(min-width: 1128px)", srcSet: m == null ? void 0 : m.large }),
230
- /* @__PURE__ */ t.jsx("source", { media: "(max-width: 1127px)", srcSet: m == null ? void 0 : m.mob }),
231
- /* @__PURE__ */ t.jsx(
229
+ className: l("flex h-[356px] justify-center desktop:h-[456px] desktop:w-[550px]", i == null ? void 0 : i.imageContainer),
230
+ children: /* @__PURE__ */ o.jsxs("picture", { children: [
231
+ /* @__PURE__ */ o.jsx("source", { media: "(min-width: 1128px)", srcSet: f == null ? void 0 : f.large }),
232
+ /* @__PURE__ */ o.jsx("source", { media: "(max-width: 1127px)", srcSet: f == null ? void 0 : f.mob }),
233
+ /* @__PURE__ */ o.jsx(
232
234
  "img",
233
235
  {
234
236
  "data-id": "banner-image",
235
- src: x,
237
+ src: a,
236
238
  alt: "Картинка баннера",
237
- className: i("h-full object-cover", n == null ? void 0 : n.image)
239
+ className: l("h-full object-cover", i == null ? void 0 : i.image)
238
240
  }
239
241
  )
240
242
  ] })
241
243
  }
242
244
  )
243
245
  ] }),
244
- f && l
246
+ p && c
245
247
  ] }) }),
246
- h && l
248
+ u && c
247
249
  ] });
248
- }, gt = ({ bannerVariant: o, ...e }) => {
249
- switch (o) {
250
+ }, an = ({ bannerVariant: e, ...t }) => {
251
+ switch (e) {
250
252
  case "separateImg":
251
- return /* @__PURE__ */ t.jsx(C, { ...e });
253
+ return /* @__PURE__ */ o.jsx(ye, { ...t });
252
254
  case "fullImg":
253
- return /* @__PURE__ */ t.jsx(q, { ...e });
255
+ return /* @__PURE__ */ o.jsx(wt, { ...t });
254
256
  default:
255
- return /* @__PURE__ */ t.jsx(C, { ...e });
257
+ return /* @__PURE__ */ o.jsx(ye, { ...t });
256
258
  }
257
- }, _ = ({ advantagesList: o, classes: e }) => /* @__PURE__ */ t.jsx(
259
+ }, Fe = ({ advantagesList: e, classes: t }) => /* @__PURE__ */ o.jsx(
258
260
  "div",
259
261
  {
260
- className: i(
262
+ className: l(
261
263
  "flex w-full max-w-[636px] flex-col gap-8 rounded-md bg-color-white p-6 shadow-sm desktop:w-full desktop:max-w-full desktop:flex-row desktop:items-start desktop:gap-0 desktop:p-0 desktop:py-6",
262
- e == null ? void 0 : e.advantageWrapper
264
+ t == null ? void 0 : t.advantageWrapper
263
265
  ),
264
- children: o == null ? void 0 : o.map(({ title: d, description: r }) => /* @__PURE__ */ t.jsxs(
266
+ children: e == null ? void 0 : e.map(({ title: r, description: n }) => /* @__PURE__ */ o.jsxs(
265
267
  "div",
266
268
  {
267
- className: i(
269
+ className: l(
268
270
  'after:content-[" "] relative flex h-full w-full flex-col gap-1 after:absolute after:-bottom-4 after:left-1/2 after:h-[1px] after:w-full after:-translate-x-1/2 after:bg-color-blue-grey-300 last:after:hidden desktop:w-[285px] desktop:px-8 desktop:after:bottom-auto desktop:after:left-auto desktop:after:right-0 desktop:after:top-1/2 desktop:after:h-10 desktop:after:w-[1px] desktop:after:-translate-y-1/2 desktop:after:translate-x-0',
269
- e == null ? void 0 : e.advantageItem
271
+ t == null ? void 0 : t.advantageItem
270
272
  ),
271
273
  children: [
272
- /* @__PURE__ */ t.jsx(k, { as: "h4", className: i("text-color-dark", e == null ? void 0 : e.advantageTitle), children: d }),
273
- /* @__PURE__ */ t.jsx("p", { className: i("desk-body-regular-l text-color-secondary", e == null ? void 0 : e.advantageDescription), children: r })
274
+ /* @__PURE__ */ o.jsx(s, { as: "h4", className: l("text-color-dark", t == null ? void 0 : t.advantageTitle), children: r }),
275
+ /* @__PURE__ */ o.jsx("p", { className: l("desk-body-regular-l text-color-secondary", t == null ? void 0 : t.advantageDescription), children: n })
274
276
  ]
275
277
  },
276
- d
278
+ r
277
279
  ))
278
280
  }
279
- ), J = /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
281
+ ), jt = /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
280
282
  "© 2004-2024, ПАО «Совкомбанк». Все права защищены. ",
281
- /* @__PURE__ */ t.jsx("br", { className: "mobile:hidden" }),
283
+ /* @__PURE__ */ o.jsx("br", { className: "mobile:hidden" }),
282
284
  " Генеральная лицензия Банка России №963 от 5 декабря 2014 г."
283
- ] }), K = [
285
+ ] }), _t = [
284
286
  { phone: "8 800 100-00-06", text: "Звонок по России (бесплатно)" },
285
287
  { phone: "+7 (495) 988 00 00", text: "Для звонков из-за рубежа (платно)" }
286
- ], Q = [
288
+ ], st = [
287
289
  { iconName: "social/vk", href: "https://vk.com/sovcombank" },
288
290
  { iconName: "social/telegram", href: "https://t.me/sovcombankofficial" },
289
291
  { iconName: "social/classmates", href: "https://ok.ru/paosovcombank" }
290
- ], X = [
292
+ ], Ct = [
291
293
  {
292
294
  groupLabel: "Совкомбанк",
293
295
  links: [
@@ -364,62 +366,62 @@ const G = j(
364
366
  { text: "Офисы и банкоматы", href: "/" }
365
367
  ]
366
368
  }
367
- ], Y = ({ socialsLinks: o, classes: e }) => /* @__PURE__ */ t.jsx("div", { className: i("mt-4 flex items-center gap-2 desktop:mt-6", e == null ? void 0 : e.socialRoot), children: o == null ? void 0 : o.map(({ iconName: d, href: r }) => /* @__PURE__ */ t.jsx(
369
+ ], Nt = ({ socialsLinks: e, classes: t }) => /* @__PURE__ */ o.jsx("div", { className: l("mt-4 flex items-center gap-2 desktop:mt-6", t == null ? void 0 : t.socialRoot), children: e == null ? void 0 : e.map(({ iconName: r, href: n }) => /* @__PURE__ */ o.jsx(
368
370
  "a",
369
371
  {
370
- className: i("flex size-8 items-center justify-center rounded-full bg-[#52576a] p-2", e == null ? void 0 : e.socialLink),
371
- href: r,
372
- "aria-label": d.replace("social/", ""),
373
- children: /* @__PURE__ */ t.jsx(u, { name: d, className: i("h-full w-full text-icon-white", e == null ? void 0 : e.socialIcon) })
372
+ className: l("flex size-8 items-center justify-center rounded-full bg-[#52576a] p-2", t == null ? void 0 : t.socialLink),
373
+ href: n,
374
+ "aria-label": r.replace("social/", ""),
375
+ children: /* @__PURE__ */ o.jsx(j, { name: r, className: l("h-full w-full text-icon-white", t == null ? void 0 : t.socialIcon) })
374
376
  },
375
- r
376
- )) }), L = ({ phones: o, classes: e }) => /* @__PURE__ */ t.jsx("div", { className: i("flex flex-col gap-4 desktop:items-end", e == null ? void 0 : e.phonesRoot), children: o == null ? void 0 : o.map(({ phone: d, text: r }) => /* @__PURE__ */ t.jsx(
377
- W,
377
+ n
378
+ )) }), Tt = ({ phones: e, classes: t }) => /* @__PURE__ */ o.jsx("div", { className: l("flex flex-col gap-4 desktop:items-end", t == null ? void 0 : t.phonesRoot), children: e == null ? void 0 : e.map(({ phone: r, text: n }) => /* @__PURE__ */ o.jsx(
379
+ Pe,
378
380
  {
379
- phone: d,
380
- text: r,
381
+ phone: r,
382
+ text: n,
381
383
  classes: {
382
- wrapper: i(e == null ? void 0 : e.phoneWrapper),
383
- text: i("text-color-footer", e == null ? void 0 : e.phoneText),
384
- link: i("text-color-white mobile:m-0", e == null ? void 0 : e.phoneLink)
384
+ wrapper: l(t == null ? void 0 : t.phoneWrapper),
385
+ text: l("text-color-footer", t == null ? void 0 : t.phoneText),
386
+ link: l("text-color-white mobile:m-0", t == null ? void 0 : t.phoneLink)
385
387
  }
386
388
  },
387
- d
388
- )) }), P = ({ navigationLinks: o, classes: e }) => /* @__PURE__ */ t.jsx(
389
+ r
390
+ )) }), Rt = ({ navigationLinks: e, classes: t }) => /* @__PURE__ */ o.jsx(
389
391
  "div",
390
392
  {
391
- className: i(
393
+ className: l(
392
394
  "mt-6 grid grid-cols-1 gap-6 border-b border-blue-grey-500 pb-6 desktop:my-8 desktop:grid-cols-4 desktop:gap-10 desktop:pb-8",
393
- e == null ? void 0 : e.navRoot
395
+ t == null ? void 0 : t.navRoot
394
396
  ),
395
- children: o == null ? void 0 : o.map(({ groupLabel: d, links: r }) => /* @__PURE__ */ t.jsxs("div", { className: i("flex flex-col gap-4", e == null ? void 0 : e.navGroup), children: [
396
- /* @__PURE__ */ t.jsx("div", { className: i("desk-body-medium-l text-color-white", e == null ? void 0 : e.navLabel), children: d }),
397
- /* @__PURE__ */ t.jsx("div", { className: i("flex flex-col gap-1", e == null ? void 0 : e.navLinks), children: r == null ? void 0 : r.map(({ text: n, href: x }) => /* @__PURE__ */ t.jsx(
398
- w,
397
+ children: e == null ? void 0 : e.map(({ groupLabel: r, links: n }) => /* @__PURE__ */ o.jsxs("div", { className: l("flex flex-col gap-4", t == null ? void 0 : t.navGroup), children: [
398
+ /* @__PURE__ */ o.jsx("div", { className: l("desk-body-medium-l text-color-white", t == null ? void 0 : t.navLabel), children: r }),
399
+ /* @__PURE__ */ o.jsx("div", { className: l("flex flex-col gap-1", t == null ? void 0 : t.navLinks), children: n == null ? void 0 : n.map(({ text: i, href: a }) => /* @__PURE__ */ o.jsx(
400
+ U,
399
401
  {
400
- href: x,
401
- "aria-label": n,
402
+ href: a,
403
+ "aria-label": i,
402
404
  intent: "white",
403
405
  classes: {
404
- link: e == null ? void 0 : e.navLink,
405
- icon: e == null ? void 0 : e.navLinkIcon
406
+ link: t == null ? void 0 : t.navLink,
407
+ icon: t == null ? void 0 : t.navLinkIcon
406
408
  },
407
- children: n
409
+ children: i
408
410
  },
409
- n
411
+ i
410
412
  )) })
411
- ] }, d))
413
+ ] }, r))
412
414
  }
413
- ), A = ({ text: o, classes: e }) => /* @__PURE__ */ t.jsx("div", { className: i("desk-body-regular-m text-color-footer", e == null ? void 0 : e.copyRight), children: o }), c = ({ classes: o }) => /* @__PURE__ */ t.jsx(
415
+ ), It = ({ text: e, classes: t }) => /* @__PURE__ */ o.jsx("div", { className: l("desk-body-regular-m text-color-footer", t == null ? void 0 : t.copyRight), children: e }), Ot = ({ classes: e }) => /* @__PURE__ */ o.jsx(
414
416
  "a",
415
417
  {
416
418
  "aria-label": "logo",
417
419
  href: "https://sovcombank.ru/",
418
- className: i("block h-[24px] w-[132px] desktop:h-[32px] desktop:w-[194px]", o == null ? void 0 : o.footerLogo),
419
- children: /* @__PURE__ */ t.jsx(u, { name: "brandLogos/logoWhite", className: i("size-full", o == null ? void 0 : o.footerLogoIcon) })
420
+ className: l("block h-[24px] w-[132px] desktop:h-[32px] desktop:w-[194px]", e == null ? void 0 : e.footerLogo),
421
+ children: /* @__PURE__ */ o.jsx(j, { name: "brandLogos/logoWhite", className: l("size-full", e == null ? void 0 : e.footerLogoIcon) })
420
422
  }
421
- ), s = ({ classes: o }) => /* @__PURE__ */ t.jsx(
422
- w,
423
+ ), St = ({ classes: e }) => /* @__PURE__ */ o.jsx(
424
+ U,
423
425
  {
424
426
  intent: "white",
425
427
  href: "https://sovcombank.ru/site-map",
@@ -427,88 +429,1915 @@ const G = j(
427
429
  "aria-label": "site-map",
428
430
  rel: "noreferrer",
429
431
  classes: {
430
- link: i("mobile:mt-6", o == null ? void 0 : o.siteMapLink),
431
- icon: o == null ? void 0 : o.siteMapLinkIcon
432
+ link: l("mobile:mt-6", e == null ? void 0 : e.siteMapLink),
433
+ icon: e == null ? void 0 : e.siteMapLinkIcon
432
434
  },
433
435
  children: "Карта сайта"
434
436
  }
435
- ), wt = ({
436
- renderBlocks: { withSocial: o = !0, withPhones: e = !0, withNavLinks: d = !0, withCopyright: r = !0, withSiteMap: n = !0 } = {},
437
- socialsLinks: x = Q,
438
- phones: m = K,
439
- navigationLinks: f = X,
440
- ligal: h,
441
- copyright: l = J,
442
- classes: p
443
- }) => /* @__PURE__ */ t.jsx("footer", { className: i("w-full bg-color-footer py-8 desktop:py-10", p == null ? void 0 : p.root), children: /* @__PURE__ */ t.jsx(a, { className: i(p == null ? void 0 : p.footerContainer), children: /* @__PURE__ */ t.jsxs("div", { className: i("mobile:pb-[176px]", p == null ? void 0 : p.footerWrapper), children: [
444
- /* @__PURE__ */ t.jsxs(
437
+ ), ln = ({
438
+ renderBlocks: { withSocial: e = !0, withPhones: t = !0, withNavLinks: r = !0, withCopyright: n = !0, withSiteMap: i = !0 } = {},
439
+ socialsLinks: a = st,
440
+ phones: f = _t,
441
+ navigationLinks: p = Ct,
442
+ ligal: u,
443
+ copyright: c = jt,
444
+ classes: d
445
+ }) => /* @__PURE__ */ o.jsx("footer", { className: l("w-full bg-color-footer py-8 desktop:py-10", d == null ? void 0 : d.root), children: /* @__PURE__ */ o.jsx(C, { className: l(d == null ? void 0 : d.footerContainer), children: /* @__PURE__ */ o.jsxs("div", { className: l("mobile:pb-[176px]", d == null ? void 0 : d.footerWrapper), children: [
446
+ /* @__PURE__ */ o.jsxs(
445
447
  "div",
446
448
  {
447
- className: i(
449
+ className: l(
448
450
  "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",
449
- p == null ? void 0 : p.footerHead
451
+ d == null ? void 0 : d.footerHead
450
452
  ),
451
453
  children: [
452
- /* @__PURE__ */ t.jsxs("div", { className: i(p == null ? void 0 : p.footerSocialBlock), children: [
453
- /* @__PURE__ */ t.jsx(c, { classes: p == null ? void 0 : p.footerLogo }),
454
- o && /* @__PURE__ */ t.jsx(Y, { socialsLinks: x, classes: p == null ? void 0 : p.socialLinks })
454
+ /* @__PURE__ */ o.jsxs("div", { className: l(d == null ? void 0 : d.footerSocialBlock), children: [
455
+ /* @__PURE__ */ o.jsx(Ot, { classes: d == null ? void 0 : d.footerLogo }),
456
+ e && /* @__PURE__ */ o.jsx(Nt, { socialsLinks: a, classes: d == null ? void 0 : d.socialLinks })
455
457
  ] }),
456
- e && /* @__PURE__ */ t.jsx(L, { phones: m, classes: p == null ? void 0 : p.phonesBlock })
458
+ t && /* @__PURE__ */ o.jsx(Tt, { phones: f, classes: d == null ? void 0 : d.phonesBlock })
457
459
  ]
458
460
  }
459
461
  ),
460
- d && /* @__PURE__ */ t.jsx(P, { navigationLinks: f, classes: p == null ? void 0 : p.navLinks }),
461
- h && h,
462
- /* @__PURE__ */ t.jsxs(
462
+ r && /* @__PURE__ */ o.jsx(Rt, { navigationLinks: p, classes: d == null ? void 0 : d.navLinks }),
463
+ u && u,
464
+ /* @__PURE__ */ o.jsxs(
463
465
  "div",
464
466
  {
465
- className: i(
467
+ className: l(
466
468
  "mt-6 flex flex-col-reverse items-start justify-between gap-4 desktop:mt-8 desktop:flex-row desktop:gap-6",
467
- p == null ? void 0 : p.footerBottom
469
+ d == null ? void 0 : d.footerBottom
468
470
  ),
469
471
  children: [
470
- r && /* @__PURE__ */ t.jsx(A, { text: l, classes: p == null ? void 0 : p.copyright }),
471
- n && /* @__PURE__ */ t.jsx(s, { classes: p == null ? void 0 : p.siteMap })
472
+ n && /* @__PURE__ */ o.jsx(It, { text: c, classes: d == null ? void 0 : d.copyright }),
473
+ i && /* @__PURE__ */ o.jsx(St, { classes: d == null ? void 0 : d.siteMap })
472
474
  ]
473
475
  }
474
476
  )
475
- ] }) }) }), tt = ({ title: o, description: e, index: d, classes: r }) => /* @__PURE__ */ t.jsxs(
476
- "div",
477
- {
478
- className: i(
479
- "flex w-[328px] max-w-[328px] flex-col gap-6 rounded-md border border-solid border-blue-grey-500 p-4 desktop:w-[348px] desktop:max-w-[348px] desktop:border-none desktop:p-0",
480
- r == null ? void 0 : r.singleStep
481
- ),
482
- children: [
483
- /* @__PURE__ */ t.jsx(
484
- "div",
485
- {
486
- className: i(
487
- "mob-headline-bold-s flex size-10 items-center justify-center rounded-sm bg-color-blue-grey-500 text-color-white desktop:desk-title-bold-l desktop:size-12",
488
- r == null ? void 0 : r.numeric
489
- ),
490
- children: d
477
+ ] }) }) });
478
+ var ze = {}, ae = {}, le = {}, O = {}, de = {}, ue = {};
479
+ (function(e) {
480
+ Object.defineProperty(e, "__esModule", { value: !0 }), e.Doctype = e.CDATA = e.Tag = e.Style = e.Script = e.Comment = e.Directive = e.Text = e.Root = e.isTag = e.ElementType = void 0;
481
+ var t;
482
+ (function(n) {
483
+ n.Root = "root", n.Text = "text", n.Directive = "directive", n.Comment = "comment", n.Script = "script", n.Style = "style", n.Tag = "tag", n.CDATA = "cdata", n.Doctype = "doctype";
484
+ })(t = e.ElementType || (e.ElementType = {}));
485
+ function r(n) {
486
+ return n.type === t.Tag || n.type === t.Script || n.type === t.Style;
487
+ }
488
+ e.isTag = r, e.Root = t.Root, e.Text = t.Text, e.Directive = t.Directive, e.Comment = t.Comment, e.Script = t.Script, e.Style = t.Style, e.Tag = t.Tag, e.CDATA = t.CDATA, e.Doctype = t.Doctype;
489
+ })(ue);
490
+ var x = {}, N = v && v.__extends || /* @__PURE__ */ function() {
491
+ var e = function(t, r) {
492
+ return e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
493
+ n.__proto__ = i;
494
+ } || function(n, i) {
495
+ for (var a in i) Object.prototype.hasOwnProperty.call(i, a) && (n[a] = i[a]);
496
+ }, e(t, r);
497
+ };
498
+ return function(t, r) {
499
+ if (typeof r != "function" && r !== null)
500
+ throw new TypeError("Class extends value " + String(r) + " is not a constructor or null");
501
+ e(t, r);
502
+ function n() {
503
+ this.constructor = t;
504
+ }
505
+ t.prototype = r === null ? Object.create(r) : (n.prototype = r.prototype, new n());
506
+ };
507
+ }(), M = v && v.__assign || function() {
508
+ return M = Object.assign || function(e) {
509
+ for (var t, r = 1, n = arguments.length; r < n; r++) {
510
+ t = arguments[r];
511
+ for (var i in t) Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]);
512
+ }
513
+ return e;
514
+ }, M.apply(this, arguments);
515
+ };
516
+ Object.defineProperty(x, "__esModule", { value: !0 });
517
+ x.cloneNode = x.hasChildren = x.isDocument = x.isDirective = x.isComment = x.isText = x.isCDATA = x.isTag = x.Element = x.Document = x.CDATA = x.NodeWithChildren = x.ProcessingInstruction = x.Comment = x.Text = x.DataNode = x.Node = void 0;
518
+ var E = ue, fe = (
519
+ /** @class */
520
+ function() {
521
+ function e() {
522
+ this.parent = null, this.prev = null, this.next = null, this.startIndex = null, this.endIndex = null;
523
+ }
524
+ return Object.defineProperty(e.prototype, "parentNode", {
525
+ // Read-write aliases for properties
526
+ /**
527
+ * Same as {@link parent}.
528
+ * [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
529
+ */
530
+ get: function() {
531
+ return this.parent;
532
+ },
533
+ set: function(t) {
534
+ this.parent = t;
535
+ },
536
+ enumerable: !1,
537
+ configurable: !0
538
+ }), Object.defineProperty(e.prototype, "previousSibling", {
539
+ /**
540
+ * Same as {@link prev}.
541
+ * [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
542
+ */
543
+ get: function() {
544
+ return this.prev;
545
+ },
546
+ set: function(t) {
547
+ this.prev = t;
548
+ },
549
+ enumerable: !1,
550
+ configurable: !0
551
+ }), Object.defineProperty(e.prototype, "nextSibling", {
552
+ /**
553
+ * Same as {@link next}.
554
+ * [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
555
+ */
556
+ get: function() {
557
+ return this.next;
558
+ },
559
+ set: function(t) {
560
+ this.next = t;
561
+ },
562
+ enumerable: !1,
563
+ configurable: !0
564
+ }), e.prototype.cloneNode = function(t) {
565
+ return t === void 0 && (t = !1), pe(this, t);
566
+ }, e;
567
+ }()
568
+ );
569
+ x.Node = fe;
570
+ var W = (
571
+ /** @class */
572
+ function(e) {
573
+ N(t, e);
574
+ function t(r) {
575
+ var n = e.call(this) || this;
576
+ return n.data = r, n;
577
+ }
578
+ return Object.defineProperty(t.prototype, "nodeValue", {
579
+ /**
580
+ * Same as {@link data}.
581
+ * [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
582
+ */
583
+ get: function() {
584
+ return this.data;
585
+ },
586
+ set: function(r) {
587
+ this.data = r;
588
+ },
589
+ enumerable: !1,
590
+ configurable: !0
591
+ }), t;
592
+ }(fe)
593
+ );
594
+ x.DataNode = W;
595
+ var Ge = (
596
+ /** @class */
597
+ function(e) {
598
+ N(t, e);
599
+ function t() {
600
+ var r = e !== null && e.apply(this, arguments) || this;
601
+ return r.type = E.ElementType.Text, r;
602
+ }
603
+ return Object.defineProperty(t.prototype, "nodeType", {
604
+ get: function() {
605
+ return 3;
606
+ },
607
+ enumerable: !1,
608
+ configurable: !0
609
+ }), t;
610
+ }(W)
611
+ );
612
+ x.Text = Ge;
613
+ var Ve = (
614
+ /** @class */
615
+ function(e) {
616
+ N(t, e);
617
+ function t() {
618
+ var r = e !== null && e.apply(this, arguments) || this;
619
+ return r.type = E.ElementType.Comment, r;
620
+ }
621
+ return Object.defineProperty(t.prototype, "nodeType", {
622
+ get: function() {
623
+ return 8;
624
+ },
625
+ enumerable: !1,
626
+ configurable: !0
627
+ }), t;
628
+ }(W)
629
+ );
630
+ x.Comment = Ve;
631
+ var Ue = (
632
+ /** @class */
633
+ function(e) {
634
+ N(t, e);
635
+ function t(r, n) {
636
+ var i = e.call(this, n) || this;
637
+ return i.name = r, i.type = E.ElementType.Directive, i;
638
+ }
639
+ return Object.defineProperty(t.prototype, "nodeType", {
640
+ get: function() {
641
+ return 1;
642
+ },
643
+ enumerable: !1,
644
+ configurable: !0
645
+ }), t;
646
+ }(W)
647
+ );
648
+ x.ProcessingInstruction = Ue;
649
+ var X = (
650
+ /** @class */
651
+ function(e) {
652
+ N(t, e);
653
+ function t(r) {
654
+ var n = e.call(this) || this;
655
+ return n.children = r, n;
656
+ }
657
+ return Object.defineProperty(t.prototype, "firstChild", {
658
+ // Aliases
659
+ /** First child of the node. */
660
+ get: function() {
661
+ var r;
662
+ return (r = this.children[0]) !== null && r !== void 0 ? r : null;
663
+ },
664
+ enumerable: !1,
665
+ configurable: !0
666
+ }), Object.defineProperty(t.prototype, "lastChild", {
667
+ /** Last child of the node. */
668
+ get: function() {
669
+ return this.children.length > 0 ? this.children[this.children.length - 1] : null;
670
+ },
671
+ enumerable: !1,
672
+ configurable: !0
673
+ }), Object.defineProperty(t.prototype, "childNodes", {
674
+ /**
675
+ * Same as {@link children}.
676
+ * [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
677
+ */
678
+ get: function() {
679
+ return this.children;
680
+ },
681
+ set: function(r) {
682
+ this.children = r;
683
+ },
684
+ enumerable: !1,
685
+ configurable: !0
686
+ }), t;
687
+ }(fe)
688
+ );
689
+ x.NodeWithChildren = X;
690
+ var We = (
691
+ /** @class */
692
+ function(e) {
693
+ N(t, e);
694
+ function t() {
695
+ var r = e !== null && e.apply(this, arguments) || this;
696
+ return r.type = E.ElementType.CDATA, r;
697
+ }
698
+ return Object.defineProperty(t.prototype, "nodeType", {
699
+ get: function() {
700
+ return 4;
701
+ },
702
+ enumerable: !1,
703
+ configurable: !0
704
+ }), t;
705
+ }(X)
706
+ );
707
+ x.CDATA = We;
708
+ var Xe = (
709
+ /** @class */
710
+ function(e) {
711
+ N(t, e);
712
+ function t() {
713
+ var r = e !== null && e.apply(this, arguments) || this;
714
+ return r.type = E.ElementType.Root, r;
715
+ }
716
+ return Object.defineProperty(t.prototype, "nodeType", {
717
+ get: function() {
718
+ return 9;
719
+ },
720
+ enumerable: !1,
721
+ configurable: !0
722
+ }), t;
723
+ }(X)
724
+ );
725
+ x.Document = Xe;
726
+ var $e = (
727
+ /** @class */
728
+ function(e) {
729
+ N(t, e);
730
+ function t(r, n, i, a) {
731
+ i === void 0 && (i = []), a === void 0 && (a = r === "script" ? E.ElementType.Script : r === "style" ? E.ElementType.Style : E.ElementType.Tag);
732
+ var f = e.call(this, i) || this;
733
+ return f.name = r, f.attribs = n, f.type = a, f;
734
+ }
735
+ return Object.defineProperty(t.prototype, "nodeType", {
736
+ get: function() {
737
+ return 1;
738
+ },
739
+ enumerable: !1,
740
+ configurable: !0
741
+ }), Object.defineProperty(t.prototype, "tagName", {
742
+ // DOM Level 1 aliases
743
+ /**
744
+ * Same as {@link name}.
745
+ * [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
746
+ */
747
+ get: function() {
748
+ return this.name;
749
+ },
750
+ set: function(r) {
751
+ this.name = r;
752
+ },
753
+ enumerable: !1,
754
+ configurable: !0
755
+ }), Object.defineProperty(t.prototype, "attributes", {
756
+ get: function() {
757
+ var r = this;
758
+ return Object.keys(this.attribs).map(function(n) {
759
+ var i, a;
760
+ return {
761
+ name: n,
762
+ value: r.attribs[n],
763
+ namespace: (i = r["x-attribsNamespace"]) === null || i === void 0 ? void 0 : i[n],
764
+ prefix: (a = r["x-attribsPrefix"]) === null || a === void 0 ? void 0 : a[n]
765
+ };
766
+ });
767
+ },
768
+ enumerable: !1,
769
+ configurable: !0
770
+ }), t;
771
+ }(X)
772
+ );
773
+ x.Element = $e;
774
+ function qe(e) {
775
+ return (0, E.isTag)(e);
776
+ }
777
+ x.isTag = qe;
778
+ function Ye(e) {
779
+ return e.type === E.ElementType.CDATA;
780
+ }
781
+ x.isCDATA = Ye;
782
+ function Ze(e) {
783
+ return e.type === E.ElementType.Text;
784
+ }
785
+ x.isText = Ze;
786
+ function Ke(e) {
787
+ return e.type === E.ElementType.Comment;
788
+ }
789
+ x.isComment = Ke;
790
+ function Je(e) {
791
+ return e.type === E.ElementType.Directive;
792
+ }
793
+ x.isDirective = Je;
794
+ function Qe(e) {
795
+ return e.type === E.ElementType.Root;
796
+ }
797
+ x.isDocument = Qe;
798
+ function At(e) {
799
+ return Object.prototype.hasOwnProperty.call(e, "children");
800
+ }
801
+ x.hasChildren = At;
802
+ function pe(e, t) {
803
+ t === void 0 && (t = !1);
804
+ var r;
805
+ if (Ze(e))
806
+ r = new Ge(e.data);
807
+ else if (Ke(e))
808
+ r = new Ve(e.data);
809
+ else if (qe(e)) {
810
+ var n = t ? J(e.children) : [], i = new $e(e.name, M({}, e.attribs), n);
811
+ n.forEach(function(u) {
812
+ return u.parent = i;
813
+ }), e.namespace != null && (i.namespace = e.namespace), e["x-attribsNamespace"] && (i["x-attribsNamespace"] = M({}, e["x-attribsNamespace"])), e["x-attribsPrefix"] && (i["x-attribsPrefix"] = M({}, e["x-attribsPrefix"])), r = i;
814
+ } else if (Ye(e)) {
815
+ var n = t ? J(e.children) : [], a = new We(n);
816
+ n.forEach(function(c) {
817
+ return c.parent = a;
818
+ }), r = a;
819
+ } else if (Qe(e)) {
820
+ var n = t ? J(e.children) : [], f = new Xe(n);
821
+ n.forEach(function(c) {
822
+ return c.parent = f;
823
+ }), e["x-mode"] && (f["x-mode"] = e["x-mode"]), r = f;
824
+ } else if (Je(e)) {
825
+ var p = new Ue(e.name, e.data);
826
+ e["x-name"] != null && (p["x-name"] = e["x-name"], p["x-publicId"] = e["x-publicId"], p["x-systemId"] = e["x-systemId"]), r = p;
827
+ } else
828
+ throw new Error("Not implemented yet: ".concat(e.type));
829
+ return r.startIndex = e.startIndex, r.endIndex = e.endIndex, e.sourceCodeLocation != null && (r.sourceCodeLocation = e.sourceCodeLocation), r;
830
+ }
831
+ x.cloneNode = pe;
832
+ function J(e) {
833
+ for (var t = e.map(function(n) {
834
+ return pe(n, !0);
835
+ }), r = 1; r < t.length; r++)
836
+ t[r].prev = t[r - 1], t[r - 1].next = t[r];
837
+ return t;
838
+ }
839
+ (function(e) {
840
+ var t = v && v.__createBinding || (Object.create ? function(p, u, c, d) {
841
+ d === void 0 && (d = c);
842
+ var m = Object.getOwnPropertyDescriptor(u, c);
843
+ (!m || ("get" in m ? !u.__esModule : m.writable || m.configurable)) && (m = { enumerable: !0, get: function() {
844
+ return u[c];
845
+ } }), Object.defineProperty(p, d, m);
846
+ } : function(p, u, c, d) {
847
+ d === void 0 && (d = c), p[d] = u[c];
848
+ }), r = v && v.__exportStar || function(p, u) {
849
+ for (var c in p) c !== "default" && !Object.prototype.hasOwnProperty.call(u, c) && t(u, p, c);
850
+ };
851
+ Object.defineProperty(e, "__esModule", { value: !0 }), e.DomHandler = void 0;
852
+ var n = ue, i = x;
853
+ r(x, e);
854
+ var a = {
855
+ withStartIndices: !1,
856
+ withEndIndices: !1,
857
+ xmlMode: !1
858
+ }, f = (
859
+ /** @class */
860
+ function() {
861
+ function p(u, c, d) {
862
+ this.dom = [], this.root = new i.Document(this.dom), this.done = !1, this.tagStack = [this.root], this.lastNode = null, this.parser = null, typeof c == "function" && (d = c, c = a), typeof u == "object" && (c = u, u = void 0), this.callback = u ?? null, this.options = c ?? a, this.elementCB = d ?? null;
863
+ }
864
+ return p.prototype.onparserinit = function(u) {
865
+ this.parser = u;
866
+ }, p.prototype.onreset = function() {
867
+ this.dom = [], this.root = new i.Document(this.dom), this.done = !1, this.tagStack = [this.root], this.lastNode = null, this.parser = null;
868
+ }, p.prototype.onend = function() {
869
+ this.done || (this.done = !0, this.parser = null, this.handleCallback(null));
870
+ }, p.prototype.onerror = function(u) {
871
+ this.handleCallback(u);
872
+ }, p.prototype.onclosetag = function() {
873
+ this.lastNode = null;
874
+ var u = this.tagStack.pop();
875
+ this.options.withEndIndices && (u.endIndex = this.parser.endIndex), this.elementCB && this.elementCB(u);
876
+ }, p.prototype.onopentag = function(u, c) {
877
+ var d = this.options.xmlMode ? n.ElementType.Tag : void 0, m = new i.Element(u, c, void 0, d);
878
+ this.addNode(m), this.tagStack.push(m);
879
+ }, p.prototype.ontext = function(u) {
880
+ var c = this.lastNode;
881
+ if (c && c.type === n.ElementType.Text)
882
+ c.data += u, this.options.withEndIndices && (c.endIndex = this.parser.endIndex);
883
+ else {
884
+ var d = new i.Text(u);
885
+ this.addNode(d), this.lastNode = d;
491
886
  }
492
- ),
493
- /* @__PURE__ */ t.jsxs("div", { className: i("flex flex-col gap-4", r == null ? void 0 : r.textBlock), children: [
494
- /* @__PURE__ */ t.jsx(k, { as: "h4", className: i("text-color-dark", r == null ? void 0 : r.title), children: o }),
495
- /* @__PURE__ */ t.jsx("p", { className: i("desk-body-regular-l text-color-tetriary", r == null ? void 0 : r.description), children: e })
496
- ] })
497
- ]
887
+ }, p.prototype.oncomment = function(u) {
888
+ if (this.lastNode && this.lastNode.type === n.ElementType.Comment) {
889
+ this.lastNode.data += u;
890
+ return;
891
+ }
892
+ var c = new i.Comment(u);
893
+ this.addNode(c), this.lastNode = c;
894
+ }, p.prototype.oncommentend = function() {
895
+ this.lastNode = null;
896
+ }, p.prototype.oncdatastart = function() {
897
+ var u = new i.Text(""), c = new i.CDATA([u]);
898
+ this.addNode(c), u.parent = c, this.lastNode = u;
899
+ }, p.prototype.oncdataend = function() {
900
+ this.lastNode = null;
901
+ }, p.prototype.onprocessinginstruction = function(u, c) {
902
+ var d = new i.ProcessingInstruction(u, c);
903
+ this.addNode(d);
904
+ }, p.prototype.handleCallback = function(u) {
905
+ if (typeof this.callback == "function")
906
+ this.callback(u, this.dom);
907
+ else if (u)
908
+ throw u;
909
+ }, p.prototype.addNode = function(u) {
910
+ var c = this.tagStack[this.tagStack.length - 1], d = c.children[c.children.length - 1];
911
+ this.options.withStartIndices && (u.startIndex = this.parser.startIndex), this.options.withEndIndices && (u.endIndex = this.parser.endIndex), c.children.push(u), d && (u.prev = d, d.next = u), u.parent = c, this.lastNode = null;
912
+ }, p;
913
+ }()
914
+ );
915
+ e.DomHandler = f, e.default = f;
916
+ })(de);
917
+ var et = {};
918
+ (function(e) {
919
+ Object.defineProperty(e, "__esModule", { value: !0 }), e.CARRIAGE_RETURN_PLACEHOLDER_REGEX = e.CARRIAGE_RETURN_PLACEHOLDER = e.CARRIAGE_RETURN_REGEX = e.CARRIAGE_RETURN = e.CASE_SENSITIVE_TAG_NAMES_MAP = e.CASE_SENSITIVE_TAG_NAMES = void 0, e.CASE_SENSITIVE_TAG_NAMES = [
920
+ "animateMotion",
921
+ "animateTransform",
922
+ "clipPath",
923
+ "feBlend",
924
+ "feColorMatrix",
925
+ "feComponentTransfer",
926
+ "feComposite",
927
+ "feConvolveMatrix",
928
+ "feDiffuseLighting",
929
+ "feDisplacementMap",
930
+ "feDropShadow",
931
+ "feFlood",
932
+ "feFuncA",
933
+ "feFuncB",
934
+ "feFuncG",
935
+ "feFuncR",
936
+ "feGaussianBlur",
937
+ "feImage",
938
+ "feMerge",
939
+ "feMergeNode",
940
+ "feMorphology",
941
+ "feOffset",
942
+ "fePointLight",
943
+ "feSpecularLighting",
944
+ "feSpotLight",
945
+ "feTile",
946
+ "feTurbulence",
947
+ "foreignObject",
948
+ "linearGradient",
949
+ "radialGradient",
950
+ "textPath"
951
+ ], e.CASE_SENSITIVE_TAG_NAMES_MAP = e.CASE_SENSITIVE_TAG_NAMES.reduce(function(t, r) {
952
+ return t[r.toLowerCase()] = r, t;
953
+ }, {}), e.CARRIAGE_RETURN = "\r", e.CARRIAGE_RETURN_REGEX = new RegExp(e.CARRIAGE_RETURN, "g"), e.CARRIAGE_RETURN_PLACEHOLDER = "__HTML_DOM_PARSER_CARRIAGE_RETURN_PLACEHOLDER_".concat(Date.now(), "__"), e.CARRIAGE_RETURN_PLACEHOLDER_REGEX = new RegExp(e.CARRIAGE_RETURN_PLACEHOLDER, "g");
954
+ })(et);
955
+ Object.defineProperty(O, "__esModule", { value: !0 });
956
+ O.formatAttributes = tt;
957
+ O.escapeSpecialCharacters = Pt;
958
+ O.revertEscapedCharacters = rt;
959
+ O.formatDOM = nt;
960
+ var B = de, L = et;
961
+ function Mt(e) {
962
+ return L.CASE_SENSITIVE_TAG_NAMES_MAP[e];
963
+ }
964
+ function tt(e) {
965
+ for (var t = {}, r = 0, n = e.length; r < n; r++) {
966
+ var i = e[r];
967
+ t[i.name] = i.value;
968
+ }
969
+ return t;
970
+ }
971
+ function Dt(e) {
972
+ e = e.toLowerCase();
973
+ var t = Mt(e);
974
+ return t || e;
975
+ }
976
+ function Pt(e) {
977
+ return e.replace(L.CARRIAGE_RETURN_REGEX, L.CARRIAGE_RETURN_PLACEHOLDER);
978
+ }
979
+ function rt(e) {
980
+ return e.replace(L.CARRIAGE_RETURN_PLACEHOLDER_REGEX, L.CARRIAGE_RETURN);
981
+ }
982
+ function nt(e, t, r) {
983
+ t === void 0 && (t = null);
984
+ for (var n = [], i, a = 0, f = e.length; a < f; a++) {
985
+ var p = e[a];
986
+ switch (p.nodeType) {
987
+ case 1: {
988
+ var u = Dt(p.nodeName);
989
+ i = new B.Element(u, tt(p.attributes)), i.children = nt(
990
+ // template children are on content
991
+ u === "template" ? p.content.childNodes : p.childNodes,
992
+ i
993
+ );
994
+ break;
995
+ }
996
+ case 3:
997
+ i = new B.Text(rt(p.nodeValue));
998
+ break;
999
+ case 8:
1000
+ i = new B.Comment(p.nodeValue);
1001
+ break;
1002
+ default:
1003
+ continue;
1004
+ }
1005
+ var c = n[a - 1] || null;
1006
+ c && (c.next = i), i.parent = t, i.prev = c, i.next = null, n.push(i);
498
1007
  }
499
- ), Nt = ({ heading: o, stepsList: e, classes: d }) => /* @__PURE__ */ t.jsx(T, { className: d == null ? void 0 : d.root, children: /* @__PURE__ */ t.jsx(a, { className: d == null ? void 0 : d.container, children: /* @__PURE__ */ t.jsxs("div", { className: i("flex flex-col gap-12 desktop:items-start", d == null ? void 0 : d.wrapper), children: [
500
- /* @__PURE__ */ t.jsx(k, { as: "h2", className: i("text-color-dark", d == null ? void 0 : d.headline), children: o }),
501
- /* @__PURE__ */ t.jsx(
1008
+ return r && (i = new B.ProcessingInstruction(r.substring(0, r.indexOf(" ")).toLowerCase(), r), i.next = n[0] || null, i.parent = t, n.unshift(i), n[1] && (n[1].prev = n[0])), n;
1009
+ }
1010
+ Object.defineProperty(le, "__esModule", { value: !0 });
1011
+ le.default = zt;
1012
+ var Lt = O, be = "html", ke = "head", F = "body", Ht = /<([a-zA-Z]+[0-9]?)/, Ee = /<head[^]*>/i, we = /<body[^]*>/i, V = function(e, t) {
1013
+ throw new Error("This browser does not support `document.implementation.createHTMLDocument`");
1014
+ }, re = function(e, t) {
1015
+ throw new Error("This browser does not support `DOMParser.prototype.parseFromString`");
1016
+ }, je = typeof window == "object" && window.DOMParser;
1017
+ if (typeof je == "function") {
1018
+ var Bt = new je(), Ft = "text/html";
1019
+ re = function(e, t) {
1020
+ return t && (e = "<".concat(t, ">").concat(e, "</").concat(t, ">")), Bt.parseFromString(e, Ft);
1021
+ }, V = re;
1022
+ }
1023
+ if (typeof document == "object" && document.implementation) {
1024
+ var z = document.implementation.createHTMLDocument();
1025
+ V = function(e, t) {
1026
+ if (t) {
1027
+ var r = z.documentElement.querySelector(t);
1028
+ return r && (r.innerHTML = e), z;
1029
+ }
1030
+ return z.documentElement.innerHTML = e, z;
1031
+ };
1032
+ }
1033
+ var G = typeof document == "object" && document.createElement("template"), ne;
1034
+ G && G.content && (ne = function(e) {
1035
+ return G.innerHTML = e, G.content.childNodes;
1036
+ });
1037
+ function zt(e) {
1038
+ var t, r;
1039
+ e = (0, Lt.escapeSpecialCharacters)(e);
1040
+ var n = e.match(Ht), i = n && n[1] ? n[1].toLowerCase() : "";
1041
+ switch (i) {
1042
+ case be: {
1043
+ var a = re(e);
1044
+ if (!Ee.test(e)) {
1045
+ var f = a.querySelector(ke);
1046
+ (t = f == null ? void 0 : f.parentNode) === null || t === void 0 || t.removeChild(f);
1047
+ }
1048
+ if (!we.test(e)) {
1049
+ var f = a.querySelector(F);
1050
+ (r = f == null ? void 0 : f.parentNode) === null || r === void 0 || r.removeChild(f);
1051
+ }
1052
+ return a.querySelectorAll(be);
1053
+ }
1054
+ case ke:
1055
+ case F: {
1056
+ var p = V(e).querySelectorAll(i);
1057
+ return we.test(e) && Ee.test(e) ? p[0].parentNode.childNodes : p;
1058
+ }
1059
+ // low-level tag or text
1060
+ default: {
1061
+ if (ne)
1062
+ return ne(e);
1063
+ var f = V(e, F).querySelector(F);
1064
+ return f.childNodes;
1065
+ }
1066
+ }
1067
+ }
1068
+ var Gt = v && v.__importDefault || function(e) {
1069
+ return e && e.__esModule ? e : { default: e };
1070
+ };
1071
+ Object.defineProperty(ae, "__esModule", { value: !0 });
1072
+ ae.default = Xt;
1073
+ var Vt = Gt(le), Ut = O, Wt = /<(![a-zA-Z\s]+)>/;
1074
+ function Xt(e) {
1075
+ if (typeof e != "string")
1076
+ throw new TypeError("First argument must be a string");
1077
+ if (!e)
1078
+ return [];
1079
+ var t = e.match(Wt), r = t ? t[1] : void 0;
1080
+ return (0, Ut.formatDOM)((0, Vt.default)(e), null, r);
1081
+ }
1082
+ var $ = {}, w = {}, q = {}, $t = 0;
1083
+ q.SAME = $t;
1084
+ var qt = 1;
1085
+ q.CAMELCASE = qt;
1086
+ q.possibleStandardNames = {
1087
+ accept: 0,
1088
+ acceptCharset: 1,
1089
+ "accept-charset": "acceptCharset",
1090
+ accessKey: 1,
1091
+ action: 0,
1092
+ allowFullScreen: 1,
1093
+ alt: 0,
1094
+ as: 0,
1095
+ async: 0,
1096
+ autoCapitalize: 1,
1097
+ autoComplete: 1,
1098
+ autoCorrect: 1,
1099
+ autoFocus: 1,
1100
+ autoPlay: 1,
1101
+ autoSave: 1,
1102
+ capture: 0,
1103
+ cellPadding: 1,
1104
+ cellSpacing: 1,
1105
+ challenge: 0,
1106
+ charSet: 1,
1107
+ checked: 0,
1108
+ children: 0,
1109
+ cite: 0,
1110
+ class: "className",
1111
+ classID: 1,
1112
+ className: 1,
1113
+ cols: 0,
1114
+ colSpan: 1,
1115
+ content: 0,
1116
+ contentEditable: 1,
1117
+ contextMenu: 1,
1118
+ controls: 0,
1119
+ controlsList: 1,
1120
+ coords: 0,
1121
+ crossOrigin: 1,
1122
+ dangerouslySetInnerHTML: 1,
1123
+ data: 0,
1124
+ dateTime: 1,
1125
+ default: 0,
1126
+ defaultChecked: 1,
1127
+ defaultValue: 1,
1128
+ defer: 0,
1129
+ dir: 0,
1130
+ disabled: 0,
1131
+ disablePictureInPicture: 1,
1132
+ disableRemotePlayback: 1,
1133
+ download: 0,
1134
+ draggable: 0,
1135
+ encType: 1,
1136
+ enterKeyHint: 1,
1137
+ for: "htmlFor",
1138
+ form: 0,
1139
+ formMethod: 1,
1140
+ formAction: 1,
1141
+ formEncType: 1,
1142
+ formNoValidate: 1,
1143
+ formTarget: 1,
1144
+ frameBorder: 1,
1145
+ headers: 0,
1146
+ height: 0,
1147
+ hidden: 0,
1148
+ high: 0,
1149
+ href: 0,
1150
+ hrefLang: 1,
1151
+ htmlFor: 1,
1152
+ httpEquiv: 1,
1153
+ "http-equiv": "httpEquiv",
1154
+ icon: 0,
1155
+ id: 0,
1156
+ innerHTML: 1,
1157
+ inputMode: 1,
1158
+ integrity: 0,
1159
+ is: 0,
1160
+ itemID: 1,
1161
+ itemProp: 1,
1162
+ itemRef: 1,
1163
+ itemScope: 1,
1164
+ itemType: 1,
1165
+ keyParams: 1,
1166
+ keyType: 1,
1167
+ kind: 0,
1168
+ label: 0,
1169
+ lang: 0,
1170
+ list: 0,
1171
+ loop: 0,
1172
+ low: 0,
1173
+ manifest: 0,
1174
+ marginWidth: 1,
1175
+ marginHeight: 1,
1176
+ max: 0,
1177
+ maxLength: 1,
1178
+ media: 0,
1179
+ mediaGroup: 1,
1180
+ method: 0,
1181
+ min: 0,
1182
+ minLength: 1,
1183
+ multiple: 0,
1184
+ muted: 0,
1185
+ name: 0,
1186
+ noModule: 1,
1187
+ nonce: 0,
1188
+ noValidate: 1,
1189
+ open: 0,
1190
+ optimum: 0,
1191
+ pattern: 0,
1192
+ placeholder: 0,
1193
+ playsInline: 1,
1194
+ poster: 0,
1195
+ preload: 0,
1196
+ profile: 0,
1197
+ radioGroup: 1,
1198
+ readOnly: 1,
1199
+ referrerPolicy: 1,
1200
+ rel: 0,
1201
+ required: 0,
1202
+ reversed: 0,
1203
+ role: 0,
1204
+ rows: 0,
1205
+ rowSpan: 1,
1206
+ sandbox: 0,
1207
+ scope: 0,
1208
+ scoped: 0,
1209
+ scrolling: 0,
1210
+ seamless: 0,
1211
+ selected: 0,
1212
+ shape: 0,
1213
+ size: 0,
1214
+ sizes: 0,
1215
+ span: 0,
1216
+ spellCheck: 1,
1217
+ src: 0,
1218
+ srcDoc: 1,
1219
+ srcLang: 1,
1220
+ srcSet: 1,
1221
+ start: 0,
1222
+ step: 0,
1223
+ style: 0,
1224
+ summary: 0,
1225
+ tabIndex: 1,
1226
+ target: 0,
1227
+ title: 0,
1228
+ type: 0,
1229
+ useMap: 1,
1230
+ value: 0,
1231
+ width: 0,
1232
+ wmode: 0,
1233
+ wrap: 0,
1234
+ about: 0,
1235
+ accentHeight: 1,
1236
+ "accent-height": "accentHeight",
1237
+ accumulate: 0,
1238
+ additive: 0,
1239
+ alignmentBaseline: 1,
1240
+ "alignment-baseline": "alignmentBaseline",
1241
+ allowReorder: 1,
1242
+ alphabetic: 0,
1243
+ amplitude: 0,
1244
+ arabicForm: 1,
1245
+ "arabic-form": "arabicForm",
1246
+ ascent: 0,
1247
+ attributeName: 1,
1248
+ attributeType: 1,
1249
+ autoReverse: 1,
1250
+ azimuth: 0,
1251
+ baseFrequency: 1,
1252
+ baselineShift: 1,
1253
+ "baseline-shift": "baselineShift",
1254
+ baseProfile: 1,
1255
+ bbox: 0,
1256
+ begin: 0,
1257
+ bias: 0,
1258
+ by: 0,
1259
+ calcMode: 1,
1260
+ capHeight: 1,
1261
+ "cap-height": "capHeight",
1262
+ clip: 0,
1263
+ clipPath: 1,
1264
+ "clip-path": "clipPath",
1265
+ clipPathUnits: 1,
1266
+ clipRule: 1,
1267
+ "clip-rule": "clipRule",
1268
+ color: 0,
1269
+ colorInterpolation: 1,
1270
+ "color-interpolation": "colorInterpolation",
1271
+ colorInterpolationFilters: 1,
1272
+ "color-interpolation-filters": "colorInterpolationFilters",
1273
+ colorProfile: 1,
1274
+ "color-profile": "colorProfile",
1275
+ colorRendering: 1,
1276
+ "color-rendering": "colorRendering",
1277
+ contentScriptType: 1,
1278
+ contentStyleType: 1,
1279
+ cursor: 0,
1280
+ cx: 0,
1281
+ cy: 0,
1282
+ d: 0,
1283
+ datatype: 0,
1284
+ decelerate: 0,
1285
+ descent: 0,
1286
+ diffuseConstant: 1,
1287
+ direction: 0,
1288
+ display: 0,
1289
+ divisor: 0,
1290
+ dominantBaseline: 1,
1291
+ "dominant-baseline": "dominantBaseline",
1292
+ dur: 0,
1293
+ dx: 0,
1294
+ dy: 0,
1295
+ edgeMode: 1,
1296
+ elevation: 0,
1297
+ enableBackground: 1,
1298
+ "enable-background": "enableBackground",
1299
+ end: 0,
1300
+ exponent: 0,
1301
+ externalResourcesRequired: 1,
1302
+ fill: 0,
1303
+ fillOpacity: 1,
1304
+ "fill-opacity": "fillOpacity",
1305
+ fillRule: 1,
1306
+ "fill-rule": "fillRule",
1307
+ filter: 0,
1308
+ filterRes: 1,
1309
+ filterUnits: 1,
1310
+ floodOpacity: 1,
1311
+ "flood-opacity": "floodOpacity",
1312
+ floodColor: 1,
1313
+ "flood-color": "floodColor",
1314
+ focusable: 0,
1315
+ fontFamily: 1,
1316
+ "font-family": "fontFamily",
1317
+ fontSize: 1,
1318
+ "font-size": "fontSize",
1319
+ fontSizeAdjust: 1,
1320
+ "font-size-adjust": "fontSizeAdjust",
1321
+ fontStretch: 1,
1322
+ "font-stretch": "fontStretch",
1323
+ fontStyle: 1,
1324
+ "font-style": "fontStyle",
1325
+ fontVariant: 1,
1326
+ "font-variant": "fontVariant",
1327
+ fontWeight: 1,
1328
+ "font-weight": "fontWeight",
1329
+ format: 0,
1330
+ from: 0,
1331
+ fx: 0,
1332
+ fy: 0,
1333
+ g1: 0,
1334
+ g2: 0,
1335
+ glyphName: 1,
1336
+ "glyph-name": "glyphName",
1337
+ glyphOrientationHorizontal: 1,
1338
+ "glyph-orientation-horizontal": "glyphOrientationHorizontal",
1339
+ glyphOrientationVertical: 1,
1340
+ "glyph-orientation-vertical": "glyphOrientationVertical",
1341
+ glyphRef: 1,
1342
+ gradientTransform: 1,
1343
+ gradientUnits: 1,
1344
+ hanging: 0,
1345
+ horizAdvX: 1,
1346
+ "horiz-adv-x": "horizAdvX",
1347
+ horizOriginX: 1,
1348
+ "horiz-origin-x": "horizOriginX",
1349
+ ideographic: 0,
1350
+ imageRendering: 1,
1351
+ "image-rendering": "imageRendering",
1352
+ in2: 0,
1353
+ in: 0,
1354
+ inlist: 0,
1355
+ intercept: 0,
1356
+ k1: 0,
1357
+ k2: 0,
1358
+ k3: 0,
1359
+ k4: 0,
1360
+ k: 0,
1361
+ kernelMatrix: 1,
1362
+ kernelUnitLength: 1,
1363
+ kerning: 0,
1364
+ keyPoints: 1,
1365
+ keySplines: 1,
1366
+ keyTimes: 1,
1367
+ lengthAdjust: 1,
1368
+ letterSpacing: 1,
1369
+ "letter-spacing": "letterSpacing",
1370
+ lightingColor: 1,
1371
+ "lighting-color": "lightingColor",
1372
+ limitingConeAngle: 1,
1373
+ local: 0,
1374
+ markerEnd: 1,
1375
+ "marker-end": "markerEnd",
1376
+ markerHeight: 1,
1377
+ markerMid: 1,
1378
+ "marker-mid": "markerMid",
1379
+ markerStart: 1,
1380
+ "marker-start": "markerStart",
1381
+ markerUnits: 1,
1382
+ markerWidth: 1,
1383
+ mask: 0,
1384
+ maskContentUnits: 1,
1385
+ maskUnits: 1,
1386
+ mathematical: 0,
1387
+ mode: 0,
1388
+ numOctaves: 1,
1389
+ offset: 0,
1390
+ opacity: 0,
1391
+ operator: 0,
1392
+ order: 0,
1393
+ orient: 0,
1394
+ orientation: 0,
1395
+ origin: 0,
1396
+ overflow: 0,
1397
+ overlinePosition: 1,
1398
+ "overline-position": "overlinePosition",
1399
+ overlineThickness: 1,
1400
+ "overline-thickness": "overlineThickness",
1401
+ paintOrder: 1,
1402
+ "paint-order": "paintOrder",
1403
+ panose1: 0,
1404
+ "panose-1": "panose1",
1405
+ pathLength: 1,
1406
+ patternContentUnits: 1,
1407
+ patternTransform: 1,
1408
+ patternUnits: 1,
1409
+ pointerEvents: 1,
1410
+ "pointer-events": "pointerEvents",
1411
+ points: 0,
1412
+ pointsAtX: 1,
1413
+ pointsAtY: 1,
1414
+ pointsAtZ: 1,
1415
+ prefix: 0,
1416
+ preserveAlpha: 1,
1417
+ preserveAspectRatio: 1,
1418
+ primitiveUnits: 1,
1419
+ property: 0,
1420
+ r: 0,
1421
+ radius: 0,
1422
+ refX: 1,
1423
+ refY: 1,
1424
+ renderingIntent: 1,
1425
+ "rendering-intent": "renderingIntent",
1426
+ repeatCount: 1,
1427
+ repeatDur: 1,
1428
+ requiredExtensions: 1,
1429
+ requiredFeatures: 1,
1430
+ resource: 0,
1431
+ restart: 0,
1432
+ result: 0,
1433
+ results: 0,
1434
+ rotate: 0,
1435
+ rx: 0,
1436
+ ry: 0,
1437
+ scale: 0,
1438
+ security: 0,
1439
+ seed: 0,
1440
+ shapeRendering: 1,
1441
+ "shape-rendering": "shapeRendering",
1442
+ slope: 0,
1443
+ spacing: 0,
1444
+ specularConstant: 1,
1445
+ specularExponent: 1,
1446
+ speed: 0,
1447
+ spreadMethod: 1,
1448
+ startOffset: 1,
1449
+ stdDeviation: 1,
1450
+ stemh: 0,
1451
+ stemv: 0,
1452
+ stitchTiles: 1,
1453
+ stopColor: 1,
1454
+ "stop-color": "stopColor",
1455
+ stopOpacity: 1,
1456
+ "stop-opacity": "stopOpacity",
1457
+ strikethroughPosition: 1,
1458
+ "strikethrough-position": "strikethroughPosition",
1459
+ strikethroughThickness: 1,
1460
+ "strikethrough-thickness": "strikethroughThickness",
1461
+ string: 0,
1462
+ stroke: 0,
1463
+ strokeDasharray: 1,
1464
+ "stroke-dasharray": "strokeDasharray",
1465
+ strokeDashoffset: 1,
1466
+ "stroke-dashoffset": "strokeDashoffset",
1467
+ strokeLinecap: 1,
1468
+ "stroke-linecap": "strokeLinecap",
1469
+ strokeLinejoin: 1,
1470
+ "stroke-linejoin": "strokeLinejoin",
1471
+ strokeMiterlimit: 1,
1472
+ "stroke-miterlimit": "strokeMiterlimit",
1473
+ strokeWidth: 1,
1474
+ "stroke-width": "strokeWidth",
1475
+ strokeOpacity: 1,
1476
+ "stroke-opacity": "strokeOpacity",
1477
+ suppressContentEditableWarning: 1,
1478
+ suppressHydrationWarning: 1,
1479
+ surfaceScale: 1,
1480
+ systemLanguage: 1,
1481
+ tableValues: 1,
1482
+ targetX: 1,
1483
+ targetY: 1,
1484
+ textAnchor: 1,
1485
+ "text-anchor": "textAnchor",
1486
+ textDecoration: 1,
1487
+ "text-decoration": "textDecoration",
1488
+ textLength: 1,
1489
+ textRendering: 1,
1490
+ "text-rendering": "textRendering",
1491
+ to: 0,
1492
+ transform: 0,
1493
+ typeof: 0,
1494
+ u1: 0,
1495
+ u2: 0,
1496
+ underlinePosition: 1,
1497
+ "underline-position": "underlinePosition",
1498
+ underlineThickness: 1,
1499
+ "underline-thickness": "underlineThickness",
1500
+ unicode: 0,
1501
+ unicodeBidi: 1,
1502
+ "unicode-bidi": "unicodeBidi",
1503
+ unicodeRange: 1,
1504
+ "unicode-range": "unicodeRange",
1505
+ unitsPerEm: 1,
1506
+ "units-per-em": "unitsPerEm",
1507
+ unselectable: 0,
1508
+ vAlphabetic: 1,
1509
+ "v-alphabetic": "vAlphabetic",
1510
+ values: 0,
1511
+ vectorEffect: 1,
1512
+ "vector-effect": "vectorEffect",
1513
+ version: 0,
1514
+ vertAdvY: 1,
1515
+ "vert-adv-y": "vertAdvY",
1516
+ vertOriginX: 1,
1517
+ "vert-origin-x": "vertOriginX",
1518
+ vertOriginY: 1,
1519
+ "vert-origin-y": "vertOriginY",
1520
+ vHanging: 1,
1521
+ "v-hanging": "vHanging",
1522
+ vIdeographic: 1,
1523
+ "v-ideographic": "vIdeographic",
1524
+ viewBox: 1,
1525
+ viewTarget: 1,
1526
+ visibility: 0,
1527
+ vMathematical: 1,
1528
+ "v-mathematical": "vMathematical",
1529
+ vocab: 0,
1530
+ widths: 0,
1531
+ wordSpacing: 1,
1532
+ "word-spacing": "wordSpacing",
1533
+ writingMode: 1,
1534
+ "writing-mode": "writingMode",
1535
+ x1: 0,
1536
+ x2: 0,
1537
+ x: 0,
1538
+ xChannelSelector: 1,
1539
+ xHeight: 1,
1540
+ "x-height": "xHeight",
1541
+ xlinkActuate: 1,
1542
+ "xlink:actuate": "xlinkActuate",
1543
+ xlinkArcrole: 1,
1544
+ "xlink:arcrole": "xlinkArcrole",
1545
+ xlinkHref: 1,
1546
+ "xlink:href": "xlinkHref",
1547
+ xlinkRole: 1,
1548
+ "xlink:role": "xlinkRole",
1549
+ xlinkShow: 1,
1550
+ "xlink:show": "xlinkShow",
1551
+ xlinkTitle: 1,
1552
+ "xlink:title": "xlinkTitle",
1553
+ xlinkType: 1,
1554
+ "xlink:type": "xlinkType",
1555
+ xmlBase: 1,
1556
+ "xml:base": "xmlBase",
1557
+ xmlLang: 1,
1558
+ "xml:lang": "xmlLang",
1559
+ xmlns: 0,
1560
+ "xml:space": "xmlSpace",
1561
+ xmlnsXlink: 1,
1562
+ "xmlns:xlink": "xmlnsXlink",
1563
+ xmlSpace: 1,
1564
+ y1: 0,
1565
+ y2: 0,
1566
+ y: 0,
1567
+ yChannelSelector: 1,
1568
+ z: 0,
1569
+ zoomAndPan: 1
1570
+ };
1571
+ const it = 0, T = 1, Y = 2, Z = 3, ce = 4, ot = 5, at = 6;
1572
+ function Yt(e) {
1573
+ return y.hasOwnProperty(e) ? y[e] : null;
1574
+ }
1575
+ function b(e, t, r, n, i, a, f) {
1576
+ this.acceptsBooleans = t === Y || t === Z || t === ce, this.attributeName = n, this.attributeNamespace = i, this.mustUseProperty = r, this.propertyName = e, this.type = t, this.sanitizeURL = a, this.removeEmptyString = f;
1577
+ }
1578
+ const y = {}, Zt = [
1579
+ "children",
1580
+ "dangerouslySetInnerHTML",
1581
+ // TODO: This prevents the assignment of defaultValue to regular
1582
+ // elements (not just inputs). Now that ReactDOMInput assigns to the
1583
+ // defaultValue property -- do we need this?
1584
+ "defaultValue",
1585
+ "defaultChecked",
1586
+ "innerHTML",
1587
+ "suppressContentEditableWarning",
1588
+ "suppressHydrationWarning",
1589
+ "style"
1590
+ ];
1591
+ Zt.forEach((e) => {
1592
+ y[e] = new b(
1593
+ e,
1594
+ it,
1595
+ !1,
1596
+ // mustUseProperty
1597
+ e,
1598
+ // attributeName
1599
+ null,
1600
+ // attributeNamespace
1601
+ !1,
1602
+ // sanitizeURL
1603
+ !1
1604
+ // removeEmptyString
1605
+ );
1606
+ });
1607
+ [
1608
+ ["acceptCharset", "accept-charset"],
1609
+ ["className", "class"],
1610
+ ["htmlFor", "for"],
1611
+ ["httpEquiv", "http-equiv"]
1612
+ ].forEach(([e, t]) => {
1613
+ y[e] = new b(
1614
+ e,
1615
+ T,
1616
+ !1,
1617
+ // mustUseProperty
1618
+ t,
1619
+ // attributeName
1620
+ null,
1621
+ // attributeNamespace
1622
+ !1,
1623
+ // sanitizeURL
1624
+ !1
1625
+ // removeEmptyString
1626
+ );
1627
+ });
1628
+ ["contentEditable", "draggable", "spellCheck", "value"].forEach((e) => {
1629
+ y[e] = new b(
1630
+ e,
1631
+ Y,
1632
+ !1,
1633
+ // mustUseProperty
1634
+ e.toLowerCase(),
1635
+ // attributeName
1636
+ null,
1637
+ // attributeNamespace
1638
+ !1,
1639
+ // sanitizeURL
1640
+ !1
1641
+ // removeEmptyString
1642
+ );
1643
+ });
1644
+ [
1645
+ "autoReverse",
1646
+ "externalResourcesRequired",
1647
+ "focusable",
1648
+ "preserveAlpha"
1649
+ ].forEach((e) => {
1650
+ y[e] = new b(
1651
+ e,
1652
+ Y,
1653
+ !1,
1654
+ // mustUseProperty
1655
+ e,
1656
+ // attributeName
1657
+ null,
1658
+ // attributeNamespace
1659
+ !1,
1660
+ // sanitizeURL
1661
+ !1
1662
+ // removeEmptyString
1663
+ );
1664
+ });
1665
+ [
1666
+ "allowFullScreen",
1667
+ "async",
1668
+ // Note: there is a special case that prevents it from being written to the DOM
1669
+ // on the client side because the browsers are inconsistent. Instead we call focus().
1670
+ "autoFocus",
1671
+ "autoPlay",
1672
+ "controls",
1673
+ "default",
1674
+ "defer",
1675
+ "disabled",
1676
+ "disablePictureInPicture",
1677
+ "disableRemotePlayback",
1678
+ "formNoValidate",
1679
+ "hidden",
1680
+ "loop",
1681
+ "noModule",
1682
+ "noValidate",
1683
+ "open",
1684
+ "playsInline",
1685
+ "readOnly",
1686
+ "required",
1687
+ "reversed",
1688
+ "scoped",
1689
+ "seamless",
1690
+ // Microdata
1691
+ "itemScope"
1692
+ ].forEach((e) => {
1693
+ y[e] = new b(
1694
+ e,
1695
+ Z,
1696
+ !1,
1697
+ // mustUseProperty
1698
+ e.toLowerCase(),
1699
+ // attributeName
1700
+ null,
1701
+ // attributeNamespace
1702
+ !1,
1703
+ // sanitizeURL
1704
+ !1
1705
+ // removeEmptyString
1706
+ );
1707
+ });
1708
+ [
1709
+ "checked",
1710
+ // Note: `option.selected` is not updated if `select.multiple` is
1711
+ // disabled with `removeAttribute`. We have special logic for handling this.
1712
+ "multiple",
1713
+ "muted",
1714
+ "selected"
1715
+ // NOTE: if you add a camelCased prop to this list,
1716
+ // you'll need to set attributeName to name.toLowerCase()
1717
+ // instead in the assignment below.
1718
+ ].forEach((e) => {
1719
+ y[e] = new b(
1720
+ e,
1721
+ Z,
1722
+ !0,
1723
+ // mustUseProperty
1724
+ e,
1725
+ // attributeName
1726
+ null,
1727
+ // attributeNamespace
1728
+ !1,
1729
+ // sanitizeURL
1730
+ !1
1731
+ // removeEmptyString
1732
+ );
1733
+ });
1734
+ [
1735
+ "capture",
1736
+ "download"
1737
+ // NOTE: if you add a camelCased prop to this list,
1738
+ // you'll need to set attributeName to name.toLowerCase()
1739
+ // instead in the assignment below.
1740
+ ].forEach((e) => {
1741
+ y[e] = new b(
1742
+ e,
1743
+ ce,
1744
+ !1,
1745
+ // mustUseProperty
1746
+ e,
1747
+ // attributeName
1748
+ null,
1749
+ // attributeNamespace
1750
+ !1,
1751
+ // sanitizeURL
1752
+ !1
1753
+ // removeEmptyString
1754
+ );
1755
+ });
1756
+ [
1757
+ "cols",
1758
+ "rows",
1759
+ "size",
1760
+ "span"
1761
+ // NOTE: if you add a camelCased prop to this list,
1762
+ // you'll need to set attributeName to name.toLowerCase()
1763
+ // instead in the assignment below.
1764
+ ].forEach((e) => {
1765
+ y[e] = new b(
1766
+ e,
1767
+ at,
1768
+ !1,
1769
+ // mustUseProperty
1770
+ e,
1771
+ // attributeName
1772
+ null,
1773
+ // attributeNamespace
1774
+ !1,
1775
+ // sanitizeURL
1776
+ !1
1777
+ // removeEmptyString
1778
+ );
1779
+ });
1780
+ ["rowSpan", "start"].forEach((e) => {
1781
+ y[e] = new b(
1782
+ e,
1783
+ ot,
1784
+ !1,
1785
+ // mustUseProperty
1786
+ e.toLowerCase(),
1787
+ // attributeName
1788
+ null,
1789
+ // attributeNamespace
1790
+ !1,
1791
+ // sanitizeURL
1792
+ !1
1793
+ // removeEmptyString
1794
+ );
1795
+ });
1796
+ const he = /[\-\:]([a-z])/g, me = (e) => e[1].toUpperCase();
1797
+ [
1798
+ "accent-height",
1799
+ "alignment-baseline",
1800
+ "arabic-form",
1801
+ "baseline-shift",
1802
+ "cap-height",
1803
+ "clip-path",
1804
+ "clip-rule",
1805
+ "color-interpolation",
1806
+ "color-interpolation-filters",
1807
+ "color-profile",
1808
+ "color-rendering",
1809
+ "dominant-baseline",
1810
+ "enable-background",
1811
+ "fill-opacity",
1812
+ "fill-rule",
1813
+ "flood-color",
1814
+ "flood-opacity",
1815
+ "font-family",
1816
+ "font-size",
1817
+ "font-size-adjust",
1818
+ "font-stretch",
1819
+ "font-style",
1820
+ "font-variant",
1821
+ "font-weight",
1822
+ "glyph-name",
1823
+ "glyph-orientation-horizontal",
1824
+ "glyph-orientation-vertical",
1825
+ "horiz-adv-x",
1826
+ "horiz-origin-x",
1827
+ "image-rendering",
1828
+ "letter-spacing",
1829
+ "lighting-color",
1830
+ "marker-end",
1831
+ "marker-mid",
1832
+ "marker-start",
1833
+ "overline-position",
1834
+ "overline-thickness",
1835
+ "paint-order",
1836
+ "panose-1",
1837
+ "pointer-events",
1838
+ "rendering-intent",
1839
+ "shape-rendering",
1840
+ "stop-color",
1841
+ "stop-opacity",
1842
+ "strikethrough-position",
1843
+ "strikethrough-thickness",
1844
+ "stroke-dasharray",
1845
+ "stroke-dashoffset",
1846
+ "stroke-linecap",
1847
+ "stroke-linejoin",
1848
+ "stroke-miterlimit",
1849
+ "stroke-opacity",
1850
+ "stroke-width",
1851
+ "text-anchor",
1852
+ "text-decoration",
1853
+ "text-rendering",
1854
+ "underline-position",
1855
+ "underline-thickness",
1856
+ "unicode-bidi",
1857
+ "unicode-range",
1858
+ "units-per-em",
1859
+ "v-alphabetic",
1860
+ "v-hanging",
1861
+ "v-ideographic",
1862
+ "v-mathematical",
1863
+ "vector-effect",
1864
+ "vert-adv-y",
1865
+ "vert-origin-x",
1866
+ "vert-origin-y",
1867
+ "word-spacing",
1868
+ "writing-mode",
1869
+ "xmlns:xlink",
1870
+ "x-height"
1871
+ // NOTE: if you add a camelCased prop to this list,
1872
+ // you'll need to set attributeName to name.toLowerCase()
1873
+ // instead in the assignment below.
1874
+ ].forEach((e) => {
1875
+ const t = e.replace(he, me);
1876
+ y[t] = new b(
1877
+ t,
1878
+ T,
1879
+ !1,
1880
+ // mustUseProperty
1881
+ e,
1882
+ null,
1883
+ // attributeNamespace
1884
+ !1,
1885
+ // sanitizeURL
1886
+ !1
1887
+ // removeEmptyString
1888
+ );
1889
+ });
1890
+ [
1891
+ "xlink:actuate",
1892
+ "xlink:arcrole",
1893
+ "xlink:role",
1894
+ "xlink:show",
1895
+ "xlink:title",
1896
+ "xlink:type"
1897
+ // NOTE: if you add a camelCased prop to this list,
1898
+ // you'll need to set attributeName to name.toLowerCase()
1899
+ // instead in the assignment below.
1900
+ ].forEach((e) => {
1901
+ const t = e.replace(he, me);
1902
+ y[t] = new b(
1903
+ t,
1904
+ T,
1905
+ !1,
1906
+ // mustUseProperty
1907
+ e,
1908
+ "http://www.w3.org/1999/xlink",
1909
+ !1,
1910
+ // sanitizeURL
1911
+ !1
1912
+ // removeEmptyString
1913
+ );
1914
+ });
1915
+ [
1916
+ "xml:base",
1917
+ "xml:lang",
1918
+ "xml:space"
1919
+ // NOTE: if you add a camelCased prop to this list,
1920
+ // you'll need to set attributeName to name.toLowerCase()
1921
+ // instead in the assignment below.
1922
+ ].forEach((e) => {
1923
+ const t = e.replace(he, me);
1924
+ y[t] = new b(
1925
+ t,
1926
+ T,
1927
+ !1,
1928
+ // mustUseProperty
1929
+ e,
1930
+ "http://www.w3.org/XML/1998/namespace",
1931
+ !1,
1932
+ // sanitizeURL
1933
+ !1
1934
+ // removeEmptyString
1935
+ );
1936
+ });
1937
+ ["tabIndex", "crossOrigin"].forEach((e) => {
1938
+ y[e] = new b(
1939
+ e,
1940
+ T,
1941
+ !1,
1942
+ // mustUseProperty
1943
+ e.toLowerCase(),
1944
+ // attributeName
1945
+ null,
1946
+ // attributeNamespace
1947
+ !1,
1948
+ // sanitizeURL
1949
+ !1
1950
+ // removeEmptyString
1951
+ );
1952
+ });
1953
+ const Kt = "xlinkHref";
1954
+ y[Kt] = new b(
1955
+ "xlinkHref",
1956
+ T,
1957
+ !1,
1958
+ // mustUseProperty
1959
+ "xlink:href",
1960
+ "http://www.w3.org/1999/xlink",
1961
+ !0,
1962
+ // sanitizeURL
1963
+ !1
1964
+ // removeEmptyString
1965
+ );
1966
+ ["src", "href", "action", "formAction"].forEach((e) => {
1967
+ y[e] = new b(
1968
+ e,
1969
+ T,
1970
+ !1,
1971
+ // mustUseProperty
1972
+ e.toLowerCase(),
1973
+ // attributeName
1974
+ null,
1975
+ // attributeNamespace
1976
+ !0,
1977
+ // sanitizeURL
1978
+ !0
1979
+ // removeEmptyString
1980
+ );
1981
+ });
1982
+ const {
1983
+ CAMELCASE: Jt,
1984
+ SAME: Qt,
1985
+ possibleStandardNames: _e
1986
+ } = q, er = ":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD", tr = er + "\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040", rr = RegExp.prototype.test.bind(
1987
+ // eslint-disable-next-line no-misleading-character-class
1988
+ new RegExp("^(data|aria)-[" + tr + "]*$")
1989
+ ), nr = Object.keys(
1990
+ _e
1991
+ ).reduce((e, t) => {
1992
+ const r = _e[t];
1993
+ return r === Qt ? e[t] = t : r === Jt ? e[t.toLowerCase()] = t : e[t] = r, e;
1994
+ }, {});
1995
+ w.BOOLEAN = Z;
1996
+ w.BOOLEANISH_STRING = Y;
1997
+ w.NUMERIC = ot;
1998
+ w.OVERLOADED_BOOLEAN = ce;
1999
+ w.POSITIVE_NUMERIC = at;
2000
+ w.RESERVED = it;
2001
+ w.STRING = T;
2002
+ w.getPropertyInfo = Yt;
2003
+ w.isCustomAttribute = rr;
2004
+ w.possibleStandardNames = nr;
2005
+ var xe = {}, ge = {}, se = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, ir = /\n/g, or = /^\s*/, ar = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/, lr = /^:\s*/, dr = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/, ur = /^[;\s]*/, fr = /^\s+|\s+$/g, pr = `
2006
+ `, Ce = "/", Ne = "*", R = "", cr = "comment", hr = "declaration", mr = function(e, t) {
2007
+ if (typeof e != "string")
2008
+ throw new TypeError("First argument must be a string");
2009
+ if (!e) return [];
2010
+ t = t || {};
2011
+ var r = 1, n = 1;
2012
+ function i(g) {
2013
+ var h = g.match(ir);
2014
+ h && (r += h.length);
2015
+ var k = g.lastIndexOf(pr);
2016
+ n = ~k ? g.length - k : n + g.length;
2017
+ }
2018
+ function a() {
2019
+ var g = { line: r, column: n };
2020
+ return function(h) {
2021
+ return h.position = new f(g), c(), h;
2022
+ };
2023
+ }
2024
+ function f(g) {
2025
+ this.start = g, this.end = { line: r, column: n }, this.source = t.source;
2026
+ }
2027
+ f.prototype.content = e;
2028
+ function p(g) {
2029
+ var h = new Error(
2030
+ t.source + ":" + r + ":" + n + ": " + g
2031
+ );
2032
+ if (h.reason = g, h.filename = t.source, h.line = r, h.column = n, h.source = e, !t.silent) throw h;
2033
+ }
2034
+ function u(g) {
2035
+ var h = g.exec(e);
2036
+ if (h) {
2037
+ var k = h[0];
2038
+ return i(k), e = e.slice(k.length), h;
2039
+ }
2040
+ }
2041
+ function c() {
2042
+ u(or);
2043
+ }
2044
+ function d(g) {
2045
+ var h;
2046
+ for (g = g || []; h = m(); )
2047
+ h !== !1 && g.push(h);
2048
+ return g;
2049
+ }
2050
+ function m() {
2051
+ var g = a();
2052
+ if (!(Ce != e.charAt(0) || Ne != e.charAt(1))) {
2053
+ for (var h = 2; R != e.charAt(h) && (Ne != e.charAt(h) || Ce != e.charAt(h + 1)); )
2054
+ ++h;
2055
+ if (h += 2, R === e.charAt(h - 1))
2056
+ return p("End of comment missing");
2057
+ var k = e.slice(2, h - 2);
2058
+ return n += 2, i(k), e = e.slice(h), n += 2, g({
2059
+ type: cr,
2060
+ comment: k
2061
+ });
2062
+ }
2063
+ }
2064
+ function _() {
2065
+ var g = a(), h = u(ar);
2066
+ if (h) {
2067
+ if (m(), !u(lr)) return p("property missing ':'");
2068
+ var k = u(dr), ft = g({
2069
+ type: hr,
2070
+ property: Te(h[0].replace(se, R)),
2071
+ value: k ? Te(k[0].replace(se, R)) : R
2072
+ });
2073
+ return u(ur), ft;
2074
+ }
2075
+ }
2076
+ function H() {
2077
+ var g = [];
2078
+ d(g);
2079
+ for (var h; h = _(); )
2080
+ h !== !1 && (g.push(h), d(g));
2081
+ return g;
2082
+ }
2083
+ return c(), H();
2084
+ };
2085
+ function Te(e) {
2086
+ return e ? e.replace(fr, R) : R;
2087
+ }
2088
+ var xr = v && v.__importDefault || function(e) {
2089
+ return e && e.__esModule ? e : { default: e };
2090
+ };
2091
+ Object.defineProperty(ge, "__esModule", { value: !0 });
2092
+ ge.default = vr;
2093
+ var gr = xr(mr);
2094
+ function vr(e, t) {
2095
+ var r = null;
2096
+ if (!e || typeof e != "string")
2097
+ return r;
2098
+ var n = (0, gr.default)(e), i = typeof t == "function";
2099
+ return n.forEach(function(a) {
2100
+ if (a.type === "declaration") {
2101
+ var f = a.property, p = a.value;
2102
+ i ? t(f, p, a) : p && (r = r || {}, r[f] = p);
2103
+ }
2104
+ }), r;
2105
+ }
2106
+ var K = {};
2107
+ Object.defineProperty(K, "__esModule", { value: !0 });
2108
+ K.camelCase = void 0;
2109
+ var yr = /^--[a-zA-Z0-9_-]+$/, br = /-([a-z])/g, kr = /^[^-]+$/, Er = /^-(webkit|moz|ms|o|khtml)-/, wr = /^-(ms)-/, jr = function(e) {
2110
+ return !e || kr.test(e) || yr.test(e);
2111
+ }, _r = function(e, t) {
2112
+ return t.toUpperCase();
2113
+ }, Re = function(e, t) {
2114
+ return "".concat(t, "-");
2115
+ }, sr = function(e, t) {
2116
+ return t === void 0 && (t = {}), jr(e) ? e : (e = e.toLowerCase(), t.reactCompat ? e = e.replace(wr, Re) : e = e.replace(Er, Re), e.replace(br, _r));
2117
+ };
2118
+ K.camelCase = sr;
2119
+ var Cr = v && v.__importDefault || function(e) {
2120
+ return e && e.__esModule ? e : { default: e };
2121
+ }, Nr = Cr(ge), Tr = K;
2122
+ function ie(e, t) {
2123
+ var r = {};
2124
+ return !e || typeof e != "string" || (0, Nr.default)(e, function(n, i) {
2125
+ n && i && (r[(0, Tr.camelCase)(n, t)] = i);
2126
+ }), r;
2127
+ }
2128
+ ie.default = ie;
2129
+ var Rr = ie;
2130
+ (function(e) {
2131
+ var t = v && v.__importDefault || function(d) {
2132
+ return d && d.__esModule ? d : { default: d };
2133
+ };
2134
+ Object.defineProperty(e, "__esModule", { value: !0 }), e.returnFirstArg = e.canTextBeChildOfNode = e.ELEMENTS_WITH_NO_TEXT_CHILDREN = e.PRESERVE_CUSTOM_ATTRIBUTES = void 0, e.isCustomComponent = a, e.setStyleProp = p;
2135
+ var r = He, n = t(Rr), i = /* @__PURE__ */ new Set([
2136
+ "annotation-xml",
2137
+ "color-profile",
2138
+ "font-face",
2139
+ "font-face-src",
2140
+ "font-face-uri",
2141
+ "font-face-format",
2142
+ "font-face-name",
2143
+ "missing-glyph"
2144
+ ]);
2145
+ function a(d, m) {
2146
+ return d.includes("-") ? !i.has(d) : !!(m && typeof m.is == "string");
2147
+ }
2148
+ var f = {
2149
+ reactCompat: !0
2150
+ };
2151
+ function p(d, m) {
2152
+ if (typeof d == "string") {
2153
+ if (!d.trim()) {
2154
+ m.style = {};
2155
+ return;
2156
+ }
2157
+ try {
2158
+ m.style = (0, n.default)(d, f);
2159
+ } catch {
2160
+ m.style = {};
2161
+ }
2162
+ }
2163
+ }
2164
+ e.PRESERVE_CUSTOM_ATTRIBUTES = Number(r.version.split(".")[0]) >= 16, e.ELEMENTS_WITH_NO_TEXT_CHILDREN = /* @__PURE__ */ new Set([
2165
+ "tr",
2166
+ "tbody",
2167
+ "thead",
2168
+ "tfoot",
2169
+ "colgroup",
2170
+ "table",
2171
+ "head",
2172
+ "html",
2173
+ "frameset"
2174
+ ]);
2175
+ var u = function(d) {
2176
+ return !e.ELEMENTS_WITH_NO_TEXT_CHILDREN.has(d.name);
2177
+ };
2178
+ e.canTextBeChildOfNode = u;
2179
+ var c = function(d) {
2180
+ return d;
2181
+ };
2182
+ e.returnFirstArg = c;
2183
+ })(xe);
2184
+ Object.defineProperty($, "__esModule", { value: !0 });
2185
+ $.default = Ar;
2186
+ var A = w, Ie = xe, Ir = ["checked", "value"], Or = ["input", "select", "textarea"], Sr = {
2187
+ reset: !0,
2188
+ submit: !0
2189
+ };
2190
+ function Ar(e, t) {
2191
+ e === void 0 && (e = {});
2192
+ var r = {}, n = !!(e.type && Sr[e.type]);
2193
+ for (var i in e) {
2194
+ var a = e[i];
2195
+ if ((0, A.isCustomAttribute)(i)) {
2196
+ r[i] = a;
2197
+ continue;
2198
+ }
2199
+ var f = i.toLowerCase(), p = Oe(f);
2200
+ if (p) {
2201
+ var u = (0, A.getPropertyInfo)(p);
2202
+ switch (Ir.includes(p) && Or.includes(t) && !n && (p = Oe("default" + f)), r[p] = a, u && u.type) {
2203
+ case A.BOOLEAN:
2204
+ r[p] = !0;
2205
+ break;
2206
+ case A.OVERLOADED_BOOLEAN:
2207
+ a === "" && (r[p] = !0);
2208
+ break;
2209
+ }
2210
+ continue;
2211
+ }
2212
+ Ie.PRESERVE_CUSTOM_ATTRIBUTES && (r[i] = a);
2213
+ }
2214
+ return (0, Ie.setStyleProp)(e.style, r), r;
2215
+ }
2216
+ function Oe(e) {
2217
+ return A.possibleStandardNames[e];
2218
+ }
2219
+ var ve = {}, Mr = v && v.__importDefault || function(e) {
2220
+ return e && e.__esModule ? e : { default: e };
2221
+ };
2222
+ Object.defineProperty(ve, "__esModule", { value: !0 });
2223
+ ve.default = lt;
2224
+ var Q = He, Dr = Mr($), D = xe, Pr = {
2225
+ cloneElement: Q.cloneElement,
2226
+ createElement: Q.createElement,
2227
+ isValidElement: Q.isValidElement
2228
+ };
2229
+ function lt(e, t) {
2230
+ t === void 0 && (t = {});
2231
+ for (var r = [], n = typeof t.replace == "function", i = t.transform || D.returnFirstArg, a = t.library || Pr, f = a.cloneElement, p = a.createElement, u = a.isValidElement, c = e.length, d = 0; d < c; d++) {
2232
+ var m = e[d];
2233
+ if (n) {
2234
+ var _ = t.replace(m, d);
2235
+ if (u(_)) {
2236
+ c > 1 && (_ = f(_, {
2237
+ key: _.key || d
2238
+ })), r.push(i(_, m, d));
2239
+ continue;
2240
+ }
2241
+ }
2242
+ if (m.type === "text") {
2243
+ var H = !m.data.trim().length;
2244
+ if (H && m.parent && !(0, D.canTextBeChildOfNode)(m.parent) || t.trim && H)
2245
+ continue;
2246
+ r.push(i(m.data, m, d));
2247
+ continue;
2248
+ }
2249
+ var g = m, h = {};
2250
+ Lr(g) ? ((0, D.setStyleProp)(g.attribs.style, g.attribs), h = g.attribs) : g.attribs && (h = (0, Dr.default)(g.attribs, g.name));
2251
+ var k = void 0;
2252
+ switch (m.type) {
2253
+ case "script":
2254
+ case "style":
2255
+ m.children[0] && (h.dangerouslySetInnerHTML = {
2256
+ __html: m.children[0].data
2257
+ });
2258
+ break;
2259
+ case "tag":
2260
+ m.name === "textarea" && m.children[0] ? h.defaultValue = m.children[0].data : m.children && m.children.length && (k = lt(m.children, t));
2261
+ break;
2262
+ // skip all other cases (e.g., comment)
2263
+ default:
2264
+ continue;
2265
+ }
2266
+ c > 1 && (h.key = d), r.push(i(p(m.name, h, k), m, d));
2267
+ }
2268
+ return r.length === 1 ? r[0] : r;
2269
+ }
2270
+ function Lr(e) {
2271
+ return D.PRESERVE_CUSTOM_ATTRIBUTES && e.type === "tag" && (0, D.isCustomComponent)(e.name, e.attribs);
2272
+ }
2273
+ (function(e) {
2274
+ var t = v && v.__importDefault || function(u) {
2275
+ return u && u.__esModule ? u : { default: u };
2276
+ };
2277
+ Object.defineProperty(e, "__esModule", { value: !0 }), e.htmlToDOM = e.domToReact = e.attributesToProps = e.Text = e.ProcessingInstruction = e.Element = e.Comment = void 0, e.default = p;
2278
+ var r = t(ae);
2279
+ e.htmlToDOM = r.default;
2280
+ var n = t($);
2281
+ e.attributesToProps = n.default;
2282
+ var i = t(ve);
2283
+ e.domToReact = i.default;
2284
+ var a = de;
2285
+ Object.defineProperty(e, "Comment", { enumerable: !0, get: function() {
2286
+ return a.Comment;
2287
+ } }), Object.defineProperty(e, "Element", { enumerable: !0, get: function() {
2288
+ return a.Element;
2289
+ } }), Object.defineProperty(e, "ProcessingInstruction", { enumerable: !0, get: function() {
2290
+ return a.ProcessingInstruction;
2291
+ } }), Object.defineProperty(e, "Text", { enumerable: !0, get: function() {
2292
+ return a.Text;
2293
+ } });
2294
+ var f = { lowerCaseAttributeNames: !1 };
2295
+ function p(u, c) {
2296
+ if (typeof u != "string")
2297
+ throw new TypeError("First argument must be a string");
2298
+ return u ? (0, i.default)((0, r.default)(u, (c == null ? void 0 : c.htmlparser2) || f), c) : [];
2299
+ }
2300
+ })(ze);
2301
+ const Se = /* @__PURE__ */ gt(ze), Hr = Se.default || Se, Br = ({ classes: e, index: t, variant: r, title: n, description: i }) => {
2302
+ const a = r === "withTitleAndDescription" && n;
2303
+ return /* @__PURE__ */ o.jsxs(
502
2304
  "div",
503
2305
  {
504
- className: i(
505
- "flex w-full flex-col items-start gap-6 desktop:flex-row desktop:items-center desktop:gap-12",
506
- d == null ? void 0 : d.stepsWrapper
2306
+ className: l(
2307
+ "flex w-[328px] max-w-[328px] flex-col gap-4 rounded-md border border-solid border-blue-grey-500 p-4 desktop:w-[348px] desktop:max-w-[348px] desktop:border-none desktop:p-0",
2308
+ e == null ? void 0 : e.singleStep
507
2309
  ),
508
- children: e == null ? void 0 : e.map((r, n) => /* @__PURE__ */ t.jsx(tt, { index: n + 1, ...r, classes: d == null ? void 0 : d.step }, r.title))
2310
+ children: [
2311
+ /* @__PURE__ */ o.jsx(
2312
+ "div",
2313
+ {
2314
+ className: l(
2315
+ "mob-headline-bold-s flex size-10 items-center justify-center rounded-sm bg-color-blue-grey-500 text-color-white desktop:desk-title-bold-l desktop:size-12",
2316
+ e == null ? void 0 : e.numeric
2317
+ ),
2318
+ children: t
2319
+ }
2320
+ ),
2321
+ /* @__PURE__ */ o.jsxs("div", { className: l("flex flex-col gap-2"), children: [
2322
+ a && /* @__PURE__ */ o.jsx(s, { as: "h4", className: l("text-color-dark", e == null ? void 0 : e.title), children: n }),
2323
+ /* @__PURE__ */ o.jsx("div", { className: l("desk-body-regular-l text-color-tetriary", e == null ? void 0 : e.description), children: Hr(i) })
2324
+ ] })
2325
+ ]
2326
+ }
2327
+ );
2328
+ }, dn = ({ headline: e, variant: t, stepsList: r, classes: n }) => /* @__PURE__ */ o.jsx(ct, { className: n == null ? void 0 : n.root, children: /* @__PURE__ */ o.jsx(C, { className: n == null ? void 0 : n.container, children: /* @__PURE__ */ o.jsxs("div", { className: l("flex flex-col gap-6 desktop:items-start desktop:gap-12", n == null ? void 0 : n.wrapper), children: [
2329
+ /* @__PURE__ */ o.jsx(s, { as: "h2", className: l("text-color-dark", n == null ? void 0 : n.headline), children: e }),
2330
+ /* @__PURE__ */ o.jsx(
2331
+ "div",
2332
+ {
2333
+ className: l(
2334
+ "flex w-full flex-col items-start gap-6 desktop:flex-row desktop:items-start desktop:gap-12",
2335
+ n == null ? void 0 : n.stepsWrapper
2336
+ ),
2337
+ children: r == null ? void 0 : r.map((i, a) => /* @__PURE__ */ o.jsx(Br, { variant: t, ...i, index: a + 1, classes: n == null ? void 0 : n.step }, i.description))
509
2338
  }
510
2339
  )
511
- ] }) }) }), et = j("", {
2340
+ ] }) }) }), Fr = I("", {
512
2341
  variants: {
513
2342
  intent: {
514
2343
  twoItems: "mob-headline-bold-s mb-6 desktop:desk-headline-bold-m desktop:mb-12",
@@ -524,7 +2353,7 @@ const G = j(
524
2353
  defaultVariants: {
525
2354
  intent: "twoItems"
526
2355
  }
527
- }), rt = j("desktop:max-h-[98px]", {
2356
+ }), zr = I("desktop:max-h-[98px]", {
528
2357
  variants: {
529
2358
  intent: {
530
2359
  twoItems: "",
@@ -556,7 +2385,7 @@ const G = j(
556
2385
  class: "desktop:grid grid-rows-2 desktop:gap-x-10 desktop:gap-y-4 grid-flow-col"
557
2386
  }
558
2387
  ]
559
- }), ot = j("border-blue-grey-500 pb-6 mobile:mb-6 mobile:border-b mobile:last:pb-0 mobile:last:mb-0", {
2388
+ }), Gr = I("border-blue-grey-500 pb-6 mobile:mb-6 mobile:border-b mobile:last:pb-0 mobile:last:mb-0", {
560
2389
  variants: {
561
2390
  intent: {
562
2391
  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',
@@ -566,7 +2395,7 @@ const G = j(
566
2395
  defaultVariants: {
567
2396
  intent: "twoItems"
568
2397
  }
569
- }), nt = j("mobile:mx-auto mobile:mb-8, h-[172px] w-[280px] ", {
2398
+ }), Vr = I("mobile:mx-auto mobile:mb-8, h-[172px] w-[280px] ", {
570
2399
  variants: {
571
2400
  intent: {
572
2401
  twoItems: "desktop:h-[232px] desktop:w-[500px]",
@@ -592,51 +2421,51 @@ const G = j(
592
2421
  class: "desktop:h-[272px] desktop:w-[500px]"
593
2422
  }
594
2423
  ]
595
- }), it = ({ data: o, intent: e }) => {
596
- const { title: d, description: r, popoverText: n } = o;
597
- return /* @__PURE__ */ t.jsx("li", { className: i(ot({ intent: e })), children: /* @__PURE__ */ t.jsxs("div", { className: "desktop:max-w-[264px]", children: [
598
- /* @__PURE__ */ t.jsxs("div", { className: i("mb-2 flex items-center gap-2"), children: [
599
- /* @__PURE__ */ t.jsx("h4", { className: i("mob-title-bold-m text-color-dark"), children: d }),
600
- n && /* @__PURE__ */ t.jsx(V, { triggerElement: /* @__PURE__ */ t.jsx(u, { className: i("size-5 text-icon-blue-grey-600"), name: "info/helpCircle" }), children: n })
2424
+ }), Ur = ({ data: e, intent: t }) => {
2425
+ const { title: r, description: n, popoverText: i } = e;
2426
+ return /* @__PURE__ */ o.jsx("li", { className: l(Gr({ intent: t })), children: /* @__PURE__ */ o.jsxs("div", { className: "desktop:max-w-[264px]", children: [
2427
+ /* @__PURE__ */ o.jsxs("div", { className: l("mb-2 flex items-center gap-2"), children: [
2428
+ /* @__PURE__ */ o.jsx("h4", { className: l("mob-title-bold-m text-color-dark"), children: r }),
2429
+ i && /* @__PURE__ */ o.jsx(ht, { triggerElement: /* @__PURE__ */ o.jsx(j, { className: l("size-5 text-icon-blue-grey-600"), name: "info/helpCircle" }), children: i })
601
2430
  ] }),
602
- /* @__PURE__ */ t.jsx("p", { className: i("mob-body-regular-l text-color-secondary"), children: r })
2431
+ /* @__PURE__ */ o.jsx("p", { className: l("mob-body-regular-l text-color-secondary"), children: n })
603
2432
  ] }) });
604
- }, N = ({ intent: o, title: e, desktopHidden: d = !1, mobileHidden: r = !1 }) => /* @__PURE__ */ t.jsx("h2", { className: i(et({ intent: o, desktopHidden: d, mobileHidden: r })), children: e }), dt = ({ textContent: o, intent: e, withButton: d }) => /* @__PURE__ */ t.jsx("ul", { className: i(rt({ intent: e, withButton: d })), children: o == null ? void 0 : o.map((r, n) => /* @__PURE__ */ t.jsx(it, { intent: e, data: r }, n)) }), vt = ({
605
- title: o,
606
- buttonConfig: e,
607
- intent: d = "twoItems",
608
- textContent: r,
609
- imageComponent: n,
610
- classes: x
2433
+ }, ee = ({ intent: e, title: t, desktopHidden: r = !1, mobileHidden: n = !1 }) => /* @__PURE__ */ o.jsx("h2", { className: l(Fr({ intent: e, desktopHidden: r, mobileHidden: n })), children: t }), Wr = ({ textContent: e, intent: t, withButton: r }) => /* @__PURE__ */ o.jsx("ul", { className: l(zr({ intent: t, withButton: r })), children: e == null ? void 0 : e.map((n, i) => /* @__PURE__ */ o.jsx(Ur, { intent: t, data: n }, i)) }), un = ({
2434
+ title: e,
2435
+ buttonConfig: t,
2436
+ intent: r = "twoItems",
2437
+ textContent: n,
2438
+ imageComponent: i,
2439
+ classes: a
611
2440
  }) => {
612
- const m = !!e, f = d === "fourItems", h = d === "twoItems";
613
- return /* @__PURE__ */ t.jsx("section", { className: i(x == null ? void 0 : x.section), children: /* @__PURE__ */ t.jsxs(a, { className: i(x == null ? void 0 : x.mainContainer), children: [
614
- h && /* @__PURE__ */ t.jsx(N, { intent: d, title: o }),
615
- /* @__PURE__ */ t.jsxs(
2441
+ const f = !!t, p = r === "fourItems", u = r === "twoItems";
2442
+ return /* @__PURE__ */ o.jsx("section", { className: l(a == null ? void 0 : a.section), children: /* @__PURE__ */ o.jsxs(C, { className: l(a == null ? void 0 : a.mainContainer), children: [
2443
+ u && /* @__PURE__ */ o.jsx(ee, { intent: r, title: e }),
2444
+ /* @__PURE__ */ o.jsxs(
616
2445
  "div",
617
2446
  {
618
- className: i(
2447
+ className: l(
619
2448
  "bg-banner-skyblue-100 px-6 pb-8 pt-6 desktop:flex desktop:flex-row-reverse desktop:justify-between desktop:px-0 desktop:py-0 desktop:pl-12",
620
- x == null ? void 0 : x.contentContainer
2449
+ a == null ? void 0 : a.contentContainer
621
2450
  ),
622
2451
  children: [
623
- f && /* @__PURE__ */ t.jsx(N, { intent: d, title: o, desktopHidden: !0 }),
624
- /* @__PURE__ */ t.jsx("div", { className: i(nt({ intent: d, withButton: m }), x == null ? void 0 : x.imgContainer), children: n }),
625
- /* @__PURE__ */ t.jsxs(
2452
+ p && /* @__PURE__ */ o.jsx(ee, { intent: r, title: e, desktopHidden: !0 }),
2453
+ /* @__PURE__ */ o.jsx("div", { className: l(Vr({ intent: r, withButton: f }), a == null ? void 0 : a.imgContainer), children: i }),
2454
+ /* @__PURE__ */ o.jsxs(
626
2455
  "div",
627
2456
  {
628
- className: i("desktop:flex desktop:flex-col desktop:justify-center desktop:py-10", x == null ? void 0 : x.textWithBtnContainer),
2457
+ className: l("desktop:flex desktop:flex-col desktop:justify-center desktop:py-10", a == null ? void 0 : a.textWithBtnContainer),
629
2458
  children: [
630
- f && /* @__PURE__ */ t.jsx(N, { intent: d, title: o, mobileHidden: !0 }),
631
- /* @__PURE__ */ t.jsx(dt, { textContent: r, intent: d, withButton: m }),
632
- m && /* @__PURE__ */ t.jsx(
633
- g,
2459
+ p && /* @__PURE__ */ o.jsx(ee, { intent: r, title: e, mobileHidden: !0 }),
2460
+ /* @__PURE__ */ o.jsx(Wr, { textContent: n, intent: r, withButton: f }),
2461
+ f && /* @__PURE__ */ o.jsx(
2462
+ P,
634
2463
  {
635
- className: i("w-full px-4 desktop:w-max", x == null ? void 0 : x.button),
2464
+ className: l("w-full px-4 desktop:w-max", a == null ? void 0 : a.button),
636
2465
  size: "lg",
637
- onClick: e.onClick,
2466
+ onClick: t.onClick,
638
2467
  intent: "secondary",
639
- children: e.text
2468
+ children: t.text
640
2469
  }
641
2470
  )
642
2471
  ]
@@ -646,173 +2475,173 @@ const G = j(
646
2475
  }
647
2476
  )
648
2477
  ] }) });
649
- }, v = {
2478
+ }, te = {
650
2479
  ESIA: "esia",
651
2480
  MOBILE_ID: "mobileId",
652
2481
  COMBINE: "combine"
653
- }, H = ({ children: o, isLoading: e, classes: d, loaderProps: r }) => /* @__PURE__ */ t.jsx(
2482
+ }, dt = ({ children: e, isLoading: t, classes: r, loaderProps: n }) => /* @__PURE__ */ o.jsx(
654
2483
  "div",
655
2484
  {
656
2485
  tabIndex: 0,
657
- className: i(
2486
+ className: l(
658
2487
  "relative flex h-[90px] w-full max-w-[328px] items-center justify-center rounded-sm p-2 desktop:max-w-[524px]",
659
2488
  "bg-color-white outline outline-1 outline-warm-grey-200 transition-colors focus-visible:outline-primary-focus",
660
- d == null ? void 0 : d.root
2489
+ r == null ? void 0 : r.root
661
2490
  ),
662
- children: /* @__PURE__ */ t.jsx(
2491
+ children: /* @__PURE__ */ o.jsx(
663
2492
  "div",
664
2493
  {
665
- className: i(
2494
+ className: l(
666
2495
  "flex h-[74px] flex-1 cursor-pointer rounded-sm px-2 py-3 transition-colors desktop:px-4 desktop:py-3",
667
2496
  "bg-color-blue-grey-100 hover:bg-color-blue-grey-200 active:bg-color-blue-grey-300",
668
- { "items-center": e },
669
- d == null ? void 0 : d.wrapper
2497
+ { "items-center": t },
2498
+ r == null ? void 0 : r.wrapper
670
2499
  ),
671
- children: e ? /* @__PURE__ */ t.jsx(D, { position: "static", classes: { wrapper: "size-8 m-auto" }, ...r }) : o
2500
+ children: t ? /* @__PURE__ */ o.jsx(mt, { position: "static", classes: { wrapper: "size-8 m-auto" }, ...n }) : e
672
2501
  }
673
2502
  )
674
2503
  }
675
- ), xt = ({ ...o }) => /* @__PURE__ */ t.jsxs("svg", { width: "32", height: "32", viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...o, children: [
676
- /* @__PURE__ */ t.jsx(
2504
+ ), Xr = ({ ...e }) => /* @__PURE__ */ o.jsxs("svg", { width: "32", height: "32", viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: [
2505
+ /* @__PURE__ */ o.jsx(
677
2506
  "path",
678
2507
  {
679
2508
  d: "M30.3986 10.6149C30.2728 8.96576 29.014 6.85155 27.7553 5.83672C26.3398 4.79816 24.8691 3.83828 23.3497 2.96139C21.8418 2.06068 20.2871 1.24201 18.6923 0.508895C17.8404 0.15868 16.927 -0.0139306 16.007 0.00148264C15.0868 -0.0180029 14.1725 0.154761 13.3217 0.508895C11.7272 1.24253 10.1725 2.06119 8.66438 2.96139C6.23081 4.44134 4.25878 5.83672 4.25878 5.83672C3.22329 6.71008 2.43892 7.83418 1.97146 9.09195C1.87834 9.34251 2.07032 9.59987 2.33762 9.59987H4.2568C4.55401 9.59987 4.82321 9.43281 4.98085 9.18085C5.33539 8.61417 5.77902 8.10202 6.29948 7.66607C6.29948 7.66607 7.92774 6.52186 9.93709 5.3083C11.1823 4.57013 12.466 3.89884 13.7826 3.29725C14.485 3.00687 15.2399 2.8652 15.9998 2.88118C16.7593 2.86854 17.5136 3.01008 18.217 3.29725C19.5337 3.89841 20.8174 4.56972 22.0624 5.3083C23.317 6.02735 24.5313 6.81445 25.7 7.66607C26.7394 8.49823 27.7787 10.2319 27.8826 11.5841C27.8826 11.5841 28.1251 13.5952 28.1598 15.9772C28.1576 17.4483 28.0767 18.9183 27.9173 20.3807C27.6755 21.912 26.8879 23.3038 25.7 24.2988C25.7 24.2988 24.0718 25.4777 22.0624 26.6912C20.8172 27.4294 19.5335 28.1007 18.217 28.7023C17.5145 28.9927 16.7596 29.1343 15.9998 29.1184C15.2409 29.1343 14.4867 28.9963 13.7826 28.7127C12.4658 28.1115 11.1821 27.4402 9.93709 26.7016C7.92774 25.5228 6.29948 24.3092 6.29948 24.3092C5.84515 23.9454 5.39081 23.4094 5.01172 22.8082C4.85581 22.561 4.5896 22.3997 4.2973 22.3997H2.34718C2.07645 22.3997 1.88475 22.6629 1.98611 22.914C2.49249 24.168 3.37564 25.4212 4.25878 26.1332C4.25878 26.1332 6.23081 27.6132 8.66438 29.0508C10.1723 29.9515 11.7269 30.7702 13.3217 31.5033C14.1745 31.8492 15.088 32.0175 16.007 31.998C16.9273 32.0175 17.8416 31.8448 18.6923 31.4906C20.2869 30.757 21.8415 29.9383 23.3497 29.0381C25.7833 27.5582 27.7553 26.1205 27.7553 26.1205C29.1939 24.9072 30.1478 23.2098 30.4406 21.3424C30.6337 19.5589 30.7317 17.7663 30.7343 15.9723C30.6923 13.0673 30.3986 10.6149 30.3986 10.6149Z",
680
2509
  fill: "url(#paint0_linear_6493_452)"
681
2510
  }
682
2511
  ),
683
- /* @__PURE__ */ t.jsx(
2512
+ /* @__PURE__ */ o.jsx(
684
2513
  "path",
685
2514
  {
686
2515
  d: "M1.27985 12.4821C1.27985 12.1286 1.56638 11.8421 1.91985 11.8421H11.8398C12.1933 11.8421 12.4798 12.1286 12.4798 12.4821V14.4021C12.4798 14.7555 12.1933 15.0421 11.8398 15.0421H1.27985V12.4821Z",
687
2516
  fill: "#0066B3"
688
2517
  }
689
2518
  ),
690
- /* @__PURE__ */ t.jsx(
2519
+ /* @__PURE__ */ o.jsx(
691
2520
  "path",
692
2521
  {
693
2522
  d: "M1.27985 16.9618H21.4398C21.7933 16.9618 22.0798 17.2484 22.0798 17.6018V19.5218C22.0798 19.8752 21.7933 20.1618 21.4398 20.1618H1.91985C1.56638 20.1618 1.27985 19.8752 1.27985 19.5218V16.9618Z",
694
2523
  fill: "#EE2F53"
695
2524
  }
696
2525
  ),
697
- /* @__PURE__ */ t.jsx("defs", { children: /* @__PURE__ */ t.jsxs("linearGradient", { id: "paint0_linear_6493_452", x1: "16.0071", y1: "0", x2: "16.0071", y2: "31.9996", gradientUnits: "userSpaceOnUse", children: [
698
- /* @__PURE__ */ t.jsx("stop", { stopColor: "#0066B3" }),
699
- /* @__PURE__ */ t.jsx("stop", { offset: "0.354167", stopColor: "#0066B3" }),
700
- /* @__PURE__ */ t.jsx("stop", { offset: "0.6875", stopColor: "#EE2F53" }),
701
- /* @__PURE__ */ t.jsx("stop", { offset: "1", stopColor: "#EE2F53" })
2526
+ /* @__PURE__ */ o.jsx("defs", { children: /* @__PURE__ */ o.jsxs("linearGradient", { id: "paint0_linear_6493_452", x1: "16.0071", y1: "0", x2: "16.0071", y2: "31.9996", gradientUnits: "userSpaceOnUse", children: [
2527
+ /* @__PURE__ */ o.jsx("stop", { stopColor: "#0066B3" }),
2528
+ /* @__PURE__ */ o.jsx("stop", { offset: "0.354167", stopColor: "#0066B3" }),
2529
+ /* @__PURE__ */ o.jsx("stop", { offset: "0.6875", stopColor: "#EE2F53" }),
2530
+ /* @__PURE__ */ o.jsx("stop", { offset: "1", stopColor: "#EE2F53" })
702
2531
  ] }) })
703
- ] }), F = ({ mainLink: o, subLink: e, isMobile: d, classes: r }) => /* @__PURE__ */ t.jsxs("div", { className: i("flex flex-col", r == null ? void 0 : r.linksWrapper), children: [
704
- /* @__PURE__ */ t.jsx(
2532
+ ] }), ut = ({ mainLink: e, subLink: t, isMobile: r, classes: n }) => /* @__PURE__ */ o.jsxs("div", { className: l("flex flex-col", n == null ? void 0 : n.linksWrapper), children: [
2533
+ /* @__PURE__ */ o.jsx(
705
2534
  "a",
706
2535
  {
707
- href: o.href,
2536
+ href: e.href,
708
2537
  target: "_blank",
709
2538
  rel: "noreferrer",
710
- className: i(
2539
+ className: l(
711
2540
  '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',
712
- r == null ? void 0 : r.linksMainLink
2541
+ n == null ? void 0 : n.linksMainLink
713
2542
  ),
714
- children: d ? o.mobileTitle : o.title
2543
+ children: r ? e.mobileTitle : e.title
715
2544
  }
716
2545
  ),
717
- (e == null ? void 0 : e.text) && (e == null ? void 0 : e.href) && /* @__PURE__ */ t.jsx(
718
- w,
2546
+ (t == null ? void 0 : t.text) && (t == null ? void 0 : t.href) && /* @__PURE__ */ o.jsx(
2547
+ U,
719
2548
  {
720
2549
  intent: "blue",
721
2550
  withUnderline: !0,
722
- href: e == null ? void 0 : e.href,
2551
+ href: t == null ? void 0 : t.href,
723
2552
  target: "_blank",
724
2553
  rel: "noreferrer",
725
2554
  classes: {
726
- link: i("w-max relative z-[6] p-0 desk-body-regular-m text-color-tetriary", r == null ? void 0 : r.linksSubLink)
2555
+ link: l("w-max relative z-[6] p-0 desk-body-regular-m text-color-tetriary", n == null ? void 0 : n.linksSubLink)
727
2556
  },
728
- children: e == null ? void 0 : e.text
2557
+ children: t == null ? void 0 : t.text
729
2558
  }
730
2559
  )
731
- ] }), I = ({ mainLink: o, subLink: e, isLoading: d, badge: r, loaderProps: n, classes: x }) => {
732
- const { isMobile: m } = b();
733
- return /* @__PURE__ */ t.jsx(H, { isLoading: d, loaderProps: n, classes: x == null ? void 0 : x.authWrapper, children: /* @__PURE__ */ t.jsxs(
2560
+ ] }), Ae = ({ mainLink: e, subLink: t, isLoading: r, badge: n, loaderProps: i, classes: a }) => {
2561
+ const { isMobile: f } = S();
2562
+ return /* @__PURE__ */ o.jsx(dt, { isLoading: r, loaderProps: i, classes: a == null ? void 0 : a.authWrapper, children: /* @__PURE__ */ o.jsxs(
734
2563
  "div",
735
2564
  {
736
- className: i(
2565
+ className: l(
737
2566
  "flex flex-1 items-center justify-between gap-1",
738
- { "justify-center": !r && m },
739
- x == null ? void 0 : x.innerWrapper
2567
+ { "justify-center": !n && f },
2568
+ a == null ? void 0 : a.innerWrapper
740
2569
  ),
741
2570
  children: [
742
- /* @__PURE__ */ t.jsxs("div", { className: i("flex items-center gap-1 desktop:gap-4", x == null ? void 0 : x.textContent), children: [
743
- /* @__PURE__ */ t.jsxs("div", { children: [
744
- /* @__PURE__ */ t.jsx(u, { name: "logos/mts", className: i("relative z-[9] size-7 desktop:size-8", x == null ? void 0 : x.mtsLogo) }),
745
- /* @__PURE__ */ t.jsx(u, { name: "logos/megafon", className: i("relative z-[8] -ml-4 size-7 desktop:size-8", x == null ? void 0 : x.megafonLogo) }),
746
- /* @__PURE__ */ t.jsx(u, { name: "logos/beeline", className: i("relative z-[7] -ml-4 size-7 desktop:size-8", x == null ? void 0 : x.beelineLogo) })
2571
+ /* @__PURE__ */ o.jsxs("div", { className: l("flex items-center gap-1 desktop:gap-4", a == null ? void 0 : a.textContent), children: [
2572
+ /* @__PURE__ */ o.jsxs("div", { children: [
2573
+ /* @__PURE__ */ o.jsx(j, { name: "logos/mts", className: l("relative z-[9] size-7 desktop:size-8", a == null ? void 0 : a.mtsLogo) }),
2574
+ /* @__PURE__ */ o.jsx(j, { name: "logos/megafon", className: l("relative z-[8] -ml-4 size-7 desktop:size-8", a == null ? void 0 : a.megafonLogo) }),
2575
+ /* @__PURE__ */ o.jsx(j, { name: "logos/beeline", className: l("relative z-[7] -ml-4 size-7 desktop:size-8", a == null ? void 0 : a.beelineLogo) })
747
2576
  ] }),
748
- /* @__PURE__ */ t.jsx(F, { mainLink: o, subLink: e, isMobile: m, classes: x == null ? void 0 : x.links }),
749
- /* @__PURE__ */ t.jsx(u, { name: "arrows/arrowRight", className: i("mobile:hidden", x == null ? void 0 : x.arrowIcon) })
2577
+ /* @__PURE__ */ o.jsx(ut, { mainLink: e, subLink: t, isMobile: f, classes: a == null ? void 0 : a.links }),
2578
+ /* @__PURE__ */ o.jsx(j, { name: "arrows/arrowRight", className: l("mobile:hidden", a == null ? void 0 : a.arrowIcon) })
750
2579
  ] }),
751
- r && /* @__PURE__ */ t.jsx(y, { className: i("bg-color-positive", x == null ? void 0 : x.badge), children: r })
2580
+ n && /* @__PURE__ */ o.jsx(oe, { className: l("bg-color-positive", a == null ? void 0 : a.badge), children: n })
752
2581
  ]
753
2582
  }
754
2583
  ) });
755
- }, B = ({ mainLink: o, subLink: e, isLoading: d, badge: r, loaderProps: n, classes: x }) => {
756
- const { isMobile: m } = b();
757
- return /* @__PURE__ */ t.jsx(H, { isLoading: d, loaderProps: n, classes: x == null ? void 0 : x.authWrapper, children: /* @__PURE__ */ t.jsxs(
2584
+ }, Me = ({ mainLink: e, subLink: t, isLoading: r, badge: n, loaderProps: i, classes: a }) => {
2585
+ const { isMobile: f } = S();
2586
+ return /* @__PURE__ */ o.jsx(dt, { isLoading: r, loaderProps: i, classes: a == null ? void 0 : a.authWrapper, children: /* @__PURE__ */ o.jsxs(
758
2587
  "div",
759
2588
  {
760
- className: i(
2589
+ className: l(
761
2590
  "flex flex-1 items-center justify-between gap-1",
762
- { "justify-center": !r && m },
763
- x == null ? void 0 : x.innerWrapper
2591
+ { "justify-center": !n && f },
2592
+ a == null ? void 0 : a.innerWrapper
764
2593
  ),
765
2594
  children: [
766
- /* @__PURE__ */ t.jsxs("div", { className: i("flex items-center gap-1 desktop:gap-4", x == null ? void 0 : x.textContent), children: [
767
- /* @__PURE__ */ t.jsx(xt, { className: i("size-7 desktop:size-8", x == null ? void 0 : x.esiaLogo) }),
768
- /* @__PURE__ */ t.jsx(F, { mainLink: o, subLink: e, isMobile: m, classes: x == null ? void 0 : x.links }),
769
- /* @__PURE__ */ t.jsx(u, { name: "arrows/arrowRight", className: i("mobile:hidden", x == null ? void 0 : x.arrowIcon) })
2595
+ /* @__PURE__ */ o.jsxs("div", { className: l("flex items-center gap-1 desktop:gap-4", a == null ? void 0 : a.textContent), children: [
2596
+ /* @__PURE__ */ o.jsx(Xr, { className: l("size-7 desktop:size-8", a == null ? void 0 : a.esiaLogo) }),
2597
+ /* @__PURE__ */ o.jsx(ut, { mainLink: e, subLink: t, isMobile: f, classes: a == null ? void 0 : a.links }),
2598
+ /* @__PURE__ */ o.jsx(j, { name: "arrows/arrowRight", className: l("mobile:hidden", a == null ? void 0 : a.arrowIcon) })
770
2599
  ] }),
771
- r && /* @__PURE__ */ t.jsx(y, { className: i("bg-color-positive", x == null ? void 0 : x.badge), children: r })
2600
+ n && /* @__PURE__ */ o.jsx(oe, { className: l("bg-color-positive", a == null ? void 0 : a.badge), children: n })
772
2601
  ]
773
2602
  }
774
2603
  ) });
775
- }, pt = (o) => {
776
- switch (o.mode) {
777
- case v.ESIA:
778
- return /* @__PURE__ */ t.jsx(B, { ...o });
779
- case v.MOBILE_ID:
780
- return /* @__PURE__ */ t.jsx(I, { ...o });
781
- case v.COMBINE:
2604
+ }, $r = (e) => {
2605
+ switch (e.mode) {
2606
+ case te.ESIA:
2607
+ return /* @__PURE__ */ o.jsx(Me, { ...e });
2608
+ case te.MOBILE_ID:
2609
+ return /* @__PURE__ */ o.jsx(Ae, { ...e });
2610
+ case te.COMBINE:
782
2611
  default:
783
- const { esiaConfig: e, mobileIdConfig: d, subtitle: r, badge: n, classes: x } = o, m = !r && !n ? U.Fragment : "div";
784
- return /* @__PURE__ */ t.jsxs(
2612
+ const { esiaConfig: t, mobileIdConfig: r, subtitle: n, badge: i, classes: a } = e, f = !n && !i ? vt.Fragment : "div";
2613
+ return /* @__PURE__ */ o.jsxs(
785
2614
  "div",
786
2615
  {
787
- className: i(
2616
+ className: l(
788
2617
  "flex w-[328px] flex-col items-center justify-center gap-2 rounded-sm bg-color-white px-2 py-4 outline outline-1 outline-warm-grey-200 desktop:w-[524px] desktop:p-4",
789
- x == null ? void 0 : x.root
2618
+ a == null ? void 0 : a.root
790
2619
  ),
791
2620
  children: [
792
- /* @__PURE__ */ t.jsxs(m, { className: i("flex w-full items-center justify-between gap-2", x == null ? void 0 : x.topContent), children: [
793
- r && /* @__PURE__ */ t.jsx("h5", { className: i("desk-body-regular-l flex flex-1 text-color-dark", x == null ? void 0 : x.subtitle), children: r }),
794
- n && /* @__PURE__ */ t.jsx(y, { className: i("bg-color-positive", x == null ? void 0 : x.badge), children: n })
2621
+ /* @__PURE__ */ o.jsxs(f, { className: l("flex w-full items-center justify-between gap-2", a == null ? void 0 : a.topContent), children: [
2622
+ n && /* @__PURE__ */ o.jsx("h5", { className: l("desk-body-regular-l flex flex-1 text-color-dark", a == null ? void 0 : a.subtitle), children: n }),
2623
+ i && /* @__PURE__ */ o.jsx(oe, { className: l("bg-color-positive", a == null ? void 0 : a.badge), children: i })
795
2624
  ] }),
796
- /* @__PURE__ */ t.jsxs("div", { className: i("grid w-full grid-cols-2 gap-2 desktop:gap-4", x == null ? void 0 : x.authWrapper), children: [
797
- /* @__PURE__ */ t.jsx(
798
- B,
2625
+ /* @__PURE__ */ o.jsxs("div", { className: l("grid w-full grid-cols-2 gap-2 desktop:gap-4", a == null ? void 0 : a.authWrapper), children: [
2626
+ /* @__PURE__ */ o.jsx(
2627
+ Me,
799
2628
  {
800
- ...e,
2629
+ ...t,
801
2630
  classes: {
802
2631
  root: "p-0 outline-0 h-[74px]",
803
2632
  arrowIcon: "hidden",
804
- ...e.classes
2633
+ ...t.classes
805
2634
  }
806
2635
  }
807
2636
  ),
808
- /* @__PURE__ */ t.jsx(
809
- I,
2637
+ /* @__PURE__ */ o.jsx(
2638
+ Ae,
810
2639
  {
811
- ...d,
2640
+ ...r,
812
2641
  classes: {
813
2642
  root: "p-0 outline-0 h-[74px]",
814
2643
  arrowIcon: "hidden",
815
- ...d.classes
2644
+ ...r.classes
816
2645
  }
817
2646
  }
818
2647
  )
@@ -821,42 +2650,42 @@ const G = j(
821
2650
  }
822
2651
  );
823
2652
  }
824
- }, yt = (o) => pt(o), z = ({ links: o, classes: e }) => /* @__PURE__ */ t.jsx("nav", { className: i("flex flex-col gap-1", e == null ? void 0 : e.linksWrapper), children: o == null ? void 0 : o.map(({ path: d, label: r }) => /* @__PURE__ */ t.jsx(
825
- w,
2653
+ }, fn = (e) => $r(e), De = ({ links: e, classes: t }) => /* @__PURE__ */ o.jsx("nav", { className: l("flex flex-col gap-1", t == null ? void 0 : t.linksWrapper), children: e == null ? void 0 : e.map(({ path: r, label: n }) => /* @__PURE__ */ o.jsx(
2654
+ U,
826
2655
  {
827
2656
  classes: {
828
- link: i("w-max", e == null ? void 0 : e.linkText),
829
- icon: i(e == null ? void 0 : e.linkIcon)
2657
+ link: l("w-max", t == null ? void 0 : t.linkText),
2658
+ icon: l(t == null ? void 0 : t.linkIcon)
830
2659
  },
831
- href: d,
832
- children: r
2660
+ href: r,
2661
+ children: n
833
2662
  },
834
- d
835
- )) }), mt = ({ groupLabel: o, links: e, mobileAccordionProps: d, classes: r }) => {
836
- var x, m;
837
- const { isMobile: n } = b();
838
- return /* @__PURE__ */ t.jsxs("div", { className: i("flex flex-col gap-2", r == null ? void 0 : r.columnGroup), children: [
839
- !n && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
840
- /* @__PURE__ */ t.jsx("h5", { className: i("mob-body-medium-l text-color-dark desktop:desk-body-medium-l", r == null ? void 0 : r.columnGroupHeading), children: o }),
841
- /* @__PURE__ */ t.jsx(z, { links: e, classes: r == null ? void 0 : r.linksList }, "desktop")
2663
+ r
2664
+ )) }), qr = ({ groupLabel: e, links: t, mobileAccordionProps: r, classes: n }) => {
2665
+ var a, f;
2666
+ const { isMobile: i } = S();
2667
+ return /* @__PURE__ */ o.jsxs("div", { className: l("flex flex-col gap-2", n == null ? void 0 : n.columnGroup), children: [
2668
+ !i && /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
2669
+ /* @__PURE__ */ o.jsx("h5", { className: l("mob-body-medium-l text-color-dark desktop:desk-body-medium-l", n == null ? void 0 : n.columnGroupHeading), children: e }),
2670
+ /* @__PURE__ */ o.jsx(De, { links: t, classes: n == null ? void 0 : n.linksList }, "desktop")
842
2671
  ] }),
843
- n && /* @__PURE__ */ t.jsx(
844
- E,
2672
+ i && /* @__PURE__ */ o.jsx(
2673
+ Le,
845
2674
  {
846
2675
  defaultOpen: !0,
847
- label: o,
848
- icon: /* @__PURE__ */ t.jsx(u, { name: "arrows/arrowRight", className: i("rotate-90 transition-transform group-data-[state=open]:-rotate-90") }),
849
- ...d,
2676
+ label: e,
2677
+ icon: /* @__PURE__ */ o.jsx(j, { name: "arrows/arrowRight", className: l("rotate-90 transition-transform group-data-[state=open]:-rotate-90") }),
2678
+ ...r,
850
2679
  classes: {
851
- ...d == null ? void 0 : d.classes,
852
- trigger: i("p-0", (x = d == null ? void 0 : d.classes) == null ? void 0 : x.trigger),
853
- contentInner: i("py-2 px-4", (m = d == null ? void 0 : d.classes) == null ? void 0 : m.contentInner)
2680
+ ...r == null ? void 0 : r.classes,
2681
+ trigger: l("p-0", (a = r == null ? void 0 : r.classes) == null ? void 0 : a.trigger),
2682
+ contentInner: l("py-2 px-4", (f = r == null ? void 0 : r.classes) == null ? void 0 : f.contentInner)
854
2683
  },
855
- children: /* @__PURE__ */ t.jsx(z, { links: e, classes: r == null ? void 0 : r.linksList }, "mobile")
2684
+ children: /* @__PURE__ */ o.jsx(De, { links: t, classes: n == null ? void 0 : n.linksList }, "mobile")
856
2685
  }
857
2686
  )
858
2687
  ] });
859
- }, ft = ({ columnsGroup: o, mobileAccordionProps: e, classes: d }) => /* @__PURE__ */ t.jsx("div", { className: i("flex flex-col gap-4 desktop:gap-6", d == null ? void 0 : d.column), children: o == null ? void 0 : o.map((r) => /* @__PURE__ */ t.jsx(mt, { ...e, ...r, classes: d == null ? void 0 : d.columnGroup }, r.groupLabel)) }), ht = j("grid gap-4 grid-cols-1", {
2688
+ }, Yr = ({ columnsGroup: e, mobileAccordionProps: t, classes: r }) => /* @__PURE__ */ o.jsx("div", { className: l("flex flex-col gap-4 desktop:gap-6", r == null ? void 0 : r.column), children: e == null ? void 0 : e.map((n) => /* @__PURE__ */ o.jsx(qr, { ...t, ...n, classes: r == null ? void 0 : r.columnGroup }, n.groupLabel)) }), Zr = I("grid gap-4 grid-cols-1", {
860
2689
  variants: {
861
2690
  intent: {
862
2691
  twoCols: "desktop:grid-cols-2",
@@ -867,32 +2696,32 @@ const G = j(
867
2696
  defaultVariants: {
868
2697
  intent: "fourCols"
869
2698
  }
870
- }), Ct = ({ data: o, mobileAccordionProps: e, rootAccordionProps: d, classes: r }) => {
871
- var n, x;
872
- return /* @__PURE__ */ t.jsx("section", { id: "inter-linking", className: i("min-w-full desktop:min-w-[1140px]", r == null ? void 0 : r.root), children: /* @__PURE__ */ t.jsx(a, { children: /* @__PURE__ */ t.jsx(
873
- E,
2699
+ }), pn = ({ data: e, mobileAccordionProps: t, rootAccordionProps: r, classes: n }) => {
2700
+ var i, a;
2701
+ return /* @__PURE__ */ o.jsx("section", { id: "inter-linking", className: l("min-w-full desktop:min-w-[1140px]", n == null ? void 0 : n.root), children: /* @__PURE__ */ o.jsx(C, { children: /* @__PURE__ */ o.jsx(
2702
+ Le,
874
2703
  {
875
2704
  defaultOpen: !0,
876
- label: /* @__PURE__ */ t.jsx(k, { as: "h4", className: i("text-left", r == null ? void 0 : r.heading), children: o == null ? void 0 : o.heading }),
877
- ...d,
2705
+ label: /* @__PURE__ */ o.jsx(s, { as: "h4", className: l("text-left", n == null ? void 0 : n.heading), children: e == null ? void 0 : e.heading }),
2706
+ ...r,
878
2707
  classes: {
879
- ...d == null ? void 0 : d.classes,
880
- content: i("max-w-full bg-color-blue-grey-100 relative", (n = d == null ? void 0 : d.classes) == null ? void 0 : n.content)
2708
+ ...r == null ? void 0 : r.classes,
2709
+ content: l("max-w-full bg-color-blue-grey-100 relative", (i = r == null ? void 0 : r.classes) == null ? void 0 : i.content)
881
2710
  },
882
- children: /* @__PURE__ */ t.jsx("div", { className: i(ht({ intent: o == null ? void 0 : o.intent }), r == null ? void 0 : r.columnsWrapper), children: (x = o == null ? void 0 : o.columns) == null ? void 0 : x.map((m, f) => /* @__PURE__ */ t.jsx(ft, { ...m, ...e, classes: r == null ? void 0 : r.column }, f)) })
2711
+ children: /* @__PURE__ */ o.jsx("div", { className: l(Zr({ intent: e == null ? void 0 : e.intent }), n == null ? void 0 : n.columnsWrapper), children: (a = e == null ? void 0 : e.columns) == null ? void 0 : a.map((f, p) => /* @__PURE__ */ o.jsx(Yr, { ...f, ...t, classes: n == null ? void 0 : n.column }, p)) })
883
2712
  }
884
2713
  ) }) });
885
2714
  };
886
2715
  export {
887
- _ as Advantages,
888
- yt as AuthProvider,
889
- gt as Banner,
890
- C as BannerWithSeparateImg,
891
- jt as Benefit,
892
- wt as Footer,
893
- Ct as InterLinking,
894
- vt as LongBanner,
895
- bt as PageHeader,
896
- Nt as Stepper
2716
+ Fe as Advantages,
2717
+ fn as AuthProvider,
2718
+ an as Banner,
2719
+ ye as BannerWithSeparateImg,
2720
+ nn as Benefit,
2721
+ ln as Footer,
2722
+ pn as InterLinking,
2723
+ un as LongBanner,
2724
+ on as PageHeader,
2725
+ dn as Stepper
897
2726
  };
898
2727
  //# sourceMappingURL=widget.js.map