laif-ds 0.1.2 → 0.1.3

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 (425) hide show
  1. package/dist/_virtual/jsx-runtime.js +6 -0
  2. package/dist/_virtual/jsx-runtime2.js +5 -0
  3. package/dist/_virtual/react-jsx-runtime.development.js +5 -0
  4. package/dist/_virtual/react-jsx-runtime.production.js +5 -0
  5. package/dist/components/ui/accordion.js +65 -0
  6. package/dist/components/ui/alert-dialog.js +147 -0
  7. package/dist/components/ui/alert.js +67 -0
  8. package/dist/components/ui/aspect-ratio.js +11 -0
  9. package/dist/components/ui/async-select.js +172 -0
  10. package/dist/components/ui/audio-visualizer.js +94 -0
  11. package/dist/components/ui/avatar.js +54 -0
  12. package/dist/components/ui/badge.js +41 -0
  13. package/dist/components/ui/button.js +66 -0
  14. package/dist/components/ui/calendar.js +62 -0
  15. package/dist/components/ui/card.js +77 -0
  16. package/dist/components/ui/carousel.js +178 -0
  17. package/dist/components/ui/chart.js +216 -0
  18. package/dist/components/ui/chat-message.js +250 -0
  19. package/dist/components/ui/chat.js +226 -0
  20. package/dist/components/ui/checkbox.js +32 -0
  21. package/dist/components/ui/collapsible.js +35 -0
  22. package/dist/components/ui/command.js +162 -0
  23. package/dist/components/ui/context-menu.js +224 -0
  24. package/dist/components/ui/copy-button.js +45 -0
  25. package/dist/components/ui/date-picker.js +59 -0
  26. package/dist/components/ui/dialog.js +123 -0
  27. package/dist/components/ui/drawer.js +120 -0
  28. package/dist/components/ui/file-preview.js +120 -0
  29. package/dist/components/ui/form.js +102 -0
  30. package/dist/components/ui/hover-card.js +39 -0
  31. package/dist/components/ui/icon.js +35 -0
  32. package/dist/components/ui/input-otp.js +62 -0
  33. package/dist/components/ui/input-selector.js +119 -0
  34. package/dist/components/ui/input.js +70 -0
  35. package/dist/components/ui/interrupt-prompt.js +38 -0
  36. package/dist/components/ui/label.js +23 -0
  37. package/dist/components/ui/markdown-renderer.js +126 -0
  38. package/dist/components/ui/menubar.js +252 -0
  39. package/dist/components/ui/message-input.js +336 -0
  40. package/dist/components/ui/message-list.js +29 -0
  41. package/dist/components/ui/multiple-selector.js +350 -0
  42. package/dist/components/ui/navigation-menu.js +171 -0
  43. package/dist/components/ui/pagination.js +119 -0
  44. package/dist/components/ui/popover.js +39 -0
  45. package/dist/components/ui/progress.js +32 -0
  46. package/dist/components/ui/prompt-suggestions.js +23 -0
  47. package/dist/components/ui/radio-group.js +46 -0
  48. package/dist/components/ui/resizable.js +49 -0
  49. package/dist/components/ui/scroll-area.js +61 -0
  50. package/dist/components/ui/select.js +189 -0
  51. package/dist/components/ui/separator.js +27 -0
  52. package/dist/components/ui/sheet.js +121 -0
  53. package/dist/components/ui/sidebar.js +599 -0
  54. package/dist/components/ui/skeleton.js +16 -0
  55. package/dist/components/ui/sonner.js +23 -0
  56. package/dist/components/ui/switch.js +32 -0
  57. package/dist/components/ui/table.js +115 -0
  58. package/dist/components/ui/tabs.js +68 -0
  59. package/dist/components/ui/textarea.js +19 -0
  60. package/dist/components/ui/toggle-group.js +63 -0
  61. package/dist/components/ui/toggle.js +44 -0
  62. package/dist/components/ui/tooltip.js +56 -0
  63. package/dist/components/ui/typing-indicator.js +13 -0
  64. package/dist/hooks/use-audio-recording.js +55 -0
  65. package/dist/hooks/use-auto-scroll.js +37 -0
  66. package/dist/hooks/use-autosize-textarea.js +22 -0
  67. package/dist/hooks/use-copy-to-clipboard.js +25 -0
  68. package/dist/hooks/use-debounce.js +16 -0
  69. package/dist/hooks/use-mobile.js +17 -0
  70. package/dist/index.d.ts +1088 -8
  71. package/dist/index.js +299 -0
  72. package/dist/lib/audio-utils.js +30 -0
  73. package/dist/lib/utils.js +9 -0
  74. package/dist/node_modules/react/cjs/react-jsx-runtime.development.js +248 -0
  75. package/dist/node_modules/react/cjs/react-jsx-runtime.production.js +36 -0
  76. package/dist/node_modules/react/jsx-runtime.js +11 -0
  77. package/dist/styles.css +1 -1
  78. package/package.json +15 -43
  79. package/dist/abap-BmBUA35e.js +0 -6
  80. package/dist/actionscript-3-zFUbzQa9.js +0 -6
  81. package/dist/ada-CBvPkFpZ.js +0 -6
  82. package/dist/andromeeda-uXNdzNpk.js +0 -4
  83. package/dist/angular-html-0fTdLuKf.js +0 -32
  84. package/dist/angular-ts-wkniW60G.js +0 -21
  85. package/dist/apache-CVNlsSDc.js +0 -6
  86. package/dist/apex-DFk3KRB1.js +0 -6
  87. package/dist/apl-TLDHFJX6.js +0 -16
  88. package/dist/applescript-CYMR_y0g.js +0 -6
  89. package/dist/ara-4QmU5e04.js +0 -6
  90. package/dist/asciidoc-v_1bjgUg.js +0 -6
  91. package/dist/asm-RC0Yh-NZ.js +0 -6
  92. package/dist/astro-Uf8_VxKJ.js +0 -16
  93. package/dist/aurora-x-BwoVEUWZ.js +0 -4
  94. package/dist/awk-gPH8MVMW.js +0 -6
  95. package/dist/ayu-dark-CxPZkpb2.js +0 -4
  96. package/dist/ballerina-kvLnRU_e.js +0 -6
  97. package/dist/bat-BHYy44sT.js +0 -6
  98. package/dist/beancount-D-MADTs_.js +0 -6
  99. package/dist/berry-Ci9U0o4h.js +0 -6
  100. package/dist/bibtex-CX618D15.js +0 -6
  101. package/dist/bicep-iuYiPopT.js +0 -6
  102. package/dist/blade-BtR00Gx0.js +0 -18
  103. package/dist/bsl-BIXPNqL4.js +0 -8
  104. package/dist/c-DASdrs7p.js +0 -6
  105. package/dist/cadence-BDALQi26.js +0 -6
  106. package/dist/cairo-tXZKA2PT.js +0 -8
  107. package/dist/catppuccin-frappe-BrTOiad2.js +0 -4
  108. package/dist/catppuccin-latte-D-dc_R4m.js +0 -4
  109. package/dist/catppuccin-macchiato-DN4jOp0G.js +0 -4
  110. package/dist/catppuccin-mocha-B8yCE3-3.js +0 -4
  111. package/dist/clarity-CNgV2Ths.js +0 -6
  112. package/dist/clojure-CsKKFGwv.js +0 -6
  113. package/dist/cmake-Dr-A3iJx.js +0 -6
  114. package/dist/cobol-DMssKNmC.js +0 -10
  115. package/dist/codeowners-Bt9yU6NX.js +0 -6
  116. package/dist/codeql-DBNTqJi1.js +0 -6
  117. package/dist/coffee-D_GzM8k1.js +0 -8
  118. package/dist/common-lisp-r7ZEOG7T.js +0 -6
  119. package/dist/components/atoms/index.d.ts +0 -20
  120. package/dist/components/index.d.ts +0 -3
  121. package/dist/components/molecules/index.d.ts +0 -29
  122. package/dist/components/organisms/index.d.ts +0 -14
  123. package/dist/components/ui/accordion.d.ts +0 -7
  124. package/dist/components/ui/alert-dialog.d.ts +0 -14
  125. package/dist/components/ui/alert.d.ts +0 -9
  126. package/dist/components/ui/aspect-ratio.d.ts +0 -3
  127. package/dist/components/ui/async-select.d.ts +0 -54
  128. package/dist/components/ui/audio-visualizer.d.ts +0 -7
  129. package/dist/components/ui/avatar.d.ts +0 -6
  130. package/dist/components/ui/badge.d.ts +0 -9
  131. package/dist/components/ui/button.d.ts +0 -14
  132. package/dist/components/ui/calendar.d.ts +0 -4
  133. package/dist/components/ui/card.d.ts +0 -9
  134. package/dist/components/ui/carousel.d.ts +0 -19
  135. package/dist/components/ui/chart.d.ts +0 -40
  136. package/dist/components/ui/chat-message.d.ts +0 -62
  137. package/dist/components/ui/chat.d.ts +0 -53
  138. package/dist/components/ui/checkbox.d.ts +0 -4
  139. package/dist/components/ui/collapsible.d.ts +0 -5
  140. package/dist/components/ui/command.d.ts +0 -16
  141. package/dist/components/ui/context-menu.d.ts +0 -25
  142. package/dist/components/ui/copy-button.d.ts +0 -6
  143. package/dist/components/ui/date-picker.d.ts +0 -11
  144. package/dist/components/ui/dialog.d.ts +0 -13
  145. package/dist/components/ui/drawer.d.ts +0 -13
  146. package/dist/components/ui/file-preview.d.ts +0 -7
  147. package/dist/components/ui/form.d.ts +0 -24
  148. package/dist/components/ui/hover-card.d.ts +0 -6
  149. package/dist/components/ui/icon.d.ts +0 -33
  150. package/dist/components/ui/input-otp.d.ts +0 -11
  151. package/dist/components/ui/input-selector.d.ts +0 -14
  152. package/dist/components/ui/input.d.ts +0 -14
  153. package/dist/components/ui/interrupt-prompt.d.ts +0 -6
  154. package/dist/components/ui/label.d.ts +0 -4
  155. package/dist/components/ui/markdown-renderer.d.ts +0 -5
  156. package/dist/components/ui/menubar.d.ts +0 -26
  157. package/dist/components/ui/message-input.d.ts +0 -23
  158. package/dist/components/ui/message-list.d.ts +0 -10
  159. package/dist/components/ui/multiple-selector.d.ts +0 -75
  160. package/dist/components/ui/navigation-menu.d.ts +0 -14
  161. package/dist/components/ui/pagination.d.ts +0 -13
  162. package/dist/components/ui/popover.d.ts +0 -7
  163. package/dist/components/ui/progress.d.ts +0 -4
  164. package/dist/components/ui/prompt-suggestions.d.ts +0 -10
  165. package/dist/components/ui/radio-group.d.ts +0 -5
  166. package/dist/components/ui/resizable.d.ts +0 -8
  167. package/dist/components/ui/scroll-area.d.ts +0 -5
  168. package/dist/components/ui/select.d.ts +0 -21
  169. package/dist/components/ui/separator.d.ts +0 -4
  170. package/dist/components/ui/sheet.d.ts +0 -13
  171. package/dist/components/ui/sidebar.d.ts +0 -69
  172. package/dist/components/ui/skeleton.d.ts +0 -2
  173. package/dist/components/ui/sonner.d.ts +0 -3
  174. package/dist/components/ui/switch.d.ts +0 -4
  175. package/dist/components/ui/table.d.ts +0 -10
  176. package/dist/components/ui/tabs.d.ts +0 -7
  177. package/dist/components/ui/textarea.d.ts +0 -3
  178. package/dist/components/ui/toggle-group.d.ts +0 -7
  179. package/dist/components/ui/toggle.d.ts +0 -9
  180. package/dist/components/ui/tooltip.d.ts +0 -7
  181. package/dist/components/ui/typing-indicator.d.ts +0 -1
  182. package/dist/coq-CB6Pv_W9.js +0 -6
  183. package/dist/cpp-CJF2i3ah.js +0 -18
  184. package/dist/crystal-BKWnaU3g.js +0 -18
  185. package/dist/csharp-CYWRhZ2R.js +0 -6
  186. package/dist/css-D1aVdRIU.js +0 -6
  187. package/dist/csv-DvCncUGQ.js +0 -6
  188. package/dist/cue-BXMrmvay.js +0 -6
  189. package/dist/cypher-DTm5zNR1.js +0 -6
  190. package/dist/d-D6ZXmn3l.js +0 -6
  191. package/dist/dark-plus-pUHDTVV0.js +0 -4
  192. package/dist/dart-Dz59Is3F.js +0 -6
  193. package/dist/dax-DTVGzydb.js +0 -6
  194. package/dist/desktop-Db9vb-dl.js +0 -6
  195. package/dist/diff-XmNrvgM1.js +0 -6
  196. package/dist/docker-DWH2onkn.js +0 -6
  197. package/dist/dotenv-4337wvzu.js +0 -6
  198. package/dist/dracula-BtZx2Kac.js +0 -4
  199. package/dist/dracula-soft-BKa-aqBv.js +0 -4
  200. package/dist/dream-maker-CvvfrJSx.js +0 -6
  201. package/dist/edge-CgxR-qhM.js +0 -12
  202. package/dist/elixir-DZkeSPwW.js +0 -8
  203. package/dist/elm-BKuV1HE1.js +0 -8
  204. package/dist/emacs-lisp-BAefI874.js +0 -6
  205. package/dist/erb-BLwkpXUJ.js +0 -10
  206. package/dist/erlang-CmIiwF3I.js +0 -6
  207. package/dist/everforest-dark-DMCBqXCK.js +0 -4
  208. package/dist/everforest-light-BbXl82Em.js +0 -4
  209. package/dist/fennel-DNqkz9pE.js +0 -6
  210. package/dist/fish-DIm72t2T.js +0 -6
  211. package/dist/fluent-BapTxJsC.js +0 -6
  212. package/dist/fortran-fixed-form-s9Hnb3av.js +0 -8
  213. package/dist/fortran-free-form-CNDsBFUj.js +0 -6
  214. package/dist/fsharp-Cv0x43wb.js +0 -8
  215. package/dist/gdresource-CMcKXvgJ.js +0 -10
  216. package/dist/gdscript-D7aheHm-.js +0 -6
  217. package/dist/gdshader-BGJEsM2Z.js +0 -6
  218. package/dist/genie-C9gPjc6J.js +0 -6
  219. package/dist/gherkin-bka1Exbx.js +0 -6
  220. package/dist/git-commit-BspYIY3P.js +0 -8
  221. package/dist/git-rebase--zLBTjUa.js +0 -8
  222. package/dist/github-dark-DenFmJkN.js +0 -4
  223. package/dist/github-dark-default-BJPUVz4H.js +0 -4
  224. package/dist/github-dark-dimmed-DUshB20C.js +0 -4
  225. package/dist/github-dark-high-contrast-D3aGCnF8.js +0 -4
  226. package/dist/github-light-JYsPkUQd.js +0 -4
  227. package/dist/github-light-default-D99KPAby.js +0 -4
  228. package/dist/github-light-high-contrast-BbmZE-Mp.js +0 -4
  229. package/dist/gleam-B4k9YFGD.js +0 -6
  230. package/dist/glimmer-js-DhY9umHJ.js +0 -14
  231. package/dist/glimmer-ts-CCrHcYH5.js +0 -14
  232. package/dist/glsl-XLGYNq5B.js +0 -8
  233. package/dist/gnuplot-DnWoRZt-.js +0 -6
  234. package/dist/go-BErP6iv1.js +0 -6
  235. package/dist/graphql-DWpQF4JI.js +0 -14
  236. package/dist/groovy-IWs5-NIO.js +0 -6
  237. package/dist/hack-CQrV-ytR.js +0 -10
  238. package/dist/haml-CMN0hQaL.js +0 -10
  239. package/dist/handlebars-Cc-7fXX5.js +0 -14
  240. package/dist/haskell-CtlGos0K.js +0 -6
  241. package/dist/haxe-CZZ33vZw.js +0 -6
  242. package/dist/hcl-6hOg9WP4.js +0 -6
  243. package/dist/hjson-CgwED-oz.js +0 -6
  244. package/dist/hlsl-3-lv4gi7.js +0 -6
  245. package/dist/hooks/index.d.ts +0 -6
  246. package/dist/hooks/use-audio-recording.d.ts +0 -14
  247. package/dist/hooks/use-auto-scroll.d.ts +0 -7
  248. package/dist/hooks/use-autosize-textarea.d.ts +0 -8
  249. package/dist/hooks/use-copy-to-clipboard.d.ts +0 -9
  250. package/dist/hooks/use-debounce.d.ts +0 -1
  251. package/dist/hooks/use-mobile.d.ts +0 -1
  252. package/dist/houston-BDYrDoDW.js +0 -4
  253. package/dist/html-B0P_v3yU.js +0 -10
  254. package/dist/html-derivative-D59SHfh8.js +0 -8
  255. package/dist/http-Dcjm_K1m.js +0 -14
  256. package/dist/hxml-BNKImryz.js +0 -8
  257. package/dist/hy-C2xHhR6I.js +0 -6
  258. package/dist/imba-Drd0AMDo.js +0 -8
  259. package/dist/index-B3zhPw_i.js +0 -6376
  260. package/dist/index-CX8WDA1V.js +0 -71798
  261. package/dist/ini-BUcvsX-U.js +0 -6
  262. package/dist/java-B7odJ7Ap.js +0 -6
  263. package/dist/javascript-fa8UlHZE.js +0 -6
  264. package/dist/jinja-CCSYduCH.js +0 -11
  265. package/dist/jison-BygvlveW.js +0 -8
  266. package/dist/json-71t8ZF9g.js +0 -6
  267. package/dist/json5-Z7F6rA6a.js +0 -6
  268. package/dist/jsonc-Dphhs4m2.js +0 -6
  269. package/dist/jsonl-D9jj92Gg.js +0 -6
  270. package/dist/jsonnet-DEQ7IUoJ.js +0 -6
  271. package/dist/jssm-j74e88UX.js +0 -6
  272. package/dist/jsx-Bkesy5tT.js +0 -6
  273. package/dist/julia-CiahampL.js +0 -16
  274. package/dist/kanagawa-dragon-CiKur4Hl.js +0 -4
  275. package/dist/kanagawa-lotus-BKu-smKu.js +0 -4
  276. package/dist/kanagawa-wave-CQwozSzG.js +0 -4
  277. package/dist/kotlin-DCgZY7Ii.js +0 -6
  278. package/dist/kusto-Cw029H-v.js +0 -6
  279. package/dist/laif-ds.es.js +0 -238
  280. package/dist/laif-ds.umd.js +0 -8032
  281. package/dist/laserwave-6a00oqik.js +0 -4
  282. package/dist/latex-LfGCYGw5.js +0 -8
  283. package/dist/lean-CYSet4vs.js +0 -6
  284. package/dist/less-DQA4v-Nm.js +0 -6
  285. package/dist/light-plus-CZuVqSLX.js +0 -4
  286. package/dist/liquid-CvufO3kO.js +0 -14
  287. package/dist/log-D2eRfqDn.js +0 -6
  288. package/dist/logo-QEAtGWZ9.js +0 -6
  289. package/dist/lua-BVfhNLDr.js +0 -8
  290. package/dist/luau-BjYGiqID.js +0 -6
  291. package/dist/make-BjuHP00g.js +0 -6
  292. package/dist/markdown-B6guhLWd.js +0 -6
  293. package/dist/marko-CHlMS8w5.js +0 -14
  294. package/dist/material-theme-D6KBX41T.js +0 -4
  295. package/dist/material-theme-darker-CkRroheE.js +0 -4
  296. package/dist/material-theme-lighter-BUBw43Yz.js +0 -4
  297. package/dist/material-theme-ocean-ClGX14Ja.js +0 -4
  298. package/dist/material-theme-palenight-C1RVm8K1.js +0 -4
  299. package/dist/matlab-BpQlIJiw.js +0 -6
  300. package/dist/mdc-4K6B6lHG.js +0 -12
  301. package/dist/mdx-DIoECIFU.js +0 -6
  302. package/dist/mermaid-BZ7WHNIe.js +0 -6
  303. package/dist/min-dark-C7ak0t6c.js +0 -4
  304. package/dist/min-light-CKFxVcPp.js +0 -4
  305. package/dist/mipsasm-DusDYkFc.js +0 -6
  306. package/dist/mojo-CY9jaezJ.js +0 -6
  307. package/dist/monokai-C1KBYcO0.js +0 -4
  308. package/dist/move-ChphFumd.js +0 -6
  309. package/dist/narrat-Dz4d7OmN.js +0 -6
  310. package/dist/nextflow-DW0Yq9a2.js +0 -6
  311. package/dist/nginx-Can2eAjw.js +0 -8
  312. package/dist/night-owl-Bm2rzalh.js +0 -4
  313. package/dist/nim-B3r2RtQZ.js +0 -20
  314. package/dist/nix-Cg5uV_xg.js +0 -6
  315. package/dist/nord-CC5OiUXg.js +0 -4
  316. package/dist/nushell-BfRnzRWn.js +0 -6
  317. package/dist/objective-c-BGg9R27G.js +0 -6
  318. package/dist/objective-cpp-CJ3y3V_5.js +0 -6
  319. package/dist/ocaml-BZLsfx_o.js +0 -6
  320. package/dist/one-dark-pro-D7-kP8fv.js +0 -4
  321. package/dist/one-light-D9sNaUtq.js +0 -4
  322. package/dist/pascal-l2bqd7Dz.js +0 -6
  323. package/dist/perl-DaMQyPwp.js +0 -16
  324. package/dist/php-BL3EfPBi.js +0 -18
  325. package/dist/plastic-CSTz3KZp.js +0 -4
  326. package/dist/plsql-oVq_K_wH.js +0 -6
  327. package/dist/po-5jaeIyVd.js +0 -6
  328. package/dist/poimandres-C-VADXHD.js +0 -4
  329. package/dist/polar-wcLp8ci7.js +0 -6
  330. package/dist/postcss-BZ3MNRIJ.js +0 -6
  331. package/dist/powerquery-CgRa2XRw.js +0 -6
  332. package/dist/powershell-Diwyv8Eh.js +0 -6
  333. package/dist/prisma-COL_v1x4.js +0 -6
  334. package/dist/prolog-CuvJOxqT.js +0 -6
  335. package/dist/proto-o9HLmF90.js +0 -6
  336. package/dist/pug-HKe4Luo3.js +0 -12
  337. package/dist/puppet-wpGOnQp5.js +0 -6
  338. package/dist/purescript-B_1NgE2N.js +0 -6
  339. package/dist/python-xYxLFJY-.js +0 -6
  340. package/dist/qml-FlMIyjU9.js +0 -8
  341. package/dist/qmldir-BInDYbpo.js +0 -6
  342. package/dist/qss-D-h4NdUG.js +0 -6
  343. package/dist/r-F-9I-ITZ.js +0 -6
  344. package/dist/racket-BoD1TBFT.js +0 -6
  345. package/dist/raku-IaYcw19m.js +0 -6
  346. package/dist/razor-CeqqNtyB.js +0 -10
  347. package/dist/red-7y8PH7HH.js +0 -4
  348. package/dist/reg-CMUdAgIP.js +0 -6
  349. package/dist/regexp-GiFkbxS-.js +0 -6
  350. package/dist/rel-BaRn3QX7.js +0 -6
  351. package/dist/riscv-B9V3SsvW.js +0 -6
  352. package/dist/rose-pine-DhT-HZE9.js +0 -4
  353. package/dist/rose-pine-dawn-DiCjL2i4.js +0 -4
  354. package/dist/rose-pine-moon-BNmGHlcn.js +0 -4
  355. package/dist/rst-C3D6-dqL.js +0 -22
  356. package/dist/ruby-DcPLUUK3.js +0 -30
  357. package/dist/rust-Pc7DCsZD.js +0 -6
  358. package/dist/sas-tDSYjXcL.js +0 -8
  359. package/dist/sass-iCyS6eP9.js +0 -6
  360. package/dist/scala-Cly-fENF.js +0 -6
  361. package/dist/scheme-Zi24oEYu.js +0 -6
  362. package/dist/scss-DhHc4lxB.js +0 -8
  363. package/dist/sdbl-BBamrXFL.js +0 -6
  364. package/dist/shaderlab-CvqEIoL0.js +0 -8
  365. package/dist/shellscript-Dn0-btNd.js +0 -6
  366. package/dist/shellsession-8OLo3sB6.js +0 -8
  367. package/dist/slack-dark-i7wN4OET.js +0 -4
  368. package/dist/slack-ochin-ndHf0LoP.js +0 -4
  369. package/dist/smalltalk-Cns31tKw.js +0 -6
  370. package/dist/snazzy-light-BlSJXAu4.js +0 -4
  371. package/dist/solarized-dark-UTmkh7lw.js +0 -4
  372. package/dist/solarized-light-BheCkDPT.js +0 -4
  373. package/dist/solidity-BG_k8fA_.js +0 -6
  374. package/dist/soy-EwHMOVPj.js +0 -8
  375. package/dist/sparql-DhuelBut.js +0 -8
  376. package/dist/splunk-CTqDjQdo.js +0 -6
  377. package/dist/sql-DCkt643-.js +0 -6
  378. package/dist/ssh-config-DHHGll-v.js +0 -6
  379. package/dist/stata-Dok6hMw0.js +0 -8
  380. package/dist/stylus-n_9f0QQ5.js +0 -6
  381. package/dist/svelte-01qw6Rxm.js +0 -14
  382. package/dist/swift-BAWqNR8A.js +0 -6
  383. package/dist/synthwave-84-NU3C_KFZ.js +0 -4
  384. package/dist/system-verilog-Cui-g-ut.js +0 -6
  385. package/dist/systemd-CsKYQIQK.js +0 -6
  386. package/dist/talonscript-D2dGh8FO.js +0 -6
  387. package/dist/tasl-D3W8HMV6.js +0 -6
  388. package/dist/tcl-2y0Fuc4S.js +0 -6
  389. package/dist/templ-Hmy8U0DD.js +0 -12
  390. package/dist/terraform-BGW6Oerf.js +0 -6
  391. package/dist/tex-mHs7a43s.js +0 -8
  392. package/dist/tokyo-night-LhP3hHhi.js +0 -4
  393. package/dist/toml-CQSfOn0e.js +0 -6
  394. package/dist/ts-tags-DYZ4SGcN.js +0 -41
  395. package/dist/tsv-BtvSkaG0.js +0 -6
  396. package/dist/tsx-DiGsgWT8.js +0 -6
  397. package/dist/turtle-BJ2wmjPc.js +0 -6
  398. package/dist/twig-BmytkGQV.js +0 -18
  399. package/dist/typescript-buWNZFwO.js +0 -6
  400. package/dist/typespec-bLbdsxJL.js +0 -6
  401. package/dist/typst-Y9_SmXTs.js +0 -6
  402. package/dist/v-wa8Orrdd.js +0 -6
  403. package/dist/vala-DRdriFr_.js +0 -6
  404. package/dist/vb-E2_-jk4M.js +0 -6
  405. package/dist/verilog-B1iBoR5_.js +0 -6
  406. package/dist/vesper-CJsaOsSM.js +0 -4
  407. package/dist/vhdl-CRVaAhXk.js +0 -6
  408. package/dist/viml-B-zWOd7Z.js +0 -6
  409. package/dist/vitesse-black-BoGvW84i.js +0 -4
  410. package/dist/vitesse-dark-Cym-eLtO.js +0 -4
  411. package/dist/vitesse-light-CcmG315c.js +0 -4
  412. package/dist/vue-Bl1uVNsA.js +0 -31
  413. package/dist/vue-html-DHr5wjBG.js +0 -10
  414. package/dist/vyper-DWutKXpa.js +0 -6
  415. package/dist/wasm-Bv5f0gKv.js +0 -6
  416. package/dist/wasm-DQxwEHae.js +0 -7
  417. package/dist/wenyan-BMYnfus1.js +0 -6
  418. package/dist/wgsl-DnPoPGDU.js +0 -6
  419. package/dist/wikitext-CntM04PE.js +0 -6
  420. package/dist/wolfram-Ws5qPlX9.js +0 -6
  421. package/dist/xml-ChBsf5uy.js +0 -8
  422. package/dist/xsl-BefjlXrd.js +0 -8
  423. package/dist/yaml-Bbg74JKr.js +0 -6
  424. package/dist/zenscript-C0RKE4nU.js +0 -6
  425. package/dist/zig-D6SXBGNm.js +0 -6
