@agg-market/ui 10.0.0 → 11.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-GYOCLZGH.mjs → chunk-2KGE5AJQ.mjs} +167 -276
- package/dist/{chunk-55YYUTBK.mjs → chunk-5FSWOXEG.mjs} +1 -1
- package/dist/{chunk-RYQSVETG.mjs → chunk-HMUMJUIL.mjs} +429 -331
- package/dist/{chunk-XP7DREIX.mjs → chunk-IUJXJEDQ.mjs} +1300 -656
- package/dist/{chunk-5G4T5R2H.mjs → chunk-UONHGMFI.mjs} +7 -3
- package/dist/events.js +756 -670
- package/dist/events.mjs +2 -2
- package/dist/index.js +2976 -2367
- package/dist/index.mjs +13 -6
- package/dist/modals.js +26 -9
- package/dist/modals.mjs +2 -2
- package/dist/pages.js +2653 -1790
- package/dist/pages.mjs +4 -4
- package/dist/primitives.js +1277 -649
- package/dist/primitives.mjs +5 -1
- package/dist/styles.css +1 -1
- package/dist/tailwind.css +1 -1
- package/dist/trading.js +257 -189
- package/dist/trading.mjs +2 -2
- package/dist/types/events/list/event-list.types.d.mts +1 -1
- package/dist/types/events/list/event-list.types.d.ts +1 -1
- package/dist/types/events/market-details/index.d.mts +2 -2
- package/dist/types/events/market-details/index.d.ts +2 -2
- package/dist/types/events/market-details/market-details.types.d.mts +1 -5
- package/dist/types/events/market-details/market-details.types.d.ts +1 -5
- package/dist/types/primitives/agg-logo/index.d.mts +6 -0
- package/dist/types/primitives/agg-logo/index.d.ts +6 -0
- package/dist/types/primitives/header/agg-logo.d.mts +2 -0
- package/dist/types/primitives/header/agg-logo.d.ts +2 -0
- package/dist/types/primitives/header/header.constants.d.mts +3 -0
- package/dist/types/primitives/header/header.constants.d.ts +3 -0
- package/dist/types/primitives/header/header.types.d.mts +28 -0
- package/dist/types/primitives/header/header.types.d.ts +28 -0
- package/dist/types/primitives/header/index.d.mts +7 -0
- package/dist/types/primitives/header/index.d.ts +7 -0
- package/dist/types/primitives/index.d.mts +2 -0
- package/dist/types/primitives/index.d.ts +2 -0
- package/dist/types/primitives/search/index.d.mts +1 -1
- package/dist/types/primitives/search/index.d.ts +1 -1
- package/dist/types/primitives/search/search.types.d.mts +9 -59
- package/dist/types/primitives/search/search.types.d.ts +9 -59
- package/dist/types/primitives/search/search.utils.d.mts +4 -0
- package/dist/types/primitives/search/search.utils.d.ts +4 -0
- package/dist/types/primitives/skeleton/skeleton.types.d.mts +1 -0
- package/dist/types/primitives/skeleton/skeleton.types.d.ts +1 -0
- package/dist/types/primitives/skeleton/views/search-skeleton-view.d.mts +5 -0
- package/dist/types/primitives/skeleton/views/search-skeleton-view.d.ts +5 -0
- package/dist/types/trading/types.d.mts +2 -2
- package/dist/types/trading/types.d.ts +2 -2
- package/package.json +3 -3
|
@@ -195,7 +195,9 @@ var Button = (_a) => {
|
|
|
195
195
|
"className",
|
|
196
196
|
"aria-label"
|
|
197
197
|
]);
|
|
198
|
-
const {
|
|
198
|
+
const {
|
|
199
|
+
features: { enableAnimations }
|
|
200
|
+
} = useSdkUiConfig();
|
|
199
201
|
const isDisabled = disabled || isLoading;
|
|
200
202
|
return /* @__PURE__ */ jsx(
|
|
201
203
|
"button",
|
|
@@ -241,7 +243,9 @@ import { useLabels as useLabels2 } from "@agg-market/hooks";
|
|
|
241
243
|
import { useSdkUiConfig as useSdkUiConfig2 } from "@agg-market/hooks";
|
|
242
244
|
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
243
245
|
var SkeletonBlock = ({ className }) => {
|
|
244
|
-
const {
|
|
246
|
+
const {
|
|
247
|
+
features: { enableAnimations }
|
|
248
|
+
} = useSdkUiConfig2();
|
|
245
249
|
return /* @__PURE__ */ jsx2(
|
|
246
250
|
"div",
|
|
247
251
|
{
|
|
@@ -264,7 +268,9 @@ import { useSdkUiConfig as useSdkUiConfig3 } from "@agg-market/hooks";
|
|
|
264
268
|
import { jsx as jsx3 } from "react/jsx-runtime";
|
|
265
269
|
var Card = (_a) => {
|
|
266
270
|
var _b = _a, { className, onClick } = _b, props = __objRest(_b, ["className", "onClick"]);
|
|
267
|
-
const {
|
|
271
|
+
const {
|
|
272
|
+
features: { enableAnimations }
|
|
273
|
+
} = useSdkUiConfig3();
|
|
268
274
|
return /* @__PURE__ */ jsx3(
|
|
269
275
|
"div",
|
|
270
276
|
__spreadValues(__spreadValues({
|
|
@@ -598,15 +604,63 @@ var PlaceOrderSkeletonView = ({
|
|
|
598
604
|
};
|
|
599
605
|
PlaceOrderSkeletonView.displayName = "PlaceOrderSkeletonView";
|
|
600
606
|
|
|
601
|
-
// src/primitives/skeleton/views/
|
|
607
|
+
// src/primitives/skeleton/views/search-skeleton-view.tsx
|
|
602
608
|
import { useLabels as useLabels5 } from "@agg-market/hooks";
|
|
603
609
|
import { jsx as jsx9, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
610
|
+
var SearchSkeletonRow = () => {
|
|
611
|
+
return /* @__PURE__ */ jsxs7("div", { className: "flex w-full items-center gap-6 px-5 py-4", children: [
|
|
612
|
+
/* @__PURE__ */ jsx9(SkeletonBlock, { className: "size-12 shrink-0 rounded-[8px]" }),
|
|
613
|
+
/* @__PURE__ */ jsxs7("div", { className: "flex min-w-0 flex-1 flex-col gap-2", children: [
|
|
614
|
+
/* @__PURE__ */ jsx9(SkeletonBlock, { className: "h-5 w-full max-w-[320px] rounded-agg-sm" }),
|
|
615
|
+
/* @__PURE__ */ jsxs7("div", { className: "flex min-w-0 items-center gap-2", children: [
|
|
616
|
+
/* @__PURE__ */ jsx9(SkeletonBlock, { className: "h-4 w-[104px] rounded-agg-sm" }),
|
|
617
|
+
/* @__PURE__ */ jsxs7("div", { className: "flex items-center gap-1", children: [
|
|
618
|
+
/* @__PURE__ */ jsx9(SkeletonBlock, { className: "size-[14px] rounded-[4px]" }),
|
|
619
|
+
/* @__PURE__ */ jsx9(SkeletonBlock, { className: "size-[14px] rounded-[4px]" })
|
|
620
|
+
] })
|
|
621
|
+
] })
|
|
622
|
+
] }),
|
|
623
|
+
/* @__PURE__ */ jsxs7("div", { className: "flex w-[200px] shrink-0 items-center gap-2", children: [
|
|
624
|
+
/* @__PURE__ */ jsx9(SkeletonBlock, { className: "size-4 rounded-[4px]" }),
|
|
625
|
+
/* @__PURE__ */ jsxs7("div", { className: "flex min-w-0 flex-1 items-center gap-2", children: [
|
|
626
|
+
/* @__PURE__ */ jsx9(SkeletonBlock, { className: "h-6 w-10 rounded-agg-sm" }),
|
|
627
|
+
/* @__PURE__ */ jsx9(SkeletonBlock, { className: "h-4 w-[60px] rounded-agg-sm" })
|
|
628
|
+
] })
|
|
629
|
+
] }),
|
|
630
|
+
/* @__PURE__ */ jsx9(SkeletonBlock, { className: "size-5 rounded-[4px]" })
|
|
631
|
+
] });
|
|
632
|
+
};
|
|
633
|
+
var SearchSkeletonView = ({ className, ariaLabel }) => {
|
|
634
|
+
const labels = useLabels5();
|
|
635
|
+
return /* @__PURE__ */ jsxs7(
|
|
636
|
+
"div",
|
|
637
|
+
{
|
|
638
|
+
className: cn(
|
|
639
|
+
"group/agg-search-skeleton",
|
|
640
|
+
"w-full overflow-hidden rounded-agg-xl border border-agg-separator bg-agg-secondary shadow-[0px_8px_16px_0px_rgba(0,0,0,0.1)]",
|
|
641
|
+
className
|
|
642
|
+
),
|
|
643
|
+
role: "status",
|
|
644
|
+
"aria-label": ariaLabel != null ? ariaLabel : labels.search.loadingResults,
|
|
645
|
+
"aria-busy": true,
|
|
646
|
+
children: [
|
|
647
|
+
/* @__PURE__ */ jsx9("div", { className: "pt-2", children: Array.from({ length: 4 }).map((_, index) => /* @__PURE__ */ jsx9("div", { className: cn(index > 0 && "border-t border-agg-separator"), children: /* @__PURE__ */ jsx9(SearchSkeletonRow, {}) }, index)) }),
|
|
648
|
+
/* @__PURE__ */ jsx9("div", { className: "border-t border-agg-separator px-5 py-5", children: /* @__PURE__ */ jsx9(SkeletonBlock, { className: "h-5 w-[116px] rounded-agg-sm" }) })
|
|
649
|
+
]
|
|
650
|
+
}
|
|
651
|
+
);
|
|
652
|
+
};
|
|
653
|
+
SearchSkeletonView.displayName = "SearchSkeletonView";
|
|
654
|
+
|
|
655
|
+
// src/primitives/skeleton/views/settlement-skeleton-view.tsx
|
|
656
|
+
import { useLabels as useLabels6 } from "@agg-market/hooks";
|
|
657
|
+
import { jsx as jsx10, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
604
658
|
var SettlementSkeletonView = ({
|
|
605
659
|
className,
|
|
606
660
|
ariaLabel
|
|
607
661
|
}) => {
|
|
608
|
-
const labels =
|
|
609
|
-
return /* @__PURE__ */
|
|
662
|
+
const labels = useLabels6();
|
|
663
|
+
return /* @__PURE__ */ jsxs8(
|
|
610
664
|
Card,
|
|
611
665
|
{
|
|
612
666
|
className: cn(
|
|
@@ -618,26 +672,26 @@ var SettlementSkeletonView = ({
|
|
|
618
672
|
"aria-label": ariaLabel != null ? ariaLabel : labels.trading.settlementLoading,
|
|
619
673
|
"aria-busy": true,
|
|
620
674
|
children: [
|
|
621
|
-
/* @__PURE__ */
|
|
622
|
-
/* @__PURE__ */
|
|
623
|
-
/* @__PURE__ */
|
|
675
|
+
/* @__PURE__ */ jsxs8("div", { className: "flex w-full items-center justify-between gap-4", children: [
|
|
676
|
+
/* @__PURE__ */ jsx10(SkeletonBlock, { className: "h-4 w-[81px] rounded-agg-sm" }),
|
|
677
|
+
/* @__PURE__ */ jsx10(SkeletonBlock, { className: "h-5 w-full max-w-[240px] rounded-agg-sm" })
|
|
624
678
|
] }),
|
|
625
|
-
/* @__PURE__ */
|
|
626
|
-
/* @__PURE__ */
|
|
627
|
-
/* @__PURE__ */
|
|
628
|
-
/* @__PURE__ */
|
|
629
|
-
/* @__PURE__ */
|
|
679
|
+
/* @__PURE__ */ jsxs8("div", { className: "flex w-full flex-col gap-3", children: [
|
|
680
|
+
/* @__PURE__ */ jsx10(SkeletonBlock, { className: "h-5 w-[200px] rounded-agg-sm" }),
|
|
681
|
+
/* @__PURE__ */ jsxs8("div", { className: "flex flex-col gap-2", children: [
|
|
682
|
+
/* @__PURE__ */ jsx10(SkeletonBlock, { className: "h-4 w-full max-w-[320px] rounded-agg-sm" }),
|
|
683
|
+
/* @__PURE__ */ jsx10(SkeletonBlock, { className: "h-4 w-full max-w-[280px] rounded-agg-sm" })
|
|
630
684
|
] })
|
|
631
685
|
] }),
|
|
632
|
-
/* @__PURE__ */
|
|
633
|
-
/* @__PURE__ */
|
|
634
|
-
/* @__PURE__ */
|
|
635
|
-
/* @__PURE__ */
|
|
636
|
-
/* @__PURE__ */
|
|
686
|
+
/* @__PURE__ */ jsx10("div", { className: "h-px w-full bg-agg-separator" }),
|
|
687
|
+
/* @__PURE__ */ jsxs8("div", { className: "flex w-full flex-col gap-3", children: [
|
|
688
|
+
/* @__PURE__ */ jsxs8("div", { className: "flex items-center gap-2", children: [
|
|
689
|
+
/* @__PURE__ */ jsx10(SkeletonBlock, { className: "size-4 rounded-agg-sm" }),
|
|
690
|
+
/* @__PURE__ */ jsx10(SkeletonBlock, { className: "h-5 w-[100px] rounded-agg-sm" })
|
|
637
691
|
] }),
|
|
638
|
-
/* @__PURE__ */
|
|
639
|
-
/* @__PURE__ */
|
|
640
|
-
/* @__PURE__ */
|
|
692
|
+
/* @__PURE__ */ jsxs8("div", { className: "flex items-center gap-2", children: [
|
|
693
|
+
/* @__PURE__ */ jsx10(SkeletonBlock, { className: "size-4 rounded-agg-sm" }),
|
|
694
|
+
/* @__PURE__ */ jsx10(SkeletonBlock, { className: "h-5 w-[60px] rounded-agg-sm" })
|
|
641
695
|
] })
|
|
642
696
|
] })
|
|
643
697
|
]
|
|
@@ -654,38 +708,42 @@ var skeletonViews = {
|
|
|
654
708
|
marketDetailsDetailed: "market-details-detailed",
|
|
655
709
|
eventList: "event-list",
|
|
656
710
|
settlement: "settlement",
|
|
657
|
-
placeOrder: "place-order"
|
|
711
|
+
placeOrder: "place-order",
|
|
712
|
+
search: "search"
|
|
658
713
|
};
|
|
659
714
|
|
|
660
715
|
// src/primitives/skeleton/index.tsx
|
|
661
|
-
import { jsx as
|
|
716
|
+
import { jsx as jsx11 } from "react/jsx-runtime";
|
|
662
717
|
var Skeleton = ({ view, className, ariaLabel }) => {
|
|
663
718
|
if (view === skeletonViews.eventListItem) {
|
|
664
|
-
return /* @__PURE__ */
|
|
719
|
+
return /* @__PURE__ */ jsx11(EventListItemSkeletonView, { className, ariaLabel, isStandalone: true });
|
|
665
720
|
}
|
|
666
721
|
if (view === skeletonViews.eventListItemDetails) {
|
|
667
|
-
return /* @__PURE__ */
|
|
722
|
+
return /* @__PURE__ */ jsx11(EventListItemDetailsSkeletonView, { className, ariaLabel });
|
|
668
723
|
}
|
|
669
724
|
if (view === skeletonViews.marketDetailsMinified) {
|
|
670
|
-
return /* @__PURE__ */
|
|
725
|
+
return /* @__PURE__ */ jsx11(MarketDetailsSkeletonView, { className, ariaLabel, isDetailed: false });
|
|
671
726
|
}
|
|
672
727
|
if (view === skeletonViews.marketDetailsDetailed) {
|
|
673
|
-
return /* @__PURE__ */
|
|
728
|
+
return /* @__PURE__ */ jsx11(MarketDetailsSkeletonView, { className, ariaLabel, isDetailed: true });
|
|
674
729
|
}
|
|
675
730
|
if (view === skeletonViews.settlement) {
|
|
676
|
-
return /* @__PURE__ */
|
|
731
|
+
return /* @__PURE__ */ jsx11(SettlementSkeletonView, { className, ariaLabel });
|
|
677
732
|
}
|
|
678
733
|
if (view === skeletonViews.placeOrder) {
|
|
679
|
-
return /* @__PURE__ */
|
|
734
|
+
return /* @__PURE__ */ jsx11(PlaceOrderSkeletonView, { className, ariaLabel });
|
|
735
|
+
}
|
|
736
|
+
if (view === skeletonViews.search) {
|
|
737
|
+
return /* @__PURE__ */ jsx11(SearchSkeletonView, { className, ariaLabel });
|
|
680
738
|
}
|
|
681
|
-
return /* @__PURE__ */
|
|
739
|
+
return /* @__PURE__ */ jsx11(EventListSkeletonView, { className, ariaLabel });
|
|
682
740
|
};
|
|
683
741
|
Skeleton.displayName = "Skeleton";
|
|
684
742
|
|
|
685
743
|
// src/primitives/switch-button/index.tsx
|
|
686
744
|
import { useEffect, useMemo, useState } from "react";
|
|
687
745
|
import { useSdkUiConfig as useSdkUiConfig4 } from "@agg-market/hooks";
|
|
688
|
-
import { jsx as
|
|
746
|
+
import { jsx as jsx12, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
689
747
|
var resolveActiveIndex = (options, value) => {
|
|
690
748
|
const activeIndex = options.findIndex((option) => option.value === value);
|
|
691
749
|
if (activeIndex >= 0)
|
|
@@ -712,7 +770,9 @@ var SwitchButton = ({
|
|
|
712
770
|
ariaLabel,
|
|
713
771
|
className
|
|
714
772
|
}) => {
|
|
715
|
-
const {
|
|
773
|
+
const {
|
|
774
|
+
features: { enableAnimations }
|
|
775
|
+
} = useSdkUiConfig4();
|
|
716
776
|
const activeIndex = useMemo(() => {
|
|
717
777
|
return resolveActiveIndex(options, value);
|
|
718
778
|
}, [options, value]);
|
|
@@ -754,7 +814,7 @@ var SwitchButton = ({
|
|
|
754
814
|
}
|
|
755
815
|
onValueChange(nextOption.value);
|
|
756
816
|
};
|
|
757
|
-
return /* @__PURE__ */
|
|
817
|
+
return /* @__PURE__ */ jsx12(
|
|
758
818
|
"div",
|
|
759
819
|
{
|
|
760
820
|
className: cn(
|
|
@@ -764,7 +824,7 @@ var SwitchButton = ({
|
|
|
764
824
|
"cursor-pointer hover:bg-agg-tertiary",
|
|
765
825
|
className
|
|
766
826
|
),
|
|
767
|
-
children: /* @__PURE__ */
|
|
827
|
+
children: /* @__PURE__ */ jsxs9(
|
|
768
828
|
"div",
|
|
769
829
|
{
|
|
770
830
|
className: "relative grid min-w-0 flex-1 items-center",
|
|
@@ -774,7 +834,7 @@ var SwitchButton = ({
|
|
|
774
834
|
role: "tablist",
|
|
775
835
|
"aria-label": ariaLabel,
|
|
776
836
|
children: [
|
|
777
|
-
/* @__PURE__ */
|
|
837
|
+
/* @__PURE__ */ jsx12(
|
|
778
838
|
"span",
|
|
779
839
|
{
|
|
780
840
|
className: cn(
|
|
@@ -794,7 +854,7 @@ var SwitchButton = ({
|
|
|
794
854
|
options.map((option, optionIndex) => {
|
|
795
855
|
var _a;
|
|
796
856
|
const isActive = optionIndex === activeIndex;
|
|
797
|
-
return /* @__PURE__ */
|
|
857
|
+
return /* @__PURE__ */ jsx12(
|
|
798
858
|
"button",
|
|
799
859
|
{
|
|
800
860
|
type: "button",
|
|
@@ -837,6 +897,172 @@ var SwitchButton = ({
|
|
|
837
897
|
};
|
|
838
898
|
SwitchButton.displayName = "SwitchButton";
|
|
839
899
|
|
|
900
|
+
// src/primitives/icon/types.ts
|
|
901
|
+
var getIconA11yProps = (title) => ({
|
|
902
|
+
role: title ? "img" : "presentation",
|
|
903
|
+
"aria-hidden": title ? void 0 : true
|
|
904
|
+
});
|
|
905
|
+
|
|
906
|
+
// src/primitives/agg-logo/index.tsx
|
|
907
|
+
import { jsx as jsx13, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
908
|
+
var AggLogo = (_a) => {
|
|
909
|
+
var _b = _a, { className, title } = _b, props = __objRest(_b, ["className", "title"]);
|
|
910
|
+
return /* @__PURE__ */ jsxs10(
|
|
911
|
+
"svg",
|
|
912
|
+
__spreadProps(__spreadValues(__spreadValues({
|
|
913
|
+
width: "157",
|
|
914
|
+
height: "24",
|
|
915
|
+
viewBox: "0 0 157 24",
|
|
916
|
+
fill: "none",
|
|
917
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
918
|
+
className
|
|
919
|
+
}, getIconA11yProps(title)), props), {
|
|
920
|
+
children: [
|
|
921
|
+
title ? /* @__PURE__ */ jsx13("title", { children: title }) : null,
|
|
922
|
+
/* @__PURE__ */ jsx13(
|
|
923
|
+
"path",
|
|
924
|
+
{
|
|
925
|
+
d: "M21.9232 8.60345L18.8342 20.7753C18.7622 21.0554 18.5141 21.2555 18.234 21.2555L6.33425 21.2715C6.07817 21.2715 5.93412 21.5755 6.08617 21.7836L7.50262 23.7442C7.62266 23.9043 7.80671 24.0003 7.99877 24.0003L14.1207 23.9923C17.9939 23.9843 21.371 21.2875 22.3553 17.4062L23.9798 10.9882C24.0279 10.7961 23.9878 10.5961 23.8758 10.4441L22.4594 8.49137C22.3073 8.28338 21.9872 8.34737 21.9232 8.60345Z",
|
|
926
|
+
fill: "url(#paint0_linear_1009_15078)"
|
|
927
|
+
}
|
|
928
|
+
),
|
|
929
|
+
/* @__PURE__ */ jsx13(
|
|
930
|
+
"path",
|
|
931
|
+
{
|
|
932
|
+
d: "M18.1777 2.57681L16.4972 0.256081C16.3772 0.0960303 16.1931 0 16.001 0L9.87911 0.00800249C6.00588 0.00800249 2.62081 2.71285 1.6445 6.58607L0.01998 13.0041C-0.0280352 13.1962 0.0119774 13.3962 0.124013 13.5482L1.54814 15.5104C1.69758 15.7163 2.01937 15.6544 2.08176 15.4078L5.16561 3.21701C5.23764 2.93692 5.48571 2.73686 5.7658 2.73686L17.6416 2.72085C17.8816 2.72085 18.0584 2.9389 18.0268 3.17715C18.0248 3.19219 18.022 3.20731 18.0183 3.22245L18.1777 2.57681Z",
|
|
933
|
+
fill: "url(#paint1_linear_1009_15078)"
|
|
934
|
+
}
|
|
935
|
+
),
|
|
936
|
+
/* @__PURE__ */ jsx13(
|
|
937
|
+
"path",
|
|
938
|
+
{
|
|
939
|
+
d: "M12.2078 18.5978C14.9047 18.5978 17.2574 16.7093 17.9457 14.0124L18.7269 10.9336C18.775 10.744 18.6317 10.5598 18.4361 10.5598H18.0157H16.3838C16.2465 10.5598 16.1266 10.6531 16.093 10.7862L14.9287 15.3888C14.8567 15.6689 14.6086 15.869 14.3285 15.869L7.72642 15.877C7.47034 15.877 7.28629 15.6289 7.35031 15.3728L9.06285 8.60272C9.13487 8.32265 9.38295 8.12257 9.66304 8.12257L16.2651 8.11457H18.0654H19.209C19.3461 8.11457 19.4658 8.02155 19.4997 7.88864L20.0823 5.60176C20.1304 5.4097 20.0903 5.20964 19.9783 5.05759L18.1777 2.57681L18.0183 3.22245L18.0183 3.22257L18.0177 3.22501L17.5615 5.02558C17.5055 5.23365 17.3215 5.38569 17.1134 5.38569H13.7923C9.92712 5.3937 6.54205 8.09057 5.55774 11.9718L4.18126 18.2416C4.14017 18.4287 4.28267 18.6059 4.47428 18.6059H6.54205L12.2078 18.5978Z",
|
|
940
|
+
fill: "url(#paint2_linear_1009_15078)"
|
|
941
|
+
}
|
|
942
|
+
),
|
|
943
|
+
/* @__PURE__ */ jsx13(
|
|
944
|
+
"path",
|
|
945
|
+
{
|
|
946
|
+
d: "M42.3237 17.3187C42.1644 17.3187 42.0308 17.1984 42.0143 17.04L41.6548 13.6091C41.65 13.5628 41.6556 13.5161 41.6712 13.4723L42.078 12.3299C42.1022 12.262 42.1021 12.1877 42.0776 12.1199L41.6717 10.9959C41.6557 10.9518 41.65 10.9046 41.6548 10.858L42.0144 7.40976C42.0309 7.25129 42.1645 7.13092 42.3238 7.13092H44.1096C44.2944 7.13092 44.4384 7.29105 44.4189 7.47482L43.9189 12.192C43.9166 12.2138 43.9166 12.2358 43.9189 12.2576L44.4189 16.9748C44.4384 17.1586 44.2944 17.3187 44.1096 17.3187H42.3237ZM42.7506 12.1617C42.7592 12.2033 42.7589 12.2463 42.7498 12.2877C42.5205 13.3296 42.1471 14.2446 41.6295 15.0328C41.1015 15.8368 40.4475 16.4607 39.6675 16.9047C38.8995 17.3487 38.0415 17.5707 37.0935 17.5707C36.0976 17.5707 35.2156 17.3487 34.4476 16.9047C33.6796 16.4487 33.0796 15.8188 32.6476 15.0148C32.2156 14.2108 31.9996 13.2808 31.9996 12.2248C31.9996 11.1568 32.2156 10.2269 32.6476 9.43488C33.0796 8.63089 33.6796 8.0069 34.4476 7.56291C35.2156 7.10692 36.0976 6.87892 37.0935 6.87892C38.0415 6.87892 38.8995 7.10092 39.6675 7.54491C40.4475 7.9889 41.1015 8.61289 41.6295 9.41688C42.1589 10.1934 42.5326 11.1083 42.7506 12.1617ZM34.3756 12.2248C34.3756 12.9088 34.5136 13.5148 34.7896 14.0428C35.0776 14.5588 35.4676 14.9668 35.9596 15.2668C36.4516 15.5548 37.0155 15.6988 37.6515 15.6988C38.2995 15.6988 38.8995 15.5548 39.4515 15.2668C40.0035 14.9668 40.4895 14.5588 40.9095 14.0428C41.3187 13.5426 41.6472 12.9723 41.895 12.3321C41.9216 12.2631 41.9217 12.1866 41.8949 12.1176C41.6472 11.4779 41.3187 10.9137 40.9095 10.4249C40.4895 9.89687 40.0035 9.48887 39.4515 9.20088C38.8995 8.90088 38.2995 8.75089 37.6515 8.75089C37.0155 8.75089 36.4516 8.90088 35.9596 9.20088C35.4676 9.48887 35.0776 9.89687 34.7896 10.4249C34.5136 10.9408 34.3756 11.5408 34.3756 12.2248Z",
|
|
947
|
+
fill: "currentColor"
|
|
948
|
+
}
|
|
949
|
+
),
|
|
950
|
+
/* @__PURE__ */ jsx13(
|
|
951
|
+
"path",
|
|
952
|
+
{
|
|
953
|
+
d: "M55.9592 14.8168V13.0592C55.9592 13.0311 55.963 13.0031 55.9705 12.976L56.0378 12.7337C56.0453 12.7066 56.0492 12.6785 56.0492 12.6504V10.7691C56.0492 10.7437 56.046 10.7184 56.0399 10.6937L55.9685 10.408C55.9623 10.3833 55.9592 10.358 55.9592 10.3326V7.44202C55.9592 7.2702 56.0984 7.13092 56.2703 7.13092H57.988C58.1598 7.13092 58.2991 7.2702 58.2991 7.44202V14.6008C58.2991 15.9088 58.0231 17.0007 57.4711 17.8767C56.9191 18.7647 56.1632 19.4307 55.2032 19.8747C54.2432 20.3187 53.1392 20.5407 51.8912 20.5407C50.9793 20.5407 50.1393 20.4207 49.3713 20.1807C48.6517 19.9558 47.9532 19.6203 47.2757 19.1742C47.1899 19.1177 47.1393 19.0212 47.1393 18.9185V17.7794C47.1393 17.5197 47.4416 17.3711 47.6578 17.5149C48.2269 17.8935 48.81 18.1701 49.4073 18.3447C50.1873 18.5847 50.9673 18.7047 51.7472 18.7047C53.1152 18.7047 54.1592 18.3687 54.8792 17.6967C55.5992 17.0247 55.9592 16.0648 55.9592 14.8168ZM51.0633 16.5267C50.1273 16.5267 49.2873 16.3287 48.5433 15.9328C47.7993 15.5248 47.2113 14.9608 46.7793 14.2408C46.3473 13.5208 46.1313 12.6748 46.1313 11.7028C46.1313 10.7309 46.3473 9.88487 46.7793 9.16488C47.2113 8.44489 47.7993 7.8869 48.5433 7.49091C49.2873 7.08292 50.1273 6.87892 51.0633 6.87892C51.7592 6.87892 52.4012 6.98692 52.9892 7.20292C53.5892 7.41891 54.1232 7.70691 54.5912 8.0669C55.0712 8.41489 55.4732 8.80489 55.7972 9.23688C56.1332 9.65687 56.3912 10.0889 56.5712 10.5329C56.7511 10.9648 56.8411 11.3608 56.8411 11.7208C56.8411 12.1888 56.7031 12.7048 56.4272 13.2688C56.1512 13.8208 55.7552 14.3428 55.2392 14.8348C54.7352 15.3268 54.1292 15.7348 53.4212 16.0588C52.7132 16.3707 51.9272 16.5267 51.0633 16.5267ZM51.7832 14.7988C52.6352 14.7988 53.4152 14.5528 54.1232 14.0608C54.8112 13.5906 55.428 12.852 55.9736 11.8449C56.0216 11.7562 56.0221 11.6492 55.9749 11.5601C55.429 10.5303 54.8118 9.78593 54.1232 9.32688C53.4152 8.83489 52.6352 8.58889 51.7832 8.58889C51.0873 8.58889 50.4933 8.72089 50.0013 8.98488C49.5093 9.24888 49.1313 9.61487 48.8673 10.0829C48.6153 10.5509 48.4893 11.0908 48.4893 11.7028C48.4893 12.3028 48.6153 12.8368 48.8673 13.3048C49.1313 13.7728 49.5093 14.1388 50.0013 14.4028C50.4933 14.6668 51.0873 14.7988 51.7832 14.7988Z",
|
|
954
|
+
fill: "currentColor"
|
|
955
|
+
}
|
|
956
|
+
),
|
|
957
|
+
/* @__PURE__ */ jsx13(
|
|
958
|
+
"path",
|
|
959
|
+
{
|
|
960
|
+
d: "M69.9862 14.8168V13.0592C69.9862 13.0311 69.9901 13.0031 69.9976 12.976L70.0649 12.7337C70.0724 12.7066 70.0762 12.6785 70.0762 12.6504V10.7691C70.0762 10.7437 70.0731 10.7184 70.067 10.6937L69.9955 10.408C69.9894 10.3833 69.9862 10.358 69.9862 10.3326V7.44202C69.9862 7.2702 70.1255 7.13092 70.2974 7.13092H72.0151C72.1869 7.13092 72.3262 7.2702 72.3262 7.44202V14.6008C72.3262 15.9088 72.0502 17.0007 71.4982 17.8767C70.9462 18.7647 70.1902 19.4307 69.2303 19.8747C68.2703 20.3187 67.1663 20.5407 65.9183 20.5407C65.0063 20.5407 64.1664 20.4207 63.3984 20.1807C62.6788 19.9558 61.9802 19.6203 61.3028 19.1742C61.217 19.1177 61.1664 19.0212 61.1664 18.9185V17.7794C61.1664 17.5197 61.4686 17.3711 61.6849 17.5149C62.254 17.8935 62.8371 18.1701 63.4344 18.3447C64.2144 18.5847 64.9943 18.7047 65.7743 18.7047C67.1423 18.7047 68.1863 18.3687 68.9063 17.6967C69.6263 17.0247 69.9862 16.0648 69.9862 14.8168ZM65.0903 16.5267C64.1544 16.5267 63.3144 16.3287 62.5704 15.9328C61.8264 15.5248 61.2384 14.9608 60.8064 14.2408C60.3744 13.5208 60.1584 12.6748 60.1584 11.7028C60.1584 10.7309 60.3744 9.88487 60.8064 9.16488C61.2384 8.44489 61.8264 7.8869 62.5704 7.49091C63.3144 7.08292 64.1544 6.87892 65.0903 6.87892C65.7863 6.87892 66.4283 6.98692 67.0163 7.20292C67.6163 7.41891 68.1503 7.70691 68.6183 8.0669C69.0983 8.41489 69.5003 8.80489 69.8242 9.23688C70.1602 9.65687 70.4182 10.0889 70.5982 10.5329C70.7782 10.9648 70.8682 11.3608 70.8682 11.7208C70.8682 12.1888 70.7302 12.7048 70.4542 13.2688C70.1782 13.8208 69.7823 14.3428 69.2663 14.8348C68.7623 15.3268 68.1563 15.7348 67.4483 16.0588C66.7403 16.3707 65.9543 16.5267 65.0903 16.5267ZM65.8103 14.7988C66.6623 14.7988 67.4423 14.5528 68.1503 14.0608C68.8383 13.5906 69.4551 12.852 70.0007 11.8449C70.0487 11.7562 70.0492 11.6492 70.002 11.5601C69.4561 10.5303 68.8389 9.78593 68.1503 9.32688C67.4423 8.83489 66.6623 8.58889 65.8103 8.58889C65.1143 8.58889 64.5203 8.72089 64.0284 8.98488C63.5364 9.24888 63.1584 9.61487 62.8944 10.0829C62.6424 10.5509 62.5164 11.0908 62.5164 11.7028C62.5164 12.3028 62.6424 12.8368 62.8944 13.3048C63.1584 13.7728 63.5364 14.1388 64.0284 14.4028C64.5203 14.6668 65.1143 14.7988 65.8103 14.7988Z",
|
|
961
|
+
fill: "currentColor"
|
|
962
|
+
}
|
|
963
|
+
),
|
|
964
|
+
/* @__PURE__ */ jsx13(
|
|
965
|
+
"path",
|
|
966
|
+
{
|
|
967
|
+
d: "M75.8415 17.4627C75.5655 17.4627 75.3135 17.3967 75.0855 17.2647C74.8695 17.1327 74.6955 16.9587 74.5635 16.7427C74.4315 16.5147 74.3655 16.2627 74.3655 15.9868C74.3655 15.7108 74.4315 15.4648 74.5635 15.2488C74.6955 15.0208 74.8695 14.8408 75.0855 14.7088C75.3135 14.5768 75.5655 14.5108 75.8415 14.5108C76.1175 14.5108 76.3635 14.5768 76.5795 14.7088C76.8075 14.8408 76.9875 15.0208 77.1195 15.2488C77.2515 15.4648 77.3175 15.7108 77.3175 15.9868C77.3175 16.2627 77.2515 16.5147 77.1195 16.7427C76.9875 16.9587 76.8075 17.1327 76.5795 17.2647C76.3635 17.3967 76.1175 17.4627 75.8415 17.4627Z",
|
|
968
|
+
fill: "currentColor"
|
|
969
|
+
}
|
|
970
|
+
),
|
|
971
|
+
/* @__PURE__ */ jsx13(
|
|
972
|
+
"path",
|
|
973
|
+
{
|
|
974
|
+
d: "M78.9836 7.49826C78.9484 7.30712 79.0952 7.13092 79.2895 7.13092H80.9925C81.1445 7.13092 81.2743 7.24087 81.2993 7.39088L81.8638 10.7775C81.8666 10.7944 81.868 10.8115 81.868 10.8286V17.0076C81.868 17.1794 81.7287 17.3187 81.5569 17.3187H79.8391C79.6673 17.3187 79.528 17.1794 79.528 17.0076V10.4892C79.528 10.4703 79.5263 10.4515 79.5229 10.433L78.9836 7.49826ZM85.6299 6.87892C86.5299 6.87892 87.2919 7.07092 87.9159 7.45491C88.5519 7.8389 89.0319 8.39089 89.3559 9.11088C89.6919 9.81887 89.8599 10.6769 89.8599 11.6848V17.0076C89.8599 17.1794 89.7206 17.3187 89.5487 17.3187H87.831C87.6592 17.3187 87.5199 17.1794 87.5199 17.0076V12.0628C87.5199 10.9948 87.2919 10.1909 86.8359 9.65087C86.3919 9.09888 85.7379 8.82289 84.8739 8.82289C84.262 8.82289 83.728 8.97288 83.272 9.27288C82.828 9.56087 82.48 9.96886 82.228 10.4969C82.049 10.8906 81.9368 11.3344 81.8913 11.8283C81.8696 12.0633 81.6156 12.2137 81.4083 12.101L81.222 11.9997C81.1118 11.9398 81.0479 11.8195 81.0632 11.6949C81.1825 10.7274 81.4328 9.89604 81.814 9.20088C82.234 8.45689 82.768 7.8869 83.416 7.49091C84.076 7.08292 84.8139 6.87892 85.6299 6.87892ZM93.6038 6.87892C94.5038 6.87892 95.2718 7.07092 95.9077 7.45491C96.5437 7.8389 97.0237 8.39089 97.3477 9.11088C97.6837 9.81887 97.8517 10.6769 97.8517 11.6848V17.0076C97.8517 17.1794 97.7124 17.3187 97.5406 17.3187H95.8229C95.651 17.3187 95.5117 17.1794 95.5117 17.0076V12.0628C95.5117 10.9948 95.2837 10.1909 94.8278 9.65087C94.3838 9.09888 93.7298 8.82289 92.8658 8.82289C92.2538 8.82289 91.7198 8.97288 91.2638 9.27288C90.8198 9.56087 90.4718 9.96886 90.2198 10.4969C90.0409 10.8906 89.9286 11.3344 89.8831 11.8283C89.8615 12.0633 89.6075 12.2137 89.4002 12.101L89.2139 11.9997C89.1036 11.9398 89.0397 11.8195 89.0551 11.6949C89.1744 10.7274 89.4246 9.89604 89.8059 9.20088C90.2258 8.45689 90.7598 7.8869 91.4078 7.49091C92.0678 7.08292 92.7998 6.87892 93.6038 6.87892Z",
|
|
975
|
+
fill: "currentColor"
|
|
976
|
+
}
|
|
977
|
+
),
|
|
978
|
+
/* @__PURE__ */ jsx13(
|
|
979
|
+
"path",
|
|
980
|
+
{
|
|
981
|
+
d: "M109.981 17.3187C109.821 17.3187 109.688 17.1984 109.671 17.04L109.312 13.6091C109.307 13.5628 109.313 13.5161 109.328 13.4723L109.735 12.3299C109.759 12.262 109.759 12.1877 109.735 12.1199L109.329 10.9959C109.313 10.9518 109.307 10.9046 109.312 10.858L109.671 7.40976C109.688 7.25129 109.821 7.13092 109.981 7.13092H111.767C111.951 7.13092 112.095 7.29105 112.076 7.47482L111.576 12.192C111.574 12.2138 111.574 12.2358 111.576 12.2576L112.076 16.9748C112.095 17.1586 111.951 17.3187 111.767 17.3187H109.981ZM110.408 12.1617C110.416 12.2033 110.416 12.2463 110.407 12.2877C110.177 13.3296 109.804 14.2446 109.286 15.0328C108.758 15.8368 108.104 16.4607 107.324 16.9047C106.556 17.3487 105.698 17.5707 104.751 17.5707C103.755 17.5707 102.873 17.3487 102.105 16.9047C101.337 16.4487 100.737 15.8188 100.305 15.0148C99.8726 14.2108 99.6566 13.2808 99.6566 12.2248C99.6566 11.1568 99.8726 10.2269 100.305 9.43488C100.737 8.63089 101.337 8.0069 102.105 7.56291C102.873 7.10692 103.755 6.87892 104.751 6.87892C105.698 6.87892 106.556 7.10092 107.324 7.54491C108.104 7.9889 108.758 8.61289 109.286 9.41688C109.816 10.1934 110.19 11.1083 110.408 12.1617ZM102.033 12.2248C102.033 12.9088 102.171 13.5148 102.447 14.0428C102.735 14.5588 103.125 14.9668 103.617 15.2668C104.109 15.5548 104.673 15.6988 105.308 15.6988C105.956 15.6988 106.556 15.5548 107.108 15.2668C107.66 14.9668 108.146 14.5588 108.566 14.0428C108.976 13.5426 109.304 12.9723 109.552 12.3321C109.579 12.2631 109.579 12.1866 109.552 12.1176C109.304 11.4779 108.976 10.9137 108.566 10.4249C108.146 9.89687 107.66 9.48887 107.108 9.20088C106.556 8.90088 105.956 8.75089 105.308 8.75089C104.673 8.75089 104.109 8.90088 103.617 9.20088C103.125 9.48887 102.735 9.89687 102.447 10.4249C102.171 10.9408 102.033 11.5408 102.033 12.2248Z",
|
|
982
|
+
fill: "currentColor"
|
|
983
|
+
}
|
|
984
|
+
),
|
|
985
|
+
/* @__PURE__ */ jsx13(
|
|
986
|
+
"path",
|
|
987
|
+
{
|
|
988
|
+
d: "M113.948 7.49946C113.912 7.30797 114.058 7.13092 114.253 7.13092H115.954C116.107 7.13092 116.236 7.24113 116.261 7.39136L116.826 10.8137C116.829 10.8304 116.83 10.8474 116.83 10.8643V17.0076C116.83 17.1794 116.691 17.3187 116.519 17.3187H114.801C114.63 17.3187 114.49 17.1794 114.49 17.0076V10.4178C114.49 10.3986 114.489 10.3793 114.485 10.3604L113.948 7.49946ZM121.775 7.00066C121.908 7.02983 121.996 7.15157 121.996 7.28764V8.70357C121.996 8.9087 121.801 9.05804 121.599 9.01962C121.45 8.99118 121.294 8.9676 121.132 8.94888C120.82 8.91288 120.526 8.89489 120.25 8.89489C119.59 8.89489 119.002 9.03888 118.486 9.32688C117.97 9.61487 117.562 10.0469 117.262 10.6229C117.066 11.0072 116.937 11.4529 116.874 11.9598C116.843 12.2092 116.514 12.3214 116.356 12.1261C116.314 12.0739 116.293 12.0075 116.298 11.9404C116.35 11.2597 116.468 10.6226 116.65 10.0289C116.854 9.39288 117.13 8.84089 117.478 8.37289C117.838 7.9049 118.276 7.53891 118.792 7.27491C119.308 7.01092 119.908 6.87892 120.592 6.87892C120.832 6.87892 121.078 6.89692 121.33 6.93292C121.491 6.9482 121.639 6.97078 121.775 7.00066Z",
|
|
989
|
+
fill: "currentColor"
|
|
990
|
+
}
|
|
991
|
+
),
|
|
992
|
+
/* @__PURE__ */ jsx13(
|
|
993
|
+
"path",
|
|
994
|
+
{
|
|
995
|
+
d: "M125.81 14.9166C125.81 15.0952 125.632 15.2192 125.464 15.1575C125.298 15.0965 125.242 14.8903 125.354 14.7538L131.512 7.24475C131.571 7.17269 131.659 7.13092 131.753 7.13092H133.633C133.898 7.13092 134.042 7.44142 133.87 7.64349L125.741 17.2091C125.682 17.2786 125.595 17.3187 125.504 17.3187H123.781C123.609 17.3187 123.47 17.1794 123.47 17.0076V3.77009C123.47 3.59827 123.609 3.45898 123.781 3.45898H125.498C125.67 3.45898 125.81 3.59827 125.81 3.77009V14.9166ZM128.846 12.5001C128.766 12.3721 128.789 12.2052 128.901 12.1041L130.076 11.0459C130.218 10.9181 130.44 10.9469 130.544 11.1066L134.296 16.8372C134.432 17.0441 134.283 17.3187 134.036 17.3187H132.03C131.923 17.3187 131.823 17.2635 131.766 17.1725L128.846 12.5001Z",
|
|
996
|
+
fill: "currentColor"
|
|
997
|
+
}
|
|
998
|
+
),
|
|
999
|
+
/* @__PURE__ */ jsx13(
|
|
1000
|
+
"path",
|
|
1001
|
+
{
|
|
1002
|
+
d: "M140.844 17.5707C139.656 17.5707 138.6 17.3487 137.676 16.9047C136.752 16.4487 136.026 15.8188 135.498 15.0148C134.97 14.2108 134.706 13.2748 134.706 12.2068C134.706 11.1508 134.952 10.2269 135.444 9.43488C135.948 8.63089 136.638 8.0069 137.514 7.56291C138.402 7.10692 139.416 6.87892 140.556 6.87892C141.696 6.87892 142.68 7.13692 143.508 7.65291C144.348 8.1569 144.996 8.87089 145.452 9.79487C145.869 10.6412 146.096 11.6235 146.131 12.7417C146.136 12.9134 145.996 13.0528 145.825 13.0528H136.853C136.681 13.0528 136.542 12.9135 136.542 12.7417V11.5819C136.542 11.4101 136.681 11.2708 136.853 11.2708H144.023C144.279 11.2708 144.369 11.6104 144.147 11.7371C143.985 11.8288 143.783 11.7186 143.758 11.5349C143.688 11.0323 143.539 10.5903 143.31 10.2089C143.034 9.72887 142.656 9.36288 142.176 9.11088C141.708 8.84689 141.15 8.71489 140.502 8.71489C139.818 8.71489 139.218 8.85289 138.702 9.12888C138.198 9.40488 137.802 9.79487 137.514 10.2989C137.226 10.7909 137.082 11.3788 137.082 12.0628C137.082 12.8188 137.25 13.4728 137.586 14.0248C137.934 14.5768 138.42 15.0028 139.044 15.3028C139.68 15.5908 140.43 15.7348 141.294 15.7348C142.074 15.7348 142.872 15.6148 143.688 15.3748C144.291 15.1883 144.843 14.9494 145.341 14.6579C145.559 14.5303 145.848 14.6812 145.848 14.934V15.8696C145.848 15.9662 145.803 16.0577 145.725 16.1145C145.125 16.5512 144.404 16.8986 143.562 17.1567C142.674 17.4327 141.768 17.5707 140.844 17.5707Z",
|
|
1003
|
+
fill: "currentColor"
|
|
1004
|
+
}
|
|
1005
|
+
),
|
|
1006
|
+
/* @__PURE__ */ jsx13(
|
|
1007
|
+
"path",
|
|
1008
|
+
{
|
|
1009
|
+
d: "M147.009 8.93088C146.837 8.93088 146.698 8.7916 146.698 8.61978V8.11035C146.698 7.96827 146.794 7.84424 146.932 7.80898L148.713 7.35263C148.815 7.3266 148.896 7.25112 148.93 7.15187L149.776 4.67746C149.819 4.55156 149.937 4.46697 150.07 4.46697H150.905C151.077 4.46697 151.216 4.60625 151.216 4.77807V6.81981C151.216 6.99163 151.355 7.13092 151.527 7.13092H155.639C155.811 7.13092 155.95 7.2702 155.95 7.44202V8.61978C155.95 8.7916 155.811 8.93088 155.639 8.93088H151.527C151.355 8.93088 151.216 9.07017 151.216 9.24199V13.3408C151.216 14.1928 151.396 14.7928 151.756 15.1408C152.128 15.4768 152.728 15.6448 153.556 15.6448C154.084 15.6448 154.552 15.5908 154.96 15.4828C155.196 15.4134 155.426 15.3279 155.65 15.2264C155.868 15.1273 156.13 15.2793 156.13 15.5192V16.7125C156.13 16.8303 156.064 16.9389 155.955 16.9854C155.66 17.1126 155.274 17.2357 154.798 17.3547C154.234 17.4987 153.652 17.5707 153.052 17.5707C152.056 17.5707 151.252 17.4087 150.64 17.0847C150.028 16.7487 149.578 16.2927 149.29 15.7168C149.014 15.1288 148.876 14.4568 148.876 13.7008V9.24199C148.876 9.07017 148.737 8.93088 148.565 8.93088H147.009Z",
|
|
1010
|
+
fill: "currentColor"
|
|
1011
|
+
}
|
|
1012
|
+
),
|
|
1013
|
+
/* @__PURE__ */ jsxs10("defs", { children: [
|
|
1014
|
+
/* @__PURE__ */ jsxs10(
|
|
1015
|
+
"linearGradient",
|
|
1016
|
+
{
|
|
1017
|
+
id: "paint0_linear_1009_15078",
|
|
1018
|
+
x1: "15.0119",
|
|
1019
|
+
y1: "8.36719",
|
|
1020
|
+
x2: "15.0119",
|
|
1021
|
+
y2: "24.0003",
|
|
1022
|
+
gradientUnits: "userSpaceOnUse",
|
|
1023
|
+
children: [
|
|
1024
|
+
/* @__PURE__ */ jsx13("stop", { stopColor: "#FDA349" }),
|
|
1025
|
+
/* @__PURE__ */ jsx13("stop", { offset: "1", stopColor: "#FEB549" })
|
|
1026
|
+
]
|
|
1027
|
+
}
|
|
1028
|
+
),
|
|
1029
|
+
/* @__PURE__ */ jsxs10(
|
|
1030
|
+
"linearGradient",
|
|
1031
|
+
{
|
|
1032
|
+
id: "paint1_linear_1009_15078",
|
|
1033
|
+
x1: "10.0512",
|
|
1034
|
+
y1: "0",
|
|
1035
|
+
x2: "10.0512",
|
|
1036
|
+
y2: "18.6059",
|
|
1037
|
+
gradientUnits: "userSpaceOnUse",
|
|
1038
|
+
children: [
|
|
1039
|
+
/* @__PURE__ */ jsx13("stop", { stopColor: "#FE763C" }),
|
|
1040
|
+
/* @__PURE__ */ jsx13("stop", { offset: "1", stopColor: "#FE9943" })
|
|
1041
|
+
]
|
|
1042
|
+
}
|
|
1043
|
+
),
|
|
1044
|
+
/* @__PURE__ */ jsxs10(
|
|
1045
|
+
"linearGradient",
|
|
1046
|
+
{
|
|
1047
|
+
id: "paint2_linear_1009_15078",
|
|
1048
|
+
x1: "10.0512",
|
|
1049
|
+
y1: "0",
|
|
1050
|
+
x2: "10.0512",
|
|
1051
|
+
y2: "18.6059",
|
|
1052
|
+
gradientUnits: "userSpaceOnUse",
|
|
1053
|
+
children: [
|
|
1054
|
+
/* @__PURE__ */ jsx13("stop", { stopColor: "#FE763C" }),
|
|
1055
|
+
/* @__PURE__ */ jsx13("stop", { offset: "1", stopColor: "#FE9943" })
|
|
1056
|
+
]
|
|
1057
|
+
}
|
|
1058
|
+
)
|
|
1059
|
+
] })
|
|
1060
|
+
]
|
|
1061
|
+
})
|
|
1062
|
+
);
|
|
1063
|
+
};
|
|
1064
|
+
AggLogo.displayName = "AggLogo";
|
|
1065
|
+
|
|
840
1066
|
// src/primitives/hello-world.tsx
|
|
841
1067
|
import { useHello } from "@agg-market/hooks";
|
|
842
1068
|
|
|
@@ -877,14 +1103,14 @@ var typographyVariantClasses = {
|
|
|
877
1103
|
};
|
|
878
1104
|
|
|
879
1105
|
// src/primitives/typography/index.tsx
|
|
880
|
-
import { jsx as
|
|
1106
|
+
import { jsx as jsx14 } from "react/jsx-runtime";
|
|
881
1107
|
var Typography = ({
|
|
882
1108
|
as: Component = "p",
|
|
883
1109
|
variant = "body",
|
|
884
1110
|
className,
|
|
885
1111
|
children
|
|
886
1112
|
}) => {
|
|
887
|
-
return /* @__PURE__ */
|
|
1113
|
+
return /* @__PURE__ */ jsx14(
|
|
888
1114
|
Component,
|
|
889
1115
|
{
|
|
890
1116
|
className: cn(
|
|
@@ -900,28 +1126,28 @@ var Typography = ({
|
|
|
900
1126
|
Typography.displayName = "Typography";
|
|
901
1127
|
|
|
902
1128
|
// src/primitives/hello-world.tsx
|
|
903
|
-
import { jsx as
|
|
1129
|
+
import { jsx as jsx15, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
904
1130
|
function HelloWorld() {
|
|
905
1131
|
const { data, error, isLoading } = useHello();
|
|
906
1132
|
if (isLoading) {
|
|
907
|
-
return /* @__PURE__ */
|
|
1133
|
+
return /* @__PURE__ */ jsx15(Typography, { variant: "body", children: "Loading..." });
|
|
908
1134
|
}
|
|
909
1135
|
if (error) {
|
|
910
|
-
return /* @__PURE__ */
|
|
1136
|
+
return /* @__PURE__ */ jsxs11(Typography, { variant: "body", children: [
|
|
911
1137
|
"Error: ",
|
|
912
1138
|
error.message
|
|
913
1139
|
] });
|
|
914
1140
|
}
|
|
915
|
-
return /* @__PURE__ */
|
|
1141
|
+
return /* @__PURE__ */ jsx15(Typography, { variant: "body", children: data == null ? void 0 : data.message });
|
|
916
1142
|
}
|
|
917
1143
|
HelloWorld.displayName = "HelloWorld";
|
|
918
1144
|
|
|
919
1145
|
// src/primitives/chart/index.tsx
|
|
920
1146
|
import dayjs from "dayjs";
|
|
921
|
-
import { useLabels as
|
|
1147
|
+
import { useLabels as useLabels7, useSdkUiConfig as useSdkUiConfig5 } from "@agg-market/hooks";
|
|
922
1148
|
import { useEffect as useEffect2, useMemo as useMemo2, useState as useState2 } from "react";
|
|
923
1149
|
import { Liveline } from "liveline";
|
|
924
|
-
import { jsx as
|
|
1150
|
+
import { jsx as jsx16, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
925
1151
|
var normalizeSeries = (series) => {
|
|
926
1152
|
return series.map((seriesItem) => {
|
|
927
1153
|
const pointsByTime = /* @__PURE__ */ new Map();
|
|
@@ -1046,7 +1272,7 @@ var renderDefaultSeriesControls = ({
|
|
|
1046
1272
|
seriesSwitchAriaLabel,
|
|
1047
1273
|
formatSeriesOptionAriaLabel
|
|
1048
1274
|
}) => {
|
|
1049
|
-
return /* @__PURE__ */
|
|
1275
|
+
return /* @__PURE__ */ jsx16(
|
|
1050
1276
|
SwitchButton,
|
|
1051
1277
|
{
|
|
1052
1278
|
ariaLabel: seriesSwitchAriaLabel,
|
|
@@ -1083,8 +1309,11 @@ var LineChart = ({
|
|
|
1083
1309
|
live
|
|
1084
1310
|
}) => {
|
|
1085
1311
|
var _a, _b;
|
|
1086
|
-
const labels =
|
|
1087
|
-
const {
|
|
1312
|
+
const labels = useLabels7();
|
|
1313
|
+
const {
|
|
1314
|
+
general: { theme },
|
|
1315
|
+
features: { enableGradients, enableLiveUpdates }
|
|
1316
|
+
} = useSdkUiConfig5();
|
|
1088
1317
|
const isLive = enableLiveUpdates && (live != null ? live : true);
|
|
1089
1318
|
const normalizedSeries = useMemo2(() => {
|
|
1090
1319
|
return normalizeSeries(series);
|
|
@@ -1166,9 +1395,9 @@ var LineChart = ({
|
|
|
1166
1395
|
seriesSwitchAriaLabel: labels.common.lineChartSeriesSwitchAria,
|
|
1167
1396
|
formatSeriesOptionAriaLabel: labels.common.lineChartSeriesOptionAria
|
|
1168
1397
|
}) : null : null;
|
|
1169
|
-
return /* @__PURE__ */
|
|
1170
|
-
!isLoading && seriesControls ? /* @__PURE__ */
|
|
1171
|
-
/* @__PURE__ */
|
|
1398
|
+
return /* @__PURE__ */ jsxs12("div", { className: cn("group/agg-chart", "w-full", classNames == null ? void 0 : classNames.root), style: { width }, children: [
|
|
1399
|
+
!isLoading && seriesControls ? /* @__PURE__ */ jsx16("div", { className: cn("mb-3", classNames == null ? void 0 : classNames.controls), children: seriesControls }) : null,
|
|
1400
|
+
/* @__PURE__ */ jsx16(
|
|
1172
1401
|
"div",
|
|
1173
1402
|
{
|
|
1174
1403
|
className: cn(
|
|
@@ -1178,7 +1407,7 @@ var LineChart = ({
|
|
|
1178
1407
|
style: { height },
|
|
1179
1408
|
role: "img",
|
|
1180
1409
|
"aria-label": chartType === "candlestick" ? labels.common.candlestickChartAria : labels.common.lineChartAria,
|
|
1181
|
-
children: /* @__PURE__ */
|
|
1410
|
+
children: /* @__PURE__ */ jsx16(
|
|
1182
1411
|
Liveline,
|
|
1183
1412
|
{
|
|
1184
1413
|
className: cn("h-full w-full agg-livechart", classNames == null ? void 0 : classNames.liveline),
|
|
@@ -1202,7 +1431,7 @@ var LineChart = ({
|
|
|
1202
1431
|
formatTime: timeFormatter,
|
|
1203
1432
|
padding: {
|
|
1204
1433
|
top: 12,
|
|
1205
|
-
right:
|
|
1434
|
+
right: 28,
|
|
1206
1435
|
bottom: 28,
|
|
1207
1436
|
left: 12
|
|
1208
1437
|
},
|
|
@@ -1217,16 +1446,18 @@ var LineChart = ({
|
|
|
1217
1446
|
LineChart.displayName = "LineChart";
|
|
1218
1447
|
|
|
1219
1448
|
// src/primitives/loading-icon/index.tsx
|
|
1220
|
-
import { useLabels as
|
|
1221
|
-
import { Fragment as Fragment3, jsx as
|
|
1449
|
+
import { useLabels as useLabels8, useSdkUiConfig as useSdkUiConfig6 } from "@agg-market/hooks";
|
|
1450
|
+
import { Fragment as Fragment3, jsx as jsx17, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
1222
1451
|
var LoadingIcon = ({
|
|
1223
1452
|
size = "medium",
|
|
1224
1453
|
className,
|
|
1225
1454
|
ariaLabel
|
|
1226
1455
|
}) => {
|
|
1227
|
-
const labels =
|
|
1228
|
-
const {
|
|
1229
|
-
|
|
1456
|
+
const labels = useLabels8();
|
|
1457
|
+
const {
|
|
1458
|
+
features: { enableAnimations }
|
|
1459
|
+
} = useSdkUiConfig6();
|
|
1460
|
+
return /* @__PURE__ */ jsx17(
|
|
1230
1461
|
"span",
|
|
1231
1462
|
{
|
|
1232
1463
|
role: "status",
|
|
@@ -1236,8 +1467,8 @@ var LoadingIcon = ({
|
|
|
1236
1467
|
"inline-grid place-items-center text-agg-primary will-change-transform",
|
|
1237
1468
|
className
|
|
1238
1469
|
),
|
|
1239
|
-
children: /* @__PURE__ */
|
|
1240
|
-
enableAnimations ? /* @__PURE__ */
|
|
1470
|
+
children: /* @__PURE__ */ jsx17("span", { className: "inline-grid place-items-center", "aria-hidden": "true", children: /* @__PURE__ */ jsx17("svg", { viewBox: "0 0 44 44", className: cn("block", iconSizeClasses[size]), children: /* @__PURE__ */ jsxs13("g", { children: [
|
|
1471
|
+
enableAnimations ? /* @__PURE__ */ jsx17(
|
|
1241
1472
|
"animateTransform",
|
|
1242
1473
|
{
|
|
1243
1474
|
attributeName: "transform",
|
|
@@ -1249,7 +1480,7 @@ var LoadingIcon = ({
|
|
|
1249
1480
|
repeatCount: "indefinite"
|
|
1250
1481
|
}
|
|
1251
1482
|
) : null,
|
|
1252
|
-
/* @__PURE__ */
|
|
1483
|
+
/* @__PURE__ */ jsx17(
|
|
1253
1484
|
"circle",
|
|
1254
1485
|
{
|
|
1255
1486
|
cx: "22",
|
|
@@ -1261,8 +1492,8 @@ var LoadingIcon = ({
|
|
|
1261
1492
|
strokeLinecap: "round",
|
|
1262
1493
|
strokeDasharray: "60 100",
|
|
1263
1494
|
strokeDashoffset: "0",
|
|
1264
|
-
children: enableAnimations ? /* @__PURE__ */
|
|
1265
|
-
/* @__PURE__ */
|
|
1495
|
+
children: enableAnimations ? /* @__PURE__ */ jsxs13(Fragment3, { children: [
|
|
1496
|
+
/* @__PURE__ */ jsx17(
|
|
1266
1497
|
"animate",
|
|
1267
1498
|
{
|
|
1268
1499
|
attributeName: "stroke-dasharray",
|
|
@@ -1271,7 +1502,7 @@ var LoadingIcon = ({
|
|
|
1271
1502
|
repeatCount: "indefinite"
|
|
1272
1503
|
}
|
|
1273
1504
|
),
|
|
1274
|
-
/* @__PURE__ */
|
|
1505
|
+
/* @__PURE__ */ jsx17(
|
|
1275
1506
|
"animate",
|
|
1276
1507
|
{
|
|
1277
1508
|
attributeName: "stroke-dashoffset",
|
|
@@ -1289,17 +1520,11 @@ var LoadingIcon = ({
|
|
|
1289
1520
|
};
|
|
1290
1521
|
LoadingIcon.displayName = "LoadingIcon";
|
|
1291
1522
|
|
|
1292
|
-
// src/primitives/icon/types.ts
|
|
1293
|
-
var getIconA11yProps = (title) => ({
|
|
1294
|
-
role: title ? "img" : "presentation",
|
|
1295
|
-
"aria-hidden": title ? void 0 : true
|
|
1296
|
-
});
|
|
1297
|
-
|
|
1298
1523
|
// src/primitives/icon/svg/apple.tsx
|
|
1299
|
-
import { jsx as
|
|
1524
|
+
import { jsx as jsx18, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
1300
1525
|
var AppleIcon = (_a) => {
|
|
1301
1526
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1302
|
-
return /* @__PURE__ */
|
|
1527
|
+
return /* @__PURE__ */ jsxs14(
|
|
1303
1528
|
"svg",
|
|
1304
1529
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1305
1530
|
viewBox: "0 0 24 24",
|
|
@@ -1307,8 +1532,8 @@ var AppleIcon = (_a) => {
|
|
|
1307
1532
|
fill: "none"
|
|
1308
1533
|
}, getIconA11yProps(title)), props), {
|
|
1309
1534
|
children: [
|
|
1310
|
-
title ? /* @__PURE__ */
|
|
1311
|
-
/* @__PURE__ */
|
|
1535
|
+
title ? /* @__PURE__ */ jsx18("title", { children: title }) : null,
|
|
1536
|
+
/* @__PURE__ */ jsx18(
|
|
1312
1537
|
"path",
|
|
1313
1538
|
{
|
|
1314
1539
|
d: "M18.71 19.5C17.88 20.74 17 21.95 15.66 21.97C14.32 22 13.89 21.18 12.37 21.18C10.84 21.18 10.37 21.95 9.09997 22C7.78997 22.05 6.79997 20.68 5.95997 19.47C4.24997 17 2.93997 12.45 4.69997 9.39C5.56997 7.87 7.12997 6.91 8.81997 6.88C10.1 6.86 11.32 7.75 12.11 7.75C12.89 7.75 14.37 6.68 15.92 6.84C16.57 6.87 18.39 7.1 19.56 8.82C19.47 8.88 17.39 10.1 17.41 12.63C17.44 15.65 20.06 16.66 20.09 16.67C20.06 16.74 19.67 18.11 18.71 19.5ZM13 3.5C13.73 2.67 14.94 2.04 15.94 2C16.07 3.17 15.6 4.35 14.9 5.19C14.21 6.04 13.07 6.7 11.95 6.61C11.8 5.46 12.36 4.26 13 3.5Z",
|
|
@@ -1322,10 +1547,10 @@ var AppleIcon = (_a) => {
|
|
|
1322
1547
|
AppleIcon.displayName = "AppleIcon";
|
|
1323
1548
|
|
|
1324
1549
|
// src/primitives/icon/svg/arrow-trend-up.tsx
|
|
1325
|
-
import { jsx as
|
|
1550
|
+
import { jsx as jsx19, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
1326
1551
|
var ArrowTrendUpIcon = (_a) => {
|
|
1327
1552
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1328
|
-
return /* @__PURE__ */
|
|
1553
|
+
return /* @__PURE__ */ jsxs15(
|
|
1329
1554
|
"svg",
|
|
1330
1555
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1331
1556
|
viewBox: "0 0 16 16",
|
|
@@ -1333,8 +1558,8 @@ var ArrowTrendUpIcon = (_a) => {
|
|
|
1333
1558
|
fill: "none"
|
|
1334
1559
|
}, getIconA11yProps(title)), props), {
|
|
1335
1560
|
children: [
|
|
1336
|
-
title ? /* @__PURE__ */
|
|
1337
|
-
/* @__PURE__ */
|
|
1561
|
+
title ? /* @__PURE__ */ jsx19("title", { children: title }) : null,
|
|
1562
|
+
/* @__PURE__ */ jsx19(
|
|
1338
1563
|
"path",
|
|
1339
1564
|
{
|
|
1340
1565
|
d: "M2 11.5L6.5 7L9.5 10L14 5.5",
|
|
@@ -1344,7 +1569,7 @@ var ArrowTrendUpIcon = (_a) => {
|
|
|
1344
1569
|
strokeLinejoin: "round"
|
|
1345
1570
|
}
|
|
1346
1571
|
),
|
|
1347
|
-
/* @__PURE__ */
|
|
1572
|
+
/* @__PURE__ */ jsx19(
|
|
1348
1573
|
"path",
|
|
1349
1574
|
{
|
|
1350
1575
|
d: "M10.5 5.5H14V9",
|
|
@@ -1361,10 +1586,10 @@ var ArrowTrendUpIcon = (_a) => {
|
|
|
1361
1586
|
ArrowTrendUpIcon.displayName = "ArrowTrendUpIcon";
|
|
1362
1587
|
|
|
1363
1588
|
// src/primitives/icon/svg/arrows-to-dot.tsx
|
|
1364
|
-
import { jsx as
|
|
1589
|
+
import { jsx as jsx20, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
1365
1590
|
var ArrowsToDotIcon = (_a) => {
|
|
1366
1591
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1367
|
-
return /* @__PURE__ */
|
|
1592
|
+
return /* @__PURE__ */ jsxs16(
|
|
1368
1593
|
"svg",
|
|
1369
1594
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1370
1595
|
viewBox: "0 0 16 16",
|
|
@@ -1372,8 +1597,8 @@ var ArrowsToDotIcon = (_a) => {
|
|
|
1372
1597
|
fill: "none"
|
|
1373
1598
|
}, getIconA11yProps(title)), props), {
|
|
1374
1599
|
children: [
|
|
1375
|
-
title ? /* @__PURE__ */
|
|
1376
|
-
/* @__PURE__ */
|
|
1600
|
+
title ? /* @__PURE__ */ jsx20("title", { children: title }) : null,
|
|
1601
|
+
/* @__PURE__ */ jsx20(
|
|
1377
1602
|
"path",
|
|
1378
1603
|
{
|
|
1379
1604
|
d: "M8 6.66667C8.73667 6.66667 9.33333 7.26333 9.33333 8C9.33333 8.73667 8.73667 9.33333 8 9.33333C7.26333 9.33333 6.66667 8.73667 6.66667 8C6.66667 7.26333 7.26333 6.66667 8 6.66667ZM5.27867 7.05733L3.39267 5.17133C3.132 4.91067 2.71067 4.91067 2.45 5.17133C2.18933 5.432 2.18933 5.854 2.45 6.114L3.67467 7.33333H0.666667C0.298 7.33333 0 7.632 0 8C0 8.368 0.298 8.66667 0.666667 8.66667H3.662L2.44867 9.88667C2.18867 10.148 2.19 10.5693 2.45133 10.8293C2.71267 11.0893 3.13467 11.088 3.394 10.8267L5.27933 8.93133C5.79467 8.41467 5.79467 7.574 5.27933 7.05667L5.27867 7.05733ZM7.068 5.278C7.56133 5.79267 8.45 5.79267 8.94267 5.278L10.828 3.392C11.0887 3.13133 11.0887 2.70933 10.828 2.44933C10.5673 2.18867 10.146 2.18867 9.88533 2.44933L8.66667 3.674V0.666667C8.66667 0.298667 8.36867 0 8 0C7.63133 0 7.33333 0.298667 7.33333 0.666667V3.662L6.11333 2.44867C5.852 2.18867 5.43067 2.19 5.17067 2.45133C4.91067 2.71267 4.912 3.13467 5.17333 3.394L7.068 5.278ZM8.94267 10.7213C8.42667 10.2053 7.58533 10.2053 7.06867 10.72L5.17267 12.606C4.91133 12.866 4.91 13.2873 5.17 13.5487C5.42933 13.8093 5.85067 13.8113 6.11267 13.5513L7.33267 12.3307V15.3333C7.33267 15.702 7.63067 16 7.99933 16C8.368 16 8.666 15.702 8.666 15.3333V12.3307L9.88467 13.55C10.1453 13.8107 10.5667 13.8107 10.8273 13.55C11.088 13.2893 11.088 12.868 10.8273 12.6073L8.94267 10.7213ZM15.3333 7.33333H12.3307L13.55 6.114C13.8107 5.854 13.8107 5.432 13.55 5.17133C13.2893 4.91067 12.868 4.91067 12.6073 5.17133L10.7213 7.05733C10.2053 7.574 10.2047 8.41467 10.72 8.93133L12.606 10.8273C12.866 11.088 13.2873 11.09 13.5487 10.83C13.81 10.57 13.8113 10.1487 13.5513 9.88733L12.3307 8.66733H15.3333C15.702 8.66733 16 8.36867 16 8.00067C16 7.63267 15.702 7.334 15.3333 7.334V7.33333Z",
|
|
@@ -1387,10 +1612,10 @@ var ArrowsToDotIcon = (_a) => {
|
|
|
1387
1612
|
ArrowsToDotIcon.displayName = "ArrowsToDotIcon";
|
|
1388
1613
|
|
|
1389
1614
|
// src/primitives/icon/svg/bank.tsx
|
|
1390
|
-
import { jsx as
|
|
1615
|
+
import { jsx as jsx21, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
1391
1616
|
var BankIcon = (_a) => {
|
|
1392
1617
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1393
|
-
return /* @__PURE__ */
|
|
1618
|
+
return /* @__PURE__ */ jsxs17(
|
|
1394
1619
|
"svg",
|
|
1395
1620
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1396
1621
|
viewBox: "0 0 24 24",
|
|
@@ -1398,8 +1623,8 @@ var BankIcon = (_a) => {
|
|
|
1398
1623
|
fill: "none"
|
|
1399
1624
|
}, getIconA11yProps(title)), props), {
|
|
1400
1625
|
children: [
|
|
1401
|
-
title ? /* @__PURE__ */
|
|
1402
|
-
/* @__PURE__ */
|
|
1626
|
+
title ? /* @__PURE__ */ jsx21("title", { children: title }) : null,
|
|
1627
|
+
/* @__PURE__ */ jsx21(
|
|
1403
1628
|
"path",
|
|
1404
1629
|
{
|
|
1405
1630
|
d: "M23 22H1C0.448 22 0 22.448 0 23C0 23.552 0.448 24 1 24H23C23.552 24 24 23.552 24 23C24 22.448 23.552 22 23 22ZM2 21H4V11H2V21ZM6 21H8V11H6V21ZM10 21H14V11H10V21ZM16 21H18V11H16V21ZM20 21H22V11H20V21ZM12 0.334C11.826 0.123 11.569 0 11.297 0H12.703C12.431 0 12.174 0.123 12 0.334ZM0.392 8.613C0.144 9.02 0 9.495 0 10C0 10 0 10 1 10H23C24 10 24 10 24 10C24 9.495 23.856 9.02 23.608 8.613L13.406 0.668C13.016 0.244 12.528 0 12 0C11.472 0 10.984 0.244 10.594 0.668L0.392 8.613ZM12 2.156L21.445 9H2.555L12 2.156ZM12 5C10.895 5 10 5.895 10 7C10 8.105 10.895 9 12 9C13.105 9 14 8.105 14 7C14 5.895 13.105 5 12 5ZM12 8C11.448 8 11 7.552 11 7C11 6.448 11.448 6 12 6C12.552 6 13 6.448 13 7C13 7.552 12.552 8 12 8Z",
|
|
@@ -1413,10 +1638,10 @@ var BankIcon = (_a) => {
|
|
|
1413
1638
|
BankIcon.displayName = "BankIcon";
|
|
1414
1639
|
|
|
1415
1640
|
// src/primitives/icon/svg/best-prices.tsx
|
|
1416
|
-
import { jsx as
|
|
1641
|
+
import { jsx as jsx22, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
1417
1642
|
var BestPricesIcon = (_a) => {
|
|
1418
1643
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1419
|
-
return /* @__PURE__ */
|
|
1644
|
+
return /* @__PURE__ */ jsxs18(
|
|
1420
1645
|
"svg",
|
|
1421
1646
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1422
1647
|
width: "28",
|
|
@@ -1427,15 +1652,15 @@ var BestPricesIcon = (_a) => {
|
|
|
1427
1652
|
className
|
|
1428
1653
|
}, getIconA11yProps(title)), props), {
|
|
1429
1654
|
children: [
|
|
1430
|
-
title ? /* @__PURE__ */
|
|
1431
|
-
/* @__PURE__ */
|
|
1655
|
+
title ? /* @__PURE__ */ jsx22("title", { children: title }) : null,
|
|
1656
|
+
/* @__PURE__ */ jsx22("g", { clipPath: "url(#clip0_best_prices)", children: /* @__PURE__ */ jsx22(
|
|
1432
1657
|
"path",
|
|
1433
1658
|
{
|
|
1434
1659
|
d: "M12.8333 27.4167C12.8333 27.7387 12.572 28 12.25 28H5.25C2.3555 28 0 25.6445 0 22.75V5.25117C0 2.35667 2.35433 0 5.25 0H18.0833C20.9778 0 23.3333 2.35433 23.3333 5.24883V8.74883C23.3333 9.07083 23.0732 9.33217 22.75 9.33217C22.4268 9.33217 22.1667 9.07083 22.1667 8.74883V5.24883C22.1667 2.99717 20.3338 1.1655 18.0833 1.1655H5.25C2.99833 1.1655 1.16667 2.99833 1.16667 5.25V22.7488C1.16667 25.0005 2.9995 26.8322 5.25 26.8322H12.25C12.572 26.8322 12.8333 27.0947 12.8333 27.4167ZM27.8297 27.8297C27.7153 27.944 27.566 28 27.4167 28C27.2673 28 27.118 27.9428 27.0037 27.8297L23.0102 23.8362C21.6837 24.9748 19.964 25.6667 18.0822 25.6667C13.9008 25.6667 10.4988 22.2647 10.4988 18.0833C10.4988 13.902 13.9008 10.5 18.0822 10.5C22.2635 10.5 25.6655 13.902 25.6655 18.0833C25.6655 19.964 24.9725 21.6837 23.835 23.0113L27.8285 27.0048C28.056 27.2323 28.0572 27.6022 27.8297 27.8297ZM24.5 18.0833C24.5 14.546 21.6218 11.6667 18.0833 11.6667C14.5448 11.6667 11.6667 14.546 11.6667 18.0833C11.6667 21.6207 14.5448 24.5 18.0833 24.5C21.6218 24.5 24.5 21.6207 24.5 18.0833ZM7.58333 5.83333H5.25C4.928 5.83333 4.66667 6.09467 4.66667 6.41667C4.66667 6.73867 4.928 7 5.25 7H7.58333C7.90533 7 8.16667 6.73867 8.16667 6.41667C8.16667 6.09467 7.90533 5.83333 7.58333 5.83333ZM7.58333 17.5H5.25C4.928 17.5 4.66667 17.7613 4.66667 18.0833C4.66667 18.4053 4.928 18.6667 5.25 18.6667H7.58333C7.90533 18.6667 8.16667 18.4053 8.16667 18.0833C8.16667 17.7613 7.90533 17.5 7.58333 17.5ZM11.0833 5.83333C10.7613 5.83333 10.5 6.09467 10.5 6.41667C10.5 6.73867 10.7613 7 11.0833 7H18.0833C18.4053 7 18.6667 6.73867 18.6667 6.41667C18.6667 6.09467 18.4053 5.83333 18.0833 5.83333H11.0833ZM7.58333 11.6667H5.25C4.928 11.6667 4.66667 11.928 4.66667 12.25C4.66667 12.572 4.928 12.8333 5.25 12.8333H7.58333C7.90533 12.8333 8.16667 12.572 8.16667 12.25C8.16667 11.928 7.90533 11.6667 7.58333 11.6667ZM21.1668 16.4862L18.0098 19.5405C17.6167 19.9255 16.9762 19.9302 16.583 19.5452L14.9928 17.976C14.7642 17.7497 14.3943 17.752 14.168 17.9807C13.9417 18.2105 13.944 18.5803 14.1738 18.8055L15.7652 20.377C16.1875 20.79 16.7417 20.9965 17.2958 20.9965C17.85 20.9965 18.4053 20.7888 18.8253 20.3747L21.9788 17.325C22.2098 17.101 22.2168 16.7312 21.9928 16.5002C21.77 16.2692 21.399 16.2645 21.1668 16.4862Z",
|
|
1435
1660
|
fill: "currentColor"
|
|
1436
1661
|
}
|
|
1437
1662
|
) }),
|
|
1438
|
-
/* @__PURE__ */
|
|
1663
|
+
/* @__PURE__ */ jsx22("defs", { children: /* @__PURE__ */ jsx22("clipPath", { id: "clip0_best_prices", children: /* @__PURE__ */ jsx22("rect", { width: "28", height: "28", fill: "white" }) }) })
|
|
1439
1664
|
]
|
|
1440
1665
|
})
|
|
1441
1666
|
);
|
|
@@ -1443,10 +1668,10 @@ var BestPricesIcon = (_a) => {
|
|
|
1443
1668
|
BestPricesIcon.displayName = "BestPricesIcon";
|
|
1444
1669
|
|
|
1445
1670
|
// src/primitives/icon/svg/bolt.tsx
|
|
1446
|
-
import { jsx as
|
|
1671
|
+
import { jsx as jsx23, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
1447
1672
|
var BoltIcon = (_a) => {
|
|
1448
1673
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1449
|
-
return /* @__PURE__ */
|
|
1674
|
+
return /* @__PURE__ */ jsxs19(
|
|
1450
1675
|
"svg",
|
|
1451
1676
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1452
1677
|
viewBox: "0 0 24 24",
|
|
@@ -1454,15 +1679,15 @@ var BoltIcon = (_a) => {
|
|
|
1454
1679
|
fill: "none"
|
|
1455
1680
|
}, getIconA11yProps(title)), props), {
|
|
1456
1681
|
children: [
|
|
1457
|
-
title ? /* @__PURE__ */
|
|
1458
|
-
/* @__PURE__ */
|
|
1682
|
+
title ? /* @__PURE__ */ jsx23("title", { children: title }) : null,
|
|
1683
|
+
/* @__PURE__ */ jsx23("g", { clipPath: "url(#bolt-clip)", children: /* @__PURE__ */ jsx23(
|
|
1459
1684
|
"path",
|
|
1460
1685
|
{
|
|
1461
1686
|
d: "M11.7372 24C11.4922 24 11.2432 23.946 11.0022 23.835C10.2162 23.472 9.83423 22.637 10.0722 21.805L11.8272 16H6.50123C5.70223 16 4.97023 15.632 4.49423 14.99C4.01823 14.348 3.87723 13.541 4.10823 12.776L7.13023 1.788C7.45523 0.714 8.41723 0 9.52623 0H13.8992C14.5872 0 15.2322 0.338 15.6242 0.903C16.0162 1.468 16.1062 2.191 15.8652 2.835L13.7052 9H17.5002C18.4422 9 19.2682 9.497 19.7092 10.33C20.1502 11.163 20.0982 12.124 19.5692 12.904L13.1592 23.216C12.8202 23.725 12.2912 24 11.7372 24ZM9.52723 1C8.86123 1 8.28423 1.428 8.09123 2.066L5.06923 13.054C4.92723 13.525 5.01123 14.009 5.29723 14.394C5.58323 14.779 6.02223 15 6.50223 15H12.5012C12.6592 15 12.8082 15.075 12.9022 15.202C12.9962 15.329 13.0252 15.493 12.9792 15.644L11.0322 22.086C10.9102 22.514 11.1532 22.802 11.4232 22.926C11.6922 23.05 12.0692 23.05 12.3192 22.673L18.7312 12.358C19.0592 11.874 19.0912 11.297 18.8262 10.797C18.5612 10.297 18.0662 9.999 17.5002 9.999H13.0002C12.8382 9.999 12.6862 9.92 12.5922 9.788C12.4982 9.656 12.4742 9.487 12.5282 9.333L14.9252 2.493C15.0572 2.14 15.0112 1.772 14.8022 1.472C14.5942 1.171 14.2642 0.999 13.8992 0.999H9.52623L9.52723 1Z",
|
|
1462
1687
|
fill: "currentColor"
|
|
1463
1688
|
}
|
|
1464
1689
|
) }),
|
|
1465
|
-
/* @__PURE__ */
|
|
1690
|
+
/* @__PURE__ */ jsx23("defs", { children: /* @__PURE__ */ jsx23("clipPath", { id: "bolt-clip", children: /* @__PURE__ */ jsx23("rect", { width: "24", height: "24", fill: "white" }) }) })
|
|
1466
1691
|
]
|
|
1467
1692
|
})
|
|
1468
1693
|
);
|
|
@@ -1470,10 +1695,10 @@ var BoltIcon = (_a) => {
|
|
|
1470
1695
|
BoltIcon.displayName = "BoltIcon";
|
|
1471
1696
|
|
|
1472
1697
|
// src/primitives/icon/svg/check-circle.tsx
|
|
1473
|
-
import { jsx as
|
|
1698
|
+
import { jsx as jsx24, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
1474
1699
|
var CheckCircleIcon = (_a) => {
|
|
1475
1700
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1476
|
-
return /* @__PURE__ */
|
|
1701
|
+
return /* @__PURE__ */ jsxs20(
|
|
1477
1702
|
"svg",
|
|
1478
1703
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1479
1704
|
width: "24",
|
|
@@ -1484,15 +1709,15 @@ var CheckCircleIcon = (_a) => {
|
|
|
1484
1709
|
className
|
|
1485
1710
|
}, getIconA11yProps(title)), props), {
|
|
1486
1711
|
children: [
|
|
1487
|
-
title ? /* @__PURE__ */
|
|
1488
|
-
/* @__PURE__ */
|
|
1712
|
+
title ? /* @__PURE__ */ jsx24("title", { children: title }) : null,
|
|
1713
|
+
/* @__PURE__ */ jsx24("g", { clipPath: "url(#clip0_check_circle)", children: /* @__PURE__ */ jsx24(
|
|
1489
1714
|
"path",
|
|
1490
1715
|
{
|
|
1491
1716
|
d: "M12 0C5.383 0 0 5.383 0 12C0 18.617 5.383 24 12 24C18.617 24 24 18.617 24 12C24 5.383 18.617 0 12 0ZM18.2 10.512L13.774 14.857C12.991 15.625 11.983 16.008 10.974 16.008C9.976 16.008 8.978 15.632 8.198 14.879L6.299 13.012C5.905 12.625 5.9 11.992 6.287 11.598C6.673 11.203 7.308 11.198 7.701 11.586L9.594 13.447C10.37 14.197 11.595 14.193 12.375 13.429L16.8 9.085C17.193 8.697 17.824 8.704 18.214 9.098C18.601 9.492 18.595 10.125 18.2 10.512Z",
|
|
1492
1717
|
fill: "currentColor"
|
|
1493
1718
|
}
|
|
1494
1719
|
) }),
|
|
1495
|
-
/* @__PURE__ */
|
|
1720
|
+
/* @__PURE__ */ jsx24("defs", { children: /* @__PURE__ */ jsx24("clipPath", { id: "clip0_check_circle", children: /* @__PURE__ */ jsx24("rect", { width: "24", height: "24", fill: "white" }) }) })
|
|
1496
1721
|
]
|
|
1497
1722
|
})
|
|
1498
1723
|
);
|
|
@@ -1500,10 +1725,10 @@ var CheckCircleIcon = (_a) => {
|
|
|
1500
1725
|
CheckCircleIcon.displayName = "CheckCircleIcon";
|
|
1501
1726
|
|
|
1502
1727
|
// src/primitives/icon/svg/chart-candlestick.tsx
|
|
1503
|
-
import { jsx as
|
|
1728
|
+
import { jsx as jsx25, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
1504
1729
|
var ChartCandlestickIcon = (_a) => {
|
|
1505
1730
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1506
|
-
return /* @__PURE__ */
|
|
1731
|
+
return /* @__PURE__ */ jsxs21(
|
|
1507
1732
|
"svg",
|
|
1508
1733
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1509
1734
|
viewBox: "0 0 20 20",
|
|
@@ -1512,21 +1737,21 @@ var ChartCandlestickIcon = (_a) => {
|
|
|
1512
1737
|
className
|
|
1513
1738
|
}, getIconA11yProps(title)), props), {
|
|
1514
1739
|
children: [
|
|
1515
|
-
/* @__PURE__ */
|
|
1740
|
+
/* @__PURE__ */ jsx25(
|
|
1516
1741
|
"path",
|
|
1517
1742
|
{
|
|
1518
1743
|
d: "M5.55496 13.3329H6.11051H7.22163H7.77718V6.66623H7.22163H6.11051H5.55496V13.3329ZM8.88829 13.6107C8.88829 14.0709 8.5152 14.444 8.05496 14.444H7.22163H6.11051H5.27718L5.192 14.4397C4.77178 14.397 4.44385 14.0422 4.44385 13.6107V6.38845C4.44385 5.92822 4.81694 5.55512 5.27718 5.55512H6.11051H7.22163H8.05496C8.5152 5.55512 8.88829 5.92822 8.88829 6.38845V13.6107Z",
|
|
1519
1744
|
fill: "currentColor"
|
|
1520
1745
|
}
|
|
1521
1746
|
),
|
|
1522
|
-
/* @__PURE__ */
|
|
1747
|
+
/* @__PURE__ */ jsx25(
|
|
1523
1748
|
"path",
|
|
1524
1749
|
{
|
|
1525
1750
|
d: "M12.2216 12.2218H12.7772H13.8883H14.4438V7.77734H13.8883H12.7772H12.2216V12.2218ZM15.555 12.4996C15.555 12.9598 15.1819 13.3329 14.7216 13.3329H13.8883H12.7772H11.9438L11.8587 13.3286C11.4384 13.2859 11.1105 12.931 11.1105 12.4996V7.49957C11.1105 7.03933 11.4836 6.66623 11.9438 6.66623H12.7772H13.8883H14.7216C15.1819 6.66623 15.555 7.03933 15.555 7.49957V12.4996Z",
|
|
1526
1751
|
fill: "currentColor"
|
|
1527
1752
|
}
|
|
1528
1753
|
),
|
|
1529
|
-
/* @__PURE__ */
|
|
1754
|
+
/* @__PURE__ */ jsx25(
|
|
1530
1755
|
"path",
|
|
1531
1756
|
{
|
|
1532
1757
|
fillRule: "evenodd",
|
|
@@ -1535,7 +1760,7 @@ var ChartCandlestickIcon = (_a) => {
|
|
|
1535
1760
|
fill: "currentColor"
|
|
1536
1761
|
}
|
|
1537
1762
|
),
|
|
1538
|
-
/* @__PURE__ */
|
|
1763
|
+
/* @__PURE__ */ jsx25(
|
|
1539
1764
|
"path",
|
|
1540
1765
|
{
|
|
1541
1766
|
fillRule: "evenodd",
|
|
@@ -1551,10 +1776,10 @@ var ChartCandlestickIcon = (_a) => {
|
|
|
1551
1776
|
ChartCandlestickIcon.displayName = "ChartCandlestickIcon";
|
|
1552
1777
|
|
|
1553
1778
|
// src/primitives/icon/svg/chart-line.tsx
|
|
1554
|
-
import { jsx as
|
|
1779
|
+
import { jsx as jsx26, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
1555
1780
|
var ChartLineIcon = (_a) => {
|
|
1556
1781
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1557
|
-
return /* @__PURE__ */
|
|
1782
|
+
return /* @__PURE__ */ jsxs22(
|
|
1558
1783
|
"svg",
|
|
1559
1784
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1560
1785
|
viewBox: "0 0 20 20",
|
|
@@ -1563,29 +1788,29 @@ var ChartLineIcon = (_a) => {
|
|
|
1563
1788
|
className
|
|
1564
1789
|
}, getIconA11yProps(title)), props), {
|
|
1565
1790
|
children: [
|
|
1566
|
-
title ? /* @__PURE__ */
|
|
1567
|
-
/* @__PURE__ */
|
|
1791
|
+
title ? /* @__PURE__ */ jsx26("title", { children: title }) : null,
|
|
1792
|
+
/* @__PURE__ */ jsx26(
|
|
1568
1793
|
"path",
|
|
1569
1794
|
{
|
|
1570
1795
|
d: "M16.8875 5.37257C16.6712 5.28028 16.4321 5.25518 16.2012 5.29987C15.9703 5.34459 15.7582 5.45741 15.592 5.62376C15.4258 5.79009 15.3132 6.00218 15.2686 6.23303L13.8672 13.5068L12.6558 10.2527C12.5907 10.0785 12.4852 9.92156 12.3482 9.79586C12.2109 9.67003 12.0458 9.57864 11.8664 9.52893C11.6869 9.47923 11.4982 9.47263 11.3157 9.50995C11.1332 9.5473 10.9621 9.62754 10.8166 9.74378L10.5746 9.93692L9.56334 8.34566C9.44798 8.16423 9.28505 8.018 9.09242 7.92249C8.89973 7.82699 8.68443 7.78559 8.47014 7.80367C8.25577 7.8218 8.05005 7.89849 7.87606 8.02503C7.70218 8.15153 7.566 8.32319 7.48273 8.52145L5.72004 12.7207L4.79828 11.9937C4.55292 11.8004 4.24095 11.7125 3.93077 11.749C3.6205 11.7856 3.33728 11.9439 3.14356 12.189L3.14301 12.1884L1.51487 14.2539L1.51433 14.2533C1.41771 14.3762 1.37444 14.5327 1.3928 14.6879C1.41122 14.8432 1.49034 14.9849 1.61307 15.0818C1.7359 15.1787 1.89227 15.2232 2.04764 15.2049C2.20294 15.1867 2.34451 15.1073 2.44152 14.9847L4.06912 12.922L4.99196 13.65C5.13448 13.7623 5.30109 13.84 5.47861 13.8774C5.65618 13.9147 5.84005 13.9103 6.01572 13.8649C6.19141 13.8195 6.35425 13.734 6.49152 13.6153C6.62876 13.4966 6.73698 13.348 6.80728 13.1807L8.56942 8.98314L9.60349 10.6091L9.67239 10.7068C9.74621 10.8005 9.83393 10.8828 9.9328 10.9504C10.0647 11.0405 10.2139 11.1029 10.3706 11.1338C10.5273 11.1645 10.6887 11.1629 10.8448 11.1294C11.0009 11.0959 11.1486 11.0313 11.2788 10.939L11.574 10.7296L12.7637 13.9267C12.8534 14.1676 13.0193 14.3727 13.2363 14.5105C13.4532 14.6482 13.7094 14.7108 13.9654 14.6895C14.2216 14.6682 14.4638 14.564 14.655 14.3922C14.8462 14.2205 14.9759 13.9909 15.0245 13.7385L16.4264 6.46252L17.8749 8.70754C17.9169 8.77265 17.9713 8.82942 18.035 8.87355C18.0987 8.91771 18.1708 8.94885 18.2466 8.96524C18.3224 8.98163 18.4008 8.98293 18.4771 8.96904C18.5534 8.95514 18.6263 8.92644 18.6914 8.8844C18.7566 8.84235 18.8128 8.78762 18.8569 8.72381C18.901 8.66003 18.9323 8.58802 18.9486 8.51222C18.9649 8.43652 18.9658 8.35835 18.9519 8.28219C18.9379 8.20597 18.9093 8.13296 18.8672 8.06789L18.8667 8.06734L17.4154 5.81745C17.2879 5.61981 17.1039 5.46489 16.8875 5.37257Z",
|
|
1571
1796
|
fill: "currentColor"
|
|
1572
1797
|
}
|
|
1573
1798
|
),
|
|
1574
|
-
/* @__PURE__ */
|
|
1799
|
+
/* @__PURE__ */ jsx26(
|
|
1575
1800
|
"path",
|
|
1576
1801
|
{
|
|
1577
1802
|
d: "M10.4631 11.4269C10.6099 11.4405 10.7584 11.4319 10.9032 11.4009C10.7102 11.4423 10.5107 11.444 10.3171 11.4059C10.2989 11.4023 10.2808 11.3984 10.2629 11.3941C10.1371 11.3644 10.0159 11.3181 9.90263 11.2565L9.90176 11.256C9.85881 11.2326 9.81699 11.207 9.77646 11.1793C9.61349 11.0679 9.47488 10.9245 9.36906 10.7579L8.62036 9.57988L7.06362 13.2878C6.97676 13.4945 6.8433 13.6785 6.67365 13.8252C6.5178 13.96 6.33528 14.06 6.13825 14.1189C6.12082 14.1241 6.10327 14.129 6.08561 14.1335C5.86846 14.1897 5.64128 14.1949 5.42179 14.1487C5.39778 14.1437 5.37392 14.1381 5.35025 14.1318C5.18457 14.0882 5.02788 14.0157 4.88746 13.9176L4.88406 13.9151C4.86239 13.8999 4.84111 13.884 4.82025 13.8676L4.1153 13.3115L2.65995 15.1565C2.51728 15.337 2.30878 15.4534 2.08028 15.4803C2.05174 15.4837 2.02319 15.4856 1.99471 15.4861L1.99468 15.4861C1.99469 15.4861 1.9947 15.4861 1.99471 15.4861L2.08028 15.4803C2.30878 15.4534 2.51728 15.337 2.65995 15.1565L4.1153 13.3115L4.82025 13.8676L4.88406 13.9151C5.02536 14.0144 5.18322 14.0878 5.35025 14.1318C5.37392 14.1381 5.39778 14.1437 5.42179 14.1487L5.50432 14.1634C5.67031 14.1884 5.83933 14.1846 6.004 14.152L6.08561 14.1335C6.10327 14.129 6.12082 14.1241 6.13825 14.1189C6.30842 14.068 6.46767 13.9862 6.60838 13.878L6.67365 13.8252C6.8433 13.6785 6.97676 13.4945 7.06362 13.2878L8.62036 9.57988L9.36906 10.7579C9.47488 10.9245 9.61349 11.0679 9.77646 11.1793L9.90176 11.256C10.0153 11.3178 10.1368 11.3643 10.2629 11.3941C10.2808 11.3984 10.2989 11.4023 10.3171 11.4059L10.4631 11.4269Z",
|
|
1578
1803
|
fill: "currentColor"
|
|
1579
1804
|
}
|
|
1580
1805
|
),
|
|
1581
|
-
/* @__PURE__ */
|
|
1806
|
+
/* @__PURE__ */ jsx26(
|
|
1582
1807
|
"path",
|
|
1583
1808
|
{
|
|
1584
1809
|
d: "M1.99468 15.4861L1.99471 15.4861C1.9947 15.4861 1.99469 15.4861 1.99468 15.4861C1.9448 15.487 1.89515 15.4836 1.84626 15.476C1.77676 15.4653 1.7088 15.4461 1.64391 15.419C1.57189 15.3889 1.50366 15.3489 1.4413 15.2997C1.26066 15.1572 1.14397 14.9489 1.11688 14.7204C1.08979 14.4919 1.15451 14.262 1.29683 14.0812L2.92578 12.0162C2.94214 11.9955 2.95902 11.9753 2.97639 11.9556C3.18137 11.7233 3.45477 11.5625 3.75628 11.4963L3.76129 11.4955C3.80636 11.4857 3.85206 11.4781 3.89824 11.4727C4.2816 11.4275 4.66723 11.5362 4.97045 11.7751L5.60556 12.2759L7.22706 8.41378C7.23269 8.40038 7.23851 8.38707 7.24453 8.37387C7.34851 8.14561 7.50983 7.94784 7.71308 7.80002L7.63485 7.86132C7.46833 8.00075 7.33478 8.1758 7.24453 8.37387C7.23851 8.38707 7.23269 8.40038 7.22706 8.41378L5.60556 12.2759L4.97045 11.7751C4.66723 11.5362 4.2816 11.4275 3.89824 11.4727L3.76129 11.4955C3.4578 11.561 3.1825 11.722 2.97639 11.9556C2.95902 11.9753 2.94214 11.9955 2.92578 12.0162L1.29683 14.0812C1.15451 14.262 1.08979 14.4919 1.11688 14.7204L1.13151 14.8052C1.17449 15 1.28339 15.1751 1.4413 15.2997C1.50366 15.3489 1.57189 15.3889 1.64391 15.419C1.7088 15.4461 1.77676 15.4653 1.84626 15.476C1.89515 15.4836 1.9448 15.487 1.99468 15.4861Z",
|
|
1585
1810
|
fill: "currentColor"
|
|
1586
1811
|
}
|
|
1587
1812
|
),
|
|
1588
|
-
/* @__PURE__ */
|
|
1813
|
+
/* @__PURE__ */ jsx26(
|
|
1589
1814
|
"path",
|
|
1590
1815
|
{
|
|
1591
1816
|
d: "M15.465 5.3617C15.6316 5.21547 15.8293 5.10915 16.043 5.05098L16.0463 5.05022C16.0801 5.04112 16.1142 5.03321 16.1487 5.02653C16.4341 4.97129 16.7295 5.00274 16.9968 5.11683C17.2642 5.23091 17.4913 5.42242 17.6488 5.66668L19.1004 7.91651C19.1624 8.01229 19.2049 8.11934 19.2254 8.23155C19.246 8.34375 19.2442 8.45891 19.2202 8.57043C19.1962 8.68195 19.1505 8.78765 19.0856 8.88149C19.0208 8.97533 18.9381 9.05546 18.8422 9.11731C18.7464 9.17916 18.6393 9.22151 18.527 9.24194C18.4148 9.26237 18.2997 9.26049 18.1882 9.23638C18.1777 9.23412 18.1673 9.23167 18.1569 9.22903C18.0845 9.21056 18.0147 9.18287 17.9495 9.14658L17.9474 9.14526C17.9233 9.13181 17.9 9.11721 17.8773 9.10148C17.8685 9.09539 17.8598 9.08915 17.8512 9.08276C17.7914 9.038 17.7376 8.98582 17.6912 8.9274L17.6886 8.92366C17.672 8.90248 17.6563 8.88051 17.6417 8.8578L17.6886 8.92366C17.7355 8.98354 17.7902 9.03705 17.8512 9.08276C17.8598 9.08915 17.8685 9.09539 17.8773 9.10148L17.9474 9.14526C18.0132 9.18215 18.0837 9.21033 18.1569 9.22903C18.1673 9.23167 18.1777 9.23412 18.1882 9.23638L18.2723 9.25021C18.3288 9.25672 18.3859 9.25758 18.4426 9.25292L18.527 9.24194C18.6393 9.22151 18.7464 9.17916 18.8422 9.11731C18.9381 9.05546 19.0208 8.97533 19.0856 8.88149C19.1505 8.78765 19.1962 8.68195 19.2202 8.57043C19.2442 8.45891 19.246 8.34375 19.2254 8.23155C19.2049 8.11934 19.1624 8.01229 19.1004 7.91651L17.6488 5.66668C17.4913 5.42242 17.2642 5.23091 16.9968 5.11683C16.7295 5.00274 16.4341 4.97129 16.1487 5.02653L16.0463 5.05022C15.8313 5.1082 15.6324 5.21475 15.465 5.3617Z",
|
|
@@ -1599,10 +1824,10 @@ var ChartLineIcon = (_a) => {
|
|
|
1599
1824
|
ChartLineIcon.displayName = "ChartLineIcon";
|
|
1600
1825
|
|
|
1601
1826
|
// src/primitives/icon/svg/chevron-down.tsx
|
|
1602
|
-
import { jsx as
|
|
1827
|
+
import { jsx as jsx27, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
1603
1828
|
var ChevronDownIcon = (_a) => {
|
|
1604
1829
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1605
|
-
return /* @__PURE__ */
|
|
1830
|
+
return /* @__PURE__ */ jsxs23(
|
|
1606
1831
|
"svg",
|
|
1607
1832
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1608
1833
|
viewBox: "0 0 14 14",
|
|
@@ -1610,8 +1835,8 @@ var ChevronDownIcon = (_a) => {
|
|
|
1610
1835
|
fill: "none"
|
|
1611
1836
|
}, getIconA11yProps(title)), props), {
|
|
1612
1837
|
children: [
|
|
1613
|
-
title ? /* @__PURE__ */
|
|
1614
|
-
/* @__PURE__ */
|
|
1838
|
+
title ? /* @__PURE__ */ jsx27("title", { children: title }) : null,
|
|
1839
|
+
/* @__PURE__ */ jsx27(
|
|
1615
1840
|
"path",
|
|
1616
1841
|
{
|
|
1617
1842
|
d: "M3.25 5.25L7 9L10.75 5.25",
|
|
@@ -1628,10 +1853,10 @@ var ChevronDownIcon = (_a) => {
|
|
|
1628
1853
|
ChevronDownIcon.displayName = "ChevronDownIcon";
|
|
1629
1854
|
|
|
1630
1855
|
// src/primitives/icon/svg/chevron-left.tsx
|
|
1631
|
-
import { jsx as
|
|
1856
|
+
import { jsx as jsx28, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
1632
1857
|
var ChevronLeftIcon = (_a) => {
|
|
1633
1858
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1634
|
-
return /* @__PURE__ */
|
|
1859
|
+
return /* @__PURE__ */ jsxs24(
|
|
1635
1860
|
"svg",
|
|
1636
1861
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1637
1862
|
viewBox: "0 0 24 24",
|
|
@@ -1639,8 +1864,8 @@ var ChevronLeftIcon = (_a) => {
|
|
|
1639
1864
|
fill: "none"
|
|
1640
1865
|
}, getIconA11yProps(title)), props), {
|
|
1641
1866
|
children: [
|
|
1642
|
-
title ? /* @__PURE__ */
|
|
1643
|
-
/* @__PURE__ */
|
|
1867
|
+
title ? /* @__PURE__ */ jsx28("title", { children: title }) : null,
|
|
1868
|
+
/* @__PURE__ */ jsx28(
|
|
1644
1869
|
"path",
|
|
1645
1870
|
{
|
|
1646
1871
|
d: "M10.5999 12.6786C10.5061 12.5856 10.4317 12.475 10.381 12.3531C10.3302 12.2313 10.3041 12.1006 10.3041 11.9686C10.3041 11.8366 10.3302 11.7058 10.381 11.584C10.4317 11.4621 10.5061 11.3515 10.5999 11.2586L15.1899 6.67857C15.2836 6.5856 15.358 6.475 15.4088 6.35314C15.4595 6.23128 15.4857 6.10058 15.4857 5.96857C15.4857 5.83655 15.4595 5.70585 15.4088 5.58399C15.358 5.46213 15.2836 5.35153 15.1899 5.25857C15.0025 5.07231 14.749 4.96777 14.4849 4.96777C14.2207 4.96777 13.9672 5.07231 13.7799 5.25857L9.18986 9.84857C8.62806 10.4111 8.3125 11.1736 8.3125 11.9686C8.3125 12.7636 8.62806 13.5261 9.18986 14.0886L13.7799 18.6786C13.9661 18.8633 14.2175 18.9675 14.4799 18.9686C14.6115 18.9693 14.7419 18.9441 14.8638 18.8943C14.9856 18.8446 15.0964 18.7712 15.1899 18.6786C15.2836 18.5856 15.358 18.475 15.4088 18.3531C15.4595 18.2313 15.4857 18.1006 15.4857 17.9686C15.4857 17.8366 15.4595 17.7058 15.4088 17.584C15.358 17.4621 15.2836 17.3515 15.1899 17.2586L10.5999 12.6786Z",
|
|
@@ -1654,10 +1879,10 @@ var ChevronLeftIcon = (_a) => {
|
|
|
1654
1879
|
ChevronLeftIcon.displayName = "ChevronLeftIcon";
|
|
1655
1880
|
|
|
1656
1881
|
// src/primitives/icon/svg/chevron-right.tsx
|
|
1657
|
-
import { jsx as
|
|
1882
|
+
import { jsx as jsx29, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
1658
1883
|
var ChevronRightIcon = (_a) => {
|
|
1659
1884
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1660
|
-
return /* @__PURE__ */
|
|
1885
|
+
return /* @__PURE__ */ jsxs25(
|
|
1661
1886
|
"svg",
|
|
1662
1887
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1663
1888
|
viewBox: "0 0 16 16",
|
|
@@ -1665,8 +1890,8 @@ var ChevronRightIcon = (_a) => {
|
|
|
1665
1890
|
fill: "none"
|
|
1666
1891
|
}, getIconA11yProps(title)), props), {
|
|
1667
1892
|
children: [
|
|
1668
|
-
title ? /* @__PURE__ */
|
|
1669
|
-
/* @__PURE__ */
|
|
1893
|
+
title ? /* @__PURE__ */ jsx29("title", { children: title }) : null,
|
|
1894
|
+
/* @__PURE__ */ jsx29(
|
|
1670
1895
|
"path",
|
|
1671
1896
|
{
|
|
1672
1897
|
d: "M10.2665 6.56563L7.20654 3.50563C7.08163 3.38146 6.91266 3.31177 6.73653 3.31177C6.56041 3.31177 6.39144 3.38146 6.26653 3.50563C6.20405 3.5676 6.15445 3.64134 6.12061 3.72258C6.08676 3.80382 6.06934 3.89095 6.06934 3.97896C6.06934 4.06697 6.08676 4.15411 6.12061 4.23535C6.15445 4.31659 6.20405 4.39032 6.26653 4.4523L9.3332 7.50563C9.39569 7.5676 9.44528 7.64134 9.47913 7.72258C9.51298 7.80382 9.5304 7.89095 9.5304 7.97896C9.5304 8.06697 9.51298 8.15411 9.47913 8.23535C9.44528 8.31659 9.39569 8.39032 9.3332 8.4523L6.26653 11.5056C6.141 11.6303 6.07012 11.7997 6.0695 11.9766C6.06887 12.1535 6.13855 12.3234 6.2632 12.449C6.38785 12.5745 6.55727 12.6454 6.73418 12.646C6.91109 12.6466 7.081 12.5769 7.20654 12.4523L10.2665 9.3923C10.6411 9.0173 10.8514 8.50896 10.8514 7.97896C10.8514 7.44896 10.6411 6.94063 10.2665 6.56563Z",
|
|
@@ -1680,10 +1905,10 @@ var ChevronRightIcon = (_a) => {
|
|
|
1680
1905
|
ChevronRightIcon.displayName = "ChevronRightIcon";
|
|
1681
1906
|
|
|
1682
1907
|
// src/primitives/icon/svg/chevron-up.tsx
|
|
1683
|
-
import { jsx as
|
|
1908
|
+
import { jsx as jsx30, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
1684
1909
|
var ChevronUpIcon = (_a) => {
|
|
1685
1910
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1686
|
-
return /* @__PURE__ */
|
|
1911
|
+
return /* @__PURE__ */ jsxs26(
|
|
1687
1912
|
"svg",
|
|
1688
1913
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1689
1914
|
viewBox: "0 0 14 14",
|
|
@@ -1691,8 +1916,8 @@ var ChevronUpIcon = (_a) => {
|
|
|
1691
1916
|
fill: "none"
|
|
1692
1917
|
}, getIconA11yProps(title)), props), {
|
|
1693
1918
|
children: [
|
|
1694
|
-
title ? /* @__PURE__ */
|
|
1695
|
-
/* @__PURE__ */
|
|
1919
|
+
title ? /* @__PURE__ */ jsx30("title", { children: title }) : null,
|
|
1920
|
+
/* @__PURE__ */ jsx30(
|
|
1696
1921
|
"path",
|
|
1697
1922
|
{
|
|
1698
1923
|
d: "M3.25 8.75L7 5L10.75 8.75",
|
|
@@ -1709,10 +1934,10 @@ var ChevronUpIcon = (_a) => {
|
|
|
1709
1934
|
ChevronUpIcon.displayName = "ChevronUpIcon";
|
|
1710
1935
|
|
|
1711
1936
|
// src/primitives/icon/svg/close.tsx
|
|
1712
|
-
import { jsx as
|
|
1937
|
+
import { jsx as jsx31, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
1713
1938
|
var CloseIcon = (_a) => {
|
|
1714
1939
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1715
|
-
return /* @__PURE__ */
|
|
1940
|
+
return /* @__PURE__ */ jsxs27(
|
|
1716
1941
|
"svg",
|
|
1717
1942
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1718
1943
|
width: "16",
|
|
@@ -1723,8 +1948,8 @@ var CloseIcon = (_a) => {
|
|
|
1723
1948
|
className
|
|
1724
1949
|
}, getIconA11yProps(title)), props), {
|
|
1725
1950
|
children: [
|
|
1726
|
-
title ? /* @__PURE__ */
|
|
1727
|
-
/* @__PURE__ */
|
|
1951
|
+
title ? /* @__PURE__ */ jsx31("title", { children: title }) : null,
|
|
1952
|
+
/* @__PURE__ */ jsx31(
|
|
1728
1953
|
"path",
|
|
1729
1954
|
{
|
|
1730
1955
|
d: "M12 4L4 12M4 4l8 8",
|
|
@@ -1741,10 +1966,10 @@ var CloseIcon = (_a) => {
|
|
|
1741
1966
|
CloseIcon.displayName = "CloseIcon";
|
|
1742
1967
|
|
|
1743
1968
|
// src/primitives/icon/svg/copy.tsx
|
|
1744
|
-
import { jsx as
|
|
1969
|
+
import { jsx as jsx32, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
1745
1970
|
var CopyIcon = (_a) => {
|
|
1746
1971
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1747
|
-
return /* @__PURE__ */
|
|
1972
|
+
return /* @__PURE__ */ jsxs28(
|
|
1748
1973
|
"svg",
|
|
1749
1974
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1750
1975
|
viewBox: "0 0 16 16",
|
|
@@ -1752,15 +1977,15 @@ var CopyIcon = (_a) => {
|
|
|
1752
1977
|
fill: "none"
|
|
1753
1978
|
}, getIconA11yProps(title)), props), {
|
|
1754
1979
|
children: [
|
|
1755
|
-
title ? /* @__PURE__ */
|
|
1756
|
-
/* @__PURE__ */
|
|
1980
|
+
title ? /* @__PURE__ */ jsx32("title", { children: title }) : null,
|
|
1981
|
+
/* @__PURE__ */ jsx32("g", { clipPath: "url(#clip0_copy)", children: /* @__PURE__ */ jsx32(
|
|
1757
1982
|
"path",
|
|
1758
1983
|
{
|
|
1759
1984
|
d: "M10 13.3333H3.33333C2.4496 13.3323 1.60237 12.9807 0.97748 12.3559C0.352588 11.731 0.00105857 10.8837 0 10L0 3.33333C0.00105857 2.4496 0.352588 1.60237 0.97748 0.97748C1.60237 0.352588 2.4496 0.00105857 3.33333 0L10 0C10.8837 0.00105857 11.731 0.352588 12.3559 0.97748C12.9807 1.60237 13.3323 2.4496 13.3333 3.33333V10C13.3323 10.8837 12.9807 11.731 12.3559 12.3559C11.731 12.9807 10.8837 13.3323 10 13.3333ZM3.33333 1.33333C2.8029 1.33333 2.29419 1.54405 1.91912 1.91912C1.54405 2.29419 1.33333 2.8029 1.33333 3.33333V10C1.33333 10.5304 1.54405 11.0391 1.91912 11.4142C2.29419 11.7893 2.8029 12 3.33333 12H10C10.5304 12 11.0391 11.7893 11.4142 11.4142C11.7893 11.0391 12 10.5304 12 10V3.33333C12 2.8029 11.7893 2.29419 11.4142 1.91912C11.0391 1.54405 10.5304 1.33333 10 1.33333H3.33333ZM16 12.6667V4C16 3.82319 15.9298 3.65362 15.8047 3.5286C15.6797 3.40357 15.5101 3.33333 15.3333 3.33333C15.1565 3.33333 14.987 3.40357 14.8619 3.5286C14.7369 3.65362 14.6667 3.82319 14.6667 4V12.6667C14.6667 13.1971 14.456 13.7058 14.0809 14.0809C13.7058 14.456 13.1971 14.6667 12.6667 14.6667H4C3.82319 14.6667 3.65362 14.7369 3.5286 14.8619C3.40357 14.987 3.33333 15.1565 3.33333 15.3333C3.33333 15.5101 3.40357 15.6797 3.5286 15.8047C3.65362 15.9298 3.82319 16 4 16H12.6667C13.5504 15.9989 14.3976 15.6474 15.0225 15.0225C15.6474 14.3976 15.9989 13.5504 16 12.6667Z",
|
|
1760
1985
|
fill: "currentColor"
|
|
1761
1986
|
}
|
|
1762
1987
|
) }),
|
|
1763
|
-
/* @__PURE__ */
|
|
1988
|
+
/* @__PURE__ */ jsx32("defs", { children: /* @__PURE__ */ jsx32("clipPath", { id: "clip0_copy", children: /* @__PURE__ */ jsx32("rect", { width: "16", height: "16", fill: "white" }) }) })
|
|
1764
1989
|
]
|
|
1765
1990
|
})
|
|
1766
1991
|
);
|
|
@@ -1768,10 +1993,10 @@ var CopyIcon = (_a) => {
|
|
|
1768
1993
|
CopyIcon.displayName = "CopyIcon";
|
|
1769
1994
|
|
|
1770
1995
|
// src/primitives/icon/svg/create-account.tsx
|
|
1771
|
-
import { jsx as
|
|
1996
|
+
import { jsx as jsx33, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
1772
1997
|
var CreateAccountIcon = (_a) => {
|
|
1773
1998
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1774
|
-
return /* @__PURE__ */
|
|
1999
|
+
return /* @__PURE__ */ jsxs29(
|
|
1775
2000
|
"svg",
|
|
1776
2001
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1777
2002
|
width: "28",
|
|
@@ -1782,15 +2007,15 @@ var CreateAccountIcon = (_a) => {
|
|
|
1782
2007
|
className
|
|
1783
2008
|
}, getIconA11yProps(title)), props), {
|
|
1784
2009
|
children: [
|
|
1785
|
-
title ? /* @__PURE__ */
|
|
1786
|
-
/* @__PURE__ */
|
|
2010
|
+
title ? /* @__PURE__ */ jsx33("title", { children: title }) : null,
|
|
2011
|
+
/* @__PURE__ */ jsx33("g", { clipPath: "url(#clip0_create_account)", children: /* @__PURE__ */ jsx33(
|
|
1787
2012
|
"path",
|
|
1788
2013
|
{
|
|
1789
2014
|
d: "M22.1667 4.66667V0.583333C22.1667 0.261333 22.428 0 22.75 0C23.072 0 23.3333 0.261333 23.3333 0.583333V4.66667H27.4167C27.7387 4.66667 28 4.928 28 5.25C28 5.572 27.7387 5.83333 27.4167 5.83333H23.3333V9.91667C23.3333 10.2387 23.072 10.5 22.75 10.5C22.428 10.5 22.1667 10.2387 22.1667 9.91667V5.83333H18.0833C17.7613 5.83333 17.5 5.572 17.5 5.25C17.5 4.928 17.7613 4.66667 18.0833 4.66667H22.1667ZM18.6667 11.6667C18.6667 14.2403 16.5737 16.3333 14 16.3333C11.4263 16.3333 9.33333 14.2403 9.33333 11.6667C9.33333 9.093 11.4263 7 14 7C16.5737 7 18.6667 9.093 18.6667 11.6667ZM17.5 11.6667C17.5 9.737 15.9297 8.16667 14 8.16667C12.0703 8.16667 10.5 9.737 10.5 11.6667C10.5 13.5963 12.0703 15.1667 14 15.1667C15.9297 15.1667 17.5 13.5963 17.5 11.6667ZM27.3922 9.90617C27.7958 11.2292 28 12.6058 28 14C28 21.7198 21.7198 28 14 28C6.28017 28 0 21.7198 0 14C0 6.28017 6.28017 0 14 0C15.4548 0 16.8898 0.221667 18.2607 0.660333C18.5675 0.758333 18.7367 1.08617 18.6387 1.393C18.5395 1.69983 18.2105 1.87017 17.9048 1.771C16.6483 1.36967 15.3335 1.1655 13.9988 1.1655C6.92417 1.16667 1.16667 6.92417 1.16667 14C1.16667 18.5197 3.521 22.4933 7.063 24.78C7.5005 21.3383 10.4417 18.6667 14 18.6667C17.5583 18.6667 20.4995 21.3383 20.937 24.78C24.4778 22.4933 26.8333 18.5197 26.8333 14C26.8333 12.7213 26.6467 11.459 26.2757 10.2468C26.1823 9.93883 26.355 9.61217 26.6642 9.51883C26.9722 9.422 27.2977 9.59933 27.3922 9.90617ZM14 26.8333C16.0918 26.8333 18.0623 26.32 19.8088 25.4287C19.6805 22.3253 17.1348 19.8333 14 19.8333C10.8652 19.8333 8.31833 22.3242 8.19117 25.4287C9.93767 26.32 11.9082 26.8333 14 26.8333Z",
|
|
1790
2015
|
fill: "currentColor"
|
|
1791
2016
|
}
|
|
1792
2017
|
) }),
|
|
1793
|
-
/* @__PURE__ */
|
|
2018
|
+
/* @__PURE__ */ jsx33("defs", { children: /* @__PURE__ */ jsx33("clipPath", { id: "clip0_create_account", children: /* @__PURE__ */ jsx33("rect", { width: "28", height: "28", fill: "white" }) }) })
|
|
1794
2019
|
]
|
|
1795
2020
|
})
|
|
1796
2021
|
);
|
|
@@ -1798,10 +2023,10 @@ var CreateAccountIcon = (_a) => {
|
|
|
1798
2023
|
CreateAccountIcon.displayName = "CreateAccountIcon";
|
|
1799
2024
|
|
|
1800
2025
|
// src/primitives/icon/svg/credit-card.tsx
|
|
1801
|
-
import { jsx as
|
|
2026
|
+
import { jsx as jsx34, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
1802
2027
|
var CreditCardIcon = (_a) => {
|
|
1803
2028
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1804
|
-
return /* @__PURE__ */
|
|
2029
|
+
return /* @__PURE__ */ jsxs30(
|
|
1805
2030
|
"svg",
|
|
1806
2031
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1807
2032
|
viewBox: "0 0 24 24",
|
|
@@ -1809,8 +2034,8 @@ var CreditCardIcon = (_a) => {
|
|
|
1809
2034
|
fill: "none"
|
|
1810
2035
|
}, getIconA11yProps(title)), props), {
|
|
1811
2036
|
children: [
|
|
1812
|
-
title ? /* @__PURE__ */
|
|
1813
|
-
/* @__PURE__ */
|
|
2037
|
+
title ? /* @__PURE__ */ jsx34("title", { children: title }) : null,
|
|
2038
|
+
/* @__PURE__ */ jsx34(
|
|
1814
2039
|
"path",
|
|
1815
2040
|
{
|
|
1816
2041
|
d: "M19.5 3H4.5C2.019 3 0 5.019 0 7.5V16.5C0 18.981 2.019 21 4.5 21H19.5C21.981 21 24 18.981 24 16.5V7.5C24 5.019 21.981 3 19.5 3ZM1 8H23V10H1V8ZM4.5 4H19.5C21.258 4 22.704 5.308 22.949 7H1.051C1.296 5.308 2.742 4 4.5 4ZM19.5 20H4.5C2.57 20 1 18.43 1 16.5V11H23V16.5C23 18.43 21.43 20 19.5 20ZM5 14C3.897 14 3 14.897 3 16C3 17.103 3.897 18 5 18C6.103 18 7 17.103 7 16C7 14.897 6.103 14 5 14ZM5 17C4.449 17 4 16.552 4 16C4 15.448 4.449 15 5 15C5.551 15 6 15.448 6 16C6 16.552 5.551 17 5 17Z",
|
|
@@ -1824,10 +2049,10 @@ var CreditCardIcon = (_a) => {
|
|
|
1824
2049
|
CreditCardIcon.displayName = "CreditCardIcon";
|
|
1825
2050
|
|
|
1826
2051
|
// src/primitives/icon/svg/disconnect.tsx
|
|
1827
|
-
import { jsx as
|
|
2052
|
+
import { jsx as jsx35, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
1828
2053
|
var DisconnectIcon = (_a) => {
|
|
1829
2054
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1830
|
-
return /* @__PURE__ */
|
|
2055
|
+
return /* @__PURE__ */ jsxs31(
|
|
1831
2056
|
"svg",
|
|
1832
2057
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1833
2058
|
viewBox: "0 0 16 16",
|
|
@@ -1835,8 +2060,8 @@ var DisconnectIcon = (_a) => {
|
|
|
1835
2060
|
fill: "none"
|
|
1836
2061
|
}, getIconA11yProps(title)), props), {
|
|
1837
2062
|
children: [
|
|
1838
|
-
title ? /* @__PURE__ */
|
|
1839
|
-
/* @__PURE__ */
|
|
2063
|
+
title ? /* @__PURE__ */ jsx35("title", { children: title }) : null,
|
|
2064
|
+
/* @__PURE__ */ jsx35(
|
|
1840
2065
|
"path",
|
|
1841
2066
|
{
|
|
1842
2067
|
d: "M6.5 3H4a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h2.5",
|
|
@@ -1845,7 +2070,7 @@ var DisconnectIcon = (_a) => {
|
|
|
1845
2070
|
strokeLinecap: "round"
|
|
1846
2071
|
}
|
|
1847
2072
|
),
|
|
1848
|
-
/* @__PURE__ */
|
|
2073
|
+
/* @__PURE__ */ jsx35(
|
|
1849
2074
|
"path",
|
|
1850
2075
|
{
|
|
1851
2076
|
d: "M9.5 5.5 12 8m0 0-2.5 2.5M12 8H6",
|
|
@@ -1862,10 +2087,10 @@ var DisconnectIcon = (_a) => {
|
|
|
1862
2087
|
DisconnectIcon.displayName = "DisconnectIcon";
|
|
1863
2088
|
|
|
1864
2089
|
// src/primitives/icon/svg/dots-horizontal.tsx
|
|
1865
|
-
import { jsx as
|
|
2090
|
+
import { jsx as jsx36, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
1866
2091
|
var DotsHorizontalIcon = (_a) => {
|
|
1867
2092
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1868
|
-
return /* @__PURE__ */
|
|
2093
|
+
return /* @__PURE__ */ jsxs32(
|
|
1869
2094
|
"svg",
|
|
1870
2095
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1871
2096
|
viewBox: "0 0 16 16",
|
|
@@ -1873,10 +2098,10 @@ var DotsHorizontalIcon = (_a) => {
|
|
|
1873
2098
|
fill: "none"
|
|
1874
2099
|
}, getIconA11yProps(title)), props), {
|
|
1875
2100
|
children: [
|
|
1876
|
-
title ? /* @__PURE__ */
|
|
1877
|
-
/* @__PURE__ */
|
|
1878
|
-
/* @__PURE__ */
|
|
1879
|
-
/* @__PURE__ */
|
|
2101
|
+
title ? /* @__PURE__ */ jsx36("title", { children: title }) : null,
|
|
2102
|
+
/* @__PURE__ */ jsx36("circle", { cx: "3.5", cy: "8", r: "1.25", fill: "currentColor" }),
|
|
2103
|
+
/* @__PURE__ */ jsx36("circle", { cx: "8", cy: "8", r: "1.25", fill: "currentColor" }),
|
|
2104
|
+
/* @__PURE__ */ jsx36("circle", { cx: "12.5", cy: "8", r: "1.25", fill: "currentColor" })
|
|
1880
2105
|
]
|
|
1881
2106
|
})
|
|
1882
2107
|
);
|
|
@@ -1884,10 +2109,10 @@ var DotsHorizontalIcon = (_a) => {
|
|
|
1884
2109
|
DotsHorizontalIcon.displayName = "DotsHorizontalIcon";
|
|
1885
2110
|
|
|
1886
2111
|
// src/primitives/icon/svg/document.tsx
|
|
1887
|
-
import { jsx as
|
|
2112
|
+
import { jsx as jsx37, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
1888
2113
|
var DocumentIcon = (_a) => {
|
|
1889
2114
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1890
|
-
return /* @__PURE__ */
|
|
2115
|
+
return /* @__PURE__ */ jsxs33(
|
|
1891
2116
|
"svg",
|
|
1892
2117
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1893
2118
|
viewBox: "0 0 16 16",
|
|
@@ -1895,15 +2120,15 @@ var DocumentIcon = (_a) => {
|
|
|
1895
2120
|
fill: "none"
|
|
1896
2121
|
}, getIconA11yProps(title)), props), {
|
|
1897
2122
|
children: [
|
|
1898
|
-
title ? /* @__PURE__ */
|
|
1899
|
-
/* @__PURE__ */
|
|
2123
|
+
title ? /* @__PURE__ */ jsx37("title", { children: title }) : null,
|
|
2124
|
+
/* @__PURE__ */ jsx37("g", { clipPath: "url(#document-clip)", children: /* @__PURE__ */ jsx37(
|
|
1900
2125
|
"path",
|
|
1901
2126
|
{
|
|
1902
2127
|
d: "M11.3335 9.33335C11.3335 9.51016 11.2633 9.67973 11.1382 9.80475C11.0132 9.92978 10.8436 10 10.6668 10H5.3335C5.15669 10 4.98712 9.92978 4.86209 9.80475C4.73707 9.67973 4.66683 9.51016 4.66683 9.33335C4.66683 9.15654 4.73707 8.98697 4.86209 8.86194C4.98712 8.73692 5.15669 8.66668 5.3335 8.66668H10.6668C10.8436 8.66668 11.0132 8.73692 11.1382 8.86194C11.2633 8.98697 11.3335 9.15654 11.3335 9.33335ZM8.66683 11.3333H5.3335C5.15669 11.3333 4.98712 11.4036 4.86209 11.5286C4.73707 11.6536 4.66683 11.8232 4.66683 12C4.66683 12.1768 4.73707 12.3464 4.86209 12.4714C4.98712 12.5964 5.15669 12.6667 5.3335 12.6667H8.66683C8.84364 12.6667 9.01321 12.5964 9.13823 12.4714C9.26326 12.3464 9.3335 12.1768 9.3335 12C9.3335 11.8232 9.26326 11.6536 9.13823 11.5286C9.01321 11.4036 8.84364 11.3333 8.66683 11.3333ZM14.6668 6.99002V12.6667C14.6658 13.5504 14.3142 14.3976 13.6894 15.0225C13.0645 15.6474 12.2172 15.999 11.3335 16H4.66683C3.7831 15.999 2.93587 15.6474 2.31098 15.0225C1.68608 14.3976 1.33455 13.5504 1.3335 12.6667V3.33335C1.33455 2.44962 1.68608 1.60239 2.31098 0.977495C2.93587 0.352603 3.7831 0.00107394 4.66683 1.53658e-05H7.67683C8.28991 -0.00156258 8.89722 0.118407 9.46365 0.352988C10.0301 0.587569 10.5444 0.932107 10.9768 1.36668L13.2995 3.69068C13.7343 4.12284 14.0791 4.63699 14.3138 5.20333C14.5485 5.76968 14.6685 6.37696 14.6668 6.99002ZM10.0342 2.30935C9.82435 2.10612 9.58879 1.9313 9.3335 1.78935V4.66668C9.3335 4.84349 9.40373 5.01306 9.52876 5.13809C9.65378 5.26311 9.82335 5.33335 10.0002 5.33335H12.8775C12.7355 5.07814 12.5604 4.84278 12.3568 4.63335L10.0342 2.30935ZM13.3335 6.99002C13.3335 6.88002 13.3122 6.77468 13.3022 6.66668H10.0002C9.46973 6.66668 8.96102 6.45597 8.58595 6.0809C8.21088 5.70582 8.00016 5.19711 8.00016 4.66668V1.36468C7.89216 1.35468 7.78616 1.33335 7.67683 1.33335H4.66683C4.1364 1.33335 3.62769 1.54406 3.25262 1.91914C2.87754 2.29421 2.66683 2.80292 2.66683 3.33335V12.6667C2.66683 13.1971 2.87754 13.7058 3.25262 14.0809C3.62769 14.456 4.1364 14.6667 4.66683 14.6667H11.3335C11.8639 14.6667 12.3726 14.456 12.7477 14.0809C13.1228 13.7058 13.3335 13.1971 13.3335 12.6667V6.99002Z",
|
|
1903
2128
|
fill: "currentColor"
|
|
1904
2129
|
}
|
|
1905
2130
|
) }),
|
|
1906
|
-
/* @__PURE__ */
|
|
2131
|
+
/* @__PURE__ */ jsx37("defs", { children: /* @__PURE__ */ jsx37("clipPath", { id: "document-clip", children: /* @__PURE__ */ jsx37("rect", { width: "16", height: "16", fill: "white" }) }) })
|
|
1907
2132
|
]
|
|
1908
2133
|
})
|
|
1909
2134
|
);
|
|
@@ -1911,10 +2136,10 @@ var DocumentIcon = (_a) => {
|
|
|
1911
2136
|
DocumentIcon.displayName = "DocumentIcon";
|
|
1912
2137
|
|
|
1913
2138
|
// src/primitives/icon/svg/download.tsx
|
|
1914
|
-
import { jsx as
|
|
2139
|
+
import { jsx as jsx38, jsxs as jsxs34 } from "react/jsx-runtime";
|
|
1915
2140
|
var DownloadIcon = (_a) => {
|
|
1916
2141
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1917
|
-
return /* @__PURE__ */
|
|
2142
|
+
return /* @__PURE__ */ jsxs34(
|
|
1918
2143
|
"svg",
|
|
1919
2144
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1920
2145
|
viewBox: "0 0 16 16",
|
|
@@ -1922,8 +2147,8 @@ var DownloadIcon = (_a) => {
|
|
|
1922
2147
|
fill: "none"
|
|
1923
2148
|
}, getIconA11yProps(title)), props), {
|
|
1924
2149
|
children: [
|
|
1925
|
-
title ? /* @__PURE__ */
|
|
1926
|
-
/* @__PURE__ */
|
|
2150
|
+
title ? /* @__PURE__ */ jsx38("title", { children: title }) : null,
|
|
2151
|
+
/* @__PURE__ */ jsx38(
|
|
1927
2152
|
"path",
|
|
1928
2153
|
{
|
|
1929
2154
|
d: "M8 2.5v7m0 0 2.5-2.5M8 9.5 5.5 7",
|
|
@@ -1933,7 +2158,7 @@ var DownloadIcon = (_a) => {
|
|
|
1933
2158
|
strokeLinejoin: "round"
|
|
1934
2159
|
}
|
|
1935
2160
|
),
|
|
1936
|
-
/* @__PURE__ */
|
|
2161
|
+
/* @__PURE__ */ jsx38("path", { d: "M2.5 12.5h11", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" })
|
|
1937
2162
|
]
|
|
1938
2163
|
})
|
|
1939
2164
|
);
|
|
@@ -1941,10 +2166,10 @@ var DownloadIcon = (_a) => {
|
|
|
1941
2166
|
DownloadIcon.displayName = "DownloadIcon";
|
|
1942
2167
|
|
|
1943
2168
|
// src/primitives/icon/svg/error-filled.tsx
|
|
1944
|
-
import { jsx as
|
|
2169
|
+
import { jsx as jsx39, jsxs as jsxs35 } from "react/jsx-runtime";
|
|
1945
2170
|
var ErrorFilledIcon = (_a) => {
|
|
1946
2171
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1947
|
-
return /* @__PURE__ */
|
|
2172
|
+
return /* @__PURE__ */ jsxs35(
|
|
1948
2173
|
"svg",
|
|
1949
2174
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1950
2175
|
viewBox: "0 0 16 16",
|
|
@@ -1952,10 +2177,10 @@ var ErrorFilledIcon = (_a) => {
|
|
|
1952
2177
|
fill: "none"
|
|
1953
2178
|
}, getIconA11yProps(title)), props), {
|
|
1954
2179
|
children: [
|
|
1955
|
-
title ? /* @__PURE__ */
|
|
1956
|
-
/* @__PURE__ */
|
|
1957
|
-
/* @__PURE__ */
|
|
1958
|
-
/* @__PURE__ */
|
|
2180
|
+
title ? /* @__PURE__ */ jsx39("title", { children: title }) : null,
|
|
2181
|
+
/* @__PURE__ */ jsx39("circle", { cx: "8", cy: "8", r: "8", fill: "currentColor" }),
|
|
2182
|
+
/* @__PURE__ */ jsx39("path", { d: "M8 4.16699V8.50033", stroke: "white", strokeWidth: "1.4", strokeLinecap: "round" }),
|
|
2183
|
+
/* @__PURE__ */ jsx39("circle", { cx: "8", cy: "11.167", r: "0.833333", fill: "white" })
|
|
1959
2184
|
]
|
|
1960
2185
|
})
|
|
1961
2186
|
);
|
|
@@ -1963,10 +2188,10 @@ var ErrorFilledIcon = (_a) => {
|
|
|
1963
2188
|
ErrorFilledIcon.displayName = "ErrorFilledIcon";
|
|
1964
2189
|
|
|
1965
2190
|
// src/primitives/icon/svg/external-link.tsx
|
|
1966
|
-
import { jsx as
|
|
2191
|
+
import { jsx as jsx40, jsxs as jsxs36 } from "react/jsx-runtime";
|
|
1967
2192
|
var ExternalLinkIcon = (_a) => {
|
|
1968
2193
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1969
|
-
return /* @__PURE__ */
|
|
2194
|
+
return /* @__PURE__ */ jsxs36(
|
|
1970
2195
|
"svg",
|
|
1971
2196
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1972
2197
|
viewBox: "0 0 14 14",
|
|
@@ -1974,15 +2199,15 @@ var ExternalLinkIcon = (_a) => {
|
|
|
1974
2199
|
fill: "none"
|
|
1975
2200
|
}, getIconA11yProps(title)), props), {
|
|
1976
2201
|
children: [
|
|
1977
|
-
title ? /* @__PURE__ */
|
|
1978
|
-
/* @__PURE__ */
|
|
2202
|
+
title ? /* @__PURE__ */ jsx40("title", { children: title }) : null,
|
|
2203
|
+
/* @__PURE__ */ jsx40("g", { clipPath: "url(#clip0_422_235)", children: /* @__PURE__ */ jsx40(
|
|
1979
2204
|
"path",
|
|
1980
2205
|
{
|
|
1981
2206
|
d: "M11.6667 6.41667V11.0833C11.6667 12.6916 10.3582 14 8.75 14H2.91667C1.30842 14 0 12.6916 0 11.0833V5.25C0 3.64175 1.30842 2.33333 2.91667 2.33333H7.58333C7.90533 2.33333 8.16667 2.59467 8.16667 2.91667C8.16667 3.23867 7.90533 3.5 7.58333 3.5H2.91667C1.95183 3.5 1.16667 4.28517 1.16667 5.25V11.0833C1.16667 12.0482 1.95183 12.8333 2.91667 12.8333H8.75C9.71483 12.8333 10.5 12.0482 10.5 11.0833V6.41667C10.5 6.09467 10.7613 5.83333 11.0833 5.83333C11.4053 5.83333 11.6667 6.09467 11.6667 6.41667ZM12.25 0H8.16667C7.84467 0 7.58333 0.261333 7.58333 0.583333C7.58333 0.905333 7.84467 1.16667 8.16667 1.16667H12.0085L4.83758 8.33758C4.6095 8.56567 4.6095 8.93433 4.83758 9.16242C4.95133 9.27617 5.10067 9.33333 5.25 9.33333C5.39933 9.33333 5.54867 9.27617 5.66242 9.16242L12.8333 1.9915V5.83333C12.8333 6.15533 13.0947 6.41667 13.4167 6.41667C13.7387 6.41667 14 6.15533 14 5.83333V1.75C14 0.785167 13.2148 0 12.25 0Z",
|
|
1982
2207
|
fill: "currentColor"
|
|
1983
2208
|
}
|
|
1984
2209
|
) }),
|
|
1985
|
-
/* @__PURE__ */
|
|
2210
|
+
/* @__PURE__ */ jsx40("defs", { children: /* @__PURE__ */ jsx40("clipPath", { id: "clip0_422_235", children: /* @__PURE__ */ jsx40("rect", { width: "14", height: "14", fill: "white" }) }) })
|
|
1986
2211
|
]
|
|
1987
2212
|
})
|
|
1988
2213
|
);
|
|
@@ -1990,10 +2215,10 @@ var ExternalLinkIcon = (_a) => {
|
|
|
1990
2215
|
ExternalLinkIcon.displayName = "ExternalLinkIcon";
|
|
1991
2216
|
|
|
1992
2217
|
// src/primitives/icon/svg/ethereum.tsx
|
|
1993
|
-
import { jsx as
|
|
2218
|
+
import { jsx as jsx41, jsxs as jsxs37 } from "react/jsx-runtime";
|
|
1994
2219
|
var EthereumIcon = (_a) => {
|
|
1995
2220
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1996
|
-
return /* @__PURE__ */
|
|
2221
|
+
return /* @__PURE__ */ jsxs37(
|
|
1997
2222
|
"svg",
|
|
1998
2223
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1999
2224
|
viewBox: "0 0 24 24",
|
|
@@ -2001,16 +2226,16 @@ var EthereumIcon = (_a) => {
|
|
|
2001
2226
|
fill: "none"
|
|
2002
2227
|
}, getIconA11yProps(title)), props), {
|
|
2003
2228
|
children: [
|
|
2004
|
-
title ? /* @__PURE__ */
|
|
2005
|
-
/* @__PURE__ */
|
|
2006
|
-
/* @__PURE__ */
|
|
2229
|
+
title ? /* @__PURE__ */ jsx41("title", { children: title }) : null,
|
|
2230
|
+
/* @__PURE__ */ jsx41("rect", { width: "24", height: "24", rx: "8", fill: "#627EEA" }),
|
|
2231
|
+
/* @__PURE__ */ jsx41(
|
|
2007
2232
|
"path",
|
|
2008
2233
|
{
|
|
2009
2234
|
fill: "#fff",
|
|
2010
2235
|
d: "M12.001 4.5 11.9 4.84v10.013l.101.101 4.646-2.747L12 4.5Zm0 0L7.355 12.207l4.646 2.747V4.5Zm0 11.401-.057.069v3.566l.057.164 4.649-6.039-4.649 2.74Zm0 3.799v-3.799l-4.646-2.74L12 19.7Z"
|
|
2011
2236
|
}
|
|
2012
2237
|
),
|
|
2013
|
-
/* @__PURE__ */
|
|
2238
|
+
/* @__PURE__ */ jsx41(
|
|
2014
2239
|
"path",
|
|
2015
2240
|
{
|
|
2016
2241
|
fill: "#DDE4FF",
|
|
@@ -2024,10 +2249,10 @@ var EthereumIcon = (_a) => {
|
|
|
2024
2249
|
EthereumIcon.displayName = "EthereumIcon";
|
|
2025
2250
|
|
|
2026
2251
|
// src/primitives/icon/svg/google.tsx
|
|
2027
|
-
import { jsx as
|
|
2252
|
+
import { jsx as jsx42, jsxs as jsxs38 } from "react/jsx-runtime";
|
|
2028
2253
|
var GoogleIcon = (_a) => {
|
|
2029
2254
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2030
|
-
return /* @__PURE__ */
|
|
2255
|
+
return /* @__PURE__ */ jsxs38(
|
|
2031
2256
|
"svg",
|
|
2032
2257
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2033
2258
|
viewBox: "0 0 24 24",
|
|
@@ -2035,29 +2260,29 @@ var GoogleIcon = (_a) => {
|
|
|
2035
2260
|
fill: "none"
|
|
2036
2261
|
}, getIconA11yProps(title)), props), {
|
|
2037
2262
|
children: [
|
|
2038
|
-
title ? /* @__PURE__ */
|
|
2039
|
-
/* @__PURE__ */
|
|
2263
|
+
title ? /* @__PURE__ */ jsx42("title", { children: title }) : null,
|
|
2264
|
+
/* @__PURE__ */ jsx42(
|
|
2040
2265
|
"path",
|
|
2041
2266
|
{
|
|
2042
2267
|
fill: "#4285F4",
|
|
2043
2268
|
d: "M23.49 12.27c0-.79-.07-1.55-.22-2.27H12v4.3h6.45a5.53 5.53 0 0 1-2.4 3.63v3.58h4.63c1.86-1.72 2.81-4.75 2.81-8.24Z"
|
|
2044
2269
|
}
|
|
2045
2270
|
),
|
|
2046
|
-
/* @__PURE__ */
|
|
2271
|
+
/* @__PURE__ */ jsx42(
|
|
2047
2272
|
"path",
|
|
2048
2273
|
{
|
|
2049
2274
|
fill: "#34A853",
|
|
2050
2275
|
d: "M12 24c3.24 0 5.96-1.08 7.95-2.92l-3.87-3c-1.08.73-2.46 1.17-4.08 1.17-3.13 0-5.79-2.11-6.73-4.96H1.28v3.09A11.998 11.998 0 0 0 12 24Z"
|
|
2051
2276
|
}
|
|
2052
2277
|
),
|
|
2053
|
-
/* @__PURE__ */
|
|
2278
|
+
/* @__PURE__ */ jsx42(
|
|
2054
2279
|
"path",
|
|
2055
2280
|
{
|
|
2056
2281
|
fill: "#FBBC05",
|
|
2057
2282
|
d: "M5.27 14.29A7.21 7.21 0 0 1 4.9 12c0-.79.14-1.55.37-2.29V6.62H1.28A12 12 0 0 0 0 12c0 1.94.46 3.78 1.28 5.38l3.99-3.09Z"
|
|
2058
2283
|
}
|
|
2059
2284
|
),
|
|
2060
|
-
/* @__PURE__ */
|
|
2285
|
+
/* @__PURE__ */ jsx42(
|
|
2061
2286
|
"path",
|
|
2062
2287
|
{
|
|
2063
2288
|
fill: "#EA4335",
|
|
@@ -2071,10 +2296,10 @@ var GoogleIcon = (_a) => {
|
|
|
2071
2296
|
GoogleIcon.displayName = "GoogleIcon";
|
|
2072
2297
|
|
|
2073
2298
|
// src/primitives/icon/svg/image.tsx
|
|
2074
|
-
import { jsx as
|
|
2299
|
+
import { jsx as jsx43, jsxs as jsxs39 } from "react/jsx-runtime";
|
|
2075
2300
|
var ImageIcon = (_a) => {
|
|
2076
2301
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2077
|
-
return /* @__PURE__ */
|
|
2302
|
+
return /* @__PURE__ */ jsxs39(
|
|
2078
2303
|
"svg",
|
|
2079
2304
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2080
2305
|
viewBox: "0 0 32 32",
|
|
@@ -2082,8 +2307,8 @@ var ImageIcon = (_a) => {
|
|
|
2082
2307
|
fill: "none"
|
|
2083
2308
|
}, getIconA11yProps(title)), props), {
|
|
2084
2309
|
children: [
|
|
2085
|
-
title ? /* @__PURE__ */
|
|
2086
|
-
/* @__PURE__ */
|
|
2310
|
+
title ? /* @__PURE__ */ jsx43("title", { children: title }) : null,
|
|
2311
|
+
/* @__PURE__ */ jsx43(
|
|
2087
2312
|
"path",
|
|
2088
2313
|
{
|
|
2089
2314
|
d: "M30 2.497h-28c-1.099 0-2 0.901-2 2v23.006c0 1.099 0.9 2 2 2h28c1.099 0 2-0.901 2-2v-23.006c0-1.099-0.901-2-2-2zM30 27.503l-28-0v-5.892l8.027-7.779 8.275 8.265c0.341 0.414 0.948 0.361 1.379 0.035l3.652-3.306 6.587 6.762c0.025 0.025 0.053 0.044 0.080 0.065v1.85zM30 22.806l-5.876-6.013c-0.357-0.352-0.915-0.387-1.311-0.086l-3.768 3.282-8.28-8.19c-0.177-0.214-0.432-0.344-0.709-0.363-0.275-0.010-0.547 0.080-0.749 0.27l-7.309 7.112v-14.322h28v18.309zM23 12.504c1.102 0 1.995-0.894 1.995-1.995s-0.892-1.995-1.995-1.995-1.995 0.894-1.995 1.995c0 1.101 0.892 1.995 1.995 1.995z",
|
|
@@ -2097,10 +2322,10 @@ var ImageIcon = (_a) => {
|
|
|
2097
2322
|
ImageIcon.displayName = "ImageIcon";
|
|
2098
2323
|
|
|
2099
2324
|
// src/primitives/icon/svg/info.tsx
|
|
2100
|
-
import { jsx as
|
|
2325
|
+
import { jsx as jsx44, jsxs as jsxs40 } from "react/jsx-runtime";
|
|
2101
2326
|
var InfoIcon = (_a) => {
|
|
2102
2327
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2103
|
-
return /* @__PURE__ */
|
|
2328
|
+
return /* @__PURE__ */ jsxs40(
|
|
2104
2329
|
"svg",
|
|
2105
2330
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2106
2331
|
viewBox: "0 0 12 12",
|
|
@@ -2108,23 +2333,23 @@ var InfoIcon = (_a) => {
|
|
|
2108
2333
|
fill: "none"
|
|
2109
2334
|
}, getIconA11yProps(title)), props), {
|
|
2110
2335
|
children: [
|
|
2111
|
-
title ? /* @__PURE__ */
|
|
2112
|
-
/* @__PURE__ */
|
|
2113
|
-
/* @__PURE__ */
|
|
2336
|
+
title ? /* @__PURE__ */ jsx44("title", { children: title }) : null,
|
|
2337
|
+
/* @__PURE__ */ jsxs40("g", { clipPath: "url(#info_clip)", children: [
|
|
2338
|
+
/* @__PURE__ */ jsx44(
|
|
2114
2339
|
"path",
|
|
2115
2340
|
{
|
|
2116
2341
|
d: "M6 0C4.81331 0 3.65328 0.351894 2.66658 1.01118C1.67989 1.67047 0.910851 2.60754 0.456726 3.7039C0.00259972 4.80026 -0.11622 6.00666 0.115291 7.17054C0.346802 8.33443 0.918247 9.40353 1.75736 10.2426C2.59648 11.0818 3.66558 11.6532 4.82946 11.8847C5.99335 12.1162 7.19975 11.9974 8.2961 11.5433C9.39246 11.0892 10.3295 10.3201 10.9888 9.33342C11.6481 8.34673 12 7.18669 12 6C11.9983 4.40923 11.3656 2.88411 10.2407 1.75926C9.1159 0.634414 7.59077 0.00172054 6 0ZM6 11C5.0111 11 4.0444 10.7068 3.22215 10.1573C2.39991 9.60794 1.75904 8.82705 1.38061 7.91342C1.00217 6.99979 0.90315 5.99445 1.09608 5.02455C1.289 4.05464 1.76521 3.16373 2.46447 2.46447C3.16373 1.7652 4.05465 1.289 5.02455 1.09607C5.99446 0.903148 6.99979 1.00216 7.91342 1.3806C8.82705 1.75904 9.60794 2.3999 10.1574 3.22215C10.7068 4.04439 11 5.01109 11 6C10.9985 7.32564 10.4713 8.59656 9.53393 9.53393C8.59656 10.4713 7.32564 10.9985 6 11Z",
|
|
2117
2342
|
fill: "currentColor"
|
|
2118
2343
|
}
|
|
2119
2344
|
),
|
|
2120
|
-
/* @__PURE__ */
|
|
2345
|
+
/* @__PURE__ */ jsx44(
|
|
2121
2346
|
"path",
|
|
2122
2347
|
{
|
|
2123
2348
|
d: "M6 5H5.5C5.36739 5 5.24021 5.05268 5.14645 5.14645C5.05268 5.24021 5 5.36739 5 5.5C5 5.63261 5.05268 5.75979 5.14645 5.85355C5.24021 5.94732 5.36739 6 5.5 6H6V9C6 9.13261 6.05268 9.25979 6.14645 9.35355C6.24021 9.44732 6.36739 9.5 6.5 9.5C6.63261 9.5 6.75979 9.44732 6.85355 9.35355C6.94732 9.25979 7 9.13261 7 9V6C7 5.73478 6.89464 5.48043 6.70711 5.29289C6.51957 5.10536 6.26522 5 6 5Z",
|
|
2124
2349
|
fill: "currentColor"
|
|
2125
2350
|
}
|
|
2126
2351
|
),
|
|
2127
|
-
/* @__PURE__ */
|
|
2352
|
+
/* @__PURE__ */ jsx44(
|
|
2128
2353
|
"path",
|
|
2129
2354
|
{
|
|
2130
2355
|
d: "M6 4C6.41421 4 6.75 3.66421 6.75 3.25C6.75 2.83579 6.41421 2.5 6 2.5C5.58579 2.5 5.25 2.83579 5.25 3.25C5.25 3.66421 5.58579 4 6 4Z",
|
|
@@ -2132,7 +2357,7 @@ var InfoIcon = (_a) => {
|
|
|
2132
2357
|
}
|
|
2133
2358
|
)
|
|
2134
2359
|
] }),
|
|
2135
|
-
/* @__PURE__ */
|
|
2360
|
+
/* @__PURE__ */ jsx44("defs", { children: /* @__PURE__ */ jsx44("clipPath", { id: "info_clip", children: /* @__PURE__ */ jsx44("rect", { width: "12", height: "12", fill: "white" }) }) })
|
|
2136
2361
|
]
|
|
2137
2362
|
})
|
|
2138
2363
|
);
|
|
@@ -2140,10 +2365,10 @@ var InfoIcon = (_a) => {
|
|
|
2140
2365
|
InfoIcon.displayName = "InfoIcon";
|
|
2141
2366
|
|
|
2142
2367
|
// src/primitives/icon/svg/check-badge.tsx
|
|
2143
|
-
import { jsx as
|
|
2368
|
+
import { jsx as jsx45, jsxs as jsxs41 } from "react/jsx-runtime";
|
|
2144
2369
|
var CheckBadgeIcon = (_a) => {
|
|
2145
2370
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2146
|
-
return /* @__PURE__ */
|
|
2371
|
+
return /* @__PURE__ */ jsxs41(
|
|
2147
2372
|
"svg",
|
|
2148
2373
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2149
2374
|
viewBox: "0 0 16 16",
|
|
@@ -2151,15 +2376,15 @@ var CheckBadgeIcon = (_a) => {
|
|
|
2151
2376
|
fill: "none"
|
|
2152
2377
|
}, getIconA11yProps(title)), props), {
|
|
2153
2378
|
children: [
|
|
2154
|
-
title ? /* @__PURE__ */
|
|
2155
|
-
/* @__PURE__ */
|
|
2379
|
+
title ? /* @__PURE__ */ jsx45("title", { children: title }) : null,
|
|
2380
|
+
/* @__PURE__ */ jsx45("g", { clipPath: "url(#check-badge-clip)", children: /* @__PURE__ */ jsx45(
|
|
2156
2381
|
"path",
|
|
2157
2382
|
{
|
|
2158
2383
|
d: "M15.4173 6.57883L13.9833 5.14283V3.9975C13.9833 2.89683 13.0886 2.00083 11.9893 2.00083H10.8453L9.4113 0.5655C8.6573 -0.1885 7.34397 -0.1885 6.59063 0.5655L5.15663 2.00083H4.01263C2.91263 2.00083 2.01863 2.89617 2.01863 3.9975V5.14283L0.583965 6.57883C-0.192702 7.3575 -0.192702 8.6235 0.583965 9.40217L2.01796 10.8382V11.9835C2.01796 13.0842 2.91263 13.9802 4.01196 13.9802H5.15596L6.58997 15.4155C6.96663 15.7922 7.46797 16.0002 8.00063 16.0002C8.5333 16.0002 9.03397 15.7922 9.41063 15.4155L10.8446 13.9802H11.9886C13.0886 13.9802 13.9826 13.0848 13.9826 11.9835V10.8382L15.4173 9.40217C16.194 8.6235 16.194 7.3575 15.4173 6.57883ZM12.136 6.8075L8.76663 10.1375C8.3573 10.5442 7.81797 10.7482 7.2793 10.7482C6.74063 10.7482 6.20396 10.5448 5.7933 10.1395L4.06063 8.4735C3.7993 8.21417 3.79663 7.79283 4.05596 7.53083C4.31596 7.27017 4.73663 7.26683 4.9993 7.52617L6.7313 9.1915C7.0333 9.49083 7.52463 9.4915 7.8273 9.1915L11.1973 5.86083C11.46 5.60083 11.8813 5.6035 12.1406 5.8655C12.4 6.1275 12.3973 6.54817 12.136 6.8075Z",
|
|
2159
2384
|
fill: "currentColor"
|
|
2160
2385
|
}
|
|
2161
2386
|
) }),
|
|
2162
|
-
/* @__PURE__ */
|
|
2387
|
+
/* @__PURE__ */ jsx45("defs", { children: /* @__PURE__ */ jsx45("clipPath", { id: "check-badge-clip", children: /* @__PURE__ */ jsx45("rect", { width: "16", height: "16", fill: "white" }) }) })
|
|
2163
2388
|
]
|
|
2164
2389
|
})
|
|
2165
2390
|
);
|
|
@@ -2167,10 +2392,10 @@ var CheckBadgeIcon = (_a) => {
|
|
|
2167
2392
|
CheckBadgeIcon.displayName = "CheckBadgeIcon";
|
|
2168
2393
|
|
|
2169
2394
|
// src/primitives/icon/svg/discord.tsx
|
|
2170
|
-
import { jsx as
|
|
2395
|
+
import { jsx as jsx46, jsxs as jsxs42 } from "react/jsx-runtime";
|
|
2171
2396
|
var DiscordIcon = (_a) => {
|
|
2172
2397
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2173
|
-
return /* @__PURE__ */
|
|
2398
|
+
return /* @__PURE__ */ jsxs42(
|
|
2174
2399
|
"svg",
|
|
2175
2400
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2176
2401
|
viewBox: "0 0 20 20",
|
|
@@ -2178,8 +2403,8 @@ var DiscordIcon = (_a) => {
|
|
|
2178
2403
|
fill: "none"
|
|
2179
2404
|
}, getIconA11yProps(title)), props), {
|
|
2180
2405
|
children: [
|
|
2181
|
-
title ? /* @__PURE__ */
|
|
2182
|
-
/* @__PURE__ */
|
|
2406
|
+
title ? /* @__PURE__ */ jsx46("title", { children: title }) : null,
|
|
2407
|
+
/* @__PURE__ */ jsx46(
|
|
2183
2408
|
"path",
|
|
2184
2409
|
{
|
|
2185
2410
|
d: "M16.3546 4.49236C15.1858 3.95607 13.9329 3.56111 12.6227 3.33499C12.599 3.3304 12.5754 3.34186 12.5624 3.36325C12.4012 3.64973 12.2224 4.02406 12.0979 4.31742C10.6884 4.10657 9.28659 4.10657 7.90615 4.31742C7.78162 4.01719 7.59598 3.64973 7.43479 3.36325C7.42181 3.34186 7.39812 3.33117 7.37444 3.33499C6.06504 3.56035 4.81218 3.95531 3.64258 4.49236C3.63265 4.49618 3.62348 4.50382 3.61813 4.51298C1.24151 8.06379 0.589865 11.5275 0.909193 14.9484C0.910721 14.9653 0.919888 14.9813 0.932875 14.9912C2.50125 16.1433 4.01997 16.8423 5.51119 17.3052C5.53487 17.3128 5.56008 17.3037 5.57536 17.2838C5.9283 16.8025 6.24228 16.2945 6.51195 15.7605C6.52799 15.7292 6.51271 15.6918 6.47986 15.6795C5.98101 15.4901 5.5066 15.2594 5.04976 14.9981C5.01386 14.9767 5.0108 14.9255 5.04365 14.9003C5.13991 14.8285 5.23617 14.7536 5.32784 14.678C5.34465 14.6643 5.36756 14.6612 5.38743 14.6704C8.38819 16.0401 11.6365 16.0401 14.6013 14.6704C14.6212 14.6612 14.6441 14.6635 14.6617 14.678C14.7534 14.7536 14.8496 14.8293 14.9466 14.9011C14.9803 14.9255 14.978 14.9775 14.9413 14.9989C14.4845 15.2655 14.01 15.4916 13.5104 15.6795C13.4776 15.6918 13.4638 15.73 13.4791 15.7613C13.7541 16.2945 14.0689 16.8025 14.4149 17.2838C14.4295 17.3044 14.4554 17.3128 14.4791 17.306C15.9772 16.8423 17.4967 16.1433 19.0643 14.992C19.078 14.9821 19.0865 14.9668 19.088 14.95C19.4699 10.995 18.4478 7.55959 16.3775 4.51451C16.3737 4.50382 16.3645 4.49618 16.3546 4.49236ZM6.96038 12.8659C6.05664 12.8659 5.31256 12.0363 5.31256 11.018C5.31256 9.99962 6.04213 9.16998 6.96038 9.16998C7.88552 9.16998 8.62272 10.0065 8.60821 11.018C8.60821 12.0371 7.87788 12.8659 6.96038 12.8659ZM13.0528 12.8659C12.1498 12.8659 11.405 12.0363 11.405 11.018C11.405 9.99962 12.1346 9.16998 13.0528 9.16998C13.978 9.16998 14.7152 10.0065 14.7007 11.018C14.7007 12.0371 13.978 12.8659 13.0528 12.8659Z",
|
|
@@ -2193,10 +2418,10 @@ var DiscordIcon = (_a) => {
|
|
|
2193
2418
|
DiscordIcon.displayName = "DiscordIcon";
|
|
2194
2419
|
|
|
2195
2420
|
// src/primitives/icon/svg/email.tsx
|
|
2196
|
-
import { jsx as
|
|
2421
|
+
import { jsx as jsx47, jsxs as jsxs43 } from "react/jsx-runtime";
|
|
2197
2422
|
var EmailIcon = (_a) => {
|
|
2198
2423
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2199
|
-
return /* @__PURE__ */
|
|
2424
|
+
return /* @__PURE__ */ jsxs43(
|
|
2200
2425
|
"svg",
|
|
2201
2426
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2202
2427
|
viewBox: "0 0 20 20",
|
|
@@ -2204,8 +2429,8 @@ var EmailIcon = (_a) => {
|
|
|
2204
2429
|
fill: "none"
|
|
2205
2430
|
}, getIconA11yProps(title)), props), {
|
|
2206
2431
|
children: [
|
|
2207
|
-
title ? /* @__PURE__ */
|
|
2208
|
-
/* @__PURE__ */
|
|
2432
|
+
title ? /* @__PURE__ */ jsx47("title", { children: title }) : null,
|
|
2433
|
+
/* @__PURE__ */ jsx47(
|
|
2209
2434
|
"path",
|
|
2210
2435
|
{
|
|
2211
2436
|
d: "M3.33333 3.33398H16.6667C17.5833 3.33398 18.3333 4.08398 18.3333 5.00065V15.0007C18.3333 15.9173 17.5833 16.6673 16.6667 16.6673H3.33333C2.41667 16.6673 1.66667 15.9173 1.66667 15.0007V5.00065C1.66667 4.08398 2.41667 3.33398 3.33333 3.33398Z",
|
|
@@ -2215,7 +2440,7 @@ var EmailIcon = (_a) => {
|
|
|
2215
2440
|
strokeLinejoin: "round"
|
|
2216
2441
|
}
|
|
2217
2442
|
),
|
|
2218
|
-
/* @__PURE__ */
|
|
2443
|
+
/* @__PURE__ */ jsx47(
|
|
2219
2444
|
"path",
|
|
2220
2445
|
{
|
|
2221
2446
|
d: "M18.3333 5L10 10.8333L1.66667 5",
|
|
@@ -2232,10 +2457,10 @@ var EmailIcon = (_a) => {
|
|
|
2232
2457
|
EmailIcon.displayName = "EmailIcon";
|
|
2233
2458
|
|
|
2234
2459
|
// src/primitives/icon/svg/link-accounts.tsx
|
|
2235
|
-
import { jsx as
|
|
2460
|
+
import { jsx as jsx48, jsxs as jsxs44 } from "react/jsx-runtime";
|
|
2236
2461
|
var LinkAccountsIcon = (_a) => {
|
|
2237
2462
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2238
|
-
return /* @__PURE__ */
|
|
2463
|
+
return /* @__PURE__ */ jsxs44(
|
|
2239
2464
|
"svg",
|
|
2240
2465
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2241
2466
|
width: "28",
|
|
@@ -2246,15 +2471,15 @@ var LinkAccountsIcon = (_a) => {
|
|
|
2246
2471
|
className
|
|
2247
2472
|
}, getIconA11yProps(title)), props), {
|
|
2248
2473
|
children: [
|
|
2249
|
-
title ? /* @__PURE__ */
|
|
2250
|
-
/* @__PURE__ */
|
|
2474
|
+
title ? /* @__PURE__ */ jsx48("title", { children: title }) : null,
|
|
2475
|
+
/* @__PURE__ */ jsx48("g", { clipPath: "url(#clip0_link_accounts)", children: /* @__PURE__ */ jsx48(
|
|
2251
2476
|
"path",
|
|
2252
2477
|
{
|
|
2253
2478
|
d: "M28 18.0835C28 22.2648 24.598 25.6668 20.4167 25.6668H14.5833C10.402 25.6668 7 22.2648 7 18.0835C7 13.9022 10.402 10.5002 14.5833 10.5002H16.9167C17.2387 10.5002 17.5 10.7615 17.5 11.0835C17.5 11.4055 17.2387 11.6668 16.9167 11.6668H14.5833C11.0448 11.6668 8.16667 14.5462 8.16667 18.0835C8.16667 21.6208 11.0448 24.5002 14.5833 24.5002H20.4167C23.9552 24.5002 26.8333 21.6208 26.8333 18.0835C26.8333 15.7992 25.6037 13.67 23.625 12.5243C23.3462 12.3633 23.2505 12.0063 23.4127 11.7275C23.5725 11.4487 23.9283 11.3507 24.2095 11.514C26.5475 12.8662 28.0012 15.3827 28.0012 18.0823L28 18.0835ZM4.375 15.476C2.39517 14.3315 1.16667 12.2012 1.16667 9.91683C1.16667 6.3795 4.04483 3.50016 7.58333 3.50016H13.4167C16.9552 3.50016 19.8333 6.3795 19.8333 9.91683C19.8333 13.4542 16.9552 16.3335 13.4167 16.3335H11.0833C10.7613 16.3335 10.5 16.5948 10.5 16.9168C10.5 17.2388 10.7613 17.5002 11.0833 17.5002H13.4167C17.598 17.5002 21 14.0982 21 9.91683C21 5.7355 17.598 2.3335 13.4167 2.3335H7.58333C3.402 2.3335 0 5.7355 0 9.91683C0 12.6153 1.4525 15.133 3.79167 16.4852C4.0705 16.6462 4.4275 16.5517 4.5885 16.2717C4.75067 15.994 4.655 15.6358 4.37617 15.4748L4.375 15.476Z",
|
|
2254
2479
|
fill: "currentColor"
|
|
2255
2480
|
}
|
|
2256
2481
|
) }),
|
|
2257
|
-
/* @__PURE__ */
|
|
2482
|
+
/* @__PURE__ */ jsx48("defs", { children: /* @__PURE__ */ jsx48("clipPath", { id: "clip0_link_accounts", children: /* @__PURE__ */ jsx48("rect", { width: "28", height: "28", fill: "white" }) }) })
|
|
2258
2483
|
]
|
|
2259
2484
|
})
|
|
2260
2485
|
);
|
|
@@ -2262,10 +2487,10 @@ var LinkAccountsIcon = (_a) => {
|
|
|
2262
2487
|
LinkAccountsIcon.displayName = "LinkAccountsIcon";
|
|
2263
2488
|
|
|
2264
2489
|
// src/primitives/icon/svg/pencil.tsx
|
|
2265
|
-
import { jsx as
|
|
2490
|
+
import { jsx as jsx49, jsxs as jsxs45 } from "react/jsx-runtime";
|
|
2266
2491
|
var PencilIcon = (_a) => {
|
|
2267
2492
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2268
|
-
return /* @__PURE__ */
|
|
2493
|
+
return /* @__PURE__ */ jsxs45(
|
|
2269
2494
|
"svg",
|
|
2270
2495
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2271
2496
|
viewBox: "0 0 16 16",
|
|
@@ -2273,15 +2498,15 @@ var PencilIcon = (_a) => {
|
|
|
2273
2498
|
fill: "none"
|
|
2274
2499
|
}, getIconA11yProps(title)), props), {
|
|
2275
2500
|
children: [
|
|
2276
|
-
title ? /* @__PURE__ */
|
|
2277
|
-
/* @__PURE__ */
|
|
2501
|
+
title ? /* @__PURE__ */ jsx49("title", { children: title }) : null,
|
|
2502
|
+
/* @__PURE__ */ jsx49("g", { clipPath: "url(#pencil_clip)", children: /* @__PURE__ */ jsx49(
|
|
2278
2503
|
"path",
|
|
2279
2504
|
{
|
|
2280
2505
|
d: "M15.2353 0.706709C14.7821 0.254173 14.1678 0 13.5273 0C12.8869 0 12.2726 0.254173 11.8193 0.706709L0.976677 11.5494C0.666178 11.8581 0.419985 12.2254 0.252342 12.6299C0.0846994 13.0344 -0.00106532 13.4682 9.98748e-06 13.906V15.2747C9.98748e-06 15.4515 0.0702479 15.6211 0.195272 15.7461C0.320296 15.8711 0.489866 15.9414 0.666677 15.9414H2.03534C2.47318 15.9426 2.90692 15.857 3.31145 15.6895C3.71597 15.5219 4.08325 15.2758 4.39201 14.9654L15.2353 4.12204C15.6877 3.66884 15.9417 3.05469 15.9417 2.41438C15.9417 1.77406 15.6877 1.15991 15.2353 0.706709ZM3.44934 14.0227C3.07335 14.3962 2.56532 14.6065 2.03534 14.608H1.33334V13.906C1.33267 13.6433 1.38411 13.3831 1.4847 13.1403C1.58529 12.8976 1.73302 12.6773 1.91934 12.492L10.148 4.26338L11.6813 5.79671L3.44934 14.0227ZM14.292 3.17938L12.6213 4.85071L11.088 3.32071L12.7593 1.64938C12.86 1.54891 12.9795 1.46927 13.111 1.41498C13.2424 1.3607 13.3833 1.33284 13.5255 1.33299C13.6678 1.33314 13.8086 1.36131 13.9399 1.41588C14.0712 1.47045 14.1905 1.55036 14.291 1.65104C14.3915 1.75172 14.4711 1.8712 14.5254 2.00266C14.5797 2.13413 14.6076 2.27499 14.6074 2.41722C14.6072 2.55945 14.5791 2.70025 14.5245 2.8316C14.4699 2.96294 14.39 3.08225 14.2893 3.18271L14.292 3.17938Z",
|
|
2281
2506
|
fill: "currentColor"
|
|
2282
2507
|
}
|
|
2283
2508
|
) }),
|
|
2284
|
-
/* @__PURE__ */
|
|
2509
|
+
/* @__PURE__ */ jsx49("defs", { children: /* @__PURE__ */ jsx49("clipPath", { id: "pencil_clip", children: /* @__PURE__ */ jsx49("rect", { width: "16", height: "16", fill: "white" }) }) })
|
|
2285
2510
|
]
|
|
2286
2511
|
})
|
|
2287
2512
|
);
|
|
@@ -2289,10 +2514,10 @@ var PencilIcon = (_a) => {
|
|
|
2289
2514
|
PencilIcon.displayName = "PencilIcon";
|
|
2290
2515
|
|
|
2291
2516
|
// src/primitives/icon/svg/play-square.tsx
|
|
2292
|
-
import { jsx as
|
|
2517
|
+
import { jsx as jsx50, jsxs as jsxs46 } from "react/jsx-runtime";
|
|
2293
2518
|
var PlaySquareIcon = (_a) => {
|
|
2294
2519
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2295
|
-
return /* @__PURE__ */
|
|
2520
|
+
return /* @__PURE__ */ jsxs46(
|
|
2296
2521
|
"svg",
|
|
2297
2522
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2298
2523
|
viewBox: "0 0 16 16",
|
|
@@ -2300,15 +2525,15 @@ var PlaySquareIcon = (_a) => {
|
|
|
2300
2525
|
fill: "none"
|
|
2301
2526
|
}, getIconA11yProps(title)), props), {
|
|
2302
2527
|
children: [
|
|
2303
|
-
title ? /* @__PURE__ */
|
|
2304
|
-
/* @__PURE__ */
|
|
2528
|
+
title ? /* @__PURE__ */ jsx50("title", { children: title }) : null,
|
|
2529
|
+
/* @__PURE__ */ jsx50("g", { clipPath: "url(#play-square-clip)", children: /* @__PURE__ */ jsx50(
|
|
2305
2530
|
"path",
|
|
2306
2531
|
{
|
|
2307
2532
|
d: "M12.6667 16H3.33333C2.4496 15.9989 1.60237 15.6474 0.97748 15.0225C0.352588 14.3976 0.00105857 13.5504 0 12.6667L0 3.33333C0.00105857 2.4496 0.352588 1.60237 0.97748 0.97748C1.60237 0.352588 2.4496 0.00105857 3.33333 0L12.6667 0C13.5504 0.00105857 14.3976 0.352588 15.0225 0.97748C15.6474 1.60237 15.9989 2.4496 16 3.33333V12.6667C15.9989 13.5504 15.6474 14.3976 15.0225 15.0225C14.3976 15.6474 13.5504 15.9989 12.6667 16ZM3.33333 1.33333C2.8029 1.33333 2.29419 1.54405 1.91912 1.91912C1.54405 2.29419 1.33333 2.8029 1.33333 3.33333V12.6667C1.33333 13.1971 1.54405 13.7058 1.91912 14.0809C2.29419 14.456 2.8029 14.6667 3.33333 14.6667H12.6667C13.1971 14.6667 13.7058 14.456 14.0809 14.0809C14.456 13.7058 14.6667 13.1971 14.6667 12.6667V3.33333C14.6667 2.8029 14.456 2.29419 14.0809 1.91912C13.7058 1.54405 13.1971 1.33333 12.6667 1.33333H3.33333ZM6.228 11.3367C5.95008 11.3357 5.67734 11.2615 5.43733 11.1213C5.20023 10.9856 5.00344 10.7894 4.86709 10.5526C4.73074 10.3159 4.65973 10.0472 4.66133 9.774V6.226C4.66111 5.95276 4.73274 5.68427 4.86905 5.44746C5.00537 5.21066 5.20156 5.01386 5.43794 4.87683C5.67433 4.73979 5.9426 4.66733 6.21584 4.66672C6.48907 4.6661 6.75767 4.73736 6.99467 4.87333L10.5133 6.63C10.7577 6.76194 10.9624 6.95685 11.1062 7.19452C11.2499 7.4322 11.3274 7.70399 11.3308 7.98172C11.3341 8.25946 11.2631 8.53303 11.1251 8.77408C10.9871 9.01514 10.7872 9.2149 10.546 9.35267L6.962 11.144C6.73847 11.2715 6.48533 11.3379 6.228 11.3367ZM6.21133 6.00333C6.17459 6.00332 6.13849 6.01298 6.10667 6.03133C6.07209 6.05056 6.0434 6.07884 6.02367 6.11313C6.00394 6.14743 5.99391 6.18644 5.99467 6.226V9.774C5.99489 9.81297 6.00525 9.85121 6.02473 9.88497C6.0442 9.91872 6.07212 9.94683 6.10574 9.96653C6.13936 9.98624 6.17753 9.99686 6.2165 9.99735C6.25547 9.99784 6.29389 9.98818 6.328 9.96933L9.912 8.17733C9.93869 8.15646 9.95992 8.12941 9.97385 8.09852C9.98779 8.06764 9.99401 8.03383 9.992 8C9.99284 7.96035 9.98277 7.92123 9.96291 7.8869C9.94304 7.85258 9.91413 7.82436 9.87933 7.80533L6.36333 6.04867C6.31749 6.02054 6.26509 6.00492 6.21133 6.00333Z",
|
|
2308
2533
|
fill: "currentColor"
|
|
2309
2534
|
}
|
|
2310
2535
|
) }),
|
|
2311
|
-
/* @__PURE__ */
|
|
2536
|
+
/* @__PURE__ */ jsx50("defs", { children: /* @__PURE__ */ jsx50("clipPath", { id: "play-square-clip", children: /* @__PURE__ */ jsx50("rect", { width: "16", height: "16", fill: "white" }) }) })
|
|
2312
2537
|
]
|
|
2313
2538
|
})
|
|
2314
2539
|
);
|
|
@@ -2316,10 +2541,10 @@ var PlaySquareIcon = (_a) => {
|
|
|
2316
2541
|
PlaySquareIcon.displayName = "PlaySquareIcon";
|
|
2317
2542
|
|
|
2318
2543
|
// src/primitives/icon/svg/profile.tsx
|
|
2319
|
-
import { jsx as
|
|
2544
|
+
import { jsx as jsx51, jsxs as jsxs47 } from "react/jsx-runtime";
|
|
2320
2545
|
var ProfileIcon = (_a) => {
|
|
2321
2546
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2322
|
-
return /* @__PURE__ */
|
|
2547
|
+
return /* @__PURE__ */ jsxs47(
|
|
2323
2548
|
"svg",
|
|
2324
2549
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2325
2550
|
viewBox: "0 0 21 28",
|
|
@@ -2327,8 +2552,8 @@ var ProfileIcon = (_a) => {
|
|
|
2327
2552
|
fill: "none"
|
|
2328
2553
|
}, getIconA11yProps(title)), props), {
|
|
2329
2554
|
children: [
|
|
2330
|
-
title ? /* @__PURE__ */
|
|
2331
|
-
/* @__PURE__ */
|
|
2555
|
+
title ? /* @__PURE__ */ jsx51("title", { children: title }) : null,
|
|
2556
|
+
/* @__PURE__ */ jsx51(
|
|
2332
2557
|
"path",
|
|
2333
2558
|
{
|
|
2334
2559
|
d: "M10.5 14C14.3605 14 17.5 10.8605 17.5 7C17.5 3.1395 14.3605 0 10.5 0C6.6395 0 3.5 3.1395 3.5 7C3.5 10.8605 6.6395 14 10.5 14ZM10.5 1.16667C13.7165 1.16667 16.3333 3.7835 16.3333 7C16.3333 10.2165 13.7165 12.8333 10.5 12.8333C7.2835 12.8333 4.66667 10.2165 4.66667 7C4.66667 3.7835 7.2835 1.16667 10.5 1.16667ZM21 26.8333V27.4167C21 27.7387 20.7387 28 20.4167 28C20.0947 28 19.8333 27.7387 19.8333 27.4167V26.8333C19.8333 21.6872 15.6462 17.5 10.5 17.5C5.35383 17.5 1.16667 21.6872 1.16667 26.8333V27.4167C1.16667 27.7387 0.905333 28 0.583333 28C0.261333 28 0 27.7387 0 27.4167V26.8333C0 21.0443 4.711 16.3333 10.5 16.3333C16.289 16.3333 21 21.0443 21 26.8333Z",
|
|
@@ -2342,10 +2567,10 @@ var ProfileIcon = (_a) => {
|
|
|
2342
2567
|
ProfileIcon.displayName = "ProfileIcon";
|
|
2343
2568
|
|
|
2344
2569
|
// src/primitives/icon/svg/revenue-alt.tsx
|
|
2345
|
-
import { jsx as
|
|
2570
|
+
import { jsx as jsx52, jsxs as jsxs48 } from "react/jsx-runtime";
|
|
2346
2571
|
var RevenueAltIcon = (_a) => {
|
|
2347
2572
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2348
|
-
return /* @__PURE__ */
|
|
2573
|
+
return /* @__PURE__ */ jsxs48(
|
|
2349
2574
|
"svg",
|
|
2350
2575
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2351
2576
|
viewBox: "0 0 20 20",
|
|
@@ -2353,8 +2578,8 @@ var RevenueAltIcon = (_a) => {
|
|
|
2353
2578
|
fill: "none"
|
|
2354
2579
|
}, getIconA11yProps(title)), props), {
|
|
2355
2580
|
children: [
|
|
2356
|
-
title ? /* @__PURE__ */
|
|
2357
|
-
/* @__PURE__ */
|
|
2581
|
+
title ? /* @__PURE__ */ jsx52("title", { children: title }) : null,
|
|
2582
|
+
/* @__PURE__ */ jsx52(
|
|
2358
2583
|
"path",
|
|
2359
2584
|
{
|
|
2360
2585
|
d: "M3 14V6M3 6L1.5 7.5M3 6L4.5 7.5M17 6V14M17 14L15.5 12.5M17 14L18.5 12.5",
|
|
@@ -2364,7 +2589,7 @@ var RevenueAltIcon = (_a) => {
|
|
|
2364
2589
|
strokeLinejoin: "round"
|
|
2365
2590
|
}
|
|
2366
2591
|
),
|
|
2367
|
-
/* @__PURE__ */
|
|
2592
|
+
/* @__PURE__ */ jsx52(
|
|
2368
2593
|
"path",
|
|
2369
2594
|
{
|
|
2370
2595
|
d: "M10 5.5V14.5M12.5 7.4C12.5 6.55 11.38 5.86 10 5.86C8.62 5.86 7.5 6.55 7.5 7.4C7.5 8.25 8.62 8.94 10 8.94C11.38 8.94 12.5 9.63 12.5 10.48C12.5 11.33 11.38 12.02 10 12.02C8.62 12.02 7.5 11.33 7.5 10.48",
|
|
@@ -2381,10 +2606,10 @@ var RevenueAltIcon = (_a) => {
|
|
|
2381
2606
|
RevenueAltIcon.displayName = "RevenueAltIcon";
|
|
2382
2607
|
|
|
2383
2608
|
// src/primitives/icon/svg/search.tsx
|
|
2384
|
-
import { jsx as
|
|
2609
|
+
import { jsx as jsx53, jsxs as jsxs49 } from "react/jsx-runtime";
|
|
2385
2610
|
var SearchIcon = (_a) => {
|
|
2386
2611
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2387
|
-
return /* @__PURE__ */
|
|
2612
|
+
return /* @__PURE__ */ jsxs49(
|
|
2388
2613
|
"svg",
|
|
2389
2614
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2390
2615
|
viewBox: "0 0 16 16",
|
|
@@ -2393,8 +2618,8 @@ var SearchIcon = (_a) => {
|
|
|
2393
2618
|
className
|
|
2394
2619
|
}, getIconA11yProps(title)), props), {
|
|
2395
2620
|
children: [
|
|
2396
|
-
title ? /* @__PURE__ */
|
|
2397
|
-
/* @__PURE__ */
|
|
2621
|
+
title ? /* @__PURE__ */ jsx53("title", { children: title }) : null,
|
|
2622
|
+
/* @__PURE__ */ jsx53(
|
|
2398
2623
|
"path",
|
|
2399
2624
|
{
|
|
2400
2625
|
d: "M7.3335 12.3333C10.0949 12.3333 12.3335 10.0947 12.3335 7.33329C12.3335 4.57187 10.0949 2.33329 7.3335 2.33329C4.57208 2.33329 2.3335 4.57187 2.3335 7.33329C2.3335 10.0947 4.57208 12.3333 7.3335 12.3333Z",
|
|
@@ -2404,7 +2629,7 @@ var SearchIcon = (_a) => {
|
|
|
2404
2629
|
strokeLinejoin: "round"
|
|
2405
2630
|
}
|
|
2406
2631
|
),
|
|
2407
|
-
/* @__PURE__ */
|
|
2632
|
+
/* @__PURE__ */ jsx53(
|
|
2408
2633
|
"path",
|
|
2409
2634
|
{
|
|
2410
2635
|
d: "M13.6668 13.6666L11.1667 11.1666",
|
|
@@ -2421,10 +2646,10 @@ var SearchIcon = (_a) => {
|
|
|
2421
2646
|
SearchIcon.displayName = "SearchIcon";
|
|
2422
2647
|
|
|
2423
2648
|
// src/primitives/icon/svg/shield-trust.tsx
|
|
2424
|
-
import { jsx as
|
|
2649
|
+
import { jsx as jsx54, jsxs as jsxs50 } from "react/jsx-runtime";
|
|
2425
2650
|
var ShieldTrustIcon = (_a) => {
|
|
2426
2651
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2427
|
-
return /* @__PURE__ */
|
|
2652
|
+
return /* @__PURE__ */ jsxs50(
|
|
2428
2653
|
"svg",
|
|
2429
2654
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2430
2655
|
viewBox: "0 0 16 16",
|
|
@@ -2432,15 +2657,15 @@ var ShieldTrustIcon = (_a) => {
|
|
|
2432
2657
|
fill: "none"
|
|
2433
2658
|
}, getIconA11yProps(title)), props), {
|
|
2434
2659
|
children: [
|
|
2435
|
-
title ? /* @__PURE__ */
|
|
2436
|
-
/* @__PURE__ */
|
|
2660
|
+
title ? /* @__PURE__ */ jsx54("title", { children: title }) : null,
|
|
2661
|
+
/* @__PURE__ */ jsx54(
|
|
2437
2662
|
"path",
|
|
2438
2663
|
{
|
|
2439
2664
|
d: "M8 1.25L13.5 3.25V7.08C13.5 10.09 11.62 12.74 8 14.75C4.38 12.74 2.5 10.09 2.5 7.08V3.25L8 1.25Z",
|
|
2440
2665
|
fill: "currentColor"
|
|
2441
2666
|
}
|
|
2442
2667
|
),
|
|
2443
|
-
/* @__PURE__ */
|
|
2668
|
+
/* @__PURE__ */ jsx54(
|
|
2444
2669
|
"path",
|
|
2445
2670
|
{
|
|
2446
2671
|
d: "M5.5 8.2L7.2 9.9L10.8 6.3",
|
|
@@ -2457,10 +2682,10 @@ var ShieldTrustIcon = (_a) => {
|
|
|
2457
2682
|
ShieldTrustIcon.displayName = "ShieldTrustIcon";
|
|
2458
2683
|
|
|
2459
2684
|
// src/primitives/icon/svg/solana.tsx
|
|
2460
|
-
import { jsx as
|
|
2685
|
+
import { jsx as jsx55, jsxs as jsxs51 } from "react/jsx-runtime";
|
|
2461
2686
|
var SolanaIcon = (_a) => {
|
|
2462
2687
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2463
|
-
return /* @__PURE__ */
|
|
2688
|
+
return /* @__PURE__ */ jsxs51(
|
|
2464
2689
|
"svg",
|
|
2465
2690
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2466
2691
|
viewBox: "0 0 24 24",
|
|
@@ -2468,31 +2693,31 @@ var SolanaIcon = (_a) => {
|
|
|
2468
2693
|
fill: "none"
|
|
2469
2694
|
}, getIconA11yProps(title)), props), {
|
|
2470
2695
|
children: [
|
|
2471
|
-
title ? /* @__PURE__ */
|
|
2472
|
-
/* @__PURE__ */
|
|
2473
|
-
/* @__PURE__ */
|
|
2696
|
+
title ? /* @__PURE__ */ jsx55("title", { children: title }) : null,
|
|
2697
|
+
/* @__PURE__ */ jsx55("rect", { width: "24", height: "24", rx: "8", fill: "#020205" }),
|
|
2698
|
+
/* @__PURE__ */ jsx55(
|
|
2474
2699
|
"path",
|
|
2475
2700
|
{
|
|
2476
2701
|
fill: "url(#agg-solana-gradient-top)",
|
|
2477
2702
|
d: "M8.351 6.163A1.57 1.57 0 0 1 9.463 5.7h8.208c.699 0 1.048.844.554 1.338l-2.576 2.576a1.57 1.57 0 0 1-1.11.46H6.33c-.699 0-1.048-.844-.554-1.338L8.35 6.163Z"
|
|
2478
2703
|
}
|
|
2479
2704
|
),
|
|
2480
|
-
/* @__PURE__ */
|
|
2705
|
+
/* @__PURE__ */ jsx55(
|
|
2481
2706
|
"path",
|
|
2482
2707
|
{
|
|
2483
2708
|
fill: "url(#agg-solana-gradient-middle)",
|
|
2484
2709
|
d: "M8.351 13.926a1.57 1.57 0 0 1 1.112-.463h8.208c.699 0 1.048.844.554 1.338l-2.576 2.576a1.57 1.57 0 0 1-1.11.46H6.33c-.699 0-1.048-.844-.554-1.338l2.576-2.573Z"
|
|
2485
2710
|
}
|
|
2486
2711
|
),
|
|
2487
|
-
/* @__PURE__ */
|
|
2712
|
+
/* @__PURE__ */ jsx55(
|
|
2488
2713
|
"path",
|
|
2489
2714
|
{
|
|
2490
2715
|
fill: "url(#agg-solana-gradient-bottom)",
|
|
2491
2716
|
d: "M18.225 10.89a1.57 1.57 0 0 1-1.112.462H8.905c-.699 0-1.048-.845-.554-1.339L10.927 7.44a1.57 1.57 0 0 1 1.11-.46h8.208c.699 0 1.048.844.554 1.338L18.225 10.89Z"
|
|
2492
2717
|
}
|
|
2493
2718
|
),
|
|
2494
|
-
/* @__PURE__ */
|
|
2495
|
-
/* @__PURE__ */
|
|
2719
|
+
/* @__PURE__ */ jsxs51("defs", { children: [
|
|
2720
|
+
/* @__PURE__ */ jsxs51(
|
|
2496
2721
|
"linearGradient",
|
|
2497
2722
|
{
|
|
2498
2723
|
id: "agg-solana-gradient-top",
|
|
@@ -2502,12 +2727,12 @@ var SolanaIcon = (_a) => {
|
|
|
2502
2727
|
y2: "17.476",
|
|
2503
2728
|
gradientUnits: "userSpaceOnUse",
|
|
2504
2729
|
children: [
|
|
2505
|
-
/* @__PURE__ */
|
|
2506
|
-
/* @__PURE__ */
|
|
2730
|
+
/* @__PURE__ */ jsx55("stop", { stopColor: "#4BF0B8" }),
|
|
2731
|
+
/* @__PURE__ */ jsx55("stop", { offset: "1", stopColor: "#B44CF4" })
|
|
2507
2732
|
]
|
|
2508
2733
|
}
|
|
2509
2734
|
),
|
|
2510
|
-
/* @__PURE__ */
|
|
2735
|
+
/* @__PURE__ */ jsxs51(
|
|
2511
2736
|
"linearGradient",
|
|
2512
2737
|
{
|
|
2513
2738
|
id: "agg-solana-gradient-middle",
|
|
@@ -2517,12 +2742,12 @@ var SolanaIcon = (_a) => {
|
|
|
2517
2742
|
y2: "21.238",
|
|
2518
2743
|
gradientUnits: "userSpaceOnUse",
|
|
2519
2744
|
children: [
|
|
2520
|
-
/* @__PURE__ */
|
|
2521
|
-
/* @__PURE__ */
|
|
2745
|
+
/* @__PURE__ */ jsx55("stop", { stopColor: "#4BF0B8" }),
|
|
2746
|
+
/* @__PURE__ */ jsx55("stop", { offset: "1", stopColor: "#B44CF4" })
|
|
2522
2747
|
]
|
|
2523
2748
|
}
|
|
2524
2749
|
),
|
|
2525
|
-
/* @__PURE__ */
|
|
2750
|
+
/* @__PURE__ */ jsxs51(
|
|
2526
2751
|
"linearGradient",
|
|
2527
2752
|
{
|
|
2528
2753
|
id: "agg-solana-gradient-bottom",
|
|
@@ -2532,8 +2757,8 @@ var SolanaIcon = (_a) => {
|
|
|
2532
2757
|
y2: "19.359",
|
|
2533
2758
|
gradientUnits: "userSpaceOnUse",
|
|
2534
2759
|
children: [
|
|
2535
|
-
/* @__PURE__ */
|
|
2536
|
-
/* @__PURE__ */
|
|
2760
|
+
/* @__PURE__ */ jsx55("stop", { stopColor: "#4BF0B8" }),
|
|
2761
|
+
/* @__PURE__ */ jsx55("stop", { offset: "1", stopColor: "#B44CF4" })
|
|
2537
2762
|
]
|
|
2538
2763
|
}
|
|
2539
2764
|
)
|
|
@@ -2545,10 +2770,10 @@ var SolanaIcon = (_a) => {
|
|
|
2545
2770
|
SolanaIcon.displayName = "SolanaIcon";
|
|
2546
2771
|
|
|
2547
2772
|
// src/primitives/icon/svg/stay-in-control.tsx
|
|
2548
|
-
import { jsx as
|
|
2773
|
+
import { jsx as jsx56, jsxs as jsxs52 } from "react/jsx-runtime";
|
|
2549
2774
|
var StayInControlIcon = (_a) => {
|
|
2550
2775
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2551
|
-
return /* @__PURE__ */
|
|
2776
|
+
return /* @__PURE__ */ jsxs52(
|
|
2552
2777
|
"svg",
|
|
2553
2778
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2554
2779
|
width: "28",
|
|
@@ -2559,16 +2784,16 @@ var StayInControlIcon = (_a) => {
|
|
|
2559
2784
|
className
|
|
2560
2785
|
}, getIconA11yProps(title)), props), {
|
|
2561
2786
|
children: [
|
|
2562
|
-
title ? /* @__PURE__ */
|
|
2563
|
-
/* @__PURE__ */
|
|
2564
|
-
/* @__PURE__ */
|
|
2787
|
+
title ? /* @__PURE__ */ jsx56("title", { children: title }) : null,
|
|
2788
|
+
/* @__PURE__ */ jsxs52("g", { clipPath: "url(#clip0_stay_in_control)", children: [
|
|
2789
|
+
/* @__PURE__ */ jsx56(
|
|
2565
2790
|
"path",
|
|
2566
2791
|
{
|
|
2567
2792
|
d: "M14 27.9406C13.9102 27.9406 13.8215 27.9196 13.7387 27.8788L13.2428 27.6314C10.6832 26.3504 2.32983 21.5753 2.32983 13.8648L2.33217 7.62776C2.33217 5.36093 3.77767 3.35776 5.93017 2.64493L13.8168 0.0292617C13.9358 -0.010405 14.0653 -0.010405 14.1832 0.0292617L22.0687 2.64376C24.2212 3.35776 25.6667 5.36093 25.6667 7.6266L25.6632 13.8636C25.6632 22.6113 17.2958 26.6584 14.7315 27.6909L14.217 27.8974C14.147 27.9254 14.0723 27.9394 13.9988 27.9394L14 27.9406ZM14 1.19826L6.29767 3.7521C4.6235 4.30743 3.5 5.86493 3.5 7.62776L3.49767 13.8648C3.49767 20.9056 11.3563 25.3844 13.7655 26.5884L14.0268 26.7191L14.2975 26.6106C16.6903 25.6481 24.4977 21.8833 24.4977 13.8659L24.5012 7.62893C24.5012 5.8661 23.3765 4.3086 21.7035 3.75326L14 1.19826Z",
|
|
2568
2793
|
fill: "currentColor"
|
|
2569
2794
|
}
|
|
2570
2795
|
),
|
|
2571
|
-
/* @__PURE__ */
|
|
2796
|
+
/* @__PURE__ */ jsx56(
|
|
2572
2797
|
"path",
|
|
2573
2798
|
{
|
|
2574
2799
|
d: "M12.8112 17.5001C12.0633 17.5001 11.3155 17.2154 10.7462 16.6461L7.18083 13.2569C6.94749 13.0352 6.93816 12.6654 7.15983 12.4321C7.38149 12.1999 7.75016 12.1894 7.98466 12.4111L11.5605 15.8107C12.2535 16.5026 13.363 16.5037 14.0455 15.8212L20.5928 9.49791C20.8262 9.27508 21.196 9.28208 21.4177 9.51308C21.6417 9.74408 21.6358 10.1139 21.4037 10.3379L14.8622 16.6542C14.2987 17.2177 13.5543 17.5012 12.81 17.5012L12.8112 17.5001Z",
|
|
@@ -2576,7 +2801,7 @@ var StayInControlIcon = (_a) => {
|
|
|
2576
2801
|
}
|
|
2577
2802
|
)
|
|
2578
2803
|
] }),
|
|
2579
|
-
/* @__PURE__ */
|
|
2804
|
+
/* @__PURE__ */ jsx56("defs", { children: /* @__PURE__ */ jsx56("clipPath", { id: "clip0_stay_in_control", children: /* @__PURE__ */ jsx56("rect", { width: "28", height: "28", fill: "white" }) }) })
|
|
2580
2805
|
]
|
|
2581
2806
|
})
|
|
2582
2807
|
);
|
|
@@ -2584,10 +2809,10 @@ var StayInControlIcon = (_a) => {
|
|
|
2584
2809
|
StayInControlIcon.displayName = "StayInControlIcon";
|
|
2585
2810
|
|
|
2586
2811
|
// src/primitives/icon/svg/telegram.tsx
|
|
2587
|
-
import { jsx as
|
|
2812
|
+
import { jsx as jsx57, jsxs as jsxs53 } from "react/jsx-runtime";
|
|
2588
2813
|
var TelegramIcon = (_a) => {
|
|
2589
2814
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2590
|
-
return /* @__PURE__ */
|
|
2815
|
+
return /* @__PURE__ */ jsxs53(
|
|
2591
2816
|
"svg",
|
|
2592
2817
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2593
2818
|
viewBox: "0 0 20 20",
|
|
@@ -2595,8 +2820,8 @@ var TelegramIcon = (_a) => {
|
|
|
2595
2820
|
fill: "none"
|
|
2596
2821
|
}, getIconA11yProps(title)), props), {
|
|
2597
2822
|
children: [
|
|
2598
|
-
title ? /* @__PURE__ */
|
|
2599
|
-
/* @__PURE__ */
|
|
2823
|
+
title ? /* @__PURE__ */ jsx57("title", { children: title }) : null,
|
|
2824
|
+
/* @__PURE__ */ jsx57("g", { clipPath: "url(#clip0_telegram)", children: /* @__PURE__ */ jsx57(
|
|
2600
2825
|
"path",
|
|
2601
2826
|
{
|
|
2602
2827
|
fillRule: "evenodd",
|
|
@@ -2605,7 +2830,7 @@ var TelegramIcon = (_a) => {
|
|
|
2605
2830
|
fill: "currentColor"
|
|
2606
2831
|
}
|
|
2607
2832
|
) }),
|
|
2608
|
-
/* @__PURE__ */
|
|
2833
|
+
/* @__PURE__ */ jsx57("defs", { children: /* @__PURE__ */ jsx57("clipPath", { id: "clip0_telegram", children: /* @__PURE__ */ jsx57("rect", { width: "20", height: "20", fill: "white" }) }) })
|
|
2609
2834
|
]
|
|
2610
2835
|
})
|
|
2611
2836
|
);
|
|
@@ -2613,10 +2838,10 @@ var TelegramIcon = (_a) => {
|
|
|
2613
2838
|
TelegramIcon.displayName = "TelegramIcon";
|
|
2614
2839
|
|
|
2615
2840
|
// src/primitives/icon/svg/triangle-down.tsx
|
|
2616
|
-
import { jsx as
|
|
2841
|
+
import { jsx as jsx58, jsxs as jsxs54 } from "react/jsx-runtime";
|
|
2617
2842
|
var TriangleDownIcon = (_a) => {
|
|
2618
2843
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2619
|
-
return /* @__PURE__ */
|
|
2844
|
+
return /* @__PURE__ */ jsxs54(
|
|
2620
2845
|
"svg",
|
|
2621
2846
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2622
2847
|
viewBox: "0 0 8 8",
|
|
@@ -2624,16 +2849,16 @@ var TriangleDownIcon = (_a) => {
|
|
|
2624
2849
|
fill: "none"
|
|
2625
2850
|
}, getIconA11yProps(title)), props), {
|
|
2626
2851
|
children: [
|
|
2627
|
-
title ? /* @__PURE__ */
|
|
2628
|
-
/* @__PURE__ */
|
|
2629
|
-
/* @__PURE__ */
|
|
2852
|
+
title ? /* @__PURE__ */ jsx58("title", { children: title }) : null,
|
|
2853
|
+
/* @__PURE__ */ jsxs54("g", { transform: "scale(1,-1) translate(0,-8)", clipPath: "url(#triangle_up)", children: [
|
|
2854
|
+
/* @__PURE__ */ jsx58(
|
|
2630
2855
|
"path",
|
|
2631
2856
|
{
|
|
2632
2857
|
d: "M3.99989 1.6805L6.23917 6.72896H1.76061L3.99989 1.6805ZM3.99989 0.366097C3.87788 0.36535 3.75832 0.400347 3.65596 0.466768C3.55361 0.53319 3.47295 0.628129 3.42393 0.739866L0.362237 7.63838H7.63755L4.57737 0.739866C4.52825 0.62789 4.44735 0.532789 4.3447 0.46635C4.24205 0.39991 4.12216 0.365052 3.99989 0.366097Z",
|
|
2633
2858
|
fill: "currentColor"
|
|
2634
2859
|
}
|
|
2635
2860
|
),
|
|
2636
|
-
/* @__PURE__ */
|
|
2861
|
+
/* @__PURE__ */ jsx58(
|
|
2637
2862
|
"path",
|
|
2638
2863
|
{
|
|
2639
2864
|
d: "M4.00167 0.00284122C4.19344 0.00214978 4.38147 0.0566837 4.54252 0.160923C4.70445 0.265758 4.83154 0.416026 4.90931 0.592539L7.9697 7.4913L8.19705 8.00195H-0.197266L3.09048 0.593427C3.16804 0.41669 3.29625 0.26688 3.45815 0.161811C3.61872 0.0576301 3.80589 0.00261591 3.99723 0.00284122H3.99989L4.00256 0.00195312L4.00167 0.00284122ZM3.99989 0.366097C3.87788 0.36535 3.75832 0.400347 3.65596 0.466768L3.58337 0.521491C3.51516 0.581467 3.46071 0.656022 3.42393 0.739866L0.362237 7.63838H7.63755L4.57737 0.739866C4.54053 0.655873 4.48567 0.581521 4.4173 0.521491L4.3447 0.46635C4.24205 0.39991 4.12216 0.365052 3.99989 0.366097ZM6.23917 6.72896H1.76061L3.99989 1.6805L6.23917 6.72896ZM2.31961 6.36519H5.68018L3.99989 2.57655L2.31961 6.36519Z",
|
|
@@ -2641,7 +2866,7 @@ var TriangleDownIcon = (_a) => {
|
|
|
2641
2866
|
}
|
|
2642
2867
|
)
|
|
2643
2868
|
] }),
|
|
2644
|
-
/* @__PURE__ */
|
|
2869
|
+
/* @__PURE__ */ jsx58("defs", { children: /* @__PURE__ */ jsx58("clipPath", { id: "triangle_up", children: /* @__PURE__ */ jsx58("rect", { width: "8", height: "8", fill: "white" }) }) })
|
|
2645
2870
|
]
|
|
2646
2871
|
})
|
|
2647
2872
|
);
|
|
@@ -2649,10 +2874,10 @@ var TriangleDownIcon = (_a) => {
|
|
|
2649
2874
|
TriangleDownIcon.displayName = "TriangleDownIcon";
|
|
2650
2875
|
|
|
2651
2876
|
// src/primitives/icon/svg/triangle-up-filled.tsx
|
|
2652
|
-
import { jsx as
|
|
2877
|
+
import { jsx as jsx59, jsxs as jsxs55 } from "react/jsx-runtime";
|
|
2653
2878
|
var TriangleUpFilledIcon = (_a) => {
|
|
2654
2879
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2655
|
-
return /* @__PURE__ */
|
|
2880
|
+
return /* @__PURE__ */ jsxs55(
|
|
2656
2881
|
"svg",
|
|
2657
2882
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2658
2883
|
viewBox: "0 0 8 8",
|
|
@@ -2660,8 +2885,8 @@ var TriangleUpFilledIcon = (_a) => {
|
|
|
2660
2885
|
fill: "none"
|
|
2661
2886
|
}, getIconA11yProps(title)), props), {
|
|
2662
2887
|
children: [
|
|
2663
|
-
title ? /* @__PURE__ */
|
|
2664
|
-
/* @__PURE__ */
|
|
2888
|
+
title ? /* @__PURE__ */ jsx59("title", { children: title }) : null,
|
|
2889
|
+
/* @__PURE__ */ jsx59(
|
|
2665
2890
|
"path",
|
|
2666
2891
|
{
|
|
2667
2892
|
d: "M6.67873 8.00001H1.3214C1.09613 8.00053 0.874481 7.94332 0.677605 7.83384C0.480728 7.72435 0.315192 7.56625 0.196788 7.3746C0.0783848 7.18296 0.0110649 6.96417 0.00125164 6.73911C-0.0085616 6.51405 0.0394592 6.29023 0.140732 6.08901L2.81973 0.729677C2.92186 0.523193 3.0766 0.347273 3.26837 0.219641C3.46014 0.0920097 3.68216 0.0171748 3.91207 0.00267686C4.17147 -0.013831 4.43 0.0462826 4.6555 0.175542C4.88101 0.3048 5.06354 0.497501 5.1804 0.729677L7.8594 6.08901C7.96008 6.2903 8.00764 6.51398 7.99756 6.73881C7.98748 6.96365 7.92009 7.18218 7.8018 7.37365C7.68351 7.56512 7.51823 7.72317 7.32167 7.83279C7.12511 7.94242 6.90379 7.99998 6.67873 8.00001Z",
|
|
@@ -2675,10 +2900,10 @@ var TriangleUpFilledIcon = (_a) => {
|
|
|
2675
2900
|
TriangleUpFilledIcon.displayName = "TriangleUpFilledIcon";
|
|
2676
2901
|
|
|
2677
2902
|
// src/primitives/icon/svg/triangle-up.tsx
|
|
2678
|
-
import { jsx as
|
|
2903
|
+
import { jsx as jsx60, jsxs as jsxs56 } from "react/jsx-runtime";
|
|
2679
2904
|
var TriangleUpIcon = (_a) => {
|
|
2680
2905
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2681
|
-
return /* @__PURE__ */
|
|
2906
|
+
return /* @__PURE__ */ jsxs56(
|
|
2682
2907
|
"svg",
|
|
2683
2908
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2684
2909
|
viewBox: "0 0 8 8",
|
|
@@ -2686,16 +2911,16 @@ var TriangleUpIcon = (_a) => {
|
|
|
2686
2911
|
fill: "none"
|
|
2687
2912
|
}, getIconA11yProps(title)), props), {
|
|
2688
2913
|
children: [
|
|
2689
|
-
title ? /* @__PURE__ */
|
|
2690
|
-
/* @__PURE__ */
|
|
2691
|
-
/* @__PURE__ */
|
|
2914
|
+
title ? /* @__PURE__ */ jsx60("title", { children: title }) : null,
|
|
2915
|
+
/* @__PURE__ */ jsxs56("g", { clipPath: "url(#triangle_up)", children: [
|
|
2916
|
+
/* @__PURE__ */ jsx60(
|
|
2692
2917
|
"path",
|
|
2693
2918
|
{
|
|
2694
2919
|
d: "M3.99989 1.6805L6.23917 6.72896H1.76061L3.99989 1.6805ZM3.99989 0.366097C3.87788 0.36535 3.75832 0.400347 3.65596 0.466768C3.55361 0.53319 3.47295 0.628129 3.42393 0.739866L0.362237 7.63838H7.63755L4.57737 0.739866C4.52825 0.62789 4.44735 0.532789 4.3447 0.46635C4.24205 0.39991 4.12216 0.365052 3.99989 0.366097Z",
|
|
2695
2920
|
fill: "currentColor"
|
|
2696
2921
|
}
|
|
2697
2922
|
),
|
|
2698
|
-
/* @__PURE__ */
|
|
2923
|
+
/* @__PURE__ */ jsx60(
|
|
2699
2924
|
"path",
|
|
2700
2925
|
{
|
|
2701
2926
|
d: "M4.00167 0.00284122C4.19344 0.00214978 4.38147 0.0566837 4.54252 0.160923C4.70445 0.265758 4.83154 0.416026 4.90931 0.592539L7.9697 7.4913L8.19705 8.00195H-0.197266L3.09048 0.593427C3.16804 0.41669 3.29625 0.26688 3.45815 0.161811C3.61872 0.0576301 3.80589 0.00261591 3.99723 0.00284122H3.99989L4.00256 0.00195312L4.00167 0.00284122ZM3.99989 0.366097C3.87788 0.36535 3.75832 0.400347 3.65596 0.466768L3.58337 0.521491C3.51516 0.581467 3.46071 0.656022 3.42393 0.739866L0.362237 7.63838H7.63755L4.57737 0.739866C4.54053 0.655873 4.48567 0.581521 4.4173 0.521491L4.3447 0.46635C4.24205 0.39991 4.12216 0.365052 3.99989 0.366097ZM6.23917 6.72896H1.76061L3.99989 1.6805L6.23917 6.72896ZM2.31961 6.36519H5.68018L3.99989 2.57655L2.31961 6.36519Z",
|
|
@@ -2703,7 +2928,7 @@ var TriangleUpIcon = (_a) => {
|
|
|
2703
2928
|
}
|
|
2704
2929
|
)
|
|
2705
2930
|
] }),
|
|
2706
|
-
/* @__PURE__ */
|
|
2931
|
+
/* @__PURE__ */ jsx60("defs", { children: /* @__PURE__ */ jsx60("clipPath", { id: "triangle_up", children: /* @__PURE__ */ jsx60("rect", { width: "8", height: "8", fill: "white" }) }) })
|
|
2707
2932
|
]
|
|
2708
2933
|
})
|
|
2709
2934
|
);
|
|
@@ -2711,10 +2936,10 @@ var TriangleUpIcon = (_a) => {
|
|
|
2711
2936
|
TriangleUpIcon.displayName = "TriangleUpIcon";
|
|
2712
2937
|
|
|
2713
2938
|
// src/primitives/icon/svg/twitter.tsx
|
|
2714
|
-
import { jsx as
|
|
2939
|
+
import { jsx as jsx61, jsxs as jsxs57 } from "react/jsx-runtime";
|
|
2715
2940
|
var TwitterIcon = (_a) => {
|
|
2716
2941
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2717
|
-
return /* @__PURE__ */
|
|
2942
|
+
return /* @__PURE__ */ jsxs57(
|
|
2718
2943
|
"svg",
|
|
2719
2944
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2720
2945
|
viewBox: "0 0 20 20",
|
|
@@ -2722,8 +2947,8 @@ var TwitterIcon = (_a) => {
|
|
|
2722
2947
|
fill: "none"
|
|
2723
2948
|
}, getIconA11yProps(title)), props), {
|
|
2724
2949
|
children: [
|
|
2725
|
-
title ? /* @__PURE__ */
|
|
2726
|
-
/* @__PURE__ */
|
|
2950
|
+
title ? /* @__PURE__ */ jsx61("title", { children: title }) : null,
|
|
2951
|
+
/* @__PURE__ */ jsx61(
|
|
2727
2952
|
"path",
|
|
2728
2953
|
{
|
|
2729
2954
|
d: "M15.2708 1.66602H18.0834L11.9402 8.68539L19.1666 18.2386H13.51L9.07638 12.446L4.00874 18.2386H1.19152L7.76096 10.7288L0.833252 1.66602H6.63346L10.637 6.96053L15.2708 1.66602ZM14.283 16.5573H15.8406L5.78478 3.25949H4.11186L14.283 16.5573Z",
|
|
@@ -2737,10 +2962,10 @@ var TwitterIcon = (_a) => {
|
|
|
2737
2962
|
TwitterIcon.displayName = "TwitterIcon";
|
|
2738
2963
|
|
|
2739
2964
|
// src/primitives/icon/svg/upload.tsx
|
|
2740
|
-
import { jsx as
|
|
2965
|
+
import { jsx as jsx62, jsxs as jsxs58 } from "react/jsx-runtime";
|
|
2741
2966
|
var UploadIcon = (_a) => {
|
|
2742
2967
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2743
|
-
return /* @__PURE__ */
|
|
2968
|
+
return /* @__PURE__ */ jsxs58(
|
|
2744
2969
|
"svg",
|
|
2745
2970
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2746
2971
|
viewBox: "0 0 16 16",
|
|
@@ -2748,8 +2973,8 @@ var UploadIcon = (_a) => {
|
|
|
2748
2973
|
fill: "none"
|
|
2749
2974
|
}, getIconA11yProps(title)), props), {
|
|
2750
2975
|
children: [
|
|
2751
|
-
title ? /* @__PURE__ */
|
|
2752
|
-
/* @__PURE__ */
|
|
2976
|
+
title ? /* @__PURE__ */ jsx62("title", { children: title }) : null,
|
|
2977
|
+
/* @__PURE__ */ jsx62(
|
|
2753
2978
|
"path",
|
|
2754
2979
|
{
|
|
2755
2980
|
d: "M8 13.5v-7m0 0 2.5 2.5M8 6.5 5.5 9",
|
|
@@ -2759,7 +2984,7 @@ var UploadIcon = (_a) => {
|
|
|
2759
2984
|
strokeLinejoin: "round"
|
|
2760
2985
|
}
|
|
2761
2986
|
),
|
|
2762
|
-
/* @__PURE__ */
|
|
2987
|
+
/* @__PURE__ */ jsx62("path", { d: "M2.5 3.5h11", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" })
|
|
2763
2988
|
]
|
|
2764
2989
|
})
|
|
2765
2990
|
);
|
|
@@ -2767,10 +2992,10 @@ var UploadIcon = (_a) => {
|
|
|
2767
2992
|
UploadIcon.displayName = "UploadIcon";
|
|
2768
2993
|
|
|
2769
2994
|
// src/primitives/icon/svg/wallet-avatar.tsx
|
|
2770
|
-
import { jsx as
|
|
2995
|
+
import { jsx as jsx63, jsxs as jsxs59 } from "react/jsx-runtime";
|
|
2771
2996
|
function WalletAvatarIcon(_a) {
|
|
2772
2997
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2773
|
-
return /* @__PURE__ */
|
|
2998
|
+
return /* @__PURE__ */ jsxs59(
|
|
2774
2999
|
"svg",
|
|
2775
3000
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2776
3001
|
fill: "none",
|
|
@@ -2778,9 +3003,9 @@ function WalletAvatarIcon(_a) {
|
|
|
2778
3003
|
viewBox: "0 0 16 16"
|
|
2779
3004
|
}, getIconA11yProps(title)), props), {
|
|
2780
3005
|
children: [
|
|
2781
|
-
title ? /* @__PURE__ */
|
|
2782
|
-
/* @__PURE__ */
|
|
2783
|
-
/* @__PURE__ */
|
|
3006
|
+
title ? /* @__PURE__ */ jsx63("title", { children: title }) : null,
|
|
3007
|
+
/* @__PURE__ */ jsx63("circle", { cx: "8", cy: "5.25", r: "2.25", fill: "currentColor" }),
|
|
3008
|
+
/* @__PURE__ */ jsx63("path", { d: "M3.75 12.75a4.25 4.25 0 0 1 8.5 0v.25h-8.5v-.25Z", fill: "currentColor" })
|
|
2784
3009
|
]
|
|
2785
3010
|
})
|
|
2786
3011
|
);
|
|
@@ -2788,10 +3013,10 @@ function WalletAvatarIcon(_a) {
|
|
|
2788
3013
|
WalletAvatarIcon.displayName = "WalletAvatarIcon";
|
|
2789
3014
|
|
|
2790
3015
|
// src/primitives/icon/svg/wallet.tsx
|
|
2791
|
-
import { jsx as
|
|
3016
|
+
import { jsx as jsx64, jsxs as jsxs60 } from "react/jsx-runtime";
|
|
2792
3017
|
var WalletIcon = (_a) => {
|
|
2793
3018
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2794
|
-
return /* @__PURE__ */
|
|
3019
|
+
return /* @__PURE__ */ jsxs60(
|
|
2795
3020
|
"svg",
|
|
2796
3021
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2797
3022
|
viewBox: "0 0 24 24",
|
|
@@ -2799,8 +3024,8 @@ var WalletIcon = (_a) => {
|
|
|
2799
3024
|
fill: "none"
|
|
2800
3025
|
}, getIconA11yProps(title)), props), {
|
|
2801
3026
|
children: [
|
|
2802
|
-
title ? /* @__PURE__ */
|
|
2803
|
-
/* @__PURE__ */
|
|
3027
|
+
title ? /* @__PURE__ */ jsx64("title", { children: title }) : null,
|
|
3028
|
+
/* @__PURE__ */ jsx64(
|
|
2804
3029
|
"path",
|
|
2805
3030
|
{
|
|
2806
3031
|
d: "M19.5 6H5.25C4.836 6 4.5 5.664 4.5 5.25C4.5 4.836 4.836 4.5 5.25 4.5H19.5C19.914 4.5 20.25 4.164 20.25 3.75C20.25 2.508 19.242 1.5 18 1.5H4.5C2.843 1.5 1.5 2.843 1.5 4.5V19.5C1.5 21.157 2.843 22.5 4.5 22.5H19.5C21.157 22.5 22.5 21.157 22.5 19.5V9C22.5 7.343 21.157 6 19.5 6ZM2.5 4.5C2.5 3.395 3.395 2.5 4.5 2.5H18C18.552 2.5 19.026 2.834 19.199 3.318C19.176 3.312 19.153 3.5 18 3.5H5.25C4.284 3.5 3.5 4.284 3.5 5.25C3.5 5.388 3.519 5.522 3.555 5.649C2.936 5.369 2.5 4.972 2.5 4.5ZM21.5 19.5C21.5 20.605 20.605 21.5 19.5 21.5H4.5C3.395 21.5 2.5 20.605 2.5 19.5V7.04C3.09 7.336 3.771 7 5.25 7H19.5C20.605 7 21.5 7.895 21.5 9V12H18C16.343 12 15 13.343 15 15C15 16.657 16.343 18 18 18H21.5V19.5ZM21.5 17H18C16.895 17 16 16.105 16 15C16 13.895 16.895 13 18 13H21.5V17ZM18 15.75C18.414 15.75 18.75 15.414 18.75 15C18.75 14.586 18.414 14.25 18 14.25C17.586 14.25 17.25 14.586 17.25 15C17.25 15.414 17.586 15.75 18 15.75Z",
|
|
@@ -2814,10 +3039,10 @@ var WalletIcon = (_a) => {
|
|
|
2814
3039
|
WalletIcon.displayName = "WalletIcon";
|
|
2815
3040
|
|
|
2816
3041
|
// src/primitives/icon/svg/warning-filled.tsx
|
|
2817
|
-
import { jsx as
|
|
3042
|
+
import { jsx as jsx65, jsxs as jsxs61 } from "react/jsx-runtime";
|
|
2818
3043
|
var WarningFilledIcon = (_a) => {
|
|
2819
3044
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2820
|
-
return /* @__PURE__ */
|
|
3045
|
+
return /* @__PURE__ */ jsxs61(
|
|
2821
3046
|
"svg",
|
|
2822
3047
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2823
3048
|
viewBox: "0 0 16 16",
|
|
@@ -2825,8 +3050,8 @@ var WarningFilledIcon = (_a) => {
|
|
|
2825
3050
|
fill: "none"
|
|
2826
3051
|
}, getIconA11yProps(title)), props), {
|
|
2827
3052
|
children: [
|
|
2828
|
-
title ? /* @__PURE__ */
|
|
2829
|
-
/* @__PURE__ */
|
|
3053
|
+
title ? /* @__PURE__ */ jsx65("title", { children: title }) : null,
|
|
3054
|
+
/* @__PURE__ */ jsx65(
|
|
2830
3055
|
"path",
|
|
2831
3056
|
{
|
|
2832
3057
|
d: "M15.3869 10.22L10.0002 1.71332C9.5469 1.05999 8.79356 0.666656 8.00023 0.666656C7.20689 0.666656 6.45356 1.05332 5.98023 1.73332L0.620227 10.2067C-0.0597729 11.18 -0.18644 12.3467 0.286894 13.2467C0.75356 14.1467 1.73356 14.66 2.96023 14.66H13.0402C14.2736 14.66 15.2469 14.1467 15.7136 13.2467C16.1802 12.3467 16.0536 11.1867 15.3869 10.22ZM7.33356 4.66666C7.33356 4.29999 7.63356 3.99999 8.00023 3.99999C8.36689 3.99999 8.66689 4.29999 8.66689 4.66666V8.66666C8.66689 9.03332 8.36689 9.33332 8.00023 9.33332C7.63356 9.33332 7.33356 9.03332 7.33356 8.66666V4.66666ZM8.00023 12.6667C7.44689 12.6667 7.00023 12.22 7.00023 11.6667C7.00023 11.1133 7.44689 10.6667 8.00023 10.6667C8.55356 10.6667 9.00023 11.1133 9.00023 11.6667C9.00023 12.22 8.55356 12.6667 8.00023 12.6667Z",
|
|
@@ -2840,10 +3065,10 @@ var WarningFilledIcon = (_a) => {
|
|
|
2840
3065
|
WarningFilledIcon.displayName = "WarningFilledIcon";
|
|
2841
3066
|
|
|
2842
3067
|
// src/primitives/icon/svg/warning.tsx
|
|
2843
|
-
import { jsx as
|
|
3068
|
+
import { jsx as jsx66, jsxs as jsxs62 } from "react/jsx-runtime";
|
|
2844
3069
|
var WarningIcon = (_a) => {
|
|
2845
3070
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2846
|
-
return /* @__PURE__ */
|
|
3071
|
+
return /* @__PURE__ */ jsxs62(
|
|
2847
3072
|
"svg",
|
|
2848
3073
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2849
3074
|
width: "14",
|
|
@@ -2854,15 +3079,15 @@ var WarningIcon = (_a) => {
|
|
|
2854
3079
|
className
|
|
2855
3080
|
}, getIconA11yProps(title)), props), {
|
|
2856
3081
|
children: [
|
|
2857
|
-
title ? /* @__PURE__ */
|
|
2858
|
-
/* @__PURE__ */
|
|
3082
|
+
title ? /* @__PURE__ */ jsx66("title", { children: title }) : null,
|
|
3083
|
+
/* @__PURE__ */ jsx66("g", { clipPath: "url(#clip0_warning)", children: /* @__PURE__ */ jsx66(
|
|
2859
3084
|
"path",
|
|
2860
3085
|
{
|
|
2861
3086
|
d: "M6.41665 8.16675V4.66675C6.41665 4.34591 6.67915 4.08341 6.99998 4.08341C7.32082 4.08341 7.58332 4.34591 7.58332 4.66675V8.16675C7.58332 8.48758 7.32082 8.75008 6.99998 8.75008C6.67915 8.75008 6.41665 8.48758 6.41665 8.16675ZM6.99998 9.33341C6.51582 9.33341 6.12498 9.72425 6.12498 10.2084C6.12498 10.6926 6.51582 11.0834 6.99998 11.0834C7.48415 11.0834 7.87498 10.6926 7.87498 10.2084C7.87498 9.72425 7.48415 9.33341 6.99998 9.33341ZM13.755 12.1801C13.3467 12.9676 12.4892 13.4167 11.4158 13.4167H2.58998C1.51082 13.4167 0.659151 12.9676 0.250818 12.1801C-0.163348 11.3867 -0.0466818 10.3717 0.542485 9.52008L5.23248 2.10008C5.64665 1.50508 6.29998 1.16675 6.99998 1.16675C7.69999 1.16675 8.35332 1.50508 8.74998 2.08258L13.4633 9.53175C14.0525 10.3834 14.1633 11.3926 13.7492 12.1801H13.755ZM12.5008 10.1851C12.5008 10.1851 12.4892 10.1734 12.4892 10.1617L7.78165 2.72425C7.61248 2.48508 7.32082 2.33341 6.99998 2.33341C6.67915 2.33341 6.38749 2.48508 6.20665 2.74758L1.51082 10.1617C1.14915 10.6751 1.06748 11.2351 1.27748 11.6376C1.48165 12.0342 1.94832 12.2501 2.58415 12.2501H11.4042C12.04 12.2501 12.5067 12.0342 12.7108 11.6376C12.9208 11.2351 12.8392 10.6751 12.495 10.1851H12.5008Z",
|
|
2862
3087
|
fill: "currentColor"
|
|
2863
3088
|
}
|
|
2864
3089
|
) }),
|
|
2865
|
-
/* @__PURE__ */
|
|
3090
|
+
/* @__PURE__ */ jsx66("defs", { children: /* @__PURE__ */ jsx66("clipPath", { id: "clip0_warning", children: /* @__PURE__ */ jsx66("rect", { width: "14", height: "14", fill: "white" }) }) })
|
|
2866
3091
|
]
|
|
2867
3092
|
})
|
|
2868
3093
|
);
|
|
@@ -2933,7 +3158,7 @@ var resolveIconStyle = (color, style) => {
|
|
|
2933
3158
|
};
|
|
2934
3159
|
|
|
2935
3160
|
// src/primitives/icon/index.tsx
|
|
2936
|
-
import { jsx as
|
|
3161
|
+
import { jsx as jsx67 } from "react/jsx-runtime";
|
|
2937
3162
|
var Icon = (_a) => {
|
|
2938
3163
|
var _b = _a, {
|
|
2939
3164
|
name,
|
|
@@ -2951,7 +3176,7 @@ var Icon = (_a) => {
|
|
|
2951
3176
|
const Component = iconRegistry[name];
|
|
2952
3177
|
const resolvedStyle = resolveIconStyle(color, style);
|
|
2953
3178
|
const resolvedClassName = cn(iconSizeClasses[size], className);
|
|
2954
|
-
return /* @__PURE__ */
|
|
3179
|
+
return /* @__PURE__ */ jsx67(
|
|
2955
3180
|
Component,
|
|
2956
3181
|
__spreadValues({
|
|
2957
3182
|
color,
|
|
@@ -2963,7 +3188,7 @@ var Icon = (_a) => {
|
|
|
2963
3188
|
Icon.displayName = "Icon";
|
|
2964
3189
|
|
|
2965
3190
|
// src/primitives/inline-alert/index.tsx
|
|
2966
|
-
import { jsx as
|
|
3191
|
+
import { jsx as jsx68, jsxs as jsxs63 } from "react/jsx-runtime";
|
|
2967
3192
|
var toneIconName = {
|
|
2968
3193
|
error: "error-filled",
|
|
2969
3194
|
warning: "warning-filled"
|
|
@@ -3010,7 +3235,7 @@ var InlineAlert = ({
|
|
|
3010
3235
|
});
|
|
3011
3236
|
const hasAction = !!actionLabel && !!onAction;
|
|
3012
3237
|
const { ariaLive, role } = liveRegionConfig[tone];
|
|
3013
|
-
return /* @__PURE__ */
|
|
3238
|
+
return /* @__PURE__ */ jsxs63(
|
|
3014
3239
|
"div",
|
|
3015
3240
|
{
|
|
3016
3241
|
className: cn(
|
|
@@ -3023,7 +3248,7 @@ var InlineAlert = ({
|
|
|
3023
3248
|
"aria-live": ariaLive,
|
|
3024
3249
|
"aria-label": ariaLabel,
|
|
3025
3250
|
children: [
|
|
3026
|
-
/* @__PURE__ */
|
|
3251
|
+
/* @__PURE__ */ jsx68(
|
|
3027
3252
|
Icon,
|
|
3028
3253
|
{
|
|
3029
3254
|
name: toneIconName[tone],
|
|
@@ -3031,14 +3256,14 @@ var InlineAlert = ({
|
|
|
3031
3256
|
"aria-hidden": "true"
|
|
3032
3257
|
}
|
|
3033
3258
|
),
|
|
3034
|
-
/* @__PURE__ */
|
|
3259
|
+
/* @__PURE__ */ jsx68(
|
|
3035
3260
|
"div",
|
|
3036
3261
|
{
|
|
3037
3262
|
className: cn(
|
|
3038
3263
|
"min-w-0",
|
|
3039
3264
|
resolvedVariant === "plain" && !hasAction ? "flex-none text-center" : "flex-1"
|
|
3040
3265
|
),
|
|
3041
|
-
children: /* @__PURE__ */
|
|
3266
|
+
children: /* @__PURE__ */ jsxs63(
|
|
3042
3267
|
"div",
|
|
3043
3268
|
{
|
|
3044
3269
|
className: cn(
|
|
@@ -3047,14 +3272,14 @@ var InlineAlert = ({
|
|
|
3047
3272
|
resolvedVariant === "plain" && !hasAction ? "items-center" : null
|
|
3048
3273
|
),
|
|
3049
3274
|
children: [
|
|
3050
|
-
title ? /* @__PURE__ */
|
|
3051
|
-
/* @__PURE__ */
|
|
3275
|
+
title ? /* @__PURE__ */ jsx68("p", { className: "text-agg-sm font-agg-bold leading-agg-5 text-agg-foreground", children: title }) : null,
|
|
3276
|
+
/* @__PURE__ */ jsx68("p", { className: "text-agg-sm leading-agg-5 text-agg-foreground", children: message })
|
|
3052
3277
|
]
|
|
3053
3278
|
}
|
|
3054
3279
|
)
|
|
3055
3280
|
}
|
|
3056
3281
|
),
|
|
3057
|
-
hasAction ? /* @__PURE__ */
|
|
3282
|
+
hasAction ? /* @__PURE__ */ jsx68(
|
|
3058
3283
|
"button",
|
|
3059
3284
|
{
|
|
3060
3285
|
type: "button",
|
|
@@ -3076,7 +3301,7 @@ InlineAlert.displayName = "InlineAlert";
|
|
|
3076
3301
|
// src/primitives/number-value.tsx
|
|
3077
3302
|
import { useMemo as useMemo3 } from "react";
|
|
3078
3303
|
import { useSdkUiConfig as useSdkUiConfig7 } from "@agg-market/hooks";
|
|
3079
|
-
import { jsx as
|
|
3304
|
+
import { jsx as jsx69 } from "react/jsx-runtime";
|
|
3080
3305
|
var NumberValue = ({
|
|
3081
3306
|
value,
|
|
3082
3307
|
format = "number",
|
|
@@ -3084,32 +3309,43 @@ var NumberValue = ({
|
|
|
3084
3309
|
className,
|
|
3085
3310
|
ariaLabel
|
|
3086
3311
|
}) => {
|
|
3087
|
-
const
|
|
3312
|
+
const {
|
|
3313
|
+
formatting: { formatCompactCurrency, formatCurrency, formatDate, formatNumber, formatPercent }
|
|
3314
|
+
} = useSdkUiConfig7();
|
|
3088
3315
|
const formatted = useMemo3(() => {
|
|
3089
3316
|
if (value == null)
|
|
3090
3317
|
return fallback;
|
|
3091
3318
|
if (format === "date") {
|
|
3092
3319
|
if (value instanceof Date)
|
|
3093
|
-
return
|
|
3320
|
+
return formatDate(value);
|
|
3094
3321
|
return fallback;
|
|
3095
3322
|
}
|
|
3096
3323
|
if (typeof value !== "number")
|
|
3097
3324
|
return fallback;
|
|
3098
3325
|
if (format === "percent")
|
|
3099
|
-
return
|
|
3326
|
+
return formatPercent(value);
|
|
3100
3327
|
if (format === "currency")
|
|
3101
|
-
return
|
|
3328
|
+
return formatCurrency(value);
|
|
3102
3329
|
if (format === "compactCurrency") {
|
|
3103
|
-
return
|
|
3330
|
+
return formatCompactCurrency(value);
|
|
3104
3331
|
}
|
|
3105
|
-
return
|
|
3106
|
-
}, [
|
|
3107
|
-
|
|
3332
|
+
return formatNumber(value);
|
|
3333
|
+
}, [
|
|
3334
|
+
fallback,
|
|
3335
|
+
format,
|
|
3336
|
+
formatCompactCurrency,
|
|
3337
|
+
formatCurrency,
|
|
3338
|
+
formatDate,
|
|
3339
|
+
formatNumber,
|
|
3340
|
+
formatPercent,
|
|
3341
|
+
value
|
|
3342
|
+
]);
|
|
3343
|
+
return /* @__PURE__ */ jsx69("span", { className: cn("font-agg-sans", className), "aria-label": ariaLabel, children: formatted });
|
|
3108
3344
|
};
|
|
3109
3345
|
NumberValue.displayName = "NumberValue";
|
|
3110
3346
|
|
|
3111
3347
|
// src/primitives/venue-logo/index.tsx
|
|
3112
|
-
import { useAggUiConfig, useLabels as
|
|
3348
|
+
import { useAggUiConfig, useLabels as useLabels9 } from "@agg-market/hooks";
|
|
3113
3349
|
|
|
3114
3350
|
// src/primitives/remote-image/index.tsx
|
|
3115
3351
|
import { useRef, useState as useState3 } from "react";
|
|
@@ -3121,7 +3357,7 @@ var skeletonClasses = "h-full w-full rounded-agg-lg";
|
|
|
3121
3357
|
var placeholderClasses = "flex h-full w-full items-center justify-center bg-agg-secondary-hover rounded-agg-lg";
|
|
3122
3358
|
|
|
3123
3359
|
// src/primitives/remote-image/index.tsx
|
|
3124
|
-
import { jsx as
|
|
3360
|
+
import { jsx as jsx70, jsxs as jsxs64 } from "react/jsx-runtime";
|
|
3125
3361
|
var isValidSrc = (src) => typeof src === "string" && src.length > 0;
|
|
3126
3362
|
var RemoteImage = ({
|
|
3127
3363
|
src,
|
|
@@ -3152,7 +3388,7 @@ var RemoteImage = ({
|
|
|
3152
3388
|
setStatus("error");
|
|
3153
3389
|
};
|
|
3154
3390
|
const sizeStyle = width !== void 0 || height !== void 0 ? { width: width != null ? width : void 0, height: height != null ? height : void 0 } : void 0;
|
|
3155
|
-
return /* @__PURE__ */
|
|
3391
|
+
return /* @__PURE__ */ jsxs64(
|
|
3156
3392
|
"div",
|
|
3157
3393
|
{
|
|
3158
3394
|
className: cn(containerClasses, classNames == null ? void 0 : classNames.root, className),
|
|
@@ -3169,17 +3405,17 @@ var RemoteImage = ({
|
|
|
3169
3405
|
"aria-label": ariaLabel,
|
|
3170
3406
|
title,
|
|
3171
3407
|
children: [
|
|
3172
|
-
status === "loading" && /* @__PURE__ */
|
|
3173
|
-
status === "error" && /* @__PURE__ */
|
|
3408
|
+
status === "loading" && /* @__PURE__ */ jsx70(SkeletonBlock, { className: cn(skeletonClasses, classNames == null ? void 0 : classNames.placeholder) }),
|
|
3409
|
+
status === "error" && /* @__PURE__ */ jsx70(
|
|
3174
3410
|
"div",
|
|
3175
3411
|
{
|
|
3176
3412
|
className: cn(placeholderClasses, classNames == null ? void 0 : classNames.placeholder),
|
|
3177
3413
|
"aria-hidden": true,
|
|
3178
3414
|
"aria-errormessage": "Image failed to load",
|
|
3179
|
-
children: /* @__PURE__ */
|
|
3415
|
+
children: /* @__PURE__ */ jsx70(Icon, { name: "image", size: "medium", className: "text-agg-muted-foreground" })
|
|
3180
3416
|
}
|
|
3181
3417
|
),
|
|
3182
|
-
isValidSrc(src) && status !== "error" && /* @__PURE__ */
|
|
3418
|
+
isValidSrc(src) && status !== "error" && /* @__PURE__ */ jsx70(
|
|
3183
3419
|
"img",
|
|
3184
3420
|
{
|
|
3185
3421
|
src,
|
|
@@ -3212,7 +3448,7 @@ var resolveLogoPrimaryColor = ({
|
|
|
3212
3448
|
};
|
|
3213
3449
|
|
|
3214
3450
|
// src/primitives/venue-logo/svg/logo-kalshi.tsx
|
|
3215
|
-
import { jsx as
|
|
3451
|
+
import { jsx as jsx71, jsxs as jsxs65 } from "react/jsx-runtime";
|
|
3216
3452
|
var KALSHI_GREEN = "#18C590";
|
|
3217
3453
|
var LogoKalshiIcon = (_a) => {
|
|
3218
3454
|
var _b = _a, {
|
|
@@ -3231,7 +3467,7 @@ var LogoKalshiIcon = (_a) => {
|
|
|
3231
3467
|
isColor,
|
|
3232
3468
|
color
|
|
3233
3469
|
});
|
|
3234
|
-
return /* @__PURE__ */
|
|
3470
|
+
return /* @__PURE__ */ jsxs65(
|
|
3235
3471
|
"svg",
|
|
3236
3472
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3237
3473
|
viewBox: "0 0 100 100",
|
|
@@ -3239,8 +3475,8 @@ var LogoKalshiIcon = (_a) => {
|
|
|
3239
3475
|
fill: "none"
|
|
3240
3476
|
}, getIconA11yProps(title)), props), {
|
|
3241
3477
|
children: [
|
|
3242
|
-
title ? /* @__PURE__ */
|
|
3243
|
-
/* @__PURE__ */
|
|
3478
|
+
title ? /* @__PURE__ */ jsx71("title", { children: title }) : null,
|
|
3479
|
+
/* @__PURE__ */ jsx71(
|
|
3244
3480
|
"path",
|
|
3245
3481
|
{
|
|
3246
3482
|
d: "M54.9798 47.579L79.4249 85.9995H58.2273L38.2531 52.9344V85.9995H20.4189V13.9995H38.2531V45.4356L59.6547 13.9995H78.7119L54.9798 47.579Z",
|
|
@@ -3254,7 +3490,7 @@ var LogoKalshiIcon = (_a) => {
|
|
|
3254
3490
|
LogoKalshiIcon.displayName = "LogoKalshiIcon";
|
|
3255
3491
|
|
|
3256
3492
|
// src/primitives/venue-logo/svg/logo-limitless.tsx
|
|
3257
|
-
import { jsx as
|
|
3493
|
+
import { jsx as jsx72, jsxs as jsxs66 } from "react/jsx-runtime";
|
|
3258
3494
|
var LIMITLESS_BLACK = "#000000";
|
|
3259
3495
|
var LogoLimitlessIcon = (_a) => {
|
|
3260
3496
|
var _b = _a, {
|
|
@@ -3273,7 +3509,7 @@ var LogoLimitlessIcon = (_a) => {
|
|
|
3273
3509
|
isColor,
|
|
3274
3510
|
color
|
|
3275
3511
|
});
|
|
3276
|
-
return /* @__PURE__ */
|
|
3512
|
+
return /* @__PURE__ */ jsxs66(
|
|
3277
3513
|
"svg",
|
|
3278
3514
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3279
3515
|
viewBox: "0 0 44 32",
|
|
@@ -3281,8 +3517,8 @@ var LogoLimitlessIcon = (_a) => {
|
|
|
3281
3517
|
fill: "none"
|
|
3282
3518
|
}, getIconA11yProps(title)), props), {
|
|
3283
3519
|
children: [
|
|
3284
|
-
title ? /* @__PURE__ */
|
|
3285
|
-
/* @__PURE__ */
|
|
3520
|
+
title ? /* @__PURE__ */ jsx72("title", { children: title }) : null,
|
|
3521
|
+
/* @__PURE__ */ jsx72(
|
|
3286
3522
|
"path",
|
|
3287
3523
|
{
|
|
3288
3524
|
fill: primaryColor,
|
|
@@ -3291,7 +3527,7 @@ var LogoLimitlessIcon = (_a) => {
|
|
|
3291
3527
|
clipRule: "evenodd"
|
|
3292
3528
|
}
|
|
3293
3529
|
),
|
|
3294
|
-
/* @__PURE__ */
|
|
3530
|
+
/* @__PURE__ */ jsx72(
|
|
3295
3531
|
"path",
|
|
3296
3532
|
{
|
|
3297
3533
|
fill: primaryColor,
|
|
@@ -3300,7 +3536,7 @@ var LogoLimitlessIcon = (_a) => {
|
|
|
3300
3536
|
clipRule: "evenodd"
|
|
3301
3537
|
}
|
|
3302
3538
|
),
|
|
3303
|
-
/* @__PURE__ */
|
|
3539
|
+
/* @__PURE__ */ jsx72(
|
|
3304
3540
|
"path",
|
|
3305
3541
|
{
|
|
3306
3542
|
fill: primaryColor,
|
|
@@ -3309,7 +3545,7 @@ var LogoLimitlessIcon = (_a) => {
|
|
|
3309
3545
|
clipRule: "evenodd"
|
|
3310
3546
|
}
|
|
3311
3547
|
),
|
|
3312
|
-
/* @__PURE__ */
|
|
3548
|
+
/* @__PURE__ */ jsx72(
|
|
3313
3549
|
"path",
|
|
3314
3550
|
{
|
|
3315
3551
|
fill: primaryColor,
|
|
@@ -3318,7 +3554,7 @@ var LogoLimitlessIcon = (_a) => {
|
|
|
3318
3554
|
clipRule: "evenodd"
|
|
3319
3555
|
}
|
|
3320
3556
|
),
|
|
3321
|
-
/* @__PURE__ */
|
|
3557
|
+
/* @__PURE__ */ jsx72(
|
|
3322
3558
|
"path",
|
|
3323
3559
|
{
|
|
3324
3560
|
fill: primaryColor,
|
|
@@ -3334,7 +3570,7 @@ var LogoLimitlessIcon = (_a) => {
|
|
|
3334
3570
|
LogoLimitlessIcon.displayName = "LogoLimitlessIcon";
|
|
3335
3571
|
|
|
3336
3572
|
// src/primitives/venue-logo/svg/logo-opinion.tsx
|
|
3337
|
-
import { jsx as
|
|
3573
|
+
import { jsx as jsx73, jsxs as jsxs67 } from "react/jsx-runtime";
|
|
3338
3574
|
var OPINION_BLACK = "#000000";
|
|
3339
3575
|
var LogoOpinionIcon = (_a) => {
|
|
3340
3576
|
var _b = _a, {
|
|
@@ -3353,7 +3589,7 @@ var LogoOpinionIcon = (_a) => {
|
|
|
3353
3589
|
isColor,
|
|
3354
3590
|
color
|
|
3355
3591
|
});
|
|
3356
|
-
return /* @__PURE__ */
|
|
3592
|
+
return /* @__PURE__ */ jsxs67(
|
|
3357
3593
|
"svg",
|
|
3358
3594
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3359
3595
|
viewBox: "0 0 100 100",
|
|
@@ -3361,8 +3597,8 @@ var LogoOpinionIcon = (_a) => {
|
|
|
3361
3597
|
fill: "none"
|
|
3362
3598
|
}, getIconA11yProps(title)), props), {
|
|
3363
3599
|
children: [
|
|
3364
|
-
title ? /* @__PURE__ */
|
|
3365
|
-
/* @__PURE__ */
|
|
3600
|
+
title ? /* @__PURE__ */ jsx73("title", { children: title }) : null,
|
|
3601
|
+
/* @__PURE__ */ jsx73(
|
|
3366
3602
|
"path",
|
|
3367
3603
|
{
|
|
3368
3604
|
d: "M51.8239 68.4603L56.9659 68.0094L58.8049 89.0576C61.1459 88.5314 63.4349 87.7952 65.6437 86.8578V68.1879H71.9955V83.4385C74.6496 81.6828 77.0863 79.619 79.2548 77.2898L80.0716 67.958L85.516 68.433C88.6185 62.4381 90.156 55.7558 89.9858 49.0072C89.8154 42.2584 87.9429 35.6623 84.542 29.8316L84.3394 32.1494L77.9876 31.5927L78.8042 22.2668C76.7468 20.1288 74.4594 18.225 71.9835 16.5902V31.9164H65.6317V13.1739C62.9224 12.0205 60.0929 11.173 57.1957 10.6473L59.0317 31.6441L53.8897 32.0949L51.9599 10.0482C51.3128 10.0179 50.6593 9.99976 50.006 9.99976C47.4581 9.99976 44.9161 10.2419 42.414 10.723L46.0438 31.3899L42.1297 32.0798L38.5304 11.6701C35.1755 12.6725 31.9677 14.1143 28.9905 15.9578L33.0435 31.0873L29.9705 31.9134L26.2018 17.8369C23.2938 19.9923 20.6902 22.5308 18.4615 25.3835L20.4246 30.7787L18.1833 31.5956L16.7707 27.7134C14.5111 31.0771 12.7772 34.7657 11.6287 38.652L12.2639 38.4221L20.4306 60.8471L18.1893 61.6641L10.8877 41.5963C9.21542 49.4012 9.91256 57.528 12.8896 64.9338C15.8667 72.3395 20.9879 78.6865 27.5961 83.1601L23.8031 68.9989L26.8762 68.1728L31.5162 85.4991C34.6952 87.1593 38.0844 88.3808 41.5914 89.1303L38.0132 68.7296L41.9301 68.0397L45.7684 89.8262C47.1811 89.9757 48.6007 90.0505 50.0212 90.0502C51.2583 90.0502 52.4863 89.9926 53.6963 89.8807L51.8239 68.4603ZM80.1017 37.8985L86.4385 38.4524L84.3605 62.2299L78.0087 61.6761L80.1017 37.8985ZM65.6528 38.1315H72.0046V61.9969H65.6528V38.1315ZM56.975 37.9501L59.053 61.7277L53.911 62.1785L51.8299 38.4009L56.975 37.9501ZM29.9976 62.003L23.8243 38.9486L26.8974 38.1255L33.0707 61.1649L29.9976 62.003ZM42.157 62.1603L38.0132 38.658L41.9301 37.9683L46.0709 61.4674L42.157 62.1603Z",
|
|
@@ -3376,7 +3612,7 @@ var LogoOpinionIcon = (_a) => {
|
|
|
3376
3612
|
LogoOpinionIcon.displayName = "LogoOpinionIcon";
|
|
3377
3613
|
|
|
3378
3614
|
// src/primitives/venue-logo/svg/logo-polymarket.tsx
|
|
3379
|
-
import { jsx as
|
|
3615
|
+
import { jsx as jsx74, jsxs as jsxs68 } from "react/jsx-runtime";
|
|
3380
3616
|
var POLYMARKET_BLUE = "#2E5CFF";
|
|
3381
3617
|
var LogoPolymarketIcon = (_a) => {
|
|
3382
3618
|
var _b = _a, {
|
|
@@ -3395,7 +3631,7 @@ var LogoPolymarketIcon = (_a) => {
|
|
|
3395
3631
|
isColor,
|
|
3396
3632
|
color
|
|
3397
3633
|
});
|
|
3398
|
-
return /* @__PURE__ */
|
|
3634
|
+
return /* @__PURE__ */ jsxs68(
|
|
3399
3635
|
"svg",
|
|
3400
3636
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3401
3637
|
viewBox: "0 0 100 100",
|
|
@@ -3403,8 +3639,8 @@ var LogoPolymarketIcon = (_a) => {
|
|
|
3403
3639
|
fill: "none"
|
|
3404
3640
|
}, getIconA11yProps(title)), props), {
|
|
3405
3641
|
children: [
|
|
3406
|
-
title ? /* @__PURE__ */
|
|
3407
|
-
/* @__PURE__ */
|
|
3642
|
+
title ? /* @__PURE__ */ jsx74("title", { children: title }) : null,
|
|
3643
|
+
/* @__PURE__ */ jsx74(
|
|
3408
3644
|
"path",
|
|
3409
3645
|
{
|
|
3410
3646
|
d: "M81.0904 84.2882C81.0904 87.9246 81.0904 89.7428 79.901 90.644C78.7119 91.5456 76.9613 91.0542 73.4603 90.0717L17.1975 74.2838C15.0881 73.6919 14.0332 73.3959 13.4233 72.5913C12.8135 71.7866 12.8135 70.6911 12.8135 68.5002V31.4998C12.8135 29.309 12.8135 28.2134 13.4233 27.4088C14.0332 26.6042 15.0881 26.3081 17.1975 25.7163L73.4603 9.92806C76.9613 8.94572 78.7119 8.45448 79.901 9.35587C81.0904 10.2573 81.0904 12.0755 81.0904 15.7119V84.2882ZM26.8451 69.1363L73.4308 82.2104V56.0637L26.8451 69.1363ZM20.4723 63.0711L67.0487 50L20.4723 36.929V63.0711ZM26.8446 30.8638L73.4308 43.9366V17.7896L26.8446 30.8638Z",
|
|
@@ -3418,7 +3654,7 @@ var LogoPolymarketIcon = (_a) => {
|
|
|
3418
3654
|
LogoPolymarketIcon.displayName = "LogoPolymarketIcon";
|
|
3419
3655
|
|
|
3420
3656
|
// src/primitives/venue-logo/svg/logo-probable.tsx
|
|
3421
|
-
import { jsx as
|
|
3657
|
+
import { jsx as jsx75, jsxs as jsxs69 } from "react/jsx-runtime";
|
|
3422
3658
|
var PROBABLE_ORANGE = "#F05923";
|
|
3423
3659
|
var LogoProbableIcon = (_a) => {
|
|
3424
3660
|
var _b = _a, {
|
|
@@ -3437,7 +3673,7 @@ var LogoProbableIcon = (_a) => {
|
|
|
3437
3673
|
isColor,
|
|
3438
3674
|
color
|
|
3439
3675
|
});
|
|
3440
|
-
return /* @__PURE__ */
|
|
3676
|
+
return /* @__PURE__ */ jsxs69(
|
|
3441
3677
|
"svg",
|
|
3442
3678
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3443
3679
|
viewBox: "0 0 100 100",
|
|
@@ -3445,16 +3681,16 @@ var LogoProbableIcon = (_a) => {
|
|
|
3445
3681
|
fill: "none"
|
|
3446
3682
|
}, getIconA11yProps(title)), props), {
|
|
3447
3683
|
children: [
|
|
3448
|
-
title ? /* @__PURE__ */
|
|
3449
|
-
/* @__PURE__ */
|
|
3684
|
+
title ? /* @__PURE__ */ jsx75("title", { children: title }) : null,
|
|
3685
|
+
/* @__PURE__ */ jsx75(
|
|
3450
3686
|
"path",
|
|
3451
3687
|
{
|
|
3452
3688
|
d: "M75.625 59.3489C75.6247 53.7323 71.0719 49.1792 65.4551 49.179H33.9209C28.3039 49.179 23.7503 53.7321 23.75 59.3489C23.75 64.9659 28.3038 69.5198 33.9209 69.5198H65.4551C71.0719 69.5195 75.625 64.9658 75.625 59.3489ZM90.625 59.3489C90.625 73.2501 79.3562 84.5195 65.4551 84.5198H33.9209C20.0196 84.5198 8.75 73.2502 8.75 59.3489C8.75026 45.4477 20.0198 34.179 33.9209 34.179H65.4551C79.3559 34.1792 90.6247 45.4478 90.625 59.3489Z",
|
|
3453
3689
|
fill: primaryColor
|
|
3454
3690
|
}
|
|
3455
3691
|
),
|
|
3456
|
-
/* @__PURE__ */
|
|
3457
|
-
/* @__PURE__ */
|
|
3692
|
+
/* @__PURE__ */ jsx75("path", { d: "M90.9329 15.4546V30.4546H8.90234V15.4546H90.9329Z", fill: primaryColor }),
|
|
3693
|
+
/* @__PURE__ */ jsx75(
|
|
3458
3694
|
"path",
|
|
3459
3695
|
{
|
|
3460
3696
|
d: "M64.5742 51.3496C68.9894 51.3496 72.5742 54.9344 72.5742 59.3496C72.5742 63.7648 68.9894 67.3496 64.5742 67.3496C60.159 67.3496 56.5742 63.7648 56.5742 59.3496C56.5742 54.9344 60.159 51.3496 64.5742 51.3496Z",
|
|
@@ -3498,7 +3734,7 @@ var sizeClasses2 = {
|
|
|
3498
3734
|
};
|
|
3499
3735
|
|
|
3500
3736
|
// src/primitives/venue-logo/index.tsx
|
|
3501
|
-
import { jsx as
|
|
3737
|
+
import { jsx as jsx76 } from "react/jsx-runtime";
|
|
3502
3738
|
var VenueLogo = ({
|
|
3503
3739
|
venue,
|
|
3504
3740
|
variant = "icon",
|
|
@@ -3511,14 +3747,16 @@ var VenueLogo = ({
|
|
|
3511
3747
|
title
|
|
3512
3748
|
}) => {
|
|
3513
3749
|
var _a;
|
|
3514
|
-
const {
|
|
3515
|
-
|
|
3750
|
+
const {
|
|
3751
|
+
features: { showVenueLogo }
|
|
3752
|
+
} = useAggUiConfig();
|
|
3753
|
+
const labels = useLabels9();
|
|
3516
3754
|
const sizeClass = sizeClasses2[size];
|
|
3517
3755
|
const resolvedLabel = (_a = ariaLabel != null ? ariaLabel : labels.venues[venue]) != null ? _a : venueLogoLabels[venue];
|
|
3518
3756
|
if (!showVenueLogo)
|
|
3519
3757
|
return null;
|
|
3520
3758
|
if (variant === "logo") {
|
|
3521
|
-
return /* @__PURE__ */
|
|
3759
|
+
return /* @__PURE__ */ jsx76(
|
|
3522
3760
|
RemoteImage,
|
|
3523
3761
|
{
|
|
3524
3762
|
src: venueLogoUrlRegistry[venue],
|
|
@@ -3530,7 +3768,7 @@ var VenueLogo = ({
|
|
|
3530
3768
|
}
|
|
3531
3769
|
const Component = venueLogoRegistry[venue];
|
|
3532
3770
|
const resolvedIsColor = isMonochromatic ? false : isColor;
|
|
3533
|
-
return /* @__PURE__ */
|
|
3771
|
+
return /* @__PURE__ */ jsx76(
|
|
3534
3772
|
Component,
|
|
3535
3773
|
{
|
|
3536
3774
|
className: cn("group/agg-venue-logo", "shrink-0", sizeClass, className),
|
|
@@ -3559,7 +3797,7 @@ var baseBadgeClasses = cn(
|
|
|
3559
3797
|
);
|
|
3560
3798
|
|
|
3561
3799
|
// src/primitives/badge/index.tsx
|
|
3562
|
-
import { jsx as
|
|
3800
|
+
import { jsx as jsx77, jsxs as jsxs70 } from "react/jsx-runtime";
|
|
3563
3801
|
function Badge({
|
|
3564
3802
|
text,
|
|
3565
3803
|
prefix,
|
|
@@ -3569,10 +3807,12 @@ function Badge({
|
|
|
3569
3807
|
onClick,
|
|
3570
3808
|
isActive = false
|
|
3571
3809
|
}) {
|
|
3572
|
-
const {
|
|
3810
|
+
const {
|
|
3811
|
+
features: { enableAnimations }
|
|
3812
|
+
} = useSdkUiConfig8();
|
|
3573
3813
|
const resolvedText = `${text}`;
|
|
3574
3814
|
const resolvedAriaLabel = resolvedText.length > 0 ? resolvedText : void 0;
|
|
3575
|
-
return /* @__PURE__ */
|
|
3815
|
+
return /* @__PURE__ */ jsxs70(
|
|
3576
3816
|
"span",
|
|
3577
3817
|
__spreadProps(__spreadValues({
|
|
3578
3818
|
"aria-label": resolvedAriaLabel,
|
|
@@ -3590,9 +3830,9 @@ function Badge({
|
|
|
3590
3830
|
)
|
|
3591
3831
|
}, onClick && { onClick }), {
|
|
3592
3832
|
children: [
|
|
3593
|
-
prefix ? /* @__PURE__ */
|
|
3594
|
-
/* @__PURE__ */
|
|
3595
|
-
suffix ? /* @__PURE__ */
|
|
3833
|
+
prefix ? /* @__PURE__ */ jsx77("span", { className: cn(classNames == null ? void 0 : classNames.prefix, "empty:hidden"), children: prefix }) : null,
|
|
3834
|
+
/* @__PURE__ */ jsx77("span", { className: cn("truncate", classNames == null ? void 0 : classNames.text), children: text }),
|
|
3835
|
+
suffix ? /* @__PURE__ */ jsx77("span", { className: cn(classNames == null ? void 0 : classNames.suffix, "empty:hidden"), children: suffix }) : null
|
|
3596
3836
|
]
|
|
3597
3837
|
})
|
|
3598
3838
|
);
|
|
@@ -3601,8 +3841,8 @@ Badge.displayName = "Badge";
|
|
|
3601
3841
|
|
|
3602
3842
|
// src/primitives/select/index.tsx
|
|
3603
3843
|
import { useCallback, useEffect as useEffect3, useRef as useRef2, useState as useState4 } from "react";
|
|
3604
|
-
import { useLabels as
|
|
3605
|
-
import { jsx as
|
|
3844
|
+
import { useLabels as useLabels10, useSdkUiConfig as useSdkUiConfig9 } from "@agg-market/hooks";
|
|
3845
|
+
import { jsx as jsx78, jsxs as jsxs71 } from "react/jsx-runtime";
|
|
3606
3846
|
var Select = ({
|
|
3607
3847
|
items,
|
|
3608
3848
|
value,
|
|
@@ -3612,8 +3852,10 @@ var Select = ({
|
|
|
3612
3852
|
disabled = false
|
|
3613
3853
|
}) => {
|
|
3614
3854
|
var _a;
|
|
3615
|
-
const labels =
|
|
3616
|
-
const {
|
|
3855
|
+
const labels = useLabels10();
|
|
3856
|
+
const {
|
|
3857
|
+
features: { enableAnimations }
|
|
3858
|
+
} = useSdkUiConfig9();
|
|
3617
3859
|
const hasEnabledItems = items.some((item) => !item.disabled);
|
|
3618
3860
|
const hasAnyIcon = items.some((item) => item.iconUrl);
|
|
3619
3861
|
const [isOpen, setIsOpen] = useState4(false);
|
|
@@ -3643,8 +3885,8 @@ var Select = ({
|
|
|
3643
3885
|
const isDisabled = disabled || !hasEnabledItems;
|
|
3644
3886
|
const selectedItem = items.find((item) => item.value === value);
|
|
3645
3887
|
if (!hasAnyIcon) {
|
|
3646
|
-
return /* @__PURE__ */
|
|
3647
|
-
/* @__PURE__ */
|
|
3888
|
+
return /* @__PURE__ */ jsxs71("label", { className: cn("group/agg-select", "relative inline-flex w-full", className), children: [
|
|
3889
|
+
/* @__PURE__ */ jsx78(
|
|
3648
3890
|
"select",
|
|
3649
3891
|
{
|
|
3650
3892
|
"aria-label": ariaLabel != null ? ariaLabel : labels.common.selectAria,
|
|
@@ -3660,19 +3902,19 @@ var Select = ({
|
|
|
3660
3902
|
disabled: isDisabled,
|
|
3661
3903
|
value,
|
|
3662
3904
|
onChange: (event) => onChange(event.target.value),
|
|
3663
|
-
children: items.map((item) => /* @__PURE__ */
|
|
3905
|
+
children: items.map((item) => /* @__PURE__ */ jsx78("option", { value: item.value, disabled: item.disabled, children: item.label }, item.value))
|
|
3664
3906
|
}
|
|
3665
3907
|
),
|
|
3666
|
-
/* @__PURE__ */
|
|
3908
|
+
/* @__PURE__ */ jsx78("span", { className: "pointer-events-none absolute inset-y-0 right-3 inline-flex items-center justify-center text-agg-muted-foreground", children: /* @__PURE__ */ jsx78(Icon, { name: "chevron-down", size: "small", color: "currentColor" }) })
|
|
3667
3909
|
] });
|
|
3668
3910
|
}
|
|
3669
|
-
return /* @__PURE__ */
|
|
3911
|
+
return /* @__PURE__ */ jsxs71(
|
|
3670
3912
|
"div",
|
|
3671
3913
|
{
|
|
3672
3914
|
ref: containerRef,
|
|
3673
3915
|
className: cn("group/agg-select", "relative inline-flex w-full", className),
|
|
3674
3916
|
children: [
|
|
3675
|
-
/* @__PURE__ */
|
|
3917
|
+
/* @__PURE__ */ jsxs71(
|
|
3676
3918
|
"button",
|
|
3677
3919
|
{
|
|
3678
3920
|
type: "button",
|
|
@@ -3692,7 +3934,7 @@ var Select = ({
|
|
|
3692
3934
|
),
|
|
3693
3935
|
onClick: () => setIsOpen((prev) => !prev),
|
|
3694
3936
|
children: [
|
|
3695
|
-
(selectedItem == null ? void 0 : selectedItem.iconUrl) ? /* @__PURE__ */
|
|
3937
|
+
(selectedItem == null ? void 0 : selectedItem.iconUrl) ? /* @__PURE__ */ jsx78(
|
|
3696
3938
|
RemoteImage,
|
|
3697
3939
|
{
|
|
3698
3940
|
src: selectedItem.iconUrl,
|
|
@@ -3700,12 +3942,12 @@ var Select = ({
|
|
|
3700
3942
|
className: "h-4 w-4 shrink-0 rounded-sm object-contain"
|
|
3701
3943
|
}
|
|
3702
3944
|
) : null,
|
|
3703
|
-
/* @__PURE__ */
|
|
3945
|
+
/* @__PURE__ */ jsx78("span", { className: "flex-1 truncate", children: (_a = selectedItem == null ? void 0 : selectedItem.label) != null ? _a : "" })
|
|
3704
3946
|
]
|
|
3705
3947
|
}
|
|
3706
3948
|
),
|
|
3707
|
-
/* @__PURE__ */
|
|
3708
|
-
isOpen ? /* @__PURE__ */
|
|
3949
|
+
/* @__PURE__ */ jsx78("span", { className: "pointer-events-none absolute inset-y-0 right-3 inline-flex items-center justify-center text-agg-muted-foreground", children: /* @__PURE__ */ jsx78(Icon, { name: "chevron-down", size: "small", color: "currentColor" }) }),
|
|
3950
|
+
isOpen ? /* @__PURE__ */ jsx78(
|
|
3709
3951
|
"div",
|
|
3710
3952
|
{
|
|
3711
3953
|
role: "listbox",
|
|
@@ -3713,7 +3955,7 @@ var Select = ({
|
|
|
3713
3955
|
className: "absolute top-full left-0 z-50 mt-1 w-full overflow-hidden rounded-agg-md border border-agg-separator bg-agg-secondary shadow-lg",
|
|
3714
3956
|
children: items.map((item) => {
|
|
3715
3957
|
const isSelected = item.value === value;
|
|
3716
|
-
return /* @__PURE__ */
|
|
3958
|
+
return /* @__PURE__ */ jsxs71(
|
|
3717
3959
|
"button",
|
|
3718
3960
|
{
|
|
3719
3961
|
type: "button",
|
|
@@ -3733,7 +3975,7 @@ var Select = ({
|
|
|
3733
3975
|
}
|
|
3734
3976
|
},
|
|
3735
3977
|
children: [
|
|
3736
|
-
item.iconUrl ? /* @__PURE__ */
|
|
3978
|
+
item.iconUrl ? /* @__PURE__ */ jsx78(
|
|
3737
3979
|
RemoteImage,
|
|
3738
3980
|
{
|
|
3739
3981
|
src: item.iconUrl,
|
|
@@ -3741,7 +3983,7 @@ var Select = ({
|
|
|
3741
3983
|
className: "h-4 w-4 shrink-0 rounded-sm object-contain"
|
|
3742
3984
|
}
|
|
3743
3985
|
) : null,
|
|
3744
|
-
/* @__PURE__ */
|
|
3986
|
+
/* @__PURE__ */ jsx78("span", { className: "truncate", children: item.label })
|
|
3745
3987
|
]
|
|
3746
3988
|
},
|
|
3747
3989
|
item.value
|
|
@@ -3756,14 +3998,18 @@ var Select = ({
|
|
|
3756
3998
|
Select.displayName = "Select";
|
|
3757
3999
|
|
|
3758
4000
|
// src/primitives/search/index.tsx
|
|
3759
|
-
import {
|
|
3760
|
-
|
|
4001
|
+
import {
|
|
4002
|
+
useEffect as useEffect4,
|
|
4003
|
+
useMemo as useMemo4,
|
|
4004
|
+
useState as useState5
|
|
4005
|
+
} from "react";
|
|
4006
|
+
import { useLabels as useLabels11, useSdkUiConfig as useSdkUiConfig10, useVenueEvents } from "@agg-market/hooks";
|
|
3761
4007
|
|
|
3762
4008
|
// src/primitives/search/search-empty-icon.tsx
|
|
3763
|
-
import { jsx as
|
|
4009
|
+
import { jsx as jsx79, jsxs as jsxs72 } from "react/jsx-runtime";
|
|
3764
4010
|
var SearchEmptyIcon = (_a) => {
|
|
3765
4011
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3766
|
-
return /* @__PURE__ */
|
|
4012
|
+
return /* @__PURE__ */ jsxs72(
|
|
3767
4013
|
"svg",
|
|
3768
4014
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3769
4015
|
viewBox: "0 0 40 40",
|
|
@@ -3772,9 +4018,9 @@ var SearchEmptyIcon = (_a) => {
|
|
|
3772
4018
|
className
|
|
3773
4019
|
}, getIconA11yProps(title)), props), {
|
|
3774
4020
|
children: [
|
|
3775
|
-
title ? /* @__PURE__ */
|
|
3776
|
-
/* @__PURE__ */
|
|
3777
|
-
/* @__PURE__ */
|
|
4021
|
+
title ? /* @__PURE__ */ jsx79("title", { children: title }) : null,
|
|
4022
|
+
/* @__PURE__ */ jsx79("circle", { cx: "19.9987", cy: "20.0013", r: "9.2", stroke: "currentColor", strokeWidth: "1.6" }),
|
|
4023
|
+
/* @__PURE__ */ jsx79(
|
|
3778
4024
|
"ellipse",
|
|
3779
4025
|
{
|
|
3780
4026
|
cx: "19.9987",
|
|
@@ -3792,31 +4038,195 @@ var SearchEmptyIcon = (_a) => {
|
|
|
3792
4038
|
};
|
|
3793
4039
|
SearchEmptyIcon.displayName = "SearchEmptyIcon";
|
|
3794
4040
|
|
|
3795
|
-
// src/primitives/search/search.
|
|
3796
|
-
import
|
|
3797
|
-
|
|
3798
|
-
|
|
3799
|
-
|
|
3800
|
-
|
|
3801
|
-
|
|
3802
|
-
|
|
3803
|
-
|
|
3804
|
-
|
|
3805
|
-
|
|
3806
|
-
)
|
|
3807
|
-
|
|
3808
|
-
|
|
3809
|
-
|
|
3810
|
-
|
|
3811
|
-
|
|
3812
|
-
|
|
3813
|
-
|
|
3814
|
-
|
|
3815
|
-
|
|
3816
|
-
|
|
4041
|
+
// src/primitives/search/search.utils.ts
|
|
4042
|
+
import dayjs2 from "dayjs";
|
|
4043
|
+
|
|
4044
|
+
// src/events/item/event-list-item.utils.ts
|
|
4045
|
+
var resolveEventListItemEvent = (fetchedEvent) => {
|
|
4046
|
+
if (!fetchedEvent)
|
|
4047
|
+
return void 0;
|
|
4048
|
+
if (!fetchedEvent.venueMarkets || fetchedEvent.venueMarkets.length === 0)
|
|
4049
|
+
return void 0;
|
|
4050
|
+
return fetchedEvent;
|
|
4051
|
+
};
|
|
4052
|
+
var normalizeProbability = (value) => {
|
|
4053
|
+
if (typeof value !== "number" || !Number.isFinite(value))
|
|
4054
|
+
return void 0;
|
|
4055
|
+
if (value < 0)
|
|
4056
|
+
return 0;
|
|
4057
|
+
if (value > 1)
|
|
4058
|
+
return 1;
|
|
4059
|
+
return value;
|
|
4060
|
+
};
|
|
4061
|
+
var hasDateLabel = (outcome) => {
|
|
4062
|
+
return !!toDate(outcome.label);
|
|
4063
|
+
};
|
|
4064
|
+
var sortOutcomes = (outcomes) => {
|
|
4065
|
+
if (outcomes.length <= 1)
|
|
4066
|
+
return outcomes;
|
|
4067
|
+
const now = Date.now();
|
|
4068
|
+
if (outcomes.some(hasDateLabel)) {
|
|
4069
|
+
return [...outcomes].sort((a, b) => {
|
|
4070
|
+
var _a, _b, _c, _d;
|
|
4071
|
+
const aDate = (_b = (_a = toDate(a.label)) == null ? void 0 : _a.getTime()) != null ? _b : 0;
|
|
4072
|
+
const bDate = (_d = (_c = toDate(b.label)) == null ? void 0 : _c.getTime()) != null ? _d : 0;
|
|
4073
|
+
return Math.abs(aDate - now) - Math.abs(bDate - now);
|
|
4074
|
+
});
|
|
4075
|
+
}
|
|
4076
|
+
return [...outcomes].sort((a, b) => {
|
|
4077
|
+
var _a, _b;
|
|
4078
|
+
const aPrice = (_a = normalizeProbability(a.price)) != null ? _a : 0;
|
|
4079
|
+
const bPrice = (_b = normalizeProbability(b.price)) != null ? _b : 0;
|
|
4080
|
+
return bPrice - aPrice;
|
|
4081
|
+
});
|
|
4082
|
+
};
|
|
4083
|
+
var compareVisibleOutcomeRows = (left, right) => {
|
|
4084
|
+
var _a, _b;
|
|
4085
|
+
const leftDate = toDate(resolveOutcomeTitle(left.outcome));
|
|
4086
|
+
const rightDate = toDate(resolveOutcomeTitle(right.outcome));
|
|
4087
|
+
if (leftDate && rightDate) {
|
|
4088
|
+
return leftDate.getTime() - rightDate.getTime();
|
|
4089
|
+
}
|
|
4090
|
+
const leftProbability = (_a = normalizeProbability(left.outcome.price)) != null ? _a : -1;
|
|
4091
|
+
const rightProbability = (_b = normalizeProbability(right.outcome.price)) != null ? _b : -1;
|
|
4092
|
+
return rightProbability - leftProbability;
|
|
4093
|
+
};
|
|
4094
|
+
var shouldReplaceVisibleOutcome = (current, next) => {
|
|
4095
|
+
var _a, _b;
|
|
4096
|
+
const currentVolume = typeof current.market.volume === "number" ? current.market.volume : -1;
|
|
4097
|
+
const nextVolume = typeof next.market.volume === "number" ? next.market.volume : -1;
|
|
4098
|
+
if (currentVolume !== nextVolume) {
|
|
4099
|
+
return nextVolume > currentVolume;
|
|
4100
|
+
}
|
|
4101
|
+
const currentProbability = (_a = normalizeProbability(current.outcome.price)) != null ? _a : -1;
|
|
4102
|
+
const nextProbability = (_b = normalizeProbability(next.outcome.price)) != null ? _b : -1;
|
|
4103
|
+
return nextProbability > currentProbability;
|
|
4104
|
+
};
|
|
4105
|
+
var resolveVisibleOutcomes = (venueMarkets, maxOutcomes) => {
|
|
4106
|
+
const visibleOutcomesByLabel = /* @__PURE__ */ new Map();
|
|
4107
|
+
venueMarkets.forEach((market) => {
|
|
4108
|
+
sortOutcomes(market.venueMarketOutcomes).forEach((outcome) => {
|
|
4109
|
+
const title = resolveOutcomeTitle(outcome);
|
|
4110
|
+
const normalizedTitle = title.trim().toLowerCase();
|
|
4111
|
+
const nextVisibleOutcome = {
|
|
4112
|
+
venue: market.venue,
|
|
4113
|
+
market,
|
|
4114
|
+
outcome,
|
|
4115
|
+
title
|
|
4116
|
+
};
|
|
4117
|
+
const currentVisibleOutcome = visibleOutcomesByLabel.get(normalizedTitle);
|
|
4118
|
+
if (!currentVisibleOutcome || shouldReplaceVisibleOutcome(currentVisibleOutcome, nextVisibleOutcome)) {
|
|
4119
|
+
visibleOutcomesByLabel.set(normalizedTitle, nextVisibleOutcome);
|
|
4120
|
+
}
|
|
4121
|
+
});
|
|
4122
|
+
});
|
|
4123
|
+
return [...visibleOutcomesByLabel.values()].sort(compareVisibleOutcomeRows).slice(0, Math.max(1, maxOutcomes));
|
|
4124
|
+
};
|
|
4125
|
+
var resolveOutcomeTitle = (outcome) => {
|
|
4126
|
+
if (outcome.title && outcome.title.trim())
|
|
4127
|
+
return outcome.title;
|
|
4128
|
+
return outcome.label;
|
|
4129
|
+
};
|
|
4130
|
+
var selectPrimaryVenueMarket = (venueMarkets) => {
|
|
4131
|
+
if (venueMarkets.length === 0)
|
|
4132
|
+
return void 0;
|
|
4133
|
+
if (venueMarkets.length === 1)
|
|
4134
|
+
return venueMarkets[0];
|
|
4135
|
+
return [...venueMarkets].sort((a, b) => {
|
|
4136
|
+
const aVolume = typeof a.volume === "number" ? a.volume : -1;
|
|
4137
|
+
const bVolume = typeof b.volume === "number" ? b.volume : -1;
|
|
4138
|
+
return bVolume - aVolume;
|
|
4139
|
+
})[0];
|
|
4140
|
+
};
|
|
4141
|
+
var resolveTileTitle = (event, primaryVenueMarket, titleOverride) => {
|
|
4142
|
+
if (typeof titleOverride === "string" && titleOverride.trim()) {
|
|
4143
|
+
return titleOverride;
|
|
4144
|
+
}
|
|
4145
|
+
if (typeof (primaryVenueMarket == null ? void 0 : primaryVenueMarket.question) === "string" && primaryVenueMarket.question.trim()) {
|
|
4146
|
+
return primaryVenueMarket.question;
|
|
4147
|
+
}
|
|
4148
|
+
return event.title;
|
|
4149
|
+
};
|
|
4150
|
+
var resolveTileImage = (event, primaryVenueMarket, imageOverride) => {
|
|
4151
|
+
if (typeof imageOverride === "string" && imageOverride.trim()) {
|
|
4152
|
+
return imageOverride;
|
|
4153
|
+
}
|
|
4154
|
+
if (typeof (primaryVenueMarket == null ? void 0 : primaryVenueMarket.image) === "string" && primaryVenueMarket.image.trim()) {
|
|
4155
|
+
return primaryVenueMarket.image;
|
|
4156
|
+
}
|
|
4157
|
+
if (typeof event.image === "string" && event.image.trim()) {
|
|
4158
|
+
return event.image;
|
|
4159
|
+
}
|
|
4160
|
+
return void 0;
|
|
4161
|
+
};
|
|
4162
|
+
var formatCountLabel = (count, singular, plural) => {
|
|
4163
|
+
return `${count} ${count === 1 ? singular : plural}`;
|
|
4164
|
+
};
|
|
4165
|
+
var getVenueSummary = (venueMarkets) => {
|
|
4166
|
+
const uniqueVenues = Array.from(new Set(venueMarkets.map((market) => market.venue)));
|
|
4167
|
+
return {
|
|
4168
|
+
marketCount: venueMarkets.length,
|
|
4169
|
+
venueCount: uniqueVenues.length,
|
|
4170
|
+
singleVenue: uniqueVenues.length === 1 ? uniqueVenues[0] : void 0
|
|
4171
|
+
};
|
|
4172
|
+
};
|
|
4173
|
+
var resolveVenueLabel = (venue, venueInfo, labels) => {
|
|
4174
|
+
var _a, _b;
|
|
4175
|
+
if (!venue)
|
|
4176
|
+
return labels.eventItem.venueSingular;
|
|
4177
|
+
return (_b = (_a = venueInfo == null ? void 0 : venueInfo[venue]) == null ? void 0 : _a.label) != null ? _b : labels.venues[venue];
|
|
4178
|
+
};
|
|
4179
|
+
|
|
4180
|
+
// src/primitives/search/search.utils.ts
|
|
4181
|
+
var SEARCH_VISIBLE_OUTCOMES_LIMIT = 1;
|
|
4182
|
+
var formatSearchContextLabel = (value) => {
|
|
4183
|
+
if (!dayjs2(value).isValid())
|
|
4184
|
+
return value;
|
|
4185
|
+
return dayjs2(value).format("MMMM D, YYYY");
|
|
4186
|
+
};
|
|
4187
|
+
var mapVenueEventToSearchResult = (event, labels, formatPercent, formatCompactCurrency) => {
|
|
4188
|
+
var _a;
|
|
4189
|
+
const primaryVenueMarket = selectPrimaryVenueMarket(event.venueMarkets);
|
|
4190
|
+
if (!primaryVenueMarket)
|
|
4191
|
+
return null;
|
|
4192
|
+
const visibleOutcome = resolveVisibleOutcomes(
|
|
4193
|
+
event.venueMarkets,
|
|
4194
|
+
SEARCH_VISIBLE_OUTCOMES_LIMIT
|
|
4195
|
+
)[0];
|
|
4196
|
+
if (!visibleOutcome)
|
|
4197
|
+
return null;
|
|
4198
|
+
const probability = normalizeProbability(visibleOutcome.outcome.price);
|
|
4199
|
+
if (probability == null)
|
|
4200
|
+
return null;
|
|
4201
|
+
const resolvedTitle = resolveTileTitle(event, primaryVenueMarket, void 0).trim();
|
|
4202
|
+
if (!resolvedTitle)
|
|
4203
|
+
return null;
|
|
4204
|
+
const { marketCount, venueCount } = getVenueSummary(event.venueMarkets);
|
|
4205
|
+
const marketSummaryLabel = [
|
|
4206
|
+
formatCountLabel(marketCount, labels.eventItem.marketSingular, labels.eventItem.marketPlural),
|
|
4207
|
+
formatCountLabel(venueCount, labels.eventItem.venueSingular, labels.eventItem.venuePlural)
|
|
4208
|
+
].join(" \xD7 ");
|
|
4209
|
+
const visibleVenues = Array.from(
|
|
4210
|
+
new Set(event.venueMarkets.map((venueMarket) => venueMarket.venue))
|
|
4211
|
+
).slice(0, 4);
|
|
4212
|
+
const resolvedVolume = typeof event.volume === "number" ? event.volume : primaryVenueMarket.volume;
|
|
4213
|
+
const volumeLabel = typeof resolvedVolume === "number" ? `${formatCompactCurrency(resolvedVolume)} ${labels.eventItem.volumeSuffix}` : "";
|
|
4214
|
+
return {
|
|
4215
|
+
id: event.id,
|
|
4216
|
+
title: resolvedTitle,
|
|
4217
|
+
thumbnailSrc: (_a = resolveTileImage(event, primaryVenueMarket, void 0)) != null ? _a : "",
|
|
4218
|
+
thumbnailAlt: resolvedTitle,
|
|
4219
|
+
venue: primaryVenueMarket.venue,
|
|
4220
|
+
visibleVenues,
|
|
4221
|
+
marketSummaryLabel,
|
|
4222
|
+
volumeLabel,
|
|
4223
|
+
valueLabel: formatPercent(probability),
|
|
4224
|
+
contextLabel: formatSearchContextLabel(visibleOutcome.title)
|
|
4225
|
+
};
|
|
4226
|
+
};
|
|
3817
4227
|
|
|
3818
4228
|
// src/primitives/search/index.tsx
|
|
3819
|
-
import { jsx as
|
|
4229
|
+
import { Fragment as Fragment4, jsx as jsx80, jsxs as jsxs73 } from "react/jsx-runtime";
|
|
3820
4230
|
var SearchResultRow = ({
|
|
3821
4231
|
item,
|
|
3822
4232
|
resultAria,
|
|
@@ -3827,7 +4237,7 @@ var SearchResultRow = ({
|
|
|
3827
4237
|
const handleResultClick = () => {
|
|
3828
4238
|
onSelect == null ? void 0 : onSelect(item);
|
|
3829
4239
|
};
|
|
3830
|
-
return /* @__PURE__ */
|
|
4240
|
+
return /* @__PURE__ */ jsxs73(
|
|
3831
4241
|
"button",
|
|
3832
4242
|
{
|
|
3833
4243
|
type: "button",
|
|
@@ -3835,7 +4245,7 @@ var SearchResultRow = ({
|
|
|
3835
4245
|
"aria-selected": "false",
|
|
3836
4246
|
className: cn(
|
|
3837
4247
|
"group/agg-search-result",
|
|
3838
|
-
"group flex w-full items-center gap-6 px-5 py-
|
|
4248
|
+
"group flex w-full items-center gap-6 px-5 py-4 text-left",
|
|
3839
4249
|
"focus-visible:outline-none focus-visible:bg-agg-secondary-hover",
|
|
3840
4250
|
"hover:bg-agg-secondary-hover",
|
|
3841
4251
|
classNames == null ? void 0 : classNames.resultButton
|
|
@@ -3843,33 +4253,70 @@ var SearchResultRow = ({
|
|
|
3843
4253
|
onClick: handleResultClick,
|
|
3844
4254
|
"aria-label": resultAria(item.title),
|
|
3845
4255
|
children: [
|
|
3846
|
-
/* @__PURE__ */
|
|
3847
|
-
/* @__PURE__ */
|
|
4256
|
+
/* @__PURE__ */ jsxs73("div", { className: "flex min-w-0 flex-1 items-center gap-4", children: [
|
|
4257
|
+
item.thumbnailSrc ? /* @__PURE__ */ jsx80(
|
|
3848
4258
|
RemoteImage,
|
|
3849
4259
|
{
|
|
3850
4260
|
src: item.thumbnailSrc,
|
|
3851
4261
|
alt: (_a = item.thumbnailAlt) != null ? _a : "",
|
|
3852
4262
|
className: cn(
|
|
3853
|
-
"
|
|
4263
|
+
"size-12 shrink-0 rounded-[8px] object-cover",
|
|
3854
4264
|
classNames == null ? void 0 : classNames.resultThumbnail
|
|
3855
4265
|
)
|
|
3856
4266
|
}
|
|
3857
|
-
)
|
|
3858
|
-
|
|
3859
|
-
"p",
|
|
4267
|
+
) : /* @__PURE__ */ jsx80(
|
|
4268
|
+
"div",
|
|
3860
4269
|
{
|
|
3861
4270
|
className: cn(
|
|
3862
|
-
"
|
|
3863
|
-
classNames == null ? void 0 : classNames.
|
|
4271
|
+
"size-12 shrink-0 rounded-[8px] bg-agg-secondary-hover",
|
|
4272
|
+
classNames == null ? void 0 : classNames.resultThumbnail
|
|
3864
4273
|
),
|
|
3865
|
-
|
|
4274
|
+
"aria-hidden": true
|
|
3866
4275
|
}
|
|
3867
|
-
)
|
|
4276
|
+
),
|
|
4277
|
+
/* @__PURE__ */ jsxs73("div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [
|
|
4278
|
+
/* @__PURE__ */ jsx80(
|
|
4279
|
+
"p",
|
|
4280
|
+
{
|
|
4281
|
+
className: cn(
|
|
4282
|
+
"min-w-0 overflow-hidden text-ellipsis whitespace-nowrap font-agg-sans text-agg-base leading-agg-6 font-agg-normal text-agg-foreground",
|
|
4283
|
+
classNames == null ? void 0 : classNames.resultTitle
|
|
4284
|
+
),
|
|
4285
|
+
children: item.title
|
|
4286
|
+
}
|
|
4287
|
+
),
|
|
4288
|
+
/* @__PURE__ */ jsxs73("div", { className: "flex min-w-0 items-center gap-2 text-agg-muted-foreground", children: [
|
|
4289
|
+
/* @__PURE__ */ jsx80(
|
|
4290
|
+
"p",
|
|
4291
|
+
{
|
|
4292
|
+
className: cn(
|
|
4293
|
+
"shrink-0 whitespace-nowrap font-agg-sans text-agg-sm leading-agg-5 font-agg-normal text-agg-muted-foreground",
|
|
4294
|
+
classNames == null ? void 0 : classNames.resultContext
|
|
4295
|
+
),
|
|
4296
|
+
children: item.marketSummaryLabel
|
|
4297
|
+
}
|
|
4298
|
+
),
|
|
4299
|
+
/* @__PURE__ */ jsx80("div", { className: "flex items-center gap-1", "aria-hidden": true, children: item.visibleVenues.map((venue) => /* @__PURE__ */ jsx80(VenueLogo, { venue, className: "size-[14px]" }, `${item.id}-${venue}`)) }),
|
|
4300
|
+
item.volumeLabel ? /* @__PURE__ */ jsxs73(Fragment4, { children: [
|
|
4301
|
+
/* @__PURE__ */ jsx80("span", { className: "text-agg-muted-foreground", "aria-hidden": true, children: "\xB7" }),
|
|
4302
|
+
/* @__PURE__ */ jsx80(
|
|
4303
|
+
"p",
|
|
4304
|
+
{
|
|
4305
|
+
className: cn(
|
|
4306
|
+
"min-w-0 overflow-hidden text-ellipsis whitespace-nowrap font-agg-sans text-agg-sm leading-agg-5 font-agg-normal text-agg-muted-foreground",
|
|
4307
|
+
classNames == null ? void 0 : classNames.resultContext
|
|
4308
|
+
),
|
|
4309
|
+
children: item.volumeLabel
|
|
4310
|
+
}
|
|
4311
|
+
)
|
|
4312
|
+
] }) : null
|
|
4313
|
+
] })
|
|
4314
|
+
] })
|
|
3868
4315
|
] }),
|
|
3869
|
-
/* @__PURE__ */
|
|
3870
|
-
/* @__PURE__ */
|
|
3871
|
-
/* @__PURE__ */
|
|
3872
|
-
/* @__PURE__ */
|
|
4316
|
+
/* @__PURE__ */ jsxs73("div", { className: cn("flex w-[200px] shrink-0 items-center gap-2", classNames == null ? void 0 : classNames.resultMeta), children: [
|
|
4317
|
+
/* @__PURE__ */ jsx80(VenueLogo, { venue: item.venue, className: "size-4" }),
|
|
4318
|
+
/* @__PURE__ */ jsxs73("div", { className: "flex min-w-0 flex-1 items-baseline gap-2", children: [
|
|
4319
|
+
/* @__PURE__ */ jsx80(
|
|
3873
4320
|
"p",
|
|
3874
4321
|
{
|
|
3875
4322
|
className: cn(
|
|
@@ -3879,7 +4326,7 @@ var SearchResultRow = ({
|
|
|
3879
4326
|
children: item.valueLabel
|
|
3880
4327
|
}
|
|
3881
4328
|
),
|
|
3882
|
-
/* @__PURE__ */
|
|
4329
|
+
/* @__PURE__ */ jsx80(
|
|
3883
4330
|
"p",
|
|
3884
4331
|
{
|
|
3885
4332
|
className: cn(
|
|
@@ -3891,7 +4338,7 @@ var SearchResultRow = ({
|
|
|
3891
4338
|
)
|
|
3892
4339
|
] })
|
|
3893
4340
|
] }),
|
|
3894
|
-
/* @__PURE__ */
|
|
4341
|
+
/* @__PURE__ */ jsx80(
|
|
3895
4342
|
Icon,
|
|
3896
4343
|
{
|
|
3897
4344
|
name: "chevron-right",
|
|
@@ -3903,167 +4350,275 @@ var SearchResultRow = ({
|
|
|
3903
4350
|
}
|
|
3904
4351
|
);
|
|
3905
4352
|
};
|
|
3906
|
-
var
|
|
3907
|
-
|
|
3908
|
-
|
|
3909
|
-
|
|
3910
|
-
|
|
3911
|
-
|
|
3912
|
-
|
|
4353
|
+
var SearchSeeAllResultsButton = ({
|
|
4354
|
+
label,
|
|
4355
|
+
onClick
|
|
4356
|
+
}) => {
|
|
4357
|
+
return /* @__PURE__ */ jsxs73(
|
|
4358
|
+
"button",
|
|
4359
|
+
{
|
|
4360
|
+
type: "button",
|
|
4361
|
+
className: cn(
|
|
4362
|
+
"flex h-[60px] w-full items-center gap-1.5 px-5 text-left",
|
|
4363
|
+
"font-agg-sans text-agg-sm leading-agg-5 font-agg-bold text-agg-primary",
|
|
4364
|
+
"focus-visible:outline-none focus-visible:bg-agg-secondary-hover",
|
|
4365
|
+
"hover:bg-agg-secondary-hover"
|
|
4366
|
+
),
|
|
4367
|
+
onClick,
|
|
4368
|
+
children: [
|
|
4369
|
+
/* @__PURE__ */ jsx80("span", { children: label }),
|
|
4370
|
+
/* @__PURE__ */ jsx80(Icon, { name: "chevron-right", size: "small", className: "size-[14px] text-agg-primary" })
|
|
4371
|
+
]
|
|
4372
|
+
}
|
|
4373
|
+
);
|
|
3913
4374
|
};
|
|
4375
|
+
var DEFAULT_SEARCH_LIMIT = 5;
|
|
4376
|
+
var MIN_SEARCH_LENGTH = 3;
|
|
4377
|
+
var SEARCH_DEBOUNCE_MS = 300;
|
|
3914
4378
|
var Search = ({
|
|
3915
|
-
|
|
3916
|
-
|
|
3917
|
-
|
|
3918
|
-
|
|
4379
|
+
limit,
|
|
4380
|
+
venues,
|
|
4381
|
+
categoryIds,
|
|
4382
|
+
matchStatus,
|
|
4383
|
+
status,
|
|
3919
4384
|
classNames,
|
|
3920
4385
|
inputProps
|
|
3921
4386
|
}) => {
|
|
3922
|
-
const labels =
|
|
3923
|
-
const {
|
|
3924
|
-
|
|
3925
|
-
|
|
3926
|
-
|
|
3927
|
-
|
|
3928
|
-
const
|
|
3929
|
-
const
|
|
3930
|
-
const
|
|
3931
|
-
|
|
4387
|
+
const labels = useLabels11();
|
|
4388
|
+
const {
|
|
4389
|
+
search: searchConfig,
|
|
4390
|
+
features: { enableAnimations },
|
|
4391
|
+
formatting: { formatCompactCurrency, formatPercent }
|
|
4392
|
+
} = useSdkUiConfig10();
|
|
4393
|
+
const resolvedValue = searchConfig.value;
|
|
4394
|
+
const trimmedValue = resolvedValue.trim();
|
|
4395
|
+
const [debouncedSearchValue, setDebouncedSearchValue] = useState5(() => {
|
|
4396
|
+
return trimmedValue.length >= MIN_SEARCH_LENGTH ? trimmedValue : "";
|
|
4397
|
+
});
|
|
4398
|
+
const [isFocused, setIsFocused] = useState5(false);
|
|
4399
|
+
const shouldSearchValue = trimmedValue.length >= MIN_SEARCH_LENGTH;
|
|
4400
|
+
const shouldFetchResults = isFocused && debouncedSearchValue.length >= MIN_SEARCH_LENGTH && !searchConfig.result && !searchConfig.isShowingAllResults;
|
|
4401
|
+
useEffect4(() => {
|
|
4402
|
+
if (!shouldSearchValue) {
|
|
4403
|
+
setDebouncedSearchValue("");
|
|
4404
|
+
return;
|
|
4405
|
+
}
|
|
4406
|
+
const timeoutId = window.setTimeout(() => {
|
|
4407
|
+
setDebouncedSearchValue(trimmedValue);
|
|
4408
|
+
}, SEARCH_DEBOUNCE_MS);
|
|
4409
|
+
return () => {
|
|
4410
|
+
window.clearTimeout(timeoutId);
|
|
4411
|
+
};
|
|
4412
|
+
}, [shouldSearchValue, trimmedValue]);
|
|
4413
|
+
const { events, isLoading } = useVenueEvents({
|
|
4414
|
+
queryKeyScope: "search-dropdown",
|
|
4415
|
+
search: shouldFetchResults ? debouncedSearchValue : void 0,
|
|
4416
|
+
venues,
|
|
4417
|
+
categoryIds,
|
|
4418
|
+
matchStatus,
|
|
4419
|
+
status,
|
|
4420
|
+
limit: limit != null ? limit : DEFAULT_SEARCH_LIMIT,
|
|
4421
|
+
enabled: shouldFetchResults
|
|
4422
|
+
});
|
|
4423
|
+
const { validatedResults, eventsByResultId } = useMemo4(() => {
|
|
4424
|
+
const nextEventsByResultId = /* @__PURE__ */ new Map();
|
|
4425
|
+
const nextResults = events.map((event) => {
|
|
4426
|
+
const item = mapVenueEventToSearchResult(
|
|
4427
|
+
event,
|
|
4428
|
+
labels,
|
|
4429
|
+
formatPercent,
|
|
4430
|
+
formatCompactCurrency
|
|
4431
|
+
);
|
|
4432
|
+
if (!item)
|
|
4433
|
+
return null;
|
|
4434
|
+
nextEventsByResultId.set(item.id, event);
|
|
4435
|
+
return item;
|
|
4436
|
+
}).filter((item) => item != null);
|
|
4437
|
+
return {
|
|
4438
|
+
validatedResults: nextResults,
|
|
4439
|
+
eventsByResultId: nextEventsByResultId
|
|
4440
|
+
};
|
|
4441
|
+
}, [events, formatCompactCurrency, formatPercent, labels]);
|
|
4442
|
+
const hasSearchValue = trimmedValue.length > 0;
|
|
4443
|
+
const shouldRenderDropdown = isFocused && shouldSearchValue && !searchConfig.result && !searchConfig.isShowingAllResults;
|
|
4444
|
+
const resolvedIsActive = isFocused;
|
|
4445
|
+
const shouldRenderLoadingState = shouldRenderDropdown && isLoading;
|
|
4446
|
+
const shouldRenderNoResults = shouldRenderDropdown && !isLoading && !validatedResults.length;
|
|
4447
|
+
const shouldRenderResults = shouldRenderDropdown && !isLoading && !!validatedResults.length;
|
|
4448
|
+
const shouldRenderShortcut = !isFocused && !hasSearchValue && !(inputProps == null ? void 0 : inputProps.disabled);
|
|
3932
4449
|
const handleInputChange = (event) => {
|
|
3933
|
-
|
|
4450
|
+
searchConfig.onChange(event.target.value);
|
|
3934
4451
|
};
|
|
3935
|
-
|
|
3936
|
-
|
|
3937
|
-
|
|
3938
|
-
|
|
3939
|
-
|
|
3940
|
-
|
|
3941
|
-
|
|
3942
|
-
|
|
3943
|
-
|
|
3944
|
-
|
|
3945
|
-
|
|
3946
|
-
|
|
3947
|
-
|
|
3948
|
-
|
|
3949
|
-
|
|
3950
|
-
|
|
3951
|
-
|
|
3952
|
-
|
|
3953
|
-
|
|
3954
|
-
|
|
3955
|
-
|
|
3956
|
-
|
|
3957
|
-
|
|
3958
|
-
|
|
3959
|
-
|
|
3960
|
-
|
|
3961
|
-
|
|
3962
|
-
value,
|
|
3963
|
-
onChange: handleInputChange,
|
|
3964
|
-
placeholder: labels.search.placeholder,
|
|
3965
|
-
"aria-label": labels.search.inputAria,
|
|
3966
|
-
className: cn(
|
|
3967
|
-
"h-6 w-full min-w-0 border-0 bg-transparent p-0",
|
|
3968
|
-
"font-agg-sans text-agg-base leading-agg-6 font-agg-normal text-agg-foreground",
|
|
3969
|
-
"placeholder:text-agg-muted-foreground",
|
|
3970
|
-
"outline-none focus:outline-none",
|
|
3971
|
-
"disabled:cursor-not-allowed disabled:text-agg-muted-foreground",
|
|
3972
|
-
classNames == null ? void 0 : classNames.input
|
|
3973
|
-
)
|
|
3974
|
-
})
|
|
3975
|
-
)
|
|
3976
|
-
]
|
|
3977
|
-
}
|
|
3978
|
-
) }),
|
|
3979
|
-
shouldRenderResults ? /* @__PURE__ */ jsx78(
|
|
3980
|
-
"div",
|
|
3981
|
-
{
|
|
3982
|
-
className: cn(
|
|
3983
|
-
"w-full overflow-hidden rounded-agg-xl border border-agg-separator bg-agg-secondary py-2 shadow-[0px_8px_16px_0px_rgba(0,0,0,0.1)]",
|
|
3984
|
-
classNames == null ? void 0 : classNames.dropdown
|
|
3985
|
-
),
|
|
3986
|
-
children: /* @__PURE__ */ jsx78(
|
|
3987
|
-
"ul",
|
|
3988
|
-
{
|
|
3989
|
-
className: cn("m-0 flex list-none flex-col p-0", classNames == null ? void 0 : classNames.resultsList),
|
|
3990
|
-
role: "listbox",
|
|
3991
|
-
"aria-label": labels.search.resultsAria,
|
|
3992
|
-
children: validatedResults.map((item, index) => /* @__PURE__ */ jsx78(
|
|
3993
|
-
"li",
|
|
3994
|
-
{
|
|
3995
|
-
role: "presentation",
|
|
3996
|
-
className: cn(index > 0 && "border-t border-agg-separator", classNames == null ? void 0 : classNames.resultItem),
|
|
3997
|
-
children: /* @__PURE__ */ jsx78(
|
|
3998
|
-
SearchResultRow,
|
|
3999
|
-
{
|
|
4000
|
-
item,
|
|
4001
|
-
resultAria: labels.search.resultAria,
|
|
4002
|
-
onSelect,
|
|
4003
|
-
classNames
|
|
4004
|
-
}
|
|
4005
|
-
)
|
|
4006
|
-
},
|
|
4007
|
-
item.id
|
|
4008
|
-
))
|
|
4009
|
-
}
|
|
4010
|
-
)
|
|
4011
|
-
}
|
|
4012
|
-
) : null,
|
|
4013
|
-
shouldRenderNoResults ? /* @__PURE__ */ jsx78(
|
|
4014
|
-
"div",
|
|
4015
|
-
{
|
|
4016
|
-
className: cn(
|
|
4017
|
-
"w-full overflow-hidden rounded-agg-xl border border-agg-separator bg-agg-secondary py-10 shadow-[0px_8px_16px_0px_rgba(0,0,0,0.1)]",
|
|
4018
|
-
classNames == null ? void 0 : classNames.emptyState
|
|
4019
|
-
),
|
|
4020
|
-
children: /* @__PURE__ */ jsxs71(
|
|
4452
|
+
const handleResultSelect = (item) => {
|
|
4453
|
+
const selectedEvent = eventsByResultId.get(item.id);
|
|
4454
|
+
if (!selectedEvent)
|
|
4455
|
+
return;
|
|
4456
|
+
searchConfig.onSelect(selectedEvent);
|
|
4457
|
+
};
|
|
4458
|
+
const handleFocusWithin = () => {
|
|
4459
|
+
setIsFocused(true);
|
|
4460
|
+
};
|
|
4461
|
+
const handleBlurWithin = (event) => {
|
|
4462
|
+
const nextFocusedTarget = event.relatedTarget;
|
|
4463
|
+
if (nextFocusedTarget && event.currentTarget.contains(nextFocusedTarget)) {
|
|
4464
|
+
return;
|
|
4465
|
+
}
|
|
4466
|
+
setIsFocused(false);
|
|
4467
|
+
};
|
|
4468
|
+
const handleSeeAllResults = () => {
|
|
4469
|
+
searchConfig.openResults();
|
|
4470
|
+
};
|
|
4471
|
+
return /* @__PURE__ */ jsxs73(
|
|
4472
|
+
"div",
|
|
4473
|
+
{
|
|
4474
|
+
className: cn("group/agg-search", "relative flex w-full flex-col", classNames == null ? void 0 : classNames.root),
|
|
4475
|
+
onFocusCapture: handleFocusWithin,
|
|
4476
|
+
onBlurCapture: handleBlurWithin,
|
|
4477
|
+
children: [
|
|
4478
|
+
/* @__PURE__ */ jsx80("label", { className: "w-full", children: /* @__PURE__ */ jsxs73(
|
|
4021
4479
|
"div",
|
|
4022
4480
|
{
|
|
4023
|
-
className: cn(
|
|
4024
|
-
|
|
4025
|
-
|
|
4481
|
+
className: cn(
|
|
4482
|
+
"flex h-10 w-full items-center gap-2 rounded-[8px] bg-agg-secondary px-3",
|
|
4483
|
+
resolvedIsActive ? "border-2 border-agg-primary" : "border border-agg-separator",
|
|
4484
|
+
"focus-within:border-2 focus-within:border-agg-primary",
|
|
4485
|
+
getMotionClassName(
|
|
4486
|
+
enableAnimations,
|
|
4487
|
+
"transition-[border-color,box-shadow] duration-200 ease-in-out"
|
|
4488
|
+
),
|
|
4489
|
+
classNames == null ? void 0 : classNames.inputContainer
|
|
4490
|
+
),
|
|
4026
4491
|
children: [
|
|
4027
|
-
/* @__PURE__ */
|
|
4028
|
-
|
|
4492
|
+
/* @__PURE__ */ jsx80(
|
|
4493
|
+
Icon,
|
|
4029
4494
|
{
|
|
4030
|
-
|
|
4031
|
-
"
|
|
4495
|
+
name: "search",
|
|
4496
|
+
size: "small",
|
|
4497
|
+
className: cn("text-agg-muted-foreground", classNames == null ? void 0 : classNames.searchIcon)
|
|
4032
4498
|
}
|
|
4033
4499
|
),
|
|
4034
|
-
/* @__PURE__ */
|
|
4035
|
-
|
|
4036
|
-
|
|
4037
|
-
|
|
4038
|
-
|
|
4039
|
-
|
|
4040
|
-
|
|
4041
|
-
|
|
4042
|
-
|
|
4043
|
-
|
|
4044
|
-
|
|
4045
|
-
|
|
4046
|
-
|
|
4047
|
-
|
|
4048
|
-
|
|
4049
|
-
|
|
4050
|
-
|
|
4051
|
-
|
|
4052
|
-
|
|
4053
|
-
}
|
|
4054
|
-
)
|
|
4055
|
-
] })
|
|
4500
|
+
/* @__PURE__ */ jsx80(
|
|
4501
|
+
"input",
|
|
4502
|
+
__spreadProps(__spreadValues({}, inputProps), {
|
|
4503
|
+
type: "text",
|
|
4504
|
+
value: resolvedValue,
|
|
4505
|
+
onChange: handleInputChange,
|
|
4506
|
+
placeholder: labels.search.placeholder,
|
|
4507
|
+
"aria-label": labels.search.inputAria,
|
|
4508
|
+
className: cn(
|
|
4509
|
+
"h-6 w-full min-w-0 border-0 bg-transparent p-0",
|
|
4510
|
+
"font-agg-sans text-agg-base leading-agg-6 font-agg-normal text-agg-foreground",
|
|
4511
|
+
"placeholder:text-agg-muted-foreground",
|
|
4512
|
+
"outline-none focus:outline-none",
|
|
4513
|
+
"disabled:cursor-not-allowed disabled:text-agg-muted-foreground",
|
|
4514
|
+
classNames == null ? void 0 : classNames.input
|
|
4515
|
+
)
|
|
4516
|
+
})
|
|
4517
|
+
),
|
|
4518
|
+
shouldRenderShortcut ? /* @__PURE__ */ jsx80("div", { className: "flex size-6 shrink-0 items-center justify-center rounded-[4px] bg-agg-secondary-hover", children: /* @__PURE__ */ jsx80("span", { className: "font-agg-sans text-agg-sm leading-agg-5 font-agg-bold text-agg-muted-foreground", children: "/" }) }) : null
|
|
4056
4519
|
]
|
|
4057
4520
|
}
|
|
4058
|
-
)
|
|
4059
|
-
|
|
4060
|
-
|
|
4061
|
-
|
|
4521
|
+
) }),
|
|
4522
|
+
shouldRenderLoadingState ? /* @__PURE__ */ jsx80("div", { className: "absolute left-0 right-0 top-full z-50 mt-1", children: /* @__PURE__ */ jsx80(Skeleton, { view: "search" }) }) : null,
|
|
4523
|
+
shouldRenderResults ? /* @__PURE__ */ jsx80(
|
|
4524
|
+
"div",
|
|
4525
|
+
{
|
|
4526
|
+
className: cn(
|
|
4527
|
+
"absolute left-0 right-0 top-full z-50 mt-1 w-full overflow-hidden rounded-agg-xl border border-agg-separator bg-agg-secondary pt-2 shadow-[0px_8px_16px_0px_rgba(0,0,0,0.1)]",
|
|
4528
|
+
classNames == null ? void 0 : classNames.dropdown
|
|
4529
|
+
),
|
|
4530
|
+
children: /* @__PURE__ */ jsxs73(
|
|
4531
|
+
"ul",
|
|
4532
|
+
{
|
|
4533
|
+
className: cn("m-0 flex list-none flex-col p-0", classNames == null ? void 0 : classNames.resultsList),
|
|
4534
|
+
role: "listbox",
|
|
4535
|
+
"aria-label": labels.search.resultsAria,
|
|
4536
|
+
children: [
|
|
4537
|
+
validatedResults.map((item, index) => /* @__PURE__ */ jsx80(
|
|
4538
|
+
"li",
|
|
4539
|
+
{
|
|
4540
|
+
role: "presentation",
|
|
4541
|
+
className: cn(index > 0 && "border-t border-agg-separator", classNames == null ? void 0 : classNames.resultItem),
|
|
4542
|
+
children: /* @__PURE__ */ jsx80(
|
|
4543
|
+
SearchResultRow,
|
|
4544
|
+
{
|
|
4545
|
+
item,
|
|
4546
|
+
resultAria: labels.search.resultAria,
|
|
4547
|
+
onSelect: handleResultSelect,
|
|
4548
|
+
classNames
|
|
4549
|
+
}
|
|
4550
|
+
)
|
|
4551
|
+
},
|
|
4552
|
+
item.id
|
|
4553
|
+
)),
|
|
4554
|
+
/* @__PURE__ */ jsx80("li", { role: "presentation", className: "border-t border-agg-separator", children: /* @__PURE__ */ jsx80(
|
|
4555
|
+
SearchSeeAllResultsButton,
|
|
4556
|
+
{
|
|
4557
|
+
label: labels.search.seeAllResults,
|
|
4558
|
+
onClick: handleSeeAllResults
|
|
4559
|
+
}
|
|
4560
|
+
) })
|
|
4561
|
+
]
|
|
4562
|
+
}
|
|
4563
|
+
)
|
|
4564
|
+
}
|
|
4565
|
+
) : null,
|
|
4566
|
+
shouldRenderNoResults ? /* @__PURE__ */ jsx80(
|
|
4567
|
+
"div",
|
|
4568
|
+
{
|
|
4569
|
+
className: cn(
|
|
4570
|
+
"absolute left-0 right-0 top-full z-50 mt-1 w-full overflow-hidden rounded-agg-xl border border-agg-separator bg-agg-secondary py-10 shadow-[0px_8px_16px_0px_rgba(0,0,0,0.1)]",
|
|
4571
|
+
classNames == null ? void 0 : classNames.emptyState
|
|
4572
|
+
),
|
|
4573
|
+
children: /* @__PURE__ */ jsxs73(
|
|
4574
|
+
"div",
|
|
4575
|
+
{
|
|
4576
|
+
className: cn("flex flex-col items-center gap-5", classNames == null ? void 0 : classNames.emptyStateContent),
|
|
4577
|
+
role: "status",
|
|
4578
|
+
"aria-live": "polite",
|
|
4579
|
+
children: [
|
|
4580
|
+
/* @__PURE__ */ jsx80(
|
|
4581
|
+
SearchEmptyIcon,
|
|
4582
|
+
{
|
|
4583
|
+
className: cn("h-10 w-10 text-agg-muted-foreground", classNames == null ? void 0 : classNames.emptyStateIcon),
|
|
4584
|
+
"aria-hidden": true
|
|
4585
|
+
}
|
|
4586
|
+
),
|
|
4587
|
+
/* @__PURE__ */ jsxs73("div", { className: "flex flex-col items-center gap-1 text-center", children: [
|
|
4588
|
+
/* @__PURE__ */ jsx80(
|
|
4589
|
+
"p",
|
|
4590
|
+
{
|
|
4591
|
+
className: cn(
|
|
4592
|
+
"font-agg-sans text-agg-base leading-agg-6 font-agg-bold text-agg-foreground",
|
|
4593
|
+
classNames == null ? void 0 : classNames.emptyStateTitle
|
|
4594
|
+
),
|
|
4595
|
+
children: labels.search.noResultsTitle
|
|
4596
|
+
}
|
|
4597
|
+
),
|
|
4598
|
+
/* @__PURE__ */ jsx80(
|
|
4599
|
+
"p",
|
|
4600
|
+
{
|
|
4601
|
+
className: cn(
|
|
4602
|
+
"font-agg-sans text-agg-sm leading-agg-5 font-agg-normal text-agg-foreground",
|
|
4603
|
+
classNames == null ? void 0 : classNames.emptyStateDescription
|
|
4604
|
+
),
|
|
4605
|
+
children: labels.search.noResultsDescription
|
|
4606
|
+
}
|
|
4607
|
+
)
|
|
4608
|
+
] })
|
|
4609
|
+
]
|
|
4610
|
+
}
|
|
4611
|
+
)
|
|
4612
|
+
}
|
|
4613
|
+
) : null
|
|
4614
|
+
]
|
|
4615
|
+
}
|
|
4616
|
+
);
|
|
4062
4617
|
};
|
|
4063
4618
|
Search.displayName = "Search";
|
|
4064
4619
|
|
|
4065
4620
|
// src/primitives/state-message/index.tsx
|
|
4066
|
-
import { jsx as
|
|
4621
|
+
import { jsx as jsx81, jsxs as jsxs74 } from "react/jsx-runtime";
|
|
4067
4622
|
var iconClassName = "h-9 w-9 text-agg-muted-foreground";
|
|
4068
4623
|
var StateMessage = ({
|
|
4069
4624
|
ariaLabel,
|
|
@@ -4074,8 +4629,8 @@ var StateMessage = ({
|
|
|
4074
4629
|
onAction,
|
|
4075
4630
|
className
|
|
4076
4631
|
}) => {
|
|
4077
|
-
const icon = tone === "warning" ? /* @__PURE__ */
|
|
4078
|
-
return /* @__PURE__ */
|
|
4632
|
+
const icon = tone === "warning" ? /* @__PURE__ */ jsx81(WarningIcon, { className: iconClassName, "aria-hidden": true }) : /* @__PURE__ */ jsx81(SearchEmptyIcon, { className: iconClassName, "aria-hidden": true });
|
|
4633
|
+
return /* @__PURE__ */ jsx81(
|
|
4079
4634
|
"div",
|
|
4080
4635
|
{
|
|
4081
4636
|
className: cn(
|
|
@@ -4085,13 +4640,13 @@ var StateMessage = ({
|
|
|
4085
4640
|
role: "status",
|
|
4086
4641
|
"aria-live": "polite",
|
|
4087
4642
|
"aria-label": ariaLabel,
|
|
4088
|
-
children: /* @__PURE__ */
|
|
4643
|
+
children: /* @__PURE__ */ jsxs74("div", { className: "flex flex-col items-center gap-6", children: [
|
|
4089
4644
|
icon,
|
|
4090
|
-
/* @__PURE__ */
|
|
4091
|
-
/* @__PURE__ */
|
|
4092
|
-
description ? /* @__PURE__ */
|
|
4645
|
+
/* @__PURE__ */ jsxs74("div", { className: "flex flex-col items-center gap-2", children: [
|
|
4646
|
+
/* @__PURE__ */ jsx81(Typography, { variant: "body-large-strong", children: title }),
|
|
4647
|
+
description ? /* @__PURE__ */ jsx81(Typography, { variant: "body", className: "whitespace-pre-line text-agg-muted-foreground", children: description }) : null
|
|
4093
4648
|
] }),
|
|
4094
|
-
actionLabel && onAction ? /* @__PURE__ */
|
|
4649
|
+
actionLabel && onAction ? /* @__PURE__ */ jsx81(
|
|
4095
4650
|
Button,
|
|
4096
4651
|
{
|
|
4097
4652
|
variant: "tertiary",
|
|
@@ -4113,8 +4668,8 @@ var StateMessage = ({
|
|
|
4113
4668
|
StateMessage.displayName = "StateMessage";
|
|
4114
4669
|
|
|
4115
4670
|
// src/primitives/tabs/index.tsx
|
|
4116
|
-
import { useCallback as useCallback2, useEffect as
|
|
4117
|
-
import { useLabels as
|
|
4671
|
+
import { useCallback as useCallback2, useEffect as useEffect5, useLayoutEffect, useMemo as useMemo5, useRef as useRef3, useState as useState6 } from "react";
|
|
4672
|
+
import { useLabels as useLabels12, useSdkUiConfig as useSdkUiConfig11 } from "@agg-market/hooks";
|
|
4118
4673
|
|
|
4119
4674
|
// src/primitives/tabs/tabs.utils.ts
|
|
4120
4675
|
var findNextEnabledIndex = (items, startIndex, direction) => {
|
|
@@ -4141,7 +4696,7 @@ var findEdgeEnabledIndex = (items, direction) => {
|
|
|
4141
4696
|
};
|
|
4142
4697
|
|
|
4143
4698
|
// src/primitives/tabs/index.tsx
|
|
4144
|
-
import { Fragment as
|
|
4699
|
+
import { Fragment as Fragment5, jsx as jsx82, jsxs as jsxs75 } from "react/jsx-runtime";
|
|
4145
4700
|
var mobileTabsMediaQuery = "(max-width: 512px)";
|
|
4146
4701
|
var getTabButtonClassName = ({
|
|
4147
4702
|
enableAnimations,
|
|
@@ -4181,8 +4736,10 @@ var Tabs = ({
|
|
|
4181
4736
|
className,
|
|
4182
4737
|
classNames
|
|
4183
4738
|
}) => {
|
|
4184
|
-
const labels =
|
|
4185
|
-
const {
|
|
4739
|
+
const labels = useLabels12();
|
|
4740
|
+
const {
|
|
4741
|
+
features: { enableAnimations }
|
|
4742
|
+
} = useSdkUiConfig11();
|
|
4186
4743
|
const buttonRefs = useRef3([]);
|
|
4187
4744
|
const dragStateRef = useRef3({
|
|
4188
4745
|
isPointerDown: false,
|
|
@@ -4194,14 +4751,14 @@ var Tabs = ({
|
|
|
4194
4751
|
});
|
|
4195
4752
|
const suppressClickRef = useRef3(false);
|
|
4196
4753
|
const resolvedAriaLabel = ariaLabel != null ? ariaLabel : labels.common.tabsAria;
|
|
4197
|
-
const [isMobileViewport, setIsMobileViewport] =
|
|
4198
|
-
const [isDraggingTabs, setIsDraggingTabs] =
|
|
4199
|
-
const [activeUnderlineStyle, setActiveUnderlineStyle] =
|
|
4754
|
+
const [isMobileViewport, setIsMobileViewport] = useState6(false);
|
|
4755
|
+
const [isDraggingTabs, setIsDraggingTabs] = useState6(false);
|
|
4756
|
+
const [activeUnderlineStyle, setActiveUnderlineStyle] = useState6({
|
|
4200
4757
|
transform: "translateX(0px)",
|
|
4201
4758
|
width: 0,
|
|
4202
4759
|
opacity: 0
|
|
4203
4760
|
});
|
|
4204
|
-
const [scrollAffordanceState, setScrollAffordanceState] =
|
|
4761
|
+
const [scrollAffordanceState, setScrollAffordanceState] = useState6({
|
|
4205
4762
|
showStart: false,
|
|
4206
4763
|
showEnd: false
|
|
4207
4764
|
});
|
|
@@ -4216,7 +4773,7 @@ var Tabs = ({
|
|
|
4216
4773
|
}, [isBarVariant, isMobileViewport, overflowBehavior]);
|
|
4217
4774
|
const shouldUseOverflowScroll = resolvedOverflowBehavior === "scroll";
|
|
4218
4775
|
const shouldUseOverflowSelect = resolvedOverflowBehavior === "select";
|
|
4219
|
-
|
|
4776
|
+
useEffect5(() => {
|
|
4220
4777
|
if (typeof window === "undefined")
|
|
4221
4778
|
return;
|
|
4222
4779
|
const mediaQueryList = window.matchMedia(mobileTabsMediaQuery);
|
|
@@ -4430,7 +4987,7 @@ var Tabs = ({
|
|
|
4430
4987
|
useLayoutEffect(() => {
|
|
4431
4988
|
updateActiveUnderline();
|
|
4432
4989
|
}, [updateActiveUnderline]);
|
|
4433
|
-
|
|
4990
|
+
useEffect5(() => {
|
|
4434
4991
|
if (isBarVariant || !shouldUseOverflowScroll)
|
|
4435
4992
|
return;
|
|
4436
4993
|
const tabListElement = tabListRef.current;
|
|
@@ -4446,12 +5003,12 @@ var Tabs = ({
|
|
|
4446
5003
|
tabListElement.removeEventListener("scroll", handleScroll);
|
|
4447
5004
|
};
|
|
4448
5005
|
}, [isBarVariant, shouldUseOverflowScroll, updateActiveUnderline, updateScrollAffordances]);
|
|
4449
|
-
|
|
5006
|
+
useEffect5(() => {
|
|
4450
5007
|
if (!shouldUseOverflowScroll)
|
|
4451
5008
|
return;
|
|
4452
5009
|
updateScrollAffordances();
|
|
4453
5010
|
}, [renderedItems, shouldUseOverflowScroll, updateScrollAffordances, value]);
|
|
4454
|
-
|
|
5011
|
+
useEffect5(() => {
|
|
4455
5012
|
if (isBarVariant && !shouldUseOverflowScroll)
|
|
4456
5013
|
return;
|
|
4457
5014
|
if (typeof ResizeObserver === "undefined")
|
|
@@ -4468,7 +5025,7 @@ var Tabs = ({
|
|
|
4468
5025
|
resizeObserver.disconnect();
|
|
4469
5026
|
};
|
|
4470
5027
|
}, [isBarVariant, shouldUseOverflowScroll, updateActiveUnderline, updateScrollAffordances]);
|
|
4471
|
-
|
|
5028
|
+
useEffect5(() => {
|
|
4472
5029
|
if (!shouldUseOverflowScroll)
|
|
4473
5030
|
return;
|
|
4474
5031
|
const tabListElement = tabListRef.current;
|
|
@@ -4498,7 +5055,7 @@ var Tabs = ({
|
|
|
4498
5055
|
});
|
|
4499
5056
|
}, [enableAnimations, renderedItems, shouldUseOverflowScroll, value]);
|
|
4500
5057
|
if (shouldUseOverflowSelect) {
|
|
4501
|
-
return /* @__PURE__ */
|
|
5058
|
+
return /* @__PURE__ */ jsx82("div", { className: cn("w-full", className, classNames == null ? void 0 : classNames.root), children: /* @__PURE__ */ jsx82(
|
|
4502
5059
|
Select,
|
|
4503
5060
|
{
|
|
4504
5061
|
ariaLabel,
|
|
@@ -4510,7 +5067,7 @@ var Tabs = ({
|
|
|
4510
5067
|
}
|
|
4511
5068
|
) });
|
|
4512
5069
|
}
|
|
4513
|
-
return /* @__PURE__ */
|
|
5070
|
+
return /* @__PURE__ */ jsxs75(
|
|
4514
5071
|
"div",
|
|
4515
5072
|
{
|
|
4516
5073
|
className: cn(
|
|
@@ -4521,7 +5078,7 @@ var Tabs = ({
|
|
|
4521
5078
|
classNames == null ? void 0 : classNames.root
|
|
4522
5079
|
),
|
|
4523
5080
|
children: [
|
|
4524
|
-
/* @__PURE__ */
|
|
5081
|
+
/* @__PURE__ */ jsxs75(
|
|
4525
5082
|
"div",
|
|
4526
5083
|
{
|
|
4527
5084
|
ref: tabListRef,
|
|
@@ -4537,7 +5094,7 @@ var Tabs = ({
|
|
|
4537
5094
|
children: [
|
|
4538
5095
|
renderedItems.map((item, index) => {
|
|
4539
5096
|
const isActive = item.value === value;
|
|
4540
|
-
return /* @__PURE__ */
|
|
5097
|
+
return /* @__PURE__ */ jsxs75(
|
|
4541
5098
|
"button",
|
|
4542
5099
|
{
|
|
4543
5100
|
ref: (buttonElement) => {
|
|
@@ -4566,7 +5123,7 @@ var Tabs = ({
|
|
|
4566
5123
|
shouldUseOverflowScroll && !isBarVariant && "snap-start"
|
|
4567
5124
|
),
|
|
4568
5125
|
children: [
|
|
4569
|
-
isBarVariant ? /* @__PURE__ */
|
|
5126
|
+
isBarVariant ? /* @__PURE__ */ jsx82(Fragment5, { children: /* @__PURE__ */ jsx82(
|
|
4570
5127
|
"span",
|
|
4571
5128
|
{
|
|
4572
5129
|
"aria-hidden": true,
|
|
@@ -4580,8 +5137,8 @@ var Tabs = ({
|
|
|
4580
5137
|
)
|
|
4581
5138
|
}
|
|
4582
5139
|
) }) : null,
|
|
4583
|
-
item.icon ? /* @__PURE__ */
|
|
4584
|
-
/* @__PURE__ */
|
|
5140
|
+
item.icon ? /* @__PURE__ */ jsx82("span", { className: "relative z-10 inline-flex shrink-0 items-center justify-center empty:hidden", children: item.icon }) : null,
|
|
5141
|
+
/* @__PURE__ */ jsx82(
|
|
4585
5142
|
"span",
|
|
4586
5143
|
{
|
|
4587
5144
|
className: cn(
|
|
@@ -4596,7 +5153,7 @@ var Tabs = ({
|
|
|
4596
5153
|
item.value
|
|
4597
5154
|
);
|
|
4598
5155
|
}),
|
|
4599
|
-
!isBarVariant ? /* @__PURE__ */
|
|
5156
|
+
!isBarVariant ? /* @__PURE__ */ jsx82(
|
|
4600
5157
|
"span",
|
|
4601
5158
|
{
|
|
4602
5159
|
"aria-hidden": true,
|
|
@@ -4614,24 +5171,24 @@ var Tabs = ({
|
|
|
4614
5171
|
]
|
|
4615
5172
|
}
|
|
4616
5173
|
),
|
|
4617
|
-
shouldUseOverflowScroll && !isBarVariant ? /* @__PURE__ */
|
|
4618
|
-
/* @__PURE__ */
|
|
5174
|
+
shouldUseOverflowScroll && !isBarVariant ? /* @__PURE__ */ jsxs75(Fragment5, { children: [
|
|
5175
|
+
/* @__PURE__ */ jsx82(
|
|
4619
5176
|
"span",
|
|
4620
5177
|
{
|
|
4621
5178
|
"aria-hidden": true,
|
|
4622
5179
|
className: cn(
|
|
4623
|
-
"pointer-events-none absolute top-0 bottom-0 left-
|
|
5180
|
+
"pointer-events-none absolute top-0 bottom-0 left-0 z-10 w-12 md:w-18 bg-linear-to-r from-agg-secondary via-agg-secondary to-transparent",
|
|
4624
5181
|
getMotionClassName(enableAnimations, "transition-opacity duration-200"),
|
|
4625
5182
|
scrollAffordanceState.showStart ? "opacity-100" : "opacity-0"
|
|
4626
5183
|
)
|
|
4627
5184
|
}
|
|
4628
5185
|
),
|
|
4629
|
-
/* @__PURE__ */
|
|
5186
|
+
/* @__PURE__ */ jsx82(
|
|
4630
5187
|
"span",
|
|
4631
5188
|
{
|
|
4632
5189
|
"aria-hidden": true,
|
|
4633
5190
|
className: cn(
|
|
4634
|
-
"pointer-events-none absolute top-0 right-
|
|
5191
|
+
"pointer-events-none absolute top-0 right-0 bottom-0 z-10 w-12 md:w-18 bg-linear-to-l from-agg-secondary via-agg-secondary to-transparent",
|
|
4635
5192
|
getMotionClassName(enableAnimations, "transition-opacity duration-200"),
|
|
4636
5193
|
scrollAffordanceState.showEnd ? "opacity-100" : "opacity-0"
|
|
4637
5194
|
)
|
|
@@ -4646,8 +5203,8 @@ Tabs.displayName = "Tabs";
|
|
|
4646
5203
|
|
|
4647
5204
|
// src/primitives/modal/index.tsx
|
|
4648
5205
|
import * as Dialog from "@radix-ui/react-dialog";
|
|
4649
|
-
import { useSdkUiConfig as useSdkUiConfig12, useLabels as
|
|
4650
|
-
import { Fragment as
|
|
5206
|
+
import { useSdkUiConfig as useSdkUiConfig12, useLabels as useLabels13 } from "@agg-market/hooks";
|
|
5207
|
+
import { Fragment as Fragment6, jsx as jsx83, jsxs as jsxs76 } from "react/jsx-runtime";
|
|
4651
5208
|
var Modal = ({
|
|
4652
5209
|
open,
|
|
4653
5210
|
onOpenChange,
|
|
@@ -4655,7 +5212,7 @@ var Modal = ({
|
|
|
4655
5212
|
"aria-label": _ariaLabel,
|
|
4656
5213
|
"aria-labelledby": _ariaLabelledBy
|
|
4657
5214
|
}) => {
|
|
4658
|
-
return /* @__PURE__ */
|
|
5215
|
+
return /* @__PURE__ */ jsx83(Dialog.Root, { open, onOpenChange, children });
|
|
4659
5216
|
};
|
|
4660
5217
|
var ModalContainer = ({
|
|
4661
5218
|
children,
|
|
@@ -4664,11 +5221,14 @@ var ModalContainer = ({
|
|
|
4664
5221
|
"aria-label": ariaLabel,
|
|
4665
5222
|
"aria-labelledby": ariaLabelledBy
|
|
4666
5223
|
}) => {
|
|
4667
|
-
const {
|
|
5224
|
+
const {
|
|
5225
|
+
general: { rootClassName },
|
|
5226
|
+
features: { enableAnimations }
|
|
5227
|
+
} = useSdkUiConfig12();
|
|
4668
5228
|
const overlayAnimationClassName = enableAnimations ? "motion-safe:data-[state=open]:animate-agg-modal-overlay-in motion-safe:data-[state=closed]:animate-agg-modal-overlay-out motion-reduce:animate-none" : void 0;
|
|
4669
5229
|
const panelAnimationClassName = enableAnimations ? "motion-safe:data-[state=open]:animate-agg-modal-panel-in motion-safe:data-[state=closed]:animate-agg-modal-panel-out motion-reduce:animate-none" : void 0;
|
|
4670
|
-
return /* @__PURE__ */
|
|
4671
|
-
/* @__PURE__ */
|
|
5230
|
+
return /* @__PURE__ */ jsxs76(Dialog.Portal, { children: [
|
|
5231
|
+
/* @__PURE__ */ jsx83(
|
|
4672
5232
|
Dialog.Overlay,
|
|
4673
5233
|
{
|
|
4674
5234
|
className: cn(
|
|
@@ -4678,7 +5238,7 @@ var ModalContainer = ({
|
|
|
4678
5238
|
)
|
|
4679
5239
|
}
|
|
4680
5240
|
),
|
|
4681
|
-
/* @__PURE__ */
|
|
5241
|
+
/* @__PURE__ */ jsx83(
|
|
4682
5242
|
Dialog.Content,
|
|
4683
5243
|
{
|
|
4684
5244
|
className: cn(
|
|
@@ -4693,7 +5253,7 @@ var ModalContainer = ({
|
|
|
4693
5253
|
onCloseAutoFocus: (event) => {
|
|
4694
5254
|
event.preventDefault();
|
|
4695
5255
|
},
|
|
4696
|
-
children: /* @__PURE__ */
|
|
5256
|
+
children: /* @__PURE__ */ jsx83(
|
|
4697
5257
|
"div",
|
|
4698
5258
|
{
|
|
4699
5259
|
className: cn(
|
|
@@ -4727,11 +5287,13 @@ var ModalHeader = ({
|
|
|
4727
5287
|
children,
|
|
4728
5288
|
hideBorder = false
|
|
4729
5289
|
}) => {
|
|
4730
|
-
const {
|
|
4731
|
-
|
|
4732
|
-
|
|
5290
|
+
const {
|
|
5291
|
+
features: { enableAnimations }
|
|
5292
|
+
} = useSdkUiConfig12();
|
|
5293
|
+
const labels = useLabels13();
|
|
5294
|
+
const defaultCloseIcon = /* @__PURE__ */ jsx83(CloseIcon, { className: "h-6 w-6" });
|
|
4733
5295
|
const resolvedCloseIcon = closeIcon != null ? closeIcon : defaultCloseIcon;
|
|
4734
|
-
return /* @__PURE__ */
|
|
5296
|
+
return /* @__PURE__ */ jsxs76(
|
|
4735
5297
|
"div",
|
|
4736
5298
|
{
|
|
4737
5299
|
className: cn(
|
|
@@ -4744,7 +5306,7 @@ var ModalHeader = ({
|
|
|
4744
5306
|
classNames == null ? void 0 : classNames.root
|
|
4745
5307
|
),
|
|
4746
5308
|
children: [
|
|
4747
|
-
/* @__PURE__ */
|
|
5309
|
+
/* @__PURE__ */ jsxs76(
|
|
4748
5310
|
"div",
|
|
4749
5311
|
{
|
|
4750
5312
|
className: cn(
|
|
@@ -4756,9 +5318,9 @@ var ModalHeader = ({
|
|
|
4756
5318
|
classNames == null ? void 0 : classNames.container
|
|
4757
5319
|
),
|
|
4758
5320
|
children: [
|
|
4759
|
-
leftElement ? /* @__PURE__ */
|
|
4760
|
-
/* @__PURE__ */
|
|
4761
|
-
/* @__PURE__ */
|
|
5321
|
+
leftElement ? /* @__PURE__ */ jsx83(Fragment6, { children: leftElement }) : null,
|
|
5322
|
+
/* @__PURE__ */ jsxs76("div", { className: cn("max-w-[calc(100%-1rem)] flex-1", classNames == null ? void 0 : classNames.titleContainer), children: [
|
|
5323
|
+
/* @__PURE__ */ jsx83(
|
|
4762
5324
|
Dialog.Title,
|
|
4763
5325
|
{
|
|
4764
5326
|
className: cn(
|
|
@@ -4771,7 +5333,7 @@ var ModalHeader = ({
|
|
|
4771
5333
|
children: title
|
|
4772
5334
|
}
|
|
4773
5335
|
),
|
|
4774
|
-
subtitle ? /* @__PURE__ */
|
|
5336
|
+
subtitle ? /* @__PURE__ */ jsx83(
|
|
4775
5337
|
"span",
|
|
4776
5338
|
{
|
|
4777
5339
|
className: cn(
|
|
@@ -4782,9 +5344,9 @@ var ModalHeader = ({
|
|
|
4782
5344
|
}
|
|
4783
5345
|
) : null
|
|
4784
5346
|
] }),
|
|
4785
|
-
/* @__PURE__ */
|
|
4786
|
-
rightElement ? /* @__PURE__ */
|
|
4787
|
-
!hideClose && /* @__PURE__ */
|
|
5347
|
+
/* @__PURE__ */ jsxs76("div", { className: "flex flex-row gap-6 items-center justify-end", children: [
|
|
5348
|
+
rightElement ? /* @__PURE__ */ jsx83(Fragment6, { children: rightElement }) : null,
|
|
5349
|
+
!hideClose && /* @__PURE__ */ jsx83(
|
|
4788
5350
|
Dialog.Close,
|
|
4789
5351
|
{
|
|
4790
5352
|
className: cn(
|
|
@@ -4800,14 +5362,14 @@ var ModalHeader = ({
|
|
|
4800
5362
|
]
|
|
4801
5363
|
}
|
|
4802
5364
|
),
|
|
4803
|
-
children ? /* @__PURE__ */
|
|
5365
|
+
children ? /* @__PURE__ */ jsx83("div", { children }) : null
|
|
4804
5366
|
]
|
|
4805
5367
|
}
|
|
4806
5368
|
);
|
|
4807
5369
|
};
|
|
4808
5370
|
Modal.Header = ModalHeader;
|
|
4809
5371
|
var ModalBody = ({ children, classNames }) => {
|
|
4810
|
-
return /* @__PURE__ */
|
|
5372
|
+
return /* @__PURE__ */ jsx83(
|
|
4811
5373
|
"div",
|
|
4812
5374
|
{
|
|
4813
5375
|
className: cn(
|
|
@@ -4828,7 +5390,7 @@ var ModalFooter = ({
|
|
|
4828
5390
|
classNames,
|
|
4829
5391
|
hideBorder = false
|
|
4830
5392
|
}) => {
|
|
4831
|
-
return /* @__PURE__ */
|
|
5393
|
+
return /* @__PURE__ */ jsx83(
|
|
4832
5394
|
"div",
|
|
4833
5395
|
{
|
|
4834
5396
|
className: cn(
|
|
@@ -4848,6 +5410,75 @@ var ModalFooter = ({
|
|
|
4848
5410
|
Modal.Footer = ModalFooter;
|
|
4849
5411
|
Modal.displayName = "Modal";
|
|
4850
5412
|
|
|
5413
|
+
// src/primitives/header/index.tsx
|
|
5414
|
+
import { useLabels as useLabels14 } from "@agg-market/hooks";
|
|
5415
|
+
|
|
5416
|
+
// src/primitives/header/header.constants.ts
|
|
5417
|
+
var baseHeaderClasses = "group/agg-header w-full border-b border-agg-separator bg-agg-background";
|
|
5418
|
+
var stickyHeaderClasses = "sticky top-0 z-50";
|
|
5419
|
+
var headerInnerClasses = "mx-auto flex h-14 items-center px-4 md:px-10";
|
|
5420
|
+
|
|
5421
|
+
// src/primitives/header/header.types.ts
|
|
5422
|
+
var isHeaderLogoProps = (value) => {
|
|
5423
|
+
return typeof value === "object" && value !== null && "src" in value && typeof value.src === "string";
|
|
5424
|
+
};
|
|
5425
|
+
|
|
5426
|
+
// src/primitives/header/index.tsx
|
|
5427
|
+
import { jsx as jsx84, jsxs as jsxs77 } from "react/jsx-runtime";
|
|
5428
|
+
var Header = ({
|
|
5429
|
+
logo,
|
|
5430
|
+
logoHref,
|
|
5431
|
+
search,
|
|
5432
|
+
searchProps,
|
|
5433
|
+
actions,
|
|
5434
|
+
classNames,
|
|
5435
|
+
sticky = true,
|
|
5436
|
+
"aria-label": ariaLabel
|
|
5437
|
+
}) => {
|
|
5438
|
+
const labels = useLabels14();
|
|
5439
|
+
const logoContent = isHeaderLogoProps(logo) ? /* @__PURE__ */ jsx84(
|
|
5440
|
+
"img",
|
|
5441
|
+
{
|
|
5442
|
+
src: logo.src,
|
|
5443
|
+
alt: logo.alt,
|
|
5444
|
+
width: logo.width,
|
|
5445
|
+
height: logo.height,
|
|
5446
|
+
className: cn("block max-h-full", classNames == null ? void 0 : classNames.logoElement)
|
|
5447
|
+
}
|
|
5448
|
+
) : logo !== void 0 ? /* @__PURE__ */ jsx84("span", { className: classNames == null ? void 0 : classNames.logoElement, children: logo }) : /* @__PURE__ */ jsx84(
|
|
5449
|
+
AggLogo,
|
|
5450
|
+
{
|
|
5451
|
+
className: cn("h-6 w-auto text-agg-foreground", classNames == null ? void 0 : classNames.logoElement),
|
|
5452
|
+
title: labels.header.logoAria
|
|
5453
|
+
}
|
|
5454
|
+
);
|
|
5455
|
+
const wrappedLogo = logoHref ? /* @__PURE__ */ jsx84("a", { href: logoHref, "aria-label": labels.header.logoAria, className: classNames == null ? void 0 : classNames.logoWrapper, children: logoContent }) : /* @__PURE__ */ jsx84("div", { className: classNames == null ? void 0 : classNames.logoWrapper, children: logoContent });
|
|
5456
|
+
const searchContent = search !== void 0 ? search : searchProps ? /* @__PURE__ */ jsx84(Search, __spreadValues({}, searchProps)) : null;
|
|
5457
|
+
return /* @__PURE__ */ jsx84(
|
|
5458
|
+
"header",
|
|
5459
|
+
{
|
|
5460
|
+
role: "banner",
|
|
5461
|
+
"aria-label": ariaLabel != null ? ariaLabel : labels.header.bannerAria,
|
|
5462
|
+
className: cn(baseHeaderClasses, sticky && stickyHeaderClasses, classNames == null ? void 0 : classNames.root),
|
|
5463
|
+
children: /* @__PURE__ */ jsxs77("div", { className: cn(headerInnerClasses, classNames == null ? void 0 : classNames.inner), children: [
|
|
5464
|
+
/* @__PURE__ */ jsx84("div", { className: cn("flex shrink-0 items-center", classNames == null ? void 0 : classNames.leftSection), children: wrappedLogo }),
|
|
5465
|
+
searchContent ? /* @__PURE__ */ jsx84(
|
|
5466
|
+
"div",
|
|
5467
|
+
{
|
|
5468
|
+
className: cn(
|
|
5469
|
+
"flex min-w-0 flex-1 justify-center px-4 md:px-6",
|
|
5470
|
+
classNames == null ? void 0 : classNames.centerSection
|
|
5471
|
+
),
|
|
5472
|
+
children: searchContent
|
|
5473
|
+
}
|
|
5474
|
+
) : null,
|
|
5475
|
+
/* @__PURE__ */ jsx84("div", { className: cn("flex shrink-0 items-center gap-2", classNames == null ? void 0 : classNames.rightSection), children: actions })
|
|
5476
|
+
] })
|
|
5477
|
+
}
|
|
5478
|
+
);
|
|
5479
|
+
};
|
|
5480
|
+
Header.displayName = "Header";
|
|
5481
|
+
|
|
4851
5482
|
export {
|
|
4852
5483
|
__spreadValues,
|
|
4853
5484
|
__spreadProps,
|
|
@@ -4879,6 +5510,7 @@ export {
|
|
|
4879
5510
|
skeletonViews,
|
|
4880
5511
|
Skeleton,
|
|
4881
5512
|
SwitchButton,
|
|
5513
|
+
AggLogo,
|
|
4882
5514
|
typographyVariants,
|
|
4883
5515
|
Typography,
|
|
4884
5516
|
HelloWorld,
|
|
@@ -4939,8 +5571,20 @@ export {
|
|
|
4939
5571
|
badgeSizes,
|
|
4940
5572
|
Badge,
|
|
4941
5573
|
Select,
|
|
5574
|
+
resolveEventListItemEvent,
|
|
5575
|
+
normalizeProbability,
|
|
5576
|
+
sortOutcomes,
|
|
5577
|
+
resolveVisibleOutcomes,
|
|
5578
|
+
resolveOutcomeTitle,
|
|
5579
|
+
selectPrimaryVenueMarket,
|
|
5580
|
+
resolveTileTitle,
|
|
5581
|
+
resolveTileImage,
|
|
5582
|
+
formatCountLabel,
|
|
5583
|
+
getVenueSummary,
|
|
5584
|
+
resolveVenueLabel,
|
|
4942
5585
|
Search,
|
|
4943
5586
|
StateMessage,
|
|
4944
5587
|
Tabs,
|
|
4945
|
-
Modal
|
|
5588
|
+
Modal,
|
|
5589
|
+
Header
|
|
4946
5590
|
};
|