@agg-build/ui 1.1.0 → 1.2.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 -1
- package/dist/{chunk-R6DETAZ6.mjs → chunk-34L7ZKJW.mjs} +804 -776
- package/dist/{chunk-JDYZJKTE.mjs → chunk-5FXMHTVR.mjs} +1 -1
- package/dist/{chunk-IT2Y62MG.mjs → chunk-CDQZJPHQ.mjs} +589 -340
- package/dist/{chunk-7JEJIGG4.mjs → chunk-EGCVA2AQ.mjs} +23 -8
- package/dist/{chunk-OHEZGKFM.mjs → chunk-FDTLV74F.mjs} +89 -5
- package/dist/{chunk-F3SU7BRE.mjs → chunk-Q2BRDVBU.mjs} +1 -1
- package/dist/{chunk-KDMNFHPL.mjs → chunk-TBKDLNOE.mjs} +27 -16
- package/dist/events.js +956 -906
- package/dist/events.mjs +3 -3
- package/dist/index.js +2936 -2550
- package/dist/index.mjs +17 -15
- package/dist/modals.js +816 -792
- package/dist/modals.mjs +3 -3
- package/dist/pages.js +2214 -1830
- package/dist/pages.mjs +6 -6
- package/dist/primitives.js +799 -773
- package/dist/primitives.mjs +3 -1
- package/dist/styles.css +1 -1
- package/dist/tailwind.css +1 -1
- package/dist/trading.js +868 -639
- package/dist/trading.mjs +4 -4
- package/dist/types/events/market-details/index.d.mts +1 -1
- package/dist/types/events/market-details/index.d.ts +1 -1
- package/dist/types/events/market-details/market-details.types.d.mts +11 -0
- package/dist/types/events/market-details/market-details.types.d.ts +11 -0
- package/dist/types/pages/user-profile/position-view-model.d.mts +54 -0
- package/dist/types/pages/user-profile/position-view-model.d.ts +54 -0
- package/dist/types/pages/user-profile/user-profile.types.d.mts +22 -0
- package/dist/types/pages/user-profile/user-profile.types.d.ts +22 -0
- package/dist/types/primitives/icon/index.d.mts +2 -1
- package/dist/types/primitives/icon/index.d.ts +2 -1
- package/dist/types/primitives/icon/registry.d.mts +4 -0
- package/dist/types/primitives/icon/registry.d.ts +4 -0
- package/dist/types/primitives/icon/svg/hourglass-start.d.mts +5 -0
- package/dist/types/primitives/icon/svg/hourglass-start.d.ts +5 -0
- package/dist/types/shared/utils.d.mts +5 -1
- package/dist/types/shared/utils.d.ts +5 -1
- package/package.json +3 -3
package/dist/trading.js
CHANGED
|
@@ -98,7 +98,7 @@ __export(trading_exports, {
|
|
|
98
98
|
getTradingVenueLabel: () => getTradingVenueLabel,
|
|
99
99
|
parseAmount: () => parseAmount,
|
|
100
100
|
parseVenue: () => parseVenue,
|
|
101
|
-
useEventTradingContext: () =>
|
|
101
|
+
useEventTradingContext: () => import_hooks30.useEventTradingContext
|
|
102
102
|
});
|
|
103
103
|
module.exports = __toCommonJS(trading_exports);
|
|
104
104
|
|
|
@@ -122,13 +122,16 @@ var getMotionClassName = (enabled, ...values) => {
|
|
|
122
122
|
if (!enabled) return void 0;
|
|
123
123
|
return cn(...values);
|
|
124
124
|
};
|
|
125
|
-
var formatUsd = (value) => {
|
|
125
|
+
var formatUsd = (value, options) => {
|
|
126
|
+
var _a, _b;
|
|
126
127
|
if (!Number.isFinite(value)) return "$0";
|
|
128
|
+
const minimumFractionDigits = (_a = options == null ? void 0 : options.minimumFractionDigits) != null ? _a : Number.isInteger(value) ? 0 : 1;
|
|
129
|
+
const maximumFractionDigits = (_b = options == null ? void 0 : options.maximumFractionDigits) != null ? _b : 2;
|
|
127
130
|
return value.toLocaleString("en-US", {
|
|
128
131
|
style: "currency",
|
|
129
132
|
currency: "USD",
|
|
130
|
-
minimumFractionDigits
|
|
131
|
-
maximumFractionDigits
|
|
133
|
+
minimumFractionDigits,
|
|
134
|
+
maximumFractionDigits
|
|
132
135
|
});
|
|
133
136
|
};
|
|
134
137
|
|
|
@@ -1165,10 +1168,10 @@ var SettlementDetails = ({ className }) => {
|
|
|
1165
1168
|
SettlementDetails.displayName = "SettlementDetails";
|
|
1166
1169
|
|
|
1167
1170
|
// src/trading/place-order/index.tsx
|
|
1168
|
-
var
|
|
1169
|
-
var
|
|
1171
|
+
var import_hooks29 = require("@agg-build/hooks");
|
|
1172
|
+
var import_react8 = __toESM(require("@number-flow/react"));
|
|
1170
1173
|
var Dialog2 = __toESM(require("@radix-ui/react-dialog"));
|
|
1171
|
-
var
|
|
1174
|
+
var import_react9 = require("react");
|
|
1172
1175
|
|
|
1173
1176
|
// src/events/market-details/market-details.utils.ts
|
|
1174
1177
|
var import_sdk13 = require("@agg-build/sdk");
|
|
@@ -2851,8 +2854,41 @@ var GoogleIcon = (_a) => {
|
|
|
2851
2854
|
};
|
|
2852
2855
|
GoogleIcon.displayName = "GoogleIcon";
|
|
2853
2856
|
|
|
2854
|
-
// src/primitives/icon/svg/
|
|
2857
|
+
// src/primitives/icon/svg/hourglass-start.tsx
|
|
2855
2858
|
var import_jsx_runtime57 = require("react/jsx-runtime");
|
|
2859
|
+
var HourglassStartIcon = (_a) => {
|
|
2860
|
+
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2861
|
+
return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(
|
|
2862
|
+
"svg",
|
|
2863
|
+
__spreadProps(__spreadValues(__spreadValues({
|
|
2864
|
+
width: "16",
|
|
2865
|
+
height: "16",
|
|
2866
|
+
viewBox: "0 0 16 16",
|
|
2867
|
+
fill: "none",
|
|
2868
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2869
|
+
className
|
|
2870
|
+
}, getIconA11yProps(title2)), props), {
|
|
2871
|
+
children: [
|
|
2872
|
+
title2 ? /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("title", { children: title2 }) : null,
|
|
2873
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
|
|
2874
|
+
"path",
|
|
2875
|
+
{
|
|
2876
|
+
d: "M4.25 1.5H11.75M4.25 14.5H11.75M5 1.5V4.6C5 5.2 5.27 5.76 5.73 6.14L8 8L5.73 9.86C5.27 10.24 5 10.8 5 11.4V14.5M11 1.5V4.6C11 5.2 10.73 5.76 10.27 6.14L8 8L10.27 9.86C10.73 10.24 11 10.8 11 11.4V14.5",
|
|
2877
|
+
stroke: "currentColor",
|
|
2878
|
+
strokeWidth: "1.4",
|
|
2879
|
+
strokeLinecap: "round",
|
|
2880
|
+
strokeLinejoin: "round"
|
|
2881
|
+
}
|
|
2882
|
+
),
|
|
2883
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)("path", { d: "M6.75 4.25H9.25L8 5.25L6.75 4.25Z", fill: "currentColor" })
|
|
2884
|
+
]
|
|
2885
|
+
})
|
|
2886
|
+
);
|
|
2887
|
+
};
|
|
2888
|
+
HourglassStartIcon.displayName = "HourglassStartIcon";
|
|
2889
|
+
|
|
2890
|
+
// src/primitives/icon/svg/image.tsx
|
|
2891
|
+
var import_jsx_runtime58 = require("react/jsx-runtime");
|
|
2856
2892
|
var ImageIcon = (_a) => {
|
|
2857
2893
|
var _b = _a, {
|
|
2858
2894
|
title: title2,
|
|
@@ -2863,7 +2899,7 @@ var ImageIcon = (_a) => {
|
|
|
2863
2899
|
"className",
|
|
2864
2900
|
"isDarkTheme"
|
|
2865
2901
|
]);
|
|
2866
|
-
return /* @__PURE__ */ (0,
|
|
2902
|
+
return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
|
|
2867
2903
|
"svg",
|
|
2868
2904
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2869
2905
|
viewBox: "0 0 40 40",
|
|
@@ -2871,9 +2907,9 @@ var ImageIcon = (_a) => {
|
|
|
2871
2907
|
fill: "none"
|
|
2872
2908
|
}, getIconA11yProps(title2)), props), {
|
|
2873
2909
|
children: [
|
|
2874
|
-
title2 ? /* @__PURE__ */ (0,
|
|
2875
|
-
/* @__PURE__ */ (0,
|
|
2876
|
-
/* @__PURE__ */ (0,
|
|
2910
|
+
title2 ? /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("title", { children: title2 }) : null,
|
|
2911
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)("rect", { width: "40", height: "40", fill: "currentColor" }),
|
|
2912
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
2877
2913
|
"path",
|
|
2878
2914
|
{
|
|
2879
2915
|
d: "M22.0001 16.3333C24.2092 16.3333 26.0001 14.5424 26.0001 12.3333C26.0001 10.1241 24.2092 8.33325 22.0001 8.33325C19.7909 8.33325 18.0001 10.1241 18.0001 12.3333C18.0001 14.5424 19.7909 16.3333 22.0001 16.3333Z",
|
|
@@ -2881,7 +2917,7 @@ var ImageIcon = (_a) => {
|
|
|
2881
2917
|
fillOpacity: "0.1"
|
|
2882
2918
|
}
|
|
2883
2919
|
),
|
|
2884
|
-
/* @__PURE__ */ (0,
|
|
2920
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
2885
2921
|
"path",
|
|
2886
2922
|
{
|
|
2887
2923
|
d: "M29.8379 21.3615C29.5903 21.1242 29.262 20.9946 28.9224 21.0001C28.5828 21.0056 28.2586 21.1457 28.0186 21.3909L22.3828 27.1429L22.1904 27.3332L13.8385 19.0367C13.5855 18.799 13.2504 18.6666 12.9022 18.6666C12.5539 18.6666 12.2188 18.799 11.9658 19.0367L0 30.9233V39.9999H40V31.1341L29.8379 21.3615Z",
|
|
@@ -2896,10 +2932,10 @@ var ImageIcon = (_a) => {
|
|
|
2896
2932
|
ImageIcon.displayName = "ImageIcon";
|
|
2897
2933
|
|
|
2898
2934
|
// src/primitives/icon/svg/info.tsx
|
|
2899
|
-
var
|
|
2935
|
+
var import_jsx_runtime59 = require("react/jsx-runtime");
|
|
2900
2936
|
var InfoIcon = (_a) => {
|
|
2901
2937
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2902
|
-
return /* @__PURE__ */ (0,
|
|
2938
|
+
return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(
|
|
2903
2939
|
"svg",
|
|
2904
2940
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2905
2941
|
viewBox: "0 0 12 12",
|
|
@@ -2907,23 +2943,23 @@ var InfoIcon = (_a) => {
|
|
|
2907
2943
|
fill: "none"
|
|
2908
2944
|
}, getIconA11yProps(title2)), props), {
|
|
2909
2945
|
children: [
|
|
2910
|
-
title2 ? /* @__PURE__ */ (0,
|
|
2911
|
-
/* @__PURE__ */ (0,
|
|
2912
|
-
/* @__PURE__ */ (0,
|
|
2946
|
+
title2 ? /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("title", { children: title2 }) : null,
|
|
2947
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("g", { clipPath: "url(#info_clip)", children: [
|
|
2948
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
|
|
2913
2949
|
"path",
|
|
2914
2950
|
{
|
|
2915
2951
|
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",
|
|
2916
2952
|
fill: "currentColor"
|
|
2917
2953
|
}
|
|
2918
2954
|
),
|
|
2919
|
-
/* @__PURE__ */ (0,
|
|
2955
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
|
|
2920
2956
|
"path",
|
|
2921
2957
|
{
|
|
2922
2958
|
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",
|
|
2923
2959
|
fill: "currentColor"
|
|
2924
2960
|
}
|
|
2925
2961
|
),
|
|
2926
|
-
/* @__PURE__ */ (0,
|
|
2962
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
|
|
2927
2963
|
"path",
|
|
2928
2964
|
{
|
|
2929
2965
|
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",
|
|
@@ -2931,7 +2967,7 @@ var InfoIcon = (_a) => {
|
|
|
2931
2967
|
}
|
|
2932
2968
|
)
|
|
2933
2969
|
] }),
|
|
2934
|
-
/* @__PURE__ */ (0,
|
|
2970
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("clipPath", { id: "info_clip", children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("rect", { width: "12", height: "12", fill: "white" }) }) })
|
|
2935
2971
|
]
|
|
2936
2972
|
})
|
|
2937
2973
|
);
|
|
@@ -2947,10 +2983,10 @@ var iconSizeClasses = {
|
|
|
2947
2983
|
};
|
|
2948
2984
|
|
|
2949
2985
|
// src/primitives/search/search-empty-icon.tsx
|
|
2950
|
-
var
|
|
2986
|
+
var import_jsx_runtime60 = require("react/jsx-runtime");
|
|
2951
2987
|
var SearchEmptyIcon = (_a) => {
|
|
2952
2988
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2953
|
-
return /* @__PURE__ */ (0,
|
|
2989
|
+
return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(
|
|
2954
2990
|
"svg",
|
|
2955
2991
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2956
2992
|
viewBox: "0 0 36 36",
|
|
@@ -2959,8 +2995,8 @@ var SearchEmptyIcon = (_a) => {
|
|
|
2959
2995
|
className
|
|
2960
2996
|
}, getIconA11yProps(title2)), props), {
|
|
2961
2997
|
children: [
|
|
2962
|
-
title2 ? /* @__PURE__ */ (0,
|
|
2963
|
-
/* @__PURE__ */ (0,
|
|
2998
|
+
title2 ? /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("title", { children: title2 }) : null,
|
|
2999
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
|
|
2964
3000
|
"path",
|
|
2965
3001
|
{
|
|
2966
3002
|
d: "M35.2335 0.758837C32.958 -1.51816 27.2145 1.83434 23.82 4.17284C22.029 3.41534 20.061 2.99534 17.9955 2.99534C9.72603 2.99534 2.99703 9.72434 2.99703 17.9953C2.99703 20.0593 3.41553 22.0273 4.17303 23.8183C1.83303 27.2143 -1.51797 32.9563 0.759027 35.2318C1.26903 35.7418 1.97703 35.9758 2.83953 35.9758C5.11653 35.9758 8.47653 34.3453 12.1545 31.8103C13.9515 32.5723 15.9255 32.9953 17.9955 32.9953C26.2665 32.9953 32.9955 26.2663 32.9955 17.9953C32.9955 15.9313 32.577 13.9633 31.8195 12.1723C32.43 11.2873 32.985 10.4233 33.48 9.58934C35.2755 6.55784 37.038 2.56334 35.2335 0.758837ZM17.997 4.49534C23.295 4.49534 27.8895 7.56434 30.099 12.0163C27.885 15.1228 25.008 18.4783 21.744 21.7423C18.48 25.0063 15.1245 27.8818 12.018 30.0958C7.56453 27.8863 4.49703 23.2918 4.49703 17.9938C4.49703 10.5523 10.5525 4.49534 17.997 4.49534ZM8.82603 32.1883C4.66353 34.6558 2.47503 34.8283 1.82103 34.1713C0.979527 33.3313 1.65453 30.3028 4.93803 25.3663C6.28203 27.7393 8.25453 29.7103 10.6275 31.0558C10.014 31.4623 9.41103 31.8418 8.82603 32.1883ZM31.497 17.9953C31.497 25.4383 25.4415 31.4953 17.997 31.4953C16.4655 31.4953 14.994 31.2388 13.62 30.7663C16.6755 28.5178 19.875 25.7323 22.8045 22.8028C25.8645 19.7428 28.593 16.5988 30.7755 13.6363C31.2435 15.0043 31.497 16.4698 31.497 17.9938V17.9953ZM31.0575 10.6243C29.7135 8.25134 27.741 6.27884 25.368 4.93484C30.3045 1.65134 33.333 0.979337 34.173 1.81784C34.83 2.47484 34.6545 4.66184 32.19 8.82284C31.8435 9.40934 31.464 10.0108 31.0575 10.6243Z",
|
|
@@ -2974,10 +3010,10 @@ var SearchEmptyIcon = (_a) => {
|
|
|
2974
3010
|
SearchEmptyIcon.displayName = "SearchEmptyIcon";
|
|
2975
3011
|
|
|
2976
3012
|
// src/primitives/icon/svg/activity.tsx
|
|
2977
|
-
var
|
|
3013
|
+
var import_jsx_runtime61 = require("react/jsx-runtime");
|
|
2978
3014
|
var ActivityIcon = (_a) => {
|
|
2979
3015
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2980
|
-
return /* @__PURE__ */ (0,
|
|
3016
|
+
return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
|
|
2981
3017
|
"svg",
|
|
2982
3018
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2983
3019
|
viewBox: "0 0 24 24",
|
|
@@ -2985,8 +3021,8 @@ var ActivityIcon = (_a) => {
|
|
|
2985
3021
|
fill: "none"
|
|
2986
3022
|
}, getIconA11yProps(title2)), props), {
|
|
2987
3023
|
children: [
|
|
2988
|
-
title2 ? /* @__PURE__ */ (0,
|
|
2989
|
-
/* @__PURE__ */ (0,
|
|
3024
|
+
title2 ? /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("title", { children: title2 }) : null,
|
|
3025
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
|
|
2990
3026
|
"path",
|
|
2991
3027
|
{
|
|
2992
3028
|
d: "M2 12h4l2.5-7 4 14 3-7h8.5",
|
|
@@ -3003,10 +3039,10 @@ var ActivityIcon = (_a) => {
|
|
|
3003
3039
|
ActivityIcon.displayName = "ActivityIcon";
|
|
3004
3040
|
|
|
3005
3041
|
// src/primitives/icon/svg/activity-chart.tsx
|
|
3006
|
-
var
|
|
3042
|
+
var import_jsx_runtime62 = require("react/jsx-runtime");
|
|
3007
3043
|
var ActivityChartIcon = (_a) => {
|
|
3008
3044
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3009
|
-
return /* @__PURE__ */ (0,
|
|
3045
|
+
return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(
|
|
3010
3046
|
"svg",
|
|
3011
3047
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3012
3048
|
viewBox: "0 0 14 14",
|
|
@@ -3014,8 +3050,8 @@ var ActivityChartIcon = (_a) => {
|
|
|
3014
3050
|
fill: "none"
|
|
3015
3051
|
}, getIconA11yProps(title2)), props), {
|
|
3016
3052
|
children: [
|
|
3017
|
-
title2 ? /* @__PURE__ */ (0,
|
|
3018
|
-
/* @__PURE__ */ (0,
|
|
3053
|
+
title2 ? /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("title", { children: title2 }) : null,
|
|
3054
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
|
|
3019
3055
|
"path",
|
|
3020
3056
|
{
|
|
3021
3057
|
d: "M14 6.99987C14 7.32187 13.7392 7.5832 13.4167 7.5832H11.9782C11.7145 7.5832 11.4829 7.76112 11.4147 8.01487L10.4364 11.656C10.325 12.0206 10.0135 12.2499 9.65417 12.2499H9.64425C9.28083 12.2458 8.9705 12.0078 8.87192 11.6584L6.96208 3.9432L5.10825 10.4993C4.99683 10.8475 4.70575 11.0686 4.36158 11.082C4.00458 11.1013 3.70883 10.8983 3.577 10.5792L2.64367 7.96937C2.56025 7.73837 2.33975 7.58262 2.09417 7.58262H0.583333C0.26075 7.58262 0 7.32128 0 6.99928C0 6.67728 0.26075 6.41595 0.583333 6.41595H2.09475C2.83208 6.41595 3.49358 6.88203 3.74267 7.5762L4.28983 9.10803L6.2055 2.33262C6.32275 1.96803 6.62958 1.73353 6.99942 1.74928C7.35992 1.7557 7.66792 1.99312 7.7665 2.33962L9.66758 10.0198L10.2871 7.71212C10.4918 6.94912 11.1866 6.41595 11.977 6.41595H13.4155C13.7381 6.41595 13.9988 6.67728 13.9988 6.99928L14 6.99987Z",
|
|
@@ -3029,10 +3065,10 @@ var ActivityChartIcon = (_a) => {
|
|
|
3029
3065
|
ActivityChartIcon.displayName = "ActivityChartIcon";
|
|
3030
3066
|
|
|
3031
3067
|
// src/primitives/icon/svg/check-badge.tsx
|
|
3032
|
-
var
|
|
3068
|
+
var import_jsx_runtime63 = require("react/jsx-runtime");
|
|
3033
3069
|
var CheckBadgeIcon = (_a) => {
|
|
3034
3070
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3035
|
-
return /* @__PURE__ */ (0,
|
|
3071
|
+
return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(
|
|
3036
3072
|
"svg",
|
|
3037
3073
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3038
3074
|
viewBox: "0 0 16 16",
|
|
@@ -3040,15 +3076,15 @@ var CheckBadgeIcon = (_a) => {
|
|
|
3040
3076
|
fill: "none"
|
|
3041
3077
|
}, getIconA11yProps(title2)), props), {
|
|
3042
3078
|
children: [
|
|
3043
|
-
title2 ? /* @__PURE__ */ (0,
|
|
3044
|
-
/* @__PURE__ */ (0,
|
|
3079
|
+
title2 ? /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("title", { children: title2 }) : null,
|
|
3080
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)("g", { clipPath: "url(#check-badge-clip)", children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
|
|
3045
3081
|
"path",
|
|
3046
3082
|
{
|
|
3047
3083
|
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",
|
|
3048
3084
|
fill: "currentColor"
|
|
3049
3085
|
}
|
|
3050
3086
|
) }),
|
|
3051
|
-
/* @__PURE__ */ (0,
|
|
3087
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("clipPath", { id: "check-badge-clip", children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("rect", { width: "16", height: "16", fill: "white" }) }) })
|
|
3052
3088
|
]
|
|
3053
3089
|
})
|
|
3054
3090
|
);
|
|
@@ -3056,10 +3092,10 @@ var CheckBadgeIcon = (_a) => {
|
|
|
3056
3092
|
CheckBadgeIcon.displayName = "CheckBadgeIcon";
|
|
3057
3093
|
|
|
3058
3094
|
// src/primitives/icon/svg/chevron-down-thin.tsx
|
|
3059
|
-
var
|
|
3095
|
+
var import_jsx_runtime64 = require("react/jsx-runtime");
|
|
3060
3096
|
var ChevronDownThinIcon = (_a) => {
|
|
3061
3097
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3062
|
-
return /* @__PURE__ */ (0,
|
|
3098
|
+
return /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(
|
|
3063
3099
|
"svg",
|
|
3064
3100
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3065
3101
|
viewBox: "0 0 16 16",
|
|
@@ -3068,8 +3104,8 @@ var ChevronDownThinIcon = (_a) => {
|
|
|
3068
3104
|
className
|
|
3069
3105
|
}, getIconA11yProps(title2)), props), {
|
|
3070
3106
|
children: [
|
|
3071
|
-
title2 ? /* @__PURE__ */ (0,
|
|
3072
|
-
/* @__PURE__ */ (0,
|
|
3107
|
+
title2 ? /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("title", { children: title2 }) : null,
|
|
3108
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
|
|
3073
3109
|
"path",
|
|
3074
3110
|
{
|
|
3075
3111
|
d: "M4 6L8 10L12 6",
|
|
@@ -3086,10 +3122,10 @@ var ChevronDownThinIcon = (_a) => {
|
|
|
3086
3122
|
ChevronDownThinIcon.displayName = "ChevronDownThinIcon";
|
|
3087
3123
|
|
|
3088
3124
|
// src/primitives/icon/svg/cross-circle.tsx
|
|
3089
|
-
var
|
|
3125
|
+
var import_jsx_runtime65 = require("react/jsx-runtime");
|
|
3090
3126
|
var CrossCircleIcon = (_a) => {
|
|
3091
3127
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3092
|
-
return /* @__PURE__ */ (0,
|
|
3128
|
+
return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
|
|
3093
3129
|
"svg",
|
|
3094
3130
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3095
3131
|
width: "16",
|
|
@@ -3100,8 +3136,8 @@ var CrossCircleIcon = (_a) => {
|
|
|
3100
3136
|
className
|
|
3101
3137
|
}, getIconA11yProps(title2)), props), {
|
|
3102
3138
|
children: [
|
|
3103
|
-
title2 ? /* @__PURE__ */ (0,
|
|
3104
|
-
/* @__PURE__ */ (0,
|
|
3139
|
+
title2 ? /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("title", { children: title2 }) : null,
|
|
3140
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
|
3105
3141
|
"path",
|
|
3106
3142
|
{
|
|
3107
3143
|
d: "M8 0C6.41775 0 4.87104 0.469192 3.55544 1.34824C2.23985 2.22729 1.21447 3.47672 0.608967 4.93853C0.00346629 6.40034 -0.15496 8.00887 0.153721 9.56072C0.462403 11.1126 1.22433 12.538 2.34315 13.6569C3.46197 14.7757 4.88743 15.5376 6.43928 15.8463C7.99113 16.155 9.59966 15.9965 11.0615 15.391C12.5233 14.7855 13.7727 13.7602 14.6518 12.4446C15.5308 11.129 16 9.58225 16 8C16 5.87827 15.1571 3.84344 13.6569 2.34315C12.1566 0.842855 10.1217 0 8 0ZM11.138 10.1953L10.1953 11.138L8 8.94267L5.80467 11.138L4.862 10.1953L7.05734 8L4.862 5.80467L5.80467 4.862L8 7.05733L10.1953 4.862L11.138 5.80467L8.94267 8L11.138 10.1953Z",
|
|
@@ -3115,10 +3151,10 @@ var CrossCircleIcon = (_a) => {
|
|
|
3115
3151
|
CrossCircleIcon.displayName = "CrossCircleIcon";
|
|
3116
3152
|
|
|
3117
3153
|
// src/primitives/icon/svg/discord.tsx
|
|
3118
|
-
var
|
|
3154
|
+
var import_jsx_runtime66 = require("react/jsx-runtime");
|
|
3119
3155
|
var DiscordIcon = (_a) => {
|
|
3120
3156
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3121
|
-
return /* @__PURE__ */ (0,
|
|
3157
|
+
return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(
|
|
3122
3158
|
"svg",
|
|
3123
3159
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3124
3160
|
viewBox: "0 0 20 20",
|
|
@@ -3126,8 +3162,8 @@ var DiscordIcon = (_a) => {
|
|
|
3126
3162
|
fill: "none"
|
|
3127
3163
|
}, getIconA11yProps(title2)), props), {
|
|
3128
3164
|
children: [
|
|
3129
|
-
title2 ? /* @__PURE__ */ (0,
|
|
3130
|
-
/* @__PURE__ */ (0,
|
|
3165
|
+
title2 ? /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("title", { children: title2 }) : null,
|
|
3166
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
|
|
3131
3167
|
"path",
|
|
3132
3168
|
{
|
|
3133
3169
|
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",
|
|
@@ -3141,10 +3177,10 @@ var DiscordIcon = (_a) => {
|
|
|
3141
3177
|
DiscordIcon.displayName = "DiscordIcon";
|
|
3142
3178
|
|
|
3143
3179
|
// src/primitives/icon/svg/email.tsx
|
|
3144
|
-
var
|
|
3180
|
+
var import_jsx_runtime67 = require("react/jsx-runtime");
|
|
3145
3181
|
var EmailIcon = (_a) => {
|
|
3146
3182
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3147
|
-
return /* @__PURE__ */ (0,
|
|
3183
|
+
return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(
|
|
3148
3184
|
"svg",
|
|
3149
3185
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3150
3186
|
viewBox: "0 0 20 20",
|
|
@@ -3152,8 +3188,8 @@ var EmailIcon = (_a) => {
|
|
|
3152
3188
|
fill: "none"
|
|
3153
3189
|
}, getIconA11yProps(title2)), props), {
|
|
3154
3190
|
children: [
|
|
3155
|
-
title2 ? /* @__PURE__ */ (0,
|
|
3156
|
-
/* @__PURE__ */ (0,
|
|
3191
|
+
title2 ? /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("title", { children: title2 }) : null,
|
|
3192
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
3157
3193
|
"path",
|
|
3158
3194
|
{
|
|
3159
3195
|
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",
|
|
@@ -3163,7 +3199,7 @@ var EmailIcon = (_a) => {
|
|
|
3163
3199
|
strokeLinejoin: "round"
|
|
3164
3200
|
}
|
|
3165
3201
|
),
|
|
3166
|
-
/* @__PURE__ */ (0,
|
|
3202
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
3167
3203
|
"path",
|
|
3168
3204
|
{
|
|
3169
3205
|
d: "M18.3333 5L10 10.8333L1.66667 5",
|
|
@@ -3180,10 +3216,10 @@ var EmailIcon = (_a) => {
|
|
|
3180
3216
|
EmailIcon.displayName = "EmailIcon";
|
|
3181
3217
|
|
|
3182
3218
|
// src/primitives/icon/svg/internet-security.tsx
|
|
3183
|
-
var
|
|
3219
|
+
var import_jsx_runtime68 = require("react/jsx-runtime");
|
|
3184
3220
|
var InternetSecurityIcon = (_a) => {
|
|
3185
3221
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3186
|
-
return /* @__PURE__ */ (0,
|
|
3222
|
+
return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(
|
|
3187
3223
|
"svg",
|
|
3188
3224
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3189
3225
|
viewBox: "0 0 60 60",
|
|
@@ -3191,15 +3227,15 @@ var InternetSecurityIcon = (_a) => {
|
|
|
3191
3227
|
fill: "none"
|
|
3192
3228
|
}, getIconA11yProps(title2)), props), {
|
|
3193
3229
|
children: [
|
|
3194
|
-
title2 ? /* @__PURE__ */ (0,
|
|
3195
|
-
/* @__PURE__ */ (0,
|
|
3230
|
+
title2 ? /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("title", { children: title2 }) : null,
|
|
3231
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)("g", { clipPath: "url(#internet-security-clip)", children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
|
|
3196
3232
|
"path",
|
|
3197
3233
|
{
|
|
3198
3234
|
d: "M31.2125 58.9425C31.32 58.55 31.1175 58.13 30.855 57.84C30.76 57.7525 24.195 51.48 20.3075 42.5025H26.2525C26.9425 42.5025 27.5025 41.9425 27.5025 41.2525C27.5025 40.5625 26.9425 40.0025 26.2525 40.0025H19.33C18.2325 36.885 17.5025 33.52 17.5025 30.0025C17.5025 26.485 18.2325 23.12 19.33 20.0025H55.605C56.115 21.2975 56.5425 22.635 56.85 24.0225C57 24.695 57.6625 25.125 58.3425 24.9725C59.0175 24.8225 59.44 24.155 59.2925 23.48C56.275 9.88753 43.98 0.0225282 30.0425 2.81571e-05C13.49 -0.0224718 -0.00249965 13.4425 3.47359e-07 30C3.47359e-07 46.5425 13.4575 60 30 60C30.61 60.0025 31.1475 59.5325 31.2125 58.9425ZM20.305 17.5C23.3775 10.4025 28.0975 5.02003 30 3.02753C31.92 5.03253 36.6625 10.415 39.72 17.5H20.305ZM54.485 17.5H42.42C39.745 10.8325 35.645 5.56253 33.1075 2.70003C42.2725 3.76003 50.325 9.42003 54.485 17.5ZM26.9 2.68753C24.3525 5.54753 20.24 10.83 17.5725 17.5H5.535C9.6475 9.48503 17.565 3.74003 26.9 2.68753ZM4.41 20H16.6725C15.6625 23.12 15 26.4725 15 30C15 33.5275 15.6625 36.88 16.6725 40H4.41C3.1925 36.895 2.5 33.53 2.5 30C2.5 26.47 3.1925 23.105 4.41 20ZM5.535 42.5H17.5725C20.24 49.1725 24.3525 54.4525 26.9 57.3125C17.565 56.26 9.6475 50.515 5.535 42.5ZM55 38.3775V33.75C55 28.925 51.075 25 46.25 25C41.425 25 37.5 28.925 37.5 33.75V38.3775C34.555 39.7875 32.5 42.7725 32.5 46.25V51.25C32.5 56.075 36.425 60 41.25 60H51.25C56.075 60 60 56.075 60 51.25V46.25C60 42.7725 57.945 39.7875 55 38.3775ZM40 33.75C40 30.305 42.8025 27.5 46.25 27.5C49.6975 27.5 52.5 30.305 52.5 33.75V37.6275C52.0875 37.5675 51.6775 37.5 51.25 37.5H41.25C40.8225 37.5 40.4125 37.5675 40 37.6275V33.75ZM57.5 51.25C57.5 54.695 54.6975 57.5 51.25 57.5H41.25C37.8025 57.5 35 54.695 35 51.25V46.25C35 42.805 37.8025 40 41.25 40H51.25C54.6975 40 57.5 42.805 57.5 46.25V51.25ZM48.75 48.75C48.75 50.13 47.63 51.25 46.25 51.25C44.87 51.25 43.75 50.13 43.75 48.75C43.75 47.37 44.87 46.25 46.25 46.25C47.63 46.25 48.75 47.37 48.75 48.75Z",
|
|
3199
3235
|
fill: "currentColor"
|
|
3200
3236
|
}
|
|
3201
3237
|
) }),
|
|
3202
|
-
/* @__PURE__ */ (0,
|
|
3238
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("clipPath", { id: "internet-security-clip", children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("rect", { width: "60", height: "60", fill: "white" }) }) })
|
|
3203
3239
|
]
|
|
3204
3240
|
})
|
|
3205
3241
|
);
|
|
@@ -3207,10 +3243,10 @@ var InternetSecurityIcon = (_a) => {
|
|
|
3207
3243
|
InternetSecurityIcon.displayName = "InternetSecurityIcon";
|
|
3208
3244
|
|
|
3209
3245
|
// src/primitives/icon/svg/link-accounts.tsx
|
|
3210
|
-
var
|
|
3246
|
+
var import_jsx_runtime69 = require("react/jsx-runtime");
|
|
3211
3247
|
var LinkAccountsIcon = (_a) => {
|
|
3212
3248
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3213
|
-
return /* @__PURE__ */ (0,
|
|
3249
|
+
return /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(
|
|
3214
3250
|
"svg",
|
|
3215
3251
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3216
3252
|
width: "28",
|
|
@@ -3221,15 +3257,15 @@ var LinkAccountsIcon = (_a) => {
|
|
|
3221
3257
|
className
|
|
3222
3258
|
}, getIconA11yProps(title2)), props), {
|
|
3223
3259
|
children: [
|
|
3224
|
-
title2 ? /* @__PURE__ */ (0,
|
|
3225
|
-
/* @__PURE__ */ (0,
|
|
3260
|
+
title2 ? /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("title", { children: title2 }) : null,
|
|
3261
|
+
/* @__PURE__ */ (0, import_jsx_runtime69.jsx)("g", { clipPath: "url(#clip0_link_accounts)", children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
|
3226
3262
|
"path",
|
|
3227
3263
|
{
|
|
3228
3264
|
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",
|
|
3229
3265
|
fill: "currentColor"
|
|
3230
3266
|
}
|
|
3231
3267
|
) }),
|
|
3232
|
-
/* @__PURE__ */ (0,
|
|
3268
|
+
/* @__PURE__ */ (0, import_jsx_runtime69.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("clipPath", { id: "clip0_link_accounts", children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("rect", { width: "28", height: "28", fill: "white" }) }) })
|
|
3233
3269
|
]
|
|
3234
3270
|
})
|
|
3235
3271
|
);
|
|
@@ -3237,10 +3273,10 @@ var LinkAccountsIcon = (_a) => {
|
|
|
3237
3273
|
LinkAccountsIcon.displayName = "LinkAccountsIcon";
|
|
3238
3274
|
|
|
3239
3275
|
// src/primitives/icon/svg/lock.tsx
|
|
3240
|
-
var
|
|
3276
|
+
var import_jsx_runtime70 = require("react/jsx-runtime");
|
|
3241
3277
|
var LockIcon = (_a) => {
|
|
3242
3278
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3243
|
-
return /* @__PURE__ */ (0,
|
|
3279
|
+
return /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)(
|
|
3244
3280
|
"svg",
|
|
3245
3281
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3246
3282
|
viewBox: "0 0 12 12",
|
|
@@ -3249,15 +3285,15 @@ var LockIcon = (_a) => {
|
|
|
3249
3285
|
xmlns: "http://www.w3.org/2000/svg"
|
|
3250
3286
|
}, getIconA11yProps(title2)), props), {
|
|
3251
3287
|
children: [
|
|
3252
|
-
title2 ? /* @__PURE__ */ (0,
|
|
3253
|
-
/* @__PURE__ */ (0,
|
|
3288
|
+
title2 ? /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("title", { children: title2 }) : null,
|
|
3289
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
|
|
3254
3290
|
"path",
|
|
3255
3291
|
{
|
|
3256
3292
|
d: "M9.5 4.212V3.5C9.5 2.57174 9.13125 1.6815 8.47487 1.02513C7.8185 0.368749 6.92826 0 6 0C5.07174 0 4.1815 0.368749 3.52513 1.02513C2.86875 1.6815 2.5 2.57174 2.5 3.5V4.212C2.05468 4.40635 1.67565 4.72626 1.40925 5.13261C1.14285 5.53895 1.00064 6.01412 1 6.5V9.5C1.00079 10.1628 1.26444 10.7982 1.73311 11.2669C2.20178 11.7356 2.8372 11.9992 3.5 12H8.5C9.1628 11.9992 9.79822 11.7356 10.2669 11.2669C10.7356 10.7982 10.9992 10.1628 11 9.5V6.5C10.9994 6.01412 10.8571 5.53895 10.5908 5.13261C10.3244 4.72626 9.94532 4.40635 9.5 4.212ZM3.5 3.5C3.5 2.83696 3.76339 2.20107 4.23223 1.73223C4.70107 1.26339 5.33696 1 6 1C6.66304 1 7.29893 1.26339 7.76777 1.73223C8.23661 2.20107 8.5 2.83696 8.5 3.5V4H3.5V3.5ZM10 9.5C10 9.89782 9.84196 10.2794 9.56066 10.5607C9.27936 10.842 8.89782 11 8.5 11H3.5C3.10218 11 2.72064 10.842 2.43934 10.5607C2.15804 10.2794 2 9.89782 2 9.5V6.5C2 6.10218 2.15804 5.72064 2.43934 5.43934C2.72064 5.15804 3.10218 5 3.5 5H8.5C8.89782 5 9.27936 5.15804 9.56066 5.43934C9.84196 5.72064 10 6.10218 10 6.5V9.5Z",
|
|
3257
3293
|
fill: "currentColor"
|
|
3258
3294
|
}
|
|
3259
3295
|
),
|
|
3260
|
-
/* @__PURE__ */ (0,
|
|
3296
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
|
|
3261
3297
|
"path",
|
|
3262
3298
|
{
|
|
3263
3299
|
d: "M6 7C5.86739 7 5.74021 7.05268 5.64645 7.14645C5.55268 7.24021 5.5 7.36739 5.5 7.5V8.5C5.5 8.63261 5.55268 8.75979 5.64645 8.85355C5.74021 8.94732 5.86739 9 6 9C6.13261 9 6.25979 8.94732 6.35355 8.85355C6.44732 8.75979 6.5 8.63261 6.5 8.5V7.5C6.5 7.36739 6.44732 7.24021 6.35355 7.14645C6.25979 7.05268 6.13261 7 6 7Z",
|
|
@@ -3271,10 +3307,10 @@ var LockIcon = (_a) => {
|
|
|
3271
3307
|
LockIcon.displayName = "LockIcon";
|
|
3272
3308
|
|
|
3273
3309
|
// src/primitives/icon/svg/pencil.tsx
|
|
3274
|
-
var
|
|
3310
|
+
var import_jsx_runtime71 = require("react/jsx-runtime");
|
|
3275
3311
|
var PencilIcon = (_a) => {
|
|
3276
3312
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3277
|
-
return /* @__PURE__ */ (0,
|
|
3313
|
+
return /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(
|
|
3278
3314
|
"svg",
|
|
3279
3315
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3280
3316
|
viewBox: "0 0 16 16",
|
|
@@ -3282,15 +3318,15 @@ var PencilIcon = (_a) => {
|
|
|
3282
3318
|
fill: "none"
|
|
3283
3319
|
}, getIconA11yProps(title2)), props), {
|
|
3284
3320
|
children: [
|
|
3285
|
-
title2 ? /* @__PURE__ */ (0,
|
|
3286
|
-
/* @__PURE__ */ (0,
|
|
3321
|
+
title2 ? /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("title", { children: title2 }) : null,
|
|
3322
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)("g", { clipPath: "url(#pencil_clip)", children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
|
|
3287
3323
|
"path",
|
|
3288
3324
|
{
|
|
3289
3325
|
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",
|
|
3290
3326
|
fill: "currentColor"
|
|
3291
3327
|
}
|
|
3292
3328
|
) }),
|
|
3293
|
-
/* @__PURE__ */ (0,
|
|
3329
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("clipPath", { id: "pencil_clip", children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("rect", { width: "16", height: "16", fill: "white" }) }) })
|
|
3294
3330
|
]
|
|
3295
3331
|
})
|
|
3296
3332
|
);
|
|
@@ -3298,10 +3334,10 @@ var PencilIcon = (_a) => {
|
|
|
3298
3334
|
PencilIcon.displayName = "PencilIcon";
|
|
3299
3335
|
|
|
3300
3336
|
// src/primitives/icon/svg/play-square.tsx
|
|
3301
|
-
var
|
|
3337
|
+
var import_jsx_runtime72 = require("react/jsx-runtime");
|
|
3302
3338
|
var PlaySquareIcon = (_a) => {
|
|
3303
3339
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3304
|
-
return /* @__PURE__ */ (0,
|
|
3340
|
+
return /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(
|
|
3305
3341
|
"svg",
|
|
3306
3342
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3307
3343
|
viewBox: "0 0 16 16",
|
|
@@ -3309,15 +3345,15 @@ var PlaySquareIcon = (_a) => {
|
|
|
3309
3345
|
fill: "none"
|
|
3310
3346
|
}, getIconA11yProps(title2)), props), {
|
|
3311
3347
|
children: [
|
|
3312
|
-
title2 ? /* @__PURE__ */ (0,
|
|
3313
|
-
/* @__PURE__ */ (0,
|
|
3348
|
+
title2 ? /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("title", { children: title2 }) : null,
|
|
3349
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsx)("g", { clipPath: "url(#play-square-clip)", children: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
|
|
3314
3350
|
"path",
|
|
3315
3351
|
{
|
|
3316
3352
|
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",
|
|
3317
3353
|
fill: "currentColor"
|
|
3318
3354
|
}
|
|
3319
3355
|
) }),
|
|
3320
|
-
/* @__PURE__ */ (0,
|
|
3356
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("clipPath", { id: "play-square-clip", children: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("rect", { width: "16", height: "16", fill: "white" }) }) })
|
|
3321
3357
|
]
|
|
3322
3358
|
})
|
|
3323
3359
|
);
|
|
@@ -3325,10 +3361,10 @@ var PlaySquareIcon = (_a) => {
|
|
|
3325
3361
|
PlaySquareIcon.displayName = "PlaySquareIcon";
|
|
3326
3362
|
|
|
3327
3363
|
// src/primitives/icon/svg/polygon.tsx
|
|
3328
|
-
var
|
|
3364
|
+
var import_jsx_runtime73 = require("react/jsx-runtime");
|
|
3329
3365
|
var PolygonIcon = (_a) => {
|
|
3330
3366
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3331
|
-
return /* @__PURE__ */ (0,
|
|
3367
|
+
return /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(
|
|
3332
3368
|
"svg",
|
|
3333
3369
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3334
3370
|
viewBox: "0 0 24 24",
|
|
@@ -3336,9 +3372,9 @@ var PolygonIcon = (_a) => {
|
|
|
3336
3372
|
fill: "none"
|
|
3337
3373
|
}, getIconA11yProps(title2)), props), {
|
|
3338
3374
|
children: [
|
|
3339
|
-
title2 ? /* @__PURE__ */ (0,
|
|
3340
|
-
/* @__PURE__ */ (0,
|
|
3341
|
-
/* @__PURE__ */ (0,
|
|
3375
|
+
title2 ? /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("title", { children: title2 }) : null,
|
|
3376
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)("rect", { width: "24", height: "24", rx: "8", fill: "#8247E5" }),
|
|
3377
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
|
|
3342
3378
|
"path",
|
|
3343
3379
|
{
|
|
3344
3380
|
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",
|
|
@@ -3352,10 +3388,10 @@ var PolygonIcon = (_a) => {
|
|
|
3352
3388
|
PolygonIcon.displayName = "PolygonIcon";
|
|
3353
3389
|
|
|
3354
3390
|
// src/primitives/icon/svg/quotes-warning.tsx
|
|
3355
|
-
var
|
|
3391
|
+
var import_jsx_runtime74 = require("react/jsx-runtime");
|
|
3356
3392
|
var QuotesWarningIcon = (_a) => {
|
|
3357
3393
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3358
|
-
return /* @__PURE__ */ (0,
|
|
3394
|
+
return /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(
|
|
3359
3395
|
"svg",
|
|
3360
3396
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3361
3397
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3366,8 +3402,8 @@ var QuotesWarningIcon = (_a) => {
|
|
|
3366
3402
|
className
|
|
3367
3403
|
}, getIconA11yProps(title2)), props), {
|
|
3368
3404
|
children: [
|
|
3369
|
-
title2 ? /* @__PURE__ */ (0,
|
|
3370
|
-
/* @__PURE__ */ (0,
|
|
3405
|
+
title2 ? /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("title", { children: title2 }) : null,
|
|
3406
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
|
|
3371
3407
|
"path",
|
|
3372
3408
|
{
|
|
3373
3409
|
d: "M17.25 21.75V9.75C17.25 9.33 17.58 9 18 9C18.42 9 18.75 9.33 18.75 9.75V21.75C18.75 22.17 18.42 22.5 18 22.5C17.58 22.5 17.25 22.17 17.25 21.75ZM18 25.5C17.175 25.5 16.5 26.175 16.5 27C16.5 27.825 17.175 28.5 18 28.5C18.825 28.5 19.5 27.825 19.5 27C19.5 26.175 18.825 25.5 18 25.5ZM35.415 30.105C34.455 31.95 32.43 33 29.85 33H6.15002C3.58502 33 1.54502 31.95 0.585023 30.105C-0.389977 28.245 -0.119977 25.8 1.30502 23.745L13.95 3.645C14.88 2.295 16.395 1.5 18 1.5C19.605 1.5 21.12 2.295 22.035 3.615L34.695 23.76C36.12 25.815 36.39 28.245 35.415 30.105ZM33.45 24.6C33.45 24.6 33.45 24.585 33.435 24.57L20.79 4.44C20.16 3.525 19.14 3 18 3C16.86 3 15.84 3.54 15.195 4.47L2.56502 24.57C1.44002 26.19 1.20002 28.035 1.92002 29.415C2.62502 30.765 4.12502 31.5 6.15002 31.5H29.865C31.89 31.5 33.39 30.765 34.095 29.415C34.815 28.05 34.575 26.205 33.465 24.6H33.45Z",
|
|
@@ -3381,10 +3417,10 @@ var QuotesWarningIcon = (_a) => {
|
|
|
3381
3417
|
QuotesWarningIcon.displayName = "QuotesWarningIcon";
|
|
3382
3418
|
|
|
3383
3419
|
// src/primitives/icon/svg/profile-about-tab.tsx
|
|
3384
|
-
var
|
|
3420
|
+
var import_jsx_runtime75 = require("react/jsx-runtime");
|
|
3385
3421
|
var ProfileAboutTabIcon = (_a) => {
|
|
3386
3422
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3387
|
-
return /* @__PURE__ */ (0,
|
|
3423
|
+
return /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(
|
|
3388
3424
|
"svg",
|
|
3389
3425
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3390
3426
|
viewBox: "0 0 16 16",
|
|
@@ -3392,16 +3428,16 @@ var ProfileAboutTabIcon = (_a) => {
|
|
|
3392
3428
|
fill: "none"
|
|
3393
3429
|
}, getIconA11yProps(title2)), props), {
|
|
3394
3430
|
children: [
|
|
3395
|
-
title2 ? /* @__PURE__ */ (0,
|
|
3396
|
-
/* @__PURE__ */ (0,
|
|
3397
|
-
/* @__PURE__ */ (0,
|
|
3431
|
+
title2 ? /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("title", { children: title2 }) : null,
|
|
3432
|
+
/* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("g", { clipPath: "url(#clip_profile_about_tab)", children: [
|
|
3433
|
+
/* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
|
|
3398
3434
|
"path",
|
|
3399
3435
|
{
|
|
3400
3436
|
d: "M12.6667 0H3.33333C2.4496 0.00105857 1.60237 0.352588 0.97748 0.97748C0.352588 1.60237 0.00105857 2.4496 0 3.33333L0 12.6667C0.00105857 13.5504 0.352588 14.3976 0.97748 15.0225C1.60237 15.6474 2.4496 15.9989 3.33333 16H12.6667C13.5504 15.9989 14.3976 15.6474 15.0225 15.0225C15.6474 14.3976 15.9989 13.5504 16 12.6667V3.33333C15.9989 2.4496 15.6474 1.60237 15.0225 0.97748C14.3976 0.352588 13.5504 0.00105857 12.6667 0ZM4.66667 14.6667V14C4.66667 13.1159 5.01786 12.2681 5.64298 11.643C6.2681 11.0179 7.11595 10.6667 8 10.6667C8.88406 10.6667 9.7319 11.0179 10.357 11.643C10.9821 12.2681 11.3333 13.1159 11.3333 14V14.6667H4.66667ZM14.6667 12.6667C14.6667 13.1971 14.456 13.7058 14.0809 14.0809C13.7058 14.456 13.1971 14.6667 12.6667 14.6667V14C12.6667 12.7623 12.175 11.5753 11.2998 10.7002C10.4247 9.825 9.23768 9.33333 8 9.33333C6.76232 9.33333 5.57534 9.825 4.70017 10.7002C3.825 11.5753 3.33333 12.7623 3.33333 14V14.6667C2.8029 14.6667 2.29419 14.456 1.91912 14.0809C1.54405 13.7058 1.33333 13.1971 1.33333 12.6667V3.33333C1.33333 2.8029 1.54405 2.29419 1.91912 1.91912C2.29419 1.54405 2.8029 1.33333 3.33333 1.33333H12.6667C13.1971 1.33333 13.7058 1.54405 14.0809 1.91912C14.456 2.29419 14.6667 2.8029 14.6667 3.33333V12.6667Z",
|
|
3401
3437
|
fill: "currentColor"
|
|
3402
3438
|
}
|
|
3403
3439
|
),
|
|
3404
|
-
/* @__PURE__ */ (0,
|
|
3440
|
+
/* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
|
|
3405
3441
|
"path",
|
|
3406
3442
|
{
|
|
3407
3443
|
d: "M8.00004 2.66669C7.47263 2.66669 6.95705 2.82308 6.51852 3.1161C6.07999 3.40912 5.7382 3.82559 5.53636 4.31286C5.33453 4.80013 5.28172 5.33631 5.38461 5.85359C5.48751 6.37088 5.74148 6.84603 6.11442 7.21897C6.48736 7.59191 6.96252 7.84589 7.4798 7.94878C7.99708 8.05167 8.53326 7.99887 9.02053 7.79703C9.5078 7.5952 9.92428 7.2534 10.2173 6.81487C10.5103 6.37634 10.6667 5.86077 10.6667 5.33335C10.6667 4.62611 10.3858 3.94783 9.88566 3.44774C9.38556 2.94764 8.70729 2.66669 8.00004 2.66669ZM8.00004 6.66669C7.73633 6.66669 7.47855 6.58849 7.25928 6.44198C7.04002 6.29547 6.86912 6.08723 6.7682 5.8436C6.66729 5.59996 6.64088 5.33187 6.69233 5.07323C6.74378 4.81459 6.87076 4.57701 7.05723 4.39054C7.2437 4.20407 7.48128 4.07709 7.73992 4.02564C7.99856 3.97419 8.26665 4.0006 8.51029 4.10151C8.75392 4.20243 8.96216 4.37333 9.10867 4.59259C9.25518 4.81186 9.33338 5.06965 9.33338 5.33335C9.33338 5.68698 9.1929 6.02611 8.94285 6.27616C8.6928 6.52621 8.35366 6.66669 8.00004 6.66669Z",
|
|
@@ -3409,7 +3445,7 @@ var ProfileAboutTabIcon = (_a) => {
|
|
|
3409
3445
|
}
|
|
3410
3446
|
)
|
|
3411
3447
|
] }),
|
|
3412
|
-
/* @__PURE__ */ (0,
|
|
3448
|
+
/* @__PURE__ */ (0, import_jsx_runtime75.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("clipPath", { id: "clip_profile_about_tab", children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("rect", { width: "16", height: "16", fill: "white" }) }) })
|
|
3413
3449
|
]
|
|
3414
3450
|
})
|
|
3415
3451
|
);
|
|
@@ -3417,7 +3453,7 @@ var ProfileAboutTabIcon = (_a) => {
|
|
|
3417
3453
|
ProfileAboutTabIcon.displayName = "ProfileAboutTabIcon";
|
|
3418
3454
|
|
|
3419
3455
|
// src/primitives/icon/svg/profile-accounts-wallets-tab.tsx
|
|
3420
|
-
var
|
|
3456
|
+
var import_jsx_runtime76 = require("react/jsx-runtime");
|
|
3421
3457
|
var ProfileAccountsWalletsTabIcon = (_a) => {
|
|
3422
3458
|
var _b = _a, {
|
|
3423
3459
|
title: title2,
|
|
@@ -3426,7 +3462,7 @@ var ProfileAccountsWalletsTabIcon = (_a) => {
|
|
|
3426
3462
|
"title",
|
|
3427
3463
|
"className"
|
|
3428
3464
|
]);
|
|
3429
|
-
return /* @__PURE__ */ (0,
|
|
3465
|
+
return /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)(
|
|
3430
3466
|
"svg",
|
|
3431
3467
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3432
3468
|
viewBox: "0 0 16 16",
|
|
@@ -3434,15 +3470,15 @@ var ProfileAccountsWalletsTabIcon = (_a) => {
|
|
|
3434
3470
|
fill: "none"
|
|
3435
3471
|
}, getIconA11yProps(title2)), props), {
|
|
3436
3472
|
children: [
|
|
3437
|
-
title2 ? /* @__PURE__ */ (0,
|
|
3438
|
-
/* @__PURE__ */ (0,
|
|
3473
|
+
title2 ? /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("title", { children: title2 }) : null,
|
|
3474
|
+
/* @__PURE__ */ (0, import_jsx_runtime76.jsx)("g", { clipPath: "url(#clip_profile_accounts_wallets_tab)", children: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
3439
3475
|
"path",
|
|
3440
3476
|
{
|
|
3441
3477
|
d: "M5 8.66667C4.40666 8.66667 3.82664 8.49072 3.33329 8.16108C2.83994 7.83143 2.45542 7.3629 2.22836 6.81472C2.0013 6.26654 1.94189 5.66334 2.05764 5.0814C2.1734 4.49945 2.45912 3.96491 2.87868 3.54535C3.29824 3.12579 3.83279 2.84007 4.41473 2.72431C4.99667 2.60856 5.59987 2.66797 6.14805 2.89503C6.69623 3.12209 7.16476 3.50661 7.49441 3.99996C7.82405 4.4933 8 5.07332 8 5.66667C7.99912 6.46205 7.68276 7.2246 7.12035 7.78701C6.55793 8.34943 5.79538 8.66579 5 8.66667ZM5 4C4.67036 4 4.34813 4.09775 4.07405 4.28089C3.79997 4.46402 3.58635 4.72432 3.4602 5.02886C3.33405 5.33341 3.30105 5.66852 3.36536 5.99182C3.42967 6.31512 3.5884 6.61209 3.82149 6.84518C4.05458 7.07827 4.35155 7.237 4.67485 7.30131C4.99815 7.36562 5.33326 7.33261 5.63781 7.20647C5.94235 7.08032 6.20265 6.8667 6.38578 6.59262C6.56892 6.31854 6.66667 5.9963 6.66667 5.66667C6.66667 5.22464 6.49107 4.80072 6.17851 4.48816C5.86595 4.1756 5.44203 4 5 4ZM10 15.3333V15C10 13.6739 9.47322 12.4021 8.53553 11.4645C7.59785 10.5268 6.32608 10 5 10C3.67392 10 2.40215 10.5268 1.46447 11.4645C0.526784 12.4021 0 13.6739 0 15L0 15.3333C0 15.5101 0.0702379 15.6797 0.195262 15.8047C0.320286 15.9298 0.489856 16 0.666667 16C0.843478 16 1.01305 15.9298 1.13807 15.8047C1.2631 15.6797 1.33333 15.5101 1.33333 15.3333V15C1.33333 14.0275 1.71964 13.0949 2.40728 12.4073C3.09491 11.7196 4.02754 11.3333 5 11.3333C5.97246 11.3333 6.90509 11.7196 7.59273 12.4073C8.28036 13.0949 8.66667 14.0275 8.66667 15V15.3333C8.66667 15.5101 8.73691 15.6797 8.86193 15.8047C8.98695 15.9298 9.15652 16 9.33333 16C9.51014 16 9.67971 15.9298 9.80474 15.8047C9.92976 15.6797 10 15.5101 10 15.3333ZM16 12C16 11.0991 15.7392 10.2175 15.2491 9.46158C14.7591 8.70565 14.0607 8.10772 13.2383 7.73998C12.4159 7.37223 11.5046 7.25039 10.6145 7.38916C9.72437 7.52793 8.89344 7.92137 8.222 8.522C8.15584 8.58013 8.10186 8.6508 8.06317 8.72991C8.02448 8.80903 8.00185 8.89502 7.99659 8.98293C7.99132 9.07085 8.00353 9.15893 8.0325 9.24209C8.06147 9.32526 8.10663 9.40186 8.16537 9.46748C8.22412 9.53309 8.29528 9.58642 8.37475 9.62437C8.45422 9.66232 8.54042 9.68416 8.62838 9.68861C8.71633 9.69306 8.8043 9.68004 8.88719 9.6503C8.97009 9.62055 9.04627 9.57469 9.11133 9.51534C9.59097 9.08641 10.1845 8.80548 10.8203 8.70644C11.456 8.6074 12.1069 8.69449 12.6943 8.9572C13.2816 9.21991 13.7804 9.647 14.1304 10.1869C14.4804 10.7269 14.6667 11.3566 14.6667 12C14.6667 12.1768 14.7369 12.3464 14.8619 12.4714C14.987 12.5964 15.1565 12.6667 15.3333 12.6667C15.5101 12.6667 15.6797 12.5964 15.8047 12.4714C15.9298 12.3464 16 12.1768 16 12ZM11.6667 6C11.0733 6 10.4933 5.82405 9.99996 5.49441C9.50661 5.16477 9.12209 4.69623 8.89503 4.14805C8.66796 3.59987 8.60855 2.99667 8.72431 2.41473C8.84007 1.83279 9.12579 1.29824 9.54535 0.878681C9.9649 0.459123 10.4995 0.173401 11.0814 0.0576455C11.6633 -0.0581102 12.2665 0.00129986 12.8147 0.228363C13.3629 0.455426 13.8314 0.839943 14.1611 1.33329C14.4907 1.82664 14.6667 2.40666 14.6667 3C14.6658 3.79538 14.3494 4.55793 13.787 5.12035C13.2246 5.68277 12.462 5.99912 11.6667 6ZM11.6667 1.33333C11.337 1.33333 11.0148 1.43108 10.7407 1.61422C10.4666 1.79735 10.253 2.05765 10.1269 2.3622C10.0007 2.66674 9.96772 3.00185 10.032 3.32515C10.0963 3.64845 10.2551 3.94543 10.4882 4.17851C10.7212 4.4116 11.0182 4.57033 11.3415 4.63464C11.6648 4.69895 11.9999 4.66595 12.3045 4.5398C12.609 4.41365 12.8693 4.20003 13.0525 3.92595C13.2356 3.65187 13.3333 3.32964 13.3333 3C13.3333 2.55797 13.1577 2.13405 12.8452 1.82149C12.5326 1.50893 12.1087 1.33333 11.6667 1.33333Z",
|
|
3442
3478
|
fill: "currentColor"
|
|
3443
3479
|
}
|
|
3444
3480
|
) }),
|
|
3445
|
-
/* @__PURE__ */ (0,
|
|
3481
|
+
/* @__PURE__ */ (0, import_jsx_runtime76.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("clipPath", { id: "clip_profile_accounts_wallets_tab", children: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("rect", { width: "16", height: "16", fill: "white" }) }) })
|
|
3446
3482
|
]
|
|
3447
3483
|
})
|
|
3448
3484
|
);
|
|
@@ -3450,10 +3486,10 @@ var ProfileAccountsWalletsTabIcon = (_a) => {
|
|
|
3450
3486
|
ProfileAccountsWalletsTabIcon.displayName = "ProfileAccountsWalletsTabIcon";
|
|
3451
3487
|
|
|
3452
3488
|
// src/primitives/icon/svg/profile.tsx
|
|
3453
|
-
var
|
|
3489
|
+
var import_jsx_runtime77 = require("react/jsx-runtime");
|
|
3454
3490
|
var ProfileIcon = (_a) => {
|
|
3455
3491
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3456
|
-
return /* @__PURE__ */ (0,
|
|
3492
|
+
return /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(
|
|
3457
3493
|
"svg",
|
|
3458
3494
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3459
3495
|
viewBox: "0 0 16 16",
|
|
@@ -3461,16 +3497,16 @@ var ProfileIcon = (_a) => {
|
|
|
3461
3497
|
fill: "none"
|
|
3462
3498
|
}, getIconA11yProps(title2)), props), {
|
|
3463
3499
|
children: [
|
|
3464
|
-
title2 ? /* @__PURE__ */ (0,
|
|
3465
|
-
/* @__PURE__ */ (0,
|
|
3466
|
-
/* @__PURE__ */ (0,
|
|
3500
|
+
title2 ? /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("title", { children: title2 }) : null,
|
|
3501
|
+
/* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("g", { clipPath: "url(#profile-clip)", children: [
|
|
3502
|
+
/* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
|
|
3467
3503
|
"path",
|
|
3468
3504
|
{
|
|
3469
3505
|
d: "M8 8C8.79113 8 9.56448 7.76541 10.2223 7.32588C10.8801 6.88635 11.3928 6.26164 11.6955 5.53074C11.9983 4.79983 12.0775 3.99556 11.9231 3.21964C11.7688 2.44372 11.3878 1.73098 10.8284 1.17157C10.269 0.612165 9.55629 0.231202 8.78036 0.0768607C8.00444 -0.0774802 7.20017 0.00173314 6.46927 0.304484C5.73836 0.607234 5.11365 1.11992 4.67412 1.77772C4.2346 2.43552 4 3.20888 4 4C4.00106 5.06054 4.42283 6.07734 5.17274 6.82726C5.92266 7.57718 6.93946 7.99894 8 8ZM8 1.33334C8.52742 1.33334 9.04299 1.48973 9.48152 1.78275C9.92005 2.07577 10.2618 2.49224 10.4637 2.97951C10.6655 3.46678 10.7183 4.00296 10.6154 4.52024C10.5125 5.03753 10.2586 5.51268 9.88562 5.88562C9.51268 6.25856 9.03752 6.51254 8.52024 6.61543C8.00296 6.71832 7.46678 6.66551 6.97951 6.46368C6.49224 6.26185 6.07577 5.92005 5.78275 5.48152C5.48973 5.04299 5.33333 4.52742 5.33333 4C5.33333 3.29276 5.61428 2.61448 6.11438 2.11438C6.61448 1.61429 7.29276 1.33334 8 1.33334Z",
|
|
3470
3506
|
fill: "currentColor"
|
|
3471
3507
|
}
|
|
3472
3508
|
),
|
|
3473
|
-
/* @__PURE__ */ (0,
|
|
3509
|
+
/* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
|
|
3474
3510
|
"path",
|
|
3475
3511
|
{
|
|
3476
3512
|
d: "M8 9.33334C6.40924 9.33511 4.88414 9.96782 3.75931 11.0927C2.63447 12.2175 2.00176 13.7426 2 15.3333C2 15.5102 2.07024 15.6797 2.19526 15.8047C2.32029 15.9298 2.48986 16 2.66667 16C2.84348 16 3.01305 15.9298 3.13807 15.8047C3.2631 15.6797 3.33333 15.5102 3.33333 15.3333C3.33333 14.0957 3.825 12.9087 4.70017 12.0335C5.57534 11.1583 6.76232 10.6667 8 10.6667C9.23768 10.6667 10.4247 11.1583 11.2998 12.0335C12.175 12.9087 12.6667 14.0957 12.6667 15.3333C12.6667 15.5102 12.7369 15.6797 12.8619 15.8047C12.987 15.9298 13.1565 16 13.3333 16C13.5101 16 13.6797 15.9298 13.8047 15.8047C13.9298 15.6797 14 15.5102 14 15.3333C13.9982 13.7426 13.3655 12.2175 12.2407 11.0927C11.1159 9.96782 9.59076 9.33511 8 9.33334Z",
|
|
@@ -3478,7 +3514,7 @@ var ProfileIcon = (_a) => {
|
|
|
3478
3514
|
}
|
|
3479
3515
|
)
|
|
3480
3516
|
] }),
|
|
3481
|
-
/* @__PURE__ */ (0,
|
|
3517
|
+
/* @__PURE__ */ (0, import_jsx_runtime77.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("clipPath", { id: "profile-clip", children: /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("rect", { width: "16", height: "16", fill: "white" }) }) })
|
|
3482
3518
|
]
|
|
3483
3519
|
})
|
|
3484
3520
|
);
|
|
@@ -3486,10 +3522,10 @@ var ProfileIcon = (_a) => {
|
|
|
3486
3522
|
ProfileIcon.displayName = "ProfileIcon";
|
|
3487
3523
|
|
|
3488
3524
|
// src/primitives/icon/svg/recenter.tsx
|
|
3489
|
-
var
|
|
3525
|
+
var import_jsx_runtime78 = require("react/jsx-runtime");
|
|
3490
3526
|
var RecenterIcon = (_a) => {
|
|
3491
3527
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3492
|
-
return /* @__PURE__ */ (0,
|
|
3528
|
+
return /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)(
|
|
3493
3529
|
"svg",
|
|
3494
3530
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3495
3531
|
viewBox: "0 0 16 16",
|
|
@@ -3497,15 +3533,15 @@ var RecenterIcon = (_a) => {
|
|
|
3497
3533
|
fill: "none"
|
|
3498
3534
|
}, getIconA11yProps(title2)), props), {
|
|
3499
3535
|
children: [
|
|
3500
|
-
title2 ? /* @__PURE__ */ (0,
|
|
3501
|
-
/* @__PURE__ */ (0,
|
|
3536
|
+
title2 ? /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("title", { children: title2 }) : null,
|
|
3537
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)("g", { clipPath: "url(#recenter-clip)", children: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
|
|
3502
3538
|
"path",
|
|
3503
3539
|
{
|
|
3504
3540
|
d: "M16 8C16 8.36867 15.7013 8.66667 15.3333 8.66667H0.666667C0.298667 8.66667 0 8.36867 0 8C0 7.63133 0.298667 7.33333 0.666667 7.33333H15.3333C15.7013 7.33333 16 7.63133 16 8ZM7.05733 5.60933C7.31733 5.86933 7.65867 5.99933 8 5.99933C8.34133 5.99933 8.68267 5.86933 8.94267 5.60933L11.138 3.414C11.3987 3.15333 11.3987 2.732 11.138 2.47133C10.8773 2.21067 10.456 2.21067 10.1953 2.47133L8.66667 4V0.666667C8.66667 0.298 8.368 0 8 0C7.632 0 7.33333 0.298 7.33333 0.666667V4L5.80467 2.47133C5.544 2.21067 5.12267 2.21067 4.862 2.47133C4.60133 2.732 4.60133 3.15333 4.862 3.414L7.05733 5.60933ZM8.94267 10.3907C8.42333 9.87133 7.57667 9.87133 7.05733 10.3907L4.862 12.586C4.60133 12.8467 4.60133 13.268 4.862 13.5287C5.12267 13.7893 5.544 13.7893 5.80467 13.5287L7.33333 12V15.3333C7.33333 15.702 7.632 16 8 16C8.368 16 8.66667 15.702 8.66667 15.3333V12L10.1953 13.5287C10.3253 13.6587 10.496 13.724 10.6667 13.724C10.8373 13.724 11.008 13.6587 11.138 13.5287C11.3987 13.268 11.3987 12.8467 11.138 12.586L8.94267 10.3907Z",
|
|
3505
3541
|
fill: "currentColor"
|
|
3506
3542
|
}
|
|
3507
3543
|
) }),
|
|
3508
|
-
/* @__PURE__ */ (0,
|
|
3544
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("clipPath", { id: "recenter-clip", children: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("rect", { width: "16", height: "16", fill: "white" }) }) })
|
|
3509
3545
|
]
|
|
3510
3546
|
})
|
|
3511
3547
|
);
|
|
@@ -3513,10 +3549,10 @@ var RecenterIcon = (_a) => {
|
|
|
3513
3549
|
RecenterIcon.displayName = "RecenterIcon";
|
|
3514
3550
|
|
|
3515
3551
|
// src/primitives/icon/svg/revenue-alt.tsx
|
|
3516
|
-
var
|
|
3552
|
+
var import_jsx_runtime79 = require("react/jsx-runtime");
|
|
3517
3553
|
var RevenueAltIcon = (_a) => {
|
|
3518
3554
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3519
|
-
return /* @__PURE__ */ (0,
|
|
3555
|
+
return /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)(
|
|
3520
3556
|
"svg",
|
|
3521
3557
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3522
3558
|
viewBox: "0 0 20 20",
|
|
@@ -3524,8 +3560,8 @@ var RevenueAltIcon = (_a) => {
|
|
|
3524
3560
|
fill: "none"
|
|
3525
3561
|
}, getIconA11yProps(title2)), props), {
|
|
3526
3562
|
children: [
|
|
3527
|
-
title2 ? /* @__PURE__ */ (0,
|
|
3528
|
-
/* @__PURE__ */ (0,
|
|
3563
|
+
title2 ? /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("title", { children: title2 }) : null,
|
|
3564
|
+
/* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
|
|
3529
3565
|
"path",
|
|
3530
3566
|
{
|
|
3531
3567
|
d: "M3 14V6M3 6L1.5 7.5M3 6L4.5 7.5M17 6V14M17 14L15.5 12.5M17 14L18.5 12.5",
|
|
@@ -3535,7 +3571,7 @@ var RevenueAltIcon = (_a) => {
|
|
|
3535
3571
|
strokeLinejoin: "round"
|
|
3536
3572
|
}
|
|
3537
3573
|
),
|
|
3538
|
-
/* @__PURE__ */ (0,
|
|
3574
|
+
/* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
|
|
3539
3575
|
"path",
|
|
3540
3576
|
{
|
|
3541
3577
|
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",
|
|
@@ -3552,10 +3588,10 @@ var RevenueAltIcon = (_a) => {
|
|
|
3552
3588
|
RevenueAltIcon.displayName = "RevenueAltIcon";
|
|
3553
3589
|
|
|
3554
3590
|
// src/primitives/icon/svg/search.tsx
|
|
3555
|
-
var
|
|
3591
|
+
var import_jsx_runtime80 = require("react/jsx-runtime");
|
|
3556
3592
|
var SearchIcon = (_a) => {
|
|
3557
3593
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3558
|
-
return /* @__PURE__ */ (0,
|
|
3594
|
+
return /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(
|
|
3559
3595
|
"svg",
|
|
3560
3596
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3561
3597
|
viewBox: "0 0 16 16",
|
|
@@ -3564,8 +3600,8 @@ var SearchIcon = (_a) => {
|
|
|
3564
3600
|
className
|
|
3565
3601
|
}, getIconA11yProps(title2)), props), {
|
|
3566
3602
|
children: [
|
|
3567
|
-
title2 ? /* @__PURE__ */ (0,
|
|
3568
|
-
/* @__PURE__ */ (0,
|
|
3603
|
+
title2 ? /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("title", { children: title2 }) : null,
|
|
3604
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
|
|
3569
3605
|
"path",
|
|
3570
3606
|
{
|
|
3571
3607
|
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",
|
|
@@ -3575,7 +3611,7 @@ var SearchIcon = (_a) => {
|
|
|
3575
3611
|
strokeLinejoin: "round"
|
|
3576
3612
|
}
|
|
3577
3613
|
),
|
|
3578
|
-
/* @__PURE__ */ (0,
|
|
3614
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
|
|
3579
3615
|
"path",
|
|
3580
3616
|
{
|
|
3581
3617
|
d: "M13.6668 13.6666L11.1667 11.1666",
|
|
@@ -3592,34 +3628,24 @@ var SearchIcon = (_a) => {
|
|
|
3592
3628
|
SearchIcon.displayName = "SearchIcon";
|
|
3593
3629
|
|
|
3594
3630
|
// src/primitives/icon/svg/shield-trust.tsx
|
|
3595
|
-
var
|
|
3631
|
+
var import_jsx_runtime81 = require("react/jsx-runtime");
|
|
3596
3632
|
var ShieldTrustIcon = (_a) => {
|
|
3597
3633
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3598
|
-
return /* @__PURE__ */ (0,
|
|
3634
|
+
return /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)(
|
|
3599
3635
|
"svg",
|
|
3600
3636
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3601
|
-
viewBox: "0 0
|
|
3637
|
+
viewBox: "0 0 14 14",
|
|
3602
3638
|
className,
|
|
3603
3639
|
fill: "none"
|
|
3604
3640
|
}, getIconA11yProps(title2)), props), {
|
|
3605
3641
|
children: [
|
|
3606
|
-
title2 ? /* @__PURE__ */ (0,
|
|
3607
|
-
/* @__PURE__ */ (0,
|
|
3642
|
+
title2 ? /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("title", { children: title2 }) : null,
|
|
3643
|
+
/* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
|
|
3608
3644
|
"path",
|
|
3609
3645
|
{
|
|
3610
|
-
d: "
|
|
3646
|
+
d: "M13.4889 5.75648L12.2341 4.49998V3.49781C12.2341 2.53473 11.4513 1.75073 10.4894 1.75073H9.48835L8.2336 0.494813C7.57385 -0.164938 6.42469 -0.164938 5.76552 0.494813L4.51077 1.75073H3.50977C2.54727 1.75073 1.76502 2.53415 1.76502 3.49781V4.49998L0.509687 5.75648C-0.169896 6.43781 -0.169896 7.54556 0.509687 8.2269L1.76444 9.4834V10.4856C1.76444 11.4486 2.54727 12.2326 3.50919 12.2326H4.51019L5.76494 13.4886C6.09452 13.8181 6.53319 14.0001 6.99927 14.0001C7.46535 14.0001 7.90344 13.8181 8.23302 13.4886L9.48777 12.2326H10.4888C11.4513 12.2326 12.2335 11.4492 12.2335 10.4856V9.4834L13.4889 8.2269C14.1684 7.54556 14.1684 6.43781 13.4889 5.75648ZM10.6177 5.95656L7.66952 8.87031C7.31135 9.22615 6.83944 9.40465 6.3681 9.40465C5.89677 9.40465 5.42719 9.22673 5.06785 8.87206L3.55177 7.41431C3.3231 7.1874 3.32077 6.81873 3.54769 6.58948C3.77519 6.3614 4.14327 6.35848 4.3731 6.5854L5.8886 8.04256C6.15285 8.30448 6.58277 8.30506 6.8476 8.04256L9.79635 5.12823C10.0262 4.90073 10.3949 4.90306 10.6218 5.13231C10.8487 5.36156 10.8464 5.72965 10.6177 5.95656Z",
|
|
3611
3647
|
fill: "currentColor"
|
|
3612
3648
|
}
|
|
3613
|
-
),
|
|
3614
|
-
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
|
|
3615
|
-
"path",
|
|
3616
|
-
{
|
|
3617
|
-
d: "M5.5 8.2L7.2 9.9L10.8 6.3",
|
|
3618
|
-
stroke: "white",
|
|
3619
|
-
strokeWidth: "1.4",
|
|
3620
|
-
strokeLinecap: "round",
|
|
3621
|
-
strokeLinejoin: "round"
|
|
3622
|
-
}
|
|
3623
3649
|
)
|
|
3624
3650
|
]
|
|
3625
3651
|
})
|
|
@@ -3628,10 +3654,10 @@ var ShieldTrustIcon = (_a) => {
|
|
|
3628
3654
|
ShieldTrustIcon.displayName = "ShieldTrustIcon";
|
|
3629
3655
|
|
|
3630
3656
|
// src/primitives/icon/svg/solana.tsx
|
|
3631
|
-
var
|
|
3657
|
+
var import_jsx_runtime82 = require("react/jsx-runtime");
|
|
3632
3658
|
var SolanaIcon = (_a) => {
|
|
3633
3659
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3634
|
-
return /* @__PURE__ */ (0,
|
|
3660
|
+
return /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)(
|
|
3635
3661
|
"svg",
|
|
3636
3662
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3637
3663
|
viewBox: "0 0 24 24",
|
|
@@ -3639,31 +3665,31 @@ var SolanaIcon = (_a) => {
|
|
|
3639
3665
|
fill: "none"
|
|
3640
3666
|
}, getIconA11yProps(title2)), props), {
|
|
3641
3667
|
children: [
|
|
3642
|
-
title2 ? /* @__PURE__ */ (0,
|
|
3643
|
-
/* @__PURE__ */ (0,
|
|
3644
|
-
/* @__PURE__ */ (0,
|
|
3668
|
+
title2 ? /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("title", { children: title2 }) : null,
|
|
3669
|
+
/* @__PURE__ */ (0, import_jsx_runtime82.jsx)("rect", { width: "24", height: "24", fill: "black" }),
|
|
3670
|
+
/* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
|
|
3645
3671
|
"path",
|
|
3646
3672
|
{
|
|
3647
3673
|
d: "M5.92399 15.7169C6.03262 15.6083 6.18198 15.5449 6.34039 15.5449H20.706C20.9685 15.5449 21.0998 15.8617 20.9142 16.0473L18.0764 18.8851C17.9677 18.9938 17.8184 19.0571 17.66 19.0571H3.29437C3.03186 19.0571 2.90061 18.7403 3.08617 18.5547L5.92399 15.7169Z",
|
|
3648
3674
|
fill: "url(#paint0_linear_1471_9988)"
|
|
3649
3675
|
}
|
|
3650
3676
|
),
|
|
3651
|
-
/* @__PURE__ */ (0,
|
|
3677
|
+
/* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
|
|
3652
3678
|
"path",
|
|
3653
3679
|
{
|
|
3654
3680
|
d: "M5.92399 5.1217C6.03714 5.01307 6.1865 4.94971 6.34039 4.94971H20.706C20.9685 4.94971 21.0998 5.26653 20.9142 5.4521L18.0764 8.28991C17.9677 8.39854 17.8184 8.4619 17.66 8.4619H3.29437C3.03186 8.4619 2.90061 8.14508 3.08617 7.95951L5.92399 5.1217Z",
|
|
3655
3681
|
fill: "url(#paint1_linear_1471_9988)"
|
|
3656
3682
|
}
|
|
3657
3683
|
),
|
|
3658
|
-
/* @__PURE__ */ (0,
|
|
3684
|
+
/* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
|
|
3659
3685
|
"path",
|
|
3660
3686
|
{
|
|
3661
3687
|
d: "M18.0764 10.3854C17.9677 10.2767 17.8184 10.2134 17.66 10.2134H3.29437C3.03186 10.2134 2.90061 10.5302 3.08617 10.7158L5.92399 13.5536C6.03262 13.6622 6.18198 13.7256 6.34039 13.7256H20.706C20.9685 13.7256 21.0998 13.4088 20.9142 13.2232L18.0764 10.3854Z",
|
|
3662
3688
|
fill: "url(#paint2_linear_1471_9988)"
|
|
3663
3689
|
}
|
|
3664
3690
|
),
|
|
3665
|
-
/* @__PURE__ */ (0,
|
|
3666
|
-
/* @__PURE__ */ (0,
|
|
3691
|
+
/* @__PURE__ */ (0, import_jsx_runtime82.jsxs)("defs", { children: [
|
|
3692
|
+
/* @__PURE__ */ (0, import_jsx_runtime82.jsxs)(
|
|
3667
3693
|
"linearGradient",
|
|
3668
3694
|
{
|
|
3669
3695
|
id: "paint0_linear_1471_9988",
|
|
@@ -3673,12 +3699,12 @@ var SolanaIcon = (_a) => {
|
|
|
3673
3699
|
y2: "22.2975",
|
|
3674
3700
|
gradientUnits: "userSpaceOnUse",
|
|
3675
3701
|
children: [
|
|
3676
|
-
/* @__PURE__ */ (0,
|
|
3677
|
-
/* @__PURE__ */ (0,
|
|
3702
|
+
/* @__PURE__ */ (0, import_jsx_runtime82.jsx)("stop", { stopColor: "#00FFA3" }),
|
|
3703
|
+
/* @__PURE__ */ (0, import_jsx_runtime82.jsx)("stop", { offset: "1", stopColor: "#DC1FFF" })
|
|
3678
3704
|
]
|
|
3679
3705
|
}
|
|
3680
3706
|
),
|
|
3681
|
-
/* @__PURE__ */ (0,
|
|
3707
|
+
/* @__PURE__ */ (0, import_jsx_runtime82.jsxs)(
|
|
3682
3708
|
"linearGradient",
|
|
3683
3709
|
{
|
|
3684
3710
|
id: "paint1_linear_1471_9988",
|
|
@@ -3688,12 +3714,12 @@ var SolanaIcon = (_a) => {
|
|
|
3688
3714
|
y2: "20.028",
|
|
3689
3715
|
gradientUnits: "userSpaceOnUse",
|
|
3690
3716
|
children: [
|
|
3691
|
-
/* @__PURE__ */ (0,
|
|
3692
|
-
/* @__PURE__ */ (0,
|
|
3717
|
+
/* @__PURE__ */ (0, import_jsx_runtime82.jsx)("stop", { stopColor: "#00FFA3" }),
|
|
3718
|
+
/* @__PURE__ */ (0, import_jsx_runtime82.jsx)("stop", { offset: "1", stopColor: "#DC1FFF" })
|
|
3693
3719
|
]
|
|
3694
3720
|
}
|
|
3695
3721
|
),
|
|
3696
|
-
/* @__PURE__ */ (0,
|
|
3722
|
+
/* @__PURE__ */ (0, import_jsx_runtime82.jsxs)(
|
|
3697
3723
|
"linearGradient",
|
|
3698
3724
|
{
|
|
3699
3725
|
id: "paint2_linear_1471_9988",
|
|
@@ -3703,8 +3729,8 @@ var SolanaIcon = (_a) => {
|
|
|
3703
3729
|
y2: "21.1555",
|
|
3704
3730
|
gradientUnits: "userSpaceOnUse",
|
|
3705
3731
|
children: [
|
|
3706
|
-
/* @__PURE__ */ (0,
|
|
3707
|
-
/* @__PURE__ */ (0,
|
|
3732
|
+
/* @__PURE__ */ (0, import_jsx_runtime82.jsx)("stop", { stopColor: "#00FFA3" }),
|
|
3733
|
+
/* @__PURE__ */ (0, import_jsx_runtime82.jsx)("stop", { offset: "1", stopColor: "#DC1FFF" })
|
|
3708
3734
|
]
|
|
3709
3735
|
}
|
|
3710
3736
|
)
|
|
@@ -3716,10 +3742,10 @@ var SolanaIcon = (_a) => {
|
|
|
3716
3742
|
SolanaIcon.displayName = "SolanaIcon";
|
|
3717
3743
|
|
|
3718
3744
|
// src/primitives/icon/svg/sparkles-filled.tsx
|
|
3719
|
-
var
|
|
3745
|
+
var import_jsx_runtime83 = require("react/jsx-runtime");
|
|
3720
3746
|
var SparklesFilledIcon = (_a) => {
|
|
3721
3747
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3722
|
-
return /* @__PURE__ */ (0,
|
|
3748
|
+
return /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)(
|
|
3723
3749
|
"svg",
|
|
3724
3750
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3725
3751
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3730,15 +3756,15 @@ var SparklesFilledIcon = (_a) => {
|
|
|
3730
3756
|
className
|
|
3731
3757
|
}, getIconA11yProps(title2)), props), {
|
|
3732
3758
|
children: [
|
|
3733
|
-
/* @__PURE__ */ (0,
|
|
3759
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)("g", { clipPath: "url(#clip0_2028_8371)", children: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
|
|
3734
3760
|
"path",
|
|
3735
3761
|
{
|
|
3736
3762
|
d: "M13.0001 15.9999C12.8668 16 12.7366 15.9602 12.6262 15.8856C12.5158 15.8109 12.4303 15.705 12.3807 15.5813L11.8181 14.1726L10.4074 13.5786C10.2864 13.5252 10.1839 13.4372 10.1127 13.3256C10.0416 13.2141 10.0049 13.0841 10.0074 12.9518C10.0099 12.8196 10.0514 12.691 10.1267 12.5823C10.202 12.4735 10.3078 12.3894 10.4307 12.3406L11.8227 11.8133L12.3807 10.4186C12.4321 10.2967 12.5182 10.1927 12.6284 10.1195C12.7385 10.0464 12.8678 10.0074 13.0001 10.0074C13.1323 10.0074 13.2616 10.0464 13.3718 10.1195C13.482 10.1927 13.5681 10.2967 13.6194 10.4186L14.1801 11.8186L15.5801 12.3793C15.7022 12.4303 15.8065 12.5164 15.8799 12.6266C15.9532 12.7368 15.9923 12.8662 15.9923 12.9986C15.9923 13.131 15.9532 13.2604 15.8799 13.3706C15.8065 13.4808 15.7022 13.5668 15.5801 13.6179L14.1801 14.1786L13.6194 15.5786C13.5703 15.7028 13.4849 15.8093 13.3745 15.8845C13.2641 15.9596 13.1336 15.9998 13.0001 15.9999ZM6.66674 13.9999C6.37872 14.0034 6.09733 13.9135 5.86467 13.7437C5.63201 13.5739 5.46059 13.3333 5.37607 13.0579L4.30007 9.69326L0.92474 8.56393C0.652316 8.47287 0.415886 8.29758 0.249599 8.06337C0.0833117 7.82916 -0.00422421 7.54815 -0.000366007 7.26094C0.0034922 6.97372 0.0985448 6.69517 0.271063 6.46551C0.443581 6.23585 0.684635 6.06697 0.959407 5.98326L4.30807 4.9606L5.43607 1.59126C5.51994 1.31451 5.69343 1.07349 5.92924 0.906102C6.16505 0.738716 6.44981 0.654464 6.73874 0.666597C7.02681 0.666987 7.307 0.76066 7.53738 0.933596C7.76776 1.10653 7.93594 1.34943 8.01674 1.62593L9.03807 4.96926L12.3914 6.0426C12.6619 6.13332 12.897 6.30672 13.0636 6.53831C13.2302 6.7699 13.3198 7.04798 13.3198 7.33326C13.3198 7.61855 13.2302 7.89662 13.0636 8.12822C12.897 8.35981 12.6619 8.53321 12.3914 8.62393L9.03207 9.6986L7.95741 13.0579C7.87289 13.3333 7.70147 13.5739 7.46881 13.7437C7.23615 13.9135 6.95476 14.0034 6.66674 13.9999ZM13.6667 4.6666C13.5181 4.66659 13.3738 4.61693 13.2566 4.52549C13.1394 4.43406 13.0562 4.30609 13.0201 4.16193L12.7821 3.2086L11.8267 2.95193C11.6832 2.91335 11.5566 2.82788 11.4672 2.70911C11.3777 2.59033 11.3306 2.44507 11.3332 2.29641C11.3358 2.14776 11.388 2.00424 11.4815 1.88867C11.5751 1.7731 11.7046 1.69212 11.8494 1.6586L12.7827 1.44193L13.0201 0.504597C13.0562 0.360445 13.1395 0.232498 13.2566 0.141076C13.3738 0.0496542 13.5181 0 13.6667 0C13.8154 0 13.9597 0.0496542 14.0769 0.141076C14.194 0.232498 14.2773 0.360445 14.3134 0.504597L14.5494 1.44993L15.4947 1.6866C15.6389 1.72272 15.7668 1.80598 15.8583 1.92314C15.9497 2.0403 15.9993 2.18465 15.9993 2.33326C15.9993 2.48187 15.9497 2.62622 15.8583 2.74338C15.7668 2.86055 15.6389 2.9438 15.4947 2.97993L14.5494 3.2166L14.3134 4.16193C14.2773 4.30609 14.194 4.43406 14.0769 4.52549C13.9597 4.61693 13.8154 4.66659 13.6667 4.6666Z",
|
|
3737
3763
|
fill: "currentColor"
|
|
3738
3764
|
}
|
|
3739
3765
|
) }),
|
|
3740
|
-
/* @__PURE__ */ (0,
|
|
3741
|
-
/* @__PURE__ */ (0,
|
|
3766
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsxs)("defs", { children: [
|
|
3767
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsxs)(
|
|
3742
3768
|
"linearGradient",
|
|
3743
3769
|
{
|
|
3744
3770
|
id: "paint0_linear_2028_8371",
|
|
@@ -3748,12 +3774,12 @@ var SparklesFilledIcon = (_a) => {
|
|
|
3748
3774
|
y2: "7.99997",
|
|
3749
3775
|
gradientUnits: "userSpaceOnUse",
|
|
3750
3776
|
children: [
|
|
3751
|
-
/* @__PURE__ */ (0,
|
|
3752
|
-
/* @__PURE__ */ (0,
|
|
3777
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)("stop", { stopColor: "currentColor" }),
|
|
3778
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)("stop", { offset: "1", stopColor: "currentColor" })
|
|
3753
3779
|
]
|
|
3754
3780
|
}
|
|
3755
3781
|
),
|
|
3756
|
-
/* @__PURE__ */ (0,
|
|
3782
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)("clipPath", { id: "clip0_2028_8371", children: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("rect", { width: "16", height: "16", fill: "white" }) })
|
|
3757
3783
|
] })
|
|
3758
3784
|
]
|
|
3759
3785
|
})
|
|
@@ -3762,10 +3788,10 @@ var SparklesFilledIcon = (_a) => {
|
|
|
3762
3788
|
SparklesFilledIcon.displayName = "SparklesFilledIcon";
|
|
3763
3789
|
|
|
3764
3790
|
// src/primitives/icon/svg/stay-in-control.tsx
|
|
3765
|
-
var
|
|
3791
|
+
var import_jsx_runtime84 = require("react/jsx-runtime");
|
|
3766
3792
|
var StayInControlIcon = (_a) => {
|
|
3767
3793
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3768
|
-
return /* @__PURE__ */ (0,
|
|
3794
|
+
return /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(
|
|
3769
3795
|
"svg",
|
|
3770
3796
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3771
3797
|
width: "28",
|
|
@@ -3776,16 +3802,16 @@ var StayInControlIcon = (_a) => {
|
|
|
3776
3802
|
className
|
|
3777
3803
|
}, getIconA11yProps(title2)), props), {
|
|
3778
3804
|
children: [
|
|
3779
|
-
title2 ? /* @__PURE__ */ (0,
|
|
3780
|
-
/* @__PURE__ */ (0,
|
|
3781
|
-
/* @__PURE__ */ (0,
|
|
3805
|
+
title2 ? /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("title", { children: title2 }) : null,
|
|
3806
|
+
/* @__PURE__ */ (0, import_jsx_runtime84.jsxs)("g", { clipPath: "url(#clip0_stay_in_control)", children: [
|
|
3807
|
+
/* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
|
|
3782
3808
|
"path",
|
|
3783
3809
|
{
|
|
3784
3810
|
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",
|
|
3785
3811
|
fill: "currentColor"
|
|
3786
3812
|
}
|
|
3787
3813
|
),
|
|
3788
|
-
/* @__PURE__ */ (0,
|
|
3814
|
+
/* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
|
|
3789
3815
|
"path",
|
|
3790
3816
|
{
|
|
3791
3817
|
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",
|
|
@@ -3793,7 +3819,7 @@ var StayInControlIcon = (_a) => {
|
|
|
3793
3819
|
}
|
|
3794
3820
|
)
|
|
3795
3821
|
] }),
|
|
3796
|
-
/* @__PURE__ */ (0,
|
|
3822
|
+
/* @__PURE__ */ (0, import_jsx_runtime84.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("clipPath", { id: "clip0_stay_in_control", children: /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("rect", { width: "28", height: "28", fill: "white" }) }) })
|
|
3797
3823
|
]
|
|
3798
3824
|
})
|
|
3799
3825
|
);
|
|
@@ -3801,10 +3827,10 @@ var StayInControlIcon = (_a) => {
|
|
|
3801
3827
|
StayInControlIcon.displayName = "StayInControlIcon";
|
|
3802
3828
|
|
|
3803
3829
|
// src/primitives/icon/svg/success-check.tsx
|
|
3804
|
-
var
|
|
3830
|
+
var import_jsx_runtime85 = require("react/jsx-runtime");
|
|
3805
3831
|
var SuccessCheckIcon = (_a) => {
|
|
3806
3832
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3807
|
-
return /* @__PURE__ */ (0,
|
|
3833
|
+
return /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(
|
|
3808
3834
|
"svg",
|
|
3809
3835
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3810
3836
|
width: "24",
|
|
@@ -3815,8 +3841,8 @@ var SuccessCheckIcon = (_a) => {
|
|
|
3815
3841
|
className
|
|
3816
3842
|
}, getIconA11yProps(title2)), props), {
|
|
3817
3843
|
children: [
|
|
3818
|
-
title2 ? /* @__PURE__ */ (0,
|
|
3819
|
-
/* @__PURE__ */ (0,
|
|
3844
|
+
title2 ? /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("title", { children: title2 }) : null,
|
|
3845
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
3820
3846
|
"path",
|
|
3821
3847
|
{
|
|
3822
3848
|
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",
|
|
@@ -3830,10 +3856,10 @@ var SuccessCheckIcon = (_a) => {
|
|
|
3830
3856
|
SuccessCheckIcon.displayName = "SuccessCheckIcon";
|
|
3831
3857
|
|
|
3832
3858
|
// src/primitives/icon/svg/telegram.tsx
|
|
3833
|
-
var
|
|
3859
|
+
var import_jsx_runtime86 = require("react/jsx-runtime");
|
|
3834
3860
|
var TelegramIcon = (_a) => {
|
|
3835
3861
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3836
|
-
return /* @__PURE__ */ (0,
|
|
3862
|
+
return /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(
|
|
3837
3863
|
"svg",
|
|
3838
3864
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3839
3865
|
viewBox: "0 0 20 20",
|
|
@@ -3841,8 +3867,8 @@ var TelegramIcon = (_a) => {
|
|
|
3841
3867
|
fill: "none"
|
|
3842
3868
|
}, getIconA11yProps(title2)), props), {
|
|
3843
3869
|
children: [
|
|
3844
|
-
title2 ? /* @__PURE__ */ (0,
|
|
3845
|
-
/* @__PURE__ */ (0,
|
|
3870
|
+
title2 ? /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("title", { children: title2 }) : null,
|
|
3871
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)("g", { clipPath: "url(#clip0_telegram)", children: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
|
|
3846
3872
|
"path",
|
|
3847
3873
|
{
|
|
3848
3874
|
fillRule: "evenodd",
|
|
@@ -3851,7 +3877,7 @@ var TelegramIcon = (_a) => {
|
|
|
3851
3877
|
fill: "currentColor"
|
|
3852
3878
|
}
|
|
3853
3879
|
) }),
|
|
3854
|
-
/* @__PURE__ */ (0,
|
|
3880
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("clipPath", { id: "clip0_telegram", children: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("rect", { width: "20", height: "20", fill: "white" }) }) })
|
|
3855
3881
|
]
|
|
3856
3882
|
})
|
|
3857
3883
|
);
|
|
@@ -3859,10 +3885,10 @@ var TelegramIcon = (_a) => {
|
|
|
3859
3885
|
TelegramIcon.displayName = "TelegramIcon";
|
|
3860
3886
|
|
|
3861
3887
|
// src/primitives/icon/svg/triangle-down.tsx
|
|
3862
|
-
var
|
|
3888
|
+
var import_jsx_runtime87 = require("react/jsx-runtime");
|
|
3863
3889
|
var TriangleDownIcon = (_a) => {
|
|
3864
3890
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3865
|
-
return /* @__PURE__ */ (0,
|
|
3891
|
+
return /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
|
|
3866
3892
|
"svg",
|
|
3867
3893
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3868
3894
|
viewBox: "0 0 8 8",
|
|
@@ -3870,16 +3896,16 @@ var TriangleDownIcon = (_a) => {
|
|
|
3870
3896
|
fill: "none"
|
|
3871
3897
|
}, getIconA11yProps(title2)), props), {
|
|
3872
3898
|
children: [
|
|
3873
|
-
title2 ? /* @__PURE__ */ (0,
|
|
3874
|
-
/* @__PURE__ */ (0,
|
|
3875
|
-
/* @__PURE__ */ (0,
|
|
3899
|
+
title2 ? /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("title", { children: title2 }) : null,
|
|
3900
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("g", { transform: "scale(1,-1) translate(0,-8)", clipPath: "url(#triangle_up)", children: [
|
|
3901
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
|
|
3876
3902
|
"path",
|
|
3877
3903
|
{
|
|
3878
3904
|
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",
|
|
3879
3905
|
fill: "currentColor"
|
|
3880
3906
|
}
|
|
3881
3907
|
),
|
|
3882
|
-
/* @__PURE__ */ (0,
|
|
3908
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
|
|
3883
3909
|
"path",
|
|
3884
3910
|
{
|
|
3885
3911
|
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",
|
|
@@ -3887,7 +3913,7 @@ var TriangleDownIcon = (_a) => {
|
|
|
3887
3913
|
}
|
|
3888
3914
|
)
|
|
3889
3915
|
] }),
|
|
3890
|
-
/* @__PURE__ */ (0,
|
|
3916
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("clipPath", { id: "triangle_up", children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("rect", { width: "8", height: "8", fill: "white" }) }) })
|
|
3891
3917
|
]
|
|
3892
3918
|
})
|
|
3893
3919
|
);
|
|
@@ -3895,10 +3921,10 @@ var TriangleDownIcon = (_a) => {
|
|
|
3895
3921
|
TriangleDownIcon.displayName = "TriangleDownIcon";
|
|
3896
3922
|
|
|
3897
3923
|
// src/primitives/icon/svg/triangle-up.tsx
|
|
3898
|
-
var
|
|
3924
|
+
var import_jsx_runtime88 = require("react/jsx-runtime");
|
|
3899
3925
|
var TriangleUpIcon = (_a) => {
|
|
3900
3926
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3901
|
-
return /* @__PURE__ */ (0,
|
|
3927
|
+
return /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(
|
|
3902
3928
|
"svg",
|
|
3903
3929
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3904
3930
|
viewBox: "0 0 8 8",
|
|
@@ -3906,16 +3932,16 @@ var TriangleUpIcon = (_a) => {
|
|
|
3906
3932
|
fill: "none"
|
|
3907
3933
|
}, getIconA11yProps(title2)), props), {
|
|
3908
3934
|
children: [
|
|
3909
|
-
title2 ? /* @__PURE__ */ (0,
|
|
3910
|
-
/* @__PURE__ */ (0,
|
|
3911
|
-
/* @__PURE__ */ (0,
|
|
3935
|
+
title2 ? /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("title", { children: title2 }) : null,
|
|
3936
|
+
/* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("g", { clipPath: "url(#triangle_up)", children: [
|
|
3937
|
+
/* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
|
|
3912
3938
|
"path",
|
|
3913
3939
|
{
|
|
3914
3940
|
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",
|
|
3915
3941
|
fill: "currentColor"
|
|
3916
3942
|
}
|
|
3917
3943
|
),
|
|
3918
|
-
/* @__PURE__ */ (0,
|
|
3944
|
+
/* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
|
|
3919
3945
|
"path",
|
|
3920
3946
|
{
|
|
3921
3947
|
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",
|
|
@@ -3923,7 +3949,7 @@ var TriangleUpIcon = (_a) => {
|
|
|
3923
3949
|
}
|
|
3924
3950
|
)
|
|
3925
3951
|
] }),
|
|
3926
|
-
/* @__PURE__ */ (0,
|
|
3952
|
+
/* @__PURE__ */ (0, import_jsx_runtime88.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("clipPath", { id: "triangle_up", children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("rect", { width: "8", height: "8", fill: "white" }) }) })
|
|
3927
3953
|
]
|
|
3928
3954
|
})
|
|
3929
3955
|
);
|
|
@@ -3931,10 +3957,10 @@ var TriangleUpIcon = (_a) => {
|
|
|
3931
3957
|
TriangleUpIcon.displayName = "TriangleUpIcon";
|
|
3932
3958
|
|
|
3933
3959
|
// src/primitives/icon/svg/triangle-up-filled.tsx
|
|
3934
|
-
var
|
|
3960
|
+
var import_jsx_runtime89 = require("react/jsx-runtime");
|
|
3935
3961
|
var TriangleUpFilledIcon = (_a) => {
|
|
3936
3962
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3937
|
-
return /* @__PURE__ */ (0,
|
|
3963
|
+
return /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(
|
|
3938
3964
|
"svg",
|
|
3939
3965
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3940
3966
|
viewBox: "0 0 8 8",
|
|
@@ -3942,8 +3968,8 @@ var TriangleUpFilledIcon = (_a) => {
|
|
|
3942
3968
|
fill: "none"
|
|
3943
3969
|
}, getIconA11yProps(title2)), props), {
|
|
3944
3970
|
children: [
|
|
3945
|
-
title2 ? /* @__PURE__ */ (0,
|
|
3946
|
-
/* @__PURE__ */ (0,
|
|
3971
|
+
title2 ? /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("title", { children: title2 }) : null,
|
|
3972
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
|
|
3947
3973
|
"path",
|
|
3948
3974
|
{
|
|
3949
3975
|
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",
|
|
@@ -3957,10 +3983,10 @@ var TriangleUpFilledIcon = (_a) => {
|
|
|
3957
3983
|
TriangleUpFilledIcon.displayName = "TriangleUpFilledIcon";
|
|
3958
3984
|
|
|
3959
3985
|
// src/primitives/icon/svg/twitter.tsx
|
|
3960
|
-
var
|
|
3986
|
+
var import_jsx_runtime90 = require("react/jsx-runtime");
|
|
3961
3987
|
var TwitterIcon = (_a) => {
|
|
3962
3988
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3963
|
-
return /* @__PURE__ */ (0,
|
|
3989
|
+
return /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(
|
|
3964
3990
|
"svg",
|
|
3965
3991
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3966
3992
|
viewBox: "0 0 24 24",
|
|
@@ -3968,8 +3994,8 @@ var TwitterIcon = (_a) => {
|
|
|
3968
3994
|
fill: "none"
|
|
3969
3995
|
}, getIconA11yProps(title2)), props), {
|
|
3970
3996
|
children: [
|
|
3971
|
-
title2 ? /* @__PURE__ */ (0,
|
|
3972
|
-
/* @__PURE__ */ (0,
|
|
3997
|
+
title2 ? /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("title", { children: title2 }) : null,
|
|
3998
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
|
|
3973
3999
|
"path",
|
|
3974
4000
|
{
|
|
3975
4001
|
d: "M18.325 2H21.7002L14.3283 10.4233L23 21.8871H16.2121L10.8918 14.936L4.81058 21.8871H1.42992L9.31325 12.8753L1 2H7.96025L12.7645 8.35342L18.325 2ZM17.1398 19.8695H19.0088L6.94183 3.91217H4.93433L17.1398 19.8695Z",
|
|
@@ -3983,10 +4009,10 @@ var TwitterIcon = (_a) => {
|
|
|
3983
4009
|
TwitterIcon.displayName = "TwitterIcon";
|
|
3984
4010
|
|
|
3985
4011
|
// src/primitives/icon/svg/upload.tsx
|
|
3986
|
-
var
|
|
4012
|
+
var import_jsx_runtime91 = require("react/jsx-runtime");
|
|
3987
4013
|
var UploadIcon = (_a) => {
|
|
3988
4014
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3989
|
-
return /* @__PURE__ */ (0,
|
|
4015
|
+
return /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)(
|
|
3990
4016
|
"svg",
|
|
3991
4017
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3992
4018
|
viewBox: "0 0 16 16",
|
|
@@ -3994,16 +4020,16 @@ var UploadIcon = (_a) => {
|
|
|
3994
4020
|
fill: "none"
|
|
3995
4021
|
}, getIconA11yProps(title2)), props), {
|
|
3996
4022
|
children: [
|
|
3997
|
-
title2 ? /* @__PURE__ */ (0,
|
|
3998
|
-
/* @__PURE__ */ (0,
|
|
3999
|
-
/* @__PURE__ */ (0,
|
|
4023
|
+
title2 ? /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("title", { children: title2 }) : null,
|
|
4024
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("g", { clipPath: "url(#upload-clip)", children: [
|
|
4025
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
|
|
4000
4026
|
"path",
|
|
4001
4027
|
{
|
|
4002
4028
|
d: "M7.33755 1.71857L7.33288 12.0106C7.33288 12.1874 7.40312 12.357 7.52814 12.482C7.65317 12.607 7.82274 12.6772 7.99955 12.6772C8.17636 12.6772 8.34593 12.607 8.47095 12.482C8.59598 12.357 8.66621 12.1874 8.66621 12.0106L8.67088 1.7299L10.6122 3.6719C10.7372 3.79688 10.9068 3.86709 11.0835 3.86709C11.2603 3.86709 11.4299 3.79688 11.5549 3.6719C11.6799 3.54689 11.7501 3.37735 11.7501 3.20057C11.7501 3.02379 11.6799 2.85426 11.5549 2.72924L9.41421 0.585904C9.22848 0.400051 9.00795 0.252617 8.76521 0.152028C8.52248 0.0514383 8.2623 -0.000335693 7.99955 -0.000335693C7.7368 -0.000335693 7.47662 0.0514383 7.23388 0.152028C6.99115 0.252617 6.77061 0.400051 6.58488 0.585904L4.44421 2.72724C4.31923 2.85226 4.24902 3.02179 4.24902 3.19857C4.24902 3.37535 4.31923 3.54489 4.44421 3.6699C4.56923 3.79488 4.73877 3.86509 4.91555 3.86509C5.09232 3.86509 5.26186 3.79488 5.38688 3.6699L7.33755 1.71857Z",
|
|
4003
4029
|
fill: "currentColor"
|
|
4004
4030
|
}
|
|
4005
4031
|
),
|
|
4006
|
-
/* @__PURE__ */ (0,
|
|
4032
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
|
|
4007
4033
|
"path",
|
|
4008
4034
|
{
|
|
4009
4035
|
d: "M14.6667 11.3333V14C14.6667 14.1768 14.5964 14.3464 14.4714 14.4714C14.3464 14.5964 14.1768 14.6667 14 14.6667H2C1.82319 14.6667 1.65362 14.5964 1.5286 14.4714C1.40357 14.3464 1.33333 14.1768 1.33333 14V11.3333C1.33333 11.1565 1.2631 10.9869 1.13807 10.8619C1.01305 10.7369 0.843478 10.6667 0.666667 10.6667C0.489856 10.6667 0.320286 10.7369 0.195262 10.8619C0.0702379 10.9869 0 11.1565 0 11.3333L0 14C0 14.5304 0.210714 15.0391 0.585786 15.4142C0.960859 15.7893 1.46957 16 2 16H14C14.5304 16 15.0391 15.7893 15.4142 15.4142C15.7893 15.0391 16 14.5304 16 14V11.3333C16 11.1565 15.9298 10.9869 15.8047 10.8619C15.6797 10.7369 15.5101 10.6667 15.3333 10.6667C15.1565 10.6667 14.987 10.7369 14.8619 10.8619C14.7369 10.9869 14.6667 11.1565 14.6667 11.3333Z",
|
|
@@ -4011,7 +4037,7 @@ var UploadIcon = (_a) => {
|
|
|
4011
4037
|
}
|
|
4012
4038
|
)
|
|
4013
4039
|
] }),
|
|
4014
|
-
/* @__PURE__ */ (0,
|
|
4040
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("clipPath", { id: "upload-clip", children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("rect", { width: "16", height: "16", fill: "white" }) }) })
|
|
4015
4041
|
]
|
|
4016
4042
|
})
|
|
4017
4043
|
);
|
|
@@ -4019,10 +4045,10 @@ var UploadIcon = (_a) => {
|
|
|
4019
4045
|
UploadIcon.displayName = "UploadIcon";
|
|
4020
4046
|
|
|
4021
4047
|
// src/primitives/icon/svg/user-trust.tsx
|
|
4022
|
-
var
|
|
4048
|
+
var import_jsx_runtime92 = require("react/jsx-runtime");
|
|
4023
4049
|
var UserTrustIcon = (_a) => {
|
|
4024
4050
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
4025
|
-
return /* @__PURE__ */ (0,
|
|
4051
|
+
return /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)(
|
|
4026
4052
|
"svg",
|
|
4027
4053
|
__spreadProps(__spreadValues(__spreadValues({
|
|
4028
4054
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4031,15 +4057,15 @@ var UserTrustIcon = (_a) => {
|
|
|
4031
4057
|
className
|
|
4032
4058
|
}, getIconA11yProps(title2)), props), {
|
|
4033
4059
|
children: [
|
|
4034
|
-
title2 ? /* @__PURE__ */ (0,
|
|
4035
|
-
/* @__PURE__ */ (0,
|
|
4060
|
+
title2 ? /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("title", { children: title2 }) : null,
|
|
4061
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsx)("g", { clipPath: "url(#clip0_user_trust)", children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
|
|
4036
4062
|
"path",
|
|
4037
4063
|
{
|
|
4038
4064
|
d: "M22.5 30C14.2275 30 7.5 23.2725 7.5 15C7.5 6.7275 14.2275 0 22.5 0C30.7725 0 37.5 6.7275 37.5 15C37.5 23.2725 30.7725 30 22.5 30ZM22.5 2.5C15.6075 2.5 10 8.1075 10 15C10 21.8925 15.6075 27.5 22.5 27.5C29.3925 27.5 35 21.8925 35 15C35 8.1075 29.3925 2.5 22.5 2.5ZM2.5 58.75V57.5C2.5 46.9175 10.7675 38.1475 21.3225 37.535C22.0125 37.495 22.5375 36.905 22.4975 36.215C22.4575 35.5275 21.87 34.96 21.1775 35.04C9.3025 35.7275 0 45.5925 0 57.5V58.75C0 59.44 0.56 60 1.25 60C1.94 60 2.5 59.44 2.5 58.75ZM43.75 60C34.79 60 27.5 52.71 27.5 43.75C27.5 34.79 34.79 27.5 43.75 27.5C52.71 27.5 60 34.79 60 43.75C60 52.71 52.71 60 43.75 60ZM43.75 30C36.1675 30 30 36.17 30 43.75C30 51.33 36.1675 57.5 43.75 57.5C51.3325 57.5 57.5 51.33 57.5 43.75C57.5 36.17 51.3325 30 43.75 30ZM45.3375 48.66L52.095 42.125C52.59 41.645 52.605 40.8525 52.125 40.3575C51.6475 39.8625 50.8575 39.85 50.3575 40.3275L43.5925 46.8725C42.7525 47.7 41.38 47.705 40.535 46.8825L37.1275 43.52C36.6375 43.035 35.845 43.04 35.36 43.53C34.875 44.0225 34.88 44.815 35.3725 45.2975L38.7825 48.665C39.6875 49.55 40.875 49.9925 42.0625 49.9925C43.25 49.9925 44.4375 49.5475 45.3375 48.66Z",
|
|
4039
4065
|
fill: "currentColor"
|
|
4040
4066
|
}
|
|
4041
4067
|
) }),
|
|
4042
|
-
/* @__PURE__ */ (0,
|
|
4068
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("clipPath", { id: "clip0_user_trust", children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("rect", { width: "60", height: "60", fill: "white" }) }) })
|
|
4043
4069
|
]
|
|
4044
4070
|
})
|
|
4045
4071
|
);
|
|
@@ -4047,10 +4073,10 @@ var UserTrustIcon = (_a) => {
|
|
|
4047
4073
|
UserTrustIcon.displayName = "UserTrustIcon";
|
|
4048
4074
|
|
|
4049
4075
|
// src/primitives/icon/svg/usdc.tsx
|
|
4050
|
-
var
|
|
4076
|
+
var import_jsx_runtime93 = require("react/jsx-runtime");
|
|
4051
4077
|
var UsdcIcon = (_a) => {
|
|
4052
4078
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
4053
|
-
return /* @__PURE__ */ (0,
|
|
4079
|
+
return /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)(
|
|
4054
4080
|
"svg",
|
|
4055
4081
|
__spreadProps(__spreadValues(__spreadValues({
|
|
4056
4082
|
viewBox: "0 0 32 32",
|
|
@@ -4058,16 +4084,16 @@ var UsdcIcon = (_a) => {
|
|
|
4058
4084
|
fill: "none"
|
|
4059
4085
|
}, getIconA11yProps(title2)), props), {
|
|
4060
4086
|
children: [
|
|
4061
|
-
title2 ? /* @__PURE__ */ (0,
|
|
4062
|
-
/* @__PURE__ */ (0,
|
|
4063
|
-
/* @__PURE__ */ (0,
|
|
4087
|
+
title2 ? /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("title", { children: title2 }) : null,
|
|
4088
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)("circle", { cx: "16", cy: "16", r: "16", fill: "#2775CA" }),
|
|
4089
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
|
|
4064
4090
|
"path",
|
|
4065
4091
|
{
|
|
4066
4092
|
d: "M20.4 18.6c0-2.2-1.3-3-3.9-3.3-1.9-.3-2.3-.8-2.3-1.7s.7-1.5 2.1-1.5c1.2 0 1.9.4 2.2 1.4.1.2.2.3.4.3h1c.2 0 .4-.2.4-.4-.2-1.3-1.1-2.4-2.6-2.7v-1.5c0-.2-.2-.4-.5-.4h-.9c-.2 0-.4.2-.5.4v1.5c-1.7.3-2.8 1.4-2.8 2.9 0 2.1 1.3 2.8 3.9 3.2 1.7.3 2.3.8 2.3 1.8s-.9 1.7-2.2 1.7c-1.7 0-2.3-.7-2.5-1.6-.1-.2-.2-.3-.4-.3h-1c-.2 0-.4.2-.4.4.3 1.6 1.3 2.6 3.1 2.9v1.5c0 .2.2.4.5.4h.9c.2 0 .4-.2.5-.4v-1.5c1.7-.3 2.8-1.5 2.8-3.1z",
|
|
4067
4093
|
fill: "#fff"
|
|
4068
4094
|
}
|
|
4069
4095
|
),
|
|
4070
|
-
/* @__PURE__ */ (0,
|
|
4096
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
|
|
4071
4097
|
"path",
|
|
4072
4098
|
{
|
|
4073
4099
|
d: "M13.1 25.2c-4.6-1.6-7-6.7-5.3-11.3 1-2.7 3.1-4.5 5.7-5.3.2-.1.4-.3.4-.5v-.9c0-.2-.2-.4-.4-.4h-.1c-5.3 1.6-8.3 7.3-6.7 12.6 1 3.3 3.5 5.8 6.8 6.8.2.1.5-.1.5-.3v-.9c-.1-.3-.2-.5-.5-.6l-.4-.2zM19.3 6.8c-.2-.1-.5.1-.5.3v.9c0 .2.2.5.4.6 4.6 1.6 7 6.7 5.3 11.3-1 2.7-3.1 4.5-5.7 5.3-.2.1-.4.3-.4.5v.9c0 .2.2.4.4.4h.1c5.3-1.6 8.3-7.3 6.7-12.6-1-3.3-3.5-5.8-6.8-6.8l.5.2z",
|
|
@@ -4081,10 +4107,10 @@ var UsdcIcon = (_a) => {
|
|
|
4081
4107
|
UsdcIcon.displayName = "UsdcIcon";
|
|
4082
4108
|
|
|
4083
4109
|
// src/primitives/icon/svg/wallet.tsx
|
|
4084
|
-
var
|
|
4110
|
+
var import_jsx_runtime94 = require("react/jsx-runtime");
|
|
4085
4111
|
var WalletIcon = (_a) => {
|
|
4086
4112
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
4087
|
-
return /* @__PURE__ */ (0,
|
|
4113
|
+
return /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)(
|
|
4088
4114
|
"svg",
|
|
4089
4115
|
__spreadProps(__spreadValues(__spreadValues({
|
|
4090
4116
|
viewBox: "0 0 24 24",
|
|
@@ -4092,8 +4118,8 @@ var WalletIcon = (_a) => {
|
|
|
4092
4118
|
fill: "none"
|
|
4093
4119
|
}, getIconA11yProps(title2)), props), {
|
|
4094
4120
|
children: [
|
|
4095
|
-
title2 ? /* @__PURE__ */ (0,
|
|
4096
|
-
/* @__PURE__ */ (0,
|
|
4121
|
+
title2 ? /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("title", { children: title2 }) : null,
|
|
4122
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
|
|
4097
4123
|
"path",
|
|
4098
4124
|
{
|
|
4099
4125
|
d: "M21.5 6H4.5C3.354 6 2.279 5.433 1.628 4.501C2.262 3.594 3.313 3 4.5 3H23.5C23.776 3 24 2.776 24 2.5C24 2.224 23.776 2 23.5 2H4.5C2.015 2 0 4.015 0 6.5V17.5C0 19.985 2.015 22 4.5 22H21.5C22.881 22 24 20.881 24 19.5V8.5C24 7.119 22.881 6 21.5 6ZM23 19.5C23 20.327 22.327 21 21.5 21H4.5C2.57 21 1 19.43 1 17.5V6.5C1 6.152 1.051 5.816 1.146 5.499C1.992 6.441 3.21 7 4.5 7H21.5C22.327 7 23 7.673 23 8.5V19.5ZM21 14C21 14.552 20.552 15 20 15C19.448 15 19 14.552 19 14C19 13.448 19.448 13 20 13C20.552 13 21 13.448 21 14Z",
|
|
@@ -4107,10 +4133,10 @@ var WalletIcon = (_a) => {
|
|
|
4107
4133
|
WalletIcon.displayName = "WalletIcon";
|
|
4108
4134
|
|
|
4109
4135
|
// src/primitives/icon/svg/wallet-avatar.tsx
|
|
4110
|
-
var
|
|
4136
|
+
var import_jsx_runtime95 = require("react/jsx-runtime");
|
|
4111
4137
|
function WalletAvatarIcon(_a) {
|
|
4112
4138
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
4113
|
-
return /* @__PURE__ */ (0,
|
|
4139
|
+
return /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)(
|
|
4114
4140
|
"svg",
|
|
4115
4141
|
__spreadProps(__spreadValues(__spreadValues({
|
|
4116
4142
|
fill: "none",
|
|
@@ -4118,9 +4144,9 @@ function WalletAvatarIcon(_a) {
|
|
|
4118
4144
|
viewBox: "0 0 16 16"
|
|
4119
4145
|
}, getIconA11yProps(title2)), props), {
|
|
4120
4146
|
children: [
|
|
4121
|
-
title2 ? /* @__PURE__ */ (0,
|
|
4122
|
-
/* @__PURE__ */ (0,
|
|
4123
|
-
/* @__PURE__ */ (0,
|
|
4147
|
+
title2 ? /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("title", { children: title2 }) : null,
|
|
4148
|
+
/* @__PURE__ */ (0, import_jsx_runtime95.jsx)("circle", { cx: "8", cy: "5.25", r: "2.25", fill: "currentColor" }),
|
|
4149
|
+
/* @__PURE__ */ (0, import_jsx_runtime95.jsx)("path", { d: "M3.75 12.75a4.25 4.25 0 0 1 8.5 0v.25h-8.5v-.25Z", fill: "currentColor" })
|
|
4124
4150
|
]
|
|
4125
4151
|
})
|
|
4126
4152
|
);
|
|
@@ -4128,10 +4154,10 @@ function WalletAvatarIcon(_a) {
|
|
|
4128
4154
|
WalletAvatarIcon.displayName = "WalletAvatarIcon";
|
|
4129
4155
|
|
|
4130
4156
|
// src/primitives/icon/svg/wallet-filled.tsx
|
|
4131
|
-
var
|
|
4157
|
+
var import_jsx_runtime96 = require("react/jsx-runtime");
|
|
4132
4158
|
var WalletFilledIcon = (_a) => {
|
|
4133
4159
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
4134
|
-
return /* @__PURE__ */ (0,
|
|
4160
|
+
return /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(
|
|
4135
4161
|
"svg",
|
|
4136
4162
|
__spreadProps(__spreadValues(__spreadValues({
|
|
4137
4163
|
viewBox: "0 0 14 14",
|
|
@@ -4139,8 +4165,8 @@ var WalletFilledIcon = (_a) => {
|
|
|
4139
4165
|
fill: "none"
|
|
4140
4166
|
}, getIconA11yProps(title2)), props), {
|
|
4141
4167
|
children: [
|
|
4142
|
-
title2 ? /* @__PURE__ */ (0,
|
|
4143
|
-
/* @__PURE__ */ (0,
|
|
4168
|
+
title2 ? /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("title", { children: title2 }) : null,
|
|
4169
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
|
|
4144
4170
|
"path",
|
|
4145
4171
|
{
|
|
4146
4172
|
d: "M12.25 3.50008H2.91667C2.41558 3.50008 1.94133 3.28308 1.61292 2.91733C1.93375 2.55916 2.39983 2.33341 2.91667 2.33341H13.4167C13.7392 2.33341 14 2.07208 14 1.75008C14 1.42808 13.7392 1.16675 13.4167 1.16675H2.91667C1.30608 1.16675 0 2.47283 0 4.08342V9.91675C0 11.5273 1.30608 12.8334 2.91667 12.8334H12.25C13.2166 12.8334 14 12.05 14 11.0834V5.25008C14 4.2835 13.2166 3.50008 12.25 3.50008ZM12.8333 11.0834C12.8333 11.4048 12.572 11.6667 12.25 11.6667H2.91667C1.95183 11.6667 1.16667 10.8816 1.16667 9.91675V4.08225C1.66483 4.455 2.27733 4.66675 2.91667 4.66675H12.25C12.572 4.66675 12.8333 4.92866 12.8333 5.25008V11.0834ZM11.6667 8.16675C11.6667 8.48875 11.4053 8.75008 11.0833 8.75008C10.7613 8.75008 10.5 8.48875 10.5 8.16675C10.5 7.84475 10.7613 7.58342 11.0833 7.58342C11.4053 7.58342 11.6667 7.84475 11.6667 8.16675Z",
|
|
@@ -4154,10 +4180,10 @@ var WalletFilledIcon = (_a) => {
|
|
|
4154
4180
|
WalletFilledIcon.displayName = "WalletFilledIcon";
|
|
4155
4181
|
|
|
4156
4182
|
// src/primitives/icon/svg/paper-plane.tsx
|
|
4157
|
-
var
|
|
4183
|
+
var import_jsx_runtime97 = require("react/jsx-runtime");
|
|
4158
4184
|
var PaperPlaneIcon = (_a) => {
|
|
4159
4185
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
4160
|
-
return /* @__PURE__ */ (0,
|
|
4186
|
+
return /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)(
|
|
4161
4187
|
"svg",
|
|
4162
4188
|
__spreadProps(__spreadValues(__spreadValues({
|
|
4163
4189
|
viewBox: "0 0 24 24",
|
|
@@ -4165,15 +4191,15 @@ var PaperPlaneIcon = (_a) => {
|
|
|
4165
4191
|
fill: "none"
|
|
4166
4192
|
}, getIconA11yProps(title2)), props), {
|
|
4167
4193
|
children: [
|
|
4168
|
-
title2 ? /* @__PURE__ */ (0,
|
|
4169
|
-
/* @__PURE__ */ (0,
|
|
4194
|
+
title2 ? /* @__PURE__ */ (0, import_jsx_runtime97.jsx)("title", { children: title2 }) : null,
|
|
4195
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsx)("g", { clipPath: "url(#paper-plane-clip)", children: /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
|
|
4170
4196
|
"path",
|
|
4171
4197
|
{
|
|
4172
4198
|
d: "M23.149 0.854808C22.43 0.135808 21.42 -0.152192 20.441 0.0858076L4.21901 4.30981C2.13901 4.59681 0.532009 6.10881 0.125009 8.16081C-0.184991 9.72081 0.349009 11.3698 1.56401 12.5848L3.00101 13.9388V18.5008C3.00101 19.1868 3.27901 19.8088 3.72801 20.2608C3.73001 20.2628 3.73101 20.2658 3.73301 20.2688C3.73501 20.2718 3.73801 20.2718 3.74101 20.2738C4.19301 20.7228 4.81501 21.0008 5.50101 21.0008H10.075L11.456 22.4768C12.438 23.4588 13.757 23.9978 15.059 23.9978C15.525 23.9978 15.989 23.9288 16.434 23.7868C18.218 23.2178 19.478 21.7408 19.713 19.9878L23.91 3.60081C24.154 2.60181 23.87 1.57681 23.15 0.855808L23.149 0.854808ZM2.26001 11.8668C1.29301 10.8988 0.861009 9.58681 1.10501 8.35481C1.42801 6.72781 2.70401 5.52881 4.41401 5.28881L20.686 1.05681C20.83 1.02181 20.976 1.00481 21.12 1.00481C21.441 1.00481 21.753 1.09781 22.035 1.25981L4.15001 19.1438C4.05601 18.9478 4.00001 18.7318 4.00001 18.5008V13.7228C4.00001 13.5848 3.94301 13.4528 3.84301 13.3588L2.26001 11.8668ZM22.939 3.35781L18.731 19.7958C18.538 21.2188 17.541 22.3828 16.128 22.8328C14.789 23.2588 13.232 22.8408 12.172 21.7808L10.654 20.1588C10.559 20.0578 10.427 20.0008 10.289 20.0008H5.50001C5.26901 20.0008 5.05301 19.9438 4.85701 19.8508L22.746 1.96181C22.984 2.37781 23.058 2.87381 22.939 3.35781Z",
|
|
4173
4199
|
fill: "currentColor"
|
|
4174
4200
|
}
|
|
4175
4201
|
) }),
|
|
4176
|
-
/* @__PURE__ */ (0,
|
|
4202
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime97.jsx)("clipPath", { id: "paper-plane-clip", children: /* @__PURE__ */ (0, import_jsx_runtime97.jsx)("rect", { width: "24", height: "24", fill: "white" }) }) })
|
|
4177
4203
|
]
|
|
4178
4204
|
})
|
|
4179
4205
|
);
|
|
@@ -4181,10 +4207,10 @@ var PaperPlaneIcon = (_a) => {
|
|
|
4181
4207
|
PaperPlaneIcon.displayName = "PaperPlaneIcon";
|
|
4182
4208
|
|
|
4183
4209
|
// src/primitives/icon/svg/warning.tsx
|
|
4184
|
-
var
|
|
4210
|
+
var import_jsx_runtime98 = require("react/jsx-runtime");
|
|
4185
4211
|
var WarningIcon = (_a) => {
|
|
4186
4212
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
4187
|
-
return /* @__PURE__ */ (0,
|
|
4213
|
+
return /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)(
|
|
4188
4214
|
"svg",
|
|
4189
4215
|
__spreadProps(__spreadValues(__spreadValues({
|
|
4190
4216
|
width: "14",
|
|
@@ -4195,8 +4221,8 @@ var WarningIcon = (_a) => {
|
|
|
4195
4221
|
className
|
|
4196
4222
|
}, getIconA11yProps(title2)), props), {
|
|
4197
4223
|
children: [
|
|
4198
|
-
title2 ? /* @__PURE__ */ (0,
|
|
4199
|
-
/* @__PURE__ */ (0,
|
|
4224
|
+
title2 ? /* @__PURE__ */ (0, import_jsx_runtime98.jsx)("title", { children: title2 }) : null,
|
|
4225
|
+
/* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
|
|
4200
4226
|
"path",
|
|
4201
4227
|
{
|
|
4202
4228
|
d: "M6.41665 8.1665V4.6665C6.41665 4.34567 6.67915 4.08317 6.99998 4.08317C7.32082 4.08317 7.58332 4.34567 7.58332 4.6665V8.1665C7.58332 8.48734 7.32082 8.74984 6.99998 8.74984C6.67915 8.74984 6.41665 8.48734 6.41665 8.1665ZM6.99998 9.33317C6.51582 9.33317 6.12498 9.724 6.12498 10.2082C6.12498 10.6923 6.51582 11.0832 6.99998 11.0832C7.48415 11.0832 7.87498 10.6923 7.87498 10.2082C7.87498 9.724 7.48415 9.33317 6.99998 9.33317ZM13.755 12.1798C13.3467 12.9673 12.4892 13.4165 11.4158 13.4165H2.58998C1.51082 13.4165 0.659151 12.9673 0.250818 12.1798C-0.163348 11.3865 -0.0466818 10.3715 0.542485 9.51984L5.23248 2.09984C5.64665 1.50484 6.29998 1.1665 6.99998 1.1665C7.69999 1.1665 8.35332 1.50484 8.74998 2.08234L13.4633 9.5315C14.0525 10.3832 14.1633 11.3923 13.7492 12.1798H13.755ZM12.5008 10.1848C12.5008 10.1848 12.4892 10.1732 12.4892 10.1615L7.78165 2.724C7.61248 2.48484 7.32082 2.33317 6.99998 2.33317C6.67915 2.33317 6.38749 2.48484 6.20665 2.74734L1.51082 10.1615C1.14915 10.6748 1.06748 11.2348 1.27748 11.6373C1.48165 12.034 1.94832 12.2498 2.58415 12.2498H11.4042C12.04 12.2498 12.5067 12.034 12.7108 11.6373C12.9208 11.2348 12.8392 10.6748 12.495 10.1848H12.5008Z",
|
|
@@ -4210,10 +4236,10 @@ var WarningIcon = (_a) => {
|
|
|
4210
4236
|
WarningIcon.displayName = "WarningIcon";
|
|
4211
4237
|
|
|
4212
4238
|
// src/primitives/icon/svg/warning-filled.tsx
|
|
4213
|
-
var
|
|
4239
|
+
var import_jsx_runtime99 = require("react/jsx-runtime");
|
|
4214
4240
|
var WarningFilledIcon = (_a) => {
|
|
4215
4241
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
4216
|
-
return /* @__PURE__ */ (0,
|
|
4242
|
+
return /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)(
|
|
4217
4243
|
"svg",
|
|
4218
4244
|
__spreadProps(__spreadValues(__spreadValues({
|
|
4219
4245
|
viewBox: "0 0 16 16",
|
|
@@ -4221,8 +4247,8 @@ var WarningFilledIcon = (_a) => {
|
|
|
4221
4247
|
fill: "none"
|
|
4222
4248
|
}, getIconA11yProps(title2)), props), {
|
|
4223
4249
|
children: [
|
|
4224
|
-
title2 ? /* @__PURE__ */ (0,
|
|
4225
|
-
/* @__PURE__ */ (0,
|
|
4250
|
+
title2 ? /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("title", { children: title2 }) : null,
|
|
4251
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
|
|
4226
4252
|
"path",
|
|
4227
4253
|
{
|
|
4228
4254
|
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",
|
|
@@ -4276,6 +4302,7 @@ var iconRegistry = {
|
|
|
4276
4302
|
ethereum: EthereumIcon,
|
|
4277
4303
|
"external-link": ExternalLinkIcon,
|
|
4278
4304
|
google: GoogleIcon,
|
|
4305
|
+
"hourglass-start": HourglassStartIcon,
|
|
4279
4306
|
image: ImageIcon,
|
|
4280
4307
|
info: InfoIcon,
|
|
4281
4308
|
"internet-security": InternetSecurityIcon,
|
|
@@ -4323,7 +4350,7 @@ var resolveIconStyle = (color, style) => {
|
|
|
4323
4350
|
};
|
|
4324
4351
|
|
|
4325
4352
|
// src/primitives/icon/index.tsx
|
|
4326
|
-
var
|
|
4353
|
+
var import_jsx_runtime100 = require("react/jsx-runtime");
|
|
4327
4354
|
var Icon = (_a) => {
|
|
4328
4355
|
var _b = _a, {
|
|
4329
4356
|
name,
|
|
@@ -4347,7 +4374,7 @@ var Icon = (_a) => {
|
|
|
4347
4374
|
}
|
|
4348
4375
|
const resolvedStyle = resolveIconStyle(color, style);
|
|
4349
4376
|
const resolvedClassName = cn(iconSizeClasses[size], className);
|
|
4350
|
-
return /* @__PURE__ */ (0,
|
|
4377
|
+
return /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(
|
|
4351
4378
|
Component,
|
|
4352
4379
|
__spreadValues({
|
|
4353
4380
|
color,
|
|
@@ -4359,7 +4386,7 @@ var Icon = (_a) => {
|
|
|
4359
4386
|
Icon.displayName = "Icon";
|
|
4360
4387
|
|
|
4361
4388
|
// src/geo-block-banner/index.tsx
|
|
4362
|
-
var
|
|
4389
|
+
var import_jsx_runtime101 = require("react/jsx-runtime");
|
|
4363
4390
|
var GeoBlockBanner = ({
|
|
4364
4391
|
venue,
|
|
4365
4392
|
termsUrl = AGG_TERMS_OF_SERVICE_URL,
|
|
@@ -4367,18 +4394,18 @@ var GeoBlockBanner = ({
|
|
|
4367
4394
|
}) => {
|
|
4368
4395
|
const labels = (0, import_hooks20.useLabels)();
|
|
4369
4396
|
const message = venue ? labels.trading.geoBlockVenueMessage(venue) : labels.trading.geoBlockGenericMessage;
|
|
4370
|
-
return /* @__PURE__ */ (0,
|
|
4397
|
+
return /* @__PURE__ */ (0, import_jsx_runtime101.jsxs)(
|
|
4371
4398
|
"div",
|
|
4372
4399
|
{
|
|
4373
4400
|
className: cn("flex items-center gap-5 rounded-agg-lg bg-agg-secondary-hover p-3", className),
|
|
4374
4401
|
role: "status",
|
|
4375
4402
|
children: [
|
|
4376
|
-
/* @__PURE__ */ (0,
|
|
4403
|
+
/* @__PURE__ */ (0, import_jsx_runtime101.jsxs)("p", { className: "min-w-0 flex-1 text-agg-xs leading-agg-4 text-agg-foreground", children: [
|
|
4377
4404
|
message,
|
|
4378
|
-
/* @__PURE__ */ (0,
|
|
4405
|
+
/* @__PURE__ */ (0, import_jsx_runtime101.jsx)("a", { href: termsUrl, className: "underline", target: "_blank", rel: "noreferrer noopener", children: labels.trading.geoBlockTermsLink }),
|
|
4379
4406
|
labels.trading.geoBlockMessageSuffix
|
|
4380
4407
|
] }),
|
|
4381
|
-
/* @__PURE__ */ (0,
|
|
4408
|
+
/* @__PURE__ */ (0, import_jsx_runtime101.jsx)(Icon, { name: "internet-security", className: "h-6 w-6 shrink-0 text-agg-muted-foreground" })
|
|
4382
4409
|
]
|
|
4383
4410
|
}
|
|
4384
4411
|
);
|
|
@@ -4457,7 +4484,7 @@ var getButtonClassName = ({
|
|
|
4457
4484
|
};
|
|
4458
4485
|
|
|
4459
4486
|
// src/primitives/button/index.tsx
|
|
4460
|
-
var
|
|
4487
|
+
var import_jsx_runtime102 = require("react/jsx-runtime");
|
|
4461
4488
|
var Button = (_a) => {
|
|
4462
4489
|
var _b = _a, {
|
|
4463
4490
|
children,
|
|
@@ -4486,7 +4513,7 @@ var Button = (_a) => {
|
|
|
4486
4513
|
features: { enableAnimations }
|
|
4487
4514
|
} = (0, import_hooks21.useSdkUiConfig)();
|
|
4488
4515
|
const isDisabled = resolveButtonIsDisabled({ disabled, isLoading });
|
|
4489
|
-
return /* @__PURE__ */ (0,
|
|
4516
|
+
return /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(
|
|
4490
4517
|
"button",
|
|
4491
4518
|
__spreadProps(__spreadValues({
|
|
4492
4519
|
type,
|
|
@@ -4495,7 +4522,7 @@ var Button = (_a) => {
|
|
|
4495
4522
|
"aria-busy": isLoading,
|
|
4496
4523
|
"aria-label": ariaLabel
|
|
4497
4524
|
}, other), {
|
|
4498
|
-
children: isLoading ? /* @__PURE__ */ (0,
|
|
4525
|
+
children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(
|
|
4499
4526
|
"span",
|
|
4500
4527
|
{
|
|
4501
4528
|
className: cn(
|
|
@@ -4506,9 +4533,9 @@ var Button = (_a) => {
|
|
|
4506
4533
|
),
|
|
4507
4534
|
"aria-hidden": "true"
|
|
4508
4535
|
}
|
|
4509
|
-
) : /* @__PURE__ */ (0,
|
|
4536
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime102.jsxs)(import_jsx_runtime102.Fragment, { children: [
|
|
4510
4537
|
prefix != null ? prefix : null,
|
|
4511
|
-
/* @__PURE__ */ (0,
|
|
4538
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsx)(
|
|
4512
4539
|
"span",
|
|
4513
4540
|
{
|
|
4514
4541
|
className: cn("group/span-agg-button agg-button-label", "whitespace-nowrap truncate"),
|
|
@@ -4615,7 +4642,7 @@ var sanitizeCurrencyInputPastedValue = (input, parts, decimalPlaces) => {
|
|
|
4615
4642
|
};
|
|
4616
4643
|
|
|
4617
4644
|
// src/primitives/currency-input/index.tsx
|
|
4618
|
-
var
|
|
4645
|
+
var import_jsx_runtime103 = require("react/jsx-runtime");
|
|
4619
4646
|
var CurrencyInput = ({
|
|
4620
4647
|
value,
|
|
4621
4648
|
onChange,
|
|
@@ -4743,7 +4770,7 @@ var CurrencyInput = ({
|
|
|
4743
4770
|
onChange == null ? void 0 : onChange(nextValue);
|
|
4744
4771
|
onBlur == null ? void 0 : onBlur();
|
|
4745
4772
|
};
|
|
4746
|
-
return /* @__PURE__ */ (0,
|
|
4773
|
+
return /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
|
|
4747
4774
|
"input",
|
|
4748
4775
|
{
|
|
4749
4776
|
ref: inputRef,
|
|
@@ -4791,7 +4818,7 @@ var resolveRemoteImageStatusFromSrc = (src) => {
|
|
|
4791
4818
|
};
|
|
4792
4819
|
|
|
4793
4820
|
// src/primitives/remote-image/index.tsx
|
|
4794
|
-
var
|
|
4821
|
+
var import_jsx_runtime104 = require("react/jsx-runtime");
|
|
4795
4822
|
var RemoteImage = ({
|
|
4796
4823
|
src,
|
|
4797
4824
|
alt,
|
|
@@ -4825,7 +4852,7 @@ var RemoteImage = ({
|
|
|
4825
4852
|
setStatus("error");
|
|
4826
4853
|
};
|
|
4827
4854
|
const sizeStyle = width !== void 0 || height !== void 0 ? { width: width != null ? width : void 0, height: height != null ? height : void 0 } : void 0;
|
|
4828
|
-
return /* @__PURE__ */ (0,
|
|
4855
|
+
return /* @__PURE__ */ (0, import_jsx_runtime104.jsxs)(
|
|
4829
4856
|
"div",
|
|
4830
4857
|
{
|
|
4831
4858
|
className: cn(containerClasses, classNames == null ? void 0 : classNames.root, className),
|
|
@@ -4842,14 +4869,14 @@ var RemoteImage = ({
|
|
|
4842
4869
|
"aria-label": ariaLabel,
|
|
4843
4870
|
title: title2,
|
|
4844
4871
|
children: [
|
|
4845
|
-
status === "loading" && /* @__PURE__ */ (0,
|
|
4846
|
-
status === "error" && /* @__PURE__ */ (0,
|
|
4872
|
+
status === "loading" && /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(SkeletonBlock, { className: cn(skeletonClasses, classNames == null ? void 0 : classNames.placeholder) }),
|
|
4873
|
+
status === "error" && /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(
|
|
4847
4874
|
"div",
|
|
4848
4875
|
{
|
|
4849
4876
|
className: cn(placeholderClasses, classNames == null ? void 0 : classNames.placeholder),
|
|
4850
4877
|
"aria-hidden": true,
|
|
4851
4878
|
"aria-errormessage": "Image failed to load",
|
|
4852
|
-
children: /* @__PURE__ */ (0,
|
|
4879
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(
|
|
4853
4880
|
Icon,
|
|
4854
4881
|
{
|
|
4855
4882
|
name: "image",
|
|
@@ -4860,7 +4887,7 @@ var RemoteImage = ({
|
|
|
4860
4887
|
)
|
|
4861
4888
|
}
|
|
4862
4889
|
),
|
|
4863
|
-
isValidRemoteImageSrc(src) && status !== "error" && /* @__PURE__ */ (0,
|
|
4890
|
+
isValidRemoteImageSrc(src) && status !== "error" && /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(
|
|
4864
4891
|
"img",
|
|
4865
4892
|
{
|
|
4866
4893
|
src,
|
|
@@ -4899,7 +4926,7 @@ var resolveVenueLogoIsColor = ({
|
|
|
4899
4926
|
};
|
|
4900
4927
|
|
|
4901
4928
|
// src/primitives/venue-logo/index.tsx
|
|
4902
|
-
var
|
|
4929
|
+
var import_jsx_runtime105 = require("react/jsx-runtime");
|
|
4903
4930
|
var VenueLogo = ({
|
|
4904
4931
|
venue,
|
|
4905
4932
|
variant = "icon",
|
|
@@ -4925,7 +4952,7 @@ var VenueLogo = ({
|
|
|
4925
4952
|
console.warn(`[AggUI] Unknown venue "${venue}" \u2014 using default logo`);
|
|
4926
4953
|
}
|
|
4927
4954
|
if (variant === "logo") {
|
|
4928
|
-
return /* @__PURE__ */ (0,
|
|
4955
|
+
return /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
|
|
4929
4956
|
RemoteImage,
|
|
4930
4957
|
{
|
|
4931
4958
|
src: (_a = venueLogoUrlRegistry[venue]) != null ? _a : DEFAULT_VENUE_LOGO_URL,
|
|
@@ -4940,7 +4967,7 @@ var VenueLogo = ({
|
|
|
4940
4967
|
isColor,
|
|
4941
4968
|
isMonochromatic
|
|
4942
4969
|
});
|
|
4943
|
-
return /* @__PURE__ */ (0,
|
|
4970
|
+
return /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
|
|
4944
4971
|
Component,
|
|
4945
4972
|
{
|
|
4946
4973
|
className: cn("group/agg-venue-logo", "shrink-0", sizeClass, className),
|
|
@@ -4998,7 +5025,7 @@ var resolveInlineAlertHasAction = ({
|
|
|
4998
5025
|
};
|
|
4999
5026
|
|
|
5000
5027
|
// src/primitives/inline-alert/index.tsx
|
|
5001
|
-
var
|
|
5028
|
+
var import_jsx_runtime106 = require("react/jsx-runtime");
|
|
5002
5029
|
var InlineAlert = ({
|
|
5003
5030
|
tone = INLINE_ALERT_DEFAULT_TONE,
|
|
5004
5031
|
variant,
|
|
@@ -5012,7 +5039,7 @@ var InlineAlert = ({
|
|
|
5012
5039
|
const resolvedVariant = resolveInlineAlertVariant({ tone, variant });
|
|
5013
5040
|
const hasAction = resolveInlineAlertHasAction({ actionLabel, onAction });
|
|
5014
5041
|
const { ariaLive, role } = INLINE_ALERT_LIVE_REGION_CONFIG[tone];
|
|
5015
|
-
return /* @__PURE__ */ (0,
|
|
5042
|
+
return /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(
|
|
5016
5043
|
"div",
|
|
5017
5044
|
{
|
|
5018
5045
|
className: cn(
|
|
@@ -5024,7 +5051,7 @@ var InlineAlert = ({
|
|
|
5024
5051
|
"aria-live": ariaLive,
|
|
5025
5052
|
"aria-label": ariaLabel,
|
|
5026
5053
|
children: [
|
|
5027
|
-
/* @__PURE__ */ (0,
|
|
5054
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
|
|
5028
5055
|
Icon,
|
|
5029
5056
|
{
|
|
5030
5057
|
name: INLINE_ALERT_TONE_ICON_NAME[tone],
|
|
@@ -5032,14 +5059,14 @@ var InlineAlert = ({
|
|
|
5032
5059
|
"aria-hidden": "true"
|
|
5033
5060
|
}
|
|
5034
5061
|
),
|
|
5035
|
-
/* @__PURE__ */ (0,
|
|
5062
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
|
|
5036
5063
|
"div",
|
|
5037
5064
|
{
|
|
5038
5065
|
className: cn(
|
|
5039
5066
|
"min-w-0",
|
|
5040
5067
|
resolvedVariant === "plain" && !hasAction ? "flex-none text-center" : "flex-1"
|
|
5041
5068
|
),
|
|
5042
|
-
children: /* @__PURE__ */ (0,
|
|
5069
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(
|
|
5043
5070
|
"div",
|
|
5044
5071
|
{
|
|
5045
5072
|
className: cn(
|
|
@@ -5048,14 +5075,14 @@ var InlineAlert = ({
|
|
|
5048
5075
|
resolvedVariant === "plain" && !hasAction ? "items-center" : null
|
|
5049
5076
|
),
|
|
5050
5077
|
children: [
|
|
5051
|
-
title2 ? /* @__PURE__ */ (0,
|
|
5052
|
-
/* @__PURE__ */ (0,
|
|
5078
|
+
title2 ? /* @__PURE__ */ (0, import_jsx_runtime106.jsx)("p", { className: "text-agg-sm font-agg-bold leading-agg-5 text-agg-foreground", children: title2 }) : null,
|
|
5079
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)("p", { className: "text-agg-sm leading-agg-5 text-agg-foreground wrap-break-word", children: message })
|
|
5053
5080
|
]
|
|
5054
5081
|
}
|
|
5055
5082
|
)
|
|
5056
5083
|
}
|
|
5057
5084
|
),
|
|
5058
|
-
hasAction ? /* @__PURE__ */ (0,
|
|
5085
|
+
hasAction ? /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
|
|
5059
5086
|
"button",
|
|
5060
5087
|
{
|
|
5061
5088
|
type: "button",
|
|
@@ -5093,7 +5120,7 @@ var resolveLoadingIconAriaLabel = ({
|
|
|
5093
5120
|
};
|
|
5094
5121
|
|
|
5095
5122
|
// src/primitives/loading-icon/index.tsx
|
|
5096
|
-
var
|
|
5123
|
+
var import_jsx_runtime107 = require("react/jsx-runtime");
|
|
5097
5124
|
var LoadingIcon = ({
|
|
5098
5125
|
size = LOADING_ICON_DEFAULT_SIZE,
|
|
5099
5126
|
variant = "default",
|
|
@@ -5104,7 +5131,7 @@ var LoadingIcon = ({
|
|
|
5104
5131
|
const {
|
|
5105
5132
|
features: { enableAnimations }
|
|
5106
5133
|
} = (0, import_hooks25.useSdkUiConfig)();
|
|
5107
|
-
return /* @__PURE__ */ (0,
|
|
5134
|
+
return /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
5108
5135
|
"span",
|
|
5109
5136
|
{
|
|
5110
5137
|
role: "status",
|
|
@@ -5117,7 +5144,7 @@ var LoadingIcon = ({
|
|
|
5117
5144
|
"inline-grid place-items-center text-agg-primary will-change-transform",
|
|
5118
5145
|
className
|
|
5119
5146
|
),
|
|
5120
|
-
children: /* @__PURE__ */ (0,
|
|
5147
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime107.jsx)("span", { className: "inline-grid place-items-center", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
5121
5148
|
"svg",
|
|
5122
5149
|
{
|
|
5123
5150
|
viewBox: LOADING_ICON_SVG_VIEW_BOX,
|
|
@@ -5125,8 +5152,8 @@ var LoadingIcon = ({
|
|
|
5125
5152
|
"block",
|
|
5126
5153
|
variant === "prominent" ? LOADING_ICON_PROMINENT_FRAME_CLASS : iconSizeClasses[size]
|
|
5127
5154
|
),
|
|
5128
|
-
children: variant === "prominent" ? /* @__PURE__ */ (0,
|
|
5129
|
-
enableAnimations ? /* @__PURE__ */ (0,
|
|
5155
|
+
children: variant === "prominent" ? /* @__PURE__ */ (0, import_jsx_runtime107.jsxs)("g", { children: [
|
|
5156
|
+
enableAnimations ? /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
5130
5157
|
"animateTransform",
|
|
5131
5158
|
{
|
|
5132
5159
|
attributeName: "transform",
|
|
@@ -5138,7 +5165,7 @@ var LoadingIcon = ({
|
|
|
5138
5165
|
repeatCount: "indefinite"
|
|
5139
5166
|
}
|
|
5140
5167
|
) : null,
|
|
5141
|
-
/* @__PURE__ */ (0,
|
|
5168
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
5142
5169
|
"circle",
|
|
5143
5170
|
{
|
|
5144
5171
|
cx: "22",
|
|
@@ -5152,8 +5179,8 @@ var LoadingIcon = ({
|
|
|
5152
5179
|
strokeDasharray: LOADING_ICON_PROMINENT_DASHARRAY
|
|
5153
5180
|
}
|
|
5154
5181
|
)
|
|
5155
|
-
] }) : /* @__PURE__ */ (0,
|
|
5156
|
-
enableAnimations ? /* @__PURE__ */ (0,
|
|
5182
|
+
] }) : /* @__PURE__ */ (0, import_jsx_runtime107.jsxs)("g", { children: [
|
|
5183
|
+
enableAnimations ? /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
5157
5184
|
"animateTransform",
|
|
5158
5185
|
{
|
|
5159
5186
|
attributeName: "transform",
|
|
@@ -5165,7 +5192,7 @@ var LoadingIcon = ({
|
|
|
5165
5192
|
repeatCount: "indefinite"
|
|
5166
5193
|
}
|
|
5167
5194
|
) : null,
|
|
5168
|
-
/* @__PURE__ */ (0,
|
|
5195
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
5169
5196
|
"circle",
|
|
5170
5197
|
{
|
|
5171
5198
|
cx: "22",
|
|
@@ -5177,8 +5204,8 @@ var LoadingIcon = ({
|
|
|
5177
5204
|
strokeLinecap: "round",
|
|
5178
5205
|
strokeDasharray: "60 100",
|
|
5179
5206
|
strokeDashoffset: "0",
|
|
5180
|
-
children: enableAnimations ? /* @__PURE__ */ (0,
|
|
5181
|
-
/* @__PURE__ */ (0,
|
|
5207
|
+
children: enableAnimations ? /* @__PURE__ */ (0, import_jsx_runtime107.jsxs)(import_jsx_runtime107.Fragment, { children: [
|
|
5208
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
5182
5209
|
"animate",
|
|
5183
5210
|
{
|
|
5184
5211
|
attributeName: "stroke-dasharray",
|
|
@@ -5187,7 +5214,7 @@ var LoadingIcon = ({
|
|
|
5187
5214
|
repeatCount: "indefinite"
|
|
5188
5215
|
}
|
|
5189
5216
|
),
|
|
5190
|
-
/* @__PURE__ */ (0,
|
|
5217
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
5191
5218
|
"animate",
|
|
5192
5219
|
{
|
|
5193
5220
|
attributeName: "stroke-dashoffset",
|
|
@@ -5232,7 +5259,7 @@ var resolveModalCloseIcon = ({
|
|
|
5232
5259
|
};
|
|
5233
5260
|
|
|
5234
5261
|
// src/primitives/modal/index.tsx
|
|
5235
|
-
var
|
|
5262
|
+
var import_jsx_runtime108 = require("react/jsx-runtime");
|
|
5236
5263
|
var Modal = ({
|
|
5237
5264
|
open,
|
|
5238
5265
|
onOpenChange,
|
|
@@ -5240,7 +5267,7 @@ var Modal = ({
|
|
|
5240
5267
|
"aria-label": _ariaLabel,
|
|
5241
5268
|
"aria-labelledby": _ariaLabelledBy
|
|
5242
5269
|
}) => {
|
|
5243
|
-
return /* @__PURE__ */ (0,
|
|
5270
|
+
return /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(Dialog.Root, { open, onOpenChange, children });
|
|
5244
5271
|
};
|
|
5245
5272
|
var ModalContainer = ({
|
|
5246
5273
|
children,
|
|
@@ -5255,8 +5282,8 @@ var ModalContainer = ({
|
|
|
5255
5282
|
} = (0, import_hooks26.useSdkUiConfig)();
|
|
5256
5283
|
const overlayAnimationClassName = resolveModalOverlayAnimationClassName(enableAnimations);
|
|
5257
5284
|
const panelAnimationClassName = resolveModalPanelAnimationClassName(enableAnimations);
|
|
5258
|
-
return /* @__PURE__ */ (0,
|
|
5259
|
-
/* @__PURE__ */ (0,
|
|
5285
|
+
return /* @__PURE__ */ (0, import_jsx_runtime108.jsxs)(Dialog.Portal, { children: [
|
|
5286
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsx)(
|
|
5260
5287
|
Dialog.Overlay,
|
|
5261
5288
|
{
|
|
5262
5289
|
className: cn(
|
|
@@ -5267,7 +5294,7 @@ var ModalContainer = ({
|
|
|
5267
5294
|
)
|
|
5268
5295
|
}
|
|
5269
5296
|
),
|
|
5270
|
-
/* @__PURE__ */ (0,
|
|
5297
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsx)(
|
|
5271
5298
|
Dialog.Content,
|
|
5272
5299
|
{
|
|
5273
5300
|
className: cn(
|
|
@@ -5293,7 +5320,7 @@ var ModalContainer = ({
|
|
|
5293
5320
|
event.preventDefault();
|
|
5294
5321
|
}
|
|
5295
5322
|
},
|
|
5296
|
-
children: /* @__PURE__ */ (0,
|
|
5323
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(
|
|
5297
5324
|
"div",
|
|
5298
5325
|
{
|
|
5299
5326
|
className: cn(
|
|
@@ -5301,7 +5328,7 @@ var ModalContainer = ({
|
|
|
5301
5328
|
"items-end md:items-center",
|
|
5302
5329
|
"flex h-full min-h-0 w-full justify-center p-0 md:p-5"
|
|
5303
5330
|
),
|
|
5304
|
-
children: /* @__PURE__ */ (0,
|
|
5331
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(
|
|
5305
5332
|
"div",
|
|
5306
5333
|
{
|
|
5307
5334
|
className: cn(
|
|
@@ -5343,12 +5370,12 @@ var ModalHeader = ({
|
|
|
5343
5370
|
features: { enableAnimations }
|
|
5344
5371
|
} = (0, import_hooks26.useSdkUiConfig)();
|
|
5345
5372
|
const labels = (0, import_hooks26.useLabels)();
|
|
5346
|
-
const defaultCloseIcon = /* @__PURE__ */ (0,
|
|
5373
|
+
const defaultCloseIcon = /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(CloseIcon, { className: "h-6 w-6" });
|
|
5347
5374
|
const resolvedCloseIcon = resolveModalCloseIcon({
|
|
5348
5375
|
closeIcon,
|
|
5349
5376
|
defaultCloseIcon
|
|
5350
5377
|
});
|
|
5351
|
-
return /* @__PURE__ */ (0,
|
|
5378
|
+
return /* @__PURE__ */ (0, import_jsx_runtime108.jsxs)(
|
|
5352
5379
|
"div",
|
|
5353
5380
|
{
|
|
5354
5381
|
className: cn(
|
|
@@ -5361,7 +5388,7 @@ var ModalHeader = ({
|
|
|
5361
5388
|
classNames == null ? void 0 : classNames.root
|
|
5362
5389
|
),
|
|
5363
5390
|
children: [
|
|
5364
|
-
/* @__PURE__ */ (0,
|
|
5391
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsxs)(
|
|
5365
5392
|
"div",
|
|
5366
5393
|
{
|
|
5367
5394
|
className: cn(
|
|
@@ -5374,8 +5401,8 @@ var ModalHeader = ({
|
|
|
5374
5401
|
classNames == null ? void 0 : classNames.container
|
|
5375
5402
|
),
|
|
5376
5403
|
children: [
|
|
5377
|
-
leftElement ? /* @__PURE__ */ (0,
|
|
5378
|
-
/* @__PURE__ */ (0,
|
|
5404
|
+
leftElement ? /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(import_jsx_runtime108.Fragment, { children: leftElement }) : null,
|
|
5405
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsxs)(
|
|
5379
5406
|
"div",
|
|
5380
5407
|
{
|
|
5381
5408
|
className: cn(
|
|
@@ -5384,7 +5411,7 @@ var ModalHeader = ({
|
|
|
5384
5411
|
classNames == null ? void 0 : classNames.titleContainer
|
|
5385
5412
|
),
|
|
5386
5413
|
children: [
|
|
5387
|
-
/* @__PURE__ */ (0,
|
|
5414
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsx)(
|
|
5388
5415
|
Dialog.Title,
|
|
5389
5416
|
{
|
|
5390
5417
|
className: cn(
|
|
@@ -5398,7 +5425,7 @@ var ModalHeader = ({
|
|
|
5398
5425
|
children: title2
|
|
5399
5426
|
}
|
|
5400
5427
|
),
|
|
5401
|
-
subtitle ? /* @__PURE__ */ (0,
|
|
5428
|
+
subtitle ? /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(
|
|
5402
5429
|
"span",
|
|
5403
5430
|
{
|
|
5404
5431
|
className: cn(
|
|
@@ -5412,9 +5439,9 @@ var ModalHeader = ({
|
|
|
5412
5439
|
]
|
|
5413
5440
|
}
|
|
5414
5441
|
),
|
|
5415
|
-
/* @__PURE__ */ (0,
|
|
5416
|
-
rightElement ? /* @__PURE__ */ (0,
|
|
5417
|
-
!hideClose && /* @__PURE__ */ (0,
|
|
5442
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsxs)("div", { className: "agg-modal-header-actions flex flex-row items-center justify-end gap-6", children: [
|
|
5443
|
+
rightElement ? /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(import_jsx_runtime108.Fragment, { children: rightElement }) : null,
|
|
5444
|
+
!hideClose && /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(
|
|
5418
5445
|
Dialog.Close,
|
|
5419
5446
|
{
|
|
5420
5447
|
className: cn(
|
|
@@ -5431,14 +5458,14 @@ var ModalHeader = ({
|
|
|
5431
5458
|
]
|
|
5432
5459
|
}
|
|
5433
5460
|
),
|
|
5434
|
-
children ? /* @__PURE__ */ (0,
|
|
5461
|
+
children ? /* @__PURE__ */ (0, import_jsx_runtime108.jsx)("div", { className: "agg-modal-header-extra", children }) : null
|
|
5435
5462
|
]
|
|
5436
5463
|
}
|
|
5437
5464
|
);
|
|
5438
5465
|
};
|
|
5439
5466
|
Modal.Header = ModalHeader;
|
|
5440
5467
|
var ModalBody = ({ children, classNames }) => {
|
|
5441
|
-
return /* @__PURE__ */ (0,
|
|
5468
|
+
return /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(
|
|
5442
5469
|
"div",
|
|
5443
5470
|
{
|
|
5444
5471
|
className: cn(
|
|
@@ -5459,7 +5486,7 @@ var ModalFooter = ({
|
|
|
5459
5486
|
classNames,
|
|
5460
5487
|
hideBorder = false
|
|
5461
5488
|
}) => {
|
|
5462
|
-
return /* @__PURE__ */ (0,
|
|
5489
|
+
return /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(
|
|
5463
5490
|
"div",
|
|
5464
5491
|
{
|
|
5465
5492
|
className: cn(
|
|
@@ -5542,17 +5569,136 @@ var getTypographyClassName = ({
|
|
|
5542
5569
|
};
|
|
5543
5570
|
|
|
5544
5571
|
// src/primitives/typography/index.tsx
|
|
5545
|
-
var
|
|
5572
|
+
var import_jsx_runtime109 = require("react/jsx-runtime");
|
|
5546
5573
|
var Typography = ({
|
|
5547
5574
|
as: Component = "p",
|
|
5548
5575
|
variant = "body",
|
|
5549
5576
|
className,
|
|
5550
5577
|
children
|
|
5551
5578
|
}) => {
|
|
5552
|
-
return /* @__PURE__ */ (0,
|
|
5579
|
+
return /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(Component, { className: getTypographyClassName({ className, variant }), children });
|
|
5553
5580
|
};
|
|
5554
5581
|
Typography.displayName = "Typography";
|
|
5555
5582
|
|
|
5583
|
+
// src/primitives/tooltip/index.tsx
|
|
5584
|
+
var import_hooks27 = require("@agg-build/hooks");
|
|
5585
|
+
var TooltipPrimitive = __toESM(require("@radix-ui/react-tooltip"));
|
|
5586
|
+
var import_react5 = require("react");
|
|
5587
|
+
|
|
5588
|
+
// src/primitives/tooltip/tooltip.constants.ts
|
|
5589
|
+
var tooltipSizeClasses = {
|
|
5590
|
+
small: cn("p-2.5 max-w-[240px]"),
|
|
5591
|
+
medium: cn("p-5 max-w-[360px]")
|
|
5592
|
+
};
|
|
5593
|
+
var defaultTooltipTriggerAriaLabel = "More information";
|
|
5594
|
+
|
|
5595
|
+
// src/primitives/tooltip/tooltip.utils.ts
|
|
5596
|
+
var resolveTooltipTriggerClassName = (triggerClassName) => {
|
|
5597
|
+
return cn(
|
|
5598
|
+
"inline-flex items-center justify-center rounded-agg-sm border-0 bg-transparent p-0 leading-none",
|
|
5599
|
+
"cursor-help focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-agg-primary/40",
|
|
5600
|
+
"text-agg-foreground",
|
|
5601
|
+
triggerClassName
|
|
5602
|
+
);
|
|
5603
|
+
};
|
|
5604
|
+
var resolveTooltipArrowDimensions = (size) => {
|
|
5605
|
+
if (size === "small") {
|
|
5606
|
+
return {
|
|
5607
|
+
width: 12,
|
|
5608
|
+
height: 6
|
|
5609
|
+
};
|
|
5610
|
+
}
|
|
5611
|
+
return {
|
|
5612
|
+
width: 14,
|
|
5613
|
+
height: 8
|
|
5614
|
+
};
|
|
5615
|
+
};
|
|
5616
|
+
|
|
5617
|
+
// src/primitives/tooltip/index.tsx
|
|
5618
|
+
var import_jsx_runtime110 = require("react/jsx-runtime");
|
|
5619
|
+
var Tooltip = ({
|
|
5620
|
+
content,
|
|
5621
|
+
children,
|
|
5622
|
+
size = "small",
|
|
5623
|
+
side = "top",
|
|
5624
|
+
delayDuration = 150,
|
|
5625
|
+
collisionPadding = 12,
|
|
5626
|
+
classNames,
|
|
5627
|
+
"aria-label": ariaLabel
|
|
5628
|
+
}) => {
|
|
5629
|
+
const {
|
|
5630
|
+
features: { enableAnimations }
|
|
5631
|
+
} = (0, import_hooks27.useSdkUiConfig)();
|
|
5632
|
+
const trigger = (0, import_react5.useMemo)(() => {
|
|
5633
|
+
if (children) return children;
|
|
5634
|
+
return /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(
|
|
5635
|
+
"button",
|
|
5636
|
+
{
|
|
5637
|
+
type: "button",
|
|
5638
|
+
className: resolveTooltipTriggerClassName(classNames == null ? void 0 : classNames.trigger),
|
|
5639
|
+
"aria-label": ariaLabel != null ? ariaLabel : defaultTooltipTriggerAriaLabel,
|
|
5640
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(Icon, { name: "info", size: "small", "aria-hidden": true })
|
|
5641
|
+
}
|
|
5642
|
+
);
|
|
5643
|
+
}, [children, classNames == null ? void 0 : classNames.trigger, ariaLabel]);
|
|
5644
|
+
const { width: arrowWidth, height: arrowHeight } = resolveTooltipArrowDimensions(size);
|
|
5645
|
+
const arrowPoints = `0,0 ${arrowWidth},0 ${arrowWidth / 2},${arrowHeight}`;
|
|
5646
|
+
const arrowBorderPath = `M0 0 L${arrowWidth / 2} ${arrowHeight} L${arrowWidth} 0`;
|
|
5647
|
+
return /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(TooltipPrimitive.Provider, { delayDuration, children: /* @__PURE__ */ (0, import_jsx_runtime110.jsxs)(TooltipPrimitive.Root, { children: [
|
|
5648
|
+
/* @__PURE__ */ (0, import_jsx_runtime110.jsx)(TooltipPrimitive.Trigger, { asChild: true, children: trigger }),
|
|
5649
|
+
/* @__PURE__ */ (0, import_jsx_runtime110.jsx)(TooltipPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime110.jsxs)(
|
|
5650
|
+
TooltipPrimitive.Content,
|
|
5651
|
+
{
|
|
5652
|
+
side,
|
|
5653
|
+
sideOffset: 0,
|
|
5654
|
+
collisionPadding,
|
|
5655
|
+
className: cn(
|
|
5656
|
+
"group/agg-tooltip",
|
|
5657
|
+
"z-50 text-agg-foreground",
|
|
5658
|
+
"text-agg-sm leading-agg-5",
|
|
5659
|
+
"rounded-agg-xl bg-agg-secondary",
|
|
5660
|
+
"border border-agg-separator",
|
|
5661
|
+
"data-[side=top]:[&>span]:bottom-px!",
|
|
5662
|
+
"data-[side=bottom]:[&>span]:top-px!",
|
|
5663
|
+
tooltipSizeClasses[size],
|
|
5664
|
+
getMotionClassName(
|
|
5665
|
+
enableAnimations,
|
|
5666
|
+
"data-[state=delayed-open]:animate-agg-fade-in data-[state=closed]:animate-agg-fade-out motion-reduce:animate-none"
|
|
5667
|
+
),
|
|
5668
|
+
classNames == null ? void 0 : classNames.content
|
|
5669
|
+
),
|
|
5670
|
+
children: [
|
|
5671
|
+
/* @__PURE__ */ (0, import_jsx_runtime110.jsx)(TooltipPrimitive.Arrow, { asChild: true, width: arrowWidth, height: arrowHeight, children: /* @__PURE__ */ (0, import_jsx_runtime110.jsxs)(
|
|
5672
|
+
"svg",
|
|
5673
|
+
{
|
|
5674
|
+
width: arrowWidth,
|
|
5675
|
+
height: arrowHeight,
|
|
5676
|
+
viewBox: `0 0 ${arrowWidth} ${arrowHeight}`,
|
|
5677
|
+
"aria-hidden": "true",
|
|
5678
|
+
className: cn("overflow-visible", classNames == null ? void 0 : classNames.arrow),
|
|
5679
|
+
children: [
|
|
5680
|
+
/* @__PURE__ */ (0, import_jsx_runtime110.jsx)("polygon", { points: arrowPoints, className: "fill-agg-secondary" }),
|
|
5681
|
+
/* @__PURE__ */ (0, import_jsx_runtime110.jsx)(
|
|
5682
|
+
"path",
|
|
5683
|
+
{
|
|
5684
|
+
d: arrowBorderPath,
|
|
5685
|
+
className: "fill-none stroke-agg-separator",
|
|
5686
|
+
strokeWidth: 1,
|
|
5687
|
+
strokeLinejoin: "round",
|
|
5688
|
+
vectorEffect: "non-scaling-stroke"
|
|
5689
|
+
}
|
|
5690
|
+
)
|
|
5691
|
+
]
|
|
5692
|
+
}
|
|
5693
|
+
) }),
|
|
5694
|
+
content
|
|
5695
|
+
]
|
|
5696
|
+
}
|
|
5697
|
+
) })
|
|
5698
|
+
] }) });
|
|
5699
|
+
};
|
|
5700
|
+
Tooltip.displayName = "Tooltip";
|
|
5701
|
+
|
|
5556
5702
|
// src/shared/deposit-modal-events.ts
|
|
5557
5703
|
var DEPOSIT_MODAL_OPEN_EVENT = "agg-deposit:open-modal";
|
|
5558
5704
|
var requestAggDepositModalOpen = () => {
|
|
@@ -5561,8 +5707,8 @@ var requestAggDepositModalOpen = () => {
|
|
|
5561
5707
|
};
|
|
5562
5708
|
|
|
5563
5709
|
// src/trading/use-kalshi-kyc-flow.ts
|
|
5564
|
-
var
|
|
5565
|
-
var
|
|
5710
|
+
var import_hooks28 = require("@agg-build/hooks");
|
|
5711
|
+
var import_react6 = require("react");
|
|
5566
5712
|
var KYC_PENDING_STORAGE_KEY = "agg_kyc_pending";
|
|
5567
5713
|
var getKycPendingState = () => {
|
|
5568
5714
|
var _a, _b;
|
|
@@ -5592,14 +5738,14 @@ var useKalshiKycFlow = ({
|
|
|
5592
5738
|
walletAddress,
|
|
5593
5739
|
onError
|
|
5594
5740
|
}) => {
|
|
5595
|
-
const client = (0,
|
|
5596
|
-
const [isVerifyModalOpen, setIsVerifyModalOpen] = (0,
|
|
5597
|
-
const [showSuccessModal, setShowSuccessModal] = (0,
|
|
5598
|
-
const [isInitiating, setIsInitiating] = (0,
|
|
5599
|
-
const [needsDepositAddress, setNeedsDepositAddress] = (0,
|
|
5600
|
-
const initiationAttemptRef = (0,
|
|
5601
|
-
const { isReady, isTimedOut } = (0,
|
|
5602
|
-
const pendingState = (0,
|
|
5741
|
+
const client = (0, import_hooks28.useAggClient)();
|
|
5742
|
+
const [isVerifyModalOpen, setIsVerifyModalOpen] = (0, import_react6.useState)(false);
|
|
5743
|
+
const [showSuccessModal, setShowSuccessModal] = (0, import_react6.useState)(false);
|
|
5744
|
+
const [isInitiating, setIsInitiating] = (0, import_react6.useState)(false);
|
|
5745
|
+
const [needsDepositAddress, setNeedsDepositAddress] = (0, import_react6.useState)(false);
|
|
5746
|
+
const initiationAttemptRef = (0, import_react6.useRef)(0);
|
|
5747
|
+
const { isReady, isTimedOut } = (0, import_hooks28.useDepositAddresses)({ enabled: needsDepositAddress, poll: true });
|
|
5748
|
+
const pendingState = (0, import_react6.useMemo)(
|
|
5603
5749
|
() => ({
|
|
5604
5750
|
venue: "kalshi",
|
|
5605
5751
|
userId: userId != null ? userId : null,
|
|
@@ -5607,28 +5753,28 @@ var useKalshiKycFlow = ({
|
|
|
5607
5753
|
}),
|
|
5608
5754
|
[userId, walletAddress]
|
|
5609
5755
|
);
|
|
5610
|
-
const resetInitiation = (0,
|
|
5756
|
+
const resetInitiation = (0, import_react6.useCallback)(() => {
|
|
5611
5757
|
setIsInitiating(false);
|
|
5612
5758
|
setNeedsDepositAddress(false);
|
|
5613
5759
|
}, []);
|
|
5614
|
-
const closeVerifyModal = (0,
|
|
5760
|
+
const closeVerifyModal = (0, import_react6.useCallback)(() => {
|
|
5615
5761
|
initiationAttemptRef.current += 1;
|
|
5616
5762
|
clearKycPendingState();
|
|
5617
5763
|
resetInitiation();
|
|
5618
5764
|
setIsVerifyModalOpen(false);
|
|
5619
5765
|
}, [resetInitiation]);
|
|
5620
|
-
const closeSuccessModal = (0,
|
|
5766
|
+
const closeSuccessModal = (0, import_react6.useCallback)(() => {
|
|
5621
5767
|
setShowSuccessModal(false);
|
|
5622
5768
|
}, []);
|
|
5623
|
-
const openVerifyModal = (0,
|
|
5769
|
+
const openVerifyModal = (0, import_react6.useCallback)(() => {
|
|
5624
5770
|
setIsVerifyModalOpen(true);
|
|
5625
5771
|
}, []);
|
|
5626
|
-
const startVerification = (0,
|
|
5772
|
+
const startVerification = (0, import_react6.useCallback)(() => {
|
|
5627
5773
|
initiationAttemptRef.current += 1;
|
|
5628
5774
|
setIsInitiating(true);
|
|
5629
5775
|
setNeedsDepositAddress(true);
|
|
5630
5776
|
}, []);
|
|
5631
|
-
(0,
|
|
5777
|
+
(0, import_react6.useEffect)(() => {
|
|
5632
5778
|
if (!isInitiating || !isReady) return;
|
|
5633
5779
|
const attemptId = initiationAttemptRef.current;
|
|
5634
5780
|
const redirectUri = window.location.href;
|
|
@@ -5645,14 +5791,14 @@ var useKalshiKycFlow = ({
|
|
|
5645
5791
|
resetInitiation();
|
|
5646
5792
|
});
|
|
5647
5793
|
}, [client, isInitiating, isReady, onError, pendingState, resetInitiation]);
|
|
5648
|
-
(0,
|
|
5794
|
+
(0, import_react6.useEffect)(() => {
|
|
5649
5795
|
if (isTimedOut && isInitiating) {
|
|
5650
5796
|
clearKycPendingState();
|
|
5651
5797
|
resetInitiation();
|
|
5652
5798
|
onError == null ? void 0 : onError(new Error("Deposit address provisioning timed out"));
|
|
5653
5799
|
}
|
|
5654
5800
|
}, [isInitiating, isTimedOut, onError, resetInitiation]);
|
|
5655
|
-
(0,
|
|
5801
|
+
(0, import_react6.useEffect)(() => {
|
|
5656
5802
|
const storedPendingState = getKycPendingState();
|
|
5657
5803
|
const isMatchingSession = (storedPendingState == null ? void 0 : storedPendingState.venue) === "kalshi" && storedPendingState.userId === pendingState.userId && storedPendingState.walletAddress === pendingState.walletAddress;
|
|
5658
5804
|
if (isKalshiVerified && isMatchingSession) {
|
|
@@ -5990,7 +6136,9 @@ var buildLiveRouteCards = ({
|
|
|
5990
6136
|
isUnavailable: true
|
|
5991
6137
|
};
|
|
5992
6138
|
});
|
|
5993
|
-
const baseCards = primaryCard ? [primaryCard, ...soloCards] : soloCards
|
|
6139
|
+
const baseCards = (primaryCard ? [primaryCard, ...soloCards] : soloCards).sort(
|
|
6140
|
+
(left, right) => right.numericValue - left.numericValue
|
|
6141
|
+
);
|
|
5994
6142
|
const coveredVenueStrings = new Set(
|
|
5995
6143
|
[...baseCards, ...unavailableCards].flatMap((card) => card.venue ? [card.venue] : [])
|
|
5996
6144
|
);
|
|
@@ -6575,7 +6723,7 @@ var isPercentageBelowMinimum = (value, minimumValue) => {
|
|
|
6575
6723
|
};
|
|
6576
6724
|
|
|
6577
6725
|
// src/trading/place-order/index.place-order.failure.tsx
|
|
6578
|
-
var
|
|
6726
|
+
var import_jsx_runtime111 = require("react/jsx-runtime");
|
|
6579
6727
|
var resolveFailureActionHandler = ({
|
|
6580
6728
|
action,
|
|
6581
6729
|
onDone,
|
|
@@ -6588,12 +6736,12 @@ var resolveFailureActionHandler = ({
|
|
|
6588
6736
|
};
|
|
6589
6737
|
var renderPartialFailureStep = (step) => {
|
|
6590
6738
|
const isWarningStep = step.tone === "warning" || step.tone === "error";
|
|
6591
|
-
return /* @__PURE__ */ (0,
|
|
6739
|
+
return /* @__PURE__ */ (0, import_jsx_runtime111.jsxs)(
|
|
6592
6740
|
"div",
|
|
6593
6741
|
{
|
|
6594
6742
|
className: "flex items-center gap-2 text-agg-sm leading-agg-5 text-agg-foreground",
|
|
6595
6743
|
children: [
|
|
6596
|
-
/* @__PURE__ */ (0,
|
|
6744
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
|
|
6597
6745
|
Icon,
|
|
6598
6746
|
{
|
|
6599
6747
|
name: isWarningStep ? "warning-filled" : "check-circle",
|
|
@@ -6602,8 +6750,8 @@ var renderPartialFailureStep = (step) => {
|
|
|
6602
6750
|
"aria-hidden": "true"
|
|
6603
6751
|
}
|
|
6604
6752
|
),
|
|
6605
|
-
/* @__PURE__ */ (0,
|
|
6606
|
-
step.venue ? /* @__PURE__ */ (0,
|
|
6753
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsx)("p", { className: "min-w-0 flex-1", children: step.label }),
|
|
6754
|
+
step.venue ? /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(VenueLogo, { venue: step.venue, size: "small", className: "h-4 w-4 shrink-0" }) : null
|
|
6607
6755
|
]
|
|
6608
6756
|
},
|
|
6609
6757
|
step.id
|
|
@@ -6622,10 +6770,10 @@ var PlaceOrderFailureView = ({
|
|
|
6622
6770
|
const shouldShowPartialFailureLayout = summary.kind === "partial_fill";
|
|
6623
6771
|
const failureStepGroups = shouldShowPartialFailureLayout ? groupPlaceOrderFailureSteps(summary.steps) : [];
|
|
6624
6772
|
if (shouldShowPartialFailureLayout) {
|
|
6625
|
-
return /* @__PURE__ */ (0,
|
|
6626
|
-
/* @__PURE__ */ (0,
|
|
6627
|
-
/* @__PURE__ */ (0,
|
|
6628
|
-
/* @__PURE__ */ (0,
|
|
6773
|
+
return /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(Card, { className: cn("group/agg-order-panel", getPlaceOrderContainerClassName(), className), children: /* @__PURE__ */ (0, import_jsx_runtime111.jsxs)("div", { className: "agg-order-failure-body flex flex-col gap-6 p-5", children: [
|
|
6774
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsxs)("div", { className: "agg-order-failure-header flex flex-col gap-2", children: [
|
|
6775
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsxs)("div", { className: "agg-order-failure-market flex items-center gap-3", children: [
|
|
6776
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
|
|
6629
6777
|
RemoteImage,
|
|
6630
6778
|
{
|
|
6631
6779
|
src: (_a = summary.eventImage) != null ? _a : null,
|
|
@@ -6633,12 +6781,12 @@ var PlaceOrderFailureView = ({
|
|
|
6633
6781
|
className: "h-12 w-12 shrink-0 overflow-hidden rounded-agg-lg object-cover"
|
|
6634
6782
|
}
|
|
6635
6783
|
),
|
|
6636
|
-
/* @__PURE__ */ (0,
|
|
6784
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsx)("p", { className: "min-w-0 flex-1 text-agg-base font-agg-bold leading-agg-6 text-agg-foreground line-clamp-2", children: summary.eventTitle })
|
|
6637
6785
|
] }),
|
|
6638
|
-
summary.eventSubtitle ? /* @__PURE__ */ (0,
|
|
6786
|
+
summary.eventSubtitle ? /* @__PURE__ */ (0, import_jsx_runtime111.jsx)("p", { className: "text-agg-base leading-agg-6 text-agg-foreground", children: summary.eventSubtitle }) : null
|
|
6639
6787
|
] }),
|
|
6640
|
-
/* @__PURE__ */ (0,
|
|
6641
|
-
/* @__PURE__ */ (0,
|
|
6788
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsx)("div", { className: "flex flex-col gap-4", children: failureStepGroups.map((group, groupIndex) => /* @__PURE__ */ (0, import_jsx_runtime111.jsx)("div", { className: "flex flex-col gap-2", children: group.map((step) => renderPartialFailureStep(step)) }, `failure-group-${groupIndex}`)) }),
|
|
6789
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsx)("div", { className: "flex items-center gap-4", children: summary.actions.map((action) => /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
|
|
6642
6790
|
Button,
|
|
6643
6791
|
{
|
|
6644
6792
|
variant: "tertiary",
|
|
@@ -6652,10 +6800,10 @@ var PlaceOrderFailureView = ({
|
|
|
6652
6800
|
)) })
|
|
6653
6801
|
] }) });
|
|
6654
6802
|
}
|
|
6655
|
-
return /* @__PURE__ */ (0,
|
|
6656
|
-
/* @__PURE__ */ (0,
|
|
6657
|
-
/* @__PURE__ */ (0,
|
|
6658
|
-
/* @__PURE__ */ (0,
|
|
6803
|
+
return /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(Card, { className: cn("group/agg-order-panel", getPlaceOrderContainerClassName(), className), children: /* @__PURE__ */ (0, import_jsx_runtime111.jsxs)("div", { className: "agg-order-failure-body flex flex-col gap-6 p-5", children: [
|
|
6804
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsxs)("div", { className: "agg-order-failure-header flex flex-col gap-2", children: [
|
|
6805
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsxs)("div", { className: "agg-order-failure-market flex items-center gap-3", children: [
|
|
6806
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
|
|
6659
6807
|
RemoteImage,
|
|
6660
6808
|
{
|
|
6661
6809
|
src: (_b = summary.eventImage) != null ? _b : null,
|
|
@@ -6663,11 +6811,11 @@ var PlaceOrderFailureView = ({
|
|
|
6663
6811
|
className: "h-12 w-12 shrink-0 overflow-hidden rounded-agg-lg object-cover"
|
|
6664
6812
|
}
|
|
6665
6813
|
),
|
|
6666
|
-
/* @__PURE__ */ (0,
|
|
6814
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsx)("p", { className: "min-w-0 flex-1 text-agg-base font-agg-bold leading-agg-6 text-agg-foreground line-clamp-2", children: summary.eventTitle })
|
|
6667
6815
|
] }),
|
|
6668
|
-
summary.eventSubtitle ? /* @__PURE__ */ (0,
|
|
6816
|
+
summary.eventSubtitle ? /* @__PURE__ */ (0, import_jsx_runtime111.jsx)("p", { className: "text-agg-base leading-agg-6 text-agg-foreground", children: summary.eventSubtitle }) : null
|
|
6669
6817
|
] }),
|
|
6670
|
-
/* @__PURE__ */ (0,
|
|
6818
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
|
|
6671
6819
|
InlineAlert,
|
|
6672
6820
|
{
|
|
6673
6821
|
tone: "error",
|
|
@@ -6676,7 +6824,7 @@ var PlaceOrderFailureView = ({
|
|
|
6676
6824
|
message: tradingLabels.orderFailureDescription((_c = summary.errorMessage) != null ? _c : "")
|
|
6677
6825
|
}
|
|
6678
6826
|
),
|
|
6679
|
-
/* @__PURE__ */ (0,
|
|
6827
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsx)("div", { className: "agg-order-failure-actions flex items-center gap-3", children: summary.actions.map((action) => /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
|
|
6680
6828
|
Button,
|
|
6681
6829
|
{
|
|
6682
6830
|
variant: action.variant === "retry" ? "primary" : "secondary",
|
|
@@ -6693,8 +6841,8 @@ var PlaceOrderFailureView = ({
|
|
|
6693
6841
|
PlaceOrderFailureView.displayName = "PlaceOrderFailureView";
|
|
6694
6842
|
|
|
6695
6843
|
// src/trading/place-order/index.place-order.success.tsx
|
|
6696
|
-
var
|
|
6697
|
-
var
|
|
6844
|
+
var import_react7 = require("react");
|
|
6845
|
+
var import_jsx_runtime112 = require("react/jsx-runtime");
|
|
6698
6846
|
var resolveBuyToWinLabel = (shares) => {
|
|
6699
6847
|
if (!shares) return "$0";
|
|
6700
6848
|
return shares.startsWith("$") ? shares : `$${shares}`;
|
|
@@ -6707,7 +6855,7 @@ var PlaceOrderSuccessView = ({
|
|
|
6707
6855
|
onShare: _onShare
|
|
6708
6856
|
}) => {
|
|
6709
6857
|
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j;
|
|
6710
|
-
const [isExecutionDetailsExpanded, setIsExecutionDetailsExpanded] = (0,
|
|
6858
|
+
const [isExecutionDetailsExpanded, setIsExecutionDetailsExpanded] = (0, import_react7.useState)(true);
|
|
6711
6859
|
const newTradeLabel = (_a = tradingLabels.orderNewTrade) != null ? _a : "New Trade";
|
|
6712
6860
|
const _shareLabel = (_b = tradingLabels.orderShare) != null ? _b : "Share";
|
|
6713
6861
|
const potentialReturnLabel = summary.potentialReturnLabel && tradingLabels.potentialReturnBonus ? tradingLabels.potentialReturnBonus(summary.potentialReturnLabel) : summary.potentialReturnLabel ? `+${summary.potentialReturnLabel} Better Payout` : null;
|
|
@@ -6725,10 +6873,10 @@ var PlaceOrderSuccessView = ({
|
|
|
6725
6873
|
const resolveStepIconClassName = (tone) => {
|
|
6726
6874
|
return tone === "warning" || tone === "error" ? "text-agg-warning" : "text-agg-primary";
|
|
6727
6875
|
};
|
|
6728
|
-
return /* @__PURE__ */ (0,
|
|
6729
|
-
summary.eventTitle ? /* @__PURE__ */ (0,
|
|
6730
|
-
/* @__PURE__ */ (0,
|
|
6731
|
-
/* @__PURE__ */ (0,
|
|
6876
|
+
return /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(Card, { className: cn("group/agg-order-panel", getPlaceOrderContainerClassName(), className), children: /* @__PURE__ */ (0, import_jsx_runtime112.jsxs)("div", { className: "agg-order-success-body flex flex-col gap-6 p-5", children: [
|
|
6877
|
+
summary.eventTitle ? /* @__PURE__ */ (0, import_jsx_runtime112.jsxs)("div", { className: "agg-order-success-header flex flex-col gap-2", children: [
|
|
6878
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsxs)("div", { className: "agg-order-success-market flex items-center gap-3", children: [
|
|
6879
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
|
|
6732
6880
|
RemoteImage,
|
|
6733
6881
|
{
|
|
6734
6882
|
src: (_i = summary.eventImage) != null ? _i : null,
|
|
@@ -6736,12 +6884,12 @@ var PlaceOrderSuccessView = ({
|
|
|
6736
6884
|
className: "h-12 w-12 shrink-0 overflow-hidden rounded-agg-lg object-cover"
|
|
6737
6885
|
}
|
|
6738
6886
|
),
|
|
6739
|
-
/* @__PURE__ */ (0,
|
|
6887
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)("p", { className: "min-w-0 flex-1 text-agg-base font-agg-bold leading-agg-6 text-agg-foreground line-clamp-2", children: summary.eventTitle })
|
|
6740
6888
|
] }),
|
|
6741
|
-
summary.eventDateLabel ? /* @__PURE__ */ (0,
|
|
6889
|
+
summary.eventDateLabel ? /* @__PURE__ */ (0, import_jsx_runtime112.jsx)("p", { className: "text-agg-base leading-agg-6 text-agg-foreground", children: summary.eventDateLabel }) : null
|
|
6742
6890
|
] }) : null,
|
|
6743
|
-
executionStepGroups.length > 0 ? /* @__PURE__ */ (0,
|
|
6744
|
-
/* @__PURE__ */ (0,
|
|
6891
|
+
executionStepGroups.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime112.jsxs)("div", { className: "agg-order-success-timeline flex flex-col gap-2", children: [
|
|
6892
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
|
|
6745
6893
|
"div",
|
|
6746
6894
|
{
|
|
6747
6895
|
"aria-hidden": !isExecutionDetailsExpanded,
|
|
@@ -6754,12 +6902,12 @@ var PlaceOrderSuccessView = ({
|
|
|
6754
6902
|
"transition-[grid-template-rows,opacity] duration-200 ease-[cubic-bezier(0.22,1,0.36,1)]"
|
|
6755
6903
|
)
|
|
6756
6904
|
),
|
|
6757
|
-
children: /* @__PURE__ */ (0,
|
|
6905
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime112.jsx)("div", { className: "min-h-0", children: /* @__PURE__ */ (0, import_jsx_runtime112.jsx)("div", { className: "flex flex-col gap-4 pb-2", children: detailedStepGroups.map((group, groupIndex) => /* @__PURE__ */ (0, import_jsx_runtime112.jsx)("div", { className: "flex flex-col gap-2", children: group.map((step) => /* @__PURE__ */ (0, import_jsx_runtime112.jsxs)(
|
|
6758
6906
|
"div",
|
|
6759
6907
|
{
|
|
6760
6908
|
className: "flex items-center gap-2 text-agg-sm leading-agg-5 text-agg-foreground",
|
|
6761
6909
|
children: [
|
|
6762
|
-
/* @__PURE__ */ (0,
|
|
6910
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
|
|
6763
6911
|
Icon,
|
|
6764
6912
|
{
|
|
6765
6913
|
name: resolveStepIconName(step.tone),
|
|
@@ -6768,8 +6916,8 @@ var PlaceOrderSuccessView = ({
|
|
|
6768
6916
|
"aria-hidden": "true"
|
|
6769
6917
|
}
|
|
6770
6918
|
),
|
|
6771
|
-
/* @__PURE__ */ (0,
|
|
6772
|
-
step.venue ? /* @__PURE__ */ (0,
|
|
6919
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)("p", { className: "min-w-0 flex-1", children: step.label }),
|
|
6920
|
+
step.venue ? /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
|
|
6773
6921
|
VenueLogo,
|
|
6774
6922
|
{
|
|
6775
6923
|
venue: step.venue,
|
|
@@ -6783,7 +6931,7 @@ var PlaceOrderSuccessView = ({
|
|
|
6783
6931
|
)) }, `execution-group-${groupIndex}`)) }) })
|
|
6784
6932
|
}
|
|
6785
6933
|
),
|
|
6786
|
-
finalStep ? hasExecutionDetails ? /* @__PURE__ */ (0,
|
|
6934
|
+
finalStep ? hasExecutionDetails ? /* @__PURE__ */ (0, import_jsx_runtime112.jsxs)(
|
|
6787
6935
|
"button",
|
|
6788
6936
|
{
|
|
6789
6937
|
type: "button",
|
|
@@ -6795,7 +6943,7 @@ var PlaceOrderSuccessView = ({
|
|
|
6795
6943
|
),
|
|
6796
6944
|
onClick: () => setIsExecutionDetailsExpanded((currentValue) => !currentValue),
|
|
6797
6945
|
children: [
|
|
6798
|
-
/* @__PURE__ */ (0,
|
|
6946
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
|
|
6799
6947
|
Icon,
|
|
6800
6948
|
{
|
|
6801
6949
|
name: resolveStepIconName(finalStep.tone),
|
|
@@ -6804,8 +6952,8 @@ var PlaceOrderSuccessView = ({
|
|
|
6804
6952
|
"aria-hidden": "true"
|
|
6805
6953
|
}
|
|
6806
6954
|
),
|
|
6807
|
-
/* @__PURE__ */ (0,
|
|
6808
|
-
/* @__PURE__ */ (0,
|
|
6955
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)("p", { className: "min-w-0 flex-1", children: finalStep.label }),
|
|
6956
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
|
|
6809
6957
|
Icon,
|
|
6810
6958
|
{
|
|
6811
6959
|
name: isExecutionDetailsExpanded ? "chevron-up" : "chevron-down",
|
|
@@ -6816,8 +6964,8 @@ var PlaceOrderSuccessView = ({
|
|
|
6816
6964
|
)
|
|
6817
6965
|
]
|
|
6818
6966
|
}
|
|
6819
|
-
) : /* @__PURE__ */ (0,
|
|
6820
|
-
/* @__PURE__ */ (0,
|
|
6967
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime112.jsxs)("div", { className: "flex items-center gap-2 text-agg-sm leading-agg-5 text-agg-foreground", children: [
|
|
6968
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
|
|
6821
6969
|
Icon,
|
|
6822
6970
|
{
|
|
6823
6971
|
name: resolveStepIconName(finalStep.tone),
|
|
@@ -6826,34 +6974,34 @@ var PlaceOrderSuccessView = ({
|
|
|
6826
6974
|
"aria-hidden": "true"
|
|
6827
6975
|
}
|
|
6828
6976
|
),
|
|
6829
|
-
/* @__PURE__ */ (0,
|
|
6977
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)("p", { className: "min-w-0 flex-1", children: finalStep.label })
|
|
6830
6978
|
] }) : null
|
|
6831
6979
|
] }) : null,
|
|
6832
|
-
/* @__PURE__ */ (0,
|
|
6980
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsxs)(
|
|
6833
6981
|
"div",
|
|
6834
6982
|
{
|
|
6835
6983
|
className: cn(
|
|
6836
6984
|
"agg-order-success-pill flex min-h-12 w-full items-center justify-center gap-2 rounded-agg-full px-6 py-2.5 text-center text-agg-base font-agg-bold leading-agg-6 text-agg-on-primary bg-agg-success"
|
|
6837
6985
|
),
|
|
6838
6986
|
children: [
|
|
6839
|
-
/* @__PURE__ */ (0,
|
|
6840
|
-
/* @__PURE__ */ (0,
|
|
6987
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)(Icon, { name: "success-check", size: "small", className: "h-4 w-4 shrink-0 text-current" }),
|
|
6988
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)("span", { children: resolvedActionLabel })
|
|
6841
6989
|
]
|
|
6842
6990
|
}
|
|
6843
6991
|
),
|
|
6844
|
-
/* @__PURE__ */ (0,
|
|
6845
|
-
/* @__PURE__ */ (0,
|
|
6846
|
-
/* @__PURE__ */ (0,
|
|
6992
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsxs)("div", { className: "agg-order-success-summary flex items-center justify-between gap-4", children: [
|
|
6993
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)("p", { className: "text-agg-base font-agg-bold leading-agg-6 text-agg-foreground", children: tradingLabels.amount(resolvedTradeSide) }),
|
|
6994
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)("p", { className: "text-right text-[30px] font-agg-bold leading-[36px] text-agg-foreground", children: resolvedAmountLabel })
|
|
6847
6995
|
] }),
|
|
6848
|
-
/* @__PURE__ */ (0,
|
|
6849
|
-
/* @__PURE__ */ (0,
|
|
6850
|
-
/* @__PURE__ */ (0,
|
|
6996
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsxs)("div", { className: "agg-order-success-summary flex items-center justify-between gap-4", children: [
|
|
6997
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)("p", { className: "text-agg-base font-agg-bold leading-agg-6 text-agg-foreground", children: tradingLabels.toWin(resolvedTradeSide) }),
|
|
6998
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)("p", { className: "text-right text-[30px] font-agg-bold leading-[36px] text-agg-success", children: resolvedToWinLabel })
|
|
6851
6999
|
] }),
|
|
6852
|
-
summary.potentialReturnLabel ? /* @__PURE__ */ (0,
|
|
6853
|
-
/* @__PURE__ */ (0,
|
|
6854
|
-
/* @__PURE__ */ (0,
|
|
7000
|
+
summary.potentialReturnLabel ? /* @__PURE__ */ (0, import_jsx_runtime112.jsxs)("div", { className: "flex w-full flex-col items-center justify-center gap-1 overflow-hidden rounded-agg-lg border border-agg-primary/50 bg-gradient-to-b from-agg-primary/8 to-agg-primary/15 p-3 text-center", children: [
|
|
7001
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)("p", { className: "bg-gradient-to-r from-agg-primary to-agg-primary-hover bg-clip-text text-agg-lg font-agg-bold leading-[28px] text-transparent", children: potentialReturnLabel }),
|
|
7002
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)("p", { className: "text-agg-xs leading-agg-4 text-agg-foreground", children: (_j = tradingLabels.withSmartRouting) != null ? _j : "with Smart Routing" })
|
|
6855
7003
|
] }) : null,
|
|
6856
|
-
/* @__PURE__ */ (0,
|
|
7004
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)("div", { className: "agg-order-success-actions flex gap-3", children: /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
|
|
6857
7005
|
Button,
|
|
6858
7006
|
{
|
|
6859
7007
|
variant: "secondary",
|
|
@@ -6869,7 +7017,7 @@ var PlaceOrderSuccessView = ({
|
|
|
6869
7017
|
PlaceOrderSuccessView.displayName = "PlaceOrderSuccessView";
|
|
6870
7018
|
|
|
6871
7019
|
// src/trading/place-order/index.tsx
|
|
6872
|
-
var
|
|
7020
|
+
var import_jsx_runtime113 = require("react/jsx-runtime");
|
|
6873
7021
|
var DEFAULT_STEP_LABELS = {
|
|
6874
7022
|
"check-balance": "Checking balance",
|
|
6875
7023
|
"check-position": "Checking position",
|
|
@@ -6895,7 +7043,7 @@ var LoadingGlyph = ({
|
|
|
6895
7043
|
className,
|
|
6896
7044
|
enableAnimations
|
|
6897
7045
|
}) => {
|
|
6898
|
-
return /* @__PURE__ */ (0,
|
|
7046
|
+
return /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
6899
7047
|
"span",
|
|
6900
7048
|
{
|
|
6901
7049
|
"aria-hidden": "true",
|
|
@@ -6915,25 +7063,25 @@ var PlaceOrderSlippageControl = ({
|
|
|
6915
7063
|
minimumValue: slippageMinimumValue
|
|
6916
7064
|
}) => {
|
|
6917
7065
|
var _a, _b;
|
|
6918
|
-
const labels = (0,
|
|
6919
|
-
const containerRef = (0,
|
|
6920
|
-
const triggerRef = (0,
|
|
6921
|
-
const inputRef = (0,
|
|
6922
|
-
const warningId = (0,
|
|
7066
|
+
const labels = (0, import_hooks29.useLabels)();
|
|
7067
|
+
const containerRef = (0, import_react9.useRef)(null);
|
|
7068
|
+
const triggerRef = (0, import_react9.useRef)(null);
|
|
7069
|
+
const inputRef = (0, import_react9.useRef)(null);
|
|
7070
|
+
const warningId = (0, import_react9.useId)();
|
|
6923
7071
|
const defaultValue = finalizePercentageValue(slippageDefaultValue);
|
|
6924
7072
|
const committedValue = finalizePercentageValue(slippageValue) || defaultValue;
|
|
6925
|
-
const [draftValue, setDraftValue] = (0,
|
|
6926
|
-
const [isEditing, setIsEditing] = (0,
|
|
7073
|
+
const [draftValue, setDraftValue] = (0, import_react9.useState)(committedValue);
|
|
7074
|
+
const [isEditing, setIsEditing] = (0, import_react9.useState)(
|
|
6927
7075
|
() => isPercentageBelowMinimum(committedValue, slippageMinimumValue)
|
|
6928
7076
|
);
|
|
6929
|
-
const [shouldFocusInput, setShouldFocusInput] = (0,
|
|
6930
|
-
(0,
|
|
7077
|
+
const [shouldFocusInput, setShouldFocusInput] = (0, import_react9.useState)(false);
|
|
7078
|
+
(0, import_react9.useEffect)(() => {
|
|
6931
7079
|
setDraftValue(committedValue);
|
|
6932
7080
|
if (isPercentageBelowMinimum(committedValue, slippageMinimumValue)) {
|
|
6933
7081
|
setIsEditing(true);
|
|
6934
7082
|
}
|
|
6935
7083
|
}, [committedValue, slippageMinimumValue]);
|
|
6936
|
-
(0,
|
|
7084
|
+
(0, import_react9.useEffect)(() => {
|
|
6937
7085
|
if (!shouldFocusInput) return;
|
|
6938
7086
|
requestAnimationFrame(() => {
|
|
6939
7087
|
var _a2, _b2;
|
|
@@ -6950,7 +7098,7 @@ var PlaceOrderSlippageControl = ({
|
|
|
6950
7098
|
Number(committedValue || slippageDefaultValue || DEFAULT_SLIPPAGE_VALUE)
|
|
6951
7099
|
);
|
|
6952
7100
|
const resolvedAutoLabel = labels.trading.resetSlippage;
|
|
6953
|
-
const resolvedWarningMessage = (0,
|
|
7101
|
+
const resolvedWarningMessage = (0, import_react9.useMemo)(() => {
|
|
6954
7102
|
if (isLowSlippage) {
|
|
6955
7103
|
return labels.trading.slippageLow(slippageMinimumValue);
|
|
6956
7104
|
}
|
|
@@ -7013,8 +7161,8 @@ var PlaceOrderSlippageControl = ({
|
|
|
7013
7161
|
if (!isEditing) return;
|
|
7014
7162
|
handleCommitDraft(false);
|
|
7015
7163
|
};
|
|
7016
|
-
return /* @__PURE__ */ (0,
|
|
7017
|
-
/* @__PURE__ */ (0,
|
|
7164
|
+
return /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)("div", { ref: containerRef, className: "agg-slippage-control w-full", onBlur: handleContainerBlur, children: [
|
|
7165
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(
|
|
7018
7166
|
"button",
|
|
7019
7167
|
{
|
|
7020
7168
|
ref: triggerRef,
|
|
@@ -7032,8 +7180,8 @@ var PlaceOrderSlippageControl = ({
|
|
|
7032
7180
|
),
|
|
7033
7181
|
onClick: handleToggleEditing,
|
|
7034
7182
|
children: [
|
|
7035
|
-
/* @__PURE__ */ (0,
|
|
7036
|
-
/* @__PURE__ */ (0,
|
|
7183
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)("span", { className: "agg-slippage-label", children: collapsedLabel }),
|
|
7184
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
7037
7185
|
Icon,
|
|
7038
7186
|
{
|
|
7039
7187
|
name: isEditing ? "chevron-up" : "pencil",
|
|
@@ -7045,7 +7193,7 @@ var PlaceOrderSlippageControl = ({
|
|
|
7045
7193
|
]
|
|
7046
7194
|
}
|
|
7047
7195
|
),
|
|
7048
|
-
/* @__PURE__ */ (0,
|
|
7196
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
7049
7197
|
"div",
|
|
7050
7198
|
{
|
|
7051
7199
|
"aria-hidden": !isEditing,
|
|
@@ -7059,10 +7207,10 @@ var PlaceOrderSlippageControl = ({
|
|
|
7059
7207
|
"transition-[grid-template-rows,opacity,margin-top] duration-300 ease-[cubic-bezier(0.22,1,0.36,1)]"
|
|
7060
7208
|
)
|
|
7061
7209
|
),
|
|
7062
|
-
children: /* @__PURE__ */ (0,
|
|
7063
|
-
/* @__PURE__ */ (0,
|
|
7064
|
-
/* @__PURE__ */ (0,
|
|
7065
|
-
/* @__PURE__ */ (0,
|
|
7210
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime113.jsx)("div", { className: "min-h-0", children: /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)("div", { className: "agg-slippage-editor-body flex flex-col gap-2", children: [
|
|
7211
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsxs)("div", { className: "agg-slippage-input-row flex h-9 overflow-hidden rounded-agg-sm border border-agg-separator", children: [
|
|
7212
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsxs)("div", { className: "agg-slippage-input-group flex min-w-0 flex-1 items-center gap-2 bg-agg-secondary px-3", children: [
|
|
7213
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
7066
7214
|
"input",
|
|
7067
7215
|
{
|
|
7068
7216
|
ref: inputRef,
|
|
@@ -7077,7 +7225,7 @@ var PlaceOrderSlippageControl = ({
|
|
|
7077
7225
|
onKeyDown: handleInputKeyDown
|
|
7078
7226
|
}
|
|
7079
7227
|
),
|
|
7080
|
-
/* @__PURE__ */ (0,
|
|
7228
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
7081
7229
|
"button",
|
|
7082
7230
|
{
|
|
7083
7231
|
type: "button",
|
|
@@ -7095,8 +7243,8 @@ var PlaceOrderSlippageControl = ({
|
|
|
7095
7243
|
}
|
|
7096
7244
|
)
|
|
7097
7245
|
] }),
|
|
7098
|
-
/* @__PURE__ */ (0,
|
|
7099
|
-
/* @__PURE__ */ (0,
|
|
7246
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)("div", { className: "h-full w-px bg-agg-separator", "aria-hidden": "true" }),
|
|
7247
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
7100
7248
|
"div",
|
|
7101
7249
|
{
|
|
7102
7250
|
className: "agg-slippage-suffix flex w-9 items-center justify-center bg-agg-secondary-hover text-agg-sm leading-agg-5 text-agg-muted-foreground",
|
|
@@ -7105,7 +7253,7 @@ var PlaceOrderSlippageControl = ({
|
|
|
7105
7253
|
}
|
|
7106
7254
|
)
|
|
7107
7255
|
] }),
|
|
7108
|
-
/* @__PURE__ */ (0,
|
|
7256
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
7109
7257
|
"div",
|
|
7110
7258
|
{
|
|
7111
7259
|
"aria-hidden": !resolvedWarningMessage,
|
|
@@ -7119,13 +7267,13 @@ var PlaceOrderSlippageControl = ({
|
|
|
7119
7267
|
"transition-[grid-template-rows,opacity] duration-200 ease-[cubic-bezier(0.22,1,0.36,1)]"
|
|
7120
7268
|
)
|
|
7121
7269
|
),
|
|
7122
|
-
children: /* @__PURE__ */ (0,
|
|
7270
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime113.jsx)("div", { className: "min-h-0", children: /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(
|
|
7123
7271
|
"div",
|
|
7124
7272
|
{
|
|
7125
7273
|
id: warningId,
|
|
7126
7274
|
className: "agg-slippage-warning-message flex items-start gap-2 text-agg-sm leading-agg-5 text-agg-foreground",
|
|
7127
7275
|
children: [
|
|
7128
|
-
/* @__PURE__ */ (0,
|
|
7276
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
7129
7277
|
Icon,
|
|
7130
7278
|
{
|
|
7131
7279
|
name: "warning-filled",
|
|
@@ -7134,7 +7282,7 @@ var PlaceOrderSlippageControl = ({
|
|
|
7134
7282
|
color: "currentColor"
|
|
7135
7283
|
}
|
|
7136
7284
|
),
|
|
7137
|
-
/* @__PURE__ */ (0,
|
|
7285
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)("p", { children: resolvedWarningMessage != null ? resolvedWarningMessage : "" })
|
|
7138
7286
|
]
|
|
7139
7287
|
}
|
|
7140
7288
|
) })
|
|
@@ -7154,9 +7302,9 @@ var renderCardHeader = ({
|
|
|
7154
7302
|
onClose
|
|
7155
7303
|
}) => {
|
|
7156
7304
|
if (!headerTitle) return null;
|
|
7157
|
-
return /* @__PURE__ */ (0,
|
|
7158
|
-
/* @__PURE__ */ (0,
|
|
7159
|
-
/* @__PURE__ */ (0,
|
|
7305
|
+
return /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)("div", { className: cn("agg-order-panel-header flex flex-col gap-2", className), children: [
|
|
7306
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsxs)("div", { className: "agg-order-market-summary flex items-center gap-3", children: [
|
|
7307
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
7160
7308
|
RemoteImage,
|
|
7161
7309
|
{
|
|
7162
7310
|
src: headerImage,
|
|
@@ -7164,19 +7312,19 @@ var renderCardHeader = ({
|
|
|
7164
7312
|
className: "agg-order-market-image h-12 w-12 shrink-0 overflow-hidden rounded-agg-lg object-cover"
|
|
7165
7313
|
}
|
|
7166
7314
|
),
|
|
7167
|
-
/* @__PURE__ */ (0,
|
|
7168
|
-
onClose ? /* @__PURE__ */ (0,
|
|
7315
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)("p", { className: "agg-order-market-title min-w-0 flex-1 text-agg-base font-agg-bold leading-agg-6 text-agg-foreground line-clamp-2", children: headerTitle }),
|
|
7316
|
+
onClose ? /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
7169
7317
|
"button",
|
|
7170
7318
|
{
|
|
7171
7319
|
type: "button",
|
|
7172
7320
|
className: "agg-order-close -mr-1 -mt-1 hidden shrink-0 cursor-pointer items-center justify-center p-1 text-agg-muted-foreground hover:text-agg-foreground sm:flex",
|
|
7173
7321
|
"aria-label": "Close",
|
|
7174
7322
|
onClick: onClose,
|
|
7175
|
-
children: /* @__PURE__ */ (0,
|
|
7323
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(CloseIcon, { className: "h-5 w-5" })
|
|
7176
7324
|
}
|
|
7177
7325
|
) : null
|
|
7178
7326
|
] }),
|
|
7179
|
-
headerSubtitle ? /* @__PURE__ */ (0,
|
|
7327
|
+
headerSubtitle ? /* @__PURE__ */ (0, import_jsx_runtime113.jsx)("p", { className: "agg-order-market-subtitle text-agg-base leading-agg-6 text-agg-foreground", children: headerSubtitle }) : null
|
|
7180
7328
|
] });
|
|
7181
7329
|
};
|
|
7182
7330
|
var PlaceOrderResolvedView = ({
|
|
@@ -7186,7 +7334,7 @@ var PlaceOrderResolvedView = ({
|
|
|
7186
7334
|
className
|
|
7187
7335
|
}) => {
|
|
7188
7336
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
7189
|
-
const labels = (0,
|
|
7337
|
+
const labels = (0, import_hooks29.useLabels)();
|
|
7190
7338
|
const tradingLabels = labels.trading;
|
|
7191
7339
|
const extendedTradingLabels = tradingLabels;
|
|
7192
7340
|
const winningOutcomeLabel = (_c = (_b = (_a = tradingState.winningOutcome) == null ? void 0 : _a.label) == null ? void 0 : _b.trim().toLowerCase()) != null ? _c : "";
|
|
@@ -7196,7 +7344,7 @@ var PlaceOrderResolvedView = ({
|
|
|
7196
7344
|
const resolvedIconName = isPositiveWinningOutcome ? "success-check" : "close";
|
|
7197
7345
|
const resolvedIconToneClassName = isPositiveWinningOutcome ? "text-agg-success" : "text-agg-error";
|
|
7198
7346
|
const resolvedIconContainerClassName = isPositiveWinningOutcome ? "bg-agg-success/15" : "bg-agg-error/15";
|
|
7199
|
-
return /* @__PURE__ */ (0,
|
|
7347
|
+
return /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
7200
7348
|
Card,
|
|
7201
7349
|
{
|
|
7202
7350
|
className: cn(
|
|
@@ -7205,7 +7353,7 @@ var PlaceOrderResolvedView = ({
|
|
|
7205
7353
|
classNames == null ? void 0 : classNames.root,
|
|
7206
7354
|
className
|
|
7207
7355
|
),
|
|
7208
|
-
children: /* @__PURE__ */ (0,
|
|
7356
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(
|
|
7209
7357
|
"div",
|
|
7210
7358
|
{
|
|
7211
7359
|
className: cn(
|
|
@@ -7213,17 +7361,17 @@ var PlaceOrderResolvedView = ({
|
|
|
7213
7361
|
classNames == null ? void 0 : classNames.body
|
|
7214
7362
|
),
|
|
7215
7363
|
children: [
|
|
7216
|
-
/* @__PURE__ */ (0,
|
|
7364
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
7217
7365
|
"div",
|
|
7218
7366
|
{
|
|
7219
7367
|
className: cn(
|
|
7220
7368
|
"flex h-15 w-15 items-center justify-center rounded-full",
|
|
7221
7369
|
resolvedIconContainerClassName
|
|
7222
7370
|
),
|
|
7223
|
-
children: /* @__PURE__ */ (0,
|
|
7371
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(Icon, { name: resolvedIconName, className: cn("h-6 w-6", resolvedIconToneClassName) })
|
|
7224
7372
|
}
|
|
7225
7373
|
),
|
|
7226
|
-
/* @__PURE__ */ (0,
|
|
7374
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(
|
|
7227
7375
|
"div",
|
|
7228
7376
|
{
|
|
7229
7377
|
className: cn(
|
|
@@ -7231,30 +7379,30 @@ var PlaceOrderResolvedView = ({
|
|
|
7231
7379
|
classNames == null ? void 0 : classNames.content
|
|
7232
7380
|
),
|
|
7233
7381
|
children: [
|
|
7234
|
-
tradingState.market ? /* @__PURE__ */ (0,
|
|
7235
|
-
tradingState.winningOutcome ? /* @__PURE__ */ (0,
|
|
7382
|
+
tradingState.market ? /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(Typography, { variant: "body", children: tradingState.market.question }) : null,
|
|
7383
|
+
tradingState.winningOutcome ? /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(Typography, { variant: "body-large-strong", children: tradingLabels.outcome(tradingState.winningOutcome.label) }) : null
|
|
7236
7384
|
]
|
|
7237
7385
|
}
|
|
7238
7386
|
),
|
|
7239
|
-
resolvedClaim ? /* @__PURE__ */ (0,
|
|
7240
|
-
/* @__PURE__ */ (0,
|
|
7241
|
-
/* @__PURE__ */ (0,
|
|
7242
|
-
/* @__PURE__ */ (0,
|
|
7243
|
-
/* @__PURE__ */ (0,
|
|
7244
|
-
/* @__PURE__ */ (0,
|
|
7245
|
-
/* @__PURE__ */ (0,
|
|
7246
|
-
/* @__PURE__ */ (0,
|
|
7387
|
+
resolvedClaim ? /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(import_jsx_runtime113.Fragment, { children: [
|
|
7388
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)("div", { className: "h-px w-full bg-agg-separator" }),
|
|
7389
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsxs)("div", { className: "flex flex-col gap-5 p-6", children: [
|
|
7390
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(Typography, { variant: "body-strong", children: (_d = extendedTradingLabels.resolvedEarningsTitle) != null ? _d : "Your Earnings" }),
|
|
7391
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsxs)("div", { className: "flex flex-col gap-3 text-agg-sm leading-agg-5 text-agg-foreground", children: [
|
|
7392
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsxs)("div", { className: "flex items-center justify-between gap-4", children: [
|
|
7393
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)("span", { children: (_e = extendedTradingLabels.resolvedResolutionDateLabel) != null ? _e : "Resolution date" }),
|
|
7394
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)("span", { className: "font-agg-bold", children: resolvedClaim.resolutionDateLabel })
|
|
7247
7395
|
] }),
|
|
7248
|
-
/* @__PURE__ */ (0,
|
|
7249
|
-
/* @__PURE__ */ (0,
|
|
7250
|
-
/* @__PURE__ */ (0,
|
|
7396
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsxs)("div", { className: "flex items-center justify-between gap-4", children: [
|
|
7397
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)("span", { children: (_f = extendedTradingLabels.resolvedSharesLabel) != null ? _f : "Shares" }),
|
|
7398
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)("span", { className: "font-agg-bold", children: resolvedClaim.sharesLabel })
|
|
7251
7399
|
] }),
|
|
7252
|
-
/* @__PURE__ */ (0,
|
|
7253
|
-
/* @__PURE__ */ (0,
|
|
7254
|
-
/* @__PURE__ */ (0,
|
|
7400
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsxs)("div", { className: "flex items-center justify-between gap-4", children: [
|
|
7401
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)("span", { children: (_g = extendedTradingLabels.resolvedTotalPayoutLabel) != null ? _g : "Total payout" }),
|
|
7402
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)("span", { className: "font-agg-bold", children: resolvedClaim.totalPayoutLabel })
|
|
7255
7403
|
] })
|
|
7256
7404
|
] }),
|
|
7257
|
-
resolvedClaim.onClaim ? /* @__PURE__ */ (0,
|
|
7405
|
+
resolvedClaim.onClaim ? /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
7258
7406
|
Button,
|
|
7259
7407
|
{
|
|
7260
7408
|
size: "large",
|
|
@@ -7276,18 +7424,18 @@ var renderRouteBreakdownRow = (row) => {
|
|
|
7276
7424
|
var _a, _b;
|
|
7277
7425
|
const venueLabel = getTradingVenueLabel(row.venue);
|
|
7278
7426
|
const rowKey = `${row.venue}-${row.label}-${row.priceLabel}-${(_a = row.resultLabel) != null ? _a : ""}`;
|
|
7279
|
-
return /* @__PURE__ */ (0,
|
|
7427
|
+
return /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(
|
|
7280
7428
|
"div",
|
|
7281
7429
|
{
|
|
7282
7430
|
className: "agg-route-breakdown-row flex items-center justify-between gap-4 text-left",
|
|
7283
7431
|
children: [
|
|
7284
|
-
/* @__PURE__ */ (0,
|
|
7285
|
-
/* @__PURE__ */ (0,
|
|
7286
|
-
/* @__PURE__ */ (0,
|
|
7432
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsxs)("div", { className: "agg-route-breakdown-market flex min-w-0 items-center gap-2", children: [
|
|
7433
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(VenueLogo, { venue: row.venue, className: "!size-3", ariaLabel: venueLabel }),
|
|
7434
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)("p", { className: "agg-route-breakdown-label truncate text-agg-sm leading-agg-5 text-agg-foreground", children: row.label })
|
|
7287
7435
|
] }),
|
|
7288
|
-
/* @__PURE__ */ (0,
|
|
7289
|
-
/* @__PURE__ */ (0,
|
|
7290
|
-
/* @__PURE__ */ (0,
|
|
7436
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsxs)("div", { className: "agg-route-breakdown-value flex shrink-0 items-center gap-2 text-agg-sm leading-agg-5", children: [
|
|
7437
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)("p", { className: "text-agg-muted-foreground", children: row.priceLabel }),
|
|
7438
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)("p", { className: "text-agg-foreground", children: (_b = row.resultLabel) != null ? _b : "" })
|
|
7291
7439
|
] })
|
|
7292
7440
|
]
|
|
7293
7441
|
},
|
|
@@ -7305,7 +7453,7 @@ var renderRouteCard = ({
|
|
|
7305
7453
|
var _a, _b;
|
|
7306
7454
|
const showSplitDetails = isSelected && isExpanded && card.kind === "split" && !!((_a = card.rows) == null ? void 0 : _a.length);
|
|
7307
7455
|
const ariaLabel = [card.label, card.hint, card.value].filter(Boolean).join(" ");
|
|
7308
|
-
return /* @__PURE__ */ (0,
|
|
7456
|
+
return /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(
|
|
7309
7457
|
"button",
|
|
7310
7458
|
{
|
|
7311
7459
|
type: "button",
|
|
@@ -7325,11 +7473,11 @@ var renderRouteCard = ({
|
|
|
7325
7473
|
),
|
|
7326
7474
|
onClick: () => onSelect(card.id),
|
|
7327
7475
|
children: [
|
|
7328
|
-
isSelected && !card.isUnavailable ? /* @__PURE__ */ (0,
|
|
7329
|
-
/* @__PURE__ */ (0,
|
|
7330
|
-
/* @__PURE__ */ (0,
|
|
7331
|
-
/* @__PURE__ */ (0,
|
|
7332
|
-
card.kind === "split" ? /* @__PURE__ */ (0,
|
|
7476
|
+
isSelected && !card.isUnavailable ? /* @__PURE__ */ (0, import_jsx_runtime113.jsx)("div", { className: "agg-route-card-glow pointer-events-none absolute -inset-x-px -bottom-px h-11 bg-linear-to-b from-transparent to-agg-trade-highlight-glow" }) : null,
|
|
7477
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsxs)("div", { className: "agg-route-card-content relative z-10 flex flex-col gap-3", children: [
|
|
7478
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsxs)("div", { className: "agg-route-card-header flex items-center justify-between gap-4", children: [
|
|
7479
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsxs)("div", { className: "agg-route-card-meta flex min-w-0 gap-3 items-center", children: [
|
|
7480
|
+
card.kind === "split" ? /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
7333
7481
|
Icon,
|
|
7334
7482
|
{
|
|
7335
7483
|
name: "sparkles-filled",
|
|
@@ -7340,7 +7488,7 @@ var renderRouteCard = ({
|
|
|
7340
7488
|
),
|
|
7341
7489
|
"aria-hidden": "true"
|
|
7342
7490
|
}
|
|
7343
|
-
) : card.venue ? /* @__PURE__ */ (0,
|
|
7491
|
+
) : card.venue ? /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
7344
7492
|
VenueLogo,
|
|
7345
7493
|
{
|
|
7346
7494
|
venue: card.venue,
|
|
@@ -7348,10 +7496,10 @@ var renderRouteCard = ({
|
|
|
7348
7496
|
ariaLabel: getTradingVenueLabel(card.venue)
|
|
7349
7497
|
}
|
|
7350
7498
|
) : null,
|
|
7351
|
-
/* @__PURE__ */ (0,
|
|
7352
|
-
/* @__PURE__ */ (0,
|
|
7353
|
-
/* @__PURE__ */ (0,
|
|
7354
|
-
card.isUnavailable ? /* @__PURE__ */ (0,
|
|
7499
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsxs)("div", { className: "flex flex-col gap-1 min-w-0", children: [
|
|
7500
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsxs)("div", { className: "flex items-center gap-1.5", children: [
|
|
7501
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)("p", { className: "agg-route-card-title truncate text-agg-sm leading-agg-5 text-agg-foreground", children: card.label }),
|
|
7502
|
+
card.isUnavailable ? /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
7355
7503
|
Icon,
|
|
7356
7504
|
{
|
|
7357
7505
|
name: "lock",
|
|
@@ -7359,7 +7507,7 @@ var renderRouteCard = ({
|
|
|
7359
7507
|
className: "shrink-0 text-agg-muted-foreground",
|
|
7360
7508
|
"aria-hidden": "true"
|
|
7361
7509
|
}
|
|
7362
|
-
) : card.kind === "split" && isSelected ? /* @__PURE__ */ (0,
|
|
7510
|
+
) : card.kind === "split" && isSelected ? /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
7363
7511
|
Icon,
|
|
7364
7512
|
{
|
|
7365
7513
|
name: showSplitDetails ? "chevron-up" : "chevron-down",
|
|
@@ -7369,10 +7517,10 @@ var renderRouteCard = ({
|
|
|
7369
7517
|
}
|
|
7370
7518
|
) : null
|
|
7371
7519
|
] }),
|
|
7372
|
-
card.hint ? /* @__PURE__ */ (0,
|
|
7520
|
+
card.hint ? /* @__PURE__ */ (0, import_jsx_runtime113.jsx)("p", { className: "agg-route-card-hint text-agg-xs leading-agg-4 text-agg-muted-foreground", children: card.hint }) : null
|
|
7373
7521
|
] })
|
|
7374
7522
|
] }),
|
|
7375
|
-
/* @__PURE__ */ (0,
|
|
7523
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
7376
7524
|
"p",
|
|
7377
7525
|
{
|
|
7378
7526
|
className: cn(
|
|
@@ -7384,9 +7532,9 @@ var renderRouteCard = ({
|
|
|
7384
7532
|
}
|
|
7385
7533
|
)
|
|
7386
7534
|
] }),
|
|
7387
|
-
showSplitDetails ? /* @__PURE__ */ (0,
|
|
7388
|
-
/* @__PURE__ */ (0,
|
|
7389
|
-
/* @__PURE__ */ (0,
|
|
7535
|
+
showSplitDetails ? /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(import_jsx_runtime113.Fragment, { children: [
|
|
7536
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)("p", { className: "agg-route-card-description text-agg-xs leading-agg-4 text-agg-foreground", children: tradingLabels.splitOrderDescription }),
|
|
7537
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)("div", { className: "agg-route-breakdown flex flex-col gap-3", children: (_b = card.rows) == null ? void 0 : _b.map((row) => renderRouteBreakdownRow(row)) })
|
|
7390
7538
|
] }) : null
|
|
7391
7539
|
] })
|
|
7392
7540
|
]
|
|
@@ -7480,7 +7628,7 @@ var renderSubmissionSurface = ({
|
|
|
7480
7628
|
];
|
|
7481
7629
|
};
|
|
7482
7630
|
const stepGroups = resolveStepGroups();
|
|
7483
|
-
return /* @__PURE__ */ (0,
|
|
7631
|
+
return /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
7484
7632
|
Card,
|
|
7485
7633
|
{
|
|
7486
7634
|
className: cn(
|
|
@@ -7489,30 +7637,30 @@ var renderSubmissionSurface = ({
|
|
|
7489
7637
|
classNames == null ? void 0 : classNames.root,
|
|
7490
7638
|
className
|
|
7491
7639
|
),
|
|
7492
|
-
children: /* @__PURE__ */ (0,
|
|
7640
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)("div", { className: cn("agg-order-submission-body flex flex-col gap-6 p-5", classNames == null ? void 0 : classNames.body), children: [
|
|
7493
7641
|
renderCardHeader({
|
|
7494
7642
|
className: classNames == null ? void 0 : classNames.header,
|
|
7495
7643
|
headerSubtitle,
|
|
7496
7644
|
headerImage,
|
|
7497
7645
|
headerTitle
|
|
7498
7646
|
}),
|
|
7499
|
-
/* @__PURE__ */ (0,
|
|
7500
|
-
/* @__PURE__ */ (0,
|
|
7501
|
-
/* @__PURE__ */ (0,
|
|
7502
|
-
/* @__PURE__ */ (0,
|
|
7647
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsxs)("div", { className: cn("agg-order-panel-content flex flex-col gap-6", classNames == null ? void 0 : classNames.content), children: [
|
|
7648
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsxs)("div", { className: "agg-order-submission-status flex h-12 w-full items-center justify-center gap-3 rounded-agg-full bg-agg-primary-hover px-8 text-agg-base font-agg-bold leading-agg-6 text-agg-on-primary", children: [
|
|
7649
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(LoadingGlyph, { enableAnimations, className: "h-4 w-4 text-current" }),
|
|
7650
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)("span", { children: actionLabel })
|
|
7503
7651
|
] }),
|
|
7504
|
-
/* @__PURE__ */ (0,
|
|
7505
|
-
return /* @__PURE__ */ (0,
|
|
7652
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)("div", { className: "agg-order-submission-steps flex flex-col gap-4", children: stepGroups.map((steps, groupIndex) => {
|
|
7653
|
+
return /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
7506
7654
|
"div",
|
|
7507
7655
|
{
|
|
7508
7656
|
className: "agg-order-submission-group flex flex-col gap-2",
|
|
7509
7657
|
children: steps.map((step) => {
|
|
7510
|
-
return /* @__PURE__ */ (0,
|
|
7658
|
+
return /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(
|
|
7511
7659
|
"div",
|
|
7512
7660
|
{
|
|
7513
7661
|
className: "agg-order-submission-step flex items-center gap-2 text-agg-sm leading-agg-5 text-agg-foreground",
|
|
7514
7662
|
children: [
|
|
7515
|
-
step.status === "complete" ? /* @__PURE__ */ (0,
|
|
7663
|
+
step.status === "complete" ? /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
7516
7664
|
Icon,
|
|
7517
7665
|
{
|
|
7518
7666
|
name: "check-circle",
|
|
@@ -7520,15 +7668,15 @@ var renderSubmissionSurface = ({
|
|
|
7520
7668
|
className: "h-3 w-3 shrink-0 text-agg-primary",
|
|
7521
7669
|
"aria-hidden": "true"
|
|
7522
7670
|
}
|
|
7523
|
-
) : /* @__PURE__ */ (0,
|
|
7671
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
7524
7672
|
LoadingGlyph,
|
|
7525
7673
|
{
|
|
7526
7674
|
enableAnimations,
|
|
7527
7675
|
className: "h-3 w-3 shrink-0 text-agg-primary"
|
|
7528
7676
|
}
|
|
7529
7677
|
),
|
|
7530
|
-
/* @__PURE__ */ (0,
|
|
7531
|
-
step.venue ? /* @__PURE__ */ (0,
|
|
7678
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)("p", { className: "min-w-0 flex-1", children: step.label }),
|
|
7679
|
+
step.venue ? /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
7532
7680
|
VenueLogo,
|
|
7533
7681
|
{
|
|
7534
7682
|
venue: step.venue,
|
|
@@ -7551,7 +7699,7 @@ var renderSubmissionSurface = ({
|
|
|
7551
7699
|
}
|
|
7552
7700
|
);
|
|
7553
7701
|
};
|
|
7554
|
-
var InitiateKycButton = ({ label: label2, onOpen }) => /* @__PURE__ */ (0,
|
|
7702
|
+
var InitiateKycButton = ({ label: label2, onOpen }) => /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
7555
7703
|
Button,
|
|
7556
7704
|
{
|
|
7557
7705
|
size: "large",
|
|
@@ -7568,35 +7716,35 @@ var KycVerifyModal = ({
|
|
|
7568
7716
|
isInitiating,
|
|
7569
7717
|
labels
|
|
7570
7718
|
}) => {
|
|
7571
|
-
return /* @__PURE__ */ (0,
|
|
7719
|
+
return /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
7572
7720
|
Modal,
|
|
7573
7721
|
{
|
|
7574
7722
|
open,
|
|
7575
7723
|
onOpenChange: (next) => {
|
|
7576
7724
|
onOpenChange(next);
|
|
7577
7725
|
},
|
|
7578
|
-
children: /* @__PURE__ */ (0,
|
|
7579
|
-
/* @__PURE__ */ (0,
|
|
7580
|
-
/* @__PURE__ */ (0,
|
|
7581
|
-
/* @__PURE__ */ (0,
|
|
7582
|
-
/* @__PURE__ */ (0,
|
|
7726
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(Modal.Container, { maxWidth: "480px", "aria-label": labels.title, children: [
|
|
7727
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(Dialog2.Title, { className: "sr-only", children: labels.title }),
|
|
7728
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(Dialog2.Description, { className: "sr-only", children: labels.description }),
|
|
7729
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(Modal.Body, { classNames: { root: "sm:px-10 sm:py-12" }, children: [
|
|
7730
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
7583
7731
|
"button",
|
|
7584
7732
|
{
|
|
7585
7733
|
type: "button",
|
|
7586
7734
|
className: "absolute right-8 top-7 flex items-center justify-center text-agg-foreground transition-colors hover:text-agg-foreground/80",
|
|
7587
7735
|
onClick: () => onOpenChange(false),
|
|
7588
7736
|
"aria-label": "Close",
|
|
7589
|
-
children: /* @__PURE__ */ (0,
|
|
7737
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(CloseIcon, { className: "h-6 w-6" })
|
|
7590
7738
|
}
|
|
7591
7739
|
),
|
|
7592
|
-
/* @__PURE__ */ (0,
|
|
7593
|
-
/* @__PURE__ */ (0,
|
|
7594
|
-
/* @__PURE__ */ (0,
|
|
7595
|
-
/* @__PURE__ */ (0,
|
|
7596
|
-
/* @__PURE__ */ (0,
|
|
7740
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsxs)("div", { className: "flex flex-col items-center gap-8 text-center", children: [
|
|
7741
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)("div", { className: "flex h-[60px] w-[60px] items-center justify-center text-agg-muted-foreground", children: /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(UserTrustIcon, { className: "h-[60px] w-[60px]" }) }),
|
|
7742
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsxs)("div", { className: "flex flex-col items-center gap-3", children: [
|
|
7743
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)("h3", { className: "text-agg-2xl leading-agg-8 font-agg-bold text-agg-foreground", children: labels.title }),
|
|
7744
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)("p", { className: "agg-type-body text-agg-foreground", children: labels.description })
|
|
7597
7745
|
] }),
|
|
7598
|
-
/* @__PURE__ */ (0,
|
|
7599
|
-
/* @__PURE__ */ (0,
|
|
7746
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsxs)("div", { className: "flex w-full flex-col items-center gap-5", children: [
|
|
7747
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
7600
7748
|
Button,
|
|
7601
7749
|
{
|
|
7602
7750
|
size: "large",
|
|
@@ -7607,7 +7755,7 @@ var KycVerifyModal = ({
|
|
|
7607
7755
|
children: labels.startVerification
|
|
7608
7756
|
}
|
|
7609
7757
|
),
|
|
7610
|
-
/* @__PURE__ */ (0,
|
|
7758
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
7611
7759
|
"button",
|
|
7612
7760
|
{
|
|
7613
7761
|
type: "button",
|
|
@@ -7627,27 +7775,27 @@ var KycSuccessModal = ({
|
|
|
7627
7775
|
open,
|
|
7628
7776
|
onOpenChange,
|
|
7629
7777
|
labels
|
|
7630
|
-
}) => /* @__PURE__ */ (0,
|
|
7631
|
-
/* @__PURE__ */ (0,
|
|
7632
|
-
/* @__PURE__ */ (0,
|
|
7633
|
-
/* @__PURE__ */ (0,
|
|
7634
|
-
/* @__PURE__ */ (0,
|
|
7778
|
+
}) => /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(Modal, { open, onOpenChange, children: /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(Modal.Container, { maxWidth: "480px", "aria-label": labels.title, children: [
|
|
7779
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(Dialog2.Title, { className: "sr-only", children: labels.title }),
|
|
7780
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(Dialog2.Description, { className: "sr-only", children: labels.description }),
|
|
7781
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(Modal.Body, { classNames: { root: "px-10 py-12" }, children: [
|
|
7782
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
7635
7783
|
"button",
|
|
7636
7784
|
{
|
|
7637
7785
|
type: "button",
|
|
7638
7786
|
className: "absolute right-8 top-7 flex items-center justify-center text-agg-foreground transition-colors hover:text-agg-foreground/80",
|
|
7639
7787
|
onClick: () => onOpenChange(false),
|
|
7640
7788
|
"aria-label": "Close",
|
|
7641
|
-
children: /* @__PURE__ */ (0,
|
|
7789
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(CloseIcon, { className: "h-6 w-6" })
|
|
7642
7790
|
}
|
|
7643
7791
|
),
|
|
7644
|
-
/* @__PURE__ */ (0,
|
|
7645
|
-
/* @__PURE__ */ (0,
|
|
7646
|
-
/* @__PURE__ */ (0,
|
|
7647
|
-
/* @__PURE__ */ (0,
|
|
7648
|
-
/* @__PURE__ */ (0,
|
|
7792
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsxs)("div", { className: "flex flex-col items-center gap-8 text-center", children: [
|
|
7793
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)("div", { className: "flex h-[60px] w-[60px] items-center justify-center rounded-full bg-agg-success/15", children: /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(SuccessCheckIcon, { className: "h-6 w-6 text-agg-success" }) }),
|
|
7794
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsxs)("div", { className: "flex flex-col items-center gap-3", children: [
|
|
7795
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)("h3", { className: "text-agg-2xl leading-agg-8 font-agg-bold text-agg-foreground", children: labels.title }),
|
|
7796
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)("p", { className: "agg-type-body text-agg-foreground", children: labels.description })
|
|
7649
7797
|
] }),
|
|
7650
|
-
/* @__PURE__ */ (0,
|
|
7798
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
7651
7799
|
Button,
|
|
7652
7800
|
{
|
|
7653
7801
|
variant: "secondary",
|
|
@@ -7681,20 +7829,20 @@ var PlaceOrder = ({
|
|
|
7681
7829
|
}) => {
|
|
7682
7830
|
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D;
|
|
7683
7831
|
const {
|
|
7684
|
-
features: { enableAnimations },
|
|
7832
|
+
features: { enableAnimations, showFeesBreakdown },
|
|
7685
7833
|
general: { locale }
|
|
7686
|
-
} = (0,
|
|
7687
|
-
const labels = (0,
|
|
7834
|
+
} = (0, import_hooks29.useSdkUiConfig)();
|
|
7835
|
+
const labels = (0, import_hooks29.useLabels)();
|
|
7688
7836
|
const tradingLabels = labels.trading;
|
|
7689
|
-
const { isTradingBlocked } = (0,
|
|
7690
|
-
const tradingContext = (0,
|
|
7837
|
+
const { isTradingBlocked } = (0, import_hooks29.useGeoBlock)();
|
|
7838
|
+
const tradingContext = (0, import_hooks29.useEventTradingContext)();
|
|
7691
7839
|
const selectedEvent = (_a = tradingContext == null ? void 0 : tradingContext.selectedEvent) != null ? _a : null;
|
|
7692
7840
|
const selectedMarket = (_b = tradingContext == null ? void 0 : tradingContext.selectedMarket) != null ? _b : null;
|
|
7693
7841
|
const selectedOutcomeId = (_c = tradingContext == null ? void 0 : tradingContext.selectedOutcomeId) != null ? _c : null;
|
|
7694
|
-
const resolvedEventTradingState = (0,
|
|
7695
|
-
return eventTradingState != null ? eventTradingState : (0,
|
|
7842
|
+
const resolvedEventTradingState = (0, import_react9.useMemo)(() => {
|
|
7843
|
+
return eventTradingState != null ? eventTradingState : (0, import_hooks29.resolveEventTradingState)(selectedEvent);
|
|
7696
7844
|
}, [eventTradingState, selectedEvent]);
|
|
7697
|
-
const scopedSelectedEvent = (0,
|
|
7845
|
+
const scopedSelectedEvent = (0, import_react9.useMemo)(() => {
|
|
7698
7846
|
var _a2;
|
|
7699
7847
|
if (!selectedEvent) return null;
|
|
7700
7848
|
const primaryMarketId = (_a2 = resolvedEventTradingState.primaryMarket) == null ? void 0 : _a2.id;
|
|
@@ -7704,7 +7852,7 @@ var PlaceOrder = ({
|
|
|
7704
7852
|
);
|
|
7705
7853
|
return isSelectedEventInScope ? selectedEvent : null;
|
|
7706
7854
|
}, [(_d = resolvedEventTradingState.primaryMarket) == null ? void 0 : _d.id, selectedEvent]);
|
|
7707
|
-
const scopedSelectedMarket = (0,
|
|
7855
|
+
const scopedSelectedMarket = (0, import_react9.useMemo)(() => {
|
|
7708
7856
|
if (!selectedMarket) return resolvedEventTradingState.primaryMarket;
|
|
7709
7857
|
const isSelectedMarketInScope = resolvedEventTradingState.marketStates.some(
|
|
7710
7858
|
(item) => item.market.id === selectedMarket.id
|
|
@@ -7719,10 +7867,10 @@ var PlaceOrder = ({
|
|
|
7719
7867
|
(outcome) => outcome.label.trim().toLowerCase() === "yes"
|
|
7720
7868
|
)) != null ? _f : scopedSelectedMarket == null ? void 0 : scopedSelectedMarket.venueMarketOutcomes[0]) != null ? _g : null;
|
|
7721
7869
|
const scopedSelectedOutcomeId = (_h = scopedSelectedOutcome == null ? void 0 : scopedSelectedOutcome.id) != null ? _h : null;
|
|
7722
|
-
const resolvedTradingState = (0,
|
|
7723
|
-
return (0,
|
|
7870
|
+
const resolvedTradingState = (0, import_react9.useMemo)(() => {
|
|
7871
|
+
return (0, import_hooks29.resolveMarketTradingState)(scopedSelectedMarket);
|
|
7724
7872
|
}, [scopedSelectedMarket]);
|
|
7725
|
-
const resolvedReadOnlyMarket = (0,
|
|
7873
|
+
const resolvedReadOnlyMarket = (0, import_react9.useMemo)(() => {
|
|
7726
7874
|
var _a2;
|
|
7727
7875
|
if (resolvedEventTradingState.kind !== "resolved") {
|
|
7728
7876
|
return scopedSelectedMarket;
|
|
@@ -7733,11 +7881,11 @@ var PlaceOrder = ({
|
|
|
7733
7881
|
resolvedEventTradingState.primaryMarket,
|
|
7734
7882
|
scopedSelectedMarket
|
|
7735
7883
|
]);
|
|
7736
|
-
const resolvedReadOnlyTradingState = (0,
|
|
7737
|
-
return (0,
|
|
7884
|
+
const resolvedReadOnlyTradingState = (0, import_react9.useMemo)(() => {
|
|
7885
|
+
return (0, import_hooks29.resolveMarketTradingState)(resolvedReadOnlyMarket);
|
|
7738
7886
|
}, [resolvedReadOnlyMarket]);
|
|
7739
|
-
const orderEligibility = (0,
|
|
7740
|
-
() => (0,
|
|
7887
|
+
const orderEligibility = (0, import_react9.useMemo)(
|
|
7888
|
+
() => (0, import_hooks29.resolveOrderEligibility)({
|
|
7741
7889
|
event: scopedSelectedEvent,
|
|
7742
7890
|
market: scopedSelectedMarket,
|
|
7743
7891
|
outcome: scopedSelectedOutcome,
|
|
@@ -7746,47 +7894,47 @@ var PlaceOrder = ({
|
|
|
7746
7894
|
[scopedSelectedEvent, scopedSelectedMarket, scopedSelectedOutcome, resolvedEventTradingState]
|
|
7747
7895
|
);
|
|
7748
7896
|
const isResolvedOutcomeCtaLocked = resolvedEventTradingState.kind === "resolved" || resolvedTradingState.kind === "resolved";
|
|
7749
|
-
const { isAuthenticated, user } = (0,
|
|
7750
|
-
const { totalBalance, isLoading: isBalanceLoading } = (0,
|
|
7751
|
-
const executeManaged = (0,
|
|
7752
|
-
const aggClient = (0,
|
|
7753
|
-
const queryClient = (0,
|
|
7754
|
-
const livePrices = (0,
|
|
7897
|
+
const { isAuthenticated, user } = (0, import_hooks29.useAggAuthContext)();
|
|
7898
|
+
const { totalBalance, isLoading: isBalanceLoading } = (0, import_hooks29.useAggBalanceState)();
|
|
7899
|
+
const executeManaged = (0, import_hooks29.useExecuteManaged)();
|
|
7900
|
+
const aggClient = (0, import_hooks29.useAggClient)();
|
|
7901
|
+
const queryClient = (0, import_hooks29.useQueryClient)();
|
|
7902
|
+
const livePrices = (0, import_hooks29.useLiveOutcomePrices)(
|
|
7755
7903
|
scopedSelectedMarket ? [scopedSelectedMarket] : void 0
|
|
7756
7904
|
);
|
|
7757
|
-
const midpointsClusterMarkets = (0,
|
|
7905
|
+
const midpointsClusterMarkets = (0, import_react9.useMemo)(() => {
|
|
7758
7906
|
if (!scopedSelectedMarket) return [];
|
|
7759
7907
|
return normalizeVenueMarketCluster(
|
|
7760
7908
|
resolvedEventTradingState.displayMarkets,
|
|
7761
7909
|
scopedSelectedMarket.id
|
|
7762
7910
|
);
|
|
7763
7911
|
}, [resolvedEventTradingState.displayMarkets, scopedSelectedMarket]);
|
|
7764
|
-
const { prices: clusterMidpoints } = (0,
|
|
7765
|
-
const outcomes = (0,
|
|
7912
|
+
const { prices: clusterMidpoints } = (0, import_hooks29.useMidpoints)(midpointsClusterMarkets);
|
|
7913
|
+
const outcomes = (0, import_react9.useMemo)(
|
|
7766
7914
|
() => mapVenueMarketOutcomesToPlaceOrderOutcomes(scopedSelectedMarket == null ? void 0 : scopedSelectedMarket.venueMarketOutcomes),
|
|
7767
7915
|
[scopedSelectedMarket == null ? void 0 : scopedSelectedMarket.venueMarketOutcomes]
|
|
7768
7916
|
);
|
|
7769
|
-
const buyTabRef = (0,
|
|
7770
|
-
const sellTabRef = (0,
|
|
7771
|
-
const [internalTab, setInternalTab] = (0,
|
|
7772
|
-
const [internalAmount, setInternalAmount] = (0,
|
|
7773
|
-
const [sellFilledForOutcomeId, setSellFilledForOutcomeId] = (0,
|
|
7774
|
-
const [internalSlippage, setInternalSlippage] = (0,
|
|
7775
|
-
const [isRoutesExpanded, setIsRoutesExpanded] = (0,
|
|
7776
|
-
const [selectedRouteCardId, setSelectedRouteCardId] = (0,
|
|
7777
|
-
const [isSplitDetailOpen, setIsSplitDetailOpen] = (0,
|
|
7778
|
-
const [submissionFeedback, setSubmissionFeedback] = (0,
|
|
7779
|
-
const [submissionProgressState, setSubmissionProgressState] = (0,
|
|
7780
|
-
const debouncedAmount = (0,
|
|
7781
|
-
const isSell = (0,
|
|
7917
|
+
const buyTabRef = (0, import_react9.useRef)(null);
|
|
7918
|
+
const sellTabRef = (0, import_react9.useRef)(null);
|
|
7919
|
+
const [internalTab, setInternalTab] = (0, import_react9.useState)("buy");
|
|
7920
|
+
const [internalAmount, setInternalAmount] = (0, import_react9.useState)(PLACE_ORDER_DEFAULT_AMOUNT);
|
|
7921
|
+
const [sellFilledForOutcomeId, setSellFilledForOutcomeId] = (0, import_react9.useState)(null);
|
|
7922
|
+
const [internalSlippage, setInternalSlippage] = (0, import_react9.useState)(DEFAULT_SLIPPAGE_VALUE);
|
|
7923
|
+
const [isRoutesExpanded, setIsRoutesExpanded] = (0, import_react9.useState)(false);
|
|
7924
|
+
const [selectedRouteCardId, setSelectedRouteCardId] = (0, import_react9.useState)(null);
|
|
7925
|
+
const [isSplitDetailOpen, setIsSplitDetailOpen] = (0, import_react9.useState)(false);
|
|
7926
|
+
const [submissionFeedback, setSubmissionFeedback] = (0, import_react9.useState)(null);
|
|
7927
|
+
const [submissionProgressState, setSubmissionProgressState] = (0, import_react9.useState)(null);
|
|
7928
|
+
const debouncedAmount = (0, import_hooks29.useDebouncedValue)(internalAmount, 300);
|
|
7929
|
+
const isSell = (0, import_react9.useMemo)(() => internalTab === "sell", [internalTab]);
|
|
7782
7930
|
const {
|
|
7783
7931
|
positions: executionPositions,
|
|
7784
7932
|
isLoading: isExecutionPositionsLoading,
|
|
7785
7933
|
isFetching: isExecutionPositionsFetching
|
|
7786
|
-
} = (0,
|
|
7934
|
+
} = (0, import_hooks29.useExecutionPositions)({
|
|
7787
7935
|
enabled: Boolean(isAuthenticated && isSell)
|
|
7788
7936
|
});
|
|
7789
|
-
const smartRoute = (0,
|
|
7937
|
+
const smartRoute = (0, import_hooks29.useSmartRoute)({
|
|
7790
7938
|
venueMarketOutcomeId: scopedSelectedOutcomeId,
|
|
7791
7939
|
maxSpend: isSell ? void 0 : debouncedAmount,
|
|
7792
7940
|
sellShares: isSell ? debouncedAmount : void 0,
|
|
@@ -7799,7 +7947,7 @@ var PlaceOrder = ({
|
|
|
7799
7947
|
tradeSide: isSell ? "sell" : "buy",
|
|
7800
7948
|
enabled: debouncedAmount > 0 && orderEligibility.canPlaceOrder
|
|
7801
7949
|
});
|
|
7802
|
-
const currentSellableShares = (0,
|
|
7950
|
+
const currentSellableShares = (0, import_react9.useMemo)(() => {
|
|
7803
7951
|
var _a2, _b2, _c2, _d2, _e2, _f2, _g2;
|
|
7804
7952
|
const sharesFromQuote = (_b2 = (_a2 = smartRoute.data) == null ? void 0 : _a2.positionAvailability) == null ? void 0 : _b2.totalSellableShares;
|
|
7805
7953
|
if (typeof sharesFromQuote === "number" && Number.isFinite(sharesFromQuote)) {
|
|
@@ -7836,12 +7984,12 @@ var PlaceOrder = ({
|
|
|
7836
7984
|
(_j = (_i = smartRoute.data) == null ? void 0 : _i.positionAvailability) == null ? void 0 : _j.totalSellableShares
|
|
7837
7985
|
]);
|
|
7838
7986
|
const isCurrentSellableSharesLoading = isSell && isAuthenticated && !(typeof ((_l = (_k = smartRoute.data) == null ? void 0 : _k.positionAvailability) == null ? void 0 : _l.totalSellableShares) === "number") && (isExecutionPositionsLoading || isExecutionPositionsFetching);
|
|
7839
|
-
const displayedCurrentSellableShares = (0,
|
|
7987
|
+
const displayedCurrentSellableShares = (0, import_react9.useMemo)(() => {
|
|
7840
7988
|
if (!Number.isFinite(currentSellableShares) || currentSellableShares <= 0) return 0;
|
|
7841
7989
|
return Math.floor(currentSellableShares * 100) / 100;
|
|
7842
7990
|
}, [currentSellableShares]);
|
|
7843
7991
|
const isAtMaxSellableShares = isSell && displayedCurrentSellableShares > 0 && Math.abs(internalAmount - displayedCurrentSellableShares) < 1e-9;
|
|
7844
|
-
(0,
|
|
7992
|
+
(0, import_react9.useEffect)(() => {
|
|
7845
7993
|
if (!isSell || isCurrentSellableSharesLoading) return;
|
|
7846
7994
|
if (scopedSelectedOutcomeId === sellFilledForOutcomeId) return;
|
|
7847
7995
|
setInternalAmount(displayedCurrentSellableShares);
|
|
@@ -7855,7 +8003,7 @@ var PlaceOrder = ({
|
|
|
7855
8003
|
displayedCurrentSellableShares,
|
|
7856
8004
|
onAmountChange
|
|
7857
8005
|
]);
|
|
7858
|
-
const routeCards = (0,
|
|
8006
|
+
const routeCards = (0, import_react9.useMemo)(
|
|
7859
8007
|
() => smartRoute.data ? buildLiveRouteCards({
|
|
7860
8008
|
eventVenues: scopedSelectedEvent == null ? void 0 : scopedSelectedEvent.venueMarkets.map((market) => market.venue),
|
|
7861
8009
|
labels: tradingLabels,
|
|
@@ -7864,7 +8012,7 @@ var PlaceOrder = ({
|
|
|
7864
8012
|
}) : [],
|
|
7865
8013
|
[smartRoute.data, tradingLabels, isSell, scopedSelectedEvent == null ? void 0 : scopedSelectedEvent.venueMarkets]
|
|
7866
8014
|
);
|
|
7867
|
-
const resolvedSelectedRouteCardId = (0,
|
|
8015
|
+
const resolvedSelectedRouteCardId = (0, import_react9.useMemo)(() => {
|
|
7868
8016
|
var _a2, _b2, _c2, _d2;
|
|
7869
8017
|
if (routeCards.length === 0) return null;
|
|
7870
8018
|
if (selectedRouteCardId && routeCards.some((card) => card.id === selectedRouteCardId && !card.isUnavailable)) {
|
|
@@ -7872,7 +8020,7 @@ var PlaceOrder = ({
|
|
|
7872
8020
|
}
|
|
7873
8021
|
return (_d2 = (_c2 = (_a2 = routeCards.find((card) => !card.isUnavailable)) == null ? void 0 : _a2.id) != null ? _c2 : (_b2 = routeCards[0]) == null ? void 0 : _b2.id) != null ? _d2 : null;
|
|
7874
8022
|
}, [routeCards, selectedRouteCardId]);
|
|
7875
|
-
(0,
|
|
8023
|
+
(0, import_react9.useEffect)(() => {
|
|
7876
8024
|
if (routeCards.length === 0) {
|
|
7877
8025
|
setSelectedRouteCardId(null);
|
|
7878
8026
|
setIsRoutesExpanded(false);
|
|
@@ -7883,19 +8031,19 @@ var PlaceOrder = ({
|
|
|
7883
8031
|
setSelectedRouteCardId(resolvedSelectedRouteCardId);
|
|
7884
8032
|
}
|
|
7885
8033
|
}, [resolvedSelectedRouteCardId, routeCards.length, selectedRouteCardId]);
|
|
7886
|
-
(0,
|
|
8034
|
+
(0, import_react9.useEffect)(() => {
|
|
7887
8035
|
setSubmissionFeedback(null);
|
|
7888
8036
|
setSubmissionProgressState(null);
|
|
7889
8037
|
}, [internalAmount, internalSlippage, internalTab, scopedSelectedOutcomeId]);
|
|
7890
8038
|
const orderedRouteCards = routeCards;
|
|
7891
8039
|
const selectedRouteCard = (_n = (_m = orderedRouteCards.find((card) => card.id === resolvedSelectedRouteCardId)) != null ? _m : orderedRouteCards[0]) != null ? _n : null;
|
|
7892
|
-
const isKalshiRoute = (0,
|
|
8040
|
+
const isKalshiRoute = (0, import_react9.useMemo)(() => {
|
|
7893
8041
|
if (selectedRouteCard) {
|
|
7894
8042
|
return selectedRouteCard.venue === "kalshi" || selectedRouteCard.quoteData.fills.some((f) => f.venue === "kalshi");
|
|
7895
8043
|
}
|
|
7896
8044
|
return (scopedSelectedMarket == null ? void 0 : scopedSelectedMarket.venue) === "kalshi";
|
|
7897
8045
|
}, [selectedRouteCard, scopedSelectedMarket]);
|
|
7898
|
-
const isKalshiVerified = (0,
|
|
8046
|
+
const isKalshiVerified = (0, import_react9.useMemo)(() => {
|
|
7899
8047
|
var _a2;
|
|
7900
8048
|
const kalshiAccount = (_a2 = user == null ? void 0 : user.venueAccounts) == null ? void 0 : _a2.find((va) => va.venue === "kalshi");
|
|
7901
8049
|
return (kalshiAccount == null ? void 0 : kalshiAccount.kycStatus) === "verified";
|
|
@@ -7912,10 +8060,10 @@ var PlaceOrder = ({
|
|
|
7912
8060
|
} = useKalshiKycFlow({
|
|
7913
8061
|
isKalshiVerified,
|
|
7914
8062
|
userId: user == null ? void 0 : user.id,
|
|
7915
|
-
walletAddress: (_o = (0,
|
|
8063
|
+
walletAddress: (_o = (0, import_hooks29.getWalletAddressFromUserProfile)(user)) != null ? _o : null,
|
|
7916
8064
|
onError
|
|
7917
8065
|
});
|
|
7918
|
-
const handleRouteCardSelect = (0,
|
|
8066
|
+
const handleRouteCardSelect = (0, import_react9.useCallback)(
|
|
7919
8067
|
(cardId) => {
|
|
7920
8068
|
if (cardId === resolvedSelectedRouteCardId) {
|
|
7921
8069
|
const card = routeCards.find((c) => c.id === cardId);
|
|
@@ -7928,7 +8076,7 @@ var PlaceOrder = ({
|
|
|
7928
8076
|
},
|
|
7929
8077
|
[resolvedSelectedRouteCardId, routeCards]
|
|
7930
8078
|
);
|
|
7931
|
-
const executionProgress = (0,
|
|
8079
|
+
const executionProgress = (0, import_hooks29.useExecutionProgress)({
|
|
7932
8080
|
orderIds: (_p = submissionProgressState == null ? void 0 : submissionProgressState.orderIds) != null ? _p : null,
|
|
7933
8081
|
enabled: ((submissionProgressState == null ? void 0 : submissionProgressState.phase) === "submitting" || (submissionProgressState == null ? void 0 : submissionProgressState.phase) === "executing") && !!((_q = submissionProgressState == null ? void 0 : submissionProgressState.orderIds) == null ? void 0 : _q.length)
|
|
7934
8082
|
});
|
|
@@ -7936,7 +8084,7 @@ var PlaceOrder = ({
|
|
|
7936
8084
|
const headerImage = (_v = (_u = scopedSelectedMarket == null ? void 0 : scopedSelectedMarket.image) != null ? _u : scopedSelectedEvent == null ? void 0 : scopedSelectedEvent.image) != null ? _v : null;
|
|
7937
8085
|
const headerTitle = (_x = (_w = scopedSelectedEvent == null ? void 0 : scopedSelectedEvent.title) != null ? _w : scopedSelectedMarket == null ? void 0 : scopedSelectedMarket.question) != null ? _x : "";
|
|
7938
8086
|
const headerSubtitle = (_y = scopedSelectedMarket == null ? void 0 : scopedSelectedMarket.question) != null ? _y : "";
|
|
7939
|
-
const buildExecutionSummary = (0,
|
|
8087
|
+
const buildExecutionSummary = (0, import_react9.useCallback)(
|
|
7940
8088
|
(quoteData, executionVenue, orderId, partialFillSummary) => {
|
|
7941
8089
|
var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2;
|
|
7942
8090
|
if (!quoteData) return void 0;
|
|
@@ -8003,7 +8151,7 @@ var PlaceOrder = ({
|
|
|
8003
8151
|
tradingLabels
|
|
8004
8152
|
]
|
|
8005
8153
|
);
|
|
8006
|
-
(0,
|
|
8154
|
+
(0, import_react9.useEffect)(() => {
|
|
8007
8155
|
if (executionProgress.phase === "order_submitted") {
|
|
8008
8156
|
const submittedOrder = executionProgress.submittedOrders[0];
|
|
8009
8157
|
setSubmissionProgressState((prev) => {
|
|
@@ -8035,7 +8183,7 @@ var PlaceOrder = ({
|
|
|
8035
8183
|
executionProgress.submittedOrders,
|
|
8036
8184
|
selectedRouteCard == null ? void 0 : selectedRouteCard.quoteData
|
|
8037
8185
|
]);
|
|
8038
|
-
(0,
|
|
8186
|
+
(0, import_react9.useEffect)(() => {
|
|
8039
8187
|
const dp = executionProgress.dagProgress;
|
|
8040
8188
|
if (!dp) return;
|
|
8041
8189
|
setSubmissionProgressState((prev) => {
|
|
@@ -8054,7 +8202,7 @@ var PlaceOrder = ({
|
|
|
8054
8202
|
return __spreadProps(__spreadValues({}, prev), { dagProgress: dp });
|
|
8055
8203
|
});
|
|
8056
8204
|
}, [executionProgress.dagProgress, tradingLabels.orderFailed]);
|
|
8057
|
-
(0,
|
|
8205
|
+
(0, import_react9.useEffect)(() => {
|
|
8058
8206
|
const orderIds = submissionProgressState == null ? void 0 : submissionProgressState.orderIds;
|
|
8059
8207
|
if (!(orderIds == null ? void 0 : orderIds.length)) return;
|
|
8060
8208
|
const aggregateStatus = deriveAggregateOrderStatus(
|
|
@@ -8102,12 +8250,12 @@ var PlaceOrder = ({
|
|
|
8102
8250
|
submissionProgressState == null ? void 0 : submissionProgressState.orderIds,
|
|
8103
8251
|
tradingLabels.orderFailed
|
|
8104
8252
|
]);
|
|
8105
|
-
(0,
|
|
8253
|
+
(0, import_react9.useEffect)(() => {
|
|
8106
8254
|
if (!submissionProgressState) return;
|
|
8107
8255
|
onExecutionStateChange == null ? void 0 : onExecutionStateChange(submissionProgressState);
|
|
8108
8256
|
if (submissionProgressState.phase === "success" && submissionProgressState.summary) {
|
|
8109
|
-
(0,
|
|
8110
|
-
(0,
|
|
8257
|
+
(0, import_hooks29.invalidateBalanceQueries)(queryClient);
|
|
8258
|
+
(0, import_hooks29.invalidatePositionQueries)(queryClient);
|
|
8111
8259
|
onSuccess == null ? void 0 : onSuccess(submissionProgressState.summary);
|
|
8112
8260
|
}
|
|
8113
8261
|
if (submissionProgressState.phase === "failed" && submissionProgressState.errorMessage) {
|
|
@@ -8119,7 +8267,7 @@ var PlaceOrder = ({
|
|
|
8119
8267
|
const hasEnteredAmount = internalAmount > 0;
|
|
8120
8268
|
const isInsufficientBalance = !isSell && isAuthenticated && hasEnteredAmount && !isBalanceLoading && internalAmount > totalBalance;
|
|
8121
8269
|
const isBelowMinimum = !isSell && hasEnteredAmount && internalAmount < MIN_BUY_ORDER_AMOUNT;
|
|
8122
|
-
const quoteStatus = (0,
|
|
8270
|
+
const quoteStatus = (0, import_react9.useMemo)(() => {
|
|
8123
8271
|
if (!orderEligibility.canPlaceOrder) return void 0;
|
|
8124
8272
|
return resolvePlaceOrderQuoteStatus({
|
|
8125
8273
|
amount: internalAmount,
|
|
@@ -8134,7 +8282,7 @@ var PlaceOrder = ({
|
|
|
8134
8282
|
scopedSelectedMarket,
|
|
8135
8283
|
tradingLabels
|
|
8136
8284
|
]);
|
|
8137
|
-
const smartRouteErrorMessage = (0,
|
|
8285
|
+
const smartRouteErrorMessage = (0, import_react9.useMemo)(() => {
|
|
8138
8286
|
if (!smartRoute.error) return null;
|
|
8139
8287
|
return normalizePlaceOrderErrorMessage({
|
|
8140
8288
|
errorMessage: smartRoute.error.message,
|
|
@@ -8142,7 +8290,7 @@ var PlaceOrder = ({
|
|
|
8142
8290
|
});
|
|
8143
8291
|
}, [smartRoute.error, tradingLabels.quoteUnavailable]);
|
|
8144
8292
|
const progressActionLabel = (internalTab === "buy" ? tradingLabels.buyingOutcome(selectedOutcomeLabel) : tradingLabels.sellingOutcome(selectedOutcomeLabel)).trim();
|
|
8145
|
-
const canRetryRemaining = (0,
|
|
8293
|
+
const canRetryRemaining = (0, import_react9.useMemo)(() => {
|
|
8146
8294
|
const remaining = getPlaceOrderUnfilledRemaining({
|
|
8147
8295
|
originalAmount: internalAmount,
|
|
8148
8296
|
terminalOrderEvents: executionProgress.terminalOrderEvents
|
|
@@ -8151,7 +8299,7 @@ var PlaceOrder = ({
|
|
|
8151
8299
|
return remaining >= minRemainder;
|
|
8152
8300
|
}, [executionProgress.terminalOrderEvents, internalAmount, isSell]);
|
|
8153
8301
|
const PARTIAL_FILL_AUTO_SUCCESS_THRESHOLD = 0.95;
|
|
8154
|
-
const shouldAutoSkipPartialFill = (0,
|
|
8302
|
+
const shouldAutoSkipPartialFill = (0, import_react9.useMemo)(() => {
|
|
8155
8303
|
if (internalAmount <= 0) return false;
|
|
8156
8304
|
const remaining = getPlaceOrderUnfilledRemaining({
|
|
8157
8305
|
originalAmount: internalAmount,
|
|
@@ -8161,7 +8309,7 @@ var PlaceOrder = ({
|
|
|
8161
8309
|
const fillRatio = filled / internalAmount;
|
|
8162
8310
|
return fillRatio >= PARTIAL_FILL_AUTO_SUCCESS_THRESHOLD || !canRetryRemaining;
|
|
8163
8311
|
}, [canRetryRemaining, executionProgress.terminalOrderEvents, internalAmount]);
|
|
8164
|
-
const failureSummary = (0,
|
|
8312
|
+
const failureSummary = (0, import_react9.useMemo)(() => {
|
|
8165
8313
|
var _a2;
|
|
8166
8314
|
if ((submissionProgressState == null ? void 0 : submissionProgressState.phase) !== "failed") return void 0;
|
|
8167
8315
|
return buildPlaceOrderFailureSummary({
|
|
@@ -8190,7 +8338,7 @@ var PlaceOrder = ({
|
|
|
8190
8338
|
submissionProgressState,
|
|
8191
8339
|
tradingLabels
|
|
8192
8340
|
]);
|
|
8193
|
-
const displayedToWinHint = (0,
|
|
8341
|
+
const displayedToWinHint = (0, import_react9.useMemo)(() => {
|
|
8194
8342
|
var _a2, _b2, _c2, _d2;
|
|
8195
8343
|
if (!selectedRouteCard) return "";
|
|
8196
8344
|
if (selectedRouteCard.isUnavailable) {
|
|
@@ -8200,16 +8348,55 @@ var PlaceOrder = ({
|
|
|
8200
8348
|
return (_d2 = selectedRouteCard.hint) != null ? _d2 : "";
|
|
8201
8349
|
}, [selectedRouteCard, tradingLabels]);
|
|
8202
8350
|
const displayedToWinValue = (_B = selectedRouteCard == null ? void 0 : selectedRouteCard.numericValue) != null ? _B : 0;
|
|
8351
|
+
const activeFeeBreakdown = activeQuoteData == null ? void 0 : activeQuoteData.feeBreakdown;
|
|
8352
|
+
const estimatedFeesValue = (0, import_react9.useMemo)(() => {
|
|
8353
|
+
if (!activeFeeBreakdown) return null;
|
|
8354
|
+
const totalFees = activeFeeBreakdown.venueFees + activeFeeBreakdown.bridgeFees + activeFeeBreakdown.executionGas;
|
|
8355
|
+
return formatUsd(totalFees, { minimumFractionDigits: 2, maximumFractionDigits: 2 });
|
|
8356
|
+
}, [activeFeeBreakdown]);
|
|
8357
|
+
const feeBreakdownRows = (0, import_react9.useMemo)(() => {
|
|
8358
|
+
if (!activeFeeBreakdown) return [];
|
|
8359
|
+
return [
|
|
8360
|
+
{
|
|
8361
|
+
label: tradingLabels.feeBreakdownVenueFees,
|
|
8362
|
+
value: formatUsd(activeFeeBreakdown.venueFees, {
|
|
8363
|
+
minimumFractionDigits: 2,
|
|
8364
|
+
maximumFractionDigits: 2
|
|
8365
|
+
})
|
|
8366
|
+
},
|
|
8367
|
+
{
|
|
8368
|
+
label: tradingLabels.feeBreakdownBridgeFees,
|
|
8369
|
+
value: formatUsd(activeFeeBreakdown.bridgeFees, {
|
|
8370
|
+
minimumFractionDigits: 2,
|
|
8371
|
+
maximumFractionDigits: 2
|
|
8372
|
+
})
|
|
8373
|
+
},
|
|
8374
|
+
{
|
|
8375
|
+
label: tradingLabels.feeBreakdownExecutionGas,
|
|
8376
|
+
value: formatUsd(activeFeeBreakdown.executionGas, {
|
|
8377
|
+
minimumFractionDigits: 2,
|
|
8378
|
+
maximumFractionDigits: 2
|
|
8379
|
+
})
|
|
8380
|
+
},
|
|
8381
|
+
{
|
|
8382
|
+
label: tradingLabels.feeBreakdownTotalFees,
|
|
8383
|
+
value: formatUsd(
|
|
8384
|
+
activeFeeBreakdown.venueFees + activeFeeBreakdown.bridgeFees + activeFeeBreakdown.executionGas,
|
|
8385
|
+
{ minimumFractionDigits: 2, maximumFractionDigits: 2 }
|
|
8386
|
+
)
|
|
8387
|
+
}
|
|
8388
|
+
];
|
|
8389
|
+
}, [activeFeeBreakdown, tradingLabels]);
|
|
8203
8390
|
const isActionLoading = isPrimaryActionLoading || executeManaged.isPending;
|
|
8204
8391
|
const selectedRouteGeoBlocked = (_C = selectedRouteCard == null ? void 0 : selectedRouteCard.isUnavailable) != null ? _C : false;
|
|
8205
|
-
const geoBlockedVenuesFromWarnings = (0,
|
|
8392
|
+
const geoBlockedVenuesFromWarnings = (0, import_react9.useMemo)(
|
|
8206
8393
|
() => {
|
|
8207
8394
|
var _a2;
|
|
8208
8395
|
return extractGeoBlockedVenues((_a2 = smartRoute.data) == null ? void 0 : _a2.warnings);
|
|
8209
8396
|
},
|
|
8210
8397
|
[(_D = smartRoute.data) == null ? void 0 : _D.warnings]
|
|
8211
8398
|
);
|
|
8212
|
-
const isPrimaryVenueGeoBlocked = (0,
|
|
8399
|
+
const isPrimaryVenueGeoBlocked = (0, import_react9.useMemo)(() => {
|
|
8213
8400
|
var _a2, _b2;
|
|
8214
8401
|
if (!selectedRouteCard || selectedRouteCard.isUnavailable) return false;
|
|
8215
8402
|
const fills = (_b2 = (_a2 = selectedRouteCard.quoteData) == null ? void 0 : _a2.fills) != null ? _b2 : [];
|
|
@@ -8220,7 +8407,7 @@ var PlaceOrder = ({
|
|
|
8220
8407
|
const isActionDisabled = isPrimaryActionDisabled || !orderEligibility.canPlaceOrder || isActionLoading || !hasEnteredAmount || !scopedSelectedMarket || isInsufficientBalance || isBelowMinimum || !selectedRouteCard || !selectedRouteCard.quoteData.quoteId || selectedRouteGeoBlocked || !isAuthenticated || quoteStatus !== void 0;
|
|
8221
8408
|
const shouldShowSmartRouting = orderEligibility.canPlaceOrder && hasEnteredAmount && (orderedRouteCards.length > 0 || smartRoute.isFetching);
|
|
8222
8409
|
const shouldShowRouteToggle = orderedRouteCards.length > PLACE_ORDER_ROUTE_COLLAPSED_CARD_COUNT;
|
|
8223
|
-
const handleStartNewTrade = (0,
|
|
8410
|
+
const handleStartNewTrade = (0, import_react9.useCallback)(() => {
|
|
8224
8411
|
setSubmissionProgressState(null);
|
|
8225
8412
|
setSubmissionFeedback(null);
|
|
8226
8413
|
setInternalAmount(0);
|
|
@@ -8243,7 +8430,7 @@ var PlaceOrder = ({
|
|
|
8243
8430
|
const shareUrl = `https://twitter.com/intent/tweet?text=${encodeURIComponent(shareText)}`;
|
|
8244
8431
|
window.open(shareUrl, "_blank", "noopener,noreferrer");
|
|
8245
8432
|
};
|
|
8246
|
-
const handleExecuteQuote = (0,
|
|
8433
|
+
const handleExecuteQuote = (0, import_react9.useCallback)(
|
|
8247
8434
|
(quoteData) => __async(null, null, function* () {
|
|
8248
8435
|
const quoteId = quoteData == null ? void 0 : quoteData.quoteId;
|
|
8249
8436
|
if (!quoteId) {
|
|
@@ -8263,7 +8450,7 @@ var PlaceOrder = ({
|
|
|
8263
8450
|
}),
|
|
8264
8451
|
[executeManaged, onPrimaryAction, tradingLabels.quoteUnavailable]
|
|
8265
8452
|
);
|
|
8266
|
-
const handleSkipToSuccess = (0,
|
|
8453
|
+
const handleSkipToSuccess = (0, import_react9.useCallback)(() => {
|
|
8267
8454
|
const primaryFilledEvent = executionProgress.terminalOrderEvents.find(
|
|
8268
8455
|
(e) => e.event === "filled" || e.event === "partial_fill"
|
|
8269
8456
|
);
|
|
@@ -8288,7 +8475,7 @@ var PlaceOrder = ({
|
|
|
8288
8475
|
failureSummary,
|
|
8289
8476
|
selectedRouteCard == null ? void 0 : selectedRouteCard.quoteData
|
|
8290
8477
|
]);
|
|
8291
|
-
(0,
|
|
8478
|
+
(0, import_react9.useEffect)(() => {
|
|
8292
8479
|
if ((submissionProgressState == null ? void 0 : submissionProgressState.phase) !== "failed") return;
|
|
8293
8480
|
if ((failureSummary == null ? void 0 : failureSummary.kind) !== "partial_fill") return;
|
|
8294
8481
|
if (!shouldAutoSkipPartialFill) return;
|
|
@@ -8299,7 +8486,7 @@ var PlaceOrder = ({
|
|
|
8299
8486
|
shouldAutoSkipPartialFill,
|
|
8300
8487
|
submissionProgressState == null ? void 0 : submissionProgressState.phase
|
|
8301
8488
|
]);
|
|
8302
|
-
const handleRetrySubmission = (0,
|
|
8489
|
+
const handleRetrySubmission = (0, import_react9.useCallback)(() => __async(null, null, function* () {
|
|
8303
8490
|
var _a2, _b2, _c2;
|
|
8304
8491
|
if (!orderEligibility.canPlaceOrder) {
|
|
8305
8492
|
handleStartNewTrade();
|
|
@@ -8386,7 +8573,7 @@ var PlaceOrder = ({
|
|
|
8386
8573
|
]);
|
|
8387
8574
|
const resolvedStatusClassName = cn(classNames == null ? void 0 : classNames.root, className);
|
|
8388
8575
|
if (isLoading) {
|
|
8389
|
-
return /* @__PURE__ */ (0,
|
|
8576
|
+
return /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
8390
8577
|
Skeleton,
|
|
8391
8578
|
{
|
|
8392
8579
|
ariaLabel: labels.common.loading,
|
|
@@ -8397,7 +8584,7 @@ var PlaceOrder = ({
|
|
|
8397
8584
|
}
|
|
8398
8585
|
if (submissionProgressState) {
|
|
8399
8586
|
if (submissionProgressState.phase === "success" && submissionProgressState.summary) {
|
|
8400
|
-
return /* @__PURE__ */ (0,
|
|
8587
|
+
return /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
8401
8588
|
PlaceOrderSuccessView,
|
|
8402
8589
|
{
|
|
8403
8590
|
className: resolvedStatusClassName,
|
|
@@ -8409,7 +8596,7 @@ var PlaceOrder = ({
|
|
|
8409
8596
|
);
|
|
8410
8597
|
}
|
|
8411
8598
|
if (submissionProgressState.phase === "failed") {
|
|
8412
|
-
return /* @__PURE__ */ (0,
|
|
8599
|
+
return /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
8413
8600
|
PlaceOrderFailureView,
|
|
8414
8601
|
{
|
|
8415
8602
|
className: resolvedStatusClassName,
|
|
@@ -8507,7 +8694,7 @@ var PlaceOrder = ({
|
|
|
8507
8694
|
}
|
|
8508
8695
|
});
|
|
8509
8696
|
if (!orderEligibility.canPlaceOrder && resolvedReadOnlyTradingState.kind !== "open") {
|
|
8510
|
-
return /* @__PURE__ */ (0,
|
|
8697
|
+
return /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
8511
8698
|
PlaceOrderResolvedView,
|
|
8512
8699
|
{
|
|
8513
8700
|
tradingState: resolvedReadOnlyTradingState,
|
|
@@ -8517,8 +8704,8 @@ var PlaceOrder = ({
|
|
|
8517
8704
|
}
|
|
8518
8705
|
);
|
|
8519
8706
|
}
|
|
8520
|
-
return /* @__PURE__ */ (0,
|
|
8521
|
-
/* @__PURE__ */ (0,
|
|
8707
|
+
return /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(import_react9.Fragment, { children: [
|
|
8708
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(
|
|
8522
8709
|
Card,
|
|
8523
8710
|
{
|
|
8524
8711
|
className: cn(
|
|
@@ -8535,8 +8722,8 @@ var PlaceOrder = ({
|
|
|
8535
8722
|
headerTitle,
|
|
8536
8723
|
onClose
|
|
8537
8724
|
}),
|
|
8538
|
-
/* @__PURE__ */ (0,
|
|
8539
|
-
/* @__PURE__ */ (0,
|
|
8725
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsxs)("div", { className: cn("agg-order-panel-content flex flex-col gap-6", classNames == null ? void 0 : classNames.content), children: [
|
|
8726
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
8540
8727
|
"div",
|
|
8541
8728
|
{
|
|
8542
8729
|
className: "agg-order-tabs flex items-end border-b border-agg-separator",
|
|
@@ -8547,7 +8734,7 @@ var PlaceOrder = ({
|
|
|
8547
8734
|
{ value: "sell", label: tradingLabels.sell, ref: sellTabRef }
|
|
8548
8735
|
].map((tabItem) => {
|
|
8549
8736
|
const isActive = internalTab === tabItem.value;
|
|
8550
|
-
return /* @__PURE__ */ (0,
|
|
8737
|
+
return /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(
|
|
8551
8738
|
"button",
|
|
8552
8739
|
{
|
|
8553
8740
|
ref: tabItem.ref,
|
|
@@ -8571,7 +8758,7 @@ var PlaceOrder = ({
|
|
|
8571
8758
|
onKeyDown: (event) => handleTabKeyDown(event, tabItem.value),
|
|
8572
8759
|
children: [
|
|
8573
8760
|
tabItem.label,
|
|
8574
|
-
/* @__PURE__ */ (0,
|
|
8761
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
8575
8762
|
"span",
|
|
8576
8763
|
{
|
|
8577
8764
|
"aria-hidden": "true",
|
|
@@ -8593,13 +8780,13 @@ var PlaceOrder = ({
|
|
|
8593
8780
|
})
|
|
8594
8781
|
}
|
|
8595
8782
|
),
|
|
8596
|
-
outcomes.length >= 2 ? /* @__PURE__ */ (0,
|
|
8783
|
+
outcomes.length >= 2 ? /* @__PURE__ */ (0, import_jsx_runtime113.jsx)("div", { className: "agg-outcomes flex w-full max-w-full gap-2", children: outcomes.map((outcome, index) => {
|
|
8597
8784
|
var _a2, _b2, _c2;
|
|
8598
8785
|
const price = (_b2 = (_a2 = clusterMidpoints.get(outcome.id)) != null ? _a2 : livePrices.get(outcome.id)) != null ? _b2 : outcome.price;
|
|
8599
8786
|
const isActive = outcome.id === scopedSelectedOutcomeId;
|
|
8600
8787
|
const isPositive = resolveIsPositiveOutcome(outcome, index);
|
|
8601
8788
|
const displayLabel = ((_c2 = outcome.title) == null ? void 0 : _c2.trim()) || outcome.label;
|
|
8602
|
-
return /* @__PURE__ */ (0,
|
|
8789
|
+
return /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(
|
|
8603
8790
|
"button",
|
|
8604
8791
|
{
|
|
8605
8792
|
"data-id": outcome.id,
|
|
@@ -8619,7 +8806,7 @@ var PlaceOrder = ({
|
|
|
8619
8806
|
disabled: !orderEligibility.canPlaceOrder || isResolvedOutcomeCtaLocked,
|
|
8620
8807
|
onClick: () => handleOutcomeChange(outcome.id),
|
|
8621
8808
|
children: [
|
|
8622
|
-
/* @__PURE__ */ (0,
|
|
8809
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
8623
8810
|
Typography,
|
|
8624
8811
|
{
|
|
8625
8812
|
as: "span",
|
|
@@ -8628,18 +8815,18 @@ var PlaceOrder = ({
|
|
|
8628
8815
|
children: displayLabel
|
|
8629
8816
|
}
|
|
8630
8817
|
),
|
|
8631
|
-
/* @__PURE__ */ (0,
|
|
8818
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(Typography, { as: "span", variant: isActive ? "body-strong" : "body", children: formatProbabilityCents(price) })
|
|
8632
8819
|
]
|
|
8633
8820
|
},
|
|
8634
8821
|
outcome.id
|
|
8635
8822
|
);
|
|
8636
8823
|
}) }) : null,
|
|
8637
|
-
/* @__PURE__ */ (0,
|
|
8638
|
-
/* @__PURE__ */ (0,
|
|
8639
|
-
/* @__PURE__ */ (0,
|
|
8640
|
-
isAuthenticated ? isSell ? /* @__PURE__ */ (0,
|
|
8641
|
-
/* @__PURE__ */ (0,
|
|
8642
|
-
displayedCurrentSellableShares > 0 ? /* @__PURE__ */ (0,
|
|
8824
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsxs)("div", { className: "agg-order-amount-section flex items-start justify-between gap-4", children: [
|
|
8825
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsxs)("div", { className: "agg-order-amount-meta flex flex-col", children: [
|
|
8826
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)("p", { className: "agg-order-amount-label text-agg-base font-agg-bold leading-agg-6 text-agg-foreground whitespace-nowrap", children: tradingLabels.amount(internalTab) }),
|
|
8827
|
+
isAuthenticated ? isSell ? /* @__PURE__ */ (0, import_jsx_runtime113.jsx)("div", { className: "agg-balance-value flex items-baseline gap-1.5 text-agg-sm leading-agg-5 text-agg-muted-foreground", children: isCurrentSellableSharesLoading ? /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(LoadingIcon, { size: "small" }) : /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(import_jsx_runtime113.Fragment, { children: [
|
|
8828
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)("span", { children: tradingLabels.shares(displayedCurrentSellableShares) }),
|
|
8829
|
+
displayedCurrentSellableShares > 0 ? /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
8643
8830
|
"button",
|
|
8644
8831
|
{
|
|
8645
8832
|
type: "button",
|
|
@@ -8655,9 +8842,9 @@ var PlaceOrder = ({
|
|
|
8655
8842
|
children: tradingLabels.maxShares
|
|
8656
8843
|
}
|
|
8657
8844
|
) : null
|
|
8658
|
-
] }) }) : /* @__PURE__ */ (0,
|
|
8845
|
+
] }) }) : /* @__PURE__ */ (0, import_jsx_runtime113.jsx)("p", { className: "agg-balance-value flex items-center gap-2 text-agg-sm leading-agg-5 text-agg-muted-foreground", children: isBalanceLoading ? /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(LoadingIcon, { size: "small" }) : tradingLabels.balance(formatUsd(totalBalance)) }) : null
|
|
8659
8846
|
] }),
|
|
8660
|
-
/* @__PURE__ */ (0,
|
|
8847
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
8661
8848
|
CurrencyInput,
|
|
8662
8849
|
{
|
|
8663
8850
|
value: internalAmount,
|
|
@@ -8677,10 +8864,40 @@ var PlaceOrder = ({
|
|
|
8677
8864
|
}
|
|
8678
8865
|
)
|
|
8679
8866
|
] }),
|
|
8680
|
-
|
|
8681
|
-
/* @__PURE__ */ (0,
|
|
8682
|
-
/* @__PURE__ */ (0,
|
|
8683
|
-
|
|
8867
|
+
showFeesBreakdown && hasEnteredAmount && estimatedFeesValue ? /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)("div", { className: "agg-order-fees-section flex items-center justify-between gap-4", children: [
|
|
8868
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsxs)("div", { className: "flex items-center gap-1.5", children: [
|
|
8869
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
8870
|
+
Typography,
|
|
8871
|
+
{
|
|
8872
|
+
variant: "text-sm",
|
|
8873
|
+
className: "text-agg-sm leading-agg-5 text-agg-muted-foreground",
|
|
8874
|
+
children: tradingLabels.estimatedFees
|
|
8875
|
+
}
|
|
8876
|
+
),
|
|
8877
|
+
feeBreakdownRows.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
8878
|
+
Tooltip,
|
|
8879
|
+
{
|
|
8880
|
+
"aria-label": tradingLabels.estimatedFeesTooltipAria,
|
|
8881
|
+
content: /* @__PURE__ */ (0, import_jsx_runtime113.jsx)("div", { className: "flex min-w-[220px] flex-col gap-2", children: feeBreakdownRows.map((row) => /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(
|
|
8882
|
+
"div",
|
|
8883
|
+
{
|
|
8884
|
+
className: "flex items-center justify-between gap-3 text-agg-sm leading-agg-5",
|
|
8885
|
+
children: [
|
|
8886
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)("span", { className: "text-agg-muted-foreground", children: row.label }),
|
|
8887
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)("span", { className: "font-agg-bold text-agg-foreground", children: row.value })
|
|
8888
|
+
]
|
|
8889
|
+
},
|
|
8890
|
+
row.label
|
|
8891
|
+
)) })
|
|
8892
|
+
}
|
|
8893
|
+
) : null
|
|
8894
|
+
] }),
|
|
8895
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)("p", { className: "text-agg-sm font-agg-bold leading-agg-5 text-agg-foreground", children: estimatedFeesValue })
|
|
8896
|
+
] }) : null,
|
|
8897
|
+
shouldShowSmartRouting ? /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)("div", { className: "agg-route-panel flex flex-col gap-3", children: [
|
|
8898
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsxs)("div", { className: "agg-route-panel-header flex items-center justify-between gap-4", children: [
|
|
8899
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)("p", { className: "agg-route-panel-title text-agg-base font-agg-bold leading-agg-6 text-agg-foreground", children: tradingLabels.smartRouting }),
|
|
8900
|
+
shouldShowRouteToggle && !isRoutesExpanded ? /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(
|
|
8684
8901
|
"button",
|
|
8685
8902
|
{
|
|
8686
8903
|
type: "button",
|
|
@@ -8688,8 +8905,8 @@ var PlaceOrder = ({
|
|
|
8688
8905
|
"aria-label": tradingLabels.viewAllRoutes(orderedRouteCards.length),
|
|
8689
8906
|
onClick: () => setIsRoutesExpanded((currentValue) => !currentValue),
|
|
8690
8907
|
children: [
|
|
8691
|
-
/* @__PURE__ */ (0,
|
|
8692
|
-
/* @__PURE__ */ (0,
|
|
8908
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)("span", { children: tradingLabels.viewAllRoutes(orderedRouteCards.length) }),
|
|
8909
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
8693
8910
|
Icon,
|
|
8694
8911
|
{
|
|
8695
8912
|
name: "chevron-down",
|
|
@@ -8702,8 +8919,8 @@ var PlaceOrder = ({
|
|
|
8702
8919
|
}
|
|
8703
8920
|
) : null
|
|
8704
8921
|
] }),
|
|
8705
|
-
/* @__PURE__ */ (0,
|
|
8706
|
-
return /* @__PURE__ */ (0,
|
|
8922
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)("div", { className: "agg-route-list flex flex-col gap-2", children: visibleRouteCards.length > 0 ? smartRoute.isFetching ? Array.from({ length: visibleRouteCards.length }).map((_, index) => /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(PlaceOrderRouteCardSkeleton, {}, index)) : visibleRouteCards.map((card) => {
|
|
8923
|
+
return /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(import_react9.Fragment, { children: renderRouteCard({
|
|
8707
8924
|
card,
|
|
8708
8925
|
enableAnimations,
|
|
8709
8926
|
isExpanded: card.kind === "split" ? isSplitDetailOpen : isRoutesExpanded,
|
|
@@ -8711,18 +8928,18 @@ var PlaceOrder = ({
|
|
|
8711
8928
|
onSelect: handleRouteCardSelect,
|
|
8712
8929
|
tradingLabels
|
|
8713
8930
|
}) }, card.id);
|
|
8714
|
-
}) : smartRoute.isFetching ? /* @__PURE__ */ (0,
|
|
8715
|
-
/* @__PURE__ */ (0,
|
|
8716
|
-
/* @__PURE__ */ (0,
|
|
8931
|
+
}) : smartRoute.isFetching ? /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(import_jsx_runtime113.Fragment, { children: [
|
|
8932
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(PlaceOrderRouteCardSkeleton, {}),
|
|
8933
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(PlaceOrderRouteCardSkeleton, {})
|
|
8717
8934
|
] }) : null })
|
|
8718
8935
|
] }) : null,
|
|
8719
|
-
hasEnteredAmount && selectedRouteCard && orderEligibility.canPlaceOrder ? /* @__PURE__ */ (0,
|
|
8720
|
-
/* @__PURE__ */ (0,
|
|
8721
|
-
/* @__PURE__ */ (0,
|
|
8722
|
-
/* @__PURE__ */ (0,
|
|
8936
|
+
hasEnteredAmount && selectedRouteCard && orderEligibility.canPlaceOrder ? /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)("div", { className: "agg-order-summary flex items-start justify-between gap-4", children: [
|
|
8937
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsxs)("div", { className: "agg-order-summary-meta flex flex-col", children: [
|
|
8938
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)("p", { className: "agg-order-summary-label text-agg-base font-agg-bold leading-agg-6 text-agg-foreground", children: tradingLabels.toWin(internalTab) }),
|
|
8939
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)("p", { className: "agg-order-summary-hint text-agg-sm leading-agg-5 text-agg-muted-foreground", children: displayedToWinHint })
|
|
8723
8940
|
] }),
|
|
8724
|
-
/* @__PURE__ */ (0,
|
|
8725
|
-
|
|
8941
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
8942
|
+
import_react8.default,
|
|
8726
8943
|
{
|
|
8727
8944
|
value: displayedToWinValue,
|
|
8728
8945
|
locales: locale,
|
|
@@ -8736,7 +8953,7 @@ var PlaceOrder = ({
|
|
|
8736
8953
|
}
|
|
8737
8954
|
)
|
|
8738
8955
|
] }) : null,
|
|
8739
|
-
/* @__PURE__ */ (0,
|
|
8956
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(
|
|
8740
8957
|
"div",
|
|
8741
8958
|
{
|
|
8742
8959
|
className: cn(
|
|
@@ -8744,23 +8961,23 @@ var PlaceOrder = ({
|
|
|
8744
8961
|
classNames == null ? void 0 : classNames.footer
|
|
8745
8962
|
),
|
|
8746
8963
|
children: [
|
|
8747
|
-
!shouldShowGeoBlockBanner ? /* @__PURE__ */ (0,
|
|
8748
|
-
submissionFeedback ? /* @__PURE__ */ (0,
|
|
8964
|
+
!shouldShowGeoBlockBanner ? /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)("div", { className: "agg-order-alerts flex flex-col gap-3 empty:hidden mb-3", children: [
|
|
8965
|
+
submissionFeedback ? /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
8749
8966
|
InlineAlert,
|
|
8750
8967
|
{
|
|
8751
8968
|
tone: submissionFeedback.tone,
|
|
8752
8969
|
message: submissionFeedback.message
|
|
8753
8970
|
}
|
|
8754
8971
|
) : null,
|
|
8755
|
-
!submissionFeedback && orderEligibility.canPlaceOrder && !isInsufficientBalance && isBelowMinimum ? /* @__PURE__ */ (0,
|
|
8972
|
+
!submissionFeedback && orderEligibility.canPlaceOrder && !isInsufficientBalance && isBelowMinimum ? /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
8756
8973
|
InlineAlert,
|
|
8757
8974
|
{
|
|
8758
8975
|
tone: "error",
|
|
8759
8976
|
message: tradingLabels.minimumOrderAmount(MIN_BUY_ORDER_AMOUNT)
|
|
8760
8977
|
}
|
|
8761
8978
|
) : null,
|
|
8762
|
-
!submissionFeedback && orderEligibility.canPlaceOrder && !isInsufficientBalance && !isBelowMinimum && quoteStatus ? /* @__PURE__ */ (0,
|
|
8763
|
-
!submissionFeedback && orderEligibility.canPlaceOrder && !isInsufficientBalance && !isBelowMinimum && !quoteStatus && isAuthenticated && hasEnteredAmount && smartRouteErrorMessage ? /* @__PURE__ */ (0,
|
|
8979
|
+
!submissionFeedback && orderEligibility.canPlaceOrder && !isInsufficientBalance && !isBelowMinimum && quoteStatus ? /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(InlineAlert, { tone: quoteStatus.tone, message: quoteStatus.message }) : null,
|
|
8980
|
+
!submissionFeedback && orderEligibility.canPlaceOrder && !isInsufficientBalance && !isBelowMinimum && !quoteStatus && isAuthenticated && hasEnteredAmount && smartRouteErrorMessage ? /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
8764
8981
|
InlineAlert,
|
|
8765
8982
|
{
|
|
8766
8983
|
tone: "error",
|
|
@@ -8772,14 +8989,14 @@ var PlaceOrder = ({
|
|
|
8772
8989
|
}
|
|
8773
8990
|
) : null
|
|
8774
8991
|
] }) : null,
|
|
8775
|
-
!submissionFeedback && !shouldShowGeoBlockBanner && orderEligibility.canPlaceOrder && isInsufficientBalance ? /* @__PURE__ */ (0,
|
|
8992
|
+
!submissionFeedback && !shouldShowGeoBlockBanner && orderEligibility.canPlaceOrder && isInsufficientBalance ? /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(
|
|
8776
8993
|
"div",
|
|
8777
8994
|
{
|
|
8778
8995
|
className: "agg-order-insufficient-balance-alert flex items-center justify-center gap-2",
|
|
8779
8996
|
role: "status",
|
|
8780
8997
|
"aria-live": "polite",
|
|
8781
8998
|
children: [
|
|
8782
|
-
/* @__PURE__ */ (0,
|
|
8999
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
8783
9000
|
Icon,
|
|
8784
9001
|
{
|
|
8785
9002
|
name: "warning-filled",
|
|
@@ -8788,11 +9005,11 @@ var PlaceOrder = ({
|
|
|
8788
9005
|
"aria-hidden": "true"
|
|
8789
9006
|
}
|
|
8790
9007
|
),
|
|
8791
|
-
/* @__PURE__ */ (0,
|
|
9008
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)("span", { className: "text-agg-sm text-agg-foreground", children: tradingLabels.insufficientBalance })
|
|
8792
9009
|
]
|
|
8793
9010
|
}
|
|
8794
9011
|
) : null,
|
|
8795
|
-
!submissionFeedback && !shouldShowGeoBlockBanner && isInsufficientBalance ? /* @__PURE__ */ (0,
|
|
9012
|
+
!submissionFeedback && !shouldShowGeoBlockBanner && isInsufficientBalance ? /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
8796
9013
|
Button,
|
|
8797
9014
|
{
|
|
8798
9015
|
size: "large",
|
|
@@ -8802,7 +9019,7 @@ var PlaceOrder = ({
|
|
|
8802
9019
|
onClick: handleDepositRequiredClick,
|
|
8803
9020
|
children: tradingLabels.deposit
|
|
8804
9021
|
}
|
|
8805
|
-
) : needsKycVerification && !submissionFeedback && !shouldShowGeoBlockBanner ? /* @__PURE__ */ (0,
|
|
9022
|
+
) : needsKycVerification && !submissionFeedback && !shouldShowGeoBlockBanner ? /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(InitiateKycButton, { label: tradingLabels.kycRequired, onOpen: openVerifyModal }) : !isAuthenticated ? /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
8806
9023
|
Button,
|
|
8807
9024
|
{
|
|
8808
9025
|
size: "large",
|
|
@@ -8810,10 +9027,10 @@ var PlaceOrder = ({
|
|
|
8810
9027
|
className: "agg-order-submit h-12 w-full px-8 text-agg-base leading-agg-6 shadow-none",
|
|
8811
9028
|
disabled: !orderEligibility.canPlaceOrder || shouldShowGeoBlockBanner,
|
|
8812
9029
|
"aria-label": tradingLabels.signInToTrade,
|
|
8813
|
-
onClick:
|
|
9030
|
+
onClick: import_hooks29.requestAggAuthChooserOpen,
|
|
8814
9031
|
children: tradingLabels.signInToTrade
|
|
8815
9032
|
}
|
|
8816
|
-
) : /* @__PURE__ */ (0,
|
|
9033
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
8817
9034
|
Button,
|
|
8818
9035
|
{
|
|
8819
9036
|
size: "large",
|
|
@@ -8828,8 +9045,20 @@ var PlaceOrder = ({
|
|
|
8828
9045
|
children: actionLabel
|
|
8829
9046
|
}
|
|
8830
9047
|
),
|
|
8831
|
-
shouldShowGeoBlockBanner ? /* @__PURE__ */ (0,
|
|
8832
|
-
|
|
9048
|
+
!shouldShowGeoBlockBanner && internalTab === "buy" && showFeesBreakdown ? /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)("div", { className: "agg-order-platform-fee mt-1 flex items-center justify-center gap-1.5 text-agg-sm leading-agg-5 text-agg-muted-foreground", children: [
|
|
9049
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
9050
|
+
Icon,
|
|
9051
|
+
{
|
|
9052
|
+
name: "shield-trust",
|
|
9053
|
+
size: "small",
|
|
9054
|
+
className: "h-3.5 w-3.5 text-agg-primary",
|
|
9055
|
+
"aria-hidden": "true"
|
|
9056
|
+
}
|
|
9057
|
+
),
|
|
9058
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(Typography, { variant: "text-xs-caps", className: "text-agg-primary", children: tradingLabels.platformFee })
|
|
9059
|
+
] }) : null,
|
|
9060
|
+
shouldShowGeoBlockBanner ? /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(GeoBlockBanner, { termsUrl: AGG_TERMS_OF_SERVICE_URL }) : null,
|
|
9061
|
+
!shouldShowGeoBlockBanner ? /* @__PURE__ */ (0, import_jsx_runtime113.jsx)("p", { className: "agg-order-disclaimer text-center text-agg-xs leading-agg-4 text-agg-muted-foreground", children: tradingLabels.disclaimer }) : null
|
|
8833
9062
|
]
|
|
8834
9063
|
}
|
|
8835
9064
|
)
|
|
@@ -8837,7 +9066,7 @@ var PlaceOrder = ({
|
|
|
8837
9066
|
]
|
|
8838
9067
|
}
|
|
8839
9068
|
),
|
|
8840
|
-
/* @__PURE__ */ (0,
|
|
9069
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
8841
9070
|
KycVerifyModal,
|
|
8842
9071
|
{
|
|
8843
9072
|
open: isKycVerifyModalOpen,
|
|
@@ -8854,7 +9083,7 @@ var PlaceOrder = ({
|
|
|
8854
9083
|
}
|
|
8855
9084
|
}
|
|
8856
9085
|
),
|
|
8857
|
-
/* @__PURE__ */ (0,
|
|
9086
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
8858
9087
|
KycSuccessModal,
|
|
8859
9088
|
{
|
|
8860
9089
|
open: showKycSuccessModal,
|
|
@@ -8873,7 +9102,7 @@ var PlaceOrder = ({
|
|
|
8873
9102
|
PlaceOrder.displayName = "PlaceOrder";
|
|
8874
9103
|
|
|
8875
9104
|
// src/trading/trading-context/index.tsx
|
|
8876
|
-
var
|
|
9105
|
+
var import_hooks30 = require("@agg-build/hooks");
|
|
8877
9106
|
// Annotate the CommonJS export names for ESM import in node:
|
|
8878
9107
|
0 && (module.exports = {
|
|
8879
9108
|
PlaceOrder,
|