@agg-build/ui 1.2.11 → 1.2.12
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-J7K2U44E.mjs → chunk-3JXBOU24.mjs} +110 -60
- package/dist/{chunk-3ZSNHGAB.mjs → chunk-4WBQTUPW.mjs} +314 -58
- package/dist/{chunk-54PCEK6G.mjs → chunk-IBOE7DRY.mjs} +1 -1
- package/dist/{chunk-YP75TIY6.mjs → chunk-J6WELNCX.mjs} +3 -3
- package/dist/{chunk-ENAGASVU.mjs → chunk-U55T5BPE.mjs} +406 -337
- package/dist/{chunk-SJLHOAKK.mjs → chunk-X3KCFWXN.mjs} +936 -650
- package/dist/{chunk-NWJHFGBZ.mjs → chunk-YSW4ULL5.mjs} +1 -1
- package/dist/events.js +1593 -886
- package/dist/events.mjs +3 -3
- package/dist/index.js +4211 -3198
- package/dist/index.mjs +480 -105
- package/dist/modals.js +1164 -923
- package/dist/modals.mjs +3 -3
- package/dist/pages.js +1975 -1492
- package/dist/pages.mjs +6 -6
- package/dist/primitives.js +928 -649
- package/dist/primitives.mjs +1 -1
- package/dist/styles.css +1 -1
- package/dist/tailwind.css +1 -1
- package/dist/trading.js +641 -444
- package/dist/trading.mjs +4 -4
- package/dist/types/agg-provider.d.mts +27 -0
- package/dist/types/agg-provider.d.ts +27 -0
- package/dist/types/events/list/event-list-tabs.d.mts +6 -1
- package/dist/types/events/list/event-list-tabs.d.ts +6 -1
- package/dist/types/index.d.mts +2 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/notifications/agg-notification-events-provider.d.mts +35 -0
- package/dist/types/notifications/agg-notification-events-provider.d.ts +35 -0
- package/dist/types/notifications/agg-toast-provider.d.mts +27 -0
- package/dist/types/notifications/agg-toast-provider.d.ts +27 -0
- package/dist/types/notifications/deposit-notification-events.d.mts +10 -0
- package/dist/types/notifications/deposit-notification-events.d.ts +10 -0
- package/dist/types/notifications/index.d.mts +2 -0
- package/dist/types/notifications/index.d.ts +2 -0
- package/dist/types/primitives/button/button.types.d.mts +4 -0
- package/dist/types/primitives/button/button.types.d.ts +4 -0
- package/dist/types/primitives/button/index.d.mts +1 -1
- package/dist/types/primitives/button/index.d.ts +1 -1
- package/dist/types/primitives/icon/registry.d.mts +16 -0
- package/dist/types/primitives/icon/registry.d.ts +16 -0
- package/dist/types/primitives/icon/svg/sort-end-date.d.mts +5 -0
- package/dist/types/primitives/icon/svg/sort-end-date.d.ts +5 -0
- package/dist/types/primitives/icon/svg/sort-top-arbitrage.d.mts +5 -0
- package/dist/types/primitives/icon/svg/sort-top-arbitrage.d.ts +5 -0
- package/dist/types/primitives/icon/svg/sort-volume-24hr.d.mts +5 -0
- package/dist/types/primitives/icon/svg/sort-volume-24hr.d.ts +5 -0
- package/dist/types/primitives/icon/svg/sort-volume.d.mts +5 -0
- package/dist/types/primitives/icon/svg/sort-volume.d.ts +5 -0
- package/dist/types/primitives/select/index.d.mts +1 -1
- package/dist/types/primitives/select/index.d.ts +1 -1
- package/dist/types/primitives/select/select.types.d.mts +9 -0
- package/dist/types/primitives/select/select.types.d.ts +9 -0
- package/dist/types/primitives/toast/toast.types.d.mts +3 -0
- package/dist/types/primitives/toast/toast.types.d.ts +3 -0
- package/dist/types/profile/index.d.mts +1 -1
- package/dist/types/profile/index.d.ts +1 -1
- package/dist/types/profile/profile-modal.constants.d.mts +2 -2
- package/dist/types/profile/profile-modal.constants.d.ts +2 -2
- package/dist/types/profile/tabs/accounts-wallets-tab.d.mts +2 -17
- package/dist/types/profile/tabs/accounts-wallets-tab.d.ts +2 -17
- package/dist/types/profile/tabs/trading-access-tab.d.mts +15 -0
- package/dist/types/profile/tabs/trading-access-tab.d.ts +15 -0
- package/dist/types/trading/place-order/index.place-order.utils.d.mts +1 -1
- package/dist/types/trading/place-order/index.place-order.utils.d.ts +1 -1
- package/package.json +2 -2
|
@@ -2288,11 +2288,142 @@ var SolanaIcon = (_a) => {
|
|
|
2288
2288
|
};
|
|
2289
2289
|
SolanaIcon.displayName = "SolanaIcon";
|
|
2290
2290
|
|
|
2291
|
-
// src/primitives/icon/svg/
|
|
2291
|
+
// src/primitives/icon/svg/sort-end-date.tsx
|
|
2292
2292
|
import { jsx as jsx62, jsxs as jsxs62 } from "react/jsx-runtime";
|
|
2293
|
-
var
|
|
2293
|
+
var SortEndDateIcon = (_a) => {
|
|
2294
2294
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2295
2295
|
return /* @__PURE__ */ jsxs62(
|
|
2296
|
+
"svg",
|
|
2297
|
+
__spreadProps(__spreadValues(__spreadValues({
|
|
2298
|
+
viewBox: "0 0 16 16",
|
|
2299
|
+
className,
|
|
2300
|
+
fill: "none"
|
|
2301
|
+
}, getIconA11yProps(title2)), props), {
|
|
2302
|
+
children: [
|
|
2303
|
+
title2 ? /* @__PURE__ */ jsx62("title", { children: title2 }) : null,
|
|
2304
|
+
/* @__PURE__ */ jsx62("g", { clipPath: "url(#sort-end-date-clip)", children: /* @__PURE__ */ jsx62(
|
|
2305
|
+
"path",
|
|
2306
|
+
{
|
|
2307
|
+
d: "M16 8C16 10.1217 15.1571 12.1566 13.6569 13.6569C12.1566 15.1571 10.1217 16 8 16C5.87827 16 3.84344 15.1571 2.34315 13.6569C0.842855 12.1566 0 10.1217 0 8C0 7.82319 0.0702379 7.65362 0.195262 7.5286C0.320286 7.40357 0.489856 7.33333 0.666667 7.33333C0.843478 7.33333 1.01305 7.40357 1.13807 7.5286C1.2631 7.65362 1.33333 7.82319 1.33333 8C1.33333 9.31854 1.72433 10.6075 2.45687 11.7038C3.18941 12.8001 4.2306 13.6546 5.44878 14.1592C6.66695 14.6638 8.0074 14.7958 9.3006 14.5386C10.5938 14.2813 11.7817 13.6464 12.714 12.714C13.6464 11.7817 14.2813 10.5938 14.5386 9.3006C14.7958 8.0074 14.6638 6.66695 14.1592 5.44878C13.6546 4.2306 12.8001 3.18941 11.7038 2.45687C10.6075 1.72433 9.31854 1.33333 8 1.33333C7.82319 1.33333 7.65362 1.2631 7.5286 1.13807C7.40357 1.01305 7.33333 0.843478 7.33333 0.666667C7.33333 0.489856 7.40357 0.320286 7.5286 0.195262C7.65362 0.0702379 7.82319 0 8 0C10.121 0.00229405 12.1545 0.845885 13.6543 2.34568C15.1541 3.84547 15.9977 5.87897 16 8ZM6.85133 7.33333H5.33333C5.15652 7.33333 4.98695 7.40357 4.86193 7.5286C4.7369 7.65362 4.66667 7.82319 4.66667 8C4.66667 8.17681 4.7369 8.34638 4.86193 8.4714C4.98695 8.59643 5.15652 8.66667 5.33333 8.66667H6.85133C6.95314 8.84349 7.09429 8.99449 7.26384 9.108C7.43339 9.2215 7.62679 9.29445 7.82906 9.3212C8.03134 9.34795 8.23705 9.32778 8.43028 9.26226C8.6235 9.19673 8.79905 9.0876 8.94333 8.94333C9.0876 8.79905 9.19673 8.6235 9.26226 8.43028C9.32778 8.23705 9.34795 8.03134 9.3212 7.82906C9.29445 7.62679 9.2215 7.43339 9.108 7.26384C8.99449 7.09429 8.84349 6.95314 8.66667 6.85133V4.66667C8.66667 4.48986 8.59643 4.32029 8.4714 4.19526C8.34638 4.07024 8.17681 4 8 4C7.82319 4 7.65362 4.07024 7.5286 4.19526C7.40357 4.32029 7.33333 4.48986 7.33333 4.66667V6.85133C7.13362 6.96752 6.96752 7.13362 6.85133 7.33333ZM1.218 5.856C1.34985 5.856 1.47875 5.8169 1.58838 5.74365C1.69801 5.67039 1.78346 5.56627 1.83392 5.44446C1.88438 5.32264 1.89758 5.18859 1.87186 5.05927C1.84613 4.92995 1.78264 4.81116 1.6894 4.71793C1.59617 4.62469 1.47738 4.5612 1.34806 4.53548C1.21874 4.50975 1.0847 4.52296 0.962878 4.57341C0.84106 4.62387 0.736941 4.70932 0.663687 4.81895C0.590433 4.92859 0.551333 5.05748 0.551333 5.18933C0.551333 5.36614 0.621571 5.53571 0.746595 5.66074C0.87162 5.78576 1.04119 5.856 1.218 5.856ZM2.814 3.47133C2.94585 3.47133 3.07475 3.43223 3.18438 3.35898C3.29401 3.28573 3.37946 3.18161 3.42992 3.05979C3.48038 2.93797 3.49358 2.80393 3.46786 2.67461C3.44213 2.54529 3.37864 2.4265 3.2854 2.33326C3.19217 2.24003 3.07338 2.17653 2.94406 2.15081C2.81474 2.12509 2.6807 2.13829 2.55888 2.18875C2.43706 2.23921 2.33294 2.32465 2.25969 2.43429C2.18643 2.54392 2.14733 2.67281 2.14733 2.80467C2.14733 2.98148 2.21757 3.15105 2.3426 3.27607C2.46762 3.4011 2.63719 3.47133 2.814 3.47133ZM5.186 1.894C5.31785 1.894 5.44675 1.8549 5.55638 1.78165C5.66601 1.70839 5.75146 1.60427 5.80192 1.48246C5.85238 1.36064 5.86558 1.22659 5.83986 1.09727C5.81413 0.967952 5.75064 0.849164 5.6574 0.755929C5.56417 0.662694 5.44538 0.5992 5.31606 0.573476C5.18674 0.547753 5.0527 0.560955 4.93088 0.611414C4.80906 0.661872 4.70494 0.74732 4.63169 0.856953C4.55843 0.966586 4.51933 1.09548 4.51933 1.22733C4.51933 1.40414 4.58957 1.57371 4.7146 1.69874C4.83962 1.82376 5.00919 1.894 5.186 1.894Z",
|
|
2308
|
+
fill: "currentColor"
|
|
2309
|
+
}
|
|
2310
|
+
) }),
|
|
2311
|
+
/* @__PURE__ */ jsx62("defs", { children: /* @__PURE__ */ jsx62("clipPath", { id: "sort-end-date-clip", children: /* @__PURE__ */ jsx62("rect", { width: "16", height: "16", fill: "white" }) }) })
|
|
2312
|
+
]
|
|
2313
|
+
})
|
|
2314
|
+
);
|
|
2315
|
+
};
|
|
2316
|
+
SortEndDateIcon.displayName = "SortEndDateIcon";
|
|
2317
|
+
|
|
2318
|
+
// src/primitives/icon/svg/sort-top-arbitrage.tsx
|
|
2319
|
+
import { jsx as jsx63, jsxs as jsxs63 } from "react/jsx-runtime";
|
|
2320
|
+
var SortTopArbitrageIcon = (_a) => {
|
|
2321
|
+
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2322
|
+
return /* @__PURE__ */ jsxs63(
|
|
2323
|
+
"svg",
|
|
2324
|
+
__spreadProps(__spreadValues(__spreadValues({
|
|
2325
|
+
viewBox: "0 0 16 16",
|
|
2326
|
+
className,
|
|
2327
|
+
fill: "none"
|
|
2328
|
+
}, getIconA11yProps(title2)), props), {
|
|
2329
|
+
children: [
|
|
2330
|
+
title2 ? /* @__PURE__ */ jsx63("title", { children: title2 }) : null,
|
|
2331
|
+
/* @__PURE__ */ jsxs63("g", { clipPath: "url(#sort-top-arbitrage-clip)", children: [
|
|
2332
|
+
/* @__PURE__ */ jsx63(
|
|
2333
|
+
"path",
|
|
2334
|
+
{
|
|
2335
|
+
d: "M15.4314 6.314L14.9067 5.6C14.5432 5.10529 14.0686 4.7028 13.5211 4.42491C12.9737 4.14701 12.3687 4.00148 11.7547 4H4.25541C3.65409 4.00157 3.06116 4.14118 2.52231 4.40806C1.98346 4.67494 1.51308 5.06197 1.14741 5.53933L0.600079 6.25533C0.155734 6.84154 -0.0531817 7.57279 0.0144266 8.30525C0.0820349 9.03772 0.421273 9.71837 0.965413 10.2133L6.29208 15.3513C6.75993 15.7686 7.36522 15.9986 7.99208 15.9973C8.63223 15.9961 9.24941 15.7587 9.72541 15.3307L15.0161 10.242C15.5633 9.7574 15.9094 9.08556 15.9863 8.35863C16.0632 7.63171 15.8652 6.90233 15.4314 6.314ZM13.8314 6.38533L14.3561 7.10133C14.4088 7.1746 14.4552 7.25221 14.4947 7.33333H11.3007C11.2525 7.01408 11.1693 6.7011 11.0527 6.4L10.6261 5.33333H11.7547C12.159 5.3341 12.5575 5.42967 12.9182 5.61237C13.2788 5.79508 13.5916 6.05982 13.8314 6.38533ZM7.99341 13.392L6.14741 9.212C6.08065 9.0352 6.03021 8.85266 5.99675 8.66667H9.96475C9.93678 8.81325 9.89755 8.95745 9.84741 9.098L7.99341 13.392ZM6.06675 7.33333C6.09463 7.21381 6.12958 7.09605 6.17141 6.98067L6.82741 5.33333H9.19008L9.81475 6.89533C9.86959 7.03796 9.91415 7.18434 9.94808 7.33333H6.06675ZM2.20741 6.34733C2.44845 6.0329 2.75844 5.77797 3.11349 5.60217C3.46855 5.42638 3.85922 5.3344 4.25541 5.33333H5.38875L4.93341 6.486C4.82356 6.75949 4.74159 7.04338 4.68875 7.33333H1.49675C1.54247 7.2391 1.59764 7.14976 1.66141 7.06667L2.20741 6.34733ZM1.87408 9.236C1.70016 9.07824 1.56353 8.88377 1.47408 8.66667H4.65541C4.69963 9.02585 4.78623 9.37853 4.91341 9.71733L6.79808 13.984L1.87408 9.236ZM9.18075 14.0093L11.0834 9.6C11.1938 9.29824 11.2708 8.98525 11.3127 8.66667H14.5334C14.439 8.89552 14.2949 9.10049 14.1114 9.26667L9.18075 14.0093Z",
|
|
2336
|
+
fill: "currentColor"
|
|
2337
|
+
}
|
|
2338
|
+
),
|
|
2339
|
+
/* @__PURE__ */ jsx63(
|
|
2340
|
+
"path",
|
|
2341
|
+
{
|
|
2342
|
+
d: "M8.00065 2.66667C8.17746 2.66667 8.34703 2.59643 8.47206 2.4714C8.59708 2.34638 8.66732 2.17681 8.66732 2V0.666667C8.66732 0.489856 8.59708 0.320286 8.47206 0.195262C8.34703 0.0702379 8.17746 0 8.00065 0C7.82384 0 7.65427 0.0702379 7.52925 0.195262C7.40422 0.320286 7.33398 0.489856 7.33398 0.666667V2C7.33398 2.17681 7.40422 2.34638 7.52925 2.4714C7.65427 2.59643 7.82384 2.66667 8.00065 2.66667Z",
|
|
2343
|
+
fill: "currentColor"
|
|
2344
|
+
}
|
|
2345
|
+
),
|
|
2346
|
+
/* @__PURE__ */ jsx63(
|
|
2347
|
+
"path",
|
|
2348
|
+
{
|
|
2349
|
+
d: "M11.0357 2.6C11.1144 2.63958 11.2002 2.66316 11.288 2.66939C11.3759 2.67561 11.4642 2.66436 11.5477 2.63628C11.6312 2.6082 11.7083 2.56384 11.7745 2.50578C11.8408 2.44772 11.8949 2.3771 11.9337 2.298L12.6004 0.964671C12.6794 0.806425 12.6923 0.623264 12.6363 0.455481C12.5803 0.287699 12.4599 0.149038 12.3017 0.0700039C12.1434 -0.00903065 11.9603 -0.0219652 11.7925 0.0340457C11.6247 0.0900565 11.4861 0.210425 11.407 0.368671L10.7404 1.702C10.7005 1.78031 10.6766 1.86572 10.6699 1.95331C10.6632 2.0409 10.6739 2.12895 10.7013 2.2124C10.7288 2.29585 10.7724 2.37305 10.8298 2.43957C10.8872 2.50609 10.9572 2.56061 11.0357 2.6Z",
|
|
2350
|
+
fill: "currentColor"
|
|
2351
|
+
}
|
|
2352
|
+
),
|
|
2353
|
+
/* @__PURE__ */ jsx63(
|
|
2354
|
+
"path",
|
|
2355
|
+
{
|
|
2356
|
+
d: "M4.06955 2.298C4.14858 2.45669 4.28742 2.57748 4.45552 2.63381C4.62361 2.69013 4.8072 2.67737 4.96588 2.59834C5.12457 2.5193 5.24536 2.38047 5.30169 2.21237C5.35801 2.04428 5.34525 1.86069 5.26622 1.702L4.59955 0.368671C4.56042 0.290315 4.50623 0.220435 4.44009 0.16302C4.37395 0.105605 4.29715 0.0617794 4.21407 0.0340457C4.04629 -0.0219652 3.86313 -0.00903065 3.70488 0.0700039C3.54664 0.149038 3.42627 0.287699 3.37026 0.455481C3.31425 0.623264 3.32718 0.806425 3.40622 0.964671L4.06955 2.298Z",
|
|
2357
|
+
fill: "currentColor"
|
|
2358
|
+
}
|
|
2359
|
+
)
|
|
2360
|
+
] }),
|
|
2361
|
+
/* @__PURE__ */ jsx63("defs", { children: /* @__PURE__ */ jsx63("clipPath", { id: "sort-top-arbitrage-clip", children: /* @__PURE__ */ jsx63("rect", { width: "16", height: "16", fill: "white" }) }) })
|
|
2362
|
+
]
|
|
2363
|
+
})
|
|
2364
|
+
);
|
|
2365
|
+
};
|
|
2366
|
+
SortTopArbitrageIcon.displayName = "SortTopArbitrageIcon";
|
|
2367
|
+
|
|
2368
|
+
// src/primitives/icon/svg/sort-volume-24hr.tsx
|
|
2369
|
+
import { jsx as jsx64, jsxs as jsxs64 } from "react/jsx-runtime";
|
|
2370
|
+
var SortVolume24hrIcon = (_a) => {
|
|
2371
|
+
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2372
|
+
return /* @__PURE__ */ jsxs64(
|
|
2373
|
+
"svg",
|
|
2374
|
+
__spreadProps(__spreadValues(__spreadValues({
|
|
2375
|
+
viewBox: "0 0 16 16",
|
|
2376
|
+
className,
|
|
2377
|
+
fill: "none"
|
|
2378
|
+
}, getIconA11yProps(title2)), props), {
|
|
2379
|
+
children: [
|
|
2380
|
+
title2 ? /* @__PURE__ */ jsx64("title", { children: title2 }) : null,
|
|
2381
|
+
/* @__PURE__ */ jsx64("g", { clipPath: "url(#sort-volume-24hr-clip)", children: /* @__PURE__ */ jsx64(
|
|
2382
|
+
"path",
|
|
2383
|
+
{
|
|
2384
|
+
d: "M14.0002 4H10.0002C9.6315 4 9.3335 4.298 9.3335 4.66667C9.3335 5.03533 9.6315 5.33333 10.0002 5.33333H13.7242L9.3495 9.708C8.9735 10.084 8.3615 10.084 7.98483 9.708L6.29217 8.01533C5.39617 7.11933 3.93817 7.11933 3.04217 8.01533L0.1955 10.862C-0.0651667 11.1227 -0.0651667 11.544 0.1955 11.8047C0.3255 11.9347 0.496167 12 0.666833 12C0.8375 12 1.00817 11.9347 1.13817 11.8047L3.98483 8.958C4.3495 8.59333 4.98483 8.59333 5.3495 8.958L7.04217 10.6507C7.93817 11.5467 9.39617 11.5467 10.2922 10.6507L14.6675 6.276V10C14.6675 10.3687 14.9655 10.6667 15.3342 10.6667C15.7028 10.6667 16.0008 10.3687 16.0008 10V6C16.0008 4.89733 15.1028 4 14.0002 4Z",
|
|
2385
|
+
fill: "currentColor"
|
|
2386
|
+
}
|
|
2387
|
+
) }),
|
|
2388
|
+
/* @__PURE__ */ jsx64("defs", { children: /* @__PURE__ */ jsx64("clipPath", { id: "sort-volume-24hr-clip", children: /* @__PURE__ */ jsx64("rect", { width: "16", height: "16", fill: "white" }) }) })
|
|
2389
|
+
]
|
|
2390
|
+
})
|
|
2391
|
+
);
|
|
2392
|
+
};
|
|
2393
|
+
SortVolume24hrIcon.displayName = "SortVolume24hrIcon";
|
|
2394
|
+
|
|
2395
|
+
// src/primitives/icon/svg/sort-volume.tsx
|
|
2396
|
+
import { jsx as jsx65, jsxs as jsxs65 } from "react/jsx-runtime";
|
|
2397
|
+
var SortVolumeIcon = (_a) => {
|
|
2398
|
+
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2399
|
+
return /* @__PURE__ */ jsxs65(
|
|
2400
|
+
"svg",
|
|
2401
|
+
__spreadProps(__spreadValues(__spreadValues({
|
|
2402
|
+
viewBox: "0 0 16 16",
|
|
2403
|
+
className,
|
|
2404
|
+
fill: "none"
|
|
2405
|
+
}, getIconA11yProps(title2)), props), {
|
|
2406
|
+
children: [
|
|
2407
|
+
title2 ? /* @__PURE__ */ jsx65("title", { children: title2 }) : null,
|
|
2408
|
+
/* @__PURE__ */ jsx65("g", { clipPath: "url(#sort-volume-clip)", children: /* @__PURE__ */ jsx65(
|
|
2409
|
+
"path",
|
|
2410
|
+
{
|
|
2411
|
+
d: "M13.6667 10.6667H11.3333V8.33333C11.3333 7.04666 10.2867 6 9 6H7C5.71333 6 4.66667 7.04666 4.66667 8.33333V8.66666H2.33333C1.04667 8.66666 0 9.71333 0 11V13.6667C0 14.9533 1.04667 16 2.33333 16H13.6667C14.9533 16 16 14.9533 16 13.6667V13C16 11.7133 14.9533 10.6667 13.6667 10.6667ZM6 8.33333C6 7.782 6.44867 7.33333 7 7.33333H9C9.55133 7.33333 10 7.782 10 8.33333V14.6667H6V8.33333ZM1.33333 13.6667V11C1.33333 10.4487 1.782 9.99999 2.33333 9.99999H4.66667V14.6667H2.33333C1.782 14.6667 1.33333 14.218 1.33333 13.6667ZM14.6667 13.6667C14.6667 14.218 14.218 14.6667 13.6667 14.6667H11.3333V12H13.6667C14.218 12 14.6667 12.4487 14.6667 13V13.6667ZM5.36067 1.90466C5.42467 1.73 5.59133 1.61333 5.778 1.61333H7.112L7.584 0.288662C7.64867 0.114662 7.81467 -0.000671387 8.00067 -0.000671387C8.18667 -0.000671387 8.35267 0.114662 8.41733 0.288662L8.88933 1.61333H10.2233C10.41 1.61333 10.5767 1.73 10.6407 1.90533C10.7047 2.08066 10.652 2.27733 10.5093 2.398L9.458 3.25466L9.89267 4.57933C9.952 4.75866 9.892 4.95599 9.742 5.07133C9.592 5.18666 9.386 5.19466 9.228 5.09199L8.004 4.29466L6.80067 5.09999C6.726 5.14999 6.63933 5.17533 6.55333 5.17533C6.45933 5.17533 6.36533 5.14533 6.28667 5.08666C6.13533 4.97333 6.07267 4.77733 6.12933 4.59733L6.54733 3.25666L5.49067 2.39666C5.34867 2.276 5.296 2.07933 5.36067 1.90466Z",
|
|
2412
|
+
fill: "currentColor"
|
|
2413
|
+
}
|
|
2414
|
+
) }),
|
|
2415
|
+
/* @__PURE__ */ jsx65("defs", { children: /* @__PURE__ */ jsx65("clipPath", { id: "sort-volume-clip", children: /* @__PURE__ */ jsx65("rect", { width: "16", height: "16", fill: "white" }) }) })
|
|
2416
|
+
]
|
|
2417
|
+
})
|
|
2418
|
+
);
|
|
2419
|
+
};
|
|
2420
|
+
SortVolumeIcon.displayName = "SortVolumeIcon";
|
|
2421
|
+
|
|
2422
|
+
// src/primitives/icon/svg/sparkles-filled.tsx
|
|
2423
|
+
import { jsx as jsx66, jsxs as jsxs66 } from "react/jsx-runtime";
|
|
2424
|
+
var SparklesFilledIcon = (_a) => {
|
|
2425
|
+
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2426
|
+
return /* @__PURE__ */ jsxs66(
|
|
2296
2427
|
"svg",
|
|
2297
2428
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2298
2429
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2303,15 +2434,15 @@ var SparklesFilledIcon = (_a) => {
|
|
|
2303
2434
|
className
|
|
2304
2435
|
}, getIconA11yProps(title2)), props), {
|
|
2305
2436
|
children: [
|
|
2306
|
-
/* @__PURE__ */
|
|
2437
|
+
/* @__PURE__ */ jsx66("g", { clipPath: "url(#clip0_2028_8371)", children: /* @__PURE__ */ jsx66(
|
|
2307
2438
|
"path",
|
|
2308
2439
|
{
|
|
2309
2440
|
d: "M13.0001 15.9999C12.8668 16 12.7366 15.9602 12.6262 15.8856C12.5158 15.8109 12.4303 15.705 12.3807 15.5813L11.8181 14.1726L10.4074 13.5786C10.2864 13.5252 10.1839 13.4372 10.1127 13.3256C10.0416 13.2141 10.0049 13.0841 10.0074 12.9518C10.0099 12.8196 10.0514 12.691 10.1267 12.5823C10.202 12.4735 10.3078 12.3894 10.4307 12.3406L11.8227 11.8133L12.3807 10.4186C12.4321 10.2967 12.5182 10.1927 12.6284 10.1195C12.7385 10.0464 12.8678 10.0074 13.0001 10.0074C13.1323 10.0074 13.2616 10.0464 13.3718 10.1195C13.482 10.1927 13.5681 10.2967 13.6194 10.4186L14.1801 11.8186L15.5801 12.3793C15.7022 12.4303 15.8065 12.5164 15.8799 12.6266C15.9532 12.7368 15.9923 12.8662 15.9923 12.9986C15.9923 13.131 15.9532 13.2604 15.8799 13.3706C15.8065 13.4808 15.7022 13.5668 15.5801 13.6179L14.1801 14.1786L13.6194 15.5786C13.5703 15.7028 13.4849 15.8093 13.3745 15.8845C13.2641 15.9596 13.1336 15.9998 13.0001 15.9999ZM6.66674 13.9999C6.37872 14.0034 6.09733 13.9135 5.86467 13.7437C5.63201 13.5739 5.46059 13.3333 5.37607 13.0579L4.30007 9.69326L0.92474 8.56393C0.652316 8.47287 0.415886 8.29758 0.249599 8.06337C0.0833117 7.82916 -0.00422421 7.54815 -0.000366007 7.26094C0.0034922 6.97372 0.0985448 6.69517 0.271063 6.46551C0.443581 6.23585 0.684635 6.06697 0.959407 5.98326L4.30807 4.9606L5.43607 1.59126C5.51994 1.31451 5.69343 1.07349 5.92924 0.906102C6.16505 0.738716 6.44981 0.654464 6.73874 0.666597C7.02681 0.666987 7.307 0.76066 7.53738 0.933596C7.76776 1.10653 7.93594 1.34943 8.01674 1.62593L9.03807 4.96926L12.3914 6.0426C12.6619 6.13332 12.897 6.30672 13.0636 6.53831C13.2302 6.7699 13.3198 7.04798 13.3198 7.33326C13.3198 7.61855 13.2302 7.89662 13.0636 8.12822C12.897 8.35981 12.6619 8.53321 12.3914 8.62393L9.03207 9.6986L7.95741 13.0579C7.87289 13.3333 7.70147 13.5739 7.46881 13.7437C7.23615 13.9135 6.95476 14.0034 6.66674 13.9999ZM13.6667 4.6666C13.5181 4.66659 13.3738 4.61693 13.2566 4.52549C13.1394 4.43406 13.0562 4.30609 13.0201 4.16193L12.7821 3.2086L11.8267 2.95193C11.6832 2.91335 11.5566 2.82788 11.4672 2.70911C11.3777 2.59033 11.3306 2.44507 11.3332 2.29641C11.3358 2.14776 11.388 2.00424 11.4815 1.88867C11.5751 1.7731 11.7046 1.69212 11.8494 1.6586L12.7827 1.44193L13.0201 0.504597C13.0562 0.360445 13.1395 0.232498 13.2566 0.141076C13.3738 0.0496542 13.5181 0 13.6667 0C13.8154 0 13.9597 0.0496542 14.0769 0.141076C14.194 0.232498 14.2773 0.360445 14.3134 0.504597L14.5494 1.44993L15.4947 1.6866C15.6389 1.72272 15.7668 1.80598 15.8583 1.92314C15.9497 2.0403 15.9993 2.18465 15.9993 2.33326C15.9993 2.48187 15.9497 2.62622 15.8583 2.74338C15.7668 2.86055 15.6389 2.9438 15.4947 2.97993L14.5494 3.2166L14.3134 4.16193C14.2773 4.30609 14.194 4.43406 14.0769 4.52549C13.9597 4.61693 13.8154 4.66659 13.6667 4.6666Z",
|
|
2310
2441
|
fill: "currentColor"
|
|
2311
2442
|
}
|
|
2312
2443
|
) }),
|
|
2313
|
-
/* @__PURE__ */
|
|
2314
|
-
/* @__PURE__ */
|
|
2444
|
+
/* @__PURE__ */ jsxs66("defs", { children: [
|
|
2445
|
+
/* @__PURE__ */ jsxs66(
|
|
2315
2446
|
"linearGradient",
|
|
2316
2447
|
{
|
|
2317
2448
|
id: "paint0_linear_2028_8371",
|
|
@@ -2321,12 +2452,12 @@ var SparklesFilledIcon = (_a) => {
|
|
|
2321
2452
|
y2: "7.99997",
|
|
2322
2453
|
gradientUnits: "userSpaceOnUse",
|
|
2323
2454
|
children: [
|
|
2324
|
-
/* @__PURE__ */
|
|
2325
|
-
/* @__PURE__ */
|
|
2455
|
+
/* @__PURE__ */ jsx66("stop", { stopColor: "currentColor" }),
|
|
2456
|
+
/* @__PURE__ */ jsx66("stop", { offset: "1", stopColor: "currentColor" })
|
|
2326
2457
|
]
|
|
2327
2458
|
}
|
|
2328
2459
|
),
|
|
2329
|
-
/* @__PURE__ */
|
|
2460
|
+
/* @__PURE__ */ jsx66("clipPath", { id: "clip0_2028_8371", children: /* @__PURE__ */ jsx66("rect", { width: "16", height: "16", fill: "white" }) })
|
|
2330
2461
|
] })
|
|
2331
2462
|
]
|
|
2332
2463
|
})
|
|
@@ -2335,10 +2466,10 @@ var SparklesFilledIcon = (_a) => {
|
|
|
2335
2466
|
SparklesFilledIcon.displayName = "SparklesFilledIcon";
|
|
2336
2467
|
|
|
2337
2468
|
// src/primitives/icon/svg/spinner.tsx
|
|
2338
|
-
import { jsx as
|
|
2469
|
+
import { jsx as jsx67, jsxs as jsxs67 } from "react/jsx-runtime";
|
|
2339
2470
|
var SpinnerIcon = (_a) => {
|
|
2340
2471
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2341
|
-
return /* @__PURE__ */
|
|
2472
|
+
return /* @__PURE__ */ jsxs67(
|
|
2342
2473
|
"svg",
|
|
2343
2474
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2344
2475
|
width: "26",
|
|
@@ -2349,8 +2480,8 @@ var SpinnerIcon = (_a) => {
|
|
|
2349
2480
|
className
|
|
2350
2481
|
}, getIconA11yProps(title2)), props), {
|
|
2351
2482
|
children: [
|
|
2352
|
-
title2 ? /* @__PURE__ */
|
|
2353
|
-
/* @__PURE__ */
|
|
2483
|
+
title2 ? /* @__PURE__ */ jsx67("title", { children: title2 }) : null,
|
|
2484
|
+
/* @__PURE__ */ jsx67(
|
|
2354
2485
|
"path",
|
|
2355
2486
|
{
|
|
2356
2487
|
d: "M13 1C10.5371 1 8.13377 1.75785 6.11636 3.17068C4.09894 4.58352 2.56512 6.58289 1.72308 8.89742C0.88105 11.212 0.771596 13.7295 1.40958 16.1084C2.04756 18.4873 3.40208 20.6122 5.28926 22.1948C7.17645 23.7774 9.5049 24.741 11.9585 24.9547C14.4122 25.1685 16.8722 24.6221 19.0046 23.3896C21.137 22.1572 22.8386 20.2985 23.8783 18.0658C24.918 15.8331 25.2456 13.3345 24.8165 10.9092",
|
|
@@ -2366,10 +2497,10 @@ var SpinnerIcon = (_a) => {
|
|
|
2366
2497
|
SpinnerIcon.displayName = "SpinnerIcon";
|
|
2367
2498
|
|
|
2368
2499
|
// src/primitives/icon/svg/stay-in-control.tsx
|
|
2369
|
-
import { jsx as
|
|
2500
|
+
import { jsx as jsx68, jsxs as jsxs68 } from "react/jsx-runtime";
|
|
2370
2501
|
var StayInControlIcon = (_a) => {
|
|
2371
2502
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2372
|
-
return /* @__PURE__ */
|
|
2503
|
+
return /* @__PURE__ */ jsxs68(
|
|
2373
2504
|
"svg",
|
|
2374
2505
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2375
2506
|
width: "28",
|
|
@@ -2380,16 +2511,16 @@ var StayInControlIcon = (_a) => {
|
|
|
2380
2511
|
className
|
|
2381
2512
|
}, getIconA11yProps(title2)), props), {
|
|
2382
2513
|
children: [
|
|
2383
|
-
title2 ? /* @__PURE__ */
|
|
2384
|
-
/* @__PURE__ */
|
|
2385
|
-
/* @__PURE__ */
|
|
2514
|
+
title2 ? /* @__PURE__ */ jsx68("title", { children: title2 }) : null,
|
|
2515
|
+
/* @__PURE__ */ jsxs68("g", { clipPath: "url(#clip0_stay_in_control)", children: [
|
|
2516
|
+
/* @__PURE__ */ jsx68(
|
|
2386
2517
|
"path",
|
|
2387
2518
|
{
|
|
2388
2519
|
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",
|
|
2389
2520
|
fill: "currentColor"
|
|
2390
2521
|
}
|
|
2391
2522
|
),
|
|
2392
|
-
/* @__PURE__ */
|
|
2523
|
+
/* @__PURE__ */ jsx68(
|
|
2393
2524
|
"path",
|
|
2394
2525
|
{
|
|
2395
2526
|
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",
|
|
@@ -2397,7 +2528,7 @@ var StayInControlIcon = (_a) => {
|
|
|
2397
2528
|
}
|
|
2398
2529
|
)
|
|
2399
2530
|
] }),
|
|
2400
|
-
/* @__PURE__ */
|
|
2531
|
+
/* @__PURE__ */ jsx68("defs", { children: /* @__PURE__ */ jsx68("clipPath", { id: "clip0_stay_in_control", children: /* @__PURE__ */ jsx68("rect", { width: "28", height: "28", fill: "white" }) }) })
|
|
2401
2532
|
]
|
|
2402
2533
|
})
|
|
2403
2534
|
);
|
|
@@ -2405,10 +2536,10 @@ var StayInControlIcon = (_a) => {
|
|
|
2405
2536
|
StayInControlIcon.displayName = "StayInControlIcon";
|
|
2406
2537
|
|
|
2407
2538
|
// src/primitives/icon/svg/success-check.tsx
|
|
2408
|
-
import { jsx as
|
|
2539
|
+
import { jsx as jsx69, jsxs as jsxs69 } from "react/jsx-runtime";
|
|
2409
2540
|
var SuccessCheckIcon = (_a) => {
|
|
2410
2541
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2411
|
-
return /* @__PURE__ */
|
|
2542
|
+
return /* @__PURE__ */ jsxs69(
|
|
2412
2543
|
"svg",
|
|
2413
2544
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2414
2545
|
width: "24",
|
|
@@ -2419,8 +2550,8 @@ var SuccessCheckIcon = (_a) => {
|
|
|
2419
2550
|
className
|
|
2420
2551
|
}, getIconA11yProps(title2)), props), {
|
|
2421
2552
|
children: [
|
|
2422
|
-
title2 ? /* @__PURE__ */
|
|
2423
|
-
/* @__PURE__ */
|
|
2553
|
+
title2 ? /* @__PURE__ */ jsx69("title", { children: title2 }) : null,
|
|
2554
|
+
/* @__PURE__ */ jsx69(
|
|
2424
2555
|
"path",
|
|
2425
2556
|
{
|
|
2426
2557
|
d: "M7.74919 20.6626C7.06793 20.6629 6.41457 20.3921 5.93325 19.91L0.443061 14.4219C-0.147687 13.8309 -0.147687 12.873 0.443061 12.2821C1.034 11.6913 1.99191 11.6913 2.58284 12.2821L7.74919 17.4484L21.4172 3.78046C22.0081 3.18972 22.966 3.18972 23.5569 3.78046C24.1477 4.3714 24.1477 5.32931 23.5569 5.92024L9.56513 19.91C9.08381 20.3921 8.43045 20.6629 7.74919 20.6626Z",
|
|
@@ -2434,10 +2565,10 @@ var SuccessCheckIcon = (_a) => {
|
|
|
2434
2565
|
SuccessCheckIcon.displayName = "SuccessCheckIcon";
|
|
2435
2566
|
|
|
2436
2567
|
// src/primitives/icon/svg/telegram.tsx
|
|
2437
|
-
import { jsx as
|
|
2568
|
+
import { jsx as jsx70, jsxs as jsxs70 } from "react/jsx-runtime";
|
|
2438
2569
|
var TelegramIcon = (_a) => {
|
|
2439
2570
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2440
|
-
return /* @__PURE__ */
|
|
2571
|
+
return /* @__PURE__ */ jsxs70(
|
|
2441
2572
|
"svg",
|
|
2442
2573
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2443
2574
|
viewBox: "0 0 20 20",
|
|
@@ -2445,8 +2576,8 @@ var TelegramIcon = (_a) => {
|
|
|
2445
2576
|
fill: "none"
|
|
2446
2577
|
}, getIconA11yProps(title2)), props), {
|
|
2447
2578
|
children: [
|
|
2448
|
-
title2 ? /* @__PURE__ */
|
|
2449
|
-
/* @__PURE__ */
|
|
2579
|
+
title2 ? /* @__PURE__ */ jsx70("title", { children: title2 }) : null,
|
|
2580
|
+
/* @__PURE__ */ jsx70("g", { clipPath: "url(#clip0_telegram)", children: /* @__PURE__ */ jsx70(
|
|
2450
2581
|
"path",
|
|
2451
2582
|
{
|
|
2452
2583
|
fillRule: "evenodd",
|
|
@@ -2455,7 +2586,7 @@ var TelegramIcon = (_a) => {
|
|
|
2455
2586
|
fill: "currentColor"
|
|
2456
2587
|
}
|
|
2457
2588
|
) }),
|
|
2458
|
-
/* @__PURE__ */
|
|
2589
|
+
/* @__PURE__ */ jsx70("defs", { children: /* @__PURE__ */ jsx70("clipPath", { id: "clip0_telegram", children: /* @__PURE__ */ jsx70("rect", { width: "20", height: "20", fill: "white" }) }) })
|
|
2459
2590
|
]
|
|
2460
2591
|
})
|
|
2461
2592
|
);
|
|
@@ -2463,10 +2594,10 @@ var TelegramIcon = (_a) => {
|
|
|
2463
2594
|
TelegramIcon.displayName = "TelegramIcon";
|
|
2464
2595
|
|
|
2465
2596
|
// src/primitives/icon/svg/triangle-down.tsx
|
|
2466
|
-
import { jsx as
|
|
2597
|
+
import { jsx as jsx71, jsxs as jsxs71 } from "react/jsx-runtime";
|
|
2467
2598
|
var TriangleDownIcon = (_a) => {
|
|
2468
2599
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2469
|
-
return /* @__PURE__ */
|
|
2600
|
+
return /* @__PURE__ */ jsxs71(
|
|
2470
2601
|
"svg",
|
|
2471
2602
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2472
2603
|
viewBox: "0 0 8 8",
|
|
@@ -2474,16 +2605,16 @@ var TriangleDownIcon = (_a) => {
|
|
|
2474
2605
|
fill: "none"
|
|
2475
2606
|
}, getIconA11yProps(title2)), props), {
|
|
2476
2607
|
children: [
|
|
2477
|
-
title2 ? /* @__PURE__ */
|
|
2478
|
-
/* @__PURE__ */
|
|
2479
|
-
/* @__PURE__ */
|
|
2608
|
+
title2 ? /* @__PURE__ */ jsx71("title", { children: title2 }) : null,
|
|
2609
|
+
/* @__PURE__ */ jsxs71("g", { transform: "scale(1,-1) translate(0,-8)", clipPath: "url(#triangle_up)", children: [
|
|
2610
|
+
/* @__PURE__ */ jsx71(
|
|
2480
2611
|
"path",
|
|
2481
2612
|
{
|
|
2482
2613
|
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",
|
|
2483
2614
|
fill: "currentColor"
|
|
2484
2615
|
}
|
|
2485
2616
|
),
|
|
2486
|
-
/* @__PURE__ */
|
|
2617
|
+
/* @__PURE__ */ jsx71(
|
|
2487
2618
|
"path",
|
|
2488
2619
|
{
|
|
2489
2620
|
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",
|
|
@@ -2491,7 +2622,7 @@ var TriangleDownIcon = (_a) => {
|
|
|
2491
2622
|
}
|
|
2492
2623
|
)
|
|
2493
2624
|
] }),
|
|
2494
|
-
/* @__PURE__ */
|
|
2625
|
+
/* @__PURE__ */ jsx71("defs", { children: /* @__PURE__ */ jsx71("clipPath", { id: "triangle_up", children: /* @__PURE__ */ jsx71("rect", { width: "8", height: "8", fill: "white" }) }) })
|
|
2495
2626
|
]
|
|
2496
2627
|
})
|
|
2497
2628
|
);
|
|
@@ -2499,10 +2630,10 @@ var TriangleDownIcon = (_a) => {
|
|
|
2499
2630
|
TriangleDownIcon.displayName = "TriangleDownIcon";
|
|
2500
2631
|
|
|
2501
2632
|
// src/primitives/icon/svg/triangle-up.tsx
|
|
2502
|
-
import { jsx as
|
|
2633
|
+
import { jsx as jsx72, jsxs as jsxs72 } from "react/jsx-runtime";
|
|
2503
2634
|
var TriangleUpIcon = (_a) => {
|
|
2504
2635
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2505
|
-
return /* @__PURE__ */
|
|
2636
|
+
return /* @__PURE__ */ jsxs72(
|
|
2506
2637
|
"svg",
|
|
2507
2638
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2508
2639
|
viewBox: "0 0 8 8",
|
|
@@ -2510,16 +2641,16 @@ var TriangleUpIcon = (_a) => {
|
|
|
2510
2641
|
fill: "none"
|
|
2511
2642
|
}, getIconA11yProps(title2)), props), {
|
|
2512
2643
|
children: [
|
|
2513
|
-
title2 ? /* @__PURE__ */
|
|
2514
|
-
/* @__PURE__ */
|
|
2515
|
-
/* @__PURE__ */
|
|
2644
|
+
title2 ? /* @__PURE__ */ jsx72("title", { children: title2 }) : null,
|
|
2645
|
+
/* @__PURE__ */ jsxs72("g", { clipPath: "url(#triangle_up)", children: [
|
|
2646
|
+
/* @__PURE__ */ jsx72(
|
|
2516
2647
|
"path",
|
|
2517
2648
|
{
|
|
2518
2649
|
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",
|
|
2519
2650
|
fill: "currentColor"
|
|
2520
2651
|
}
|
|
2521
2652
|
),
|
|
2522
|
-
/* @__PURE__ */
|
|
2653
|
+
/* @__PURE__ */ jsx72(
|
|
2523
2654
|
"path",
|
|
2524
2655
|
{
|
|
2525
2656
|
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",
|
|
@@ -2527,7 +2658,7 @@ var TriangleUpIcon = (_a) => {
|
|
|
2527
2658
|
}
|
|
2528
2659
|
)
|
|
2529
2660
|
] }),
|
|
2530
|
-
/* @__PURE__ */
|
|
2661
|
+
/* @__PURE__ */ jsx72("defs", { children: /* @__PURE__ */ jsx72("clipPath", { id: "triangle_up", children: /* @__PURE__ */ jsx72("rect", { width: "8", height: "8", fill: "white" }) }) })
|
|
2531
2662
|
]
|
|
2532
2663
|
})
|
|
2533
2664
|
);
|
|
@@ -2535,10 +2666,10 @@ var TriangleUpIcon = (_a) => {
|
|
|
2535
2666
|
TriangleUpIcon.displayName = "TriangleUpIcon";
|
|
2536
2667
|
|
|
2537
2668
|
// src/primitives/icon/svg/triangle-up-filled.tsx
|
|
2538
|
-
import { jsx as
|
|
2669
|
+
import { jsx as jsx73, jsxs as jsxs73 } from "react/jsx-runtime";
|
|
2539
2670
|
var TriangleUpFilledIcon = (_a) => {
|
|
2540
2671
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2541
|
-
return /* @__PURE__ */
|
|
2672
|
+
return /* @__PURE__ */ jsxs73(
|
|
2542
2673
|
"svg",
|
|
2543
2674
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2544
2675
|
viewBox: "0 0 8 8",
|
|
@@ -2546,8 +2677,8 @@ var TriangleUpFilledIcon = (_a) => {
|
|
|
2546
2677
|
fill: "none"
|
|
2547
2678
|
}, getIconA11yProps(title2)), props), {
|
|
2548
2679
|
children: [
|
|
2549
|
-
title2 ? /* @__PURE__ */
|
|
2550
|
-
/* @__PURE__ */
|
|
2680
|
+
title2 ? /* @__PURE__ */ jsx73("title", { children: title2 }) : null,
|
|
2681
|
+
/* @__PURE__ */ jsx73(
|
|
2551
2682
|
"path",
|
|
2552
2683
|
{
|
|
2553
2684
|
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",
|
|
@@ -2561,10 +2692,10 @@ var TriangleUpFilledIcon = (_a) => {
|
|
|
2561
2692
|
TriangleUpFilledIcon.displayName = "TriangleUpFilledIcon";
|
|
2562
2693
|
|
|
2563
2694
|
// src/primitives/icon/svg/twitter.tsx
|
|
2564
|
-
import { jsx as
|
|
2695
|
+
import { jsx as jsx74, jsxs as jsxs74 } from "react/jsx-runtime";
|
|
2565
2696
|
var TwitterIcon = (_a) => {
|
|
2566
2697
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2567
|
-
return /* @__PURE__ */
|
|
2698
|
+
return /* @__PURE__ */ jsxs74(
|
|
2568
2699
|
"svg",
|
|
2569
2700
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2570
2701
|
viewBox: "0 0 24 24",
|
|
@@ -2572,8 +2703,8 @@ var TwitterIcon = (_a) => {
|
|
|
2572
2703
|
fill: "none"
|
|
2573
2704
|
}, getIconA11yProps(title2)), props), {
|
|
2574
2705
|
children: [
|
|
2575
|
-
title2 ? /* @__PURE__ */
|
|
2576
|
-
/* @__PURE__ */
|
|
2706
|
+
title2 ? /* @__PURE__ */ jsx74("title", { children: title2 }) : null,
|
|
2707
|
+
/* @__PURE__ */ jsx74(
|
|
2577
2708
|
"path",
|
|
2578
2709
|
{
|
|
2579
2710
|
d: "M18.325 2H21.7002L14.3283 10.4233L23 21.8871H16.2121L10.8918 14.936L4.81058 21.8871H1.42992L9.31325 12.8753L1 2H7.96025L12.7645 8.35342L18.325 2ZM17.1398 19.8695H19.0088L6.94183 3.91217H4.93433L17.1398 19.8695Z",
|
|
@@ -2587,10 +2718,10 @@ var TwitterIcon = (_a) => {
|
|
|
2587
2718
|
TwitterIcon.displayName = "TwitterIcon";
|
|
2588
2719
|
|
|
2589
2720
|
// src/primitives/icon/svg/upload.tsx
|
|
2590
|
-
import { jsx as
|
|
2721
|
+
import { jsx as jsx75, jsxs as jsxs75 } from "react/jsx-runtime";
|
|
2591
2722
|
var UploadIcon = (_a) => {
|
|
2592
2723
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2593
|
-
return /* @__PURE__ */
|
|
2724
|
+
return /* @__PURE__ */ jsxs75(
|
|
2594
2725
|
"svg",
|
|
2595
2726
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2596
2727
|
viewBox: "0 0 16 16",
|
|
@@ -2598,16 +2729,16 @@ var UploadIcon = (_a) => {
|
|
|
2598
2729
|
fill: "none"
|
|
2599
2730
|
}, getIconA11yProps(title2)), props), {
|
|
2600
2731
|
children: [
|
|
2601
|
-
title2 ? /* @__PURE__ */
|
|
2602
|
-
/* @__PURE__ */
|
|
2603
|
-
/* @__PURE__ */
|
|
2732
|
+
title2 ? /* @__PURE__ */ jsx75("title", { children: title2 }) : null,
|
|
2733
|
+
/* @__PURE__ */ jsxs75("g", { clipPath: "url(#upload-clip)", children: [
|
|
2734
|
+
/* @__PURE__ */ jsx75(
|
|
2604
2735
|
"path",
|
|
2605
2736
|
{
|
|
2606
2737
|
d: "M7.33755 1.71857L7.33288 12.0106C7.33288 12.1874 7.40312 12.357 7.52814 12.482C7.65317 12.607 7.82274 12.6772 7.99955 12.6772C8.17636 12.6772 8.34593 12.607 8.47095 12.482C8.59598 12.357 8.66621 12.1874 8.66621 12.0106L8.67088 1.7299L10.6122 3.6719C10.7372 3.79688 10.9068 3.86709 11.0835 3.86709C11.2603 3.86709 11.4299 3.79688 11.5549 3.6719C11.6799 3.54689 11.7501 3.37735 11.7501 3.20057C11.7501 3.02379 11.6799 2.85426 11.5549 2.72924L9.41421 0.585904C9.22848 0.400051 9.00795 0.252617 8.76521 0.152028C8.52248 0.0514383 8.2623 -0.000335693 7.99955 -0.000335693C7.7368 -0.000335693 7.47662 0.0514383 7.23388 0.152028C6.99115 0.252617 6.77061 0.400051 6.58488 0.585904L4.44421 2.72724C4.31923 2.85226 4.24902 3.02179 4.24902 3.19857C4.24902 3.37535 4.31923 3.54489 4.44421 3.6699C4.56923 3.79488 4.73877 3.86509 4.91555 3.86509C5.09232 3.86509 5.26186 3.79488 5.38688 3.6699L7.33755 1.71857Z",
|
|
2607
2738
|
fill: "currentColor"
|
|
2608
2739
|
}
|
|
2609
2740
|
),
|
|
2610
|
-
/* @__PURE__ */
|
|
2741
|
+
/* @__PURE__ */ jsx75(
|
|
2611
2742
|
"path",
|
|
2612
2743
|
{
|
|
2613
2744
|
d: "M14.6667 11.3333V14C14.6667 14.1768 14.5964 14.3464 14.4714 14.4714C14.3464 14.5964 14.1768 14.6667 14 14.6667H2C1.82319 14.6667 1.65362 14.5964 1.5286 14.4714C1.40357 14.3464 1.33333 14.1768 1.33333 14V11.3333C1.33333 11.1565 1.2631 10.9869 1.13807 10.8619C1.01305 10.7369 0.843478 10.6667 0.666667 10.6667C0.489856 10.6667 0.320286 10.7369 0.195262 10.8619C0.0702379 10.9869 0 11.1565 0 11.3333L0 14C0 14.5304 0.210714 15.0391 0.585786 15.4142C0.960859 15.7893 1.46957 16 2 16H14C14.5304 16 15.0391 15.7893 15.4142 15.4142C15.7893 15.0391 16 14.5304 16 14V11.3333C16 11.1565 15.9298 10.9869 15.8047 10.8619C15.6797 10.7369 15.5101 10.6667 15.3333 10.6667C15.1565 10.6667 14.987 10.7369 14.8619 10.8619C14.7369 10.9869 14.6667 11.1565 14.6667 11.3333Z",
|
|
@@ -2615,7 +2746,7 @@ var UploadIcon = (_a) => {
|
|
|
2615
2746
|
}
|
|
2616
2747
|
)
|
|
2617
2748
|
] }),
|
|
2618
|
-
/* @__PURE__ */
|
|
2749
|
+
/* @__PURE__ */ jsx75("defs", { children: /* @__PURE__ */ jsx75("clipPath", { id: "upload-clip", children: /* @__PURE__ */ jsx75("rect", { width: "16", height: "16", fill: "white" }) }) })
|
|
2619
2750
|
]
|
|
2620
2751
|
})
|
|
2621
2752
|
);
|
|
@@ -2623,10 +2754,10 @@ var UploadIcon = (_a) => {
|
|
|
2623
2754
|
UploadIcon.displayName = "UploadIcon";
|
|
2624
2755
|
|
|
2625
2756
|
// src/primitives/icon/svg/user-trust.tsx
|
|
2626
|
-
import { jsx as
|
|
2757
|
+
import { jsx as jsx76, jsxs as jsxs76 } from "react/jsx-runtime";
|
|
2627
2758
|
var UserTrustIcon = (_a) => {
|
|
2628
2759
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2629
|
-
return /* @__PURE__ */
|
|
2760
|
+
return /* @__PURE__ */ jsxs76(
|
|
2630
2761
|
"svg",
|
|
2631
2762
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2632
2763
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2635,15 +2766,15 @@ var UserTrustIcon = (_a) => {
|
|
|
2635
2766
|
className
|
|
2636
2767
|
}, getIconA11yProps(title2)), props), {
|
|
2637
2768
|
children: [
|
|
2638
|
-
title2 ? /* @__PURE__ */
|
|
2639
|
-
/* @__PURE__ */
|
|
2769
|
+
title2 ? /* @__PURE__ */ jsx76("title", { children: title2 }) : null,
|
|
2770
|
+
/* @__PURE__ */ jsx76("g", { clipPath: "url(#clip0_user_trust)", children: /* @__PURE__ */ jsx76(
|
|
2640
2771
|
"path",
|
|
2641
2772
|
{
|
|
2642
2773
|
d: "M22.5 30C14.2275 30 7.5 23.2725 7.5 15C7.5 6.7275 14.2275 0 22.5 0C30.7725 0 37.5 6.7275 37.5 15C37.5 23.2725 30.7725 30 22.5 30ZM22.5 2.5C15.6075 2.5 10 8.1075 10 15C10 21.8925 15.6075 27.5 22.5 27.5C29.3925 27.5 35 21.8925 35 15C35 8.1075 29.3925 2.5 22.5 2.5ZM2.5 58.75V57.5C2.5 46.9175 10.7675 38.1475 21.3225 37.535C22.0125 37.495 22.5375 36.905 22.4975 36.215C22.4575 35.5275 21.87 34.96 21.1775 35.04C9.3025 35.7275 0 45.5925 0 57.5V58.75C0 59.44 0.56 60 1.25 60C1.94 60 2.5 59.44 2.5 58.75ZM43.75 60C34.79 60 27.5 52.71 27.5 43.75C27.5 34.79 34.79 27.5 43.75 27.5C52.71 27.5 60 34.79 60 43.75C60 52.71 52.71 60 43.75 60ZM43.75 30C36.1675 30 30 36.17 30 43.75C30 51.33 36.1675 57.5 43.75 57.5C51.3325 57.5 57.5 51.33 57.5 43.75C57.5 36.17 51.3325 30 43.75 30ZM45.3375 48.66L52.095 42.125C52.59 41.645 52.605 40.8525 52.125 40.3575C51.6475 39.8625 50.8575 39.85 50.3575 40.3275L43.5925 46.8725C42.7525 47.7 41.38 47.705 40.535 46.8825L37.1275 43.52C36.6375 43.035 35.845 43.04 35.36 43.53C34.875 44.0225 34.88 44.815 35.3725 45.2975L38.7825 48.665C39.6875 49.55 40.875 49.9925 42.0625 49.9925C43.25 49.9925 44.4375 49.5475 45.3375 48.66Z",
|
|
2643
2774
|
fill: "currentColor"
|
|
2644
2775
|
}
|
|
2645
2776
|
) }),
|
|
2646
|
-
/* @__PURE__ */
|
|
2777
|
+
/* @__PURE__ */ jsx76("defs", { children: /* @__PURE__ */ jsx76("clipPath", { id: "clip0_user_trust", children: /* @__PURE__ */ jsx76("rect", { width: "60", height: "60", fill: "white" }) }) })
|
|
2647
2778
|
]
|
|
2648
2779
|
})
|
|
2649
2780
|
);
|
|
@@ -2651,10 +2782,10 @@ var UserTrustIcon = (_a) => {
|
|
|
2651
2782
|
UserTrustIcon.displayName = "UserTrustIcon";
|
|
2652
2783
|
|
|
2653
2784
|
// src/primitives/icon/svg/usdc.tsx
|
|
2654
|
-
import { jsx as
|
|
2785
|
+
import { jsx as jsx77, jsxs as jsxs77 } from "react/jsx-runtime";
|
|
2655
2786
|
var UsdcIcon = (_a) => {
|
|
2656
2787
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2657
|
-
return /* @__PURE__ */
|
|
2788
|
+
return /* @__PURE__ */ jsxs77(
|
|
2658
2789
|
"svg",
|
|
2659
2790
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2660
2791
|
viewBox: "0 0 32 32",
|
|
@@ -2662,16 +2793,16 @@ var UsdcIcon = (_a) => {
|
|
|
2662
2793
|
fill: "none"
|
|
2663
2794
|
}, getIconA11yProps(title2)), props), {
|
|
2664
2795
|
children: [
|
|
2665
|
-
title2 ? /* @__PURE__ */
|
|
2666
|
-
/* @__PURE__ */
|
|
2667
|
-
/* @__PURE__ */
|
|
2796
|
+
title2 ? /* @__PURE__ */ jsx77("title", { children: title2 }) : null,
|
|
2797
|
+
/* @__PURE__ */ jsx77("circle", { cx: "16", cy: "16", r: "16", fill: "#2775CA" }),
|
|
2798
|
+
/* @__PURE__ */ jsx77(
|
|
2668
2799
|
"path",
|
|
2669
2800
|
{
|
|
2670
2801
|
d: "M20.4 18.6c0-2.2-1.3-3-3.9-3.3-1.9-.3-2.3-.8-2.3-1.7s.7-1.5 2.1-1.5c1.2 0 1.9.4 2.2 1.4.1.2.2.3.4.3h1c.2 0 .4-.2.4-.4-.2-1.3-1.1-2.4-2.6-2.7v-1.5c0-.2-.2-.4-.5-.4h-.9c-.2 0-.4.2-.5.4v1.5c-1.7.3-2.8 1.4-2.8 2.9 0 2.1 1.3 2.8 3.9 3.2 1.7.3 2.3.8 2.3 1.8s-.9 1.7-2.2 1.7c-1.7 0-2.3-.7-2.5-1.6-.1-.2-.2-.3-.4-.3h-1c-.2 0-.4.2-.4.4.3 1.6 1.3 2.6 3.1 2.9v1.5c0 .2.2.4.5.4h.9c.2 0 .4-.2.5-.4v-1.5c1.7-.3 2.8-1.5 2.8-3.1z",
|
|
2671
2802
|
fill: "#fff"
|
|
2672
2803
|
}
|
|
2673
2804
|
),
|
|
2674
|
-
/* @__PURE__ */
|
|
2805
|
+
/* @__PURE__ */ jsx77(
|
|
2675
2806
|
"path",
|
|
2676
2807
|
{
|
|
2677
2808
|
d: "M13.1 25.2c-4.6-1.6-7-6.7-5.3-11.3 1-2.7 3.1-4.5 5.7-5.3.2-.1.4-.3.4-.5v-.9c0-.2-.2-.4-.4-.4h-.1c-5.3 1.6-8.3 7.3-6.7 12.6 1 3.3 3.5 5.8 6.8 6.8.2.1.5-.1.5-.3v-.9c-.1-.3-.2-.5-.5-.6l-.4-.2zM19.3 6.8c-.2-.1-.5.1-.5.3v.9c0 .2.2.5.4.6 4.6 1.6 7 6.7 5.3 11.3-1 2.7-3.1 4.5-5.7 5.3-.2.1-.4.3-.4.5v.9c0 .2.2.4.4.4h.1c5.3-1.6 8.3-7.3 6.7-12.6-1-3.3-3.5-5.8-6.8-6.8l.5.2z",
|
|
@@ -2685,10 +2816,10 @@ var UsdcIcon = (_a) => {
|
|
|
2685
2816
|
UsdcIcon.displayName = "UsdcIcon";
|
|
2686
2817
|
|
|
2687
2818
|
// src/primitives/icon/svg/wallet.tsx
|
|
2688
|
-
import { jsx as
|
|
2819
|
+
import { jsx as jsx78, jsxs as jsxs78 } from "react/jsx-runtime";
|
|
2689
2820
|
var WalletIcon = (_a) => {
|
|
2690
2821
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2691
|
-
return /* @__PURE__ */
|
|
2822
|
+
return /* @__PURE__ */ jsxs78(
|
|
2692
2823
|
"svg",
|
|
2693
2824
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2694
2825
|
viewBox: "0 0 24 24",
|
|
@@ -2696,8 +2827,8 @@ var WalletIcon = (_a) => {
|
|
|
2696
2827
|
fill: "none"
|
|
2697
2828
|
}, getIconA11yProps(title2)), props), {
|
|
2698
2829
|
children: [
|
|
2699
|
-
title2 ? /* @__PURE__ */
|
|
2700
|
-
/* @__PURE__ */
|
|
2830
|
+
title2 ? /* @__PURE__ */ jsx78("title", { children: title2 }) : null,
|
|
2831
|
+
/* @__PURE__ */ jsx78(
|
|
2701
2832
|
"path",
|
|
2702
2833
|
{
|
|
2703
2834
|
d: "M21.5 6H4.5C3.354 6 2.279 5.433 1.628 4.501C2.262 3.594 3.313 3 4.5 3H23.5C23.776 3 24 2.776 24 2.5C24 2.224 23.776 2 23.5 2H4.5C2.015 2 0 4.015 0 6.5V17.5C0 19.985 2.015 22 4.5 22H21.5C22.881 22 24 20.881 24 19.5V8.5C24 7.119 22.881 6 21.5 6ZM23 19.5C23 20.327 22.327 21 21.5 21H4.5C2.57 21 1 19.43 1 17.5V6.5C1 6.152 1.051 5.816 1.146 5.499C1.992 6.441 3.21 7 4.5 7H21.5C22.327 7 23 7.673 23 8.5V19.5ZM21 14C21 14.552 20.552 15 20 15C19.448 15 19 14.552 19 14C19 13.448 19.448 13 20 13C20.552 13 21 13.448 21 14Z",
|
|
@@ -2711,10 +2842,10 @@ var WalletIcon = (_a) => {
|
|
|
2711
2842
|
WalletIcon.displayName = "WalletIcon";
|
|
2712
2843
|
|
|
2713
2844
|
// src/primitives/icon/svg/wallet-avatar.tsx
|
|
2714
|
-
import { jsx as
|
|
2845
|
+
import { jsx as jsx79, jsxs as jsxs79 } from "react/jsx-runtime";
|
|
2715
2846
|
function WalletAvatarIcon(_a) {
|
|
2716
2847
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2717
|
-
return /* @__PURE__ */
|
|
2848
|
+
return /* @__PURE__ */ jsxs79(
|
|
2718
2849
|
"svg",
|
|
2719
2850
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2720
2851
|
fill: "none",
|
|
@@ -2722,9 +2853,9 @@ function WalletAvatarIcon(_a) {
|
|
|
2722
2853
|
viewBox: "0 0 16 16"
|
|
2723
2854
|
}, getIconA11yProps(title2)), props), {
|
|
2724
2855
|
children: [
|
|
2725
|
-
title2 ? /* @__PURE__ */
|
|
2726
|
-
/* @__PURE__ */
|
|
2727
|
-
/* @__PURE__ */
|
|
2856
|
+
title2 ? /* @__PURE__ */ jsx79("title", { children: title2 }) : null,
|
|
2857
|
+
/* @__PURE__ */ jsx79("circle", { cx: "8", cy: "5.25", r: "2.25", fill: "currentColor" }),
|
|
2858
|
+
/* @__PURE__ */ jsx79("path", { d: "M3.75 12.75a4.25 4.25 0 0 1 8.5 0v.25h-8.5v-.25Z", fill: "currentColor" })
|
|
2728
2859
|
]
|
|
2729
2860
|
})
|
|
2730
2861
|
);
|
|
@@ -2732,10 +2863,10 @@ function WalletAvatarIcon(_a) {
|
|
|
2732
2863
|
WalletAvatarIcon.displayName = "WalletAvatarIcon";
|
|
2733
2864
|
|
|
2734
2865
|
// src/primitives/icon/svg/wallet-filled.tsx
|
|
2735
|
-
import { jsx as
|
|
2866
|
+
import { jsx as jsx80, jsxs as jsxs80 } from "react/jsx-runtime";
|
|
2736
2867
|
var WalletFilledIcon = (_a) => {
|
|
2737
2868
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2738
|
-
return /* @__PURE__ */
|
|
2869
|
+
return /* @__PURE__ */ jsxs80(
|
|
2739
2870
|
"svg",
|
|
2740
2871
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2741
2872
|
viewBox: "0 0 14 14",
|
|
@@ -2743,8 +2874,8 @@ var WalletFilledIcon = (_a) => {
|
|
|
2743
2874
|
fill: "none"
|
|
2744
2875
|
}, getIconA11yProps(title2)), props), {
|
|
2745
2876
|
children: [
|
|
2746
|
-
title2 ? /* @__PURE__ */
|
|
2747
|
-
/* @__PURE__ */
|
|
2877
|
+
title2 ? /* @__PURE__ */ jsx80("title", { children: title2 }) : null,
|
|
2878
|
+
/* @__PURE__ */ jsx80(
|
|
2748
2879
|
"path",
|
|
2749
2880
|
{
|
|
2750
2881
|
d: "M12.25 3.50008H2.91667C2.41558 3.50008 1.94133 3.28308 1.61292 2.91733C1.93375 2.55916 2.39983 2.33341 2.91667 2.33341H13.4167C13.7392 2.33341 14 2.07208 14 1.75008C14 1.42808 13.7392 1.16675 13.4167 1.16675H2.91667C1.30608 1.16675 0 2.47283 0 4.08342V9.91675C0 11.5273 1.30608 12.8334 2.91667 12.8334H12.25C13.2166 12.8334 14 12.05 14 11.0834V5.25008C14 4.2835 13.2166 3.50008 12.25 3.50008ZM12.8333 11.0834C12.8333 11.4048 12.572 11.6667 12.25 11.6667H2.91667C1.95183 11.6667 1.16667 10.8816 1.16667 9.91675V4.08225C1.66483 4.455 2.27733 4.66675 2.91667 4.66675H12.25C12.572 4.66675 12.8333 4.92866 12.8333 5.25008V11.0834ZM11.6667 8.16675C11.6667 8.48875 11.4053 8.75008 11.0833 8.75008C10.7613 8.75008 10.5 8.48875 10.5 8.16675C10.5 7.84475 10.7613 7.58342 11.0833 7.58342C11.4053 7.58342 11.6667 7.84475 11.6667 8.16675Z",
|
|
@@ -2758,10 +2889,10 @@ var WalletFilledIcon = (_a) => {
|
|
|
2758
2889
|
WalletFilledIcon.displayName = "WalletFilledIcon";
|
|
2759
2890
|
|
|
2760
2891
|
// src/primitives/icon/svg/paper-plane.tsx
|
|
2761
|
-
import { jsx as
|
|
2892
|
+
import { jsx as jsx81, jsxs as jsxs81 } from "react/jsx-runtime";
|
|
2762
2893
|
var PaperPlaneIcon = (_a) => {
|
|
2763
2894
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2764
|
-
return /* @__PURE__ */
|
|
2895
|
+
return /* @__PURE__ */ jsxs81(
|
|
2765
2896
|
"svg",
|
|
2766
2897
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2767
2898
|
viewBox: "0 0 24 24",
|
|
@@ -2769,15 +2900,15 @@ var PaperPlaneIcon = (_a) => {
|
|
|
2769
2900
|
fill: "none"
|
|
2770
2901
|
}, getIconA11yProps(title2)), props), {
|
|
2771
2902
|
children: [
|
|
2772
|
-
title2 ? /* @__PURE__ */
|
|
2773
|
-
/* @__PURE__ */
|
|
2903
|
+
title2 ? /* @__PURE__ */ jsx81("title", { children: title2 }) : null,
|
|
2904
|
+
/* @__PURE__ */ jsx81("g", { clipPath: "url(#paper-plane-clip)", children: /* @__PURE__ */ jsx81(
|
|
2774
2905
|
"path",
|
|
2775
2906
|
{
|
|
2776
2907
|
d: "M23.149 0.854808C22.43 0.135808 21.42 -0.152192 20.441 0.0858076L4.21901 4.30981C2.13901 4.59681 0.532009 6.10881 0.125009 8.16081C-0.184991 9.72081 0.349009 11.3698 1.56401 12.5848L3.00101 13.9388V18.5008C3.00101 19.1868 3.27901 19.8088 3.72801 20.2608C3.73001 20.2628 3.73101 20.2658 3.73301 20.2688C3.73501 20.2718 3.73801 20.2718 3.74101 20.2738C4.19301 20.7228 4.81501 21.0008 5.50101 21.0008H10.075L11.456 22.4768C12.438 23.4588 13.757 23.9978 15.059 23.9978C15.525 23.9978 15.989 23.9288 16.434 23.7868C18.218 23.2178 19.478 21.7408 19.713 19.9878L23.91 3.60081C24.154 2.60181 23.87 1.57681 23.15 0.855808L23.149 0.854808ZM2.26001 11.8668C1.29301 10.8988 0.861009 9.58681 1.10501 8.35481C1.42801 6.72781 2.70401 5.52881 4.41401 5.28881L20.686 1.05681C20.83 1.02181 20.976 1.00481 21.12 1.00481C21.441 1.00481 21.753 1.09781 22.035 1.25981L4.15001 19.1438C4.05601 18.9478 4.00001 18.7318 4.00001 18.5008V13.7228C4.00001 13.5848 3.94301 13.4528 3.84301 13.3588L2.26001 11.8668ZM22.939 3.35781L18.731 19.7958C18.538 21.2188 17.541 22.3828 16.128 22.8328C14.789 23.2588 13.232 22.8408 12.172 21.7808L10.654 20.1588C10.559 20.0578 10.427 20.0008 10.289 20.0008H5.50001C5.26901 20.0008 5.05301 19.9438 4.85701 19.8508L22.746 1.96181C22.984 2.37781 23.058 2.87381 22.939 3.35781Z",
|
|
2777
2908
|
fill: "currentColor"
|
|
2778
2909
|
}
|
|
2779
2910
|
) }),
|
|
2780
|
-
/* @__PURE__ */
|
|
2911
|
+
/* @__PURE__ */ jsx81("defs", { children: /* @__PURE__ */ jsx81("clipPath", { id: "paper-plane-clip", children: /* @__PURE__ */ jsx81("rect", { width: "24", height: "24", fill: "white" }) }) })
|
|
2781
2912
|
]
|
|
2782
2913
|
})
|
|
2783
2914
|
);
|
|
@@ -2785,10 +2916,10 @@ var PaperPlaneIcon = (_a) => {
|
|
|
2785
2916
|
PaperPlaneIcon.displayName = "PaperPlaneIcon";
|
|
2786
2917
|
|
|
2787
2918
|
// src/primitives/icon/svg/warning.tsx
|
|
2788
|
-
import { jsx as
|
|
2919
|
+
import { jsx as jsx82, jsxs as jsxs82 } from "react/jsx-runtime";
|
|
2789
2920
|
var WarningIcon = (_a) => {
|
|
2790
2921
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2791
|
-
return /* @__PURE__ */
|
|
2922
|
+
return /* @__PURE__ */ jsxs82(
|
|
2792
2923
|
"svg",
|
|
2793
2924
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2794
2925
|
width: "14",
|
|
@@ -2799,8 +2930,8 @@ var WarningIcon = (_a) => {
|
|
|
2799
2930
|
className
|
|
2800
2931
|
}, getIconA11yProps(title2)), props), {
|
|
2801
2932
|
children: [
|
|
2802
|
-
title2 ? /* @__PURE__ */
|
|
2803
|
-
/* @__PURE__ */
|
|
2933
|
+
title2 ? /* @__PURE__ */ jsx82("title", { children: title2 }) : null,
|
|
2934
|
+
/* @__PURE__ */ jsx82(
|
|
2804
2935
|
"path",
|
|
2805
2936
|
{
|
|
2806
2937
|
d: "M6.41665 8.1665V4.6665C6.41665 4.34567 6.67915 4.08317 6.99998 4.08317C7.32082 4.08317 7.58332 4.34567 7.58332 4.6665V8.1665C7.58332 8.48734 7.32082 8.74984 6.99998 8.74984C6.67915 8.74984 6.41665 8.48734 6.41665 8.1665ZM6.99998 9.33317C6.51582 9.33317 6.12498 9.724 6.12498 10.2082C6.12498 10.6923 6.51582 11.0832 6.99998 11.0832C7.48415 11.0832 7.87498 10.6923 7.87498 10.2082C7.87498 9.724 7.48415 9.33317 6.99998 9.33317ZM13.755 12.1798C13.3467 12.9673 12.4892 13.4165 11.4158 13.4165H2.58998C1.51082 13.4165 0.659151 12.9673 0.250818 12.1798C-0.163348 11.3865 -0.0466818 10.3715 0.542485 9.51984L5.23248 2.09984C5.64665 1.50484 6.29998 1.1665 6.99998 1.1665C7.69999 1.1665 8.35332 1.50484 8.74998 2.08234L13.4633 9.5315C14.0525 10.3832 14.1633 11.3923 13.7492 12.1798H13.755ZM12.5008 10.1848C12.5008 10.1848 12.4892 10.1732 12.4892 10.1615L7.78165 2.724C7.61248 2.48484 7.32082 2.33317 6.99998 2.33317C6.67915 2.33317 6.38749 2.48484 6.20665 2.74734L1.51082 10.1615C1.14915 10.6748 1.06748 11.2348 1.27748 11.6373C1.48165 12.034 1.94832 12.2498 2.58415 12.2498H11.4042C12.04 12.2498 12.5067 12.034 12.7108 11.6373C12.9208 11.2348 12.8392 10.6748 12.495 10.1848H12.5008Z",
|
|
@@ -2814,10 +2945,10 @@ var WarningIcon = (_a) => {
|
|
|
2814
2945
|
WarningIcon.displayName = "WarningIcon";
|
|
2815
2946
|
|
|
2816
2947
|
// src/primitives/icon/svg/warning-filled.tsx
|
|
2817
|
-
import { jsx as
|
|
2948
|
+
import { jsx as jsx83, jsxs as jsxs83 } from "react/jsx-runtime";
|
|
2818
2949
|
var WarningFilledIcon = (_a) => {
|
|
2819
2950
|
var _b = _a, { title: title2, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2820
|
-
return /* @__PURE__ */
|
|
2951
|
+
return /* @__PURE__ */ jsxs83(
|
|
2821
2952
|
"svg",
|
|
2822
2953
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2823
2954
|
viewBox: "0 0 16 16",
|
|
@@ -2825,8 +2956,8 @@ var WarningFilledIcon = (_a) => {
|
|
|
2825
2956
|
fill: "none"
|
|
2826
2957
|
}, getIconA11yProps(title2)), props), {
|
|
2827
2958
|
children: [
|
|
2828
|
-
title2 ? /* @__PURE__ */
|
|
2829
|
-
/* @__PURE__ */
|
|
2959
|
+
title2 ? /* @__PURE__ */ jsx83("title", { children: title2 }) : null,
|
|
2960
|
+
/* @__PURE__ */ jsx83(
|
|
2830
2961
|
"path",
|
|
2831
2962
|
{
|
|
2832
2963
|
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",
|
|
@@ -2899,6 +3030,10 @@ var iconRegistry = {
|
|
|
2899
3030
|
search: SearchIcon,
|
|
2900
3031
|
"shield-trust": ShieldTrustIcon,
|
|
2901
3032
|
solana: SolanaIcon,
|
|
3033
|
+
"sort-end-date": SortEndDateIcon,
|
|
3034
|
+
"sort-top-arbitrage": SortTopArbitrageIcon,
|
|
3035
|
+
"sort-volume": SortVolumeIcon,
|
|
3036
|
+
"sort-volume-24hr": SortVolume24hrIcon,
|
|
2902
3037
|
"sparkles-filled": SparklesFilledIcon,
|
|
2903
3038
|
spinner: SpinnerIcon,
|
|
2904
3039
|
"stay-in-control": StayInControlIcon,
|
|
@@ -2930,7 +3065,7 @@ var resolveIconStyle = (color, style) => {
|
|
|
2930
3065
|
};
|
|
2931
3066
|
|
|
2932
3067
|
// src/primitives/icon/index.tsx
|
|
2933
|
-
import { jsx as
|
|
3068
|
+
import { jsx as jsx84 } from "react/jsx-runtime";
|
|
2934
3069
|
var Icon = (_a) => {
|
|
2935
3070
|
var _b = _a, {
|
|
2936
3071
|
name,
|
|
@@ -2954,7 +3089,7 @@ var Icon = (_a) => {
|
|
|
2954
3089
|
}
|
|
2955
3090
|
const resolvedStyle = resolveIconStyle(color, style);
|
|
2956
3091
|
const resolvedClassName = cn(iconSizeClasses[size], className);
|
|
2957
|
-
return /* @__PURE__ */
|
|
3092
|
+
return /* @__PURE__ */ jsx84(
|
|
2958
3093
|
Component2,
|
|
2959
3094
|
__spreadValues({
|
|
2960
3095
|
color,
|
|
@@ -2993,7 +3128,7 @@ var resolveIsDisabled = ({
|
|
|
2993
3128
|
};
|
|
2994
3129
|
|
|
2995
3130
|
// src/primitives/autocomplete-select/index.tsx
|
|
2996
|
-
import { jsx as
|
|
3131
|
+
import { jsx as jsx85, jsxs as jsxs84 } from "react/jsx-runtime";
|
|
2997
3132
|
var AutocompleteSelect = ({
|
|
2998
3133
|
options,
|
|
2999
3134
|
value,
|
|
@@ -3131,14 +3266,14 @@ var AutocompleteSelect = ({
|
|
|
3131
3266
|
optionRefs.current.delete(index);
|
|
3132
3267
|
}
|
|
3133
3268
|
}, []);
|
|
3134
|
-
return /* @__PURE__ */
|
|
3269
|
+
return /* @__PURE__ */ jsxs84(
|
|
3135
3270
|
"div",
|
|
3136
3271
|
{
|
|
3137
3272
|
ref: containerRef,
|
|
3138
3273
|
className: cn("group/agg-autocomplete", "relative inline-flex w-full", className),
|
|
3139
3274
|
onKeyDown: handleKeyDown,
|
|
3140
3275
|
children: [
|
|
3141
|
-
/* @__PURE__ */
|
|
3276
|
+
/* @__PURE__ */ jsx85(
|
|
3142
3277
|
"button",
|
|
3143
3278
|
{
|
|
3144
3279
|
ref: triggerRef,
|
|
@@ -3163,11 +3298,11 @@ var AutocompleteSelect = ({
|
|
|
3163
3298
|
e.preventDefault();
|
|
3164
3299
|
handleToggle();
|
|
3165
3300
|
},
|
|
3166
|
-
children: /* @__PURE__ */
|
|
3301
|
+
children: /* @__PURE__ */ jsx85("span", { className: "agg-autocomplete-value flex-1 truncate", children: (_b = (_a = selectedOption == null ? void 0 : selectedOption.label) != null ? _a : placeholder) != null ? _b : "" })
|
|
3167
3302
|
}
|
|
3168
3303
|
),
|
|
3169
|
-
/* @__PURE__ */
|
|
3170
|
-
isOpen ? /* @__PURE__ */
|
|
3304
|
+
/* @__PURE__ */ jsx85("span", { className: "agg-autocomplete-chevron pointer-events-none absolute inset-y-0 right-3 inline-flex items-center justify-center text-agg-muted-foreground", children: /* @__PURE__ */ jsx85(Icon, { name: "chevron-down", size: "small", color: "currentColor" }) }),
|
|
3305
|
+
isOpen ? /* @__PURE__ */ jsxs84(
|
|
3171
3306
|
"div",
|
|
3172
3307
|
{
|
|
3173
3308
|
className: cn(
|
|
@@ -3176,7 +3311,7 @@ var AutocompleteSelect = ({
|
|
|
3176
3311
|
),
|
|
3177
3312
|
onClick: (e) => e.stopPropagation(),
|
|
3178
3313
|
children: [
|
|
3179
|
-
/* @__PURE__ */
|
|
3314
|
+
/* @__PURE__ */ jsx85("div", { className: "border-b border-agg-separator px-3 py-2", children: /* @__PURE__ */ jsx85(
|
|
3180
3315
|
"input",
|
|
3181
3316
|
{
|
|
3182
3317
|
ref: searchInputRef,
|
|
@@ -3193,7 +3328,7 @@ var AutocompleteSelect = ({
|
|
|
3193
3328
|
onChange: handleSearchChange
|
|
3194
3329
|
}
|
|
3195
3330
|
) }),
|
|
3196
|
-
/* @__PURE__ */
|
|
3331
|
+
/* @__PURE__ */ jsx85(
|
|
3197
3332
|
"div",
|
|
3198
3333
|
{
|
|
3199
3334
|
role: "listbox",
|
|
@@ -3202,7 +3337,7 @@ var AutocompleteSelect = ({
|
|
|
3202
3337
|
children: filteredOptions.length > 0 ? filteredOptions.map((option, index) => {
|
|
3203
3338
|
const isSelected = option.value === value;
|
|
3204
3339
|
const isHighlighted = index === highlightedIndex;
|
|
3205
|
-
return /* @__PURE__ */
|
|
3340
|
+
return /* @__PURE__ */ jsx85(
|
|
3206
3341
|
"button",
|
|
3207
3342
|
{
|
|
3208
3343
|
ref: (el) => setOptionRef(index, el),
|
|
@@ -3225,11 +3360,11 @@ var AutocompleteSelect = ({
|
|
|
3225
3360
|
handleSelect(option.value);
|
|
3226
3361
|
},
|
|
3227
3362
|
onMouseEnter: () => setHighlightedIndex(index),
|
|
3228
|
-
children: /* @__PURE__ */
|
|
3363
|
+
children: /* @__PURE__ */ jsx85("span", { className: "agg-autocomplete-item-label truncate", children: option.label })
|
|
3229
3364
|
},
|
|
3230
3365
|
option.value
|
|
3231
3366
|
);
|
|
3232
|
-
}) : /* @__PURE__ */
|
|
3367
|
+
}) : /* @__PURE__ */ jsx85("div", { className: "agg-autocomplete-empty px-4 py-3 text-center text-agg-sm text-agg-muted-foreground", children: emptyLabel != null ? emptyLabel : "No results" })
|
|
3233
3368
|
}
|
|
3234
3369
|
)
|
|
3235
3370
|
]
|
|
@@ -3285,7 +3420,7 @@ var getBadgeClassName = ({
|
|
|
3285
3420
|
};
|
|
3286
3421
|
|
|
3287
3422
|
// src/primitives/badge/index.tsx
|
|
3288
|
-
import { jsx as
|
|
3423
|
+
import { jsx as jsx86, jsxs as jsxs85 } from "react/jsx-runtime";
|
|
3289
3424
|
function Badge({
|
|
3290
3425
|
text,
|
|
3291
3426
|
prefix,
|
|
@@ -3300,7 +3435,7 @@ function Badge({
|
|
|
3300
3435
|
features: { enableAnimations }
|
|
3301
3436
|
} = useSdkUiConfig2();
|
|
3302
3437
|
const resolvedAriaLabel = resolveBadgeAriaLabel(text);
|
|
3303
|
-
return /* @__PURE__ */
|
|
3438
|
+
return /* @__PURE__ */ jsxs85(
|
|
3304
3439
|
"span",
|
|
3305
3440
|
__spreadProps(__spreadValues({
|
|
3306
3441
|
"aria-label": resolvedAriaLabel,
|
|
@@ -3319,9 +3454,9 @@ function Badge({
|
|
|
3319
3454
|
tabIndex: 0
|
|
3320
3455
|
}), {
|
|
3321
3456
|
children: [
|
|
3322
|
-
prefix ? /* @__PURE__ */
|
|
3323
|
-
/* @__PURE__ */
|
|
3324
|
-
suffix ? /* @__PURE__ */
|
|
3457
|
+
prefix ? /* @__PURE__ */ jsx86("span", { className: cn(classNames == null ? void 0 : classNames.prefix, "empty:hidden"), children: prefix }) : null,
|
|
3458
|
+
/* @__PURE__ */ jsx86("span", { className: cn("truncate", classNames == null ? void 0 : classNames.text), children: text }),
|
|
3459
|
+
suffix ? /* @__PURE__ */ jsx86("span", { className: cn(classNames == null ? void 0 : classNames.suffix, "empty:hidden"), children: suffix }) : null
|
|
3325
3460
|
]
|
|
3326
3461
|
})
|
|
3327
3462
|
);
|
|
@@ -3400,7 +3535,7 @@ var getButtonClassName = ({
|
|
|
3400
3535
|
};
|
|
3401
3536
|
|
|
3402
3537
|
// src/primitives/button/index.tsx
|
|
3403
|
-
import { Fragment, jsx as
|
|
3538
|
+
import { Fragment, jsx as jsx87, jsxs as jsxs86 } from "react/jsx-runtime";
|
|
3404
3539
|
var Button = (_a) => {
|
|
3405
3540
|
var _b = _a, {
|
|
3406
3541
|
children,
|
|
@@ -3412,6 +3547,7 @@ var Button = (_a) => {
|
|
|
3412
3547
|
suffix,
|
|
3413
3548
|
type = "button",
|
|
3414
3549
|
className,
|
|
3550
|
+
classNames,
|
|
3415
3551
|
"aria-label": ariaLabel
|
|
3416
3552
|
} = _b, other = __objRest(_b, [
|
|
3417
3553
|
"children",
|
|
@@ -3423,22 +3559,28 @@ var Button = (_a) => {
|
|
|
3423
3559
|
"suffix",
|
|
3424
3560
|
"type",
|
|
3425
3561
|
"className",
|
|
3562
|
+
"classNames",
|
|
3426
3563
|
"aria-label"
|
|
3427
3564
|
]);
|
|
3428
3565
|
const {
|
|
3429
3566
|
features: { enableAnimations }
|
|
3430
3567
|
} = useSdkUiConfig3();
|
|
3431
3568
|
const isDisabled = resolveButtonIsDisabled({ disabled, isLoading });
|
|
3432
|
-
return /* @__PURE__ */
|
|
3569
|
+
return /* @__PURE__ */ jsx87(
|
|
3433
3570
|
"button",
|
|
3434
3571
|
__spreadProps(__spreadValues({
|
|
3435
3572
|
type,
|
|
3436
|
-
className: getButtonClassName({
|
|
3573
|
+
className: getButtonClassName({
|
|
3574
|
+
className: cn(classNames == null ? void 0 : classNames.root, className),
|
|
3575
|
+
enableAnimations,
|
|
3576
|
+
size,
|
|
3577
|
+
variant
|
|
3578
|
+
}),
|
|
3437
3579
|
disabled: isDisabled,
|
|
3438
3580
|
"aria-busy": isLoading,
|
|
3439
3581
|
"aria-label": ariaLabel
|
|
3440
3582
|
}, other), {
|
|
3441
|
-
children: isLoading ? /* @__PURE__ */
|
|
3583
|
+
children: isLoading ? /* @__PURE__ */ jsx87(
|
|
3442
3584
|
"span",
|
|
3443
3585
|
{
|
|
3444
3586
|
className: cn(
|
|
@@ -3449,12 +3591,16 @@ var Button = (_a) => {
|
|
|
3449
3591
|
),
|
|
3450
3592
|
"aria-hidden": "true"
|
|
3451
3593
|
}
|
|
3452
|
-
) : /* @__PURE__ */
|
|
3594
|
+
) : /* @__PURE__ */ jsxs86(Fragment, { children: [
|
|
3453
3595
|
prefix != null ? prefix : null,
|
|
3454
|
-
/* @__PURE__ */
|
|
3596
|
+
/* @__PURE__ */ jsx87(
|
|
3455
3597
|
"span",
|
|
3456
3598
|
{
|
|
3457
|
-
className: cn(
|
|
3599
|
+
className: cn(
|
|
3600
|
+
"group/span-agg-button agg-button-label",
|
|
3601
|
+
"whitespace-nowrap truncate",
|
|
3602
|
+
classNames == null ? void 0 : classNames.label
|
|
3603
|
+
),
|
|
3458
3604
|
children
|
|
3459
3605
|
}
|
|
3460
3606
|
),
|
|
@@ -3491,7 +3637,7 @@ var getCardClassName = ({
|
|
|
3491
3637
|
};
|
|
3492
3638
|
|
|
3493
3639
|
// src/primitives/card/index.tsx
|
|
3494
|
-
import { jsx as
|
|
3640
|
+
import { jsx as jsx88, jsxs as jsxs87 } from "react/jsx-runtime";
|
|
3495
3641
|
var Card = (_a) => {
|
|
3496
3642
|
var _b = _a, {
|
|
3497
3643
|
className,
|
|
@@ -3514,16 +3660,16 @@ var Card = (_a) => {
|
|
|
3514
3660
|
hasHref: !!href,
|
|
3515
3661
|
withGradient
|
|
3516
3662
|
});
|
|
3517
|
-
const inner = href ? /* @__PURE__ */
|
|
3663
|
+
const inner = href ? /* @__PURE__ */ jsx88(
|
|
3518
3664
|
"a",
|
|
3519
3665
|
__spreadValues(__spreadValues({
|
|
3520
3666
|
href,
|
|
3521
3667
|
className: resolvedClassName
|
|
3522
3668
|
}, onClick ? { onClick } : {}), props)
|
|
3523
|
-
) : /* @__PURE__ */
|
|
3669
|
+
) : /* @__PURE__ */ jsx88("div", __spreadValues(__spreadValues({ className: resolvedClassName }, onClick ? { onClick } : {}), props));
|
|
3524
3670
|
if (withGradient) {
|
|
3525
|
-
return /* @__PURE__ */
|
|
3526
|
-
/* @__PURE__ */
|
|
3671
|
+
return /* @__PURE__ */ jsxs87("div", { className: "group/agg-card-gradient rounded-agg-xl p-[1px] relative bg-agg-separator", children: [
|
|
3672
|
+
/* @__PURE__ */ jsx88(
|
|
3527
3673
|
"div",
|
|
3528
3674
|
{
|
|
3529
3675
|
className: "absolute inset-0 rounded-agg-xl bg-gradient-to-b from-agg-separator to-agg-primary opacity-0 group-hover/agg-card-gradient:opacity-100 transition-opacity duration-200 ease-in-out pointer-events-none"
|
|
@@ -3595,7 +3741,7 @@ var getSwitchButtonOptionClassName = (enableAnimations, isActive) => {
|
|
|
3595
3741
|
};
|
|
3596
3742
|
|
|
3597
3743
|
// src/primitives/switch-button/index.tsx
|
|
3598
|
-
import { jsx as
|
|
3744
|
+
import { jsx as jsx89, jsxs as jsxs88 } from "react/jsx-runtime";
|
|
3599
3745
|
var SwitchButton = ({
|
|
3600
3746
|
options,
|
|
3601
3747
|
value,
|
|
@@ -3647,7 +3793,7 @@ var SwitchButton = ({
|
|
|
3647
3793
|
}
|
|
3648
3794
|
onValueChange(nextOption.value);
|
|
3649
3795
|
};
|
|
3650
|
-
return /* @__PURE__ */
|
|
3796
|
+
return /* @__PURE__ */ jsx89("div", { className: getSwitchButtonContainerClassName(enableAnimations, className), children: /* @__PURE__ */ jsxs88(
|
|
3651
3797
|
"div",
|
|
3652
3798
|
{
|
|
3653
3799
|
className: SWITCH_BUTTON_TRACK_CLASS_NAME,
|
|
@@ -3657,7 +3803,7 @@ var SwitchButton = ({
|
|
|
3657
3803
|
role: "tablist",
|
|
3658
3804
|
"aria-label": ariaLabel,
|
|
3659
3805
|
children: [
|
|
3660
|
-
/* @__PURE__ */
|
|
3806
|
+
/* @__PURE__ */ jsx89(
|
|
3661
3807
|
"span",
|
|
3662
3808
|
{
|
|
3663
3809
|
className: getSwitchButtonTrackHighlightClassName(enableAnimations),
|
|
@@ -3671,7 +3817,7 @@ var SwitchButton = ({
|
|
|
3671
3817
|
options.map((option, optionIndex) => {
|
|
3672
3818
|
var _a;
|
|
3673
3819
|
const isActive = optionIndex === activeIndex;
|
|
3674
|
-
return /* @__PURE__ */
|
|
3820
|
+
return /* @__PURE__ */ jsx89(
|
|
3675
3821
|
"button",
|
|
3676
3822
|
{
|
|
3677
3823
|
type: "button",
|
|
@@ -3855,7 +4001,7 @@ var resolveSelectedSeries = (series, activeSeriesId) => {
|
|
|
3855
4001
|
};
|
|
3856
4002
|
|
|
3857
4003
|
// src/primitives/chart/index.tsx
|
|
3858
|
-
import { jsx as
|
|
4004
|
+
import { jsx as jsx90, jsxs as jsxs89 } from "react/jsx-runtime";
|
|
3859
4005
|
var renderDefaultSeriesControls = ({
|
|
3860
4006
|
series,
|
|
3861
4007
|
activeSeriesId,
|
|
@@ -3864,7 +4010,7 @@ var renderDefaultSeriesControls = ({
|
|
|
3864
4010
|
seriesSwitchAriaLabel,
|
|
3865
4011
|
formatSeriesOptionAriaLabel
|
|
3866
4012
|
}) => {
|
|
3867
|
-
return /* @__PURE__ */
|
|
4013
|
+
return /* @__PURE__ */ jsx90(
|
|
3868
4014
|
SwitchButton,
|
|
3869
4015
|
{
|
|
3870
4016
|
ariaLabel: seriesSwitchAriaLabel,
|
|
@@ -4003,7 +4149,7 @@ var LineChart = ({
|
|
|
4003
4149
|
seriesSwitchAriaLabel: labels.common.lineChartSeriesSwitchAria,
|
|
4004
4150
|
formatSeriesOptionAriaLabel: labels.common.lineChartSeriesOptionAria
|
|
4005
4151
|
}) : null : null;
|
|
4006
|
-
return /* @__PURE__ */
|
|
4152
|
+
return /* @__PURE__ */ jsxs89(
|
|
4007
4153
|
"div",
|
|
4008
4154
|
{
|
|
4009
4155
|
ref: chartRootRef,
|
|
@@ -4014,7 +4160,7 @@ var LineChart = ({
|
|
|
4014
4160
|
),
|
|
4015
4161
|
style: { width, minHeight: height },
|
|
4016
4162
|
children: [
|
|
4017
|
-
!isLoading && seriesControls ? /* @__PURE__ */
|
|
4163
|
+
!isLoading && seriesControls ? /* @__PURE__ */ jsx90(
|
|
4018
4164
|
"div",
|
|
4019
4165
|
{
|
|
4020
4166
|
className: cn(
|
|
@@ -4026,7 +4172,7 @@ var LineChart = ({
|
|
|
4026
4172
|
children: seriesControls
|
|
4027
4173
|
}
|
|
4028
4174
|
) : null,
|
|
4029
|
-
/* @__PURE__ */
|
|
4175
|
+
/* @__PURE__ */ jsx90(
|
|
4030
4176
|
"div",
|
|
4031
4177
|
{
|
|
4032
4178
|
className: cn(
|
|
@@ -4038,7 +4184,7 @@ var LineChart = ({
|
|
|
4038
4184
|
role: "img",
|
|
4039
4185
|
"aria-label": chartType === "candlestick" ? labels.common.candlestickChartAria : labels.common.lineChartAria,
|
|
4040
4186
|
style: { height },
|
|
4041
|
-
children: /* @__PURE__ */
|
|
4187
|
+
children: /* @__PURE__ */ jsx90(
|
|
4042
4188
|
Liveline,
|
|
4043
4189
|
{
|
|
4044
4190
|
className: cn("agg-livechart agg-chart-canvas h-full w-full", classNames == null ? void 0 : classNames.liveline),
|
|
@@ -4083,7 +4229,7 @@ LineChart.displayName = "LineChart";
|
|
|
4083
4229
|
|
|
4084
4230
|
// src/primitives/copy-button/index.tsx
|
|
4085
4231
|
import { useCallback as useCallback2, useEffect as useEffect4, useRef as useRef3, useState as useState4 } from "react";
|
|
4086
|
-
import { jsx as
|
|
4232
|
+
import { jsx as jsx91, jsxs as jsxs90 } from "react/jsx-runtime";
|
|
4087
4233
|
var CopyButton = ({
|
|
4088
4234
|
value,
|
|
4089
4235
|
label: label2,
|
|
@@ -4115,7 +4261,7 @@ var CopyButton = ({
|
|
|
4115
4261
|
}, [onCopy, resetMs, value]);
|
|
4116
4262
|
const showLabel = label2 !== void 0 || copiedLabel !== void 0;
|
|
4117
4263
|
const visibleLabel = isCopied ? copiedLabel != null ? copiedLabel : label2 : label2;
|
|
4118
|
-
return /* @__PURE__ */
|
|
4264
|
+
return /* @__PURE__ */ jsxs90(
|
|
4119
4265
|
"button",
|
|
4120
4266
|
{
|
|
4121
4267
|
type: "button",
|
|
@@ -4128,8 +4274,8 @@ var CopyButton = ({
|
|
|
4128
4274
|
className
|
|
4129
4275
|
),
|
|
4130
4276
|
children: [
|
|
4131
|
-
isCopied ? /* @__PURE__ */
|
|
4132
|
-
showLabel ? /* @__PURE__ */
|
|
4277
|
+
isCopied ? /* @__PURE__ */ jsx91(CheckCircleIcon, { className: iconClassName }) : /* @__PURE__ */ jsx91(CopyIcon, { className: iconClassName }),
|
|
4278
|
+
showLabel ? /* @__PURE__ */ jsx91("span", { className: "agg-type-label-strong", children: visibleLabel }) : null
|
|
4133
4279
|
]
|
|
4134
4280
|
}
|
|
4135
4281
|
);
|
|
@@ -4229,7 +4375,7 @@ var sanitizeCurrencyInputPastedValue = (input, parts, decimalPlaces) => {
|
|
|
4229
4375
|
};
|
|
4230
4376
|
|
|
4231
4377
|
// src/primitives/currency-input/index.tsx
|
|
4232
|
-
import { jsx as
|
|
4378
|
+
import { jsx as jsx92 } from "react/jsx-runtime";
|
|
4233
4379
|
var CurrencyInput = ({
|
|
4234
4380
|
value,
|
|
4235
4381
|
onChange,
|
|
@@ -4357,7 +4503,7 @@ var CurrencyInput = ({
|
|
|
4357
4503
|
onChange == null ? void 0 : onChange(nextValue);
|
|
4358
4504
|
onBlur == null ? void 0 : onBlur();
|
|
4359
4505
|
};
|
|
4360
|
-
return /* @__PURE__ */
|
|
4506
|
+
return /* @__PURE__ */ jsx92(
|
|
4361
4507
|
"input",
|
|
4362
4508
|
{
|
|
4363
4509
|
ref: inputRef,
|
|
@@ -4390,8 +4536,8 @@ CurrencyInput.displayName = "CurrencyInput";
|
|
|
4390
4536
|
import { Fragment as Fragment2 } from "react";
|
|
4391
4537
|
|
|
4392
4538
|
// src/primitives/footer/agg-build-logo.tsx
|
|
4393
|
-
import { jsx as
|
|
4394
|
-
var AggBuildIcon = (props) => /* @__PURE__ */
|
|
4539
|
+
import { jsx as jsx93, jsxs as jsxs91 } from "react/jsx-runtime";
|
|
4540
|
+
var AggBuildIcon = (props) => /* @__PURE__ */ jsxs91(
|
|
4395
4541
|
"svg",
|
|
4396
4542
|
__spreadProps(__spreadValues({
|
|
4397
4543
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4402,29 +4548,29 @@ var AggBuildIcon = (props) => /* @__PURE__ */ jsxs87(
|
|
|
4402
4548
|
"aria-hidden": "true"
|
|
4403
4549
|
}, props), {
|
|
4404
4550
|
children: [
|
|
4405
|
-
/* @__PURE__ */
|
|
4551
|
+
/* @__PURE__ */ jsx93(
|
|
4406
4552
|
"path",
|
|
4407
4553
|
{
|
|
4408
4554
|
d: "M14.6158 5.73509L12.5568 13.8499C12.5088 14.0367 12.3434 14.17 12.1567 14.17L4.22474 14.1807C4.05404 14.1807 3.95803 14.3834 4.05938 14.5222L5.00353 15.8293C5.08355 15.936 5.20623 16 5.33425 16L9.41493 15.9947C11.9967 15.9893 14.2477 14.1914 14.9038 11.6038L15.9867 7.32498C16.0187 7.19692 15.992 7.06353 15.9173 6.9622L14.9732 5.66037C14.8718 5.5217 14.6585 5.56436 14.6158 5.73509Z",
|
|
4409
4555
|
fill: "url(#agg-build-icon-g0)"
|
|
4410
4556
|
}
|
|
4411
4557
|
),
|
|
4412
|
-
/* @__PURE__ */
|
|
4558
|
+
/* @__PURE__ */ jsx93(
|
|
4413
4559
|
"path",
|
|
4414
4560
|
{
|
|
4415
4561
|
d: "M1.38421 10.2649L3.44322 2.15006C3.49123 1.96334 3.65659 1.82995 3.84328 1.82995L11.7753 1.81928C11.946 1.81928 12.042 1.61656 11.9406 1.47784L10.9965 0.170723C10.9165 0.0640015 10.7938 0 10.6657 0L6.58507 0.00533456C4.00331 0.010668 1.75227 1.80862 1.09616 4.39618L0.0133177 8.67502C-0.0186876 8.80308 0.00798503 8.93647 0.082664 9.0378L1.02682 10.3396C1.12817 10.4783 1.34154 10.4356 1.38421 10.2649Z",
|
|
4416
4562
|
fill: "url(#agg-build-icon-g1)"
|
|
4417
4563
|
}
|
|
4418
4564
|
),
|
|
4419
|
-
/* @__PURE__ */
|
|
4565
|
+
/* @__PURE__ */ jsx93(
|
|
4420
4566
|
"path",
|
|
4421
4567
|
{
|
|
4422
4568
|
d: "M9.55357 10.5796L5.15284 10.585C4.98215 10.585 4.85946 10.4196 4.90213 10.2489L6.04365 5.73529C6.09166 5.54857 6.25702 5.41518 6.44372 5.41518L10.726 5.41033C10.9426 5.41008 11.102 5.61332 11.05 5.82363L9.95363 10.2595C9.90563 10.4462 9.74027 10.5796 9.55357 10.5796Z",
|
|
4423
4569
|
fill: "url(#agg-build-icon-g2)"
|
|
4424
4570
|
}
|
|
4425
4571
|
),
|
|
4426
|
-
/* @__PURE__ */
|
|
4427
|
-
/* @__PURE__ */
|
|
4572
|
+
/* @__PURE__ */ jsxs91("defs", { children: [
|
|
4573
|
+
/* @__PURE__ */ jsxs91(
|
|
4428
4574
|
"linearGradient",
|
|
4429
4575
|
{
|
|
4430
4576
|
id: "agg-build-icon-g0",
|
|
@@ -4434,12 +4580,12 @@ var AggBuildIcon = (props) => /* @__PURE__ */ jsxs87(
|
|
|
4434
4580
|
y2: "16",
|
|
4435
4581
|
gradientUnits: "userSpaceOnUse",
|
|
4436
4582
|
children: [
|
|
4437
|
-
/* @__PURE__ */
|
|
4438
|
-
/* @__PURE__ */
|
|
4583
|
+
/* @__PURE__ */ jsx93("stop", { stopColor: "#FE9943" }),
|
|
4584
|
+
/* @__PURE__ */ jsx93("stop", { offset: "1", stopColor: "#FE763C" })
|
|
4439
4585
|
]
|
|
4440
4586
|
}
|
|
4441
4587
|
),
|
|
4442
|
-
/* @__PURE__ */
|
|
4588
|
+
/* @__PURE__ */ jsxs91(
|
|
4443
4589
|
"linearGradient",
|
|
4444
4590
|
{
|
|
4445
4591
|
id: "agg-build-icon-g1",
|
|
@@ -4449,12 +4595,12 @@ var AggBuildIcon = (props) => /* @__PURE__ */ jsxs87(
|
|
|
4449
4595
|
y2: "16",
|
|
4450
4596
|
gradientUnits: "userSpaceOnUse",
|
|
4451
4597
|
children: [
|
|
4452
|
-
/* @__PURE__ */
|
|
4453
|
-
/* @__PURE__ */
|
|
4598
|
+
/* @__PURE__ */ jsx93("stop", { stopColor: "#FE763C" }),
|
|
4599
|
+
/* @__PURE__ */ jsx93("stop", { offset: "1", stopColor: "#FE9943" })
|
|
4454
4600
|
]
|
|
4455
4601
|
}
|
|
4456
4602
|
),
|
|
4457
|
-
/* @__PURE__ */
|
|
4603
|
+
/* @__PURE__ */ jsxs91(
|
|
4458
4604
|
"linearGradient",
|
|
4459
4605
|
{
|
|
4460
4606
|
id: "agg-build-icon-g2",
|
|
@@ -4464,8 +4610,8 @@ var AggBuildIcon = (props) => /* @__PURE__ */ jsxs87(
|
|
|
4464
4610
|
y2: "16",
|
|
4465
4611
|
gradientUnits: "userSpaceOnUse",
|
|
4466
4612
|
children: [
|
|
4467
|
-
/* @__PURE__ */
|
|
4468
|
-
/* @__PURE__ */
|
|
4613
|
+
/* @__PURE__ */ jsx93("stop", { stopColor: "#FEB549" }),
|
|
4614
|
+
/* @__PURE__ */ jsx93("stop", { offset: "1", stopColor: "#FDA349" })
|
|
4469
4615
|
]
|
|
4470
4616
|
}
|
|
4471
4617
|
)
|
|
@@ -4474,7 +4620,7 @@ var AggBuildIcon = (props) => /* @__PURE__ */ jsxs87(
|
|
|
4474
4620
|
})
|
|
4475
4621
|
);
|
|
4476
4622
|
AggBuildIcon.displayName = "AggBuildIcon";
|
|
4477
|
-
var AggBuildLogo = (props) => /* @__PURE__ */
|
|
4623
|
+
var AggBuildLogo = (props) => /* @__PURE__ */ jsxs91(
|
|
4478
4624
|
"svg",
|
|
4479
4625
|
__spreadProps(__spreadValues({
|
|
4480
4626
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4484,79 +4630,79 @@ var AggBuildLogo = (props) => /* @__PURE__ */ jsxs87(
|
|
|
4484
4630
|
fill: "none"
|
|
4485
4631
|
}, props), {
|
|
4486
4632
|
children: [
|
|
4487
|
-
/* @__PURE__ */
|
|
4633
|
+
/* @__PURE__ */ jsx93(
|
|
4488
4634
|
"path",
|
|
4489
4635
|
{
|
|
4490
4636
|
d: "M12.7888 5.0182L10.9872 12.1187C10.9452 12.2821 10.8005 12.3988 10.6371 12.3988L3.69665 12.4081C3.54729 12.4081 3.46327 12.5855 3.55195 12.7069L4.37809 13.8506C4.4481 13.944 4.55545 14 4.66747 14L8.23806 13.9953C10.4971 13.9907 12.4668 12.4175 13.0409 10.1533L13.9883 6.40936C14.0164 6.29731 13.993 6.18059 13.9277 6.09192L13.1015 4.95282C13.0129 4.83148 12.8262 4.86882 12.7888 5.0182Z",
|
|
4491
4637
|
fill: "url(#agg-build-logo-g0)"
|
|
4492
4638
|
}
|
|
4493
4639
|
),
|
|
4494
|
-
/* @__PURE__ */
|
|
4640
|
+
/* @__PURE__ */ jsx93(
|
|
4495
4641
|
"path",
|
|
4496
4642
|
{
|
|
4497
4643
|
d: "M1.21119 8.9818L3.01282 1.8813C3.05482 1.71792 3.19951 1.60121 3.36287 1.60121L10.3034 1.59187C10.4527 1.59187 10.5367 1.41449 10.448 1.29311L9.62191 0.149383C9.5519 0.0560013 9.44454 0 9.33253 0L5.76194 0.00466774C3.5029 0.00933448 1.53324 1.58254 0.959144 3.84666L0.0116529 7.59064C-0.0163517 7.70269 0.0069869 7.81941 0.072331 7.90808L0.898466 9.04718C0.987147 9.16852 1.17385 9.13118 1.21119 8.9818Z",
|
|
4498
4644
|
fill: "url(#agg-build-logo-g1)"
|
|
4499
4645
|
}
|
|
4500
4646
|
),
|
|
4501
|
-
/* @__PURE__ */
|
|
4647
|
+
/* @__PURE__ */ jsx93(
|
|
4502
4648
|
"path",
|
|
4503
4649
|
{
|
|
4504
4650
|
d: "M8.35937 9.25718L4.50874 9.26185C4.35938 9.26185 4.25203 9.11713 4.28937 8.96775L5.2882 5.01838C5.3302 4.855 5.4749 4.73828 5.63826 4.73828L9.38521 4.73404C9.5748 4.73382 9.71422 4.91165 9.66874 5.09568L8.70943 8.97709C8.66742 9.14047 8.52273 9.25718 8.35937 9.25718Z",
|
|
4505
4651
|
fill: "url(#agg-build-logo-g2)"
|
|
4506
4652
|
}
|
|
4507
4653
|
),
|
|
4508
|
-
/* @__PURE__ */
|
|
4654
|
+
/* @__PURE__ */ jsx93(
|
|
4509
4655
|
"path",
|
|
4510
4656
|
{
|
|
4511
4657
|
d: "M24.5485 10.08L24.3175 7.87499L24.5905 7.10849L24.3175 6.35249L24.5485 4.13699H25.9555L25.6405 7.10849L25.9555 10.08H24.5485ZM24.9685 7.10849C24.8355 7.73149 24.615 8.27749 24.307 8.74649C23.999 9.21549 23.6175 9.57949 23.1625 9.83849C22.7145 10.0975 22.214 10.227 21.661 10.227C21.08 10.227 20.5655 10.0975 20.1175 9.83849C19.6695 9.57249 19.3195 9.20499 19.0675 8.73599C18.8155 8.26699 18.6895 7.72449 18.6895 7.10849C18.6895 6.48549 18.8155 5.94299 19.0675 5.48099C19.3195 5.01199 19.6695 4.64799 20.1175 4.38899C20.5655 4.12299 21.08 3.98999 21.661 3.98999C22.214 3.98999 22.7145 4.11949 23.1625 4.37849C23.6175 4.63749 23.999 5.00149 24.307 5.47049C24.622 5.93249 24.8425 6.47849 24.9685 7.10849ZM20.0755 7.10849C20.0755 7.50749 20.156 7.86099 20.317 8.16899C20.485 8.46999 20.7125 8.70799 20.9995 8.88299C21.2865 9.05099 21.6155 9.13499 21.9865 9.13499C22.3645 9.13499 22.7145 9.05099 23.0365 8.88299C23.3585 8.70799 23.642 8.46999 23.887 8.16899C24.139 7.86099 24.3385 7.50749 24.4855 7.10849C24.3385 6.70949 24.139 6.35949 23.887 6.05849C23.642 5.75049 23.3585 5.51249 23.0365 5.34449C22.7145 5.16949 22.3645 5.08199 21.9865 5.08199C21.6155 5.08199 21.2865 5.16949 20.9995 5.34449C20.7125 5.51249 20.485 5.75049 20.317 6.05849C20.156 6.35949 20.0755 6.70949 20.0755 7.10849Z",
|
|
4512
4658
|
fill: "currentColor"
|
|
4513
4659
|
}
|
|
4514
4660
|
),
|
|
4515
|
-
/* @__PURE__ */
|
|
4661
|
+
/* @__PURE__ */ jsx93(
|
|
4516
4662
|
"path",
|
|
4517
4663
|
{
|
|
4518
4664
|
d: "M32.6661 8.62049V7.57049L32.7186 7.38149V6.23699L32.6661 6.02699V4.13699H34.0311V8.49449C34.0311 9.25749 33.8701 9.89449 33.5481 10.4055C33.2261 10.9235 32.7851 11.312 32.2251 11.571C31.6651 11.83 31.0211 11.9595 30.2931 11.9595C29.7611 11.9595 29.2711 11.8895 28.8231 11.7495C28.3751 11.6095 27.9411 11.396 27.5211 11.109V9.97499C27.9481 10.311 28.3891 10.5455 28.8441 10.6785C29.2991 10.8185 29.7541 10.8885 30.2091 10.8885C31.0071 10.8885 31.6161 10.6925 32.0361 10.3005C32.4561 9.90849 32.6661 9.34849 32.6661 8.62049ZM29.8101 9.61799C29.2641 9.61799 28.7741 9.50249 28.3401 9.27149C27.9061 9.03349 27.5631 8.70449 27.3111 8.28449C27.0591 7.86449 26.9331 7.37099 26.9331 6.80399C26.9331 6.23699 27.0591 5.74349 27.3111 5.32349C27.5631 4.90349 27.9061 4.57799 28.3401 4.34699C28.7741 4.10899 29.2641 3.98999 29.8101 3.98999C30.2161 3.98999 30.5906 4.05299 30.9336 4.17899C31.2836 4.30499 31.5951 4.47299 31.8681 4.68299C32.1481 4.88599 32.3826 5.11349 32.5716 5.36549C32.7676 5.61049 32.9181 5.86249 33.0231 6.12149C33.1281 6.37349 33.1806 6.60449 33.1806 6.81449C33.1806 7.08749 33.1001 7.38849 32.9391 7.71749C32.7781 8.03949 32.5471 8.34399 32.2461 8.63099C31.9521 8.91799 31.5986 9.15599 31.1856 9.34499C30.7726 9.52699 30.3141 9.61799 29.8101 9.61799ZM30.2301 8.60999C30.7271 8.60999 31.1821 8.46649 31.5951 8.17949C32.0151 7.89249 32.3896 7.43399 32.7186 6.80399C32.3896 6.15999 32.0151 5.69799 31.5951 5.41799C31.1821 5.13099 30.7271 4.98749 30.2301 4.98749C29.8241 4.98749 29.4776 5.06449 29.1906 5.21849C28.9036 5.37249 28.6831 5.58599 28.5291 5.85899C28.3821 6.13199 28.3086 6.44699 28.3086 6.80399C28.3086 7.15399 28.3821 7.46549 28.5291 7.73849C28.6831 8.01149 28.9036 8.22499 29.1906 8.37899C29.4776 8.53299 29.8241 8.60999 30.2301 8.60999Z",
|
|
4519
4665
|
fill: "currentColor"
|
|
4520
4666
|
}
|
|
4521
4667
|
),
|
|
4522
|
-
/* @__PURE__ */
|
|
4668
|
+
/* @__PURE__ */ jsx93(
|
|
4523
4669
|
"path",
|
|
4524
4670
|
{
|
|
4525
4671
|
d: "M40.8487 8.62049V7.57049L40.9012 7.38149V6.23699L40.8487 6.02699V4.13699H42.2137V8.49449C42.2137 9.25749 42.0527 9.89449 41.7307 10.4055C41.4087 10.9235 40.9677 11.312 40.4077 11.571C39.8477 11.83 39.2037 11.9595 38.4757 11.9595C37.9437 11.9595 37.4537 11.8895 37.0057 11.7495C36.5577 11.6095 36.1237 11.396 35.7037 11.109V9.97499C36.1307 10.311 36.5717 10.5455 37.0267 10.6785C37.4817 10.8185 37.9367 10.8885 38.3917 10.8885C39.1897 10.8885 39.7987 10.6925 40.2187 10.3005C40.6387 9.90849 40.8487 9.34849 40.8487 8.62049ZM37.9927 9.61799C37.4467 9.61799 36.9567 9.50249 36.5227 9.27149C36.0887 9.03349 35.7457 8.70449 35.4937 8.28449C35.2417 7.86449 35.1157 7.37099 35.1157 6.80399C35.1157 6.23699 35.2417 5.74349 35.4937 5.32349C35.7457 4.90349 36.0887 4.57799 36.5227 4.34699C36.9567 4.10899 37.4467 3.98999 37.9927 3.98999C38.3987 3.98999 38.7732 4.05299 39.1162 4.17899C39.4662 4.30499 39.7777 4.47299 40.0507 4.68299C40.3307 4.88599 40.5652 5.11349 40.7542 5.36549C40.9502 5.61049 41.1007 5.86249 41.2057 6.12149C41.3107 6.37349 41.3632 6.60449 41.3632 6.81449C41.3632 7.08749 41.2827 7.38849 41.1217 7.71749C40.9607 8.03949 40.7297 8.34399 40.4287 8.63099C40.1347 8.91799 39.7812 9.15599 39.3682 9.34499C38.9552 9.52699 38.4967 9.61799 37.9927 9.61799ZM38.4127 8.60999C38.9097 8.60999 39.3647 8.46649 39.7777 8.17949C40.1977 7.89249 40.5722 7.43399 40.9012 6.80399C40.5722 6.15999 40.1977 5.69799 39.7777 5.41799C39.3647 5.13099 38.9097 4.98749 38.4127 4.98749C38.0067 4.98749 37.6602 5.06449 37.3732 5.21849C37.0862 5.37249 36.8657 5.58599 36.7117 5.85899C36.5647 6.13199 36.4912 6.44699 36.4912 6.80399C36.4912 7.15399 36.5647 7.46549 36.7117 7.73849C36.8657 8.01149 37.0862 8.22499 37.3732 8.37899C37.6602 8.53299 38.0067 8.60999 38.4127 8.60999Z",
|
|
4526
4672
|
fill: "currentColor"
|
|
4527
4673
|
}
|
|
4528
4674
|
),
|
|
4529
|
-
/* @__PURE__ */
|
|
4675
|
+
/* @__PURE__ */ jsx93(
|
|
4530
4676
|
"path",
|
|
4531
4677
|
{
|
|
4532
4678
|
d: "M49.1202 10.273C48.771 10.273 48.4495 10.2214 48.1559 10.1182C47.8701 10.0071 47.6201 9.86029 47.4058 9.67775C47.1915 9.48726 47.0209 9.27297 46.8939 9.03486L46.8225 10.1301H46.0605V1.55836H46.8939V5.21328C47.0923 4.87199 47.3781 4.5823 47.7511 4.34419C48.1241 4.10609 48.5805 3.98703 49.1202 3.98703C49.7075 3.98703 50.2194 4.12593 50.656 4.40372C51.0925 4.67357 51.4258 5.0466 51.656 5.52281C51.8941 5.99109 52.0132 6.52682 52.0132 7.13002C52.0132 7.73322 51.8941 8.27293 51.656 8.74914C51.4179 9.22535 51.0806 9.59838 50.6441 9.86823C50.2155 10.1381 49.7075 10.273 49.1202 10.273ZM49.0607 9.54679C49.4813 9.54679 49.8464 9.44758 50.156 9.24916C50.4655 9.05074 50.7115 8.76898 50.8941 8.40388C51.0766 8.03879 51.1679 7.61417 51.1679 7.13002C51.1679 6.63794 51.0766 6.21332 50.8941 5.85616C50.7115 5.49107 50.4615 5.20931 50.144 5.01089C49.8345 4.81247 49.4734 4.71326 49.0607 4.71326C48.648 4.71326 48.2789 4.81247 47.9535 5.01089C47.636 5.20931 47.386 5.49107 47.2035 5.85616C47.0288 6.22125 46.9415 6.64587 46.9415 7.13002C46.9415 7.62211 47.0288 8.05069 47.2035 8.41579C47.386 8.77295 47.636 9.05074 47.9535 9.24916C48.2789 9.44758 48.648 9.54679 49.0607 9.54679Z",
|
|
4533
4679
|
fill: "currentColor"
|
|
4534
4680
|
}
|
|
4535
4681
|
),
|
|
4536
|
-
/* @__PURE__ */
|
|
4682
|
+
/* @__PURE__ */ jsx93(
|
|
4537
4683
|
"path",
|
|
4538
4684
|
{
|
|
4539
4685
|
d: "M55.61 10.273C55.1576 10.273 54.7567 10.1857 54.4075 10.0111C54.0662 9.82855 53.8004 9.55472 53.6099 9.18963C53.4194 8.8166 53.3241 8.34039 53.3241 7.761V4.1299H54.1575V7.66576C54.1575 8.3007 54.2964 8.77295 54.5742 9.08248C54.8599 9.39202 55.2528 9.54679 55.7528 9.54679C56.11 9.54679 56.4274 9.46345 56.7052 9.29678C56.991 9.1301 57.2132 8.88406 57.3719 8.55865C57.5386 8.22531 57.6219 7.82053 57.6219 7.34432V4.1299H58.4553V10.1301H57.6934L57.6458 9.05867C57.4553 9.44758 57.1775 9.74918 56.8124 9.96347C56.4552 10.1698 56.0544 10.273 55.61 10.273Z",
|
|
4540
4686
|
fill: "currentColor"
|
|
4541
4687
|
}
|
|
4542
4688
|
),
|
|
4543
|
-
/* @__PURE__ */
|
|
4689
|
+
/* @__PURE__ */ jsx93(
|
|
4544
4690
|
"path",
|
|
4545
4691
|
{
|
|
4546
4692
|
d: "M60.2706 10.1301V4.1299H61.092V10.1301H60.2706ZM60.6873 2.71317C60.5206 2.71317 60.3777 2.65762 60.2587 2.5465C60.1396 2.42745 60.0801 2.28062 60.0801 2.106C60.0801 1.92346 60.1357 1.78059 60.2468 1.67742C60.3658 1.5663 60.5087 1.51074 60.6754 1.51074C60.842 1.51074 60.9849 1.5663 61.104 1.67742C61.223 1.78059 61.2825 1.92346 61.2825 2.106C61.2825 2.28062 61.223 2.42745 61.104 2.5465C60.9928 2.65762 60.8539 2.71317 60.6873 2.71317Z",
|
|
4547
4693
|
fill: "currentColor"
|
|
4548
4694
|
}
|
|
4549
4695
|
),
|
|
4550
|
-
/* @__PURE__ */
|
|
4551
|
-
/* @__PURE__ */
|
|
4696
|
+
/* @__PURE__ */ jsx93("path", { d: "M62.9069 10.1301V1.55836H63.7403V10.1301H62.9069Z", fill: "currentColor" }),
|
|
4697
|
+
/* @__PURE__ */ jsx93(
|
|
4552
4698
|
"path",
|
|
4553
4699
|
{
|
|
4554
4700
|
d: "M68.049 10.273C67.4696 10.273 66.9616 10.1381 66.5251 9.86823C66.0965 9.59044 65.7632 9.21344 65.5251 8.73723C65.287 8.26102 65.1679 7.72132 65.1679 7.11812C65.1679 6.51492 65.287 5.97918 65.5251 5.51091C65.7632 5.0347 66.1005 4.66167 66.537 4.39181C66.9736 4.12196 67.4815 3.98703 68.0609 3.98703C68.5689 3.98703 69.0133 4.09815 69.3943 4.32038C69.7832 4.53468 70.0808 4.84024 70.2872 5.23709V1.55836H71.1205V10.1301H70.3586L70.2872 9.04677C70.1602 9.25313 69.9935 9.45155 69.7872 9.64203C69.5887 9.83251 69.3427 9.98728 69.049 10.1063C68.7633 10.2175 68.43 10.273 68.049 10.273ZM68.1204 9.54679C68.5411 9.54679 68.9062 9.44758 69.2157 9.24916C69.5332 9.05074 69.7792 8.76898 69.9538 8.40388C70.1364 8.03879 70.2277 7.61417 70.2277 7.13002C70.2277 6.64587 70.1364 6.22125 69.9538 5.85616C69.7792 5.49107 69.5332 5.20931 69.2157 5.01089C68.9062 4.81247 68.5411 4.71326 68.1204 4.71326C67.7077 4.71326 67.3426 4.81247 67.0251 5.01089C66.7077 5.20931 66.4577 5.49107 66.2751 5.85616C66.1005 6.21332 66.0132 6.63794 66.0132 7.13002C66.0132 7.62211 66.1045 8.05069 66.287 8.41579C66.4696 8.77295 66.7196 9.05074 67.037 9.24916C67.3545 9.44758 67.7156 9.54679 68.1204 9.54679Z",
|
|
4555
4701
|
fill: "currentColor"
|
|
4556
4702
|
}
|
|
4557
4703
|
),
|
|
4558
|
-
/* @__PURE__ */
|
|
4559
|
-
/* @__PURE__ */
|
|
4704
|
+
/* @__PURE__ */ jsxs91("defs", { children: [
|
|
4705
|
+
/* @__PURE__ */ jsxs91(
|
|
4560
4706
|
"linearGradient",
|
|
4561
4707
|
{
|
|
4562
4708
|
id: "agg-build-logo-g0",
|
|
@@ -4566,12 +4712,12 @@ var AggBuildLogo = (props) => /* @__PURE__ */ jsxs87(
|
|
|
4566
4712
|
y2: "14",
|
|
4567
4713
|
gradientUnits: "userSpaceOnUse",
|
|
4568
4714
|
children: [
|
|
4569
|
-
/* @__PURE__ */
|
|
4570
|
-
/* @__PURE__ */
|
|
4715
|
+
/* @__PURE__ */ jsx93("stop", { stopColor: "#FE9943" }),
|
|
4716
|
+
/* @__PURE__ */ jsx93("stop", { offset: "1", stopColor: "#FE763C" })
|
|
4571
4717
|
]
|
|
4572
4718
|
}
|
|
4573
4719
|
),
|
|
4574
|
-
/* @__PURE__ */
|
|
4720
|
+
/* @__PURE__ */ jsxs91(
|
|
4575
4721
|
"linearGradient",
|
|
4576
4722
|
{
|
|
4577
4723
|
id: "agg-build-logo-g1",
|
|
@@ -4581,12 +4727,12 @@ var AggBuildLogo = (props) => /* @__PURE__ */ jsxs87(
|
|
|
4581
4727
|
y2: "14",
|
|
4582
4728
|
gradientUnits: "userSpaceOnUse",
|
|
4583
4729
|
children: [
|
|
4584
|
-
/* @__PURE__ */
|
|
4585
|
-
/* @__PURE__ */
|
|
4730
|
+
/* @__PURE__ */ jsx93("stop", { stopColor: "#FE763C" }),
|
|
4731
|
+
/* @__PURE__ */ jsx93("stop", { offset: "1", stopColor: "#FE9943" })
|
|
4586
4732
|
]
|
|
4587
4733
|
}
|
|
4588
4734
|
),
|
|
4589
|
-
/* @__PURE__ */
|
|
4735
|
+
/* @__PURE__ */ jsxs91(
|
|
4590
4736
|
"linearGradient",
|
|
4591
4737
|
{
|
|
4592
4738
|
id: "agg-build-logo-g2",
|
|
@@ -4596,8 +4742,8 @@ var AggBuildLogo = (props) => /* @__PURE__ */ jsxs87(
|
|
|
4596
4742
|
y2: "14",
|
|
4597
4743
|
gradientUnits: "userSpaceOnUse",
|
|
4598
4744
|
children: [
|
|
4599
|
-
/* @__PURE__ */
|
|
4600
|
-
/* @__PURE__ */
|
|
4745
|
+
/* @__PURE__ */ jsx93("stop", { stopColor: "#FEB549" }),
|
|
4746
|
+
/* @__PURE__ */ jsx93("stop", { offset: "1", stopColor: "#FDA349" })
|
|
4601
4747
|
]
|
|
4602
4748
|
}
|
|
4603
4749
|
)
|
|
@@ -4606,7 +4752,7 @@ var AggBuildLogo = (props) => /* @__PURE__ */ jsxs87(
|
|
|
4606
4752
|
})
|
|
4607
4753
|
);
|
|
4608
4754
|
AggBuildLogo.displayName = "AggBuildLogo";
|
|
4609
|
-
var AggBuildTextLogo = (props) => /* @__PURE__ */
|
|
4755
|
+
var AggBuildTextLogo = (props) => /* @__PURE__ */ jsxs91(
|
|
4610
4756
|
"svg",
|
|
4611
4757
|
__spreadProps(__spreadValues({
|
|
4612
4758
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4616,50 +4762,50 @@ var AggBuildTextLogo = (props) => /* @__PURE__ */ jsxs87(
|
|
|
4616
4762
|
fill: "none"
|
|
4617
4763
|
}, props), {
|
|
4618
4764
|
children: [
|
|
4619
|
-
/* @__PURE__ */
|
|
4765
|
+
/* @__PURE__ */ jsx93(
|
|
4620
4766
|
"path",
|
|
4621
4767
|
{
|
|
4622
4768
|
d: "M7.05537 10.5201L6.79138 8.00006L7.10337 7.12406L6.79138 6.26006L7.05537 3.72806H8.66337L8.30337 7.12406L8.66337 10.5201H7.05537ZM7.53537 7.12406C7.38337 7.83606 7.13137 8.46006 6.77937 8.99606C6.42737 9.53206 5.99137 9.94806 5.47137 10.2441C4.95937 10.5401 4.38737 10.6881 3.75537 10.6881C3.09137 10.6881 2.50337 10.5401 1.99137 10.2441C1.47938 9.94006 1.07937 9.52006 0.791375 8.98406C0.503375 8.44806 0.359375 7.82806 0.359375 7.12406C0.359375 6.41206 0.503375 5.79206 0.791375 5.26406C1.07937 4.72806 1.47938 4.31206 1.99137 4.01606C2.50337 3.71206 3.09137 3.56006 3.75537 3.56006C4.38737 3.56006 4.95937 3.70806 5.47137 4.00406C5.99137 4.30006 6.42737 4.71606 6.77937 5.25206C7.13937 5.78006 7.39137 6.40406 7.53537 7.12406ZM1.94337 7.12406C1.94337 7.58006 2.03537 7.98406 2.21937 8.33606C2.41137 8.68006 2.67137 8.95206 2.99937 9.15206C3.32737 9.34406 3.70337 9.44006 4.12737 9.44006C4.55937 9.44006 4.95937 9.34406 5.32737 9.15206C5.69537 8.95206 6.01937 8.68006 6.29938 8.33606C6.58738 7.98406 6.81537 7.58006 6.98337 7.12406C6.81537 6.66806 6.58738 6.26806 6.29938 5.92406C6.01937 5.57206 5.69537 5.30006 5.32737 5.10806C4.95937 4.90806 4.55937 4.80806 4.12737 4.80806C3.70337 4.80806 3.32737 4.90806 2.99937 5.10806C2.67137 5.30006 2.41137 5.57206 2.21937 5.92406C2.03537 6.26806 1.94337 6.66806 1.94337 7.12406Z",
|
|
4623
4769
|
fill: "currentColor"
|
|
4624
4770
|
}
|
|
4625
4771
|
),
|
|
4626
|
-
/* @__PURE__ */
|
|
4772
|
+
/* @__PURE__ */ jsx93(
|
|
4627
4773
|
"path",
|
|
4628
4774
|
{
|
|
4629
4775
|
d: "M16.3327 8.85206V7.65206L16.3927 7.43606V6.12806L16.3327 5.88806V3.72806H17.8927V8.70806C17.8927 9.58006 17.7087 10.3081 17.3407 10.8921C16.9727 11.4841 16.4687 11.9281 15.8287 12.2241C15.1887 12.5201 14.4527 12.6681 13.6207 12.6681C13.0127 12.6681 12.4527 12.5881 11.9407 12.4281C11.4287 12.2681 10.9327 12.0241 10.4527 11.6961V10.4001C10.9407 10.7841 11.4447 11.0521 11.9647 11.2041C12.4847 11.3641 13.0047 11.4441 13.5247 11.4441C14.4367 11.4441 15.1327 11.2201 15.6127 10.7721C16.0927 10.3241 16.3327 9.68406 16.3327 8.85206ZM13.0687 9.99206C12.4447 9.99206 11.8847 9.86006 11.3887 9.59606C10.8927 9.32406 10.5007 8.94806 10.2127 8.46806C9.92469 7.98806 9.78069 7.42406 9.78069 6.77606C9.78069 6.12806 9.92469 5.56406 10.2127 5.08406C10.5007 4.60406 10.8927 4.23206 11.3887 3.96806C11.8847 3.69606 12.4447 3.56006 13.0687 3.56006C13.5327 3.56006 13.9607 3.63206 14.3527 3.77606C14.7527 3.92006 15.1087 4.11206 15.4207 4.35206C15.7407 4.58406 16.0087 4.84406 16.2247 5.13206C16.4487 5.41206 16.6207 5.70006 16.7407 5.99606C16.8607 6.28406 16.9207 6.54806 16.9207 6.78806C16.9207 7.10006 16.8287 7.44406 16.6447 7.82006C16.4607 8.18806 16.1967 8.53606 15.8527 8.86406C15.5167 9.19206 15.1127 9.46406 14.6407 9.68006C14.1687 9.88806 13.6447 9.99206 13.0687 9.99206ZM13.5487 8.84006C14.1167 8.84006 14.6367 8.67606 15.1087 8.34806C15.5887 8.02006 16.0167 7.49606 16.3927 6.77606C16.0167 6.04006 15.5887 5.51206 15.1087 5.19206C14.6367 4.86406 14.1167 4.70006 13.5487 4.70006C13.0847 4.70006 12.6887 4.78806 12.3607 4.96406C12.0327 5.14006 11.7807 5.38406 11.6047 5.69606C11.4367 6.00806 11.3527 6.36806 11.3527 6.77606C11.3527 7.17606 11.4367 7.53206 11.6047 7.84406C11.7807 8.15606 12.0327 8.40006 12.3607 8.57606C12.6887 8.75206 13.0847 8.84006 13.5487 8.84006Z",
|
|
4630
4776
|
fill: "currentColor"
|
|
4631
4777
|
}
|
|
4632
4778
|
),
|
|
4633
|
-
/* @__PURE__ */
|
|
4779
|
+
/* @__PURE__ */ jsx93(
|
|
4634
4780
|
"path",
|
|
4635
4781
|
{
|
|
4636
4782
|
d: "M25.6842 8.85206V7.65206L25.7442 7.43606V6.12806L25.6842 5.88806V3.72806H27.2442V8.70806C27.2442 9.58006 27.0602 10.3081 26.6922 10.8921C26.3242 11.4841 25.8202 11.9281 25.1802 12.2241C24.5402 12.5201 23.8042 12.6681 22.9722 12.6681C22.3642 12.6681 21.8042 12.5881 21.2922 12.4281C20.7802 12.2681 20.2842 12.0241 19.8042 11.6961V10.4001C20.2922 10.7841 20.7962 11.0521 21.3162 11.2041C21.8362 11.3641 22.3562 11.4441 22.8762 11.4441C23.7882 11.4441 24.4842 11.2201 24.9642 10.7721C25.4442 10.3241 25.6842 9.68406 25.6842 8.85206ZM22.4202 9.99206C21.7962 9.99206 21.2362 9.86006 20.7402 9.59606C20.2442 9.32406 19.8522 8.94806 19.5642 8.46806C19.2762 7.98806 19.1322 7.42406 19.1322 6.77606C19.1322 6.12806 19.2762 5.56406 19.5642 5.08406C19.8522 4.60406 20.2442 4.23206 20.7402 3.96806C21.2362 3.69606 21.7962 3.56006 22.4202 3.56006C22.8842 3.56006 23.3122 3.63206 23.7042 3.77606C24.1042 3.92006 24.4602 4.11206 24.7722 4.35206C25.0922 4.58406 25.3602 4.84406 25.5762 5.13206C25.8002 5.41206 25.9722 5.70006 26.0922 5.99606C26.2122 6.28406 26.2722 6.54806 26.2722 6.78806C26.2722 7.10006 26.1802 7.44406 25.9962 7.82006C25.8122 8.18806 25.5482 8.53606 25.2042 8.86406C24.8682 9.19206 24.4642 9.46406 23.9922 9.68006C23.5202 9.88806 22.9962 9.99206 22.4202 9.99206ZM22.9002 8.84006C23.4682 8.84006 23.9882 8.67606 24.4602 8.34806C24.9402 8.02006 25.3682 7.49606 25.7442 6.77606C25.3682 6.04006 24.9402 5.51206 24.4602 5.19206C23.9882 4.86406 23.4682 4.70006 22.9002 4.70006C22.4362 4.70006 22.0402 4.78806 21.7122 4.96406C21.3842 5.14006 21.1322 5.38406 20.9562 5.69606C20.7882 6.00806 20.7042 6.36806 20.7042 6.77606C20.7042 7.17606 20.7882 7.53206 20.9562 7.84406C21.1322 8.15606 21.3842 8.40006 21.7122 8.57606C22.0402 8.75206 22.4362 8.84006 22.9002 8.84006Z",
|
|
4637
4783
|
fill: "currentColor"
|
|
4638
4784
|
}
|
|
4639
4785
|
),
|
|
4640
|
-
/* @__PURE__ */
|
|
4786
|
+
/* @__PURE__ */ jsx93(
|
|
4641
4787
|
"path",
|
|
4642
4788
|
{
|
|
4643
4789
|
d: "M35.1374 10.7411C34.7383 10.7411 34.3709 10.6821 34.0353 10.5642C33.7087 10.4372 33.423 10.2694 33.1781 10.0608C32.9332 9.84307 32.7382 9.59816 32.593 9.32604L32.5114 10.5778H31.6406V0.781475H32.593V4.95852C32.8198 4.56848 33.1464 4.2374 33.5727 3.96528C33.999 3.69316 34.5206 3.5571 35.1374 3.5571C35.8086 3.5571 36.3937 3.71584 36.8925 4.03331C37.3914 4.34171 37.7724 4.76803 38.0354 5.31227C38.3076 5.84744 38.4436 6.45971 38.4436 7.14908C38.4436 7.83845 38.3076 8.45526 38.0354 8.9995C37.7633 9.54374 37.3778 9.97006 36.8789 10.2785C36.3891 10.5869 35.8086 10.7411 35.1374 10.7411ZM35.0693 9.9111C35.5501 9.9111 35.9673 9.79772 36.3211 9.57095C36.6748 9.34419 36.956 9.02218 37.1647 8.60493C37.3733 8.18768 37.4776 7.70239 37.4776 7.14908C37.4776 6.5867 37.3733 6.10142 37.1647 5.69324C36.956 5.27599 36.6703 4.95398 36.3075 4.72722C35.9537 4.50045 35.541 4.38707 35.0693 4.38707C34.5977 4.38707 34.1759 4.50045 33.804 4.72722C33.4412 4.95398 33.1554 5.27599 32.9468 5.69324C32.7472 6.11049 32.6475 6.59577 32.6475 7.14908C32.6475 7.71147 32.7472 8.20128 32.9468 8.61853C33.1554 9.02671 33.4412 9.34419 33.804 9.57095C34.1759 9.79772 34.5977 9.9111 35.0693 9.9111Z",
|
|
4644
4790
|
fill: "currentColor"
|
|
4645
4791
|
}
|
|
4646
4792
|
),
|
|
4647
|
-
/* @__PURE__ */
|
|
4793
|
+
/* @__PURE__ */ jsx93(
|
|
4648
4794
|
"path",
|
|
4649
4795
|
{
|
|
4650
4796
|
d: "M42.5542 10.7411C42.0372 10.7411 41.5791 10.6413 41.18 10.4417C40.79 10.2331 40.4861 9.92017 40.2684 9.50292C40.0507 9.0766 39.9419 8.53236 39.9419 7.8702V3.72037H40.8943V7.76135C40.8943 8.48701 41.053 9.02671 41.3705 9.38047C41.6971 9.73422 42.1461 9.9111 42.7175 9.9111C43.1257 9.9111 43.4885 9.81586 43.806 9.62538C44.1325 9.43489 44.3865 9.1537 44.5679 8.78181C44.7584 8.40084 44.8536 7.93823 44.8536 7.39399V3.72037H45.8061V10.5778H44.9353L44.8809 9.35326C44.6632 9.79772 44.3457 10.1424 43.9284 10.3873C43.5203 10.6231 43.0622 10.7411 42.5542 10.7411Z",
|
|
4651
4797
|
fill: "currentColor"
|
|
4652
4798
|
}
|
|
4653
4799
|
),
|
|
4654
|
-
/* @__PURE__ */
|
|
4800
|
+
/* @__PURE__ */ jsx93(
|
|
4655
4801
|
"path",
|
|
4656
4802
|
{
|
|
4657
4803
|
d: "M47.8807 10.5778V3.72037H48.8195V10.5778H47.8807ZM48.3569 2.10126C48.1664 2.10126 48.0031 2.03776 47.8671 1.91077C47.731 1.77471 47.663 1.60691 47.663 1.40735C47.663 1.19873 47.7265 1.03545 47.8535 0.917535C47.9895 0.790545 48.1528 0.727051 48.3433 0.727051C48.5338 0.727051 48.697 0.790545 48.8331 0.917535C48.9691 1.03545 49.0372 1.19873 49.0372 1.40735C49.0372 1.60691 48.9691 1.77471 48.8331 1.91077C48.7061 2.03776 48.5474 2.10126 48.3569 2.10126Z",
|
|
4658
4804
|
fill: "currentColor"
|
|
4659
4805
|
}
|
|
4660
4806
|
),
|
|
4661
|
-
/* @__PURE__ */
|
|
4662
|
-
/* @__PURE__ */
|
|
4807
|
+
/* @__PURE__ */ jsx93("path", { d: "M50.8937 10.5778V0.781475H51.8461V10.5778H50.8937Z", fill: "currentColor" }),
|
|
4808
|
+
/* @__PURE__ */ jsx93(
|
|
4663
4809
|
"path",
|
|
4664
4810
|
{
|
|
4665
4811
|
d: "M56.7703 10.7411C56.1081 10.7411 55.5276 10.5869 55.0287 10.2785C54.5389 9.96099 54.1579 9.53013 53.8858 8.98589C53.6137 8.44165 53.4776 7.82485 53.4776 7.13548C53.4776 6.44611 53.6137 5.83384 53.8858 5.29867C54.1579 4.75443 54.5434 4.32811 55.0423 4.0197C55.5412 3.7113 56.1217 3.5571 56.7839 3.5571C57.3644 3.5571 57.8724 3.68409 58.3078 3.93807C58.7522 4.18298 59.0924 4.5322 59.3282 4.98573V0.781475H60.2806V10.5778H59.4098L59.3282 9.33965C59.1831 9.57549 58.9926 9.80225 58.7568 10.02C58.53 10.2376 58.2488 10.4145 57.9132 10.5506C57.5866 10.6776 57.2057 10.7411 56.7703 10.7411ZM56.8519 9.9111C57.3327 9.9111 57.7499 9.79772 58.1037 9.57095C58.4665 9.34419 58.7477 9.02218 58.9472 8.60493C59.1559 8.18768 59.2602 7.70239 59.2602 7.14908C59.2602 6.59577 59.1559 6.11049 58.9472 5.69324C58.7477 5.27599 58.4665 4.95398 58.1037 4.72722C57.7499 4.50045 57.3327 4.38707 56.8519 4.38707C56.3802 4.38707 55.963 4.50045 55.6002 4.72722C55.2373 4.95398 54.9516 5.27599 54.743 5.69324C54.5434 6.10142 54.4436 6.5867 54.4436 7.14908C54.4436 7.71147 54.548 8.20128 54.7566 8.61853C54.9652 9.02671 55.2509 9.34419 55.6138 9.57095C55.9766 9.79772 56.3893 9.9111 56.8519 9.9111Z",
|
|
@@ -4691,8 +4837,8 @@ var DEFAULT_FOOTER_LINKS = [
|
|
|
4691
4837
|
];
|
|
4692
4838
|
|
|
4693
4839
|
// src/primitives/footer/index.tsx
|
|
4694
|
-
import { Fragment as Fragment3, jsx as
|
|
4695
|
-
var XIcon = (props) => /* @__PURE__ */
|
|
4840
|
+
import { Fragment as Fragment3, jsx as jsx94, jsxs as jsxs92 } from "react/jsx-runtime";
|
|
4841
|
+
var XIcon = (props) => /* @__PURE__ */ jsx94(
|
|
4696
4842
|
"svg",
|
|
4697
4843
|
__spreadProps(__spreadValues({
|
|
4698
4844
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4702,7 +4848,7 @@ var XIcon = (props) => /* @__PURE__ */ jsx90(
|
|
|
4702
4848
|
fill: "none",
|
|
4703
4849
|
"aria-hidden": "true"
|
|
4704
4850
|
}, props), {
|
|
4705
|
-
children: /* @__PURE__ */
|
|
4851
|
+
children: /* @__PURE__ */ jsx94(
|
|
4706
4852
|
"path",
|
|
4707
4853
|
{
|
|
4708
4854
|
d: "M12.2167 1.33325H14.4669L9.5523 6.94875L15.3334 14.5913H10.8081L7.26125 9.95725L3.20714 14.5913H0.953359L6.20891 8.58347L0.666748 1.33325H5.30691L8.50975 5.56886L12.2167 1.33325ZM11.4266 13.2463H12.6726L4.62797 2.60803H3.28964L11.4266 13.2463Z",
|
|
@@ -4712,8 +4858,8 @@ var XIcon = (props) => /* @__PURE__ */ jsx90(
|
|
|
4712
4858
|
})
|
|
4713
4859
|
);
|
|
4714
4860
|
var renderLink = (link, linkClass) => {
|
|
4715
|
-
const inner = /* @__PURE__ */
|
|
4716
|
-
/* @__PURE__ */
|
|
4861
|
+
const inner = /* @__PURE__ */ jsxs92(Fragment3, { children: [
|
|
4862
|
+
/* @__PURE__ */ jsx94(
|
|
4717
4863
|
"span",
|
|
4718
4864
|
{
|
|
4719
4865
|
className: "hidden md:inline",
|
|
@@ -4721,11 +4867,11 @@ var renderLink = (link, linkClass) => {
|
|
|
4721
4867
|
children: link.label
|
|
4722
4868
|
}
|
|
4723
4869
|
),
|
|
4724
|
-
link.mobileLabel !== void 0 && link.mobileLabel !== link.label ? /* @__PURE__ */
|
|
4725
|
-
link.mobileLabel !== void 0 && link.mobileLabel !== link.label && /* @__PURE__ */
|
|
4870
|
+
link.mobileLabel !== void 0 && link.mobileLabel !== link.label ? /* @__PURE__ */ jsx94("span", { className: "md:hidden", children: link.mobileLabel }) : /* @__PURE__ */ jsx94("span", { className: "md:hidden", "aria-hidden": "true", children: link.label }),
|
|
4871
|
+
link.mobileLabel !== void 0 && link.mobileLabel !== link.label && /* @__PURE__ */ jsx94("span", { className: "sr-only", children: link.label })
|
|
4726
4872
|
] });
|
|
4727
4873
|
if (link.href) {
|
|
4728
|
-
return /* @__PURE__ */
|
|
4874
|
+
return /* @__PURE__ */ jsx94(
|
|
4729
4875
|
"a",
|
|
4730
4876
|
{
|
|
4731
4877
|
href: link.href,
|
|
@@ -4738,7 +4884,7 @@ var renderLink = (link, linkClass) => {
|
|
|
4738
4884
|
);
|
|
4739
4885
|
}
|
|
4740
4886
|
if (link.onClick) {
|
|
4741
|
-
return /* @__PURE__ */
|
|
4887
|
+
return /* @__PURE__ */ jsx94(
|
|
4742
4888
|
"button",
|
|
4743
4889
|
{
|
|
4744
4890
|
type: "button",
|
|
@@ -4748,7 +4894,7 @@ var renderLink = (link, linkClass) => {
|
|
|
4748
4894
|
}
|
|
4749
4895
|
);
|
|
4750
4896
|
}
|
|
4751
|
-
return /* @__PURE__ */
|
|
4897
|
+
return /* @__PURE__ */ jsx94("span", { className: linkClass, children: inner });
|
|
4752
4898
|
};
|
|
4753
4899
|
var Footer = ({
|
|
4754
4900
|
links = DEFAULT_FOOTER_LINKS,
|
|
@@ -4764,13 +4910,13 @@ var Footer = ({
|
|
|
4764
4910
|
"text-xs text-agg-muted-foreground whitespace-nowrap transition-colors hover:text-agg-foreground md:text-sm",
|
|
4765
4911
|
classNames == null ? void 0 : classNames.link
|
|
4766
4912
|
);
|
|
4767
|
-
return /* @__PURE__ */
|
|
4913
|
+
return /* @__PURE__ */ jsx94(
|
|
4768
4914
|
"footer",
|
|
4769
4915
|
{
|
|
4770
4916
|
role: "contentinfo",
|
|
4771
4917
|
"aria-label": ariaLabel,
|
|
4772
4918
|
className: cn(baseFooterClasses, classNames == null ? void 0 : classNames.root),
|
|
4773
|
-
children: /* @__PURE__ */
|
|
4919
|
+
children: /* @__PURE__ */ jsxs92(
|
|
4774
4920
|
"div",
|
|
4775
4921
|
{
|
|
4776
4922
|
className: cn(
|
|
@@ -4778,7 +4924,7 @@ var Footer = ({
|
|
|
4778
4924
|
classNames == null ? void 0 : classNames.inner
|
|
4779
4925
|
),
|
|
4780
4926
|
children: [
|
|
4781
|
-
/* @__PURE__ */
|
|
4927
|
+
/* @__PURE__ */ jsxs92(
|
|
4782
4928
|
"a",
|
|
4783
4929
|
{
|
|
4784
4930
|
href: AGG_DEFAULT_URL,
|
|
@@ -4789,16 +4935,16 @@ var Footer = ({
|
|
|
4789
4935
|
classNames == null ? void 0 : classNames.leftSection
|
|
4790
4936
|
),
|
|
4791
4937
|
children: [
|
|
4792
|
-
/* @__PURE__ */
|
|
4793
|
-
/* @__PURE__ */
|
|
4794
|
-
/* @__PURE__ */
|
|
4795
|
-
/* @__PURE__ */
|
|
4938
|
+
/* @__PURE__ */ jsxs92("div", { className: "hidden items-center gap-1 md:flex", children: [
|
|
4939
|
+
/* @__PURE__ */ jsx94(AggBuildIcon, { className: "size-4 shrink-0" }),
|
|
4940
|
+
/* @__PURE__ */ jsx94("span", { className: "whitespace-nowrap text-sm text-agg-muted-foreground transition-colors group-hover/brand:text-agg-foreground", children: "Built with" }),
|
|
4941
|
+
/* @__PURE__ */ jsx94(AggBuildTextLogo, { "aria-label": "agg build", className: "shrink-0 text-agg-foreground" })
|
|
4796
4942
|
] }),
|
|
4797
|
-
/* @__PURE__ */
|
|
4943
|
+
/* @__PURE__ */ jsx94("div", { className: "md:hidden", children: /* @__PURE__ */ jsx94(AggBuildLogo, { "aria-label": "agg build", className: "h-3.5 w-auto text-agg-foreground" }) })
|
|
4798
4944
|
]
|
|
4799
4945
|
}
|
|
4800
4946
|
),
|
|
4801
|
-
/* @__PURE__ */
|
|
4947
|
+
/* @__PURE__ */ jsxs92(
|
|
4802
4948
|
"div",
|
|
4803
4949
|
{
|
|
4804
4950
|
className: cn(
|
|
@@ -4806,8 +4952,8 @@ var Footer = ({
|
|
|
4806
4952
|
classNames == null ? void 0 : classNames.rightSection
|
|
4807
4953
|
),
|
|
4808
4954
|
children: [
|
|
4809
|
-
/* @__PURE__ */
|
|
4810
|
-
i > 0 && /* @__PURE__ */
|
|
4955
|
+
/* @__PURE__ */ jsx94("div", { className: "flex items-center gap-2", children: links.map((link, i) => /* @__PURE__ */ jsxs92(Fragment2, { children: [
|
|
4956
|
+
i > 0 && /* @__PURE__ */ jsx94(
|
|
4811
4957
|
"span",
|
|
4812
4958
|
{
|
|
4813
4959
|
"aria-hidden": "true",
|
|
@@ -4820,15 +4966,15 @@ var Footer = ({
|
|
|
4820
4966
|
),
|
|
4821
4967
|
renderLink(link, linkClass)
|
|
4822
4968
|
] }, link.label)) }),
|
|
4823
|
-
email && /* @__PURE__ */
|
|
4824
|
-
/* @__PURE__ */
|
|
4969
|
+
email && /* @__PURE__ */ jsxs92(Fragment3, { children: [
|
|
4970
|
+
/* @__PURE__ */ jsx94(
|
|
4825
4971
|
"div",
|
|
4826
4972
|
{
|
|
4827
4973
|
"aria-hidden": "true",
|
|
4828
4974
|
className: "hidden h-3 w-px shrink-0 bg-agg-separator md:block"
|
|
4829
4975
|
}
|
|
4830
4976
|
),
|
|
4831
|
-
emailHref ? /* @__PURE__ */
|
|
4977
|
+
emailHref ? /* @__PURE__ */ jsx94(
|
|
4832
4978
|
"a",
|
|
4833
4979
|
{
|
|
4834
4980
|
href: emailHref,
|
|
@@ -4840,7 +4986,7 @@ var Footer = ({
|
|
|
4840
4986
|
),
|
|
4841
4987
|
children: email
|
|
4842
4988
|
}
|
|
4843
|
-
) : /* @__PURE__ */
|
|
4989
|
+
) : /* @__PURE__ */ jsx94(
|
|
4844
4990
|
"span",
|
|
4845
4991
|
{
|
|
4846
4992
|
className: cn(
|
|
@@ -4851,15 +4997,15 @@ var Footer = ({
|
|
|
4851
4997
|
}
|
|
4852
4998
|
)
|
|
4853
4999
|
] }),
|
|
4854
|
-
hasX && /* @__PURE__ */
|
|
4855
|
-
/* @__PURE__ */
|
|
5000
|
+
hasX && /* @__PURE__ */ jsxs92(Fragment3, { children: [
|
|
5001
|
+
/* @__PURE__ */ jsx94(
|
|
4856
5002
|
"div",
|
|
4857
5003
|
{
|
|
4858
5004
|
"aria-hidden": "true",
|
|
4859
5005
|
className: "hidden h-3 w-px shrink-0 bg-agg-separator md:block"
|
|
4860
5006
|
}
|
|
4861
5007
|
),
|
|
4862
|
-
xHref ? /* @__PURE__ */
|
|
5008
|
+
xHref ? /* @__PURE__ */ jsx94(
|
|
4863
5009
|
"a",
|
|
4864
5010
|
{
|
|
4865
5011
|
href: xHref,
|
|
@@ -4870,9 +5016,9 @@ var Footer = ({
|
|
|
4870
5016
|
"hidden items-center text-agg-muted-foreground transition-colors hover:text-agg-foreground md:flex",
|
|
4871
5017
|
classNames == null ? void 0 : classNames.xLink
|
|
4872
5018
|
),
|
|
4873
|
-
children: /* @__PURE__ */
|
|
5019
|
+
children: /* @__PURE__ */ jsx94(XIcon, { className: "size-4" })
|
|
4874
5020
|
}
|
|
4875
|
-
) : /* @__PURE__ */
|
|
5021
|
+
) : /* @__PURE__ */ jsx94(
|
|
4876
5022
|
"button",
|
|
4877
5023
|
{
|
|
4878
5024
|
type: "button",
|
|
@@ -4882,7 +5028,7 @@ var Footer = ({
|
|
|
4882
5028
|
"hidden cursor-pointer items-center border-0 bg-transparent p-0 text-agg-muted-foreground transition-colors hover:text-agg-foreground md:flex",
|
|
4883
5029
|
classNames == null ? void 0 : classNames.xLink
|
|
4884
5030
|
),
|
|
4885
|
-
children: /* @__PURE__ */
|
|
5031
|
+
children: /* @__PURE__ */ jsx94(XIcon, { className: "size-4" })
|
|
4886
5032
|
}
|
|
4887
5033
|
)
|
|
4888
5034
|
] })
|
|
@@ -5213,13 +5359,13 @@ var getVenueSummary = (venueMarkets, options) => {
|
|
|
5213
5359
|
};
|
|
5214
5360
|
};
|
|
5215
5361
|
var resolveDisplayVolume = (eventVolume, venueMarkets) => {
|
|
5362
|
+
if (typeof eventVolume === "number" && eventVolume > 0) return eventVolume;
|
|
5216
5363
|
const clusterMarkets = normalizeVenueMarketCluster(venueMarkets);
|
|
5217
5364
|
const marketSum = clusterMarkets.reduce(
|
|
5218
5365
|
(acc, m) => acc + (typeof m.volume === "number" ? m.volume : 0),
|
|
5219
5366
|
0
|
|
5220
5367
|
);
|
|
5221
5368
|
if (marketSum > 0) return marketSum;
|
|
5222
|
-
if (typeof eventVolume === "number" && eventVolume > 0) return eventVolume;
|
|
5223
5369
|
return void 0;
|
|
5224
5370
|
};
|
|
5225
5371
|
|
|
@@ -5347,12 +5493,12 @@ import { useRef as useRef5, useState as useState6 } from "react";
|
|
|
5347
5493
|
|
|
5348
5494
|
// src/primitives/skeleton/skeleton-block.tsx
|
|
5349
5495
|
import { useSdkUiConfig as useSdkUiConfig8 } from "@agg-build/hooks";
|
|
5350
|
-
import { jsx as
|
|
5496
|
+
import { jsx as jsx95 } from "react/jsx-runtime";
|
|
5351
5497
|
var SkeletonBlock = ({ className }) => {
|
|
5352
5498
|
const {
|
|
5353
5499
|
features: { enableAnimations }
|
|
5354
5500
|
} = useSdkUiConfig8();
|
|
5355
|
-
return /* @__PURE__ */
|
|
5501
|
+
return /* @__PURE__ */ jsx95(
|
|
5356
5502
|
"div",
|
|
5357
5503
|
{
|
|
5358
5504
|
"aria-hidden": true,
|
|
@@ -5381,7 +5527,7 @@ var resolveRemoteImageStatusFromSrc = (src) => {
|
|
|
5381
5527
|
};
|
|
5382
5528
|
|
|
5383
5529
|
// src/primitives/remote-image/index.tsx
|
|
5384
|
-
import { jsx as
|
|
5530
|
+
import { jsx as jsx96, jsxs as jsxs93 } from "react/jsx-runtime";
|
|
5385
5531
|
var RemoteImage = ({
|
|
5386
5532
|
src,
|
|
5387
5533
|
alt,
|
|
@@ -5415,7 +5561,7 @@ var RemoteImage = ({
|
|
|
5415
5561
|
setStatus("error");
|
|
5416
5562
|
};
|
|
5417
5563
|
const sizeStyle = width !== void 0 || height !== void 0 ? { width: width != null ? width : void 0, height: height != null ? height : void 0 } : void 0;
|
|
5418
|
-
return /* @__PURE__ */
|
|
5564
|
+
return /* @__PURE__ */ jsxs93(
|
|
5419
5565
|
"div",
|
|
5420
5566
|
{
|
|
5421
5567
|
className: cn(containerClasses, classNames == null ? void 0 : classNames.root, className),
|
|
@@ -5432,14 +5578,14 @@ var RemoteImage = ({
|
|
|
5432
5578
|
"aria-label": ariaLabel,
|
|
5433
5579
|
title: title2,
|
|
5434
5580
|
children: [
|
|
5435
|
-
status === "loading" && /* @__PURE__ */
|
|
5436
|
-
status === "error" && /* @__PURE__ */
|
|
5581
|
+
status === "loading" && /* @__PURE__ */ jsx96(SkeletonBlock, { className: cn(skeletonClasses, classNames == null ? void 0 : classNames.placeholder) }),
|
|
5582
|
+
status === "error" && /* @__PURE__ */ jsx96(
|
|
5437
5583
|
"div",
|
|
5438
5584
|
{
|
|
5439
5585
|
className: cn(placeholderClasses, classNames == null ? void 0 : classNames.placeholder),
|
|
5440
5586
|
"aria-hidden": true,
|
|
5441
5587
|
"aria-errormessage": "Image failed to load",
|
|
5442
|
-
children: /* @__PURE__ */
|
|
5588
|
+
children: /* @__PURE__ */ jsx96(
|
|
5443
5589
|
Icon,
|
|
5444
5590
|
{
|
|
5445
5591
|
name: "image",
|
|
@@ -5450,7 +5596,7 @@ var RemoteImage = ({
|
|
|
5450
5596
|
)
|
|
5451
5597
|
}
|
|
5452
5598
|
),
|
|
5453
|
-
isValidRemoteImageSrc(src) && status !== "error" && /* @__PURE__ */
|
|
5599
|
+
isValidRemoteImageSrc(src) && status !== "error" && /* @__PURE__ */ jsx96(
|
|
5454
5600
|
"img",
|
|
5455
5601
|
{
|
|
5456
5602
|
src,
|
|
@@ -5478,7 +5624,7 @@ import { useLabels as useLabels3 } from "@agg-build/hooks";
|
|
|
5478
5624
|
var baseCardClassName = "gap-3 overflow-hidden p-5 w-full";
|
|
5479
5625
|
|
|
5480
5626
|
// src/primitives/skeleton/views/event-list-item-skeleton-view.tsx
|
|
5481
|
-
import { jsx as
|
|
5627
|
+
import { jsx as jsx97, jsxs as jsxs94 } from "react/jsx-runtime";
|
|
5482
5628
|
var EventListItemSkeletonView = ({
|
|
5483
5629
|
className,
|
|
5484
5630
|
ariaLabel,
|
|
@@ -5486,7 +5632,7 @@ var EventListItemSkeletonView = ({
|
|
|
5486
5632
|
}) => {
|
|
5487
5633
|
const labels = useLabels3();
|
|
5488
5634
|
const outcomeTitleWidths = ["w-40", "w-[200px]"];
|
|
5489
|
-
return /* @__PURE__ */
|
|
5635
|
+
return /* @__PURE__ */ jsxs94(
|
|
5490
5636
|
Card,
|
|
5491
5637
|
{
|
|
5492
5638
|
className: cn("group/agg-skeleton", baseCardClassName, className),
|
|
@@ -5495,23 +5641,23 @@ var EventListItemSkeletonView = ({
|
|
|
5495
5641
|
"aria-busy": isStandalone || void 0,
|
|
5496
5642
|
"aria-hidden": isStandalone ? void 0 : true,
|
|
5497
5643
|
children: [
|
|
5498
|
-
/* @__PURE__ */
|
|
5499
|
-
/* @__PURE__ */
|
|
5500
|
-
/* @__PURE__ */
|
|
5644
|
+
/* @__PURE__ */ jsxs94("div", { className: "flex h-10 w-full items-center gap-3 justify-stretch", children: [
|
|
5645
|
+
/* @__PURE__ */ jsx97(SkeletonBlock, { className: "size-10! rounded-agg-lg" }),
|
|
5646
|
+
/* @__PURE__ */ jsx97(SkeletonBlock, { className: "h-6 w-fit flex-1 rounded-agg-sm" })
|
|
5501
5647
|
] }),
|
|
5502
|
-
/* @__PURE__ */
|
|
5503
|
-
/* @__PURE__ */
|
|
5504
|
-
/* @__PURE__ */
|
|
5648
|
+
/* @__PURE__ */ jsx97("div", { className: "flex flex-col gap-3", children: outcomeTitleWidths.map((outcomeTitleWidth, index) => /* @__PURE__ */ jsxs94("div", { className: "flex w-full items-center justify-between gap-3", children: [
|
|
5649
|
+
/* @__PURE__ */ jsx97(SkeletonBlock, { className: cn("h-5 rounded-agg-sm", outcomeTitleWidth) }),
|
|
5650
|
+
/* @__PURE__ */ jsx97(SkeletonBlock, { className: "h-8 w-[100px] rounded-agg-full" })
|
|
5505
5651
|
] }, index)) }),
|
|
5506
|
-
/* @__PURE__ */
|
|
5507
|
-
/* @__PURE__ */
|
|
5508
|
-
/* @__PURE__ */
|
|
5509
|
-
/* @__PURE__ */
|
|
5510
|
-
/* @__PURE__ */
|
|
5511
|
-
/* @__PURE__ */
|
|
5652
|
+
/* @__PURE__ */ jsxs94("div", { className: "flex items-center justify-between gap-5 text-agg-muted-foreground", children: [
|
|
5653
|
+
/* @__PURE__ */ jsxs94("div", { className: "flex min-w-0 flex-1 items-center gap-2", children: [
|
|
5654
|
+
/* @__PURE__ */ jsx97(SkeletonBlock, { className: "h-5 w-[100px] rounded-agg-sm" }),
|
|
5655
|
+
/* @__PURE__ */ jsxs94("div", { className: "flex items-center gap-1", children: [
|
|
5656
|
+
/* @__PURE__ */ jsx97(SkeletonBlock, { className: "size-[14px] rounded-agg-sm" }),
|
|
5657
|
+
/* @__PURE__ */ jsx97(SkeletonBlock, { className: "size-[14px] rounded-agg-sm" })
|
|
5512
5658
|
] })
|
|
5513
5659
|
] }),
|
|
5514
|
-
/* @__PURE__ */
|
|
5660
|
+
/* @__PURE__ */ jsx97(SkeletonBlock, { className: "h-5 w-[60px] rounded-agg-sm" })
|
|
5515
5661
|
] })
|
|
5516
5662
|
]
|
|
5517
5663
|
}
|
|
@@ -5520,11 +5666,11 @@ var EventListItemSkeletonView = ({
|
|
|
5520
5666
|
EventListItemSkeletonView.displayName = "EventListItemSkeletonView";
|
|
5521
5667
|
|
|
5522
5668
|
// src/primitives/skeleton/views/event-list-skeleton-view.tsx
|
|
5523
|
-
import { jsx as
|
|
5669
|
+
import { jsx as jsx98, jsxs as jsxs95 } from "react/jsx-runtime";
|
|
5524
5670
|
var DEFAULT_SKELETON_EVENTS_LIMIT = 20;
|
|
5525
5671
|
var EventListSkeletonView = ({ className, ariaLabel }) => {
|
|
5526
5672
|
const labels = useLabels4();
|
|
5527
|
-
return /* @__PURE__ */
|
|
5673
|
+
return /* @__PURE__ */ jsxs95(
|
|
5528
5674
|
"section",
|
|
5529
5675
|
{
|
|
5530
5676
|
className: cn("group/agg-skeleton", "flex w-full flex-col gap-5", className),
|
|
@@ -5532,11 +5678,11 @@ var EventListSkeletonView = ({ className, ariaLabel }) => {
|
|
|
5532
5678
|
"aria-label": ariaLabel != null ? ariaLabel : labels.eventList.loading("events"),
|
|
5533
5679
|
"aria-busy": true,
|
|
5534
5680
|
children: [
|
|
5535
|
-
/* @__PURE__ */
|
|
5536
|
-
/* @__PURE__ */
|
|
5537
|
-
/* @__PURE__ */
|
|
5681
|
+
/* @__PURE__ */ jsxs95("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: [
|
|
5682
|
+
/* @__PURE__ */ jsx98(SkeletonBlock, { className: "h-7 w-[120px] rounded-agg-md" }),
|
|
5683
|
+
/* @__PURE__ */ jsx98(SkeletonBlock, { className: "h-8 w-full rounded-agg-md md:w-[400px]" })
|
|
5538
5684
|
] }),
|
|
5539
|
-
/* @__PURE__ */
|
|
5685
|
+
/* @__PURE__ */ jsx98("div", { className: "grid grid-cols-[repeat(auto-fit,minmax(240px,1fr))] md:grid-cols-[repeat(auto-fit,minmax(360px,1fr))] gap-4", children: Array.from({ length: DEFAULT_SKELETON_EVENTS_LIMIT }).map((_, index) => /* @__PURE__ */ jsx98(
|
|
5540
5686
|
EventListItemSkeletonView,
|
|
5541
5687
|
{
|
|
5542
5688
|
isStandalone: false,
|
|
@@ -5557,13 +5703,13 @@ import { useLabels as useLabels5 } from "@agg-build/hooks";
|
|
|
5557
5703
|
var detailsBaseCardClassName = "w-full gap-6 p-5 md:gap-8";
|
|
5558
5704
|
|
|
5559
5705
|
// src/primitives/skeleton/views/event-list-item-details-skeleton-view.tsx
|
|
5560
|
-
import { jsx as
|
|
5706
|
+
import { jsx as jsx99, jsxs as jsxs96 } from "react/jsx-runtime";
|
|
5561
5707
|
var EventListItemDetailsSkeletonView = ({
|
|
5562
5708
|
className,
|
|
5563
5709
|
ariaLabel
|
|
5564
5710
|
}) => {
|
|
5565
5711
|
const labels = useLabels5();
|
|
5566
|
-
return /* @__PURE__ */
|
|
5712
|
+
return /* @__PURE__ */ jsxs96(
|
|
5567
5713
|
Card,
|
|
5568
5714
|
{
|
|
5569
5715
|
className: cn("group/agg-skeleton", detailsBaseCardClassName, className),
|
|
@@ -5571,24 +5717,24 @@ var EventListItemDetailsSkeletonView = ({
|
|
|
5571
5717
|
"aria-label": ariaLabel != null ? ariaLabel : labels.eventItemDetails.loading,
|
|
5572
5718
|
"aria-busy": true,
|
|
5573
5719
|
children: [
|
|
5574
|
-
/* @__PURE__ */
|
|
5575
|
-
/* @__PURE__ */
|
|
5576
|
-
/* @__PURE__ */
|
|
5720
|
+
/* @__PURE__ */ jsxs96("div", { className: "flex h-14 w-full items-center gap-3 justify-stretch", children: [
|
|
5721
|
+
/* @__PURE__ */ jsx99(SkeletonBlock, { className: "size-10! rounded-agg-lg" }),
|
|
5722
|
+
/* @__PURE__ */ jsx99(SkeletonBlock, { className: "h-6 w-fit flex-1 rounded-agg-sm" })
|
|
5577
5723
|
] }),
|
|
5578
|
-
/* @__PURE__ */
|
|
5579
|
-
/* @__PURE__ */
|
|
5580
|
-
/* @__PURE__ */
|
|
5581
|
-
/* @__PURE__ */
|
|
5582
|
-
/* @__PURE__ */
|
|
5583
|
-
/* @__PURE__ */
|
|
5724
|
+
/* @__PURE__ */ jsxs96("div", { className: "flex w-full flex-col gap-4 md:gap-6", children: [
|
|
5725
|
+
/* @__PURE__ */ jsxs96("div", { className: "flex w-full flex-col gap-3 md:flex-row md:items-center md:justify-between", children: [
|
|
5726
|
+
/* @__PURE__ */ jsxs96("div", { className: "flex max-w-full gap-2 overflow-hidden", children: [
|
|
5727
|
+
/* @__PURE__ */ jsx99(SkeletonBlock, { className: "h-9 w-[100px] rounded-agg-full" }),
|
|
5728
|
+
/* @__PURE__ */ jsx99(SkeletonBlock, { className: "h-9 w-[100px] rounded-agg-full" }),
|
|
5729
|
+
/* @__PURE__ */ jsx99(SkeletonBlock, { className: "h-9 w-[100px] rounded-agg-full" })
|
|
5584
5730
|
] }),
|
|
5585
|
-
/* @__PURE__ */
|
|
5731
|
+
/* @__PURE__ */ jsx99(SkeletonBlock, { className: "h-9 w-full max-w-[221px] rounded-agg-full md:w-[221px]" })
|
|
5586
5732
|
] }),
|
|
5587
|
-
/* @__PURE__ */
|
|
5588
|
-
/* @__PURE__ */
|
|
5589
|
-
/* @__PURE__ */
|
|
5590
|
-
/* @__PURE__ */
|
|
5591
|
-
/* @__PURE__ */
|
|
5733
|
+
/* @__PURE__ */ jsxs96("div", { className: "flex w-full flex-col gap-3", children: [
|
|
5734
|
+
/* @__PURE__ */ jsx99(SkeletonBlock, { className: "h-[220px] w-full rounded-agg-xl md:h-[240px]" }),
|
|
5735
|
+
/* @__PURE__ */ jsxs96("div", { className: "flex items-center justify-between", children: [
|
|
5736
|
+
/* @__PURE__ */ jsx99(SkeletonBlock, { className: "h-5 w-[59px] rounded-agg-sm" }),
|
|
5737
|
+
/* @__PURE__ */ jsx99(SkeletonBlock, { className: "h-5 w-40 rounded-agg-sm" })
|
|
5592
5738
|
] })
|
|
5593
5739
|
] })
|
|
5594
5740
|
] })
|
|
@@ -5613,34 +5759,34 @@ var marketDetailsDefaultIsOpened = false;
|
|
|
5613
5759
|
var orderBookRowLimitDefault = 4;
|
|
5614
5760
|
|
|
5615
5761
|
// src/primitives/skeleton/views/market-details-skeleton-view.tsx
|
|
5616
|
-
import { Fragment as Fragment4, jsx as
|
|
5762
|
+
import { Fragment as Fragment4, jsx as jsx100, jsxs as jsxs97 } from "react/jsx-runtime";
|
|
5617
5763
|
var orderBookAskBarScales = ["93%", "47%", "33%", "31%"];
|
|
5618
5764
|
var orderBookBidBarScales = ["9%", "33%", "53%", "73%"];
|
|
5619
5765
|
var MarketDetailsHeaderSkeleton = () => {
|
|
5620
|
-
return /* @__PURE__ */
|
|
5621
|
-
/* @__PURE__ */
|
|
5622
|
-
/* @__PURE__ */
|
|
5623
|
-
/* @__PURE__ */
|
|
5624
|
-
/* @__PURE__ */
|
|
5625
|
-
/* @__PURE__ */
|
|
5766
|
+
return /* @__PURE__ */ jsxs97("div", { className: "flex flex-wrap items-center justify-between gap-3 px-4 py-3 md:px-5", children: [
|
|
5767
|
+
/* @__PURE__ */ jsxs97("div", { className: "flex min-w-0 items-center gap-3 md:min-w-52 md:gap-4", children: [
|
|
5768
|
+
/* @__PURE__ */ jsx100(SkeletonBlock, { className: "size-12 rounded-agg-lg md:size-[60px]" }),
|
|
5769
|
+
/* @__PURE__ */ jsxs97("div", { className: "flex min-w-0 flex-col gap-2", children: [
|
|
5770
|
+
/* @__PURE__ */ jsx100(SkeletonBlock, { className: "h-6 w-[132px] rounded-agg-sm" }),
|
|
5771
|
+
/* @__PURE__ */ jsx100(SkeletonBlock, { className: "h-4 w-[141px] rounded-agg-sm" })
|
|
5626
5772
|
] })
|
|
5627
5773
|
] }),
|
|
5628
|
-
/* @__PURE__ */
|
|
5629
|
-
/* @__PURE__ */
|
|
5630
|
-
/* @__PURE__ */
|
|
5631
|
-
/* @__PURE__ */
|
|
5774
|
+
/* @__PURE__ */ jsx100(SkeletonBlock, { className: "h-9 w-[60px] rounded-agg-md" }),
|
|
5775
|
+
/* @__PURE__ */ jsxs97("div", { className: "flex w-full gap-2 md:w-auto", children: [
|
|
5776
|
+
/* @__PURE__ */ jsx100(SkeletonBlock, { className: "h-9 w-full rounded-agg-full md:w-[135px]" }),
|
|
5777
|
+
/* @__PURE__ */ jsx100(SkeletonBlock, { className: "h-9 w-full rounded-agg-full md:w-[131px]" })
|
|
5632
5778
|
] })
|
|
5633
5779
|
] });
|
|
5634
5780
|
};
|
|
5635
5781
|
var MarketDetailsTabsSkeleton = () => {
|
|
5636
|
-
return /* @__PURE__ */
|
|
5637
|
-
/* @__PURE__ */
|
|
5638
|
-
/* @__PURE__ */
|
|
5639
|
-
/* @__PURE__ */
|
|
5782
|
+
return /* @__PURE__ */ jsxs97("div", { className: "flex h-14 items-end px-4 md:px-5", children: [
|
|
5783
|
+
/* @__PURE__ */ jsxs97("div", { className: "flex h-full flex-col items-end justify-end rounded-t-agg-lg", children: [
|
|
5784
|
+
/* @__PURE__ */ jsx100("div", { className: "px-4 py-3", children: /* @__PURE__ */ jsx100(SkeletonBlock, { className: "h-6 w-20 rounded-agg-sm" }) }),
|
|
5785
|
+
/* @__PURE__ */ jsx100(SkeletonBlock, { className: "h-[2px] w-full rounded-t-agg-sm" })
|
|
5640
5786
|
] }),
|
|
5641
|
-
/* @__PURE__ */
|
|
5642
|
-
/* @__PURE__ */
|
|
5643
|
-
/* @__PURE__ */
|
|
5787
|
+
/* @__PURE__ */ jsxs97("div", { className: "flex h-full flex-col justify-center", children: [
|
|
5788
|
+
/* @__PURE__ */ jsx100("div", { className: "px-4 py-3", children: /* @__PURE__ */ jsx100(SkeletonBlock, { className: "h-6 w-12 rounded-agg-sm" }) }),
|
|
5789
|
+
/* @__PURE__ */ jsx100("div", { className: "h-[2px] w-full" })
|
|
5644
5790
|
] })
|
|
5645
5791
|
] });
|
|
5646
5792
|
};
|
|
@@ -5648,25 +5794,25 @@ var MarketDetailsOrderBookRows = ({
|
|
|
5648
5794
|
side,
|
|
5649
5795
|
barScales
|
|
5650
5796
|
}) => {
|
|
5651
|
-
return /* @__PURE__ */
|
|
5797
|
+
return /* @__PURE__ */ jsx100("div", { className: "flex flex-col", children: barScales.map((barScale, index) => /* @__PURE__ */ jsxs97(
|
|
5652
5798
|
"div",
|
|
5653
5799
|
{
|
|
5654
5800
|
className: "flex h-9 items-center gap-2 overflow-hidden pr-5 md:gap-10",
|
|
5655
5801
|
children: [
|
|
5656
|
-
/* @__PURE__ */
|
|
5802
|
+
/* @__PURE__ */ jsx100("div", { className: "relative h-9 min-h-0 min-w-0 flex-1", children: /* @__PURE__ */ jsx100(
|
|
5657
5803
|
"div",
|
|
5658
5804
|
{
|
|
5659
5805
|
className: "absolute inset-y-0 left-0",
|
|
5660
5806
|
style: { right: `${100 - parseFloat(barScale)}%` },
|
|
5661
|
-
children: /* @__PURE__ */
|
|
5807
|
+
children: /* @__PURE__ */ jsx100(SkeletonBlock, { className: "h-full w-full rounded-none" })
|
|
5662
5808
|
}
|
|
5663
5809
|
) }),
|
|
5664
|
-
/* @__PURE__ */
|
|
5665
|
-
/* @__PURE__ */
|
|
5666
|
-
/* @__PURE__ */
|
|
5810
|
+
/* @__PURE__ */ jsxs97("div", { className: "flex w-20 shrink-0 items-center gap-1 md:w-[120px]", children: [
|
|
5811
|
+
/* @__PURE__ */ jsx100(SkeletonBlock, { className: "h-5 w-10 rounded-agg-sm md:w-12" }),
|
|
5812
|
+
/* @__PURE__ */ jsx100(SkeletonBlock, { className: "size-3.5 rounded-agg-sm" })
|
|
5667
5813
|
] }),
|
|
5668
|
-
/* @__PURE__ */
|
|
5669
|
-
/* @__PURE__ */
|
|
5814
|
+
/* @__PURE__ */ jsx100(SkeletonBlock, { className: "h-5 w-16 shrink-0 rounded-agg-sm md:w-[120px]" }),
|
|
5815
|
+
/* @__PURE__ */ jsx100(SkeletonBlock, { className: "h-5 w-16 shrink-0 rounded-agg-sm md:w-[120px]" })
|
|
5670
5816
|
]
|
|
5671
5817
|
},
|
|
5672
5818
|
`${side}-row-${index}`
|
|
@@ -5675,19 +5821,19 @@ var MarketDetailsOrderBookRows = ({
|
|
|
5675
5821
|
var MarketDetailsOderbookSkeleton = ({
|
|
5676
5822
|
className
|
|
5677
5823
|
}) => {
|
|
5678
|
-
return /* @__PURE__ */
|
|
5679
|
-
/* @__PURE__ */
|
|
5680
|
-
/* @__PURE__ */
|
|
5681
|
-
/* @__PURE__ */
|
|
5682
|
-
/* @__PURE__ */
|
|
5683
|
-
/* @__PURE__ */
|
|
5824
|
+
return /* @__PURE__ */ jsxs97("div", { className: cn("flex flex-col", className), children: [
|
|
5825
|
+
/* @__PURE__ */ jsxs97("div", { className: "flex h-9 items-center gap-2 border-b border-agg-separator px-3 md:gap-10 md:px-5", children: [
|
|
5826
|
+
/* @__PURE__ */ jsx100(SkeletonBlock, { className: "h-4 w-16 flex-1 rounded-agg-sm md:w-20" }),
|
|
5827
|
+
/* @__PURE__ */ jsx100(SkeletonBlock, { className: "h-4 w-20 shrink-0 rounded-agg-sm md:w-[120px]" }),
|
|
5828
|
+
/* @__PURE__ */ jsx100(SkeletonBlock, { className: "h-4 w-16 shrink-0 rounded-agg-sm md:w-[120px]" }),
|
|
5829
|
+
/* @__PURE__ */ jsx100(SkeletonBlock, { className: "h-4 w-16 shrink-0 rounded-agg-sm md:w-[120px]" })
|
|
5684
5830
|
] }),
|
|
5685
|
-
/* @__PURE__ */
|
|
5686
|
-
/* @__PURE__ */
|
|
5687
|
-
/* @__PURE__ */
|
|
5688
|
-
/* @__PURE__ */
|
|
5831
|
+
/* @__PURE__ */ jsx100(MarketDetailsOrderBookRows, { side: "ask", barScales: orderBookAskBarScales }),
|
|
5832
|
+
/* @__PURE__ */ jsxs97("div", { className: "flex h-9 items-center gap-2 border-y border-agg-separator px-3 md:gap-10 md:px-5", children: [
|
|
5833
|
+
/* @__PURE__ */ jsx100(SkeletonBlock, { className: "h-5 w-24 flex-1 rounded-agg-sm" }),
|
|
5834
|
+
/* @__PURE__ */ jsx100(SkeletonBlock, { className: "h-5 w-20 shrink-0 rounded-agg-sm" })
|
|
5689
5835
|
] }),
|
|
5690
|
-
/* @__PURE__ */
|
|
5836
|
+
/* @__PURE__ */ jsx100(MarketDetailsOrderBookRows, { side: "bid", barScales: orderBookBidBarScales })
|
|
5691
5837
|
] });
|
|
5692
5838
|
};
|
|
5693
5839
|
var MarketDetailsSkeletonView = ({
|
|
@@ -5696,7 +5842,7 @@ var MarketDetailsSkeletonView = ({
|
|
|
5696
5842
|
isDetailed
|
|
5697
5843
|
}) => {
|
|
5698
5844
|
const labels = useLabels6();
|
|
5699
|
-
return /* @__PURE__ */
|
|
5845
|
+
return /* @__PURE__ */ jsxs97(
|
|
5700
5846
|
Card,
|
|
5701
5847
|
{
|
|
5702
5848
|
className: cn("group/agg-skeleton", marketDetailsBaseCardClassName, className),
|
|
@@ -5704,12 +5850,12 @@ var MarketDetailsSkeletonView = ({
|
|
|
5704
5850
|
"aria-label": ariaLabel != null ? ariaLabel : labels.marketDetails.loading,
|
|
5705
5851
|
"aria-busy": true,
|
|
5706
5852
|
children: [
|
|
5707
|
-
/* @__PURE__ */
|
|
5708
|
-
isDetailed ? /* @__PURE__ */
|
|
5709
|
-
/* @__PURE__ */
|
|
5710
|
-
/* @__PURE__ */
|
|
5711
|
-
/* @__PURE__ */
|
|
5712
|
-
/* @__PURE__ */
|
|
5853
|
+
/* @__PURE__ */ jsx100(MarketDetailsHeaderSkeleton, {}),
|
|
5854
|
+
isDetailed ? /* @__PURE__ */ jsxs97(Fragment4, { children: [
|
|
5855
|
+
/* @__PURE__ */ jsx100("div", { className: "h-px w-full bg-agg-separator" }),
|
|
5856
|
+
/* @__PURE__ */ jsx100(MarketDetailsTabsSkeleton, {}),
|
|
5857
|
+
/* @__PURE__ */ jsx100("div", { className: "h-px w-full bg-agg-separator" }),
|
|
5858
|
+
/* @__PURE__ */ jsx100(MarketDetailsOderbookSkeleton, {})
|
|
5713
5859
|
] }) : null
|
|
5714
5860
|
]
|
|
5715
5861
|
}
|
|
@@ -5718,78 +5864,78 @@ var MarketDetailsSkeletonView = ({
|
|
|
5718
5864
|
MarketDetailsSkeletonView.displayName = "MarketDetailsSkeletonView";
|
|
5719
5865
|
|
|
5720
5866
|
// src/primitives/skeleton/views/place-order-skeleton-view.tsx
|
|
5721
|
-
import { jsx as
|
|
5867
|
+
import { jsx as jsx101, jsxs as jsxs98 } from "react/jsx-runtime";
|
|
5722
5868
|
var placeOrderCardClassName = "overflow-hidden rounded-agg-xl border border-agg-border bg-agg-secondary shadow-none hover:shadow-none";
|
|
5723
5869
|
var PlaceOrderRouteCardSkeleton = () => {
|
|
5724
|
-
return /* @__PURE__ */
|
|
5725
|
-
/* @__PURE__ */
|
|
5726
|
-
/* @__PURE__ */
|
|
5727
|
-
/* @__PURE__ */
|
|
5728
|
-
/* @__PURE__ */
|
|
5729
|
-
/* @__PURE__ */
|
|
5870
|
+
return /* @__PURE__ */ jsxs98("div", { className: "flex w-full items-center justify-between gap-4 rounded-agg-lg border border-agg-border bg-agg-secondary p-3", children: [
|
|
5871
|
+
/* @__PURE__ */ jsxs98("div", { className: "flex items-center gap-3", children: [
|
|
5872
|
+
/* @__PURE__ */ jsx101(SkeletonBlock, { className: "size-4 shrink-0 rounded-agg-sm" }),
|
|
5873
|
+
/* @__PURE__ */ jsxs98("div", { className: "flex flex-col gap-2", children: [
|
|
5874
|
+
/* @__PURE__ */ jsx101(SkeletonBlock, { className: "h-5 w-10 rounded-agg-sm" }),
|
|
5875
|
+
/* @__PURE__ */ jsx101(SkeletonBlock, { className: "h-3 w-[91px] rounded-agg-sm" })
|
|
5730
5876
|
] })
|
|
5731
5877
|
] }),
|
|
5732
|
-
/* @__PURE__ */
|
|
5878
|
+
/* @__PURE__ */ jsx101(SkeletonBlock, { className: "h-5 w-[75px] shrink-0 rounded-agg-sm" })
|
|
5733
5879
|
] });
|
|
5734
5880
|
};
|
|
5735
5881
|
PlaceOrderRouteCardSkeleton.displayName = "PlaceOrderRouteCardSkeleton";
|
|
5736
5882
|
var TabsSkeletonBar = () => {
|
|
5737
|
-
return /* @__PURE__ */
|
|
5738
|
-
/* @__PURE__ */
|
|
5739
|
-
/* @__PURE__ */
|
|
5740
|
-
/* @__PURE__ */
|
|
5883
|
+
return /* @__PURE__ */ jsxs98("div", { className: "flex w-full items-end border-b border-agg-border", children: [
|
|
5884
|
+
/* @__PURE__ */ jsxs98("div", { className: "flex flex-col rounded-t-agg-lg", children: [
|
|
5885
|
+
/* @__PURE__ */ jsx101("div", { className: "px-5 py-2", children: /* @__PURE__ */ jsx101(SkeletonBlock, { className: "h-6 w-10 rounded-agg-sm" }) }),
|
|
5886
|
+
/* @__PURE__ */ jsx101(SkeletonBlock, { className: "h-[2px] w-full rounded-t-agg-sm" })
|
|
5741
5887
|
] }),
|
|
5742
|
-
/* @__PURE__ */
|
|
5743
|
-
/* @__PURE__ */
|
|
5744
|
-
/* @__PURE__ */
|
|
5888
|
+
/* @__PURE__ */ jsxs98("div", { className: "flex flex-col", children: [
|
|
5889
|
+
/* @__PURE__ */ jsx101("div", { className: "px-5 py-2", children: /* @__PURE__ */ jsx101(SkeletonBlock, { className: "h-6 w-10 rounded-agg-sm" }) }),
|
|
5890
|
+
/* @__PURE__ */ jsx101("div", { className: "h-[2px] w-full" })
|
|
5745
5891
|
] })
|
|
5746
5892
|
] });
|
|
5747
5893
|
};
|
|
5748
5894
|
var ContentBody = () => {
|
|
5749
|
-
return /* @__PURE__ */
|
|
5750
|
-
/* @__PURE__ */
|
|
5751
|
-
/* @__PURE__ */
|
|
5752
|
-
/* @__PURE__ */
|
|
5753
|
-
/* @__PURE__ */
|
|
5754
|
-
/* @__PURE__ */
|
|
5755
|
-
/* @__PURE__ */
|
|
5895
|
+
return /* @__PURE__ */ jsxs98("div", { className: cn("flex flex-col gap-6 p-5"), children: [
|
|
5896
|
+
/* @__PURE__ */ jsxs98("div", { className: "flex flex-col gap-2", children: [
|
|
5897
|
+
/* @__PURE__ */ jsxs98("div", { className: "flex min-w-0 items-center gap-3", children: [
|
|
5898
|
+
/* @__PURE__ */ jsx101(SkeletonBlock, { className: "size-12 shrink-0 rounded-agg-lg" }),
|
|
5899
|
+
/* @__PURE__ */ jsxs98("div", { className: "flex min-w-0 flex-1 flex-col gap-2", children: [
|
|
5900
|
+
/* @__PURE__ */ jsx101(SkeletonBlock, { className: "h-4 w-[92%] max-w-[240px] rounded-agg-sm" }),
|
|
5901
|
+
/* @__PURE__ */ jsx101(SkeletonBlock, { className: "h-4 w-[64%] max-w-[160px] rounded-agg-sm" })
|
|
5756
5902
|
] })
|
|
5757
5903
|
] }),
|
|
5758
|
-
/* @__PURE__ */
|
|
5759
|
-
/* @__PURE__ */
|
|
5904
|
+
/* @__PURE__ */ jsx101(SkeletonBlock, { className: "h-6 w-[92px] rounded-agg-sm" }),
|
|
5905
|
+
/* @__PURE__ */ jsx101(TabsSkeletonBar, {})
|
|
5760
5906
|
] }),
|
|
5761
|
-
/* @__PURE__ */
|
|
5762
|
-
/* @__PURE__ */
|
|
5763
|
-
/* @__PURE__ */
|
|
5764
|
-
/* @__PURE__ */
|
|
5907
|
+
/* @__PURE__ */ jsxs98("div", { className: "flex flex-col gap-4", children: [
|
|
5908
|
+
/* @__PURE__ */ jsxs98("div", { className: "flex w-full gap-2", children: [
|
|
5909
|
+
/* @__PURE__ */ jsx101(SkeletonBlock, { className: "h-11 flex-1 rounded-agg-full" }),
|
|
5910
|
+
/* @__PURE__ */ jsx101(SkeletonBlock, { className: "h-11 flex-1 rounded-agg-full" })
|
|
5765
5911
|
] }),
|
|
5766
|
-
/* @__PURE__ */
|
|
5767
|
-
/* @__PURE__ */
|
|
5768
|
-
/* @__PURE__ */
|
|
5769
|
-
/* @__PURE__ */
|
|
5912
|
+
/* @__PURE__ */ jsxs98("div", { className: "flex items-center justify-between gap-4", children: [
|
|
5913
|
+
/* @__PURE__ */ jsxs98("div", { className: "flex flex-col gap-2", children: [
|
|
5914
|
+
/* @__PURE__ */ jsx101(SkeletonBlock, { className: "h-5 w-[63px] rounded-agg-sm" }),
|
|
5915
|
+
/* @__PURE__ */ jsx101(SkeletonBlock, { className: "h-4 w-[118px] rounded-agg-sm" })
|
|
5770
5916
|
] }),
|
|
5771
|
-
/* @__PURE__ */
|
|
5917
|
+
/* @__PURE__ */ jsx101("p", { className: cn("text-agg-3xl font-agg-bold leading-agg-9 text-agg-separator"), children: "$0" })
|
|
5772
5918
|
] })
|
|
5773
5919
|
] }),
|
|
5774
|
-
/* @__PURE__ */
|
|
5775
|
-
/* @__PURE__ */
|
|
5776
|
-
/* @__PURE__ */
|
|
5920
|
+
/* @__PURE__ */ jsxs98("div", { className: "flex flex-col gap-4", children: [
|
|
5921
|
+
/* @__PURE__ */ jsx101(SkeletonBlock, { className: "h-12 w-full rounded-agg-full" }),
|
|
5922
|
+
/* @__PURE__ */ jsx101(SkeletonBlock, { className: "h-3.5 w-full max-w-[120px] self-center rounded-agg-sm" })
|
|
5777
5923
|
] }),
|
|
5778
|
-
/* @__PURE__ */
|
|
5924
|
+
/* @__PURE__ */ jsx101(SkeletonBlock, { className: "h-4 w-full max-w-[200px] self-center rounded-agg-sm" })
|
|
5779
5925
|
] });
|
|
5780
5926
|
};
|
|
5781
5927
|
var PlaceOrderSkeletonView = ({
|
|
5782
5928
|
className,
|
|
5783
5929
|
ariaLabel
|
|
5784
5930
|
}) => {
|
|
5785
|
-
return /* @__PURE__ */
|
|
5931
|
+
return /* @__PURE__ */ jsx101(
|
|
5786
5932
|
"div",
|
|
5787
5933
|
{
|
|
5788
5934
|
className: cn("group/agg-skeleton", "w-full", className),
|
|
5789
5935
|
role: "status",
|
|
5790
5936
|
"aria-label": ariaLabel != null ? ariaLabel : "Loading place order",
|
|
5791
5937
|
"aria-busy": true,
|
|
5792
|
-
children: /* @__PURE__ */
|
|
5938
|
+
children: /* @__PURE__ */ jsx101(Card, { className: cn(placeOrderCardClassName, "w-full max-w-[342px]"), children: /* @__PURE__ */ jsx101(ContentBody, {}) })
|
|
5793
5939
|
}
|
|
5794
5940
|
);
|
|
5795
5941
|
};
|
|
@@ -5797,33 +5943,33 @@ PlaceOrderSkeletonView.displayName = "PlaceOrderSkeletonView";
|
|
|
5797
5943
|
|
|
5798
5944
|
// src/primitives/skeleton/views/search-skeleton-view.tsx
|
|
5799
5945
|
import { useLabels as useLabels7 } from "@agg-build/hooks";
|
|
5800
|
-
import { jsx as
|
|
5946
|
+
import { jsx as jsx102, jsxs as jsxs99 } from "react/jsx-runtime";
|
|
5801
5947
|
var SearchSkeletonRow = () => {
|
|
5802
|
-
return /* @__PURE__ */
|
|
5803
|
-
/* @__PURE__ */
|
|
5804
|
-
/* @__PURE__ */
|
|
5805
|
-
/* @__PURE__ */
|
|
5806
|
-
/* @__PURE__ */
|
|
5807
|
-
/* @__PURE__ */
|
|
5808
|
-
/* @__PURE__ */
|
|
5809
|
-
/* @__PURE__ */
|
|
5810
|
-
/* @__PURE__ */
|
|
5948
|
+
return /* @__PURE__ */ jsxs99("div", { className: "flex w-full items-center gap-6 px-5 py-4", children: [
|
|
5949
|
+
/* @__PURE__ */ jsx102(SkeletonBlock, { className: "size-12 shrink-0 rounded-agg-lg" }),
|
|
5950
|
+
/* @__PURE__ */ jsxs99("div", { className: "flex min-w-0 flex-1 flex-col gap-2", children: [
|
|
5951
|
+
/* @__PURE__ */ jsx102(SkeletonBlock, { className: "h-5 w-full max-w-[320px] rounded-agg-sm" }),
|
|
5952
|
+
/* @__PURE__ */ jsxs99("div", { className: "flex min-w-0 items-center gap-2", children: [
|
|
5953
|
+
/* @__PURE__ */ jsx102(SkeletonBlock, { className: "h-4 w-[104px] rounded-agg-sm" }),
|
|
5954
|
+
/* @__PURE__ */ jsxs99("div", { className: "flex items-center gap-1", children: [
|
|
5955
|
+
/* @__PURE__ */ jsx102(SkeletonBlock, { className: "size-[14px] rounded-[4px]" }),
|
|
5956
|
+
/* @__PURE__ */ jsx102(SkeletonBlock, { className: "size-[14px] rounded-[4px]" })
|
|
5811
5957
|
] })
|
|
5812
5958
|
] })
|
|
5813
5959
|
] }),
|
|
5814
|
-
/* @__PURE__ */
|
|
5815
|
-
/* @__PURE__ */
|
|
5816
|
-
/* @__PURE__ */
|
|
5817
|
-
/* @__PURE__ */
|
|
5818
|
-
/* @__PURE__ */
|
|
5960
|
+
/* @__PURE__ */ jsxs99("div", { className: "flex w-[200px] shrink-0 items-center gap-2", children: [
|
|
5961
|
+
/* @__PURE__ */ jsx102(SkeletonBlock, { className: "size-4 rounded-[4px]" }),
|
|
5962
|
+
/* @__PURE__ */ jsxs99("div", { className: "flex min-w-0 flex-1 items-center gap-2", children: [
|
|
5963
|
+
/* @__PURE__ */ jsx102(SkeletonBlock, { className: "h-6 w-10 rounded-agg-sm" }),
|
|
5964
|
+
/* @__PURE__ */ jsx102(SkeletonBlock, { className: "h-4 w-[60px] rounded-agg-sm" })
|
|
5819
5965
|
] })
|
|
5820
5966
|
] }),
|
|
5821
|
-
/* @__PURE__ */
|
|
5967
|
+
/* @__PURE__ */ jsx102(SkeletonBlock, { className: "size-5 rounded-[4px]" })
|
|
5822
5968
|
] });
|
|
5823
5969
|
};
|
|
5824
5970
|
var SearchSkeletonView = ({ className, ariaLabel }) => {
|
|
5825
5971
|
const labels = useLabels7();
|
|
5826
|
-
return /* @__PURE__ */
|
|
5972
|
+
return /* @__PURE__ */ jsxs99(
|
|
5827
5973
|
"div",
|
|
5828
5974
|
{
|
|
5829
5975
|
className: cn(
|
|
@@ -5835,8 +5981,8 @@ var SearchSkeletonView = ({ className, ariaLabel }) => {
|
|
|
5835
5981
|
"aria-label": ariaLabel != null ? ariaLabel : labels.search.loadingResults,
|
|
5836
5982
|
"aria-busy": true,
|
|
5837
5983
|
children: [
|
|
5838
|
-
/* @__PURE__ */
|
|
5839
|
-
/* @__PURE__ */
|
|
5984
|
+
/* @__PURE__ */ jsx102("div", { className: "pt-2", children: Array.from({ length: 4 }).map((_, index) => /* @__PURE__ */ jsx102("div", { className: cn(index > 0 && "border-t border-agg-separator"), children: /* @__PURE__ */ jsx102(SearchSkeletonRow, {}) }, index)) }),
|
|
5985
|
+
/* @__PURE__ */ jsx102("div", { className: "border-t border-agg-separator px-5 py-5", children: /* @__PURE__ */ jsx102(SkeletonBlock, { className: "h-5 w-[116px] rounded-agg-sm" }) })
|
|
5840
5986
|
]
|
|
5841
5987
|
}
|
|
5842
5988
|
);
|
|
@@ -5845,13 +5991,13 @@ SearchSkeletonView.displayName = "SearchSkeletonView";
|
|
|
5845
5991
|
|
|
5846
5992
|
// src/primitives/skeleton/views/settlement-skeleton-view.tsx
|
|
5847
5993
|
import { useLabels as useLabels8 } from "@agg-build/hooks";
|
|
5848
|
-
import { jsx as
|
|
5994
|
+
import { jsx as jsx103, jsxs as jsxs100 } from "react/jsx-runtime";
|
|
5849
5995
|
var SettlementSkeletonView = ({
|
|
5850
5996
|
className,
|
|
5851
5997
|
ariaLabel
|
|
5852
5998
|
}) => {
|
|
5853
5999
|
const labels = useLabels8();
|
|
5854
|
-
return /* @__PURE__ */
|
|
6000
|
+
return /* @__PURE__ */ jsxs100(
|
|
5855
6001
|
Card,
|
|
5856
6002
|
{
|
|
5857
6003
|
className: cn(
|
|
@@ -5863,26 +6009,26 @@ var SettlementSkeletonView = ({
|
|
|
5863
6009
|
"aria-label": ariaLabel != null ? ariaLabel : labels.trading.settlementLoading,
|
|
5864
6010
|
"aria-busy": true,
|
|
5865
6011
|
children: [
|
|
5866
|
-
/* @__PURE__ */
|
|
5867
|
-
/* @__PURE__ */
|
|
5868
|
-
/* @__PURE__ */
|
|
6012
|
+
/* @__PURE__ */ jsxs100("div", { className: "flex w-full items-center justify-between gap-4", children: [
|
|
6013
|
+
/* @__PURE__ */ jsx103(SkeletonBlock, { className: "h-4 w-[81px] rounded-agg-sm" }),
|
|
6014
|
+
/* @__PURE__ */ jsx103(SkeletonBlock, { className: "h-5 w-full max-w-[240px] rounded-agg-sm" })
|
|
5869
6015
|
] }),
|
|
5870
|
-
/* @__PURE__ */
|
|
5871
|
-
/* @__PURE__ */
|
|
5872
|
-
/* @__PURE__ */
|
|
5873
|
-
/* @__PURE__ */
|
|
5874
|
-
/* @__PURE__ */
|
|
6016
|
+
/* @__PURE__ */ jsxs100("div", { className: "flex w-full flex-col gap-3", children: [
|
|
6017
|
+
/* @__PURE__ */ jsx103(SkeletonBlock, { className: "h-5 w-[200px] rounded-agg-sm" }),
|
|
6018
|
+
/* @__PURE__ */ jsxs100("div", { className: "flex flex-col gap-2", children: [
|
|
6019
|
+
/* @__PURE__ */ jsx103(SkeletonBlock, { className: "h-4 w-full max-w-[320px] rounded-agg-sm" }),
|
|
6020
|
+
/* @__PURE__ */ jsx103(SkeletonBlock, { className: "h-4 w-full max-w-[280px] rounded-agg-sm" })
|
|
5875
6021
|
] })
|
|
5876
6022
|
] }),
|
|
5877
|
-
/* @__PURE__ */
|
|
5878
|
-
/* @__PURE__ */
|
|
5879
|
-
/* @__PURE__ */
|
|
5880
|
-
/* @__PURE__ */
|
|
5881
|
-
/* @__PURE__ */
|
|
6023
|
+
/* @__PURE__ */ jsx103("div", { className: "h-px w-full bg-agg-separator" }),
|
|
6024
|
+
/* @__PURE__ */ jsxs100("div", { className: "flex w-full flex-col gap-3", children: [
|
|
6025
|
+
/* @__PURE__ */ jsxs100("div", { className: "flex items-center gap-2", children: [
|
|
6026
|
+
/* @__PURE__ */ jsx103(SkeletonBlock, { className: "size-4 rounded-agg-sm" }),
|
|
6027
|
+
/* @__PURE__ */ jsx103(SkeletonBlock, { className: "h-5 w-[100px] rounded-agg-sm" })
|
|
5882
6028
|
] }),
|
|
5883
|
-
/* @__PURE__ */
|
|
5884
|
-
/* @__PURE__ */
|
|
5885
|
-
/* @__PURE__ */
|
|
6029
|
+
/* @__PURE__ */ jsxs100("div", { className: "flex items-center gap-2", children: [
|
|
6030
|
+
/* @__PURE__ */ jsx103(SkeletonBlock, { className: "size-4 rounded-agg-sm" }),
|
|
6031
|
+
/* @__PURE__ */ jsx103(SkeletonBlock, { className: "h-5 w-[60px] rounded-agg-sm" })
|
|
5886
6032
|
] })
|
|
5887
6033
|
] })
|
|
5888
6034
|
]
|
|
@@ -5892,12 +6038,12 @@ var SettlementSkeletonView = ({
|
|
|
5892
6038
|
SettlementSkeletonView.displayName = "SettlementSkeletonView";
|
|
5893
6039
|
|
|
5894
6040
|
// src/primitives/skeleton/views/user-profile-overview-skeleton-view.tsx
|
|
5895
|
-
import { jsx as
|
|
6041
|
+
import { jsx as jsx104, jsxs as jsxs101 } from "react/jsx-runtime";
|
|
5896
6042
|
var UserProfileOverviewSkeletonView = ({
|
|
5897
6043
|
className,
|
|
5898
6044
|
ariaLabel
|
|
5899
6045
|
}) => {
|
|
5900
|
-
return /* @__PURE__ */
|
|
6046
|
+
return /* @__PURE__ */ jsxs101(
|
|
5901
6047
|
"div",
|
|
5902
6048
|
{
|
|
5903
6049
|
className: cn("flex w-full flex-col gap-6 sm:flex-row", className),
|
|
@@ -5905,49 +6051,49 @@ var UserProfileOverviewSkeletonView = ({
|
|
|
5905
6051
|
"aria-label": ariaLabel != null ? ariaLabel : "Loading profile overview",
|
|
5906
6052
|
"aria-busy": "true",
|
|
5907
6053
|
children: [
|
|
5908
|
-
/* @__PURE__ */
|
|
5909
|
-
/* @__PURE__ */
|
|
5910
|
-
/* @__PURE__ */
|
|
5911
|
-
/* @__PURE__ */
|
|
5912
|
-
/* @__PURE__ */
|
|
5913
|
-
/* @__PURE__ */
|
|
5914
|
-
/* @__PURE__ */
|
|
6054
|
+
/* @__PURE__ */ jsxs101("div", { className: "flex min-w-0 flex-1 flex-col gap-4 sm:gap-6", children: [
|
|
6055
|
+
/* @__PURE__ */ jsx104("div", { className: "rounded-agg-md border border-agg-separator bg-agg-secondary p-5", children: /* @__PURE__ */ jsxs101("div", { className: "flex w-full items-center gap-5", children: [
|
|
6056
|
+
/* @__PURE__ */ jsx104(SkeletonBlock, { className: "h-20 w-20 shrink-0 rounded-agg-full sm:h-[120px] sm:w-[120px]" }),
|
|
6057
|
+
/* @__PURE__ */ jsxs101("div", { className: "flex min-w-0 flex-1 flex-col gap-2", children: [
|
|
6058
|
+
/* @__PURE__ */ jsxs101("div", { className: "flex items-center justify-between gap-3", children: [
|
|
6059
|
+
/* @__PURE__ */ jsx104(SkeletonBlock, { className: "h-9 w-[140px] rounded-agg-sm" }),
|
|
6060
|
+
/* @__PURE__ */ jsx104(SkeletonBlock, { className: "h-6 w-[72px] rounded-agg-sm" })
|
|
5915
6061
|
] }),
|
|
5916
|
-
/* @__PURE__ */
|
|
5917
|
-
/* @__PURE__ */
|
|
5918
|
-
/* @__PURE__ */
|
|
5919
|
-
/* @__PURE__ */
|
|
6062
|
+
/* @__PURE__ */ jsxs101("div", { className: "flex items-center gap-2", children: [
|
|
6063
|
+
/* @__PURE__ */ jsx104(SkeletonBlock, { className: "h-5 w-5 rounded-agg-sm" }),
|
|
6064
|
+
/* @__PURE__ */ jsx104(SkeletonBlock, { className: "h-6 w-[140px] rounded-agg-sm" }),
|
|
6065
|
+
/* @__PURE__ */ jsx104(SkeletonBlock, { className: "h-5 w-[72px] rounded-agg-sm" })
|
|
5920
6066
|
] })
|
|
5921
6067
|
] })
|
|
5922
6068
|
] }) }),
|
|
5923
|
-
/* @__PURE__ */
|
|
5924
|
-
/* @__PURE__ */
|
|
5925
|
-
/* @__PURE__ */
|
|
5926
|
-
/* @__PURE__ */
|
|
6069
|
+
/* @__PURE__ */ jsx104("div", { className: "rounded-agg-md border border-agg-separator bg-agg-secondary p-5", children: /* @__PURE__ */ jsxs101("div", { className: "flex items-center justify-between", children: [
|
|
6070
|
+
/* @__PURE__ */ jsxs101("div", { className: "flex items-end gap-3", children: [
|
|
6071
|
+
/* @__PURE__ */ jsx104(SkeletonBlock, { className: "h-9 w-[80px] rounded-agg-sm" }),
|
|
6072
|
+
/* @__PURE__ */ jsx104(SkeletonBlock, { className: "h-5 w-[100px] rounded-agg-sm" })
|
|
5927
6073
|
] }),
|
|
5928
|
-
/* @__PURE__ */
|
|
5929
|
-
/* @__PURE__ */
|
|
5930
|
-
/* @__PURE__ */
|
|
5931
|
-
/* @__PURE__ */
|
|
5932
|
-
/* @__PURE__ */
|
|
6074
|
+
/* @__PURE__ */ jsxs101("div", { className: "flex items-center gap-2", children: [
|
|
6075
|
+
/* @__PURE__ */ jsx104(SkeletonBlock, { className: "h-5 w-5 rounded-agg-sm" }),
|
|
6076
|
+
/* @__PURE__ */ jsx104(SkeletonBlock, { className: "h-5 w-5 rounded-agg-sm" }),
|
|
6077
|
+
/* @__PURE__ */ jsx104(SkeletonBlock, { className: "h-5 w-5 rounded-agg-sm" }),
|
|
6078
|
+
/* @__PURE__ */ jsx104(SkeletonBlock, { className: "h-5 w-5 rounded-agg-sm" })
|
|
5933
6079
|
] })
|
|
5934
6080
|
] }) })
|
|
5935
6081
|
] }),
|
|
5936
|
-
/* @__PURE__ */
|
|
5937
|
-
/* @__PURE__ */
|
|
5938
|
-
/* @__PURE__ */
|
|
5939
|
-
/* @__PURE__ */
|
|
6082
|
+
/* @__PURE__ */ jsxs101("div", { className: "w-full shrink-0 rounded-agg-md border border-agg-separator bg-agg-secondary p-5 sm:w-full md:w-[465px]", children: [
|
|
6083
|
+
/* @__PURE__ */ jsxs101("div", { className: "mb-4 flex items-center justify-between", children: [
|
|
6084
|
+
/* @__PURE__ */ jsx104(SkeletonBlock, { className: "h-7 w-[84px] rounded-agg-sm" }),
|
|
6085
|
+
/* @__PURE__ */ jsx104(SkeletonBlock, { className: "h-7 w-[64px] rounded-agg-sm" })
|
|
5940
6086
|
] }),
|
|
5941
|
-
/* @__PURE__ */
|
|
5942
|
-
/* @__PURE__ */
|
|
5943
|
-
/* @__PURE__ */
|
|
5944
|
-
/* @__PURE__ */
|
|
6087
|
+
/* @__PURE__ */ jsx104("div", { className: "flex flex-col gap-4", children: Array.from({ length: 3 }).map((_, index) => /* @__PURE__ */ jsxs101("div", { className: "flex items-center justify-between", children: [
|
|
6088
|
+
/* @__PURE__ */ jsxs101("div", { className: "flex items-center gap-3", children: [
|
|
6089
|
+
/* @__PURE__ */ jsx104(SkeletonBlock, { className: "h-4 w-4 rounded-agg-sm" }),
|
|
6090
|
+
/* @__PURE__ */ jsx104(SkeletonBlock, { className: "h-6 w-[70px] rounded-agg-sm" })
|
|
5945
6091
|
] }),
|
|
5946
|
-
/* @__PURE__ */
|
|
6092
|
+
/* @__PURE__ */ jsx104(SkeletonBlock, { className: "h-6 w-[96px] rounded-agg-sm" })
|
|
5947
6093
|
] }, index)) }),
|
|
5948
|
-
/* @__PURE__ */
|
|
5949
|
-
/* @__PURE__ */
|
|
5950
|
-
/* @__PURE__ */
|
|
6094
|
+
/* @__PURE__ */ jsxs101("div", { className: "mt-4 flex gap-3", children: [
|
|
6095
|
+
/* @__PURE__ */ jsx104(SkeletonBlock, { className: "h-9 flex-1 rounded-agg-full" }),
|
|
6096
|
+
/* @__PURE__ */ jsx104(SkeletonBlock, { className: "h-9 flex-1 rounded-agg-full" })
|
|
5951
6097
|
] })
|
|
5952
6098
|
] })
|
|
5953
6099
|
]
|
|
@@ -5957,12 +6103,12 @@ var UserProfileOverviewSkeletonView = ({
|
|
|
5957
6103
|
UserProfileOverviewSkeletonView.displayName = "UserProfileOverviewSkeletonView";
|
|
5958
6104
|
|
|
5959
6105
|
// src/primitives/skeleton/views/user-profile-positions-activity-skeleton-view.tsx
|
|
5960
|
-
import { jsx as
|
|
6106
|
+
import { jsx as jsx105, jsxs as jsxs102 } from "react/jsx-runtime";
|
|
5961
6107
|
var UserProfilePositionsActivitySkeletonView = ({
|
|
5962
6108
|
className,
|
|
5963
6109
|
ariaLabel
|
|
5964
6110
|
}) => {
|
|
5965
|
-
return /* @__PURE__ */
|
|
6111
|
+
return /* @__PURE__ */ jsxs102(
|
|
5966
6112
|
"div",
|
|
5967
6113
|
{
|
|
5968
6114
|
className: cn(
|
|
@@ -5973,18 +6119,18 @@ var UserProfilePositionsActivitySkeletonView = ({
|
|
|
5973
6119
|
"aria-label": ariaLabel != null ? ariaLabel : "Loading positions and activity",
|
|
5974
6120
|
"aria-busy": "true",
|
|
5975
6121
|
children: [
|
|
5976
|
-
/* @__PURE__ */
|
|
5977
|
-
/* @__PURE__ */
|
|
5978
|
-
/* @__PURE__ */
|
|
6122
|
+
/* @__PURE__ */ jsx105("div", { className: "h-11 border-b border-agg-separator px-4 sm:h-12 sm:px-6", children: /* @__PURE__ */ jsxs102("div", { className: "flex h-full items-center gap-6", children: [
|
|
6123
|
+
/* @__PURE__ */ jsx105(SkeletonBlock, { className: "h-6 w-[72px] rounded-agg-sm" }),
|
|
6124
|
+
/* @__PURE__ */ jsx105(SkeletonBlock, { className: "h-6 w-[64px] rounded-agg-sm" })
|
|
5979
6125
|
] }) }),
|
|
5980
|
-
/* @__PURE__ */
|
|
5981
|
-
/* @__PURE__ */
|
|
5982
|
-
/* @__PURE__ */
|
|
5983
|
-
/* @__PURE__ */
|
|
6126
|
+
/* @__PURE__ */ jsxs102("div", { className: "flex flex-col gap-4 p-4 sm:gap-6 sm:p-6", children: [
|
|
6127
|
+
/* @__PURE__ */ jsxs102("div", { className: "flex gap-5", children: [
|
|
6128
|
+
/* @__PURE__ */ jsx105(SkeletonBlock, { className: "h-10 w-[270px] rounded-agg-sm" }),
|
|
6129
|
+
/* @__PURE__ */ jsx105(SkeletonBlock, { className: "h-10 min-w-0 flex-1 rounded-agg-sm" })
|
|
5984
6130
|
] }),
|
|
5985
|
-
/* @__PURE__ */
|
|
5986
|
-
/* @__PURE__ */
|
|
5987
|
-
/* @__PURE__ */
|
|
6131
|
+
/* @__PURE__ */ jsx105("div", { className: "flex flex-col gap-3 sm:gap-4", children: Array.from({ length: 3 }).map((_, index) => /* @__PURE__ */ jsxs102("div", { className: "flex items-center gap-5", children: [
|
|
6132
|
+
/* @__PURE__ */ jsx105(SkeletonBlock, { className: "h-10 w-[270px] rounded-agg-sm" }),
|
|
6133
|
+
/* @__PURE__ */ jsx105(SkeletonBlock, { className: "h-10 min-w-0 flex-1 rounded-agg-sm" })
|
|
5988
6134
|
] }, index)) })
|
|
5989
6135
|
] })
|
|
5990
6136
|
]
|
|
@@ -6024,37 +6170,37 @@ var resolveSkeletonView = (view) => {
|
|
|
6024
6170
|
};
|
|
6025
6171
|
|
|
6026
6172
|
// src/primitives/skeleton/index.tsx
|
|
6027
|
-
import { jsx as
|
|
6173
|
+
import { jsx as jsx106 } from "react/jsx-runtime";
|
|
6028
6174
|
var Skeleton = ({ view, className, ariaLabel }) => {
|
|
6029
6175
|
const resolvedView = resolveSkeletonView(view);
|
|
6030
6176
|
if (resolvedView === skeletonViews.eventListItem) {
|
|
6031
|
-
return /* @__PURE__ */
|
|
6177
|
+
return /* @__PURE__ */ jsx106(EventListItemSkeletonView, { className, ariaLabel, isStandalone: true });
|
|
6032
6178
|
}
|
|
6033
6179
|
if (resolvedView === skeletonViews.eventListItemDetails) {
|
|
6034
|
-
return /* @__PURE__ */
|
|
6180
|
+
return /* @__PURE__ */ jsx106(EventListItemDetailsSkeletonView, { className, ariaLabel });
|
|
6035
6181
|
}
|
|
6036
6182
|
if (resolvedView === skeletonViews.marketDetailsMinified) {
|
|
6037
|
-
return /* @__PURE__ */
|
|
6183
|
+
return /* @__PURE__ */ jsx106(MarketDetailsSkeletonView, { className, ariaLabel, isDetailed: false });
|
|
6038
6184
|
}
|
|
6039
6185
|
if (resolvedView === skeletonViews.marketDetailsDetailed) {
|
|
6040
|
-
return /* @__PURE__ */
|
|
6186
|
+
return /* @__PURE__ */ jsx106(MarketDetailsSkeletonView, { className, ariaLabel, isDetailed: true });
|
|
6041
6187
|
}
|
|
6042
6188
|
if (resolvedView === skeletonViews.settlement) {
|
|
6043
|
-
return /* @__PURE__ */
|
|
6189
|
+
return /* @__PURE__ */ jsx106(SettlementSkeletonView, { className, ariaLabel });
|
|
6044
6190
|
}
|
|
6045
6191
|
if (resolvedView === skeletonViews.placeOrder) {
|
|
6046
|
-
return /* @__PURE__ */
|
|
6192
|
+
return /* @__PURE__ */ jsx106(PlaceOrderSkeletonView, { className, ariaLabel });
|
|
6047
6193
|
}
|
|
6048
6194
|
if (resolvedView === skeletonViews.search) {
|
|
6049
|
-
return /* @__PURE__ */
|
|
6195
|
+
return /* @__PURE__ */ jsx106(SearchSkeletonView, { className, ariaLabel });
|
|
6050
6196
|
}
|
|
6051
6197
|
if (resolvedView === skeletonViews.userProfileOverview) {
|
|
6052
|
-
return /* @__PURE__ */
|
|
6198
|
+
return /* @__PURE__ */ jsx106(UserProfileOverviewSkeletonView, { className, ariaLabel });
|
|
6053
6199
|
}
|
|
6054
6200
|
if (resolvedView === skeletonViews.userProfilePositionsActivity) {
|
|
6055
|
-
return /* @__PURE__ */
|
|
6201
|
+
return /* @__PURE__ */ jsx106(UserProfilePositionsActivitySkeletonView, { className, ariaLabel });
|
|
6056
6202
|
}
|
|
6057
|
-
return /* @__PURE__ */
|
|
6203
|
+
return /* @__PURE__ */ jsx106(EventListSkeletonView, { className, ariaLabel });
|
|
6058
6204
|
};
|
|
6059
6205
|
Skeleton.displayName = "Skeleton";
|
|
6060
6206
|
|
|
@@ -6077,7 +6223,7 @@ var resolveLogoPrimaryColor = ({
|
|
|
6077
6223
|
};
|
|
6078
6224
|
|
|
6079
6225
|
// src/primitives/venue-logo/svg/default-venue.tsx
|
|
6080
|
-
import { jsx as
|
|
6226
|
+
import { jsx as jsx107, jsxs as jsxs103 } from "react/jsx-runtime";
|
|
6081
6227
|
var DefaultVenueIcon = (_a) => {
|
|
6082
6228
|
var _b = _a, {
|
|
6083
6229
|
title: title2,
|
|
@@ -6095,7 +6241,7 @@ var DefaultVenueIcon = (_a) => {
|
|
|
6095
6241
|
isColor,
|
|
6096
6242
|
color
|
|
6097
6243
|
});
|
|
6098
|
-
return /* @__PURE__ */
|
|
6244
|
+
return /* @__PURE__ */ jsxs103(
|
|
6099
6245
|
"svg",
|
|
6100
6246
|
__spreadProps(__spreadValues(__spreadValues({
|
|
6101
6247
|
viewBox: "0 0 100 100",
|
|
@@ -6103,9 +6249,9 @@ var DefaultVenueIcon = (_a) => {
|
|
|
6103
6249
|
fill: "none"
|
|
6104
6250
|
}, getIconA11yProps(title2)), props), {
|
|
6105
6251
|
children: [
|
|
6106
|
-
title2 ? /* @__PURE__ */
|
|
6107
|
-
/* @__PURE__ */
|
|
6108
|
-
/* @__PURE__ */
|
|
6252
|
+
title2 ? /* @__PURE__ */ jsx107("title", { children: title2 }) : null,
|
|
6253
|
+
/* @__PURE__ */ jsx107("circle", { cx: "50", cy: "50", r: "45", stroke: primaryColor, strokeWidth: "6", fill: "none" }),
|
|
6254
|
+
/* @__PURE__ */ jsx107("circle", { cx: "50", cy: "50", r: "8", fill: primaryColor })
|
|
6109
6255
|
]
|
|
6110
6256
|
})
|
|
6111
6257
|
);
|
|
@@ -6114,7 +6260,7 @@ var DefaultVenueIcon = (_a) => {
|
|
|
6114
6260
|
// src/primitives/venue-logo/svg/logo-hyperliquid.tsx
|
|
6115
6261
|
import { useAggUiConfig } from "@agg-build/hooks";
|
|
6116
6262
|
import { Venue } from "@agg-build/sdk";
|
|
6117
|
-
import { jsx as
|
|
6263
|
+
import { jsx as jsx108, jsxs as jsxs104 } from "react/jsx-runtime";
|
|
6118
6264
|
var LogoHyperliquidIcon = (_a) => {
|
|
6119
6265
|
var _b = _a, {
|
|
6120
6266
|
title: title2,
|
|
@@ -6137,7 +6283,7 @@ var LogoHyperliquidIcon = (_a) => {
|
|
|
6137
6283
|
isColor,
|
|
6138
6284
|
color
|
|
6139
6285
|
});
|
|
6140
|
-
return /* @__PURE__ */
|
|
6286
|
+
return /* @__PURE__ */ jsxs104(
|
|
6141
6287
|
"svg",
|
|
6142
6288
|
__spreadProps(__spreadValues(__spreadValues({
|
|
6143
6289
|
viewBox: "0 0 100 100",
|
|
@@ -6145,8 +6291,8 @@ var LogoHyperliquidIcon = (_a) => {
|
|
|
6145
6291
|
fill: "none"
|
|
6146
6292
|
}, getIconA11yProps(title2)), props), {
|
|
6147
6293
|
children: [
|
|
6148
|
-
title2 ? /* @__PURE__ */
|
|
6149
|
-
/* @__PURE__ */
|
|
6294
|
+
title2 ? /* @__PURE__ */ jsx108("title", { children: title2 }) : null,
|
|
6295
|
+
/* @__PURE__ */ jsx108(
|
|
6150
6296
|
"path",
|
|
6151
6297
|
{
|
|
6152
6298
|
d: "M82 49.2724C82 70.431 69.0516 77.2204 62.2292 71.175C56.6135 66.2457 54.9427 55.8293 46.496 54.7597C35.7752 53.4112 34.847 67.6875 27.7926 67.6875C19.578 67.6875 18 55.7363 18 49.5979C18 43.3201 19.7636 34.7636 26.7716 34.7636C34.9398 34.7636 35.4039 46.9938 45.6142 46.3427C55.7781 45.6452 55.9637 32.9034 62.5542 27.4626C68.3089 22.7658 82 27.8346 82 49.2724Z",
|
|
@@ -6162,7 +6308,7 @@ LogoHyperliquidIcon.displayName = "LogoHyperliquidIcon";
|
|
|
6162
6308
|
// src/primitives/venue-logo/svg/logo-kalshi.tsx
|
|
6163
6309
|
import { useAggUiConfig as useAggUiConfig2 } from "@agg-build/hooks";
|
|
6164
6310
|
import { Venue as Venue2 } from "@agg-build/sdk";
|
|
6165
|
-
import { jsx as
|
|
6311
|
+
import { jsx as jsx109, jsxs as jsxs105 } from "react/jsx-runtime";
|
|
6166
6312
|
var LogoKalshiIcon = (_a) => {
|
|
6167
6313
|
var _b = _a, {
|
|
6168
6314
|
title: title2,
|
|
@@ -6185,7 +6331,7 @@ var LogoKalshiIcon = (_a) => {
|
|
|
6185
6331
|
isColor,
|
|
6186
6332
|
color
|
|
6187
6333
|
});
|
|
6188
|
-
return /* @__PURE__ */
|
|
6334
|
+
return /* @__PURE__ */ jsxs105(
|
|
6189
6335
|
"svg",
|
|
6190
6336
|
__spreadProps(__spreadValues(__spreadValues({
|
|
6191
6337
|
viewBox: "0 0 100 100",
|
|
@@ -6193,8 +6339,8 @@ var LogoKalshiIcon = (_a) => {
|
|
|
6193
6339
|
fill: "none"
|
|
6194
6340
|
}, getIconA11yProps(title2)), props), {
|
|
6195
6341
|
children: [
|
|
6196
|
-
title2 ? /* @__PURE__ */
|
|
6197
|
-
/* @__PURE__ */
|
|
6342
|
+
title2 ? /* @__PURE__ */ jsx109("title", { children: title2 }) : null,
|
|
6343
|
+
/* @__PURE__ */ jsx109(
|
|
6198
6344
|
"path",
|
|
6199
6345
|
{
|
|
6200
6346
|
d: "M54.9798 47.579L79.4249 85.9995H58.2273L38.2531 52.9344V85.9995H20.4189V13.9995H38.2531V45.4356L59.6547 13.9995H78.7119L54.9798 47.579Z",
|
|
@@ -6210,7 +6356,7 @@ LogoKalshiIcon.displayName = "LogoKalshiIcon";
|
|
|
6210
6356
|
// src/primitives/venue-logo/svg/logo-limitless.tsx
|
|
6211
6357
|
import { useAggUiConfig as useAggUiConfig3 } from "@agg-build/hooks";
|
|
6212
6358
|
import { Venue as Venue3 } from "@agg-build/sdk";
|
|
6213
|
-
import { jsx as
|
|
6359
|
+
import { jsx as jsx110, jsxs as jsxs106 } from "react/jsx-runtime";
|
|
6214
6360
|
var LogoLimitlessIcon = (_a) => {
|
|
6215
6361
|
var _b = _a, {
|
|
6216
6362
|
title: title2,
|
|
@@ -6233,7 +6379,7 @@ var LogoLimitlessIcon = (_a) => {
|
|
|
6233
6379
|
isColor,
|
|
6234
6380
|
color
|
|
6235
6381
|
});
|
|
6236
|
-
return /* @__PURE__ */
|
|
6382
|
+
return /* @__PURE__ */ jsxs106(
|
|
6237
6383
|
"svg",
|
|
6238
6384
|
__spreadProps(__spreadValues(__spreadValues({
|
|
6239
6385
|
viewBox: "0 0 100 100",
|
|
@@ -6241,8 +6387,8 @@ var LogoLimitlessIcon = (_a) => {
|
|
|
6241
6387
|
fill: "none"
|
|
6242
6388
|
}, getIconA11yProps(title2)), props), {
|
|
6243
6389
|
children: [
|
|
6244
|
-
title2 ? /* @__PURE__ */
|
|
6245
|
-
/* @__PURE__ */
|
|
6390
|
+
title2 ? /* @__PURE__ */ jsx110("title", { children: title2 }) : null,
|
|
6391
|
+
/* @__PURE__ */ jsx110(
|
|
6246
6392
|
"path",
|
|
6247
6393
|
{
|
|
6248
6394
|
d: "M78.2762 44.4662H67.7966L81.9152 30.0554L82 29.9706L76.8528 24.8176H62.8524V21.6803C62.8524 19.6513 61.2036 18 59.1777 18H44.1555C42.1297 18 40.4809 19.6513 40.4809 21.6803V48.171H21.7238C19.6979 48.171 18.0491 49.8223 18.0491 51.8512C18.0491 53.8804 19.6979 55.5317 21.7238 55.5317H32.2034L18.0848 69.9379L18 70.0227L23.145 75.1755H37.1476V78.3195C37.1476 80.3487 38.7964 82 40.8222 82H55.8444C57.8703 82 59.5191 80.3487 59.5191 78.3195V51.8267H78.2762C80.3021 51.8267 81.9509 50.1754 81.9509 48.1464C81.9509 46.1175 80.3021 44.4662 78.2762 44.4662ZM57.9886 78.3173C57.9886 79.5018 57.0269 80.4647 55.8444 80.4647C54.6619 80.4647 53.7003 79.5018 53.7003 78.3173V57.2411L38.2096 73.0506L35.1752 70.0137L50.8712 54.0009H36.7459C35.5634 54.0009 34.6018 53.0377 34.6018 51.8535C34.6018 50.6692 35.5634 49.7038 36.7459 49.7038H54.8204C56.5673 49.7038 57.9886 51.1273 57.9886 52.8769V78.3195V78.3173ZM78.2762 50.2938H60.2018C58.4549 50.2938 57.0336 48.8704 57.0336 47.1208V21.6781C57.0336 20.4938 57.9953 19.5307 59.1777 19.5307C60.3602 19.5307 61.3241 20.4938 61.3241 21.6781V42.7544L76.8126 26.9403L79.847 29.9772L64.1509 45.9968H78.2762C79.4587 45.9968 80.4204 46.9599 80.4204 48.1442C80.4204 49.3285 79.4587 50.2916 78.2762 50.2916V50.2938Z",
|
|
@@ -6258,7 +6404,7 @@ LogoLimitlessIcon.displayName = "LogoLimitlessIcon";
|
|
|
6258
6404
|
// src/primitives/venue-logo/svg/logo-myriad.tsx
|
|
6259
6405
|
import { useAggUiConfig as useAggUiConfig4 } from "@agg-build/hooks";
|
|
6260
6406
|
import { Venue as Venue4 } from "@agg-build/sdk";
|
|
6261
|
-
import { jsx as
|
|
6407
|
+
import { jsx as jsx111, jsxs as jsxs107 } from "react/jsx-runtime";
|
|
6262
6408
|
var LogoMyriadIcon = (_a) => {
|
|
6263
6409
|
var _b = _a, {
|
|
6264
6410
|
title: title2,
|
|
@@ -6281,7 +6427,7 @@ var LogoMyriadIcon = (_a) => {
|
|
|
6281
6427
|
isColor,
|
|
6282
6428
|
color
|
|
6283
6429
|
});
|
|
6284
|
-
return /* @__PURE__ */
|
|
6430
|
+
return /* @__PURE__ */ jsxs107(
|
|
6285
6431
|
"svg",
|
|
6286
6432
|
__spreadProps(__spreadValues(__spreadValues({
|
|
6287
6433
|
viewBox: "0 0 100 100",
|
|
@@ -6289,8 +6435,8 @@ var LogoMyriadIcon = (_a) => {
|
|
|
6289
6435
|
fill: "none"
|
|
6290
6436
|
}, getIconA11yProps(title2)), props), {
|
|
6291
6437
|
children: [
|
|
6292
|
-
title2 ? /* @__PURE__ */
|
|
6293
|
-
/* @__PURE__ */
|
|
6438
|
+
title2 ? /* @__PURE__ */ jsx111("title", { children: title2 }) : null,
|
|
6439
|
+
/* @__PURE__ */ jsx111(
|
|
6294
6440
|
"path",
|
|
6295
6441
|
{
|
|
6296
6442
|
d: "M24.356 52.5901C24.1479 52.8348 24.0342 53.1458 24.0352 53.467L24.0394 64.9354V68.672H44.3882V58.5767H32.5776L55.2898 31.713C55.4979 31.4683 55.6116 31.1573 55.6107 30.8361V19.3656C55.6107 18.093 54.0108 17.5155 53.1874 18.4887L24.356 52.5901ZM75.9594 31.3259V35.0646L75.9637 46.533C75.9637 46.8538 75.8504 47.1639 75.6429 47.4099L46.8137 81.5113C45.9902 82.4845 44.3925 81.907 44.3925 80.6344V69.1617C44.3925 68.8409 44.5059 68.5329 44.7133 68.287L67.4234 41.4233H55.6128V31.328L75.9594 31.3259Z",
|
|
@@ -6306,7 +6452,7 @@ LogoMyriadIcon.displayName = "LogoMyriadIcon";
|
|
|
6306
6452
|
// src/primitives/venue-logo/svg/logo-opinion.tsx
|
|
6307
6453
|
import { useAggUiConfig as useAggUiConfig5 } from "@agg-build/hooks";
|
|
6308
6454
|
import { Venue as Venue5 } from "@agg-build/sdk";
|
|
6309
|
-
import { jsx as
|
|
6455
|
+
import { jsx as jsx112, jsxs as jsxs108 } from "react/jsx-runtime";
|
|
6310
6456
|
var LogoOpinionIcon = (_a) => {
|
|
6311
6457
|
var _b = _a, {
|
|
6312
6458
|
title: title2,
|
|
@@ -6329,7 +6475,7 @@ var LogoOpinionIcon = (_a) => {
|
|
|
6329
6475
|
isColor,
|
|
6330
6476
|
color
|
|
6331
6477
|
});
|
|
6332
|
-
return /* @__PURE__ */
|
|
6478
|
+
return /* @__PURE__ */ jsxs108(
|
|
6333
6479
|
"svg",
|
|
6334
6480
|
__spreadProps(__spreadValues(__spreadValues({
|
|
6335
6481
|
viewBox: "0 0 100 100",
|
|
@@ -6337,8 +6483,8 @@ var LogoOpinionIcon = (_a) => {
|
|
|
6337
6483
|
fill: "none"
|
|
6338
6484
|
}, getIconA11yProps(title2)), props), {
|
|
6339
6485
|
children: [
|
|
6340
|
-
title2 ? /* @__PURE__ */
|
|
6341
|
-
/* @__PURE__ */
|
|
6486
|
+
title2 ? /* @__PURE__ */ jsx112("title", { children: title2 }) : null,
|
|
6487
|
+
/* @__PURE__ */ jsx112(
|
|
6342
6488
|
"path",
|
|
6343
6489
|
{
|
|
6344
6490
|
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",
|
|
@@ -6354,7 +6500,7 @@ LogoOpinionIcon.displayName = "LogoOpinionIcon";
|
|
|
6354
6500
|
// src/primitives/venue-logo/svg/logo-polymarket.tsx
|
|
6355
6501
|
import { useAggUiConfig as useAggUiConfig6 } from "@agg-build/hooks";
|
|
6356
6502
|
import { Venue as Venue6 } from "@agg-build/sdk";
|
|
6357
|
-
import { jsx as
|
|
6503
|
+
import { jsx as jsx113, jsxs as jsxs109 } from "react/jsx-runtime";
|
|
6358
6504
|
var LogoPolymarketIcon = (_a) => {
|
|
6359
6505
|
var _b = _a, {
|
|
6360
6506
|
title: title2,
|
|
@@ -6377,7 +6523,7 @@ var LogoPolymarketIcon = (_a) => {
|
|
|
6377
6523
|
isColor,
|
|
6378
6524
|
color
|
|
6379
6525
|
});
|
|
6380
|
-
return /* @__PURE__ */
|
|
6526
|
+
return /* @__PURE__ */ jsxs109(
|
|
6381
6527
|
"svg",
|
|
6382
6528
|
__spreadProps(__spreadValues(__spreadValues({
|
|
6383
6529
|
viewBox: "0 0 100 100",
|
|
@@ -6385,8 +6531,8 @@ var LogoPolymarketIcon = (_a) => {
|
|
|
6385
6531
|
fill: "none"
|
|
6386
6532
|
}, getIconA11yProps(title2)), props), {
|
|
6387
6533
|
children: [
|
|
6388
|
-
title2 ? /* @__PURE__ */
|
|
6389
|
-
/* @__PURE__ */
|
|
6534
|
+
title2 ? /* @__PURE__ */ jsx113("title", { children: title2 }) : null,
|
|
6535
|
+
/* @__PURE__ */ jsx113(
|
|
6390
6536
|
"path",
|
|
6391
6537
|
{
|
|
6392
6538
|
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",
|
|
@@ -6402,7 +6548,7 @@ LogoPolymarketIcon.displayName = "LogoPolymarketIcon";
|
|
|
6402
6548
|
// src/primitives/venue-logo/svg/logo-predict.tsx
|
|
6403
6549
|
import { useAggUiConfig as useAggUiConfig7 } from "@agg-build/hooks";
|
|
6404
6550
|
import { Venue as Venue7 } from "@agg-build/sdk";
|
|
6405
|
-
import { jsx as
|
|
6551
|
+
import { jsx as jsx114, jsxs as jsxs110 } from "react/jsx-runtime";
|
|
6406
6552
|
var LogoPredictIcon = (_a) => {
|
|
6407
6553
|
var _b = _a, {
|
|
6408
6554
|
title: title2,
|
|
@@ -6425,7 +6571,7 @@ var LogoPredictIcon = (_a) => {
|
|
|
6425
6571
|
isColor,
|
|
6426
6572
|
color
|
|
6427
6573
|
});
|
|
6428
|
-
return /* @__PURE__ */
|
|
6574
|
+
return /* @__PURE__ */ jsxs110(
|
|
6429
6575
|
"svg",
|
|
6430
6576
|
__spreadProps(__spreadValues(__spreadValues({
|
|
6431
6577
|
viewBox: "0 0 100 100",
|
|
@@ -6433,8 +6579,8 @@ var LogoPredictIcon = (_a) => {
|
|
|
6433
6579
|
fill: "none"
|
|
6434
6580
|
}, getIconA11yProps(title2)), props), {
|
|
6435
6581
|
children: [
|
|
6436
|
-
title2 ? /* @__PURE__ */
|
|
6437
|
-
/* @__PURE__ */
|
|
6582
|
+
title2 ? /* @__PURE__ */ jsx114("title", { children: title2 }) : null,
|
|
6583
|
+
/* @__PURE__ */ jsx114(
|
|
6438
6584
|
"path",
|
|
6439
6585
|
{
|
|
6440
6586
|
fillRule: "evenodd",
|
|
@@ -6452,7 +6598,7 @@ LogoPredictIcon.displayName = "LogoPredictIcon";
|
|
|
6452
6598
|
// src/primitives/venue-logo/svg/logo-probable.tsx
|
|
6453
6599
|
import { useAggUiConfig as useAggUiConfig8 } from "@agg-build/hooks";
|
|
6454
6600
|
import { Venue as Venue8 } from "@agg-build/sdk";
|
|
6455
|
-
import { jsx as
|
|
6601
|
+
import { jsx as jsx115, jsxs as jsxs111 } from "react/jsx-runtime";
|
|
6456
6602
|
var LogoProbableIcon = (_a) => {
|
|
6457
6603
|
var _b = _a, {
|
|
6458
6604
|
title: title2,
|
|
@@ -6475,7 +6621,7 @@ var LogoProbableIcon = (_a) => {
|
|
|
6475
6621
|
isColor,
|
|
6476
6622
|
color
|
|
6477
6623
|
});
|
|
6478
|
-
return /* @__PURE__ */
|
|
6624
|
+
return /* @__PURE__ */ jsxs111(
|
|
6479
6625
|
"svg",
|
|
6480
6626
|
__spreadProps(__spreadValues(__spreadValues({
|
|
6481
6627
|
viewBox: "0 0 100 100",
|
|
@@ -6483,16 +6629,16 @@ var LogoProbableIcon = (_a) => {
|
|
|
6483
6629
|
fill: "none"
|
|
6484
6630
|
}, getIconA11yProps(title2)), props), {
|
|
6485
6631
|
children: [
|
|
6486
|
-
title2 ? /* @__PURE__ */
|
|
6487
|
-
/* @__PURE__ */
|
|
6632
|
+
title2 ? /* @__PURE__ */ jsx115("title", { children: title2 }) : null,
|
|
6633
|
+
/* @__PURE__ */ jsx115(
|
|
6488
6634
|
"path",
|
|
6489
6635
|
{
|
|
6490
6636
|
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",
|
|
6491
6637
|
fill: primaryColor
|
|
6492
6638
|
}
|
|
6493
6639
|
),
|
|
6494
|
-
/* @__PURE__ */
|
|
6495
|
-
/* @__PURE__ */
|
|
6640
|
+
/* @__PURE__ */ jsx115("path", { d: "M90.9329 15.4546V30.4546H8.90234V15.4546H90.9329Z", fill: primaryColor }),
|
|
6641
|
+
/* @__PURE__ */ jsx115(
|
|
6496
6642
|
"path",
|
|
6497
6643
|
{
|
|
6498
6644
|
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",
|
|
@@ -6603,7 +6749,7 @@ var resolveVenueLogoIsColor = ({
|
|
|
6603
6749
|
};
|
|
6604
6750
|
|
|
6605
6751
|
// src/primitives/venue-logo/index.tsx
|
|
6606
|
-
import { jsx as
|
|
6752
|
+
import { jsx as jsx116 } from "react/jsx-runtime";
|
|
6607
6753
|
var VenueLogo = ({
|
|
6608
6754
|
venue,
|
|
6609
6755
|
variant = "icon",
|
|
@@ -6629,7 +6775,7 @@ var VenueLogo = ({
|
|
|
6629
6775
|
console.warn(`[AggUI] Unknown venue "${venue}" \u2014 using default logo`);
|
|
6630
6776
|
}
|
|
6631
6777
|
if (variant === "logo") {
|
|
6632
|
-
return /* @__PURE__ */
|
|
6778
|
+
return /* @__PURE__ */ jsx116(
|
|
6633
6779
|
RemoteImage,
|
|
6634
6780
|
{
|
|
6635
6781
|
src: (_a = venueLogoUrlRegistry[venue]) != null ? _a : DEFAULT_VENUE_LOGO_URL,
|
|
@@ -6644,7 +6790,7 @@ var VenueLogo = ({
|
|
|
6644
6790
|
isColor,
|
|
6645
6791
|
isMonochromatic
|
|
6646
6792
|
});
|
|
6647
|
-
return /* @__PURE__ */
|
|
6793
|
+
return /* @__PURE__ */ jsx116(
|
|
6648
6794
|
Component2,
|
|
6649
6795
|
{
|
|
6650
6796
|
className: cn("group/agg-venue-logo", "shrink-0", sizeClass, className),
|
|
@@ -6714,7 +6860,7 @@ var mapVenueEventToSearchResult = (event, labels, formatPercent, formatCompactCu
|
|
|
6714
6860
|
};
|
|
6715
6861
|
|
|
6716
6862
|
// src/primitives/search/index.tsx
|
|
6717
|
-
import { Fragment as Fragment5, jsx as
|
|
6863
|
+
import { Fragment as Fragment5, jsx as jsx117, jsxs as jsxs112 } from "react/jsx-runtime";
|
|
6718
6864
|
var SearchResultRow = ({
|
|
6719
6865
|
item,
|
|
6720
6866
|
resultAria,
|
|
@@ -6725,7 +6871,7 @@ var SearchResultRow = ({
|
|
|
6725
6871
|
const handleResultClick = () => {
|
|
6726
6872
|
onSelect == null ? void 0 : onSelect(item);
|
|
6727
6873
|
};
|
|
6728
|
-
return /* @__PURE__ */
|
|
6874
|
+
return /* @__PURE__ */ jsxs112(
|
|
6729
6875
|
"button",
|
|
6730
6876
|
{
|
|
6731
6877
|
type: "button",
|
|
@@ -6742,8 +6888,8 @@ var SearchResultRow = ({
|
|
|
6742
6888
|
onClick: handleResultClick,
|
|
6743
6889
|
"aria-label": resultAria(item.title),
|
|
6744
6890
|
children: [
|
|
6745
|
-
/* @__PURE__ */
|
|
6746
|
-
/* @__PURE__ */
|
|
6891
|
+
/* @__PURE__ */ jsxs112("div", { className: "agg-search-result-content flex min-w-0 flex-1 items-center gap-4", children: [
|
|
6892
|
+
/* @__PURE__ */ jsx117(
|
|
6747
6893
|
RemoteImage,
|
|
6748
6894
|
{
|
|
6749
6895
|
src: item.thumbnailSrc,
|
|
@@ -6755,8 +6901,8 @@ var SearchResultRow = ({
|
|
|
6755
6901
|
)
|
|
6756
6902
|
}
|
|
6757
6903
|
),
|
|
6758
|
-
/* @__PURE__ */
|
|
6759
|
-
/* @__PURE__ */
|
|
6904
|
+
/* @__PURE__ */ jsxs112("div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [
|
|
6905
|
+
/* @__PURE__ */ jsx117(
|
|
6760
6906
|
"p",
|
|
6761
6907
|
{
|
|
6762
6908
|
className: cn(
|
|
@@ -6767,8 +6913,8 @@ var SearchResultRow = ({
|
|
|
6767
6913
|
children: item.title
|
|
6768
6914
|
}
|
|
6769
6915
|
),
|
|
6770
|
-
/* @__PURE__ */
|
|
6771
|
-
/* @__PURE__ */
|
|
6916
|
+
/* @__PURE__ */ jsxs112("div", { className: "agg-search-result-context flex min-w-0 items-center gap-2 text-agg-muted-foreground", children: [
|
|
6917
|
+
/* @__PURE__ */ jsx117(
|
|
6772
6918
|
"p",
|
|
6773
6919
|
{
|
|
6774
6920
|
className: cn(
|
|
@@ -6778,7 +6924,7 @@ var SearchResultRow = ({
|
|
|
6778
6924
|
children: item.marketSummaryLabel
|
|
6779
6925
|
}
|
|
6780
6926
|
),
|
|
6781
|
-
/* @__PURE__ */
|
|
6927
|
+
/* @__PURE__ */ jsx117("div", { className: "flex items-center gap-1", "aria-hidden": true, children: item.visibleVenues.map((venue) => /* @__PURE__ */ jsx117(
|
|
6782
6928
|
VenueLogo,
|
|
6783
6929
|
{
|
|
6784
6930
|
venue,
|
|
@@ -6788,9 +6934,9 @@ var SearchResultRow = ({
|
|
|
6788
6934
|
},
|
|
6789
6935
|
`${item.id}-${venue}`
|
|
6790
6936
|
)) }),
|
|
6791
|
-
item.volumeLabel ? /* @__PURE__ */
|
|
6792
|
-
/* @__PURE__ */
|
|
6793
|
-
/* @__PURE__ */
|
|
6937
|
+
item.volumeLabel ? /* @__PURE__ */ jsxs112(Fragment5, { children: [
|
|
6938
|
+
/* @__PURE__ */ jsx117("span", { className: "text-agg-muted-foreground", "aria-hidden": true, children: "\xB7" }),
|
|
6939
|
+
/* @__PURE__ */ jsx117(
|
|
6794
6940
|
"p",
|
|
6795
6941
|
{
|
|
6796
6942
|
className: cn(
|
|
@@ -6804,7 +6950,7 @@ var SearchResultRow = ({
|
|
|
6804
6950
|
] })
|
|
6805
6951
|
] })
|
|
6806
6952
|
] }),
|
|
6807
|
-
/* @__PURE__ */
|
|
6953
|
+
/* @__PURE__ */ jsxs112(
|
|
6808
6954
|
"div",
|
|
6809
6955
|
{
|
|
6810
6956
|
className: cn(
|
|
@@ -6812,9 +6958,9 @@ var SearchResultRow = ({
|
|
|
6812
6958
|
classNames == null ? void 0 : classNames.resultMeta
|
|
6813
6959
|
),
|
|
6814
6960
|
children: [
|
|
6815
|
-
/* @__PURE__ */
|
|
6816
|
-
/* @__PURE__ */
|
|
6817
|
-
/* @__PURE__ */
|
|
6961
|
+
/* @__PURE__ */ jsx117(VenueLogo, { venue: item.venue, size: "small" }),
|
|
6962
|
+
/* @__PURE__ */ jsxs112("div", { className: "flex min-w-0 flex-1 items-baseline gap-2", children: [
|
|
6963
|
+
/* @__PURE__ */ jsx117(
|
|
6818
6964
|
"p",
|
|
6819
6965
|
{
|
|
6820
6966
|
className: cn(
|
|
@@ -6825,7 +6971,7 @@ var SearchResultRow = ({
|
|
|
6825
6971
|
children: item.valueLabel
|
|
6826
6972
|
}
|
|
6827
6973
|
),
|
|
6828
|
-
/* @__PURE__ */
|
|
6974
|
+
/* @__PURE__ */ jsx117(
|
|
6829
6975
|
"p",
|
|
6830
6976
|
{
|
|
6831
6977
|
className: cn(
|
|
@@ -6839,7 +6985,7 @@ var SearchResultRow = ({
|
|
|
6839
6985
|
]
|
|
6840
6986
|
}
|
|
6841
6987
|
),
|
|
6842
|
-
/* @__PURE__ */
|
|
6988
|
+
/* @__PURE__ */ jsx117(
|
|
6843
6989
|
Icon,
|
|
6844
6990
|
{
|
|
6845
6991
|
name: "chevron-right",
|
|
@@ -6859,7 +7005,7 @@ var SearchSeeAllResultsButton = ({
|
|
|
6859
7005
|
label: label2,
|
|
6860
7006
|
onClick
|
|
6861
7007
|
}) => {
|
|
6862
|
-
return /* @__PURE__ */
|
|
7008
|
+
return /* @__PURE__ */ jsxs112(
|
|
6863
7009
|
"button",
|
|
6864
7010
|
{
|
|
6865
7011
|
type: "button",
|
|
@@ -6872,8 +7018,8 @@ var SearchSeeAllResultsButton = ({
|
|
|
6872
7018
|
),
|
|
6873
7019
|
onClick,
|
|
6874
7020
|
children: [
|
|
6875
|
-
/* @__PURE__ */
|
|
6876
|
-
/* @__PURE__ */
|
|
7021
|
+
/* @__PURE__ */ jsx117("span", { children: label2 }),
|
|
7022
|
+
/* @__PURE__ */ jsx117(Icon, { name: "chevron-right", size: "small", className: "size-[14px] text-agg-primary" })
|
|
6877
7023
|
]
|
|
6878
7024
|
}
|
|
6879
7025
|
);
|
|
@@ -7007,14 +7153,14 @@ var Search = ({
|
|
|
7007
7153
|
event.preventDefault();
|
|
7008
7154
|
handleSeeAllResults();
|
|
7009
7155
|
};
|
|
7010
|
-
return /* @__PURE__ */
|
|
7156
|
+
return /* @__PURE__ */ jsxs112(
|
|
7011
7157
|
"div",
|
|
7012
7158
|
{
|
|
7013
7159
|
className: cn("group/agg-search", "relative flex w-full flex-col", classNames == null ? void 0 : classNames.root),
|
|
7014
7160
|
onFocusCapture: handleFocusWithin,
|
|
7015
7161
|
onBlurCapture: handleBlurWithin,
|
|
7016
7162
|
children: [
|
|
7017
|
-
/* @__PURE__ */
|
|
7163
|
+
/* @__PURE__ */ jsx117("label", { className: "w-full", children: /* @__PURE__ */ jsxs112(
|
|
7018
7164
|
"div",
|
|
7019
7165
|
{
|
|
7020
7166
|
className: cn(
|
|
@@ -7030,7 +7176,7 @@ var Search = ({
|
|
|
7030
7176
|
),
|
|
7031
7177
|
onClick: handleFocusWithin,
|
|
7032
7178
|
children: [
|
|
7033
|
-
/* @__PURE__ */
|
|
7179
|
+
/* @__PURE__ */ jsx117(
|
|
7034
7180
|
Icon,
|
|
7035
7181
|
{
|
|
7036
7182
|
name: "search",
|
|
@@ -7038,7 +7184,7 @@ var Search = ({
|
|
|
7038
7184
|
className: cn("text-agg-muted-foreground", classNames == null ? void 0 : classNames.searchIcon)
|
|
7039
7185
|
}
|
|
7040
7186
|
),
|
|
7041
|
-
/* @__PURE__ */
|
|
7187
|
+
/* @__PURE__ */ jsx117(
|
|
7042
7188
|
"input",
|
|
7043
7189
|
__spreadProps(__spreadValues({}, inputProps), {
|
|
7044
7190
|
ref: inputRef,
|
|
@@ -7059,11 +7205,11 @@ var Search = ({
|
|
|
7059
7205
|
)
|
|
7060
7206
|
})
|
|
7061
7207
|
),
|
|
7062
|
-
shouldRenderShortcut ? /* @__PURE__ */
|
|
7208
|
+
shouldRenderShortcut ? /* @__PURE__ */ jsx117("div", { className: "agg-search-shortcut hidden md:flex size-6 shrink-0 items-center justify-center rounded-[4px] bg-agg-secondary-hover", children: /* @__PURE__ */ jsx117("span", { className: "font-agg-sans text-agg-sm leading-agg-5 font-agg-bold text-agg-muted-foreground", children: "/" }) }) : null
|
|
7063
7209
|
]
|
|
7064
7210
|
}
|
|
7065
7211
|
) }),
|
|
7066
|
-
shouldRenderLoadingState ? /* @__PURE__ */
|
|
7212
|
+
shouldRenderLoadingState ? /* @__PURE__ */ jsx117(
|
|
7067
7213
|
"div",
|
|
7068
7214
|
{
|
|
7069
7215
|
className: cn(
|
|
@@ -7073,10 +7219,10 @@ var Search = ({
|
|
|
7073
7219
|
"mt-1",
|
|
7074
7220
|
classNames == null ? void 0 : classNames.emptyState
|
|
7075
7221
|
),
|
|
7076
|
-
children: /* @__PURE__ */
|
|
7222
|
+
children: /* @__PURE__ */ jsx117(Skeleton, { view: "search" })
|
|
7077
7223
|
}
|
|
7078
7224
|
) : null,
|
|
7079
|
-
shouldRenderResults ? /* @__PURE__ */
|
|
7225
|
+
shouldRenderResults ? /* @__PURE__ */ jsx117(
|
|
7080
7226
|
"div",
|
|
7081
7227
|
{
|
|
7082
7228
|
className: cn(
|
|
@@ -7086,7 +7232,7 @@ var Search = ({
|
|
|
7086
7232
|
"mt-1 w-full overflow-hidden rounded-agg-xl border border-agg-separator bg-agg-secondary pt-2 shadow-[0px_8px_16px_0px_rgba(0,0,0,0.1)]",
|
|
7087
7233
|
classNames == null ? void 0 : classNames.dropdown
|
|
7088
7234
|
),
|
|
7089
|
-
children: /* @__PURE__ */
|
|
7235
|
+
children: /* @__PURE__ */ jsxs112(
|
|
7090
7236
|
"ul",
|
|
7091
7237
|
{
|
|
7092
7238
|
className: cn(
|
|
@@ -7096,7 +7242,7 @@ var Search = ({
|
|
|
7096
7242
|
role: "listbox",
|
|
7097
7243
|
"aria-label": labels.search.resultsAria,
|
|
7098
7244
|
children: [
|
|
7099
|
-
validatedResults.map((item, index) => /* @__PURE__ */
|
|
7245
|
+
validatedResults.map((item, index) => /* @__PURE__ */ jsx117(
|
|
7100
7246
|
"li",
|
|
7101
7247
|
{
|
|
7102
7248
|
role: "presentation",
|
|
@@ -7105,7 +7251,7 @@ var Search = ({
|
|
|
7105
7251
|
index > 0 && "border-t border-agg-separator",
|
|
7106
7252
|
classNames == null ? void 0 : classNames.resultItem
|
|
7107
7253
|
),
|
|
7108
|
-
children: /* @__PURE__ */
|
|
7254
|
+
children: /* @__PURE__ */ jsx117(
|
|
7109
7255
|
SearchResultRow,
|
|
7110
7256
|
{
|
|
7111
7257
|
item,
|
|
@@ -7117,12 +7263,12 @@ var Search = ({
|
|
|
7117
7263
|
},
|
|
7118
7264
|
item.id
|
|
7119
7265
|
)),
|
|
7120
|
-
/* @__PURE__ */
|
|
7266
|
+
/* @__PURE__ */ jsx117(
|
|
7121
7267
|
"li",
|
|
7122
7268
|
{
|
|
7123
7269
|
role: "presentation",
|
|
7124
7270
|
className: "agg-search-result-item border-t border-agg-separator",
|
|
7125
|
-
children: /* @__PURE__ */
|
|
7271
|
+
children: /* @__PURE__ */ jsx117(
|
|
7126
7272
|
SearchSeeAllResultsButton,
|
|
7127
7273
|
{
|
|
7128
7274
|
label: labels.search.seeAllResults,
|
|
@@ -7136,7 +7282,7 @@ var Search = ({
|
|
|
7136
7282
|
)
|
|
7137
7283
|
}
|
|
7138
7284
|
) : null,
|
|
7139
|
-
shouldRenderNoResults ? /* @__PURE__ */
|
|
7285
|
+
shouldRenderNoResults ? /* @__PURE__ */ jsx117(
|
|
7140
7286
|
"div",
|
|
7141
7287
|
{
|
|
7142
7288
|
className: cn(
|
|
@@ -7146,7 +7292,7 @@ var Search = ({
|
|
|
7146
7292
|
"mt-1 w-full overflow-hidden rounded-agg-xl border border-agg-separator bg-agg-secondary py-10 shadow-[0px_8px_16px_0px_rgba(0,0,0,0.1)]",
|
|
7147
7293
|
classNames == null ? void 0 : classNames.emptyState
|
|
7148
7294
|
),
|
|
7149
|
-
children: /* @__PURE__ */
|
|
7295
|
+
children: /* @__PURE__ */ jsxs112(
|
|
7150
7296
|
"div",
|
|
7151
7297
|
{
|
|
7152
7298
|
className: cn(
|
|
@@ -7156,15 +7302,15 @@ var Search = ({
|
|
|
7156
7302
|
role: "status",
|
|
7157
7303
|
"aria-live": "polite",
|
|
7158
7304
|
children: [
|
|
7159
|
-
/* @__PURE__ */
|
|
7305
|
+
/* @__PURE__ */ jsx117(
|
|
7160
7306
|
SearchEmptyIcon,
|
|
7161
7307
|
{
|
|
7162
7308
|
className: cn("h-10 w-10 text-agg-muted-foreground", classNames == null ? void 0 : classNames.emptyStateIcon),
|
|
7163
7309
|
"aria-hidden": true
|
|
7164
7310
|
}
|
|
7165
7311
|
),
|
|
7166
|
-
/* @__PURE__ */
|
|
7167
|
-
/* @__PURE__ */
|
|
7312
|
+
/* @__PURE__ */ jsxs112("div", { className: "flex flex-col items-center gap-1 text-center", children: [
|
|
7313
|
+
/* @__PURE__ */ jsx117(
|
|
7168
7314
|
"p",
|
|
7169
7315
|
{
|
|
7170
7316
|
className: cn(
|
|
@@ -7175,7 +7321,7 @@ var Search = ({
|
|
|
7175
7321
|
children: labels.search.noResultsTitle
|
|
7176
7322
|
}
|
|
7177
7323
|
),
|
|
7178
|
-
/* @__PURE__ */
|
|
7324
|
+
/* @__PURE__ */ jsx117(
|
|
7179
7325
|
"p",
|
|
7180
7326
|
{
|
|
7181
7327
|
className: cn(
|
|
@@ -7225,7 +7371,7 @@ var resolveHeaderSearchContent = ({
|
|
|
7225
7371
|
};
|
|
7226
7372
|
|
|
7227
7373
|
// src/primitives/header/index.tsx
|
|
7228
|
-
import { Fragment as Fragment6, jsx as
|
|
7374
|
+
import { Fragment as Fragment6, jsx as jsx118, jsxs as jsxs113 } from "react/jsx-runtime";
|
|
7229
7375
|
var Header = ({
|
|
7230
7376
|
logo,
|
|
7231
7377
|
logoHref,
|
|
@@ -7238,7 +7384,7 @@ var Header = ({
|
|
|
7238
7384
|
"aria-label": ariaLabel
|
|
7239
7385
|
}) => {
|
|
7240
7386
|
const labels = useLabels11();
|
|
7241
|
-
const logoContent = isHeaderLogoProps(logo) ? /* @__PURE__ */
|
|
7387
|
+
const logoContent = isHeaderLogoProps(logo) ? /* @__PURE__ */ jsx118(
|
|
7242
7388
|
"img",
|
|
7243
7389
|
{
|
|
7244
7390
|
src: logo.src,
|
|
@@ -7247,14 +7393,14 @@ var Header = ({
|
|
|
7247
7393
|
height: logo.height,
|
|
7248
7394
|
className: cn("block max-h-full", classNames == null ? void 0 : classNames.logoElement)
|
|
7249
7395
|
}
|
|
7250
|
-
) : logo !== void 0 ? /* @__PURE__ */
|
|
7396
|
+
) : logo !== void 0 ? /* @__PURE__ */ jsx118("span", { className: classNames == null ? void 0 : classNames.logoElement, children: logo }) : /* @__PURE__ */ jsx118(
|
|
7251
7397
|
AggLogo,
|
|
7252
7398
|
{
|
|
7253
7399
|
className: cn("h-6 w-auto text-agg-foreground", classNames == null ? void 0 : classNames.logoElement),
|
|
7254
7400
|
title: labels.header.logoAria
|
|
7255
7401
|
}
|
|
7256
7402
|
);
|
|
7257
|
-
const wrappedLogo = logoHref ? /* @__PURE__ */
|
|
7403
|
+
const wrappedLogo = logoHref ? /* @__PURE__ */ jsx118(
|
|
7258
7404
|
"a",
|
|
7259
7405
|
{
|
|
7260
7406
|
href: logoHref,
|
|
@@ -7263,7 +7409,7 @@ var Header = ({
|
|
|
7263
7409
|
onClick: onLogoClick,
|
|
7264
7410
|
children: logoContent
|
|
7265
7411
|
}
|
|
7266
|
-
) : onLogoClick ? /* @__PURE__ */
|
|
7412
|
+
) : onLogoClick ? /* @__PURE__ */ jsx118(
|
|
7267
7413
|
"button",
|
|
7268
7414
|
{
|
|
7269
7415
|
type: "button",
|
|
@@ -7275,13 +7421,13 @@ var Header = ({
|
|
|
7275
7421
|
onClick: onLogoClick,
|
|
7276
7422
|
children: logoContent
|
|
7277
7423
|
}
|
|
7278
|
-
) : /* @__PURE__ */
|
|
7424
|
+
) : /* @__PURE__ */ jsx118("div", { className: classNames == null ? void 0 : classNames.logoWrapper, children: logoContent });
|
|
7279
7425
|
const searchContent = resolveHeaderSearchContent({
|
|
7280
7426
|
search,
|
|
7281
7427
|
searchProps,
|
|
7282
|
-
renderSearch: (nextSearchProps) => /* @__PURE__ */
|
|
7428
|
+
renderSearch: (nextSearchProps) => /* @__PURE__ */ jsx118(Search, __spreadValues({}, nextSearchProps))
|
|
7283
7429
|
});
|
|
7284
|
-
return /* @__PURE__ */
|
|
7430
|
+
return /* @__PURE__ */ jsx118(Fragment6, { children: /* @__PURE__ */ jsx118(
|
|
7285
7431
|
"header",
|
|
7286
7432
|
{
|
|
7287
7433
|
role: "banner",
|
|
@@ -7290,7 +7436,7 @@ var Header = ({
|
|
|
7290
7436
|
fallbackLabel: labels.header.bannerAria
|
|
7291
7437
|
}),
|
|
7292
7438
|
className: cn(baseHeaderClasses, sticky && stickyHeaderClasses, classNames == null ? void 0 : classNames.root),
|
|
7293
|
-
children: /* @__PURE__ */
|
|
7439
|
+
children: /* @__PURE__ */ jsxs113(
|
|
7294
7440
|
"div",
|
|
7295
7441
|
{
|
|
7296
7442
|
className: cn(
|
|
@@ -7298,7 +7444,7 @@ var Header = ({
|
|
|
7298
7444
|
classNames == null ? void 0 : classNames.inner
|
|
7299
7445
|
),
|
|
7300
7446
|
children: [
|
|
7301
|
-
/* @__PURE__ */
|
|
7447
|
+
/* @__PURE__ */ jsx118(
|
|
7302
7448
|
"div",
|
|
7303
7449
|
{
|
|
7304
7450
|
className: cn(
|
|
@@ -7308,7 +7454,7 @@ var Header = ({
|
|
|
7308
7454
|
children: wrappedLogo
|
|
7309
7455
|
}
|
|
7310
7456
|
),
|
|
7311
|
-
searchContent ? /* @__PURE__ */
|
|
7457
|
+
searchContent ? /* @__PURE__ */ jsx118(
|
|
7312
7458
|
"div",
|
|
7313
7459
|
{
|
|
7314
7460
|
className: cn(
|
|
@@ -7319,7 +7465,7 @@ var Header = ({
|
|
|
7319
7465
|
children: searchContent
|
|
7320
7466
|
}
|
|
7321
7467
|
) : null,
|
|
7322
|
-
/* @__PURE__ */
|
|
7468
|
+
/* @__PURE__ */ jsx118(
|
|
7323
7469
|
"div",
|
|
7324
7470
|
{
|
|
7325
7471
|
className: cn(
|
|
@@ -7382,7 +7528,7 @@ var resolveInlineAlertHasAction = ({
|
|
|
7382
7528
|
};
|
|
7383
7529
|
|
|
7384
7530
|
// src/primitives/inline-alert/index.tsx
|
|
7385
|
-
import { jsx as
|
|
7531
|
+
import { jsx as jsx119, jsxs as jsxs114 } from "react/jsx-runtime";
|
|
7386
7532
|
var InlineAlert = ({
|
|
7387
7533
|
tone = INLINE_ALERT_DEFAULT_TONE,
|
|
7388
7534
|
variant,
|
|
@@ -7396,7 +7542,7 @@ var InlineAlert = ({
|
|
|
7396
7542
|
const resolvedVariant = resolveInlineAlertVariant({ tone, variant });
|
|
7397
7543
|
const hasAction = resolveInlineAlertHasAction({ actionLabel, onAction });
|
|
7398
7544
|
const { ariaLive, role } = INLINE_ALERT_LIVE_REGION_CONFIG[tone];
|
|
7399
|
-
return /* @__PURE__ */
|
|
7545
|
+
return /* @__PURE__ */ jsxs114(
|
|
7400
7546
|
"div",
|
|
7401
7547
|
{
|
|
7402
7548
|
className: cn(
|
|
@@ -7408,7 +7554,7 @@ var InlineAlert = ({
|
|
|
7408
7554
|
"aria-live": ariaLive,
|
|
7409
7555
|
"aria-label": ariaLabel,
|
|
7410
7556
|
children: [
|
|
7411
|
-
/* @__PURE__ */
|
|
7557
|
+
/* @__PURE__ */ jsx119(
|
|
7412
7558
|
Icon,
|
|
7413
7559
|
{
|
|
7414
7560
|
name: INLINE_ALERT_TONE_ICON_NAME[tone],
|
|
@@ -7416,14 +7562,14 @@ var InlineAlert = ({
|
|
|
7416
7562
|
"aria-hidden": "true"
|
|
7417
7563
|
}
|
|
7418
7564
|
),
|
|
7419
|
-
/* @__PURE__ */
|
|
7565
|
+
/* @__PURE__ */ jsx119(
|
|
7420
7566
|
"div",
|
|
7421
7567
|
{
|
|
7422
7568
|
className: cn(
|
|
7423
7569
|
"min-w-0",
|
|
7424
7570
|
resolvedVariant === "plain" && !hasAction ? "flex-none text-center" : "flex-1"
|
|
7425
7571
|
),
|
|
7426
|
-
children: /* @__PURE__ */
|
|
7572
|
+
children: /* @__PURE__ */ jsxs114(
|
|
7427
7573
|
"div",
|
|
7428
7574
|
{
|
|
7429
7575
|
className: cn(
|
|
@@ -7432,14 +7578,14 @@ var InlineAlert = ({
|
|
|
7432
7578
|
resolvedVariant === "plain" && !hasAction ? "items-center" : null
|
|
7433
7579
|
),
|
|
7434
7580
|
children: [
|
|
7435
|
-
title2 ? /* @__PURE__ */
|
|
7436
|
-
/* @__PURE__ */
|
|
7581
|
+
title2 ? /* @__PURE__ */ jsx119("p", { className: "text-agg-sm font-agg-bold leading-agg-5 text-agg-foreground", children: title2 }) : null,
|
|
7582
|
+
/* @__PURE__ */ jsx119("p", { className: "text-agg-sm leading-agg-5 text-agg-foreground wrap-break-word", children: message })
|
|
7437
7583
|
]
|
|
7438
7584
|
}
|
|
7439
7585
|
)
|
|
7440
7586
|
}
|
|
7441
7587
|
),
|
|
7442
|
-
hasAction ? /* @__PURE__ */
|
|
7588
|
+
hasAction ? /* @__PURE__ */ jsx119(
|
|
7443
7589
|
"button",
|
|
7444
7590
|
{
|
|
7445
7591
|
type: "button",
|
|
@@ -7477,7 +7623,7 @@ var resolveLoadingIconAriaLabel = ({
|
|
|
7477
7623
|
};
|
|
7478
7624
|
|
|
7479
7625
|
// src/primitives/loading-icon/index.tsx
|
|
7480
|
-
import { Fragment as Fragment7, jsx as
|
|
7626
|
+
import { Fragment as Fragment7, jsx as jsx120, jsxs as jsxs115 } from "react/jsx-runtime";
|
|
7481
7627
|
var LoadingIcon = ({
|
|
7482
7628
|
size = LOADING_ICON_DEFAULT_SIZE,
|
|
7483
7629
|
variant = "default",
|
|
@@ -7488,7 +7634,7 @@ var LoadingIcon = ({
|
|
|
7488
7634
|
const {
|
|
7489
7635
|
features: { enableAnimations }
|
|
7490
7636
|
} = useSdkUiConfig11();
|
|
7491
|
-
return /* @__PURE__ */
|
|
7637
|
+
return /* @__PURE__ */ jsx120(
|
|
7492
7638
|
"span",
|
|
7493
7639
|
{
|
|
7494
7640
|
role: "status",
|
|
@@ -7501,7 +7647,7 @@ var LoadingIcon = ({
|
|
|
7501
7647
|
"inline-grid place-items-center text-agg-primary will-change-transform",
|
|
7502
7648
|
className
|
|
7503
7649
|
),
|
|
7504
|
-
children: /* @__PURE__ */
|
|
7650
|
+
children: /* @__PURE__ */ jsx120("span", { className: "inline-grid place-items-center", "aria-hidden": "true", children: /* @__PURE__ */ jsx120(
|
|
7505
7651
|
"svg",
|
|
7506
7652
|
{
|
|
7507
7653
|
viewBox: LOADING_ICON_SVG_VIEW_BOX,
|
|
@@ -7509,8 +7655,8 @@ var LoadingIcon = ({
|
|
|
7509
7655
|
"block",
|
|
7510
7656
|
variant === "prominent" ? LOADING_ICON_PROMINENT_FRAME_CLASS : iconSizeClasses[size]
|
|
7511
7657
|
),
|
|
7512
|
-
children: variant === "prominent" ? /* @__PURE__ */
|
|
7513
|
-
enableAnimations ? /* @__PURE__ */
|
|
7658
|
+
children: variant === "prominent" ? /* @__PURE__ */ jsxs115("g", { children: [
|
|
7659
|
+
enableAnimations ? /* @__PURE__ */ jsx120(
|
|
7514
7660
|
"animateTransform",
|
|
7515
7661
|
{
|
|
7516
7662
|
attributeName: "transform",
|
|
@@ -7522,7 +7668,7 @@ var LoadingIcon = ({
|
|
|
7522
7668
|
repeatCount: "indefinite"
|
|
7523
7669
|
}
|
|
7524
7670
|
) : null,
|
|
7525
|
-
/* @__PURE__ */
|
|
7671
|
+
/* @__PURE__ */ jsx120(
|
|
7526
7672
|
"circle",
|
|
7527
7673
|
{
|
|
7528
7674
|
cx: "22",
|
|
@@ -7536,8 +7682,8 @@ var LoadingIcon = ({
|
|
|
7536
7682
|
strokeDasharray: LOADING_ICON_PROMINENT_DASHARRAY
|
|
7537
7683
|
}
|
|
7538
7684
|
)
|
|
7539
|
-
] }) : /* @__PURE__ */
|
|
7540
|
-
enableAnimations ? /* @__PURE__ */
|
|
7685
|
+
] }) : /* @__PURE__ */ jsxs115("g", { children: [
|
|
7686
|
+
enableAnimations ? /* @__PURE__ */ jsx120(
|
|
7541
7687
|
"animateTransform",
|
|
7542
7688
|
{
|
|
7543
7689
|
attributeName: "transform",
|
|
@@ -7549,7 +7695,7 @@ var LoadingIcon = ({
|
|
|
7549
7695
|
repeatCount: "indefinite"
|
|
7550
7696
|
}
|
|
7551
7697
|
) : null,
|
|
7552
|
-
/* @__PURE__ */
|
|
7698
|
+
/* @__PURE__ */ jsx120(
|
|
7553
7699
|
"circle",
|
|
7554
7700
|
{
|
|
7555
7701
|
cx: "22",
|
|
@@ -7561,8 +7707,8 @@ var LoadingIcon = ({
|
|
|
7561
7707
|
strokeLinecap: "round",
|
|
7562
7708
|
strokeDasharray: "60 100",
|
|
7563
7709
|
strokeDashoffset: "0",
|
|
7564
|
-
children: enableAnimations ? /* @__PURE__ */
|
|
7565
|
-
/* @__PURE__ */
|
|
7710
|
+
children: enableAnimations ? /* @__PURE__ */ jsxs115(Fragment7, { children: [
|
|
7711
|
+
/* @__PURE__ */ jsx120(
|
|
7566
7712
|
"animate",
|
|
7567
7713
|
{
|
|
7568
7714
|
attributeName: "stroke-dasharray",
|
|
@@ -7571,7 +7717,7 @@ var LoadingIcon = ({
|
|
|
7571
7717
|
repeatCount: "indefinite"
|
|
7572
7718
|
}
|
|
7573
7719
|
),
|
|
7574
|
-
/* @__PURE__ */
|
|
7720
|
+
/* @__PURE__ */ jsx120(
|
|
7575
7721
|
"animate",
|
|
7576
7722
|
{
|
|
7577
7723
|
attributeName: "stroke-dashoffset",
|
|
@@ -7616,7 +7762,7 @@ var resolveModalCloseIcon = ({
|
|
|
7616
7762
|
};
|
|
7617
7763
|
|
|
7618
7764
|
// src/primitives/modal/index.tsx
|
|
7619
|
-
import { Fragment as Fragment8, jsx as
|
|
7765
|
+
import { Fragment as Fragment8, jsx as jsx121, jsxs as jsxs116 } from "react/jsx-runtime";
|
|
7620
7766
|
var Modal = ({
|
|
7621
7767
|
open,
|
|
7622
7768
|
onOpenChange,
|
|
@@ -7624,7 +7770,7 @@ var Modal = ({
|
|
|
7624
7770
|
"aria-label": _ariaLabel,
|
|
7625
7771
|
"aria-labelledby": _ariaLabelledBy
|
|
7626
7772
|
}) => {
|
|
7627
|
-
return /* @__PURE__ */
|
|
7773
|
+
return /* @__PURE__ */ jsx121(Dialog.Root, { open, onOpenChange, children });
|
|
7628
7774
|
};
|
|
7629
7775
|
var ModalContainer = ({
|
|
7630
7776
|
children,
|
|
@@ -7639,8 +7785,8 @@ var ModalContainer = ({
|
|
|
7639
7785
|
} = useSdkUiConfig12();
|
|
7640
7786
|
const overlayAnimationClassName = resolveModalOverlayAnimationClassName(enableAnimations);
|
|
7641
7787
|
const panelAnimationClassName = resolveModalPanelAnimationClassName(enableAnimations);
|
|
7642
|
-
return /* @__PURE__ */
|
|
7643
|
-
/* @__PURE__ */
|
|
7788
|
+
return /* @__PURE__ */ jsxs116(Dialog.Portal, { children: [
|
|
7789
|
+
/* @__PURE__ */ jsx121(
|
|
7644
7790
|
Dialog.Overlay,
|
|
7645
7791
|
{
|
|
7646
7792
|
className: cn(
|
|
@@ -7651,7 +7797,7 @@ var ModalContainer = ({
|
|
|
7651
7797
|
)
|
|
7652
7798
|
}
|
|
7653
7799
|
),
|
|
7654
|
-
/* @__PURE__ */
|
|
7800
|
+
/* @__PURE__ */ jsx121(
|
|
7655
7801
|
Dialog.Content,
|
|
7656
7802
|
{
|
|
7657
7803
|
className: cn(
|
|
@@ -7677,7 +7823,7 @@ var ModalContainer = ({
|
|
|
7677
7823
|
event.preventDefault();
|
|
7678
7824
|
}
|
|
7679
7825
|
},
|
|
7680
|
-
children: /* @__PURE__ */
|
|
7826
|
+
children: /* @__PURE__ */ jsx121(
|
|
7681
7827
|
"div",
|
|
7682
7828
|
{
|
|
7683
7829
|
className: cn(
|
|
@@ -7685,7 +7831,7 @@ var ModalContainer = ({
|
|
|
7685
7831
|
"items-end md:items-center",
|
|
7686
7832
|
"flex h-full min-h-0 w-full justify-center p-0 md:p-5"
|
|
7687
7833
|
),
|
|
7688
|
-
children: /* @__PURE__ */
|
|
7834
|
+
children: /* @__PURE__ */ jsx121(
|
|
7689
7835
|
"div",
|
|
7690
7836
|
{
|
|
7691
7837
|
className: cn(
|
|
@@ -7727,12 +7873,12 @@ var ModalHeader = ({
|
|
|
7727
7873
|
features: { enableAnimations }
|
|
7728
7874
|
} = useSdkUiConfig12();
|
|
7729
7875
|
const labels = useLabels13();
|
|
7730
|
-
const defaultCloseIcon = /* @__PURE__ */
|
|
7876
|
+
const defaultCloseIcon = /* @__PURE__ */ jsx121(CloseIcon, { className: "h-6 w-6" });
|
|
7731
7877
|
const resolvedCloseIcon = resolveModalCloseIcon({
|
|
7732
7878
|
closeIcon,
|
|
7733
7879
|
defaultCloseIcon
|
|
7734
7880
|
});
|
|
7735
|
-
return /* @__PURE__ */
|
|
7881
|
+
return /* @__PURE__ */ jsxs116(
|
|
7736
7882
|
"div",
|
|
7737
7883
|
{
|
|
7738
7884
|
className: cn(
|
|
@@ -7745,7 +7891,7 @@ var ModalHeader = ({
|
|
|
7745
7891
|
classNames == null ? void 0 : classNames.root
|
|
7746
7892
|
),
|
|
7747
7893
|
children: [
|
|
7748
|
-
/* @__PURE__ */
|
|
7894
|
+
/* @__PURE__ */ jsxs116(
|
|
7749
7895
|
"div",
|
|
7750
7896
|
{
|
|
7751
7897
|
className: cn(
|
|
@@ -7758,8 +7904,8 @@ var ModalHeader = ({
|
|
|
7758
7904
|
classNames == null ? void 0 : classNames.container
|
|
7759
7905
|
),
|
|
7760
7906
|
children: [
|
|
7761
|
-
leftElement ? /* @__PURE__ */
|
|
7762
|
-
/* @__PURE__ */
|
|
7907
|
+
leftElement ? /* @__PURE__ */ jsx121(Fragment8, { children: leftElement }) : null,
|
|
7908
|
+
/* @__PURE__ */ jsxs116(
|
|
7763
7909
|
"div",
|
|
7764
7910
|
{
|
|
7765
7911
|
className: cn(
|
|
@@ -7768,7 +7914,7 @@ var ModalHeader = ({
|
|
|
7768
7914
|
classNames == null ? void 0 : classNames.titleContainer
|
|
7769
7915
|
),
|
|
7770
7916
|
children: [
|
|
7771
|
-
/* @__PURE__ */
|
|
7917
|
+
/* @__PURE__ */ jsx121(
|
|
7772
7918
|
Dialog.Title,
|
|
7773
7919
|
{
|
|
7774
7920
|
className: cn(
|
|
@@ -7782,7 +7928,7 @@ var ModalHeader = ({
|
|
|
7782
7928
|
children: title2
|
|
7783
7929
|
}
|
|
7784
7930
|
),
|
|
7785
|
-
subtitle ? /* @__PURE__ */
|
|
7931
|
+
subtitle ? /* @__PURE__ */ jsx121(
|
|
7786
7932
|
"span",
|
|
7787
7933
|
{
|
|
7788
7934
|
className: cn(
|
|
@@ -7796,9 +7942,9 @@ var ModalHeader = ({
|
|
|
7796
7942
|
]
|
|
7797
7943
|
}
|
|
7798
7944
|
),
|
|
7799
|
-
/* @__PURE__ */
|
|
7800
|
-
rightElement ? /* @__PURE__ */
|
|
7801
|
-
!hideClose && /* @__PURE__ */
|
|
7945
|
+
/* @__PURE__ */ jsxs116("div", { className: "agg-modal-header-actions flex flex-row items-center justify-end gap-6", children: [
|
|
7946
|
+
rightElement ? /* @__PURE__ */ jsx121(Fragment8, { children: rightElement }) : null,
|
|
7947
|
+
!hideClose && /* @__PURE__ */ jsx121(
|
|
7802
7948
|
Dialog.Close,
|
|
7803
7949
|
{
|
|
7804
7950
|
className: cn(
|
|
@@ -7815,14 +7961,14 @@ var ModalHeader = ({
|
|
|
7815
7961
|
]
|
|
7816
7962
|
}
|
|
7817
7963
|
),
|
|
7818
|
-
children ? /* @__PURE__ */
|
|
7964
|
+
children ? /* @__PURE__ */ jsx121("div", { className: "agg-modal-header-extra", children }) : null
|
|
7819
7965
|
]
|
|
7820
7966
|
}
|
|
7821
7967
|
);
|
|
7822
7968
|
};
|
|
7823
7969
|
Modal.Header = ModalHeader;
|
|
7824
7970
|
var ModalBody = ({ children, classNames }) => {
|
|
7825
|
-
return /* @__PURE__ */
|
|
7971
|
+
return /* @__PURE__ */ jsx121(
|
|
7826
7972
|
"div",
|
|
7827
7973
|
{
|
|
7828
7974
|
className: cn(
|
|
@@ -7843,7 +7989,7 @@ var ModalFooter = ({
|
|
|
7843
7989
|
classNames,
|
|
7844
7990
|
hideBorder = false
|
|
7845
7991
|
}) => {
|
|
7846
|
-
return /* @__PURE__ */
|
|
7992
|
+
return /* @__PURE__ */ jsx121(
|
|
7847
7993
|
"div",
|
|
7848
7994
|
{
|
|
7849
7995
|
className: cn(
|
|
@@ -7866,7 +8012,7 @@ Modal.displayName = "Modal";
|
|
|
7866
8012
|
// src/primitives/number-value.tsx
|
|
7867
8013
|
import { useMemo as useMemo6 } from "react";
|
|
7868
8014
|
import { useSdkUiConfig as useSdkUiConfig13 } from "@agg-build/hooks";
|
|
7869
|
-
import { jsx as
|
|
8015
|
+
import { jsx as jsx122 } from "react/jsx-runtime";
|
|
7870
8016
|
var NumberValue = ({
|
|
7871
8017
|
value,
|
|
7872
8018
|
format = "number",
|
|
@@ -7900,14 +8046,14 @@ var NumberValue = ({
|
|
|
7900
8046
|
formatPercent,
|
|
7901
8047
|
value
|
|
7902
8048
|
]);
|
|
7903
|
-
return /* @__PURE__ */
|
|
8049
|
+
return /* @__PURE__ */ jsx122("span", { className: cn("font-agg-sans", className), "aria-label": ariaLabel, children: formatted });
|
|
7904
8050
|
};
|
|
7905
8051
|
NumberValue.displayName = "NumberValue";
|
|
7906
8052
|
|
|
7907
8053
|
// src/primitives/select/index.tsx
|
|
8054
|
+
import { useLabels as useLabels14, useSdkUiConfig as useSdkUiConfig14 } from "@agg-build/hooks";
|
|
7908
8055
|
import { useCallback as useCallback4, useEffect as useEffect7, useLayoutEffect as useLayoutEffect2, useRef as useRef7, useState as useState8 } from "react";
|
|
7909
8056
|
import { createPortal } from "react-dom";
|
|
7910
|
-
import { useLabels as useLabels14, useSdkUiConfig as useSdkUiConfig14 } from "@agg-build/hooks";
|
|
7911
8057
|
|
|
7912
8058
|
// src/primitives/select/select.constants.ts
|
|
7913
8059
|
var SELECT_DEFAULT_IS_DISABLED = false;
|
|
@@ -7927,7 +8073,7 @@ var resolveIsSelectDisabled = ({
|
|
|
7927
8073
|
};
|
|
7928
8074
|
|
|
7929
8075
|
// src/primitives/select/index.tsx
|
|
7930
|
-
import { jsx as
|
|
8076
|
+
import { jsx as jsx123, jsxs as jsxs117 } from "react/jsx-runtime";
|
|
7931
8077
|
var SELECT_DROPDOWN_Z = 1e4;
|
|
7932
8078
|
function resolveSelectPortalContainer(triggerRoot) {
|
|
7933
8079
|
var _a, _b;
|
|
@@ -7941,6 +8087,8 @@ var Select = ({
|
|
|
7941
8087
|
ariaLabel,
|
|
7942
8088
|
className,
|
|
7943
8089
|
triggerClassName,
|
|
8090
|
+
contentClassName,
|
|
8091
|
+
itemClassName,
|
|
7944
8092
|
disabled = SELECT_DEFAULT_IS_DISABLED
|
|
7945
8093
|
}) => {
|
|
7946
8094
|
var _a;
|
|
@@ -8000,7 +8148,7 @@ var Select = ({
|
|
|
8000
8148
|
return () => document.removeEventListener("keydown", handleKeyDown);
|
|
8001
8149
|
}, [isOpen, handleClose]);
|
|
8002
8150
|
const triggerRadiusClass = triggerClassName != null ? triggerClassName : "rounded-agg-md";
|
|
8003
|
-
const listbox = menuRect ? /* @__PURE__ */
|
|
8151
|
+
const listbox = menuRect ? /* @__PURE__ */ jsx123(
|
|
8004
8152
|
"div",
|
|
8005
8153
|
{
|
|
8006
8154
|
ref: portalRef,
|
|
@@ -8014,10 +8162,15 @@ var Select = ({
|
|
|
8014
8162
|
width: menuRect.width,
|
|
8015
8163
|
zIndex: SELECT_DROPDOWN_Z
|
|
8016
8164
|
},
|
|
8017
|
-
className:
|
|
8165
|
+
className: cn(
|
|
8166
|
+
"agg-select-content pointer-events-auto max-h-[min(20rem,calc(100vh-4rem))] overflow-y-auto rounded-agg-md border border-agg-separator bg-agg-secondary shadow-lg",
|
|
8167
|
+
contentClassName
|
|
8168
|
+
),
|
|
8018
8169
|
children: items.map((item) => {
|
|
8019
8170
|
const isSelected = item.value === value;
|
|
8020
|
-
|
|
8171
|
+
const isHidden = item.hidden === true;
|
|
8172
|
+
if (isHidden) return null;
|
|
8173
|
+
return /* @__PURE__ */ jsxs117(
|
|
8021
8174
|
"button",
|
|
8022
8175
|
{
|
|
8023
8176
|
type: "button",
|
|
@@ -8028,8 +8181,10 @@ var Select = ({
|
|
|
8028
8181
|
"agg-select-item",
|
|
8029
8182
|
"relative flex w-full items-center gap-2 px-4 py-2 text-left text-agg-sm leading-agg-5 outline-none",
|
|
8030
8183
|
"hover:bg-agg-secondary-hover focus-visible:bg-agg-secondary-hover",
|
|
8031
|
-
isSelected ? "font-agg-bold
|
|
8032
|
-
|
|
8184
|
+
isSelected ? "font-agg-bold bg-agg-secondary-hover" : "font-agg-normal",
|
|
8185
|
+
isSelected ? "text-agg-foreground" : "text-agg-foreground",
|
|
8186
|
+
item.disabled && "cursor-not-allowed opacity-60",
|
|
8187
|
+
itemClassName
|
|
8033
8188
|
),
|
|
8034
8189
|
onClick: () => {
|
|
8035
8190
|
if (item.disabled) {
|
|
@@ -8039,8 +8194,17 @@ var Select = ({
|
|
|
8039
8194
|
handleClose();
|
|
8040
8195
|
},
|
|
8041
8196
|
children: [
|
|
8042
|
-
isSelected ? /* @__PURE__ */
|
|
8043
|
-
item.icon ? /* @__PURE__ */
|
|
8197
|
+
isSelected ? /* @__PURE__ */ jsx123("div", { className: "absolute left-0 top-0 bottom-0 w-1 bg-agg-primary" }) : null,
|
|
8198
|
+
item.icon ? /* @__PURE__ */ jsx123(
|
|
8199
|
+
"span",
|
|
8200
|
+
{
|
|
8201
|
+
className: cn(
|
|
8202
|
+
"h-4 w-4 shrink-0 [&_svg]:h-full [&_svg]:w-full",
|
|
8203
|
+
isSelected ? "text-agg-foreground" : "text-agg-muted-foreground"
|
|
8204
|
+
),
|
|
8205
|
+
children: item.icon
|
|
8206
|
+
}
|
|
8207
|
+
) : item.iconUrl ? /* @__PURE__ */ jsx123(
|
|
8044
8208
|
RemoteImage,
|
|
8045
8209
|
{
|
|
8046
8210
|
src: item.iconUrl,
|
|
@@ -8048,7 +8212,7 @@ var Select = ({
|
|
|
8048
8212
|
className: "agg-select-item-icon h-4 w-4 shrink-0 rounded-sm object-contain"
|
|
8049
8213
|
}
|
|
8050
8214
|
) : null,
|
|
8051
|
-
/* @__PURE__ */
|
|
8215
|
+
/* @__PURE__ */ jsx123("span", { className: "agg-select-item-label truncate", children: item.label })
|
|
8052
8216
|
]
|
|
8053
8217
|
},
|
|
8054
8218
|
item.value
|
|
@@ -8056,13 +8220,13 @@ var Select = ({
|
|
|
8056
8220
|
})
|
|
8057
8221
|
}
|
|
8058
8222
|
) : null;
|
|
8059
|
-
return /* @__PURE__ */
|
|
8223
|
+
return /* @__PURE__ */ jsxs117(
|
|
8060
8224
|
"div",
|
|
8061
8225
|
{
|
|
8062
8226
|
ref: containerRef,
|
|
8063
8227
|
className: cn("group/agg-select", "relative inline-flex w-full", className),
|
|
8064
8228
|
children: [
|
|
8065
|
-
/* @__PURE__ */
|
|
8229
|
+
/* @__PURE__ */ jsxs117(
|
|
8066
8230
|
"button",
|
|
8067
8231
|
{
|
|
8068
8232
|
type: "button",
|
|
@@ -8079,12 +8243,13 @@ var Select = ({
|
|
|
8079
8243
|
enableAnimations,
|
|
8080
8244
|
"transition-[border-color,box-shadow] duration-200 ease-in-out"
|
|
8081
8245
|
),
|
|
8246
|
+
isOpen && "border-agg-primary ring-2 ring-agg-primary/15",
|
|
8082
8247
|
"focus:border-agg-primary focus:ring-2 focus:ring-agg-primary/15",
|
|
8083
8248
|
"disabled:cursor-not-allowed disabled:opacity-60"
|
|
8084
8249
|
),
|
|
8085
8250
|
onClick: () => setIsOpen((previousValue) => !previousValue),
|
|
8086
8251
|
children: [
|
|
8087
|
-
(selectedItem == null ? void 0 : selectedItem.icon) ? /* @__PURE__ */
|
|
8252
|
+
(selectedItem == null ? void 0 : selectedItem.icon) ? /* @__PURE__ */ jsx123("span", { className: "h-4 w-4 shrink-0 [&_svg]:h-full [&_svg]:w-full", children: selectedItem.icon }) : (selectedItem == null ? void 0 : selectedItem.iconUrl) ? /* @__PURE__ */ jsx123(
|
|
8088
8253
|
RemoteImage,
|
|
8089
8254
|
{
|
|
8090
8255
|
src: selectedItem.iconUrl,
|
|
@@ -8092,11 +8257,18 @@ var Select = ({
|
|
|
8092
8257
|
className: "agg-select-icon h-4 w-4 shrink-0 rounded-sm object-contain"
|
|
8093
8258
|
}
|
|
8094
8259
|
) : null,
|
|
8095
|
-
/* @__PURE__ */
|
|
8260
|
+
/* @__PURE__ */ jsx123("span", { className: "agg-select-value flex-1 truncate", children: (_a = selectedItem == null ? void 0 : selectedItem.label) != null ? _a : "" })
|
|
8096
8261
|
]
|
|
8097
8262
|
}
|
|
8098
8263
|
),
|
|
8099
|
-
/* @__PURE__ */
|
|
8264
|
+
/* @__PURE__ */ jsx123("span", { className: "agg-select-chevron pointer-events-none absolute inset-y-0 right-3 inline-flex items-center justify-center text-agg-muted-foreground", children: /* @__PURE__ */ jsx123(
|
|
8265
|
+
Icon,
|
|
8266
|
+
{
|
|
8267
|
+
name: isOpen ? "chevron-up" : "chevron-down-thin",
|
|
8268
|
+
size: "small",
|
|
8269
|
+
color: "currentColor"
|
|
8270
|
+
}
|
|
8271
|
+
) }),
|
|
8100
8272
|
isOpen && typeof document !== "undefined" && listbox ? createPortal(listbox, resolveSelectPortalContainer(containerRef.current)) : null
|
|
8101
8273
|
]
|
|
8102
8274
|
}
|
|
@@ -8203,7 +8375,7 @@ var getTypographyClassName = ({
|
|
|
8203
8375
|
};
|
|
8204
8376
|
|
|
8205
8377
|
// src/primitives/typography/index.tsx
|
|
8206
|
-
import { jsx as
|
|
8378
|
+
import { jsx as jsx124 } from "react/jsx-runtime";
|
|
8207
8379
|
var Typography = ({
|
|
8208
8380
|
as: Component2 = "p",
|
|
8209
8381
|
variant = "body",
|
|
@@ -8211,7 +8383,7 @@ var Typography = ({
|
|
|
8211
8383
|
children,
|
|
8212
8384
|
"aria-label": ariaLabel
|
|
8213
8385
|
}) => {
|
|
8214
|
-
return /* @__PURE__ */
|
|
8386
|
+
return /* @__PURE__ */ jsx124(Component2, { className: getTypographyClassName({ className, variant }), "aria-label": ariaLabel, children });
|
|
8215
8387
|
};
|
|
8216
8388
|
Typography.displayName = "Typography";
|
|
8217
8389
|
|
|
@@ -8224,7 +8396,7 @@ var resolveStateMessageHasAction = ({ onAction }) => {
|
|
|
8224
8396
|
};
|
|
8225
8397
|
|
|
8226
8398
|
// src/primitives/state-message/index.tsx
|
|
8227
|
-
import { jsx as
|
|
8399
|
+
import { jsx as jsx125, jsxs as jsxs118 } from "react/jsx-runtime";
|
|
8228
8400
|
var StateMessage = ({
|
|
8229
8401
|
icon,
|
|
8230
8402
|
title: title2,
|
|
@@ -8238,7 +8410,7 @@ var StateMessage = ({
|
|
|
8238
8410
|
className: cn(STATE_MESSAGE_ICON_CLASS_NAME, icon.props.className, classNames == null ? void 0 : classNames.icon),
|
|
8239
8411
|
"aria-hidden": true
|
|
8240
8412
|
});
|
|
8241
|
-
return /* @__PURE__ */
|
|
8413
|
+
return /* @__PURE__ */ jsx125(
|
|
8242
8414
|
"div",
|
|
8243
8415
|
{
|
|
8244
8416
|
className: cn(
|
|
@@ -8249,7 +8421,7 @@ var StateMessage = ({
|
|
|
8249
8421
|
role: "status",
|
|
8250
8422
|
"aria-live": "polite",
|
|
8251
8423
|
"aria-label": title2,
|
|
8252
|
-
children: /* @__PURE__ */
|
|
8424
|
+
children: /* @__PURE__ */ jsxs118(
|
|
8253
8425
|
"div",
|
|
8254
8426
|
{
|
|
8255
8427
|
className: cn(
|
|
@@ -8258,7 +8430,7 @@ var StateMessage = ({
|
|
|
8258
8430
|
),
|
|
8259
8431
|
children: [
|
|
8260
8432
|
resolvedIcon,
|
|
8261
|
-
/* @__PURE__ */
|
|
8433
|
+
/* @__PURE__ */ jsxs118(
|
|
8262
8434
|
"div",
|
|
8263
8435
|
{
|
|
8264
8436
|
className: cn(
|
|
@@ -8266,8 +8438,8 @@ var StateMessage = ({
|
|
|
8266
8438
|
classNames == null ? void 0 : classNames.text
|
|
8267
8439
|
),
|
|
8268
8440
|
children: [
|
|
8269
|
-
/* @__PURE__ */
|
|
8270
|
-
description ? /* @__PURE__ */
|
|
8441
|
+
/* @__PURE__ */ jsx125(Typography, { variant: "body-strong", className: classNames == null ? void 0 : classNames.title, children: title2 }),
|
|
8442
|
+
description ? /* @__PURE__ */ jsx125(
|
|
8271
8443
|
Typography,
|
|
8272
8444
|
{
|
|
8273
8445
|
variant: "label",
|
|
@@ -8278,7 +8450,7 @@ var StateMessage = ({
|
|
|
8278
8450
|
]
|
|
8279
8451
|
}
|
|
8280
8452
|
),
|
|
8281
|
-
hasAction ? /* @__PURE__ */
|
|
8453
|
+
hasAction ? /* @__PURE__ */ jsx125(
|
|
8282
8454
|
Button,
|
|
8283
8455
|
{
|
|
8284
8456
|
variant: "tertiary",
|
|
@@ -8305,8 +8477,8 @@ var StateMessage = ({
|
|
|
8305
8477
|
StateMessage.displayName = "StateMessage";
|
|
8306
8478
|
|
|
8307
8479
|
// src/primitives/tabs/index.tsx
|
|
8308
|
-
import { useCallback as useCallback5, useEffect as useEffect8, useLayoutEffect as useLayoutEffect3, useMemo as useMemo7, useRef as useRef8, useState as useState9 } from "react";
|
|
8309
8480
|
import { useLabels as useLabels16, useSdkUiConfig as useSdkUiConfig15 } from "@agg-build/hooks";
|
|
8481
|
+
import { useCallback as useCallback5, useEffect as useEffect8, useLayoutEffect as useLayoutEffect3, useMemo as useMemo7, useRef as useRef8, useState as useState9 } from "react";
|
|
8310
8482
|
|
|
8311
8483
|
// src/primitives/tabs/tabs.constants.ts
|
|
8312
8484
|
var MOBILE_TABS_MEDIA_QUERY = "(max-width: 736px)";
|
|
@@ -8333,7 +8505,7 @@ var findEdgeEnabledIndex = (items, direction) => {
|
|
|
8333
8505
|
};
|
|
8334
8506
|
|
|
8335
8507
|
// src/primitives/tabs/index.tsx
|
|
8336
|
-
import { Fragment as Fragment9, jsx as
|
|
8508
|
+
import { Fragment as Fragment9, jsx as jsx126, jsxs as jsxs119 } from "react/jsx-runtime";
|
|
8337
8509
|
var getTabButtonClassName = ({
|
|
8338
8510
|
enableAnimations,
|
|
8339
8511
|
isBarVariant,
|
|
@@ -8666,7 +8838,7 @@ var Tabs = ({
|
|
|
8666
8838
|
});
|
|
8667
8839
|
}, [enableAnimations, renderedItems, shouldUseOverflowScroll, value]);
|
|
8668
8840
|
if (shouldUseOverflowSelect) {
|
|
8669
|
-
return /* @__PURE__ */
|
|
8841
|
+
return /* @__PURE__ */ jsx126("div", { className: cn("group/agg-tabs w-full", className, classNames == null ? void 0 : classNames.root), children: /* @__PURE__ */ jsx126(
|
|
8670
8842
|
Select,
|
|
8671
8843
|
{
|
|
8672
8844
|
ariaLabel,
|
|
@@ -8678,7 +8850,7 @@ var Tabs = ({
|
|
|
8678
8850
|
}
|
|
8679
8851
|
) });
|
|
8680
8852
|
}
|
|
8681
|
-
return /* @__PURE__ */
|
|
8853
|
+
return /* @__PURE__ */ jsxs119(
|
|
8682
8854
|
"div",
|
|
8683
8855
|
{
|
|
8684
8856
|
className: cn(
|
|
@@ -8689,7 +8861,7 @@ var Tabs = ({
|
|
|
8689
8861
|
classNames == null ? void 0 : classNames.root
|
|
8690
8862
|
),
|
|
8691
8863
|
children: [
|
|
8692
|
-
/* @__PURE__ */
|
|
8864
|
+
/* @__PURE__ */ jsxs119(
|
|
8693
8865
|
"div",
|
|
8694
8866
|
{
|
|
8695
8867
|
ref: tabListRef,
|
|
@@ -8707,7 +8879,7 @@ var Tabs = ({
|
|
|
8707
8879
|
var _a;
|
|
8708
8880
|
const isActive = item.value === value;
|
|
8709
8881
|
const isComingSoon = (_a = item == null ? void 0 : item.isComingSoon) != null ? _a : false;
|
|
8710
|
-
return /* @__PURE__ */
|
|
8882
|
+
return /* @__PURE__ */ jsxs119(
|
|
8711
8883
|
"button",
|
|
8712
8884
|
{
|
|
8713
8885
|
ref: (buttonElement) => {
|
|
@@ -8742,11 +8914,11 @@ var Tabs = ({
|
|
|
8742
8914
|
),
|
|
8743
8915
|
children: [
|
|
8744
8916
|
item.icon ? item.icon : null,
|
|
8745
|
-
/* @__PURE__ */
|
|
8917
|
+
/* @__PURE__ */ jsxs119(
|
|
8746
8918
|
"span",
|
|
8747
8919
|
{
|
|
8748
8920
|
className: cn(
|
|
8749
|
-
"agg-tab-label truncate whitespace-nowrap
|
|
8921
|
+
"agg-tab-label truncate whitespace-nowrap first-letter:uppercase text-agg"
|
|
8750
8922
|
),
|
|
8751
8923
|
"data-text": item.label,
|
|
8752
8924
|
children: [
|
|
@@ -8760,7 +8932,7 @@ var Tabs = ({
|
|
|
8760
8932
|
item.value
|
|
8761
8933
|
);
|
|
8762
8934
|
}),
|
|
8763
|
-
!isBarVariant ? /* @__PURE__ */
|
|
8935
|
+
!isBarVariant ? /* @__PURE__ */ jsx126(
|
|
8764
8936
|
"span",
|
|
8765
8937
|
{
|
|
8766
8938
|
"aria-hidden": true,
|
|
@@ -8779,8 +8951,8 @@ var Tabs = ({
|
|
|
8779
8951
|
]
|
|
8780
8952
|
}
|
|
8781
8953
|
),
|
|
8782
|
-
shouldUseOverflowScroll && !isBarVariant ? /* @__PURE__ */
|
|
8783
|
-
/* @__PURE__ */
|
|
8954
|
+
shouldUseOverflowScroll && !isBarVariant ? /* @__PURE__ */ jsxs119(Fragment9, { children: [
|
|
8955
|
+
/* @__PURE__ */ jsx126(
|
|
8784
8956
|
"span",
|
|
8785
8957
|
{
|
|
8786
8958
|
"aria-hidden": true,
|
|
@@ -8792,7 +8964,7 @@ var Tabs = ({
|
|
|
8792
8964
|
)
|
|
8793
8965
|
}
|
|
8794
8966
|
),
|
|
8795
|
-
/* @__PURE__ */
|
|
8967
|
+
/* @__PURE__ */ jsx126(
|
|
8796
8968
|
"span",
|
|
8797
8969
|
{
|
|
8798
8970
|
"aria-hidden": true,
|
|
@@ -8804,7 +8976,20 @@ var Tabs = ({
|
|
|
8804
8976
|
)
|
|
8805
8977
|
}
|
|
8806
8978
|
)
|
|
8807
|
-
] }) : null
|
|
8979
|
+
] }) : null,
|
|
8980
|
+
shouldUseOverflowScroll && isBarVariant ? /* @__PURE__ */ jsx126(
|
|
8981
|
+
"span",
|
|
8982
|
+
{
|
|
8983
|
+
"aria-hidden": true,
|
|
8984
|
+
className: cn(
|
|
8985
|
+
"agg-tab-scroll-end",
|
|
8986
|
+
"pointer-events-none absolute top-0 right-0 bottom-0 z-10 w-[120px] overflow-hidden rounded-r-[8px] bg-linear-to-l from-agg-secondary from-[20%] via-agg-secondary/85 to-transparent",
|
|
8987
|
+
getMotionClassName(enableAnimations, "transition-opacity duration-200"),
|
|
8988
|
+
scrollAffordanceState.showEnd ? "opacity-100" : "opacity-0"
|
|
8989
|
+
),
|
|
8990
|
+
children: /* @__PURE__ */ jsx126("span", { className: "absolute inset-y-0 right-3 inline-flex items-center text-agg-foreground", children: /* @__PURE__ */ jsx126(Icon, { name: "chevron-right", size: "small", color: "currentColor" }) })
|
|
8991
|
+
}
|
|
8992
|
+
) : null
|
|
8808
8993
|
]
|
|
8809
8994
|
}
|
|
8810
8995
|
);
|
|
@@ -8813,18 +8998,26 @@ Tabs.displayName = "Tabs";
|
|
|
8813
8998
|
|
|
8814
8999
|
// src/primitives/toast/index.tsx
|
|
8815
9000
|
import * as RadixToast from "@radix-ui/react-toast";
|
|
8816
|
-
import {
|
|
8817
|
-
|
|
9001
|
+
import {
|
|
9002
|
+
createContext,
|
|
9003
|
+
useCallback as useCallback6,
|
|
9004
|
+
useContext,
|
|
9005
|
+
useEffect as useEffect9,
|
|
9006
|
+
useRef as useRef9,
|
|
9007
|
+
useState as useState10
|
|
9008
|
+
} from "react";
|
|
9009
|
+
import { jsx as jsx127, jsxs as jsxs120 } from "react/jsx-runtime";
|
|
8818
9010
|
var DEFAULT_DURATION_MS = 5e3;
|
|
9011
|
+
var EXIT_ANIMATION_MS = 350;
|
|
8819
9012
|
var TONE_ACCENT_CLASS = {
|
|
8820
|
-
info: "
|
|
8821
|
-
success: "
|
|
8822
|
-
warning: "
|
|
8823
|
-
error: "
|
|
9013
|
+
info: "[--agg-toast-accent:var(--agg-color-primary)]",
|
|
9014
|
+
success: "[--agg-toast-accent:var(--agg-color-success)]",
|
|
9015
|
+
warning: "[--agg-toast-accent:var(--agg-color-warning)]",
|
|
9016
|
+
error: "[--agg-toast-accent:var(--agg-color-error)]"
|
|
8824
9017
|
};
|
|
8825
9018
|
var TONE_ICON_NAME = {
|
|
8826
9019
|
info: "info",
|
|
8827
|
-
success: "
|
|
9020
|
+
success: "check-circle",
|
|
8828
9021
|
warning: "warning-filled",
|
|
8829
9022
|
error: "error-filled"
|
|
8830
9023
|
};
|
|
@@ -8853,6 +9046,7 @@ function ToastProvider({
|
|
|
8853
9046
|
message,
|
|
8854
9047
|
tone: (_a = options == null ? void 0 : options.tone) != null ? _a : "info",
|
|
8855
9048
|
title: options == null ? void 0 : options.title,
|
|
9049
|
+
detail: options == null ? void 0 : options.detail,
|
|
8856
9050
|
durationMs: (_b = options == null ? void 0 : options.durationMs) != null ? _b : defaultDurationMs
|
|
8857
9051
|
}
|
|
8858
9052
|
];
|
|
@@ -8861,9 +9055,9 @@ function ToastProvider({
|
|
|
8861
9055
|
},
|
|
8862
9056
|
[defaultDurationMs]
|
|
8863
9057
|
);
|
|
8864
|
-
return /* @__PURE__ */
|
|
9058
|
+
return /* @__PURE__ */ jsx127(ToastContext.Provider, { value: { toast, dismiss }, children: /* @__PURE__ */ jsxs120(RadixToast.Provider, { swipeDirection, swipeThreshold, children: [
|
|
8865
9059
|
children,
|
|
8866
|
-
toasts.map((entry) => /* @__PURE__ */
|
|
9060
|
+
toasts.map((entry) => /* @__PURE__ */ jsx127(
|
|
8867
9061
|
ToastRow,
|
|
8868
9062
|
{
|
|
8869
9063
|
entry,
|
|
@@ -8873,11 +9067,11 @@ function ToastProvider({
|
|
|
8873
9067
|
},
|
|
8874
9068
|
entry.id
|
|
8875
9069
|
)),
|
|
8876
|
-
/* @__PURE__ */
|
|
9070
|
+
/* @__PURE__ */ jsx127(
|
|
8877
9071
|
RadixToast.Viewport,
|
|
8878
9072
|
{
|
|
8879
9073
|
className: cn(
|
|
8880
|
-
"fixed
|
|
9074
|
+
"fixed right-5 bottom-5 z-agg-toast flex w-[400px] max-w-[calc(100vw-40px)] flex-col gap-2 outline-none",
|
|
8881
9075
|
viewportClassName
|
|
8882
9076
|
)
|
|
8883
9077
|
}
|
|
@@ -8885,39 +9079,131 @@ function ToastProvider({
|
|
|
8885
9079
|
] }) });
|
|
8886
9080
|
}
|
|
8887
9081
|
function ToastRow({ entry, onOpenChange }) {
|
|
8888
|
-
const
|
|
8889
|
-
|
|
9082
|
+
const [isOpen, setIsOpen] = useState10(true);
|
|
9083
|
+
const hasAutoDismiss = entry.durationMs > 0 && Number.isFinite(entry.durationMs);
|
|
9084
|
+
const duration = hasAutoDismiss ? entry.durationMs : Number.POSITIVE_INFINITY;
|
|
9085
|
+
const timeoutRef = useRef9(null);
|
|
9086
|
+
const closeTimeoutRef = useRef9(null);
|
|
9087
|
+
const remainingMsRef = useRef9(duration);
|
|
9088
|
+
const timerStartedAtRef = useRef9(null);
|
|
9089
|
+
const onOpenChangeRef = useRef9(onOpenChange);
|
|
9090
|
+
const rootStyle = {
|
|
9091
|
+
"--agg-toast-duration": `${duration}ms`
|
|
9092
|
+
};
|
|
9093
|
+
useEffect9(() => {
|
|
9094
|
+
onOpenChangeRef.current = onOpenChange;
|
|
9095
|
+
}, [onOpenChange]);
|
|
9096
|
+
const clearDismissTimer = useCallback6(() => {
|
|
9097
|
+
if (!timeoutRef.current) return;
|
|
9098
|
+
clearTimeout(timeoutRef.current);
|
|
9099
|
+
timeoutRef.current = null;
|
|
9100
|
+
}, []);
|
|
9101
|
+
const clearCloseTimer = useCallback6(() => {
|
|
9102
|
+
if (!closeTimeoutRef.current) return;
|
|
9103
|
+
clearTimeout(closeTimeoutRef.current);
|
|
9104
|
+
closeTimeoutRef.current = null;
|
|
9105
|
+
}, []);
|
|
9106
|
+
const handleOpenChange = useCallback6(
|
|
9107
|
+
(open) => {
|
|
9108
|
+
if (open) {
|
|
9109
|
+
clearCloseTimer();
|
|
9110
|
+
setIsOpen(true);
|
|
9111
|
+
return;
|
|
9112
|
+
}
|
|
9113
|
+
clearDismissTimer();
|
|
9114
|
+
setIsOpen(false);
|
|
9115
|
+
if (closeTimeoutRef.current) return;
|
|
9116
|
+
closeTimeoutRef.current = setTimeout(() => {
|
|
9117
|
+
closeTimeoutRef.current = null;
|
|
9118
|
+
onOpenChangeRef.current(false);
|
|
9119
|
+
}, EXIT_ANIMATION_MS);
|
|
9120
|
+
},
|
|
9121
|
+
[clearCloseTimer, clearDismissTimer]
|
|
9122
|
+
);
|
|
9123
|
+
const startDismissTimer = useCallback6(() => {
|
|
9124
|
+
if (!hasAutoDismiss) return;
|
|
9125
|
+
clearDismissTimer();
|
|
9126
|
+
timerStartedAtRef.current = Date.now();
|
|
9127
|
+
timeoutRef.current = setTimeout(() => {
|
|
9128
|
+
handleOpenChange(false);
|
|
9129
|
+
}, remainingMsRef.current);
|
|
9130
|
+
}, [clearDismissTimer, handleOpenChange, hasAutoDismiss]);
|
|
9131
|
+
const handlePauseDismissTimer = useCallback6(() => {
|
|
9132
|
+
if (!hasAutoDismiss || timerStartedAtRef.current === null) return;
|
|
9133
|
+
const elapsedMs = Date.now() - timerStartedAtRef.current;
|
|
9134
|
+
remainingMsRef.current = Math.max(0, remainingMsRef.current - elapsedMs);
|
|
9135
|
+
timerStartedAtRef.current = null;
|
|
9136
|
+
clearDismissTimer();
|
|
9137
|
+
}, [clearDismissTimer, hasAutoDismiss]);
|
|
9138
|
+
const handleResumeDismissTimer = useCallback6(() => {
|
|
9139
|
+
if (!hasAutoDismiss || timerStartedAtRef.current !== null) return;
|
|
9140
|
+
startDismissTimer();
|
|
9141
|
+
}, [hasAutoDismiss, startDismissTimer]);
|
|
9142
|
+
useEffect9(() => {
|
|
9143
|
+
remainingMsRef.current = duration;
|
|
9144
|
+
startDismissTimer();
|
|
9145
|
+
return () => {
|
|
9146
|
+
clearDismissTimer();
|
|
9147
|
+
clearCloseTimer();
|
|
9148
|
+
};
|
|
9149
|
+
}, [clearCloseTimer, clearDismissTimer, duration, startDismissTimer]);
|
|
9150
|
+
return /* @__PURE__ */ jsxs120(
|
|
8890
9151
|
RadixToast.Root,
|
|
8891
9152
|
{
|
|
8892
|
-
|
|
8893
|
-
|
|
9153
|
+
open: isOpen,
|
|
9154
|
+
duration: Number.POSITIVE_INFINITY,
|
|
9155
|
+
onOpenChange: handleOpenChange,
|
|
9156
|
+
onMouseEnter: handlePauseDismissTimer,
|
|
9157
|
+
onMouseLeave: handleResumeDismissTimer,
|
|
9158
|
+
onFocusCapture: handlePauseDismissTimer,
|
|
9159
|
+
onBlurCapture: handleResumeDismissTimer,
|
|
9160
|
+
style: rootStyle,
|
|
8894
9161
|
className: cn(
|
|
8895
|
-
"flex items-start gap-3 rounded-agg-
|
|
8896
|
-
"data-[state=open]:animate-
|
|
8897
|
-
"data-[state=closed]:animate-
|
|
9162
|
+
"group/agg-toast relative flex w-[400px] max-w-[calc(100vw-40px)] items-start gap-3 overflow-hidden rounded-agg-lg border border-agg-separator bg-agg-secondary py-4 pl-4 pr-10 shadow-[0_8px_16px_0_rgba(0,0,0,0.1)]",
|
|
9163
|
+
"data-[state=open]:animate-[agg-toast-in_250ms_ease-in-out_both]",
|
|
9164
|
+
"data-[state=closed]:animate-[agg-toast-out_350ms_ease-in_both]",
|
|
8898
9165
|
"data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)]",
|
|
8899
9166
|
"data-[swipe=cancel]:translate-x-0 data-[swipe=cancel]:transition-transform",
|
|
8900
|
-
"data-[swipe=end]:animate-out data-[swipe=end]:slide-out-to-right-full"
|
|
9167
|
+
"data-[swipe=end]:animate-out data-[swipe=end]:slide-out-to-right-full",
|
|
9168
|
+
TONE_ACCENT_CLASS[entry.tone]
|
|
8901
9169
|
),
|
|
8902
9170
|
children: [
|
|
8903
|
-
/* @__PURE__ */
|
|
9171
|
+
/* @__PURE__ */ jsx127(
|
|
8904
9172
|
Icon,
|
|
8905
9173
|
{
|
|
8906
9174
|
name: TONE_ICON_NAME[entry.tone],
|
|
8907
|
-
className:
|
|
9175
|
+
className: "mt-0.5 h-5! w-5! shrink-0 text-[var(--agg-toast-accent)]",
|
|
8908
9176
|
"aria-hidden": "true"
|
|
8909
9177
|
}
|
|
8910
9178
|
),
|
|
8911
|
-
/* @__PURE__ */
|
|
8912
|
-
entry.title ? /* @__PURE__ */
|
|
8913
|
-
/* @__PURE__ */
|
|
9179
|
+
/* @__PURE__ */ jsxs120("div", { className: "min-w-0 flex-1", children: [
|
|
9180
|
+
entry.title ? /* @__PURE__ */ jsx127(RadixToast.Title, { className: "font-agg-sans text-agg-sm leading-agg-5 font-agg-bold text-agg-foreground", children: entry.title }) : null,
|
|
9181
|
+
/* @__PURE__ */ jsx127(RadixToast.Description, { className: "font-agg-sans text-agg-sm leading-agg-5 font-agg-normal text-agg-foreground wrap-break-word", children: entry.message }),
|
|
9182
|
+
entry.detail ? /* @__PURE__ */ jsx127("p", { className: "font-agg-sans text-agg-sm leading-agg-5 font-agg-normal text-agg-muted-foreground wrap-break-word", children: entry.detail }) : null
|
|
8914
9183
|
] }),
|
|
8915
|
-
/* @__PURE__ */
|
|
9184
|
+
/* @__PURE__ */ jsx127(
|
|
8916
9185
|
RadixToast.Close,
|
|
8917
9186
|
{
|
|
8918
9187
|
"aria-label": "Dismiss",
|
|
8919
|
-
className: "cursor-pointer text-agg-
|
|
8920
|
-
children: /* @__PURE__ */
|
|
9188
|
+
className: "absolute top-4 right-4 cursor-pointer text-agg-foreground transition-opacity hover:opacity-70 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-agg-primary",
|
|
9189
|
+
children: /* @__PURE__ */ jsx127(Icon, { name: "close", className: "h-4! w-4!", "aria-hidden": "true" })
|
|
9190
|
+
}
|
|
9191
|
+
),
|
|
9192
|
+
/* @__PURE__ */ jsx127(
|
|
9193
|
+
"div",
|
|
9194
|
+
{
|
|
9195
|
+
className: "absolute right-[-1px] bottom-[-1px] left-[-1px] h-1 bg-[color-mix(in_srgb,var(--agg-toast-accent)_30%,transparent)]",
|
|
9196
|
+
"aria-hidden": "true",
|
|
9197
|
+
children: /* @__PURE__ */ jsx127(
|
|
9198
|
+
"div",
|
|
9199
|
+
{
|
|
9200
|
+
"data-testid": "agg-toast-progress",
|
|
9201
|
+
className: cn(
|
|
9202
|
+
"h-full bg-[var(--agg-toast-accent)]",
|
|
9203
|
+
hasAutoDismiss ? "w-full origin-left animate-[agg-toast-progress_var(--agg-toast-duration)_linear_forwards] group-hover/agg-toast:[animation-play-state:paused] group-focus-within/agg-toast:[animation-play-state:paused]" : "w-full"
|
|
9204
|
+
)
|
|
9205
|
+
}
|
|
9206
|
+
)
|
|
8921
9207
|
}
|
|
8922
9208
|
)
|
|
8923
9209
|
]
|
|
@@ -8970,7 +9256,7 @@ var resolveTooltipArrowDimensions = (size) => {
|
|
|
8970
9256
|
};
|
|
8971
9257
|
|
|
8972
9258
|
// src/primitives/tooltip/index.tsx
|
|
8973
|
-
import { jsx as
|
|
9259
|
+
import { jsx as jsx128, jsxs as jsxs121 } from "react/jsx-runtime";
|
|
8974
9260
|
var Tooltip = ({
|
|
8975
9261
|
content,
|
|
8976
9262
|
children,
|
|
@@ -8987,22 +9273,22 @@ var Tooltip = ({
|
|
|
8987
9273
|
} = useSdkUiConfig16();
|
|
8988
9274
|
const trigger = useMemo8(() => {
|
|
8989
9275
|
if (children) return children;
|
|
8990
|
-
return /* @__PURE__ */
|
|
9276
|
+
return /* @__PURE__ */ jsx128(
|
|
8991
9277
|
"button",
|
|
8992
9278
|
{
|
|
8993
9279
|
type: "button",
|
|
8994
9280
|
className: resolveTooltipTriggerClassName(classNames == null ? void 0 : classNames.trigger),
|
|
8995
9281
|
"aria-label": ariaLabel != null ? ariaLabel : defaultTooltipTriggerAriaLabel,
|
|
8996
|
-
children: /* @__PURE__ */
|
|
9282
|
+
children: /* @__PURE__ */ jsx128(Icon, { name: "info", size: "small", className: cn(classNames == null ? void 0 : classNames.icon), "aria-hidden": true })
|
|
8997
9283
|
}
|
|
8998
9284
|
);
|
|
8999
9285
|
}, [children, classNames == null ? void 0 : classNames.trigger, classNames == null ? void 0 : classNames.icon, ariaLabel]);
|
|
9000
9286
|
const { width: arrowWidth, height: arrowHeight } = resolveTooltipArrowDimensions(size);
|
|
9001
9287
|
const arrowPoints = `0,0 ${arrowWidth},0 ${arrowWidth / 2},${arrowHeight}`;
|
|
9002
9288
|
const arrowBorderPath = `M0 0 L${arrowWidth / 2} ${arrowHeight} L${arrowWidth} 0`;
|
|
9003
|
-
return /* @__PURE__ */
|
|
9004
|
-
/* @__PURE__ */
|
|
9005
|
-
/* @__PURE__ */
|
|
9289
|
+
return /* @__PURE__ */ jsx128(TooltipPrimitive.Provider, { delayDuration, children: /* @__PURE__ */ jsxs121(TooltipPrimitive.Root, { children: [
|
|
9290
|
+
/* @__PURE__ */ jsx128(TooltipPrimitive.Trigger, { asChild: true, children: trigger }),
|
|
9291
|
+
/* @__PURE__ */ jsx128(TooltipPrimitive.Portal, { children: /* @__PURE__ */ jsxs121(
|
|
9006
9292
|
TooltipPrimitive.Content,
|
|
9007
9293
|
{
|
|
9008
9294
|
side,
|
|
@@ -9024,7 +9310,7 @@ var Tooltip = ({
|
|
|
9024
9310
|
classNames == null ? void 0 : classNames.content
|
|
9025
9311
|
),
|
|
9026
9312
|
children: [
|
|
9027
|
-
/* @__PURE__ */
|
|
9313
|
+
/* @__PURE__ */ jsx128(TooltipPrimitive.Arrow, { asChild: true, width: arrowWidth, height: arrowHeight, children: /* @__PURE__ */ jsxs121(
|
|
9028
9314
|
"svg",
|
|
9029
9315
|
{
|
|
9030
9316
|
width: arrowWidth,
|
|
@@ -9033,8 +9319,8 @@ var Tooltip = ({
|
|
|
9033
9319
|
"aria-hidden": "true",
|
|
9034
9320
|
className: cn("overflow-visible", classNames == null ? void 0 : classNames.arrow),
|
|
9035
9321
|
children: [
|
|
9036
|
-
/* @__PURE__ */
|
|
9037
|
-
/* @__PURE__ */
|
|
9322
|
+
/* @__PURE__ */ jsx128("polygon", { points: arrowPoints, className: "fill-agg-secondary" }),
|
|
9323
|
+
/* @__PURE__ */ jsx128(
|
|
9038
9324
|
"path",
|
|
9039
9325
|
{
|
|
9040
9326
|
d: arrowBorderPath,
|