@agg-build/ui 4.0.0 → 4.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (70) hide show
  1. package/README.md +21 -16
  2. package/dist/{chunk-XIDQ2A6W.mjs → chunk-64BBTXFE.mjs} +1639 -909
  3. package/dist/{chunk-VR5ZRDQT.mjs → chunk-6STRIKUA.mjs} +1 -1
  4. package/dist/{chunk-KX3TQ7WC.mjs → chunk-734VTGCV.mjs} +1 -1
  5. package/dist/{chunk-KO6VTRV6.mjs → chunk-N7UPPT5J.mjs} +336 -232
  6. package/dist/{chunk-JTSLZARU.mjs → chunk-UCU2XCV5.mjs} +2 -2
  7. package/dist/{chunk-MKU5Q6PN.mjs → chunk-V5CRUO6S.mjs} +653 -379
  8. package/dist/{chunk-R362GNI2.mjs → chunk-WW5QKNIM.mjs} +278 -146
  9. package/dist/events.js +1241 -754
  10. package/dist/events.mjs +6 -4
  11. package/dist/index.js +4919 -3694
  12. package/dist/index.mjs +20 -8
  13. package/dist/modals.js +1321 -1260
  14. package/dist/modals.mjs +3 -3
  15. package/dist/pages.js +4271 -3054
  16. package/dist/pages.mjs +10 -6
  17. package/dist/primitives.js +346 -265
  18. package/dist/primitives.mjs +1 -1
  19. package/dist/styles.css +1 -1
  20. package/dist/tailwind.css +1 -1
  21. package/dist/trading.js +2281 -1499
  22. package/dist/trading.mjs +10 -4
  23. package/dist/types/events/index.d.mts +1 -0
  24. package/dist/types/events/index.d.ts +1 -0
  25. package/dist/types/events/item-details/event-list-item-details-market-selector.d.mts +4 -1
  26. package/dist/types/events/item-details/event-list-item-details-market-selector.d.ts +4 -1
  27. package/dist/types/events/item-details/event-list-item-details.types.d.mts +25 -1
  28. package/dist/types/events/item-details/event-list-item-details.types.d.ts +25 -1
  29. package/dist/types/events/item-details/index.d.mts +1 -1
  30. package/dist/types/events/item-details/index.d.ts +1 -1
  31. package/dist/types/events/market-details/index.d.mts +1 -1
  32. package/dist/types/events/market-details/index.d.ts +1 -1
  33. package/dist/types/events/market-details/market-details.types.d.mts +4 -0
  34. package/dist/types/events/market-details/market-details.types.d.ts +4 -0
  35. package/dist/types/events/shared/format-event-title.d.mts +9 -1
  36. package/dist/types/events/shared/format-event-title.d.ts +9 -1
  37. package/dist/types/events/shared/format-sports-event-time.d.mts +2 -0
  38. package/dist/types/events/shared/format-sports-event-time.d.ts +2 -0
  39. package/dist/types/events/shared/sports-live-score.d.mts +10 -0
  40. package/dist/types/events/shared/sports-live-score.d.ts +10 -0
  41. package/dist/types/pages/event-market/event-market.types.d.mts +4 -0
  42. package/dist/types/pages/event-market/event-market.types.d.ts +4 -0
  43. package/dist/types/pages/event-market/index.d.mts +1 -0
  44. package/dist/types/pages/event-market/index.d.ts +1 -0
  45. package/dist/types/pages/user-profile/components/available-balance-card.d.mts +5 -0
  46. package/dist/types/pages/user-profile/components/available-balance-card.d.ts +5 -0
  47. package/dist/types/pages/user-profile/components/open-order-row.d.mts +1 -0
  48. package/dist/types/pages/user-profile/components/open-order-row.d.ts +1 -0
  49. package/dist/types/pages/user-profile/components/positions-activity.d.mts +1 -1
  50. package/dist/types/pages/user-profile/components/positions-activity.d.ts +1 -1
  51. package/dist/types/pages/user-profile/index.d.mts +1 -0
  52. package/dist/types/pages/user-profile/index.d.ts +1 -0
  53. package/dist/types/pages/user-profile/user-profile.types.d.mts +1 -1
  54. package/dist/types/pages/user-profile/user-profile.types.d.ts +1 -1
  55. package/dist/types/primitives/venue-logo/svg/logo-novig.d.mts +24 -0
  56. package/dist/types/primitives/venue-logo/svg/logo-novig.d.ts +24 -0
  57. package/dist/types/primitives/venue-logo/venue-logo.constants.d.mts +1 -1
  58. package/dist/types/primitives/venue-logo/venue-logo.constants.d.ts +1 -1
  59. package/dist/types/trading/place-order/index.d.mts +4 -1
  60. package/dist/types/trading/place-order/index.d.ts +4 -1
  61. package/dist/types/trading/place-order/index.place-order.execution-steps.d.mts +38 -73
  62. package/dist/types/trading/place-order/index.place-order.execution-steps.d.ts +38 -73
  63. package/dist/types/trading/place-order/index.place-order.execution-view.d.mts +26 -0
  64. package/dist/types/trading/place-order/index.place-order.execution-view.d.ts +26 -0
  65. package/dist/types/trading/place-order/index.place-order.types.d.mts +15 -0
  66. package/dist/types/trading/place-order/index.place-order.types.d.ts +15 -0
  67. package/dist/types/trading/place-order/index.place-order.utils.d.mts +14 -1
  68. package/dist/types/trading/place-order/index.place-order.utils.d.ts +14 -1
  69. package/package.json +3 -3
  70. /package/dist/{chunk-KHHFHXXD.mjs → chunk-JH4B3ZHQ.mjs} +0 -0
@@ -6204,7 +6204,7 @@ Skeleton.displayName = "Skeleton";
6204
6204
  import { useLabels as useLabels9 } from "@agg-build/hooks";
6205
6205
 
6206
6206
  // src/primitives/venue-logo/venue-logo.constants.ts
6207
- import { Venue as Venue9 } from "@agg-build/sdk";
6207
+ import { Venue as Venue10 } from "@agg-build/sdk";
6208
6208
 
6209
6209
  // src/primitives/venue-logo/logo-props.ts
6210
6210
  var DEFAULT_MONOCHROME_COLOR = "currentColor";
@@ -6445,11 +6445,11 @@ var LogoMyriadIcon = (_a) => {
6445
6445
  };
6446
6446
  LogoMyriadIcon.displayName = "LogoMyriadIcon";
6447
6447
 
6448
- // src/primitives/venue-logo/svg/logo-opinion.tsx
6448
+ // src/primitives/venue-logo/svg/logo-novig.tsx
6449
6449
  import { useAggUiConfig as useAggUiConfig5 } from "@agg-build/hooks";
6450
6450
  import { Venue as Venue5 } from "@agg-build/sdk";
6451
6451
  import { jsx as jsx118, jsxs as jsxs113 } from "react/jsx-runtime";
6452
- var LogoOpinionIcon = (_a) => {
6452
+ var LogoNovigIcon = (_a) => {
6453
6453
  var _b = _a, {
6454
6454
  title: title2,
6455
6455
  className,
@@ -6467,7 +6467,7 @@ var LogoOpinionIcon = (_a) => {
6467
6467
  } = useAggUiConfig5();
6468
6468
  const isDarkTheme = theme === "dark";
6469
6469
  const primaryColor = resolveLogoPrimaryColor({
6470
- brandColor: (_a2 = resolveVenueLineColor(Venue5.opinion, isDarkTheme)) != null ? _a2 : "#ec5e26",
6470
+ brandColor: (_a2 = resolveVenueLineColor(Venue5.novig, isDarkTheme)) != null ? _a2 : "#179BE7",
6471
6471
  isColor,
6472
6472
  color
6473
6473
  });
@@ -6480,24 +6480,22 @@ var LogoOpinionIcon = (_a) => {
6480
6480
  }, getIconA11yProps(title2)), props), {
6481
6481
  children: [
6482
6482
  title2 ? /* @__PURE__ */ jsx118("title", { children: title2 }) : null,
6483
- /* @__PURE__ */ jsx118(
6484
- "path",
6485
- {
6486
- 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",
6487
- fill: primaryColor
6488
- }
6489
- )
6483
+ /* @__PURE__ */ jsxs113("g", { stroke: primaryColor, strokeWidth: 19.3, strokeLinecap: "round", strokeLinejoin: "round", children: [
6484
+ /* @__PURE__ */ jsx118("path", { d: "M33.6 34.7L64.2 65.4" }),
6485
+ /* @__PURE__ */ jsx118("path", { d: "M64.2 34.7V65.4" })
6486
+ ] }),
6487
+ /* @__PURE__ */ jsx118("circle", { cx: 32.2, cy: 65.5, r: 9.65, fill: primaryColor })
6490
6488
  ]
6491
6489
  })
6492
6490
  );
6493
6491
  };
6494
- LogoOpinionIcon.displayName = "LogoOpinionIcon";
6492
+ LogoNovigIcon.displayName = "LogoNovigIcon";
6495
6493
 
6496
- // src/primitives/venue-logo/svg/logo-polymarket.tsx
6494
+ // src/primitives/venue-logo/svg/logo-opinion.tsx
6497
6495
  import { useAggUiConfig as useAggUiConfig6 } from "@agg-build/hooks";
6498
6496
  import { Venue as Venue6 } from "@agg-build/sdk";
6499
6497
  import { jsx as jsx119, jsxs as jsxs114 } from "react/jsx-runtime";
