@agg-build/ui 1.0.2 → 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-TLGQ4LID.mjs → chunk-34L7ZKJW.mjs} +836 -771
- package/dist/{chunk-YSCHNVBZ.mjs → chunk-5FXMHTVR.mjs} +2 -2
- package/dist/{chunk-3IY2GA2D.mjs → chunk-CDQZJPHQ.mjs} +604 -353
- package/dist/{chunk-4ILR2YH3.mjs → chunk-EGCVA2AQ.mjs} +23 -8
- package/dist/{chunk-XDZLCWUZ.mjs → chunk-FDTLV74F.mjs} +130 -28
- package/dist/{chunk-WFS772A3.mjs → chunk-Q2BRDVBU.mjs} +1 -1
- package/dist/{chunk-PEVG67XU.mjs → chunk-TBKDLNOE.mjs} +27 -16
- package/dist/events.js +987 -901
- package/dist/events.mjs +3 -3
- package/dist/index.js +3021 -2576
- package/dist/index.mjs +19 -15
- package/dist/modals.js +848 -788
- package/dist/modals.mjs +3 -3
- package/dist/pages.js +2298 -1857
- package/dist/pages.mjs +6 -6
- package/dist/primitives.js +832 -768
- package/dist/primitives.mjs +5 -1
- package/dist/styles.css +1 -1
- package/dist/tailwind.css +1 -1
- package/dist/trading.js +937 -654
- 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/components/available-balance-card.d.mts +0 -1
- package/dist/types/pages/user-profile/components/available-balance-card.d.ts +0 -1
- 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/icon.types.d.mts +1 -2
- package/dist/types/primitives/icon/icon.types.d.ts +1 -2
- package/dist/types/primitives/icon/index.d.mts +3 -1
- package/dist/types/primitives/icon/index.d.ts +3 -1
- package/dist/types/primitives/icon/registry.d.mts +8 -0
- package/dist/types/primitives/icon/registry.d.ts +8 -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/primitives/icon/svg/lock.d.mts +5 -0
- package/dist/types/primitives/icon/svg/lock.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
|
);
|
|
@@ -2940,16 +2976,17 @@ InfoIcon.displayName = "InfoIcon";
|
|
|
2940
2976
|
|
|
2941
2977
|
// src/primitives/icon/icon.constants.ts
|
|
2942
2978
|
var iconSizeClasses = {
|
|
2979
|
+
xs: "h-3 w-3",
|
|
2943
2980
|
small: "h-4 w-4",
|
|
2944
2981
|
medium: "h-6 w-6",
|
|
2945
2982
|
large: "h-8 w-8"
|
|
2946
2983
|
};
|
|
2947
2984
|
|
|
2948
2985
|
// src/primitives/search/search-empty-icon.tsx
|
|
2949
|
-
var
|
|
2986
|
+
var import_jsx_runtime60 = require("react/jsx-runtime");
|
|
2950
2987
|
var SearchEmptyIcon = (_a) => {
|
|
2951
2988
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2952
|
-
return /* @__PURE__ */ (0,
|
|
2989
|
+
return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(
|
|
2953
2990
|
"svg",
|
|
2954
2991
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2955
2992
|
viewBox: "0 0 36 36",
|
|
@@ -2958,8 +2995,8 @@ var SearchEmptyIcon = (_a) => {
|
|
|
2958
2995
|
className
|
|
2959
2996
|
}, getIconA11yProps(title2)), props), {
|
|
2960
2997
|
children: [
|
|
2961
|
-
title2 ? /* @__PURE__ */ (0,
|
|
2962
|
-
/* @__PURE__ */ (0,
|
|
2998
|
+
title2 ? /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("title", { children: title2 }) : null,
|
|
2999
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
|
|
2963
3000
|
"path",
|
|
2964
3001
|
{
|
|
2965
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",
|
|
@@ -2973,10 +3010,10 @@ var SearchEmptyIcon = (_a) => {
|
|
|
2973
3010
|
SearchEmptyIcon.displayName = "SearchEmptyIcon";
|
|
2974
3011
|
|
|
2975
3012
|
// src/primitives/icon/svg/activity.tsx
|
|
2976
|
-
var
|
|
3013
|
+
var import_jsx_runtime61 = require("react/jsx-runtime");
|
|
2977
3014
|
var ActivityIcon = (_a) => {
|
|
2978
3015
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2979
|
-
return /* @__PURE__ */ (0,
|
|
3016
|
+
return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
|
|
2980
3017
|
"svg",
|
|
2981
3018
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2982
3019
|
viewBox: "0 0 24 24",
|
|
@@ -2984,8 +3021,8 @@ var ActivityIcon = (_a) => {
|
|
|
2984
3021
|
fill: "none"
|
|
2985
3022
|
}, getIconA11yProps(title2)), props), {
|
|
2986
3023
|
children: [
|
|
2987
|
-
title2 ? /* @__PURE__ */ (0,
|
|
2988
|
-
/* @__PURE__ */ (0,
|
|
3024
|
+
title2 ? /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("title", { children: title2 }) : null,
|
|
3025
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
|
|
2989
3026
|
"path",
|
|
2990
3027
|
{
|
|
2991
3028
|
d: "M2 12h4l2.5-7 4 14 3-7h8.5",
|
|
@@ -3002,10 +3039,10 @@ var ActivityIcon = (_a) => {
|
|
|
3002
3039
|
ActivityIcon.displayName = "ActivityIcon";
|
|
3003
3040
|
|
|
3004
3041
|
// src/primitives/icon/svg/activity-chart.tsx
|
|
3005
|
-
var
|
|
3042
|
+
var import_jsx_runtime62 = require("react/jsx-runtime");
|
|
3006
3043
|
var ActivityChartIcon = (_a) => {
|
|
3007
3044
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3008
|
-
return /* @__PURE__ */ (0,
|
|
3045
|
+
return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(
|
|
3009
3046
|
"svg",
|
|
3010
3047
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3011
3048
|
viewBox: "0 0 14 14",
|
|
@@ -3013,8 +3050,8 @@ var ActivityChartIcon = (_a) => {
|
|
|
3013
3050
|
fill: "none"
|
|
3014
3051
|
}, getIconA11yProps(title2)), props), {
|
|
3015
3052
|
children: [
|
|
3016
|
-
title2 ? /* @__PURE__ */ (0,
|
|
3017
|
-
/* @__PURE__ */ (0,
|
|
3053
|
+
title2 ? /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("title", { children: title2 }) : null,
|
|
3054
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
|
|
3018
3055
|
"path",
|
|
3019
3056
|
{
|
|
3020
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",
|
|
@@ -3028,10 +3065,10 @@ var ActivityChartIcon = (_a) => {
|
|
|
3028
3065
|
ActivityChartIcon.displayName = "ActivityChartIcon";
|
|
3029
3066
|
|
|
3030
3067
|
// src/primitives/icon/svg/check-badge.tsx
|
|
3031
|
-
var
|
|
3068
|
+
var import_jsx_runtime63 = require("react/jsx-runtime");
|
|
3032
3069
|
var CheckBadgeIcon = (_a) => {
|
|
3033
3070
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3034
|
-
return /* @__PURE__ */ (0,
|
|
3071
|
+
return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(
|
|
3035
3072
|
"svg",
|
|
3036
3073
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3037
3074
|
viewBox: "0 0 16 16",
|
|
@@ -3039,15 +3076,15 @@ var CheckBadgeIcon = (_a) => {
|
|
|
3039
3076
|
fill: "none"
|
|
3040
3077
|
}, getIconA11yProps(title2)), props), {
|
|
3041
3078
|
children: [
|
|
3042
|
-
title2 ? /* @__PURE__ */ (0,
|
|
3043
|
-
/* @__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)(
|
|
3044
3081
|
"path",
|
|
3045
3082
|
{
|
|
3046
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",
|
|
3047
3084
|
fill: "currentColor"
|
|
3048
3085
|
}
|
|
3049
3086
|
) }),
|
|
3050
|
-
/* @__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" }) }) })
|
|
3051
3088
|
]
|
|
3052
3089
|
})
|
|
3053
3090
|
);
|
|
@@ -3055,10 +3092,10 @@ var CheckBadgeIcon = (_a) => {
|
|
|
3055
3092
|
CheckBadgeIcon.displayName = "CheckBadgeIcon";
|
|
3056
3093
|
|
|
3057
3094
|
// src/primitives/icon/svg/chevron-down-thin.tsx
|
|
3058
|
-
var
|
|
3095
|
+
var import_jsx_runtime64 = require("react/jsx-runtime");
|
|
3059
3096
|
var ChevronDownThinIcon = (_a) => {
|
|
3060
3097
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3061
|
-
return /* @__PURE__ */ (0,
|
|
3098
|
+
return /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(
|
|
3062
3099
|
"svg",
|
|
3063
3100
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3064
3101
|
viewBox: "0 0 16 16",
|
|
@@ -3067,8 +3104,8 @@ var ChevronDownThinIcon = (_a) => {
|
|
|
3067
3104
|
className
|
|
3068
3105
|
}, getIconA11yProps(title2)), props), {
|
|
3069
3106
|
children: [
|
|
3070
|
-
title2 ? /* @__PURE__ */ (0,
|
|
3071
|
-
/* @__PURE__ */ (0,
|
|
3107
|
+
title2 ? /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("title", { children: title2 }) : null,
|
|
3108
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
|
|
3072
3109
|
"path",
|
|
3073
3110
|
{
|
|
3074
3111
|
d: "M4 6L8 10L12 6",
|
|
@@ -3085,10 +3122,10 @@ var ChevronDownThinIcon = (_a) => {
|
|
|
3085
3122
|
ChevronDownThinIcon.displayName = "ChevronDownThinIcon";
|
|
3086
3123
|
|
|
3087
3124
|
// src/primitives/icon/svg/cross-circle.tsx
|
|
3088
|
-
var
|
|
3125
|
+
var import_jsx_runtime65 = require("react/jsx-runtime");
|
|
3089
3126
|
var CrossCircleIcon = (_a) => {
|
|
3090
3127
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3091
|
-
return /* @__PURE__ */ (0,
|
|
3128
|
+
return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
|
|
3092
3129
|
"svg",
|
|
3093
3130
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3094
3131
|
width: "16",
|
|
@@ -3099,8 +3136,8 @@ var CrossCircleIcon = (_a) => {
|
|
|
3099
3136
|
className
|
|
3100
3137
|
}, getIconA11yProps(title2)), props), {
|
|
3101
3138
|
children: [
|
|
3102
|
-
title2 ? /* @__PURE__ */ (0,
|
|
3103
|
-
/* @__PURE__ */ (0,
|
|
3139
|
+
title2 ? /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("title", { children: title2 }) : null,
|
|
3140
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
|
3104
3141
|
"path",
|
|
3105
3142
|
{
|
|
3106
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",
|
|
@@ -3114,10 +3151,10 @@ var CrossCircleIcon = (_a) => {
|
|
|
3114
3151
|
CrossCircleIcon.displayName = "CrossCircleIcon";
|
|
3115
3152
|
|
|
3116
3153
|
// src/primitives/icon/svg/discord.tsx
|
|
3117
|
-
var
|
|
3154
|
+
var import_jsx_runtime66 = require("react/jsx-runtime");
|
|
3118
3155
|
var DiscordIcon = (_a) => {
|
|
3119
3156
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3120
|
-
return /* @__PURE__ */ (0,
|
|
3157
|
+
return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(
|
|
3121
3158
|
"svg",
|
|
3122
3159
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3123
3160
|
viewBox: "0 0 20 20",
|
|
@@ -3125,8 +3162,8 @@ var DiscordIcon = (_a) => {
|
|
|
3125
3162
|
fill: "none"
|
|
3126
3163
|
}, getIconA11yProps(title2)), props), {
|
|
3127
3164
|
children: [
|
|
3128
|
-
title2 ? /* @__PURE__ */ (0,
|
|
3129
|
-
/* @__PURE__ */ (0,
|
|
3165
|
+
title2 ? /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("title", { children: title2 }) : null,
|
|
3166
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
|
|
3130
3167
|
"path",
|
|
3131
3168
|
{
|
|
3132
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",
|
|
@@ -3140,10 +3177,10 @@ var DiscordIcon = (_a) => {
|
|
|
3140
3177
|
DiscordIcon.displayName = "DiscordIcon";
|
|
3141
3178
|
|
|
3142
3179
|
// src/primitives/icon/svg/email.tsx
|
|
3143
|
-
var
|
|
3180
|
+
var import_jsx_runtime67 = require("react/jsx-runtime");
|
|
3144
3181
|
var EmailIcon = (_a) => {
|
|
3145
3182
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3146
|
-
return /* @__PURE__ */ (0,
|
|
3183
|
+
return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(
|
|
3147
3184
|
"svg",
|
|
3148
3185
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3149
3186
|
viewBox: "0 0 20 20",
|
|
@@ -3151,8 +3188,8 @@ var EmailIcon = (_a) => {
|
|
|
3151
3188
|
fill: "none"
|
|
3152
3189
|
}, getIconA11yProps(title2)), props), {
|
|
3153
3190
|
children: [
|
|
3154
|
-
title2 ? /* @__PURE__ */ (0,
|
|
3155
|
-
/* @__PURE__ */ (0,
|
|
3191
|
+
title2 ? /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("title", { children: title2 }) : null,
|
|
3192
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
3156
3193
|
"path",
|
|
3157
3194
|
{
|
|
3158
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",
|
|
@@ -3162,7 +3199,7 @@ var EmailIcon = (_a) => {
|
|
|
3162
3199
|
strokeLinejoin: "round"
|
|
3163
3200
|
}
|
|
3164
3201
|
),
|
|
3165
|
-
/* @__PURE__ */ (0,
|
|
3202
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
3166
3203
|
"path",
|
|
3167
3204
|
{
|
|
3168
3205
|
d: "M18.3333 5L10 10.8333L1.66667 5",
|
|
@@ -3179,10 +3216,10 @@ var EmailIcon = (_a) => {
|
|
|
3179
3216
|
EmailIcon.displayName = "EmailIcon";
|
|
3180
3217
|
|
|
3181
3218
|
// src/primitives/icon/svg/internet-security.tsx
|
|
3182
|
-
var
|
|
3219
|
+
var import_jsx_runtime68 = require("react/jsx-runtime");
|
|
3183
3220
|
var InternetSecurityIcon = (_a) => {
|
|
3184
3221
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3185
|
-
return /* @__PURE__ */ (0,
|
|
3222
|
+
return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(
|
|
3186
3223
|
"svg",
|
|
3187
3224
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3188
3225
|
viewBox: "0 0 60 60",
|
|
@@ -3190,15 +3227,15 @@ var InternetSecurityIcon = (_a) => {
|
|
|
3190
3227
|
fill: "none"
|
|
3191
3228
|
}, getIconA11yProps(title2)), props), {
|
|
3192
3229
|
children: [
|
|
3193
|
-
title2 ? /* @__PURE__ */ (0,
|
|
3194
|
-
/* @__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)(
|
|
3195
3232
|
"path",
|
|
3196
3233
|
{
|
|
3197
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",
|
|
3198
3235
|
fill: "currentColor"
|
|
3199
3236
|
}
|
|
3200
3237
|
) }),
|
|
3201
|
-
/* @__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" }) }) })
|
|
3202
3239
|
]
|
|
3203
3240
|
})
|
|
3204
3241
|
);
|
|
@@ -3206,10 +3243,10 @@ var InternetSecurityIcon = (_a) => {
|
|
|
3206
3243
|
InternetSecurityIcon.displayName = "InternetSecurityIcon";
|
|
3207
3244
|
|
|
3208
3245
|
// src/primitives/icon/svg/link-accounts.tsx
|
|
3209
|
-
var
|
|
3246
|
+
var import_jsx_runtime69 = require("react/jsx-runtime");
|
|
3210
3247
|
var LinkAccountsIcon = (_a) => {
|
|
3211
3248
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3212
|
-
return /* @__PURE__ */ (0,
|
|
3249
|
+
return /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(
|
|
3213
3250
|
"svg",
|
|
3214
3251
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3215
3252
|
width: "28",
|
|
@@ -3220,26 +3257,60 @@ var LinkAccountsIcon = (_a) => {
|
|
|
3220
3257
|
className
|
|
3221
3258
|
}, getIconA11yProps(title2)), props), {
|
|
3222
3259
|
children: [
|
|
3223
|
-
title2 ? /* @__PURE__ */ (0,
|
|
3224
|
-
/* @__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)(
|
|
3225
3262
|
"path",
|
|
3226
3263
|
{
|
|
3227
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",
|
|
3228
3265
|
fill: "currentColor"
|
|
3229
3266
|
}
|
|
3230
3267
|
) }),
|
|
3231
|
-
/* @__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" }) }) })
|
|
3232
3269
|
]
|
|
3233
3270
|
})
|
|
3234
3271
|
);
|
|
3235
3272
|
};
|
|
3236
3273
|
LinkAccountsIcon.displayName = "LinkAccountsIcon";
|
|
3237
3274
|
|
|
3275
|
+
// src/primitives/icon/svg/lock.tsx
|
|
3276
|
+
var import_jsx_runtime70 = require("react/jsx-runtime");
|
|
3277
|
+
var LockIcon = (_a) => {
|
|
3278
|
+
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3279
|
+
return /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)(
|
|
3280
|
+
"svg",
|
|
3281
|
+
__spreadProps(__spreadValues(__spreadValues({
|
|
3282
|
+
viewBox: "0 0 12 12",
|
|
3283
|
+
className,
|
|
3284
|
+
fill: "none",
|
|
3285
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
3286
|
+
}, getIconA11yProps(title2)), props), {
|
|
3287
|
+
children: [
|
|
3288
|
+
title2 ? /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("title", { children: title2 }) : null,
|
|
3289
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
|
|
3290
|
+
"path",
|
|
3291
|
+
{
|
|
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",
|
|
3293
|
+
fill: "currentColor"
|
|
3294
|
+
}
|
|
3295
|
+
),
|
|
3296
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
|
|
3297
|
+
"path",
|
|
3298
|
+
{
|
|
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",
|
|
3300
|
+
fill: "currentColor"
|
|
3301
|
+
}
|
|
3302
|
+
)
|
|
3303
|
+
]
|
|
3304
|
+
})
|
|
3305
|
+
);
|
|
3306
|
+
};
|
|
3307
|
+
LockIcon.displayName = "LockIcon";
|
|
3308
|
+
|
|
3238
3309
|
// src/primitives/icon/svg/pencil.tsx
|
|
3239
|
-
var
|
|
3310
|
+
var import_jsx_runtime71 = require("react/jsx-runtime");
|
|
3240
3311
|
var PencilIcon = (_a) => {
|
|
3241
3312
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3242
|
-
return /* @__PURE__ */ (0,
|
|
3313
|
+
return /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(
|
|
3243
3314
|
"svg",
|
|
3244
3315
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3245
3316
|
viewBox: "0 0 16 16",
|
|
@@ -3247,15 +3318,15 @@ var PencilIcon = (_a) => {
|
|
|
3247
3318
|
fill: "none"
|
|
3248
3319
|
}, getIconA11yProps(title2)), props), {
|
|
3249
3320
|
children: [
|
|
3250
|
-
title2 ? /* @__PURE__ */ (0,
|
|
3251
|
-
/* @__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)(
|
|
3252
3323
|
"path",
|
|
3253
3324
|
{
|
|
3254
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",
|
|
3255
3326
|
fill: "currentColor"
|
|
3256
3327
|
}
|
|
3257
3328
|
) }),
|
|
3258
|
-
/* @__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" }) }) })
|
|
3259
3330
|
]
|
|
3260
3331
|
})
|
|
3261
3332
|
);
|
|
@@ -3263,10 +3334,10 @@ var PencilIcon = (_a) => {
|
|
|
3263
3334
|
PencilIcon.displayName = "PencilIcon";
|
|
3264
3335
|
|
|
3265
3336
|
// src/primitives/icon/svg/play-square.tsx
|
|
3266
|
-
var
|
|
3337
|
+
var import_jsx_runtime72 = require("react/jsx-runtime");
|
|
3267
3338
|
var PlaySquareIcon = (_a) => {
|
|
3268
3339
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3269
|
-
return /* @__PURE__ */ (0,
|
|
3340
|
+
return /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(
|
|
3270
3341
|
"svg",
|
|
3271
3342
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3272
3343
|
viewBox: "0 0 16 16",
|
|
@@ -3274,15 +3345,15 @@ var PlaySquareIcon = (_a) => {
|
|
|
3274
3345
|
fill: "none"
|
|
3275
3346
|
}, getIconA11yProps(title2)), props), {
|
|
3276
3347
|
children: [
|
|
3277
|
-
title2 ? /* @__PURE__ */ (0,
|
|
3278
|
-
/* @__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)(
|
|
3279
3350
|
"path",
|
|
3280
3351
|
{
|
|
3281
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",
|
|
3282
3353
|
fill: "currentColor"
|
|
3283
3354
|
}
|
|
3284
3355
|
) }),
|
|
3285
|
-
/* @__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" }) }) })
|
|
3286
3357
|
]
|
|
3287
3358
|
})
|
|
3288
3359
|
);
|
|
@@ -3290,10 +3361,10 @@ var PlaySquareIcon = (_a) => {
|
|
|
3290
3361
|
PlaySquareIcon.displayName = "PlaySquareIcon";
|
|
3291
3362
|
|
|
3292
3363
|
// src/primitives/icon/svg/polygon.tsx
|
|
3293
|
-
var
|
|
3364
|
+
var import_jsx_runtime73 = require("react/jsx-runtime");
|
|
3294
3365
|
var PolygonIcon = (_a) => {
|
|
3295
3366
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3296
|
-
return /* @__PURE__ */ (0,
|
|
3367
|
+
return /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(
|
|
3297
3368
|
"svg",
|
|
3298
3369
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3299
3370
|
viewBox: "0 0 24 24",
|
|
@@ -3301,9 +3372,9 @@ var PolygonIcon = (_a) => {
|
|
|
3301
3372
|
fill: "none"
|
|
3302
3373
|
}, getIconA11yProps(title2)), props), {
|
|
3303
3374
|
children: [
|
|
3304
|
-
title2 ? /* @__PURE__ */ (0,
|
|
3305
|
-
/* @__PURE__ */ (0,
|
|
3306
|
-
/* @__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)(
|
|
3307
3378
|
"path",
|
|
3308
3379
|
{
|
|
3309
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",
|
|
@@ -3317,10 +3388,10 @@ var PolygonIcon = (_a) => {
|
|
|
3317
3388
|
PolygonIcon.displayName = "PolygonIcon";
|
|
3318
3389
|
|
|
3319
3390
|
// src/primitives/icon/svg/quotes-warning.tsx
|
|
3320
|
-
var
|
|
3391
|
+
var import_jsx_runtime74 = require("react/jsx-runtime");
|
|
3321
3392
|
var QuotesWarningIcon = (_a) => {
|
|
3322
3393
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3323
|
-
return /* @__PURE__ */ (0,
|
|
3394
|
+
return /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(
|
|
3324
3395
|
"svg",
|
|
3325
3396
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3326
3397
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3331,8 +3402,8 @@ var QuotesWarningIcon = (_a) => {
|
|
|
3331
3402
|
className
|
|
3332
3403
|
}, getIconA11yProps(title2)), props), {
|
|
3333
3404
|
children: [
|
|
3334
|
-
title2 ? /* @__PURE__ */ (0,
|
|
3335
|
-
/* @__PURE__ */ (0,
|
|
3405
|
+
title2 ? /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("title", { children: title2 }) : null,
|
|
3406
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
|
|
3336
3407
|
"path",
|
|
3337
3408
|
{
|
|
3338
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",
|
|
@@ -3346,10 +3417,10 @@ var QuotesWarningIcon = (_a) => {
|
|
|
3346
3417
|
QuotesWarningIcon.displayName = "QuotesWarningIcon";
|
|
3347
3418
|
|
|
3348
3419
|
// src/primitives/icon/svg/profile-about-tab.tsx
|
|
3349
|
-
var
|
|
3420
|
+
var import_jsx_runtime75 = require("react/jsx-runtime");
|
|
3350
3421
|
var ProfileAboutTabIcon = (_a) => {
|
|
3351
3422
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3352
|
-
return /* @__PURE__ */ (0,
|
|
3423
|
+
return /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(
|
|
3353
3424
|
"svg",
|
|
3354
3425
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3355
3426
|
viewBox: "0 0 16 16",
|
|
@@ -3357,16 +3428,16 @@ var ProfileAboutTabIcon = (_a) => {
|
|
|
3357
3428
|
fill: "none"
|
|
3358
3429
|
}, getIconA11yProps(title2)), props), {
|
|
3359
3430
|
children: [
|
|
3360
|
-
title2 ? /* @__PURE__ */ (0,
|
|
3361
|
-
/* @__PURE__ */ (0,
|
|
3362
|
-
/* @__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)(
|
|
3363
3434
|
"path",
|
|
3364
3435
|
{
|
|
3365
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",
|
|
3366
3437
|
fill: "currentColor"
|
|
3367
3438
|
}
|
|
3368
3439
|
),
|
|
3369
|
-
/* @__PURE__ */ (0,
|
|
3440
|
+
/* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
|
|
3370
3441
|
"path",
|
|
3371
3442
|
{
|
|
3372
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",
|
|
@@ -3374,7 +3445,7 @@ var ProfileAboutTabIcon = (_a) => {
|
|
|
3374
3445
|
}
|
|
3375
3446
|
)
|
|
3376
3447
|
] }),
|
|
3377
|
-
/* @__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" }) }) })
|
|
3378
3449
|
]
|
|
3379
3450
|
})
|
|
3380
3451
|
);
|
|
@@ -3382,7 +3453,7 @@ var ProfileAboutTabIcon = (_a) => {
|
|
|
3382
3453
|
ProfileAboutTabIcon.displayName = "ProfileAboutTabIcon";
|
|
3383
3454
|
|
|
3384
3455
|
// src/primitives/icon/svg/profile-accounts-wallets-tab.tsx
|
|
3385
|
-
var
|
|
3456
|
+
var import_jsx_runtime76 = require("react/jsx-runtime");
|
|
3386
3457
|
var ProfileAccountsWalletsTabIcon = (_a) => {
|
|
3387
3458
|
var _b = _a, {
|
|
3388
3459
|
title: title2,
|
|
@@ -3391,7 +3462,7 @@ var ProfileAccountsWalletsTabIcon = (_a) => {
|
|
|
3391
3462
|
"title",
|
|
3392
3463
|
"className"
|
|
3393
3464
|
]);
|
|
3394
|
-
return /* @__PURE__ */ (0,
|
|
3465
|
+
return /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)(
|
|
3395
3466
|
"svg",
|
|
3396
3467
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3397
3468
|
viewBox: "0 0 16 16",
|
|
@@ -3399,15 +3470,15 @@ var ProfileAccountsWalletsTabIcon = (_a) => {
|
|
|
3399
3470
|
fill: "none"
|
|
3400
3471
|
}, getIconA11yProps(title2)), props), {
|
|
3401
3472
|
children: [
|
|
3402
|
-
title2 ? /* @__PURE__ */ (0,
|
|
3403
|
-
/* @__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)(
|
|
3404
3475
|
"path",
|
|
3405
3476
|
{
|
|
3406
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",
|
|
3407
3478
|
fill: "currentColor"
|
|
3408
3479
|
}
|
|
3409
3480
|
) }),
|
|
3410
|
-
/* @__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" }) }) })
|
|
3411
3482
|
]
|
|
3412
3483
|
})
|
|
3413
3484
|
);
|
|
@@ -3415,10 +3486,10 @@ var ProfileAccountsWalletsTabIcon = (_a) => {
|
|
|
3415
3486
|
ProfileAccountsWalletsTabIcon.displayName = "ProfileAccountsWalletsTabIcon";
|
|
3416
3487
|
|
|
3417
3488
|
// src/primitives/icon/svg/profile.tsx
|
|
3418
|
-
var
|
|
3489
|
+
var import_jsx_runtime77 = require("react/jsx-runtime");
|
|
3419
3490
|
var ProfileIcon = (_a) => {
|
|
3420
3491
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3421
|
-
return /* @__PURE__ */ (0,
|
|
3492
|
+
return /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(
|
|
3422
3493
|
"svg",
|
|
3423
3494
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3424
3495
|
viewBox: "0 0 16 16",
|
|
@@ -3426,16 +3497,16 @@ var ProfileIcon = (_a) => {
|
|
|
3426
3497
|
fill: "none"
|
|
3427
3498
|
}, getIconA11yProps(title2)), props), {
|
|
3428
3499
|
children: [
|
|
3429
|
-
title2 ? /* @__PURE__ */ (0,
|
|
3430
|
-
/* @__PURE__ */ (0,
|
|
3431
|
-
/* @__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)(
|
|
3432
3503
|
"path",
|
|
3433
3504
|
{
|
|
3434
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",
|
|
3435
3506
|
fill: "currentColor"
|
|
3436
3507
|
}
|
|
3437
3508
|
),
|
|
3438
|
-
/* @__PURE__ */ (0,
|
|
3509
|
+
/* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
|
|
3439
3510
|
"path",
|
|
3440
3511
|
{
|
|
3441
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",
|
|
@@ -3443,7 +3514,7 @@ var ProfileIcon = (_a) => {
|
|
|
3443
3514
|
}
|
|
3444
3515
|
)
|
|
3445
3516
|
] }),
|
|
3446
|
-
/* @__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" }) }) })
|
|
3447
3518
|
]
|
|
3448
3519
|
})
|
|
3449
3520
|
);
|
|
@@ -3451,10 +3522,10 @@ var ProfileIcon = (_a) => {
|
|
|
3451
3522
|
ProfileIcon.displayName = "ProfileIcon";
|
|
3452
3523
|
|
|
3453
3524
|
// src/primitives/icon/svg/recenter.tsx
|
|
3454
|
-
var
|
|
3525
|
+
var import_jsx_runtime78 = require("react/jsx-runtime");
|
|
3455
3526
|
var RecenterIcon = (_a) => {
|
|
3456
3527
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3457
|
-
return /* @__PURE__ */ (0,
|
|
3528
|
+
return /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)(
|
|
3458
3529
|
"svg",
|
|
3459
3530
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3460
3531
|
viewBox: "0 0 16 16",
|
|
@@ -3462,15 +3533,15 @@ var RecenterIcon = (_a) => {
|
|
|
3462
3533
|
fill: "none"
|
|
3463
3534
|
}, getIconA11yProps(title2)), props), {
|
|
3464
3535
|
children: [
|
|
3465
|
-
title2 ? /* @__PURE__ */ (0,
|
|
3466
|
-
/* @__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)(
|
|
3467
3538
|
"path",
|
|
3468
3539
|
{
|
|
3469
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",
|
|
3470
3541
|
fill: "currentColor"
|
|
3471
3542
|
}
|
|
3472
3543
|
) }),
|
|
3473
|
-
/* @__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" }) }) })
|
|
3474
3545
|
]
|
|
3475
3546
|
})
|
|
3476
3547
|
);
|
|
@@ -3478,10 +3549,10 @@ var RecenterIcon = (_a) => {
|
|
|
3478
3549
|
RecenterIcon.displayName = "RecenterIcon";
|
|
3479
3550
|
|
|
3480
3551
|
// src/primitives/icon/svg/revenue-alt.tsx
|
|
3481
|
-
var
|
|
3552
|
+
var import_jsx_runtime79 = require("react/jsx-runtime");
|
|
3482
3553
|
var RevenueAltIcon = (_a) => {
|
|
3483
3554
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3484
|
-
return /* @__PURE__ */ (0,
|
|
3555
|
+
return /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)(
|
|
3485
3556
|
"svg",
|
|
3486
3557
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3487
3558
|
viewBox: "0 0 20 20",
|
|
@@ -3489,8 +3560,8 @@ var RevenueAltIcon = (_a) => {
|
|
|
3489
3560
|
fill: "none"
|
|
3490
3561
|
}, getIconA11yProps(title2)), props), {
|
|
3491
3562
|
children: [
|
|
3492
|
-
title2 ? /* @__PURE__ */ (0,
|
|
3493
|
-
/* @__PURE__ */ (0,
|
|
3563
|
+
title2 ? /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("title", { children: title2 }) : null,
|
|
3564
|
+
/* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
|
|
3494
3565
|
"path",
|
|
3495
3566
|
{
|
|
3496
3567
|
d: "M3 14V6M3 6L1.5 7.5M3 6L4.5 7.5M17 6V14M17 14L15.5 12.5M17 14L18.5 12.5",
|
|
@@ -3500,7 +3571,7 @@ var RevenueAltIcon = (_a) => {
|
|
|
3500
3571
|
strokeLinejoin: "round"
|
|
3501
3572
|
}
|
|
3502
3573
|
),
|
|
3503
|
-
/* @__PURE__ */ (0,
|
|
3574
|
+
/* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
|
|
3504
3575
|
"path",
|
|
3505
3576
|
{
|
|
3506
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",
|
|
@@ -3517,10 +3588,10 @@ var RevenueAltIcon = (_a) => {
|
|
|
3517
3588
|
RevenueAltIcon.displayName = "RevenueAltIcon";
|
|
3518
3589
|
|
|
3519
3590
|
// src/primitives/icon/svg/search.tsx
|
|
3520
|
-
var
|
|
3591
|
+
var import_jsx_runtime80 = require("react/jsx-runtime");
|
|
3521
3592
|
var SearchIcon = (_a) => {
|
|
3522
3593
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3523
|
-
return /* @__PURE__ */ (0,
|
|
3594
|
+
return /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(
|
|
3524
3595
|
"svg",
|
|
3525
3596
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3526
3597
|
viewBox: "0 0 16 16",
|
|
@@ -3529,8 +3600,8 @@ var SearchIcon = (_a) => {
|
|
|
3529
3600
|
className
|
|
3530
3601
|
}, getIconA11yProps(title2)), props), {
|
|
3531
3602
|
children: [
|
|
3532
|
-
title2 ? /* @__PURE__ */ (0,
|
|
3533
|
-
/* @__PURE__ */ (0,
|
|
3603
|
+
title2 ? /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("title", { children: title2 }) : null,
|
|
3604
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
|
|
3534
3605
|
"path",
|
|
3535
3606
|
{
|
|
3536
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",
|
|
@@ -3540,7 +3611,7 @@ var SearchIcon = (_a) => {
|
|
|
3540
3611
|
strokeLinejoin: "round"
|
|
3541
3612
|
}
|
|
3542
3613
|
),
|
|
3543
|
-
/* @__PURE__ */ (0,
|
|
3614
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
|
|
3544
3615
|
"path",
|
|
3545
3616
|
{
|
|
3546
3617
|
d: "M13.6668 13.6666L11.1667 11.1666",
|
|
@@ -3557,34 +3628,24 @@ var SearchIcon = (_a) => {
|
|
|
3557
3628
|
SearchIcon.displayName = "SearchIcon";
|
|
3558
3629
|
|
|
3559
3630
|
// src/primitives/icon/svg/shield-trust.tsx
|
|
3560
|
-
var
|
|
3631
|
+
var import_jsx_runtime81 = require("react/jsx-runtime");
|
|
3561
3632
|
var ShieldTrustIcon = (_a) => {
|
|
3562
3633
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3563
|
-
return /* @__PURE__ */ (0,
|
|
3634
|
+
return /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)(
|
|
3564
3635
|
"svg",
|
|
3565
3636
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3566
|
-
viewBox: "0 0
|
|
3637
|
+
viewBox: "0 0 14 14",
|
|
3567
3638
|
className,
|
|
3568
3639
|
fill: "none"
|
|
3569
3640
|
}, getIconA11yProps(title2)), props), {
|
|
3570
3641
|
children: [
|
|
3571
|
-
title2 ? /* @__PURE__ */ (0,
|
|
3572
|
-
/* @__PURE__ */ (0,
|
|
3642
|
+
title2 ? /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("title", { children: title2 }) : null,
|
|
3643
|
+
/* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
|
|
3573
3644
|
"path",
|
|
3574
3645
|
{
|
|
3575
|
-
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",
|
|
3576
3647
|
fill: "currentColor"
|
|
3577
3648
|
}
|
|
3578
|
-
),
|
|
3579
|
-
/* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
|
|
3580
|
-
"path",
|
|
3581
|
-
{
|
|
3582
|
-
d: "M5.5 8.2L7.2 9.9L10.8 6.3",
|
|
3583
|
-
stroke: "white",
|
|
3584
|
-
strokeWidth: "1.4",
|
|
3585
|
-
strokeLinecap: "round",
|
|
3586
|
-
strokeLinejoin: "round"
|
|
3587
|
-
}
|
|
3588
3649
|
)
|
|
3589
3650
|
]
|
|
3590
3651
|
})
|
|
@@ -3593,10 +3654,10 @@ var ShieldTrustIcon = (_a) => {
|
|
|
3593
3654
|
ShieldTrustIcon.displayName = "ShieldTrustIcon";
|
|
3594
3655
|
|
|
3595
3656
|
// src/primitives/icon/svg/solana.tsx
|
|
3596
|
-
var
|
|
3657
|
+
var import_jsx_runtime82 = require("react/jsx-runtime");
|
|
3597
3658
|
var SolanaIcon = (_a) => {
|
|
3598
3659
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3599
|
-
return /* @__PURE__ */ (0,
|
|
3660
|
+
return /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)(
|
|
3600
3661
|
"svg",
|
|
3601
3662
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3602
3663
|
viewBox: "0 0 24 24",
|
|
@@ -3604,31 +3665,31 @@ var SolanaIcon = (_a) => {
|
|
|
3604
3665
|
fill: "none"
|
|
3605
3666
|
}, getIconA11yProps(title2)), props), {
|
|
3606
3667
|
children: [
|
|
3607
|
-
title2 ? /* @__PURE__ */ (0,
|
|
3608
|
-
/* @__PURE__ */ (0,
|
|
3609
|
-
/* @__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)(
|
|
3610
3671
|
"path",
|
|
3611
3672
|
{
|
|
3612
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",
|
|
3613
3674
|
fill: "url(#paint0_linear_1471_9988)"
|
|
3614
3675
|
}
|
|
3615
3676
|
),
|
|
3616
|
-
/* @__PURE__ */ (0,
|
|
3677
|
+
/* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
|
|
3617
3678
|
"path",
|
|
3618
3679
|
{
|
|
3619
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",
|
|
3620
3681
|
fill: "url(#paint1_linear_1471_9988)"
|
|
3621
3682
|
}
|
|
3622
3683
|
),
|
|
3623
|
-
/* @__PURE__ */ (0,
|
|
3684
|
+
/* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
|
|
3624
3685
|
"path",
|
|
3625
3686
|
{
|
|
3626
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",
|
|
3627
3688
|
fill: "url(#paint2_linear_1471_9988)"
|
|
3628
3689
|
}
|
|
3629
3690
|
),
|
|
3630
|
-
/* @__PURE__ */ (0,
|
|
3631
|
-
/* @__PURE__ */ (0,
|
|
3691
|
+
/* @__PURE__ */ (0, import_jsx_runtime82.jsxs)("defs", { children: [
|
|
3692
|
+
/* @__PURE__ */ (0, import_jsx_runtime82.jsxs)(
|
|
3632
3693
|
"linearGradient",
|
|
3633
3694
|
{
|
|
3634
3695
|
id: "paint0_linear_1471_9988",
|
|
@@ -3638,12 +3699,12 @@ var SolanaIcon = (_a) => {
|
|
|
3638
3699
|
y2: "22.2975",
|
|
3639
3700
|
gradientUnits: "userSpaceOnUse",
|
|
3640
3701
|
children: [
|
|
3641
|
-
/* @__PURE__ */ (0,
|
|
3642
|
-
/* @__PURE__ */ (0,
|
|
3702
|
+
/* @__PURE__ */ (0, import_jsx_runtime82.jsx)("stop", { stopColor: "#00FFA3" }),
|
|
3703
|
+
/* @__PURE__ */ (0, import_jsx_runtime82.jsx)("stop", { offset: "1", stopColor: "#DC1FFF" })
|
|
3643
3704
|
]
|
|
3644
3705
|
}
|
|
3645
3706
|
),
|
|
3646
|
-
/* @__PURE__ */ (0,
|
|
3707
|
+
/* @__PURE__ */ (0, import_jsx_runtime82.jsxs)(
|
|
3647
3708
|
"linearGradient",
|
|
3648
3709
|
{
|
|
3649
3710
|
id: "paint1_linear_1471_9988",
|
|
@@ -3653,12 +3714,12 @@ var SolanaIcon = (_a) => {
|
|
|
3653
3714
|
y2: "20.028",
|
|
3654
3715
|
gradientUnits: "userSpaceOnUse",
|
|
3655
3716
|
children: [
|
|
3656
|
-
/* @__PURE__ */ (0,
|
|
3657
|
-
/* @__PURE__ */ (0,
|
|
3717
|
+
/* @__PURE__ */ (0, import_jsx_runtime82.jsx)("stop", { stopColor: "#00FFA3" }),
|
|
3718
|
+
/* @__PURE__ */ (0, import_jsx_runtime82.jsx)("stop", { offset: "1", stopColor: "#DC1FFF" })
|
|
3658
3719
|
]
|
|
3659
3720
|
}
|
|
3660
3721
|
),
|
|
3661
|
-
/* @__PURE__ */ (0,
|
|
3722
|
+
/* @__PURE__ */ (0, import_jsx_runtime82.jsxs)(
|
|
3662
3723
|
"linearGradient",
|
|
3663
3724
|
{
|
|
3664
3725
|
id: "paint2_linear_1471_9988",
|
|
@@ -3668,8 +3729,8 @@ var SolanaIcon = (_a) => {
|
|
|
3668
3729
|
y2: "21.1555",
|
|
3669
3730
|
gradientUnits: "userSpaceOnUse",
|
|
3670
3731
|
children: [
|
|
3671
|
-
/* @__PURE__ */ (0,
|
|
3672
|
-
/* @__PURE__ */ (0,
|
|
3732
|
+
/* @__PURE__ */ (0, import_jsx_runtime82.jsx)("stop", { stopColor: "#00FFA3" }),
|
|
3733
|
+
/* @__PURE__ */ (0, import_jsx_runtime82.jsx)("stop", { offset: "1", stopColor: "#DC1FFF" })
|
|
3673
3734
|
]
|
|
3674
3735
|
}
|
|
3675
3736
|
)
|
|
@@ -3681,10 +3742,10 @@ var SolanaIcon = (_a) => {
|
|
|
3681
3742
|
SolanaIcon.displayName = "SolanaIcon";
|
|
3682
3743
|
|
|
3683
3744
|
// src/primitives/icon/svg/sparkles-filled.tsx
|
|
3684
|
-
var
|
|
3745
|
+
var import_jsx_runtime83 = require("react/jsx-runtime");
|
|
3685
3746
|
var SparklesFilledIcon = (_a) => {
|
|
3686
3747
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3687
|
-
return /* @__PURE__ */ (0,
|
|
3748
|
+
return /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)(
|
|
3688
3749
|
"svg",
|
|
3689
3750
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3690
3751
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3695,15 +3756,15 @@ var SparklesFilledIcon = (_a) => {
|
|
|
3695
3756
|
className
|
|
3696
3757
|
}, getIconA11yProps(title2)), props), {
|
|
3697
3758
|
children: [
|
|
3698
|
-
/* @__PURE__ */ (0,
|
|
3759
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)("g", { clipPath: "url(#clip0_2028_8371)", children: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
|
|
3699
3760
|
"path",
|
|
3700
3761
|
{
|
|
3701
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",
|
|
3702
3763
|
fill: "currentColor"
|
|
3703
3764
|
}
|
|
3704
3765
|
) }),
|
|
3705
|
-
/* @__PURE__ */ (0,
|
|
3706
|
-
/* @__PURE__ */ (0,
|
|
3766
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsxs)("defs", { children: [
|
|
3767
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsxs)(
|
|
3707
3768
|
"linearGradient",
|
|
3708
3769
|
{
|
|
3709
3770
|
id: "paint0_linear_2028_8371",
|
|
@@ -3713,12 +3774,12 @@ var SparklesFilledIcon = (_a) => {
|
|
|
3713
3774
|
y2: "7.99997",
|
|
3714
3775
|
gradientUnits: "userSpaceOnUse",
|
|
3715
3776
|
children: [
|
|
3716
|
-
/* @__PURE__ */ (0,
|
|
3717
|
-
/* @__PURE__ */ (0,
|
|
3777
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)("stop", { stopColor: "currentColor" }),
|
|
3778
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)("stop", { offset: "1", stopColor: "currentColor" })
|
|
3718
3779
|
]
|
|
3719
3780
|
}
|
|
3720
3781
|
),
|
|
3721
|
-
/* @__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" }) })
|
|
3722
3783
|
] })
|
|
3723
3784
|
]
|
|
3724
3785
|
})
|
|
@@ -3727,10 +3788,10 @@ var SparklesFilledIcon = (_a) => {
|
|
|
3727
3788
|
SparklesFilledIcon.displayName = "SparklesFilledIcon";
|
|
3728
3789
|
|
|
3729
3790
|
// src/primitives/icon/svg/stay-in-control.tsx
|
|
3730
|
-
var
|
|
3791
|
+
var import_jsx_runtime84 = require("react/jsx-runtime");
|
|
3731
3792
|
var StayInControlIcon = (_a) => {
|
|
3732
3793
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3733
|
-
return /* @__PURE__ */ (0,
|
|
3794
|
+
return /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(
|
|
3734
3795
|
"svg",
|
|
3735
3796
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3736
3797
|
width: "28",
|
|
@@ -3741,16 +3802,16 @@ var StayInControlIcon = (_a) => {
|
|
|
3741
3802
|
className
|
|
3742
3803
|
}, getIconA11yProps(title2)), props), {
|
|
3743
3804
|
children: [
|
|
3744
|
-
title2 ? /* @__PURE__ */ (0,
|
|
3745
|
-
/* @__PURE__ */ (0,
|
|
3746
|
-
/* @__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)(
|
|
3747
3808
|
"path",
|
|
3748
3809
|
{
|
|
3749
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",
|
|
3750
3811
|
fill: "currentColor"
|
|
3751
3812
|
}
|
|
3752
3813
|
),
|
|
3753
|
-
/* @__PURE__ */ (0,
|
|
3814
|
+
/* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
|
|
3754
3815
|
"path",
|
|
3755
3816
|
{
|
|
3756
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",
|
|
@@ -3758,7 +3819,7 @@ var StayInControlIcon = (_a) => {
|
|
|
3758
3819
|
}
|
|
3759
3820
|
)
|
|
3760
3821
|
] }),
|
|
3761
|
-
/* @__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" }) }) })
|
|
3762
3823
|
]
|
|
3763
3824
|
})
|
|
3764
3825
|
);
|
|
@@ -3766,10 +3827,10 @@ var StayInControlIcon = (_a) => {
|
|
|
3766
3827
|
StayInControlIcon.displayName = "StayInControlIcon";
|
|
3767
3828
|
|
|
3768
3829
|
// src/primitives/icon/svg/success-check.tsx
|
|
3769
|
-
var
|
|
3830
|
+
var import_jsx_runtime85 = require("react/jsx-runtime");
|
|
3770
3831
|
var SuccessCheckIcon = (_a) => {
|
|
3771
3832
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3772
|
-
return /* @__PURE__ */ (0,
|
|
3833
|
+
return /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(
|
|
3773
3834
|
"svg",
|
|
3774
3835
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3775
3836
|
width: "24",
|
|
@@ -3780,8 +3841,8 @@ var SuccessCheckIcon = (_a) => {
|
|
|
3780
3841
|
className
|
|
3781
3842
|
}, getIconA11yProps(title2)), props), {
|
|
3782
3843
|
children: [
|
|
3783
|
-
title2 ? /* @__PURE__ */ (0,
|
|
3784
|
-
/* @__PURE__ */ (0,
|
|
3844
|
+
title2 ? /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("title", { children: title2 }) : null,
|
|
3845
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
3785
3846
|
"path",
|
|
3786
3847
|
{
|
|
3787
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",
|
|
@@ -3795,10 +3856,10 @@ var SuccessCheckIcon = (_a) => {
|
|
|
3795
3856
|
SuccessCheckIcon.displayName = "SuccessCheckIcon";
|
|
3796
3857
|
|
|
3797
3858
|
// src/primitives/icon/svg/telegram.tsx
|
|
3798
|
-
var
|
|
3859
|
+
var import_jsx_runtime86 = require("react/jsx-runtime");
|
|
3799
3860
|
var TelegramIcon = (_a) => {
|
|
3800
3861
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3801
|
-
return /* @__PURE__ */ (0,
|
|
3862
|
+
return /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(
|
|
3802
3863
|
"svg",
|
|
3803
3864
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3804
3865
|
viewBox: "0 0 20 20",
|
|
@@ -3806,8 +3867,8 @@ var TelegramIcon = (_a) => {
|
|
|
3806
3867
|
fill: "none"
|
|
3807
3868
|
}, getIconA11yProps(title2)), props), {
|
|
3808
3869
|
children: [
|
|
3809
|
-
title2 ? /* @__PURE__ */ (0,
|
|
3810
|
-
/* @__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)(
|
|
3811
3872
|
"path",
|
|
3812
3873
|
{
|
|
3813
3874
|
fillRule: "evenodd",
|
|
@@ -3816,7 +3877,7 @@ var TelegramIcon = (_a) => {
|
|
|
3816
3877
|
fill: "currentColor"
|
|
3817
3878
|
}
|
|
3818
3879
|
) }),
|
|
3819
|
-
/* @__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" }) }) })
|
|
3820
3881
|
]
|
|
3821
3882
|
})
|
|
3822
3883
|
);
|
|
@@ -3824,10 +3885,10 @@ var TelegramIcon = (_a) => {
|
|
|
3824
3885
|
TelegramIcon.displayName = "TelegramIcon";
|
|
3825
3886
|
|
|
3826
3887
|
// src/primitives/icon/svg/triangle-down.tsx
|
|
3827
|
-
var
|
|
3888
|
+
var import_jsx_runtime87 = require("react/jsx-runtime");
|
|
3828
3889
|
var TriangleDownIcon = (_a) => {
|
|
3829
3890
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3830
|
-
return /* @__PURE__ */ (0,
|
|
3891
|
+
return /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
|
|
3831
3892
|
"svg",
|
|
3832
3893
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3833
3894
|
viewBox: "0 0 8 8",
|
|
@@ -3835,16 +3896,16 @@ var TriangleDownIcon = (_a) => {
|
|
|
3835
3896
|
fill: "none"
|
|
3836
3897
|
}, getIconA11yProps(title2)), props), {
|
|
3837
3898
|
children: [
|
|
3838
|
-
title2 ? /* @__PURE__ */ (0,
|
|
3839
|
-
/* @__PURE__ */ (0,
|
|
3840
|
-
/* @__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)(
|
|
3841
3902
|
"path",
|
|
3842
3903
|
{
|
|
3843
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",
|
|
3844
3905
|
fill: "currentColor"
|
|
3845
3906
|
}
|
|
3846
3907
|
),
|
|
3847
|
-
/* @__PURE__ */ (0,
|
|
3908
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
|
|
3848
3909
|
"path",
|
|
3849
3910
|
{
|
|
3850
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",
|
|
@@ -3852,7 +3913,7 @@ var TriangleDownIcon = (_a) => {
|
|
|
3852
3913
|
}
|
|
3853
3914
|
)
|
|
3854
3915
|
] }),
|
|
3855
|
-
/* @__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" }) }) })
|
|
3856
3917
|
]
|
|
3857
3918
|
})
|
|
3858
3919
|
);
|
|
@@ -3860,10 +3921,10 @@ var TriangleDownIcon = (_a) => {
|
|
|
3860
3921
|
TriangleDownIcon.displayName = "TriangleDownIcon";
|
|
3861
3922
|
|
|
3862
3923
|
// src/primitives/icon/svg/triangle-up.tsx
|
|
3863
|
-
var
|
|
3924
|
+
var import_jsx_runtime88 = require("react/jsx-runtime");
|
|
3864
3925
|
var TriangleUpIcon = (_a) => {
|
|
3865
3926
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3866
|
-
return /* @__PURE__ */ (0,
|
|
3927
|
+
return /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(
|
|
3867
3928
|
"svg",
|
|
3868
3929
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3869
3930
|
viewBox: "0 0 8 8",
|
|
@@ -3871,16 +3932,16 @@ var TriangleUpIcon = (_a) => {
|
|
|
3871
3932
|
fill: "none"
|
|
3872
3933
|
}, getIconA11yProps(title2)), props), {
|
|
3873
3934
|
children: [
|
|
3874
|
-
title2 ? /* @__PURE__ */ (0,
|
|
3875
|
-
/* @__PURE__ */ (0,
|
|
3876
|
-
/* @__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)(
|
|
3877
3938
|
"path",
|
|
3878
3939
|
{
|
|
3879
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",
|
|
3880
3941
|
fill: "currentColor"
|
|
3881
3942
|
}
|
|
3882
3943
|
),
|
|
3883
|
-
/* @__PURE__ */ (0,
|
|
3944
|
+
/* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
|
|
3884
3945
|
"path",
|
|
3885
3946
|
{
|
|
3886
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",
|
|
@@ -3888,7 +3949,7 @@ var TriangleUpIcon = (_a) => {
|
|
|
3888
3949
|
}
|
|
3889
3950
|
)
|
|
3890
3951
|
] }),
|
|
3891
|
-
/* @__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" }) }) })
|
|
3892
3953
|
]
|
|
3893
3954
|
})
|
|
3894
3955
|
);
|
|
@@ -3896,10 +3957,10 @@ var TriangleUpIcon = (_a) => {
|
|
|
3896
3957
|
TriangleUpIcon.displayName = "TriangleUpIcon";
|
|
3897
3958
|
|
|
3898
3959
|
// src/primitives/icon/svg/triangle-up-filled.tsx
|
|
3899
|
-
var
|
|
3960
|
+
var import_jsx_runtime89 = require("react/jsx-runtime");
|
|
3900
3961
|
var TriangleUpFilledIcon = (_a) => {
|
|
3901
3962
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3902
|
-
return /* @__PURE__ */ (0,
|
|
3963
|
+
return /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(
|
|
3903
3964
|
"svg",
|
|
3904
3965
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3905
3966
|
viewBox: "0 0 8 8",
|
|
@@ -3907,8 +3968,8 @@ var TriangleUpFilledIcon = (_a) => {
|
|
|
3907
3968
|
fill: "none"
|
|
3908
3969
|
}, getIconA11yProps(title2)), props), {
|
|
3909
3970
|
children: [
|
|
3910
|
-
title2 ? /* @__PURE__ */ (0,
|
|
3911
|
-
/* @__PURE__ */ (0,
|
|
3971
|
+
title2 ? /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("title", { children: title2 }) : null,
|
|
3972
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
|
|
3912
3973
|
"path",
|
|
3913
3974
|
{
|
|
3914
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",
|
|
@@ -3922,10 +3983,10 @@ var TriangleUpFilledIcon = (_a) => {
|
|
|
3922
3983
|
TriangleUpFilledIcon.displayName = "TriangleUpFilledIcon";
|
|
3923
3984
|
|
|
3924
3985
|
// src/primitives/icon/svg/twitter.tsx
|
|
3925
|
-
var
|
|
3986
|
+
var import_jsx_runtime90 = require("react/jsx-runtime");
|
|
3926
3987
|
var TwitterIcon = (_a) => {
|
|
3927
3988
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3928
|
-
return /* @__PURE__ */ (0,
|
|
3989
|
+
return /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(
|
|
3929
3990
|
"svg",
|
|
3930
3991
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3931
3992
|
viewBox: "0 0 24 24",
|
|
@@ -3933,8 +3994,8 @@ var TwitterIcon = (_a) => {
|
|
|
3933
3994
|
fill: "none"
|
|
3934
3995
|
}, getIconA11yProps(title2)), props), {
|
|
3935
3996
|
children: [
|
|
3936
|
-
title2 ? /* @__PURE__ */ (0,
|
|
3937
|
-
/* @__PURE__ */ (0,
|
|
3997
|
+
title2 ? /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("title", { children: title2 }) : null,
|
|
3998
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
|
|
3938
3999
|
"path",
|
|
3939
4000
|
{
|
|
3940
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",
|
|
@@ -3948,10 +4009,10 @@ var TwitterIcon = (_a) => {
|
|
|
3948
4009
|
TwitterIcon.displayName = "TwitterIcon";
|
|
3949
4010
|
|
|
3950
4011
|
// src/primitives/icon/svg/upload.tsx
|
|
3951
|
-
var
|
|
4012
|
+
var import_jsx_runtime91 = require("react/jsx-runtime");
|
|
3952
4013
|
var UploadIcon = (_a) => {
|
|
3953
4014
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3954
|
-
return /* @__PURE__ */ (0,
|
|
4015
|
+
return /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)(
|
|
3955
4016
|
"svg",
|
|
3956
4017
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3957
4018
|
viewBox: "0 0 16 16",
|
|
@@ -3959,16 +4020,16 @@ var UploadIcon = (_a) => {
|
|
|
3959
4020
|
fill: "none"
|
|
3960
4021
|
}, getIconA11yProps(title2)), props), {
|
|
3961
4022
|
children: [
|
|
3962
|
-
title2 ? /* @__PURE__ */ (0,
|
|
3963
|
-
/* @__PURE__ */ (0,
|
|
3964
|
-
/* @__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)(
|
|
3965
4026
|
"path",
|
|
3966
4027
|
{
|
|
3967
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",
|
|
3968
4029
|
fill: "currentColor"
|
|
3969
4030
|
}
|
|
3970
4031
|
),
|
|
3971
|
-
/* @__PURE__ */ (0,
|
|
4032
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
|
|
3972
4033
|
"path",
|
|
3973
4034
|
{
|
|
3974
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",
|
|
@@ -3976,7 +4037,7 @@ var UploadIcon = (_a) => {
|
|
|
3976
4037
|
}
|
|
3977
4038
|
)
|
|
3978
4039
|
] }),
|
|
3979
|
-
/* @__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" }) }) })
|
|
3980
4041
|
]
|
|
3981
4042
|
})
|
|
3982
4043
|
);
|
|
@@ -3984,10 +4045,10 @@ var UploadIcon = (_a) => {
|
|
|
3984
4045
|
UploadIcon.displayName = "UploadIcon";
|
|
3985
4046
|
|
|
3986
4047
|
// src/primitives/icon/svg/user-trust.tsx
|
|
3987
|
-
var
|
|
4048
|
+
var import_jsx_runtime92 = require("react/jsx-runtime");
|
|
3988
4049
|
var UserTrustIcon = (_a) => {
|
|
3989
4050
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3990
|
-
return /* @__PURE__ */ (0,
|
|
4051
|
+
return /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)(
|
|
3991
4052
|
"svg",
|
|
3992
4053
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3993
4054
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3996,15 +4057,15 @@ var UserTrustIcon = (_a) => {
|
|
|
3996
4057
|
className
|
|
3997
4058
|
}, getIconA11yProps(title2)), props), {
|
|
3998
4059
|
children: [
|
|
3999
|
-
title2 ? /* @__PURE__ */ (0,
|
|
4000
|
-
/* @__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)(
|
|
4001
4062
|
"path",
|
|
4002
4063
|
{
|
|
4003
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",
|
|
4004
4065
|
fill: "currentColor"
|
|
4005
4066
|
}
|
|
4006
4067
|
) }),
|
|
4007
|
-
/* @__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" }) }) })
|
|
4008
4069
|
]
|
|
4009
4070
|
})
|
|
4010
4071
|
);
|
|
@@ -4012,10 +4073,10 @@ var UserTrustIcon = (_a) => {
|
|
|
4012
4073
|
UserTrustIcon.displayName = "UserTrustIcon";
|
|
4013
4074
|
|
|
4014
4075
|
// src/primitives/icon/svg/usdc.tsx
|
|
4015
|
-
var
|
|
4076
|
+
var import_jsx_runtime93 = require("react/jsx-runtime");
|
|
4016
4077
|
var UsdcIcon = (_a) => {
|
|
4017
4078
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
4018
|
-
return /* @__PURE__ */ (0,
|
|
4079
|
+
return /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)(
|
|
4019
4080
|
"svg",
|
|
4020
4081
|
__spreadProps(__spreadValues(__spreadValues({
|
|
4021
4082
|
viewBox: "0 0 32 32",
|
|
@@ -4023,16 +4084,16 @@ var UsdcIcon = (_a) => {
|
|
|
4023
4084
|
fill: "none"
|
|
4024
4085
|
}, getIconA11yProps(title2)), props), {
|
|
4025
4086
|
children: [
|
|
4026
|
-
title2 ? /* @__PURE__ */ (0,
|
|
4027
|
-
/* @__PURE__ */ (0,
|
|
4028
|
-
/* @__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)(
|
|
4029
4090
|
"path",
|
|
4030
4091
|
{
|
|
4031
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",
|
|
4032
4093
|
fill: "#fff"
|
|
4033
4094
|
}
|
|
4034
4095
|
),
|
|
4035
|
-
/* @__PURE__ */ (0,
|
|
4096
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
|
|
4036
4097
|
"path",
|
|
4037
4098
|
{
|
|
4038
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",
|
|
@@ -4046,10 +4107,10 @@ var UsdcIcon = (_a) => {
|
|
|
4046
4107
|
UsdcIcon.displayName = "UsdcIcon";
|
|
4047
4108
|
|
|
4048
4109
|
// src/primitives/icon/svg/wallet.tsx
|
|
4049
|
-
var
|
|
4110
|
+
var import_jsx_runtime94 = require("react/jsx-runtime");
|
|
4050
4111
|
var WalletIcon = (_a) => {
|
|
4051
4112
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
4052
|
-
return /* @__PURE__ */ (0,
|
|
4113
|
+
return /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)(
|
|
4053
4114
|
"svg",
|
|
4054
4115
|
__spreadProps(__spreadValues(__spreadValues({
|
|
4055
4116
|
viewBox: "0 0 24 24",
|
|
@@ -4057,8 +4118,8 @@ var WalletIcon = (_a) => {
|
|
|
4057
4118
|
fill: "none"
|
|
4058
4119
|
}, getIconA11yProps(title2)), props), {
|
|
4059
4120
|
children: [
|
|
4060
|
-
title2 ? /* @__PURE__ */ (0,
|
|
4061
|
-
/* @__PURE__ */ (0,
|
|
4121
|
+
title2 ? /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("title", { children: title2 }) : null,
|
|
4122
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
|
|
4062
4123
|
"path",
|
|
4063
4124
|
{
|
|
4064
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",
|
|
@@ -4072,10 +4133,10 @@ var WalletIcon = (_a) => {
|
|
|
4072
4133
|
WalletIcon.displayName = "WalletIcon";
|
|
4073
4134
|
|
|
4074
4135
|
// src/primitives/icon/svg/wallet-avatar.tsx
|
|
4075
|
-
var
|
|
4136
|
+
var import_jsx_runtime95 = require("react/jsx-runtime");
|
|
4076
4137
|
function WalletAvatarIcon(_a) {
|
|
4077
4138
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
4078
|
-
return /* @__PURE__ */ (0,
|
|
4139
|
+
return /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)(
|
|
4079
4140
|
"svg",
|
|
4080
4141
|
__spreadProps(__spreadValues(__spreadValues({
|
|
4081
4142
|
fill: "none",
|
|
@@ -4083,9 +4144,9 @@ function WalletAvatarIcon(_a) {
|
|
|
4083
4144
|
viewBox: "0 0 16 16"
|
|
4084
4145
|
}, getIconA11yProps(title2)), props), {
|
|
4085
4146
|
children: [
|
|
4086
|
-
title2 ? /* @__PURE__ */ (0,
|
|
4087
|
-
/* @__PURE__ */ (0,
|
|
4088
|
-
/* @__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" })
|
|
4089
4150
|
]
|
|
4090
4151
|
})
|
|
4091
4152
|
);
|
|
@@ -4093,10 +4154,10 @@ function WalletAvatarIcon(_a) {
|
|
|
4093
4154
|
WalletAvatarIcon.displayName = "WalletAvatarIcon";
|
|
4094
4155
|
|
|
4095
4156
|
// src/primitives/icon/svg/wallet-filled.tsx
|
|
4096
|
-
var
|
|
4157
|
+
var import_jsx_runtime96 = require("react/jsx-runtime");
|
|
4097
4158
|
var WalletFilledIcon = (_a) => {
|
|
4098
4159
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
4099
|
-
return /* @__PURE__ */ (0,
|
|
4160
|
+
return /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(
|
|
4100
4161
|
"svg",
|
|
4101
4162
|
__spreadProps(__spreadValues(__spreadValues({
|
|
4102
4163
|
viewBox: "0 0 14 14",
|
|
@@ -4104,8 +4165,8 @@ var WalletFilledIcon = (_a) => {
|
|
|
4104
4165
|
fill: "none"
|
|
4105
4166
|
}, getIconA11yProps(title2)), props), {
|
|
4106
4167
|
children: [
|
|
4107
|
-
title2 ? /* @__PURE__ */ (0,
|
|
4108
|
-
/* @__PURE__ */ (0,
|
|
4168
|
+
title2 ? /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("title", { children: title2 }) : null,
|
|
4169
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
|
|
4109
4170
|
"path",
|
|
4110
4171
|
{
|
|
4111
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",
|
|
@@ -4119,10 +4180,10 @@ var WalletFilledIcon = (_a) => {
|
|
|
4119
4180
|
WalletFilledIcon.displayName = "WalletFilledIcon";
|
|
4120
4181
|
|
|
4121
4182
|
// src/primitives/icon/svg/paper-plane.tsx
|
|
4122
|
-
var
|
|
4183
|
+
var import_jsx_runtime97 = require("react/jsx-runtime");
|
|
4123
4184
|
var PaperPlaneIcon = (_a) => {
|
|
4124
4185
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
4125
|
-
return /* @__PURE__ */ (0,
|
|
4186
|
+
return /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)(
|
|
4126
4187
|
"svg",
|
|
4127
4188
|
__spreadProps(__spreadValues(__spreadValues({
|
|
4128
4189
|
viewBox: "0 0 24 24",
|
|
@@ -4130,15 +4191,15 @@ var PaperPlaneIcon = (_a) => {
|
|
|
4130
4191
|
fill: "none"
|
|
4131
4192
|
}, getIconA11yProps(title2)), props), {
|
|
4132
4193
|
children: [
|
|
4133
|
-
title2 ? /* @__PURE__ */ (0,
|
|
4134
|
-
/* @__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)(
|
|
4135
4196
|
"path",
|
|
4136
4197
|
{
|
|
4137
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",
|
|
4138
4199
|
fill: "currentColor"
|
|
4139
4200
|
}
|
|
4140
4201
|
) }),
|
|
4141
|
-
/* @__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" }) }) })
|
|
4142
4203
|
]
|
|
4143
4204
|
})
|
|
4144
4205
|
);
|
|
@@ -4146,10 +4207,10 @@ var PaperPlaneIcon = (_a) => {
|
|
|
4146
4207
|
PaperPlaneIcon.displayName = "PaperPlaneIcon";
|
|
4147
4208
|
|
|
4148
4209
|
// src/primitives/icon/svg/warning.tsx
|
|
4149
|
-
var
|
|
4210
|
+
var import_jsx_runtime98 = require("react/jsx-runtime");
|
|
4150
4211
|
var WarningIcon = (_a) => {
|
|
4151
4212
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
4152
|
-
return /* @__PURE__ */ (0,
|
|
4213
|
+
return /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)(
|
|
4153
4214
|
"svg",
|
|
4154
4215
|
__spreadProps(__spreadValues(__spreadValues({
|
|
4155
4216
|
width: "14",
|
|
@@ -4160,8 +4221,8 @@ var WarningIcon = (_a) => {
|
|
|
4160
4221
|
className
|
|
4161
4222
|
}, getIconA11yProps(title2)), props), {
|
|
4162
4223
|
children: [
|
|
4163
|
-
title2 ? /* @__PURE__ */ (0,
|
|
4164
|
-
/* @__PURE__ */ (0,
|
|
4224
|
+
title2 ? /* @__PURE__ */ (0, import_jsx_runtime98.jsx)("title", { children: title2 }) : null,
|
|
4225
|
+
/* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
|
|
4165
4226
|
"path",
|
|
4166
4227
|
{
|
|
4167
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",
|
|
@@ -4175,10 +4236,10 @@ var WarningIcon = (_a) => {
|
|
|
4175
4236
|
WarningIcon.displayName = "WarningIcon";
|
|
4176
4237
|
|
|
4177
4238
|
// src/primitives/icon/svg/warning-filled.tsx
|
|
4178
|
-
var
|
|
4239
|
+
var import_jsx_runtime99 = require("react/jsx-runtime");
|
|
4179
4240
|
var WarningFilledIcon = (_a) => {
|
|
4180
4241
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
4181
|
-
return /* @__PURE__ */ (0,
|
|
4242
|
+
return /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)(
|
|
4182
4243
|
"svg",
|
|
4183
4244
|
__spreadProps(__spreadValues(__spreadValues({
|
|
4184
4245
|
viewBox: "0 0 16 16",
|
|
@@ -4186,8 +4247,8 @@ var WarningFilledIcon = (_a) => {
|
|
|
4186
4247
|
fill: "none"
|
|
4187
4248
|
}, getIconA11yProps(title2)), props), {
|
|
4188
4249
|
children: [
|
|
4189
|
-
title2 ? /* @__PURE__ */ (0,
|
|
4190
|
-
/* @__PURE__ */ (0,
|
|
4250
|
+
title2 ? /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("title", { children: title2 }) : null,
|
|
4251
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
|
|
4191
4252
|
"path",
|
|
4192
4253
|
{
|
|
4193
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",
|
|
@@ -4241,10 +4302,12 @@ var iconRegistry = {
|
|
|
4241
4302
|
ethereum: EthereumIcon,
|
|
4242
4303
|
"external-link": ExternalLinkIcon,
|
|
4243
4304
|
google: GoogleIcon,
|
|
4305
|
+
"hourglass-start": HourglassStartIcon,
|
|
4244
4306
|
image: ImageIcon,
|
|
4245
4307
|
info: InfoIcon,
|
|
4246
4308
|
"internet-security": InternetSecurityIcon,
|
|
4247
4309
|
"link-accounts": LinkAccountsIcon,
|
|
4310
|
+
lock: LockIcon,
|
|
4248
4311
|
pencil: PencilIcon,
|
|
4249
4312
|
"play-square": PlaySquareIcon,
|
|
4250
4313
|
polygon: PolygonIcon,
|
|
@@ -4287,7 +4350,7 @@ var resolveIconStyle = (color, style) => {
|
|
|
4287
4350
|
};
|
|
4288
4351
|
|
|
4289
4352
|
// src/primitives/icon/index.tsx
|
|
4290
|
-
var
|
|
4353
|
+
var import_jsx_runtime100 = require("react/jsx-runtime");
|
|
4291
4354
|
var Icon = (_a) => {
|
|
4292
4355
|
var _b = _a, {
|
|
4293
4356
|
name,
|
|
@@ -4311,7 +4374,7 @@ var Icon = (_a) => {
|
|
|
4311
4374
|
}
|
|
4312
4375
|
const resolvedStyle = resolveIconStyle(color, style);
|
|
4313
4376
|
const resolvedClassName = cn(iconSizeClasses[size], className);
|
|
4314
|
-
return /* @__PURE__ */ (0,
|
|
4377
|
+
return /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(
|
|
4315
4378
|
Component,
|
|
4316
4379
|
__spreadValues({
|
|
4317
4380
|
color,
|
|
@@ -4323,7 +4386,7 @@ var Icon = (_a) => {
|
|
|
4323
4386
|
Icon.displayName = "Icon";
|
|
4324
4387
|
|
|
4325
4388
|
// src/geo-block-banner/index.tsx
|
|
4326
|
-
var
|
|
4389
|
+
var import_jsx_runtime101 = require("react/jsx-runtime");
|
|
4327
4390
|
var GeoBlockBanner = ({
|
|
4328
4391
|
venue,
|
|
4329
4392
|
termsUrl = AGG_TERMS_OF_SERVICE_URL,
|
|
@@ -4331,18 +4394,18 @@ var GeoBlockBanner = ({
|
|
|
4331
4394
|
}) => {
|
|
4332
4395
|
const labels = (0, import_hooks20.useLabels)();
|
|
4333
4396
|
const message = venue ? labels.trading.geoBlockVenueMessage(venue) : labels.trading.geoBlockGenericMessage;
|
|
4334
|
-
return /* @__PURE__ */ (0,
|
|
4397
|
+
return /* @__PURE__ */ (0, import_jsx_runtime101.jsxs)(
|
|
4335
4398
|
"div",
|
|
4336
4399
|
{
|
|
4337
|
-
className: cn("flex items-center gap-5 rounded-agg-
|
|
4400
|
+
className: cn("flex items-center gap-5 rounded-agg-lg bg-agg-secondary-hover p-3", className),
|
|
4338
4401
|
role: "status",
|
|
4339
4402
|
children: [
|
|
4340
|
-
/* @__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: [
|
|
4341
4404
|
message,
|
|
4342
|
-
/* @__PURE__ */ (0,
|
|
4405
|
+
/* @__PURE__ */ (0, import_jsx_runtime101.jsx)("a", { href: termsUrl, className: "underline", target: "_blank", rel: "noreferrer noopener", children: labels.trading.geoBlockTermsLink }),
|
|
4343
4406
|
labels.trading.geoBlockMessageSuffix
|
|
4344
4407
|
] }),
|
|
4345
|
-
/* @__PURE__ */ (0,
|
|
4408
|
+
/* @__PURE__ */ (0, import_jsx_runtime101.jsx)(Icon, { name: "internet-security", className: "h-6 w-6 shrink-0 text-agg-muted-foreground" })
|
|
4346
4409
|
]
|
|
4347
4410
|
}
|
|
4348
4411
|
);
|
|
@@ -4421,7 +4484,7 @@ var getButtonClassName = ({
|
|
|
4421
4484
|
};
|
|
4422
4485
|
|
|
4423
4486
|
// src/primitives/button/index.tsx
|
|
4424
|
-
var
|
|
4487
|
+
var import_jsx_runtime102 = require("react/jsx-runtime");
|
|
4425
4488
|
var Button = (_a) => {
|
|
4426
4489
|
var _b = _a, {
|
|
4427
4490
|
children,
|
|
@@ -4450,7 +4513,7 @@ var Button = (_a) => {
|
|
|
4450
4513
|
features: { enableAnimations }
|
|
4451
4514
|
} = (0, import_hooks21.useSdkUiConfig)();
|
|
4452
4515
|
const isDisabled = resolveButtonIsDisabled({ disabled, isLoading });
|
|
4453
|
-
return /* @__PURE__ */ (0,
|
|
4516
|
+
return /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(
|
|
4454
4517
|
"button",
|
|
4455
4518
|
__spreadProps(__spreadValues({
|
|
4456
4519
|
type,
|
|
@@ -4459,7 +4522,7 @@ var Button = (_a) => {
|
|
|
4459
4522
|
"aria-busy": isLoading,
|
|
4460
4523
|
"aria-label": ariaLabel
|
|
4461
4524
|
}, other), {
|
|
4462
|
-
children: isLoading ? /* @__PURE__ */ (0,
|
|
4525
|
+
children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(
|
|
4463
4526
|
"span",
|
|
4464
4527
|
{
|
|
4465
4528
|
className: cn(
|
|
@@ -4470,9 +4533,9 @@ var Button = (_a) => {
|
|
|
4470
4533
|
),
|
|
4471
4534
|
"aria-hidden": "true"
|
|
4472
4535
|
}
|
|
4473
|
-
) : /* @__PURE__ */ (0,
|
|
4536
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime102.jsxs)(import_jsx_runtime102.Fragment, { children: [
|
|
4474
4537
|
prefix != null ? prefix : null,
|
|
4475
|
-
/* @__PURE__ */ (0,
|
|
4538
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsx)(
|
|
4476
4539
|
"span",
|
|
4477
4540
|
{
|
|
4478
4541
|
className: cn("group/span-agg-button agg-button-label", "whitespace-nowrap truncate"),
|
|
@@ -4579,7 +4642,7 @@ var sanitizeCurrencyInputPastedValue = (input, parts, decimalPlaces) => {
|
|
|
4579
4642
|
};
|
|
4580
4643
|
|
|
4581
4644
|
// src/primitives/currency-input/index.tsx
|
|
4582
|
-
var
|
|
4645
|
+
var import_jsx_runtime103 = require("react/jsx-runtime");
|
|
4583
4646
|
var CurrencyInput = ({
|
|
4584
4647
|
value,
|
|
4585
4648
|
onChange,
|
|
@@ -4707,7 +4770,7 @@ var CurrencyInput = ({
|
|
|
4707
4770
|
onChange == null ? void 0 : onChange(nextValue);
|
|
4708
4771
|
onBlur == null ? void 0 : onBlur();
|
|
4709
4772
|
};
|
|
4710
|
-
return /* @__PURE__ */ (0,
|
|
4773
|
+
return /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
|
|
4711
4774
|
"input",
|
|
4712
4775
|
{
|
|
4713
4776
|
ref: inputRef,
|
|
@@ -4755,7 +4818,7 @@ var resolveRemoteImageStatusFromSrc = (src) => {
|
|
|
4755
4818
|
};
|
|
4756
4819
|
|
|
4757
4820
|
// src/primitives/remote-image/index.tsx
|
|
4758
|
-
var
|
|
4821
|
+
var import_jsx_runtime104 = require("react/jsx-runtime");
|
|
4759
4822
|
var RemoteImage = ({
|
|
4760
4823
|
src,
|
|
4761
4824
|
alt,
|
|
@@ -4789,7 +4852,7 @@ var RemoteImage = ({
|
|
|
4789
4852
|
setStatus("error");
|
|
4790
4853
|
};
|
|
4791
4854
|
const sizeStyle = width !== void 0 || height !== void 0 ? { width: width != null ? width : void 0, height: height != null ? height : void 0 } : void 0;
|
|
4792
|
-
return /* @__PURE__ */ (0,
|
|
4855
|
+
return /* @__PURE__ */ (0, import_jsx_runtime104.jsxs)(
|
|
4793
4856
|
"div",
|
|
4794
4857
|
{
|
|
4795
4858
|
className: cn(containerClasses, classNames == null ? void 0 : classNames.root, className),
|
|
@@ -4806,14 +4869,14 @@ var RemoteImage = ({
|
|
|
4806
4869
|
"aria-label": ariaLabel,
|
|
4807
4870
|
title: title2,
|
|
4808
4871
|
children: [
|
|
4809
|
-
status === "loading" && /* @__PURE__ */ (0,
|
|
4810
|
-
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)(
|
|
4811
4874
|
"div",
|
|
4812
4875
|
{
|
|
4813
4876
|
className: cn(placeholderClasses, classNames == null ? void 0 : classNames.placeholder),
|
|
4814
4877
|
"aria-hidden": true,
|
|
4815
4878
|
"aria-errormessage": "Image failed to load",
|
|
4816
|
-
children: /* @__PURE__ */ (0,
|
|
4879
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(
|
|
4817
4880
|
Icon,
|
|
4818
4881
|
{
|
|
4819
4882
|
name: "image",
|
|
@@ -4824,7 +4887,7 @@ var RemoteImage = ({
|
|
|
4824
4887
|
)
|
|
4825
4888
|
}
|
|
4826
4889
|
),
|
|
4827
|
-
isValidRemoteImageSrc(src) && status !== "error" && /* @__PURE__ */ (0,
|
|
4890
|
+
isValidRemoteImageSrc(src) && status !== "error" && /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(
|
|
4828
4891
|
"img",
|
|
4829
4892
|
{
|
|
4830
4893
|
src,
|
|
@@ -4863,7 +4926,7 @@ var resolveVenueLogoIsColor = ({
|
|
|
4863
4926
|
};
|
|
4864
4927
|
|
|
4865
4928
|
// src/primitives/venue-logo/index.tsx
|
|
4866
|
-
var
|
|
4929
|
+
var import_jsx_runtime105 = require("react/jsx-runtime");
|
|
4867
4930
|
var VenueLogo = ({
|
|
4868
4931
|
venue,
|
|
4869
4932
|
variant = "icon",
|
|
@@ -4889,7 +4952,7 @@ var VenueLogo = ({
|
|
|
4889
4952
|
console.warn(`[AggUI] Unknown venue "${venue}" \u2014 using default logo`);
|
|
4890
4953
|
}
|
|
4891
4954
|
if (variant === "logo") {
|
|
4892
|
-
return /* @__PURE__ */ (0,
|
|
4955
|
+
return /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
|
|
4893
4956
|
RemoteImage,
|
|
4894
4957
|
{
|
|
4895
4958
|
src: (_a = venueLogoUrlRegistry[venue]) != null ? _a : DEFAULT_VENUE_LOGO_URL,
|
|
@@ -4904,7 +4967,7 @@ var VenueLogo = ({
|
|
|
4904
4967
|
isColor,
|
|
4905
4968
|
isMonochromatic
|
|
4906
4969
|
});
|
|
4907
|
-
return /* @__PURE__ */ (0,
|
|
4970
|
+
return /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
|
|
4908
4971
|
Component,
|
|
4909
4972
|
{
|
|
4910
4973
|
className: cn("group/agg-venue-logo", "shrink-0", sizeClass, className),
|
|
@@ -4962,7 +5025,7 @@ var resolveInlineAlertHasAction = ({
|
|
|
4962
5025
|
};
|
|
4963
5026
|
|
|
4964
5027
|
// src/primitives/inline-alert/index.tsx
|
|
4965
|
-
var
|
|
5028
|
+
var import_jsx_runtime106 = require("react/jsx-runtime");
|
|
4966
5029
|
var InlineAlert = ({
|
|
4967
5030
|
tone = INLINE_ALERT_DEFAULT_TONE,
|
|
4968
5031
|
variant,
|
|
@@ -4976,7 +5039,7 @@ var InlineAlert = ({
|
|
|
4976
5039
|
const resolvedVariant = resolveInlineAlertVariant({ tone, variant });
|
|
4977
5040
|
const hasAction = resolveInlineAlertHasAction({ actionLabel, onAction });
|
|
4978
5041
|
const { ariaLive, role } = INLINE_ALERT_LIVE_REGION_CONFIG[tone];
|
|
4979
|
-
return /* @__PURE__ */ (0,
|
|
5042
|
+
return /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(
|
|
4980
5043
|
"div",
|
|
4981
5044
|
{
|
|
4982
5045
|
className: cn(
|
|
@@ -4988,7 +5051,7 @@ var InlineAlert = ({
|
|
|
4988
5051
|
"aria-live": ariaLive,
|
|
4989
5052
|
"aria-label": ariaLabel,
|
|
4990
5053
|
children: [
|
|
4991
|
-
/* @__PURE__ */ (0,
|
|
5054
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
|
|
4992
5055
|
Icon,
|
|
4993
5056
|
{
|
|
4994
5057
|
name: INLINE_ALERT_TONE_ICON_NAME[tone],
|
|
@@ -4996,14 +5059,14 @@ var InlineAlert = ({
|
|
|
4996
5059
|
"aria-hidden": "true"
|
|
4997
5060
|
}
|
|
4998
5061
|
),
|
|
4999
|
-
/* @__PURE__ */ (0,
|
|
5062
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
|
|
5000
5063
|
"div",
|
|
5001
5064
|
{
|
|
5002
5065
|
className: cn(
|
|
5003
5066
|
"min-w-0",
|
|
5004
5067
|
resolvedVariant === "plain" && !hasAction ? "flex-none text-center" : "flex-1"
|
|
5005
5068
|
),
|
|
5006
|
-
children: /* @__PURE__ */ (0,
|
|
5069
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(
|
|
5007
5070
|
"div",
|
|
5008
5071
|
{
|
|
5009
5072
|
className: cn(
|
|
@@ -5012,14 +5075,14 @@ var InlineAlert = ({
|
|
|
5012
5075
|
resolvedVariant === "plain" && !hasAction ? "items-center" : null
|
|
5013
5076
|
),
|
|
5014
5077
|
children: [
|
|
5015
|
-
title2 ? /* @__PURE__ */ (0,
|
|
5016
|
-
/* @__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 })
|
|
5017
5080
|
]
|
|
5018
5081
|
}
|
|
5019
5082
|
)
|
|
5020
5083
|
}
|
|
5021
5084
|
),
|
|
5022
|
-
hasAction ? /* @__PURE__ */ (0,
|
|
5085
|
+
hasAction ? /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
|
|
5023
5086
|
"button",
|
|
5024
5087
|
{
|
|
5025
5088
|
type: "button",
|
|
@@ -5057,7 +5120,7 @@ var resolveLoadingIconAriaLabel = ({
|
|
|
5057
5120
|
};
|
|
5058
5121
|
|
|
5059
5122
|
// src/primitives/loading-icon/index.tsx
|
|
5060
|
-
var
|
|
5123
|
+
var import_jsx_runtime107 = require("react/jsx-runtime");
|
|
5061
5124
|
var LoadingIcon = ({
|
|
5062
5125
|
size = LOADING_ICON_DEFAULT_SIZE,
|
|
5063
5126
|
variant = "default",
|
|
@@ -5068,7 +5131,7 @@ var LoadingIcon = ({
|
|
|
5068
5131
|
const {
|
|
5069
5132
|
features: { enableAnimations }
|
|
5070
5133
|
} = (0, import_hooks25.useSdkUiConfig)();
|
|
5071
|
-
return /* @__PURE__ */ (0,
|
|
5134
|
+
return /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
5072
5135
|
"span",
|
|
5073
5136
|
{
|
|
5074
5137
|
role: "status",
|
|
@@ -5081,7 +5144,7 @@ var LoadingIcon = ({
|
|
|
5081
5144
|
"inline-grid place-items-center text-agg-primary will-change-transform",
|
|
5082
5145
|
className
|
|
5083
5146
|
),
|
|
5084
|
-
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)(
|
|
5085
5148
|
"svg",
|
|
5086
5149
|
{
|
|
5087
5150
|
viewBox: LOADING_ICON_SVG_VIEW_BOX,
|
|
@@ -5089,8 +5152,8 @@ var LoadingIcon = ({
|
|
|
5089
5152
|
"block",
|
|
5090
5153
|
variant === "prominent" ? LOADING_ICON_PROMINENT_FRAME_CLASS : iconSizeClasses[size]
|
|
5091
5154
|
),
|
|
5092
|
-
children: variant === "prominent" ? /* @__PURE__ */ (0,
|
|
5093
|
-
enableAnimations ? /* @__PURE__ */ (0,
|
|
5155
|
+
children: variant === "prominent" ? /* @__PURE__ */ (0, import_jsx_runtime107.jsxs)("g", { children: [
|
|
5156
|
+
enableAnimations ? /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
5094
5157
|
"animateTransform",
|
|
5095
5158
|
{
|
|
5096
5159
|
attributeName: "transform",
|
|
@@ -5102,7 +5165,7 @@ var LoadingIcon = ({
|
|
|
5102
5165
|
repeatCount: "indefinite"
|
|
5103
5166
|
}
|
|
5104
5167
|
) : null,
|
|
5105
|
-
/* @__PURE__ */ (0,
|
|
5168
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
5106
5169
|
"circle",
|
|
5107
5170
|
{
|
|
5108
5171
|
cx: "22",
|
|
@@ -5116,8 +5179,8 @@ var LoadingIcon = ({
|
|
|
5116
5179
|
strokeDasharray: LOADING_ICON_PROMINENT_DASHARRAY
|
|
5117
5180
|
}
|
|
5118
5181
|
)
|
|
5119
|
-
] }) : /* @__PURE__ */ (0,
|
|
5120
|
-
enableAnimations ? /* @__PURE__ */ (0,
|
|
5182
|
+
] }) : /* @__PURE__ */ (0, import_jsx_runtime107.jsxs)("g", { children: [
|
|
5183
|
+
enableAnimations ? /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
5121
5184
|
"animateTransform",
|
|
5122
5185
|
{
|
|
5123
5186
|
attributeName: "transform",
|
|
@@ -5129,7 +5192,7 @@ var LoadingIcon = ({
|
|
|
5129
5192
|
repeatCount: "indefinite"
|
|
5130
5193
|
}
|
|
5131
5194
|
) : null,
|
|
5132
|
-
/* @__PURE__ */ (0,
|
|
5195
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
5133
5196
|
"circle",
|
|
5134
5197
|
{
|
|
5135
5198
|
cx: "22",
|
|
@@ -5141,8 +5204,8 @@ var LoadingIcon = ({
|
|
|
5141
5204
|
strokeLinecap: "round",
|
|
5142
5205
|
strokeDasharray: "60 100",
|
|
5143
5206
|
strokeDashoffset: "0",
|
|
5144
|
-
children: enableAnimations ? /* @__PURE__ */ (0,
|
|
5145
|
-
/* @__PURE__ */ (0,
|
|
5207
|
+
children: enableAnimations ? /* @__PURE__ */ (0, import_jsx_runtime107.jsxs)(import_jsx_runtime107.Fragment, { children: [
|
|
5208
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
5146
5209
|
"animate",
|
|
5147
5210
|
{
|
|
5148
5211
|
attributeName: "stroke-dasharray",
|
|
@@ -5151,7 +5214,7 @@ var LoadingIcon = ({
|
|
|
5151
5214
|
repeatCount: "indefinite"
|
|
5152
5215
|
}
|
|
5153
5216
|
),
|
|
5154
|
-
/* @__PURE__ */ (0,
|
|
5217
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
5155
5218
|
"animate",
|
|
5156
5219
|
{
|
|
5157
5220
|
attributeName: "stroke-dashoffset",
|
|
@@ -5196,7 +5259,7 @@ var resolveModalCloseIcon = ({
|
|
|
5196
5259
|
};
|
|
5197
5260
|
|
|
5198
5261
|
// src/primitives/modal/index.tsx
|
|
5199
|
-
var
|
|
5262
|
+
var import_jsx_runtime108 = require("react/jsx-runtime");
|
|
5200
5263
|
var Modal = ({
|
|
5201
5264
|
open,
|
|
5202
5265
|
onOpenChange,
|
|
@@ -5204,7 +5267,7 @@ var Modal = ({
|
|
|
5204
5267
|
"aria-label": _ariaLabel,
|
|
5205
5268
|
"aria-labelledby": _ariaLabelledBy
|
|
5206
5269
|
}) => {
|
|
5207
|
-
return /* @__PURE__ */ (0,
|
|
5270
|
+
return /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(Dialog.Root, { open, onOpenChange, children });
|
|
5208
5271
|
};
|
|
5209
5272
|
var ModalContainer = ({
|
|
5210
5273
|
children,
|
|
@@ -5219,8 +5282,8 @@ var ModalContainer = ({
|
|
|
5219
5282
|
} = (0, import_hooks26.useSdkUiConfig)();
|
|
5220
5283
|
const overlayAnimationClassName = resolveModalOverlayAnimationClassName(enableAnimations);
|
|
5221
5284
|
const panelAnimationClassName = resolveModalPanelAnimationClassName(enableAnimations);
|
|
5222
|
-
return /* @__PURE__ */ (0,
|
|
5223
|
-
/* @__PURE__ */ (0,
|
|
5285
|
+
return /* @__PURE__ */ (0, import_jsx_runtime108.jsxs)(Dialog.Portal, { children: [
|
|
5286
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsx)(
|
|
5224
5287
|
Dialog.Overlay,
|
|
5225
5288
|
{
|
|
5226
5289
|
className: cn(
|
|
@@ -5231,7 +5294,7 @@ var ModalContainer = ({
|
|
|
5231
5294
|
)
|
|
5232
5295
|
}
|
|
5233
5296
|
),
|
|
5234
|
-
/* @__PURE__ */ (0,
|
|
5297
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsx)(
|
|
5235
5298
|
Dialog.Content,
|
|
5236
5299
|
{
|
|
5237
5300
|
className: cn(
|
|
@@ -5257,7 +5320,7 @@ var ModalContainer = ({
|
|
|
5257
5320
|
event.preventDefault();
|
|
5258
5321
|
}
|
|
5259
5322
|
},
|
|
5260
|
-
children: /* @__PURE__ */ (0,
|
|
5323
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(
|
|
5261
5324
|
"div",
|
|
5262
5325
|
{
|
|
5263
5326
|
className: cn(
|
|
@@ -5265,7 +5328,7 @@ var ModalContainer = ({
|
|
|
5265
5328
|
"items-end md:items-center",
|
|
5266
5329
|
"flex h-full min-h-0 w-full justify-center p-0 md:p-5"
|
|
5267
5330
|
),
|
|
5268
|
-
children: /* @__PURE__ */ (0,
|
|
5331
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(
|
|
5269
5332
|
"div",
|
|
5270
5333
|
{
|
|
5271
5334
|
className: cn(
|
|
@@ -5307,12 +5370,12 @@ var ModalHeader = ({
|
|
|
5307
5370
|
features: { enableAnimations }
|
|
5308
5371
|
} = (0, import_hooks26.useSdkUiConfig)();
|
|
5309
5372
|
const labels = (0, import_hooks26.useLabels)();
|
|
5310
|
-
const defaultCloseIcon = /* @__PURE__ */ (0,
|
|
5373
|
+
const defaultCloseIcon = /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(CloseIcon, { className: "h-6 w-6" });
|
|
5311
5374
|
const resolvedCloseIcon = resolveModalCloseIcon({
|
|
5312
5375
|
closeIcon,
|
|
5313
5376
|
defaultCloseIcon
|
|
5314
5377
|
});
|
|
5315
|
-
return /* @__PURE__ */ (0,
|
|
5378
|
+
return /* @__PURE__ */ (0, import_jsx_runtime108.jsxs)(
|
|
5316
5379
|
"div",
|
|
5317
5380
|
{
|
|
5318
5381
|
className: cn(
|
|
@@ -5325,7 +5388,7 @@ var ModalHeader = ({
|
|
|
5325
5388
|
classNames == null ? void 0 : classNames.root
|
|
5326
5389
|
),
|
|
5327
5390
|
children: [
|
|
5328
|
-
/* @__PURE__ */ (0,
|
|
5391
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsxs)(
|
|
5329
5392
|
"div",
|
|
5330
5393
|
{
|
|
5331
5394
|
className: cn(
|
|
@@ -5338,8 +5401,8 @@ var ModalHeader = ({
|
|
|
5338
5401
|
classNames == null ? void 0 : classNames.container
|
|
5339
5402
|
),
|
|
5340
5403
|
children: [
|
|
5341
|
-
leftElement ? /* @__PURE__ */ (0,
|
|
5342
|
-
/* @__PURE__ */ (0,
|
|
5404
|
+
leftElement ? /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(import_jsx_runtime108.Fragment, { children: leftElement }) : null,
|
|
5405
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsxs)(
|
|
5343
5406
|
"div",
|
|
5344
5407
|
{
|
|
5345
5408
|
className: cn(
|
|
@@ -5348,7 +5411,7 @@ var ModalHeader = ({
|
|
|
5348
5411
|
classNames == null ? void 0 : classNames.titleContainer
|
|
5349
5412
|
),
|
|
5350
5413
|
children: [
|
|
5351
|
-
/* @__PURE__ */ (0,
|
|
5414
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsx)(
|
|
5352
5415
|
Dialog.Title,
|
|
5353
5416
|
{
|
|
5354
5417
|
className: cn(
|
|
@@ -5362,7 +5425,7 @@ var ModalHeader = ({
|
|
|
5362
5425
|
children: title2
|
|
5363
5426
|
}
|
|
5364
5427
|
),
|
|
5365
|
-
subtitle ? /* @__PURE__ */ (0,
|
|
5428
|
+
subtitle ? /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(
|
|
5366
5429
|
"span",
|
|
5367
5430
|
{
|
|
5368
5431
|
className: cn(
|
|
@@ -5376,9 +5439,9 @@ var ModalHeader = ({
|
|
|
5376
5439
|
]
|
|
5377
5440
|
}
|
|
5378
5441
|
),
|
|
5379
|
-
/* @__PURE__ */ (0,
|
|
5380
|
-
rightElement ? /* @__PURE__ */ (0,
|
|
5381
|
-
!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)(
|
|
5382
5445
|
Dialog.Close,
|
|
5383
5446
|
{
|
|
5384
5447
|
className: cn(
|
|
@@ -5395,14 +5458,14 @@ var ModalHeader = ({
|
|
|
5395
5458
|
]
|
|
5396
5459
|
}
|
|
5397
5460
|
),
|
|
5398
|
-
children ? /* @__PURE__ */ (0,
|
|
5461
|
+
children ? /* @__PURE__ */ (0, import_jsx_runtime108.jsx)("div", { className: "agg-modal-header-extra", children }) : null
|
|
5399
5462
|
]
|
|
5400
5463
|
}
|
|
5401
5464
|
);
|
|
5402
5465
|
};
|
|
5403
5466
|
Modal.Header = ModalHeader;
|
|
5404
5467
|
var ModalBody = ({ children, classNames }) => {
|
|
5405
|
-
return /* @__PURE__ */ (0,
|
|
5468
|
+
return /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(
|
|
5406
5469
|
"div",
|
|
5407
5470
|
{
|
|
5408
5471
|
className: cn(
|
|
@@ -5423,7 +5486,7 @@ var ModalFooter = ({
|
|
|
5423
5486
|
classNames,
|
|
5424
5487
|
hideBorder = false
|
|
5425
5488
|
}) => {
|
|
5426
|
-
return /* @__PURE__ */ (0,
|
|
5489
|
+
return /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(
|
|
5427
5490
|
"div",
|
|
5428
5491
|
{
|
|
5429
5492
|
className: cn(
|
|
@@ -5506,17 +5569,136 @@ var getTypographyClassName = ({
|
|
|
5506
5569
|
};
|
|
5507
5570
|
|
|
5508
5571
|
// src/primitives/typography/index.tsx
|
|
5509
|
-
var
|
|
5572
|
+
var import_jsx_runtime109 = require("react/jsx-runtime");
|
|
5510
5573
|
var Typography = ({
|
|
5511
5574
|
as: Component = "p",
|
|
5512
5575
|
variant = "body",
|
|
5513
5576
|
className,
|
|
5514
5577
|
children
|
|
5515
5578
|
}) => {
|
|
5516
|
-
return /* @__PURE__ */ (0,
|
|
5579
|
+
return /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(Component, { className: getTypographyClassName({ className, variant }), children });
|
|
5517
5580
|
};
|
|
5518
5581
|
Typography.displayName = "Typography";
|
|
5519
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
|
+
|
|
5520
5702
|
// src/shared/deposit-modal-events.ts
|
|
5521
5703
|
var DEPOSIT_MODAL_OPEN_EVENT = "agg-deposit:open-modal";
|
|
5522
5704
|
var requestAggDepositModalOpen = () => {
|
|
@@ -5525,8 +5707,8 @@ var requestAggDepositModalOpen = () => {
|
|
|
5525
5707
|
};
|
|
5526
5708
|
|
|
5527
5709
|
// src/trading/use-kalshi-kyc-flow.ts
|
|
5528
|
-
var
|
|
5529
|
-
var
|
|
5710
|
+
var import_hooks28 = require("@agg-build/hooks");
|
|
5711
|
+
var import_react6 = require("react");
|
|
5530
5712
|
var KYC_PENDING_STORAGE_KEY = "agg_kyc_pending";
|
|
5531
5713
|
var getKycPendingState = () => {
|
|
5532
5714
|
var _a, _b;
|
|
@@ -5556,14 +5738,14 @@ var useKalshiKycFlow = ({
|
|
|
5556
5738
|
walletAddress,
|
|
5557
5739
|
onError
|
|
5558
5740
|
}) => {
|
|
5559
|
-
const client = (0,
|
|
5560
|
-
const [isVerifyModalOpen, setIsVerifyModalOpen] = (0,
|
|
5561
|
-
const [showSuccessModal, setShowSuccessModal] = (0,
|
|
5562
|
-
const [isInitiating, setIsInitiating] = (0,
|
|
5563
|
-
const [needsDepositAddress, setNeedsDepositAddress] = (0,
|
|
5564
|
-
const initiationAttemptRef = (0,
|
|
5565
|
-
const { isReady, isTimedOut } = (0,
|
|
5566
|
-
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)(
|
|
5567
5749
|
() => ({
|
|
5568
5750
|
venue: "kalshi",
|
|
5569
5751
|
userId: userId != null ? userId : null,
|
|
@@ -5571,28 +5753,28 @@ var useKalshiKycFlow = ({
|
|
|
5571
5753
|
}),
|
|
5572
5754
|
[userId, walletAddress]
|
|
5573
5755
|
);
|
|
5574
|
-
const resetInitiation = (0,
|
|
5756
|
+
const resetInitiation = (0, import_react6.useCallback)(() => {
|
|
5575
5757
|
setIsInitiating(false);
|
|
5576
5758
|
setNeedsDepositAddress(false);
|
|
5577
5759
|
}, []);
|
|
5578
|
-
const closeVerifyModal = (0,
|
|
5760
|
+
const closeVerifyModal = (0, import_react6.useCallback)(() => {
|
|
5579
5761
|
initiationAttemptRef.current += 1;
|
|
5580
5762
|
clearKycPendingState();
|
|
5581
5763
|
resetInitiation();
|
|
5582
5764
|
setIsVerifyModalOpen(false);
|
|
5583
5765
|
}, [resetInitiation]);
|
|
5584
|
-
const closeSuccessModal = (0,
|
|
5766
|
+
const closeSuccessModal = (0, import_react6.useCallback)(() => {
|
|
5585
5767
|
setShowSuccessModal(false);
|
|
5586
5768
|
}, []);
|
|
5587
|
-
const openVerifyModal = (0,
|
|
5769
|
+
const openVerifyModal = (0, import_react6.useCallback)(() => {
|
|
5588
5770
|
setIsVerifyModalOpen(true);
|
|
5589
5771
|
}, []);
|
|
5590
|
-
const startVerification = (0,
|
|
5772
|
+
const startVerification = (0, import_react6.useCallback)(() => {
|
|
5591
5773
|
initiationAttemptRef.current += 1;
|
|
5592
5774
|
setIsInitiating(true);
|
|
5593
5775
|
setNeedsDepositAddress(true);
|
|
5594
5776
|
}, []);
|
|
5595
|
-
(0,
|
|
5777
|
+
(0, import_react6.useEffect)(() => {
|
|
5596
5778
|
if (!isInitiating || !isReady) return;
|
|
5597
5779
|
const attemptId = initiationAttemptRef.current;
|
|
5598
5780
|
const redirectUri = window.location.href;
|
|
@@ -5609,14 +5791,14 @@ var useKalshiKycFlow = ({
|
|
|
5609
5791
|
resetInitiation();
|
|
5610
5792
|
});
|
|
5611
5793
|
}, [client, isInitiating, isReady, onError, pendingState, resetInitiation]);
|
|
5612
|
-
(0,
|
|
5794
|
+
(0, import_react6.useEffect)(() => {
|
|
5613
5795
|
if (isTimedOut && isInitiating) {
|
|
5614
5796
|
clearKycPendingState();
|
|
5615
5797
|
resetInitiation();
|
|
5616
5798
|
onError == null ? void 0 : onError(new Error("Deposit address provisioning timed out"));
|
|
5617
5799
|
}
|
|
5618
5800
|
}, [isInitiating, isTimedOut, onError, resetInitiation]);
|
|
5619
|
-
(0,
|
|
5801
|
+
(0, import_react6.useEffect)(() => {
|
|
5620
5802
|
const storedPendingState = getKycPendingState();
|
|
5621
5803
|
const isMatchingSession = (storedPendingState == null ? void 0 : storedPendingState.venue) === "kalshi" && storedPendingState.userId === pendingState.userId && storedPendingState.walletAddress === pendingState.walletAddress;
|
|
5622
5804
|
if (isKalshiVerified && isMatchingSession) {
|
|
@@ -5863,14 +6045,14 @@ var buildLiveRouteCards = ({
|
|
|
5863
6045
|
const isPrimaryRouteGeoBlocked = quoteData.fills.length > 0 && quoteData.fills.every((f) => geoBlockedVenues.has(f.venue));
|
|
5864
6046
|
const primaryCard = primaryResult ? isPrimaryRouteGeoBlocked ? {
|
|
5865
6047
|
id: "live-route",
|
|
5866
|
-
hint:
|
|
6048
|
+
hint: labels.venueUnavailableInRegion,
|
|
5867
6049
|
kind: "venue",
|
|
5868
6050
|
label: getTradingVenueLabel(
|
|
5869
6051
|
parsedPrimaryVenue.success ? parsedPrimaryVenue.data : void 0
|
|
5870
6052
|
),
|
|
5871
|
-
numericValue:
|
|
6053
|
+
numericValue: tradeSide === "sell" ? quoteData.rawExecCost : quoteData.totalFilled,
|
|
5872
6054
|
quoteData,
|
|
5873
|
-
value:
|
|
6055
|
+
value: primaryResult.value,
|
|
5874
6056
|
venue: parsedPrimaryVenue.success ? parsedPrimaryVenue.data : void 0,
|
|
5875
6057
|
isUnavailable: true
|
|
5876
6058
|
} : {
|
|
@@ -5895,12 +6077,16 @@ var buildLiveRouteCards = ({
|
|
|
5895
6077
|
if (geoBlockedVenues.has(sq.venue)) {
|
|
5896
6078
|
return {
|
|
5897
6079
|
id: `live-unavailable-${sq.venue}`,
|
|
5898
|
-
hint:
|
|
6080
|
+
hint: labels.venueUnavailableInRegion,
|
|
5899
6081
|
kind: "venue",
|
|
5900
6082
|
label: getTradingVenueLabel(venue),
|
|
5901
|
-
numericValue:
|
|
6083
|
+
numericValue: sq.filledQty,
|
|
5902
6084
|
quoteData,
|
|
5903
|
-
value:
|
|
6085
|
+
value: getTradingValueLabel({
|
|
6086
|
+
amount: sq.filledQty,
|
|
6087
|
+
minimumFractionDigits: 2,
|
|
6088
|
+
maximumFractionDigits: 2
|
|
6089
|
+
}),
|
|
5904
6090
|
venue,
|
|
5905
6091
|
isUnavailable: true
|
|
5906
6092
|
};
|
|
@@ -5940,7 +6126,7 @@ var buildLiveRouteCards = ({
|
|
|
5940
6126
|
const venue = parsedVenue.success ? parsedVenue.data : void 0;
|
|
5941
6127
|
return {
|
|
5942
6128
|
id: `live-unavailable-${sq.venue}`,
|
|
5943
|
-
hint:
|
|
6129
|
+
hint: labels.venueUnavailableInRegion,
|
|
5944
6130
|
kind: "venue",
|
|
5945
6131
|
label: getTradingVenueLabel(venue),
|
|
5946
6132
|
numericValue: 0,
|
|
@@ -5950,7 +6136,9 @@ var buildLiveRouteCards = ({
|
|
|
5950
6136
|
isUnavailable: true
|
|
5951
6137
|
};
|
|
5952
6138
|
});
|
|
5953
|
-
const baseCards = primaryCard ? [primaryCard, ...soloCards] : soloCards
|
|
6139
|
+
const baseCards = (primaryCard ? [primaryCard, ...soloCards] : soloCards).sort(
|
|
6140
|
+
(left, right) => right.numericValue - left.numericValue
|
|
6141
|
+
);
|
|
5954
6142
|
const coveredVenueStrings = new Set(
|
|
5955
6143
|
[...baseCards, ...unavailableCards].flatMap((card) => card.venue ? [card.venue] : [])
|
|
5956
6144
|
);
|
|
@@ -5960,7 +6148,7 @@ var buildLiveRouteCards = ({
|
|
|
5960
6148
|
return [
|
|
5961
6149
|
{
|
|
5962
6150
|
id: "live-geo-blocked-kalshi",
|
|
5963
|
-
hint:
|
|
6151
|
+
hint: labels.venueUnavailableInRegion,
|
|
5964
6152
|
kind: "venue",
|
|
5965
6153
|
label: getTradingVenueLabel(kalshiVenue),
|
|
5966
6154
|
numericValue: 0,
|
|
@@ -6535,7 +6723,7 @@ var isPercentageBelowMinimum = (value, minimumValue) => {
|
|
|
6535
6723
|
};
|
|
6536
6724
|
|
|
6537
6725
|
// src/trading/place-order/index.place-order.failure.tsx
|
|
6538
|
-
var
|
|
6726
|
+
var import_jsx_runtime111 = require("react/jsx-runtime");
|
|
6539
6727
|
var resolveFailureActionHandler = ({
|
|
6540
6728
|
action,
|
|
6541
6729
|
onDone,
|
|
@@ -6548,12 +6736,12 @@ var resolveFailureActionHandler = ({
|
|
|
6548
6736
|
};
|
|
6549
6737
|
var renderPartialFailureStep = (step) => {
|
|
6550
6738
|
const isWarningStep = step.tone === "warning" || step.tone === "error";
|
|
6551
|
-
return /* @__PURE__ */ (0,
|
|
6739
|
+
return /* @__PURE__ */ (0, import_jsx_runtime111.jsxs)(
|
|
6552
6740
|
"div",
|
|
6553
6741
|
{
|
|
6554
6742
|
className: "flex items-center gap-2 text-agg-sm leading-agg-5 text-agg-foreground",
|
|
6555
6743
|
children: [
|
|
6556
|
-
/* @__PURE__ */ (0,
|
|
6744
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
|
|
6557
6745
|
Icon,
|
|
6558
6746
|
{
|
|
6559
6747
|
name: isWarningStep ? "warning-filled" : "check-circle",
|
|
@@ -6562,8 +6750,8 @@ var renderPartialFailureStep = (step) => {
|
|
|
6562
6750
|
"aria-hidden": "true"
|
|
6563
6751
|
}
|
|
6564
6752
|
),
|
|
6565
|
-
/* @__PURE__ */ (0,
|
|
6566
|
-
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
|
|
6567
6755
|
]
|
|
6568
6756
|
},
|
|
6569
6757
|
step.id
|
|
@@ -6582,10 +6770,10 @@ var PlaceOrderFailureView = ({
|
|
|
6582
6770
|
const shouldShowPartialFailureLayout = summary.kind === "partial_fill";
|
|
6583
6771
|
const failureStepGroups = shouldShowPartialFailureLayout ? groupPlaceOrderFailureSteps(summary.steps) : [];
|
|
6584
6772
|
if (shouldShowPartialFailureLayout) {
|
|
6585
|
-
return /* @__PURE__ */ (0,
|
|
6586
|
-
/* @__PURE__ */ (0,
|
|
6587
|
-
/* @__PURE__ */ (0,
|
|
6588
|
-
/* @__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)(
|
|
6589
6777
|
RemoteImage,
|
|
6590
6778
|
{
|
|
6591
6779
|
src: (_a = summary.eventImage) != null ? _a : null,
|
|
@@ -6593,12 +6781,12 @@ var PlaceOrderFailureView = ({
|
|
|
6593
6781
|
className: "h-12 w-12 shrink-0 overflow-hidden rounded-agg-lg object-cover"
|
|
6594
6782
|
}
|
|
6595
6783
|
),
|
|
6596
|
-
/* @__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 })
|
|
6597
6785
|
] }),
|
|
6598
|
-
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
|
|
6599
6787
|
] }),
|
|
6600
|
-
/* @__PURE__ */ (0,
|
|
6601
|
-
/* @__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)(
|
|
6602
6790
|
Button,
|
|
6603
6791
|
{
|
|
6604
6792
|
variant: "tertiary",
|
|
@@ -6612,10 +6800,10 @@ var PlaceOrderFailureView = ({
|
|
|
6612
6800
|
)) })
|
|
6613
6801
|
] }) });
|
|
6614
6802
|
}
|
|
6615
|
-
return /* @__PURE__ */ (0,
|
|
6616
|
-
/* @__PURE__ */ (0,
|
|
6617
|
-
/* @__PURE__ */ (0,
|
|
6618
|
-
/* @__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)(
|
|
6619
6807
|
RemoteImage,
|
|
6620
6808
|
{
|
|
6621
6809
|
src: (_b = summary.eventImage) != null ? _b : null,
|
|
@@ -6623,11 +6811,11 @@ var PlaceOrderFailureView = ({
|
|
|
6623
6811
|
className: "h-12 w-12 shrink-0 overflow-hidden rounded-agg-lg object-cover"
|
|
6624
6812
|
}
|
|
6625
6813
|
),
|
|
6626
|
-
/* @__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 })
|
|
6627
6815
|
] }),
|
|
6628
|
-
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
|
|
6629
6817
|
] }),
|
|
6630
|
-
/* @__PURE__ */ (0,
|
|
6818
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
|
|
6631
6819
|
InlineAlert,
|
|
6632
6820
|
{
|
|
6633
6821
|
tone: "error",
|
|
@@ -6636,7 +6824,7 @@ var PlaceOrderFailureView = ({
|
|
|
6636
6824
|
message: tradingLabels.orderFailureDescription((_c = summary.errorMessage) != null ? _c : "")
|
|
6637
6825
|
}
|
|
6638
6826
|
),
|
|
6639
|
-
/* @__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)(
|
|
6640
6828
|
Button,
|
|
6641
6829
|
{
|
|
6642
6830
|
variant: action.variant === "retry" ? "primary" : "secondary",
|
|
@@ -6653,8 +6841,8 @@ var PlaceOrderFailureView = ({
|
|
|
6653
6841
|
PlaceOrderFailureView.displayName = "PlaceOrderFailureView";
|
|
6654
6842
|
|
|
6655
6843
|
// src/trading/place-order/index.place-order.success.tsx
|
|
6656
|
-
var
|
|
6657
|
-
var
|
|
6844
|
+
var import_react7 = require("react");
|
|
6845
|
+
var import_jsx_runtime112 = require("react/jsx-runtime");
|
|
6658
6846
|
var resolveBuyToWinLabel = (shares) => {
|
|
6659
6847
|
if (!shares) return "$0";
|
|
6660
6848
|
return shares.startsWith("$") ? shares : `$${shares}`;
|
|
@@ -6667,7 +6855,7 @@ var PlaceOrderSuccessView = ({
|
|
|
6667
6855
|
onShare: _onShare
|
|
6668
6856
|
}) => {
|
|
6669
6857
|
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j;
|
|
6670
|
-
const [isExecutionDetailsExpanded, setIsExecutionDetailsExpanded] = (0,
|
|
6858
|
+
const [isExecutionDetailsExpanded, setIsExecutionDetailsExpanded] = (0, import_react7.useState)(true);
|
|
6671
6859
|
const newTradeLabel = (_a = tradingLabels.orderNewTrade) != null ? _a : "New Trade";
|
|
6672
6860
|
const _shareLabel = (_b = tradingLabels.orderShare) != null ? _b : "Share";
|
|
6673
6861
|
const potentialReturnLabel = summary.potentialReturnLabel && tradingLabels.potentialReturnBonus ? tradingLabels.potentialReturnBonus(summary.potentialReturnLabel) : summary.potentialReturnLabel ? `+${summary.potentialReturnLabel} Better Payout` : null;
|
|
@@ -6685,10 +6873,10 @@ var PlaceOrderSuccessView = ({
|
|
|
6685
6873
|
const resolveStepIconClassName = (tone) => {
|
|
6686
6874
|
return tone === "warning" || tone === "error" ? "text-agg-warning" : "text-agg-primary";
|
|
6687
6875
|
};
|
|
6688
|
-
return /* @__PURE__ */ (0,
|
|
6689
|
-
summary.eventTitle ? /* @__PURE__ */ (0,
|
|
6690
|
-
/* @__PURE__ */ (0,
|
|
6691
|
-
/* @__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)(
|
|
6692
6880
|
RemoteImage,
|
|
6693
6881
|
{
|
|
6694
6882
|
src: (_i = summary.eventImage) != null ? _i : null,
|
|
@@ -6696,12 +6884,12 @@ var PlaceOrderSuccessView = ({
|
|
|
6696
6884
|
className: "h-12 w-12 shrink-0 overflow-hidden rounded-agg-lg object-cover"
|
|
6697
6885
|
}
|
|
6698
6886
|
),
|
|
6699
|
-
/* @__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 })
|
|
6700
6888
|
] }),
|
|
6701
|
-
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
|
|
6702
6890
|
] }) : null,
|
|
6703
|
-
executionStepGroups.length > 0 ? /* @__PURE__ */ (0,
|
|
6704
|
-
/* @__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)(
|
|
6705
6893
|
"div",
|
|
6706
6894
|
{
|
|
6707
6895
|
"aria-hidden": !isExecutionDetailsExpanded,
|
|
@@ -6714,12 +6902,12 @@ var PlaceOrderSuccessView = ({
|
|
|
6714
6902
|
"transition-[grid-template-rows,opacity] duration-200 ease-[cubic-bezier(0.22,1,0.36,1)]"
|
|
6715
6903
|
)
|
|
6716
6904
|
),
|
|
6717
|
-
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)(
|
|
6718
6906
|
"div",
|
|
6719
6907
|
{
|
|
6720
6908
|
className: "flex items-center gap-2 text-agg-sm leading-agg-5 text-agg-foreground",
|
|
6721
6909
|
children: [
|
|
6722
|
-
/* @__PURE__ */ (0,
|
|
6910
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
|
|
6723
6911
|
Icon,
|
|
6724
6912
|
{
|
|
6725
6913
|
name: resolveStepIconName(step.tone),
|
|
@@ -6728,8 +6916,8 @@ var PlaceOrderSuccessView = ({
|
|
|
6728
6916
|
"aria-hidden": "true"
|
|
6729
6917
|
}
|
|
6730
6918
|
),
|
|
6731
|
-
/* @__PURE__ */ (0,
|
|
6732
|
-
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)(
|
|
6733
6921
|
VenueLogo,
|
|
6734
6922
|
{
|
|
6735
6923
|
venue: step.venue,
|
|
@@ -6743,7 +6931,7 @@ var PlaceOrderSuccessView = ({
|
|
|
6743
6931
|
)) }, `execution-group-${groupIndex}`)) }) })
|
|
6744
6932
|
}
|
|
6745
6933
|
),
|
|
6746
|
-
finalStep ? hasExecutionDetails ? /* @__PURE__ */ (0,
|
|
6934
|
+
finalStep ? hasExecutionDetails ? /* @__PURE__ */ (0, import_jsx_runtime112.jsxs)(
|
|
6747
6935
|
"button",
|
|
6748
6936
|
{
|
|
6749
6937
|
type: "button",
|
|
@@ -6755,7 +6943,7 @@ var PlaceOrderSuccessView = ({
|
|
|
6755
6943
|
),
|
|
6756
6944
|
onClick: () => setIsExecutionDetailsExpanded((currentValue) => !currentValue),
|
|
6757
6945
|
children: [
|
|
6758
|
-
/* @__PURE__ */ (0,
|
|
6946
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
|
|
6759
6947
|
Icon,
|
|
6760
6948
|
{
|
|
6761
6949
|
name: resolveStepIconName(finalStep.tone),
|
|
@@ -6764,8 +6952,8 @@ var PlaceOrderSuccessView = ({
|
|
|
6764
6952
|
"aria-hidden": "true"
|
|
6765
6953
|
}
|
|
6766
6954
|
),
|
|
6767
|
-
/* @__PURE__ */ (0,
|
|
6768
|
-
/* @__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)(
|
|
6769
6957
|
Icon,
|
|
6770
6958
|
{
|
|
6771
6959
|
name: isExecutionDetailsExpanded ? "chevron-up" : "chevron-down",
|
|
@@ -6776,8 +6964,8 @@ var PlaceOrderSuccessView = ({
|
|
|
6776
6964
|
)
|
|
6777
6965
|
]
|
|
6778
6966
|
}
|
|
6779
|
-
) : /* @__PURE__ */ (0,
|
|
6780
|
-
/* @__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)(
|
|
6781
6969
|
Icon,
|
|
6782
6970
|
{
|
|
6783
6971
|
name: resolveStepIconName(finalStep.tone),
|
|
@@ -6786,34 +6974,34 @@ var PlaceOrderSuccessView = ({
|
|
|
6786
6974
|
"aria-hidden": "true"
|
|
6787
6975
|
}
|
|
6788
6976
|
),
|
|
6789
|
-
/* @__PURE__ */ (0,
|
|
6977
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)("p", { className: "min-w-0 flex-1", children: finalStep.label })
|
|
6790
6978
|
] }) : null
|
|
6791
6979
|
] }) : null,
|
|
6792
|
-
/* @__PURE__ */ (0,
|
|
6980
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsxs)(
|
|
6793
6981
|
"div",
|
|
6794
6982
|
{
|
|
6795
6983
|
className: cn(
|
|
6796
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"
|
|
6797
6985
|
),
|
|
6798
6986
|
children: [
|
|
6799
|
-
/* @__PURE__ */ (0,
|
|
6800
|
-
/* @__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 })
|
|
6801
6989
|
]
|
|
6802
6990
|
}
|
|
6803
6991
|
),
|
|
6804
|
-
/* @__PURE__ */ (0,
|
|
6805
|
-
/* @__PURE__ */ (0,
|
|
6806
|
-
/* @__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 })
|
|
6807
6995
|
] }),
|
|
6808
|
-
/* @__PURE__ */ (0,
|
|
6809
|
-
/* @__PURE__ */ (0,
|
|
6810
|
-
/* @__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 })
|
|
6811
6999
|
] }),
|
|
6812
|
-
summary.potentialReturnLabel ? /* @__PURE__ */ (0,
|
|
6813
|
-
/* @__PURE__ */ (0,
|
|
6814
|
-
/* @__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" })
|
|
6815
7003
|
] }) : null,
|
|
6816
|
-
/* @__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)(
|
|
6817
7005
|
Button,
|
|
6818
7006
|
{
|
|
6819
7007
|
variant: "secondary",
|
|
@@ -6829,7 +7017,7 @@ var PlaceOrderSuccessView = ({
|
|
|
6829
7017
|
PlaceOrderSuccessView.displayName = "PlaceOrderSuccessView";
|
|
6830
7018
|
|
|
6831
7019
|
// src/trading/place-order/index.tsx
|
|
6832
|
-
var
|
|
7020
|
+
var import_jsx_runtime113 = require("react/jsx-runtime");
|
|
6833
7021
|
var DEFAULT_STEP_LABELS = {
|
|
6834
7022
|
"check-balance": "Checking balance",
|
|
6835
7023
|
"check-position": "Checking position",
|
|
@@ -6855,7 +7043,7 @@ var LoadingGlyph = ({
|
|
|
6855
7043
|
className,
|
|
6856
7044
|
enableAnimations
|
|
6857
7045
|
}) => {
|
|
6858
|
-
return /* @__PURE__ */ (0,
|
|
7046
|
+
return /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
6859
7047
|
"span",
|
|
6860
7048
|
{
|
|
6861
7049
|
"aria-hidden": "true",
|
|
@@ -6875,25 +7063,25 @@ var PlaceOrderSlippageControl = ({
|
|
|
6875
7063
|
minimumValue: slippageMinimumValue
|
|
6876
7064
|
}) => {
|
|
6877
7065
|
var _a, _b;
|
|
6878
|
-
const labels = (0,
|
|
6879
|
-
const containerRef = (0,
|
|
6880
|
-
const triggerRef = (0,
|
|
6881
|
-
const inputRef = (0,
|
|
6882
|
-
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)();
|
|
6883
7071
|
const defaultValue = finalizePercentageValue(slippageDefaultValue);
|
|
6884
7072
|
const committedValue = finalizePercentageValue(slippageValue) || defaultValue;
|
|
6885
|
-
const [draftValue, setDraftValue] = (0,
|
|
6886
|
-
const [isEditing, setIsEditing] = (0,
|
|
7073
|
+
const [draftValue, setDraftValue] = (0, import_react9.useState)(committedValue);
|
|
7074
|
+
const [isEditing, setIsEditing] = (0, import_react9.useState)(
|
|
6887
7075
|
() => isPercentageBelowMinimum(committedValue, slippageMinimumValue)
|
|
6888
7076
|
);
|
|
6889
|
-
const [shouldFocusInput, setShouldFocusInput] = (0,
|
|
6890
|
-
(0,
|
|
7077
|
+
const [shouldFocusInput, setShouldFocusInput] = (0, import_react9.useState)(false);
|
|
7078
|
+
(0, import_react9.useEffect)(() => {
|
|
6891
7079
|
setDraftValue(committedValue);
|
|
6892
7080
|
if (isPercentageBelowMinimum(committedValue, slippageMinimumValue)) {
|
|
6893
7081
|
setIsEditing(true);
|
|
6894
7082
|
}
|
|
6895
7083
|
}, [committedValue, slippageMinimumValue]);
|
|
6896
|
-
(0,
|
|
7084
|
+
(0, import_react9.useEffect)(() => {
|
|
6897
7085
|
if (!shouldFocusInput) return;
|
|
6898
7086
|
requestAnimationFrame(() => {
|
|
6899
7087
|
var _a2, _b2;
|
|
@@ -6910,7 +7098,7 @@ var PlaceOrderSlippageControl = ({
|
|
|
6910
7098
|
Number(committedValue || slippageDefaultValue || DEFAULT_SLIPPAGE_VALUE)
|
|
6911
7099
|
);
|
|
6912
7100
|
const resolvedAutoLabel = labels.trading.resetSlippage;
|
|
6913
|
-
const resolvedWarningMessage = (0,
|
|
7101
|
+
const resolvedWarningMessage = (0, import_react9.useMemo)(() => {
|
|
6914
7102
|
if (isLowSlippage) {
|
|
6915
7103
|
return labels.trading.slippageLow(slippageMinimumValue);
|
|
6916
7104
|
}
|
|
@@ -6973,8 +7161,8 @@ var PlaceOrderSlippageControl = ({
|
|
|
6973
7161
|
if (!isEditing) return;
|
|
6974
7162
|
handleCommitDraft(false);
|
|
6975
7163
|
};
|
|
6976
|
-
return /* @__PURE__ */ (0,
|
|
6977
|
-
/* @__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)(
|
|
6978
7166
|
"button",
|
|
6979
7167
|
{
|
|
6980
7168
|
ref: triggerRef,
|
|
@@ -6992,8 +7180,8 @@ var PlaceOrderSlippageControl = ({
|
|
|
6992
7180
|
),
|
|
6993
7181
|
onClick: handleToggleEditing,
|
|
6994
7182
|
children: [
|
|
6995
|
-
/* @__PURE__ */ (0,
|
|
6996
|
-
/* @__PURE__ */ (0,
|
|
7183
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)("span", { className: "agg-slippage-label", children: collapsedLabel }),
|
|
7184
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
6997
7185
|
Icon,
|
|
6998
7186
|
{
|
|
6999
7187
|
name: isEditing ? "chevron-up" : "pencil",
|
|
@@ -7005,7 +7193,7 @@ var PlaceOrderSlippageControl = ({
|
|
|
7005
7193
|
]
|
|
7006
7194
|
}
|
|
7007
7195
|
),
|
|
7008
|
-
/* @__PURE__ */ (0,
|
|
7196
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
7009
7197
|
"div",
|
|
7010
7198
|
{
|
|
7011
7199
|
"aria-hidden": !isEditing,
|
|
@@ -7019,10 +7207,10 @@ var PlaceOrderSlippageControl = ({
|
|
|
7019
7207
|
"transition-[grid-template-rows,opacity,margin-top] duration-300 ease-[cubic-bezier(0.22,1,0.36,1)]"
|
|
7020
7208
|
)
|
|
7021
7209
|
),
|
|
7022
|
-
children: /* @__PURE__ */ (0,
|
|
7023
|
-
/* @__PURE__ */ (0,
|
|
7024
|
-
/* @__PURE__ */ (0,
|
|
7025
|
-
/* @__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)(
|
|
7026
7214
|
"input",
|
|
7027
7215
|
{
|
|
7028
7216
|
ref: inputRef,
|
|
@@ -7037,7 +7225,7 @@ var PlaceOrderSlippageControl = ({
|
|
|
7037
7225
|
onKeyDown: handleInputKeyDown
|
|
7038
7226
|
}
|
|
7039
7227
|
),
|
|
7040
|
-
/* @__PURE__ */ (0,
|
|
7228
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
7041
7229
|
"button",
|
|
7042
7230
|
{
|
|
7043
7231
|
type: "button",
|
|
@@ -7055,8 +7243,8 @@ var PlaceOrderSlippageControl = ({
|
|
|
7055
7243
|
}
|
|
7056
7244
|
)
|
|
7057
7245
|
] }),
|
|
7058
|
-
/* @__PURE__ */ (0,
|
|
7059
|
-
/* @__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)(
|
|
7060
7248
|
"div",
|
|
7061
7249
|
{
|
|
7062
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",
|
|
@@ -7065,7 +7253,7 @@ var PlaceOrderSlippageControl = ({
|
|
|
7065
7253
|
}
|
|
7066
7254
|
)
|
|
7067
7255
|
] }),
|
|
7068
|
-
/* @__PURE__ */ (0,
|
|
7256
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
7069
7257
|
"div",
|
|
7070
7258
|
{
|
|
7071
7259
|
"aria-hidden": !resolvedWarningMessage,
|
|
@@ -7079,13 +7267,13 @@ var PlaceOrderSlippageControl = ({
|
|
|
7079
7267
|
"transition-[grid-template-rows,opacity] duration-200 ease-[cubic-bezier(0.22,1,0.36,1)]"
|
|
7080
7268
|
)
|
|
7081
7269
|
),
|
|
7082
|
-
children: /* @__PURE__ */ (0,
|
|
7270
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime113.jsx)("div", { className: "min-h-0", children: /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(
|
|
7083
7271
|
"div",
|
|
7084
7272
|
{
|
|
7085
7273
|
id: warningId,
|
|
7086
7274
|
className: "agg-slippage-warning-message flex items-start gap-2 text-agg-sm leading-agg-5 text-agg-foreground",
|
|
7087
7275
|
children: [
|
|
7088
|
-
/* @__PURE__ */ (0,
|
|
7276
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
7089
7277
|
Icon,
|
|
7090
7278
|
{
|
|
7091
7279
|
name: "warning-filled",
|
|
@@ -7094,7 +7282,7 @@ var PlaceOrderSlippageControl = ({
|
|
|
7094
7282
|
color: "currentColor"
|
|
7095
7283
|
}
|
|
7096
7284
|
),
|
|
7097
|
-
/* @__PURE__ */ (0,
|
|
7285
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)("p", { children: resolvedWarningMessage != null ? resolvedWarningMessage : "" })
|
|
7098
7286
|
]
|
|
7099
7287
|
}
|
|
7100
7288
|
) })
|
|
@@ -7114,9 +7302,9 @@ var renderCardHeader = ({
|
|
|
7114
7302
|
onClose
|
|
7115
7303
|
}) => {
|
|
7116
7304
|
if (!headerTitle) return null;
|
|
7117
|
-
return /* @__PURE__ */ (0,
|
|
7118
|
-
/* @__PURE__ */ (0,
|
|
7119
|
-
/* @__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)(
|
|
7120
7308
|
RemoteImage,
|
|
7121
7309
|
{
|
|
7122
7310
|
src: headerImage,
|
|
@@ -7124,19 +7312,19 @@ var renderCardHeader = ({
|
|
|
7124
7312
|
className: "agg-order-market-image h-12 w-12 shrink-0 overflow-hidden rounded-agg-lg object-cover"
|
|
7125
7313
|
}
|
|
7126
7314
|
),
|
|
7127
|
-
/* @__PURE__ */ (0,
|
|
7128
|
-
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)(
|
|
7129
7317
|
"button",
|
|
7130
7318
|
{
|
|
7131
7319
|
type: "button",
|
|
7132
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",
|
|
7133
7321
|
"aria-label": "Close",
|
|
7134
7322
|
onClick: onClose,
|
|
7135
|
-
children: /* @__PURE__ */ (0,
|
|
7323
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(CloseIcon, { className: "h-5 w-5" })
|
|
7136
7324
|
}
|
|
7137
7325
|
) : null
|
|
7138
7326
|
] }),
|
|
7139
|
-
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
|
|
7140
7328
|
] });
|
|
7141
7329
|
};
|
|
7142
7330
|
var PlaceOrderResolvedView = ({
|
|
@@ -7146,7 +7334,7 @@ var PlaceOrderResolvedView = ({
|
|
|
7146
7334
|
className
|
|
7147
7335
|
}) => {
|
|
7148
7336
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
7149
|
-
const labels = (0,
|
|
7337
|
+
const labels = (0, import_hooks29.useLabels)();
|
|
7150
7338
|
const tradingLabels = labels.trading;
|
|
7151
7339
|
const extendedTradingLabels = tradingLabels;
|
|
7152
7340
|
const winningOutcomeLabel = (_c = (_b = (_a = tradingState.winningOutcome) == null ? void 0 : _a.label) == null ? void 0 : _b.trim().toLowerCase()) != null ? _c : "";
|
|
@@ -7156,7 +7344,7 @@ var PlaceOrderResolvedView = ({
|
|
|
7156
7344
|
const resolvedIconName = isPositiveWinningOutcome ? "success-check" : "close";
|
|
7157
7345
|
const resolvedIconToneClassName = isPositiveWinningOutcome ? "text-agg-success" : "text-agg-error";
|
|
7158
7346
|
const resolvedIconContainerClassName = isPositiveWinningOutcome ? "bg-agg-success/15" : "bg-agg-error/15";
|
|
7159
|
-
return /* @__PURE__ */ (0,
|
|
7347
|
+
return /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
7160
7348
|
Card,
|
|
7161
7349
|
{
|
|
7162
7350
|
className: cn(
|
|
@@ -7165,7 +7353,7 @@ var PlaceOrderResolvedView = ({
|
|
|
7165
7353
|
classNames == null ? void 0 : classNames.root,
|
|
7166
7354
|
className
|
|
7167
7355
|
),
|
|
7168
|
-
children: /* @__PURE__ */ (0,
|
|
7356
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(
|
|
7169
7357
|
"div",
|
|
7170
7358
|
{
|
|
7171
7359
|
className: cn(
|
|
@@ -7173,17 +7361,17 @@ var PlaceOrderResolvedView = ({
|
|
|
7173
7361
|
classNames == null ? void 0 : classNames.body
|
|
7174
7362
|
),
|
|
7175
7363
|
children: [
|
|
7176
|
-
/* @__PURE__ */ (0,
|
|
7364
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
7177
7365
|
"div",
|
|
7178
7366
|
{
|
|
7179
7367
|
className: cn(
|
|
7180
7368
|
"flex h-15 w-15 items-center justify-center rounded-full",
|
|
7181
7369
|
resolvedIconContainerClassName
|
|
7182
7370
|
),
|
|
7183
|
-
children: /* @__PURE__ */ (0,
|
|
7371
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(Icon, { name: resolvedIconName, className: cn("h-6 w-6", resolvedIconToneClassName) })
|
|
7184
7372
|
}
|
|
7185
7373
|
),
|
|
7186
|
-
/* @__PURE__ */ (0,
|
|
7374
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(
|
|
7187
7375
|
"div",
|
|
7188
7376
|
{
|
|
7189
7377
|
className: cn(
|
|
@@ -7191,30 +7379,30 @@ var PlaceOrderResolvedView = ({
|
|
|
7191
7379
|
classNames == null ? void 0 : classNames.content
|
|
7192
7380
|
),
|
|
7193
7381
|
children: [
|
|
7194
|
-
tradingState.market ? /* @__PURE__ */ (0,
|
|
7195
|
-
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
|
|
7196
7384
|
]
|
|
7197
7385
|
}
|
|
7198
7386
|
),
|
|
7199
|
-
resolvedClaim ? /* @__PURE__ */ (0,
|
|
7200
|
-
/* @__PURE__ */ (0,
|
|
7201
|
-
/* @__PURE__ */ (0,
|
|
7202
|
-
/* @__PURE__ */ (0,
|
|
7203
|
-
/* @__PURE__ */ (0,
|
|
7204
|
-
/* @__PURE__ */ (0,
|
|
7205
|
-
/* @__PURE__ */ (0,
|
|
7206
|
-
/* @__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 })
|
|
7207
7395
|
] }),
|
|
7208
|
-
/* @__PURE__ */ (0,
|
|
7209
|
-
/* @__PURE__ */ (0,
|
|
7210
|
-
/* @__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 })
|
|
7211
7399
|
] }),
|
|
7212
|
-
/* @__PURE__ */ (0,
|
|
7213
|
-
/* @__PURE__ */ (0,
|
|
7214
|
-
/* @__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 })
|
|
7215
7403
|
] })
|
|
7216
7404
|
] }),
|
|
7217
|
-
resolvedClaim.onClaim ? /* @__PURE__ */ (0,
|
|
7405
|
+
resolvedClaim.onClaim ? /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
7218
7406
|
Button,
|
|
7219
7407
|
{
|
|
7220
7408
|
size: "large",
|
|
@@ -7236,18 +7424,18 @@ var renderRouteBreakdownRow = (row) => {
|
|
|
7236
7424
|
var _a, _b;
|
|
7237
7425
|
const venueLabel = getTradingVenueLabel(row.venue);
|
|
7238
7426
|
const rowKey = `${row.venue}-${row.label}-${row.priceLabel}-${(_a = row.resultLabel) != null ? _a : ""}`;
|
|
7239
|
-
return /* @__PURE__ */ (0,
|
|
7427
|
+
return /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(
|
|
7240
7428
|
"div",
|
|
7241
7429
|
{
|
|
7242
7430
|
className: "agg-route-breakdown-row flex items-center justify-between gap-4 text-left",
|
|
7243
7431
|
children: [
|
|
7244
|
-
/* @__PURE__ */ (0,
|
|
7245
|
-
/* @__PURE__ */ (0,
|
|
7246
|
-
/* @__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 })
|
|
7247
7435
|
] }),
|
|
7248
|
-
/* @__PURE__ */ (0,
|
|
7249
|
-
/* @__PURE__ */ (0,
|
|
7250
|
-
/* @__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 : "" })
|
|
7251
7439
|
] })
|
|
7252
7440
|
]
|
|
7253
7441
|
},
|
|
@@ -7264,9 +7452,8 @@ var renderRouteCard = ({
|
|
|
7264
7452
|
}) => {
|
|
7265
7453
|
var _a, _b;
|
|
7266
7454
|
const showSplitDetails = isSelected && isExpanded && card.kind === "split" && !!((_a = card.rows) == null ? void 0 : _a.length);
|
|
7267
|
-
const
|
|
7268
|
-
|
|
7269
|
-
return /* @__PURE__ */ (0, import_jsx_runtime110.jsxs)(
|
|
7455
|
+
const ariaLabel = [card.label, card.hint, card.value].filter(Boolean).join(" ");
|
|
7456
|
+
return /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(
|
|
7270
7457
|
"button",
|
|
7271
7458
|
{
|
|
7272
7459
|
type: "button",
|
|
@@ -7275,22 +7462,22 @@ var renderRouteCard = ({
|
|
|
7275
7462
|
disabled: card.isUnavailable,
|
|
7276
7463
|
className: cn(
|
|
7277
7464
|
"agg-route-card",
|
|
7278
|
-
"relative w-full
|
|
7465
|
+
"relative w-full overflow-hidden rounded-agg-lg p-3 text-left",
|
|
7279
7466
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-agg-primary focus-visible:ring-offset-0 focus-visible:ring-offset-agg-secondary",
|
|
7280
7467
|
getMotionClassName(
|
|
7281
7468
|
enableAnimations,
|
|
7282
7469
|
"transition-[background-color,border-color,color] duration-200 ease-in-out"
|
|
7283
7470
|
),
|
|
7284
|
-
|
|
7285
|
-
card.isUnavailable
|
|
7471
|
+
card.isUnavailable ? "cursor-not-allowed" : "cursor-pointer",
|
|
7472
|
+
isSelected && !card.isUnavailable ? "border border-agg-trade-highlight-border bg-gradient-to-b from-agg-trade-highlight-surface-from to-agg-trade-highlight-surface-to" : "border-transparent bg-agg-secondary-hover"
|
|
7286
7473
|
),
|
|
7287
7474
|
onClick: () => onSelect(card.id),
|
|
7288
7475
|
children: [
|
|
7289
|
-
isSelected && !card.isUnavailable ? /* @__PURE__ */ (0,
|
|
7290
|
-
/* @__PURE__ */ (0,
|
|
7291
|
-
/* @__PURE__ */ (0,
|
|
7292
|
-
/* @__PURE__ */ (0,
|
|
7293
|
-
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)(
|
|
7294
7481
|
Icon,
|
|
7295
7482
|
{
|
|
7296
7483
|
name: "sparkles-filled",
|
|
@@ -7301,7 +7488,7 @@ var renderRouteCard = ({
|
|
|
7301
7488
|
),
|
|
7302
7489
|
"aria-hidden": "true"
|
|
7303
7490
|
}
|
|
7304
|
-
) : card.venue ? /* @__PURE__ */ (0,
|
|
7491
|
+
) : card.venue ? /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
7305
7492
|
VenueLogo,
|
|
7306
7493
|
{
|
|
7307
7494
|
venue: card.venue,
|
|
@@ -7309,10 +7496,18 @@ var renderRouteCard = ({
|
|
|
7309
7496
|
ariaLabel: getTradingVenueLabel(card.venue)
|
|
7310
7497
|
}
|
|
7311
7498
|
) : null,
|
|
7312
|
-
/* @__PURE__ */ (0,
|
|
7313
|
-
/* @__PURE__ */ (0,
|
|
7314
|
-
/* @__PURE__ */ (0,
|
|
7315
|
-
card.
|
|
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)(
|
|
7503
|
+
Icon,
|
|
7504
|
+
{
|
|
7505
|
+
name: "lock",
|
|
7506
|
+
size: "xs",
|
|
7507
|
+
className: "shrink-0 text-agg-muted-foreground",
|
|
7508
|
+
"aria-hidden": "true"
|
|
7509
|
+
}
|
|
7510
|
+
) : card.kind === "split" && isSelected ? /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
7316
7511
|
Icon,
|
|
7317
7512
|
{
|
|
7318
7513
|
name: showSplitDetails ? "chevron-up" : "chevron-down",
|
|
@@ -7322,24 +7517,24 @@ var renderRouteCard = ({
|
|
|
7322
7517
|
}
|
|
7323
7518
|
) : null
|
|
7324
7519
|
] }),
|
|
7325
|
-
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
|
|
7326
7521
|
] })
|
|
7327
7522
|
] }),
|
|
7328
|
-
/* @__PURE__ */ (0,
|
|
7523
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
7329
7524
|
"p",
|
|
7330
7525
|
{
|
|
7331
7526
|
className: cn(
|
|
7332
7527
|
"agg-route-card-value",
|
|
7333
7528
|
"shrink-0 whitespace-nowrap",
|
|
7334
|
-
card.isUnavailable ? "text-agg-
|
|
7529
|
+
isSelected && !card.isUnavailable ? "text-agg-lg font-agg-bold leading-agg-7 text-agg-trade-highlight-accent" : "text-agg-base leading-agg-6 text-agg-foreground"
|
|
7335
7530
|
),
|
|
7336
|
-
children:
|
|
7531
|
+
children: card.value
|
|
7337
7532
|
}
|
|
7338
7533
|
)
|
|
7339
7534
|
] }),
|
|
7340
|
-
showSplitDetails ? /* @__PURE__ */ (0,
|
|
7341
|
-
/* @__PURE__ */ (0,
|
|
7342
|
-
/* @__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)) })
|
|
7343
7538
|
] }) : null
|
|
7344
7539
|
] })
|
|
7345
7540
|
]
|
|
@@ -7433,7 +7628,7 @@ var renderSubmissionSurface = ({
|
|
|
7433
7628
|
];
|
|
7434
7629
|
};
|
|
7435
7630
|
const stepGroups = resolveStepGroups();
|
|
7436
|
-
return /* @__PURE__ */ (0,
|
|
7631
|
+
return /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
7437
7632
|
Card,
|
|
7438
7633
|
{
|
|
7439
7634
|
className: cn(
|
|
@@ -7442,30 +7637,30 @@ var renderSubmissionSurface = ({
|
|
|
7442
7637
|
classNames == null ? void 0 : classNames.root,
|
|
7443
7638
|
className
|
|
7444
7639
|
),
|
|
7445
|
-
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: [
|
|
7446
7641
|
renderCardHeader({
|
|
7447
7642
|
className: classNames == null ? void 0 : classNames.header,
|
|
7448
7643
|
headerSubtitle,
|
|
7449
7644
|
headerImage,
|
|
7450
7645
|
headerTitle
|
|
7451
7646
|
}),
|
|
7452
|
-
/* @__PURE__ */ (0,
|
|
7453
|
-
/* @__PURE__ */ (0,
|
|
7454
|
-
/* @__PURE__ */ (0,
|
|
7455
|
-
/* @__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 })
|
|
7456
7651
|
] }),
|
|
7457
|
-
/* @__PURE__ */ (0,
|
|
7458
|
-
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)(
|
|
7459
7654
|
"div",
|
|
7460
7655
|
{
|
|
7461
7656
|
className: "agg-order-submission-group flex flex-col gap-2",
|
|
7462
7657
|
children: steps.map((step) => {
|
|
7463
|
-
return /* @__PURE__ */ (0,
|
|
7658
|
+
return /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(
|
|
7464
7659
|
"div",
|
|
7465
7660
|
{
|
|
7466
7661
|
className: "agg-order-submission-step flex items-center gap-2 text-agg-sm leading-agg-5 text-agg-foreground",
|
|
7467
7662
|
children: [
|
|
7468
|
-
step.status === "complete" ? /* @__PURE__ */ (0,
|
|
7663
|
+
step.status === "complete" ? /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
7469
7664
|
Icon,
|
|
7470
7665
|
{
|
|
7471
7666
|
name: "check-circle",
|
|
@@ -7473,15 +7668,15 @@ var renderSubmissionSurface = ({
|
|
|
7473
7668
|
className: "h-3 w-3 shrink-0 text-agg-primary",
|
|
7474
7669
|
"aria-hidden": "true"
|
|
7475
7670
|
}
|
|
7476
|
-
) : /* @__PURE__ */ (0,
|
|
7671
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
7477
7672
|
LoadingGlyph,
|
|
7478
7673
|
{
|
|
7479
7674
|
enableAnimations,
|
|
7480
7675
|
className: "h-3 w-3 shrink-0 text-agg-primary"
|
|
7481
7676
|
}
|
|
7482
7677
|
),
|
|
7483
|
-
/* @__PURE__ */ (0,
|
|
7484
|
-
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)(
|
|
7485
7680
|
VenueLogo,
|
|
7486
7681
|
{
|
|
7487
7682
|
venue: step.venue,
|
|
@@ -7504,7 +7699,7 @@ var renderSubmissionSurface = ({
|
|
|
7504
7699
|
}
|
|
7505
7700
|
);
|
|
7506
7701
|
};
|
|
7507
|
-
var InitiateKycButton = ({ label: label2, onOpen }) => /* @__PURE__ */ (0,
|
|
7702
|
+
var InitiateKycButton = ({ label: label2, onOpen }) => /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
7508
7703
|
Button,
|
|
7509
7704
|
{
|
|
7510
7705
|
size: "large",
|
|
@@ -7521,35 +7716,35 @@ var KycVerifyModal = ({
|
|
|
7521
7716
|
isInitiating,
|
|
7522
7717
|
labels
|
|
7523
7718
|
}) => {
|
|
7524
|
-
return /* @__PURE__ */ (0,
|
|
7719
|
+
return /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
7525
7720
|
Modal,
|
|
7526
7721
|
{
|
|
7527
7722
|
open,
|
|
7528
7723
|
onOpenChange: (next) => {
|
|
7529
7724
|
onOpenChange(next);
|
|
7530
7725
|
},
|
|
7531
|
-
children: /* @__PURE__ */ (0,
|
|
7532
|
-
/* @__PURE__ */ (0,
|
|
7533
|
-
/* @__PURE__ */ (0,
|
|
7534
|
-
/* @__PURE__ */ (0,
|
|
7535
|
-
/* @__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)(
|
|
7536
7731
|
"button",
|
|
7537
7732
|
{
|
|
7538
7733
|
type: "button",
|
|
7539
7734
|
className: "absolute right-8 top-7 flex items-center justify-center text-agg-foreground transition-colors hover:text-agg-foreground/80",
|
|
7540
7735
|
onClick: () => onOpenChange(false),
|
|
7541
7736
|
"aria-label": "Close",
|
|
7542
|
-
children: /* @__PURE__ */ (0,
|
|
7737
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(CloseIcon, { className: "h-6 w-6" })
|
|
7543
7738
|
}
|
|
7544
7739
|
),
|
|
7545
|
-
/* @__PURE__ */ (0,
|
|
7546
|
-
/* @__PURE__ */ (0,
|
|
7547
|
-
/* @__PURE__ */ (0,
|
|
7548
|
-
/* @__PURE__ */ (0,
|
|
7549
|
-
/* @__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 })
|
|
7550
7745
|
] }),
|
|
7551
|
-
/* @__PURE__ */ (0,
|
|
7552
|
-
/* @__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)(
|
|
7553
7748
|
Button,
|
|
7554
7749
|
{
|
|
7555
7750
|
size: "large",
|
|
@@ -7560,7 +7755,7 @@ var KycVerifyModal = ({
|
|
|
7560
7755
|
children: labels.startVerification
|
|
7561
7756
|
}
|
|
7562
7757
|
),
|
|
7563
|
-
/* @__PURE__ */ (0,
|
|
7758
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
7564
7759
|
"button",
|
|
7565
7760
|
{
|
|
7566
7761
|
type: "button",
|
|
@@ -7580,27 +7775,27 @@ var KycSuccessModal = ({
|
|
|
7580
7775
|
open,
|
|
7581
7776
|
onOpenChange,
|
|
7582
7777
|
labels
|
|
7583
|
-
}) => /* @__PURE__ */ (0,
|
|
7584
|
-
/* @__PURE__ */ (0,
|
|
7585
|
-
/* @__PURE__ */ (0,
|
|
7586
|
-
/* @__PURE__ */ (0,
|
|
7587
|
-
/* @__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)(
|
|
7588
7783
|
"button",
|
|
7589
7784
|
{
|
|
7590
7785
|
type: "button",
|
|
7591
7786
|
className: "absolute right-8 top-7 flex items-center justify-center text-agg-foreground transition-colors hover:text-agg-foreground/80",
|
|
7592
7787
|
onClick: () => onOpenChange(false),
|
|
7593
7788
|
"aria-label": "Close",
|
|
7594
|
-
children: /* @__PURE__ */ (0,
|
|
7789
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(CloseIcon, { className: "h-6 w-6" })
|
|
7595
7790
|
}
|
|
7596
7791
|
),
|
|
7597
|
-
/* @__PURE__ */ (0,
|
|
7598
|
-
/* @__PURE__ */ (0,
|
|
7599
|
-
/* @__PURE__ */ (0,
|
|
7600
|
-
/* @__PURE__ */ (0,
|
|
7601
|
-
/* @__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 })
|
|
7602
7797
|
] }),
|
|
7603
|
-
/* @__PURE__ */ (0,
|
|
7798
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
7604
7799
|
Button,
|
|
7605
7800
|
{
|
|
7606
7801
|
variant: "secondary",
|
|
@@ -7632,22 +7827,22 @@ var PlaceOrder = ({
|
|
|
7632
7827
|
onExecutionStateChange,
|
|
7633
7828
|
resolvedClaim
|
|
7634
7829
|
}) => {
|
|
7635
|
-
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
|
|
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;
|
|
7636
7831
|
const {
|
|
7637
|
-
features: { enableAnimations },
|
|
7832
|
+
features: { enableAnimations, showFeesBreakdown },
|
|
7638
7833
|
general: { locale }
|
|
7639
|
-
} = (0,
|
|
7640
|
-
const labels = (0,
|
|
7834
|
+
} = (0, import_hooks29.useSdkUiConfig)();
|
|
7835
|
+
const labels = (0, import_hooks29.useLabels)();
|
|
7641
7836
|
const tradingLabels = labels.trading;
|
|
7642
|
-
const { isTradingBlocked } = (0,
|
|
7643
|
-
const tradingContext = (0,
|
|
7837
|
+
const { isTradingBlocked } = (0, import_hooks29.useGeoBlock)();
|
|
7838
|
+
const tradingContext = (0, import_hooks29.useEventTradingContext)();
|
|
7644
7839
|
const selectedEvent = (_a = tradingContext == null ? void 0 : tradingContext.selectedEvent) != null ? _a : null;
|
|
7645
7840
|
const selectedMarket = (_b = tradingContext == null ? void 0 : tradingContext.selectedMarket) != null ? _b : null;
|
|
7646
7841
|
const selectedOutcomeId = (_c = tradingContext == null ? void 0 : tradingContext.selectedOutcomeId) != null ? _c : null;
|
|
7647
|
-
const resolvedEventTradingState = (0,
|
|
7648
|
-
return eventTradingState != null ? eventTradingState : (0,
|
|
7842
|
+
const resolvedEventTradingState = (0, import_react9.useMemo)(() => {
|
|
7843
|
+
return eventTradingState != null ? eventTradingState : (0, import_hooks29.resolveEventTradingState)(selectedEvent);
|
|
7649
7844
|
}, [eventTradingState, selectedEvent]);
|
|
7650
|
-
const scopedSelectedEvent = (0,
|
|
7845
|
+
const scopedSelectedEvent = (0, import_react9.useMemo)(() => {
|
|
7651
7846
|
var _a2;
|
|
7652
7847
|
if (!selectedEvent) return null;
|
|
7653
7848
|
const primaryMarketId = (_a2 = resolvedEventTradingState.primaryMarket) == null ? void 0 : _a2.id;
|
|
@@ -7657,7 +7852,7 @@ var PlaceOrder = ({
|
|
|
7657
7852
|
);
|
|
7658
7853
|
return isSelectedEventInScope ? selectedEvent : null;
|
|
7659
7854
|
}, [(_d = resolvedEventTradingState.primaryMarket) == null ? void 0 : _d.id, selectedEvent]);
|
|
7660
|
-
const scopedSelectedMarket = (0,
|
|
7855
|
+
const scopedSelectedMarket = (0, import_react9.useMemo)(() => {
|
|
7661
7856
|
if (!selectedMarket) return resolvedEventTradingState.primaryMarket;
|
|
7662
7857
|
const isSelectedMarketInScope = resolvedEventTradingState.marketStates.some(
|
|
7663
7858
|
(item) => item.market.id === selectedMarket.id
|
|
@@ -7672,10 +7867,10 @@ var PlaceOrder = ({
|
|
|
7672
7867
|
(outcome) => outcome.label.trim().toLowerCase() === "yes"
|
|
7673
7868
|
)) != null ? _f : scopedSelectedMarket == null ? void 0 : scopedSelectedMarket.venueMarketOutcomes[0]) != null ? _g : null;
|
|
7674
7869
|
const scopedSelectedOutcomeId = (_h = scopedSelectedOutcome == null ? void 0 : scopedSelectedOutcome.id) != null ? _h : null;
|
|
7675
|
-
const resolvedTradingState = (0,
|
|
7676
|
-
return (0,
|
|
7870
|
+
const resolvedTradingState = (0, import_react9.useMemo)(() => {
|
|
7871
|
+
return (0, import_hooks29.resolveMarketTradingState)(scopedSelectedMarket);
|
|
7677
7872
|
}, [scopedSelectedMarket]);
|
|
7678
|
-
const resolvedReadOnlyMarket = (0,
|
|
7873
|
+
const resolvedReadOnlyMarket = (0, import_react9.useMemo)(() => {
|
|
7679
7874
|
var _a2;
|
|
7680
7875
|
if (resolvedEventTradingState.kind !== "resolved") {
|
|
7681
7876
|
return scopedSelectedMarket;
|
|
@@ -7686,11 +7881,11 @@ var PlaceOrder = ({
|
|
|
7686
7881
|
resolvedEventTradingState.primaryMarket,
|
|
7687
7882
|
scopedSelectedMarket
|
|
7688
7883
|
]);
|
|
7689
|
-
const resolvedReadOnlyTradingState = (0,
|
|
7690
|
-
return (0,
|
|
7884
|
+
const resolvedReadOnlyTradingState = (0, import_react9.useMemo)(() => {
|
|
7885
|
+
return (0, import_hooks29.resolveMarketTradingState)(resolvedReadOnlyMarket);
|
|
7691
7886
|
}, [resolvedReadOnlyMarket]);
|
|
7692
|
-
const orderEligibility = (0,
|
|
7693
|
-
() => (0,
|
|
7887
|
+
const orderEligibility = (0, import_react9.useMemo)(
|
|
7888
|
+
() => (0, import_hooks29.resolveOrderEligibility)({
|
|
7694
7889
|
event: scopedSelectedEvent,
|
|
7695
7890
|
market: scopedSelectedMarket,
|
|
7696
7891
|
outcome: scopedSelectedOutcome,
|
|
@@ -7699,47 +7894,47 @@ var PlaceOrder = ({
|
|
|
7699
7894
|
[scopedSelectedEvent, scopedSelectedMarket, scopedSelectedOutcome, resolvedEventTradingState]
|
|
7700
7895
|
);
|
|
7701
7896
|
const isResolvedOutcomeCtaLocked = resolvedEventTradingState.kind === "resolved" || resolvedTradingState.kind === "resolved";
|
|
7702
|
-
const { isAuthenticated, user } = (0,
|
|
7703
|
-
const { totalBalance, isLoading: isBalanceLoading } = (0,
|
|
7704
|
-
const executeManaged = (0,
|
|
7705
|
-
const aggClient = (0,
|
|
7706
|
-
const queryClient = (0,
|
|
7707
|
-
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)(
|
|
7708
7903
|
scopedSelectedMarket ? [scopedSelectedMarket] : void 0
|
|
7709
7904
|
);
|
|
7710
|
-
const midpointsClusterMarkets = (0,
|
|
7905
|
+
const midpointsClusterMarkets = (0, import_react9.useMemo)(() => {
|
|
7711
7906
|
if (!scopedSelectedMarket) return [];
|
|
7712
7907
|
return normalizeVenueMarketCluster(
|
|
7713
7908
|
resolvedEventTradingState.displayMarkets,
|
|
7714
7909
|
scopedSelectedMarket.id
|
|
7715
7910
|
);
|
|
7716
7911
|
}, [resolvedEventTradingState.displayMarkets, scopedSelectedMarket]);
|
|
7717
|
-
const { prices: clusterMidpoints } = (0,
|
|
7718
|
-
const outcomes = (0,
|
|
7912
|
+
const { prices: clusterMidpoints } = (0, import_hooks29.useMidpoints)(midpointsClusterMarkets);
|
|
7913
|
+
const outcomes = (0, import_react9.useMemo)(
|
|
7719
7914
|
() => mapVenueMarketOutcomesToPlaceOrderOutcomes(scopedSelectedMarket == null ? void 0 : scopedSelectedMarket.venueMarketOutcomes),
|
|
7720
7915
|
[scopedSelectedMarket == null ? void 0 : scopedSelectedMarket.venueMarketOutcomes]
|
|
7721
7916
|
);
|
|
7722
|
-
const buyTabRef = (0,
|
|
7723
|
-
const sellTabRef = (0,
|
|
7724
|
-
const [internalTab, setInternalTab] = (0,
|
|
7725
|
-
const [internalAmount, setInternalAmount] = (0,
|
|
7726
|
-
const [sellFilledForOutcomeId, setSellFilledForOutcomeId] = (0,
|
|
7727
|
-
const [internalSlippage, setInternalSlippage] = (0,
|
|
7728
|
-
const [isRoutesExpanded, setIsRoutesExpanded] = (0,
|
|
7729
|
-
const [selectedRouteCardId, setSelectedRouteCardId] = (0,
|
|
7730
|
-
const [isSplitDetailOpen, setIsSplitDetailOpen] = (0,
|
|
7731
|
-
const [submissionFeedback, setSubmissionFeedback] = (0,
|
|
7732
|
-
const [submissionProgressState, setSubmissionProgressState] = (0,
|
|
7733
|
-
const debouncedAmount = (0,
|
|
7734
|
-
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]);
|
|
7735
7930
|
const {
|
|
7736
7931
|
positions: executionPositions,
|
|
7737
7932
|
isLoading: isExecutionPositionsLoading,
|
|
7738
7933
|
isFetching: isExecutionPositionsFetching
|
|
7739
|
-
} = (0,
|
|
7934
|
+
} = (0, import_hooks29.useExecutionPositions)({
|
|
7740
7935
|
enabled: Boolean(isAuthenticated && isSell)
|
|
7741
7936
|
});
|
|
7742
|
-
const smartRoute = (0,
|
|
7937
|
+
const smartRoute = (0, import_hooks29.useSmartRoute)({
|
|
7743
7938
|
venueMarketOutcomeId: scopedSelectedOutcomeId,
|
|
7744
7939
|
maxSpend: isSell ? void 0 : debouncedAmount,
|
|
7745
7940
|
sellShares: isSell ? debouncedAmount : void 0,
|
|
@@ -7752,7 +7947,7 @@ var PlaceOrder = ({
|
|
|
7752
7947
|
tradeSide: isSell ? "sell" : "buy",
|
|
7753
7948
|
enabled: debouncedAmount > 0 && orderEligibility.canPlaceOrder
|
|
7754
7949
|
});
|
|
7755
|
-
const currentSellableShares = (0,
|
|
7950
|
+
const currentSellableShares = (0, import_react9.useMemo)(() => {
|
|
7756
7951
|
var _a2, _b2, _c2, _d2, _e2, _f2, _g2;
|
|
7757
7952
|
const sharesFromQuote = (_b2 = (_a2 = smartRoute.data) == null ? void 0 : _a2.positionAvailability) == null ? void 0 : _b2.totalSellableShares;
|
|
7758
7953
|
if (typeof sharesFromQuote === "number" && Number.isFinite(sharesFromQuote)) {
|
|
@@ -7789,12 +7984,12 @@ var PlaceOrder = ({
|
|
|
7789
7984
|
(_j = (_i = smartRoute.data) == null ? void 0 : _i.positionAvailability) == null ? void 0 : _j.totalSellableShares
|
|
7790
7985
|
]);
|
|
7791
7986
|
const isCurrentSellableSharesLoading = isSell && isAuthenticated && !(typeof ((_l = (_k = smartRoute.data) == null ? void 0 : _k.positionAvailability) == null ? void 0 : _l.totalSellableShares) === "number") && (isExecutionPositionsLoading || isExecutionPositionsFetching);
|
|
7792
|
-
const displayedCurrentSellableShares = (0,
|
|
7987
|
+
const displayedCurrentSellableShares = (0, import_react9.useMemo)(() => {
|
|
7793
7988
|
if (!Number.isFinite(currentSellableShares) || currentSellableShares <= 0) return 0;
|
|
7794
7989
|
return Math.floor(currentSellableShares * 100) / 100;
|
|
7795
7990
|
}, [currentSellableShares]);
|
|
7796
7991
|
const isAtMaxSellableShares = isSell && displayedCurrentSellableShares > 0 && Math.abs(internalAmount - displayedCurrentSellableShares) < 1e-9;
|
|
7797
|
-
(0,
|
|
7992
|
+
(0, import_react9.useEffect)(() => {
|
|
7798
7993
|
if (!isSell || isCurrentSellableSharesLoading) return;
|
|
7799
7994
|
if (scopedSelectedOutcomeId === sellFilledForOutcomeId) return;
|
|
7800
7995
|
setInternalAmount(displayedCurrentSellableShares);
|
|
@@ -7808,7 +8003,7 @@ var PlaceOrder = ({
|
|
|
7808
8003
|
displayedCurrentSellableShares,
|
|
7809
8004
|
onAmountChange
|
|
7810
8005
|
]);
|
|
7811
|
-
const routeCards = (0,
|
|
8006
|
+
const routeCards = (0, import_react9.useMemo)(
|
|
7812
8007
|
() => smartRoute.data ? buildLiveRouteCards({
|
|
7813
8008
|
eventVenues: scopedSelectedEvent == null ? void 0 : scopedSelectedEvent.venueMarkets.map((market) => market.venue),
|
|
7814
8009
|
labels: tradingLabels,
|
|
@@ -7817,7 +8012,7 @@ var PlaceOrder = ({
|
|
|
7817
8012
|
}) : [],
|
|
7818
8013
|
[smartRoute.data, tradingLabels, isSell, scopedSelectedEvent == null ? void 0 : scopedSelectedEvent.venueMarkets]
|
|
7819
8014
|
);
|
|
7820
|
-
const resolvedSelectedRouteCardId = (0,
|
|
8015
|
+
const resolvedSelectedRouteCardId = (0, import_react9.useMemo)(() => {
|
|
7821
8016
|
var _a2, _b2, _c2, _d2;
|
|
7822
8017
|
if (routeCards.length === 0) return null;
|
|
7823
8018
|
if (selectedRouteCardId && routeCards.some((card) => card.id === selectedRouteCardId && !card.isUnavailable)) {
|
|
@@ -7825,7 +8020,7 @@ var PlaceOrder = ({
|
|
|
7825
8020
|
}
|
|
7826
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;
|
|
7827
8022
|
}, [routeCards, selectedRouteCardId]);
|
|
7828
|
-
(0,
|
|
8023
|
+
(0, import_react9.useEffect)(() => {
|
|
7829
8024
|
if (routeCards.length === 0) {
|
|
7830
8025
|
setSelectedRouteCardId(null);
|
|
7831
8026
|
setIsRoutesExpanded(false);
|
|
@@ -7836,19 +8031,19 @@ var PlaceOrder = ({
|
|
|
7836
8031
|
setSelectedRouteCardId(resolvedSelectedRouteCardId);
|
|
7837
8032
|
}
|
|
7838
8033
|
}, [resolvedSelectedRouteCardId, routeCards.length, selectedRouteCardId]);
|
|
7839
|
-
(0,
|
|
8034
|
+
(0, import_react9.useEffect)(() => {
|
|
7840
8035
|
setSubmissionFeedback(null);
|
|
7841
8036
|
setSubmissionProgressState(null);
|
|
7842
8037
|
}, [internalAmount, internalSlippage, internalTab, scopedSelectedOutcomeId]);
|
|
7843
8038
|
const orderedRouteCards = routeCards;
|
|
7844
8039
|
const selectedRouteCard = (_n = (_m = orderedRouteCards.find((card) => card.id === resolvedSelectedRouteCardId)) != null ? _m : orderedRouteCards[0]) != null ? _n : null;
|
|
7845
|
-
const isKalshiRoute = (0,
|
|
8040
|
+
const isKalshiRoute = (0, import_react9.useMemo)(() => {
|
|
7846
8041
|
if (selectedRouteCard) {
|
|
7847
8042
|
return selectedRouteCard.venue === "kalshi" || selectedRouteCard.quoteData.fills.some((f) => f.venue === "kalshi");
|
|
7848
8043
|
}
|
|
7849
8044
|
return (scopedSelectedMarket == null ? void 0 : scopedSelectedMarket.venue) === "kalshi";
|
|
7850
8045
|
}, [selectedRouteCard, scopedSelectedMarket]);
|
|
7851
|
-
const isKalshiVerified = (0,
|
|
8046
|
+
const isKalshiVerified = (0, import_react9.useMemo)(() => {
|
|
7852
8047
|
var _a2;
|
|
7853
8048
|
const kalshiAccount = (_a2 = user == null ? void 0 : user.venueAccounts) == null ? void 0 : _a2.find((va) => va.venue === "kalshi");
|
|
7854
8049
|
return (kalshiAccount == null ? void 0 : kalshiAccount.kycStatus) === "verified";
|
|
@@ -7865,10 +8060,10 @@ var PlaceOrder = ({
|
|
|
7865
8060
|
} = useKalshiKycFlow({
|
|
7866
8061
|
isKalshiVerified,
|
|
7867
8062
|
userId: user == null ? void 0 : user.id,
|
|
7868
|
-
walletAddress: (_o = (0,
|
|
8063
|
+
walletAddress: (_o = (0, import_hooks29.getWalletAddressFromUserProfile)(user)) != null ? _o : null,
|
|
7869
8064
|
onError
|
|
7870
8065
|
});
|
|
7871
|
-
const handleRouteCardSelect = (0,
|
|
8066
|
+
const handleRouteCardSelect = (0, import_react9.useCallback)(
|
|
7872
8067
|
(cardId) => {
|
|
7873
8068
|
if (cardId === resolvedSelectedRouteCardId) {
|
|
7874
8069
|
const card = routeCards.find((c) => c.id === cardId);
|
|
@@ -7881,7 +8076,7 @@ var PlaceOrder = ({
|
|
|
7881
8076
|
},
|
|
7882
8077
|
[resolvedSelectedRouteCardId, routeCards]
|
|
7883
8078
|
);
|
|
7884
|
-
const executionProgress = (0,
|
|
8079
|
+
const executionProgress = (0, import_hooks29.useExecutionProgress)({
|
|
7885
8080
|
orderIds: (_p = submissionProgressState == null ? void 0 : submissionProgressState.orderIds) != null ? _p : null,
|
|
7886
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)
|
|
7887
8082
|
});
|
|
@@ -7889,7 +8084,7 @@ var PlaceOrder = ({
|
|
|
7889
8084
|
const headerImage = (_v = (_u = scopedSelectedMarket == null ? void 0 : scopedSelectedMarket.image) != null ? _u : scopedSelectedEvent == null ? void 0 : scopedSelectedEvent.image) != null ? _v : null;
|
|
7890
8085
|
const headerTitle = (_x = (_w = scopedSelectedEvent == null ? void 0 : scopedSelectedEvent.title) != null ? _w : scopedSelectedMarket == null ? void 0 : scopedSelectedMarket.question) != null ? _x : "";
|
|
7891
8086
|
const headerSubtitle = (_y = scopedSelectedMarket == null ? void 0 : scopedSelectedMarket.question) != null ? _y : "";
|
|
7892
|
-
const buildExecutionSummary = (0,
|
|
8087
|
+
const buildExecutionSummary = (0, import_react9.useCallback)(
|
|
7893
8088
|
(quoteData, executionVenue, orderId, partialFillSummary) => {
|
|
7894
8089
|
var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2;
|
|
7895
8090
|
if (!quoteData) return void 0;
|
|
@@ -7956,7 +8151,7 @@ var PlaceOrder = ({
|
|
|
7956
8151
|
tradingLabels
|
|
7957
8152
|
]
|
|
7958
8153
|
);
|
|
7959
|
-
(0,
|
|
8154
|
+
(0, import_react9.useEffect)(() => {
|
|
7960
8155
|
if (executionProgress.phase === "order_submitted") {
|
|
7961
8156
|
const submittedOrder = executionProgress.submittedOrders[0];
|
|
7962
8157
|
setSubmissionProgressState((prev) => {
|
|
@@ -7988,7 +8183,7 @@ var PlaceOrder = ({
|
|
|
7988
8183
|
executionProgress.submittedOrders,
|
|
7989
8184
|
selectedRouteCard == null ? void 0 : selectedRouteCard.quoteData
|
|
7990
8185
|
]);
|
|
7991
|
-
(0,
|
|
8186
|
+
(0, import_react9.useEffect)(() => {
|
|
7992
8187
|
const dp = executionProgress.dagProgress;
|
|
7993
8188
|
if (!dp) return;
|
|
7994
8189
|
setSubmissionProgressState((prev) => {
|
|
@@ -8007,7 +8202,7 @@ var PlaceOrder = ({
|
|
|
8007
8202
|
return __spreadProps(__spreadValues({}, prev), { dagProgress: dp });
|
|
8008
8203
|
});
|
|
8009
8204
|
}, [executionProgress.dagProgress, tradingLabels.orderFailed]);
|
|
8010
|
-
(0,
|
|
8205
|
+
(0, import_react9.useEffect)(() => {
|
|
8011
8206
|
const orderIds = submissionProgressState == null ? void 0 : submissionProgressState.orderIds;
|
|
8012
8207
|
if (!(orderIds == null ? void 0 : orderIds.length)) return;
|
|
8013
8208
|
const aggregateStatus = deriveAggregateOrderStatus(
|
|
@@ -8055,12 +8250,12 @@ var PlaceOrder = ({
|
|
|
8055
8250
|
submissionProgressState == null ? void 0 : submissionProgressState.orderIds,
|
|
8056
8251
|
tradingLabels.orderFailed
|
|
8057
8252
|
]);
|
|
8058
|
-
(0,
|
|
8253
|
+
(0, import_react9.useEffect)(() => {
|
|
8059
8254
|
if (!submissionProgressState) return;
|
|
8060
8255
|
onExecutionStateChange == null ? void 0 : onExecutionStateChange(submissionProgressState);
|
|
8061
8256
|
if (submissionProgressState.phase === "success" && submissionProgressState.summary) {
|
|
8062
|
-
(0,
|
|
8063
|
-
(0,
|
|
8257
|
+
(0, import_hooks29.invalidateBalanceQueries)(queryClient);
|
|
8258
|
+
(0, import_hooks29.invalidatePositionQueries)(queryClient);
|
|
8064
8259
|
onSuccess == null ? void 0 : onSuccess(submissionProgressState.summary);
|
|
8065
8260
|
}
|
|
8066
8261
|
if (submissionProgressState.phase === "failed" && submissionProgressState.errorMessage) {
|
|
@@ -8072,7 +8267,7 @@ var PlaceOrder = ({
|
|
|
8072
8267
|
const hasEnteredAmount = internalAmount > 0;
|
|
8073
8268
|
const isInsufficientBalance = !isSell && isAuthenticated && hasEnteredAmount && !isBalanceLoading && internalAmount > totalBalance;
|
|
8074
8269
|
const isBelowMinimum = !isSell && hasEnteredAmount && internalAmount < MIN_BUY_ORDER_AMOUNT;
|
|
8075
|
-
const quoteStatus = (0,
|
|
8270
|
+
const quoteStatus = (0, import_react9.useMemo)(() => {
|
|
8076
8271
|
if (!orderEligibility.canPlaceOrder) return void 0;
|
|
8077
8272
|
return resolvePlaceOrderQuoteStatus({
|
|
8078
8273
|
amount: internalAmount,
|
|
@@ -8087,7 +8282,7 @@ var PlaceOrder = ({
|
|
|
8087
8282
|
scopedSelectedMarket,
|
|
8088
8283
|
tradingLabels
|
|
8089
8284
|
]);
|
|
8090
|
-
const smartRouteErrorMessage = (0,
|
|
8285
|
+
const smartRouteErrorMessage = (0, import_react9.useMemo)(() => {
|
|
8091
8286
|
if (!smartRoute.error) return null;
|
|
8092
8287
|
return normalizePlaceOrderErrorMessage({
|
|
8093
8288
|
errorMessage: smartRoute.error.message,
|
|
@@ -8095,7 +8290,7 @@ var PlaceOrder = ({
|
|
|
8095
8290
|
});
|
|
8096
8291
|
}, [smartRoute.error, tradingLabels.quoteUnavailable]);
|
|
8097
8292
|
const progressActionLabel = (internalTab === "buy" ? tradingLabels.buyingOutcome(selectedOutcomeLabel) : tradingLabels.sellingOutcome(selectedOutcomeLabel)).trim();
|
|
8098
|
-
const canRetryRemaining = (0,
|
|
8293
|
+
const canRetryRemaining = (0, import_react9.useMemo)(() => {
|
|
8099
8294
|
const remaining = getPlaceOrderUnfilledRemaining({
|
|
8100
8295
|
originalAmount: internalAmount,
|
|
8101
8296
|
terminalOrderEvents: executionProgress.terminalOrderEvents
|
|
@@ -8104,7 +8299,7 @@ var PlaceOrder = ({
|
|
|
8104
8299
|
return remaining >= minRemainder;
|
|
8105
8300
|
}, [executionProgress.terminalOrderEvents, internalAmount, isSell]);
|
|
8106
8301
|
const PARTIAL_FILL_AUTO_SUCCESS_THRESHOLD = 0.95;
|
|
8107
|
-
const shouldAutoSkipPartialFill = (0,
|
|
8302
|
+
const shouldAutoSkipPartialFill = (0, import_react9.useMemo)(() => {
|
|
8108
8303
|
if (internalAmount <= 0) return false;
|
|
8109
8304
|
const remaining = getPlaceOrderUnfilledRemaining({
|
|
8110
8305
|
originalAmount: internalAmount,
|
|
@@ -8114,7 +8309,7 @@ var PlaceOrder = ({
|
|
|
8114
8309
|
const fillRatio = filled / internalAmount;
|
|
8115
8310
|
return fillRatio >= PARTIAL_FILL_AUTO_SUCCESS_THRESHOLD || !canRetryRemaining;
|
|
8116
8311
|
}, [canRetryRemaining, executionProgress.terminalOrderEvents, internalAmount]);
|
|
8117
|
-
const failureSummary = (0,
|
|
8312
|
+
const failureSummary = (0, import_react9.useMemo)(() => {
|
|
8118
8313
|
var _a2;
|
|
8119
8314
|
if ((submissionProgressState == null ? void 0 : submissionProgressState.phase) !== "failed") return void 0;
|
|
8120
8315
|
return buildPlaceOrderFailureSummary({
|
|
@@ -8143,30 +8338,76 @@ var PlaceOrder = ({
|
|
|
8143
8338
|
submissionProgressState,
|
|
8144
8339
|
tradingLabels
|
|
8145
8340
|
]);
|
|
8146
|
-
const displayedToWinHint = (
|
|
8147
|
-
|
|
8341
|
+
const displayedToWinHint = (0, import_react9.useMemo)(() => {
|
|
8342
|
+
var _a2, _b2, _c2, _d2;
|
|
8343
|
+
if (!selectedRouteCard) return "";
|
|
8344
|
+
if (selectedRouteCard.isUnavailable) {
|
|
8345
|
+
const avgPrice = (_c2 = (_b2 = (_a2 = selectedRouteCard.quoteData) == null ? void 0 : _a2.fills) == null ? void 0 : _b2[0]) == null ? void 0 : _c2.avgPrice;
|
|
8346
|
+
return avgPrice != null ? tradingLabels.averagePrice(avgPrice) : "";
|
|
8347
|
+
}
|
|
8348
|
+
return (_d2 = selectedRouteCard.hint) != null ? _d2 : "";
|
|
8349
|
+
}, [selectedRouteCard, tradingLabels]);
|
|
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]);
|
|
8148
8390
|
const isActionLoading = isPrimaryActionLoading || executeManaged.isPending;
|
|
8149
|
-
const selectedRouteGeoBlocked = (
|
|
8150
|
-
const geoBlockedVenuesFromWarnings = (0,
|
|
8391
|
+
const selectedRouteGeoBlocked = (_C = selectedRouteCard == null ? void 0 : selectedRouteCard.isUnavailable) != null ? _C : false;
|
|
8392
|
+
const geoBlockedVenuesFromWarnings = (0, import_react9.useMemo)(
|
|
8151
8393
|
() => {
|
|
8152
8394
|
var _a2;
|
|
8153
8395
|
return extractGeoBlockedVenues((_a2 = smartRoute.data) == null ? void 0 : _a2.warnings);
|
|
8154
8396
|
},
|
|
8155
|
-
[(
|
|
8397
|
+
[(_D = smartRoute.data) == null ? void 0 : _D.warnings]
|
|
8156
8398
|
);
|
|
8157
|
-
const isPrimaryVenueGeoBlocked = (0,
|
|
8399
|
+
const isPrimaryVenueGeoBlocked = (0, import_react9.useMemo)(() => {
|
|
8158
8400
|
var _a2, _b2;
|
|
8159
8401
|
if (!selectedRouteCard || selectedRouteCard.isUnavailable) return false;
|
|
8160
8402
|
const fills = (_b2 = (_a2 = selectedRouteCard.quoteData) == null ? void 0 : _a2.fills) != null ? _b2 : [];
|
|
8161
8403
|
return fills.length > 0 && fills.every((f) => geoBlockedVenuesFromWarnings.has(f.venue));
|
|
8162
8404
|
}, [selectedRouteCard, geoBlockedVenuesFromWarnings]);
|
|
8163
8405
|
const shouldShowGeoBlockBanner = isTradingBlocked || selectedRouteGeoBlocked || isPrimaryVenueGeoBlocked;
|
|
8164
|
-
const geoBlockVenueLabel = isTradingBlocked ? void 0 : selectedRouteGeoBlocked ? selectedRouteCard == null ? void 0 : selectedRouteCard.label : isPrimaryVenueGeoBlocked && (selectedRouteCard == null ? void 0 : selectedRouteCard.venue) ? getTradingVenueLabel(selectedRouteCard.venue) : void 0;
|
|
8165
8406
|
const actionLabel = `${internalTab === "buy" ? tradingLabels.buy : tradingLabels.sell} ${selectedOutcomeLabel}`.trim();
|
|
8166
8407
|
const isActionDisabled = isPrimaryActionDisabled || !orderEligibility.canPlaceOrder || isActionLoading || !hasEnteredAmount || !scopedSelectedMarket || isInsufficientBalance || isBelowMinimum || !selectedRouteCard || !selectedRouteCard.quoteData.quoteId || selectedRouteGeoBlocked || !isAuthenticated || quoteStatus !== void 0;
|
|
8167
8408
|
const shouldShowSmartRouting = orderEligibility.canPlaceOrder && hasEnteredAmount && (orderedRouteCards.length > 0 || smartRoute.isFetching);
|
|
8168
8409
|
const shouldShowRouteToggle = orderedRouteCards.length > PLACE_ORDER_ROUTE_COLLAPSED_CARD_COUNT;
|
|
8169
|
-
const handleStartNewTrade = (0,
|
|
8410
|
+
const handleStartNewTrade = (0, import_react9.useCallback)(() => {
|
|
8170
8411
|
setSubmissionProgressState(null);
|
|
8171
8412
|
setSubmissionFeedback(null);
|
|
8172
8413
|
setInternalAmount(0);
|
|
@@ -8189,7 +8430,7 @@ var PlaceOrder = ({
|
|
|
8189
8430
|
const shareUrl = `https://twitter.com/intent/tweet?text=${encodeURIComponent(shareText)}`;
|
|
8190
8431
|
window.open(shareUrl, "_blank", "noopener,noreferrer");
|
|
8191
8432
|
};
|
|
8192
|
-
const handleExecuteQuote = (0,
|
|
8433
|
+
const handleExecuteQuote = (0, import_react9.useCallback)(
|
|
8193
8434
|
(quoteData) => __async(null, null, function* () {
|
|
8194
8435
|
const quoteId = quoteData == null ? void 0 : quoteData.quoteId;
|
|
8195
8436
|
if (!quoteId) {
|
|
@@ -8209,7 +8450,7 @@ var PlaceOrder = ({
|
|
|
8209
8450
|
}),
|
|
8210
8451
|
[executeManaged, onPrimaryAction, tradingLabels.quoteUnavailable]
|
|
8211
8452
|
);
|
|
8212
|
-
const handleSkipToSuccess = (0,
|
|
8453
|
+
const handleSkipToSuccess = (0, import_react9.useCallback)(() => {
|
|
8213
8454
|
const primaryFilledEvent = executionProgress.terminalOrderEvents.find(
|
|
8214
8455
|
(e) => e.event === "filled" || e.event === "partial_fill"
|
|
8215
8456
|
);
|
|
@@ -8234,7 +8475,7 @@ var PlaceOrder = ({
|
|
|
8234
8475
|
failureSummary,
|
|
8235
8476
|
selectedRouteCard == null ? void 0 : selectedRouteCard.quoteData
|
|
8236
8477
|
]);
|
|
8237
|
-
(0,
|
|
8478
|
+
(0, import_react9.useEffect)(() => {
|
|
8238
8479
|
if ((submissionProgressState == null ? void 0 : submissionProgressState.phase) !== "failed") return;
|
|
8239
8480
|
if ((failureSummary == null ? void 0 : failureSummary.kind) !== "partial_fill") return;
|
|
8240
8481
|
if (!shouldAutoSkipPartialFill) return;
|
|
@@ -8245,7 +8486,7 @@ var PlaceOrder = ({
|
|
|
8245
8486
|
shouldAutoSkipPartialFill,
|
|
8246
8487
|
submissionProgressState == null ? void 0 : submissionProgressState.phase
|
|
8247
8488
|
]);
|
|
8248
|
-
const handleRetrySubmission = (0,
|
|
8489
|
+
const handleRetrySubmission = (0, import_react9.useCallback)(() => __async(null, null, function* () {
|
|
8249
8490
|
var _a2, _b2, _c2;
|
|
8250
8491
|
if (!orderEligibility.canPlaceOrder) {
|
|
8251
8492
|
handleStartNewTrade();
|
|
@@ -8332,7 +8573,7 @@ var PlaceOrder = ({
|
|
|
8332
8573
|
]);
|
|
8333
8574
|
const resolvedStatusClassName = cn(classNames == null ? void 0 : classNames.root, className);
|
|
8334
8575
|
if (isLoading) {
|
|
8335
|
-
return /* @__PURE__ */ (0,
|
|
8576
|
+
return /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
8336
8577
|
Skeleton,
|
|
8337
8578
|
{
|
|
8338
8579
|
ariaLabel: labels.common.loading,
|
|
@@ -8343,7 +8584,7 @@ var PlaceOrder = ({
|
|
|
8343
8584
|
}
|
|
8344
8585
|
if (submissionProgressState) {
|
|
8345
8586
|
if (submissionProgressState.phase === "success" && submissionProgressState.summary) {
|
|
8346
|
-
return /* @__PURE__ */ (0,
|
|
8587
|
+
return /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
8347
8588
|
PlaceOrderSuccessView,
|
|
8348
8589
|
{
|
|
8349
8590
|
className: resolvedStatusClassName,
|
|
@@ -8355,7 +8596,7 @@ var PlaceOrder = ({
|
|
|
8355
8596
|
);
|
|
8356
8597
|
}
|
|
8357
8598
|
if (submissionProgressState.phase === "failed") {
|
|
8358
|
-
return /* @__PURE__ */ (0,
|
|
8599
|
+
return /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
8359
8600
|
PlaceOrderFailureView,
|
|
8360
8601
|
{
|
|
8361
8602
|
className: resolvedStatusClassName,
|
|
@@ -8453,7 +8694,7 @@ var PlaceOrder = ({
|
|
|
8453
8694
|
}
|
|
8454
8695
|
});
|
|
8455
8696
|
if (!orderEligibility.canPlaceOrder && resolvedReadOnlyTradingState.kind !== "open") {
|
|
8456
|
-
return /* @__PURE__ */ (0,
|
|
8697
|
+
return /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
8457
8698
|
PlaceOrderResolvedView,
|
|
8458
8699
|
{
|
|
8459
8700
|
tradingState: resolvedReadOnlyTradingState,
|
|
@@ -8463,8 +8704,8 @@ var PlaceOrder = ({
|
|
|
8463
8704
|
}
|
|
8464
8705
|
);
|
|
8465
8706
|
}
|
|
8466
|
-
return /* @__PURE__ */ (0,
|
|
8467
|
-
/* @__PURE__ */ (0,
|
|
8707
|
+
return /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(import_react9.Fragment, { children: [
|
|
8708
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(
|
|
8468
8709
|
Card,
|
|
8469
8710
|
{
|
|
8470
8711
|
className: cn(
|
|
@@ -8481,8 +8722,8 @@ var PlaceOrder = ({
|
|
|
8481
8722
|
headerTitle,
|
|
8482
8723
|
onClose
|
|
8483
8724
|
}),
|
|
8484
|
-
/* @__PURE__ */ (0,
|
|
8485
|
-
/* @__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)(
|
|
8486
8727
|
"div",
|
|
8487
8728
|
{
|
|
8488
8729
|
className: "agg-order-tabs flex items-end border-b border-agg-separator",
|
|
@@ -8493,7 +8734,7 @@ var PlaceOrder = ({
|
|
|
8493
8734
|
{ value: "sell", label: tradingLabels.sell, ref: sellTabRef }
|
|
8494
8735
|
].map((tabItem) => {
|
|
8495
8736
|
const isActive = internalTab === tabItem.value;
|
|
8496
|
-
return /* @__PURE__ */ (0,
|
|
8737
|
+
return /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(
|
|
8497
8738
|
"button",
|
|
8498
8739
|
{
|
|
8499
8740
|
ref: tabItem.ref,
|
|
@@ -8517,7 +8758,7 @@ var PlaceOrder = ({
|
|
|
8517
8758
|
onKeyDown: (event) => handleTabKeyDown(event, tabItem.value),
|
|
8518
8759
|
children: [
|
|
8519
8760
|
tabItem.label,
|
|
8520
|
-
/* @__PURE__ */ (0,
|
|
8761
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
8521
8762
|
"span",
|
|
8522
8763
|
{
|
|
8523
8764
|
"aria-hidden": "true",
|
|
@@ -8539,13 +8780,13 @@ var PlaceOrder = ({
|
|
|
8539
8780
|
})
|
|
8540
8781
|
}
|
|
8541
8782
|
),
|
|
8542
|
-
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) => {
|
|
8543
8784
|
var _a2, _b2, _c2;
|
|
8544
8785
|
const price = (_b2 = (_a2 = clusterMidpoints.get(outcome.id)) != null ? _a2 : livePrices.get(outcome.id)) != null ? _b2 : outcome.price;
|
|
8545
8786
|
const isActive = outcome.id === scopedSelectedOutcomeId;
|
|
8546
8787
|
const isPositive = resolveIsPositiveOutcome(outcome, index);
|
|
8547
8788
|
const displayLabel = ((_c2 = outcome.title) == null ? void 0 : _c2.trim()) || outcome.label;
|
|
8548
|
-
return /* @__PURE__ */ (0,
|
|
8789
|
+
return /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(
|
|
8549
8790
|
"button",
|
|
8550
8791
|
{
|
|
8551
8792
|
"data-id": outcome.id,
|
|
@@ -8565,7 +8806,7 @@ var PlaceOrder = ({
|
|
|
8565
8806
|
disabled: !orderEligibility.canPlaceOrder || isResolvedOutcomeCtaLocked,
|
|
8566
8807
|
onClick: () => handleOutcomeChange(outcome.id),
|
|
8567
8808
|
children: [
|
|
8568
|
-
/* @__PURE__ */ (0,
|
|
8809
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
8569
8810
|
Typography,
|
|
8570
8811
|
{
|
|
8571
8812
|
as: "span",
|
|
@@ -8574,18 +8815,18 @@ var PlaceOrder = ({
|
|
|
8574
8815
|
children: displayLabel
|
|
8575
8816
|
}
|
|
8576
8817
|
),
|
|
8577
|
-
/* @__PURE__ */ (0,
|
|
8818
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(Typography, { as: "span", variant: isActive ? "body-strong" : "body", children: formatProbabilityCents(price) })
|
|
8578
8819
|
]
|
|
8579
8820
|
},
|
|
8580
8821
|
outcome.id
|
|
8581
8822
|
);
|
|
8582
8823
|
}) }) : null,
|
|
8583
|
-
/* @__PURE__ */ (0,
|
|
8584
|
-
/* @__PURE__ */ (0,
|
|
8585
|
-
/* @__PURE__ */ (0,
|
|
8586
|
-
isAuthenticated ? isSell ? /* @__PURE__ */ (0,
|
|
8587
|
-
/* @__PURE__ */ (0,
|
|
8588
|
-
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)(
|
|
8589
8830
|
"button",
|
|
8590
8831
|
{
|
|
8591
8832
|
type: "button",
|
|
@@ -8601,9 +8842,9 @@ var PlaceOrder = ({
|
|
|
8601
8842
|
children: tradingLabels.maxShares
|
|
8602
8843
|
}
|
|
8603
8844
|
) : null
|
|
8604
|
-
] }) }) : /* @__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
|
|
8605
8846
|
] }),
|
|
8606
|
-
/* @__PURE__ */ (0,
|
|
8847
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
8607
8848
|
CurrencyInput,
|
|
8608
8849
|
{
|
|
8609
8850
|
value: internalAmount,
|
|
@@ -8623,10 +8864,40 @@ var PlaceOrder = ({
|
|
|
8623
8864
|
}
|
|
8624
8865
|
)
|
|
8625
8866
|
] }),
|
|
8626
|
-
|
|
8627
|
-
/* @__PURE__ */ (0,
|
|
8628
|
-
/* @__PURE__ */ (0,
|
|
8629
|
-
|
|
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)(
|
|
8630
8901
|
"button",
|
|
8631
8902
|
{
|
|
8632
8903
|
type: "button",
|
|
@@ -8634,8 +8905,8 @@ var PlaceOrder = ({
|
|
|
8634
8905
|
"aria-label": tradingLabels.viewAllRoutes(orderedRouteCards.length),
|
|
8635
8906
|
onClick: () => setIsRoutesExpanded((currentValue) => !currentValue),
|
|
8636
8907
|
children: [
|
|
8637
|
-
/* @__PURE__ */ (0,
|
|
8638
|
-
/* @__PURE__ */ (0,
|
|
8908
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)("span", { children: tradingLabels.viewAllRoutes(orderedRouteCards.length) }),
|
|
8909
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
8639
8910
|
Icon,
|
|
8640
8911
|
{
|
|
8641
8912
|
name: "chevron-down",
|
|
@@ -8648,8 +8919,8 @@ var PlaceOrder = ({
|
|
|
8648
8919
|
}
|
|
8649
8920
|
) : null
|
|
8650
8921
|
] }),
|
|
8651
|
-
/* @__PURE__ */ (0,
|
|
8652
|
-
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({
|
|
8653
8924
|
card,
|
|
8654
8925
|
enableAnimations,
|
|
8655
8926
|
isExpanded: card.kind === "split" ? isSplitDetailOpen : isRoutesExpanded,
|
|
@@ -8657,18 +8928,18 @@ var PlaceOrder = ({
|
|
|
8657
8928
|
onSelect: handleRouteCardSelect,
|
|
8658
8929
|
tradingLabels
|
|
8659
8930
|
}) }, card.id);
|
|
8660
|
-
}) : smartRoute.isFetching ? /* @__PURE__ */ (0,
|
|
8661
|
-
/* @__PURE__ */ (0,
|
|
8662
|
-
/* @__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, {})
|
|
8663
8934
|
] }) : null })
|
|
8664
8935
|
] }) : null,
|
|
8665
|
-
hasEnteredAmount && selectedRouteCard && orderEligibility.canPlaceOrder ? /* @__PURE__ */ (0,
|
|
8666
|
-
/* @__PURE__ */ (0,
|
|
8667
|
-
/* @__PURE__ */ (0,
|
|
8668
|
-
/* @__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 })
|
|
8669
8940
|
] }),
|
|
8670
|
-
/* @__PURE__ */ (0,
|
|
8671
|
-
|
|
8941
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
8942
|
+
import_react8.default,
|
|
8672
8943
|
{
|
|
8673
8944
|
value: displayedToWinValue,
|
|
8674
8945
|
locales: locale,
|
|
@@ -8682,7 +8953,7 @@ var PlaceOrder = ({
|
|
|
8682
8953
|
}
|
|
8683
8954
|
)
|
|
8684
8955
|
] }) : null,
|
|
8685
|
-
/* @__PURE__ */ (0,
|
|
8956
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(
|
|
8686
8957
|
"div",
|
|
8687
8958
|
{
|
|
8688
8959
|
className: cn(
|
|
@@ -8690,23 +8961,23 @@ var PlaceOrder = ({
|
|
|
8690
8961
|
classNames == null ? void 0 : classNames.footer
|
|
8691
8962
|
),
|
|
8692
8963
|
children: [
|
|
8693
|
-
!shouldShowGeoBlockBanner ? /* @__PURE__ */ (0,
|
|
8694
|
-
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)(
|
|
8695
8966
|
InlineAlert,
|
|
8696
8967
|
{
|
|
8697
8968
|
tone: submissionFeedback.tone,
|
|
8698
8969
|
message: submissionFeedback.message
|
|
8699
8970
|
}
|
|
8700
8971
|
) : null,
|
|
8701
|
-
!submissionFeedback && orderEligibility.canPlaceOrder && !isInsufficientBalance && isBelowMinimum ? /* @__PURE__ */ (0,
|
|
8972
|
+
!submissionFeedback && orderEligibility.canPlaceOrder && !isInsufficientBalance && isBelowMinimum ? /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
8702
8973
|
InlineAlert,
|
|
8703
8974
|
{
|
|
8704
8975
|
tone: "error",
|
|
8705
8976
|
message: tradingLabels.minimumOrderAmount(MIN_BUY_ORDER_AMOUNT)
|
|
8706
8977
|
}
|
|
8707
8978
|
) : null,
|
|
8708
|
-
!submissionFeedback && orderEligibility.canPlaceOrder && !isInsufficientBalance && !isBelowMinimum && quoteStatus ? /* @__PURE__ */ (0,
|
|
8709
|
-
!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)(
|
|
8710
8981
|
InlineAlert,
|
|
8711
8982
|
{
|
|
8712
8983
|
tone: "error",
|
|
@@ -8718,14 +8989,14 @@ var PlaceOrder = ({
|
|
|
8718
8989
|
}
|
|
8719
8990
|
) : null
|
|
8720
8991
|
] }) : null,
|
|
8721
|
-
!submissionFeedback && !shouldShowGeoBlockBanner && orderEligibility.canPlaceOrder && isInsufficientBalance ? /* @__PURE__ */ (0,
|
|
8992
|
+
!submissionFeedback && !shouldShowGeoBlockBanner && orderEligibility.canPlaceOrder && isInsufficientBalance ? /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(
|
|
8722
8993
|
"div",
|
|
8723
8994
|
{
|
|
8724
8995
|
className: "agg-order-insufficient-balance-alert flex items-center justify-center gap-2",
|
|
8725
8996
|
role: "status",
|
|
8726
8997
|
"aria-live": "polite",
|
|
8727
8998
|
children: [
|
|
8728
|
-
/* @__PURE__ */ (0,
|
|
8999
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
8729
9000
|
Icon,
|
|
8730
9001
|
{
|
|
8731
9002
|
name: "warning-filled",
|
|
@@ -8734,11 +9005,11 @@ var PlaceOrder = ({
|
|
|
8734
9005
|
"aria-hidden": "true"
|
|
8735
9006
|
}
|
|
8736
9007
|
),
|
|
8737
|
-
/* @__PURE__ */ (0,
|
|
9008
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)("span", { className: "text-agg-sm text-agg-foreground", children: tradingLabels.insufficientBalance })
|
|
8738
9009
|
]
|
|
8739
9010
|
}
|
|
8740
9011
|
) : null,
|
|
8741
|
-
!submissionFeedback && !shouldShowGeoBlockBanner && isInsufficientBalance ? /* @__PURE__ */ (0,
|
|
9012
|
+
!submissionFeedback && !shouldShowGeoBlockBanner && isInsufficientBalance ? /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
8742
9013
|
Button,
|
|
8743
9014
|
{
|
|
8744
9015
|
size: "large",
|
|
@@ -8748,7 +9019,7 @@ var PlaceOrder = ({
|
|
|
8748
9019
|
onClick: handleDepositRequiredClick,
|
|
8749
9020
|
children: tradingLabels.deposit
|
|
8750
9021
|
}
|
|
8751
|
-
) : 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)(
|
|
8752
9023
|
Button,
|
|
8753
9024
|
{
|
|
8754
9025
|
size: "large",
|
|
@@ -8756,10 +9027,10 @@ var PlaceOrder = ({
|
|
|
8756
9027
|
className: "agg-order-submit h-12 w-full px-8 text-agg-base leading-agg-6 shadow-none",
|
|
8757
9028
|
disabled: !orderEligibility.canPlaceOrder || shouldShowGeoBlockBanner,
|
|
8758
9029
|
"aria-label": tradingLabels.signInToTrade,
|
|
8759
|
-
onClick:
|
|
9030
|
+
onClick: import_hooks29.requestAggAuthChooserOpen,
|
|
8760
9031
|
children: tradingLabels.signInToTrade
|
|
8761
9032
|
}
|
|
8762
|
-
) : /* @__PURE__ */ (0,
|
|
9033
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
8763
9034
|
Button,
|
|
8764
9035
|
{
|
|
8765
9036
|
size: "large",
|
|
@@ -8774,8 +9045,20 @@ var PlaceOrder = ({
|
|
|
8774
9045
|
children: actionLabel
|
|
8775
9046
|
}
|
|
8776
9047
|
),
|
|
8777
|
-
shouldShowGeoBlockBanner ? /* @__PURE__ */ (0,
|
|
8778
|
-
|
|
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
|
|
8779
9062
|
]
|
|
8780
9063
|
}
|
|
8781
9064
|
)
|
|
@@ -8783,7 +9066,7 @@ var PlaceOrder = ({
|
|
|
8783
9066
|
]
|
|
8784
9067
|
}
|
|
8785
9068
|
),
|
|
8786
|
-
/* @__PURE__ */ (0,
|
|
9069
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
8787
9070
|
KycVerifyModal,
|
|
8788
9071
|
{
|
|
8789
9072
|
open: isKycVerifyModalOpen,
|
|
@@ -8800,7 +9083,7 @@ var PlaceOrder = ({
|
|
|
8800
9083
|
}
|
|
8801
9084
|
}
|
|
8802
9085
|
),
|
|
8803
|
-
/* @__PURE__ */ (0,
|
|
9086
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
8804
9087
|
KycSuccessModal,
|
|
8805
9088
|
{
|
|
8806
9089
|
open: showKycSuccessModal,
|
|
@@ -8819,7 +9102,7 @@ var PlaceOrder = ({
|
|
|
8819
9102
|
PlaceOrder.displayName = "PlaceOrder";
|
|
8820
9103
|
|
|
8821
9104
|
// src/trading/trading-context/index.tsx
|
|
8822
|
-
var
|
|
9105
|
+
var import_hooks30 = require("@agg-build/hooks");
|
|
8823
9106
|
// Annotate the CommonJS export names for ESM import in node:
|
|
8824
9107
|
0 && (module.exports = {
|
|
8825
9108
|
PlaceOrder,
|