@deriv-web-design/ui 0.0.17 → 0.0.19
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 +1216 -129
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +174 -2
- package/dist/index.d.ts +174 -2
- package/dist/index.js +1076 -366
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1070 -365
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -36,11 +36,13 @@ __export(index_exports, {
|
|
|
36
36
|
DownloadBadge: () => DownloadBadge,
|
|
37
37
|
DownloadBanner: () => DownloadBanner,
|
|
38
38
|
FEATURE_SCROLL_DATA: () => FEATURE_SCROLL_DATA,
|
|
39
|
+
FeatureBullets: () => FeatureBullets,
|
|
39
40
|
FeatureCards: () => FeatureCards,
|
|
40
41
|
FeatureCardsSecondary: () => FeatureCardsSecondary,
|
|
41
42
|
FeatureScroll: () => FeatureScroll,
|
|
42
43
|
Footer: () => Footer,
|
|
43
44
|
Hero: () => Hero,
|
|
45
|
+
Leaders: () => Leaders,
|
|
44
46
|
Link: () => Link,
|
|
45
47
|
LogoMarquee: () => LogoMarquee,
|
|
46
48
|
Navbar: () => Navbar,
|
|
@@ -49,8 +51,11 @@ __export(index_exports, {
|
|
|
49
51
|
SearchField: () => SearchField,
|
|
50
52
|
Stats: () => Stats,
|
|
51
53
|
Steps: () => Steps,
|
|
54
|
+
StickyMarketCards: () => StickyMarketCards,
|
|
52
55
|
StickyStackedCards: () => StickyStackedCards,
|
|
53
56
|
TEXT_CONTENT: () => TEXT_CONTENT,
|
|
57
|
+
Table: () => Table,
|
|
58
|
+
Tabs: () => Tabs,
|
|
54
59
|
Tag: () => Tag,
|
|
55
60
|
TextField: () => TextField,
|
|
56
61
|
TextScroll: () => TextScroll,
|
|
@@ -1048,8 +1053,46 @@ var Pagination = ({
|
|
|
1048
1053
|
);
|
|
1049
1054
|
};
|
|
1050
1055
|
|
|
1051
|
-
//
|
|
1056
|
+
// primitives/Tabs/Tabs.tsx
|
|
1052
1057
|
var import_jsx_runtime16 = require("react/jsx-runtime");
|
|
1058
|
+
var Tabs = ({
|
|
1059
|
+
items,
|
|
1060
|
+
activeId,
|
|
1061
|
+
onChange,
|
|
1062
|
+
className,
|
|
1063
|
+
...props
|
|
1064
|
+
}) => {
|
|
1065
|
+
return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
1066
|
+
"div",
|
|
1067
|
+
{
|
|
1068
|
+
className: ["tabs-menu w-tab-menu", className].filter(Boolean).join(" "),
|
|
1069
|
+
role: "tablist",
|
|
1070
|
+
...props,
|
|
1071
|
+
children: items.map((item, i) => {
|
|
1072
|
+
const isActive = item.id === activeId;
|
|
1073
|
+
return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
1074
|
+
Chip,
|
|
1075
|
+
{
|
|
1076
|
+
label: item.label,
|
|
1077
|
+
selected: isActive,
|
|
1078
|
+
onClick: () => onChange(item.id),
|
|
1079
|
+
className: isActive ? "tab-active" : "",
|
|
1080
|
+
"data-w-tab": item.label,
|
|
1081
|
+
id: `w-tabs-0-data-w-tab-${i}`,
|
|
1082
|
+
"aria-controls": `w-tabs-0-data-w-pane-${i}`,
|
|
1083
|
+
"aria-selected": isActive,
|
|
1084
|
+
tabIndex: isActive ? 0 : -1,
|
|
1085
|
+
role: "tab"
|
|
1086
|
+
},
|
|
1087
|
+
item.id
|
|
1088
|
+
);
|
|
1089
|
+
})
|
|
1090
|
+
}
|
|
1091
|
+
);
|
|
1092
|
+
};
|
|
1093
|
+
|
|
1094
|
+
// templates/FeatureCards/FeatureCards.tsx
|
|
1095
|
+
var import_jsx_runtime17 = require("react/jsx-runtime");
|
|
1053
1096
|
var FeatureCards = ({
|
|
1054
1097
|
sectionTitle,
|
|
1055
1098
|
sectionDescription,
|
|
@@ -1059,11 +1102,11 @@ var FeatureCards = ({
|
|
|
1059
1102
|
cardColorScheme = "image",
|
|
1060
1103
|
cards
|
|
1061
1104
|
}) => {
|
|
1062
|
-
return /* @__PURE__ */ (0,
|
|
1063
|
-
/* @__PURE__ */ (0,
|
|
1064
|
-
/* @__PURE__ */ (0,
|
|
1065
|
-
sectionDescription && /* @__PURE__ */ (0,
|
|
1066
|
-
showLink && /* @__PURE__ */ (0,
|
|
1105
|
+
return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("section", { className: "fc-section", children: /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { className: "fc-container", children: [
|
|
1106
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { className: "fc-header", children: [
|
|
1107
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("h2", { className: "fc-sectionTitle", children: sectionTitle }),
|
|
1108
|
+
sectionDescription && /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("p", { className: "fc-sectionDescription", children: sectionDescription }),
|
|
1109
|
+
showLink && /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
1067
1110
|
Link,
|
|
1068
1111
|
{
|
|
1069
1112
|
colorScheme: "coral",
|
|
@@ -1072,7 +1115,7 @@ var FeatureCards = ({
|
|
|
1072
1115
|
}
|
|
1073
1116
|
)
|
|
1074
1117
|
] }),
|
|
1075
|
-
/* @__PURE__ */ (0,
|
|
1118
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "fc-grid", children: cards.map((card, index) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
1076
1119
|
Card,
|
|
1077
1120
|
{
|
|
1078
1121
|
variant: "primary",
|
|
@@ -1091,8 +1134,135 @@ var FeatureCards = ({
|
|
|
1091
1134
|
};
|
|
1092
1135
|
|
|
1093
1136
|
// templates/FeatureCardsSecondary/FeatureCardsSecondary.tsx
|
|
1094
|
-
var
|
|
1137
|
+
var import_jsx_runtime18 = require("react/jsx-runtime");
|
|
1138
|
+
var externalLinkRel = (href) => href && /^https?:\/\//i.test(href) ? "noopener noreferrer" : void 0;
|
|
1139
|
+
var TwoCardsItem = ({ card, index }) => {
|
|
1140
|
+
const isDark = card.colorScheme === "dark";
|
|
1141
|
+
const showCardLink = card.showLink !== false;
|
|
1142
|
+
return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "fcs-twoCardWrap", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
|
|
1143
|
+
"div",
|
|
1144
|
+
{
|
|
1145
|
+
className: [
|
|
1146
|
+
"fcs-twoCard",
|
|
1147
|
+
isDark ? "fcs-twoCard--dark" : "fcs-twoCard--light"
|
|
1148
|
+
].join(" "),
|
|
1149
|
+
children: [
|
|
1150
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "fcs-twoCard-body", children: [
|
|
1151
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "fcs-twoCard-content", children: [
|
|
1152
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("h3", { className: "fcs-twoCard-title", children: card.title }),
|
|
1153
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("p", { className: "fcs-twoCard-description", children: card.description }),
|
|
1154
|
+
showCardLink && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "fcs-twoCard-linkWrap", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
1155
|
+
Link,
|
|
1156
|
+
{
|
|
1157
|
+
colorScheme: "coral",
|
|
1158
|
+
href: card.linkHref,
|
|
1159
|
+
label: card.linkText ?? "Learn more",
|
|
1160
|
+
rel: externalLinkRel(card.linkHref),
|
|
1161
|
+
onClick: card.onLinkClick
|
|
1162
|
+
}
|
|
1163
|
+
) })
|
|
1164
|
+
] }),
|
|
1165
|
+
card.platforms && card.platforms.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "fcs-twoCard-platformsOuter", children: [
|
|
1166
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("h3", { className: "fcs-twoCard-platformsHeading", children: card.platformsHeading ?? "Available on" }),
|
|
1167
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "fcs-twoCard-platformRow", children: card.platforms.map((platform, i) => /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
|
|
1168
|
+
"a",
|
|
1169
|
+
{
|
|
1170
|
+
className: [
|
|
1171
|
+
"fcs-platformLink",
|
|
1172
|
+
isDark ? "fcs-platformLink--dark" : ""
|
|
1173
|
+
].filter(Boolean).join(" "),
|
|
1174
|
+
href: platform.href,
|
|
1175
|
+
rel: externalLinkRel(platform.href),
|
|
1176
|
+
children: [
|
|
1177
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
1178
|
+
"img",
|
|
1179
|
+
{
|
|
1180
|
+
alt: "",
|
|
1181
|
+
className: "fcs-platformLink-icon",
|
|
1182
|
+
height: 32,
|
|
1183
|
+
src: platform.iconSrc,
|
|
1184
|
+
width: 32
|
|
1185
|
+
}
|
|
1186
|
+
),
|
|
1187
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { className: "fcs-platformLink-label", children: platform.label })
|
|
1188
|
+
]
|
|
1189
|
+
},
|
|
1190
|
+
`${platform.label}-${i}`
|
|
1191
|
+
)) })
|
|
1192
|
+
] })
|
|
1193
|
+
] }),
|
|
1194
|
+
card.image && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "fcs-twoCard-imageSection", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
1195
|
+
"img",
|
|
1196
|
+
{
|
|
1197
|
+
alt: card.imageAlt ?? "",
|
|
1198
|
+
className: "fcs-twoCard-image",
|
|
1199
|
+
decoding: "async",
|
|
1200
|
+
loading: index === 0 ? "eager" : "lazy",
|
|
1201
|
+
src: card.image
|
|
1202
|
+
}
|
|
1203
|
+
) })
|
|
1204
|
+
]
|
|
1205
|
+
}
|
|
1206
|
+
) });
|
|
1207
|
+
};
|
|
1208
|
+
var OneCardPanel = ({ card }) => {
|
|
1209
|
+
const showCardLink = card.showLink !== false;
|
|
1210
|
+
return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "fcs-oneCardShell", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "fcs-oneCardGrid fcs-twoCard--dark", children: [
|
|
1211
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "fcs-oneCardLeft", children: [
|
|
1212
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "fcs-oneCardContentBlock", children: [
|
|
1213
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("h3", { className: "fcs-twoCard-title", children: card.title }),
|
|
1214
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("p", { className: "fcs-twoCard-description", children: card.description }),
|
|
1215
|
+
showCardLink && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "fcs-twoCard-linkWrap", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
1216
|
+
Link,
|
|
1217
|
+
{
|
|
1218
|
+
colorScheme: "coral",
|
|
1219
|
+
href: card.linkHref,
|
|
1220
|
+
label: card.linkText ?? "Learn more",
|
|
1221
|
+
rel: externalLinkRel(card.linkHref),
|
|
1222
|
+
onClick: card.onLinkClick
|
|
1223
|
+
}
|
|
1224
|
+
) })
|
|
1225
|
+
] }),
|
|
1226
|
+
card.platforms && card.platforms.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "fcs-twoCard-platformsOuter", children: [
|
|
1227
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("h3", { className: "fcs-twoCard-platformsHeading", children: card.platformsHeading ?? "Available on" }),
|
|
1228
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "fcs-twoCard-platformRow", children: card.platforms.map((platform, i) => /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
|
|
1229
|
+
"a",
|
|
1230
|
+
{
|
|
1231
|
+
className: "fcs-platformLink fcs-platformLink--dark",
|
|
1232
|
+
href: platform.href,
|
|
1233
|
+
rel: externalLinkRel(platform.href),
|
|
1234
|
+
children: [
|
|
1235
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
1236
|
+
"img",
|
|
1237
|
+
{
|
|
1238
|
+
alt: "",
|
|
1239
|
+
className: "fcs-platformLink-icon",
|
|
1240
|
+
height: 32,
|
|
1241
|
+
src: platform.iconSrc,
|
|
1242
|
+
width: 32
|
|
1243
|
+
}
|
|
1244
|
+
),
|
|
1245
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { className: "fcs-platformLink-label", children: platform.label })
|
|
1246
|
+
]
|
|
1247
|
+
},
|
|
1248
|
+
`${platform.label}-${i}`
|
|
1249
|
+
)) })
|
|
1250
|
+
] })
|
|
1251
|
+
] }),
|
|
1252
|
+
card.image && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "fcs-oneCardRight", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
1253
|
+
"img",
|
|
1254
|
+
{
|
|
1255
|
+
alt: card.imageAlt ?? "",
|
|
1256
|
+
className: "fcs-oneCardImage",
|
|
1257
|
+
decoding: "async",
|
|
1258
|
+
loading: "eager",
|
|
1259
|
+
src: card.image
|
|
1260
|
+
}
|
|
1261
|
+
) })
|
|
1262
|
+
] }) });
|
|
1263
|
+
};
|
|
1095
1264
|
var FeatureCardsSecondary = ({
|
|
1265
|
+
variant = "default",
|
|
1096
1266
|
sectionTitle,
|
|
1097
1267
|
sectionDescription,
|
|
1098
1268
|
showLink = false,
|
|
@@ -1100,20 +1270,37 @@ var FeatureCardsSecondary = ({
|
|
|
1100
1270
|
onLinkClick,
|
|
1101
1271
|
cards
|
|
1102
1272
|
}) => {
|
|
1103
|
-
|
|
1104
|
-
/* @__PURE__ */ (0,
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1273
|
+
const sectionHeader = /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "fcs-header", children: [
|
|
1274
|
+
sectionTitle && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("h2", { className: "fcs-sectionTitle", children: sectionTitle }),
|
|
1275
|
+
sectionDescription && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("p", { className: "fcs-sectionDescription", children: sectionDescription }),
|
|
1276
|
+
showLink && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Link, { colorScheme: "coral", label: linkText, onClick: onLinkClick })
|
|
1277
|
+
] });
|
|
1278
|
+
if (variant === "twoCards") {
|
|
1279
|
+
return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("section", { className: "fcs-section", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "fcs-container", children: [
|
|
1280
|
+
sectionHeader,
|
|
1281
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "fcs-grid fcs-grid--twoCards", children: cards.map((card, index) => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
1282
|
+
TwoCardsItem,
|
|
1109
1283
|
{
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
}
|
|
1114
|
-
)
|
|
1115
|
-
] })
|
|
1116
|
-
|
|
1284
|
+
card,
|
|
1285
|
+
index
|
|
1286
|
+
},
|
|
1287
|
+
`${card.title}-${index}`
|
|
1288
|
+
)) })
|
|
1289
|
+
] }) });
|
|
1290
|
+
}
|
|
1291
|
+
if (variant === "oneCard") {
|
|
1292
|
+
const card = cards[0];
|
|
1293
|
+
if (!card) {
|
|
1294
|
+
return null;
|
|
1295
|
+
}
|
|
1296
|
+
return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("section", { className: "fcs-section", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "fcs-container", children: [
|
|
1297
|
+
sectionHeader,
|
|
1298
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)(OneCardPanel, { card })
|
|
1299
|
+
] }) });
|
|
1300
|
+
}
|
|
1301
|
+
return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("section", { className: "fcs-section", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "fcs-container", children: [
|
|
1302
|
+
sectionHeader,
|
|
1303
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: `fcs-grid fcs-grid--${cards.length === 4 ? "4" : "3"}`, children: cards.map((card, index) => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
1117
1304
|
Card,
|
|
1118
1305
|
{
|
|
1119
1306
|
variant: "secondary",
|
|
@@ -1130,10 +1317,51 @@ var FeatureCardsSecondary = ({
|
|
|
1130
1317
|
] }) });
|
|
1131
1318
|
};
|
|
1132
1319
|
|
|
1320
|
+
// templates/FeatureBullets/FeatureBullets.module.css
|
|
1321
|
+
var FeatureBullets_default = {};
|
|
1322
|
+
|
|
1323
|
+
// templates/FeatureBullets/FeatureBullets.tsx
|
|
1324
|
+
var import_jsx_runtime19 = require("react/jsx-runtime");
|
|
1325
|
+
var CheckIcon2 = () => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": "true", className: FeatureBullets_default.icon, children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("path", { d: "M12 4.375C9.07031 4.375 6.41406 5.9375 4.92969 8.4375C3.48438 10.9766 3.48438 14.0625 4.92969 16.5625C6.41406 19.1016 9.07031 20.625 12 20.625C14.8906 20.625 17.5469 19.1016 19.0312 16.5625C20.4766 14.0625 20.4766 10.9766 19.0312 8.4375C17.5469 5.9375 14.8906 4.375 12 4.375ZM12 22.5C8.40625 22.5 5.125 20.625 3.32812 17.5C1.53125 14.4141 1.53125 10.625 3.32812 7.5C5.125 4.41406 8.40625 2.5 12 2.5C15.5547 2.5 18.8359 4.41406 20.6328 7.5C22.4297 10.625 22.4297 14.4141 20.6328 17.5C18.8359 20.625 15.5547 22.5 12 22.5ZM16.4141 10.6641L11.4141 15.6641C11.0234 16.0547 10.4375 16.0547 10.0859 15.6641L7.58594 13.1641C7.19531 12.8125 7.19531 12.2266 7.58594 11.875C7.9375 11.4844 8.52344 11.4844 8.91406 11.875L10.75 13.7109L15.0859 9.375C15.4375 8.98438 16.0234 8.98438 16.4141 9.375C16.7656 9.72656 16.7656 10.3125 16.4141 10.6641Z", fill: "currentColor" }) });
|
|
1326
|
+
var FeatureBullets = ({
|
|
1327
|
+
title,
|
|
1328
|
+
bullets,
|
|
1329
|
+
image,
|
|
1330
|
+
imageAlt = "",
|
|
1331
|
+
imagePosition = "right"
|
|
1332
|
+
}) => {
|
|
1333
|
+
return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("section", { className: FeatureBullets_default.section, children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: FeatureBullets_default.container, children: /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(
|
|
1334
|
+
"div",
|
|
1335
|
+
{
|
|
1336
|
+
className: [
|
|
1337
|
+
FeatureBullets_default.split,
|
|
1338
|
+
imagePosition === "left" ? FeatureBullets_default["split--image-left"] : ""
|
|
1339
|
+
].filter(Boolean).join(" "),
|
|
1340
|
+
children: [
|
|
1341
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("div", { className: FeatureBullets_default.content, children: [
|
|
1342
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)("h2", { className: FeatureBullets_default.title, children: title }),
|
|
1343
|
+
bullets && bullets.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: FeatureBullets_default.bulletList, children: bullets.map((bullet, i) => /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("div", { className: FeatureBullets_default.bulletItem, children: [
|
|
1344
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: FeatureBullets_default.iconWrapper, children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(CheckIcon2, {}) }),
|
|
1345
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)("p", { className: FeatureBullets_default.bulletText, children: bullet })
|
|
1346
|
+
] }, i)) })
|
|
1347
|
+
] }),
|
|
1348
|
+
image && /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: FeatureBullets_default.imageWrapper, children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
1349
|
+
"img",
|
|
1350
|
+
{
|
|
1351
|
+
alt: imageAlt,
|
|
1352
|
+
className: FeatureBullets_default.image,
|
|
1353
|
+
src: image
|
|
1354
|
+
}
|
|
1355
|
+
) })
|
|
1356
|
+
]
|
|
1357
|
+
}
|
|
1358
|
+
) }) });
|
|
1359
|
+
};
|
|
1360
|
+
|
|
1133
1361
|
// components/Footer/Footer.tsx
|
|
1134
1362
|
var import_react7 = require("react");
|
|
1135
|
-
var
|
|
1136
|
-
var ExternalLinkIcon = () => /* @__PURE__ */ (0,
|
|
1363
|
+
var import_jsx_runtime20 = require("react/jsx-runtime");
|
|
1364
|
+
var ExternalLinkIcon = () => /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
1137
1365
|
"svg",
|
|
1138
1366
|
{
|
|
1139
1367
|
width: "12",
|
|
@@ -1142,7 +1370,7 @@ var ExternalLinkIcon = () => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
|
1142
1370
|
fill: "none",
|
|
1143
1371
|
"aria-hidden": "true",
|
|
1144
1372
|
focusable: "false",
|
|
1145
|
-
children: /* @__PURE__ */ (0,
|
|
1373
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
1146
1374
|
"path",
|
|
1147
1375
|
{
|
|
1148
1376
|
d: "M2 2H10M10 2V10M10 2L2 10",
|
|
@@ -1154,7 +1382,7 @@ var ExternalLinkIcon = () => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
|
1154
1382
|
)
|
|
1155
1383
|
}
|
|
1156
1384
|
);
|
|
1157
|
-
var ChevronDownIcon2 = () => /* @__PURE__ */ (0,
|
|
1385
|
+
var ChevronDownIcon2 = () => /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
1158
1386
|
"svg",
|
|
1159
1387
|
{
|
|
1160
1388
|
width: "12",
|
|
@@ -1163,7 +1391,7 @@ var ChevronDownIcon2 = () => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
|
1163
1391
|
fill: "none",
|
|
1164
1392
|
"aria-hidden": "true",
|
|
1165
1393
|
focusable: "false",
|
|
1166
|
-
children: /* @__PURE__ */ (0,
|
|
1394
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
1167
1395
|
"path",
|
|
1168
1396
|
{
|
|
1169
1397
|
d: "M2 4L6 8L10 4",
|
|
@@ -1180,9 +1408,9 @@ var DerivGoBadges = ({
|
|
|
1180
1408
|
appStoreBadge,
|
|
1181
1409
|
huaweiBadge,
|
|
1182
1410
|
availabilityNote
|
|
1183
|
-
}) => /* @__PURE__ */ (0,
|
|
1184
|
-
/* @__PURE__ */ (0,
|
|
1185
|
-
googlePlayBadge && /* @__PURE__ */ (0,
|
|
1411
|
+
}) => /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(import_jsx_runtime20.Fragment, { children: [
|
|
1412
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: "footer__app-badges", children: [
|
|
1413
|
+
googlePlayBadge && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
1186
1414
|
"a",
|
|
1187
1415
|
{
|
|
1188
1416
|
href: googlePlayBadge.href,
|
|
@@ -1190,10 +1418,10 @@ var DerivGoBadges = ({
|
|
|
1190
1418
|
"aria-label": googlePlayBadge.imageAlt,
|
|
1191
1419
|
target: "_blank",
|
|
1192
1420
|
rel: "noopener noreferrer",
|
|
1193
|
-
children: googlePlayBadge.icon ?? /* @__PURE__ */ (0,
|
|
1421
|
+
children: googlePlayBadge.icon ?? /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("img", { src: googlePlayBadge.imageSrc, alt: googlePlayBadge.imageAlt })
|
|
1194
1422
|
}
|
|
1195
1423
|
),
|
|
1196
|
-
appStoreBadge && /* @__PURE__ */ (0,
|
|
1424
|
+
appStoreBadge && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
1197
1425
|
"a",
|
|
1198
1426
|
{
|
|
1199
1427
|
href: appStoreBadge.href,
|
|
@@ -1201,10 +1429,10 @@ var DerivGoBadges = ({
|
|
|
1201
1429
|
"aria-label": appStoreBadge.imageAlt,
|
|
1202
1430
|
target: "_blank",
|
|
1203
1431
|
rel: "noopener noreferrer",
|
|
1204
|
-
children: appStoreBadge.icon ?? /* @__PURE__ */ (0,
|
|
1432
|
+
children: appStoreBadge.icon ?? /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("img", { src: appStoreBadge.imageSrc, alt: appStoreBadge.imageAlt })
|
|
1205
1433
|
}
|
|
1206
1434
|
),
|
|
1207
|
-
huaweiBadge && /* @__PURE__ */ (0,
|
|
1435
|
+
huaweiBadge && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
1208
1436
|
"a",
|
|
1209
1437
|
{
|
|
1210
1438
|
href: huaweiBadge.href,
|
|
@@ -1212,13 +1440,13 @@ var DerivGoBadges = ({
|
|
|
1212
1440
|
"aria-label": huaweiBadge.imageAlt,
|
|
1213
1441
|
target: "_blank",
|
|
1214
1442
|
rel: "noopener noreferrer",
|
|
1215
|
-
children: huaweiBadge.icon ?? /* @__PURE__ */ (0,
|
|
1443
|
+
children: huaweiBadge.icon ?? /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("img", { src: huaweiBadge.imageSrc, alt: huaweiBadge.imageAlt })
|
|
1216
1444
|
}
|
|
1217
1445
|
)
|
|
1218
1446
|
] }),
|
|
1219
|
-
availabilityNote && /* @__PURE__ */ (0,
|
|
1447
|
+
availabilityNote && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("p", { className: "footer__app-note", children: availabilityNote })
|
|
1220
1448
|
] });
|
|
1221
|
-
var NavLink = ({ label, href, isExternal, onClick }) => /* @__PURE__ */ (0,
|
|
1449
|
+
var NavLink = ({ label, href, isExternal, onClick }) => /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
|
|
1222
1450
|
"a",
|
|
1223
1451
|
{
|
|
1224
1452
|
href,
|
|
@@ -1227,7 +1455,7 @@ var NavLink = ({ label, href, isExternal, onClick }) => /* @__PURE__ */ (0, impo
|
|
|
1227
1455
|
...isExternal ? { target: "_blank", rel: "noopener noreferrer" } : {},
|
|
1228
1456
|
children: [
|
|
1229
1457
|
label,
|
|
1230
|
-
isExternal && /* @__PURE__ */ (0,
|
|
1458
|
+
isExternal && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(ExternalLinkIcon, {})
|
|
1231
1459
|
]
|
|
1232
1460
|
}
|
|
1233
1461
|
);
|
|
@@ -1259,14 +1487,14 @@ var Footer = ({
|
|
|
1259
1487
|
});
|
|
1260
1488
|
};
|
|
1261
1489
|
const aiLabel = aiSummary?.label ?? "Ask AI for a summary of Deriv";
|
|
1262
|
-
return /* @__PURE__ */ (0,
|
|
1490
|
+
return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
1263
1491
|
"footer",
|
|
1264
1492
|
{
|
|
1265
1493
|
className: ["footer", className].filter(Boolean).join(" "),
|
|
1266
1494
|
...props,
|
|
1267
|
-
children: /* @__PURE__ */ (0,
|
|
1268
|
-
/* @__PURE__ */ (0,
|
|
1269
|
-
/* @__PURE__ */ (0,
|
|
1495
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: "footer__inner", children: [
|
|
1496
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: "footer__header", children: [
|
|
1497
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "footer__logo-wrapper", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
1270
1498
|
"img",
|
|
1271
1499
|
{
|
|
1272
1500
|
src: logoSrc,
|
|
@@ -1274,21 +1502,21 @@ var Footer = ({
|
|
|
1274
1502
|
className: "footer__logo"
|
|
1275
1503
|
}
|
|
1276
1504
|
) }),
|
|
1277
|
-
aiSummary && /* @__PURE__ */ (0,
|
|
1278
|
-
/* @__PURE__ */ (0,
|
|
1279
|
-
/* @__PURE__ */ (0,
|
|
1505
|
+
aiSummary && /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: "footer__ai-bar footer__ai-bar--inline", children: [
|
|
1506
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("span", { className: "footer__ai-bar-label", children: aiLabel }),
|
|
1507
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "footer__ai-bar-icons", children: aiSummary.items.map((item, i) => /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
1280
1508
|
"a",
|
|
1281
1509
|
{
|
|
1282
1510
|
href: item.href,
|
|
1283
1511
|
"aria-label": item.imageAlt,
|
|
1284
1512
|
target: "_blank",
|
|
1285
1513
|
rel: "noopener noreferrer",
|
|
1286
|
-
children: /* @__PURE__ */ (0,
|
|
1514
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("img", { className: "footer__ai-icon", src: item.imageSrc, alt: item.imageAlt })
|
|
1287
1515
|
},
|
|
1288
1516
|
i
|
|
1289
1517
|
)) })
|
|
1290
1518
|
] }),
|
|
1291
|
-
/* @__PURE__ */ (0,
|
|
1519
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "footer__social footer__social--in-header", children: socialLinks.map((link, i) => /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
1292
1520
|
"a",
|
|
1293
1521
|
{
|
|
1294
1522
|
href: link.href,
|
|
@@ -1301,27 +1529,27 @@ var Footer = ({
|
|
|
1301
1529
|
i
|
|
1302
1530
|
)) })
|
|
1303
1531
|
] }),
|
|
1304
|
-
aiSummary && /* @__PURE__ */ (0,
|
|
1305
|
-
/* @__PURE__ */ (0,
|
|
1306
|
-
/* @__PURE__ */ (0,
|
|
1532
|
+
aiSummary && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "footer__ai-section", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: "footer__ai-bar footer__ai-bar--block", children: [
|
|
1533
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("span", { className: "footer__ai-bar-label", children: aiLabel }),
|
|
1534
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "footer__ai-bar-icons", children: aiSummary.items.map((item, i) => /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
1307
1535
|
"a",
|
|
1308
1536
|
{
|
|
1309
1537
|
href: item.href,
|
|
1310
1538
|
"aria-label": item.imageAlt,
|
|
1311
1539
|
target: "_blank",
|
|
1312
1540
|
rel: "noopener noreferrer",
|
|
1313
|
-
children: /* @__PURE__ */ (0,
|
|
1541
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("img", { className: "footer__ai-icon", src: item.imageSrc, alt: item.imageAlt })
|
|
1314
1542
|
},
|
|
1315
1543
|
i
|
|
1316
1544
|
)) })
|
|
1317
1545
|
] }) }),
|
|
1318
|
-
/* @__PURE__ */ (0,
|
|
1319
|
-
navColumns.map((column, colIdx) => /* @__PURE__ */ (0,
|
|
1320
|
-
/* @__PURE__ */ (0,
|
|
1321
|
-
/* @__PURE__ */ (0,
|
|
1546
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: "footer__nav footer__nav--columns", children: [
|
|
1547
|
+
navColumns.map((column, colIdx) => /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "footer__column", children: column.map((section, secIdx) => /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: "footer__nav-section", children: [
|
|
1548
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("p", { className: "footer__nav-title", children: section.title }),
|
|
1549
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("ul", { className: "footer__nav-links", children: section.links.map((link, linkIdx) => /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(NavLink, { ...link }) }, linkIdx)) })
|
|
1322
1550
|
] }, secIdx)) }, colIdx)),
|
|
1323
|
-
/* @__PURE__ */ (0,
|
|
1324
|
-
investorsInPeopleSrc && /* @__PURE__ */ (0,
|
|
1551
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: "footer__sidebar", children: [
|
|
1552
|
+
investorsInPeopleSrc && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "footer__investors-card", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
1325
1553
|
"img",
|
|
1326
1554
|
{
|
|
1327
1555
|
src: investorsInPeopleSrc,
|
|
@@ -1329,9 +1557,9 @@ var Footer = ({
|
|
|
1329
1557
|
className: "footer__investors-img"
|
|
1330
1558
|
}
|
|
1331
1559
|
) }),
|
|
1332
|
-
derivGo && /* @__PURE__ */ (0,
|
|
1333
|
-
/* @__PURE__ */ (0,
|
|
1334
|
-
/* @__PURE__ */ (0,
|
|
1560
|
+
derivGo && /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: "footer__deriv-go-card", children: [
|
|
1561
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: "footer__deriv-go-header", children: [
|
|
1562
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
1335
1563
|
"img",
|
|
1336
1564
|
{
|
|
1337
1565
|
src: derivGo.logoSrc,
|
|
@@ -1339,11 +1567,11 @@ var Footer = ({
|
|
|
1339
1567
|
className: "footer__deriv-go-logo"
|
|
1340
1568
|
}
|
|
1341
1569
|
),
|
|
1342
|
-
/* @__PURE__ */ (0,
|
|
1570
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("span", { className: "footer__deriv-go-title", children: derivGo.title ?? "Deriv GO" })
|
|
1343
1571
|
] }),
|
|
1344
|
-
/* @__PURE__ */ (0,
|
|
1345
|
-
(derivGo.qrCodeSrc || derivGo.qrCodeIcon) && /* @__PURE__ */ (0,
|
|
1346
|
-
derivGo.qrCodeIcon ? /* @__PURE__ */ (0,
|
|
1572
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("p", { className: "footer__deriv-go-desc", children: derivGo.description ?? "Trade multipliers on our mobile app." }),
|
|
1573
|
+
(derivGo.qrCodeSrc || derivGo.qrCodeIcon) && /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: "footer__deriv-go-qr", children: [
|
|
1574
|
+
derivGo.qrCodeIcon ? /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "footer__deriv-go-qr-icon", children: derivGo.qrCodeIcon }) : /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
1347
1575
|
"img",
|
|
1348
1576
|
{
|
|
1349
1577
|
src: derivGo.qrCodeSrc,
|
|
@@ -1351,9 +1579,9 @@ var Footer = ({
|
|
|
1351
1579
|
className: "footer__deriv-go-qr-img"
|
|
1352
1580
|
}
|
|
1353
1581
|
),
|
|
1354
|
-
/* @__PURE__ */ (0,
|
|
1582
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("span", { className: "footer__deriv-go-qr-label", children: derivGo.scanToDownloadLabel ?? "Scan to download" })
|
|
1355
1583
|
] }),
|
|
1356
|
-
/* @__PURE__ */ (0,
|
|
1584
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
1357
1585
|
DerivGoBadges,
|
|
1358
1586
|
{
|
|
1359
1587
|
googlePlayBadge: derivGo.googlePlayBadge,
|
|
@@ -1365,9 +1593,9 @@ var Footer = ({
|
|
|
1365
1593
|
] })
|
|
1366
1594
|
] })
|
|
1367
1595
|
] }),
|
|
1368
|
-
/* @__PURE__ */ (0,
|
|
1596
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "footer__nav footer__nav--accordion", children: allSections.map((section, idx) => {
|
|
1369
1597
|
const isOpen = openSections.has(idx);
|
|
1370
|
-
return /* @__PURE__ */ (0,
|
|
1598
|
+
return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
|
|
1371
1599
|
"div",
|
|
1372
1600
|
{
|
|
1373
1601
|
className: [
|
|
@@ -1375,7 +1603,7 @@ var Footer = ({
|
|
|
1375
1603
|
isOpen && "footer__accordion-item--open"
|
|
1376
1604
|
].filter(Boolean).join(" "),
|
|
1377
1605
|
children: [
|
|
1378
|
-
/* @__PURE__ */ (0,
|
|
1606
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
|
|
1379
1607
|
"button",
|
|
1380
1608
|
{
|
|
1381
1609
|
type: "button",
|
|
@@ -1383,18 +1611,18 @@ var Footer = ({
|
|
|
1383
1611
|
onClick: () => toggleSection(idx),
|
|
1384
1612
|
"aria-expanded": isOpen,
|
|
1385
1613
|
children: [
|
|
1386
|
-
/* @__PURE__ */ (0,
|
|
1387
|
-
/* @__PURE__ */ (0,
|
|
1614
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("span", { className: "footer__accordion-label", children: section.title }),
|
|
1615
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("span", { className: "footer__accordion-chevron", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(ChevronDownIcon2, {}) })
|
|
1388
1616
|
]
|
|
1389
1617
|
}
|
|
1390
1618
|
),
|
|
1391
|
-
isOpen && /* @__PURE__ */ (0,
|
|
1619
|
+
isOpen && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("ul", { className: "footer__accordion-links", children: section.links.map((link, linkIdx) => /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(NavLink, { ...link }) }, linkIdx)) })
|
|
1392
1620
|
]
|
|
1393
1621
|
},
|
|
1394
1622
|
idx
|
|
1395
1623
|
);
|
|
1396
1624
|
}) }),
|
|
1397
|
-
socialLinks.length > 0 && /* @__PURE__ */ (0,
|
|
1625
|
+
socialLinks.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "footer__social footer__social--standalone", children: socialLinks.map((link, i) => /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
1398
1626
|
"a",
|
|
1399
1627
|
{
|
|
1400
1628
|
href: link.href,
|
|
@@ -1406,10 +1634,10 @@ var Footer = ({
|
|
|
1406
1634
|
},
|
|
1407
1635
|
i
|
|
1408
1636
|
)) }),
|
|
1409
|
-
derivGo && /* @__PURE__ */ (0,
|
|
1410
|
-
/* @__PURE__ */ (0,
|
|
1411
|
-
/* @__PURE__ */ (0,
|
|
1412
|
-
/* @__PURE__ */ (0,
|
|
1637
|
+
derivGo && /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: "footer__deriv-go-banner", children: [
|
|
1638
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: "footer__deriv-go-banner-info", children: [
|
|
1639
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: "footer__deriv-go-header", children: [
|
|
1640
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
1413
1641
|
"img",
|
|
1414
1642
|
{
|
|
1415
1643
|
src: derivGo.logoSrc,
|
|
@@ -1417,11 +1645,11 @@ var Footer = ({
|
|
|
1417
1645
|
className: "footer__deriv-go-logo"
|
|
1418
1646
|
}
|
|
1419
1647
|
),
|
|
1420
|
-
/* @__PURE__ */ (0,
|
|
1648
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("span", { className: "footer__deriv-go-title", children: derivGo.title ?? "Deriv GO" })
|
|
1421
1649
|
] }),
|
|
1422
|
-
/* @__PURE__ */ (0,
|
|
1650
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("p", { className: "footer__deriv-go-desc", children: derivGo.description ?? "Trade multipliers on our mobile app." })
|
|
1423
1651
|
] }),
|
|
1424
|
-
/* @__PURE__ */ (0,
|
|
1652
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "footer__deriv-go-banner-badges", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
1425
1653
|
DerivGoBadges,
|
|
1426
1654
|
{
|
|
1427
1655
|
googlePlayBadge: derivGo.googlePlayBadge,
|
|
@@ -1431,11 +1659,11 @@ var Footer = ({
|
|
|
1431
1659
|
}
|
|
1432
1660
|
) })
|
|
1433
1661
|
] }),
|
|
1434
|
-
(licenseText || riskWarningText) && /* @__PURE__ */ (0,
|
|
1435
|
-
licenseText && /* @__PURE__ */ (0,
|
|
1436
|
-
riskWarningText && /* @__PURE__ */ (0,
|
|
1662
|
+
(licenseText || riskWarningText) && /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: "footer__legal-block", children: [
|
|
1663
|
+
licenseText && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "footer__license", children: licenseText }),
|
|
1664
|
+
riskWarningText && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "footer__risk-warning", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("p", { className: "footer__risk-warning-text", children: riskWarningText }) })
|
|
1437
1665
|
] }),
|
|
1438
|
-
investorsInPeopleSrc && /* @__PURE__ */ (0,
|
|
1666
|
+
investorsInPeopleSrc && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "footer__investors-stacked", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
1439
1667
|
"img",
|
|
1440
1668
|
{
|
|
1441
1669
|
src: investorsInPeopleSrc,
|
|
@@ -1450,12 +1678,12 @@ var Footer = ({
|
|
|
1450
1678
|
|
|
1451
1679
|
// templates/Hero/Hero.tsx
|
|
1452
1680
|
var import_react8 = require("react");
|
|
1453
|
-
var
|
|
1681
|
+
var import_jsx_runtime21 = require("react/jsx-runtime");
|
|
1454
1682
|
var Visual = ({
|
|
1455
1683
|
src,
|
|
1456
1684
|
className,
|
|
1457
1685
|
alt = ""
|
|
1458
|
-
}) => /* @__PURE__ */ (0,
|
|
1686
|
+
}) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", { className, children: typeof src === "string" ? /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("img", { src, alt }) : src });
|
|
1459
1687
|
var Hero = ({
|
|
1460
1688
|
variant,
|
|
1461
1689
|
subtitle,
|
|
@@ -1506,13 +1734,13 @@ var Hero = ({
|
|
|
1506
1734
|
onScroll();
|
|
1507
1735
|
return () => scrollEl.removeEventListener("scroll", onScroll);
|
|
1508
1736
|
}, [variant]);
|
|
1509
|
-
const textBlock = /* @__PURE__ */ (0,
|
|
1510
|
-
subtitle && /* @__PURE__ */ (0,
|
|
1511
|
-
/* @__PURE__ */ (0,
|
|
1512
|
-
description && /* @__PURE__ */ (0,
|
|
1737
|
+
const textBlock = /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)("div", { className: "hero__text", children: [
|
|
1738
|
+
subtitle && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("p", { className: "hero__subtitle", children: subtitle }),
|
|
1739
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)("h2", { className: "hero__title", children: title }),
|
|
1740
|
+
description && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("p", { className: "hero__description", children: description })
|
|
1513
1741
|
] });
|
|
1514
|
-
const buttonBlock = (primaryButton || secondaryButton) && /* @__PURE__ */ (0,
|
|
1515
|
-
primaryButton && (primaryButton.href ? /* @__PURE__ */ (0,
|
|
1742
|
+
const buttonBlock = (primaryButton || secondaryButton) && /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)("div", { className: "hero__buttons", children: [
|
|
1743
|
+
primaryButton && (primaryButton.href ? /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("a", { href: primaryButton.href, children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
1516
1744
|
Button,
|
|
1517
1745
|
{
|
|
1518
1746
|
colorScheme: "coral",
|
|
@@ -1520,7 +1748,7 @@ var Hero = ({
|
|
|
1520
1748
|
label: primaryButton.label,
|
|
1521
1749
|
onClick: primaryButton.onClick
|
|
1522
1750
|
}
|
|
1523
|
-
) }) : /* @__PURE__ */ (0,
|
|
1751
|
+
) }) : /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
1524
1752
|
Button,
|
|
1525
1753
|
{
|
|
1526
1754
|
colorScheme: "coral",
|
|
@@ -1529,7 +1757,7 @@ var Hero = ({
|
|
|
1529
1757
|
onClick: primaryButton.onClick
|
|
1530
1758
|
}
|
|
1531
1759
|
)),
|
|
1532
|
-
secondaryButton && (secondaryButton.href ? /* @__PURE__ */ (0,
|
|
1760
|
+
secondaryButton && (secondaryButton.href ? /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("a", { href: secondaryButton.href, children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
1533
1761
|
Button,
|
|
1534
1762
|
{
|
|
1535
1763
|
colorScheme: "white",
|
|
@@ -1537,7 +1765,7 @@ var Hero = ({
|
|
|
1537
1765
|
label: secondaryButton.label,
|
|
1538
1766
|
onClick: secondaryButton.onClick
|
|
1539
1767
|
}
|
|
1540
|
-
) }) : /* @__PURE__ */ (0,
|
|
1768
|
+
) }) : /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
1541
1769
|
Button,
|
|
1542
1770
|
{
|
|
1543
1771
|
colorScheme: "white",
|
|
@@ -1548,15 +1776,15 @@ var Hero = ({
|
|
|
1548
1776
|
))
|
|
1549
1777
|
] });
|
|
1550
1778
|
if (variant === "split") {
|
|
1551
|
-
return /* @__PURE__ */ (0,
|
|
1779
|
+
return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
|
|
1552
1780
|
"section",
|
|
1553
1781
|
{
|
|
1554
1782
|
className: ["hero", variantClass, className].filter(Boolean).join(" "),
|
|
1555
1783
|
style: backgroundImageSrc ? { backgroundImage: `url(${backgroundImageSrc})` } : void 0,
|
|
1556
1784
|
...props,
|
|
1557
1785
|
children: [
|
|
1558
|
-
/* @__PURE__ */ (0,
|
|
1559
|
-
heroImage && /* @__PURE__ */ (0,
|
|
1786
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", { className: "hero__overlay", "aria-hidden": "true" }),
|
|
1787
|
+
heroImage && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
1560
1788
|
Visual,
|
|
1561
1789
|
{
|
|
1562
1790
|
src: heroImage,
|
|
@@ -1564,14 +1792,14 @@ var Hero = ({
|
|
|
1564
1792
|
alt: ""
|
|
1565
1793
|
}
|
|
1566
1794
|
),
|
|
1567
|
-
/* @__PURE__ */ (0,
|
|
1568
|
-
/* @__PURE__ */ (0,
|
|
1569
|
-
subtitle && /* @__PURE__ */ (0,
|
|
1570
|
-
/* @__PURE__ */ (0,
|
|
1571
|
-
description && /* @__PURE__ */ (0,
|
|
1795
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", { className: "hero__inner", children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", { className: "hero__content", children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", { className: "hero__left", children: /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)("div", { className: "hero__body", children: [
|
|
1796
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsxs)("div", { className: "hero__text", children: [
|
|
1797
|
+
subtitle && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("p", { className: "hero__subtitle", children: subtitle }),
|
|
1798
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)("h2", { className: "hero__title", children: title }),
|
|
1799
|
+
description && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("p", { className: "hero__description", children: description })
|
|
1572
1800
|
] }),
|
|
1573
|
-
(primaryButton || secondaryButton) && /* @__PURE__ */ (0,
|
|
1574
|
-
primaryButton && (primaryButton.href ? /* @__PURE__ */ (0,
|
|
1801
|
+
(primaryButton || secondaryButton) && /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)("div", { className: "hero__buttons", children: [
|
|
1802
|
+
primaryButton && (primaryButton.href ? /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("a", { href: primaryButton.href, children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
1575
1803
|
Button,
|
|
1576
1804
|
{
|
|
1577
1805
|
colorScheme: "coral",
|
|
@@ -1579,7 +1807,7 @@ var Hero = ({
|
|
|
1579
1807
|
label: primaryButton.label,
|
|
1580
1808
|
onClick: primaryButton.onClick
|
|
1581
1809
|
}
|
|
1582
|
-
) }) : /* @__PURE__ */ (0,
|
|
1810
|
+
) }) : /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
1583
1811
|
Button,
|
|
1584
1812
|
{
|
|
1585
1813
|
colorScheme: "coral",
|
|
@@ -1588,7 +1816,7 @@ var Hero = ({
|
|
|
1588
1816
|
onClick: primaryButton.onClick
|
|
1589
1817
|
}
|
|
1590
1818
|
)),
|
|
1591
|
-
secondaryButton && (secondaryButton.href ? /* @__PURE__ */ (0,
|
|
1819
|
+
secondaryButton && (secondaryButton.href ? /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("a", { href: secondaryButton.href, children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
1592
1820
|
Button,
|
|
1593
1821
|
{
|
|
1594
1822
|
colorScheme: "white",
|
|
@@ -1596,7 +1824,7 @@ var Hero = ({
|
|
|
1596
1824
|
label: secondaryButton.label,
|
|
1597
1825
|
onClick: secondaryButton.onClick
|
|
1598
1826
|
}
|
|
1599
|
-
) }) : /* @__PURE__ */ (0,
|
|
1827
|
+
) }) : /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
1600
1828
|
Button,
|
|
1601
1829
|
{
|
|
1602
1830
|
colorScheme: "white",
|
|
@@ -1612,22 +1840,22 @@ var Hero = ({
|
|
|
1612
1840
|
);
|
|
1613
1841
|
}
|
|
1614
1842
|
if (variant === "centered") {
|
|
1615
|
-
return /* @__PURE__ */ (0,
|
|
1843
|
+
return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
|
|
1616
1844
|
"section",
|
|
1617
1845
|
{
|
|
1618
1846
|
className: ["hero", variantClass, className].filter(Boolean).join(" "),
|
|
1619
1847
|
style: backgroundImageSrc ? { backgroundImage: `url(${backgroundImageSrc})` } : void 0,
|
|
1620
1848
|
...props,
|
|
1621
1849
|
children: [
|
|
1622
|
-
/* @__PURE__ */ (0,
|
|
1623
|
-
/* @__PURE__ */ (0,
|
|
1624
|
-
/* @__PURE__ */ (0,
|
|
1625
|
-
subtitle && /* @__PURE__ */ (0,
|
|
1626
|
-
/* @__PURE__ */ (0,
|
|
1627
|
-
description && /* @__PURE__ */ (0,
|
|
1850
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", { className: "hero__overlay", "aria-hidden": "true" }),
|
|
1851
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", { className: "hero__inner", children: /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)("div", { className: "hero__content", children: [
|
|
1852
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsxs)("div", { className: "hero__text", children: [
|
|
1853
|
+
subtitle && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("p", { className: "hero__subtitle", children: subtitle }),
|
|
1854
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)("h2", { className: "hero__title", children: title }),
|
|
1855
|
+
description && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("p", { className: "hero__description", children: description })
|
|
1628
1856
|
] }),
|
|
1629
|
-
(primaryButton || secondaryButton) && /* @__PURE__ */ (0,
|
|
1630
|
-
primaryButton && (primaryButton.href ? /* @__PURE__ */ (0,
|
|
1857
|
+
(primaryButton || secondaryButton) && /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)("div", { className: "hero__buttons", children: [
|
|
1858
|
+
primaryButton && (primaryButton.href ? /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("a", { href: primaryButton.href, children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
1631
1859
|
Button,
|
|
1632
1860
|
{
|
|
1633
1861
|
colorScheme: "coral",
|
|
@@ -1635,7 +1863,7 @@ var Hero = ({
|
|
|
1635
1863
|
label: primaryButton.label,
|
|
1636
1864
|
onClick: primaryButton.onClick
|
|
1637
1865
|
}
|
|
1638
|
-
) }) : /* @__PURE__ */ (0,
|
|
1866
|
+
) }) : /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
1639
1867
|
Button,
|
|
1640
1868
|
{
|
|
1641
1869
|
colorScheme: "coral",
|
|
@@ -1644,7 +1872,7 @@ var Hero = ({
|
|
|
1644
1872
|
onClick: primaryButton.onClick
|
|
1645
1873
|
}
|
|
1646
1874
|
)),
|
|
1647
|
-
secondaryButton && (secondaryButton.href ? /* @__PURE__ */ (0,
|
|
1875
|
+
secondaryButton && (secondaryButton.href ? /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("a", { href: secondaryButton.href, children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
1648
1876
|
Button,
|
|
1649
1877
|
{
|
|
1650
1878
|
colorScheme: "white",
|
|
@@ -1652,7 +1880,7 @@ var Hero = ({
|
|
|
1652
1880
|
label: secondaryButton.label,
|
|
1653
1881
|
onClick: secondaryButton.onClick
|
|
1654
1882
|
}
|
|
1655
|
-
) }) : /* @__PURE__ */ (0,
|
|
1883
|
+
) }) : /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
1656
1884
|
Button,
|
|
1657
1885
|
{
|
|
1658
1886
|
colorScheme: "white",
|
|
@@ -1668,22 +1896,22 @@ var Hero = ({
|
|
|
1668
1896
|
);
|
|
1669
1897
|
}
|
|
1670
1898
|
if (variant === "showcase") {
|
|
1671
|
-
return /* @__PURE__ */ (0,
|
|
1899
|
+
return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
|
|
1672
1900
|
"section",
|
|
1673
1901
|
{
|
|
1674
1902
|
className: ["hero", variantClass, className].filter(Boolean).join(" "),
|
|
1675
1903
|
style: backgroundImageSrc ? { backgroundImage: `url(${backgroundImageSrc})` } : void 0,
|
|
1676
1904
|
...props,
|
|
1677
1905
|
children: [
|
|
1678
|
-
/* @__PURE__ */ (0,
|
|
1679
|
-
/* @__PURE__ */ (0,
|
|
1680
|
-
/* @__PURE__ */ (0,
|
|
1681
|
-
subtitle && /* @__PURE__ */ (0,
|
|
1682
|
-
/* @__PURE__ */ (0,
|
|
1683
|
-
description && /* @__PURE__ */ (0,
|
|
1906
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", { className: "hero__overlay", "aria-hidden": "true" }),
|
|
1907
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", { className: "hero__inner", children: /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)("div", { className: "hero__content", children: [
|
|
1908
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsxs)("div", { className: "hero__text", children: [
|
|
1909
|
+
subtitle && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("p", { className: "hero__subtitle", children: subtitle }),
|
|
1910
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)("h2", { className: "hero__title", children: title }),
|
|
1911
|
+
description && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("p", { className: "hero__description", children: description })
|
|
1684
1912
|
] }),
|
|
1685
|
-
(primaryButton || secondaryButton) && /* @__PURE__ */ (0,
|
|
1686
|
-
primaryButton && (primaryButton.href ? /* @__PURE__ */ (0,
|
|
1913
|
+
(primaryButton || secondaryButton) && /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)("div", { className: "hero__buttons", children: [
|
|
1914
|
+
primaryButton && (primaryButton.href ? /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("a", { href: primaryButton.href, children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
1687
1915
|
Button,
|
|
1688
1916
|
{
|
|
1689
1917
|
colorScheme: "coral",
|
|
@@ -1691,7 +1919,7 @@ var Hero = ({
|
|
|
1691
1919
|
label: primaryButton.label,
|
|
1692
1920
|
onClick: primaryButton.onClick
|
|
1693
1921
|
}
|
|
1694
|
-
) }) : /* @__PURE__ */ (0,
|
|
1922
|
+
) }) : /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
1695
1923
|
Button,
|
|
1696
1924
|
{
|
|
1697
1925
|
colorScheme: "coral",
|
|
@@ -1700,7 +1928,7 @@ var Hero = ({
|
|
|
1700
1928
|
onClick: primaryButton.onClick
|
|
1701
1929
|
}
|
|
1702
1930
|
)),
|
|
1703
|
-
secondaryButton && (secondaryButton.href ? /* @__PURE__ */ (0,
|
|
1931
|
+
secondaryButton && (secondaryButton.href ? /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("a", { href: secondaryButton.href, children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
1704
1932
|
Button,
|
|
1705
1933
|
{
|
|
1706
1934
|
colorScheme: "white",
|
|
@@ -1708,7 +1936,7 @@ var Hero = ({
|
|
|
1708
1936
|
label: secondaryButton.label,
|
|
1709
1937
|
onClick: secondaryButton.onClick
|
|
1710
1938
|
}
|
|
1711
|
-
) }) : /* @__PURE__ */ (0,
|
|
1939
|
+
) }) : /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
1712
1940
|
Button,
|
|
1713
1941
|
{
|
|
1714
1942
|
colorScheme: "white",
|
|
@@ -1718,7 +1946,7 @@ var Hero = ({
|
|
|
1718
1946
|
}
|
|
1719
1947
|
))
|
|
1720
1948
|
] }),
|
|
1721
|
-
productImage && /* @__PURE__ */ (0,
|
|
1949
|
+
productImage && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
1722
1950
|
Visual,
|
|
1723
1951
|
{
|
|
1724
1952
|
src: productImage,
|
|
@@ -1726,7 +1954,7 @@ var Hero = ({
|
|
|
1726
1954
|
alt: ""
|
|
1727
1955
|
}
|
|
1728
1956
|
),
|
|
1729
|
-
floatingImage && /* @__PURE__ */ (0,
|
|
1957
|
+
floatingImage && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
1730
1958
|
Visual,
|
|
1731
1959
|
{
|
|
1732
1960
|
src: floatingImage,
|
|
@@ -1739,18 +1967,18 @@ var Hero = ({
|
|
|
1739
1967
|
}
|
|
1740
1968
|
);
|
|
1741
1969
|
}
|
|
1742
|
-
return /* @__PURE__ */ (0,
|
|
1970
|
+
return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
|
|
1743
1971
|
"section",
|
|
1744
1972
|
{
|
|
1745
1973
|
ref: sectionRef,
|
|
1746
1974
|
className: ["hero", variantClass, className].filter(Boolean).join(" "),
|
|
1747
1975
|
...props,
|
|
1748
1976
|
children: [
|
|
1749
|
-
/* @__PURE__ */ (0,
|
|
1750
|
-
variant === "visuals" && leftVisual && /* @__PURE__ */ (0,
|
|
1751
|
-
variant === "visuals" && rightVisual && /* @__PURE__ */ (0,
|
|
1752
|
-
/* @__PURE__ */ (0,
|
|
1753
|
-
/* @__PURE__ */ (0,
|
|
1977
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", { className: "hero__grid", "aria-hidden": "true" }),
|
|
1978
|
+
variant === "visuals" && leftVisual && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", { ref: leftRef, className: "hero__visual hero__visual--left", children: typeof leftVisual === "string" ? /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("img", { src: leftVisual, alt: "" }) : leftVisual }),
|
|
1979
|
+
variant === "visuals" && rightVisual && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", { ref: rightRef, className: "hero__visual hero__visual--right", children: typeof rightVisual === "string" ? /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("img", { src: rightVisual, alt: "" }) : rightVisual }),
|
|
1980
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", { className: "hero__overlay", "aria-hidden": "true" }),
|
|
1981
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", { className: "hero__inner", children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", { className: "hero__content", children: /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)("div", { className: "hero__body", children: [
|
|
1754
1982
|
textBlock,
|
|
1755
1983
|
buttonBlock
|
|
1756
1984
|
] }) }) })
|
|
@@ -1761,9 +1989,12 @@ var Hero = ({
|
|
|
1761
1989
|
|
|
1762
1990
|
// templates/Stats/Stats.tsx
|
|
1763
1991
|
var import_react9 = require("react");
|
|
1764
|
-
var
|
|
1992
|
+
var import_jsx_runtime22 = require("react/jsx-runtime");
|
|
1765
1993
|
var INTERVAL_MS = 2e3;
|
|
1766
1994
|
var TRANSITION = "transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1)";
|
|
1995
|
+
var PARALLAX_FACTOR = 0.18;
|
|
1996
|
+
var PARALLAX_MAX = 56;
|
|
1997
|
+
var PARALLAX_BP = 992;
|
|
1767
1998
|
function relativePos(index, active, total) {
|
|
1768
1999
|
const raw = ((index - active) % total + total) % total;
|
|
1769
2000
|
return raw > total / 2 ? raw - total : raw;
|
|
@@ -1785,7 +2016,7 @@ function getStatStyle(rel) {
|
|
|
1785
2016
|
transition: TRANSITION
|
|
1786
2017
|
};
|
|
1787
2018
|
}
|
|
1788
|
-
var AwardBadge = ({ imageSrc, imageAlt = "" }) => /* @__PURE__ */ (0,
|
|
2019
|
+
var AwardBadge = ({ imageSrc, imageAlt = "" }) => /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("div", { className: "stats__award", children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("img", { src: imageSrc, alt: imageAlt, className: "stats__award-image" }) });
|
|
1789
2020
|
var Stats = ({
|
|
1790
2021
|
title,
|
|
1791
2022
|
description,
|
|
@@ -1797,6 +2028,10 @@ var Stats = ({
|
|
|
1797
2028
|
}) => {
|
|
1798
2029
|
const [activeIndex, setActiveIndex] = (0, import_react9.useState)(0);
|
|
1799
2030
|
const intervalRef = (0, import_react9.useRef)(null);
|
|
2031
|
+
const sectionRef = (0, import_react9.useRef)(null);
|
|
2032
|
+
const leftColRef = (0, import_react9.useRef)(null);
|
|
2033
|
+
const rightColRef = (0, import_react9.useRef)(null);
|
|
2034
|
+
const rafRef = (0, import_react9.useRef)(null);
|
|
1800
2035
|
const hasAwards = leftAwards.length > 0 || rightAwards.length > 0;
|
|
1801
2036
|
const allAwards = [...leftAwards, ...rightAwards];
|
|
1802
2037
|
const total = stats.length;
|
|
@@ -1809,25 +2044,55 @@ var Stats = ({
|
|
|
1809
2044
|
if (intervalRef.current) clearInterval(intervalRef.current);
|
|
1810
2045
|
};
|
|
1811
2046
|
}, [total]);
|
|
1812
|
-
|
|
2047
|
+
(0, import_react9.useEffect)(() => {
|
|
2048
|
+
const applyParallax = () => {
|
|
2049
|
+
const section = sectionRef.current;
|
|
2050
|
+
if (!section || window.innerWidth < PARALLAX_BP) {
|
|
2051
|
+
if (leftColRef.current) leftColRef.current.style.transform = "";
|
|
2052
|
+
if (rightColRef.current) rightColRef.current.style.transform = "";
|
|
2053
|
+
return;
|
|
2054
|
+
}
|
|
2055
|
+
const rect = section.getBoundingClientRect();
|
|
2056
|
+
const sectionCenter = rect.top + rect.height / 2;
|
|
2057
|
+
const viewportCenter = window.innerHeight / 2;
|
|
2058
|
+
const raw = (sectionCenter - viewportCenter) * PARALLAX_FACTOR;
|
|
2059
|
+
const delta = Math.max(-PARALLAX_MAX, Math.min(PARALLAX_MAX, raw));
|
|
2060
|
+
if (leftColRef.current) leftColRef.current.style.transform = `translateY(${delta}px)`;
|
|
2061
|
+
if (rightColRef.current) rightColRef.current.style.transform = `translateY(${-delta}px)`;
|
|
2062
|
+
};
|
|
2063
|
+
const onScroll = () => {
|
|
2064
|
+
if (rafRef.current) cancelAnimationFrame(rafRef.current);
|
|
2065
|
+
rafRef.current = requestAnimationFrame(applyParallax);
|
|
2066
|
+
};
|
|
2067
|
+
applyParallax();
|
|
2068
|
+
window.addEventListener("scroll", onScroll, { passive: true });
|
|
2069
|
+
window.addEventListener("resize", onScroll, { passive: true });
|
|
2070
|
+
return () => {
|
|
2071
|
+
window.removeEventListener("scroll", onScroll);
|
|
2072
|
+
window.removeEventListener("resize", onScroll);
|
|
2073
|
+
if (rafRef.current) cancelAnimationFrame(rafRef.current);
|
|
2074
|
+
};
|
|
2075
|
+
}, []);
|
|
2076
|
+
return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
1813
2077
|
"section",
|
|
1814
2078
|
{
|
|
2079
|
+
ref: sectionRef,
|
|
1815
2080
|
className: ["stats", className].filter(Boolean).join(" "),
|
|
1816
2081
|
...props,
|
|
1817
|
-
children: /* @__PURE__ */ (0,
|
|
1818
|
-
/* @__PURE__ */ (0,
|
|
1819
|
-
/* @__PURE__ */ (0,
|
|
1820
|
-
description && /* @__PURE__ */ (0,
|
|
2082
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)("div", { className: "stats__inner", children: [
|
|
2083
|
+
/* @__PURE__ */ (0, import_jsx_runtime22.jsxs)("div", { className: "stats__header", children: [
|
|
2084
|
+
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)("h2", { className: "stats__title", children: title }),
|
|
2085
|
+
description && /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("p", { className: "stats__description", children: description })
|
|
1821
2086
|
] }),
|
|
1822
|
-
/* @__PURE__ */ (0,
|
|
1823
|
-
leftAwards.length > 0 && /* @__PURE__ */ (0,
|
|
1824
|
-
/* @__PURE__ */ (0,
|
|
1825
|
-
/* @__PURE__ */ (0,
|
|
1826
|
-
/* @__PURE__ */ (0,
|
|
2087
|
+
/* @__PURE__ */ (0, import_jsx_runtime22.jsxs)("div", { className: "stats__content", children: [
|
|
2088
|
+
leftAwards.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("div", { ref: leftColRef, className: "stats__awards-col stats__awards-col--left", children: leftAwards.map((award, i) => /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(AwardBadge, { ...award }, i)) }),
|
|
2089
|
+
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)("div", { className: "stats__card", children: /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)("div", { className: "stats__card-track", children: [
|
|
2090
|
+
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)("div", { className: "stats__fade stats__fade--top", "aria-hidden": "true" }),
|
|
2091
|
+
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)("div", { className: "stats__fade stats__fade--bottom", "aria-hidden": "true" }),
|
|
1827
2092
|
stats.map((stat, i) => {
|
|
1828
2093
|
const rel = relativePos(i, activeIndex, total);
|
|
1829
2094
|
const active = rel === 0;
|
|
1830
|
-
return /* @__PURE__ */ (0,
|
|
2095
|
+
return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(
|
|
1831
2096
|
"div",
|
|
1832
2097
|
{
|
|
1833
2098
|
className: [
|
|
@@ -1837,16 +2102,16 @@ var Stats = ({
|
|
|
1837
2102
|
style: getStatStyle(rel),
|
|
1838
2103
|
"aria-hidden": !active,
|
|
1839
2104
|
children: [
|
|
1840
|
-
/* @__PURE__ */ (0,
|
|
1841
|
-
/* @__PURE__ */ (0,
|
|
2105
|
+
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)("span", { className: "stats__stat-value", children: stat.value }),
|
|
2106
|
+
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)("span", { className: "stats__stat-label", children: stat.label })
|
|
1842
2107
|
]
|
|
1843
2108
|
},
|
|
1844
2109
|
i
|
|
1845
2110
|
);
|
|
1846
2111
|
})
|
|
1847
2112
|
] }) }),
|
|
1848
|
-
rightAwards.length > 0 && /* @__PURE__ */ (0,
|
|
1849
|
-
hasAwards && /* @__PURE__ */ (0,
|
|
2113
|
+
rightAwards.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("div", { ref: rightColRef, className: "stats__awards-col stats__awards-col--right", children: rightAwards.map((award, i) => /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(AwardBadge, { ...award }, i)) }),
|
|
2114
|
+
hasAwards && /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("div", { className: "stats__awards-mobile", children: allAwards.map((award, i) => /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(AwardBadge, { ...award }, i)) })
|
|
1850
2115
|
] })
|
|
1851
2116
|
] })
|
|
1852
2117
|
}
|
|
@@ -1859,7 +2124,7 @@ var import_react11 = require("react");
|
|
|
1859
2124
|
// components/DotLottieInView/DotLottieInView.tsx
|
|
1860
2125
|
var import_react10 = require("react");
|
|
1861
2126
|
var import_dotlottie_react = require("@lottiefiles/dotlottie-react");
|
|
1862
|
-
var
|
|
2127
|
+
var import_jsx_runtime23 = require("react/jsx-runtime");
|
|
1863
2128
|
function DotLottieInView({
|
|
1864
2129
|
enabled = true,
|
|
1865
2130
|
rootMargin = "0px",
|
|
@@ -1892,7 +2157,7 @@ function DotLottieInView({
|
|
|
1892
2157
|
dotLottie.stop();
|
|
1893
2158
|
dotLottie.play();
|
|
1894
2159
|
}, [dotLottie, enabled, inView]);
|
|
1895
|
-
return /* @__PURE__ */ (0,
|
|
2160
|
+
return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
1896
2161
|
"div",
|
|
1897
2162
|
{
|
|
1898
2163
|
ref: wrapRef,
|
|
@@ -1907,7 +2172,7 @@ function DotLottieInView({
|
|
|
1907
2172
|
backgroundColor: "transparent",
|
|
1908
2173
|
...style
|
|
1909
2174
|
},
|
|
1910
|
-
children: /* @__PURE__ */ (0,
|
|
2175
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
1911
2176
|
import_dotlottie_react.DotLottieReact,
|
|
1912
2177
|
{
|
|
1913
2178
|
...dotProps,
|
|
@@ -1921,7 +2186,7 @@ function DotLottieInView({
|
|
|
1921
2186
|
}
|
|
1922
2187
|
|
|
1923
2188
|
// templates/FeatureScroll/FeatureScroll.tsx
|
|
1924
|
-
var
|
|
2189
|
+
var import_jsx_runtime24 = require("react/jsx-runtime");
|
|
1925
2190
|
var FEATURE_SCROLL_DATA = [
|
|
1926
2191
|
{
|
|
1927
2192
|
title: "Forex",
|
|
@@ -1966,7 +2231,7 @@ var FEATURE_SCROLL_DATA = [
|
|
|
1966
2231
|
mediaUrl: "https://cdn.prod.website-files.com/66fbaad381fa6866fa4991f3/675a9064f2c16e4e0732abfb_Stock%20Indices.lottie"
|
|
1967
2232
|
}
|
|
1968
2233
|
];
|
|
1969
|
-
var ChevronRight2 = () => /* @__PURE__ */ (0,
|
|
2234
|
+
var ChevronRight2 = () => /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
1970
2235
|
"svg",
|
|
1971
2236
|
{
|
|
1972
2237
|
className: "fs__item-link-icon",
|
|
@@ -1975,7 +2240,7 @@ var ChevronRight2 = () => /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
|
1975
2240
|
viewBox: "0 0 16 16",
|
|
1976
2241
|
fill: "none",
|
|
1977
2242
|
"aria-hidden": "true",
|
|
1978
|
-
children: /* @__PURE__ */ (0,
|
|
2243
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
1979
2244
|
"path",
|
|
1980
2245
|
{
|
|
1981
2246
|
d: "M6 3l5 5-5 5",
|
|
@@ -1993,7 +2258,7 @@ function resolveMediaType(item) {
|
|
|
1993
2258
|
}
|
|
1994
2259
|
var MediaRenderer = ({ item, active }) => {
|
|
1995
2260
|
if (resolveMediaType(item) === "lottie") {
|
|
1996
|
-
return /* @__PURE__ */ (0,
|
|
2261
|
+
return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
1997
2262
|
DotLottieInView,
|
|
1998
2263
|
{
|
|
1999
2264
|
src: item.mediaUrl,
|
|
@@ -2001,7 +2266,7 @@ var MediaRenderer = ({ item, active }) => {
|
|
|
2001
2266
|
}
|
|
2002
2267
|
);
|
|
2003
2268
|
}
|
|
2004
|
-
return /* @__PURE__ */ (0,
|
|
2269
|
+
return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
2005
2270
|
"img",
|
|
2006
2271
|
{
|
|
2007
2272
|
src: item.mediaUrl,
|
|
@@ -2072,24 +2337,24 @@ var FeatureScroll = ({
|
|
|
2072
2337
|
className
|
|
2073
2338
|
].filter(Boolean).join(" ");
|
|
2074
2339
|
if (items.length === 0) {
|
|
2075
|
-
return /* @__PURE__ */ (0,
|
|
2340
|
+
return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("section", { className: rootClass, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", { className: "fs__inner", children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("h2", { className: "fs__header", children: header }) }) });
|
|
2076
2341
|
}
|
|
2077
|
-
return /* @__PURE__ */ (0,
|
|
2078
|
-
/* @__PURE__ */ (0,
|
|
2079
|
-
/* @__PURE__ */ (0,
|
|
2080
|
-
/* @__PURE__ */ (0,
|
|
2342
|
+
return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("section", { className: rootClass, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("div", { className: "fs__inner", children: [
|
|
2343
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)("h2", { className: "fs__header", children: header }),
|
|
2344
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("div", { className: "fs__layout", children: [
|
|
2345
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", { className: "fs__media-col", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
2081
2346
|
"div",
|
|
2082
2347
|
{
|
|
2083
2348
|
ref: mediaColRef,
|
|
2084
2349
|
className: "fs__media-sticky",
|
|
2085
|
-
children: /* @__PURE__ */ (0,
|
|
2350
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", { className: "fs__media-wrap", children: items.map((item, i) => /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
2086
2351
|
"div",
|
|
2087
2352
|
{
|
|
2088
2353
|
className: [
|
|
2089
2354
|
"fs__media-item",
|
|
2090
2355
|
i === activeIndex ? "fs__media-item--active" : ""
|
|
2091
2356
|
].filter(Boolean).join(" "),
|
|
2092
|
-
children: /* @__PURE__ */ (0,
|
|
2357
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
2093
2358
|
MediaRenderer,
|
|
2094
2359
|
{
|
|
2095
2360
|
item,
|
|
@@ -2101,12 +2366,12 @@ var FeatureScroll = ({
|
|
|
2101
2366
|
)) })
|
|
2102
2367
|
}
|
|
2103
2368
|
) }),
|
|
2104
|
-
/* @__PURE__ */ (0,
|
|
2369
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", { className: "fs__content-col", children: items.map((item, i) => /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
|
|
2105
2370
|
"div",
|
|
2106
2371
|
{
|
|
2107
2372
|
className: "fs__item",
|
|
2108
2373
|
children: [
|
|
2109
|
-
/* @__PURE__ */ (0,
|
|
2374
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
2110
2375
|
"h3",
|
|
2111
2376
|
{
|
|
2112
2377
|
ref: (el) => {
|
|
@@ -2116,15 +2381,15 @@ var FeatureScroll = ({
|
|
|
2116
2381
|
children: item.title
|
|
2117
2382
|
}
|
|
2118
2383
|
),
|
|
2119
|
-
/* @__PURE__ */ (0,
|
|
2120
|
-
/* @__PURE__ */ (0,
|
|
2384
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)("p", { className: "fs__item-desc", children: item.description }),
|
|
2385
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
|
|
2121
2386
|
"a",
|
|
2122
2387
|
{
|
|
2123
2388
|
href: item.link,
|
|
2124
2389
|
className: "fs__item-link",
|
|
2125
2390
|
children: [
|
|
2126
|
-
/* @__PURE__ */ (0,
|
|
2127
|
-
/* @__PURE__ */ (0,
|
|
2391
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)("span", { children: item.linkLabel }),
|
|
2392
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(ChevronRight2, {})
|
|
2128
2393
|
]
|
|
2129
2394
|
}
|
|
2130
2395
|
)
|
|
@@ -2133,18 +2398,18 @@ var FeatureScroll = ({
|
|
|
2133
2398
|
i
|
|
2134
2399
|
)) })
|
|
2135
2400
|
] }),
|
|
2136
|
-
/* @__PURE__ */ (0,
|
|
2137
|
-
/* @__PURE__ */ (0,
|
|
2138
|
-
/* @__PURE__ */ (0,
|
|
2139
|
-
/* @__PURE__ */ (0,
|
|
2140
|
-
/* @__PURE__ */ (0,
|
|
2401
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", { className: "fs__mobile-list", children: items.map((item, i) => /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("div", { className: "fs__mobile-item", children: [
|
|
2402
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)("h3", { className: "fs__item-title", children: item.title }),
|
|
2403
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", { className: "fs__mobile-media", children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(MediaRenderer, { item, active: true }) }),
|
|
2404
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)("p", { className: "fs__item-desc", children: item.description }),
|
|
2405
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
|
|
2141
2406
|
"a",
|
|
2142
2407
|
{
|
|
2143
2408
|
href: item.link,
|
|
2144
2409
|
className: "fs__item-link",
|
|
2145
2410
|
children: [
|
|
2146
|
-
/* @__PURE__ */ (0,
|
|
2147
|
-
/* @__PURE__ */ (0,
|
|
2411
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)("span", { children: item.linkLabel }),
|
|
2412
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(ChevronRight2, {})
|
|
2148
2413
|
]
|
|
2149
2414
|
}
|
|
2150
2415
|
)
|
|
@@ -2154,7 +2419,7 @@ var FeatureScroll = ({
|
|
|
2154
2419
|
|
|
2155
2420
|
// templates/StickyStackedCards/StickyStackedCards.tsx
|
|
2156
2421
|
var import_react12 = require("react");
|
|
2157
|
-
var
|
|
2422
|
+
var import_jsx_runtime25 = require("react/jsx-runtime");
|
|
2158
2423
|
var PLACEHOLDER_IMAGE = "https://cdn.prod.website-files.com/68da5c86c91c54f39c86c28a/69b9309379ac08e59ca8210a_1f3f555da9a5cbb13a6fe1bf0d5fe1b6_placeholder-image.webp";
|
|
2159
2424
|
var STEPS_DATA = [
|
|
2160
2425
|
{
|
|
@@ -2218,14 +2483,14 @@ var StickyStackedCards = ({
|
|
|
2218
2483
|
cancelAnimationFrame(rafId);
|
|
2219
2484
|
};
|
|
2220
2485
|
}, [items.length]);
|
|
2221
|
-
return /* @__PURE__ */ (0,
|
|
2486
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
2222
2487
|
"section",
|
|
2223
2488
|
{
|
|
2224
2489
|
className: ["ssc", className].filter(Boolean).join(" "),
|
|
2225
2490
|
...props,
|
|
2226
|
-
children: /* @__PURE__ */ (0,
|
|
2227
|
-
/* @__PURE__ */ (0,
|
|
2228
|
-
/* @__PURE__ */ (0,
|
|
2491
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("div", { className: "ssc__inner", children: [
|
|
2492
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)("h2", { className: "ssc__header", children: header }),
|
|
2493
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: "ssc__track", children: items.map((item, i) => /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
|
|
2229
2494
|
"div",
|
|
2230
2495
|
{
|
|
2231
2496
|
ref: (el) => {
|
|
@@ -2251,11 +2516,11 @@ var StickyStackedCards = ({
|
|
|
2251
2516
|
top: `calc(var(--ssc-sticky-top) + ${i} * var(--ssc-peek-offset))`
|
|
2252
2517
|
},
|
|
2253
2518
|
children: [
|
|
2254
|
-
/* @__PURE__ */ (0,
|
|
2255
|
-
/* @__PURE__ */ (0,
|
|
2256
|
-
/* @__PURE__ */ (0,
|
|
2519
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("div", { className: "ssc__card-content", children: [
|
|
2520
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)("h3", { className: "ssc__card-title", children: item.title }),
|
|
2521
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)("p", { className: "ssc__card-desc", children: item.description })
|
|
2257
2522
|
] }),
|
|
2258
|
-
/* @__PURE__ */ (0,
|
|
2523
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: "ssc__card-image", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
2259
2524
|
"img",
|
|
2260
2525
|
{
|
|
2261
2526
|
src: item.imageUrl,
|
|
@@ -2275,7 +2540,7 @@ var StickyStackedCards = ({
|
|
|
2275
2540
|
// templates/CTABanner/CTABanner.tsx
|
|
2276
2541
|
var import_react13 = require("react");
|
|
2277
2542
|
var import_framer_motion = require("framer-motion");
|
|
2278
|
-
var
|
|
2543
|
+
var import_jsx_runtime26 = require("react/jsx-runtime");
|
|
2279
2544
|
var ENTRANCE = {
|
|
2280
2545
|
near: 80,
|
|
2281
2546
|
mid: 130,
|
|
@@ -2539,14 +2804,14 @@ var CTABanner = ({
|
|
|
2539
2804
|
const compactXValues = useCompactAvatarXValues(smooth);
|
|
2540
2805
|
const avatarYValues = variant === "compact" ? compactYValues : standardYValues;
|
|
2541
2806
|
const avatarXValues = variant === "compact" ? compactXValues : standardXValues;
|
|
2542
|
-
return /* @__PURE__ */ (0,
|
|
2807
|
+
return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
|
|
2543
2808
|
"section",
|
|
2544
2809
|
{
|
|
2545
2810
|
ref: sectionRef,
|
|
2546
2811
|
className: ["ctab", variant === "compact" ? "ctab--compact" : "", className].filter(Boolean).join(" "),
|
|
2547
2812
|
...props,
|
|
2548
2813
|
children: [
|
|
2549
|
-
/* @__PURE__ */ (0,
|
|
2814
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
2550
2815
|
import_framer_motion.motion.div,
|
|
2551
2816
|
{
|
|
2552
2817
|
className: "ctab__grid",
|
|
@@ -2554,7 +2819,7 @@ var CTABanner = ({
|
|
|
2554
2819
|
"aria-hidden": "true"
|
|
2555
2820
|
}
|
|
2556
2821
|
),
|
|
2557
|
-
/* @__PURE__ */ (0,
|
|
2822
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)("div", { className: "ctab__inner", children: /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("div", { className: "ctab__stage", children: [
|
|
2558
2823
|
resolvedAvatars.map((avatar, index) => {
|
|
2559
2824
|
const posStyle = {};
|
|
2560
2825
|
if (avatar.desktopPos.left) posStyle["--av-d-left"] = avatar.desktopPos.left;
|
|
@@ -2563,7 +2828,7 @@ var CTABanner = ({
|
|
|
2563
2828
|
if (avatar.mobilePos?.left) posStyle["--av-m-left"] = avatar.mobilePos.left;
|
|
2564
2829
|
if (avatar.mobilePos?.right) posStyle["--av-m-right"] = avatar.mobilePos.right;
|
|
2565
2830
|
if (avatar.mobilePos?.top) posStyle["--av-m-top"] = avatar.mobilePos.top;
|
|
2566
|
-
return /* @__PURE__ */ (0,
|
|
2831
|
+
return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
2567
2832
|
import_framer_motion.motion.div,
|
|
2568
2833
|
{
|
|
2569
2834
|
className: [
|
|
@@ -2577,7 +2842,7 @@ var CTABanner = ({
|
|
|
2577
2842
|
opacity: avatarOpacity,
|
|
2578
2843
|
filter: avatarFilter
|
|
2579
2844
|
},
|
|
2580
|
-
children: /* @__PURE__ */ (0,
|
|
2845
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
2581
2846
|
"img",
|
|
2582
2847
|
{
|
|
2583
2848
|
src: avatar.imageUrl,
|
|
@@ -2590,14 +2855,14 @@ var CTABanner = ({
|
|
|
2590
2855
|
avatar.id
|
|
2591
2856
|
);
|
|
2592
2857
|
}),
|
|
2593
|
-
/* @__PURE__ */ (0,
|
|
2858
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
|
|
2594
2859
|
import_framer_motion.motion.div,
|
|
2595
2860
|
{
|
|
2596
2861
|
className: "ctab__hero",
|
|
2597
2862
|
style: { y: heroY, opacity: heroOpacity },
|
|
2598
2863
|
children: [
|
|
2599
|
-
/* @__PURE__ */ (0,
|
|
2600
|
-
/* @__PURE__ */ (0,
|
|
2864
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)("h2", { className: "ctab__headline", children: headline }),
|
|
2865
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)("a", { href: ctaHref, children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Button, { colorScheme: "black", variant: "primary", label: ctaLabel }) })
|
|
2601
2866
|
]
|
|
2602
2867
|
}
|
|
2603
2868
|
)
|
|
@@ -2615,7 +2880,7 @@ var import_framer_motion2 = require("framer-motion");
|
|
|
2615
2880
|
var icon_globe_default = "./icon-globe-S54WYYEK.svg";
|
|
2616
2881
|
|
|
2617
2882
|
// components/Navbar/Navbar.tsx
|
|
2618
|
-
var
|
|
2883
|
+
var import_jsx_runtime27 = require("react/jsx-runtime");
|
|
2619
2884
|
var EASE_OUT_EXPO = [0.16, 1, 0.3, 1];
|
|
2620
2885
|
var dropdownVariants = {
|
|
2621
2886
|
hidden: { opacity: 0, scale: 0.96, y: -8 },
|
|
@@ -2629,7 +2894,7 @@ var accordionVariants = {
|
|
|
2629
2894
|
hidden: { height: 0, opacity: 0 },
|
|
2630
2895
|
visible: { height: "auto", opacity: 1 }
|
|
2631
2896
|
};
|
|
2632
|
-
var ChevronDownIcon3 = ({ className }) => /* @__PURE__ */ (0,
|
|
2897
|
+
var ChevronDownIcon3 = ({ className }) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
2633
2898
|
"svg",
|
|
2634
2899
|
{
|
|
2635
2900
|
className,
|
|
@@ -2638,7 +2903,7 @@ var ChevronDownIcon3 = ({ className }) => /* @__PURE__ */ (0, import_jsx_runtime
|
|
|
2638
2903
|
viewBox: "0 0 14 14",
|
|
2639
2904
|
fill: "none",
|
|
2640
2905
|
"aria-hidden": "true",
|
|
2641
|
-
children: /* @__PURE__ */ (0,
|
|
2906
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
2642
2907
|
"path",
|
|
2643
2908
|
{
|
|
2644
2909
|
d: "M2.625 4.8125L7 9.1875L11.375 4.8125",
|
|
@@ -2650,7 +2915,7 @@ var ChevronDownIcon3 = ({ className }) => /* @__PURE__ */ (0, import_jsx_runtime
|
|
|
2650
2915
|
)
|
|
2651
2916
|
}
|
|
2652
2917
|
);
|
|
2653
|
-
var ArrowRightIcon = () => /* @__PURE__ */ (0,
|
|
2918
|
+
var ArrowRightIcon = () => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("svg", { width: "14", height: "14", viewBox: "0 0 14 14", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
2654
2919
|
"path",
|
|
2655
2920
|
{
|
|
2656
2921
|
d: "M2.625 7H11.375M11.375 7L7.875 3.5M11.375 7L7.875 10.5",
|
|
@@ -2660,7 +2925,7 @@ var ArrowRightIcon = () => /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("svg",
|
|
|
2660
2925
|
strokeLinejoin: "round"
|
|
2661
2926
|
}
|
|
2662
2927
|
) });
|
|
2663
|
-
var ArrowUpRightIcon = () => /* @__PURE__ */ (0,
|
|
2928
|
+
var ArrowUpRightIcon = () => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
2664
2929
|
"path",
|
|
2665
2930
|
{
|
|
2666
2931
|
d: "M4.5 11.5L11.5 4.5M11.5 4.5H5.5M11.5 4.5V10.5",
|
|
@@ -2670,7 +2935,7 @@ var ArrowUpRightIcon = () => /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("svg"
|
|
|
2670
2935
|
strokeLinejoin: "round"
|
|
2671
2936
|
}
|
|
2672
2937
|
) });
|
|
2673
|
-
var BarsIcon = () => /* @__PURE__ */ (0,
|
|
2938
|
+
var BarsIcon = () => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
2674
2939
|
"path",
|
|
2675
2940
|
{
|
|
2676
2941
|
d: "M2.5 5H17.5M2.5 10H17.5M2.5 15H17.5",
|
|
@@ -2679,7 +2944,7 @@ var BarsIcon = () => /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("svg", { widt
|
|
|
2679
2944
|
strokeLinecap: "round"
|
|
2680
2945
|
}
|
|
2681
2946
|
) });
|
|
2682
|
-
var XMarkIcon2 = () => /* @__PURE__ */ (0,
|
|
2947
|
+
var XMarkIcon2 = () => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
2683
2948
|
"path",
|
|
2684
2949
|
{
|
|
2685
2950
|
d: "M15 5L5 15M5 5L15 15",
|
|
@@ -2688,7 +2953,7 @@ var XMarkIcon2 = () => /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("svg", { wi
|
|
|
2688
2953
|
strokeLinecap: "round"
|
|
2689
2954
|
}
|
|
2690
2955
|
) });
|
|
2691
|
-
var ChevronLeftIcon = ({ className }) => /* @__PURE__ */ (0,
|
|
2956
|
+
var ChevronLeftIcon = ({ className }) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
2692
2957
|
"svg",
|
|
2693
2958
|
{
|
|
2694
2959
|
className,
|
|
@@ -2697,7 +2962,7 @@ var ChevronLeftIcon = ({ className }) => /* @__PURE__ */ (0, import_jsx_runtime2
|
|
|
2697
2962
|
viewBox: "0 0 24 24",
|
|
2698
2963
|
fill: "none",
|
|
2699
2964
|
"aria-hidden": "true",
|
|
2700
|
-
children: /* @__PURE__ */ (0,
|
|
2965
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
2701
2966
|
"path",
|
|
2702
2967
|
{
|
|
2703
2968
|
d: "M15 18L9 12L15 6",
|
|
@@ -2709,11 +2974,11 @@ var ChevronLeftIcon = ({ className }) => /* @__PURE__ */ (0, import_jsx_runtime2
|
|
|
2709
2974
|
)
|
|
2710
2975
|
}
|
|
2711
2976
|
);
|
|
2712
|
-
var GlobeIcon = ({ className }) => /* @__PURE__ */ (0,
|
|
2977
|
+
var GlobeIcon = ({ className }) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("img", { src: icon_globe_default, alt: "", "aria-hidden": "true", width: "20", height: "20", className });
|
|
2713
2978
|
var DropdownPanel = ({ item, onMouseEnter, onMouseLeave }) => {
|
|
2714
2979
|
const { dropdown } = item;
|
|
2715
2980
|
if (!dropdown) return null;
|
|
2716
|
-
return /* @__PURE__ */ (0,
|
|
2981
|
+
return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
2717
2982
|
import_framer_motion2.motion.div,
|
|
2718
2983
|
{
|
|
2719
2984
|
className: "navbar__dropdown",
|
|
@@ -2724,10 +2989,10 @@ var DropdownPanel = ({ item, onMouseEnter, onMouseLeave }) => {
|
|
|
2724
2989
|
transition: { duration: 0.18, ease: EASE_OUT_EXPO },
|
|
2725
2990
|
onMouseEnter,
|
|
2726
2991
|
onMouseLeave,
|
|
2727
|
-
children: /* @__PURE__ */ (0,
|
|
2728
|
-
/* @__PURE__ */ (0,
|
|
2729
|
-
/* @__PURE__ */ (0,
|
|
2730
|
-
section.items.map((link) => /* @__PURE__ */ (0,
|
|
2992
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: "navbar__dropdown-inner", children: [
|
|
2993
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: "navbar__dropdown-left", children: dropdown.columns.map((col, colIdx) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: "navbar__dropdown-col", children: col.sections.map((section) => /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: "navbar__dropdown-col-list", children: [
|
|
2994
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)("p", { className: "navbar__dropdown-col-title", children: section.title }),
|
|
2995
|
+
section.items.map((link) => /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
|
|
2731
2996
|
"a",
|
|
2732
2997
|
{
|
|
2733
2998
|
href: link.href,
|
|
@@ -2736,24 +3001,24 @@ var DropdownPanel = ({ item, onMouseEnter, onMouseLeave }) => {
|
|
|
2736
3001
|
rel: link.external ? "noopener noreferrer" : void 0,
|
|
2737
3002
|
children: [
|
|
2738
3003
|
link.label,
|
|
2739
|
-
link.external ? /* @__PURE__ */ (0,
|
|
3004
|
+
link.external ? /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(ArrowUpRightIcon, {}) : /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(ArrowRightIcon, {})
|
|
2740
3005
|
]
|
|
2741
3006
|
},
|
|
2742
3007
|
link.href
|
|
2743
3008
|
))
|
|
2744
3009
|
] }, section.title)) }, colIdx)) }),
|
|
2745
|
-
dropdown.feature && /* @__PURE__ */ (0,
|
|
3010
|
+
dropdown.feature && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: "navbar__dropdown-right", children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(FeatureCard, { feature: dropdown.feature }) })
|
|
2746
3011
|
] })
|
|
2747
3012
|
}
|
|
2748
3013
|
);
|
|
2749
3014
|
};
|
|
2750
|
-
var FeatureCard = ({ feature, mobile }) => /* @__PURE__ */ (0,
|
|
3015
|
+
var FeatureCard = ({ feature, mobile }) => /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
|
|
2751
3016
|
"div",
|
|
2752
3017
|
{
|
|
2753
3018
|
className: mobile ? "navbar__drawer-feature" : "navbar__dropdown-feature",
|
|
2754
3019
|
style: feature.backgroundImageUrl ? { backgroundImage: `url(${feature.backgroundImageUrl})` } : void 0,
|
|
2755
3020
|
children: [
|
|
2756
|
-
feature.backgroundImageUrl && /* @__PURE__ */ (0,
|
|
3021
|
+
feature.backgroundImageUrl && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
2757
3022
|
"img",
|
|
2758
3023
|
{
|
|
2759
3024
|
src: feature.backgroundImageUrl,
|
|
@@ -2762,20 +3027,20 @@ var FeatureCard = ({ feature, mobile }) => /* @__PURE__ */ (0, import_jsx_runtim
|
|
|
2762
3027
|
"aria-hidden": "true"
|
|
2763
3028
|
}
|
|
2764
3029
|
),
|
|
2765
|
-
/* @__PURE__ */ (0,
|
|
2766
|
-
/* @__PURE__ */ (0,
|
|
2767
|
-
/* @__PURE__ */ (0,
|
|
2768
|
-
/* @__PURE__ */ (0,
|
|
2769
|
-
/* @__PURE__ */ (0,
|
|
3030
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: mobile ? "navbar__drawer-feature-overlay" : "navbar__dropdown-feature-overlay", "aria-hidden": "true" }),
|
|
3031
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: mobile ? "navbar__drawer-feature-content" : "navbar__dropdown-feature-content", children: [
|
|
3032
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { children: [
|
|
3033
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)("p", { className: mobile ? "navbar__drawer-feature-title" : "navbar__dropdown-feature-title", children: feature.title }),
|
|
3034
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)("p", { className: mobile ? "navbar__drawer-feature-desc" : "navbar__dropdown-feature-desc", children: feature.description })
|
|
2770
3035
|
] }),
|
|
2771
|
-
/* @__PURE__ */ (0,
|
|
3036
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
|
|
2772
3037
|
"a",
|
|
2773
3038
|
{
|
|
2774
3039
|
href: feature.ctaHref,
|
|
2775
3040
|
className: mobile ? "navbar__drawer-feature-cta" : "navbar__dropdown-feature-cta",
|
|
2776
3041
|
children: [
|
|
2777
3042
|
feature.ctaLabel,
|
|
2778
|
-
/* @__PURE__ */ (0,
|
|
3043
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(ArrowRightIcon, {})
|
|
2779
3044
|
]
|
|
2780
3045
|
}
|
|
2781
3046
|
)
|
|
@@ -2785,8 +3050,8 @@ var FeatureCard = ({ feature, mobile }) => /* @__PURE__ */ (0, import_jsx_runtim
|
|
|
2785
3050
|
);
|
|
2786
3051
|
var DrawerAccordion = ({ item, isOpen, onToggle }) => {
|
|
2787
3052
|
const { dropdown } = item;
|
|
2788
|
-
return /* @__PURE__ */ (0,
|
|
2789
|
-
/* @__PURE__ */ (0,
|
|
3053
|
+
return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: "navbar__drawer-item", children: [
|
|
3054
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
|
|
2790
3055
|
"button",
|
|
2791
3056
|
{
|
|
2792
3057
|
className: `navbar__drawer-trigger ${isOpen ? "navbar__drawer-trigger--open" : ""}`,
|
|
@@ -2794,11 +3059,11 @@ var DrawerAccordion = ({ item, isOpen, onToggle }) => {
|
|
|
2794
3059
|
"aria-expanded": isOpen,
|
|
2795
3060
|
children: [
|
|
2796
3061
|
item.label,
|
|
2797
|
-
/* @__PURE__ */ (0,
|
|
3062
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(ChevronDownIcon3, { className: "navbar__drawer-trigger__chevron" })
|
|
2798
3063
|
]
|
|
2799
3064
|
}
|
|
2800
3065
|
),
|
|
2801
|
-
/* @__PURE__ */ (0,
|
|
3066
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_framer_motion2.AnimatePresence, { initial: false, children: isOpen && dropdown && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
2802
3067
|
import_framer_motion2.motion.div,
|
|
2803
3068
|
{
|
|
2804
3069
|
className: "navbar__drawer-panel",
|
|
@@ -2807,10 +3072,10 @@ var DrawerAccordion = ({ item, isOpen, onToggle }) => {
|
|
|
2807
3072
|
animate: "visible",
|
|
2808
3073
|
exit: "hidden",
|
|
2809
3074
|
transition: { duration: 0.22, ease: EASE_OUT_EXPO },
|
|
2810
|
-
children: /* @__PURE__ */ (0,
|
|
2811
|
-
/* @__PURE__ */ (0,
|
|
2812
|
-
/* @__PURE__ */ (0,
|
|
2813
|
-
/* @__PURE__ */ (0,
|
|
3075
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: "navbar__drawer-panel-inner", children: [
|
|
3076
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: "navbar__drawer-panel-cols", children: dropdown.columns.map((col, colIdx) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: "navbar__drawer-panel-col", children: col.sections.map((section) => /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: "navbar__drawer-col-section", children: [
|
|
3077
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)("p", { className: "navbar__drawer-col-title", children: section.title }),
|
|
3078
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: "navbar__drawer-col-links", children: section.items.map((link) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
2814
3079
|
"a",
|
|
2815
3080
|
{
|
|
2816
3081
|
href: link.href,
|
|
@@ -2822,7 +3087,7 @@ var DrawerAccordion = ({ item, isOpen, onToggle }) => {
|
|
|
2822
3087
|
link.href
|
|
2823
3088
|
)) })
|
|
2824
3089
|
] }, section.title)) }, colIdx)) }),
|
|
2825
|
-
dropdown.feature && /* @__PURE__ */ (0,
|
|
3090
|
+
dropdown.feature && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(FeatureCard, { feature: dropdown.feature, mobile: true })
|
|
2826
3091
|
] })
|
|
2827
3092
|
}
|
|
2828
3093
|
) })
|
|
@@ -2927,20 +3192,20 @@ var Navbar = ({
|
|
|
2927
3192
|
hoverTimeoutRef.current = setTimeout(() => setOpenDropdown(null), 120);
|
|
2928
3193
|
}, [clearHoverTimeout]);
|
|
2929
3194
|
const activeDropdownItem = navItems.find((item) => item.label === openDropdown);
|
|
2930
|
-
return /* @__PURE__ */ (0,
|
|
3195
|
+
return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
|
|
2931
3196
|
"nav",
|
|
2932
3197
|
{
|
|
2933
3198
|
className: ["navbar", `navbar--${theme}`, scrolled && "navbar--scrolled", mobileOpen && "navbar--menu-open", className].filter(Boolean).join(" "),
|
|
2934
3199
|
...props,
|
|
2935
3200
|
children: [
|
|
2936
|
-
/* @__PURE__ */ (0,
|
|
2937
|
-
/* @__PURE__ */ (0,
|
|
2938
|
-
/* @__PURE__ */ (0,
|
|
2939
|
-
/* @__PURE__ */ (0,
|
|
2940
|
-
/* @__PURE__ */ (0,
|
|
3201
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: "navbar__bar", children: [
|
|
3202
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)("a", { href: logoHref, className: "navbar__logo", "aria-label": "Home", children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("img", { src: resolvedLogo, alt: "Logo" }) }),
|
|
3203
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: "navbar__nav-center", ref: pillAreaRef, children: /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: "navbar__pill", children: [
|
|
3204
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)("a", { href: logoHref, className: "navbar__pill-logo", "aria-label": "Home", children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("img", { src: logoSrcDark ?? logoSrc, alt: "Logo" }) }),
|
|
3205
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: "navbar__nav-group", children: [
|
|
2941
3206
|
navItems.map((item) => {
|
|
2942
3207
|
if (item.external) {
|
|
2943
|
-
return /* @__PURE__ */ (0,
|
|
3208
|
+
return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
|
|
2944
3209
|
"a",
|
|
2945
3210
|
{
|
|
2946
3211
|
href: item.href,
|
|
@@ -2949,14 +3214,14 @@ var Navbar = ({
|
|
|
2949
3214
|
rel: "noopener noreferrer",
|
|
2950
3215
|
children: [
|
|
2951
3216
|
item.label,
|
|
2952
|
-
/* @__PURE__ */ (0,
|
|
3217
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(ArrowUpRightIcon, {})
|
|
2953
3218
|
]
|
|
2954
3219
|
},
|
|
2955
3220
|
item.label
|
|
2956
3221
|
);
|
|
2957
3222
|
}
|
|
2958
3223
|
if (item.dropdown) {
|
|
2959
|
-
return /* @__PURE__ */ (0,
|
|
3224
|
+
return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
|
|
2960
3225
|
"button",
|
|
2961
3226
|
{
|
|
2962
3227
|
className: [
|
|
@@ -2969,21 +3234,21 @@ var Navbar = ({
|
|
|
2969
3234
|
"aria-haspopup": "true",
|
|
2970
3235
|
children: [
|
|
2971
3236
|
item.label,
|
|
2972
|
-
/* @__PURE__ */ (0,
|
|
3237
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(ChevronDownIcon3, { className: "navbar__nav-item__chevron" })
|
|
2973
3238
|
]
|
|
2974
3239
|
},
|
|
2975
3240
|
item.label
|
|
2976
3241
|
);
|
|
2977
3242
|
}
|
|
2978
|
-
return /* @__PURE__ */ (0,
|
|
3243
|
+
return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("a", { href: item.href, className: "navbar__nav-item", children: item.label }, item.label);
|
|
2979
3244
|
}),
|
|
2980
|
-
languageLabel && /* @__PURE__ */ (0,
|
|
3245
|
+
languageLabel && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
2981
3246
|
"div",
|
|
2982
3247
|
{
|
|
2983
3248
|
className: "navbar__lang-wrapper",
|
|
2984
3249
|
onMouseEnter: hasLangDropdown ? handleLangEnter : void 0,
|
|
2985
3250
|
onMouseLeave: hasLangDropdown ? handleLangLeave : void 0,
|
|
2986
|
-
children: /* @__PURE__ */ (0,
|
|
3251
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
|
|
2987
3252
|
"button",
|
|
2988
3253
|
{
|
|
2989
3254
|
ref: langBtnRef,
|
|
@@ -2996,7 +3261,7 @@ var Navbar = ({
|
|
|
2996
3261
|
"aria-haspopup": hasLangDropdown ? "true" : void 0,
|
|
2997
3262
|
"aria-expanded": hasLangDropdown ? langDropdownOpen : void 0,
|
|
2998
3263
|
children: [
|
|
2999
|
-
/* @__PURE__ */ (0,
|
|
3264
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(GlobeIcon, { className: "navbar__lang-globe" }),
|
|
3000
3265
|
languageLabel
|
|
3001
3266
|
]
|
|
3002
3267
|
}
|
|
@@ -3004,12 +3269,12 @@ var Navbar = ({
|
|
|
3004
3269
|
}
|
|
3005
3270
|
)
|
|
3006
3271
|
] }),
|
|
3007
|
-
/* @__PURE__ */ (0,
|
|
3008
|
-
loginHref && /* @__PURE__ */ (0,
|
|
3009
|
-
ctaHref && /* @__PURE__ */ (0,
|
|
3272
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: "navbar__pill-actions", children: [
|
|
3273
|
+
loginHref && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("a", { href: loginHref, children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Button, { colorScheme: "black", variant: "secondary", label: loginLabel }) }),
|
|
3274
|
+
ctaHref && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("a", { href: ctaHref, children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Button, { colorScheme: "coral", variant: "primary", label: ctaLabel }) })
|
|
3010
3275
|
] })
|
|
3011
3276
|
] }) }),
|
|
3012
|
-
/* @__PURE__ */ (0,
|
|
3277
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_framer_motion2.AnimatePresence, { children: openDropdown && activeDropdownItem?.dropdown && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
3013
3278
|
DropdownPanel,
|
|
3014
3279
|
{
|
|
3015
3280
|
item: activeDropdownItem,
|
|
@@ -3018,7 +3283,7 @@ var Navbar = ({
|
|
|
3018
3283
|
},
|
|
3019
3284
|
"dropdown"
|
|
3020
3285
|
) }),
|
|
3021
|
-
/* @__PURE__ */ (0,
|
|
3286
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_framer_motion2.AnimatePresence, { children: hasLangDropdown && langDropdownOpen && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
3022
3287
|
import_framer_motion2.motion.div,
|
|
3023
3288
|
{
|
|
3024
3289
|
className: "navbar__lang-dropdown",
|
|
@@ -3029,12 +3294,12 @@ var Navbar = ({
|
|
|
3029
3294
|
transition: { duration: 0.18, ease: EASE_OUT_EXPO },
|
|
3030
3295
|
onMouseEnter: clearLangHoverTimeout,
|
|
3031
3296
|
onMouseLeave: handleLangLeave,
|
|
3032
|
-
children: /* @__PURE__ */ (0,
|
|
3297
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
3033
3298
|
"div",
|
|
3034
3299
|
{
|
|
3035
3300
|
className: "navbar__lang-dropdown-grid",
|
|
3036
3301
|
style: { "--lang-rows": Math.ceil(languageItems.length / 3) },
|
|
3037
|
-
children: languageItems.map((lang) => /* @__PURE__ */ (0,
|
|
3302
|
+
children: languageItems.map((lang) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
3038
3303
|
"button",
|
|
3039
3304
|
{
|
|
3040
3305
|
className: [
|
|
@@ -3050,8 +3315,8 @@ var Navbar = ({
|
|
|
3050
3315
|
)
|
|
3051
3316
|
}
|
|
3052
3317
|
) }),
|
|
3053
|
-
/* @__PURE__ */ (0,
|
|
3054
|
-
loginHref && /* @__PURE__ */ (0,
|
|
3318
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: "navbar__actions", children: [
|
|
3319
|
+
loginHref && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("a", { href: loginHref, className: "navbar__actions-login", children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
3055
3320
|
Button,
|
|
3056
3321
|
{
|
|
3057
3322
|
colorScheme: theme === "dark" ? "white" : "black",
|
|
@@ -3059,10 +3324,10 @@ var Navbar = ({
|
|
|
3059
3324
|
label: loginLabel
|
|
3060
3325
|
}
|
|
3061
3326
|
) }),
|
|
3062
|
-
ctaHref && /* @__PURE__ */ (0,
|
|
3327
|
+
ctaHref && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("a", { href: ctaHref, children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Button, { colorScheme: "coral", variant: "primary", label: ctaLabel }) })
|
|
3063
3328
|
] }),
|
|
3064
|
-
/* @__PURE__ */ (0,
|
|
3065
|
-
loginHref && /* @__PURE__ */ (0,
|
|
3329
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: "navbar__mobile-actions", children: [
|
|
3330
|
+
loginHref && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("a", { href: loginHref, children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
3066
3331
|
Button,
|
|
3067
3332
|
{
|
|
3068
3333
|
colorScheme: scrolled || theme === "light" ? "black" : "white",
|
|
@@ -3070,18 +3335,18 @@ var Navbar = ({
|
|
|
3070
3335
|
label: loginLabel
|
|
3071
3336
|
}
|
|
3072
3337
|
) }),
|
|
3073
|
-
/* @__PURE__ */ (0,
|
|
3338
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
3074
3339
|
"button",
|
|
3075
3340
|
{
|
|
3076
3341
|
className: "navbar__mobile-trigger",
|
|
3077
3342
|
onClick: () => setMobileOpen((o) => !o),
|
|
3078
3343
|
"aria-label": mobileOpen ? "Close navigation menu" : "Open navigation menu",
|
|
3079
|
-
children: mobileOpen ? /* @__PURE__ */ (0,
|
|
3344
|
+
children: mobileOpen ? /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(XMarkIcon2, {}) : /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(BarsIcon, {})
|
|
3080
3345
|
}
|
|
3081
3346
|
)
|
|
3082
3347
|
] })
|
|
3083
3348
|
] }),
|
|
3084
|
-
/* @__PURE__ */ (0,
|
|
3349
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: "navbar__drawer-clip", children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_framer_motion2.AnimatePresence, { children: mobileOpen && /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
|
|
3085
3350
|
import_framer_motion2.motion.div,
|
|
3086
3351
|
{
|
|
3087
3352
|
className: "navbar__drawer",
|
|
@@ -3094,10 +3359,10 @@ var Navbar = ({
|
|
|
3094
3359
|
role: "dialog",
|
|
3095
3360
|
"aria-label": "Navigation menu",
|
|
3096
3361
|
children: [
|
|
3097
|
-
/* @__PURE__ */ (0,
|
|
3362
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("nav", { className: "navbar__drawer-nav", children: [
|
|
3098
3363
|
navItems.map((item) => {
|
|
3099
3364
|
if (item.dropdown) {
|
|
3100
|
-
return /* @__PURE__ */ (0,
|
|
3365
|
+
return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
3101
3366
|
DrawerAccordion,
|
|
3102
3367
|
{
|
|
3103
3368
|
item,
|
|
@@ -3109,7 +3374,7 @@ var Navbar = ({
|
|
|
3109
3374
|
item.label
|
|
3110
3375
|
);
|
|
3111
3376
|
}
|
|
3112
|
-
return /* @__PURE__ */ (0,
|
|
3377
|
+
return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
|
|
3113
3378
|
"a",
|
|
3114
3379
|
{
|
|
3115
3380
|
href: item.href,
|
|
@@ -3118,30 +3383,30 @@ var Navbar = ({
|
|
|
3118
3383
|
rel: item.external ? "noopener noreferrer" : void 0,
|
|
3119
3384
|
children: [
|
|
3120
3385
|
item.label,
|
|
3121
|
-
item.external && /* @__PURE__ */ (0,
|
|
3386
|
+
item.external && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(ArrowUpRightIcon, {})
|
|
3122
3387
|
]
|
|
3123
3388
|
},
|
|
3124
3389
|
item.label
|
|
3125
3390
|
);
|
|
3126
3391
|
}),
|
|
3127
|
-
languageLabel && !hasLangDropdown && /* @__PURE__ */ (0,
|
|
3128
|
-
/* @__PURE__ */ (0,
|
|
3392
|
+
languageLabel && !hasLangDropdown && /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("button", { className: "navbar__drawer-lang", onClick: onLanguageClick, children: [
|
|
3393
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(GlobeIcon, { className: "navbar__lang-globe" }),
|
|
3129
3394
|
languageLabel
|
|
3130
3395
|
] }),
|
|
3131
|
-
languageLabel && hasLangDropdown && /* @__PURE__ */ (0,
|
|
3396
|
+
languageLabel && hasLangDropdown && /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
|
|
3132
3397
|
"button",
|
|
3133
3398
|
{
|
|
3134
3399
|
className: "navbar__drawer-lang",
|
|
3135
3400
|
onClick: () => setMobileLangOpen(true),
|
|
3136
3401
|
children: [
|
|
3137
|
-
/* @__PURE__ */ (0,
|
|
3402
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(GlobeIcon, { className: "navbar__lang-globe" }),
|
|
3138
3403
|
languageLabel
|
|
3139
3404
|
]
|
|
3140
3405
|
}
|
|
3141
3406
|
)
|
|
3142
3407
|
] }),
|
|
3143
|
-
!mobileLangOpen && /* @__PURE__ */ (0,
|
|
3144
|
-
loginHref && /* @__PURE__ */ (0,
|
|
3408
|
+
!mobileLangOpen && /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: "navbar__drawer-footer", children: [
|
|
3409
|
+
loginHref && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("a", { href: loginHref, style: { display: "block" }, children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
3145
3410
|
Button,
|
|
3146
3411
|
{
|
|
3147
3412
|
colorScheme: "black",
|
|
@@ -3150,7 +3415,7 @@ var Navbar = ({
|
|
|
3150
3415
|
fullWidth: true
|
|
3151
3416
|
}
|
|
3152
3417
|
) }),
|
|
3153
|
-
ctaHref && /* @__PURE__ */ (0,
|
|
3418
|
+
ctaHref && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("a", { href: ctaHref, style: { display: "block" }, children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
3154
3419
|
Button,
|
|
3155
3420
|
{
|
|
3156
3421
|
colorScheme: "coral",
|
|
@@ -3160,7 +3425,7 @@ var Navbar = ({
|
|
|
3160
3425
|
}
|
|
3161
3426
|
) })
|
|
3162
3427
|
] }),
|
|
3163
|
-
/* @__PURE__ */ (0,
|
|
3428
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_framer_motion2.AnimatePresence, { children: hasLangDropdown && mobileLangOpen && /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
|
|
3164
3429
|
import_framer_motion2.motion.div,
|
|
3165
3430
|
{
|
|
3166
3431
|
className: "navbar__drawer-lang-panel",
|
|
@@ -3169,16 +3434,16 @@ var Navbar = ({
|
|
|
3169
3434
|
exit: { y: "100%" },
|
|
3170
3435
|
transition: { duration: 0.25, ease: EASE_OUT_EXPO },
|
|
3171
3436
|
children: [
|
|
3172
|
-
/* @__PURE__ */ (0,
|
|
3437
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
3173
3438
|
"button",
|
|
3174
3439
|
{
|
|
3175
3440
|
className: "navbar__drawer-lang-back",
|
|
3176
3441
|
onClick: () => setMobileLangOpen(false),
|
|
3177
3442
|
"aria-label": "Back to menu",
|
|
3178
|
-
children: /* @__PURE__ */ (0,
|
|
3443
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(ChevronLeftIcon, {})
|
|
3179
3444
|
}
|
|
3180
3445
|
),
|
|
3181
|
-
/* @__PURE__ */ (0,
|
|
3446
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: "navbar__drawer-lang-grid", children: languageItems.map((lang) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
3182
3447
|
"button",
|
|
3183
3448
|
{
|
|
3184
3449
|
className: [
|
|
@@ -3279,7 +3544,7 @@ function webflowV2DayClipPercent(t, media) {
|
|
|
3279
3544
|
}
|
|
3280
3545
|
|
|
3281
3546
|
// templates/DayNightTransition/DayNightTransition.tsx
|
|
3282
|
-
var
|
|
3547
|
+
var import_jsx_runtime28 = require("react/jsx-runtime");
|
|
3283
3548
|
var SPRING2 = { stiffness: 80, damping: 30, restDelta: 1e-3 };
|
|
3284
3549
|
var FADE_START = 0.35;
|
|
3285
3550
|
var FADE_END = 0.65;
|
|
@@ -3416,15 +3681,15 @@ var DayNightTransition = ({
|
|
|
3416
3681
|
descriptionLevel === "body-lg" && "dnt--desc-body-lg",
|
|
3417
3682
|
className
|
|
3418
3683
|
].filter(Boolean).join(" ");
|
|
3419
|
-
return /* @__PURE__ */ (0,
|
|
3684
|
+
return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
|
|
3420
3685
|
"div",
|
|
3421
3686
|
{
|
|
3422
3687
|
ref: wrapperRef,
|
|
3423
3688
|
className: rootClass,
|
|
3424
3689
|
...props,
|
|
3425
3690
|
children: [
|
|
3426
|
-
webflowV2 && /* @__PURE__ */ (0,
|
|
3427
|
-
/* @__PURE__ */ (0,
|
|
3691
|
+
webflowV2 && /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: "dnt__v2-background-wrapper", "aria-hidden": "true", children: [
|
|
3692
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
3428
3693
|
import_framer_motion3.motion.div,
|
|
3429
3694
|
{
|
|
3430
3695
|
className: "dnt__v2-bg-day trade-day-night_background-day is-alternative",
|
|
@@ -3434,7 +3699,7 @@ var DayNightTransition = ({
|
|
|
3434
3699
|
}
|
|
3435
3700
|
}
|
|
3436
3701
|
),
|
|
3437
|
-
/* @__PURE__ */ (0,
|
|
3702
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
3438
3703
|
"div",
|
|
3439
3704
|
{
|
|
3440
3705
|
className: "dnt__v2-bg-night trade-day-night_background-night is-alternative",
|
|
@@ -3442,9 +3707,9 @@ var DayNightTransition = ({
|
|
|
3442
3707
|
}
|
|
3443
3708
|
)
|
|
3444
3709
|
] }),
|
|
3445
|
-
/* @__PURE__ */ (0,
|
|
3446
|
-
!webflowV2 && /* @__PURE__ */ (0,
|
|
3447
|
-
/* @__PURE__ */ (0,
|
|
3710
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: webflowV2 ? "dnt__sticky dnt__sticky--webflow-v2" : "dnt__sticky", children: [
|
|
3711
|
+
!webflowV2 && /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(import_jsx_runtime28.Fragment, { children: [
|
|
3712
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
3448
3713
|
"img",
|
|
3449
3714
|
{
|
|
3450
3715
|
className: "dnt__bg dnt__bg--day",
|
|
@@ -3454,7 +3719,7 @@ var DayNightTransition = ({
|
|
|
3454
3719
|
draggable: false
|
|
3455
3720
|
}
|
|
3456
3721
|
),
|
|
3457
|
-
/* @__PURE__ */ (0,
|
|
3722
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
3458
3723
|
import_framer_motion3.motion.img,
|
|
3459
3724
|
{
|
|
3460
3725
|
className: "dnt__bg dnt__bg--night",
|
|
@@ -3466,17 +3731,17 @@ var DayNightTransition = ({
|
|
|
3466
3731
|
}
|
|
3467
3732
|
)
|
|
3468
3733
|
] }),
|
|
3469
|
-
/* @__PURE__ */ (0,
|
|
3470
|
-
useInlineHeadline && inlineDayNightHeadline ? /* @__PURE__ */ (0,
|
|
3734
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { className: "dnt__content", children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { className: "dnt__inner", children: webflowV2 ? /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: "dnt__text-wrap", children: [
|
|
3735
|
+
useInlineHeadline && inlineDayNightHeadline ? /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
|
|
3471
3736
|
MotionHeadline,
|
|
3472
3737
|
{
|
|
3473
3738
|
className: "dnt__headline dnt__headline--inline-day-night",
|
|
3474
3739
|
style: { color: v2TitleColor },
|
|
3475
3740
|
"aria-label": `${inlineDayNightHeadline.prefix}${inlineDayNightHeadline.dayWord} / ${inlineDayNightHeadline.prefix}${inlineDayNightHeadline.nightWord}`,
|
|
3476
3741
|
children: [
|
|
3477
|
-
/* @__PURE__ */ (0,
|
|
3478
|
-
/* @__PURE__ */ (0,
|
|
3479
|
-
/* @__PURE__ */ (0,
|
|
3742
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { className: "dnt__headline-prefix", children: inlineDayNightHeadline.prefix }),
|
|
3743
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("span", { className: "dnt__headline-pair", children: [
|
|
3744
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
3480
3745
|
import_framer_motion3.motion.span,
|
|
3481
3746
|
{
|
|
3482
3747
|
ref: dayWordRef,
|
|
@@ -3485,7 +3750,7 @@ var DayNightTransition = ({
|
|
|
3485
3750
|
children: inlineDayNightHeadline.dayWord
|
|
3486
3751
|
}
|
|
3487
3752
|
),
|
|
3488
|
-
/* @__PURE__ */ (0,
|
|
3753
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
3489
3754
|
import_framer_motion3.motion.span,
|
|
3490
3755
|
{
|
|
3491
3756
|
className: "dnt__headline-wnight",
|
|
@@ -3500,8 +3765,8 @@ var DayNightTransition = ({
|
|
|
3500
3765
|
] })
|
|
3501
3766
|
]
|
|
3502
3767
|
}
|
|
3503
|
-
) : /* @__PURE__ */ (0,
|
|
3504
|
-
/* @__PURE__ */ (0,
|
|
3768
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: "dnt__crossfade-wrap", children: [
|
|
3769
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
3505
3770
|
MotionHeadline,
|
|
3506
3771
|
{
|
|
3507
3772
|
className: "dnt__headline",
|
|
@@ -3509,7 +3774,7 @@ var DayNightTransition = ({
|
|
|
3509
3774
|
children: dayHeadline
|
|
3510
3775
|
}
|
|
3511
3776
|
),
|
|
3512
|
-
/* @__PURE__ */ (0,
|
|
3777
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
3513
3778
|
MotionHeadline,
|
|
3514
3779
|
{
|
|
3515
3780
|
className: "dnt__headline",
|
|
@@ -3519,8 +3784,8 @@ var DayNightTransition = ({
|
|
|
3519
3784
|
}
|
|
3520
3785
|
)
|
|
3521
3786
|
] }),
|
|
3522
|
-
hasDescription && /* @__PURE__ */ (0,
|
|
3523
|
-
/* @__PURE__ */ (0,
|
|
3787
|
+
hasDescription && /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: "dnt__crossfade-wrap", children: [
|
|
3788
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
3524
3789
|
import_framer_motion3.motion.p,
|
|
3525
3790
|
{
|
|
3526
3791
|
className: "dnt__description",
|
|
@@ -3531,7 +3796,7 @@ var DayNightTransition = ({
|
|
|
3531
3796
|
children: dayDescription ?? ""
|
|
3532
3797
|
}
|
|
3533
3798
|
),
|
|
3534
|
-
/* @__PURE__ */ (0,
|
|
3799
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
3535
3800
|
import_framer_motion3.motion.p,
|
|
3536
3801
|
{
|
|
3537
3802
|
className: "dnt__description",
|
|
@@ -3544,22 +3809,22 @@ var DayNightTransition = ({
|
|
|
3544
3809
|
}
|
|
3545
3810
|
)
|
|
3546
3811
|
] }),
|
|
3547
|
-
!hideCta && /* @__PURE__ */ (0,
|
|
3548
|
-
] }) : /* @__PURE__ */ (0,
|
|
3812
|
+
!hideCta && /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("a", { href: ctaHref, className: "dnt__btn", children: ctaLabel })
|
|
3813
|
+
] }) : /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
|
|
3549
3814
|
import_framer_motion3.motion.div,
|
|
3550
3815
|
{
|
|
3551
3816
|
className: "dnt__text-wrap",
|
|
3552
3817
|
style: { color: textColor },
|
|
3553
3818
|
children: [
|
|
3554
|
-
useInlineHeadline && inlineDayNightHeadline ? /* @__PURE__ */ (0,
|
|
3819
|
+
useInlineHeadline && inlineDayNightHeadline ? /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
|
|
3555
3820
|
MotionHeadline,
|
|
3556
3821
|
{
|
|
3557
3822
|
className: "dnt__headline dnt__headline--inline-day-night",
|
|
3558
3823
|
"aria-label": `${inlineDayNightHeadline.prefix}${inlineDayNightHeadline.dayWord} / ${inlineDayNightHeadline.prefix}${inlineDayNightHeadline.nightWord}`,
|
|
3559
3824
|
children: [
|
|
3560
|
-
/* @__PURE__ */ (0,
|
|
3561
|
-
/* @__PURE__ */ (0,
|
|
3562
|
-
/* @__PURE__ */ (0,
|
|
3825
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { className: "dnt__headline-prefix", children: inlineDayNightHeadline.prefix }),
|
|
3826
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("span", { className: "dnt__headline-pair", children: [
|
|
3827
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
3563
3828
|
import_framer_motion3.motion.span,
|
|
3564
3829
|
{
|
|
3565
3830
|
ref: dayWordRef,
|
|
@@ -3568,7 +3833,7 @@ var DayNightTransition = ({
|
|
|
3568
3833
|
children: inlineDayNightHeadline.dayWord
|
|
3569
3834
|
}
|
|
3570
3835
|
),
|
|
3571
|
-
/* @__PURE__ */ (0,
|
|
3836
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
3572
3837
|
import_framer_motion3.motion.span,
|
|
3573
3838
|
{
|
|
3574
3839
|
className: "dnt__headline-wnight",
|
|
@@ -3583,8 +3848,8 @@ var DayNightTransition = ({
|
|
|
3583
3848
|
] })
|
|
3584
3849
|
]
|
|
3585
3850
|
}
|
|
3586
|
-
) : /* @__PURE__ */ (0,
|
|
3587
|
-
/* @__PURE__ */ (0,
|
|
3851
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: "dnt__crossfade-wrap", children: [
|
|
3852
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
3588
3853
|
MotionHeadline,
|
|
3589
3854
|
{
|
|
3590
3855
|
className: "dnt__headline",
|
|
@@ -3592,7 +3857,7 @@ var DayNightTransition = ({
|
|
|
3592
3857
|
children: dayHeadline
|
|
3593
3858
|
}
|
|
3594
3859
|
),
|
|
3595
|
-
/* @__PURE__ */ (0,
|
|
3860
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
3596
3861
|
MotionHeadline,
|
|
3597
3862
|
{
|
|
3598
3863
|
className: "dnt__headline",
|
|
@@ -3602,8 +3867,8 @@ var DayNightTransition = ({
|
|
|
3602
3867
|
}
|
|
3603
3868
|
)
|
|
3604
3869
|
] }),
|
|
3605
|
-
hasDescription && /* @__PURE__ */ (0,
|
|
3606
|
-
/* @__PURE__ */ (0,
|
|
3870
|
+
hasDescription && /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: "dnt__crossfade-wrap", children: [
|
|
3871
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
3607
3872
|
import_framer_motion3.motion.p,
|
|
3608
3873
|
{
|
|
3609
3874
|
className: "dnt__description",
|
|
@@ -3611,7 +3876,7 @@ var DayNightTransition = ({
|
|
|
3611
3876
|
children: dayDescription ?? ""
|
|
3612
3877
|
}
|
|
3613
3878
|
),
|
|
3614
|
-
/* @__PURE__ */ (0,
|
|
3879
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
3615
3880
|
import_framer_motion3.motion.p,
|
|
3616
3881
|
{
|
|
3617
3882
|
className: "dnt__description",
|
|
@@ -3621,7 +3886,7 @@ var DayNightTransition = ({
|
|
|
3621
3886
|
}
|
|
3622
3887
|
)
|
|
3623
3888
|
] }),
|
|
3624
|
-
!hideCta && /* @__PURE__ */ (0,
|
|
3889
|
+
!hideCta && /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("a", { href: ctaHref, className: "dnt__btn", children: ctaLabel })
|
|
3625
3890
|
]
|
|
3626
3891
|
}
|
|
3627
3892
|
) }) })
|
|
@@ -3648,7 +3913,7 @@ var dayNightTransitionV2Preset = {
|
|
|
3648
3913
|
// templates/LogoMarquee/LogoMarquee.tsx
|
|
3649
3914
|
var import_react16 = require("react");
|
|
3650
3915
|
var import_framer_motion4 = require("framer-motion");
|
|
3651
|
-
var
|
|
3916
|
+
var import_jsx_runtime29 = require("react/jsx-runtime");
|
|
3652
3917
|
function modWrap(min, max, v) {
|
|
3653
3918
|
const range = max - min;
|
|
3654
3919
|
return ((v - min) % range + range) % range + min;
|
|
@@ -3719,21 +3984,21 @@ var LogoMarquee = ({
|
|
|
3719
3984
|
});
|
|
3720
3985
|
const track1 = [...col1Logos, ...col1Logos];
|
|
3721
3986
|
const track2 = [...col2Logos, ...col2Logos];
|
|
3722
|
-
return /* @__PURE__ */ (0,
|
|
3987
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
3723
3988
|
"section",
|
|
3724
3989
|
{
|
|
3725
3990
|
className: ["lm", className].filter(Boolean).join(" "),
|
|
3726
3991
|
...props,
|
|
3727
|
-
children: /* @__PURE__ */ (0,
|
|
3728
|
-
/* @__PURE__ */ (0,
|
|
3729
|
-
/* @__PURE__ */ (0,
|
|
3730
|
-
/* @__PURE__ */ (0,
|
|
3992
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)("div", { className: "lm__inner", children: [
|
|
3993
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { className: "lm__media", children: /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)("div", { className: "lm__carousel", children: [
|
|
3994
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { className: "lm__fade lm__fade--top", "aria-hidden": "true" }),
|
|
3995
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
3731
3996
|
import_framer_motion4.motion.div,
|
|
3732
3997
|
{
|
|
3733
3998
|
ref: col1Ref,
|
|
3734
3999
|
className: "lm__col",
|
|
3735
4000
|
style: { y: col1Y },
|
|
3736
|
-
children: track1.map((logo, i) => /* @__PURE__ */ (0,
|
|
4001
|
+
children: track1.map((logo, i) => /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { className: "lm__card", children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { className: "lm__card-img-wrap", children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
3737
4002
|
"img",
|
|
3738
4003
|
{
|
|
3739
4004
|
src: logo.url,
|
|
@@ -3744,13 +4009,13 @@ var LogoMarquee = ({
|
|
|
3744
4009
|
) }) }, `c1-${i}`))
|
|
3745
4010
|
}
|
|
3746
4011
|
),
|
|
3747
|
-
/* @__PURE__ */ (0,
|
|
4012
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
3748
4013
|
import_framer_motion4.motion.div,
|
|
3749
4014
|
{
|
|
3750
4015
|
ref: col2Ref,
|
|
3751
4016
|
className: "lm__col",
|
|
3752
4017
|
style: { y: col2Y },
|
|
3753
|
-
children: track2.map((logo, i) => /* @__PURE__ */ (0,
|
|
4018
|
+
children: track2.map((logo, i) => /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { className: "lm__card", children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { className: "lm__card-img-wrap", children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
3754
4019
|
"img",
|
|
3755
4020
|
{
|
|
3756
4021
|
src: logo.url,
|
|
@@ -3761,17 +4026,17 @@ var LogoMarquee = ({
|
|
|
3761
4026
|
) }) }, `c2-${i}`))
|
|
3762
4027
|
}
|
|
3763
4028
|
),
|
|
3764
|
-
/* @__PURE__ */ (0,
|
|
4029
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { className: "lm__fade lm__fade--bottom", "aria-hidden": "true" })
|
|
3765
4030
|
] }) }),
|
|
3766
|
-
/* @__PURE__ */ (0,
|
|
3767
|
-
/* @__PURE__ */ (0,
|
|
3768
|
-
/* @__PURE__ */ (0,
|
|
3769
|
-
/* @__PURE__ */ (0,
|
|
3770
|
-
/* @__PURE__ */ (0,
|
|
4031
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsxs)("div", { className: "lm__content", children: [
|
|
4032
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)("h2", { className: "lm__headline", children: headline }),
|
|
4033
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsxs)("div", { className: "lm__text-group", children: [
|
|
4034
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)("p", { className: "lm__body", children: body }),
|
|
4035
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)("p", { className: "lm__disclaimer", children: disclaimer })
|
|
3771
4036
|
] }),
|
|
3772
|
-
/* @__PURE__ */ (0,
|
|
4037
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsxs)("a", { href: ctaHref, className: "lm__link", children: [
|
|
3773
4038
|
ctaLabel,
|
|
3774
|
-
/* @__PURE__ */ (0,
|
|
4039
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)("span", { className: "lm__link-icon", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime29.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_runtime29.jsx)("path", { d: "M3 8H13M13 8L9 4M13 8L9 12", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) }) })
|
|
3775
4040
|
] })
|
|
3776
4041
|
] })
|
|
3777
4042
|
] })
|
|
@@ -3822,7 +4087,7 @@ var appstore_linux_dark_default = "./appstore-linux-dark-RVH7CBM4.svg";
|
|
|
3822
4087
|
var appstore_browser_dark_default = "./appstore-browser-dark-2E6TK6JH.svg";
|
|
3823
4088
|
|
|
3824
4089
|
// primitives/DownloadBadge/DownloadBadge.tsx
|
|
3825
|
-
var
|
|
4090
|
+
var import_jsx_runtime30 = require("react/jsx-runtime");
|
|
3826
4091
|
var BADGE_ASSETS = {
|
|
3827
4092
|
light: {
|
|
3828
4093
|
googleplay: { src: appstore_googleplay_light_default, alt: "Get it on Google Play" },
|
|
@@ -3851,7 +4116,7 @@ var DownloadBadge = ({
|
|
|
3851
4116
|
...props
|
|
3852
4117
|
}) => {
|
|
3853
4118
|
const { src, alt } = BADGE_ASSETS[colorScheme][platform];
|
|
3854
|
-
return /* @__PURE__ */ (0,
|
|
4119
|
+
return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
3855
4120
|
"a",
|
|
3856
4121
|
{
|
|
3857
4122
|
className: [
|
|
@@ -3864,13 +4129,13 @@ var DownloadBadge = ({
|
|
|
3864
4129
|
target: "_blank",
|
|
3865
4130
|
rel: "noopener noreferrer",
|
|
3866
4131
|
...props,
|
|
3867
|
-
children: /* @__PURE__ */ (0,
|
|
4132
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("img", { className: "download-badge__img", src, alt })
|
|
3868
4133
|
}
|
|
3869
4134
|
);
|
|
3870
4135
|
};
|
|
3871
4136
|
|
|
3872
4137
|
// templates/Steps/Steps.tsx
|
|
3873
|
-
var
|
|
4138
|
+
var import_jsx_runtime31 = require("react/jsx-runtime");
|
|
3874
4139
|
var Steps = ({
|
|
3875
4140
|
title,
|
|
3876
4141
|
steps,
|
|
@@ -3882,8 +4147,8 @@ var Steps = ({
|
|
|
3882
4147
|
"steps__container",
|
|
3883
4148
|
imagePosition === "right" ? "steps__container--image-right" : ""
|
|
3884
4149
|
].filter(Boolean).join(" ");
|
|
3885
|
-
return /* @__PURE__ */ (0,
|
|
3886
|
-
image && /* @__PURE__ */ (0,
|
|
4150
|
+
return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("section", { className: "steps", children: /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)("div", { className: containerClass, children: [
|
|
4151
|
+
image && /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("div", { className: "steps__image-wrapper", children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
3887
4152
|
"img",
|
|
3888
4153
|
{
|
|
3889
4154
|
src: image,
|
|
@@ -3891,13 +4156,13 @@ var Steps = ({
|
|
|
3891
4156
|
className: "steps__image"
|
|
3892
4157
|
}
|
|
3893
4158
|
) }),
|
|
3894
|
-
/* @__PURE__ */ (0,
|
|
3895
|
-
/* @__PURE__ */ (0,
|
|
3896
|
-
/* @__PURE__ */ (0,
|
|
3897
|
-
/* @__PURE__ */ (0,
|
|
3898
|
-
/* @__PURE__ */ (0,
|
|
3899
|
-
/* @__PURE__ */ (0,
|
|
3900
|
-
/* @__PURE__ */ (0,
|
|
4159
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsxs)("div", { className: "steps__content", children: [
|
|
4160
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)("h2", { className: "steps__title", children: title }),
|
|
4161
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)("ol", { className: "steps__list", children: steps.map((step, index) => /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("li", { className: "steps__item", children: /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)("div", { className: "steps__item-inner", children: [
|
|
4162
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)("span", { className: "steps__number", "aria-hidden": "true", children: index + 1 }),
|
|
4163
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsxs)("div", { className: "steps__item-body", children: [
|
|
4164
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)("h3", { className: "steps__item-title", children: step.title }),
|
|
4165
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)("p", { className: "steps__item-description", children: step.description })
|
|
3901
4166
|
] })
|
|
3902
4167
|
] }) }, index)) })
|
|
3903
4168
|
] })
|
|
@@ -3905,7 +4170,7 @@ var Steps = ({
|
|
|
3905
4170
|
};
|
|
3906
4171
|
|
|
3907
4172
|
// templates/DownloadBanner/DownloadBanner.tsx
|
|
3908
|
-
var
|
|
4173
|
+
var import_jsx_runtime32 = require("react/jsx-runtime");
|
|
3909
4174
|
var DownloadBanner = ({
|
|
3910
4175
|
style = "light-2",
|
|
3911
4176
|
qrCodeImage,
|
|
@@ -3930,9 +4195,9 @@ var DownloadBanner = ({
|
|
|
3930
4195
|
disclaimer
|
|
3931
4196
|
}) => {
|
|
3932
4197
|
const colorScheme = style === "dark" ? "dark" : "light";
|
|
3933
|
-
return /* @__PURE__ */ (0,
|
|
3934
|
-
/* @__PURE__ */ (0,
|
|
3935
|
-
qrCodeImage && /* @__PURE__ */ (0,
|
|
4198
|
+
return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("section", { className: `db-section db-section--${style}`, children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("div", { className: "db-container", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: "db-card", children: [
|
|
4199
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: "db-qr-block", children: [
|
|
4200
|
+
qrCodeImage && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
3936
4201
|
"img",
|
|
3937
4202
|
{
|
|
3938
4203
|
className: "db-qr-image",
|
|
@@ -3940,21 +4205,21 @@ var DownloadBanner = ({
|
|
|
3940
4205
|
alt: qrCodeAlt
|
|
3941
4206
|
}
|
|
3942
4207
|
),
|
|
3943
|
-
/* @__PURE__ */ (0,
|
|
3944
|
-
/* @__PURE__ */ (0,
|
|
3945
|
-
/* @__PURE__ */ (0,
|
|
3946
|
-
/* @__PURE__ */ (0,
|
|
3947
|
-
disclaimer && /* @__PURE__ */ (0,
|
|
4208
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: "db-qr-text", children: [
|
|
4209
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)("span", { className: "db-qr-text__title db-qr-text__title--desktop", children: qrTitle }),
|
|
4210
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)("h2", { className: "db-qr-text__subtitle db-qr-text__subtitle--desktop", children: qrSubtitle }),
|
|
4211
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)("span", { className: "db-qr-text__title db-qr-text__title--mobile", children: mobileTitle }),
|
|
4212
|
+
disclaimer && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("span", { className: "db-disclaimer", children: disclaimer })
|
|
3948
4213
|
] })
|
|
3949
4214
|
] }),
|
|
3950
|
-
/* @__PURE__ */ (0,
|
|
3951
|
-
showGooglePlay && /* @__PURE__ */ (0,
|
|
3952
|
-
showAppGallery && /* @__PURE__ */ (0,
|
|
3953
|
-
showMacOS && /* @__PURE__ */ (0,
|
|
3954
|
-
showWindows && /* @__PURE__ */ (0,
|
|
3955
|
-
showLinux && /* @__PURE__ */ (0,
|
|
3956
|
-
showAppStore && /* @__PURE__ */ (0,
|
|
3957
|
-
showWeb && /* @__PURE__ */ (0,
|
|
4215
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: "db-badges", children: [
|
|
4216
|
+
showGooglePlay && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(DownloadBadge, { platform: "googleplay", colorScheme, href: googlePlayHref }),
|
|
4217
|
+
showAppGallery && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(DownloadBadge, { platform: "appgallery", colorScheme, href: appGalleryHref }),
|
|
4218
|
+
showMacOS && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(DownloadBadge, { platform: "macos", colorScheme, href: macOSHref }),
|
|
4219
|
+
showWindows && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(DownloadBadge, { platform: "windows", colorScheme, href: windowsHref }),
|
|
4220
|
+
showLinux && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(DownloadBadge, { platform: "linux", colorScheme, href: linuxHref }),
|
|
4221
|
+
showAppStore && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(DownloadBadge, { platform: "appstore", colorScheme, href: appStoreHref }),
|
|
4222
|
+
showWeb && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(DownloadBadge, { platform: "web", colorScheme, href: webHref })
|
|
3958
4223
|
] })
|
|
3959
4224
|
] }) }) });
|
|
3960
4225
|
};
|
|
@@ -3963,7 +4228,7 @@ var DownloadBanner = ({
|
|
|
3963
4228
|
var import_react17 = require("react");
|
|
3964
4229
|
var import_gsap = require("gsap");
|
|
3965
4230
|
var import_ScrollTrigger = require("gsap/ScrollTrigger");
|
|
3966
|
-
var
|
|
4231
|
+
var import_jsx_runtime33 = require("react/jsx-runtime");
|
|
3967
4232
|
import_gsap.gsap.registerPlugin(import_ScrollTrigger.ScrollTrigger);
|
|
3968
4233
|
var TextScroll = ({ text, className }) => {
|
|
3969
4234
|
const sectionRef = (0, import_react17.useRef)(null);
|
|
@@ -4003,12 +4268,12 @@ var TextScroll = ({ text, className }) => {
|
|
|
4003
4268
|
import_gsap.gsap.set(wordEls, { clearProps: "opacity" });
|
|
4004
4269
|
};
|
|
4005
4270
|
}, [text]);
|
|
4006
|
-
return /* @__PURE__ */ (0,
|
|
4271
|
+
return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
4007
4272
|
"section",
|
|
4008
4273
|
{
|
|
4009
4274
|
ref: sectionRef,
|
|
4010
4275
|
className: ["ts", className].filter(Boolean).join(" "),
|
|
4011
|
-
children: /* @__PURE__ */ (0,
|
|
4276
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { className: "ts__inner", children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("p", { className: "ts__text", "aria-label": text, children: words.map((word, i) => /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
|
|
4012
4277
|
"span",
|
|
4013
4278
|
{
|
|
4014
4279
|
ref: (el) => {
|
|
@@ -4026,6 +4291,446 @@ var TextScroll = ({ text, className }) => {
|
|
|
4026
4291
|
}
|
|
4027
4292
|
);
|
|
4028
4293
|
};
|
|
4294
|
+
|
|
4295
|
+
// templates/StickyMarketCards/StickyMarketCards.tsx
|
|
4296
|
+
var import_react18 = require("react");
|
|
4297
|
+
var import_jsx_runtime34 = require("react/jsx-runtime");
|
|
4298
|
+
var PLACEHOLDER_IMAGE3 = "https://cdn.prod.website-files.com/68da5c86c91c54f39c86c28a/69b9309379ac08e59ca8210a_1f3f555da9a5cbb13a6fe1bf0d5fe1b6_placeholder-image.webp";
|
|
4299
|
+
var StickyMarketCards = ({
|
|
4300
|
+
sectionTitle,
|
|
4301
|
+
sectionDescription,
|
|
4302
|
+
items,
|
|
4303
|
+
className,
|
|
4304
|
+
...props
|
|
4305
|
+
}) => {
|
|
4306
|
+
const cardRefs = (0, import_react18.useRef)([]);
|
|
4307
|
+
const cardInnerRefs = (0, import_react18.useRef)([]);
|
|
4308
|
+
(0, import_react18.useEffect)(() => {
|
|
4309
|
+
if (typeof window === "undefined") return;
|
|
4310
|
+
let rafId = 0;
|
|
4311
|
+
const update = () => {
|
|
4312
|
+
const wrappers = cardRefs.current.filter(Boolean);
|
|
4313
|
+
const inners = cardInnerRefs.current.filter(Boolean);
|
|
4314
|
+
const n2 = wrappers.length;
|
|
4315
|
+
wrappers.forEach((wrapper, i) => {
|
|
4316
|
+
const inner = inners[i];
|
|
4317
|
+
if (!inner) return;
|
|
4318
|
+
if (i === n2 - 1) {
|
|
4319
|
+
inner.style.transform = "scale(1)";
|
|
4320
|
+
inner.style.filter = "brightness(1)";
|
|
4321
|
+
return;
|
|
4322
|
+
}
|
|
4323
|
+
const nextWrapper = wrappers[i + 1];
|
|
4324
|
+
if (!nextWrapper) return;
|
|
4325
|
+
const currentRect = wrapper.getBoundingClientRect();
|
|
4326
|
+
const nextRect = nextWrapper.getBoundingClientRect();
|
|
4327
|
+
const overlap = currentRect.bottom - nextRect.top;
|
|
4328
|
+
if (overlap > 0) {
|
|
4329
|
+
const progress = Math.min(overlap / currentRect.height, 1);
|
|
4330
|
+
inner.style.transform = `scale(${(1 - progress * 0.05).toFixed(4)})`;
|
|
4331
|
+
inner.style.filter = `brightness(${(1 - progress * 0.4).toFixed(4)})`;
|
|
4332
|
+
} else {
|
|
4333
|
+
inner.style.transform = "scale(1)";
|
|
4334
|
+
inner.style.filter = "brightness(1)";
|
|
4335
|
+
}
|
|
4336
|
+
});
|
|
4337
|
+
};
|
|
4338
|
+
const onScroll = () => {
|
|
4339
|
+
cancelAnimationFrame(rafId);
|
|
4340
|
+
rafId = requestAnimationFrame(update);
|
|
4341
|
+
};
|
|
4342
|
+
window.addEventListener("scroll", onScroll, { passive: true });
|
|
4343
|
+
update();
|
|
4344
|
+
return () => {
|
|
4345
|
+
window.removeEventListener("scroll", onScroll);
|
|
4346
|
+
cancelAnimationFrame(rafId);
|
|
4347
|
+
};
|
|
4348
|
+
}, [items.length]);
|
|
4349
|
+
(0, import_react18.useEffect)(() => {
|
|
4350
|
+
if (typeof window === "undefined") return;
|
|
4351
|
+
const syncHeights = () => {
|
|
4352
|
+
const inners = cardInnerRefs.current.filter(Boolean);
|
|
4353
|
+
if (!inners.length) return;
|
|
4354
|
+
inners.forEach((inner) => {
|
|
4355
|
+
inner.style.minHeight = "";
|
|
4356
|
+
});
|
|
4357
|
+
let maxH = 0;
|
|
4358
|
+
inners.forEach((inner) => {
|
|
4359
|
+
const h = inner.getBoundingClientRect().height;
|
|
4360
|
+
if (h > maxH) maxH = h;
|
|
4361
|
+
});
|
|
4362
|
+
inners.forEach((inner) => {
|
|
4363
|
+
inner.style.minHeight = `${maxH}px`;
|
|
4364
|
+
});
|
|
4365
|
+
};
|
|
4366
|
+
syncHeights();
|
|
4367
|
+
window.addEventListener("resize", syncHeights);
|
|
4368
|
+
if (document.fonts && document.fonts.ready) {
|
|
4369
|
+
document.fonts.ready.then(syncHeights);
|
|
4370
|
+
}
|
|
4371
|
+
return () => {
|
|
4372
|
+
window.removeEventListener("resize", syncHeights);
|
|
4373
|
+
};
|
|
4374
|
+
}, [items.length]);
|
|
4375
|
+
const n = items.length;
|
|
4376
|
+
const maxStack = 4;
|
|
4377
|
+
const baseIndex = Math.max(0, n - maxStack);
|
|
4378
|
+
return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
|
|
4379
|
+
"section",
|
|
4380
|
+
{
|
|
4381
|
+
className: ["smc", className].filter(Boolean).join(" "),
|
|
4382
|
+
...props,
|
|
4383
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: "smc__inner", children: [
|
|
4384
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: "smc__header-wrap", children: [
|
|
4385
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)("h2", { className: "smc__header", children: sectionTitle }),
|
|
4386
|
+
sectionDescription && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("p", { className: "smc__description", children: sectionDescription })
|
|
4387
|
+
] }),
|
|
4388
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { className: "smc__track", children: items.map((item, i) => {
|
|
4389
|
+
const theme = item.theme ?? "dark";
|
|
4390
|
+
const offsetMultiplier = Math.max(0, i - baseIndex);
|
|
4391
|
+
return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
|
|
4392
|
+
"div",
|
|
4393
|
+
{
|
|
4394
|
+
ref: (el) => {
|
|
4395
|
+
cardRefs.current[i] = el;
|
|
4396
|
+
},
|
|
4397
|
+
className: "smc__card",
|
|
4398
|
+
style: {
|
|
4399
|
+
["--smc-card-index"]: String(offsetMultiplier),
|
|
4400
|
+
zIndex: i + 1
|
|
4401
|
+
},
|
|
4402
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
|
|
4403
|
+
"div",
|
|
4404
|
+
{
|
|
4405
|
+
ref: (el) => {
|
|
4406
|
+
cardInnerRefs.current[i] = el;
|
|
4407
|
+
},
|
|
4408
|
+
className: [
|
|
4409
|
+
"smc__card-inner",
|
|
4410
|
+
`smc__card-inner--${theme}`
|
|
4411
|
+
].join(" "),
|
|
4412
|
+
children: [
|
|
4413
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: "smc__card-bg", children: [
|
|
4414
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
|
|
4415
|
+
"img",
|
|
4416
|
+
{
|
|
4417
|
+
src: item.imageUrl ?? PLACEHOLDER_IMAGE3,
|
|
4418
|
+
alt: "",
|
|
4419
|
+
"aria-hidden": "true",
|
|
4420
|
+
loading: i === 0 ? "eager" : "lazy"
|
|
4421
|
+
}
|
|
4422
|
+
),
|
|
4423
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
|
|
4424
|
+
"div",
|
|
4425
|
+
{
|
|
4426
|
+
className: [
|
|
4427
|
+
"smc__card-overlay",
|
|
4428
|
+
`smc__card-overlay--${theme}`
|
|
4429
|
+
].join(" ")
|
|
4430
|
+
}
|
|
4431
|
+
)
|
|
4432
|
+
] }),
|
|
4433
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: "smc__card-content", children: [
|
|
4434
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { className: "smc__card-title-wrap", children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("h3", { className: "smc__card-title", children: item.title }) }),
|
|
4435
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { className: "smc__card-desc-wrap", children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("p", { className: "smc__card-desc", children: item.description }) })
|
|
4436
|
+
] })
|
|
4437
|
+
]
|
|
4438
|
+
}
|
|
4439
|
+
)
|
|
4440
|
+
},
|
|
4441
|
+
i
|
|
4442
|
+
);
|
|
4443
|
+
}) })
|
|
4444
|
+
] })
|
|
4445
|
+
}
|
|
4446
|
+
);
|
|
4447
|
+
};
|
|
4448
|
+
|
|
4449
|
+
// templates/Table/Table.tsx
|
|
4450
|
+
var import_react19 = require("react");
|
|
4451
|
+
var import_jsx_runtime35 = require("react/jsx-runtime");
|
|
4452
|
+
var InfoIcon = ({ className }) => /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", className, children: [
|
|
4453
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)("circle", { cx: "12", cy: "12", r: "10", stroke: "currentColor", strokeWidth: "1.5" }),
|
|
4454
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)("path", { d: "M12 16V12", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" }),
|
|
4455
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)("circle", { cx: "12", cy: "8", r: "1", fill: "currentColor", stroke: "currentColor", strokeWidth: "1" })
|
|
4456
|
+
] });
|
|
4457
|
+
var Table = ({
|
|
4458
|
+
sectionTitle,
|
|
4459
|
+
columns,
|
|
4460
|
+
rows,
|
|
4461
|
+
mainColumnKey,
|
|
4462
|
+
pageSize = 10,
|
|
4463
|
+
searchPlaceholder = "Search",
|
|
4464
|
+
infoText,
|
|
4465
|
+
className,
|
|
4466
|
+
...props
|
|
4467
|
+
}) => {
|
|
4468
|
+
const [search, setSearch] = (0, import_react19.useState)("");
|
|
4469
|
+
const [page, setPage] = (0, import_react19.useState)(1);
|
|
4470
|
+
const [tooltip, setTooltip] = (0, import_react19.useState)({ visible: false, heading: "", description: "", x: 0, y: 0, arrowOffset: 0 });
|
|
4471
|
+
const mainKey = mainColumnKey ?? columns.find((c) => c.width === "main")?.key ?? columns[0]?.key;
|
|
4472
|
+
const filtered = (0, import_react19.useMemo)(() => {
|
|
4473
|
+
const q = search.trim().toLowerCase();
|
|
4474
|
+
if (!q) return rows;
|
|
4475
|
+
return rows.filter(
|
|
4476
|
+
(row) => Object.values(row).some((v) => v.toLowerCase().includes(q))
|
|
4477
|
+
);
|
|
4478
|
+
}, [rows, search]);
|
|
4479
|
+
const totalPages = Math.max(1, Math.ceil(filtered.length / pageSize));
|
|
4480
|
+
const currentPage = Math.min(page, totalPages);
|
|
4481
|
+
const startIdx = (currentPage - 1) * pageSize;
|
|
4482
|
+
const endIdx = Math.min(startIdx + pageSize, filtered.length);
|
|
4483
|
+
const visible = filtered.slice(startIdx, endIdx);
|
|
4484
|
+
const handleSearch = (e) => {
|
|
4485
|
+
setSearch(e.target.value);
|
|
4486
|
+
setPage(1);
|
|
4487
|
+
};
|
|
4488
|
+
const handleClear = () => {
|
|
4489
|
+
setSearch("");
|
|
4490
|
+
setPage(1);
|
|
4491
|
+
};
|
|
4492
|
+
return /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("section", { className: ["tbl-section", className].filter(Boolean).join(" "), ...props, children: [
|
|
4493
|
+
sectionTitle && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "tbl-section__header", children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("h2", { className: "tbl-section__title", children: sectionTitle }) }),
|
|
4494
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("div", { className: "tbl-section__content", children: [
|
|
4495
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("div", { className: "tbl", children: [
|
|
4496
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("div", { className: "tbl__topbar", children: [
|
|
4497
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "tbl__search-wrap", children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
4498
|
+
SearchField,
|
|
4499
|
+
{
|
|
4500
|
+
placeholder: searchPlaceholder,
|
|
4501
|
+
value: search,
|
|
4502
|
+
onChange: handleSearch,
|
|
4503
|
+
onClear: handleClear,
|
|
4504
|
+
variant: "fill",
|
|
4505
|
+
"aria-label": searchPlaceholder
|
|
4506
|
+
}
|
|
4507
|
+
) }),
|
|
4508
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "tbl__summary", children: filtered.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(import_jsx_runtime35.Fragment, { children: [
|
|
4509
|
+
"Showing ",
|
|
4510
|
+
startIdx + 1,
|
|
4511
|
+
"- ",
|
|
4512
|
+
endIdx,
|
|
4513
|
+
" of ",
|
|
4514
|
+
filtered.length
|
|
4515
|
+
] }) : "No results" })
|
|
4516
|
+
] }),
|
|
4517
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "tbl__scroll-wrapper", children: /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("table", { className: "tbl__table", children: [
|
|
4518
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)("thead", { children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("tr", { className: "tbl__tr", children: columns.map((col, colIdx) => {
|
|
4519
|
+
const isFirst = colIdx === 0;
|
|
4520
|
+
const isLast = colIdx === columns.length - 1;
|
|
4521
|
+
const isMain = col.width === "main" || col.key === mainKey;
|
|
4522
|
+
return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
4523
|
+
"th",
|
|
4524
|
+
{
|
|
4525
|
+
className: [
|
|
4526
|
+
"tbl__th",
|
|
4527
|
+
isMain ? "tbl__th--main" : "",
|
|
4528
|
+
col.width === "big" ? "tbl__th--big" : ""
|
|
4529
|
+
].filter(Boolean).join(" "),
|
|
4530
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
4531
|
+
"div",
|
|
4532
|
+
{
|
|
4533
|
+
className: "tbl__th-inner",
|
|
4534
|
+
onMouseEnter: (e) => {
|
|
4535
|
+
if (!col.tooltip) return;
|
|
4536
|
+
const rect = e.currentTarget.getBoundingClientRect();
|
|
4537
|
+
const targetX = rect.left + rect.width / 2;
|
|
4538
|
+
const targetY = rect.top;
|
|
4539
|
+
const tooltipHalfWidth = 104;
|
|
4540
|
+
const margin = 16;
|
|
4541
|
+
const clampedX = Math.max(
|
|
4542
|
+
margin + tooltipHalfWidth,
|
|
4543
|
+
Math.min(window.innerWidth - margin - tooltipHalfWidth, targetX)
|
|
4544
|
+
);
|
|
4545
|
+
const arrowOffset = targetX - clampedX;
|
|
4546
|
+
setTooltip({
|
|
4547
|
+
visible: true,
|
|
4548
|
+
heading: col.tooltip.heading,
|
|
4549
|
+
description: col.tooltip.description,
|
|
4550
|
+
x: clampedX,
|
|
4551
|
+
y: targetY,
|
|
4552
|
+
arrowOffset
|
|
4553
|
+
});
|
|
4554
|
+
},
|
|
4555
|
+
onMouseLeave: () => {
|
|
4556
|
+
if (col.tooltip) {
|
|
4557
|
+
setTooltip((prev) => ({ ...prev, visible: false }));
|
|
4558
|
+
}
|
|
4559
|
+
},
|
|
4560
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime35.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_runtime35.jsxs)("span", { children: [
|
|
4561
|
+
line,
|
|
4562
|
+
li < col.header.length - 1 && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("br", {})
|
|
4563
|
+
] }, li)) : col.header })
|
|
4564
|
+
}
|
|
4565
|
+
)
|
|
4566
|
+
},
|
|
4567
|
+
col.key
|
|
4568
|
+
);
|
|
4569
|
+
}) }) }),
|
|
4570
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)("tbody", { className: "tbl__tbody", children: visible.length > 0 ? visible.map((row, rowIdx) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("tr", { className: "tbl__tr", children: columns.map((col) => {
|
|
4571
|
+
const isMain = col.width === "main" || col.key === mainKey;
|
|
4572
|
+
const iconUrl = row[`${col.key}_iconUrl`];
|
|
4573
|
+
return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
4574
|
+
"td",
|
|
4575
|
+
{
|
|
4576
|
+
className: [
|
|
4577
|
+
"tbl__td",
|
|
4578
|
+
isMain ? "tbl__td--main" : "",
|
|
4579
|
+
col.width === "big" ? "tbl__td--big" : ""
|
|
4580
|
+
].filter(Boolean).join(" "),
|
|
4581
|
+
children: isMain ? /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("div", { className: "tbl__cell-inner", children: [
|
|
4582
|
+
iconUrl && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
4583
|
+
"img",
|
|
4584
|
+
{
|
|
4585
|
+
src: iconUrl,
|
|
4586
|
+
alt: "",
|
|
4587
|
+
"aria-hidden": "true",
|
|
4588
|
+
className: "tbl__cell-icon",
|
|
4589
|
+
loading: "lazy",
|
|
4590
|
+
width: "24",
|
|
4591
|
+
height: "24"
|
|
4592
|
+
}
|
|
4593
|
+
),
|
|
4594
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)("span", { className: "tbl__cell-text tbl__cell-text--bold", children: row[col.key] ?? "" })
|
|
4595
|
+
] }) : /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("span", { className: "tbl__cell-text", children: row[col.key] ?? "" })
|
|
4596
|
+
},
|
|
4597
|
+
col.key
|
|
4598
|
+
);
|
|
4599
|
+
}) }, rowIdx)) : /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("tr", { className: "tbl__tr", children: /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("td", { colSpan: columns.length, className: "tbl__empty-cell", children: [
|
|
4600
|
+
'No results found for "',
|
|
4601
|
+
search,
|
|
4602
|
+
'"'
|
|
4603
|
+
] }) }) })
|
|
4604
|
+
] }) }),
|
|
4605
|
+
totalPages > 1 && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "tbl__footer", children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "tbl__pagination-wrap", children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
4606
|
+
Pagination,
|
|
4607
|
+
{
|
|
4608
|
+
currentPage,
|
|
4609
|
+
totalPages,
|
|
4610
|
+
onPageChange: setPage
|
|
4611
|
+
}
|
|
4612
|
+
) }) })
|
|
4613
|
+
] }),
|
|
4614
|
+
infoText && /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("div", { className: "tbl-section__info-box", children: [
|
|
4615
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(InfoIcon, { className: "tbl-section__info-icon" }),
|
|
4616
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)("p", { className: "tbl-section__info-text", children: infoText })
|
|
4617
|
+
] })
|
|
4618
|
+
] }),
|
|
4619
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
|
|
4620
|
+
"div",
|
|
4621
|
+
{
|
|
4622
|
+
className: ["tbl__global-hint", tooltip.visible ? "tbl__global-hint--visible" : ""].filter(Boolean).join(" "),
|
|
4623
|
+
style: { left: tooltip.x, top: tooltip.y - 8 },
|
|
4624
|
+
children: [
|
|
4625
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "tbl__global-hint-desc", children: tooltip.description }),
|
|
4626
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
4627
|
+
"div",
|
|
4628
|
+
{
|
|
4629
|
+
className: "tbl__global-hint-arrow",
|
|
4630
|
+
style: { transform: `translateX(calc(-50% + ${tooltip.arrowOffset}px))` }
|
|
4631
|
+
}
|
|
4632
|
+
)
|
|
4633
|
+
]
|
|
4634
|
+
}
|
|
4635
|
+
)
|
|
4636
|
+
] });
|
|
4637
|
+
};
|
|
4638
|
+
|
|
4639
|
+
// templates/Leaders/Leaders.tsx
|
|
4640
|
+
var import_react20 = require("react");
|
|
4641
|
+
|
|
4642
|
+
// templates/Leaders/Leaders.module.css
|
|
4643
|
+
var Leaders_default = {};
|
|
4644
|
+
|
|
4645
|
+
// templates/Leaders/Leaders.tsx
|
|
4646
|
+
var import_jsx_runtime36 = require("react/jsx-runtime");
|
|
4647
|
+
var LinkedInIcon = () => /* @__PURE__ */ (0, import_jsx_runtime36.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_runtime36.jsx)("path", { d: "M14.816 0H1.18C0.528 0 0 0.516 0 1.153V14.846C0 15.484 0.528 16 1.18 16H14.816C15.468 16 16 15.484 16 14.846V1.153C16 0.516 15.468 0 14.816 0ZM4.744 13.642H2.368V5.996H4.744V13.642ZM3.556 4.952C2.796 4.952 2.18 4.336 2.18 3.576C2.18 2.816 2.796 2.2 3.556 2.2C4.316 2.2 4.932 2.816 4.932 3.576C4.932 4.336 4.316 4.952 3.556 4.952ZM13.642 13.642H11.266V9.924C11.266 9.038 11.25 7.896 10.032 7.896C8.814 7.896 8.626 8.846 8.626 9.86V13.642H6.25V5.996H8.53V7.04H8.562C8.88 6.44 9.534 5.806 10.686 5.806C12.958 5.806 13.642 7.3 13.642 9.386V13.642Z", fill: "currentColor" }) });
|
|
4648
|
+
var ChevronDownIcon4 = () => /* @__PURE__ */ (0, import_jsx_runtime36.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_runtime36.jsx)("path", { d: "M4 6L8 10L12 6", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) });
|
|
4649
|
+
var ChevronUpIcon = () => /* @__PURE__ */ (0, import_jsx_runtime36.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_runtime36.jsx)("path", { d: "M12 10L8 6L4 10", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) });
|
|
4650
|
+
var CardContent = ({ item }) => /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(import_jsx_runtime36.Fragment, { children: [
|
|
4651
|
+
/* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { className: Leaders_default.imageWrapper, children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
|
|
4652
|
+
"img",
|
|
4653
|
+
{
|
|
4654
|
+
src: item.imageUrl,
|
|
4655
|
+
alt: item.name,
|
|
4656
|
+
className: Leaders_default.image,
|
|
4657
|
+
loading: "lazy"
|
|
4658
|
+
}
|
|
4659
|
+
) }),
|
|
4660
|
+
/* @__PURE__ */ (0, import_jsx_runtime36.jsxs)("div", { className: Leaders_default.content, children: [
|
|
4661
|
+
/* @__PURE__ */ (0, import_jsx_runtime36.jsx)("h3", { className: Leaders_default.name, children: item.name }),
|
|
4662
|
+
/* @__PURE__ */ (0, import_jsx_runtime36.jsx)("p", { className: Leaders_default.role, children: item.role })
|
|
4663
|
+
] }),
|
|
4664
|
+
item.linkedinUrl && /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
|
|
4665
|
+
Link,
|
|
4666
|
+
{
|
|
4667
|
+
href: item.linkedinUrl,
|
|
4668
|
+
target: "_blank",
|
|
4669
|
+
rel: "noopener noreferrer",
|
|
4670
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(LinkedInIcon, {}),
|
|
4671
|
+
label: "LinkedIn",
|
|
4672
|
+
colorScheme: "black",
|
|
4673
|
+
showChevron: false,
|
|
4674
|
+
className: Leaders_default.link
|
|
4675
|
+
}
|
|
4676
|
+
)
|
|
4677
|
+
] });
|
|
4678
|
+
var Leaders = ({
|
|
4679
|
+
title = "Our leaders",
|
|
4680
|
+
items,
|
|
4681
|
+
initialVisibleCount = 4,
|
|
4682
|
+
expandText = "View all",
|
|
4683
|
+
collapseText = "View less",
|
|
4684
|
+
className,
|
|
4685
|
+
...props
|
|
4686
|
+
}) => {
|
|
4687
|
+
const [isExpanded, setIsExpanded] = (0, import_react20.useState)(false);
|
|
4688
|
+
const hasMore = items.length > initialVisibleCount;
|
|
4689
|
+
const visibleItems = items.slice(0, initialVisibleCount);
|
|
4690
|
+
const extraItems = items.slice(initialVisibleCount);
|
|
4691
|
+
return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("section", { className: [Leaders_default.section, className].filter(Boolean).join(" "), ...props, children: /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)("div", { className: Leaders_default.container, children: [
|
|
4692
|
+
title && /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { className: Leaders_default.header, children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("h2", { className: Leaders_default.title, children: title }) }),
|
|
4693
|
+
/* @__PURE__ */ (0, import_jsx_runtime36.jsxs)("div", { className: Leaders_default.gridWrapper, children: [
|
|
4694
|
+
/* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { className: Leaders_default.grid, children: visibleItems.map((item, i) => /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { className: Leaders_default.card, children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(CardContent, { item }) }, i)) }),
|
|
4695
|
+
hasMore && /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
|
|
4696
|
+
"div",
|
|
4697
|
+
{
|
|
4698
|
+
className: [
|
|
4699
|
+
Leaders_default.extraCards,
|
|
4700
|
+
isExpanded ? Leaders_default.extraCardsOpen : ""
|
|
4701
|
+
].join(" "),
|
|
4702
|
+
"aria-hidden": !isExpanded,
|
|
4703
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { className: Leaders_default.extraGrid, children: extraItems.map((item, i) => /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
|
|
4704
|
+
"div",
|
|
4705
|
+
{
|
|
4706
|
+
className: [
|
|
4707
|
+
Leaders_default.card,
|
|
4708
|
+
Leaders_default.extraCard,
|
|
4709
|
+
isExpanded ? Leaders_default.extraCardVisible : ""
|
|
4710
|
+
].join(" "),
|
|
4711
|
+
style: {
|
|
4712
|
+
transitionDelay: isExpanded ? `${i * 70 + 120}ms` : "0ms"
|
|
4713
|
+
},
|
|
4714
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(CardContent, { item })
|
|
4715
|
+
},
|
|
4716
|
+
i
|
|
4717
|
+
)) })
|
|
4718
|
+
}
|
|
4719
|
+
)
|
|
4720
|
+
] }),
|
|
4721
|
+
hasMore && /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { className: Leaders_default.actions, children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
|
|
4722
|
+
Button,
|
|
4723
|
+
{
|
|
4724
|
+
variant: "secondary",
|
|
4725
|
+
colorScheme: "black",
|
|
4726
|
+
onClick: () => setIsExpanded(!isExpanded),
|
|
4727
|
+
iconPosition: "icon-right",
|
|
4728
|
+
icon: isExpanded ? /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(ChevronUpIcon, {}) : /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(ChevronDownIcon4, {}),
|
|
4729
|
+
children: isExpanded ? collapseText : expandText
|
|
4730
|
+
}
|
|
4731
|
+
) })
|
|
4732
|
+
] }) });
|
|
4733
|
+
};
|
|
4029
4734
|
// Annotate the CommonJS export names for ESM import in node:
|
|
4030
4735
|
0 && (module.exports = {
|
|
4031
4736
|
AVATAR_DATA,
|
|
@@ -4044,11 +4749,13 @@ var TextScroll = ({ text, className }) => {
|
|
|
4044
4749
|
DownloadBadge,
|
|
4045
4750
|
DownloadBanner,
|
|
4046
4751
|
FEATURE_SCROLL_DATA,
|
|
4752
|
+
FeatureBullets,
|
|
4047
4753
|
FeatureCards,
|
|
4048
4754
|
FeatureCardsSecondary,
|
|
4049
4755
|
FeatureScroll,
|
|
4050
4756
|
Footer,
|
|
4051
4757
|
Hero,
|
|
4758
|
+
Leaders,
|
|
4052
4759
|
Link,
|
|
4053
4760
|
LogoMarquee,
|
|
4054
4761
|
Navbar,
|
|
@@ -4057,8 +4764,11 @@ var TextScroll = ({ text, className }) => {
|
|
|
4057
4764
|
SearchField,
|
|
4058
4765
|
Stats,
|
|
4059
4766
|
Steps,
|
|
4767
|
+
StickyMarketCards,
|
|
4060
4768
|
StickyStackedCards,
|
|
4061
4769
|
TEXT_CONTENT,
|
|
4770
|
+
Table,
|
|
4771
|
+
Tabs,
|
|
4062
4772
|
Tag,
|
|
4063
4773
|
TextField,
|
|
4064
4774
|
TextScroll,
|