6500
- var LogoPolymarketIcon = (_a) => {
6498
+ var LogoOpinionIcon = (_a) => {
6501
6499
  var _b = _a, {
6502
6500
  title: title2,
6503
6501
  className,
@@ -6515,7 +6513,7 @@ var LogoPolymarketIcon = (_a) => {
6515
6513
  } = useAggUiConfig6();
6516
6514
  const isDarkTheme = theme === "dark";
6517
6515
  const primaryColor = resolveLogoPrimaryColor({
6518
- brandColor: (_a2 = resolveVenueLineColor(Venue6.polymarket, isDarkTheme)) != null ? _a2 : "#2E5CFF",
6516
+ brandColor: (_a2 = resolveVenueLineColor(Venue6.opinion, isDarkTheme)) != null ? _a2 : "#ec5e26",
6519
6517
  isColor,
6520
6518
  color
6521
6519
  });
@@ -6531,7 +6529,7 @@ var LogoPolymarketIcon = (_a) => {
6531
6529
  /* @__PURE__ */ jsx119(
6532
6530
  "path",
6533
6531
  {
6534
- 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",
6532
+ 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",
6535
6533
  fill: primaryColor
6536
6534
  }
6537
6535
  )
@@ -6539,13 +6537,13 @@ var LogoPolymarketIcon = (_a) => {
6539
6537
  })
6540
6538
  );
6541
6539
  };
6542
- LogoPolymarketIcon.displayName = "LogoPolymarketIcon";
6540
+ LogoOpinionIcon.displayName = "LogoOpinionIcon";
6543
6541
 
6544
- // src/primitives/venue-logo/svg/logo-predict.tsx
6542
+ // src/primitives/venue-logo/svg/logo-polymarket.tsx
6545
6543
  import { useAggUiConfig as useAggUiConfig7 } from "@agg-build/hooks";
6546
6544
  import { Venue as Venue7 } from "@agg-build/sdk";
6547
6545
  import { jsx as jsx120, jsxs as jsxs115 } from "react/jsx-runtime";
6548
- var LogoPredictIcon = (_a) => {
6546
+ var LogoPolymarketIcon = (_a) => {
6549
6547
  var _b = _a, {
6550
6548
  title: title2,
6551
6549
  className,
@@ -6563,7 +6561,7 @@ var LogoPredictIcon = (_a) => {
6563
6561
  } = useAggUiConfig7();
6564
6562
  const isDarkTheme = theme === "dark";
6565
6563
  const primaryColor = resolveLogoPrimaryColor({
6566
- brandColor: (_a2 = resolveVenueLineColor(Venue7.predict, isDarkTheme)) != null ? _a2 : "#705bf6",
6564
+ brandColor: (_a2 = resolveVenueLineColor(Venue7.polymarket, isDarkTheme)) != null ? _a2 : "#2E5CFF",
6567
6565
  isColor,
6568
6566
  color
6569
6567
  });
@@ -6579,9 +6577,7 @@ var LogoPredictIcon = (_a) => {
6579
6577
  /* @__PURE__ */ jsx120(
6580
6578
  "path",
6581
6579
  {
6582
- fillRule: "evenodd",
6583
- clipRule: "evenodd",
6584
- d: "M75.2979 28.7579C76.4297 31.8263 77.0757 35.3709 77.0757 39.3906C77.0757 55.8415 65.8789 66.072 51.536 66.072C50.6567 66.072 49.836 65.9154 49.1715 65.7591C46.0451 65.485 45.0681 66.2871 45.0681 67.9695V69.3583C45.0681 71.4905 45.3809 72.3708 47.9602 73.5443C53.7443 76.322 51.8488 85.0855 44.6187 85.6919C39.6945 86.1027 33.7346 86.1027 28.6345 85.6919C21.893 85.144 19.6458 77.3979 24.9218 74.0138C27.4621 72.5077 28.4 70.4537 28.4195 66.0329C28.4977 53.5527 28.4977 50.6969 28.4782 39.9186C28.4586 33.9134 27.677 32.5246 24.2183 29.121C21.0527 25.9716 22.0884 21.2377 26.4069 18.7926C29.1621 17.2278 31.6633 16.054 34.6725 14.8608C37.5255 13.6871 39.8117 13.8437 41.414 14.9196C43.4267 16.1909 45.5177 16.3669 47.9992 15.4085C50.1486 14.5088 52.3569 14 54.7407 14C62.1263 14 69.7167 17.8763 73.871 25.5865C74.1788 26.1427 74.8952 27.5557 75.2979 28.7579ZM45.0681 45.9632C45.0681 50.599 47.667 53.4158 52.0246 53.4158C57.1639 53.4158 59.4696 49.6602 59.4696 41.7967C59.4696 32.7984 56.5971 28.006 51.536 28.006C47.5106 28.006 45.0681 31.077 45.0681 36.1825V45.9632Z",
6580
+ 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",
6585
6581
  fill: primaryColor
6586
6582
  }
6587
6583
  )
@@ -6589,13 +6585,13 @@ var LogoPredictIcon = (_a) => {
6589
6585
  })
6590
6586
  );
6591
6587
  };
6592
- LogoPredictIcon.displayName = "LogoPredictIcon";
6588
+ LogoPolymarketIcon.displayName = "LogoPolymarketIcon";
6593
6589
 
6594
- // src/primitives/venue-logo/svg/logo-probable.tsx
6590
+ // src/primitives/venue-logo/svg/logo-predict.tsx
6595
6591
  import { useAggUiConfig as useAggUiConfig8 } from "@agg-build/hooks";
6596
6592
  import { Venue as Venue8 } from "@agg-build/sdk";
6597
6593
  import { jsx as jsx121, jsxs as jsxs116 } from "react/jsx-runtime";
6598
- var LogoProbableIcon = (_a) => {
6594
+ var LogoPredictIcon = (_a) => {
6599
6595
  var _b = _a, {
6600
6596
  title: title2,
6601
6597
  className,
@@ -6613,7 +6609,7 @@ var LogoProbableIcon = (_a) => {
6613
6609
  } = useAggUiConfig8();
6614
6610
  const isDarkTheme = theme === "dark";
6615
6611
  const primaryColor = resolveLogoPrimaryColor({
6616
- brandColor: (_a2 = resolveVenueLineColor(Venue8.probable, isDarkTheme)) != null ? _a2 : "#EC4899",
6612
+ brandColor: (_a2 = resolveVenueLineColor(Venue8.predict, isDarkTheme)) != null ? _a2 : "#705bf6",
6617
6613
  isColor,
6618
6614
  color
6619
6615
  });
@@ -6627,14 +6623,64 @@ var LogoProbableIcon = (_a) => {
6627
6623
  children: [
6628
6624
  title2 ? /* @__PURE__ */ jsx121("title", { children: title2 }) : null,
6629
6625
  /* @__PURE__ */ jsx121(
6626
+ "path",
6627
+ {
6628
+ fillRule: "evenodd",
6629
+ clipRule: "evenodd",
6630
+ d: "M75.2979 28.7579C76.4297 31.8263 77.0757 35.3709 77.0757 39.3906C77.0757 55.8415 65.8789 66.072 51.536 66.072C50.6567 66.072 49.836 65.9154 49.1715 65.7591C46.0451 65.485 45.0681 66.2871 45.0681 67.9695V69.3583C45.0681 71.4905 45.3809 72.3708 47.9602 73.5443C53.7443 76.322 51.8488 85.0855 44.6187 85.6919C39.6945 86.1027 33.7346 86.1027 28.6345 85.6919C21.893 85.144 19.6458 77.3979 24.9218 74.0138C27.4621 72.5077 28.4 70.4537 28.4195 66.0329C28.4977 53.5527 28.4977 50.6969 28.4782 39.9186C28.4586 33.9134 27.677 32.5246 24.2183 29.121C21.0527 25.9716 22.0884 21.2377 26.4069 18.7926C29.1621 17.2278 31.6633 16.054 34.6725 14.8608C37.5255 13.6871 39.8117 13.8437 41.414 14.9196C43.4267 16.1909 45.5177 16.3669 47.9992 15.4085C50.1486 14.5088 52.3569 14 54.7407 14C62.1263 14 69.7167 17.8763 73.871 25.5865C74.1788 26.1427 74.8952 27.5557 75.2979 28.7579ZM45.0681 45.9632C45.0681 50.599 47.667 53.4158 52.0246 53.4158C57.1639 53.4158 59.4696 49.6602 59.4696 41.7967C59.4696 32.7984 56.5971 28.006 51.536 28.006C47.5106 28.006 45.0681 31.077 45.0681 36.1825V45.9632Z",
6631
+ fill: primaryColor
6632
+ }
6633
+ )
6634
+ ]
6635
+ })
6636
+ );
6637
+ };
6638
+ LogoPredictIcon.displayName = "LogoPredictIcon";
6639
+
6640
+ // src/primitives/venue-logo/svg/logo-probable.tsx
6641
+ import { useAggUiConfig as useAggUiConfig9 } from "@agg-build/hooks";
6642
+ import { Venue as Venue9 } from "@agg-build/sdk";
6643
+ import { jsx as jsx122, jsxs as jsxs117 } from "react/jsx-runtime";
6644
+ var LogoProbableIcon = (_a) => {
6645
+ var _b = _a, {
6646
+ title: title2,
6647
+ className,
6648
+ isColor = true,
6649
+ color
6650
+ } = _b, props = __objRest(_b, [
6651
+ "title",
6652
+ "className",
6653
+ "isColor",
6654
+ "color"
6655
+ ]);
6656
+ var _a2;
6657
+ const {
6658
+ general: { theme }
6659
+ } = useAggUiConfig9();
6660
+ const isDarkTheme = theme === "dark";
6661
+ const primaryColor = resolveLogoPrimaryColor({
6662
+ brandColor: (_a2 = resolveVenueLineColor(Venue9.probable, isDarkTheme)) != null ? _a2 : "#EC4899",
6663
+ isColor,
6664
+ color
6665
+ });
6666
+ return /* @__PURE__ */ jsxs117(
6667
+ "svg",
6668
+ __spreadProps(__spreadValues(__spreadValues({
6669
+ viewBox: "0 0 100 100",
6670
+ className,
6671
+ fill: "none"
6672
+ }, getIconA11yProps(title2)), props), {
6673
+ children: [
6674
+ title2 ? /* @__PURE__ */ jsx122("title", { children: title2 }) : null,
6675
+ /* @__PURE__ */ jsx122(
6630
6676
  "path",
6631
6677
  {
6632
6678
  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",
6633
6679
  fill: primaryColor
6634
6680
  }
6635
6681
  ),
6636
- /* @__PURE__ */ jsx121("path", { d: "M90.9329 15.4546V30.4546H8.90234V15.4546H90.9329Z", fill: primaryColor }),
6637
- /* @__PURE__ */ jsx121(
6682
+ /* @__PURE__ */ jsx122("path", { d: "M90.9329 15.4546V30.4546H8.90234V15.4546H90.9329Z", fill: primaryColor }),
6683
+ /* @__PURE__ */ jsx122(
6638
6684
  "path",
6639
6685
  {
6640
6686
  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",
@@ -6649,38 +6695,41 @@ LogoProbableIcon.displayName = "LogoProbableIcon";
6649
6695
 
6650
6696
  // src/primitives/venue-logo/venue-logo.constants.ts
6651
6697
  var venueLogoRegistry = {
6652
- [Venue9.kalshi]: LogoKalshiIcon,
6653
- [Venue9.limitless]: LogoLimitlessIcon,
6654
- [Venue9.opinion]: LogoOpinionIcon,
6655
- [Venue9.polymarket]: LogoPolymarketIcon,
6656
- [Venue9.predict]: LogoPredictIcon,
6657
- [Venue9.probable]: LogoProbableIcon,
6658
- [Venue9.myriad]: LogoMyriadIcon,
6659
- [Venue9.hyperliquid]: LogoHyperliquidIcon
6698
+ [Venue10.kalshi]: LogoKalshiIcon,
6699
+ [Venue10.limitless]: LogoLimitlessIcon,
6700
+ [Venue10.opinion]: LogoOpinionIcon,
6701
+ [Venue10.polymarket]: LogoPolymarketIcon,
6702
+ [Venue10.predict]: LogoPredictIcon,
6703
+ [Venue10.probable]: LogoProbableIcon,
6704
+ [Venue10.myriad]: LogoMyriadIcon,
6705
+ [Venue10.hyperliquid]: LogoHyperliquidIcon,
6706
+ [Venue10.novig]: LogoNovigIcon
6660
6707
  };
6661
6708
  var VENUE_LOGO_BASE_URL = "https://assets.snagsolutions.io/public/prediction-markets/logos";
6709
+ var DEFAULT_VENUE_LOGO_URL = `${VENUE_LOGO_BASE_URL}/default.png`;
6662
6710
  var venueLogoUrlRegistry = {
6663
- [Venue9.kalshi]: `${VENUE_LOGO_BASE_URL}/kalshi.png`,
6664
- [Venue9.limitless]: `${VENUE_LOGO_BASE_URL}/limitless.png`,
6665
- [Venue9.opinion]: `${VENUE_LOGO_BASE_URL}/opinion.png`,
6666
- [Venue9.polymarket]: `${VENUE_LOGO_BASE_URL}/polymarket.png`,
6667
- [Venue9.predict]: `${VENUE_LOGO_BASE_URL}/predict.png`,
6668
- [Venue9.probable]: `${VENUE_LOGO_BASE_URL}/probable.png`,
6669
- [Venue9.myriad]: `${VENUE_LOGO_BASE_URL}/myriad.png`,
6670
- [Venue9.hyperliquid]: `${VENUE_LOGO_BASE_URL}/hyperliquid.png`
6711
+ [Venue10.kalshi]: `${VENUE_LOGO_BASE_URL}/kalshi.png`,
6712
+ [Venue10.limitless]: `${VENUE_LOGO_BASE_URL}/limitless.png`,
6713
+ [Venue10.opinion]: `${VENUE_LOGO_BASE_URL}/opinion.png`,
6714
+ [Venue10.polymarket]: `${VENUE_LOGO_BASE_URL}/polymarket.png`,
6715
+ [Venue10.predict]: `${VENUE_LOGO_BASE_URL}/predict.png`,
6716
+ [Venue10.probable]: `${VENUE_LOGO_BASE_URL}/probable.png`,
6717
+ [Venue10.myriad]: `${VENUE_LOGO_BASE_URL}/myriad.png`,
6718
+ [Venue10.hyperliquid]: `${VENUE_LOGO_BASE_URL}/hyperliquid.png`,
6719
+ [Venue10.novig]: `${VENUE_LOGO_BASE_URL}/novig.png`
6671
6720
  };
6672
6721
  var venueLogoLabels = {
6673
- [Venue9.kalshi]: "Kalshi",
6674
- [Venue9.limitless]: "Limitless",
6675
- [Venue9.opinion]: "Opinion",
6676
- [Venue9.polymarket]: "Polymarket",
6677
- [Venue9.predict]: "Predict",
6678
- [Venue9.probable]: "Probable",
6679
- [Venue9.myriad]: "Myriad",
6680
- [Venue9.hyperliquid]: "Hyperliquid"
6722
+ [Venue10.kalshi]: "Kalshi",
6723
+ [Venue10.limitless]: "Limitless",
6724
+ [Venue10.opinion]: "Opinion",
6725
+ [Venue10.polymarket]: "Polymarket",
6726
+ [Venue10.predict]: "Predict",
6727
+ [Venue10.probable]: "Probable",
6728
+ [Venue10.myriad]: "Myriad",
6729
+ [Venue10.hyperliquid]: "Hyperliquid",
6730
+ [Venue10.novig]: "Novig"
6681
6731
  };
6682
6732
  var DEFAULT_VENUE_LABEL = "Market";
6683
- var DEFAULT_VENUE_LOGO_URL = `${VENUE_LOGO_BASE_URL}/default.png`;
6684
6733
  var venueLogoNames = Object.keys(venueLogoRegistry);
6685
6734
  var sizeClasses2 = {
6686
6735
  small: "h-4 w-4",
@@ -6689,24 +6738,29 @@ var sizeClasses2 = {
6689
6738
  };
6690
6739
  var lineColorByVenue = {
6691
6740
  light: {
6692
- [Venue9.kalshi]: "#00D295",
6693
- [Venue9.limitless]: "#C4FF00",
6694
- [Venue9.opinion]: "#000000",
6695
- [Venue9.polymarket]: "#2E5CFF",
6696
- [Venue9.predict]: "#6D57F8",
6697
- [Venue9.probable]: "#F05923",
6698
- [Venue9.myriad]: "#000000",
6699
- [Venue9.hyperliquid]: "#97FCE4"
6741
+ [Venue10.kalshi]: "#00D295",
6742
+ [Venue10.limitless]: "#C4FF00",
6743
+ [Venue10.opinion]: "#000000",
6744
+ [Venue10.polymarket]: "#2E5CFF",
6745
+ [Venue10.predict]: "#6D57F8",
6746
+ [Venue10.probable]: "#F05923",
6747
+ [Venue10.myriad]: "#000000",
6748
+ [Venue10.hyperliquid]: "#97FCE4",
6749
+ // Novig's own `<meta name="theme-color">`. Their logomark is monochrome
6750
+ // (cream on #050505, like Opinion/Myriad), but unlike those two this blue
6751
+ // reads on both themes, so it does not need the light/dark flip they use.
6752
+ [Venue10.novig]: "#179BE7"
6700
6753
  },
6701
6754
  dark: {
6702
- [Venue9.kalshi]: "#00D295",
6703
- [Venue9.limitless]: "#C4FF00",
6704
- [Venue9.opinion]: "#FFFFFF",
6705
- [Venue9.polymarket]: "#2E5CFF",
6706
- [Venue9.predict]: "#6D57F8",
6707
- [Venue9.probable]: "#F05923",
6708
- [Venue9.myriad]: "#FFFFFF",
6709
- [Venue9.hyperliquid]: "#97FCE4"
6755
+ [Venue10.kalshi]: "#00D295",
6756
+ [Venue10.limitless]: "#C4FF00",
6757
+ [Venue10.opinion]: "#FFFFFF",
6758
+ [Venue10.polymarket]: "#2E5CFF",
6759
+ [Venue10.predict]: "#6D57F8",
6760
+ [Venue10.probable]: "#F05923",
6761
+ [Venue10.myriad]: "#FFFFFF",
6762
+ [Venue10.hyperliquid]: "#97FCE4",
6763
+ [Venue10.novig]: "#179BE7"
6710
6764
  }
6711
6765
  };
6712
6766
  var resolveVenueLineColor = (venue, isDarkTheme) => {
@@ -6745,7 +6799,7 @@ var resolveVenueLogoIsColor = ({
6745
6799
  };
6746
6800
 
6747
6801
  // src/primitives/venue-logo/index.tsx
6748
- import { jsx as jsx122 } from "react/jsx-runtime";
6802
+ import { jsx as jsx123 } from "react/jsx-runtime";
6749
6803
  var VenueLogo = ({
6750
6804
  venue,
6751
6805
  variant = "icon",
@@ -6771,7 +6825,7 @@ var VenueLogo = ({
6771
6825
  console.warn(`[AggUI] Unknown venue "${venue}" \u2014 using default logo`);
6772
6826
  }
6773
6827
  if (variant === "logo") {
6774
- return /* @__PURE__ */ jsx122(
6828
+ return /* @__PURE__ */ jsx123(
6775
6829
  RemoteImage,
6776
6830
  {
6777
6831
  src: (_a = venueLogoUrlRegistry[venue]) != null ? _a : DEFAULT_VENUE_LOGO_URL,
@@ -6786,7 +6840,7 @@ var VenueLogo = ({
6786
6840
  isColor,
6787
6841
  isMonochromatic
6788
6842
  });
6789
- return /* @__PURE__ */ jsx122(
6843
+ return /* @__PURE__ */ jsx123(
6790
6844
  Component2,
6791
6845
  {
6792
6846
  className: cn("group/agg-venue-logo", "shrink-0", sizeClass, className),
@@ -6816,6 +6870,7 @@ dayjs2.extend(utc);
6816
6870
  dayjs2.extend(timezone);
6817
6871
  var SPORTS_EVENT_TIMEZONE = "America/New_York";
6818
6872
  var SPORTS_EVENT_TIME_FORMAT = "MMM D, h:mm A";
6873
+ var RECURRING_MARKET_PILL_TIME_FORMAT = "h:mm A";
6819
6874
  var formatSportsEventTimeEt = (value) => {
6820
6875
  const resolvedValue = value.trim();
6821
6876
  if (!resolvedValue) return null;
@@ -6823,9 +6878,37 @@ var formatSportsEventTimeEt = (value) => {
6823
6878
  if (!parsedValue.isValid()) return null;
6824
6879
  return `${parsedValue.tz(SPORTS_EVENT_TIMEZONE).format(SPORTS_EVENT_TIME_FORMAT)} ET`;
6825
6880
  };
6881
+ var formatRecurringMarketPillTimeEt = (value) => {
6882
+ const parsedValue = dayjs2.utc(value.trim());
6883
+ if (!value.trim() || !parsedValue.isValid()) return null;
6884
+ return parsedValue.tz(SPORTS_EVENT_TIMEZONE).format(RECURRING_MARKET_PILL_TIME_FORMAT);
6885
+ };
6886
+ var formatRecurringMarketWindowTimeEt = (windowStart, windowEnd) => {
6887
+ const parsedStart = dayjs2.utc(windowStart.trim());
6888
+ const parsedEnd = dayjs2.utc(windowEnd.trim());
6889
+ if (!windowStart.trim() || !windowEnd.trim() || !parsedStart.isValid() || !parsedEnd.isValid()) {
6890
+ return null;
6891
+ }
6892
+ const zonedStart = parsedStart.tz(SPORTS_EVENT_TIMEZONE);
6893
+ const zonedEnd = parsedEnd.tz(SPORTS_EVENT_TIMEZONE);
6894
+ if (zonedStart.isSame(zonedEnd, "day")) {
6895
+ return `${zonedStart.format("MMM D, h:mm")}-${zonedEnd.format("h:mmA")} ET`;
6896
+ }
6897
+ return `${zonedStart.format(SPORTS_EVENT_TIME_FORMAT)}-${zonedEnd.format(
6898
+ SPORTS_EVENT_TIME_FORMAT
6899
+ )} ET`;
6900
+ };
6826
6901
 
6827
6902
  // src/events/shared/format-event-title.ts
6828
6903
  var SPORT_CATEGORY_TOKENS = /* @__PURE__ */ new Set(["sport", "sports"]);
6904
+ var RECURRING_CRYPTO_TIMESTAMP_SUFFIX = /\s+-\s+(?:jan(?:uary)?|feb(?:ruary)?|mar(?:ch)?|apr(?:il)?|may|jun(?:e)?|jul(?:y)?|aug(?:ust)?|sep(?:t(?:ember)?)?|oct(?:ober)?|nov(?:ember)?|dec(?:ember)?)\b.*$/i;
6905
+ var RECURRING_CRYPTO_DURATION_SUFFIX = /\s+-\s+(?:5m(?:in)?|15m(?:in)?|1h|1d)$/i;
6906
+ var RECURRING_CRYPTO_DURATION_LABELS = {
6907
+ PT5M: "5min",
6908
+ PT15M: "15min",
6909
+ PT1H: "1h",
6910
+ P1D: "1d"
6911
+ };
6829
6912
  var normalizeCategoryToken = (value) => {
6830
6913
  if (typeof value !== "string") return null;
6831
6914
  const normalizedValue = value.trim().toLowerCase();
@@ -6894,9 +6977,21 @@ var resolveEventHeading = ({
6894
6977
  structureType,
6895
6978
  gameStartTime,
6896
6979
  endDate,
6897
- venueMarkets
6980
+ venueMarkets,
6981
+ recurringCryptoWindowStart,
6982
+ recurringCryptoDuration
6898
6983
  }) => {
6899
6984
  const resolvedTitle = title2.trim();
6985
+ if (recurringCryptoWindowStart !== void 0) {
6986
+ const windowStartDate = recurringCryptoWindowStart == null ? null : new Date(recurringCryptoWindowStart);
6987
+ const timestampLabel = windowStartDate && !Number.isNaN(windowStartDate.getTime()) ? formatSportsEventTimeEt(windowStartDate.toISOString()) : null;
6988
+ const titleWithoutTimestamp = resolvedTitle.replace(RECURRING_CRYPTO_TIMESTAMP_SUFFIX, "").replace(RECURRING_CRYPTO_DURATION_SUFFIX, "").trim();
6989
+ const durationLabel = recurringCryptoDuration ? RECURRING_CRYPTO_DURATION_LABELS[recurringCryptoDuration] : null;
6990
+ return {
6991
+ title: durationLabel ? `${titleWithoutTimestamp} - ${durationLabel}` : titleWithoutTimestamp,
6992
+ timestampLabel
6993
+ };
6994
+ }
6900
6995
  return {
6901
6996
  title: resolvedTitle,
6902
6997
  timestampLabel: resolveEventTimestampLabel({
@@ -7284,7 +7379,7 @@ var mapVenueEventToSearchResult = (event, labels, formatPercent, formatCompactCu
7284
7379
  };
7285
7380
 
7286
7381
  // src/primitives/search/index.tsx
7287
- import { Fragment as Fragment5, jsx as jsx123, jsxs as jsxs117 } from "react/jsx-runtime";
7382
+ import { Fragment as Fragment5, jsx as jsx124, jsxs as jsxs118 } from "react/jsx-runtime";
7288
7383
  var SearchResultRow = ({
7289
7384
  item,
7290
7385
  resultAria,
@@ -7298,7 +7393,7 @@ var SearchResultRow = ({
7298
7393
  const handleResultPointerDown = (event) => {
7299
7394
  event.preventDefault();
7300
7395
  };
7301
- return /* @__PURE__ */ jsxs117(
7396
+ return /* @__PURE__ */ jsxs118(
7302
7397
  "button",
7303
7398
  {
7304
7399
  type: "button",
@@ -7316,8 +7411,8 @@ var SearchResultRow = ({
7316
7411
  onClick: handleResultClick,
7317
7412
  "aria-label": resultAria(item.title),
7318
7413
  children: [
7319
- /* @__PURE__ */ jsxs117("div", { className: "agg-search-result-content flex min-w-0 flex-1 items-center gap-4", children: [
7320
- /* @__PURE__ */ jsx123(
7414
+ /* @__PURE__ */ jsxs118("div", { className: "agg-search-result-content flex min-w-0 flex-1 items-center gap-4", children: [
7415
+ /* @__PURE__ */ jsx124(
7321
7416
  RemoteImage,
7322
7417
  {
7323
7418
  src: item.thumbnailSrc,
@@ -7329,8 +7424,8 @@ var SearchResultRow = ({
7329
7424
  )
7330
7425
  }
7331
7426
  ),
7332
- /* @__PURE__ */ jsxs117("div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [
7333
- /* @__PURE__ */ jsx123(
7427
+ /* @__PURE__ */ jsxs118("div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [
7428
+ /* @__PURE__ */ jsx124(
7334
7429
  "p",
7335
7430
  {
7336
7431
  className: cn(
@@ -7341,8 +7436,8 @@ var SearchResultRow = ({
7341
7436
  children: item.title
7342
7437
  }
7343
7438
  ),
7344
- /* @__PURE__ */ jsxs117("div", { className: "agg-search-result-context flex min-w-0 items-center gap-2 text-agg-muted-foreground", children: [
7345
- /* @__PURE__ */ jsx123(
7439
+ /* @__PURE__ */ jsxs118("div", { className: "agg-search-result-context flex min-w-0 items-center gap-2 text-agg-muted-foreground", children: [
7440
+ /* @__PURE__ */ jsx124(
7346
7441
  "p",
7347
7442
  {
7348
7443
  className: cn(
@@ -7352,7 +7447,7 @@ var SearchResultRow = ({
7352
7447
  children: item.marketSummaryLabel
7353
7448
  }
7354
7449
  ),
7355
- /* @__PURE__ */ jsx123("div", { className: "flex items-center gap-1", "aria-hidden": true, children: item.visibleVenues.map((venue) => /* @__PURE__ */ jsx123(
7450
+ /* @__PURE__ */ jsx124("div", { className: "flex items-center gap-1", "aria-hidden": true, children: item.visibleVenues.map((venue) => /* @__PURE__ */ jsx124(
7356
7451
  VenueLogo,
7357
7452
  {
7358
7453
  venue,
@@ -7362,9 +7457,9 @@ var SearchResultRow = ({
7362
7457
  },
7363
7458
  `${item.id}-${venue}`
7364
7459
  )) }),
7365
- item.volumeLabel ? /* @__PURE__ */ jsxs117(Fragment5, { children: [
7366
- /* @__PURE__ */ jsx123("span", { className: "text-agg-muted-foreground", "aria-hidden": true, children: "\xB7" }),
7367
- /* @__PURE__ */ jsx123(
7460
+ item.volumeLabel ? /* @__PURE__ */ jsxs118(Fragment5, { children: [
7461
+ /* @__PURE__ */ jsx124("span", { className: "text-agg-muted-foreground", "aria-hidden": true, children: "\xB7" }),
7462
+ /* @__PURE__ */ jsx124(
7368
7463
  "p",
7369
7464
  {
7370
7465
  className: cn(
@@ -7378,7 +7473,7 @@ var SearchResultRow = ({
7378
7473
  ] })
7379
7474
  ] })
7380
7475
  ] }),
7381
- /* @__PURE__ */ jsxs117(
7476
+ /* @__PURE__ */ jsxs118(
7382
7477
  "div",
7383
7478
  {
7384
7479
  className: cn(
@@ -7386,9 +7481,9 @@ var SearchResultRow = ({
7386
7481
  classNames == null ? void 0 : classNames.resultMeta
7387
7482
  ),
7388
7483
  children: [
7389
- /* @__PURE__ */ jsx123(VenueLogo, { venue: item.venue, size: "small" }),
7390
- /* @__PURE__ */ jsxs117("div", { className: "flex min-w-0 flex-1 items-baseline gap-2", children: [
7391
- item.isValueLoading ? /* @__PURE__ */ jsx123(
7484
+ /* @__PURE__ */ jsx124(VenueLogo, { venue: item.venue, size: "small" }),
7485
+ /* @__PURE__ */ jsxs118("div", { className: "flex min-w-0 flex-1 items-baseline gap-2", children: [
7486
+ item.isValueLoading ? /* @__PURE__ */ jsx124(
7392
7487
  "span",
7393
7488
  {
7394
7489
  "aria-hidden": "true",
@@ -7397,7 +7492,7 @@ var SearchResultRow = ({
7397
7492
  "h-5 w-12 shrink-0 rounded-agg-sm bg-agg-separator animate-pulse"
7398
7493
  )
7399
7494
  }
7400
- ) : /* @__PURE__ */ jsx123(
7495
+ ) : /* @__PURE__ */ jsx124(
7401
7496
  "p",
7402
7497
  {
7403
7498
  className: cn(
@@ -7408,7 +7503,7 @@ var SearchResultRow = ({
7408
7503
  children: item.valueLabel
7409
7504
  }
7410
7505
  ),
7411
- /* @__PURE__ */ jsx123(
7506
+ /* @__PURE__ */ jsx124(
7412
7507
  "p",
7413
7508
  {
7414
7509
  className: cn(
@@ -7422,7 +7517,7 @@ var SearchResultRow = ({
7422
7517
  ]
7423
7518
  }
7424
7519
  ),
7425
- /* @__PURE__ */ jsx123(
7520
+ /* @__PURE__ */ jsx124(
7426
7521
  Icon,
7427
7522
  {
7428
7523
  name: "chevron-right",
@@ -7445,7 +7540,7 @@ var SearchSeeAllResultsButton = ({
7445
7540
  const handlePointerDown = (event) => {
7446
7541
  event.preventDefault();
7447
7542
  };
7448
- return /* @__PURE__ */ jsxs117(
7543
+ return /* @__PURE__ */ jsxs118(
7449
7544
  "button",
7450
7545
  {
7451
7546
  type: "button",
@@ -7459,8 +7554,8 @@ var SearchSeeAllResultsButton = ({
7459
7554
  onPointerDown: handlePointerDown,
7460
7555
  onClick,
7461
7556
  children: [
7462
- /* @__PURE__ */ jsx123("span", { children: label2 }),
7463
- /* @__PURE__ */ jsx123(Icon, { name: "chevron-right", size: "small", className: "size-[14px] text-agg-primary" })
7557
+ /* @__PURE__ */ jsx124("span", { children: label2 }),
7558
+ /* @__PURE__ */ jsx124(Icon, { name: "chevron-right", size: "small", className: "size-[14px] text-agg-primary" })
7464
7559
  ]
7465
7560
  }
7466
7561
  );
@@ -7629,14 +7724,14 @@ var Search = ({
7629
7724
  event.preventDefault();
7630
7725
  handleSeeAllResults();
7631
7726
  };
7632
- return /* @__PURE__ */ jsxs117(
7727
+ return /* @__PURE__ */ jsxs118(
7633
7728
  "div",
7634
7729
  {
7635
7730
  className: cn("group/agg-search", "relative flex w-full flex-col", classNames == null ? void 0 : classNames.root),
7636
7731
  onFocusCapture: handleFocusWithin,
7637
7732
  onBlurCapture: handleBlurWithin,
7638
7733
  children: [
7639
- /* @__PURE__ */ jsx123("label", { className: "w-full", children: /* @__PURE__ */ jsxs117(
7734
+ /* @__PURE__ */ jsx124("label", { className: "w-full", children: /* @__PURE__ */ jsxs118(
7640
7735
  "div",
7641
7736
  {
7642
7737
  className: cn(
@@ -7652,7 +7747,7 @@ var Search = ({
7652
7747
  ),
7653
7748
  onClick: handleFocusWithin,
7654
7749
  children: [
7655
- /* @__PURE__ */ jsx123(
7750
+ /* @__PURE__ */ jsx124(
7656
7751
  Icon,
7657
7752
  {
7658
7753
  name: "search",
@@ -7660,7 +7755,7 @@ var Search = ({
7660
7755
  className: cn("text-agg-muted-foreground", classNames == null ? void 0 : classNames.searchIcon)
7661
7756
  }
7662
7757
  ),
7663
- /* @__PURE__ */ jsx123(
7758
+ /* @__PURE__ */ jsx124(
7664
7759
  "input",
7665
7760
  __spreadProps(__spreadValues({}, inputProps), {
7666
7761
  ref: inputRef,
@@ -7681,11 +7776,11 @@ var Search = ({
7681
7776
  )
7682
7777
  })
7683
7778
  ),
7684
- shouldRenderShortcut ? /* @__PURE__ */ jsx123("div", { className: "agg-search-shortcut hidden md:flex size-6 shrink-0 items-center justify-center rounded-[4px] bg-agg-secondary-hover", children: /* @__PURE__ */ jsx123("span", { className: "font-agg-sans text-agg-sm leading-agg-5 font-agg-bold text-agg-muted-foreground", children: "/" }) }) : null
7779
+ shouldRenderShortcut ? /* @__PURE__ */ jsx124("div", { className: "agg-search-shortcut hidden md:flex size-6 shrink-0 items-center justify-center rounded-[4px] bg-agg-secondary-hover", children: /* @__PURE__ */ jsx124("span", { className: "font-agg-sans text-agg-sm leading-agg-5 font-agg-bold text-agg-muted-foreground", children: "/" }) }) : null
7685
7780
  ]
7686
7781
  }
7687
7782
  ) }),
7688
- shouldRenderLoadingState ? /* @__PURE__ */ jsx123(
7783
+ shouldRenderLoadingState ? /* @__PURE__ */ jsx124(
7689
7784
  "div",
7690
7785
  {
7691
7786
  className: cn(
@@ -7695,10 +7790,10 @@ var Search = ({
7695
7790
  "mt-1",
7696
7791
  classNames == null ? void 0 : classNames.emptyState
7697
7792
  ),
7698
- children: /* @__PURE__ */ jsx123(Skeleton, { view: "search" })
7793
+ children: /* @__PURE__ */ jsx124(Skeleton, { view: "search" })
7699
7794
  }
7700
7795
  ) : null,
7701
- shouldRenderResults ? /* @__PURE__ */ jsx123(
7796
+ shouldRenderResults ? /* @__PURE__ */ jsx124(
7702
7797
  "div",
7703
7798
  {
7704
7799
  className: cn(
@@ -7708,7 +7803,7 @@ var Search = ({
7708
7803
  "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)]",
7709
7804
  classNames == null ? void 0 : classNames.dropdown
7710
7805
  ),
7711
- children: /* @__PURE__ */ jsxs117(
7806
+ children: /* @__PURE__ */ jsxs118(
7712
7807
  "ul",
7713
7808
  {
7714
7809
  className: cn(
@@ -7718,7 +7813,7 @@ var Search = ({
7718
7813
  role: "listbox",
7719
7814
  "aria-label": labels.search.resultsAria,
7720
7815
  children: [
7721
- validatedResults.map((item, index) => /* @__PURE__ */ jsx123(
7816
+ validatedResults.map((item, index) => /* @__PURE__ */ jsx124(
7722
7817
  "li",
7723
7818
  {
7724
7819
  role: "presentation",
@@ -7727,7 +7822,7 @@ var Search = ({
7727
7822
  index > 0 && "border-t border-agg-separator",
7728
7823
  classNames == null ? void 0 : classNames.resultItem
7729
7824
  ),
7730
- children: /* @__PURE__ */ jsx123(
7825
+ children: /* @__PURE__ */ jsx124(
7731
7826
  SearchResultRow,
7732
7827
  {
7733
7828
  item,
@@ -7739,12 +7834,12 @@ var Search = ({
7739
7834
  },
7740
7835
  item.id
7741
7836
  )),
7742
- /* @__PURE__ */ jsx123(
7837
+ /* @__PURE__ */ jsx124(
7743
7838
  "li",
7744
7839
  {
7745
7840
  role: "presentation",
7746
7841
  className: "agg-search-result-item border-t border-agg-separator",
7747
- children: /* @__PURE__ */ jsx123(
7842
+ children: /* @__PURE__ */ jsx124(
7748
7843
  SearchSeeAllResultsButton,
7749
7844
  {
7750
7845
  label: labels.search.seeAllResults,
@@ -7758,7 +7853,7 @@ var Search = ({
7758
7853
  )
7759
7854
  }
7760
7855
  ) : null,
7761
- shouldRenderNoResults ? /* @__PURE__ */ jsx123(
7856
+ shouldRenderNoResults ? /* @__PURE__ */ jsx124(
7762
7857
  "div",
7763
7858
  {
7764
7859
  className: cn(
@@ -7768,7 +7863,7 @@ var Search = ({
7768
7863
  "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)]",
7769
7864
  classNames == null ? void 0 : classNames.emptyState
7770
7865
  ),
7771
- children: /* @__PURE__ */ jsxs117(
7866
+ children: /* @__PURE__ */ jsxs118(
7772
7867
  "div",
7773
7868
  {
7774
7869
  className: cn(
@@ -7778,15 +7873,15 @@ var Search = ({
7778
7873
  role: "status",
7779
7874
  "aria-live": "polite",
7780
7875
  children: [
7781
- /* @__PURE__ */ jsx123(
7876
+ /* @__PURE__ */ jsx124(
7782
7877
  SearchEmptyIcon,
7783
7878
  {
7784
7879
  className: cn("h-10 w-10 text-agg-muted-foreground", classNames == null ? void 0 : classNames.emptyStateIcon),
7785
7880
  "aria-hidden": true
7786
7881
  }
7787
7882
  ),
7788
- /* @__PURE__ */ jsxs117("div", { className: "flex flex-col items-center gap-1 text-center", children: [
7789
- /* @__PURE__ */ jsx123(
7883
+ /* @__PURE__ */ jsxs118("div", { className: "flex flex-col items-center gap-1 text-center", children: [
7884
+ /* @__PURE__ */ jsx124(
7790
7885
  "p",
7791
7886
  {
7792
7887
  className: cn(
@@ -7797,7 +7892,7 @@ var Search = ({
7797
7892
  children: labels.search.noResultsTitle
7798
7893
  }
7799
7894
  ),
7800
- /* @__PURE__ */ jsx123(
7895
+ /* @__PURE__ */ jsx124(
7801
7896
  "p",
7802
7897
  {
7803
7898
  className: cn(
@@ -7847,7 +7942,7 @@ var resolveHeaderSearchContent = ({
7847
7942
  };
7848
7943
 
7849
7944
  // src/primitives/header/index.tsx
7850
- import { Fragment as Fragment6, jsx as jsx124, jsxs as jsxs118 } from "react/jsx-runtime";
7945
+ import { Fragment as Fragment6, jsx as jsx125, jsxs as jsxs119 } from "react/jsx-runtime";
7851
7946
  var Header = ({
7852
7947
  logo,
7853
7948
  logoHref,
@@ -7860,7 +7955,7 @@ var Header = ({
7860
7955
  "aria-label": ariaLabel
7861
7956
  }) => {
7862
7957
  const labels = useLabels11();
7863
- const logoContent = isHeaderLogoProps(logo) ? /* @__PURE__ */ jsx124(
7958
+ const logoContent = isHeaderLogoProps(logo) ? /* @__PURE__ */ jsx125(
7864
7959
  "img",
7865
7960
  {
7866
7961
  src: logo.src,
@@ -7869,14 +7964,14 @@ var Header = ({
7869
7964
  height: logo.height,
7870
7965
  className: cn("block max-h-full", classNames == null ? void 0 : classNames.logoElement)
7871
7966
  }
7872
- ) : logo !== void 0 ? /* @__PURE__ */ jsx124("span", { className: classNames == null ? void 0 : classNames.logoElement, children: logo }) : /* @__PURE__ */ jsx124(
7967
+ ) : logo !== void 0 ? /* @__PURE__ */ jsx125("span", { className: classNames == null ? void 0 : classNames.logoElement, children: logo }) : /* @__PURE__ */ jsx125(
7873
7968
  AggLogo,
7874
7969
  {
7875
7970
  className: cn("h-6 w-auto text-agg-foreground", classNames == null ? void 0 : classNames.logoElement),
7876
7971
  title: labels.header.logoAria
7877
7972
  }
7878
7973
  );
7879
- const wrappedLogo = logoHref ? /* @__PURE__ */ jsx124(
7974
+ const wrappedLogo = logoHref ? /* @__PURE__ */ jsx125(
7880
7975
  "a",
7881
7976
  {
7882
7977
  href: logoHref,
@@ -7885,7 +7980,7 @@ var Header = ({
7885
7980
  onClick: onLogoClick,
7886
7981
  children: logoContent
7887
7982
  }
7888
- ) : onLogoClick ? /* @__PURE__ */ jsx124(
7983
+ ) : onLogoClick ? /* @__PURE__ */ jsx125(
7889
7984
  "button",
7890
7985
  {
7891
7986
  type: "button",
@@ -7897,13 +7992,13 @@ var Header = ({
7897
7992
  onClick: onLogoClick,
7898
7993
  children: logoContent
7899
7994
  }
7900
- ) : /* @__PURE__ */ jsx124("div", { className: classNames == null ? void 0 : classNames.logoWrapper, children: logoContent });
7995
+ ) : /* @__PURE__ */ jsx125("div", { className: classNames == null ? void 0 : classNames.logoWrapper, children: logoContent });
7901
7996
  const searchContent = resolveHeaderSearchContent({
7902
7997
  search,
7903
7998
  searchProps,
7904
- renderSearch: (nextSearchProps) => /* @__PURE__ */ jsx124(Search, __spreadValues({}, nextSearchProps))
7999
+ renderSearch: (nextSearchProps) => /* @__PURE__ */ jsx125(Search, __spreadValues({}, nextSearchProps))
7905
8000
  });
7906
- return /* @__PURE__ */ jsx124(Fragment6, { children: /* @__PURE__ */ jsx124(
8001
+ return /* @__PURE__ */ jsx125(Fragment6, { children: /* @__PURE__ */ jsx125(
7907
8002
  "header",
7908
8003
  {
7909
8004
  role: "banner",
@@ -7912,7 +8007,7 @@ var Header = ({
7912
8007
  fallbackLabel: labels.header.bannerAria
7913
8008
  }),
7914
8009
  className: cn(baseHeaderClasses, sticky && stickyHeaderClasses, classNames == null ? void 0 : classNames.root),
7915
- children: /* @__PURE__ */ jsxs118(
8010
+ children: /* @__PURE__ */ jsxs119(
7916
8011
  "div",
7917
8012
  {
7918
8013
  className: cn(
@@ -7920,7 +8015,7 @@ var Header = ({
7920
8015
  classNames == null ? void 0 : classNames.inner
7921
8016
  ),
7922
8017
  children: [
7923
- /* @__PURE__ */ jsx124(
8018
+ /* @__PURE__ */ jsx125(
7924
8019
  "div",
7925
8020
  {
7926
8021
  className: cn(
@@ -7930,7 +8025,7 @@ var Header = ({
7930
8025
  children: wrappedLogo
7931
8026
  }
7932
8027
  ),
7933
- searchContent ? /* @__PURE__ */ jsx124(
8028
+ searchContent ? /* @__PURE__ */ jsx125(
7934
8029
  "div",
7935
8030
  {
7936
8031
  className: cn(
@@ -7941,7 +8036,7 @@ var Header = ({
7941
8036
  children: searchContent
7942
8037
  }
7943
8038
  ) : null,
7944
- /* @__PURE__ */ jsx124(
8039
+ /* @__PURE__ */ jsx125(
7945
8040
  "div",
7946
8041
  {
7947
8042
  className: cn(
@@ -8004,7 +8099,7 @@ var resolveInlineAlertHasAction = ({
8004
8099
  };
8005
8100
 
8006
8101
  // src/primitives/inline-alert/index.tsx
8007
- import { jsx as jsx125, jsxs as jsxs119 } from "react/jsx-runtime";
8102
+ import { jsx as jsx126, jsxs as jsxs120 } from "react/jsx-runtime";
8008
8103
  var InlineAlert = ({
8009
8104
  tone = INLINE_ALERT_DEFAULT_TONE,
8010
8105
  variant,
@@ -8018,7 +8113,7 @@ var InlineAlert = ({
8018
8113
  const resolvedVariant = resolveInlineAlertVariant({ tone, variant });
8019
8114
  const hasAction = resolveInlineAlertHasAction({ actionLabel, onAction });
8020
8115
  const { ariaLive, role } = INLINE_ALERT_LIVE_REGION_CONFIG[tone];
8021
- return /* @__PURE__ */ jsxs119(
8116
+ return /* @__PURE__ */ jsxs120(
8022
8117
  "div",
8023
8118
  {
8024
8119
  className: cn(
@@ -8030,7 +8125,7 @@ var InlineAlert = ({
8030
8125
  "aria-live": ariaLive,
8031
8126
  "aria-label": ariaLabel,
8032
8127
  children: [
8033
- /* @__PURE__ */ jsx125(
8128
+ /* @__PURE__ */ jsx126(
8034
8129
  Icon,
8035
8130
  {
8036
8131
  name: INLINE_ALERT_TONE_ICON_NAME[tone],
@@ -8038,14 +8133,14 @@ var InlineAlert = ({
8038
8133
  "aria-hidden": "true"
8039
8134
  }
8040
8135
  ),
8041
- /* @__PURE__ */ jsx125(
8136
+ /* @__PURE__ */ jsx126(
8042
8137
  "div",
8043
8138
  {
8044
8139
  className: cn(
8045
8140
  "min-w-0",
8046
8141
  resolvedVariant === "plain" && !hasAction ? "flex-none text-center" : "flex-1"
8047
8142
  ),
8048
- children: /* @__PURE__ */ jsxs119(
8143
+ children: /* @__PURE__ */ jsxs120(
8049
8144
  "div",
8050
8145
  {
8051
8146
  className: cn(
@@ -8054,14 +8149,14 @@ var InlineAlert = ({
8054
8149
  resolvedVariant === "plain" && !hasAction ? "items-center" : null
8055
8150
  ),
8056
8151
  children: [
8057
- title2 ? /* @__PURE__ */ jsx125("p", { className: "text-agg-sm font-agg-bold leading-agg-5 text-agg-foreground", children: title2 }) : null,
8058
- /* @__PURE__ */ jsx125("p", { className: "text-agg-sm leading-agg-5 text-agg-foreground wrap-break-word", children: message })
8152
+ title2 ? /* @__PURE__ */ jsx126("p", { className: "text-agg-sm font-agg-bold leading-agg-5 text-agg-foreground", children: title2 }) : null,
8153
+ /* @__PURE__ */ jsx126("p", { className: "text-agg-sm leading-agg-5 text-agg-foreground wrap-break-word", children: message })
8059
8154
  ]
8060
8155
  }
8061
8156
  )
8062
8157
  }
8063
8158
  ),
8064
- hasAction ? /* @__PURE__ */ jsx125(
8159
+ hasAction ? /* @__PURE__ */ jsx126(
8065
8160
  "button",
8066
8161
  {
8067
8162
  type: "button",
@@ -8099,7 +8194,7 @@ var resolveLoadingIconAriaLabel = ({
8099
8194
  };
8100
8195
 
8101
8196
  // src/primitives/loading-icon/index.tsx
8102
- import { Fragment as Fragment7, jsx as jsx126, jsxs as jsxs120 } from "react/jsx-runtime";
8197
+ import { Fragment as Fragment7, jsx as jsx127, jsxs as jsxs121 } from "react/jsx-runtime";
8103
8198
  var LoadingIcon = ({
8104
8199
  size = LOADING_ICON_DEFAULT_SIZE,
8105
8200
  variant = "default",
@@ -8110,7 +8205,7 @@ var LoadingIcon = ({
8110
8205
  const {
8111
8206
  features: { enableAnimations }
8112
8207
  } = useSdkUiConfig11();
8113
- return /* @__PURE__ */ jsx126(
8208
+ return /* @__PURE__ */ jsx127(
8114
8209
  "span",
8115
8210
  {
8116
8211
  role: "status",
@@ -8123,7 +8218,7 @@ var LoadingIcon = ({
8123
8218
  "inline-grid place-items-center text-agg-primary will-change-transform",
8124
8219
  className
8125
8220
  ),
8126
- children: /* @__PURE__ */ jsx126("span", { className: "inline-grid place-items-center", "aria-hidden": "true", children: /* @__PURE__ */ jsx126(
8221
+ children: /* @__PURE__ */ jsx127("span", { className: "inline-grid place-items-center", "aria-hidden": "true", children: /* @__PURE__ */ jsx127(
8127
8222
  "svg",
8128
8223
  {
8129
8224
  viewBox: LOADING_ICON_SVG_VIEW_BOX,
@@ -8131,8 +8226,8 @@ var LoadingIcon = ({
8131
8226
  "block",
8132
8227
  variant === "prominent" ? LOADING_ICON_PROMINENT_FRAME_CLASS : iconSizeClasses[size]
8133
8228
  ),
8134
- children: variant === "prominent" ? /* @__PURE__ */ jsxs120("g", { children: [
8135
- enableAnimations ? /* @__PURE__ */ jsx126(
8229
+ children: variant === "prominent" ? /* @__PURE__ */ jsxs121("g", { children: [
8230
+ enableAnimations ? /* @__PURE__ */ jsx127(
8136
8231
  "animateTransform",
8137
8232
  {
8138
8233
  attributeName: "transform",
@@ -8144,7 +8239,7 @@ var LoadingIcon = ({
8144
8239
  repeatCount: "indefinite"
8145
8240
  }
8146
8241
  ) : null,
8147
- /* @__PURE__ */ jsx126(
8242
+ /* @__PURE__ */ jsx127(
8148
8243
  "circle",
8149
8244
  {
8150
8245
  cx: "22",
@@ -8158,8 +8253,8 @@ var LoadingIcon = ({
8158
8253
  strokeDasharray: LOADING_ICON_PROMINENT_DASHARRAY
8159
8254
  }
8160
8255
  )
8161
- ] }) : /* @__PURE__ */ jsxs120("g", { children: [
8162
- enableAnimations ? /* @__PURE__ */ jsx126(
8256
+ ] }) : /* @__PURE__ */ jsxs121("g", { children: [
8257
+ enableAnimations ? /* @__PURE__ */ jsx127(
8163
8258
  "animateTransform",
8164
8259
  {
8165
8260
  attributeName: "transform",
@@ -8171,7 +8266,7 @@ var LoadingIcon = ({
8171
8266
  repeatCount: "indefinite"
8172
8267
  }
8173
8268
  ) : null,
8174
- /* @__PURE__ */ jsx126(
8269
+ /* @__PURE__ */ jsx127(
8175
8270
  "circle",
8176
8271
  {
8177
8272
  cx: "22",
@@ -8183,8 +8278,8 @@ var LoadingIcon = ({
8183
8278
  strokeLinecap: "round",
8184
8279
  strokeDasharray: "60 100",
8185
8280
  strokeDashoffset: "0",
8186
- children: enableAnimations ? /* @__PURE__ */ jsxs120(Fragment7, { children: [
8187
- /* @__PURE__ */ jsx126(
8281
+ children: enableAnimations ? /* @__PURE__ */ jsxs121(Fragment7, { children: [
8282
+ /* @__PURE__ */ jsx127(
8188
8283
  "animate",
8189
8284
  {
8190
8285
  attributeName: "stroke-dasharray",
@@ -8193,7 +8288,7 @@ var LoadingIcon = ({
8193
8288
  repeatCount: "indefinite"
8194
8289
  }
8195
8290
  ),
8196
- /* @__PURE__ */ jsx126(
8291
+ /* @__PURE__ */ jsx127(
8197
8292
  "animate",
8198
8293
  {
8199
8294
  attributeName: "stroke-dashoffset",
@@ -8238,7 +8333,7 @@ var resolveModalCloseIcon = ({
8238
8333
  };
8239
8334
 
8240
8335
  // src/primitives/modal/index.tsx
8241
- import { Fragment as Fragment8, jsx as jsx127, jsxs as jsxs121 } from "react/jsx-runtime";
8336
+ import { Fragment as Fragment8, jsx as jsx128, jsxs as jsxs122 } from "react/jsx-runtime";
8242
8337
  var Modal = ({
8243
8338
  open,
8244
8339
  onOpenChange,
@@ -8246,7 +8341,7 @@ var Modal = ({
8246
8341
  "aria-label": _ariaLabel,
8247
8342
  "aria-labelledby": _ariaLabelledBy
8248
8343
  }) => {
8249
- return /* @__PURE__ */ jsx127(Dialog.Root, { open, onOpenChange, children });
8344
+ return /* @__PURE__ */ jsx128(Dialog.Root, { open, onOpenChange, children });
8250
8345
  };
8251
8346
  var ModalContainer = ({
8252
8347
  children,
@@ -8261,8 +8356,8 @@ var ModalContainer = ({
8261
8356
  } = useSdkUiConfig12();
8262
8357
  const overlayAnimationClassName = resolveModalOverlayAnimationClassName(enableAnimations);
8263
8358
  const panelAnimationClassName = resolveModalPanelAnimationClassName(enableAnimations);
8264
- return /* @__PURE__ */ jsxs121(Dialog.Portal, { children: [
8265
- /* @__PURE__ */ jsx127(
8359
+ return /* @__PURE__ */ jsxs122(Dialog.Portal, { children: [
8360
+ /* @__PURE__ */ jsx128(
8266
8361
  Dialog.Overlay,
8267
8362
  {
8268
8363
  className: cn(
@@ -8273,7 +8368,7 @@ var ModalContainer = ({
8273
8368
  )
8274
8369
  }
8275
8370
  ),
8276
- /* @__PURE__ */ jsx127(
8371
+ /* @__PURE__ */ jsx128(
8277
8372
  Dialog.Content,
8278
8373
  {
8279
8374
  className: cn(
@@ -8299,7 +8394,7 @@ var ModalContainer = ({
8299
8394
  event.preventDefault();
8300
8395
  }
8301
8396
  },
8302
- children: /* @__PURE__ */ jsx127(
8397
+ children: /* @__PURE__ */ jsx128(
8303
8398
  "div",
8304
8399
  {
8305
8400
  className: cn(
@@ -8307,7 +8402,7 @@ var ModalContainer = ({
8307
8402
  "items-end md:items-center",
8308
8403
  "flex h-full min-h-0 w-full justify-center p-0 md:p-5"
8309
8404
  ),
8310
- children: /* @__PURE__ */ jsx127(
8405
+ children: /* @__PURE__ */ jsx128(
8311
8406
  "div",
8312
8407
  {
8313
8408
  className: cn(
@@ -8349,12 +8444,12 @@ var ModalHeader = ({
8349
8444
  features: { enableAnimations }
8350
8445
  } = useSdkUiConfig12();
8351
8446
  const labels = useLabels13();
8352
- const defaultCloseIcon = /* @__PURE__ */ jsx127(CloseIcon, { className: "h-6 w-6" });
8447
+ const defaultCloseIcon = /* @__PURE__ */ jsx128(CloseIcon, { className: "h-6 w-6" });
8353
8448
  const resolvedCloseIcon = resolveModalCloseIcon({
8354
8449
  closeIcon,
8355
8450
  defaultCloseIcon
8356
8451
  });
8357
- return /* @__PURE__ */ jsxs121(
8452
+ return /* @__PURE__ */ jsxs122(
8358
8453
  "div",
8359
8454
  {
8360
8455
  className: cn(
@@ -8367,7 +8462,7 @@ var ModalHeader = ({
8367
8462
  classNames == null ? void 0 : classNames.root
8368
8463
  ),
8369
8464
  children: [
8370
- /* @__PURE__ */ jsxs121(
8465
+ /* @__PURE__ */ jsxs122(
8371
8466
  "div",
8372
8467
  {
8373
8468
  className: cn(
@@ -8380,8 +8475,8 @@ var ModalHeader = ({
8380
8475
  classNames == null ? void 0 : classNames.container
8381
8476
  ),
8382
8477
  children: [
8383
- leftElement ? /* @__PURE__ */ jsx127(Fragment8, { children: leftElement }) : null,
8384
- /* @__PURE__ */ jsxs121(
8478
+ leftElement ? /* @__PURE__ */ jsx128(Fragment8, { children: leftElement }) : null,
8479
+ /* @__PURE__ */ jsxs122(
8385
8480
  "div",
8386
8481
  {
8387
8482
  className: cn(
@@ -8390,7 +8485,7 @@ var ModalHeader = ({
8390
8485
  classNames == null ? void 0 : classNames.titleContainer
8391
8486
  ),
8392
8487
  children: [
8393
- /* @__PURE__ */ jsx127(
8488
+ /* @__PURE__ */ jsx128(
8394
8489
  Dialog.Title,
8395
8490
  {
8396
8491
  className: cn(
@@ -8404,7 +8499,7 @@ var ModalHeader = ({
8404
8499
  children: title2
8405
8500
  }
8406
8501
  ),
8407
- subtitle ? /* @__PURE__ */ jsx127(
8502
+ subtitle ? /* @__PURE__ */ jsx128(
8408
8503
  "span",
8409
8504
  {
8410
8505
  className: cn(
@@ -8418,9 +8513,9 @@ var ModalHeader = ({
8418
8513
  ]
8419
8514
  }
8420
8515
  ),
8421
- /* @__PURE__ */ jsxs121("div", { className: "agg-modal-header-actions flex flex-row items-center justify-end gap-6", children: [
8422
- rightElement ? /* @__PURE__ */ jsx127(Fragment8, { children: rightElement }) : null,
8423
- !hideClose && /* @__PURE__ */ jsx127(
8516
+ /* @__PURE__ */ jsxs122("div", { className: "agg-modal-header-actions flex flex-row items-center justify-end gap-6", children: [
8517
+ rightElement ? /* @__PURE__ */ jsx128(Fragment8, { children: rightElement }) : null,
8518
+ !hideClose && /* @__PURE__ */ jsx128(
8424
8519
  Dialog.Close,
8425
8520
  {
8426
8521
  className: cn(
@@ -8437,14 +8532,14 @@ var ModalHeader = ({
8437
8532
  ]
8438
8533
  }
8439
8534
  ),
8440
- children ? /* @__PURE__ */ jsx127("div", { className: "agg-modal-header-extra", children }) : null
8535
+ children ? /* @__PURE__ */ jsx128("div", { className: "agg-modal-header-extra", children }) : null
8441
8536
  ]
8442
8537
  }
8443
8538
  );
8444
8539
  };
8445
8540
  Modal.Header = ModalHeader;
8446
8541
  var ModalBody = ({ children, classNames }) => {
8447
- return /* @__PURE__ */ jsx127(
8542
+ return /* @__PURE__ */ jsx128(
8448
8543
  "div",
8449
8544
  {
8450
8545
  className: cn(
@@ -8465,7 +8560,7 @@ var ModalFooter = ({
8465
8560
  classNames,
8466
8561
  hideBorder = false
8467
8562
  }) => {
8468
- return /* @__PURE__ */ jsx127(
8563
+ return /* @__PURE__ */ jsx128(
8469
8564
  "div",
8470
8565
  {
8471
8566
  className: cn(
@@ -8488,7 +8583,7 @@ Modal.displayName = "Modal";
8488
8583
  // src/primitives/number-value.tsx
8489
8584
  import { useMemo as useMemo6 } from "react";
8490
8585
  import { useSdkUiConfig as useSdkUiConfig13 } from "@agg-build/hooks";
8491
- import { jsx as jsx128 } from "react/jsx-runtime";
8586
+ import { jsx as jsx129 } from "react/jsx-runtime";
8492
8587
  var NumberValue = ({
8493
8588
  value,
8494
8589
  format = "number",
@@ -8522,7 +8617,7 @@ var NumberValue = ({
8522
8617
  formatPercent,
8523
8618
  value
8524
8619
  ]);
8525
- return /* @__PURE__ */ jsx128("span", { className: cn("font-agg-sans", className), "aria-label": ariaLabel, children: formatted });
8620
+ return /* @__PURE__ */ jsx129("span", { className: cn("font-agg-sans", className), "aria-label": ariaLabel, children: formatted });
8526
8621
  };
8527
8622
  NumberValue.displayName = "NumberValue";
8528
8623
 
@@ -8555,7 +8650,7 @@ var resolveIsSelectDisabled = ({
8555
8650
  };
8556
8651
 
8557
8652
  // src/primitives/select/index.tsx
8558
- import { jsx as jsx129, jsxs as jsxs122 } from "react/jsx-runtime";
8653
+ import { jsx as jsx130, jsxs as jsxs123 } from "react/jsx-runtime";
8559
8654
  var SELECT_DROPDOWN_Z = 1e4;
8560
8655
  function resolveSelectPortalContainer(triggerRoot) {
8561
8656
  var _a, _b;
@@ -8674,7 +8769,7 @@ var Select = ({
8674
8769
  };
8675
8770
  const isInline = variant === "inline";
8676
8771
  const triggerRadiusClass = triggerClassName != null ? triggerClassName : isInline ? "rounded-agg-sm" : "rounded-agg-md";
8677
- const listbox = menuRect ? /* @__PURE__ */ jsx129(
8772
+ const listbox = menuRect ? /* @__PURE__ */ jsx130(
8678
8773
  "div",
8679
8774
  {
8680
8775
  ref: portalRef,
@@ -8702,7 +8797,7 @@ var Select = ({
8702
8797
  const isSelected = item.value === value;
8703
8798
  const isHidden = item.hidden === true;
8704
8799
  if (isHidden) return null;
8705
- return /* @__PURE__ */ jsxs122(
8800
+ return /* @__PURE__ */ jsxs123(
8706
8801
  "button",
8707
8802
  {
8708
8803
  type: "button",
@@ -8726,14 +8821,14 @@ var Select = ({
8726
8821
  handleClose();
8727
8822
  },
8728
8823
  children: [
8729
- isInline && isSelected ? /* @__PURE__ */ jsx129(
8824
+ isInline && isSelected ? /* @__PURE__ */ jsx130(
8730
8825
  "span",
8731
8826
  {
8732
8827
  className: "agg-select-item-indicator absolute bottom-2 left-0 top-2 w-1 bg-agg-primary",
8733
8828
  "aria-hidden": true
8734
8829
  }
8735
8830
  ) : null,
8736
- item.icon ? /* @__PURE__ */ jsx129(
8831
+ item.icon ? /* @__PURE__ */ jsx130(
8737
8832
  "span",
8738
8833
  {
8739
8834
  className: cn(
@@ -8742,7 +8837,7 @@ var Select = ({
8742
8837
  ),
8743
8838
  children: item.icon
8744
8839
  }
8745
- ) : item.iconUrl ? /* @__PURE__ */ jsx129(
8840
+ ) : item.iconUrl ? /* @__PURE__ */ jsx130(
8746
8841
  RemoteImage,
8747
8842
  {
8748
8843
  src: item.iconUrl,
@@ -8750,7 +8845,7 @@ var Select = ({
8750
8845
  className: "agg-select-item-icon h-4 w-4 shrink-0 rounded-sm object-contain"
8751
8846
  }
8752
8847
  ) : null,
8753
- /* @__PURE__ */ jsx129("span", { className: "agg-select-item-label truncate", children: item.label })
8848
+ /* @__PURE__ */ jsx130("span", { className: "agg-select-item-label truncate", children: item.label })
8754
8849
  ]
8755
8850
  },
8756
8851
  item.value
@@ -8758,7 +8853,7 @@ var Select = ({
8758
8853
  })
8759
8854
  }
8760
8855
  ) : null;
8761
- return /* @__PURE__ */ jsxs122(
8856
+ return /* @__PURE__ */ jsxs123(
8762
8857
  "div",
8763
8858
  {
8764
8859
  ref: containerRef,
@@ -8768,7 +8863,7 @@ var Select = ({
8768
8863
  className
8769
8864
  ),
8770
8865
  children: [
8771
- /* @__PURE__ */ jsxs122(
8866
+ /* @__PURE__ */ jsxs123(
8772
8867
  "button",
8773
8868
  {
8774
8869
  type: "button",
@@ -8792,7 +8887,7 @@ var Select = ({
8792
8887
  onPointerEnter: handlePointerEnter,
8793
8888
  onPointerLeave: handlePointerLeave,
8794
8889
  children: [
8795
- (selectedItem == null ? void 0 : selectedItem.icon) ? /* @__PURE__ */ jsx129("span", { className: "h-4 w-4 shrink-0 [&_svg]:h-full [&_svg]:w-full", children: selectedItem.icon }) : (selectedItem == null ? void 0 : selectedItem.iconUrl) ? /* @__PURE__ */ jsx129(
8890
+ (selectedItem == null ? void 0 : selectedItem.icon) ? /* @__PURE__ */ jsx130("span", { className: "h-4 w-4 shrink-0 [&_svg]:h-full [&_svg]:w-full", children: selectedItem.icon }) : (selectedItem == null ? void 0 : selectedItem.iconUrl) ? /* @__PURE__ */ jsx130(
8796
8891
  RemoteImage,
8797
8892
  {
8798
8893
  src: selectedItem.iconUrl,
@@ -8800,18 +8895,18 @@ var Select = ({
8800
8895
  className: "agg-select-icon h-4 w-4 shrink-0 rounded-sm object-contain"
8801
8896
  }
8802
8897
  ) : null,
8803
- /* @__PURE__ */ jsx129("span", { className: "agg-select-value flex-1 truncate", children: (_a = selectedItem == null ? void 0 : selectedItem.label) != null ? _a : "" })
8898
+ /* @__PURE__ */ jsx130("span", { className: "agg-select-value flex-1 truncate", children: (_a = selectedItem == null ? void 0 : selectedItem.label) != null ? _a : "" })
8804
8899
  ]
8805
8900
  }
8806
8901
  ),
8807
- /* @__PURE__ */ jsx129(
8902
+ /* @__PURE__ */ jsx130(
8808
8903
  "span",
8809
8904
  {
8810
8905
  className: cn(
8811
8906
  "agg-select-chevron pointer-events-none absolute inset-y-0 inline-flex items-center justify-center",
8812
8907
  isInline ? "right-2 text-agg-foreground" : "right-3 text-agg-muted-foreground"
8813
8908
  ),
8814
- children: /* @__PURE__ */ jsx129(
8909
+ children: /* @__PURE__ */ jsx130(
8815
8910
  Icon,
8816
8911
  {
8817
8912
  name: isOpen ? "chevron-up" : "chevron-down-thin",
@@ -8927,7 +9022,7 @@ var getTypographyClassName = ({
8927
9022
  };
8928
9023
 
8929
9024
  // src/primitives/typography/index.tsx
8930
- import { jsx as jsx130 } from "react/jsx-runtime";
9025
+ import { jsx as jsx131 } from "react/jsx-runtime";
8931
9026
  var Typography = ({
8932
9027
  as: Component2 = "p",
8933
9028
  variant = "body",
@@ -8935,7 +9030,7 @@ var Typography = ({
8935
9030
  children,
8936
9031
  "aria-label": ariaLabel
8937
9032
  }) => {
8938
- return /* @__PURE__ */ jsx130(Component2, { className: getTypographyClassName({ className, variant }), "aria-label": ariaLabel, children });
9033
+ return /* @__PURE__ */ jsx131(Component2, { className: getTypographyClassName({ className, variant }), "aria-label": ariaLabel, children });
8939
9034
  };
8940
9035
  Typography.displayName = "Typography";
8941
9036
 
@@ -8948,7 +9043,7 @@ var resolveStateMessageHasAction = ({ onAction }) => {
8948
9043
  };
8949
9044
 
8950
9045
  // src/primitives/state-message/index.tsx
8951
- import { jsx as jsx131, jsxs as jsxs123 } from "react/jsx-runtime";
9046
+ import { jsx as jsx132, jsxs as jsxs124 } from "react/jsx-runtime";
8952
9047
  var StateMessage = (_a) => {
8953
9048
  var _b = _a, {
8954
9049
  icon,
@@ -8969,7 +9064,7 @@ var StateMessage = (_a) => {
8969
9064
  className: cn(STATE_MESSAGE_ICON_CLASS_NAME, icon.props.className, classNames == null ? void 0 : classNames.icon),
8970
9065
  "aria-hidden": true
8971
9066
  });
8972
- return /* @__PURE__ */ jsx131(
9067
+ return /* @__PURE__ */ jsx132(
8973
9068
  "div",
8974
9069
  __spreadProps(__spreadValues({}, rest), {
8975
9070
  className: cn(
@@ -8980,7 +9075,7 @@ var StateMessage = (_a) => {
8980
9075
  role: "status",
8981
9076
  "aria-live": "polite",
8982
9077
  "aria-label": title2,
8983
- children: /* @__PURE__ */ jsxs123(
9078
+ children: /* @__PURE__ */ jsxs124(
8984
9079
  "div",
8985
9080
  {
8986
9081
  className: cn(
@@ -8989,7 +9084,7 @@ var StateMessage = (_a) => {
8989
9084
  ),
8990
9085
  children: [
8991
9086
  resolvedIcon,
8992
- /* @__PURE__ */ jsxs123(
9087
+ /* @__PURE__ */ jsxs124(
8993
9088
  "div",
8994
9089
  {
8995
9090
  className: cn(
@@ -8997,8 +9092,8 @@ var StateMessage = (_a) => {
8997
9092
  classNames == null ? void 0 : classNames.text
8998
9093
  ),
8999
9094
  children: [
9000
- /* @__PURE__ */ jsx131(Typography, { variant: "body-strong", className: classNames == null ? void 0 : classNames.title, children: title2 }),
9001
- description ? /* @__PURE__ */ jsx131(
9095
+ /* @__PURE__ */ jsx132(Typography, { variant: "body-strong", className: classNames == null ? void 0 : classNames.title, children: title2 }),
9096
+ description ? /* @__PURE__ */ jsx132(
9002
9097
  Typography,
9003
9098
  {
9004
9099
  variant: "label",
@@ -9009,7 +9104,7 @@ var StateMessage = (_a) => {
9009
9104
  ]
9010
9105
  }
9011
9106
  ),
9012
- hasAction ? /* @__PURE__ */ jsx131(
9107
+ hasAction ? /* @__PURE__ */ jsx132(
9013
9108
  Button,
9014
9109
  {
9015
9110
  variant: "tertiary",
@@ -9111,7 +9206,7 @@ var findEdgeEnabledIndex = (items, direction) => {
9111
9206
  };
9112
9207
 
9113
9208
  // src/primitives/tabs/index.tsx
9114
- import { Fragment as Fragment9, jsx as jsx132, jsxs as jsxs124 } from "react/jsx-runtime";
9209
+ import { Fragment as Fragment9, jsx as jsx133, jsxs as jsxs125 } from "react/jsx-runtime";
9115
9210
  var getTabButtonClassName = ({
9116
9211
  enableAnimations,
9117
9212
  isBarVariant,
@@ -9371,7 +9466,7 @@ var Tabs = ({
9371
9466
  width: activeButton.offsetWidth,
9372
9467
  opacity: 1
9373
9468
  });
9374
- }, [isBarVariant, renderedItems, value]);
9469
+ }, [isBarVariant, renderedItems, tabListRef, value]);
9375
9470
  useLayoutEffect3(() => {
9376
9471
  updateActiveUnderline();
9377
9472
  }, [updateActiveUnderline]);
@@ -9430,9 +9525,16 @@ var Tabs = ({
9430
9525
  requestAnimationFrame(() => {
9431
9526
  updateScrollState();
9432
9527
  });
9433
- }, [enableAnimations, renderedItems, shouldUseOverflowScroll, updateScrollState, value]);
9528
+ }, [
9529
+ enableAnimations,
9530
+ renderedItems,
9531
+ shouldUseOverflowScroll,
9532
+ tabListRef,
9533
+ updateScrollState,
9534
+ value
9535
+ ]);
9434
9536
  if (shouldUseOverflowSelect) {
9435
- return /* @__PURE__ */ jsx132("div", { className: cn("group/agg-tabs w-full", className, classNames == null ? void 0 : classNames.root), children: /* @__PURE__ */ jsx132(
9537
+ return /* @__PURE__ */ jsx133("div", { className: cn("group/agg-tabs w-full", className, classNames == null ? void 0 : classNames.root), children: /* @__PURE__ */ jsx133(
9436
9538
  Select,
9437
9539
  {
9438
9540
  ariaLabel,
@@ -9444,7 +9546,7 @@ var Tabs = ({
9444
9546
  }
9445
9547
  ) });
9446
9548
  }
9447
- return /* @__PURE__ */ jsxs124(
9549
+ return /* @__PURE__ */ jsxs125(
9448
9550
  "div",
9449
9551
  {
9450
9552
  className: cn(
@@ -9455,7 +9557,7 @@ var Tabs = ({
9455
9557
  classNames == null ? void 0 : classNames.root
9456
9558
  ),
9457
9559
  children: [
9458
- /* @__PURE__ */ jsxs124(
9560
+ /* @__PURE__ */ jsxs125(
9459
9561
  "div",
9460
9562
  {
9461
9563
  ref: tabListRef,
@@ -9469,7 +9571,7 @@ var Tabs = ({
9469
9571
  onPointerUp: handleEndTabListDrag,
9470
9572
  onWheel: handleTabListWheel,
9471
9573
  children: [
9472
- shouldUseOverflowScroll && !isBarVariant && hasOverflow ? /* @__PURE__ */ jsx132(
9574
+ shouldUseOverflowScroll && !isBarVariant && hasOverflow ? /* @__PURE__ */ jsx133(
9473
9575
  "span",
9474
9576
  {
9475
9577
  "aria-hidden": true,
@@ -9480,7 +9582,7 @@ var Tabs = ({
9480
9582
  var _a;
9481
9583
  const isActive = item.value === value;
9482
9584
  const isComingSoon = (_a = item == null ? void 0 : item.isComingSoon) != null ? _a : false;
9483
- return /* @__PURE__ */ jsxs124(
9585
+ return /* @__PURE__ */ jsxs125(
9484
9586
  "button",
9485
9587
  {
9486
9588
  ref: (buttonElement) => {
@@ -9516,7 +9618,7 @@ var Tabs = ({
9516
9618
  ),
9517
9619
  children: [
9518
9620
  item.icon ? item.icon : null,
9519
- /* @__PURE__ */ jsxs124(
9621
+ /* @__PURE__ */ jsxs125(
9520
9622
  "span",
9521
9623
  {
9522
9624
  className: cn(
@@ -9534,7 +9636,7 @@ var Tabs = ({
9534
9636
  item.value
9535
9637
  );
9536
9638
  }),
9537
- !isBarVariant ? /* @__PURE__ */ jsx132(
9639
+ !isBarVariant ? /* @__PURE__ */ jsx133(
9538
9640
  "span",
9539
9641
  {
9540
9642
  "aria-hidden": true,
@@ -9553,8 +9655,8 @@ var Tabs = ({
9553
9655
  ]
9554
9656
  }
9555
9657
  ),
9556
- shouldUseOverflowScroll && !isBarVariant ? /* @__PURE__ */ jsxs124(Fragment9, { children: [
9557
- /* @__PURE__ */ jsx132(
9658
+ shouldUseOverflowScroll && !isBarVariant ? /* @__PURE__ */ jsxs125(Fragment9, { children: [
9659
+ /* @__PURE__ */ jsx133(
9558
9660
  "span",
9559
9661
  {
9560
9662
  "aria-hidden": true,
@@ -9566,7 +9668,7 @@ var Tabs = ({
9566
9668
  )
9567
9669
  }
9568
9670
  ),
9569
- /* @__PURE__ */ jsx132(
9671
+ /* @__PURE__ */ jsx133(
9570
9672
  "span",
9571
9673
  {
9572
9674
  "aria-hidden": true,
@@ -9579,8 +9681,8 @@ var Tabs = ({
9579
9681
  }
9580
9682
  )
9581
9683
  ] }) : null,
9582
- shouldUseOverflowScroll && isBarVariant ? /* @__PURE__ */ jsxs124(Fragment9, { children: [
9583
- /* @__PURE__ */ jsx132(
9684
+ shouldUseOverflowScroll && isBarVariant ? /* @__PURE__ */ jsxs125(Fragment9, { children: [
9685
+ /* @__PURE__ */ jsx133(
9584
9686
  "button",
9585
9687
  {
9586
9688
  type: "button",
@@ -9602,10 +9704,10 @@ var Tabs = ({
9602
9704
  behavior: getScrollBehavior(enableAnimations)
9603
9705
  });
9604
9706
  },
9605
- children: /* @__PURE__ */ jsx132(Icon, { name: "chevron-left", size: "small", color: "currentColor" })
9707
+ children: /* @__PURE__ */ jsx133(Icon, { name: "chevron-left", size: "small", color: "currentColor" })
9606
9708
  }
9607
9709
  ),
9608
- /* @__PURE__ */ jsx132(
9710
+ /* @__PURE__ */ jsx133(
9609
9711
  "button",
9610
9712
  {
9611
9713
  type: "button",
@@ -9627,7 +9729,7 @@ var Tabs = ({
9627
9729
  behavior: getScrollBehavior(enableAnimations)
9628
9730
  });
9629
9731
  },
9630
- children: /* @__PURE__ */ jsx132(Icon, { name: "chevron-right", size: "small", color: "currentColor" })
9732
+ children: /* @__PURE__ */ jsx133(Icon, { name: "chevron-right", size: "small", color: "currentColor" })
9631
9733
  }
9632
9734
  )
9633
9735
  ] }) : null
@@ -9647,7 +9749,7 @@ import {
9647
9749
  useRef as useRef10,
9648
9750
  useState as useState11
9649
9751
  } from "react";
9650
- import { jsx as jsx133, jsxs as jsxs125 } from "react/jsx-runtime";
9752
+ import { jsx as jsx134, jsxs as jsxs126 } from "react/jsx-runtime";
9651
9753
  var DEFAULT_DURATION_MS = 5e3;
9652
9754
  var EXIT_ANIMATION_MS = 350;
9653
9755
  var TONE_ACCENT_CLASS = {
@@ -9696,9 +9798,9 @@ function ToastProvider({
9696
9798
  },
9697
9799
  [defaultDurationMs]
9698
9800
  );
9699
- return /* @__PURE__ */ jsx133(ToastContext.Provider, { value: { toast, dismiss }, children: /* @__PURE__ */ jsxs125(RadixToast.Provider, { swipeDirection, swipeThreshold, children: [
9801
+ return /* @__PURE__ */ jsx134(ToastContext.Provider, { value: { toast, dismiss }, children: /* @__PURE__ */ jsxs126(RadixToast.Provider, { swipeDirection, swipeThreshold, children: [
9700
9802
  children,
9701
- toasts.map((entry) => /* @__PURE__ */ jsx133(
9803
+ toasts.map((entry) => /* @__PURE__ */ jsx134(
9702
9804
  ToastRow,
9703
9805
  {
9704
9806
  entry,
@@ -9708,7 +9810,7 @@ function ToastProvider({
9708
9810
  },
9709
9811
  entry.id
9710
9812
  )),
9711
- /* @__PURE__ */ jsx133(
9813
+ /* @__PURE__ */ jsx134(
9712
9814
  RadixToast.Viewport,
9713
9815
  {
9714
9816
  className: cn(
@@ -9788,7 +9890,7 @@ function ToastRow({ entry, onOpenChange }) {
9788
9890
  clearCloseTimer();
9789
9891
  };
9790
9892
  }, [clearCloseTimer, clearDismissTimer, duration, startDismissTimer]);
9791
- return /* @__PURE__ */ jsxs125(
9893
+ return /* @__PURE__ */ jsxs126(
9792
9894
  RadixToast.Root,
9793
9895
  {
9794
9896
  open: isOpen,
@@ -9809,7 +9911,7 @@ function ToastRow({ entry, onOpenChange }) {
9809
9911
  TONE_ACCENT_CLASS[entry.tone]
9810
9912
  ),
9811
9913
  children: [
9812
- /* @__PURE__ */ jsx133(
9914
+ /* @__PURE__ */ jsx134(
9813
9915
  Icon,
9814
9916
  {
9815
9917
  name: TONE_ICON_NAME[entry.tone],
@@ -9817,25 +9919,25 @@ function ToastRow({ entry, onOpenChange }) {
9817
9919
  "aria-hidden": "true"
9818
9920
  }
9819
9921
  ),
9820
- /* @__PURE__ */ jsxs125("div", { className: "min-w-0 flex-1", children: [
9821
- entry.title ? /* @__PURE__ */ jsx133(RadixToast.Title, { className: "font-agg-sans text-agg-sm leading-agg-5 font-agg-bold text-agg-foreground", children: entry.title }) : null,
9822
- /* @__PURE__ */ jsx133(RadixToast.Description, { className: "font-agg-sans text-agg-sm leading-agg-5 font-agg-normal text-agg-foreground wrap-break-word", children: entry.message }),
9823
- entry.detail ? /* @__PURE__ */ jsx133("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
9922
+ /* @__PURE__ */ jsxs126("div", { className: "min-w-0 flex-1", children: [
9923
+ entry.title ? /* @__PURE__ */ jsx134(RadixToast.Title, { className: "font-agg-sans text-agg-sm leading-agg-5 font-agg-bold text-agg-foreground", children: entry.title }) : null,
9924
+ /* @__PURE__ */ jsx134(RadixToast.Description, { className: "font-agg-sans text-agg-sm leading-agg-5 font-agg-normal text-agg-foreground wrap-break-word", children: entry.message }),
9925
+ entry.detail ? /* @__PURE__ */ jsx134("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
9824
9926
  ] }),
9825
- /* @__PURE__ */ jsx133(
9927
+ /* @__PURE__ */ jsx134(
9826
9928
  RadixToast.Close,
9827
9929
  {
9828
9930
  "aria-label": "Dismiss",
9829
9931
  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",
9830
- children: /* @__PURE__ */ jsx133(Icon, { name: "close", className: "h-4! w-4!", "aria-hidden": "true" })
9932
+ children: /* @__PURE__ */ jsx134(Icon, { name: "close", className: "h-4! w-4!", "aria-hidden": "true" })
9831
9933
  }
9832
9934
  ),
9833
- /* @__PURE__ */ jsx133(
9935
+ /* @__PURE__ */ jsx134(
9834
9936
  "div",
9835
9937
  {
9836
9938
  className: "absolute right-[-1px] bottom-[-1px] left-[-1px] h-1 bg-[color-mix(in_srgb,var(--agg-toast-accent)_30%,transparent)]",
9837
9939
  "aria-hidden": "true",
9838
- children: /* @__PURE__ */ jsx133(
9940
+ children: /* @__PURE__ */ jsx134(
9839
9941
  "div",
9840
9942
  {
9841
9943
  "data-testid": "agg-toast-progress",
@@ -9897,7 +9999,7 @@ var resolveTooltipArrowDimensions = (size) => {
9897
9999
  };
9898
10000
 
9899
10001
  // src/primitives/tooltip/index.tsx
9900
- import { jsx as jsx134, jsxs as jsxs126 } from "react/jsx-runtime";
10002
+ import { jsx as jsx135, jsxs as jsxs127 } from "react/jsx-runtime";
9901
10003
  var Tooltip = ({
9902
10004
  content,
9903
10005
  children,
@@ -9915,22 +10017,22 @@ var Tooltip = ({
9915
10017
  } = useSdkUiConfig16();
9916
10018
  const trigger = useMemo8(() => {
9917
10019
  if (children) return children;
9918
- return /* @__PURE__ */ jsx134(
10020
+ return /* @__PURE__ */ jsx135(
9919
10021
  "button",
9920
10022
  {
9921
10023
  type: "button",
9922
10024
  className: resolveTooltipTriggerClassName(classNames == null ? void 0 : classNames.trigger),
9923
10025
  "aria-label": ariaLabel != null ? ariaLabel : defaultTooltipTriggerAriaLabel,
9924
- children: /* @__PURE__ */ jsx134(Icon, { name: "info", size: "small", className: cn(classNames == null ? void 0 : classNames.icon), "aria-hidden": true })
10026
+ children: /* @__PURE__ */ jsx135(Icon, { name: "info", size: "small", className: cn(classNames == null ? void 0 : classNames.icon), "aria-hidden": true })
9925
10027
  }
9926
10028
  );
9927
10029
  }, [children, classNames == null ? void 0 : classNames.trigger, classNames == null ? void 0 : classNames.icon, ariaLabel]);
9928
10030
  const { width: arrowWidth, height: arrowHeight } = resolveTooltipArrowDimensions(size);
9929
10031
  const arrowPoints = `0,0 ${arrowWidth},0 ${arrowWidth / 2},${arrowHeight}`;
9930
10032
  const arrowBorderPath = `M0 0 L${arrowWidth / 2} ${arrowHeight} L${arrowWidth} 0`;
9931
- return /* @__PURE__ */ jsx134(TooltipPrimitive.Provider, { delayDuration, children: /* @__PURE__ */ jsxs126(TooltipPrimitive.Root, { children: [
9932
- /* @__PURE__ */ jsx134(TooltipPrimitive.Trigger, { asChild: true, children: trigger }),
9933
- /* @__PURE__ */ jsx134(TooltipPrimitive.Portal, { children: /* @__PURE__ */ jsxs126(
10033
+ return /* @__PURE__ */ jsx135(TooltipPrimitive.Provider, { delayDuration, children: /* @__PURE__ */ jsxs127(TooltipPrimitive.Root, { children: [
10034
+ /* @__PURE__ */ jsx135(TooltipPrimitive.Trigger, { asChild: true, children: trigger }),
10035
+ /* @__PURE__ */ jsx135(TooltipPrimitive.Portal, { children: /* @__PURE__ */ jsxs127(
9934
10036
  TooltipPrimitive.Content,
9935
10037
  {
9936
10038
  side,
@@ -9954,7 +10056,7 @@ var Tooltip = ({
9954
10056
  classNames == null ? void 0 : classNames.content
9955
10057
  ),
9956
10058
  children: [
9957
- /* @__PURE__ */ jsx134(TooltipPrimitive.Arrow, { asChild: true, width: arrowWidth, height: arrowHeight, children: /* @__PURE__ */ jsxs126(
10059
+ /* @__PURE__ */ jsx135(TooltipPrimitive.Arrow, { asChild: true, width: arrowWidth, height: arrowHeight, children: /* @__PURE__ */ jsxs127(
9958
10060
  "svg",
9959
10061
  {
9960
10062
  width: arrowWidth,
@@ -9963,8 +10065,8 @@ var Tooltip = ({
9963
10065
  "aria-hidden": "true",
9964
10066
  className: cn("overflow-visible", classNames == null ? void 0 : classNames.arrow),
9965
10067
  children: [
9966
- /* @__PURE__ */ jsx134("polygon", { points: arrowPoints, className: "fill-agg-secondary" }),
9967
- /* @__PURE__ */ jsx134(
10068
+ /* @__PURE__ */ jsx135("polygon", { points: arrowPoints, className: "fill-agg-secondary" }),
10069
+ /* @__PURE__ */ jsx135(
9968
10070
  "path",
9969
10071
  {
9970
10072
  d: arrowBorderPath,
@@ -10114,6 +10216,8 @@ export {
10114
10216
  fallbackLineColors,
10115
10217
  VenueLogo,
10116
10218
  formatSportsEventTimeEt,
10219
+ formatRecurringMarketPillTimeEt,
10220
+ formatRecurringMarketWindowTimeEt,
10117
10221
  resolveEventHeading,
10118
10222
  normalizeVenueMarketCluster,
10119
10223
  resolveEventListItemEvent,