@enyxs/wikex-components 0.11.27 → 0.11.29
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/README.md +27 -0
- package/dist/index.css +1 -0
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +19 -1
- package/dist/index.d.ts +19 -1
- package/dist/index.js +815 -516
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +678 -385
- package/dist/index.mjs.map +1 -1
- package/dist/manifest.json +250 -0
- package/package.json +3 -2
package/dist/index.js
CHANGED
|
@@ -34,12 +34,17 @@ __export(index_exports, {
|
|
|
34
34
|
CMS_LIST_MARKERS: () => CMS_LIST_MARKERS,
|
|
35
35
|
CMS_TEXT_FONTS: () => CMS_TEXT_FONTS,
|
|
36
36
|
CMS_TEXT_LAYOUT_SUFFIX: () => CMS_TEXT_LAYOUT_SUFFIX,
|
|
37
|
+
CmsButtonLinkControl: () => CmsButtonLinkControl,
|
|
37
38
|
CmsTextToolbar: () => CmsTextToolbar,
|
|
38
39
|
FeesTable: () => FeesTable,
|
|
39
40
|
applyCmsTextLayout: () => applyCmsTextLayout,
|
|
41
|
+
cmsButtonLinkChanges: () => cmsButtonLinkChanges,
|
|
40
42
|
cmsListAnchor: () => cmsListAnchor,
|
|
41
43
|
cmsListMarkerType: () => cmsListMarkerType,
|
|
42
44
|
cmsTextLayoutStyle: () => cmsTextLayoutStyle,
|
|
45
|
+
getCmsButtonLink: () => getCmsButtonLink,
|
|
46
|
+
isCmsButtonField: () => isCmsButtonField,
|
|
47
|
+
isCmsHeaderButtonField: () => isCmsHeaderButtonField,
|
|
43
48
|
migrateWikexChromeContent: () => migrateWikexChromeContent,
|
|
44
49
|
minimalMarketingBlocks: () => minimalMarketingBlocks,
|
|
45
50
|
minimalUiBlocks: () => minimalUiBlocks,
|
|
@@ -52,6 +57,7 @@ __export(index_exports, {
|
|
|
52
57
|
rebaseCmsRichText: () => rebaseCmsRichText,
|
|
53
58
|
rebaseCmsTextLayouts: () => rebaseCmsTextLayouts,
|
|
54
59
|
renderCmsRichText: () => renderCmsRichText,
|
|
60
|
+
safeCmsButtonHref: () => safeCmsButtonHref,
|
|
55
61
|
safeCmsTextHref: () => safeCmsTextHref,
|
|
56
62
|
siteChromeBlocks: () => siteChromeBlocks,
|
|
57
63
|
wikexCmsBlocks: () => wikexCmsBlocks,
|
|
@@ -61,7 +67,7 @@ __export(index_exports, {
|
|
|
61
67
|
wikexComponents: () => wikexComponents
|
|
62
68
|
});
|
|
63
69
|
module.exports = __toCommonJS(index_exports);
|
|
64
|
-
var
|
|
70
|
+
var import_react40 = require("react");
|
|
65
71
|
|
|
66
72
|
// src/minimal-ui/blocks.tsx
|
|
67
73
|
var import_react5 = require("react");
|
|
@@ -4783,6 +4789,105 @@ function chromeItemHref(item) {
|
|
|
4783
4789
|
return item.hrefEnabled === "false" ? void 0 : safeCmsTextHref(item.href);
|
|
4784
4790
|
}
|
|
4785
4791
|
|
|
4792
|
+
// src/shared/button-links.ts
|
|
4793
|
+
function isCmsHeaderButtonField(field) {
|
|
4794
|
+
return /^(vi|en)\.header\.(login|register)$/.test(field);
|
|
4795
|
+
}
|
|
4796
|
+
function downloadButtonField(field) {
|
|
4797
|
+
return field.match(/^((vi|en)\.landing\.download\.(appStore|googlePlay|web))(?:Prefix)?$/)?.[1];
|
|
4798
|
+
}
|
|
4799
|
+
function footerButtonField(field) {
|
|
4800
|
+
const match = field.match(/^((vi|en)\.footer\.downloads)\.(\d+)\.(label|prefix)$/);
|
|
4801
|
+
return match ? { listField: match[1], index: Number(match[3]) } : void 0;
|
|
4802
|
+
}
|
|
4803
|
+
function isCmsButtonField(field) {
|
|
4804
|
+
return isCmsHeaderButtonField(field) || Boolean(downloadButtonField(field) || footerButtonField(field));
|
|
4805
|
+
}
|
|
4806
|
+
function safeCmsButtonHref(value4, type) {
|
|
4807
|
+
const href = safeCmsTextHref(value4);
|
|
4808
|
+
if (!href) return void 0;
|
|
4809
|
+
return (type === "external" ? /^https?:\/\//i : /^(?:\/(?!\/)|#)/).test(href) ? href : void 0;
|
|
4810
|
+
}
|
|
4811
|
+
function getCmsButtonLink(content, field) {
|
|
4812
|
+
const footer2 = footerButtonField(field);
|
|
4813
|
+
const item = footer2 ? parseChromeItems(content[footer2.listField])?.[footer2.index] : void 0;
|
|
4814
|
+
const key = downloadButtonField(field) ?? field;
|
|
4815
|
+
const value4 = footer2 ? item?.href ?? "" : String(content[`${key}Href`] ?? (field.endsWith(".register") ? "/#register" : ""));
|
|
4816
|
+
const storedType = footer2 ? item?.linkType : content[`${key}LinkType`];
|
|
4817
|
+
const type = storedType === "external" || storedType !== "internal" && /^https?:\/\//i.test(value4) ? "external" : "internal";
|
|
4818
|
+
return { type, value: value4, href: item?.hrefEnabled === "false" ? void 0 : safeCmsButtonHref(value4, type) };
|
|
4819
|
+
}
|
|
4820
|
+
function cmsButtonLinkChanges(content, field, value4, type) {
|
|
4821
|
+
if (!isCmsButtonField(field)) return {};
|
|
4822
|
+
const footer2 = footerButtonField(field);
|
|
4823
|
+
if (footer2) {
|
|
4824
|
+
const items = parseChromeItems(content[footer2.listField]);
|
|
4825
|
+
if (!items?.[footer2.index]) return {};
|
|
4826
|
+
items[footer2.index] = { ...items[footer2.index], href: value4, linkType: type, hrefEnabled: String(Boolean(value4)) };
|
|
4827
|
+
return { [footer2.listField]: JSON.stringify(items) };
|
|
4828
|
+
}
|
|
4829
|
+
const key = downloadButtonField(field) ?? field;
|
|
4830
|
+
return { [`${key}Href`]: value4, [`${key}LinkType`]: type };
|
|
4831
|
+
}
|
|
4832
|
+
var cmsDownloadButtonLinkFields = ["vi", "en"].flatMap(
|
|
4833
|
+
(language) => ["appStore", "googlePlay", "web"].flatMap((platform) => {
|
|
4834
|
+
const field = `${language}.landing.download.${platform}`;
|
|
4835
|
+
const label = { appStore: "App Store", googlePlay: "Google Play", web: "Web Trading" }[platform];
|
|
4836
|
+
const group = language === "vi" ? "Ti\u1EBFng Vi\u1EC7t" : "English";
|
|
4837
|
+
return [
|
|
4838
|
+
{
|
|
4839
|
+
key: `${field}LinkType`,
|
|
4840
|
+
label: `${label} \u2014 lo\u1EA1i li\xEAn k\u1EBFt`,
|
|
4841
|
+
type: "select",
|
|
4842
|
+
group,
|
|
4843
|
+
options: [{ value: "internal", label: "Internal \u2014 trong website" }, { value: "external", label: "External \u2014 website kh\xE1c (tab m\u1EDBi)" }]
|
|
4844
|
+
},
|
|
4845
|
+
{
|
|
4846
|
+
key: `${field}Href`,
|
|
4847
|
+
label: `${label} \u2014 \u0111\u01B0\u1EDDng d\u1EABn`,
|
|
4848
|
+
type: "link",
|
|
4849
|
+
group,
|
|
4850
|
+
helperText: "Internal: /duong-dan/ ho\u1EB7c #muc. External: https://\u2026 M\u1EDF trong tab m\u1EDBi."
|
|
4851
|
+
}
|
|
4852
|
+
];
|
|
4853
|
+
})
|
|
4854
|
+
);
|
|
4855
|
+
var cmsDownloadButtonLinkDefaults = Object.fromEntries(["vi", "en"].flatMap(
|
|
4856
|
+
(language) => ["appStore", "googlePlay", "web"].flatMap((platform) => [
|
|
4857
|
+
[`${language}.landing.download.${platform}LinkType`, "internal"],
|
|
4858
|
+
[`${language}.landing.download.${platform}Href`, ""]
|
|
4859
|
+
])
|
|
4860
|
+
));
|
|
4861
|
+
var cmsHeaderButtonLinkFields = ["vi", "en"].flatMap(
|
|
4862
|
+
(language) => ["login", "register"].flatMap((action) => {
|
|
4863
|
+
const field = `${language}.header.${action}`;
|
|
4864
|
+
const label = action === "login" ? "\u0110\u0103ng nh\u1EADp" : "M\u1EDF T\xE0i kho\u1EA3n";
|
|
4865
|
+
const group = language === "vi" ? "Ti\u1EBFng Vi\u1EC7t" : "English";
|
|
4866
|
+
return [
|
|
4867
|
+
{
|
|
4868
|
+
key: `${field}LinkType`,
|
|
4869
|
+
label: `${label} \u2014 lo\u1EA1i li\xEAn k\u1EBFt`,
|
|
4870
|
+
type: "select",
|
|
4871
|
+
group,
|
|
4872
|
+
options: [{ value: "internal", label: "Internal \u2014 trong website" }, { value: "external", label: "External \u2014 website kh\xE1c (tab m\u1EDBi)" }]
|
|
4873
|
+
},
|
|
4874
|
+
{
|
|
4875
|
+
key: `${field}Href`,
|
|
4876
|
+
label: `${label} \u2014 \u0111\u01B0\u1EDDng d\u1EABn`,
|
|
4877
|
+
type: "link",
|
|
4878
|
+
group,
|
|
4879
|
+
helperText: "Internal: /duong-dan/ ho\u1EB7c #muc. External: https://\u2026 M\u1EDF trong tab m\u1EDBi."
|
|
4880
|
+
}
|
|
4881
|
+
];
|
|
4882
|
+
})
|
|
4883
|
+
);
|
|
4884
|
+
var cmsHeaderButtonLinkDefaults = Object.fromEntries(["vi", "en"].flatMap(
|
|
4885
|
+
(language) => ["login", "register"].flatMap((action) => [
|
|
4886
|
+
[`${language}.header.${action}LinkType`, "internal"],
|
|
4887
|
+
[`${language}.header.${action}Href`, action === "register" ? "/#register" : ""]
|
|
4888
|
+
])
|
|
4889
|
+
));
|
|
4890
|
+
|
|
4786
4891
|
// src/shared/exact-text.tsx
|
|
4787
4892
|
var import_react9 = require("react");
|
|
4788
4893
|
var import_jsx_runtime9 = require("react/jsx-runtime");
|
|
@@ -4861,7 +4966,7 @@ function ExactText({ cmsAs, children, style, cmsDefaultRichText, cmsField, ...pr
|
|
|
4861
4966
|
"data-cms-text-sized": sized ? "true" : void 0,
|
|
4862
4967
|
style: { ...style, ...layout, ...metadata.textAlign && host === "span" ? { display: "block" } : {}, ...entry.color ? { color: entry.color } : {} }
|
|
4863
4968
|
} : { style }
|
|
4864
|
-
}, entry ? renderCmsRichText(children, parseCmsTextLayout(entry.layout).richText ?? cmsDefaultRichText, cmsAs !== "a" && cmsAs !== "button" && !props.href) : children);
|
|
4969
|
+
}, entry ? renderCmsRichText(children, parseCmsTextLayout(entry.layout).richText ?? cmsDefaultRichText, cmsAs !== "a" && cmsAs !== "button" && !props.href && !isCmsButtonField(entry.field)) : children);
|
|
4865
4970
|
return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
|
|
4866
4971
|
listType && entry ? /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(CmsTextList, { field: entry.field, type: listType, children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("li", { children: rendered }) }) : listItem ? /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("li", { "data-cms-list-item": props["data-cms-list-item"], children: rendered }) : rendered,
|
|
4867
4972
|
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(CmsAddedElements, { field: entry?.field })
|
|
@@ -5116,7 +5221,7 @@ function WebglBorder(props) {
|
|
|
5116
5221
|
(0, import_react10.useEffect)(() => {
|
|
5117
5222
|
const fx = fxRef.current;
|
|
5118
5223
|
const button = fx?.parentElement;
|
|
5119
|
-
if (!fx || !(button instanceof HTMLButtonElement)) return;
|
|
5224
|
+
if (!fx || !(button instanceof HTMLButtonElement || button instanceof HTMLAnchorElement)) return;
|
|
5120
5225
|
const effectElement = fx;
|
|
5121
5226
|
ensurePoolLifecycle();
|
|
5122
5227
|
let slot = null;
|
|
@@ -5363,15 +5468,27 @@ var SpecularButton = ({
|
|
|
5363
5468
|
className = "",
|
|
5364
5469
|
type = "button",
|
|
5365
5470
|
ariaHidden,
|
|
5366
|
-
tabIndex
|
|
5471
|
+
tabIndex,
|
|
5472
|
+
href,
|
|
5473
|
+
target,
|
|
5474
|
+
rel,
|
|
5475
|
+
labelField,
|
|
5476
|
+
"data-cms-button-field": buttonField
|
|
5367
5477
|
}) => {
|
|
5368
5478
|
const animationDuration = Math.max(Math.PI * 2 / Math.max(speed, 0.01), 1.2);
|
|
5479
|
+
const Tag = href ? "a" : "button";
|
|
5369
5480
|
return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(
|
|
5370
|
-
|
|
5481
|
+
Tag,
|
|
5371
5482
|
{
|
|
5372
|
-
type,
|
|
5373
|
-
|
|
5374
|
-
onClick
|
|
5483
|
+
...href ? { href, target, rel, "aria-disabled": disabled || void 0 } : { type, disabled },
|
|
5484
|
+
"data-cms-button-field": buttonField,
|
|
5485
|
+
onClick: (event) => {
|
|
5486
|
+
if (disabled) {
|
|
5487
|
+
event.preventDefault();
|
|
5488
|
+
return;
|
|
5489
|
+
}
|
|
5490
|
+
onClick?.(event);
|
|
5491
|
+
},
|
|
5375
5492
|
"aria-hidden": ariaHidden,
|
|
5376
5493
|
tabIndex,
|
|
5377
5494
|
className: `specular-button specular-button--${size}${className ? ` ${className}` : ""}`,
|
|
@@ -5406,7 +5523,7 @@ var SpecularButton = ({
|
|
|
5406
5523
|
autoAnimate
|
|
5407
5524
|
}
|
|
5408
5525
|
),
|
|
5409
|
-
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(ExactText, { cmsAs: "span", className: "specular-button__label", children })
|
|
5526
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(ExactText, { cmsAs: "span", cmsField: labelField, className: "specular-button__label", children })
|
|
5410
5527
|
]
|
|
5411
5528
|
}
|
|
5412
5529
|
);
|
|
@@ -5433,48 +5550,48 @@ var dropOut = (0, import_styled_components3.keyframes)([
|
|
|
5433
5550
|
`from{opacity:1;transform:translateY(0);}to{opacity:0;transform:translateY(-12px);}`
|
|
5434
5551
|
]);
|
|
5435
5552
|
var HeaderShell = import_styled_components3.default.header.withConfig({
|
|
5436
|
-
componentId: "sc-
|
|
5553
|
+
componentId: "sc-4d456d17-0"
|
|
5437
5554
|
})([
|
|
5438
5555
|
`position:sticky;top:0;z-index:100;display:flex;height:64px;padding:12px 20px;align-items:center;justify-content:center;background:`,
|
|
5439
5556
|
`;box-shadow:0 1px 12px rgb(0 0 0 / 4%);:root[data-theme="dark"] &{background:#18181a;}@media (max-width:768px){padding-inline:15px;}@media (max-width:620px){height:62px;padding:16px 16px 12px;box-shadow:0 1px 0 rgb(5 8 15 / 8%);}`
|
|
5440
5557
|
], ({ theme }) => theme.colors.background.canvas);
|
|
5441
5558
|
var HeaderInner = import_styled_components3.default.div.withConfig({
|
|
5442
|
-
componentId: "sc-
|
|
5559
|
+
componentId: "sc-4d456d17-1"
|
|
5443
5560
|
})([
|
|
5444
5561
|
`display:flex;width:100%;max-width:1560px;height:40px;margin:0 auto;align-items:center;gap:32px;@media (max-width:1279px){justify-content:space-between;}@media only screen and (max-width:767px){gap:0;}@media (max-width:620px){height:34px;justify-content:space-between;}`
|
|
5445
5562
|
]);
|
|
5446
5563
|
var BrandGroup = import_styled_components3.default.div.withConfig({
|
|
5447
|
-
componentId: "sc-
|
|
5564
|
+
componentId: "sc-4d456d17-2"
|
|
5448
5565
|
})([
|
|
5449
5566
|
`display:flex;flex:0 0 auto;align-items:center;gap:16px;`
|
|
5450
5567
|
]);
|
|
5451
5568
|
var WikiBrand = (0, import_styled_components3.default)(import_link.default).withConfig({
|
|
5452
|
-
componentId: "sc-
|
|
5569
|
+
componentId: "sc-4d456d17-3"
|
|
5453
5570
|
})([
|
|
5454
5571
|
`display:inline-flex;flex:0 0 auto;align-items:center;`
|
|
5455
5572
|
]);
|
|
5456
5573
|
var WikiLogo = (0, import_styled_components3.default)(import_image.default).withConfig({
|
|
5457
|
-
componentId: "sc-
|
|
5574
|
+
componentId: "sc-4d456d17-4"
|
|
5458
5575
|
})([
|
|
5459
5576
|
`display:block;width:142px;height:auto;@media (max-width:620px){width:84px;}`
|
|
5460
5577
|
]);
|
|
5461
5578
|
var PartnerBrand = import_styled_components3.default.a.withConfig({
|
|
5462
|
-
componentId: "sc-
|
|
5579
|
+
componentId: "sc-4d456d17-5"
|
|
5463
5580
|
})([
|
|
5464
5581
|
`display:inline-flex;align-items:center;gap:7.2px;color:#009ee3;@media (max-width:767px){display:inline-flex;}`
|
|
5465
5582
|
]);
|
|
5466
5583
|
var MxvLogo = (0, import_styled_components3.default)(import_image.default).withConfig({
|
|
5467
|
-
componentId: "sc-
|
|
5584
|
+
componentId: "sc-4d456d17-6"
|
|
5468
5585
|
})([
|
|
5469
5586
|
`display:block;width:95px;height:auto;:root[data-theme="dark"] &{filter:brightness(0) invert(1);}@media (max-width:620px){width:95px;}`
|
|
5470
5587
|
]);
|
|
5471
5588
|
var DesktopNavigation = import_styled_components3.default.nav.withConfig({
|
|
5472
|
-
componentId: "sc-
|
|
5589
|
+
componentId: "sc-4d456d17-7"
|
|
5473
5590
|
})([
|
|
5474
5591
|
`display:flex;align-items:center;gap:16px;@media (max-width:1279px){display:none;}`
|
|
5475
5592
|
]);
|
|
5476
5593
|
var NavigationLink = (0, import_styled_components3.default)(import_link.default).withConfig({
|
|
5477
|
-
componentId: "sc-
|
|
5594
|
+
componentId: "sc-4d456d17-8"
|
|
5478
5595
|
})([
|
|
5479
5596
|
`position:relative;color:`,
|
|
5480
5597
|
`;font-size:14px;font-weight:700;line-height:18px;white-space:nowrap;transition:color 160ms ease;&:hover,&:focus-visible{color:`,
|
|
@@ -5482,14 +5599,14 @@ var NavigationLink = (0, import_styled_components3.default)(import_link.default)
|
|
|
5482
5599
|
`;}@media (min-width:1280px) and (max-width:1439px){font-size:11px;}`
|
|
5483
5600
|
], ({ theme }) => theme.colors.text.secondary, ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.accent.primary);
|
|
5484
5601
|
var ProductsMenuTrigger = import_styled_components3.default.button.withConfig({
|
|
5485
|
-
componentId: "sc-
|
|
5602
|
+
componentId: "sc-4d456d17-9"
|
|
5486
5603
|
})([
|
|
5487
5604
|
`display:inline-flex;align-items:center;gap:4px;padding:0;border:0;color:`,
|
|
5488
5605
|
`;background:transparent;cursor:pointer;font-family:inherit;font-size:14px;font-weight:700;line-height:18px;white-space:nowrap;&[data-state="open"],&[data-active="true"],&:hover,&:focus-visible{color:`,
|
|
5489
5606
|
`;}&:focus-visible{outline:none;}&::after{content:"";border-inline:3px solid transparent;border-top:4px solid currentColor;transition:transform 160ms ease;}&[data-state="open"]::after{transform:rotate(180deg);}@media (min-width:1280px) and (max-width:1439px){font-size:11px;}@media (prefers-reduced-motion:reduce){&::after{transition:none;}}`
|
|
5490
5607
|
], ({ theme }) => theme.colors.text.secondary, ({ theme }) => theme.colors.accent.primary);
|
|
5491
5608
|
var ProductsMenuContent = (0, import_styled_components3.default)(import_radix_ui.DropdownMenu.Content).withConfig({
|
|
5492
|
-
componentId: "sc-
|
|
5609
|
+
componentId: "sc-4d456d17-10"
|
|
5493
5610
|
})([
|
|
5494
5611
|
`z-index:300;width:206px;max-width:var(--radix-dropdown-menu-content-available-width);padding:8px;border:1px solid `,
|
|
5495
5612
|
`;border-radius:8px;color:`,
|
|
@@ -5499,42 +5616,42 @@ var ProductsMenuContent = (0, import_styled_components3.default)(import_radix_ui
|
|
|
5499
5616
|
`;}`
|
|
5500
5617
|
], ({ theme }) => theme.colors.border.line, ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.background.popup, ({ theme }) => theme.colors.effect.popupShadow, ({ theme }) => theme.colors.border.subtle);
|
|
5501
5618
|
var ProductsMenuItem = (0, import_styled_components3.default)(import_radix_ui.DropdownMenu.Item).withConfig({
|
|
5502
|
-
componentId: "sc-
|
|
5619
|
+
componentId: "sc-4d456d17-11"
|
|
5503
5620
|
})([
|
|
5504
5621
|
`display:flex;height:44px;align-items:center;padding:12px 8px;border-radius:4px;cursor:pointer;font-size:14px;font-weight:400;line-height:18px;outline:none;color:inherit;text-decoration:none;&[aria-current="page"],&[data-highlighted],&:focus-visible{color:`,
|
|
5505
5622
|
`;background:transparent;outline:none;}`
|
|
5506
5623
|
], ({ theme }) => theme.colors.accent.primary);
|
|
5507
5624
|
var MobileNavigation2 = import_styled_components3.default.div.withConfig({
|
|
5508
|
-
componentId: "sc-
|
|
5625
|
+
componentId: "sc-4d456d17-12"
|
|
5509
5626
|
})([
|
|
5510
5627
|
`position:relative;display:none;align-items:center;gap:8px;@media (max-width:1279px){display:flex;}@media (max-width:767px){order:3;margin-left:auto;}@media (max-width:620px){gap:2px;}`
|
|
5511
5628
|
]);
|
|
5512
5629
|
var MobileThemeToggle = import_styled_components3.default.div.withConfig({
|
|
5513
|
-
componentId: "sc-
|
|
5630
|
+
componentId: "sc-4d456d17-13"
|
|
5514
5631
|
})([
|
|
5515
5632
|
`display:none;align-items:center;@media (max-width:767px){display:flex;}@media (max-width:620px){&& .theme-toggle--header{border-radius:4px;svg{width:20px;height:20px;}}}`
|
|
5516
5633
|
]);
|
|
5517
5634
|
var MobileLanguageToggle = import_styled_components3.default.div.withConfig({
|
|
5518
|
-
componentId: "sc-
|
|
5635
|
+
componentId: "sc-4d456d17-14"
|
|
5519
5636
|
})([
|
|
5520
5637
|
`display:none;align-items:center;@media (max-width:767px){display:flex;}`
|
|
5521
5638
|
]);
|
|
5522
5639
|
var MobileMenuTrigger = import_styled_components3.default.button.withConfig({
|
|
5523
|
-
componentId: "sc-
|
|
5640
|
+
componentId: "sc-4d456d17-15"
|
|
5524
5641
|
})([
|
|
5525
5642
|
`display:inline-flex;width:42px;height:42px;align-items:center;justify-content:center;border:0;border-radius:9999px;color:`,
|
|
5526
5643
|
`;background:transparent;cursor:pointer;transition:background-color 160ms ease;&:hover,&[data-state="open"]{background:`,
|
|
5527
5644
|
`;}@media (max-width:620px){width:24px;height:24px;border-radius:4px;svg{flex-shrink:0;}}`
|
|
5528
5645
|
], ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.background.hover);
|
|
5529
5646
|
var MobileDrawerOverlay = (0, import_styled_components3.default)(import_radix_ui.Dialog.Overlay).withConfig({
|
|
5530
|
-
componentId: "sc-
|
|
5647
|
+
componentId: "sc-4d456d17-16"
|
|
5531
5648
|
})([
|
|
5532
5649
|
`position:fixed;z-index:200;inset:0;background:rgb(0 0 0 / 48%);backdrop-filter:blur(2px);&[data-state="open"]{animation:`,
|
|
5533
5650
|
` 220ms ease-out;}&[data-state="closed"]{animation:`,
|
|
5534
5651
|
` 180ms ease-in;}@media (prefers-reduced-motion:reduce){animation:none;}@media (max-width:767px){top:var(--header-height);background:rgb(5 8 16 / 40%);backdrop-filter:blur(5px);}`
|
|
5535
5652
|
], fadeIn, fadeOut);
|
|
5536
5653
|
var MobileDrawerContent = (0, import_styled_components3.default)(import_radix_ui.Dialog.Content).withConfig({
|
|
5537
|
-
componentId: "sc-
|
|
5654
|
+
componentId: "sc-4d456d17-17"
|
|
5538
5655
|
})([
|
|
5539
5656
|
`position:fixed;z-index:201;top:0;right:0;width:320px;max-width:calc(100% - 24px);height:100vh;padding:20px;overflow-y:auto;color:`,
|
|
5540
5657
|
`;background:`,
|
|
@@ -5545,29 +5662,29 @@ var MobileDrawerContent = (0, import_styled_components3.default)(import_radix_ui
|
|
|
5545
5662
|
` 180ms ease-in;}}`
|
|
5546
5663
|
], ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.background.canvas, slideIn, slideOut, dropIn, dropOut);
|
|
5547
5664
|
var MobileDrawerHeader = import_styled_components3.default.div.withConfig({
|
|
5548
|
-
componentId: "sc-
|
|
5665
|
+
componentId: "sc-4d456d17-18"
|
|
5549
5666
|
})([
|
|
5550
5667
|
`display:flex;min-height:44px;margin-bottom:24px;align-items:center;justify-content:space-between;gap:16px;@media (max-width:767px){display:none;}`
|
|
5551
5668
|
]);
|
|
5552
5669
|
var MobileDrawerTitle = (0, import_styled_components3.default)(import_radix_ui.Dialog.Title).withConfig({
|
|
5553
|
-
componentId: "sc-
|
|
5670
|
+
componentId: "sc-4d456d17-19"
|
|
5554
5671
|
})([
|
|
5555
5672
|
`margin:0;font-size:20px;font-weight:700;line-height:28px;`
|
|
5556
5673
|
]);
|
|
5557
5674
|
var MobileDrawerClose = (0, import_styled_components3.default)(import_radix_ui.Dialog.Close).withConfig({
|
|
5558
|
-
componentId: "sc-
|
|
5675
|
+
componentId: "sc-4d456d17-20"
|
|
5559
5676
|
})([
|
|
5560
5677
|
`display:inline-flex;width:40px;height:40px;flex:0 0 40px;align-items:center;justify-content:center;border:0;border-radius:50%;color:`,
|
|
5561
5678
|
`;background:transparent;cursor:pointer;&:hover{background:`,
|
|
5562
5679
|
`;}`
|
|
5563
5680
|
], ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.background.hover);
|
|
5564
5681
|
var MobileDrawerActions = import_styled_components3.default.div.withConfig({
|
|
5565
|
-
componentId: "sc-
|
|
5682
|
+
componentId: "sc-4d456d17-21"
|
|
5566
5683
|
})([
|
|
5567
5684
|
`display:none;@media (max-width:767px){display:grid;width:100%;margin-bottom:8px;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}`
|
|
5568
5685
|
]);
|
|
5569
5686
|
var MobileMenuPanel = import_styled_components3.default.nav.withConfig({
|
|
5570
|
-
componentId: "sc-
|
|
5687
|
+
componentId: "sc-4d456d17-22"
|
|
5571
5688
|
})([
|
|
5572
5689
|
`display:flex;flex-direction:column;gap:6px;a,button{width:100%;border:0;display:flex;border-radius:8px;padding:14px 12px;color:`,
|
|
5573
5690
|
`;background:transparent;cursor:pointer;font-family:inherit;font-size:14px;font-weight:600;text-align:left;transition:color 160ms ease,background-color 160ms ease;}a:hover,a:focus-visible,button:not(:disabled):hover,button:not(:disabled):focus-visible{color:`,
|
|
@@ -5576,72 +5693,72 @@ var MobileMenuPanel = import_styled_components3.default.nav.withConfig({
|
|
|
5576
5693
|
`;}.mobile-menu-submenu a{padding-left:28px;font-size:13px;font-weight:500;}.mobile-products-chevron{display:inline-flex;transition:transform 160ms ease;}.mobile-menu-accordion-trigger[aria-expanded="true"] .mobile-products-chevron{transform:rotate(180deg);}@media (max-width:767px){gap:0;a,button{display:flex;min-height:42px;align-items:center;justify-content:space-between;padding:12px 0;font-weight:700;line-height:18px;}a[data-accent="true"]{color:#f9bb3a;}.mobile-menu-submenu a{min-height:34px;padding:7px 0 7px 20px;font-size:14px;font-weight:500;}.mobile-menu-login{display:none;}svg{width:18px;height:18px;flex:0 0 18px;}}@media (prefers-reduced-motion:reduce){.mobile-products-chevron{transition:none;}}`
|
|
5577
5694
|
], ({ theme }) => theme.colors.text.secondary, ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.background.hover, ({ theme }) => theme.colors.accent.primary);
|
|
5578
5695
|
var RightActions = import_styled_components3.default.div.withConfig({
|
|
5579
|
-
componentId: "sc-
|
|
5696
|
+
componentId: "sc-4d456d17-23"
|
|
5580
5697
|
})([
|
|
5581
5698
|
`display:flex;margin-left:auto;align-items:center;gap:12px;& > div{display:flex;align-items:center;gap:8px;}@media (max-width:1279px){display:none;}`
|
|
5582
5699
|
]);
|
|
5583
5700
|
var IconButton2 = import_styled_components3.default.button.withConfig({
|
|
5584
|
-
componentId: "sc-
|
|
5701
|
+
componentId: "sc-4d456d17-24"
|
|
5585
5702
|
})([
|
|
5586
5703
|
`display:inline-flex;width:36px;height:36px;flex:0 0 auto;align-items:center;justify-content:center;border:0;border-radius:8px;color:`,
|
|
5587
5704
|
`;background:transparent;cursor:pointer;transition:background-color 160ms ease;svg{width:24px;height:24px;}&:hover{background:`,
|
|
5588
5705
|
`;}@media (max-width:480px){display:none;}`
|
|
5589
5706
|
], ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.background.hover);
|
|
5590
5707
|
var LanguageTrigger = (0, import_styled_components3.default)(IconButton2).withConfig({
|
|
5591
|
-
componentId: "sc-
|
|
5708
|
+
componentId: "sc-4d456d17-25"
|
|
5592
5709
|
})([
|
|
5593
5710
|
`&[data-state="open"]{color:#f9bb3a;background:`,
|
|
5594
5711
|
`;}@media (max-width:767px){display:inline-flex;}@media (max-width:620px){border-radius:4px;svg{width:20px;height:20px;flex-shrink:0;}}`
|
|
5595
5712
|
], ({ theme }) => theme.colors.background.hover);
|
|
5596
5713
|
var LanguageMenuContent = (0, import_styled_components3.default)(import_radix_ui.DropdownMenu.Content).withConfig({
|
|
5597
|
-
componentId: "sc-
|
|
5714
|
+
componentId: "sc-4d456d17-26"
|
|
5598
5715
|
})([
|
|
5599
5716
|
`z-index:300;width:180px;padding:8px;border:1px solid #e6e7ea;border-radius:12px;color:#05080f;background:#f9fafb;box-shadow:0 4px 8px rgb(5 8 16 / 5%);outline:none;transform-origin:var(--radix-dropdown-menu-content-transform-origin);&[data-state="open"]{animation:`,
|
|
5600
5717
|
` 140ms ease-out;}&[data-state="closed"]{animation:`,
|
|
5601
5718
|
` 100ms ease-in;}:root[data-theme="dark"] &{border-color:#48484a;color:#f2f2f7;background:#2c2c2e;box-shadow:0 4px 12px rgb(0 0 0 / 24%);}&[data-compact="true"]{width:148px;padding:6px;}@media (prefers-reduced-motion:reduce){animation:none;}`
|
|
5602
5719
|
], fadeIn, fadeOut);
|
|
5603
5720
|
var LanguageMenuItem = (0, import_styled_components3.default)(import_radix_ui.DropdownMenu.RadioItem).withConfig({
|
|
5604
|
-
componentId: "sc-
|
|
5721
|
+
componentId: "sc-4d456d17-27"
|
|
5605
5722
|
})([
|
|
5606
5723
|
`display:flex;width:100%;height:46px;padding:12px 8px;align-items:center;gap:8px;border-radius:8px;cursor:pointer;font-size:16px;font-weight:500;line-height:22px;outline:none;user-select:none;&[data-highlighted]{background:#f1f2f4;}:root[data-theme="dark"] &[data-highlighted]{background:#3a3a3c;}`,
|
|
5607
5724
|
`[data-compact="true"] &{height:40px;padding:10px 6px;font-size:14px;line-height:18px;}`
|
|
5608
5725
|
], LanguageMenuContent);
|
|
5609
5726
|
var LanguageFlag = import_styled_components3.default.span.withConfig({
|
|
5610
|
-
componentId: "sc-
|
|
5727
|
+
componentId: "sc-4d456d17-28"
|
|
5611
5728
|
})([
|
|
5612
5729
|
`display:inline-flex;width:20px;height:20px;flex:0 0 20px;overflow:hidden;align-items:center;justify-content:center;border-radius:50%;img{width:100%;height:100%;max-width:none;object-fit:cover;}`
|
|
5613
5730
|
]);
|
|
5614
5731
|
var LanguageItemIndicator = (0, import_styled_components3.default)(import_radix_ui.DropdownMenu.ItemIndicator).withConfig({
|
|
5615
|
-
componentId: "sc-
|
|
5732
|
+
componentId: "sc-4d456d17-29"
|
|
5616
5733
|
})([
|
|
5617
5734
|
`display:inline-flex;width:18px;height:18px;margin-left:auto;flex:0 0 18px;align-items:center;justify-content:center;img{display:block;width:18px;height:18px;}`,
|
|
5618
5735
|
`[data-compact="true"] &,`,
|
|
5619
5736
|
`[data-compact="true"] & img{width:16px;height:16px;flex-basis:16px;}`
|
|
5620
5737
|
], LanguageMenuContent, LanguageMenuContent);
|
|
5621
5738
|
var ActionDivider = import_styled_components3.default.span.withConfig({
|
|
5622
|
-
componentId: "sc-
|
|
5739
|
+
componentId: "sc-4d456d17-30"
|
|
5623
5740
|
})([
|
|
5624
5741
|
`width:1px;height:16px;background:`,
|
|
5625
5742
|
`;@media (max-width:608px){display:none;}`
|
|
5626
5743
|
], ({ theme }) => theme.colors.border.line);
|
|
5627
|
-
var LoginLink = import_styled_components3.default.
|
|
5628
|
-
componentId: "sc-
|
|
5744
|
+
var LoginLink = import_styled_components3.default.a.withConfig({
|
|
5745
|
+
componentId: "sc-4d456d17-31"
|
|
5629
5746
|
})([
|
|
5630
|
-
`display:inline-flex;height:40px;align-items:center;justify-content:center;border:1px solid #d2d5da;border-radius:6px;padding:0 16px;color:#05080f;background:transparent;font-size:14px;font-weight:700;line-height:18px;white-space:nowrap;transition:background-color 160ms ease,border-color 160ms ease;:root[data-theme="dark"] &{color:#fafafa;}&:not(
|
|
5631
|
-
`;}
|
|
5747
|
+
`display:inline-flex;text-decoration:none;height:40px;align-items:center;justify-content:center;border:1px solid #d2d5da;border-radius:6px;padding:0 16px;color:#05080f;background:transparent;font-size:14px;font-weight:700;line-height:18px;white-space:nowrap;transition:background-color 160ms ease,border-color 160ms ease;:root[data-theme="dark"] &{color:#fafafa;}&:not([aria-disabled="true"]):hover{background:`,
|
|
5748
|
+
`;}&[aria-disabled="true"]{cursor:not-allowed;opacity:0.55;}@media (max-width:608px){display:none;}`
|
|
5632
5749
|
], ({ theme }) => theme.colors.background.hover);
|
|
5633
5750
|
var OpenAccountButton = (0, import_styled_components3.default)(Button_default).withConfig({
|
|
5634
|
-
componentId: "sc-
|
|
5751
|
+
componentId: "sc-4d456d17-32"
|
|
5635
5752
|
})([
|
|
5636
5753
|
`width:120px;height:40px;min-height:40px;border-radius:6px;padding:0;box-shadow:0 1px 20px rgb(249 187 58 / 60%);font-family:var(--font-inter),sans-serif;font-size:14px;font-weight:600;line-height:22px;white-space:nowrap;&:hover{&::before{opacity:0.8;}}&::before{content:"";position:absolute;left:50%;bottom:0;margin-left:-49px;width:98px;height:22px;background:#ffe492;filter:blur(10px);pointer-events:none;opacity:0;transition:opacity 0.15s linear;}@media (max-width:767px){display:none;}`
|
|
5637
5754
|
]);
|
|
5638
5755
|
var MobileDrawerLoginButton = (0, import_styled_components3.default)(LoginLink).withConfig({
|
|
5639
|
-
componentId: "sc-
|
|
5756
|
+
componentId: "sc-4d456d17-33"
|
|
5640
5757
|
})([
|
|
5641
5758
|
`display:none;@media (max-width:767px){display:inline-flex;width:100%;min-width:0;padding-inline:12px;&:disabled{opacity:1;}}`
|
|
5642
5759
|
]);
|
|
5643
5760
|
var MobileDrawerOpenAccountButton = (0, import_styled_components3.default)(OpenAccountButton).withConfig({
|
|
5644
|
-
componentId: "sc-
|
|
5761
|
+
componentId: "sc-4d456d17-34"
|
|
5645
5762
|
})([
|
|
5646
5763
|
`display:none;@media (max-width:767px){display:flex;width:100%;min-width:0;}`
|
|
5647
5764
|
]);
|
|
@@ -5688,39 +5805,39 @@ var benefitTwoWayDown = (0, import_styled_components4.keyframes)([
|
|
|
5688
5805
|
`0%{transform:translateY(0);}50%{transform:translateY(-3px);}100%{transform:translateY(0);}`
|
|
5689
5806
|
]);
|
|
5690
5807
|
var Hero = import_styled_components4.default.section.withConfig({
|
|
5691
|
-
componentId: "sc-
|
|
5808
|
+
componentId: "sc-af9818d2-0"
|
|
5692
5809
|
})([
|
|
5693
5810
|
`position:relative;min-height:820px;overflow:hidden;color:#05080f;background:var( --wikex-hero-background,url("/landing-assets/keyvisual_bg.webp") ) no-repeat center / cover;&::before,&::after{content:"";position:absolute;background:no-repeat center / 100% auto;height:820px;}&::before{top:0;left:-90px;background-image:url("/landing-assets/keyvisual_shape.png");width:50%;opacity:0.8;}@media (min-width:1024px) and (max-width:1329px){min-height:unset;padding-top:80px;padding-bottom:80px;}@media (min-width:768px) and (max-width:1023px){min-height:auto;}@media (max-width:767px){height:unset;min-height:unset;background:var( --wikex-hero-mobile-background,url("/landing-assets/keyvisual-background-mobile@2x.jpg") ) no-repeat center / cover;&::before,&::after{display:none;}.hero-dot-field{display:none;}}`
|
|
5694
5811
|
]);
|
|
5695
5812
|
var HeroInner = import_styled_components4.default.div.withConfig({
|
|
5696
|
-
componentId: "sc-
|
|
5813
|
+
componentId: "sc-af9818d2-1"
|
|
5697
5814
|
})([
|
|
5698
5815
|
`position:relative;z-index:1;display:flex;max-width:1230px;padding:0 15px;min-height:820px;justify-content:space-between;margin:0 auto;align-items:center;gap:30px;.specular-button{width:200px;min-height:44px;font-size:16px;font-weight:700;white-space:nowrap;margin-top:32px;}@media (min-width:1480px) and (max-width:1600px){justify-content:space-around;}@media (min-width:1330px) and (max-width:1479px){justify-content:unset;gap:100px;}@media (min-width:1024px) and (max-width:1329px){justify-content:unset;gap:140px;min-height:unset;}@media (min-width:1024px) and (max-width:1111px){gap:80px;}@media (min-width:768px) and (max-width:1023px){min-height:auto;padding:56px 15px 48px;flex-direction:column;align-items:center;gap:40px;}@media (max-width:767px){width:100%;padding:40px 16px;flex-direction:column;justify-content:flex-start;align-items:stretch;gap:35px;overflow:hidden;min-height:unset;.specular-button{order:3;width:100%;min-height:40px;margin-top:0;}}`
|
|
5699
5816
|
]);
|
|
5700
5817
|
var HeroCopy = import_styled_components4.default.div.withConfig({
|
|
5701
|
-
componentId: "sc-
|
|
5818
|
+
componentId: "sc-af9818d2-2"
|
|
5702
5819
|
})([
|
|
5703
5820
|
`position:relative;z-index:2;@media (prefers-reduced-motion:no-preference){> *{animation:`,
|
|
5704
5821
|
` 950ms cubic-bezier(0.33,1,0.68,1) backwards;}> :nth-child(1){animation-delay:80ms;}> :nth-child(2){animation-delay:220ms;}> :nth-child(3){animation-delay:360ms;}> :nth-child(4){animation-delay:500ms;}}> p{max-width:570px;margin:18px 0 0;color:#05080f;font-size:16px;font-weight:500;line-height:22px;white-space:pre-line;}@media (max-width:1023px){width:100%;text-align:center;> p{margin-inline:auto;}}@media (max-width:767px){display:contents;> p{order:2;width:100%;max-width:343px;height:72px;min-height:72px;margin:-4px auto 0;flex:0 0 72px;font-size:14px;line-height:18px;text-align:center;}}`
|
|
5705
5822
|
], revealHeroCopy);
|
|
5706
5823
|
var HeroTitle = import_styled_components4.default.h1.withConfig({
|
|
5707
|
-
componentId: "sc-
|
|
5824
|
+
componentId: "sc-af9818d2-3"
|
|
5708
5825
|
})([
|
|
5709
5826
|
`color:#05080f;font-size:54px;font-weight:700;line-height:72px;white-space:pre-line;margin:0;@media (max-width:520px){font-size:36px;line-height:46px;br{display:none;}}@media (max-width:767px){order:1;width:100%;min-height:120px;font-size:32px;line-height:40px;text-align:center;br{display:initial;}}`
|
|
5710
5827
|
]);
|
|
5711
5828
|
var HeroMetrics = import_styled_components4.default.div.withConfig({
|
|
5712
|
-
componentId: "sc-
|
|
5829
|
+
componentId: "sc-af9818d2-4"
|
|
5713
5830
|
})([
|
|
5714
5831
|
`display:flex;margin-top:62px;.hero-metrics-track,.hero-metrics-group{display:contents;}.hero-metrics-group--duplicate{display:none;}@media (max-width:1023px){margin-top:42px;justify-content:center;}@media (max-width:767px){order:5;width:100%;min-width:100%;margin:0;justify-content:flex-start;overflow:hidden;.hero-metrics-track{display:flex;width:max-content;animation:`,
|
|
5715
5832
|
` 14s linear infinite;will-change:transform;}.hero-metrics-group,.hero-metrics-group--duplicate{display:flex;flex:0 0 auto;gap:16px;padding-right:25px;}}@media (max-width:767px) and (prefers-reduced-motion:reduce){overflow-x:auto;.hero-metrics-track{animation:none;will-change:auto;}.hero-metrics-group{padding-right:0;}.hero-metrics-group--duplicate{display:none;}}`
|
|
5716
5833
|
], moveHeroMetricsMarquee);
|
|
5717
5834
|
var HeroMetric = import_styled_components4.default.div.withConfig({
|
|
5718
|
-
componentId: "sc-
|
|
5835
|
+
componentId: "sc-af9818d2-5"
|
|
5719
5836
|
})([
|
|
5720
5837
|
`display:flex;gap:8px;align-items:center;border-right:1px solid #05080f;padding:0 20px;font-size:20px;font-weight:600;line-height:1.25;white-space:pre-line;svg{flex-shrink:0;}&:first-child{padding-left:0;}&:last-child{border-right:0;}@media (min-width:1024px) and (max-width:1329px){font-size:15px;}@media (max-width:767px){width:174px;min-width:174px;min-height:48px;justify-content:flex-start;border-right:0;border-bottom:0;padding:0;gap:10px;font-size:16px;line-height:18px;text-align:left;&:first-child{width:233px;min-width:233px;padding-right:16px;}&:nth-child(2){width:212px;min-width:212px;padding-right:16px;}svg{width:36px;height:36px;}strong{display:block;width:116px;font-weight:600;font-size:20px;line-height:22px;}&:first-child strong{width:159px;}&:nth-child(2) strong{width:138px;}}`
|
|
5721
5838
|
]);
|
|
5722
5839
|
var HeroArt = import_styled_components4.default.div.withConfig({
|
|
5723
|
-
componentId: "sc-
|
|
5840
|
+
componentId: "sc-af9818d2-6"
|
|
5724
5841
|
})([
|
|
5725
5842
|
`position:relative;min-height:461px;width:288px;flex-shrink:0;@media (prefers-reduced-motion:no-preference){.hero-phone{animation:`,
|
|
5726
5843
|
` 700ms cubic-bezier(0.33,1,0.68,1) 240ms backwards;}.key-mock-2{animation:`,
|
|
@@ -5731,12 +5848,12 @@ var HeroArt = import_styled_components4.default.div.withConfig({
|
|
|
5731
5848
|
` 520ms cubic-bezier(0.33,1,0.68,1) 1520ms backwards;}}.key-mock-1,.key-mock-2{position:absolute;width:139px;height:94px;}.key-mock-2{right:-65px;top:24px;}.key-mock-1{left:-28px;top:78px;}.label{--label-height:75px;--label-padding-start:35px;--label-padding-end:35px;position:absolute;display:inline-flex;width:max-content;height:var(--label-height);picture{position:absolute;z-index:0;inset:0;display:block;width:100%;height:100%;}img{display:block;width:100%;height:100%;}p{position:relative;z-index:1;display:flex;align-items:center;color:#392c12;font-size:20px;font-weight:700;line-height:1.2;white-space:nowrap;margin:0;padding:0 var(--label-padding-end) 6px var(--label-padding-start);}}.label-top{bottom:112px;right:226px;--label-padding-end:60px;}.label-middle{top:148px;left:195px;--label-padding-start:45px;--label-padding-end:24px;}.label-bottom{left:143px;bottom:70px;--label-padding-start:45px;--label-padding-end:24px;p{padding-bottom:14px;}}@media (max-width:767px){.key-mock-1,.key-mock-2{width:67px;height:45px;}.key-mock-1{left:-15px;top:38px;}.key-mock-2{right:-34px;top:10px;}.label{--label-height:36px;p{font-size:10px;}}.label-top{bottom:52px;right:106px;--label-padding-start:15px;--label-padding-end:32px;}.label-middle{top:70px;left:92px;--label-padding-start:24px;--label-padding-end:12px;}.label-bottom{left:67px;bottom:30px;--label-height:33px;--label-padding-start:24px;--label-padding-end:12px;p{padding-top:3px;padding-bottom:6px;}}}@media (min-width:1024px) and (max-width:1230px){.key-mock-1,.key-mock-2{width:120px;height:75px;}.key-mock-2{right:-55px;top:64px;}.key-mock-1{left:-24px;top:108px;}.label{p{font-size:13px;}--label-height:4vw;}.label-top{bottom:142px;right:calc(434px - 18vw);--label-padding-start:2vw;--label-padding-end:3vw;}.label-middle{top:168px;left:155px;--label-padding-start:3vw;--label-padding-end:1.5vw;}.label-bottom{left:calc(273px - 15vw);bottom:108px;--label-padding-start:2.5vw;--label-padding-end:1.5vw;}}@media (max-width:767px){order:4;width:137px;height:219px;min-height:auto;margin:0 auto;}`
|
|
5732
5849
|
], revealHeroArtUp, revealHeroArtFromRight, revealHeroArtFromLeft, revealHeroArtUp, revealHeroArtUp, revealHeroArtUp);
|
|
5733
5850
|
var HeroImage = import_styled_components4.default.div.withConfig({
|
|
5734
|
-
componentId: "sc-
|
|
5851
|
+
componentId: "sc-af9818d2-7"
|
|
5735
5852
|
})([
|
|
5736
5853
|
`position:absolute;inset:0;.hero-phone-picture{position:absolute;inset:0;display:block;}img{object-fit:contain;}@media (min-width:1024px) and (max-width:1230px){width:80%;}`
|
|
5737
5854
|
]);
|
|
5738
5855
|
var PageShell = import_styled_components4.default.main.withConfig({
|
|
5739
|
-
componentId: "sc-
|
|
5856
|
+
componentId: "sc-af9818d2-8"
|
|
5740
5857
|
})([
|
|
5741
5858
|
`--cream:#fffbf3;--faq-answer-color:#4e5560;--faq-card-background:#fff;--faq-card-foreground:#05080f;--faq-card-shadow-accent:#ffe5aa;--faq-card-shadow-ambient:rgb(0 0 0 / 5%);--footer-contact-icon-filter:none;--footer-desktop-icon-background:#e6e7ea;--footer-desktop-icon-filter:none;--footer-store-badge-background:#05080f;--footer-store-badge-foreground:#f9fafb;--footer-store-monochrome-filter:none;--footer-social-background:#e6e7ea;--footer-social-icon-filter:none;--ink:#05080f;--muted:#707580;--yellow:#f9bb3a;box-sizing:border-box;overflow:clip;color:var(--ink);background:var(--cream);font-family:var(--font-inter),Arial,Helvetica,sans-serif;line-height:normal;*,*::before,*::after{box-sizing:border-box;}button,input,textarea,select{font:inherit;}.container{width:min(1200px,calc(100% - 48px));margin-inline:auto;}.section{padding:80px 0;}.benefits{padding-top:80px;}.benefits .section-heading{margin:0 auto 60px;}.benefit-grid{display:flex;flex-wrap:wrap;gap:60px 32px;}.benefit-card{position:relative;flex:0 0 calc((100% - 96px) / 4);min-width:0;min-height:242px;padding:24px 32px 48px;text-align:center;cursor:pointer;&::before{position:absolute;z-index:1;top:-30px;right:-6px;bottom:-14px;left:-14px;background:url("/landing-assets/benefit-card-short.svg") no-repeat center / 100% 100%;content:"";pointer-events:none;}&::after{position:absolute;z-index:0;right:0;bottom:-16px;left:32px;height:52px;background:url("/landing-assets/benefit-card-accent.svg") no-repeat center / 100% 100%;content:"";pointer-events:none;}}.benefit-card--tall{min-height:308px;}.benefit-card--tall::before{background-image:url("/landing-assets/benefit-card-tall.svg");}.benefit-inner{position:relative;z-index:5;display:flex;flex-direction:column;align-items:center;gap:0;}.benefit-body-clip{min-height:0;}.benefit-toggle{display:none;}.benefit-icon{display:block;width:48px;height:48px;flex:0 0 48px;}.benefit-market-line{stroke-dasharray:1;stroke-dashoffset:0;}.benefit-futures-line,.benefit-economy-reveal{transform-box:fill-box;transform-origin:left center;}.benefit-gavel{transform-box:view-box;transform-origin:44px 40px;}.benefit-risk-square{transform-box:fill-box;transform-origin:center;}.benefit-product-segment{transform-box:view-box;transform-origin:24px 24.5px;}@media (hover:hover) and (prefers-reduced-motion:no-preference){.benefit-card:is(:hover,:focus-within){.benefit-market-line{animation:`,
|
|
5742
5859
|
` 120ms linear both;}.benefit-futures-line{animation:`,
|
|
@@ -5747,7 +5864,7 @@ var PageShell = import_styled_components4.default.main.withConfig({
|
|
|
5747
5864
|
` 200ms cubic-bezier(0.22,1,0.36,1) both;}.benefit-product-segment{animation:`,
|
|
5748
5865
|
` 260ms cubic-bezier(0.22,1,0.36,1) both;}.benefit-two-way{path{&:nth-child(1){animation:`,
|
|
5749
5866
|
` 400ms linear both;}&:nth-child(2){animation:`,
|
|
5750
|
-
` 400ms linear both;}}}}.benefit-card:is(:hover,:focus-within) .benefit-market-line--2{animation-delay:150ms;}.benefit-card:is(:hover,:focus-within) .benefit-market-line--3{animation-delay:240ms;}.benefit-card:is(:hover,:focus-within) .benefit-futures-line--2{animation-delay:80ms;}.benefit-card:is(:hover,:focus-within) .benefit-futures-line--3{animation-delay:160ms;}.benefit-card:is(:hover,:focus-within) .benefit-futures-line--4{animation-delay:240ms;}.benefit-card:is(:hover,:focus-within) .benefit-risk-square--2{animation-delay:100ms;}.benefit-card:is(:hover,:focus-within) .benefit-risk-square--3{animation-delay:200ms;}.benefit-card:is(:hover,:focus-within) .benefit-product-segment--2{animation-delay:70ms;}.benefit-card:is(:hover,:focus-within) .benefit-product-segment--3{animation-delay:140ms;}.benefit-card:is(:hover,:focus-within) .benefit-product-segment--4{animation-delay:210ms;}}.benefit-card h3{color:#05080f;margin:16px 0 4px;font-size:20px;font-weight:700;line-height:30px;}.benefit-card p{margin:0;color:#4e5560;font-size:14px;font-weight:500;line-height:18px;}.benefit-card p strong{color:inherit;font-weight:700;}.position{background:#fffaf0;padding:60px 0 80px;}.position-title{margin-bottom:32px;}.position-stage{position:relative;display:flex;justify-content:center;align-items:center;gap:80px;}.position-nav{position:relative;z-index:4;display:inline-flex;width:48px;height:48px;flex:0 0 48px;padding:0;align-items:center;justify-content:center;border:1px solid #e6e7ea;border-radius:999px;background:#fff;cursor:pointer;transition:border-color 160ms ease,box-shadow 160ms ease,transform 160ms ease;}.position-nav:hover{border-color:#f9bb3a;box-shadow:0 6px 16px rgb(80 62 20 / 10%);transform:translateY(-1px);}.position-nav:active{transform:translateY(0) scale(0.96);}.position-nav:focus-visible{outline:2px solid #f9bb3a;outline-offset:3px;}.position-nav img{display:block;width:24px;height:24px;}.position-slider-shell{position:relative;width:min(944px,100%);flex:0 1 944px;min-width:0;height:492px;padding:16px;isolation:isolate;}.position-slider-shell::before,.position-slider-shell::after{position:absolute;z-index:-2;content:"";pointer-events:none;}.position-slider-shell::before{top:0;bottom:60px;left:0;width:calc(100% - 104px);background:url("/landing-assets/position-outline.svg") no-repeat left top / 100% 100%;}.position-slider-shell::after{top:60px;right:0;bottom:0;left:104px;border-radius:8px;background:#f9bb3a;}.position-swiper{position:relative;width:100%;height:460px;overflow:visible;border-radius:8px;background:#fff;box-shadow:-4px -4px 5px rgb(0 0 0 / 10%);}.position-swiper .swiper-wrapper{position:relative;width:100%;height:100%;}.position-swiper .swiper-slide{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;opacity:0;transition:opacity 550ms ease;}.position-swiper .swiper-slide-active{z-index:1;pointer-events:auto;opacity:1;}@media (prefers-reduced-motion:reduce){.position-swiper .swiper-slide{transition:none;}}.position-card{display:flex;height:100%;min-height:460px;justify-content:space-between;padding:60px;align-items:center;gap:40px;background:#fff;border-radius:8px;}.position-copy{position:relative;z-index:1;display:flex;width:calc((100% - 40px) / 2);flex:0 1 calc((100% - 40px) / 2);min-width:0;align-self:start;margin-top:26px;flex-direction:column;gap:40px;}.position-ribbon{position:relative;display:flex;min-height:60px;align-items:center;}.position-ribbon::before{position:absolute;z-index:-1;top:-16px;bottom:-16px;left:-100px;width:515px;background:url("/landing-assets/position-ribbon.svg") no-repeat left center / 100% 100%;content:"";}.position-ribbon::after{position:absolute;top:76px;left:-100px;width:40px;height:40px;background:url("/landing-assets/position-ribbon-tail.svg") no-repeat center / contain;content:"";}.position-card--bot .position-ribbon::before{width:486px;}.position-card--platforms .position-ribbon::before{width:510px;}.position-ribbon h3{position:relative;z-index:1;margin:0;color:#05080f;font-size:20px;font-weight:700;line-height:30px;}.position-description{display:flex;flex-direction:column;gap:8px;}.position-description p{margin:0;color:#4e5560;font-size:14px;font-weight:500;line-height:18px;}.position-description strong{color:inherit;font-weight:700;}.position-media{position:relative;display:flex;flex-shrink:0;align-items:center;justify-content:center;overflow:hidden;}.position-media img{display:block;max-width:100%;object-fit:contain;}.position-pagination{display:flex;min-height:12px;margin-top:20px;justify-content:center;align-items:center;gap:8px;}.position-dot{display:block;width:12px;height:12px;margin:0 !important;border:0;border-radius:99px;background:#9ea3ad;cursor:pointer;opacity:1;transition:width 220ms ease,background-color 220ms ease;}.position-dot.is-active{width:36px;background:#f9bb3a;}.position-mobile-carousel{display:none;}.audience{padding:60px 0 80px;.container{display:flex;flex-direction:column;align-items:center;gap:32px;}.audience-title{width:632px;max-width:100%;margin-bottom:0;}.specular-button{display:flex;width:190px;min-height:44px;margin:0 auto;box-shadow:0 1px 20px rgb(249 187 58 / 60%);font-size:16px;font-weight:600;}}.audience-layout{display:flex;width:100%;height:446px;align-items:center;gap:40px;}.audience-column{display:flex;flex:1 0 0;min-width:0;flex-direction:column;gap:32px;}.speech-card{display:flex;min-width:0;flex-direction:column;}.speech-card h3{position:relative;z-index:2;display:flex;width:100%;margin:0;align-items:center;border-radius:0 6px 6px 0;padding:16px 40px 16px 48px;background:var(--yellow);box-shadow:0 4px 2px rgb(0 0 0 / 10%);font-size:20px;font-weight:700;line-height:30px;}.speech-card h3::after{position:absolute;z-index:-1;bottom:-40px;left:0;width:24px;height:40px;background:url("/landing-assets/audience-tail-left.svg") no-repeat center / 100% 100%;content:"";}.speech-card p{width:calc(100% - 40px);margin:0 16px 0 24px;border-radius:0 0 6px 6px;padding:16px 24px 24px;color:#4e5560;background:#fff;box-shadow:-4px 4px 5px rgb(0 0 0 / 10%);font-size:14px;font-weight:500;line-height:18px;}.audience-column--right .speech-card h3{border-radius:6px 0 0 6px;padding-right:48px;padding-left:40px;}.audience-column--right .speech-card h3::after{right:0;left:auto;background-image:url("/landing-assets/audience-tail-left.svg");transform:scaleX(-1);}.audience-column--right .speech-card p{margin-right:24px;margin-left:16px;}.audience-phones{position:relative;width:340px;height:342px;}.audience-phones img{position:absolute;width:192px;height:342px;object-fit:contain;}@media (min-width:1001px) and (max-height:900px){.audience{padding-block:16px;}.audience .container{gap:12px;}.audience-layout{height:410px;}}.phone_1{z-index:2;top:-30px;}.phone_2{right:10px;top:30px;}.store-links span{display:inline-flex;align-items:center;border-radius:6px;padding:0 15px;font-weight:700;}.download{padding:80px 0;background:var(--cream);}.download-card{position:relative;display:flex;min-height:546px;overflow:hidden;border-radius:12px;padding:80px;align-items:center;color:#fff;background:linear-gradient(111.34deg,#f57826 2.23%,var(--yellow) 74.21%);}.download-copy{position:relative;z-index:2;width:500px;flex:0 0 500px;}.download-mobile-title{display:none;}.download-offer-row{display:flex;flex-direction:column;gap:24px;}.reward{display:flex;min-height:144px;flex-direction:column;align-items:center;justify-content:center;border-radius:8px;padding:16px 16px 14px;background:rgb(121 82 0 / 20%);}.download-desktop-title{margin:0;color:#fff6dc;font-size:20px;font-weight:700;line-height:30px;text-align:center;}.reward-amount{display:block;text-align:center;justify-content:center;gap:0.25em;color:#fff;font-size:64px;font-weight:700;line-height:84px;white-space:nowrap;}.reward-amount strong{font:inherit;}.reward-divider,.reward > p{display:none;}.download-qr-links{display:flex;align-items:center;gap:16px;}.download-qr{display:flex;width:192px;flex:0 0 auto;flex-direction:column;align-items:center;gap:8px;border:2px solid rgb(255 255 255 / 80%);border-radius:8px;padding:16px;background:rgb(121 82 0 / 20%);}.download-qr strong{color:#f9fafb;font-size:14px;font-weight:700;line-height:18px;white-space:nowrap;}.download-qr > span{display:flex;width:100%;aspect-ratio:1;align-items:center;justify-content:center;border-radius:4px;padding:8px;background:#f9fafb;}.download-qr > span img{width:100%;height:100%;object-fit:contain;}.download-links{display:flex;min-width:0;flex:1;flex-direction:column;gap:16px;}.download-badge{display:flex;min-width:0;min-height:60px;flex:1;align-items:center;justify-content:center;gap:12px;border-radius:6px;padding:6px 8px;color:#05080f;background:#f9fafb;cursor:pointer;transition:opacity .2s linear;&:hover{opacity:.75;}}.download-badge > img{width:28px;height:28px;flex:0 0 28px;object-fit:contain;}.download-badge-copy{display:flex;flex-direction:column;gap:1px;}.download-badge-copy small{font-size:12px;font-weight:500;line-height:15px;}.download-badge-copy strong{font-size:20px;font-weight:500;line-height:20px;letter-spacing:-0.564px;}.download-badge--apple .download-badge-copy{font-family:-apple-system,BlinkMacSystemFont,sans-serif;}.download-googleplay-wordmark{width:88.8px;height:18px;transform:scaleY(-1);}.download-badge--apple > img,.download-googleplay-wordmark{filter:brightness(0);}.download-badge--web{min-height:64px;padding:8px 12px;}.download-badge--web .download-badge-copy{gap:0;font-family:var(--font-manrope),sans-serif;}.download-badge--web small{line-height:16px;}.download-badge--web strong{font-size:14px;font-weight:700;line-height:18px;letter-spacing:normal;}.download-devices{position:absolute;z-index:1;top:50%;left:calc(50% + 20px);width:596px;height:379px;margin-top:-189.5px;pointer-events:none;}.download-laptop{position:absolute;top:-41.0034%;left:5.3691%;width:147.4832%;height:174.1425%;}.download-laptop img{object-fit:cover;}.download-phone{position:absolute;top:30.2367%;left:2.0134%;width:34.8993%;height:66.7546%;overflow:hidden;}.download-phone img{top:-12.01% !important;left:0.01% !important;width:196.08% !important;height:122.85% !important;max-width:none;}@media (min-width:768px) and (max-width:1248px){.download-card{padding:clamp(24px,4vw,48px);}.download-copy{width:min(500px,50%);flex:0 0 auto;}.reward-amount{font-size:clamp(40px,5.13vw,64px);}.download-qr{width:min(192px,40%);padding:12px 8px;justify-content:center;}.download-qr strong{font-size:12px;}.download-badge{gap:8px;}}@media (max-width:767px){.download.section{padding:40px 0;}.download-card.container{width:calc(100% - 32px);min-height:490px;padding:16px;flex-direction:column;gap:8px;background:linear-gradient( -84.374deg,var(--yellow) 25.792%,#f57826 97.769% );}.download-card.container::before{content:"";position:absolute;top:-65px;left:-203px;width:574px;height:719px;background:url("/landing-assets/download-background-mobile.svg") no-repeat center / 100% 100%;pointer-events:none;}.download-copy{display:flex;width:100%;flex:0 0 auto;flex-direction:column;gap:8px;}.download-mobile-title{display:none;}.download-desktop-title{display:block;color:#fff6dc;font-size:clamp(14px,4.267vw,16px);line-height:22px;white-space:nowrap;}.download-offer-row{gap:10px;}.reward{min-height:88px;flex-direction:column;justify-content:center;gap:0;border:0;padding:16px 16px 14px;}.reward-amount{flex:0 0 auto;flex-direction:row;gap:0.25em;font-size:32px;line-height:36px;letter-spacing:normal;}.reward-amount span{font:inherit;}.reward-divider{display:none;}.reward > p{display:none;}.download-qr-links{gap:8px;}.download-qr{width:134px;gap:4px;border-width:1px;padding:8px;}.download-links{gap:8px;}.download-badge{min-height:44px;flex:0 0 44px;gap:4px;padding:6px 8px;}.download-badge > img{width:24px;height:24px;flex-basis:24px;}.download-badge-copy small{font-size:10px;line-height:12px;}.download-badge-copy strong{font-size:18px;line-height:18px;letter-spacing:-0.47px;}.download-badge--apple small{font-size:9px;line-height:9px;}.download-googleplay-wordmark{width:74px;height:15px;}.download-badge--web{gap:8px;padding:4px 8px;}.download-badge--web > img{width:22px;height:22px;flex-basis:22px;}.download-badge--web small{line-height:14px;}.download-badge--web strong{font-size:12px;line-height:16px;letter-spacing:normal;}.download-devices{position:relative;top:auto;left:auto;width:100%;height:auto;margin:0;flex:0 0 auto;aspect-ratio:311 / 197.767;}.download-laptop{left:-7.254%;width:147.5672%;}.download-phone{left:-10.6109%;}}@media (max-width:359px){.download-qr{width:116px;}.download-qr strong{font-size:12px;}.download-badge{padding-inline:4px;}}.steps{padding:60px 0 80px;background:var(--cream);}.steps .container{display:flex;flex-direction:column;gap:40px;}.steps-title{margin-bottom:0;}.steps-title h2{margin-bottom:8px;}.step-list{display:flex;align-items:stretch;isolation:isolate;}.step-card{position:relative;z-index:1;display:flex;flex:1 1 0;flex-direction:column;align-items:center;min-width:0;text-align:center;}.step-card:nth-child(1){z-index:4;}.step-card:nth-child(2){z-index:3;}.step-card:nth-child(3){z-index:2;}@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){.step-card{transition:transform 280ms cubic-bezier(0.22,1,0.36,1);}.step-content{transition:box-shadow 280ms ease;}.step-card:hover{z-index:5;transform:translateY(-14px);}.step-card:hover .step-content{box-shadow:0 22px 36px rgb(0 0 0 / 12%);}}.step-number{position:relative;width:398px;height:60px;flex:0 0 60px;color:#825e14;font-size:24px;font-weight:700;line-height:36px;}.step-ribbon{position:absolute;top:-20px;left:-10px;width:438px;height:100px;max-width:none;}.step-ribbon-mobile{display:none;}.step-number span{position:absolute;inset:0;z-index:1;display:flex;align-items:center;justify-content:center;}.step-content{display:flex;width:100%;min-height:296px;padding:32px 40px 32px 60px;flex:1 1 auto;flex-direction:column;align-items:center;gap:24px;background:#fff;box-shadow:20px 10px 10px rgb(0 0 0 / 4%);}.step-card:first-child .step-content{border-radius:0 0 0 8px;}.step-card:last-child .step-content{border-radius:0 0 8px;}.step-icon{display:flex;width:48px;height:48px;flex:0 0 48px;align-items:center;justify-content:center;}.step-icon svg{display:block;width:40px;height:40px;flex:0 0 40px;}.step-copy{display:flex;width:100%;flex-direction:column;gap:4px;}.step-copy h3{margin:0;font-size:20px;font-weight:700;line-height:30px;}.step-copy p{margin:0;color:#4e5560;font-size:14px;font-weight:500;line-height:18px;}.commodities{padding:60px 0 80px;}.commodities .container{display:flex;flex-direction:column;gap:40px;}.commodities-title{margin-bottom:0;}.commodity-list{display:flex;flex-direction:column;gap:60px;}.commodity-row{position:relative;display:flex;height:216px;flex:0 0 216px;align-items:center;gap:80px;border-radius:0 12px 12px 0;padding:40px;background:#fff;box-shadow:10px 10px 10px rgb(0 0 0 / 4%);}.commodity-label{position:relative;display:flex;width:160px;height:104px;flex:0 0 160px;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#fff;}.commodity-label-panel{position:absolute;z-index:1;top:-78px;left:-46px;width:310px;height:272px;max-width:none;}.commodity-label-tail{position:absolute;z-index:0;top:160px;left:210px;width:88px;height:24px;max-width:none;}.commodity-label-panel-mobile{display:none;}.commodity-label-icon{position:relative;z-index:2;display:flex;width:60px;height:60px;flex:0 0 60px;align-items:center;justify-content:center;}.commodity-label-icon img{width:auto;height:auto;max-width:none;}.metal .commodity-label-icon img{transform:translateY(3px);}.commodity-label h3{position:relative;z-index:2;width:100%;margin:0;font-size:24px;font-weight:700;line-height:36px;text-align:center;}.commodity-carousel{display:flex;flex:1 1 0;min-width:0;align-items:center;gap:32px;}.commodity-nav{display:flex;width:32px;height:32px;flex:0 0 32px;align-items:center;justify-content:center;border:1px solid #e6e7ea;border-radius:50%;padding:0;background:#f3f4f6;cursor:pointer;}.commodity-nav:hover{background:#e6e7ea;}.commodity-nav:focus-visible{outline:2px solid var(--yellow);outline-offset:2px;}.commodity-products{display:flex;flex:1 1 0;min-width:0;align-items:center;gap:32px;}.commodity-product{display:flex;flex:1 1 0;min-width:0;align-items:flex-start;gap:12px;transition:opacity .5s ease;cursor:pointer;&:hover{opacity:0.75;}}.commodity-image{position:relative;width:136px;height:136px;overflow:hidden;flex:0 0 136px;}.commodity-sprite{display:block;width:100%;height:100%;object-fit:contain;}.commodity-copy{display:flex;flex:1 1 0;min-width:0;flex-direction:column;align-items:flex-start;gap:4px;}.commodity-copy h3{width:100%;margin:0;font-size:20px;font-weight:700;line-height:30px;}.commodity-copy p{display:-webkit-box;width:100%;height:72px;overflow:hidden;margin:0;color:#4e5560;font-size:14px;font-weight:500;line-height:18px;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:4;}.commodity-copy a{display:flex;align-items:center;justify-content:center;gap:6px;border-radius:6px;padding:4px 16px 4px 0;color:var(--yellow);font-size:14px;font-weight:700;line-height:18px;}.commodity-copy a img{width:16px;height:16px;flex:0 0 16px;}.faq{background:var(--cream);}.faq-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:40px;}.faq-column{display:flex;min-width:0;flex-direction:column;gap:22px;}.faq-item{min-width:0;border-radius:7px;color:var(--faq-card-foreground);background:var(--faq-card-background);box-shadow:-7px 7px 0 var(--faq-card-shadow-accent),0 4px 14px var(--faq-card-shadow-ambient);transition:box-shadow 160ms ease;&:hover{box-shadow:0 0 0 7px var(--faq-card-shadow-accent),0 8px 18px var(--faq-card-shadow-ambient);}}.faq-trigger{display:flex;width:100%;min-height:70px;padding:20px 28px;align-items:center;justify-content:space-between;gap:18px;border:0;border-radius:inherit;color:inherit;background:transparent;cursor:pointer;font-family:inherit;font-size:15px;font-weight:700;line-height:1.25;text-align:left;}.faq-trigger:focus-visible{outline:2px solid var(--yellow);outline-offset:3px;}.faq-trigger-icon{display:inline-flex;width:22px;height:22px;flex:0 0 22px;align-items:center;justify-content:center;color:var(--yellow);transform:translateZ(0);}.faq-content{display:grid;grid-template-rows:0fr;overflow:hidden;opacity:0;contain:layout paint;transition:grid-template-rows 320ms cubic-bezier(0.22,1,0.36,1),opacity 180ms ease;}.faq-content[hidden]{display:grid;}.faq-content[data-state="open"]{grid-template-rows:1fr;opacity:1;}.faq-content[data-state="closed"]{transition-duration:240ms,140ms;}.faq-content-clip{min-height:0;overflow:hidden;}.faq-answer{padding:0 28px 24px;opacity:0;transform:translateY(-6px) scale(0.99);transform-origin:top center;transition:opacity 150ms ease,transform 220ms cubic-bezier(0.22,1,0.36,1);will-change:transform,opacity;}.faq-content[data-state="open"] .faq-answer{opacity:1;transform:translateY(0) scale(1);transition-delay:45ms;}.faq-answer p{margin:-4px 0 0;color:var(--faq-answer-color);font-size:14px;line-height:1.55;}.register{position:relative;height:880px;overflow:hidden;padding:120px 0;background:linear-gradient(104deg,#F67C27 -13.12%,#F9BB3A 61.64%),#FFFBF3;}.register-layout{position:relative;z-index:1;display:flex;align-items:center;gap:80px;}@media (min-width:768px) and (max-width:1254px){.register-layout{gap:40px;justify-content:center;}}.register-form-frame{position:relative;display:flex;width:562px;height:616px;overflow:visible;flex:0 0 562px;align-items:center;border:0;border-radius:20px;padding:11px;}.register-border.specular-button{position:absolute;z-index:-1;inset:0;width:100%;height:100%;border-radius:20px;padding:0;background:transparent;pointer-events:none;span{inset:-15px;}}.register-border .specular-button__label{display:none;}.register-card{position:relative;z-index:1;display:flex;width:540px;height:594px;flex-direction:column;align-items:flex-end;gap:32px;border-radius:12px;padding:40px;background:#fff;box-shadow:0 10px 20px rgb(0 0 0 / 10%);}.register-card header{display:flex;width:100%;flex-direction:column;gap:8px;}.register-card header h2{width:100%;margin:0;font-size:24px;font-weight:700;line-height:36px;}.register-card header p{width:100%;margin:0;color:var(--muted);font-size:14px;font-weight:500;line-height:18px;}.register-fields{display:flex;width:100%;flex-direction:column;gap:16px;}.register-card label,.register-field{display:flex;min-width:0;flex-direction:column;gap:4px;color:#707580;font-size:12px;font-weight:700;line-height:16px;}.register-field-label{display:block;}.field-row{display:flex;gap:16px;}.field-row > label,.field-row > .register-field{flex:1 1 0;min-width:0;}.register-card input,.register-select-trigger{width:100%;height:44px;border:1px solid transparent;border-radius:8px;padding:0 16px;color:#05080f;background:#f3f4f6;outline:none;font:inherit;font-size:14px;font-weight:500;line-height:18px;transition:border-color 160ms ease,background-color 160ms ease,box-shadow 160ms ease;}.register-select-trigger{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-right:12px;cursor:pointer;text-align:left;}.register-select-trigger[data-placeholder]{color:#9ea3ad;}.register-select-icon{width:20px;height:20px;flex:0 0 20px;background-image:url("/landing-assets/register-dropdown.svg");background-position:center;background-repeat:no-repeat;background-size:20px 20px;transition:transform 160ms ease;}.register-select-trigger[data-state="open"] .register-select-icon{transform:rotate(180deg);}.register-market-trigger[data-state="open"]{border-color:var(--yellow);}.register-market-value{min-width:0;flex:1 1 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.register-card input::placeholder{color:#9ea3ad;opacity:1;}.register-card input:hover,.register-select-trigger:hover{border-color:#9ea3ad;}.register-card input:focus,.register-select-trigger:focus-visible{border-color:var(--yellow);background-color:#f3f4f6;box-shadow:0 0 0 3px rgb(249 187 58 / 20%);}.register-submit{width:170px;height:48px;margin-left:auto;flex:0 0 48px;padding:0;box-shadow:0 1px 12px rgb(200 135 14 / 40%);font-size:16px;font-weight:600;line-height:22px;}.register-visual{position:relative;display:flex;width:558px;height:640px;flex:0 0 558px;flex-direction:column;align-items:center;}.register-visual > h2{position:relative;z-index:2;display:flex;width:100%;height:166px;margin:0;align-items:flex-start;justify-content:center;padding:42px 0 24px;font-size:37px;font-weight:700;line-height:50px;text-align:center;}.register-art{position:absolute;top:166px;left:-53px;width:708px;height:647px;}.register-art > img{width:708px;height:647px;max-width:none;}.register-tags{position:absolute;left:50%;top:50%;}.register-tag{position:absolute;img{position:relative;width:216px;height:121px;object-fit:contain;}span{position:absolute;color:#392C12;font-size:20px;font-weight:700;width:100%;text-align:center;left:50%;top:50%;transform:translate(-50%,-50%);padding-bottom:30px;}}.tag_1{left:-350px;top:-190px;span{padding-bottom:25px;}}.tag_2{right:-240px;top:-250px;img{width:158px;height:85px;}span{padding-bottom:25px;}}.tag_3{right:-268px;bottom:-52px;span{font-size:27px;}}@media (max-width:767px){.register-tag{span{font-size:14px;padding-bottom:20px;}img{width:122px;height:80px;}}.register-tags{inset:0;}.tag_1{left:2%;top:22%;}.tag_2{right:6%;top:3%;}.tag_3{right:8%;bottom:12%;}}.footer{padding:60px 0;color:#05080f;background:#fff;`,
|
|
5867
|
+
` 400ms linear both;}}}}.benefit-card:is(:hover,:focus-within) .benefit-market-line--2{animation-delay:150ms;}.benefit-card:is(:hover,:focus-within) .benefit-market-line--3{animation-delay:240ms;}.benefit-card:is(:hover,:focus-within) .benefit-futures-line--2{animation-delay:80ms;}.benefit-card:is(:hover,:focus-within) .benefit-futures-line--3{animation-delay:160ms;}.benefit-card:is(:hover,:focus-within) .benefit-futures-line--4{animation-delay:240ms;}.benefit-card:is(:hover,:focus-within) .benefit-risk-square--2{animation-delay:100ms;}.benefit-card:is(:hover,:focus-within) .benefit-risk-square--3{animation-delay:200ms;}.benefit-card:is(:hover,:focus-within) .benefit-product-segment--2{animation-delay:70ms;}.benefit-card:is(:hover,:focus-within) .benefit-product-segment--3{animation-delay:140ms;}.benefit-card:is(:hover,:focus-within) .benefit-product-segment--4{animation-delay:210ms;}}.benefit-card h3{color:#05080f;margin:16px 0 4px;font-size:20px;font-weight:700;line-height:30px;}.benefit-card p{margin:0;color:#4e5560;font-size:14px;font-weight:500;line-height:18px;}.benefit-card p strong{color:inherit;font-weight:700;}.position{background:#fffaf0;padding:60px 0 80px;}.position-title{margin-bottom:32px;}.position-stage{position:relative;display:flex;justify-content:center;align-items:center;gap:80px;}.position-nav{position:relative;z-index:4;display:inline-flex;width:48px;height:48px;flex:0 0 48px;padding:0;align-items:center;justify-content:center;border:1px solid #e6e7ea;border-radius:999px;background:#fff;cursor:pointer;transition:border-color 160ms ease,box-shadow 160ms ease,transform 160ms ease;}.position-nav:hover{border-color:#f9bb3a;box-shadow:0 6px 16px rgb(80 62 20 / 10%);transform:translateY(-1px);}.position-nav:active{transform:translateY(0) scale(0.96);}.position-nav:focus-visible{outline:2px solid #f9bb3a;outline-offset:3px;}.position-nav img{display:block;width:24px;height:24px;}.position-slider-shell{position:relative;width:min(944px,100%);flex:0 1 944px;min-width:0;height:492px;padding:16px;isolation:isolate;}.position-slider-shell::before,.position-slider-shell::after{position:absolute;z-index:-2;content:"";pointer-events:none;}.position-slider-shell::before{top:0;bottom:60px;left:0;width:calc(100% - 104px);background:url("/landing-assets/position-outline.svg") no-repeat left top / 100% 100%;}.position-slider-shell::after{top:60px;right:0;bottom:0;left:104px;border-radius:8px;background:#f9bb3a;}.position-swiper{position:relative;width:100%;height:460px;overflow:visible;border-radius:8px;background:#fff;box-shadow:-4px -4px 5px rgb(0 0 0 / 10%);}.position-swiper .swiper-wrapper{position:relative;width:100%;height:100%;}.position-swiper .swiper-slide{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;opacity:0;transition:opacity 550ms ease;}.position-swiper .swiper-slide-active{z-index:1;pointer-events:auto;opacity:1;}@media (prefers-reduced-motion:reduce){.position-swiper .swiper-slide{transition:none;}}.position-card{display:flex;height:100%;min-height:460px;justify-content:space-between;padding:60px;align-items:center;gap:40px;background:#fff;border-radius:8px;}.position-copy{position:relative;z-index:1;display:flex;width:calc((100% - 40px) / 2);flex:0 1 calc((100% - 40px) / 2);min-width:0;align-self:start;margin-top:26px;flex-direction:column;gap:40px;}.position-ribbon{position:relative;display:flex;min-height:60px;align-items:center;}.position-ribbon::before{position:absolute;z-index:-1;top:-16px;bottom:-16px;left:-100px;width:515px;background:url("/landing-assets/position-ribbon.svg") no-repeat left center / 100% 100%;content:"";}.position-ribbon::after{position:absolute;top:76px;left:-100px;width:40px;height:40px;background:url("/landing-assets/position-ribbon-tail.svg") no-repeat center / contain;content:"";}.position-card--bot .position-ribbon::before{width:486px;}.position-card--platforms .position-ribbon::before{width:510px;}.position-ribbon h3{position:relative;z-index:1;margin:0;color:#05080f;font-size:20px;font-weight:700;line-height:30px;}.position-description{display:flex;flex-direction:column;gap:8px;}.position-description p{margin:0;color:#4e5560;font-size:14px;font-weight:500;line-height:18px;}.position-description strong{color:inherit;font-weight:700;}.position-media{position:relative;display:flex;flex-shrink:0;align-items:center;justify-content:center;overflow:hidden;}.position-media img{display:block;max-width:100%;object-fit:contain;}.position-pagination{display:flex;min-height:12px;margin-top:20px;justify-content:center;align-items:center;gap:8px;}.position-dot{display:block;width:12px;height:12px;margin:0 !important;border:0;border-radius:99px;background:#9ea3ad;cursor:pointer;opacity:1;transition:width 220ms ease,background-color 220ms ease;}.position-dot.is-active{width:36px;background:#f9bb3a;}.position-mobile-carousel{display:none;}.audience{padding:60px 0 80px;.container{display:flex;flex-direction:column;align-items:center;gap:32px;}.audience-title{width:632px;max-width:100%;margin-bottom:0;}.specular-button{display:flex;width:190px;min-height:44px;margin:0 auto;box-shadow:0 1px 20px rgb(249 187 58 / 60%);font-size:16px;font-weight:600;}}.audience-layout{display:flex;width:100%;height:446px;align-items:center;gap:40px;}.audience-column{display:flex;flex:1 0 0;min-width:0;flex-direction:column;gap:32px;}.speech-card{display:flex;min-width:0;flex-direction:column;}.speech-card h3{position:relative;z-index:2;display:flex;width:100%;margin:0;align-items:center;border-radius:0 6px 6px 0;padding:16px 40px 16px 48px;background:var(--yellow);box-shadow:0 4px 2px rgb(0 0 0 / 10%);font-size:20px;font-weight:700;line-height:30px;}.speech-card h3::after{position:absolute;z-index:-1;bottom:-40px;left:0;width:24px;height:40px;background:url("/landing-assets/audience-tail-left.svg") no-repeat center / 100% 100%;content:"";}.speech-card p{width:calc(100% - 40px);margin:0 16px 0 24px;border-radius:0 0 6px 6px;padding:16px 24px 24px;color:#4e5560;background:#fff;box-shadow:-4px 4px 5px rgb(0 0 0 / 10%);font-size:14px;font-weight:500;line-height:18px;}.audience-column--right .speech-card h3{border-radius:6px 0 0 6px;padding-right:48px;padding-left:40px;}.audience-column--right .speech-card h3::after{right:0;left:auto;background-image:url("/landing-assets/audience-tail-left.svg");transform:scaleX(-1);}.audience-column--right .speech-card p{margin-right:24px;margin-left:16px;}.audience-phones{position:relative;width:340px;height:342px;}.audience-phones img{position:absolute;width:192px;height:342px;object-fit:contain;}@media (min-width:1001px) and (max-height:900px){.audience{padding-block:16px;}.audience .container{gap:12px;}.audience-layout{height:410px;}}.phone_1{z-index:2;top:-30px;}.phone_2{right:10px;top:30px;}.store-links span{display:inline-flex;align-items:center;border-radius:6px;padding:0 15px;font-weight:700;}.download{padding:80px 0;background:var(--cream);}.download-card{position:relative;display:flex;min-height:546px;overflow:hidden;border-radius:12px;padding:80px;align-items:center;color:#fff;background:linear-gradient(111.34deg,#f57826 2.23%,var(--yellow) 74.21%);}.download-copy{position:relative;z-index:2;width:500px;flex:0 0 500px;}.download-mobile-title{display:none;}.download-offer-row{display:flex;flex-direction:column;gap:24px;}.reward{display:flex;min-height:144px;flex-direction:column;align-items:center;justify-content:center;border-radius:8px;padding:16px 16px 14px;background:rgb(121 82 0 / 20%);}.download-desktop-title{margin:0;color:#fff6dc;font-size:20px;font-weight:700;line-height:30px;text-align:center;}.reward-amount{display:block;text-align:center;justify-content:center;gap:0.25em;color:#fff;font-size:64px;font-weight:700;line-height:84px;white-space:nowrap;}.reward-amount strong{font:inherit;}.reward-divider,.reward > p{display:none;}.download-qr-links{display:flex;align-items:center;gap:16px;}.download-qr{display:flex;width:192px;flex:0 0 auto;flex-direction:column;align-items:center;gap:8px;border:2px solid rgb(255 255 255 / 80%);border-radius:8px;padding:16px;background:rgb(121 82 0 / 20%);}.download-qr strong{color:#f9fafb;font-size:14px;font-weight:700;line-height:18px;white-space:nowrap;}.download-qr > span{display:flex;width:100%;aspect-ratio:1;align-items:center;justify-content:center;border-radius:4px;padding:8px;background:#f9fafb;}.download-qr > span img{width:100%;height:100%;object-fit:contain;}.download-links{display:flex;min-width:0;flex:1;flex-direction:column;gap:16px;}.download-badge{text-decoration:none;display:flex;min-width:0;min-height:60px;flex:1;align-items:center;justify-content:center;gap:12px;border-radius:6px;padding:6px 8px;color:#05080f;background:#f9fafb;cursor:pointer;transition:opacity .2s linear;&:hover{opacity:.75;}}.download-badge > img{width:28px;height:28px;flex:0 0 28px;object-fit:contain;}.download-badge-copy{display:flex;flex-direction:column;gap:1px;}.download-badge-copy small{font-size:12px;font-weight:500;line-height:15px;}.download-badge-copy strong{font-size:20px;font-weight:500;line-height:20px;letter-spacing:-0.564px;}.download-badge--apple .download-badge-copy{font-family:-apple-system,BlinkMacSystemFont,sans-serif;}.download-googleplay-wordmark{width:88.8px;height:18px;transform:scaleY(-1);}.download-badge--apple > img,.download-googleplay-wordmark{filter:brightness(0);}.download-badge--web{min-height:64px;padding:8px 12px;}.download-badge--web .download-badge-copy{gap:0;font-family:var(--font-manrope),sans-serif;}.download-badge--web small{line-height:16px;}.download-badge--web strong{font-size:14px;font-weight:700;line-height:18px;letter-spacing:normal;}.download-devices{position:absolute;z-index:1;top:50%;left:calc(50% + 20px);width:596px;height:379px;margin-top:-189.5px;pointer-events:none;}.download-laptop{position:absolute;top:-41.0034%;left:5.3691%;width:147.4832%;height:174.1425%;}.download-laptop img{object-fit:cover;}.download-phone{position:absolute;top:30.2367%;left:2.0134%;width:34.8993%;height:66.7546%;overflow:hidden;}.download-phone img{top:-12.01% !important;left:0.01% !important;width:196.08% !important;height:122.85% !important;max-width:none;}@media (min-width:768px) and (max-width:1248px){.download-card{padding:clamp(24px,4vw,48px);}.download-copy{width:min(500px,50%);flex:0 0 auto;}.reward-amount{font-size:clamp(40px,5.13vw,64px);}.download-qr{width:min(192px,40%);padding:12px 8px;justify-content:center;}.download-qr strong{font-size:12px;}.download-badge{gap:8px;}}@media (max-width:767px){.download.section{padding:40px 0;}.download-card.container{width:calc(100% - 32px);min-height:490px;padding:16px;flex-direction:column;gap:8px;background:linear-gradient( -84.374deg,var(--yellow) 25.792%,#f57826 97.769% );}.download-card.container::before{content:"";position:absolute;top:-65px;left:-203px;width:574px;height:719px;background:url("/landing-assets/download-background-mobile.svg") no-repeat center / 100% 100%;pointer-events:none;}.download-copy{display:flex;width:100%;flex:0 0 auto;flex-direction:column;gap:8px;}.download-mobile-title{display:none;}.download-desktop-title{display:block;color:#fff6dc;font-size:clamp(14px,4.267vw,16px);line-height:22px;white-space:nowrap;}.download-offer-row{gap:10px;}.reward{min-height:88px;flex-direction:column;justify-content:center;gap:0;border:0;padding:16px 16px 14px;}.reward-amount{flex:0 0 auto;flex-direction:row;gap:0.25em;font-size:32px;line-height:36px;letter-spacing:normal;}.reward-amount span{font:inherit;}.reward-divider{display:none;}.reward > p{display:none;}.download-qr-links{gap:8px;}.download-qr{width:134px;gap:4px;border-width:1px;padding:8px;}.download-links{gap:8px;}.download-badge{min-height:44px;flex:0 0 44px;gap:4px;padding:6px 8px;}.download-badge > img{width:24px;height:24px;flex-basis:24px;}.download-badge-copy small{font-size:10px;line-height:12px;}.download-badge-copy strong{font-size:18px;line-height:18px;letter-spacing:-0.47px;}.download-badge--apple small{font-size:9px;line-height:9px;}.download-googleplay-wordmark{width:74px;height:15px;}.download-badge--web{gap:8px;padding:4px 8px;}.download-badge--web > img{width:22px;height:22px;flex-basis:22px;}.download-badge--web small{line-height:14px;}.download-badge--web strong{font-size:12px;line-height:16px;letter-spacing:normal;}.download-devices{position:relative;top:auto;left:auto;width:100%;height:auto;margin:0;flex:0 0 auto;aspect-ratio:311 / 197.767;}.download-laptop{left:-7.254%;width:147.5672%;}.download-phone{left:-10.6109%;}}@media (max-width:359px){.download-qr{width:116px;}.download-qr strong{font-size:12px;}.download-badge{padding-inline:4px;}}.steps{padding:60px 0 80px;background:var(--cream);}.steps .container{display:flex;flex-direction:column;gap:40px;}.steps-title{margin-bottom:0;}.steps-title h2{margin-bottom:8px;}.step-list{display:flex;align-items:stretch;isolation:isolate;}.step-card{position:relative;z-index:1;display:flex;flex:1 1 0;flex-direction:column;align-items:center;min-width:0;text-align:center;}.step-card:nth-child(1){z-index:4;}.step-card:nth-child(2){z-index:3;}.step-card:nth-child(3){z-index:2;}@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){.step-card{transition:transform 280ms cubic-bezier(0.22,1,0.36,1);}.step-content{transition:box-shadow 280ms ease;}.step-card:hover{z-index:5;transform:translateY(-14px);}.step-card:hover .step-content{box-shadow:0 22px 36px rgb(0 0 0 / 12%);}}.step-number{position:relative;width:398px;height:60px;flex:0 0 60px;color:#825e14;font-size:24px;font-weight:700;line-height:36px;}.step-ribbon{position:absolute;top:-20px;left:-10px;width:438px;height:100px;max-width:none;}.step-ribbon-mobile{display:none;}.step-number span{position:absolute;inset:0;z-index:1;display:flex;align-items:center;justify-content:center;}.step-content{display:flex;width:100%;min-height:296px;padding:32px 40px 32px 60px;flex:1 1 auto;flex-direction:column;align-items:center;gap:24px;background:#fff;box-shadow:20px 10px 10px rgb(0 0 0 / 4%);}.step-card:first-child .step-content{border-radius:0 0 0 8px;}.step-card:last-child .step-content{border-radius:0 0 8px;}.step-icon{display:flex;width:48px;height:48px;flex:0 0 48px;align-items:center;justify-content:center;}.step-icon svg{display:block;width:40px;height:40px;flex:0 0 40px;}.step-copy{display:flex;width:100%;flex-direction:column;gap:4px;}.step-copy h3{margin:0;font-size:20px;font-weight:700;line-height:30px;}.step-copy p{margin:0;color:#4e5560;font-size:14px;font-weight:500;line-height:18px;}.commodities{padding:60px 0 80px;}.commodities .container{display:flex;flex-direction:column;gap:40px;}.commodities-title{margin-bottom:0;}.commodity-list{display:flex;flex-direction:column;gap:60px;}.commodity-row{position:relative;display:flex;height:216px;flex:0 0 216px;align-items:center;gap:80px;border-radius:0 12px 12px 0;padding:40px;background:#fff;box-shadow:10px 10px 10px rgb(0 0 0 / 4%);}.commodity-label{position:relative;display:flex;width:160px;height:104px;flex:0 0 160px;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#fff;}.commodity-label-panel{position:absolute;z-index:1;top:-78px;left:-46px;width:310px;height:272px;max-width:none;}.commodity-label-tail{position:absolute;z-index:0;top:160px;left:210px;width:88px;height:24px;max-width:none;}.commodity-label-panel-mobile{display:none;}.commodity-label-icon{position:relative;z-index:2;display:flex;width:60px;height:60px;flex:0 0 60px;align-items:center;justify-content:center;}.commodity-label-icon img{width:auto;height:auto;max-width:none;}.metal .commodity-label-icon img{transform:translateY(3px);}.commodity-label h3{position:relative;z-index:2;width:100%;margin:0;font-size:24px;font-weight:700;line-height:36px;text-align:center;}.commodity-carousel{display:flex;flex:1 1 0;min-width:0;align-items:center;gap:32px;}.commodity-nav{display:flex;width:32px;height:32px;flex:0 0 32px;align-items:center;justify-content:center;border:1px solid #e6e7ea;border-radius:50%;padding:0;background:#f3f4f6;cursor:pointer;}.commodity-nav:hover{background:#e6e7ea;}.commodity-nav:focus-visible{outline:2px solid var(--yellow);outline-offset:2px;}.commodity-products{display:flex;flex:1 1 0;min-width:0;align-items:center;gap:32px;}.commodity-product{display:flex;flex:1 1 0;min-width:0;align-items:flex-start;gap:12px;transition:opacity .5s ease;cursor:pointer;&:hover{opacity:0.75;}}.commodity-image{position:relative;width:136px;height:136px;overflow:hidden;flex:0 0 136px;}.commodity-sprite{display:block;width:100%;height:100%;object-fit:contain;}.commodity-copy{display:flex;flex:1 1 0;min-width:0;flex-direction:column;align-items:flex-start;gap:4px;}.commodity-copy h3{width:100%;margin:0;font-size:20px;font-weight:700;line-height:30px;}.commodity-copy p{display:-webkit-box;width:100%;height:72px;overflow:hidden;margin:0;color:#4e5560;font-size:14px;font-weight:500;line-height:18px;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:4;}.commodity-copy a{display:flex;align-items:center;justify-content:center;gap:6px;border-radius:6px;padding:4px 16px 4px 0;color:var(--yellow);font-size:14px;font-weight:700;line-height:18px;}.commodity-copy a img{width:16px;height:16px;flex:0 0 16px;}.faq{background:var(--cream);}.faq-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:40px;}.faq-column{display:flex;min-width:0;flex-direction:column;gap:22px;}.faq-item{min-width:0;border-radius:7px;color:var(--faq-card-foreground);background:var(--faq-card-background);box-shadow:-7px 7px 0 var(--faq-card-shadow-accent),0 4px 14px var(--faq-card-shadow-ambient);transition:box-shadow 160ms ease;&:hover{box-shadow:0 0 0 7px var(--faq-card-shadow-accent),0 8px 18px var(--faq-card-shadow-ambient);}}.faq-trigger{display:flex;width:100%;min-height:70px;padding:20px 28px;align-items:center;justify-content:space-between;gap:18px;border:0;border-radius:inherit;color:inherit;background:transparent;cursor:pointer;font-family:inherit;font-size:15px;font-weight:700;line-height:1.25;text-align:left;}.faq-trigger:focus-visible{outline:2px solid var(--yellow);outline-offset:3px;}.faq-trigger-icon{display:inline-flex;width:22px;height:22px;flex:0 0 22px;align-items:center;justify-content:center;color:var(--yellow);transform:translateZ(0);}.faq-content{display:grid;grid-template-rows:0fr;overflow:hidden;opacity:0;contain:layout paint;transition:grid-template-rows 320ms cubic-bezier(0.22,1,0.36,1),opacity 180ms ease;}.faq-content[hidden]{display:grid;}.faq-content[data-state="open"]{grid-template-rows:1fr;opacity:1;}.faq-content[data-state="closed"]{transition-duration:240ms,140ms;}.faq-content-clip{min-height:0;overflow:hidden;}.faq-answer{padding:0 28px 24px;opacity:0;transform:translateY(-6px) scale(0.99);transform-origin:top center;transition:opacity 150ms ease,transform 220ms cubic-bezier(0.22,1,0.36,1);will-change:transform,opacity;}.faq-content[data-state="open"] .faq-answer{opacity:1;transform:translateY(0) scale(1);transition-delay:45ms;}.faq-answer p{margin:-4px 0 0;color:var(--faq-answer-color);font-size:14px;line-height:1.55;}.register{position:relative;height:880px;overflow:hidden;padding:120px 0;background:linear-gradient(104deg,#F67C27 -13.12%,#F9BB3A 61.64%),#FFFBF3;}.register-layout{position:relative;z-index:1;display:flex;align-items:center;gap:80px;}@media (min-width:768px) and (max-width:1254px){.register-layout{gap:40px;justify-content:center;}}.register-form-frame{position:relative;display:flex;width:562px;height:616px;overflow:visible;flex:0 0 562px;align-items:center;border:0;border-radius:20px;padding:11px;}.register-border.specular-button{position:absolute;z-index:-1;inset:0;width:100%;height:100%;border-radius:20px;padding:0;background:transparent;pointer-events:none;span{inset:-15px;}}.register-border .specular-button__label{display:none;}.register-card{position:relative;z-index:1;display:flex;width:540px;height:594px;flex-direction:column;align-items:flex-end;gap:32px;border-radius:12px;padding:40px;background:#fff;box-shadow:0 10px 20px rgb(0 0 0 / 10%);}.register-card header{display:flex;width:100%;flex-direction:column;gap:8px;}.register-card header h2{width:100%;margin:0;font-size:24px;font-weight:700;line-height:36px;}.register-card header p{width:100%;margin:0;color:var(--muted);font-size:14px;font-weight:500;line-height:18px;}.register-fields{display:flex;width:100%;flex-direction:column;gap:16px;}.register-card label,.register-field{display:flex;min-width:0;flex-direction:column;gap:4px;color:#707580;font-size:12px;font-weight:700;line-height:16px;}.register-field-label{display:block;}.field-row{display:flex;gap:16px;}.field-row > label,.field-row > .register-field{flex:1 1 0;min-width:0;}.register-card input,.register-select-trigger{width:100%;height:44px;border:1px solid transparent;border-radius:8px;padding:0 16px;color:#05080f;background:#f3f4f6;outline:none;font:inherit;font-size:14px;font-weight:500;line-height:18px;transition:border-color 160ms ease,background-color 160ms ease,box-shadow 160ms ease;}.register-select-trigger{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-right:12px;cursor:pointer;text-align:left;}.register-select-trigger[data-placeholder]{color:#9ea3ad;}.register-select-icon{width:20px;height:20px;flex:0 0 20px;background-image:url("/landing-assets/register-dropdown.svg");background-position:center;background-repeat:no-repeat;background-size:20px 20px;transition:transform 160ms ease;}.register-select-trigger[data-state="open"] .register-select-icon{transform:rotate(180deg);}.register-market-trigger[data-state="open"]{border-color:var(--yellow);}.register-market-value{min-width:0;flex:1 1 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.register-card input::placeholder{color:#9ea3ad;opacity:1;}.register-card input:hover,.register-select-trigger:hover{border-color:#9ea3ad;}.register-card input:focus,.register-select-trigger:focus-visible{border-color:var(--yellow);background-color:#f3f4f6;box-shadow:0 0 0 3px rgb(249 187 58 / 20%);}.register-submit{width:170px;height:48px;margin-left:auto;flex:0 0 48px;padding:0;box-shadow:0 1px 12px rgb(200 135 14 / 40%);font-size:16px;font-weight:600;line-height:22px;}.register-visual{position:relative;display:flex;width:558px;height:640px;flex:0 0 558px;flex-direction:column;align-items:center;}.register-visual > h2{position:relative;z-index:2;display:flex;width:100%;height:166px;margin:0;align-items:flex-start;justify-content:center;padding:42px 0 24px;font-size:37px;font-weight:700;line-height:50px;text-align:center;}.register-art{position:absolute;top:166px;left:-53px;width:708px;height:647px;}.register-art > img{width:708px;height:647px;max-width:none;}.register-tags{position:absolute;left:50%;top:50%;}.register-tag{position:absolute;img{position:relative;width:216px;height:121px;object-fit:contain;}span{position:absolute;color:#392C12;font-size:20px;font-weight:700;width:100%;text-align:center;left:50%;top:50%;transform:translate(-50%,-50%);padding-bottom:30px;}}.tag_1{left:-350px;top:-190px;span{padding-bottom:25px;}}.tag_2{right:-240px;top:-250px;img{width:158px;height:85px;}span{padding-bottom:25px;}}.tag_3{right:-268px;bottom:-52px;span{font-size:27px;}}@media (max-width:767px){.register-tag{span{font-size:14px;padding-bottom:20px;}img{width:122px;height:80px;}}.register-tags{inset:0;}.tag_1{left:2%;top:22%;}.tag_2{right:6%;top:3%;}.tag_3{right:8%;bottom:12%;}}.footer{padding:60px 0;color:#05080f;background:#fff;`,
|
|
5751
5868
|
`{width:125px !important;height:28px;}}.footer-content{display:flex;flex-direction:column;align-items:center;gap:40px;}.footer-grid{display:flex;width:100%;align-items:flex-start;gap:80px;}.footer-brand{display:flex;min-width:0;flex:1 1 0;flex-direction:column;align-items:flex-start;gap:20px;}.footer-brand-intro{display:flex;width:100%;flex-direction:column;gap:16px;}.footer-logo-row{display:flex;align-items:center;justify-content:flex-start;gap:40px;}.footer-wikex-logo{display:flex;align-items:center;}.footer-wikex-logo img{display:block;object-fit:contain;}.footer-brand-intro p{width:100%;margin:0;font-size:14px;font-weight:500;line-height:18px;}.footer-downloads{display:flex;width:296px;flex-direction:column;gap:8px;}.footer-downloads > strong,.footer-nav > strong,.footer-company-name > strong{font-size:16px;font-weight:700;line-height:22px;}.footer-download-links{display:flex;width:100%;flex-direction:column;gap:16px;}.footer-store-links{display:flex;width:100%;align-items:center;gap:16px;}.footer-store-badge{display:flex;width:120px;height:40px;flex:0 0 120px;align-items:center;overflow:hidden;border-radius:6px;padding:6px;color:var(--footer-store-badge-foreground);background:var(--footer-store-badge-background);gap:3px;cursor:pointer;transition:opacity 160ms ease;&:hover{opacity:0.85;}}.footer-store-badge > img{width:22px;height:22px;flex:0 0 22px;}.footer-store-copy{display:flex;flex-direction:column;align-items:flex-start;gap:1px;white-space:nowrap;}.footer-store-copy small{font-size:9px;font-weight:500;line-height:9px;}.footer-store-copy strong{font-size:18px;font-weight:500;letter-spacing:-0.4px;line-height:18px;}.footer-googleplay-wordmark{display:block;width:74px;height:15px;max-width:none;transform:scaleY(-1);}.footer-store-badge--app-store > img,.footer-googleplay-wordmark{filter:var(--footer-store-monochrome-filter);}.footer-store-badge--google-play .footer-store-copy small{font-size:10px;line-height:12px;}.footer-googleplay-text{display:none;}.footer-desktop-link{display:flex;width:100%;align-items:center;gap:8px;}.footer-desktop-link > span{display:flex;width:44px;height:44px;flex:0 0 44px;align-items:center;justify-content:center;border-radius:6px;background:var(--footer-desktop-icon-background);}.footer-desktop-link > span img{filter:var(--footer-desktop-icon-filter);}.footer-desktop-link > strong{font-size:14px;font-weight:600;line-height:18px;}.footer-secondary{display:flex;min-width:0;flex:0 0 auto;flex-direction:column;align-items:flex-start;justify-content:space-between;align-self:stretch;gap:32px;}.footer-navs{display:flex;flex:0 0 auto;align-items:flex-start;gap:40px;}.footer-nav{display:flex;flex-direction:column;align-items:flex-start;gap:16px;}.footer-nav a,.footer-nav button{margin:0;border:0;padding:0;color:#707580;background:transparent;font-family:inherit;font-size:14px;font-weight:500;line-height:18px;text-align:left;transition:color 160ms ease;}.footer-nav a:hover,.footer-nav a:focus-visible{color:#05080f;outline:none;}.footer-nav button:disabled{cursor:not-allowed;opacity:0.55;}.footer-contact{display:flex;width:100%;min-width:0;flex:0 0 auto;flex-direction:column;align-items:flex-start;gap:20px;font-style:normal;}.footer-company{display:flex;width:100%;flex-direction:column;gap:16px;}.footer-company-name{display:flex;width:100%;flex-direction:column;gap:2px;}.footer-company-name > span,.footer-contact-row,.footer-contact-row a{color:#05080f;font-size:14px;font-weight:500;line-height:18px;}.footer-contact-list{display:flex;width:100%;flex-direction:column;gap:8px;}.footer-contact-row{display:flex;width:100%;align-items:flex-start;gap:8px;}.footer-contact-row > img{width:16px;height:16px;flex:0 0 16px;margin-top:1px;filter:var(--footer-contact-icon-filter);}.footer-contact-row > span{min-width:0;flex:1 1 0;}.footer-socials{display:flex;align-items:center;flex-wrap:wrap;gap:16px;}.footer-social-button{display:flex;width:44px;height:44px;flex:0 0 44px;align-items:center;justify-content:center;border-radius:80px;background:var(--footer-social-background);}.footer-social-button img{width:20px;height:20px;object-fit:contain;}.footer .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;}.footer-divider{width:100%;height:0;margin:0;border:0;border-top:1px solid #e6e7ea;}.copyright{width:100%;margin:0;color:#707580;font-size:12px;font-weight:500;line-height:16px;text-align:center;}.floating-actions{position:fixed;z-index:90;right:0;bottom:0;display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:20px 15px;}@keyframes floating-action-wave{0%{opacity:0;transform:scale(0);}50%{opacity:0.2;transform:scale(1);}70%{opacity:0.4;transform:scale(1.1);}100%{opacity:0;transform:scale(1.15);}}.floating-action{--floating-action-pulse:249 187 58;position:relative;display:flex;width:68px;height:68px;align-items:center;justify-content:center;border-radius:99px;padding:8px;transition:transform 160ms ease;}.floating-action::before,.floating-action-ring::before{--floating-action-halo-opacity:0.22;position:absolute;border-radius:inherit;background:rgb(var(--floating-action-pulse));content:"";inset:0;opacity:0;pointer-events:none;transform:scale(0);transform-origin:center;will-change:transform,opacity;animation:floating-action-wave 1.5s linear infinite;}.floating-action-ring::before{--floating-action-halo-opacity:0.32;animation-delay:80ms;}.floating-action-ring{position:relative;z-index:1;display:flex;width:52px;height:52px;flex:0 0 52px;align-items:center;justify-content:center;border-radius:99px;padding:4px;}.floating-action-core{position:relative;display:flex;width:44px;height:44px;flex:0 0 44px;align-items:center;justify-content:center;overflow:hidden;border:1px solid #fff;border-radius:9999px;background:#f9bb3a;}.floating-action--zalo{--floating-action-pulse:0 104 254;}.floating-action--call{--floating-action-pulse:242 163 54;}.floating-action--zalo .floating-action-core{border:0;background:transparent;}.floating-action--top::before,.floating-action--top .floating-action-ring::before{animation:none;opacity:0;transform:scale(1);}.floating-action:hover,.floating-action:focus-visible{outline:none;transform:translateY(-2px);}.floating-action:active{transform:scale(0.96);}@media (prefers-reduced-motion:reduce){.faq-content[data-state="open"],.faq-content[data-state="closed"],.faq-content[data-state="open"] .faq-answer,.faq-content[data-state="closed"] .faq-answer{animation:none;transition:none;}.floating-action::before,.floating-action-ring::before{animation:none;opacity:var(--floating-action-halo-opacity);transform:scale(1);}.floating-action--top::before,.floating-action--top .floating-action-ring::before{opacity:0;}}:root[data-theme="dark"] &{--cream:#2c2c2f;--faq-answer-color:#c7c7cc;--faq-card-background:#48484a;--faq-card-foreground:#f2f2f7;--faq-card-shadow-accent:#825e14;--faq-card-shadow-ambient:rgb(0 0 0 / 18%);--footer-contact-icon-filter:brightness(0) invert(1);--footer-desktop-icon-background:#48484a;--footer-desktop-icon-filter:brightness(0) invert(1);--footer-store-badge-background:#f2f2f7;--footer-store-badge-foreground:#05080f;--footer-store-monochrome-filter:brightness(0);--footer-social-background:#48484a;--footer-social-icon-filter:brightness(0) invert(1);--ink:#f2f2f7;--muted:#aeaeb2;color:var(--ink);background:var(--cream);.benefit-card::before{background-image:url("/landing-assets/benefit-card-short-dark.svg");}.benefit-card--tall::before{background-image:url("/landing-assets/benefit-card-tall-dark.svg");}.benefit-card h3,.step-copy h3,.commodity-copy h3{color:#f2f2f7;}.position-ribbon h3,.speech-card h3{color:#05080f;}.benefit-card p,.position-description p,.position-mobile-description-copy p,.speech-card p,.step-copy p,.commodity-copy p{color:#c7c7cc;}.position{background:#2c2c2f;}.position-nav{border-color:#636366;background:#48484a;}.position-nav img{filter:brightness(0) invert(78%);}.position-swiper,.position-card,.position-mobile-card-surface,.speech-card p,.step-content,.commodity-row{background:#48484a;}.position-swiper{box-shadow:-4px -4px 5px rgb(0 0 0 / 20%);}.position-card,.position-mobile-card-surface,.step-content,.commodity-row{box-shadow:10px 10px 20px rgb(0 0 0 / 20%);}.download,.steps,.faq{background:var(--cream);}.commodity-nav{border-color:#636366;background:#636366;}.commodity-nav:hover{background:#8e8e93;}.commodity-nav img{filter:brightness(0) invert(88%);}.register-card,.register-visual{color:#05080f;}.footer{color:#f2f2f7;background:#18181a;}.footer-brand-intro p,.footer-company-name > span,.footer-contact-row,.footer-contact-row a{color:#c7c7cc;}.footer-nav a,.footer-nav button,.copyright{color:#8e8e93;}.footer-nav a:hover,.footer-nav a:focus-visible{color:#f2f2f7;}.footer-divider{border-top-color:#48484a;}}@media (max-width:1248px){.position-stage{gap:24px;}}@media (max-width:1000px){.benefit-card{flex-basis:calc((100% - 32px) / 2);}.position-stage{display:block;}.position-slider-shell{margin-inline:28px;}.position-nav{position:absolute;top:50%;transform:translateY(-50%);}.position-nav:hover{transform:translateY(calc(-50% - 1px));}.position-nav:active{transform:translateY(-50%) scale(0.96);}.position-button-prev{left:0;}.position-button-next{right:0;}.audience-layout{gap:22px;}.audience-phones{flex-basis:300px;}.commodities .container{gap:32px;}.commodity-list{gap:32px;}.commodity-row{height:auto;flex:0 0 auto;flex-direction:column;align-items:stretch;gap:24px;border-radius:12px;padding:32px;}.commodity-label{width:100%;height:auto;min-height:68px;flex:0 0 auto;flex-direction:row;justify-content:flex-start;border-radius:8px;padding:4px 16px;background:#929699;}.agriculture .commodity-label{background:#14995b;}.industrial .commodity-label{background:#d98c34;}.commodity-label-panel,.commodity-label-tail{display:none;}.commodity-label-icon{width:52px;height:52px;flex-basis:52px;}.commodity-label-icon img{max-width:52px;max-height:52px;}.commodity-label h3{width:auto;font-size:22px;line-height:30px;text-align:left;}.commodity-carousel{width:100%;flex:0 0 auto;gap:20px;}.commodity-products{gap:24px;}.register{height:auto;padding:80px 0;}.register-layout{height:auto;flex-direction:column;gap:40px;}.footer-grid{flex-wrap:nowrap;gap:48px 40px;}.footer-brand,.footer-secondary{width:calc((100% - 40px) / 2);flex:1 1 calc((100% - 40px) / 2);}.footer-navs{width:100%;flex-wrap:wrap;gap:32px 24px;}.footer-nav{width:calc((100% - 24px) / 2);flex:0 0 calc((100% - 24px) / 2);}.footer-downloads{width:100%;}}@media (max-width:767px){.register{background:#f9bb3a;}.container{width:min(640px,calc(100% - 32px));}.section{padding:64px 0;}.position{padding:48px 0 64px;}.position-title{margin-bottom:28px;}.benefits{min-height:auto;}.benefit-grid,.step-list,.footer-grid{flex-direction:column;flex-wrap:nowrap;}.benefit-card{width:100%;flex-basis:auto;min-height:220px;}.position-card{height:auto;min-height:660px;padding:36px 24px 32px;flex-direction:column;justify-content:flex-start;align-items:stretch;gap:28px;}.position-copy,.position-media{width:100%;flex:0 0 auto;}.position-slider-shell{height:auto;margin-inline:18px;padding:8px;}.position-slider-shell::before{bottom:40px;width:calc(100% - 50px);}.position-slider-shell::after{top:40px;left:50px;}.position-swiper,.position-swiper .swiper-wrapper,.position-swiper .swiper-slide{height:auto;min-height:660px;}.position-copy{margin-top:16px;gap:32px;}.position-ribbon::before,.position-card--bot .position-ribbon::before,.position-card--platforms .position-ribbon::before{left:-24px;width:calc(100% + 48px);}.position-ribbon::after{left:-24px;}.position-ribbon h3{padding-right:20px;font-size:18px;line-height:26px;}.position-media{height:280px;}.position-media img{max-height:280px;}.position-media.certificate img{width:196px;height:280px;}.position-media.phone img{height:280px;}.position-nav{width:40px;height:40px;flex-basis:40px;}.position-nav img{width:20px;height:20px;}.audience-layout{flex-direction:column;height:auto;gap:28px;}.audience-column{width:100%;max-width:520px;flex:0 0 auto;}.audience-phones{width:100%;flex-basis:auto;height:350px;}.audience-phones img{object-fit:contain;}.step-list{gap:18px;}.step-card{width:100%;flex:0 0 auto;min-height:250px;}.step-card .step-content{padding-inline:40px;border-radius:0 0 8px 8px;}.commodities{padding:48px 0 64px;}.commodities-title h2{font-size:32px;line-height:40px;}.commodity-row{padding:24px 20px;}.commodity-products{flex-direction:column;gap:24px;}.commodity-product{width:100%;flex:0 0 auto;}.commodity-nav{display:none;}.register-layout{align-items:center;gap:32px;}.register-form-frame{width:100%;flex:0 0 auto;height:auto;}.register-card{width:100%;height:auto;padding:32px;gap:28px;}.register-visual{width:min(558px,100%);height:auto;flex:0 0 auto;aspect-ratio:558 / 640;}.register-visual > h2{height:25.9375%;padding:32px 0 20px;font-size:32px;line-height:40px;}.register-art{position:relative;flex:0 0 auto;height:auto;top:0;left:0;width:100%;}.register-art > img{display:block;width:100%;height:auto;}.footer{padding:48px 0;}.footer-content{gap:32px;}.footer-grid{align-items:stretch;gap:40px;}.footer-brand,.footer-secondary,.footer-navs,.footer-contact{width:100%;flex:0 0 auto;}.footer-brand{max-width:none;}.footer-navs{justify-content:flex-start;gap:32px 24px;}.footer-socials{flex-wrap:wrap;}.floating-actions{gap:10px;padding:16px 12px;}.floating-action{width:56px;height:56px;padding:6px;}.floating-action-ring{width:44px;height:44px;flex-basis:44px;padding:2px;}.floating-action-core{width:40px;height:40px;flex-basis:40px;}.floating-action--zalo .floating-action-core img{width:40px;height:40px;}.faq-grid{grid-template-columns:minmax(0,1fr);}.faq-column{display:contents;}.faq-grid .faq-item{width:100%;order:var(--faq-order);}}@media (max-width:500px){.field-row{flex-direction:column;}.field-row > label{flex-basis:auto;}.commodity-product{gap:18px;}.commodity-image{width:84px;height:84px;flex-basis:84px;}.register-card{padding:28px 22px;}.register-card header h2{font-size:20px;line-height:30px;}.register-visual > h2{padding-top:20px;font-size:26px;line-height:34px;}}@media (max-width:767px){.container{width:calc(100% - 16px);}.section{padding:30px 0 40px;}.benefits{min-height:1020px;padding:40px 0;}.benefits .section-heading{margin:0 auto 40px;}.benefits .section-heading h2{max-width:330px;margin-inline:auto;}.benefits .section-heading p{font-size:16px;font-weight:600;line-height:22px;white-space:normal;}.benefit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:32px 24px;}.benefit-card,.benefit-card--tall{width:auto;min-height:200px;padding:30px 15px;cursor:pointer;transition:min-height 260ms cubic-bezier(0.22,1,0.36,1);}.benefit-card::before,.benefit-card--tall::before{top:-12px;right:-5px;bottom:-9px;left:-7px;background-image:url("/landing-assets/benefit-card-short.svg");}.benefit-card::after{right:0;bottom:-10px;left:20px;height:50px;}.benefit-icon{width:40px;height:40px;flex-basis:40px;}.benefit-card h3{margin:16px 0 0;font-size:16px;line-height:22px;}.benefit-body{display:grid;width:100%;grid-template-rows:0fr;margin-top:0;overflow:hidden;opacity:0;transition:grid-template-rows 280ms cubic-bezier(0.22,1,0.36,1),margin-top 280ms cubic-bezier(0.22,1,0.36,1),opacity 180ms ease;}.benefit-card.is-expanded .benefit-body{grid-template-rows:1fr;margin-top:4px;opacity:1;}.benefit-card p{margin:0;font-size:12px;line-height:16px;}.benefit-inner::after{width:24px;height:24px;margin-top:4px;background:url("/landing-assets/benefit-chevron.svg") no-repeat center / 24px;content:"";transform:rotate(180deg);transition:transform 220ms ease;}.benefit-card.is-expanded .benefit-inner::after{transform:rotate(0deg);}.benefit-toggle{position:absolute;z-index:8;display:block;border:0;border-radius:8px;padding:0;background:transparent;cursor:pointer;inset:0;}.benefit-toggle:focus-visible{outline:2px solid #f9bb3a;outline-offset:3px;}:root[data-theme="dark"] & .benefit-card::before,:root[data-theme="dark"] & .benefit-card--tall::before{background-image:url("/landing-assets/benefit-card-short-dark.svg");}.position{min-height:594px;padding:30px 0 40px;}.position-title{margin-bottom:24px;}.position-stage,.position-pagination{display:none;}.position-mobile-carousel{display:flex;width:100%;flex-direction:column;align-items:center;gap:12px;}.position-mobile-swiper{width:100%;overflow-x:auto;overflow-y:hidden;scroll-behavior:smooth;scroll-snap-type:x mandatory;scrollbar-width:none;touch-action:pan-y;cursor:grab;overscroll-behavior-x:contain;}.position-mobile-swiper::-webkit-scrollbar{display:none;}.position-mobile-swiper .swiper-wrapper{display:flex;width:max-content;align-items:flex-start;gap:24px;backface-visibility:hidden;}.position-mobile-swiper .swiper-slide{width:300px;height:auto;flex:0 0 300px;backface-visibility:hidden;scroll-snap-align:start;transform:translateZ(0);}.position-mobile-card{position:relative;display:flex;width:300px;height:444px;min-height:444px;padding:0;isolation:isolate;}.position-mobile-card::before{position:absolute;z-index:-2;top:0;right:55px;bottom:52px;left:0;background:url("/landing-assets/position-outline.svg") no-repeat left top / cover;content:"";}.position-mobile-card::after{position:absolute;z-index:-2;top:148px;right:0;bottom:0;left:65px;border-radius:8px;background:#f9bb3a;content:"";}.position-mobile-card-surface{position:relative;display:flex;width:276px;height:420px;min-height:420px;margin:12px;flex-direction:column;gap:10px;border-radius:8px;padding:24px 16px 16px;background:#fff;box-shadow:-4px -4px 5px rgb(0 0 0 / 10%);backface-visibility:hidden;transform:translateZ(0);}.position-mobile-card .position-copy{width:100%;flex:0 0 auto;margin-top:0;gap:16px;}.position-mobile-card .position-ribbon{min-height:44px;padding-right:16px;}.position-mobile-card .position-ribbon::before,.position-mobile-card--bot .position-ribbon::before,.position-mobile-card--platforms .position-ribbon::before{top:-6px;right:0;bottom:-6px;left:-34px;width:auto;}.position-mobile-card .position-ribbon::after{top:auto;bottom:-22px;left:-34px;width:18px;height:16px;}.position-mobile-card .position-ribbon h3{padding-right:0;font-size:16px;line-height:22px;}.position-mobile-description{display:flex;width:100%;flex-direction:column;align-items:flex-start;gap:4px;}.position-mobile-description-copy{display:flex;width:100%;flex-direction:column;gap:8px;}.position-mobile-description-copy p{display:-webkit-box;width:100%;height:64px;overflow:hidden;margin:0;color:#4e5560;font-size:12px;font-weight:500;line-height:16px;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:4;}.position-mobile-description-copy p:not(:first-child){display:none;}.position-mobile-card.is-expanded,.position-mobile-card.is-expanded .position-mobile-card-surface{height:auto;}.position-mobile-card.is-expanded .position-mobile-description-copy p{display:block;height:auto;overflow:visible;text-overflow:clip;-webkit-line-clamp:unset;}.position-mobile-toggle{display:flex;width:24px;height:24px;flex:0 0 24px;align-items:center;justify-content:center;border:0;padding:0;background:transparent;cursor:pointer;}.position-mobile-toggle:focus-visible{border-radius:4px;outline:2px solid #f9bb3a;outline-offset:2px;}.position-mobile-toggle img{width:24px;height:24px;flex:0 0 24px;transition:transform 220ms ease;}.position-mobile-toggle[aria-expanded="true"] img{transform:rotate(180deg);}.position-mobile-card .position-media,.position-mobile-card .position-media.certificate,.position-mobile-card .position-media.phone{width:100%;height:218px;flex:0 0 218px;}.position-mobile-card .position-media img,.position-mobile-card .position-media.certificate img,.position-mobile-card .position-media.phone img{width:auto;height:auto;max-width:100%;max-height:218px;object-fit:contain;}.position-mobile-card .position-media.certificate img{width:154px;height:218px;}.position-mobile-pagination{display:flex;min-height:8px;align-items:center;justify-content:center;gap:4px;}.position-mobile-pagination .position-dot{transition:background-color 180ms ease;}.position-dot{width:8px;height:8px;}.position-dot.is-active{width:24px;}.audience{padding:30px 0;}.audience .container{gap:32px;}.audience .audience-title{order:1;}.audience .specular-button{order:3;flex:0 0 44px;}.audience-layout{display:flex;width:100%;height:auto;order:2;flex-direction:column;gap:24px;}.audience-column{width:100%;max-width:none;gap:24px;}.audience-phones{display:none;}.speech-card h3,.audience-column--right .speech-card h3{min-height:40px;border-radius:0 6px 6px 0;padding:8px 20px 8px 28px;font-size:14px;line-height:18px;}.speech-card h3::after,.audience-column--right .speech-card h3::after{right:auto;bottom:-32px;left:0;width:20px;height:32px;background-image:url("/landing-assets/audience-tail-left.svg");transform:none;}.speech-card p,.audience-column--right .speech-card p{width:calc(100% - 34px);min-height:60px;margin:0 10px 0 20px;padding:12px 20px 16px;font-size:12px;line-height:16px;}.steps{min-height:1036px;padding:30px 0 60px;}.steps .container{gap:50px;}.step-list{display:flex;flex-direction:column;gap:0;}.step-card{width:100%;min-height:212px;flex:0 0 auto;flex-direction:row;align-items:stretch;}.step-card:last-child{min-height:196px;}.step-number{width:48px;height:auto;flex:0 0 48px;font-size:0;line-height:22px;}.step-number span{font-size:0;}.step-number span::after{font-size:18px;content:counter(step-mobile);}.step-card{counter-increment:step-mobile;}.step-list{counter-reset:step-mobile;}.step-ribbon--desktop{display:none;}.step-ribbon-mobile{position:absolute;top:-42px;left:-20px;display:block;width:88px;height:calc(100% + 104px);max-width:none;}.step-content,.step-card:first-child .step-content,.step-card:last-child .step-content{width:calc(100% - 48px);min-height:212px;border-radius:0;padding:32px 24px 24px;gap:12px;box-shadow:10px 20px 10px rgb(0 0 0 / 4%);}.step-card:first-child .step-content{border-radius:0 8px 0 0;}.step-card:last-child .step-content{min-height:196px;border-radius:0 0 8px;}.step-icon{width:40px;height:40px;flex-basis:40px;}.step-icon svg{width:40px;height:40px;}.step-copy h3{font-size:16px;line-height:22px;}.step-copy p{font-size:12px;line-height:16px;}.commodities{min-height:784px;padding:30px 0 40px;}.commodities .container{width:auto;margin:0 16px 0 24px;gap:24px;}.commodities-title h2{margin-bottom:0;font-size:24px;line-height:36px;}.commodity-list{gap:24px;}.commodity-row{width:100%;min-height:202px;flex:0 0 202px;padding:16px;gap:24px;border-radius:0 12px 12px 0;}.commodity-row .commodity-label{width:100%;height:48px;min-height:48px;flex:0 0 48px;gap:12px;border-radius:0;padding:0;background:transparent;}.commodity-label-panel-mobile{position:absolute;z-index:1;top:-24px;left:-9.7vw;display:block;width:calc(100% + 16.8vw);height:95px;max-width:none;}.commodity-label-icon{width:48px;height:48px;flex-basis:48px;margin-bottom:15px;}.commodity-label-icon img{width:auto;height:auto;max-width:48px;max-height:48px;}.commodity-label h3{width:auto;font-size:18px;line-height:22px;margin-bottom:8px;text-align:left;}.commodity-carousel{display:block;width:100%;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:none;scroll-snap-type:inline proximity;-webkit-overflow-scrolling:touch;}.commodity-carousel::-webkit-scrollbar{display:none;}.commodity-products{display:flex;width:max-content;flex-direction:row;gap:16px;}.commodity-product{width:236px;flex:0 0 236px;gap:8px;scroll-snap-align:start;}.commodity-image{width:98px;height:98px;flex-basis:98px;}.commodity-copy{gap:2px;}.commodity-copy h3{font-size:16px;line-height:22px;}.commodity-copy p{height:48px;font-size:12px;line-height:16px;-webkit-line-clamp:3;}.commodity-copy a{height:24px;padding:3px 0;font-size:14px;line-height:18px;}.faq{padding:30px 15px 60px;}.faq > .container > div:first-child{margin-bottom:32px;}.faq-grid{gap:24px;}.faq-item{min-height:64px;border-radius:6px;box-shadow:-7px 7px 0 var(--faq-card-shadow-accent),0 4px 10px var(--faq-card-shadow-ambient);}.faq-trigger{min-height:64px;padding:10px 16px;gap:12px;font-size:14px;line-height:18px;}.faq-answer{padding:0 15px 20px;}.register{position:relative;height:auto;padding:60px 0 0;background:linear-gradient(104deg,#f67c27 -13.12%,#f9bb3a 61.64%),#fffbf3;}.register-layout{height:auto;gap:24px;}.register-form-frame{width:100%;flex:0 0 auto;padding:6px;}.register-card{width:100%;padding:15px;align-items:stretch;gap:16px;}.register-card header{gap:4px;}.register-card header h2{font-size:18px;line-height:22px;}.register-card header p{font-size:12px;line-height:16px;}.register-fields{gap:12px;}.field-row{gap:12px;}.register-card input,.register-select-trigger{height:36px;padding-inline:16px;}.register-submit{width:100%;height:44px;min-height:44px;margin:0;flex-basis:44px;}.register-visual{width:100%;aspect-ratio:auto;flex:unset;}.register-visual > h2{height:auto;min-height:76px;flex-shrink:0;padding:0 8px 16px;font-size:24px;line-height:30px;}.footer{min-height:640px;padding:40px 0;}.footer-content{gap:24px;}.footer-grid{gap:0;}.footer-brand,.footer-secondary,.footer-contact,.footer-navs{width:100%;max-width:none;flex-basis:auto;}.footer-brand,.footer-secondary{display:contents;}.footer-brand-intro{order:1;gap:8px;margin-bottom:16px;}.footer-logo-row{height:50px;justify-content:flex-start;gap:24px;}.footer-wikex-logo{width:124.229px;height:50px;flex:0 0 124.229px;justify-content:center;}.footer-brand-intro p,.footer-company-name > span,.footer-contact-row,.footer-contact-row a{font-size:12px;line-height:16px;}.footer-downloads{order:3;gap:8px;margin-bottom:24px;}.footer-downloads > strong,.footer-nav > strong,.footer-company-name > strong{font-size:14px;line-height:18px;}.footer-download-links{flex-direction:row;align-items:center;gap:8px;}.footer-store-links{width:auto;gap:8px;}.footer-store-badge{height:40px;padding:6px 8px;gap:4px;}.footer-store-badge--app-store{width:max-content;flex-basis:max-content;}.footer-store-badge--google-play{width:118px;flex-basis:118px;}.footer-store-badge > img{width:24px;height:24px;flex-basis:24px;}.footer-store-copy small{font-size:9px;line-height:9px;}.footer-store-copy strong{font-size:18px;letter-spacing:-0.47px;line-height:18px;}.footer-store-badge--google-play .footer-store-copy small{font-size:10px;line-height:12px;}.footer-googleplay-wordmark{display:block;width:74px;height:15px;transform:scaleY(-1);}.footer-googleplay-text{display:none;}.footer-desktop-link{display:none;}.footer-contact{order:2;gap:16px;margin-bottom:24px;}.footer-navs{order:4;justify-content:flex-start;gap:16px;}.footer-nav{width:calc((100% - 16px) / 2);flex:0 0 calc((100% - 16px) / 2);gap:8px;}.footer-nav a,.footer-nav button{font-size:12px;line-height:16px;}.footer-company{gap:8px;}.footer-contact-list{gap:4px;}.footer-contact-row{gap:6px;}.footer-contact-row > img{width:14px;height:14px;flex-basis:14px;}.footer-socials{gap:12px;}.footer-social-button{width:32px;height:32px;flex-basis:32px;}.footer-social-button img{width:14.545px;height:14.545px;}.copyright{font-size:10px;line-height:14px;}.floating-actions{gap:5px;padding:0;bottom:30px;}.floating-action{width:56px;height:56px;padding:0;}}@media (prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto !important;transition-duration:0.01ms !important;}}`
|
|
5752
5869
|
], drawBenefitLine, drawBenefitRect, drawBenefitRect, writeWithBenefitPen, strikeWithBenefitGavel, drawBenefitSquare, assembleProductSegment, benefitTwoWayUp, benefitTwoWayDown, WikiLogo);
|
|
5753
5870
|
|
|
@@ -12345,13 +12462,43 @@ function WikexInformationArticlesSection() {
|
|
|
12345
12462
|
});
|
|
12346
12463
|
}
|
|
12347
12464
|
|
|
12465
|
+
// src/shared/download-button-link.tsx
|
|
12466
|
+
var import_jsx_runtime38 = require("react/jsx-runtime");
|
|
12467
|
+
function CmsDownloadButtonLink({ field, children, ...props }) {
|
|
12468
|
+
const content = useCmsElementContent();
|
|
12469
|
+
const editing = useCmsElementEditing();
|
|
12470
|
+
const link2 = getCmsButtonLink(content ?? {}, field);
|
|
12471
|
+
return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
|
|
12472
|
+
"a",
|
|
12473
|
+
{
|
|
12474
|
+
...props,
|
|
12475
|
+
href: link2.href,
|
|
12476
|
+
target: link2.href && link2.type === "external" ? "_blank" : void 0,
|
|
12477
|
+
rel: link2.href && link2.type === "external" ? "noopener noreferrer" : void 0,
|
|
12478
|
+
"data-cms-button-field": field,
|
|
12479
|
+
"aria-disabled": !link2.href || void 0,
|
|
12480
|
+
tabIndex: !link2.href && !editing?.editable ? -1 : void 0,
|
|
12481
|
+
onClick: (event) => {
|
|
12482
|
+
if (editing?.editable) {
|
|
12483
|
+
event.preventDefault();
|
|
12484
|
+
event.stopPropagation();
|
|
12485
|
+
const text2 = Array.from(event.currentTarget.querySelectorAll("[data-cms-text-field]")).find((element) => element.dataset.cmsTextField === field);
|
|
12486
|
+
text2?.focus();
|
|
12487
|
+
editing.onSelectText?.({ field, currentColor: text2?.ownerDocument.defaultView?.getComputedStyle(text2).color ?? "" });
|
|
12488
|
+
} else if (!link2.href) event.preventDefault();
|
|
12489
|
+
},
|
|
12490
|
+
children
|
|
12491
|
+
}
|
|
12492
|
+
);
|
|
12493
|
+
}
|
|
12494
|
+
|
|
12348
12495
|
// src/commodity-original/components/LandingPage/LandingFooter.tsx
|
|
12349
12496
|
var import_image8 = __toESM(require("next/image.js"));
|
|
12350
12497
|
var import_link6 = __toESM(require("next/link.js"));
|
|
12351
12498
|
var import_react_i18next14 = require("react-i18next");
|
|
12352
12499
|
|
|
12353
12500
|
// src/commodity-original/lib/app-theme-provider.tsx
|
|
12354
|
-
var
|
|
12501
|
+
var import_jsx_runtime39 = require("react/jsx-runtime");
|
|
12355
12502
|
var import_react26 = require("react");
|
|
12356
12503
|
var import_styled_components28 = require("styled-components");
|
|
12357
12504
|
|
|
@@ -12552,17 +12699,17 @@ function AppThemeProvider({ children }) {
|
|
|
12552
12699
|
themeName,
|
|
12553
12700
|
toggleTheme
|
|
12554
12701
|
]);
|
|
12555
|
-
return /* @__PURE__ */ (0,
|
|
12702
|
+
return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(AppThemeContext.Provider, {
|
|
12556
12703
|
value: contextValue,
|
|
12557
|
-
children: /* @__PURE__ */ (0,
|
|
12704
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", {
|
|
12558
12705
|
ref: rootRef,
|
|
12559
12706
|
style: {
|
|
12560
12707
|
display: "contents"
|
|
12561
12708
|
},
|
|
12562
|
-
children: /* @__PURE__ */ (0,
|
|
12709
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(import_styled_components28.ThemeProvider, {
|
|
12563
12710
|
theme: appTheme,
|
|
12564
12711
|
children: [
|
|
12565
|
-
/* @__PURE__ */ (0,
|
|
12712
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)(global_styles_default, {}),
|
|
12566
12713
|
children
|
|
12567
12714
|
]
|
|
12568
12715
|
})
|
|
@@ -12578,7 +12725,7 @@ function useAppTheme() {
|
|
|
12578
12725
|
}
|
|
12579
12726
|
|
|
12580
12727
|
// src/commodity-original/components/LandingPage/LandingFooter.tsx
|
|
12581
|
-
var
|
|
12728
|
+
var import_jsx_runtime40 = require("react/jsx-runtime");
|
|
12582
12729
|
function FooterLinks({ listKey, titleKey }) {
|
|
12583
12730
|
const { t, i18n } = (0, import_react_i18next14.useTranslation)();
|
|
12584
12731
|
const language = i18n.resolvedLanguage?.startsWith("en") ? "en" : "vi";
|
|
@@ -12586,12 +12733,12 @@ function FooterLinks({ listKey, titleKey }) {
|
|
|
12586
12733
|
const editable = useCmsElementEditing()?.editable;
|
|
12587
12734
|
const items = parseChromeItems(content?.[`${language}.${listKey}`]) ?? [];
|
|
12588
12735
|
if (!items.length) return null;
|
|
12589
|
-
return /* @__PURE__ */ (0,
|
|
12590
|
-
/* @__PURE__ */ (0,
|
|
12736
|
+
return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("nav", { className: "footer-nav", "aria-label": t(titleKey), children: [
|
|
12737
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(ExactText, { cmsAs: "strong", children: t(titleKey) }),
|
|
12591
12738
|
items.map((item, index) => {
|
|
12592
12739
|
const href = chromeItemHref(item);
|
|
12593
12740
|
const props = { cmsField: `${listKey}.${index}.label`, ...chromeItemAttributes(language, listKey, index) };
|
|
12594
|
-
return href ? /* @__PURE__ */ (0,
|
|
12741
|
+
return href ? /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(ExactText, { cmsAs: import_link6.default, href, ...props, children: item.label }, index) : /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(ExactText, { cmsAs: "button", type: "button", disabled: !editable, ...props, children: item.label }, index);
|
|
12595
12742
|
})
|
|
12596
12743
|
] });
|
|
12597
12744
|
}
|
|
@@ -12611,12 +12758,12 @@ function LandingFooter() {
|
|
|
12611
12758
|
"/Logo/logo_original_dark.png"
|
|
12612
12759
|
);
|
|
12613
12760
|
const mxvLogo = useCmsImage("footerMxvLogoImage", "/Logo/Logo_mxv.png");
|
|
12614
|
-
return /* @__PURE__ */ (0,
|
|
12615
|
-
/* @__PURE__ */ (0,
|
|
12616
|
-
/* @__PURE__ */ (0,
|
|
12617
|
-
/* @__PURE__ */ (0,
|
|
12618
|
-
/* @__PURE__ */ (0,
|
|
12619
|
-
/* @__PURE__ */ (0,
|
|
12761
|
+
return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("footer", { className: "footer", children: /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: "container footer-content", children: [
|
|
12762
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: "footer-grid", children: [
|
|
12763
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: "footer-brand", children: [
|
|
12764
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: "footer-brand-intro", children: [
|
|
12765
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: "footer-logo-row", children: [
|
|
12766
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)("span", { className: "footer-wikex-logo", "aria-label": "Wikex", children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
12620
12767
|
WikiLogo,
|
|
12621
12768
|
{
|
|
12622
12769
|
src: isDarkTheme ? darkLogo : lightLogo,
|
|
@@ -12626,7 +12773,7 @@ function LandingFooter() {
|
|
|
12626
12773
|
loading: "eager"
|
|
12627
12774
|
}
|
|
12628
12775
|
) }),
|
|
12629
|
-
/* @__PURE__ */ (0,
|
|
12776
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
12630
12777
|
MxvLogo,
|
|
12631
12778
|
{
|
|
12632
12779
|
src: mxvLogo,
|
|
@@ -12637,20 +12784,20 @@ function LandingFooter() {
|
|
|
12637
12784
|
}
|
|
12638
12785
|
)
|
|
12639
12786
|
] }),
|
|
12640
|
-
/* @__PURE__ */ (0,
|
|
12787
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(ExactText, { cmsAs: "p", children: t("landing.footer.description") })
|
|
12641
12788
|
] }),
|
|
12642
|
-
/* @__PURE__ */ (0,
|
|
12643
|
-
/* @__PURE__ */ (0,
|
|
12644
|
-
/* @__PURE__ */ (0,
|
|
12645
|
-
/* @__PURE__ */ (0,
|
|
12646
|
-
/* @__PURE__ */ (0,
|
|
12789
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("address", { className: "footer-contact", children: [
|
|
12790
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: "footer-company", children: [
|
|
12791
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: "footer-company-name", children: [
|
|
12792
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(ExactText, { cmsAs: "strong", children: t("landing.footer.company") }),
|
|
12793
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(ExactText, { cmsAs: "span", children: t("landing.footer.taxId") })
|
|
12647
12794
|
] }),
|
|
12648
|
-
contacts.length > 0 && /* @__PURE__ */ (0,
|
|
12649
|
-
item.icon && /* @__PURE__ */ (0,
|
|
12650
|
-
chromeItemHref(item) ? /* @__PURE__ */ (0,
|
|
12795
|
+
contacts.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "footer-contact-list", children: contacts.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("span", { className: "footer-contact-row", ...chromeItemAttributes(language, "footer.contacts", index), children: [
|
|
12796
|
+
item.icon && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_image8.default, { src: item.icon, alt: "", width: 16, height: 16, "aria-hidden": "true" }),
|
|
12797
|
+
chromeItemHref(item) ? /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(ExactText, { cmsAs: "a", href: chromeItemHref(item), cmsField: `footer.contacts.${index}.label`, children: item.label }) : /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(ExactText, { cmsAs: "span", cmsField: `footer.contacts.${index}.label`, children: item.label })
|
|
12651
12798
|
] }, index)) })
|
|
12652
12799
|
] }),
|
|
12653
|
-
socials.length > 0 && /* @__PURE__ */ (0,
|
|
12800
|
+
socials.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "footer-socials", "aria-label": t("landing.footer.socials"), children: socials.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
|
|
12654
12801
|
"a",
|
|
12655
12802
|
{
|
|
12656
12803
|
href: chromeItemHref(item),
|
|
@@ -12661,36 +12808,36 @@ function LandingFooter() {
|
|
|
12661
12808
|
target: "_blank",
|
|
12662
12809
|
rel: "noopener noreferrer",
|
|
12663
12810
|
children: [
|
|
12664
|
-
item.icon && /* @__PURE__ */ (0,
|
|
12665
|
-
/* @__PURE__ */ (0,
|
|
12811
|
+
item.icon && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_image8.default, { src: item.icon, alt: "", width: 20, height: 20, "aria-hidden": "true" }),
|
|
12812
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(ExactText, { cmsAs: "span", cmsField: `footer.socials.${index}.label`, className: "sr-only", children: item.label })
|
|
12666
12813
|
]
|
|
12667
12814
|
},
|
|
12668
12815
|
index
|
|
12669
12816
|
)) })
|
|
12670
12817
|
] })
|
|
12671
12818
|
] }),
|
|
12672
|
-
/* @__PURE__ */ (0,
|
|
12673
|
-
/* @__PURE__ */ (0,
|
|
12674
|
-
/* @__PURE__ */ (0,
|
|
12675
|
-
/* @__PURE__ */ (0,
|
|
12676
|
-
/* @__PURE__ */ (0,
|
|
12677
|
-
/* @__PURE__ */ (0,
|
|
12819
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: "footer-secondary", children: [
|
|
12820
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: "footer-navs", children: [
|
|
12821
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(FooterLinks, { listKey: "footer.aboutLinks", titleKey: "landing.footer.aboutWikex" }),
|
|
12822
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(FooterLinks, { listKey: "footer.productLinks", titleKey: "landing.footer.product" }),
|
|
12823
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(FooterLinks, { listKey: "footer.guideLinks", titleKey: "landing.footer.guide" }),
|
|
12824
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(FooterLinks, { listKey: "footer.supportLinks", titleKey: "landing.footer.support" })
|
|
12678
12825
|
] }),
|
|
12679
|
-
downloads.length > 0 && /* @__PURE__ */ (0,
|
|
12680
|
-
/* @__PURE__ */ (0,
|
|
12681
|
-
/* @__PURE__ */ (0,
|
|
12682
|
-
/* @__PURE__ */ (0,
|
|
12683
|
-
|
|
12826
|
+
downloads.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: "footer-downloads", children: [
|
|
12827
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(ExactText, { cmsAs: "strong", children: t("landing.footer.download") }),
|
|
12828
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: "footer-download-links", children: [
|
|
12829
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "footer-store-links", children: downloads.map((item, index) => item.icon?.includes("footer-desktop.svg") ? null : /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
|
|
12830
|
+
CmsDownloadButtonLink,
|
|
12684
12831
|
{
|
|
12685
|
-
|
|
12832
|
+
field: `${language}.footer.downloads.${index}.label`,
|
|
12686
12833
|
className: `footer-store-badge${item.icon?.includes("footer-appstore-icon.svg") ? " footer-store-badge--app-store" : item.icon?.includes("footer-googleplay-icon.svg") ? " footer-store-badge--google-play" : ""}`,
|
|
12687
12834
|
...chromeItemAttributes(language, "footer.downloads", index),
|
|
12688
12835
|
"aria-label": item.label,
|
|
12689
12836
|
children: [
|
|
12690
|
-
item.icon && /* @__PURE__ */ (0,
|
|
12691
|
-
/* @__PURE__ */ (0,
|
|
12692
|
-
item.prefix && /* @__PURE__ */ (0,
|
|
12693
|
-
/* @__PURE__ */ (0,
|
|
12837
|
+
item.icon && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_image8.default, { src: item.icon, alt: "", width: 24, height: 24, "aria-hidden": "true" }),
|
|
12838
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("span", { className: "footer-store-copy", children: [
|
|
12839
|
+
item.prefix && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(ExactText, { cmsAs: "small", cmsField: `footer.downloads.${index}.prefix`, children: item.prefix }),
|
|
12840
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
12694
12841
|
ExactText,
|
|
12695
12842
|
{
|
|
12696
12843
|
cmsAs: "strong",
|
|
@@ -12700,7 +12847,7 @@ function LandingFooter() {
|
|
|
12700
12847
|
children: item.label
|
|
12701
12848
|
}
|
|
12702
12849
|
),
|
|
12703
|
-
!editable && item.label === "Google Play" && !item.labelTextLayout && !item.labelColor && /* @__PURE__ */ (0,
|
|
12850
|
+
!editable && item.label === "Google Play" && !item.labelTextLayout && !item.labelColor && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
12704
12851
|
import_image8.default,
|
|
12705
12852
|
{
|
|
12706
12853
|
className: "footer-googleplay-wordmark",
|
|
@@ -12716,23 +12863,23 @@ function LandingFooter() {
|
|
|
12716
12863
|
},
|
|
12717
12864
|
index
|
|
12718
12865
|
)) }),
|
|
12719
|
-
downloads.map((item, index) => item.icon?.includes("footer-desktop.svg") ? /* @__PURE__ */ (0,
|
|
12720
|
-
/* @__PURE__ */ (0,
|
|
12721
|
-
/* @__PURE__ */ (0,
|
|
12866
|
+
downloads.map((item, index) => item.icon?.includes("footer-desktop.svg") ? /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(CmsDownloadButtonLink, { field: `${language}.footer.downloads.${index}.label`, className: "footer-desktop-link", ...chromeItemAttributes(language, "footer.downloads", index), children: [
|
|
12867
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)("span", { children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_image8.default, { src: item.icon, alt: "", width: 24, height: 24, "aria-hidden": "true" }) }),
|
|
12868
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(ExactText, { cmsAs: "strong", cmsField: `footer.downloads.${index}.label`, children: item.label })
|
|
12722
12869
|
] }, index) : null)
|
|
12723
12870
|
] })
|
|
12724
12871
|
] })
|
|
12725
12872
|
] })
|
|
12726
12873
|
] }),
|
|
12727
|
-
/* @__PURE__ */ (0,
|
|
12728
|
-
/* @__PURE__ */ (0,
|
|
12874
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)("hr", { className: "footer-divider" }),
|
|
12875
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(ExactText, { cmsAs: "p", className: "copyright", children: t("landing.footer.copyright") })
|
|
12729
12876
|
] }) });
|
|
12730
12877
|
}
|
|
12731
12878
|
|
|
12732
12879
|
// src/commodity-original/components/Footer/index.tsx
|
|
12733
|
-
var
|
|
12880
|
+
var import_jsx_runtime41 = require("react/jsx-runtime");
|
|
12734
12881
|
function Footer() {
|
|
12735
|
-
return /* @__PURE__ */ (0,
|
|
12882
|
+
return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(PageShell, { as: "div", children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(LandingFooter, {}) });
|
|
12736
12883
|
}
|
|
12737
12884
|
|
|
12738
12885
|
// src/commodity-original/components/Header/index.tsx
|
|
@@ -12745,7 +12892,7 @@ var import_react29 = require("morphicons/react");
|
|
|
12745
12892
|
var import_radix_ui4 = require("radix-ui");
|
|
12746
12893
|
|
|
12747
12894
|
// src/commodity-original/components/theme-toggle.tsx
|
|
12748
|
-
var
|
|
12895
|
+
var import_jsx_runtime42 = require("react/jsx-runtime");
|
|
12749
12896
|
var import_lucide2 = require("lucide");
|
|
12750
12897
|
var import_react27 = require("morphicons/react");
|
|
12751
12898
|
var import_styled_components29 = __toESM(require("styled-components"));
|
|
@@ -12764,14 +12911,14 @@ function ThemeToggle({ variant = "floating" }) {
|
|
|
12764
12911
|
const { themeName, toggleTheme } = useAppTheme();
|
|
12765
12912
|
const isDarkTheme = themeName === "dark";
|
|
12766
12913
|
const label = isDarkTheme ? t("theme.toLight") : t("theme.toDark");
|
|
12767
|
-
return /* @__PURE__ */ (0,
|
|
12914
|
+
return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(ToggleButton, {
|
|
12768
12915
|
type: "button",
|
|
12769
12916
|
className: variant === "header" ? "theme-toggle--header" : void 0,
|
|
12770
12917
|
onClick: toggleTheme,
|
|
12771
12918
|
"aria-label": label,
|
|
12772
12919
|
"aria-pressed": isDarkTheme,
|
|
12773
12920
|
title: label,
|
|
12774
|
-
children: /* @__PURE__ */ (0,
|
|
12921
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_react27.MorphIcon, {
|
|
12775
12922
|
icon: isDarkTheme ? import_lucide2.Sun : import_lucide2.Moon,
|
|
12776
12923
|
size: 20,
|
|
12777
12924
|
strokeWidth: 2,
|
|
@@ -12783,7 +12930,7 @@ function ThemeToggle({ variant = "floating" }) {
|
|
|
12783
12930
|
|
|
12784
12931
|
// src/commodity-original/components/Header/index.tsx
|
|
12785
12932
|
var import_react_i18next16 = require("react-i18next");
|
|
12786
|
-
var
|
|
12933
|
+
var import_jsx_runtime43 = require("react/jsx-runtime");
|
|
12787
12934
|
var import_react30 = require("react");
|
|
12788
12935
|
var languages = [
|
|
12789
12936
|
{
|
|
@@ -12798,7 +12945,7 @@ var languages = [
|
|
|
12798
12945
|
}
|
|
12799
12946
|
];
|
|
12800
12947
|
function LanguageIcon() {
|
|
12801
|
-
return /* @__PURE__ */ (0,
|
|
12948
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
12802
12949
|
"svg",
|
|
12803
12950
|
{
|
|
12804
12951
|
"aria-hidden": "true",
|
|
@@ -12807,7 +12954,7 @@ function LanguageIcon() {
|
|
|
12807
12954
|
viewBox: "0 0 24 24",
|
|
12808
12955
|
width: "24",
|
|
12809
12956
|
xmlns: "http://www.w3.org/2000/svg",
|
|
12810
|
-
children: /* @__PURE__ */ (0,
|
|
12957
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
12811
12958
|
"path",
|
|
12812
12959
|
{
|
|
12813
12960
|
d: "M22 12.0001C22 17.5229 17.5228 22.0001 12 22.0001M22 12.0001C22 6.47721 17.5228 2.00006 12 2.00006M22 12.0001H2M12 22.0001C6.47715 22.0001 2 17.5229 2 12.0001M12 22.0001C14.4744 19.475 16 15.8146 16 12C16 8.18532 14.4744 4.52513 12 2.00006M12 22.0001C9.52563 19.475 8 15.8146 8 12C8 8.18532 9.52563 4.52513 12 2.00006M12 2.00006C6.47715 2.00006 2 6.47721 2 12.0001",
|
|
@@ -12828,8 +12975,8 @@ function LanguageSwitcher({
|
|
|
12828
12975
|
const { t } = (0, import_react_i18next16.useTranslation)();
|
|
12829
12976
|
const triggerRef = (0, import_react28.useRef)(null);
|
|
12830
12977
|
const currentLanguage = languages.find((item) => item.value === language);
|
|
12831
|
-
return /* @__PURE__ */ (0,
|
|
12832
|
-
/* @__PURE__ */ (0,
|
|
12978
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(import_radix_ui4.DropdownMenu.Root, { children: [
|
|
12979
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_radix_ui4.DropdownMenu.Trigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
12833
12980
|
LanguageTrigger,
|
|
12834
12981
|
{
|
|
12835
12982
|
"aria-label": t("language.current", {
|
|
@@ -12838,10 +12985,10 @@ function LanguageSwitcher({
|
|
|
12838
12985
|
ref: triggerRef,
|
|
12839
12986
|
title: t("language.change"),
|
|
12840
12987
|
type: "button",
|
|
12841
|
-
children: /* @__PURE__ */ (0,
|
|
12988
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(LanguageIcon, {})
|
|
12842
12989
|
}
|
|
12843
12990
|
) }),
|
|
12844
|
-
/* @__PURE__ */ (0,
|
|
12991
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_radix_ui4.DropdownMenu.Portal, { container: portalContainer, children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
12845
12992
|
LanguageMenuContent,
|
|
12846
12993
|
{
|
|
12847
12994
|
align: compact ? "end" : "start",
|
|
@@ -12852,13 +12999,13 @@ function LanguageSwitcher({
|
|
|
12852
12999
|
triggerRef.current?.focus({ preventScroll: true });
|
|
12853
13000
|
},
|
|
12854
13001
|
sideOffset: 4,
|
|
12855
|
-
children: /* @__PURE__ */ (0,
|
|
13002
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
12856
13003
|
import_radix_ui4.DropdownMenu.RadioGroup,
|
|
12857
13004
|
{
|
|
12858
13005
|
onValueChange: (value4) => onLanguageChange(value4),
|
|
12859
13006
|
value: language,
|
|
12860
|
-
children: languages.map((item) => /* @__PURE__ */ (0,
|
|
12861
|
-
/* @__PURE__ */ (0,
|
|
13007
|
+
children: languages.map((item) => /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(LanguageMenuItem, { value: item.value, children: [
|
|
13008
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(LanguageFlag, { children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
12862
13009
|
import_image9.default,
|
|
12863
13010
|
{
|
|
12864
13011
|
alt: "",
|
|
@@ -12868,8 +13015,8 @@ function LanguageSwitcher({
|
|
|
12868
13015
|
width: item.value === "vi" ? 30 : 20
|
|
12869
13016
|
}
|
|
12870
13017
|
) }),
|
|
12871
|
-
/* @__PURE__ */ (0,
|
|
12872
|
-
/* @__PURE__ */ (0,
|
|
13018
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(ExactText, { cmsAs: "span", children: item.label }),
|
|
13019
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(LanguageItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
12873
13020
|
import_image9.default,
|
|
12874
13021
|
{
|
|
12875
13022
|
alt: "",
|
|
@@ -12913,7 +13060,41 @@ function Header() {
|
|
|
12913
13060
|
const homeUrl = useCmsLink("headerHomeUrl", "/");
|
|
12914
13061
|
const mxvUrl = useCmsLink("headerMxvUrl", "https://mxv.com.vn");
|
|
12915
13062
|
const content = useCmsElementContent();
|
|
12916
|
-
const
|
|
13063
|
+
const editing = useCmsElementEditing();
|
|
13064
|
+
const editable = editing?.editable;
|
|
13065
|
+
const loginField = `${language}.header.login`;
|
|
13066
|
+
const registerField = `${language}.header.register`;
|
|
13067
|
+
const loginLink = getCmsButtonLink(content ?? {}, loginField);
|
|
13068
|
+
const registerLink = getCmsButtonLink(content ?? {}, registerField);
|
|
13069
|
+
const linkProps = (link2, field) => ({
|
|
13070
|
+
href: link2.href,
|
|
13071
|
+
target: link2.href && link2.type === "external" ? "_blank" : void 0,
|
|
13072
|
+
rel: link2.href && link2.type === "external" ? "noopener noreferrer" : void 0,
|
|
13073
|
+
"data-cms-button-field": field,
|
|
13074
|
+
"aria-disabled": !link2.href || void 0,
|
|
13075
|
+
tabIndex: !link2.href && !editable ? -1 : void 0
|
|
13076
|
+
});
|
|
13077
|
+
const handleActionClick = (event, field, mobile = false) => {
|
|
13078
|
+
if (editable) {
|
|
13079
|
+
event.preventDefault();
|
|
13080
|
+
event.stopPropagation();
|
|
13081
|
+
const text2 = event.currentTarget.querySelector("[data-cms-text-field]") ?? event.currentTarget;
|
|
13082
|
+
text2.focus();
|
|
13083
|
+
editing.onSelectText?.({ field, currentColor: text2.ownerDocument.defaultView?.getComputedStyle(text2).color ?? "" });
|
|
13084
|
+
return;
|
|
13085
|
+
}
|
|
13086
|
+
const link2 = field === loginField ? loginLink : registerLink;
|
|
13087
|
+
if (!link2.href) {
|
|
13088
|
+
event.preventDefault();
|
|
13089
|
+
return;
|
|
13090
|
+
}
|
|
13091
|
+
if (link2.type === "internal" && link2.href === "/#register" && pathname === "/" && document.getElementById("register")) {
|
|
13092
|
+
event.preventDefault();
|
|
13093
|
+
if (mobile) pendingMobileSectionRef.current = "register";
|
|
13094
|
+
else scrollPageTo(document.getElementById("register"));
|
|
13095
|
+
}
|
|
13096
|
+
if (mobile) setIsMenuOpen(false);
|
|
13097
|
+
};
|
|
12917
13098
|
const keepEditorToolbarOpen = (event) => {
|
|
12918
13099
|
const target = event.detail.originalEvent.target;
|
|
12919
13100
|
if (editable && target?.closest?.("[data-cms-text-resize-controls],[data-cms-element-controls],.MuiPopover-root")) event.preventDefault();
|
|
@@ -12972,9 +13153,9 @@ function Header() {
|
|
|
12972
13153
|
desktopMediaQuery.removeEventListener("change", closeDrawerOnDesktop);
|
|
12973
13154
|
};
|
|
12974
13155
|
}, []);
|
|
12975
|
-
return /* @__PURE__ */ (0,
|
|
12976
|
-
/* @__PURE__ */ (0,
|
|
12977
|
-
/* @__PURE__ */ (0,
|
|
13156
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(HeaderShell, { ref: setHeaderRef, children: /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(HeaderInner, { children: [
|
|
13157
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(BrandGroup, { children: [
|
|
13158
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(WikiBrand, { href: homeUrl, "aria-label": t("header.home"), children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
12978
13159
|
WikiLogo,
|
|
12979
13160
|
{
|
|
12980
13161
|
src: isDarkTheme ? darkLogo : lightLogo,
|
|
@@ -12984,14 +13165,14 @@ function Header() {
|
|
|
12984
13165
|
loading: "eager"
|
|
12985
13166
|
}
|
|
12986
13167
|
) }),
|
|
12987
|
-
/* @__PURE__ */ (0,
|
|
13168
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
12988
13169
|
PartnerBrand,
|
|
12989
13170
|
{
|
|
12990
13171
|
href: mxvUrl,
|
|
12991
13172
|
target: "_blank",
|
|
12992
13173
|
rel: "noopener noreferrer",
|
|
12993
13174
|
"aria-label": t("header.mxv"),
|
|
12994
|
-
children: /* @__PURE__ */ (0,
|
|
13175
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
12995
13176
|
MxvLogo,
|
|
12996
13177
|
{
|
|
12997
13178
|
src: mxvLogo,
|
|
@@ -13004,34 +13185,34 @@ function Header() {
|
|
|
13004
13185
|
}
|
|
13005
13186
|
)
|
|
13006
13187
|
] }),
|
|
13007
|
-
/* @__PURE__ */ (0,
|
|
13188
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(DesktopNavigation, { "aria-label": t("header.navigation"), children: resolvedNavigationItems.map((item) => {
|
|
13008
13189
|
const isItemActive = item.children.length > 0 ? item.children.some((child) => isRouteActive(child.href)) : isRouteActive(item.href);
|
|
13009
13190
|
if (item.children.length > 0) {
|
|
13010
|
-
return /* @__PURE__ */ (0,
|
|
13191
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
|
|
13011
13192
|
import_radix_ui4.DropdownMenu.Root,
|
|
13012
13193
|
{
|
|
13013
13194
|
modal: false,
|
|
13014
13195
|
open: isDesktopProductsOpen === item.index,
|
|
13015
13196
|
onOpenChange: (open) => setIsDesktopProductsOpen(open ? item.index : null),
|
|
13016
13197
|
children: [
|
|
13017
|
-
/* @__PURE__ */ (0,
|
|
13198
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_radix_ui4.DropdownMenu.Trigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
13018
13199
|
ProductsMenuTrigger,
|
|
13019
13200
|
{
|
|
13020
13201
|
...chromeItemAttributes(language, "header.menuItems", item.index),
|
|
13021
13202
|
type: "button",
|
|
13022
13203
|
"aria-current": isItemActive ? "page" : void 0,
|
|
13023
13204
|
"data-active": isItemActive ? "true" : void 0,
|
|
13024
|
-
children: /* @__PURE__ */ (0,
|
|
13205
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(ExactText, { cmsAs: "span", cmsField: item.labelKey, children: item.label })
|
|
13025
13206
|
}
|
|
13026
13207
|
) }),
|
|
13027
|
-
/* @__PURE__ */ (0,
|
|
13208
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_radix_ui4.DropdownMenu.Portal, { container: portalContainer, children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
13028
13209
|
ProductsMenuContent,
|
|
13029
13210
|
{
|
|
13030
13211
|
onInteractOutside: keepEditorToolbarOpen,
|
|
13031
13212
|
align: "center",
|
|
13032
13213
|
sideOffset: 10,
|
|
13033
13214
|
"aria-label": item.label,
|
|
13034
|
-
children: item.children.map((child) => /* @__PURE__ */ (0,
|
|
13215
|
+
children: item.children.map((child) => /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(ProductsMenuItem, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(ExactText, { cmsAs: import_link7.default, cmsField: child.labelKey, ...chromeItemAttributes(language, "header.menuItems", child.index, item.index), href: child.href, "aria-disabled": child.linkDisabled || void 0, onClick: (event) => {
|
|
13035
13216
|
if (child.linkDisabled) event.preventDefault();
|
|
13036
13217
|
}, "aria-current": isItemActive && selectedCategory === child.category ? "page" : void 0, children: child.label }) }, child.labelKey))
|
|
13037
13218
|
}
|
|
@@ -13059,8 +13240,8 @@ function Header() {
|
|
|
13059
13240
|
item.label
|
|
13060
13241
|
);
|
|
13061
13242
|
}) }),
|
|
13062
|
-
/* @__PURE__ */ (0,
|
|
13063
|
-
/* @__PURE__ */ (0,
|
|
13243
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(MobileNavigation2, { children: [
|
|
13244
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(MobileLanguageToggle, { children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
13064
13245
|
LanguageSwitcher,
|
|
13065
13246
|
{
|
|
13066
13247
|
compact: true,
|
|
@@ -13069,15 +13250,15 @@ function Header() {
|
|
|
13069
13250
|
onLanguageChange: (nextLanguage) => void i18n.changeLanguage(nextLanguage)
|
|
13070
13251
|
}
|
|
13071
13252
|
) }),
|
|
13072
|
-
/* @__PURE__ */ (0,
|
|
13073
|
-
/* @__PURE__ */ (0,
|
|
13074
|
-
/* @__PURE__ */ (0,
|
|
13253
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(MobileThemeToggle, { children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(ThemeToggle, { variant: "header" }) }),
|
|
13254
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(import_radix_ui4.Dialog.Root, { modal: !editable, open: isMenuOpen, onOpenChange: setIsMenuOpen, children: [
|
|
13255
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_radix_ui4.Dialog.Trigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
13075
13256
|
MobileMenuTrigger,
|
|
13076
13257
|
{
|
|
13077
13258
|
type: "button",
|
|
13078
13259
|
ref: mobileMenuTriggerRef,
|
|
13079
13260
|
"aria-label": isMenuOpen ? t("header.closeMenu") : t("header.openMenu"),
|
|
13080
|
-
children: /* @__PURE__ */ (0,
|
|
13261
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
13081
13262
|
import_react29.MorphIcon,
|
|
13082
13263
|
{
|
|
13083
13264
|
icon: isMenuOpen ? import_lucide3.X : import_lucide3.Menu,
|
|
@@ -13089,9 +13270,9 @@ function Header() {
|
|
|
13089
13270
|
)
|
|
13090
13271
|
}
|
|
13091
13272
|
) }),
|
|
13092
|
-
/* @__PURE__ */ (0,
|
|
13093
|
-
/* @__PURE__ */ (0,
|
|
13094
|
-
/* @__PURE__ */ (0,
|
|
13273
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(import_radix_ui4.Dialog.Portal, { container: portalContainer, children: [
|
|
13274
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(MobileDrawerOverlay, {}),
|
|
13275
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
|
|
13095
13276
|
MobileDrawerContent,
|
|
13096
13277
|
{
|
|
13097
13278
|
onInteractOutside: keepEditorToolbarOpen,
|
|
@@ -13110,9 +13291,9 @@ function Header() {
|
|
|
13110
13291
|
});
|
|
13111
13292
|
},
|
|
13112
13293
|
children: [
|
|
13113
|
-
/* @__PURE__ */ (0,
|
|
13114
|
-
/* @__PURE__ */ (0,
|
|
13115
|
-
/* @__PURE__ */ (0,
|
|
13294
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(MobileDrawerHeader, { children: [
|
|
13295
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(ExactText, { cmsAs: MobileDrawerTitle, children: t("header.menu") }),
|
|
13296
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(MobileDrawerClose, { "aria-label": t("header.closeMenu"), children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
13116
13297
|
import_react29.MorphIcon,
|
|
13117
13298
|
{
|
|
13118
13299
|
icon: import_lucide3.X,
|
|
@@ -13123,25 +13304,27 @@ function Header() {
|
|
|
13123
13304
|
}
|
|
13124
13305
|
) })
|
|
13125
13306
|
] }),
|
|
13126
|
-
/* @__PURE__ */ (0,
|
|
13127
|
-
/* @__PURE__ */ (0,
|
|
13307
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(MobileDrawerActions, { children: [
|
|
13308
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
13128
13309
|
ExactText,
|
|
13129
13310
|
{
|
|
13130
13311
|
cmsAs: MobileDrawerLoginButton,
|
|
13131
|
-
|
|
13132
|
-
|
|
13133
|
-
|
|
13312
|
+
cmsField: "header.login",
|
|
13313
|
+
as: "a",
|
|
13314
|
+
...linkProps(loginLink, loginField),
|
|
13315
|
+
title: !loginLink.href && !editable ? t("header.loginUnavailable") : void 0,
|
|
13316
|
+
onClick: (event) => handleActionClick(event, loginField, true),
|
|
13134
13317
|
children: t("header.login")
|
|
13135
13318
|
}
|
|
13136
13319
|
),
|
|
13137
|
-
/* @__PURE__ */ (0,
|
|
13320
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
13138
13321
|
ExactText,
|
|
13139
13322
|
{
|
|
13140
13323
|
cmsAs: MobileDrawerOpenAccountButton,
|
|
13141
|
-
|
|
13142
|
-
|
|
13143
|
-
|
|
13144
|
-
|
|
13324
|
+
labelField: "header.register",
|
|
13325
|
+
...linkProps(registerLink, registerField),
|
|
13326
|
+
disabled: !registerLink.href && !editable,
|
|
13327
|
+
onClick: (event) => handleActionClick(event, registerField, true),
|
|
13145
13328
|
size: "sm",
|
|
13146
13329
|
radius: 6,
|
|
13147
13330
|
tint: "#F9BB3A",
|
|
@@ -13159,12 +13342,12 @@ function Header() {
|
|
|
13159
13342
|
}
|
|
13160
13343
|
)
|
|
13161
13344
|
] }),
|
|
13162
|
-
/* @__PURE__ */ (0,
|
|
13345
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(MobileMenuPanel, { "aria-label": t("header.mobileNavigation"), children: [
|
|
13163
13346
|
resolvedNavigationItems.map((item) => {
|
|
13164
13347
|
const isItemActive = item.children.length > 0 ? item.children.some((child) => isRouteActive(child.href)) : isRouteActive(item.href);
|
|
13165
13348
|
if (item.children.length > 0) {
|
|
13166
|
-
return /* @__PURE__ */ (0,
|
|
13167
|
-
/* @__PURE__ */ (0,
|
|
13349
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("div", { className: "mobile-menu-group", ...chromeItemAttributes(language, "header.menuItems", item.index), children: [
|
|
13350
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
|
|
13168
13351
|
"button",
|
|
13169
13352
|
{
|
|
13170
13353
|
"aria-current": isItemActive ? "page" : void 0,
|
|
@@ -13178,13 +13361,13 @@ function Header() {
|
|
|
13178
13361
|
},
|
|
13179
13362
|
type: "button",
|
|
13180
13363
|
children: [
|
|
13181
|
-
/* @__PURE__ */ (0,
|
|
13182
|
-
/* @__PURE__ */ (0,
|
|
13364
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(ExactText, { cmsAs: "span", cmsField: item.labelKey, children: item.label }),
|
|
13365
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
13183
13366
|
"span",
|
|
13184
13367
|
{
|
|
13185
13368
|
"aria-hidden": "true",
|
|
13186
13369
|
className: "mobile-products-chevron",
|
|
13187
|
-
children: /* @__PURE__ */ (0,
|
|
13370
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
13188
13371
|
import_react29.MorphIcon,
|
|
13189
13372
|
{
|
|
13190
13373
|
icon: import_lucide3.ChevronDown,
|
|
@@ -13199,7 +13382,7 @@ function Header() {
|
|
|
13199
13382
|
]
|
|
13200
13383
|
}
|
|
13201
13384
|
),
|
|
13202
|
-
/* @__PURE__ */ (0,
|
|
13385
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
13203
13386
|
"div",
|
|
13204
13387
|
{
|
|
13205
13388
|
"aria-labelledby": `mobile-products-trigger-${item.index}`,
|
|
@@ -13249,17 +13432,18 @@ function Header() {
|
|
|
13249
13432
|
setIsMenuOpen(false);
|
|
13250
13433
|
}
|
|
13251
13434
|
},
|
|
13252
|
-
/* @__PURE__ */ (0,
|
|
13435
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(ExactText, { cmsAs: "span", cmsField: item.labelKey, children: item.label })
|
|
13253
13436
|
);
|
|
13254
13437
|
}),
|
|
13255
|
-
/* @__PURE__ */ (0,
|
|
13438
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_radix_ui4.Dialog.Close, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
13256
13439
|
ExactText,
|
|
13257
13440
|
{
|
|
13258
|
-
cmsAs: "
|
|
13441
|
+
cmsAs: "a",
|
|
13442
|
+
cmsField: "header.login",
|
|
13259
13443
|
className: "mobile-menu-login",
|
|
13260
|
-
|
|
13261
|
-
|
|
13262
|
-
|
|
13444
|
+
...linkProps(loginLink, loginField),
|
|
13445
|
+
title: !loginLink.href && !editable ? t("header.loginUnavailable") : void 0,
|
|
13446
|
+
onClick: (event) => handleActionClick(event, loginField, true),
|
|
13263
13447
|
children: t("header.login")
|
|
13264
13448
|
}
|
|
13265
13449
|
) })
|
|
@@ -13270,9 +13454,9 @@ function Header() {
|
|
|
13270
13454
|
] })
|
|
13271
13455
|
] })
|
|
13272
13456
|
] }),
|
|
13273
|
-
/* @__PURE__ */ (0,
|
|
13274
|
-
/* @__PURE__ */ (0,
|
|
13275
|
-
/* @__PURE__ */ (0,
|
|
13457
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(RightActions, { children: [
|
|
13458
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("div", { children: [
|
|
13459
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
13276
13460
|
LanguageSwitcher,
|
|
13277
13461
|
{
|
|
13278
13462
|
language,
|
|
@@ -13280,27 +13464,29 @@ function Header() {
|
|
|
13280
13464
|
onLanguageChange: (nextLanguage) => void i18n.changeLanguage(nextLanguage)
|
|
13281
13465
|
}
|
|
13282
13466
|
),
|
|
13283
|
-
/* @__PURE__ */ (0,
|
|
13467
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(ThemeToggle, { variant: "header" })
|
|
13284
13468
|
] }),
|
|
13285
|
-
/* @__PURE__ */ (0,
|
|
13286
|
-
/* @__PURE__ */ (0,
|
|
13469
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(ActionDivider, { "aria-hidden": "true" }),
|
|
13470
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
13287
13471
|
ExactText,
|
|
13288
13472
|
{
|
|
13289
13473
|
cmsAs: LoginLink,
|
|
13290
|
-
|
|
13291
|
-
|
|
13292
|
-
|
|
13474
|
+
cmsField: "header.login",
|
|
13475
|
+
as: "a",
|
|
13476
|
+
...linkProps(loginLink, loginField),
|
|
13477
|
+
title: !loginLink.href && !editable ? t("header.loginUnavailable") : void 0,
|
|
13478
|
+
onClick: (event) => handleActionClick(event, loginField),
|
|
13293
13479
|
children: t("header.login")
|
|
13294
13480
|
}
|
|
13295
13481
|
),
|
|
13296
|
-
/* @__PURE__ */ (0,
|
|
13482
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
13297
13483
|
ExactText,
|
|
13298
13484
|
{
|
|
13299
13485
|
cmsAs: OpenAccountButton,
|
|
13300
|
-
|
|
13301
|
-
|
|
13302
|
-
|
|
13303
|
-
|
|
13486
|
+
labelField: "header.register",
|
|
13487
|
+
...linkProps(registerLink, registerField),
|
|
13488
|
+
disabled: !registerLink.href && !editable,
|
|
13489
|
+
onClick: (event) => handleActionClick(event, registerField),
|
|
13304
13490
|
size: "sm",
|
|
13305
13491
|
radius: 6,
|
|
13306
13492
|
tint: "#F9BB3A",
|
|
@@ -13333,25 +13519,25 @@ var TitleContainer = import_styled_components30.styled.div.withConfig({
|
|
|
13333
13519
|
]);
|
|
13334
13520
|
|
|
13335
13521
|
// src/commodity-original/components/Title/index.tsx
|
|
13336
|
-
var
|
|
13522
|
+
var import_jsx_runtime44 = require("react/jsx-runtime");
|
|
13337
13523
|
var TitleCommon = ({ title, classname, desc }) => {
|
|
13338
|
-
return /* @__PURE__ */ (0,
|
|
13339
|
-
/* @__PURE__ */ (0,
|
|
13340
|
-
desc && /* @__PURE__ */ (0,
|
|
13524
|
+
return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(TitleContainer, { className: classname, children: [
|
|
13525
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)(ExactText, { cmsAs: "h2", children: title }),
|
|
13526
|
+
desc && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(ExactText, { cmsAs: "p", children: desc })
|
|
13341
13527
|
] });
|
|
13342
13528
|
};
|
|
13343
13529
|
var Title_default = TitleCommon;
|
|
13344
13530
|
|
|
13345
13531
|
// src/commodity-original/components/LandingPage/AudienceSection.tsx
|
|
13346
13532
|
var import_react_i18next17 = require("react-i18next");
|
|
13347
|
-
var
|
|
13533
|
+
var import_jsx_runtime45 = require("react/jsx-runtime");
|
|
13348
13534
|
function AudienceColumn({
|
|
13349
13535
|
items,
|
|
13350
13536
|
side
|
|
13351
13537
|
}) {
|
|
13352
|
-
return /* @__PURE__ */ (0,
|
|
13353
|
-
/* @__PURE__ */ (0,
|
|
13354
|
-
/* @__PURE__ */ (0,
|
|
13538
|
+
return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: `audience-column audience-column--${side}`, children: items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("article", { className: "speech-card", children: [
|
|
13539
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(ExactText, { cmsAs: "h3", children: item.title }),
|
|
13540
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(ExactText, { cmsAs: "p", children: item.body })
|
|
13355
13541
|
] }, item.title)) });
|
|
13356
13542
|
}
|
|
13357
13543
|
function AudienceSection() {
|
|
@@ -13369,15 +13555,15 @@ function AudienceSection() {
|
|
|
13369
13555
|
"audiencePhoneTwoImage",
|
|
13370
13556
|
"/landing-assets/audience-phones_2.webp"
|
|
13371
13557
|
);
|
|
13372
|
-
return /* @__PURE__ */ (0,
|
|
13373
|
-
/* @__PURE__ */ (0,
|
|
13558
|
+
return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("section", { className: "audience section", children: /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("div", { className: "container", children: [
|
|
13559
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
13374
13560
|
Title_default,
|
|
13375
13561
|
{
|
|
13376
13562
|
classname: "audience-title",
|
|
13377
13563
|
title: t("landing.audience.title")
|
|
13378
13564
|
}
|
|
13379
13565
|
),
|
|
13380
|
-
/* @__PURE__ */ (0,
|
|
13566
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
13381
13567
|
Button_default,
|
|
13382
13568
|
{
|
|
13383
13569
|
size: "sm",
|
|
@@ -13396,10 +13582,10 @@ function AudienceSection() {
|
|
|
13396
13582
|
children: t("landing.audience.cta")
|
|
13397
13583
|
}
|
|
13398
13584
|
),
|
|
13399
|
-
/* @__PURE__ */ (0,
|
|
13400
|
-
/* @__PURE__ */ (0,
|
|
13401
|
-
/* @__PURE__ */ (0,
|
|
13402
|
-
/* @__PURE__ */ (0,
|
|
13585
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("div", { className: "audience-layout", children: [
|
|
13586
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(AudienceColumn, { items: audiences.slice(0, 2), side: "left" }),
|
|
13587
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("div", { className: "audience-phones wikex-cms-image-host", children: [
|
|
13588
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
13403
13589
|
import_image10.default,
|
|
13404
13590
|
{
|
|
13405
13591
|
src: phoneOne,
|
|
@@ -13409,7 +13595,7 @@ function AudienceSection() {
|
|
|
13409
13595
|
className: "phone_1"
|
|
13410
13596
|
}
|
|
13411
13597
|
),
|
|
13412
|
-
/* @__PURE__ */ (0,
|
|
13598
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
13413
13599
|
import_image10.default,
|
|
13414
13600
|
{
|
|
13415
13601
|
src: phoneTwo,
|
|
@@ -13419,10 +13605,10 @@ function AudienceSection() {
|
|
|
13419
13605
|
className: "phone_2"
|
|
13420
13606
|
}
|
|
13421
13607
|
),
|
|
13422
|
-
/* @__PURE__ */ (0,
|
|
13423
|
-
/* @__PURE__ */ (0,
|
|
13608
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CmsImageAction, { field: "audiencePhoneOneImage" }),
|
|
13609
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CmsImageAction, { field: "audiencePhoneTwoImage", style: { bottom: 52 } })
|
|
13424
13610
|
] }),
|
|
13425
|
-
/* @__PURE__ */ (0,
|
|
13611
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(AudienceColumn, { items: audiences.slice(2), side: "right" })
|
|
13426
13612
|
] })
|
|
13427
13613
|
] }) });
|
|
13428
13614
|
}
|
|
@@ -13433,7 +13619,7 @@ var import_react_i18next18 = require("react-i18next");
|
|
|
13433
13619
|
|
|
13434
13620
|
// src/commodity-original/components/LandingPage/BenefitIcon.tsx
|
|
13435
13621
|
var import_react31 = require("react");
|
|
13436
|
-
var
|
|
13622
|
+
var import_jsx_runtime46 = require("react/jsx-runtime");
|
|
13437
13623
|
var sharedProps = {
|
|
13438
13624
|
xmlns: "http://www.w3.org/2000/svg",
|
|
13439
13625
|
className: "benefit-icon",
|
|
@@ -13450,8 +13636,8 @@ function BenefitIcon({ name }) {
|
|
|
13450
13636
|
const isDarkTheme = themeName === "dark";
|
|
13451
13637
|
switch (name) {
|
|
13452
13638
|
case "market":
|
|
13453
|
-
return /* @__PURE__ */ (0,
|
|
13454
|
-
/* @__PURE__ */ (0,
|
|
13639
|
+
return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)("svg", { ...sharedProps, viewBox: "0 0 48 48", children: [
|
|
13640
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
13455
13641
|
"rect",
|
|
13456
13642
|
{
|
|
13457
13643
|
x: "4",
|
|
@@ -13462,7 +13648,7 @@ function BenefitIcon({ name }) {
|
|
|
13462
13648
|
fill: "#F9BB3A"
|
|
13463
13649
|
}
|
|
13464
13650
|
),
|
|
13465
|
-
/* @__PURE__ */ (0,
|
|
13651
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
13466
13652
|
"line",
|
|
13467
13653
|
{
|
|
13468
13654
|
pathLength: "1",
|
|
@@ -13475,7 +13661,7 @@ function BenefitIcon({ name }) {
|
|
|
13475
13661
|
strokeLinecap: "round"
|
|
13476
13662
|
}
|
|
13477
13663
|
),
|
|
13478
|
-
/* @__PURE__ */ (0,
|
|
13664
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
13479
13665
|
"line",
|
|
13480
13666
|
{
|
|
13481
13667
|
className: "benefit-market-line benefit-market-line--1",
|
|
@@ -13489,7 +13675,7 @@ function BenefitIcon({ name }) {
|
|
|
13489
13675
|
strokeLinecap: "round"
|
|
13490
13676
|
}
|
|
13491
13677
|
),
|
|
13492
|
-
/* @__PURE__ */ (0,
|
|
13678
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
13493
13679
|
"line",
|
|
13494
13680
|
{
|
|
13495
13681
|
className: "benefit-market-line benefit-market-line--3",
|
|
@@ -13503,7 +13689,7 @@ function BenefitIcon({ name }) {
|
|
|
13503
13689
|
strokeLinecap: "round"
|
|
13504
13690
|
}
|
|
13505
13691
|
),
|
|
13506
|
-
/* @__PURE__ */ (0,
|
|
13692
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
13507
13693
|
"line",
|
|
13508
13694
|
{
|
|
13509
13695
|
className: "benefit-market-line benefit-market-line--2",
|
|
@@ -13519,7 +13705,7 @@ function BenefitIcon({ name }) {
|
|
|
13519
13705
|
)
|
|
13520
13706
|
] });
|
|
13521
13707
|
case "two-way":
|
|
13522
|
-
return /* @__PURE__ */ (0,
|
|
13708
|
+
return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
|
|
13523
13709
|
"svg",
|
|
13524
13710
|
{
|
|
13525
13711
|
...sharedProps,
|
|
@@ -13530,14 +13716,14 @@ function BenefitIcon({ name }) {
|
|
|
13530
13716
|
fill: "none",
|
|
13531
13717
|
className: "benefit-two-way",
|
|
13532
13718
|
children: [
|
|
13533
|
-
/* @__PURE__ */ (0,
|
|
13719
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
13534
13720
|
"path",
|
|
13535
13721
|
{
|
|
13536
13722
|
d: "M26.926 27.5862V18.2759C26.926 17.5903 26.3703 17.0345 25.6847 17.0345H23.5455C22.4932 17.0345 21.9182 15.8074 22.5915 14.9988L30.7681 5.17882C31.2735 4.57188 32.2097 4.58496 32.6979 5.20578L40.4203 15.0257C41.0607 15.8402 40.4806 17.0345 39.4445 17.0345H37.2118C36.5262 17.0345 35.9704 17.5903 35.9704 18.2759V27.5862C35.9704 28.2718 35.4146 28.8276 34.729 28.8276H28.1674C27.4818 28.8276 26.926 28.2718 26.926 27.5862Z",
|
|
13537
13723
|
fill: isDarkTheme ? "#fff" : "#05080F"
|
|
13538
13724
|
}
|
|
13539
13725
|
),
|
|
13540
|
-
/* @__PURE__ */ (0,
|
|
13726
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
13541
13727
|
"path",
|
|
13542
13728
|
{
|
|
13543
13729
|
d: "M12.0296 21.3796V30.69C12.0296 31.3756 11.4738 31.9313 10.7882 31.9313H8.64901C7.59676 31.9313 7.02173 33.1584 7.69504 33.967L15.8717 43.787C16.377 44.3939 17.3132 44.3809 17.8014 43.76L25.5238 33.9401C26.1642 33.1257 25.5841 31.9313 24.548 31.9313H22.3153C21.6297 31.9313 21.0739 31.3756 21.0739 30.69V21.3796C21.0739 20.694 20.5181 20.1382 19.8325 20.1382H13.2709C12.5853 20.1382 12.0296 20.694 12.0296 21.3796Z",
|
|
@@ -13548,7 +13734,7 @@ function BenefitIcon({ name }) {
|
|
|
13548
13734
|
}
|
|
13549
13735
|
);
|
|
13550
13736
|
case "futures":
|
|
13551
|
-
return /* @__PURE__ */ (0,
|
|
13737
|
+
return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
|
|
13552
13738
|
"svg",
|
|
13553
13739
|
{
|
|
13554
13740
|
...sharedProps,
|
|
@@ -13558,15 +13744,15 @@ function BenefitIcon({ name }) {
|
|
|
13558
13744
|
viewBox: "0 0 48 48",
|
|
13559
13745
|
fill: "none",
|
|
13560
13746
|
children: [
|
|
13561
|
-
/* @__PURE__ */ (0,
|
|
13747
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
13562
13748
|
"path",
|
|
13563
13749
|
{
|
|
13564
13750
|
d: "M26.5 5.5L38.5 17.5V40.5C38.5 41.6046 37.6046 42.5 36.5 42.5H12.5C11.3954 42.5 10.5 41.6046 10.5 40.5V7.5C10.5 6.39543 11.3954 5.5 12.5 5.5H26.5Z",
|
|
13565
13751
|
fill: "#F9BB3A"
|
|
13566
13752
|
}
|
|
13567
13753
|
),
|
|
13568
|
-
/* @__PURE__ */ (0,
|
|
13569
|
-
/* @__PURE__ */ (0,
|
|
13754
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)("path", { d: "M38.5 17.5H26.5V5.5L38.5 17.5Z", fill: isDarkTheme ? "#fff" : "#05080F" }),
|
|
13755
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
13570
13756
|
"rect",
|
|
13571
13757
|
{
|
|
13572
13758
|
className: "benefit-futures-line benefit-futures-line--1",
|
|
@@ -13577,7 +13763,7 @@ function BenefitIcon({ name }) {
|
|
|
13577
13763
|
fill: isDarkTheme ? "#fff" : "#05080F"
|
|
13578
13764
|
}
|
|
13579
13765
|
),
|
|
13580
|
-
/* @__PURE__ */ (0,
|
|
13766
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
13581
13767
|
"rect",
|
|
13582
13768
|
{
|
|
13583
13769
|
className: "benefit-futures-line benefit-futures-line--2",
|
|
@@ -13588,7 +13774,7 @@ function BenefitIcon({ name }) {
|
|
|
13588
13774
|
fill: isDarkTheme ? "#fff" : "#05080F"
|
|
13589
13775
|
}
|
|
13590
13776
|
),
|
|
13591
|
-
/* @__PURE__ */ (0,
|
|
13777
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
13592
13778
|
"rect",
|
|
13593
13779
|
{
|
|
13594
13780
|
className: "benefit-futures-line benefit-futures-line--3",
|
|
@@ -13599,7 +13785,7 @@ function BenefitIcon({ name }) {
|
|
|
13599
13785
|
fill: isDarkTheme ? "#fff" : "#05080F"
|
|
13600
13786
|
}
|
|
13601
13787
|
),
|
|
13602
|
-
/* @__PURE__ */ (0,
|
|
13788
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
13603
13789
|
"rect",
|
|
13604
13790
|
{
|
|
13605
13791
|
className: "benefit-futures-line benefit-futures-line--4",
|
|
@@ -13614,7 +13800,7 @@ function BenefitIcon({ name }) {
|
|
|
13614
13800
|
}
|
|
13615
13801
|
);
|
|
13616
13802
|
case "products":
|
|
13617
|
-
return /* @__PURE__ */ (0,
|
|
13803
|
+
return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
|
|
13618
13804
|
"svg",
|
|
13619
13805
|
{
|
|
13620
13806
|
...sharedProps,
|
|
@@ -13624,7 +13810,7 @@ function BenefitIcon({ name }) {
|
|
|
13624
13810
|
viewBox: "0 0 48 48",
|
|
13625
13811
|
fill: "none",
|
|
13626
13812
|
children: [
|
|
13627
|
-
/* @__PURE__ */ (0,
|
|
13813
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
13628
13814
|
"path",
|
|
13629
13815
|
{
|
|
13630
13816
|
className: "benefit-product-segment benefit-product-segment--1",
|
|
@@ -13632,7 +13818,7 @@ function BenefitIcon({ name }) {
|
|
|
13632
13818
|
fill: "#F9BB3A"
|
|
13633
13819
|
}
|
|
13634
13820
|
),
|
|
13635
|
-
/* @__PURE__ */ (0,
|
|
13821
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
13636
13822
|
"path",
|
|
13637
13823
|
{
|
|
13638
13824
|
className: "benefit-product-segment benefit-product-segment--2",
|
|
@@ -13640,7 +13826,7 @@ function BenefitIcon({ name }) {
|
|
|
13640
13826
|
fill: isDarkTheme ? "#fff" : "#05080F"
|
|
13641
13827
|
}
|
|
13642
13828
|
),
|
|
13643
|
-
/* @__PURE__ */ (0,
|
|
13829
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
13644
13830
|
"path",
|
|
13645
13831
|
{
|
|
13646
13832
|
className: "benefit-product-segment benefit-product-segment--3",
|
|
@@ -13648,7 +13834,7 @@ function BenefitIcon({ name }) {
|
|
|
13648
13834
|
fill: "#F9BB3A"
|
|
13649
13835
|
}
|
|
13650
13836
|
),
|
|
13651
|
-
/* @__PURE__ */ (0,
|
|
13837
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
13652
13838
|
"path",
|
|
13653
13839
|
{
|
|
13654
13840
|
className: "benefit-product-segment benefit-product-segment--4",
|
|
@@ -13660,7 +13846,7 @@ function BenefitIcon({ name }) {
|
|
|
13660
13846
|
}
|
|
13661
13847
|
);
|
|
13662
13848
|
case "leverage":
|
|
13663
|
-
return /* @__PURE__ */ (0,
|
|
13849
|
+
return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
|
|
13664
13850
|
"svg",
|
|
13665
13851
|
{
|
|
13666
13852
|
...sharedProps,
|
|
@@ -13670,7 +13856,7 @@ function BenefitIcon({ name }) {
|
|
|
13670
13856
|
viewBox: "0 0 48 48",
|
|
13671
13857
|
fill: "none",
|
|
13672
13858
|
children: [
|
|
13673
|
-
/* @__PURE__ */ (0,
|
|
13859
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
13674
13860
|
"rect",
|
|
13675
13861
|
{
|
|
13676
13862
|
x: "3.49805",
|
|
@@ -13681,7 +13867,7 @@ function BenefitIcon({ name }) {
|
|
|
13681
13867
|
fill: "#F9BB3A"
|
|
13682
13868
|
}
|
|
13683
13869
|
),
|
|
13684
|
-
/* @__PURE__ */ (0,
|
|
13870
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
13685
13871
|
"rect",
|
|
13686
13872
|
{
|
|
13687
13873
|
x: "6.49365",
|
|
@@ -13692,7 +13878,7 @@ function BenefitIcon({ name }) {
|
|
|
13692
13878
|
fill: "#F9BB3A"
|
|
13693
13879
|
}
|
|
13694
13880
|
),
|
|
13695
|
-
/* @__PURE__ */ (0,
|
|
13881
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
13696
13882
|
"rect",
|
|
13697
13883
|
{
|
|
13698
13884
|
x: "2",
|
|
@@ -13703,15 +13889,15 @@ function BenefitIcon({ name }) {
|
|
|
13703
13889
|
fill: "#F9BB3A"
|
|
13704
13890
|
}
|
|
13705
13891
|
),
|
|
13706
|
-
/* @__PURE__ */ (0,
|
|
13707
|
-
/* @__PURE__ */ (0,
|
|
13892
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsxs)("g", { className: "benefit-writing-pen", children: [
|
|
13893
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
13708
13894
|
"path",
|
|
13709
13895
|
{
|
|
13710
13896
|
d: "M34.0837 39.3882L32.7452 35.373C32.3883 34.3021 33.2991 33.2361 34.4126 33.4217L38.4278 34.0909C39.556 34.279 40.0658 35.6111 39.3512 36.5042L36.6744 39.8502C35.9328 40.7772 34.4591 40.5144 34.0837 39.3882Z",
|
|
13711
13897
|
fill: isDarkTheme ? "#fff" : "#05080F"
|
|
13712
13898
|
}
|
|
13713
13899
|
),
|
|
13714
|
-
/* @__PURE__ */ (0,
|
|
13900
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
13715
13901
|
"rect",
|
|
13716
13902
|
{
|
|
13717
13903
|
x: "37.9883",
|
|
@@ -13728,7 +13914,7 @@ function BenefitIcon({ name }) {
|
|
|
13728
13914
|
}
|
|
13729
13915
|
);
|
|
13730
13916
|
case "economy":
|
|
13731
|
-
return /* @__PURE__ */ (0,
|
|
13917
|
+
return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
|
|
13732
13918
|
"svg",
|
|
13733
13919
|
{
|
|
13734
13920
|
...sharedProps,
|
|
@@ -13738,7 +13924,7 @@ function BenefitIcon({ name }) {
|
|
|
13738
13924
|
viewBox: "0 0 48 48",
|
|
13739
13925
|
fill: "none",
|
|
13740
13926
|
children: [
|
|
13741
|
-
/* @__PURE__ */ (0,
|
|
13927
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("clipPath", { id: economyRevealId, clipPathUnits: "userSpaceOnUse", children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
13742
13928
|
"rect",
|
|
13743
13929
|
{
|
|
13744
13930
|
className: "benefit-economy-reveal",
|
|
@@ -13746,7 +13932,7 @@ function BenefitIcon({ name }) {
|
|
|
13746
13932
|
height: "48"
|
|
13747
13933
|
}
|
|
13748
13934
|
) }) }),
|
|
13749
|
-
/* @__PURE__ */ (0,
|
|
13935
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
13750
13936
|
"path",
|
|
13751
13937
|
{
|
|
13752
13938
|
d: "M19.6818 23.8565L6.5 39.402H43V11.7656L28.3182 29.902L19.6818 23.8565Z",
|
|
@@ -13754,7 +13940,7 @@ function BenefitIcon({ name }) {
|
|
|
13754
13940
|
clipPath: `url(#${economyRevealId})`
|
|
13755
13941
|
}
|
|
13756
13942
|
),
|
|
13757
|
-
/* @__PURE__ */ (0,
|
|
13943
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
13758
13944
|
"line",
|
|
13759
13945
|
{
|
|
13760
13946
|
x1: "5.25",
|
|
@@ -13766,7 +13952,7 @@ function BenefitIcon({ name }) {
|
|
|
13766
13952
|
strokeLinecap: "round"
|
|
13767
13953
|
}
|
|
13768
13954
|
),
|
|
13769
|
-
/* @__PURE__ */ (0,
|
|
13955
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
13770
13956
|
"line",
|
|
13771
13957
|
{
|
|
13772
13958
|
x1: "5.25",
|
|
@@ -13782,7 +13968,7 @@ function BenefitIcon({ name }) {
|
|
|
13782
13968
|
}
|
|
13783
13969
|
);
|
|
13784
13970
|
case "legal":
|
|
13785
|
-
return /* @__PURE__ */ (0,
|
|
13971
|
+
return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
|
|
13786
13972
|
"svg",
|
|
13787
13973
|
{
|
|
13788
13974
|
...sharedProps,
|
|
@@ -13792,7 +13978,7 @@ function BenefitIcon({ name }) {
|
|
|
13792
13978
|
viewBox: "0 0 48 48",
|
|
13793
13979
|
fill: "none",
|
|
13794
13980
|
children: [
|
|
13795
|
-
/* @__PURE__ */ (0,
|
|
13981
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
13796
13982
|
"line",
|
|
13797
13983
|
{
|
|
13798
13984
|
x1: "5.25",
|
|
@@ -13804,7 +13990,7 @@ function BenefitIcon({ name }) {
|
|
|
13804
13990
|
strokeLinecap: "round"
|
|
13805
13991
|
}
|
|
13806
13992
|
),
|
|
13807
|
-
/* @__PURE__ */ (0,
|
|
13993
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
13808
13994
|
"line",
|
|
13809
13995
|
{
|
|
13810
13996
|
x1: "7.25",
|
|
@@ -13816,8 +14002,8 @@ function BenefitIcon({ name }) {
|
|
|
13816
14002
|
strokeLinecap: "round"
|
|
13817
14003
|
}
|
|
13818
14004
|
),
|
|
13819
|
-
/* @__PURE__ */ (0,
|
|
13820
|
-
/* @__PURE__ */ (0,
|
|
14005
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsxs)("g", { className: "benefit-gavel", children: [
|
|
14006
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
13821
14007
|
"rect",
|
|
13822
14008
|
{
|
|
13823
14009
|
x: "31.0806",
|
|
@@ -13829,7 +14015,7 @@ function BenefitIcon({ name }) {
|
|
|
13829
14015
|
fill: "#F9BB3A"
|
|
13830
14016
|
}
|
|
13831
14017
|
),
|
|
13832
|
-
/* @__PURE__ */ (0,
|
|
14018
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
13833
14019
|
"rect",
|
|
13834
14020
|
{
|
|
13835
14021
|
x: "30.4731",
|
|
@@ -13840,14 +14026,14 @@ function BenefitIcon({ name }) {
|
|
|
13840
14026
|
fill: "#F9BB3A"
|
|
13841
14027
|
}
|
|
13842
14028
|
),
|
|
13843
|
-
/* @__PURE__ */ (0,
|
|
14029
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
13844
14030
|
"path",
|
|
13845
14031
|
{
|
|
13846
14032
|
d: "M11.5228 19.2152C12.2194 18.6859 13.2132 18.8216 13.7425 19.5182L21.06 29.1496C21.5892 29.8462 21.4536 30.84 20.7569 31.3693L18.2341 33.286L9.00001 21.1319L11.5228 19.2152Z",
|
|
13847
14033
|
fill: isDarkTheme ? "#fff" : "#05080F"
|
|
13848
14034
|
}
|
|
13849
14035
|
),
|
|
13850
|
-
/* @__PURE__ */ (0,
|
|
14036
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
13851
14037
|
"path",
|
|
13852
14038
|
{
|
|
13853
14039
|
d: "M30.0569 5.95574C29.3685 6.4958 29.2483 7.49159 29.7884 8.17992L37.2548 17.6963C37.7948 18.3846 38.7906 18.5048 39.479 17.9648L41.9716 16.0091L32.5495 4.00004L30.0569 5.95574Z",
|
|
@@ -13859,7 +14045,7 @@ function BenefitIcon({ name }) {
|
|
|
13859
14045
|
}
|
|
13860
14046
|
);
|
|
13861
14047
|
case "risk":
|
|
13862
|
-
return /* @__PURE__ */ (0,
|
|
14048
|
+
return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
|
|
13863
14049
|
"svg",
|
|
13864
14050
|
{
|
|
13865
14051
|
...sharedProps,
|
|
@@ -13869,14 +14055,14 @@ function BenefitIcon({ name }) {
|
|
|
13869
14055
|
viewBox: "0 0 48 48",
|
|
13870
14056
|
fill: "none",
|
|
13871
14057
|
children: [
|
|
13872
|
-
/* @__PURE__ */ (0,
|
|
14058
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
13873
14059
|
"path",
|
|
13874
14060
|
{
|
|
13875
14061
|
d: "M27.1611 7.69043C27.1654 7.69262 27.1696 7.69507 27.1738 7.69727L30.793 9.57422L40.1953 14.4492L39.2236 19.7227L36.5928 34.0059C36.1989 36.144 34.865 37.9923 32.96 39.04L27.3896 42.1035C25.2163 43.2989 22.5826 43.2989 20.4092 42.1035L14.7402 38.9863C12.8916 37.9695 11.5782 36.1965 11.1436 34.1318L10.0498 28.9346H10.0488L7 14.4492L23.8994 6L27.1611 7.69043Z",
|
|
13876
14062
|
fill: "#F9BB3A"
|
|
13877
14063
|
}
|
|
13878
14064
|
),
|
|
13879
|
-
/* @__PURE__ */ (0,
|
|
14065
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
13880
14066
|
"rect",
|
|
13881
14067
|
{
|
|
13882
14068
|
className: "benefit-risk-square benefit-risk-square--2",
|
|
@@ -13887,7 +14073,7 @@ function BenefitIcon({ name }) {
|
|
|
13887
14073
|
fill: isDarkTheme ? "#fff" : "#05080F"
|
|
13888
14074
|
}
|
|
13889
14075
|
),
|
|
13890
|
-
/* @__PURE__ */ (0,
|
|
14076
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
13891
14077
|
"rect",
|
|
13892
14078
|
{
|
|
13893
14079
|
className: "benefit-risk-square benefit-risk-square--3",
|
|
@@ -13898,7 +14084,7 @@ function BenefitIcon({ name }) {
|
|
|
13898
14084
|
fill: isDarkTheme ? "#fff" : "#05080F"
|
|
13899
14085
|
}
|
|
13900
14086
|
),
|
|
13901
|
-
/* @__PURE__ */ (0,
|
|
14087
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
13902
14088
|
"rect",
|
|
13903
14089
|
{
|
|
13904
14090
|
className: "benefit-risk-square benefit-risk-square--1",
|
|
@@ -13916,20 +14102,20 @@ function BenefitIcon({ name }) {
|
|
|
13916
14102
|
}
|
|
13917
14103
|
|
|
13918
14104
|
// src/commodity-original/components/LandingPage/BenefitsSection.tsx
|
|
13919
|
-
var
|
|
14105
|
+
var import_jsx_runtime47 = require("react/jsx-runtime");
|
|
13920
14106
|
function BenefitCopy({
|
|
13921
14107
|
body,
|
|
13922
14108
|
emphasizedWords
|
|
13923
14109
|
}) {
|
|
13924
14110
|
if (!emphasizedWords?.length) {
|
|
13925
|
-
return /* @__PURE__ */ (0,
|
|
14111
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(ExactText, { cmsAs: "p", children: body });
|
|
13926
14112
|
}
|
|
13927
14113
|
const pattern = new RegExp(
|
|
13928
14114
|
`(${emphasizedWords.map((word) => word.replace(/[.*+?^${}()|[\]\\]/g, "\\$&")).join("|")})`,
|
|
13929
14115
|
"g"
|
|
13930
14116
|
);
|
|
13931
|
-
return /* @__PURE__ */ (0,
|
|
13932
|
-
(part, index) => emphasizedWords.includes(part) ? /* @__PURE__ */ (0,
|
|
14117
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(ExactText, { cmsAs: "p", children: body.split(pattern).map(
|
|
14118
|
+
(part, index) => emphasizedWords.includes(part) ? /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(ExactText, { cmsAs: "strong", children: part }, `${part}-${index}`) : part
|
|
13933
14119
|
) });
|
|
13934
14120
|
}
|
|
13935
14121
|
function BenefitsSection() {
|
|
@@ -13949,8 +14135,8 @@ function BenefitsSection() {
|
|
|
13949
14135
|
(current) => current.includes(index) ? current.filter((cardIndex) => cardIndex !== index) : [...current, index]
|
|
13950
14136
|
);
|
|
13951
14137
|
};
|
|
13952
|
-
return /* @__PURE__ */ (0,
|
|
13953
|
-
/* @__PURE__ */ (0,
|
|
14138
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("section", { className: "benefits section", id: "news", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "container", children: [
|
|
14139
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
13954
14140
|
Title_default,
|
|
13955
14141
|
{
|
|
13956
14142
|
classname: "section-heading",
|
|
@@ -13958,26 +14144,26 @@ function BenefitsSection() {
|
|
|
13958
14144
|
desc: t("landing.benefits.description")
|
|
13959
14145
|
}
|
|
13960
14146
|
),
|
|
13961
|
-
/* @__PURE__ */ (0,
|
|
14147
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "benefit-grid", children: benefitItems.map((item, index) => {
|
|
13962
14148
|
const isExpanded = expandedCards.includes(index);
|
|
13963
14149
|
const contentId = `benefit-content-${index}`;
|
|
13964
14150
|
const title = t(`landing.benefits.cards.${index}.title`);
|
|
13965
14151
|
const body = t(`landing.benefits.cards.${index}.body`);
|
|
13966
|
-
return /* @__PURE__ */ (0,
|
|
14152
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(
|
|
13967
14153
|
"article",
|
|
13968
14154
|
{
|
|
13969
14155
|
className: `benefit-card${index >= 4 ? " benefit-card--tall" : ""}${isExpanded ? " is-expanded" : ""}`,
|
|
13970
14156
|
children: [
|
|
13971
|
-
/* @__PURE__ */ (0,
|
|
13972
|
-
/* @__PURE__ */ (0,
|
|
13973
|
-
/* @__PURE__ */ (0,
|
|
13974
|
-
/* @__PURE__ */ (0,
|
|
14157
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "benefit-inner", children: [
|
|
14158
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(BenefitIcon, { name: item.icon }),
|
|
14159
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(ExactText, { cmsAs: "h3", children: title }),
|
|
14160
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
13975
14161
|
"div",
|
|
13976
14162
|
{
|
|
13977
14163
|
className: "benefit-body",
|
|
13978
14164
|
id: contentId,
|
|
13979
14165
|
"aria-hidden": !isExpanded,
|
|
13980
|
-
children: /* @__PURE__ */ (0,
|
|
14166
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "benefit-body-clip", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
13981
14167
|
BenefitCopy,
|
|
13982
14168
|
{
|
|
13983
14169
|
body,
|
|
@@ -13987,7 +14173,7 @@ function BenefitsSection() {
|
|
|
13987
14173
|
}
|
|
13988
14174
|
)
|
|
13989
14175
|
] }),
|
|
13990
|
-
/* @__PURE__ */ (0,
|
|
14176
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
13991
14177
|
"button",
|
|
13992
14178
|
{
|
|
13993
14179
|
className: "benefit-toggle",
|
|
@@ -14009,7 +14195,7 @@ function BenefitsSection() {
|
|
|
14009
14195
|
// src/commodity-original/components/LandingPage/CommoditiesSection.tsx
|
|
14010
14196
|
var import_image11 = __toESM(require("next/image.js"));
|
|
14011
14197
|
var import_react_i18next19 = require("react-i18next");
|
|
14012
|
-
var
|
|
14198
|
+
var import_jsx_runtime48 = require("react/jsx-runtime");
|
|
14013
14199
|
function CommodityProduct({
|
|
14014
14200
|
item,
|
|
14015
14201
|
groupIndex,
|
|
@@ -14020,9 +14206,9 @@ function CommodityProduct({
|
|
|
14020
14206
|
const name = t(`${key}.name`);
|
|
14021
14207
|
const imageField = `commodityGroup${groupIndex + 1}Item${itemIndex + 1}Image`;
|
|
14022
14208
|
const image2 = useCmsImage(imageField, item.image);
|
|
14023
|
-
return /* @__PURE__ */ (0,
|
|
14024
|
-
/* @__PURE__ */ (0,
|
|
14025
|
-
/* @__PURE__ */ (0,
|
|
14209
|
+
return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "commodity-product", children: [
|
|
14210
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: `commodity-image commodity-image--${item.imageClassName} wikex-cms-image-host`, children: [
|
|
14211
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
14026
14212
|
import_image11.default,
|
|
14027
14213
|
{
|
|
14028
14214
|
className: "commodity-sprite",
|
|
@@ -14033,14 +14219,14 @@ function CommodityProduct({
|
|
|
14033
14219
|
sizes: "(max-width: 767px) 98px, 136px"
|
|
14034
14220
|
}
|
|
14035
14221
|
),
|
|
14036
|
-
/* @__PURE__ */ (0,
|
|
14222
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(CmsImageAction, { field: imageField })
|
|
14037
14223
|
] }),
|
|
14038
|
-
/* @__PURE__ */ (0,
|
|
14039
|
-
/* @__PURE__ */ (0,
|
|
14040
|
-
/* @__PURE__ */ (0,
|
|
14041
|
-
/* @__PURE__ */ (0,
|
|
14224
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "commodity-copy", children: [
|
|
14225
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(ExactText, { cmsAs: "h3", children: name }),
|
|
14226
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(ExactText, { cmsAs: "p", children: t(`${key}.body`) }),
|
|
14227
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("a", { href: "#register", children: [
|
|
14042
14228
|
t(`${key}.cta`),
|
|
14043
|
-
/* @__PURE__ */ (0,
|
|
14229
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
14044
14230
|
import_image11.default,
|
|
14045
14231
|
{
|
|
14046
14232
|
src: "/landing-assets/commodity-link-arrow.svg",
|
|
@@ -14056,26 +14242,26 @@ function CommodityProduct({
|
|
|
14056
14242
|
}
|
|
14057
14243
|
function CommoditiesSection() {
|
|
14058
14244
|
const { t } = (0, import_react_i18next19.useTranslation)();
|
|
14059
|
-
return /* @__PURE__ */ (0,
|
|
14060
|
-
/* @__PURE__ */ (0,
|
|
14245
|
+
return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("section", { className: "commodities section", id: "fees", children: /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "container", children: [
|
|
14246
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
14061
14247
|
Title_default,
|
|
14062
14248
|
{
|
|
14063
14249
|
classname: "commodities-title",
|
|
14064
14250
|
title: t("landing.commodities.title")
|
|
14065
14251
|
}
|
|
14066
14252
|
),
|
|
14067
|
-
/* @__PURE__ */ (0,
|
|
14253
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "commodity-list", children: commodityGroups.map((group, groupIndex) => {
|
|
14068
14254
|
const groupTitle = t(
|
|
14069
14255
|
`landing.commodities.groups.${groupIndex}.title`
|
|
14070
14256
|
);
|
|
14071
|
-
return /* @__PURE__ */ (0,
|
|
14257
|
+
return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
|
|
14072
14258
|
"article",
|
|
14073
14259
|
{
|
|
14074
14260
|
className: `commodity-row ${group.className}`,
|
|
14075
14261
|
id: `commodity-${group.className}`,
|
|
14076
14262
|
children: [
|
|
14077
|
-
/* @__PURE__ */ (0,
|
|
14078
|
-
/* @__PURE__ */ (0,
|
|
14263
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "commodity-label", children: [
|
|
14264
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
14079
14265
|
import_image11.default,
|
|
14080
14266
|
{
|
|
14081
14267
|
className: "commodity-label-panel",
|
|
@@ -14086,7 +14272,7 @@ function CommoditiesSection() {
|
|
|
14086
14272
|
"aria-hidden": "true"
|
|
14087
14273
|
}
|
|
14088
14274
|
),
|
|
14089
|
-
/* @__PURE__ */ (0,
|
|
14275
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
14090
14276
|
import_image11.default,
|
|
14091
14277
|
{
|
|
14092
14278
|
className: "commodity-label-tail",
|
|
@@ -14097,7 +14283,7 @@ function CommoditiesSection() {
|
|
|
14097
14283
|
"aria-hidden": "true"
|
|
14098
14284
|
}
|
|
14099
14285
|
),
|
|
14100
|
-
/* @__PURE__ */ (0,
|
|
14286
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
14101
14287
|
import_image11.default,
|
|
14102
14288
|
{
|
|
14103
14289
|
className: "commodity-label-panel-mobile",
|
|
@@ -14108,7 +14294,7 @@ function CommoditiesSection() {
|
|
|
14108
14294
|
"aria-hidden": "true"
|
|
14109
14295
|
}
|
|
14110
14296
|
),
|
|
14111
|
-
/* @__PURE__ */ (0,
|
|
14297
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)("span", { className: "commodity-label-icon", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
14112
14298
|
import_image11.default,
|
|
14113
14299
|
{
|
|
14114
14300
|
src: group.icon,
|
|
@@ -14117,10 +14303,10 @@ function CommoditiesSection() {
|
|
|
14117
14303
|
height: group.iconHeight
|
|
14118
14304
|
}
|
|
14119
14305
|
) }),
|
|
14120
|
-
/* @__PURE__ */ (0,
|
|
14306
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(ExactText, { cmsAs: "h3", children: groupTitle })
|
|
14121
14307
|
] }),
|
|
14122
|
-
/* @__PURE__ */ (0,
|
|
14123
|
-
/* @__PURE__ */ (0,
|
|
14308
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "commodity-carousel", children: [
|
|
14309
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
14124
14310
|
"button",
|
|
14125
14311
|
{
|
|
14126
14312
|
className: "commodity-nav",
|
|
@@ -14128,7 +14314,7 @@ function CommoditiesSection() {
|
|
|
14128
14314
|
"aria-label": t("landing.commodities.previous", {
|
|
14129
14315
|
group: groupTitle
|
|
14130
14316
|
}),
|
|
14131
|
-
children: /* @__PURE__ */ (0,
|
|
14317
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
14132
14318
|
import_image11.default,
|
|
14133
14319
|
{
|
|
14134
14320
|
src: "/landing-assets/commodity-arrow-left.svg",
|
|
@@ -14139,7 +14325,7 @@ function CommoditiesSection() {
|
|
|
14139
14325
|
)
|
|
14140
14326
|
}
|
|
14141
14327
|
),
|
|
14142
|
-
/* @__PURE__ */ (0,
|
|
14328
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "commodity-products", children: group.items.map((item, itemIndex) => /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
14143
14329
|
CommodityProduct,
|
|
14144
14330
|
{
|
|
14145
14331
|
item,
|
|
@@ -14148,7 +14334,7 @@ function CommoditiesSection() {
|
|
|
14148
14334
|
},
|
|
14149
14335
|
item.imageClassName
|
|
14150
14336
|
)) }),
|
|
14151
|
-
/* @__PURE__ */ (0,
|
|
14337
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
14152
14338
|
"button",
|
|
14153
14339
|
{
|
|
14154
14340
|
className: "commodity-nav",
|
|
@@ -14156,7 +14342,7 @@ function CommoditiesSection() {
|
|
|
14156
14342
|
"aria-label": t("landing.commodities.next", {
|
|
14157
14343
|
group: groupTitle
|
|
14158
14344
|
}),
|
|
14159
|
-
children: /* @__PURE__ */ (0,
|
|
14345
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
14160
14346
|
import_image11.default,
|
|
14161
14347
|
{
|
|
14162
14348
|
src: "/landing-assets/commodity-arrow-right.svg",
|
|
@@ -14179,7 +14365,7 @@ function CommoditiesSection() {
|
|
|
14179
14365
|
// src/commodity-original/components/LandingPage/DownloadSection.tsx
|
|
14180
14366
|
var import_image12 = __toESM(require("next/image.js"));
|
|
14181
14367
|
var import_react_i18next20 = require("react-i18next");
|
|
14182
|
-
var
|
|
14368
|
+
var import_jsx_runtime49 = require("react/jsx-runtime");
|
|
14183
14369
|
var downloadBadges = [
|
|
14184
14370
|
{
|
|
14185
14371
|
src: "/landing-assets/footer-appstore-icon.svg",
|
|
@@ -14204,7 +14390,8 @@ var downloadBadges = [
|
|
|
14204
14390
|
}
|
|
14205
14391
|
];
|
|
14206
14392
|
function DownloadSection() {
|
|
14207
|
-
const { t } = (0, import_react_i18next20.useTranslation)();
|
|
14393
|
+
const { t, i18n } = (0, import_react_i18next20.useTranslation)();
|
|
14394
|
+
const language = i18n.resolvedLanguage?.startsWith("en") ? "en" : "vi";
|
|
14208
14395
|
const reward = t("landing.download.reward");
|
|
14209
14396
|
const qrImage = useCmsImage("downloadQrImage", "/landing-assets/download-qr.png");
|
|
14210
14397
|
const laptopImage = useCmsImage(
|
|
@@ -14215,17 +14402,17 @@ function DownloadSection() {
|
|
|
14215
14402
|
"downloadPhoneImage",
|
|
14216
14403
|
"/landing-assets/download-phone.webp"
|
|
14217
14404
|
);
|
|
14218
|
-
const downloadLinks = /* @__PURE__ */ (0,
|
|
14219
|
-
|
|
14405
|
+
const downloadLinks = /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: "download-links", children: downloadBadges.map((badge) => /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(
|
|
14406
|
+
CmsDownloadButtonLink,
|
|
14220
14407
|
{
|
|
14408
|
+
field: `${language}.${badge.prefixKey}`,
|
|
14221
14409
|
className: `download-badge ${badge.className}`,
|
|
14222
|
-
role: "img",
|
|
14223
14410
|
"aria-label": t(badge.altKey),
|
|
14224
14411
|
children: [
|
|
14225
|
-
/* @__PURE__ */ (0,
|
|
14226
|
-
/* @__PURE__ */ (0,
|
|
14227
|
-
/* @__PURE__ */ (0,
|
|
14228
|
-
badge.name === "Google Play" ? /* @__PURE__ */ (0,
|
|
14412
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_image12.default, { src: badge.src, alt: "", width: 28, height: 28 }),
|
|
14413
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("span", { className: "download-badge-copy", children: [
|
|
14414
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(ExactText, { cmsAs: "small", cmsField: badge.prefixKey, children: t(badge.prefixKey) }),
|
|
14415
|
+
badge.name === "Google Play" ? /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
|
|
14229
14416
|
import_image12.default,
|
|
14230
14417
|
{
|
|
14231
14418
|
className: "download-googleplay-wordmark",
|
|
@@ -14234,20 +14421,20 @@ function DownloadSection() {
|
|
|
14234
14421
|
width: 89,
|
|
14235
14422
|
height: 18
|
|
14236
14423
|
}
|
|
14237
|
-
) : /* @__PURE__ */ (0,
|
|
14424
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("strong", { children: badge.name })
|
|
14238
14425
|
] })
|
|
14239
14426
|
]
|
|
14240
14427
|
},
|
|
14241
14428
|
badge.src
|
|
14242
14429
|
)) });
|
|
14243
|
-
return /* @__PURE__ */ (0,
|
|
14244
|
-
/* @__PURE__ */ (0,
|
|
14245
|
-
/* @__PURE__ */ (0,
|
|
14246
|
-
/* @__PURE__ */ (0,
|
|
14247
|
-
/* @__PURE__ */ (0,
|
|
14248
|
-
/* @__PURE__ */ (0,
|
|
14249
|
-
/* @__PURE__ */ (0,
|
|
14250
|
-
/* @__PURE__ */ (0,
|
|
14430
|
+
return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("section", { className: "download section", id: "download", children: /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "container download-card", children: [
|
|
14431
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "download-copy", children: [
|
|
14432
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(ExactText, { cmsAs: "h2", className: "download-mobile-title", children: t("landing.download.title") }),
|
|
14433
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "download-offer-row", children: [
|
|
14434
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "reward", children: [
|
|
14435
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(ExactText, { cmsAs: "h2", className: "download-desktop-title", children: t("landing.download.desktopTitle") }),
|
|
14436
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(ExactText, { cmsAs: "div", className: "reward-amount", children: reward }),
|
|
14437
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)("span", { className: "reward-divider", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
|
|
14251
14438
|
import_image12.default,
|
|
14252
14439
|
{
|
|
14253
14440
|
src: "/landing-assets/download-offer-divider.svg",
|
|
@@ -14256,12 +14443,12 @@ function DownloadSection() {
|
|
|
14256
14443
|
height: 18
|
|
14257
14444
|
}
|
|
14258
14445
|
) }),
|
|
14259
|
-
/* @__PURE__ */ (0,
|
|
14446
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(ExactText, { cmsAs: "p", children: t("landing.download.description") })
|
|
14260
14447
|
] }),
|
|
14261
|
-
/* @__PURE__ */ (0,
|
|
14262
|
-
/* @__PURE__ */ (0,
|
|
14263
|
-
/* @__PURE__ */ (0,
|
|
14264
|
-
/* @__PURE__ */ (0,
|
|
14448
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "download-qr-links", children: [
|
|
14449
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "download-qr wikex-cms-image-host", children: [
|
|
14450
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(ExactText, { cmsAs: "strong", children: t("landing.download.scan") }),
|
|
14451
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)("span", { children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
|
|
14265
14452
|
import_image12.default,
|
|
14266
14453
|
{
|
|
14267
14454
|
src: qrImage,
|
|
@@ -14270,21 +14457,21 @@ function DownloadSection() {
|
|
|
14270
14457
|
height: 140
|
|
14271
14458
|
}
|
|
14272
14459
|
) }),
|
|
14273
|
-
/* @__PURE__ */ (0,
|
|
14460
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(CmsImageAction, { field: "downloadQrImage" })
|
|
14274
14461
|
] }),
|
|
14275
14462
|
downloadLinks
|
|
14276
14463
|
] })
|
|
14277
14464
|
] })
|
|
14278
14465
|
] }),
|
|
14279
|
-
/* @__PURE__ */ (0,
|
|
14466
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(
|
|
14280
14467
|
"div",
|
|
14281
14468
|
{
|
|
14282
14469
|
className: "download-devices",
|
|
14283
14470
|
role: "img",
|
|
14284
14471
|
"aria-label": t("landing.download.devicesAlt"),
|
|
14285
14472
|
children: [
|
|
14286
|
-
/* @__PURE__ */ (0,
|
|
14287
|
-
/* @__PURE__ */ (0,
|
|
14473
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "download-laptop wikex-cms-image-host", children: [
|
|
14474
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
|
|
14288
14475
|
import_image12.default,
|
|
14289
14476
|
{
|
|
14290
14477
|
src: laptopImage,
|
|
@@ -14293,10 +14480,10 @@ function DownloadSection() {
|
|
|
14293
14480
|
sizes: "(max-width: 767px) 148vw, 879px"
|
|
14294
14481
|
}
|
|
14295
14482
|
),
|
|
14296
|
-
/* @__PURE__ */ (0,
|
|
14483
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(CmsImageAction, { field: "downloadLaptopImage" })
|
|
14297
14484
|
] }),
|
|
14298
|
-
/* @__PURE__ */ (0,
|
|
14299
|
-
/* @__PURE__ */ (0,
|
|
14485
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "download-phone wikex-cms-image-host", children: [
|
|
14486
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
|
|
14300
14487
|
import_image12.default,
|
|
14301
14488
|
{
|
|
14302
14489
|
src: phoneImage,
|
|
@@ -14305,7 +14492,7 @@ function DownloadSection() {
|
|
|
14305
14492
|
sizes: "(max-width: 767px) 69vw, 408px"
|
|
14306
14493
|
}
|
|
14307
14494
|
),
|
|
14308
|
-
/* @__PURE__ */ (0,
|
|
14495
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(CmsImageAction, { field: "downloadPhoneImage" })
|
|
14309
14496
|
] })
|
|
14310
14497
|
]
|
|
14311
14498
|
}
|
|
@@ -14319,10 +14506,10 @@ var import_lucide4 = require("lucide");
|
|
|
14319
14506
|
var import_react34 = require("morphicons/react");
|
|
14320
14507
|
var import_radix_ui5 = require("radix-ui");
|
|
14321
14508
|
var import_react_i18next21 = require("react-i18next");
|
|
14322
|
-
var
|
|
14509
|
+
var import_jsx_runtime50 = require("react/jsx-runtime");
|
|
14323
14510
|
function FaqItem({ question, answer, order }) {
|
|
14324
14511
|
const [isOpen, setIsOpen] = (0, import_react33.useState)(false);
|
|
14325
|
-
return /* @__PURE__ */ (0,
|
|
14512
|
+
return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(
|
|
14326
14513
|
import_radix_ui5.Collapsible.Root,
|
|
14327
14514
|
{
|
|
14328
14515
|
className: "faq-item",
|
|
@@ -14330,9 +14517,9 @@ function FaqItem({ question, answer, order }) {
|
|
|
14330
14517
|
onOpenChange: setIsOpen,
|
|
14331
14518
|
style: { "--faq-order": order },
|
|
14332
14519
|
children: [
|
|
14333
|
-
/* @__PURE__ */ (0,
|
|
14334
|
-
/* @__PURE__ */ (0,
|
|
14335
|
-
/* @__PURE__ */ (0,
|
|
14520
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(import_radix_ui5.Collapsible.Trigger, { className: "faq-trigger", children: [
|
|
14521
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(ExactText, { cmsAs: "span", children: question }),
|
|
14522
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)("span", { className: "faq-trigger-icon", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
|
|
14336
14523
|
import_react34.MorphIcon,
|
|
14337
14524
|
{
|
|
14338
14525
|
icon: isOpen ? import_lucide4.Minus : import_lucide4.Plus,
|
|
@@ -14343,7 +14530,7 @@ function FaqItem({ question, answer, order }) {
|
|
|
14343
14530
|
}
|
|
14344
14531
|
) })
|
|
14345
14532
|
] }),
|
|
14346
|
-
/* @__PURE__ */ (0,
|
|
14533
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_radix_ui5.Collapsible.Content, { className: "faq-content", forceMount: true, children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: "faq-content-clip", children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: "faq-answer", children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(ExactText, { cmsAs: "p", children: answer }) }) }) })
|
|
14347
14534
|
]
|
|
14348
14535
|
}
|
|
14349
14536
|
);
|
|
@@ -14360,9 +14547,9 @@ function FaqSection2() {
|
|
|
14360
14547
|
faqs.slice(0, firstColumnLength),
|
|
14361
14548
|
faqs.slice(firstColumnLength)
|
|
14362
14549
|
];
|
|
14363
|
-
return /* @__PURE__ */ (0,
|
|
14364
|
-
/* @__PURE__ */ (0,
|
|
14365
|
-
/* @__PURE__ */ (0,
|
|
14550
|
+
return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("section", { className: "faq section", id: "faq", children: /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "container", children: [
|
|
14551
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Title_default, { title: t("landing.faq.title") }),
|
|
14552
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: "faq-grid", children: faqColumns.map((column, columnIndex) => /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: "faq-column", children: column.map((item, itemIndex) => /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
|
|
14366
14553
|
FaqItem,
|
|
14367
14554
|
{
|
|
14368
14555
|
...item,
|
|
@@ -14377,7 +14564,7 @@ function FaqSection2() {
|
|
|
14377
14564
|
var import_react_i18next23 = require("react-i18next");
|
|
14378
14565
|
|
|
14379
14566
|
// src/commodity-original/components/Background/index.tsx
|
|
14380
|
-
var
|
|
14567
|
+
var import_jsx_runtime51 = require("react/jsx-runtime");
|
|
14381
14568
|
var import_react35 = require("react");
|
|
14382
14569
|
var import_styled_components31 = require("styled-components");
|
|
14383
14570
|
var TWO_PI = Math.PI * 2;
|
|
@@ -14651,10 +14838,10 @@ var DotField = /* @__PURE__ */ (0, import_react35.memo)(({ dotRadius = 1.5, dotS
|
|
|
14651
14838
|
dotRadius,
|
|
14652
14839
|
dotSpacing
|
|
14653
14840
|
]);
|
|
14654
|
-
return /* @__PURE__ */ (0,
|
|
14841
|
+
return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(DotContainer, {
|
|
14655
14842
|
...rest,
|
|
14656
14843
|
children: [
|
|
14657
|
-
/* @__PURE__ */ (0,
|
|
14844
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)("canvas", {
|
|
14658
14845
|
ref: canvasRef,
|
|
14659
14846
|
style: {
|
|
14660
14847
|
position: "absolute",
|
|
@@ -14663,7 +14850,7 @@ var DotField = /* @__PURE__ */ (0, import_react35.memo)(({ dotRadius = 1.5, dotS
|
|
|
14663
14850
|
height: "100%"
|
|
14664
14851
|
}
|
|
14665
14852
|
}),
|
|
14666
|
-
/* @__PURE__ */ (0,
|
|
14853
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("svg", {
|
|
14667
14854
|
ref: svgRef,
|
|
14668
14855
|
style: {
|
|
14669
14856
|
position: "absolute",
|
|
@@ -14673,22 +14860,22 @@ var DotField = /* @__PURE__ */ (0, import_react35.memo)(({ dotRadius = 1.5, dotS
|
|
|
14673
14860
|
pointerEvents: "none"
|
|
14674
14861
|
},
|
|
14675
14862
|
children: [
|
|
14676
|
-
/* @__PURE__ */ (0,
|
|
14677
|
-
children: /* @__PURE__ */ (0,
|
|
14863
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)("defs", {
|
|
14864
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("radialGradient", {
|
|
14678
14865
|
id: glowId,
|
|
14679
14866
|
children: [
|
|
14680
|
-
/* @__PURE__ */ (0,
|
|
14867
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)("stop", {
|
|
14681
14868
|
offset: "0%",
|
|
14682
14869
|
stopColor: glowColor
|
|
14683
14870
|
}),
|
|
14684
|
-
/* @__PURE__ */ (0,
|
|
14871
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)("stop", {
|
|
14685
14872
|
offset: "100%",
|
|
14686
14873
|
stopColor: "transparent"
|
|
14687
14874
|
})
|
|
14688
14875
|
]
|
|
14689
14876
|
})
|
|
14690
14877
|
}),
|
|
14691
|
-
/* @__PURE__ */ (0,
|
|
14878
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)("circle", {
|
|
14692
14879
|
ref: glowRef,
|
|
14693
14880
|
cx: "-9999",
|
|
14694
14881
|
cy: "-9999",
|
|
@@ -14710,7 +14897,7 @@ var Background_default = DotField;
|
|
|
14710
14897
|
// src/commodity-original/components/LandingPage/HeroArt/index.tsx
|
|
14711
14898
|
var import_image13 = __toESM(require("next/image.js"));
|
|
14712
14899
|
var import_react_i18next22 = require("react-i18next");
|
|
14713
|
-
var
|
|
14900
|
+
var import_jsx_runtime52 = require("react/jsx-runtime");
|
|
14714
14901
|
var HeroArtBlock = () => {
|
|
14715
14902
|
const { t } = (0, import_react_i18next22.useTranslation)();
|
|
14716
14903
|
const mainPhone = useCmsImage("heroMainPhoneImage", "/landing-assets/key_mock_phone.webp");
|
|
@@ -14738,11 +14925,11 @@ var HeroArtBlock = () => {
|
|
|
14738
14925
|
"heroLabelTwoMobileImage",
|
|
14739
14926
|
"/landing-assets/key_mock_2_mobile.webp"
|
|
14740
14927
|
);
|
|
14741
|
-
return /* @__PURE__ */ (0,
|
|
14742
|
-
/* @__PURE__ */ (0,
|
|
14743
|
-
/* @__PURE__ */ (0,
|
|
14744
|
-
/* @__PURE__ */ (0,
|
|
14745
|
-
/* @__PURE__ */ (0,
|
|
14928
|
+
return /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(HeroArt, { "data-hero-art": true, "aria-label": t("landing.hero.artAlt"), children: [
|
|
14929
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(HeroImage, { className: "hero-art-desktop wikex-cms-image-host", children: [
|
|
14930
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("picture", { className: "hero-phone-picture", children: [
|
|
14931
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)("source", { media: "(max-width: 767px)", srcSet: mainPhoneMobile }),
|
|
14932
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
14746
14933
|
import_image13.default,
|
|
14747
14934
|
{
|
|
14748
14935
|
src: mainPhone,
|
|
@@ -14754,15 +14941,15 @@ var HeroArtBlock = () => {
|
|
|
14754
14941
|
}
|
|
14755
14942
|
)
|
|
14756
14943
|
] }),
|
|
14757
|
-
[1, 2].map((index) => /* @__PURE__ */ (0,
|
|
14758
|
-
/* @__PURE__ */ (0,
|
|
14944
|
+
[1, 2].map((index) => /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("picture", { children: [
|
|
14945
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
14759
14946
|
"source",
|
|
14760
14947
|
{
|
|
14761
14948
|
media: "(max-width: 767px)",
|
|
14762
14949
|
srcSet: index === 1 ? sidePhoneOneMobile : sidePhoneTwoMobile
|
|
14763
14950
|
}
|
|
14764
14951
|
),
|
|
14765
|
-
/* @__PURE__ */ (0,
|
|
14952
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
14766
14953
|
import_image13.default,
|
|
14767
14954
|
{
|
|
14768
14955
|
src: index === 1 ? sidePhoneOne : sidePhoneTwo,
|
|
@@ -14774,35 +14961,35 @@ var HeroArtBlock = () => {
|
|
|
14774
14961
|
}
|
|
14775
14962
|
)
|
|
14776
14963
|
] }, index)),
|
|
14777
|
-
/* @__PURE__ */ (0,
|
|
14964
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(CmsImageAction, { field: "heroMainPhoneImage" })
|
|
14778
14965
|
] }),
|
|
14779
|
-
/* @__PURE__ */ (0,
|
|
14780
|
-
/* @__PURE__ */ (0,
|
|
14781
|
-
/* @__PURE__ */ (0,
|
|
14782
|
-
/* @__PURE__ */ (0,
|
|
14966
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("span", { className: "label label-top", children: [
|
|
14967
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("picture", { children: [
|
|
14968
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)("source", { media: "(max-width: 767px)", srcSet: labelOneMobile }),
|
|
14969
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_image13.default, { src: labelOne, alt: t("landing.hero.desktopArtAlt"), width: 556, height: 149, loading: "eager", style: { width: "100%", height: "auto" } })
|
|
14783
14970
|
] }),
|
|
14784
|
-
/* @__PURE__ */ (0,
|
|
14971
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(ExactText, { cmsAs: "p", children: t("landing.hero.labels.smoothTrading") })
|
|
14785
14972
|
] }),
|
|
14786
|
-
/* @__PURE__ */ (0,
|
|
14787
|
-
/* @__PURE__ */ (0,
|
|
14788
|
-
/* @__PURE__ */ (0,
|
|
14789
|
-
/* @__PURE__ */ (0,
|
|
14973
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("span", { className: "label label-middle", children: [
|
|
14974
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("picture", { children: [
|
|
14975
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)("source", { media: "(max-width: 767px)", srcSet: labelTwoMobile }),
|
|
14976
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_image13.default, { src: labelTwo, alt: t("landing.hero.desktopArtAlt"), width: 556, height: 149, loading: "eager", style: { width: "100%", height: "auto" } })
|
|
14790
14977
|
] }),
|
|
14791
|
-
/* @__PURE__ */ (0,
|
|
14978
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(ExactText, { cmsAs: "p", children: t("landing.hero.labels.advancedTechnology") })
|
|
14792
14979
|
] }),
|
|
14793
|
-
/* @__PURE__ */ (0,
|
|
14794
|
-
/* @__PURE__ */ (0,
|
|
14795
|
-
/* @__PURE__ */ (0,
|
|
14796
|
-
/* @__PURE__ */ (0,
|
|
14980
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("span", { className: "label label-bottom", children: [
|
|
14981
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("picture", { children: [
|
|
14982
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)("source", { media: "(max-width: 767px)", srcSet: labelTwoMobile }),
|
|
14983
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_image13.default, { src: labelTwo, alt: t("landing.hero.desktopArtAlt"), width: 556, height: 149, loading: "eager", style: { width: "100%", height: "auto" } })
|
|
14797
14984
|
] }),
|
|
14798
|
-
/* @__PURE__ */ (0,
|
|
14985
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(ExactText, { cmsAs: "p", children: t("landing.hero.labels.riskControl") })
|
|
14799
14986
|
] })
|
|
14800
14987
|
] });
|
|
14801
14988
|
};
|
|
14802
14989
|
var HeroArt_default = HeroArtBlock;
|
|
14803
14990
|
|
|
14804
14991
|
// src/commodity-original/components/LandingPage/HeroSection.tsx
|
|
14805
|
-
var
|
|
14992
|
+
var import_jsx_runtime53 = require("react/jsx-runtime");
|
|
14806
14993
|
function HeroSection2() {
|
|
14807
14994
|
const { t } = (0, import_react_i18next23.useTranslation)();
|
|
14808
14995
|
const background = useCmsImage(
|
|
@@ -14817,8 +15004,8 @@ function HeroSection2() {
|
|
|
14817
15004
|
"--wikex-hero-background": `url("${background}")`,
|
|
14818
15005
|
"--wikex-hero-mobile-background": `url("${mobileBackground}")`
|
|
14819
15006
|
};
|
|
14820
|
-
return /* @__PURE__ */ (0,
|
|
14821
|
-
/* @__PURE__ */ (0,
|
|
15007
|
+
return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(Hero, { id: "keyvisual", className: "wikex-cms-image-host", style: heroStyle, children: [
|
|
15008
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
14822
15009
|
Background_default,
|
|
14823
15010
|
{
|
|
14824
15011
|
className: "hero-dot-field",
|
|
@@ -14836,11 +15023,11 @@ function HeroSection2() {
|
|
|
14836
15023
|
glowColor: "transparent"
|
|
14837
15024
|
}
|
|
14838
15025
|
),
|
|
14839
|
-
/* @__PURE__ */ (0,
|
|
14840
|
-
/* @__PURE__ */ (0,
|
|
14841
|
-
/* @__PURE__ */ (0,
|
|
14842
|
-
/* @__PURE__ */ (0,
|
|
14843
|
-
/* @__PURE__ */ (0,
|
|
15026
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(HeroInner, { children: [
|
|
15027
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(HeroCopy, { "data-hero-copy": true, children: [
|
|
15028
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(ExactText, { cmsAs: HeroTitle, children: t("landing.hero.title") }),
|
|
15029
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(ExactText, { cmsAs: "p", children: t("landing.hero.description") }),
|
|
15030
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
14844
15031
|
Button_default,
|
|
14845
15032
|
{
|
|
14846
15033
|
size: "sm",
|
|
@@ -14859,14 +15046,14 @@ function HeroSection2() {
|
|
|
14859
15046
|
children: t("landing.hero.cta")
|
|
14860
15047
|
}
|
|
14861
15048
|
),
|
|
14862
|
-
/* @__PURE__ */ (0,
|
|
15049
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(HeroMetrics, { children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("div", { className: "hero-metrics-track", children: [false, true].map((isDuplicate) => /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(
|
|
14863
15050
|
"div",
|
|
14864
15051
|
{
|
|
14865
15052
|
className: `hero-metrics-group${isDuplicate ? " hero-metrics-group--duplicate" : ""}`,
|
|
14866
15053
|
"aria-hidden": isDuplicate || void 0,
|
|
14867
15054
|
children: [
|
|
14868
|
-
/* @__PURE__ */ (0,
|
|
14869
|
-
/* @__PURE__ */ (0,
|
|
15055
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(HeroMetric, { children: [
|
|
15056
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(
|
|
14870
15057
|
"svg",
|
|
14871
15058
|
{
|
|
14872
15059
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -14875,21 +15062,21 @@ function HeroSection2() {
|
|
|
14875
15062
|
viewBox: "0 0 60 29",
|
|
14876
15063
|
fill: "none",
|
|
14877
15064
|
children: [
|
|
14878
|
-
/* @__PURE__ */ (0,
|
|
15065
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
14879
15066
|
"path",
|
|
14880
15067
|
{
|
|
14881
15068
|
d: "M55.1951 2.77154C55.0977 2.77154 55.0725 2.21901 55.1658 2.12585C55.198 2.09354 55.6537 2.06712 56.1784 2.06712H57.1322V2.41933C57.1322 2.81152 57.0428 2.87386 56.911 2.57343C56.8572 2.45094 56.7316 2.36465 56.5819 2.34748L56.3398 2.31957V3.32865C56.3398 4.16973 56.3164 4.34663 56.1998 4.39136C56.1227 4.42094 56.0237 4.42279 55.9796 4.39558C55.9355 4.36838 55.8995 3.8928 55.8995 3.33869C55.8995 2.40243 55.8875 2.33128 55.7296 2.33128C55.5529 2.33128 55.2831 2.54789 55.2831 2.68974C55.2831 2.73474 55.2435 2.77154 55.1951 2.77154Z",
|
|
14882
15069
|
fill: "#150958"
|
|
14883
15070
|
}
|
|
14884
15071
|
),
|
|
14885
|
-
/* @__PURE__ */ (0,
|
|
15072
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
14886
15073
|
"path",
|
|
14887
15074
|
{
|
|
14888
15075
|
d: "M57.2271 3.50485C57.3159 3.02892 57.3903 2.51073 57.3925 2.35329C57.3958 2.11009 57.4285 2.06712 57.6102 2.06712C57.8301 2.06712 57.8514 2.10675 58.283 3.32187C58.3475 3.50352 58.4221 3.65154 58.4487 3.65092C58.5107 3.64943 59.0694 2.323 59.0694 2.17719C59.0694 1.99774 59.5092 2.04141 59.5126 2.22121C59.5141 2.30592 59.57 2.81099 59.6368 3.34353C59.7594 4.32127 59.7397 4.43935 59.4531 4.44322C59.3315 4.44481 59.2782 4.23709 59.1967 3.44338L59.1346 2.83846L58.8153 3.61843C58.384 4.67172 58.2856 4.67348 57.9124 3.63481L57.618 2.81557L57.5151 3.5929C57.404 4.43177 57.3806 4.49112 57.1908 4.4183C57.084 4.37727 57.0894 4.24299 57.2271 3.50485Z",
|
|
14889
15076
|
fill: "#150958"
|
|
14890
15077
|
}
|
|
14891
15078
|
),
|
|
14892
|
-
/* @__PURE__ */ (0,
|
|
15079
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
14893
15080
|
"path",
|
|
14894
15081
|
{
|
|
14895
15082
|
fillRule: "evenodd",
|
|
@@ -14901,10 +15088,10 @@ function HeroSection2() {
|
|
|
14901
15088
|
]
|
|
14902
15089
|
}
|
|
14903
15090
|
),
|
|
14904
|
-
/* @__PURE__ */ (0,
|
|
15091
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(ExactText, { cmsAs: "strong", children: t("landing.hero.metrics.member") })
|
|
14905
15092
|
] }),
|
|
14906
|
-
/* @__PURE__ */ (0,
|
|
14907
|
-
/* @__PURE__ */ (0,
|
|
15093
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(HeroMetric, { children: [
|
|
15094
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(
|
|
14908
15095
|
"svg",
|
|
14909
15096
|
{
|
|
14910
15097
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -14913,7 +15100,7 @@ function HeroSection2() {
|
|
|
14913
15100
|
viewBox: "0 0 48 48",
|
|
14914
15101
|
fill: "none",
|
|
14915
15102
|
children: [
|
|
14916
|
-
/* @__PURE__ */ (0,
|
|
15103
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
14917
15104
|
"path",
|
|
14918
15105
|
{
|
|
14919
15106
|
d: "M40.9995 12.5L29.0463 28.3399L21.5248 22.9674L12.9995 32.5001",
|
|
@@ -14923,7 +15110,7 @@ function HeroSection2() {
|
|
|
14923
15110
|
strokeLinejoin: "round"
|
|
14924
15111
|
}
|
|
14925
15112
|
),
|
|
14926
|
-
/* @__PURE__ */ (0,
|
|
15113
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
14927
15114
|
"line",
|
|
14928
15115
|
{
|
|
14929
15116
|
x1: "4.4",
|
|
@@ -14935,7 +15122,7 @@ function HeroSection2() {
|
|
|
14935
15122
|
strokeLinecap: "round"
|
|
14936
15123
|
}
|
|
14937
15124
|
),
|
|
14938
|
-
/* @__PURE__ */ (0,
|
|
15125
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
14939
15126
|
"line",
|
|
14940
15127
|
{
|
|
14941
15128
|
x1: "4.4",
|
|
@@ -14950,10 +15137,10 @@ function HeroSection2() {
|
|
|
14950
15137
|
]
|
|
14951
15138
|
}
|
|
14952
15139
|
),
|
|
14953
|
-
/* @__PURE__ */ (0,
|
|
15140
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(ExactText, { cmsAs: "strong", children: t("landing.hero.metrics.realtime") })
|
|
14954
15141
|
] }),
|
|
14955
|
-
/* @__PURE__ */ (0,
|
|
14956
|
-
/* @__PURE__ */ (0,
|
|
15142
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(HeroMetric, { children: [
|
|
15143
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(
|
|
14957
15144
|
"svg",
|
|
14958
15145
|
{
|
|
14959
15146
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -14962,14 +15149,14 @@ function HeroSection2() {
|
|
|
14962
15149
|
viewBox: "0 0 48 48",
|
|
14963
15150
|
fill: "none",
|
|
14964
15151
|
children: [
|
|
14965
|
-
/* @__PURE__ */ (0,
|
|
15152
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
14966
15153
|
"path",
|
|
14967
15154
|
{
|
|
14968
15155
|
d: "M24.0801 3.33984C26.6224 3.33993 29.9834 4.22275 32.7236 6.45703C35.3768 8.62049 37.404 12.0181 37.5703 16.9736C39.2344 17.325 40.9537 18.3559 41.8281 19.6602C43.7806 22.1275 44.1485 24.7303 43.8398 26.9268C43.535 29.0954 42.5714 30.8804 41.8232 31.8086L41.8008 31.8369L41.7754 31.8623C40.3818 33.3027 38.8874 34.0358 37.5127 34.2471C37.3138 35.307 36.6732 36.5434 35.3662 37.5479C33.8506 38.7125 31.4918 39.5291 27.9775 39.4971C27.8899 39.9691 27.7256 40.3821 27.4883 40.7354C27.1252 41.2754 26.6345 41.6224 26.1416 41.8428C25.1888 42.2683 24.1307 42.2598 23.6826 42.2598C22.7738 42.2598 22.0237 42.2095 21.4131 42.0898C20.8033 41.9703 20.2786 41.7716 19.8662 41.4365C18.9985 40.7313 18.9168 39.6663 18.917 38.6855C18.9172 37.8134 19.0545 37.0868 19.3438 36.498C19.6402 35.8948 20.0763 35.4774 20.5908 35.2041C21.5492 34.6954 22.7656 34.7139 23.6826 34.7139C25.2371 34.7139 26.33 35.0233 27.0361 35.8291C27.5418 36.4063 27.7611 37.1631 27.915 37.9072C31.229 37.9501 33.232 37.1843 34.3984 36.2881C35.2581 35.6273 35.6922 34.8756 35.8779 34.2529C34.2506 33.9953 32.8168 32.8769 32.8164 31.3105V20.1143L32.8203 20.0762C32.9394 18.845 33.4676 17.9328 34.3135 17.3916C34.8177 17.0691 35.3912 16.9065 35.9766 16.8574C35.7861 12.4473 33.9818 9.53306 31.7197 7.68848C29.2973 5.71334 26.3034 4.92782 24.0801 4.92773C18.5788 4.9278 15.3521 7.18572 13.5176 9.8916C11.9613 12.1872 11.3783 14.8523 11.334 16.8525C11.9488 16.8926 12.5534 17.0535 13.082 17.3916C13.928 17.9327 14.4561 18.845 14.5752 20.0762L14.5791 20.1143V31.3105C14.5787 32.8993 13.1041 34.0294 11.4482 34.2656C9.70884 34.5135 7.56637 33.874 5.62012 31.8623L5.59473 31.8369L5.57227 31.8086C4.82411 30.8804 3.8605 29.0954 3.55566 26.9268C3.24701 24.7303 3.61491 22.1275 5.56738 19.6602C6.42764 18.377 8.1055 17.3575 9.74414 16.9902C9.76446 14.6993 10.4093 11.646 12.2031 9C14.3401 5.84806 18.0644 3.33991 24.0801 3.33984ZM23.6826 36.3027C22.6438 36.3027 21.8739 36.3219 21.3359 36.6074C21.1028 36.7313 20.9119 36.9095 20.7695 37.1992C20.62 37.5039 20.505 37.97 20.5049 38.6855C20.5047 39.69 20.6366 40.0159 20.8682 40.2041C21.0055 40.3156 21.2523 40.4398 21.7188 40.5312C22.185 40.6226 22.8192 40.6709 23.6826 40.6709C24.1611 40.6709 24.8909 40.6615 25.4932 40.3926C25.7774 40.2656 26.0068 40.0906 26.1689 39.8496C26.3229 39.6206 26.4496 39.2792 26.46 38.7539C26.2717 37.7469 26.14 37.2166 25.8418 36.876C25.5909 36.5897 25.0803 36.3028 23.6826 36.3027ZM12.2266 18.7295C11.8295 18.4756 11.2491 18.3726 10.5361 18.4619C9.07861 18.6446 7.50917 19.5741 6.8584 20.583L6.83691 20.6152L6.81348 20.6455C5.16927 22.7231 4.87146 24.8725 5.12891 26.7051C5.38704 28.5417 6.20433 30.0479 6.78711 30.7832C8.42931 32.4674 10.0724 32.8567 11.2246 32.6924C12.4651 32.5153 12.9898 31.7868 12.9902 31.3105V20.2012C12.9051 19.385 12.5877 18.9606 12.2266 18.7295ZM36.8594 18.4619C36.1465 18.3727 35.566 18.4756 35.1689 18.7295C34.8079 18.9606 34.4904 19.3851 34.4053 20.2012V31.3105C34.4057 31.7868 34.9305 32.5152 36.1709 32.6924C37.323 32.8567 38.9662 32.4673 40.6084 30.7832C41.1912 30.0479 42.0085 28.5417 42.2666 26.7051C42.524 24.8725 42.2262 22.7231 40.582 20.6455L40.5586 20.6152L40.5371 20.583C39.8863 19.5741 38.3169 18.6446 36.8594 18.4619Z",
|
|
14969
15156
|
fill: "black"
|
|
14970
15157
|
}
|
|
14971
15158
|
),
|
|
14972
|
-
/* @__PURE__ */ (0,
|
|
15159
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
14973
15160
|
"path",
|
|
14974
15161
|
{
|
|
14975
15162
|
d: "M24.0801 3.33984L24.0801 2.83984H24.0801L24.0801 3.33984ZM32.7236 6.45703L33.0396 6.06953L33.0396 6.06952L32.7236 6.45703ZM37.5703 16.9736L37.0706 16.9904L37.0837 17.3819L37.467 17.4628L37.5703 16.9736ZM41.8281 19.6602L41.4128 19.9386L41.4238 19.955L41.436 19.9704L41.8281 19.6602ZM43.8398 26.9268L44.335 26.9964L44.335 26.9963L43.8398 26.9268ZM41.8232 31.8086L41.4339 31.4948L41.4315 31.4979L41.8232 31.8086ZM41.8008 31.8369L42.1543 32.1905L42.1747 32.1701L42.1925 32.1476L41.8008 31.8369ZM41.7754 31.8623L41.4218 31.5087L41.416 31.5146L41.7754 31.8623ZM37.5127 34.2471L37.4367 33.7529L37.0866 33.8067L37.0213 34.1549L37.5127 34.2471ZM35.3662 37.5479L35.6709 37.9443L35.6709 37.9443L35.3662 37.5479ZM27.9775 39.4971L27.9821 38.9971L27.5625 38.9933L27.4859 39.4058L27.9775 39.4971ZM27.4883 40.7354L27.9032 41.0143L27.9033 41.0142L27.4883 40.7354ZM26.1416 41.8428L26.3455 42.2993L26.3456 42.2992L26.1416 41.8428ZM23.6826 42.2598L23.6826 42.7598H23.6826L23.6826 42.2598ZM21.4131 42.0898L21.3169 42.5805L21.317 42.5805L21.4131 42.0898ZM19.8662 41.4365L19.5509 41.8245L19.5509 41.8246L19.8662 41.4365ZM18.917 38.6855L18.417 38.6854V38.6855L18.917 38.6855ZM19.3438 36.498L18.895 36.2775L18.895 36.2776L19.3438 36.498ZM20.5908 35.2041L20.3564 34.7625L20.3563 34.7625L20.5908 35.2041ZM23.6826 34.7139L23.6826 34.2139H23.6826L23.6826 34.7139ZM27.0361 35.8291L27.4122 35.4996L27.4122 35.4996L27.0361 35.8291ZM27.915 37.9072L27.4254 38.0085L27.5068 38.402L27.9086 38.4072L27.915 37.9072ZM34.3984 36.2881L34.7031 36.6846L34.7031 36.6845L34.3984 36.2881ZM35.8779 34.2529L36.3571 34.3958L36.5204 33.8484L35.9561 33.7591L35.8779 34.2529ZM32.8164 31.3105H32.3164V31.3107L32.8164 31.3105ZM32.8164 20.1143L32.319 20.0632L32.3164 20.0887V20.1143H32.8164ZM32.8203 20.0762L33.3177 20.1272L33.318 20.1243L32.8203 20.0762ZM34.3135 17.3916L34.0441 16.9704L34.044 16.9704L34.3135 17.3916ZM35.9766 16.8574L36.0183 17.3557L36.4968 17.3156L36.4761 16.8358L35.9766 16.8574ZM31.7197 7.68848L32.0357 7.30098L32.0357 7.30096L31.7197 7.68848ZM24.0801 4.92773L24.0801 4.42773H24.0801L24.0801 4.92773ZM13.5176 9.8916L13.1037 9.61102L13.1037 9.61104L13.5176 9.8916ZM11.334 16.8525L10.8341 16.8415L10.8235 17.3203L11.3015 17.3515L11.334 16.8525ZM13.082 17.3916L13.3515 16.9704L13.3514 16.9704L13.082 17.3916ZM14.5752 20.0762L14.0775 20.1243L14.0778 20.1272L14.5752 20.0762ZM14.5791 20.1143H15.0791V20.0887L15.0765 20.0632L14.5791 20.1143ZM14.5791 31.3105L15.0791 31.3107V31.3105H14.5791ZM11.4482 34.2656L11.5188 34.7606L11.5189 34.7606L11.4482 34.2656ZM5.62012 31.8623L5.97951 31.5146L5.97367 31.5088L5.62012 31.8623ZM5.59473 31.8369L5.20298 32.1476L5.22084 32.1701L5.24117 32.1905L5.59473 31.8369ZM5.57227 31.8086L5.96403 31.4979L5.96156 31.4948L5.57227 31.8086ZM3.55566 26.9268L3.06053 26.9963L3.06053 26.9964L3.55566 26.9268ZM5.56738 19.6602L5.95947 19.9704L5.97171 19.955L5.98268 19.9386L5.56738 19.6602ZM9.74414 16.9902L9.8535 17.4781L10.2406 17.3914L10.2441 16.9947L9.74414 16.9902ZM12.2031 9L11.7893 8.71942L11.7893 8.71943L12.2031 9ZM23.6826 36.3027L23.6826 35.8027H23.6826L23.6826 36.3027ZM21.3359 36.6074L21.1015 36.1658L21.1014 36.1659L21.3359 36.6074ZM20.7695 37.1992L20.3208 36.9787L20.3207 36.9789L20.7695 37.1992ZM20.5049 38.6855L20.0049 38.6854V38.6855L20.5049 38.6855ZM20.8682 40.2041L20.5528 40.5921L20.553 40.5923L20.8682 40.2041ZM21.7188 40.5312L21.6226 41.0219L21.6226 41.0219L21.7188 40.5312ZM23.6826 40.6709L23.6826 41.1709H23.6826L23.6826 40.6709ZM25.4932 40.3926L25.697 40.8491L25.6972 40.8491L25.4932 40.3926ZM26.1689 39.8496L26.5838 40.1287L26.584 40.1285L26.1689 39.8496ZM26.46 38.7539L26.9599 38.7637L26.9609 38.7125L26.9514 38.662L26.46 38.7539ZM25.8418 36.876L26.218 36.5466L26.2178 36.5464L25.8418 36.876ZM12.2266 18.7295L12.4961 18.3083L12.4959 18.3083L12.2266 18.7295ZM10.5361 18.4619L10.474 17.9658L10.474 17.9658L10.5361 18.4619ZM6.8584 20.583L7.27447 20.8604L7.27858 20.854L6.8584 20.583ZM6.83691 20.6152L7.23228 20.9213L7.24312 20.9073L7.25294 20.8926L6.83691 20.6152ZM6.81348 20.6455L7.20557 20.9558L7.20884 20.9516L6.81348 20.6455ZM5.12891 26.7051L4.63377 26.7746L4.63377 26.7747L5.12891 26.7051ZM6.78711 30.7832L6.39525 31.0938L6.4112 31.1139L6.42912 31.1323L6.78711 30.7832ZM11.2246 32.6924L11.2952 33.1874L11.2953 33.1874L11.2246 32.6924ZM12.9902 31.3105L13.4902 31.311V31.3105H12.9902ZM12.9902 20.2012H13.4902V20.1752L13.4875 20.1493L12.9902 20.2012ZM36.8594 18.4619L36.9216 17.9658L36.9215 17.9658L36.8594 18.4619ZM35.1689 18.7295L34.8996 18.3083L34.8994 18.3084L35.1689 18.7295ZM34.4053 20.2012L33.908 20.1493L33.9053 20.1752V20.2012H34.4053ZM34.4053 31.3105H33.9053V31.311L34.4053 31.3105ZM36.1709 32.6924L36.1002 33.1874L36.1003 33.1874L36.1709 32.6924ZM40.6084 30.7832L40.9664 31.1323L40.9843 31.1139L41.0003 31.0938L40.6084 30.7832ZM42.2666 26.7051L42.7617 26.7747L42.7617 26.7746L42.2666 26.7051ZM40.582 20.6455L40.1866 20.9516L40.19 20.9558L40.582 20.6455ZM40.5586 20.6152L40.1426 20.8926L40.1524 20.9073L40.1632 20.9213L40.5586 20.6152ZM40.5371 20.583L40.1169 20.8541L40.1211 20.8604L40.5371 20.583ZM24.0801 3.33984L24.0801 3.83984C26.5221 3.83993 29.7675 4.69187 32.4077 6.84454L32.7236 6.45703L33.0396 6.06952C30.1993 3.75362 26.7227 2.83994 24.0801 2.83984L24.0801 3.33984ZM32.7236 6.45703L32.4077 6.84453C34.9482 8.91615 36.9091 12.1782 37.0706 16.9904L37.5703 16.9736L38.07 16.9569C37.8989 11.8579 35.8054 8.32483 33.0396 6.06953L32.7236 6.45703ZM37.5703 16.9736L37.467 17.4628C39.0314 17.7931 40.6254 18.7641 41.4128 19.9386L41.8281 19.6602L42.2434 19.3817C41.282 17.9477 39.4374 16.8568 37.6736 16.4844L37.5703 16.9736ZM41.8281 19.6602L41.436 19.9704C43.2914 22.315 43.6373 24.7751 43.3447 26.8572L43.8398 26.9268L44.335 26.9963C44.6597 24.6856 44.2698 21.94 42.2202 19.3499L41.8281 19.6602ZM43.8398 26.9268L43.3447 26.8572C43.0535 28.9287 42.1304 30.6307 41.4339 31.4948L41.8232 31.8086L42.2125 32.1224C43.0124 31.13 44.0165 29.262 44.335 26.9964L43.8398 26.9268ZM41.8232 31.8086L41.4315 31.4979L41.409 31.5262L41.8008 31.8369L42.1925 32.1476L42.215 32.1193L41.8232 31.8086ZM41.8008 31.8369L41.4472 31.4834L41.4218 31.5088L41.7754 31.8623L42.1289 32.2159L42.1543 32.1905L41.8008 31.8369ZM41.7754 31.8623L41.416 31.5146C40.0888 32.8865 38.6906 33.5602 37.4367 33.7529L37.5127 34.2471L37.5887 34.7413C39.0842 34.5114 40.6749 33.7189 42.1347 32.21L41.7754 31.8623ZM37.5127 34.2471L37.0213 34.1549C36.8451 35.0936 36.2711 36.2218 35.0615 37.1514L35.3662 37.5479L35.6709 37.9443C37.0752 36.865 37.7825 35.5204 38.0041 34.3393L37.5127 34.2471ZM35.3662 37.5479L35.0616 37.1514C33.6588 38.2293 31.4197 39.0284 27.9821 38.9971L27.9775 39.4971L27.973 39.9971C31.564 40.0298 34.0424 39.1957 35.6709 37.9443L35.3662 37.5479ZM27.9775 39.4971L27.4859 39.4058C27.4094 39.8181 27.2685 40.1658 27.0732 40.4565L27.4883 40.7354L27.9033 41.0142C28.1826 40.5984 28.3704 40.1202 28.4691 39.5883L27.9775 39.4971ZM27.4883 40.7354L27.0733 40.4564C26.7736 40.9023 26.365 41.1953 25.9376 41.3863L26.1416 41.8428L26.3456 42.2992C26.9041 42.0496 27.4769 41.6485 27.9032 41.0143L27.4883 40.7354ZM26.1416 41.8428L25.9377 41.3862C25.0947 41.7627 24.139 41.7598 23.6826 41.7598L23.6826 42.2598L23.6826 42.7598C24.1225 42.7598 25.2829 42.7739 26.3455 42.2993L26.1416 41.8428ZM23.6826 42.2598L23.6826 41.7598C22.7881 41.7598 22.0744 41.7099 21.5092 41.5992L21.4131 42.0898L21.317 42.5805C21.9731 42.709 22.7595 42.7598 23.6826 42.7598L23.6826 42.2598ZM21.4131 42.0898L21.5093 41.5992C20.9446 41.4885 20.5073 41.3132 20.1815 41.0485L19.8662 41.4365L19.5509 41.8246C20.0498 42.23 20.6621 42.4522 21.3169 42.5805L21.4131 42.0898ZM19.8662 41.4365L20.1816 41.0485C19.5139 40.5059 19.4168 39.6733 19.417 38.6856L18.917 38.6855L18.417 38.6855C18.4168 39.6593 18.4831 40.9568 19.5509 41.8245L19.8662 41.4365ZM18.917 38.6855L19.417 38.6856C19.4172 37.8624 19.5473 37.2177 19.7925 36.7185L19.3438 36.498L18.895 36.2776C18.5618 36.956 18.4172 37.7643 18.417 38.6854L18.917 38.6855ZM19.3438 36.498L19.7925 36.7186C20.0403 36.2143 20.3991 35.8721 20.8253 35.6457L20.5908 35.2041L20.3563 34.7625C19.7535 35.0826 19.2401 35.5753 18.895 36.2775L19.3438 36.498ZM20.5908 35.2041L20.8252 35.6458C21.6519 35.207 22.7298 35.2139 23.6826 35.2139L23.6826 34.7139L23.6826 34.2139C22.8013 34.2139 21.4464 34.1839 20.3564 34.7625L20.5908 35.2041ZM23.6826 34.7139L23.6826 35.2139C25.1882 35.2139 26.0974 35.5165 26.6601 36.1586L27.0361 35.8291L27.4122 35.4996C26.5626 34.53 25.286 34.2139 23.6826 34.2139L23.6826 34.7139ZM27.0361 35.8291L26.66 36.1586C27.0743 36.6315 27.2739 37.276 27.4254 38.0085L27.915 37.9072L28.4047 37.806C28.2484 37.0502 28.0093 36.1812 27.4122 35.4996L27.0361 35.8291ZM27.915 37.9072L27.9086 38.4072C31.2994 38.4511 33.4229 37.6682 34.7031 36.6846L34.3984 36.2881L34.0938 35.8916C33.0411 36.7005 31.1586 37.4492 27.9215 37.4073L27.915 37.9072ZM34.3984 36.2881L34.7031 36.6845C35.6467 35.9592 36.1415 35.1186 36.3571 34.3958L35.8779 34.2529L35.3988 34.11C35.2429 34.6326 34.8695 35.2953 34.0937 35.8917L34.3984 36.2881ZM35.8779 34.2529L35.9561 33.7591C34.4518 33.5209 33.3167 32.5265 33.3164 31.3104L32.8164 31.3105L32.3164 31.3107C32.3169 33.2273 34.0495 34.4697 35.7997 34.7468L35.8779 34.2529ZM32.8164 31.3105H33.3164V20.1143H32.8164H32.3164V31.3105H32.8164ZM32.8164 20.1143L33.3138 20.1653L33.3177 20.1272L32.8203 20.0762L32.3229 20.0252L32.319 20.0632L32.8164 20.1143ZM32.8203 20.0762L33.318 20.1243C33.425 19.0176 33.8886 18.257 34.5829 17.8128L34.3135 17.3916L34.044 16.9704C33.0466 17.6085 32.4538 18.6725 32.3226 20.028L32.8203 20.0762ZM34.3135 17.3916L34.5828 17.8128C35.0053 17.5427 35.4965 17.3994 36.0183 17.3557L35.9766 16.8574L35.9348 16.3592C35.2858 16.4136 34.6302 16.5956 34.0441 16.9704L34.3135 17.3916ZM35.9766 16.8574L36.4761 16.8358C36.2795 12.2832 34.4084 9.23575 32.0357 7.30098L31.7197 7.68848L31.4037 8.07597C33.5552 9.83037 35.2927 12.6115 35.477 16.879L35.9766 16.8574ZM31.7197 7.68848L32.0357 7.30096C29.5133 5.24433 26.4039 4.42783 24.0801 4.42773L24.0801 4.92773L24.0801 5.42773C26.203 5.42782 29.0813 6.18236 31.4038 8.07599L31.7197 7.68848ZM24.0801 4.92773L24.0801 4.42773C18.4168 4.4278 15.0334 6.76477 13.1037 9.61102L13.5176 9.8916L13.9314 10.1722C15.6708 7.60668 18.7407 5.42779 24.0801 5.42773L24.0801 4.92773ZM13.5176 9.8916L13.1037 9.61104C11.4827 12.0022 10.8801 14.7662 10.8341 16.8415L11.334 16.8525L11.8339 16.8636C11.8765 14.9384 12.44 12.3722 13.9314 10.1722L13.5176 9.8916ZM11.334 16.8525L11.3015 17.3515C11.8522 17.3874 12.3704 17.53 12.8127 17.8128L13.082 17.3916L13.3514 16.9704C12.7364 16.5771 12.0454 16.3979 11.3665 16.3536L11.334 16.8525ZM13.082 17.3916L12.8126 17.8128C13.507 18.257 13.9705 19.0175 14.0775 20.1243L14.5752 20.0762L15.0729 20.028C14.9418 18.6724 14.349 17.6085 13.3515 16.9704L13.082 17.3916ZM14.5752 20.0762L14.0778 20.1272L14.0817 20.1653L14.5791 20.1143L15.0765 20.0632L15.0726 20.0252L14.5752 20.0762ZM14.5791 20.1143H14.0791V31.3105H14.5791H15.0791V20.1143H14.5791ZM14.5791 31.3105L14.0791 31.3104C14.0788 32.5441 12.9095 33.5521 11.3776 33.7706L11.4482 34.2656L11.5189 34.7606C13.2988 34.5067 15.0787 33.2544 15.0791 31.3107L14.5791 31.3105ZM11.4482 34.2656L11.3777 33.7706C9.82162 33.9924 7.83287 33.4303 5.97947 31.5146L5.62012 31.8623L5.26077 32.21C7.29987 34.3176 9.59606 35.0347 11.5188 34.7606L11.4482 34.2656ZM5.62012 31.8623L5.97367 31.5088L5.94828 31.4834L5.59473 31.8369L5.24117 32.1905L5.26656 32.2159L5.62012 31.8623ZM5.59473 31.8369L5.98648 31.5262L5.96401 31.4979L5.57227 31.8086L5.18052 32.1193L5.20298 32.1476L5.59473 31.8369ZM5.57227 31.8086L5.96156 31.4948C5.26506 30.6307 4.34199 28.9287 4.0508 26.8572L3.55566 26.9268L3.06053 26.9964C3.37902 29.262 4.38316 31.13 5.18297 32.1224L5.57227 31.8086ZM3.55566 26.9268L4.0508 26.8572C3.75822 24.7751 4.10415 22.315 5.95947 19.9704L5.56738 19.6602L5.17529 19.3499C3.12567 21.94 2.73581 24.6856 3.06053 26.9963L3.55566 26.9268ZM5.56738 19.6602L5.98268 19.9386C6.7571 18.7835 8.31201 17.8237 9.8535 17.4781L9.74414 16.9902L9.63478 16.5023C7.89899 16.8914 6.09818 17.9705 5.15208 19.3817L5.56738 19.6602ZM9.74414 16.9902L10.2441 16.9947C10.2638 14.7816 10.889 11.8294 12.617 9.28057L12.2031 9L11.7893 8.71943C9.9296 11.4625 9.26517 14.617 9.24416 16.9858L9.74414 16.9902ZM12.2031 9L12.617 9.28058C14.6587 6.26909 18.2263 3.83991 24.0801 3.83984L24.0801 3.33984L24.0801 2.83984C17.9025 2.83991 14.0215 5.42702 11.7893 8.71942L12.2031 9ZM23.6826 36.3027L23.6826 35.8027C23.1659 35.8027 22.6889 35.8071 22.2698 35.8507C21.8506 35.8942 21.4514 35.9801 21.1015 36.1658L21.3359 36.6074L21.5703 37.0491C21.7585 36.9492 22.0133 36.8827 22.3732 36.8453C22.7333 36.8079 23.1606 36.8027 23.6826 36.8027L23.6826 36.3027ZM21.3359 36.6074L21.1014 36.1659C20.78 36.3366 20.5118 36.59 20.3208 36.9787L20.7695 37.1992L21.2183 37.4197C21.312 37.229 21.4255 37.126 21.5705 37.049L21.3359 36.6074ZM20.7695 37.1992L20.3207 36.9789C20.1274 37.3727 20.005 37.9202 20.0049 38.6854L20.5049 38.6855L21.0049 38.6856C21.005 38.0197 21.1125 37.6352 21.2184 37.4195L20.7695 37.1992ZM20.5049 38.6855L20.0049 38.6855C20.0047 39.6814 20.1206 40.2409 20.5528 40.5921L20.8682 40.2041L21.1835 39.8161C21.1525 39.7909 21.0047 39.6985 21.0049 38.6856L20.5049 38.6855ZM20.8682 40.2041L20.553 40.5923C20.7767 40.7739 21.1109 40.9216 21.6226 41.0219L21.7188 40.5312L21.8149 40.0406C21.3937 39.958 21.2342 39.8572 21.1833 39.8159L20.8682 40.2041ZM21.7188 40.5312L21.6226 41.0219C22.1347 41.1222 22.8054 41.1709 23.6826 41.1709L23.6826 40.6709L23.6826 40.1709C22.8329 40.1709 22.2354 40.123 21.8149 40.0406L21.7188 40.5312ZM23.6826 40.6709L23.6826 41.1709C24.1501 41.1709 24.984 41.1676 25.697 40.8491L25.4932 40.3926L25.2893 39.936C24.7978 40.1555 24.1721 40.1709 23.6826 40.1709L23.6826 40.6709ZM25.4932 40.3926L25.6972 40.8491C26.0477 40.6924 26.3587 40.4632 26.5838 40.1287L26.1689 39.8496L25.7541 39.5705C25.6549 39.718 25.5071 39.8387 25.2892 39.9361L25.4932 40.3926ZM26.1689 39.8496L26.584 40.1285C26.7999 39.8071 26.948 39.3686 26.9599 38.7637L26.46 38.7539L25.9601 38.7441C25.9513 39.1898 25.8458 39.434 25.7539 39.5707L26.1689 39.8496ZM26.46 38.7539L26.9514 38.662C26.8576 38.1599 26.773 37.7489 26.6695 37.4164C26.5646 37.0795 26.4304 36.7892 26.218 36.5466L25.8418 36.876L25.4656 37.2053C25.5514 37.3033 25.6321 37.4485 25.7147 37.7137C25.7987 37.9833 25.8741 38.3409 25.9685 38.8458L26.46 38.7539ZM25.8418 36.876L26.2178 36.5464C25.8241 36.0971 25.1307 35.8028 23.6826 35.8027L23.6826 36.3027L23.6826 36.8027C25.0299 36.8028 25.3577 37.0823 25.4658 37.2055L25.8418 36.876ZM12.2266 18.7295L12.4959 18.3083C11.9675 17.9703 11.2568 17.8678 10.474 17.9658L10.5361 18.4619L10.5983 18.958C11.2414 18.8775 11.6916 18.9809 11.9572 19.1507L12.2266 18.7295ZM10.5361 18.4619L10.474 17.9658C9.66847 18.0667 8.84801 18.3707 8.14343 18.7804C7.44272 19.1877 6.81898 19.7217 6.43822 20.312L6.8584 20.583L7.27858 20.854C7.54859 20.4354 8.03496 20.0001 8.64604 19.6449C9.25325 19.2918 9.94627 19.0398 10.5983 18.958L10.5361 18.4619ZM6.8584 20.583L6.44237 20.3057L6.42089 20.3379L6.83691 20.6152L7.25294 20.8926L7.27442 20.8604L6.8584 20.583ZM6.83691 20.6152L6.44155 20.3091L6.41811 20.3394L6.81348 20.6455L7.20884 20.9516L7.23228 20.9213L6.83691 20.6152ZM6.81348 20.6455L6.4214 20.3352C4.68017 22.5354 4.36022 24.8275 4.63377 26.7746L5.12891 26.7051L5.62404 26.6355C5.3827 24.9176 5.65837 22.9108 7.20555 20.9558L6.81348 20.6455ZM5.12891 26.7051L4.63377 26.7747C4.90545 28.7076 5.76265 30.2956 6.39525 31.0938L6.78711 30.7832L7.17897 30.4726C6.64601 29.8002 5.86863 28.3757 5.62404 26.6355L5.12891 26.7051ZM6.78711 30.7832L6.42912 31.1323C8.16482 32.9124 9.96131 33.3776 11.2952 33.1874L11.2246 32.6924L11.154 32.1974C10.1836 32.3358 8.69381 32.0225 7.1451 30.4341L6.78711 30.7832ZM11.2246 32.6924L11.2953 33.1874C12.6787 32.9898 13.4895 32.1277 13.4902 31.311L12.9902 31.3105L12.4902 31.3101C12.4901 31.446 12.2515 32.0407 11.1539 32.1974L11.2246 32.6924ZM12.9902 31.3105H13.4902V20.2012H12.9902H12.4902V31.3105H12.9902ZM12.9902 20.2012L13.4875 20.1493C13.3894 19.2082 13.0061 18.6347 12.4961 18.3083L12.2266 18.7295L11.9571 19.1506C12.1692 19.2864 12.4208 19.5619 12.4929 20.2531L12.9902 20.2012ZM36.8594 18.4619L36.9215 17.9658C36.1388 17.8678 35.428 17.9703 34.8996 18.3083L35.1689 18.7295L35.4383 19.1507C35.7039 18.9809 36.1542 18.8775 36.7973 18.958L36.8594 18.4619ZM35.1689 18.7295L34.8994 18.3084C34.3895 18.6347 34.0062 19.2082 33.908 20.1493L34.4053 20.2012L34.9026 20.2531C34.9747 19.562 35.2263 19.2864 35.4385 19.1506L35.1689 18.7295ZM34.4053 20.2012H33.9053V31.3105H34.4053H34.9053V20.2012H34.4053ZM34.4053 31.3105L33.9053 31.311C33.906 32.1277 34.717 32.9898 36.1002 33.1874L36.1709 32.6924L36.2416 32.1974C35.144 32.0406 34.9054 31.4459 34.9053 31.3101L34.4053 31.3105ZM36.1709 32.6924L36.1003 33.1874C37.4342 33.3776 39.2307 32.9123 40.9664 31.1323L40.6084 30.7832L40.2504 30.4341C38.7017 32.0224 37.2119 32.3358 36.2415 32.1974L36.1709 32.6924ZM40.6084 30.7832L41.0003 31.0938C41.6329 30.2956 42.4901 28.7076 42.7617 26.7747L42.2666 26.7051L41.7715 26.6355C41.5269 28.3757 40.7495 29.8002 40.2165 30.4726L40.6084 30.7832ZM42.2666 26.7051L42.7617 26.7746C43.0353 24.8275 42.7153 22.5354 40.9741 20.3352L40.582 20.6455L40.19 20.9558C41.7371 22.9108 42.0128 24.9176 41.7715 26.6355L42.2666 26.7051ZM40.582 20.6455L40.9774 20.3394L40.954 20.3091L40.5586 20.6152L40.1632 20.9213L40.1867 20.9516L40.582 20.6455ZM40.5586 20.6152L40.9746 20.3379L40.9531 20.3057L40.5371 20.583L40.1211 20.8604L40.1426 20.8926L40.5586 20.6152ZM40.5371 20.583L40.9573 20.312C40.5765 19.7217 39.9528 19.1877 39.2521 18.7804C38.5475 18.3707 37.727 18.0667 36.9216 17.9658L36.8594 18.4619L36.7972 18.958C37.4492 19.0398 38.1422 19.2919 38.7494 19.6449C39.3605 20.0002 39.8469 20.4354 40.1169 20.854L40.5371 20.583Z",
|
|
@@ -14979,21 +15166,21 @@ function HeroSection2() {
|
|
|
14979
15166
|
]
|
|
14980
15167
|
}
|
|
14981
15168
|
),
|
|
14982
|
-
/* @__PURE__ */ (0,
|
|
15169
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(ExactText, { cmsAs: "strong", children: t("landing.hero.metrics.experts") })
|
|
14983
15170
|
] })
|
|
14984
15171
|
]
|
|
14985
15172
|
},
|
|
14986
15173
|
isDuplicate ? "duplicate" : "primary"
|
|
14987
15174
|
)) }) })
|
|
14988
15175
|
] }),
|
|
14989
|
-
/* @__PURE__ */ (0,
|
|
15176
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(HeroArt_default, {})
|
|
14990
15177
|
] }),
|
|
14991
|
-
/* @__PURE__ */ (0,
|
|
15178
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(CmsImageAction, { field: "heroBackgroundImage" })
|
|
14992
15179
|
] });
|
|
14993
15180
|
}
|
|
14994
15181
|
|
|
14995
15182
|
// src/commodity-original/components/LandingPage/FloatingActions.tsx
|
|
14996
|
-
var
|
|
15183
|
+
var import_jsx_runtime54 = require("react/jsx-runtime");
|
|
14997
15184
|
var import_image14 = __toESM(require("next/image.js"));
|
|
14998
15185
|
var import_react_i18next24 = require("react-i18next");
|
|
14999
15186
|
var import_styled_components32 = __toESM(require("styled-components"));
|
|
@@ -15031,19 +15218,19 @@ var actions = [
|
|
|
15031
15218
|
];
|
|
15032
15219
|
function FloatingActions() {
|
|
15033
15220
|
const { t } = (0, import_react_i18next24.useTranslation)();
|
|
15034
|
-
return /* @__PURE__ */ (0,
|
|
15221
|
+
return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(FloatingActionsRoot, {
|
|
15035
15222
|
"aria-label": t("landing.floating.label"),
|
|
15036
|
-
children: actions.map((action) => /* @__PURE__ */ (0,
|
|
15223
|
+
children: actions.map((action) => /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("a", {
|
|
15037
15224
|
className: `floating-action ${action.className}`,
|
|
15038
15225
|
href: action.href,
|
|
15039
15226
|
"aria-label": t(action.labelKey),
|
|
15040
15227
|
rel: action.href.startsWith("http") ? "noopener noreferrer" : void 0,
|
|
15041
15228
|
target: action.href.startsWith("http") ? "_blank" : void 0,
|
|
15042
|
-
children: /* @__PURE__ */ (0,
|
|
15229
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("span", {
|
|
15043
15230
|
className: "floating-action-ring",
|
|
15044
|
-
children: /* @__PURE__ */ (0,
|
|
15231
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("span", {
|
|
15045
15232
|
className: "floating-action-core",
|
|
15046
|
-
children: /* @__PURE__ */ (0,
|
|
15233
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_image14.default, {
|
|
15047
15234
|
src: action.icon,
|
|
15048
15235
|
alt: "",
|
|
15049
15236
|
width: action.iconSize,
|
|
@@ -15060,7 +15247,7 @@ function FloatingActions() {
|
|
|
15060
15247
|
var import_image15 = __toESM(require("next/image.js"));
|
|
15061
15248
|
var import_react36 = require("react");
|
|
15062
15249
|
var import_react_i18next25 = require("react-i18next");
|
|
15063
|
-
var
|
|
15250
|
+
var import_jsx_runtime55 = require("react/jsx-runtime");
|
|
15064
15251
|
function PositionMedia({
|
|
15065
15252
|
slide,
|
|
15066
15253
|
imageAlt,
|
|
@@ -15069,14 +15256,14 @@ function PositionMedia({
|
|
|
15069
15256
|
}) {
|
|
15070
15257
|
const image2 = useCmsImage(imageField, slide.image);
|
|
15071
15258
|
if (slide.mediaType === "bot") {
|
|
15072
|
-
return /* @__PURE__ */ (0,
|
|
15259
|
+
return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
|
|
15073
15260
|
"div",
|
|
15074
15261
|
{
|
|
15075
15262
|
className: "position-media position-media--bot wikex-cms-image-host",
|
|
15076
15263
|
role: "img",
|
|
15077
15264
|
"aria-label": imageAlt,
|
|
15078
15265
|
children: [
|
|
15079
|
-
/* @__PURE__ */ (0,
|
|
15266
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
15080
15267
|
import_image15.default,
|
|
15081
15268
|
{
|
|
15082
15269
|
src: image2,
|
|
@@ -15088,20 +15275,20 @@ function PositionMedia({
|
|
|
15088
15275
|
decoding: "async"
|
|
15089
15276
|
}
|
|
15090
15277
|
),
|
|
15091
|
-
/* @__PURE__ */ (0,
|
|
15278
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(CmsImageAction, { field: imageField })
|
|
15092
15279
|
]
|
|
15093
15280
|
}
|
|
15094
15281
|
);
|
|
15095
15282
|
}
|
|
15096
15283
|
if (slide.mediaType === "platforms") {
|
|
15097
|
-
return /* @__PURE__ */ (0,
|
|
15284
|
+
return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
|
|
15098
15285
|
"div",
|
|
15099
15286
|
{
|
|
15100
15287
|
className: "position-media position-media--platforms wikex-cms-image-host",
|
|
15101
15288
|
role: "img",
|
|
15102
15289
|
"aria-label": imageAlt,
|
|
15103
15290
|
children: [
|
|
15104
|
-
/* @__PURE__ */ (0,
|
|
15291
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
15105
15292
|
import_image15.default,
|
|
15106
15293
|
{
|
|
15107
15294
|
src: image2,
|
|
@@ -15113,13 +15300,13 @@ function PositionMedia({
|
|
|
15113
15300
|
decoding: "async"
|
|
15114
15301
|
}
|
|
15115
15302
|
),
|
|
15116
|
-
/* @__PURE__ */ (0,
|
|
15303
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(CmsImageAction, { field: imageField })
|
|
15117
15304
|
]
|
|
15118
15305
|
}
|
|
15119
15306
|
);
|
|
15120
15307
|
}
|
|
15121
|
-
return /* @__PURE__ */ (0,
|
|
15122
|
-
/* @__PURE__ */ (0,
|
|
15308
|
+
return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: `position-media ${slide.mediaClassName} wikex-cms-image-host`, children: [
|
|
15309
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
15123
15310
|
import_image15.default,
|
|
15124
15311
|
{
|
|
15125
15312
|
src: image2,
|
|
@@ -15131,7 +15318,7 @@ function PositionMedia({
|
|
|
15131
15318
|
decoding: "async"
|
|
15132
15319
|
}
|
|
15133
15320
|
),
|
|
15134
|
-
/* @__PURE__ */ (0,
|
|
15321
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(CmsImageAction, { field: imageField })
|
|
15135
15322
|
] });
|
|
15136
15323
|
}
|
|
15137
15324
|
function PositionSection() {
|
|
@@ -15194,23 +15381,23 @@ function PositionSection() {
|
|
|
15194
15381
|
(current) => current.includes(index) ? current.filter((cardIndex) => cardIndex !== index) : [...current, index]
|
|
15195
15382
|
);
|
|
15196
15383
|
};
|
|
15197
|
-
return /* @__PURE__ */ (0,
|
|
15198
|
-
/* @__PURE__ */ (0,
|
|
15384
|
+
return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("section", { className: "position section", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: "container", children: [
|
|
15385
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
15199
15386
|
Title_default,
|
|
15200
15387
|
{
|
|
15201
15388
|
title: t("landing.position.title"),
|
|
15202
15389
|
classname: "position-title"
|
|
15203
15390
|
}
|
|
15204
15391
|
),
|
|
15205
|
-
/* @__PURE__ */ (0,
|
|
15206
|
-
/* @__PURE__ */ (0,
|
|
15392
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: "position-stage", children: [
|
|
15393
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
15207
15394
|
"button",
|
|
15208
15395
|
{
|
|
15209
15396
|
className: "position-nav position-button-prev",
|
|
15210
15397
|
type: "button",
|
|
15211
15398
|
"aria-label": t("common.previous"),
|
|
15212
15399
|
onClick: () => moveDesktop(-1),
|
|
15213
|
-
children: /* @__PURE__ */ (0,
|
|
15400
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
15214
15401
|
import_image15.default,
|
|
15215
15402
|
{
|
|
15216
15403
|
src: "/landing-assets/position-arrow-left.svg",
|
|
@@ -15221,7 +15408,7 @@ function PositionSection() {
|
|
|
15221
15408
|
)
|
|
15222
15409
|
}
|
|
15223
15410
|
),
|
|
15224
|
-
/* @__PURE__ */ (0,
|
|
15411
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: "position-slider-shell", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
15225
15412
|
"div",
|
|
15226
15413
|
{
|
|
15227
15414
|
className: "position-swiper",
|
|
@@ -15232,27 +15419,27 @@ function PositionSection() {
|
|
|
15232
15419
|
if (event.key === "ArrowRight") moveDesktop(1);
|
|
15233
15420
|
},
|
|
15234
15421
|
tabIndex: 0,
|
|
15235
|
-
children: /* @__PURE__ */ (0,
|
|
15422
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: "swiper-wrapper", children: slides.map((slide, index) => {
|
|
15236
15423
|
const key = `landing.position.slides.${index}`;
|
|
15237
15424
|
const isActive = index === desktopActiveSlide;
|
|
15238
|
-
return /* @__PURE__ */ (0,
|
|
15425
|
+
return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
15239
15426
|
"div",
|
|
15240
15427
|
{
|
|
15241
15428
|
className: `swiper-slide${isActive ? " swiper-slide-active" : ""}`,
|
|
15242
15429
|
"aria-hidden": !isActive,
|
|
15243
|
-
children: /* @__PURE__ */ (0,
|
|
15430
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
|
|
15244
15431
|
"article",
|
|
15245
15432
|
{
|
|
15246
15433
|
className: `position-card position-card--${slide.mediaType}`,
|
|
15247
15434
|
children: [
|
|
15248
|
-
/* @__PURE__ */ (0,
|
|
15249
|
-
/* @__PURE__ */ (0,
|
|
15250
|
-
/* @__PURE__ */ (0,
|
|
15251
|
-
/* @__PURE__ */ (0,
|
|
15252
|
-
/* @__PURE__ */ (0,
|
|
15435
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: "position-copy", children: [
|
|
15436
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: "position-ribbon", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(ExactText, { cmsAs: "h3", children: t(`${key}.title`) }) }),
|
|
15437
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: "position-description", children: [
|
|
15438
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(ExactText, { cmsAs: "p", children: t(`${key}.paragraphs.0`) }),
|
|
15439
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(ExactText, { cmsAs: "p", children: t(`${key}.paragraphs.1`) })
|
|
15253
15440
|
] })
|
|
15254
15441
|
] }),
|
|
15255
|
-
/* @__PURE__ */ (0,
|
|
15442
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
15256
15443
|
PositionMedia,
|
|
15257
15444
|
{
|
|
15258
15445
|
slide,
|
|
@@ -15269,14 +15456,14 @@ function PositionSection() {
|
|
|
15269
15456
|
}) })
|
|
15270
15457
|
}
|
|
15271
15458
|
) }),
|
|
15272
|
-
/* @__PURE__ */ (0,
|
|
15459
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
15273
15460
|
"button",
|
|
15274
15461
|
{
|
|
15275
15462
|
className: "position-nav position-button-next",
|
|
15276
15463
|
type: "button",
|
|
15277
15464
|
"aria-label": t("common.next"),
|
|
15278
15465
|
onClick: () => moveDesktop(1),
|
|
15279
|
-
children: /* @__PURE__ */ (0,
|
|
15466
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
15280
15467
|
import_image15.default,
|
|
15281
15468
|
{
|
|
15282
15469
|
src: "/landing-assets/position-arrow-right.svg",
|
|
@@ -15288,8 +15475,8 @@ function PositionSection() {
|
|
|
15288
15475
|
}
|
|
15289
15476
|
)
|
|
15290
15477
|
] }),
|
|
15291
|
-
/* @__PURE__ */ (0,
|
|
15292
|
-
/* @__PURE__ */ (0,
|
|
15478
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: "position-mobile-carousel", children: [
|
|
15479
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
15293
15480
|
"div",
|
|
15294
15481
|
{
|
|
15295
15482
|
ref: mobileCarouselRef,
|
|
@@ -15316,36 +15503,36 @@ function PositionSection() {
|
|
|
15316
15503
|
);
|
|
15317
15504
|
setMobileSlide(nearest.index);
|
|
15318
15505
|
},
|
|
15319
|
-
children: /* @__PURE__ */ (0,
|
|
15506
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: "swiper-wrapper", children: slides.map((slide, index) => {
|
|
15320
15507
|
const isExpanded = expandedMobileCards.includes(index);
|
|
15321
15508
|
const contentId = `position-mobile-content-${index}`;
|
|
15322
15509
|
const key = `landing.position.slides.${index}`;
|
|
15323
15510
|
const title = t(`${key}.title`);
|
|
15324
|
-
return /* @__PURE__ */ (0,
|
|
15511
|
+
return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
15325
15512
|
"div",
|
|
15326
15513
|
{
|
|
15327
15514
|
className: `swiper-slide${index === mobileSlide ? " swiper-slide-active" : ""}`,
|
|
15328
15515
|
"data-position-mobile-slide": index,
|
|
15329
|
-
children: /* @__PURE__ */ (0,
|
|
15516
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
15330
15517
|
"article",
|
|
15331
15518
|
{
|
|
15332
15519
|
className: `position-mobile-card position-mobile-card--${slide.mediaType}${isExpanded ? " is-expanded" : ""}`,
|
|
15333
|
-
children: /* @__PURE__ */ (0,
|
|
15334
|
-
/* @__PURE__ */ (0,
|
|
15335
|
-
/* @__PURE__ */ (0,
|
|
15336
|
-
/* @__PURE__ */ (0,
|
|
15337
|
-
/* @__PURE__ */ (0,
|
|
15520
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: "position-mobile-card-surface", children: [
|
|
15521
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: "position-copy", children: [
|
|
15522
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: "position-ribbon", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(ExactText, { cmsAs: "h3", children: title }) }),
|
|
15523
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: "position-mobile-description", children: [
|
|
15524
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
|
|
15338
15525
|
"div",
|
|
15339
15526
|
{
|
|
15340
15527
|
className: "position-mobile-description-copy",
|
|
15341
15528
|
id: contentId,
|
|
15342
15529
|
children: [
|
|
15343
|
-
/* @__PURE__ */ (0,
|
|
15344
|
-
/* @__PURE__ */ (0,
|
|
15530
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(ExactText, { cmsAs: "p", children: t(`${key}.paragraphs.0`) }),
|
|
15531
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(ExactText, { cmsAs: "p", children: t(`${key}.paragraphs.1`) })
|
|
15345
15532
|
]
|
|
15346
15533
|
}
|
|
15347
15534
|
),
|
|
15348
|
-
/* @__PURE__ */ (0,
|
|
15535
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
15349
15536
|
"button",
|
|
15350
15537
|
{
|
|
15351
15538
|
className: "position-mobile-toggle",
|
|
@@ -15354,7 +15541,7 @@ function PositionSection() {
|
|
|
15354
15541
|
"aria-controls": contentId,
|
|
15355
15542
|
"aria-label": `${isExpanded ? t("common.collapse") : t("common.fullContent")}: ${title}`,
|
|
15356
15543
|
onClick: () => toggleMobileCard(index),
|
|
15357
|
-
children: /* @__PURE__ */ (0,
|
|
15544
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
15358
15545
|
import_image15.default,
|
|
15359
15546
|
{
|
|
15360
15547
|
src: "/landing-assets/position-chevron.svg",
|
|
@@ -15368,7 +15555,7 @@ function PositionSection() {
|
|
|
15368
15555
|
)
|
|
15369
15556
|
] })
|
|
15370
15557
|
] }),
|
|
15371
|
-
/* @__PURE__ */ (0,
|
|
15558
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
15372
15559
|
PositionMedia,
|
|
15373
15560
|
{
|
|
15374
15561
|
slide,
|
|
@@ -15386,7 +15573,7 @@ function PositionSection() {
|
|
|
15386
15573
|
}) })
|
|
15387
15574
|
}
|
|
15388
15575
|
),
|
|
15389
|
-
/* @__PURE__ */ (0,
|
|
15576
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: "position-mobile-pagination", children: slides.map((_slide, index) => /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
15390
15577
|
"button",
|
|
15391
15578
|
{
|
|
15392
15579
|
className: `position-dot${index === mobileSlide ? " is-active" : ""}`,
|
|
@@ -15398,7 +15585,7 @@ function PositionSection() {
|
|
|
15398
15585
|
`mobile-dot-${index}`
|
|
15399
15586
|
)) })
|
|
15400
15587
|
] }),
|
|
15401
|
-
/* @__PURE__ */ (0,
|
|
15588
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: "position-pagination", children: slides.map((_slide, index) => /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
15402
15589
|
"button",
|
|
15403
15590
|
{
|
|
15404
15591
|
className: `position-dot${index === desktopActiveSlide ? " is-active" : ""}`,
|
|
@@ -15415,7 +15602,7 @@ function PositionSection() {
|
|
|
15415
15602
|
// src/commodity-original/components/LandingPage/StepsSection.tsx
|
|
15416
15603
|
var import_image16 = __toESM(require("next/image.js"));
|
|
15417
15604
|
var import_react_i18next26 = require("react-i18next");
|
|
15418
|
-
var
|
|
15605
|
+
var import_jsx_runtime56 = require("react/jsx-runtime");
|
|
15419
15606
|
function StepsSection() {
|
|
15420
15607
|
const { t } = (0, import_react_i18next26.useTranslation)();
|
|
15421
15608
|
const { themeName } = useAppTheme();
|
|
@@ -15423,7 +15610,7 @@ function StepsSection() {
|
|
|
15423
15610
|
const stepIcons = [
|
|
15424
15611
|
{
|
|
15425
15612
|
id: "account",
|
|
15426
|
-
icon: /* @__PURE__ */ (0,
|
|
15613
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
|
|
15427
15614
|
"svg",
|
|
15428
15615
|
{
|
|
15429
15616
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -15432,7 +15619,7 @@ function StepsSection() {
|
|
|
15432
15619
|
viewBox: "0 0 48 48",
|
|
15433
15620
|
fill: "none",
|
|
15434
15621
|
children: [
|
|
15435
|
-
/* @__PURE__ */ (0,
|
|
15622
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
15436
15623
|
"path",
|
|
15437
15624
|
{
|
|
15438
15625
|
d: "M30 35.625L33.5182 38.4315C33.9219 38.7536 34.5046 38.7152 34.8626 38.3429L40 33",
|
|
@@ -15441,14 +15628,14 @@ function StepsSection() {
|
|
|
15441
15628
|
strokeLinecap: "round"
|
|
15442
15629
|
}
|
|
15443
15630
|
),
|
|
15444
|
-
/* @__PURE__ */ (0,
|
|
15631
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
15445
15632
|
"path",
|
|
15446
15633
|
{
|
|
15447
15634
|
d: "M28 6C30.7614 6 33 8.23858 33 11V26.0469C27.3936 26.5522 23 31.262 23 37C23 39.2142 23.6565 41.2741 24.7822 43H14C11.2386 43 9 40.7614 9 38V11C9 8.23858 11.2386 6 14 6H28Z",
|
|
15448
15635
|
fill: "#F9BB3A"
|
|
15449
15636
|
}
|
|
15450
15637
|
),
|
|
15451
|
-
/* @__PURE__ */ (0,
|
|
15638
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
15452
15639
|
"line",
|
|
15453
15640
|
{
|
|
15454
15641
|
x1: "17.5",
|
|
@@ -15466,7 +15653,7 @@ function StepsSection() {
|
|
|
15466
15653
|
},
|
|
15467
15654
|
{
|
|
15468
15655
|
id: "ekyc",
|
|
15469
|
-
icon: /* @__PURE__ */ (0,
|
|
15656
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
|
|
15470
15657
|
"svg",
|
|
15471
15658
|
{
|
|
15472
15659
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -15475,7 +15662,7 @@ function StepsSection() {
|
|
|
15475
15662
|
viewBox: "0 0 48 48",
|
|
15476
15663
|
fill: "none",
|
|
15477
15664
|
children: [
|
|
15478
|
-
/* @__PURE__ */ (0,
|
|
15665
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
15479
15666
|
"path",
|
|
15480
15667
|
{
|
|
15481
15668
|
d: "M40.9453 16.6987V8.61644C40.9453 7.7237 40.2216 7 39.3289 7H31.2467",
|
|
@@ -15484,7 +15671,7 @@ function StepsSection() {
|
|
|
15484
15671
|
strokeLinecap: "round"
|
|
15485
15672
|
}
|
|
15486
15673
|
),
|
|
15487
|
-
/* @__PURE__ */ (0,
|
|
15674
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
15488
15675
|
"path",
|
|
15489
15676
|
{
|
|
15490
15677
|
d: "M7 31.2467V39.3289C7 40.2216 7.72371 40.9453 8.61644 40.9453H16.6987",
|
|
@@ -15493,7 +15680,7 @@ function StepsSection() {
|
|
|
15493
15680
|
strokeLinecap: "round"
|
|
15494
15681
|
}
|
|
15495
15682
|
),
|
|
15496
|
-
/* @__PURE__ */ (0,
|
|
15683
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
15497
15684
|
"path",
|
|
15498
15685
|
{
|
|
15499
15686
|
d: "M7 16.6987V8.61644C7 7.7237 7.72371 7 8.61644 7H16.6987",
|
|
@@ -15502,7 +15689,7 @@ function StepsSection() {
|
|
|
15502
15689
|
strokeLinecap: "round"
|
|
15503
15690
|
}
|
|
15504
15691
|
),
|
|
15505
|
-
/* @__PURE__ */ (0,
|
|
15692
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
15506
15693
|
"path",
|
|
15507
15694
|
{
|
|
15508
15695
|
d: "M40.9453 31.2467V39.3289C40.9453 40.2216 40.2216 40.9453 39.3289 40.9453H31.2467",
|
|
@@ -15511,21 +15698,21 @@ function StepsSection() {
|
|
|
15511
15698
|
strokeLinecap: "round"
|
|
15512
15699
|
}
|
|
15513
15700
|
),
|
|
15514
|
-
/* @__PURE__ */ (0,
|
|
15701
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
15515
15702
|
"path",
|
|
15516
15703
|
{
|
|
15517
15704
|
d: "M24.1748 25.2729C29.4451 25.273 33.7837 29.255 34.3496 34.3745H14C14.5659 29.255 18.9045 25.2729 24.1748 25.2729Z",
|
|
15518
15705
|
fill: "#F9BB3A"
|
|
15519
15706
|
}
|
|
15520
15707
|
),
|
|
15521
|
-
/* @__PURE__ */ (0,
|
|
15708
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)("circle", { cx: "24.0873", cy: "18.0873", r: "5.08734", fill: "#F9BB3A" })
|
|
15522
15709
|
]
|
|
15523
15710
|
}
|
|
15524
15711
|
)
|
|
15525
15712
|
},
|
|
15526
15713
|
{
|
|
15527
15714
|
id: "advice",
|
|
15528
|
-
icon: /* @__PURE__ */ (0,
|
|
15715
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
|
|
15529
15716
|
"svg",
|
|
15530
15717
|
{
|
|
15531
15718
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -15534,21 +15721,21 @@ function StepsSection() {
|
|
|
15534
15721
|
viewBox: "0 0 48 48",
|
|
15535
15722
|
fill: "none",
|
|
15536
15723
|
children: [
|
|
15537
|
-
/* @__PURE__ */ (0,
|
|
15724
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
15538
15725
|
"path",
|
|
15539
15726
|
{
|
|
15540
15727
|
d: "M16.3286 20.8911C10.871 20.8911 6.44678 25.2339 6.44678 30.5913C6.4468 31.5508 6.59104 32.4768 6.85604 33.3518C6.93855 33.6243 6.91745 33.9196 6.78073 34.1693L5.1245 37.194C4.7596 37.8605 5.24184 38.6743 6.00162 38.6743H10.5683C10.7624 38.6743 10.9515 38.7319 11.1172 38.8331C12.6301 39.757 14.4156 40.2915 16.3286 40.2915C21.7861 40.2914 26.2103 35.9486 26.2104 30.5913C26.2104 25.2339 21.7862 20.8912 16.3286 20.8911Z",
|
|
15541
15728
|
fill: isDarkTheme ? "#fff" : "black"
|
|
15542
15729
|
}
|
|
15543
15730
|
),
|
|
15544
|
-
/* @__PURE__ */ (0,
|
|
15731
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
15545
15732
|
"path",
|
|
15546
15733
|
{
|
|
15547
15734
|
d: "M25.3164 7C33.8854 7 40.8319 13.4674 40.832 21.4453C40.832 22.9446 40.5856 24.3903 40.1301 25.7499C40.0353 26.033 40.0591 26.3441 40.2084 26.6027L43.3147 31.9834C43.6996 32.6501 43.2185 33.4834 42.4487 33.4834H34.179C33.993 33.4834 33.8112 33.5359 33.6513 33.6309C31.2437 35.0615 28.3843 35.8916 25.3164 35.8916C16.7474 35.8916 9.80078 29.4234 9.80078 21.4453C9.80096 13.4674 16.7475 7.00002 25.3164 7Z",
|
|
15548
15735
|
fill: "#F9BB3A"
|
|
15549
15736
|
}
|
|
15550
15737
|
),
|
|
15551
|
-
/* @__PURE__ */ (0,
|
|
15738
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
15552
15739
|
"circle",
|
|
15553
15740
|
{
|
|
15554
15741
|
cx: "18.3613",
|
|
@@ -15557,7 +15744,7 @@ function StepsSection() {
|
|
|
15557
15744
|
fill: isDarkTheme ? "#fff" : "black"
|
|
15558
15745
|
}
|
|
15559
15746
|
),
|
|
15560
|
-
/* @__PURE__ */ (0,
|
|
15747
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
15561
15748
|
"circle",
|
|
15562
15749
|
{
|
|
15563
15750
|
cx: "25.8515",
|
|
@@ -15566,7 +15753,7 @@ function StepsSection() {
|
|
|
15566
15753
|
fill: isDarkTheme ? "#fff" : "black"
|
|
15567
15754
|
}
|
|
15568
15755
|
),
|
|
15569
|
-
/* @__PURE__ */ (0,
|
|
15756
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
15570
15757
|
"circle",
|
|
15571
15758
|
{
|
|
15572
15759
|
cx: "33.3418",
|
|
@@ -15581,7 +15768,7 @@ function StepsSection() {
|
|
|
15581
15768
|
},
|
|
15582
15769
|
{
|
|
15583
15770
|
id: "trade",
|
|
15584
|
-
icon: /* @__PURE__ */ (0,
|
|
15771
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
|
|
15585
15772
|
"svg",
|
|
15586
15773
|
{
|
|
15587
15774
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -15590,7 +15777,7 @@ function StepsSection() {
|
|
|
15590
15777
|
viewBox: "0 0 48 48",
|
|
15591
15778
|
fill: "none",
|
|
15592
15779
|
children: [
|
|
15593
|
-
/* @__PURE__ */ (0,
|
|
15780
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
15594
15781
|
"rect",
|
|
15595
15782
|
{
|
|
15596
15783
|
x: "4",
|
|
@@ -15601,7 +15788,7 @@ function StepsSection() {
|
|
|
15601
15788
|
fill: "#F9BB3A"
|
|
15602
15789
|
}
|
|
15603
15790
|
),
|
|
15604
|
-
/* @__PURE__ */ (0,
|
|
15791
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
15605
15792
|
"line",
|
|
15606
15793
|
{
|
|
15607
15794
|
x1: "15.8384",
|
|
@@ -15613,7 +15800,7 @@ function StepsSection() {
|
|
|
15613
15800
|
strokeLinecap: "round"
|
|
15614
15801
|
}
|
|
15615
15802
|
),
|
|
15616
|
-
/* @__PURE__ */ (0,
|
|
15803
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
15617
15804
|
"line",
|
|
15618
15805
|
{
|
|
15619
15806
|
x1: "19.3279",
|
|
@@ -15625,7 +15812,7 @@ function StepsSection() {
|
|
|
15625
15812
|
strokeLinecap: "round"
|
|
15626
15813
|
}
|
|
15627
15814
|
),
|
|
15628
|
-
/* @__PURE__ */ (0,
|
|
15815
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
15629
15816
|
"line",
|
|
15630
15817
|
{
|
|
15631
15818
|
x1: "34.8219",
|
|
@@ -15637,7 +15824,7 @@ function StepsSection() {
|
|
|
15637
15824
|
strokeLinecap: "round"
|
|
15638
15825
|
}
|
|
15639
15826
|
),
|
|
15640
|
-
/* @__PURE__ */ (0,
|
|
15827
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
15641
15828
|
"line",
|
|
15642
15829
|
{
|
|
15643
15830
|
x1: "26.9561",
|
|
@@ -15659,8 +15846,8 @@ function StepsSection() {
|
|
|
15659
15846
|
{ length: stepCount },
|
|
15660
15847
|
(_, index) => stepIcons[index % stepIcons.length]
|
|
15661
15848
|
);
|
|
15662
|
-
return /* @__PURE__ */ (0,
|
|
15663
|
-
/* @__PURE__ */ (0,
|
|
15849
|
+
return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("section", { className: "steps section", children: /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: "container", children: [
|
|
15850
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
15664
15851
|
Title_default,
|
|
15665
15852
|
{
|
|
15666
15853
|
classname: "steps-title",
|
|
@@ -15668,9 +15855,9 @@ function StepsSection() {
|
|
|
15668
15855
|
desc: t("landing.steps.description")
|
|
15669
15856
|
}
|
|
15670
15857
|
),
|
|
15671
|
-
/* @__PURE__ */ (0,
|
|
15672
|
-
/* @__PURE__ */ (0,
|
|
15673
|
-
/* @__PURE__ */ (0,
|
|
15858
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "step-list", children: visibleSteps.map((step, index) => /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("article", { className: "step-card", children: [
|
|
15859
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: "step-number", children: [
|
|
15860
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
15674
15861
|
import_image16.default,
|
|
15675
15862
|
{
|
|
15676
15863
|
className: "step-ribbon step-ribbon--desktop",
|
|
@@ -15681,7 +15868,7 @@ function StepsSection() {
|
|
|
15681
15868
|
"aria-hidden": "true"
|
|
15682
15869
|
}
|
|
15683
15870
|
),
|
|
15684
|
-
/* @__PURE__ */ (0,
|
|
15871
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
15685
15872
|
import_image16.default,
|
|
15686
15873
|
{
|
|
15687
15874
|
className: "step-ribbon-mobile",
|
|
@@ -15692,13 +15879,13 @@ function StepsSection() {
|
|
|
15692
15879
|
"aria-hidden": "true"
|
|
15693
15880
|
}
|
|
15694
15881
|
),
|
|
15695
|
-
/* @__PURE__ */ (0,
|
|
15882
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(ExactText, { cmsAs: "span", children: t(`landing.steps.items.${index}.label`) })
|
|
15696
15883
|
] }),
|
|
15697
|
-
/* @__PURE__ */ (0,
|
|
15698
|
-
/* @__PURE__ */ (0,
|
|
15699
|
-
/* @__PURE__ */ (0,
|
|
15700
|
-
/* @__PURE__ */ (0,
|
|
15701
|
-
/* @__PURE__ */ (0,
|
|
15884
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: "step-content", children: [
|
|
15885
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(ExactText, { cmsAs: "span", className: "step-icon", "aria-hidden": "true", children: step.icon }),
|
|
15886
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: "step-copy", children: [
|
|
15887
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(ExactText, { cmsAs: "h3", children: t(`landing.steps.items.${index}.title`) }),
|
|
15888
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(ExactText, { cmsAs: "p", children: t(`landing.steps.items.${index}.body`) })
|
|
15702
15889
|
] })
|
|
15703
15890
|
] })
|
|
15704
15891
|
] }, step.id)) })
|
|
@@ -15706,7 +15893,7 @@ function StepsSection() {
|
|
|
15706
15893
|
}
|
|
15707
15894
|
|
|
15708
15895
|
// src/wikex/original-commodity-blocks.tsx
|
|
15709
|
-
var
|
|
15896
|
+
var import_jsx_runtime57 = require("react/jsx-runtime");
|
|
15710
15897
|
var LANGUAGE_STORAGE_KEY = "wikex-language";
|
|
15711
15898
|
var LANGUAGE_EVENT = "wikex-language-change";
|
|
15712
15899
|
function supportedLanguage(value4) {
|
|
@@ -15911,7 +16098,7 @@ function ExactEditableContent({
|
|
|
15911
16098
|
element.dataset.cmsExactSelected = String(editable && element.dataset.cmsTextField === selectedTextField);
|
|
15912
16099
|
});
|
|
15913
16100
|
}, [content, editable, fieldKeys, selectedTextField]);
|
|
15914
|
-
return /* @__PURE__ */ (0,
|
|
16101
|
+
return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
|
|
15915
16102
|
import_Box6.default,
|
|
15916
16103
|
{
|
|
15917
16104
|
ref: rootRef,
|
|
@@ -16004,10 +16191,10 @@ function ExactProviders({ content, children }) {
|
|
|
16004
16191
|
window.removeEventListener(LANGUAGE_EVENT, receiveLanguage);
|
|
16005
16192
|
};
|
|
16006
16193
|
}, [instance, requestedLanguage]);
|
|
16007
|
-
return /* @__PURE__ */ (0,
|
|
16194
|
+
return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_react_i18next27.I18nextProvider, { i18n: instance, children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(AppThemeProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(ResponsiveProvider, { viewportWidth, children }) }) });
|
|
16008
16195
|
}
|
|
16009
16196
|
function ExactSection({ children }) {
|
|
16010
|
-
return /* @__PURE__ */ (0,
|
|
16197
|
+
return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(PageShell, { className: "wikex-page", children });
|
|
16011
16198
|
}
|
|
16012
16199
|
function exactBlock(options, Component, wrapSection = false) {
|
|
16013
16200
|
const lists = options.lists ?? [];
|
|
@@ -16151,14 +16338,14 @@ function exactBlock(options, Component, wrapSection = false) {
|
|
|
16151
16338
|
)
|
|
16152
16339
|
)
|
|
16153
16340
|
], [language, listStates, chrome2]);
|
|
16154
|
-
return /* @__PURE__ */ (0,
|
|
16341
|
+
return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(ExactProviders, { content: renderedContent, children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
|
|
16155
16342
|
CmsImageProvider,
|
|
16156
16343
|
{
|
|
16157
16344
|
content: renderedContent,
|
|
16158
16345
|
editable: props.editable,
|
|
16159
16346
|
onImageRequest: props.onImageRequest,
|
|
16160
|
-
children: /* @__PURE__ */ (0,
|
|
16161
|
-
/* @__PURE__ */ (0,
|
|
16347
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(CmsListCountProvider, { counts: listCounts, children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(CmsElementProvider, { ...props, content: renderedContent, onChange: handleChange, onSelectText: handleSelectText, children: /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(ExactTextProvider, { content: renderedContent, fields: fieldKeys, children: [
|
|
16348
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
|
|
16162
16349
|
ExactEditableContent,
|
|
16163
16350
|
{
|
|
16164
16351
|
content: renderedContent,
|
|
@@ -16167,10 +16354,10 @@ function exactBlock(options, Component, wrapSection = false) {
|
|
|
16167
16354
|
onChange: handleChange,
|
|
16168
16355
|
onSelectText: handleSelectText,
|
|
16169
16356
|
selectedTextField: props.selectedTextField,
|
|
16170
|
-
children: wrapSection ? /* @__PURE__ */ (0,
|
|
16357
|
+
children: wrapSection ? /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(ExactSection, { children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Component, { ...props }) }) : /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Component, { ...props })
|
|
16171
16358
|
}
|
|
16172
16359
|
),
|
|
16173
|
-
props.editable && listStates.length > 0 && /* @__PURE__ */ (0,
|
|
16360
|
+
props.editable && listStates.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
|
|
16174
16361
|
import_Box6.default,
|
|
16175
16362
|
{
|
|
16176
16363
|
sx: {
|
|
@@ -16179,7 +16366,7 @@ function exactBlock(options, Component, wrapSection = false) {
|
|
|
16179
16366
|
borderTop: "1px solid rgba(32, 40, 32, 0.12)",
|
|
16180
16367
|
bgcolor: "#FAF8F3"
|
|
16181
16368
|
},
|
|
16182
|
-
children: /* @__PURE__ */ (0,
|
|
16369
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_Stack4.default, { direction: "row", spacing: 1, justifyContent: "flex-end", flexWrap: "wrap", useFlexGap: true, children: listStates.map(({ field, items, list, templates }) => /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(
|
|
16183
16370
|
import_Button14.default,
|
|
16184
16371
|
{
|
|
16185
16372
|
size: "small",
|
|
@@ -16238,7 +16425,7 @@ function ProductDetailExact() {
|
|
|
16238
16425
|
const segments = pathname.split("/").filter(Boolean);
|
|
16239
16426
|
const slug = segments[segments.length - 1] ?? "platinum";
|
|
16240
16427
|
const product = getProductBySlug(slug) ?? productItems[0];
|
|
16241
|
-
return /* @__PURE__ */ (0,
|
|
16428
|
+
return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(ProductDetailContent, { product });
|
|
16242
16429
|
}
|
|
16243
16430
|
var exactItemFields = (...fields2) => fields2.map(([key, label, type]) => ({ key, label, type, required: key === "title" }));
|
|
16244
16431
|
var image = (key, label, defaultSrc) => ({
|
|
@@ -16487,8 +16674,8 @@ var header = exactBlock(
|
|
|
16487
16674
|
name: "Header Wikex Commodity \u2014 b\u1EA3n g\u1ED1c",
|
|
16488
16675
|
description: "Header nguy\xEAn b\u1EA3n t\u1EEB wikex-commodity-frontend.",
|
|
16489
16676
|
prefixes: ["header.", "language.", "theme."],
|
|
16490
|
-
fields: headerLinkFields,
|
|
16491
|
-
defaults: headerLinkDefaults,
|
|
16677
|
+
fields: [...headerLinkFields, ...cmsHeaderButtonLinkFields],
|
|
16678
|
+
defaults: { ...headerLinkDefaults, ...cmsHeaderButtonLinkDefaults },
|
|
16492
16679
|
images: headerImages,
|
|
16493
16680
|
placement: "header",
|
|
16494
16681
|
icon: "solar:menu-dots-bold-duotone"
|
|
@@ -16496,9 +16683,9 @@ var header = exactBlock(
|
|
|
16496
16683
|
Header
|
|
16497
16684
|
);
|
|
16498
16685
|
function FooterWithFloatingActions() {
|
|
16499
|
-
return /* @__PURE__ */ (0,
|
|
16500
|
-
/* @__PURE__ */ (0,
|
|
16501
|
-
/* @__PURE__ */ (0,
|
|
16686
|
+
return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(import_jsx_runtime57.Fragment, { children: [
|
|
16687
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Footer, {}),
|
|
16688
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(FloatingActions, {})
|
|
16502
16689
|
] });
|
|
16503
16690
|
}
|
|
16504
16691
|
var footer = exactBlock(
|
|
@@ -16518,9 +16705,9 @@ var footer = exactBlock(
|
|
|
16518
16705
|
var hero = exactBlock(
|
|
16519
16706
|
{ type: "commodity-hero", name: "Landing \u2014 Hero g\u1ED1c", description: "Hero nguy\xEAn b\u1EA3n.", prefixes: ["landing.hero."], images: heroImages },
|
|
16520
16707
|
function OriginalHero() {
|
|
16521
|
-
return /* @__PURE__ */ (0,
|
|
16522
|
-
/* @__PURE__ */ (0,
|
|
16523
|
-
/* @__PURE__ */ (0,
|
|
16708
|
+
return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(import_jsx_runtime57.Fragment, { children: [
|
|
16709
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(LandingAnimations, {}),
|
|
16710
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(HeroSection2, {})
|
|
16524
16711
|
] });
|
|
16525
16712
|
},
|
|
16526
16713
|
true
|
|
@@ -16541,7 +16728,15 @@ var audience = exactBlock(
|
|
|
16541
16728
|
true
|
|
16542
16729
|
);
|
|
16543
16730
|
var download = exactBlock(
|
|
16544
|
-
{
|
|
16731
|
+
{
|
|
16732
|
+
type: "download-section",
|
|
16733
|
+
name: "Landing \u2014 T\u1EA3i \u1EE9ng d\u1EE5ng g\u1ED1c",
|
|
16734
|
+
description: "Section t\u1EA3i \u1EE9ng d\u1EE5ng nguy\xEAn b\u1EA3n.",
|
|
16735
|
+
prefixes: ["landing.download."],
|
|
16736
|
+
images: downloadImages,
|
|
16737
|
+
fields: cmsDownloadButtonLinkFields,
|
|
16738
|
+
defaults: cmsDownloadButtonLinkDefaults
|
|
16739
|
+
},
|
|
16545
16740
|
DownloadSection,
|
|
16546
16741
|
true
|
|
16547
16742
|
);
|
|
@@ -16894,7 +17089,7 @@ var wikexCommodityRoutes = wikexCommodityPageTemplates.map(({ route, slug, key }
|
|
|
16894
17089
|
// src/shared/text-toolbar.tsx
|
|
16895
17090
|
var import_react38 = require("react");
|
|
16896
17091
|
var import_material2 = require("@mui/material");
|
|
16897
|
-
var
|
|
17092
|
+
var import_jsx_runtime58 = require("react/jsx-runtime");
|
|
16898
17093
|
function CmsTextToolbar({ layout, color, colorPicker, inlineControls, structureControls, computedFontSize, computedLineHeight, computedFontFamily, computedTextAlign, onLayoutChange, onColorChange, onReset }) {
|
|
16899
17094
|
const toolbarRef = (0, import_react38.useRef)(null);
|
|
16900
17095
|
const [hex, setHex] = (0, import_react38.useState)(color);
|
|
@@ -16946,7 +17141,7 @@ function CmsTextToolbar({ layout, color, colorPicker, inlineControls, structureC
|
|
|
16946
17141
|
const tooltipProps = { slotProps: { popper: { sx: { zIndex: 1800 } } } };
|
|
16947
17142
|
const inputSx = { width: 52, flexShrink: 0, "& .MuiInputBase-root": { height: 30 }, "& input": { py: 0.5, px: 0.75, fontSize: 12 } };
|
|
16948
17143
|
const groupSx = { display: "flex", alignItems: "center", gap: 0.5 };
|
|
16949
|
-
return /* @__PURE__ */ (0,
|
|
17144
|
+
return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
|
|
16950
17145
|
import_material2.Box,
|
|
16951
17146
|
{
|
|
16952
17147
|
ref: toolbarRef,
|
|
@@ -16955,8 +17150,8 @@ function CmsTextToolbar({ layout, color, colorPicker, inlineControls, structureC
|
|
|
16955
17150
|
"data-cms-text-toolbar": true,
|
|
16956
17151
|
sx: { display: "flex", flexDirection: "column", gap: 0.5, p: 0.75, border: "1px solid", borderColor: "divider", borderRadius: 1, bgcolor: "background.paper", boxShadow: 8, color: "text.primary", maxWidth: "100%" },
|
|
16957
17152
|
children: [
|
|
16958
|
-
/* @__PURE__ */ (0,
|
|
16959
|
-
/* @__PURE__ */ (0,
|
|
17153
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(import_material2.Box, { sx: { ...groupSx, flexWrap: "wrap", rowGap: 0.75, pb: 0.75, borderBottom: "1px solid", borderColor: "divider" }, children: [
|
|
17154
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
|
|
16960
17155
|
import_material2.Select,
|
|
16961
17156
|
{
|
|
16962
17157
|
size: "small",
|
|
@@ -16968,15 +17163,15 @@ function CmsTextToolbar({ layout, color, colorPicker, inlineControls, structureC
|
|
|
16968
17163
|
sx: { width: "auto", maxWidth: 160, height: 30, fontSize: 12, "& .MuiSelect-select": { py: 0.5, pl: 1, pr: "24px !important", overflow: "hidden", textOverflow: "ellipsis" }, "& .MuiSelect-icon": { right: 2 } },
|
|
16969
17164
|
onChange: (event) => onLayoutChange({ fontFamily: event.target.value || void 0 }),
|
|
16970
17165
|
children: [
|
|
16971
|
-
!selectedFont && /* @__PURE__ */ (0,
|
|
16972
|
-
Object.entries(CMS_TEXT_FONTS).map(([value4, label]) => /* @__PURE__ */ (0,
|
|
17166
|
+
!selectedFont && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_material2.MenuItem, { value: "", sx: { fontSize: 12 }, children: fontLabel }),
|
|
17167
|
+
Object.entries(CMS_TEXT_FONTS).map(([value4, label]) => /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_material2.MenuItem, { value: value4, sx: { fontFamily: value4, fontSize: 13 }, children: label }, value4))
|
|
16973
17168
|
]
|
|
16974
17169
|
}
|
|
16975
17170
|
),
|
|
16976
17171
|
structureControls
|
|
16977
17172
|
] }),
|
|
16978
|
-
/* @__PURE__ */ (0,
|
|
16979
|
-
/* @__PURE__ */ (0,
|
|
17173
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(import_material2.Box, { sx: { ...groupSx, flexWrap: "wrap", justifyContent: "space-between" }, children: [
|
|
17174
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_material2.Tooltip, { title: "C\u1EE1 ch\u1EEF (px)", ...tooltipProps, children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
16980
17175
|
import_material2.TextField,
|
|
16981
17176
|
{
|
|
16982
17177
|
size: "small",
|
|
@@ -16997,13 +17192,13 @@ function CmsTextToolbar({ layout, color, colorPicker, inlineControls, structureC
|
|
|
16997
17192
|
}
|
|
16998
17193
|
}
|
|
16999
17194
|
) }),
|
|
17000
|
-
/* @__PURE__ */ (0,
|
|
17195
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_material2.Tooltip, { title: "Chi\u1EC1u cao d\xF2ng (l\u1EA7n c\u1EE1 ch\u1EEF)", ...tooltipProps, children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
17001
17196
|
import_material2.TextField,
|
|
17002
17197
|
{
|
|
17003
17198
|
size: "small",
|
|
17004
17199
|
type: "number",
|
|
17005
17200
|
value: lineHeight,
|
|
17006
|
-
slotProps: { input: { startAdornment: /* @__PURE__ */ (0,
|
|
17201
|
+
slotProps: { input: { startAdornment: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_material2.InputAdornment, { position: "start", sx: { mr: 0 }, children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_material2.SvgIcon, { sx: { fontSize: 17 }, children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("path", { d: "M3 4 0 7h2v10H0l3 3 3-3H4V7h2L3 4zm5 2h16v2H8zm0 5h16v2H8zm0 5h16v2H8z" }) }) }) }, htmlInput: { "aria-label": "Chi\u1EC1u cao d\xF2ng", min: 0.5, max: 5, step: 0.1 } },
|
|
17007
17202
|
sx: { ...inputSx, width: 78, "& .MuiInputBase-root": { height: 30, pl: 0.75 } },
|
|
17008
17203
|
onChange: (event) => {
|
|
17009
17204
|
dirtyLineHeight.current = true;
|
|
@@ -17018,8 +17213,8 @@ function CmsTextToolbar({ layout, color, colorPicker, inlineControls, structureC
|
|
|
17018
17213
|
}
|
|
17019
17214
|
}
|
|
17020
17215
|
) }),
|
|
17021
|
-
/* @__PURE__ */ (0,
|
|
17022
|
-
/* @__PURE__ */ (0,
|
|
17216
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_material2.Box, { sx: groupSx, children: inlineControls }),
|
|
17217
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_material2.Box, { sx: { ...groupSx, borderLeft: "1px solid", borderColor: "divider", pl: 1, ml: 0.5 }, children: [["left", "C\u0103n tr\xE1i"], ["center", "C\u0103n gi\u1EEFa"], ["right", "C\u0103n ph\u1EA3i"]].map(([align, label]) => /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_material2.Tooltip, { title: label, ...tooltipProps, children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
17023
17218
|
import_material2.ToggleButton,
|
|
17024
17219
|
{
|
|
17025
17220
|
value: align,
|
|
@@ -17028,10 +17223,10 @@ function CmsTextToolbar({ layout, color, colorPicker, inlineControls, structureC
|
|
|
17028
17223
|
onMouseDown: (event) => event.preventDefault(),
|
|
17029
17224
|
onClick: () => onLayoutChange({ textAlign: align }),
|
|
17030
17225
|
sx: { width: 30, minWidth: 30, height: 30, p: 0.5, border: 0 },
|
|
17031
|
-
children: /* @__PURE__ */ (0,
|
|
17226
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_material2.SvgIcon, { sx: { fontSize: 19 }, children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("path", { d: align === "left" ? "M3 4h18v2H3zm0 5h12v2H3zm0 5h18v2H3zm0 5h12v2H3z" : align === "right" ? "M3 4h18v2H3zm6 5h12v2H9zm-6 5h18v2H3zm6 5h12v2H9z" : "M3 4h18v2H3zm3 5h12v2H6zm-3 5h18v2H3zm3 5h12v2H6z" }) })
|
|
17032
17227
|
}
|
|
17033
17228
|
) }, align)) }),
|
|
17034
|
-
colorPicker || /* @__PURE__ */ (0,
|
|
17229
|
+
colorPicker || /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
17035
17230
|
import_material2.TextField,
|
|
17036
17231
|
{
|
|
17037
17232
|
size: "small",
|
|
@@ -17048,13 +17243,111 @@ function CmsTextToolbar({ layout, color, colorPicker, inlineControls, structureC
|
|
|
17048
17243
|
}
|
|
17049
17244
|
}
|
|
17050
17245
|
),
|
|
17051
|
-
/* @__PURE__ */ (0,
|
|
17246
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_material2.Tooltip, { title: "\u0110\u1EB7t l\u1EA1i \u0111\u1ECBnh d\u1EA1ng ch\u1EEF", ...tooltipProps, children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_material2.IconButton, { size: "small", "aria-label": "\u0110\u1EB7t l\u1EA1i \u0111\u1ECBnh d\u1EA1ng ch\u1EEF", onClick: onReset, sx: { width: 30, height: 30 }, children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_material2.SvgIcon, { sx: { fontSize: 19 }, children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("path", { d: "m18 4 3 3-9 9-3-3 9-9zM8 14l3 3-3 3H4l-3-3 4-4 3 1zm4 6h10v2H10z" }) }) }) })
|
|
17052
17247
|
] })
|
|
17053
17248
|
]
|
|
17054
17249
|
}
|
|
17055
17250
|
);
|
|
17056
17251
|
}
|
|
17057
17252
|
|
|
17253
|
+
// src/shared/button-link-control.tsx
|
|
17254
|
+
var import_react39 = require("react");
|
|
17255
|
+
var import_material3 = require("@mui/material");
|
|
17256
|
+
var import_jsx_runtime59 = require("react/jsx-runtime");
|
|
17257
|
+
function CmsButtonLinkControl({ field, content, onChange }) {
|
|
17258
|
+
const [anchor, setAnchor] = (0, import_react39.useState)(null);
|
|
17259
|
+
const [href, setHref] = (0, import_react39.useState)("");
|
|
17260
|
+
const [type, setType] = (0, import_react39.useState)("internal");
|
|
17261
|
+
const [error, setError] = (0, import_react39.useState)("");
|
|
17262
|
+
if (!isCmsButtonField(field)) return null;
|
|
17263
|
+
const apply = (value4) => {
|
|
17264
|
+
onChange(cmsButtonLinkChanges(content, field, value4, type));
|
|
17265
|
+
setAnchor(null);
|
|
17266
|
+
};
|
|
17267
|
+
return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(import_jsx_runtime59.Fragment, { children: [
|
|
17268
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
|
|
17269
|
+
import_material3.IconButton,
|
|
17270
|
+
{
|
|
17271
|
+
size: "small",
|
|
17272
|
+
"aria-label": "Li\xEAn k\u1EBFt n\xFAt",
|
|
17273
|
+
title: "S\u1EEDa li\xEAn k\u1EBFt c\u1EE7a n\xFAt",
|
|
17274
|
+
sx: { width: 30, height: 30 },
|
|
17275
|
+
onMouseDown: (event) => event.preventDefault(),
|
|
17276
|
+
onClick: (event) => {
|
|
17277
|
+
const current = getCmsButtonLink(content, field);
|
|
17278
|
+
setHref(current.value);
|
|
17279
|
+
setType(current.type);
|
|
17280
|
+
setError("");
|
|
17281
|
+
setAnchor(event.currentTarget);
|
|
17282
|
+
},
|
|
17283
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_material3.SvgIcon, { sx: { fontSize: 19 }, children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("path", { d: "M3.9 12a4.1 4.1 0 0 1 4.1-4.1h4V6H8a6 6 0 0 0 0 12h4v-1.9H8A4.1 4.1 0 0 1 3.9 12ZM9 13h6v-2H9v2Zm7-7h-4v1.9h4a4.1 4.1 0 0 1 0 8.2h-4V18h4a6 6 0 0 0 0-12Z" }) })
|
|
17284
|
+
}
|
|
17285
|
+
),
|
|
17286
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
|
|
17287
|
+
import_material3.Popover,
|
|
17288
|
+
{
|
|
17289
|
+
open: Boolean(anchor),
|
|
17290
|
+
anchorEl: anchor,
|
|
17291
|
+
container: anchor?.ownerDocument.body,
|
|
17292
|
+
disableScrollLock: true,
|
|
17293
|
+
sx: { zIndex: 1600 },
|
|
17294
|
+
onClose: () => setAnchor(null),
|
|
17295
|
+
anchorOrigin: { vertical: "bottom", horizontal: "left" },
|
|
17296
|
+
slotProps: { paper: { sx: { p: 1.5, width: 320, maxWidth: "calc(100% - 32px)" } } },
|
|
17297
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_material3.Box, { component: "form", onSubmit: (event) => {
|
|
17298
|
+
event.preventDefault();
|
|
17299
|
+
const value4 = href.trim();
|
|
17300
|
+
if (value4 && !safeCmsButtonHref(value4, type)) {
|
|
17301
|
+
setError(type === "external" ? "Nh\u1EADp URL b\u1EAFt \u0111\u1EA7u b\u1EB1ng https:// ho\u1EB7c http://." : "Nh\u1EADp \u0111\u01B0\u1EDDng d\u1EABn b\u1EAFt \u0111\u1EA7u b\u1EB1ng / ho\u1EB7c #.");
|
|
17302
|
+
return;
|
|
17303
|
+
}
|
|
17304
|
+
apply(value4);
|
|
17305
|
+
}, children: /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(import_material3.Stack, { spacing: 1.5, children: [
|
|
17306
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_material3.Typography, { variant: "subtitle2", children: "Li\xEAn k\u1EBFt n\xFAt" }),
|
|
17307
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(
|
|
17308
|
+
import_material3.TextField,
|
|
17309
|
+
{
|
|
17310
|
+
select: true,
|
|
17311
|
+
size: "small",
|
|
17312
|
+
label: "Lo\u1EA1i li\xEAn k\u1EBFt",
|
|
17313
|
+
value: type,
|
|
17314
|
+
onChange: (event) => {
|
|
17315
|
+
setType(event.target.value);
|
|
17316
|
+
setError("");
|
|
17317
|
+
},
|
|
17318
|
+
slotProps: { select: { MenuProps: { disableScrollLock: true, container: anchor?.ownerDocument.body, sx: { zIndex: 1700 } } } },
|
|
17319
|
+
children: [
|
|
17320
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_material3.MenuItem, { value: "internal", children: "Internal \u2014 trong website" }),
|
|
17321
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_material3.MenuItem, { value: "external", children: "External \u2014 website kh\xE1c" })
|
|
17322
|
+
]
|
|
17323
|
+
}
|
|
17324
|
+
),
|
|
17325
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
|
|
17326
|
+
import_material3.TextField,
|
|
17327
|
+
{
|
|
17328
|
+
autoFocus: true,
|
|
17329
|
+
size: "small",
|
|
17330
|
+
label: "\u0110\u01B0\u1EDDng d\u1EABn c\u1EE7a n\xFAt",
|
|
17331
|
+
value: href,
|
|
17332
|
+
onChange: (event) => {
|
|
17333
|
+
setHref(event.target.value);
|
|
17334
|
+
setError("");
|
|
17335
|
+
},
|
|
17336
|
+
error: Boolean(error),
|
|
17337
|
+
placeholder: type === "external" ? "https://example.com/" : "/lien-he/ ho\u1EB7c #register",
|
|
17338
|
+
helperText: error || (type === "external" ? "M\u1EDF li\xEAn k\u1EBFt trong tab m\u1EDBi." : "M\u1EDF li\xEAn k\u1EBFt trong tab hi\u1EC7n t\u1EA1i.")
|
|
17339
|
+
}
|
|
17340
|
+
),
|
|
17341
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(import_material3.Stack, { direction: "row", justifyContent: "space-between", children: [
|
|
17342
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_material3.Button, { size: "small", color: "inherit", onClick: () => apply(""), children: "B\u1ECF li\xEAn k\u1EBFt" }),
|
|
17343
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_material3.Button, { size: "small", variant: "contained", type: "submit", children: "\xC1p d\u1EE5ng" })
|
|
17344
|
+
] })
|
|
17345
|
+
] }) })
|
|
17346
|
+
}
|
|
17347
|
+
)
|
|
17348
|
+
] });
|
|
17349
|
+
}
|
|
17350
|
+
|
|
17058
17351
|
// src/index.ts
|
|
17059
17352
|
var minimalUiComponents = [
|
|
17060
17353
|
...minimalUiBlocks,
|
|
@@ -17074,7 +17367,7 @@ var wikexCmsBlocks = sourceCmsBlocks.map((block) => {
|
|
|
17074
17367
|
const Renderer2 = cmsBlock.Renderer;
|
|
17075
17368
|
return {
|
|
17076
17369
|
...cmsBlock,
|
|
17077
|
-
Renderer: (props) => (0,
|
|
17370
|
+
Renderer: (props) => (0, import_react40.createElement)(
|
|
17078
17371
|
CmsTextColorProvider,
|
|
17079
17372
|
{
|
|
17080
17373
|
content: props.content,
|
|
@@ -17082,7 +17375,7 @@ var wikexCmsBlocks = sourceCmsBlocks.map((block) => {
|
|
|
17082
17375
|
onSelectText: props.onSelectText,
|
|
17083
17376
|
selectedTextField: props.selectedTextField
|
|
17084
17377
|
},
|
|
17085
|
-
(0,
|
|
17378
|
+
(0, import_react40.createElement)(CmsElementProvider, { ...props, children: (0, import_react40.createElement)(Renderer2, props) })
|
|
17086
17379
|
)
|
|
17087
17380
|
};
|
|
17088
17381
|
});
|
|
@@ -17092,12 +17385,17 @@ var wikexCmsBlocks = sourceCmsBlocks.map((block) => {
|
|
|
17092
17385
|
CMS_LIST_MARKERS,
|
|
17093
17386
|
CMS_TEXT_FONTS,
|
|
17094
17387
|
CMS_TEXT_LAYOUT_SUFFIX,
|
|
17388
|
+
CmsButtonLinkControl,
|
|
17095
17389
|
CmsTextToolbar,
|
|
17096
17390
|
FeesTable,
|
|
17097
17391
|
applyCmsTextLayout,
|
|
17392
|
+
cmsButtonLinkChanges,
|
|
17098
17393
|
cmsListAnchor,
|
|
17099
17394
|
cmsListMarkerType,
|
|
17100
17395
|
cmsTextLayoutStyle,
|
|
17396
|
+
getCmsButtonLink,
|
|
17397
|
+
isCmsButtonField,
|
|
17398
|
+
isCmsHeaderButtonField,
|
|
17101
17399
|
migrateWikexChromeContent,
|
|
17102
17400
|
minimalMarketingBlocks,
|
|
17103
17401
|
minimalUiBlocks,
|
|
@@ -17110,6 +17408,7 @@ var wikexCmsBlocks = sourceCmsBlocks.map((block) => {
|
|
|
17110
17408
|
rebaseCmsRichText,
|
|
17111
17409
|
rebaseCmsTextLayouts,
|
|
17112
17410
|
renderCmsRichText,
|
|
17411
|
+
safeCmsButtonHref,
|
|
17113
17412
|
safeCmsTextHref,
|
|
17114
17413
|
siteChromeBlocks,
|
|
17115
17414
|
wikexCmsBlocks,
|