@scbt-ecom/ui 0.51.0 → 0.51.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{index-714cNgOF.js → index-MnignE4U.js} +1032 -1027
- package/dist/index-MnignE4U.js.map +1 -0
- package/dist/shared/ui/badge/Badge.d.ts +2 -2
- package/dist/shared/ui/icon/sprite.gen.d.ts +1 -1
- package/dist/shared/ui/index.d.ts +0 -1
- package/dist/sprites/general.svg +1 -1
- package/dist/ui.js +105 -106
- package/dist/ui.js.map +1 -1
- package/dist/widget.js +133 -125
- package/dist/widget.js.map +1 -1
- package/package.json +1 -2
- package/dist/index-714cNgOF.js.map +0 -1
- package/dist/shared/ui/section/Section.d.ts +0 -6
- package/dist/shared/ui/section/index.d.ts +0 -1
package/dist/widget.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { j as t, B as y, H as j, c as h, R as k, P as F, b as D, I as f, C as I,
|
|
2
|
-
import { s as
|
|
1
|
+
import { j as t, B as y, H as j, c as h, R as k, P as F, b as D, I as f, C as I, a as G, L as U, d as B, A as v, e as Z } from "./index-MnignE4U.js";
|
|
2
|
+
import { s as $, c as L } from "./scrollToElement-BjUPRtGF.js";
|
|
3
3
|
import { c as p, T as c } from "./typeGuards-BigW-JS1.js";
|
|
4
|
-
import { a as
|
|
4
|
+
import { a as b } from "./useDebounce-QgEEiWs9.js";
|
|
5
5
|
import * as N from "react";
|
|
6
|
-
import { useState as
|
|
7
|
-
const
|
|
6
|
+
import { useState as q, useMemo as J, createElement as K } from "react";
|
|
7
|
+
const Q = h(
|
|
8
8
|
"flex flex-col justify-between overflow-hidden rounded-md bg-color-blue-grey-100 py-6 desktop:flex-row desktop:px-0 desktop:py-0",
|
|
9
9
|
{
|
|
10
10
|
variants: {
|
|
@@ -15,7 +15,7 @@ const X = h(
|
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
|
-
),
|
|
18
|
+
), X = ({
|
|
19
19
|
description: r,
|
|
20
20
|
title: e,
|
|
21
21
|
img: o,
|
|
@@ -26,12 +26,12 @@ const X = h(
|
|
|
26
26
|
intent: m,
|
|
27
27
|
cardColor: a
|
|
28
28
|
}) => {
|
|
29
|
-
const { isDesktop: u } =
|
|
29
|
+
const { isDesktop: u } = b(), l = /* @__PURE__ */ t.jsx(t.Fragment, { children: /* @__PURE__ */ t.jsx(
|
|
30
30
|
y,
|
|
31
31
|
{
|
|
32
32
|
intent: "primary",
|
|
33
33
|
className: p("desktop:w-[200px]", d == null ? void 0 : d.button),
|
|
34
|
-
onClick: () =>
|
|
34
|
+
onClick: () => $("personal_form"),
|
|
35
35
|
size: "lg",
|
|
36
36
|
children: x
|
|
37
37
|
}
|
|
@@ -39,7 +39,7 @@ const X = h(
|
|
|
39
39
|
return /* @__PURE__ */ t.jsxs(
|
|
40
40
|
"li",
|
|
41
41
|
{
|
|
42
|
-
className: p(
|
|
42
|
+
className: p(Q({ intent: m }), { "pb-0": n }, { "pb-12": !n }, a, d == null ? void 0 : d.root),
|
|
43
43
|
children: [
|
|
44
44
|
/* @__PURE__ */ t.jsxs("div", { className: p("flex flex-col items-start justify-between px-4 desktop:px-8 desktop:py-8", d == null ? void 0 : d.wrapper), children: [
|
|
45
45
|
/* @__PURE__ */ t.jsxs("div", { className: p("flex flex-col gap-4", d == null ? void 0 : d.textContainer), children: [
|
|
@@ -53,7 +53,7 @@ const X = h(
|
|
|
53
53
|
},
|
|
54
54
|
o
|
|
55
55
|
);
|
|
56
|
-
},
|
|
56
|
+
}, Y = h("grid gap-4", {
|
|
57
57
|
variants: {
|
|
58
58
|
intent: {
|
|
59
59
|
twoCards: "grid-cols-1 mobile:grid-rows-[repeat(2,400px)] desktop:grid-cols-2",
|
|
@@ -61,10 +61,10 @@ const X = h(
|
|
|
61
61
|
fourCards: "grid-cols-1 mobile:grid-rows-[400px,1fr,1fr,400px] desktop:grid-cols-3"
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
|
-
}),
|
|
64
|
+
}), $t = ({ heading: r, cards: e, classes: o, intent: n }) => /* @__PURE__ */ t.jsx("section", { id: "benefit", className: p("pb-20", o == null ? void 0 : o.root), children: /* @__PURE__ */ t.jsxs(k, { className: o == null ? void 0 : o.container, children: [
|
|
65
65
|
/* @__PURE__ */ t.jsx(j, { className: p("mb-8", o == null ? void 0 : o.heading), as: "h2", children: r }),
|
|
66
|
-
/* @__PURE__ */ t.jsx("ul", { className: p(
|
|
67
|
-
] }) }),
|
|
66
|
+
/* @__PURE__ */ t.jsx("ul", { className: p(Y({ intent: n }), o == null ? void 0 : o.grid), children: e == null ? void 0 : e.map((d) => /* @__PURE__ */ t.jsx(X, { intent: n, classes: o == null ? void 0 : o.item, ...d }, d.img)) })
|
|
67
|
+
] }) }), A = (r) => {
|
|
68
68
|
const { variant: e, details: o } = r;
|
|
69
69
|
switch (e) {
|
|
70
70
|
case "withButton":
|
|
@@ -74,23 +74,30 @@ const X = h(
|
|
|
74
74
|
default:
|
|
75
75
|
return null;
|
|
76
76
|
}
|
|
77
|
-
},
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
77
|
+
}, qt = ({ logoPath: r = "/", logoType: e = "main", config: o, classes: n }) => /* @__PURE__ */ t.jsx(
|
|
78
|
+
"header",
|
|
79
|
+
{
|
|
80
|
+
id: "header",
|
|
81
|
+
className: p("flex h-[64px] items-center justify-center bg-color-white desktop:h-[72px]", n == null ? void 0 : n.header),
|
|
82
|
+
children: /* @__PURE__ */ t.jsx(k, { className: p(n == null ? void 0 : n.container), children: /* @__PURE__ */ t.jsxs("div", { className: p("flex items-center justify-between gap-5", n == null ? void 0 : n.wrapper), children: [
|
|
83
|
+
/* @__PURE__ */ t.jsx(
|
|
84
|
+
"a",
|
|
85
|
+
{
|
|
86
|
+
href: r,
|
|
87
|
+
"aria-label": "logo",
|
|
88
|
+
target: "_blank",
|
|
89
|
+
rel: "noreferrer",
|
|
90
|
+
className: p(
|
|
91
|
+
"flex items-center justify-center [&_svg]:w-[132px] desktop:[&_svg]:h-[32px] desktop:[&_svg]:w-[192px]",
|
|
92
|
+
n == null ? void 0 : n.logo
|
|
93
|
+
),
|
|
94
|
+
children: D[e]
|
|
95
|
+
}
|
|
88
96
|
),
|
|
89
|
-
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
] }) }) }), R = ({ buttonsConfig: r, classes: e, className: o }) => {
|
|
97
|
+
A(o)
|
|
98
|
+
] }) })
|
|
99
|
+
}
|
|
100
|
+
), R = ({ buttonsConfig: r, classes: e, className: o }) => {
|
|
94
101
|
var d;
|
|
95
102
|
const n = (r == null ? void 0 : r.secondary) && r.secondary.children;
|
|
96
103
|
return /* @__PURE__ */ t.jsxs(
|
|
@@ -118,7 +125,7 @@ const X = h(
|
|
|
118
125
|
]
|
|
119
126
|
}
|
|
120
127
|
);
|
|
121
|
-
},
|
|
128
|
+
}, P = ({
|
|
122
129
|
headTitle: r,
|
|
123
130
|
subtitle: e,
|
|
124
131
|
buttonsConfig: o,
|
|
@@ -129,7 +136,7 @@ const X = h(
|
|
|
129
136
|
color: m
|
|
130
137
|
}) => {
|
|
131
138
|
var w;
|
|
132
|
-
const { isDesktop: a, isMobile: u } =
|
|
139
|
+
const { isDesktop: a, isMobile: u } = b(), l = i && "url" in i && c.isObject(i) ? /* @__PURE__ */ t.jsx("img", { className: "h-full w-full object-cover object-center", alt: "Картинка баннера", src: i.url }) : i, g = x && "url" in x && c.isObject(x) ? /* @__PURE__ */ t.jsx("img", { className: "h-full w-full object-cover object-center", alt: "Картинка баннера", src: x.url }) : x, C = /* @__PURE__ */ t.jsx(
|
|
133
140
|
"div",
|
|
134
141
|
{
|
|
135
142
|
className: p(
|
|
@@ -147,7 +154,7 @@ const X = h(
|
|
|
147
154
|
"data-test-id": "banner",
|
|
148
155
|
className: p("relative h-[552px] desktop:h-[456px]", d == null ? void 0 : d.root),
|
|
149
156
|
children: [
|
|
150
|
-
/* @__PURE__ */ t.jsx("div", { className: "absolute bottom-0 left-0 right-0 top-0 z-[-1] mx-auto h-full max-w-[1920px] desktop:h-[456px]", children: u ? l :
|
|
157
|
+
/* @__PURE__ */ t.jsx("div", { className: "absolute bottom-0 left-0 right-0 top-0 z-[-1] mx-auto h-full max-w-[1920px] desktop:h-[456px]", children: u ? l : g }),
|
|
151
158
|
/* @__PURE__ */ t.jsxs(k, { className: p("h-full", d == null ? void 0 : d.container), children: [
|
|
152
159
|
/* @__PURE__ */ t.jsx("div", { className: p("flex h-full", d == null ? void 0 : d.wrapper), children: /* @__PURE__ */ t.jsxs("div", { className: p("flex w-[328px] flex-col gap-10 pt-6 desktop:w-full desktop:pt-20", d == null ? void 0 : d.textBlock), children: [
|
|
153
160
|
/* @__PURE__ */ t.jsxs("div", { className: "flex flex-col gap-4", children: [
|
|
@@ -187,7 +194,7 @@ const X = h(
|
|
|
187
194
|
color: a
|
|
188
195
|
}) => {
|
|
189
196
|
var H;
|
|
190
|
-
const { isDesktop: u, isMobile: l } =
|
|
197
|
+
const { isDesktop: u, isMobile: l } = b(), g = i && "url" in i && c.isObject(i) ? /* @__PURE__ */ t.jsx("img", { className: "w-full object-contain", alt: "Картинка баннера", src: i.url }) : i, C = m && "url" in m && c.isObject(m) ? /* @__PURE__ */ t.jsx("img", { className: "w-full object-contain", alt: "Картинка баннера", src: m.url }) : m, w = /* @__PURE__ */ t.jsx(
|
|
191
198
|
"div",
|
|
192
199
|
{
|
|
193
200
|
className: p(
|
|
@@ -225,7 +232,7 @@ const X = h(
|
|
|
225
232
|
] }),
|
|
226
233
|
/* @__PURE__ */ t.jsx(R, { buttonsConfig: o, classes: d })
|
|
227
234
|
] }),
|
|
228
|
-
/* @__PURE__ */ t.jsx("div", { className: p("flex h-[356px] justify-center desktop:h-[456px] desktop:w-[550px]", d == null ? void 0 : d.imageContainer), children: l ?
|
|
235
|
+
/* @__PURE__ */ t.jsx("div", { className: p("flex h-[356px] justify-center desktop:h-[456px] desktop:w-[550px]", d == null ? void 0 : d.imageContainer), children: l ? g : C })
|
|
229
236
|
] }),
|
|
230
237
|
u && x && w
|
|
231
238
|
] })
|
|
@@ -233,12 +240,12 @@ const X = h(
|
|
|
233
240
|
),
|
|
234
241
|
l && x && w
|
|
235
242
|
] });
|
|
236
|
-
},
|
|
243
|
+
}, Jt = ({ variant: r, ...e }) => {
|
|
237
244
|
switch (r) {
|
|
238
245
|
case "separateImg":
|
|
239
246
|
return /* @__PURE__ */ t.jsx(M, { ...e });
|
|
240
247
|
case "fullImg":
|
|
241
|
-
return /* @__PURE__ */ t.jsx(
|
|
248
|
+
return /* @__PURE__ */ t.jsx(P, { ...e });
|
|
242
249
|
default:
|
|
243
250
|
return /* @__PURE__ */ t.jsx(M, { ...e });
|
|
244
251
|
}
|
|
@@ -247,6 +254,7 @@ const X = h(
|
|
|
247
254
|
return /* @__PURE__ */ t.jsx(
|
|
248
255
|
"div",
|
|
249
256
|
{
|
|
257
|
+
id: "advantages",
|
|
250
258
|
className: p(
|
|
251
259
|
"m-auto flex w-full min-w-[328px] max-w-[636px] flex-col gap-8 rounded-md bg-color-white p-6 shadow-sm desktop:w-full desktop:flex-row desktop:items-start desktop:gap-0 desktop:p-0 desktop:py-6",
|
|
252
260
|
{ "desktop:max-w-[860px]": o === "threeCards" },
|
|
@@ -269,7 +277,7 @@ const X = h(
|
|
|
269
277
|
))
|
|
270
278
|
}
|
|
271
279
|
);
|
|
272
|
-
},
|
|
280
|
+
}, s = ({ socialsLinks: r, classes: e }) => /* @__PURE__ */ t.jsx("div", { className: p("mt-4 flex items-center gap-2 desktop:mt-6", e == null ? void 0 : e.socialRoot), children: r == null ? void 0 : r.map(({ iconName: o, href: n }) => /* @__PURE__ */ t.jsx(
|
|
273
281
|
"a",
|
|
274
282
|
{
|
|
275
283
|
className: p("flex size-8 items-center justify-center rounded-full bg-[#52576a] p-2", e == null ? void 0 : e.socialLink),
|
|
@@ -278,7 +286,7 @@ const X = h(
|
|
|
278
286
|
children: /* @__PURE__ */ t.jsx(f, { name: o, className: p("h-full w-full text-icon-white", e == null ? void 0 : e.socialIcon) })
|
|
279
287
|
},
|
|
280
288
|
n
|
|
281
|
-
)) }),
|
|
289
|
+
)) }), tt = ({ phones: r, classes: e }) => /* @__PURE__ */ t.jsx("div", { className: p("flex flex-col gap-4 desktop:items-end", e == null ? void 0 : e.phonesRoot), children: r == null ? void 0 : r.map(({ phone: o, text: n }) => /* @__PURE__ */ t.jsx(
|
|
282
290
|
F,
|
|
283
291
|
{
|
|
284
292
|
phone: L(o),
|
|
@@ -290,7 +298,7 @@ const X = h(
|
|
|
290
298
|
}
|
|
291
299
|
},
|
|
292
300
|
o
|
|
293
|
-
)) }),
|
|
301
|
+
)) }), et = ({ classes: r, config: e }) => {
|
|
294
302
|
const { details: o } = e || {};
|
|
295
303
|
return /* @__PURE__ */ t.jsx(
|
|
296
304
|
"div",
|
|
@@ -320,13 +328,13 @@ const X = h(
|
|
|
320
328
|
)
|
|
321
329
|
}
|
|
322
330
|
);
|
|
323
|
-
},
|
|
331
|
+
}, rt = ({ text: r, classes: e }) => /* @__PURE__ */ t.jsx(
|
|
324
332
|
"div",
|
|
325
333
|
{
|
|
326
334
|
className: p("desk-body-regular-m text-color-footer", e == null ? void 0 : e.copyRight),
|
|
327
335
|
dangerouslySetInnerHTML: { __html: r }
|
|
328
336
|
}
|
|
329
|
-
),
|
|
337
|
+
), ot = ({ classes: r }) => /* @__PURE__ */ t.jsx(
|
|
330
338
|
"a",
|
|
331
339
|
{
|
|
332
340
|
"aria-label": "logo",
|
|
@@ -334,7 +342,7 @@ const X = h(
|
|
|
334
342
|
className: p("block h-[24px] w-[132px] desktop:h-[32px] desktop:w-[194px]", r == null ? void 0 : r.footerLogo),
|
|
335
343
|
children: /* @__PURE__ */ t.jsx(f, { name: "brandLogos/logoWhite", className: p("size-full", r == null ? void 0 : r.footerLogoIcon) })
|
|
336
344
|
}
|
|
337
|
-
),
|
|
345
|
+
), nt = ({ classes: r }) => /* @__PURE__ */ t.jsx(
|
|
338
346
|
I,
|
|
339
347
|
{
|
|
340
348
|
intent: "white",
|
|
@@ -348,7 +356,7 @@ const X = h(
|
|
|
348
356
|
},
|
|
349
357
|
children: "Карта сайта"
|
|
350
358
|
}
|
|
351
|
-
),
|
|
359
|
+
), dt = ({ text: r, classes: e }) => {
|
|
352
360
|
const [o, n] = N.useState(!1), [d, i] = N.useState(!1), x = N.useRef(null);
|
|
353
361
|
return N.useEffect(() => {
|
|
354
362
|
const m = x.current;
|
|
@@ -376,7 +384,7 @@ const X = h(
|
|
|
376
384
|
}
|
|
377
385
|
)
|
|
378
386
|
] });
|
|
379
|
-
},
|
|
387
|
+
}, Kt = ({
|
|
380
388
|
renderBlocks: {
|
|
381
389
|
withSocialsLinks: r = !0,
|
|
382
390
|
withPhones: e = !0,
|
|
@@ -390,8 +398,8 @@ const X = h(
|
|
|
390
398
|
ligal: a,
|
|
391
399
|
copyright: u = "",
|
|
392
400
|
classes: l,
|
|
393
|
-
config:
|
|
394
|
-
}) => /* @__PURE__ */ t.jsx("footer", { className: p("w-full bg-color-footer py-8 desktop:py-10", l == null ? void 0 : l.root), children: /* @__PURE__ */ t.jsx(k, { className: p(l == null ? void 0 : l.footerContainer), children: /* @__PURE__ */ t.jsxs("div", { className: p("mobile:pb-[176px]", l == null ? void 0 : l.footerWrapper), children: [
|
|
401
|
+
config: g
|
|
402
|
+
}) => /* @__PURE__ */ t.jsx("footer", { id: "footer", className: p("w-full bg-color-footer py-8 desktop:py-10", l == null ? void 0 : l.root), children: /* @__PURE__ */ t.jsx(k, { className: p(l == null ? void 0 : l.footerContainer), children: /* @__PURE__ */ t.jsxs("div", { className: p("mobile:pb-[176px]", l == null ? void 0 : l.footerWrapper), children: [
|
|
395
403
|
/* @__PURE__ */ t.jsxs(
|
|
396
404
|
"div",
|
|
397
405
|
{
|
|
@@ -401,15 +409,15 @@ const X = h(
|
|
|
401
409
|
),
|
|
402
410
|
children: [
|
|
403
411
|
/* @__PURE__ */ t.jsxs("div", { className: p(l == null ? void 0 : l.footerSocialBlock), children: [
|
|
404
|
-
/* @__PURE__ */ t.jsx(
|
|
405
|
-
r && /* @__PURE__ */ t.jsx(
|
|
412
|
+
/* @__PURE__ */ t.jsx(ot, { classes: l == null ? void 0 : l.footerLogo }),
|
|
413
|
+
r && /* @__PURE__ */ t.jsx(s, { socialsLinks: x, classes: l == null ? void 0 : l.socialLinks })
|
|
406
414
|
] }),
|
|
407
|
-
e && /* @__PURE__ */ t.jsx(
|
|
415
|
+
e && /* @__PURE__ */ t.jsx(tt, { phones: m, classes: l == null ? void 0 : l.phonesBlock })
|
|
408
416
|
]
|
|
409
417
|
}
|
|
410
418
|
),
|
|
411
|
-
o && /* @__PURE__ */ t.jsx(
|
|
412
|
-
i && /* @__PURE__ */ t.jsx(
|
|
419
|
+
o && /* @__PURE__ */ t.jsx(et, { config: g, classes: l == null ? void 0 : l.navLinks }),
|
|
420
|
+
i && /* @__PURE__ */ t.jsx(dt, { text: a || "" }),
|
|
413
421
|
/* @__PURE__ */ t.jsxs(
|
|
414
422
|
"div",
|
|
415
423
|
{
|
|
@@ -418,12 +426,12 @@ const X = h(
|
|
|
418
426
|
l == null ? void 0 : l.footerBottom
|
|
419
427
|
),
|
|
420
428
|
children: [
|
|
421
|
-
n && /* @__PURE__ */ t.jsx(
|
|
422
|
-
d && /* @__PURE__ */ t.jsx(
|
|
429
|
+
n && /* @__PURE__ */ t.jsx(rt, { text: u, classes: l == null ? void 0 : l.copyright }),
|
|
430
|
+
d && /* @__PURE__ */ t.jsx(nt, { classes: l == null ? void 0 : l.siteMap })
|
|
423
431
|
]
|
|
424
432
|
}
|
|
425
433
|
)
|
|
426
|
-
] }) }) }),
|
|
434
|
+
] }) }) }), it = ({ classes: r, index: e, variant: o, title: n, description: d }) => {
|
|
427
435
|
const i = o === "withTitleAndDescription" && n;
|
|
428
436
|
return /* @__PURE__ */ t.jsxs(
|
|
429
437
|
"div",
|
|
@@ -456,9 +464,9 @@ const X = h(
|
|
|
456
464
|
]
|
|
457
465
|
}
|
|
458
466
|
);
|
|
459
|
-
},
|
|
467
|
+
}, Qt = ({ headline: r, config: e, classes: o }) => {
|
|
460
468
|
const { variant: n, details: d } = e;
|
|
461
|
-
return /* @__PURE__ */ t.jsx(
|
|
469
|
+
return /* @__PURE__ */ t.jsx("section", { id: "stepper", className: o == null ? void 0 : o.root, children: /* @__PURE__ */ t.jsx(k, { className: o == null ? void 0 : o.container, children: /* @__PURE__ */ t.jsxs("div", { className: p("flex flex-col gap-6 desktop:items-start desktop:gap-12", o == null ? void 0 : o.wrapper), children: [
|
|
462
470
|
/* @__PURE__ */ t.jsx(j, { as: "h2", className: p("text-color-dark", o == null ? void 0 : o.headline), children: r }),
|
|
463
471
|
/* @__PURE__ */ t.jsx(
|
|
464
472
|
"div",
|
|
@@ -467,11 +475,11 @@ const X = h(
|
|
|
467
475
|
"flex w-full flex-col items-start gap-6 desktop:flex-row desktop:items-start desktop:gap-12",
|
|
468
476
|
o == null ? void 0 : o.stepsWrapper
|
|
469
477
|
),
|
|
470
|
-
children: d == null ? void 0 : d.map((i, x) => /* @__PURE__ */ t.jsx(
|
|
478
|
+
children: d == null ? void 0 : d.map((i, x) => /* @__PURE__ */ t.jsx(it, { variant: n, ...i, index: x + 1, classes: o == null ? void 0 : o.step }, i.description))
|
|
471
479
|
}
|
|
472
480
|
)
|
|
473
481
|
] }) }) });
|
|
474
|
-
},
|
|
482
|
+
}, pt = h("", {
|
|
475
483
|
variants: {
|
|
476
484
|
intent: {
|
|
477
485
|
twoItems: "mob-headline-bold-s mb-6 desktop:desk-headline-bold-m desktop:mb-12",
|
|
@@ -487,7 +495,7 @@ const X = h(
|
|
|
487
495
|
defaultVariants: {
|
|
488
496
|
intent: "twoItems"
|
|
489
497
|
}
|
|
490
|
-
}),
|
|
498
|
+
}), xt = h("", {
|
|
491
499
|
variants: {
|
|
492
500
|
intent: {
|
|
493
501
|
twoItems: "",
|
|
@@ -519,7 +527,7 @@ const X = h(
|
|
|
519
527
|
class: "desktop:grid grid-rows-2 desktop:gap-x-10 desktop:gap-y-4 grid-flow-col"
|
|
520
528
|
}
|
|
521
529
|
]
|
|
522
|
-
}),
|
|
530
|
+
}), lt = h("border-blue-grey-500 pb-6 mobile:mb-6 mobile:border-b mobile:last:pb-0 mobile:last:mb-0", {
|
|
523
531
|
variants: {
|
|
524
532
|
intent: {
|
|
525
533
|
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',
|
|
@@ -529,7 +537,7 @@ const X = h(
|
|
|
529
537
|
defaultVariants: {
|
|
530
538
|
intent: "twoItems"
|
|
531
539
|
}
|
|
532
|
-
}),
|
|
540
|
+
}), mt = h("mobile:mx-auto mobile:mb-8, h-[172px] w-[280px] ", {
|
|
533
541
|
variants: {
|
|
534
542
|
intent: {
|
|
535
543
|
twoItems: "desktop:h-[232px] desktop:w-[500px]",
|
|
@@ -555,7 +563,7 @@ const X = h(
|
|
|
555
563
|
class: "desktop:h-[272px] desktop:w-[500px]"
|
|
556
564
|
}
|
|
557
565
|
]
|
|
558
|
-
}),
|
|
566
|
+
}), at = ({ data: r, intent: e }) => {
|
|
559
567
|
const {
|
|
560
568
|
title: o,
|
|
561
569
|
description: n,
|
|
@@ -563,16 +571,16 @@ const X = h(
|
|
|
563
571
|
enabled: !1
|
|
564
572
|
}
|
|
565
573
|
} = r;
|
|
566
|
-
return /* @__PURE__ */ t.jsx("li", { className: p(
|
|
574
|
+
return /* @__PURE__ */ t.jsx("li", { className: p(lt({ intent: e })), children: /* @__PURE__ */ t.jsxs("div", { className: "desktop:max-w-[264px]", children: [
|
|
567
575
|
/* @__PURE__ */ t.jsxs("div", { className: p("mb-2 flex items-center gap-2"), children: [
|
|
568
576
|
/* @__PURE__ */ t.jsx("h4", { className: p("mob-title-bold-m text-color-dark"), children: o }),
|
|
569
|
-
d.enabled && /* @__PURE__ */ t.jsx(
|
|
577
|
+
d.enabled && /* @__PURE__ */ t.jsx(G, { triggerElement: /* @__PURE__ */ t.jsx(f, { className: p("size-5 text-icon-blue-grey-600"), name: "info/helpCircle" }), children: d == null ? void 0 : d.text })
|
|
570
578
|
] }),
|
|
571
579
|
/* @__PURE__ */ t.jsx("div", { className: p("mob-body-regular-l text-color-secondary"), dangerouslySetInnerHTML: { __html: n } })
|
|
572
580
|
] }) });
|
|
573
|
-
}, T = ({ intent: r, headline: e, desktopHidden: o = !1, mobileHidden: n = !1 }) => /* @__PURE__ */ t.jsx("h2", { className: p(
|
|
581
|
+
}, T = ({ intent: r, headline: e, desktopHidden: o = !1, mobileHidden: n = !1 }) => /* @__PURE__ */ t.jsx("h2", { className: p(pt({ intent: r, desktopHidden: o, mobileHidden: n })), children: e }), ut = ({ details: r, intent: e, withButton: o }) => /* @__PURE__ */ t.jsx("ul", { className: p(xt({ intent: e, withButton: o })), children: r == null ? void 0 : r.map((n, d) => /* @__PURE__ */ t.jsx(at, { intent: e, data: n }, d)) }), Xt = ({ headline: r, buttonConfig: e, withButton: o = !1, config: n, imageComponent: d, classes: i }) => {
|
|
574
582
|
const { intent: x = "twoItems", details: m } = n, a = x === "fourItems", u = x === "twoItems";
|
|
575
|
-
return /* @__PURE__ */ t.jsx("section", { className: p(i == null ? void 0 : i.root), children: /* @__PURE__ */ t.jsxs(k, { className: p(i == null ? void 0 : i.container), children: [
|
|
583
|
+
return /* @__PURE__ */ t.jsx("section", { id: "long-banner", className: p(i == null ? void 0 : i.root), children: /* @__PURE__ */ t.jsxs(k, { className: p(i == null ? void 0 : i.container), children: [
|
|
576
584
|
u && /* @__PURE__ */ t.jsx(T, { intent: x, headline: r }),
|
|
577
585
|
/* @__PURE__ */ t.jsxs(
|
|
578
586
|
"div",
|
|
@@ -583,14 +591,14 @@ const X = h(
|
|
|
583
591
|
),
|
|
584
592
|
children: [
|
|
585
593
|
a && /* @__PURE__ */ t.jsx(T, { intent: x, headline: r, desktopHidden: !0 }),
|
|
586
|
-
/* @__PURE__ */ t.jsx("div", { className: p(
|
|
594
|
+
/* @__PURE__ */ t.jsx("div", { className: p(mt({ intent: x, withButton: o }), i == null ? void 0 : i.imgContainer), children: d }),
|
|
587
595
|
/* @__PURE__ */ t.jsxs(
|
|
588
596
|
"div",
|
|
589
597
|
{
|
|
590
598
|
className: p("desktop:flex desktop:flex-col desktop:justify-center desktop:py-10", i == null ? void 0 : i.textWithBtnContainer),
|
|
591
599
|
children: [
|
|
592
600
|
a && /* @__PURE__ */ t.jsx(T, { intent: x, headline: r, mobileHidden: !0 }),
|
|
593
|
-
/* @__PURE__ */ t.jsx(
|
|
601
|
+
/* @__PURE__ */ t.jsx(ut, { details: m, intent: x, withButton: o }),
|
|
594
602
|
o && /* @__PURE__ */ t.jsx(
|
|
595
603
|
y,
|
|
596
604
|
{
|
|
@@ -630,11 +638,11 @@ const X = h(
|
|
|
630
638
|
{ "items-center": e },
|
|
631
639
|
o == null ? void 0 : o.wrapper
|
|
632
640
|
),
|
|
633
|
-
children: e ? /* @__PURE__ */ t.jsx(
|
|
641
|
+
children: e ? /* @__PURE__ */ t.jsx(U, { position: "static", classes: { wrapper: "size-8 m-auto" }, ...n }) : r
|
|
634
642
|
}
|
|
635
643
|
)
|
|
636
644
|
}
|
|
637
|
-
),
|
|
645
|
+
), ht = ({ ...r }) => /* @__PURE__ */ t.jsxs("svg", { width: "32", height: "32", viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...r, children: [
|
|
638
646
|
/* @__PURE__ */ t.jsx(
|
|
639
647
|
"path",
|
|
640
648
|
{
|
|
@@ -691,7 +699,7 @@ const X = h(
|
|
|
691
699
|
}
|
|
692
700
|
)
|
|
693
701
|
] }), S = ({ mainLink: r, subLink: e, isLoading: o, badge: n, loaderProps: d, classes: i }) => {
|
|
694
|
-
const { isMobile: x } =
|
|
702
|
+
const { isMobile: x } = b();
|
|
695
703
|
return /* @__PURE__ */ t.jsx(W, { isLoading: o, loaderProps: d, classes: i == null ? void 0 : i.authWrapper, children: /* @__PURE__ */ t.jsxs(
|
|
696
704
|
"div",
|
|
697
705
|
{
|
|
@@ -715,7 +723,7 @@ const X = h(
|
|
|
715
723
|
}
|
|
716
724
|
) });
|
|
717
725
|
}, E = ({ mainLink: r, subLink: e, isLoading: o, badge: n, loaderProps: d, classes: i }) => {
|
|
718
|
-
const { isMobile: x } =
|
|
726
|
+
const { isMobile: x } = b();
|
|
719
727
|
return /* @__PURE__ */ t.jsx(W, { isLoading: o, loaderProps: d, classes: i == null ? void 0 : i.authWrapper, children: /* @__PURE__ */ t.jsxs(
|
|
720
728
|
"div",
|
|
721
729
|
{
|
|
@@ -726,7 +734,7 @@ const X = h(
|
|
|
726
734
|
),
|
|
727
735
|
children: [
|
|
728
736
|
/* @__PURE__ */ t.jsxs("div", { className: p("flex items-center gap-1 desktop:gap-4", i == null ? void 0 : i.textContent), children: [
|
|
729
|
-
/* @__PURE__ */ t.jsx(
|
|
737
|
+
/* @__PURE__ */ t.jsx(ht, { className: p("size-7 desktop:size-8", i == null ? void 0 : i.esiaLogo) }),
|
|
730
738
|
/* @__PURE__ */ t.jsx(V, { mainLink: r, subLink: e, isMobile: x, classes: i == null ? void 0 : i.links }),
|
|
731
739
|
/* @__PURE__ */ t.jsx(f, { name: "arrows/arrowRight", className: p("mobile:hidden", i == null ? void 0 : i.arrowIcon) })
|
|
732
740
|
] }),
|
|
@@ -734,7 +742,7 @@ const X = h(
|
|
|
734
742
|
]
|
|
735
743
|
}
|
|
736
744
|
) });
|
|
737
|
-
},
|
|
745
|
+
}, ft = (r) => {
|
|
738
746
|
switch (r.mode) {
|
|
739
747
|
case _.ESIA:
|
|
740
748
|
return /* @__PURE__ */ t.jsx(E, { ...r });
|
|
@@ -783,7 +791,7 @@ const X = h(
|
|
|
783
791
|
}
|
|
784
792
|
);
|
|
785
793
|
}
|
|
786
|
-
},
|
|
794
|
+
}, Yt = (r) => ft(r), z = ({ links: r, classes: e }) => /* @__PURE__ */ t.jsx("nav", { className: p("flex flex-col gap-1", e == null ? void 0 : e.linksWrapper), children: r == null ? void 0 : r.map(({ path: o, label: n }) => /* @__PURE__ */ t.jsx(
|
|
787
795
|
I,
|
|
788
796
|
{
|
|
789
797
|
classes: {
|
|
@@ -795,9 +803,9 @@ const X = h(
|
|
|
795
803
|
children: n
|
|
796
804
|
},
|
|
797
805
|
o
|
|
798
|
-
)) }),
|
|
806
|
+
)) }), jt = ({ groupLabel: r, links: e, mobileAccordionProps: o, classes: n }) => {
|
|
799
807
|
var i, x, m;
|
|
800
|
-
const { isMobile: d } =
|
|
808
|
+
const { isMobile: d } = b();
|
|
801
809
|
return /* @__PURE__ */ t.jsxs("div", { className: p("flex flex-col gap-2", n == null ? void 0 : n.columnGroup), children: [
|
|
802
810
|
!d && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
803
811
|
/* @__PURE__ */ t.jsx("h5", { className: p("mob-body-medium-l text-color-dark desktop:desk-body-medium-l", n == null ? void 0 : n.columnGroupHeading), children: r }),
|
|
@@ -821,7 +829,7 @@ const X = h(
|
|
|
821
829
|
}
|
|
822
830
|
)
|
|
823
831
|
] });
|
|
824
|
-
},
|
|
832
|
+
}, kt = ({ column: r, mobileAccordionProps: e, classes: o }) => /* @__PURE__ */ t.jsx("div", { className: p("flex flex-col gap-4 desktop:gap-6", o == null ? void 0 : o.column), children: r == null ? void 0 : r.map((n) => /* @__PURE__ */ t.jsx(jt, { ...e, ...n, classes: o == null ? void 0 : o.columnGroup }, n.groupLabel)) }), gt = h("grid gap-4 grid-cols-1", {
|
|
825
833
|
variants: {
|
|
826
834
|
variant: {
|
|
827
835
|
twoCols: "desktop:grid-cols-2",
|
|
@@ -832,7 +840,7 @@ const X = h(
|
|
|
832
840
|
defaultVariants: {
|
|
833
841
|
variant: "fourCols"
|
|
834
842
|
}
|
|
835
|
-
}),
|
|
843
|
+
}), At = ({ config: r, headline: e, mobileAccordionProps: o, rootAccordionProps: n, classes: d }) => {
|
|
836
844
|
var m, a, u;
|
|
837
845
|
const { variant: i, details: x } = r;
|
|
838
846
|
return /* @__PURE__ */ t.jsx("section", { id: "inter-linking", className: p("min-w-full desktop:min-w-[1140px]", d == null ? void 0 : d.root), children: /* @__PURE__ */ t.jsx(k, { children: /* @__PURE__ */ t.jsx(
|
|
@@ -848,10 +856,10 @@ const X = h(
|
|
|
848
856
|
},
|
|
849
857
|
content: p("max-w-full bg-color-blue-grey-100 relative", (u = n == null ? void 0 : n.classes) == null ? void 0 : u.content)
|
|
850
858
|
},
|
|
851
|
-
children: /* @__PURE__ */ t.jsx("div", { className: p(gt({ variant: i }), d == null ? void 0 : d.columnsWrapper), children: x == null ? void 0 : x.map((l,
|
|
859
|
+
children: /* @__PURE__ */ t.jsx("div", { className: p(gt({ variant: i }), d == null ? void 0 : d.columnsWrapper), children: x == null ? void 0 : x.map((l, g) => /* @__PURE__ */ t.jsx(kt, { ...l, ...o, classes: d == null ? void 0 : d.column }, g)) })
|
|
852
860
|
}
|
|
853
861
|
) }) });
|
|
854
|
-
},
|
|
862
|
+
}, bt = ({ tabsNames: r, activeTab: e, setActiveTab: o }) => /* @__PURE__ */ t.jsx("div", { className: "hidden-scroll flex items-center gap-4 overflow-x-auto p-[6px]", children: r && r.map((n, d) => /* @__PURE__ */ t.jsx(
|
|
855
863
|
"button",
|
|
856
864
|
{
|
|
857
865
|
onClick: () => o(d),
|
|
@@ -864,10 +872,10 @@ const X = h(
|
|
|
864
872
|
children: n
|
|
865
873
|
},
|
|
866
874
|
n
|
|
867
|
-
)) }),
|
|
875
|
+
)) }), wt = (r) => r.variant === "HTML", Nt = (r) => r.variant === "DOCUMENTS", yt = (r) => r.variant === "TABLE", vt = ({ html: r, config: e }) => {
|
|
868
876
|
const o = /* @__PURE__ */ t.jsx("div", { dangerouslySetInnerHTML: { __html: r ?? "" } });
|
|
869
877
|
return /* @__PURE__ */ t.jsx(t.Fragment, { children: e && (e != null && e.isAccordion) && (e != null && e.accordionTitle) ? /* @__PURE__ */ t.jsx(v, { label: e == null ? void 0 : e.accordionTitle, children: o }) : o });
|
|
870
|
-
},
|
|
878
|
+
}, Ct = (r, e) => ({
|
|
871
879
|
rows: r == null ? void 0 : r.map(({ row: o }) => ({
|
|
872
880
|
row: o == null ? void 0 : o.map((n, d) => {
|
|
873
881
|
var i;
|
|
@@ -877,21 +885,21 @@ const X = h(
|
|
|
877
885
|
};
|
|
878
886
|
})
|
|
879
887
|
}))
|
|
880
|
-
}),
|
|
888
|
+
}), ct = h("flex flex-col", {
|
|
881
889
|
variants: {
|
|
882
890
|
columnsVariant: {
|
|
883
891
|
twoCols: "w-full max-w-[656px]",
|
|
884
892
|
threeCols: "w-full max-w-[768px]"
|
|
885
893
|
}
|
|
886
894
|
}
|
|
887
|
-
}),
|
|
895
|
+
}), It = h("grid px-4 mb-4", {
|
|
888
896
|
variants: {
|
|
889
897
|
columnsVariant: {
|
|
890
898
|
twoCols: "grid-cols-2 gap-16",
|
|
891
899
|
threeCols: "grid-cols-3 gap-12"
|
|
892
900
|
}
|
|
893
901
|
}
|
|
894
|
-
}),
|
|
902
|
+
}), Tt = ({ headings: r, columnsVariant: e }) => /* @__PURE__ */ t.jsx("div", { className: p(It({ columnsVariant: e })), children: r == null ? void 0 : r.map((o) => /* @__PURE__ */ t.jsx("div", { className: "text-color-secondary", children: o == null ? void 0 : o.heading }, o == null ? void 0 : o.heading)) }), _t = h("grid items-center", {
|
|
895
903
|
variants: {
|
|
896
904
|
columnsVariant: {
|
|
897
905
|
twoCols: "grid-cols-2 gap-16",
|
|
@@ -902,14 +910,14 @@ const X = h(
|
|
|
902
910
|
separator: "px-4 py-4 border-t border-solid border-warm-grey-200"
|
|
903
911
|
}
|
|
904
912
|
}
|
|
905
|
-
}),
|
|
913
|
+
}), Bt = ({ row: r, tableVariant: e, columnsVariant: o, rowIndex: n }) => /* @__PURE__ */ t.jsx("div", { className: p(_t({ columnsVariant: o, tableVariant: e }), { "border-none": n === 0 }), children: r == null ? void 0 : r.map(({ cell: d }, i) => /* @__PURE__ */ t.jsx("div", { className: p("desk-body-regular-l text-color-dark", { "font-medium": i !== 0 }), children: d && d }, i)) }), Ht = h("flex flex-col gap-2", {
|
|
906
914
|
variants: {
|
|
907
915
|
tableVariant: {
|
|
908
916
|
filled: "px-4 py-4 odd:bg-color-primary-light-default",
|
|
909
917
|
separator: "py-4 border-t border-solid border-warm-grey-200 first:border-none"
|
|
910
918
|
}
|
|
911
919
|
}
|
|
912
|
-
}),
|
|
920
|
+
}), Mt = ({ row: r, tableVariant: e, columnsVariant: o, headingsExist: n }) => /* @__PURE__ */ t.jsx("div", { className: p(Ht({ tableVariant: e })), children: r == null ? void 0 : r.map(({ cell: d, heading: i }, x) => /* @__PURE__ */ t.jsxs("div", { className: p("grid grid-cols-2 gap-3", { "grid-cols-1 gap-0": !n }), children: [
|
|
913
921
|
i && /* @__PURE__ */ t.jsx("div", { className: "mob-body-regular-l text-color-secondary", children: i }),
|
|
914
922
|
/* @__PURE__ */ t.jsx(
|
|
915
923
|
"div",
|
|
@@ -920,13 +928,13 @@ const X = h(
|
|
|
920
928
|
children: d
|
|
921
929
|
}
|
|
922
930
|
)
|
|
923
|
-
] }, x)) }),
|
|
931
|
+
] }, x)) }), St = ({ tableVariant: r, rows: e, headings: o, columnsVariant: n }) => {
|
|
924
932
|
var m;
|
|
925
|
-
const { isDesktop: d } =
|
|
933
|
+
const { isDesktop: d } = b(), i = ((m = Ct(e, o)) == null ? void 0 : m.rows) ?? [], x = !!(o && o.length > 0);
|
|
926
934
|
return /* @__PURE__ */ t.jsxs("div", { className: "flex flex-col", children: [
|
|
927
|
-
d && x && /* @__PURE__ */ t.jsx(
|
|
928
|
-
d ? /* @__PURE__ */ t.jsx(t.Fragment, { children: e == null ? void 0 : e.map((a, u) => /* @__PURE__ */ t.jsx(
|
|
929
|
-
|
|
935
|
+
d && x && /* @__PURE__ */ t.jsx(Tt, { headings: o, columnsVariant: n }),
|
|
936
|
+
d ? /* @__PURE__ */ t.jsx(t.Fragment, { children: e == null ? void 0 : e.map((a, u) => /* @__PURE__ */ t.jsx(Bt, { rowIndex: u, tableVariant: r, columnsVariant: n, ...a }, u)) }) : /* @__PURE__ */ t.jsx(t.Fragment, { children: i == null ? void 0 : i.map((a, u) => /* @__PURE__ */ t.jsx(
|
|
937
|
+
Mt,
|
|
930
938
|
{
|
|
931
939
|
headingsExist: x,
|
|
932
940
|
tableVariant: r,
|
|
@@ -936,17 +944,17 @@ const X = h(
|
|
|
936
944
|
u
|
|
937
945
|
)) })
|
|
938
946
|
] });
|
|
939
|
-
},
|
|
940
|
-
const m = /* @__PURE__ */ t.jsxs("div", { className: p(
|
|
947
|
+
}, Et = ({ tableVariant: r, description: e, columnsVariant: o, config: n, rows: d, title: i, headings: x }) => {
|
|
948
|
+
const m = /* @__PURE__ */ t.jsxs("div", { className: p(ct({ columnsVariant: o })), children: [
|
|
941
949
|
i && /* @__PURE__ */ t.jsx(j, { as: "h4", className: "mb-4 desktop:mb-6", children: i }),
|
|
942
|
-
/* @__PURE__ */ t.jsx(
|
|
950
|
+
/* @__PURE__ */ t.jsx(St, { tableVariant: r, rows: d, headings: x, columnsVariant: o }),
|
|
943
951
|
e && /* @__PURE__ */ t.jsx("div", { className: "mt-2 [&&]:desk-body-regular-m desktop:mt-2", dangerouslySetInnerHTML: { __html: e ?? "" } })
|
|
944
952
|
] });
|
|
945
953
|
return /* @__PURE__ */ t.jsx(t.Fragment, { children: n && (n != null && n.isAccordion) && (n != null && n.accordionTitle) ? /* @__PURE__ */ t.jsx(v, { label: n == null ? void 0 : n.accordionTitle, children: m }) : m });
|
|
946
|
-
},
|
|
954
|
+
}, zt = {
|
|
947
955
|
documentFilled: "files/documentFilled",
|
|
948
956
|
documentOutline: "files/documentOutline"
|
|
949
|
-
},
|
|
957
|
+
}, Ft = h("size-8 transition-colors", {
|
|
950
958
|
variants: {
|
|
951
959
|
iconType: {
|
|
952
960
|
documentOutline: "text-icon-secondary-dark-default group-hover:text-icon-secondary-dark-hover",
|
|
@@ -956,7 +964,7 @@ const X = h(
|
|
|
956
964
|
defaultVariants: {
|
|
957
965
|
iconType: "documentOutline"
|
|
958
966
|
}
|
|
959
|
-
}),
|
|
967
|
+
}), Lt = ({ label: r, size: e, url: o, iconType: n }) => /* @__PURE__ */ t.jsxs(
|
|
960
968
|
"a",
|
|
961
969
|
{
|
|
962
970
|
href: o,
|
|
@@ -967,7 +975,7 @@ const X = h(
|
|
|
967
975
|
"group flex w-full cursor-pointer items-center gap-2 rounded-sm p-1 outline outline-2 outline-transparent transition-colors focus-within:outline-primary-focus"
|
|
968
976
|
),
|
|
969
977
|
children: [
|
|
970
|
-
/* @__PURE__ */ t.jsx(f, { name:
|
|
978
|
+
/* @__PURE__ */ t.jsx(f, { name: zt[n], className: p(Ft({ iconType: n })) }),
|
|
971
979
|
/* @__PURE__ */ t.jsxs("div", { className: p("flex flex-1 flex-col"), children: [
|
|
972
980
|
/* @__PURE__ */ t.jsx("p", { className: p("desk-body-medium-l text-color-dark"), children: r }),
|
|
973
981
|
/* @__PURE__ */ t.jsxs("div", { className: p("desk-body-regular-m text-color-disabled"), children: [
|
|
@@ -977,49 +985,49 @@ const X = h(
|
|
|
977
985
|
] })
|
|
978
986
|
]
|
|
979
987
|
}
|
|
980
|
-
),
|
|
988
|
+
), Rt = ({ docs: r, config: e, title: o, iconType: n, description: d }) => {
|
|
981
989
|
const i = /* @__PURE__ */ t.jsxs("div", { className: "flex max-w-[680px] flex-col", children: [
|
|
982
990
|
o && /* @__PURE__ */ t.jsx(j, { as: "h3", className: "mb-4", children: o }),
|
|
983
|
-
/* @__PURE__ */ t.jsx("div", { className: "gap- flex flex-col gap-4", children: r == null ? void 0 : r.map((x) => /* @__PURE__ */ t.jsx(
|
|
991
|
+
/* @__PURE__ */ t.jsx("div", { className: "gap- flex flex-col gap-4", children: r == null ? void 0 : r.map((x) => /* @__PURE__ */ t.jsx(Lt, { iconType: n, ...x }, x.label)) }),
|
|
984
992
|
d && /* @__PURE__ */ t.jsx("div", { className: "mt-4", dangerouslySetInnerHTML: { __html: d ?? "" } })
|
|
985
993
|
] });
|
|
986
994
|
return /* @__PURE__ */ t.jsx(t.Fragment, { children: e && (e != null && e.isAccordion) && (e != null && e.accordionTitle) ? /* @__PURE__ */ t.jsx(v, { label: e == null ? void 0 : e.accordionTitle, children: i }) : i });
|
|
987
|
-
},
|
|
995
|
+
}, Ot = (r) => {
|
|
988
996
|
var e, o, n;
|
|
989
997
|
switch (!0) {
|
|
998
|
+
case wt(r):
|
|
999
|
+
return (e = r.details) == null ? void 0 : e.map((d, i) => /* @__PURE__ */ t.jsx(vt, { ...d }, i));
|
|
990
1000
|
case Nt(r):
|
|
991
|
-
return (
|
|
1001
|
+
return (o = r.details) == null ? void 0 : o.map((d, i) => /* @__PURE__ */ t.jsx(Rt, { ...d }, i));
|
|
992
1002
|
case yt(r):
|
|
993
|
-
return (
|
|
994
|
-
case vt(r):
|
|
995
|
-
return (n = r.details) == null ? void 0 : n.map((d, i) => /* @__PURE__ */ t.jsx(zt, { ...d }, i));
|
|
1003
|
+
return (n = r.details) == null ? void 0 : n.map((d, i) => /* @__PURE__ */ t.jsx(Et, { ...d }, i));
|
|
996
1004
|
default:
|
|
997
1005
|
return null;
|
|
998
1006
|
}
|
|
999
|
-
},
|
|
1007
|
+
}, Wt = ({ entity: r }) => /* @__PURE__ */ t.jsx("div", { className: "flex flex-col gap-6", children: Ot(r) }), Pt = ({ headline: r, tabs: e }) => {
|
|
1000
1008
|
var i, x;
|
|
1001
|
-
const [o, n] =
|
|
1002
|
-
return !e || (e == null ? void 0 : e.length) === 0 ? null : /* @__PURE__ */ t.jsx("section", { id: "useful-info",
|
|
1009
|
+
const [o, n] = q(0), d = J(() => e == null ? void 0 : e.map((m) => m == null ? void 0 : m.tabName), [e]) ?? [];
|
|
1010
|
+
return !e || (e == null ? void 0 : e.length) === 0 ? null : /* @__PURE__ */ t.jsx("section", { id: "useful-info", children: /* @__PURE__ */ t.jsxs(k, { children: [
|
|
1003
1011
|
/* @__PURE__ */ t.jsx(j, { as: "h2", children: r }),
|
|
1004
|
-
/* @__PURE__ */ t.jsx("div", { className: "mt-6 flex flex-col gap-2 desktop:mt-12", children: /* @__PURE__ */ t.jsx(
|
|
1005
|
-
/* @__PURE__ */ t.jsx("div", { className: "mt-6 flex flex-col gap-6", children: (x = (i = e == null ? void 0 : e[o]) == null ? void 0 : i.contents) == null ? void 0 : x.map((m, a) => /* @__PURE__ */ t.jsx(
|
|
1012
|
+
/* @__PURE__ */ t.jsx("div", { className: "mt-6 flex flex-col gap-2 desktop:mt-12", children: /* @__PURE__ */ t.jsx(bt, { tabsNames: d, activeTab: o, setActiveTab: n }) }),
|
|
1013
|
+
/* @__PURE__ */ t.jsx("div", { className: "mt-6 flex flex-col gap-6", children: (x = (i = e == null ? void 0 : e[o]) == null ? void 0 : i.contents) == null ? void 0 : x.map((m, a) => /* @__PURE__ */ t.jsx(Wt, { ...m }, a)) })
|
|
1006
1014
|
] }) });
|
|
1007
|
-
},
|
|
1008
|
-
const d =
|
|
1009
|
-
return /* @__PURE__ */
|
|
1015
|
+
}, st = ({ fields: r, control: e }) => r.map(({ type: o, args: n }) => {
|
|
1016
|
+
const d = Z[o];
|
|
1017
|
+
return /* @__PURE__ */ K(d, { ...n, key: n.name, control: e });
|
|
1010
1018
|
});
|
|
1011
1019
|
export {
|
|
1012
1020
|
O as Advantages,
|
|
1013
|
-
|
|
1014
|
-
|
|
1021
|
+
Yt as AuthProvider,
|
|
1022
|
+
Jt as Banner,
|
|
1015
1023
|
M as BannerWithSeparateImg,
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
+
$t as Benefit,
|
|
1025
|
+
st as FieldMapper,
|
|
1026
|
+
Kt as Footer,
|
|
1027
|
+
qt as Header,
|
|
1028
|
+
At as InterLinking,
|
|
1029
|
+
Xt as LongBanner,
|
|
1030
|
+
Qt as Stepper,
|
|
1031
|
+
Pt as UsefulInfo
|
|
1024
1032
|
};
|
|
1025
1033
|
//# sourceMappingURL=widget.js.map
|