@@ -0,0 +1,6 @@
1
+ "use client";
2
+ import { __require as e } from "../node_modules/react/jsx-runtime.js";
3
+ var i = e();
4
+ export {
5
+ i as j
6
+ };
@@ -0,0 +1,5 @@
1
+ "use client";
2
+ var e = { exports: {} };
3
+ export {
4
+ e as __module
5
+ };
@@ -0,0 +1,5 @@
1
+ "use client";
2
+ var e = {};
3
+ export {
4
+ e as __exports
5
+ };
@@ -0,0 +1,5 @@
1
+ "use client";
2
+ var e = {};
3
+ export {
4
+ e as __exports
5
+ };
@@ -0,0 +1,65 @@
1
+ "use client";
2
+ import { j as e } from "../../_virtual/jsx-runtime.js";
3
+ import * as n from "@radix-ui/react-accordion";
4
+ import { ChevronDownIcon as a } from "lucide-react";
5
+ import { cn as i } from "../../lib/utils.js";
6
+ function l({
7
+ ...t
8
+ }) {
9
+ return /* @__PURE__ */ e.jsx(n.Root, { "data-slot": "accordion", ...t });
10
+ }
11
+ function m({
12
+ className: t,
13
+ ...o
14
+ }) {
15
+ return /* @__PURE__ */ e.jsx(
16
+ n.Item,
17
+ {
18
+ "data-slot": "accordion-item",
19
+ className: i("border-b last:border-b-0", t),
20
+ ...o
21
+ }
22
+ );
23
+ }
24
+ function u({
25
+ className: t,
26
+ children: o,
27
+ ...r
28
+ }) {
29
+ return /* @__PURE__ */ e.jsx(n.Header, { className: "flex", children: /* @__PURE__ */ e.jsxs(
30
+ n.Trigger,
31
+ {
32
+ "data-slot": "accordion-trigger",
33
+ className: i(
34
+ "focus-visible:border-ring focus-visible:ring-ring/50 flex flex-1 items-start justify-between gap-4 rounded-md py-4 text-left text-sm font-medium transition-all outline-none hover:underline focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 [&[data-state=open]>svg]:rotate-180",
35
+ t
36
+ ),
37
+ ...r,
38
+ children: [
39
+ o,
40
+ /* @__PURE__ */ e.jsx(a, { className: "text-muted-foreground pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200" })
41
+ ]
42
+ }
43
+ ) });
44
+ }
45
+ function f({
46
+ className: t,
47
+ children: o,
48
+ ...r
49
+ }) {
50
+ return /* @__PURE__ */ e.jsx(
51
+ n.Content,
52
+ {
53
+ "data-slot": "accordion-content",
54
+ className: "data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm",
55
+ ...r,
56
+ children: /* @__PURE__ */ e.jsx("div", { className: i("pt-0 pb-4", t), children: o })
57
+ }
58
+ );
59
+ }
60
+ export {
61
+ l as Accordion,
62
+ f as AccordionContent,
63
+ m as AccordionItem,
64
+ u as AccordionTrigger
65
+ };
@@ -0,0 +1,147 @@
1
+ "use client";
2
+ import { j as e } from "../../_virtual/jsx-runtime.js";
3
+ import * as o from "@radix-ui/react-alert-dialog";
4
+ import { cn as l } from "../../lib/utils.js";
5
+ import { buttonVariants as r } from "./button.js";
6
+ function g({
7
+ ...t
8
+ }) {
9
+ return /* @__PURE__ */ e.jsx(o.Root, { "data-slot": "alert-dialog", ...t });
10
+ }
11
+ function u({
12
+ ...t
13
+ }) {
14
+ return /* @__PURE__ */ e.jsx(o.Trigger, { "data-slot": "alert-dialog-trigger", ...t });
15
+ }
16
+ function n({
17
+ ...t
18
+ }) {
19
+ return /* @__PURE__ */ e.jsx(o.Portal, { "data-slot": "alert-dialog-portal", ...t });
20
+ }
21
+ function i({
22
+ className: t,
23
+ ...a
24
+ }) {
25
+ return /* @__PURE__ */ e.jsx(
26
+ o.Overlay,
27
+ {
28
+ "data-slot": "alert-dialog-overlay",
29
+ className: l(
30
+ "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",
31
+ t
32
+ ),
33
+ ...a
34
+ }
35
+ );
36
+ }
37
+ function m({
38
+ className: t,
39
+ ...a
40
+ }) {
41
+ return /* @__PURE__ */ e.jsxs(n, { children: [
42
+ /* @__PURE__ */ e.jsx(i, {}),
43
+ /* @__PURE__ */ e.jsx(
44
+ o.Content,
45
+ {
46
+ "data-slot": "alert-dialog-content",
47
+ className: l(
48
+ "bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",
49
+ t
50
+ ),
51
+ ...a
52
+ }
53
+ )
54
+ ] });
55
+ }
56
+ function f({
57
+ className: t,
58
+ ...a
59
+ }) {
60
+ return /* @__PURE__ */ e.jsx(
61
+ "div",
62
+ {
63
+ "data-slot": "alert-dialog-header",
64
+ className: l("flex flex-col gap-2 text-center sm:text-left", t),
65
+ ...a
66
+ }
67
+ );
68
+ }
69
+ function x({
70
+ className: t,
71
+ ...a
72
+ }) {
73
+ return /* @__PURE__ */ e.jsx(
74
+ "div",
75
+ {
76
+ "data-slot": "alert-dialog-footer",
77
+ className: l(
78
+ "flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",
79
+ t
80
+ ),
81
+ ...a
82
+ }
83
+ );
84
+ }
85
+ function p({
86
+ className: t,
87
+ ...a
88
+ }) {
89
+ return /* @__PURE__ */ e.jsx(
90
+ o.Title,
91
+ {
92
+ "data-slot": "alert-dialog-title",
93
+ className: l("text-lg font-semibold", t),
94
+ ...a
95
+ }
96
+ );
97
+ }
98
+ function j({
99
+ className: t,
100
+ ...a
101
+ }) {
102
+ return /* @__PURE__ */ e.jsx(
103
+ o.Description,
104
+ {
105
+ "data-slot": "alert-dialog-description",
106
+ className: l("text-muted-foreground text-sm", t),
107
+ ...a
108
+ }
109
+ );
110
+ }
111
+ function A({
112
+ className: t,
113
+ ...a
114
+ }) {
115
+ return /* @__PURE__ */ e.jsx(
116
+ o.Action,
117
+ {
118
+ className: l(r(), t),
119
+ ...a
120
+ }
121
+ );
122
+ }
123
+ function D({
124
+ className: t,
125
+ ...a
126
+ }) {
127
+ return /* @__PURE__ */ e.jsx(
128
+ o.Cancel,
129
+ {
130
+ className: l(r({ variant: "outline" }), t),
131
+ ...a
132
+ }
133
+ );
134
+ }
135
+ export {
136
+ g as AlertDialog,
137
+ A as AlertDialogAction,
138
+ D as AlertDialogCancel,
139
+ m as AlertDialogContent,
140
+ j as AlertDialogDescription,
141
+ x as AlertDialogFooter,
142
+ f as AlertDialogHeader,
143
+ i as AlertDialogOverlay,
144
+ n as AlertDialogPortal,
145
+ p as AlertDialogTitle,
146
+ u as AlertDialogTrigger
147
+ };
@@ -0,0 +1,67 @@
1
+ "use client";
2
+ import { j as e } from "../../_virtual/jsx-runtime.js";
3
+ import { cva as i } from "class-variance-authority";
4
+ import { cn as a } from "../../lib/utils.js";
5
+ const l = i(
6
+ "relative w-full rounded-lg border px-4 py-3 text-sm grid has-[>svg]:grid-cols-[calc(var(--spacing)*4)_1fr] grid-cols-[0_1fr] has-[>svg]:gap-x-3 gap-y-0.5 items-start [&>svg]:size-4 [&>svg]:translate-y-0.5 [&>svg]:text-current",
7
+ {
8
+ variants: {
9
+ variant: {
10
+ default: "bg-card text-card-foreground",
11
+ destructive: "text-destructive bg-card [&>svg]:text-current *:data-[slot=alert-description]:text-destructive/90"
12
+ }
13
+ },
14
+ defaultVariants: {
15
+ variant: "default"
16
+ }
17
+ }
18
+ );
19
+ function c({
20
+ className: t,
21
+ variant: r,
22
+ ...s
23
+ }) {
24
+ return /* @__PURE__ */ e.jsx(
25
+ "div",
26
+ {
27
+ "data-slot": "alert",
28
+ role: "alert",
29
+ className: a(l({ variant: r }), t),
30
+ ...s
31
+ }
32
+ );
33
+ }
34
+ function u({ className: t, ...r }) {
35
+ return /* @__PURE__ */ e.jsx(
36
+ "div",
37
+ {
38
+ "data-slot": "alert-title",
39
+ className: a(
40
+ "col-start-2 line-clamp-1 min-h-4 font-medium tracking-tight",
41
+ t
42
+ ),
43
+ ...r
44
+ }
45
+ );
46
+ }
47
+ function g({
48
+ className: t,
49
+ ...r
50
+ }) {
51
+ return /* @__PURE__ */ e.jsx(
52
+ "div",
53
+ {
54
+ "data-slot": "alert-description",
55
+ className: a(
56
+ "text-muted-foreground col-start-2 grid justify-items-start gap-1 text-sm [&_p]:leading-relaxed",
57
+ t
58
+ ),
59
+ ...r
60
+ }
61
+ );
62
+ }
63
+ export {
64
+ c as Alert,
65
+ g as AlertDescription,
66
+ u as AlertTitle
67
+ };
@@ -0,0 +1,11 @@
1
+ "use client";
2
+ import { j as o } from "../../_virtual/jsx-runtime.js";
3
+ import * as i from "@radix-ui/react-aspect-ratio";
4
+ function s({
5
+ ...t
6
+ }) {
7
+ return /* @__PURE__ */ o.jsx(i.Root, { "data-slot": "aspect-ratio", ...t });
8
+ }
9
+ export {
10
+ s as AspectRatio
11
+ };
@@ -0,0 +1,172 @@
1
+ "use client";
2
+ import { j as e } from "../../_virtual/jsx-runtime.js";
3
+ import * as Y from "react";
4
+ import { useState as o, useEffect as h, useCallback as Z } from "react";
5
+ import { ChevronsUpDown as _, Loader2 as V, Check as ee } from "lucide-react";
6
+ import { useDebounce as se } from "../../hooks/use-debounce.js";
7
+ import { cva as te } from "class-variance-authority";
8
+ import { cn as N } from "../../lib/utils.js";
9
+ import { Button as ne } from "./button.js";
10
+ import { Label as oe } from "./label.js";
11
+ import { Command as ae, CommandInput as re, CommandList as ie, CommandEmpty as le, CommandGroup as P, CommandItem as F } from "./command.js";
12
+ import { Popover as ce, PopoverTrigger as me, PopoverContent as de } from "./popover.js";
13
+ const fe = te(
14
+ "justify-between",
15
+ {
16
+ variants: {
17
+ size: {
18
+ default: "h-9 text-sm",
19
+ sm: "h-8 text-xs",
20
+ lg: "h-10 text-lg font-normal"
21
+ }
22
+ },
23
+ defaultVariants: {
24
+ size: "default"
25
+ }
26
+ }
27
+ );
28
+ function Se({
29
+ fetcher: i,
30
+ preload: c,
31
+ filterFn: x,
32
+ renderOption: R,
33
+ getOptionValue: r,
34
+ getDisplayValue: $,
35
+ notFound: A,
36
+ loadingSkeleton: B,
37
+ label: l,
38
+ labelClassName: G,
39
+ placeholder: M = "Select...",
40
+ value: a,
41
+ onChange: v,
42
+ disabled: w = !1,
43
+ width: C = "200px",
44
+ className: U,
45
+ triggerClassName: q,
46
+ noResultsMessage: H,
47
+ clearable: S = !0,
48
+ size: J
49
+ }) {
50
+ const [m, K] = o(!1), [b, L] = o(!1), [n, d] = o([]), [j, f] = o(!1), [g, u] = o(null), [y, E] = o(a), [z, O] = o(null), [T, Q] = o(""), p = se(T, c ? 0 : 300), [k, D] = o([]);
51
+ h(() => {
52
+ K(!0), E(a);
53
+ }, [a]), h(() => {
54
+ if (a && n.length > 0) {
55
+ const t = n.find((s) => r(s) === a);
56
+ t && O(t);
57
+ }
58
+ }, [a, n, r]), h(() => {
59
+ m || (async () => {
60
+ try {
61
+ f(!0), u(null);
62
+ const s = await i(a);
63
+ D(s), d(s);
64
+ } catch (s) {
65
+ u(s instanceof Error ? s.message : "Failed to fetch options");
66
+ } finally {
67
+ f(!1);
68
+ }
69
+ })();
70
+ }, [m, i, a]), h(() => {
71
+ const t = async () => {
72
+ try {
73
+ f(!0), u(null);
74
+ const s = await i(p);
75
+ D(s), d(s);
76
+ } catch (s) {
77
+ u(s instanceof Error ? s.message : "Failed to fetch options");
78
+ } finally {
79
+ f(!1);
80
+ }
81
+ };
82
+ m && c ? c && d(p ? k.filter((s) => x ? x(s, p) : !0) : k) : t();
83
+ }, [i, p, m, c, x]);
84
+ const W = Z((t) => {
85
+ const s = S && t === y ? "" : t;
86
+ E(s), O(n.find((X) => r(X) === s) || null), v(s), L(!1);
87
+ }, [y, v, S, n, r]), I = Y.useId();
88
+ return /* @__PURE__ */ e.jsxs("div", { className: "space-y-1.5", children: [
89
+ l && /* @__PURE__ */ e.jsx(
90
+ oe,
91
+ {
92
+ htmlFor: I,
93
+ className: G,
94
+ children: l
95
+ }
96
+ ),
97
+ /* @__PURE__ */ e.jsxs(ce, { open: b, onOpenChange: L, children: [
98
+ /* @__PURE__ */ e.jsx(me, { asChild: !0, children: /* @__PURE__ */ e.jsxs(
99
+ ne,
100
+ {
101
+ id: I,
102
+ variant: "outline",
103
+ role: "combobox",
104
+ "aria-expanded": b,
105
+ className: N(
106
+ fe({ size: J }),
107
+ w && "opacity-50 cursor-not-allowed",
108
+ q
109
+ ),
110
+ style: { width: C },
111
+ disabled: w,
112
+ children: [
113
+ z ? $(z) : /* @__PURE__ */ e.jsx("span", { className: "text-muted-foreground hover:text-foreground", children: M }),
114
+ /* @__PURE__ */ e.jsx(_, { className: "opacity-50", size: 10 })
115
+ ]
116
+ }
117
+ ) }),
118
+ /* @__PURE__ */ e.jsx(de, { style: { width: C }, className: N("p-0", U), children: /* @__PURE__ */ e.jsxs(ae, { shouldFilter: !1, children: [
119
+ /* @__PURE__ */ e.jsxs("div", { className: "relative border-b w-full", children: [
120
+ /* @__PURE__ */ e.jsx(
121
+ re,
122
+ {
123
+ placeholder: `Search ${typeof l == "string" ? l.toLowerCase() : "options"}...`,
124
+ value: T,
125
+ onValueChange: (t) => {
126
+ Q(t);
127
+ }
128
+ }
129
+ ),
130
+ j && n.length > 0 && /* @__PURE__ */ e.jsx("div", { className: "absolute right-2 top-1/2 transform -translate-y-1/2 flex items-center", children: /* @__PURE__ */ e.jsx(V, { className: "h-4 w-4 animate-spin" }) })
131
+ ] }),
132
+ /* @__PURE__ */ e.jsxs(ie, { children: [
133
+ g && /* @__PURE__ */ e.jsx("div", { className: "p-4 text-destructive text-center", children: g }),
134
+ j && n.length === 0 && (B || /* @__PURE__ */ e.jsx(ue, {})),
135
+ !j && !g && n.length === 0 && (A || /* @__PURE__ */ e.jsx(le, { children: H ?? `No ${typeof l == "string" ? l.toLowerCase() : "options"} found.` })),
136
+ /* @__PURE__ */ e.jsx(P, { children: n.map((t) => /* @__PURE__ */ e.jsxs(
137
+ F,
138
+ {
139
+ value: r(t),
140
+ onSelect: W,
141
+ children: [
142
+ R(t),
143
+ /* @__PURE__ */ e.jsx(
144
+ ee,
145
+ {
146
+ className: N(
147
+ "ml-auto h-3 w-3",
148
+ y === r(t) ? "opacity-100" : "opacity-0"
149
+ )
150
+ }
151
+ )
152
+ ]
153
+ },
154
+ r(t)
155
+ )) })
156
+ ] })
157
+ ] }) })
158
+ ] })
159
+ ] });
160
+ }
161
+ function ue() {
162
+ return /* @__PURE__ */ e.jsx(P, { children: [1, 2, 3].map((i) => /* @__PURE__ */ e.jsx(F, { disabled: !0, children: /* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-2 w-full", children: [
163
+ /* @__PURE__ */ e.jsx("div", { className: "h-6 w-6 rounded-full animate-pulse bg-muted" }),
164
+ /* @__PURE__ */ e.jsxs("div", { className: "flex flex-col flex-1 gap-1", children: [
165
+ /* @__PURE__ */ e.jsx("div", { className: "h-4 w-24 animate-pulse bg-muted rounded" }),
166
+ /* @__PURE__ */ e.jsx("div", { className: "h-3 w-16 animate-pulse bg-muted rounded" })
167
+ ] })
168
+ ] }) }, i)) });
169
+ }
170
+ export {
171
+ Se as AsyncSelect
172
+ };
@@ -0,0 +1,94 @@
1
+ "use client";
2
+ import { j as g } from "../../_virtual/jsx-runtime.js";
3
+ import { useRef as i, useEffect as w } from "react";
4
+ const c = {
5
+ FFT_SIZE: 512,
6
+ SMOOTHING: 0.8,
7
+ MIN_BAR_HEIGHT: 2,
8
+ MIN_BAR_WIDTH: 2,
9
+ BAR_SPACING: 1,
10
+ COLOR: {
11
+ MIN_INTENSITY: 100,
12
+ // Minimum gray value (darker)
13
+ MAX_INTENSITY: 255,
14
+ // Maximum gray value (brighter)
15
+ INTENSITY_RANGE: 155
16
+ // MAX_INTENSITY - MIN_INTENSITY
17
+ }
18
+ };
19
+ function F({
20
+ stream: u,
21
+ isRecording: l,
22
+ onClick: E
23
+ }) {
24
+ const s = i(null), f = i(null), d = i(null), I = i(null), h = i(null), R = () => {
25
+ I.current && cancelAnimationFrame(I.current), f.current && f.current.close();
26
+ };
27
+ w(() => R, []), w(() => {
28
+ u && l ? S() : R();
29
+ }, [u, l]), w(() => {
30
+ const e = () => {
31
+ if (typeof window > "u" || !s.current || !h.current) return;
32
+ const t = h.current, n = s.current, o = window.devicePixelRatio || 1, r = t.getBoundingClientRect();
33
+ n.width = (r.width - 2) * o, n.height = (r.height - 2) * o, n.style.width = `${r.width - 2}px`, n.style.height = `${r.height - 2}px`;
34
+ };
35
+ if (typeof window < "u")
36
+ return window.addEventListener("resize", e), e(), () => window.removeEventListener("resize", e);
37
+ }, []);
38
+ const S = async () => {
39
+ try {
40
+ const e = new AudioContext();
41
+ f.current = e;
42
+ const t = e.createAnalyser();
43
+ t.fftSize = c.FFT_SIZE, t.smoothingTimeConstant = c.SMOOTHING, d.current = t, e.createMediaStreamSource(u).connect(t), p();
44
+ } catch (e) {
45
+ console.error("Error starting visualization:", e);
46
+ }
47
+ }, C = (e) => {
48
+ const t = Math.floor(e * c.COLOR.INTENSITY_RANGE) + c.COLOR.MIN_INTENSITY;
49
+ return `rgb(${t}, ${t}, ${t})`;
50
+ }, x = (e, t, n, o, r, a) => {
51
+ e.fillStyle = a, e.fillRect(t, n - r, o, r), e.fillRect(t, n, o, r);
52
+ }, p = () => {
53
+ if (!l) return;
54
+ const e = s.current, t = e == null ? void 0 : e.getContext("2d");
55
+ if (!e || !t || !d.current) return;
56
+ const n = window.devicePixelRatio || 1;
57
+ t.scale(n, n);
58
+ const o = d.current, r = o.frequencyBinCount, a = new Uint8Array(r), A = () => {
59
+ I.current = requestAnimationFrame(A), o.getByteFrequencyData(a), t.clearRect(0, 0, e.width / n, e.height / n);
60
+ const m = Math.max(
61
+ c.MIN_BAR_WIDTH,
62
+ e.width / n / r - c.BAR_SPACING
63
+ ), T = e.height / n / 2;
64
+ let _ = 0;
65
+ for (let N = 0; N < r; N++) {
66
+ const y = a[N] / 255, M = Math.max(
67
+ c.MIN_BAR_HEIGHT,
68
+ y * T
69
+ );
70
+ x(
71
+ t,
72
+ _,
73
+ T,
74
+ m,
75
+ M,
76
+ C(y)
77
+ ), _ += m + c.BAR_SPACING;
78
+ }
79
+ };
80
+ A();
81
+ };
82
+ return /* @__PURE__ */ g.jsx(
83
+ "div",
84
+ {
85
+ ref: h,
86
+ className: "h-full w-full cursor-pointer rounded-lg bg-background/80 backdrop-blur",
87
+ onClick: E,
88
+ children: /* @__PURE__ */ g.jsx("canvas", { ref: s, className: "h-full w-full" })
89
+ }
90
+ );
91
+ }
92
+ export {
93
+ F as AudioVisualizer
94
+ };
@@ -0,0 +1,54 @@
1
+ "use client";
2
+ import { j as e } from "../../_virtual/jsx-runtime.js";
3
+ import * as r from "@radix-ui/react-avatar";
4
+ import { cn as l } from "../../lib/utils.js";
5
+ function o({
6
+ className: a,
7
+ ...t
8
+ }) {
9
+ return /* @__PURE__ */ e.jsx(
10
+ r.Root,
11
+ {
12
+ "data-slot": "avatar",
13
+ className: l(
14
+ "relative flex size-8 shrink-0 overflow-hidden rounded-full",
15
+ a
16
+ ),
17
+ ...t
18
+ }
19
+ );
20
+ }
21
+ function n({
22
+ className: a,
23
+ ...t
24
+ }) {
25
+ return /* @__PURE__ */ e.jsx(
26
+ r.Image,
27
+ {
28
+ "data-slot": "avatar-image",
29
+ className: l("aspect-square size-full", a),
30
+ ...t
31
+ }
32
+ );
33
+ }
34
+ function u({
35
+ className: a,
36
+ ...t
37
+ }) {
38
+ return /* @__PURE__ */ e.jsx(
39
+ r.Fallback,
40
+ {
41
+ "data-slot": "avatar-fallback",
42
+ className: l(
43
+ "bg-muted flex size-full items-center justify-center rounded-full",
44
+ a
45
+ ),
46
+ ...t
47
+ }
48
+ );
49
+ }
50
+ export {
51
+ o as Avatar,
52
+ u as AvatarFallback,
53
+ n as AvatarImage
54
+ };
@@ -0,0 +1,41 @@
1
+ "use client";
2
+ import { j as n } from "../../_virtual/jsx-runtime.js";
3
+ import { Slot as o } from "@radix-ui/react-slot";
4
+ import { cva as s } from "class-variance-authority";
5
+ import { cn as d } from "../../lib/utils.js";
6
+ const c = s(
7
+ "inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",
8
+ {
9
+ variants: {
10
+ variant: {
11
+ default: "border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",
12
+ secondary: "border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",
13
+ destructive: "border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",
14
+ outline: "text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"
15
+ }
16
+ },
17
+ defaultVariants: {
18
+ variant: "default"
19
+ }
20
+ }
21
+ );
22
+ function b({
23
+ className: r,
24
+ variant: e,
25
+ asChild: t = !1,
26
+ ...i
27
+ }) {
28
+ const a = t ? o : "span";
29
+ return /* @__PURE__ */ n.jsx(
30
+ a,
31
+ {
32
+ "data-slot": "badge",
33
+ className: d(c({ variant: e }), r),
34
+ ...i
35
+ }
36
+ );
37
+ }
38
+ export {
39
+ b as Badge,
40
+ c as badgeVariants
41
+ };