@deriv-web-design/ui 0.0.5 → 0.0.7

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.js CHANGED
@@ -36,6 +36,7 @@ __export(index_exports, {
36
36
  Footer: () => Footer,
37
37
  Hero: () => Hero,
38
38
  Link: () => Link,
39
+ Navbar: () => Navbar,
39
40
  Pagination: () => Pagination,
40
41
  PaymentMethods: () => PaymentMethods,
41
42
  SCROLLYTELLING_DATA: () => SCROLLYTELLING_DATA,
@@ -1080,7 +1081,7 @@ var FeatureCards = ({
1080
1081
  ] }) });
1081
1082
  };
1082
1083
 
1083
- // templates/Footer/Footer.tsx
1084
+ // components/Footer/Footer.tsx
1084
1085
  var import_react7 = require("react");
1085
1086
  var import_jsx_runtime17 = require("react/jsx-runtime");
1086
1087
  var ExternalLinkIcon = () => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
@@ -1130,40 +1131,42 @@ var DerivGoBadges = ({
1130
1131
  appStoreBadge,
1131
1132
  huaweiBadge,
1132
1133
  availabilityNote
1133
- }) => /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { className: "footer__app-badges", children: [
1134
- googlePlayBadge && /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1135
- "a",
1136
- {
1137
- href: googlePlayBadge.href,
1138
- className: googlePlayBadge.icon ? "footer__app-badge-svg" : "footer__app-badge",
1139
- "aria-label": googlePlayBadge.imageAlt,
1140
- target: "_blank",
1141
- rel: "noopener noreferrer",
1142
- children: googlePlayBadge.icon ?? /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("img", { src: googlePlayBadge.imageSrc, alt: googlePlayBadge.imageAlt })
1143
- }
1144
- ),
1145
- appStoreBadge && /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1146
- "a",
1147
- {
1148
- href: appStoreBadge.href,
1149
- className: appStoreBadge.icon ? "footer__app-badge-svg" : "footer__app-badge",
1150
- "aria-label": appStoreBadge.imageAlt,
1151
- target: "_blank",
1152
- rel: "noopener noreferrer",
1153
- children: appStoreBadge.icon ?? /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("img", { src: appStoreBadge.imageSrc, alt: appStoreBadge.imageAlt })
1154
- }
1155
- ),
1156
- huaweiBadge && /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1157
- "a",
1158
- {
1159
- href: huaweiBadge.href,
1160
- className: huaweiBadge.icon ? "footer__app-badge-svg" : "footer__app-badge",
1161
- "aria-label": huaweiBadge.imageAlt,
1162
- target: "_blank",
1163
- rel: "noopener noreferrer",
1164
- children: huaweiBadge.icon ?? /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("img", { src: huaweiBadge.imageSrc, alt: huaweiBadge.imageAlt })
1165
- }
1166
- ),
1134
+ }) => /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(import_jsx_runtime17.Fragment, { children: [
1135
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { className: "footer__app-badges", children: [
1136
+ googlePlayBadge && /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1137
+ "a",
1138
+ {
1139
+ href: googlePlayBadge.href,
1140
+ className: googlePlayBadge.icon ? "footer__app-badge-svg" : "footer__app-badge",
1141
+ "aria-label": googlePlayBadge.imageAlt,
1142
+ target: "_blank",
1143
+ rel: "noopener noreferrer",
1144
+ children: googlePlayBadge.icon ?? /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("img", { src: googlePlayBadge.imageSrc, alt: googlePlayBadge.imageAlt })
1145
+ }
1146
+ ),
1147
+ appStoreBadge && /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1148
+ "a",
1149
+ {
1150
+ href: appStoreBadge.href,
1151
+ className: appStoreBadge.icon ? "footer__app-badge-svg" : "footer__app-badge",
1152
+ "aria-label": appStoreBadge.imageAlt,
1153
+ target: "_blank",
1154
+ rel: "noopener noreferrer",
1155
+ children: appStoreBadge.icon ?? /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("img", { src: appStoreBadge.imageSrc, alt: appStoreBadge.imageAlt })
1156
+ }
1157
+ ),
1158
+ huaweiBadge && /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1159
+ "a",
1160
+ {
1161
+ href: huaweiBadge.href,
1162
+ className: huaweiBadge.icon ? "footer__app-badge-svg" : "footer__app-badge",
1163
+ "aria-label": huaweiBadge.imageAlt,
1164
+ target: "_blank",
1165
+ rel: "noopener noreferrer",
1166
+ children: huaweiBadge.icon ?? /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("img", { src: huaweiBadge.imageSrc, alt: huaweiBadge.imageAlt })
1167
+ }
1168
+ )
1169
+ ] }),
1167
1170
  availabilityNote && /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("p", { className: "footer__app-note", children: availabilityNote })
1168
1171
  ] });
1169
1172
  var NavLink = ({ label, href, isExternal, onClick }) => /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
