@agg-market/ui 4.0.0 → 5.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. package/dist/{chunk-HOXTJ742.mjs → chunk-34IRJYSU.mjs} +1 -1
  2. package/dist/chunk-4343LYSH.mjs +45 -0
  3. package/dist/{chunk-LA3FBBSJ.mjs → chunk-CTYJVVHJ.mjs} +25 -2
  4. package/dist/{chunk-GNSPZ53C.mjs → chunk-DHBHKIJR.mjs} +73 -15
  5. package/dist/{chunk-OH56VUYK.mjs → chunk-GFBF2J3Y.mjs} +14 -7
  6. package/dist/{chunk-P2PJBO5C.mjs → chunk-KIYMVWL4.mjs} +1 -1
  7. package/dist/{chunk-QM7CGMFG.mjs → chunk-MKVGQ7AS.mjs} +12 -0
  8. package/dist/{chunk-JNH64AKR.mjs → chunk-Q6DGDBPV.mjs} +58 -4
  9. package/dist/{chunk-DCORNTCY.mjs → chunk-QDMHLRDY.mjs} +31 -62
  10. package/dist/{chunk-MBHTXNHX.mjs → chunk-T7TATHPD.mjs} +32 -8
  11. package/dist/chunk-XUCS575S.mjs +65 -0
  12. package/dist/event-list-item-details.js +1529 -72
  13. package/dist/event-list-item-details.mjs +7 -3
  14. package/dist/event-list-item.js +292 -71
  15. package/dist/event-list-item.mjs +5 -2
  16. package/dist/event-list.js +628 -404
  17. package/dist/event-list.mjs +6 -3
  18. package/dist/event-market-page.d.mts +1 -1
  19. package/dist/event-market-page.d.ts +1 -1
  20. package/dist/event-market-page.js +2478 -2268
  21. package/dist/event-market-page.mjs +7 -5
  22. package/dist/home-page.js +638 -414
  23. package/dist/home-page.mjs +7 -4
  24. package/dist/index.d.mts +3 -2
  25. package/dist/index.d.ts +3 -2
  26. package/dist/index.js +1062 -858
  27. package/dist/index.mjs +18 -13
  28. package/dist/market-details.js +645 -391
  29. package/dist/market-details.mjs +6 -3
  30. package/dist/place-order.d.mts +1 -1
  31. package/dist/place-order.d.ts +1 -1
  32. package/dist/search.js +3 -0
  33. package/dist/search.mjs +2 -1
  34. package/dist/settlement.d.mts +1 -1
  35. package/dist/settlement.d.ts +1 -1
  36. package/dist/state-message.d.mts +16 -0
  37. package/dist/state-message.d.ts +16 -0
  38. package/dist/state-message.js +1629 -0
  39. package/dist/state-message.mjs +14 -0
  40. package/dist/styles.css +1 -1
  41. package/dist/tailwind.css +1 -1
  42. package/package.json +14 -2
  43. package/dist/{types-DkGlbmXq.d.mts → types-BImwqY4o.d.mts} +4 -4
  44. package/dist/{types-DkGlbmXq.d.ts → types-BImwqY4o.d.ts} +4 -4
