@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.mjs
CHANGED
|
@@ -4721,6 +4721,105 @@ function chromeItemHref(item) {
|
|
|
4721
4721
|
return item.hrefEnabled === "false" ? void 0 : safeCmsTextHref(item.href);
|
|
4722
4722
|
}
|
|
4723
4723
|
|
|
4724
|
+
// src/shared/button-links.ts
|
|
4725
|
+
function isCmsHeaderButtonField(field) {
|
|
4726
|
+
return /^(vi|en)\.header\.(login|register)$/.test(field);
|
|
4727
|
+
}
|
|
4728
|
+
function downloadButtonField(field) {
|
|
4729
|
+
return field.match(/^((vi|en)\.landing\.download\.(appStore|googlePlay|web))(?:Prefix)?$/)?.[1];
|
|
4730
|
+
}
|
|
4731
|
+
function footerButtonField(field) {
|
|
4732
|
+
const match = field.match(/^((vi|en)\.footer\.downloads)\.(\d+)\.(label|prefix)$/);
|
|
4733
|
+
return match ? { listField: match[1], index: Number(match[3]) } : void 0;
|
|
4734
|
+
}
|
|
4735
|
+
function isCmsButtonField(field) {
|
|
4736
|
+
return isCmsHeaderButtonField(field) || Boolean(downloadButtonField(field) || footerButtonField(field));
|
|
4737
|
+
}
|
|
4738
|
+
function safeCmsButtonHref(value4, type) {
|
|
4739
|
+
const href = safeCmsTextHref(value4);
|
|
4740
|
+
if (!href) return void 0;
|
|
4741
|
+
return (type === "external" ? /^https?:\/\//i : /^(?:\/(?!\/)|#)/).test(href) ? href : void 0;
|
|
4742
|
+
}
|
|
4743
|
+
function getCmsButtonLink(content, field) {
|
|
4744
|
+
const footer2 = footerButtonField(field);
|
|
4745
|
+
const item = footer2 ? parseChromeItems(content[footer2.listField])?.[footer2.index] : void 0;
|
|
4746
|
+
const key = downloadButtonField(field) ?? field;
|
|
4747
|
+
const value4 = footer2 ? item?.href ?? "" : String(content[`${key}Href`] ?? (field.endsWith(".register") ? "/#register" : ""));
|
|
4748
|
+
const storedType = footer2 ? item?.linkType : content[`${key}LinkType`];
|
|
4749
|
+
const type = storedType === "external" || storedType !== "internal" && /^https?:\/\//i.test(value4) ? "external" : "internal";
|
|
4750
|
+
return { type, value: value4, href: item?.hrefEnabled === "false" ? void 0 : safeCmsButtonHref(value4, type) };
|
|
4751
|
+
}
|
|
4752
|
+
function cmsButtonLinkChanges(content, field, value4, type) {
|
|
4753
|
+
if (!isCmsButtonField(field)) return {};
|
|
4754
|
+
const footer2 = footerButtonField(field);
|
|
4755
|
+
if (footer2) {
|
|
4756
|
+
const items = parseChromeItems(content[footer2.listField]);
|
|
4757
|
+
if (!items?.[footer2.index]) return {};
|
|
4758
|
+
items[footer2.index] = { ...items[footer2.index], href: value4, linkType: type, hrefEnabled: String(Boolean(value4)) };
|
|
4759
|
+
return { [footer2.listField]: JSON.stringify(items) };
|
|
4760
|
+
}
|
|
4761
|
+
const key = downloadButtonField(field) ?? field;
|
|
4762
|
+
return { [`${key}Href`]: value4, [`${key}LinkType`]: type };
|
|
4763
|
+
}
|
|
4764
|
+
var cmsDownloadButtonLinkFields = ["vi", "en"].flatMap(
|
|
4765
|
+
(language) => ["appStore", "googlePlay", "web"].flatMap((platform) => {
|
|
4766
|
+
const field = `${language}.landing.download.${platform}`;
|
|
4767
|
+
const label = { appStore: "App Store", googlePlay: "Google Play", web: "Web Trading" }[platform];
|
|
4768
|
+
const group = language === "vi" ? "Ti\u1EBFng Vi\u1EC7t" : "English";
|
|
4769
|
+
return [
|
|
4770
|
+
{
|
|
4771
|
+
key: `${field}LinkType`,
|
|
4772
|
+
label: `${label} \u2014 lo\u1EA1i li\xEAn k\u1EBFt`,
|
|
4773
|
+
type: "select",
|
|
4774
|
+
group,
|
|
4775
|
+
options: [{ value: "internal", label: "Internal \u2014 trong website" }, { value: "external", label: "External \u2014 website kh\xE1c (tab m\u1EDBi)" }]
|
|
4776
|
+
},
|
|
4777
|
+
{
|
|
4778
|
+
key: `${field}Href`,
|
|
4779
|
+
label: `${label} \u2014 \u0111\u01B0\u1EDDng d\u1EABn`,
|
|
4780
|
+
type: "link",
|
|
4781
|
+
group,
|
|
4782
|
+
helperText: "Internal: /duong-dan/ ho\u1EB7c #muc. External: https://\u2026 M\u1EDF trong tab m\u1EDBi."
|
|
4783
|
+
}
|
|
4784
|
+
];
|
|
4785
|
+
})
|
|
4786
|
+
);
|
|
4787
|
+
var cmsDownloadButtonLinkDefaults = Object.fromEntries(["vi", "en"].flatMap(
|
|
4788
|
+
(language) => ["appStore", "googlePlay", "web"].flatMap((platform) => [
|
|
4789
|
+
[`${language}.landing.download.${platform}LinkType`, "internal"],
|
|
4790
|
+
[`${language}.landing.download.${platform}Href`, ""]
|
|
4791
|
+
])
|
|
4792
|
+
));
|
|
4793
|
+
var cmsHeaderButtonLinkFields = ["vi", "en"].flatMap(
|
|
4794
|
+
(language) => ["login", "register"].flatMap((action) => {
|
|
4795
|
+
const field = `${language}.header.${action}`;
|
|
4796
|
+
const label = action === "login" ? "\u0110\u0103ng nh\u1EADp" : "M\u1EDF T\xE0i kho\u1EA3n";
|
|
4797
|
+
const group = language === "vi" ? "Ti\u1EBFng Vi\u1EC7t" : "English";
|
|
4798
|
+
return [
|
|
4799
|
+
{
|
|
4800
|
+
key: `${field}LinkType`,
|
|
4801
|
+
label: `${label} \u2014 lo\u1EA1i li\xEAn k\u1EBFt`,
|
|
4802
|
+
type: "select",
|
|
4803
|
+
group,
|
|
4804
|
+
options: [{ value: "internal", label: "Internal \u2014 trong website" }, { value: "external", label: "External \u2014 website kh\xE1c (tab m\u1EDBi)" }]
|
|
4805
|
+
},
|
|
4806
|
+
{
|
|
4807
|
+
key: `${field}Href`,
|
|
4808
|
+
label: `${label} \u2014 \u0111\u01B0\u1EDDng d\u1EABn`,
|
|
4809
|
+
type: "link",
|
|
4810
|
+
group,
|
|
4811
|
+
helperText: "Internal: /duong-dan/ ho\u1EB7c #muc. External: https://\u2026 M\u1EDF trong tab m\u1EDBi."
|
|
4812
|
+
}
|
|
4813
|
+
];
|
|
4814
|
+
})
|
|
4815
|
+
);
|
|
4816
|
+
var cmsHeaderButtonLinkDefaults = Object.fromEntries(["vi", "en"].flatMap(
|
|
4817
|
+
(language) => ["login", "register"].flatMap((action) => [
|
|
4818
|
+
[`${language}.header.${action}LinkType`, "internal"],
|
|
4819
|
+
[`${language}.header.${action}Href`, action === "register" ? "/#register" : ""]
|
|
4820
|
+
])
|
|
4821
|
+
));
|
|
4822
|
+
|
|
4724
4823
|
// src/shared/exact-text.tsx
|
|
4725
4824
|
import { createContext as createContext4, createElement as createElement2, isValidElement as isValidElement3, useContext as useContext4, useMemo as useMemo3 } from "react";
|
|
4726
4825
|
import { Fragment as Fragment5, jsx as jsx8, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
@@ -4799,7 +4898,7 @@ function ExactText({ cmsAs, children, style, cmsDefaultRichText, cmsField, ...pr
|
|
|
4799
4898
|
"data-cms-text-sized": sized ? "true" : void 0,
|
|
4800
4899
|
style: { ...style, ...layout, ...metadata.textAlign && host === "span" ? { display: "block" } : {}, ...entry.color ? { color: entry.color } : {} }
|
|
4801
4900
|
} : { style }
|
|
4802
|
-
}, entry ? renderCmsRichText(children, parseCmsTextLayout(entry.layout).richText ?? cmsDefaultRichText, cmsAs !== "a" && cmsAs !== "button" && !props.href) : children);
|
|
4901
|
+
}, entry ? renderCmsRichText(children, parseCmsTextLayout(entry.layout).richText ?? cmsDefaultRichText, cmsAs !== "a" && cmsAs !== "button" && !props.href && !isCmsButtonField(entry.field)) : children);
|
|
4803
4902
|
return /* @__PURE__ */ jsxs6(Fragment5, { children: [
|
|
4804
4903
|
listType && entry ? /* @__PURE__ */ jsx8(CmsTextList, { field: entry.field, type: listType, children: /* @__PURE__ */ jsx8("li", { children: rendered }) }) : listItem ? /* @__PURE__ */ jsx8("li", { "data-cms-list-item": props["data-cms-list-item"], children: rendered }) : rendered,
|
|
4805
4904
|
/* @__PURE__ */ jsx8(CmsAddedElements, { field: entry?.field })
|
|
@@ -5059,7 +5158,7 @@ function WebglBorder(props) {
|
|
|
5059
5158
|
useEffect3(() => {
|
|
5060
5159
|
const fx = fxRef.current;
|
|
5061
5160
|
const button = fx?.parentElement;
|
|
5062
|
-
if (!fx || !(button instanceof HTMLButtonElement)) return;
|
|
5161
|
+
if (!fx || !(button instanceof HTMLButtonElement || button instanceof HTMLAnchorElement)) return;
|
|
5063
5162
|
const effectElement = fx;
|
|
5064
5163
|
ensurePoolLifecycle();
|
|
5065
5164
|
let slot = null;
|
|
@@ -5306,15 +5405,27 @@ var SpecularButton = ({
|
|
|
5306
5405
|
className = "",
|
|
5307
5406
|
type = "button",
|
|
5308
5407
|
ariaHidden,
|
|
5309
|
-
tabIndex
|
|
5408
|
+
tabIndex,
|
|
5409
|
+
href,
|
|
5410
|
+
target,
|
|
5411
|
+
rel,
|
|
5412
|
+
labelField,
|
|
5413
|
+
"data-cms-button-field": buttonField
|
|
5310
5414
|
}) => {
|
|
5311
5415
|
const animationDuration = Math.max(Math.PI * 2 / Math.max(speed, 0.01), 1.2);
|
|
5416
|
+
const Tag = href ? "a" : "button";
|
|
5312
5417
|
return /* @__PURE__ */ jsxs7(
|
|
5313
|
-
|
|
5418
|
+
Tag,
|
|
5314
5419
|
{
|
|
5315
|
-
type,
|
|
5316
|
-
|
|
5317
|
-
onClick
|
|
5420
|
+
...href ? { href, target, rel, "aria-disabled": disabled || void 0 } : { type, disabled },
|
|
5421
|
+
"data-cms-button-field": buttonField,
|
|
5422
|
+
onClick: (event) => {
|
|
5423
|
+
if (disabled) {
|
|
5424
|
+
event.preventDefault();
|
|
5425
|
+
return;
|
|
5426
|
+
}
|
|
5427
|
+
onClick?.(event);
|
|
5428
|
+
},
|
|
5318
5429
|
"aria-hidden": ariaHidden,
|
|
5319
5430
|
tabIndex,
|
|
5320
5431
|
className: `specular-button specular-button--${size}${className ? ` ${className}` : ""}`,
|
|
@@ -5349,7 +5460,7 @@ var SpecularButton = ({
|
|
|
5349
5460
|
autoAnimate
|
|
5350
5461
|
}
|
|
5351
5462
|
),
|
|
5352
|
-
/* @__PURE__ */ jsx10(ExactText, { cmsAs: "span", className: "specular-button__label", children })
|
|
5463
|
+
/* @__PURE__ */ jsx10(ExactText, { cmsAs: "span", cmsField: labelField, className: "specular-button__label", children })
|
|
5353
5464
|
]
|
|
5354
5465
|
}
|
|
5355
5466
|
);
|
|
@@ -5376,48 +5487,48 @@ var dropOut = keyframes([
|
|
|
5376
5487
|
`from{opacity:1;transform:translateY(0);}to{opacity:0;transform:translateY(-12px);}`
|
|
5377
5488
|
]);
|
|
5378
5489
|
var HeaderShell = styled3.header.withConfig({
|
|
5379
|
-
componentId: "sc-
|
|
5490
|
+
componentId: "sc-4d456d17-0"
|
|
5380
5491
|
})([
|
|
5381
5492
|
`position:sticky;top:0;z-index:100;display:flex;height:64px;padding:12px 20px;align-items:center;justify-content:center;background:`,
|
|
5382
5493
|
`;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%);}`
|
|
5383
5494
|
], ({ theme }) => theme.colors.background.canvas);
|
|
5384
5495
|
var HeaderInner = styled3.div.withConfig({
|
|
5385
|
-
componentId: "sc-
|
|
5496
|
+
componentId: "sc-4d456d17-1"
|
|
5386
5497
|
})([
|
|
5387
5498
|
`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;}`
|
|
5388
5499
|
]);
|
|
5389
5500
|
var BrandGroup = styled3.div.withConfig({
|
|
5390
|
-
componentId: "sc-
|
|
5501
|
+
componentId: "sc-4d456d17-2"
|
|
5391
5502
|
})([
|
|
5392
5503
|
`display:flex;flex:0 0 auto;align-items:center;gap:16px;`
|
|
5393
5504
|
]);
|
|
5394
5505
|
var WikiBrand = styled3(Link3).withConfig({
|
|
5395
|
-
componentId: "sc-
|
|
5506
|
+
componentId: "sc-4d456d17-3"
|
|
5396
5507
|
})([
|
|
5397
5508
|
`display:inline-flex;flex:0 0 auto;align-items:center;`
|
|
5398
5509
|
]);
|
|
5399
5510
|
var WikiLogo = styled3(Image).withConfig({
|
|
5400
|
-
componentId: "sc-
|
|
5511
|
+
componentId: "sc-4d456d17-4"
|
|
5401
5512
|
})([
|
|
5402
5513
|
`display:block;width:142px;height:auto;@media (max-width:620px){width:84px;}`
|
|
5403
5514
|
]);
|
|
5404
5515
|
var PartnerBrand = styled3.a.withConfig({
|
|
5405
|
-
componentId: "sc-
|
|
5516
|
+
componentId: "sc-4d456d17-5"
|
|
5406
5517
|
})([
|
|
5407
5518
|
`display:inline-flex;align-items:center;gap:7.2px;color:#009ee3;@media (max-width:767px){display:inline-flex;}`
|
|
5408
5519
|
]);
|
|
5409
5520
|
var MxvLogo = styled3(Image).withConfig({
|
|
5410
|
-
componentId: "sc-
|
|
5521
|
+
componentId: "sc-4d456d17-6"
|
|
5411
5522
|
})([
|
|
5412
5523
|
`display:block;width:95px;height:auto;:root[data-theme="dark"] &{filter:brightness(0) invert(1);}@media (max-width:620px){width:95px;}`
|
|
5413
5524
|
]);
|
|
5414
5525
|
var DesktopNavigation = styled3.nav.withConfig({
|
|
5415
|
-
componentId: "sc-
|
|
5526
|
+
componentId: "sc-4d456d17-7"
|
|
5416
5527
|
})([
|
|
5417
5528
|
`display:flex;align-items:center;gap:16px;@media (max-width:1279px){display:none;}`
|
|
5418
5529
|
]);
|
|
5419
5530
|
var NavigationLink = styled3(Link3).withConfig({
|
|
5420
|
-
componentId: "sc-
|
|
5531
|
+
componentId: "sc-4d456d17-8"
|
|
5421
5532
|
})([
|
|
5422
5533
|
`position:relative;color:`,
|
|
5423
5534
|
`;font-size:14px;font-weight:700;line-height:18px;white-space:nowrap;transition:color 160ms ease;&:hover,&:focus-visible{color:`,
|
|
@@ -5425,14 +5536,14 @@ var NavigationLink = styled3(Link3).withConfig({
|
|
|
5425
5536
|
`;}@media (min-width:1280px) and (max-width:1439px){font-size:11px;}`
|
|
5426
5537
|
], ({ theme }) => theme.colors.text.secondary, ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.accent.primary);
|
|
5427
5538
|
var ProductsMenuTrigger = styled3.button.withConfig({
|
|
5428
|
-
componentId: "sc-
|
|
5539
|
+
componentId: "sc-4d456d17-9"
|
|
5429
5540
|
})([
|
|
5430
5541
|
`display:inline-flex;align-items:center;gap:4px;padding:0;border:0;color:`,
|
|
5431
5542
|
`;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:`,
|
|
5432
5543
|
`;}&: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;}}`
|
|
5433
5544
|
], ({ theme }) => theme.colors.text.secondary, ({ theme }) => theme.colors.accent.primary);
|
|
5434
5545
|
var ProductsMenuContent = styled3(DropdownMenu.Content).withConfig({
|
|
5435
|
-
componentId: "sc-
|
|
5546
|
+
componentId: "sc-4d456d17-10"
|
|
5436
5547
|
})([
|
|
5437
5548
|
`z-index:300;width:206px;max-width:var(--radix-dropdown-menu-content-available-width);padding:8px;border:1px solid `,
|
|
5438
5549
|
`;border-radius:8px;color:`,
|
|
@@ -5442,42 +5553,42 @@ var ProductsMenuContent = styled3(DropdownMenu.Content).withConfig({
|
|
|
5442
5553
|
`;}`
|
|
5443
5554
|
], ({ 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);
|
|
5444
5555
|
var ProductsMenuItem = styled3(DropdownMenu.Item).withConfig({
|
|
5445
|
-
componentId: "sc-
|
|
5556
|
+
componentId: "sc-4d456d17-11"
|
|
5446
5557
|
})([
|
|
5447
5558
|
`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:`,
|
|
5448
5559
|
`;background:transparent;outline:none;}`
|
|
5449
5560
|
], ({ theme }) => theme.colors.accent.primary);
|
|
5450
5561
|
var MobileNavigation2 = styled3.div.withConfig({
|
|
5451
|
-
componentId: "sc-
|
|
5562
|
+
componentId: "sc-4d456d17-12"
|
|
5452
5563
|
})([
|
|
5453
5564
|
`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;}`
|
|
5454
5565
|
]);
|
|
5455
5566
|
var MobileThemeToggle = styled3.div.withConfig({
|
|
5456
|
-
componentId: "sc-
|
|
5567
|
+
componentId: "sc-4d456d17-13"
|
|
5457
5568
|
})([
|
|
5458
5569
|
`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;}}}`
|
|
5459
5570
|
]);
|
|
5460
5571
|
var MobileLanguageToggle = styled3.div.withConfig({
|
|
5461
|
-
componentId: "sc-
|
|
5572
|
+
componentId: "sc-4d456d17-14"
|
|
5462
5573
|
})([
|
|
5463
5574
|
`display:none;align-items:center;@media (max-width:767px){display:flex;}`
|
|
5464
5575
|
]);
|
|
5465
5576
|
var MobileMenuTrigger = styled3.button.withConfig({
|
|
5466
|
-
componentId: "sc-
|
|
5577
|
+
componentId: "sc-4d456d17-15"
|
|
5467
5578
|
})([
|
|
5468
5579
|
`display:inline-flex;width:42px;height:42px;align-items:center;justify-content:center;border:0;border-radius:9999px;color:`,
|
|
5469
5580
|
`;background:transparent;cursor:pointer;transition:background-color 160ms ease;&:hover,&[data-state="open"]{background:`,
|
|
5470
5581
|
`;}@media (max-width:620px){width:24px;height:24px;border-radius:4px;svg{flex-shrink:0;}}`
|
|
5471
5582
|
], ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.background.hover);
|
|
5472
5583
|
var MobileDrawerOverlay = styled3(Dialog.Overlay).withConfig({
|
|
5473
|
-
componentId: "sc-
|
|
5584
|
+
componentId: "sc-4d456d17-16"
|
|
5474
5585
|
})([
|
|
5475
5586
|
`position:fixed;z-index:200;inset:0;background:rgb(0 0 0 / 48%);backdrop-filter:blur(2px);&[data-state="open"]{animation:`,
|
|
5476
5587
|
` 220ms ease-out;}&[data-state="closed"]{animation:`,
|
|
5477
5588
|
` 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);}`
|
|
5478
5589
|
], fadeIn, fadeOut);
|
|
5479
5590
|
var MobileDrawerContent = styled3(Dialog.Content).withConfig({
|
|
5480
|
-
componentId: "sc-
|
|
5591
|
+
componentId: "sc-4d456d17-17"
|
|
5481
5592
|
})([
|
|
5482
5593
|
`position:fixed;z-index:201;top:0;right:0;width:320px;max-width:calc(100% - 24px);height:100vh;padding:20px;overflow-y:auto;color:`,
|
|
5483
5594
|
`;background:`,
|
|
@@ -5488,29 +5599,29 @@ var MobileDrawerContent = styled3(Dialog.Content).withConfig({
|
|
|
5488
5599
|
` 180ms ease-in;}}`
|
|
5489
5600
|
], ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.background.canvas, slideIn, slideOut, dropIn, dropOut);
|
|
5490
5601
|
var MobileDrawerHeader = styled3.div.withConfig({
|
|
5491
|
-
componentId: "sc-
|
|
5602
|
+
componentId: "sc-4d456d17-18"
|
|
5492
5603
|
})([
|
|
5493
5604
|
`display:flex;min-height:44px;margin-bottom:24px;align-items:center;justify-content:space-between;gap:16px;@media (max-width:767px){display:none;}`
|
|
5494
5605
|
]);
|
|
5495
5606
|
var MobileDrawerTitle = styled3(Dialog.Title).withConfig({
|
|
5496
|
-
componentId: "sc-
|
|
5607
|
+
componentId: "sc-4d456d17-19"
|
|
5497
5608
|
})([
|
|
5498
5609
|
`margin:0;font-size:20px;font-weight:700;line-height:28px;`
|
|
5499
5610
|
]);
|
|
5500
5611
|
var MobileDrawerClose = styled3(Dialog.Close).withConfig({
|
|
5501
|
-
componentId: "sc-
|
|
5612
|
+
componentId: "sc-4d456d17-20"
|
|
5502
5613
|
})([
|
|
5503
5614
|
`display:inline-flex;width:40px;height:40px;flex:0 0 40px;align-items:center;justify-content:center;border:0;border-radius:50%;color:`,
|
|
5504
5615
|
`;background:transparent;cursor:pointer;&:hover{background:`,
|
|
5505
5616
|
`;}`
|
|
5506
5617
|
], ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.background.hover);
|
|
5507
5618
|
var MobileDrawerActions = styled3.div.withConfig({
|
|
5508
|
-
componentId: "sc-
|
|
5619
|
+
componentId: "sc-4d456d17-21"
|
|
5509
5620
|
})([
|
|
5510
5621
|
`display:none;@media (max-width:767px){display:grid;width:100%;margin-bottom:8px;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}`
|
|
5511
5622
|
]);
|
|
5512
5623
|
var MobileMenuPanel = styled3.nav.withConfig({
|
|
5513
|
-
componentId: "sc-
|
|
5624
|
+
componentId: "sc-4d456d17-22"
|
|
5514
5625
|
})([
|
|
5515
5626
|
`display:flex;flex-direction:column;gap:6px;a,button{width:100%;border:0;display:flex;border-radius:8px;padding:14px 12px;color:`,
|
|
5516
5627
|
`;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:`,
|
|
@@ -5519,72 +5630,72 @@ var MobileMenuPanel = styled3.nav.withConfig({
|
|
|
5519
5630
|
`;}.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;}}`
|
|
5520
5631
|
], ({ theme }) => theme.colors.text.secondary, ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.background.hover, ({ theme }) => theme.colors.accent.primary);
|
|
5521
5632
|
var RightActions = styled3.div.withConfig({
|
|
5522
|
-
componentId: "sc-
|
|
5633
|
+
componentId: "sc-4d456d17-23"
|
|
5523
5634
|
})([
|
|
5524
5635
|
`display:flex;margin-left:auto;align-items:center;gap:12px;& > div{display:flex;align-items:center;gap:8px;}@media (max-width:1279px){display:none;}`
|
|
5525
5636
|
]);
|
|
5526
5637
|
var IconButton2 = styled3.button.withConfig({
|
|
5527
|
-
componentId: "sc-
|
|
5638
|
+
componentId: "sc-4d456d17-24"
|
|
5528
5639
|
})([
|
|
5529
5640
|
`display:inline-flex;width:36px;height:36px;flex:0 0 auto;align-items:center;justify-content:center;border:0;border-radius:8px;color:`,
|
|
5530
5641
|
`;background:transparent;cursor:pointer;transition:background-color 160ms ease;svg{width:24px;height:24px;}&:hover{background:`,
|
|
5531
5642
|
`;}@media (max-width:480px){display:none;}`
|
|
5532
5643
|
], ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.background.hover);
|
|
5533
5644
|
var LanguageTrigger = styled3(IconButton2).withConfig({
|
|
5534
|
-
componentId: "sc-
|
|
5645
|
+
componentId: "sc-4d456d17-25"
|
|
5535
5646
|
})([
|
|
5536
5647
|
`&[data-state="open"]{color:#f9bb3a;background:`,
|
|
5537
5648
|
`;}@media (max-width:767px){display:inline-flex;}@media (max-width:620px){border-radius:4px;svg{width:20px;height:20px;flex-shrink:0;}}`
|
|
5538
5649
|
], ({ theme }) => theme.colors.background.hover);
|
|
5539
5650
|
var LanguageMenuContent = styled3(DropdownMenu.Content).withConfig({
|
|
5540
|
-
componentId: "sc-
|
|
5651
|
+
componentId: "sc-4d456d17-26"
|
|
5541
5652
|
})([
|
|
5542
5653
|
`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:`,
|
|
5543
5654
|
` 140ms ease-out;}&[data-state="closed"]{animation:`,
|
|
5544
5655
|
` 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;}`
|
|
5545
5656
|
], fadeIn, fadeOut);
|
|
5546
5657
|
var LanguageMenuItem = styled3(DropdownMenu.RadioItem).withConfig({
|
|
5547
|
-
componentId: "sc-
|
|
5658
|
+
componentId: "sc-4d456d17-27"
|
|
5548
5659
|
})([
|
|
5549
5660
|
`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;}`,
|
|
5550
5661
|
`[data-compact="true"] &{height:40px;padding:10px 6px;font-size:14px;line-height:18px;}`
|
|
5551
5662
|
], LanguageMenuContent);
|
|
5552
5663
|
var LanguageFlag = styled3.span.withConfig({
|
|
5553
|
-
componentId: "sc-
|
|
5664
|
+
componentId: "sc-4d456d17-28"
|
|
5554
5665
|
})([
|
|
5555
5666
|
`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;}`
|
|
5556
5667
|
]);
|
|
5557
5668
|
var LanguageItemIndicator = styled3(DropdownMenu.ItemIndicator).withConfig({
|
|
5558
|
-
componentId: "sc-
|
|
5669
|
+
componentId: "sc-4d456d17-29"
|
|
5559
5670
|
})([
|
|
5560
5671
|
`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;}`,
|
|
5561
5672
|
`[data-compact="true"] &,`,
|
|
5562
5673
|
`[data-compact="true"] & img{width:16px;height:16px;flex-basis:16px;}`
|
|
5563
5674
|
], LanguageMenuContent, LanguageMenuContent);
|
|
5564
5675
|
var ActionDivider = styled3.span.withConfig({
|
|
5565
|
-
componentId: "sc-
|
|
5676
|
+
componentId: "sc-4d456d17-30"
|
|
5566
5677
|
})([
|
|
5567
5678
|
`width:1px;height:16px;background:`,
|
|
5568
5679
|
`;@media (max-width:608px){display:none;}`
|
|
5569
5680
|
], ({ theme }) => theme.colors.border.line);
|
|
5570
|
-
var LoginLink = styled3.
|
|
5571
|
-
componentId: "sc-
|
|
5681
|
+
var LoginLink = styled3.a.withConfig({
|
|
5682
|
+
componentId: "sc-4d456d17-31"
|
|
5572
5683
|
})([
|
|
5573
|
-
`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(
|
|
5574
|
-
`;}
|
|
5684
|
+
`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:`,
|
|
5685
|
+
`;}&[aria-disabled="true"]{cursor:not-allowed;opacity:0.55;}@media (max-width:608px){display:none;}`
|
|
5575
5686
|
], ({ theme }) => theme.colors.background.hover);
|
|
5576
5687
|
var OpenAccountButton = styled3(Button_default).withConfig({
|
|
5577
|
-
componentId: "sc-
|
|
5688
|
+
componentId: "sc-4d456d17-32"
|
|
5578
5689
|
})([
|
|
5579
5690
|
`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;}`
|
|
5580
5691
|
]);
|
|
5581
5692
|
var MobileDrawerLoginButton = styled3(LoginLink).withConfig({
|
|
5582
|
-
componentId: "sc-
|
|
5693
|
+
componentId: "sc-4d456d17-33"
|
|
5583
5694
|
})([
|
|
5584
5695
|
`display:none;@media (max-width:767px){display:inline-flex;width:100%;min-width:0;padding-inline:12px;&:disabled{opacity:1;}}`
|
|
5585
5696
|
]);
|
|
5586
5697
|
var MobileDrawerOpenAccountButton = styled3(OpenAccountButton).withConfig({
|
|
5587
|
-
componentId: "sc-
|
|
5698
|
+
componentId: "sc-4d456d17-34"
|
|
5588
5699
|
})([
|
|
5589
5700
|
`display:none;@media (max-width:767px){display:flex;width:100%;min-width:0;}`
|
|
5590
5701
|
]);
|
|
@@ -5631,39 +5742,39 @@ var benefitTwoWayDown = keyframes2([
|
|
|
5631
5742
|
`0%{transform:translateY(0);}50%{transform:translateY(-3px);}100%{transform:translateY(0);}`
|
|
5632
5743
|
]);
|
|
5633
5744
|
var Hero = styled4.section.withConfig({
|
|
5634
|
-
componentId: "sc-
|
|
5745
|
+
componentId: "sc-af9818d2-0"
|
|
5635
5746
|
})([
|
|
5636
5747
|
`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;}}`
|
|
5637
5748
|
]);
|
|
5638
5749
|
var HeroInner = styled4.div.withConfig({
|
|
5639
|
-
componentId: "sc-
|
|
5750
|
+
componentId: "sc-af9818d2-1"
|
|
5640
5751
|
})([
|
|
5641
5752
|
`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;}}`
|
|
5642
5753
|
]);
|
|
5643
5754
|
var HeroCopy = styled4.div.withConfig({
|
|
5644
|
-
componentId: "sc-
|
|
5755
|
+
componentId: "sc-af9818d2-2"
|
|
5645
5756
|
})([
|
|
5646
5757
|
`position:relative;z-index:2;@media (prefers-reduced-motion:no-preference){> *{animation:`,
|
|
5647
5758
|
` 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;}}`
|
|
5648
5759
|
], revealHeroCopy);
|
|
5649
5760
|
var HeroTitle = styled4.h1.withConfig({
|
|
5650
|
-
componentId: "sc-
|
|
5761
|
+
componentId: "sc-af9818d2-3"
|
|
5651
5762
|
})([
|
|
5652
5763
|
`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;}}`
|
|
5653
5764
|
]);
|
|
5654
5765
|
var HeroMetrics = styled4.div.withConfig({
|
|
5655
|
-
componentId: "sc-
|
|
5766
|
+
componentId: "sc-af9818d2-4"
|
|
5656
5767
|
})([
|
|
5657
5768
|
`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:`,
|
|
5658
5769
|
` 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;}}`
|
|
5659
5770
|
], moveHeroMetricsMarquee);
|
|
5660
5771
|
var HeroMetric = styled4.div.withConfig({
|
|
5661
|
-
componentId: "sc-
|
|
5772
|
+
componentId: "sc-af9818d2-5"
|
|
5662
5773
|
})([
|
|
5663
5774
|
`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;}}`
|
|
5664
5775
|
]);
|
|
5665
5776
|
var HeroArt = styled4.div.withConfig({
|
|
5666
|
-
componentId: "sc-
|
|
5777
|
+
componentId: "sc-af9818d2-6"
|
|
5667
5778
|
})([
|
|
5668
5779
|
`position:relative;min-height:461px;width:288px;flex-shrink:0;@media (prefers-reduced-motion:no-preference){.hero-phone{animation:`,
|
|
5669
5780
|
` 700ms cubic-bezier(0.33,1,0.68,1) 240ms backwards;}.key-mock-2{animation:`,
|
|
@@ -5674,12 +5785,12 @@ var HeroArt = styled4.div.withConfig({
|
|
|
5674
5785
|
` 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;}`
|
|
5675
5786
|
], revealHeroArtUp, revealHeroArtFromRight, revealHeroArtFromLeft, revealHeroArtUp, revealHeroArtUp, revealHeroArtUp);
|
|
5676
5787
|
var HeroImage = styled4.div.withConfig({
|
|
5677
|
-
componentId: "sc-
|
|
5788
|
+
componentId: "sc-af9818d2-7"
|
|
5678
5789
|
})([
|
|
5679
5790
|
`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%;}`
|
|
5680
5791
|
]);
|
|
5681
5792
|
var PageShell = styled4.main.withConfig({
|
|
5682
|
-
componentId: "sc-
|
|
5793
|
+
componentId: "sc-af9818d2-8"
|
|
5683
5794
|
})([
|
|
5684
5795
|
`--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:`,
|
|
5685
5796
|
` 120ms linear both;}.benefit-futures-line{animation:`,
|
|
@@ -5690,7 +5801,7 @@ var PageShell = styled4.main.withConfig({
|
|
|
5690
5801
|
` 200ms cubic-bezier(0.22,1,0.36,1) both;}.benefit-product-segment{animation:`,
|
|
5691
5802
|
` 260ms cubic-bezier(0.22,1,0.36,1) both;}.benefit-two-way{path{&:nth-child(1){animation:`,
|
|
5692
5803
|
` 400ms linear both;}&:nth-child(2){animation:`,
|
|
5693
|
-
` 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;`,
|
|
5804
|
+
` 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;`,
|
|
5694
5805
|
`{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;}}`
|
|
5695
5806
|
], drawBenefitLine, drawBenefitRect, drawBenefitRect, writeWithBenefitPen, strikeWithBenefitGavel, drawBenefitSquare, assembleProductSegment, benefitTwoWayUp, benefitTwoWayDown, WikiLogo);
|
|
5696
5807
|
|
|
@@ -12296,6 +12407,36 @@ function WikexInformationArticlesSection() {
|
|
|
12296
12407
|
});
|
|
12297
12408
|
}
|
|
12298
12409
|
|
|
12410
|
+
// src/shared/download-button-link.tsx
|
|
12411
|
+
import { jsx as jsx33 } from "react/jsx-runtime";
|
|
12412
|
+
function CmsDownloadButtonLink({ field, children, ...props }) {
|
|
12413
|
+
const content = useCmsElementContent();
|
|
12414
|
+
const editing = useCmsElementEditing();
|
|
12415
|
+
const link2 = getCmsButtonLink(content ?? {}, field);
|
|
12416
|
+
return /* @__PURE__ */ jsx33(
|
|
12417
|
+
"a",
|
|
12418
|
+
{
|
|
12419
|
+
...props,
|
|
12420
|
+
href: link2.href,
|
|
12421
|
+
target: link2.href && link2.type === "external" ? "_blank" : void 0,
|
|
12422
|
+
rel: link2.href && link2.type === "external" ? "noopener noreferrer" : void 0,
|
|
12423
|
+
"data-cms-button-field": field,
|
|
12424
|
+
"aria-disabled": !link2.href || void 0,
|
|
12425
|
+
tabIndex: !link2.href && !editing?.editable ? -1 : void 0,
|
|
12426
|
+
onClick: (event) => {
|
|
12427
|
+
if (editing?.editable) {
|
|
12428
|
+
event.preventDefault();
|
|
12429
|
+
event.stopPropagation();
|
|
12430
|
+
const text2 = Array.from(event.currentTarget.querySelectorAll("[data-cms-text-field]")).find((element) => element.dataset.cmsTextField === field);
|
|
12431
|
+
text2?.focus();
|
|
12432
|
+
editing.onSelectText?.({ field, currentColor: text2?.ownerDocument.defaultView?.getComputedStyle(text2).color ?? "" });
|
|
12433
|
+
} else if (!link2.href) event.preventDefault();
|
|
12434
|
+
},
|
|
12435
|
+
children
|
|
12436
|
+
}
|
|
12437
|
+
);
|
|
12438
|
+
}
|
|
12439
|
+
|
|
12299
12440
|
// src/commodity-original/components/LandingPage/LandingFooter.tsx
|
|
12300
12441
|
import Image8 from "next/image.js";
|
|
12301
12442
|
import Link8 from "next/link.js";
|
|
@@ -12529,7 +12670,7 @@ function useAppTheme() {
|
|
|
12529
12670
|
}
|
|
12530
12671
|
|
|
12531
12672
|
// src/commodity-original/components/LandingPage/LandingFooter.tsx
|
|
12532
|
-
import { jsx as
|
|
12673
|
+
import { jsx as jsx34, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
12533
12674
|
function FooterLinks({ listKey, titleKey }) {
|
|
12534
12675
|
const { t, i18n } = useTranslation14();
|
|
12535
12676
|
const language = i18n.resolvedLanguage?.startsWith("en") ? "en" : "vi";
|
|
@@ -12538,11 +12679,11 @@ function FooterLinks({ listKey, titleKey }) {
|
|
|
12538
12679
|
const items = parseChromeItems(content?.[`${language}.${listKey}`]) ?? [];
|
|
12539
12680
|
if (!items.length) return null;
|
|
12540
12681
|
return /* @__PURE__ */ jsxs27("nav", { className: "footer-nav", "aria-label": t(titleKey), children: [
|
|
12541
|
-
/* @__PURE__ */
|
|
12682
|
+
/* @__PURE__ */ jsx34(ExactText, { cmsAs: "strong", children: t(titleKey) }),
|
|
12542
12683
|
items.map((item, index) => {
|
|
12543
12684
|
const href = chromeItemHref(item);
|
|
12544
12685
|
const props = { cmsField: `${listKey}.${index}.label`, ...chromeItemAttributes(language, listKey, index) };
|
|
12545
|
-
return href ? /* @__PURE__ */
|
|
12686
|
+
return href ? /* @__PURE__ */ jsx34(ExactText, { cmsAs: Link8, href, ...props, children: item.label }, index) : /* @__PURE__ */ jsx34(ExactText, { cmsAs: "button", type: "button", disabled: !editable, ...props, children: item.label }, index);
|
|
12546
12687
|
})
|
|
12547
12688
|
] });
|
|
12548
12689
|
}
|
|
@@ -12562,12 +12703,12 @@ function LandingFooter() {
|
|
|
12562
12703
|
"/Logo/logo_original_dark.png"
|
|
12563
12704
|
);
|
|
12564
12705
|
const mxvLogo = useCmsImage("footerMxvLogoImage", "/Logo/Logo_mxv.png");
|
|
12565
|
-
return /* @__PURE__ */
|
|
12706
|
+
return /* @__PURE__ */ jsx34("footer", { className: "footer", children: /* @__PURE__ */ jsxs27("div", { className: "container footer-content", children: [
|
|
12566
12707
|
/* @__PURE__ */ jsxs27("div", { className: "footer-grid", children: [
|
|
12567
12708
|
/* @__PURE__ */ jsxs27("div", { className: "footer-brand", children: [
|
|
12568
12709
|
/* @__PURE__ */ jsxs27("div", { className: "footer-brand-intro", children: [
|
|
12569
12710
|
/* @__PURE__ */ jsxs27("div", { className: "footer-logo-row", children: [
|
|
12570
|
-
/* @__PURE__ */
|
|
12711
|
+
/* @__PURE__ */ jsx34("span", { className: "footer-wikex-logo", "aria-label": "Wikex", children: /* @__PURE__ */ jsx34(
|
|
12571
12712
|
WikiLogo,
|
|
12572
12713
|
{
|
|
12573
12714
|
src: isDarkTheme ? darkLogo : lightLogo,
|
|
@@ -12577,7 +12718,7 @@ function LandingFooter() {
|
|
|
12577
12718
|
loading: "eager"
|
|
12578
12719
|
}
|
|
12579
12720
|
) }),
|
|
12580
|
-
/* @__PURE__ */
|
|
12721
|
+
/* @__PURE__ */ jsx34(
|
|
12581
12722
|
MxvLogo,
|
|
12582
12723
|
{
|
|
12583
12724
|
src: mxvLogo,
|
|
@@ -12588,20 +12729,20 @@ function LandingFooter() {
|
|
|
12588
12729
|
}
|
|
12589
12730
|
)
|
|
12590
12731
|
] }),
|
|
12591
|
-
/* @__PURE__ */
|
|
12732
|
+
/* @__PURE__ */ jsx34(ExactText, { cmsAs: "p", children: t("landing.footer.description") })
|
|
12592
12733
|
] }),
|
|
12593
12734
|
/* @__PURE__ */ jsxs27("address", { className: "footer-contact", children: [
|
|
12594
12735
|
/* @__PURE__ */ jsxs27("div", { className: "footer-company", children: [
|
|
12595
12736
|
/* @__PURE__ */ jsxs27("div", { className: "footer-company-name", children: [
|
|
12596
|
-
/* @__PURE__ */
|
|
12597
|
-
/* @__PURE__ */
|
|
12737
|
+
/* @__PURE__ */ jsx34(ExactText, { cmsAs: "strong", children: t("landing.footer.company") }),
|
|
12738
|
+
/* @__PURE__ */ jsx34(ExactText, { cmsAs: "span", children: t("landing.footer.taxId") })
|
|
12598
12739
|
] }),
|
|
12599
|
-
contacts.length > 0 && /* @__PURE__ */
|
|
12600
|
-
item.icon && /* @__PURE__ */
|
|
12601
|
-
chromeItemHref(item) ? /* @__PURE__ */
|
|
12740
|
+
contacts.length > 0 && /* @__PURE__ */ jsx34("div", { className: "footer-contact-list", children: contacts.map((item, index) => /* @__PURE__ */ jsxs27("span", { className: "footer-contact-row", ...chromeItemAttributes(language, "footer.contacts", index), children: [
|
|
12741
|
+
item.icon && /* @__PURE__ */ jsx34(Image8, { src: item.icon, alt: "", width: 16, height: 16, "aria-hidden": "true" }),
|
|
12742
|
+
chromeItemHref(item) ? /* @__PURE__ */ jsx34(ExactText, { cmsAs: "a", href: chromeItemHref(item), cmsField: `footer.contacts.${index}.label`, children: item.label }) : /* @__PURE__ */ jsx34(ExactText, { cmsAs: "span", cmsField: `footer.contacts.${index}.label`, children: item.label })
|
|
12602
12743
|
] }, index)) })
|
|
12603
12744
|
] }),
|
|
12604
|
-
socials.length > 0 && /* @__PURE__ */
|
|
12745
|
+
socials.length > 0 && /* @__PURE__ */ jsx34("div", { className: "footer-socials", "aria-label": t("landing.footer.socials"), children: socials.map((item, index) => /* @__PURE__ */ jsxs27(
|
|
12605
12746
|
"a",
|
|
12606
12747
|
{
|
|
12607
12748
|
href: chromeItemHref(item),
|
|
@@ -12612,8 +12753,8 @@ function LandingFooter() {
|
|
|
12612
12753
|
target: "_blank",
|
|
12613
12754
|
rel: "noopener noreferrer",
|
|
12614
12755
|
children: [
|
|
12615
|
-
item.icon && /* @__PURE__ */
|
|
12616
|
-
/* @__PURE__ */
|
|
12756
|
+
item.icon && /* @__PURE__ */ jsx34(Image8, { src: item.icon, alt: "", width: 20, height: 20, "aria-hidden": "true" }),
|
|
12757
|
+
/* @__PURE__ */ jsx34(ExactText, { cmsAs: "span", cmsField: `footer.socials.${index}.label`, className: "sr-only", children: item.label })
|
|
12617
12758
|
]
|
|
12618
12759
|
},
|
|
12619
12760
|
index
|
|
@@ -12622,26 +12763,26 @@ function LandingFooter() {
|
|
|
12622
12763
|
] }),
|
|
12623
12764
|
/* @__PURE__ */ jsxs27("div", { className: "footer-secondary", children: [
|
|
12624
12765
|
/* @__PURE__ */ jsxs27("div", { className: "footer-navs", children: [
|
|
12625
|
-
/* @__PURE__ */
|
|
12626
|
-
/* @__PURE__ */
|
|
12627
|
-
/* @__PURE__ */
|
|
12628
|
-
/* @__PURE__ */
|
|
12766
|
+
/* @__PURE__ */ jsx34(FooterLinks, { listKey: "footer.aboutLinks", titleKey: "landing.footer.aboutWikex" }),
|
|
12767
|
+
/* @__PURE__ */ jsx34(FooterLinks, { listKey: "footer.productLinks", titleKey: "landing.footer.product" }),
|
|
12768
|
+
/* @__PURE__ */ jsx34(FooterLinks, { listKey: "footer.guideLinks", titleKey: "landing.footer.guide" }),
|
|
12769
|
+
/* @__PURE__ */ jsx34(FooterLinks, { listKey: "footer.supportLinks", titleKey: "landing.footer.support" })
|
|
12629
12770
|
] }),
|
|
12630
12771
|
downloads.length > 0 && /* @__PURE__ */ jsxs27("div", { className: "footer-downloads", children: [
|
|
12631
|
-
/* @__PURE__ */
|
|
12772
|
+
/* @__PURE__ */ jsx34(ExactText, { cmsAs: "strong", children: t("landing.footer.download") }),
|
|
12632
12773
|
/* @__PURE__ */ jsxs27("div", { className: "footer-download-links", children: [
|
|
12633
|
-
/* @__PURE__ */
|
|
12634
|
-
|
|
12774
|
+
/* @__PURE__ */ jsx34("div", { className: "footer-store-links", children: downloads.map((item, index) => item.icon?.includes("footer-desktop.svg") ? null : /* @__PURE__ */ jsxs27(
|
|
12775
|
+
CmsDownloadButtonLink,
|
|
12635
12776
|
{
|
|
12636
|
-
|
|
12777
|
+
field: `${language}.footer.downloads.${index}.label`,
|
|
12637
12778
|
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" : ""}`,
|
|
12638
12779
|
...chromeItemAttributes(language, "footer.downloads", index),
|
|
12639
12780
|
"aria-label": item.label,
|
|
12640
12781
|
children: [
|
|
12641
|
-
item.icon && /* @__PURE__ */
|
|
12782
|
+
item.icon && /* @__PURE__ */ jsx34(Image8, { src: item.icon, alt: "", width: 24, height: 24, "aria-hidden": "true" }),
|
|
12642
12783
|
/* @__PURE__ */ jsxs27("span", { className: "footer-store-copy", children: [
|
|
12643
|
-
item.prefix && /* @__PURE__ */
|
|
12644
|
-
/* @__PURE__ */
|
|
12784
|
+
item.prefix && /* @__PURE__ */ jsx34(ExactText, { cmsAs: "small", cmsField: `footer.downloads.${index}.prefix`, children: item.prefix }),
|
|
12785
|
+
/* @__PURE__ */ jsx34(
|
|
12645
12786
|
ExactText,
|
|
12646
12787
|
{
|
|
12647
12788
|
cmsAs: "strong",
|
|
@@ -12651,7 +12792,7 @@ function LandingFooter() {
|
|
|
12651
12792
|
children: item.label
|
|
12652
12793
|
}
|
|
12653
12794
|
),
|
|
12654
|
-
!editable && item.label === "Google Play" && !item.labelTextLayout && !item.labelColor && /* @__PURE__ */
|
|
12795
|
+
!editable && item.label === "Google Play" && !item.labelTextLayout && !item.labelColor && /* @__PURE__ */ jsx34(
|
|
12655
12796
|
Image8,
|
|
12656
12797
|
{
|
|
12657
12798
|
className: "footer-googleplay-wordmark",
|
|
@@ -12667,23 +12808,23 @@ function LandingFooter() {
|
|
|
12667
12808
|
},
|
|
12668
12809
|
index
|
|
12669
12810
|
)) }),
|
|
12670
|
-
downloads.map((item, index) => item.icon?.includes("footer-desktop.svg") ? /* @__PURE__ */ jsxs27(
|
|
12671
|
-
/* @__PURE__ */
|
|
12672
|
-
/* @__PURE__ */
|
|
12811
|
+
downloads.map((item, index) => item.icon?.includes("footer-desktop.svg") ? /* @__PURE__ */ jsxs27(CmsDownloadButtonLink, { field: `${language}.footer.downloads.${index}.label`, className: "footer-desktop-link", ...chromeItemAttributes(language, "footer.downloads", index), children: [
|
|
12812
|
+
/* @__PURE__ */ jsx34("span", { children: /* @__PURE__ */ jsx34(Image8, { src: item.icon, alt: "", width: 24, height: 24, "aria-hidden": "true" }) }),
|
|
12813
|
+
/* @__PURE__ */ jsx34(ExactText, { cmsAs: "strong", cmsField: `footer.downloads.${index}.label`, children: item.label })
|
|
12673
12814
|
] }, index) : null)
|
|
12674
12815
|
] })
|
|
12675
12816
|
] })
|
|
12676
12817
|
] })
|
|
12677
12818
|
] }),
|
|
12678
|
-
/* @__PURE__ */
|
|
12679
|
-
/* @__PURE__ */
|
|
12819
|
+
/* @__PURE__ */ jsx34("hr", { className: "footer-divider" }),
|
|
12820
|
+
/* @__PURE__ */ jsx34(ExactText, { cmsAs: "p", className: "copyright", children: t("landing.footer.copyright") })
|
|
12680
12821
|
] }) });
|
|
12681
12822
|
}
|
|
12682
12823
|
|
|
12683
12824
|
// src/commodity-original/components/Footer/index.tsx
|
|
12684
|
-
import { jsx as
|
|
12825
|
+
import { jsx as jsx35 } from "react/jsx-runtime";
|
|
12685
12826
|
function Footer() {
|
|
12686
|
-
return /* @__PURE__ */
|
|
12827
|
+
return /* @__PURE__ */ jsx35(PageShell, { as: "div", children: /* @__PURE__ */ jsx35(LandingFooter, {}) });
|
|
12687
12828
|
}
|
|
12688
12829
|
|
|
12689
12830
|
// src/commodity-original/components/Header/index.tsx
|
|
@@ -12734,7 +12875,7 @@ function ThemeToggle({ variant = "floating" }) {
|
|
|
12734
12875
|
|
|
12735
12876
|
// src/commodity-original/components/Header/index.tsx
|
|
12736
12877
|
import { useTranslation as useTranslation16 } from "react-i18next";
|
|
12737
|
-
import { jsx as
|
|
12878
|
+
import { jsx as jsx36, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
12738
12879
|
import { createElement as createElement3 } from "react";
|
|
12739
12880
|
var languages = [
|
|
12740
12881
|
{
|
|
@@ -12749,7 +12890,7 @@ var languages = [
|
|
|
12749
12890
|
}
|
|
12750
12891
|
];
|
|
12751
12892
|
function LanguageIcon() {
|
|
12752
|
-
return /* @__PURE__ */
|
|
12893
|
+
return /* @__PURE__ */ jsx36(
|
|
12753
12894
|
"svg",
|
|
12754
12895
|
{
|
|
12755
12896
|
"aria-hidden": "true",
|
|
@@ -12758,7 +12899,7 @@ function LanguageIcon() {
|
|
|
12758
12899
|
viewBox: "0 0 24 24",
|
|
12759
12900
|
width: "24",
|
|
12760
12901
|
xmlns: "http://www.w3.org/2000/svg",
|
|
12761
|
-
children: /* @__PURE__ */
|
|
12902
|
+
children: /* @__PURE__ */ jsx36(
|
|
12762
12903
|
"path",
|
|
12763
12904
|
{
|
|
12764
12905
|
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",
|
|
@@ -12780,7 +12921,7 @@ function LanguageSwitcher({
|
|
|
12780
12921
|
const triggerRef = useRef7(null);
|
|
12781
12922
|
const currentLanguage = languages.find((item) => item.value === language);
|
|
12782
12923
|
return /* @__PURE__ */ jsxs28(DropdownMenu2.Root, { children: [
|
|
12783
|
-
/* @__PURE__ */
|
|
12924
|
+
/* @__PURE__ */ jsx36(DropdownMenu2.Trigger, { asChild: true, children: /* @__PURE__ */ jsx36(
|
|
12784
12925
|
LanguageTrigger,
|
|
12785
12926
|
{
|
|
12786
12927
|
"aria-label": t("language.current", {
|
|
@@ -12789,10 +12930,10 @@ function LanguageSwitcher({
|
|
|
12789
12930
|
ref: triggerRef,
|
|
12790
12931
|
title: t("language.change"),
|
|
12791
12932
|
type: "button",
|
|
12792
|
-
children: /* @__PURE__ */
|
|
12933
|
+
children: /* @__PURE__ */ jsx36(LanguageIcon, {})
|
|
12793
12934
|
}
|
|
12794
12935
|
) }),
|
|
12795
|
-
/* @__PURE__ */
|
|
12936
|
+
/* @__PURE__ */ jsx36(DropdownMenu2.Portal, { container: portalContainer, children: /* @__PURE__ */ jsx36(
|
|
12796
12937
|
LanguageMenuContent,
|
|
12797
12938
|
{
|
|
12798
12939
|
align: compact ? "end" : "start",
|
|
@@ -12803,13 +12944,13 @@ function LanguageSwitcher({
|
|
|
12803
12944
|
triggerRef.current?.focus({ preventScroll: true });
|
|
12804
12945
|
},
|
|
12805
12946
|
sideOffset: 4,
|
|
12806
|
-
children: /* @__PURE__ */
|
|
12947
|
+
children: /* @__PURE__ */ jsx36(
|
|
12807
12948
|
DropdownMenu2.RadioGroup,
|
|
12808
12949
|
{
|
|
12809
12950
|
onValueChange: (value4) => onLanguageChange(value4),
|
|
12810
12951
|
value: language,
|
|
12811
12952
|
children: languages.map((item) => /* @__PURE__ */ jsxs28(LanguageMenuItem, { value: item.value, children: [
|
|
12812
|
-
/* @__PURE__ */
|
|
12953
|
+
/* @__PURE__ */ jsx36(LanguageFlag, { children: /* @__PURE__ */ jsx36(
|
|
12813
12954
|
Image9,
|
|
12814
12955
|
{
|
|
12815
12956
|
alt: "",
|
|
@@ -12819,8 +12960,8 @@ function LanguageSwitcher({
|
|
|
12819
12960
|
width: item.value === "vi" ? 30 : 20
|
|
12820
12961
|
}
|
|
12821
12962
|
) }),
|
|
12822
|
-
/* @__PURE__ */
|
|
12823
|
-
/* @__PURE__ */
|
|
12963
|
+
/* @__PURE__ */ jsx36(ExactText, { cmsAs: "span", children: item.label }),
|
|
12964
|
+
/* @__PURE__ */ jsx36(LanguageItemIndicator, { children: /* @__PURE__ */ jsx36(
|
|
12824
12965
|
Image9,
|
|
12825
12966
|
{
|
|
12826
12967
|
alt: "",
|
|
@@ -12864,7 +13005,41 @@ function Header() {
|
|
|
12864
13005
|
const homeUrl = useCmsLink("headerHomeUrl", "/");
|
|
12865
13006
|
const mxvUrl = useCmsLink("headerMxvUrl", "https://mxv.com.vn");
|
|
12866
13007
|
const content = useCmsElementContent();
|
|
12867
|
-
const
|
|
13008
|
+
const editing = useCmsElementEditing();
|
|
13009
|
+
const editable = editing?.editable;
|
|
13010
|
+
const loginField = `${language}.header.login`;
|
|
13011
|
+
const registerField = `${language}.header.register`;
|
|
13012
|
+
const loginLink = getCmsButtonLink(content ?? {}, loginField);
|
|
13013
|
+
const registerLink = getCmsButtonLink(content ?? {}, registerField);
|
|
13014
|
+
const linkProps = (link2, field) => ({
|
|
13015
|
+
href: link2.href,
|
|
13016
|
+
target: link2.href && link2.type === "external" ? "_blank" : void 0,
|
|
13017
|
+
rel: link2.href && link2.type === "external" ? "noopener noreferrer" : void 0,
|
|
13018
|
+
"data-cms-button-field": field,
|
|
13019
|
+
"aria-disabled": !link2.href || void 0,
|
|
13020
|
+
tabIndex: !link2.href && !editable ? -1 : void 0
|
|
13021
|
+
});
|
|
13022
|
+
const handleActionClick = (event, field, mobile = false) => {
|
|
13023
|
+
if (editable) {
|
|
13024
|
+
event.preventDefault();
|
|
13025
|
+
event.stopPropagation();
|
|
13026
|
+
const text2 = event.currentTarget.querySelector("[data-cms-text-field]") ?? event.currentTarget;
|
|
13027
|
+
text2.focus();
|
|
13028
|
+
editing.onSelectText?.({ field, currentColor: text2.ownerDocument.defaultView?.getComputedStyle(text2).color ?? "" });
|
|
13029
|
+
return;
|
|
13030
|
+
}
|
|
13031
|
+
const link2 = field === loginField ? loginLink : registerLink;
|
|
13032
|
+
if (!link2.href) {
|
|
13033
|
+
event.preventDefault();
|
|
13034
|
+
return;
|
|
13035
|
+
}
|
|
13036
|
+
if (link2.type === "internal" && link2.href === "/#register" && pathname === "/" && document.getElementById("register")) {
|
|
13037
|
+
event.preventDefault();
|
|
13038
|
+
if (mobile) pendingMobileSectionRef.current = "register";
|
|
13039
|
+
else scrollPageTo(document.getElementById("register"));
|
|
13040
|
+
}
|
|
13041
|
+
if (mobile) setIsMenuOpen(false);
|
|
13042
|
+
};
|
|
12868
13043
|
const keepEditorToolbarOpen = (event) => {
|
|
12869
13044
|
const target = event.detail.originalEvent.target;
|
|
12870
13045
|
if (editable && target?.closest?.("[data-cms-text-resize-controls],[data-cms-element-controls],.MuiPopover-root")) event.preventDefault();
|
|
@@ -12923,9 +13098,9 @@ function Header() {
|
|
|
12923
13098
|
desktopMediaQuery.removeEventListener("change", closeDrawerOnDesktop);
|
|
12924
13099
|
};
|
|
12925
13100
|
}, []);
|
|
12926
|
-
return /* @__PURE__ */
|
|
13101
|
+
return /* @__PURE__ */ jsx36(HeaderShell, { ref: setHeaderRef, children: /* @__PURE__ */ jsxs28(HeaderInner, { children: [
|
|
12927
13102
|
/* @__PURE__ */ jsxs28(BrandGroup, { children: [
|
|
12928
|
-
/* @__PURE__ */
|
|
13103
|
+
/* @__PURE__ */ jsx36(WikiBrand, { href: homeUrl, "aria-label": t("header.home"), children: /* @__PURE__ */ jsx36(
|
|
12929
13104
|
WikiLogo,
|
|
12930
13105
|
{
|
|
12931
13106
|
src: isDarkTheme ? darkLogo : lightLogo,
|
|
@@ -12935,14 +13110,14 @@ function Header() {
|
|
|
12935
13110
|
loading: "eager"
|
|
12936
13111
|
}
|
|
12937
13112
|
) }),
|
|
12938
|
-
/* @__PURE__ */
|
|
13113
|
+
/* @__PURE__ */ jsx36(
|
|
12939
13114
|
PartnerBrand,
|
|
12940
13115
|
{
|
|
12941
13116
|
href: mxvUrl,
|
|
12942
13117
|
target: "_blank",
|
|
12943
13118
|
rel: "noopener noreferrer",
|
|
12944
13119
|
"aria-label": t("header.mxv"),
|
|
12945
|
-
children: /* @__PURE__ */
|
|
13120
|
+
children: /* @__PURE__ */ jsx36(
|
|
12946
13121
|
MxvLogo,
|
|
12947
13122
|
{
|
|
12948
13123
|
src: mxvLogo,
|
|
@@ -12955,7 +13130,7 @@ function Header() {
|
|
|
12955
13130
|
}
|
|
12956
13131
|
)
|
|
12957
13132
|
] }),
|
|
12958
|
-
/* @__PURE__ */
|
|
13133
|
+
/* @__PURE__ */ jsx36(DesktopNavigation, { "aria-label": t("header.navigation"), children: resolvedNavigationItems.map((item) => {
|
|
12959
13134
|
const isItemActive = item.children.length > 0 ? item.children.some((child) => isRouteActive(child.href)) : isRouteActive(item.href);
|
|
12960
13135
|
if (item.children.length > 0) {
|
|
12961
13136
|
return /* @__PURE__ */ jsxs28(
|
|
@@ -12965,24 +13140,24 @@ function Header() {
|
|
|
12965
13140
|
open: isDesktopProductsOpen === item.index,
|
|
12966
13141
|
onOpenChange: (open) => setIsDesktopProductsOpen(open ? item.index : null),
|
|
12967
13142
|
children: [
|
|
12968
|
-
/* @__PURE__ */
|
|
13143
|
+
/* @__PURE__ */ jsx36(DropdownMenu2.Trigger, { asChild: true, children: /* @__PURE__ */ jsx36(
|
|
12969
13144
|
ProductsMenuTrigger,
|
|
12970
13145
|
{
|
|
12971
13146
|
...chromeItemAttributes(language, "header.menuItems", item.index),
|
|
12972
13147
|
type: "button",
|
|
12973
13148
|
"aria-current": isItemActive ? "page" : void 0,
|
|
12974
13149
|
"data-active": isItemActive ? "true" : void 0,
|
|
12975
|
-
children: /* @__PURE__ */
|
|
13150
|
+
children: /* @__PURE__ */ jsx36(ExactText, { cmsAs: "span", cmsField: item.labelKey, children: item.label })
|
|
12976
13151
|
}
|
|
12977
13152
|
) }),
|
|
12978
|
-
/* @__PURE__ */
|
|
13153
|
+
/* @__PURE__ */ jsx36(DropdownMenu2.Portal, { container: portalContainer, children: /* @__PURE__ */ jsx36(
|
|
12979
13154
|
ProductsMenuContent,
|
|
12980
13155
|
{
|
|
12981
13156
|
onInteractOutside: keepEditorToolbarOpen,
|
|
12982
13157
|
align: "center",
|
|
12983
13158
|
sideOffset: 10,
|
|
12984
13159
|
"aria-label": item.label,
|
|
12985
|
-
children: item.children.map((child) => /* @__PURE__ */
|
|
13160
|
+
children: item.children.map((child) => /* @__PURE__ */ jsx36(ProductsMenuItem, { asChild: true, children: /* @__PURE__ */ jsx36(ExactText, { cmsAs: Link9, cmsField: child.labelKey, ...chromeItemAttributes(language, "header.menuItems", child.index, item.index), href: child.href, "aria-disabled": child.linkDisabled || void 0, onClick: (event) => {
|
|
12986
13161
|
if (child.linkDisabled) event.preventDefault();
|
|
12987
13162
|
}, "aria-current": isItemActive && selectedCategory === child.category ? "page" : void 0, children: child.label }) }, child.labelKey))
|
|
12988
13163
|
}
|
|
@@ -13011,7 +13186,7 @@ function Header() {
|
|
|
13011
13186
|
);
|
|
13012
13187
|
}) }),
|
|
13013
13188
|
/* @__PURE__ */ jsxs28(MobileNavigation2, { children: [
|
|
13014
|
-
/* @__PURE__ */
|
|
13189
|
+
/* @__PURE__ */ jsx36(MobileLanguageToggle, { children: /* @__PURE__ */ jsx36(
|
|
13015
13190
|
LanguageSwitcher,
|
|
13016
13191
|
{
|
|
13017
13192
|
compact: true,
|
|
@@ -13020,15 +13195,15 @@ function Header() {
|
|
|
13020
13195
|
onLanguageChange: (nextLanguage) => void i18n.changeLanguage(nextLanguage)
|
|
13021
13196
|
}
|
|
13022
13197
|
) }),
|
|
13023
|
-
/* @__PURE__ */
|
|
13198
|
+
/* @__PURE__ */ jsx36(MobileThemeToggle, { children: /* @__PURE__ */ jsx36(ThemeToggle, { variant: "header" }) }),
|
|
13024
13199
|
/* @__PURE__ */ jsxs28(Dialog5.Root, { modal: !editable, open: isMenuOpen, onOpenChange: setIsMenuOpen, children: [
|
|
13025
|
-
/* @__PURE__ */
|
|
13200
|
+
/* @__PURE__ */ jsx36(Dialog5.Trigger, { asChild: true, children: /* @__PURE__ */ jsx36(
|
|
13026
13201
|
MobileMenuTrigger,
|
|
13027
13202
|
{
|
|
13028
13203
|
type: "button",
|
|
13029
13204
|
ref: mobileMenuTriggerRef,
|
|
13030
13205
|
"aria-label": isMenuOpen ? t("header.closeMenu") : t("header.openMenu"),
|
|
13031
|
-
children: /* @__PURE__ */
|
|
13206
|
+
children: /* @__PURE__ */ jsx36(
|
|
13032
13207
|
MorphIcon3,
|
|
13033
13208
|
{
|
|
13034
13209
|
icon: isMenuOpen ? X2 : Menu2,
|
|
@@ -13041,7 +13216,7 @@ function Header() {
|
|
|
13041
13216
|
}
|
|
13042
13217
|
) }),
|
|
13043
13218
|
/* @__PURE__ */ jsxs28(Dialog5.Portal, { container: portalContainer, children: [
|
|
13044
|
-
/* @__PURE__ */
|
|
13219
|
+
/* @__PURE__ */ jsx36(MobileDrawerOverlay, {}),
|
|
13045
13220
|
/* @__PURE__ */ jsxs28(
|
|
13046
13221
|
MobileDrawerContent,
|
|
13047
13222
|
{
|
|
@@ -13062,8 +13237,8 @@ function Header() {
|
|
|
13062
13237
|
},
|
|
13063
13238
|
children: [
|
|
13064
13239
|
/* @__PURE__ */ jsxs28(MobileDrawerHeader, { children: [
|
|
13065
|
-
/* @__PURE__ */
|
|
13066
|
-
/* @__PURE__ */
|
|
13240
|
+
/* @__PURE__ */ jsx36(ExactText, { cmsAs: MobileDrawerTitle, children: t("header.menu") }),
|
|
13241
|
+
/* @__PURE__ */ jsx36(MobileDrawerClose, { "aria-label": t("header.closeMenu"), children: /* @__PURE__ */ jsx36(
|
|
13067
13242
|
MorphIcon3,
|
|
13068
13243
|
{
|
|
13069
13244
|
icon: X2,
|
|
@@ -13075,24 +13250,26 @@ function Header() {
|
|
|
13075
13250
|
) })
|
|
13076
13251
|
] }),
|
|
13077
13252
|
/* @__PURE__ */ jsxs28(MobileDrawerActions, { children: [
|
|
13078
|
-
/* @__PURE__ */
|
|
13253
|
+
/* @__PURE__ */ jsx36(
|
|
13079
13254
|
ExactText,
|
|
13080
13255
|
{
|
|
13081
13256
|
cmsAs: MobileDrawerLoginButton,
|
|
13082
|
-
|
|
13083
|
-
|
|
13084
|
-
|
|
13257
|
+
cmsField: "header.login",
|
|
13258
|
+
as: "a",
|
|
13259
|
+
...linkProps(loginLink, loginField),
|
|
13260
|
+
title: !loginLink.href && !editable ? t("header.loginUnavailable") : void 0,
|
|
13261
|
+
onClick: (event) => handleActionClick(event, loginField, true),
|
|
13085
13262
|
children: t("header.login")
|
|
13086
13263
|
}
|
|
13087
13264
|
),
|
|
13088
|
-
/* @__PURE__ */
|
|
13265
|
+
/* @__PURE__ */ jsx36(
|
|
13089
13266
|
ExactText,
|
|
13090
13267
|
{
|
|
13091
13268
|
cmsAs: MobileDrawerOpenAccountButton,
|
|
13092
|
-
|
|
13093
|
-
|
|
13094
|
-
|
|
13095
|
-
|
|
13269
|
+
labelField: "header.register",
|
|
13270
|
+
...linkProps(registerLink, registerField),
|
|
13271
|
+
disabled: !registerLink.href && !editable,
|
|
13272
|
+
onClick: (event) => handleActionClick(event, registerField, true),
|
|
13096
13273
|
size: "sm",
|
|
13097
13274
|
radius: 6,
|
|
13098
13275
|
tint: "#F9BB3A",
|
|
@@ -13129,13 +13306,13 @@ function Header() {
|
|
|
13129
13306
|
},
|
|
13130
13307
|
type: "button",
|
|
13131
13308
|
children: [
|
|
13132
|
-
/* @__PURE__ */
|
|
13133
|
-
/* @__PURE__ */
|
|
13309
|
+
/* @__PURE__ */ jsx36(ExactText, { cmsAs: "span", cmsField: item.labelKey, children: item.label }),
|
|
13310
|
+
/* @__PURE__ */ jsx36(
|
|
13134
13311
|
"span",
|
|
13135
13312
|
{
|
|
13136
13313
|
"aria-hidden": "true",
|
|
13137
13314
|
className: "mobile-products-chevron",
|
|
13138
|
-
children: /* @__PURE__ */
|
|
13315
|
+
children: /* @__PURE__ */ jsx36(
|
|
13139
13316
|
MorphIcon3,
|
|
13140
13317
|
{
|
|
13141
13318
|
icon: ChevronDown,
|
|
@@ -13150,7 +13327,7 @@ function Header() {
|
|
|
13150
13327
|
]
|
|
13151
13328
|
}
|
|
13152
13329
|
),
|
|
13153
|
-
/* @__PURE__ */
|
|
13330
|
+
/* @__PURE__ */ jsx36(
|
|
13154
13331
|
"div",
|
|
13155
13332
|
{
|
|
13156
13333
|
"aria-labelledby": `mobile-products-trigger-${item.index}`,
|
|
@@ -13200,17 +13377,18 @@ function Header() {
|
|
|
13200
13377
|
setIsMenuOpen(false);
|
|
13201
13378
|
}
|
|
13202
13379
|
},
|
|
13203
|
-
/* @__PURE__ */
|
|
13380
|
+
/* @__PURE__ */ jsx36(ExactText, { cmsAs: "span", cmsField: item.labelKey, children: item.label })
|
|
13204
13381
|
);
|
|
13205
13382
|
}),
|
|
13206
|
-
/* @__PURE__ */
|
|
13383
|
+
/* @__PURE__ */ jsx36(Dialog5.Close, { asChild: true, children: /* @__PURE__ */ jsx36(
|
|
13207
13384
|
ExactText,
|
|
13208
13385
|
{
|
|
13209
|
-
cmsAs: "
|
|
13386
|
+
cmsAs: "a",
|
|
13387
|
+
cmsField: "header.login",
|
|
13210
13388
|
className: "mobile-menu-login",
|
|
13211
|
-
|
|
13212
|
-
|
|
13213
|
-
|
|
13389
|
+
...linkProps(loginLink, loginField),
|
|
13390
|
+
title: !loginLink.href && !editable ? t("header.loginUnavailable") : void 0,
|
|
13391
|
+
onClick: (event) => handleActionClick(event, loginField, true),
|
|
13214
13392
|
children: t("header.login")
|
|
13215
13393
|
}
|
|
13216
13394
|
) })
|
|
@@ -13223,7 +13401,7 @@ function Header() {
|
|
|
13223
13401
|
] }),
|
|
13224
13402
|
/* @__PURE__ */ jsxs28(RightActions, { children: [
|
|
13225
13403
|
/* @__PURE__ */ jsxs28("div", { children: [
|
|
13226
|
-
/* @__PURE__ */
|
|
13404
|
+
/* @__PURE__ */ jsx36(
|
|
13227
13405
|
LanguageSwitcher,
|
|
13228
13406
|
{
|
|
13229
13407
|
language,
|
|
@@ -13231,27 +13409,29 @@ function Header() {
|
|
|
13231
13409
|
onLanguageChange: (nextLanguage) => void i18n.changeLanguage(nextLanguage)
|
|
13232
13410
|
}
|
|
13233
13411
|
),
|
|
13234
|
-
/* @__PURE__ */
|
|
13412
|
+
/* @__PURE__ */ jsx36(ThemeToggle, { variant: "header" })
|
|
13235
13413
|
] }),
|
|
13236
|
-
/* @__PURE__ */
|
|
13237
|
-
/* @__PURE__ */
|
|
13414
|
+
/* @__PURE__ */ jsx36(ActionDivider, { "aria-hidden": "true" }),
|
|
13415
|
+
/* @__PURE__ */ jsx36(
|
|
13238
13416
|
ExactText,
|
|
13239
13417
|
{
|
|
13240
13418
|
cmsAs: LoginLink,
|
|
13241
|
-
|
|
13242
|
-
|
|
13243
|
-
|
|
13419
|
+
cmsField: "header.login",
|
|
13420
|
+
as: "a",
|
|
13421
|
+
...linkProps(loginLink, loginField),
|
|
13422
|
+
title: !loginLink.href && !editable ? t("header.loginUnavailable") : void 0,
|
|
13423
|
+
onClick: (event) => handleActionClick(event, loginField),
|
|
13244
13424
|
children: t("header.login")
|
|
13245
13425
|
}
|
|
13246
13426
|
),
|
|
13247
|
-
/* @__PURE__ */
|
|
13427
|
+
/* @__PURE__ */ jsx36(
|
|
13248
13428
|
ExactText,
|
|
13249
13429
|
{
|
|
13250
13430
|
cmsAs: OpenAccountButton,
|
|
13251
|
-
|
|
13252
|
-
|
|
13253
|
-
|
|
13254
|
-
|
|
13431
|
+
labelField: "header.register",
|
|
13432
|
+
...linkProps(registerLink, registerField),
|
|
13433
|
+
disabled: !registerLink.href && !editable,
|
|
13434
|
+
onClick: (event) => handleActionClick(event, registerField),
|
|
13255
13435
|
size: "sm",
|
|
13256
13436
|
radius: 6,
|
|
13257
13437
|
tint: "#F9BB3A",
|
|
@@ -13284,25 +13464,25 @@ var TitleContainer = styled28.div.withConfig({
|
|
|
13284
13464
|
]);
|
|
13285
13465
|
|
|
13286
13466
|
// src/commodity-original/components/Title/index.tsx
|
|
13287
|
-
import { jsx as
|
|
13467
|
+
import { jsx as jsx37, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
13288
13468
|
var TitleCommon = ({ title, classname, desc }) => {
|
|
13289
13469
|
return /* @__PURE__ */ jsxs29(TitleContainer, { className: classname, children: [
|
|
13290
|
-
/* @__PURE__ */
|
|
13291
|
-
desc && /* @__PURE__ */
|
|
13470
|
+
/* @__PURE__ */ jsx37(ExactText, { cmsAs: "h2", children: title }),
|
|
13471
|
+
desc && /* @__PURE__ */ jsx37(ExactText, { cmsAs: "p", children: desc })
|
|
13292
13472
|
] });
|
|
13293
13473
|
};
|
|
13294
13474
|
var Title_default = TitleCommon;
|
|
13295
13475
|
|
|
13296
13476
|
// src/commodity-original/components/LandingPage/AudienceSection.tsx
|
|
13297
13477
|
import { useTranslation as useTranslation17 } from "react-i18next";
|
|
13298
|
-
import { jsx as
|
|
13478
|
+
import { jsx as jsx38, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
13299
13479
|
function AudienceColumn({
|
|
13300
13480
|
items,
|
|
13301
13481
|
side
|
|
13302
13482
|
}) {
|
|
13303
|
-
return /* @__PURE__ */
|
|
13304
|
-
/* @__PURE__ */
|
|
13305
|
-
/* @__PURE__ */
|
|
13483
|
+
return /* @__PURE__ */ jsx38("div", { className: `audience-column audience-column--${side}`, children: items.map((item) => /* @__PURE__ */ jsxs30("article", { className: "speech-card", children: [
|
|
13484
|
+
/* @__PURE__ */ jsx38(ExactText, { cmsAs: "h3", children: item.title }),
|
|
13485
|
+
/* @__PURE__ */ jsx38(ExactText, { cmsAs: "p", children: item.body })
|
|
13306
13486
|
] }, item.title)) });
|
|
13307
13487
|
}
|
|
13308
13488
|
function AudienceSection() {
|
|
@@ -13320,15 +13500,15 @@ function AudienceSection() {
|
|
|
13320
13500
|
"audiencePhoneTwoImage",
|
|
13321
13501
|
"/landing-assets/audience-phones_2.webp"
|
|
13322
13502
|
);
|
|
13323
|
-
return /* @__PURE__ */
|
|
13324
|
-
/* @__PURE__ */
|
|
13503
|
+
return /* @__PURE__ */ jsx38("section", { className: "audience section", children: /* @__PURE__ */ jsxs30("div", { className: "container", children: [
|
|
13504
|
+
/* @__PURE__ */ jsx38(
|
|
13325
13505
|
Title_default,
|
|
13326
13506
|
{
|
|
13327
13507
|
classname: "audience-title",
|
|
13328
13508
|
title: t("landing.audience.title")
|
|
13329
13509
|
}
|
|
13330
13510
|
),
|
|
13331
|
-
/* @__PURE__ */
|
|
13511
|
+
/* @__PURE__ */ jsx38(
|
|
13332
13512
|
Button_default,
|
|
13333
13513
|
{
|
|
13334
13514
|
size: "sm",
|
|
@@ -13348,9 +13528,9 @@ function AudienceSection() {
|
|
|
13348
13528
|
}
|
|
13349
13529
|
),
|
|
13350
13530
|
/* @__PURE__ */ jsxs30("div", { className: "audience-layout", children: [
|
|
13351
|
-
/* @__PURE__ */
|
|
13531
|
+
/* @__PURE__ */ jsx38(AudienceColumn, { items: audiences.slice(0, 2), side: "left" }),
|
|
13352
13532
|
/* @__PURE__ */ jsxs30("div", { className: "audience-phones wikex-cms-image-host", children: [
|
|
13353
|
-
/* @__PURE__ */
|
|
13533
|
+
/* @__PURE__ */ jsx38(
|
|
13354
13534
|
Image10,
|
|
13355
13535
|
{
|
|
13356
13536
|
src: phoneOne,
|
|
@@ -13360,7 +13540,7 @@ function AudienceSection() {
|
|
|
13360
13540
|
className: "phone_1"
|
|
13361
13541
|
}
|
|
13362
13542
|
),
|
|
13363
|
-
/* @__PURE__ */
|
|
13543
|
+
/* @__PURE__ */ jsx38(
|
|
13364
13544
|
Image10,
|
|
13365
13545
|
{
|
|
13366
13546
|
src: phoneTwo,
|
|
@@ -13370,10 +13550,10 @@ function AudienceSection() {
|
|
|
13370
13550
|
className: "phone_2"
|
|
13371
13551
|
}
|
|
13372
13552
|
),
|
|
13373
|
-
/* @__PURE__ */
|
|
13374
|
-
/* @__PURE__ */
|
|
13553
|
+
/* @__PURE__ */ jsx38(CmsImageAction, { field: "audiencePhoneOneImage" }),
|
|
13554
|
+
/* @__PURE__ */ jsx38(CmsImageAction, { field: "audiencePhoneTwoImage", style: { bottom: 52 } })
|
|
13375
13555
|
] }),
|
|
13376
|
-
/* @__PURE__ */
|
|
13556
|
+
/* @__PURE__ */ jsx38(AudienceColumn, { items: audiences.slice(2), side: "right" })
|
|
13377
13557
|
] })
|
|
13378
13558
|
] }) });
|
|
13379
13559
|
}
|
|
@@ -13384,7 +13564,7 @@ import { useTranslation as useTranslation18 } from "react-i18next";
|
|
|
13384
13564
|
|
|
13385
13565
|
// src/commodity-original/components/LandingPage/BenefitIcon.tsx
|
|
13386
13566
|
import { useId as useId2 } from "react";
|
|
13387
|
-
import { jsx as
|
|
13567
|
+
import { jsx as jsx39, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
13388
13568
|
var sharedProps = {
|
|
13389
13569
|
xmlns: "http://www.w3.org/2000/svg",
|
|
13390
13570
|
className: "benefit-icon",
|
|
@@ -13402,7 +13582,7 @@ function BenefitIcon({ name }) {
|
|
|
13402
13582
|
switch (name) {
|
|
13403
13583
|
case "market":
|
|
13404
13584
|
return /* @__PURE__ */ jsxs31("svg", { ...sharedProps, viewBox: "0 0 48 48", children: [
|
|
13405
|
-
/* @__PURE__ */
|
|
13585
|
+
/* @__PURE__ */ jsx39(
|
|
13406
13586
|
"rect",
|
|
13407
13587
|
{
|
|
13408
13588
|
x: "4",
|
|
@@ -13413,7 +13593,7 @@ function BenefitIcon({ name }) {
|
|
|
13413
13593
|
fill: "#F9BB3A"
|
|
13414
13594
|
}
|
|
13415
13595
|
),
|
|
13416
|
-
/* @__PURE__ */
|
|
13596
|
+
/* @__PURE__ */ jsx39(
|
|
13417
13597
|
"line",
|
|
13418
13598
|
{
|
|
13419
13599
|
pathLength: "1",
|
|
@@ -13426,7 +13606,7 @@ function BenefitIcon({ name }) {
|
|
|
13426
13606
|
strokeLinecap: "round"
|
|
13427
13607
|
}
|
|
13428
13608
|
),
|
|
13429
|
-
/* @__PURE__ */
|
|
13609
|
+
/* @__PURE__ */ jsx39(
|
|
13430
13610
|
"line",
|
|
13431
13611
|
{
|
|
13432
13612
|
className: "benefit-market-line benefit-market-line--1",
|
|
@@ -13440,7 +13620,7 @@ function BenefitIcon({ name }) {
|
|
|
13440
13620
|
strokeLinecap: "round"
|
|
13441
13621
|
}
|
|
13442
13622
|
),
|
|
13443
|
-
/* @__PURE__ */
|
|
13623
|
+
/* @__PURE__ */ jsx39(
|
|
13444
13624
|
"line",
|
|
13445
13625
|
{
|
|
13446
13626
|
className: "benefit-market-line benefit-market-line--3",
|
|
@@ -13454,7 +13634,7 @@ function BenefitIcon({ name }) {
|
|
|
13454
13634
|
strokeLinecap: "round"
|
|
13455
13635
|
}
|
|
13456
13636
|
),
|
|
13457
|
-
/* @__PURE__ */
|
|
13637
|
+
/* @__PURE__ */ jsx39(
|
|
13458
13638
|
"line",
|
|
13459
13639
|
{
|
|
13460
13640
|
className: "benefit-market-line benefit-market-line--2",
|
|
@@ -13481,14 +13661,14 @@ function BenefitIcon({ name }) {
|
|
|
13481
13661
|
fill: "none",
|
|
13482
13662
|
className: "benefit-two-way",
|
|
13483
13663
|
children: [
|
|
13484
|
-
/* @__PURE__ */
|
|
13664
|
+
/* @__PURE__ */ jsx39(
|
|
13485
13665
|
"path",
|
|
13486
13666
|
{
|
|
13487
13667
|
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",
|
|
13488
13668
|
fill: isDarkTheme ? "#fff" : "#05080F"
|
|
13489
13669
|
}
|
|
13490
13670
|
),
|
|
13491
|
-
/* @__PURE__ */
|
|
13671
|
+
/* @__PURE__ */ jsx39(
|
|
13492
13672
|
"path",
|
|
13493
13673
|
{
|
|
13494
13674
|
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",
|
|
@@ -13509,15 +13689,15 @@ function BenefitIcon({ name }) {
|
|
|
13509
13689
|
viewBox: "0 0 48 48",
|
|
13510
13690
|
fill: "none",
|
|
13511
13691
|
children: [
|
|
13512
|
-
/* @__PURE__ */
|
|
13692
|
+
/* @__PURE__ */ jsx39(
|
|
13513
13693
|
"path",
|
|
13514
13694
|
{
|
|
13515
13695
|
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",
|
|
13516
13696
|
fill: "#F9BB3A"
|
|
13517
13697
|
}
|
|
13518
13698
|
),
|
|
13519
|
-
/* @__PURE__ */
|
|
13520
|
-
/* @__PURE__ */
|
|
13699
|
+
/* @__PURE__ */ jsx39("path", { d: "M38.5 17.5H26.5V5.5L38.5 17.5Z", fill: isDarkTheme ? "#fff" : "#05080F" }),
|
|
13700
|
+
/* @__PURE__ */ jsx39(
|
|
13521
13701
|
"rect",
|
|
13522
13702
|
{
|
|
13523
13703
|
className: "benefit-futures-line benefit-futures-line--1",
|
|
@@ -13528,7 +13708,7 @@ function BenefitIcon({ name }) {
|
|
|
13528
13708
|
fill: isDarkTheme ? "#fff" : "#05080F"
|
|
13529
13709
|
}
|
|
13530
13710
|
),
|
|
13531
|
-
/* @__PURE__ */
|
|
13711
|
+
/* @__PURE__ */ jsx39(
|
|
13532
13712
|
"rect",
|
|
13533
13713
|
{
|
|
13534
13714
|
className: "benefit-futures-line benefit-futures-line--2",
|
|
@@ -13539,7 +13719,7 @@ function BenefitIcon({ name }) {
|
|
|
13539
13719
|
fill: isDarkTheme ? "#fff" : "#05080F"
|
|
13540
13720
|
}
|
|
13541
13721
|
),
|
|
13542
|
-
/* @__PURE__ */
|
|
13722
|
+
/* @__PURE__ */ jsx39(
|
|
13543
13723
|
"rect",
|
|
13544
13724
|
{
|
|
13545
13725
|
className: "benefit-futures-line benefit-futures-line--3",
|
|
@@ -13550,7 +13730,7 @@ function BenefitIcon({ name }) {
|
|
|
13550
13730
|
fill: isDarkTheme ? "#fff" : "#05080F"
|
|
13551
13731
|
}
|
|
13552
13732
|
),
|
|
13553
|
-
/* @__PURE__ */
|
|
13733
|
+
/* @__PURE__ */ jsx39(
|
|
13554
13734
|
"rect",
|
|
13555
13735
|
{
|
|
13556
13736
|
className: "benefit-futures-line benefit-futures-line--4",
|
|
@@ -13575,7 +13755,7 @@ function BenefitIcon({ name }) {
|
|
|
13575
13755
|
viewBox: "0 0 48 48",
|
|
13576
13756
|
fill: "none",
|
|
13577
13757
|
children: [
|
|
13578
|
-
/* @__PURE__ */
|
|
13758
|
+
/* @__PURE__ */ jsx39(
|
|
13579
13759
|
"path",
|
|
13580
13760
|
{
|
|
13581
13761
|
className: "benefit-product-segment benefit-product-segment--1",
|
|
@@ -13583,7 +13763,7 @@ function BenefitIcon({ name }) {
|
|
|
13583
13763
|
fill: "#F9BB3A"
|
|
13584
13764
|
}
|
|
13585
13765
|
),
|
|
13586
|
-
/* @__PURE__ */
|
|
13766
|
+
/* @__PURE__ */ jsx39(
|
|
13587
13767
|
"path",
|
|
13588
13768
|
{
|
|
13589
13769
|
className: "benefit-product-segment benefit-product-segment--2",
|
|
@@ -13591,7 +13771,7 @@ function BenefitIcon({ name }) {
|
|
|
13591
13771
|
fill: isDarkTheme ? "#fff" : "#05080F"
|
|
13592
13772
|
}
|
|
13593
13773
|
),
|
|
13594
|
-
/* @__PURE__ */
|
|
13774
|
+
/* @__PURE__ */ jsx39(
|
|
13595
13775
|
"path",
|
|
13596
13776
|
{
|
|
13597
13777
|
className: "benefit-product-segment benefit-product-segment--3",
|
|
@@ -13599,7 +13779,7 @@ function BenefitIcon({ name }) {
|
|
|
13599
13779
|
fill: "#F9BB3A"
|
|
13600
13780
|
}
|
|
13601
13781
|
),
|
|
13602
|
-
/* @__PURE__ */
|
|
13782
|
+
/* @__PURE__ */ jsx39(
|
|
13603
13783
|
"path",
|
|
13604
13784
|
{
|
|
13605
13785
|
className: "benefit-product-segment benefit-product-segment--4",
|
|
@@ -13621,7 +13801,7 @@ function BenefitIcon({ name }) {
|
|
|
13621
13801
|
viewBox: "0 0 48 48",
|
|
13622
13802
|
fill: "none",
|
|
13623
13803
|
children: [
|
|
13624
|
-
/* @__PURE__ */
|
|
13804
|
+
/* @__PURE__ */ jsx39(
|
|
13625
13805
|
"rect",
|
|
13626
13806
|
{
|
|
13627
13807
|
x: "3.49805",
|
|
@@ -13632,7 +13812,7 @@ function BenefitIcon({ name }) {
|
|
|
13632
13812
|
fill: "#F9BB3A"
|
|
13633
13813
|
}
|
|
13634
13814
|
),
|
|
13635
|
-
/* @__PURE__ */
|
|
13815
|
+
/* @__PURE__ */ jsx39(
|
|
13636
13816
|
"rect",
|
|
13637
13817
|
{
|
|
13638
13818
|
x: "6.49365",
|
|
@@ -13643,7 +13823,7 @@ function BenefitIcon({ name }) {
|
|
|
13643
13823
|
fill: "#F9BB3A"
|
|
13644
13824
|
}
|
|
13645
13825
|
),
|
|
13646
|
-
/* @__PURE__ */
|
|
13826
|
+
/* @__PURE__ */ jsx39(
|
|
13647
13827
|
"rect",
|
|
13648
13828
|
{
|
|
13649
13829
|
x: "2",
|
|
@@ -13655,14 +13835,14 @@ function BenefitIcon({ name }) {
|
|
|
13655
13835
|
}
|
|
13656
13836
|
),
|
|
13657
13837
|
/* @__PURE__ */ jsxs31("g", { className: "benefit-writing-pen", children: [
|
|
13658
|
-
/* @__PURE__ */
|
|
13838
|
+
/* @__PURE__ */ jsx39(
|
|
13659
13839
|
"path",
|
|
13660
13840
|
{
|
|
13661
13841
|
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",
|
|
13662
13842
|
fill: isDarkTheme ? "#fff" : "#05080F"
|
|
13663
13843
|
}
|
|
13664
13844
|
),
|
|
13665
|
-
/* @__PURE__ */
|
|
13845
|
+
/* @__PURE__ */ jsx39(
|
|
13666
13846
|
"rect",
|
|
13667
13847
|
{
|
|
13668
13848
|
x: "37.9883",
|
|
@@ -13689,7 +13869,7 @@ function BenefitIcon({ name }) {
|
|
|
13689
13869
|
viewBox: "0 0 48 48",
|
|
13690
13870
|
fill: "none",
|
|
13691
13871
|
children: [
|
|
13692
|
-
/* @__PURE__ */
|
|
13872
|
+
/* @__PURE__ */ jsx39("defs", { children: /* @__PURE__ */ jsx39("clipPath", { id: economyRevealId, clipPathUnits: "userSpaceOnUse", children: /* @__PURE__ */ jsx39(
|
|
13693
13873
|
"rect",
|
|
13694
13874
|
{
|
|
13695
13875
|
className: "benefit-economy-reveal",
|
|
@@ -13697,7 +13877,7 @@ function BenefitIcon({ name }) {
|
|
|
13697
13877
|
height: "48"
|
|
13698
13878
|
}
|
|
13699
13879
|
) }) }),
|
|
13700
|
-
/* @__PURE__ */
|
|
13880
|
+
/* @__PURE__ */ jsx39(
|
|
13701
13881
|
"path",
|
|
13702
13882
|
{
|
|
13703
13883
|
d: "M19.6818 23.8565L6.5 39.402H43V11.7656L28.3182 29.902L19.6818 23.8565Z",
|
|
@@ -13705,7 +13885,7 @@ function BenefitIcon({ name }) {
|
|
|
13705
13885
|
clipPath: `url(#${economyRevealId})`
|
|
13706
13886
|
}
|
|
13707
13887
|
),
|
|
13708
|
-
/* @__PURE__ */
|
|
13888
|
+
/* @__PURE__ */ jsx39(
|
|
13709
13889
|
"line",
|
|
13710
13890
|
{
|
|
13711
13891
|
x1: "5.25",
|
|
@@ -13717,7 +13897,7 @@ function BenefitIcon({ name }) {
|
|
|
13717
13897
|
strokeLinecap: "round"
|
|
13718
13898
|
}
|
|
13719
13899
|
),
|
|
13720
|
-
/* @__PURE__ */
|
|
13900
|
+
/* @__PURE__ */ jsx39(
|
|
13721
13901
|
"line",
|
|
13722
13902
|
{
|
|
13723
13903
|
x1: "5.25",
|
|
@@ -13743,7 +13923,7 @@ function BenefitIcon({ name }) {
|
|
|
13743
13923
|
viewBox: "0 0 48 48",
|
|
13744
13924
|
fill: "none",
|
|
13745
13925
|
children: [
|
|
13746
|
-
/* @__PURE__ */
|
|
13926
|
+
/* @__PURE__ */ jsx39(
|
|
13747
13927
|
"line",
|
|
13748
13928
|
{
|
|
13749
13929
|
x1: "5.25",
|
|
@@ -13755,7 +13935,7 @@ function BenefitIcon({ name }) {
|
|
|
13755
13935
|
strokeLinecap: "round"
|
|
13756
13936
|
}
|
|
13757
13937
|
),
|
|
13758
|
-
/* @__PURE__ */
|
|
13938
|
+
/* @__PURE__ */ jsx39(
|
|
13759
13939
|
"line",
|
|
13760
13940
|
{
|
|
13761
13941
|
x1: "7.25",
|
|
@@ -13768,7 +13948,7 @@ function BenefitIcon({ name }) {
|
|
|
13768
13948
|
}
|
|
13769
13949
|
),
|
|
13770
13950
|
/* @__PURE__ */ jsxs31("g", { className: "benefit-gavel", children: [
|
|
13771
|
-
/* @__PURE__ */
|
|
13951
|
+
/* @__PURE__ */ jsx39(
|
|
13772
13952
|
"rect",
|
|
13773
13953
|
{
|
|
13774
13954
|
x: "31.0806",
|
|
@@ -13780,7 +13960,7 @@ function BenefitIcon({ name }) {
|
|
|
13780
13960
|
fill: "#F9BB3A"
|
|
13781
13961
|
}
|
|
13782
13962
|
),
|
|
13783
|
-
/* @__PURE__ */
|
|
13963
|
+
/* @__PURE__ */ jsx39(
|
|
13784
13964
|
"rect",
|
|
13785
13965
|
{
|
|
13786
13966
|
x: "30.4731",
|
|
@@ -13791,14 +13971,14 @@ function BenefitIcon({ name }) {
|
|
|
13791
13971
|
fill: "#F9BB3A"
|
|
13792
13972
|
}
|
|
13793
13973
|
),
|
|
13794
|
-
/* @__PURE__ */
|
|
13974
|
+
/* @__PURE__ */ jsx39(
|
|
13795
13975
|
"path",
|
|
13796
13976
|
{
|
|
13797
13977
|
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",
|
|
13798
13978
|
fill: isDarkTheme ? "#fff" : "#05080F"
|
|
13799
13979
|
}
|
|
13800
13980
|
),
|
|
13801
|
-
/* @__PURE__ */
|
|
13981
|
+
/* @__PURE__ */ jsx39(
|
|
13802
13982
|
"path",
|
|
13803
13983
|
{
|
|
13804
13984
|
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",
|
|
@@ -13820,14 +14000,14 @@ function BenefitIcon({ name }) {
|
|
|
13820
14000
|
viewBox: "0 0 48 48",
|
|
13821
14001
|
fill: "none",
|
|
13822
14002
|
children: [
|
|
13823
|
-
/* @__PURE__ */
|
|
14003
|
+
/* @__PURE__ */ jsx39(
|
|
13824
14004
|
"path",
|
|
13825
14005
|
{
|
|
13826
14006
|
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",
|
|
13827
14007
|
fill: "#F9BB3A"
|
|
13828
14008
|
}
|
|
13829
14009
|
),
|
|
13830
|
-
/* @__PURE__ */
|
|
14010
|
+
/* @__PURE__ */ jsx39(
|
|
13831
14011
|
"rect",
|
|
13832
14012
|
{
|
|
13833
14013
|
className: "benefit-risk-square benefit-risk-square--2",
|
|
@@ -13838,7 +14018,7 @@ function BenefitIcon({ name }) {
|
|
|
13838
14018
|
fill: isDarkTheme ? "#fff" : "#05080F"
|
|
13839
14019
|
}
|
|
13840
14020
|
),
|
|
13841
|
-
/* @__PURE__ */
|
|
14021
|
+
/* @__PURE__ */ jsx39(
|
|
13842
14022
|
"rect",
|
|
13843
14023
|
{
|
|
13844
14024
|
className: "benefit-risk-square benefit-risk-square--3",
|
|
@@ -13849,7 +14029,7 @@ function BenefitIcon({ name }) {
|
|
|
13849
14029
|
fill: isDarkTheme ? "#fff" : "#05080F"
|
|
13850
14030
|
}
|
|
13851
14031
|
),
|
|
13852
|
-
/* @__PURE__ */
|
|
14032
|
+
/* @__PURE__ */ jsx39(
|
|
13853
14033
|
"rect",
|
|
13854
14034
|
{
|
|
13855
14035
|
className: "benefit-risk-square benefit-risk-square--1",
|
|
@@ -13867,20 +14047,20 @@ function BenefitIcon({ name }) {
|
|
|
13867
14047
|
}
|
|
13868
14048
|
|
|
13869
14049
|
// src/commodity-original/components/LandingPage/BenefitsSection.tsx
|
|
13870
|
-
import { jsx as
|
|
14050
|
+
import { jsx as jsx40, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
13871
14051
|
function BenefitCopy({
|
|
13872
14052
|
body,
|
|
13873
14053
|
emphasizedWords
|
|
13874
14054
|
}) {
|
|
13875
14055
|
if (!emphasizedWords?.length) {
|
|
13876
|
-
return /* @__PURE__ */
|
|
14056
|
+
return /* @__PURE__ */ jsx40(ExactText, { cmsAs: "p", children: body });
|
|
13877
14057
|
}
|
|
13878
14058
|
const pattern = new RegExp(
|
|
13879
14059
|
`(${emphasizedWords.map((word) => word.replace(/[.*+?^${}()|[\]\\]/g, "\\$&")).join("|")})`,
|
|
13880
14060
|
"g"
|
|
13881
14061
|
);
|
|
13882
|
-
return /* @__PURE__ */
|
|
13883
|
-
(part, index) => emphasizedWords.includes(part) ? /* @__PURE__ */
|
|
14062
|
+
return /* @__PURE__ */ jsx40(ExactText, { cmsAs: "p", children: body.split(pattern).map(
|
|
14063
|
+
(part, index) => emphasizedWords.includes(part) ? /* @__PURE__ */ jsx40(ExactText, { cmsAs: "strong", children: part }, `${part}-${index}`) : part
|
|
13884
14064
|
) });
|
|
13885
14065
|
}
|
|
13886
14066
|
function BenefitsSection() {
|
|
@@ -13900,8 +14080,8 @@ function BenefitsSection() {
|
|
|
13900
14080
|
(current) => current.includes(index) ? current.filter((cardIndex) => cardIndex !== index) : [...current, index]
|
|
13901
14081
|
);
|
|
13902
14082
|
};
|
|
13903
|
-
return /* @__PURE__ */
|
|
13904
|
-
/* @__PURE__ */
|
|
14083
|
+
return /* @__PURE__ */ jsx40("section", { className: "benefits section", id: "news", children: /* @__PURE__ */ jsxs32("div", { className: "container", children: [
|
|
14084
|
+
/* @__PURE__ */ jsx40(
|
|
13905
14085
|
Title_default,
|
|
13906
14086
|
{
|
|
13907
14087
|
classname: "section-heading",
|
|
@@ -13909,7 +14089,7 @@ function BenefitsSection() {
|
|
|
13909
14089
|
desc: t("landing.benefits.description")
|
|
13910
14090
|
}
|
|
13911
14091
|
),
|
|
13912
|
-
/* @__PURE__ */
|
|
14092
|
+
/* @__PURE__ */ jsx40("div", { className: "benefit-grid", children: benefitItems.map((item, index) => {
|
|
13913
14093
|
const isExpanded = expandedCards.includes(index);
|
|
13914
14094
|
const contentId = `benefit-content-${index}`;
|
|
13915
14095
|
const title = t(`landing.benefits.cards.${index}.title`);
|
|
@@ -13920,15 +14100,15 @@ function BenefitsSection() {
|
|
|
13920
14100
|
className: `benefit-card${index >= 4 ? " benefit-card--tall" : ""}${isExpanded ? " is-expanded" : ""}`,
|
|
13921
14101
|
children: [
|
|
13922
14102
|
/* @__PURE__ */ jsxs32("div", { className: "benefit-inner", children: [
|
|
13923
|
-
/* @__PURE__ */
|
|
13924
|
-
/* @__PURE__ */
|
|
13925
|
-
/* @__PURE__ */
|
|
14103
|
+
/* @__PURE__ */ jsx40(BenefitIcon, { name: item.icon }),
|
|
14104
|
+
/* @__PURE__ */ jsx40(ExactText, { cmsAs: "h3", children: title }),
|
|
14105
|
+
/* @__PURE__ */ jsx40(
|
|
13926
14106
|
"div",
|
|
13927
14107
|
{
|
|
13928
14108
|
className: "benefit-body",
|
|
13929
14109
|
id: contentId,
|
|
13930
14110
|
"aria-hidden": !isExpanded,
|
|
13931
|
-
children: /* @__PURE__ */
|
|
14111
|
+
children: /* @__PURE__ */ jsx40("div", { className: "benefit-body-clip", children: /* @__PURE__ */ jsx40(
|
|
13932
14112
|
BenefitCopy,
|
|
13933
14113
|
{
|
|
13934
14114
|
body,
|
|
@@ -13938,7 +14118,7 @@ function BenefitsSection() {
|
|
|
13938
14118
|
}
|
|
13939
14119
|
)
|
|
13940
14120
|
] }),
|
|
13941
|
-
/* @__PURE__ */
|
|
14121
|
+
/* @__PURE__ */ jsx40(
|
|
13942
14122
|
"button",
|
|
13943
14123
|
{
|
|
13944
14124
|
className: "benefit-toggle",
|
|
@@ -13960,7 +14140,7 @@ function BenefitsSection() {
|
|
|
13960
14140
|
// src/commodity-original/components/LandingPage/CommoditiesSection.tsx
|
|
13961
14141
|
import Image11 from "next/image.js";
|
|
13962
14142
|
import { useTranslation as useTranslation19 } from "react-i18next";
|
|
13963
|
-
import { jsx as
|
|
14143
|
+
import { jsx as jsx41, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
13964
14144
|
function CommodityProduct({
|
|
13965
14145
|
item,
|
|
13966
14146
|
groupIndex,
|
|
@@ -13973,7 +14153,7 @@ function CommodityProduct({
|
|
|
13973
14153
|
const image2 = useCmsImage(imageField, item.image);
|
|
13974
14154
|
return /* @__PURE__ */ jsxs33("div", { className: "commodity-product", children: [
|
|
13975
14155
|
/* @__PURE__ */ jsxs33("div", { className: `commodity-image commodity-image--${item.imageClassName} wikex-cms-image-host`, children: [
|
|
13976
|
-
/* @__PURE__ */
|
|
14156
|
+
/* @__PURE__ */ jsx41(
|
|
13977
14157
|
Image11,
|
|
13978
14158
|
{
|
|
13979
14159
|
className: "commodity-sprite",
|
|
@@ -13984,14 +14164,14 @@ function CommodityProduct({
|
|
|
13984
14164
|
sizes: "(max-width: 767px) 98px, 136px"
|
|
13985
14165
|
}
|
|
13986
14166
|
),
|
|
13987
|
-
/* @__PURE__ */
|
|
14167
|
+
/* @__PURE__ */ jsx41(CmsImageAction, { field: imageField })
|
|
13988
14168
|
] }),
|
|
13989
14169
|
/* @__PURE__ */ jsxs33("div", { className: "commodity-copy", children: [
|
|
13990
|
-
/* @__PURE__ */
|
|
13991
|
-
/* @__PURE__ */
|
|
14170
|
+
/* @__PURE__ */ jsx41(ExactText, { cmsAs: "h3", children: name }),
|
|
14171
|
+
/* @__PURE__ */ jsx41(ExactText, { cmsAs: "p", children: t(`${key}.body`) }),
|
|
13992
14172
|
/* @__PURE__ */ jsxs33("a", { href: "#register", children: [
|
|
13993
14173
|
t(`${key}.cta`),
|
|
13994
|
-
/* @__PURE__ */
|
|
14174
|
+
/* @__PURE__ */ jsx41(
|
|
13995
14175
|
Image11,
|
|
13996
14176
|
{
|
|
13997
14177
|
src: "/landing-assets/commodity-link-arrow.svg",
|
|
@@ -14007,15 +14187,15 @@ function CommodityProduct({
|
|
|
14007
14187
|
}
|
|
14008
14188
|
function CommoditiesSection() {
|
|
14009
14189
|
const { t } = useTranslation19();
|
|
14010
|
-
return /* @__PURE__ */
|
|
14011
|
-
/* @__PURE__ */
|
|
14190
|
+
return /* @__PURE__ */ jsx41("section", { className: "commodities section", id: "fees", children: /* @__PURE__ */ jsxs33("div", { className: "container", children: [
|
|
14191
|
+
/* @__PURE__ */ jsx41(
|
|
14012
14192
|
Title_default,
|
|
14013
14193
|
{
|
|
14014
14194
|
classname: "commodities-title",
|
|
14015
14195
|
title: t("landing.commodities.title")
|
|
14016
14196
|
}
|
|
14017
14197
|
),
|
|
14018
|
-
/* @__PURE__ */
|
|
14198
|
+
/* @__PURE__ */ jsx41("div", { className: "commodity-list", children: commodityGroups.map((group, groupIndex) => {
|
|
14019
14199
|
const groupTitle = t(
|
|
14020
14200
|
`landing.commodities.groups.${groupIndex}.title`
|
|
14021
14201
|
);
|
|
@@ -14026,7 +14206,7 @@ function CommoditiesSection() {
|
|
|
14026
14206
|
id: `commodity-${group.className}`,
|
|
14027
14207
|
children: [
|
|
14028
14208
|
/* @__PURE__ */ jsxs33("div", { className: "commodity-label", children: [
|
|
14029
|
-
/* @__PURE__ */
|
|
14209
|
+
/* @__PURE__ */ jsx41(
|
|
14030
14210
|
Image11,
|
|
14031
14211
|
{
|
|
14032
14212
|
className: "commodity-label-panel",
|
|
@@ -14037,7 +14217,7 @@ function CommoditiesSection() {
|
|
|
14037
14217
|
"aria-hidden": "true"
|
|
14038
14218
|
}
|
|
14039
14219
|
),
|
|
14040
|
-
/* @__PURE__ */
|
|
14220
|
+
/* @__PURE__ */ jsx41(
|
|
14041
14221
|
Image11,
|
|
14042
14222
|
{
|
|
14043
14223
|
className: "commodity-label-tail",
|
|
@@ -14048,7 +14228,7 @@ function CommoditiesSection() {
|
|
|
14048
14228
|
"aria-hidden": "true"
|
|
14049
14229
|
}
|
|
14050
14230
|
),
|
|
14051
|
-
/* @__PURE__ */
|
|
14231
|
+
/* @__PURE__ */ jsx41(
|
|
14052
14232
|
Image11,
|
|
14053
14233
|
{
|
|
14054
14234
|
className: "commodity-label-panel-mobile",
|
|
@@ -14059,7 +14239,7 @@ function CommoditiesSection() {
|
|
|
14059
14239
|
"aria-hidden": "true"
|
|
14060
14240
|
}
|
|
14061
14241
|
),
|
|
14062
|
-
/* @__PURE__ */
|
|
14242
|
+
/* @__PURE__ */ jsx41("span", { className: "commodity-label-icon", "aria-hidden": "true", children: /* @__PURE__ */ jsx41(
|
|
14063
14243
|
Image11,
|
|
14064
14244
|
{
|
|
14065
14245
|
src: group.icon,
|
|
@@ -14068,10 +14248,10 @@ function CommoditiesSection() {
|
|
|
14068
14248
|
height: group.iconHeight
|
|
14069
14249
|
}
|
|
14070
14250
|
) }),
|
|
14071
|
-
/* @__PURE__ */
|
|
14251
|
+
/* @__PURE__ */ jsx41(ExactText, { cmsAs: "h3", children: groupTitle })
|
|
14072
14252
|
] }),
|
|
14073
14253
|
/* @__PURE__ */ jsxs33("div", { className: "commodity-carousel", children: [
|
|
14074
|
-
/* @__PURE__ */
|
|
14254
|
+
/* @__PURE__ */ jsx41(
|
|
14075
14255
|
"button",
|
|
14076
14256
|
{
|
|
14077
14257
|
className: "commodity-nav",
|
|
@@ -14079,7 +14259,7 @@ function CommoditiesSection() {
|
|
|
14079
14259
|
"aria-label": t("landing.commodities.previous", {
|
|
14080
14260
|
group: groupTitle
|
|
14081
14261
|
}),
|
|
14082
|
-
children: /* @__PURE__ */
|
|
14262
|
+
children: /* @__PURE__ */ jsx41(
|
|
14083
14263
|
Image11,
|
|
14084
14264
|
{
|
|
14085
14265
|
src: "/landing-assets/commodity-arrow-left.svg",
|
|
@@ -14090,7 +14270,7 @@ function CommoditiesSection() {
|
|
|
14090
14270
|
)
|
|
14091
14271
|
}
|
|
14092
14272
|
),
|
|
14093
|
-
/* @__PURE__ */
|
|
14273
|
+
/* @__PURE__ */ jsx41("div", { className: "commodity-products", children: group.items.map((item, itemIndex) => /* @__PURE__ */ jsx41(
|
|
14094
14274
|
CommodityProduct,
|
|
14095
14275
|
{
|
|
14096
14276
|
item,
|
|
@@ -14099,7 +14279,7 @@ function CommoditiesSection() {
|
|
|
14099
14279
|
},
|
|
14100
14280
|
item.imageClassName
|
|
14101
14281
|
)) }),
|
|
14102
|
-
/* @__PURE__ */
|
|
14282
|
+
/* @__PURE__ */ jsx41(
|
|
14103
14283
|
"button",
|
|
14104
14284
|
{
|
|
14105
14285
|
className: "commodity-nav",
|
|
@@ -14107,7 +14287,7 @@ function CommoditiesSection() {
|
|
|
14107
14287
|
"aria-label": t("landing.commodities.next", {
|
|
14108
14288
|
group: groupTitle
|
|
14109
14289
|
}),
|
|
14110
|
-
children: /* @__PURE__ */
|
|
14290
|
+
children: /* @__PURE__ */ jsx41(
|
|
14111
14291
|
Image11,
|
|
14112
14292
|
{
|
|
14113
14293
|
src: "/landing-assets/commodity-arrow-right.svg",
|
|
@@ -14130,7 +14310,7 @@ function CommoditiesSection() {
|
|
|
14130
14310
|
// src/commodity-original/components/LandingPage/DownloadSection.tsx
|
|
14131
14311
|
import Image12 from "next/image.js";
|
|
14132
14312
|
import { useTranslation as useTranslation20 } from "react-i18next";
|
|
14133
|
-
import { jsx as
|
|
14313
|
+
import { jsx as jsx42, jsxs as jsxs34 } from "react/jsx-runtime";
|
|
14134
14314
|
var downloadBadges = [
|
|
14135
14315
|
{
|
|
14136
14316
|
src: "/landing-assets/footer-appstore-icon.svg",
|
|
@@ -14155,7 +14335,8 @@ var downloadBadges = [
|
|
|
14155
14335
|
}
|
|
14156
14336
|
];
|
|
14157
14337
|
function DownloadSection() {
|
|
14158
|
-
const { t } = useTranslation20();
|
|
14338
|
+
const { t, i18n } = useTranslation20();
|
|
14339
|
+
const language = i18n.resolvedLanguage?.startsWith("en") ? "en" : "vi";
|
|
14159
14340
|
const reward = t("landing.download.reward");
|
|
14160
14341
|
const qrImage = useCmsImage("downloadQrImage", "/landing-assets/download-qr.png");
|
|
14161
14342
|
const laptopImage = useCmsImage(
|
|
@@ -14166,17 +14347,17 @@ function DownloadSection() {
|
|
|
14166
14347
|
"downloadPhoneImage",
|
|
14167
14348
|
"/landing-assets/download-phone.webp"
|
|
14168
14349
|
);
|
|
14169
|
-
const downloadLinks = /* @__PURE__ */
|
|
14170
|
-
|
|
14350
|
+
const downloadLinks = /* @__PURE__ */ jsx42("div", { className: "download-links", children: downloadBadges.map((badge) => /* @__PURE__ */ jsxs34(
|
|
14351
|
+
CmsDownloadButtonLink,
|
|
14171
14352
|
{
|
|
14353
|
+
field: `${language}.${badge.prefixKey}`,
|
|
14172
14354
|
className: `download-badge ${badge.className}`,
|
|
14173
|
-
role: "img",
|
|
14174
14355
|
"aria-label": t(badge.altKey),
|
|
14175
14356
|
children: [
|
|
14176
|
-
/* @__PURE__ */
|
|
14357
|
+
/* @__PURE__ */ jsx42(Image12, { src: badge.src, alt: "", width: 28, height: 28 }),
|
|
14177
14358
|
/* @__PURE__ */ jsxs34("span", { className: "download-badge-copy", children: [
|
|
14178
|
-
/* @__PURE__ */
|
|
14179
|
-
badge.name === "Google Play" ? /* @__PURE__ */
|
|
14359
|
+
/* @__PURE__ */ jsx42(ExactText, { cmsAs: "small", cmsField: badge.prefixKey, children: t(badge.prefixKey) }),
|
|
14360
|
+
badge.name === "Google Play" ? /* @__PURE__ */ jsx42(
|
|
14180
14361
|
Image12,
|
|
14181
14362
|
{
|
|
14182
14363
|
className: "download-googleplay-wordmark",
|
|
@@ -14185,20 +14366,20 @@ function DownloadSection() {
|
|
|
14185
14366
|
width: 89,
|
|
14186
14367
|
height: 18
|
|
14187
14368
|
}
|
|
14188
|
-
) : /* @__PURE__ */
|
|
14369
|
+
) : /* @__PURE__ */ jsx42("strong", { children: badge.name })
|
|
14189
14370
|
] })
|
|
14190
14371
|
]
|
|
14191
14372
|
},
|
|
14192
14373
|
badge.src
|
|
14193
14374
|
)) });
|
|
14194
|
-
return /* @__PURE__ */
|
|
14375
|
+
return /* @__PURE__ */ jsx42("section", { className: "download section", id: "download", children: /* @__PURE__ */ jsxs34("div", { className: "container download-card", children: [
|
|
14195
14376
|
/* @__PURE__ */ jsxs34("div", { className: "download-copy", children: [
|
|
14196
|
-
/* @__PURE__ */
|
|
14377
|
+
/* @__PURE__ */ jsx42(ExactText, { cmsAs: "h2", className: "download-mobile-title", children: t("landing.download.title") }),
|
|
14197
14378
|
/* @__PURE__ */ jsxs34("div", { className: "download-offer-row", children: [
|
|
14198
14379
|
/* @__PURE__ */ jsxs34("div", { className: "reward", children: [
|
|
14199
|
-
/* @__PURE__ */
|
|
14200
|
-
/* @__PURE__ */
|
|
14201
|
-
/* @__PURE__ */
|
|
14380
|
+
/* @__PURE__ */ jsx42(ExactText, { cmsAs: "h2", className: "download-desktop-title", children: t("landing.download.desktopTitle") }),
|
|
14381
|
+
/* @__PURE__ */ jsx42(ExactText, { cmsAs: "div", className: "reward-amount", children: reward }),
|
|
14382
|
+
/* @__PURE__ */ jsx42("span", { className: "reward-divider", "aria-hidden": "true", children: /* @__PURE__ */ jsx42(
|
|
14202
14383
|
Image12,
|
|
14203
14384
|
{
|
|
14204
14385
|
src: "/landing-assets/download-offer-divider.svg",
|
|
@@ -14207,12 +14388,12 @@ function DownloadSection() {
|
|
|
14207
14388
|
height: 18
|
|
14208
14389
|
}
|
|
14209
14390
|
) }),
|
|
14210
|
-
/* @__PURE__ */
|
|
14391
|
+
/* @__PURE__ */ jsx42(ExactText, { cmsAs: "p", children: t("landing.download.description") })
|
|
14211
14392
|
] }),
|
|
14212
14393
|
/* @__PURE__ */ jsxs34("div", { className: "download-qr-links", children: [
|
|
14213
14394
|
/* @__PURE__ */ jsxs34("div", { className: "download-qr wikex-cms-image-host", children: [
|
|
14214
|
-
/* @__PURE__ */
|
|
14215
|
-
/* @__PURE__ */
|
|
14395
|
+
/* @__PURE__ */ jsx42(ExactText, { cmsAs: "strong", children: t("landing.download.scan") }),
|
|
14396
|
+
/* @__PURE__ */ jsx42("span", { children: /* @__PURE__ */ jsx42(
|
|
14216
14397
|
Image12,
|
|
14217
14398
|
{
|
|
14218
14399
|
src: qrImage,
|
|
@@ -14221,7 +14402,7 @@ function DownloadSection() {
|
|
|
14221
14402
|
height: 140
|
|
14222
14403
|
}
|
|
14223
14404
|
) }),
|
|
14224
|
-
/* @__PURE__ */
|
|
14405
|
+
/* @__PURE__ */ jsx42(CmsImageAction, { field: "downloadQrImage" })
|
|
14225
14406
|
] }),
|
|
14226
14407
|
downloadLinks
|
|
14227
14408
|
] })
|
|
@@ -14235,7 +14416,7 @@ function DownloadSection() {
|
|
|
14235
14416
|
"aria-label": t("landing.download.devicesAlt"),
|
|
14236
14417
|
children: [
|
|
14237
14418
|
/* @__PURE__ */ jsxs34("div", { className: "download-laptop wikex-cms-image-host", children: [
|
|
14238
|
-
/* @__PURE__ */
|
|
14419
|
+
/* @__PURE__ */ jsx42(
|
|
14239
14420
|
Image12,
|
|
14240
14421
|
{
|
|
14241
14422
|
src: laptopImage,
|
|
@@ -14244,10 +14425,10 @@ function DownloadSection() {
|
|
|
14244
14425
|
sizes: "(max-width: 767px) 148vw, 879px"
|
|
14245
14426
|
}
|
|
14246
14427
|
),
|
|
14247
|
-
/* @__PURE__ */
|
|
14428
|
+
/* @__PURE__ */ jsx42(CmsImageAction, { field: "downloadLaptopImage" })
|
|
14248
14429
|
] }),
|
|
14249
14430
|
/* @__PURE__ */ jsxs34("div", { className: "download-phone wikex-cms-image-host", children: [
|
|
14250
|
-
/* @__PURE__ */
|
|
14431
|
+
/* @__PURE__ */ jsx42(
|
|
14251
14432
|
Image12,
|
|
14252
14433
|
{
|
|
14253
14434
|
src: phoneImage,
|
|
@@ -14256,7 +14437,7 @@ function DownloadSection() {
|
|
|
14256
14437
|
sizes: "(max-width: 767px) 69vw, 408px"
|
|
14257
14438
|
}
|
|
14258
14439
|
),
|
|
14259
|
-
/* @__PURE__ */
|
|
14440
|
+
/* @__PURE__ */ jsx42(CmsImageAction, { field: "downloadPhoneImage" })
|
|
14260
14441
|
] })
|
|
14261
14442
|
]
|
|
14262
14443
|
}
|
|
@@ -14270,7 +14451,7 @@ import { Minus, Plus } from "lucide";
|
|
|
14270
14451
|
import { MorphIcon as MorphIcon4 } from "morphicons/react";
|
|
14271
14452
|
import { Collapsible } from "radix-ui";
|
|
14272
14453
|
import { useTranslation as useTranslation21 } from "react-i18next";
|
|
14273
|
-
import { jsx as
|
|
14454
|
+
import { jsx as jsx43, jsxs as jsxs35 } from "react/jsx-runtime";
|
|
14274
14455
|
function FaqItem({ question, answer, order }) {
|
|
14275
14456
|
const [isOpen, setIsOpen] = useState15(false);
|
|
14276
14457
|
return /* @__PURE__ */ jsxs35(
|
|
@@ -14282,8 +14463,8 @@ function FaqItem({ question, answer, order }) {
|
|
|
14282
14463
|
style: { "--faq-order": order },
|
|
14283
14464
|
children: [
|
|
14284
14465
|
/* @__PURE__ */ jsxs35(Collapsible.Trigger, { className: "faq-trigger", children: [
|
|
14285
|
-
/* @__PURE__ */
|
|
14286
|
-
/* @__PURE__ */
|
|
14466
|
+
/* @__PURE__ */ jsx43(ExactText, { cmsAs: "span", children: question }),
|
|
14467
|
+
/* @__PURE__ */ jsx43("span", { className: "faq-trigger-icon", "aria-hidden": "true", children: /* @__PURE__ */ jsx43(
|
|
14287
14468
|
MorphIcon4,
|
|
14288
14469
|
{
|
|
14289
14470
|
icon: isOpen ? Minus : Plus,
|
|
@@ -14294,7 +14475,7 @@ function FaqItem({ question, answer, order }) {
|
|
|
14294
14475
|
}
|
|
14295
14476
|
) })
|
|
14296
14477
|
] }),
|
|
14297
|
-
/* @__PURE__ */
|
|
14478
|
+
/* @__PURE__ */ jsx43(Collapsible.Content, { className: "faq-content", forceMount: true, children: /* @__PURE__ */ jsx43("div", { className: "faq-content-clip", children: /* @__PURE__ */ jsx43("div", { className: "faq-answer", children: /* @__PURE__ */ jsx43(ExactText, { cmsAs: "p", children: answer }) }) }) })
|
|
14298
14479
|
]
|
|
14299
14480
|
}
|
|
14300
14481
|
);
|
|
@@ -14311,9 +14492,9 @@ function FaqSection2() {
|
|
|
14311
14492
|
faqs.slice(0, firstColumnLength),
|
|
14312
14493
|
faqs.slice(firstColumnLength)
|
|
14313
14494
|
];
|
|
14314
|
-
return /* @__PURE__ */
|
|
14315
|
-
/* @__PURE__ */
|
|
14316
|
-
/* @__PURE__ */
|
|
14495
|
+
return /* @__PURE__ */ jsx43("section", { className: "faq section", id: "faq", children: /* @__PURE__ */ jsxs35("div", { className: "container", children: [
|
|
14496
|
+
/* @__PURE__ */ jsx43(Title_default, { title: t("landing.faq.title") }),
|
|
14497
|
+
/* @__PURE__ */ jsx43("div", { className: "faq-grid", children: faqColumns.map((column, columnIndex) => /* @__PURE__ */ jsx43("div", { className: "faq-column", children: column.map((item, itemIndex) => /* @__PURE__ */ jsx43(
|
|
14317
14498
|
FaqItem,
|
|
14318
14499
|
{
|
|
14319
14500
|
...item,
|
|
@@ -14661,7 +14842,7 @@ var Background_default = DotField;
|
|
|
14661
14842
|
// src/commodity-original/components/LandingPage/HeroArt/index.tsx
|
|
14662
14843
|
import Image13 from "next/image.js";
|
|
14663
14844
|
import { useTranslation as useTranslation22 } from "react-i18next";
|
|
14664
|
-
import { jsx as
|
|
14845
|
+
import { jsx as jsx44, jsxs as jsxs36 } from "react/jsx-runtime";
|
|
14665
14846
|
var HeroArtBlock = () => {
|
|
14666
14847
|
const { t } = useTranslation22();
|
|
14667
14848
|
const mainPhone = useCmsImage("heroMainPhoneImage", "/landing-assets/key_mock_phone.webp");
|
|
@@ -14692,8 +14873,8 @@ var HeroArtBlock = () => {
|
|
|
14692
14873
|
return /* @__PURE__ */ jsxs36(HeroArt, { "data-hero-art": true, "aria-label": t("landing.hero.artAlt"), children: [
|
|
14693
14874
|
/* @__PURE__ */ jsxs36(HeroImage, { className: "hero-art-desktop wikex-cms-image-host", children: [
|
|
14694
14875
|
/* @__PURE__ */ jsxs36("picture", { className: "hero-phone-picture", children: [
|
|
14695
|
-
/* @__PURE__ */
|
|
14696
|
-
/* @__PURE__ */
|
|
14876
|
+
/* @__PURE__ */ jsx44("source", { media: "(max-width: 767px)", srcSet: mainPhoneMobile }),
|
|
14877
|
+
/* @__PURE__ */ jsx44(
|
|
14697
14878
|
Image13,
|
|
14698
14879
|
{
|
|
14699
14880
|
src: mainPhone,
|
|
@@ -14706,14 +14887,14 @@ var HeroArtBlock = () => {
|
|
|
14706
14887
|
)
|
|
14707
14888
|
] }),
|
|
14708
14889
|
[1, 2].map((index) => /* @__PURE__ */ jsxs36("picture", { children: [
|
|
14709
|
-
/* @__PURE__ */
|
|
14890
|
+
/* @__PURE__ */ jsx44(
|
|
14710
14891
|
"source",
|
|
14711
14892
|
{
|
|
14712
14893
|
media: "(max-width: 767px)",
|
|
14713
14894
|
srcSet: index === 1 ? sidePhoneOneMobile : sidePhoneTwoMobile
|
|
14714
14895
|
}
|
|
14715
14896
|
),
|
|
14716
|
-
/* @__PURE__ */
|
|
14897
|
+
/* @__PURE__ */ jsx44(
|
|
14717
14898
|
Image13,
|
|
14718
14899
|
{
|
|
14719
14900
|
src: index === 1 ? sidePhoneOne : sidePhoneTwo,
|
|
@@ -14725,35 +14906,35 @@ var HeroArtBlock = () => {
|
|
|
14725
14906
|
}
|
|
14726
14907
|
)
|
|
14727
14908
|
] }, index)),
|
|
14728
|
-
/* @__PURE__ */
|
|
14909
|
+
/* @__PURE__ */ jsx44(CmsImageAction, { field: "heroMainPhoneImage" })
|
|
14729
14910
|
] }),
|
|
14730
14911
|
/* @__PURE__ */ jsxs36("span", { className: "label label-top", children: [
|
|
14731
14912
|
/* @__PURE__ */ jsxs36("picture", { children: [
|
|
14732
|
-
/* @__PURE__ */
|
|
14733
|
-
/* @__PURE__ */
|
|
14913
|
+
/* @__PURE__ */ jsx44("source", { media: "(max-width: 767px)", srcSet: labelOneMobile }),
|
|
14914
|
+
/* @__PURE__ */ jsx44(Image13, { src: labelOne, alt: t("landing.hero.desktopArtAlt"), width: 556, height: 149, loading: "eager", style: { width: "100%", height: "auto" } })
|
|
14734
14915
|
] }),
|
|
14735
|
-
/* @__PURE__ */
|
|
14916
|
+
/* @__PURE__ */ jsx44(ExactText, { cmsAs: "p", children: t("landing.hero.labels.smoothTrading") })
|
|
14736
14917
|
] }),
|
|
14737
14918
|
/* @__PURE__ */ jsxs36("span", { className: "label label-middle", children: [
|
|
14738
14919
|
/* @__PURE__ */ jsxs36("picture", { children: [
|
|
14739
|
-
/* @__PURE__ */
|
|
14740
|
-
/* @__PURE__ */
|
|
14920
|
+
/* @__PURE__ */ jsx44("source", { media: "(max-width: 767px)", srcSet: labelTwoMobile }),
|
|
14921
|
+
/* @__PURE__ */ jsx44(Image13, { src: labelTwo, alt: t("landing.hero.desktopArtAlt"), width: 556, height: 149, loading: "eager", style: { width: "100%", height: "auto" } })
|
|
14741
14922
|
] }),
|
|
14742
|
-
/* @__PURE__ */
|
|
14923
|
+
/* @__PURE__ */ jsx44(ExactText, { cmsAs: "p", children: t("landing.hero.labels.advancedTechnology") })
|
|
14743
14924
|
] }),
|
|
14744
14925
|
/* @__PURE__ */ jsxs36("span", { className: "label label-bottom", children: [
|
|
14745
14926
|
/* @__PURE__ */ jsxs36("picture", { children: [
|
|
14746
|
-
/* @__PURE__ */
|
|
14747
|
-
/* @__PURE__ */
|
|
14927
|
+
/* @__PURE__ */ jsx44("source", { media: "(max-width: 767px)", srcSet: labelTwoMobile }),
|
|
14928
|
+
/* @__PURE__ */ jsx44(Image13, { src: labelTwo, alt: t("landing.hero.desktopArtAlt"), width: 556, height: 149, loading: "eager", style: { width: "100%", height: "auto" } })
|
|
14748
14929
|
] }),
|
|
14749
|
-
/* @__PURE__ */
|
|
14930
|
+
/* @__PURE__ */ jsx44(ExactText, { cmsAs: "p", children: t("landing.hero.labels.riskControl") })
|
|
14750
14931
|
] })
|
|
14751
14932
|
] });
|
|
14752
14933
|
};
|
|
14753
14934
|
var HeroArt_default = HeroArtBlock;
|
|
14754
14935
|
|
|
14755
14936
|
// src/commodity-original/components/LandingPage/HeroSection.tsx
|
|
14756
|
-
import { jsx as
|
|
14937
|
+
import { jsx as jsx45, jsxs as jsxs37 } from "react/jsx-runtime";
|
|
14757
14938
|
function HeroSection2() {
|
|
14758
14939
|
const { t } = useTranslation23();
|
|
14759
14940
|
const background = useCmsImage(
|
|
@@ -14769,7 +14950,7 @@ function HeroSection2() {
|
|
|
14769
14950
|
"--wikex-hero-mobile-background": `url("${mobileBackground}")`
|
|
14770
14951
|
};
|
|
14771
14952
|
return /* @__PURE__ */ jsxs37(Hero, { id: "keyvisual", className: "wikex-cms-image-host", style: heroStyle, children: [
|
|
14772
|
-
/* @__PURE__ */
|
|
14953
|
+
/* @__PURE__ */ jsx45(
|
|
14773
14954
|
Background_default,
|
|
14774
14955
|
{
|
|
14775
14956
|
className: "hero-dot-field",
|
|
@@ -14789,9 +14970,9 @@ function HeroSection2() {
|
|
|
14789
14970
|
),
|
|
14790
14971
|
/* @__PURE__ */ jsxs37(HeroInner, { children: [
|
|
14791
14972
|
/* @__PURE__ */ jsxs37(HeroCopy, { "data-hero-copy": true, children: [
|
|
14792
|
-
/* @__PURE__ */
|
|
14793
|
-
/* @__PURE__ */
|
|
14794
|
-
/* @__PURE__ */
|
|
14973
|
+
/* @__PURE__ */ jsx45(ExactText, { cmsAs: HeroTitle, children: t("landing.hero.title") }),
|
|
14974
|
+
/* @__PURE__ */ jsx45(ExactText, { cmsAs: "p", children: t("landing.hero.description") }),
|
|
14975
|
+
/* @__PURE__ */ jsx45(
|
|
14795
14976
|
Button_default,
|
|
14796
14977
|
{
|
|
14797
14978
|
size: "sm",
|
|
@@ -14810,7 +14991,7 @@ function HeroSection2() {
|
|
|
14810
14991
|
children: t("landing.hero.cta")
|
|
14811
14992
|
}
|
|
14812
14993
|
),
|
|
14813
|
-
/* @__PURE__ */
|
|
14994
|
+
/* @__PURE__ */ jsx45(HeroMetrics, { children: /* @__PURE__ */ jsx45("div", { className: "hero-metrics-track", children: [false, true].map((isDuplicate) => /* @__PURE__ */ jsxs37(
|
|
14814
14995
|
"div",
|
|
14815
14996
|
{
|
|
14816
14997
|
className: `hero-metrics-group${isDuplicate ? " hero-metrics-group--duplicate" : ""}`,
|
|
@@ -14826,21 +15007,21 @@ function HeroSection2() {
|
|
|
14826
15007
|
viewBox: "0 0 60 29",
|
|
14827
15008
|
fill: "none",
|
|
14828
15009
|
children: [
|
|
14829
|
-
/* @__PURE__ */
|
|
15010
|
+
/* @__PURE__ */ jsx45(
|
|
14830
15011
|
"path",
|
|
14831
15012
|
{
|
|
14832
15013
|
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",
|
|
14833
15014
|
fill: "#150958"
|
|
14834
15015
|
}
|
|
14835
15016
|
),
|
|
14836
|
-
/* @__PURE__ */
|
|
15017
|
+
/* @__PURE__ */ jsx45(
|
|
14837
15018
|
"path",
|
|
14838
15019
|
{
|
|
14839
15020
|
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",
|
|
14840
15021
|
fill: "#150958"
|
|
14841
15022
|
}
|
|
14842
15023
|
),
|
|
14843
|
-
/* @__PURE__ */
|
|
15024
|
+
/* @__PURE__ */ jsx45(
|
|
14844
15025
|
"path",
|
|
14845
15026
|
{
|
|
14846
15027
|
fillRule: "evenodd",
|
|
@@ -14852,7 +15033,7 @@ function HeroSection2() {
|
|
|
14852
15033
|
]
|
|
14853
15034
|
}
|
|
14854
15035
|
),
|
|
14855
|
-
/* @__PURE__ */
|
|
15036
|
+
/* @__PURE__ */ jsx45(ExactText, { cmsAs: "strong", children: t("landing.hero.metrics.member") })
|
|
14856
15037
|
] }),
|
|
14857
15038
|
/* @__PURE__ */ jsxs37(HeroMetric, { children: [
|
|
14858
15039
|
/* @__PURE__ */ jsxs37(
|
|
@@ -14864,7 +15045,7 @@ function HeroSection2() {
|
|
|
14864
15045
|
viewBox: "0 0 48 48",
|
|
14865
15046
|
fill: "none",
|
|
14866
15047
|
children: [
|
|
14867
|
-
/* @__PURE__ */
|
|
15048
|
+
/* @__PURE__ */ jsx45(
|
|
14868
15049
|
"path",
|
|
14869
15050
|
{
|
|
14870
15051
|
d: "M40.9995 12.5L29.0463 28.3399L21.5248 22.9674L12.9995 32.5001",
|
|
@@ -14874,7 +15055,7 @@ function HeroSection2() {
|
|
|
14874
15055
|
strokeLinejoin: "round"
|
|
14875
15056
|
}
|
|
14876
15057
|
),
|
|
14877
|
-
/* @__PURE__ */
|
|
15058
|
+
/* @__PURE__ */ jsx45(
|
|
14878
15059
|
"line",
|
|
14879
15060
|
{
|
|
14880
15061
|
x1: "4.4",
|
|
@@ -14886,7 +15067,7 @@ function HeroSection2() {
|
|
|
14886
15067
|
strokeLinecap: "round"
|
|
14887
15068
|
}
|
|
14888
15069
|
),
|
|
14889
|
-
/* @__PURE__ */
|
|
15070
|
+
/* @__PURE__ */ jsx45(
|
|
14890
15071
|
"line",
|
|
14891
15072
|
{
|
|
14892
15073
|
x1: "4.4",
|
|
@@ -14901,7 +15082,7 @@ function HeroSection2() {
|
|
|
14901
15082
|
]
|
|
14902
15083
|
}
|
|
14903
15084
|
),
|
|
14904
|
-
/* @__PURE__ */
|
|
15085
|
+
/* @__PURE__ */ jsx45(ExactText, { cmsAs: "strong", children: t("landing.hero.metrics.realtime") })
|
|
14905
15086
|
] }),
|
|
14906
15087
|
/* @__PURE__ */ jsxs37(HeroMetric, { children: [
|
|
14907
15088
|
/* @__PURE__ */ jsxs37(
|
|
@@ -14913,14 +15094,14 @@ function HeroSection2() {
|
|
|
14913
15094
|
viewBox: "0 0 48 48",
|
|
14914
15095
|
fill: "none",
|
|
14915
15096
|
children: [
|
|
14916
|
-
/* @__PURE__ */
|
|
15097
|
+
/* @__PURE__ */ jsx45(
|
|
14917
15098
|
"path",
|
|
14918
15099
|
{
|
|
14919
15100
|
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",
|
|
14920
15101
|
fill: "black"
|
|
14921
15102
|
}
|
|
14922
15103
|
),
|
|
14923
|
-
/* @__PURE__ */
|
|
15104
|
+
/* @__PURE__ */ jsx45(
|
|
14924
15105
|
"path",
|
|
14925
15106
|
{
|
|
14926
15107
|
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",
|
|
@@ -14930,16 +15111,16 @@ function HeroSection2() {
|
|
|
14930
15111
|
]
|
|
14931
15112
|
}
|
|
14932
15113
|
),
|
|
14933
|
-
/* @__PURE__ */
|
|
15114
|
+
/* @__PURE__ */ jsx45(ExactText, { cmsAs: "strong", children: t("landing.hero.metrics.experts") })
|
|
14934
15115
|
] })
|
|
14935
15116
|
]
|
|
14936
15117
|
},
|
|
14937
15118
|
isDuplicate ? "duplicate" : "primary"
|
|
14938
15119
|
)) }) })
|
|
14939
15120
|
] }),
|
|
14940
|
-
/* @__PURE__ */
|
|
15121
|
+
/* @__PURE__ */ jsx45(HeroArt_default, {})
|
|
14941
15122
|
] }),
|
|
14942
|
-
/* @__PURE__ */
|
|
15123
|
+
/* @__PURE__ */ jsx45(CmsImageAction, { field: "heroBackgroundImage" })
|
|
14943
15124
|
] });
|
|
14944
15125
|
}
|
|
14945
15126
|
|
|
@@ -15011,7 +15192,7 @@ function FloatingActions() {
|
|
|
15011
15192
|
import Image15 from "next/image.js";
|
|
15012
15193
|
import { useRef as useRef9, useState as useState16 } from "react";
|
|
15013
15194
|
import { useTranslation as useTranslation25 } from "react-i18next";
|
|
15014
|
-
import { jsx as
|
|
15195
|
+
import { jsx as jsx46, jsxs as jsxs38 } from "react/jsx-runtime";
|
|
15015
15196
|
function PositionMedia({
|
|
15016
15197
|
slide,
|
|
15017
15198
|
imageAlt,
|
|
@@ -15027,7 +15208,7 @@ function PositionMedia({
|
|
|
15027
15208
|
role: "img",
|
|
15028
15209
|
"aria-label": imageAlt,
|
|
15029
15210
|
children: [
|
|
15030
|
-
/* @__PURE__ */
|
|
15211
|
+
/* @__PURE__ */ jsx46(
|
|
15031
15212
|
Image15,
|
|
15032
15213
|
{
|
|
15033
15214
|
src: image2,
|
|
@@ -15039,7 +15220,7 @@ function PositionMedia({
|
|
|
15039
15220
|
decoding: "async"
|
|
15040
15221
|
}
|
|
15041
15222
|
),
|
|
15042
|
-
/* @__PURE__ */
|
|
15223
|
+
/* @__PURE__ */ jsx46(CmsImageAction, { field: imageField })
|
|
15043
15224
|
]
|
|
15044
15225
|
}
|
|
15045
15226
|
);
|
|
@@ -15052,7 +15233,7 @@ function PositionMedia({
|
|
|
15052
15233
|
role: "img",
|
|
15053
15234
|
"aria-label": imageAlt,
|
|
15054
15235
|
children: [
|
|
15055
|
-
/* @__PURE__ */
|
|
15236
|
+
/* @__PURE__ */ jsx46(
|
|
15056
15237
|
Image15,
|
|
15057
15238
|
{
|
|
15058
15239
|
src: image2,
|
|
@@ -15064,13 +15245,13 @@ function PositionMedia({
|
|
|
15064
15245
|
decoding: "async"
|
|
15065
15246
|
}
|
|
15066
15247
|
),
|
|
15067
|
-
/* @__PURE__ */
|
|
15248
|
+
/* @__PURE__ */ jsx46(CmsImageAction, { field: imageField })
|
|
15068
15249
|
]
|
|
15069
15250
|
}
|
|
15070
15251
|
);
|
|
15071
15252
|
}
|
|
15072
15253
|
return /* @__PURE__ */ jsxs38("div", { className: `position-media ${slide.mediaClassName} wikex-cms-image-host`, children: [
|
|
15073
|
-
/* @__PURE__ */
|
|
15254
|
+
/* @__PURE__ */ jsx46(
|
|
15074
15255
|
Image15,
|
|
15075
15256
|
{
|
|
15076
15257
|
src: image2,
|
|
@@ -15082,7 +15263,7 @@ function PositionMedia({
|
|
|
15082
15263
|
decoding: "async"
|
|
15083
15264
|
}
|
|
15084
15265
|
),
|
|
15085
|
-
/* @__PURE__ */
|
|
15266
|
+
/* @__PURE__ */ jsx46(CmsImageAction, { field: imageField })
|
|
15086
15267
|
] });
|
|
15087
15268
|
}
|
|
15088
15269
|
function PositionSection() {
|
|
@@ -15145,8 +15326,8 @@ function PositionSection() {
|
|
|
15145
15326
|
(current) => current.includes(index) ? current.filter((cardIndex) => cardIndex !== index) : [...current, index]
|
|
15146
15327
|
);
|
|
15147
15328
|
};
|
|
15148
|
-
return /* @__PURE__ */
|
|
15149
|
-
/* @__PURE__ */
|
|
15329
|
+
return /* @__PURE__ */ jsx46("section", { className: "position section", children: /* @__PURE__ */ jsxs38("div", { className: "container", children: [
|
|
15330
|
+
/* @__PURE__ */ jsx46(
|
|
15150
15331
|
Title_default,
|
|
15151
15332
|
{
|
|
15152
15333
|
title: t("landing.position.title"),
|
|
@@ -15154,14 +15335,14 @@ function PositionSection() {
|
|
|
15154
15335
|
}
|
|
15155
15336
|
),
|
|
15156
15337
|
/* @__PURE__ */ jsxs38("div", { className: "position-stage", children: [
|
|
15157
|
-
/* @__PURE__ */
|
|
15338
|
+
/* @__PURE__ */ jsx46(
|
|
15158
15339
|
"button",
|
|
15159
15340
|
{
|
|
15160
15341
|
className: "position-nav position-button-prev",
|
|
15161
15342
|
type: "button",
|
|
15162
15343
|
"aria-label": t("common.previous"),
|
|
15163
15344
|
onClick: () => moveDesktop(-1),
|
|
15164
|
-
children: /* @__PURE__ */
|
|
15345
|
+
children: /* @__PURE__ */ jsx46(
|
|
15165
15346
|
Image15,
|
|
15166
15347
|
{
|
|
15167
15348
|
src: "/landing-assets/position-arrow-left.svg",
|
|
@@ -15172,7 +15353,7 @@ function PositionSection() {
|
|
|
15172
15353
|
)
|
|
15173
15354
|
}
|
|
15174
15355
|
),
|
|
15175
|
-
/* @__PURE__ */
|
|
15356
|
+
/* @__PURE__ */ jsx46("div", { className: "position-slider-shell", children: /* @__PURE__ */ jsx46(
|
|
15176
15357
|
"div",
|
|
15177
15358
|
{
|
|
15178
15359
|
className: "position-swiper",
|
|
@@ -15183,10 +15364,10 @@ function PositionSection() {
|
|
|
15183
15364
|
if (event.key === "ArrowRight") moveDesktop(1);
|
|
15184
15365
|
},
|
|
15185
15366
|
tabIndex: 0,
|
|
15186
|
-
children: /* @__PURE__ */
|
|
15367
|
+
children: /* @__PURE__ */ jsx46("div", { className: "swiper-wrapper", children: slides.map((slide, index) => {
|
|
15187
15368
|
const key = `landing.position.slides.${index}`;
|
|
15188
15369
|
const isActive = index === desktopActiveSlide;
|
|
15189
|
-
return /* @__PURE__ */
|
|
15370
|
+
return /* @__PURE__ */ jsx46(
|
|
15190
15371
|
"div",
|
|
15191
15372
|
{
|
|
15192
15373
|
className: `swiper-slide${isActive ? " swiper-slide-active" : ""}`,
|
|
@@ -15197,13 +15378,13 @@ function PositionSection() {
|
|
|
15197
15378
|
className: `position-card position-card--${slide.mediaType}`,
|
|
15198
15379
|
children: [
|
|
15199
15380
|
/* @__PURE__ */ jsxs38("div", { className: "position-copy", children: [
|
|
15200
|
-
/* @__PURE__ */
|
|
15381
|
+
/* @__PURE__ */ jsx46("div", { className: "position-ribbon", children: /* @__PURE__ */ jsx46(ExactText, { cmsAs: "h3", children: t(`${key}.title`) }) }),
|
|
15201
15382
|
/* @__PURE__ */ jsxs38("div", { className: "position-description", children: [
|
|
15202
|
-
/* @__PURE__ */
|
|
15203
|
-
/* @__PURE__ */
|
|
15383
|
+
/* @__PURE__ */ jsx46(ExactText, { cmsAs: "p", children: t(`${key}.paragraphs.0`) }),
|
|
15384
|
+
/* @__PURE__ */ jsx46(ExactText, { cmsAs: "p", children: t(`${key}.paragraphs.1`) })
|
|
15204
15385
|
] })
|
|
15205
15386
|
] }),
|
|
15206
|
-
/* @__PURE__ */
|
|
15387
|
+
/* @__PURE__ */ jsx46(
|
|
15207
15388
|
PositionMedia,
|
|
15208
15389
|
{
|
|
15209
15390
|
slide,
|
|
@@ -15220,14 +15401,14 @@ function PositionSection() {
|
|
|
15220
15401
|
}) })
|
|
15221
15402
|
}
|
|
15222
15403
|
) }),
|
|
15223
|
-
/* @__PURE__ */
|
|
15404
|
+
/* @__PURE__ */ jsx46(
|
|
15224
15405
|
"button",
|
|
15225
15406
|
{
|
|
15226
15407
|
className: "position-nav position-button-next",
|
|
15227
15408
|
type: "button",
|
|
15228
15409
|
"aria-label": t("common.next"),
|
|
15229
15410
|
onClick: () => moveDesktop(1),
|
|
15230
|
-
children: /* @__PURE__ */
|
|
15411
|
+
children: /* @__PURE__ */ jsx46(
|
|
15231
15412
|
Image15,
|
|
15232
15413
|
{
|
|
15233
15414
|
src: "/landing-assets/position-arrow-right.svg",
|
|
@@ -15240,7 +15421,7 @@ function PositionSection() {
|
|
|
15240
15421
|
)
|
|
15241
15422
|
] }),
|
|
15242
15423
|
/* @__PURE__ */ jsxs38("div", { className: "position-mobile-carousel", children: [
|
|
15243
|
-
/* @__PURE__ */
|
|
15424
|
+
/* @__PURE__ */ jsx46(
|
|
15244
15425
|
"div",
|
|
15245
15426
|
{
|
|
15246
15427
|
ref: mobileCarouselRef,
|
|
@@ -15267,23 +15448,23 @@ function PositionSection() {
|
|
|
15267
15448
|
);
|
|
15268
15449
|
setMobileSlide(nearest.index);
|
|
15269
15450
|
},
|
|
15270
|
-
children: /* @__PURE__ */
|
|
15451
|
+
children: /* @__PURE__ */ jsx46("div", { className: "swiper-wrapper", children: slides.map((slide, index) => {
|
|
15271
15452
|
const isExpanded = expandedMobileCards.includes(index);
|
|
15272
15453
|
const contentId = `position-mobile-content-${index}`;
|
|
15273
15454
|
const key = `landing.position.slides.${index}`;
|
|
15274
15455
|
const title = t(`${key}.title`);
|
|
15275
|
-
return /* @__PURE__ */
|
|
15456
|
+
return /* @__PURE__ */ jsx46(
|
|
15276
15457
|
"div",
|
|
15277
15458
|
{
|
|
15278
15459
|
className: `swiper-slide${index === mobileSlide ? " swiper-slide-active" : ""}`,
|
|
15279
15460
|
"data-position-mobile-slide": index,
|
|
15280
|
-
children: /* @__PURE__ */
|
|
15461
|
+
children: /* @__PURE__ */ jsx46(
|
|
15281
15462
|
"article",
|
|
15282
15463
|
{
|
|
15283
15464
|
className: `position-mobile-card position-mobile-card--${slide.mediaType}${isExpanded ? " is-expanded" : ""}`,
|
|
15284
15465
|
children: /* @__PURE__ */ jsxs38("div", { className: "position-mobile-card-surface", children: [
|
|
15285
15466
|
/* @__PURE__ */ jsxs38("div", { className: "position-copy", children: [
|
|
15286
|
-
/* @__PURE__ */
|
|
15467
|
+
/* @__PURE__ */ jsx46("div", { className: "position-ribbon", children: /* @__PURE__ */ jsx46(ExactText, { cmsAs: "h3", children: title }) }),
|
|
15287
15468
|
/* @__PURE__ */ jsxs38("div", { className: "position-mobile-description", children: [
|
|
15288
15469
|
/* @__PURE__ */ jsxs38(
|
|
15289
15470
|
"div",
|
|
@@ -15291,12 +15472,12 @@ function PositionSection() {
|
|
|
15291
15472
|
className: "position-mobile-description-copy",
|
|
15292
15473
|
id: contentId,
|
|
15293
15474
|
children: [
|
|
15294
|
-
/* @__PURE__ */
|
|
15295
|
-
/* @__PURE__ */
|
|
15475
|
+
/* @__PURE__ */ jsx46(ExactText, { cmsAs: "p", children: t(`${key}.paragraphs.0`) }),
|
|
15476
|
+
/* @__PURE__ */ jsx46(ExactText, { cmsAs: "p", children: t(`${key}.paragraphs.1`) })
|
|
15296
15477
|
]
|
|
15297
15478
|
}
|
|
15298
15479
|
),
|
|
15299
|
-
/* @__PURE__ */
|
|
15480
|
+
/* @__PURE__ */ jsx46(
|
|
15300
15481
|
"button",
|
|
15301
15482
|
{
|
|
15302
15483
|
className: "position-mobile-toggle",
|
|
@@ -15305,7 +15486,7 @@ function PositionSection() {
|
|
|
15305
15486
|
"aria-controls": contentId,
|
|
15306
15487
|
"aria-label": `${isExpanded ? t("common.collapse") : t("common.fullContent")}: ${title}`,
|
|
15307
15488
|
onClick: () => toggleMobileCard(index),
|
|
15308
|
-
children: /* @__PURE__ */
|
|
15489
|
+
children: /* @__PURE__ */ jsx46(
|
|
15309
15490
|
Image15,
|
|
15310
15491
|
{
|
|
15311
15492
|
src: "/landing-assets/position-chevron.svg",
|
|
@@ -15319,7 +15500,7 @@ function PositionSection() {
|
|
|
15319
15500
|
)
|
|
15320
15501
|
] })
|
|
15321
15502
|
] }),
|
|
15322
|
-
/* @__PURE__ */
|
|
15503
|
+
/* @__PURE__ */ jsx46(
|
|
15323
15504
|
PositionMedia,
|
|
15324
15505
|
{
|
|
15325
15506
|
slide,
|
|
@@ -15337,7 +15518,7 @@ function PositionSection() {
|
|
|
15337
15518
|
}) })
|
|
15338
15519
|
}
|
|
15339
15520
|
),
|
|
15340
|
-
/* @__PURE__ */
|
|
15521
|
+
/* @__PURE__ */ jsx46("div", { className: "position-mobile-pagination", children: slides.map((_slide, index) => /* @__PURE__ */ jsx46(
|
|
15341
15522
|
"button",
|
|
15342
15523
|
{
|
|
15343
15524
|
className: `position-dot${index === mobileSlide ? " is-active" : ""}`,
|
|
@@ -15349,7 +15530,7 @@ function PositionSection() {
|
|
|
15349
15530
|
`mobile-dot-${index}`
|
|
15350
15531
|
)) })
|
|
15351
15532
|
] }),
|
|
15352
|
-
/* @__PURE__ */
|
|
15533
|
+
/* @__PURE__ */ jsx46("div", { className: "position-pagination", children: slides.map((_slide, index) => /* @__PURE__ */ jsx46(
|
|
15353
15534
|
"button",
|
|
15354
15535
|
{
|
|
15355
15536
|
className: `position-dot${index === desktopActiveSlide ? " is-active" : ""}`,
|
|
@@ -15366,7 +15547,7 @@ function PositionSection() {
|
|
|
15366
15547
|
// src/commodity-original/components/LandingPage/StepsSection.tsx
|
|
15367
15548
|
import Image16 from "next/image.js";
|
|
15368
15549
|
import { useTranslation as useTranslation26 } from "react-i18next";
|
|
15369
|
-
import { jsx as
|
|
15550
|
+
import { jsx as jsx47, jsxs as jsxs39 } from "react/jsx-runtime";
|
|
15370
15551
|
function StepsSection() {
|
|
15371
15552
|
const { t } = useTranslation26();
|
|
15372
15553
|
const { themeName } = useAppTheme();
|
|
@@ -15383,7 +15564,7 @@ function StepsSection() {
|
|
|
15383
15564
|
viewBox: "0 0 48 48",
|
|
15384
15565
|
fill: "none",
|
|
15385
15566
|
children: [
|
|
15386
|
-
/* @__PURE__ */
|
|
15567
|
+
/* @__PURE__ */ jsx47(
|
|
15387
15568
|
"path",
|
|
15388
15569
|
{
|
|
15389
15570
|
d: "M30 35.625L33.5182 38.4315C33.9219 38.7536 34.5046 38.7152 34.8626 38.3429L40 33",
|
|
@@ -15392,14 +15573,14 @@ function StepsSection() {
|
|
|
15392
15573
|
strokeLinecap: "round"
|
|
15393
15574
|
}
|
|
15394
15575
|
),
|
|
15395
|
-
/* @__PURE__ */
|
|
15576
|
+
/* @__PURE__ */ jsx47(
|
|
15396
15577
|
"path",
|
|
15397
15578
|
{
|
|
15398
15579
|
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",
|
|
15399
15580
|
fill: "#F9BB3A"
|
|
15400
15581
|
}
|
|
15401
15582
|
),
|
|
15402
|
-
/* @__PURE__ */
|
|
15583
|
+
/* @__PURE__ */ jsx47(
|
|
15403
15584
|
"line",
|
|
15404
15585
|
{
|
|
15405
15586
|
x1: "17.5",
|
|
@@ -15426,7 +15607,7 @@ function StepsSection() {
|
|
|
15426
15607
|
viewBox: "0 0 48 48",
|
|
15427
15608
|
fill: "none",
|
|
15428
15609
|
children: [
|
|
15429
|
-
/* @__PURE__ */
|
|
15610
|
+
/* @__PURE__ */ jsx47(
|
|
15430
15611
|
"path",
|
|
15431
15612
|
{
|
|
15432
15613
|
d: "M40.9453 16.6987V8.61644C40.9453 7.7237 40.2216 7 39.3289 7H31.2467",
|
|
@@ -15435,7 +15616,7 @@ function StepsSection() {
|
|
|
15435
15616
|
strokeLinecap: "round"
|
|
15436
15617
|
}
|
|
15437
15618
|
),
|
|
15438
|
-
/* @__PURE__ */
|
|
15619
|
+
/* @__PURE__ */ jsx47(
|
|
15439
15620
|
"path",
|
|
15440
15621
|
{
|
|
15441
15622
|
d: "M7 31.2467V39.3289C7 40.2216 7.72371 40.9453 8.61644 40.9453H16.6987",
|
|
@@ -15444,7 +15625,7 @@ function StepsSection() {
|
|
|
15444
15625
|
strokeLinecap: "round"
|
|
15445
15626
|
}
|
|
15446
15627
|
),
|
|
15447
|
-
/* @__PURE__ */
|
|
15628
|
+
/* @__PURE__ */ jsx47(
|
|
15448
15629
|
"path",
|
|
15449
15630
|
{
|
|
15450
15631
|
d: "M7 16.6987V8.61644C7 7.7237 7.72371 7 8.61644 7H16.6987",
|
|
@@ -15453,7 +15634,7 @@ function StepsSection() {
|
|
|
15453
15634
|
strokeLinecap: "round"
|
|
15454
15635
|
}
|
|
15455
15636
|
),
|
|
15456
|
-
/* @__PURE__ */
|
|
15637
|
+
/* @__PURE__ */ jsx47(
|
|
15457
15638
|
"path",
|
|
15458
15639
|
{
|
|
15459
15640
|
d: "M40.9453 31.2467V39.3289C40.9453 40.2216 40.2216 40.9453 39.3289 40.9453H31.2467",
|
|
@@ -15462,14 +15643,14 @@ function StepsSection() {
|
|
|
15462
15643
|
strokeLinecap: "round"
|
|
15463
15644
|
}
|
|
15464
15645
|
),
|
|
15465
|
-
/* @__PURE__ */
|
|
15646
|
+
/* @__PURE__ */ jsx47(
|
|
15466
15647
|
"path",
|
|
15467
15648
|
{
|
|
15468
15649
|
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",
|
|
15469
15650
|
fill: "#F9BB3A"
|
|
15470
15651
|
}
|
|
15471
15652
|
),
|
|
15472
|
-
/* @__PURE__ */
|
|
15653
|
+
/* @__PURE__ */ jsx47("circle", { cx: "24.0873", cy: "18.0873", r: "5.08734", fill: "#F9BB3A" })
|
|
15473
15654
|
]
|
|
15474
15655
|
}
|
|
15475
15656
|
)
|
|
@@ -15485,21 +15666,21 @@ function StepsSection() {
|
|
|
15485
15666
|
viewBox: "0 0 48 48",
|
|
15486
15667
|
fill: "none",
|
|
15487
15668
|
children: [
|
|
15488
|
-
/* @__PURE__ */
|
|
15669
|
+
/* @__PURE__ */ jsx47(
|
|
15489
15670
|
"path",
|
|
15490
15671
|
{
|
|
15491
15672
|
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",
|
|
15492
15673
|
fill: isDarkTheme ? "#fff" : "black"
|
|
15493
15674
|
}
|
|
15494
15675
|
),
|
|
15495
|
-
/* @__PURE__ */
|
|
15676
|
+
/* @__PURE__ */ jsx47(
|
|
15496
15677
|
"path",
|
|
15497
15678
|
{
|
|
15498
15679
|
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",
|
|
15499
15680
|
fill: "#F9BB3A"
|
|
15500
15681
|
}
|
|
15501
15682
|
),
|
|
15502
|
-
/* @__PURE__ */
|
|
15683
|
+
/* @__PURE__ */ jsx47(
|
|
15503
15684
|
"circle",
|
|
15504
15685
|
{
|
|
15505
15686
|
cx: "18.3613",
|
|
@@ -15508,7 +15689,7 @@ function StepsSection() {
|
|
|
15508
15689
|
fill: isDarkTheme ? "#fff" : "black"
|
|
15509
15690
|
}
|
|
15510
15691
|
),
|
|
15511
|
-
/* @__PURE__ */
|
|
15692
|
+
/* @__PURE__ */ jsx47(
|
|
15512
15693
|
"circle",
|
|
15513
15694
|
{
|
|
15514
15695
|
cx: "25.8515",
|
|
@@ -15517,7 +15698,7 @@ function StepsSection() {
|
|
|
15517
15698
|
fill: isDarkTheme ? "#fff" : "black"
|
|
15518
15699
|
}
|
|
15519
15700
|
),
|
|
15520
|
-
/* @__PURE__ */
|
|
15701
|
+
/* @__PURE__ */ jsx47(
|
|
15521
15702
|
"circle",
|
|
15522
15703
|
{
|
|
15523
15704
|
cx: "33.3418",
|
|
@@ -15541,7 +15722,7 @@ function StepsSection() {
|
|
|
15541
15722
|
viewBox: "0 0 48 48",
|
|
15542
15723
|
fill: "none",
|
|
15543
15724
|
children: [
|
|
15544
|
-
/* @__PURE__ */
|
|
15725
|
+
/* @__PURE__ */ jsx47(
|
|
15545
15726
|
"rect",
|
|
15546
15727
|
{
|
|
15547
15728
|
x: "4",
|
|
@@ -15552,7 +15733,7 @@ function StepsSection() {
|
|
|
15552
15733
|
fill: "#F9BB3A"
|
|
15553
15734
|
}
|
|
15554
15735
|
),
|
|
15555
|
-
/* @__PURE__ */
|
|
15736
|
+
/* @__PURE__ */ jsx47(
|
|
15556
15737
|
"line",
|
|
15557
15738
|
{
|
|
15558
15739
|
x1: "15.8384",
|
|
@@ -15564,7 +15745,7 @@ function StepsSection() {
|
|
|
15564
15745
|
strokeLinecap: "round"
|
|
15565
15746
|
}
|
|
15566
15747
|
),
|
|
15567
|
-
/* @__PURE__ */
|
|
15748
|
+
/* @__PURE__ */ jsx47(
|
|
15568
15749
|
"line",
|
|
15569
15750
|
{
|
|
15570
15751
|
x1: "19.3279",
|
|
@@ -15576,7 +15757,7 @@ function StepsSection() {
|
|
|
15576
15757
|
strokeLinecap: "round"
|
|
15577
15758
|
}
|
|
15578
15759
|
),
|
|
15579
|
-
/* @__PURE__ */
|
|
15760
|
+
/* @__PURE__ */ jsx47(
|
|
15580
15761
|
"line",
|
|
15581
15762
|
{
|
|
15582
15763
|
x1: "34.8219",
|
|
@@ -15588,7 +15769,7 @@ function StepsSection() {
|
|
|
15588
15769
|
strokeLinecap: "round"
|
|
15589
15770
|
}
|
|
15590
15771
|
),
|
|
15591
|
-
/* @__PURE__ */
|
|
15772
|
+
/* @__PURE__ */ jsx47(
|
|
15592
15773
|
"line",
|
|
15593
15774
|
{
|
|
15594
15775
|
x1: "26.9561",
|
|
@@ -15610,8 +15791,8 @@ function StepsSection() {
|
|
|
15610
15791
|
{ length: stepCount },
|
|
15611
15792
|
(_, index) => stepIcons[index % stepIcons.length]
|
|
15612
15793
|
);
|
|
15613
|
-
return /* @__PURE__ */
|
|
15614
|
-
/* @__PURE__ */
|
|
15794
|
+
return /* @__PURE__ */ jsx47("section", { className: "steps section", children: /* @__PURE__ */ jsxs39("div", { className: "container", children: [
|
|
15795
|
+
/* @__PURE__ */ jsx47(
|
|
15615
15796
|
Title_default,
|
|
15616
15797
|
{
|
|
15617
15798
|
classname: "steps-title",
|
|
@@ -15619,9 +15800,9 @@ function StepsSection() {
|
|
|
15619
15800
|
desc: t("landing.steps.description")
|
|
15620
15801
|
}
|
|
15621
15802
|
),
|
|
15622
|
-
/* @__PURE__ */
|
|
15803
|
+
/* @__PURE__ */ jsx47("div", { className: "step-list", children: visibleSteps.map((step, index) => /* @__PURE__ */ jsxs39("article", { className: "step-card", children: [
|
|
15623
15804
|
/* @__PURE__ */ jsxs39("div", { className: "step-number", children: [
|
|
15624
|
-
/* @__PURE__ */
|
|
15805
|
+
/* @__PURE__ */ jsx47(
|
|
15625
15806
|
Image16,
|
|
15626
15807
|
{
|
|
15627
15808
|
className: "step-ribbon step-ribbon--desktop",
|
|
@@ -15632,7 +15813,7 @@ function StepsSection() {
|
|
|
15632
15813
|
"aria-hidden": "true"
|
|
15633
15814
|
}
|
|
15634
15815
|
),
|
|
15635
|
-
/* @__PURE__ */
|
|
15816
|
+
/* @__PURE__ */ jsx47(
|
|
15636
15817
|
Image16,
|
|
15637
15818
|
{
|
|
15638
15819
|
className: "step-ribbon-mobile",
|
|
@@ -15643,13 +15824,13 @@ function StepsSection() {
|
|
|
15643
15824
|
"aria-hidden": "true"
|
|
15644
15825
|
}
|
|
15645
15826
|
),
|
|
15646
|
-
/* @__PURE__ */
|
|
15827
|
+
/* @__PURE__ */ jsx47(ExactText, { cmsAs: "span", children: t(`landing.steps.items.${index}.label`) })
|
|
15647
15828
|
] }),
|
|
15648
15829
|
/* @__PURE__ */ jsxs39("div", { className: "step-content", children: [
|
|
15649
|
-
/* @__PURE__ */
|
|
15830
|
+
/* @__PURE__ */ jsx47(ExactText, { cmsAs: "span", className: "step-icon", "aria-hidden": "true", children: step.icon }),
|
|
15650
15831
|
/* @__PURE__ */ jsxs39("div", { className: "step-copy", children: [
|
|
15651
|
-
/* @__PURE__ */
|
|
15652
|
-
/* @__PURE__ */
|
|
15832
|
+
/* @__PURE__ */ jsx47(ExactText, { cmsAs: "h3", children: t(`landing.steps.items.${index}.title`) }),
|
|
15833
|
+
/* @__PURE__ */ jsx47(ExactText, { cmsAs: "p", children: t(`landing.steps.items.${index}.body`) })
|
|
15653
15834
|
] })
|
|
15654
15835
|
] })
|
|
15655
15836
|
] }, step.id)) })
|
|
@@ -15657,7 +15838,7 @@ function StepsSection() {
|
|
|
15657
15838
|
}
|
|
15658
15839
|
|
|
15659
15840
|
// src/wikex/original-commodity-blocks.tsx
|
|
15660
|
-
import { Fragment as Fragment12, jsx as
|
|
15841
|
+
import { Fragment as Fragment12, jsx as jsx48, jsxs as jsxs40 } from "react/jsx-runtime";
|
|
15661
15842
|
var LANGUAGE_STORAGE_KEY = "wikex-language";
|
|
15662
15843
|
var LANGUAGE_EVENT = "wikex-language-change";
|
|
15663
15844
|
function supportedLanguage(value4) {
|
|
@@ -15862,7 +16043,7 @@ function ExactEditableContent({
|
|
|
15862
16043
|
element.dataset.cmsExactSelected = String(editable && element.dataset.cmsTextField === selectedTextField);
|
|
15863
16044
|
});
|
|
15864
16045
|
}, [content, editable, fieldKeys, selectedTextField]);
|
|
15865
|
-
return /* @__PURE__ */
|
|
16046
|
+
return /* @__PURE__ */ jsx48(
|
|
15866
16047
|
Box7,
|
|
15867
16048
|
{
|
|
15868
16049
|
ref: rootRef,
|
|
@@ -15955,10 +16136,10 @@ function ExactProviders({ content, children }) {
|
|
|
15955
16136
|
window.removeEventListener(LANGUAGE_EVENT, receiveLanguage);
|
|
15956
16137
|
};
|
|
15957
16138
|
}, [instance, requestedLanguage]);
|
|
15958
|
-
return /* @__PURE__ */
|
|
16139
|
+
return /* @__PURE__ */ jsx48(I18nextProvider, { i18n: instance, children: /* @__PURE__ */ jsx48(AppThemeProvider, { children: /* @__PURE__ */ jsx48(ResponsiveProvider, { viewportWidth, children }) }) });
|
|
15959
16140
|
}
|
|
15960
16141
|
function ExactSection({ children }) {
|
|
15961
|
-
return /* @__PURE__ */
|
|
16142
|
+
return /* @__PURE__ */ jsx48(PageShell, { className: "wikex-page", children });
|
|
15962
16143
|
}
|
|
15963
16144
|
function exactBlock(options, Component, wrapSection = false) {
|
|
15964
16145
|
const lists = options.lists ?? [];
|
|
@@ -16102,14 +16283,14 @@ function exactBlock(options, Component, wrapSection = false) {
|
|
|
16102
16283
|
)
|
|
16103
16284
|
)
|
|
16104
16285
|
], [language, listStates, chrome2]);
|
|
16105
|
-
return /* @__PURE__ */
|
|
16286
|
+
return /* @__PURE__ */ jsx48(ExactProviders, { content: renderedContent, children: /* @__PURE__ */ jsx48(
|
|
16106
16287
|
CmsImageProvider,
|
|
16107
16288
|
{
|
|
16108
16289
|
content: renderedContent,
|
|
16109
16290
|
editable: props.editable,
|
|
16110
16291
|
onImageRequest: props.onImageRequest,
|
|
16111
|
-
children: /* @__PURE__ */
|
|
16112
|
-
/* @__PURE__ */
|
|
16292
|
+
children: /* @__PURE__ */ jsx48(CmsListCountProvider, { counts: listCounts, children: /* @__PURE__ */ jsx48(CmsElementProvider, { ...props, content: renderedContent, onChange: handleChange, onSelectText: handleSelectText, children: /* @__PURE__ */ jsxs40(ExactTextProvider, { content: renderedContent, fields: fieldKeys, children: [
|
|
16293
|
+
/* @__PURE__ */ jsx48(
|
|
16113
16294
|
ExactEditableContent,
|
|
16114
16295
|
{
|
|
16115
16296
|
content: renderedContent,
|
|
@@ -16118,10 +16299,10 @@ function exactBlock(options, Component, wrapSection = false) {
|
|
|
16118
16299
|
onChange: handleChange,
|
|
16119
16300
|
onSelectText: handleSelectText,
|
|
16120
16301
|
selectedTextField: props.selectedTextField,
|
|
16121
|
-
children: wrapSection ? /* @__PURE__ */
|
|
16302
|
+
children: wrapSection ? /* @__PURE__ */ jsx48(ExactSection, { children: /* @__PURE__ */ jsx48(Component, { ...props }) }) : /* @__PURE__ */ jsx48(Component, { ...props })
|
|
16122
16303
|
}
|
|
16123
16304
|
),
|
|
16124
|
-
props.editable && listStates.length > 0 && /* @__PURE__ */
|
|
16305
|
+
props.editable && listStates.length > 0 && /* @__PURE__ */ jsx48(
|
|
16125
16306
|
Box7,
|
|
16126
16307
|
{
|
|
16127
16308
|
sx: {
|
|
@@ -16130,7 +16311,7 @@ function exactBlock(options, Component, wrapSection = false) {
|
|
|
16130
16311
|
borderTop: "1px solid rgba(32, 40, 32, 0.12)",
|
|
16131
16312
|
bgcolor: "#FAF8F3"
|
|
16132
16313
|
},
|
|
16133
|
-
children: /* @__PURE__ */
|
|
16314
|
+
children: /* @__PURE__ */ jsx48(Stack5, { direction: "row", spacing: 1, justifyContent: "flex-end", flexWrap: "wrap", useFlexGap: true, children: listStates.map(({ field, items, list, templates }) => /* @__PURE__ */ jsxs40(
|
|
16134
16315
|
Button9,
|
|
16135
16316
|
{
|
|
16136
16317
|
size: "small",
|
|
@@ -16189,7 +16370,7 @@ function ProductDetailExact() {
|
|
|
16189
16370
|
const segments = pathname.split("/").filter(Boolean);
|
|
16190
16371
|
const slug = segments[segments.length - 1] ?? "platinum";
|
|
16191
16372
|
const product = getProductBySlug(slug) ?? productItems[0];
|
|
16192
|
-
return /* @__PURE__ */
|
|
16373
|
+
return /* @__PURE__ */ jsx48(ProductDetailContent, { product });
|
|
16193
16374
|
}
|
|
16194
16375
|
var exactItemFields = (...fields2) => fields2.map(([key, label, type]) => ({ key, label, type, required: key === "title" }));
|
|
16195
16376
|
var image = (key, label, defaultSrc) => ({
|
|
@@ -16438,8 +16619,8 @@ var header = exactBlock(
|
|
|
16438
16619
|
name: "Header Wikex Commodity \u2014 b\u1EA3n g\u1ED1c",
|
|
16439
16620
|
description: "Header nguy\xEAn b\u1EA3n t\u1EEB wikex-commodity-frontend.",
|
|
16440
16621
|
prefixes: ["header.", "language.", "theme."],
|
|
16441
|
-
fields: headerLinkFields,
|
|
16442
|
-
defaults: headerLinkDefaults,
|
|
16622
|
+
fields: [...headerLinkFields, ...cmsHeaderButtonLinkFields],
|
|
16623
|
+
defaults: { ...headerLinkDefaults, ...cmsHeaderButtonLinkDefaults },
|
|
16443
16624
|
images: headerImages,
|
|
16444
16625
|
placement: "header",
|
|
16445
16626
|
icon: "solar:menu-dots-bold-duotone"
|
|
@@ -16448,8 +16629,8 @@ var header = exactBlock(
|
|
|
16448
16629
|
);
|
|
16449
16630
|
function FooterWithFloatingActions() {
|
|
16450
16631
|
return /* @__PURE__ */ jsxs40(Fragment12, { children: [
|
|
16451
|
-
/* @__PURE__ */
|
|
16452
|
-
/* @__PURE__ */
|
|
16632
|
+
/* @__PURE__ */ jsx48(Footer, {}),
|
|
16633
|
+
/* @__PURE__ */ jsx48(FloatingActions, {})
|
|
16453
16634
|
] });
|
|
16454
16635
|
}
|
|
16455
16636
|
var footer = exactBlock(
|
|
@@ -16470,8 +16651,8 @@ var hero = exactBlock(
|
|
|
16470
16651
|
{ type: "commodity-hero", name: "Landing \u2014 Hero g\u1ED1c", description: "Hero nguy\xEAn b\u1EA3n.", prefixes: ["landing.hero."], images: heroImages },
|
|
16471
16652
|
function OriginalHero() {
|
|
16472
16653
|
return /* @__PURE__ */ jsxs40(Fragment12, { children: [
|
|
16473
|
-
/* @__PURE__ */
|
|
16474
|
-
/* @__PURE__ */
|
|
16654
|
+
/* @__PURE__ */ jsx48(LandingAnimations, {}),
|
|
16655
|
+
/* @__PURE__ */ jsx48(HeroSection2, {})
|
|
16475
16656
|
] });
|
|
16476
16657
|
},
|
|
16477
16658
|
true
|
|
@@ -16492,7 +16673,15 @@ var audience = exactBlock(
|
|
|
16492
16673
|
true
|
|
16493
16674
|
);
|
|
16494
16675
|
var download = exactBlock(
|
|
16495
|
-
{
|
|
16676
|
+
{
|
|
16677
|
+
type: "download-section",
|
|
16678
|
+
name: "Landing \u2014 T\u1EA3i \u1EE9ng d\u1EE5ng g\u1ED1c",
|
|
16679
|
+
description: "Section t\u1EA3i \u1EE9ng d\u1EE5ng nguy\xEAn b\u1EA3n.",
|
|
16680
|
+
prefixes: ["landing.download."],
|
|
16681
|
+
images: downloadImages,
|
|
16682
|
+
fields: cmsDownloadButtonLinkFields,
|
|
16683
|
+
defaults: cmsDownloadButtonLinkDefaults
|
|
16684
|
+
},
|
|
16496
16685
|
DownloadSection,
|
|
16497
16686
|
true
|
|
16498
16687
|
);
|
|
@@ -16845,7 +17034,7 @@ var wikexCommodityRoutes = wikexCommodityPageTemplates.map(({ route, slug, key }
|
|
|
16845
17034
|
// src/shared/text-toolbar.tsx
|
|
16846
17035
|
import { useEffect as useEffect12, useRef as useRef11, useState as useState17 } from "react";
|
|
16847
17036
|
import { Box as Box8, IconButton as IconButton3, InputAdornment as InputAdornment2, MenuItem as MenuItem4, Select as Select3, SvgIcon, TextField as TextField4, ToggleButton as ToggleButton2, Tooltip } from "@mui/material";
|
|
16848
|
-
import { jsx as
|
|
17037
|
+
import { jsx as jsx49, jsxs as jsxs41 } from "react/jsx-runtime";
|
|
16849
17038
|
function CmsTextToolbar({ layout, color, colorPicker, inlineControls, structureControls, computedFontSize, computedLineHeight, computedFontFamily, computedTextAlign, onLayoutChange, onColorChange, onReset }) {
|
|
16850
17039
|
const toolbarRef = useRef11(null);
|
|
16851
17040
|
const [hex, setHex] = useState17(color);
|
|
@@ -16919,15 +17108,15 @@ function CmsTextToolbar({ layout, color, colorPicker, inlineControls, structureC
|
|
|
16919
17108
|
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 } },
|
|
16920
17109
|
onChange: (event) => onLayoutChange({ fontFamily: event.target.value || void 0 }),
|
|
16921
17110
|
children: [
|
|
16922
|
-
!selectedFont && /* @__PURE__ */
|
|
16923
|
-
Object.entries(CMS_TEXT_FONTS).map(([value4, label]) => /* @__PURE__ */
|
|
17111
|
+
!selectedFont && /* @__PURE__ */ jsx49(MenuItem4, { value: "", sx: { fontSize: 12 }, children: fontLabel }),
|
|
17112
|
+
Object.entries(CMS_TEXT_FONTS).map(([value4, label]) => /* @__PURE__ */ jsx49(MenuItem4, { value: value4, sx: { fontFamily: value4, fontSize: 13 }, children: label }, value4))
|
|
16924
17113
|
]
|
|
16925
17114
|
}
|
|
16926
17115
|
),
|
|
16927
17116
|
structureControls
|
|
16928
17117
|
] }),
|
|
16929
17118
|
/* @__PURE__ */ jsxs41(Box8, { sx: { ...groupSx, flexWrap: "wrap", justifyContent: "space-between" }, children: [
|
|
16930
|
-
/* @__PURE__ */
|
|
17119
|
+
/* @__PURE__ */ jsx49(Tooltip, { title: "C\u1EE1 ch\u1EEF (px)", ...tooltipProps, children: /* @__PURE__ */ jsx49(
|
|
16931
17120
|
TextField4,
|
|
16932
17121
|
{
|
|
16933
17122
|
size: "small",
|
|
@@ -16948,13 +17137,13 @@ function CmsTextToolbar({ layout, color, colorPicker, inlineControls, structureC
|
|
|
16948
17137
|
}
|
|
16949
17138
|
}
|
|
16950
17139
|
) }),
|
|
16951
|
-
/* @__PURE__ */
|
|
17140
|
+
/* @__PURE__ */ jsx49(Tooltip, { title: "Chi\u1EC1u cao d\xF2ng (l\u1EA7n c\u1EE1 ch\u1EEF)", ...tooltipProps, children: /* @__PURE__ */ jsx49(
|
|
16952
17141
|
TextField4,
|
|
16953
17142
|
{
|
|
16954
17143
|
size: "small",
|
|
16955
17144
|
type: "number",
|
|
16956
17145
|
value: lineHeight,
|
|
16957
|
-
slotProps: { input: { startAdornment: /* @__PURE__ */
|
|
17146
|
+
slotProps: { input: { startAdornment: /* @__PURE__ */ jsx49(InputAdornment2, { position: "start", sx: { mr: 0 }, children: /* @__PURE__ */ jsx49(SvgIcon, { sx: { fontSize: 17 }, children: /* @__PURE__ */ jsx49("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 } },
|
|
16958
17147
|
sx: { ...inputSx, width: 78, "& .MuiInputBase-root": { height: 30, pl: 0.75 } },
|
|
16959
17148
|
onChange: (event) => {
|
|
16960
17149
|
dirtyLineHeight.current = true;
|
|
@@ -16969,8 +17158,8 @@ function CmsTextToolbar({ layout, color, colorPicker, inlineControls, structureC
|
|
|
16969
17158
|
}
|
|
16970
17159
|
}
|
|
16971
17160
|
) }),
|
|
16972
|
-
/* @__PURE__ */
|
|
16973
|
-
/* @__PURE__ */
|
|
17161
|
+
/* @__PURE__ */ jsx49(Box8, { sx: groupSx, children: inlineControls }),
|
|
17162
|
+
/* @__PURE__ */ jsx49(Box8, { 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__ */ jsx49(Tooltip, { title: label, ...tooltipProps, children: /* @__PURE__ */ jsx49(
|
|
16974
17163
|
ToggleButton2,
|
|
16975
17164
|
{
|
|
16976
17165
|
value: align,
|
|
@@ -16979,10 +17168,10 @@ function CmsTextToolbar({ layout, color, colorPicker, inlineControls, structureC
|
|
|
16979
17168
|
onMouseDown: (event) => event.preventDefault(),
|
|
16980
17169
|
onClick: () => onLayoutChange({ textAlign: align }),
|
|
16981
17170
|
sx: { width: 30, minWidth: 30, height: 30, p: 0.5, border: 0 },
|
|
16982
|
-
children: /* @__PURE__ */
|
|
17171
|
+
children: /* @__PURE__ */ jsx49(SvgIcon, { sx: { fontSize: 19 }, children: /* @__PURE__ */ jsx49("path", { d: align === "left" ? "M3 4h18v2H3zm0 5h12v2H3zm0 5h18v2H3zm0 5h12v2H3z" : align === "right" ? "M3 4h18v2H3zm6 5h12v2H9zm-6 5h18v2H3zm6 5h12v2H9z" : "M3 4h18v2H3zm3 5h12v2H6zm-3 5h18v2H3zm3 5h12v2H6z" }) })
|
|
16983
17172
|
}
|
|
16984
17173
|
) }, align)) }),
|
|
16985
|
-
colorPicker || /* @__PURE__ */
|
|
17174
|
+
colorPicker || /* @__PURE__ */ jsx49(
|
|
16986
17175
|
TextField4,
|
|
16987
17176
|
{
|
|
16988
17177
|
size: "small",
|
|
@@ -16999,13 +17188,111 @@ function CmsTextToolbar({ layout, color, colorPicker, inlineControls, structureC
|
|
|
16999
17188
|
}
|
|
17000
17189
|
}
|
|
17001
17190
|
),
|
|
17002
|
-
/* @__PURE__ */
|
|
17191
|
+
/* @__PURE__ */ jsx49(Tooltip, { title: "\u0110\u1EB7t l\u1EA1i \u0111\u1ECBnh d\u1EA1ng ch\u1EEF", ...tooltipProps, children: /* @__PURE__ */ jsx49(IconButton3, { size: "small", "aria-label": "\u0110\u1EB7t l\u1EA1i \u0111\u1ECBnh d\u1EA1ng ch\u1EEF", onClick: onReset, sx: { width: 30, height: 30 }, children: /* @__PURE__ */ jsx49(SvgIcon, { sx: { fontSize: 19 }, children: /* @__PURE__ */ jsx49("path", { d: "m18 4 3 3-9 9-3-3 9-9zM8 14l3 3-3 3H4l-3-3 4-4 3 1zm4 6h10v2H10z" }) }) }) })
|
|
17003
17192
|
] })
|
|
17004
17193
|
]
|
|
17005
17194
|
}
|
|
17006
17195
|
);
|
|
17007
17196
|
}
|
|
17008
17197
|
|
|
17198
|
+
// src/shared/button-link-control.tsx
|
|
17199
|
+
import { useState as useState18 } from "react";
|
|
17200
|
+
import { Box as Box9, Button as Button10, IconButton as IconButton4, MenuItem as MenuItem5, Popover, Stack as Stack6, SvgIcon as SvgIcon2, TextField as TextField5, Typography as Typography5 } from "@mui/material";
|
|
17201
|
+
import { Fragment as Fragment13, jsx as jsx50, jsxs as jsxs42 } from "react/jsx-runtime";
|
|
17202
|
+
function CmsButtonLinkControl({ field, content, onChange }) {
|
|
17203
|
+
const [anchor, setAnchor] = useState18(null);
|
|
17204
|
+
const [href, setHref] = useState18("");
|
|
17205
|
+
const [type, setType] = useState18("internal");
|
|
17206
|
+
const [error, setError] = useState18("");
|
|
17207
|
+
if (!isCmsButtonField(field)) return null;
|
|
17208
|
+
const apply = (value4) => {
|
|
17209
|
+
onChange(cmsButtonLinkChanges(content, field, value4, type));
|
|
17210
|
+
setAnchor(null);
|
|
17211
|
+
};
|
|
17212
|
+
return /* @__PURE__ */ jsxs42(Fragment13, { children: [
|
|
17213
|
+
/* @__PURE__ */ jsx50(
|
|
17214
|
+
IconButton4,
|
|
17215
|
+
{
|
|
17216
|
+
size: "small",
|
|
17217
|
+
"aria-label": "Li\xEAn k\u1EBFt n\xFAt",
|
|
17218
|
+
title: "S\u1EEDa li\xEAn k\u1EBFt c\u1EE7a n\xFAt",
|
|
17219
|
+
sx: { width: 30, height: 30 },
|
|
17220
|
+
onMouseDown: (event) => event.preventDefault(),
|
|
17221
|
+
onClick: (event) => {
|
|
17222
|
+
const current = getCmsButtonLink(content, field);
|
|
17223
|
+
setHref(current.value);
|
|
17224
|
+
setType(current.type);
|
|
17225
|
+
setError("");
|
|
17226
|
+
setAnchor(event.currentTarget);
|
|
17227
|
+
},
|
|
17228
|
+
children: /* @__PURE__ */ jsx50(SvgIcon2, { sx: { fontSize: 19 }, children: /* @__PURE__ */ jsx50("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" }) })
|
|
17229
|
+
}
|
|
17230
|
+
),
|
|
17231
|
+
/* @__PURE__ */ jsx50(
|
|
17232
|
+
Popover,
|
|
17233
|
+
{
|
|
17234
|
+
open: Boolean(anchor),
|
|
17235
|
+
anchorEl: anchor,
|
|
17236
|
+
container: anchor?.ownerDocument.body,
|
|
17237
|
+
disableScrollLock: true,
|
|
17238
|
+
sx: { zIndex: 1600 },
|
|
17239
|
+
onClose: () => setAnchor(null),
|
|
17240
|
+
anchorOrigin: { vertical: "bottom", horizontal: "left" },
|
|
17241
|
+
slotProps: { paper: { sx: { p: 1.5, width: 320, maxWidth: "calc(100% - 32px)" } } },
|
|
17242
|
+
children: /* @__PURE__ */ jsx50(Box9, { component: "form", onSubmit: (event) => {
|
|
17243
|
+
event.preventDefault();
|
|
17244
|
+
const value4 = href.trim();
|
|
17245
|
+
if (value4 && !safeCmsButtonHref(value4, type)) {
|
|
17246
|
+
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 #.");
|
|
17247
|
+
return;
|
|
17248
|
+
}
|
|
17249
|
+
apply(value4);
|
|
17250
|
+
}, children: /* @__PURE__ */ jsxs42(Stack6, { spacing: 1.5, children: [
|
|
17251
|
+
/* @__PURE__ */ jsx50(Typography5, { variant: "subtitle2", children: "Li\xEAn k\u1EBFt n\xFAt" }),
|
|
17252
|
+
/* @__PURE__ */ jsxs42(
|
|
17253
|
+
TextField5,
|
|
17254
|
+
{
|
|
17255
|
+
select: true,
|
|
17256
|
+
size: "small",
|
|
17257
|
+
label: "Lo\u1EA1i li\xEAn k\u1EBFt",
|
|
17258
|
+
value: type,
|
|
17259
|
+
onChange: (event) => {
|
|
17260
|
+
setType(event.target.value);
|
|
17261
|
+
setError("");
|
|
17262
|
+
},
|
|
17263
|
+
slotProps: { select: { MenuProps: { disableScrollLock: true, container: anchor?.ownerDocument.body, sx: { zIndex: 1700 } } } },
|
|
17264
|
+
children: [
|
|
17265
|
+
/* @__PURE__ */ jsx50(MenuItem5, { value: "internal", children: "Internal \u2014 trong website" }),
|
|
17266
|
+
/* @__PURE__ */ jsx50(MenuItem5, { value: "external", children: "External \u2014 website kh\xE1c" })
|
|
17267
|
+
]
|
|
17268
|
+
}
|
|
17269
|
+
),
|
|
17270
|
+
/* @__PURE__ */ jsx50(
|
|
17271
|
+
TextField5,
|
|
17272
|
+
{
|
|
17273
|
+
autoFocus: true,
|
|
17274
|
+
size: "small",
|
|
17275
|
+
label: "\u0110\u01B0\u1EDDng d\u1EABn c\u1EE7a n\xFAt",
|
|
17276
|
+
value: href,
|
|
17277
|
+
onChange: (event) => {
|
|
17278
|
+
setHref(event.target.value);
|
|
17279
|
+
setError("");
|
|
17280
|
+
},
|
|
17281
|
+
error: Boolean(error),
|
|
17282
|
+
placeholder: type === "external" ? "https://example.com/" : "/lien-he/ ho\u1EB7c #register",
|
|
17283
|
+
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.")
|
|
17284
|
+
}
|
|
17285
|
+
),
|
|
17286
|
+
/* @__PURE__ */ jsxs42(Stack6, { direction: "row", justifyContent: "space-between", children: [
|
|
17287
|
+
/* @__PURE__ */ jsx50(Button10, { size: "small", color: "inherit", onClick: () => apply(""), children: "B\u1ECF li\xEAn k\u1EBFt" }),
|
|
17288
|
+
/* @__PURE__ */ jsx50(Button10, { size: "small", variant: "contained", type: "submit", children: "\xC1p d\u1EE5ng" })
|
|
17289
|
+
] })
|
|
17290
|
+
] }) })
|
|
17291
|
+
}
|
|
17292
|
+
)
|
|
17293
|
+
] });
|
|
17294
|
+
}
|
|
17295
|
+
|
|
17009
17296
|
// src/index.ts
|
|
17010
17297
|
var minimalUiComponents = [
|
|
17011
17298
|
...minimalUiBlocks,
|
|
@@ -17042,12 +17329,17 @@ export {
|
|
|
17042
17329
|
CMS_LIST_MARKERS,
|
|
17043
17330
|
CMS_TEXT_FONTS,
|
|
17044
17331
|
CMS_TEXT_LAYOUT_SUFFIX,
|
|
17332
|
+
CmsButtonLinkControl,
|
|
17045
17333
|
CmsTextToolbar,
|
|
17046
17334
|
FeesTable,
|
|
17047
17335
|
applyCmsTextLayout,
|
|
17336
|
+
cmsButtonLinkChanges,
|
|
17048
17337
|
cmsListAnchor,
|
|
17049
17338
|
cmsListMarkerType,
|
|
17050
17339
|
cmsTextLayoutStyle,
|
|
17340
|
+
getCmsButtonLink,
|
|
17341
|
+
isCmsButtonField,
|
|
17342
|
+
isCmsHeaderButtonField,
|
|
17051
17343
|
migrateWikexChromeContent,
|
|
17052
17344
|
minimalMarketingBlocks,
|
|
17053
17345
|
minimalUiBlocks,
|
|
@@ -17060,6 +17352,7 @@ export {
|
|
|
17060
17352
|
rebaseCmsRichText,
|
|
17061
17353
|
rebaseCmsTextLayouts,
|
|
17062
17354
|
renderCmsRichText,
|
|
17355
|
+
safeCmsButtonHref,
|
|
17063
17356
|
safeCmsTextHref,
|
|
17064
17357
|
siteChromeBlocks,
|
|
17065
17358
|
wikexCmsBlocks,
|