@agg-market/ui 0.0.1

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 (192) hide show
  1. package/dist/badge.d.mts +26 -0
  2. package/dist/badge.d.ts +26 -0
  3. package/dist/badge.js +70 -0
  4. package/dist/badge.mjs +9 -0
  5. package/dist/button.d.mts +20 -0
  6. package/dist/button.d.ts +20 -0
  7. package/dist/button.js +197 -0
  8. package/dist/button.mjs +8 -0
  9. package/dist/card.d.mts +8 -0
  10. package/dist/card.d.ts +8 -0
  11. package/dist/card.js +84 -0
  12. package/dist/card.mjs +7 -0
  13. package/dist/chart.d.mts +40 -0
  14. package/dist/chart.d.ts +40 -0
  15. package/dist/chart.js +418 -0
  16. package/dist/chart.mjs +8 -0
  17. package/dist/chunk-2PGUPOXY.mjs +285 -0
  18. package/dist/chunk-3DV3D2LH.mjs +155 -0
  19. package/dist/chunk-44UEI6KD.mjs +280 -0
  20. package/dist/chunk-4ADCXJE6.mjs +297 -0
  21. package/dist/chunk-4GSXVVSA.mjs +64 -0
  22. package/dist/chunk-4NK2FNAG.mjs +581 -0
  23. package/dist/chunk-4XWCYUV3.mjs +355 -0
  24. package/dist/chunk-5MN6ZNFA.mjs +355 -0
  25. package/dist/chunk-6RRBINER.mjs +50 -0
  26. package/dist/chunk-765JPQDG.mjs +280 -0
  27. package/dist/chunk-7CD7GIZC.mjs +850 -0
  28. package/dist/chunk-7XRKA6XF.mjs +462 -0
  29. package/dist/chunk-AOFP74IB.mjs +850 -0
  30. package/dist/chunk-BNDFQPHF.mjs +9 -0
  31. package/dist/chunk-C4OI72SM.mjs +14 -0
  32. package/dist/chunk-CB2MLGCJ.mjs +279 -0
  33. package/dist/chunk-CKTAVEW2.mjs +212 -0
  34. package/dist/chunk-DA6KZWSK.mjs +807 -0
  35. package/dist/chunk-DBD5GHHD.mjs +147 -0
  36. package/dist/chunk-DQ6XFBYJ.mjs +37 -0
  37. package/dist/chunk-FACIYUNK.mjs +217 -0
  38. package/dist/chunk-FUJQIYOF.mjs +37 -0
  39. package/dist/chunk-FZTAHWOS.mjs +82 -0
  40. package/dist/chunk-GC3QIIH7.mjs +112 -0
  41. package/dist/chunk-GPBLZGJ2.mjs +136 -0
  42. package/dist/chunk-H4LELROL.mjs +262 -0
  43. package/dist/chunk-H7P6DIX4.mjs +262 -0
  44. package/dist/chunk-H7YEBGYY.mjs +42 -0
  45. package/dist/chunk-HJOBAMDU.mjs +142 -0
  46. package/dist/chunk-IJG5I642.mjs +462 -0
  47. package/dist/chunk-IY2AA3OL.mjs +50 -0
  48. package/dist/chunk-J6L5BLKX.mjs +136 -0
  49. package/dist/chunk-J7OETCZ7.mjs +147 -0
  50. package/dist/chunk-JLLMIPIX.mjs +42 -0
  51. package/dist/chunk-KBRLFTJT.mjs +741 -0
  52. package/dist/chunk-KDBYDMYV.mjs +64 -0
  53. package/dist/chunk-L6E6Q4C4.mjs +217 -0
  54. package/dist/chunk-LY6474C4.mjs +297 -0
  55. package/dist/chunk-M23S2DVV.mjs +581 -0
  56. package/dist/chunk-MG243DSX.mjs +44 -0
  57. package/dist/chunk-MRHSN2B7.mjs +279 -0
  58. package/dist/chunk-MXWRCVRJ.mjs +285 -0
  59. package/dist/chunk-NFYS557L.mjs +481 -0
  60. package/dist/chunk-NNSY462N.mjs +212 -0
  61. package/dist/chunk-OUOIDPGX.mjs +25 -0
  62. package/dist/chunk-P5PFQX75.mjs +31 -0
  63. package/dist/chunk-P674XRDY.mjs +481 -0
  64. package/dist/chunk-PAQ542ER.mjs +170 -0
  65. package/dist/chunk-QE46DVJG.mjs +323 -0
  66. package/dist/chunk-QXFDXXDB.mjs +792 -0
  67. package/dist/chunk-R3DRVI4J.mjs +741 -0
  68. package/dist/chunk-TTOR7JCT.mjs +155 -0
  69. package/dist/chunk-V5WIYMKS.mjs +25 -0
  70. package/dist/chunk-VAZE267Q.mjs +82 -0
  71. package/dist/chunk-VLIJ7PQK.mjs +792 -0
  72. package/dist/chunk-VYNVBJK6.mjs +44 -0
  73. package/dist/chunk-WIWJ6DIE.mjs +323 -0
  74. package/dist/chunk-XDAEEJYR.mjs +142 -0
  75. package/dist/chunk-YUIZZ6XE.mjs +31 -0
  76. package/dist/connect-button.d.mts +40 -0
  77. package/dist/connect-button.d.ts +40 -0
  78. package/dist/connect-button.js +1815 -0
  79. package/dist/connect-button.mjs +14 -0
  80. package/dist/event-list-item-details.d.mts +11 -0
  81. package/dist/event-list-item-details.d.ts +11 -0
  82. package/dist/event-list-item-details.js +2140 -0
  83. package/dist/event-list-item-details.mjs +19 -0
  84. package/dist/event-list-item-details.types-CMbXOrT-.d.ts +53 -0
  85. package/dist/event-list-item-details.types-CxWr4Qn1.d.ts +53 -0
  86. package/dist/event-list-item-details.types-DRi99PZq.d.mts +53 -0
  87. package/dist/event-list-item-details.types-DekJKeMD.d.mts +53 -0
  88. package/dist/event-list-item.d.mts +10 -0
  89. package/dist/event-list-item.d.ts +10 -0
  90. package/dist/event-list-item.js +2097 -0
  91. package/dist/event-list-item.mjs +17 -0
  92. package/dist/event-list-item.types-B1490EQm.d.mts +46 -0
  93. package/dist/event-list-item.types-B1490EQm.d.ts +46 -0
  94. package/dist/event-list-item.types-Y6IeJ4e4.d.mts +46 -0
  95. package/dist/event-list-item.types-Y6IeJ4e4.d.ts +46 -0
  96. package/dist/event-list.d.mts +9 -0
  97. package/dist/event-list.d.ts +9 -0
  98. package/dist/event-list.js +3151 -0
  99. package/dist/event-list.mjs +20 -0
  100. package/dist/event-list.types-Bpp6Vn-t.d.mts +13 -0
  101. package/dist/event-list.types-Bpp6Vn-t.d.ts +13 -0
  102. package/dist/event-list.types-CkAAUqwW.d.mts +13 -0
  103. package/dist/event-list.types-CkAAUqwW.d.ts +13 -0
  104. package/dist/event-market-page.d.mts +52 -0
  105. package/dist/event-market-page.d.ts +52 -0
  106. package/dist/event-market-page.js +5369 -0
  107. package/dist/event-market-page.mjs +29 -0
  108. package/dist/hello-world.d.mts +8 -0
  109. package/dist/hello-world.d.ts +8 -0
  110. package/dist/hello-world.js +80 -0
  111. package/dist/hello-world.mjs +8 -0
  112. package/dist/home-page.d.mts +51 -0
  113. package/dist/home-page.d.ts +51 -0
  114. package/dist/home-page.js +3415 -0
  115. package/dist/home-page.mjs +21 -0
  116. package/dist/icon.d.mts +123 -0
  117. package/dist/icon.d.ts +123 -0
  118. package/dist/icon.js +922 -0
  119. package/dist/icon.mjs +57 -0
  120. package/dist/index.d.mts +70 -0
  121. package/dist/index.d.ts +70 -0
  122. package/dist/index.js +8184 -0
  123. package/dist/index.mjs +307 -0
  124. package/dist/loading-icon.d.mts +14 -0
  125. package/dist/loading-icon.d.ts +14 -0
  126. package/dist/loading-icon.js +115 -0
  127. package/dist/loading-icon.mjs +8 -0
  128. package/dist/market-details.d.mts +73 -0
  129. package/dist/market-details.d.ts +73 -0
  130. package/dist/market-details.js +3923 -0
  131. package/dist/market-details.mjs +22 -0
  132. package/dist/modal.d.mts +66 -0
  133. package/dist/modal.d.ts +66 -0
  134. package/dist/modal.js +317 -0
  135. package/dist/modal.mjs +9 -0
  136. package/dist/number-value.d.mts +14 -0
  137. package/dist/number-value.d.ts +14 -0
  138. package/dist/number-value.js +67 -0
  139. package/dist/number-value.mjs +7 -0
  140. package/dist/onboarding-modal.d.mts +88 -0
  141. package/dist/onboarding-modal.d.ts +88 -0
  142. package/dist/onboarding-modal.js +2242 -0
  143. package/dist/onboarding-modal.mjs +24 -0
  144. package/dist/place-order.d.mts +20 -0
  145. package/dist/place-order.d.ts +20 -0
  146. package/dist/place-order.js +2916 -0
  147. package/dist/place-order.mjs +18 -0
  148. package/dist/registry-CVn79H3I.d.mts +106 -0
  149. package/dist/registry-CVn79H3I.d.ts +106 -0
  150. package/dist/search.d.mts +69 -0
  151. package/dist/search.d.ts +69 -0
  152. package/dist/search.js +1465 -0
  153. package/dist/search.mjs +12 -0
  154. package/dist/select.d.mts +19 -0
  155. package/dist/select.d.ts +19 -0
  156. package/dist/select.js +920 -0
  157. package/dist/select.mjs +11 -0
  158. package/dist/settlement.d.mts +16 -0
  159. package/dist/settlement.d.ts +16 -0
  160. package/dist/settlement.js +1769 -0
  161. package/dist/settlement.mjs +15 -0
  162. package/dist/skeleton.d.mts +22 -0
  163. package/dist/skeleton.d.ts +22 -0
  164. package/dist/skeleton.js +523 -0
  165. package/dist/skeleton.mjs +10 -0
  166. package/dist/styles.css +2 -0
  167. package/dist/switch-button.d.mts +21 -0
  168. package/dist/switch-button.d.ts +21 -0
  169. package/dist/switch-button.js +184 -0
  170. package/dist/switch-button.mjs +7 -0
  171. package/dist/tabs.d.mts +27 -0
  172. package/dist/tabs.d.ts +27 -0
  173. package/dist/tabs.js +1708 -0
  174. package/dist/tabs.mjs +12 -0
  175. package/dist/tailwind.css +2 -0
  176. package/dist/types-8VUuQVZq.d.mts +387 -0
  177. package/dist/types-8VUuQVZq.d.ts +387 -0
  178. package/dist/types-CayJ8tWA.d.mts +3 -0
  179. package/dist/types-CayJ8tWA.d.ts +3 -0
  180. package/dist/typography.d.mts +16 -0
  181. package/dist/typography.d.ts +16 -0
  182. package/dist/typography.js +62 -0
  183. package/dist/typography.mjs +7 -0
  184. package/dist/venue-logo.d.mts +12 -0
  185. package/dist/venue-logo.d.ts +12 -0
  186. package/dist/venue-logo.js +350 -0
  187. package/dist/venue-logo.mjs +10 -0
  188. package/dist/venue-logo.types-4hmCg3D3.d.ts +17 -0
  189. package/dist/venue-logo.types-B1iPJgiD.d.mts +17 -0
  190. package/dist/venue-logo.types-Bg8eXtGp.d.ts +17 -0
  191. package/dist/venue-logo.types-QNDwiQ77.d.mts +17 -0
  192. package/package.json +195 -0
