@deriv-web-design/ui 0.1.1 → 0.1.2
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.css +92 -0
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +23 -1
- package/dist/index.d.ts +23 -1
- package/dist/index.js +399 -351
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +398 -351
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -44,6 +44,7 @@ __export(index_exports, {
|
|
|
44
44
|
FeatureCards: () => FeatureCards,
|
|
45
45
|
FeatureCardsIcon: () => FeatureCardsIcon,
|
|
46
46
|
FeatureScroll: () => FeatureScroll,
|
|
47
|
+
FeatureSplit: () => FeatureSplit,
|
|
47
48
|
Footer: () => Footer,
|
|
48
49
|
Header: () => Header,
|
|
49
50
|
Hero: () => Hero,
|
|
@@ -2802,9 +2803,55 @@ var FeatureScroll = ({
|
|
|
2802
2803
|
] }) });
|
|
2803
2804
|
};
|
|
2804
2805
|
|
|
2806
|
+
// templates/FeatureSplit/FeatureSplit.tsx
|
|
2807
|
+
var import_jsx_runtime29 = require("react/jsx-runtime");
|
|
2808
|
+
var FeatureSplit = ({
|
|
2809
|
+
title,
|
|
2810
|
+
description,
|
|
2811
|
+
showDescription = true,
|
|
2812
|
+
linkText = "Learn more",
|
|
2813
|
+
showLink = true,
|
|
2814
|
+
onLinkClick,
|
|
2815
|
+
image,
|
|
2816
|
+
imageAlt = "",
|
|
2817
|
+
imagePosition = "right"
|
|
2818
|
+
}) => {
|
|
2819
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("section", { className: "feature-split", children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { className: "feature-split__container", children: /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
|
|
2820
|
+
"div",
|
|
2821
|
+
{
|
|
2822
|
+
className: [
|
|
2823
|
+
"feature-split__split",
|
|
2824
|
+
imagePosition === "left" ? "feature-split__split--image-left" : ""
|
|
2825
|
+
].filter(Boolean).join(" "),
|
|
2826
|
+
children: [
|
|
2827
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsxs)("div", { className: "feature-split__content", children: [
|
|
2828
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)("h2", { className: "feature-split__title", children: title }),
|
|
2829
|
+
showDescription && description && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("p", { className: "feature-split__description", children: description }),
|
|
2830
|
+
showLink && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
2831
|
+
Link,
|
|
2832
|
+
{
|
|
2833
|
+
colorScheme: "coral",
|
|
2834
|
+
label: linkText,
|
|
2835
|
+
onClick: onLinkClick
|
|
2836
|
+
}
|
|
2837
|
+
)
|
|
2838
|
+
] }),
|
|
2839
|
+
image && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { className: "feature-split__image-wrapper", children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
2840
|
+
"img",
|
|
2841
|
+
{
|
|
2842
|
+
alt: imageAlt,
|
|
2843
|
+
className: "feature-split__image",
|
|
2844
|
+
src: image
|
|
2845
|
+
}
|
|
2846
|
+
) })
|
|
2847
|
+
]
|
|
2848
|
+
}
|
|
2849
|
+
) }) });
|
|
2850
|
+
};
|
|
2851
|
+
|
|
2805
2852
|
// templates/StickyStackedCards/StickyStackedCards.tsx
|
|
2806
2853
|
var import_react14 = require("react");
|
|
2807
|
-
var
|
|
2854
|
+
var import_jsx_runtime30 = require("react/jsx-runtime");
|
|
2808
2855
|
var PLACEHOLDER_IMAGE = "https://cdn.prod.website-files.com/68da5c86c91c54f39c86c28a/69b9309379ac08e59ca8210a_1f3f555da9a5cbb13a6fe1bf0d5fe1b6_placeholder-image.webp";
|
|
2809
2856
|
var STEPS_DATA = [
|
|
2810
2857
|
{
|
|
@@ -2868,14 +2915,14 @@ var StickyStackedCards = ({
|
|
|
2868
2915
|
cancelAnimationFrame(rafId);
|
|
2869
2916
|
};
|
|
2870
2917
|
}, [items.length]);
|
|
2871
|
-
return /* @__PURE__ */ (0,
|
|
2918
|
+
return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
2872
2919
|
"section",
|
|
2873
2920
|
{
|
|
2874
2921
|
className: ["ssc", className].filter(Boolean).join(" "),
|
|
2875
2922
|
...props,
|
|
2876
|
-
children: /* @__PURE__ */ (0,
|
|
2877
|
-
/* @__PURE__ */ (0,
|
|
2878
|
-
/* @__PURE__ */ (0,
|
|
2923
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: "ssc__inner", children: [
|
|
2924
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)("h2", { className: "ssc__header", children: header }),
|
|
2925
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { className: "ssc__track", children: items.map((item, i) => /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
|
|
2879
2926
|
"div",
|
|
2880
2927
|
{
|
|
2881
2928
|
ref: (el) => {
|
|
@@ -2901,11 +2948,11 @@ var StickyStackedCards = ({
|
|
|
2901
2948
|
top: `calc(var(--ssc-sticky-top) + ${i} * var(--ssc-peek-offset))`
|
|
2902
2949
|
},
|
|
2903
2950
|
children: [
|
|
2904
|
-
/* @__PURE__ */ (0,
|
|
2905
|
-
/* @__PURE__ */ (0,
|
|
2906
|
-
/* @__PURE__ */ (0,
|
|
2951
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: "ssc__card-content", children: [
|
|
2952
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)("h3", { className: "ssc__card-title", children: item.title }),
|
|
2953
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)("p", { className: "ssc__card-desc", children: item.description })
|
|
2907
2954
|
] }),
|
|
2908
|
-
/* @__PURE__ */ (0,
|
|
2955
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { className: "ssc__card-image", children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
2909
2956
|
"img",
|
|
2910
2957
|
{
|
|
2911
2958
|
src: item.imageUrl,
|
|
@@ -2925,7 +2972,7 @@ var StickyStackedCards = ({
|
|
|
2925
2972
|
// templates/CTABanner/CTABanner.tsx
|
|
2926
2973
|
var import_react15 = require("react");
|
|
2927
2974
|
var import_framer_motion = require("framer-motion");
|
|
2928
|
-
var
|
|
2975
|
+
var import_jsx_runtime31 = require("react/jsx-runtime");
|
|
2929
2976
|
var ENTRANCE = {
|
|
2930
2977
|
near: 80,
|
|
2931
2978
|
mid: 130,
|
|
@@ -3189,14 +3236,14 @@ var CTABanner = ({
|
|
|
3189
3236
|
const compactXValues = useCompactAvatarXValues(smooth);
|
|
3190
3237
|
const avatarYValues = variant === "compact" ? compactYValues : standardYValues;
|
|
3191
3238
|
const avatarXValues = variant === "compact" ? compactXValues : standardXValues;
|
|
3192
|
-
return /* @__PURE__ */ (0,
|
|
3239
|
+
return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(
|
|
3193
3240
|
"section",
|
|
3194
3241
|
{
|
|
3195
3242
|
ref: sectionRef,
|
|
3196
3243
|
className: ["ctab", variant === "compact" ? "ctab--compact" : "", className].filter(Boolean).join(" "),
|
|
3197
3244
|
...props,
|
|
3198
3245
|
children: [
|
|
3199
|
-
/* @__PURE__ */ (0,
|
|
3246
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
3200
3247
|
import_framer_motion.motion.div,
|
|
3201
3248
|
{
|
|
3202
3249
|
className: "ctab__grid",
|
|
@@ -3204,7 +3251,7 @@ var CTABanner = ({
|
|
|
3204
3251
|
"aria-hidden": "true"
|
|
3205
3252
|
}
|
|
3206
3253
|
),
|
|
3207
|
-
/* @__PURE__ */ (0,
|
|
3254
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)("div", { className: "ctab__inner", children: /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)("div", { className: "ctab__stage", children: [
|
|
3208
3255
|
resolvedAvatars.map((avatar, index) => {
|
|
3209
3256
|
const posStyle = {};
|
|
3210
3257
|
if (avatar.desktopPos.left) posStyle["--av-d-left"] = avatar.desktopPos.left;
|
|
@@ -3213,7 +3260,7 @@ var CTABanner = ({
|
|
|
3213
3260
|
if (avatar.mobilePos?.left) posStyle["--av-m-left"] = avatar.mobilePos.left;
|
|
3214
3261
|
if (avatar.mobilePos?.right) posStyle["--av-m-right"] = avatar.mobilePos.right;
|
|
3215
3262
|
if (avatar.mobilePos?.top) posStyle["--av-m-top"] = avatar.mobilePos.top;
|
|
3216
|
-
return /* @__PURE__ */ (0,
|
|
3263
|
+
return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
3217
3264
|
import_framer_motion.motion.div,
|
|
3218
3265
|
{
|
|
3219
3266
|
className: [
|
|
@@ -3227,7 +3274,7 @@ var CTABanner = ({
|
|
|
3227
3274
|
opacity: avatarOpacity,
|
|
3228
3275
|
filter: avatarFilter
|
|
3229
3276
|
},
|
|
3230
|
-
children: /* @__PURE__ */ (0,
|
|
3277
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
3231
3278
|
"img",
|
|
3232
3279
|
{
|
|
3233
3280
|
src: avatar.imageUrl,
|
|
@@ -3240,14 +3287,14 @@ var CTABanner = ({
|
|
|
3240
3287
|
avatar.id
|
|
3241
3288
|
);
|
|
3242
3289
|
}),
|
|
3243
|
-
/* @__PURE__ */ (0,
|
|
3290
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(
|
|
3244
3291
|
import_framer_motion.motion.div,
|
|
3245
3292
|
{
|
|
3246
3293
|
className: "ctab__hero",
|
|
3247
3294
|
style: { y: heroY, opacity: heroOpacity },
|
|
3248
3295
|
children: [
|
|
3249
|
-
/* @__PURE__ */ (0,
|
|
3250
|
-
/* @__PURE__ */ (0,
|
|
3296
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)("h2", { className: "ctab__headline", children: headline }),
|
|
3297
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)("a", { href: ctaHref, children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Button, { colorScheme: "black", variant: "primary", label: ctaLabel }) })
|
|
3251
3298
|
]
|
|
3252
3299
|
}
|
|
3253
3300
|
)
|
|
@@ -3265,7 +3312,7 @@ var import_framer_motion2 = require("framer-motion");
|
|
|
3265
3312
|
var icon_globe_default = "./icon-globe-S54WYYEK.svg";
|
|
3266
3313
|
|
|
3267
3314
|
// components/Navbar/Navbar.tsx
|
|
3268
|
-
var
|
|
3315
|
+
var import_jsx_runtime32 = require("react/jsx-runtime");
|
|
3269
3316
|
var EASE_OUT_EXPO = [0.16, 1, 0.3, 1];
|
|
3270
3317
|
var dropdownVariants = {
|
|
3271
3318
|
hidden: { opacity: 0, scale: 0.96, y: -8 },
|
|
@@ -3279,7 +3326,7 @@ var accordionVariants = {
|
|
|
3279
3326
|
hidden: { height: 0, opacity: 0 },
|
|
3280
3327
|
visible: { height: "auto", opacity: 1 }
|
|
3281
3328
|
};
|
|
3282
|
-
var ChevronDownIcon3 = ({ className }) => /* @__PURE__ */ (0,
|
|
3329
|
+
var ChevronDownIcon3 = ({ className }) => /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
3283
3330
|
"svg",
|
|
3284
3331
|
{
|
|
3285
3332
|
className,
|
|
@@ -3288,7 +3335,7 @@ var ChevronDownIcon3 = ({ className }) => /* @__PURE__ */ (0, import_jsx_runtime
|
|
|
3288
3335
|
viewBox: "0 0 14 14",
|
|
3289
3336
|
fill: "none",
|
|
3290
3337
|
"aria-hidden": "true",
|
|
3291
|
-
children: /* @__PURE__ */ (0,
|
|
3338
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
3292
3339
|
"path",
|
|
3293
3340
|
{
|
|
3294
3341
|
d: "M2.625 4.8125L7 9.1875L11.375 4.8125",
|
|
@@ -3300,7 +3347,7 @@ var ChevronDownIcon3 = ({ className }) => /* @__PURE__ */ (0, import_jsx_runtime
|
|
|
3300
3347
|
)
|
|
3301
3348
|
}
|
|
3302
3349
|
);
|
|
3303
|
-
var ArrowRightIcon = () => /* @__PURE__ */ (0,
|
|
3350
|
+
var ArrowRightIcon = () => /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("svg", { width: "14", height: "14", viewBox: "0 0 14 14", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
3304
3351
|
"path",
|
|
3305
3352
|
{
|
|
3306
3353
|
d: "M2.625 7H11.375M11.375 7L7.875 3.5M11.375 7L7.875 10.5",
|
|
@@ -3310,7 +3357,7 @@ var ArrowRightIcon = () => /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("svg",
|
|
|
3310
3357
|
strokeLinejoin: "round"
|
|
3311
3358
|
}
|
|
3312
3359
|
) });
|
|
3313
|
-
var ArrowUpRightIcon = () => /* @__PURE__ */ (0,
|
|
3360
|
+
var ArrowUpRightIcon = () => /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
3314
3361
|
"path",
|
|
3315
3362
|
{
|
|
3316
3363
|
d: "M4.5 11.5L11.5 4.5M11.5 4.5H5.5M11.5 4.5V10.5",
|
|
@@ -3320,7 +3367,7 @@ var ArrowUpRightIcon = () => /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("svg"
|
|
|
3320
3367
|
strokeLinejoin: "round"
|
|
3321
3368
|
}
|
|
3322
3369
|
) });
|
|
3323
|
-
var BarsIcon = () => /* @__PURE__ */ (0,
|
|
3370
|
+
var BarsIcon = () => /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
3324
3371
|
"path",
|
|
3325
3372
|
{
|
|
3326
3373
|
d: "M2.5 5H17.5M2.5 10H17.5M2.5 15H17.5",
|
|
@@ -3329,7 +3376,7 @@ var BarsIcon = () => /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("svg", { widt
|
|
|
3329
3376
|
strokeLinecap: "round"
|
|
3330
3377
|
}
|
|
3331
3378
|
) });
|
|
3332
|
-
var XMarkIcon2 = () => /* @__PURE__ */ (0,
|
|
3379
|
+
var XMarkIcon2 = () => /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
3333
3380
|
"path",
|
|
3334
3381
|
{
|
|
3335
3382
|
d: "M15 5L5 15M5 5L15 15",
|
|
@@ -3338,7 +3385,7 @@ var XMarkIcon2 = () => /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("svg", { wi
|
|
|
3338
3385
|
strokeLinecap: "round"
|
|
3339
3386
|
}
|
|
3340
3387
|
) });
|
|
3341
|
-
var ChevronLeftIcon = ({ className }) => /* @__PURE__ */ (0,
|
|
3388
|
+
var ChevronLeftIcon = ({ className }) => /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
3342
3389
|
"svg",
|
|
3343
3390
|
{
|
|
3344
3391
|
className,
|
|
@@ -3347,7 +3394,7 @@ var ChevronLeftIcon = ({ className }) => /* @__PURE__ */ (0, import_jsx_runtime3
|
|
|
3347
3394
|
viewBox: "0 0 24 24",
|
|
3348
3395
|
fill: "none",
|
|
3349
3396
|
"aria-hidden": "true",
|
|
3350
|
-
children: /* @__PURE__ */ (0,
|
|
3397
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
3351
3398
|
"path",
|
|
3352
3399
|
{
|
|
3353
3400
|
d: "M15 18L9 12L15 6",
|
|
@@ -3359,11 +3406,11 @@ var ChevronLeftIcon = ({ className }) => /* @__PURE__ */ (0, import_jsx_runtime3
|
|
|
3359
3406
|
)
|
|
3360
3407
|
}
|
|
3361
3408
|
);
|
|
3362
|
-
var GlobeIcon = ({ className }) => /* @__PURE__ */ (0,
|
|
3409
|
+
var GlobeIcon = ({ className }) => /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("img", { src: icon_globe_default, alt: "", "aria-hidden": "true", width: "20", height: "20", className });
|
|
3363
3410
|
var DropdownPanel = ({ item, onMouseEnter, onMouseLeave }) => {
|
|
3364
3411
|
const { dropdown } = item;
|
|
3365
3412
|
if (!dropdown) return null;
|
|
3366
|
-
return /* @__PURE__ */ (0,
|
|
3413
|
+
return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
3367
3414
|
import_framer_motion2.motion.div,
|
|
3368
3415
|
{
|
|
3369
3416
|
className: "navbar__dropdown",
|
|
@@ -3374,10 +3421,10 @@ var DropdownPanel = ({ item, onMouseEnter, onMouseLeave }) => {
|
|
|
3374
3421
|
transition: { duration: 0.18, ease: EASE_OUT_EXPO },
|
|
3375
3422
|
onMouseEnter,
|
|
3376
3423
|
onMouseLeave,
|
|
3377
|
-
children: /* @__PURE__ */ (0,
|
|
3378
|
-
/* @__PURE__ */ (0,
|
|
3379
|
-
/* @__PURE__ */ (0,
|
|
3380
|
-
section.items.map((link) => /* @__PURE__ */ (0,
|
|
3424
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: "navbar__dropdown-inner", children: [
|
|
3425
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)("div", { className: "navbar__dropdown-left", children: dropdown.columns.map((col, colIdx) => /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("div", { className: "navbar__dropdown-col", children: col.sections.map((section) => /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: "navbar__dropdown-col-list", children: [
|
|
3426
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)("p", { className: "navbar__dropdown-col-title", children: section.title }),
|
|
3427
|
+
section.items.map((link) => /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
|
|
3381
3428
|
"a",
|
|
3382
3429
|
{
|
|
3383
3430
|
href: link.href,
|
|
@@ -3386,24 +3433,24 @@ var DropdownPanel = ({ item, onMouseEnter, onMouseLeave }) => {
|
|
|
3386
3433
|
rel: link.external ? "noopener noreferrer" : void 0,
|
|
3387
3434
|
children: [
|
|
3388
3435
|
link.label,
|
|
3389
|
-
link.external ? /* @__PURE__ */ (0,
|
|
3436
|
+
link.external ? /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(ArrowUpRightIcon, {}) : /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(ArrowRightIcon, {})
|
|
3390
3437
|
]
|
|
3391
3438
|
},
|
|
3392
3439
|
link.href
|
|
3393
3440
|
))
|
|
3394
3441
|
] }, section.title)) }, colIdx)) }),
|
|
3395
|
-
dropdown.feature && /* @__PURE__ */ (0,
|
|
3442
|
+
dropdown.feature && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("div", { className: "navbar__dropdown-right", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(FeatureCard, { feature: dropdown.feature }) })
|
|
3396
3443
|
] })
|
|
3397
3444
|
}
|
|
3398
3445
|
);
|
|
3399
3446
|
};
|
|
3400
|
-
var FeatureCard = ({ feature, mobile }) => /* @__PURE__ */ (0,
|
|
3447
|
+
var FeatureCard = ({ feature, mobile }) => /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
|
|
3401
3448
|
"div",
|
|
3402
3449
|
{
|
|
3403
3450
|
className: mobile ? "navbar__drawer-feature" : "navbar__dropdown-feature",
|
|
3404
3451
|
style: feature.backgroundImageUrl ? { backgroundImage: `url(${feature.backgroundImageUrl})` } : void 0,
|
|
3405
3452
|
children: [
|
|
3406
|
-
feature.backgroundImageUrl && /* @__PURE__ */ (0,
|
|
3453
|
+
feature.backgroundImageUrl && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
3407
3454
|
"img",
|
|
3408
3455
|
{
|
|
3409
3456
|
src: feature.backgroundImageUrl,
|
|
@@ -3412,20 +3459,20 @@ var FeatureCard = ({ feature, mobile }) => /* @__PURE__ */ (0, import_jsx_runtim
|
|
|
3412
3459
|
"aria-hidden": "true"
|
|
3413
3460
|
}
|
|
3414
3461
|
),
|
|
3415
|
-
/* @__PURE__ */ (0,
|
|
3416
|
-
/* @__PURE__ */ (0,
|
|
3417
|
-
/* @__PURE__ */ (0,
|
|
3418
|
-
/* @__PURE__ */ (0,
|
|
3419
|
-
/* @__PURE__ */ (0,
|
|
3462
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)("div", { className: mobile ? "navbar__drawer-feature-overlay" : "navbar__dropdown-feature-overlay", "aria-hidden": "true" }),
|
|
3463
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: mobile ? "navbar__drawer-feature-content" : "navbar__dropdown-feature-content", children: [
|
|
3464
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { children: [
|
|
3465
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)("p", { className: mobile ? "navbar__drawer-feature-title" : "navbar__dropdown-feature-title", children: feature.title }),
|
|
3466
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)("p", { className: mobile ? "navbar__drawer-feature-desc" : "navbar__dropdown-feature-desc", children: feature.description })
|
|
3420
3467
|
] }),
|
|
3421
|
-
/* @__PURE__ */ (0,
|
|
3468
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
|
|
3422
3469
|
"a",
|
|
3423
3470
|
{
|
|
3424
3471
|
href: feature.ctaHref,
|
|
3425
3472
|
className: mobile ? "navbar__drawer-feature-cta" : "navbar__dropdown-feature-cta",
|
|
3426
3473
|
children: [
|
|
3427
3474
|
feature.ctaLabel,
|
|
3428
|
-
/* @__PURE__ */ (0,
|
|
3475
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(ArrowRightIcon, {})
|
|
3429
3476
|
]
|
|
3430
3477
|
}
|
|
3431
3478
|
)
|
|
@@ -3435,8 +3482,8 @@ var FeatureCard = ({ feature, mobile }) => /* @__PURE__ */ (0, import_jsx_runtim
|
|
|
3435
3482
|
);
|
|
3436
3483
|
var DrawerAccordion = ({ item, isOpen, onToggle }) => {
|
|
3437
3484
|
const { dropdown } = item;
|
|
3438
|
-
return /* @__PURE__ */ (0,
|
|
3439
|
-
/* @__PURE__ */ (0,
|
|
3485
|
+
return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: "navbar__drawer-item", children: [
|
|
3486
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
|
|
3440
3487
|
"button",
|
|
3441
3488
|
{
|
|
3442
3489
|
className: `navbar__drawer-trigger ${isOpen ? "navbar__drawer-trigger--open" : ""}`,
|
|
@@ -3444,11 +3491,11 @@ var DrawerAccordion = ({ item, isOpen, onToggle }) => {
|
|
|
3444
3491
|
"aria-expanded": isOpen,
|
|
3445
3492
|
children: [
|
|
3446
3493
|
item.label,
|
|
3447
|
-
/* @__PURE__ */ (0,
|
|
3494
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(ChevronDownIcon3, { className: "navbar__drawer-trigger__chevron" })
|
|
3448
3495
|
]
|
|
3449
3496
|
}
|
|
3450
3497
|
),
|
|
3451
|
-
/* @__PURE__ */ (0,
|
|
3498
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_framer_motion2.AnimatePresence, { initial: false, children: isOpen && dropdown && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
3452
3499
|
import_framer_motion2.motion.div,
|
|
3453
3500
|
{
|
|
3454
3501
|
className: "navbar__drawer-panel",
|
|
@@ -3457,10 +3504,10 @@ var DrawerAccordion = ({ item, isOpen, onToggle }) => {
|
|
|
3457
3504
|
animate: "visible",
|
|
3458
3505
|
exit: "hidden",
|
|
3459
3506
|
transition: { duration: 0.22, ease: EASE_OUT_EXPO },
|
|
3460
|
-
children: /* @__PURE__ */ (0,
|
|
3461
|
-
/* @__PURE__ */ (0,
|
|
3462
|
-
/* @__PURE__ */ (0,
|
|
3463
|
-
/* @__PURE__ */ (0,
|
|
3507
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: "navbar__drawer-panel-inner", children: [
|
|
3508
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)("div", { className: "navbar__drawer-panel-cols", children: dropdown.columns.map((col, colIdx) => /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("div", { className: "navbar__drawer-panel-col", children: col.sections.map((section) => /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: "navbar__drawer-col-section", children: [
|
|
3509
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)("p", { className: "navbar__drawer-col-title", children: section.title }),
|
|
3510
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)("div", { className: "navbar__drawer-col-links", children: section.items.map((link) => /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
3464
3511
|
"a",
|
|
3465
3512
|
{
|
|
3466
3513
|
href: link.href,
|
|
@@ -3472,7 +3519,7 @@ var DrawerAccordion = ({ item, isOpen, onToggle }) => {
|
|
|
3472
3519
|
link.href
|
|
3473
3520
|
)) })
|
|
3474
3521
|
] }, section.title)) }, colIdx)) }),
|
|
3475
|
-
dropdown.feature && /* @__PURE__ */ (0,
|
|
3522
|
+
dropdown.feature && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(FeatureCard, { feature: dropdown.feature, mobile: true })
|
|
3476
3523
|
] })
|
|
3477
3524
|
}
|
|
3478
3525
|
) })
|
|
@@ -3577,20 +3624,20 @@ var Navbar = ({
|
|
|
3577
3624
|
hoverTimeoutRef.current = setTimeout(() => setOpenDropdown(null), 120);
|
|
3578
3625
|
}, [clearHoverTimeout]);
|
|
3579
3626
|
const activeDropdownItem = navItems.find((item) => item.label === openDropdown);
|
|
3580
|
-
return /* @__PURE__ */ (0,
|
|
3627
|
+
return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
|
|
3581
3628
|
"nav",
|
|
3582
3629
|
{
|
|
3583
3630
|
className: ["navbar", `navbar--${theme}`, scrolled && "navbar--scrolled", mobileOpen && "navbar--menu-open", className].filter(Boolean).join(" "),
|
|
3584
3631
|
...props,
|
|
3585
3632
|
children: [
|
|
3586
|
-
/* @__PURE__ */ (0,
|
|
3587
|
-
/* @__PURE__ */ (0,
|
|
3588
|
-
/* @__PURE__ */ (0,
|
|
3589
|
-
/* @__PURE__ */ (0,
|
|
3590
|
-
/* @__PURE__ */ (0,
|
|
3633
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: "navbar__bar", children: [
|
|
3634
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)("a", { href: logoHref, className: "navbar__logo", "aria-label": "Home", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("img", { src: resolvedLogo, alt: "Logo" }) }),
|
|
3635
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)("div", { className: "navbar__nav-center", ref: pillAreaRef, children: /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: "navbar__pill", children: [
|
|
3636
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)("a", { href: logoHref, className: "navbar__pill-logo", "aria-label": "Home", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("img", { src: logoSrcDark ?? logoSrc, alt: "Logo" }) }),
|
|
3637
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: "navbar__nav-group", children: [
|
|
3591
3638
|
navItems.map((item) => {
|
|
3592
3639
|
if (item.external) {
|
|
3593
|
-
return /* @__PURE__ */ (0,
|
|
3640
|
+
return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
|
|
3594
3641
|
"a",
|
|
3595
3642
|
{
|
|
3596
3643
|
href: item.href,
|
|
@@ -3599,14 +3646,14 @@ var Navbar = ({
|
|
|
3599
3646
|
rel: "noopener noreferrer",
|
|
3600
3647
|
children: [
|
|
3601
3648
|
item.label,
|
|
3602
|
-
/* @__PURE__ */ (0,
|
|
3649
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(ArrowUpRightIcon, {})
|
|
3603
3650
|
]
|
|
3604
3651
|
},
|
|
3605
3652
|
item.label
|
|
3606
3653
|
);
|
|
3607
3654
|
}
|
|
3608
3655
|
if (item.dropdown) {
|
|
3609
|
-
return /* @__PURE__ */ (0,
|
|
3656
|
+
return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
|
|
3610
3657
|
"button",
|
|
3611
3658
|
{
|
|
3612
3659
|
className: [
|
|
@@ -3619,21 +3666,21 @@ var Navbar = ({
|
|
|
3619
3666
|
"aria-haspopup": "true",
|
|
3620
3667
|
children: [
|
|
3621
3668
|
item.label,
|
|
3622
|
-
/* @__PURE__ */ (0,
|
|
3669
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(ChevronDownIcon3, { className: "navbar__nav-item__chevron" })
|
|
3623
3670
|
]
|
|
3624
3671
|
},
|
|
3625
3672
|
item.label
|
|
3626
3673
|
);
|
|
3627
3674
|
}
|
|
3628
|
-
return /* @__PURE__ */ (0,
|
|
3675
|
+
return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("a", { href: item.href, className: "navbar__nav-item", children: item.label }, item.label);
|
|
3629
3676
|
}),
|
|
3630
|
-
languageLabel && /* @__PURE__ */ (0,
|
|
3677
|
+
languageLabel && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
3631
3678
|
"div",
|
|
3632
3679
|
{
|
|
3633
3680
|
className: "navbar__lang-wrapper",
|
|
3634
3681
|
onMouseEnter: hasLangDropdown ? handleLangEnter : void 0,
|
|
3635
3682
|
onMouseLeave: hasLangDropdown ? handleLangLeave : void 0,
|
|
3636
|
-
children: /* @__PURE__ */ (0,
|
|
3683
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
|
|
3637
3684
|
"button",
|
|
3638
3685
|
{
|
|
3639
3686
|
ref: langBtnRef,
|
|
@@ -3646,7 +3693,7 @@ var Navbar = ({
|
|
|
3646
3693
|
"aria-haspopup": hasLangDropdown ? "true" : void 0,
|
|
3647
3694
|
"aria-expanded": hasLangDropdown ? langDropdownOpen : void 0,
|
|
3648
3695
|
children: [
|
|
3649
|
-
/* @__PURE__ */ (0,
|
|
3696
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(GlobeIcon, { className: "navbar__lang-globe" }),
|
|
3650
3697
|
languageLabel
|
|
3651
3698
|
]
|
|
3652
3699
|
}
|
|
@@ -3654,12 +3701,12 @@ var Navbar = ({
|
|
|
3654
3701
|
}
|
|
3655
3702
|
)
|
|
3656
3703
|
] }),
|
|
3657
|
-
/* @__PURE__ */ (0,
|
|
3658
|
-
loginHref && /* @__PURE__ */ (0,
|
|
3659
|
-
ctaHref && /* @__PURE__ */ (0,
|
|
3704
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: "navbar__pill-actions", children: [
|
|
3705
|
+
loginHref && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("a", { href: loginHref, children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Button, { colorScheme: "black", variant: "secondary", label: loginLabel }) }),
|
|
3706
|
+
ctaHref && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("a", { href: ctaHref, children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Button, { colorScheme: "coral", variant: "primary", label: ctaLabel }) })
|
|
3660
3707
|
] })
|
|
3661
3708
|
] }) }),
|
|
3662
|
-
/* @__PURE__ */ (0,
|
|
3709
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_framer_motion2.AnimatePresence, { children: openDropdown && activeDropdownItem?.dropdown && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
3663
3710
|
DropdownPanel,
|
|
3664
3711
|
{
|
|
3665
3712
|
item: activeDropdownItem,
|
|
@@ -3668,7 +3715,7 @@ var Navbar = ({
|
|
|
3668
3715
|
},
|
|
3669
3716
|
"dropdown"
|
|
3670
3717
|
) }),
|
|
3671
|
-
/* @__PURE__ */ (0,
|
|
3718
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_framer_motion2.AnimatePresence, { children: hasLangDropdown && langDropdownOpen && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
3672
3719
|
import_framer_motion2.motion.div,
|
|
3673
3720
|
{
|
|
3674
3721
|
className: "navbar__lang-dropdown",
|
|
@@ -3679,12 +3726,12 @@ var Navbar = ({
|
|
|
3679
3726
|
transition: { duration: 0.18, ease: EASE_OUT_EXPO },
|
|
3680
3727
|
onMouseEnter: clearLangHoverTimeout,
|
|
3681
3728
|
onMouseLeave: handleLangLeave,
|
|
3682
|
-
children: /* @__PURE__ */ (0,
|
|
3729
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
3683
3730
|
"div",
|
|
3684
3731
|
{
|
|
3685
3732
|
className: "navbar__lang-dropdown-grid",
|
|
3686
3733
|
style: { "--lang-rows": Math.ceil(languageItems.length / 3) },
|
|
3687
|
-
children: languageItems.map((lang) => /* @__PURE__ */ (0,
|
|
3734
|
+
children: languageItems.map((lang) => /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
3688
3735
|
"button",
|
|
3689
3736
|
{
|
|
3690
3737
|
className: [
|
|
@@ -3700,8 +3747,8 @@ var Navbar = ({
|
|
|
3700
3747
|
)
|
|
3701
3748
|
}
|
|
3702
3749
|
) }),
|
|
3703
|
-
/* @__PURE__ */ (0,
|
|
3704
|
-
loginHref && /* @__PURE__ */ (0,
|
|
3750
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: "navbar__actions", children: [
|
|
3751
|
+
loginHref && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("a", { href: loginHref, className: "navbar__actions-login", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
3705
3752
|
Button,
|
|
3706
3753
|
{
|
|
3707
3754
|
colorScheme: theme === "dark" ? "white" : "black",
|
|
@@ -3709,10 +3756,10 @@ var Navbar = ({
|
|
|
3709
3756
|
label: loginLabel
|
|
3710
3757
|
}
|
|
3711
3758
|
) }),
|
|
3712
|
-
ctaHref && /* @__PURE__ */ (0,
|
|
3759
|
+
ctaHref && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("a", { href: ctaHref, children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Button, { colorScheme: "coral", variant: "primary", label: ctaLabel }) })
|
|
3713
3760
|
] }),
|
|
3714
|
-
/* @__PURE__ */ (0,
|
|
3715
|
-
loginHref && /* @__PURE__ */ (0,
|
|
3761
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: "navbar__mobile-actions", children: [
|
|
3762
|
+
loginHref && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("a", { href: loginHref, children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
3716
3763
|
Button,
|
|
3717
3764
|
{
|
|
3718
3765
|
colorScheme: scrolled || theme === "light" ? "black" : "white",
|
|
@@ -3720,18 +3767,18 @@ var Navbar = ({
|
|
|
3720
3767
|
label: loginLabel
|
|
3721
3768
|
}
|
|
3722
3769
|
) }),
|
|
3723
|
-
/* @__PURE__ */ (0,
|
|
3770
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
3724
3771
|
"button",
|
|
3725
3772
|
{
|
|
3726
3773
|
className: "navbar__mobile-trigger",
|
|
3727
3774
|
onClick: () => setMobileOpen((o) => !o),
|
|
3728
3775
|
"aria-label": mobileOpen ? "Close navigation menu" : "Open navigation menu",
|
|
3729
|
-
children: mobileOpen ? /* @__PURE__ */ (0,
|
|
3776
|
+
children: mobileOpen ? /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(XMarkIcon2, {}) : /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(BarsIcon, {})
|
|
3730
3777
|
}
|
|
3731
3778
|
)
|
|
3732
3779
|
] })
|
|
3733
3780
|
] }),
|
|
3734
|
-
/* @__PURE__ */ (0,
|
|
3781
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)("div", { className: "navbar__drawer-clip", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_framer_motion2.AnimatePresence, { children: mobileOpen && /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
|
|
3735
3782
|
import_framer_motion2.motion.div,
|
|
3736
3783
|
{
|
|
3737
3784
|
className: "navbar__drawer",
|
|
@@ -3744,10 +3791,10 @@ var Navbar = ({
|
|
|
3744
3791
|
role: "dialog",
|
|
3745
3792
|
"aria-label": "Navigation menu",
|
|
3746
3793
|
children: [
|
|
3747
|
-
/* @__PURE__ */ (0,
|
|
3794
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("nav", { className: "navbar__drawer-nav", children: [
|
|
3748
3795
|
navItems.map((item) => {
|
|
3749
3796
|
if (item.dropdown) {
|
|
3750
|
-
return /* @__PURE__ */ (0,
|
|
3797
|
+
return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
3751
3798
|
DrawerAccordion,
|
|
3752
3799
|
{
|
|
3753
3800
|
item,
|
|
@@ -3759,7 +3806,7 @@ var Navbar = ({
|
|
|
3759
3806
|
item.label
|
|
3760
3807
|
);
|
|
3761
3808
|
}
|
|
3762
|
-
return /* @__PURE__ */ (0,
|
|
3809
|
+
return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
|
|
3763
3810
|
"a",
|
|
3764
3811
|
{
|
|
3765
3812
|
href: item.href,
|
|
@@ -3768,30 +3815,30 @@ var Navbar = ({
|
|
|
3768
3815
|
rel: item.external ? "noopener noreferrer" : void 0,
|
|
3769
3816
|
children: [
|
|
3770
3817
|
item.label,
|
|
3771
|
-
item.external && /* @__PURE__ */ (0,
|
|
3818
|
+
item.external && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(ArrowUpRightIcon, {})
|
|
3772
3819
|
]
|
|
3773
3820
|
},
|
|
3774
3821
|
item.label
|
|
3775
3822
|
);
|
|
3776
3823
|
}),
|
|
3777
|
-
languageLabel && !hasLangDropdown && /* @__PURE__ */ (0,
|
|
3778
|
-
/* @__PURE__ */ (0,
|
|
3824
|
+
languageLabel && !hasLangDropdown && /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("button", { className: "navbar__drawer-lang", onClick: onLanguageClick, children: [
|
|
3825
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(GlobeIcon, { className: "navbar__lang-globe" }),
|
|
3779
3826
|
languageLabel
|
|
3780
3827
|
] }),
|
|
3781
|
-
languageLabel && hasLangDropdown && /* @__PURE__ */ (0,
|
|
3828
|
+
languageLabel && hasLangDropdown && /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
|
|
3782
3829
|
"button",
|
|
3783
3830
|
{
|
|
3784
3831
|
className: "navbar__drawer-lang",
|
|
3785
3832
|
onClick: () => setMobileLangOpen(true),
|
|
3786
3833
|
children: [
|
|
3787
|
-
/* @__PURE__ */ (0,
|
|
3834
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(GlobeIcon, { className: "navbar__lang-globe" }),
|
|
3788
3835
|
languageLabel
|
|
3789
3836
|
]
|
|
3790
3837
|
}
|
|
3791
3838
|
)
|
|
3792
3839
|
] }),
|
|
3793
|
-
!mobileLangOpen && /* @__PURE__ */ (0,
|
|
3794
|
-
loginHref && /* @__PURE__ */ (0,
|
|
3840
|
+
!mobileLangOpen && /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: "navbar__drawer-footer", children: [
|
|
3841
|
+
loginHref && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("a", { href: loginHref, style: { display: "block" }, children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
3795
3842
|
Button,
|
|
3796
3843
|
{
|
|
3797
3844
|
colorScheme: "black",
|
|
@@ -3800,7 +3847,7 @@ var Navbar = ({
|
|
|
3800
3847
|
fullWidth: true
|
|
3801
3848
|
}
|
|
3802
3849
|
) }),
|
|
3803
|
-
ctaHref && /* @__PURE__ */ (0,
|
|
3850
|
+
ctaHref && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("a", { href: ctaHref, style: { display: "block" }, children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
3804
3851
|
Button,
|
|
3805
3852
|
{
|
|
3806
3853
|
colorScheme: "coral",
|
|
@@ -3810,7 +3857,7 @@ var Navbar = ({
|
|
|
3810
3857
|
}
|
|
3811
3858
|
) })
|
|
3812
3859
|
] }),
|
|
3813
|
-
/* @__PURE__ */ (0,
|
|
3860
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_framer_motion2.AnimatePresence, { children: hasLangDropdown && mobileLangOpen && /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
|
|
3814
3861
|
import_framer_motion2.motion.div,
|
|
3815
3862
|
{
|
|
3816
3863
|
className: "navbar__drawer-lang-panel",
|
|
@@ -3819,16 +3866,16 @@ var Navbar = ({
|
|
|
3819
3866
|
exit: { y: "100%" },
|
|
3820
3867
|
transition: { duration: 0.25, ease: EASE_OUT_EXPO },
|
|
3821
3868
|
children: [
|
|
3822
|
-
/* @__PURE__ */ (0,
|
|
3869
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
3823
3870
|
"button",
|
|
3824
3871
|
{
|
|
3825
3872
|
className: "navbar__drawer-lang-back",
|
|
3826
3873
|
onClick: () => setMobileLangOpen(false),
|
|
3827
3874
|
"aria-label": "Back to menu",
|
|
3828
|
-
children: /* @__PURE__ */ (0,
|
|
3875
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(ChevronLeftIcon, {})
|
|
3829
3876
|
}
|
|
3830
3877
|
),
|
|
3831
|
-
/* @__PURE__ */ (0,
|
|
3878
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)("div", { className: "navbar__drawer-lang-grid", children: languageItems.map((lang) => /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
3832
3879
|
"button",
|
|
3833
3880
|
{
|
|
3834
3881
|
className: [
|
|
@@ -3929,7 +3976,7 @@ function webflowV2DayClipPercent(t, media) {
|
|
|
3929
3976
|
}
|
|
3930
3977
|
|
|
3931
3978
|
// templates/DayNightTransition/DayNightTransition.tsx
|
|
3932
|
-
var
|
|
3979
|
+
var import_jsx_runtime33 = require("react/jsx-runtime");
|
|
3933
3980
|
var SPRING2 = { stiffness: 80, damping: 30, restDelta: 1e-3 };
|
|
3934
3981
|
var FADE_START = 0.35;
|
|
3935
3982
|
var FADE_END = 0.65;
|
|
@@ -4066,15 +4113,15 @@ var DayNightTransition = ({
|
|
|
4066
4113
|
descriptionLevel === "body-lg" && "dnt--desc-body-lg",
|
|
4067
4114
|
className
|
|
4068
4115
|
].filter(Boolean).join(" ");
|
|
4069
|
-
return /* @__PURE__ */ (0,
|
|
4116
|
+
return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
|
|
4070
4117
|
"div",
|
|
4071
4118
|
{
|
|
4072
4119
|
ref: wrapperRef,
|
|
4073
4120
|
className: rootClass,
|
|
4074
4121
|
...props,
|
|
4075
4122
|
children: [
|
|
4076
|
-
webflowV2 && /* @__PURE__ */ (0,
|
|
4077
|
-
/* @__PURE__ */ (0,
|
|
4123
|
+
webflowV2 && /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("div", { className: "dnt__v2-background-wrapper", "aria-hidden": "true", children: [
|
|
4124
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
4078
4125
|
import_framer_motion3.motion.div,
|
|
4079
4126
|
{
|
|
4080
4127
|
className: "dnt__v2-bg-day trade-day-night_background-day is-alternative",
|
|
@@ -4084,7 +4131,7 @@ var DayNightTransition = ({
|
|
|
4084
4131
|
}
|
|
4085
4132
|
}
|
|
4086
4133
|
),
|
|
4087
|
-
/* @__PURE__ */ (0,
|
|
4134
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
4088
4135
|
"div",
|
|
4089
4136
|
{
|
|
4090
4137
|
className: "dnt__v2-bg-night trade-day-night_background-night is-alternative",
|
|
@@ -4092,9 +4139,9 @@ var DayNightTransition = ({
|
|
|
4092
4139
|
}
|
|
4093
4140
|
)
|
|
4094
4141
|
] }),
|
|
4095
|
-
/* @__PURE__ */ (0,
|
|
4096
|
-
!webflowV2 && /* @__PURE__ */ (0,
|
|
4097
|
-
/* @__PURE__ */ (0,
|
|
4142
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("div", { className: webflowV2 ? "dnt__sticky dnt__sticky--webflow-v2" : "dnt__sticky", children: [
|
|
4143
|
+
!webflowV2 && /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(import_jsx_runtime33.Fragment, { children: [
|
|
4144
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
4098
4145
|
"img",
|
|
4099
4146
|
{
|
|
4100
4147
|
className: "dnt__bg dnt__bg--day",
|
|
@@ -4104,7 +4151,7 @@ var DayNightTransition = ({
|
|
|
4104
4151
|
draggable: false
|
|
4105
4152
|
}
|
|
4106
4153
|
),
|
|
4107
|
-
/* @__PURE__ */ (0,
|
|
4154
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
4108
4155
|
import_framer_motion3.motion.img,
|
|
4109
4156
|
{
|
|
4110
4157
|
className: "dnt__bg dnt__bg--night",
|
|
@@ -4116,17 +4163,17 @@ var DayNightTransition = ({
|
|
|
4116
4163
|
}
|
|
4117
4164
|
)
|
|
4118
4165
|
] }),
|
|
4119
|
-
/* @__PURE__ */ (0,
|
|
4120
|
-
useInlineHeadline && inlineDayNightHeadline ? /* @__PURE__ */ (0,
|
|
4166
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { className: "dnt__content", children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { className: "dnt__inner", children: webflowV2 ? /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("div", { className: "dnt__text-wrap", children: [
|
|
4167
|
+
useInlineHeadline && inlineDayNightHeadline ? /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
|
|
4121
4168
|
MotionHeadline,
|
|
4122
4169
|
{
|
|
4123
4170
|
className: "dnt__headline dnt__headline--inline-day-night",
|
|
4124
4171
|
style: { color: v2TitleColor },
|
|
4125
4172
|
"aria-label": `${inlineDayNightHeadline.prefix}${inlineDayNightHeadline.dayWord} / ${inlineDayNightHeadline.prefix}${inlineDayNightHeadline.nightWord}`,
|
|
4126
4173
|
children: [
|
|
4127
|
-
/* @__PURE__ */ (0,
|
|
4128
|
-
/* @__PURE__ */ (0,
|
|
4129
|
-
/* @__PURE__ */ (0,
|
|
4174
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)("span", { className: "dnt__headline-prefix", children: inlineDayNightHeadline.prefix }),
|
|
4175
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("span", { className: "dnt__headline-pair", children: [
|
|
4176
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
4130
4177
|
import_framer_motion3.motion.span,
|
|
4131
4178
|
{
|
|
4132
4179
|
ref: dayWordRef,
|
|
@@ -4135,7 +4182,7 @@ var DayNightTransition = ({
|
|
|
4135
4182
|
children: inlineDayNightHeadline.dayWord
|
|
4136
4183
|
}
|
|
4137
4184
|
),
|
|
4138
|
-
/* @__PURE__ */ (0,
|
|
4185
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
4139
4186
|
import_framer_motion3.motion.span,
|
|
4140
4187
|
{
|
|
4141
4188
|
className: "dnt__headline-wnight",
|
|
@@ -4150,8 +4197,8 @@ var DayNightTransition = ({
|
|
|
4150
4197
|
] })
|
|
4151
4198
|
]
|
|
4152
4199
|
}
|
|
4153
|
-
) : /* @__PURE__ */ (0,
|
|
4154
|
-
/* @__PURE__ */ (0,
|
|
4200
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("div", { className: "dnt__crossfade-wrap", children: [
|
|
4201
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
4155
4202
|
MotionHeadline,
|
|
4156
4203
|
{
|
|
4157
4204
|
className: "dnt__headline",
|
|
@@ -4159,7 +4206,7 @@ var DayNightTransition = ({
|
|
|
4159
4206
|
children: dayHeadline
|
|
4160
4207
|
}
|
|
4161
4208
|
),
|
|
4162
|
-
/* @__PURE__ */ (0,
|
|
4209
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
4163
4210
|
MotionHeadline,
|
|
4164
4211
|
{
|
|
4165
4212
|
className: "dnt__headline",
|
|
@@ -4169,8 +4216,8 @@ var DayNightTransition = ({
|
|
|
4169
4216
|
}
|
|
4170
4217
|
)
|
|
4171
4218
|
] }),
|
|
4172
|
-
hasDescription && /* @__PURE__ */ (0,
|
|
4173
|
-
/* @__PURE__ */ (0,
|
|
4219
|
+
hasDescription && /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("div", { className: "dnt__crossfade-wrap", children: [
|
|
4220
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
4174
4221
|
import_framer_motion3.motion.p,
|
|
4175
4222
|
{
|
|
4176
4223
|
className: "dnt__description",
|
|
@@ -4181,7 +4228,7 @@ var DayNightTransition = ({
|
|
|
4181
4228
|
children: dayDescription ?? ""
|
|
4182
4229
|
}
|
|
4183
4230
|
),
|
|
4184
|
-
/* @__PURE__ */ (0,
|
|
4231
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
4185
4232
|
import_framer_motion3.motion.p,
|
|
4186
4233
|
{
|
|
4187
4234
|
className: "dnt__description",
|
|
@@ -4194,22 +4241,22 @@ var DayNightTransition = ({
|
|
|
4194
4241
|
}
|
|
4195
4242
|
)
|
|
4196
4243
|
] }),
|
|
4197
|
-
!hideCta && /* @__PURE__ */ (0,
|
|
4198
|
-
] }) : /* @__PURE__ */ (0,
|
|
4244
|
+
!hideCta && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("a", { href: ctaHref, className: "dnt__btn", children: ctaLabel })
|
|
4245
|
+
] }) : /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
|
|
4199
4246
|
import_framer_motion3.motion.div,
|
|
4200
4247
|
{
|
|
4201
4248
|
className: "dnt__text-wrap",
|
|
4202
4249
|
style: { color: textColor },
|
|
4203
4250
|
children: [
|
|
4204
|
-
useInlineHeadline && inlineDayNightHeadline ? /* @__PURE__ */ (0,
|
|
4251
|
+
useInlineHeadline && inlineDayNightHeadline ? /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
|
|
4205
4252
|
MotionHeadline,
|
|
4206
4253
|
{
|
|
4207
4254
|
className: "dnt__headline dnt__headline--inline-day-night",
|
|
4208
4255
|
"aria-label": `${inlineDayNightHeadline.prefix}${inlineDayNightHeadline.dayWord} / ${inlineDayNightHeadline.prefix}${inlineDayNightHeadline.nightWord}`,
|
|
4209
4256
|
children: [
|
|
4210
|
-
/* @__PURE__ */ (0,
|
|
4211
|
-
/* @__PURE__ */ (0,
|
|
4212
|
-
/* @__PURE__ */ (0,
|
|
4257
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)("span", { className: "dnt__headline-prefix", children: inlineDayNightHeadline.prefix }),
|
|
4258
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("span", { className: "dnt__headline-pair", children: [
|
|
4259
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
4213
4260
|
import_framer_motion3.motion.span,
|
|
4214
4261
|
{
|
|
4215
4262
|
ref: dayWordRef,
|
|
@@ -4218,7 +4265,7 @@ var DayNightTransition = ({
|
|
|
4218
4265
|
children: inlineDayNightHeadline.dayWord
|
|
4219
4266
|
}
|
|
4220
4267
|
),
|
|
4221
|
-
/* @__PURE__ */ (0,
|
|
4268
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
4222
4269
|
import_framer_motion3.motion.span,
|
|
4223
4270
|
{
|
|
4224
4271
|
className: "dnt__headline-wnight",
|
|
@@ -4233,8 +4280,8 @@ var DayNightTransition = ({
|
|
|
4233
4280
|
] })
|
|
4234
4281
|
]
|
|
4235
4282
|
}
|
|
4236
|
-
) : /* @__PURE__ */ (0,
|
|
4237
|
-
/* @__PURE__ */ (0,
|
|
4283
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("div", { className: "dnt__crossfade-wrap", children: [
|
|
4284
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
4238
4285
|
MotionHeadline,
|
|
4239
4286
|
{
|
|
4240
4287
|
className: "dnt__headline",
|
|
@@ -4242,7 +4289,7 @@ var DayNightTransition = ({
|
|
|
4242
4289
|
children: dayHeadline
|
|
4243
4290
|
}
|
|
4244
4291
|
),
|
|
4245
|
-
/* @__PURE__ */ (0,
|
|
4292
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
4246
4293
|
MotionHeadline,
|
|
4247
4294
|
{
|
|
4248
4295
|
className: "dnt__headline",
|
|
@@ -4252,8 +4299,8 @@ var DayNightTransition = ({
|
|
|
4252
4299
|
}
|
|
4253
4300
|
)
|
|
4254
4301
|
] }),
|
|
4255
|
-
hasDescription && /* @__PURE__ */ (0,
|
|
4256
|
-
/* @__PURE__ */ (0,
|
|
4302
|
+
hasDescription && /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("div", { className: "dnt__crossfade-wrap", children: [
|
|
4303
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
4257
4304
|
import_framer_motion3.motion.p,
|
|
4258
4305
|
{
|
|
4259
4306
|
className: "dnt__description",
|
|
@@ -4261,7 +4308,7 @@ var DayNightTransition = ({
|
|
|
4261
4308
|
children: dayDescription ?? ""
|
|
4262
4309
|
}
|
|
4263
4310
|
),
|
|
4264
|
-
/* @__PURE__ */ (0,
|
|
4311
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
4265
4312
|
import_framer_motion3.motion.p,
|
|
4266
4313
|
{
|
|
4267
4314
|
className: "dnt__description",
|
|
@@ -4271,7 +4318,7 @@ var DayNightTransition = ({
|
|
|
4271
4318
|
}
|
|
4272
4319
|
)
|
|
4273
4320
|
] }),
|
|
4274
|
-
!hideCta && /* @__PURE__ */ (0,
|
|
4321
|
+
!hideCta && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("a", { href: ctaHref, className: "dnt__btn", children: ctaLabel })
|
|
4275
4322
|
]
|
|
4276
4323
|
}
|
|
4277
4324
|
) }) })
|
|
@@ -4298,7 +4345,7 @@ var dayNightTransitionV2Preset = {
|
|
|
4298
4345
|
// templates/LogoMarquee/LogoMarquee.tsx
|
|
4299
4346
|
var import_react18 = require("react");
|
|
4300
4347
|
var import_framer_motion4 = require("framer-motion");
|
|
4301
|
-
var
|
|
4348
|
+
var import_jsx_runtime34 = require("react/jsx-runtime");
|
|
4302
4349
|
function modWrap(min, max, v) {
|
|
4303
4350
|
const range = max - min;
|
|
4304
4351
|
return ((v - min) % range + range) % range + min;
|
|
@@ -4369,21 +4416,21 @@ var LogoMarquee = ({
|
|
|
4369
4416
|
});
|
|
4370
4417
|
const track1 = [...col1Logos, ...col1Logos];
|
|
4371
4418
|
const track2 = [...col2Logos, ...col2Logos];
|
|
4372
|
-
return /* @__PURE__ */ (0,
|
|
4419
|
+
return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
|
|
4373
4420
|
"section",
|
|
4374
4421
|
{
|
|
4375
4422
|
className: ["lm", className].filter(Boolean).join(" "),
|
|
4376
4423
|
...props,
|
|
4377
|
-
children: /* @__PURE__ */ (0,
|
|
4378
|
-
/* @__PURE__ */ (0,
|
|
4379
|
-
/* @__PURE__ */ (0,
|
|
4380
|
-
/* @__PURE__ */ (0,
|
|
4424
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: "lm__inner", children: [
|
|
4425
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { className: "lm__media", children: /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: "lm__carousel", children: [
|
|
4426
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { className: "lm__fade lm__fade--top", "aria-hidden": "true" }),
|
|
4427
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
|
|
4381
4428
|
import_framer_motion4.motion.div,
|
|
4382
4429
|
{
|
|
4383
4430
|
ref: col1Ref,
|
|
4384
4431
|
className: "lm__col",
|
|
4385
4432
|
style: { y: col1Y },
|
|
4386
|
-
children: track1.map((logo, i) => /* @__PURE__ */ (0,
|
|
4433
|
+
children: track1.map((logo, i) => /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { className: "lm__card", children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { className: "lm__card-img-wrap", children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
|
|
4387
4434
|
"img",
|
|
4388
4435
|
{
|
|
4389
4436
|
src: logo.url,
|
|
@@ -4394,13 +4441,13 @@ var LogoMarquee = ({
|
|
|
4394
4441
|
) }) }, `c1-${i}`))
|
|
4395
4442
|
}
|
|
4396
4443
|
),
|
|
4397
|
-
/* @__PURE__ */ (0,
|
|
4444
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
|
|
4398
4445
|
import_framer_motion4.motion.div,
|
|
4399
4446
|
{
|
|
4400
4447
|
ref: col2Ref,
|
|
4401
4448
|
className: "lm__col",
|
|
4402
4449
|
style: { y: col2Y },
|
|
4403
|
-
children: track2.map((logo, i) => /* @__PURE__ */ (0,
|
|
4450
|
+
children: track2.map((logo, i) => /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { className: "lm__card", children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { className: "lm__card-img-wrap", children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
|
|
4404
4451
|
"img",
|
|
4405
4452
|
{
|
|
4406
4453
|
src: logo.url,
|
|
@@ -4411,17 +4458,17 @@ var LogoMarquee = ({
|
|
|
4411
4458
|
) }) }, `c2-${i}`))
|
|
4412
4459
|
}
|
|
4413
4460
|
),
|
|
4414
|
-
/* @__PURE__ */ (0,
|
|
4461
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { className: "lm__fade lm__fade--bottom", "aria-hidden": "true" })
|
|
4415
4462
|
] }) }),
|
|
4416
|
-
/* @__PURE__ */ (0,
|
|
4417
|
-
/* @__PURE__ */ (0,
|
|
4418
|
-
/* @__PURE__ */ (0,
|
|
4419
|
-
/* @__PURE__ */ (0,
|
|
4420
|
-
/* @__PURE__ */ (0,
|
|
4463
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: "lm__content", children: [
|
|
4464
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)("h2", { className: "lm__headline", children: headline }),
|
|
4465
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: "lm__text-group", children: [
|
|
4466
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)("p", { className: "lm__body", children: body }),
|
|
4467
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)("p", { className: "lm__disclaimer", children: disclaimer })
|
|
4421
4468
|
] }),
|
|
4422
|
-
/* @__PURE__ */ (0,
|
|
4469
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("a", { href: ctaHref, className: "lm__link", children: [
|
|
4423
4470
|
ctaLabel,
|
|
4424
|
-
/* @__PURE__ */ (0,
|
|
4471
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)("span", { className: "lm__link-icon", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("path", { d: "M3 8H13M13 8L9 4M13 8L9 12", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) }) })
|
|
4425
4472
|
] })
|
|
4426
4473
|
] })
|
|
4427
4474
|
] })
|
|
@@ -4472,7 +4519,7 @@ var appstore_linux_dark_default = "./appstore-linux-dark-RVH7CBM4.svg";
|
|
|
4472
4519
|
var appstore_browser_dark_default = "./appstore-browser-dark-2E6TK6JH.svg";
|
|
4473
4520
|
|
|
4474
4521
|
// components/DownloadBadge/DownloadBadge.tsx
|
|
4475
|
-
var
|
|
4522
|
+
var import_jsx_runtime35 = require("react/jsx-runtime");
|
|
4476
4523
|
var BADGE_ASSETS = {
|
|
4477
4524
|
light: {
|
|
4478
4525
|
googleplay: { src: appstore_googleplay_light_default, alt: "Get it on Google Play" },
|
|
@@ -4501,7 +4548,7 @@ var DownloadBadge = ({
|
|
|
4501
4548
|
...props
|
|
4502
4549
|
}) => {
|
|
4503
4550
|
const { src, alt } = BADGE_ASSETS[colorScheme][platform];
|
|
4504
|
-
return /* @__PURE__ */ (0,
|
|
4551
|
+
return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
4505
4552
|
"a",
|
|
4506
4553
|
{
|
|
4507
4554
|
className: [
|
|
@@ -4514,13 +4561,13 @@ var DownloadBadge = ({
|
|
|
4514
4561
|
target: "_blank",
|
|
4515
4562
|
rel: "noopener noreferrer",
|
|
4516
4563
|
...props,
|
|
4517
|
-
children: /* @__PURE__ */ (0,
|
|
4564
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("img", { className: "download-badge__img", src, alt })
|
|
4518
4565
|
}
|
|
4519
4566
|
);
|
|
4520
4567
|
};
|
|
4521
4568
|
|
|
4522
4569
|
// templates/Steps/Steps.tsx
|
|
4523
|
-
var
|
|
4570
|
+
var import_jsx_runtime36 = require("react/jsx-runtime");
|
|
4524
4571
|
var Steps = ({
|
|
4525
4572
|
title,
|
|
4526
4573
|
steps,
|
|
@@ -4532,8 +4579,8 @@ var Steps = ({
|
|
|
4532
4579
|
"steps__container",
|
|
4533
4580
|
imagePosition === "right" ? "steps__container--image-right" : ""
|
|
4534
4581
|
].filter(Boolean).join(" ");
|
|
4535
|
-
return /* @__PURE__ */ (0,
|
|
4536
|
-
image && /* @__PURE__ */ (0,
|
|
4582
|
+
return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("section", { className: "steps", children: /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)("div", { className: containerClass, children: [
|
|
4583
|
+
image && /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { className: "steps__image-wrapper", children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
|
|
4537
4584
|
"img",
|
|
4538
4585
|
{
|
|
4539
4586
|
src: image,
|
|
@@ -4541,13 +4588,13 @@ var Steps = ({
|
|
|
4541
4588
|
className: "steps__image"
|
|
4542
4589
|
}
|
|
4543
4590
|
) }),
|
|
4544
|
-
/* @__PURE__ */ (0,
|
|
4545
|
-
/* @__PURE__ */ (0,
|
|
4546
|
-
/* @__PURE__ */ (0,
|
|
4547
|
-
/* @__PURE__ */ (0,
|
|
4548
|
-
/* @__PURE__ */ (0,
|
|
4549
|
-
/* @__PURE__ */ (0,
|
|
4550
|
-
/* @__PURE__ */ (0,
|
|
4591
|
+
/* @__PURE__ */ (0, import_jsx_runtime36.jsxs)("div", { className: "steps__content", children: [
|
|
4592
|
+
/* @__PURE__ */ (0, import_jsx_runtime36.jsx)("h2", { className: "steps__title", children: title }),
|
|
4593
|
+
/* @__PURE__ */ (0, import_jsx_runtime36.jsx)("ol", { className: "steps__list", children: steps.map((step, index) => /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("li", { className: "steps__item", children: /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)("div", { className: "steps__item-inner", children: [
|
|
4594
|
+
/* @__PURE__ */ (0, import_jsx_runtime36.jsx)("span", { className: "steps__number", "aria-hidden": "true", children: index + 1 }),
|
|
4595
|
+
/* @__PURE__ */ (0, import_jsx_runtime36.jsxs)("div", { className: "steps__item-body", children: [
|
|
4596
|
+
/* @__PURE__ */ (0, import_jsx_runtime36.jsx)("h3", { className: "steps__item-title", children: step.title }),
|
|
4597
|
+
/* @__PURE__ */ (0, import_jsx_runtime36.jsx)("p", { className: "steps__item-description", children: step.description })
|
|
4551
4598
|
] })
|
|
4552
4599
|
] }) }, index)) })
|
|
4553
4600
|
] })
|
|
@@ -4555,7 +4602,7 @@ var Steps = ({
|
|
|
4555
4602
|
};
|
|
4556
4603
|
|
|
4557
4604
|
// templates/DownloadBanner/DownloadBanner.tsx
|
|
4558
|
-
var
|
|
4605
|
+
var import_jsx_runtime37 = require("react/jsx-runtime");
|
|
4559
4606
|
var DownloadBanner = ({
|
|
4560
4607
|
style = "light-2",
|
|
4561
4608
|
qrCodeImage,
|
|
@@ -4580,9 +4627,9 @@ var DownloadBanner = ({
|
|
|
4580
4627
|
disclaimer
|
|
4581
4628
|
}) => {
|
|
4582
4629
|
const colorScheme = style === "dark" ? "dark" : "light";
|
|
4583
|
-
return /* @__PURE__ */ (0,
|
|
4584
|
-
/* @__PURE__ */ (0,
|
|
4585
|
-
qrCodeImage && /* @__PURE__ */ (0,
|
|
4630
|
+
return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("section", { className: `db-section db-section--${style}`, children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: "db-container", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("div", { className: "db-card", children: [
|
|
4631
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("div", { className: "db-qr-block", children: [
|
|
4632
|
+
qrCodeImage && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
4586
4633
|
"img",
|
|
4587
4634
|
{
|
|
4588
4635
|
className: "db-qr-image",
|
|
@@ -4590,21 +4637,21 @@ var DownloadBanner = ({
|
|
|
4590
4637
|
alt: qrCodeAlt
|
|
4591
4638
|
}
|
|
4592
4639
|
),
|
|
4593
|
-
/* @__PURE__ */ (0,
|
|
4594
|
-
/* @__PURE__ */ (0,
|
|
4595
|
-
/* @__PURE__ */ (0,
|
|
4596
|
-
/* @__PURE__ */ (0,
|
|
4597
|
-
disclaimer && /* @__PURE__ */ (0,
|
|
4640
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("div", { className: "db-qr-text", children: [
|
|
4641
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)("span", { className: "db-qr-text__title db-qr-text__title--desktop", children: qrTitle }),
|
|
4642
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)("h2", { className: "db-qr-text__subtitle db-qr-text__subtitle--desktop", children: qrSubtitle }),
|
|
4643
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)("span", { className: "db-qr-text__title db-qr-text__title--mobile", children: mobileTitle }),
|
|
4644
|
+
disclaimer && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("span", { className: "db-disclaimer", children: disclaimer })
|
|
4598
4645
|
] })
|
|
4599
4646
|
] }),
|
|
4600
|
-
/* @__PURE__ */ (0,
|
|
4601
|
-
showGooglePlay && /* @__PURE__ */ (0,
|
|
4602
|
-
showAppGallery && /* @__PURE__ */ (0,
|
|
4603
|
-
showMacOS && /* @__PURE__ */ (0,
|
|
4604
|
-
showWindows && /* @__PURE__ */ (0,
|
|
4605
|
-
showLinux && /* @__PURE__ */ (0,
|
|
4606
|
-
showAppStore && /* @__PURE__ */ (0,
|
|
4607
|
-
showWeb && /* @__PURE__ */ (0,
|
|
4647
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("div", { className: "db-badges", children: [
|
|
4648
|
+
showGooglePlay && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(DownloadBadge, { platform: "googleplay", colorScheme, href: googlePlayHref }),
|
|
4649
|
+
showAppGallery && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(DownloadBadge, { platform: "appgallery", colorScheme, href: appGalleryHref }),
|
|
4650
|
+
showMacOS && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(DownloadBadge, { platform: "macos", colorScheme, href: macOSHref }),
|
|
4651
|
+
showWindows && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(DownloadBadge, { platform: "windows", colorScheme, href: windowsHref }),
|
|
4652
|
+
showLinux && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(DownloadBadge, { platform: "linux", colorScheme, href: linuxHref }),
|
|
4653
|
+
showAppStore && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(DownloadBadge, { platform: "appstore", colorScheme, href: appStoreHref }),
|
|
4654
|
+
showWeb && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(DownloadBadge, { platform: "web", colorScheme, href: webHref })
|
|
4608
4655
|
] })
|
|
4609
4656
|
] }) }) });
|
|
4610
4657
|
};
|
|
@@ -4613,7 +4660,7 @@ var DownloadBanner = ({
|
|
|
4613
4660
|
var import_react19 = require("react");
|
|
4614
4661
|
var import_gsap = require("gsap");
|
|
4615
4662
|
var import_ScrollTrigger = require("gsap/ScrollTrigger");
|
|
4616
|
-
var
|
|
4663
|
+
var import_jsx_runtime38 = require("react/jsx-runtime");
|
|
4617
4664
|
import_gsap.gsap.registerPlugin(import_ScrollTrigger.ScrollTrigger);
|
|
4618
4665
|
var TextScroll = ({ text, className }) => {
|
|
4619
4666
|
const sectionRef = (0, import_react19.useRef)(null);
|
|
@@ -4653,12 +4700,12 @@ var TextScroll = ({ text, className }) => {
|
|
|
4653
4700
|
import_gsap.gsap.set(wordEls, { clearProps: "opacity" });
|
|
4654
4701
|
};
|
|
4655
4702
|
}, [text]);
|
|
4656
|
-
return /* @__PURE__ */ (0,
|
|
4703
|
+
return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
|
|
4657
4704
|
"section",
|
|
4658
4705
|
{
|
|
4659
4706
|
ref: sectionRef,
|
|
4660
4707
|
className: ["ts", className].filter(Boolean).join(" "),
|
|
4661
|
-
children: /* @__PURE__ */ (0,
|
|
4708
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { className: "ts__inner", children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("p", { className: "ts__text", "aria-label": text, children: words.map((word, i) => /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(
|
|
4662
4709
|
"span",
|
|
4663
4710
|
{
|
|
4664
4711
|
ref: (el) => {
|
|
@@ -4679,7 +4726,7 @@ var TextScroll = ({ text, className }) => {
|
|
|
4679
4726
|
|
|
4680
4727
|
// templates/StickyMarketCards/StickyMarketCards.tsx
|
|
4681
4728
|
var import_react20 = require("react");
|
|
4682
|
-
var
|
|
4729
|
+
var import_jsx_runtime39 = require("react/jsx-runtime");
|
|
4683
4730
|
var PLACEHOLDER_IMAGE3 = "https://cdn.prod.website-files.com/68da5c86c91c54f39c86c28a/69b9309379ac08e59ca8210a_1f3f555da9a5cbb13a6fe1bf0d5fe1b6_placeholder-image.webp";
|
|
4684
4731
|
var StickyMarketCards = ({
|
|
4685
4732
|
sectionTitle,
|
|
@@ -4760,20 +4807,20 @@ var StickyMarketCards = ({
|
|
|
4760
4807
|
const n = items.length;
|
|
4761
4808
|
const maxStack = 4;
|
|
4762
4809
|
const baseIndex = Math.max(0, n - maxStack);
|
|
4763
|
-
return /* @__PURE__ */ (0,
|
|
4810
|
+
return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
4764
4811
|
"section",
|
|
4765
4812
|
{
|
|
4766
4813
|
className: ["smc", className].filter(Boolean).join(" "),
|
|
4767
4814
|
...props,
|
|
4768
|
-
children: /* @__PURE__ */ (0,
|
|
4769
|
-
/* @__PURE__ */ (0,
|
|
4770
|
-
/* @__PURE__ */ (0,
|
|
4771
|
-
sectionDescription && /* @__PURE__ */ (0,
|
|
4815
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("div", { className: "smc__inner", children: [
|
|
4816
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("div", { className: "smc__header-wrap", children: [
|
|
4817
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)("h2", { className: "smc__header", children: sectionTitle }),
|
|
4818
|
+
sectionDescription && /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("p", { className: "smc__description", children: sectionDescription })
|
|
4772
4819
|
] }),
|
|
4773
|
-
/* @__PURE__ */ (0,
|
|
4820
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { className: "smc__track", children: items.map((item, i) => {
|
|
4774
4821
|
const theme = item.theme ?? "dark";
|
|
4775
4822
|
const offsetMultiplier = Math.max(0, i - baseIndex);
|
|
4776
|
-
return /* @__PURE__ */ (0,
|
|
4823
|
+
return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
4777
4824
|
"div",
|
|
4778
4825
|
{
|
|
4779
4826
|
ref: (el) => {
|
|
@@ -4784,7 +4831,7 @@ var StickyMarketCards = ({
|
|
|
4784
4831
|
["--smc-card-index"]: String(offsetMultiplier),
|
|
4785
4832
|
zIndex: i + 1
|
|
4786
4833
|
},
|
|
4787
|
-
children: /* @__PURE__ */ (0,
|
|
4834
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
|
|
4788
4835
|
"div",
|
|
4789
4836
|
{
|
|
4790
4837
|
ref: (el) => {
|
|
@@ -4795,8 +4842,8 @@ var StickyMarketCards = ({
|
|
|
4795
4842
|
`smc__card-inner--${theme}`
|
|
4796
4843
|
].join(" "),
|
|
4797
4844
|
children: [
|
|
4798
|
-
/* @__PURE__ */ (0,
|
|
4799
|
-
/* @__PURE__ */ (0,
|
|
4845
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("div", { className: "smc__card-bg", children: [
|
|
4846
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
4800
4847
|
"img",
|
|
4801
4848
|
{
|
|
4802
4849
|
src: item.imageUrl ?? PLACEHOLDER_IMAGE3,
|
|
@@ -4805,7 +4852,7 @@ var StickyMarketCards = ({
|
|
|
4805
4852
|
loading: i === 0 ? "eager" : "lazy"
|
|
4806
4853
|
}
|
|
4807
4854
|
),
|
|
4808
|
-
/* @__PURE__ */ (0,
|
|
4855
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
4809
4856
|
"div",
|
|
4810
4857
|
{
|
|
4811
4858
|
className: [
|
|
@@ -4815,9 +4862,9 @@ var StickyMarketCards = ({
|
|
|
4815
4862
|
}
|
|
4816
4863
|
)
|
|
4817
4864
|
] }),
|
|
4818
|
-
/* @__PURE__ */ (0,
|
|
4819
|
-
/* @__PURE__ */ (0,
|
|
4820
|
-
/* @__PURE__ */ (0,
|
|
4865
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("div", { className: "smc__card-content", children: [
|
|
4866
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { className: "smc__card-title-wrap", children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("h3", { className: "smc__card-title", children: item.title }) }),
|
|
4867
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { className: "smc__card-desc-wrap", children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("p", { className: "smc__card-desc", children: item.description }) })
|
|
4821
4868
|
] })
|
|
4822
4869
|
]
|
|
4823
4870
|
}
|
|
@@ -4833,11 +4880,11 @@ var StickyMarketCards = ({
|
|
|
4833
4880
|
|
|
4834
4881
|
// templates/Table/Table.tsx
|
|
4835
4882
|
var import_react21 = require("react");
|
|
4836
|
-
var
|
|
4837
|
-
var InfoIcon = ({ className }) => /* @__PURE__ */ (0,
|
|
4838
|
-
/* @__PURE__ */ (0,
|
|
4839
|
-
/* @__PURE__ */ (0,
|
|
4840
|
-
/* @__PURE__ */ (0,
|
|
4883
|
+
var import_jsx_runtime40 = require("react/jsx-runtime");
|
|
4884
|
+
var InfoIcon = ({ className }) => /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", className, children: [
|
|
4885
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)("circle", { cx: "12", cy: "12", r: "10", stroke: "currentColor", strokeWidth: "1.5" }),
|
|
4886
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)("path", { d: "M12 16V12", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" }),
|
|
4887
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)("circle", { cx: "12", cy: "8", r: "1", fill: "currentColor", stroke: "currentColor", strokeWidth: "1" })
|
|
4841
4888
|
] });
|
|
4842
4889
|
var Table = ({
|
|
4843
4890
|
sectionTitle,
|
|
@@ -4874,12 +4921,12 @@ var Table = ({
|
|
|
4874
4921
|
setSearch("");
|
|
4875
4922
|
setPage(1);
|
|
4876
4923
|
};
|
|
4877
|
-
return /* @__PURE__ */ (0,
|
|
4878
|
-
sectionTitle && /* @__PURE__ */ (0,
|
|
4879
|
-
/* @__PURE__ */ (0,
|
|
4880
|
-
/* @__PURE__ */ (0,
|
|
4881
|
-
/* @__PURE__ */ (0,
|
|
4882
|
-
/* @__PURE__ */ (0,
|
|
4924
|
+
return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("section", { className: ["tbl-section", className].filter(Boolean).join(" "), ...props, children: [
|
|
4925
|
+
sectionTitle && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "tbl-section__header", children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("h2", { className: "tbl-section__title", children: sectionTitle }) }),
|
|
4926
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: "tbl-section__content", children: [
|
|
4927
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: "tbl", children: [
|
|
4928
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: "tbl__topbar", children: [
|
|
4929
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "tbl__search-wrap", children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
4883
4930
|
SearchField,
|
|
4884
4931
|
{
|
|
4885
4932
|
placeholder: searchPlaceholder,
|
|
@@ -4890,7 +4937,7 @@ var Table = ({
|
|
|
4890
4937
|
"aria-label": searchPlaceholder
|
|
4891
4938
|
}
|
|
4892
4939
|
) }),
|
|
4893
|
-
/* @__PURE__ */ (0,
|
|
4940
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "tbl__summary", children: filtered.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(import_jsx_runtime40.Fragment, { children: [
|
|
4894
4941
|
"Showing ",
|
|
4895
4942
|
startIdx + 1,
|
|
4896
4943
|
"- ",
|
|
@@ -4899,12 +4946,12 @@ var Table = ({
|
|
|
4899
4946
|
filtered.length
|
|
4900
4947
|
] }) : "No results" })
|
|
4901
4948
|
] }),
|
|
4902
|
-
/* @__PURE__ */ (0,
|
|
4903
|
-
/* @__PURE__ */ (0,
|
|
4949
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "tbl__scroll-wrapper", children: /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("table", { className: "tbl__table", children: [
|
|
4950
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)("thead", { children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("tr", { className: "tbl__tr", children: columns.map((col, colIdx) => {
|
|
4904
4951
|
const isFirst = colIdx === 0;
|
|
4905
4952
|
const isLast = colIdx === columns.length - 1;
|
|
4906
4953
|
const isMain = col.width === "main" || col.key === mainKey;
|
|
4907
|
-
return /* @__PURE__ */ (0,
|
|
4954
|
+
return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
4908
4955
|
"th",
|
|
4909
4956
|
{
|
|
4910
4957
|
className: [
|
|
@@ -4912,7 +4959,7 @@ var Table = ({
|
|
|
4912
4959
|
isMain ? "tbl__th--main" : "",
|
|
4913
4960
|
col.width === "big" ? "tbl__th--big" : ""
|
|
4914
4961
|
].filter(Boolean).join(" "),
|
|
4915
|
-
children: /* @__PURE__ */ (0,
|
|
4962
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
4916
4963
|
"div",
|
|
4917
4964
|
{
|
|
4918
4965
|
className: "tbl__th-inner",
|
|
@@ -4942,9 +4989,9 @@ var Table = ({
|
|
|
4942
4989
|
setTooltip((prev) => ({ ...prev, visible: false }));
|
|
4943
4990
|
}
|
|
4944
4991
|
},
|
|
4945
|
-
children: /* @__PURE__ */ (0,
|
|
4992
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("span", { className: ["tbl__col-label", col.tooltip ? "tbl__col-label--dashed" : ""].filter(Boolean).join(" "), children: Array.isArray(col.header) ? col.header.map((line, li) => /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("span", { children: [
|
|
4946
4993
|
line,
|
|
4947
|
-
li < col.header.length - 1 && /* @__PURE__ */ (0,
|
|
4994
|
+
li < col.header.length - 1 && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("br", {})
|
|
4948
4995
|
] }, li)) : col.header })
|
|
4949
4996
|
}
|
|
4950
4997
|
)
|
|
@@ -4952,10 +4999,10 @@ var Table = ({
|
|
|
4952
4999
|
col.key
|
|
4953
5000
|
);
|
|
4954
5001
|
}) }) }),
|
|
4955
|
-
/* @__PURE__ */ (0,
|
|
5002
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)("tbody", { className: "tbl__tbody", children: visible.length > 0 ? visible.map((row, rowIdx) => /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("tr", { className: "tbl__tr", children: columns.map((col) => {
|
|
4956
5003
|
const isMain = col.width === "main" || col.key === mainKey;
|
|
4957
5004
|
const iconUrl = row[`${col.key}_iconUrl`];
|
|
4958
|
-
return /* @__PURE__ */ (0,
|
|
5005
|
+
return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
4959
5006
|
"td",
|
|
4960
5007
|
{
|
|
4961
5008
|
className: [
|
|
@@ -4963,8 +5010,8 @@ var Table = ({
|
|
|
4963
5010
|
isMain ? "tbl__td--main" : "",
|
|
4964
5011
|
col.width === "big" ? "tbl__td--big" : ""
|
|
4965
5012
|
].filter(Boolean).join(" "),
|
|
4966
|
-
children: isMain ? /* @__PURE__ */ (0,
|
|
4967
|
-
iconUrl && /* @__PURE__ */ (0,
|
|
5013
|
+
children: isMain ? /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: "tbl__cell-inner", children: [
|
|
5014
|
+
iconUrl && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
4968
5015
|
"img",
|
|
4969
5016
|
{
|
|
4970
5017
|
src: iconUrl,
|
|
@@ -4976,18 +5023,18 @@ var Table = ({
|
|
|
4976
5023
|
height: "24"
|
|
4977
5024
|
}
|
|
4978
5025
|
),
|
|
4979
|
-
/* @__PURE__ */ (0,
|
|
4980
|
-
] }) : /* @__PURE__ */ (0,
|
|
5026
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)("span", { className: "tbl__cell-text tbl__cell-text--bold", children: row[col.key] ?? "" })
|
|
5027
|
+
] }) : /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("span", { className: "tbl__cell-text", children: row[col.key] ?? "" })
|
|
4981
5028
|
},
|
|
4982
5029
|
col.key
|
|
4983
5030
|
);
|
|
4984
|
-
}) }, rowIdx)) : /* @__PURE__ */ (0,
|
|
5031
|
+
}) }, rowIdx)) : /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("tr", { className: "tbl__tr", children: /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("td", { colSpan: columns.length, className: "tbl__empty-cell", children: [
|
|
4985
5032
|
'No results found for "',
|
|
4986
5033
|
search,
|
|
4987
5034
|
'"'
|
|
4988
5035
|
] }) }) })
|
|
4989
5036
|
] }) }),
|
|
4990
|
-
totalPages > 1 && /* @__PURE__ */ (0,
|
|
5037
|
+
totalPages > 1 && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "tbl__footer", children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "tbl__pagination-wrap", children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
4991
5038
|
Pagination,
|
|
4992
5039
|
{
|
|
4993
5040
|
currentPage,
|
|
@@ -4996,19 +5043,19 @@ var Table = ({
|
|
|
4996
5043
|
}
|
|
4997
5044
|
) }) })
|
|
4998
5045
|
] }),
|
|
4999
|
-
infoText && /* @__PURE__ */ (0,
|
|
5000
|
-
/* @__PURE__ */ (0,
|
|
5001
|
-
/* @__PURE__ */ (0,
|
|
5046
|
+
infoText && /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: "tbl-section__info-box", children: [
|
|
5047
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(InfoIcon, { className: "tbl-section__info-icon" }),
|
|
5048
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)("p", { className: "tbl-section__info-text", children: infoText })
|
|
5002
5049
|
] })
|
|
5003
5050
|
] }),
|
|
5004
|
-
/* @__PURE__ */ (0,
|
|
5051
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
|
|
5005
5052
|
"div",
|
|
5006
5053
|
{
|
|
5007
5054
|
className: ["tbl__global-hint", tooltip.visible ? "tbl__global-hint--visible" : ""].filter(Boolean).join(" "),
|
|
5008
5055
|
style: { left: tooltip.x, top: tooltip.y - 8 },
|
|
5009
5056
|
children: [
|
|
5010
|
-
/* @__PURE__ */ (0,
|
|
5011
|
-
/* @__PURE__ */ (0,
|
|
5057
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "tbl__global-hint-desc", children: tooltip.description }),
|
|
5058
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
5012
5059
|
"div",
|
|
5013
5060
|
{
|
|
5014
5061
|
className: "tbl__global-hint-arrow",
|
|
@@ -5023,11 +5070,11 @@ var Table = ({
|
|
|
5023
5070
|
|
|
5024
5071
|
// templates/Leaders/Leaders.tsx
|
|
5025
5072
|
var import_react22 = require("react");
|
|
5026
|
-
var
|
|
5027
|
-
var ChevronDownIcon4 = () => /* @__PURE__ */ (0,
|
|
5028
|
-
var ChevronUpIcon = () => /* @__PURE__ */ (0,
|
|
5029
|
-
var CardContent = ({ item }) => /* @__PURE__ */ (0,
|
|
5030
|
-
/* @__PURE__ */ (0,
|
|
5073
|
+
var import_jsx_runtime41 = require("react/jsx-runtime");
|
|
5074
|
+
var ChevronDownIcon4 = () => /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("path", { d: "M4 6L8 10L12 6", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) });
|
|
5075
|
+
var ChevronUpIcon = () => /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("path", { d: "M12 10L8 6L4 10", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) });
|
|
5076
|
+
var CardContent = ({ item }) => /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(import_jsx_runtime41.Fragment, { children: [
|
|
5077
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { className: "avatar-grid__image-wrapper", children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
5031
5078
|
"img",
|
|
5032
5079
|
{
|
|
5033
5080
|
src: item.imageUrl,
|
|
@@ -5036,11 +5083,11 @@ var CardContent = ({ item }) => /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(i
|
|
|
5036
5083
|
loading: "lazy"
|
|
5037
5084
|
}
|
|
5038
5085
|
) }),
|
|
5039
|
-
/* @__PURE__ */ (0,
|
|
5040
|
-
/* @__PURE__ */ (0,
|
|
5041
|
-
/* @__PURE__ */ (0,
|
|
5086
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("div", { className: "avatar-grid__content", children: [
|
|
5087
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)("h3", { className: "avatar-grid__name", children: item.name }),
|
|
5088
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)("p", { className: "avatar-grid__role", children: item.role })
|
|
5042
5089
|
] }),
|
|
5043
|
-
item.linkUrl && /* @__PURE__ */ (0,
|
|
5090
|
+
item.linkUrl && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
5044
5091
|
Link,
|
|
5045
5092
|
{
|
|
5046
5093
|
href: item.linkUrl,
|
|
@@ -5068,14 +5115,14 @@ var AvatarGrid = ({
|
|
|
5068
5115
|
const hasMore = items.length > initialVisibleCount;
|
|
5069
5116
|
const visibleItems = items.slice(0, initialVisibleCount);
|
|
5070
5117
|
const extraItems = items.slice(initialVisibleCount);
|
|
5071
|
-
return /* @__PURE__ */ (0,
|
|
5072
|
-
(title || description) && /* @__PURE__ */ (0,
|
|
5073
|
-
title && /* @__PURE__ */ (0,
|
|
5074
|
-
description && /* @__PURE__ */ (0,
|
|
5118
|
+
return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("section", { className: ["avatar-grid", className].filter(Boolean).join(" "), ...props, children: /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("div", { className: "avatar-grid__container", children: [
|
|
5119
|
+
(title || description) && /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("div", { className: "avatar-grid__header", children: [
|
|
5120
|
+
title && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("h2", { className: "avatar-grid__title", children: title }),
|
|
5121
|
+
description && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("p", { className: "avatar-grid__description", children: description })
|
|
5075
5122
|
] }),
|
|
5076
|
-
/* @__PURE__ */ (0,
|
|
5077
|
-
/* @__PURE__ */ (0,
|
|
5078
|
-
hasMore && /* @__PURE__ */ (0,
|
|
5123
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("div", { className: "avatar-grid__grid-wrapper", children: [
|
|
5124
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { className: "avatar-grid__grid", children: visibleItems.map((item, i) => /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { className: "avatar-grid__card", children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CardContent, { item }) }, i)) }),
|
|
5125
|
+
hasMore && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
5079
5126
|
"div",
|
|
5080
5127
|
{
|
|
5081
5128
|
className: [
|
|
@@ -5083,7 +5130,7 @@ var AvatarGrid = ({
|
|
|
5083
5130
|
isExpanded ? "avatar-grid__extra-cards--open" : ""
|
|
5084
5131
|
].join(" "),
|
|
5085
5132
|
"aria-hidden": !isExpanded,
|
|
5086
|
-
children: /* @__PURE__ */ (0,
|
|
5133
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { className: "avatar-grid__extra-grid", children: extraItems.map((item, i) => /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
5087
5134
|
"div",
|
|
5088
5135
|
{
|
|
5089
5136
|
className: [
|
|
@@ -5094,21 +5141,21 @@ var AvatarGrid = ({
|
|
|
5094
5141
|
style: {
|
|
5095
5142
|
transitionDelay: isExpanded ? `${i * 70 + 120}ms` : "0ms"
|
|
5096
5143
|
},
|
|
5097
|
-
children: /* @__PURE__ */ (0,
|
|
5144
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CardContent, { item })
|
|
5098
5145
|
},
|
|
5099
5146
|
i
|
|
5100
5147
|
)) })
|
|
5101
5148
|
}
|
|
5102
5149
|
)
|
|
5103
5150
|
] }),
|
|
5104
|
-
hasMore && /* @__PURE__ */ (0,
|
|
5151
|
+
hasMore && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { className: "avatar-grid__actions", children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
5105
5152
|
Button,
|
|
5106
5153
|
{
|
|
5107
5154
|
variant: "secondary",
|
|
5108
5155
|
colorScheme: "black",
|
|
5109
5156
|
onClick: () => setIsExpanded(!isExpanded),
|
|
5110
5157
|
iconPosition: "icon-right",
|
|
5111
|
-
icon: isExpanded ? /* @__PURE__ */ (0,
|
|
5158
|
+
icon: isExpanded ? /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(ChevronUpIcon, {}) : /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(ChevronDownIcon4, {}),
|
|
5112
5159
|
fullWidth: true,
|
|
5113
5160
|
children: isExpanded ? collapseText : expandText
|
|
5114
5161
|
}
|
|
@@ -5119,7 +5166,7 @@ var PeopleGrid = AvatarGrid;
|
|
|
5119
5166
|
var Leaders = AvatarGrid;
|
|
5120
5167
|
|
|
5121
5168
|
// templates/ImageBanner/ImageBanner.tsx
|
|
5122
|
-
var
|
|
5169
|
+
var import_jsx_runtime42 = require("react/jsx-runtime");
|
|
5123
5170
|
var ImageBanner = ({
|
|
5124
5171
|
variant = "split",
|
|
5125
5172
|
title = "Join our global community",
|
|
@@ -5133,12 +5180,12 @@ var ImageBanner = ({
|
|
|
5133
5180
|
...props
|
|
5134
5181
|
}) => {
|
|
5135
5182
|
const isFullBg = variant === "full-bg";
|
|
5136
|
-
return /* @__PURE__ */ (0,
|
|
5183
|
+
return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
5137
5184
|
"section",
|
|
5138
5185
|
{
|
|
5139
5186
|
className: ["image-banner", className].filter(Boolean).join(" "),
|
|
5140
5187
|
...props,
|
|
5141
|
-
children: /* @__PURE__ */ (0,
|
|
5188
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
|
|
5142
5189
|
"div",
|
|
5143
5190
|
{
|
|
5144
5191
|
className: [
|
|
@@ -5146,8 +5193,8 @@ var ImageBanner = ({
|
|
|
5146
5193
|
`image-banner__inner--${variant}`
|
|
5147
5194
|
].join(" "),
|
|
5148
5195
|
children: [
|
|
5149
|
-
isFullBg && imageUrl && /* @__PURE__ */ (0,
|
|
5150
|
-
/* @__PURE__ */ (0,
|
|
5196
|
+
isFullBg && imageUrl && /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { className: "image-banner__bg-image-wrapper", children: [
|
|
5197
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
5151
5198
|
"img",
|
|
5152
5199
|
{
|
|
5153
5200
|
src: imageUrl,
|
|
@@ -5156,12 +5203,12 @@ var ImageBanner = ({
|
|
|
5156
5203
|
loading: "lazy"
|
|
5157
5204
|
}
|
|
5158
5205
|
),
|
|
5159
|
-
/* @__PURE__ */ (0,
|
|
5206
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: "image-banner__bg-overlay", "aria-hidden": "true" })
|
|
5160
5207
|
] }),
|
|
5161
|
-
/* @__PURE__ */ (0,
|
|
5162
|
-
/* @__PURE__ */ (0,
|
|
5163
|
-
description && /* @__PURE__ */ (0,
|
|
5164
|
-
ctaLabel && /* @__PURE__ */ (0,
|
|
5208
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { className: "image-banner__content", children: [
|
|
5209
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)("h2", { className: "image-banner__title", children: title }),
|
|
5210
|
+
description && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("p", { className: "image-banner__description", children: description }),
|
|
5211
|
+
ctaLabel && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: "image-banner__actions", children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
5165
5212
|
Link,
|
|
5166
5213
|
{
|
|
5167
5214
|
colorScheme: "coral",
|
|
@@ -5173,7 +5220,7 @@ var ImageBanner = ({
|
|
|
5173
5220
|
}
|
|
5174
5221
|
) })
|
|
5175
5222
|
] }),
|
|
5176
|
-
!isFullBg && imageUrl && /* @__PURE__ */ (0,
|
|
5223
|
+
!isFullBg && imageUrl && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: "image-banner__image-wrapper", children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
5177
5224
|
"img",
|
|
5178
5225
|
{
|
|
5179
5226
|
src: imageUrl,
|
|
@@ -5199,7 +5246,7 @@ var quote_left_default = "./quote-left-63QMW5NQ.webp";
|
|
|
5199
5246
|
var quote_right_default = "./quote-right-W6AS4YHN.webp";
|
|
5200
5247
|
|
|
5201
5248
|
// templates/Testimonial/Testimonial.tsx
|
|
5202
|
-
var
|
|
5249
|
+
var import_jsx_runtime43 = require("react/jsx-runtime");
|
|
5203
5250
|
var Testimonial = ({
|
|
5204
5251
|
title,
|
|
5205
5252
|
items,
|
|
@@ -5236,15 +5283,15 @@ var Testimonial = ({
|
|
|
5236
5283
|
};
|
|
5237
5284
|
}, [activeIndex, items.length]);
|
|
5238
5285
|
if (!items || items.length === 0) return null;
|
|
5239
|
-
return /* @__PURE__ */ (0,
|
|
5286
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
5240
5287
|
"section",
|
|
5241
5288
|
{
|
|
5242
5289
|
className: ["testimonial", className].filter(Boolean).join(" "),
|
|
5243
5290
|
...props,
|
|
5244
|
-
children: /* @__PURE__ */ (0,
|
|
5245
|
-
title && /* @__PURE__ */ (0,
|
|
5246
|
-
/* @__PURE__ */ (0,
|
|
5247
|
-
/* @__PURE__ */ (0,
|
|
5291
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("div", { className: "testimonial__container", children: [
|
|
5292
|
+
title && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("h2", { className: "testimonial__title", children: title }),
|
|
5293
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("div", { className: "testimonial__carousel", children: [
|
|
5294
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", { className: "testimonial__slides", children: items.map((item, i) => {
|
|
5248
5295
|
const isActive = i === activeIndex;
|
|
5249
5296
|
const isExiting = isActive && phase === "exiting";
|
|
5250
5297
|
const slideClass = [
|
|
@@ -5252,18 +5299,18 @@ var Testimonial = ({
|
|
|
5252
5299
|
isActive && !isExiting ? "testimonial__slide--active" : "",
|
|
5253
5300
|
isExiting ? "testimonial__slide--exiting" : ""
|
|
5254
5301
|
].filter(Boolean).join(" ");
|
|
5255
|
-
return /* @__PURE__ */ (0,
|
|
5302
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
5256
5303
|
"div",
|
|
5257
5304
|
{
|
|
5258
5305
|
className: slideClass,
|
|
5259
5306
|
role: "region",
|
|
5260
5307
|
"aria-label": `Testimonial ${i + 1} of ${items.length}`,
|
|
5261
5308
|
"aria-hidden": !isActive,
|
|
5262
|
-
children: /* @__PURE__ */ (0,
|
|
5263
|
-
/* @__PURE__ */ (0,
|
|
5264
|
-
/* @__PURE__ */ (0,
|
|
5265
|
-
/* @__PURE__ */ (0,
|
|
5266
|
-
item.avatarUrl && /* @__PURE__ */ (0,
|
|
5309
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("div", { className: "testimonial__card", children: [
|
|
5310
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)("span", { className: "testimonial__quotemark testimonial__quotemark--open", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("img", { src: quote_left_default, alt: "", className: "testimonial__quotemark-img" }) }),
|
|
5311
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)("p", { className: "testimonial__quote", children: item.quote }),
|
|
5312
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("div", { className: "testimonial__author", children: [
|
|
5313
|
+
item.avatarUrl && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
5267
5314
|
"img",
|
|
5268
5315
|
{
|
|
5269
5316
|
src: item.avatarUrl,
|
|
@@ -5272,22 +5319,22 @@ var Testimonial = ({
|
|
|
5272
5319
|
loading: "lazy"
|
|
5273
5320
|
}
|
|
5274
5321
|
),
|
|
5275
|
-
/* @__PURE__ */ (0,
|
|
5276
|
-
item.authorLocation && /* @__PURE__ */ (0,
|
|
5322
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)("p", { className: "testimonial__author-name", children: item.authorName }),
|
|
5323
|
+
item.authorLocation && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("p", { className: "testimonial__author-location", children: item.authorLocation })
|
|
5277
5324
|
] }),
|
|
5278
|
-
/* @__PURE__ */ (0,
|
|
5325
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)("span", { className: "testimonial__quotemark testimonial__quotemark--close", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("img", { src: quote_right_default, alt: "", className: "testimonial__quotemark-img" }) })
|
|
5279
5326
|
] })
|
|
5280
5327
|
},
|
|
5281
5328
|
i
|
|
5282
5329
|
);
|
|
5283
5330
|
}) }),
|
|
5284
|
-
items.length > 1 && /* @__PURE__ */ (0,
|
|
5331
|
+
items.length > 1 && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
5285
5332
|
"div",
|
|
5286
5333
|
{
|
|
5287
5334
|
className: "testimonial__dots",
|
|
5288
5335
|
role: "tablist",
|
|
5289
5336
|
"aria-label": "Testimonial navigation",
|
|
5290
|
-
children: items.map((_, i) => /* @__PURE__ */ (0,
|
|
5337
|
+
children: items.map((_, i) => /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
5291
5338
|
"button",
|
|
5292
5339
|
{
|
|
5293
5340
|
role: "tab",
|
|
@@ -5313,8 +5360,8 @@ var Testimonial = ({
|
|
|
5313
5360
|
};
|
|
5314
5361
|
|
|
5315
5362
|
// templates/ArticleHero/ArticleHero.tsx
|
|
5316
|
-
var
|
|
5317
|
-
var ArticleCard = ({ article, showThumbnail = false }) => /* @__PURE__ */ (0,
|
|
5363
|
+
var import_jsx_runtime44 = require("react/jsx-runtime");
|
|
5364
|
+
var ArticleCard = ({ article, showThumbnail = false }) => /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { className: "bh-listItem", children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
5318
5365
|
Card,
|
|
5319
5366
|
{
|
|
5320
5367
|
variant: "thumbnail",
|
|
@@ -5330,12 +5377,12 @@ var ArticleCard = ({ article, showThumbnail = false }) => /* @__PURE__ */ (0, im
|
|
|
5330
5377
|
hideAvatar: true
|
|
5331
5378
|
}
|
|
5332
5379
|
) });
|
|
5333
|
-
var ColumnSection = ({ column, showThumbnails = false }) => /* @__PURE__ */ (0,
|
|
5334
|
-
column.label && /* @__PURE__ */ (0,
|
|
5335
|
-
/* @__PURE__ */ (0,
|
|
5336
|
-
/* @__PURE__ */ (0,
|
|
5380
|
+
var ColumnSection = ({ column, showThumbnails = false }) => /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("div", { className: "bh-column", children: [
|
|
5381
|
+
column.label && /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("div", { className: "bh-columnHeader", children: [
|
|
5382
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)("span", { className: "bh-columnLabel", children: column.label }),
|
|
5383
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)("span", { className: "bh-columnLine" })
|
|
5337
5384
|
] }),
|
|
5338
|
-
/* @__PURE__ */ (0,
|
|
5385
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { className: "bh-columnList", children: column.articles.map((article, i) => /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(ArticleCard, { article, showThumbnail: showThumbnails }, i)) })
|
|
5339
5386
|
] });
|
|
5340
5387
|
var ArticleHero = ({
|
|
5341
5388
|
featured,
|
|
@@ -5344,79 +5391,79 @@ var ArticleHero = ({
|
|
|
5344
5391
|
rightColumn,
|
|
5345
5392
|
className
|
|
5346
5393
|
}) => {
|
|
5347
|
-
return /* @__PURE__ */ (0,
|
|
5348
|
-
/* @__PURE__ */ (0,
|
|
5349
|
-
/* @__PURE__ */ (0,
|
|
5350
|
-
/* @__PURE__ */ (0,
|
|
5351
|
-
/* @__PURE__ */ (0,
|
|
5352
|
-
/* @__PURE__ */ (0,
|
|
5394
|
+
return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("section", { className: ["bh-root", className ?? ""].filter(Boolean).join(" "), children: [
|
|
5395
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("div", { className: "bh-desktop", children: [
|
|
5396
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("div", { className: "bh-desktopHeader", children: [
|
|
5397
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { className: "bh-headerLeft", children: leftColumn.label && /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("div", { className: "bh-columnHeader", children: [
|
|
5398
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)("span", { className: "bh-columnLabel", children: leftColumn.label }),
|
|
5399
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)("span", { className: "bh-columnLine" })
|
|
5353
5400
|
] }) }),
|
|
5354
|
-
/* @__PURE__ */ (0,
|
|
5355
|
-
/* @__PURE__ */ (0,
|
|
5356
|
-
/* @__PURE__ */ (0,
|
|
5401
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { className: "bh-headerRight", children: rightColumn.label && /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("div", { className: "bh-columnHeader", children: [
|
|
5402
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)("span", { className: "bh-columnLabel", children: rightColumn.label }),
|
|
5403
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)("span", { className: "bh-columnLine" })
|
|
5357
5404
|
] }) })
|
|
5358
5405
|
] }),
|
|
5359
|
-
/* @__PURE__ */ (0,
|
|
5360
|
-
/* @__PURE__ */ (0,
|
|
5361
|
-
/* @__PURE__ */ (0,
|
|
5362
|
-
/* @__PURE__ */ (0,
|
|
5363
|
-
/* @__PURE__ */ (0,
|
|
5364
|
-
/* @__PURE__ */ (0,
|
|
5365
|
-
/* @__PURE__ */ (0,
|
|
5366
|
-
featured.summary && /* @__PURE__ */ (0,
|
|
5367
|
-
featured.tags && featured.tags.length > 0 && /* @__PURE__ */ (0,
|
|
5368
|
-
i > 0 && /* @__PURE__ */ (0,
|
|
5369
|
-
/* @__PURE__ */ (0,
|
|
5406
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("div", { className: "bh-desktopBody", children: [
|
|
5407
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { className: "bh-sidebar bh-sidebarLeft", children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(ColumnSection, { column: { ...leftColumn, label: void 0 }, showThumbnails: true }) }),
|
|
5408
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)("span", { className: "bh-divider" }),
|
|
5409
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("div", { className: "bh-center", children: [
|
|
5410
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("div", { className: "bh-featured", children: [
|
|
5411
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("div", { className: "bh-featuredInfo", children: [
|
|
5412
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)("h2", { className: "bh-featuredTitle", children: featured.title }),
|
|
5413
|
+
featured.summary && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("p", { className: "bh-featuredSummary", children: featured.summary }),
|
|
5414
|
+
featured.tags && featured.tags.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { className: "bh-featuredTags", children: featured.tags.map((tag, i) => /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("span", { className: "bh-tagItem", children: [
|
|
5415
|
+
i > 0 && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("span", { "aria-hidden": "true", className: "bh-tagDot", children: "\xB7" }),
|
|
5416
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Tag, { label: tag, size: "md", variant: "custom" })
|
|
5370
5417
|
] }, i)) })
|
|
5371
5418
|
] }),
|
|
5372
|
-
featured.thumbnail && /* @__PURE__ */ (0,
|
|
5419
|
+
featured.thumbnail && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { className: "bh-featuredImage", children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("img", { alt: featured.thumbnailAlt ?? "", className: "bh-featuredImg", src: featured.thumbnail }) })
|
|
5373
5420
|
] }),
|
|
5374
|
-
featuredFooter.length > 0 && /* @__PURE__ */ (0,
|
|
5375
|
-
i > 0 && /* @__PURE__ */ (0,
|
|
5376
|
-
/* @__PURE__ */ (0,
|
|
5377
|
-
/* @__PURE__ */ (0,
|
|
5378
|
-
article.tags && article.tags.length > 0 && /* @__PURE__ */ (0,
|
|
5379
|
-
j > 0 && /* @__PURE__ */ (0,
|
|
5380
|
-
/* @__PURE__ */ (0,
|
|
5421
|
+
featuredFooter.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { className: "bh-featuredFooter", children: featuredFooter.map((article, i) => /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("div", { className: "bh-footerItem", children: [
|
|
5422
|
+
i > 0 && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("span", { className: "bh-footerDivider" }),
|
|
5423
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("div", { className: "bh-footerContent", children: [
|
|
5424
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)("p", { className: "bh-footerTitle", children: article.title }),
|
|
5425
|
+
article.tags && article.tags.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { className: "bh-listItemTags", children: article.tags.map((tag, j) => /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("span", { className: "bh-tagItem", children: [
|
|
5426
|
+
j > 0 && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("span", { "aria-hidden": "true", className: "bh-tagDot", children: "\xB7" }),
|
|
5427
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Tag, { label: tag, size: "md", variant: "custom" })
|
|
5381
5428
|
] }, j)) })
|
|
5382
5429
|
] })
|
|
5383
5430
|
] }, i)) })
|
|
5384
5431
|
] }),
|
|
5385
|
-
/* @__PURE__ */ (0,
|
|
5386
|
-
/* @__PURE__ */ (0,
|
|
5432
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)("span", { className: "bh-divider" }),
|
|
5433
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { className: "bh-sidebar bh-sidebarRight", children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(ColumnSection, { column: { ...rightColumn, label: void 0 } }) })
|
|
5387
5434
|
] })
|
|
5388
5435
|
] }),
|
|
5389
|
-
/* @__PURE__ */ (0,
|
|
5390
|
-
/* @__PURE__ */ (0,
|
|
5391
|
-
/* @__PURE__ */ (0,
|
|
5392
|
-
/* @__PURE__ */ (0,
|
|
5393
|
-
/* @__PURE__ */ (0,
|
|
5394
|
-
featured.summary && /* @__PURE__ */ (0,
|
|
5395
|
-
featured.tags && featured.tags.length > 0 && /* @__PURE__ */ (0,
|
|
5396
|
-
i > 0 && /* @__PURE__ */ (0,
|
|
5397
|
-
/* @__PURE__ */ (0,
|
|
5436
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("div", { className: "bh-mobile", children: [
|
|
5437
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("div", { className: "bh-mobileFeatured", children: [
|
|
5438
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)("span", { className: "bh-mobileLabel", children: leftColumn.label ?? "Trending stories" }),
|
|
5439
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("div", { className: "bh-featuredInfo", children: [
|
|
5440
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)("h2", { className: "bh-featuredTitle", children: featured.title }),
|
|
5441
|
+
featured.summary && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("p", { className: "bh-featuredSummary", children: featured.summary }),
|
|
5442
|
+
featured.tags && featured.tags.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { className: "bh-featuredTags", children: featured.tags.map((tag, i) => /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("span", { className: "bh-tagItem", children: [
|
|
5443
|
+
i > 0 && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("span", { "aria-hidden": "true", className: "bh-tagDot", children: "\xB7" }),
|
|
5444
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Tag, { label: tag, size: "md", variant: "custom" })
|
|
5398
5445
|
] }, i)) })
|
|
5399
5446
|
] }),
|
|
5400
|
-
featured.thumbnail && /* @__PURE__ */ (0,
|
|
5401
|
-
featuredFooter.length > 0 && /* @__PURE__ */ (0,
|
|
5402
|
-
i > 0 && /* @__PURE__ */ (0,
|
|
5403
|
-
/* @__PURE__ */ (0,
|
|
5404
|
-
/* @__PURE__ */ (0,
|
|
5405
|
-
article.tags && article.tags.length > 0 && /* @__PURE__ */ (0,
|
|
5406
|
-
j > 0 && /* @__PURE__ */ (0,
|
|
5407
|
-
/* @__PURE__ */ (0,
|
|
5447
|
+
featured.thumbnail && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { className: "bh-mobileFeaturedImage", children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("img", { alt: featured.thumbnailAlt ?? "", className: "bh-featuredImg", src: featured.thumbnail }) }),
|
|
5448
|
+
featuredFooter.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { className: "bh-featuredFooter", children: featuredFooter.map((article, i) => /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("div", { className: "bh-footerItem", children: [
|
|
5449
|
+
i > 0 && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("span", { className: "bh-footerDivider" }),
|
|
5450
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("div", { className: "bh-footerContent", children: [
|
|
5451
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)("p", { className: "bh-footerTitle", children: article.title }),
|
|
5452
|
+
article.tags && article.tags.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { className: "bh-listItemTags", children: article.tags.map((tag, j) => /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("span", { className: "bh-tagItem", children: [
|
|
5453
|
+
j > 0 && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("span", { "aria-hidden": "true", className: "bh-tagDot", children: "\xB7" }),
|
|
5454
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Tag, { label: tag, size: "md", variant: "custom" })
|
|
5408
5455
|
] }, j)) })
|
|
5409
5456
|
] })
|
|
5410
5457
|
] }, i)) })
|
|
5411
5458
|
] }),
|
|
5412
|
-
/* @__PURE__ */ (0,
|
|
5413
|
-
/* @__PURE__ */ (0,
|
|
5459
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { className: "bh-mobileSection", children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(ColumnSection, { column: { ...leftColumn, label: void 0 }, showThumbnails: true }) }),
|
|
5460
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { className: "bh-mobileSection", children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(ColumnSection, { column: rightColumn }) })
|
|
5414
5461
|
] })
|
|
5415
5462
|
] });
|
|
5416
5463
|
};
|
|
5417
5464
|
|
|
5418
5465
|
// templates/ArticleSection/ArticleSection.tsx
|
|
5419
|
-
var
|
|
5466
|
+
var import_jsx_runtime45 = require("react/jsx-runtime");
|
|
5420
5467
|
var ArticleSection = ({
|
|
5421
5468
|
variant = "featured",
|
|
5422
5469
|
sectionTitle,
|
|
@@ -5432,14 +5479,14 @@ var ArticleSection = ({
|
|
|
5432
5479
|
const midpoint = Math.ceil(articles.length / 2);
|
|
5433
5480
|
const col2 = articles.slice(0, midpoint);
|
|
5434
5481
|
const col3 = articles.slice(midpoint);
|
|
5435
|
-
return /* @__PURE__ */ (0,
|
|
5436
|
-
/* @__PURE__ */ (0,
|
|
5437
|
-
/* @__PURE__ */ (0,
|
|
5438
|
-
linkText && /* @__PURE__ */ (0,
|
|
5482
|
+
return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("section", { className: rootClass, children: [
|
|
5483
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("div", { className: "as-header", children: [
|
|
5484
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)("h2", { className: "as-title", children: sectionTitle }),
|
|
5485
|
+
linkText && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Link, { colorScheme: "coral", label: linkText, onClick: onLinkClick })
|
|
5439
5486
|
] }),
|
|
5440
|
-
/* @__PURE__ */ (0,
|
|
5441
|
-
!isShowcase && !isGrid && featured && /* @__PURE__ */ (0,
|
|
5442
|
-
/* @__PURE__ */ (0,
|
|
5487
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("div", { className: "as-desktop", children: [
|
|
5488
|
+
!isShowcase && !isGrid && featured && /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(import_jsx_runtime45.Fragment, { children: [
|
|
5489
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: "as-featuredRow", children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
5443
5490
|
Card,
|
|
5444
5491
|
{
|
|
5445
5492
|
variant: "thumbnail",
|
|
@@ -5455,7 +5502,7 @@ var ArticleSection = ({
|
|
|
5455
5502
|
hideAvatar: true
|
|
5456
5503
|
}
|
|
5457
5504
|
) }),
|
|
5458
|
-
/* @__PURE__ */ (0,
|
|
5505
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: "as-grid", children: articles.map((article, i) => /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: "as-gridItem", children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
5459
5506
|
Card,
|
|
5460
5507
|
{
|
|
5461
5508
|
variant: "thumbnail",
|
|
@@ -5472,7 +5519,7 @@ var ArticleSection = ({
|
|
|
5472
5519
|
}
|
|
5473
5520
|
) }, i)) })
|
|
5474
5521
|
] }),
|
|
5475
|
-
isGrid && /* @__PURE__ */ (0,
|
|
5522
|
+
isGrid && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: "as-grid", children: articles.map((article, i) => /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: "as-gridItem", children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
5476
5523
|
Card,
|
|
5477
5524
|
{
|
|
5478
5525
|
variant: "thumbnail",
|
|
@@ -5488,8 +5535,8 @@ var ArticleSection = ({
|
|
|
5488
5535
|
hideAvatar: true
|
|
5489
5536
|
}
|
|
5490
5537
|
) }, i)) }),
|
|
5491
|
-
isShowcase && /* @__PURE__ */ (0,
|
|
5492
|
-
/* @__PURE__ */ (0,
|
|
5538
|
+
isShowcase && /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("div", { className: "as-showcaseGrid", children: [
|
|
5539
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: "as-showcaseFeatured", children: featured && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
5493
5540
|
Card,
|
|
5494
5541
|
{
|
|
5495
5542
|
variant: "thumbnail",
|
|
@@ -5505,7 +5552,7 @@ var ArticleSection = ({
|
|
|
5505
5552
|
hideAvatar: true
|
|
5506
5553
|
}
|
|
5507
5554
|
) }),
|
|
5508
|
-
/* @__PURE__ */ (0,
|
|
5555
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: "as-showcaseCol", children: col2.map((article, i) => /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: "as-showcaseItem", children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
5509
5556
|
Card,
|
|
5510
5557
|
{
|
|
5511
5558
|
variant: "thumbnail",
|
|
@@ -5521,7 +5568,7 @@ var ArticleSection = ({
|
|
|
5521
5568
|
hideAvatar: true
|
|
5522
5569
|
}
|
|
5523
5570
|
) }, i)) }),
|
|
5524
|
-
/* @__PURE__ */ (0,
|
|
5571
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: "as-showcaseCol", children: col3.map((article, i) => /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: "as-showcaseItem", children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
5525
5572
|
Card,
|
|
5526
5573
|
{
|
|
5527
5574
|
variant: "thumbnail",
|
|
@@ -5539,8 +5586,8 @@ var ArticleSection = ({
|
|
|
5539
5586
|
) }, i)) })
|
|
5540
5587
|
] })
|
|
5541
5588
|
] }),
|
|
5542
|
-
/* @__PURE__ */ (0,
|
|
5543
|
-
!isGrid && featured && /* @__PURE__ */ (0,
|
|
5589
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("div", { className: isGrid ? "as-mobile-grid" : "as-mobile", children: [
|
|
5590
|
+
!isGrid && featured && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: "as-mobileFeatured", children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
5544
5591
|
Card,
|
|
5545
5592
|
{
|
|
5546
5593
|
variant: "thumbnail",
|
|
@@ -5556,7 +5603,7 @@ var ArticleSection = ({
|
|
|
5556
5603
|
hideAvatar: true
|
|
5557
5604
|
}
|
|
5558
5605
|
) }),
|
|
5559
|
-
!isGrid && /* @__PURE__ */ (0,
|
|
5606
|
+
!isGrid && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: "as-mobileList", children: articles.map((article, i) => /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: "as-mobileListItem", children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
5560
5607
|
Card,
|
|
5561
5608
|
{
|
|
5562
5609
|
variant: "thumbnail",
|
|
@@ -5572,7 +5619,7 @@ var ArticleSection = ({
|
|
|
5572
5619
|
hideAvatar: true
|
|
5573
5620
|
}
|
|
5574
5621
|
) }, i)) }),
|
|
5575
|
-
isGrid && /* @__PURE__ */ (0,
|
|
5622
|
+
isGrid && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: "as-mobileScroll", children: articles.map((article, i) => /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: "as-mobileScrollItem", children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
5576
5623
|
Card,
|
|
5577
5624
|
{
|
|
5578
5625
|
variant: "thumbnail",
|
|
@@ -5617,6 +5664,7 @@ var ArticleSection = ({
|
|
|
5617
5664
|
FeatureCards,
|
|
5618
5665
|
FeatureCardsIcon,
|
|
5619
5666
|
FeatureScroll,
|
|
5667
|
+
FeatureSplit,
|
|
5620
5668
|
Footer,
|
|
5621
5669
|
Header,
|
|
5622
5670
|
Hero,
|