@hanzo/ui 5.3.39 → 5.3.41

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 (1111) hide show
  1. package/dist/billing/index.js +3 -0
  2. package/dist/billing/index.mjs +3 -0
  3. package/dist/navigation/hanzo-shell.js +3 -0
  4. package/dist/navigation/hanzo-shell.mjs +3 -0
  5. package/dist/navigation/index.js +2 -2
  6. package/dist/navigation/index.mjs +2 -2
  7. package/dist/tailwind/index.js +1 -2
  8. package/dist/types/index.js +1 -2
  9. package/dist/util/index.js +1 -80
  10. package/package.json +14 -3
  11. package/dist/assets/ai-icons.d.ts +0 -28
  12. package/dist/assets/ai-icons.d.ts.map +0 -1
  13. package/dist/assets/ai-icons.js +0 -60
  14. package/dist/assets/crypto.d.ts +0 -7
  15. package/dist/assets/crypto.d.ts.map +0 -1
  16. package/dist/assets/crypto.js +0 -4
  17. package/dist/assets/file-type-icon.d.ts +0 -7
  18. package/dist/assets/file-type-icon.d.ts.map +0 -1
  19. package/dist/assets/file-type-icon.js +0 -36
  20. package/dist/assets/file.d.ts +0 -5
  21. package/dist/assets/file.d.ts.map +0 -1
  22. package/dist/assets/file.js +0 -29
  23. package/dist/assets/general.d.ts +0 -220
  24. package/dist/assets/general.d.ts.map +0 -1
  25. package/dist/assets/general.js +0 -136
  26. package/dist/assets/hanzo-logo.d.ts +0 -4
  27. package/dist/assets/hanzo-logo.d.ts.map +0 -1
  28. package/dist/assets/hanzo-logo.js +0 -3
  29. package/dist/assets/index.d.ts +0 -7
  30. package/dist/assets/index.d.ts.map +0 -1
  31. package/dist/assets/index.js +0 -23
  32. package/dist/assets/llm-provider.d.ts +0 -64
  33. package/dist/assets/llm-provider.d.ts.map +0 -1
  34. package/dist/assets/llm-provider.js +0 -90
  35. package/dist/components/cal-embed.d.ts +0 -11
  36. package/dist/components/cal-embed.d.ts.map +0 -1
  37. package/dist/components/cal-embed.js +0 -38
  38. package/dist/components/index.d.ts +0 -3
  39. package/dist/components/index.d.ts.map +0 -1
  40. package/dist/components/index.js +0 -7
  41. package/dist/frameworks/core/index.d.ts +0 -4
  42. package/dist/frameworks/core/index.d.ts.map +0 -1
  43. package/dist/frameworks/core/index.js +0 -5
  44. package/dist/frameworks/core/styles.d.ts +0 -12
  45. package/dist/frameworks/core/styles.d.ts.map +0 -1
  46. package/dist/frameworks/core/styles.js +0 -11
  47. package/dist/frameworks/core/types.d.ts +0 -17
  48. package/dist/frameworks/core/types.d.ts.map +0 -1
  49. package/dist/frameworks/core/types.js +0 -11
  50. package/dist/frameworks/core/utils/index.d.ts +0 -19
  51. package/dist/frameworks/core/utils/index.d.ts.map +0 -1
  52. package/dist/frameworks/core/utils/index.js +0 -49
  53. package/dist/frameworks/react/components/button.d.ts +0 -8
  54. package/dist/frameworks/react/components/button.d.ts.map +0 -1
  55. package/dist/frameworks/react/components/button.js +0 -8
  56. package/dist/frameworks/react/components/index.d.ts +0 -2
  57. package/dist/frameworks/react/components/index.d.ts.map +0 -1
  58. package/dist/frameworks/react/components/index.js +0 -4
  59. package/dist/frameworks/react/hooks/index.d.ts +0 -2
  60. package/dist/frameworks/react/hooks/index.d.ts.map +0 -1
  61. package/dist/frameworks/react/hooks/index.js +0 -5
  62. package/dist/frameworks/react/index.d.ts +0 -5
  63. package/dist/frameworks/react/index.d.ts.map +0 -1
  64. package/dist/frameworks/react/index.js +0 -7
  65. package/dist/frameworks/react/utils/index.d.ts +0 -2
  66. package/dist/frameworks/react/utils/index.d.ts.map +0 -1
  67. package/dist/frameworks/react/utils/index.js +0 -2
  68. package/dist/frameworks/react-native/components.d.ts +0 -17
  69. package/dist/frameworks/react-native/components.d.ts.map +0 -1
  70. package/dist/frameworks/react-native/components.js +0 -17
  71. package/dist/frameworks/react-native/hooks.d.ts +0 -10
  72. package/dist/frameworks/react-native/hooks.d.ts.map +0 -1
  73. package/dist/frameworks/react-native/hooks.js +0 -9
  74. package/dist/frameworks/react-native/index.d.ts +0 -5
  75. package/dist/frameworks/react-native/index.d.ts.map +0 -1
  76. package/dist/frameworks/react-native/index.js +0 -7
  77. package/dist/frameworks/react-native/utils.d.ts +0 -7
  78. package/dist/frameworks/react-native/utils.d.ts.map +0 -1
  79. package/dist/frameworks/react-native/utils.js +0 -9
  80. package/dist/frameworks/svelte/components.d.ts +0 -15
  81. package/dist/frameworks/svelte/components.d.ts.map +0 -1
  82. package/dist/frameworks/svelte/components.js +0 -16
  83. package/dist/frameworks/svelte/index.d.ts +0 -5
  84. package/dist/frameworks/svelte/index.d.ts.map +0 -1
  85. package/dist/frameworks/svelte/index.js +0 -7
  86. package/dist/frameworks/svelte/stores.d.ts +0 -13
  87. package/dist/frameworks/svelte/stores.d.ts.map +0 -1
  88. package/dist/frameworks/svelte/stores.js +0 -9
  89. package/dist/frameworks/svelte/utils.d.ts +0 -7
  90. package/dist/frameworks/svelte/utils.d.ts.map +0 -1
  91. package/dist/frameworks/svelte/utils.js +0 -8
  92. package/dist/frameworks/vue/components.d.ts +0 -15
  93. package/dist/frameworks/vue/components.d.ts.map +0 -1
  94. package/dist/frameworks/vue/components.js +0 -16
  95. package/dist/frameworks/vue/composables.d.ts +0 -16
  96. package/dist/frameworks/vue/composables.d.ts.map +0 -1
  97. package/dist/frameworks/vue/composables.js +0 -14
  98. package/dist/frameworks/vue/index.d.ts +0 -5
  99. package/dist/frameworks/vue/index.d.ts.map +0 -1
  100. package/dist/frameworks/vue/index.js +0 -7
  101. package/dist/frameworks/vue/utils.d.ts +0 -7
  102. package/dist/frameworks/vue/utils.d.ts.map +0 -1
  103. package/dist/frameworks/vue/utils.js +0 -8
  104. package/dist/helpers/file.d.ts +0 -7
  105. package/dist/helpers/file.d.ts.map +0 -1
  106. package/dist/helpers/file.js +0 -30
  107. package/dist/helpers/memoization.d.ts +0 -9
  108. package/dist/helpers/memoization.d.ts.map +0 -1
  109. package/dist/helpers/memoization.js +0 -24
  110. package/dist/primitives/accordion.d.ts +0 -27
  111. package/dist/primitives/accordion.d.ts.map +0 -1
  112. package/dist/primitives/accordion.js +0 -12
  113. package/dist/primitives/action-button.d.ts +0 -10
  114. package/dist/primitives/action-button.d.ts.map +0 -1
  115. package/dist/primitives/action-button.js +0 -14
  116. package/dist/primitives/alert-dialog.d.ts +0 -57
  117. package/dist/primitives/alert-dialog.d.ts.map +0 -1
  118. package/dist/primitives/alert-dialog.js +0 -25
  119. package/dist/primitives/alert.d.ts +0 -11
  120. package/dist/primitives/alert.d.ts.map +0 -1
  121. package/dist/primitives/alert.js +0 -32
  122. package/dist/primitives/apply-typography.d.ts +0 -8
  123. package/dist/primitives/apply-typography.d.ts.map +0 -1
  124. package/dist/primitives/apply-typography.js +0 -36
  125. package/dist/primitives/aspect-ratio.d.ts +0 -4
  126. package/dist/primitives/aspect-ratio.d.ts.map +0 -1
  127. package/dist/primitives/aspect-ratio.js +0 -4
  128. package/dist/primitives/avatar.d.ts +0 -25
  129. package/dist/primitives/avatar.d.ts.map +0 -1
  130. package/dist/primitives/avatar.js +0 -10
  131. package/dist/primitives/badge.d.ts +0 -11
  132. package/dist/primitives/badge.d.ts.map +0 -1
  133. package/dist/primitives/badge.js +0 -28
  134. package/dist/primitives/breadcrumb.d.ts +0 -51
  135. package/dist/primitives/breadcrumb.d.ts.map +0 -1
  136. package/dist/primitives/breadcrumb.js +0 -22
  137. package/dist/primitives/breakpoint-indicator.d.ts +0 -4
  138. package/dist/primitives/breakpoint-indicator.d.ts.map +0 -1
  139. package/dist/primitives/breakpoint-indicator.js +0 -7
  140. package/dist/primitives/button-group.d.ts +0 -12
  141. package/dist/primitives/button-group.d.ts.map +0 -1
  142. package/dist/primitives/button-group.js +0 -28
  143. package/dist/primitives/button.d.ts +0 -14
  144. package/dist/primitives/button.d.ts.map +0 -1
  145. package/dist/primitives/button.js +0 -41
  146. package/dist/primitives/cal-embed.d.ts +0 -11
  147. package/dist/primitives/cal-embed.d.ts.map +0 -1
  148. package/dist/primitives/cal-embed.js +0 -38
  149. package/dist/primitives/calendar.d.ts +0 -11
  150. package/dist/primitives/calendar.d.ts.map +0 -1
  151. package/dist/primitives/calendar.js +0 -58
  152. package/dist/primitives/card.d.ts +0 -10
  153. package/dist/primitives/card.d.ts.map +0 -1
  154. package/dist/primitives/card.js +0 -24
  155. package/dist/primitives/carousel.d.ts +0 -19
  156. package/dist/primitives/carousel.d.ts.map +0 -1
  157. package/dist/primitives/carousel.js +0 -95
  158. package/dist/primitives/chart.d.ts +0 -41
  159. package/dist/primitives/chart.d.ts.map +0 -1
  160. package/dist/primitives/chart.js +0 -128
  161. package/dist/primitives/charts/area/chart-area-axes.d.ts +0 -3
  162. package/dist/primitives/charts/area/chart-area-axes.d.ts.map +0 -1
  163. package/dist/primitives/charts/area/chart-area-axes.js +0 -31
  164. package/dist/primitives/charts/area/chart-area-default.d.ts +0 -3
  165. package/dist/primitives/charts/area/chart-area-default.d.ts.map +0 -1
  166. package/dist/primitives/charts/area/chart-area-default.js +0 -27
  167. package/dist/primitives/charts/area/chart-area-gradient.d.ts +0 -3
  168. package/dist/primitives/charts/area/chart-area-gradient.d.ts.map +0 -1
  169. package/dist/primitives/charts/area/chart-area-gradient.js +0 -31
  170. package/dist/primitives/charts/area/chart-area-icons.d.ts +0 -3
  171. package/dist/primitives/charts/area/chart-area-icons.d.ts.map +0 -1
  172. package/dist/primitives/charts/area/chart-area-icons.js +0 -33
  173. package/dist/primitives/charts/area/chart-area-interactive.d.ts +0 -3
  174. package/dist/primitives/charts/area/chart-area-interactive.d.ts.map +0 -1
  175. package/dist/primitives/charts/area/chart-area-interactive.js +0 -143
  176. package/dist/primitives/charts/area/chart-area-legend.d.ts +0 -3
  177. package/dist/primitives/charts/area/chart-area-legend.d.ts.map +0 -1
  178. package/dist/primitives/charts/area/chart-area-legend.js +0 -31
  179. package/dist/primitives/charts/area/chart-area-linear.d.ts +0 -3
  180. package/dist/primitives/charts/area/chart-area-linear.d.ts.map +0 -1
  181. package/dist/primitives/charts/area/chart-area-linear.js +0 -27
  182. package/dist/primitives/charts/area/chart-area-stacked-expand.d.ts +0 -3
  183. package/dist/primitives/charts/area/chart-area-stacked-expand.d.ts.map +0 -1
  184. package/dist/primitives/charts/area/chart-area-stacked-expand.js +0 -36
  185. package/dist/primitives/charts/area/chart-area-stacked.d.ts +0 -3
  186. package/dist/primitives/charts/area/chart-area-stacked.d.ts.map +0 -1
  187. package/dist/primitives/charts/area/chart-area-stacked.js +0 -31
  188. package/dist/primitives/charts/area/chart-area-step.d.ts +0 -3
  189. package/dist/primitives/charts/area/chart-area-step.d.ts.map +0 -1
  190. package/dist/primitives/charts/area/chart-area-step.js +0 -28
  191. package/dist/primitives/charts/area/index.d.ts +0 -11
  192. package/dist/primitives/charts/area/index.d.ts.map +0 -1
  193. package/dist/primitives/charts/area/index.js +0 -11
  194. package/dist/primitives/charts/bar/chart-bar-active.d.ts +0 -3
  195. package/dist/primitives/charts/bar/chart-bar-active.d.ts.map +0 -1
  196. package/dist/primitives/charts/bar/chart-bar-active.js +0 -44
  197. package/dist/primitives/charts/bar/chart-bar-default.d.ts +0 -3
  198. package/dist/primitives/charts/bar/chart-bar-default.d.ts.map +0 -1
  199. package/dist/primitives/charts/bar/chart-bar-default.js +0 -24
  200. package/dist/primitives/charts/bar/chart-bar-horizontal.d.ts +0 -3
  201. package/dist/primitives/charts/bar/chart-bar-horizontal.d.ts.map +0 -1
  202. package/dist/primitives/charts/bar/chart-bar-horizontal.js +0 -26
  203. package/dist/primitives/charts/bar/chart-bar-interactive.d.ts +0 -3
  204. package/dist/primitives/charts/bar/chart-bar-interactive.d.ts.map +0 -1
  205. package/dist/primitives/charts/bar/chart-bar-interactive.js +0 -139
  206. package/dist/primitives/charts/bar/chart-bar-label-custom.d.ts +0 -3
  207. package/dist/primitives/charts/bar/chart-bar-label-custom.d.ts.map +0 -1
  208. package/dist/primitives/charts/bar/chart-bar-label-custom.js +0 -33
  209. package/dist/primitives/charts/bar/chart-bar-label.d.ts +0 -3
  210. package/dist/primitives/charts/bar/chart-bar-label.d.ts.map +0 -1
  211. package/dist/primitives/charts/bar/chart-bar-label.js +0 -26
  212. package/dist/primitives/charts/bar/chart-bar-mixed.d.ts +0 -3
  213. package/dist/primitives/charts/bar/chart-bar-mixed.d.ts.map +0 -1
  214. package/dist/primitives/charts/bar/chart-bar-mixed.js +0 -44
  215. package/dist/primitives/charts/bar/chart-bar-multiple.d.ts +0 -3
  216. package/dist/primitives/charts/bar/chart-bar-multiple.d.ts.map +0 -1
  217. package/dist/primitives/charts/bar/chart-bar-multiple.js +0 -28
  218. package/dist/primitives/charts/bar/chart-bar-negative.d.ts +0 -3
  219. package/dist/primitives/charts/bar/chart-bar-negative.d.ts.map +0 -1
  220. package/dist/primitives/charts/bar/chart-bar-negative.js +0 -25
  221. package/dist/primitives/charts/bar/chart-bar-stacked.d.ts +0 -3
  222. package/dist/primitives/charts/bar/chart-bar-stacked.d.ts.map +0 -1
  223. package/dist/primitives/charts/bar/chart-bar-stacked.js +0 -28
  224. package/dist/primitives/charts/bar/index.d.ts +0 -11
  225. package/dist/primitives/charts/bar/index.d.ts.map +0 -1
  226. package/dist/primitives/charts/bar/index.js +0 -11
  227. package/dist/primitives/charts/index.d.ts +0 -8
  228. package/dist/primitives/charts/index.d.ts.map +0 -1
  229. package/dist/primitives/charts/index.js +0 -11
  230. package/dist/primitives/charts/line/chart-line-default.d.ts +0 -3
  231. package/dist/primitives/charts/line/chart-line-default.d.ts.map +0 -1
  232. package/dist/primitives/charts/line/chart-line-default.js +0 -27
  233. package/dist/primitives/charts/line/chart-line-dots-colors.d.ts +0 -3
  234. package/dist/primitives/charts/line/chart-line-dots-colors.d.ts.map +0 -1
  235. package/dist/primitives/charts/line/chart-line-dots-colors.js +0 -49
  236. package/dist/primitives/charts/line/chart-line-dots-custom.d.ts +0 -3
  237. package/dist/primitives/charts/line/chart-line-dots-custom.d.ts.map +0 -1
  238. package/dist/primitives/charts/line/chart-line-dots-custom.js +0 -34
  239. package/dist/primitives/charts/line/chart-line-dots.d.ts +0 -3
  240. package/dist/primitives/charts/line/chart-line-dots.d.ts.map +0 -1
  241. package/dist/primitives/charts/line/chart-line-dots.js +0 -35
  242. package/dist/primitives/charts/line/chart-line-interactive.d.ts +0 -3
  243. package/dist/primitives/charts/line/chart-line-interactive.d.ts.map +0 -1
  244. package/dist/primitives/charts/line/chart-line-interactive.js +0 -139
  245. package/dist/primitives/charts/line/chart-line-label-custom.d.ts +0 -3
  246. package/dist/primitives/charts/line/chart-line-label-custom.d.ts.map +0 -1
  247. package/dist/primitives/charts/line/chart-line-label-custom.js +0 -51
  248. package/dist/primitives/charts/line/chart-line-label.d.ts +0 -3
  249. package/dist/primitives/charts/line/chart-line-label.d.ts.map +0 -1
  250. package/dist/primitives/charts/line/chart-line-label.js +0 -36
  251. package/dist/primitives/charts/line/chart-line-linear.d.ts +0 -3
  252. package/dist/primitives/charts/line/chart-line-linear.d.ts.map +0 -1
  253. package/dist/primitives/charts/line/chart-line-linear.js +0 -27
  254. package/dist/primitives/charts/line/chart-line-multiple.d.ts +0 -3
  255. package/dist/primitives/charts/line/chart-line-multiple.d.ts.map +0 -1
  256. package/dist/primitives/charts/line/chart-line-multiple.js +0 -31
  257. package/dist/primitives/charts/line/chart-line-step.d.ts +0 -3
  258. package/dist/primitives/charts/line/chart-line-step.d.ts.map +0 -1
  259. package/dist/primitives/charts/line/chart-line-step.js +0 -27
  260. package/dist/primitives/charts/line/index.d.ts +0 -11
  261. package/dist/primitives/charts/line/index.d.ts.map +0 -1
  262. package/dist/primitives/charts/line/index.js +0 -11
  263. package/dist/primitives/charts/pie/chart-pie-donut-active.d.ts +0 -3
  264. package/dist/primitives/charts/pie/chart-pie-donut-active.d.ts.map +0 -1
  265. package/dist/primitives/charts/pie/chart-pie-donut-active.js +0 -42
  266. package/dist/primitives/charts/pie/chart-pie-donut-text.d.ts +0 -3
  267. package/dist/primitives/charts/pie/chart-pie-donut-text.d.ts.map +0 -1
  268. package/dist/primitives/charts/pie/chart-pie-donut-text.js +0 -50
  269. package/dist/primitives/charts/pie/chart-pie-donut.d.ts +0 -3
  270. package/dist/primitives/charts/pie/chart-pie-donut.d.ts.map +0 -1
  271. package/dist/primitives/charts/pie/chart-pie-donut.js +0 -42
  272. package/dist/primitives/charts/pie/chart-pie-interactive.d.ts +0 -3
  273. package/dist/primitives/charts/pie/chart-pie-interactive.d.ts.map +0 -1
  274. package/dist/primitives/charts/pie/chart-pie-interactive.js +0 -65
  275. package/dist/primitives/charts/pie/chart-pie-label-custom.d.ts +0 -3
  276. package/dist/primitives/charts/pie/chart-pie-label-custom.d.ts.map +0 -1
  277. package/dist/primitives/charts/pie/chart-pie-label-custom.js +0 -44
  278. package/dist/primitives/charts/pie/chart-pie-label-list.d.ts +0 -3
  279. package/dist/primitives/charts/pie/chart-pie-label-list.d.ts.map +0 -1
  280. package/dist/primitives/charts/pie/chart-pie-label-list.js +0 -42
  281. package/dist/primitives/charts/pie/chart-pie-label.d.ts +0 -3
  282. package/dist/primitives/charts/pie/chart-pie-label.d.ts.map +0 -1
  283. package/dist/primitives/charts/pie/chart-pie-label.js +0 -42
  284. package/dist/primitives/charts/pie/chart-pie-legend.d.ts +0 -3
  285. package/dist/primitives/charts/pie/chart-pie-legend.d.ts.map +0 -1
  286. package/dist/primitives/charts/pie/chart-pie-legend.js +0 -41
  287. package/dist/primitives/charts/pie/chart-pie-separator-none.d.ts +0 -3
  288. package/dist/primitives/charts/pie/chart-pie-separator-none.d.ts.map +0 -1
  289. package/dist/primitives/charts/pie/chart-pie-separator-none.js +0 -42
  290. package/dist/primitives/charts/pie/index.d.ts +0 -10
  291. package/dist/primitives/charts/pie/index.d.ts.map +0 -1
  292. package/dist/primitives/charts/pie/index.js +0 -10
  293. package/dist/primitives/charts/radar/chart-radar-default.d.ts +0 -3
  294. package/dist/primitives/charts/radar/chart-radar-default.d.ts.map +0 -1
  295. package/dist/primitives/charts/radar/chart-radar-default.js +0 -24
  296. package/dist/primitives/charts/radar/chart-radar-dots.d.ts +0 -3
  297. package/dist/primitives/charts/radar/chart-radar-dots.d.ts.map +0 -1
  298. package/dist/primitives/charts/radar/chart-radar-dots.js +0 -27
  299. package/dist/primitives/charts/radar/chart-radar-grid-circle-fill.d.ts +0 -3
  300. package/dist/primitives/charts/radar/chart-radar-grid-circle-fill.d.ts.map +0 -1
  301. package/dist/primitives/charts/radar/chart-radar-grid-circle-fill.js +0 -24
  302. package/dist/primitives/charts/radar/chart-radar-grid-circle-no-lines.d.ts +0 -3
  303. package/dist/primitives/charts/radar/chart-radar-grid-circle-no-lines.d.ts.map +0 -1
  304. package/dist/primitives/charts/radar/chart-radar-grid-circle-no-lines.js +0 -27
  305. package/dist/primitives/charts/radar/chart-radar-grid-circle.d.ts +0 -3
  306. package/dist/primitives/charts/radar/chart-radar-grid-circle.d.ts.map +0 -1
  307. package/dist/primitives/charts/radar/chart-radar-grid-circle.js +0 -27
  308. package/dist/primitives/charts/radar/chart-radar-grid-custom.d.ts +0 -3
  309. package/dist/primitives/charts/radar/chart-radar-grid-custom.d.ts.map +0 -1
  310. package/dist/primitives/charts/radar/chart-radar-grid-custom.js +0 -24
  311. package/dist/primitives/charts/radar/chart-radar-grid-fill.d.ts +0 -3
  312. package/dist/primitives/charts/radar/chart-radar-grid-fill.d.ts.map +0 -1
  313. package/dist/primitives/charts/radar/chart-radar-grid-fill.js +0 -24
  314. package/dist/primitives/charts/radar/chart-radar-grid-none.d.ts +0 -3
  315. package/dist/primitives/charts/radar/chart-radar-grid-none.d.ts.map +0 -1
  316. package/dist/primitives/charts/radar/chart-radar-grid-none.js +0 -27
  317. package/dist/primitives/charts/radar/chart-radar-icons.d.ts +0 -3
  318. package/dist/primitives/charts/radar/chart-radar-icons.d.ts.map +0 -1
  319. package/dist/primitives/charts/radar/chart-radar-icons.js +0 -33
  320. package/dist/primitives/charts/radar/index.d.ts +0 -10
  321. package/dist/primitives/charts/radar/index.d.ts.map +0 -1
  322. package/dist/primitives/charts/radar/index.js +0 -10
  323. package/dist/primitives/charts/radial/chart-radial-grid.d.ts +0 -3
  324. package/dist/primitives/charts/radial/chart-radial-grid.d.ts.map +0 -1
  325. package/dist/primitives/charts/radial/chart-radial-grid.js +0 -42
  326. package/dist/primitives/charts/radial/chart-radial-label.d.ts +0 -3
  327. package/dist/primitives/charts/radial/chart-radial-label.d.ts.map +0 -1
  328. package/dist/primitives/charts/radial/chart-radial-label.js +0 -42
  329. package/dist/primitives/charts/radial/chart-radial-shape.d.ts +0 -3
  330. package/dist/primitives/charts/radial/chart-radial-shape.d.ts.map +0 -1
  331. package/dist/primitives/charts/radial/chart-radial-shape.js +0 -26
  332. package/dist/primitives/charts/radial/chart-radial-simple.d.ts +0 -3
  333. package/dist/primitives/charts/radial/chart-radial-simple.d.ts.map +0 -1
  334. package/dist/primitives/charts/radial/chart-radial-simple.js +0 -42
  335. package/dist/primitives/charts/radial/chart-radial-stacked.d.ts +0 -3
  336. package/dist/primitives/charts/radial/chart-radial-stacked.d.ts.map +0 -1
  337. package/dist/primitives/charts/radial/chart-radial-stacked.js +0 -26
  338. package/dist/primitives/charts/radial/chart-radial-text.d.ts +0 -3
  339. package/dist/primitives/charts/radial/chart-radial-text.d.ts.map +0 -1
  340. package/dist/primitives/charts/radial/chart-radial-text.js +0 -26
  341. package/dist/primitives/charts/radial/index.d.ts +0 -7
  342. package/dist/primitives/charts/radial/index.d.ts.map +0 -1
  343. package/dist/primitives/charts/radial/index.js +0 -7
  344. package/dist/primitives/charts/tooltip/chart-tooltip-advanced.d.ts +0 -3
  345. package/dist/primitives/charts/tooltip/chart-tooltip-advanced.d.ts.map +0 -1
  346. package/dist/primitives/charts/tooltip/chart-tooltip-advanced.js +0 -34
  347. package/dist/primitives/charts/tooltip/chart-tooltip-default.d.ts +0 -5
  348. package/dist/primitives/charts/tooltip/chart-tooltip-default.d.ts.map +0 -1
  349. package/dist/primitives/charts/tooltip/chart-tooltip-default.js +0 -33
  350. package/dist/primitives/charts/tooltip/chart-tooltip-formatter.d.ts +0 -3
  351. package/dist/primitives/charts/tooltip/chart-tooltip-formatter.d.ts.map +0 -1
  352. package/dist/primitives/charts/tooltip/chart-tooltip-formatter.js +0 -32
  353. package/dist/primitives/charts/tooltip/chart-tooltip-icons.d.ts +0 -3
  354. package/dist/primitives/charts/tooltip/chart-tooltip-icons.d.ts.map +0 -1
  355. package/dist/primitives/charts/tooltip/chart-tooltip-icons.js +0 -34
  356. package/dist/primitives/charts/tooltip/chart-tooltip-indicator-line.d.ts +0 -5
  357. package/dist/primitives/charts/tooltip/chart-tooltip-indicator-line.d.ts.map +0 -1
  358. package/dist/primitives/charts/tooltip/chart-tooltip-indicator-line.js +0 -33
  359. package/dist/primitives/charts/tooltip/chart-tooltip-indicator-none.d.ts +0 -3
  360. package/dist/primitives/charts/tooltip/chart-tooltip-indicator-none.d.ts.map +0 -1
  361. package/dist/primitives/charts/tooltip/chart-tooltip-indicator-none.js +0 -31
  362. package/dist/primitives/charts/tooltip/chart-tooltip-label-custom.d.ts +0 -3
  363. package/dist/primitives/charts/tooltip/chart-tooltip-label-custom.d.ts.map +0 -1
  364. package/dist/primitives/charts/tooltip/chart-tooltip-label-custom.js +0 -34
  365. package/dist/primitives/charts/tooltip/chart-tooltip-label-formatter.d.ts +0 -3
  366. package/dist/primitives/charts/tooltip/chart-tooltip-label-formatter.d.ts.map +0 -1
  367. package/dist/primitives/charts/tooltip/chart-tooltip-label-formatter.js +0 -37
  368. package/dist/primitives/charts/tooltip/chart-tooltip-label-none.d.ts +0 -3
  369. package/dist/primitives/charts/tooltip/chart-tooltip-label-none.d.ts.map +0 -1
  370. package/dist/primitives/charts/tooltip/chart-tooltip-label-none.js +0 -31
  371. package/dist/primitives/charts/tooltip/index.d.ts +0 -10
  372. package/dist/primitives/charts/tooltip/index.d.ts.map +0 -1
  373. package/dist/primitives/charts/tooltip/index.js +0 -10
  374. package/dist/primitives/chat/chat-input-area.d.ts +0 -24
  375. package/dist/primitives/chat/chat-input-area.d.ts.map +0 -1
  376. package/dist/primitives/chat/chat-input-area.js +0 -23
  377. package/dist/primitives/chat/chat-input.d.ts +0 -13
  378. package/dist/primitives/chat/chat-input.d.ts.map +0 -1
  379. package/dist/primitives/chat/chat-input.js +0 -33
  380. package/dist/primitives/chat/json-form.d.ts +0 -4
  381. package/dist/primitives/chat/json-form.d.ts.map +0 -1
  382. package/dist/primitives/chat/json-form.js +0 -6
  383. package/dist/primitives/checkbox.d.ts +0 -12
  384. package/dist/primitives/checkbox.d.ts.map +0 -1
  385. package/dist/primitives/checkbox.js +0 -8
  386. package/dist/primitives/collapsible.d.ts +0 -6
  387. package/dist/primitives/collapsible.d.ts.map +0 -1
  388. package/dist/primitives/collapsible.js +0 -5
  389. package/dist/primitives/combobox.d.ts +0 -42
  390. package/dist/primitives/combobox.d.ts.map +0 -1
  391. package/dist/primitives/combobox.js +0 -49
  392. package/dist/primitives/command.d.ts +0 -39
  393. package/dist/primitives/command.d.ts.map +0 -1
  394. package/dist/primitives/command.js +0 -28
  395. package/dist/primitives/context-menu.d.ts +0 -54
  396. package/dist/primitives/context-menu.d.ts.map +0 -1
  397. package/dist/primitives/context-menu.js +0 -32
  398. package/dist/primitives/copy-to-clipboard-icon.d.ts +0 -15
  399. package/dist/primitives/copy-to-clipboard-icon.d.ts.map +0 -1
  400. package/dist/primitives/copy-to-clipboard-icon.js +0 -21
  401. package/dist/primitives/dialog-video-controller.d.ts +0 -4
  402. package/dist/primitives/dialog-video-controller.d.ts.map +0 -1
  403. package/dist/primitives/dialog-video-controller.js +0 -23
  404. package/dist/primitives/dialog.d.ts +0 -18
  405. package/dist/primitives/dialog.d.ts.map +0 -1
  406. package/dist/primitives/dialog.js +0 -37
  407. package/dist/primitives/dot-pattern.d.ts +0 -14
  408. package/dist/primitives/dot-pattern.d.ts.map +0 -1
  409. package/dist/primitives/dot-pattern.js +0 -8
  410. package/dist/primitives/dots-loader.d.ts +0 -5
  411. package/dist/primitives/dots-loader.d.ts.map +0 -1
  412. package/dist/primitives/dots-loader.js +0 -5
  413. package/dist/primitives/drawer.d.ts +0 -38
  414. package/dist/primitives/drawer.d.ts.map +0 -1
  415. package/dist/primitives/drawer.js +0 -22
  416. package/dist/primitives/dropdown-menu.d.ts +0 -52
  417. package/dist/primitives/dropdown-menu.d.ts.map +0 -1
  418. package/dist/primitives/dropdown-menu.js +0 -34
  419. package/dist/primitives/empty.d.ts +0 -12
  420. package/dist/primitives/empty.d.ts.map +0 -1
  421. package/dist/primitives/empty.js +0 -33
  422. package/dist/primitives/error-message.d.ts +0 -7
  423. package/dist/primitives/error-message.d.ts.map +0 -1
  424. package/dist/primitives/error-message.js +0 -5
  425. package/dist/primitives/field.d.ts +0 -10
  426. package/dist/primitives/field.d.ts.map +0 -1
  427. package/dist/primitives/field.js +0 -16
  428. package/dist/primitives/file-uploader.d.ts +0 -20
  429. package/dist/primitives/file-uploader.d.ts.map +0 -1
  430. package/dist/primitives/file-uploader.js +0 -68
  431. package/dist/primitives/form.d.ts +0 -40
  432. package/dist/primitives/form.d.ts.map +0 -1
  433. package/dist/primitives/form.js +0 -67
  434. package/dist/primitives/hover-card.d.ts +0 -10
  435. package/dist/primitives/hover-card.d.ts.map +0 -1
  436. package/dist/primitives/hover-card.js +0 -8
  437. package/dist/primitives/icons/github.d.ts +0 -5
  438. package/dist/primitives/icons/github.d.ts.map +0 -1
  439. package/dist/primitives/icons/github.js +0 -3
  440. package/dist/primitives/icons/index.d.ts +0 -5
  441. package/dist/primitives/icons/index.d.ts.map +0 -1
  442. package/dist/primitives/icons/index.js +0 -4
  443. package/dist/primitives/icons/youtube-logo.d.ts +0 -5
  444. package/dist/primitives/icons/youtube-logo.d.ts.map +0 -1
  445. package/dist/primitives/icons/youtube-logo.js +0 -33
  446. package/dist/primitives/index-blocks.d.ts +0 -5
  447. package/dist/primitives/index-blocks.d.ts.map +0 -1
  448. package/dist/primitives/index-blocks.js +0 -6
  449. package/dist/primitives/index-common.d.ts +0 -75
  450. package/dist/primitives/index-common.d.ts.map +0 -1
  451. package/dist/primitives/index-common.js +0 -82
  452. package/dist/primitives/index-core.d.ts +0 -29
  453. package/dist/primitives/index-core.d.ts.map +0 -1
  454. package/dist/primitives/index-core.js +0 -30
  455. package/dist/primitives/index-next.d.ts +0 -3
  456. package/dist/primitives/index-next.d.ts.map +0 -1
  457. package/dist/primitives/index-next.js +0 -4
  458. package/dist/primitives/index-standard.d.ts +0 -79
  459. package/dist/primitives/index-standard.d.ts.map +0 -1
  460. package/dist/primitives/index-standard.js +0 -98
  461. package/dist/primitives/input-group.d.ts +0 -17
  462. package/dist/primitives/input-group.d.ts.map +0 -1
  463. package/dist/primitives/input-group.js +0 -61
  464. package/dist/primitives/input-otp.d.ts +0 -35
  465. package/dist/primitives/input-otp.d.ts.map +0 -1
  466. package/dist/primitives/input-otp.js +0 -19
  467. package/dist/primitives/input.d.ts +0 -15
  468. package/dist/primitives/input.d.ts.map +0 -1
  469. package/dist/primitives/input.js +0 -43
  470. package/dist/primitives/item.d.ts +0 -24
  471. package/dist/primitives/item.d.ts.map +0 -1
  472. package/dist/primitives/item.js +0 -67
  473. package/dist/primitives/kbd.d.ts +0 -5
  474. package/dist/primitives/kbd.d.ts.map +0 -1
  475. package/dist/primitives/kbd.js +0 -9
  476. package/dist/primitives/label.d.ts +0 -11
  477. package/dist/primitives/label.d.ts.map +0 -1
  478. package/dist/primitives/label.js +0 -9
  479. package/dist/primitives/list-adaptor.d.ts +0 -10
  480. package/dist/primitives/list-adaptor.d.ts.map +0 -1
  481. package/dist/primitives/list-adaptor.js +0 -1
  482. package/dist/primitives/list-box.d.ts +0 -12
  483. package/dist/primitives/list-box.d.ts.map +0 -1
  484. package/dist/primitives/list-box.js +0 -10
  485. package/dist/primitives/loading-spinner.d.ts +0 -6
  486. package/dist/primitives/loading-spinner.d.ts.map +0 -1
  487. package/dist/primitives/loading-spinner.js +0 -7
  488. package/dist/primitives/markdown-preview.d.ts +0 -129
  489. package/dist/primitives/markdown-preview.d.ts.map +0 -1
  490. package/dist/primitives/markdown-preview.js +0 -165
  491. package/dist/primitives/menubar.d.ts +0 -29
  492. package/dist/primitives/menubar.d.ts.map +0 -1
  493. package/dist/primitives/menubar.js +0 -46
  494. package/dist/primitives/mermaid.d.ts +0 -8
  495. package/dist/primitives/mermaid.d.ts.map +0 -1
  496. package/dist/primitives/mermaid.js +0 -112
  497. package/dist/primitives/native-select.d.ts +0 -9
  498. package/dist/primitives/native-select.d.ts.map +0 -1
  499. package/dist/primitives/native-select.js +0 -14
  500. package/dist/primitives/navigation-menu.d.ts +0 -13
  501. package/dist/primitives/navigation-menu.d.ts.map +0 -1
  502. package/dist/primitives/navigation-menu.js +0 -29
  503. package/dist/primitives/next/image.d.ts +0 -12
  504. package/dist/primitives/next/image.d.ts.map +0 -1
  505. package/dist/primitives/next/image.js +0 -40
  506. package/dist/primitives/next/index.d.ts +0 -8
  507. package/dist/primitives/next/index.d.ts.map +0 -1
  508. package/dist/primitives/next/index.js +0 -7
  509. package/dist/primitives/next/inline-icon.d.ts +0 -14
  510. package/dist/primitives/next/inline-icon.d.ts.map +0 -1
  511. package/dist/primitives/next/inline-icon.js +0 -13
  512. package/dist/primitives/next/link-element.d.ts +0 -24
  513. package/dist/primitives/next/link-element.d.ts.map +0 -1
  514. package/dist/primitives/next/link-element.js +0 -47
  515. package/dist/primitives/next/mdx-link.d.ts +0 -4
  516. package/dist/primitives/next/mdx-link.d.ts.map +0 -1
  517. package/dist/primitives/next/mdx-link.js +0 -10
  518. package/dist/primitives/next/media-stack.d.ts +0 -9
  519. package/dist/primitives/next/media-stack.d.ts.map +0 -1
  520. package/dist/primitives/next/media-stack.js +0 -20
  521. package/dist/primitives/next/nav-items.d.ts +0 -11
  522. package/dist/primitives/next/nav-items.d.ts.map +0 -1
  523. package/dist/primitives/next/nav-items.js +0 -22
  524. package/dist/primitives/next/youtube-embed.d.ts +0 -12
  525. package/dist/primitives/next/youtube-embed.d.ts.map +0 -1
  526. package/dist/primitives/next/youtube-embed.js +0 -16
  527. package/dist/primitives/popover.d.ts +0 -12
  528. package/dist/primitives/popover.d.ts.map +0 -1
  529. package/dist/primitives/popover.js +0 -10
  530. package/dist/primitives/pretty-json-print.d.ts +0 -5
  531. package/dist/primitives/pretty-json-print.d.ts.map +0 -1
  532. package/dist/primitives/pretty-json-print.js +0 -22
  533. package/dist/primitives/progress.d.ts +0 -9
  534. package/dist/primitives/progress.d.ts.map +0 -1
  535. package/dist/primitives/progress.js +0 -7
  536. package/dist/primitives/prompt-textarea.d.ts +0 -19
  537. package/dist/primitives/prompt-textarea.d.ts.map +0 -1
  538. package/dist/primitives/prompt-textarea.js +0 -30
  539. package/dist/primitives/radio-group.d.ts +0 -12
  540. package/dist/primitives/radio-group.d.ts.map +0 -1
  541. package/dist/primitives/radio-group.js +0 -14
  542. package/dist/primitives/resizable.d.ts +0 -8
  543. package/dist/primitives/resizable.d.ts.map +0 -1
  544. package/dist/primitives/resizable.js +0 -8
  545. package/dist/primitives/scroll-area.d.ts +0 -14
  546. package/dist/primitives/scroll-area.d.ts.map +0 -1
  547. package/dist/primitives/scroll-area.js +0 -10
  548. package/dist/primitives/search-input.d.ts +0 -14
  549. package/dist/primitives/search-input.d.ts.map +0 -1
  550. package/dist/primitives/search-input.js +0 -16
  551. package/dist/primitives/select.d.ts +0 -27
  552. package/dist/primitives/select.d.ts.map +0 -1
  553. package/dist/primitives/select.js +0 -21
  554. package/dist/primitives/separator.d.ts +0 -9
  555. package/dist/primitives/separator.d.ts.map +0 -1
  556. package/dist/primitives/separator.js +0 -7
  557. package/dist/primitives/sheet.d.ts +0 -41
  558. package/dist/primitives/sheet.d.ts.map +0 -1
  559. package/dist/primitives/sheet.js +0 -35
  560. package/dist/primitives/skeleton.d.ts +0 -5
  561. package/dist/primitives/skeleton.d.ts.map +0 -1
  562. package/dist/primitives/skeleton.js +0 -7
  563. package/dist/primitives/slider.d.ts +0 -6
  564. package/dist/primitives/slider.d.ts.map +0 -1
  565. package/dist/primitives/slider.js +0 -15
  566. package/dist/primitives/sonner.d.ts +0 -6
  567. package/dist/primitives/sonner.d.ts.map +0 -1
  568. package/dist/primitives/sonner.js +0 -17
  569. package/dist/primitives/spinner.d.ts +0 -3
  570. package/dist/primitives/spinner.d.ts.map +0 -1
  571. package/dist/primitives/spinner.js +0 -7
  572. package/dist/primitives/step-indicator.d.ts +0 -10
  573. package/dist/primitives/step-indicator.d.ts.map +0 -1
  574. package/dist/primitives/step-indicator.js +0 -13
  575. package/dist/primitives/stepper.d.ts +0 -49
  576. package/dist/primitives/stepper.d.ts.map +0 -1
  577. package/dist/primitives/stepper.js +0 -75
  578. package/dist/primitives/switch.d.ts +0 -9
  579. package/dist/primitives/switch.d.ts.map +0 -1
  580. package/dist/primitives/switch.js +0 -7
  581. package/dist/primitives/table.d.ts +0 -35
  582. package/dist/primitives/table.d.ts.map +0 -1
  583. package/dist/primitives/table.js +0 -19
  584. package/dist/primitives/tabs.d.ts +0 -12
  585. package/dist/primitives/tabs.d.ts.map +0 -1
  586. package/dist/primitives/tabs.js +0 -35
  587. package/dist/primitives/text-area.d.ts +0 -6
  588. package/dist/primitives/text-area.d.ts.map +0 -1
  589. package/dist/primitives/text-area.js +0 -10
  590. package/dist/primitives/text-link.d.ts +0 -6
  591. package/dist/primitives/text-link.d.ts.map +0 -1
  592. package/dist/primitives/text-link.js +0 -5
  593. package/dist/primitives/textarea.d.ts +0 -13
  594. package/dist/primitives/textarea.d.ts.map +0 -1
  595. package/dist/primitives/textarea.js +0 -28
  596. package/dist/primitives/textfield.d.ts +0 -33
  597. package/dist/primitives/textfield.d.ts.map +0 -1
  598. package/dist/primitives/textfield.js +0 -9
  599. package/dist/primitives/toast.d.ts +0 -6
  600. package/dist/primitives/toast.d.ts.map +0 -1
  601. package/dist/primitives/toast.js +0 -13
  602. package/dist/primitives/toggle-group.d.ts +0 -14
  603. package/dist/primitives/toggle-group.d.ts.map +0 -1
  604. package/dist/primitives/toggle-group.js +0 -20
  605. package/dist/primitives/toggle.d.ts +0 -13
  606. package/dist/primitives/toggle.d.ts.map +0 -1
  607. package/dist/primitives/toggle.js +0 -24
  608. package/dist/primitives/tooltip.d.ts +0 -15
  609. package/dist/primitives/tooltip.d.ts.map +0 -1
  610. package/dist/primitives/tooltip.js +0 -11
  611. package/dist/primitives/video-player.d.ts +0 -7
  612. package/dist/primitives/video-player.d.ts.map +0 -1
  613. package/dist/primitives/video-player.js +0 -7
  614. package/dist/primitives/youtube-pip-player.d.ts +0 -33
  615. package/dist/primitives/youtube-pip-player.d.ts.map +0 -1
  616. package/dist/primitives/youtube-pip-player.js +0 -253
  617. package/dist/src/3d/button.d.ts +0 -27
  618. package/dist/src/3d/button.d.ts.map +0 -1
  619. package/dist/src/3d/button.js +0 -181
  620. package/dist/src/3d/card.d.ts +0 -29
  621. package/dist/src/3d/card.d.ts.map +0 -1
  622. package/dist/src/3d/card.js +0 -117
  623. package/dist/src/3d/carousel.d.ts +0 -26
  624. package/dist/src/3d/carousel.d.ts.map +0 -1
  625. package/dist/src/3d/carousel.js +0 -171
  626. package/dist/src/3d/grid.d.ts +0 -49
  627. package/dist/src/3d/grid.d.ts.map +0 -1
  628. package/dist/src/3d/grid.js +0 -126
  629. package/dist/src/3d/index.d.ts +0 -7
  630. package/dist/src/3d/index.d.ts.map +0 -1
  631. package/dist/src/3d/index.js +0 -7
  632. package/dist/src/3d/marquee.d.ts +0 -37
  633. package/dist/src/3d/marquee.d.ts.map +0 -1
  634. package/dist/src/3d/marquee.js +0 -208
  635. package/dist/src/3d/pin.d.ts +0 -8
  636. package/dist/src/3d/pin.d.ts.map +0 -1
  637. package/dist/src/3d/pin.js +0 -9
  638. package/dist/src/avatar.d.ts +0 -2
  639. package/dist/src/avatar.d.ts.map +0 -1
  640. package/dist/src/avatar.js +0 -1
  641. package/dist/src/badge.d.ts +0 -2
  642. package/dist/src/badge.d.ts.map +0 -1
  643. package/dist/src/badge.js +0 -1
  644. package/dist/src/billing/components/account-members.d.ts +0 -10
  645. package/dist/src/billing/components/account-members.d.ts.map +0 -1
  646. package/dist/src/billing/components/account-members.js +0 -63
  647. package/dist/src/billing/components/account-switcher.d.ts +0 -9
  648. package/dist/src/billing/components/account-switcher.d.ts.map +0 -1
  649. package/dist/src/billing/components/account-switcher.js +0 -52
  650. package/dist/src/billing/components/animated-card.d.ts +0 -9
  651. package/dist/src/billing/components/animated-card.d.ts.map +0 -1
  652. package/dist/src/billing/components/animated-card.js +0 -161
  653. package/dist/src/billing/components/billing-settings.d.ts +0 -26
  654. package/dist/src/billing/components/billing-settings.d.ts.map +0 -1
  655. package/dist/src/billing/components/billing-settings.js +0 -23
  656. package/dist/src/billing/components/billing-workspace.d.ts +0 -28
  657. package/dist/src/billing/components/billing-workspace.d.ts.map +0 -1
  658. package/dist/src/billing/components/billing-workspace.js +0 -22
  659. package/dist/src/billing/components/business-profile-panel.d.ts +0 -7
  660. package/dist/src/billing/components/business-profile-panel.d.ts.map +0 -1
  661. package/dist/src/billing/components/business-profile-panel.js +0 -45
  662. package/dist/src/billing/components/card-form.d.ts +0 -18
  663. package/dist/src/billing/components/card-form.d.ts.map +0 -1
  664. package/dist/src/billing/components/card-form.js +0 -139
  665. package/dist/src/billing/components/cost-explorer.d.ts +0 -7
  666. package/dist/src/billing/components/cost-explorer.d.ts.map +0 -1
  667. package/dist/src/billing/components/cost-explorer.js +0 -73
  668. package/dist/src/billing/components/credits-panel.d.ts +0 -8
  669. package/dist/src/billing/components/credits-panel.d.ts.map +0 -1
  670. package/dist/src/billing/components/credits-panel.js +0 -58
  671. package/dist/src/billing/components/guided-setup.d.ts +0 -13
  672. package/dist/src/billing/components/guided-setup.d.ts.map +0 -1
  673. package/dist/src/billing/components/guided-setup.js +0 -44
  674. package/dist/src/billing/components/index.d.ts +0 -47
  675. package/dist/src/billing/components/index.d.ts.map +0 -1
  676. package/dist/src/billing/components/index.js +0 -23
  677. package/dist/src/billing/components/invoice-manager.d.ts +0 -10
  678. package/dist/src/billing/components/invoice-manager.d.ts.map +0 -1
  679. package/dist/src/billing/components/invoice-manager.js +0 -131
  680. package/dist/src/billing/components/invoices-payments.d.ts +0 -7
  681. package/dist/src/billing/components/invoices-payments.d.ts.map +0 -1
  682. package/dist/src/billing/components/invoices-payments.js +0 -44
  683. package/dist/src/billing/components/overview-dashboard.d.ts +0 -31
  684. package/dist/src/billing/components/overview-dashboard.d.ts.map +0 -1
  685. package/dist/src/billing/components/overview-dashboard.js +0 -105
  686. package/dist/src/billing/components/payment-manager.d.ts +0 -13
  687. package/dist/src/billing/components/payment-manager.d.ts.map +0 -1
  688. package/dist/src/billing/components/payment-manager.js +0 -330
  689. package/dist/src/billing/components/promotions-panel.d.ts +0 -7
  690. package/dist/src/billing/components/promotions-panel.d.ts.map +0 -1
  691. package/dist/src/billing/components/promotions-panel.js +0 -48
  692. package/dist/src/billing/components/spend-alerts.d.ts +0 -9
  693. package/dist/src/billing/components/spend-alerts.d.ts.map +0 -1
  694. package/dist/src/billing/components/spend-alerts.js +0 -99
  695. package/dist/src/billing/components/square-card-form.d.ts +0 -32
  696. package/dist/src/billing/components/square-card-form.d.ts.map +0 -1
  697. package/dist/src/billing/components/square-card-form.js +0 -179
  698. package/dist/src/billing/components/status-bar.d.ts +0 -12
  699. package/dist/src/billing/components/status-bar.d.ts.map +0 -1
  700. package/dist/src/billing/components/status-bar.js +0 -32
  701. package/dist/src/billing/components/subscription-portal.d.ts +0 -17
  702. package/dist/src/billing/components/subscription-portal.d.ts.map +0 -1
  703. package/dist/src/billing/components/subscription-portal.js +0 -185
  704. package/dist/src/billing/components/support-tiers-panel.d.ts +0 -6
  705. package/dist/src/billing/components/support-tiers-panel.d.ts.map +0 -1
  706. package/dist/src/billing/components/support-tiers-panel.js +0 -90
  707. package/dist/src/billing/components/tax-compliance-panel.d.ts +0 -8
  708. package/dist/src/billing/components/tax-compliance-panel.d.ts.map +0 -1
  709. package/dist/src/billing/components/tax-compliance-panel.js +0 -41
  710. package/dist/src/billing/components/transactions-panel.d.ts +0 -8
  711. package/dist/src/billing/components/transactions-panel.d.ts.map +0 -1
  712. package/dist/src/billing/components/transactions-panel.js +0 -64
  713. package/dist/src/billing/components/usage-panel.d.ts +0 -7
  714. package/dist/src/billing/components/usage-panel.d.ts.map +0 -1
  715. package/dist/src/billing/components/usage-panel.js +0 -64
  716. package/dist/src/billing/index.d.ts +0 -7
  717. package/dist/src/billing/index.d.ts.map +0 -1
  718. package/dist/src/billing/index.js +0 -8
  719. package/dist/src/billing/types/index.d.ts +0 -312
  720. package/dist/src/billing/types/index.d.ts.map +0 -1
  721. package/dist/src/billing/types/index.js +0 -1
  722. package/dist/src/button.d.ts +0 -2
  723. package/dist/src/button.d.ts.map +0 -1
  724. package/dist/src/button.js +0 -1
  725. package/dist/src/calendar-ext/index.d.ts +0 -4
  726. package/dist/src/calendar-ext/index.d.ts.map +0 -1
  727. package/dist/src/calendar-ext/index.js +0 -7
  728. package/dist/src/charts/index.d.ts +0 -65
  729. package/dist/src/charts/index.d.ts.map +0 -1
  730. package/dist/src/charts/index.js +0 -76
  731. package/dist/src/desktop/hooks.d.ts +0 -75
  732. package/dist/src/desktop/hooks.d.ts.map +0 -1
  733. package/dist/src/desktop/hooks.js +0 -194
  734. package/dist/src/desktop/index.d.ts +0 -7
  735. package/dist/src/desktop/index.d.ts.map +0 -1
  736. package/dist/src/desktop/index.js +0 -8
  737. package/dist/src/desktop/spotlight.d.ts +0 -24
  738. package/dist/src/desktop/spotlight.d.ts.map +0 -1
  739. package/dist/src/desktop/spotlight.js +0 -126
  740. package/dist/src/desktop/window.d.ts +0 -34
  741. package/dist/src/desktop/window.d.ts.map +0 -1
  742. package/dist/src/desktop/window.js +0 -114
  743. package/dist/src/device/index.d.ts +0 -2
  744. package/dist/src/device/index.d.ts.map +0 -1
  745. package/dist/src/device/index.js +0 -1
  746. package/dist/src/dock/basic.d.ts +0 -20
  747. package/dist/src/dock/basic.d.ts.map +0 -1
  748. package/dist/src/dock/basic.js +0 -50
  749. package/dist/src/dock/index.d.ts +0 -6
  750. package/dist/src/dock/index.d.ts.map +0 -1
  751. package/dist/src/dock/index.js +0 -6
  752. package/dist/src/dock/limelight-nav.d.ts +0 -10
  753. package/dist/src/dock/limelight-nav.d.ts.map +0 -1
  754. package/dist/src/dock/limelight-nav.js +0 -25
  755. package/dist/src/dock/macos.d.ts +0 -17
  756. package/dist/src/dock/macos.d.ts.map +0 -1
  757. package/dist/src/dock/macos.js +0 -38
  758. package/dist/src/dock/menu.d.ts +0 -14
  759. package/dist/src/dock/menu.d.ts.map +0 -1
  760. package/dist/src/dock/menu.js +0 -10
  761. package/dist/src/dock/message.d.ts +0 -15
  762. package/dist/src/dock/message.d.ts.map +0 -1
  763. package/dist/src/dock/message.js +0 -21
  764. package/dist/src/form/form.d.ts +0 -24
  765. package/dist/src/form/form.d.ts.map +0 -1
  766. package/dist/src/form/form.js +0 -66
  767. package/dist/src/form/index.d.ts +0 -2
  768. package/dist/src/form/index.d.ts.map +0 -1
  769. package/dist/src/form/index.js +0 -2
  770. package/dist/src/hooks/index.d.ts +0 -8
  771. package/dist/src/hooks/index.d.ts.map +0 -1
  772. package/dist/src/hooks/index.js +0 -7
  773. package/dist/src/hooks/use-click-away.d.ts +0 -3
  774. package/dist/src/hooks/use-click-away.d.ts.map +0 -1
  775. package/dist/src/hooks/use-click-away.js +0 -23
  776. package/dist/src/hooks/use-combined-refs.d.ts +0 -4
  777. package/dist/src/hooks/use-combined-refs.d.ts.map +0 -1
  778. package/dist/src/hooks/use-combined-refs.js +0 -18
  779. package/dist/src/hooks/use-copy-clipboard.d.ts +0 -10
  780. package/dist/src/hooks/use-copy-clipboard.d.ts.map +0 -1
  781. package/dist/src/hooks/use-copy-clipboard.js +0 -21
  782. package/dist/src/hooks/use-debounce.d.ts +0 -2
  783. package/dist/src/hooks/use-debounce.d.ts.map +0 -1
  784. package/dist/src/hooks/use-debounce.js +0 -13
  785. package/dist/src/hooks/use-fill-ids.d.ts +0 -9
  786. package/dist/src/hooks/use-fill-ids.d.ts.map +0 -1
  787. package/dist/src/hooks/use-fill-ids.js +0 -20
  788. package/dist/src/hooks/use-map.d.ts +0 -2
  789. package/dist/src/hooks/use-map.d.ts.map +0 -1
  790. package/dist/src/hooks/use-map.js +0 -20
  791. package/dist/src/hooks/use-measure.d.ts +0 -9
  792. package/dist/src/hooks/use-measure.d.ts.map +0 -1
  793. package/dist/src/hooks/use-measure.js +0 -25
  794. package/dist/src/hooks/use-reverse-video-playback.d.ts +0 -2
  795. package/dist/src/hooks/use-reverse-video-playback.d.ts.map +0 -1
  796. package/dist/src/hooks/use-reverse-video-playback.js +0 -41
  797. package/dist/src/hooks/use-scroll-restoration.d.ts +0 -9
  798. package/dist/src/hooks/use-scroll-restoration.d.ts.map +0 -1
  799. package/dist/src/hooks/use-scroll-restoration.js +0 -36
  800. package/dist/src/kanban/index.d.ts +0 -3
  801. package/dist/src/kanban/index.d.ts.map +0 -1
  802. package/dist/src/kanban/index.js +0 -4
  803. package/dist/src/mcp/enhanced-server.d.ts +0 -41
  804. package/dist/src/mcp/enhanced-server.d.ts.map +0 -1
  805. package/dist/src/mcp/enhanced-server.js +0 -1128
  806. package/dist/src/mcp/index.d.ts +0 -40
  807. package/dist/src/mcp/index.d.ts.map +0 -1
  808. package/dist/src/mcp/index.js +0 -436
  809. package/dist/src/mermaid/index.d.ts +0 -3
  810. package/dist/src/mermaid/index.d.ts.map +0 -1
  811. package/dist/src/mermaid/index.js +0 -3
  812. package/dist/src/models/ModelCard.d.ts +0 -25
  813. package/dist/src/models/ModelCard.d.ts.map +0 -1
  814. package/dist/src/models/ModelCard.js +0 -73
  815. package/dist/src/models/ModelLibrary.d.ts +0 -41
  816. package/dist/src/models/ModelLibrary.d.ts.map +0 -1
  817. package/dist/src/models/ModelLibrary.js +0 -63
  818. package/dist/src/models/ModelTable.d.ts +0 -17
  819. package/dist/src/models/ModelTable.d.ts.map +0 -1
  820. package/dist/src/models/ModelTable.js +0 -35
  821. package/dist/src/models/ZenEnso.d.ts +0 -17
  822. package/dist/src/models/ZenEnso.d.ts.map +0 -1
  823. package/dist/src/models/ZenEnso.js +0 -50
  824. package/dist/src/models/index.d.ts +0 -23
  825. package/dist/src/models/index.d.ts.map +0 -1
  826. package/dist/src/models/index.js +0 -18
  827. package/dist/src/models/types.d.ts +0 -40
  828. package/dist/src/models/types.d.ts.map +0 -1
  829. package/dist/src/models/types.js +0 -7
  830. package/dist/src/navigation/advanced-navigation-bar.d.ts +0 -2
  831. package/dist/src/navigation/advanced-navigation-bar.d.ts.map +0 -1
  832. package/dist/src/navigation/advanced-navigation-bar.js +0 -4
  833. package/dist/src/navigation/ai-model-selector-navigation-bar.d.ts +0 -2
  834. package/dist/src/navigation/ai-model-selector-navigation-bar.d.ts.map +0 -1
  835. package/dist/src/navigation/ai-model-selector-navigation-bar.js +0 -4
  836. package/dist/src/navigation/app-switcher-navigation-bar.d.ts +0 -2
  837. package/dist/src/navigation/app-switcher-navigation-bar.d.ts.map +0 -1
  838. package/dist/src/navigation/app-switcher-navigation-bar.js +0 -4
  839. package/dist/src/navigation/breadcrumb-and-filters-navigation-bar.d.ts +0 -2
  840. package/dist/src/navigation/breadcrumb-and-filters-navigation-bar.d.ts.map +0 -1
  841. package/dist/src/navigation/breadcrumb-and-filters-navigation-bar.js +0 -4
  842. package/dist/src/navigation/breadcrumb-navigation-bar.d.ts +0 -2
  843. package/dist/src/navigation/breadcrumb-navigation-bar.d.ts.map +0 -1
  844. package/dist/src/navigation/breadcrumb-navigation-bar.js +0 -4
  845. package/dist/src/navigation/centered-logo-navigation-bar.d.ts +0 -2
  846. package/dist/src/navigation/centered-logo-navigation-bar.d.ts.map +0 -1
  847. package/dist/src/navigation/centered-logo-navigation-bar.js +0 -4
  848. package/dist/src/navigation/collaboration-navigation-bar.d.ts +0 -2
  849. package/dist/src/navigation/collaboration-navigation-bar.d.ts.map +0 -1
  850. package/dist/src/navigation/collaboration-navigation-bar.js +0 -4
  851. package/dist/src/navigation/communication-navigation-bar.d.ts +0 -2
  852. package/dist/src/navigation/communication-navigation-bar.d.ts.map +0 -1
  853. package/dist/src/navigation/communication-navigation-bar.js +0 -4
  854. package/dist/src/navigation/context-switcher-navigation-bar.d.ts +0 -2
  855. package/dist/src/navigation/context-switcher-navigation-bar.d.ts.map +0 -1
  856. package/dist/src/navigation/context-switcher-navigation-bar.js +0 -4
  857. package/dist/src/navigation/dashboard-navigation-bar.d.ts +0 -2
  858. package/dist/src/navigation/dashboard-navigation-bar.d.ts.map +0 -1
  859. package/dist/src/navigation/dashboard-navigation-bar.js +0 -4
  860. package/dist/src/navigation/e-commerce-navigation-bar.d.ts +0 -2
  861. package/dist/src/navigation/e-commerce-navigation-bar.d.ts.map +0 -1
  862. package/dist/src/navigation/e-commerce-navigation-bar.js +0 -4
  863. package/dist/src/navigation/hanzo-shell/AppSwitcher.d.ts +0 -8
  864. package/dist/src/navigation/hanzo-shell/AppSwitcher.d.ts.map +0 -1
  865. package/dist/src/navigation/hanzo-shell/AppSwitcher.js +0 -19
  866. package/dist/src/navigation/hanzo-shell/BeamAvatar.d.ts +0 -9
  867. package/dist/src/navigation/hanzo-shell/BeamAvatar.d.ts.map +0 -1
  868. package/dist/src/navigation/hanzo-shell/BeamAvatar.js +0 -38
  869. package/dist/src/navigation/hanzo-shell/HanzoCommandPalette.d.ts +0 -28
  870. package/dist/src/navigation/hanzo-shell/HanzoCommandPalette.d.ts.map +0 -1
  871. package/dist/src/navigation/hanzo-shell/HanzoCommandPalette.js +0 -124
  872. package/dist/src/navigation/hanzo-shell/HanzoHeader.d.ts +0 -37
  873. package/dist/src/navigation/hanzo-shell/HanzoHeader.d.ts.map +0 -1
  874. package/dist/src/navigation/hanzo-shell/HanzoHeader.js +0 -43
  875. package/dist/src/navigation/hanzo-shell/HanzoMark.d.ts +0 -17
  876. package/dist/src/navigation/hanzo-shell/HanzoMark.d.ts.map +0 -1
  877. package/dist/src/navigation/hanzo-shell/HanzoMark.js +0 -57
  878. package/dist/src/navigation/hanzo-shell/UserAvatar.d.ts +0 -15
  879. package/dist/src/navigation/hanzo-shell/UserAvatar.d.ts.map +0 -1
  880. package/dist/src/navigation/hanzo-shell/UserAvatar.js +0 -44
  881. package/dist/src/navigation/hanzo-shell/UserOrgDropdown.d.ts +0 -11
  882. package/dist/src/navigation/hanzo-shell/UserOrgDropdown.d.ts.map +0 -1
  883. package/dist/src/navigation/hanzo-shell/UserOrgDropdown.js +0 -26
  884. package/dist/src/navigation/hanzo-shell/index.d.ts +0 -14
  885. package/dist/src/navigation/hanzo-shell/index.d.ts.map +0 -1
  886. package/dist/src/navigation/hanzo-shell/index.js +0 -9
  887. package/dist/src/navigation/hanzo-shell/types.d.ts +0 -49
  888. package/dist/src/navigation/hanzo-shell/types.d.ts.map +0 -1
  889. package/dist/src/navigation/hanzo-shell/types.js +0 -32
  890. package/dist/src/navigation/hanzo-shell/useHanzoAuth.d.ts +0 -16
  891. package/dist/src/navigation/hanzo-shell/useHanzoAuth.d.ts.map +0 -1
  892. package/dist/src/navigation/hanzo-shell/useHanzoAuth.js +0 -93
  893. package/dist/src/navigation/icon-navigation-bar.d.ts +0 -2
  894. package/dist/src/navigation/icon-navigation-bar.d.ts.map +0 -1
  895. package/dist/src/navigation/icon-navigation-bar.js +0 -4
  896. package/dist/src/navigation/index.d.ts +0 -21
  897. package/dist/src/navigation/index.d.ts.map +0 -1
  898. package/dist/src/navigation/index.js +0 -21
  899. package/dist/src/navigation/search-and-toggle-navigation-bar.d.ts +0 -2
  900. package/dist/src/navigation/search-and-toggle-navigation-bar.d.ts.map +0 -1
  901. package/dist/src/navigation/search-and-toggle-navigation-bar.js +0 -4
  902. package/dist/src/navigation/simple-navigation-bar.d.ts +0 -2
  903. package/dist/src/navigation/simple-navigation-bar.d.ts.map +0 -1
  904. package/dist/src/navigation/simple-navigation-bar.js +0 -4
  905. package/dist/src/navigation/status-dashboard-navigation-bar.d.ts +0 -2
  906. package/dist/src/navigation/status-dashboard-navigation-bar.d.ts.map +0 -1
  907. package/dist/src/navigation/status-dashboard-navigation-bar.js +0 -4
  908. package/dist/src/navigation/team-switcher-navigation-bar.d.ts +0 -2
  909. package/dist/src/navigation/team-switcher-navigation-bar.d.ts.map +0 -1
  910. package/dist/src/navigation/team-switcher-navigation-bar.js +0 -4
  911. package/dist/src/navigation/two-tier-navigation-bar.d.ts +0 -2
  912. package/dist/src/navigation/two-tier-navigation-bar.d.ts.map +0 -1
  913. package/dist/src/navigation/two-tier-navigation-bar.js +0 -4
  914. package/dist/src/navigation/underline-navigation-bar.d.ts +0 -2
  915. package/dist/src/navigation/underline-navigation-bar.d.ts.map +0 -1
  916. package/dist/src/navigation/underline-navigation-bar.js +0 -4
  917. package/dist/src/pattern/grid.d.ts +0 -111
  918. package/dist/src/pattern/grid.d.ts.map +0 -1
  919. package/dist/src/pattern/grid.js +0 -126
  920. package/dist/src/pattern/index.d.ts +0 -3
  921. package/dist/src/pattern/index.d.ts.map +0 -1
  922. package/dist/src/pattern/index.js +0 -2
  923. package/dist/src/project/gantt.d.ts +0 -13
  924. package/dist/src/project/gantt.d.ts.map +0 -1
  925. package/dist/src/project/gantt.js +0 -9
  926. package/dist/src/project/index.d.ts +0 -4
  927. package/dist/src/project/index.d.ts.map +0 -1
  928. package/dist/src/project/index.js +0 -7
  929. package/dist/src/project/kanban.d.ts +0 -36
  930. package/dist/src/project/kanban.d.ts.map +0 -1
  931. package/dist/src/project/kanban.js +0 -259
  932. package/dist/src/project/list.d.ts +0 -5
  933. package/dist/src/project/list.d.ts.map +0 -1
  934. package/dist/src/project/list.js +0 -8
  935. package/dist/src/registry/api.d.ts +0 -38
  936. package/dist/src/registry/api.d.ts.map +0 -1
  937. package/dist/src/registry/api.js +0 -129
  938. package/dist/src/registry/index.d.ts +0 -354
  939. package/dist/src/registry/index.d.ts.map +0 -1
  940. package/dist/src/registry/index.js +0 -45
  941. package/dist/src/spline/index.d.ts +0 -3
  942. package/dist/src/spline/index.d.ts.map +0 -1
  943. package/dist/src/spline/index.js +0 -4
  944. package/dist/src/spline/media-stack.d.ts +0 -15
  945. package/dist/src/spline/media-stack.d.ts.map +0 -1
  946. package/dist/src/spline/media-stack.js +0 -33
  947. package/dist/src/spline/player.d.ts +0 -15
  948. package/dist/src/spline/player.d.ts.map +0 -1
  949. package/dist/src/spline/player.js +0 -12
  950. package/dist/src/ui/announcement.d.ts +0 -9
  951. package/dist/src/ui/announcement.d.ts.map +0 -1
  952. package/dist/src/ui/announcement.js +0 -18
  953. package/dist/src/ui/avatar-group.d.ts +0 -12
  954. package/dist/src/ui/avatar-group.d.ts.map +0 -1
  955. package/dist/src/ui/avatar-group.js +0 -12
  956. package/dist/src/ui/banner.d.ts +0 -11
  957. package/dist/src/ui/banner.d.ts.map +0 -1
  958. package/dist/src/ui/banner.js +0 -25
  959. package/dist/src/ui/cursor.d.ts +0 -9
  960. package/dist/src/ui/cursor.d.ts.map +0 -1
  961. package/dist/src/ui/cursor.js +0 -24
  962. package/dist/src/ui/index.d.ts +0 -18
  963. package/dist/src/ui/index.d.ts.map +0 -1
  964. package/dist/src/ui/index.js +0 -10
  965. package/dist/src/ui/marquee.d.ts +0 -10
  966. package/dist/src/ui/marquee.d.ts.map +0 -1
  967. package/dist/src/ui/marquee.js +0 -14
  968. package/dist/src/ui/pill.d.ts +0 -11
  969. package/dist/src/ui/pill.d.ts.map +0 -1
  970. package/dist/src/ui/pill.js +0 -25
  971. package/dist/src/ui/spinner.d.ts +0 -3
  972. package/dist/src/ui/spinner.d.ts.map +0 -1
  973. package/dist/src/ui/spinner.js +0 -7
  974. package/dist/src/ui/tags.d.ts +0 -13
  975. package/dist/src/ui/tags.d.ts.map +0 -1
  976. package/dist/src/ui/tags.js +0 -11
  977. package/dist/src/ui/ticker.d.ts +0 -10
  978. package/dist/src/ui/ticker.d.ts.map +0 -1
  979. package/dist/src/ui/ticker.js +0 -12
  980. package/dist/src/utils.d.ts +0 -5
  981. package/dist/src/utils.d.ts.map +0 -1
  982. package/dist/src/utils.js +0 -16
  983. package/dist/style/theme-provider.d.ts +0 -5
  984. package/dist/style/theme-provider.d.ts.map +0 -1
  985. package/dist/style/theme-provider.js +0 -8
  986. package/dist/tailwind/colors.tailwind.d.ts +0 -53
  987. package/dist/tailwind/colors.tailwind.d.ts.map +0 -1
  988. package/dist/tailwind/colors.tailwind.js +0 -52
  989. package/dist/tailwind/fontFamily.tailwind.d.ts +0 -9
  990. package/dist/tailwind/fontFamily.tailwind.d.ts.map +0 -1
  991. package/dist/tailwind/fontFamily.tailwind.js +0 -7
  992. package/dist/tailwind/fontSize.tailwind.d.ts +0 -37
  993. package/dist/tailwind/fontSize.tailwind.d.ts.map +0 -1
  994. package/dist/tailwind/fontSize.tailwind.js +0 -13
  995. package/dist/tailwind/index.d.ts +0 -4
  996. package/dist/tailwind/index.d.ts.map +0 -1
  997. package/dist/tailwind/safelist.tailwind.d.ts +0 -9
  998. package/dist/tailwind/safelist.tailwind.d.ts.map +0 -1
  999. package/dist/tailwind/safelist.tailwind.js +0 -25
  1000. package/dist/tailwind/screens.tailwind.d.ts +0 -10
  1001. package/dist/tailwind/screens.tailwind.d.ts.map +0 -1
  1002. package/dist/tailwind/screens.tailwind.js +0 -8
  1003. package/dist/tailwind/spacing.tailwind.d.ts +0 -59
  1004. package/dist/tailwind/spacing.tailwind.d.ts.map +0 -1
  1005. package/dist/tailwind/spacing.tailwind.js +0 -62
  1006. package/dist/tailwind/tailwind.config.hanzo-preset.d.ts +0 -1299
  1007. package/dist/tailwind/tailwind.config.hanzo-preset.d.ts.map +0 -1
  1008. package/dist/tailwind/tailwind.config.hanzo-preset.js +0 -911
  1009. package/dist/tailwind/tw-font-desc.d.ts +0 -7
  1010. package/dist/tailwind/tw-font-desc.d.ts.map +0 -1
  1011. package/dist/tailwind/tw-font-desc.js +0 -6
  1012. package/dist/tailwind/z-index.tailwind.d.ts +0 -51
  1013. package/dist/tailwind/z-index.tailwind.d.ts.map +0 -1
  1014. package/dist/tailwind/z-index.tailwind.js +0 -67
  1015. package/dist/types/animation-def.d.ts +0 -3
  1016. package/dist/types/animation-def.d.ts.map +0 -1
  1017. package/dist/types/animation-def.js +0 -1
  1018. package/dist/types/breakpoints.d.ts +0 -5
  1019. package/dist/types/breakpoints.d.ts.map +0 -1
  1020. package/dist/types/breakpoints.js +0 -4
  1021. package/dist/types/bullet-item.d.ts +0 -7
  1022. package/dist/types/bullet-item.d.ts.map +0 -1
  1023. package/dist/types/bullet-item.js +0 -1
  1024. package/dist/types/button-def.d.ts +0 -30
  1025. package/dist/types/button-def.d.ts.map +0 -1
  1026. package/dist/types/button-def.js +0 -1
  1027. package/dist/types/dimensions.d.ts +0 -6
  1028. package/dist/types/dimensions.d.ts.map +0 -1
  1029. package/dist/types/dimensions.js +0 -1
  1030. package/dist/types/grid-def.d.ts +0 -37
  1031. package/dist/types/grid-def.d.ts.map +0 -1
  1032. package/dist/types/grid-def.js +0 -33
  1033. package/dist/types/image-def.d.ts +0 -28
  1034. package/dist/types/image-def.d.ts.map +0 -1
  1035. package/dist/types/image-def.js +0 -1
  1036. package/dist/types/index.d.ts +0 -15
  1037. package/dist/types/index.d.ts.map +0 -1
  1038. package/dist/types/link-def.d.ts +0 -45
  1039. package/dist/types/link-def.d.ts.map +0 -1
  1040. package/dist/types/link-def.js +0 -1
  1041. package/dist/types/media-stack-def.d.ts +0 -26
  1042. package/dist/types/media-stack-def.d.ts.map +0 -1
  1043. package/dist/types/media-stack-def.js +0 -1
  1044. package/dist/types/t-shirt-size.d.ts +0 -3
  1045. package/dist/types/t-shirt-size.d.ts.map +0 -1
  1046. package/dist/types/t-shirt-size.js +0 -1
  1047. package/dist/types/tshirt-dimensions.d.ts +0 -13
  1048. package/dist/types/tshirt-dimensions.d.ts.map +0 -1
  1049. package/dist/types/tshirt-dimensions.js +0 -1
  1050. package/dist/types/video-def.d.ts +0 -10
  1051. package/dist/types/video-def.d.ts.map +0 -1
  1052. package/dist/types/video-def.js +0 -1
  1053. package/dist/util/blob.d.ts +0 -3
  1054. package/dist/util/blob.d.ts.map +0 -1
  1055. package/dist/util/blob.js +0 -23
  1056. package/dist/util/copy-to-clipboard.d.ts +0 -2
  1057. package/dist/util/copy-to-clipboard.d.ts.map +0 -1
  1058. package/dist/util/copy-to-clipboard.js +0 -18
  1059. package/dist/util/create-shadow-root.d.ts +0 -8
  1060. package/dist/util/create-shadow-root.d.ts.map +0 -1
  1061. package/dist/util/create-shadow-root.js +0 -18
  1062. package/dist/util/date.d.ts +0 -29
  1063. package/dist/util/date.d.ts.map +0 -1
  1064. package/dist/util/date.js +0 -60
  1065. package/dist/util/debounce.d.ts +0 -2
  1066. package/dist/util/debounce.d.ts.map +0 -1
  1067. package/dist/util/debounce.js +0 -11
  1068. package/dist/util/file.d.ts +0 -4
  1069. package/dist/util/file.d.ts.map +0 -1
  1070. package/dist/util/file.js +0 -13
  1071. package/dist/util/format-and-abbreviate-as-currency.d.ts +0 -18
  1072. package/dist/util/format-and-abbreviate-as-currency.d.ts.map +0 -1
  1073. package/dist/util/format-and-abbreviate-as-currency.js +0 -91
  1074. package/dist/util/format-text.d.ts +0 -8
  1075. package/dist/util/format-text.d.ts.map +0 -1
  1076. package/dist/util/format-text.js +0 -26
  1077. package/dist/util/format-to-max-char.d.ts +0 -12
  1078. package/dist/util/format-to-max-char.d.ts.map +0 -1
  1079. package/dist/util/format-to-max-char.js +0 -57
  1080. package/dist/util/index-client.d.ts +0 -3
  1081. package/dist/util/index-client.d.ts.map +0 -1
  1082. package/dist/util/index-client.js +0 -3
  1083. package/dist/util/index.d.ts +0 -37
  1084. package/dist/util/index.d.ts.map +0 -1
  1085. package/dist/util/number-abbreviate.d.ts +0 -10
  1086. package/dist/util/number-abbreviate.d.ts.map +0 -1
  1087. package/dist/util/number-abbreviate.js +0 -30
  1088. package/dist/util/specifier.d.ts +0 -8
  1089. package/dist/util/specifier.d.ts.map +0 -1
  1090. package/dist/util/specifier.js +0 -31
  1091. package/dist/util/spread-to-transform.d.ts +0 -8
  1092. package/dist/util/spread-to-transform.d.ts.map +0 -1
  1093. package/dist/util/spread-to-transform.js +0 -19
  1094. package/dist/util/step-animation.d.ts +0 -6
  1095. package/dist/util/step-animation.d.ts.map +0 -1
  1096. package/dist/util/step-animation.js +0 -60
  1097. package/dist/util/timing.d.ts +0 -2
  1098. package/dist/util/timing.d.ts.map +0 -1
  1099. package/dist/util/timing.js +0 -3
  1100. package/dist/util/toasts.d.ts +0 -3
  1101. package/dist/util/toasts.d.ts.map +0 -1
  1102. package/dist/util/toasts.js +0 -10
  1103. package/dist/util/two-way-map.d.ts +0 -9
  1104. package/dist/util/two-way-map.d.ts.map +0 -1
  1105. package/dist/util/two-way-map.js +0 -16
  1106. package/dist/util/use-mobile.d.ts +0 -2
  1107. package/dist/util/use-mobile.d.ts.map +0 -1
  1108. package/dist/util/use-mobile.js +0 -15
  1109. package/dist/utils.d.ts +0 -4
  1110. package/dist/utils.d.ts.map +0 -1
  1111. package/dist/utils.js +0 -7