package/dist/search.js ADDED
@@ -0,0 +1,1465 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __defProps = Object.defineProperties;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
6
+ var __getOwnPropNames = Object.getOwnPropertyNames;
7
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
8
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
9
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
10
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
11
+ var __spreadValues = (a, b) => {
12
+ for (var prop in b || (b = {}))
13
+ if (__hasOwnProp.call(b, prop))
14
+ __defNormalProp(a, prop, b[prop]);
15
+ if (__getOwnPropSymbols)
16
+ for (var prop of __getOwnPropSymbols(b)) {
17
+ if (__propIsEnum.call(b, prop))
18
+ __defNormalProp(a, prop, b[prop]);
19
+ }
20
+ return a;
21
+ };
22
+ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
23
+ var __objRest = (source, exclude) => {
24
+ var target = {};
25
+ for (var prop in source)
26
+ if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
27
+ target[prop] = source[prop];
28
+ if (source != null && __getOwnPropSymbols)
29
+ for (var prop of __getOwnPropSymbols(source)) {
30
+ if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
31
+ target[prop] = source[prop];
32
+ }
33
+ return target;
34
+ };
35
+ var __export = (target, all) => {
36
+ for (var name in all)
37
+ __defProp(target, name, { get: all[name], enumerable: true });
38
+ };
39
+ var __copyProps = (to, from, except, desc) => {
40
+ if (from && typeof from === "object" || typeof from === "function") {
41
+ for (let key of __getOwnPropNames(from))
42
+ if (!__hasOwnProp.call(to, key) && key !== except)
43
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
44
+ }
45
+ return to;
46
+ };
47
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
48
+
49
+ // src/primitives/search/index.tsx
50
+ var search_exports = {};
51
+ __export(search_exports, {
52
+ Search: () => Search
53
+ });
54
+ module.exports = __toCommonJS(search_exports);
55
+ var import_react = require("react");
56
+ var import_hooks2 = require("@agg-market/hooks");
57
+
58
+ // src/shared/utils.ts
59
+ var cn = (...values) => values.filter(Boolean).join(" ");
60
+ var getMotionClassName = (enabled, ...values) => {
61
+ if (!enabled)
62
+ return void 0;
63
+ return cn(...values);
64
+ };
65
+
66
+ // src/primitives/icon/types.ts
67
+ var getIconA11yProps = (title) => ({
68
+ role: title ? "img" : "presentation",
69
+ "aria-hidden": title ? void 0 : true
70
+ });
71
+
72
+ // src/primitives/icon/svg/arrow-trend-up.tsx
73
+ var import_jsx_runtime = require("react/jsx-runtime");
74
+ var ArrowTrendUpIcon = (_a) => {
75
+ var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
76
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
77
+ "svg",
78
+ __spreadProps(__spreadValues(__spreadValues({
79
+ viewBox: "0 0 16 16",
80
+ className,
81
+ fill: "none"
82
+ }, getIconA11yProps(title)), props), {
83
+ children: [
84
+ title ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("title", { children: title }) : null,
85
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
86
+ "path",
87
+ {
88
+ d: "M2 11.5L6.5 7L9.5 10L14 5.5",
89
+ stroke: "currentColor",
90
+ strokeWidth: "1.5",
91
+ strokeLinecap: "round",
92
+ strokeLinejoin: "round"
93
+ }
94
+ ),
95
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
96
+ "path",
97
+ {
98
+ d: "M10.5 5.5H14V9",
99
+ stroke: "currentColor",
100
+ strokeWidth: "1.5",
101
+ strokeLinecap: "round",
102
+ strokeLinejoin: "round"
103
+ }
104
+ )
105
+ ]
106
+ })
107
+ );
108
+ };
109
+ ArrowTrendUpIcon.displayName = "ArrowTrendUpIcon";
110
+
111
+ // src/primitives/icon/svg/arrows-to-dot.tsx
112
+ var import_jsx_runtime2 = require("react/jsx-runtime");
113
+ var ArrowsToDotIcon = (_a) => {
114
+ var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
115
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
116
+ "svg",
117
+ __spreadProps(__spreadValues(__spreadValues({
118
+ viewBox: "0 0 16 16",
119
+ className,
120
+ fill: "none"
121
+ }, getIconA11yProps(title)), props), {
122
+ children: [
123
+ title ? /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("title", { children: title }) : null,
124
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
125
+ "path",
126
+ {
127
+ d: "M8 2V5M8 11V14M2 8H5M11 8H14M3.76 3.76L5.9 5.9M10.1 10.1L12.24 12.24M12.24 3.76L10.1 5.9M5.9 10.1L3.76 12.24",
128
+ stroke: "currentColor",
129
+ strokeWidth: "1.25",
130
+ strokeLinecap: "round",
131
+ strokeLinejoin: "round"
132
+ }
133
+ ),
134
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("circle", { cx: "8", cy: "8", r: "1.5", fill: "currentColor" })
135
+ ]
136
+ })
137
+ );
138
+ };
139
+ ArrowsToDotIcon.displayName = "ArrowsToDotIcon";
140
+
141
+ // src/primitives/icon/svg/best-prices.tsx
142
+ var import_jsx_runtime3 = require("react/jsx-runtime");
143
+ var BestPricesIcon = (_a) => {
144
+ var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
145
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
146
+ "svg",
147
+ __spreadProps(__spreadValues(__spreadValues({
148
+ width: "28",
149
+ height: "28",
150
+ viewBox: "0 0 28 28",
151
+ fill: "none",
152
+ xmlns: "http://www.w3.org/2000/svg",
153
+ className
154
+ }, getIconA11yProps(title)), props), {
155
+ children: [
156
+ title ? /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("title", { children: title }) : null,
157
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("g", { clipPath: "url(#clip0_best_prices)", children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
158
+ "path",
159
+ {
160
+ d: "M12.8333 27.4167C12.8333 27.7387 12.572 28 12.25 28H5.25C2.3555 28 0 25.6445 0 22.75V5.25117C0 2.35667 2.35433 0 5.25 0H18.0833C20.9778 0 23.3333 2.35433 23.3333 5.24883V8.74883C23.3333 9.07083 23.0732 9.33217 22.75 9.33217C22.4268 9.33217 22.1667 9.07083 22.1667 8.74883V5.24883C22.1667 2.99717 20.3338 1.1655 18.0833 1.1655H5.25C2.99833 1.1655 1.16667 2.99833 1.16667 5.25V22.7488C1.16667 25.0005 2.9995 26.8322 5.25 26.8322H12.25C12.572 26.8322 12.8333 27.0947 12.8333 27.4167ZM27.8297 27.8297C27.7153 27.944 27.566 28 27.4167 28C27.2673 28 27.118 27.9428 27.0037 27.8297L23.0102 23.8362C21.6837 24.9748 19.964 25.6667 18.0822 25.6667C13.9008 25.6667 10.4988 22.2647 10.4988 18.0833C10.4988 13.902 13.9008 10.5 18.0822 10.5C22.2635 10.5 25.6655 13.902 25.6655 18.0833C25.6655 19.964 24.9725 21.6837 23.835 23.0113L27.8285 27.0048C28.056 27.2323 28.0572 27.6022 27.8297 27.8297ZM24.5 18.0833C24.5 14.546 21.6218 11.6667 18.0833 11.6667C14.5448 11.6667 11.6667 14.546 11.6667 18.0833C11.6667 21.6207 14.5448 24.5 18.0833 24.5C21.6218 24.5 24.5 21.6207 24.5 18.0833ZM7.58333 5.83333H5.25C4.928 5.83333 4.66667 6.09467 4.66667 6.41667C4.66667 6.73867 4.928 7 5.25 7H7.58333C7.90533 7 8.16667 6.73867 8.16667 6.41667C8.16667 6.09467 7.90533 5.83333 7.58333 5.83333ZM7.58333 17.5H5.25C4.928 17.5 4.66667 17.7613 4.66667 18.0833C4.66667 18.4053 4.928 18.6667 5.25 18.6667H7.58333C7.90533 18.6667 8.16667 18.4053 8.16667 18.0833C8.16667 17.7613 7.90533 17.5 7.58333 17.5ZM11.0833 5.83333C10.7613 5.83333 10.5 6.09467 10.5 6.41667C10.5 6.73867 10.7613 7 11.0833 7H18.0833C18.4053 7 18.6667 6.73867 18.6667 6.41667C18.6667 6.09467 18.4053 5.83333 18.0833 5.83333H11.0833ZM7.58333 11.6667H5.25C4.928 11.6667 4.66667 11.928 4.66667 12.25C4.66667 12.572 4.928 12.8333 5.25 12.8333H7.58333C7.90533 12.8333 8.16667 12.572 8.16667 12.25C8.16667 11.928 7.90533 11.6667 7.58333 11.6667ZM21.1668 16.4862L18.0098 19.5405C17.6167 19.9255 16.9762 19.9302 16.583 19.5452L14.9928 17.976C14.7642 17.7497 14.3943 17.752 14.168 17.9807C13.9417 18.2105 13.944 18.5803 14.1738 18.8055L15.7652 20.377C16.1875 20.79 16.7417 20.9965 17.2958 20.9965C17.85 20.9965 18.4053 20.7888 18.8253 20.3747L21.9788 17.325C22.2098 17.101 22.2168 16.7312 21.9928 16.5002C21.77 16.2692 21.399 16.2645 21.1668 16.4862Z",
161
+ fill: "currentColor"
162
+ }
163
+ ) }),
164
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("clipPath", { id: "clip0_best_prices", children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("rect", { width: "28", height: "28", fill: "white" }) }) })
165
+ ]
166
+ })
167
+ );
168
+ };
169
+ BestPricesIcon.displayName = "BestPricesIcon";
170
+
171
+ // src/primitives/icon/svg/check-circle.tsx
172
+ var import_jsx_runtime4 = require("react/jsx-runtime");
173
+ var CheckCircleIcon = (_a) => {
174
+ var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
175
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(
176
+ "svg",
177
+ __spreadProps(__spreadValues(__spreadValues({
178
+ width: "24",
179
+ height: "24",
180
+ viewBox: "0 0 24 24",
181
+ fill: "none",
182
+ xmlns: "http://www.w3.org/2000/svg",
183
+ className
184
+ }, getIconA11yProps(title)), props), {
185
+ children: [
186
+ title ? /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("title", { children: title }) : null,
187
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("g", { clipPath: "url(#clip0_check_circle)", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
188
+ "path",
189
+ {
190
+ d: "M12 0C5.383 0 0 5.383 0 12C0 18.617 5.383 24 12 24C18.617 24 24 18.617 24 12C24 5.383 18.617 0 12 0ZM18.2 10.512L13.774 14.857C12.991 15.625 11.983 16.008 10.974 16.008C9.976 16.008 8.978 15.632 8.198 14.879L6.299 13.012C5.905 12.625 5.9 11.992 6.287 11.598C6.673 11.203 7.308 11.198 7.701 11.586L9.594 13.447C10.37 14.197 11.595 14.193 12.375 13.429L16.8 9.085C17.193 8.697 17.824 8.704 18.214 9.098C18.601 9.492 18.595 10.125 18.2 10.512Z",
191
+ fill: "currentColor"
192
+ }
193
+ ) }),
194
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("clipPath", { id: "clip0_check_circle", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("rect", { width: "24", height: "24", fill: "white" }) }) })
195
+ ]
196
+ })
197
+ );
198
+ };
199
+ CheckCircleIcon.displayName = "CheckCircleIcon";
200
+
201
+ // src/primitives/icon/svg/chevron-down.tsx
202
+ var import_jsx_runtime5 = require("react/jsx-runtime");
203
+ var ChevronDownIcon = (_a) => {
204
+ var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
205
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
206
+ "svg",
207
+ __spreadProps(__spreadValues(__spreadValues({
208
+ viewBox: "0 0 14 14",
209
+ className,
210
+ fill: "none"
211
+ }, getIconA11yProps(title)), props), {
212
+ children: [
213
+ title ? /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("title", { children: title }) : null,
214
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
215
+ "path",
216
+ {
217
+ d: "M3.25 5.25L7 9L10.75 5.25",
218
+ stroke: "currentColor",
219
+ strokeWidth: "1.5",
220
+ strokeLinecap: "round",
221
+ strokeLinejoin: "round"
222
+ }
223
+ )
224
+ ]
225
+ })
226
+ );
227
+ };
228
+ ChevronDownIcon.displayName = "ChevronDownIcon";
229
+
230
+ // src/primitives/icon/svg/chevron-right.tsx
231
+ var import_jsx_runtime6 = require("react/jsx-runtime");
232
+ var ChevronRightIcon = (_a) => {
233
+ var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
234
+ return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
235
+ "svg",
236
+ __spreadProps(__spreadValues(__spreadValues({
237
+ viewBox: "0 0 16 16",
238
+ className,
239
+ fill: "none"
240
+ }, getIconA11yProps(title)), props), {
241
+ children: [
242
+ title ? /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("title", { children: title }) : null,
243
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
244
+ "path",
245
+ {
246
+ d: "M10.2665 6.56563L7.20654 3.50563C7.08163 3.38146 6.91266 3.31177 6.73653 3.31177C6.56041 3.31177 6.39144 3.38146 6.26653 3.50563C6.20405 3.5676 6.15445 3.64134 6.12061 3.72258C6.08676 3.80382 6.06934 3.89095 6.06934 3.97896C6.06934 4.06697 6.08676 4.15411 6.12061 4.23535C6.15445 4.31659 6.20405 4.39032 6.26653 4.4523L9.3332 7.50563C9.39569 7.5676 9.44528 7.64134 9.47913 7.72258C9.51298 7.80382 9.5304 7.89095 9.5304 7.97896C9.5304 8.06697 9.51298 8.15411 9.47913 8.23535C9.44528 8.31659 9.39569 8.39032 9.3332 8.4523L6.26653 11.5056C6.141 11.6303 6.07012 11.7997 6.0695 11.9766C6.06887 12.1535 6.13855 12.3234 6.2632 12.449C6.38785 12.5745 6.55727 12.6454 6.73418 12.646C6.91109 12.6466 7.081 12.5769 7.20654 12.4523L10.2665 9.3923C10.6411 9.0173 10.8514 8.50896 10.8514 7.97896C10.8514 7.44896 10.6411 6.94063 10.2665 6.56563Z",
247
+ fill: "currentColor"
248
+ }
249
+ )
250
+ ]
251
+ })
252
+ );
253
+ };
254
+ ChevronRightIcon.displayName = "ChevronRightIcon";
255
+
256
+ // src/primitives/icon/svg/chevron-up.tsx
257
+ var import_jsx_runtime7 = require("react/jsx-runtime");
258
+ var ChevronUpIcon = (_a) => {
259
+ var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
260
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(
261
+ "svg",
262
+ __spreadProps(__spreadValues(__spreadValues({
263
+ viewBox: "0 0 14 14",
264
+ className,
265
+ fill: "none"
266
+ }, getIconA11yProps(title)), props), {
267
+ children: [
268
+ title ? /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("title", { children: title }) : null,
269
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
270
+ "path",
271
+ {
272
+ d: "M3.25 8.75L7 5L10.75 8.75",
273
+ stroke: "currentColor",
274
+ strokeWidth: "1.5",
275
+ strokeLinecap: "round",
276
+ strokeLinejoin: "round"
277
+ }
278
+ )
279
+ ]
280
+ })
281
+ );
282
+ };
283
+ ChevronUpIcon.displayName = "ChevronUpIcon";
284
+
285
+ // src/primitives/icon/svg/close.tsx
286
+ var import_jsx_runtime8 = require("react/jsx-runtime");
287
+ var CloseIcon = (_a) => {
288
+ var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
289
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(
290
+ "svg",
291
+ __spreadProps(__spreadValues(__spreadValues({
292
+ width: "16",
293
+ height: "16",
294
+ viewBox: "0 0 16 16",
295
+ fill: "none",
296
+ xmlns: "http://www.w3.org/2000/svg",
297
+ className
298
+ }, getIconA11yProps(title)), props), {
299
+ children: [
300
+ title ? /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("title", { children: title }) : null,
301
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
302
+ "path",
303
+ {
304
+ d: "M12 4L4 12M4 4l8 8",
305
+ stroke: "currentColor",
306
+ strokeWidth: "2",
307
+ strokeLinecap: "round",
308
+ strokeLinejoin: "round"
309
+ }
310
+ )
311
+ ]
312
+ })
313
+ );
314
+ };
315
+ CloseIcon.displayName = "CloseIcon";
316
+
317
+ // src/primitives/icon/svg/create-account.tsx
318
+ var import_jsx_runtime9 = require("react/jsx-runtime");
319
+ var CreateAccountIcon = (_a) => {
320
+ var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
321
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
322
+ "svg",
323
+ __spreadProps(__spreadValues(__spreadValues({
324
+ width: "28",
325
+ height: "28",
326
+ viewBox: "0 0 28 28",
327
+ fill: "none",
328
+ xmlns: "http://www.w3.org/2000/svg",
329
+ className
330
+ }, getIconA11yProps(title)), props), {
331
+ children: [
332
+ title ? /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("title", { children: title }) : null,
333
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("g", { clipPath: "url(#clip0_create_account)", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
334
+ "path",
335
+ {
336
+ d: "M22.1667 4.66667V0.583333C22.1667 0.261333 22.428 0 22.75 0C23.072 0 23.3333 0.261333 23.3333 0.583333V4.66667H27.4167C27.7387 4.66667 28 4.928 28 5.25C28 5.572 27.7387 5.83333 27.4167 5.83333H23.3333V9.91667C23.3333 10.2387 23.072 10.5 22.75 10.5C22.428 10.5 22.1667 10.2387 22.1667 9.91667V5.83333H18.0833C17.7613 5.83333 17.5 5.572 17.5 5.25C17.5 4.928 17.7613 4.66667 18.0833 4.66667H22.1667ZM18.6667 11.6667C18.6667 14.2403 16.5737 16.3333 14 16.3333C11.4263 16.3333 9.33333 14.2403 9.33333 11.6667C9.33333 9.093 11.4263 7 14 7C16.5737 7 18.6667 9.093 18.6667 11.6667ZM17.5 11.6667C17.5 9.737 15.9297 8.16667 14 8.16667C12.0703 8.16667 10.5 9.737 10.5 11.6667C10.5 13.5963 12.0703 15.1667 14 15.1667C15.9297 15.1667 17.5 13.5963 17.5 11.6667ZM27.3922 9.90617C27.7958 11.2292 28 12.6058 28 14C28 21.7198 21.7198 28 14 28C6.28017 28 0 21.7198 0 14C0 6.28017 6.28017 0 14 0C15.4548 0 16.8898 0.221667 18.2607 0.660333C18.5675 0.758333 18.7367 1.08617 18.6387 1.393C18.5395 1.69983 18.2105 1.87017 17.9048 1.771C16.6483 1.36967 15.3335 1.1655 13.9988 1.1655C6.92417 1.16667 1.16667 6.92417 1.16667 14C1.16667 18.5197 3.521 22.4933 7.063 24.78C7.5005 21.3383 10.4417 18.6667 14 18.6667C17.5583 18.6667 20.4995 21.3383 20.937 24.78C24.4778 22.4933 26.8333 18.5197 26.8333 14C26.8333 12.7213 26.6467 11.459 26.2757 10.2468C26.1823 9.93883 26.355 9.61217 26.6642 9.51883C26.9722 9.422 27.2977 9.59933 27.3922 9.90617ZM14 26.8333C16.0918 26.8333 18.0623 26.32 19.8088 25.4287C19.6805 22.3253 17.1348 19.8333 14 19.8333C10.8652 19.8333 8.31833 22.3242 8.19117 25.4287C9.93767 26.32 11.9082 26.8333 14 26.8333Z",
337
+ fill: "currentColor"
338
+ }
339
+ ) }),
340
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("clipPath", { id: "clip0_create_account", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("rect", { width: "28", height: "28", fill: "white" }) }) })
341
+ ]
342
+ })
343
+ );
344
+ };
345
+ CreateAccountIcon.displayName = "CreateAccountIcon";
346
+
347
+ // src/primitives/icon/svg/disconnect.tsx
348
+ var import_jsx_runtime10 = require("react/jsx-runtime");
349
+ var DisconnectIcon = (_a) => {
350
+ var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
351
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(
352
+ "svg",
353
+ __spreadProps(__spreadValues(__spreadValues({
354
+ viewBox: "0 0 16 16",
355
+ className,
356
+ fill: "none"
357
+ }, getIconA11yProps(title)), props), {
358
+ children: [
359
+ title ? /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("title", { children: title }) : null,
360
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
361
+ "path",
362
+ {
363
+ d: "M6.5 3H4a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h2.5",
364
+ stroke: "currentColor",
365
+ strokeWidth: "1.5",
366
+ strokeLinecap: "round"
367
+ }
368
+ ),
369
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
370
+ "path",
371
+ {
372
+ d: "M9.5 5.5 12 8m0 0-2.5 2.5M12 8H6",
373
+ stroke: "currentColor",
374
+ strokeWidth: "1.5",
375
+ strokeLinecap: "round",
376
+ strokeLinejoin: "round"
377
+ }
378
+ )
379
+ ]
380
+ })
381
+ );
382
+ };
383
+ DisconnectIcon.displayName = "DisconnectIcon";
384
+
385
+ // src/primitives/icon/svg/download.tsx
386
+ var import_jsx_runtime11 = require("react/jsx-runtime");
387
+ var DownloadIcon = (_a) => {
388
+ var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
389
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(
390
+ "svg",
391
+ __spreadProps(__spreadValues(__spreadValues({
392
+ viewBox: "0 0 16 16",
393
+ className,
394
+ fill: "none"
395
+ }, getIconA11yProps(title)), props), {
396
+ children: [
397
+ title ? /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("title", { children: title }) : null,
398
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
399
+ "path",
400
+ {
401
+ d: "M8 2.5v7m0 0 2.5-2.5M8 9.5 5.5 7",
402
+ stroke: "currentColor",
403
+ strokeWidth: "1.5",
404
+ strokeLinecap: "round",
405
+ strokeLinejoin: "round"
406
+ }
407
+ ),
408
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("path", { d: "M2.5 12.5h11", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" })
409
+ ]
410
+ })
411
+ );
412
+ };
413
+ DownloadIcon.displayName = "DownloadIcon";
414
+
415
+ // src/primitives/icon/icon.constants.ts
416
+ var iconSizeClasses = {
417
+ xxs: "h-2 w-2",
418
+ xs: "h-3 w-3",
419
+ s: "h-4 w-4",
420
+ m: "h-6 w-6",
421
+ l: "h-8 w-8",
422
+ xl: "h-10 w-10",
423
+ xxl: "h-12 w-12"
424
+ };
425
+
426
+ // src/primitives/icon/svg/dots-horizontal.tsx
427
+ var import_jsx_runtime12 = require("react/jsx-runtime");
428
+ var DotsHorizontalIcon = (_a) => {
429
+ var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
430
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(
431
+ "svg",
432
+ __spreadProps(__spreadValues(__spreadValues({
433
+ viewBox: "0 0 16 16",
434
+ className,
435
+ fill: "none"
436
+ }, getIconA11yProps(title)), props), {
437
+ children: [
438
+ title ? /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("title", { children: title }) : null,
439
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("circle", { cx: "3.5", cy: "8", r: "1.25", fill: "currentColor" }),
440
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("circle", { cx: "8", cy: "8", r: "1.25", fill: "currentColor" }),
441
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("circle", { cx: "12.5", cy: "8", r: "1.25", fill: "currentColor" })
442
+ ]
443
+ })
444
+ );
445
+ };
446
+ DotsHorizontalIcon.displayName = "DotsHorizontalIcon";
447
+
448
+ // src/primitives/icon/svg/link-accounts.tsx
449
+ var import_jsx_runtime13 = require("react/jsx-runtime");
450
+ var LinkAccountsIcon = (_a) => {
451
+ var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
452
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(
453
+ "svg",
454
+ __spreadProps(__spreadValues(__spreadValues({
455
+ width: "28",
456
+ height: "28",
457
+ viewBox: "0 0 28 28",
458
+ fill: "none",
459
+ xmlns: "http://www.w3.org/2000/svg",
460
+ className
461
+ }, getIconA11yProps(title)), props), {
462
+ children: [
463
+ title ? /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("title", { children: title }) : null,
464
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("g", { clipPath: "url(#clip0_link_accounts)", children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
465
+ "path",
466
+ {
467
+ d: "M28 18.0835C28 22.2648 24.598 25.6668 20.4167 25.6668H14.5833C10.402 25.6668 7 22.2648 7 18.0835C7 13.9022 10.402 10.5002 14.5833 10.5002H16.9167C17.2387 10.5002 17.5 10.7615 17.5 11.0835C17.5 11.4055 17.2387 11.6668 16.9167 11.6668H14.5833C11.0448 11.6668 8.16667 14.5462 8.16667 18.0835C8.16667 21.6208 11.0448 24.5002 14.5833 24.5002H20.4167C23.9552 24.5002 26.8333 21.6208 26.8333 18.0835C26.8333 15.7992 25.6037 13.67 23.625 12.5243C23.3462 12.3633 23.2505 12.0063 23.4127 11.7275C23.5725 11.4487 23.9283 11.3507 24.2095 11.514C26.5475 12.8662 28.0012 15.3827 28.0012 18.0823L28 18.0835ZM4.375 15.476C2.39517 14.3315 1.16667 12.2012 1.16667 9.91683C1.16667 6.3795 4.04483 3.50016 7.58333 3.50016H13.4167C16.9552 3.50016 19.8333 6.3795 19.8333 9.91683C19.8333 13.4542 16.9552 16.3335 13.4167 16.3335H11.0833C10.7613 16.3335 10.5 16.5948 10.5 16.9168C10.5 17.2388 10.7613 17.5002 11.0833 17.5002H13.4167C17.598 17.5002 21 14.0982 21 9.91683C21 5.7355 17.598 2.3335 13.4167 2.3335H7.58333C3.402 2.3335 0 5.7355 0 9.91683C0 12.6153 1.4525 15.133 3.79167 16.4852C4.0705 16.6462 4.4275 16.5517 4.5885 16.2717C4.75067 15.994 4.655 15.6358 4.37617 15.4748L4.375 15.476Z",
468
+ fill: "currentColor"
469
+ }
470
+ ) }),
471
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("clipPath", { id: "clip0_link_accounts", children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("rect", { width: "28", height: "28", fill: "white" }) }) })
472
+ ]
473
+ })
474
+ );
475
+ };
476
+ LinkAccountsIcon.displayName = "LinkAccountsIcon";
477
+
478
+ // src/primitives/icon/svg/profile.tsx
479
+ var import_jsx_runtime14 = require("react/jsx-runtime");
480
+ var ProfileIcon = (_a) => {
481
+ var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
482
+ return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(
483
+ "svg",
484
+ __spreadProps(__spreadValues(__spreadValues({
485
+ viewBox: "0 0 16 16",
486
+ className,
487
+ fill: "none"
488
+ }, getIconA11yProps(title)), props), {
489
+ children: [
490
+ title ? /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("title", { children: title }) : null,
491
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
492
+ "path",
493
+ {
494
+ d: "M8 8.25a2.75 2.75 0 1 0 0-5.5 2.75 2.75 0 0 0 0 5.5Z",
495
+ stroke: "currentColor",
496
+ strokeWidth: "1.5"
497
+ }
498
+ ),
499
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
500
+ "path",
501
+ {
502
+ d: "M3 13.5a5 5 0 0 1 10 0",
503
+ stroke: "currentColor",
504
+ strokeWidth: "1.5",
505
+ strokeLinecap: "round"
506
+ }
507
+ )
508
+ ]
509
+ })
510
+ );
511
+ };
512
+ ProfileIcon.displayName = "ProfileIcon";
513
+
514
+ // src/primitives/icon/svg/revenue-alt.tsx
515
+ var import_jsx_runtime15 = require("react/jsx-runtime");
516
+ var RevenueAltIcon = (_a) => {
517
+ var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
518
+ return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(
519
+ "svg",
520
+ __spreadProps(__spreadValues(__spreadValues({
521
+ viewBox: "0 0 20 20",
522
+ className,
523
+ fill: "none"
524
+ }, getIconA11yProps(title)), props), {
525
+ children: [
526
+ title ? /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("title", { children: title }) : null,
527
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
528
+ "path",
529
+ {
530
+ d: "M3 14V6M3 6L1.5 7.5M3 6L4.5 7.5M17 6V14M17 14L15.5 12.5M17 14L18.5 12.5",
531
+ stroke: "currentColor",
532
+ strokeWidth: "1.5",
533
+ strokeLinecap: "round",
534
+ strokeLinejoin: "round"
535
+ }
536
+ ),
537
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
538
+ "path",
539
+ {
540
+ d: "M10 5.5V14.5M12.5 7.4C12.5 6.55 11.38 5.86 10 5.86C8.62 5.86 7.5 6.55 7.5 7.4C7.5 8.25 8.62 8.94 10 8.94C11.38 8.94 12.5 9.63 12.5 10.48C12.5 11.33 11.38 12.02 10 12.02C8.62 12.02 7.5 11.33 7.5 10.48",
541
+ stroke: "currentColor",
542
+ strokeWidth: "1.5",
543
+ strokeLinecap: "round",
544
+ strokeLinejoin: "round"
545
+ }
546
+ )
547
+ ]
548
+ })
549
+ );
550
+ };
551
+ RevenueAltIcon.displayName = "RevenueAltIcon";
552
+
553
+ // src/primitives/icon/svg/search.tsx
554
+ var import_jsx_runtime16 = require("react/jsx-runtime");
555
+ var SearchIcon = (_a) => {
556
+ var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
557
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
558
+ "svg",
559
+ __spreadProps(__spreadValues(__spreadValues({
560
+ viewBox: "0 0 16 16",
561
+ fill: "none",
562
+ xmlns: "http://www.w3.org/2000/svg",
563
+ className
564
+ }, getIconA11yProps(title)), props), {
565
+ children: [
566
+ title ? /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("title", { children: title }) : null,
567
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
568
+ "path",
569
+ {
570
+ d: "M7.3335 12.3333C10.0949 12.3333 12.3335 10.0947 12.3335 7.33329C12.3335 4.57187 10.0949 2.33329 7.3335 2.33329C4.57208 2.33329 2.3335 4.57187 2.3335 7.33329C2.3335 10.0947 4.57208 12.3333 7.3335 12.3333Z",
571
+ stroke: "currentColor",
572
+ strokeWidth: "1.3",
573
+ strokeLinecap: "round",
574
+ strokeLinejoin: "round"
575
+ }
576
+ ),
577
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
578
+ "path",
579
+ {
580
+ d: "M13.6668 13.6666L11.1667 11.1666",
581
+ stroke: "currentColor",
582
+ strokeWidth: "1.3",
583
+ strokeLinecap: "round",
584
+ strokeLinejoin: "round"
585
+ }
586
+ )
587
+ ]
588
+ })
589
+ );
590
+ };
591
+ SearchIcon.displayName = "SearchIcon";
592
+
593
+ // src/primitives/icon/svg/shield-trust.tsx
594
+ var import_jsx_runtime17 = require("react/jsx-runtime");
595
+ var ShieldTrustIcon = (_a) => {
596
+ var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
597
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
598
+ "svg",
599
+ __spreadProps(__spreadValues(__spreadValues({
600
+ viewBox: "0 0 16 16",
601
+ className,
602
+ fill: "none"
603
+ }, getIconA11yProps(title)), props), {
604
+ children: [
605
+ title ? /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("title", { children: title }) : null,
606
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
607
+ "path",
608
+ {
609
+ d: "M8 1.25L13.5 3.25V7.08C13.5 10.09 11.62 12.74 8 14.75C4.38 12.74 2.5 10.09 2.5 7.08V3.25L8 1.25Z",
610
+ fill: "currentColor"
611
+ }
612
+ ),
613
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
614
+ "path",
615
+ {
616
+ d: "M5.5 8.2L7.2 9.9L10.8 6.3",
617
+ stroke: "white",
618
+ strokeWidth: "1.4",
619
+ strokeLinecap: "round",
620
+ strokeLinejoin: "round"
621
+ }
622
+ )
623
+ ]
624
+ })
625
+ );
626
+ };
627
+ ShieldTrustIcon.displayName = "ShieldTrustIcon";
628
+
629
+ // src/primitives/icon/svg/stay-in-control.tsx
630
+ var import_jsx_runtime18 = require("react/jsx-runtime");
631
+ var StayInControlIcon = (_a) => {
632
+ var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
633
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
634
+ "svg",
635
+ __spreadProps(__spreadValues(__spreadValues({
636
+ width: "28",
637
+ height: "28",
638
+ viewBox: "0 0 28 28",
639
+ fill: "none",
640
+ xmlns: "http://www.w3.org/2000/svg",
641
+ className
642
+ }, getIconA11yProps(title)), props), {
643
+ children: [
644
+ title ? /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("title", { children: title }) : null,
645
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("g", { clipPath: "url(#clip0_stay_in_control)", children: [
646
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
647
+ "path",
648
+ {
649
+ d: "M14 27.9406C13.9102 27.9406 13.8215 27.9196 13.7387 27.8788L13.2428 27.6314C10.6832 26.3504 2.32983 21.5753 2.32983 13.8648L2.33217 7.62776C2.33217 5.36093 3.77767 3.35776 5.93017 2.64493L13.8168 0.0292617C13.9358 -0.010405 14.0653 -0.010405 14.1832 0.0292617L22.0687 2.64376C24.2212 3.35776 25.6667 5.36093 25.6667 7.6266L25.6632 13.8636C25.6632 22.6113 17.2958 26.6584 14.7315 27.6909L14.217 27.8974C14.147 27.9254 14.0723 27.9394 13.9988 27.9394L14 27.9406ZM14 1.19826L6.29767 3.7521C4.6235 4.30743 3.5 5.86493 3.5 7.62776L3.49767 13.8648C3.49767 20.9056 11.3563 25.3844 13.7655 26.5884L14.0268 26.7191L14.2975 26.6106C16.6903 25.6481 24.4977 21.8833 24.4977 13.8659L24.5012 7.62893C24.5012 5.8661 23.3765 4.3086 21.7035 3.75326L14 1.19826Z",
650
+ fill: "currentColor"
651
+ }
652
+ ),
653
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
654
+ "path",
655
+ {
656
+ d: "M12.8112 17.5001C12.0633 17.5001 11.3155 17.2154 10.7462 16.6461L7.18083 13.2569C6.94749 13.0352 6.93816 12.6654 7.15983 12.4321C7.38149 12.1999 7.75016 12.1894 7.98466 12.4111L11.5605 15.8107C12.2535 16.5026 13.363 16.5037 14.0455 15.8212L20.5928 9.49791C20.8262 9.27508 21.196 9.28208 21.4177 9.51308C21.6417 9.74408 21.6358 10.1139 21.4037 10.3379L14.8622 16.6542C14.2987 17.2177 13.5543 17.5012 12.81 17.5012L12.8112 17.5001Z",
657
+ fill: "currentColor"
658
+ }
659
+ )
660
+ ] }),
661
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("clipPath", { id: "clip0_stay_in_control", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("rect", { width: "28", height: "28", fill: "white" }) }) })
662
+ ]
663
+ })
664
+ );
665
+ };
666
+ StayInControlIcon.displayName = "StayInControlIcon";
667
+
668
+ // src/primitives/icon/svg/triangle-down.tsx
669
+ var import_jsx_runtime19 = require("react/jsx-runtime");
670
+ var TriangleDownIcon = (_a) => {
671
+ var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
672
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(
673
+ "svg",
674
+ __spreadProps(__spreadValues(__spreadValues({
675
+ viewBox: "0 0 8 8",
676
+ className,
677
+ fill: "none"
678
+ }, getIconA11yProps(title)), props), {
679
+ children: [
680
+ title ? /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("title", { children: title }) : null,
681
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("g", { transform: "scale(1,-1) translate(0,-8)", clipPath: "url(#triangle_up)", children: [
682
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
683
+ "path",
684
+ {
685
+ d: "M3.99989 1.6805L6.23917 6.72896H1.76061L3.99989 1.6805ZM3.99989 0.366097C3.87788 0.36535 3.75832 0.400347 3.65596 0.466768C3.55361 0.53319 3.47295 0.628129 3.42393 0.739866L0.362237 7.63838H7.63755L4.57737 0.739866C4.52825 0.62789 4.44735 0.532789 4.3447 0.46635C4.24205 0.39991 4.12216 0.365052 3.99989 0.366097Z",
686
+ fill: "currentColor"
687
+ }
688
+ ),
689
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
690
+ "path",
691
+ {
692
+ d: "M4.00167 0.00284122C4.19344 0.00214978 4.38147 0.0566837 4.54252 0.160923C4.70445 0.265758 4.83154 0.416026 4.90931 0.592539L7.9697 7.4913L8.19705 8.00195H-0.197266L3.09048 0.593427C3.16804 0.41669 3.29625 0.26688 3.45815 0.161811C3.61872 0.0576301 3.80589 0.00261591 3.99723 0.00284122H3.99989L4.00256 0.00195312L4.00167 0.00284122ZM3.99989 0.366097C3.87788 0.36535 3.75832 0.400347 3.65596 0.466768L3.58337 0.521491C3.51516 0.581467 3.46071 0.656022 3.42393 0.739866L0.362237 7.63838H7.63755L4.57737 0.739866C4.54053 0.655873 4.48567 0.581521 4.4173 0.521491L4.3447 0.46635C4.24205 0.39991 4.12216 0.365052 3.99989 0.366097ZM6.23917 6.72896H1.76061L3.99989 1.6805L6.23917 6.72896ZM2.31961 6.36519H5.68018L3.99989 2.57655L2.31961 6.36519Z",
693
+ fill: "currentColor"
694
+ }
695
+ )
696
+ ] }),
697
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("clipPath", { id: "triangle_up", children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("rect", { width: "8", height: "8", fill: "white" }) }) })
698
+ ]
699
+ })
700
+ );
701
+ };
702
+ TriangleDownIcon.displayName = "TriangleDownIcon";
703
+
704
+ // src/primitives/icon/svg/triangle-up.tsx
705
+ var import_jsx_runtime20 = require("react/jsx-runtime");
706
+ var TriangleUpIcon = (_a) => {
707
+ var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
708
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
709
+ "svg",
710
+ __spreadProps(__spreadValues(__spreadValues({
711
+ viewBox: "0 0 8 8",
712
+ className,
713
+ fill: "none"
714
+ }, getIconA11yProps(title)), props), {
715
+ children: [
716
+ title ? /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("title", { children: title }) : null,
717
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("g", { clipPath: "url(#triangle_up)", children: [
718
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
719
+ "path",
720
+ {
721
+ d: "M3.99989 1.6805L6.23917 6.72896H1.76061L3.99989 1.6805ZM3.99989 0.366097C3.87788 0.36535 3.75832 0.400347 3.65596 0.466768C3.55361 0.53319 3.47295 0.628129 3.42393 0.739866L0.362237 7.63838H7.63755L4.57737 0.739866C4.52825 0.62789 4.44735 0.532789 4.3447 0.46635C4.24205 0.39991 4.12216 0.365052 3.99989 0.366097Z",
722
+ fill: "currentColor"
723
+ }
724
+ ),
725
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
726
+ "path",
727
+ {
728
+ d: "M4.00167 0.00284122C4.19344 0.00214978 4.38147 0.0566837 4.54252 0.160923C4.70445 0.265758 4.83154 0.416026 4.90931 0.592539L7.9697 7.4913L8.19705 8.00195H-0.197266L3.09048 0.593427C3.16804 0.41669 3.29625 0.26688 3.45815 0.161811C3.61872 0.0576301 3.80589 0.00261591 3.99723 0.00284122H3.99989L4.00256 0.00195312L4.00167 0.00284122ZM3.99989 0.366097C3.87788 0.36535 3.75832 0.400347 3.65596 0.466768L3.58337 0.521491C3.51516 0.581467 3.46071 0.656022 3.42393 0.739866L0.362237 7.63838H7.63755L4.57737 0.739866C4.54053 0.655873 4.48567 0.581521 4.4173 0.521491L4.3447 0.46635C4.24205 0.39991 4.12216 0.365052 3.99989 0.366097ZM6.23917 6.72896H1.76061L3.99989 1.6805L6.23917 6.72896ZM2.31961 6.36519H5.68018L3.99989 2.57655L2.31961 6.36519Z",
729
+ fill: "currentColor"
730
+ }
731
+ )
732
+ ] }),
733
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("clipPath", { id: "triangle_up", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("rect", { width: "8", height: "8", fill: "white" }) }) })
734
+ ]
735
+ })
736
+ );
737
+ };
738
+ TriangleUpIcon.displayName = "TriangleUpIcon";
739
+
740
+ // src/primitives/icon/svg/upload.tsx
741
+ var import_jsx_runtime21 = require("react/jsx-runtime");
742
+ var UploadIcon = (_a) => {
743
+ var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
744
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
745
+ "svg",
746
+ __spreadProps(__spreadValues(__spreadValues({
747
+ viewBox: "0 0 16 16",
748
+ className,
749
+ fill: "none"
750
+ }, getIconA11yProps(title)), props), {
751
+ children: [
752
+ title ? /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("title", { children: title }) : null,
753
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
754
+ "path",
755
+ {
756
+ d: "M8 13.5v-7m0 0 2.5 2.5M8 6.5 5.5 9",
757
+ stroke: "currentColor",
758
+ strokeWidth: "1.5",
759
+ strokeLinecap: "round",
760
+ strokeLinejoin: "round"
761
+ }
762
+ ),
763
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("path", { d: "M2.5 3.5h11", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" })
764
+ ]
765
+ })
766
+ );
767
+ };
768
+ UploadIcon.displayName = "UploadIcon";
769
+
770
+ // src/primitives/icon/svg/wallet-avatar.tsx
771
+ var import_jsx_runtime22 = require("react/jsx-runtime");
772
+ function WalletAvatarIcon(_a) {
773
+ var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
774
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(
775
+ "svg",
776
+ __spreadProps(__spreadValues(__spreadValues({
777
+ fill: "none",
778
+ className,
779
+ viewBox: "0 0 16 16"
780
+ }, getIconA11yProps(title)), props), {
781
+ children: [
782
+ title ? /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("title", { children: title }) : null,
783
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("circle", { cx: "8", cy: "5.25", r: "2.25", fill: "currentColor" }),
784
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("path", { d: "M3.75 12.75a4.25 4.25 0 0 1 8.5 0v.25h-8.5v-.25Z", fill: "currentColor" })
785
+ ]
786
+ })
787
+ );
788
+ }
789
+ WalletAvatarIcon.displayName = "WalletAvatarIcon";
790
+
791
+ // src/primitives/icon/svg/warning.tsx
792
+ var import_jsx_runtime23 = require("react/jsx-runtime");
793
+ var WarningIcon = (_a) => {
794
+ var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
795
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
796
+ "svg",
797
+ __spreadProps(__spreadValues(__spreadValues({
798
+ width: "14",
799
+ height: "14",
800
+ viewBox: "0 0 14 14",
801
+ fill: "none",
802
+ xmlns: "http://www.w3.org/2000/svg",
803
+ className
804
+ }, getIconA11yProps(title)), props), {
805
+ children: [
806
+ title ? /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("title", { children: title }) : null,
807
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("g", { clipPath: "url(#clip0_warning)", children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
808
+ "path",
809
+ {
810
+ d: "M6.41665 8.16675V4.66675C6.41665 4.34591 6.67915 4.08341 6.99998 4.08341C7.32082 4.08341 7.58332 4.34591 7.58332 4.66675V8.16675C7.58332 8.48758 7.32082 8.75008 6.99998 8.75008C6.67915 8.75008 6.41665 8.48758 6.41665 8.16675ZM6.99998 9.33341C6.51582 9.33341 6.12498 9.72425 6.12498 10.2084C6.12498 10.6926 6.51582 11.0834 6.99998 11.0834C7.48415 11.0834 7.87498 10.6926 7.87498 10.2084C7.87498 9.72425 7.48415 9.33341 6.99998 9.33341ZM13.755 12.1801C13.3467 12.9676 12.4892 13.4167 11.4158 13.4167H2.58998C1.51082 13.4167 0.659151 12.9676 0.250818 12.1801C-0.163348 11.3867 -0.0466818 10.3717 0.542485 9.52008L5.23248 2.10008C5.64665 1.50508 6.29998 1.16675 6.99998 1.16675C7.69999 1.16675 8.35332 1.50508 8.74998 2.08258L13.4633 9.53175C14.0525 10.3834 14.1633 11.3926 13.7492 12.1801H13.755ZM12.5008 10.1851C12.5008 10.1851 12.4892 10.1734 12.4892 10.1617L7.78165 2.72425C7.61248 2.48508 7.32082 2.33341 6.99998 2.33341C6.67915 2.33341 6.38749 2.48508 6.20665 2.74758L1.51082 10.1617C1.14915 10.6751 1.06748 11.2351 1.27748 11.6376C1.48165 12.0342 1.94832 12.2501 2.58415 12.2501H11.4042C12.04 12.2501 12.5067 12.0342 12.7108 11.6376C12.9208 11.2351 12.8392 10.6751 12.495 10.1851H12.5008Z",
811
+ fill: "currentColor"
812
+ }
813
+ ) }),
814
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("clipPath", { id: "clip0_warning", children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("rect", { width: "14", height: "14", fill: "white" }) }) })
815
+ ]
816
+ })
817
+ );
818
+ };
819
+ WarningIcon.displayName = "WarningIcon";
820
+
821
+ // src/primitives/icon/registry.ts
822
+ var iconRegistry = {
823
+ "arrow-trend-up": ArrowTrendUpIcon,
824
+ "arrows-to-dot": ArrowsToDotIcon,
825
+ "best-prices": BestPricesIcon,
826
+ "check-circle": CheckCircleIcon,
827
+ "chevron-down": ChevronDownIcon,
828
+ "chevron-right": ChevronRightIcon,
829
+ "chevron-up": ChevronUpIcon,
830
+ close: CloseIcon,
831
+ "create-account": CreateAccountIcon,
832
+ disconnect: DisconnectIcon,
833
+ download: DownloadIcon,
834
+ "dots-horizontal": DotsHorizontalIcon,
835
+ "link-accounts": LinkAccountsIcon,
836
+ profile: ProfileIcon,
837
+ "revenue-alt": RevenueAltIcon,
838
+ search: SearchIcon,
839
+ "shield-trust": ShieldTrustIcon,
840
+ "stay-in-control": StayInControlIcon,
841
+ "triangle-down": TriangleDownIcon,
842
+ "triangle-up": TriangleUpIcon,
843
+ upload: UploadIcon,
844
+ "wallet-avatar": WalletAvatarIcon,
845
+ warning: WarningIcon
846
+ };
847
+ var iconNames = Object.keys(iconRegistry);
848
+
849
+ // src/primitives/icon/icon.utils.ts
850
+ var resolveIconStyle = (color, style) => {
851
+ if (!color)
852
+ return style;
853
+ return __spreadProps(__spreadValues({}, style), {
854
+ color
855
+ });
856
+ };
857
+
858
+ // src/primitives/icon/index.tsx
859
+ var import_jsx_runtime24 = require("react/jsx-runtime");
860
+ var Icon = (_a) => {
861
+ var _b = _a, {
862
+ name,
863
+ color,
864
+ size = "m",
865
+ className = "text-agg-primary",
866
+ style
867
+ } = _b, props = __objRest(_b, [
868
+ "name",
869
+ "color",
870
+ "size",
871
+ "className",
872
+ "style"
873
+ ]);
874
+ const Component = iconRegistry[name];
875
+ const resolvedStyle = resolveIconStyle(color, style);
876
+ const resolvedClassName = cn(iconSizeClasses[size], className);
877
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Component, __spreadValues({ color, className: resolvedClassName, style: resolvedStyle }, props));
878
+ };
879
+ Icon.displayName = "Icon";
880
+
881
+ // src/primitives/venue-logo/index.tsx
882
+ var import_hooks = require("@agg-market/hooks");
883
+
884
+ // src/primitives/venue-logo/logo-props.ts
885
+ var DEFAULT_MONOCHROME_COLOR = "#000000";
886
+ var resolveLogoPrimaryColor = ({
887
+ brandColor,
888
+ isColor = true,
889
+ color
890
+ }) => {
891
+ if (typeof color === "string" && color.trim())
892
+ return color;
893
+ if (!isColor)
894
+ return DEFAULT_MONOCHROME_COLOR;
895
+ return brandColor;
896
+ };
897
+
898
+ // src/primitives/venue-logo/svg/logo-kalshi.tsx
899
+ var import_jsx_runtime25 = require("react/jsx-runtime");
900
+ var KALSHI_GREEN = "#18C590";
901
+ var LogoKalshiIcon = (_a) => {
902
+ var _b = _a, {
903
+ title,
904
+ className,
905
+ isColor = true,
906
+ color
907
+ } = _b, props = __objRest(_b, [
908
+ "title",
909
+ "className",
910
+ "isColor",
911
+ "color"
912
+ ]);
913
+ const primaryColor = resolveLogoPrimaryColor({
914
+ brandColor: KALSHI_GREEN,
915
+ isColor,
916
+ color
917
+ });
918
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
919
+ "svg",
920
+ __spreadProps(__spreadValues(__spreadValues({
921
+ viewBox: "0 0 100 100",
922
+ className,
923
+ fill: "none"
924
+ }, getIconA11yProps(title)), props), {
925
+ children: [
926
+ title ? /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("title", { children: title }) : null,
927
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("path", { d: "M20 10H36V90H20V10Z", fill: primaryColor }),
928
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("path", { d: "M44 50L74 10H92L62 50L92 90H74L44 50Z", fill: primaryColor })
929
+ ]
930
+ })
931
+ );
932
+ };
933
+ LogoKalshiIcon.displayName = "LogoKalshiIcon";
934
+
935
+ // src/primitives/venue-logo/svg/logo-opinion.tsx
936
+ var import_jsx_runtime26 = require("react/jsx-runtime");
937
+ var OPINION_BLACK = "#000000";
938
+ var OPINION_WHITE = "#FFFFFF";
939
+ var LogoOpinionIcon = (_a) => {
940
+ var _b = _a, {
941
+ title,
942
+ className,
943
+ isColor = true,
944
+ color
945
+ } = _b, props = __objRest(_b, [
946
+ "title",
947
+ "className",
948
+ "isColor",
949
+ "color"
950
+ ]);
951
+ const primaryColor = resolveLogoPrimaryColor({
952
+ brandColor: OPINION_BLACK,
953
+ isColor,
954
+ color
955
+ });
956
+ const accentColor = (color == null ? void 0 : color.trim()) ? primaryColor : OPINION_WHITE;
957
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
958
+ "svg",
959
+ __spreadProps(__spreadValues(__spreadValues({
960
+ viewBox: "0 0 100 100",
961
+ className,
962
+ fill: "none"
963
+ }, getIconA11yProps(title)), props), {
964
+ children: [
965
+ title ? /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("title", { children: title }) : null,
966
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("circle", { cx: "50", cy: "50", r: "40", fill: primaryColor }),
967
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
968
+ "rect",
969
+ {
970
+ x: "21",
971
+ y: "18",
972
+ width: "8",
973
+ height: "64",
974
+ rx: "4",
975
+ transform: "rotate(-7 21 18)",
976
+ fill: accentColor
977
+ }
978
+ ),
979
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
980
+ "rect",
981
+ {
982
+ x: "37",
983
+ y: "12",
984
+ width: "8",
985
+ height: "76",
986
+ rx: "4",
987
+ transform: "rotate(-4 37 12)",
988
+ fill: accentColor
989
+ }
990
+ ),
991
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
992
+ "rect",
993
+ {
994
+ x: "53",
995
+ y: "12",
996
+ width: "8",
997
+ height: "76",
998
+ rx: "4",
999
+ transform: "rotate(-4 53 12)",
1000
+ fill: accentColor
1001
+ }
1002
+ ),
1003
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1004
+ "rect",
1005
+ {
1006
+ x: "69",
1007
+ y: "18",
1008
+ width: "8",
1009
+ height: "64",
1010
+ rx: "4",
1011
+ transform: "rotate(-7 69 18)",
1012
+ fill: accentColor
1013
+ }
1014
+ ),
1015
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("rect", { x: "12", y: "44", width: "76", height: "12", fill: primaryColor })
1016
+ ]
1017
+ })
1018
+ );
1019
+ };
1020
+ LogoOpinionIcon.displayName = "LogoOpinionIcon";
1021
+
1022
+ // src/primitives/venue-logo/svg/logo-polymarket.tsx
1023
+ var import_jsx_runtime27 = require("react/jsx-runtime");
1024
+ var POLYMARKET_BLUE = "#3861FB";
1025
+ var LogoPolymarketIcon = (_a) => {
1026
+ var _b = _a, {
1027
+ title,
1028
+ className,
1029
+ isColor = true,
1030
+ color
1031
+ } = _b, props = __objRest(_b, [
1032
+ "title",
1033
+ "className",
1034
+ "isColor",
1035
+ "color"
1036
+ ]);
1037
+ const primaryColor = resolveLogoPrimaryColor({
1038
+ brandColor: POLYMARKET_BLUE,
1039
+ isColor,
1040
+ color
1041
+ });
1042
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
1043
+ "svg",
1044
+ __spreadProps(__spreadValues(__spreadValues({
1045
+ viewBox: "0 0 100 100",
1046
+ className,
1047
+ fill: "none"
1048
+ }, getIconA11yProps(title)), props), {
1049
+ children: [
1050
+ title ? /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("title", { children: title }) : null,
1051
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
1052
+ "path",
1053
+ {
1054
+ d: "M18 10L78 2V98L18 88V10Z",
1055
+ stroke: primaryColor,
1056
+ strokeWidth: "8",
1057
+ strokeLinejoin: "round"
1058
+ }
1059
+ ),
1060
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("path", { d: "M18 32L78 44", stroke: primaryColor, strokeWidth: "8", strokeLinecap: "round" }),
1061
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("path", { d: "M18 58L78 70", stroke: primaryColor, strokeWidth: "8", strokeLinecap: "round" })
1062
+ ]
1063
+ })
1064
+ );
1065
+ };
1066
+ LogoPolymarketIcon.displayName = "LogoPolymarketIcon";
1067
+
1068
+ // src/primitives/venue-logo/svg/logo-probable.tsx
1069
+ var import_jsx_runtime28 = require("react/jsx-runtime");
1070
+ var PROBABLE_ORANGE = "#F85B22";
1071
+ var LogoProbableIcon = (_a) => {
1072
+ var _b = _a, {
1073
+ title,
1074
+ className,
1075
+ isColor = true,
1076
+ color
1077
+ } = _b, props = __objRest(_b, [
1078
+ "title",
1079
+ "className",
1080
+ "isColor",
1081
+ "color"
1082
+ ]);
1083
+ const primaryColor = resolveLogoPrimaryColor({
1084
+ brandColor: PROBABLE_ORANGE,
1085
+ isColor,
1086
+ color
1087
+ });
1088
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
1089
+ "svg",
1090
+ __spreadProps(__spreadValues(__spreadValues({
1091
+ viewBox: "0 0 100 100",
1092
+ className,
1093
+ fill: "none"
1094
+ }, getIconA11yProps(title)), props), {
1095
+ children: [
1096
+ title ? /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("title", { children: title }) : null,
1097
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("rect", { x: "20", y: "16", width: "60", height: "12", fill: primaryColor }),
1098
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("rect", { x: "18", y: "36", width: "64", height: "46", rx: "23", fill: primaryColor }),
1099
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
1100
+ "rect",
1101
+ {
1102
+ x: "32",
1103
+ y: "50",
1104
+ width: "40",
1105
+ height: "18",
1106
+ rx: "9",
1107
+ fill: isColor && !color ? "white" : primaryColor
1108
+ }
1109
+ ),
1110
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("circle", { cx: "61", cy: "59", r: "7", fill: primaryColor })
1111
+ ]
1112
+ })
1113
+ );
1114
+ };
1115
+ LogoProbableIcon.displayName = "LogoProbableIcon";
1116
+
1117
+ // src/primitives/venue-logo/venue-logo.constants.ts
1118
+ var venueLogoRegistry = {
1119
+ kalshi: LogoKalshiIcon,
1120
+ polymarket: LogoPolymarketIcon,
1121
+ opinion: LogoOpinionIcon,
1122
+ probable: LogoProbableIcon
1123
+ };
1124
+ var venueLogoNames = Object.keys(venueLogoRegistry);
1125
+ var sizeClasses = {
1126
+ xxs: "h-2 w-2",
1127
+ xs: "h-3 w-3",
1128
+ s: "h-4 w-4",
1129
+ m: "h-6 w-6",
1130
+ l: "h-8 w-8",
1131
+ xl: "h-10 w-10",
1132
+ xxl: "h-12 w-12"
1133
+ };
1134
+
1135
+ // src/primitives/venue-logo/index.tsx
1136
+ var import_jsx_runtime29 = require("react/jsx-runtime");
1137
+ var VenueLogo = ({
1138
+ venue,
1139
+ isColor = true,
1140
+ isMonochromatic = false,
1141
+ color,
1142
+ size = "m",
1143
+ className,
1144
+ ariaLabel,
1145
+ title
1146
+ }) => {
1147
+ const labels = (0, import_hooks.useLabels)();
1148
+ const Component = venueLogoRegistry[venue];
1149
+ const sizeClass = sizeClasses[size];
1150
+ const resolvedIsColor = isMonochromatic ? false : isColor;
1151
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
1152
+ Component,
1153
+ {
1154
+ className: cn("shrink-0", sizeClass, className),
1155
+ isColor: resolvedIsColor,
1156
+ color,
1157
+ "aria-label": ariaLabel != null ? ariaLabel : labels.venues[venue],
1158
+ title
1159
+ }
1160
+ );
1161
+ };
1162
+ VenueLogo.displayName = "VenueLogo";
1163
+
1164
+ // src/primitives/search/search-empty-icon.tsx
1165
+ var import_jsx_runtime30 = require("react/jsx-runtime");
1166
+ var SearchEmptyIcon = (_a) => {
1167
+ var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
1168
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
1169
+ "svg",
1170
+ __spreadProps(__spreadValues(__spreadValues({
1171
+ viewBox: "0 0 40 40",
1172
+ fill: "none",
1173
+ xmlns: "http://www.w3.org/2000/svg",
1174
+ className
1175
+ }, getIconA11yProps(title)), props), {
1176
+ children: [
1177
+ title ? /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("title", { children: title }) : null,
1178
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("circle", { cx: "19.9987", cy: "20.0013", r: "9.2", stroke: "currentColor", strokeWidth: "1.6" }),
1179
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
1180
+ "ellipse",
1181
+ {
1182
+ cx: "19.9987",
1183
+ cy: "20.0012",
1184
+ rx: "17.2",
1185
+ ry: "6.6",
1186
+ transform: "rotate(-35 19.9987 20.0012)",
1187
+ stroke: "currentColor",
1188
+ strokeWidth: "1.6"
1189
+ }
1190
+ )
1191
+ ]
1192
+ })
1193
+ );
1194
+ };
1195
+ SearchEmptyIcon.displayName = "SearchEmptyIcon";
1196
+
1197
+ // src/primitives/search/search.types.ts
1198
+ var import_zod = require("zod");
1199
+ var searchResultVenues = ["kalshi", "polymarket", "opinion", "probable"];
1200
+ var isSearchResultVenue = (value) => {
1201
+ if (typeof value !== "string")
1202
+ return false;
1203
+ return searchResultVenues.includes(value);
1204
+ };
1205
+ var searchResultVenueSchema = import_zod.z.custom(
1206
+ (value) => isSearchResultVenue(value),
1207
+ "Invalid venue logo name"
1208
+ );
1209
+ var searchResultItemSchema = import_zod.z.object({
1210
+ id: import_zod.z.string().min(1),
1211
+ title: import_zod.z.string().min(1),
1212
+ thumbnailSrc: import_zod.z.string().min(1),
1213
+ thumbnailAlt: import_zod.z.string().optional(),
1214
+ venue: searchResultVenueSchema,
1215
+ valueLabel: import_zod.z.string().min(1),
1216
+ contextLabel: import_zod.z.string().min(1)
1217
+ });
1218
+ var searchResultItemsSchema = import_zod.z.array(searchResultItemSchema);
1219
+
1220
+ // src/primitives/search/index.tsx
1221
+ var import_jsx_runtime31 = require("react/jsx-runtime");
1222
+ var SearchResultRow = ({
1223
+ item,
1224
+ resultAria,
1225
+ onSelect,
1226
+ classNames
1227
+ }) => {
1228
+ var _a;
1229
+ const handleResultClick = () => {
1230
+ onSelect == null ? void 0 : onSelect(item);
1231
+ };
1232
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(
1233
+ "button",
1234
+ {
1235
+ type: "button",
1236
+ className: cn(
1237
+ "group flex w-full items-center gap-6 px-5 py-3 text-left",
1238
+ "focus-visible:outline-none focus-visible:bg-agg-secondary-hover",
1239
+ "hover:bg-agg-secondary-hover",
1240
+ classNames == null ? void 0 : classNames.resultButton
1241
+ ),
1242
+ onClick: handleResultClick,
1243
+ "aria-label": resultAria(item.title),
1244
+ children: [
1245
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)("div", { className: "flex min-w-0 flex-1 items-center gap-3", children: [
1246
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
1247
+ "img",
1248
+ {
1249
+ src: item.thumbnailSrc,
1250
+ alt: (_a = item.thumbnailAlt) != null ? _a : "",
1251
+ className: cn(
1252
+ "h-10 w-10 shrink-0 rounded-[8px] object-cover",
1253
+ classNames == null ? void 0 : classNames.resultThumbnail
1254
+ )
1255
+ }
1256
+ ),
1257
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
1258
+ "p",
1259
+ {
1260
+ className: cn(
1261
+ "min-w-0 flex-1 overflow-hidden text-ellipsis whitespace-nowrap font-agg-sans text-agg-base leading-agg-6 font-agg-normal text-agg-foreground",
1262
+ classNames == null ? void 0 : classNames.resultTitle
1263
+ ),
1264
+ children: item.title
1265
+ }
1266
+ )
1267
+ ] }),
1268
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)("div", { className: cn("flex w-[200px] shrink-0 items-center gap-2", classNames == null ? void 0 : classNames.resultMeta), children: [
1269
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(VenueLogo, { venue: item.venue, size: "s" }),
1270
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)("div", { className: "flex min-w-0 flex-1 items-baseline gap-2", children: [
1271
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
1272
+ "p",
1273
+ {
1274
+ className: cn(
1275
+ "shrink-0 whitespace-nowrap font-agg-sans text-[18px] leading-7 font-agg-bold text-agg-foreground",
1276
+ classNames == null ? void 0 : classNames.resultValue
1277
+ ),
1278
+ children: item.valueLabel
1279
+ }
1280
+ ),
1281
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
1282
+ "p",
1283
+ {
1284
+ className: cn(
1285
+ "min-w-0 overflow-hidden text-ellipsis whitespace-nowrap font-agg-sans text-agg-sm leading-agg-5 font-agg-normal text-agg-foreground",
1286
+ classNames == null ? void 0 : classNames.resultContext
1287
+ ),
1288
+ children: item.contextLabel
1289
+ }
1290
+ )
1291
+ ] })
1292
+ ] }),
1293
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
1294
+ Icon,
1295
+ {
1296
+ name: "chevron-right",
1297
+ size: "m",
1298
+ className: cn("h-5 w-5 shrink-0 text-agg-muted-foreground", classNames == null ? void 0 : classNames.resultChevron)
1299
+ }
1300
+ )
1301
+ ]
1302
+ }
1303
+ );
1304
+ };
1305
+ var getValidatedResults = (results) => {
1306
+ if (!(results == null ? void 0 : results.length))
1307
+ return [];
1308
+ const parsedResults = searchResultItemsSchema.safeParse(results);
1309
+ if (!parsedResults.success)
1310
+ return [];
1311
+ return parsedResults.data;
1312
+ };
1313
+ var Search = ({
1314
+ value,
1315
+ onValueChange,
1316
+ results,
1317
+ onSelect,
1318
+ classNames,
1319
+ inputProps
1320
+ }) => {
1321
+ const labels = (0, import_hooks2.useLabels)();
1322
+ const { enableAnimations } = (0, import_hooks2.useSdkUiConfig)();
1323
+ const validatedResults = (0, import_react.useMemo)(() => {
1324
+ return getValidatedResults(results);
1325
+ }, [results]);
1326
+ const hasSearchValue = value.trim().length > 0;
1327
+ const resolvedIsActive = hasSearchValue;
1328
+ const shouldRenderDropdown = hasSearchValue;
1329
+ const shouldRenderNoResults = shouldRenderDropdown && !validatedResults.length;
1330
+ const shouldRenderResults = shouldRenderDropdown && !!validatedResults.length;
1331
+ const handleInputChange = (event) => {
1332
+ onValueChange(event.target.value);
1333
+ };
1334
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)("div", { className: cn("flex w-full flex-col gap-1", classNames == null ? void 0 : classNames.root), children: [
1335
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("label", { className: "w-full", children: /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(
1336
+ "div",
1337
+ {
1338
+ className: cn(
1339
+ "flex h-10 w-full items-center gap-2 rounded-[4px] bg-agg-secondary px-3",
1340
+ resolvedIsActive ? "border-2 border-agg-primary" : "border border-agg-separator",
1341
+ "focus-within:border-2 focus-within:border-agg-primary",
1342
+ getMotionClassName(
1343
+ enableAnimations,
1344
+ "transition-[border-color,box-shadow] duration-200 ease-out"
1345
+ ),
1346
+ classNames == null ? void 0 : classNames.inputContainer
1347
+ ),
1348
+ children: [
1349
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
1350
+ Icon,
1351
+ {
1352
+ name: "search",
1353
+ size: "s",
1354
+ className: cn("text-agg-muted-foreground", classNames == null ? void 0 : classNames.searchIcon)
1355
+ }
1356
+ ),
1357
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
1358
+ "input",
1359
+ __spreadProps(__spreadValues({}, inputProps), {
1360
+ type: "text",
1361
+ value,
1362
+ onChange: handleInputChange,
1363
+ placeholder: labels.search.placeholder,
1364
+ "aria-label": labels.search.inputAria,
1365
+ className: cn(
1366
+ "h-6 w-full min-w-0 border-0 bg-transparent p-0",
1367
+ "font-agg-sans text-agg-base leading-agg-6 font-agg-normal text-agg-foreground",
1368
+ "placeholder:text-agg-muted-foreground",
1369
+ "outline-none focus:outline-none",
1370
+ "disabled:cursor-not-allowed disabled:text-agg-muted-foreground",
1371
+ classNames == null ? void 0 : classNames.input
1372
+ )
1373
+ })
1374
+ )
1375
+ ]
1376
+ }
1377
+ ) }),
1378
+ shouldRenderResults ? /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
1379
+ "div",
1380
+ {
1381
+ className: cn(
1382
+ "w-full overflow-hidden rounded-agg-xl border border-agg-separator bg-agg-secondary py-2 shadow-[0px_8px_16px_0px_rgba(0,0,0,0.1)]",
1383
+ classNames == null ? void 0 : classNames.dropdown
1384
+ ),
1385
+ children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
1386
+ "ul",
1387
+ {
1388
+ className: cn("m-0 flex list-none flex-col p-0", classNames == null ? void 0 : classNames.resultsList),
1389
+ role: "listbox",
1390
+ "aria-label": labels.search.resultsAria,
1391
+ children: validatedResults.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
1392
+ "li",
1393
+ {
1394
+ className: cn(index > 0 && "border-t border-agg-separator", classNames == null ? void 0 : classNames.resultItem),
1395
+ children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
1396
+ SearchResultRow,
1397
+ {
1398
+ item,
1399
+ resultAria: labels.search.resultAria,
1400
+ onSelect,
1401
+ classNames
1402
+ }
1403
+ )
1404
+ },
1405
+ item.id
1406
+ ))
1407
+ }
1408
+ )
1409
+ }
1410
+ ) : null,
1411
+ shouldRenderNoResults ? /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
1412
+ "div",
1413
+ {
1414
+ className: cn(
1415
+ "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)]",
1416
+ classNames == null ? void 0 : classNames.emptyState
1417
+ ),
1418
+ children: /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(
1419
+ "div",
1420
+ {
1421
+ className: cn("flex flex-col items-center gap-5", classNames == null ? void 0 : classNames.emptyStateContent),
1422
+ role: "status",
1423
+ "aria-live": "polite",
1424
+ children: [
1425
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
1426
+ SearchEmptyIcon,
1427
+ {
1428
+ className: cn("h-10 w-10 text-agg-muted-foreground", classNames == null ? void 0 : classNames.emptyStateIcon),
1429
+ "aria-hidden": true
1430
+ }
1431
+ ),
1432
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)("div", { className: "flex flex-col items-center gap-1 text-center", children: [
1433
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
1434
+ "p",
1435
+ {
1436
+ className: cn(
1437
+ "font-agg-sans text-agg-base leading-agg-6 font-agg-bold text-agg-foreground",
1438
+ classNames == null ? void 0 : classNames.emptyStateTitle
1439
+ ),
1440
+ children: labels.search.noResultsTitle
1441
+ }
1442
+ ),
1443
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
1444
+ "p",
1445
+ {
1446
+ className: cn(
1447
+ "font-agg-sans text-agg-sm leading-agg-5 font-agg-normal text-agg-foreground",
1448
+ classNames == null ? void 0 : classNames.emptyStateDescription
1449
+ ),
1450
+ children: labels.search.noResultsDescription
1451
+ }
1452
+ )
1453
+ ] })
1454
+ ]
1455
+ }
1456
+ )
1457
+ }
1458
+ ) : null
1459
+ ] });
1460
+ };
1461
+ Search.displayName = "Search";
1462
+ // Annotate the CommonJS export names for ESM import in node:
1463
+ 0 && (module.exports = {
1464
+ Search
1465
+ });