@@ -1228,11 +1231,10 @@ var Footer = ({
1228
1231
  "a",
1229
1232
  {
1230
1233
  href: item.href,
1231
- className: "footer__ai-icon",
1232
1234
  "aria-label": item.imageAlt,
1233
1235
  target: "_blank",
1234
1236
  rel: "noopener noreferrer",
1235
- children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("img", { src: item.imageSrc, alt: item.imageAlt })
1237
+ children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("img", { className: "footer__ai-icon", src: item.imageSrc, alt: item.imageAlt })
1236
1238
  },
1237
1239
  i
1238
1240
  )) })
@@ -1256,11 +1258,10 @@ var Footer = ({
1256
1258
  "a",
1257
1259
  {
1258
1260
  href: item.href,
1259
- className: "footer__ai-icon",
1260
1261
  "aria-label": item.imageAlt,
1261
1262
  target: "_blank",
1262
1263
  rel: "noopener noreferrer",
1263
- children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("img", { src: item.imageSrc, alt: item.imageAlt })
1264
+ children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("img", { className: "footer__ai-icon", src: item.imageSrc, alt: item.imageAlt })
1264
1265
  },
1265
1266
  i
1266
1267
  )) })
@@ -1301,7 +1302,7 @@ var Footer = ({
1301
1302
  className: "footer__deriv-go-qr-img"
1302
1303
  }
1303
1304
  ),
1304
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", { className: "footer__deriv-go-qr-label", children: "Scan to download" })
1305
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", { className: "footer__deriv-go-qr-label", children: derivGo.scanToDownloadLabel ?? "Scan to download" })
1305
1306
  ] }),
1306
1307
  /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1307
1308
  DerivGoBadges,
@@ -2291,7 +2292,7 @@ var CTABanner = ({
2291
2292
  style: { y: heroY, opacity: heroOpacity },
2292
2293
  children: [
2293
2294
  /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("h2", { className: "ctab__headline", children: headline }),
2294
- /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("a", { href: ctaHref, className: "ctab__cta", children: ctaLabel })
2295
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("a", { href: ctaHref, children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Button, { colorScheme: "black", variant: "primary", label: ctaLabel }) })
2295
2296
  ]
2296
2297
  }
2297
2298
  )
@@ -2301,10 +2302,454 @@ var CTABanner = ({
2301
2302
  );
2302
2303
  };
2303
2304
 
2304
- // templates/DayNightTransition/DayNightTransition.tsx
2305
+ // components/Navbar/Navbar.tsx
2305
2306
  var import_react12 = require("react");
2306
2307
  var import_framer_motion2 = require("framer-motion");
2308
+
2309
+ // assets/icon-globe.svg
2310
+ var icon_globe_default = "./icon-globe-S54WYYEK.svg";
2311
+
2312
+ // components/Navbar/Navbar.tsx
2307
2313
  var import_jsx_runtime23 = require("react/jsx-runtime");
