@agg-market/ui 7.0.0 → 9.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-MUB7NYWZ.mjs → chunk-3G7C6WEC.mjs} +3453 -990
- package/dist/{chunk-KQKLLL4D.mjs → chunk-3U4VHAP6.mjs} +8 -11
- package/dist/{chunk-6I474QXG.mjs → chunk-6CRY27SQ.mjs} +92 -65
- package/dist/{chunk-L5U7RGJV.mjs → chunk-HJ4UPYM7.mjs} +22 -23
- package/dist/{chunk-AVHMI47G.mjs → chunk-N7U7QCSB.mjs} +5 -6
- package/dist/events.js +2904 -2756
- package/dist/events.mjs +2 -4
- package/dist/index.js +1594 -1438
- package/dist/index.mjs +26 -32
- package/dist/modals.js +821 -687
- package/dist/modals.mjs +2 -3
- package/dist/pages.js +2145 -1993
- package/dist/pages.mjs +4 -7
- package/dist/primitives.js +417 -293
- package/dist/primitives.mjs +22 -28
- package/dist/styles.css +1 -1
- package/dist/tailwind.css +1 -1
- package/dist/trading.js +564 -451
- package/dist/trading.mjs +2 -4
- package/dist/types/events/item/event-list-item.types.d.mts +5 -2
- package/dist/types/events/item/event-list-item.types.d.ts +5 -2
- package/dist/types/events/item/event-list-item.utils.d.mts +5 -5
- package/dist/types/events/item/event-list-item.utils.d.ts +5 -5
- package/dist/types/events/item/index.d.mts +1 -1
- package/dist/types/events/item/index.d.ts +1 -1
- package/dist/types/events/item-details/event-list-item-details.types.d.mts +4 -3
- package/dist/types/events/item-details/event-list-item-details.types.d.ts +4 -3
- package/dist/types/events/list/event-list.types.d.mts +4 -4
- package/dist/types/events/list/event-list.types.d.ts +4 -4
- package/dist/types/events/list/event-list.utils.d.mts +5 -5
- package/dist/types/events/list/event-list.utils.d.ts +5 -5
- package/dist/types/events/market-details/market-details.types.d.mts +5 -3
- package/dist/types/events/market-details/market-details.types.d.ts +5 -3
- package/dist/types/events/market-details/market-details.utils.d.mts +16 -5
- package/dist/types/events/market-details/market-details.utils.d.ts +16 -5
- package/dist/types/onramp/index.d.mts +6 -0
- package/dist/types/onramp/index.d.ts +6 -0
- package/dist/types/onramp/onramp-modal.constants.d.mts +9 -0
- package/dist/types/onramp/onramp-modal.constants.d.ts +9 -0
- package/dist/types/onramp/onramp-modal.types.d.mts +64 -0
- package/dist/types/onramp/onramp-modal.types.d.ts +64 -0
- package/dist/types/onramp/steps/quote-card.d.mts +8 -0
- package/dist/types/onramp/steps/quote-card.d.ts +8 -0
- package/dist/types/onramp/steps/quote-form.d.mts +12 -0
- package/dist/types/onramp/steps/quote-form.d.ts +12 -0
- package/dist/types/onramp/steps/quote-selection.d.mts +14 -0
- package/dist/types/onramp/steps/quote-selection.d.ts +14 -0
- package/dist/types/onramp/steps/widget.d.mts +7 -0
- package/dist/types/onramp/steps/widget.d.ts +7 -0
- package/dist/types/pages/event-market/event-market.types.d.mts +2 -2
- package/dist/types/pages/event-market/event-market.types.d.ts +2 -2
- package/dist/types/primitives/chart/index.d.mts +10 -1
- package/dist/types/primitives/chart/index.d.ts +10 -1
- package/dist/types/primitives/icon/index.d.mts +2 -1
- package/dist/types/primitives/icon/index.d.ts +2 -1
- package/dist/types/primitives/icon/registry.d.mts +4 -0
- package/dist/types/primitives/icon/registry.d.ts +4 -0
- package/dist/types/primitives/icon/svg/image.d.mts +5 -0
- package/dist/types/primitives/icon/svg/image.d.ts +5 -0
- package/dist/types/primitives/index.d.mts +1 -0
- package/dist/types/primitives/index.d.ts +1 -0
- package/dist/types/primitives/remote-image/index.d.mts +6 -0
- package/dist/types/primitives/remote-image/index.d.ts +6 -0
- package/dist/types/primitives/remote-image/remote-image.constants.d.mts +4 -0
- package/dist/types/primitives/remote-image/remote-image.constants.d.ts +4 -0
- package/dist/types/primitives/remote-image/remote-image.types.d.mts +16 -0
- package/dist/types/primitives/remote-image/remote-image.types.d.ts +16 -0
- package/dist/types/trading/types.d.mts +2 -2
- package/dist/types/trading/types.d.ts +2 -2
- package/package.json +1 -1
- package/dist/chunk-EEQPPN7N.mjs +0 -214
- package/dist/chunk-EERL6BZF.mjs +0 -997
- package/dist/chunk-OAJBTVZT.mjs +0 -119
- package/dist/chunk-OVQVAUAI.mjs +0 -420
- package/dist/chunk-ZYUJ7YEJ.mjs +0 -645
package/dist/trading.js
CHANGED
|
@@ -234,7 +234,7 @@ var getTradingSlippageLabel = (value) => {
|
|
|
234
234
|
};
|
|
235
235
|
|
|
236
236
|
// src/trading/settlement/index.tsx
|
|
237
|
-
var
|
|
237
|
+
var import_react2 = require("react");
|
|
238
238
|
var import_hooks10 = require("@agg-market/hooks");
|
|
239
239
|
|
|
240
240
|
// src/primitives/card/index.tsx
|
|
@@ -1043,35 +1043,61 @@ var GoogleIcon = (_a) => {
|
|
|
1043
1043
|
};
|
|
1044
1044
|
GoogleIcon.displayName = "GoogleIcon";
|
|
1045
1045
|
|
|
1046
|
-
// src/primitives/icon/svg/
|
|
1046
|
+
// src/primitives/icon/svg/image.tsx
|
|
1047
1047
|
var import_jsx_runtime27 = require("react/jsx-runtime");
|
|
1048
|
-
var
|
|
1048
|
+
var ImageIcon = (_a) => {
|
|
1049
1049
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1050
1050
|
return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
|
|
1051
1051
|
"svg",
|
|
1052
1052
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1053
|
-
viewBox: "0 0
|
|
1053
|
+
viewBox: "0 0 32 32",
|
|
1054
1054
|
className,
|
|
1055
1055
|
fill: "none"
|
|
1056
1056
|
}, getIconA11yProps(title)), props), {
|
|
1057
1057
|
children: [
|
|
1058
1058
|
title ? /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("title", { children: title }) : null,
|
|
1059
|
-
/* @__PURE__ */ (0, import_jsx_runtime27.
|
|
1060
|
-
|
|
1059
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
1060
|
+
"path",
|
|
1061
|
+
{
|
|
1062
|
+
d: "M30 2.497h-28c-1.099 0-2 0.901-2 2v23.006c0 1.099 0.9 2 2 2h28c1.099 0 2-0.901 2-2v-23.006c0-1.099-0.901-2-2-2zM30 27.503l-28-0v-5.892l8.027-7.779 8.275 8.265c0.341 0.414 0.948 0.361 1.379 0.035l3.652-3.306 6.587 6.762c0.025 0.025 0.053 0.044 0.080 0.065v1.85zM30 22.806l-5.876-6.013c-0.357-0.352-0.915-0.387-1.311-0.086l-3.768 3.282-8.28-8.19c-0.177-0.214-0.432-0.344-0.709-0.363-0.275-0.010-0.547 0.080-0.749 0.27l-7.309 7.112v-14.322h28v18.309zM23 12.504c1.102 0 1.995-0.894 1.995-1.995s-0.892-1.995-1.995-1.995-1.995 0.894-1.995 1.995c0 1.101 0.892 1.995 1.995 1.995z",
|
|
1063
|
+
fill: "currentColor"
|
|
1064
|
+
}
|
|
1065
|
+
)
|
|
1066
|
+
]
|
|
1067
|
+
})
|
|
1068
|
+
);
|
|
1069
|
+
};
|
|
1070
|
+
ImageIcon.displayName = "ImageIcon";
|
|
1071
|
+
|
|
1072
|
+
// src/primitives/icon/svg/info.tsx
|
|
1073
|
+
var import_jsx_runtime28 = require("react/jsx-runtime");
|
|
1074
|
+
var InfoIcon = (_a) => {
|
|
1075
|
+
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1076
|
+
return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
|
|
1077
|
+
"svg",
|
|
1078
|
+
__spreadProps(__spreadValues(__spreadValues({
|
|
1079
|
+
viewBox: "0 0 12 12",
|
|
1080
|
+
className,
|
|
1081
|
+
fill: "none"
|
|
1082
|
+
}, getIconA11yProps(title)), props), {
|
|
1083
|
+
children: [
|
|
1084
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("title", { children: title }) : null,
|
|
1085
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("g", { clipPath: "url(#info_clip)", children: [
|
|
1086
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
1061
1087
|
"path",
|
|
1062
1088
|
{
|
|
1063
1089
|
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",
|
|
1064
1090
|
fill: "currentColor"
|
|
1065
1091
|
}
|
|
1066
1092
|
),
|
|
1067
|
-
/* @__PURE__ */ (0,
|
|
1093
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
1068
1094
|
"path",
|
|
1069
1095
|
{
|
|
1070
1096
|
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",
|
|
1071
1097
|
fill: "currentColor"
|
|
1072
1098
|
}
|
|
1073
1099
|
),
|
|
1074
|
-
/* @__PURE__ */ (0,
|
|
1100
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
1075
1101
|
"path",
|
|
1076
1102
|
{
|
|
1077
1103
|
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",
|
|
@@ -1079,7 +1105,7 @@ var InfoIcon = (_a) => {
|
|
|
1079
1105
|
}
|
|
1080
1106
|
)
|
|
1081
1107
|
] }),
|
|
1082
|
-
/* @__PURE__ */ (0,
|
|
1108
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("clipPath", { id: "info_clip", children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("rect", { width: "12", height: "12", fill: "white" }) }) })
|
|
1083
1109
|
]
|
|
1084
1110
|
})
|
|
1085
1111
|
);
|
|
@@ -1094,10 +1120,10 @@ var iconSizeClasses = {
|
|
|
1094
1120
|
};
|
|
1095
1121
|
|
|
1096
1122
|
// src/primitives/icon/svg/check-badge.tsx
|
|
1097
|
-
var
|
|
1123
|
+
var import_jsx_runtime29 = require("react/jsx-runtime");
|
|
1098
1124
|
var CheckBadgeIcon = (_a) => {
|
|
1099
1125
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1100
|
-
return /* @__PURE__ */ (0,
|
|
1126
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
|
|
1101
1127
|
"svg",
|
|
1102
1128
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1103
1129
|
viewBox: "0 0 16 16",
|
|
@@ -1105,15 +1131,15 @@ var CheckBadgeIcon = (_a) => {
|
|
|
1105
1131
|
fill: "none"
|
|
1106
1132
|
}, getIconA11yProps(title)), props), {
|
|
1107
1133
|
children: [
|
|
1108
|
-
title ? /* @__PURE__ */ (0,
|
|
1109
|
-
/* @__PURE__ */ (0,
|
|
1134
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("title", { children: title }) : null,
|
|
1135
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)("g", { clipPath: "url(#check-badge-clip)", children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
1110
1136
|
"path",
|
|
1111
1137
|
{
|
|
1112
1138
|
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",
|
|
1113
1139
|
fill: "currentColor"
|
|
1114
1140
|
}
|
|
1115
1141
|
) }),
|
|
1116
|
-
/* @__PURE__ */ (0,
|
|
1142
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("clipPath", { id: "check-badge-clip", children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("rect", { width: "16", height: "16", fill: "white" }) }) })
|
|
1117
1143
|
]
|
|
1118
1144
|
})
|
|
1119
1145
|
);
|
|
@@ -1121,10 +1147,10 @@ var CheckBadgeIcon = (_a) => {
|
|
|
1121
1147
|
CheckBadgeIcon.displayName = "CheckBadgeIcon";
|
|
1122
1148
|
|
|
1123
1149
|
// src/primitives/icon/svg/discord.tsx
|
|
1124
|
-
var
|
|
1150
|
+
var import_jsx_runtime30 = require("react/jsx-runtime");
|
|
1125
1151
|
var DiscordIcon = (_a) => {
|
|
1126
1152
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1127
|
-
return /* @__PURE__ */ (0,
|
|
1153
|
+
return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
|
|
1128
1154
|
"svg",
|
|
1129
1155
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1130
1156
|
viewBox: "0 0 20 20",
|
|
@@ -1132,8 +1158,8 @@ var DiscordIcon = (_a) => {
|
|
|
1132
1158
|
fill: "none"
|
|
1133
1159
|
}, getIconA11yProps(title)), props), {
|
|
1134
1160
|
children: [
|
|
1135
|
-
title ? /* @__PURE__ */ (0,
|
|
1136
|
-
/* @__PURE__ */ (0,
|
|
1161
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("title", { children: title }) : null,
|
|
1162
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
1137
1163
|
"path",
|
|
1138
1164
|
{
|
|
1139
1165
|
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",
|
|
@@ -1147,10 +1173,10 @@ var DiscordIcon = (_a) => {
|
|
|
1147
1173
|
DiscordIcon.displayName = "DiscordIcon";
|
|
1148
1174
|
|
|
1149
1175
|
// src/primitives/icon/svg/email.tsx
|
|
1150
|
-
var
|
|
1176
|
+
var import_jsx_runtime31 = require("react/jsx-runtime");
|
|
1151
1177
|
var EmailIcon = (_a) => {
|
|
1152
1178
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1153
|
-
return /* @__PURE__ */ (0,
|
|
1179
|
+
return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(
|
|
1154
1180
|
"svg",
|
|
1155
1181
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1156
1182
|
viewBox: "0 0 20 20",
|
|
@@ -1158,8 +1184,8 @@ var EmailIcon = (_a) => {
|
|
|
1158
1184
|
fill: "none"
|
|
1159
1185
|
}, getIconA11yProps(title)), props), {
|
|
1160
1186
|
children: [
|
|
1161
|
-
title ? /* @__PURE__ */ (0,
|
|
1162
|
-
/* @__PURE__ */ (0,
|
|
1187
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("title", { children: title }) : null,
|
|
1188
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
1163
1189
|
"path",
|
|
1164
1190
|
{
|
|
1165
1191
|
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",
|
|
@@ -1169,7 +1195,7 @@ var EmailIcon = (_a) => {
|
|
|
1169
1195
|
strokeLinejoin: "round"
|
|
1170
1196
|
}
|
|
1171
1197
|
),
|
|
1172
|
-
/* @__PURE__ */ (0,
|
|
1198
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
1173
1199
|
"path",
|
|
1174
1200
|
{
|
|
1175
1201
|
d: "M18.3333 5L10 10.8333L1.66667 5",
|
|
@@ -1186,10 +1212,10 @@ var EmailIcon = (_a) => {
|
|
|
1186
1212
|
EmailIcon.displayName = "EmailIcon";
|
|
1187
1213
|
|
|
1188
1214
|
// src/primitives/icon/svg/link-accounts.tsx
|
|
1189
|
-
var
|
|
1215
|
+
var import_jsx_runtime32 = require("react/jsx-runtime");
|
|
1190
1216
|
var LinkAccountsIcon = (_a) => {
|
|
1191
1217
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1192
|
-
return /* @__PURE__ */ (0,
|
|
1218
|
+
return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
|
|
1193
1219
|
"svg",
|
|
1194
1220
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1195
1221
|
width: "28",
|
|
@@ -1200,15 +1226,15 @@ var LinkAccountsIcon = (_a) => {
|
|
|
1200
1226
|
className
|
|
1201
1227
|
}, getIconA11yProps(title)), props), {
|
|
1202
1228
|
children: [
|
|
1203
|
-
title ? /* @__PURE__ */ (0,
|
|
1204
|
-
/* @__PURE__ */ (0,
|
|
1229
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("title", { children: title }) : null,
|
|
1230
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)("g", { clipPath: "url(#clip0_link_accounts)", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
1205
1231
|
"path",
|
|
1206
1232
|
{
|
|
1207
1233
|
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",
|
|
1208
1234
|
fill: "currentColor"
|
|
1209
1235
|
}
|
|
1210
1236
|
) }),
|
|
1211
|
-
/* @__PURE__ */ (0,
|
|
1237
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("clipPath", { id: "clip0_link_accounts", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("rect", { width: "28", height: "28", fill: "white" }) }) })
|
|
1212
1238
|
]
|
|
1213
1239
|
})
|
|
1214
1240
|
);
|
|
@@ -1216,10 +1242,10 @@ var LinkAccountsIcon = (_a) => {
|
|
|
1216
1242
|
LinkAccountsIcon.displayName = "LinkAccountsIcon";
|
|
1217
1243
|
|
|
1218
1244
|
// src/primitives/icon/svg/pencil.tsx
|
|
1219
|
-
var
|
|
1245
|
+
var import_jsx_runtime33 = require("react/jsx-runtime");
|
|
1220
1246
|
var PencilIcon = (_a) => {
|
|
1221
1247
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1222
|
-
return /* @__PURE__ */ (0,
|
|
1248
|
+
return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
|
|
1223
1249
|
"svg",
|
|
1224
1250
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1225
1251
|
viewBox: "0 0 16 16",
|
|
@@ -1227,15 +1253,15 @@ var PencilIcon = (_a) => {
|
|
|
1227
1253
|
fill: "none"
|
|
1228
1254
|
}, getIconA11yProps(title)), props), {
|
|
1229
1255
|
children: [
|
|
1230
|
-
title ? /* @__PURE__ */ (0,
|
|
1231
|
-
/* @__PURE__ */ (0,
|
|
1256
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("title", { children: title }) : null,
|
|
1257
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)("g", { clipPath: "url(#pencil_clip)", children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
1232
1258
|
"path",
|
|
1233
1259
|
{
|
|
1234
1260
|
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",
|
|
1235
1261
|
fill: "currentColor"
|
|
1236
1262
|
}
|
|
1237
1263
|
) }),
|
|
1238
|
-
/* @__PURE__ */ (0,
|
|
1264
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("clipPath", { id: "pencil_clip", children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("rect", { width: "16", height: "16", fill: "white" }) }) })
|
|
1239
1265
|
]
|
|
1240
1266
|
})
|
|
1241
1267
|
);
|
|
@@ -1243,10 +1269,10 @@ var PencilIcon = (_a) => {
|
|
|
1243
1269
|
PencilIcon.displayName = "PencilIcon";
|
|
1244
1270
|
|
|
1245
1271
|
// src/primitives/icon/svg/play-square.tsx
|
|
1246
|
-
var
|
|
1272
|
+
var import_jsx_runtime34 = require("react/jsx-runtime");
|
|
1247
1273
|
var PlaySquareIcon = (_a) => {
|
|
1248
1274
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1249
|
-
return /* @__PURE__ */ (0,
|
|
1275
|
+
return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
|
|
1250
1276
|
"svg",
|
|
1251
1277
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1252
1278
|
viewBox: "0 0 16 16",
|
|
@@ -1254,15 +1280,15 @@ var PlaySquareIcon = (_a) => {
|
|
|
1254
1280
|
fill: "none"
|
|
1255
1281
|
}, getIconA11yProps(title)), props), {
|
|
1256
1282
|
children: [
|
|
1257
|
-
title ? /* @__PURE__ */ (0,
|
|
1258
|
-
/* @__PURE__ */ (0,
|
|
1283
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("title", { children: title }) : null,
|
|
1284
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)("g", { clipPath: "url(#play-square-clip)", children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
|
|
1259
1285
|
"path",
|
|
1260
1286
|
{
|
|
1261
1287
|
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",
|
|
1262
1288
|
fill: "currentColor"
|
|
1263
1289
|
}
|
|
1264
1290
|
) }),
|
|
1265
|
-
/* @__PURE__ */ (0,
|
|
1291
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("clipPath", { id: "play-square-clip", children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("rect", { width: "16", height: "16", fill: "white" }) }) })
|
|
1266
1292
|
]
|
|
1267
1293
|
})
|
|
1268
1294
|
);
|
|
@@ -1270,10 +1296,10 @@ var PlaySquareIcon = (_a) => {
|
|
|
1270
1296
|
PlaySquareIcon.displayName = "PlaySquareIcon";
|
|
1271
1297
|
|
|
1272
1298
|
// src/primitives/icon/svg/profile.tsx
|
|
1273
|
-
var
|
|
1299
|
+
var import_jsx_runtime35 = require("react/jsx-runtime");
|
|
1274
1300
|
var ProfileIcon = (_a) => {
|
|
1275
1301
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1276
|
-
return /* @__PURE__ */ (0,
|
|
1302
|
+
return /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
|
|
1277
1303
|
"svg",
|
|
1278
1304
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1279
1305
|
viewBox: "0 0 21 28",
|
|
@@ -1281,8 +1307,8 @@ var ProfileIcon = (_a) => {
|
|
|
1281
1307
|
fill: "none"
|
|
1282
1308
|
}, getIconA11yProps(title)), props), {
|
|
1283
1309
|
children: [
|
|
1284
|
-
title ? /* @__PURE__ */ (0,
|
|
1285
|
-
/* @__PURE__ */ (0,
|
|
1310
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("title", { children: title }) : null,
|
|
1311
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
1286
1312
|
"path",
|
|
1287
1313
|
{
|
|
1288
1314
|
d: "M10.5 14C14.3605 14 17.5 10.8605 17.5 7C17.5 3.1395 14.3605 0 10.5 0C6.6395 0 3.5 3.1395 3.5 7C3.5 10.8605 6.6395 14 10.5 14ZM10.5 1.16667C13.7165 1.16667 16.3333 3.7835 16.3333 7C16.3333 10.2165 13.7165 12.8333 10.5 12.8333C7.2835 12.8333 4.66667 10.2165 4.66667 7C4.66667 3.7835 7.2835 1.16667 10.5 1.16667ZM21 26.8333V27.4167C21 27.7387 20.7387 28 20.4167 28C20.0947 28 19.8333 27.7387 19.8333 27.4167V26.8333C19.8333 21.6872 15.6462 17.5 10.5 17.5C5.35383 17.5 1.16667 21.6872 1.16667 26.8333V27.4167C1.16667 27.7387 0.905333 28 0.583333 28C0.261333 28 0 27.7387 0 27.4167V26.8333C0 21.0443 4.711 16.3333 10.5 16.3333C16.289 16.3333 21 21.0443 21 26.8333Z",
|
|
@@ -1296,10 +1322,10 @@ var ProfileIcon = (_a) => {
|
|
|
1296
1322
|
ProfileIcon.displayName = "ProfileIcon";
|
|
1297
1323
|
|
|
1298
1324
|
// src/primitives/icon/svg/revenue-alt.tsx
|
|
1299
|
-
var
|
|
1325
|
+
var import_jsx_runtime36 = require("react/jsx-runtime");
|
|
1300
1326
|
var RevenueAltIcon = (_a) => {
|
|
1301
1327
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1302
|
-
return /* @__PURE__ */ (0,
|
|
1328
|
+
return /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
|
|
1303
1329
|
"svg",
|
|
1304
1330
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1305
1331
|
viewBox: "0 0 20 20",
|
|
@@ -1307,8 +1333,8 @@ var RevenueAltIcon = (_a) => {
|
|
|
1307
1333
|
fill: "none"
|
|
1308
1334
|
}, getIconA11yProps(title)), props), {
|
|
1309
1335
|
children: [
|
|
1310
|
-
title ? /* @__PURE__ */ (0,
|
|
1311
|
-
/* @__PURE__ */ (0,
|
|
1336
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("title", { children: title }) : null,
|
|
1337
|
+
/* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
|
|
1312
1338
|
"path",
|
|
1313
1339
|
{
|
|
1314
1340
|
d: "M3 14V6M3 6L1.5 7.5M3 6L4.5 7.5M17 6V14M17 14L15.5 12.5M17 14L18.5 12.5",
|
|
@@ -1318,7 +1344,7 @@ var RevenueAltIcon = (_a) => {
|
|
|
1318
1344
|
strokeLinejoin: "round"
|
|
1319
1345
|
}
|
|
1320
1346
|
),
|
|
1321
|
-
/* @__PURE__ */ (0,
|
|
1347
|
+
/* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
|
|
1322
1348
|
"path",
|
|
1323
1349
|
{
|
|
1324
1350
|
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",
|
|
@@ -1335,10 +1361,10 @@ var RevenueAltIcon = (_a) => {
|
|
|
1335
1361
|
RevenueAltIcon.displayName = "RevenueAltIcon";
|
|
1336
1362
|
|
|
1337
1363
|
// src/primitives/icon/svg/search.tsx
|
|
1338
|
-
var
|
|
1364
|
+
var import_jsx_runtime37 = require("react/jsx-runtime");
|
|
1339
1365
|
var SearchIcon = (_a) => {
|
|
1340
1366
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1341
|
-
return /* @__PURE__ */ (0,
|
|
1367
|
+
return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
|
|
1342
1368
|
"svg",
|
|
1343
1369
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1344
1370
|
viewBox: "0 0 16 16",
|
|
@@ -1347,8 +1373,8 @@ var SearchIcon = (_a) => {
|
|
|
1347
1373
|
className
|
|
1348
1374
|
}, getIconA11yProps(title)), props), {
|
|
1349
1375
|
children: [
|
|
1350
|
-
title ? /* @__PURE__ */ (0,
|
|
1351
|
-
/* @__PURE__ */ (0,
|
|
1376
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("title", { children: title }) : null,
|
|
1377
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
1352
1378
|
"path",
|
|
1353
1379
|
{
|
|
1354
1380
|
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",
|
|
@@ -1358,7 +1384,7 @@ var SearchIcon = (_a) => {
|
|
|
1358
1384
|
strokeLinejoin: "round"
|
|
1359
1385
|
}
|
|
1360
1386
|
),
|
|
1361
|
-
/* @__PURE__ */ (0,
|
|
1387
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
1362
1388
|
"path",
|
|
1363
1389
|
{
|
|
1364
1390
|
d: "M13.6668 13.6666L11.1667 11.1666",
|
|
@@ -1375,10 +1401,10 @@ var SearchIcon = (_a) => {
|
|
|
1375
1401
|
SearchIcon.displayName = "SearchIcon";
|
|
1376
1402
|
|
|
1377
1403
|
// src/primitives/icon/svg/shield-trust.tsx
|
|
1378
|
-
var
|
|
1404
|
+
var import_jsx_runtime38 = require("react/jsx-runtime");
|
|
1379
1405
|
var ShieldTrustIcon = (_a) => {
|
|
1380
1406
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1381
|
-
return /* @__PURE__ */ (0,
|
|
1407
|
+
return /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(
|
|
1382
1408
|
"svg",
|
|
1383
1409
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1384
1410
|
viewBox: "0 0 16 16",
|
|
@@ -1386,15 +1412,15 @@ var ShieldTrustIcon = (_a) => {
|
|
|
1386
1412
|
fill: "none"
|
|
1387
1413
|
}, getIconA11yProps(title)), props), {
|
|
1388
1414
|
children: [
|
|
1389
|
-
title ? /* @__PURE__ */ (0,
|
|
1390
|
-
/* @__PURE__ */ (0,
|
|
1415
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("title", { children: title }) : null,
|
|
1416
|
+
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
|
|
1391
1417
|
"path",
|
|
1392
1418
|
{
|
|
1393
1419
|
d: "M8 1.25L13.5 3.25V7.08C13.5 10.09 11.62 12.74 8 14.75C4.38 12.74 2.5 10.09 2.5 7.08V3.25L8 1.25Z",
|
|
1394
1420
|
fill: "currentColor"
|
|
1395
1421
|
}
|
|
1396
1422
|
),
|
|
1397
|
-
/* @__PURE__ */ (0,
|
|
1423
|
+
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
|
|
1398
1424
|
"path",
|
|
1399
1425
|
{
|
|
1400
1426
|
d: "M5.5 8.2L7.2 9.9L10.8 6.3",
|
|
@@ -1411,10 +1437,10 @@ var ShieldTrustIcon = (_a) => {
|
|
|
1411
1437
|
ShieldTrustIcon.displayName = "ShieldTrustIcon";
|
|
1412
1438
|
|
|
1413
1439
|
// src/primitives/icon/svg/solana.tsx
|
|
1414
|
-
var
|
|
1440
|
+
var import_jsx_runtime39 = require("react/jsx-runtime");
|
|
1415
1441
|
var SolanaIcon = (_a) => {
|
|
1416
1442
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1417
|
-
return /* @__PURE__ */ (0,
|
|
1443
|
+
return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
|
|
1418
1444
|
"svg",
|
|
1419
1445
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1420
1446
|
viewBox: "0 0 24 24",
|
|
@@ -1422,31 +1448,31 @@ var SolanaIcon = (_a) => {
|
|
|
1422
1448
|
fill: "none"
|
|
1423
1449
|
}, getIconA11yProps(title)), props), {
|
|
1424
1450
|
children: [
|
|
1425
|
-
title ? /* @__PURE__ */ (0,
|
|
1426
|
-
/* @__PURE__ */ (0,
|
|
1427
|
-
/* @__PURE__ */ (0,
|
|
1451
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("title", { children: title }) : null,
|
|
1452
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)("rect", { width: "24", height: "24", rx: "8", fill: "#020205" }),
|
|
1453
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
1428
1454
|
"path",
|
|
1429
1455
|
{
|
|
1430
1456
|
fill: "url(#agg-solana-gradient-top)",
|
|
1431
1457
|
d: "M8.351 6.163A1.57 1.57 0 0 1 9.463 5.7h8.208c.699 0 1.048.844.554 1.338l-2.576 2.576a1.57 1.57 0 0 1-1.11.46H6.33c-.699 0-1.048-.844-.554-1.338L8.35 6.163Z"
|
|
1432
1458
|
}
|
|
1433
1459
|
),
|
|
1434
|
-
/* @__PURE__ */ (0,
|
|
1460
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
1435
1461
|
"path",
|
|
1436
1462
|
{
|
|
1437
1463
|
fill: "url(#agg-solana-gradient-middle)",
|
|
1438
1464
|
d: "M8.351 13.926a1.57 1.57 0 0 1 1.112-.463h8.208c.699 0 1.048.844.554 1.338l-2.576 2.576a1.57 1.57 0 0 1-1.11.46H6.33c-.699 0-1.048-.844-.554-1.338l2.576-2.573Z"
|
|
1439
1465
|
}
|
|
1440
1466
|
),
|
|
1441
|
-
/* @__PURE__ */ (0,
|
|
1467
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
1442
1468
|
"path",
|
|
1443
1469
|
{
|
|
1444
1470
|
fill: "url(#agg-solana-gradient-bottom)",
|
|
1445
1471
|
d: "M18.225 10.89a1.57 1.57 0 0 1-1.112.462H8.905c-.699 0-1.048-.845-.554-1.339L10.927 7.44a1.57 1.57 0 0 1 1.11-.46h8.208c.699 0 1.048.844.554 1.338L18.225 10.89Z"
|
|
1446
1472
|
}
|
|
1447
1473
|
),
|
|
1448
|
-
/* @__PURE__ */ (0,
|
|
1449
|
-
/* @__PURE__ */ (0,
|
|
1474
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("defs", { children: [
|
|
1475
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
|
|
1450
1476
|
"linearGradient",
|
|
1451
1477
|
{
|
|
1452
1478
|
id: "agg-solana-gradient-top",
|
|
@@ -1456,12 +1482,12 @@ var SolanaIcon = (_a) => {
|
|
|
1456
1482
|
y2: "17.476",
|
|
1457
1483
|
gradientUnits: "userSpaceOnUse",
|
|
1458
1484
|
children: [
|
|
1459
|
-
/* @__PURE__ */ (0,
|
|
1460
|
-
/* @__PURE__ */ (0,
|
|
1485
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)("stop", { stopColor: "#4BF0B8" }),
|
|
1486
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)("stop", { offset: "1", stopColor: "#B44CF4" })
|
|
1461
1487
|
]
|
|
1462
1488
|
}
|
|
1463
1489
|
),
|
|
1464
|
-
/* @__PURE__ */ (0,
|
|
1490
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
|
|
1465
1491
|
"linearGradient",
|
|
1466
1492
|
{
|
|
1467
1493
|
id: "agg-solana-gradient-middle",
|
|
@@ -1471,12 +1497,12 @@ var SolanaIcon = (_a) => {
|
|
|
1471
1497
|
y2: "21.238",
|
|
1472
1498
|
gradientUnits: "userSpaceOnUse",
|
|
1473
1499
|
children: [
|
|
1474
|
-
/* @__PURE__ */ (0,
|
|
1475
|
-
/* @__PURE__ */ (0,
|
|
1500
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)("stop", { stopColor: "#4BF0B8" }),
|
|
1501
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)("stop", { offset: "1", stopColor: "#B44CF4" })
|
|
1476
1502
|
]
|
|
1477
1503
|
}
|
|
1478
1504
|
),
|
|
1479
|
-
/* @__PURE__ */ (0,
|
|
1505
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
|
|
1480
1506
|
"linearGradient",
|
|
1481
1507
|
{
|
|
1482
1508
|
id: "agg-solana-gradient-bottom",
|
|
@@ -1486,8 +1512,8 @@ var SolanaIcon = (_a) => {
|
|
|
1486
1512
|
y2: "19.359",
|
|
1487
1513
|
gradientUnits: "userSpaceOnUse",
|
|
1488
1514
|
children: [
|
|
1489
|
-
/* @__PURE__ */ (0,
|
|
1490
|
-
/* @__PURE__ */ (0,
|
|
1515
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)("stop", { stopColor: "#4BF0B8" }),
|
|
1516
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)("stop", { offset: "1", stopColor: "#B44CF4" })
|
|
1491
1517
|
]
|
|
1492
1518
|
}
|
|
1493
1519
|
)
|
|
@@ -1499,10 +1525,10 @@ var SolanaIcon = (_a) => {
|
|
|
1499
1525
|
SolanaIcon.displayName = "SolanaIcon";
|
|
1500
1526
|
|
|
1501
1527
|
// src/primitives/icon/svg/stay-in-control.tsx
|
|
1502
|
-
var
|
|
1528
|
+
var import_jsx_runtime40 = require("react/jsx-runtime");
|
|
1503
1529
|
var StayInControlIcon = (_a) => {
|
|
1504
1530
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1505
|
-
return /* @__PURE__ */ (0,
|
|
1531
|
+
return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
|
|
1506
1532
|
"svg",
|
|
1507
1533
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1508
1534
|
width: "28",
|
|
@@ -1513,16 +1539,16 @@ var StayInControlIcon = (_a) => {
|
|
|
1513
1539
|
className
|
|
1514
1540
|
}, getIconA11yProps(title)), props), {
|
|
1515
1541
|
children: [
|
|
1516
|
-
title ? /* @__PURE__ */ (0,
|
|
1517
|
-
/* @__PURE__ */ (0,
|
|
1518
|
-
/* @__PURE__ */ (0,
|
|
1542
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("title", { children: title }) : null,
|
|
1543
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("g", { clipPath: "url(#clip0_stay_in_control)", children: [
|
|
1544
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
1519
1545
|
"path",
|
|
1520
1546
|
{
|
|
1521
1547
|
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",
|
|
1522
1548
|
fill: "currentColor"
|
|
1523
1549
|
}
|
|
1524
1550
|
),
|
|
1525
|
-
/* @__PURE__ */ (0,
|
|
1551
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
1526
1552
|
"path",
|
|
1527
1553
|
{
|
|
1528
1554
|
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",
|
|
@@ -1530,7 +1556,7 @@ var StayInControlIcon = (_a) => {
|
|
|
1530
1556
|
}
|
|
1531
1557
|
)
|
|
1532
1558
|
] }),
|
|
1533
|
-
/* @__PURE__ */ (0,
|
|
1559
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("clipPath", { id: "clip0_stay_in_control", children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("rect", { width: "28", height: "28", fill: "white" }) }) })
|
|
1534
1560
|
]
|
|
1535
1561
|
})
|
|
1536
1562
|
);
|
|
@@ -1538,10 +1564,10 @@ var StayInControlIcon = (_a) => {
|
|
|
1538
1564
|
StayInControlIcon.displayName = "StayInControlIcon";
|
|
1539
1565
|
|
|
1540
1566
|
// src/primitives/icon/svg/telegram.tsx
|
|
1541
|
-
var
|
|
1567
|
+
var import_jsx_runtime41 = require("react/jsx-runtime");
|
|
1542
1568
|
var TelegramIcon = (_a) => {
|
|
1543
1569
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1544
|
-
return /* @__PURE__ */ (0,
|
|
1570
|
+
return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
|
|
1545
1571
|
"svg",
|
|
1546
1572
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1547
1573
|
viewBox: "0 0 20 20",
|
|
@@ -1549,8 +1575,8 @@ var TelegramIcon = (_a) => {
|
|
|
1549
1575
|
fill: "none"
|
|
1550
1576
|
}, getIconA11yProps(title)), props), {
|
|
1551
1577
|
children: [
|
|
1552
|
-
title ? /* @__PURE__ */ (0,
|
|
1553
|
-
/* @__PURE__ */ (0,
|
|
1578
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("title", { children: title }) : null,
|
|
1579
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)("g", { clipPath: "url(#clip0_telegram)", children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
1554
1580
|
"path",
|
|
1555
1581
|
{
|
|
1556
1582
|
fillRule: "evenodd",
|
|
@@ -1559,7 +1585,7 @@ var TelegramIcon = (_a) => {
|
|
|
1559
1585
|
fill: "currentColor"
|
|
1560
1586
|
}
|
|
1561
1587
|
) }),
|
|
1562
|
-
/* @__PURE__ */ (0,
|
|
1588
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("clipPath", { id: "clip0_telegram", children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("rect", { width: "20", height: "20", fill: "white" }) }) })
|
|
1563
1589
|
]
|
|
1564
1590
|
})
|
|
1565
1591
|
);
|
|
@@ -1567,10 +1593,10 @@ var TelegramIcon = (_a) => {
|
|
|
1567
1593
|
TelegramIcon.displayName = "TelegramIcon";
|
|
1568
1594
|
|
|
1569
1595
|
// src/primitives/icon/svg/triangle-down.tsx
|
|
1570
|
-
var
|
|
1596
|
+
var import_jsx_runtime42 = require("react/jsx-runtime");
|
|
1571
1597
|
var TriangleDownIcon = (_a) => {
|
|
1572
1598
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1573
|
-
return /* @__PURE__ */ (0,
|
|
1599
|
+
return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
|
|
1574
1600
|
"svg",
|
|
1575
1601
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1576
1602
|
viewBox: "0 0 8 8",
|
|
@@ -1578,16 +1604,16 @@ var TriangleDownIcon = (_a) => {
|
|
|
1578
1604
|
fill: "none"
|
|
1579
1605
|
}, getIconA11yProps(title)), props), {
|
|
1580
1606
|
children: [
|
|
1581
|
-
title ? /* @__PURE__ */ (0,
|
|
1582
|
-
/* @__PURE__ */ (0,
|
|
1583
|
-
/* @__PURE__ */ (0,
|
|
1607
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("title", { children: title }) : null,
|
|
1608
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("g", { transform: "scale(1,-1) translate(0,-8)", clipPath: "url(#triangle_up)", children: [
|
|
1609
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
1584
1610
|
"path",
|
|
1585
1611
|
{
|
|
1586
1612
|
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",
|
|
1587
1613
|
fill: "currentColor"
|
|
1588
1614
|
}
|
|
1589
1615
|
),
|
|
1590
|
-
/* @__PURE__ */ (0,
|
|
1616
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
1591
1617
|
"path",
|
|
1592
1618
|
{
|
|
1593
1619
|
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",
|
|
@@ -1595,7 +1621,7 @@ var TriangleDownIcon = (_a) => {
|
|
|
1595
1621
|
}
|
|
1596
1622
|
)
|
|
1597
1623
|
] }),
|
|
1598
|
-
/* @__PURE__ */ (0,
|
|
1624
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("clipPath", { id: "triangle_up", children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("rect", { width: "8", height: "8", fill: "white" }) }) })
|
|
1599
1625
|
]
|
|
1600
1626
|
})
|
|
1601
1627
|
);
|
|
@@ -1603,10 +1629,10 @@ var TriangleDownIcon = (_a) => {
|
|
|
1603
1629
|
TriangleDownIcon.displayName = "TriangleDownIcon";
|
|
1604
1630
|
|
|
1605
1631
|
// src/primitives/icon/svg/triangle-up-filled.tsx
|
|
1606
|
-
var
|
|
1632
|
+
var import_jsx_runtime43 = require("react/jsx-runtime");
|
|
1607
1633
|
var TriangleUpFilledIcon = (_a) => {
|
|
1608
1634
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1609
|
-
return /* @__PURE__ */ (0,
|
|
1635
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
|
|
1610
1636
|
"svg",
|
|
1611
1637
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1612
1638
|
viewBox: "0 0 8 8",
|
|
@@ -1614,8 +1640,8 @@ var TriangleUpFilledIcon = (_a) => {
|
|
|
1614
1640
|
fill: "none"
|
|
1615
1641
|
}, getIconA11yProps(title)), props), {
|
|
1616
1642
|
children: [
|
|
1617
|
-
title ? /* @__PURE__ */ (0,
|
|
1618
|
-
/* @__PURE__ */ (0,
|
|
1643
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("title", { children: title }) : null,
|
|
1644
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
1619
1645
|
"path",
|
|
1620
1646
|
{
|
|
1621
1647
|
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",
|
|
@@ -1629,10 +1655,10 @@ var TriangleUpFilledIcon = (_a) => {
|
|
|
1629
1655
|
TriangleUpFilledIcon.displayName = "TriangleUpFilledIcon";
|
|
1630
1656
|
|
|
1631
1657
|
// src/primitives/icon/svg/triangle-up.tsx
|
|
1632
|
-
var
|
|
1658
|
+
var import_jsx_runtime44 = require("react/jsx-runtime");
|
|
1633
1659
|
var TriangleUpIcon = (_a) => {
|
|
1634
1660
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1635
|
-
return /* @__PURE__ */ (0,
|
|
1661
|
+
return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
|
|
1636
1662
|
"svg",
|
|
1637
1663
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1638
1664
|
viewBox: "0 0 8 8",
|
|
@@ -1640,16 +1666,16 @@ var TriangleUpIcon = (_a) => {
|
|
|
1640
1666
|
fill: "none"
|
|
1641
1667
|
}, getIconA11yProps(title)), props), {
|
|
1642
1668
|
children: [
|
|
1643
|
-
title ? /* @__PURE__ */ (0,
|
|
1644
|
-
/* @__PURE__ */ (0,
|
|
1645
|
-
/* @__PURE__ */ (0,
|
|
1669
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("title", { children: title }) : null,
|
|
1670
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("g", { clipPath: "url(#triangle_up)", children: [
|
|
1671
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
1646
1672
|
"path",
|
|
1647
1673
|
{
|
|
1648
1674
|
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",
|
|
1649
1675
|
fill: "currentColor"
|
|
1650
1676
|
}
|
|
1651
1677
|
),
|
|
1652
|
-
/* @__PURE__ */ (0,
|
|
1678
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
1653
1679
|
"path",
|
|
1654
1680
|
{
|
|
1655
1681
|
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",
|
|
@@ -1657,7 +1683,7 @@ var TriangleUpIcon = (_a) => {
|
|
|
1657
1683
|
}
|
|
1658
1684
|
)
|
|
1659
1685
|
] }),
|
|
1660
|
-
/* @__PURE__ */ (0,
|
|
1686
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("clipPath", { id: "triangle_up", children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("rect", { width: "8", height: "8", fill: "white" }) }) })
|
|
1661
1687
|
]
|
|
1662
1688
|
})
|
|
1663
1689
|
);
|
|
@@ -1665,10 +1691,10 @@ var TriangleUpIcon = (_a) => {
|
|
|
1665
1691
|
TriangleUpIcon.displayName = "TriangleUpIcon";
|
|
1666
1692
|
|
|
1667
1693
|
// src/primitives/icon/svg/twitter.tsx
|
|
1668
|
-
var
|
|
1694
|
+
var import_jsx_runtime45 = require("react/jsx-runtime");
|
|
1669
1695
|
var TwitterIcon = (_a) => {
|
|
1670
1696
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1671
|
-
return /* @__PURE__ */ (0,
|
|
1697
|
+
return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
|
|
1672
1698
|
"svg",
|
|
1673
1699
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1674
1700
|
viewBox: "0 0 20 20",
|
|
@@ -1676,8 +1702,8 @@ var TwitterIcon = (_a) => {
|
|
|
1676
1702
|
fill: "none"
|
|
1677
1703
|
}, getIconA11yProps(title)), props), {
|
|
1678
1704
|
children: [
|
|
1679
|
-
title ? /* @__PURE__ */ (0,
|
|
1680
|
-
/* @__PURE__ */ (0,
|
|
1705
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("title", { children: title }) : null,
|
|
1706
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
1681
1707
|
"path",
|
|
1682
1708
|
{
|
|
1683
1709
|
d: "M15.2708 1.66602H18.0834L11.9402 8.68539L19.1666 18.2386H13.51L9.07638 12.446L4.00874 18.2386H1.19152L7.76096 10.7288L0.833252 1.66602H6.63346L10.637 6.96053L15.2708 1.66602ZM14.283 16.5573H15.8406L5.78478 3.25949H4.11186L14.283 16.5573Z",
|
|
@@ -1691,10 +1717,10 @@ var TwitterIcon = (_a) => {
|
|
|
1691
1717
|
TwitterIcon.displayName = "TwitterIcon";
|
|
1692
1718
|
|
|
1693
1719
|
// src/primitives/icon/svg/upload.tsx
|
|
1694
|
-
var
|
|
1720
|
+
var import_jsx_runtime46 = require("react/jsx-runtime");
|
|
1695
1721
|
var UploadIcon = (_a) => {
|
|
1696
1722
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1697
|
-
return /* @__PURE__ */ (0,
|
|
1723
|
+
return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
|
|
1698
1724
|
"svg",
|
|
1699
1725
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1700
1726
|
viewBox: "0 0 16 16",
|
|
@@ -1702,8 +1728,8 @@ var UploadIcon = (_a) => {
|
|
|
1702
1728
|
fill: "none"
|
|
1703
1729
|
}, getIconA11yProps(title)), props), {
|
|
1704
1730
|
children: [
|
|
1705
|
-
title ? /* @__PURE__ */ (0,
|
|
1706
|
-
/* @__PURE__ */ (0,
|
|
1731
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("title", { children: title }) : null,
|
|
1732
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
1707
1733
|
"path",
|
|
1708
1734
|
{
|
|
1709
1735
|
d: "M8 13.5v-7m0 0 2.5 2.5M8 6.5 5.5 9",
|
|
@@ -1713,7 +1739,7 @@ var UploadIcon = (_a) => {
|
|
|
1713
1739
|
strokeLinejoin: "round"
|
|
1714
1740
|
}
|
|
1715
1741
|
),
|
|
1716
|
-
/* @__PURE__ */ (0,
|
|
1742
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)("path", { d: "M2.5 3.5h11", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" })
|
|
1717
1743
|
]
|
|
1718
1744
|
})
|
|
1719
1745
|
);
|
|
@@ -1721,10 +1747,10 @@ var UploadIcon = (_a) => {
|
|
|
1721
1747
|
UploadIcon.displayName = "UploadIcon";
|
|
1722
1748
|
|
|
1723
1749
|
// src/primitives/icon/svg/wallet-avatar.tsx
|
|
1724
|
-
var
|
|
1750
|
+
var import_jsx_runtime47 = require("react/jsx-runtime");
|
|
1725
1751
|
function WalletAvatarIcon(_a) {
|
|
1726
1752
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1727
|
-
return /* @__PURE__ */ (0,
|
|
1753
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(
|
|
1728
1754
|
"svg",
|
|
1729
1755
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1730
1756
|
fill: "none",
|
|
@@ -1732,9 +1758,9 @@ function WalletAvatarIcon(_a) {
|
|
|
1732
1758
|
viewBox: "0 0 16 16"
|
|
1733
1759
|
}, getIconA11yProps(title)), props), {
|
|
1734
1760
|
children: [
|
|
1735
|
-
title ? /* @__PURE__ */ (0,
|
|
1736
|
-
/* @__PURE__ */ (0,
|
|
1737
|
-
/* @__PURE__ */ (0,
|
|
1761
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("title", { children: title }) : null,
|
|
1762
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)("circle", { cx: "8", cy: "5.25", r: "2.25", fill: "currentColor" }),
|
|
1763
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)("path", { d: "M3.75 12.75a4.25 4.25 0 0 1 8.5 0v.25h-8.5v-.25Z", fill: "currentColor" })
|
|
1738
1764
|
]
|
|
1739
1765
|
})
|
|
1740
1766
|
);
|
|
@@ -1742,10 +1768,10 @@ function WalletAvatarIcon(_a) {
|
|
|
1742
1768
|
WalletAvatarIcon.displayName = "WalletAvatarIcon";
|
|
1743
1769
|
|
|
1744
1770
|
// src/primitives/icon/svg/wallet.tsx
|
|
1745
|
-
var
|
|
1771
|
+
var import_jsx_runtime48 = require("react/jsx-runtime");
|
|
1746
1772
|
var WalletIcon = (_a) => {
|
|
1747
1773
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1748
|
-
return /* @__PURE__ */ (0,
|
|
1774
|
+
return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
|
|
1749
1775
|
"svg",
|
|
1750
1776
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1751
1777
|
viewBox: "0 0 24 24",
|
|
@@ -1753,8 +1779,8 @@ var WalletIcon = (_a) => {
|
|
|
1753
1779
|
fill: "none"
|
|
1754
1780
|
}, getIconA11yProps(title)), props), {
|
|
1755
1781
|
children: [
|
|
1756
|
-
title ? /* @__PURE__ */ (0,
|
|
1757
|
-
/* @__PURE__ */ (0,
|
|
1782
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("title", { children: title }) : null,
|
|
1783
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
1758
1784
|
"path",
|
|
1759
1785
|
{
|
|
1760
1786
|
d: "M19.5 6H5.25C4.836 6 4.5 5.664 4.5 5.25C4.5 4.836 4.836 4.5 5.25 4.5H19.5C19.914 4.5 20.25 4.164 20.25 3.75C20.25 2.508 19.242 1.5 18 1.5H4.5C2.843 1.5 1.5 2.843 1.5 4.5V19.5C1.5 21.157 2.843 22.5 4.5 22.5H19.5C21.157 22.5 22.5 21.157 22.5 19.5V9C22.5 7.343 21.157 6 19.5 6ZM2.5 4.5C2.5 3.395 3.395 2.5 4.5 2.5H18C18.552 2.5 19.026 2.834 19.199 3.318C19.176 3.312 19.153 3.5 18 3.5H5.25C4.284 3.5 3.5 4.284 3.5 5.25C3.5 5.388 3.519 5.522 3.555 5.649C2.936 5.369 2.5 4.972 2.5 4.5ZM21.5 19.5C21.5 20.605 20.605 21.5 19.5 21.5H4.5C3.395 21.5 2.5 20.605 2.5 19.5V7.04C3.09 7.336 3.771 7 5.25 7H19.5C20.605 7 21.5 7.895 21.5 9V12H18C16.343 12 15 13.343 15 15C15 16.657 16.343 18 18 18H21.5V19.5ZM21.5 17H18C16.895 17 16 16.105 16 15C16 13.895 16.895 13 18 13H21.5V17ZM18 15.75C18.414 15.75 18.75 15.414 18.75 15C18.75 14.586 18.414 14.25 18 14.25C17.586 14.25 17.25 14.586 17.25 15C17.25 15.414 17.586 15.75 18 15.75Z",
|
|
@@ -1768,10 +1794,10 @@ var WalletIcon = (_a) => {
|
|
|
1768
1794
|
WalletIcon.displayName = "WalletIcon";
|
|
1769
1795
|
|
|
1770
1796
|
// src/primitives/icon/svg/warning-filled.tsx
|
|
1771
|
-
var
|
|
1797
|
+
var import_jsx_runtime49 = require("react/jsx-runtime");
|
|
1772
1798
|
var WarningFilledIcon = (_a) => {
|
|
1773
1799
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1774
|
-
return /* @__PURE__ */ (0,
|
|
1800
|
+
return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(
|
|
1775
1801
|
"svg",
|
|
1776
1802
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1777
1803
|
viewBox: "0 0 16 16",
|
|
@@ -1779,8 +1805,8 @@ var WarningFilledIcon = (_a) => {
|
|
|
1779
1805
|
fill: "none"
|
|
1780
1806
|
}, getIconA11yProps(title)), props), {
|
|
1781
1807
|
children: [
|
|
1782
|
-
title ? /* @__PURE__ */ (0,
|
|
1783
|
-
/* @__PURE__ */ (0,
|
|
1808
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("title", { children: title }) : null,
|
|
1809
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
|
|
1784
1810
|
"path",
|
|
1785
1811
|
{
|
|
1786
1812
|
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",
|
|
@@ -1794,10 +1820,10 @@ var WarningFilledIcon = (_a) => {
|
|
|
1794
1820
|
WarningFilledIcon.displayName = "WarningFilledIcon";
|
|
1795
1821
|
|
|
1796
1822
|
// src/primitives/icon/svg/warning.tsx
|
|
1797
|
-
var
|
|
1823
|
+
var import_jsx_runtime50 = require("react/jsx-runtime");
|
|
1798
1824
|
var WarningIcon = (_a) => {
|
|
1799
1825
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1800
|
-
return /* @__PURE__ */ (0,
|
|
1826
|
+
return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(
|
|
1801
1827
|
"svg",
|
|
1802
1828
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1803
1829
|
width: "14",
|
|
@@ -1808,15 +1834,15 @@ var WarningIcon = (_a) => {
|
|
|
1808
1834
|
className
|
|
1809
1835
|
}, getIconA11yProps(title)), props), {
|
|
1810
1836
|
children: [
|
|
1811
|
-
title ? /* @__PURE__ */ (0,
|
|
1812
|
-
/* @__PURE__ */ (0,
|
|
1837
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("title", { children: title }) : null,
|
|
1838
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)("g", { clipPath: "url(#clip0_warning)", children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
|
|
1813
1839
|
"path",
|
|
1814
1840
|
{
|
|
1815
1841
|
d: "M6.41665 8.16675V4.66675C6.41665 4.34591 6.67915 4.08341 6.99998 4.08341C7.32082 4.08341 7.58332 4.34591 7.58332 4.66675V8.16675C7.58332 8.48758 7.32082 8.75008 6.99998 8.75008C6.67915 8.75008 6.41665 8.48758 6.41665 8.16675ZM6.99998 9.33341C6.51582 9.33341 6.12498 9.72425 6.12498 10.2084C6.12498 10.6926 6.51582 11.0834 6.99998 11.0834C7.48415 11.0834 7.87498 10.6926 7.87498 10.2084C7.87498 9.72425 7.48415 9.33341 6.99998 9.33341ZM13.755 12.1801C13.3467 12.9676 12.4892 13.4167 11.4158 13.4167H2.58998C1.51082 13.4167 0.659151 12.9676 0.250818 12.1801C-0.163348 11.3867 -0.0466818 10.3717 0.542485 9.52008L5.23248 2.10008C5.64665 1.50508 6.29998 1.16675 6.99998 1.16675C7.69999 1.16675 8.35332 1.50508 8.74998 2.08258L13.4633 9.53175C14.0525 10.3834 14.1633 11.3926 13.7492 12.1801H13.755ZM12.5008 10.1851C12.5008 10.1851 12.4892 10.1734 12.4892 10.1617L7.78165 2.72425C7.61248 2.48508 7.32082 2.33341 6.99998 2.33341C6.67915 2.33341 6.38749 2.48508 6.20665 2.74758L1.51082 10.1617C1.14915 10.6751 1.06748 11.2351 1.27748 11.6376C1.48165 12.0342 1.94832 12.2501 2.58415 12.2501H11.4042C12.04 12.2501 12.5067 12.0342 12.7108 11.6376C12.9208 11.2351 12.8392 10.6751 12.495 10.1851H12.5008Z",
|
|
1816
1842
|
fill: "currentColor"
|
|
1817
1843
|
}
|
|
1818
1844
|
) }),
|
|
1819
|
-
/* @__PURE__ */ (0,
|
|
1845
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("clipPath", { id: "clip0_warning", children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("rect", { width: "14", height: "14", fill: "white" }) }) })
|
|
1820
1846
|
]
|
|
1821
1847
|
})
|
|
1822
1848
|
);
|
|
@@ -1853,6 +1879,7 @@ var iconRegistry = {
|
|
|
1853
1879
|
ethereum: EthereumIcon,
|
|
1854
1880
|
"external-link": ExternalLinkIcon,
|
|
1855
1881
|
google: GoogleIcon,
|
|
1882
|
+
image: ImageIcon,
|
|
1856
1883
|
info: InfoIcon,
|
|
1857
1884
|
"link-accounts": LinkAccountsIcon,
|
|
1858
1885
|
pencil: PencilIcon,
|
|
@@ -1886,7 +1913,7 @@ var resolveIconStyle = (color, style) => {
|
|
|
1886
1913
|
};
|
|
1887
1914
|
|
|
1888
1915
|
// src/primitives/icon/index.tsx
|
|
1889
|
-
var
|
|
1916
|
+
var import_jsx_runtime51 = require("react/jsx-runtime");
|
|
1890
1917
|
var Icon = (_a) => {
|
|
1891
1918
|
var _b = _a, {
|
|
1892
1919
|
name,
|
|
@@ -1904,7 +1931,7 @@ var Icon = (_a) => {
|
|
|
1904
1931
|
const Component = iconRegistry[name];
|
|
1905
1932
|
const resolvedStyle = resolveIconStyle(color, style);
|
|
1906
1933
|
const resolvedClassName = cn(iconSizeClasses[size], className);
|
|
1907
|
-
return /* @__PURE__ */ (0,
|
|
1934
|
+
return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
1908
1935
|
Component,
|
|
1909
1936
|
__spreadValues({
|
|
1910
1937
|
color,
|
|
@@ -1920,10 +1947,10 @@ var import_hooks5 = require("@agg-market/hooks");
|
|
|
1920
1947
|
|
|
1921
1948
|
// src/primitives/skeleton/skeleton-block.tsx
|
|
1922
1949
|
var import_hooks3 = require("@agg-market/hooks");
|
|
1923
|
-
var
|
|
1950
|
+
var import_jsx_runtime52 = require("react/jsx-runtime");
|
|
1924
1951
|
var SkeletonBlock = ({ className }) => {
|
|
1925
1952
|
const { enableAnimations } = (0, import_hooks3.useSdkUiConfig)();
|
|
1926
|
-
return /* @__PURE__ */ (0,
|
|
1953
|
+
return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
1927
1954
|
"div",
|
|
1928
1955
|
{
|
|
1929
1956
|
"aria-hidden": true,
|
|
@@ -1944,7 +1971,7 @@ var import_hooks4 = require("@agg-market/hooks");
|
|
|
1944
1971
|
var baseCardClassName = "gap-3 overflow-hidden p-5 w-full";
|
|
1945
1972
|
|
|
1946
1973
|
// src/primitives/skeleton/views/event-list-item-skeleton-view.tsx
|
|
1947
|
-
var
|
|
1974
|
+
var import_jsx_runtime53 = require("react/jsx-runtime");
|
|
1948
1975
|
var EventListItemSkeletonView = ({
|
|
1949
1976
|
className,
|
|
1950
1977
|
ariaLabel,
|
|
@@ -1952,7 +1979,7 @@ var EventListItemSkeletonView = ({
|
|
|
1952
1979
|
}) => {
|
|
1953
1980
|
const labels = (0, import_hooks4.useLabels)();
|
|
1954
1981
|
const outcomeTitleWidths = ["w-40", "w-[200px]"];
|
|
1955
|
-
return /* @__PURE__ */ (0,
|
|
1982
|
+
return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(
|
|
1956
1983
|
Card,
|
|
1957
1984
|
{
|
|
1958
1985
|
className: cn("group/agg-skeleton", baseCardClassName, className),
|
|
@@ -1961,23 +1988,23 @@ var EventListItemSkeletonView = ({
|
|
|
1961
1988
|
"aria-busy": isStandalone || void 0,
|
|
1962
1989
|
"aria-hidden": isStandalone ? void 0 : true,
|
|
1963
1990
|
children: [
|
|
1964
|
-
/* @__PURE__ */ (0,
|
|
1965
|
-
/* @__PURE__ */ (0,
|
|
1966
|
-
/* @__PURE__ */ (0,
|
|
1991
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("div", { className: "flex h-14 w-full items-center gap-3 justify-stretch", children: [
|
|
1992
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(SkeletonBlock, { className: "size-10! rounded-agg-lg" }),
|
|
1993
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(SkeletonBlock, { className: "h-6 w-fit flex-1 rounded-agg-sm" })
|
|
1967
1994
|
] }),
|
|
1968
|
-
/* @__PURE__ */ (0,
|
|
1969
|
-
/* @__PURE__ */ (0,
|
|
1970
|
-
/* @__PURE__ */ (0,
|
|
1995
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)("div", { className: "flex flex-col gap-3", children: outcomeTitleWidths.map((outcomeTitleWidth, index) => /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("div", { className: "flex w-full items-center justify-between gap-3", children: [
|
|
1996
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(SkeletonBlock, { className: cn("h-5 rounded-agg-sm", outcomeTitleWidth) }),
|
|
1997
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(SkeletonBlock, { className: "h-9 w-[100px] rounded-agg-full" })
|
|
1971
1998
|
] }, index)) }),
|
|
1972
|
-
/* @__PURE__ */ (0,
|
|
1973
|
-
/* @__PURE__ */ (0,
|
|
1974
|
-
/* @__PURE__ */ (0,
|
|
1975
|
-
/* @__PURE__ */ (0,
|
|
1976
|
-
/* @__PURE__ */ (0,
|
|
1977
|
-
/* @__PURE__ */ (0,
|
|
1999
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("div", { className: "flex items-center justify-between gap-5 text-agg-muted-foreground", children: [
|
|
2000
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("div", { className: "flex min-w-0 flex-1 items-center gap-2", children: [
|
|
2001
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(SkeletonBlock, { className: "h-5 w-[100px] rounded-agg-sm" }),
|
|
2002
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("div", { className: "flex items-center gap-1", children: [
|
|
2003
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(SkeletonBlock, { className: "size-[14px] rounded-agg-sm" }),
|
|
2004
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(SkeletonBlock, { className: "size-[14px] rounded-agg-sm" })
|
|
1978
2005
|
] })
|
|
1979
2006
|
] }),
|
|
1980
|
-
/* @__PURE__ */ (0,
|
|
2007
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(SkeletonBlock, { className: "h-5 w-[60px] rounded-agg-sm" })
|
|
1981
2008
|
] })
|
|
1982
2009
|
]
|
|
1983
2010
|
}
|
|
@@ -1986,10 +2013,10 @@ var EventListItemSkeletonView = ({
|
|
|
1986
2013
|
EventListItemSkeletonView.displayName = "EventListItemSkeletonView";
|
|
1987
2014
|
|
|
1988
2015
|
// src/primitives/skeleton/views/event-list-skeleton-view.tsx
|
|
1989
|
-
var
|
|
2016
|
+
var import_jsx_runtime54 = require("react/jsx-runtime");
|
|
1990
2017
|
var EventListSkeletonView = ({ className, ariaLabel }) => {
|
|
1991
2018
|
const labels = (0, import_hooks5.useLabels)();
|
|
1992
|
-
return /* @__PURE__ */ (0,
|
|
2019
|
+
return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
|
|
1993
2020
|
"section",
|
|
1994
2021
|
{
|
|
1995
2022
|
className: cn("group/agg-skeleton", "flex w-full flex-col gap-5", className),
|
|
@@ -1997,11 +2024,11 @@ var EventListSkeletonView = ({ className, ariaLabel }) => {
|
|
|
1997
2024
|
"aria-label": ariaLabel != null ? ariaLabel : labels.eventList.loading("events"),
|
|
1998
2025
|
"aria-busy": true,
|
|
1999
2026
|
children: [
|
|
2000
|
-
/* @__PURE__ */ (0,
|
|
2001
|
-
/* @__PURE__ */ (0,
|
|
2002
|
-
/* @__PURE__ */ (0,
|
|
2027
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("header", { className: "flex w-full flex-col items-start justify-between gap-3 md:flex-row md:flex-nowrap md:items-center md:gap-5", children: [
|
|
2028
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(SkeletonBlock, { className: "h-7 w-[120px] rounded-agg-md" }),
|
|
2029
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(SkeletonBlock, { className: "h-8 w-full rounded-agg-md md:w-[400px]" })
|
|
2003
2030
|
] }),
|
|
2004
|
-
/* @__PURE__ */ (0,
|
|
2031
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { className: "grid grid-cols-1 gap-5 md:grid-cols-3", children: Array.from({ length: 3 }).map((_, index) => /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
2005
2032
|
EventListItemSkeletonView,
|
|
2006
2033
|
{
|
|
2007
2034
|
isStandalone: false,
|
|
@@ -2022,13 +2049,13 @@ var import_hooks6 = require("@agg-market/hooks");
|
|
|
2022
2049
|
var detailsBaseCardClassName = "w-full overflow-hidden gap-6 p-5 md:gap-8 md:p-10";
|
|
2023
2050
|
|
|
2024
2051
|
// src/primitives/skeleton/views/event-list-item-details-skeleton-view.tsx
|
|
2025
|
-
var
|
|
2052
|
+
var import_jsx_runtime55 = require("react/jsx-runtime");
|
|
2026
2053
|
var EventListItemDetailsSkeletonView = ({
|
|
2027
2054
|
className,
|
|
2028
2055
|
ariaLabel
|
|
2029
2056
|
}) => {
|
|
2030
2057
|
const labels = (0, import_hooks6.useLabels)();
|
|
2031
|
-
return /* @__PURE__ */ (0,
|
|
2058
|
+
return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
|
|
2032
2059
|
Card,
|
|
2033
2060
|
{
|
|
2034
2061
|
className: cn("group/agg-skeleton", detailsBaseCardClassName, className),
|
|
@@ -2036,24 +2063,24 @@ var EventListItemDetailsSkeletonView = ({
|
|
|
2036
2063
|
"aria-label": ariaLabel != null ? ariaLabel : labels.eventItemDetails.loading,
|
|
2037
2064
|
"aria-busy": true,
|
|
2038
2065
|
children: [
|
|
2039
|
-
/* @__PURE__ */ (0,
|
|
2040
|
-
/* @__PURE__ */ (0,
|
|
2041
|
-
/* @__PURE__ */ (0,
|
|
2066
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: "flex h-14 w-full items-center gap-3 justify-stretch", children: [
|
|
2067
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(SkeletonBlock, { className: "size-10! rounded-agg-lg" }),
|
|
2068
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(SkeletonBlock, { className: "h-6 w-fit flex-1 rounded-agg-sm" })
|
|
2042
2069
|
] }),
|
|
2043
|
-
/* @__PURE__ */ (0,
|
|
2044
|
-
/* @__PURE__ */ (0,
|
|
2045
|
-
/* @__PURE__ */ (0,
|
|
2046
|
-
/* @__PURE__ */ (0,
|
|
2047
|
-
/* @__PURE__ */ (0,
|
|
2048
|
-
/* @__PURE__ */ (0,
|
|
2070
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: "flex w-full flex-col gap-4 md:gap-6", children: [
|
|
2071
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: "flex w-full flex-col gap-3 md:flex-row md:items-center md:justify-between", children: [
|
|
2072
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: "flex max-w-full gap-2 overflow-hidden", children: [
|
|
2073
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(SkeletonBlock, { className: "h-9 w-[100px] rounded-agg-full" }),
|
|
2074
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(SkeletonBlock, { className: "h-9 w-[100px] rounded-agg-full" }),
|
|
2075
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(SkeletonBlock, { className: "h-9 w-[100px] rounded-agg-full" })
|
|
2049
2076
|
] }),
|
|
2050
|
-
/* @__PURE__ */ (0,
|
|
2077
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(SkeletonBlock, { className: "h-9 w-full max-w-[221px] rounded-agg-full md:w-[221px]" })
|
|
2051
2078
|
] }),
|
|
2052
|
-
/* @__PURE__ */ (0,
|
|
2053
|
-
/* @__PURE__ */ (0,
|
|
2054
|
-
/* @__PURE__ */ (0,
|
|
2055
|
-
/* @__PURE__ */ (0,
|
|
2056
|
-
/* @__PURE__ */ (0,
|
|
2079
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: "flex w-full flex-col gap-3", children: [
|
|
2080
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(SkeletonBlock, { className: "h-[220px] w-full rounded-agg-xl md:h-[240px]" }),
|
|
2081
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: "flex items-center justify-between", children: [
|
|
2082
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(SkeletonBlock, { className: "h-5 w-[59px] rounded-agg-sm" }),
|
|
2083
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(SkeletonBlock, { className: "h-5 w-40 rounded-agg-sm" })
|
|
2057
2084
|
] })
|
|
2058
2085
|
] })
|
|
2059
2086
|
] })
|
|
@@ -2070,7 +2097,7 @@ var import_hooks7 = require("@agg-market/hooks");
|
|
|
2070
2097
|
var marketDetailsBaseCardClassName = "w-full overflow-hidden rounded-agg-lg border border-agg-separator bg-agg-secondary text-agg-foreground shadow-none hover:shadow-none";
|
|
2071
2098
|
|
|
2072
2099
|
// src/primitives/skeleton/views/market-details-skeleton-view.tsx
|
|
2073
|
-
var
|
|
2100
|
+
var import_jsx_runtime56 = require("react/jsx-runtime");
|
|
2074
2101
|
var orderBookAskBarWidths = [
|
|
2075
2102
|
"w-[52px] md:w-[240px]",
|
|
2076
2103
|
"w-[48px] md:w-[200px]",
|
|
@@ -2084,30 +2111,30 @@ var orderBookBidBarWidths = [
|
|
|
2084
2111
|
"w-[52px] md:w-[240px]"
|
|
2085
2112
|
];
|
|
2086
2113
|
var MarketDetailsHeaderSkeleton = () => {
|
|
2087
|
-
return /* @__PURE__ */ (0,
|
|
2088
|
-
/* @__PURE__ */ (0,
|
|
2089
|
-
/* @__PURE__ */ (0,
|
|
2090
|
-
/* @__PURE__ */ (0,
|
|
2091
|
-
/* @__PURE__ */ (0,
|
|
2092
|
-
/* @__PURE__ */ (0,
|
|
2114
|
+
return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: "flex flex-wrap items-center justify-between gap-3 px-4 py-3 md:px-5", children: [
|
|
2115
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: "flex min-w-0 items-center gap-3 md:min-w-52 md:gap-4", children: [
|
|
2116
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(SkeletonBlock, { className: "size-12 rounded-agg-lg md:size-[60px]" }),
|
|
2117
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: "flex min-w-0 flex-col gap-2", children: [
|
|
2118
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(SkeletonBlock, { className: "h-6 w-[132px] rounded-agg-sm" }),
|
|
2119
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(SkeletonBlock, { className: "h-4 w-[141px] rounded-agg-sm" })
|
|
2093
2120
|
] })
|
|
2094
2121
|
] }),
|
|
2095
|
-
/* @__PURE__ */ (0,
|
|
2096
|
-
/* @__PURE__ */ (0,
|
|
2097
|
-
/* @__PURE__ */ (0,
|
|
2098
|
-
/* @__PURE__ */ (0,
|
|
2122
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(SkeletonBlock, { className: "h-9 w-[60px] rounded-agg-md" }),
|
|
2123
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: "flex w-full gap-2 md:w-auto", children: [
|
|
2124
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(SkeletonBlock, { className: "h-9 w-full rounded-agg-full md:w-[135px]" }),
|
|
2125
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(SkeletonBlock, { className: "h-9 w-full rounded-agg-full md:w-[131px]" })
|
|
2099
2126
|
] })
|
|
2100
2127
|
] });
|
|
2101
2128
|
};
|
|
2102
2129
|
var MarketDetailsTabsSkeleton = () => {
|
|
2103
|
-
return /* @__PURE__ */ (0,
|
|
2104
|
-
/* @__PURE__ */ (0,
|
|
2105
|
-
/* @__PURE__ */ (0,
|
|
2106
|
-
/* @__PURE__ */ (0,
|
|
2130
|
+
return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: "flex h-14 items-end px-4 md:px-5", children: [
|
|
2131
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: "flex h-full flex-col items-end justify-end rounded-t-agg-lg", children: [
|
|
2132
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "px-4 py-3", children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(SkeletonBlock, { className: "h-6 w-20 rounded-agg-sm" }) }),
|
|
2133
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(SkeletonBlock, { className: "h-[3px] w-full rounded-t-agg-sm" })
|
|
2107
2134
|
] }),
|
|
2108
|
-
/* @__PURE__ */ (0,
|
|
2109
|
-
/* @__PURE__ */ (0,
|
|
2110
|
-
/* @__PURE__ */ (0,
|
|
2135
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: "flex h-full flex-col justify-center", children: [
|
|
2136
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "px-4 py-3", children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(SkeletonBlock, { className: "h-6 w-12 rounded-agg-sm" }) }),
|
|
2137
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "h-[3px] w-full" })
|
|
2111
2138
|
] })
|
|
2112
2139
|
] });
|
|
2113
2140
|
};
|
|
@@ -2115,30 +2142,30 @@ var MarketDetailsOrderBookRows = ({
|
|
|
2115
2142
|
side,
|
|
2116
2143
|
barWidths
|
|
2117
2144
|
}) => {
|
|
2118
|
-
return /* @__PURE__ */ (0,
|
|
2119
|
-
/* @__PURE__ */ (0,
|
|
2120
|
-
/* @__PURE__ */ (0,
|
|
2121
|
-
/* @__PURE__ */ (0,
|
|
2122
|
-
/* @__PURE__ */ (0,
|
|
2145
|
+
return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "flex flex-col gap-2", children: barWidths.map((barWidthClassName, index) => /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: "flex flex-col gap-2", children: [
|
|
2146
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: "grid grid-cols-[52px_1fr_1fr_52px] items-center gap-2 md:grid-cols-[88px_1fr_1fr_minmax(120px,220px)] md:gap-6", children: [
|
|
2147
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: "flex items-center gap-1 md:gap-3", children: [
|
|
2148
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(SkeletonBlock, { className: "size-4 rounded-agg-sm" }),
|
|
2149
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(SkeletonBlock, { className: "h-5 w-[60px] rounded-agg-sm" })
|
|
2123
2150
|
] }),
|
|
2124
|
-
/* @__PURE__ */ (0,
|
|
2125
|
-
/* @__PURE__ */ (0,
|
|
2126
|
-
/* @__PURE__ */ (0,
|
|
2151
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(SkeletonBlock, { className: "h-5 rounded-agg-sm" }),
|
|
2152
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(SkeletonBlock, { className: "h-5 rounded-agg-sm" }),
|
|
2153
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "flex justify-end", children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(SkeletonBlock, { className: cn("h-2 rounded-agg-full", barWidthClassName) }) })
|
|
2127
2154
|
] }),
|
|
2128
|
-
index < barWidths.length - 1 ? /* @__PURE__ */ (0,
|
|
2155
|
+
index < barWidths.length - 1 ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "h-px w-full bg-agg-separator" }) : null
|
|
2129
2156
|
] }, `${side}-row-${index}`)) });
|
|
2130
2157
|
};
|
|
2131
2158
|
var MarketDetailsOderbookSkeleton = ({
|
|
2132
2159
|
className
|
|
2133
2160
|
}) => {
|
|
2134
|
-
return /* @__PURE__ */ (0,
|
|
2135
|
-
/* @__PURE__ */ (0,
|
|
2136
|
-
/* @__PURE__ */ (0,
|
|
2137
|
-
/* @__PURE__ */ (0,
|
|
2161
|
+
return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: cn("flex flex-col gap-5", className), children: [
|
|
2162
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: "flex flex-col gap-2", children: [
|
|
2163
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(SkeletonBlock, { className: "h-4 w-10 rounded-agg-sm" }),
|
|
2164
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(MarketDetailsOrderBookRows, { side: "ask", barWidths: orderBookAskBarWidths })
|
|
2138
2165
|
] }),
|
|
2139
|
-
/* @__PURE__ */ (0,
|
|
2140
|
-
/* @__PURE__ */ (0,
|
|
2141
|
-
/* @__PURE__ */ (0,
|
|
2166
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: "flex flex-col gap-2", children: [
|
|
2167
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(SkeletonBlock, { className: "h-4 w-10 rounded-agg-sm" }),
|
|
2168
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(MarketDetailsOrderBookRows, { side: "bid", barWidths: orderBookBidBarWidths })
|
|
2142
2169
|
] })
|
|
2143
2170
|
] });
|
|
2144
2171
|
};
|
|
@@ -2148,7 +2175,7 @@ var MarketDetailsSkeletonView = ({
|
|
|
2148
2175
|
isDetailed
|
|
2149
2176
|
}) => {
|
|
2150
2177
|
const labels = (0, import_hooks7.useLabels)();
|
|
2151
|
-
return /* @__PURE__ */ (0,
|
|
2178
|
+
return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
|
|
2152
2179
|
Card,
|
|
2153
2180
|
{
|
|
2154
2181
|
className: cn("group/agg-skeleton", marketDetailsBaseCardClassName, className),
|
|
@@ -2156,12 +2183,12 @@ var MarketDetailsSkeletonView = ({
|
|
|
2156
2183
|
"aria-label": ariaLabel != null ? ariaLabel : labels.marketDetails.loading,
|
|
2157
2184
|
"aria-busy": true,
|
|
2158
2185
|
children: [
|
|
2159
|
-
/* @__PURE__ */ (0,
|
|
2160
|
-
isDetailed ? /* @__PURE__ */ (0,
|
|
2161
|
-
/* @__PURE__ */ (0,
|
|
2162
|
-
/* @__PURE__ */ (0,
|
|
2163
|
-
/* @__PURE__ */ (0,
|
|
2164
|
-
/* @__PURE__ */ (0,
|
|
2186
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(MarketDetailsHeaderSkeleton, {}),
|
|
2187
|
+
isDetailed ? /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(import_jsx_runtime56.Fragment, { children: [
|
|
2188
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "h-px w-full bg-agg-separator" }),
|
|
2189
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(MarketDetailsTabsSkeleton, {}),
|
|
2190
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "h-px w-full bg-agg-separator" }),
|
|
2191
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(MarketDetailsOderbookSkeleton, { className: "p-5" })
|
|
2165
2192
|
] }) : null
|
|
2166
2193
|
]
|
|
2167
2194
|
}
|
|
@@ -2170,62 +2197,62 @@ var MarketDetailsSkeletonView = ({
|
|
|
2170
2197
|
MarketDetailsSkeletonView.displayName = "MarketDetailsSkeletonView";
|
|
2171
2198
|
|
|
2172
2199
|
// src/primitives/skeleton/views/place-order-skeleton-view.tsx
|
|
2173
|
-
var
|
|
2200
|
+
var import_jsx_runtime57 = require("react/jsx-runtime");
|
|
2174
2201
|
var placeOrderCardClassName = "overflow-hidden rounded-agg-xl border border-agg-border bg-agg-secondary shadow-none hover:shadow-none";
|
|
2175
2202
|
var TabsSkeletonBar = () => {
|
|
2176
|
-
return /* @__PURE__ */ (0,
|
|
2177
|
-
/* @__PURE__ */ (0,
|
|
2178
|
-
/* @__PURE__ */ (0,
|
|
2179
|
-
/* @__PURE__ */ (0,
|
|
2203
|
+
return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("div", { className: "flex w-full items-end border-b border-agg-border", children: [
|
|
2204
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("div", { className: "flex flex-col rounded-t-agg-lg", children: [
|
|
2205
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)("div", { className: "px-5 py-2", children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(SkeletonBlock, { className: "h-6 w-10 rounded-agg-sm" }) }),
|
|
2206
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(SkeletonBlock, { className: "h-[3px] w-full rounded-t-agg-sm" })
|
|
2180
2207
|
] }),
|
|
2181
|
-
/* @__PURE__ */ (0,
|
|
2182
|
-
/* @__PURE__ */ (0,
|
|
2183
|
-
/* @__PURE__ */ (0,
|
|
2208
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("div", { className: "flex flex-col", children: [
|
|
2209
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)("div", { className: "px-5 py-2", children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(SkeletonBlock, { className: "h-6 w-10 rounded-agg-sm" }) }),
|
|
2210
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)("div", { className: "h-[3px] w-full" })
|
|
2184
2211
|
] })
|
|
2185
2212
|
] });
|
|
2186
2213
|
};
|
|
2187
2214
|
var ContentBody = () => {
|
|
2188
|
-
return /* @__PURE__ */ (0,
|
|
2189
|
-
/* @__PURE__ */ (0,
|
|
2190
|
-
/* @__PURE__ */ (0,
|
|
2191
|
-
/* @__PURE__ */ (0,
|
|
2192
|
-
/* @__PURE__ */ (0,
|
|
2193
|
-
/* @__PURE__ */ (0,
|
|
2194
|
-
/* @__PURE__ */ (0,
|
|
2215
|
+
return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("div", { className: cn("flex flex-col gap-6 p-5"), children: [
|
|
2216
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("div", { className: "flex flex-col gap-2", children: [
|
|
2217
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("div", { className: "flex min-w-0 items-center gap-3", children: [
|
|
2218
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(SkeletonBlock, { className: "size-12 shrink-0 rounded-agg-lg" }),
|
|
2219
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("div", { className: "flex min-w-0 flex-1 flex-col gap-2", children: [
|
|
2220
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(SkeletonBlock, { className: "h-4 w-[92%] max-w-[240px] rounded-agg-sm" }),
|
|
2221
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(SkeletonBlock, { className: "h-4 w-[64%] max-w-[160px] rounded-agg-sm" })
|
|
2195
2222
|
] })
|
|
2196
2223
|
] }),
|
|
2197
|
-
/* @__PURE__ */ (0,
|
|
2198
|
-
/* @__PURE__ */ (0,
|
|
2224
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(SkeletonBlock, { className: "h-6 w-[92px] rounded-agg-sm" }),
|
|
2225
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(TabsSkeletonBar, {})
|
|
2199
2226
|
] }),
|
|
2200
|
-
/* @__PURE__ */ (0,
|
|
2201
|
-
/* @__PURE__ */ (0,
|
|
2202
|
-
/* @__PURE__ */ (0,
|
|
2203
|
-
/* @__PURE__ */ (0,
|
|
2227
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("div", { className: "flex flex-col gap-4", children: [
|
|
2228
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("div", { className: "flex w-full gap-2", children: [
|
|
2229
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(SkeletonBlock, { className: "h-11 flex-1 rounded-agg-full" }),
|
|
2230
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(SkeletonBlock, { className: "h-11 flex-1 rounded-agg-full" })
|
|
2204
2231
|
] }),
|
|
2205
|
-
/* @__PURE__ */ (0,
|
|
2206
|
-
/* @__PURE__ */ (0,
|
|
2207
|
-
/* @__PURE__ */ (0,
|
|
2208
|
-
/* @__PURE__ */ (0,
|
|
2232
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("div", { className: "flex items-center justify-between gap-4", children: [
|
|
2233
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("div", { className: "flex flex-col gap-2", children: [
|
|
2234
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(SkeletonBlock, { className: "h-5 w-[63px] rounded-agg-sm" }),
|
|
2235
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(SkeletonBlock, { className: "h-4 w-[118px] rounded-agg-sm" })
|
|
2209
2236
|
] }),
|
|
2210
|
-
/* @__PURE__ */ (0,
|
|
2237
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)("p", { className: cn("text-agg-3xl font-agg-bold leading-agg-9 text-agg-separator"), children: "$0" })
|
|
2211
2238
|
] })
|
|
2212
2239
|
] }),
|
|
2213
|
-
/* @__PURE__ */ (0,
|
|
2214
|
-
/* @__PURE__ */ (0,
|
|
2240
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(SkeletonBlock, { className: "h-12 w-full rounded-agg-full" }),
|
|
2241
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(SkeletonBlock, { className: "h-4 w-full max-w-[240px] self-center rounded-agg-sm" })
|
|
2215
2242
|
] });
|
|
2216
2243
|
};
|
|
2217
2244
|
var PlaceOrderSkeletonView = ({
|
|
2218
2245
|
className,
|
|
2219
2246
|
ariaLabel
|
|
2220
2247
|
}) => {
|
|
2221
|
-
return /* @__PURE__ */ (0,
|
|
2248
|
+
return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
|
|
2222
2249
|
"div",
|
|
2223
2250
|
{
|
|
2224
2251
|
className: cn("group/agg-skeleton", "w-full", className),
|
|
2225
2252
|
role: "status",
|
|
2226
2253
|
"aria-label": ariaLabel != null ? ariaLabel : "Loading place order",
|
|
2227
2254
|
"aria-busy": true,
|
|
2228
|
-
children: /* @__PURE__ */ (0,
|
|
2255
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("div", { className: "flex w-full items-end justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Card, { className: cn(placeOrderCardClassName, "w-full"), children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(ContentBody, {}) }) })
|
|
2229
2256
|
}
|
|
2230
2257
|
);
|
|
2231
2258
|
};
|
|
@@ -2233,13 +2260,13 @@ PlaceOrderSkeletonView.displayName = "PlaceOrderSkeletonView";
|
|
|
2233
2260
|
|
|
2234
2261
|
// src/primitives/skeleton/views/settlement-skeleton-view.tsx
|
|
2235
2262
|
var import_hooks8 = require("@agg-market/hooks");
|
|
2236
|
-
var
|
|
2263
|
+
var import_jsx_runtime58 = require("react/jsx-runtime");
|
|
2237
2264
|
var SettlementSkeletonView = ({
|
|
2238
2265
|
className,
|
|
2239
2266
|
ariaLabel
|
|
2240
2267
|
}) => {
|
|
2241
2268
|
const labels = (0, import_hooks8.useLabels)();
|
|
2242
|
-
return /* @__PURE__ */ (0,
|
|
2269
|
+
return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
|
|
2243
2270
|
Card,
|
|
2244
2271
|
{
|
|
2245
2272
|
className: cn(
|
|
@@ -2251,26 +2278,26 @@ var SettlementSkeletonView = ({
|
|
|
2251
2278
|
"aria-label": ariaLabel != null ? ariaLabel : labels.trading.settlementLoading,
|
|
2252
2279
|
"aria-busy": true,
|
|
2253
2280
|
children: [
|
|
2254
|
-
/* @__PURE__ */ (0,
|
|
2255
|
-
/* @__PURE__ */ (0,
|
|
2256
|
-
/* @__PURE__ */ (0,
|
|
2281
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: "flex w-full items-center justify-between gap-4", children: [
|
|
2282
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(SkeletonBlock, { className: "h-4 w-[81px] rounded-agg-sm" }),
|
|
2283
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(SkeletonBlock, { className: "h-5 w-full max-w-[240px] rounded-agg-sm" })
|
|
2257
2284
|
] }),
|
|
2258
|
-
/* @__PURE__ */ (0,
|
|
2259
|
-
/* @__PURE__ */ (0,
|
|
2260
|
-
/* @__PURE__ */ (0,
|
|
2261
|
-
/* @__PURE__ */ (0,
|
|
2262
|
-
/* @__PURE__ */ (0,
|
|
2285
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: "flex w-full flex-col gap-3", children: [
|
|
2286
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(SkeletonBlock, { className: "h-5 w-[200px] rounded-agg-sm" }),
|
|
2287
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: "flex flex-col gap-2", children: [
|
|
2288
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(SkeletonBlock, { className: "h-4 w-full max-w-[320px] rounded-agg-sm" }),
|
|
2289
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(SkeletonBlock, { className: "h-4 w-full max-w-[280px] rounded-agg-sm" })
|
|
2263
2290
|
] })
|
|
2264
2291
|
] }),
|
|
2265
|
-
/* @__PURE__ */ (0,
|
|
2266
|
-
/* @__PURE__ */ (0,
|
|
2267
|
-
/* @__PURE__ */ (0,
|
|
2268
|
-
/* @__PURE__ */ (0,
|
|
2269
|
-
/* @__PURE__ */ (0,
|
|
2292
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: "h-px w-full bg-agg-separator" }),
|
|
2293
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: "flex w-full flex-col gap-3", children: [
|
|
2294
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: "flex items-center gap-2", children: [
|
|
2295
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(SkeletonBlock, { className: "size-4 rounded-agg-sm" }),
|
|
2296
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(SkeletonBlock, { className: "h-5 w-[100px] rounded-agg-sm" })
|
|
2270
2297
|
] }),
|
|
2271
|
-
/* @__PURE__ */ (0,
|
|
2272
|
-
/* @__PURE__ */ (0,
|
|
2273
|
-
/* @__PURE__ */ (0,
|
|
2298
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: "flex items-center gap-2", children: [
|
|
2299
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(SkeletonBlock, { className: "size-4 rounded-agg-sm" }),
|
|
2300
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(SkeletonBlock, { className: "h-5 w-[60px] rounded-agg-sm" })
|
|
2274
2301
|
] })
|
|
2275
2302
|
] })
|
|
2276
2303
|
]
|
|
@@ -2291,33 +2318,119 @@ var skeletonViews = {
|
|
|
2291
2318
|
};
|
|
2292
2319
|
|
|
2293
2320
|
// src/primitives/skeleton/index.tsx
|
|
2294
|
-
var
|
|
2321
|
+
var import_jsx_runtime59 = require("react/jsx-runtime");
|
|
2295
2322
|
var Skeleton = ({ view, className, ariaLabel }) => {
|
|
2296
2323
|
if (view === skeletonViews.eventListItem) {
|
|
2297
|
-
return /* @__PURE__ */ (0,
|
|
2324
|
+
return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(EventListItemSkeletonView, { className, ariaLabel, isStandalone: true });
|
|
2298
2325
|
}
|
|
2299
2326
|
if (view === skeletonViews.eventListItemDetails) {
|
|
2300
|
-
return /* @__PURE__ */ (0,
|
|
2327
|
+
return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(EventListItemDetailsSkeletonView, { className, ariaLabel });
|
|
2301
2328
|
}
|
|
2302
2329
|
if (view === skeletonViews.marketDetailsMinified) {
|
|
2303
|
-
return /* @__PURE__ */ (0,
|
|
2330
|
+
return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(MarketDetailsSkeletonView, { className, ariaLabel, isDetailed: false });
|
|
2304
2331
|
}
|
|
2305
2332
|
if (view === skeletonViews.marketDetailsDetailed) {
|
|
2306
|
-
return /* @__PURE__ */ (0,
|
|
2333
|
+
return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(MarketDetailsSkeletonView, { className, ariaLabel, isDetailed: true });
|
|
2307
2334
|
}
|
|
2308
2335
|
if (view === skeletonViews.settlement) {
|
|
2309
|
-
return /* @__PURE__ */ (0,
|
|
2336
|
+
return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(SettlementSkeletonView, { className, ariaLabel });
|
|
2310
2337
|
}
|
|
2311
2338
|
if (view === skeletonViews.placeOrder) {
|
|
2312
|
-
return /* @__PURE__ */ (0,
|
|
2339
|
+
return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(PlaceOrderSkeletonView, { className, ariaLabel });
|
|
2313
2340
|
}
|
|
2314
|
-
return /* @__PURE__ */ (0,
|
|
2341
|
+
return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(EventListSkeletonView, { className, ariaLabel });
|
|
2315
2342
|
};
|
|
2316
2343
|
Skeleton.displayName = "Skeleton";
|
|
2317
2344
|
|
|
2318
2345
|
// src/primitives/venue-logo/index.tsx
|
|
2319
2346
|
var import_hooks9 = require("@agg-market/hooks");
|
|
2320
2347
|
|
|
2348
|
+
// src/primitives/remote-image/index.tsx
|
|
2349
|
+
var import_react = require("react");
|
|
2350
|
+
|
|
2351
|
+
// src/primitives/remote-image/remote-image.constants.ts
|
|
2352
|
+
var containerClasses = "relative inline-flex shrink-0 overflow-hidden";
|
|
2353
|
+
var imageClasses = "h-full w-full object-cover";
|
|
2354
|
+
var skeletonClasses = "h-full w-full rounded-agg-lg";
|
|
2355
|
+
var placeholderClasses = "flex h-full w-full items-center justify-center bg-agg-secondary-hover rounded-agg-lg";
|
|
2356
|
+
|
|
2357
|
+
// src/primitives/remote-image/index.tsx
|
|
2358
|
+
var import_jsx_runtime60 = require("react/jsx-runtime");
|
|
2359
|
+
var isValidSrc = (src) => typeof src === "string" && src.length > 0;
|
|
2360
|
+
var RemoteImage = ({
|
|
2361
|
+
src,
|
|
2362
|
+
alt,
|
|
2363
|
+
title,
|
|
2364
|
+
className,
|
|
2365
|
+
classNames,
|
|
2366
|
+
width,
|
|
2367
|
+
height,
|
|
2368
|
+
onClick,
|
|
2369
|
+
ariaLabel
|
|
2370
|
+
}) => {
|
|
2371
|
+
const [status, setStatus] = (0, import_react.useState)(
|
|
2372
|
+
() => isValidSrc(src) ? "loading" : "error"
|
|
2373
|
+
);
|
|
2374
|
+
const prevSrcRef = (0, import_react.useRef)(src);
|
|
2375
|
+
if (src !== prevSrcRef.current) {
|
|
2376
|
+
prevSrcRef.current = src;
|
|
2377
|
+
const next = isValidSrc(src) ? "loading" : "error";
|
|
2378
|
+
if (status !== next) {
|
|
2379
|
+
setStatus(next);
|
|
2380
|
+
}
|
|
2381
|
+
}
|
|
2382
|
+
const handleLoad = () => {
|
|
2383
|
+
setStatus("loaded");
|
|
2384
|
+
};
|
|
2385
|
+
const handleError = () => {
|
|
2386
|
+
setStatus("error");
|
|
2387
|
+
};
|
|
2388
|
+
const sizeStyle = width !== void 0 || height !== void 0 ? { width: width != null ? width : void 0, height: height != null ? height : void 0 } : void 0;
|
|
2389
|
+
return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(
|
|
2390
|
+
"div",
|
|
2391
|
+
{
|
|
2392
|
+
className: cn(containerClasses, classNames == null ? void 0 : classNames.root, className),
|
|
2393
|
+
style: sizeStyle,
|
|
2394
|
+
onClick,
|
|
2395
|
+
role: onClick ? "button" : void 0,
|
|
2396
|
+
tabIndex: onClick ? 0 : void 0,
|
|
2397
|
+
onKeyDown: onClick ? (e) => {
|
|
2398
|
+
if (e.key === "Enter" || e.key === " ") {
|
|
2399
|
+
e.preventDefault();
|
|
2400
|
+
onClick();
|
|
2401
|
+
}
|
|
2402
|
+
} : void 0,
|
|
2403
|
+
"aria-label": ariaLabel,
|
|
2404
|
+
title,
|
|
2405
|
+
children: [
|
|
2406
|
+
status === "loading" && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(SkeletonBlock, { className: cn(skeletonClasses, classNames == null ? void 0 : classNames.placeholder) }),
|
|
2407
|
+
status === "error" && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
|
|
2408
|
+
"div",
|
|
2409
|
+
{
|
|
2410
|
+
className: cn(placeholderClasses, classNames == null ? void 0 : classNames.placeholder),
|
|
2411
|
+
"aria-hidden": true,
|
|
2412
|
+
"aria-errormessage": "Image failed to load",
|
|
2413
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(Icon, { name: "image", size: "medium", className: "text-agg-muted-foreground" })
|
|
2414
|
+
}
|
|
2415
|
+
),
|
|
2416
|
+
isValidSrc(src) && status !== "error" && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
|
|
2417
|
+
"img",
|
|
2418
|
+
{
|
|
2419
|
+
src,
|
|
2420
|
+
alt,
|
|
2421
|
+
width,
|
|
2422
|
+
height,
|
|
2423
|
+
onLoad: handleLoad,
|
|
2424
|
+
onError: handleError,
|
|
2425
|
+
className: cn(imageClasses, status === "loading" && "hidden", classNames == null ? void 0 : classNames.image)
|
|
2426
|
+
}
|
|
2427
|
+
)
|
|
2428
|
+
]
|
|
2429
|
+
}
|
|
2430
|
+
);
|
|
2431
|
+
};
|
|
2432
|
+
RemoteImage.displayName = "RemoteImage";
|
|
2433
|
+
|
|
2321
2434
|
// src/primitives/venue-logo/logo-props.ts
|
|
2322
2435
|
var DEFAULT_MONOCHROME_COLOR = "currentColor";
|
|
2323
2436
|
var resolveLogoPrimaryColor = ({
|
|
@@ -2333,7 +2446,7 @@ var resolveLogoPrimaryColor = ({
|
|
|
2333
2446
|
};
|
|
2334
2447
|
|
|
2335
2448
|
// src/primitives/venue-logo/svg/logo-kalshi.tsx
|
|
2336
|
-
var
|
|
2449
|
+
var import_jsx_runtime61 = require("react/jsx-runtime");
|
|
2337
2450
|
var KALSHI_GREEN = "#18C590";
|
|
2338
2451
|
var LogoKalshiIcon = (_a) => {
|
|
2339
2452
|
var _b = _a, {
|
|
@@ -2352,7 +2465,7 @@ var LogoKalshiIcon = (_a) => {
|
|
|
2352
2465
|
isColor,
|
|
2353
2466
|
color
|
|
2354
2467
|
});
|
|
2355
|
-
return /* @__PURE__ */ (0,
|
|
2468
|
+
return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
|
|
2356
2469
|
"svg",
|
|
2357
2470
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2358
2471
|
viewBox: "0 0 100 100",
|
|
@@ -2360,8 +2473,8 @@ var LogoKalshiIcon = (_a) => {
|
|
|
2360
2473
|
fill: "none"
|
|
2361
2474
|
}, getIconA11yProps(title)), props), {
|
|
2362
2475
|
children: [
|
|
2363
|
-
title ? /* @__PURE__ */ (0,
|
|
2364
|
-
/* @__PURE__ */ (0,
|
|
2476
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("title", { children: title }) : null,
|
|
2477
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
|
|
2365
2478
|
"path",
|
|
2366
2479
|
{
|
|
2367
2480
|
d: "M54.9798 47.579L79.4249 85.9995H58.2273L38.2531 52.9344V85.9995H20.4189V13.9995H38.2531V45.4356L59.6547 13.9995H78.7119L54.9798 47.579Z",
|
|
@@ -2375,7 +2488,7 @@ var LogoKalshiIcon = (_a) => {
|
|
|
2375
2488
|
LogoKalshiIcon.displayName = "LogoKalshiIcon";
|
|
2376
2489
|
|
|
2377
2490
|
// src/primitives/venue-logo/svg/logo-limitless.tsx
|
|
2378
|
-
var
|
|
2491
|
+
var import_jsx_runtime62 = require("react/jsx-runtime");
|
|
2379
2492
|
var LIMITLESS_BLACK = "#000000";
|
|
2380
2493
|
var LogoLimitlessIcon = (_a) => {
|
|
2381
2494
|
var _b = _a, {
|
|
@@ -2394,7 +2507,7 @@ var LogoLimitlessIcon = (_a) => {
|
|
|
2394
2507
|
isColor,
|
|
2395
2508
|
color
|
|
2396
2509
|
});
|
|
2397
|
-
return /* @__PURE__ */ (0,
|
|
2510
|
+
return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(
|
|
2398
2511
|
"svg",
|
|
2399
2512
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2400
2513
|
viewBox: "0 0 44 32",
|
|
@@ -2402,8 +2515,8 @@ var LogoLimitlessIcon = (_a) => {
|
|
|
2402
2515
|
fill: "none"
|
|
2403
2516
|
}, getIconA11yProps(title)), props), {
|
|
2404
2517
|
children: [
|
|
2405
|
-
title ? /* @__PURE__ */ (0,
|
|
2406
|
-
/* @__PURE__ */ (0,
|
|
2518
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("title", { children: title }) : null,
|
|
2519
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
|
|
2407
2520
|
"path",
|
|
2408
2521
|
{
|
|
2409
2522
|
fill: primaryColor,
|
|
@@ -2412,7 +2525,7 @@ var LogoLimitlessIcon = (_a) => {
|
|
|
2412
2525
|
clipRule: "evenodd"
|
|
2413
2526
|
}
|
|
2414
2527
|
),
|
|
2415
|
-
/* @__PURE__ */ (0,
|
|
2528
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
|
|
2416
2529
|
"path",
|
|
2417
2530
|
{
|
|
2418
2531
|
fill: primaryColor,
|
|
@@ -2421,7 +2534,7 @@ var LogoLimitlessIcon = (_a) => {
|
|
|
2421
2534
|
clipRule: "evenodd"
|
|
2422
2535
|
}
|
|
2423
2536
|
),
|
|
2424
|
-
/* @__PURE__ */ (0,
|
|
2537
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
|
|
2425
2538
|
"path",
|
|
2426
2539
|
{
|
|
2427
2540
|
fill: primaryColor,
|
|
@@ -2430,7 +2543,7 @@ var LogoLimitlessIcon = (_a) => {
|
|
|
2430
2543
|
clipRule: "evenodd"
|
|
2431
2544
|
}
|
|
2432
2545
|
),
|
|
2433
|
-
/* @__PURE__ */ (0,
|
|
2546
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
|
|
2434
2547
|
"path",
|
|
2435
2548
|
{
|
|
2436
2549
|
fill: primaryColor,
|
|
@@ -2439,7 +2552,7 @@ var LogoLimitlessIcon = (_a) => {
|
|
|
2439
2552
|
clipRule: "evenodd"
|
|
2440
2553
|
}
|
|
2441
2554
|
),
|
|
2442
|
-
/* @__PURE__ */ (0,
|
|
2555
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
|
|
2443
2556
|
"path",
|
|
2444
2557
|
{
|
|
2445
2558
|
fill: primaryColor,
|
|
@@ -2455,7 +2568,7 @@ var LogoLimitlessIcon = (_a) => {
|
|
|
2455
2568
|
LogoLimitlessIcon.displayName = "LogoLimitlessIcon";
|
|
2456
2569
|
|
|
2457
2570
|
// src/primitives/venue-logo/svg/logo-opinion.tsx
|
|
2458
|
-
var
|
|
2571
|
+
var import_jsx_runtime63 = require("react/jsx-runtime");
|
|
2459
2572
|
var OPINION_BLACK = "#000000";
|
|
2460
2573
|
var LogoOpinionIcon = (_a) => {
|
|
2461
2574
|
var _b = _a, {
|
|
@@ -2474,7 +2587,7 @@ var LogoOpinionIcon = (_a) => {
|
|
|
2474
2587
|
isColor,
|
|
2475
2588
|
color
|
|
2476
2589
|
});
|
|
2477
|
-
return /* @__PURE__ */ (0,
|
|
2590
|
+
return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(
|
|
2478
2591
|
"svg",
|
|
2479
2592
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2480
2593
|
viewBox: "0 0 100 100",
|
|
@@ -2482,8 +2595,8 @@ var LogoOpinionIcon = (_a) => {
|
|
|
2482
2595
|
fill: "none"
|
|
2483
2596
|
}, getIconA11yProps(title)), props), {
|
|
2484
2597
|
children: [
|
|
2485
|
-
title ? /* @__PURE__ */ (0,
|
|
2486
|
-
/* @__PURE__ */ (0,
|
|
2598
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("title", { children: title }) : null,
|
|
2599
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
|
|
2487
2600
|
"path",
|
|
2488
2601
|
{
|
|
2489
2602
|
d: "M51.8239 68.4603L56.9659 68.0094L58.8049 89.0576C61.1459 88.5314 63.4349 87.7952 65.6437 86.8578V68.1879H71.9955V83.4385C74.6496 81.6828 77.0863 79.619 79.2548 77.2898L80.0716 67.958L85.516 68.433C88.6185 62.4381 90.156 55.7558 89.9858 49.0072C89.8154 42.2584 87.9429 35.6623 84.542 29.8316L84.3394 32.1494L77.9876 31.5927L78.8042 22.2668C76.7468 20.1288 74.4594 18.225 71.9835 16.5902V31.9164H65.6317V13.1739C62.9224 12.0205 60.0929 11.173 57.1957 10.6473L59.0317 31.6441L53.8897 32.0949L51.9599 10.0482C51.3128 10.0179 50.6593 9.99976 50.006 9.99976C47.4581 9.99976 44.9161 10.2419 42.414 10.723L46.0438 31.3899L42.1297 32.0798L38.5304 11.6701C35.1755 12.6725 31.9677 14.1143 28.9905 15.9578L33.0435 31.0873L29.9705 31.9134L26.2018 17.8369C23.2938 19.9923 20.6902 22.5308 18.4615 25.3835L20.4246 30.7787L18.1833 31.5956L16.7707 27.7134C14.5111 31.0771 12.7772 34.7657 11.6287 38.652L12.2639 38.4221L20.4306 60.8471L18.1893 61.6641L10.8877 41.5963C9.21542 49.4012 9.91256 57.528 12.8896 64.9338C15.8667 72.3395 20.9879 78.6865 27.5961 83.1601L23.8031 68.9989L26.8762 68.1728L31.5162 85.4991C34.6952 87.1593 38.0844 88.3808 41.5914 89.1303L38.0132 68.7296L41.9301 68.0397L45.7684 89.8262C47.1811 89.9757 48.6007 90.0505 50.0212 90.0502C51.2583 90.0502 52.4863 89.9926 53.6963 89.8807L51.8239 68.4603ZM80.1017 37.8985L86.4385 38.4524L84.3605 62.2299L78.0087 61.6761L80.1017 37.8985ZM65.6528 38.1315H72.0046V61.9969H65.6528V38.1315ZM56.975 37.9501L59.053 61.7277L53.911 62.1785L51.8299 38.4009L56.975 37.9501ZM29.9976 62.003L23.8243 38.9486L26.8974 38.1255L33.0707 61.1649L29.9976 62.003ZM42.157 62.1603L38.0132 38.658L41.9301 37.9683L46.0709 61.4674L42.157 62.1603Z",
|
|
@@ -2497,7 +2610,7 @@ var LogoOpinionIcon = (_a) => {
|
|
|
2497
2610
|
LogoOpinionIcon.displayName = "LogoOpinionIcon";
|
|
2498
2611
|
|
|
2499
2612
|
// src/primitives/venue-logo/svg/logo-polymarket.tsx
|
|
2500
|
-
var
|
|
2613
|
+
var import_jsx_runtime64 = require("react/jsx-runtime");
|
|
2501
2614
|
var POLYMARKET_BLUE = "#2E5CFF";
|
|
2502
2615
|
var LogoPolymarketIcon = (_a) => {
|
|
2503
2616
|
var _b = _a, {
|
|
@@ -2516,7 +2629,7 @@ var LogoPolymarketIcon = (_a) => {
|
|
|
2516
2629
|
isColor,
|
|
2517
2630
|
color
|
|
2518
2631
|
});
|
|
2519
|
-
return /* @__PURE__ */ (0,
|
|
2632
|
+
return /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(
|
|
2520
2633
|
"svg",
|
|
2521
2634
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2522
2635
|
viewBox: "0 0 100 100",
|
|
@@ -2524,8 +2637,8 @@ var LogoPolymarketIcon = (_a) => {
|
|
|
2524
2637
|
fill: "none"
|
|
2525
2638
|
}, getIconA11yProps(title)), props), {
|
|
2526
2639
|
children: [
|
|
2527
|
-
title ? /* @__PURE__ */ (0,
|
|
2528
|
-
/* @__PURE__ */ (0,
|
|
2640
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("title", { children: title }) : null,
|
|
2641
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
|
|
2529
2642
|
"path",
|
|
2530
2643
|
{
|
|
2531
2644
|
d: "M81.0904 84.2882C81.0904 87.9246 81.0904 89.7428 79.901 90.644C78.7119 91.5456 76.9613 91.0542 73.4603 90.0717L17.1975 74.2838C15.0881 73.6919 14.0332 73.3959 13.4233 72.5913C12.8135 71.7866 12.8135 70.6911 12.8135 68.5002V31.4998C12.8135 29.309 12.8135 28.2134 13.4233 27.4088C14.0332 26.6042 15.0881 26.3081 17.1975 25.7163L73.4603 9.92806C76.9613 8.94572 78.7119 8.45448 79.901 9.35587C81.0904 10.2573 81.0904 12.0755 81.0904 15.7119V84.2882ZM26.8451 69.1363L73.4308 82.2104V56.0637L26.8451 69.1363ZM20.4723 63.0711L67.0487 50L20.4723 36.929V63.0711ZM26.8446 30.8638L73.4308 43.9366V17.7896L26.8446 30.8638Z",
|
|
@@ -2539,7 +2652,7 @@ var LogoPolymarketIcon = (_a) => {
|
|
|
2539
2652
|
LogoPolymarketIcon.displayName = "LogoPolymarketIcon";
|
|
2540
2653
|
|
|
2541
2654
|
// src/primitives/venue-logo/svg/logo-probable.tsx
|
|
2542
|
-
var
|
|
2655
|
+
var import_jsx_runtime65 = require("react/jsx-runtime");
|
|
2543
2656
|
var PROBABLE_ORANGE = "#F05923";
|
|
2544
2657
|
var LogoProbableIcon = (_a) => {
|
|
2545
2658
|
var _b = _a, {
|
|
@@ -2558,7 +2671,7 @@ var LogoProbableIcon = (_a) => {
|
|
|
2558
2671
|
isColor,
|
|
2559
2672
|
color
|
|
2560
2673
|
});
|
|
2561
|
-
return /* @__PURE__ */ (0,
|
|
2674
|
+
return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
|
|
2562
2675
|
"svg",
|
|
2563
2676
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2564
2677
|
viewBox: "0 0 100 100",
|
|
@@ -2566,16 +2679,16 @@ var LogoProbableIcon = (_a) => {
|
|
|
2566
2679
|
fill: "none"
|
|
2567
2680
|
}, getIconA11yProps(title)), props), {
|
|
2568
2681
|
children: [
|
|
2569
|
-
title ? /* @__PURE__ */ (0,
|
|
2570
|
-
/* @__PURE__ */ (0,
|
|
2682
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("title", { children: title }) : null,
|
|
2683
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
|
2571
2684
|
"path",
|
|
2572
2685
|
{
|
|
2573
2686
|
d: "M75.625 59.3489C75.6247 53.7323 71.0719 49.1792 65.4551 49.179H33.9209C28.3039 49.179 23.7503 53.7321 23.75 59.3489C23.75 64.9659 28.3038 69.5198 33.9209 69.5198H65.4551C71.0719 69.5195 75.625 64.9658 75.625 59.3489ZM90.625 59.3489C90.625 73.2501 79.3562 84.5195 65.4551 84.5198H33.9209C20.0196 84.5198 8.75 73.2502 8.75 59.3489C8.75026 45.4477 20.0198 34.179 33.9209 34.179H65.4551C79.3559 34.1792 90.6247 45.4478 90.625 59.3489Z",
|
|
2574
2687
|
fill: primaryColor
|
|
2575
2688
|
}
|
|
2576
2689
|
),
|
|
2577
|
-
/* @__PURE__ */ (0,
|
|
2578
|
-
/* @__PURE__ */ (0,
|
|
2690
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)("path", { d: "M90.9329 15.4546V30.4546H8.90234V15.4546H90.9329Z", fill: primaryColor }),
|
|
2691
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
|
2579
2692
|
"path",
|
|
2580
2693
|
{
|
|
2581
2694
|
d: "M64.5742 51.3496C68.9894 51.3496 72.5742 54.9344 72.5742 59.3496C72.5742 63.7648 68.9894 67.3496 64.5742 67.3496C60.159 67.3496 56.5742 63.7648 56.5742 59.3496C56.5742 54.9344 60.159 51.3496 64.5742 51.3496Z",
|
|
@@ -2619,7 +2732,7 @@ var sizeClasses = {
|
|
|
2619
2732
|
};
|
|
2620
2733
|
|
|
2621
2734
|
// src/primitives/venue-logo/index.tsx
|
|
2622
|
-
var
|
|
2735
|
+
var import_jsx_runtime66 = require("react/jsx-runtime");
|
|
2623
2736
|
var VenueLogo = ({
|
|
2624
2737
|
venue,
|
|
2625
2738
|
variant = "icon",
|
|
@@ -2636,8 +2749,8 @@ var VenueLogo = ({
|
|
|
2636
2749
|
const sizeClass = sizeClasses[size];
|
|
2637
2750
|
const resolvedLabel = (_a = ariaLabel != null ? ariaLabel : labels.venues[venue]) != null ? _a : venueLogoLabels[venue];
|
|
2638
2751
|
if (variant === "logo") {
|
|
2639
|
-
return /* @__PURE__ */ (0,
|
|
2640
|
-
|
|
2752
|
+
return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
|
|
2753
|
+
RemoteImage,
|
|
2641
2754
|
{
|
|
2642
2755
|
src: venueLogoUrlRegistry[venue],
|
|
2643
2756
|
alt: resolvedLabel,
|
|
@@ -2648,7 +2761,7 @@ var VenueLogo = ({
|
|
|
2648
2761
|
}
|
|
2649
2762
|
const Component = venueLogoRegistry[venue];
|
|
2650
2763
|
const resolvedIsColor = isMonochromatic ? false : isColor;
|
|
2651
|
-
return /* @__PURE__ */ (0,
|
|
2764
|
+
return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
|
|
2652
2765
|
Component,
|
|
2653
2766
|
{
|
|
2654
2767
|
className: cn("group/agg-venue-logo", "shrink-0", sizeClass, className),
|
|
@@ -2662,7 +2775,7 @@ var VenueLogo = ({
|
|
|
2662
2775
|
VenueLogo.displayName = "VenueLogo";
|
|
2663
2776
|
|
|
2664
2777
|
// src/trading/settlement/index.tsx
|
|
2665
|
-
var
|
|
2778
|
+
var import_jsx_runtime67 = require("react/jsx-runtime");
|
|
2666
2779
|
var getSettlementHeaderClassName = () => {
|
|
2667
2780
|
return "flex items-center justify-between gap-4";
|
|
2668
2781
|
};
|
|
@@ -2684,15 +2797,15 @@ var Settlement = ({
|
|
|
2684
2797
|
const { enableAnimations } = (0, import_hooks10.useSdkUiConfig)();
|
|
2685
2798
|
const resolvedSectionLabel = sectionLabel === defaultSettlementSectionLabel ? labels.trading.settlementSection : sectionLabel;
|
|
2686
2799
|
const resolvedDifferencesTitle = differencesTitle === defaultSettlementDifferencesTitle ? labels.trading.settlementDifferencesTitle : differencesTitle;
|
|
2687
|
-
const [internalExpandedVenue, setInternalExpandedVenue] = (0,
|
|
2800
|
+
const [internalExpandedVenue, setInternalExpandedVenue] = (0, import_react2.useState)(
|
|
2688
2801
|
(_b = defaultExpandedVenue != null ? defaultExpandedVenue : (_a = venues[0]) == null ? void 0 : _a.venue) != null ? _b : null
|
|
2689
2802
|
);
|
|
2690
|
-
const [expandedDescriptionByVenue, setExpandedDescriptionByVenue] = (0,
|
|
2691
|
-
const [overflowingDescriptionByVenue, setOverflowingDescriptionByVenue] = (0,
|
|
2692
|
-
const [collapsedDescriptionByVenue, setCollapsedDescriptionByVenue] = (0,
|
|
2693
|
-
const descriptionWrapperRefs = (0,
|
|
2694
|
-
const descriptionMeasureRefs = (0,
|
|
2695
|
-
(0,
|
|
2803
|
+
const [expandedDescriptionByVenue, setExpandedDescriptionByVenue] = (0, import_react2.useState)({});
|
|
2804
|
+
const [overflowingDescriptionByVenue, setOverflowingDescriptionByVenue] = (0, import_react2.useState)({});
|
|
2805
|
+
const [collapsedDescriptionByVenue, setCollapsedDescriptionByVenue] = (0, import_react2.useState)({});
|
|
2806
|
+
const descriptionWrapperRefs = (0, import_react2.useRef)(/* @__PURE__ */ new Map());
|
|
2807
|
+
const descriptionMeasureRefs = (0, import_react2.useRef)(/* @__PURE__ */ new Map());
|
|
2808
|
+
(0, import_react2.useEffect)(() => {
|
|
2696
2809
|
if (expandedVenue === void 0)
|
|
2697
2810
|
return;
|
|
2698
2811
|
setInternalExpandedVenue(expandedVenue);
|
|
@@ -2705,7 +2818,7 @@ var Settlement = ({
|
|
|
2705
2818
|
}
|
|
2706
2819
|
onExpandedVenueChange == null ? void 0 : onExpandedVenueChange(nextVenue);
|
|
2707
2820
|
};
|
|
2708
|
-
const handleDescriptionWrapperRef = (0,
|
|
2821
|
+
const handleDescriptionWrapperRef = (0, import_react2.useCallback)(
|
|
2709
2822
|
(venue, element) => {
|
|
2710
2823
|
if (!element) {
|
|
2711
2824
|
descriptionWrapperRefs.current.delete(venue);
|
|
@@ -2715,7 +2828,7 @@ var Settlement = ({
|
|
|
2715
2828
|
},
|
|
2716
2829
|
[]
|
|
2717
2830
|
);
|
|
2718
|
-
const handleDescriptionMeasureRef = (0,
|
|
2831
|
+
const handleDescriptionMeasureRef = (0, import_react2.useCallback)(
|
|
2719
2832
|
(venue, element) => {
|
|
2720
2833
|
if (!element) {
|
|
2721
2834
|
descriptionMeasureRefs.current.delete(venue);
|
|
@@ -2725,7 +2838,7 @@ var Settlement = ({
|
|
|
2725
2838
|
},
|
|
2726
2839
|
[]
|
|
2727
2840
|
);
|
|
2728
|
-
const updateDescriptionLayout = (0,
|
|
2841
|
+
const updateDescriptionLayout = (0, import_react2.useCallback)(
|
|
2729
2842
|
(venue, description, showMoreLabel) => {
|
|
2730
2843
|
const descriptionWrapperElement = descriptionWrapperRefs.current.get(venue);
|
|
2731
2844
|
const descriptionMeasureElement = descriptionMeasureRefs.current.get(venue);
|
|
@@ -2794,7 +2907,7 @@ var Settlement = ({
|
|
|
2794
2907
|
},
|
|
2795
2908
|
[]
|
|
2796
2909
|
);
|
|
2797
|
-
(0,
|
|
2910
|
+
(0, import_react2.useEffect)(() => {
|
|
2798
2911
|
if (typeof window === "undefined")
|
|
2799
2912
|
return;
|
|
2800
2913
|
if (!resolvedExpandedVenue)
|
|
@@ -2816,7 +2929,7 @@ var Settlement = ({
|
|
|
2816
2929
|
window.cancelAnimationFrame(frameId);
|
|
2817
2930
|
};
|
|
2818
2931
|
}, [expandedDescriptionByVenue, resolvedExpandedVenue, updateDescriptionLayout, venues]);
|
|
2819
|
-
(0,
|
|
2932
|
+
(0, import_react2.useEffect)(() => {
|
|
2820
2933
|
if (!resolvedExpandedVenue)
|
|
2821
2934
|
return;
|
|
2822
2935
|
if (expandedDescriptionByVenue[resolvedExpandedVenue])
|
|
@@ -2854,7 +2967,7 @@ var Settlement = ({
|
|
|
2854
2967
|
onShowMore == null ? void 0 : onShowMore(venue);
|
|
2855
2968
|
};
|
|
2856
2969
|
if (isLoading) {
|
|
2857
|
-
return /* @__PURE__ */ (0,
|
|
2970
|
+
return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
2858
2971
|
Skeleton,
|
|
2859
2972
|
{
|
|
2860
2973
|
ariaLabel: labels.trading.settlementLoading,
|
|
@@ -2863,7 +2976,7 @@ var Settlement = ({
|
|
|
2863
2976
|
}
|
|
2864
2977
|
);
|
|
2865
2978
|
}
|
|
2866
|
-
return /* @__PURE__ */ (0,
|
|
2979
|
+
return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(
|
|
2867
2980
|
Card,
|
|
2868
2981
|
{
|
|
2869
2982
|
className: cn(
|
|
@@ -2871,16 +2984,16 @@ var Settlement = ({
|
|
|
2871
2984
|
className
|
|
2872
2985
|
),
|
|
2873
2986
|
children: [
|
|
2874
|
-
/* @__PURE__ */ (0,
|
|
2875
|
-
/* @__PURE__ */ (0,
|
|
2876
|
-
/* @__PURE__ */ (0,
|
|
2987
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("div", { className: getSettlementHeaderClassName(), children: [
|
|
2988
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)("p", { className: "text-agg-xs font-agg-bold leading-agg-4 uppercase text-agg-muted-foreground", children: resolvedSectionLabel }),
|
|
2989
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)("p", { className: "text-agg-sm font-agg-bold leading-agg-5 text-agg-foreground", children: question })
|
|
2877
2990
|
] }),
|
|
2878
|
-
/* @__PURE__ */ (0,
|
|
2879
|
-
/* @__PURE__ */ (0,
|
|
2880
|
-
/* @__PURE__ */ (0,
|
|
2991
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("div", { className: "flex flex-col gap-2", children: [
|
|
2992
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)("p", { className: "text-agg-sm font-agg-bold leading-agg-5 text-agg-foreground", children: resolvedDifferencesTitle }),
|
|
2993
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)("ul", { className: "list-disc pl-5 text-agg-sm leading-agg-5 text-agg-foreground", children: differences.map((difference) => /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("li", { children: difference }, difference)) })
|
|
2881
2994
|
] }),
|
|
2882
|
-
/* @__PURE__ */ (0,
|
|
2883
|
-
/* @__PURE__ */ (0,
|
|
2995
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)("div", { className: "h-px w-full bg-agg-separator" }),
|
|
2996
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)("div", { className: "flex flex-col gap-3", children: venues.map((venue) => {
|
|
2884
2997
|
var _a2, _b2;
|
|
2885
2998
|
const venueLabel = getTradingVenueLabel(venue.venue, venue.label);
|
|
2886
2999
|
const isExpanded = resolvedExpandedVenue === venue.venue;
|
|
@@ -2888,8 +3001,8 @@ var Settlement = ({
|
|
|
2888
3001
|
const isDescriptionOverflowing = !!overflowingDescriptionByVenue[venue.venue];
|
|
2889
3002
|
const shouldShowDescriptionCta = isExpanded && isDescriptionOverflowing && !isDescriptionExpanded;
|
|
2890
3003
|
const resolvedShowMoreLabel = (_a2 = venue.showMoreLabel) != null ? _a2 : "Show more";
|
|
2891
|
-
return /* @__PURE__ */ (0,
|
|
2892
|
-
/* @__PURE__ */ (0,
|
|
3004
|
+
return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("div", { className: "flex flex-col", children: [
|
|
3005
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(
|
|
2893
3006
|
"button",
|
|
2894
3007
|
{
|
|
2895
3008
|
type: "button",
|
|
@@ -2905,7 +3018,7 @@ var Settlement = ({
|
|
|
2905
3018
|
"aria-label": labels.trading.settlementDetailsAria(venueLabel),
|
|
2906
3019
|
onClick: () => handleVenueClick(venue.venue),
|
|
2907
3020
|
children: [
|
|
2908
|
-
/* @__PURE__ */ (0,
|
|
3021
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
2909
3022
|
VenueLogo,
|
|
2910
3023
|
{
|
|
2911
3024
|
venue: venue.venue,
|
|
@@ -2913,7 +3026,7 @@ var Settlement = ({
|
|
|
2913
3026
|
ariaLabel: venueLabel
|
|
2914
3027
|
}
|
|
2915
3028
|
),
|
|
2916
|
-
/* @__PURE__ */ (0,
|
|
3029
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
2917
3030
|
"span",
|
|
2918
3031
|
{
|
|
2919
3032
|
className: cn(
|
|
@@ -2923,7 +3036,7 @@ var Settlement = ({
|
|
|
2923
3036
|
children: venueLabel
|
|
2924
3037
|
}
|
|
2925
3038
|
),
|
|
2926
|
-
/* @__PURE__ */ (0,
|
|
3039
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
2927
3040
|
Icon,
|
|
2928
3041
|
{
|
|
2929
3042
|
name: isExpanded ? "chevron-up" : "chevron-down",
|
|
@@ -2935,7 +3048,7 @@ var Settlement = ({
|
|
|
2935
3048
|
]
|
|
2936
3049
|
}
|
|
2937
3050
|
),
|
|
2938
|
-
/* @__PURE__ */ (0,
|
|
3051
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
2939
3052
|
"div",
|
|
2940
3053
|
{
|
|
2941
3054
|
"aria-hidden": !isExpanded,
|
|
@@ -2948,17 +3061,17 @@ var Settlement = ({
|
|
|
2948
3061
|
"transition-[grid-template-rows,opacity,margin-top] duration-300 ease-in-out"
|
|
2949
3062
|
)
|
|
2950
3063
|
),
|
|
2951
|
-
children: /* @__PURE__ */ (0,
|
|
3064
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(
|
|
2952
3065
|
"div",
|
|
2953
3066
|
{
|
|
2954
3067
|
ref: (element) => handleDescriptionWrapperRef(venue.venue, element),
|
|
2955
3068
|
className: "relative min-h-0",
|
|
2956
3069
|
children: [
|
|
2957
|
-
/* @__PURE__ */ (0,
|
|
3070
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("p", { className: "min-h-0 text-agg-sm leading-agg-5 text-agg-foreground", children: [
|
|
2958
3071
|
isDescriptionExpanded || !isDescriptionOverflowing ? venue.description : (_b2 = collapsedDescriptionByVenue[venue.venue]) != null ? _b2 : venue.description,
|
|
2959
|
-
shouldShowDescriptionCta ? /* @__PURE__ */ (0,
|
|
3072
|
+
shouldShowDescriptionCta ? /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(import_jsx_runtime67.Fragment, { children: [
|
|
2960
3073
|
"... ",
|
|
2961
|
-
/* @__PURE__ */ (0,
|
|
3074
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
2962
3075
|
"button",
|
|
2963
3076
|
{
|
|
2964
3077
|
type: "button",
|
|
@@ -2981,7 +3094,7 @@ var Settlement = ({
|
|
|
2981
3094
|
)
|
|
2982
3095
|
] }) : null
|
|
2983
3096
|
] }),
|
|
2984
|
-
/* @__PURE__ */ (0,
|
|
3097
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
2985
3098
|
"p",
|
|
2986
3099
|
{
|
|
2987
3100
|
ref: (element) => handleDescriptionMeasureRef(venue.venue, element),
|
|
@@ -3003,7 +3116,7 @@ var Settlement = ({
|
|
|
3003
3116
|
Settlement.displayName = "Settlement";
|
|
3004
3117
|
|
|
3005
3118
|
// src/trading/place-order/index.tsx
|
|
3006
|
-
var
|
|
3119
|
+
var import_react5 = require("react");
|
|
3007
3120
|
var import_hooks14 = require("@agg-market/hooks");
|
|
3008
3121
|
|
|
3009
3122
|
// src/primitives/button/index.tsx
|
|
@@ -3054,7 +3167,7 @@ var baseButtonClasses = cn(
|
|
|
3054
3167
|
);
|
|
3055
3168
|
|
|
3056
3169
|
// src/primitives/button/index.tsx
|
|
3057
|
-
var
|
|
3170
|
+
var import_jsx_runtime68 = require("react/jsx-runtime");
|
|
3058
3171
|
var Button = (_a) => {
|
|
3059
3172
|
var _b = _a, {
|
|
3060
3173
|
children,
|
|
@@ -3081,7 +3194,7 @@ var Button = (_a) => {
|
|
|
3081
3194
|
]);
|
|
3082
3195
|
const { enableAnimations } = (0, import_hooks11.useSdkUiConfig)();
|
|
3083
3196
|
const isDisabled = disabled || isLoading;
|
|
3084
|
-
return /* @__PURE__ */ (0,
|
|
3197
|
+
return /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
|
|
3085
3198
|
"button",
|
|
3086
3199
|
__spreadProps(__spreadValues({
|
|
3087
3200
|
type,
|
|
@@ -3098,7 +3211,7 @@ var Button = (_a) => {
|
|
|
3098
3211
|
"aria-busy": isLoading,
|
|
3099
3212
|
"aria-label": ariaLabel
|
|
3100
3213
|
}, other), {
|
|
3101
|
-
children: isLoading ? /* @__PURE__ */ (0,
|
|
3214
|
+
children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
|
|
3102
3215
|
"span",
|
|
3103
3216
|
{
|
|
3104
3217
|
className: cn(
|
|
@@ -3108,9 +3221,9 @@ var Button = (_a) => {
|
|
|
3108
3221
|
),
|
|
3109
3222
|
"aria-hidden": "true"
|
|
3110
3223
|
}
|
|
3111
|
-
) : /* @__PURE__ */ (0,
|
|
3224
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(import_jsx_runtime68.Fragment, { children: [
|
|
3112
3225
|
prefix != null ? prefix : null,
|
|
3113
|
-
/* @__PURE__ */ (0,
|
|
3226
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)("span", { children }),
|
|
3114
3227
|
suffix != null ? suffix : null
|
|
3115
3228
|
] })
|
|
3116
3229
|
})
|
|
@@ -3119,7 +3232,7 @@ var Button = (_a) => {
|
|
|
3119
3232
|
Button.displayName = "Button";
|
|
3120
3233
|
|
|
3121
3234
|
// src/primitives/inline-alert/index.tsx
|
|
3122
|
-
var
|
|
3235
|
+
var import_jsx_runtime69 = require("react/jsx-runtime");
|
|
3123
3236
|
var toneIconName = {
|
|
3124
3237
|
error: "error-filled",
|
|
3125
3238
|
warning: "warning-filled"
|
|
@@ -3166,7 +3279,7 @@ var InlineAlert = ({
|
|
|
3166
3279
|
});
|
|
3167
3280
|
const hasAction = !!actionLabel && !!onAction;
|
|
3168
3281
|
const { ariaLive, role } = liveRegionConfig[tone];
|
|
3169
|
-
return /* @__PURE__ */ (0,
|
|
3282
|
+
return /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(
|
|
3170
3283
|
"div",
|
|
3171
3284
|
{
|
|
3172
3285
|
className: cn(
|
|
@@ -3179,7 +3292,7 @@ var InlineAlert = ({
|
|
|
3179
3292
|
"aria-live": ariaLive,
|
|
3180
3293
|
"aria-label": ariaLabel,
|
|
3181
3294
|
children: [
|
|
3182
|
-
/* @__PURE__ */ (0,
|
|
3295
|
+
/* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
|
3183
3296
|
Icon,
|
|
3184
3297
|
{
|
|
3185
3298
|
name: toneIconName[tone],
|
|
@@ -3187,14 +3300,14 @@ var InlineAlert = ({
|
|
|
3187
3300
|
"aria-hidden": "true"
|
|
3188
3301
|
}
|
|
3189
3302
|
),
|
|
3190
|
-
/* @__PURE__ */ (0,
|
|
3303
|
+
/* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
|
3191
3304
|
"div",
|
|
3192
3305
|
{
|
|
3193
3306
|
className: cn(
|
|
3194
3307
|
"min-w-0",
|
|
3195
3308
|
resolvedVariant === "plain" && !hasAction ? "flex-none text-center" : "flex-1"
|
|
3196
3309
|
),
|
|
3197
|
-
children: /* @__PURE__ */ (0,
|
|
3310
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(
|
|
3198
3311
|
"div",
|
|
3199
3312
|
{
|
|
3200
3313
|
className: cn(
|
|
@@ -3203,14 +3316,14 @@ var InlineAlert = ({
|
|
|
3203
3316
|
resolvedVariant === "plain" && !hasAction ? "items-center" : null
|
|
3204
3317
|
),
|
|
3205
3318
|
children: [
|
|
3206
|
-
title ? /* @__PURE__ */ (0,
|
|
3207
|
-
/* @__PURE__ */ (0,
|
|
3319
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("p", { className: "text-agg-sm font-agg-bold leading-agg-5 text-agg-foreground", children: title }) : null,
|
|
3320
|
+
/* @__PURE__ */ (0, import_jsx_runtime69.jsx)("p", { className: "text-agg-sm leading-agg-5 text-agg-foreground", children: message })
|
|
3208
3321
|
]
|
|
3209
3322
|
}
|
|
3210
3323
|
)
|
|
3211
3324
|
}
|
|
3212
3325
|
),
|
|
3213
|
-
hasAction ? /* @__PURE__ */ (0,
|
|
3326
|
+
hasAction ? /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
|
3214
3327
|
"button",
|
|
3215
3328
|
{
|
|
3216
3329
|
type: "button",
|
|
@@ -3230,13 +3343,13 @@ var InlineAlert = ({
|
|
|
3230
3343
|
InlineAlert.displayName = "InlineAlert";
|
|
3231
3344
|
|
|
3232
3345
|
// src/primitives/tabs/index.tsx
|
|
3233
|
-
var
|
|
3346
|
+
var import_react4 = require("react");
|
|
3234
3347
|
var import_hooks13 = require("@agg-market/hooks");
|
|
3235
3348
|
|
|
3236
3349
|
// src/primitives/select/index.tsx
|
|
3237
|
-
var
|
|
3350
|
+
var import_react3 = require("react");
|
|
3238
3351
|
var import_hooks12 = require("@agg-market/hooks");
|
|
3239
|
-
var
|
|
3352
|
+
var import_jsx_runtime70 = require("react/jsx-runtime");
|
|
3240
3353
|
var Select = ({
|
|
3241
3354
|
items,
|
|
3242
3355
|
value,
|
|
@@ -3250,10 +3363,10 @@ var Select = ({
|
|
|
3250
3363
|
const { enableAnimations } = (0, import_hooks12.useSdkUiConfig)();
|
|
3251
3364
|
const hasEnabledItems = items.some((item) => !item.disabled);
|
|
3252
3365
|
const hasAnyIcon = items.some((item) => item.iconUrl);
|
|
3253
|
-
const [isOpen, setIsOpen] = (0,
|
|
3254
|
-
const containerRef = (0,
|
|
3255
|
-
const close = (0,
|
|
3256
|
-
(0,
|
|
3366
|
+
const [isOpen, setIsOpen] = (0, import_react3.useState)(false);
|
|
3367
|
+
const containerRef = (0, import_react3.useRef)(null);
|
|
3368
|
+
const close = (0, import_react3.useCallback)(() => setIsOpen(false), []);
|
|
3369
|
+
(0, import_react3.useEffect)(() => {
|
|
3257
3370
|
if (!isOpen)
|
|
3258
3371
|
return;
|
|
3259
3372
|
const handlePointerDown = (e) => {
|
|
@@ -3264,7 +3377,7 @@ var Select = ({
|
|
|
3264
3377
|
document.addEventListener("mousedown", handlePointerDown);
|
|
3265
3378
|
return () => document.removeEventListener("mousedown", handlePointerDown);
|
|
3266
3379
|
}, [isOpen, close]);
|
|
3267
|
-
(0,
|
|
3380
|
+
(0, import_react3.useEffect)(() => {
|
|
3268
3381
|
if (!isOpen)
|
|
3269
3382
|
return;
|
|
3270
3383
|
const handleKey = (e) => {
|
|
@@ -3277,8 +3390,8 @@ var Select = ({
|
|
|
3277
3390
|
const isDisabled = disabled || !hasEnabledItems;
|
|
3278
3391
|
const selectedItem = items.find((item) => item.value === value);
|
|
3279
3392
|
if (!hasAnyIcon) {
|
|
3280
|
-
return /* @__PURE__ */ (0,
|
|
3281
|
-
/* @__PURE__ */ (0,
|
|
3393
|
+
return /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)("label", { className: cn("group/agg-select", "relative inline-flex w-full", className), children: [
|
|
3394
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
|
|
3282
3395
|
"select",
|
|
3283
3396
|
{
|
|
3284
3397
|
"aria-label": ariaLabel != null ? ariaLabel : labels.common.selectAria,
|
|
@@ -3294,19 +3407,19 @@ var Select = ({
|
|
|
3294
3407
|
disabled: isDisabled,
|
|
3295
3408
|
value,
|
|
3296
3409
|
onChange: (event) => onChange(event.target.value),
|
|
3297
|
-
children: items.map((item) => /* @__PURE__ */ (0,
|
|
3410
|
+
children: items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("option", { value: item.value, disabled: item.disabled, children: item.label }, item.value))
|
|
3298
3411
|
}
|
|
3299
3412
|
),
|
|
3300
|
-
/* @__PURE__ */ (0,
|
|
3413
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)("span", { className: "pointer-events-none absolute inset-y-0 right-3 inline-flex items-center justify-center text-agg-muted-foreground", children: /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(Icon, { name: "chevron-down", size: "small", color: "currentColor" }) })
|
|
3301
3414
|
] });
|
|
3302
3415
|
}
|
|
3303
|
-
return /* @__PURE__ */ (0,
|
|
3416
|
+
return /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)(
|
|
3304
3417
|
"div",
|
|
3305
3418
|
{
|
|
3306
3419
|
ref: containerRef,
|
|
3307
3420
|
className: cn("group/agg-select", "relative inline-flex w-full", className),
|
|
3308
3421
|
children: [
|
|
3309
|
-
/* @__PURE__ */ (0,
|
|
3422
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsxs)(
|
|
3310
3423
|
"button",
|
|
3311
3424
|
{
|
|
3312
3425
|
type: "button",
|
|
@@ -3326,20 +3439,20 @@ var Select = ({
|
|
|
3326
3439
|
),
|
|
3327
3440
|
onClick: () => setIsOpen((prev) => !prev),
|
|
3328
3441
|
children: [
|
|
3329
|
-
(selectedItem == null ? void 0 : selectedItem.iconUrl) ? /* @__PURE__ */ (0,
|
|
3330
|
-
|
|
3442
|
+
(selectedItem == null ? void 0 : selectedItem.iconUrl) ? /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
|
|
3443
|
+
RemoteImage,
|
|
3331
3444
|
{
|
|
3332
3445
|
src: selectedItem.iconUrl,
|
|
3333
3446
|
alt: "",
|
|
3334
3447
|
className: "h-4 w-4 shrink-0 rounded-sm object-contain"
|
|
3335
3448
|
}
|
|
3336
3449
|
) : null,
|
|
3337
|
-
/* @__PURE__ */ (0,
|
|
3450
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)("span", { className: "flex-1 truncate", children: (_a = selectedItem == null ? void 0 : selectedItem.label) != null ? _a : "" })
|
|
3338
3451
|
]
|
|
3339
3452
|
}
|
|
3340
3453
|
),
|
|
3341
|
-
/* @__PURE__ */ (0,
|
|
3342
|
-
isOpen ? /* @__PURE__ */ (0,
|
|
3454
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)("span", { className: "pointer-events-none absolute inset-y-0 right-3 inline-flex items-center justify-center text-agg-muted-foreground", children: /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(Icon, { name: "chevron-down", size: "small", color: "currentColor" }) }),
|
|
3455
|
+
isOpen ? /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
|
|
3343
3456
|
"div",
|
|
3344
3457
|
{
|
|
3345
3458
|
role: "listbox",
|
|
@@ -3347,7 +3460,7 @@ var Select = ({
|
|
|
3347
3460
|
className: "absolute top-full left-0 z-50 mt-1 w-full overflow-hidden rounded-agg-md border border-agg-separator bg-agg-secondary shadow-lg",
|
|
3348
3461
|
children: items.map((item) => {
|
|
3349
3462
|
const isSelected = item.value === value;
|
|
3350
|
-
return /* @__PURE__ */ (0,
|
|
3463
|
+
return /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)(
|
|
3351
3464
|
"button",
|
|
3352
3465
|
{
|
|
3353
3466
|
type: "button",
|
|
@@ -3367,15 +3480,15 @@ var Select = ({
|
|
|
3367
3480
|
}
|
|
3368
3481
|
},
|
|
3369
3482
|
children: [
|
|
3370
|
-
item.iconUrl ? /* @__PURE__ */ (0,
|
|
3371
|
-
|
|
3483
|
+
item.iconUrl ? /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
|
|
3484
|
+
RemoteImage,
|
|
3372
3485
|
{
|
|
3373
3486
|
src: item.iconUrl,
|
|
3374
3487
|
alt: "",
|
|
3375
3488
|
className: "h-4 w-4 shrink-0 rounded-sm object-contain"
|
|
3376
3489
|
}
|
|
3377
3490
|
) : null,
|
|
3378
|
-
/* @__PURE__ */ (0,
|
|
3491
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)("span", { className: "truncate", children: item.label })
|
|
3379
3492
|
]
|
|
3380
3493
|
},
|
|
3381
3494
|
item.value
|
|
@@ -3414,7 +3527,7 @@ var findEdgeEnabledIndex = (items, direction) => {
|
|
|
3414
3527
|
};
|
|
3415
3528
|
|
|
3416
3529
|
// src/primitives/tabs/index.tsx
|
|
3417
|
-
var
|
|
3530
|
+
var import_jsx_runtime71 = require("react/jsx-runtime");
|
|
3418
3531
|
var mobileTabsMediaQuery = "(max-width: 512px)";
|
|
3419
3532
|
var getTabButtonClassName = ({
|
|
3420
3533
|
enableAnimations,
|
|
@@ -3456,8 +3569,8 @@ var Tabs = ({
|
|
|
3456
3569
|
}) => {
|
|
3457
3570
|
const labels = (0, import_hooks13.useLabels)();
|
|
3458
3571
|
const { enableAnimations } = (0, import_hooks13.useSdkUiConfig)();
|
|
3459
|
-
const buttonRefs = (0,
|
|
3460
|
-
const dragStateRef = (0,
|
|
3572
|
+
const buttonRefs = (0, import_react4.useRef)([]);
|
|
3573
|
+
const dragStateRef = (0, import_react4.useRef)({
|
|
3461
3574
|
isPointerDown: false,
|
|
3462
3575
|
isDragging: false,
|
|
3463
3576
|
pointerId: null,
|
|
@@ -3465,22 +3578,22 @@ var Tabs = ({
|
|
|
3465
3578
|
startClientY: 0,
|
|
3466
3579
|
startScrollLeft: 0
|
|
3467
3580
|
});
|
|
3468
|
-
const suppressClickRef = (0,
|
|
3581
|
+
const suppressClickRef = (0, import_react4.useRef)(false);
|
|
3469
3582
|
const resolvedAriaLabel = ariaLabel != null ? ariaLabel : labels.common.tabsAria;
|
|
3470
|
-
const [isMobileViewport, setIsMobileViewport] = (0,
|
|
3471
|
-
const [isDraggingTabs, setIsDraggingTabs] = (0,
|
|
3472
|
-
const [activeUnderlineStyle, setActiveUnderlineStyle] = (0,
|
|
3583
|
+
const [isMobileViewport, setIsMobileViewport] = (0, import_react4.useState)(false);
|
|
3584
|
+
const [isDraggingTabs, setIsDraggingTabs] = (0, import_react4.useState)(false);
|
|
3585
|
+
const [activeUnderlineStyle, setActiveUnderlineStyle] = (0, import_react4.useState)({
|
|
3473
3586
|
transform: "translateX(0px)",
|
|
3474
3587
|
width: 0,
|
|
3475
3588
|
opacity: 0
|
|
3476
3589
|
});
|
|
3477
|
-
const [scrollAffordanceState, setScrollAffordanceState] = (0,
|
|
3590
|
+
const [scrollAffordanceState, setScrollAffordanceState] = (0, import_react4.useState)({
|
|
3478
3591
|
showStart: false,
|
|
3479
3592
|
showEnd: false
|
|
3480
3593
|
});
|
|
3481
|
-
const tabListRef = (0,
|
|
3594
|
+
const tabListRef = (0, import_react4.useRef)(null);
|
|
3482
3595
|
const isBarVariant = variant === "bar";
|
|
3483
|
-
const resolvedOverflowBehavior = (0,
|
|
3596
|
+
const resolvedOverflowBehavior = (0, import_react4.useMemo)(() => {
|
|
3484
3597
|
if (overflowBehavior)
|
|
3485
3598
|
return overflowBehavior;
|
|
3486
3599
|
if (!isBarVariant)
|
|
@@ -3489,7 +3602,7 @@ var Tabs = ({
|
|
|
3489
3602
|
}, [isBarVariant, isMobileViewport, overflowBehavior]);
|
|
3490
3603
|
const shouldUseOverflowScroll = resolvedOverflowBehavior === "scroll";
|
|
3491
3604
|
const shouldUseOverflowSelect = resolvedOverflowBehavior === "select";
|
|
3492
|
-
(0,
|
|
3605
|
+
(0, import_react4.useEffect)(() => {
|
|
3493
3606
|
if (typeof window === "undefined")
|
|
3494
3607
|
return;
|
|
3495
3608
|
const mediaQueryList = window.matchMedia(mobileTabsMediaQuery);
|
|
@@ -3508,7 +3621,7 @@ var Tabs = ({
|
|
|
3508
3621
|
mediaQueryList.removeListener(handleMediaQueryChange);
|
|
3509
3622
|
};
|
|
3510
3623
|
}, []);
|
|
3511
|
-
const updateScrollAffordances = (0,
|
|
3624
|
+
const updateScrollAffordances = (0, import_react4.useCallback)(() => {
|
|
3512
3625
|
if (!shouldUseOverflowScroll) {
|
|
3513
3626
|
setScrollAffordanceState({
|
|
3514
3627
|
showStart: false,
|
|
@@ -3526,7 +3639,7 @@ var Tabs = ({
|
|
|
3526
3639
|
});
|
|
3527
3640
|
}, [shouldUseOverflowScroll]);
|
|
3528
3641
|
const renderedItems = items;
|
|
3529
|
-
const selectItems = (0,
|
|
3642
|
+
const selectItems = (0, import_react4.useMemo)(() => {
|
|
3530
3643
|
return items.map((item) => ({
|
|
3531
3644
|
value: item.value,
|
|
3532
3645
|
label: item.label,
|
|
@@ -3677,7 +3790,7 @@ var Tabs = ({
|
|
|
3677
3790
|
event == null ? void 0 : event.stopPropagation();
|
|
3678
3791
|
suppressClickRef.current = false;
|
|
3679
3792
|
};
|
|
3680
|
-
const updateActiveUnderline = (0,
|
|
3793
|
+
const updateActiveUnderline = (0, import_react4.useCallback)(() => {
|
|
3681
3794
|
if (isBarVariant) {
|
|
3682
3795
|
setActiveUnderlineStyle({
|
|
3683
3796
|
transform: "translateX(0px)",
|
|
@@ -3700,10 +3813,10 @@ var Tabs = ({
|
|
|
3700
3813
|
opacity: 1
|
|
3701
3814
|
});
|
|
3702
3815
|
}, [isBarVariant, renderedItems, value]);
|
|
3703
|
-
(0,
|
|
3816
|
+
(0, import_react4.useLayoutEffect)(() => {
|
|
3704
3817
|
updateActiveUnderline();
|
|
3705
3818
|
}, [updateActiveUnderline]);
|
|
3706
|
-
(0,
|
|
3819
|
+
(0, import_react4.useEffect)(() => {
|
|
3707
3820
|
if (isBarVariant || !shouldUseOverflowScroll)
|
|
3708
3821
|
return;
|
|
3709
3822
|
const tabListElement = tabListRef.current;
|
|
@@ -3719,12 +3832,12 @@ var Tabs = ({
|
|
|
3719
3832
|
tabListElement.removeEventListener("scroll", handleScroll);
|
|
3720
3833
|
};
|
|
3721
3834
|
}, [isBarVariant, shouldUseOverflowScroll, updateActiveUnderline, updateScrollAffordances]);
|
|
3722
|
-
(0,
|
|
3835
|
+
(0, import_react4.useEffect)(() => {
|
|
3723
3836
|
if (!shouldUseOverflowScroll)
|
|
3724
3837
|
return;
|
|
3725
3838
|
updateScrollAffordances();
|
|
3726
3839
|
}, [renderedItems, shouldUseOverflowScroll, updateScrollAffordances, value]);
|
|
3727
|
-
(0,
|
|
3840
|
+
(0, import_react4.useEffect)(() => {
|
|
3728
3841
|
if (isBarVariant && !shouldUseOverflowScroll)
|
|
3729
3842
|
return;
|
|
3730
3843
|
if (typeof ResizeObserver === "undefined")
|
|
@@ -3741,7 +3854,7 @@ var Tabs = ({
|
|
|
3741
3854
|
resizeObserver.disconnect();
|
|
3742
3855
|
};
|
|
3743
3856
|
}, [isBarVariant, shouldUseOverflowScroll, updateActiveUnderline, updateScrollAffordances]);
|
|
3744
|
-
(0,
|
|
3857
|
+
(0, import_react4.useEffect)(() => {
|
|
3745
3858
|
if (!shouldUseOverflowScroll)
|
|
3746
3859
|
return;
|
|
3747
3860
|
const tabListElement = tabListRef.current;
|
|
@@ -3771,7 +3884,7 @@ var Tabs = ({
|
|
|
3771
3884
|
});
|
|
3772
3885
|
}, [enableAnimations, renderedItems, shouldUseOverflowScroll, value]);
|
|
3773
3886
|
if (shouldUseOverflowSelect) {
|
|
3774
|
-
return /* @__PURE__ */ (0,
|
|
3887
|
+
return /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("div", { className: cn("w-full", className, classNames == null ? void 0 : classNames.root), children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
|
|
3775
3888
|
Select,
|
|
3776
3889
|
{
|
|
3777
3890
|
ariaLabel,
|
|
@@ -3783,7 +3896,7 @@ var Tabs = ({
|
|
|
3783
3896
|
}
|
|
3784
3897
|
) });
|
|
3785
3898
|
}
|
|
3786
|
-
return /* @__PURE__ */ (0,
|
|
3899
|
+
return /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(
|
|
3787
3900
|
"div",
|
|
3788
3901
|
{
|
|
3789
3902
|
className: cn(
|
|
@@ -3794,7 +3907,7 @@ var Tabs = ({
|
|
|
3794
3907
|
classNames == null ? void 0 : classNames.root
|
|
3795
3908
|
),
|
|
3796
3909
|
children: [
|
|
3797
|
-
/* @__PURE__ */ (0,
|
|
3910
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(
|
|
3798
3911
|
"div",
|
|
3799
3912
|
{
|
|
3800
3913
|
ref: tabListRef,
|
|
@@ -3810,7 +3923,7 @@ var Tabs = ({
|
|
|
3810
3923
|
children: [
|
|
3811
3924
|
renderedItems.map((item, index) => {
|
|
3812
3925
|
const isActive = item.value === value;
|
|
3813
|
-
return /* @__PURE__ */ (0,
|
|
3926
|
+
return /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(
|
|
3814
3927
|
"button",
|
|
3815
3928
|
{
|
|
3816
3929
|
ref: (buttonElement) => {
|
|
@@ -3839,7 +3952,7 @@ var Tabs = ({
|
|
|
3839
3952
|
shouldUseOverflowScroll && !isBarVariant && "snap-start"
|
|
3840
3953
|
),
|
|
3841
3954
|
children: [
|
|
3842
|
-
isBarVariant ? /* @__PURE__ */ (0,
|
|
3955
|
+
isBarVariant ? /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(import_jsx_runtime71.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
|
|
3843
3956
|
"span",
|
|
3844
3957
|
{
|
|
3845
3958
|
"aria-hidden": true,
|
|
@@ -3853,14 +3966,14 @@ var Tabs = ({
|
|
|
3853
3966
|
)
|
|
3854
3967
|
}
|
|
3855
3968
|
) }) : null,
|
|
3856
|
-
item.icon ? /* @__PURE__ */ (0,
|
|
3857
|
-
/* @__PURE__ */ (0,
|
|
3969
|
+
item.icon ? /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("span", { className: "relative z-10 inline-flex shrink-0 items-center justify-center", children: item.icon }) : null,
|
|
3970
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)("span", { className: "relative z-10 truncate whitespace-nowrap [&::first-letter]:uppercase", children: item.label })
|
|
3858
3971
|
]
|
|
3859
3972
|
},
|
|
3860
3973
|
item.value
|
|
3861
3974
|
);
|
|
3862
3975
|
}),
|
|
3863
|
-
!isBarVariant ? /* @__PURE__ */ (0,
|
|
3976
|
+
!isBarVariant ? /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
|
|
3864
3977
|
"span",
|
|
3865
3978
|
{
|
|
3866
3979
|
"aria-hidden": true,
|
|
@@ -3878,8 +3991,8 @@ var Tabs = ({
|
|
|
3878
3991
|
]
|
|
3879
3992
|
}
|
|
3880
3993
|
),
|
|
3881
|
-
shouldUseOverflowScroll && !isBarVariant ? /* @__PURE__ */ (0,
|
|
3882
|
-
/* @__PURE__ */ (0,
|
|
3994
|
+
shouldUseOverflowScroll && !isBarVariant ? /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(import_jsx_runtime71.Fragment, { children: [
|
|
3995
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
|
|
3883
3996
|
"span",
|
|
3884
3997
|
{
|
|
3885
3998
|
"aria-hidden": true,
|
|
@@ -3890,7 +4003,7 @@ var Tabs = ({
|
|
|
3890
4003
|
)
|
|
3891
4004
|
}
|
|
3892
4005
|
),
|
|
3893
|
-
/* @__PURE__ */ (0,
|
|
4006
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
|
|
3894
4007
|
"span",
|
|
3895
4008
|
{
|
|
3896
4009
|
"aria-hidden": true,
|
|
@@ -3909,7 +4022,7 @@ var Tabs = ({
|
|
|
3909
4022
|
Tabs.displayName = "Tabs";
|
|
3910
4023
|
|
|
3911
4024
|
// src/trading/place-order/index.tsx
|
|
3912
|
-
var
|
|
4025
|
+
var import_jsx_runtime72 = require("react/jsx-runtime");
|
|
3913
4026
|
var getPlaceOrderContainerClassName = () => {
|
|
3914
4027
|
return "overflow-hidden rounded-agg-xl border border-agg-border bg-agg-secondary shadow-none hover:shadow-none";
|
|
3915
4028
|
};
|
|
@@ -3952,9 +4065,9 @@ var getStatusContent = ({
|
|
|
3952
4065
|
if (!status || status.placement !== placement)
|
|
3953
4066
|
return null;
|
|
3954
4067
|
if (status.tone === "warning") {
|
|
3955
|
-
return /* @__PURE__ */ (0,
|
|
4068
|
+
return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(InlineAlert, { tone: "warning", message: status.message });
|
|
3956
4069
|
}
|
|
3957
|
-
return /* @__PURE__ */ (0,
|
|
4070
|
+
return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
|
|
3958
4071
|
InlineAlert,
|
|
3959
4072
|
{
|
|
3960
4073
|
tone: "error",
|
|
@@ -3994,7 +4107,7 @@ var PlaceOrder = ({
|
|
|
3994
4107
|
const labels = (0, import_hooks14.useLabels)();
|
|
3995
4108
|
const resolvedDisclaimer = disclaimer === defaultTradingDisclaimer ? labels.trading.disclaimer : disclaimer;
|
|
3996
4109
|
if (isLoading) {
|
|
3997
|
-
return /* @__PURE__ */ (0,
|
|
4110
|
+
return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
|
|
3998
4111
|
Skeleton,
|
|
3999
4112
|
{
|
|
4000
4113
|
ariaLabel: labels.common.loading,
|
|
@@ -4003,19 +4116,19 @@ var PlaceOrder = ({
|
|
|
4003
4116
|
}
|
|
4004
4117
|
);
|
|
4005
4118
|
}
|
|
4006
|
-
const [internalTab, setInternalTab] = (0,
|
|
4007
|
-
const [internalOutcomeId, setInternalOutcomeId] = (0,
|
|
4008
|
-
(0,
|
|
4119
|
+
const [internalTab, setInternalTab] = (0, import_react5.useState)(activeTab);
|
|
4120
|
+
const [internalOutcomeId, setInternalOutcomeId] = (0, import_react5.useState)(selectedOutcomeId);
|
|
4121
|
+
(0, import_react5.useEffect)(() => {
|
|
4009
4122
|
setInternalTab(activeTab);
|
|
4010
4123
|
}, [activeTab]);
|
|
4011
|
-
(0,
|
|
4124
|
+
(0, import_react5.useEffect)(() => {
|
|
4012
4125
|
setInternalOutcomeId(selectedOutcomeId);
|
|
4013
4126
|
}, [selectedOutcomeId]);
|
|
4014
4127
|
const resolvedTab = onTabChange ? activeTab : internalTab;
|
|
4015
4128
|
const resolvedOutcomeId = onOutcomeChange ? selectedOutcomeId : internalOutcomeId;
|
|
4016
4129
|
const hasHighlightedRouting = routing.tone === "highlighted";
|
|
4017
4130
|
const dateLabel = getTradingDateLabel(marketDate);
|
|
4018
|
-
const tabItems = (0,
|
|
4131
|
+
const tabItems = (0, import_react5.useMemo)(() => {
|
|
4019
4132
|
return [
|
|
4020
4133
|
{ value: "buy", label: buyLabel },
|
|
4021
4134
|
{ value: "sell", label: sellLabel }
|
|
@@ -4033,7 +4146,7 @@ var PlaceOrder = ({
|
|
|
4033
4146
|
}
|
|
4034
4147
|
onOutcomeChange == null ? void 0 : onOutcomeChange(nextOutcomeId);
|
|
4035
4148
|
};
|
|
4036
|
-
const actionButton = /* @__PURE__ */ (0,
|
|
4149
|
+
const actionButton = /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
|
|
4037
4150
|
Button,
|
|
4038
4151
|
{
|
|
4039
4152
|
size: "large",
|
|
@@ -4045,28 +4158,28 @@ var PlaceOrder = ({
|
|
|
4045
4158
|
children: actionLabel
|
|
4046
4159
|
}
|
|
4047
4160
|
);
|
|
4048
|
-
const contentBody = /* @__PURE__ */ (0,
|
|
4049
|
-
/* @__PURE__ */ (0,
|
|
4050
|
-
/* @__PURE__ */ (0,
|
|
4051
|
-
/* @__PURE__ */ (0,
|
|
4052
|
-
marketImageUrl ? /* @__PURE__ */ (0,
|
|
4053
|
-
|
|
4161
|
+
const contentBody = /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)("div", { className: "flex flex-col gap-6 p-5", children: [
|
|
4162
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsxs)("div", { className: "flex flex-col gap-2", children: [
|
|
4163
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsxs)("div", { className: "flex items-start justify-between gap-5", children: [
|
|
4164
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsxs)("div", { className: "flex min-w-0 flex-1 items-center gap-3", children: [
|
|
4165
|
+
marketImageUrl ? /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
|
|
4166
|
+
RemoteImage,
|
|
4054
4167
|
{
|
|
4055
4168
|
src: marketImageUrl,
|
|
4056
4169
|
alt: "",
|
|
4057
4170
|
className: "h-12 w-12 shrink-0 rounded-agg-lg object-cover"
|
|
4058
4171
|
}
|
|
4059
4172
|
) : null,
|
|
4060
|
-
/* @__PURE__ */ (0,
|
|
4173
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsx)("p", { className: "min-w-0 text-agg-base font-agg-bold leading-agg-6 text-agg-foreground", children: title })
|
|
4061
4174
|
] }),
|
|
4062
|
-
isDismissible ? /* @__PURE__ */ (0,
|
|
4175
|
+
isDismissible ? /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
|
|
4063
4176
|
"button",
|
|
4064
4177
|
{
|
|
4065
4178
|
type: "button",
|
|
4066
4179
|
"aria-label": labels.common.close,
|
|
4067
4180
|
className: "shrink-0 text-agg-foreground",
|
|
4068
4181
|
onClick: onClose,
|
|
4069
|
-
children: /* @__PURE__ */ (0,
|
|
4182
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
|
|
4070
4183
|
Icon,
|
|
4071
4184
|
{
|
|
4072
4185
|
name: "close",
|
|
@@ -4078,9 +4191,9 @@ var PlaceOrder = ({
|
|
|
4078
4191
|
}
|
|
4079
4192
|
) : null
|
|
4080
4193
|
] }),
|
|
4081
|
-
/* @__PURE__ */ (0,
|
|
4194
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsx)("p", { className: "text-agg-base leading-agg-6 text-agg-foreground", children: dateLabel })
|
|
4082
4195
|
] }),
|
|
4083
|
-
/* @__PURE__ */ (0,
|
|
4196
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
|
|
4084
4197
|
Tabs,
|
|
4085
4198
|
{
|
|
4086
4199
|
ariaLabel: labels.common.tabsAria,
|
|
@@ -4096,11 +4209,11 @@ var PlaceOrder = ({
|
|
|
4096
4209
|
}
|
|
4097
4210
|
}
|
|
4098
4211
|
),
|
|
4099
|
-
/* @__PURE__ */ (0,
|
|
4100
|
-
/* @__PURE__ */ (0,
|
|
4212
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsxs)("div", { className: "flex flex-col gap-4", children: [
|
|
4213
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsx)("div", { className: "flex w-full gap-2", children: outcomes.map((outcome, index) => {
|
|
4101
4214
|
const isActive = outcome.id === resolvedOutcomeId;
|
|
4102
4215
|
const isPositive = resolveIsPositiveOutcome(outcome, index);
|
|
4103
|
-
return /* @__PURE__ */ (0,
|
|
4216
|
+
return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
|
|
4104
4217
|
"button",
|
|
4105
4218
|
{
|
|
4106
4219
|
type: "button",
|
|
@@ -4117,16 +4230,16 @@ var PlaceOrder = ({
|
|
|
4117
4230
|
outcome.id
|
|
4118
4231
|
);
|
|
4119
4232
|
}) }),
|
|
4120
|
-
/* @__PURE__ */ (0,
|
|
4121
|
-
/* @__PURE__ */ (0,
|
|
4122
|
-
/* @__PURE__ */ (0,
|
|
4123
|
-
/* @__PURE__ */ (0,
|
|
4233
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsxs)("div", { className: "flex items-center justify-between gap-4", children: [
|
|
4234
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsxs)("div", { className: "flex flex-col", children: [
|
|
4235
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsx)("p", { className: "text-agg-base font-agg-bold leading-agg-6 text-agg-foreground", children: primaryMetric.label }),
|
|
4236
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsx)("p", { className: "text-agg-sm leading-agg-5 text-agg-muted-foreground", children: primaryMetric.hint })
|
|
4124
4237
|
] }),
|
|
4125
|
-
/* @__PURE__ */ (0,
|
|
4238
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsx)("p", { className: "text-agg-3xl font-agg-bold leading-agg-9 text-agg-foreground", children: primaryMetric.value })
|
|
4126
4239
|
] })
|
|
4127
4240
|
] }),
|
|
4128
|
-
/* @__PURE__ */ (0,
|
|
4129
|
-
/* @__PURE__ */ (0,
|
|
4241
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsxs)("div", { className: "flex flex-col gap-2", children: [
|
|
4242
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(
|
|
4130
4243
|
"div",
|
|
4131
4244
|
{
|
|
4132
4245
|
className: cn(
|
|
@@ -4134,7 +4247,7 @@ var PlaceOrder = ({
|
|
|
4134
4247
|
getRoutingCardClassName(hasHighlightedRouting)
|
|
4135
4248
|
),
|
|
4136
4249
|
children: [
|
|
4137
|
-
/* @__PURE__ */ (0,
|
|
4250
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
|
|
4138
4251
|
"div",
|
|
4139
4252
|
{
|
|
4140
4253
|
className: cn(
|
|
@@ -4143,11 +4256,11 @@ var PlaceOrder = ({
|
|
|
4143
4256
|
)
|
|
4144
4257
|
}
|
|
4145
4258
|
),
|
|
4146
|
-
/* @__PURE__ */ (0,
|
|
4147
|
-
routing.rows.map((row, index) => /* @__PURE__ */ (0,
|
|
4148
|
-
/* @__PURE__ */ (0,
|
|
4149
|
-
/* @__PURE__ */ (0,
|
|
4150
|
-
/* @__PURE__ */ (0,
|
|
4259
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsxs)("div", { className: "relative flex flex-col gap-3", children: [
|
|
4260
|
+
routing.rows.map((row, index) => /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)("div", { className: "flex flex-col gap-3", children: [
|
|
4261
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsxs)("div", { className: "flex items-center justify-between gap-4", children: [
|
|
4262
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsxs)("div", { className: "flex min-w-0 items-center gap-2", children: [
|
|
4263
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
|
|
4151
4264
|
VenueLogo,
|
|
4152
4265
|
{
|
|
4153
4266
|
venue: row.venue,
|
|
@@ -4155,11 +4268,11 @@ var PlaceOrder = ({
|
|
|
4155
4268
|
ariaLabel: getTradingVenueLabel(row.venue)
|
|
4156
4269
|
}
|
|
4157
4270
|
),
|
|
4158
|
-
/* @__PURE__ */ (0,
|
|
4271
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsx)("p", { className: "truncate text-agg-base leading-agg-6 text-agg-foreground", children: row.label })
|
|
4159
4272
|
] }),
|
|
4160
|
-
/* @__PURE__ */ (0,
|
|
4273
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsx)("p", { className: "shrink-0 text-agg-base leading-agg-6 text-agg-foreground", children: row.priceLabel })
|
|
4161
4274
|
] }),
|
|
4162
|
-
index < routing.rows.length - 1 ? /* @__PURE__ */ (0,
|
|
4275
|
+
index < routing.rows.length - 1 ? /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
|
|
4163
4276
|
"div",
|
|
4164
4277
|
{
|
|
4165
4278
|
className: cn(
|
|
@@ -4169,19 +4282,19 @@ var PlaceOrder = ({
|
|
|
4169
4282
|
}
|
|
4170
4283
|
) : null
|
|
4171
4284
|
] }, `${row.venue}-${row.label}`)),
|
|
4172
|
-
routing.highlightLabel ? /* @__PURE__ */ (0,
|
|
4285
|
+
routing.highlightLabel ? /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("p", { className: "text-center text-agg-sm font-agg-bold leading-agg-5 uppercase text-agg-trade-highlight-accent", children: routing.highlightLabel }) : null
|
|
4173
4286
|
] })
|
|
4174
4287
|
]
|
|
4175
4288
|
}
|
|
4176
4289
|
),
|
|
4177
|
-
/* @__PURE__ */ (0,
|
|
4290
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsx)("p", { className: "text-agg-sm leading-agg-5 text-agg-muted-foreground", children: routing.helperLabel })
|
|
4178
4291
|
] }),
|
|
4179
|
-
/* @__PURE__ */ (0,
|
|
4180
|
-
/* @__PURE__ */ (0,
|
|
4181
|
-
/* @__PURE__ */ (0,
|
|
4182
|
-
/* @__PURE__ */ (0,
|
|
4292
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsxs)("div", { className: "flex items-center justify-between gap-4", children: [
|
|
4293
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsxs)("div", { className: "flex flex-col", children: [
|
|
4294
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsx)("p", { className: "text-agg-base font-agg-bold leading-agg-6 text-agg-foreground", children: result.label }),
|
|
4295
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsx)("p", { className: "text-agg-sm leading-agg-5 text-agg-muted-foreground", children: result.hint })
|
|
4183
4296
|
] }),
|
|
4184
|
-
/* @__PURE__ */ (0,
|
|
4297
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
|
|
4185
4298
|
"p",
|
|
4186
4299
|
{
|
|
4187
4300
|
className: cn(
|
|
@@ -4192,7 +4305,7 @@ var PlaceOrder = ({
|
|
|
4192
4305
|
}
|
|
4193
4306
|
)
|
|
4194
4307
|
] }),
|
|
4195
|
-
/* @__PURE__ */ (0,
|
|
4308
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(import_jsx_runtime72.Fragment, { children: [
|
|
4196
4309
|
getStatusContent({
|
|
4197
4310
|
placement: "above-action",
|
|
4198
4311
|
status,
|
|
@@ -4205,9 +4318,9 @@ var PlaceOrder = ({
|
|
|
4205
4318
|
onStatusAction
|
|
4206
4319
|
})
|
|
4207
4320
|
] }),
|
|
4208
|
-
/* @__PURE__ */ (0,
|
|
4321
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsx)("p", { className: "text-center text-agg-xs leading-agg-4 text-agg-muted-foreground", children: resolvedDisclaimer })
|
|
4209
4322
|
] });
|
|
4210
|
-
return /* @__PURE__ */ (0,
|
|
4323
|
+
return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(Card, { className: cn(getPlaceOrderContainerClassName(), className), children: contentBody });
|
|
4211
4324
|
};
|
|
4212
4325
|
PlaceOrder.displayName = "PlaceOrder";
|
|
4213
4326
|
// Annotate the CommonJS export names for ESM import in node:
|