@@ -64,7 +64,7 @@ __export(item_exports, {
64
64
  module.exports = __toCommonJS(item_exports);
65
65
  var import_dayjs = __toESM(require("dayjs"));
66
66
  var import_react = require("react");
67
- var import_hooks10 = require("@agg-market/hooks");
67
+ var import_hooks11 = require("@agg-market/hooks");
68
68
 
69
69
  // src/primitives/badge/index.tsx
70
70
  var import_hooks = require("@agg-market/hooks");
@@ -1894,6 +1894,151 @@ var Skeleton = ({ view, className, ariaLabel }) => {
1894
1894
  };
1895
1895
  Skeleton.displayName = "Skeleton";
1896
1896
 
1897
+ // src/primitives/button/index.tsx
1898
+ var import_hooks9 = require("@agg-market/hooks");
1899
+
1900
+ // src/primitives/button/button.constants.ts
1901
+ var sizeClasses = {
1902
+ small: cn("h-8 px-4 gap-1.5", "text-agg-sm leading-agg-5"),
1903
+ medium: cn("h-9 px-5 gap-1.5", "text-agg-sm leading-agg-5"),
1904
+ large: cn("h-10 px-6 gap-2", "text-agg-base leading-agg-6")
1905
+ };
1906
+ var iconSizeClasses2 = {
1907
+ small: iconSizeClasses.small,
1908
+ medium: iconSizeClasses.small,
1909
+ large: iconSizeClasses.small
1910
+ };
1911
+ var iconSlotClasses = {
1912
+ small: "[&_svg]:h-4 [&_svg]:w-4",
1913
+ medium: "[&_svg]:h-4 [&_svg]:w-4",
1914
+ large: "[&_svg]:h-4 [&_svg]:w-4"
1915
+ };
1916
+ var variantClasses = {
1917
+ primary: cn(
1918
+ "bg-agg-primary text-agg-on-primary",
1919
+ "hover:bg-agg-primary-hover",
1920
+ "disabled:bg-agg-separator disabled:text-agg-on-primary",
1921
+ "focus-visible:ring-agg-primary-hover"
1922
+ ),
1923
+ secondary: cn(
1924
+ "border border-agg-separator bg-agg-secondary text-agg-foreground",
1925
+ "hover:bg-agg-secondary-hover",
1926
+ "disabled:bg-agg-secondary disabled:text-agg-muted-foreground disabled:border-agg-separator",
1927
+ "focus-visible:ring-agg-separator"
1928
+ ),
1929
+ tertiary: cn(
1930
+ "bg-transparent text-agg-primary",
1931
+ "hover:text-agg-primary-hover",
1932
+ "disabled:bg-transparent disabled:text-agg-muted-foreground",
1933
+ "focus-visible:ring-agg-separator",
1934
+ "px-0! py-0! h-fit!"
1935
+ )
1936
+ };
1937
+ var baseButtonClasses = cn(
1938
+ "cursor-pointer disabled:cursor-not-allowed",
1939
+ "inline-flex items-center justify-center rounded-agg-full font-agg-sans font-agg-bold text-center",
1940
+ "whitespace-nowrap",
1941
+ "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-offset-agg-secondary"
1942
+ );
1943
+
1944
+ // src/primitives/button/index.tsx
1945
+ var import_jsx_runtime53 = require("react/jsx-runtime");
1946
+ var Button = (_a) => {
1947
+ var _b = _a, {
1948
+ children,
1949
+ variant = "primary",
1950
+ size = "medium",
1951
+ isLoading = false,
1952
+ disabled,
1953
+ prefix,
1954
+ suffix,
1955
+ type = "button",
1956
+ className,
1957
+ "aria-label": ariaLabel
1958
+ } = _b, other = __objRest(_b, [
1959
+ "children",
1960
+ "variant",
1961
+ "size",
1962
+ "isLoading",
1963
+ "disabled",
1964
+ "prefix",
1965
+ "suffix",
1966
+ "type",
1967
+ "className",
1968
+ "aria-label"
1969
+ ]);
1970
+ const { enableAnimations } = (0, import_hooks9.useSdkUiConfig)();
1971
+ const isDisabled = disabled || isLoading;
1972
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
1973
+ "button",
1974
+ __spreadProps(__spreadValues({
1975
+ type,
1976
+ className: cn(
1977
+ "group/agg-button",
1978
+ baseButtonClasses,
1979
+ getMotionClassName(enableAnimations, "transition-colors duration-200 ease-in-out"),
1980
+ sizeClasses[size],
1981
+ iconSlotClasses[size],
1982
+ variantClasses[variant],
1983
+ className
1984
+ ),
1985
+ disabled: isDisabled,
1986
+ "aria-busy": isLoading,
1987
+ "aria-label": ariaLabel
1988
+ }, other), {
1989
+ children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
1990
+ "span",
1991
+ {
1992
+ className: cn(
1993
+ "inline-block rounded-agg-full border-2 border-current border-r-transparent",
1994
+ getMotionClassName(enableAnimations, "animate-spin"),
1995
+ iconSizeClasses2[size]
1996
+ ),
1997
+ "aria-hidden": "true"
1998
+ }
1999
+ ) : /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_jsx_runtime53.Fragment, { children: [
2000
+ prefix != null ? prefix : null,
2001
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("span", { children }),
2002
+ suffix != null ? suffix : null
2003
+ ] })
2004
+ })
2005
+ );
2006
+ };
2007
+ Button.displayName = "Button";
2008
+
2009
+ // src/primitives/search/search-empty-icon.tsx
2010
+ var import_jsx_runtime54 = require("react/jsx-runtime");
2011
+ var SearchEmptyIcon = (_a) => {
2012
+ var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
2013
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
2014
+ "svg",
2015
+ __spreadProps(__spreadValues(__spreadValues({
2016
+ viewBox: "0 0 40 40",
2017
+ fill: "none",
2018
+ xmlns: "http://www.w3.org/2000/svg",
2019
+ className
2020
+ }, getIconA11yProps(title)), props), {
2021
+ children: [
2022
+ title ? /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("title", { children: title }) : null,
2023
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("circle", { cx: "19.9987", cy: "20.0013", r: "9.2", stroke: "currentColor", strokeWidth: "1.6" }),
2024
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
2025
+ "ellipse",
2026
+ {
2027
+ cx: "19.9987",
2028
+ cy: "20.0012",
2029
+ rx: "17.2",
2030
+ ry: "6.6",
2031
+ transform: "rotate(-35 19.9987 20.0012)",
2032
+ stroke: "currentColor",
2033
+ strokeWidth: "1.6"
2034
+ }
2035
+ )
2036
+ ]
2037
+ })
2038
+ );
2039
+ };
2040
+ SearchEmptyIcon.displayName = "SearchEmptyIcon";
2041
+
1897
2042
  // src/primitives/typography/typography.constants.ts