2314
+ var EASE_OUT_EXPO = [0.16, 1, 0.3, 1];
2315
+ var dropdownVariants = {
2316
+ hidden: { opacity: 0, scale: 0.96, y: -8 },
2317
+ visible: { opacity: 1, scale: 1, y: 0 }
2318
+ };
2319
+ var drawerVariants = {
2320
+ hidden: { y: "-100%" },
2321
+ visible: { y: 0 }
2322
+ };
2323
+ var accordionVariants = {
2324
+ hidden: { height: 0, opacity: 0 },
2325
+ visible: { height: "auto", opacity: 1 }
2326
+ };
2327
+ var ChevronDownIcon3 = ({ className }) => /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
2328
+ "svg",
2329
+ {
2330
+ className,
2331
+ width: "14",
2332
+ height: "14",
2333
+ viewBox: "0 0 14 14",
2334
+ fill: "none",
2335
+ "aria-hidden": "true",
2336
+ children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
2337
+ "path",
2338
+ {
2339
+ d: "M2.625 4.8125L7 9.1875L11.375 4.8125",
2340
+ stroke: "currentColor",
2341
+ strokeWidth: "1.5",
2342
+ strokeLinecap: "round",
2343
+ strokeLinejoin: "round"
2344
+ }
2345
+ )
2346
+ }
2347
+ );
2348
+ var ArrowRightIcon = () => /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("svg", { width: "14", height: "14", viewBox: "0 0 14 14", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
2349
+ "path",
2350
+ {
2351
+ d: "M2.625 7H11.375M11.375 7L7.875 3.5M11.375 7L7.875 10.5",
2352
+ stroke: "currentColor",
2353
+ strokeWidth: "1.5",
2354
+ strokeLinecap: "round",
2355
+ strokeLinejoin: "round"
2356
+ }
2357
+ ) });
2358
+ var ArrowUpRightIcon = () => /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
2359
+ "path",
2360
+ {
2361
+ d: "M4.5 11.5L11.5 4.5M11.5 4.5H5.5M11.5 4.5V10.5",
2362
+ stroke: "currentColor",
2363
+ strokeWidth: "1.5",
2364
+ strokeLinecap: "round",
2365
+ strokeLinejoin: "round"
2366
+ }
2367
+ ) });
2368
+ var BarsIcon = () => /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
2369
+ "path",
2370
+ {
2371
+ d: "M2.5 5H17.5M2.5 10H17.5M2.5 15H17.5",
2372
+ stroke: "currentColor",
2373
+ strokeWidth: "1.75",
2374
+ strokeLinecap: "round"
2375
+ }
2376
+ ) });
2377
+ var XMarkIcon2 = () => /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
2378
+ "path",
2379
+ {
2380
+ d: "M15 5L5 15M5 5L15 15",
2381
+ stroke: "currentColor",
2382
+ strokeWidth: "1.75",
2383
+ strokeLinecap: "round"
2384
+ }
2385
+ ) });
2386
+ var GlobeIcon = ({ className }) => /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("img", { src: icon_globe_default, alt: "", "aria-hidden": "true", width: "20", height: "20", className });
2387
+ var DropdownPanel = ({ item, onMouseEnter, onMouseLeave }) => {
2388
+ const { dropdown } = item;
2389
+ if (!dropdown) return null;
2390
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
2391
+ import_framer_motion2.motion.div,
2392
+ {
2393
+ className: "navbar__dropdown",
2394
+ variants: dropdownVariants,
2395
+ initial: "hidden",
2396
+ animate: "visible",
2397
+ exit: "hidden",
2398
+ transition: { duration: 0.18, ease: EASE_OUT_EXPO },
2399
+ onMouseEnter,
2400
+ onMouseLeave,
2401
+ children: /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)("div", { className: "navbar__dropdown-inner", children: [
2402
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("div", { className: "navbar__dropdown-left", children: dropdown.columns.map((col, colIdx) => /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("div", { className: "navbar__dropdown-col", children: col.sections.map((section) => /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)("div", { className: "navbar__dropdown-col-list", children: [
2403
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("p", { className: "navbar__dropdown-col-title", children: section.title }),
2404
+ section.items.map((link) => /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
2405
+ "a",
2406
+ {
2407
+ href: link.href,
2408
+ className: "navbar__dropdown-link",
2409
+ target: link.external ? "_blank" : void 0,
2410
+ rel: link.external ? "noopener noreferrer" : void 0,
2411
+ children: [
2412
+ link.label,
2413
+ link.external ? /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(ArrowUpRightIcon, {}) : /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(ArrowRightIcon, {})
2414
+ ]
2415
+ },
2416
+ link.href
2417
+ ))
2418
+ ] }, section.title)) }, colIdx)) }),
2419
+ dropdown.feature && /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("div", { className: "navbar__dropdown-right", children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(FeatureCard, { feature: dropdown.feature }) })
2420
+ ] })
2421
+ }
2422
+ );
2423
+ };
2424
+ var FeatureCard = ({ feature, mobile }) => /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
2425
+ "div",
2426
+ {
2427
+ className: mobile ? "navbar__drawer-feature" : "navbar__dropdown-feature",
2428
+ style: feature.backgroundImageUrl ? { backgroundImage: `url(${feature.backgroundImageUrl})` } : void 0,
2429
+ children: [
2430
+ feature.backgroundImageUrl && /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
2431
+ "img",
2432
+ {
2433
+ src: feature.backgroundImageUrl,
2434
+ alt: "",
2435
+ className: mobile ? "navbar__drawer-feature-img" : "navbar__dropdown-feature-img",
2436
+ "aria-hidden": "true"
2437
+ }
2438
+ ),
2439
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("div", { className: mobile ? "navbar__drawer-feature-overlay" : "navbar__dropdown-feature-overlay", "aria-hidden": "true" }),
2440
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)("div", { className: mobile ? "navbar__drawer-feature-content" : "navbar__dropdown-feature-content", children: [
2441
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)("div", { children: [
2442
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("p", { className: mobile ? "navbar__drawer-feature-title" : "navbar__dropdown-feature-title", children: feature.title }),
2443
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("p", { className: mobile ? "navbar__drawer-feature-desc" : "navbar__dropdown-feature-desc", children: feature.description })
2444
+ ] }),
2445
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
2446
+ "a",
2447
+ {
2448
+ href: feature.ctaHref,
2449
+ className: mobile ? "navbar__drawer-feature-cta" : "navbar__dropdown-feature-cta",
2450
+ children: [
2451
+ feature.ctaLabel,
2452
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(ArrowRightIcon, {})
2453
+ ]
2454
+ }
2455
+ )
2456
+ ] })
2457
+ ]
2458
+ }
2459
+ );
2460
+ var DrawerAccordion = ({ item, isOpen, onToggle }) => {
2461
+ const { dropdown } = item;
2462
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)("div", { className: "navbar__drawer-item", children: [
2463
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
2464
+ "button",
2465
+ {
2466
+ className: `navbar__drawer-trigger ${isOpen ? "navbar__drawer-trigger--open" : ""}`,
2467
+ onClick: onToggle,
2468
+ "aria-expanded": isOpen,
2469
+ children: [
2470
+ item.label,
2471
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(ChevronDownIcon3, { className: "navbar__drawer-trigger__chevron" })
2472
+ ]
2473
+ }
2474
+ ),
2475
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_framer_motion2.AnimatePresence, { initial: false, children: isOpen && dropdown && /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
2476
+ import_framer_motion2.motion.div,
2477
+ {
2478
+ className: "navbar__drawer-panel",
2479
+ variants: accordionVariants,
2480
+ initial: "hidden",
2481
+ animate: "visible",
2482
+ exit: "hidden",
2483
+ transition: { duration: 0.22, ease: EASE_OUT_EXPO },
2484
+ children: /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)("div", { className: "navbar__drawer-panel-inner", children: [
2485
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("div", { className: "navbar__drawer-panel-cols", children: dropdown.columns.map((col, colIdx) => /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("div", { className: "navbar__drawer-panel-col", children: col.sections.map((section) => /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)("div", { className: "navbar__drawer-col-section", children: [
2486
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("p", { className: "navbar__drawer-col-title", children: section.title }),
2487
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("div", { className: "navbar__drawer-col-links", children: section.items.map((link) => /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
2488
+ "a",
2489
+ {
2490
+ href: link.href,
2491
+ className: "navbar__drawer-link",
2492
+ target: link.external ? "_blank" : void 0,
2493
+ rel: link.external ? "noopener noreferrer" : void 0,
2494
+ children: link.label
2495
+ },
2496
+ link.href
2497
+ )) })
2498
+ ] }, section.title)) }, colIdx)) }),
2499
+ dropdown.feature && /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(FeatureCard, { feature: dropdown.feature, mobile: true })
2500
+ ] })
2501
+ }
2502
+ ) })
2503
+ ] });
2504
+ };
2505
+ var Navbar = ({
2506
+ theme = "dark",
2507
+ logoSrc,
2508
+ logoSrcDark,
2509
+ logoHref = "/",
2510
+ navItems = [],
2511
+ loginLabel = "Log in",
2512
+ loginHref,
2513
+ ctaLabel = "Open account",
2514
+ ctaHref,
2515
+ languageLabel,
2516
+ onLanguageClick,
2517
+ className,
2518
+ ...props
2519
+ }) => {
2520
+ const [openDropdown, setOpenDropdown] = (0, import_react12.useState)(null);
2521
+ const [mobileOpen, setMobileOpen] = (0, import_react12.useState)(false);
2522
+ const [mobileExpanded, setMobileExpanded] = (0, import_react12.useState)(null);
2523
+ const [scrolled, setScrolled] = (0, import_react12.useState)(false);
2524
+ const hoverTimeoutRef = (0, import_react12.useRef)(null);
2525
+ const pillAreaRef = (0, import_react12.useRef)(null);
2526
+ const resolvedLogo = theme === "light" ? logoSrcDark ?? logoSrc : logoSrc;
2527
+ (0, import_react12.useEffect)(() => {
2528
+ const onScroll = () => setScrolled(window.scrollY > 0);
2529
+ window.addEventListener("scroll", onScroll, { passive: true });
2530
+ return () => window.removeEventListener("scroll", onScroll);
2531
+ }, []);
2532
+ (0, import_react12.useEffect)(() => {
2533
+ const onKey = (e) => {
2534
+ if (e.key === "Escape") {
2535
+ setOpenDropdown(null);
2536
+ setMobileOpen(false);
2537
+ }
2538
+ };
2539
+ document.addEventListener("keydown", onKey);
2540
+ return () => document.removeEventListener("keydown", onKey);
2541
+ }, []);
2542
+ (0, import_react12.useEffect)(() => {
2543
+ document.body.style.overflow = mobileOpen ? "hidden" : "";
2544
+ return () => {
2545
+ document.body.style.overflow = "";
2546
+ };
2547
+ }, [mobileOpen]);
2548
+ (0, import_react12.useEffect)(() => {
2549
+ if (!openDropdown) return;
2550
+ const onPointerDown = (e) => {
2551
+ if (pillAreaRef.current && !pillAreaRef.current.contains(e.target)) {
2552
+ setOpenDropdown(null);
2553
+ }
2554
+ };
2555
+ document.addEventListener("pointerdown", onPointerDown);
2556
+ return () => document.removeEventListener("pointerdown", onPointerDown);
2557
+ }, [openDropdown]);
2558
+ const clearHoverTimeout = (0, import_react12.useCallback)(() => {
2559
+ if (hoverTimeoutRef.current) {
2560
+ clearTimeout(hoverTimeoutRef.current);
2561
+ hoverTimeoutRef.current = null;
2562
+ }
2563
+ }, []);
2564
+ const handleNavEnter = (0, import_react12.useCallback)((label) => {
2565
+ clearHoverTimeout();
2566
+ setOpenDropdown(label);
2567
+ }, [clearHoverTimeout]);
2568
+ const handleNavLeave = (0, import_react12.useCallback)(() => {
2569
+ clearHoverTimeout();
2570
+ hoverTimeoutRef.current = setTimeout(() => setOpenDropdown(null), 120);
2571
+ }, [clearHoverTimeout]);
2572
+ const activeDropdownItem = navItems.find((item) => item.label === openDropdown);
2573
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
2574
+ "nav",
2575
+ {
2576
+ className: ["navbar", `navbar--${theme}`, scrolled && "navbar--scrolled", mobileOpen && "navbar--menu-open", className].filter(Boolean).join(" "),
2577
+ ...props,
2578
+ children: [
2579
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)("div", { className: "navbar__bar", children: [
2580
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("a", { href: logoHref, className: "navbar__logo", "aria-label": "Home", children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("img", { src: resolvedLogo, alt: "Logo" }) }),
2581
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("div", { className: "navbar__nav-center", ref: pillAreaRef, children: /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)("div", { className: "navbar__pill", children: [
2582
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("a", { href: logoHref, className: "navbar__pill-logo", "aria-label": "Home", children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("img", { src: logoSrcDark ?? logoSrc, alt: "Logo" }) }),
2583
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)("div", { className: "navbar__nav-group", children: [
2584
+ navItems.map((item) => {
2585
+ if (item.external) {
2586
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
2587
+ "a",
2588
+ {
2589
+ href: item.href,
2590
+ className: "navbar__nav-item",
2591
+ target: "_blank",
2592
+ rel: "noopener noreferrer",
2593
+ children: [
2594
+ item.label,
2595
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(ArrowUpRightIcon, {})
2596
+ ]
2597
+ },
2598
+ item.label
2599
+ );
2600
+ }
2601
+ if (item.dropdown) {
2602
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
2603
+ "button",
2604
+ {
2605
+ className: [
2606
+ "navbar__nav-item",
2607
+ openDropdown === item.label ? "navbar__nav-item--open" : ""
2608
+ ].filter(Boolean).join(" "),
2609
+ onMouseEnter: () => handleNavEnter(item.label),
2610
+ onMouseLeave: handleNavLeave,
2611
+ "aria-expanded": openDropdown === item.label,
2612
+ "aria-haspopup": "true",
2613
+ children: [
2614
+ item.label,
2615
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(ChevronDownIcon3, { className: "navbar__nav-item__chevron" })
2616
+ ]
2617
+ },
2618
+ item.label
2619
+ );
2620
+ }
2621
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("a", { href: item.href, className: "navbar__nav-item", children: item.label }, item.label);
2622
+ }),
2623
+ languageLabel && /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)("button", { className: "navbar__nav-item navbar__lang-btn", onClick: onLanguageClick, children: [
2624
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(GlobeIcon, { className: "navbar__lang-globe" }),
2625
+ languageLabel
2626
+ ] })
2627
+ ] }),
2628
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)("div", { className: "navbar__pill-actions", children: [
2629
+ loginHref && /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("a", { href: loginHref, children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Button, { colorScheme: "black", variant: "secondary", label: loginLabel }) }),
2630
+ ctaHref && /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("a", { href: ctaHref, children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Button, { colorScheme: "coral", variant: "primary", label: ctaLabel }) })
2631
+ ] })
2632
+ ] }) }),
2633
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_framer_motion2.AnimatePresence, { children: openDropdown && activeDropdownItem?.dropdown && /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
2634
+ DropdownPanel,
2635
+ {
2636
+ item: activeDropdownItem,
2637
+ onMouseEnter: clearHoverTimeout,
2638
+ onMouseLeave: handleNavLeave
2639
+ },
2640
+ "dropdown"
2641
+ ) }),
2642
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)("div", { className: "navbar__actions", children: [
2643
+ loginHref && /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("a", { href: loginHref, className: "navbar__actions-login", children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
2644
+ Button,
2645
+ {
2646
+ colorScheme: theme === "dark" ? "white" : "black",
2647
+ variant: "secondary",
2648
+ label: loginLabel
2649
+ }
2650
+ ) }),
2651
+ ctaHref && /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("a", { href: ctaHref, children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Button, { colorScheme: "coral", variant: "primary", label: ctaLabel }) })
2652
+ ] }),
2653
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)("div", { className: "navbar__mobile-actions", children: [
2654
+ loginHref && /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("a", { href: loginHref, children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
2655
+ Button,
2656
+ {
2657
+ colorScheme: scrolled || theme === "light" ? "black" : "white",
2658
+ variant: "secondary",
2659
+ label: loginLabel
2660
+ }
2661
+ ) }),
2662
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
2663
+ "button",
2664
+ {
2665
+ className: "navbar__mobile-trigger",
2666
+ onClick: () => setMobileOpen((o) => !o),
2667
+ "aria-label": mobileOpen ? "Close navigation menu" : "Open navigation menu",
2668
+ children: mobileOpen ? /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(XMarkIcon2, {}) : /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(BarsIcon, {})
2669
+ }
2670
+ )
2671
+ ] })
2672
+ ] }),
2673
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("div", { className: "navbar__drawer-clip", children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_framer_motion2.AnimatePresence, { children: mobileOpen && /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
2674
+ import_framer_motion2.motion.div,
2675
+ {
2676
+ className: "navbar__drawer",
2677
+ variants: drawerVariants,
2678
+ initial: "hidden",
2679
+ animate: "visible",
2680
+ exit: "hidden",
2681
+ transition: { duration: 0.3, ease: EASE_OUT_EXPO },
2682
+ "aria-modal": "true",
2683
+ role: "dialog",
2684
+ "aria-label": "Navigation menu",
2685
+ children: [
2686
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)("nav", { className: "navbar__drawer-nav", children: [
2687
+ navItems.map((item) => {
2688
+ if (item.dropdown) {
2689
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
2690
+ DrawerAccordion,
2691
+ {
2692
+ item,
2693
+ isOpen: mobileExpanded === item.label,
2694
+ onToggle: () => setMobileExpanded(
2695
+ (prev) => prev === item.label ? null : item.label
2696
+ )
2697
+ },
2698
+ item.label
2699
+ );
2700
+ }
2701
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
2702
+ "a",
2703
+ {
2704
+ href: item.href,
2705
+ className: "navbar__drawer-single",
2706
+ target: item.external ? "_blank" : void 0,
2707
+ rel: item.external ? "noopener noreferrer" : void 0,
2708
+ children: [
2709
+ item.label,
2710
+ item.external && /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(ArrowUpRightIcon, {})
2711
+ ]
2712
+ },
2713
+ item.label
2714
+ );
2715
+ }),
2716
+ languageLabel && /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)("button", { className: "navbar__drawer-lang", onClick: onLanguageClick, children: [
2717
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(GlobeIcon, { className: "navbar__lang-globe" }),
2718
+ languageLabel
2719
+ ] })
2720
+ ] }),
2721
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)("div", { className: "navbar__drawer-footer", children: [
2722
+ loginHref && /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("a", { href: loginHref, style: { display: "block" }, children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
2723
+ Button,
2724
+ {
2725
+ colorScheme: "black",
2726
+ variant: "secondary",
2727
+ label: loginLabel,
2728
+ fullWidth: true
2729
+ }
2730
+ ) }),
2731
+ ctaHref && /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("a", { href: ctaHref, style: { display: "block" }, children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
2732
+ Button,
2733
+ {
2734
+ colorScheme: "coral",
2735
+ variant: "primary",
2736
+ label: ctaLabel,
2737
+ fullWidth: true
2738
+ }
2739
+ ) })
2740
+ ] })
2741
+ ]
2742
+ }
2743
+ ) }) })
2744
+ ]
2745
+ }
2746
+ );
2747
+ };
2748
+
2749
+ // templates/DayNightTransition/DayNightTransition.tsx
2750
+ var import_react13 = require("react");
2751
+ var import_framer_motion3 = require("framer-motion");
2752
+ var import_jsx_runtime24 = require("react/jsx-runtime");
2308
2753
  var SPRING2 = { stiffness: 80, damping: 30, restDelta: 1e-3 };