@@ -1,3 +1,3 @@
1
1
  "use client";
2
- 'use strict';var react=require('react'),jsxRuntime=require('react/jsx-runtime');var Ye=Object.defineProperty;var e=(t,o)=>Ye(t,"name",{value:o,configurable:true});function Je({x:t,y:o,onClose:n}){let s=react.useRef(null);react.useEffect(()=>{let i=e(d=>{s.current&&!s.current.contains(d.target)&&n();},"handler"),c=e(d=>{d.key==="Escape"&&n();},"escape");return document.addEventListener("mousedown",i),document.addEventListener("keydown",c),()=>{document.removeEventListener("mousedown",i),document.removeEventListener("keydown",c);}},[n]);let l=[{label:"Brand Guidelines",href:"https://hanzo.ai/brand"},{label:"Press Kit",href:"https://hanzo.ai/press"},{label:"Download Logo",href:"https://hanzo.ai/brand#download"},{label:"Copy SVG",action:"copy-svg"},{label:"hanzo.ai \u2192",href:"https://hanzo.ai"}],r='<svg viewBox="0 0 67 67" xmlns="http://www.w3.org/2000/svg"><path d="M22.21 67V44.6369H0V67H22.21Z" fill="#ffffff"/><path d="M0 44.6369L22.21 46.8285V44.6369H0Z" fill="#DDDDDD"/><path d="M66.7038 22.3184H22.2534L0.0878906 44.6367H44.4634L66.7038 22.3184Z" fill="#ffffff"/><path d="M22.21 0H0V22.3184H22.21V0Z" fill="#ffffff"/><path d="M66.7198 0H44.5098V22.3184H66.7198V0Z" fill="#ffffff"/><path d="M66.6753 22.3185L44.5098 20.0822V22.3185H66.6753Z" fill="#DDDDDD"/><path d="M66.7198 67V44.6369H44.5098V67H66.7198Z" fill="#ffffff"/></svg>';return jsxRuntime.jsxs("div",{ref:s,role:"menu",className:"fixed z-[9999] min-w-[180px] rounded-xl border border-white/[0.08] bg-[#111113] py-1.5 shadow-2xl shadow-black/60",style:{top:o,left:t},children:[jsxRuntime.jsx("div",{className:"border-b border-white/[0.06] px-3 pb-2 pt-1",children:jsxRuntime.jsx("p",{className:"text-[10px] font-semibold uppercase tracking-widest text-white/30",children:"Hanzo Brand"})}),l.map(i=>i.action==="copy-svg"?jsxRuntime.jsx("button",{type:"button",role:"menuitem",onClick:()=>{navigator.clipboard.writeText(r).catch(()=>{}),n();},className:"flex w-full items-center px-3 py-2 text-[13px] text-white/60 hover:bg-white/[0.05] hover:text-white/90 transition-colors text-left",children:"Copy SVG"},"copy"):jsxRuntime.jsx("a",{href:i.href,role:"menuitem",target:i.href?.startsWith("https")?"_blank":void 0,rel:"noopener noreferrer",onClick:n,className:"flex items-center px-3 py-2 text-[13px] text-white/60 hover:bg-white/[0.05] hover:text-white/90 transition-colors",children:i.label},i.label))]})}e(Je,"BrandContextMenu");function ne({size:t=22,className:o="",brandMenu:n=true,animate:s=true}){let[l,r]=react.useState(null),[i,c]=react.useState(false),d=react.useCallback(f=>{n&&(f.preventDefault(),r({x:f.clientX,y:f.clientY}));},[n]);return jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsxs("svg",{width:t,height:t,viewBox:"0 0 67 67",xmlns:"http://www.w3.org/2000/svg","aria-label":"Hanzo",className:o,style:s?{transition:"transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease",transform:i?"scale(1.12) perspective(80px) rotateY(-6deg)":"scale(1) perspective(80px) rotateY(0deg)",transformOrigin:"center center"}:{},onMouseEnter:()=>c(true),onMouseLeave:()=>c(false),onContextMenu:d,children:[jsxRuntime.jsx("path",{d:"M22.21 67V44.6369H0V67H22.21Z",fill:"#ffffff"}),jsxRuntime.jsx("path",{d:"M0 44.6369L22.21 46.8285V44.6369H0Z",fill:"#DDDDDD"}),jsxRuntime.jsx("path",{d:"M66.7038 22.3184H22.2534L0.0878906 44.6367H44.4634L66.7038 22.3184Z",fill:"#ffffff"}),jsxRuntime.jsx("path",{d:"M22.21 0H0V22.3184H22.21V0Z",fill:"#ffffff"}),jsxRuntime.jsx("path",{d:"M66.7198 0H44.5098V22.3184H66.7198V0Z",fill:"#ffffff"}),jsxRuntime.jsx("path",{d:"M66.6753 22.3185L44.5098 20.0822V22.3185H66.6753Z",fill:"#DDDDDD"}),jsxRuntime.jsx("path",{d:"M66.7198 67V44.6369H44.5098V67H66.7198Z",fill:"#ffffff"})]}),l&&jsxRuntime.jsx(Je,{x:l.x,y:l.y,onClose:()=>r(null)})]})}e(ne,"HanzoMark");var k=[{id:"account",label:"Account",href:"https://hanzo.id/account",description:"Profile, orgs & referrals"},{id:"billing",label:"Billing",href:"https://billing.hanzo.ai",description:"Subscriptions & usage"},{id:"console",label:"Console",href:"https://console.hanzo.ai",description:"API keys & projects"},{id:"chat",label:"Chat",href:"https://chat.hanzo.ai",description:"AI chat & models"},{id:"platform",label:"Platform",href:"https://platform.hanzo.ai",description:"Deploy & scale services"}];function V({apps:t=k,currentAppId:o}){let[n,s]=react.useState(false),l=react.useRef(null);return react.useEffect(()=>{let r=e(i=>{l.current&&!l.current.contains(i.target)&&s(false);},"handler");return document.addEventListener("mousedown",r),()=>document.removeEventListener("mousedown",r)},[]),jsxRuntime.jsxs("div",{ref:l,className:"relative",children:[jsxRuntime.jsx("button",{type:"button",onClick:()=>s(r=>!r),className:"flex h-8 w-8 items-center justify-center rounded-lg text-white/40 hover:bg-white/[0.06] hover:text-white/70 transition-colors","aria-label":"Switch app",title:"Switch app",children:jsxRuntime.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor",children:[jsxRuntime.jsx("rect",{x:"1",y:"1",width:"4",height:"4",rx:"1"}),jsxRuntime.jsx("rect",{x:"6",y:"1",width:"4",height:"4",rx:"1"}),jsxRuntime.jsx("rect",{x:"11",y:"1",width:"4",height:"4",rx:"1"}),jsxRuntime.jsx("rect",{x:"1",y:"6",width:"4",height:"4",rx:"1"}),jsxRuntime.jsx("rect",{x:"6",y:"6",width:"4",height:"4",rx:"1"}),jsxRuntime.jsx("rect",{x:"11",y:"6",width:"4",height:"4",rx:"1"}),jsxRuntime.jsx("rect",{x:"1",y:"11",width:"4",height:"4",rx:"1"}),jsxRuntime.jsx("rect",{x:"6",y:"11",width:"4",height:"4",rx:"1"}),jsxRuntime.jsx("rect",{x:"11",y:"11",width:"4",height:"4",rx:"1"})]})}),n&&jsxRuntime.jsxs("div",{className:"absolute left-0 top-10 z-50 w-64 rounded-xl border border-white/[0.08] bg-[#0e0e13] p-2 shadow-2xl",children:[jsxRuntime.jsx("p",{className:"px-2 pb-1.5 pt-0.5 text-[10px] font-medium uppercase tracking-wider text-white/30",children:"Hanzo Apps"}),t.filter(r=>r.id!==o).map(r=>jsxRuntime.jsxs("a",{href:r.href,className:"flex flex-col gap-0.5 rounded-lg px-3 py-2.5 hover:bg-white/[0.06] transition-colors",onClick:()=>s(false),children:[jsxRuntime.jsx("span",{className:"text-[13px] font-medium text-white/80",children:r.label}),r.description&&jsxRuntime.jsx("span",{className:"text-[11px] text-white/30",children:r.description})]},r.id))]})]})}e(V,"AppSwitcher");var ot=["#0A0310","#49007E","#FF005B","#FF7D10","#FFB238"];function rt(t){let o=0;for(let n=0;n<t.length;n++)o=(o<<5)-o+t.charCodeAt(n)|0;return Math.abs(o)}e(rt,"hashStr");function S(t,o,n){return t%(o*(n+1))%o}e(S,"getUnit");function at(t,o){return S(t,2,o)===0}e(at,"getBoolean");function oe(t,o,n){return n[S(t,n.length,o)]}e(oe,"getRandomColor");function st(t){let o=parseInt(t.slice(1,3),16),n=parseInt(t.slice(3,5),16),s=parseInt(t.slice(5,7),16);return o*.299+n*.587+s*.114>128?"#000":"#fff"}e(st,"getContrast");function re({name:t,size:o=40,colors:n=ot,className:s,square:l=false}){let r=rt(t),i=oe(r,0,n),c=st(i),d=at(r,2),p=S(r,3,7),f=S(r,5,8),v=S(r,10,9),g=v>6?v-10:v,h=S(r,5,10)>3?S(r,5,10)-5:S(r,5,10);return jsxRuntime.jsxs("svg",{viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:o,height:o,className:s,style:l?void 0:{borderRadius:"50%"},children:[jsxRuntime.jsx("mask",{id:`beam-${r}`,maskUnits:"userSpaceOnUse",x:0,y:0,width:36,height:36,children:jsxRuntime.jsx("rect",{width:36,height:36,rx:l?void 0:72,fill:"#fff"})}),jsxRuntime.jsxs("g",{mask:`url(#beam-${r})`,children:[jsxRuntime.jsx("rect",{width:36,height:36,fill:i}),jsxRuntime.jsx("rect",{x:0,y:0,width:36,height:36,transform:`translate(${g} ${h}) rotate(${v} 18 18)`,fill:oe(r,1,n),rx:6}),jsxRuntime.jsxs("g",{transform:`translate(${g} ${h}) rotate(${v} 18 18)`,children:[d?jsxRuntime.jsx("path",{d:`M15 ${19+p}c2 1 4 1 6 0`,stroke:c,fill:"none",strokeLinecap:"round"}):jsxRuntime.jsx("path",{d:`M13 ${19+p}a1 .75 0 0 0 10 0`,fill:c}),jsxRuntime.jsx("rect",{x:14-f,y:14,width:1.5,height:2,rx:1,fill:c}),jsxRuntime.jsx("rect",{x:20+f,y:14,width:1.5,height:2,rx:1,fill:c})]})]})]})}e(re,"BeamAvatar");async function lt(t){let n=new TextEncoder().encode(t),s=await crypto.subtle.digest("SHA-256",n);return Array.from(new Uint8Array(s)).map(l=>l.toString(16).padStart(2,"0")).join("")}e(lt,"sha256");function pt(t,o){let[n,s]=react.useState(null);return react.useMemo(()=>{if(!t){s(null);return}let l=t.trim().toLowerCase();lt(l).then(r=>{s(`https://www.gravatar.com/avatar/${r}?s=${o||80}&d=404`);});},[t,o]),n}e(pt,"useGravatarUrl");function ae({src:t,email:o,name:n,size:s=40,colors:l,className:r}){let[i,c]=react.useState(false),[d,p]=react.useState(false),f=pt(o,s*2),v=`rounded-full object-cover ${r||""}`,g={width:s,height:s};return t&&!i?jsxRuntime.jsx("img",{src:t,alt:n||o||"avatar",className:v,style:g,onError:()=>c(true)}):f&&!d?jsxRuntime.jsx("img",{src:f,alt:n||o||"avatar",className:v,style:g,onError:()=>p(true)}):jsxRuntime.jsx(re,{name:n||o||"user",size:s,colors:l,className:r})}e(ae,"UserAvatar");function T({user:t,organizations:o=[],currentOrgId:n,onOrgSwitch:s,onSignOut:l}){let[r,i]=react.useState(false),c=react.useRef(null);if(react.useEffect(()=>{let p=e(f=>{c.current&&!c.current.contains(f.target)&&i(false);},"handler");return document.addEventListener("mousedown",p),()=>document.removeEventListener("mousedown",p)},[]),!t)return null;o.find(p=>p.id===n);return jsxRuntime.jsxs("div",{ref:c,className:"relative",children:[jsxRuntime.jsxs("button",{type:"button",onClick:()=>i(p=>!p),className:"flex items-center gap-2 rounded-lg px-2 py-1.5 hover:bg-white/[0.06] transition-colors",children:[jsxRuntime.jsx(ae,{src:t.avatar,email:t.email,name:t.name,size:28}),jsxRuntime.jsxs("div",{className:"hidden flex-col items-start sm:flex",children:[t.name&&jsxRuntime.jsx("span",{className:"text-[12px] font-medium text-white/70 leading-none",children:t.name}),jsxRuntime.jsx("span",{className:"text-[11px] text-white/30 leading-none mt-0.5",children:t.email})]}),jsxRuntime.jsx("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"text-white/30 hidden sm:block",children:jsxRuntime.jsx("path",{d:"M6 9l6 6 6-6"})})]}),r&&jsxRuntime.jsxs("div",{className:"absolute right-0 top-10 z-50 w-64 rounded-xl border border-white/[0.08] bg-[#0e0e13] shadow-2xl",children:[jsxRuntime.jsxs("div",{className:"border-b border-white/[0.06] px-4 py-3",children:[jsxRuntime.jsx("p",{className:"text-[13px] font-medium text-white/80",children:t.name||"User"}),jsxRuntime.jsx("p",{className:"text-[11px] text-white/40",children:t.email})]}),o.length>0&&jsxRuntime.jsxs("div",{className:"border-b border-white/[0.06] p-2",children:[jsxRuntime.jsx("p",{className:"px-2 pb-1 pt-0.5 text-[10px] font-medium uppercase tracking-wider text-white/30",children:"Organizations"}),o.map(p=>jsxRuntime.jsxs("button",{type:"button",onClick:()=>{s?.(p.id),i(false);},className:"flex w-full items-center justify-between rounded-lg px-3 py-2 text-left hover:bg-white/[0.06] transition-colors",children:[jsxRuntime.jsx("span",{className:"text-[13px] text-white/70",children:p.name}),p.id===n&&jsxRuntime.jsx("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",className:"text-white/50",children:jsxRuntime.jsx("polyline",{points:"20 6 9 17 4 12"})})]},p.id))]}),jsxRuntime.jsxs("div",{className:"p-2",children:[jsxRuntime.jsx("a",{href:"https://hanzo.id/account",className:"flex items-center gap-2.5 rounded-lg px-3 py-2 text-[13px] text-white/60 hover:bg-white/[0.06] hover:text-white/80 transition-colors",onClick:()=>i(false),children:"Account settings"}),jsxRuntime.jsx("a",{href:"https://billing.hanzo.ai",className:"flex items-center gap-2.5 rounded-lg px-3 py-2 text-[13px] text-white/60 hover:bg-white/[0.06] hover:text-white/80 transition-colors",onClick:()=>i(false),children:"Billing"}),jsxRuntime.jsx("button",{type:"button",onClick:()=>{i(false),l?.();},className:"flex w-full items-center gap-2.5 rounded-lg px-3 py-2 text-[13px] text-white/40 hover:bg-white/[0.06] hover:text-red-400/70 transition-colors",children:"Sign out"})]})]})]})}e(T,"UserOrgDropdown");function se({currentApp:t,currentAppId:o,user:n,organizations:s,currentOrgId:l,onOrgSwitch:r,onSignOut:i,apps:c=k,headerRight:d}){return jsxRuntime.jsxs("header",{className:"sticky top-0 z-50 flex h-14 w-full items-center justify-between border-b border-white/[0.07] bg-[#09090b]/90 px-4 backdrop-blur-xl",role:"banner",children:[jsxRuntime.jsxs("div",{className:"flex min-w-0 items-center gap-2.5",children:[jsxRuntime.jsx("a",{href:"https://hanzo.id/account",className:"flex-shrink-0 rounded focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-white/20","aria-label":"Hanzo Account",children:jsxRuntime.jsx(ne,{size:22,brandMenu:true,animate:true})}),jsxRuntime.jsx("span",{className:"select-none text-white/[0.15]",children:"/"}),jsxRuntime.jsx("span",{className:"truncate text-[13px] font-medium text-white/50",children:t}),jsxRuntime.jsx(V,{apps:c,currentAppId:o})]}),jsxRuntime.jsxs("div",{className:"flex flex-shrink-0 items-center gap-2",children:[d,jsxRuntime.jsx(T,{user:n,organizations:s,currentOrgId:l,onOrgSwitch:r,onSignOut:i})]})]})}e(se,"HanzoHeader");var ie="hanzo-auth-token",W="hanzo-user",le="hanzo-auth-expires",ut="https://iam.hanzo.ai",ht={hanzo:{name:"Hanzo AI",slug:"hanzo"},lux:{name:"Lux Network",slug:"lux"},zoo:{name:"Zoo Labs",slug:"zoo"},pars:{name:"Pars",slug:"pars"}};function pe(){let[t,o]=react.useState(void 0),[n,s]=react.useState([]),[l,r]=react.useState(void 0),[i,c]=react.useState(null),[d,p]=react.useState(true),f=react.useCallback(async()=>{try{let h=localStorage.getItem(ie),L=localStorage.getItem(le);if(!h||L&&Date.now()>Number(L)){p(!1);return}c(h);let M=localStorage.getItem(W);if(M)try{let m=JSON.parse(M);m?.email&&o({id:m.id,name:m.displayName||m.name,email:m.email,avatar:m.avatar});}catch{}let U=await fetch(`${ut}/api/userinfo`,{headers:{Authorization:`Bearer ${h}`}});if(U.ok){let m=await U.json(),P={id:m.sub||m.id,name:m.name||m.displayName,email:m.email,avatar:m.picture||m.avatar};o(P),localStorage.setItem(W,JSON.stringify(m));let H=(m.groups||[]).map(z=>{let D=z.toLowerCase().replace(/^\//,""),B=ht[D];return B?{id:D,name:B.name,slug:B.slug}:null}).filter(Boolean);H.length===0&&P.email&&H.push({id:"personal",name:"Personal",slug:"personal"}),s(H),r(H[0]?.id);}}catch{}finally{p(false);}},[]);react.useEffect(()=>{f();},[f]);let v=react.useCallback(()=>{localStorage.removeItem(ie),localStorage.removeItem(W),localStorage.removeItem(le),window.location.href="https://hanzo.id";},[]),g=react.useCallback(h=>{r(h);},[]);return {user:t,organizations:n,currentOrgId:l,token:i,loading:d,signOut:v,switchOrg:g}}e(pe,"useHanzoAuth");function gt(t,o){return t.filter(n=>n.id!==o).map(n=>({id:`app-${n.id}`,title:n.label,description:n.description,href:n.href,category:"Hanzo Apps",external:true,keywords:[n.id,n.label.toLowerCase()]}))}e(gt,"buildCrossAppCommands");function de({commands:t=[],apps:o,currentAppId:n,open:s,onOpenChange:l,onNavigate:r}){var ee;let[i,c]=react.useState(false),d=s??i,p=react.useCallback(a=>{l?l(a):c(a);},[l]),[f,v]=react.useState(""),[g,h]=react.useState(0),L=react.useRef(null),M=react.useRef(null),U=gt(o??k,n),m=[...t,...U],P=f.toLowerCase(),Q=P?m.filter(a=>a.title.toLowerCase().includes(P)||a.description?.toLowerCase().includes(P)||a.keywords?.some(b=>b.includes(P))):m,H={};for(let a of Q)(H[ee=a.category]??(H[ee]=[])).push(a);let z=Object.values(H).flat();react.useEffect(()=>h(0),[f]),react.useEffect(()=>{d&&(v(""),h(0),requestAnimationFrame(()=>L.current?.focus()));},[d]),react.useEffect(()=>{let a=e(b=>{(b.metaKey||b.ctrlKey)&&b.key==="k"&&(b.preventDefault(),p(!d));},"handler");return document.addEventListener("keydown",a),()=>document.removeEventListener("keydown",a)},[d,p]);let D=react.useCallback(a=>{a.action?a.action():a.href&&(r?r(a.href,a.external):a.external?window.open(a.href,"_blank"):window.location.href=a.href),p(false);},[r,p]),B=react.useCallback(a=>{a.key==="ArrowDown"?(a.preventDefault(),h(b=>(b+1)%(z.length||1))):a.key==="ArrowUp"?(a.preventDefault(),h(b=>(b-1+(z.length||1))%(z.length||1))):a.key==="Enter"&&z[g]?(a.preventDefault(),D(z[g])):a.key==="Escape"&&p(false);},[z,g,D,p]);return react.useEffect(()=>{M.current?.querySelector(`[data-idx="${g}"]`)?.scrollIntoView({block:"nearest"});},[g]),d?jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx("div",{className:"fixed inset-0 bg-black/60 backdrop-blur-sm z-[100]",onClick:()=>p(false)}),jsxRuntime.jsx("div",{className:"fixed top-[15%] left-1/2 -translate-x-1/2 w-full max-w-xl z-[101]",children:jsxRuntime.jsxs("div",{className:"bg-[#111113] border border-white/[0.08] rounded-xl shadow-2xl overflow-hidden",children:[jsxRuntime.jsxs("div",{className:"flex items-center gap-3 px-4 py-3 border-b border-white/[0.07]",children:[jsxRuntime.jsx("svg",{className:"w-4 h-4 text-white/30",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"})}),jsxRuntime.jsx("input",{ref:L,type:"text",value:f,onChange:a=>v(a.target.value),onKeyDown:B,placeholder:"Search commands...",className:"flex-1 bg-transparent text-white text-[13px] placeholder-white/30 outline-none"}),jsxRuntime.jsx("kbd",{className:"px-1.5 py-0.5 text-[10px] font-mono bg-white/[0.06] rounded text-white/30",children:"ESC"})]}),jsxRuntime.jsx("div",{ref:M,className:"max-h-[400px] overflow-y-auto py-1",children:z.length===0?jsxRuntime.jsxs("div",{className:"px-4 py-8 text-center text-white/30 text-[13px]",children:["No results for \u201C",f,"\u201D"]}):Object.entries(H).map(([a,b])=>jsxRuntime.jsxs("div",{children:[jsxRuntime.jsx("div",{className:"px-4 py-2 text-[10px] font-semibold text-white/25 uppercase tracking-widest",children:a}),b.map(C=>{let _=z.indexOf(C),$=_===g;return jsxRuntime.jsxs("button",{"data-idx":_,onClick:()=>D(C),onMouseEnter:()=>h(_),className:`w-full flex items-center gap-3 px-4 py-2 text-left transition-colors ${$?"bg-white/[0.06] text-white":"text-white/50 hover:bg-white/[0.03]"}`,children:[C.icon&&jsxRuntime.jsx("span",{className:`w-5 h-5 flex items-center justify-center ${$?"text-white/70":"text-white/25"}`,children:C.icon}),jsxRuntime.jsxs("div",{className:"flex-1 min-w-0",children:[jsxRuntime.jsx("span",{className:"text-[13px] font-medium truncate block",children:C.title}),C.description&&jsxRuntime.jsx("span",{className:"text-[11px] text-white/25 truncate block",children:C.description})]}),$&&jsxRuntime.jsx("span",{className:"text-white/25 text-[11px]",children:"\u21B5"})]},C.id)})]},a))}),jsxRuntime.jsxs("div",{className:"px-4 py-2 border-t border-white/[0.07] flex items-center justify-between",children:[jsxRuntime.jsxs("div",{className:"flex items-center gap-4 text-[10px] text-white/20",children:[jsxRuntime.jsxs("span",{className:"flex items-center gap-1",children:[jsxRuntime.jsx("kbd",{className:"px-1 py-0.5 bg-white/[0.06] rounded text-[9px]",children:"\u2191"}),jsxRuntime.jsx("kbd",{className:"px-1 py-0.5 bg-white/[0.06] rounded text-[9px]",children:"\u2193"}),"navigate"]}),jsxRuntime.jsxs("span",{className:"flex items-center gap-1",children:[jsxRuntime.jsx("kbd",{className:"px-1 py-0.5 bg-white/[0.06] rounded text-[9px]",children:"\u21B5"}),"select"]})]}),jsxRuntime.jsx("span",{className:"text-[10px] text-white/20",children:"\u2318K"})]})]})})]}):null}e(de,"HanzoCommandPalette");function me(){return jsxRuntime.jsx("div",{className:"flex items-center justify-center p-8",children:jsxRuntime.jsx("p",{className:"text-muted-foreground",children:"Component coming soon"})})}e(me,"Component");function he(){return jsxRuntime.jsx("div",{className:"flex items-center justify-center p-8",children:jsxRuntime.jsx("p",{className:"text-muted-foreground",children:"Component coming soon"})})}e(he,"Component");function xe(){return jsxRuntime.jsx("div",{className:"flex items-center justify-center p-8",children:jsxRuntime.jsx("p",{className:"text-muted-foreground",children:"Component coming soon"})})}e(xe,"Component");function we(){return jsxRuntime.jsx("div",{className:"flex items-center justify-center p-8",children:jsxRuntime.jsx("p",{className:"text-muted-foreground",children:"Component coming soon"})})}e(we,"Component");function ye(){return jsxRuntime.jsx("div",{className:"flex items-center justify-center p-8",children:jsxRuntime.jsx("p",{className:"text-muted-foreground",children:"Component coming soon"})})}e(ye,"Component");function He(){return jsxRuntime.jsx("div",{className:"flex items-center justify-center p-8",children:jsxRuntime.jsx("p",{className:"text-muted-foreground",children:"Component coming soon"})})}e(He,"Component");function Ce(){return jsxRuntime.jsx("div",{className:"flex items-center justify-center p-8",children:jsxRuntime.jsx("p",{className:"text-muted-foreground",children:"Component coming soon"})})}e(Ce,"Component");function Ae(){return jsxRuntime.jsx("div",{className:"flex items-center justify-center p-8",children:jsxRuntime.jsx("p",{className:"text-muted-foreground",children:"Component coming soon"})})}e(Ae,"Component");function Oe(){return jsxRuntime.jsx("div",{className:"flex items-center justify-center p-8",children:jsxRuntime.jsx("p",{className:"text-muted-foreground",children:"Component coming soon"})})}e(Oe,"Component");function De(){return jsxRuntime.jsx("div",{className:"flex items-center justify-center p-8",children:jsxRuntime.jsx("p",{className:"text-muted-foreground",children:"Component coming soon"})})}e(De,"Component");function Le(){return jsxRuntime.jsx("div",{className:"flex items-center justify-center p-8",children:jsxRuntime.jsx("p",{className:"text-muted-foreground",children:"Component coming soon"})})}e(Le,"Component");function Be(){return jsxRuntime.jsx("div",{className:"flex items-center justify-center p-8",children:jsxRuntime.jsx("p",{className:"text-muted-foreground",children:"Component coming soon"})})}e(Be,"Component");function Ue(){return jsxRuntime.jsx("div",{className:"flex items-center justify-center p-8",children:jsxRuntime.jsx("p",{className:"text-muted-foreground",children:"Component coming soon"})})}e(Ue,"Component");function Ve(){return jsxRuntime.jsx("div",{className:"flex items-center justify-center p-8",children:jsxRuntime.jsx("p",{className:"text-muted-foreground",children:"Component coming soon"})})}e(Ve,"Component");function Ze(){return jsxRuntime.jsx("div",{className:"flex items-center justify-center p-8",children:jsxRuntime.jsx("p",{className:"text-muted-foreground",children:"Component coming soon"})})}e(Ze,"Component");function $e(){return jsxRuntime.jsx("div",{className:"flex items-center justify-center p-8",children:jsxRuntime.jsx("p",{className:"text-muted-foreground",children:"Component coming soon"})})}e($e,"Component");function Ke(){return jsxRuntime.jsx("div",{className:"flex items-center justify-center p-8",children:jsxRuntime.jsx("p",{className:"text-muted-foreground",children:"Component coming soon"})})}e(Ke,"Component");function je(){return jsxRuntime.jsx("div",{className:"flex items-center justify-center p-8",children:jsxRuntime.jsx("p",{className:"text-muted-foreground",children:"Component coming soon"})})}e(je,"Component");
3
- exports.AIModelSelectorNavigationBar=he;exports.AdvancedNavigationBar=me;exports.AppSwitcher=V;exports.AppSwitcherNavigationBar=xe;exports.BreadcrumbAndFiltersNavigationBar=we;exports.BreadcrumbNavigationBar=ye;exports.CenteredLogoNavigationBar=He;exports.CollaborationNavigationBar=Ce;exports.CommunicationNavigationBar=Ae;exports.ContextSwitcherNavigationBar=Oe;exports.DEFAULT_HANZO_APPS=k;exports.DashboardNavigationBar=De;exports.ECommerceNavigationBar=Le;exports.HanzoCommandPalette=de;exports.HanzoHeader=se;exports.IconNavigationBar=Be;exports.SearchAndToggleNavigationBar=Ue;exports.SimpleNavigationBar=Ve;exports.StatusDashboardNavigationBar=Ze;exports.TeamSwitcherNavigationBar=$e;exports.TwoTierNavigationBar=Ke;exports.UnderlineNavigationBar=je;exports.UserOrgDropdown=T;exports.useHanzoAuth=pe;
2
+ 'use strict';var react=require('react'),jsxRuntime=require('react/jsx-runtime');var Je=Object.defineProperty;var e=(o,t)=>Je(o,"name",{value:t,configurable:true});function tt({x:o,y:t,onClose:n}){let r=react.useRef(null);react.useEffect(()=>{let i=e(d=>{r.current&&!r.current.contains(d.target)&&n();},"handler"),f=e(d=>{d.key==="Escape"&&n();},"escape");return document.addEventListener("mousedown",i),document.addEventListener("keydown",f),()=>{document.removeEventListener("mousedown",i),document.removeEventListener("keydown",f);}},[n]);let l=[{label:"Brand Guidelines",href:"https://hanzo.ai/brand"},{label:"Press Kit",href:"https://hanzo.ai/press"},{label:"Download Logo",href:"https://hanzo.ai/brand#download"},{label:"Copy SVG",action:"copy-svg"},{label:"hanzo.ai \u2192",href:"https://hanzo.ai"}],a='<svg viewBox="0 0 67 67" xmlns="http://www.w3.org/2000/svg"><path d="M22.21 67V44.6369H0V67H22.21Z" fill="#ffffff"/><path d="M0 44.6369L22.21 46.8285V44.6369H0Z" fill="#DDDDDD"/><path d="M66.7038 22.3184H22.2534L0.0878906 44.6367H44.4634L66.7038 22.3184Z" fill="#ffffff"/><path d="M22.21 0H0V22.3184H22.21V0Z" fill="#ffffff"/><path d="M66.7198 0H44.5098V22.3184H66.7198V0Z" fill="#ffffff"/><path d="M66.6753 22.3185L44.5098 20.0822V22.3185H66.6753Z" fill="#DDDDDD"/><path d="M66.7198 67V44.6369H44.5098V67H66.7198Z" fill="#ffffff"/></svg>';return jsxRuntime.jsxs("div",{ref:r,role:"menu",className:"fixed z-[9999] min-w-[180px] rounded-xl border border-white/[0.08] bg-[#111113] py-1.5 shadow-2xl shadow-black/60",style:{top:t,left:o},children:[jsxRuntime.jsx("div",{className:"border-b border-white/[0.06] px-3 pb-2 pt-1",children:jsxRuntime.jsx("p",{className:"text-[10px] font-semibold uppercase tracking-widest text-white/30",children:"Hanzo Brand"})}),l.map(i=>i.action==="copy-svg"?jsxRuntime.jsx("button",{type:"button",role:"menuitem",onClick:()=>{navigator.clipboard.writeText(a).catch(()=>{}),n();},className:"flex w-full items-center px-3 py-2 text-[13px] text-white/60 hover:bg-white/[0.05] hover:text-white/90 transition-colors text-left",children:"Copy SVG"},"copy"):jsxRuntime.jsx("a",{href:i.href,role:"menuitem",target:i.href?.startsWith("https")?"_blank":void 0,rel:"noopener noreferrer",onClick:n,className:"flex items-center px-3 py-2 text-[13px] text-white/60 hover:bg-white/[0.05] hover:text-white/90 transition-colors",children:i.label},i.label))]})}e(tt,"BrandContextMenu");function ae({size:o=22,className:t="",brandMenu:n=true,animate:r=true}){let[l,a]=react.useState(null),[i,f]=react.useState(false),d=react.useCallback(p=>{n&&(p.preventDefault(),a({x:p.clientX,y:p.clientY}));},[n]);return jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsxs("svg",{width:o,height:o,viewBox:"0 0 67 67",xmlns:"http://www.w3.org/2000/svg","aria-label":"Hanzo",className:t,style:r?{transition:"transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease",transform:i?"scale(1.12) perspective(80px) rotateY(-6deg)":"scale(1) perspective(80px) rotateY(0deg)",transformOrigin:"center center"}:{},onMouseEnter:()=>f(true),onMouseLeave:()=>f(false),onContextMenu:d,children:[jsxRuntime.jsx("path",{d:"M22.21 67V44.6369H0V67H22.21Z",fill:"#ffffff"}),jsxRuntime.jsx("path",{d:"M0 44.6369L22.21 46.8285V44.6369H0Z",fill:"#DDDDDD"}),jsxRuntime.jsx("path",{d:"M66.7038 22.3184H22.2534L0.0878906 44.6367H44.4634L66.7038 22.3184Z",fill:"#ffffff"}),jsxRuntime.jsx("path",{d:"M22.21 0H0V22.3184H22.21V0Z",fill:"#ffffff"}),jsxRuntime.jsx("path",{d:"M66.7198 0H44.5098V22.3184H66.7198V0Z",fill:"#ffffff"}),jsxRuntime.jsx("path",{d:"M66.6753 22.3185L44.5098 20.0822V22.3185H66.6753Z",fill:"#DDDDDD"}),jsxRuntime.jsx("path",{d:"M66.7198 67V44.6369H44.5098V67H66.7198Z",fill:"#ffffff"})]}),l&&jsxRuntime.jsx(tt,{x:l.x,y:l.y,onClose:()=>a(null)})]})}e(ae,"HanzoMark");var I=[{id:"account",label:"Account",href:"https://hanzo.id/account",description:"Profile, orgs & referrals"},{id:"billing",label:"Billing",href:"https://billing.hanzo.ai",description:"Subscriptions & usage"},{id:"console",label:"Console",href:"https://console.hanzo.ai",description:"API keys & projects"},{id:"chat",label:"Chat",href:"https://hanzo.chat",description:"AI chat & models"},{id:"platform",label:"Platform",href:"https://platform.hanzo.ai",description:"Deploy & scale services"},{id:"storage",label:"Storage",href:"https://hanzo.space",description:"S3 object storage"}],A={hanzo:{id:"hanzo",iam:"https://hanzo.id",billing:"https://billing.hanzo.ai",console:"https://console.hanzo.ai",chat:"https://hanzo.chat",platform:"https://platform.hanzo.ai",storage:"https://hanzo.space",s3:"https://s3.hanzo.ai"},lux:{id:"lux",iam:"https://lux.id",billing:"https://billing.lux.network",console:"https://console.lux.network",chat:"https://chat.lux.network",platform:"https://platform.lux.network",storage:"https://storage.lux.network",s3:"https://s3.lux.network"},zoo:{id:"zoo",iam:"https://zoo.id",billing:"https://billing.zoo.ngo",console:"https://console.zoo.ngo",chat:"https://chat.zoo.ngo",platform:"https://platform.zoo.ngo",storage:"https://storage.zoo.ngo",s3:"https://s3.zoo.ngo"},pars:{id:"pars",iam:"https://pars.id",billing:"https://billing.pars.ai",console:"https://console.pars.ai",chat:"https://chat.pars.ai",platform:"https://platform.pars.ai",storage:"https://storage.pars.ai",s3:"https://s3.pars.ai"}};function W(o){let t=A[o]||A.hanzo;return [{id:"account",label:"Account",href:`${t.iam}/account`,description:"Profile, orgs & referrals"},{id:"billing",label:"Billing",href:t.billing,description:"Subscriptions & usage"},{id:"console",label:"Console",href:t.console,description:"API keys & projects"},{id:"chat",label:"Chat",href:t.chat,description:"AI chat & models"},{id:"platform",label:"Platform",href:t.platform,description:"Deploy & scale services"},{id:"storage",label:"Storage",href:t.storage,description:"S3 object storage"}]}e(W,"getAppsForOrg");function _({apps:o=I,currentAppId:t}){let[n,r]=react.useState(false),l=react.useRef(null);return react.useEffect(()=>{let a=e(i=>{l.current&&!l.current.contains(i.target)&&r(false);},"handler");return document.addEventListener("mousedown",a),()=>document.removeEventListener("mousedown",a)},[]),jsxRuntime.jsxs("div",{ref:l,className:"relative",children:[jsxRuntime.jsx("button",{type:"button",onClick:()=>r(a=>!a),className:"flex h-8 w-8 items-center justify-center rounded-lg text-white/40 hover:bg-white/[0.06] hover:text-white/70 transition-colors","aria-label":"Switch app",title:"Switch app",children:jsxRuntime.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor",children:[jsxRuntime.jsx("rect",{x:"1",y:"1",width:"4",height:"4",rx:"1"}),jsxRuntime.jsx("rect",{x:"6",y:"1",width:"4",height:"4",rx:"1"}),jsxRuntime.jsx("rect",{x:"11",y:"1",width:"4",height:"4",rx:"1"}),jsxRuntime.jsx("rect",{x:"1",y:"6",width:"4",height:"4",rx:"1"}),jsxRuntime.jsx("rect",{x:"6",y:"6",width:"4",height:"4",rx:"1"}),jsxRuntime.jsx("rect",{x:"11",y:"6",width:"4",height:"4",rx:"1"}),jsxRuntime.jsx("rect",{x:"1",y:"11",width:"4",height:"4",rx:"1"}),jsxRuntime.jsx("rect",{x:"6",y:"11",width:"4",height:"4",rx:"1"}),jsxRuntime.jsx("rect",{x:"11",y:"11",width:"4",height:"4",rx:"1"})]})}),n&&jsxRuntime.jsxs("div",{className:"absolute left-0 top-10 z-50 w-64 rounded-xl border border-white/[0.08] bg-[#0e0e13] p-2 shadow-2xl",children:[jsxRuntime.jsx("p",{className:"px-2 pb-1.5 pt-0.5 text-[10px] font-medium uppercase tracking-wider text-white/30",children:"Hanzo Apps"}),o.filter(a=>a.id!==t).map(a=>jsxRuntime.jsxs("a",{href:a.href,className:"flex flex-col gap-0.5 rounded-lg px-3 py-2.5 hover:bg-white/[0.06] transition-colors",onClick:()=>r(false),children:[jsxRuntime.jsx("span",{className:"text-[13px] font-medium text-white/80",children:a.label}),a.description&&jsxRuntime.jsx("span",{className:"text-[11px] text-white/30",children:a.description})]},a.id))]})]})}e(_,"AppSwitcher");var st=["#0A0310","#49007E","#FF005B","#FF7D10","#FFB238"];function it(o){let t=0;for(let n=0;n<o.length;n++)t=(t<<5)-t+o.charCodeAt(n)|0;return Math.abs(t)}e(it,"hashStr");function M(o,t,n){return o%(t*(n+1))%t}e(M,"getUnit");function lt(o,t){return M(o,2,t)===0}e(lt,"getBoolean");function re(o,t,n){return n[M(o,n.length,t)]}e(re,"getRandomColor");function ct(o){let t=parseInt(o.slice(1,3),16),n=parseInt(o.slice(3,5),16),r=parseInt(o.slice(5,7),16);return t*.299+n*.587+r*.114>128?"#000":"#fff"}e(ct,"getContrast");function se({name:o,size:t=40,colors:n=st,className:r,square:l=false}){let a=it(o),i=re(a,0,n),f=ct(i),d=lt(a,2),m=M(a,3,7),p=M(a,5,8),c=M(a,10,9),h=c>6?c-10:c,g=M(a,5,10)>3?M(a,5,10)-5:M(a,5,10);return jsxRuntime.jsxs("svg",{viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:t,height:t,className:r,style:l?void 0:{borderRadius:"50%"},children:[jsxRuntime.jsx("mask",{id:`beam-${a}`,maskUnits:"userSpaceOnUse",x:0,y:0,width:36,height:36,children:jsxRuntime.jsx("rect",{width:36,height:36,rx:l?void 0:72,fill:"#fff"})}),jsxRuntime.jsxs("g",{mask:`url(#beam-${a})`,children:[jsxRuntime.jsx("rect",{width:36,height:36,fill:i}),jsxRuntime.jsx("rect",{x:0,y:0,width:36,height:36,transform:`translate(${h} ${g}) rotate(${c} 18 18)`,fill:re(a,1,n),rx:6}),jsxRuntime.jsxs("g",{transform:`translate(${h} ${g}) rotate(${c} 18 18)`,children:[d?jsxRuntime.jsx("path",{d:`M15 ${19+m}c2 1 4 1 6 0`,stroke:f,fill:"none",strokeLinecap:"round"}):jsxRuntime.jsx("path",{d:`M13 ${19+m}a1 .75 0 0 0 10 0`,fill:f}),jsxRuntime.jsx("rect",{x:14-p,y:14,width:1.5,height:2,rx:1,fill:f}),jsxRuntime.jsx("rect",{x:20+p,y:14,width:1.5,height:2,rx:1,fill:f})]})]})]})}e(se,"BeamAvatar");async function dt(o){let n=new TextEncoder().encode(o),r=await crypto.subtle.digest("SHA-256",n);return Array.from(new Uint8Array(r)).map(l=>l.toString(16).padStart(2,"0")).join("")}e(dt,"sha256");function ft(o,t){let[n,r]=react.useState(null);return react.useMemo(()=>{if(!o){r(null);return}let l=o.trim().toLowerCase();dt(l).then(a=>{r(`https://www.gravatar.com/avatar/${a}?s=${t||80}&d=404`);});},[o,t]),n}e(ft,"useGravatarUrl");function ie({src:o,email:t,name:n,size:r=40,colors:l,className:a}){let[i,f]=react.useState(false),[d,m]=react.useState(false),p=ft(t,r*2),c=`rounded-full object-cover ${a||""}`,h={width:r,height:r};return o&&!i?jsxRuntime.jsx("img",{src:o,alt:n||t||"avatar",className:c,style:h,onError:()=>f(true)}):p&&!d?jsxRuntime.jsx("img",{src:p,alt:n||t||"avatar",className:c,style:h,onError:()=>m(true)}):jsxRuntime.jsx(se,{name:n||t||"user",size:r,colors:l,className:a})}e(ie,"UserAvatar");function F({user:o,organizations:t=[],currentOrgId:n,onOrgSwitch:r,onSignOut:l}){let[a,i]=react.useState(false),f=react.useRef(null);if(react.useEffect(()=>{let c=e(h=>{f.current&&!f.current.contains(h.target)&&i(false);},"handler");return document.addEventListener("mousedown",c),()=>document.removeEventListener("mousedown",c)},[]),!o)return null;let d=t.find(c=>c.id===n),m=d?.slug||"hanzo",p=A[m]||A.hanzo;return jsxRuntime.jsxs("div",{ref:f,className:"relative",children:[jsxRuntime.jsxs("button",{type:"button",onClick:()=>i(c=>!c),className:"flex items-center gap-2 rounded-lg px-2 py-1.5 hover:bg-white/[0.06] transition-colors",children:[jsxRuntime.jsx(ie,{src:o.avatar,email:o.email,name:o.name,size:28}),jsxRuntime.jsxs("div",{className:"hidden flex-col items-start sm:flex",children:[o.name&&jsxRuntime.jsx("span",{className:"text-[12px] font-medium text-white/70 leading-none",children:o.name}),jsxRuntime.jsx("span",{className:"text-[11px] text-white/30 leading-none mt-0.5",children:o.email})]}),jsxRuntime.jsx("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"text-white/30 hidden sm:block",children:jsxRuntime.jsx("path",{d:"M6 9l6 6 6-6"})})]}),a&&jsxRuntime.jsxs("div",{className:"absolute right-0 top-10 z-50 w-64 rounded-xl border border-white/[0.08] bg-[#0e0e13] shadow-2xl",children:[jsxRuntime.jsxs("div",{className:"border-b border-white/[0.06] px-4 py-3",children:[jsxRuntime.jsx("p",{className:"text-[13px] font-medium text-white/80",children:o.name||"User"}),jsxRuntime.jsx("p",{className:"text-[11px] text-white/40",children:o.email}),d&&jsxRuntime.jsx("p",{className:"mt-0.5 text-[10px] font-medium text-white/25 uppercase tracking-wider",children:d.name})]}),t.length>0&&jsxRuntime.jsxs("div",{className:"border-b border-white/[0.06] p-2",children:[jsxRuntime.jsx("p",{className:"px-2 pb-1 pt-0.5 text-[10px] font-medium uppercase tracking-wider text-white/30",children:"Organizations"}),t.map(c=>jsxRuntime.jsxs("button",{type:"button",onClick:()=>{r?.(c.id),i(false);},className:"flex w-full items-center justify-between rounded-lg px-3 py-2 text-left hover:bg-white/[0.06] transition-colors",children:[jsxRuntime.jsxs("div",{className:"flex flex-col",children:[jsxRuntime.jsx("span",{className:"text-[13px] text-white/70",children:c.name}),c.role&&jsxRuntime.jsx("span",{className:"text-[10px] text-white/25 capitalize",children:c.role})]}),c.id===n&&jsxRuntime.jsx("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",className:"text-white/50",children:jsxRuntime.jsx("polyline",{points:"20 6 9 17 4 12"})})]},c.id))]}),jsxRuntime.jsxs("div",{className:"p-2",children:[jsxRuntime.jsx("a",{href:`${p.iam}/account`,className:"flex items-center gap-2.5 rounded-lg px-3 py-2 text-[13px] text-white/60 hover:bg-white/[0.06] hover:text-white/80 transition-colors",onClick:()=>i(false),children:"Account settings"}),jsxRuntime.jsx("a",{href:p.billing,className:"flex items-center gap-2.5 rounded-lg px-3 py-2 text-[13px] text-white/60 hover:bg-white/[0.06] hover:text-white/80 transition-colors",onClick:()=>i(false),children:"Billing"}),jsxRuntime.jsx("button",{type:"button",onClick:()=>{i(false),l?.();},className:"flex w-full items-center gap-2.5 rounded-lg px-3 py-2 text-[13px] text-white/40 hover:bg-white/[0.06] hover:text-red-400/70 transition-colors",children:"Sign out"})]})]})]})}e(F,"UserOrgDropdown");function xt({className:o}){return jsxRuntime.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:o,children:[jsxRuntime.jsx("path",{d:"M21 2v6h-6"}),jsxRuntime.jsx("path",{d:"M3 12a9 9 0 0 1 15-6.7L21 8"}),jsxRuntime.jsx("path",{d:"M3 22v-6h6"}),jsxRuntime.jsx("path",{d:"M21 12a9 9 0 0 1-15 6.7L3 16"})]})}e(xt,"HardRefreshIcon");function vt({className:o}){return jsxRuntime.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:o,children:[jsxRuntime.jsx("path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z"}),jsxRuntime.jsx("circle",{cx:"12",cy:"12",r:"3"})]})}e(vt,"SettingsIcon");async function wt(){try{if(localStorage.clear(),sessionStorage.clear(),document.cookie.split(";").forEach(o=>{let t=o.split("=")[0].trim();if(t){document.cookie=`${t}=;expires=Thu, 01 Jan 1970 00:00:00 GMT;path=/`,document.cookie=`${t}=;expires=Thu, 01 Jan 1970 00:00:00 GMT;path=/;domain=${location.hostname}`;let n=location.hostname.split(".");if(n.length>2){let r="."+n.slice(-2).join(".");document.cookie=`${t}=;expires=Thu, 01 Jan 1970 00:00:00 GMT;path=/;domain=${r}`;}}}),"caches"in window){let o=await caches.keys();await Promise.all(o.map(t=>caches.delete(t)));}if("serviceWorker"in navigator){let o=await navigator.serviceWorker.getRegistrations();await Promise.all(o.map(t=>t.unregister()));}if("indexedDB"in window&&indexedDB.databases)try{(await indexedDB.databases()).forEach(t=>{t.name&&indexedDB.deleteDatabase(t.name);});}catch{}}catch{}location.reload();}e(wt,"hardRefresh");function ce({currentApp:o,currentAppId:t,user:n,organizations:r,currentOrgId:l,onOrgSwitch:a,onSignOut:i,apps:f,headerRight:d,settingsHref:m,onSettingsClick:p,hideHardRefresh:c,hideSettings:h}){let[g,P]=react.useState(false),L=r?.find(N=>N.id===l)?.slug||"hanzo",u=f||W(L),H=A[L]||A.hanzo,$=react.useCallback(()=>{P(true),wt();},[]),y=react.useCallback(()=>{p?p():window.location.href=m||`${H.iam}/account`;},[p,m,H.iam]);return jsxRuntime.jsxs("header",{className:"sticky top-0 z-50 flex h-14 w-full items-center justify-between border-b border-white/[0.07] bg-[#09090b]/90 px-4 backdrop-blur-xl",role:"banner",children:[jsxRuntime.jsxs("div",{className:"flex min-w-0 items-center gap-2.5",children:[jsxRuntime.jsx("a",{href:`${H.iam}/account`,className:"flex-shrink-0 rounded focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-white/20","aria-label":"Account",children:jsxRuntime.jsx(ae,{size:22,brandMenu:true,animate:true})}),jsxRuntime.jsx("span",{className:"select-none text-white/[0.15]",children:"/"}),jsxRuntime.jsx("span",{className:"truncate text-[13px] font-medium text-white/50",children:o}),jsxRuntime.jsx(_,{apps:u,currentAppId:t})]}),jsxRuntime.jsxs("div",{className:"flex flex-shrink-0 items-center gap-1",children:[d,!c&&jsxRuntime.jsx("button",{type:"button",onClick:$,className:"flex items-center justify-center rounded-lg p-2 text-white/30 hover:bg-white/[0.06] hover:text-white/60 transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-white/20","aria-label":"Hard refresh \u2014 clear all storage, cookies, cache and reload",title:"Hard refresh",children:jsxRuntime.jsx(xt,{className:g?"animate-spin":""})}),!h&&jsxRuntime.jsx("button",{type:"button",onClick:y,className:"flex items-center justify-center rounded-lg p-2 text-white/30 hover:bg-white/[0.06] hover:text-white/60 transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-white/20","aria-label":"Settings",title:"Settings",children:jsxRuntime.jsx(vt,{})}),jsxRuntime.jsx(F,{user:n,organizations:r,currentOrgId:l,onOrgSwitch:a,onSignOut:i})]})]})}e(ce,"HanzoHeader");var pe="hanzo-auth-token",Q="hanzo-user",de="hanzo-auth-expires",yt="https://iam.hanzo.ai",Nt={hanzo:{name:"Hanzo AI",slug:"hanzo"},lux:{name:"Lux Network",slug:"lux"},zoo:{name:"Zoo Labs",slug:"zoo"},pars:{name:"Pars",slug:"pars"}};function fe(){let[o,t]=react.useState(void 0),[n,r]=react.useState([]),[l,a]=react.useState(void 0),[i,f]=react.useState(null),[d,m]=react.useState(true),p=react.useCallback(async()=>{try{let g=localStorage.getItem(pe),P=localStorage.getItem(de);if(!g||P&&Date.now()>Number(P)){m(!1);return}f(g);let B=localStorage.getItem(Q);if(B)try{let u=JSON.parse(B);u?.email&&t({id:u.id,name:u.displayName||u.name,email:u.email,avatar:u.avatar});}catch{}let L=await fetch(`${yt}/api/userinfo`,{headers:{Authorization:`Bearer ${g}`}});if(L.ok){let u=await L.json(),H={id:u.sub||u.id,name:u.name||u.displayName,email:u.email,avatar:u.picture||u.avatar};t(H),localStorage.setItem(Q,JSON.stringify(u));let y=(u.groups||[]).map(N=>{let E=N.toLowerCase().replace(/^\//,""),R=Nt[E];return R?{id:E,name:R.name,slug:R.slug}:null}).filter(Boolean);y.length===0&&H.email&&y.push({id:"personal",name:"Personal",slug:"personal"}),r(y),a(y[0]?.id);}}catch{}finally{m(false);}},[]);react.useEffect(()=>{p();},[p]);let c=react.useCallback(()=>{localStorage.removeItem(pe),localStorage.removeItem(Q),localStorage.removeItem(de),window.location.href="https://hanzo.id";},[]),h=react.useCallback(g=>{a(g);},[]);return {user:o,organizations:n,currentOrgId:l,token:i,loading:d,signOut:c,switchOrg:h}}e(fe,"useHanzoAuth");function zt(o,t){return o.filter(n=>n.id!==t).map(n=>({id:`app-${n.id}`,title:n.label,description:n.description,href:n.href,category:"Hanzo Apps",external:true,keywords:[n.id,n.label.toLowerCase()]}))}e(zt,"buildCrossAppCommands");function ue({commands:o=[],apps:t,currentAppId:n,open:r,onOpenChange:l,onNavigate:a}){var oe;let[i,f]=react.useState(false),d=r??i,m=react.useCallback(s=>{l?l(s):f(s);},[l]),[p,c]=react.useState(""),[h,g]=react.useState(0),P=react.useRef(null),B=react.useRef(null),L=zt(t??I,n),u=[...o,...L],H=p.toLowerCase(),$=H?u.filter(s=>s.title.toLowerCase().includes(H)||s.description?.toLowerCase().includes(H)||s.keywords?.some(z=>z.includes(H))):u,y={};for(let s of $)(y[oe=s.category]??(y[oe]=[])).push(s);let N=Object.values(y).flat();react.useEffect(()=>g(0),[p]),react.useEffect(()=>{d&&(c(""),g(0),requestAnimationFrame(()=>P.current?.focus()));},[d]),react.useEffect(()=>{let s=e(z=>{(z.metaKey||z.ctrlKey)&&z.key==="k"&&(z.preventDefault(),m(!d));},"handler");return document.addEventListener("keydown",s),()=>document.removeEventListener("keydown",s)},[d,m]);let E=react.useCallback(s=>{s.action?s.action():s.href&&(a?a(s.href,s.external):s.external?window.open(s.href,"_blank"):window.location.href=s.href),m(false);},[a,m]),R=react.useCallback(s=>{s.key==="ArrowDown"?(s.preventDefault(),g(z=>(z+1)%(N.length||1))):s.key==="ArrowUp"?(s.preventDefault(),g(z=>(z-1+(N.length||1))%(N.length||1))):s.key==="Enter"&&N[h]?(s.preventDefault(),E(N[h])):s.key==="Escape"&&m(false);},[N,h,E,m]);return react.useEffect(()=>{B.current?.querySelector(`[data-idx="${h}"]`)?.scrollIntoView({block:"nearest"});},[h]),d?jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx("div",{className:"fixed inset-0 bg-black/60 backdrop-blur-sm z-[100]",onClick:()=>m(false)}),jsxRuntime.jsx("div",{className:"fixed top-[15%] left-1/2 -translate-x-1/2 w-full max-w-xl z-[101]",children:jsxRuntime.jsxs("div",{className:"bg-[#111113] border border-white/[0.08] rounded-xl shadow-2xl overflow-hidden",children:[jsxRuntime.jsxs("div",{className:"flex items-center gap-3 px-4 py-3 border-b border-white/[0.07]",children:[jsxRuntime.jsx("svg",{className:"w-4 h-4 text-white/30",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"})}),jsxRuntime.jsx("input",{ref:P,type:"text",value:p,onChange:s=>c(s.target.value),onKeyDown:R,placeholder:"Search commands...",className:"flex-1 bg-transparent text-white text-[13px] placeholder-white/30 outline-none"}),jsxRuntime.jsx("kbd",{className:"px-1.5 py-0.5 text-[10px] font-mono bg-white/[0.06] rounded text-white/30",children:"ESC"})]}),jsxRuntime.jsx("div",{ref:B,className:"max-h-[400px] overflow-y-auto py-1",children:N.length===0?jsxRuntime.jsxs("div",{className:"px-4 py-8 text-center text-white/30 text-[13px]",children:["No results for \u201C",p,"\u201D"]}):Object.entries(y).map(([s,z])=>jsxRuntime.jsxs("div",{children:[jsxRuntime.jsx("div",{className:"px-4 py-2 text-[10px] font-semibold text-white/25 uppercase tracking-widest",children:s}),z.map(O=>{let j=N.indexOf(O),G=j===h;return jsxRuntime.jsxs("button",{"data-idx":j,onClick:()=>E(O),onMouseEnter:()=>g(j),className:`w-full flex items-center gap-3 px-4 py-2 text-left transition-colors ${G?"bg-white/[0.06] text-white":"text-white/50 hover:bg-white/[0.03]"}`,children:[O.icon&&jsxRuntime.jsx("span",{className:`w-5 h-5 flex items-center justify-center ${G?"text-white/70":"text-white/25"}`,children:O.icon}),jsxRuntime.jsxs("div",{className:"flex-1 min-w-0",children:[jsxRuntime.jsx("span",{className:"text-[13px] font-medium truncate block",children:O.title}),O.description&&jsxRuntime.jsx("span",{className:"text-[11px] text-white/25 truncate block",children:O.description})]}),G&&jsxRuntime.jsx("span",{className:"text-white/25 text-[11px]",children:"\u21B5"})]},O.id)})]},s))}),jsxRuntime.jsxs("div",{className:"px-4 py-2 border-t border-white/[0.07] flex items-center justify-between",children:[jsxRuntime.jsxs("div",{className:"flex items-center gap-4 text-[10px] text-white/20",children:[jsxRuntime.jsxs("span",{className:"flex items-center gap-1",children:[jsxRuntime.jsx("kbd",{className:"px-1 py-0.5 bg-white/[0.06] rounded text-[9px]",children:"\u2191"}),jsxRuntime.jsx("kbd",{className:"px-1 py-0.5 bg-white/[0.06] rounded text-[9px]",children:"\u2193"}),"navigate"]}),jsxRuntime.jsxs("span",{className:"flex items-center gap-1",children:[jsxRuntime.jsx("kbd",{className:"px-1 py-0.5 bg-white/[0.06] rounded text-[9px]",children:"\u21B5"}),"select"]})]}),jsxRuntime.jsx("span",{className:"text-[10px] text-white/20",children:"\u2318K"})]})]})})]}):null}e(ue,"HanzoCommandPalette");function ge(){return jsxRuntime.jsx("div",{className:"flex items-center justify-center p-8",children:jsxRuntime.jsx("p",{className:"text-muted-foreground",children:"Component coming soon"})})}e(ge,"Component");function ve(){return jsxRuntime.jsx("div",{className:"flex items-center justify-center p-8",children:jsxRuntime.jsx("p",{className:"text-muted-foreground",children:"Component coming soon"})})}e(ve,"Component");function be(){return jsxRuntime.jsx("div",{className:"flex items-center justify-center p-8",children:jsxRuntime.jsx("p",{className:"text-muted-foreground",children:"Component coming soon"})})}e(be,"Component");function Ne(){return jsxRuntime.jsx("div",{className:"flex items-center justify-center p-8",children:jsxRuntime.jsx("p",{className:"text-muted-foreground",children:"Component coming soon"})})}e(Ne,"Component");function ke(){return jsxRuntime.jsx("div",{className:"flex items-center justify-center p-8",children:jsxRuntime.jsx("p",{className:"text-muted-foreground",children:"Component coming soon"})})}e(ke,"Component");function Ce(){return jsxRuntime.jsx("div",{className:"flex items-center justify-center p-8",children:jsxRuntime.jsx("p",{className:"text-muted-foreground",children:"Component coming soon"})})}e(Ce,"Component");function Se(){return jsxRuntime.jsx("div",{className:"flex items-center justify-center p-8",children:jsxRuntime.jsx("p",{className:"text-muted-foreground",children:"Component coming soon"})})}e(Se,"Component");function De(){return jsxRuntime.jsx("div",{className:"flex items-center justify-center p-8",children:jsxRuntime.jsx("p",{className:"text-muted-foreground",children:"Component coming soon"})})}e(De,"Component");function Pe(){return jsxRuntime.jsx("div",{className:"flex items-center justify-center p-8",children:jsxRuntime.jsx("p",{className:"text-muted-foreground",children:"Component coming soon"})})}e(Pe,"Component");function Be(){return jsxRuntime.jsx("div",{className:"flex items-center justify-center p-8",children:jsxRuntime.jsx("p",{className:"text-muted-foreground",children:"Component coming soon"})})}e(Be,"Component");function Ie(){return jsxRuntime.jsx("div",{className:"flex items-center justify-center p-8",children:jsxRuntime.jsx("p",{className:"text-muted-foreground",children:"Component coming soon"})})}e(Ie,"Component");function Ue(){return jsxRuntime.jsx("div",{className:"flex items-center justify-center p-8",children:jsxRuntime.jsx("p",{className:"text-muted-foreground",children:"Component coming soon"})})}e(Ue,"Component");function $e(){return jsxRuntime.jsx("div",{className:"flex items-center justify-center p-8",children:jsxRuntime.jsx("p",{className:"text-muted-foreground",children:"Component coming soon"})})}e($e,"Component");function _e(){return jsxRuntime.jsx("div",{className:"flex items-center justify-center p-8",children:jsxRuntime.jsx("p",{className:"text-muted-foreground",children:"Component coming soon"})})}e(_e,"Component");function Ze(){return jsxRuntime.jsx("div",{className:"flex items-center justify-center p-8",children:jsxRuntime.jsx("p",{className:"text-muted-foreground",children:"Component coming soon"})})}e(Ze,"Component");function Ge(){return jsxRuntime.jsx("div",{className:"flex items-center justify-center p-8",children:jsxRuntime.jsx("p",{className:"text-muted-foreground",children:"Component coming soon"})})}e(Ge,"Component");function We(){return jsxRuntime.jsx("div",{className:"flex items-center justify-center p-8",children:jsxRuntime.jsx("p",{className:"text-muted-foreground",children:"Component coming soon"})})}e(We,"Component");function qe(){return jsxRuntime.jsx("div",{className:"flex items-center justify-center p-8",children:jsxRuntime.jsx("p",{className:"text-muted-foreground",children:"Component coming soon"})})}e(qe,"Component");
3
+ exports.AIModelSelectorNavigationBar=ve;exports.AdvancedNavigationBar=ge;exports.AppSwitcher=_;exports.AppSwitcherNavigationBar=be;exports.BreadcrumbAndFiltersNavigationBar=Ne;exports.BreadcrumbNavigationBar=ke;exports.CenteredLogoNavigationBar=Ce;exports.CollaborationNavigationBar=Se;exports.CommunicationNavigationBar=De;exports.ContextSwitcherNavigationBar=Pe;exports.DEFAULT_HANZO_APPS=I;exports.DashboardNavigationBar=Be;exports.ECommerceNavigationBar=Ie;exports.HanzoCommandPalette=ue;exports.HanzoHeader=ce;exports.IconNavigationBar=Ue;exports.SearchAndToggleNavigationBar=$e;exports.SimpleNavigationBar=_e;exports.StatusDashboardNavigationBar=Ze;exports.TeamSwitcherNavigationBar=Ge;exports.TwoTierNavigationBar=We;exports.UnderlineNavigationBar=qe;exports.UserOrgDropdown=F;exports.useHanzoAuth=fe;
@@ -1,3 +1,3 @@
1
1
  "use client";
2
- import {useState,useRef,useEffect,useCallback,useMemo}from'react';import {jsxs,jsx,Fragment}from'react/jsx-runtime';var Ye=Object.defineProperty;var e=(t,o)=>Ye(t,"name",{value:o,configurable:true});function Je({x:t,y:o,onClose:n}){let s=useRef(null);useEffect(()=>{let i=e(d=>{s.current&&!s.current.contains(d.target)&&n();},"handler"),c=e(d=>{d.key==="Escape"&&n();},"escape");return document.addEventListener("mousedown",i),document.addEventListener("keydown",c),()=>{document.removeEventListener("mousedown",i),document.removeEventListener("keydown",c);}},[n]);let l=[{label:"Brand Guidelines",href:"https://hanzo.ai/brand"},{label:"Press Kit",href:"https://hanzo.ai/press"},{label:"Download Logo",href:"https://hanzo.ai/brand#download"},{label:"Copy SVG",action:"copy-svg"},{label:"hanzo.ai \u2192",href:"https://hanzo.ai"}],r='<svg viewBox="0 0 67 67" xmlns="http://www.w3.org/2000/svg"><path d="M22.21 67V44.6369H0V67H22.21Z" fill="#ffffff"/><path d="M0 44.6369L22.21 46.8285V44.6369H0Z" fill="#DDDDDD"/><path d="M66.7038 22.3184H22.2534L0.0878906 44.6367H44.4634L66.7038 22.3184Z" fill="#ffffff"/><path d="M22.21 0H0V22.3184H22.21V0Z" fill="#ffffff"/><path d="M66.7198 0H44.5098V22.3184H66.7198V0Z" fill="#ffffff"/><path d="M66.6753 22.3185L44.5098 20.0822V22.3185H66.6753Z" fill="#DDDDDD"/><path d="M66.7198 67V44.6369H44.5098V67H66.7198Z" fill="#ffffff"/></svg>';return jsxs("div",{ref:s,role:"menu",className:"fixed z-[9999] min-w-[180px] rounded-xl border border-white/[0.08] bg-[#111113] py-1.5 shadow-2xl shadow-black/60",style:{top:o,left:t},children:[jsx("div",{className:"border-b border-white/[0.06] px-3 pb-2 pt-1",children:jsx("p",{className:"text-[10px] font-semibold uppercase tracking-widest text-white/30",children:"Hanzo Brand"})}),l.map(i=>i.action==="copy-svg"?jsx("button",{type:"button",role:"menuitem",onClick:()=>{navigator.clipboard.writeText(r).catch(()=>{}),n();},className:"flex w-full items-center px-3 py-2 text-[13px] text-white/60 hover:bg-white/[0.05] hover:text-white/90 transition-colors text-left",children:"Copy SVG"},"copy"):jsx("a",{href:i.href,role:"menuitem",target:i.href?.startsWith("https")?"_blank":void 0,rel:"noopener noreferrer",onClick:n,className:"flex items-center px-3 py-2 text-[13px] text-white/60 hover:bg-white/[0.05] hover:text-white/90 transition-colors",children:i.label},i.label))]})}e(Je,"BrandContextMenu");function ne({size:t=22,className:o="",brandMenu:n=true,animate:s=true}){let[l,r]=useState(null),[i,c]=useState(false),d=useCallback(f=>{n&&(f.preventDefault(),r({x:f.clientX,y:f.clientY}));},[n]);return jsxs(Fragment,{children:[jsxs("svg",{width:t,height:t,viewBox:"0 0 67 67",xmlns:"http://www.w3.org/2000/svg","aria-label":"Hanzo",className:o,style:s?{transition:"transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease",transform:i?"scale(1.12) perspective(80px) rotateY(-6deg)":"scale(1) perspective(80px) rotateY(0deg)",transformOrigin:"center center"}:{},onMouseEnter:()=>c(true),onMouseLeave:()=>c(false),onContextMenu:d,children:[jsx("path",{d:"M22.21 67V44.6369H0V67H22.21Z",fill:"#ffffff"}),jsx("path",{d:"M0 44.6369L22.21 46.8285V44.6369H0Z",fill:"#DDDDDD"}),jsx("path",{d:"M66.7038 22.3184H22.2534L0.0878906 44.6367H44.4634L66.7038 22.3184Z",fill:"#ffffff"}),jsx("path",{d:"M22.21 0H0V22.3184H22.21V0Z",fill:"#ffffff"}),jsx("path",{d:"M66.7198 0H44.5098V22.3184H66.7198V0Z",fill:"#ffffff"}),jsx("path",{d:"M66.6753 22.3185L44.5098 20.0822V22.3185H66.6753Z",fill:"#DDDDDD"}),jsx("path",{d:"M66.7198 67V44.6369H44.5098V67H66.7198Z",fill:"#ffffff"})]}),l&&jsx(Je,{x:l.x,y:l.y,onClose:()=>r(null)})]})}e(ne,"HanzoMark");var k=[{id:"account",label:"Account",href:"https://hanzo.id/account",description:"Profile, orgs & referrals"},{id:"billing",label:"Billing",href:"https://billing.hanzo.ai",description:"Subscriptions & usage"},{id:"console",label:"Console",href:"https://console.hanzo.ai",description:"API keys & projects"},{id:"chat",label:"Chat",href:"https://chat.hanzo.ai",description:"AI chat & models"},{id:"platform",label:"Platform",href:"https://platform.hanzo.ai",description:"Deploy & scale services"}];function V({apps:t=k,currentAppId:o}){let[n,s]=useState(false),l=useRef(null);return useEffect(()=>{let r=e(i=>{l.current&&!l.current.contains(i.target)&&s(false);},"handler");return document.addEventListener("mousedown",r),()=>document.removeEventListener("mousedown",r)},[]),jsxs("div",{ref:l,className:"relative",children:[jsx("button",{type:"button",onClick:()=>s(r=>!r),className:"flex h-8 w-8 items-center justify-center rounded-lg text-white/40 hover:bg-white/[0.06] hover:text-white/70 transition-colors","aria-label":"Switch app",title:"Switch app",children:jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor",children:[jsx("rect",{x:"1",y:"1",width:"4",height:"4",rx:"1"}),jsx("rect",{x:"6",y:"1",width:"4",height:"4",rx:"1"}),jsx("rect",{x:"11",y:"1",width:"4",height:"4",rx:"1"}),jsx("rect",{x:"1",y:"6",width:"4",height:"4",rx:"1"}),jsx("rect",{x:"6",y:"6",width:"4",height:"4",rx:"1"}),jsx("rect",{x:"11",y:"6",width:"4",height:"4",rx:"1"}),jsx("rect",{x:"1",y:"11",width:"4",height:"4",rx:"1"}),jsx("rect",{x:"6",y:"11",width:"4",height:"4",rx:"1"}),jsx("rect",{x:"11",y:"11",width:"4",height:"4",rx:"1"})]})}),n&&jsxs("div",{className:"absolute left-0 top-10 z-50 w-64 rounded-xl border border-white/[0.08] bg-[#0e0e13] p-2 shadow-2xl",children:[jsx("p",{className:"px-2 pb-1.5 pt-0.5 text-[10px] font-medium uppercase tracking-wider text-white/30",children:"Hanzo Apps"}),t.filter(r=>r.id!==o).map(r=>jsxs("a",{href:r.href,className:"flex flex-col gap-0.5 rounded-lg px-3 py-2.5 hover:bg-white/[0.06] transition-colors",onClick:()=>s(false),children:[jsx("span",{className:"text-[13px] font-medium text-white/80",children:r.label}),r.description&&jsx("span",{className:"text-[11px] text-white/30",children:r.description})]},r.id))]})]})}e(V,"AppSwitcher");var ot=["#0A0310","#49007E","#FF005B","#FF7D10","#FFB238"];function rt(t){let o=0;for(let n=0;n<t.length;n++)o=(o<<5)-o+t.charCodeAt(n)|0;return Math.abs(o)}e(rt,"hashStr");function S(t,o,n){return t%(o*(n+1))%o}e(S,"getUnit");function at(t,o){return S(t,2,o)===0}e(at,"getBoolean");function oe(t,o,n){return n[S(t,n.length,o)]}e(oe,"getRandomColor");function st(t){let o=parseInt(t.slice(1,3),16),n=parseInt(t.slice(3,5),16),s=parseInt(t.slice(5,7),16);return o*.299+n*.587+s*.114>128?"#000":"#fff"}e(st,"getContrast");function re({name:t,size:o=40,colors:n=ot,className:s,square:l=false}){let r=rt(t),i=oe(r,0,n),c=st(i),d=at(r,2),p=S(r,3,7),f=S(r,5,8),v=S(r,10,9),g=v>6?v-10:v,h=S(r,5,10)>3?S(r,5,10)-5:S(r,5,10);return jsxs("svg",{viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:o,height:o,className:s,style:l?void 0:{borderRadius:"50%"},children:[jsx("mask",{id:`beam-${r}`,maskUnits:"userSpaceOnUse",x:0,y:0,width:36,height:36,children:jsx("rect",{width:36,height:36,rx:l?void 0:72,fill:"#fff"})}),jsxs("g",{mask:`url(#beam-${r})`,children:[jsx("rect",{width:36,height:36,fill:i}),jsx("rect",{x:0,y:0,width:36,height:36,transform:`translate(${g} ${h}) rotate(${v} 18 18)`,fill:oe(r,1,n),rx:6}),jsxs("g",{transform:`translate(${g} ${h}) rotate(${v} 18 18)`,children:[d?jsx("path",{d:`M15 ${19+p}c2 1 4 1 6 0`,stroke:c,fill:"none",strokeLinecap:"round"}):jsx("path",{d:`M13 ${19+p}a1 .75 0 0 0 10 0`,fill:c}),jsx("rect",{x:14-f,y:14,width:1.5,height:2,rx:1,fill:c}),jsx("rect",{x:20+f,y:14,width:1.5,height:2,rx:1,fill:c})]})]})]})}e(re,"BeamAvatar");async function lt(t){let n=new TextEncoder().encode(t),s=await crypto.subtle.digest("SHA-256",n);return Array.from(new Uint8Array(s)).map(l=>l.toString(16).padStart(2,"0")).join("")}e(lt,"sha256");function pt(t,o){let[n,s]=useState(null);return useMemo(()=>{if(!t){s(null);return}let l=t.trim().toLowerCase();lt(l).then(r=>{s(`https://www.gravatar.com/avatar/${r}?s=${o||80}&d=404`);});},[t,o]),n}e(pt,"useGravatarUrl");function ae({src:t,email:o,name:n,size:s=40,colors:l,className:r}){let[i,c]=useState(false),[d,p]=useState(false),f=pt(o,s*2),v=`rounded-full object-cover ${r||""}`,g={width:s,height:s};return t&&!i?jsx("img",{src:t,alt:n||o||"avatar",className:v,style:g,onError:()=>c(true)}):f&&!d?jsx("img",{src:f,alt:n||o||"avatar",className:v,style:g,onError:()=>p(true)}):jsx(re,{name:n||o||"user",size:s,colors:l,className:r})}e(ae,"UserAvatar");function T({user:t,organizations:o=[],currentOrgId:n,onOrgSwitch:s,onSignOut:l}){let[r,i]=useState(false),c=useRef(null);if(useEffect(()=>{let p=e(f=>{c.current&&!c.current.contains(f.target)&&i(false);},"handler");return document.addEventListener("mousedown",p),()=>document.removeEventListener("mousedown",p)},[]),!t)return null;o.find(p=>p.id===n);return jsxs("div",{ref:c,className:"relative",children:[jsxs("button",{type:"button",onClick:()=>i(p=>!p),className:"flex items-center gap-2 rounded-lg px-2 py-1.5 hover:bg-white/[0.06] transition-colors",children:[jsx(ae,{src:t.avatar,email:t.email,name:t.name,size:28}),jsxs("div",{className:"hidden flex-col items-start sm:flex",children:[t.name&&jsx("span",{className:"text-[12px] font-medium text-white/70 leading-none",children:t.name}),jsx("span",{className:"text-[11px] text-white/30 leading-none mt-0.5",children:t.email})]}),jsx("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"text-white/30 hidden sm:block",children:jsx("path",{d:"M6 9l6 6 6-6"})})]}),r&&jsxs("div",{className:"absolute right-0 top-10 z-50 w-64 rounded-xl border border-white/[0.08] bg-[#0e0e13] shadow-2xl",children:[jsxs("div",{className:"border-b border-white/[0.06] px-4 py-3",children:[jsx("p",{className:"text-[13px] font-medium text-white/80",children:t.name||"User"}),jsx("p",{className:"text-[11px] text-white/40",children:t.email})]}),o.length>0&&jsxs("div",{className:"border-b border-white/[0.06] p-2",children:[jsx("p",{className:"px-2 pb-1 pt-0.5 text-[10px] font-medium uppercase tracking-wider text-white/30",children:"Organizations"}),o.map(p=>jsxs("button",{type:"button",onClick:()=>{s?.(p.id),i(false);},className:"flex w-full items-center justify-between rounded-lg px-3 py-2 text-left hover:bg-white/[0.06] transition-colors",children:[jsx("span",{className:"text-[13px] text-white/70",children:p.name}),p.id===n&&jsx("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",className:"text-white/50",children:jsx("polyline",{points:"20 6 9 17 4 12"})})]},p.id))]}),jsxs("div",{className:"p-2",children:[jsx("a",{href:"https://hanzo.id/account",className:"flex items-center gap-2.5 rounded-lg px-3 py-2 text-[13px] text-white/60 hover:bg-white/[0.06] hover:text-white/80 transition-colors",onClick:()=>i(false),children:"Account settings"}),jsx("a",{href:"https://billing.hanzo.ai",className:"flex items-center gap-2.5 rounded-lg px-3 py-2 text-[13px] text-white/60 hover:bg-white/[0.06] hover:text-white/80 transition-colors",onClick:()=>i(false),children:"Billing"}),jsx("button",{type:"button",onClick:()=>{i(false),l?.();},className:"flex w-full items-center gap-2.5 rounded-lg px-3 py-2 text-[13px] text-white/40 hover:bg-white/[0.06] hover:text-red-400/70 transition-colors",children:"Sign out"})]})]})]})}e(T,"UserOrgDropdown");function se({currentApp:t,currentAppId:o,user:n,organizations:s,currentOrgId:l,onOrgSwitch:r,onSignOut:i,apps:c=k,headerRight:d}){return jsxs("header",{className:"sticky top-0 z-50 flex h-14 w-full items-center justify-between border-b border-white/[0.07] bg-[#09090b]/90 px-4 backdrop-blur-xl",role:"banner",children:[jsxs("div",{className:"flex min-w-0 items-center gap-2.5",children:[jsx("a",{href:"https://hanzo.id/account",className:"flex-shrink-0 rounded focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-white/20","aria-label":"Hanzo Account",children:jsx(ne,{size:22,brandMenu:true,animate:true})}),jsx("span",{className:"select-none text-white/[0.15]",children:"/"}),jsx("span",{className:"truncate text-[13px] font-medium text-white/50",children:t}),jsx(V,{apps:c,currentAppId:o})]}),jsxs("div",{className:"flex flex-shrink-0 items-center gap-2",children:[d,jsx(T,{user:n,organizations:s,currentOrgId:l,onOrgSwitch:r,onSignOut:i})]})]})}e(se,"HanzoHeader");var ie="hanzo-auth-token",W="hanzo-user",le="hanzo-auth-expires",ut="https://iam.hanzo.ai",ht={hanzo:{name:"Hanzo AI",slug:"hanzo"},lux:{name:"Lux Network",slug:"lux"},zoo:{name:"Zoo Labs",slug:"zoo"},pars:{name:"Pars",slug:"pars"}};function pe(){let[t,o]=useState(void 0),[n,s]=useState([]),[l,r]=useState(void 0),[i,c]=useState(null),[d,p]=useState(true),f=useCallback(async()=>{try{let h=localStorage.getItem(ie),L=localStorage.getItem(le);if(!h||L&&Date.now()>Number(L)){p(!1);return}c(h);let M=localStorage.getItem(W);if(M)try{let m=JSON.parse(M);m?.email&&o({id:m.id,name:m.displayName||m.name,email:m.email,avatar:m.avatar});}catch{}let U=await fetch(`${ut}/api/userinfo`,{headers:{Authorization:`Bearer ${h}`}});if(U.ok){let m=await U.json(),P={id:m.sub||m.id,name:m.name||m.displayName,email:m.email,avatar:m.picture||m.avatar};o(P),localStorage.setItem(W,JSON.stringify(m));let H=(m.groups||[]).map(z=>{let D=z.toLowerCase().replace(/^\//,""),B=ht[D];return B?{id:D,name:B.name,slug:B.slug}:null}).filter(Boolean);H.length===0&&P.email&&H.push({id:"personal",name:"Personal",slug:"personal"}),s(H),r(H[0]?.id);}}catch{}finally{p(false);}},[]);useEffect(()=>{f();},[f]);let v=useCallback(()=>{localStorage.removeItem(ie),localStorage.removeItem(W),localStorage.removeItem(le),window.location.href="https://hanzo.id";},[]),g=useCallback(h=>{r(h);},[]);return {user:t,organizations:n,currentOrgId:l,token:i,loading:d,signOut:v,switchOrg:g}}e(pe,"useHanzoAuth");function gt(t,o){return t.filter(n=>n.id!==o).map(n=>({id:`app-${n.id}`,title:n.label,description:n.description,href:n.href,category:"Hanzo Apps",external:true,keywords:[n.id,n.label.toLowerCase()]}))}e(gt,"buildCrossAppCommands");function de({commands:t=[],apps:o,currentAppId:n,open:s,onOpenChange:l,onNavigate:r}){var ee;let[i,c]=useState(false),d=s??i,p=useCallback(a=>{l?l(a):c(a);},[l]),[f,v]=useState(""),[g,h]=useState(0),L=useRef(null),M=useRef(null),U=gt(o??k,n),m=[...t,...U],P=f.toLowerCase(),Q=P?m.filter(a=>a.title.toLowerCase().includes(P)||a.description?.toLowerCase().includes(P)||a.keywords?.some(b=>b.includes(P))):m,H={};for(let a of Q)(H[ee=a.category]??(H[ee]=[])).push(a);let z=Object.values(H).flat();useEffect(()=>h(0),[f]),useEffect(()=>{d&&(v(""),h(0),requestAnimationFrame(()=>L.current?.focus()));},[d]),useEffect(()=>{let a=e(b=>{(b.metaKey||b.ctrlKey)&&b.key==="k"&&(b.preventDefault(),p(!d));},"handler");return document.addEventListener("keydown",a),()=>document.removeEventListener("keydown",a)},[d,p]);let D=useCallback(a=>{a.action?a.action():a.href&&(r?r(a.href,a.external):a.external?window.open(a.href,"_blank"):window.location.href=a.href),p(false);},[r,p]),B=useCallback(a=>{a.key==="ArrowDown"?(a.preventDefault(),h(b=>(b+1)%(z.length||1))):a.key==="ArrowUp"?(a.preventDefault(),h(b=>(b-1+(z.length||1))%(z.length||1))):a.key==="Enter"&&z[g]?(a.preventDefault(),D(z[g])):a.key==="Escape"&&p(false);},[z,g,D,p]);return useEffect(()=>{M.current?.querySelector(`[data-idx="${g}"]`)?.scrollIntoView({block:"nearest"});},[g]),d?jsxs(Fragment,{children:[jsx("div",{className:"fixed inset-0 bg-black/60 backdrop-blur-sm z-[100]",onClick:()=>p(false)}),jsx("div",{className:"fixed top-[15%] left-1/2 -translate-x-1/2 w-full max-w-xl z-[101]",children:jsxs("div",{className:"bg-[#111113] border border-white/[0.08] rounded-xl shadow-2xl overflow-hidden",children:[jsxs("div",{className:"flex items-center gap-3 px-4 py-3 border-b border-white/[0.07]",children:[jsx("svg",{className:"w-4 h-4 text-white/30",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"})}),jsx("input",{ref:L,type:"text",value:f,onChange:a=>v(a.target.value),onKeyDown:B,placeholder:"Search commands...",className:"flex-1 bg-transparent text-white text-[13px] placeholder-white/30 outline-none"}),jsx("kbd",{className:"px-1.5 py-0.5 text-[10px] font-mono bg-white/[0.06] rounded text-white/30",children:"ESC"})]}),jsx("div",{ref:M,className:"max-h-[400px] overflow-y-auto py-1",children:z.length===0?jsxs("div",{className:"px-4 py-8 text-center text-white/30 text-[13px]",children:["No results for \u201C",f,"\u201D"]}):Object.entries(H).map(([a,b])=>jsxs("div",{children:[jsx("div",{className:"px-4 py-2 text-[10px] font-semibold text-white/25 uppercase tracking-widest",children:a}),b.map(C=>{let _=z.indexOf(C),$=_===g;return jsxs("button",{"data-idx":_,onClick:()=>D(C),onMouseEnter:()=>h(_),className:`w-full flex items-center gap-3 px-4 py-2 text-left transition-colors ${$?"bg-white/[0.06] text-white":"text-white/50 hover:bg-white/[0.03]"}`,children:[C.icon&&jsx("span",{className:`w-5 h-5 flex items-center justify-center ${$?"text-white/70":"text-white/25"}`,children:C.icon}),jsxs("div",{className:"flex-1 min-w-0",children:[jsx("span",{className:"text-[13px] font-medium truncate block",children:C.title}),C.description&&jsx("span",{className:"text-[11px] text-white/25 truncate block",children:C.description})]}),$&&jsx("span",{className:"text-white/25 text-[11px]",children:"\u21B5"})]},C.id)})]},a))}),jsxs("div",{className:"px-4 py-2 border-t border-white/[0.07] flex items-center justify-between",children:[jsxs("div",{className:"flex items-center gap-4 text-[10px] text-white/20",children:[jsxs("span",{className:"flex items-center gap-1",children:[jsx("kbd",{className:"px-1 py-0.5 bg-white/[0.06] rounded text-[9px]",children:"\u2191"}),jsx("kbd",{className:"px-1 py-0.5 bg-white/[0.06] rounded text-[9px]",children:"\u2193"}),"navigate"]}),jsxs("span",{className:"flex items-center gap-1",children:[jsx("kbd",{className:"px-1 py-0.5 bg-white/[0.06] rounded text-[9px]",children:"\u21B5"}),"select"]})]}),jsx("span",{className:"text-[10px] text-white/20",children:"\u2318K"})]})]})})]}):null}e(de,"HanzoCommandPalette");function me(){return jsx("div",{className:"flex items-center justify-center p-8",children:jsx("p",{className:"text-muted-foreground",children:"Component coming soon"})})}e(me,"Component");function he(){return jsx("div",{className:"flex items-center justify-center p-8",children:jsx("p",{className:"text-muted-foreground",children:"Component coming soon"})})}e(he,"Component");function xe(){return jsx("div",{className:"flex items-center justify-center p-8",children:jsx("p",{className:"text-muted-foreground",children:"Component coming soon"})})}e(xe,"Component");function we(){return jsx("div",{className:"flex items-center justify-center p-8",children:jsx("p",{className:"text-muted-foreground",children:"Component coming soon"})})}e(we,"Component");function ye(){return jsx("div",{className:"flex items-center justify-center p-8",children:jsx("p",{className:"text-muted-foreground",children:"Component coming soon"})})}e(ye,"Component");function He(){return jsx("div",{className:"flex items-center justify-center p-8",children:jsx("p",{className:"text-muted-foreground",children:"Component coming soon"})})}e(He,"Component");function Ce(){return jsx("div",{className:"flex items-center justify-center p-8",children:jsx("p",{className:"text-muted-foreground",children:"Component coming soon"})})}e(Ce,"Component");function Ae(){return jsx("div",{className:"flex items-center justify-center p-8",children:jsx("p",{className:"text-muted-foreground",children:"Component coming soon"})})}e(Ae,"Component");function Oe(){return jsx("div",{className:"flex items-center justify-center p-8",children:jsx("p",{className:"text-muted-foreground",children:"Component coming soon"})})}e(Oe,"Component");function De(){return jsx("div",{className:"flex items-center justify-center p-8",children:jsx("p",{className:"text-muted-foreground",children:"Component coming soon"})})}e(De,"Component");function Le(){return jsx("div",{className:"flex items-center justify-center p-8",children:jsx("p",{className:"text-muted-foreground",children:"Component coming soon"})})}e(Le,"Component");function Be(){return jsx("div",{className:"flex items-center justify-center p-8",children:jsx("p",{className:"text-muted-foreground",children:"Component coming soon"})})}e(Be,"Component");function Ue(){return jsx("div",{className:"flex items-center justify-center p-8",children:jsx("p",{className:"text-muted-foreground",children:"Component coming soon"})})}e(Ue,"Component");function Ve(){return jsx("div",{className:"flex items-center justify-center p-8",children:jsx("p",{className:"text-muted-foreground",children:"Component coming soon"})})}e(Ve,"Component");function Ze(){return jsx("div",{className:"flex items-center justify-center p-8",children:jsx("p",{className:"text-muted-foreground",children:"Component coming soon"})})}e(Ze,"Component");function $e(){return jsx("div",{className:"flex items-center justify-center p-8",children:jsx("p",{className:"text-muted-foreground",children:"Component coming soon"})})}e($e,"Component");function Ke(){return jsx("div",{className:"flex items-center justify-center p-8",children:jsx("p",{className:"text-muted-foreground",children:"Component coming soon"})})}e(Ke,"Component");function je(){return jsx("div",{className:"flex items-center justify-center p-8",children:jsx("p",{className:"text-muted-foreground",children:"Component coming soon"})})}e(je,"Component");
3
- export{he as AIModelSelectorNavigationBar,me as AdvancedNavigationBar,V as AppSwitcher,xe as AppSwitcherNavigationBar,we as BreadcrumbAndFiltersNavigationBar,ye as BreadcrumbNavigationBar,He as CenteredLogoNavigationBar,Ce as CollaborationNavigationBar,Ae as CommunicationNavigationBar,Oe as ContextSwitcherNavigationBar,k as DEFAULT_HANZO_APPS,De as DashboardNavigationBar,Le as ECommerceNavigationBar,de as HanzoCommandPalette,se as HanzoHeader,Be as IconNavigationBar,Ue as SearchAndToggleNavigationBar,Ve as SimpleNavigationBar,Ze as StatusDashboardNavigationBar,$e as TeamSwitcherNavigationBar,Ke as TwoTierNavigationBar,je as UnderlineNavigationBar,T as UserOrgDropdown,pe as useHanzoAuth};
2
+ import {useState,useRef,useEffect,useCallback,useMemo}from'react';import {jsxs,jsx,Fragment}from'react/jsx-runtime';var Je=Object.defineProperty;var e=(o,t)=>Je(o,"name",{value:t,configurable:true});function tt({x:o,y:t,onClose:n}){let r=useRef(null);useEffect(()=>{let i=e(d=>{r.current&&!r.current.contains(d.target)&&n();},"handler"),f=e(d=>{d.key==="Escape"&&n();},"escape");return document.addEventListener("mousedown",i),document.addEventListener("keydown",f),()=>{document.removeEventListener("mousedown",i),document.removeEventListener("keydown",f);}},[n]);let l=[{label:"Brand Guidelines",href:"https://hanzo.ai/brand"},{label:"Press Kit",href:"https://hanzo.ai/press"},{label:"Download Logo",href:"https://hanzo.ai/brand#download"},{label:"Copy SVG",action:"copy-svg"},{label:"hanzo.ai \u2192",href:"https://hanzo.ai"}],a='<svg viewBox="0 0 67 67" xmlns="http://www.w3.org/2000/svg"><path d="M22.21 67V44.6369H0V67H22.21Z" fill="#ffffff"/><path d="M0 44.6369L22.21 46.8285V44.6369H0Z" fill="#DDDDDD"/><path d="M66.7038 22.3184H22.2534L0.0878906 44.6367H44.4634L66.7038 22.3184Z" fill="#ffffff"/><path d="M22.21 0H0V22.3184H22.21V0Z" fill="#ffffff"/><path d="M66.7198 0H44.5098V22.3184H66.7198V0Z" fill="#ffffff"/><path d="M66.6753 22.3185L44.5098 20.0822V22.3185H66.6753Z" fill="#DDDDDD"/><path d="M66.7198 67V44.6369H44.5098V67H66.7198Z" fill="#ffffff"/></svg>';return jsxs("div",{ref:r,role:"menu",className:"fixed z-[9999] min-w-[180px] rounded-xl border border-white/[0.08] bg-[#111113] py-1.5 shadow-2xl shadow-black/60",style:{top:t,left:o},children:[jsx("div",{className:"border-b border-white/[0.06] px-3 pb-2 pt-1",children:jsx("p",{className:"text-[10px] font-semibold uppercase tracking-widest text-white/30",children:"Hanzo Brand"})}),l.map(i=>i.action==="copy-svg"?jsx("button",{type:"button",role:"menuitem",onClick:()=>{navigator.clipboard.writeText(a).catch(()=>{}),n();},className:"flex w-full items-center px-3 py-2 text-[13px] text-white/60 hover:bg-white/[0.05] hover:text-white/90 transition-colors text-left",children:"Copy SVG"},"copy"):jsx("a",{href:i.href,role:"menuitem",target:i.href?.startsWith("https")?"_blank":void 0,rel:"noopener noreferrer",onClick:n,className:"flex items-center px-3 py-2 text-[13px] text-white/60 hover:bg-white/[0.05] hover:text-white/90 transition-colors",children:i.label},i.label))]})}e(tt,"BrandContextMenu");function ae({size:o=22,className:t="",brandMenu:n=true,animate:r=true}){let[l,a]=useState(null),[i,f]=useState(false),d=useCallback(p=>{n&&(p.preventDefault(),a({x:p.clientX,y:p.clientY}));},[n]);return jsxs(Fragment,{children:[jsxs("svg",{width:o,height:o,viewBox:"0 0 67 67",xmlns:"http://www.w3.org/2000/svg","aria-label":"Hanzo",className:t,style:r?{transition:"transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease",transform:i?"scale(1.12) perspective(80px) rotateY(-6deg)":"scale(1) perspective(80px) rotateY(0deg)",transformOrigin:"center center"}:{},onMouseEnter:()=>f(true),onMouseLeave:()=>f(false),onContextMenu:d,children:[jsx("path",{d:"M22.21 67V44.6369H0V67H22.21Z",fill:"#ffffff"}),jsx("path",{d:"M0 44.6369L22.21 46.8285V44.6369H0Z",fill:"#DDDDDD"}),jsx("path",{d:"M66.7038 22.3184H22.2534L0.0878906 44.6367H44.4634L66.7038 22.3184Z",fill:"#ffffff"}),jsx("path",{d:"M22.21 0H0V22.3184H22.21V0Z",fill:"#ffffff"}),jsx("path",{d:"M66.7198 0H44.5098V22.3184H66.7198V0Z",fill:"#ffffff"}),jsx("path",{d:"M66.6753 22.3185L44.5098 20.0822V22.3185H66.6753Z",fill:"#DDDDDD"}),jsx("path",{d:"M66.7198 67V44.6369H44.5098V67H66.7198Z",fill:"#ffffff"})]}),l&&jsx(tt,{x:l.x,y:l.y,onClose:()=>a(null)})]})}e(ae,"HanzoMark");var I=[{id:"account",label:"Account",href:"https://hanzo.id/account",description:"Profile, orgs & referrals"},{id:"billing",label:"Billing",href:"https://billing.hanzo.ai",description:"Subscriptions & usage"},{id:"console",label:"Console",href:"https://console.hanzo.ai",description:"API keys & projects"},{id:"chat",label:"Chat",href:"https://hanzo.chat",description:"AI chat & models"},{id:"platform",label:"Platform",href:"https://platform.hanzo.ai",description:"Deploy & scale services"},{id:"storage",label:"Storage",href:"https://hanzo.space",description:"S3 object storage"}],A={hanzo:{id:"hanzo",iam:"https://hanzo.id",billing:"https://billing.hanzo.ai",console:"https://console.hanzo.ai",chat:"https://hanzo.chat",platform:"https://platform.hanzo.ai",storage:"https://hanzo.space",s3:"https://s3.hanzo.ai"},lux:{id:"lux",iam:"https://lux.id",billing:"https://billing.lux.network",console:"https://console.lux.network",chat:"https://chat.lux.network",platform:"https://platform.lux.network",storage:"https://storage.lux.network",s3:"https://s3.lux.network"},zoo:{id:"zoo",iam:"https://zoo.id",billing:"https://billing.zoo.ngo",console:"https://console.zoo.ngo",chat:"https://chat.zoo.ngo",platform:"https://platform.zoo.ngo",storage:"https://storage.zoo.ngo",s3:"https://s3.zoo.ngo"},pars:{id:"pars",iam:"https://pars.id",billing:"https://billing.pars.ai",console:"https://console.pars.ai",chat:"https://chat.pars.ai",platform:"https://platform.pars.ai",storage:"https://storage.pars.ai",s3:"https://s3.pars.ai"}};function W(o){let t=A[o]||A.hanzo;return [{id:"account",label:"Account",href:`${t.iam}/account`,description:"Profile, orgs & referrals"},{id:"billing",label:"Billing",href:t.billing,description:"Subscriptions & usage"},{id:"console",label:"Console",href:t.console,description:"API keys & projects"},{id:"chat",label:"Chat",href:t.chat,description:"AI chat & models"},{id:"platform",label:"Platform",href:t.platform,description:"Deploy & scale services"},{id:"storage",label:"Storage",href:t.storage,description:"S3 object storage"}]}e(W,"getAppsForOrg");function _({apps:o=I,currentAppId:t}){let[n,r]=useState(false),l=useRef(null);return useEffect(()=>{let a=e(i=>{l.current&&!l.current.contains(i.target)&&r(false);},"handler");return document.addEventListener("mousedown",a),()=>document.removeEventListener("mousedown",a)},[]),jsxs("div",{ref:l,className:"relative",children:[jsx("button",{type:"button",onClick:()=>r(a=>!a),className:"flex h-8 w-8 items-center justify-center rounded-lg text-white/40 hover:bg-white/[0.06] hover:text-white/70 transition-colors","aria-label":"Switch app",title:"Switch app",children:jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor",children:[jsx("rect",{x:"1",y:"1",width:"4",height:"4",rx:"1"}),jsx("rect",{x:"6",y:"1",width:"4",height:"4",rx:"1"}),jsx("rect",{x:"11",y:"1",width:"4",height:"4",rx:"1"}),jsx("rect",{x:"1",y:"6",width:"4",height:"4",rx:"1"}),jsx("rect",{x:"6",y:"6",width:"4",height:"4",rx:"1"}),jsx("rect",{x:"11",y:"6",width:"4",height:"4",rx:"1"}),jsx("rect",{x:"1",y:"11",width:"4",height:"4",rx:"1"}),jsx("rect",{x:"6",y:"11",width:"4",height:"4",rx:"1"}),jsx("rect",{x:"11",y:"11",width:"4",height:"4",rx:"1"})]})}),n&&jsxs("div",{className:"absolute left-0 top-10 z-50 w-64 rounded-xl border border-white/[0.08] bg-[#0e0e13] p-2 shadow-2xl",children:[jsx("p",{className:"px-2 pb-1.5 pt-0.5 text-[10px] font-medium uppercase tracking-wider text-white/30",children:"Hanzo Apps"}),o.filter(a=>a.id!==t).map(a=>jsxs("a",{href:a.href,className:"flex flex-col gap-0.5 rounded-lg px-3 py-2.5 hover:bg-white/[0.06] transition-colors",onClick:()=>r(false),children:[jsx("span",{className:"text-[13px] font-medium text-white/80",children:a.label}),a.description&&jsx("span",{className:"text-[11px] text-white/30",children:a.description})]},a.id))]})]})}e(_,"AppSwitcher");var st=["#0A0310","#49007E","#FF005B","#FF7D10","#FFB238"];function it(o){let t=0;for(let n=0;n<o.length;n++)t=(t<<5)-t+o.charCodeAt(n)|0;return Math.abs(t)}e(it,"hashStr");function M(o,t,n){return o%(t*(n+1))%t}e(M,"getUnit");function lt(o,t){return M(o,2,t)===0}e(lt,"getBoolean");function re(o,t,n){return n[M(o,n.length,t)]}e(re,"getRandomColor");function ct(o){let t=parseInt(o.slice(1,3),16),n=parseInt(o.slice(3,5),16),r=parseInt(o.slice(5,7),16);return t*.299+n*.587+r*.114>128?"#000":"#fff"}e(ct,"getContrast");function se({name:o,size:t=40,colors:n=st,className:r,square:l=false}){let a=it(o),i=re(a,0,n),f=ct(i),d=lt(a,2),m=M(a,3,7),p=M(a,5,8),c=M(a,10,9),h=c>6?c-10:c,g=M(a,5,10)>3?M(a,5,10)-5:M(a,5,10);return jsxs("svg",{viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:t,height:t,className:r,style:l?void 0:{borderRadius:"50%"},children:[jsx("mask",{id:`beam-${a}`,maskUnits:"userSpaceOnUse",x:0,y:0,width:36,height:36,children:jsx("rect",{width:36,height:36,rx:l?void 0:72,fill:"#fff"})}),jsxs("g",{mask:`url(#beam-${a})`,children:[jsx("rect",{width:36,height:36,fill:i}),jsx("rect",{x:0,y:0,width:36,height:36,transform:`translate(${h} ${g}) rotate(${c} 18 18)`,fill:re(a,1,n),rx:6}),jsxs("g",{transform:`translate(${h} ${g}) rotate(${c} 18 18)`,children:[d?jsx("path",{d:`M15 ${19+m}c2 1 4 1 6 0`,stroke:f,fill:"none",strokeLinecap:"round"}):jsx("path",{d:`M13 ${19+m}a1 .75 0 0 0 10 0`,fill:f}),jsx("rect",{x:14-p,y:14,width:1.5,height:2,rx:1,fill:f}),jsx("rect",{x:20+p,y:14,width:1.5,height:2,rx:1,fill:f})]})]})]})}e(se,"BeamAvatar");async function dt(o){let n=new TextEncoder().encode(o),r=await crypto.subtle.digest("SHA-256",n);return Array.from(new Uint8Array(r)).map(l=>l.toString(16).padStart(2,"0")).join("")}e(dt,"sha256");function ft(o,t){let[n,r]=useState(null);return useMemo(()=>{if(!o){r(null);return}let l=o.trim().toLowerCase();dt(l).then(a=>{r(`https://www.gravatar.com/avatar/${a}?s=${t||80}&d=404`);});},[o,t]),n}e(ft,"useGravatarUrl");function ie({src:o,email:t,name:n,size:r=40,colors:l,className:a}){let[i,f]=useState(false),[d,m]=useState(false),p=ft(t,r*2),c=`rounded-full object-cover ${a||""}`,h={width:r,height:r};return o&&!i?jsx("img",{src:o,alt:n||t||"avatar",className:c,style:h,onError:()=>f(true)}):p&&!d?jsx("img",{src:p,alt:n||t||"avatar",className:c,style:h,onError:()=>m(true)}):jsx(se,{name:n||t||"user",size:r,colors:l,className:a})}e(ie,"UserAvatar");function F({user:o,organizations:t=[],currentOrgId:n,onOrgSwitch:r,onSignOut:l}){let[a,i]=useState(false),f=useRef(null);if(useEffect(()=>{let c=e(h=>{f.current&&!f.current.contains(h.target)&&i(false);},"handler");return document.addEventListener("mousedown",c),()=>document.removeEventListener("mousedown",c)},[]),!o)return null;let d=t.find(c=>c.id===n),m=d?.slug||"hanzo",p=A[m]||A.hanzo;return jsxs("div",{ref:f,className:"relative",children:[jsxs("button",{type:"button",onClick:()=>i(c=>!c),className:"flex items-center gap-2 rounded-lg px-2 py-1.5 hover:bg-white/[0.06] transition-colors",children:[jsx(ie,{src:o.avatar,email:o.email,name:o.name,size:28}),jsxs("div",{className:"hidden flex-col items-start sm:flex",children:[o.name&&jsx("span",{className:"text-[12px] font-medium text-white/70 leading-none",children:o.name}),jsx("span",{className:"text-[11px] text-white/30 leading-none mt-0.5",children:o.email})]}),jsx("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"text-white/30 hidden sm:block",children:jsx("path",{d:"M6 9l6 6 6-6"})})]}),a&&jsxs("div",{className:"absolute right-0 top-10 z-50 w-64 rounded-xl border border-white/[0.08] bg-[#0e0e13] shadow-2xl",children:[jsxs("div",{className:"border-b border-white/[0.06] px-4 py-3",children:[jsx("p",{className:"text-[13px] font-medium text-white/80",children:o.name||"User"}),jsx("p",{className:"text-[11px] text-white/40",children:o.email}),d&&jsx("p",{className:"mt-0.5 text-[10px] font-medium text-white/25 uppercase tracking-wider",children:d.name})]}),t.length>0&&jsxs("div",{className:"border-b border-white/[0.06] p-2",children:[jsx("p",{className:"px-2 pb-1 pt-0.5 text-[10px] font-medium uppercase tracking-wider text-white/30",children:"Organizations"}),t.map(c=>jsxs("button",{type:"button",onClick:()=>{r?.(c.id),i(false);},className:"flex w-full items-center justify-between rounded-lg px-3 py-2 text-left hover:bg-white/[0.06] transition-colors",children:[jsxs("div",{className:"flex flex-col",children:[jsx("span",{className:"text-[13px] text-white/70",children:c.name}),c.role&&jsx("span",{className:"text-[10px] text-white/25 capitalize",children:c.role})]}),c.id===n&&jsx("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",className:"text-white/50",children:jsx("polyline",{points:"20 6 9 17 4 12"})})]},c.id))]}),jsxs("div",{className:"p-2",children:[jsx("a",{href:`${p.iam}/account`,className:"flex items-center gap-2.5 rounded-lg px-3 py-2 text-[13px] text-white/60 hover:bg-white/[0.06] hover:text-white/80 transition-colors",onClick:()=>i(false),children:"Account settings"}),jsx("a",{href:p.billing,className:"flex items-center gap-2.5 rounded-lg px-3 py-2 text-[13px] text-white/60 hover:bg-white/[0.06] hover:text-white/80 transition-colors",onClick:()=>i(false),children:"Billing"}),jsx("button",{type:"button",onClick:()=>{i(false),l?.();},className:"flex w-full items-center gap-2.5 rounded-lg px-3 py-2 text-[13px] text-white/40 hover:bg-white/[0.06] hover:text-red-400/70 transition-colors",children:"Sign out"})]})]})]})}e(F,"UserOrgDropdown");function xt({className:o}){return jsxs("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:o,children:[jsx("path",{d:"M21 2v6h-6"}),jsx("path",{d:"M3 12a9 9 0 0 1 15-6.7L21 8"}),jsx("path",{d:"M3 22v-6h6"}),jsx("path",{d:"M21 12a9 9 0 0 1-15 6.7L3 16"})]})}e(xt,"HardRefreshIcon");function vt({className:o}){return jsxs("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:o,children:[jsx("path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z"}),jsx("circle",{cx:"12",cy:"12",r:"3"})]})}e(vt,"SettingsIcon");async function wt(){try{if(localStorage.clear(),sessionStorage.clear(),document.cookie.split(";").forEach(o=>{let t=o.split("=")[0].trim();if(t){document.cookie=`${t}=;expires=Thu, 01 Jan 1970 00:00:00 GMT;path=/`,document.cookie=`${t}=;expires=Thu, 01 Jan 1970 00:00:00 GMT;path=/;domain=${location.hostname}`;let n=location.hostname.split(".");if(n.length>2){let r="."+n.slice(-2).join(".");document.cookie=`${t}=;expires=Thu, 01 Jan 1970 00:00:00 GMT;path=/;domain=${r}`;}}}),"caches"in window){let o=await caches.keys();await Promise.all(o.map(t=>caches.delete(t)));}if("serviceWorker"in navigator){let o=await navigator.serviceWorker.getRegistrations();await Promise.all(o.map(t=>t.unregister()));}if("indexedDB"in window&&indexedDB.databases)try{(await indexedDB.databases()).forEach(t=>{t.name&&indexedDB.deleteDatabase(t.name);});}catch{}}catch{}location.reload();}e(wt,"hardRefresh");function ce({currentApp:o,currentAppId:t,user:n,organizations:r,currentOrgId:l,onOrgSwitch:a,onSignOut:i,apps:f,headerRight:d,settingsHref:m,onSettingsClick:p,hideHardRefresh:c,hideSettings:h}){let[g,P]=useState(false),L=r?.find(N=>N.id===l)?.slug||"hanzo",u=f||W(L),H=A[L]||A.hanzo,$=useCallback(()=>{P(true),wt();},[]),y=useCallback(()=>{p?p():window.location.href=m||`${H.iam}/account`;},[p,m,H.iam]);return jsxs("header",{className:"sticky top-0 z-50 flex h-14 w-full items-center justify-between border-b border-white/[0.07] bg-[#09090b]/90 px-4 backdrop-blur-xl",role:"banner",children:[jsxs("div",{className:"flex min-w-0 items-center gap-2.5",children:[jsx("a",{href:`${H.iam}/account`,className:"flex-shrink-0 rounded focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-white/20","aria-label":"Account",children:jsx(ae,{size:22,brandMenu:true,animate:true})}),jsx("span",{className:"select-none text-white/[0.15]",children:"/"}),jsx("span",{className:"truncate text-[13px] font-medium text-white/50",children:o}),jsx(_,{apps:u,currentAppId:t})]}),jsxs("div",{className:"flex flex-shrink-0 items-center gap-1",children:[d,!c&&jsx("button",{type:"button",onClick:$,className:"flex items-center justify-center rounded-lg p-2 text-white/30 hover:bg-white/[0.06] hover:text-white/60 transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-white/20","aria-label":"Hard refresh \u2014 clear all storage, cookies, cache and reload",title:"Hard refresh",children:jsx(xt,{className:g?"animate-spin":""})}),!h&&jsx("button",{type:"button",onClick:y,className:"flex items-center justify-center rounded-lg p-2 text-white/30 hover:bg-white/[0.06] hover:text-white/60 transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-white/20","aria-label":"Settings",title:"Settings",children:jsx(vt,{})}),jsx(F,{user:n,organizations:r,currentOrgId:l,onOrgSwitch:a,onSignOut:i})]})]})}e(ce,"HanzoHeader");var pe="hanzo-auth-token",Q="hanzo-user",de="hanzo-auth-expires",yt="https://iam.hanzo.ai",Nt={hanzo:{name:"Hanzo AI",slug:"hanzo"},lux:{name:"Lux Network",slug:"lux"},zoo:{name:"Zoo Labs",slug:"zoo"},pars:{name:"Pars",slug:"pars"}};function fe(){let[o,t]=useState(void 0),[n,r]=useState([]),[l,a]=useState(void 0),[i,f]=useState(null),[d,m]=useState(true),p=useCallback(async()=>{try{let g=localStorage.getItem(pe),P=localStorage.getItem(de);if(!g||P&&Date.now()>Number(P)){m(!1);return}f(g);let B=localStorage.getItem(Q);if(B)try{let u=JSON.parse(B);u?.email&&t({id:u.id,name:u.displayName||u.name,email:u.email,avatar:u.avatar});}catch{}let L=await fetch(`${yt}/api/userinfo`,{headers:{Authorization:`Bearer ${g}`}});if(L.ok){let u=await L.json(),H={id:u.sub||u.id,name:u.name||u.displayName,email:u.email,avatar:u.picture||u.avatar};t(H),localStorage.setItem(Q,JSON.stringify(u));let y=(u.groups||[]).map(N=>{let E=N.toLowerCase().replace(/^\//,""),R=Nt[E];return R?{id:E,name:R.name,slug:R.slug}:null}).filter(Boolean);y.length===0&&H.email&&y.push({id:"personal",name:"Personal",slug:"personal"}),r(y),a(y[0]?.id);}}catch{}finally{m(false);}},[]);useEffect(()=>{p();},[p]);let c=useCallback(()=>{localStorage.removeItem(pe),localStorage.removeItem(Q),localStorage.removeItem(de),window.location.href="https://hanzo.id";},[]),h=useCallback(g=>{a(g);},[]);return {user:o,organizations:n,currentOrgId:l,token:i,loading:d,signOut:c,switchOrg:h}}e(fe,"useHanzoAuth");function zt(o,t){return o.filter(n=>n.id!==t).map(n=>({id:`app-${n.id}`,title:n.label,description:n.description,href:n.href,category:"Hanzo Apps",external:true,keywords:[n.id,n.label.toLowerCase()]}))}e(zt,"buildCrossAppCommands");function ue({commands:o=[],apps:t,currentAppId:n,open:r,onOpenChange:l,onNavigate:a}){var oe;let[i,f]=useState(false),d=r??i,m=useCallback(s=>{l?l(s):f(s);},[l]),[p,c]=useState(""),[h,g]=useState(0),P=useRef(null),B=useRef(null),L=zt(t??I,n),u=[...o,...L],H=p.toLowerCase(),$=H?u.filter(s=>s.title.toLowerCase().includes(H)||s.description?.toLowerCase().includes(H)||s.keywords?.some(z=>z.includes(H))):u,y={};for(let s of $)(y[oe=s.category]??(y[oe]=[])).push(s);let N=Object.values(y).flat();useEffect(()=>g(0),[p]),useEffect(()=>{d&&(c(""),g(0),requestAnimationFrame(()=>P.current?.focus()));},[d]),useEffect(()=>{let s=e(z=>{(z.metaKey||z.ctrlKey)&&z.key==="k"&&(z.preventDefault(),m(!d));},"handler");return document.addEventListener("keydown",s),()=>document.removeEventListener("keydown",s)},[d,m]);let E=useCallback(s=>{s.action?s.action():s.href&&(a?a(s.href,s.external):s.external?window.open(s.href,"_blank"):window.location.href=s.href),m(false);},[a,m]),R=useCallback(s=>{s.key==="ArrowDown"?(s.preventDefault(),g(z=>(z+1)%(N.length||1))):s.key==="ArrowUp"?(s.preventDefault(),g(z=>(z-1+(N.length||1))%(N.length||1))):s.key==="Enter"&&N[h]?(s.preventDefault(),E(N[h])):s.key==="Escape"&&m(false);},[N,h,E,m]);return useEffect(()=>{B.current?.querySelector(`[data-idx="${h}"]`)?.scrollIntoView({block:"nearest"});},[h]),d?jsxs(Fragment,{children:[jsx("div",{className:"fixed inset-0 bg-black/60 backdrop-blur-sm z-[100]",onClick:()=>m(false)}),jsx("div",{className:"fixed top-[15%] left-1/2 -translate-x-1/2 w-full max-w-xl z-[101]",children:jsxs("div",{className:"bg-[#111113] border border-white/[0.08] rounded-xl shadow-2xl overflow-hidden",children:[jsxs("div",{className:"flex items-center gap-3 px-4 py-3 border-b border-white/[0.07]",children:[jsx("svg",{className:"w-4 h-4 text-white/30",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"})}),jsx("input",{ref:P,type:"text",value:p,onChange:s=>c(s.target.value),onKeyDown:R,placeholder:"Search commands...",className:"flex-1 bg-transparent text-white text-[13px] placeholder-white/30 outline-none"}),jsx("kbd",{className:"px-1.5 py-0.5 text-[10px] font-mono bg-white/[0.06] rounded text-white/30",children:"ESC"})]}),jsx("div",{ref:B,className:"max-h-[400px] overflow-y-auto py-1",children:N.length===0?jsxs("div",{className:"px-4 py-8 text-center text-white/30 text-[13px]",children:["No results for \u201C",p,"\u201D"]}):Object.entries(y).map(([s,z])=>jsxs("div",{children:[jsx("div",{className:"px-4 py-2 text-[10px] font-semibold text-white/25 uppercase tracking-widest",children:s}),z.map(O=>{let j=N.indexOf(O),G=j===h;return jsxs("button",{"data-idx":j,onClick:()=>E(O),onMouseEnter:()=>g(j),className:`w-full flex items-center gap-3 px-4 py-2 text-left transition-colors ${G?"bg-white/[0.06] text-white":"text-white/50 hover:bg-white/[0.03]"}`,children:[O.icon&&jsx("span",{className:`w-5 h-5 flex items-center justify-center ${G?"text-white/70":"text-white/25"}`,children:O.icon}),jsxs("div",{className:"flex-1 min-w-0",children:[jsx("span",{className:"text-[13px] font-medium truncate block",children:O.title}),O.description&&jsx("span",{className:"text-[11px] text-white/25 truncate block",children:O.description})]}),G&&jsx("span",{className:"text-white/25 text-[11px]",children:"\u21B5"})]},O.id)})]},s))}),jsxs("div",{className:"px-4 py-2 border-t border-white/[0.07] flex items-center justify-between",children:[jsxs("div",{className:"flex items-center gap-4 text-[10px] text-white/20",children:[jsxs("span",{className:"flex items-center gap-1",children:[jsx("kbd",{className:"px-1 py-0.5 bg-white/[0.06] rounded text-[9px]",children:"\u2191"}),jsx("kbd",{className:"px-1 py-0.5 bg-white/[0.06] rounded text-[9px]",children:"\u2193"}),"navigate"]}),jsxs("span",{className:"flex items-center gap-1",children:[jsx("kbd",{className:"px-1 py-0.5 bg-white/[0.06] rounded text-[9px]",children:"\u21B5"}),"select"]})]}),jsx("span",{className:"text-[10px] text-white/20",children:"\u2318K"})]})]})})]}):null}e(ue,"HanzoCommandPalette");function ge(){return jsx("div",{className:"flex items-center justify-center p-8",children:jsx("p",{className:"text-muted-foreground",children:"Component coming soon"})})}e(ge,"Component");function ve(){return jsx("div",{className:"flex items-center justify-center p-8",children:jsx("p",{className:"text-muted-foreground",children:"Component coming soon"})})}e(ve,"Component");function be(){return jsx("div",{className:"flex items-center justify-center p-8",children:jsx("p",{className:"text-muted-foreground",children:"Component coming soon"})})}e(be,"Component");function Ne(){return jsx("div",{className:"flex items-center justify-center p-8",children:jsx("p",{className:"text-muted-foreground",children:"Component coming soon"})})}e(Ne,"Component");function ke(){return jsx("div",{className:"flex items-center justify-center p-8",children:jsx("p",{className:"text-muted-foreground",children:"Component coming soon"})})}e(ke,"Component");function Ce(){return jsx("div",{className:"flex items-center justify-center p-8",children:jsx("p",{className:"text-muted-foreground",children:"Component coming soon"})})}e(Ce,"Component");function Se(){return jsx("div",{className:"flex items-center justify-center p-8",children:jsx("p",{className:"text-muted-foreground",children:"Component coming soon"})})}e(Se,"Component");function De(){return jsx("div",{className:"flex items-center justify-center p-8",children:jsx("p",{className:"text-muted-foreground",children:"Component coming soon"})})}e(De,"Component");function Pe(){return jsx("div",{className:"flex items-center justify-center p-8",children:jsx("p",{className:"text-muted-foreground",children:"Component coming soon"})})}e(Pe,"Component");function Be(){return jsx("div",{className:"flex items-center justify-center p-8",children:jsx("p",{className:"text-muted-foreground",children:"Component coming soon"})})}e(Be,"Component");function Ie(){return jsx("div",{className:"flex items-center justify-center p-8",children:jsx("p",{className:"text-muted-foreground",children:"Component coming soon"})})}e(Ie,"Component");function Ue(){return jsx("div",{className:"flex items-center justify-center p-8",children:jsx("p",{className:"text-muted-foreground",children:"Component coming soon"})})}e(Ue,"Component");function $e(){return jsx("div",{className:"flex items-center justify-center p-8",children:jsx("p",{className:"text-muted-foreground",children:"Component coming soon"})})}e($e,"Component");function _e(){return jsx("div",{className:"flex items-center justify-center p-8",children:jsx("p",{className:"text-muted-foreground",children:"Component coming soon"})})}e(_e,"Component");function Ze(){return jsx("div",{className:"flex items-center justify-center p-8",children:jsx("p",{className:"text-muted-foreground",children:"Component coming soon"})})}e(Ze,"Component");function Ge(){return jsx("div",{className:"flex items-center justify-center p-8",children:jsx("p",{className:"text-muted-foreground",children:"Component coming soon"})})}e(Ge,"Component");function We(){return jsx("div",{className:"flex items-center justify-center p-8",children:jsx("p",{className:"text-muted-foreground",children:"Component coming soon"})})}e(We,"Component");function qe(){return jsx("div",{className:"flex items-center justify-center p-8",children:jsx("p",{className:"text-muted-foreground",children:"Component coming soon"})})}e(qe,"Component");
3
+ export{ve as AIModelSelectorNavigationBar,ge as AdvancedNavigationBar,_ as AppSwitcher,be as AppSwitcherNavigationBar,Ne as BreadcrumbAndFiltersNavigationBar,ke as BreadcrumbNavigationBar,Ce as CenteredLogoNavigationBar,Se as CollaborationNavigationBar,De as CommunicationNavigationBar,Pe as ContextSwitcherNavigationBar,I as DEFAULT_HANZO_APPS,Be as DashboardNavigationBar,Ie as ECommerceNavigationBar,ue as HanzoCommandPalette,ce as HanzoHeader,Ue as IconNavigationBar,$e as SearchAndToggleNavigationBar,_e as SimpleNavigationBar,Ze as StatusDashboardNavigationBar,Ge as TeamSwitcherNavigationBar,We as TwoTierNavigationBar,qe as UnderlineNavigationBar,F as UserOrgDropdown,fe as useHanzoAuth};
@@ -1,2 +1 @@
1
- import preset from './tailwind.config.hanzo-preset';
2
- export { preset };
1
+ 'use strict';var G=require('tailwindcss-animate'),Q=require('@tailwindcss/container-queries'),V=require('tailwindcss-interaction-media'),j=require('tailwindcss/plugin'),P=require('lodash.merge'),I=require('lodash.castarray');require('lodash.isplainobject');var D=require('postcss-selector-parser');function _interopDefault(e){return e&&e.__esModule?e:{default:e}}var G__default=/*#__PURE__*/_interopDefault(G);var Q__default=/*#__PURE__*/_interopDefault(Q);var V__default=/*#__PURE__*/_interopDefault(V);var j__default=/*#__PURE__*/_interopDefault(j);var P__default=/*#__PURE__*/_interopDefault(P);var I__default=/*#__PURE__*/_interopDefault(I);var D__default=/*#__PURE__*/_interopDefault(D);var B=Object.defineProperty;var e=(t,n)=>B(t,"name",{value:n,configurable:true});var y=e(({colors:t})=>({inherit:t.inherit,current:t.current,transparent:t.transparent,ring:"var(--hz-ui-ring)",background:"var(--hz-ui-bg-0)",overlay:"var(--hz-ui-bg-overlay)",level:{DEFAULT:"var(--hz-ui-bg-0)",0:"var(--hz-ui-bg-0)",1:"var(--hz-ui-bg-1)",2:"var(--hz-ui-bg-2)",3:"var(--hz-ui-bg-3)"},accent:"var(--hz-ui-fg-0)",foreground:"var(--hz-ui-fg-body)",muted:{DEFAULT:"var(--hz-ui-fg-2)",1:"var(--hz-ui-fg-2)",2:"var(--hz-ui-fg-3)",3:"var(--hz-ui-fg-4)",4:"var(--hz-ui-fg-5)"},primary:{DEFAULT:"var(--hz-ui-primary)",lux:"var(--hz-ui-primary)",hover:"var(--hz-ui-primary-hover)",fg:"var(--hz-ui-primary-fg)"},secondary:{DEFAULT:"var(--hz-ui-secondary)",lux:"var(--hz-ui-secondary)",hover:"var(--hz-ui-secondary-hover)",fg:"var(--hz-ui-secondary-fg)",0:"var(--hz-ui-secondary-0)",1:"var(--hz-ui-secondary-1)",2:"var(--hz-ui-secondary-2)",3:"var(--hz-ui-secondary-3)"},destructive:{DEFAULT:"var(--hz-ui-destructive)",fg:"var(--hz-ui-destructive-fg)"},nav:{DEFAULT:"var(--hz-ui-nav)",hover:"var(--hz-ui-nav-hover)",current:"var(--hz-ui-nav-current)"}}),"default");var v=["font-sans",{pattern:/grid-cols-[1-6]/,variants:["xs","sm","md","lg","xl","2xl"]},{pattern:/h-([0-9]|[1-3][0-9]|40)/,variants:["xs","sm","md","lg","xl","2xl"]},{pattern:/order-[0-6]/},{pattern:/mb-([1-9]|1[0-2])/},"md:text-left","md:text-center","md:text-right","md:self-start","md:self-center","md:self-end"];var w={xs:"0px",sm:"480px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1500px"};var z={};for(let t=0;t<=100;t++)z[`pr-${t}`]=`${t}%`;var l={...z,px:"1px",0:"0px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",11:"2.75rem",12:"3rem",13:"3.25rem",14:"3.5rem",15:"3.75rem",16:"4rem",17:"4.25rem",18:"4.5rem",19:"4.75rem",20:"5rem",21:"5.25rem",22:"5.5rem",23:"5.75rem",24:"6rem",25:"5.25rem",26:"5.5rem",27:"5.75rem",28:"7rem",29:"7.25rem",30:"7.5rem",31:"7.75rem",32:"8rem",33:"8.25rem",34:"8.5rem",35:"8.75rem",36:"9rem",37:"9.25rem",38:"9.5rem",39:"9.75rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"};var T={xxs:["0.65rem",{lineHeight:"0.8rem"}],xs:["0.8rem",{lineHeight:"1rem"}],sm:["0.9rem",{lineHeight:"1.2rem"}],base:["1rem",{lineHeight:1.4}],lg:["1.125rem",{lineHeight:"1.75rem"}],xl:["1.25rem",{lineHeight:"1.75rem"}],"2xl":["1.5rem",{lineHeight:"2rem"}],"3xl":["1.875rem",{lineHeight:"2.25rem"}],"4xl":["2.25rem",{lineHeight:"2.5rem"}],"5xl":["3rem",{lineHeight:"1"}],"6xl":["3.75rem",{lineHeight:"1"}]};var k={sans:["sans-serif"],heading:["serif"],nav:["serif"],serif:["serif"],mono:["monospace"]};var S={auto:"auto",unset:"unset","below-content-3":"-3","below-content-2":"-2","below-content-1":"-1","below-content":"-1",content:"0","above-content":"1","above-content-1":"1","above-content-2":"2","above-content-3":"3","below-popup-3":"7","below-popup-2":"8","below-popup-1":"9","below-popup":"9",popup:"10","above-popup":"11","above-popup-1":"11","above-popup-2":"12","above-popup-3":"13","below-header-3":"17","below-header-2":"18","below-header-1":"19","below-header":"19",header:"20","above-header":"21","above-header-1":"21","above-header-2":"22","above-header-3":"23","below-modal-3":"27","below-modal-2":"28","below-modal-1":"29","below-modal":"29",modal:"30","above-modal":"31","above-modal-1":"31","above-modal-2":"32","above-modal-3":"33","below-floating-3":"37","below-floating-2":"38","below-floating-1":"39","below-floating":"39",floating:"40","above-floating":"41","above-floating-1":"41","above-floating-2":"42","above-floating-3":"43"};for(let t=0;t<=50;t++)S[`${t}`]=`${t}`;var A=S;function h(t){return Math.round(t*100)/100}e(h,"round");function o(t,n=16){return `${t/n}rem`}e(o,"pxToRem");function r(t,n=16){return `${t/n}em`}e(r,"pxToEm");var q={"--tw-typo-plugin-body":"var(--hz-ui-fg-body)","--tw-typo-plugin-headings":"var(--hz-ui-fg-0)","--tw-typo-plugin-links":"var(--hz-ui-fg-0)","--tw-typo-plugin-links-hover":"var(--hz-ui-fg-2)","--tw-typo-plugin-bold":"var(--hz-ui-fg-0)","--tw-typo-plugin-counters":"var(--hz-ui-fg-4)","--tw-typo-plugin-bullets":"var(--hz-ui-fg-2)","--tw-typo-plugin-hr":"var(--hz-ui-fg-2)","--tw-typo-plugin-quotes":"var(--hz-ui-fg-body)","--tw-typo-plugin-quote-borders":"var(--hz-ui-fg-3)","--tw-typo-plugin-captions":"var(--hz-ui-fg-2)","--tw-typo-plugin-kbd":"var(--hz-ui-fg-0)","--tw-typo-plugin-kbd-shadows":"var(--hz-ui-fg-1)","--tw-typo-plugin-code":"var(--hz-ui-fg-0)","--tw-typo-plugin-pre-code":"var(--hz-ui-fg-1)","--tw-typo-plugin-pre-bg":"var(--hz-ui-bg-1)","--tw-typo-plugin-th-borders":"var(--hz-ui-fg-2)","--tw-typo-plugin-td-borders":"var(--hz-ui-fg-3)"},$={color:"var(--tw-typo-plugin-body)",p:{textAlign:"inherit"},"p:first-child":{},"p:last-child":{},a:{color:"var(--tw-typo-plugin-links)",textDecoration:"underline",fontWeight:"400"},"a:hover":{color:"var(--tw-typo-plugin-links-hover)"},blockquote:{fontWeight:"400",fontStyle:"italic",color:"var(--tw-typo-plugin-quotes)",quotes:'"\\201C""\\201D""\\2018""\\2019"'},"blockquote p:first-of-type::before":{content:"open-quote"},"blockquote p:last-of-type::after":{content:"close-quote"},"blockquote strong":{color:"inherit"},cite:{display:"block",fontStyle:"normal",textAlign:"right",color:"var(--tw-typo-plugin-quotes)"},ol:{listStyleType:"decimal"},ul:{},"ol > li::marker":{fontWeight:"400",color:"var(--tw-typo-plugin-counters)"},"ul > li::marker":{color:"var(--tw-typo-plugin-bullets)"},"ul > li::before":{},hr:{borderColor:"var(--tw-typo-plugin-hr)",borderTopWidth:1},h1:{color:"var(--tw-typo-plugin-headings)",fontWeight:"800",textAlign:"inherit",textTransform:"uppercase"},h2:{color:"var(--tw-typo-plugin-headings)",fontWeight:"700",textAlign:"inherit",textTransform:"uppercase"},h3:{color:"var(--tw-typo-plugin-headings)",fontWeight:"600",textAlign:"inherit",textTransform:"uppercase"},h4:{color:"var(--tw-typo-plugin-headings)",fontWeight:"600",textAlign:"inherit"},h5:{color:"var(--tw-typo-plugin-headings)",fontWeight:"600",textAlign:"inherit"},h6:{color:"var(--tw-typo-plugin-headings)",textAlign:"inherit"},img:{},"img:first-child":{},"img:last-child":{},picture:{display:"block"},strong:{color:"var(--tw-typo-plugin-bold)",fontWeight:"600"},video:{},kbd:{fontWeight:"500",fontFamily:"inherit",color:"var(--tw-typo-plugin-kbd)",boxShadow:"0 0 0 1px rgb(var(--tw-typo-plugin-kbd-shadows) / 10%), 0 3px 0 rgb(var(--tw-typo-plugin-kbd-shadows) / 10%)"},code:{color:"var(--tw-typo-plugin-code)",fontWeight:"500"},"code::before":{content:'"`"'},"code::after":{content:'"`"'},"a code":{color:"inherit"},"h1 code":{color:"inherit"},"h2 code":{color:"inherit"},"h3 code":{color:"inherit"},"h4 code":{color:"inherit"},"h5 code":{color:"inherit"},"h6 code":{color:"inherit"},"blockquote code":{color:"inherit"},"thead th code":{color:"inherit"},pre:{color:"var(--tw-typo-plugin-pre-code)",backgroundColor:"var(--tw-typo-plugin-pre-bg)",overflowX:"auto",fontWeight:"400"},"pre code":{backgroundColor:"transparent",borderWidth:"0",borderRadius:"0",padding:"0",fontWeight:"inherit",color:"inherit",fontSize:"inherit",fontFamily:"inherit",lineHeight:"inherit"},"pre code::before":{content:"none"},"pre code::after":{content:"none"},table:{width:"100%",tableLayout:"auto",textAlign:"left"},thead:{borderBottomWidth:"1px",borderBottomColor:"var(--tw-typo-plugin-th-borders)"},"thead th":{color:"var(--tw-typo-plugin-headings)",fontWeight:"600",verticalAlign:"bottom"},"tbody tr":{},"tbody tr:last-child":{},"tbody td":{verticalAlign:"baseline"},tfoot:{borderTopWidth:"1px",borderTopColor:"var(--tw-typo-plugin-th-borders)"},"tfoot td":{verticalAlign:"top"}},u=e(t=>({base:{css:[{fontSize:"1rem",lineHeight:1.4,p:{marginTop:"0.33rem",marginBottom:"0.33rem"},"p:first-child":{marginTop:0},"p:last-child":{marginBottom:0},a:{},"a:hover":{},blockquote:{},"blockquote p:first-of-type::before":{},"blockquote p:last-of-type::after":{},cite:{},ol:{fontSize:"1rem",paddingLeft:"1.5rem",margin:0,marginLeft:"-5px"},ul:{fontSize:"1rem",paddingLeft:"1.5rem",margin:0,marginLeft:"-0.6rem",listStylePosition:"outside",listStyleType:"'\u25BC'"},li:{},"ol > li":{paddingLeft:"0.4rem"},"ul > li":{paddingLeft:"0.75rem",marginBottom:"0.75rem"},"ul > li:last-child":{marginBottom:0},"> ul > li p":{margin:0,display:"inline"},hr:{},h1:{fontSize:o(40,t),lineHeight:1.2},h2:{fontSize:o(36,t),lineHeight:1.2},h3:{fontSize:"1.4rem",lineHeight:1.2},h4:{marginTop:"0.5rem",marginBottom:"0.5rem",fontSize:"1.3rem",lineHeight:1.2},h5:{marginTop:"0.5rem",marginBottom:"0.5rem",fontSize:"1.2rem",lineHeight:1.4},h6:{marginTop:"0.5rem",marginBottom:"0.5rem",fontSize:"1.15rem",lineHeight:1.3},"hr + *":{marginTop:"0"},"h2 + *":{marginTop:"0"},"h3 + *":{marginTop:"0"},"h4 + *":{marginTop:"0"},img:{marginTop:"0.5rem",marginBottom:"0.5rem"},"img:first-child":{marginTop:0},"img:last-child":{marginBottom:0},picture:{marginTop:o(20,t),marginBottom:o(20,t)},"picture > img":{marginTop:"0",marginBottom:"0"},video:{marginTop:o(20,t),marginBottom:o(20,t)},kbd:{fontSize:r(14,16),borderRadius:o(5,t),paddingTop:r(3,16),paddingRight:r(6,16),paddingBottom:r(3,16),paddingLeft:r(6,16)},code:{fontSize:r(14,16)},"h2 code":{fontSize:r(21,24)},"h3 code":{fontSize:r(18,20)},pre:{fontSize:o(14,16),lineHeight:h(24/14),marginTop:r(24,14),marginBottom:r(24,14),borderRadius:o(6,t),paddingTop:r(12,14),paddingRight:r(16,14),paddingBottom:r(12,14),paddingLeft:r(16,14)},"ul ul, ul ol, ol ul, ol ol":{marginTop:o(12,t),marginBottom:o(12,t)},dl:{marginTop:r(20,16),marginBottom:r(20,t)},dt:{marginTop:r(20,t)},dd:{marginTop:r(8,t),paddingLeft:r(26,t)},table:{fontSize:r(14,t),lineHeight:h(24/14)},"thead th":{paddingRight:r(8,14),paddingBottom:r(8,14),paddingLeft:r(8,14)},"thead th:first-child":{paddingLeft:"0"},"thead th:last-child":{paddingRight:"0"},"tbody td, tfoot td":{paddingTop:r(8,14),paddingRight:r(8,14),paddingBottom:r(8,14),paddingLeft:r(8,14)},"tbody td:first-child, tfoot td:first-child":{paddingLeft:"0"},"tbody td:last-child, tfoot td:last-child":{paddingRight:"0"}}]},sm:{css:[{p:{},"p:first-child":{},"p:last-child":{},a:{},"a:hover":{},blockquote:{},"blockquote p:first-of-type::before":{},"blockquote p:last-of-type::after":{},cite:{},ol:{},ul:{},li:{},"ol > li":{},"ul > li":{},"ul > li:last-child":{},"> ul > li p":{},hr:{},h1:{fontSize:o(24,t)},h2:{fontSize:o(20,t)},h3:{fontSize:r(18,t)},h4:{},h5:{},h6:{},"hr + *":{},"h2 + *":{},"h3 + *":{},"h4 + *":{},img:{},"img:first-child":{},"img:last-child":{},picture:{},"picture > img":{},video:{},kbd:{},code:{},"h2 code":{},"h3 code":{},pre:{},"ul ul, ul ol, ol ul, ol ol":{},dl:{},dt:{},dd:{},table:{},"thead th":{},"thead th:first-child":{},"thead th:last-child":{},"tbody td, tfoot td":{},"tbody td:first-child, tfoot td:first-child":{},"tbody td:last-child, tfoot td:last-child":{}}]},lg:{css:[{p:{},"p:first-child":{},"p:last-child":{},a:{},"a:hover":{},blockquote:{},"blockquote p:first-of-type::before":{},"blockquote p:last-of-type::after":{},cite:{},ol:{},ul:{},li:{},"ol > li":{},"ul > li":{},"ul > li:last-child":{},"> ul > li p":{},hr:{},h1:{fontSize:o(45,t),lineHeight:1.1},h2:{fontSize:o(40,t),lineHeight:1.1},h3:{fontSize:o(32,t),lineHeight:1.1},h4:{fontSize:o(26,t),marginTop:o(13,t),marginBottom:o(13,t)},h5:{fontSize:o(22,t),marginTop:o(11,t),marginBottom:o(11,t)},h6:{},"hr + *":{},"h2 + *":{},"h3 + *":{},"h4 + *":{},img:{},"img:first-child":{},"img:last-child":{},picture:{},"picture > img":{},video:{},kbd:{},code:{},"h2 code":{},"h3 code":{},pre:{},"ul ul, ul ol, ol ul, ol ol":{},dl:{},dt:{},dd:{},table:{},"thead th":{},"thead th:first-child":{},"thead th:last-child":{},"tbody td, tfoot td":{},"tbody td:first-child, tfoot td:first-child":{},"tbody td:last-child, tfoot td:last-child":{}}]},xl:{css:[{p:{},"p:first-child":{},"p:last-child":{},a:{},"a:hover":{},blockquote:{},"blockquote p:first-of-type::before":{},"blockquote p:last-of-type::after":{},cite:{},ol:{},ul:{},li:{},"ol > li":{},"ul > li":{},"ul > li:last-child":{},"> ul > li p":{},hr:{},h1:{fontSize:o(52,t),lineHeight:1.1},h2:{fontSize:o(45,t),lineHeight:1.1},h3:{fontSize:o(40,t),lineHeight:1.1},h4:{fontSize:o(28,t),marginTop:o(13,t),marginBottom:o(13,t)},h5:{fontSize:o(22,t),marginTop:o(11,t),marginBottom:o(11,t)},h6:{},"hr + *":{},"h2 + *":{},"h3 + *":{},"h4 + *":{},img:{},"img:first-child":{},"img:last-child":{},picture:{},"picture > img":{},video:{},kbd:{},code:{},"h2 code":{},"h3 code":{},pre:{},"ul ul, ul ol, ol ul, ol ol":{},dl:{},dt:{},dd:{},table:{},"thead th":{},"thead th:first-child":{},"thead th:last-child":{},"tbody td, tfoot td":{},"tbody td:first-child, tfoot td:first-child":{},"tbody td:last-child, tfoot td:last-child":{}}]}}),"defaultModifiers"),R=e(t=>({DEFAULT:{css:[$,q,...u(t).base.css]},sm:u(t).sm,lg:u(t).lg,xl:u(t).xl}),"getStyles"),L=R;var O=D__default.default();function C(t){let n=O.astSync(t),m=[];for(let[p,d]of n.nodes.entries())for(let[i,a]of [...d.nodes].reverse().entries()){if(a.type!=="pseudo"||!a.value.startsWith("::"))break;m[i]=m[i]||[],m[i][p]=a;}let s=D__default.default.selector();for(let p of m){if(!p)continue;if(new Set([...p.map(i=>i.value)]).size>1)break;p.forEach(i=>i.remove()),s.prepend(p[0]);}return s.nodes.length?[s.toString(),n.toString()]:[null,t]}e(C,"commonTrailingPseudos");var E=16,F={};function f(t,{className:n,modifier:m,prefix:s}){let p=s(`.not-${n}`).slice(1),d=t.startsWith(">")?`${m==="DEFAULT"?`.${n}`:`.${n}-${m}`} `:"",[i,a]=C(t);return i?`:where(${d}${a}):not(:where([class~="${p}"],[class~="${p}"] *))${i}`:`:where(${d}${t}):not(:where([class~="${p}"],[class~="${p}"] *))`}e(f,"inWhere");function H(t){return typeof t=="object"&&t!==null}e(H,"isObject");function M(t={},{target:n,className:m,modifier:s,prefix:p}){function d(i,a){return n==="legacy"?[i,a]:Array.isArray(a)?[i,a]:H(a)?Object.values(a).some(H)?[f(i,{className:m,modifier:s,prefix:p}),a,Object.fromEntries(Object.entries(a).map(([c,g])=>d(c,g)))]:[f(i,{className:m,modifier:s,prefix:p}),a]:[i,a]}return e(d,"updateSelector"),Object.fromEntries(Object.entries(P__default.default({},...Object.keys(t).filter(i=>F[i]).map(i=>F[i](t[i])),...I__default.default(t.css||{}))).map(([i,a])=>d(i,a)))}e(M,"configToCss");var W=j__default.default.withOptions(({className:t="prose",target:n="modern",base:m=16}={})=>(E=m,function({addVariant:s,addComponents:p,theme:d,prefix:i}){let a=d("typography"),x={className:t,prefix:i};for(let[c,...g]of [["headings","h1","h2","h3"],["h1"],["h2"],["h3"],["h4"],["h5"],["h6"],["p"],["a"],["blockquote"],["figure"],["figcaption"],["strong"],["em"],["code"],["pre"],["ol"],["ul"],["li"],["table"],["thead"],["tr"],["th"],["td"],["img"],["video"],["hr"]]){g=g.length===0?[c]:g;let b=n==="legacy"?g.map(U=>`& ${U}`):g.join(", ");s(`${t}-${c}`,n==="legacy"?b:`& :is(${f(b,x)})`);}p(Object.keys(a).map(c=>({[c==="DEFAULT"?`.${t}`:`.${t}-${c}`]:M(a[c],{target:n,className:t,modifier:c,prefix:i})})));}),()=>({theme:{typography:L(E)}}));var X={darkMode:["class"],content:[],safelist:v,plugins:[G__default.default,W({className:"typography",base:16}),Q__default.default,V__default.default],theme:{accentColor:e(({theme:t})=>({...t("colors"),auto:"auto"}),"accentColor"),animation:{none:"none",spin:"spin 1s linear infinite",ping:"ping 1s cubic-bezier(0, 0, 0.2, 1) infinite",pulse:"pulse 2s linear(0, 1) infinite",pulsereverse:"pulse 2s linear(1, 0) infinite",bounce:"bounce 1s infinite","accordion-down":"accordion-down 0.2s ease-out","accordion-up":"accordion-up 0.2s ease-out","mobile-menu-open":"opacity-in 300ms ease-in"},aria:{checked:'checked="true"',disabled:'disabled="true"',expanded:'expanded="true"',hidden:'hidden="true"',pressed:'pressed="true"',readonly:'readonly="true"',required:'required="true"',selected:'selected="true"'},aspectRatio:{auto:"auto",square:"1 / 1",video:"16 / 9"},backdropBlur:e(({theme:t})=>t("blur"),"backdropBlur"),backdropBrightness:e(({theme:t})=>t("brightness"),"backdropBrightness"),backdropContrast:e(({theme:t})=>t("contrast"),"backdropContrast"),backdropGrayscale:e(({theme:t})=>t("grayscale"),"backdropGrayscale"),backdropHueRotate:e(({theme:t})=>t("hueRotate"),"backdropHueRotate"),backdropInvert:e(({theme:t})=>t("invert"),"backdropInvert"),backdropOpacity:e(({theme:t})=>t("opacity"),"backdropOpacity"),backdropSaturate:e(({theme:t})=>t("saturate"),"backdropSaturate"),backdropSepia:e(({theme:t})=>t("sepia"),"backdropSepia"),backgroundColor:e(({theme:t})=>t("colors"),"backgroundColor"),backgroundImage:{none:"none","gradient-to-t":"linear-gradient(to top, var(--tw-gradient-stops))","gradient-to-tr":"linear-gradient(to top right, var(--tw-gradient-stops))","gradient-to-r":"linear-gradient(to right, var(--tw-gradient-stops))","gradient-to-br":"linear-gradient(to bottom right, var(--tw-gradient-stops))","gradient-to-b":"linear-gradient(to bottom, var(--tw-gradient-stops))","gradient-to-bl":"linear-gradient(to bottom left, var(--tw-gradient-stops))","gradient-to-l":"linear-gradient(to left, var(--tw-gradient-stops))","gradient-to-tl":"linear-gradient(to top left, var(--tw-gradient-stops))"},backgroundOpacity:e(({theme:t})=>t("opacity"),"backgroundOpacity"),backgroundPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},backgroundSize:{auto:"auto",cover:"cover",contain:"contain"},blur:{0:"0",none:"0",sm:"4px",DEFAULT:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},borderColor:e(({theme:t})=>({...t("colors"),DEFAULT:t("colors.muted.3")}),"borderColor"),borderOpacity:e(({theme:t})=>t("opacity"),"borderOpacity"),borderRadius:{none:"0px",sm:"0.25rem",DEFAULT:"0.5rem",md:"0.5rem",lg:"0.75rem",xl:"1rem","2xl":"1.5rem","3xl":"2rem",full:"9999px"},borderSpacing:l,borderWidth:{DEFAULT:"1px",0:"0px",2:"2px",4:"4px",8:"8px"},boxShadow:{sm:"0 1px 2px 0 rgb(0 0 0 / 0.05)",DEFAULT:"0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",md:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",lg:"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",xl:"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)","2xl":"0 25px 50px -12px rgb(0 0 0 / 0.25)",inner:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)",none:"none"},boxShadowColor:e(({theme:t})=>t("colors"),"boxShadowColor"),brightness:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5",200:"2"},caretColor:e(({theme:t})=>t("colors"),"caretColor"),colors:y,columns:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12","3xs":"16rem","2xs":"18rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem"},container:{center:true,padding:"2rem"},content:{none:"none"},contrast:{0:"0",50:".5",75:".75",100:"1",125:"1.25",150:"1.5",200:"2"},cursor:{auto:"auto",default:"default",pointer:"pointer",wait:"wait",text:"text",move:"move",help:"help","not-allowed":"not-allowed",none:"none","context-menu":"context-menu",progress:"progress",cell:"cell",crosshair:"crosshair","vertical-text":"vertical-text",alias:"alias",copy:"copy","no-drop":"no-drop",grab:"grab",grabbing:"grabbing","all-scroll":"all-scroll","col-resize":"col-resize","row-resize":"row-resize","n-resize":"n-resize","e-resize":"e-resize","s-resize":"s-resize","w-resize":"w-resize","ne-resize":"ne-resize","nw-resize":"nw-resize","se-resize":"se-resize","sw-resize":"sw-resize","ew-resize":"ew-resize","ns-resize":"ns-resize","nesw-resize":"nesw-resize","nwse-resize":"nwse-resize","zoom-in":"zoom-in","zoom-out":"zoom-out"},divideColor:e(({theme:t})=>t("borderColor"),"divideColor"),divideOpacity:e(({theme:t})=>t("borderOpacity"),"divideOpacity"),divideWidth:e(({theme:t})=>t("borderWidth"),"divideWidth"),dropShadow:{sm:"0 1px 1px rgb(0 0 0 / 0.05)",DEFAULT:["0 1px 2px rgb(0 0 0 / 0.1)","0 1px 1px rgb(0 0 0 / 0.06)"],md:["0 4px 3px rgb(0 0 0 / 0.07)","0 2px 2px rgb(0 0 0 / 0.06)"],lg:["0 10px 8px rgb(0 0 0 / 0.04)","0 4px 3px rgb(0 0 0 / 0.1)"],xl:["0 20px 13px rgb(0 0 0 / 0.03)","0 8px 5px rgb(0 0 0 / 0.08)"],"2xl":"0 25px 25px rgb(0 0 0 / 0.15)",none:"0 0 #0000"},fill:e(({theme:t})=>({none:"none",...t("colors")}),"fill"),flex:{1:"1 1 0%",auto:"1 1 auto",initial:"0 1 auto",none:"none"},flexBasis:{auto:"auto",...l,"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%"},flexGrow:{0:"0",DEFAULT:"1"},flexShrink:{0:"0",DEFAULT:"1"},fontFamily:k,fontSize:T,fontWeight:{thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},gap:l,gradientColorStops:e(({theme:t})=>t("colors"),"gradientColorStops"),gradientColorStopPositions:{"0%":"0%","5%":"5%","10%":"10%","15%":"15%","20%":"20%","25%":"25%","30%":"30%","35%":"35%","40%":"40%","45%":"45%","50%":"50%","55%":"55%","60%":"60%","65%":"65%","70%":"70%","75%":"75%","80%":"80%","85%":"85%","90%":"90%","95%":"95%","100%":"100%"},grayscale:{0:"0",DEFAULT:"100%"},gridAutoColumns:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridAutoRows:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridColumn:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-7":"span 7 / span 7","span-8":"span 8 / span 8","span-9":"span 9 / span 9","span-10":"span 10 / span 10","span-11":"span 11 / span 11","span-12":"span 12 / span 12","span-full":"1 / -1"},gridColumnEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridColumnStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridRow:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-full":"1 / -1"},gridRowEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7"},gridRowStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7"},gridTemplateColumns:{none:"none",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))",7:"repeat(7, minmax(0, 1fr))",8:"repeat(8, minmax(0, 1fr))",9:"repeat(9, minmax(0, 1fr))",10:"repeat(10, minmax(0, 1fr))",11:"repeat(11, minmax(0, 1fr))",12:"repeat(12, minmax(0, 1fr))"},gridTemplateRows:{none:"none",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))"},height:{auto:"auto",...l,"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%",full:"100%",screen:"100vh",min:"min-content",max:"max-content",fit:"fit-content"},hueRotate:{0:"0deg",15:"15deg",30:"30deg",60:"60deg",90:"90deg",180:"180deg"},inset:{auto:"auto",...l,"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%"},invert:{0:"0",DEFAULT:"100%"},keyframes:{spin:{to:{transform:"rotate(360deg)"}},ping:{"75%, 100%":{transform:"scale(2)",opacity:"0"}},pulse:{"50%":{opacity:".5"}},bounce:{"0%, 100%":{transform:"translateY(-25%)",animationTimingFunction:"cubic-bezier(0.8,0,1,1)"},"50%":{transform:"none",animationTimingFunction:"cubic-bezier(0,0,0.2,1)"}},"accordion-down":{from:{height:0},to:{height:"var(--radix-accordion-content-height)"}},"accordion-up":{from:{height:"var(--radix-accordion-content-height)"},to:{height:0}},"opacity-in":{from:{opacity:"0"},to:{opacity:"1"}}},letterSpacing:{tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeight:{none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},listStyleType:{none:"none",disc:"disc",decimal:"decimal"},listStyleImage:{none:"none"},margin:{auto:"auto",...l},lineClamp:{1:"1",2:"2",3:"3",4:"4",5:"5",6:"6"},maxHeight:{...l,none:"none",full:"100%",screen:"100vh",min:"min-content",max:"max-content",fit:"fit-content"},maxWidth:e(({theme:t,breakpoints:n})=>({...l,none:"none",0:"0rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",full:"100%",min:"min-content",max:"max-content",fit:"fit-content",prose:"65ch",...n(t("screens"))}),"maxWidth"),minHeight:{...l,0:"0px",full:"100%",screen:"100vh",min:"min-content",max:"max-content",fit:"fit-content"},minWidth:e(({theme:t,breakpoints:n})=>({...l,0:"0px",full:"100%",min:"min-content",max:"max-content",fit:"fit-content",...n(t("screens"))}),"minWidth"),objectPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},opacity:{0:"0",5:"0.05",10:"0.1",20:"0.2",25:"0.25",30:"0.3",35:"0.35",40:"0.4",45:"0.45",50:"0.5",55:"0.55",60:"0.6",65:"0.65",70:"0.7",75:"0.75",80:"0.8",85:"0.85",90:"0.9",95:"0.95",100:"1"},order:{first:"-9999",last:"9999",none:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12"},outlineColor:e(({theme:t})=>t("colors"),"outlineColor"),outlineOffset:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},outlineWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},padding:l,placeholderColor:e(({theme:t})=>t("colors"),"placeholderColor"),placeholderOpacity:e(({theme:t})=>t("opacity"),"placeholderOpacity"),ringColor:e(({theme:t})=>({DEFAULT:t("colors.blue.500","#3b82f6"),...t("colors")}),"ringColor"),ringOffsetColor:e(({theme:t})=>t("colors"),"ringOffsetColor"),ringOffsetWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},ringOpacity:e(({theme:t})=>({DEFAULT:"0.5",...t("opacity")}),"ringOpacity"),ringWidth:{DEFAULT:"3px",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},rotate:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",45:"45deg",90:"90deg",180:"180deg"},saturate:{0:"0",50:".5",100:"1",150:"1.5",200:"2"},scale:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5"},screens:w,scrollMargin:l,scrollPadding:l,sepia:{0:"0",DEFAULT:"100%"},skew:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg"},space:l,spacing:l,stroke:e(({theme:t})=>({none:"none",...t("colors")}),"stroke"),strokeWidth:{0:"0",1:"1",2:"2"},supports:{},data:{on:'state~="on"',off:'state~="off"'},textColor:e(({theme:t})=>t("colors"),"textColor"),textDecorationColor:e(({theme:t})=>t("colors"),"textDecorationColor"),textDecorationThickness:{auto:"auto","from-font":"from-font",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},textIndent:l,textOpacity:e(({theme:t})=>t("opacity"),"textOpacity"),textUnderlineOffset:{auto:"auto",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},transformOrigin:{center:"center",top:"top","top-right":"top right",right:"right","bottom-right":"bottom right",bottom:"bottom","bottom-left":"bottom left",left:"left","top-left":"top left"},transitionDelay:{0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},transitionDuration:{DEFAULT:"150ms",0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},transitionProperty:{none:"none",all:"all",DEFAULT:"color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter",colors:"color, background-color, border-color, text-decoration-color, fill, stroke",opacity:"opacity",shadow:"box-shadow",transform:"transform",height:"height",spacing:"margin, padding"},transitionTimingFunction:{DEFAULT:"cubic-bezier(0.4, 0, 0.2, 1)",linear:"linear",in:"cubic-bezier(0.4, 0, 1, 1)",out:"cubic-bezier(0, 0, 0.2, 1)","in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},translate:{...l,"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%"},width:e(({theme:t,breakpoints:n})=>({auto:"auto",...l,"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",screen:"100vw",min:"min-content",max:"max-content",fit:"fit-content",...n(t("screens"))}),"width"),willChange:{auto:"auto",scroll:"scroll-position",contents:"contents",transform:"transform"},zIndex:A}};exports.preset=X;
@@ -1,2 +1 @@
1
- export { Breakpoints } from './breakpoints';
2
- export { COMMON_GRID_1_COL, COMMON_GRID_2_COL, COMMON_GRID_3_COL, COMMON_GRID_4_COL } from './grid-def';
1
+ 'use strict';var e={xs:"0px",sm:"480px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1500px"};var o=Object.keys(e);var t={at:{xs:{columns:1,gap:2},md:{columns:1,gap:3},lg:{columns:1,gap:6}},mobile:{columns:1,gap:2}},p={at:{xs:{columns:1,gap:2},md:{columns:2,gap:3},lg:{columns:2,gap:6}},mobile:{columns:1,gap:2}},a={at:{xs:{columns:1,gap:2},md:{columns:3,gap:3},lg:{columns:3,gap:6}},mobile:{columns:1,gap:2}},r={at:{xs:{columns:1,gap:2},md:{columns:2,gap:3},lg:{columns:4,gap:6}},mobile:{columns:1,gap:2}};exports.Breakpoints=o;exports.COMMON_GRID_1_COL=t;exports.COMMON_GRID_2_COL=p;exports.COMMON_GRID_3_COL=a;exports.COMMON_GRID_4_COL=r;
@@ -1,80 +1 @@
1
- // Export all utilities
2
- export * from './date';
3
- export * from './file';
4
- export * from './create-shadow-root';
5
- export * from './timing';
6
- export * from './blob';
7
- export * from './copy-to-clipboard';
8
- export * from './format-text';
9
- export * from './toasts';
10
- export * from './debounce';
11
- export { default as spreadToTransform } from './spread-to-transform';
12
- export * from './specifier';
13
- export * from './number-abbreviate';
14
- export * from './format-to-max-char';
15
- export * from './format-and-abbreviate-as-currency';
16
- export * from './two-way-map';
17
- export * from './use-mobile';
18
- // Export cn utility and other common functions from src/utils
19
- export { cn, formatDate, absoluteUrl } from '../src/utils';
20
- export function constrain(value, minOrConstrainTo, max) {
21
- if (typeof value === 'number' && typeof minOrConstrainTo === 'number' && typeof max === 'number') {
22
- return Math.min(Math.max(value, minOrConstrainTo), max);
23
- }
24
- if (typeof value === 'object' && typeof minOrConstrainTo === 'object') {
25
- const dim = value;
26
- const constrainTo = minOrConstrainTo;
27
- const aspectRatio = dim.w / dim.h;
28
- const constrainAspectRatio = constrainTo.w / constrainTo.h;
29
- if (aspectRatio > constrainAspectRatio) {
30
- // constrain by width
31
- return {
32
- w: constrainTo.w,
33
- h: constrainTo.w / aspectRatio
34
- };
35
- }
36
- else {
37
- // constrain by height
38
- return {
39
- w: constrainTo.h * aspectRatio,
40
- h: constrainTo.h
41
- };
42
- }
43
- }
44
- throw new Error('Invalid parameters for constrain function');
45
- }
46
- // Export round, pxToRem, pxToEm for tailwind plugin
47
- export function round(value) {
48
- return Math.round(value * 100) / 100;
49
- }
50
- export function pxToRem(px, base = 16) {
51
- return `${px / base}rem`;
52
- }
53
- export function pxToEm(px, base = 16) {
54
- return `${px / base}em`;
55
- }
56
- // Missing utility functions
57
- export function containsToken(text, token) {
58
- if (!text)
59
- return false;
60
- return text.toLowerCase().includes(token.toLowerCase());
61
- }
62
- export function ldMerge(...objects) {
63
- // Simple merge function for lodash compatibility
64
- const result = {};
65
- for (const obj of objects) {
66
- if (obj && typeof obj === 'object') {
67
- Object.assign(result, obj);
68
- }
69
- }
70
- return result;
71
- }
72
- export function asNum(value, defaultValue = 0) {
73
- const num = Number(value);
74
- return isNaN(num) ? defaultValue : num;
75
- }
76
- export function capitalize(str) {
77
- if (!str)
78
- return str;
79
- return str.charAt(0).toUpperCase() + str.slice(1);
80
- }
1
+ 'use strict';var client=require('react-dom/client'),buffer=require('buffer'),sonner=require('sonner'),jsxRuntime=require('react/jsx-runtime'),a=require('react'),clsx=require('clsx'),tailwindMerge=require('tailwind-merge'),mobx=require('mobx');function _interopNamespace(e){if(e&&e.__esModule)return e;var n=Object.create(null);if(e){Object.keys(e).forEach(function(k){if(k!=='default'){var d=Object.getOwnPropertyDescriptor(e,k);Object.defineProperty(n,k,d.get?d:{enumerable:true,get:function(){return e[k]}});}})}n.default=e;return Object.freeze(n)}var a__namespace=/*#__PURE__*/_interopNamespace(a);var d=Object.defineProperty;var r=(e,t)=>d(e,"name",{value:t,configurable:true});var P=r(e=>e?new Date(e).toLocaleDateString("en-US",{year:"numeric",month:"numeric",day:"numeric"}):"-","formatDateToUSLocaleString"),E=r(e=>e?new Date(e).toLocaleDateString("en-US",{year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric"}):"-","formatDateToLocaleStringWithTime"),U=r(e=>{let t=new Date,n=new Date;return n.setDate(t.getDate()-1),e.toDateString()===t.toDateString()?"today":e.toDateString()===n.toDateString()?"yesterday":e.toDateString()},"getRelativeDateLabel"),N=r(e=>{let t={};for(let n of e){let o=new Date(n.createdAt??"").toDateString();t[o]||(t[o]=[]),t[o].push(n);}return t},"groupMessagesByDate"),F=r(e=>{let t=new Date;if(e.getDate()===t.getDate()&&e.getMonth()===t.getMonth()&&e.getFullYear()===t.getFullYear())return e.toLocaleTimeString("en-US",{hour:"numeric",minute:"numeric",hour12:true});let n=e.getMonth()+1,o=e.getDate();return `${n}/${o}`},"formatDateToMonthAndDay");var B=r(e=>e.split(".").slice(0,-1).join("."),"getFileName"),I=r(e=>e.split(".").pop()||"","getFileExt"),H=r(e=>e?e?.type.startsWith("image/")||e?.type.startsWith("application/pdf"):false,"isFileTypeImageOrPdf");function V(e,t){let n=document.createElement(e),o=n.attachShadow({mode:"open"}),i=new CSSStyleSheet;return i.replaceSync(t),o.adoptedStyleSheets=[i],document.querySelector("html").prepend(n),client.createRoot(o)}r(V,"createShadowRoot");function q(e=1e3){return new Promise(t=>setTimeout(t,e))}r(q,"delay");var K=r(e=>{let t=new FileReader;return t.readAsDataURL(e),new Promise(n=>{t.onloadend=()=>{n(t.result);};})},"blobToBase64"),X=r((e,t)=>{let n=e.split(",");if(n.length<2)return;let o=n[0].match(/:(.*?);/);if(!o||o.length<2)return;let i=o[1],s=buffer.Buffer.from(n[1],"base64");return new File([new Uint8Array(s)],t,{type:i})},"dataUrlToFile");async function re(e){try{await navigator.clipboard.writeText(e);}catch{let t=document.createElement("textarea");t.style.position="fixed",t.style.top="-9999px",t.style.left="-9999px",t.innerText=e,document.body.appendChild(t),t.focus(),t.select(),document.execCommand("copy"),t.remove();}}r(re,"copyToClipboard");var ie=r(e=>e.replace(/([a-z])([A-Z])/g,"$1 $2").replace(/_/g," ").split(" ").map(o=>o.charAt(0).toUpperCase()+o.slice(1)).join(" "),"formatText"),se=r(e=>{let o=e.split(/(?=[A-Z])/).map(i=>i.charAt(0).toUpperCase()+i.slice(1).toLowerCase()).join(" ");return o.charAt(0).toUpperCase()+o.slice(1)},"formatCamelCaseText"),ae=r(e=>{if(e.version)return e.version;let t=e.name.split(":::");return t.length===4?t[3]:"latest"},"getVersionFromTool");var me=r(()=>sonner.toast.error(jsxRuntime.jsx("div",{children:"Your Hanzo Node is currently locked by existing keys, please restore your connection or reset your Hanzo Node Storage"}),{position:"bottom-center"}),"submitRegistrationNoCodeNonPristineError"),le=r(()=>sonner.toast.error(jsxRuntime.jsx("div",{children:"Error connecting to your Hanzo Node"}),{position:"bottom-center"}),"submitRegistrationNoCodeError");var he=r((e,t)=>{let n=null;return (...o)=>{n&&clearTimeout(n),n=setTimeout(()=>{e(...o);},t);}},"debounce");function b(e){let t=[],n="scale"in e?e.scale:void 0;if(n)if(typeof n=="number")t.push(`scale(${n})`);else if(Array.isArray(n)&&n.length==2&&typeof n[0]=="number")t.push(`scale(${n[0]}, ${n[1]})`);else throw new Error("parsing MediaTransform: Unrecognized value for 'scale'!");return t.length>0?{transform:t.join(" ")}:{}}r(b,"spreadToTransform");var y=b;var Te=r((e,t)=>e.split(" ").find(o=>o.startsWith(`${t}-`)),"getPrimaryStartingWith"),we=r(e=>{let t=e.split("-");return t[t.length-1]},"getTShirtSize"),De=r(e=>{let t=e.split("-");return t[t.length-1]},"getTypographySize"),_e=r(e=>{let t=e.split("-");if(t[t.length-1]){let o=e.split("x");return o?{w:Number(o[0]),h:Number(o[1])}:void 0}},"getDim");function Ae(e,t,n,o){let i=t(e);return i?n(i)??o:o??void 0}r(Ae,"getSpecifierData");var Ce=["K","M","B","T"];var u=768;function Le(){let[e,t]=a__namespace.useState(void 0);return a__namespace.useEffect(()=>{let n=window.matchMedia(`(max-width: ${u-1}px)`),o=r(()=>{t(window.innerWidth<u);},"onChange");return n.addEventListener("change",o),t(window.innerWidth<u),()=>n.removeEventListener("change",o)},[]),!!e}r(Le,"useIsMobile");function T(...e){return tailwindMerge.twMerge(clsx.clsx(e))}r(T,"cn");function w(e){return new Date(e).toLocaleDateString("en-US",{month:"long",day:"numeric",year:"numeric"})}r(w,"formatDate");function D(e){return `${process.env.NEXT_PUBLIC_APP_URL||""}${e}`}r(D,"absoluteUrl");function $e(e,t,n){if(typeof e=="number"&&typeof t=="number"&&typeof n=="number")return Math.min(Math.max(e,t),n);if(typeof e=="object"&&typeof t=="object"){let o=e,i=t,s=o.w/o.h,f=i.w/i.h;return s>f?{w:i.w,h:i.w/s}:{w:i.h*s,h:i.h}}throw new Error("Invalid parameters for constrain function")}r($e,"constrain");function Be(e){return Math.round(e*100)/100}r(Be,"round");function Ie(e,t=16){return `${e/t}rem`}r(Ie,"pxToRem");function He(e,t=16){return `${e/t}em`}r(He,"pxToEm");function We(e,t){return e?e.toLowerCase().includes(t.toLowerCase()):false}r(We,"containsToken");function je(...e){let t={};for(let n of e)n&&typeof n=="object"&&Object.assign(t,n);return t}r(je,"ldMerge");function Qe(e,t=0){let n=Number(e);return isNaN(n)?t:n}r(Qe,"asNum");function Ve(e){return e&&e.charAt(0).toUpperCase()+e.slice(1)}r(Ve,"capitalize");var p=class p{constructor(t,n){this._step=-1;this._reactionDisposer=void 0;this.initialize=r(()=>{let t=r(()=>{this._setStep(this._step+1),this._step<=this._intervals.length&&setTimeout(()=>{t();},this._intervals[this._step-1]);},"fireNext");this._reactionDisposer=mobx.reaction(this._initialStep,n=>{n&&this._step===-1?this._setStep(0):this._step===0&&t();});},"initialize");this._setStep=r(t=>{this._step=t;},"_setStep");this.dispose=r(()=>{this._reactionDisposer&&this._reactionDisposer();},"dispose");this.notPast=r(t=>mobx.computed(()=>this._step>-1&&this._step<=t).get(),"notPast");this._initialStep=t,this._intervals=n,mobx.makeObservable(this,{_step:mobx.observable,_setStep:mobx.action});}};r(p,"MyStepAnimation");var c=p,ft=r((e,t)=>{let n=a.useRef(new c(e,t));return a.useEffect(()=>(n.current.initialize(),n.current.dispose),[]),n.current},"useStepAnimation");exports.ABBR_SYMBOLS_ARRAY=Ce;exports.absoluteUrl=D;exports.asNum=Qe;exports.blobToBase64=K;exports.capitalize=Ve;exports.cn=T;exports.constrain=$e;exports.containsToken=We;exports.copyToClipboard=re;exports.createShadowRoot=V;exports.dataUrlToFile=X;exports.debounce=he;exports.delay=q;exports.formatCamelCaseText=se;exports.formatDate=w;exports.formatDateToLocaleStringWithTime=E;exports.formatDateToMonthAndDay=F;exports.formatDateToUSLocaleString=P;exports.formatText=ie;exports.getDim=_e;exports.getFileExt=I;exports.getFileName=B;exports.getPrimaryStartingWith=Te;exports.getRelativeDateLabel=U;exports.getSpecifierData=Ae;exports.getTShirtSize=we;exports.getTypographySize=De;exports.getVersionFromTool=ae;exports.groupMessagesByDate=N;exports.isFileTypeImageOrPdf=H;exports.ldMerge=je;exports.pxToEm=He;exports.pxToRem=Ie;exports.round=Be;exports.spreadToTransform=y;exports.submitRegistrationNoCodeError=le;exports.submitRegistrationNoCodeNonPristineError=me;exports.useIsMobile=Le;exports.useStepAnimation=ft;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hanzo/ui",
3
- "version": "5.3.39",
3
+ "version": "5.3.41",
4
4
  "description": "Multi-framework UI library with React, Vue, Svelte, and React Native support. Based on shadcn/ui with comprehensive framework coverage.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",
@@ -279,8 +279,9 @@
279
279
  "require": "./dist/drawer.js"
280
280
  },
281
281
  "./billing": {
282
- "types": "./src/billing/index.ts",
283
- "import": "./src/billing/index.ts"
282
+ "types": "./dist/billing/index.d.ts",
283
+ "import": "./dist/billing/index.mjs",
284
+ "require": "./dist/billing/index.js"
284
285
  },
285
286
  "./finance": {
286
287
  "types": "./dist/finance/index.d.ts",
@@ -514,6 +515,16 @@
514
515
  "import": "./dist/pattern/*.mjs",
515
516
  "require": "./dist/pattern/*.js"
516
517
  },
518
+ "./auth": {
519
+ "types": "./dist/auth/index.d.ts",
520
+ "import": "./dist/auth/index.mjs",
521
+ "require": "./dist/auth/index.js"
522
+ },
523
+ "./auth/*": {
524
+ "types": "./dist/auth/*.d.ts",
525
+ "import": "./dist/auth/*.mjs",
526
+ "require": "./dist/auth/*.js"
527
+ },
517
528
  "./navigation": {
518
529
  "types": "./dist/navigation/index.d.ts",
519
530
  "import": "./dist/navigation/index.mjs",
@@ -1,28 +0,0 @@
1
- import React from 'react';
2
- export declare const AnthropicIcon: React.ForwardRefExoticComponent<Omit<React.SVGProps<SVGSVGElement>, "ref"> & React.RefAttributes<SVGSVGElement>>;
3
- export declare const AyaCohereIcon: React.ForwardRefExoticComponent<Omit<React.SVGProps<SVGSVGElement>, "ref"> & React.RefAttributes<SVGSVGElement>>;
4
- export declare const DeepSeekIcon: React.ForwardRefExoticComponent<Omit<React.SVGProps<SVGSVGElement>, "ref"> & React.RefAttributes<SVGSVGElement>>;
5
- export declare const ExoIcon: React.ForwardRefExoticComponent<Omit<React.SVGProps<SVGSVGElement>, "ref"> & React.RefAttributes<SVGSVGElement>>;
6
- export declare const GeminiIcon: React.ForwardRefExoticComponent<Omit<React.SVGProps<SVGSVGElement>, "ref"> & React.RefAttributes<SVGSVGElement>>;
7
- export declare const GoogleIcon: React.ForwardRefExoticComponent<Omit<React.SVGProps<SVGSVGElement>, "ref"> & React.RefAttributes<SVGSVGElement>>;
8
- export declare const GrokIcon: React.ForwardRefExoticComponent<Omit<React.SVGProps<SVGSVGElement>, "ref"> & React.RefAttributes<SVGSVGElement>>;
9
- export declare const GroqIcon: React.ForwardRefExoticComponent<Omit<React.SVGProps<SVGSVGElement>, "ref"> & React.RefAttributes<SVGSVGElement>>;
10
- export declare const LmStudioIcon: React.ForwardRefExoticComponent<Omit<React.SVGProps<SVGSVGElement>, "ref"> & React.RefAttributes<SVGSVGElement>>;
11
- export declare const MetaIcon: React.ForwardRefExoticComponent<Omit<React.SVGProps<SVGSVGElement>, "ref"> & React.RefAttributes<SVGSVGElement>>;
12
- export declare const MistralIcon: React.ForwardRefExoticComponent<Omit<React.SVGProps<SVGSVGElement>, "ref"> & React.RefAttributes<SVGSVGElement>>;
13
- export declare const OllamaIcon: React.ForwardRefExoticComponent<Omit<React.SVGProps<SVGSVGElement>, "ref"> & React.RefAttributes<SVGSVGElement>>;
14
- export declare const OpenAIIcon: React.ForwardRefExoticComponent<Omit<React.SVGProps<SVGSVGElement>, "ref"> & React.RefAttributes<SVGSVGElement>>;
15
- export declare const OpenRouterIcon: React.ForwardRefExoticComponent<Omit<React.SVGProps<SVGSVGElement>, "ref"> & React.RefAttributes<SVGSVGElement>>;
16
- export declare const PerplexityIcon: React.ForwardRefExoticComponent<Omit<React.SVGProps<SVGSVGElement>, "ref"> & React.RefAttributes<SVGSVGElement>>;
17
- export declare const QwenIcon: React.ForwardRefExoticComponent<Omit<React.SVGProps<SVGSVGElement>, "ref"> & React.RefAttributes<SVGSVGElement>>;
18
- export declare const HanzoIcon: React.ForwardRefExoticComponent<Omit<React.SVGProps<SVGSVGElement>, "ref"> & React.RefAttributes<SVGSVGElement>>;
19
- export declare const TogetherAI: React.ForwardRefExoticComponent<Omit<React.SVGProps<SVGSVGElement>, "ref"> & React.RefAttributes<SVGSVGElement>>;
20
- export declare const AisIcon: React.ForwardRefExoticComponent<Omit<React.SVGProps<SVGSVGElement>, "ref"> & React.RefAttributes<SVGSVGElement>>;
21
- export declare const ScheduledTasksIcon: React.ForwardRefExoticComponent<Omit<React.SVGProps<SVGSVGElement>, "ref"> & React.RefAttributes<SVGSVGElement>>;
22
- export declare const SendIcon: React.ForwardRefExoticComponent<Omit<React.SVGProps<SVGSVGElement>, "ref"> & React.RefAttributes<SVGSVGElement>>;
23
- export declare const ReactJsIcon: React.ForwardRefExoticComponent<Omit<React.SVGProps<SVGSVGElement>, "ref"> & React.RefAttributes<SVGSVGElement>>;
24
- export declare const ReasoningIcon: React.ForwardRefExoticComponent<Omit<React.SVGProps<SVGSVGElement>, "ref"> & React.RefAttributes<SVGSVGElement>>;
25
- export declare const ToolsIcon: React.ForwardRefExoticComponent<Omit<React.SVGProps<SVGSVGElement>, "ref"> & React.RefAttributes<SVGSVGElement>>;
26
- export declare const AIAgentIcon: React.ForwardRefExoticComponent<Omit<React.SVGProps<SVGSVGElement>, "ref"> & React.RefAttributes<SVGSVGElement>>;
27
- export declare const TracingIcon: React.ForwardRefExoticComponent<Omit<React.SVGProps<SVGSVGElement>, "ref"> & React.RefAttributes<SVGSVGElement>>;
28
- //# sourceMappingURL=ai-icons.d.ts.map