1898
2043
  var typographyVariantClasses = {
1899
2044
  display: cn("agg-type-display"),
@@ -1914,14 +2059,14 @@ var typographyVariantClasses = {
1914
2059
  };
1915
2060
 
1916
2061
  // src/primitives/typography/index.tsx
1917
- var import_jsx_runtime53 = require("react/jsx-runtime");
2062
+ var import_jsx_runtime55 = require("react/jsx-runtime");
1918
2063
  var Typography = ({
1919
2064
  as: Component = "p",
1920
2065
  variant = "body",
1921
2066
  className,
1922
2067
  children
1923
2068
  }) => {
1924
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
2069
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
1925
2070
  Component,
1926
2071
  {
1927
2072
  className: cn(
@@ -1936,8 +2081,54 @@ var Typography = ({
1936
2081
  };
1937
2082
  Typography.displayName = "Typography";
1938
2083
 
2084
+ // src/primitives/state-message/index.tsx
2085
+ var import_jsx_runtime56 = require("react/jsx-runtime");
2086
+ var iconClassName = "h-9 w-9 text-agg-muted-foreground";
2087
+ var StateMessage = ({
2088
+ ariaLabel,
2089
+ tone = "empty",
2090
+ title,
2091
+ description,
2092
+ actionLabel,
2093
+ onAction,
2094
+ className
2095
+ }) => {
2096
+ const icon = tone === "warning" ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(WarningIcon, { className: iconClassName, "aria-hidden": true }) : /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(SearchEmptyIcon, { className: iconClassName, "aria-hidden": true });
2097
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
2098
+ "div",
2099
+ {
2100
+ className: cn(
2101
+ "flex min-h-[240px] w-full flex-col items-center justify-center px-5 py-10 text-center md:px-10",
2102
+ className
2103
+ ),
2104
+ role: "status",
2105
+ "aria-live": "polite",
2106
+ "aria-label": ariaLabel,
2107
+ children: /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: "flex max-w-[360px] flex-col items-center gap-6", children: [
2108
+ icon,
2109
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: "flex flex-col items-center gap-2", children: [
2110
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Typography, { variant: "body-large-strong", children: title }),
2111
+ description ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Typography, { variant: "body", className: "whitespace-pre-line text-agg-muted-foreground", children: description }) : null
2112
+ ] }),
2113
+ actionLabel && onAction ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
2114
+ Button,
2115
+ {
2116
+ variant: "tertiary",
2117
+ size: "large",
2118
+ className: "text-agg-base leading-agg-6",
2119
+ "aria-label": actionLabel,
2120
+ onClick: onAction,
2121
+ children: actionLabel
2122
+ }
2123
+ ) : null
2124
+ ] })
2125
+ }
2126
+ );
2127
+ };
2128
+ StateMessage.displayName = "StateMessage";
2129
+
1939
2130
  // src/primitives/venue-logo/index.tsx
1940
- var import_hooks9 = require("@agg-market/hooks");
2131
+ var import_hooks10 = require("@agg-market/hooks");
1941
2132
 
1942
2133
  // src/primitives/venue-logo/logo-props.ts
1943
2134
  var DEFAULT_MONOCHROME_COLOR = "currentColor";