2309
2754
  var FADE_START = 0.35;
2310
2755
  var FADE_END = 0.65;
@@ -2324,26 +2769,26 @@ var DayNightTransition = ({
2324
2769
  className,
2325
2770
  ...props
2326
2771
  }) => {
2327
- const wrapperRef = (0, import_react12.useRef)(null);
2328
- const { scrollYProgress } = (0, import_framer_motion2.useScroll)({
2772
+ const wrapperRef = (0, import_react13.useRef)(null);
2773
+ const { scrollYProgress } = (0, import_framer_motion3.useScroll)({
2329
2774
  target: wrapperRef,
2330
2775
  offset: ["start end", "end start"]
2331
2776
  });
2332
- const smooth = (0, import_framer_motion2.useSpring)(scrollYProgress, SPRING2);
2333
- const nightOpacity = (0, import_framer_motion2.useTransform)(smooth, [FADE_START, FADE_END], [0, 1]);
2334
- const channel = (0, import_framer_motion2.useTransform)(smooth, [FADE_START, FADE_END], [TEXT_CHANNEL_DAY, TEXT_CHANNEL_NIGHT]);
2335
- const textColor = import_framer_motion2.useMotionTemplate`rgb(${channel}, ${channel}, ${channel})`;
2336
- const dayOpacity = (0, import_framer_motion2.useTransform)(smooth, [WORD_START, WORD_END], [1, 0]);
2337
- const nightOpacity2 = (0, import_framer_motion2.useTransform)(smooth, [WORD_START, WORD_END], [0, 1]);
2777
+ const smooth = (0, import_framer_motion3.useSpring)(scrollYProgress, SPRING2);
2778
+ const nightOpacity = (0, import_framer_motion3.useTransform)(smooth, [FADE_START, FADE_END], [0, 1]);
2779
+ const channel = (0, import_framer_motion3.useTransform)(smooth, [FADE_START, FADE_END], [TEXT_CHANNEL_DAY, TEXT_CHANNEL_NIGHT]);
2780
+ const textColor = import_framer_motion3.useMotionTemplate`rgb(${channel}, ${channel}, ${channel})`;
2781
+ const dayOpacity = (0, import_framer_motion3.useTransform)(smooth, [WORD_START, WORD_END], [1, 0]);
2782
+ const nightOpacity2 = (0, import_framer_motion3.useTransform)(smooth, [WORD_START, WORD_END], [0, 1]);
2338
2783
  const hasDescription = Boolean(dayDescription || nightDescription);
2339
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
2784
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2340
2785
  "div",
2341
2786
  {
2342
2787
  ref: wrapperRef,
2343
2788
  className: ["dnt", className].filter(Boolean).join(" "),
2344
2789
  ...props,
2345
- children: /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)("div", { className: "dnt__sticky", children: [
2346
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
2790
+ children: /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("div", { className: "dnt__sticky", children: [
2791
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2347
2792
  "img",
2348
2793
  {
2349
2794
  className: "dnt__bg dnt__bg--day",
@@ -2353,8 +2798,8 @@ var DayNightTransition = ({
2353
2798
  draggable: false
2354
2799
  }
2355
2800
  ),
2356
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
2357
- import_framer_motion2.motion.img,
2801
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2802
+ import_framer_motion3.motion.img,
2358
2803
  {
2359
2804
  className: "dnt__bg dnt__bg--night",
2360
2805
  src: nightImageUrl,
@@ -2364,23 +2809,23 @@ var DayNightTransition = ({
2364
2809
  style: { opacity: nightOpacity }
2365
2810
  }
2366
2811
  ),
2367
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("div", { className: "dnt__content", children: /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
2368
- import_framer_motion2.motion.div,
2812
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", { className: "dnt__content", children: /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
2813
+ import_framer_motion3.motion.div,
2369
2814
  {
2370
2815
  className: "dnt__text-wrap",
2371
2816
  style: { color: textColor },
2372
2817
  children: [
2373
- /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)("div", { className: "dnt__crossfade-wrap", children: [
2374
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
2375
- import_framer_motion2.motion.h2,
2818
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("div", { className: "dnt__crossfade-wrap", children: [
2819
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2820
+ import_framer_motion3.motion.h2,
2376
2821
  {
2377
2822
  className: "dnt__headline",
2378
2823
  style: { opacity: dayOpacity },
2379
2824
  children: dayHeadline
2380
2825
  }
2381
2826
  ),
2382
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
2383
- import_framer_motion2.motion.h2,
2827
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2828
+ import_framer_motion3.motion.h2,
2384
2829
  {
2385
2830
  className: "dnt__headline",
2386
2831
  "aria-hidden": "true",
@@ -2389,17 +2834,17 @@ var DayNightTransition = ({
2389
2834
  }
2390
2835
  )
2391
2836
  ] }),
2392
- hasDescription && /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)("div", { className: "dnt__crossfade-wrap", children: [
2393
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
2394
- import_framer_motion2.motion.p,
2837
+ hasDescription && /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("div", { className: "dnt__crossfade-wrap", children: [
2838
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2839
+ import_framer_motion3.motion.p,
2395
2840
  {
2396
2841
  className: "dnt__description",
2397
2842
  style: { opacity: dayOpacity },
2398
2843
  children: dayDescription ?? ""
2399
2844
  }
2400
2845
  ),
2401
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
2402
- import_framer_motion2.motion.p,
2846
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2847
+ import_framer_motion3.motion.p,
2403
2848
  {
2404
2849
  className: "dnt__description",
2405
2850
  "aria-hidden": "true",
@@ -2408,7 +2853,7 @@ var DayNightTransition = ({
2408
2853
  }
2409
2854
  )
2410
2855
  ] }),
2411
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("a", { href: ctaHref, className: "dnt__btn", children: ctaLabel })
2856
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("a", { href: ctaHref, className: "dnt__btn", children: ctaLabel })
2412
2857
  ]
2413
2858
  }
2414
2859
  ) })
@@ -2418,9 +2863,9 @@ var DayNightTransition = ({
2418
2863
  };
2419
2864
 
2420
2865
  // templates/PaymentMethods/PaymentMethods.tsx
2421
- var import_react13 = require("react");
2422
- var import_framer_motion3 = require("framer-motion");
2423
- var import_jsx_runtime24 = require("react/jsx-runtime");
2866
+ var import_react14 = require("react");
2867
+ var import_framer_motion4 = require("framer-motion");
2868
+ var import_jsx_runtime25 = require("react/jsx-runtime");
2424
2869
  function modWrap(min, max, v) {
2425
2870
  const range = max - min;
2426
2871
  return ((v - min) % range + range) % range + min;
@@ -2473,13 +2918,13 @@ var PaymentMethods = ({
2473
2918
  className,
2474
2919
  ...props
2475
2920
  }) => {
2476
- const { scrollY } = (0, import_framer_motion3.useScroll)();
2477
- const scrollVelocity = (0, import_framer_motion3.useVelocity)(scrollY);
2478
- const col1Y = (0, import_framer_motion3.useMotionValue)(0);
2479
- const col2Y = (0, import_framer_motion3.useMotionValue)(0);
2480
- const col1Ref = (0, import_react13.useRef)(null);
2481
- const col2Ref = (0, import_react13.useRef)(null);
2482
- (0, import_framer_motion3.useAnimationFrame)((_, delta) => {
2921
+ const { scrollY } = (0, import_framer_motion4.useScroll)();
2922
+ const scrollVelocity = (0, import_framer_motion4.useVelocity)(scrollY);
2923
+ const col1Y = (0, import_framer_motion4.useMotionValue)(0);
2924
+ const col2Y = (0, import_framer_motion4.useMotionValue)(0);
2925
+ const col1Ref = (0, import_react14.useRef)(null);
2926
+ const col2Ref = (0, import_react14.useRef)(null);
2927
+ (0, import_framer_motion4.useAnimationFrame)((_, delta) => {
2483
2928
  const raw = scrollVelocity.get();
2484
2929
  if (Math.abs(raw) < DEADZONE) return;
2485
2930
  const clamped = Math.sign(raw) * Math.min(Math.abs(raw), MAX_SCROLL_V);
@@ -2491,21 +2936,21 @@ var PaymentMethods = ({
2491
2936
  });
2492
2937
  const track1 = [...col1Logos, ...col1Logos];
2493
2938
  const track2 = [...col2Logos, ...col2Logos];
2494
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2939
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2495
2940
  "section",
2496
2941
  {
2497
2942
  className: ["pm", className].filter(Boolean).join(" "),
2498
2943
  ...props,
2499
- children: /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("div", { className: "pm__inner", children: [
2500
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", { className: "pm__media", children: /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("div", { className: "pm__carousel", children: [
2501
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", { className: "pm__fade pm__fade--top", "aria-hidden": "true" }),
2502
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2503
- import_framer_motion3.motion.div,
2944
+ children: /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("div", { className: "pm__inner", children: [
2945
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: "pm__media", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("div", { className: "pm__carousel", children: [
2946
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: "pm__fade pm__fade--top", "aria-hidden": "true" }),
2947
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2948
+ import_framer_motion4.motion.div,
2504
2949
  {
2505
2950
  ref: col1Ref,
2506
2951
  className: "pm__col",
2507
2952
  style: { y: col1Y },
2508
- children: track1.map((logo, i) => /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", { className: "pm__card", children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", { className: "pm__card-img-wrap", children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2953
+ children: track1.map((logo, i) => /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: "pm__card", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: "pm__card-img-wrap", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2509
2954
  "img",
2510
2955
  {
2511
2956
  src: logo.url,
@@ -2516,13 +2961,13 @@ var PaymentMethods = ({
2516
2961
  ) }) }, `c1-${i}`))
2517
2962
  }
2518
2963
  ),
2519
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2520
- import_framer_motion3.motion.div,
2964
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2965
+ import_framer_motion4.motion.div,
2521
2966
  {
2522
2967
  ref: col2Ref,
2523
2968
  className: "pm__col",
2524
2969
  style: { y: col2Y },
2525
- children: track2.map((logo, i) => /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", { className: "pm__card", children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", { className: "pm__card-img-wrap", children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2970
+ children: track2.map((logo, i) => /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: "pm__card", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: "pm__card-img-wrap", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2526
2971
  "img",
2527
2972
  {
2528
2973
  src: logo.url,
@@ -2533,17 +2978,17 @@ var PaymentMethods = ({
2533
2978
  ) }) }, `c2-${i}`))
2534
2979
  }
2535
2980
  ),
2536
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", { className: "pm__fade pm__fade--bottom", "aria-hidden": "true" })
2981
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: "pm__fade pm__fade--bottom", "aria-hidden": "true" })
2537
2982
  ] }) }),
2538
- /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("div", { className: "pm__content", children: [
2539
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("h2", { className: "pm__headline", children: headline }),
2540
- /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("div", { className: "pm__text-group", children: [
2541
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("p", { className: "pm__body", children: body }),
2542
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("p", { className: "pm__disclaimer", children: disclaimer })
2983
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("div", { className: "pm__content", children: [
2984
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("h2", { className: "pm__headline", children: headline }),
2985
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("div", { className: "pm__text-group", children: [
2986
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("p", { className: "pm__body", children: body }),
2987
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("p", { className: "pm__disclaimer", children: disclaimer })
2543
2988
  ] }),
2544
- /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("a", { href: ctaHref, className: "pm__link", children: [
2989
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("a", { href: ctaHref, className: "pm__link", children: [
2545
2990
  ctaLabel,
2546
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("span", { "aria-hidden": "true", children: "\u2192" })
2991
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { "aria-hidden": "true", children: "\u2192" })
2547
2992
  ] })
2548
2993
  ] })
2549
2994
  ] })
@@ -2568,6 +3013,7 @@ var PaymentMethods = ({
2568
3013
  Footer,
2569
3014
  Hero,
2570
3015
  Link,
3016
+ Navbar,
2571
3017
  Pagination,
2572
3018
  PaymentMethods,
2573
3019
  SCROLLYTELLING_DATA,