@agg-market/ui 11.0.0 → 13.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/README.md +1 -0
- package/dist/{chunk-HMUMJUIL.mjs → chunk-3ST2TN6E.mjs} +613 -312
- package/dist/{chunk-IUJXJEDQ.mjs → chunk-B56YA2YQ.mjs} +872 -650
- package/dist/chunk-CHVTY3OB.mjs +3140 -0
- package/dist/{chunk-2KGE5AJQ.mjs → chunk-GQ4P3AHJ.mjs} +66 -131
- package/dist/{chunk-UONHGMFI.mjs → chunk-T4WFRR6D.mjs} +23 -45
- package/dist/events.js +1013 -924
- package/dist/events.mjs +2 -2
- package/dist/index.js +3653 -2943
- package/dist/index.mjs +14 -7
- package/dist/modals.js +2578 -2190
- package/dist/modals.mjs +2 -2
- package/dist/pages.js +2192 -1763
- package/dist/pages.mjs +4 -4
- package/dist/primitives.js +860 -628
- package/dist/primitives.mjs +9 -1
- package/dist/styles.css +2 -2
- package/dist/tailwind.css +2 -2
- package/dist/trading.js +823 -673
- package/dist/trading.mjs +2 -2
- package/dist/types/deposit/deposit-modal.constants.d.mts +0 -4
- package/dist/types/deposit/deposit-modal.constants.d.ts +0 -4
- package/dist/types/deposit/deposit-modal.types.d.mts +110 -14
- package/dist/types/deposit/deposit-modal.types.d.ts +110 -14
- package/dist/types/deposit/index.d.mts +1 -1
- package/dist/types/deposit/index.d.ts +1 -1
- package/dist/types/deposit/steps/card-deposit.d.mts +13 -3
- package/dist/types/deposit/steps/card-deposit.d.ts +13 -3
- package/dist/types/deposit/steps/card-provider.d.mts +10 -0
- package/dist/types/deposit/steps/card-provider.d.ts +10 -0
- package/dist/types/deposit/steps/card-purchase-success.d.mts +7 -0
- package/dist/types/deposit/steps/card-purchase-success.d.ts +7 -0
- package/dist/types/deposit/steps/crypto-transfer.d.mts +13 -3
- package/dist/types/deposit/steps/crypto-transfer.d.ts +13 -3
- package/dist/types/deposit/steps/deposit-method.d.mts +6 -4
- package/dist/types/deposit/steps/deposit-method.d.ts +6 -4
- package/dist/types/deposit/steps/wallet-form.d.mts +20 -0
- package/dist/types/deposit/steps/wallet-form.d.ts +20 -0
- package/dist/types/deposit/steps/wallet-processing.d.mts +6 -0
- package/dist/types/deposit/steps/wallet-processing.d.ts +6 -0
- package/dist/types/deposit/steps/wallet-success.d.mts +7 -0
- package/dist/types/deposit/steps/wallet-success.d.ts +7 -0
- package/dist/types/pages/home/index.d.mts +1 -1
- package/dist/types/pages/home/index.d.ts +1 -1
- package/dist/types/pages/user-profile/components/available-balance-card.d.mts +17 -0
- package/dist/types/pages/user-profile/components/available-balance-card.d.ts +17 -0
- package/dist/types/pages/user-profile/components/balance-display.d.mts +3 -5
- package/dist/types/pages/user-profile/components/balance-display.d.ts +3 -5
- package/dist/types/pages/user-profile/components/positions-activity.d.mts +11 -1
- package/dist/types/pages/user-profile/components/positions-activity.d.ts +11 -1
- package/dist/types/pages/user-profile/components/positions-value-card.d.mts +10 -0
- package/dist/types/pages/user-profile/components/positions-value-card.d.ts +10 -0
- package/dist/types/pages/user-profile/components/user-info-card.d.mts +3 -1
- package/dist/types/pages/user-profile/components/user-info-card.d.ts +3 -1
- package/dist/types/pages/user-profile/index.d.mts +2 -2
- package/dist/types/pages/user-profile/index.d.ts +2 -2
- package/dist/types/pages/user-profile/user-profile.constants.d.mts +1 -2
- package/dist/types/pages/user-profile/user-profile.constants.d.ts +1 -2
- package/dist/types/pages/user-profile/user-profile.types.d.mts +29 -16
- package/dist/types/pages/user-profile/user-profile.types.d.ts +29 -16
- package/dist/types/primitives/icon/index.d.mts +4 -1
- package/dist/types/primitives/icon/index.d.ts +4 -1
- package/dist/types/primitives/icon/registry.d.mts +12 -0
- package/dist/types/primitives/icon/registry.d.ts +12 -0
- package/dist/types/primitives/icon/svg/bnb.d.mts +5 -0
- package/dist/types/primitives/icon/svg/bnb.d.ts +5 -0
- package/dist/types/primitives/icon/svg/polygon.d.mts +5 -0
- package/dist/types/primitives/icon/svg/polygon.d.ts +5 -0
- package/dist/types/primitives/icon/svg/success-check.d.mts +5 -0
- package/dist/types/primitives/icon/svg/success-check.d.ts +5 -0
- package/dist/types/primitives/index.d.mts +1 -0
- package/dist/types/primitives/index.d.ts +1 -0
- package/dist/types/primitives/skeleton/skeleton.types.d.mts +2 -0
- package/dist/types/primitives/skeleton/skeleton.types.d.ts +2 -0
- package/dist/types/primitives/skeleton/views/user-profile-overview-skeleton-view.d.mts +5 -0
- package/dist/types/primitives/skeleton/views/user-profile-overview-skeleton-view.d.ts +5 -0
- package/dist/types/primitives/skeleton/views/user-profile-positions-activity-skeleton-view.d.mts +5 -0
- package/dist/types/primitives/skeleton/views/user-profile-positions-activity-skeleton-view.d.ts +5 -0
- package/dist/types/primitives/tooltip/index.d.mts +6 -0
- package/dist/types/primitives/tooltip/index.d.ts +6 -0
- package/dist/types/primitives/tooltip/tooltip.constants.d.mts +2 -0
- package/dist/types/primitives/tooltip/tooltip.constants.d.ts +2 -0
- package/dist/types/primitives/tooltip/tooltip.types.d.mts +27 -0
- package/dist/types/primitives/tooltip/tooltip.types.d.ts +27 -0
- package/dist/types/profile/tabs/about-tab.d.mts +1 -1
- package/dist/types/profile/tabs/about-tab.d.ts +1 -1
- package/dist/types/profile/tabs/accounts-wallets-tab.d.mts +1 -1
- package/dist/types/profile/tabs/accounts-wallets-tab.d.ts +1 -1
- package/dist/types/withdraw/index.d.mts +2 -2
- package/dist/types/withdraw/index.d.ts +2 -2
- package/dist/types/withdraw/steps/withdraw-amount.d.mts +14 -5
- package/dist/types/withdraw/steps/withdraw-amount.d.ts +14 -5
- package/dist/types/withdraw/steps/withdraw-method.d.mts +3 -4
- package/dist/types/withdraw/steps/withdraw-method.d.ts +3 -4
- package/dist/types/withdraw/steps/withdraw-provider.d.mts +10 -0
- package/dist/types/withdraw/steps/withdraw-provider.d.ts +10 -0
- package/dist/types/withdraw/steps/withdraw-success.d.mts +7 -0
- package/dist/types/withdraw/steps/withdraw-success.d.ts +7 -0
- package/dist/types/withdraw/withdraw-modal.constants.d.mts +0 -4
- package/dist/types/withdraw/withdraw-modal.constants.d.ts +0 -4
- package/dist/types/withdraw/withdraw-modal.types.d.mts +47 -23
- package/dist/types/withdraw/withdraw-modal.types.d.ts +47 -23
- package/package.json +3 -2
- package/dist/chunk-5FSWOXEG.mjs +0 -2857
- package/dist/types/deposit/steps/kalshi-deposit.d.mts +0 -5
- package/dist/types/deposit/steps/kalshi-deposit.d.ts +0 -5
- package/dist/types/withdraw/steps/kalshi-withdraw.d.mts +0 -5
- package/dist/types/withdraw/steps/kalshi-withdraw.d.ts +0 -5
- package/dist/types/withdraw/steps/venue-selection.d.mts +0 -6
- package/dist/types/withdraw/steps/venue-selection.d.ts +0 -6
|
@@ -60,36 +60,29 @@ var AGG_ROOT_CLASS_NAME = "agg-root";
|
|
|
60
60
|
var isTruthy = (x) => !!x;
|
|
61
61
|
var cn = (...values) => values.filter(Boolean).join(" ");
|
|
62
62
|
var getMotionClassName = (enabled, ...values) => {
|
|
63
|
-
if (!enabled)
|
|
64
|
-
return void 0;
|
|
63
|
+
if (!enabled) return void 0;
|
|
65
64
|
return cn(...values);
|
|
66
65
|
};
|
|
67
66
|
var getScrollBehavior = (enabled) => {
|
|
68
67
|
return enabled ? "smooth" : "auto";
|
|
69
68
|
};
|
|
70
69
|
var isValidDateValue = (value) => {
|
|
71
|
-
if (value instanceof Date && !Number.isNaN(value.getTime()))
|
|
72
|
-
return true;
|
|
70
|
+
if (value instanceof Date && !Number.isNaN(value.getTime())) return true;
|
|
73
71
|
return false;
|
|
74
72
|
};
|
|
75
73
|
var toDate = (value) => {
|
|
76
|
-
if (!value)
|
|
77
|
-
|
|
78
|
-
if (value instanceof Date)
|
|
79
|
-
return value;
|
|
74
|
+
if (!value) return null;
|
|
75
|
+
if (value instanceof Date) return value;
|
|
80
76
|
const parsed = new Date(value);
|
|
81
|
-
if (Number.isNaN(parsed.getTime()))
|
|
82
|
-
return null;
|
|
77
|
+
if (Number.isNaN(parsed.getTime())) return null;
|
|
83
78
|
return parsed;
|
|
84
79
|
};
|
|
85
80
|
var shortenAddress = (value) => {
|
|
86
|
-
if (value.length < 10)
|
|
87
|
-
return value;
|
|
81
|
+
if (value.length < 10) return value;
|
|
88
82
|
return `${value.slice(0, 6)}...${value.slice(-5)}`;
|
|
89
83
|
};
|
|
90
84
|
var formatUsd = (value) => {
|
|
91
|
-
if (!Number.isFinite(value))
|
|
92
|
-
return "$0";
|
|
85
|
+
if (!Number.isFinite(value)) return "$0";
|
|
93
86
|
return value.toLocaleString("en-US", {
|
|
94
87
|
style: "currency",
|
|
95
88
|
currency: "USD",
|
|
@@ -103,11 +96,9 @@ var formatCompactUsd = (amount) => {
|
|
|
103
96
|
};
|
|
104
97
|
var formatAmountDisplay = (value) => {
|
|
105
98
|
var _a;
|
|
106
|
-
if (!value)
|
|
107
|
-
return "";
|
|
99
|
+
if (!value) return "";
|
|
108
100
|
const num = Number(value);
|
|
109
|
-
if (Number.isNaN(num))
|
|
110
|
-
return value;
|
|
101
|
+
if (Number.isNaN(num)) return value;
|
|
111
102
|
if (value.includes(".")) {
|
|
112
103
|
const [, dec] = value.split(".");
|
|
113
104
|
return num.toLocaleString("en-US", {
|
|
@@ -700,6 +691,108 @@ var SettlementSkeletonView = ({
|
|
|
700
691
|
};
|
|
701
692
|
SettlementSkeletonView.displayName = "SettlementSkeletonView";
|
|
702
693
|
|
|
694
|
+
// src/primitives/skeleton/views/user-profile-overview-skeleton-view.tsx
|
|
695
|
+
import { jsx as jsx11, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
696
|
+
var UserProfileOverviewSkeletonView = ({
|
|
697
|
+
className,
|
|
698
|
+
ariaLabel
|
|
699
|
+
}) => {
|
|
700
|
+
return /* @__PURE__ */ jsxs9(
|
|
701
|
+
"div",
|
|
702
|
+
{
|
|
703
|
+
className: cn("flex w-full flex-col gap-6 sm:flex-row", className),
|
|
704
|
+
role: "status",
|
|
705
|
+
"aria-label": ariaLabel != null ? ariaLabel : "Loading profile overview",
|
|
706
|
+
"aria-busy": "true",
|
|
707
|
+
children: [
|
|
708
|
+
/* @__PURE__ */ jsxs9("div", { className: "flex min-w-0 flex-1 flex-col gap-4 sm:gap-6", children: [
|
|
709
|
+
/* @__PURE__ */ jsx11("div", { className: "rounded-agg-md border border-agg-separator bg-agg-secondary p-5", children: /* @__PURE__ */ jsxs9("div", { className: "flex w-full items-center gap-5", children: [
|
|
710
|
+
/* @__PURE__ */ jsx11(SkeletonBlock, { className: "h-20 w-20 shrink-0 rounded-agg-full sm:h-[120px] sm:w-[120px]" }),
|
|
711
|
+
/* @__PURE__ */ jsxs9("div", { className: "flex min-w-0 flex-1 flex-col gap-3", children: [
|
|
712
|
+
/* @__PURE__ */ jsxs9("div", { className: "flex items-center justify-between gap-3", children: [
|
|
713
|
+
/* @__PURE__ */ jsx11(SkeletonBlock, { className: "h-9 w-[140px] rounded-agg-sm" }),
|
|
714
|
+
/* @__PURE__ */ jsx11(SkeletonBlock, { className: "h-6 w-[72px] rounded-agg-sm" })
|
|
715
|
+
] }),
|
|
716
|
+
/* @__PURE__ */ jsxs9("div", { className: "flex items-center gap-2", children: [
|
|
717
|
+
/* @__PURE__ */ jsx11(SkeletonBlock, { className: "h-5 w-5 rounded-agg-sm" }),
|
|
718
|
+
/* @__PURE__ */ jsx11(SkeletonBlock, { className: "h-6 w-[140px] rounded-agg-sm" }),
|
|
719
|
+
/* @__PURE__ */ jsx11(SkeletonBlock, { className: "h-5 w-[72px] rounded-agg-sm" })
|
|
720
|
+
] })
|
|
721
|
+
] })
|
|
722
|
+
] }) }),
|
|
723
|
+
/* @__PURE__ */ jsx11("div", { className: "rounded-agg-md border border-agg-separator bg-agg-secondary p-5", children: /* @__PURE__ */ jsxs9("div", { className: "flex items-center justify-between", children: [
|
|
724
|
+
/* @__PURE__ */ jsxs9("div", { className: "flex items-end gap-3", children: [
|
|
725
|
+
/* @__PURE__ */ jsx11(SkeletonBlock, { className: "h-9 w-[80px] rounded-agg-sm" }),
|
|
726
|
+
/* @__PURE__ */ jsx11(SkeletonBlock, { className: "h-5 w-[100px] rounded-agg-sm" })
|
|
727
|
+
] }),
|
|
728
|
+
/* @__PURE__ */ jsxs9("div", { className: "flex items-center gap-2", children: [
|
|
729
|
+
/* @__PURE__ */ jsx11(SkeletonBlock, { className: "h-5 w-5 rounded-agg-sm" }),
|
|
730
|
+
/* @__PURE__ */ jsx11(SkeletonBlock, { className: "h-5 w-5 rounded-agg-sm" }),
|
|
731
|
+
/* @__PURE__ */ jsx11(SkeletonBlock, { className: "h-5 w-5 rounded-agg-sm" }),
|
|
732
|
+
/* @__PURE__ */ jsx11(SkeletonBlock, { className: "h-5 w-5 rounded-agg-sm" })
|
|
733
|
+
] })
|
|
734
|
+
] }) })
|
|
735
|
+
] }),
|
|
736
|
+
/* @__PURE__ */ jsxs9("div", { className: "w-full shrink-0 rounded-agg-md border border-agg-separator bg-agg-secondary p-5 sm:w-[465px]", children: [
|
|
737
|
+
/* @__PURE__ */ jsxs9("div", { className: "mb-4 flex items-center justify-between", children: [
|
|
738
|
+
/* @__PURE__ */ jsx11(SkeletonBlock, { className: "h-7 w-[84px] rounded-agg-sm" }),
|
|
739
|
+
/* @__PURE__ */ jsx11(SkeletonBlock, { className: "h-7 w-[64px] rounded-agg-sm" })
|
|
740
|
+
] }),
|
|
741
|
+
/* @__PURE__ */ jsx11("div", { className: "flex flex-col gap-4", children: Array.from({ length: 3 }).map((_, index) => /* @__PURE__ */ jsxs9("div", { className: "flex items-center justify-between", children: [
|
|
742
|
+
/* @__PURE__ */ jsxs9("div", { className: "flex items-center gap-3", children: [
|
|
743
|
+
/* @__PURE__ */ jsx11(SkeletonBlock, { className: "h-4 w-4 rounded-agg-sm" }),
|
|
744
|
+
/* @__PURE__ */ jsx11(SkeletonBlock, { className: "h-6 w-[70px] rounded-agg-sm" })
|
|
745
|
+
] }),
|
|
746
|
+
/* @__PURE__ */ jsx11(SkeletonBlock, { className: "h-6 w-[96px] rounded-agg-sm" })
|
|
747
|
+
] }, index)) }),
|
|
748
|
+
/* @__PURE__ */ jsxs9("div", { className: "mt-4 flex gap-3", children: [
|
|
749
|
+
/* @__PURE__ */ jsx11(SkeletonBlock, { className: "h-9 flex-1 rounded-agg-full" }),
|
|
750
|
+
/* @__PURE__ */ jsx11(SkeletonBlock, { className: "h-9 flex-1 rounded-agg-full" })
|
|
751
|
+
] })
|
|
752
|
+
] })
|
|
753
|
+
]
|
|
754
|
+
}
|
|
755
|
+
);
|
|
756
|
+
};
|
|
757
|
+
UserProfileOverviewSkeletonView.displayName = "UserProfileOverviewSkeletonView";
|
|
758
|
+
|
|
759
|
+
// src/primitives/skeleton/views/user-profile-positions-activity-skeleton-view.tsx
|
|
760
|
+
import { jsx as jsx12, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
761
|
+
var UserProfilePositionsActivitySkeletonView = ({
|
|
762
|
+
className,
|
|
763
|
+
ariaLabel
|
|
764
|
+
}) => {
|
|
765
|
+
return /* @__PURE__ */ jsxs10(
|
|
766
|
+
"div",
|
|
767
|
+
{
|
|
768
|
+
className: cn(
|
|
769
|
+
"flex w-full flex-col overflow-clip rounded-agg-md border border-agg-separator bg-agg-secondary",
|
|
770
|
+
className
|
|
771
|
+
),
|
|
772
|
+
role: "status",
|
|
773
|
+
"aria-label": ariaLabel != null ? ariaLabel : "Loading positions and activity",
|
|
774
|
+
"aria-busy": "true",
|
|
775
|
+
children: [
|
|
776
|
+
/* @__PURE__ */ jsx12("div", { className: "h-11 border-b border-agg-separator px-4 sm:h-12 sm:px-6", children: /* @__PURE__ */ jsxs10("div", { className: "flex h-full items-center gap-6", children: [
|
|
777
|
+
/* @__PURE__ */ jsx12(SkeletonBlock, { className: "h-6 w-[72px] rounded-agg-sm" }),
|
|
778
|
+
/* @__PURE__ */ jsx12(SkeletonBlock, { className: "h-6 w-[64px] rounded-agg-sm" })
|
|
779
|
+
] }) }),
|
|
780
|
+
/* @__PURE__ */ jsxs10("div", { className: "flex flex-col gap-4 p-4 sm:gap-6 sm:p-6", children: [
|
|
781
|
+
/* @__PURE__ */ jsxs10("div", { className: "flex gap-5", children: [
|
|
782
|
+
/* @__PURE__ */ jsx12(SkeletonBlock, { className: "h-10 w-[270px] rounded-agg-sm" }),
|
|
783
|
+
/* @__PURE__ */ jsx12(SkeletonBlock, { className: "h-10 min-w-0 flex-1 rounded-agg-sm" })
|
|
784
|
+
] }),
|
|
785
|
+
/* @__PURE__ */ jsx12("div", { className: "flex flex-col gap-3 sm:gap-4", children: Array.from({ length: 3 }).map((_, index) => /* @__PURE__ */ jsxs10("div", { className: "flex items-center gap-5", children: [
|
|
786
|
+
/* @__PURE__ */ jsx12(SkeletonBlock, { className: "h-10 w-[270px] rounded-agg-sm" }),
|
|
787
|
+
/* @__PURE__ */ jsx12(SkeletonBlock, { className: "h-10 min-w-0 flex-1 rounded-agg-sm" })
|
|
788
|
+
] }, index)) })
|
|
789
|
+
] })
|
|
790
|
+
]
|
|
791
|
+
}
|
|
792
|
+
);
|
|
793
|
+
};
|
|
794
|
+
UserProfilePositionsActivitySkeletonView.displayName = "UserProfilePositionsActivitySkeletonView";
|
|
795
|
+
|
|
703
796
|
// src/primitives/skeleton/skeleton.types.ts
|
|
704
797
|
var skeletonViews = {
|
|
705
798
|
eventListItem: "event-list-item",
|
|
@@ -709,50 +802,56 @@ var skeletonViews = {
|
|
|
709
802
|
eventList: "event-list",
|
|
710
803
|
settlement: "settlement",
|
|
711
804
|
placeOrder: "place-order",
|
|
712
|
-
search: "search"
|
|
805
|
+
search: "search",
|
|
806
|
+
userProfileOverview: "user-profile-overview",
|
|
807
|
+
userProfilePositionsActivity: "user-profile-positions-activity"
|
|
713
808
|
};
|
|
714
809
|
|
|
715
810
|
// src/primitives/skeleton/index.tsx
|
|
716
|
-
import { jsx as
|
|
811
|
+
import { jsx as jsx13 } from "react/jsx-runtime";
|
|
717
812
|
var Skeleton = ({ view, className, ariaLabel }) => {
|
|
718
813
|
if (view === skeletonViews.eventListItem) {
|
|
719
|
-
return /* @__PURE__ */
|
|
814
|
+
return /* @__PURE__ */ jsx13(EventListItemSkeletonView, { className, ariaLabel, isStandalone: true });
|
|
720
815
|
}
|
|
721
816
|
if (view === skeletonViews.eventListItemDetails) {
|
|
722
|
-
return /* @__PURE__ */
|
|
817
|
+
return /* @__PURE__ */ jsx13(EventListItemDetailsSkeletonView, { className, ariaLabel });
|
|
723
818
|
}
|
|
724
819
|
if (view === skeletonViews.marketDetailsMinified) {
|
|
725
|
-
return /* @__PURE__ */
|
|
820
|
+
return /* @__PURE__ */ jsx13(MarketDetailsSkeletonView, { className, ariaLabel, isDetailed: false });
|
|
726
821
|
}
|
|
727
822
|
if (view === skeletonViews.marketDetailsDetailed) {
|
|
728
|
-
return /* @__PURE__ */
|
|
823
|
+
return /* @__PURE__ */ jsx13(MarketDetailsSkeletonView, { className, ariaLabel, isDetailed: true });
|
|
729
824
|
}
|
|
730
825
|
if (view === skeletonViews.settlement) {
|
|
731
|
-
return /* @__PURE__ */
|
|
826
|
+
return /* @__PURE__ */ jsx13(SettlementSkeletonView, { className, ariaLabel });
|
|
732
827
|
}
|
|
733
828
|
if (view === skeletonViews.placeOrder) {
|
|
734
|
-
return /* @__PURE__ */
|
|
829
|
+
return /* @__PURE__ */ jsx13(PlaceOrderSkeletonView, { className, ariaLabel });
|
|
735
830
|
}
|
|
736
831
|
if (view === skeletonViews.search) {
|
|
737
|
-
return /* @__PURE__ */
|
|
832
|
+
return /* @__PURE__ */ jsx13(SearchSkeletonView, { className, ariaLabel });
|
|
833
|
+
}
|
|
834
|
+
if (view === skeletonViews.userProfileOverview) {
|
|
835
|
+
return /* @__PURE__ */ jsx13(UserProfileOverviewSkeletonView, { className, ariaLabel });
|
|
836
|
+
}
|
|
837
|
+
if (view === skeletonViews.userProfilePositionsActivity) {
|
|
838
|
+
return /* @__PURE__ */ jsx13(UserProfilePositionsActivitySkeletonView, { className, ariaLabel });
|
|
738
839
|
}
|
|
739
|
-
return /* @__PURE__ */
|
|
840
|
+
return /* @__PURE__ */ jsx13(EventListSkeletonView, { className, ariaLabel });
|
|
740
841
|
};
|
|
741
842
|
Skeleton.displayName = "Skeleton";
|
|
742
843
|
|
|
743
844
|
// src/primitives/switch-button/index.tsx
|
|
744
845
|
import { useEffect, useMemo, useState } from "react";
|
|
745
846
|
import { useSdkUiConfig as useSdkUiConfig4 } from "@agg-market/hooks";
|
|
746
|
-
import { jsx as
|
|
847
|
+
import { jsx as jsx14, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
747
848
|
var resolveActiveIndex = (options, value) => {
|
|
748
849
|
const activeIndex = options.findIndex((option) => option.value === value);
|
|
749
|
-
if (activeIndex >= 0)
|
|
750
|
-
return activeIndex;
|
|
850
|
+
if (activeIndex >= 0) return activeIndex;
|
|
751
851
|
return 0;
|
|
752
852
|
};
|
|
753
853
|
var resolveNextEnabledIndex = (options, currentIndex, direction) => {
|
|
754
|
-
if (options.length <= 1)
|
|
755
|
-
return currentIndex;
|
|
854
|
+
if (options.length <= 1) return currentIndex;
|
|
756
855
|
const step = direction === "next" ? 1 : -1;
|
|
757
856
|
for (let offset = 1; offset <= options.length; offset += 1) {
|
|
758
857
|
const candidateIndex = (currentIndex + step * offset + options.length) % options.length;
|
|
@@ -814,7 +913,7 @@ var SwitchButton = ({
|
|
|
814
913
|
}
|
|
815
914
|
onValueChange(nextOption.value);
|
|
816
915
|
};
|
|
817
|
-
return /* @__PURE__ */
|
|
916
|
+
return /* @__PURE__ */ jsx14(
|
|
818
917
|
"div",
|
|
819
918
|
{
|
|
820
919
|
className: cn(
|
|
@@ -824,7 +923,7 @@ var SwitchButton = ({
|
|
|
824
923
|
"cursor-pointer hover:bg-agg-tertiary",
|
|
825
924
|
className
|
|
826
925
|
),
|
|
827
|
-
children: /* @__PURE__ */
|
|
926
|
+
children: /* @__PURE__ */ jsxs11(
|
|
828
927
|
"div",
|
|
829
928
|
{
|
|
830
929
|
className: "relative grid min-w-0 flex-1 items-center",
|
|
@@ -834,7 +933,7 @@ var SwitchButton = ({
|
|
|
834
933
|
role: "tablist",
|
|
835
934
|
"aria-label": ariaLabel,
|
|
836
935
|
children: [
|
|
837
|
-
/* @__PURE__ */
|
|
936
|
+
/* @__PURE__ */ jsx14(
|
|
838
937
|
"span",
|
|
839
938
|
{
|
|
840
939
|
className: cn(
|
|
@@ -854,7 +953,7 @@ var SwitchButton = ({
|
|
|
854
953
|
options.map((option, optionIndex) => {
|
|
855
954
|
var _a;
|
|
856
955
|
const isActive = optionIndex === activeIndex;
|
|
857
|
-
return /* @__PURE__ */
|
|
956
|
+
return /* @__PURE__ */ jsx14(
|
|
858
957
|
"button",
|
|
859
958
|
{
|
|
860
959
|
type: "button",
|
|
@@ -877,8 +976,7 @@ var SwitchButton = ({
|
|
|
877
976
|
onClick: (e) => {
|
|
878
977
|
e.preventDefault();
|
|
879
978
|
e.stopPropagation();
|
|
880
|
-
if (option.disabled || isActive)
|
|
881
|
-
return;
|
|
979
|
+
if (option.disabled || isActive) return;
|
|
882
980
|
onValueChange(option.value);
|
|
883
981
|
},
|
|
884
982
|
onKeyDown: (event) => {
|
|
@@ -904,10 +1002,10 @@ var getIconA11yProps = (title) => ({
|
|
|
904
1002
|
});
|
|
905
1003
|
|
|
906
1004
|
// src/primitives/agg-logo/index.tsx
|
|
907
|
-
import { jsx as
|
|
1005
|
+
import { jsx as jsx15, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
908
1006
|
var AggLogo = (_a) => {
|
|
909
1007
|
var _b = _a, { className, title } = _b, props = __objRest(_b, ["className", "title"]);
|
|
910
|
-
return /* @__PURE__ */
|
|
1008
|
+
return /* @__PURE__ */ jsxs12(
|
|
911
1009
|
"svg",
|
|
912
1010
|
__spreadProps(__spreadValues(__spreadValues({
|
|
913
1011
|
width: "157",
|
|
@@ -918,100 +1016,100 @@ var AggLogo = (_a) => {
|
|
|
918
1016
|
className
|
|
919
1017
|
}, getIconA11yProps(title)), props), {
|
|
920
1018
|
children: [
|
|
921
|
-
title ? /* @__PURE__ */
|
|
922
|
-
/* @__PURE__ */
|
|
1019
|
+
title ? /* @__PURE__ */ jsx15("title", { children: title }) : null,
|
|
1020
|
+
/* @__PURE__ */ jsx15(
|
|
923
1021
|
"path",
|
|
924
1022
|
{
|
|
925
1023
|
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
1024
|
fill: "url(#paint0_linear_1009_15078)"
|
|
927
1025
|
}
|
|
928
1026
|
),
|
|
929
|
-
/* @__PURE__ */
|
|
1027
|
+
/* @__PURE__ */ jsx15(
|
|
930
1028
|
"path",
|
|
931
1029
|
{
|
|
932
1030
|
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
1031
|
fill: "url(#paint1_linear_1009_15078)"
|
|
934
1032
|
}
|
|
935
1033
|
),
|
|
936
|
-
/* @__PURE__ */
|
|
1034
|
+
/* @__PURE__ */ jsx15(
|
|
937
1035
|
"path",
|
|
938
1036
|
{
|
|
939
1037
|
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
1038
|
fill: "url(#paint2_linear_1009_15078)"
|
|
941
1039
|
}
|
|
942
1040
|
),
|
|
943
|
-
/* @__PURE__ */
|
|
1041
|
+
/* @__PURE__ */ jsx15(
|
|
944
1042
|
"path",
|
|
945
1043
|
{
|
|
946
1044
|
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
1045
|
fill: "currentColor"
|
|
948
1046
|
}
|
|
949
1047
|
),
|
|
950
|
-
/* @__PURE__ */
|
|
1048
|
+
/* @__PURE__ */ jsx15(
|
|
951
1049
|
"path",
|
|
952
1050
|
{
|
|
953
1051
|
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
1052
|
fill: "currentColor"
|
|
955
1053
|
}
|
|
956
1054
|
),
|
|
957
|
-
/* @__PURE__ */
|
|
1055
|
+
/* @__PURE__ */ jsx15(
|
|
958
1056
|
"path",
|
|
959
1057
|
{
|
|
960
1058
|
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
1059
|
fill: "currentColor"
|
|
962
1060
|
}
|
|
963
1061
|
),
|
|
964
|
-
/* @__PURE__ */
|
|
1062
|
+
/* @__PURE__ */ jsx15(
|
|
965
1063
|
"path",
|
|
966
1064
|
{
|
|
967
1065
|
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
1066
|
fill: "currentColor"
|
|
969
1067
|
}
|
|
970
1068
|
),
|
|
971
|
-
/* @__PURE__ */
|
|
1069
|
+
/* @__PURE__ */ jsx15(
|
|
972
1070
|
"path",
|
|
973
1071
|
{
|
|
974
1072
|
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
1073
|
fill: "currentColor"
|
|
976
1074
|
}
|
|
977
1075
|
),
|
|
978
|
-
/* @__PURE__ */
|
|
1076
|
+
/* @__PURE__ */ jsx15(
|
|
979
1077
|
"path",
|
|
980
1078
|
{
|
|
981
1079
|
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
1080
|
fill: "currentColor"
|
|
983
1081
|
}
|
|
984
1082
|
),
|
|
985
|
-
/* @__PURE__ */
|
|
1083
|
+
/* @__PURE__ */ jsx15(
|
|
986
1084
|
"path",
|
|
987
1085
|
{
|
|
988
1086
|
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
1087
|
fill: "currentColor"
|
|
990
1088
|
}
|
|
991
1089
|
),
|
|
992
|
-
/* @__PURE__ */
|
|
1090
|
+
/* @__PURE__ */ jsx15(
|
|
993
1091
|
"path",
|
|
994
1092
|
{
|
|
995
1093
|
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
1094
|
fill: "currentColor"
|
|
997
1095
|
}
|
|
998
1096
|
),
|
|
999
|
-
/* @__PURE__ */
|
|
1097
|
+
/* @__PURE__ */ jsx15(
|
|
1000
1098
|
"path",
|
|
1001
1099
|
{
|
|
1002
1100
|
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
1101
|
fill: "currentColor"
|
|
1004
1102
|
}
|
|
1005
1103
|
),
|
|
1006
|
-
/* @__PURE__ */
|
|
1104
|
+
/* @__PURE__ */ jsx15(
|
|
1007
1105
|
"path",
|
|
1008
1106
|
{
|
|
1009
1107
|
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
1108
|
fill: "currentColor"
|
|
1011
1109
|
}
|
|
1012
1110
|
),
|
|
1013
|
-
/* @__PURE__ */
|
|
1014
|
-
/* @__PURE__ */
|
|
1111
|
+
/* @__PURE__ */ jsxs12("defs", { children: [
|
|
1112
|
+
/* @__PURE__ */ jsxs12(
|
|
1015
1113
|
"linearGradient",
|
|
1016
1114
|
{
|
|
1017
1115
|
id: "paint0_linear_1009_15078",
|
|
@@ -1021,12 +1119,12 @@ var AggLogo = (_a) => {
|
|
|
1021
1119
|
y2: "24.0003",
|
|
1022
1120
|
gradientUnits: "userSpaceOnUse",
|
|
1023
1121
|
children: [
|
|
1024
|
-
/* @__PURE__ */
|
|
1025
|
-
/* @__PURE__ */
|
|
1122
|
+
/* @__PURE__ */ jsx15("stop", { stopColor: "#FDA349" }),
|
|
1123
|
+
/* @__PURE__ */ jsx15("stop", { offset: "1", stopColor: "#FEB549" })
|
|
1026
1124
|
]
|
|
1027
1125
|
}
|
|
1028
1126
|
),
|
|
1029
|
-
/* @__PURE__ */
|
|
1127
|
+
/* @__PURE__ */ jsxs12(
|
|
1030
1128
|
"linearGradient",
|
|
1031
1129
|
{
|
|
1032
1130
|
id: "paint1_linear_1009_15078",
|
|
@@ -1036,12 +1134,12 @@ var AggLogo = (_a) => {
|
|
|
1036
1134
|
y2: "18.6059",
|
|
1037
1135
|
gradientUnits: "userSpaceOnUse",
|
|
1038
1136
|
children: [
|
|
1039
|
-
/* @__PURE__ */
|
|
1040
|
-
/* @__PURE__ */
|
|
1137
|
+
/* @__PURE__ */ jsx15("stop", { stopColor: "#FE763C" }),
|
|
1138
|
+
/* @__PURE__ */ jsx15("stop", { offset: "1", stopColor: "#FE9943" })
|
|
1041
1139
|
]
|
|
1042
1140
|
}
|
|
1043
1141
|
),
|
|
1044
|
-
/* @__PURE__ */
|
|
1142
|
+
/* @__PURE__ */ jsxs12(
|
|
1045
1143
|
"linearGradient",
|
|
1046
1144
|
{
|
|
1047
1145
|
id: "paint2_linear_1009_15078",
|
|
@@ -1051,8 +1149,8 @@ var AggLogo = (_a) => {
|
|
|
1051
1149
|
y2: "18.6059",
|
|
1052
1150
|
gradientUnits: "userSpaceOnUse",
|
|
1053
1151
|
children: [
|
|
1054
|
-
/* @__PURE__ */
|
|
1055
|
-
/* @__PURE__ */
|
|
1152
|
+
/* @__PURE__ */ jsx15("stop", { stopColor: "#FE763C" }),
|
|
1153
|
+
/* @__PURE__ */ jsx15("stop", { offset: "1", stopColor: "#FE9943" })
|
|
1056
1154
|
]
|
|
1057
1155
|
}
|
|
1058
1156
|
)
|
|
@@ -1103,14 +1201,14 @@ var typographyVariantClasses = {
|
|
|
1103
1201
|
};
|
|
1104
1202
|
|
|
1105
1203
|
// src/primitives/typography/index.tsx
|
|
1106
|
-
import { jsx as
|
|
1204
|
+
import { jsx as jsx16 } from "react/jsx-runtime";
|
|
1107
1205
|
var Typography = ({
|
|
1108
1206
|
as: Component = "p",
|
|
1109
1207
|
variant = "body",
|
|
1110
1208
|
className,
|
|
1111
1209
|
children
|
|
1112
1210
|
}) => {
|
|
1113
|
-
return /* @__PURE__ */
|
|
1211
|
+
return /* @__PURE__ */ jsx16(
|
|
1114
1212
|
Component,
|
|
1115
1213
|
{
|
|
1116
1214
|
className: cn(
|
|
@@ -1126,19 +1224,19 @@ var Typography = ({
|
|
|
1126
1224
|
Typography.displayName = "Typography";
|
|
1127
1225
|
|
|
1128
1226
|
// src/primitives/hello-world.tsx
|
|
1129
|
-
import { jsx as
|
|
1227
|
+
import { jsx as jsx17, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
1130
1228
|
function HelloWorld() {
|
|
1131
1229
|
const { data, error, isLoading } = useHello();
|
|
1132
1230
|
if (isLoading) {
|
|
1133
|
-
return /* @__PURE__ */
|
|
1231
|
+
return /* @__PURE__ */ jsx17(Typography, { variant: "body", children: "Loading..." });
|
|
1134
1232
|
}
|
|
1135
1233
|
if (error) {
|
|
1136
|
-
return /* @__PURE__ */
|
|
1234
|
+
return /* @__PURE__ */ jsxs13(Typography, { variant: "body", children: [
|
|
1137
1235
|
"Error: ",
|
|
1138
1236
|
error.message
|
|
1139
1237
|
] });
|
|
1140
1238
|
}
|
|
1141
|
-
return /* @__PURE__ */
|
|
1239
|
+
return /* @__PURE__ */ jsx17(Typography, { variant: "body", children: data == null ? void 0 : data.message });
|
|
1142
1240
|
}
|
|
1143
1241
|
HelloWorld.displayName = "HelloWorld";
|
|
1144
1242
|
|
|
@@ -1147,7 +1245,7 @@ import dayjs from "dayjs";
|
|
|
1147
1245
|
import { useLabels as useLabels7, useSdkUiConfig as useSdkUiConfig5 } from "@agg-market/hooks";
|
|
1148
1246
|
import { useEffect as useEffect2, useMemo as useMemo2, useState as useState2 } from "react";
|
|
1149
1247
|
import { Liveline } from "liveline";
|
|
1150
|
-
import { jsx as
|
|
1248
|
+
import { jsx as jsx18, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
1151
1249
|
var normalizeSeries = (series) => {
|
|
1152
1250
|
return series.map((seriesItem) => {
|
|
1153
1251
|
const pointsByTime = /* @__PURE__ */ new Map();
|
|
@@ -1177,8 +1275,7 @@ var defaultValueFormatter = (value) => {
|
|
|
1177
1275
|
};
|
|
1178
1276
|
var resolveTimeFormatter = (windowSeconds) => {
|
|
1179
1277
|
return (timestamp) => {
|
|
1180
|
-
if (!Number.isFinite(timestamp))
|
|
1181
|
-
return "";
|
|
1278
|
+
if (!Number.isFinite(timestamp)) return "";
|
|
1182
1279
|
if (windowSeconds <= 48 * 60 * 60) {
|
|
1183
1280
|
return dayjs.unix(timestamp).format("HH:mm");
|
|
1184
1281
|
}
|
|
@@ -1236,19 +1333,16 @@ var resolveWindowSeconds = (normalizedSeries) => {
|
|
|
1236
1333
|
const timestamps = normalizedSeries.flatMap(
|
|
1237
1334
|
(seriesItem) => seriesItem.points.map((point) => point.time)
|
|
1238
1335
|
);
|
|
1239
|
-
if (timestamps.length <= 1)
|
|
1240
|
-
return 30;
|
|
1336
|
+
if (timestamps.length <= 1) return 30;
|
|
1241
1337
|
const minTimestamp = Math.min(...timestamps);
|
|
1242
1338
|
const maxTimestamp = Math.max(...timestamps);
|
|
1243
1339
|
const span = maxTimestamp - minTimestamp;
|
|
1244
|
-
if (!Number.isFinite(span) || span <= 0)
|
|
1245
|
-
return 30;
|
|
1340
|
+
if (!Number.isFinite(span) || span <= 0) return 30;
|
|
1246
1341
|
return Math.max(1, Math.floor(span));
|
|
1247
1342
|
};
|
|
1248
1343
|
var resolveLatestValue = (points) => {
|
|
1249
1344
|
const latestPoint = points[points.length - 1];
|
|
1250
|
-
if (!latestPoint)
|
|
1251
|
-
return 0;
|
|
1345
|
+
if (!latestPoint) return 0;
|
|
1252
1346
|
return latestPoint.value;
|
|
1253
1347
|
};
|
|
1254
1348
|
var resolveActiveSeriesId = (series, activeSeriesId) => {
|
|
@@ -1272,7 +1366,7 @@ var renderDefaultSeriesControls = ({
|
|
|
1272
1366
|
seriesSwitchAriaLabel,
|
|
1273
1367
|
formatSeriesOptionAriaLabel
|
|
1274
1368
|
}) => {
|
|
1275
|
-
return /* @__PURE__ */
|
|
1369
|
+
return /* @__PURE__ */ jsx18(
|
|
1276
1370
|
SwitchButton,
|
|
1277
1371
|
{
|
|
1278
1372
|
ariaLabel: seriesSwitchAriaLabel,
|
|
@@ -1395,9 +1489,9 @@ var LineChart = ({
|
|
|
1395
1489
|
seriesSwitchAriaLabel: labels.common.lineChartSeriesSwitchAria,
|
|
1396
1490
|
formatSeriesOptionAriaLabel: labels.common.lineChartSeriesOptionAria
|
|
1397
1491
|
}) : null : null;
|
|
1398
|
-
return /* @__PURE__ */
|
|
1399
|
-
!isLoading && seriesControls ? /* @__PURE__ */
|
|
1400
|
-
/* @__PURE__ */
|
|
1492
|
+
return /* @__PURE__ */ jsxs14("div", { className: cn("group/agg-chart", "w-full", classNames == null ? void 0 : classNames.root), style: { width }, children: [
|
|
1493
|
+
!isLoading && seriesControls ? /* @__PURE__ */ jsx18("div", { className: cn("mb-3", classNames == null ? void 0 : classNames.controls), children: seriesControls }) : null,
|
|
1494
|
+
/* @__PURE__ */ jsx18(
|
|
1401
1495
|
"div",
|
|
1402
1496
|
{
|
|
1403
1497
|
className: cn(
|
|
@@ -1407,7 +1501,7 @@ var LineChart = ({
|
|
|
1407
1501
|
style: { height },
|
|
1408
1502
|
role: "img",
|
|
1409
1503
|
"aria-label": chartType === "candlestick" ? labels.common.candlestickChartAria : labels.common.lineChartAria,
|
|
1410
|
-
children: /* @__PURE__ */
|
|
1504
|
+
children: /* @__PURE__ */ jsx18(
|
|
1411
1505
|
Liveline,
|
|
1412
1506
|
{
|
|
1413
1507
|
className: cn("h-full w-full agg-livechart", classNames == null ? void 0 : classNames.liveline),
|
|
@@ -1447,7 +1541,7 @@ LineChart.displayName = "LineChart";
|
|
|
1447
1541
|
|
|
1448
1542
|
// src/primitives/loading-icon/index.tsx
|
|
1449
1543
|
import { useLabels as useLabels8, useSdkUiConfig as useSdkUiConfig6 } from "@agg-market/hooks";
|
|
1450
|
-
import { Fragment as Fragment3, jsx as
|
|
1544
|
+
import { Fragment as Fragment3, jsx as jsx19, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
1451
1545
|
var LoadingIcon = ({
|
|
1452
1546
|
size = "medium",
|
|
1453
1547
|
className,
|
|
@@ -1457,7 +1551,7 @@ var LoadingIcon = ({
|
|
|
1457
1551
|
const {
|
|
1458
1552
|
features: { enableAnimations }
|
|
1459
1553
|
} = useSdkUiConfig6();
|
|
1460
|
-
return /* @__PURE__ */
|
|
1554
|
+
return /* @__PURE__ */ jsx19(
|
|
1461
1555
|
"span",
|
|
1462
1556
|
{
|
|
1463
1557
|
role: "status",
|
|
@@ -1467,8 +1561,8 @@ var LoadingIcon = ({
|
|
|
1467
1561
|
"inline-grid place-items-center text-agg-primary will-change-transform",
|
|
1468
1562
|
className
|
|
1469
1563
|
),
|
|
1470
|
-
children: /* @__PURE__ */
|
|
1471
|
-
enableAnimations ? /* @__PURE__ */
|
|
1564
|
+
children: /* @__PURE__ */ jsx19("span", { className: "inline-grid place-items-center", "aria-hidden": "true", children: /* @__PURE__ */ jsx19("svg", { viewBox: "0 0 44 44", className: cn("block", iconSizeClasses[size]), children: /* @__PURE__ */ jsxs15("g", { children: [
|
|
1565
|
+
enableAnimations ? /* @__PURE__ */ jsx19(
|
|
1472
1566
|
"animateTransform",
|
|
1473
1567
|
{
|
|
1474
1568
|
attributeName: "transform",
|
|
@@ -1480,7 +1574,7 @@ var LoadingIcon = ({
|
|
|
1480
1574
|
repeatCount: "indefinite"
|
|
1481
1575
|
}
|
|
1482
1576
|
) : null,
|
|
1483
|
-
/* @__PURE__ */
|
|
1577
|
+
/* @__PURE__ */ jsx19(
|
|
1484
1578
|
"circle",
|
|
1485
1579
|
{
|
|
1486
1580
|
cx: "22",
|
|
@@ -1492,8 +1586,8 @@ var LoadingIcon = ({
|
|
|
1492
1586
|
strokeLinecap: "round",
|
|
1493
1587
|
strokeDasharray: "60 100",
|
|
1494
1588
|
strokeDashoffset: "0",
|
|
1495
|
-
children: enableAnimations ? /* @__PURE__ */
|
|
1496
|
-
/* @__PURE__ */
|
|
1589
|
+
children: enableAnimations ? /* @__PURE__ */ jsxs15(Fragment3, { children: [
|
|
1590
|
+
/* @__PURE__ */ jsx19(
|
|
1497
1591
|
"animate",
|
|
1498
1592
|
{
|
|
1499
1593
|
attributeName: "stroke-dasharray",
|
|
@@ -1502,7 +1596,7 @@ var LoadingIcon = ({
|
|
|
1502
1596
|
repeatCount: "indefinite"
|
|
1503
1597
|
}
|
|
1504
1598
|
),
|
|
1505
|
-
/* @__PURE__ */
|
|
1599
|
+
/* @__PURE__ */ jsx19(
|
|
1506
1600
|
"animate",
|
|
1507
1601
|
{
|
|
1508
1602
|
attributeName: "stroke-dashoffset",
|
|
@@ -1521,10 +1615,10 @@ var LoadingIcon = ({
|
|
|
1521
1615
|
LoadingIcon.displayName = "LoadingIcon";
|
|
1522
1616
|
|
|
1523
1617
|
// src/primitives/icon/svg/apple.tsx
|
|
1524
|
-
import { jsx as
|
|
1618
|
+
import { jsx as jsx20, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
1525
1619
|
var AppleIcon = (_a) => {
|
|
1526
1620
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1527
|
-
return /* @__PURE__ */
|
|
1621
|
+
return /* @__PURE__ */ jsxs16(
|
|
1528
1622
|
"svg",
|
|
1529
1623
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1530
1624
|
viewBox: "0 0 24 24",
|
|
@@ -1532,8 +1626,8 @@ var AppleIcon = (_a) => {
|
|
|
1532
1626
|
fill: "none"
|
|
1533
1627
|
}, getIconA11yProps(title)), props), {
|
|
1534
1628
|
children: [
|
|
1535
|
-
title ? /* @__PURE__ */
|
|
1536
|
-
/* @__PURE__ */
|
|
1629
|
+
title ? /* @__PURE__ */ jsx20("title", { children: title }) : null,
|
|
1630
|
+
/* @__PURE__ */ jsx20(
|
|
1537
1631
|
"path",
|
|
1538
1632
|
{
|
|
1539
1633
|
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",
|
|
@@ -1547,10 +1641,10 @@ var AppleIcon = (_a) => {
|
|
|
1547
1641
|
AppleIcon.displayName = "AppleIcon";
|
|
1548
1642
|
|
|
1549
1643
|
// src/primitives/icon/svg/arrow-trend-up.tsx
|
|
1550
|
-
import { jsx as
|
|
1644
|
+
import { jsx as jsx21, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
1551
1645
|
var ArrowTrendUpIcon = (_a) => {
|
|
1552
1646
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1553
|
-
return /* @__PURE__ */
|
|
1647
|
+
return /* @__PURE__ */ jsxs17(
|
|
1554
1648
|
"svg",
|
|
1555
1649
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1556
1650
|
viewBox: "0 0 16 16",
|
|
@@ -1558,8 +1652,8 @@ var ArrowTrendUpIcon = (_a) => {
|
|
|
1558
1652
|
fill: "none"
|
|
1559
1653
|
}, getIconA11yProps(title)), props), {
|
|
1560
1654
|
children: [
|
|
1561
|
-
title ? /* @__PURE__ */
|
|
1562
|
-
/* @__PURE__ */
|
|
1655
|
+
title ? /* @__PURE__ */ jsx21("title", { children: title }) : null,
|
|
1656
|
+
/* @__PURE__ */ jsx21(
|
|
1563
1657
|
"path",
|
|
1564
1658
|
{
|
|
1565
1659
|
d: "M2 11.5L6.5 7L9.5 10L14 5.5",
|
|
@@ -1569,7 +1663,7 @@ var ArrowTrendUpIcon = (_a) => {
|
|
|
1569
1663
|
strokeLinejoin: "round"
|
|
1570
1664
|
}
|
|
1571
1665
|
),
|
|
1572
|
-
/* @__PURE__ */
|
|
1666
|
+
/* @__PURE__ */ jsx21(
|
|
1573
1667
|
"path",
|
|
1574
1668
|
{
|
|
1575
1669
|
d: "M10.5 5.5H14V9",
|
|
@@ -1586,10 +1680,10 @@ var ArrowTrendUpIcon = (_a) => {
|
|
|
1586
1680
|
ArrowTrendUpIcon.displayName = "ArrowTrendUpIcon";
|
|
1587
1681
|
|
|
1588
1682
|
// src/primitives/icon/svg/arrows-to-dot.tsx
|
|
1589
|
-
import { jsx as
|
|
1683
|
+
import { jsx as jsx22, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
1590
1684
|
var ArrowsToDotIcon = (_a) => {
|
|
1591
1685
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1592
|
-
return /* @__PURE__ */
|
|
1686
|
+
return /* @__PURE__ */ jsxs18(
|
|
1593
1687
|
"svg",
|
|
1594
1688
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1595
1689
|
viewBox: "0 0 16 16",
|
|
@@ -1597,8 +1691,8 @@ var ArrowsToDotIcon = (_a) => {
|
|
|
1597
1691
|
fill: "none"
|
|
1598
1692
|
}, getIconA11yProps(title)), props), {
|
|
1599
1693
|
children: [
|
|
1600
|
-
title ? /* @__PURE__ */
|
|
1601
|
-
/* @__PURE__ */
|
|
1694
|
+
title ? /* @__PURE__ */ jsx22("title", { children: title }) : null,
|
|
1695
|
+
/* @__PURE__ */ jsx22(
|
|
1602
1696
|
"path",
|
|
1603
1697
|
{
|
|
1604
1698
|
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",
|
|
@@ -1612,10 +1706,10 @@ var ArrowsToDotIcon = (_a) => {
|
|
|
1612
1706
|
ArrowsToDotIcon.displayName = "ArrowsToDotIcon";
|
|
1613
1707
|
|
|
1614
1708
|
// src/primitives/icon/svg/bank.tsx
|
|
1615
|
-
import { jsx as
|
|
1709
|
+
import { jsx as jsx23, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
1616
1710
|
var BankIcon = (_a) => {
|
|
1617
1711
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1618
|
-
return /* @__PURE__ */
|
|
1712
|
+
return /* @__PURE__ */ jsxs19(
|
|
1619
1713
|
"svg",
|
|
1620
1714
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1621
1715
|
viewBox: "0 0 24 24",
|
|
@@ -1623,8 +1717,8 @@ var BankIcon = (_a) => {
|
|
|
1623
1717
|
fill: "none"
|
|
1624
1718
|
}, getIconA11yProps(title)), props), {
|
|
1625
1719
|
children: [
|
|
1626
|
-
title ? /* @__PURE__ */
|
|
1627
|
-
/* @__PURE__ */
|
|
1720
|
+
title ? /* @__PURE__ */ jsx23("title", { children: title }) : null,
|
|
1721
|
+
/* @__PURE__ */ jsx23(
|
|
1628
1722
|
"path",
|
|
1629
1723
|
{
|
|
1630
1724
|
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",
|
|
@@ -1638,10 +1732,10 @@ var BankIcon = (_a) => {
|
|
|
1638
1732
|
BankIcon.displayName = "BankIcon";
|
|
1639
1733
|
|
|
1640
1734
|
// src/primitives/icon/svg/best-prices.tsx
|
|
1641
|
-
import { jsx as
|
|
1735
|
+
import { jsx as jsx24, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
1642
1736
|
var BestPricesIcon = (_a) => {
|
|
1643
1737
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1644
|
-
return /* @__PURE__ */
|
|
1738
|
+
return /* @__PURE__ */ jsxs20(
|
|
1645
1739
|
"svg",
|
|
1646
1740
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1647
1741
|
width: "28",
|
|
@@ -1652,26 +1746,76 @@ var BestPricesIcon = (_a) => {
|
|
|
1652
1746
|
className
|
|
1653
1747
|
}, getIconA11yProps(title)), props), {
|
|
1654
1748
|
children: [
|
|
1655
|
-
title ? /* @__PURE__ */
|
|
1656
|
-
/* @__PURE__ */
|
|
1749
|
+
title ? /* @__PURE__ */ jsx24("title", { children: title }) : null,
|
|
1750
|
+
/* @__PURE__ */ jsx24("g", { clipPath: "url(#clip0_best_prices)", children: /* @__PURE__ */ jsx24(
|
|
1657
1751
|
"path",
|
|
1658
1752
|
{
|
|
1659
1753
|
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",
|
|
1660
1754
|
fill: "currentColor"
|
|
1661
1755
|
}
|
|
1662
1756
|
) }),
|
|
1663
|
-
/* @__PURE__ */
|
|
1757
|
+
/* @__PURE__ */ jsx24("defs", { children: /* @__PURE__ */ jsx24("clipPath", { id: "clip0_best_prices", children: /* @__PURE__ */ jsx24("rect", { width: "28", height: "28", fill: "white" }) }) })
|
|
1664
1758
|
]
|
|
1665
1759
|
})
|
|
1666
1760
|
);
|
|
1667
1761
|
};
|
|
1668
1762
|
BestPricesIcon.displayName = "BestPricesIcon";
|
|
1669
1763
|
|
|
1764
|
+
// src/primitives/icon/svg/bnb.tsx
|
|
1765
|
+
import { jsx as jsx25, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
1766
|
+
var BnbIcon = (_a) => {
|
|
1767
|
+
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1768
|
+
return /* @__PURE__ */ jsxs21(
|
|
1769
|
+
"svg",
|
|
1770
|
+
__spreadProps(__spreadValues(__spreadValues({
|
|
1771
|
+
viewBox: "0 0 24 24",
|
|
1772
|
+
className,
|
|
1773
|
+
fill: "none"
|
|
1774
|
+
}, getIconA11yProps(title)), props), {
|
|
1775
|
+
children: [
|
|
1776
|
+
title ? /* @__PURE__ */ jsx25("title", { children: title }) : null,
|
|
1777
|
+
/* @__PURE__ */ jsx25("rect", { width: "24", height: "24", rx: "8", fill: "#F3BA2F" }),
|
|
1778
|
+
/* @__PURE__ */ jsx25(
|
|
1779
|
+
"path",
|
|
1780
|
+
{
|
|
1781
|
+
d: "M9.295 12.001 9.306 15.97l3.37 1.982v2.322l-5.343-3.135v-6.301l1.962 1.16Zm0-3.968v2.312l-1.963-1.16V6.873L9.295 5.712l1.972 1.16-1.972 1.16Zm4.786-1.16 1.963-1.16 1.972 1.16-1.963 1.16-1.972-1.16Z",
|
|
1782
|
+
fill: "white"
|
|
1783
|
+
}
|
|
1784
|
+
),
|
|
1785
|
+
/* @__PURE__ */ jsx25(
|
|
1786
|
+
"path",
|
|
1787
|
+
{
|
|
1788
|
+
d: "M10.714 15.146v-2.322l1.962 1.16v2.312l-1.962-1.15Zm3.367 3.636 1.963 1.16 1.972-1.16v2.311l-1.972 1.161-1.963-1.16v-2.312Zm6.75-11.909 1.963-1.16 1.972 1.16v2.312l-1.972 1.16V8.033L20.83 6.873Zm1.963 8.999.01-3.97 1.963-1.16v6.301l-5.343 3.136v-2.322l3.37-1.985Z",
|
|
1789
|
+
fill: "white",
|
|
1790
|
+
transform: "translate(-6.667)"
|
|
1791
|
+
}
|
|
1792
|
+
),
|
|
1793
|
+
/* @__PURE__ */ jsx25(
|
|
1794
|
+
"path",
|
|
1795
|
+
{
|
|
1796
|
+
d: "m20.831 15.143-1.963 1.15v-2.312l1.963-1.16v2.322Z",
|
|
1797
|
+
fill: "white",
|
|
1798
|
+
transform: "translate(-6.667)"
|
|
1799
|
+
}
|
|
1800
|
+
),
|
|
1801
|
+
/* @__PURE__ */ jsx25(
|
|
1802
|
+
"path",
|
|
1803
|
+
{
|
|
1804
|
+
d: "m20.83 8.851.011 2.322-3.38 1.982v3.98l-1.963 1.15-1.963-1.15v-3.98l-3.38-1.982V8.851l1.972-1.16 3.36 1.992 3.38-1.992 1.973 1.16ZM10.714 4.9l5.334-3.144L21.39 4.9l-1.963 1.16-3.38-1.992-3.37 1.991L10.714 4.9Z",
|
|
1805
|
+
fill: "white"
|
|
1806
|
+
}
|
|
1807
|
+
)
|
|
1808
|
+
]
|
|
1809
|
+
})
|
|
1810
|
+
);
|
|
1811
|
+
};
|
|
1812
|
+
BnbIcon.displayName = "BnbIcon";
|
|
1813
|
+
|
|
1670
1814
|
// src/primitives/icon/svg/bolt.tsx
|
|
1671
|
-
import { jsx as
|
|
1815
|
+
import { jsx as jsx26, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
1672
1816
|
var BoltIcon = (_a) => {
|
|
1673
1817
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1674
|
-
return /* @__PURE__ */
|
|
1818
|
+
return /* @__PURE__ */ jsxs22(
|
|
1675
1819
|
"svg",
|
|
1676
1820
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1677
1821
|
viewBox: "0 0 24 24",
|
|
@@ -1679,15 +1823,15 @@ var BoltIcon = (_a) => {
|
|
|
1679
1823
|
fill: "none"
|
|
1680
1824
|
}, getIconA11yProps(title)), props), {
|
|
1681
1825
|
children: [
|
|
1682
|
-
title ? /* @__PURE__ */
|
|
1683
|
-
/* @__PURE__ */
|
|
1826
|
+
title ? /* @__PURE__ */ jsx26("title", { children: title }) : null,
|
|
1827
|
+
/* @__PURE__ */ jsx26("g", { clipPath: "url(#bolt-clip)", children: /* @__PURE__ */ jsx26(
|
|
1684
1828
|
"path",
|
|
1685
1829
|
{
|
|
1686
1830
|
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",
|
|
1687
1831
|
fill: "currentColor"
|
|
1688
1832
|
}
|
|
1689
1833
|
) }),
|
|
1690
|
-
/* @__PURE__ */
|
|
1834
|
+
/* @__PURE__ */ jsx26("defs", { children: /* @__PURE__ */ jsx26("clipPath", { id: "bolt-clip", children: /* @__PURE__ */ jsx26("rect", { width: "24", height: "24", fill: "white" }) }) })
|
|
1691
1835
|
]
|
|
1692
1836
|
})
|
|
1693
1837
|
);
|
|
@@ -1695,10 +1839,10 @@ var BoltIcon = (_a) => {
|
|
|
1695
1839
|
BoltIcon.displayName = "BoltIcon";
|
|
1696
1840
|
|
|
1697
1841
|
// src/primitives/icon/svg/check-circle.tsx
|
|
1698
|
-
import { jsx as
|
|
1842
|
+
import { jsx as jsx27, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
1699
1843
|
var CheckCircleIcon = (_a) => {
|
|
1700
1844
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1701
|
-
return /* @__PURE__ */
|
|
1845
|
+
return /* @__PURE__ */ jsxs23(
|
|
1702
1846
|
"svg",
|
|
1703
1847
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1704
1848
|
width: "24",
|
|
@@ -1709,15 +1853,15 @@ var CheckCircleIcon = (_a) => {
|
|
|
1709
1853
|
className
|
|
1710
1854
|
}, getIconA11yProps(title)), props), {
|
|
1711
1855
|
children: [
|
|
1712
|
-
title ? /* @__PURE__ */
|
|
1713
|
-
/* @__PURE__ */
|
|
1856
|
+
title ? /* @__PURE__ */ jsx27("title", { children: title }) : null,
|
|
1857
|
+
/* @__PURE__ */ jsx27("g", { clipPath: "url(#clip0_check_circle)", children: /* @__PURE__ */ jsx27(
|
|
1714
1858
|
"path",
|
|
1715
1859
|
{
|
|
1716
1860
|
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",
|
|
1717
1861
|
fill: "currentColor"
|
|
1718
1862
|
}
|
|
1719
1863
|
) }),
|
|
1720
|
-
/* @__PURE__ */
|
|
1864
|
+
/* @__PURE__ */ jsx27("defs", { children: /* @__PURE__ */ jsx27("clipPath", { id: "clip0_check_circle", children: /* @__PURE__ */ jsx27("rect", { width: "24", height: "24", fill: "white" }) }) })
|
|
1721
1865
|
]
|
|
1722
1866
|
})
|
|
1723
1867
|
);
|
|
@@ -1725,10 +1869,10 @@ var CheckCircleIcon = (_a) => {
|
|
|
1725
1869
|
CheckCircleIcon.displayName = "CheckCircleIcon";
|
|
1726
1870
|
|
|
1727
1871
|
// src/primitives/icon/svg/chart-candlestick.tsx
|
|
1728
|
-
import { jsx as
|
|
1872
|
+
import { jsx as jsx28, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
1729
1873
|
var ChartCandlestickIcon = (_a) => {
|
|
1730
1874
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1731
|
-
return /* @__PURE__ */
|
|
1875
|
+
return /* @__PURE__ */ jsxs24(
|
|
1732
1876
|
"svg",
|
|
1733
1877
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1734
1878
|
viewBox: "0 0 20 20",
|
|
@@ -1737,21 +1881,21 @@ var ChartCandlestickIcon = (_a) => {
|
|
|
1737
1881
|
className
|
|
1738
1882
|
}, getIconA11yProps(title)), props), {
|
|
1739
1883
|
children: [
|
|
1740
|
-
/* @__PURE__ */
|
|
1884
|
+
/* @__PURE__ */ jsx28(
|
|
1741
1885
|
"path",
|
|
1742
1886
|
{
|
|
1743
1887
|
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",
|
|
1744
1888
|
fill: "currentColor"
|
|
1745
1889
|
}
|
|
1746
1890
|
),
|
|
1747
|
-
/* @__PURE__ */
|
|
1891
|
+
/* @__PURE__ */ jsx28(
|
|
1748
1892
|
"path",
|
|
1749
1893
|
{
|
|
1750
1894
|
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",
|
|
1751
1895
|
fill: "currentColor"
|
|
1752
1896
|
}
|
|
1753
1897
|
),
|
|
1754
|
-
/* @__PURE__ */
|
|
1898
|
+
/* @__PURE__ */ jsx28(
|
|
1755
1899
|
"path",
|
|
1756
1900
|
{
|
|
1757
1901
|
fillRule: "evenodd",
|
|
@@ -1760,7 +1904,7 @@ var ChartCandlestickIcon = (_a) => {
|
|
|
1760
1904
|
fill: "currentColor"
|
|
1761
1905
|
}
|
|
1762
1906
|
),
|
|
1763
|
-
/* @__PURE__ */
|
|
1907
|
+
/* @__PURE__ */ jsx28(
|
|
1764
1908
|
"path",
|
|
1765
1909
|
{
|
|
1766
1910
|
fillRule: "evenodd",
|
|
@@ -1776,10 +1920,10 @@ var ChartCandlestickIcon = (_a) => {
|
|
|
1776
1920
|
ChartCandlestickIcon.displayName = "ChartCandlestickIcon";
|
|
1777
1921
|
|
|
1778
1922
|
// src/primitives/icon/svg/chart-line.tsx
|
|
1779
|
-
import { jsx as
|
|
1923
|
+
import { jsx as jsx29, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
1780
1924
|
var ChartLineIcon = (_a) => {
|
|
1781
1925
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1782
|
-
return /* @__PURE__ */
|
|
1926
|
+
return /* @__PURE__ */ jsxs25(
|
|
1783
1927
|
"svg",
|
|
1784
1928
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1785
1929
|
viewBox: "0 0 20 20",
|
|
@@ -1788,29 +1932,29 @@ var ChartLineIcon = (_a) => {
|
|
|
1788
1932
|
className
|
|
1789
1933
|
}, getIconA11yProps(title)), props), {
|
|
1790
1934
|
children: [
|
|
1791
|
-
title ? /* @__PURE__ */
|
|
1792
|
-
/* @__PURE__ */
|
|
1935
|
+
title ? /* @__PURE__ */ jsx29("title", { children: title }) : null,
|
|
1936
|
+
/* @__PURE__ */ jsx29(
|
|
1793
1937
|
"path",
|
|
1794
1938
|
{
|
|
1795
1939
|
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",
|
|
1796
1940
|
fill: "currentColor"
|
|
1797
1941
|
}
|
|
1798
1942
|
),
|
|
1799
|
-
/* @__PURE__ */
|
|
1943
|
+
/* @__PURE__ */ jsx29(
|
|
1800
1944
|
"path",
|
|
1801
1945
|
{
|
|
1802
1946
|
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",
|
|
1803
1947
|
fill: "currentColor"
|
|
1804
1948
|
}
|
|
1805
1949
|
),
|
|
1806
|
-
/* @__PURE__ */
|
|
1950
|
+
/* @__PURE__ */ jsx29(
|
|
1807
1951
|
"path",
|
|
1808
1952
|
{
|
|
1809
1953
|
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",
|
|
1810
1954
|
fill: "currentColor"
|
|
1811
1955
|
}
|
|
1812
1956
|
),
|
|
1813
|
-
/* @__PURE__ */
|
|
1957
|
+
/* @__PURE__ */ jsx29(
|
|
1814
1958
|
"path",
|
|
1815
1959
|
{
|
|
1816
1960
|
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",
|
|
@@ -1824,10 +1968,10 @@ var ChartLineIcon = (_a) => {
|
|
|
1824
1968
|
ChartLineIcon.displayName = "ChartLineIcon";
|
|
1825
1969
|
|
|
1826
1970
|
// src/primitives/icon/svg/chevron-down.tsx
|
|
1827
|
-
import { jsx as
|
|
1971
|
+
import { jsx as jsx30, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
1828
1972
|
var ChevronDownIcon = (_a) => {
|
|
1829
1973
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1830
|
-
return /* @__PURE__ */
|
|
1974
|
+
return /* @__PURE__ */ jsxs26(
|
|
1831
1975
|
"svg",
|
|
1832
1976
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1833
1977
|
viewBox: "0 0 14 14",
|
|
@@ -1835,8 +1979,8 @@ var ChevronDownIcon = (_a) => {
|
|
|
1835
1979
|
fill: "none"
|
|
1836
1980
|
}, getIconA11yProps(title)), props), {
|
|
1837
1981
|
children: [
|
|
1838
|
-
title ? /* @__PURE__ */
|
|
1839
|
-
/* @__PURE__ */
|
|
1982
|
+
title ? /* @__PURE__ */ jsx30("title", { children: title }) : null,
|
|
1983
|
+
/* @__PURE__ */ jsx30(
|
|
1840
1984
|
"path",
|
|
1841
1985
|
{
|
|
1842
1986
|
d: "M3.25 5.25L7 9L10.75 5.25",
|
|
@@ -1853,10 +1997,10 @@ var ChevronDownIcon = (_a) => {
|
|
|
1853
1997
|
ChevronDownIcon.displayName = "ChevronDownIcon";
|
|
1854
1998
|
|
|
1855
1999
|
// src/primitives/icon/svg/chevron-left.tsx
|
|
1856
|
-
import { jsx as
|
|
2000
|
+
import { jsx as jsx31, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
1857
2001
|
var ChevronLeftIcon = (_a) => {
|
|
1858
2002
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1859
|
-
return /* @__PURE__ */
|
|
2003
|
+
return /* @__PURE__ */ jsxs27(
|
|
1860
2004
|
"svg",
|
|
1861
2005
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1862
2006
|
viewBox: "0 0 24 24",
|
|
@@ -1864,8 +2008,8 @@ var ChevronLeftIcon = (_a) => {
|
|
|
1864
2008
|
fill: "none"
|
|
1865
2009
|
}, getIconA11yProps(title)), props), {
|
|
1866
2010
|
children: [
|
|
1867
|
-
title ? /* @__PURE__ */
|
|
1868
|
-
/* @__PURE__ */
|
|
2011
|
+
title ? /* @__PURE__ */ jsx31("title", { children: title }) : null,
|
|
2012
|
+
/* @__PURE__ */ jsx31(
|
|
1869
2013
|
"path",
|
|
1870
2014
|
{
|
|
1871
2015
|
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",
|
|
@@ -1879,10 +2023,10 @@ var ChevronLeftIcon = (_a) => {
|
|
|
1879
2023
|
ChevronLeftIcon.displayName = "ChevronLeftIcon";
|
|
1880
2024
|
|
|
1881
2025
|
// src/primitives/icon/svg/chevron-right.tsx
|
|
1882
|
-
import { jsx as
|
|
2026
|
+
import { jsx as jsx32, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
1883
2027
|
var ChevronRightIcon = (_a) => {
|
|
1884
2028
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1885
|
-
return /* @__PURE__ */
|
|
2029
|
+
return /* @__PURE__ */ jsxs28(
|
|
1886
2030
|
"svg",
|
|
1887
2031
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1888
2032
|
viewBox: "0 0 16 16",
|
|
@@ -1890,8 +2034,8 @@ var ChevronRightIcon = (_a) => {
|
|
|
1890
2034
|
fill: "none"
|
|
1891
2035
|
}, getIconA11yProps(title)), props), {
|
|
1892
2036
|
children: [
|
|
1893
|
-
title ? /* @__PURE__ */
|
|
1894
|
-
/* @__PURE__ */
|
|
2037
|
+
title ? /* @__PURE__ */ jsx32("title", { children: title }) : null,
|
|
2038
|
+
/* @__PURE__ */ jsx32(
|
|
1895
2039
|
"path",
|
|
1896
2040
|
{
|
|
1897
2041
|
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",
|
|
@@ -1905,10 +2049,10 @@ var ChevronRightIcon = (_a) => {
|
|
|
1905
2049
|
ChevronRightIcon.displayName = "ChevronRightIcon";
|
|
1906
2050
|
|
|
1907
2051
|
// src/primitives/icon/svg/chevron-up.tsx
|
|
1908
|
-
import { jsx as
|
|
2052
|
+
import { jsx as jsx33, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
1909
2053
|
var ChevronUpIcon = (_a) => {
|
|
1910
2054
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1911
|
-
return /* @__PURE__ */
|
|
2055
|
+
return /* @__PURE__ */ jsxs29(
|
|
1912
2056
|
"svg",
|
|
1913
2057
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1914
2058
|
viewBox: "0 0 14 14",
|
|
@@ -1916,8 +2060,8 @@ var ChevronUpIcon = (_a) => {
|
|
|
1916
2060
|
fill: "none"
|
|
1917
2061
|
}, getIconA11yProps(title)), props), {
|
|
1918
2062
|
children: [
|
|
1919
|
-
title ? /* @__PURE__ */
|
|
1920
|
-
/* @__PURE__ */
|
|
2063
|
+
title ? /* @__PURE__ */ jsx33("title", { children: title }) : null,
|
|
2064
|
+
/* @__PURE__ */ jsx33(
|
|
1921
2065
|
"path",
|
|
1922
2066
|
{
|
|
1923
2067
|
d: "M3.25 8.75L7 5L10.75 8.75",
|
|
@@ -1934,10 +2078,10 @@ var ChevronUpIcon = (_a) => {
|
|
|
1934
2078
|
ChevronUpIcon.displayName = "ChevronUpIcon";
|
|
1935
2079
|
|
|
1936
2080
|
// src/primitives/icon/svg/close.tsx
|
|
1937
|
-
import { jsx as
|
|
2081
|
+
import { jsx as jsx34, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
1938
2082
|
var CloseIcon = (_a) => {
|
|
1939
2083
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1940
|
-
return /* @__PURE__ */
|
|
2084
|
+
return /* @__PURE__ */ jsxs30(
|
|
1941
2085
|
"svg",
|
|
1942
2086
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1943
2087
|
width: "16",
|
|
@@ -1948,8 +2092,8 @@ var CloseIcon = (_a) => {
|
|
|
1948
2092
|
className
|
|
1949
2093
|
}, getIconA11yProps(title)), props), {
|
|
1950
2094
|
children: [
|
|
1951
|
-
title ? /* @__PURE__ */
|
|
1952
|
-
/* @__PURE__ */
|
|
2095
|
+
title ? /* @__PURE__ */ jsx34("title", { children: title }) : null,
|
|
2096
|
+
/* @__PURE__ */ jsx34(
|
|
1953
2097
|
"path",
|
|
1954
2098
|
{
|
|
1955
2099
|
d: "M12 4L4 12M4 4l8 8",
|
|
@@ -1966,10 +2110,10 @@ var CloseIcon = (_a) => {
|
|
|
1966
2110
|
CloseIcon.displayName = "CloseIcon";
|
|
1967
2111
|
|
|
1968
2112
|
// src/primitives/icon/svg/copy.tsx
|
|
1969
|
-
import { jsx as
|
|
2113
|
+
import { jsx as jsx35, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
1970
2114
|
var CopyIcon = (_a) => {
|
|
1971
2115
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1972
|
-
return /* @__PURE__ */
|
|
2116
|
+
return /* @__PURE__ */ jsxs31(
|
|
1973
2117
|
"svg",
|
|
1974
2118
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1975
2119
|
viewBox: "0 0 16 16",
|
|
@@ -1977,15 +2121,15 @@ var CopyIcon = (_a) => {
|
|
|
1977
2121
|
fill: "none"
|
|
1978
2122
|
}, getIconA11yProps(title)), props), {
|
|
1979
2123
|
children: [
|
|
1980
|
-
title ? /* @__PURE__ */
|
|
1981
|
-
/* @__PURE__ */
|
|
2124
|
+
title ? /* @__PURE__ */ jsx35("title", { children: title }) : null,
|
|
2125
|
+
/* @__PURE__ */ jsx35("g", { clipPath: "url(#clip0_copy)", children: /* @__PURE__ */ jsx35(
|
|
1982
2126
|
"path",
|
|
1983
2127
|
{
|
|
1984
2128
|
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",
|
|
1985
2129
|
fill: "currentColor"
|
|
1986
2130
|
}
|
|
1987
2131
|
) }),
|
|
1988
|
-
/* @__PURE__ */
|
|
2132
|
+
/* @__PURE__ */ jsx35("defs", { children: /* @__PURE__ */ jsx35("clipPath", { id: "clip0_copy", children: /* @__PURE__ */ jsx35("rect", { width: "16", height: "16", fill: "white" }) }) })
|
|
1989
2133
|
]
|
|
1990
2134
|
})
|
|
1991
2135
|
);
|
|
@@ -1993,10 +2137,10 @@ var CopyIcon = (_a) => {
|
|
|
1993
2137
|
CopyIcon.displayName = "CopyIcon";
|
|
1994
2138
|
|
|
1995
2139
|
// src/primitives/icon/svg/create-account.tsx
|
|
1996
|
-
import { jsx as
|
|
2140
|
+
import { jsx as jsx36, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
1997
2141
|
var CreateAccountIcon = (_a) => {
|
|
1998
2142
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1999
|
-
return /* @__PURE__ */
|
|
2143
|
+
return /* @__PURE__ */ jsxs32(
|
|
2000
2144
|
"svg",
|
|
2001
2145
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2002
2146
|
width: "28",
|
|
@@ -2007,15 +2151,15 @@ var CreateAccountIcon = (_a) => {
|
|
|
2007
2151
|
className
|
|
2008
2152
|
}, getIconA11yProps(title)), props), {
|
|
2009
2153
|
children: [
|
|
2010
|
-
title ? /* @__PURE__ */
|
|
2011
|
-
/* @__PURE__ */
|
|
2154
|
+
title ? /* @__PURE__ */ jsx36("title", { children: title }) : null,
|
|
2155
|
+
/* @__PURE__ */ jsx36("g", { clipPath: "url(#clip0_create_account)", children: /* @__PURE__ */ jsx36(
|
|
2012
2156
|
"path",
|
|
2013
2157
|
{
|
|
2014
2158
|
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",
|
|
2015
2159
|
fill: "currentColor"
|
|
2016
2160
|
}
|
|
2017
2161
|
) }),
|
|
2018
|
-
/* @__PURE__ */
|
|
2162
|
+
/* @__PURE__ */ jsx36("defs", { children: /* @__PURE__ */ jsx36("clipPath", { id: "clip0_create_account", children: /* @__PURE__ */ jsx36("rect", { width: "28", height: "28", fill: "white" }) }) })
|
|
2019
2163
|
]
|
|
2020
2164
|
})
|
|
2021
2165
|
);
|
|
@@ -2023,10 +2167,10 @@ var CreateAccountIcon = (_a) => {
|
|
|
2023
2167
|
CreateAccountIcon.displayName = "CreateAccountIcon";
|
|
2024
2168
|
|
|
2025
2169
|
// src/primitives/icon/svg/credit-card.tsx
|
|
2026
|
-
import { jsx as
|
|
2170
|
+
import { jsx as jsx37, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
2027
2171
|
var CreditCardIcon = (_a) => {
|
|
2028
2172
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2029
|
-
return /* @__PURE__ */
|
|
2173
|
+
return /* @__PURE__ */ jsxs33(
|
|
2030
2174
|
"svg",
|
|
2031
2175
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2032
2176
|
viewBox: "0 0 24 24",
|
|
@@ -2034,8 +2178,8 @@ var CreditCardIcon = (_a) => {
|
|
|
2034
2178
|
fill: "none"
|
|
2035
2179
|
}, getIconA11yProps(title)), props), {
|
|
2036
2180
|
children: [
|
|
2037
|
-
title ? /* @__PURE__ */
|
|
2038
|
-
/* @__PURE__ */
|
|
2181
|
+
title ? /* @__PURE__ */ jsx37("title", { children: title }) : null,
|
|
2182
|
+
/* @__PURE__ */ jsx37(
|
|
2039
2183
|
"path",
|
|
2040
2184
|
{
|
|
2041
2185
|
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",
|
|
@@ -2049,10 +2193,10 @@ var CreditCardIcon = (_a) => {
|
|
|
2049
2193
|
CreditCardIcon.displayName = "CreditCardIcon";
|
|
2050
2194
|
|
|
2051
2195
|
// src/primitives/icon/svg/disconnect.tsx
|
|
2052
|
-
import { jsx as
|
|
2196
|
+
import { jsx as jsx38, jsxs as jsxs34 } from "react/jsx-runtime";
|
|
2053
2197
|
var DisconnectIcon = (_a) => {
|
|
2054
2198
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2055
|
-
return /* @__PURE__ */
|
|
2199
|
+
return /* @__PURE__ */ jsxs34(
|
|
2056
2200
|
"svg",
|
|
2057
2201
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2058
2202
|
viewBox: "0 0 16 16",
|
|
@@ -2060,8 +2204,8 @@ var DisconnectIcon = (_a) => {
|
|
|
2060
2204
|
fill: "none"
|
|
2061
2205
|
}, getIconA11yProps(title)), props), {
|
|
2062
2206
|
children: [
|
|
2063
|
-
title ? /* @__PURE__ */
|
|
2064
|
-
/* @__PURE__ */
|
|
2207
|
+
title ? /* @__PURE__ */ jsx38("title", { children: title }) : null,
|
|
2208
|
+
/* @__PURE__ */ jsx38(
|
|
2065
2209
|
"path",
|
|
2066
2210
|
{
|
|
2067
2211
|
d: "M6.5 3H4a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h2.5",
|
|
@@ -2070,7 +2214,7 @@ var DisconnectIcon = (_a) => {
|
|
|
2070
2214
|
strokeLinecap: "round"
|
|
2071
2215
|
}
|
|
2072
2216
|
),
|
|
2073
|
-
/* @__PURE__ */
|
|
2217
|
+
/* @__PURE__ */ jsx38(
|
|
2074
2218
|
"path",
|
|
2075
2219
|
{
|
|
2076
2220
|
d: "M9.5 5.5 12 8m0 0-2.5 2.5M12 8H6",
|
|
@@ -2087,10 +2231,10 @@ var DisconnectIcon = (_a) => {
|
|
|
2087
2231
|
DisconnectIcon.displayName = "DisconnectIcon";
|
|
2088
2232
|
|
|
2089
2233
|
// src/primitives/icon/svg/dots-horizontal.tsx
|
|
2090
|
-
import { jsx as
|
|
2234
|
+
import { jsx as jsx39, jsxs as jsxs35 } from "react/jsx-runtime";
|
|
2091
2235
|
var DotsHorizontalIcon = (_a) => {
|
|
2092
2236
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2093
|
-
return /* @__PURE__ */
|
|
2237
|
+
return /* @__PURE__ */ jsxs35(
|
|
2094
2238
|
"svg",
|
|
2095
2239
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2096
2240
|
viewBox: "0 0 16 16",
|
|
@@ -2098,10 +2242,10 @@ var DotsHorizontalIcon = (_a) => {
|
|
|
2098
2242
|
fill: "none"
|
|
2099
2243
|
}, getIconA11yProps(title)), props), {
|
|
2100
2244
|
children: [
|
|
2101
|
-
title ? /* @__PURE__ */
|
|
2102
|
-
/* @__PURE__ */
|
|
2103
|
-
/* @__PURE__ */
|
|
2104
|
-
/* @__PURE__ */
|
|
2245
|
+
title ? /* @__PURE__ */ jsx39("title", { children: title }) : null,
|
|
2246
|
+
/* @__PURE__ */ jsx39("circle", { cx: "3.5", cy: "8", r: "1.25", fill: "currentColor" }),
|
|
2247
|
+
/* @__PURE__ */ jsx39("circle", { cx: "8", cy: "8", r: "1.25", fill: "currentColor" }),
|
|
2248
|
+
/* @__PURE__ */ jsx39("circle", { cx: "12.5", cy: "8", r: "1.25", fill: "currentColor" })
|
|
2105
2249
|
]
|
|
2106
2250
|
})
|
|
2107
2251
|
);
|
|
@@ -2109,10 +2253,10 @@ var DotsHorizontalIcon = (_a) => {
|
|
|
2109
2253
|
DotsHorizontalIcon.displayName = "DotsHorizontalIcon";
|
|
2110
2254
|
|
|
2111
2255
|
// src/primitives/icon/svg/document.tsx
|
|
2112
|
-
import { jsx as
|
|
2256
|
+
import { jsx as jsx40, jsxs as jsxs36 } from "react/jsx-runtime";
|
|
2113
2257
|
var DocumentIcon = (_a) => {
|
|
2114
2258
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2115
|
-
return /* @__PURE__ */
|
|
2259
|
+
return /* @__PURE__ */ jsxs36(
|
|
2116
2260
|
"svg",
|
|
2117
2261
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2118
2262
|
viewBox: "0 0 16 16",
|
|
@@ -2120,15 +2264,15 @@ var DocumentIcon = (_a) => {
|
|
|
2120
2264
|
fill: "none"
|
|
2121
2265
|
}, getIconA11yProps(title)), props), {
|
|
2122
2266
|
children: [
|
|
2123
|
-
title ? /* @__PURE__ */
|
|
2124
|
-
/* @__PURE__ */
|
|
2267
|
+
title ? /* @__PURE__ */ jsx40("title", { children: title }) : null,
|
|
2268
|
+
/* @__PURE__ */ jsx40("g", { clipPath: "url(#document-clip)", children: /* @__PURE__ */ jsx40(
|
|
2125
2269
|
"path",
|
|
2126
2270
|
{
|
|
2127
2271
|
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",
|
|
2128
2272
|
fill: "currentColor"
|
|
2129
2273
|
}
|
|
2130
2274
|
) }),
|
|
2131
|
-
/* @__PURE__ */
|
|
2275
|
+
/* @__PURE__ */ jsx40("defs", { children: /* @__PURE__ */ jsx40("clipPath", { id: "document-clip", children: /* @__PURE__ */ jsx40("rect", { width: "16", height: "16", fill: "white" }) }) })
|
|
2132
2276
|
]
|
|
2133
2277
|
})
|
|
2134
2278
|
);
|
|
@@ -2136,10 +2280,10 @@ var DocumentIcon = (_a) => {
|
|
|
2136
2280
|
DocumentIcon.displayName = "DocumentIcon";
|
|
2137
2281
|
|
|
2138
2282
|
// src/primitives/icon/svg/download.tsx
|
|
2139
|
-
import { jsx as
|
|
2283
|
+
import { jsx as jsx41, jsxs as jsxs37 } from "react/jsx-runtime";
|
|
2140
2284
|
var DownloadIcon = (_a) => {
|
|
2141
2285
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2142
|
-
return /* @__PURE__ */
|
|
2286
|
+
return /* @__PURE__ */ jsxs37(
|
|
2143
2287
|
"svg",
|
|
2144
2288
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2145
2289
|
viewBox: "0 0 16 16",
|
|
@@ -2147,8 +2291,8 @@ var DownloadIcon = (_a) => {
|
|
|
2147
2291
|
fill: "none"
|
|
2148
2292
|
}, getIconA11yProps(title)), props), {
|
|
2149
2293
|
children: [
|
|
2150
|
-
title ? /* @__PURE__ */
|
|
2151
|
-
/* @__PURE__ */
|
|
2294
|
+
title ? /* @__PURE__ */ jsx41("title", { children: title }) : null,
|
|
2295
|
+
/* @__PURE__ */ jsx41(
|
|
2152
2296
|
"path",
|
|
2153
2297
|
{
|
|
2154
2298
|
d: "M8 2.5v7m0 0 2.5-2.5M8 9.5 5.5 7",
|
|
@@ -2158,7 +2302,7 @@ var DownloadIcon = (_a) => {
|
|
|
2158
2302
|
strokeLinejoin: "round"
|
|
2159
2303
|
}
|
|
2160
2304
|
),
|
|
2161
|
-
/* @__PURE__ */
|
|
2305
|
+
/* @__PURE__ */ jsx41("path", { d: "M2.5 12.5h11", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" })
|
|
2162
2306
|
]
|
|
2163
2307
|
})
|
|
2164
2308
|
);
|
|
@@ -2166,10 +2310,10 @@ var DownloadIcon = (_a) => {
|
|
|
2166
2310
|
DownloadIcon.displayName = "DownloadIcon";
|
|
2167
2311
|
|
|
2168
2312
|
// src/primitives/icon/svg/error-filled.tsx
|
|
2169
|
-
import { jsx as
|
|
2313
|
+
import { jsx as jsx42, jsxs as jsxs38 } from "react/jsx-runtime";
|
|
2170
2314
|
var ErrorFilledIcon = (_a) => {
|
|
2171
2315
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2172
|
-
return /* @__PURE__ */
|
|
2316
|
+
return /* @__PURE__ */ jsxs38(
|
|
2173
2317
|
"svg",
|
|
2174
2318
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2175
2319
|
viewBox: "0 0 16 16",
|
|
@@ -2177,10 +2321,10 @@ var ErrorFilledIcon = (_a) => {
|
|
|
2177
2321
|
fill: "none"
|
|
2178
2322
|
}, getIconA11yProps(title)), props), {
|
|
2179
2323
|
children: [
|
|
2180
|
-
title ? /* @__PURE__ */
|
|
2181
|
-
/* @__PURE__ */
|
|
2182
|
-
/* @__PURE__ */
|
|
2183
|
-
/* @__PURE__ */
|
|
2324
|
+
title ? /* @__PURE__ */ jsx42("title", { children: title }) : null,
|
|
2325
|
+
/* @__PURE__ */ jsx42("circle", { cx: "8", cy: "8", r: "8", fill: "currentColor" }),
|
|
2326
|
+
/* @__PURE__ */ jsx42("path", { d: "M8 4.16699V8.50033", stroke: "white", strokeWidth: "1.4", strokeLinecap: "round" }),
|
|
2327
|
+
/* @__PURE__ */ jsx42("circle", { cx: "8", cy: "11.167", r: "0.833333", fill: "white" })
|
|
2184
2328
|
]
|
|
2185
2329
|
})
|
|
2186
2330
|
);
|
|
@@ -2188,10 +2332,10 @@ var ErrorFilledIcon = (_a) => {
|
|
|
2188
2332
|
ErrorFilledIcon.displayName = "ErrorFilledIcon";
|
|
2189
2333
|
|
|
2190
2334
|
// src/primitives/icon/svg/external-link.tsx
|
|
2191
|
-
import { jsx as
|
|
2335
|
+
import { jsx as jsx43, jsxs as jsxs39 } from "react/jsx-runtime";
|
|
2192
2336
|
var ExternalLinkIcon = (_a) => {
|
|
2193
2337
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2194
|
-
return /* @__PURE__ */
|
|
2338
|
+
return /* @__PURE__ */ jsxs39(
|
|
2195
2339
|
"svg",
|
|
2196
2340
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2197
2341
|
viewBox: "0 0 14 14",
|
|
@@ -2199,15 +2343,15 @@ var ExternalLinkIcon = (_a) => {
|
|
|
2199
2343
|
fill: "none"
|
|
2200
2344
|
}, getIconA11yProps(title)), props), {
|
|
2201
2345
|
children: [
|
|
2202
|
-
title ? /* @__PURE__ */
|
|
2203
|
-
/* @__PURE__ */
|
|
2346
|
+
title ? /* @__PURE__ */ jsx43("title", { children: title }) : null,
|
|
2347
|
+
/* @__PURE__ */ jsx43("g", { clipPath: "url(#clip0_422_235)", children: /* @__PURE__ */ jsx43(
|
|
2204
2348
|
"path",
|
|
2205
2349
|
{
|
|
2206
2350
|
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",
|
|
2207
2351
|
fill: "currentColor"
|
|
2208
2352
|
}
|
|
2209
2353
|
) }),
|
|
2210
|
-
/* @__PURE__ */
|
|
2354
|
+
/* @__PURE__ */ jsx43("defs", { children: /* @__PURE__ */ jsx43("clipPath", { id: "clip0_422_235", children: /* @__PURE__ */ jsx43("rect", { width: "14", height: "14", fill: "white" }) }) })
|
|
2211
2355
|
]
|
|
2212
2356
|
})
|
|
2213
2357
|
);
|
|
@@ -2215,10 +2359,10 @@ var ExternalLinkIcon = (_a) => {
|
|
|
2215
2359
|
ExternalLinkIcon.displayName = "ExternalLinkIcon";
|
|
2216
2360
|
|
|
2217
2361
|
// src/primitives/icon/svg/ethereum.tsx
|
|
2218
|
-
import { jsx as
|
|
2362
|
+
import { jsx as jsx44, jsxs as jsxs40 } from "react/jsx-runtime";
|
|
2219
2363
|
var EthereumIcon = (_a) => {
|
|
2220
2364
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2221
|
-
return /* @__PURE__ */
|
|
2365
|
+
return /* @__PURE__ */ jsxs40(
|
|
2222
2366
|
"svg",
|
|
2223
2367
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2224
2368
|
viewBox: "0 0 24 24",
|
|
@@ -2226,16 +2370,16 @@ var EthereumIcon = (_a) => {
|
|
|
2226
2370
|
fill: "none"
|
|
2227
2371
|
}, getIconA11yProps(title)), props), {
|
|
2228
2372
|
children: [
|
|
2229
|
-
title ? /* @__PURE__ */
|
|
2230
|
-
/* @__PURE__ */
|
|
2231
|
-
/* @__PURE__ */
|
|
2373
|
+
title ? /* @__PURE__ */ jsx44("title", { children: title }) : null,
|
|
2374
|
+
/* @__PURE__ */ jsx44("rect", { width: "24", height: "24", rx: "8", fill: "#627EEA" }),
|
|
2375
|
+
/* @__PURE__ */ jsx44(
|
|
2232
2376
|
"path",
|
|
2233
2377
|
{
|
|
2234
2378
|
fill: "#fff",
|
|
2235
2379
|
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"
|
|
2236
2380
|
}
|
|
2237
2381
|
),
|
|
2238
|
-
/* @__PURE__ */
|
|
2382
|
+
/* @__PURE__ */ jsx44(
|
|
2239
2383
|
"path",
|
|
2240
2384
|
{
|
|
2241
2385
|
fill: "#DDE4FF",
|
|
@@ -2249,10 +2393,10 @@ var EthereumIcon = (_a) => {
|
|
|
2249
2393
|
EthereumIcon.displayName = "EthereumIcon";
|
|
2250
2394
|
|
|
2251
2395
|
// src/primitives/icon/svg/google.tsx
|
|
2252
|
-
import { jsx as
|
|
2396
|
+
import { jsx as jsx45, jsxs as jsxs41 } from "react/jsx-runtime";
|
|
2253
2397
|
var GoogleIcon = (_a) => {
|
|
2254
2398
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2255
|
-
return /* @__PURE__ */
|
|
2399
|
+
return /* @__PURE__ */ jsxs41(
|
|
2256
2400
|
"svg",
|
|
2257
2401
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2258
2402
|
viewBox: "0 0 24 24",
|
|
@@ -2260,29 +2404,29 @@ var GoogleIcon = (_a) => {
|
|
|
2260
2404
|
fill: "none"
|
|
2261
2405
|
}, getIconA11yProps(title)), props), {
|
|
2262
2406
|
children: [
|
|
2263
|
-
title ? /* @__PURE__ */
|
|
2264
|
-
/* @__PURE__ */
|
|
2407
|
+
title ? /* @__PURE__ */ jsx45("title", { children: title }) : null,
|
|
2408
|
+
/* @__PURE__ */ jsx45(
|
|
2265
2409
|
"path",
|
|
2266
2410
|
{
|
|
2267
2411
|
fill: "#4285F4",
|
|
2268
2412
|
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"
|
|
2269
2413
|
}
|
|
2270
2414
|
),
|
|
2271
|
-
/* @__PURE__ */
|
|
2415
|
+
/* @__PURE__ */ jsx45(
|
|
2272
2416
|
"path",
|
|
2273
2417
|
{
|
|
2274
2418
|
fill: "#34A853",
|
|
2275
2419
|
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"
|
|
2276
2420
|
}
|
|
2277
2421
|
),
|
|
2278
|
-
/* @__PURE__ */
|
|
2422
|
+
/* @__PURE__ */ jsx45(
|
|
2279
2423
|
"path",
|
|
2280
2424
|
{
|
|
2281
2425
|
fill: "#FBBC05",
|
|
2282
2426
|
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"
|
|
2283
2427
|
}
|
|
2284
2428
|
),
|
|
2285
|
-
/* @__PURE__ */
|
|
2429
|
+
/* @__PURE__ */ jsx45(
|
|
2286
2430
|
"path",
|
|
2287
2431
|
{
|
|
2288
2432
|
fill: "#EA4335",
|
|
@@ -2296,10 +2440,10 @@ var GoogleIcon = (_a) => {
|
|
|
2296
2440
|
GoogleIcon.displayName = "GoogleIcon";
|
|
2297
2441
|
|
|
2298
2442
|
// src/primitives/icon/svg/image.tsx
|
|
2299
|
-
import { jsx as
|
|
2443
|
+
import { jsx as jsx46, jsxs as jsxs42 } from "react/jsx-runtime";
|
|
2300
2444
|
var ImageIcon = (_a) => {
|
|
2301
2445
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2302
|
-
return /* @__PURE__ */
|
|
2446
|
+
return /* @__PURE__ */ jsxs42(
|
|
2303
2447
|
"svg",
|
|
2304
2448
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2305
2449
|
viewBox: "0 0 32 32",
|
|
@@ -2307,8 +2451,8 @@ var ImageIcon = (_a) => {
|
|
|
2307
2451
|
fill: "none"
|
|
2308
2452
|
}, getIconA11yProps(title)), props), {
|
|
2309
2453
|
children: [
|
|
2310
|
-
title ? /* @__PURE__ */
|
|
2311
|
-
/* @__PURE__ */
|
|
2454
|
+
title ? /* @__PURE__ */ jsx46("title", { children: title }) : null,
|
|
2455
|
+
/* @__PURE__ */ jsx46(
|
|
2312
2456
|
"path",
|
|
2313
2457
|
{
|
|
2314
2458
|
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",
|
|
@@ -2322,10 +2466,10 @@ var ImageIcon = (_a) => {
|
|
|
2322
2466
|
ImageIcon.displayName = "ImageIcon";
|
|
2323
2467
|
|
|
2324
2468
|
// src/primitives/icon/svg/info.tsx
|
|
2325
|
-
import { jsx as
|
|
2469
|
+
import { jsx as jsx47, jsxs as jsxs43 } from "react/jsx-runtime";
|
|
2326
2470
|
var InfoIcon = (_a) => {
|
|
2327
2471
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2328
|
-
return /* @__PURE__ */
|
|
2472
|
+
return /* @__PURE__ */ jsxs43(
|
|
2329
2473
|
"svg",
|
|
2330
2474
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2331
2475
|
viewBox: "0 0 12 12",
|
|
@@ -2333,23 +2477,23 @@ var InfoIcon = (_a) => {
|
|
|
2333
2477
|
fill: "none"
|
|
2334
2478
|
}, getIconA11yProps(title)), props), {
|
|
2335
2479
|
children: [
|
|
2336
|
-
title ? /* @__PURE__ */
|
|
2337
|
-
/* @__PURE__ */
|
|
2338
|
-
/* @__PURE__ */
|
|
2480
|
+
title ? /* @__PURE__ */ jsx47("title", { children: title }) : null,
|
|
2481
|
+
/* @__PURE__ */ jsxs43("g", { clipPath: "url(#info_clip)", children: [
|
|
2482
|
+
/* @__PURE__ */ jsx47(
|
|
2339
2483
|
"path",
|
|
2340
2484
|
{
|
|
2341
2485
|
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",
|
|
2342
2486
|
fill: "currentColor"
|
|
2343
2487
|
}
|
|
2344
2488
|
),
|
|
2345
|
-
/* @__PURE__ */
|
|
2489
|
+
/* @__PURE__ */ jsx47(
|
|
2346
2490
|
"path",
|
|
2347
2491
|
{
|
|
2348
2492
|
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",
|
|
2349
2493
|
fill: "currentColor"
|
|
2350
2494
|
}
|
|
2351
2495
|
),
|
|
2352
|
-
/* @__PURE__ */
|
|
2496
|
+
/* @__PURE__ */ jsx47(
|
|
2353
2497
|
"path",
|
|
2354
2498
|
{
|
|
2355
2499
|
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",
|
|
@@ -2357,7 +2501,7 @@ var InfoIcon = (_a) => {
|
|
|
2357
2501
|
}
|
|
2358
2502
|
)
|
|
2359
2503
|
] }),
|
|
2360
|
-
/* @__PURE__ */
|
|
2504
|
+
/* @__PURE__ */ jsx47("defs", { children: /* @__PURE__ */ jsx47("clipPath", { id: "info_clip", children: /* @__PURE__ */ jsx47("rect", { width: "12", height: "12", fill: "white" }) }) })
|
|
2361
2505
|
]
|
|
2362
2506
|
})
|
|
2363
2507
|
);
|
|
@@ -2365,10 +2509,10 @@ var InfoIcon = (_a) => {
|
|
|
2365
2509
|
InfoIcon.displayName = "InfoIcon";
|
|
2366
2510
|
|
|
2367
2511
|
// src/primitives/icon/svg/check-badge.tsx
|
|
2368
|
-
import { jsx as
|
|
2512
|
+
import { jsx as jsx48, jsxs as jsxs44 } from "react/jsx-runtime";
|
|
2369
2513
|
var CheckBadgeIcon = (_a) => {
|
|
2370
2514
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2371
|
-
return /* @__PURE__ */
|
|
2515
|
+
return /* @__PURE__ */ jsxs44(
|
|
2372
2516
|
"svg",
|
|
2373
2517
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2374
2518
|
viewBox: "0 0 16 16",
|
|
@@ -2376,15 +2520,15 @@ var CheckBadgeIcon = (_a) => {
|
|
|
2376
2520
|
fill: "none"
|
|
2377
2521
|
}, getIconA11yProps(title)), props), {
|
|
2378
2522
|
children: [
|
|
2379
|
-
title ? /* @__PURE__ */
|
|
2380
|
-
/* @__PURE__ */
|
|
2523
|
+
title ? /* @__PURE__ */ jsx48("title", { children: title }) : null,
|
|
2524
|
+
/* @__PURE__ */ jsx48("g", { clipPath: "url(#check-badge-clip)", children: /* @__PURE__ */ jsx48(
|
|
2381
2525
|
"path",
|
|
2382
2526
|
{
|
|
2383
2527
|
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",
|
|
2384
2528
|
fill: "currentColor"
|
|
2385
2529
|
}
|
|
2386
2530
|
) }),
|
|
2387
|
-
/* @__PURE__ */
|
|
2531
|
+
/* @__PURE__ */ jsx48("defs", { children: /* @__PURE__ */ jsx48("clipPath", { id: "check-badge-clip", children: /* @__PURE__ */ jsx48("rect", { width: "16", height: "16", fill: "white" }) }) })
|
|
2388
2532
|
]
|
|
2389
2533
|
})
|
|
2390
2534
|
);
|
|
@@ -2392,10 +2536,10 @@ var CheckBadgeIcon = (_a) => {
|
|
|
2392
2536
|
CheckBadgeIcon.displayName = "CheckBadgeIcon";
|
|
2393
2537
|
|
|
2394
2538
|
// src/primitives/icon/svg/discord.tsx
|
|
2395
|
-
import { jsx as
|
|
2539
|
+
import { jsx as jsx49, jsxs as jsxs45 } from "react/jsx-runtime";
|
|
2396
2540
|
var DiscordIcon = (_a) => {
|
|
2397
2541
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2398
|
-
return /* @__PURE__ */
|
|
2542
|
+
return /* @__PURE__ */ jsxs45(
|
|
2399
2543
|
"svg",
|
|
2400
2544
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2401
2545
|
viewBox: "0 0 20 20",
|
|
@@ -2403,8 +2547,8 @@ var DiscordIcon = (_a) => {
|
|
|
2403
2547
|
fill: "none"
|
|
2404
2548
|
}, getIconA11yProps(title)), props), {
|
|
2405
2549
|
children: [
|
|
2406
|
-
title ? /* @__PURE__ */
|
|
2407
|
-
/* @__PURE__ */
|
|
2550
|
+
title ? /* @__PURE__ */ jsx49("title", { children: title }) : null,
|
|
2551
|
+
/* @__PURE__ */ jsx49(
|
|
2408
2552
|
"path",
|
|
2409
2553
|
{
|
|
2410
2554
|
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",
|
|
@@ -2418,10 +2562,10 @@ var DiscordIcon = (_a) => {
|
|
|
2418
2562
|
DiscordIcon.displayName = "DiscordIcon";
|
|
2419
2563
|
|
|
2420
2564
|
// src/primitives/icon/svg/email.tsx
|
|
2421
|
-
import { jsx as
|
|
2565
|
+
import { jsx as jsx50, jsxs as jsxs46 } from "react/jsx-runtime";
|
|
2422
2566
|
var EmailIcon = (_a) => {
|
|
2423
2567
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2424
|
-
return /* @__PURE__ */
|
|
2568
|
+
return /* @__PURE__ */ jsxs46(
|
|
2425
2569
|
"svg",
|
|
2426
2570
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2427
2571
|
viewBox: "0 0 20 20",
|
|
@@ -2429,8 +2573,8 @@ var EmailIcon = (_a) => {
|
|
|
2429
2573
|
fill: "none"
|
|
2430
2574
|
}, getIconA11yProps(title)), props), {
|
|
2431
2575
|
children: [
|
|
2432
|
-
title ? /* @__PURE__ */
|
|
2433
|
-
/* @__PURE__ */
|
|
2576
|
+
title ? /* @__PURE__ */ jsx50("title", { children: title }) : null,
|
|
2577
|
+
/* @__PURE__ */ jsx50(
|
|
2434
2578
|
"path",
|
|
2435
2579
|
{
|
|
2436
2580
|
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",
|
|
@@ -2440,7 +2584,7 @@ var EmailIcon = (_a) => {
|
|
|
2440
2584
|
strokeLinejoin: "round"
|
|
2441
2585
|
}
|
|
2442
2586
|
),
|
|
2443
|
-
/* @__PURE__ */
|
|
2587
|
+
/* @__PURE__ */ jsx50(
|
|
2444
2588
|
"path",
|
|
2445
2589
|
{
|
|
2446
2590
|
d: "M18.3333 5L10 10.8333L1.66667 5",
|
|
@@ -2457,10 +2601,10 @@ var EmailIcon = (_a) => {
|
|
|
2457
2601
|
EmailIcon.displayName = "EmailIcon";
|
|
2458
2602
|
|
|
2459
2603
|
// src/primitives/icon/svg/link-accounts.tsx
|
|
2460
|
-
import { jsx as
|
|
2604
|
+
import { jsx as jsx51, jsxs as jsxs47 } from "react/jsx-runtime";
|
|
2461
2605
|
var LinkAccountsIcon = (_a) => {
|
|
2462
2606
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2463
|
-
return /* @__PURE__ */
|
|
2607
|
+
return /* @__PURE__ */ jsxs47(
|
|
2464
2608
|
"svg",
|
|
2465
2609
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2466
2610
|
width: "28",
|
|
@@ -2471,15 +2615,15 @@ var LinkAccountsIcon = (_a) => {
|
|
|
2471
2615
|
className
|
|
2472
2616
|
}, getIconA11yProps(title)), props), {
|
|
2473
2617
|
children: [
|
|
2474
|
-
title ? /* @__PURE__ */
|
|
2475
|
-
/* @__PURE__ */
|
|
2618
|
+
title ? /* @__PURE__ */ jsx51("title", { children: title }) : null,
|
|
2619
|
+
/* @__PURE__ */ jsx51("g", { clipPath: "url(#clip0_link_accounts)", children: /* @__PURE__ */ jsx51(
|
|
2476
2620
|
"path",
|
|
2477
2621
|
{
|
|
2478
2622
|
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",
|
|
2479
2623
|
fill: "currentColor"
|
|
2480
2624
|
}
|
|
2481
2625
|
) }),
|
|
2482
|
-
/* @__PURE__ */
|
|
2626
|
+
/* @__PURE__ */ jsx51("defs", { children: /* @__PURE__ */ jsx51("clipPath", { id: "clip0_link_accounts", children: /* @__PURE__ */ jsx51("rect", { width: "28", height: "28", fill: "white" }) }) })
|
|
2483
2627
|
]
|
|
2484
2628
|
})
|
|
2485
2629
|
);
|
|
@@ -2487,10 +2631,10 @@ var LinkAccountsIcon = (_a) => {
|
|
|
2487
2631
|
LinkAccountsIcon.displayName = "LinkAccountsIcon";
|
|
2488
2632
|
|
|
2489
2633
|
// src/primitives/icon/svg/pencil.tsx
|
|
2490
|
-
import { jsx as
|
|
2634
|
+
import { jsx as jsx52, jsxs as jsxs48 } from "react/jsx-runtime";
|
|
2491
2635
|
var PencilIcon = (_a) => {
|
|
2492
2636
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2493
|
-
return /* @__PURE__ */
|
|
2637
|
+
return /* @__PURE__ */ jsxs48(
|
|
2494
2638
|
"svg",
|
|
2495
2639
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2496
2640
|
viewBox: "0 0 16 16",
|
|
@@ -2498,15 +2642,15 @@ var PencilIcon = (_a) => {
|
|
|
2498
2642
|
fill: "none"
|
|
2499
2643
|
}, getIconA11yProps(title)), props), {
|
|
2500
2644
|
children: [
|
|
2501
|
-
title ? /* @__PURE__ */
|
|
2502
|
-
/* @__PURE__ */
|
|
2645
|
+
title ? /* @__PURE__ */ jsx52("title", { children: title }) : null,
|
|
2646
|
+
/* @__PURE__ */ jsx52("g", { clipPath: "url(#pencil_clip)", children: /* @__PURE__ */ jsx52(
|
|
2503
2647
|
"path",
|
|
2504
2648
|
{
|
|
2505
2649
|
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",
|
|
2506
2650
|
fill: "currentColor"
|
|
2507
2651
|
}
|
|
2508
2652
|
) }),
|
|
2509
|
-
/* @__PURE__ */
|
|
2653
|
+
/* @__PURE__ */ jsx52("defs", { children: /* @__PURE__ */ jsx52("clipPath", { id: "pencil_clip", children: /* @__PURE__ */ jsx52("rect", { width: "16", height: "16", fill: "white" }) }) })
|
|
2510
2654
|
]
|
|
2511
2655
|
})
|
|
2512
2656
|
);
|
|
@@ -2514,37 +2658,64 @@ var PencilIcon = (_a) => {
|
|
|
2514
2658
|
PencilIcon.displayName = "PencilIcon";
|
|
2515
2659
|
|
|
2516
2660
|
// src/primitives/icon/svg/play-square.tsx
|
|
2517
|
-
import { jsx as
|
|
2661
|
+
import { jsx as jsx53, jsxs as jsxs49 } from "react/jsx-runtime";
|
|
2518
2662
|
var PlaySquareIcon = (_a) => {
|
|
2519
2663
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2520
|
-
return /* @__PURE__ */
|
|
2664
|
+
return /* @__PURE__ */ jsxs49(
|
|
2665
|
+
"svg",
|
|
2666
|
+
__spreadProps(__spreadValues(__spreadValues({
|
|
2667
|
+
viewBox: "0 0 16 16",
|
|
2668
|
+
className,
|
|
2669
|
+
fill: "none"
|
|
2670
|
+
}, getIconA11yProps(title)), props), {
|
|
2671
|
+
children: [
|
|
2672
|
+
title ? /* @__PURE__ */ jsx53("title", { children: title }) : null,
|
|
2673
|
+
/* @__PURE__ */ jsx53("g", { clipPath: "url(#play-square-clip)", children: /* @__PURE__ */ jsx53(
|
|
2674
|
+
"path",
|
|
2675
|
+
{
|
|
2676
|
+
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",
|
|
2677
|
+
fill: "currentColor"
|
|
2678
|
+
}
|
|
2679
|
+
) }),
|
|
2680
|
+
/* @__PURE__ */ jsx53("defs", { children: /* @__PURE__ */ jsx53("clipPath", { id: "play-square-clip", children: /* @__PURE__ */ jsx53("rect", { width: "16", height: "16", fill: "white" }) }) })
|
|
2681
|
+
]
|
|
2682
|
+
})
|
|
2683
|
+
);
|
|
2684
|
+
};
|
|
2685
|
+
PlaySquareIcon.displayName = "PlaySquareIcon";
|
|
2686
|
+
|
|
2687
|
+
// src/primitives/icon/svg/polygon.tsx
|
|
2688
|
+
import { jsx as jsx54, jsxs as jsxs50 } from "react/jsx-runtime";
|
|
2689
|
+
var PolygonIcon = (_a) => {
|
|
2690
|
+
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2691
|
+
return /* @__PURE__ */ jsxs50(
|
|
2521
2692
|
"svg",
|
|
2522
2693
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2523
|
-
viewBox: "0 0
|
|
2694
|
+
viewBox: "0 0 24 24",
|
|
2524
2695
|
className,
|
|
2525
2696
|
fill: "none"
|
|
2526
2697
|
}, getIconA11yProps(title)), props), {
|
|
2527
2698
|
children: [
|
|
2528
|
-
title ? /* @__PURE__ */
|
|
2529
|
-
/* @__PURE__ */
|
|
2699
|
+
title ? /* @__PURE__ */ jsx54("title", { children: title }) : null,
|
|
2700
|
+
/* @__PURE__ */ jsx54("rect", { width: "24", height: "24", rx: "8", fill: "#8247E5" }),
|
|
2701
|
+
/* @__PURE__ */ jsx54(
|
|
2530
2702
|
"path",
|
|
2531
2703
|
{
|
|
2532
|
-
d: "
|
|
2533
|
-
fill: "
|
|
2704
|
+
d: "M9.00108 10.1467L7.12599 9.05774L1.5 12.3246V18.836L7.12599 22.0919L12.752 18.836V8.70922L15.8729 6.90135L18.9938 8.70922V12.3246L15.8729 14.1325L13.9978 13.0435V15.9409L15.8729 17.0299L21.4989 13.774V7.26264L15.8729 4.00674L10.2469 7.26264V17.3894L7.12599 19.1973L4.00508 17.3894V13.7628L7.12599 11.955L9.00108 13.0435V10.1467Z",
|
|
2705
|
+
fill: "white"
|
|
2534
2706
|
}
|
|
2535
|
-
)
|
|
2536
|
-
/* @__PURE__ */ jsx50("defs", { children: /* @__PURE__ */ jsx50("clipPath", { id: "play-square-clip", children: /* @__PURE__ */ jsx50("rect", { width: "16", height: "16", fill: "white" }) }) })
|
|
2707
|
+
)
|
|
2537
2708
|
]
|
|
2538
2709
|
})
|
|
2539
2710
|
);
|
|
2540
2711
|
};
|
|
2541
|
-
|
|
2712
|
+
PolygonIcon.displayName = "PolygonIcon";
|
|
2542
2713
|
|
|
2543
2714
|
// src/primitives/icon/svg/profile.tsx
|
|
2544
|
-
import { jsx as
|
|
2715
|
+
import { jsx as jsx55, jsxs as jsxs51 } from "react/jsx-runtime";
|
|
2545
2716
|
var ProfileIcon = (_a) => {
|
|
2546
2717
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2547
|
-
return /* @__PURE__ */
|
|
2718
|
+
return /* @__PURE__ */ jsxs51(
|
|
2548
2719
|
"svg",
|
|
2549
2720
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2550
2721
|
viewBox: "0 0 21 28",
|
|
@@ -2552,8 +2723,8 @@ var ProfileIcon = (_a) => {
|
|
|
2552
2723
|
fill: "none"
|
|
2553
2724
|
}, getIconA11yProps(title)), props), {
|
|
2554
2725
|
children: [
|
|
2555
|
-
title ? /* @__PURE__ */
|
|
2556
|
-
/* @__PURE__ */
|
|
2726
|
+
title ? /* @__PURE__ */ jsx55("title", { children: title }) : null,
|
|
2727
|
+
/* @__PURE__ */ jsx55(
|
|
2557
2728
|
"path",
|
|
2558
2729
|
{
|
|
2559
2730
|
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",
|
|
@@ -2567,10 +2738,10 @@ var ProfileIcon = (_a) => {
|
|
|
2567
2738
|
ProfileIcon.displayName = "ProfileIcon";
|
|
2568
2739
|
|
|
2569
2740
|
// src/primitives/icon/svg/revenue-alt.tsx
|
|
2570
|
-
import { jsx as
|
|
2741
|
+
import { jsx as jsx56, jsxs as jsxs52 } from "react/jsx-runtime";
|
|
2571
2742
|
var RevenueAltIcon = (_a) => {
|
|
2572
2743
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2573
|
-
return /* @__PURE__ */
|
|
2744
|
+
return /* @__PURE__ */ jsxs52(
|
|
2574
2745
|
"svg",
|
|
2575
2746
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2576
2747
|
viewBox: "0 0 20 20",
|
|
@@ -2578,8 +2749,8 @@ var RevenueAltIcon = (_a) => {
|
|
|
2578
2749
|
fill: "none"
|
|
2579
2750
|
}, getIconA11yProps(title)), props), {
|
|
2580
2751
|
children: [
|
|
2581
|
-
title ? /* @__PURE__ */
|
|
2582
|
-
/* @__PURE__ */
|
|
2752
|
+
title ? /* @__PURE__ */ jsx56("title", { children: title }) : null,
|
|
2753
|
+
/* @__PURE__ */ jsx56(
|
|
2583
2754
|
"path",
|
|
2584
2755
|
{
|
|
2585
2756
|
d: "M3 14V6M3 6L1.5 7.5M3 6L4.5 7.5M17 6V14M17 14L15.5 12.5M17 14L18.5 12.5",
|
|
@@ -2589,7 +2760,7 @@ var RevenueAltIcon = (_a) => {
|
|
|
2589
2760
|
strokeLinejoin: "round"
|
|
2590
2761
|
}
|
|
2591
2762
|
),
|
|
2592
|
-
/* @__PURE__ */
|
|
2763
|
+
/* @__PURE__ */ jsx56(
|
|
2593
2764
|
"path",
|
|
2594
2765
|
{
|
|
2595
2766
|
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",
|
|
@@ -2606,10 +2777,10 @@ var RevenueAltIcon = (_a) => {
|
|
|
2606
2777
|
RevenueAltIcon.displayName = "RevenueAltIcon";
|
|
2607
2778
|
|
|
2608
2779
|
// src/primitives/icon/svg/search.tsx
|
|
2609
|
-
import { jsx as
|
|
2780
|
+
import { jsx as jsx57, jsxs as jsxs53 } from "react/jsx-runtime";
|
|
2610
2781
|
var SearchIcon = (_a) => {
|
|
2611
2782
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2612
|
-
return /* @__PURE__ */
|
|
2783
|
+
return /* @__PURE__ */ jsxs53(
|
|
2613
2784
|
"svg",
|
|
2614
2785
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2615
2786
|
viewBox: "0 0 16 16",
|
|
@@ -2618,8 +2789,8 @@ var SearchIcon = (_a) => {
|
|
|
2618
2789
|
className
|
|
2619
2790
|
}, getIconA11yProps(title)), props), {
|
|
2620
2791
|
children: [
|
|
2621
|
-
title ? /* @__PURE__ */
|
|
2622
|
-
/* @__PURE__ */
|
|
2792
|
+
title ? /* @__PURE__ */ jsx57("title", { children: title }) : null,
|
|
2793
|
+
/* @__PURE__ */ jsx57(
|
|
2623
2794
|
"path",
|
|
2624
2795
|
{
|
|
2625
2796
|
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",
|
|
@@ -2629,7 +2800,7 @@ var SearchIcon = (_a) => {
|
|
|
2629
2800
|
strokeLinejoin: "round"
|
|
2630
2801
|
}
|
|
2631
2802
|
),
|
|
2632
|
-
/* @__PURE__ */
|
|
2803
|
+
/* @__PURE__ */ jsx57(
|
|
2633
2804
|
"path",
|
|
2634
2805
|
{
|
|
2635
2806
|
d: "M13.6668 13.6666L11.1667 11.1666",
|
|
@@ -2646,10 +2817,10 @@ var SearchIcon = (_a) => {
|
|
|
2646
2817
|
SearchIcon.displayName = "SearchIcon";
|
|
2647
2818
|
|
|
2648
2819
|
// src/primitives/icon/svg/shield-trust.tsx
|
|
2649
|
-
import { jsx as
|
|
2820
|
+
import { jsx as jsx58, jsxs as jsxs54 } from "react/jsx-runtime";
|
|
2650
2821
|
var ShieldTrustIcon = (_a) => {
|
|
2651
2822
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2652
|
-
return /* @__PURE__ */
|
|
2823
|
+
return /* @__PURE__ */ jsxs54(
|
|
2653
2824
|
"svg",
|
|
2654
2825
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2655
2826
|
viewBox: "0 0 16 16",
|
|
@@ -2657,15 +2828,15 @@ var ShieldTrustIcon = (_a) => {
|
|
|
2657
2828
|
fill: "none"
|
|
2658
2829
|
}, getIconA11yProps(title)), props), {
|
|
2659
2830
|
children: [
|
|
2660
|
-
title ? /* @__PURE__ */
|
|
2661
|
-
/* @__PURE__ */
|
|
2831
|
+
title ? /* @__PURE__ */ jsx58("title", { children: title }) : null,
|
|
2832
|
+
/* @__PURE__ */ jsx58(
|
|
2662
2833
|
"path",
|
|
2663
2834
|
{
|
|
2664
2835
|
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",
|
|
2665
2836
|
fill: "currentColor"
|
|
2666
2837
|
}
|
|
2667
2838
|
),
|
|
2668
|
-
/* @__PURE__ */
|
|
2839
|
+
/* @__PURE__ */ jsx58(
|
|
2669
2840
|
"path",
|
|
2670
2841
|
{
|
|
2671
2842
|
d: "M5.5 8.2L7.2 9.9L10.8 6.3",
|
|
@@ -2682,10 +2853,10 @@ var ShieldTrustIcon = (_a) => {
|
|
|
2682
2853
|
ShieldTrustIcon.displayName = "ShieldTrustIcon";
|
|
2683
2854
|
|
|
2684
2855
|
// src/primitives/icon/svg/solana.tsx
|
|
2685
|
-
import { jsx as
|
|
2856
|
+
import { jsx as jsx59, jsxs as jsxs55 } from "react/jsx-runtime";
|
|
2686
2857
|
var SolanaIcon = (_a) => {
|
|
2687
2858
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2688
|
-
return /* @__PURE__ */
|
|
2859
|
+
return /* @__PURE__ */ jsxs55(
|
|
2689
2860
|
"svg",
|
|
2690
2861
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2691
2862
|
viewBox: "0 0 24 24",
|
|
@@ -2693,31 +2864,31 @@ var SolanaIcon = (_a) => {
|
|
|
2693
2864
|
fill: "none"
|
|
2694
2865
|
}, getIconA11yProps(title)), props), {
|
|
2695
2866
|
children: [
|
|
2696
|
-
title ? /* @__PURE__ */
|
|
2697
|
-
/* @__PURE__ */
|
|
2698
|
-
/* @__PURE__ */
|
|
2867
|
+
title ? /* @__PURE__ */ jsx59("title", { children: title }) : null,
|
|
2868
|
+
/* @__PURE__ */ jsx59("rect", { width: "24", height: "24", rx: "8", fill: "#020205" }),
|
|
2869
|
+
/* @__PURE__ */ jsx59(
|
|
2699
2870
|
"path",
|
|
2700
2871
|
{
|
|
2701
2872
|
fill: "url(#agg-solana-gradient-top)",
|
|
2702
2873
|
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"
|
|
2703
2874
|
}
|
|
2704
2875
|
),
|
|
2705
|
-
/* @__PURE__ */
|
|
2876
|
+
/* @__PURE__ */ jsx59(
|
|
2706
2877
|
"path",
|
|
2707
2878
|
{
|
|
2708
2879
|
fill: "url(#agg-solana-gradient-middle)",
|
|
2709
2880
|
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"
|
|
2710
2881
|
}
|
|
2711
2882
|
),
|
|
2712
|
-
/* @__PURE__ */
|
|
2883
|
+
/* @__PURE__ */ jsx59(
|
|
2713
2884
|
"path",
|
|
2714
2885
|
{
|
|
2715
2886
|
fill: "url(#agg-solana-gradient-bottom)",
|
|
2716
2887
|
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"
|
|
2717
2888
|
}
|
|
2718
2889
|
),
|
|
2719
|
-
/* @__PURE__ */
|
|
2720
|
-
/* @__PURE__ */
|
|
2890
|
+
/* @__PURE__ */ jsxs55("defs", { children: [
|
|
2891
|
+
/* @__PURE__ */ jsxs55(
|
|
2721
2892
|
"linearGradient",
|
|
2722
2893
|
{
|
|
2723
2894
|
id: "agg-solana-gradient-top",
|
|
@@ -2727,12 +2898,12 @@ var SolanaIcon = (_a) => {
|
|
|
2727
2898
|
y2: "17.476",
|
|
2728
2899
|
gradientUnits: "userSpaceOnUse",
|
|
2729
2900
|
children: [
|
|
2730
|
-
/* @__PURE__ */
|
|
2731
|
-
/* @__PURE__ */
|
|
2901
|
+
/* @__PURE__ */ jsx59("stop", { stopColor: "#4BF0B8" }),
|
|
2902
|
+
/* @__PURE__ */ jsx59("stop", { offset: "1", stopColor: "#B44CF4" })
|
|
2732
2903
|
]
|
|
2733
2904
|
}
|
|
2734
2905
|
),
|
|
2735
|
-
/* @__PURE__ */
|
|
2906
|
+
/* @__PURE__ */ jsxs55(
|
|
2736
2907
|
"linearGradient",
|
|
2737
2908
|
{
|
|
2738
2909
|
id: "agg-solana-gradient-middle",
|
|
@@ -2742,12 +2913,12 @@ var SolanaIcon = (_a) => {
|
|
|
2742
2913
|
y2: "21.238",
|
|
2743
2914
|
gradientUnits: "userSpaceOnUse",
|
|
2744
2915
|
children: [
|
|
2745
|
-
/* @__PURE__ */
|
|
2746
|
-
/* @__PURE__ */
|
|
2916
|
+
/* @__PURE__ */ jsx59("stop", { stopColor: "#4BF0B8" }),
|
|
2917
|
+
/* @__PURE__ */ jsx59("stop", { offset: "1", stopColor: "#B44CF4" })
|
|
2747
2918
|
]
|
|
2748
2919
|
}
|
|
2749
2920
|
),
|
|
2750
|
-
/* @__PURE__ */
|
|
2921
|
+
/* @__PURE__ */ jsxs55(
|
|
2751
2922
|
"linearGradient",
|
|
2752
2923
|
{
|
|
2753
2924
|
id: "agg-solana-gradient-bottom",
|
|
@@ -2757,8 +2928,8 @@ var SolanaIcon = (_a) => {
|
|
|
2757
2928
|
y2: "19.359",
|
|
2758
2929
|
gradientUnits: "userSpaceOnUse",
|
|
2759
2930
|
children: [
|
|
2760
|
-
/* @__PURE__ */
|
|
2761
|
-
/* @__PURE__ */
|
|
2931
|
+
/* @__PURE__ */ jsx59("stop", { stopColor: "#4BF0B8" }),
|
|
2932
|
+
/* @__PURE__ */ jsx59("stop", { offset: "1", stopColor: "#B44CF4" })
|
|
2762
2933
|
]
|
|
2763
2934
|
}
|
|
2764
2935
|
)
|
|
@@ -2770,10 +2941,10 @@ var SolanaIcon = (_a) => {
|
|
|
2770
2941
|
SolanaIcon.displayName = "SolanaIcon";
|
|
2771
2942
|
|
|
2772
2943
|
// src/primitives/icon/svg/stay-in-control.tsx
|
|
2773
|
-
import { jsx as
|
|
2944
|
+
import { jsx as jsx60, jsxs as jsxs56 } from "react/jsx-runtime";
|
|
2774
2945
|
var StayInControlIcon = (_a) => {
|
|
2775
2946
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2776
|
-
return /* @__PURE__ */
|
|
2947
|
+
return /* @__PURE__ */ jsxs56(
|
|
2777
2948
|
"svg",
|
|
2778
2949
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2779
2950
|
width: "28",
|
|
@@ -2784,16 +2955,16 @@ var StayInControlIcon = (_a) => {
|
|
|
2784
2955
|
className
|
|
2785
2956
|
}, getIconA11yProps(title)), props), {
|
|
2786
2957
|
children: [
|
|
2787
|
-
title ? /* @__PURE__ */
|
|
2788
|
-
/* @__PURE__ */
|
|
2789
|
-
/* @__PURE__ */
|
|
2958
|
+
title ? /* @__PURE__ */ jsx60("title", { children: title }) : null,
|
|
2959
|
+
/* @__PURE__ */ jsxs56("g", { clipPath: "url(#clip0_stay_in_control)", children: [
|
|
2960
|
+
/* @__PURE__ */ jsx60(
|
|
2790
2961
|
"path",
|
|
2791
2962
|
{
|
|
2792
2963
|
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",
|
|
2793
2964
|
fill: "currentColor"
|
|
2794
2965
|
}
|
|
2795
2966
|
),
|
|
2796
|
-
/* @__PURE__ */
|
|
2967
|
+
/* @__PURE__ */ jsx60(
|
|
2797
2968
|
"path",
|
|
2798
2969
|
{
|
|
2799
2970
|
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",
|
|
@@ -2801,18 +2972,47 @@ var StayInControlIcon = (_a) => {
|
|
|
2801
2972
|
}
|
|
2802
2973
|
)
|
|
2803
2974
|
] }),
|
|
2804
|
-
/* @__PURE__ */
|
|
2975
|
+
/* @__PURE__ */ jsx60("defs", { children: /* @__PURE__ */ jsx60("clipPath", { id: "clip0_stay_in_control", children: /* @__PURE__ */ jsx60("rect", { width: "28", height: "28", fill: "white" }) }) })
|
|
2805
2976
|
]
|
|
2806
2977
|
})
|
|
2807
2978
|
);
|
|
2808
2979
|
};
|
|
2809
2980
|
StayInControlIcon.displayName = "StayInControlIcon";
|
|
2810
2981
|
|
|
2982
|
+
// src/primitives/icon/svg/success-check.tsx
|
|
2983
|
+
import { jsx as jsx61, jsxs as jsxs57 } from "react/jsx-runtime";
|
|
2984
|
+
var SuccessCheckIcon = (_a) => {
|
|
2985
|
+
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2986
|
+
return /* @__PURE__ */ jsxs57(
|
|
2987
|
+
"svg",
|
|
2988
|
+
__spreadProps(__spreadValues(__spreadValues({
|
|
2989
|
+
width: "24",
|
|
2990
|
+
height: "24",
|
|
2991
|
+
viewBox: "0 0 24 24",
|
|
2992
|
+
fill: "none",
|
|
2993
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2994
|
+
className
|
|
2995
|
+
}, getIconA11yProps(title)), props), {
|
|
2996
|
+
children: [
|
|
2997
|
+
title ? /* @__PURE__ */ jsx61("title", { children: title }) : null,
|
|
2998
|
+
/* @__PURE__ */ jsx61(
|
|
2999
|
+
"path",
|
|
3000
|
+
{
|
|
3001
|
+
d: "M7.74919 20.6626C7.06793 20.6629 6.41457 20.3921 5.93325 19.91L0.443061 14.4219C-0.147687 13.8309 -0.147687 12.873 0.443061 12.2821C1.034 11.6913 1.99191 11.6913 2.58284 12.2821L7.74919 17.4484L21.4172 3.78046C22.0081 3.18972 22.966 3.18972 23.5569 3.78046C24.1477 4.3714 24.1477 5.32931 23.5569 5.92024L9.56513 19.91C9.08381 20.3921 8.43045 20.6629 7.74919 20.6626Z",
|
|
3002
|
+
fill: "currentColor"
|
|
3003
|
+
}
|
|
3004
|
+
)
|
|
3005
|
+
]
|
|
3006
|
+
})
|
|
3007
|
+
);
|
|
3008
|
+
};
|
|
3009
|
+
SuccessCheckIcon.displayName = "SuccessCheckIcon";
|
|
3010
|
+
|
|
2811
3011
|
// src/primitives/icon/svg/telegram.tsx
|
|
2812
|
-
import { jsx as
|
|
3012
|
+
import { jsx as jsx62, jsxs as jsxs58 } from "react/jsx-runtime";
|
|
2813
3013
|
var TelegramIcon = (_a) => {
|
|
2814
3014
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2815
|
-
return /* @__PURE__ */
|
|
3015
|
+
return /* @__PURE__ */ jsxs58(
|
|
2816
3016
|
"svg",
|
|
2817
3017
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2818
3018
|
viewBox: "0 0 20 20",
|
|
@@ -2820,8 +3020,8 @@ var TelegramIcon = (_a) => {
|
|
|
2820
3020
|
fill: "none"
|
|
2821
3021
|
}, getIconA11yProps(title)), props), {
|
|
2822
3022
|
children: [
|
|
2823
|
-
title ? /* @__PURE__ */
|
|
2824
|
-
/* @__PURE__ */
|
|
3023
|
+
title ? /* @__PURE__ */ jsx62("title", { children: title }) : null,
|
|
3024
|
+
/* @__PURE__ */ jsx62("g", { clipPath: "url(#clip0_telegram)", children: /* @__PURE__ */ jsx62(
|
|
2825
3025
|
"path",
|
|
2826
3026
|
{
|
|
2827
3027
|
fillRule: "evenodd",
|
|
@@ -2830,7 +3030,7 @@ var TelegramIcon = (_a) => {
|
|
|
2830
3030
|
fill: "currentColor"
|
|
2831
3031
|
}
|
|
2832
3032
|
) }),
|
|
2833
|
-
/* @__PURE__ */
|
|
3033
|
+
/* @__PURE__ */ jsx62("defs", { children: /* @__PURE__ */ jsx62("clipPath", { id: "clip0_telegram", children: /* @__PURE__ */ jsx62("rect", { width: "20", height: "20", fill: "white" }) }) })
|
|
2834
3034
|
]
|
|
2835
3035
|
})
|
|
2836
3036
|
);
|
|
@@ -2838,10 +3038,10 @@ var TelegramIcon = (_a) => {
|
|
|
2838
3038
|
TelegramIcon.displayName = "TelegramIcon";
|
|
2839
3039
|
|
|
2840
3040
|
// src/primitives/icon/svg/triangle-down.tsx
|
|
2841
|
-
import { jsx as
|
|
3041
|
+
import { jsx as jsx63, jsxs as jsxs59 } from "react/jsx-runtime";
|
|
2842
3042
|
var TriangleDownIcon = (_a) => {
|
|
2843
3043
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2844
|
-
return /* @__PURE__ */
|
|
3044
|
+
return /* @__PURE__ */ jsxs59(
|
|
2845
3045
|
"svg",
|
|
2846
3046
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2847
3047
|
viewBox: "0 0 8 8",
|
|
@@ -2849,16 +3049,16 @@ var TriangleDownIcon = (_a) => {
|
|
|
2849
3049
|
fill: "none"
|
|
2850
3050
|
}, getIconA11yProps(title)), props), {
|
|
2851
3051
|
children: [
|
|
2852
|
-
title ? /* @__PURE__ */
|
|
2853
|
-
/* @__PURE__ */
|
|
2854
|
-
/* @__PURE__ */
|
|
3052
|
+
title ? /* @__PURE__ */ jsx63("title", { children: title }) : null,
|
|
3053
|
+
/* @__PURE__ */ jsxs59("g", { transform: "scale(1,-1) translate(0,-8)", clipPath: "url(#triangle_up)", children: [
|
|
3054
|
+
/* @__PURE__ */ jsx63(
|
|
2855
3055
|
"path",
|
|
2856
3056
|
{
|
|
2857
3057
|
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",
|
|
2858
3058
|
fill: "currentColor"
|
|
2859
3059
|
}
|
|
2860
3060
|
),
|
|
2861
|
-
/* @__PURE__ */
|
|
3061
|
+
/* @__PURE__ */ jsx63(
|
|
2862
3062
|
"path",
|
|
2863
3063
|
{
|
|
2864
3064
|
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",
|
|
@@ -2866,7 +3066,7 @@ var TriangleDownIcon = (_a) => {
|
|
|
2866
3066
|
}
|
|
2867
3067
|
)
|
|
2868
3068
|
] }),
|
|
2869
|
-
/* @__PURE__ */
|
|
3069
|
+
/* @__PURE__ */ jsx63("defs", { children: /* @__PURE__ */ jsx63("clipPath", { id: "triangle_up", children: /* @__PURE__ */ jsx63("rect", { width: "8", height: "8", fill: "white" }) }) })
|
|
2870
3070
|
]
|
|
2871
3071
|
})
|
|
2872
3072
|
);
|
|
@@ -2874,10 +3074,10 @@ var TriangleDownIcon = (_a) => {
|
|
|
2874
3074
|
TriangleDownIcon.displayName = "TriangleDownIcon";
|
|
2875
3075
|
|
|
2876
3076
|
// src/primitives/icon/svg/triangle-up-filled.tsx
|
|
2877
|
-
import { jsx as
|
|
3077
|
+
import { jsx as jsx64, jsxs as jsxs60 } from "react/jsx-runtime";
|
|
2878
3078
|
var TriangleUpFilledIcon = (_a) => {
|
|
2879
3079
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2880
|
-
return /* @__PURE__ */
|
|
3080
|
+
return /* @__PURE__ */ jsxs60(
|
|
2881
3081
|
"svg",
|
|
2882
3082
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2883
3083
|
viewBox: "0 0 8 8",
|
|
@@ -2885,8 +3085,8 @@ var TriangleUpFilledIcon = (_a) => {
|
|
|
2885
3085
|
fill: "none"
|
|
2886
3086
|
}, getIconA11yProps(title)), props), {
|
|
2887
3087
|
children: [
|
|
2888
|
-
title ? /* @__PURE__ */
|
|
2889
|
-
/* @__PURE__ */
|
|
3088
|
+
title ? /* @__PURE__ */ jsx64("title", { children: title }) : null,
|
|
3089
|
+
/* @__PURE__ */ jsx64(
|
|
2890
3090
|
"path",
|
|
2891
3091
|
{
|
|
2892
3092
|
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",
|
|
@@ -2900,10 +3100,10 @@ var TriangleUpFilledIcon = (_a) => {
|
|
|
2900
3100
|
TriangleUpFilledIcon.displayName = "TriangleUpFilledIcon";
|
|
2901
3101
|
|
|
2902
3102
|
// src/primitives/icon/svg/triangle-up.tsx
|
|
2903
|
-
import { jsx as
|
|
3103
|
+
import { jsx as jsx65, jsxs as jsxs61 } from "react/jsx-runtime";
|
|
2904
3104
|
var TriangleUpIcon = (_a) => {
|
|
2905
3105
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2906
|
-
return /* @__PURE__ */
|
|
3106
|
+
return /* @__PURE__ */ jsxs61(
|
|
2907
3107
|
"svg",
|
|
2908
3108
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2909
3109
|
viewBox: "0 0 8 8",
|
|
@@ -2911,16 +3111,16 @@ var TriangleUpIcon = (_a) => {
|
|
|
2911
3111
|
fill: "none"
|
|
2912
3112
|
}, getIconA11yProps(title)), props), {
|
|
2913
3113
|
children: [
|
|
2914
|
-
title ? /* @__PURE__ */
|
|
2915
|
-
/* @__PURE__ */
|
|
2916
|
-
/* @__PURE__ */
|
|
3114
|
+
title ? /* @__PURE__ */ jsx65("title", { children: title }) : null,
|
|
3115
|
+
/* @__PURE__ */ jsxs61("g", { clipPath: "url(#triangle_up)", children: [
|
|
3116
|
+
/* @__PURE__ */ jsx65(
|
|
2917
3117
|
"path",
|
|
2918
3118
|
{
|
|
2919
3119
|
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",
|
|
2920
3120
|
fill: "currentColor"
|
|
2921
3121
|
}
|
|
2922
3122
|
),
|
|
2923
|
-
/* @__PURE__ */
|
|
3123
|
+
/* @__PURE__ */ jsx65(
|
|
2924
3124
|
"path",
|
|
2925
3125
|
{
|
|
2926
3126
|
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",
|
|
@@ -2928,7 +3128,7 @@ var TriangleUpIcon = (_a) => {
|
|
|
2928
3128
|
}
|
|
2929
3129
|
)
|
|
2930
3130
|
] }),
|
|
2931
|
-
/* @__PURE__ */
|
|
3131
|
+
/* @__PURE__ */ jsx65("defs", { children: /* @__PURE__ */ jsx65("clipPath", { id: "triangle_up", children: /* @__PURE__ */ jsx65("rect", { width: "8", height: "8", fill: "white" }) }) })
|
|
2932
3132
|
]
|
|
2933
3133
|
})
|
|
2934
3134
|
);
|
|
@@ -2936,10 +3136,10 @@ var TriangleUpIcon = (_a) => {
|
|
|
2936
3136
|
TriangleUpIcon.displayName = "TriangleUpIcon";
|
|
2937
3137
|
|
|
2938
3138
|
// src/primitives/icon/svg/twitter.tsx
|
|
2939
|
-
import { jsx as
|
|
3139
|
+
import { jsx as jsx66, jsxs as jsxs62 } from "react/jsx-runtime";
|
|
2940
3140
|
var TwitterIcon = (_a) => {
|
|
2941
3141
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2942
|
-
return /* @__PURE__ */
|
|
3142
|
+
return /* @__PURE__ */ jsxs62(
|
|
2943
3143
|
"svg",
|
|
2944
3144
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2945
3145
|
viewBox: "0 0 20 20",
|
|
@@ -2947,8 +3147,8 @@ var TwitterIcon = (_a) => {
|
|
|
2947
3147
|
fill: "none"
|
|
2948
3148
|
}, getIconA11yProps(title)), props), {
|
|
2949
3149
|
children: [
|
|
2950
|
-
title ? /* @__PURE__ */
|
|
2951
|
-
/* @__PURE__ */
|
|
3150
|
+
title ? /* @__PURE__ */ jsx66("title", { children: title }) : null,
|
|
3151
|
+
/* @__PURE__ */ jsx66(
|
|
2952
3152
|
"path",
|
|
2953
3153
|
{
|
|
2954
3154
|
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",
|
|
@@ -2962,10 +3162,10 @@ var TwitterIcon = (_a) => {
|
|
|
2962
3162
|
TwitterIcon.displayName = "TwitterIcon";
|
|
2963
3163
|
|
|
2964
3164
|
// src/primitives/icon/svg/upload.tsx
|
|
2965
|
-
import { jsx as
|
|
3165
|
+
import { jsx as jsx67, jsxs as jsxs63 } from "react/jsx-runtime";
|
|
2966
3166
|
var UploadIcon = (_a) => {
|
|
2967
3167
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2968
|
-
return /* @__PURE__ */
|
|
3168
|
+
return /* @__PURE__ */ jsxs63(
|
|
2969
3169
|
"svg",
|
|
2970
3170
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2971
3171
|
viewBox: "0 0 16 16",
|
|
@@ -2973,8 +3173,8 @@ var UploadIcon = (_a) => {
|
|
|
2973
3173
|
fill: "none"
|
|
2974
3174
|
}, getIconA11yProps(title)), props), {
|
|
2975
3175
|
children: [
|
|
2976
|
-
title ? /* @__PURE__ */
|
|
2977
|
-
/* @__PURE__ */
|
|
3176
|
+
title ? /* @__PURE__ */ jsx67("title", { children: title }) : null,
|
|
3177
|
+
/* @__PURE__ */ jsx67(
|
|
2978
3178
|
"path",
|
|
2979
3179
|
{
|
|
2980
3180
|
d: "M8 13.5v-7m0 0 2.5 2.5M8 6.5 5.5 9",
|
|
@@ -2984,7 +3184,7 @@ var UploadIcon = (_a) => {
|
|
|
2984
3184
|
strokeLinejoin: "round"
|
|
2985
3185
|
}
|
|
2986
3186
|
),
|
|
2987
|
-
/* @__PURE__ */
|
|
3187
|
+
/* @__PURE__ */ jsx67("path", { d: "M2.5 3.5h11", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" })
|
|
2988
3188
|
]
|
|
2989
3189
|
})
|
|
2990
3190
|
);
|
|
@@ -2992,10 +3192,10 @@ var UploadIcon = (_a) => {
|
|
|
2992
3192
|
UploadIcon.displayName = "UploadIcon";
|
|
2993
3193
|
|
|
2994
3194
|
// src/primitives/icon/svg/wallet-avatar.tsx
|
|
2995
|
-
import { jsx as
|
|
3195
|
+
import { jsx as jsx68, jsxs as jsxs64 } from "react/jsx-runtime";
|
|
2996
3196
|
function WalletAvatarIcon(_a) {
|
|
2997
3197
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2998
|
-
return /* @__PURE__ */
|
|
3198
|
+
return /* @__PURE__ */ jsxs64(
|
|
2999
3199
|
"svg",
|
|
3000
3200
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3001
3201
|
fill: "none",
|
|
@@ -3003,9 +3203,9 @@ function WalletAvatarIcon(_a) {
|
|
|
3003
3203
|
viewBox: "0 0 16 16"
|
|
3004
3204
|
}, getIconA11yProps(title)), props), {
|
|
3005
3205
|
children: [
|
|
3006
|
-
title ? /* @__PURE__ */
|
|
3007
|
-
/* @__PURE__ */
|
|
3008
|
-
/* @__PURE__ */
|
|
3206
|
+
title ? /* @__PURE__ */ jsx68("title", { children: title }) : null,
|
|
3207
|
+
/* @__PURE__ */ jsx68("circle", { cx: "8", cy: "5.25", r: "2.25", fill: "currentColor" }),
|
|
3208
|
+
/* @__PURE__ */ jsx68("path", { d: "M3.75 12.75a4.25 4.25 0 0 1 8.5 0v.25h-8.5v-.25Z", fill: "currentColor" })
|
|
3009
3209
|
]
|
|
3010
3210
|
})
|
|
3011
3211
|
);
|
|
@@ -3013,10 +3213,10 @@ function WalletAvatarIcon(_a) {
|
|
|
3013
3213
|
WalletAvatarIcon.displayName = "WalletAvatarIcon";
|
|
3014
3214
|
|
|
3015
3215
|
// src/primitives/icon/svg/wallet.tsx
|
|
3016
|
-
import { jsx as
|
|
3216
|
+
import { jsx as jsx69, jsxs as jsxs65 } from "react/jsx-runtime";
|
|
3017
3217
|
var WalletIcon = (_a) => {
|
|
3018
3218
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3019
|
-
return /* @__PURE__ */
|
|
3219
|
+
return /* @__PURE__ */ jsxs65(
|
|
3020
3220
|
"svg",
|
|
3021
3221
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3022
3222
|
viewBox: "0 0 24 24",
|
|
@@ -3024,8 +3224,8 @@ var WalletIcon = (_a) => {
|
|
|
3024
3224
|
fill: "none"
|
|
3025
3225
|
}, getIconA11yProps(title)), props), {
|
|
3026
3226
|
children: [
|
|
3027
|
-
title ? /* @__PURE__ */
|
|
3028
|
-
/* @__PURE__ */
|
|
3227
|
+
title ? /* @__PURE__ */ jsx69("title", { children: title }) : null,
|
|
3228
|
+
/* @__PURE__ */ jsx69(
|
|
3029
3229
|
"path",
|
|
3030
3230
|
{
|
|
3031
3231
|
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",
|
|
@@ -3039,10 +3239,10 @@ var WalletIcon = (_a) => {
|
|
|
3039
3239
|
WalletIcon.displayName = "WalletIcon";
|
|
3040
3240
|
|
|
3041
3241
|
// src/primitives/icon/svg/warning-filled.tsx
|
|
3042
|
-
import { jsx as
|
|
3242
|
+
import { jsx as jsx70, jsxs as jsxs66 } from "react/jsx-runtime";
|
|
3043
3243
|
var WarningFilledIcon = (_a) => {
|
|
3044
3244
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3045
|
-
return /* @__PURE__ */
|
|
3245
|
+
return /* @__PURE__ */ jsxs66(
|
|
3046
3246
|
"svg",
|
|
3047
3247
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3048
3248
|
viewBox: "0 0 16 16",
|
|
@@ -3050,8 +3250,8 @@ var WarningFilledIcon = (_a) => {
|
|
|
3050
3250
|
fill: "none"
|
|
3051
3251
|
}, getIconA11yProps(title)), props), {
|
|
3052
3252
|
children: [
|
|
3053
|
-
title ? /* @__PURE__ */
|
|
3054
|
-
/* @__PURE__ */
|
|
3253
|
+
title ? /* @__PURE__ */ jsx70("title", { children: title }) : null,
|
|
3254
|
+
/* @__PURE__ */ jsx70(
|
|
3055
3255
|
"path",
|
|
3056
3256
|
{
|
|
3057
3257
|
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",
|
|
@@ -3065,10 +3265,10 @@ var WarningFilledIcon = (_a) => {
|
|
|
3065
3265
|
WarningFilledIcon.displayName = "WarningFilledIcon";
|
|
3066
3266
|
|
|
3067
3267
|
// src/primitives/icon/svg/warning.tsx
|
|
3068
|
-
import { jsx as
|
|
3268
|
+
import { jsx as jsx71, jsxs as jsxs67 } from "react/jsx-runtime";
|
|
3069
3269
|
var WarningIcon = (_a) => {
|
|
3070
3270
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3071
|
-
return /* @__PURE__ */
|
|
3271
|
+
return /* @__PURE__ */ jsxs67(
|
|
3072
3272
|
"svg",
|
|
3073
3273
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3074
3274
|
width: "14",
|
|
@@ -3079,15 +3279,15 @@ var WarningIcon = (_a) => {
|
|
|
3079
3279
|
className
|
|
3080
3280
|
}, getIconA11yProps(title)), props), {
|
|
3081
3281
|
children: [
|
|
3082
|
-
title ? /* @__PURE__ */
|
|
3083
|
-
/* @__PURE__ */
|
|
3282
|
+
title ? /* @__PURE__ */ jsx71("title", { children: title }) : null,
|
|
3283
|
+
/* @__PURE__ */ jsx71("g", { clipPath: "url(#clip0_warning)", children: /* @__PURE__ */ jsx71(
|
|
3084
3284
|
"path",
|
|
3085
3285
|
{
|
|
3086
3286
|
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",
|
|
3087
3287
|
fill: "currentColor"
|
|
3088
3288
|
}
|
|
3089
3289
|
) }),
|
|
3090
|
-
/* @__PURE__ */
|
|
3290
|
+
/* @__PURE__ */ jsx71("defs", { children: /* @__PURE__ */ jsx71("clipPath", { id: "clip0_warning", children: /* @__PURE__ */ jsx71("rect", { width: "14", height: "14", fill: "white" }) }) })
|
|
3091
3291
|
]
|
|
3092
3292
|
})
|
|
3093
3293
|
);
|
|
@@ -3101,6 +3301,7 @@ var iconRegistry = {
|
|
|
3101
3301
|
"arrows-to-dot": ArrowsToDotIcon,
|
|
3102
3302
|
bank: BankIcon,
|
|
3103
3303
|
"best-prices": BestPricesIcon,
|
|
3304
|
+
bnb: BnbIcon,
|
|
3104
3305
|
bolt: BoltIcon,
|
|
3105
3306
|
"check-badge": CheckBadgeIcon,
|
|
3106
3307
|
"check-circle": CheckCircleIcon,
|
|
@@ -3129,12 +3330,14 @@ var iconRegistry = {
|
|
|
3129
3330
|
"link-accounts": LinkAccountsIcon,
|
|
3130
3331
|
pencil: PencilIcon,
|
|
3131
3332
|
"play-square": PlaySquareIcon,
|
|
3333
|
+
polygon: PolygonIcon,
|
|
3132
3334
|
profile: ProfileIcon,
|
|
3133
3335
|
"revenue-alt": RevenueAltIcon,
|
|
3134
3336
|
search: SearchIcon,
|
|
3135
3337
|
"shield-trust": ShieldTrustIcon,
|
|
3136
3338
|
solana: SolanaIcon,
|
|
3137
3339
|
"stay-in-control": StayInControlIcon,
|
|
3340
|
+
"success-check": SuccessCheckIcon,
|
|
3138
3341
|
telegram: TelegramIcon,
|
|
3139
3342
|
"triangle-down": TriangleDownIcon,
|
|
3140
3343
|
"triangle-up": TriangleUpIcon,
|
|
@@ -3150,15 +3353,14 @@ var iconNames = Object.keys(iconRegistry);
|
|
|
3150
3353
|
|
|
3151
3354
|
// src/primitives/icon/icon.utils.ts
|
|
3152
3355
|
var resolveIconStyle = (color, style) => {
|
|
3153
|
-
if (!color)
|
|
3154
|
-
return style;
|
|
3356
|
+
if (!color) return style;
|
|
3155
3357
|
return __spreadProps(__spreadValues({}, style), {
|
|
3156
3358
|
color
|
|
3157
3359
|
});
|
|
3158
3360
|
};
|
|
3159
3361
|
|
|
3160
3362
|
// src/primitives/icon/index.tsx
|
|
3161
|
-
import { jsx as
|
|
3363
|
+
import { jsx as jsx72 } from "react/jsx-runtime";
|
|
3162
3364
|
var Icon = (_a) => {
|
|
3163
3365
|
var _b = _a, {
|
|
3164
3366
|
name,
|
|
@@ -3176,7 +3378,7 @@ var Icon = (_a) => {
|
|
|
3176
3378
|
const Component = iconRegistry[name];
|
|
3177
3379
|
const resolvedStyle = resolveIconStyle(color, style);
|
|
3178
3380
|
const resolvedClassName = cn(iconSizeClasses[size], className);
|
|
3179
|
-
return /* @__PURE__ */
|
|
3381
|
+
return /* @__PURE__ */ jsx72(
|
|
3180
3382
|
Component,
|
|
3181
3383
|
__spreadValues({
|
|
3182
3384
|
color,
|
|
@@ -3188,7 +3390,7 @@ var Icon = (_a) => {
|
|
|
3188
3390
|
Icon.displayName = "Icon";
|
|
3189
3391
|
|
|
3190
3392
|
// src/primitives/inline-alert/index.tsx
|
|
3191
|
-
import { jsx as
|
|
3393
|
+
import { jsx as jsx73, jsxs as jsxs68 } from "react/jsx-runtime";
|
|
3192
3394
|
var toneIconName = {
|
|
3193
3395
|
error: "error-filled",
|
|
3194
3396
|
warning: "warning-filled"
|
|
@@ -3215,8 +3417,7 @@ var resolveVariant = ({
|
|
|
3215
3417
|
tone,
|
|
3216
3418
|
variant
|
|
3217
3419
|
}) => {
|
|
3218
|
-
if (variant)
|
|
3219
|
-
return variant;
|
|
3420
|
+
if (variant) return variant;
|
|
3220
3421
|
return tone === "error" ? "surface" : "plain";
|
|
3221
3422
|
};
|
|
3222
3423
|
var InlineAlert = ({
|
|
@@ -3235,7 +3436,7 @@ var InlineAlert = ({
|
|
|
3235
3436
|
});
|
|
3236
3437
|
const hasAction = !!actionLabel && !!onAction;
|
|
3237
3438
|
const { ariaLive, role } = liveRegionConfig[tone];
|
|
3238
|
-
return /* @__PURE__ */
|
|
3439
|
+
return /* @__PURE__ */ jsxs68(
|
|
3239
3440
|
"div",
|
|
3240
3441
|
{
|
|
3241
3442
|
className: cn(
|
|
@@ -3248,7 +3449,7 @@ var InlineAlert = ({
|
|
|
3248
3449
|
"aria-live": ariaLive,
|
|
3249
3450
|
"aria-label": ariaLabel,
|
|
3250
3451
|
children: [
|
|
3251
|
-
/* @__PURE__ */
|
|
3452
|
+
/* @__PURE__ */ jsx73(
|
|
3252
3453
|
Icon,
|
|
3253
3454
|
{
|
|
3254
3455
|
name: toneIconName[tone],
|
|
@@ -3256,14 +3457,14 @@ var InlineAlert = ({
|
|
|
3256
3457
|
"aria-hidden": "true"
|
|
3257
3458
|
}
|
|
3258
3459
|
),
|
|
3259
|
-
/* @__PURE__ */
|
|
3460
|
+
/* @__PURE__ */ jsx73(
|
|
3260
3461
|
"div",
|
|
3261
3462
|
{
|
|
3262
3463
|
className: cn(
|
|
3263
3464
|
"min-w-0",
|
|
3264
3465
|
resolvedVariant === "plain" && !hasAction ? "flex-none text-center" : "flex-1"
|
|
3265
3466
|
),
|
|
3266
|
-
children: /* @__PURE__ */
|
|
3467
|
+
children: /* @__PURE__ */ jsxs68(
|
|
3267
3468
|
"div",
|
|
3268
3469
|
{
|
|
3269
3470
|
className: cn(
|
|
@@ -3272,14 +3473,14 @@ var InlineAlert = ({
|
|
|
3272
3473
|
resolvedVariant === "plain" && !hasAction ? "items-center" : null
|
|
3273
3474
|
),
|
|
3274
3475
|
children: [
|
|
3275
|
-
title ? /* @__PURE__ */
|
|
3276
|
-
/* @__PURE__ */
|
|
3476
|
+
title ? /* @__PURE__ */ jsx73("p", { className: "text-agg-sm font-agg-bold leading-agg-5 text-agg-foreground", children: title }) : null,
|
|
3477
|
+
/* @__PURE__ */ jsx73("p", { className: "text-agg-sm leading-agg-5 text-agg-foreground", children: message })
|
|
3277
3478
|
]
|
|
3278
3479
|
}
|
|
3279
3480
|
)
|
|
3280
3481
|
}
|
|
3281
3482
|
),
|
|
3282
|
-
hasAction ? /* @__PURE__ */
|
|
3483
|
+
hasAction ? /* @__PURE__ */ jsx73(
|
|
3283
3484
|
"button",
|
|
3284
3485
|
{
|
|
3285
3486
|
type: "button",
|
|
@@ -3301,7 +3502,7 @@ InlineAlert.displayName = "InlineAlert";
|
|
|
3301
3502
|
// src/primitives/number-value.tsx
|
|
3302
3503
|
import { useMemo as useMemo3 } from "react";
|
|
3303
3504
|
import { useSdkUiConfig as useSdkUiConfig7 } from "@agg-market/hooks";
|
|
3304
|
-
import { jsx as
|
|
3505
|
+
import { jsx as jsx74 } from "react/jsx-runtime";
|
|
3305
3506
|
var NumberValue = ({
|
|
3306
3507
|
value,
|
|
3307
3508
|
format = "number",
|
|
@@ -3313,19 +3514,14 @@ var NumberValue = ({
|
|
|
3313
3514
|
formatting: { formatCompactCurrency, formatCurrency, formatDate, formatNumber, formatPercent }
|
|
3314
3515
|
} = useSdkUiConfig7();
|
|
3315
3516
|
const formatted = useMemo3(() => {
|
|
3316
|
-
if (value == null)
|
|
3317
|
-
return fallback;
|
|
3517
|
+
if (value == null) return fallback;
|
|
3318
3518
|
if (format === "date") {
|
|
3319
|
-
if (value instanceof Date)
|
|
3320
|
-
return formatDate(value);
|
|
3519
|
+
if (value instanceof Date) return formatDate(value);
|
|
3321
3520
|
return fallback;
|
|
3322
3521
|
}
|
|
3323
|
-
if (typeof value !== "number")
|
|
3324
|
-
|
|
3325
|
-
if (format === "
|
|
3326
|
-
return formatPercent(value);
|
|
3327
|
-
if (format === "currency")
|
|
3328
|
-
return formatCurrency(value);
|
|
3522
|
+
if (typeof value !== "number") return fallback;
|
|
3523
|
+
if (format === "percent") return formatPercent(value);
|
|
3524
|
+
if (format === "currency") return formatCurrency(value);
|
|
3329
3525
|
if (format === "compactCurrency") {
|
|
3330
3526
|
return formatCompactCurrency(value);
|
|
3331
3527
|
}
|
|
@@ -3340,7 +3536,7 @@ var NumberValue = ({
|
|
|
3340
3536
|
formatPercent,
|
|
3341
3537
|
value
|
|
3342
3538
|
]);
|
|
3343
|
-
return /* @__PURE__ */
|
|
3539
|
+
return /* @__PURE__ */ jsx74("span", { className: cn("font-agg-sans", className), "aria-label": ariaLabel, children: formatted });
|
|
3344
3540
|
};
|
|
3345
3541
|
NumberValue.displayName = "NumberValue";
|
|
3346
3542
|
|
|
@@ -3357,7 +3553,7 @@ var skeletonClasses = "h-full w-full rounded-agg-lg";
|
|
|
3357
3553
|
var placeholderClasses = "flex h-full w-full items-center justify-center bg-agg-secondary-hover rounded-agg-lg";
|
|
3358
3554
|
|
|
3359
3555
|
// src/primitives/remote-image/index.tsx
|
|
3360
|
-
import { jsx as
|
|
3556
|
+
import { jsx as jsx75, jsxs as jsxs69 } from "react/jsx-runtime";
|
|
3361
3557
|
var isValidSrc = (src) => typeof src === "string" && src.length > 0;
|
|
3362
3558
|
var RemoteImage = ({
|
|
3363
3559
|
src,
|
|
@@ -3388,7 +3584,7 @@ var RemoteImage = ({
|
|
|
3388
3584
|
setStatus("error");
|
|
3389
3585
|
};
|
|
3390
3586
|
const sizeStyle = width !== void 0 || height !== void 0 ? { width: width != null ? width : void 0, height: height != null ? height : void 0 } : void 0;
|
|
3391
|
-
return /* @__PURE__ */
|
|
3587
|
+
return /* @__PURE__ */ jsxs69(
|
|
3392
3588
|
"div",
|
|
3393
3589
|
{
|
|
3394
3590
|
className: cn(containerClasses, classNames == null ? void 0 : classNames.root, className),
|
|
@@ -3405,17 +3601,17 @@ var RemoteImage = ({
|
|
|
3405
3601
|
"aria-label": ariaLabel,
|
|
3406
3602
|
title,
|
|
3407
3603
|
children: [
|
|
3408
|
-
status === "loading" && /* @__PURE__ */
|
|
3409
|
-
status === "error" && /* @__PURE__ */
|
|
3604
|
+
status === "loading" && /* @__PURE__ */ jsx75(SkeletonBlock, { className: cn(skeletonClasses, classNames == null ? void 0 : classNames.placeholder) }),
|
|
3605
|
+
status === "error" && /* @__PURE__ */ jsx75(
|
|
3410
3606
|
"div",
|
|
3411
3607
|
{
|
|
3412
3608
|
className: cn(placeholderClasses, classNames == null ? void 0 : classNames.placeholder),
|
|
3413
3609
|
"aria-hidden": true,
|
|
3414
3610
|
"aria-errormessage": "Image failed to load",
|
|
3415
|
-
children: /* @__PURE__ */
|
|
3611
|
+
children: /* @__PURE__ */ jsx75(Icon, { name: "image", size: "medium", className: "text-agg-muted-foreground" })
|
|
3416
3612
|
}
|
|
3417
3613
|
),
|
|
3418
|
-
isValidSrc(src) && status !== "error" && /* @__PURE__ */
|
|
3614
|
+
isValidSrc(src) && status !== "error" && /* @__PURE__ */ jsx75(
|
|
3419
3615
|
"img",
|
|
3420
3616
|
{
|
|
3421
3617
|
src,
|
|
@@ -3440,15 +3636,13 @@ var resolveLogoPrimaryColor = ({
|
|
|
3440
3636
|
isColor = true,
|
|
3441
3637
|
color
|
|
3442
3638
|
}) => {
|
|
3443
|
-
if (typeof color === "string" && color.trim())
|
|
3444
|
-
|
|
3445
|
-
if (!isColor)
|
|
3446
|
-
return DEFAULT_MONOCHROME_COLOR;
|
|
3639
|
+
if (typeof color === "string" && color.trim()) return color;
|
|
3640
|
+
if (!isColor) return DEFAULT_MONOCHROME_COLOR;
|
|
3447
3641
|
return brandColor;
|
|
3448
3642
|
};
|
|
3449
3643
|
|
|
3450
3644
|
// src/primitives/venue-logo/svg/logo-kalshi.tsx
|
|
3451
|
-
import { jsx as
|
|
3645
|
+
import { jsx as jsx76, jsxs as jsxs70 } from "react/jsx-runtime";
|
|
3452
3646
|
var KALSHI_GREEN = "#18C590";
|
|
3453
3647
|
var LogoKalshiIcon = (_a) => {
|
|
3454
3648
|
var _b = _a, {
|
|
@@ -3467,7 +3661,7 @@ var LogoKalshiIcon = (_a) => {
|
|
|
3467
3661
|
isColor,
|
|
3468
3662
|
color
|
|
3469
3663
|
});
|
|
3470
|
-
return /* @__PURE__ */
|
|
3664
|
+
return /* @__PURE__ */ jsxs70(
|
|
3471
3665
|
"svg",
|
|
3472
3666
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3473
3667
|
viewBox: "0 0 100 100",
|
|
@@ -3475,8 +3669,8 @@ var LogoKalshiIcon = (_a) => {
|
|
|
3475
3669
|
fill: "none"
|
|
3476
3670
|
}, getIconA11yProps(title)), props), {
|
|
3477
3671
|
children: [
|
|
3478
|
-
title ? /* @__PURE__ */
|
|
3479
|
-
/* @__PURE__ */
|
|
3672
|
+
title ? /* @__PURE__ */ jsx76("title", { children: title }) : null,
|
|
3673
|
+
/* @__PURE__ */ jsx76(
|
|
3480
3674
|
"path",
|
|
3481
3675
|
{
|
|
3482
3676
|
d: "M54.9798 47.579L79.4249 85.9995H58.2273L38.2531 52.9344V85.9995H20.4189V13.9995H38.2531V45.4356L59.6547 13.9995H78.7119L54.9798 47.579Z",
|
|
@@ -3490,7 +3684,7 @@ var LogoKalshiIcon = (_a) => {
|
|
|
3490
3684
|
LogoKalshiIcon.displayName = "LogoKalshiIcon";
|
|
3491
3685
|
|
|
3492
3686
|
// src/primitives/venue-logo/svg/logo-limitless.tsx
|
|
3493
|
-
import { jsx as
|
|
3687
|
+
import { jsx as jsx77, jsxs as jsxs71 } from "react/jsx-runtime";
|
|
3494
3688
|
var LIMITLESS_BLACK = "#000000";
|
|
3495
3689
|
var LogoLimitlessIcon = (_a) => {
|
|
3496
3690
|
var _b = _a, {
|
|
@@ -3509,7 +3703,7 @@ var LogoLimitlessIcon = (_a) => {
|
|
|
3509
3703
|
isColor,
|
|
3510
3704
|
color
|
|
3511
3705
|
});
|
|
3512
|
-
return /* @__PURE__ */
|
|
3706
|
+
return /* @__PURE__ */ jsxs71(
|
|
3513
3707
|
"svg",
|
|
3514
3708
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3515
3709
|
viewBox: "0 0 44 32",
|
|
@@ -3517,8 +3711,8 @@ var LogoLimitlessIcon = (_a) => {
|
|
|
3517
3711
|
fill: "none"
|
|
3518
3712
|
}, getIconA11yProps(title)), props), {
|
|
3519
3713
|
children: [
|
|
3520
|
-
title ? /* @__PURE__ */
|
|
3521
|
-
/* @__PURE__ */
|
|
3714
|
+
title ? /* @__PURE__ */ jsx77("title", { children: title }) : null,
|
|
3715
|
+
/* @__PURE__ */ jsx77(
|
|
3522
3716
|
"path",
|
|
3523
3717
|
{
|
|
3524
3718
|
fill: primaryColor,
|
|
@@ -3527,7 +3721,7 @@ var LogoLimitlessIcon = (_a) => {
|
|
|
3527
3721
|
clipRule: "evenodd"
|
|
3528
3722
|
}
|
|
3529
3723
|
),
|
|
3530
|
-
/* @__PURE__ */
|
|
3724
|
+
/* @__PURE__ */ jsx77(
|
|
3531
3725
|
"path",
|
|
3532
3726
|
{
|
|
3533
3727
|
fill: primaryColor,
|
|
@@ -3536,7 +3730,7 @@ var LogoLimitlessIcon = (_a) => {
|
|
|
3536
3730
|
clipRule: "evenodd"
|
|
3537
3731
|
}
|
|
3538
3732
|
),
|
|
3539
|
-
/* @__PURE__ */
|
|
3733
|
+
/* @__PURE__ */ jsx77(
|
|
3540
3734
|
"path",
|
|
3541
3735
|
{
|
|
3542
3736
|
fill: primaryColor,
|
|
@@ -3545,7 +3739,7 @@ var LogoLimitlessIcon = (_a) => {
|
|
|
3545
3739
|
clipRule: "evenodd"
|
|
3546
3740
|
}
|
|
3547
3741
|
),
|
|
3548
|
-
/* @__PURE__ */
|
|
3742
|
+
/* @__PURE__ */ jsx77(
|
|
3549
3743
|
"path",
|
|
3550
3744
|
{
|
|
3551
3745
|
fill: primaryColor,
|
|
@@ -3554,7 +3748,7 @@ var LogoLimitlessIcon = (_a) => {
|
|
|
3554
3748
|
clipRule: "evenodd"
|
|
3555
3749
|
}
|
|
3556
3750
|
),
|
|
3557
|
-
/* @__PURE__ */
|
|
3751
|
+
/* @__PURE__ */ jsx77(
|
|
3558
3752
|
"path",
|
|
3559
3753
|
{
|
|
3560
3754
|
fill: primaryColor,
|
|
@@ -3570,7 +3764,7 @@ var LogoLimitlessIcon = (_a) => {
|
|
|
3570
3764
|
LogoLimitlessIcon.displayName = "LogoLimitlessIcon";
|
|
3571
3765
|
|
|
3572
3766
|
// src/primitives/venue-logo/svg/logo-opinion.tsx
|
|
3573
|
-
import { jsx as
|
|
3767
|
+
import { jsx as jsx78, jsxs as jsxs72 } from "react/jsx-runtime";
|
|
3574
3768
|
var OPINION_BLACK = "#000000";
|
|
3575
3769
|
var LogoOpinionIcon = (_a) => {
|
|
3576
3770
|
var _b = _a, {
|
|
@@ -3589,7 +3783,7 @@ var LogoOpinionIcon = (_a) => {
|
|
|
3589
3783
|
isColor,
|
|
3590
3784
|
color
|
|
3591
3785
|
});
|
|
3592
|
-
return /* @__PURE__ */
|
|
3786
|
+
return /* @__PURE__ */ jsxs72(
|
|
3593
3787
|
"svg",
|
|
3594
3788
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3595
3789
|
viewBox: "0 0 100 100",
|
|
@@ -3597,8 +3791,8 @@ var LogoOpinionIcon = (_a) => {
|
|
|
3597
3791
|
fill: "none"
|
|
3598
3792
|
}, getIconA11yProps(title)), props), {
|
|
3599
3793
|
children: [
|
|
3600
|
-
title ? /* @__PURE__ */
|
|
3601
|
-
/* @__PURE__ */
|
|
3794
|
+
title ? /* @__PURE__ */ jsx78("title", { children: title }) : null,
|
|
3795
|
+
/* @__PURE__ */ jsx78(
|
|
3602
3796
|
"path",
|
|
3603
3797
|
{
|
|
3604
3798
|
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",
|
|
@@ -3612,7 +3806,7 @@ var LogoOpinionIcon = (_a) => {
|
|
|
3612
3806
|
LogoOpinionIcon.displayName = "LogoOpinionIcon";
|
|
3613
3807
|
|
|
3614
3808
|
// src/primitives/venue-logo/svg/logo-polymarket.tsx
|
|
3615
|
-
import { jsx as
|
|
3809
|
+
import { jsx as jsx79, jsxs as jsxs73 } from "react/jsx-runtime";
|
|
3616
3810
|
var POLYMARKET_BLUE = "#2E5CFF";
|
|
3617
3811
|
var LogoPolymarketIcon = (_a) => {
|
|
3618
3812
|
var _b = _a, {
|
|
@@ -3631,7 +3825,7 @@ var LogoPolymarketIcon = (_a) => {
|
|
|
3631
3825
|
isColor,
|
|
3632
3826
|
color
|
|
3633
3827
|
});
|
|
3634
|
-
return /* @__PURE__ */
|
|
3828
|
+
return /* @__PURE__ */ jsxs73(
|
|
3635
3829
|
"svg",
|
|
3636
3830
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3637
3831
|
viewBox: "0 0 100 100",
|
|
@@ -3639,8 +3833,8 @@ var LogoPolymarketIcon = (_a) => {
|
|
|
3639
3833
|
fill: "none"
|
|
3640
3834
|
}, getIconA11yProps(title)), props), {
|
|
3641
3835
|
children: [
|
|
3642
|
-
title ? /* @__PURE__ */
|
|
3643
|
-
/* @__PURE__ */
|
|
3836
|
+
title ? /* @__PURE__ */ jsx79("title", { children: title }) : null,
|
|
3837
|
+
/* @__PURE__ */ jsx79(
|
|
3644
3838
|
"path",
|
|
3645
3839
|
{
|
|
3646
3840
|
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",
|
|
@@ -3654,7 +3848,7 @@ var LogoPolymarketIcon = (_a) => {
|
|
|
3654
3848
|
LogoPolymarketIcon.displayName = "LogoPolymarketIcon";
|
|
3655
3849
|
|
|
3656
3850
|
// src/primitives/venue-logo/svg/logo-probable.tsx
|
|
3657
|
-
import { jsx as
|
|
3851
|
+
import { jsx as jsx80, jsxs as jsxs74 } from "react/jsx-runtime";
|
|
3658
3852
|
var PROBABLE_ORANGE = "#F05923";
|
|
3659
3853
|
var LogoProbableIcon = (_a) => {
|
|
3660
3854
|
var _b = _a, {
|
|
@@ -3673,7 +3867,7 @@ var LogoProbableIcon = (_a) => {
|
|
|
3673
3867
|
isColor,
|
|
3674
3868
|
color
|
|
3675
3869
|
});
|
|
3676
|
-
return /* @__PURE__ */
|
|
3870
|
+
return /* @__PURE__ */ jsxs74(
|
|
3677
3871
|
"svg",
|
|
3678
3872
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3679
3873
|
viewBox: "0 0 100 100",
|
|
@@ -3681,16 +3875,16 @@ var LogoProbableIcon = (_a) => {
|
|
|
3681
3875
|
fill: "none"
|
|
3682
3876
|
}, getIconA11yProps(title)), props), {
|
|
3683
3877
|
children: [
|
|
3684
|
-
title ? /* @__PURE__ */
|
|
3685
|
-
/* @__PURE__ */
|
|
3878
|
+
title ? /* @__PURE__ */ jsx80("title", { children: title }) : null,
|
|
3879
|
+
/* @__PURE__ */ jsx80(
|
|
3686
3880
|
"path",
|
|
3687
3881
|
{
|
|
3688
3882
|
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",
|
|
3689
3883
|
fill: primaryColor
|
|
3690
3884
|
}
|
|
3691
3885
|
),
|
|
3692
|
-
/* @__PURE__ */
|
|
3693
|
-
/* @__PURE__ */
|
|
3886
|
+
/* @__PURE__ */ jsx80("path", { d: "M90.9329 15.4546V30.4546H8.90234V15.4546H90.9329Z", fill: primaryColor }),
|
|
3887
|
+
/* @__PURE__ */ jsx80(
|
|
3694
3888
|
"path",
|
|
3695
3889
|
{
|
|
3696
3890
|
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",
|
|
@@ -3734,7 +3928,7 @@ var sizeClasses2 = {
|
|
|
3734
3928
|
};
|
|
3735
3929
|
|
|
3736
3930
|
// src/primitives/venue-logo/index.tsx
|
|
3737
|
-
import { jsx as
|
|
3931
|
+
import { jsx as jsx81 } from "react/jsx-runtime";
|
|
3738
3932
|
var VenueLogo = ({
|
|
3739
3933
|
venue,
|
|
3740
3934
|
variant = "icon",
|
|
@@ -3753,10 +3947,9 @@ var VenueLogo = ({
|
|
|
3753
3947
|
const labels = useLabels9();
|
|
3754
3948
|
const sizeClass = sizeClasses2[size];
|
|
3755
3949
|
const resolvedLabel = (_a = ariaLabel != null ? ariaLabel : labels.venues[venue]) != null ? _a : venueLogoLabels[venue];
|
|
3756
|
-
if (!showVenueLogo)
|
|
3757
|
-
return null;
|
|
3950
|
+
if (!showVenueLogo) return null;
|
|
3758
3951
|
if (variant === "logo") {
|
|
3759
|
-
return /* @__PURE__ */
|
|
3952
|
+
return /* @__PURE__ */ jsx81(
|
|
3760
3953
|
RemoteImage,
|
|
3761
3954
|
{
|
|
3762
3955
|
src: venueLogoUrlRegistry[venue],
|
|
@@ -3768,7 +3961,7 @@ var VenueLogo = ({
|
|
|
3768
3961
|
}
|
|
3769
3962
|
const Component = venueLogoRegistry[venue];
|
|
3770
3963
|
const resolvedIsColor = isMonochromatic ? false : isColor;
|
|
3771
|
-
return /* @__PURE__ */
|
|
3964
|
+
return /* @__PURE__ */ jsx81(
|
|
3772
3965
|
Component,
|
|
3773
3966
|
{
|
|
3774
3967
|
className: cn("group/agg-venue-logo", "shrink-0", sizeClass, className),
|
|
@@ -3797,7 +3990,7 @@ var baseBadgeClasses = cn(
|
|
|
3797
3990
|
);
|
|
3798
3991
|
|
|
3799
3992
|
// src/primitives/badge/index.tsx
|
|
3800
|
-
import { jsx as
|
|
3993
|
+
import { jsx as jsx82, jsxs as jsxs75 } from "react/jsx-runtime";
|
|
3801
3994
|
function Badge({
|
|
3802
3995
|
text,
|
|
3803
3996
|
prefix,
|
|
@@ -3812,7 +4005,7 @@ function Badge({
|
|
|
3812
4005
|
} = useSdkUiConfig8();
|
|
3813
4006
|
const resolvedText = `${text}`;
|
|
3814
4007
|
const resolvedAriaLabel = resolvedText.length > 0 ? resolvedText : void 0;
|
|
3815
|
-
return /* @__PURE__ */
|
|
4008
|
+
return /* @__PURE__ */ jsxs75(
|
|
3816
4009
|
"span",
|
|
3817
4010
|
__spreadProps(__spreadValues({
|
|
3818
4011
|
"aria-label": resolvedAriaLabel,
|
|
@@ -3830,9 +4023,9 @@ function Badge({
|
|
|
3830
4023
|
)
|
|
3831
4024
|
}, onClick && { onClick }), {
|
|
3832
4025
|
children: [
|
|
3833
|
-
prefix ? /* @__PURE__ */
|
|
3834
|
-
/* @__PURE__ */
|
|
3835
|
-
suffix ? /* @__PURE__ */
|
|
4026
|
+
prefix ? /* @__PURE__ */ jsx82("span", { className: cn(classNames == null ? void 0 : classNames.prefix, "empty:hidden"), children: prefix }) : null,
|
|
4027
|
+
/* @__PURE__ */ jsx82("span", { className: cn("truncate", classNames == null ? void 0 : classNames.text), children: text }),
|
|
4028
|
+
suffix ? /* @__PURE__ */ jsx82("span", { className: cn(classNames == null ? void 0 : classNames.suffix, "empty:hidden"), children: suffix }) : null
|
|
3836
4029
|
]
|
|
3837
4030
|
})
|
|
3838
4031
|
);
|
|
@@ -3842,7 +4035,7 @@ Badge.displayName = "Badge";
|
|
|
3842
4035
|
// src/primitives/select/index.tsx
|
|
3843
4036
|
import { useCallback, useEffect as useEffect3, useRef as useRef2, useState as useState4 } from "react";
|
|
3844
4037
|
import { useLabels as useLabels10, useSdkUiConfig as useSdkUiConfig9 } from "@agg-market/hooks";
|
|
3845
|
-
import { jsx as
|
|
4038
|
+
import { jsx as jsx83, jsxs as jsxs76 } from "react/jsx-runtime";
|
|
3846
4039
|
var Select = ({
|
|
3847
4040
|
items,
|
|
3848
4041
|
value,
|
|
@@ -3862,8 +4055,7 @@ var Select = ({
|
|
|
3862
4055
|
const containerRef = useRef2(null);
|
|
3863
4056
|
const close = useCallback(() => setIsOpen(false), []);
|
|
3864
4057
|
useEffect3(() => {
|
|
3865
|
-
if (!isOpen)
|
|
3866
|
-
return;
|
|
4058
|
+
if (!isOpen) return;
|
|
3867
4059
|
const handlePointerDown = (e) => {
|
|
3868
4060
|
if (containerRef.current && !containerRef.current.contains(e == null ? void 0 : e.target)) {
|
|
3869
4061
|
close();
|
|
@@ -3873,11 +4065,9 @@ var Select = ({
|
|
|
3873
4065
|
return () => document.removeEventListener("mousedown", handlePointerDown);
|
|
3874
4066
|
}, [isOpen, close]);
|
|
3875
4067
|
useEffect3(() => {
|
|
3876
|
-
if (!isOpen)
|
|
3877
|
-
return;
|
|
4068
|
+
if (!isOpen) return;
|
|
3878
4069
|
const handleKey = (e) => {
|
|
3879
|
-
if ((e == null ? void 0 : e.key) === "Escape")
|
|
3880
|
-
close();
|
|
4070
|
+
if ((e == null ? void 0 : e.key) === "Escape") close();
|
|
3881
4071
|
};
|
|
3882
4072
|
document.addEventListener("keydown", handleKey);
|
|
3883
4073
|
return () => document.removeEventListener("keydown", handleKey);
|
|
@@ -3885,8 +4075,8 @@ var Select = ({
|
|
|
3885
4075
|
const isDisabled = disabled || !hasEnabledItems;
|
|
3886
4076
|
const selectedItem = items.find((item) => item.value === value);
|
|
3887
4077
|
if (!hasAnyIcon) {
|
|
3888
|
-
return /* @__PURE__ */
|
|
3889
|
-
/* @__PURE__ */
|
|
4078
|
+
return /* @__PURE__ */ jsxs76("label", { className: cn("group/agg-select", "relative inline-flex w-full", className), children: [
|
|
4079
|
+
/* @__PURE__ */ jsx83(
|
|
3890
4080
|
"select",
|
|
3891
4081
|
{
|
|
3892
4082
|
"aria-label": ariaLabel != null ? ariaLabel : labels.common.selectAria,
|
|
@@ -3902,19 +4092,19 @@ var Select = ({
|
|
|
3902
4092
|
disabled: isDisabled,
|
|
3903
4093
|
value,
|
|
3904
4094
|
onChange: (event) => onChange(event.target.value),
|
|
3905
|
-
children: items.map((item) => /* @__PURE__ */
|
|
4095
|
+
children: items.map((item) => /* @__PURE__ */ jsx83("option", { value: item.value, disabled: item.disabled, children: item.label }, item.value))
|
|
3906
4096
|
}
|
|
3907
4097
|
),
|
|
3908
|
-
/* @__PURE__ */
|
|
4098
|
+
/* @__PURE__ */ jsx83("span", { className: "pointer-events-none absolute inset-y-0 right-3 inline-flex items-center justify-center text-agg-muted-foreground", children: /* @__PURE__ */ jsx83(Icon, { name: "chevron-down", size: "small", color: "currentColor" }) })
|
|
3909
4099
|
] });
|
|
3910
4100
|
}
|
|
3911
|
-
return /* @__PURE__ */
|
|
4101
|
+
return /* @__PURE__ */ jsxs76(
|
|
3912
4102
|
"div",
|
|
3913
4103
|
{
|
|
3914
4104
|
ref: containerRef,
|
|
3915
4105
|
className: cn("group/agg-select", "relative inline-flex w-full", className),
|
|
3916
4106
|
children: [
|
|
3917
|
-
/* @__PURE__ */
|
|
4107
|
+
/* @__PURE__ */ jsxs76(
|
|
3918
4108
|
"button",
|
|
3919
4109
|
{
|
|
3920
4110
|
type: "button",
|
|
@@ -3934,7 +4124,7 @@ var Select = ({
|
|
|
3934
4124
|
),
|
|
3935
4125
|
onClick: () => setIsOpen((prev) => !prev),
|
|
3936
4126
|
children: [
|
|
3937
|
-
(selectedItem == null ? void 0 : selectedItem.iconUrl) ? /* @__PURE__ */
|
|
4127
|
+
(selectedItem == null ? void 0 : selectedItem.iconUrl) ? /* @__PURE__ */ jsx83(
|
|
3938
4128
|
RemoteImage,
|
|
3939
4129
|
{
|
|
3940
4130
|
src: selectedItem.iconUrl,
|
|
@@ -3942,12 +4132,12 @@ var Select = ({
|
|
|
3942
4132
|
className: "h-4 w-4 shrink-0 rounded-sm object-contain"
|
|
3943
4133
|
}
|
|
3944
4134
|
) : null,
|
|
3945
|
-
/* @__PURE__ */
|
|
4135
|
+
/* @__PURE__ */ jsx83("span", { className: "flex-1 truncate", children: (_a = selectedItem == null ? void 0 : selectedItem.label) != null ? _a : "" })
|
|
3946
4136
|
]
|
|
3947
4137
|
}
|
|
3948
4138
|
),
|
|
3949
|
-
/* @__PURE__ */
|
|
3950
|
-
isOpen ? /* @__PURE__ */
|
|
4139
|
+
/* @__PURE__ */ jsx83("span", { className: "pointer-events-none absolute inset-y-0 right-3 inline-flex items-center justify-center text-agg-muted-foreground", children: /* @__PURE__ */ jsx83(Icon, { name: "chevron-down", size: "small", color: "currentColor" }) }),
|
|
4140
|
+
isOpen ? /* @__PURE__ */ jsx83(
|
|
3951
4141
|
"div",
|
|
3952
4142
|
{
|
|
3953
4143
|
role: "listbox",
|
|
@@ -3955,7 +4145,7 @@ var Select = ({
|
|
|
3955
4145
|
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",
|
|
3956
4146
|
children: items.map((item) => {
|
|
3957
4147
|
const isSelected = item.value === value;
|
|
3958
|
-
return /* @__PURE__ */
|
|
4148
|
+
return /* @__PURE__ */ jsxs76(
|
|
3959
4149
|
"button",
|
|
3960
4150
|
{
|
|
3961
4151
|
type: "button",
|
|
@@ -3975,7 +4165,7 @@ var Select = ({
|
|
|
3975
4165
|
}
|
|
3976
4166
|
},
|
|
3977
4167
|
children: [
|
|
3978
|
-
item.iconUrl ? /* @__PURE__ */
|
|
4168
|
+
item.iconUrl ? /* @__PURE__ */ jsx83(
|
|
3979
4169
|
RemoteImage,
|
|
3980
4170
|
{
|
|
3981
4171
|
src: item.iconUrl,
|
|
@@ -3983,7 +4173,7 @@ var Select = ({
|
|
|
3983
4173
|
className: "h-4 w-4 shrink-0 rounded-sm object-contain"
|
|
3984
4174
|
}
|
|
3985
4175
|
) : null,
|
|
3986
|
-
/* @__PURE__ */
|
|
4176
|
+
/* @__PURE__ */ jsx83("span", { className: "truncate", children: item.label })
|
|
3987
4177
|
]
|
|
3988
4178
|
},
|
|
3989
4179
|
item.value
|
|
@@ -4006,10 +4196,10 @@ import {
|
|
|
4006
4196
|
import { useLabels as useLabels11, useSdkUiConfig as useSdkUiConfig10, useVenueEvents } from "@agg-market/hooks";
|
|
4007
4197
|
|
|
4008
4198
|
// src/primitives/search/search-empty-icon.tsx
|
|
4009
|
-
import { jsx as
|
|
4199
|
+
import { jsx as jsx84, jsxs as jsxs77 } from "react/jsx-runtime";
|
|
4010
4200
|
var SearchEmptyIcon = (_a) => {
|
|
4011
4201
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
4012
|
-
return /* @__PURE__ */
|
|
4202
|
+
return /* @__PURE__ */ jsxs77(
|
|
4013
4203
|
"svg",
|
|
4014
4204
|
__spreadProps(__spreadValues(__spreadValues({
|
|
4015
4205
|
viewBox: "0 0 40 40",
|
|
@@ -4018,9 +4208,9 @@ var SearchEmptyIcon = (_a) => {
|
|
|
4018
4208
|
className
|
|
4019
4209
|
}, getIconA11yProps(title)), props), {
|
|
4020
4210
|
children: [
|
|
4021
|
-
title ? /* @__PURE__ */
|
|
4022
|
-
/* @__PURE__ */
|
|
4023
|
-
/* @__PURE__ */
|
|
4211
|
+
title ? /* @__PURE__ */ jsx84("title", { children: title }) : null,
|
|
4212
|
+
/* @__PURE__ */ jsx84("circle", { cx: "19.9987", cy: "20.0013", r: "9.2", stroke: "currentColor", strokeWidth: "1.6" }),
|
|
4213
|
+
/* @__PURE__ */ jsx84(
|
|
4024
4214
|
"ellipse",
|
|
4025
4215
|
{
|
|
4026
4216
|
cx: "19.9987",
|
|
@@ -4043,27 +4233,21 @@ import dayjs2 from "dayjs";
|
|
|
4043
4233
|
|
|
4044
4234
|
// src/events/item/event-list-item.utils.ts
|
|
4045
4235
|
var resolveEventListItemEvent = (fetchedEvent) => {
|
|
4046
|
-
if (!fetchedEvent)
|
|
4047
|
-
|
|
4048
|
-
if (!fetchedEvent.venueMarkets || fetchedEvent.venueMarkets.length === 0)
|
|
4049
|
-
return void 0;
|
|
4236
|
+
if (!fetchedEvent) return void 0;
|
|
4237
|
+
if (!fetchedEvent.venueMarkets || fetchedEvent.venueMarkets.length === 0) return void 0;
|
|
4050
4238
|
return fetchedEvent;
|
|
4051
4239
|
};
|
|
4052
4240
|
var normalizeProbability = (value) => {
|
|
4053
|
-
if (typeof value !== "number" || !Number.isFinite(value))
|
|
4054
|
-
|
|
4055
|
-
if (value
|
|
4056
|
-
return 0;
|
|
4057
|
-
if (value > 1)
|
|
4058
|
-
return 1;
|
|
4241
|
+
if (typeof value !== "number" || !Number.isFinite(value)) return void 0;
|
|
4242
|
+
if (value < 0) return 0;
|
|
4243
|
+
if (value > 1) return 1;
|
|
4059
4244
|
return value;
|
|
4060
4245
|
};
|
|
4061
4246
|
var hasDateLabel = (outcome) => {
|
|
4062
4247
|
return !!toDate(outcome.label);
|
|
4063
4248
|
};
|
|
4064
4249
|
var sortOutcomes = (outcomes) => {
|
|
4065
|
-
if (outcomes.length <= 1)
|
|
4066
|
-
return outcomes;
|
|
4250
|
+
if (outcomes.length <= 1) return outcomes;
|
|
4067
4251
|
const now = Date.now();
|
|
4068
4252
|
if (outcomes.some(hasDateLabel)) {
|
|
4069
4253
|
return [...outcomes].sort((a, b) => {
|
|
@@ -4123,15 +4307,12 @@ var resolveVisibleOutcomes = (venueMarkets, maxOutcomes) => {
|
|
|
4123
4307
|
return [...visibleOutcomesByLabel.values()].sort(compareVisibleOutcomeRows).slice(0, Math.max(1, maxOutcomes));
|
|
4124
4308
|
};
|
|
4125
4309
|
var resolveOutcomeTitle = (outcome) => {
|
|
4126
|
-
if (outcome.title && outcome.title.trim())
|
|
4127
|
-
return outcome.title;
|
|
4310
|
+
if (outcome.title && outcome.title.trim()) return outcome.title;
|
|
4128
4311
|
return outcome.label;
|
|
4129
4312
|
};
|
|
4130
4313
|
var selectPrimaryVenueMarket = (venueMarkets) => {
|
|
4131
|
-
if (venueMarkets.length === 0)
|
|
4132
|
-
|
|
4133
|
-
if (venueMarkets.length === 1)
|
|
4134
|
-
return venueMarkets[0];
|
|
4314
|
+
if (venueMarkets.length === 0) return void 0;
|
|
4315
|
+
if (venueMarkets.length === 1) return venueMarkets[0];
|
|
4135
4316
|
return [...venueMarkets].sort((a, b) => {
|
|
4136
4317
|
const aVolume = typeof a.volume === "number" ? a.volume : -1;
|
|
4137
4318
|
const bVolume = typeof b.volume === "number" ? b.volume : -1;
|
|
@@ -4172,35 +4353,29 @@ var getVenueSummary = (venueMarkets) => {
|
|
|
4172
4353
|
};
|
|
4173
4354
|
var resolveVenueLabel = (venue, venueInfo, labels) => {
|
|
4174
4355
|
var _a, _b;
|
|
4175
|
-
if (!venue)
|
|
4176
|
-
return labels.eventItem.venueSingular;
|
|
4356
|
+
if (!venue) return labels.eventItem.venueSingular;
|
|
4177
4357
|
return (_b = (_a = venueInfo == null ? void 0 : venueInfo[venue]) == null ? void 0 : _a.label) != null ? _b : labels.venues[venue];
|
|
4178
4358
|
};
|
|
4179
4359
|
|
|
4180
4360
|
// src/primitives/search/search.utils.ts
|
|
4181
4361
|
var SEARCH_VISIBLE_OUTCOMES_LIMIT = 1;
|
|
4182
4362
|
var formatSearchContextLabel = (value) => {
|
|
4183
|
-
if (!dayjs2(value).isValid())
|
|
4184
|
-
return value;
|
|
4363
|
+
if (!dayjs2(value).isValid()) return value;
|
|
4185
4364
|
return dayjs2(value).format("MMMM D, YYYY");
|
|
4186
4365
|
};
|
|
4187
4366
|
var mapVenueEventToSearchResult = (event, labels, formatPercent, formatCompactCurrency) => {
|
|
4188
4367
|
var _a;
|
|
4189
4368
|
const primaryVenueMarket = selectPrimaryVenueMarket(event.venueMarkets);
|
|
4190
|
-
if (!primaryVenueMarket)
|
|
4191
|
-
return null;
|
|
4369
|
+
if (!primaryVenueMarket) return null;
|
|
4192
4370
|
const visibleOutcome = resolveVisibleOutcomes(
|
|
4193
4371
|
event.venueMarkets,
|
|
4194
4372
|
SEARCH_VISIBLE_OUTCOMES_LIMIT
|
|
4195
4373
|
)[0];
|
|
4196
|
-
if (!visibleOutcome)
|
|
4197
|
-
return null;
|
|
4374
|
+
if (!visibleOutcome) return null;
|
|
4198
4375
|
const probability = normalizeProbability(visibleOutcome.outcome.price);
|
|
4199
|
-
if (probability == null)
|
|
4200
|
-
return null;
|
|
4376
|
+
if (probability == null) return null;
|
|
4201
4377
|
const resolvedTitle = resolveTileTitle(event, primaryVenueMarket, void 0).trim();
|
|
4202
|
-
if (!resolvedTitle)
|
|
4203
|
-
return null;
|
|
4378
|
+
if (!resolvedTitle) return null;
|
|
4204
4379
|
const { marketCount, venueCount } = getVenueSummary(event.venueMarkets);
|
|
4205
4380
|
const marketSummaryLabel = [
|
|
4206
4381
|
formatCountLabel(marketCount, labels.eventItem.marketSingular, labels.eventItem.marketPlural),
|
|
@@ -4226,7 +4401,7 @@ var mapVenueEventToSearchResult = (event, labels, formatPercent, formatCompactCu
|
|
|
4226
4401
|
};
|
|
4227
4402
|
|
|
4228
4403
|
// src/primitives/search/index.tsx
|
|
4229
|
-
import { Fragment as Fragment4, jsx as
|
|
4404
|
+
import { Fragment as Fragment4, jsx as jsx85, jsxs as jsxs78 } from "react/jsx-runtime";
|
|
4230
4405
|
var SearchResultRow = ({
|
|
4231
4406
|
item,
|
|
4232
4407
|
resultAria,
|
|
@@ -4237,7 +4412,7 @@ var SearchResultRow = ({
|
|
|
4237
4412
|
const handleResultClick = () => {
|
|
4238
4413
|
onSelect == null ? void 0 : onSelect(item);
|
|
4239
4414
|
};
|
|
4240
|
-
return /* @__PURE__ */
|
|
4415
|
+
return /* @__PURE__ */ jsxs78(
|
|
4241
4416
|
"button",
|
|
4242
4417
|
{
|
|
4243
4418
|
type: "button",
|
|
@@ -4253,8 +4428,8 @@ var SearchResultRow = ({
|
|
|
4253
4428
|
onClick: handleResultClick,
|
|
4254
4429
|
"aria-label": resultAria(item.title),
|
|
4255
4430
|
children: [
|
|
4256
|
-
/* @__PURE__ */
|
|
4257
|
-
item.thumbnailSrc ? /* @__PURE__ */
|
|
4431
|
+
/* @__PURE__ */ jsxs78("div", { className: "flex min-w-0 flex-1 items-center gap-4", children: [
|
|
4432
|
+
item.thumbnailSrc ? /* @__PURE__ */ jsx85(
|
|
4258
4433
|
RemoteImage,
|
|
4259
4434
|
{
|
|
4260
4435
|
src: item.thumbnailSrc,
|
|
@@ -4264,7 +4439,7 @@ var SearchResultRow = ({
|
|
|
4264
4439
|
classNames == null ? void 0 : classNames.resultThumbnail
|
|
4265
4440
|
)
|
|
4266
4441
|
}
|
|
4267
|
-
) : /* @__PURE__ */
|
|
4442
|
+
) : /* @__PURE__ */ jsx85(
|
|
4268
4443
|
"div",
|
|
4269
4444
|
{
|
|
4270
4445
|
className: cn(
|
|
@@ -4274,8 +4449,8 @@ var SearchResultRow = ({
|
|
|
4274
4449
|
"aria-hidden": true
|
|
4275
4450
|
}
|
|
4276
4451
|
),
|
|
4277
|
-
/* @__PURE__ */
|
|
4278
|
-
/* @__PURE__ */
|
|
4452
|
+
/* @__PURE__ */ jsxs78("div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [
|
|
4453
|
+
/* @__PURE__ */ jsx85(
|
|
4279
4454
|
"p",
|
|
4280
4455
|
{
|
|
4281
4456
|
className: cn(
|
|
@@ -4285,8 +4460,8 @@ var SearchResultRow = ({
|
|
|
4285
4460
|
children: item.title
|
|
4286
4461
|
}
|
|
4287
4462
|
),
|
|
4288
|
-
/* @__PURE__ */
|
|
4289
|
-
/* @__PURE__ */
|
|
4463
|
+
/* @__PURE__ */ jsxs78("div", { className: "flex min-w-0 items-center gap-2 text-agg-muted-foreground", children: [
|
|
4464
|
+
/* @__PURE__ */ jsx85(
|
|
4290
4465
|
"p",
|
|
4291
4466
|
{
|
|
4292
4467
|
className: cn(
|
|
@@ -4296,10 +4471,10 @@ var SearchResultRow = ({
|
|
|
4296
4471
|
children: item.marketSummaryLabel
|
|
4297
4472
|
}
|
|
4298
4473
|
),
|
|
4299
|
-
/* @__PURE__ */
|
|
4300
|
-
item.volumeLabel ? /* @__PURE__ */
|
|
4301
|
-
/* @__PURE__ */
|
|
4302
|
-
/* @__PURE__ */
|
|
4474
|
+
/* @__PURE__ */ jsx85("div", { className: "flex items-center gap-1", "aria-hidden": true, children: item.visibleVenues.map((venue) => /* @__PURE__ */ jsx85(VenueLogo, { venue, className: "size-[14px]" }, `${item.id}-${venue}`)) }),
|
|
4475
|
+
item.volumeLabel ? /* @__PURE__ */ jsxs78(Fragment4, { children: [
|
|
4476
|
+
/* @__PURE__ */ jsx85("span", { className: "text-agg-muted-foreground", "aria-hidden": true, children: "\xB7" }),
|
|
4477
|
+
/* @__PURE__ */ jsx85(
|
|
4303
4478
|
"p",
|
|
4304
4479
|
{
|
|
4305
4480
|
className: cn(
|
|
@@ -4313,10 +4488,10 @@ var SearchResultRow = ({
|
|
|
4313
4488
|
] })
|
|
4314
4489
|
] })
|
|
4315
4490
|
] }),
|
|
4316
|
-
/* @__PURE__ */
|
|
4317
|
-
/* @__PURE__ */
|
|
4318
|
-
/* @__PURE__ */
|
|
4319
|
-
/* @__PURE__ */
|
|
4491
|
+
/* @__PURE__ */ jsxs78("div", { className: cn("flex w-[200px] shrink-0 items-center gap-2", classNames == null ? void 0 : classNames.resultMeta), children: [
|
|
4492
|
+
/* @__PURE__ */ jsx85(VenueLogo, { venue: item.venue, className: "size-4" }),
|
|
4493
|
+
/* @__PURE__ */ jsxs78("div", { className: "flex min-w-0 flex-1 items-baseline gap-2", children: [
|
|
4494
|
+
/* @__PURE__ */ jsx85(
|
|
4320
4495
|
"p",
|
|
4321
4496
|
{
|
|
4322
4497
|
className: cn(
|
|
@@ -4326,7 +4501,7 @@ var SearchResultRow = ({
|
|
|
4326
4501
|
children: item.valueLabel
|
|
4327
4502
|
}
|
|
4328
4503
|
),
|
|
4329
|
-
/* @__PURE__ */
|
|
4504
|
+
/* @__PURE__ */ jsx85(
|
|
4330
4505
|
"p",
|
|
4331
4506
|
{
|
|
4332
4507
|
className: cn(
|
|
@@ -4338,7 +4513,7 @@ var SearchResultRow = ({
|
|
|
4338
4513
|
)
|
|
4339
4514
|
] })
|
|
4340
4515
|
] }),
|
|
4341
|
-
/* @__PURE__ */
|
|
4516
|
+
/* @__PURE__ */ jsx85(
|
|
4342
4517
|
Icon,
|
|
4343
4518
|
{
|
|
4344
4519
|
name: "chevron-right",
|
|
@@ -4354,7 +4529,7 @@ var SearchSeeAllResultsButton = ({
|
|
|
4354
4529
|
label,
|
|
4355
4530
|
onClick
|
|
4356
4531
|
}) => {
|
|
4357
|
-
return /* @__PURE__ */
|
|
4532
|
+
return /* @__PURE__ */ jsxs78(
|
|
4358
4533
|
"button",
|
|
4359
4534
|
{
|
|
4360
4535
|
type: "button",
|
|
@@ -4366,8 +4541,8 @@ var SearchSeeAllResultsButton = ({
|
|
|
4366
4541
|
),
|
|
4367
4542
|
onClick,
|
|
4368
4543
|
children: [
|
|
4369
|
-
/* @__PURE__ */
|
|
4370
|
-
/* @__PURE__ */
|
|
4544
|
+
/* @__PURE__ */ jsx85("span", { children: label }),
|
|
4545
|
+
/* @__PURE__ */ jsx85(Icon, { name: "chevron-right", size: "small", className: "size-[14px] text-agg-primary" })
|
|
4371
4546
|
]
|
|
4372
4547
|
}
|
|
4373
4548
|
);
|
|
@@ -4429,8 +4604,7 @@ var Search = ({
|
|
|
4429
4604
|
formatPercent,
|
|
4430
4605
|
formatCompactCurrency
|
|
4431
4606
|
);
|
|
4432
|
-
if (!item)
|
|
4433
|
-
return null;
|
|
4607
|
+
if (!item) return null;
|
|
4434
4608
|
nextEventsByResultId.set(item.id, event);
|
|
4435
4609
|
return item;
|
|
4436
4610
|
}).filter((item) => item != null);
|
|
@@ -4451,8 +4625,7 @@ var Search = ({
|
|
|
4451
4625
|
};
|
|
4452
4626
|
const handleResultSelect = (item) => {
|
|
4453
4627
|
const selectedEvent = eventsByResultId.get(item.id);
|
|
4454
|
-
if (!selectedEvent)
|
|
4455
|
-
return;
|
|
4628
|
+
if (!selectedEvent) return;
|
|
4456
4629
|
searchConfig.onSelect(selectedEvent);
|
|
4457
4630
|
};
|
|
4458
4631
|
const handleFocusWithin = () => {
|
|
@@ -4468,14 +4641,14 @@ var Search = ({
|
|
|
4468
4641
|
const handleSeeAllResults = () => {
|
|
4469
4642
|
searchConfig.openResults();
|
|
4470
4643
|
};
|
|
4471
|
-
return /* @__PURE__ */
|
|
4644
|
+
return /* @__PURE__ */ jsxs78(
|
|
4472
4645
|
"div",
|
|
4473
4646
|
{
|
|
4474
4647
|
className: cn("group/agg-search", "relative flex w-full flex-col", classNames == null ? void 0 : classNames.root),
|
|
4475
4648
|
onFocusCapture: handleFocusWithin,
|
|
4476
4649
|
onBlurCapture: handleBlurWithin,
|
|
4477
4650
|
children: [
|
|
4478
|
-
/* @__PURE__ */
|
|
4651
|
+
/* @__PURE__ */ jsx85("label", { className: "w-full", children: /* @__PURE__ */ jsxs78(
|
|
4479
4652
|
"div",
|
|
4480
4653
|
{
|
|
4481
4654
|
className: cn(
|
|
@@ -4489,7 +4662,7 @@ var Search = ({
|
|
|
4489
4662
|
classNames == null ? void 0 : classNames.inputContainer
|
|
4490
4663
|
),
|
|
4491
4664
|
children: [
|
|
4492
|
-
/* @__PURE__ */
|
|
4665
|
+
/* @__PURE__ */ jsx85(
|
|
4493
4666
|
Icon,
|
|
4494
4667
|
{
|
|
4495
4668
|
name: "search",
|
|
@@ -4497,7 +4670,7 @@ var Search = ({
|
|
|
4497
4670
|
className: cn("text-agg-muted-foreground", classNames == null ? void 0 : classNames.searchIcon)
|
|
4498
4671
|
}
|
|
4499
4672
|
),
|
|
4500
|
-
/* @__PURE__ */
|
|
4673
|
+
/* @__PURE__ */ jsx85(
|
|
4501
4674
|
"input",
|
|
4502
4675
|
__spreadProps(__spreadValues({}, inputProps), {
|
|
4503
4676
|
type: "text",
|
|
@@ -4515,31 +4688,31 @@ var Search = ({
|
|
|
4515
4688
|
)
|
|
4516
4689
|
})
|
|
4517
4690
|
),
|
|
4518
|
-
shouldRenderShortcut ? /* @__PURE__ */
|
|
4691
|
+
shouldRenderShortcut ? /* @__PURE__ */ jsx85("div", { className: "flex size-6 shrink-0 items-center justify-center rounded-[4px] bg-agg-secondary-hover", children: /* @__PURE__ */ jsx85("span", { className: "font-agg-sans text-agg-sm leading-agg-5 font-agg-bold text-agg-muted-foreground", children: "/" }) }) : null
|
|
4519
4692
|
]
|
|
4520
4693
|
}
|
|
4521
4694
|
) }),
|
|
4522
|
-
shouldRenderLoadingState ? /* @__PURE__ */
|
|
4523
|
-
shouldRenderResults ? /* @__PURE__ */
|
|
4695
|
+
shouldRenderLoadingState ? /* @__PURE__ */ jsx85("div", { className: "absolute left-0 right-0 top-full z-50 mt-1", children: /* @__PURE__ */ jsx85(Skeleton, { view: "search" }) }) : null,
|
|
4696
|
+
shouldRenderResults ? /* @__PURE__ */ jsx85(
|
|
4524
4697
|
"div",
|
|
4525
4698
|
{
|
|
4526
4699
|
className: cn(
|
|
4527
4700
|
"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
4701
|
classNames == null ? void 0 : classNames.dropdown
|
|
4529
4702
|
),
|
|
4530
|
-
children: /* @__PURE__ */
|
|
4703
|
+
children: /* @__PURE__ */ jsxs78(
|
|
4531
4704
|
"ul",
|
|
4532
4705
|
{
|
|
4533
4706
|
className: cn("m-0 flex list-none flex-col p-0", classNames == null ? void 0 : classNames.resultsList),
|
|
4534
4707
|
role: "listbox",
|
|
4535
4708
|
"aria-label": labels.search.resultsAria,
|
|
4536
4709
|
children: [
|
|
4537
|
-
validatedResults.map((item, index) => /* @__PURE__ */
|
|
4710
|
+
validatedResults.map((item, index) => /* @__PURE__ */ jsx85(
|
|
4538
4711
|
"li",
|
|
4539
4712
|
{
|
|
4540
4713
|
role: "presentation",
|
|
4541
4714
|
className: cn(index > 0 && "border-t border-agg-separator", classNames == null ? void 0 : classNames.resultItem),
|
|
4542
|
-
children: /* @__PURE__ */
|
|
4715
|
+
children: /* @__PURE__ */ jsx85(
|
|
4543
4716
|
SearchResultRow,
|
|
4544
4717
|
{
|
|
4545
4718
|
item,
|
|
@@ -4551,7 +4724,7 @@ var Search = ({
|
|
|
4551
4724
|
},
|
|
4552
4725
|
item.id
|
|
4553
4726
|
)),
|
|
4554
|
-
/* @__PURE__ */
|
|
4727
|
+
/* @__PURE__ */ jsx85("li", { role: "presentation", className: "border-t border-agg-separator", children: /* @__PURE__ */ jsx85(
|
|
4555
4728
|
SearchSeeAllResultsButton,
|
|
4556
4729
|
{
|
|
4557
4730
|
label: labels.search.seeAllResults,
|
|
@@ -4563,29 +4736,29 @@ var Search = ({
|
|
|
4563
4736
|
)
|
|
4564
4737
|
}
|
|
4565
4738
|
) : null,
|
|
4566
|
-
shouldRenderNoResults ? /* @__PURE__ */
|
|
4739
|
+
shouldRenderNoResults ? /* @__PURE__ */ jsx85(
|
|
4567
4740
|
"div",
|
|
4568
4741
|
{
|
|
4569
4742
|
className: cn(
|
|
4570
4743
|
"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
4744
|
classNames == null ? void 0 : classNames.emptyState
|
|
4572
4745
|
),
|
|
4573
|
-
children: /* @__PURE__ */
|
|
4746
|
+
children: /* @__PURE__ */ jsxs78(
|
|
4574
4747
|
"div",
|
|
4575
4748
|
{
|
|
4576
4749
|
className: cn("flex flex-col items-center gap-5", classNames == null ? void 0 : classNames.emptyStateContent),
|
|
4577
4750
|
role: "status",
|
|
4578
4751
|
"aria-live": "polite",
|
|
4579
4752
|
children: [
|
|
4580
|
-
/* @__PURE__ */
|
|
4753
|
+
/* @__PURE__ */ jsx85(
|
|
4581
4754
|
SearchEmptyIcon,
|
|
4582
4755
|
{
|
|
4583
4756
|
className: cn("h-10 w-10 text-agg-muted-foreground", classNames == null ? void 0 : classNames.emptyStateIcon),
|
|
4584
4757
|
"aria-hidden": true
|
|
4585
4758
|
}
|
|
4586
4759
|
),
|
|
4587
|
-
/* @__PURE__ */
|
|
4588
|
-
/* @__PURE__ */
|
|
4760
|
+
/* @__PURE__ */ jsxs78("div", { className: "flex flex-col items-center gap-1 text-center", children: [
|
|
4761
|
+
/* @__PURE__ */ jsx85(
|
|
4589
4762
|
"p",
|
|
4590
4763
|
{
|
|
4591
4764
|
className: cn(
|
|
@@ -4595,7 +4768,7 @@ var Search = ({
|
|
|
4595
4768
|
children: labels.search.noResultsTitle
|
|
4596
4769
|
}
|
|
4597
4770
|
),
|
|
4598
|
-
/* @__PURE__ */
|
|
4771
|
+
/* @__PURE__ */ jsx85(
|
|
4599
4772
|
"p",
|
|
4600
4773
|
{
|
|
4601
4774
|
className: cn(
|
|
@@ -4618,7 +4791,7 @@ var Search = ({
|
|
|
4618
4791
|
Search.displayName = "Search";
|
|
4619
4792
|
|
|
4620
4793
|
// src/primitives/state-message/index.tsx
|
|
4621
|
-
import { jsx as
|
|
4794
|
+
import { jsx as jsx86, jsxs as jsxs79 } from "react/jsx-runtime";
|
|
4622
4795
|
var iconClassName = "h-9 w-9 text-agg-muted-foreground";
|
|
4623
4796
|
var StateMessage = ({
|
|
4624
4797
|
ariaLabel,
|
|
@@ -4629,8 +4802,8 @@ var StateMessage = ({
|
|
|
4629
4802
|
onAction,
|
|
4630
4803
|
className
|
|
4631
4804
|
}) => {
|
|
4632
|
-
const icon = tone === "warning" ? /* @__PURE__ */
|
|
4633
|
-
return /* @__PURE__ */
|
|
4805
|
+
const icon = tone === "warning" ? /* @__PURE__ */ jsx86(WarningIcon, { className: iconClassName, "aria-hidden": true }) : /* @__PURE__ */ jsx86(SearchEmptyIcon, { className: iconClassName, "aria-hidden": true });
|
|
4806
|
+
return /* @__PURE__ */ jsx86(
|
|
4634
4807
|
"div",
|
|
4635
4808
|
{
|
|
4636
4809
|
className: cn(
|
|
@@ -4640,13 +4813,13 @@ var StateMessage = ({
|
|
|
4640
4813
|
role: "status",
|
|
4641
4814
|
"aria-live": "polite",
|
|
4642
4815
|
"aria-label": ariaLabel,
|
|
4643
|
-
children: /* @__PURE__ */
|
|
4816
|
+
children: /* @__PURE__ */ jsxs79("div", { className: "flex flex-col items-center gap-6", children: [
|
|
4644
4817
|
icon,
|
|
4645
|
-
/* @__PURE__ */
|
|
4646
|
-
/* @__PURE__ */
|
|
4647
|
-
description ? /* @__PURE__ */
|
|
4818
|
+
/* @__PURE__ */ jsxs79("div", { className: "flex flex-col items-center gap-2", children: [
|
|
4819
|
+
/* @__PURE__ */ jsx86(Typography, { variant: "body-large-strong", children: title }),
|
|
4820
|
+
description ? /* @__PURE__ */ jsx86(Typography, { variant: "body", className: "whitespace-pre-line text-agg-muted-foreground", children: description }) : null
|
|
4648
4821
|
] }),
|
|
4649
|
-
actionLabel && onAction ? /* @__PURE__ */
|
|
4822
|
+
actionLabel && onAction ? /* @__PURE__ */ jsx86(
|
|
4650
4823
|
Button,
|
|
4651
4824
|
{
|
|
4652
4825
|
variant: "tertiary",
|
|
@@ -4674,12 +4847,10 @@ import { useLabels as useLabels12, useSdkUiConfig as useSdkUiConfig11 } from "@a
|
|
|
4674
4847
|
// src/primitives/tabs/tabs.utils.ts
|
|
4675
4848
|
var findNextEnabledIndex = (items, startIndex, direction) => {
|
|
4676
4849
|
var _a;
|
|
4677
|
-
if (items.length === 0)
|
|
4678
|
-
return -1;
|
|
4850
|
+
if (items.length === 0) return -1;
|
|
4679
4851
|
for (let step = 1; step <= items.length; step += 1) {
|
|
4680
4852
|
const nextIndex = (startIndex + direction * step + items.length) % items.length;
|
|
4681
|
-
if (!((_a = items[nextIndex]) == null ? void 0 : _a.disabled))
|
|
4682
|
-
return nextIndex;
|
|
4853
|
+
if (!((_a = items[nextIndex]) == null ? void 0 : _a.disabled)) return nextIndex;
|
|
4683
4854
|
}
|
|
4684
4855
|
return -1;
|
|
4685
4856
|
};
|
|
@@ -4689,14 +4860,13 @@ var findEdgeEnabledIndex = (items, direction) => {
|
|
|
4689
4860
|
return items.findIndex((item) => !item.disabled);
|
|
4690
4861
|
}
|
|
4691
4862
|
for (let index = items.length - 1; index >= 0; index -= 1) {
|
|
4692
|
-
if (!((_a = items[index]) == null ? void 0 : _a.disabled))
|
|
4693
|
-
return index;
|
|
4863
|
+
if (!((_a = items[index]) == null ? void 0 : _a.disabled)) return index;
|
|
4694
4864
|
}
|
|
4695
4865
|
return -1;
|
|
4696
4866
|
};
|
|
4697
4867
|
|
|
4698
4868
|
// src/primitives/tabs/index.tsx
|
|
4699
|
-
import { Fragment as Fragment5, jsx as
|
|
4869
|
+
import { Fragment as Fragment5, jsx as jsx87, jsxs as jsxs80 } from "react/jsx-runtime";
|
|
4700
4870
|
var mobileTabsMediaQuery = "(max-width: 512px)";
|
|
4701
4871
|
var getTabButtonClassName = ({
|
|
4702
4872
|
enableAnimations,
|
|
@@ -4765,17 +4935,14 @@ var Tabs = ({
|
|
|
4765
4935
|
const tabListRef = useRef3(null);
|
|
4766
4936
|
const isBarVariant = variant === "bar";
|
|
4767
4937
|
const resolvedOverflowBehavior = useMemo5(() => {
|
|
4768
|
-
if (overflowBehavior)
|
|
4769
|
-
|
|
4770
|
-
if (!isBarVariant)
|
|
4771
|
-
return "scroll";
|
|
4938
|
+
if (overflowBehavior) return overflowBehavior;
|
|
4939
|
+
if (!isBarVariant) return "scroll";
|
|
4772
4940
|
return isMobileViewport ? "select" : "scroll";
|
|
4773
4941
|
}, [isBarVariant, isMobileViewport, overflowBehavior]);
|
|
4774
4942
|
const shouldUseOverflowScroll = resolvedOverflowBehavior === "scroll";
|
|
4775
4943
|
const shouldUseOverflowSelect = resolvedOverflowBehavior === "select";
|
|
4776
4944
|
useEffect5(() => {
|
|
4777
|
-
if (typeof window === "undefined")
|
|
4778
|
-
return;
|
|
4945
|
+
if (typeof window === "undefined") return;
|
|
4779
4946
|
const mediaQueryList = window.matchMedia(mobileTabsMediaQuery);
|
|
4780
4947
|
const handleMediaQueryChange = (event) => {
|
|
4781
4948
|
setIsMobileViewport(event.matches);
|
|
@@ -4801,8 +4968,7 @@ var Tabs = ({
|
|
|
4801
4968
|
return;
|
|
4802
4969
|
}
|
|
4803
4970
|
const tabListElement = tabListRef.current;
|
|
4804
|
-
if (!tabListElement)
|
|
4805
|
-
return;
|
|
4971
|
+
if (!tabListElement) return;
|
|
4806
4972
|
const maxScrollLeft = tabListElement.scrollWidth - tabListElement.clientWidth;
|
|
4807
4973
|
setScrollAffordanceState({
|
|
4808
4974
|
showStart: tabListElement.scrollLeft > 4,
|
|
@@ -4819,17 +4985,14 @@ var Tabs = ({
|
|
|
4819
4985
|
}, [items]);
|
|
4820
4986
|
const isSelectDisabled = !items.some((item) => !item.disabled);
|
|
4821
4987
|
const handleSelect = (nextValue) => {
|
|
4822
|
-
if (nextValue === value)
|
|
4823
|
-
return;
|
|
4988
|
+
if (nextValue === value) return;
|
|
4824
4989
|
onChange(nextValue);
|
|
4825
4990
|
};
|
|
4826
4991
|
const handleMoveFocus = (index) => {
|
|
4827
4992
|
var _a;
|
|
4828
|
-
if (index < 0)
|
|
4829
|
-
return;
|
|
4993
|
+
if (index < 0) return;
|
|
4830
4994
|
const nextItem = renderedItems[index];
|
|
4831
|
-
if (!nextItem)
|
|
4832
|
-
return;
|
|
4995
|
+
if (!nextItem) return;
|
|
4833
4996
|
handleSelect(nextItem.value);
|
|
4834
4997
|
(_a = buttonRefs.current[index]) == null ? void 0 : _a.focus();
|
|
4835
4998
|
};
|
|
@@ -4871,28 +5034,20 @@ var Tabs = ({
|
|
|
4871
5034
|
shouldUseOverflowScroll && (isDraggingTabs ? "cursor-grabbing" : "cursor-grab")
|
|
4872
5035
|
);
|
|
4873
5036
|
const handleTabListWheel = (event) => {
|
|
4874
|
-
if (!shouldUseOverflowScroll)
|
|
4875
|
-
return;
|
|
5037
|
+
if (!shouldUseOverflowScroll) return;
|
|
4876
5038
|
const tabListElement = event.currentTarget;
|
|
4877
|
-
if (tabListElement.scrollWidth <= tabListElement.clientWidth)
|
|
4878
|
-
|
|
4879
|
-
if (Math.abs(event.deltaX) > Math.abs(event.deltaY))
|
|
4880
|
-
return;
|
|
5039
|
+
if (tabListElement.scrollWidth <= tabListElement.clientWidth) return;
|
|
5040
|
+
if (Math.abs(event.deltaX) > Math.abs(event.deltaY)) return;
|
|
4881
5041
|
event.preventDefault();
|
|
4882
5042
|
tabListElement.scrollLeft += event.deltaY;
|
|
4883
5043
|
};
|
|
4884
5044
|
const handleTabListPointerDown = (event) => {
|
|
4885
|
-
if (!shouldUseOverflowScroll)
|
|
4886
|
-
|
|
4887
|
-
if (event.
|
|
4888
|
-
return;
|
|
4889
|
-
if (event.button !== 0)
|
|
4890
|
-
return;
|
|
5045
|
+
if (!shouldUseOverflowScroll) return;
|
|
5046
|
+
if (event.pointerType !== "mouse") return;
|
|
5047
|
+
if (event.button !== 0) return;
|
|
4891
5048
|
const tabListElement = tabListRef.current;
|
|
4892
|
-
if (!tabListElement)
|
|
4893
|
-
|
|
4894
|
-
if (tabListElement.scrollWidth <= tabListElement.clientWidth)
|
|
4895
|
-
return;
|
|
5049
|
+
if (!tabListElement) return;
|
|
5050
|
+
if (tabListElement.scrollWidth <= tabListElement.clientWidth) return;
|
|
4896
5051
|
dragStateRef.current = {
|
|
4897
5052
|
isPointerDown: true,
|
|
4898
5053
|
isDragging: false,
|
|
@@ -4903,16 +5058,12 @@ var Tabs = ({
|
|
|
4903
5058
|
};
|
|
4904
5059
|
};
|
|
4905
5060
|
const handleTabListPointerMove = (event) => {
|
|
4906
|
-
if (!shouldUseOverflowScroll)
|
|
4907
|
-
return;
|
|
5061
|
+
if (!shouldUseOverflowScroll) return;
|
|
4908
5062
|
const dragState = dragStateRef.current;
|
|
4909
5063
|
const tabListElement = tabListRef.current;
|
|
4910
|
-
if (!dragState.isPointerDown)
|
|
4911
|
-
|
|
4912
|
-
if (
|
|
4913
|
-
return;
|
|
4914
|
-
if (!tabListElement)
|
|
4915
|
-
return;
|
|
5064
|
+
if (!dragState.isPointerDown) return;
|
|
5065
|
+
if (dragState.pointerId !== event.pointerId) return;
|
|
5066
|
+
if (!tabListElement) return;
|
|
4916
5067
|
const deltaX = event.clientX - dragState.startClientX;
|
|
4917
5068
|
const deltaY = event.clientY - dragState.startClientY;
|
|
4918
5069
|
const horizontalDistance = Math.abs(deltaX);
|
|
@@ -4923,18 +5074,15 @@ var Tabs = ({
|
|
|
4923
5074
|
setIsDraggingTabs(true);
|
|
4924
5075
|
tabListElement.setPointerCapture(event.pointerId);
|
|
4925
5076
|
}
|
|
4926
|
-
if (!dragState.isDragging)
|
|
4927
|
-
return;
|
|
5077
|
+
if (!dragState.isDragging) return;
|
|
4928
5078
|
event.preventDefault();
|
|
4929
5079
|
tabListElement.scrollLeft = dragState.startScrollLeft - deltaX;
|
|
4930
5080
|
};
|
|
4931
5081
|
const handleEndTabListDrag = (event) => {
|
|
4932
5082
|
const dragState = dragStateRef.current;
|
|
4933
5083
|
const tabListElement = tabListRef.current;
|
|
4934
|
-
if (!dragState.isPointerDown)
|
|
4935
|
-
|
|
4936
|
-
if (dragState.pointerId !== event.pointerId)
|
|
4937
|
-
return;
|
|
5084
|
+
if (!dragState.isPointerDown) return;
|
|
5085
|
+
if (dragState.pointerId !== event.pointerId) return;
|
|
4938
5086
|
if (tabListElement == null ? void 0 : tabListElement.hasPointerCapture(event.pointerId)) {
|
|
4939
5087
|
tabListElement.releasePointerCapture(event.pointerId);
|
|
4940
5088
|
}
|
|
@@ -4955,8 +5103,7 @@ var Tabs = ({
|
|
|
4955
5103
|
setIsDraggingTabs(false);
|
|
4956
5104
|
};
|
|
4957
5105
|
const handleTabListClickCapture = (event) => {
|
|
4958
|
-
if (!suppressClickRef.current)
|
|
4959
|
-
return;
|
|
5106
|
+
if (!suppressClickRef.current) return;
|
|
4960
5107
|
event == null ? void 0 : event.preventDefault();
|
|
4961
5108
|
event == null ? void 0 : event.stopPropagation();
|
|
4962
5109
|
suppressClickRef.current = false;
|
|
@@ -4988,11 +5135,9 @@ var Tabs = ({
|
|
|
4988
5135
|
updateActiveUnderline();
|
|
4989
5136
|
}, [updateActiveUnderline]);
|
|
4990
5137
|
useEffect5(() => {
|
|
4991
|
-
if (isBarVariant || !shouldUseOverflowScroll)
|
|
4992
|
-
return;
|
|
5138
|
+
if (isBarVariant || !shouldUseOverflowScroll) return;
|
|
4993
5139
|
const tabListElement = tabListRef.current;
|
|
4994
|
-
if (!tabListElement)
|
|
4995
|
-
return;
|
|
5140
|
+
if (!tabListElement) return;
|
|
4996
5141
|
const handleScroll = () => {
|
|
4997
5142
|
updateActiveUnderline();
|
|
4998
5143
|
updateScrollAffordances();
|
|
@@ -5004,18 +5149,14 @@ var Tabs = ({
|
|
|
5004
5149
|
};
|
|
5005
5150
|
}, [isBarVariant, shouldUseOverflowScroll, updateActiveUnderline, updateScrollAffordances]);
|
|
5006
5151
|
useEffect5(() => {
|
|
5007
|
-
if (!shouldUseOverflowScroll)
|
|
5008
|
-
return;
|
|
5152
|
+
if (!shouldUseOverflowScroll) return;
|
|
5009
5153
|
updateScrollAffordances();
|
|
5010
5154
|
}, [renderedItems, shouldUseOverflowScroll, updateScrollAffordances, value]);
|
|
5011
5155
|
useEffect5(() => {
|
|
5012
|
-
if (isBarVariant && !shouldUseOverflowScroll)
|
|
5013
|
-
|
|
5014
|
-
if (typeof ResizeObserver === "undefined")
|
|
5015
|
-
return;
|
|
5156
|
+
if (isBarVariant && !shouldUseOverflowScroll) return;
|
|
5157
|
+
if (typeof ResizeObserver === "undefined") return;
|
|
5016
5158
|
const tabListElement = tabListRef.current;
|
|
5017
|
-
if (!tabListElement)
|
|
5018
|
-
return;
|
|
5159
|
+
if (!tabListElement) return;
|
|
5019
5160
|
const resizeObserver = new ResizeObserver(() => {
|
|
5020
5161
|
updateActiveUnderline();
|
|
5021
5162
|
updateScrollAffordances();
|
|
@@ -5026,17 +5167,13 @@ var Tabs = ({
|
|
|
5026
5167
|
};
|
|
5027
5168
|
}, [isBarVariant, shouldUseOverflowScroll, updateActiveUnderline, updateScrollAffordances]);
|
|
5028
5169
|
useEffect5(() => {
|
|
5029
|
-
if (!shouldUseOverflowScroll)
|
|
5030
|
-
return;
|
|
5170
|
+
if (!shouldUseOverflowScroll) return;
|
|
5031
5171
|
const tabListElement = tabListRef.current;
|
|
5032
|
-
if (!tabListElement)
|
|
5033
|
-
return;
|
|
5172
|
+
if (!tabListElement) return;
|
|
5034
5173
|
const activeIndex = renderedItems.findIndex((item) => item.value === value);
|
|
5035
5174
|
const activeButton = activeIndex >= 0 ? buttonRefs.current[activeIndex] : null;
|
|
5036
|
-
if (!activeButton)
|
|
5037
|
-
|
|
5038
|
-
if (tabListElement.scrollWidth - tabListElement.clientWidth <= 1)
|
|
5039
|
-
return;
|
|
5175
|
+
if (!activeButton) return;
|
|
5176
|
+
if (tabListElement.scrollWidth - tabListElement.clientWidth <= 1) return;
|
|
5040
5177
|
const currentScrollLeft = tabListElement.scrollLeft;
|
|
5041
5178
|
const currentScrollRight = currentScrollLeft + tabListElement.clientWidth;
|
|
5042
5179
|
const activeButtonLeft = activeButton.offsetLeft;
|
|
@@ -5047,15 +5184,14 @@ var Tabs = ({
|
|
|
5047
5184
|
} else if (activeButtonRight > currentScrollRight) {
|
|
5048
5185
|
nextScrollLeft = activeButtonRight - tabListElement.clientWidth;
|
|
5049
5186
|
}
|
|
5050
|
-
if (Math.abs(nextScrollLeft - currentScrollLeft) < 1)
|
|
5051
|
-
return;
|
|
5187
|
+
if (Math.abs(nextScrollLeft - currentScrollLeft) < 1) return;
|
|
5052
5188
|
tabListElement.scrollTo({
|
|
5053
5189
|
left: Math.max(0, nextScrollLeft),
|
|
5054
5190
|
behavior: getScrollBehavior(enableAnimations)
|
|
5055
5191
|
});
|
|
5056
5192
|
}, [enableAnimations, renderedItems, shouldUseOverflowScroll, value]);
|
|
5057
5193
|
if (shouldUseOverflowSelect) {
|
|
5058
|
-
return /* @__PURE__ */
|
|
5194
|
+
return /* @__PURE__ */ jsx87("div", { className: cn("w-full", className, classNames == null ? void 0 : classNames.root), children: /* @__PURE__ */ jsx87(
|
|
5059
5195
|
Select,
|
|
5060
5196
|
{
|
|
5061
5197
|
ariaLabel,
|
|
@@ -5067,7 +5203,7 @@ var Tabs = ({
|
|
|
5067
5203
|
}
|
|
5068
5204
|
) });
|
|
5069
5205
|
}
|
|
5070
|
-
return /* @__PURE__ */
|
|
5206
|
+
return /* @__PURE__ */ jsxs80(
|
|
5071
5207
|
"div",
|
|
5072
5208
|
{
|
|
5073
5209
|
className: cn(
|
|
@@ -5078,7 +5214,7 @@ var Tabs = ({
|
|
|
5078
5214
|
classNames == null ? void 0 : classNames.root
|
|
5079
5215
|
),
|
|
5080
5216
|
children: [
|
|
5081
|
-
/* @__PURE__ */
|
|
5217
|
+
/* @__PURE__ */ jsxs80(
|
|
5082
5218
|
"div",
|
|
5083
5219
|
{
|
|
5084
5220
|
ref: tabListRef,
|
|
@@ -5094,7 +5230,7 @@ var Tabs = ({
|
|
|
5094
5230
|
children: [
|
|
5095
5231
|
renderedItems.map((item, index) => {
|
|
5096
5232
|
const isActive = item.value === value;
|
|
5097
|
-
return /* @__PURE__ */
|
|
5233
|
+
return /* @__PURE__ */ jsxs80(
|
|
5098
5234
|
"button",
|
|
5099
5235
|
{
|
|
5100
5236
|
ref: (buttonElement) => {
|
|
@@ -5123,7 +5259,7 @@ var Tabs = ({
|
|
|
5123
5259
|
shouldUseOverflowScroll && !isBarVariant && "snap-start"
|
|
5124
5260
|
),
|
|
5125
5261
|
children: [
|
|
5126
|
-
isBarVariant ? /* @__PURE__ */
|
|
5262
|
+
isBarVariant ? /* @__PURE__ */ jsx87(Fragment5, { children: /* @__PURE__ */ jsx87(
|
|
5127
5263
|
"span",
|
|
5128
5264
|
{
|
|
5129
5265
|
"aria-hidden": true,
|
|
@@ -5137,8 +5273,8 @@ var Tabs = ({
|
|
|
5137
5273
|
)
|
|
5138
5274
|
}
|
|
5139
5275
|
) }) : null,
|
|
5140
|
-
item.icon ? /* @__PURE__ */
|
|
5141
|
-
/* @__PURE__ */
|
|
5276
|
+
item.icon ? /* @__PURE__ */ jsx87("span", { className: "relative z-10 inline-flex shrink-0 items-center justify-center empty:hidden", children: item.icon }) : null,
|
|
5277
|
+
/* @__PURE__ */ jsx87(
|
|
5142
5278
|
"span",
|
|
5143
5279
|
{
|
|
5144
5280
|
className: cn(
|
|
@@ -5153,7 +5289,7 @@ var Tabs = ({
|
|
|
5153
5289
|
item.value
|
|
5154
5290
|
);
|
|
5155
5291
|
}),
|
|
5156
|
-
!isBarVariant ? /* @__PURE__ */
|
|
5292
|
+
!isBarVariant ? /* @__PURE__ */ jsx87(
|
|
5157
5293
|
"span",
|
|
5158
5294
|
{
|
|
5159
5295
|
"aria-hidden": true,
|
|
@@ -5171,8 +5307,8 @@ var Tabs = ({
|
|
|
5171
5307
|
]
|
|
5172
5308
|
}
|
|
5173
5309
|
),
|
|
5174
|
-
shouldUseOverflowScroll && !isBarVariant ? /* @__PURE__ */
|
|
5175
|
-
/* @__PURE__ */
|
|
5310
|
+
shouldUseOverflowScroll && !isBarVariant ? /* @__PURE__ */ jsxs80(Fragment5, { children: [
|
|
5311
|
+
/* @__PURE__ */ jsx87(
|
|
5176
5312
|
"span",
|
|
5177
5313
|
{
|
|
5178
5314
|
"aria-hidden": true,
|
|
@@ -5183,7 +5319,7 @@ var Tabs = ({
|
|
|
5183
5319
|
)
|
|
5184
5320
|
}
|
|
5185
5321
|
),
|
|
5186
|
-
/* @__PURE__ */
|
|
5322
|
+
/* @__PURE__ */ jsx87(
|
|
5187
5323
|
"span",
|
|
5188
5324
|
{
|
|
5189
5325
|
"aria-hidden": true,
|
|
@@ -5204,7 +5340,7 @@ Tabs.displayName = "Tabs";
|
|
|
5204
5340
|
// src/primitives/modal/index.tsx
|
|
5205
5341
|
import * as Dialog from "@radix-ui/react-dialog";
|
|
5206
5342
|
import { useSdkUiConfig as useSdkUiConfig12, useLabels as useLabels13 } from "@agg-market/hooks";
|
|
5207
|
-
import { Fragment as Fragment6, jsx as
|
|
5343
|
+
import { Fragment as Fragment6, jsx as jsx88, jsxs as jsxs81 } from "react/jsx-runtime";
|
|
5208
5344
|
var Modal = ({
|
|
5209
5345
|
open,
|
|
5210
5346
|
onOpenChange,
|
|
@@ -5212,7 +5348,7 @@ var Modal = ({
|
|
|
5212
5348
|
"aria-label": _ariaLabel,
|
|
5213
5349
|
"aria-labelledby": _ariaLabelledBy
|
|
5214
5350
|
}) => {
|
|
5215
|
-
return /* @__PURE__ */
|
|
5351
|
+
return /* @__PURE__ */ jsx88(Dialog.Root, { open, onOpenChange, children });
|
|
5216
5352
|
};
|
|
5217
5353
|
var ModalContainer = ({
|
|
5218
5354
|
children,
|
|
@@ -5227,8 +5363,8 @@ var ModalContainer = ({
|
|
|
5227
5363
|
} = useSdkUiConfig12();
|
|
5228
5364
|
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;
|
|
5229
5365
|
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;
|
|
5230
|
-
return /* @__PURE__ */
|
|
5231
|
-
/* @__PURE__ */
|
|
5366
|
+
return /* @__PURE__ */ jsxs81(Dialog.Portal, { children: [
|
|
5367
|
+
/* @__PURE__ */ jsx88(
|
|
5232
5368
|
Dialog.Overlay,
|
|
5233
5369
|
{
|
|
5234
5370
|
className: cn(
|
|
@@ -5238,7 +5374,7 @@ var ModalContainer = ({
|
|
|
5238
5374
|
)
|
|
5239
5375
|
}
|
|
5240
5376
|
),
|
|
5241
|
-
/* @__PURE__ */
|
|
5377
|
+
/* @__PURE__ */ jsx88(
|
|
5242
5378
|
Dialog.Content,
|
|
5243
5379
|
{
|
|
5244
5380
|
className: cn(
|
|
@@ -5253,7 +5389,7 @@ var ModalContainer = ({
|
|
|
5253
5389
|
onCloseAutoFocus: (event) => {
|
|
5254
5390
|
event.preventDefault();
|
|
5255
5391
|
},
|
|
5256
|
-
children: /* @__PURE__ */
|
|
5392
|
+
children: /* @__PURE__ */ jsx88(
|
|
5257
5393
|
"div",
|
|
5258
5394
|
{
|
|
5259
5395
|
className: cn(
|
|
@@ -5291,9 +5427,9 @@ var ModalHeader = ({
|
|
|
5291
5427
|
features: { enableAnimations }
|
|
5292
5428
|
} = useSdkUiConfig12();
|
|
5293
5429
|
const labels = useLabels13();
|
|
5294
|
-
const defaultCloseIcon = /* @__PURE__ */
|
|
5430
|
+
const defaultCloseIcon = /* @__PURE__ */ jsx88(CloseIcon, { className: "h-6 w-6" });
|
|
5295
5431
|
const resolvedCloseIcon = closeIcon != null ? closeIcon : defaultCloseIcon;
|
|
5296
|
-
return /* @__PURE__ */
|
|
5432
|
+
return /* @__PURE__ */ jsxs81(
|
|
5297
5433
|
"div",
|
|
5298
5434
|
{
|
|
5299
5435
|
className: cn(
|
|
@@ -5306,7 +5442,7 @@ var ModalHeader = ({
|
|
|
5306
5442
|
classNames == null ? void 0 : classNames.root
|
|
5307
5443
|
),
|
|
5308
5444
|
children: [
|
|
5309
|
-
/* @__PURE__ */
|
|
5445
|
+
/* @__PURE__ */ jsxs81(
|
|
5310
5446
|
"div",
|
|
5311
5447
|
{
|
|
5312
5448
|
className: cn(
|
|
@@ -5318,9 +5454,9 @@ var ModalHeader = ({
|
|
|
5318
5454
|
classNames == null ? void 0 : classNames.container
|
|
5319
5455
|
),
|
|
5320
5456
|
children: [
|
|
5321
|
-
leftElement ? /* @__PURE__ */
|
|
5322
|
-
/* @__PURE__ */
|
|
5323
|
-
/* @__PURE__ */
|
|
5457
|
+
leftElement ? /* @__PURE__ */ jsx88(Fragment6, { children: leftElement }) : null,
|
|
5458
|
+
/* @__PURE__ */ jsxs81("div", { className: cn("max-w-[calc(100%-1rem)] flex-1", classNames == null ? void 0 : classNames.titleContainer), children: [
|
|
5459
|
+
/* @__PURE__ */ jsx88(
|
|
5324
5460
|
Dialog.Title,
|
|
5325
5461
|
{
|
|
5326
5462
|
className: cn(
|
|
@@ -5333,7 +5469,7 @@ var ModalHeader = ({
|
|
|
5333
5469
|
children: title
|
|
5334
5470
|
}
|
|
5335
5471
|
),
|
|
5336
|
-
subtitle ? /* @__PURE__ */
|
|
5472
|
+
subtitle ? /* @__PURE__ */ jsx88(
|
|
5337
5473
|
"span",
|
|
5338
5474
|
{
|
|
5339
5475
|
className: cn(
|
|
@@ -5344,9 +5480,9 @@ var ModalHeader = ({
|
|
|
5344
5480
|
}
|
|
5345
5481
|
) : null
|
|
5346
5482
|
] }),
|
|
5347
|
-
/* @__PURE__ */
|
|
5348
|
-
rightElement ? /* @__PURE__ */
|
|
5349
|
-
!hideClose && /* @__PURE__ */
|
|
5483
|
+
/* @__PURE__ */ jsxs81("div", { className: "flex flex-row gap-6 items-center justify-end", children: [
|
|
5484
|
+
rightElement ? /* @__PURE__ */ jsx88(Fragment6, { children: rightElement }) : null,
|
|
5485
|
+
!hideClose && /* @__PURE__ */ jsx88(
|
|
5350
5486
|
Dialog.Close,
|
|
5351
5487
|
{
|
|
5352
5488
|
className: cn(
|
|
@@ -5362,14 +5498,14 @@ var ModalHeader = ({
|
|
|
5362
5498
|
]
|
|
5363
5499
|
}
|
|
5364
5500
|
),
|
|
5365
|
-
children ? /* @__PURE__ */
|
|
5501
|
+
children ? /* @__PURE__ */ jsx88("div", { children }) : null
|
|
5366
5502
|
]
|
|
5367
5503
|
}
|
|
5368
5504
|
);
|
|
5369
5505
|
};
|
|
5370
5506
|
Modal.Header = ModalHeader;
|
|
5371
5507
|
var ModalBody = ({ children, classNames }) => {
|
|
5372
|
-
return /* @__PURE__ */
|
|
5508
|
+
return /* @__PURE__ */ jsx88(
|
|
5373
5509
|
"div",
|
|
5374
5510
|
{
|
|
5375
5511
|
className: cn(
|
|
@@ -5390,7 +5526,7 @@ var ModalFooter = ({
|
|
|
5390
5526
|
classNames,
|
|
5391
5527
|
hideBorder = false
|
|
5392
5528
|
}) => {
|
|
5393
|
-
return /* @__PURE__ */
|
|
5529
|
+
return /* @__PURE__ */ jsx88(
|
|
5394
5530
|
"div",
|
|
5395
5531
|
{
|
|
5396
5532
|
className: cn(
|
|
@@ -5424,7 +5560,7 @@ var isHeaderLogoProps = (value) => {
|
|
|
5424
5560
|
};
|
|
5425
5561
|
|
|
5426
5562
|
// src/primitives/header/index.tsx
|
|
5427
|
-
import { jsx as
|
|
5563
|
+
import { jsx as jsx89, jsxs as jsxs82 } from "react/jsx-runtime";
|
|
5428
5564
|
var Header = ({
|
|
5429
5565
|
logo,
|
|
5430
5566
|
logoHref,
|
|
@@ -5436,7 +5572,7 @@ var Header = ({
|
|
|
5436
5572
|
"aria-label": ariaLabel
|
|
5437
5573
|
}) => {
|
|
5438
5574
|
const labels = useLabels14();
|
|
5439
|
-
const logoContent = isHeaderLogoProps(logo) ? /* @__PURE__ */
|
|
5575
|
+
const logoContent = isHeaderLogoProps(logo) ? /* @__PURE__ */ jsx89(
|
|
5440
5576
|
"img",
|
|
5441
5577
|
{
|
|
5442
5578
|
src: logo.src,
|
|
@@ -5445,24 +5581,24 @@ var Header = ({
|
|
|
5445
5581
|
height: logo.height,
|
|
5446
5582
|
className: cn("block max-h-full", classNames == null ? void 0 : classNames.logoElement)
|
|
5447
5583
|
}
|
|
5448
|
-
) : logo !== void 0 ? /* @__PURE__ */
|
|
5584
|
+
) : logo !== void 0 ? /* @__PURE__ */ jsx89("span", { className: classNames == null ? void 0 : classNames.logoElement, children: logo }) : /* @__PURE__ */ jsx89(
|
|
5449
5585
|
AggLogo,
|
|
5450
5586
|
{
|
|
5451
5587
|
className: cn("h-6 w-auto text-agg-foreground", classNames == null ? void 0 : classNames.logoElement),
|
|
5452
5588
|
title: labels.header.logoAria
|
|
5453
5589
|
}
|
|
5454
5590
|
);
|
|
5455
|
-
const wrappedLogo = logoHref ? /* @__PURE__ */
|
|
5456
|
-
const searchContent = search !== void 0 ? search : searchProps ? /* @__PURE__ */
|
|
5457
|
-
return /* @__PURE__ */
|
|
5591
|
+
const wrappedLogo = logoHref ? /* @__PURE__ */ jsx89("a", { href: logoHref, "aria-label": labels.header.logoAria, className: classNames == null ? void 0 : classNames.logoWrapper, children: logoContent }) : /* @__PURE__ */ jsx89("div", { className: classNames == null ? void 0 : classNames.logoWrapper, children: logoContent });
|
|
5592
|
+
const searchContent = search !== void 0 ? search : searchProps ? /* @__PURE__ */ jsx89(Search, __spreadValues({}, searchProps)) : null;
|
|
5593
|
+
return /* @__PURE__ */ jsx89(
|
|
5458
5594
|
"header",
|
|
5459
5595
|
{
|
|
5460
5596
|
role: "banner",
|
|
5461
5597
|
"aria-label": ariaLabel != null ? ariaLabel : labels.header.bannerAria,
|
|
5462
5598
|
className: cn(baseHeaderClasses, sticky && stickyHeaderClasses, classNames == null ? void 0 : classNames.root),
|
|
5463
|
-
children: /* @__PURE__ */
|
|
5464
|
-
/* @__PURE__ */
|
|
5465
|
-
searchContent ? /* @__PURE__ */
|
|
5599
|
+
children: /* @__PURE__ */ jsxs82("div", { className: cn(headerInnerClasses, classNames == null ? void 0 : classNames.inner), children: [
|
|
5600
|
+
/* @__PURE__ */ jsx89("div", { className: cn("flex shrink-0 items-center", classNames == null ? void 0 : classNames.leftSection), children: wrappedLogo }),
|
|
5601
|
+
searchContent ? /* @__PURE__ */ jsx89(
|
|
5466
5602
|
"div",
|
|
5467
5603
|
{
|
|
5468
5604
|
className: cn(
|
|
@@ -5472,13 +5608,93 @@ var Header = ({
|
|
|
5472
5608
|
children: searchContent
|
|
5473
5609
|
}
|
|
5474
5610
|
) : null,
|
|
5475
|
-
/* @__PURE__ */
|
|
5611
|
+
/* @__PURE__ */ jsx89("div", { className: cn("flex shrink-0 items-center gap-2", classNames == null ? void 0 : classNames.rightSection), children: actions })
|
|
5476
5612
|
] })
|
|
5477
5613
|
}
|
|
5478
5614
|
);
|
|
5479
5615
|
};
|
|
5480
5616
|
Header.displayName = "Header";
|
|
5481
5617
|
|
|
5618
|
+
// src/primitives/tooltip/index.tsx
|
|
5619
|
+
import * as TooltipPrimitive from "@radix-ui/react-tooltip";
|
|
5620
|
+
import { useMemo as useMemo6 } from "react";
|
|
5621
|
+
import { useSdkUiConfig as useSdkUiConfig13 } from "@agg-market/hooks";
|
|
5622
|
+
|
|
5623
|
+
// src/primitives/tooltip/tooltip.constants.ts
|
|
5624
|
+
var tooltipSizeClasses = {
|
|
5625
|
+
small: cn("px-3 py-2"),
|
|
5626
|
+
medium: cn("px-5 py-4")
|
|
5627
|
+
};
|
|
5628
|
+
|
|
5629
|
+
// src/primitives/tooltip/index.tsx
|
|
5630
|
+
import { jsx as jsx90, jsxs as jsxs83 } from "react/jsx-runtime";
|
|
5631
|
+
var Tooltip = ({
|
|
5632
|
+
content,
|
|
5633
|
+
children,
|
|
5634
|
+
size = "medium",
|
|
5635
|
+
side = "top",
|
|
5636
|
+
delayDuration = 150,
|
|
5637
|
+
collisionPadding = 12,
|
|
5638
|
+
classNames,
|
|
5639
|
+
"aria-label": ariaLabel
|
|
5640
|
+
}) => {
|
|
5641
|
+
const {
|
|
5642
|
+
features: { enableAnimations }
|
|
5643
|
+
} = useSdkUiConfig13();
|
|
5644
|
+
const trigger = useMemo6(() => {
|
|
5645
|
+
if (children) return children;
|
|
5646
|
+
return (
|
|
5647
|
+
// Default trigger: neutral info icon
|
|
5648
|
+
/* @__PURE__ */ jsx90(
|
|
5649
|
+
Icon,
|
|
5650
|
+
{
|
|
5651
|
+
name: "info",
|
|
5652
|
+
size: "small",
|
|
5653
|
+
className: cn("text-agg-foreground", classNames == null ? void 0 : classNames.trigger),
|
|
5654
|
+
"aria-label": ariaLabel
|
|
5655
|
+
}
|
|
5656
|
+
)
|
|
5657
|
+
);
|
|
5658
|
+
}, [children, classNames == null ? void 0 : classNames.trigger, ariaLabel]);
|
|
5659
|
+
return /* @__PURE__ */ jsx90(TooltipPrimitive.Provider, { delayDuration, children: /* @__PURE__ */ jsxs83(TooltipPrimitive.Root, { children: [
|
|
5660
|
+
/* @__PURE__ */ jsx90(TooltipPrimitive.Trigger, { asChild: true, children: trigger }),
|
|
5661
|
+
/* @__PURE__ */ jsx90(TooltipPrimitive.Portal, { children: /* @__PURE__ */ jsxs83(
|
|
5662
|
+
TooltipPrimitive.Content,
|
|
5663
|
+
{
|
|
5664
|
+
side,
|
|
5665
|
+
sideOffset: 6,
|
|
5666
|
+
collisionPadding,
|
|
5667
|
+
className: cn(
|
|
5668
|
+
"group/agg-tooltip",
|
|
5669
|
+
// Container surface tokens
|
|
5670
|
+
"z-50 max-w-[360px] text-agg-foreground",
|
|
5671
|
+
"rounded-agg-xl border border-agg-separator bg-agg-secondary",
|
|
5672
|
+
tooltipSizeClasses[size],
|
|
5673
|
+
// Shadow approximating design
|
|
5674
|
+
"shadow-[0px_12px_24px_0px_rgba(0,0,0,0.10)]",
|
|
5675
|
+
getMotionClassName(
|
|
5676
|
+
enableAnimations,
|
|
5677
|
+
"data-[state=delayed-open]:animate-agg-fade-in data-[state=closed]:animate-agg-fade-out motion-reduce:animate-none"
|
|
5678
|
+
),
|
|
5679
|
+
classNames == null ? void 0 : classNames.content
|
|
5680
|
+
),
|
|
5681
|
+
children: [
|
|
5682
|
+
/* @__PURE__ */ jsx90(
|
|
5683
|
+
TooltipPrimitive.Arrow,
|
|
5684
|
+
{
|
|
5685
|
+
width: size === "small" ? 12 : 14,
|
|
5686
|
+
height: size === "small" ? 6 : 8,
|
|
5687
|
+
className: cn("fill-agg-secondary", classNames == null ? void 0 : classNames.arrow)
|
|
5688
|
+
}
|
|
5689
|
+
),
|
|
5690
|
+
content
|
|
5691
|
+
]
|
|
5692
|
+
}
|
|
5693
|
+
) })
|
|
5694
|
+
] }) });
|
|
5695
|
+
};
|
|
5696
|
+
Tooltip.displayName = "Tooltip";
|
|
5697
|
+
|
|
5482
5698
|
export {
|
|
5483
5699
|
__spreadValues,
|
|
5484
5700
|
__spreadProps,
|
|
@@ -5521,6 +5737,7 @@ export {
|
|
|
5521
5737
|
ArrowsToDotIcon,
|
|
5522
5738
|
BankIcon,
|
|
5523
5739
|
BestPricesIcon,
|
|
5740
|
+
BnbIcon,
|
|
5524
5741
|
BoltIcon,
|
|
5525
5742
|
CheckCircleIcon,
|
|
5526
5743
|
ChartCandlestickIcon,
|
|
@@ -5546,12 +5763,14 @@ export {
|
|
|
5546
5763
|
LinkAccountsIcon,
|
|
5547
5764
|
PencilIcon,
|
|
5548
5765
|
PlaySquareIcon,
|
|
5766
|
+
PolygonIcon,
|
|
5549
5767
|
ProfileIcon,
|
|
5550
5768
|
RevenueAltIcon,
|
|
5551
5769
|
SearchIcon,
|
|
5552
5770
|
ShieldTrustIcon,
|
|
5553
5771
|
SolanaIcon,
|
|
5554
5772
|
StayInControlIcon,
|
|
5773
|
+
SuccessCheckIcon,
|
|
5555
5774
|
TriangleDownIcon,
|
|
5556
5775
|
TriangleUpFilledIcon,
|
|
5557
5776
|
TriangleUpIcon,
|
|
@@ -5565,12 +5784,14 @@ export {
|
|
|
5565
5784
|
InlineAlert,
|
|
5566
5785
|
NumberValue,
|
|
5567
5786
|
RemoteImage,
|
|
5787
|
+
venueLogoUrlRegistry,
|
|
5568
5788
|
venueLogoLabels,
|
|
5569
5789
|
venueLogoNames,
|
|
5570
5790
|
VenueLogo,
|
|
5571
5791
|
badgeSizes,
|
|
5572
5792
|
Badge,
|
|
5573
5793
|
Select,
|
|
5794
|
+
SearchEmptyIcon,
|
|
5574
5795
|
resolveEventListItemEvent,
|
|
5575
5796
|
normalizeProbability,
|
|
5576
5797
|
sortOutcomes,
|
|
@@ -5586,5 +5807,6 @@ export {
|
|
|
5586
5807
|
StateMessage,
|
|
5587
5808
|
Tabs,
|
|
5588
5809
|
Modal,
|
|
5589
|
-
Header
|
|
5810
|
+
Header,
|
|
5811
|
+
Tooltip
|
|
5590
5812
|
};
|