@@ -1954,7 +2145,7 @@ var resolveLogoPrimaryColor = ({
1954
2145
  };
1955
2146
 
1956
2147
  // src/primitives/venue-logo/svg/logo-kalshi.tsx
1957
- var import_jsx_runtime54 = require("react/jsx-runtime");
2148
+ var import_jsx_runtime57 = require("react/jsx-runtime");
1958
2149
  var KALSHI_GREEN = "#18C590";
1959
2150
  var LogoKalshiIcon = (_a) => {
1960
2151
  var _b = _a, {
@@ -1973,7 +2164,7 @@ var LogoKalshiIcon = (_a) => {
1973
2164
  isColor,
1974
2165
  color
1975
2166
  });
1976
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
2167
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(
1977
2168
  "svg",
1978
2169
  __spreadProps(__spreadValues(__spreadValues({
1979
2170
  viewBox: "0 0 100 100",
@@ -1981,8 +2172,8 @@ var LogoKalshiIcon = (_a) => {
1981
2172
  fill: "none"
1982
2173
  }, getIconA11yProps(title)), props), {
1983
2174
  children: [
1984
- title ? /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("title", { children: title }) : null,
1985
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
2175
+ title ? /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("title", { children: title }) : null,
2176
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
1986
2177
  "path",
1987
2178
  {
1988
2179
  d: "M54.9798 47.579L79.4249 85.9995H58.2273L38.2531 52.9344V85.9995H20.4189V13.9995H38.2531V45.4356L59.6547 13.9995H78.7119L54.9798 47.579Z",
@@ -1996,7 +2187,7 @@ var LogoKalshiIcon = (_a) => {
1996
2187
  LogoKalshiIcon.displayName = "LogoKalshiIcon";
1997
2188
 
1998
2189
  // src/primitives/venue-logo/svg/logo-opinion.tsx
1999
- var import_jsx_runtime55 = require("react/jsx-runtime");
2190
+ var import_jsx_runtime58 = require("react/jsx-runtime");
2000
2191
  var OPINION_BLACK = "#000000";
2001
2192
  var LogoOpinionIcon = (_a) => {
2002
2193
  var _b = _a, {
@@ -2015,7 +2206,7 @@ var LogoOpinionIcon = (_a) => {
2015
2206
  isColor,
2016
2207
  color
2017
2208
  });
2018
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
2209
+ return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
2019
2210
  "svg",
2020
2211
  __spreadProps(__spreadValues(__spreadValues({
2021
2212
  viewBox: "0 0 100 100",
@@ -2023,8 +2214,8 @@ var LogoOpinionIcon = (_a) => {
2023
2214
  fill: "none"
2024
2215
  }, getIconA11yProps(title)), props), {
2025
2216
  children: [
2026
- title ? /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("title", { children: title }) : null,
2027
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
2217
+ title ? /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("title", { children: title }) : null,
2218
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
2028
2219
  "path",
2029
2220
  {
2030
2221
  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",
@@ -2038,7 +2229,7 @@ var LogoOpinionIcon = (_a) => {
2038
2229
  LogoOpinionIcon.displayName = "LogoOpinionIcon";
2039
2230
 
2040
2231
  // src/primitives/venue-logo/svg/logo-polymarket.tsx
2041
- var import_jsx_runtime56 = require("react/jsx-runtime");
2232
+ var import_jsx_runtime59 = require("react/jsx-runtime");
2042
2233
  var POLYMARKET_BLUE = "#2E5CFF";
2043
2234
  var LogoPolymarketIcon = (_a) => {
2044
2235
  var _b = _a, {
@@ -2057,7 +2248,7 @@ var LogoPolymarketIcon = (_a) => {
2057
2248
  isColor,
2058
2249
  color
2059
2250
  });
2060
- return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
2251
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(
2061
2252
  "svg",
2062
2253
  __spreadProps(__spreadValues(__spreadValues({
2063
2254
  viewBox: "0 0 100 100",
@@ -2065,8 +2256,8 @@ var LogoPolymarketIcon = (_a) => {
2065
2256
  fill: "none"
2066
2257
  }, getIconA11yProps(title)), props), {
2067
2258
  children: [
2068
- title ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("title", { children: title }) : null,
2069
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
2259
+ title ? /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("title", { children: title }) : null,
2260
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
2070
2261
  "path",
2071
2262
  {
2072
2263
  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",
@@ -2080,7 +2271,7 @@ var LogoPolymarketIcon = (_a) => {
2080
2271
  LogoPolymarketIcon.displayName = "LogoPolymarketIcon";
2081
2272
 
2082
2273
  // src/primitives/venue-logo/svg/logo-probable.tsx
2083
- var import_jsx_runtime57 = require("react/jsx-runtime");
2274
+ var import_jsx_runtime60 = require("react/jsx-runtime");
2084
2275
  var PROBABLE_ORANGE = "#F05923";
2085
2276
  var LogoProbableIcon = (_a) => {
2086
2277
  var _b = _a, {
@@ -2099,7 +2290,7 @@ var LogoProbableIcon = (_a) => {
2099
2290
  isColor,
2100
2291
  color
2101
2292
  });
2102
- return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(
2293
+ return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(
2103
2294
  "svg",
2104
2295
  __spreadProps(__spreadValues(__spreadValues({
2105
2296
  viewBox: "0 0 100 100",
@@ -2107,16 +2298,16 @@ var LogoProbableIcon = (_a) => {
2107
2298
  fill: "none"
2108
2299
  }, getIconA11yProps(title)), props), {
2109
2300
  children: [
2110
- title ? /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("title", { children: title }) : null,
2111
- /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
2301
+ title ? /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("title", { children: title }) : null,
2302
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
2112
2303
  "path",
2113
2304
  {
2114
2305
  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",
2115
2306
  fill: primaryColor
2116
2307
  }
2117
2308
  ),
2118
- /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("path", { d: "M90.9329 15.4546V30.4546H8.90234V15.4546H90.9329Z", fill: primaryColor }),
2119
- /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
2309
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("path", { d: "M90.9329 15.4546V30.4546H8.90234V15.4546H90.9329Z", fill: primaryColor }),
2310
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
2120
2311
  "path",
2121
2312
  {
2122
2313
  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",
@@ -2144,14 +2335,14 @@ var venueLogoUrlRegistry = {
2144
2335
  probable: `${VENUE_LOGO_BASE_URL}/probable.png`
2145
2336
  };
2146
2337
  var venueLogoNames = Object.keys(venueLogoRegistry);
2147
- var sizeClasses = {
2338
+ var sizeClasses2 = {
2148
2339
  small: "h-4 w-4",
2149
2340
  medium: "h-6 w-6",
2150
2341
  large: "h-8 w-8"
2151
2342
  };
2152
2343
 
2153
2344
  // src/primitives/venue-logo/index.tsx
2154
- var import_jsx_runtime58 = require("react/jsx-runtime");
2345
+ var import_jsx_runtime61 = require("react/jsx-runtime");
2155
2346
  var VenueLogo = ({
2156
2347
  venue,
2157
2348
  variant = "icon",
@@ -2163,11 +2354,11 @@ var VenueLogo = ({
2163
2354
  ariaLabel,
2164
2355
  title
2165
2356
  }) => {
2166
- const labels = (0, import_hooks9.useLabels)();
2167
- const sizeClass = sizeClasses[size];
2357
+ const labels = (0, import_hooks10.useLabels)();
2358
+ const sizeClass = sizeClasses2[size];
2168
2359
  const resolvedLabel = ariaLabel != null ? ariaLabel : labels.venues[venue];
2169
2360
  if (variant === "logo") {
2170
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
2361
+ return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
2171
2362
  "img",
2172
2363
  {
2173
2364
  src: venueLogoUrlRegistry[venue],
@@ -2179,7 +2370,7 @@ var VenueLogo = ({
2179
2370
  }
2180
2371
  const Component = venueLogoRegistry[venue];
2181
2372
  const resolvedIsColor = isMonochromatic ? false : isColor;
2182
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
2373
+ return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
2183
2374
  Component,
2184
2375
  {
2185
2376
  className: cn("group/agg-venue-logo", "shrink-0", sizeClass, className),
@@ -2192,6 +2383,17 @@ var VenueLogo = ({
2192
2383
  };
2193
2384
  VenueLogo.displayName = "VenueLogo";
2194
2385
 
2386
+ // src/shared/query-error.ts
2387
+ var getErrorStatus = (error) => {
2388
+ if (!error || typeof error !== "object")
2389
+ return null;
2390
+ const status = error.status;
2391
+ return typeof status === "number" ? status : null;
2392
+ };
2393
+ var isErrorWithStatus = (error, status) => {
2394
+ return getErrorStatus(error) === status;
2395
+ };
2396
+
2195
2397
  // src/events/item/event-list-item.utils.ts
2196
2398
  var resolveEventListItemEvent = (fetchedEvent) => {
2197
2399
  if (!fetchedEvent)
@@ -2332,13 +2534,13 @@ var resolveVenueLabel = (venue, venueInfo, labels) => {
2332
2534
  };
2333
2535
 
2334
2536
  // src/events/item/index.tsx
2335
- var import_jsx_runtime59 = require("react/jsx-runtime");
2537
+ var import_jsx_runtime62 = require("react/jsx-runtime");
2336
2538
  var EventListItemLoadingState = ({
2337
2539
  classNames,
2338
2540
  ariaLabel
2339
2541
  }) => {
2340
- const labels = (0, import_hooks10.useLabels)();
2341
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
2542
+ const labels = (0, import_hooks11.useLabels)();
2543
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
2342
2544
  Skeleton,
2343
2545
  {
2344
2546
  view: "event-list-item",
@@ -2351,20 +2553,35 @@ var EventListItemUnavailableState = ({
2351
2553
  classNames,
2352
2554
  ariaLabel
2353
2555
  }) => {
2354
- const labels = (0, import_hooks10.useLabels)();
2355
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
2556
+ const labels = (0, import_hooks11.useLabels)();
2557
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
2356
2558
  Card,
2357
2559
  {
2358
2560
  className: cn(baseCardClassName, classNames == null ? void 0 : classNames.root),
2359
2561
  role: "status",
2360
2562
  "aria-label": ariaLabel != null ? ariaLabel : labels.eventItem.unavailableAria,
2361
- children: /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: cn("flex flex-col gap-1", classNames == null ? void 0 : classNames.header), children: [
2362
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Typography, { variant: "body-large-strong", className: cn("truncate", classNames == null ? void 0 : classNames.title), children: labels.eventItem.unavailableTitle }),
2363
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Typography, { variant: "body", className: "text-agg-muted-foreground", children: labels.eventItem.unavailableDescription })
2563
+ children: /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { className: cn("flex flex-col gap-1", classNames == null ? void 0 : classNames.header), children: [
2564
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Typography, { variant: "body-large-strong", className: cn("truncate", classNames == null ? void 0 : classNames.title), children: labels.eventItem.unavailableTitle }),
2565
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Typography, { variant: "body", className: "text-agg-muted-foreground", children: labels.eventItem.unavailableDescription })
2364
2566
  ] })
2365
2567
  }
2366
2568
  );
2367
2569
  };
2570
+ var EventListItemNotFoundState = ({
2571
+ classNames,
2572
+ ariaLabel
2573
+ }) => {
2574
+ const labels = (0, import_hooks11.useLabels)();
2575
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Card, { className: cn("w-full gap-0 overflow-hidden p-0", classNames == null ? void 0 : classNames.root), children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
2576
+ StateMessage,
2577
+ {
2578
+ ariaLabel: ariaLabel != null ? ariaLabel : labels.eventItemDetails.notFoundAria,
2579
+ title: labels.eventItemDetails.notFoundTitle,
2580
+ description: labels.eventItemDetails.notFoundDescription,
2581
+ className: "min-h-[280px] md:min-h-[320px]"
2582
+ }
2583
+ ) });
2584
+ };
2368
2585
  var EventListItemContent = ({
2369
2586
  event,
2370
2587
  title,
@@ -2378,8 +2595,8 @@ var EventListItemContent = ({
2378
2595
  ariaLabel
2379
2596
  }) => {
2380
2597
  var _a;
2381
- const config = (0, import_hooks10.useSdkUiConfig)();
2382
- const labels = (0, import_hooks10.useLabels)();
2598
+ const config = (0, import_hooks11.useSdkUiConfig)();
2599
+ const labels = (0, import_hooks11.useLabels)();
2383
2600
  const allVenueMarkets = (0, import_react.useMemo)(() => {
2384
2601
  return event.markets.flatMap((market) => market.venueMarkets);
2385
2602
  }, [event.markets]);
@@ -2413,9 +2630,9 @@ var EventListItemContent = ({
2413
2630
  return null;
2414
2631
  if (Math.abs(value) < config.arbitrageThreshold)
2415
2632
  return null;
2416
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: cn("flex items-center gap-1", "text-agg-success"), children: [
2417
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Typography, { variant: "label-strong", className: "text-agg-success", children: config.formatPercent(value) }),
2418
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
2633
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { className: cn("flex items-center gap-1", "text-agg-success"), children: [
2634
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Typography, { variant: "label-strong", className: "text-agg-success", children: config.formatPercent(value) }),
2635
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
2419
2636
  Icon,
2420
2637
  {
2421
2638
  name: "triangle-up",
@@ -2426,7 +2643,7 @@ var EventListItemContent = ({
2426
2643
  )
2427
2644
  ] });
2428
2645
  };
2429
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(
2646
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(
2430
2647
  Card,
2431
2648
  {
2432
2649
  className: cn(baseCardClassName, onClick && "cursor-pointer", classNames == null ? void 0 : classNames.root),
@@ -2436,8 +2653,8 @@ var EventListItemContent = ({
2436
2653
  onKeyDown: handleKeyDown,
2437
2654
  "aria-label": ariaLabel != null ? ariaLabel : resolvedTitle,
2438
2655
  children: [
2439
- /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: cn("flex items-center gap-3", classNames == null ? void 0 : classNames.header), children: [
2440
- resolvedImage ? /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
2656
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { className: cn("flex items-center gap-3", classNames == null ? void 0 : classNames.header), children: [
2657
+ resolvedImage ? /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
2441
2658
  "img",
2442
2659
  {
2443
2660
  src: resolvedImage,
@@ -2445,7 +2662,7 @@ var EventListItemContent = ({
2445
2662
  className: cn("h-10 w-10", "rounded-agg-lg object-cover")
2446
2663
  }
2447
2664
  ) : null,
2448
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
2665
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
2449
2666
  Typography,
2450
2667
  {
2451
2668
  variant: "body-strong",
@@ -2458,13 +2675,13 @@ var EventListItemContent = ({
2458
2675
  }
2459
2676
  )
2460
2677
  ] }),
2461
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: cn("flex flex-col gap-3", classNames == null ? void 0 : classNames.outcomes), children: visibleOutcomes.map((visibleOutcome) => {
2678
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("div", { className: cn("flex flex-col gap-3", classNames == null ? void 0 : classNames.outcomes), children: visibleOutcomes.map((visibleOutcome) => {
2462
2679
  const probability = normalizeProbability(visibleOutcome.outcome.price);
2463
2680
  const showBadge = typeof probability === "number";
2464
2681
  const arbitragePercent = arbitrageByOutcomeId == null ? void 0 : arbitrageByOutcomeId[visibleOutcome.outcome.id];
2465
2682
  const outcomeTitle = resolveOutcomeTitle(visibleOutcome.outcome);
2466
2683
  const formattedTitle = (0, import_dayjs.default)(outcomeTitle).isValid() ? (0, import_dayjs.default)(outcomeTitle).format("MMMM D, YYYY") : outcomeTitle;
2467
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(
2684
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(
2468
2685
  "div",
2469
2686
  {
2470
2687
  className: cn(
@@ -2472,7 +2689,7 @@ var EventListItemContent = ({
2472
2689
  classNames == null ? void 0 : classNames.outcomeRow
2473
2690
  ),
2474
2691
  children: [
2475
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
2692
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
2476
2693
  Typography,
2477
2694
  {
2478
2695
  variant: "body",
@@ -2480,13 +2697,13 @@ var EventListItemContent = ({
2480
2697
  children: formattedTitle
2481
2698
  }
2482
2699
  ),
2483
- /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: "flex flex-row gap-3 items-center justify-end", children: [
2700
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { className: "flex flex-row gap-3 items-center justify-end", children: [
2484
2701
  renderArbitrage(arbitragePercent),
2485
- showBadge ? /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
2702
+ showBadge ? /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
2486
2703
  Badge,
2487
2704
  {
2488
2705
  text: config.formatPercent(probability),
2489
- prefix: showVenueLogo ? /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(VenueLogo, { venue: visibleOutcome.venue, size: "small" }) : void 0,
2706
+ prefix: showVenueLogo ? /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(VenueLogo, { venue: visibleOutcome.venue, size: "small" }) : void 0,
2490
2707
  size: "large",
2491
2708
  classNames: {
2492
2709
  root: cn(
@@ -2502,7 +2719,7 @@ var EventListItemContent = ({
2502
2719
  `${visibleOutcome.market.id}-${visibleOutcome.outcome.id}`
2503
2720
  );
2504
2721
  }) }),
2505
- /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(
2722
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(
2506
2723
  "div",
2507
2724
  {
2508
2725
  className: cn(
@@ -2511,15 +2728,15 @@ var EventListItemContent = ({
2511
2728
  classNames == null ? void 0 : classNames.footer
2512
2729
  ),
2513
2730
  children: [
2514
- /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: cn("flex items-center gap-1", "text-agg-sm leading-agg-5"), children: [
2515
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("span", { className: "truncate text-agg-muted-foreground", children: formatCountLabel(
2731
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { className: cn("flex items-center gap-1", "text-agg-sm leading-agg-5"), children: [
2732
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("span", { className: "truncate text-agg-muted-foreground", children: formatCountLabel(
2516
2733
  marketCount,
2517
2734
  labels.eventItem.marketSingular,
2518
2735
  labels.eventItem.marketPlural
2519
2736
  ) }),
2520
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("span", { className: "text-agg-muted-foreground", children: "\xD7" }),
2521
- singleVenue ? /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("span", { className: "flex items-center gap-1 truncate text-agg-muted-foreground", children: [
2522
- showVenueLogo ? /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
2737
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("span", { className: "text-agg-muted-foreground", children: "\xD7" }),
2738
+ singleVenue ? /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("span", { className: "flex items-center gap-1 truncate text-agg-muted-foreground", children: [
2739
+ showVenueLogo ? /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
2523
2740
  VenueLogo,
2524
2741
  {
2525
2742
  venue: singleVenue,
@@ -2528,13 +2745,13 @@ var EventListItemContent = ({
2528
2745
  className: "text-agg-muted-foreground!"
2529
2746
  }
2530
2747
  ) : null,
2531
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("span", { children: venueLabel })
2532
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("span", { className: "truncate text-agg-muted-foreground", children: formatCountLabel(
2748
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("span", { children: venueLabel })
2749
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("span", { className: "truncate text-agg-muted-foreground", children: formatCountLabel(
2533
2750
  venueCount,
2534
2751
  labels.eventItem.venueSingular,
2535
2752
  labels.eventItem.venuePlural
2536
2753
  ) }),
2537
- showVenueLogo && !singleVenue && visibleVenueLogos.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("span", { className: "flex items-center gap-1 overflow-hidden", children: visibleVenueLogos.map((venue) => /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
2754
+ showVenueLogo && !singleVenue && visibleVenueLogos.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("span", { className: "flex items-center gap-1 overflow-hidden", children: visibleVenueLogos.map((venue) => /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
2538
2755
  VenueLogo,
2539
2756
  {
2540
2757
  venue,
@@ -2545,7 +2762,7 @@ var EventListItemContent = ({
2545
2762
  venue
2546
2763
  )) }) : null
2547
2764
  ] }),
2548
- volumeLabel ? /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Typography, { variant: "label", className: "text-agg-sm text-agg-muted-foreground", children: volumeLabel }) : null
2765
+ volumeLabel ? /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Typography, { variant: "label", className: "text-agg-sm text-agg-muted-foreground", children: volumeLabel }) : null
2549
2766
  ]
2550
2767
  }
2551
2768
  )
@@ -2561,37 +2778,41 @@ var EventListItemByEventId = (_a) => {
2561
2778
  ]);
2562
2779
  const {
2563
2780
  event: fetchedEvent,
2781
+ error,
2564
2782
  isError,
2565
2783
  isLoading
2566
- } = (0, import_hooks10.useEvent)(eventId, {
2784
+ } = (0, import_hooks11.useEvent)(eventId, {
2567
2785
  enabled: !!eventId
2568
2786
  });
2569
2787
  const resolvedEvent = (0, import_react.useMemo)(() => {
2570
2788
  return resolveEventListItemEvent(fetchedEvent);
2571
2789
  }, [fetchedEvent]);
2572
2790
  if (!eventId) {
2573
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(EventListItemUnavailableState, { classNames: rest.classNames, ariaLabel: rest.ariaLabel });
2791
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(EventListItemUnavailableState, { classNames: rest.classNames, ariaLabel: rest.ariaLabel });
2574
2792
  }
2575
2793
  if (isLoading) {
2576
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(EventListItemLoadingState, { classNames: rest.classNames, ariaLabel: rest.ariaLabel });
2794
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(EventListItemLoadingState, { classNames: rest.classNames, ariaLabel: rest.ariaLabel });
2795
+ }
2796
+ if (isErrorWithStatus(error, 404)) {
2797
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(EventListItemNotFoundState, { classNames: rest.classNames, ariaLabel: rest.ariaLabel });
2577
2798
  }
2578
- if (!resolvedEvent && !isError) {
2579
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(EventListItemLoadingState, { classNames: rest.classNames, ariaLabel: rest.ariaLabel });
2799
+ if (!fetchedEvent && !isError) {
2800
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(EventListItemLoadingState, { classNames: rest.classNames, ariaLabel: rest.ariaLabel });
2580
2801
  }
2581
2802
  if (!resolvedEvent) {
2582
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(EventListItemUnavailableState, { classNames: rest.classNames, ariaLabel: rest.ariaLabel });
2803
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(EventListItemUnavailableState, { classNames: rest.classNames, ariaLabel: rest.ariaLabel });
2583
2804
  }
2584
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(EventListItemContent, __spreadValues({ event: resolvedEvent }, rest));
2805
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(EventListItemContent, __spreadValues({ event: resolvedEvent }, rest));
2585
2806
  };
2586
2807
  var EventListItem = (props) => {
2587
2808
  if (props.isLoading) {
2588
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(EventListItemLoadingState, { classNames: props.classNames, ariaLabel: props.ariaLabel });
2809
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(EventListItemLoadingState, { classNames: props.classNames, ariaLabel: props.ariaLabel });
2589
2810
  }
2590
2811
  if ("event" in props && props.event) {
2591
2812
  const _a = props, { event } = _a, rest = __objRest(_a, ["event"]);
2592
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(EventListItemContent, __spreadValues({ event }, rest));
2813
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(EventListItemContent, __spreadValues({ event }, rest));
2593
2814
  }
2594
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(EventListItemByEventId, __spreadValues({}, props));
2815
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(EventListItemByEventId, __spreadValues({}, props));
2595
2816
  };
2596
2817
  EventListItem.displayName = "EventListItem";
2597
2818
  // Annotate the CommonJS export names for ESM import in node: