cortex-react-components 2.12.2 → 2.12.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 (669) hide show
  1. package/dist/{chunk-OU7KVCBI.mjs → chunk-22LHS2J6.mjs} +1 -1
  2. package/dist/{chunk-DFWWQRJ2.mjs → chunk-255P6K5W.mjs} +1 -1
  3. package/dist/{chunk-QXA6C5VE.mjs → chunk-2BR55L74.mjs} +1 -1
  4. package/dist/{chunk-6PQ67CC6.mjs → chunk-2LINLX4S.mjs} +1 -1
  5. package/dist/{chunk-JULD2KZR.mjs → chunk-2QZUKVBA.mjs} +1 -1
  6. package/dist/{chunk-5N2D3BGH.mjs → chunk-2RGAV55J.mjs} +1 -1
  7. package/dist/{chunk-FT6JQ4AC.mjs → chunk-2RQDJ5XT.mjs} +1 -1
  8. package/dist/chunk-3QZKRKMP.mjs +1 -0
  9. package/dist/{chunk-AG6IN5S7.mjs → chunk-3UMMMQEH.mjs} +1 -1
  10. package/dist/{chunk-HTQIVWYI.mjs → chunk-444KBVNL.mjs} +1 -1
  11. package/dist/chunk-4A3MGS6I.mjs +1 -0
  12. package/dist/{chunk-2C3C5SQQ.mjs → chunk-4CU7D3X2.mjs} +1 -1
  13. package/dist/{chunk-ZJBZTPLD.mjs → chunk-4QRKVSTE.mjs} +1 -1
  14. package/dist/{chunk-T3NMKARZ.mjs → chunk-4UIARERB.mjs} +1 -1
  15. package/dist/{chunk-D42KIYIO.mjs → chunk-4WA47ZQA.mjs} +1 -1
  16. package/dist/{chunk-PXAKUW3U.mjs → chunk-56X4PU43.mjs} +1 -1
  17. package/dist/{chunk-ZNV6MCYI.mjs → chunk-5AWZJAK3.mjs} +1 -1
  18. package/dist/{chunk-Z756RYIZ.mjs → chunk-5BT4EWU5.mjs} +1 -1
  19. package/dist/{chunk-WWTVAR4J.mjs → chunk-5BV4MHV6.mjs} +1 -1
  20. package/dist/{chunk-PMOMDGBA.mjs → chunk-5NRGSTPV.mjs} +1 -1
  21. package/dist/{chunk-EPDV35LO.mjs → chunk-5RTGHMF3.mjs} +1 -1
  22. package/dist/{chunk-VFPS3FYN.mjs → chunk-5SHZBJ5R.mjs} +1 -1
  23. package/dist/{chunk-H45UTXIK.mjs → chunk-5WV5ZFEP.mjs} +1 -1
  24. package/dist/{chunk-BUTUPCGN.mjs → chunk-5WVFEIMC.mjs} +1 -1
  25. package/dist/{chunk-EYQ4UGAJ.mjs → chunk-67QPOSVV.mjs} +1 -1
  26. package/dist/{chunk-OGN7YDFB.mjs → chunk-6C4WESLL.mjs} +1 -1
  27. package/dist/{chunk-GFLX67DN.mjs → chunk-6DEY5ZDD.mjs} +1 -1
  28. package/dist/{chunk-QEFMYXHA.mjs → chunk-6HLXIE4P.mjs} +1 -1
  29. package/dist/{chunk-TUTSJOO4.mjs → chunk-6SWKEZN6.mjs} +1 -1
  30. package/dist/{chunk-QAIS2C6W.mjs → chunk-6WQXZ6IE.mjs} +1 -1
  31. package/dist/{chunk-TYMRNSJ3.mjs → chunk-6XUIHSKG.mjs} +1 -1
  32. package/dist/{chunk-LQDJWEHX.mjs → chunk-76M7JE4D.mjs} +1 -1
  33. package/dist/{chunk-F5JHHMZQ.mjs → chunk-7BXIU4ZM.mjs} +1 -1
  34. package/dist/{chunk-QB63WPDB.mjs → chunk-7GMAMIHM.mjs} +1 -1
  35. package/dist/{chunk-HH4JDBUN.mjs → chunk-7GSXNSLD.mjs} +1 -1
  36. package/dist/{chunk-52UFJIL4.mjs → chunk-7VDNUJZC.mjs} +1 -1
  37. package/dist/{chunk-ESTO675Y.mjs → chunk-7WIO2CIC.mjs} +1 -1
  38. package/dist/{chunk-CXK2IY4V.mjs → chunk-AB43AQKL.mjs} +1 -1
  39. package/dist/{chunk-GZQ7JEUL.mjs → chunk-AMV3MECK.mjs} +1 -1
  40. package/dist/{chunk-TFPWTJ2V.mjs → chunk-AMVJPDM3.mjs} +1 -1
  41. package/dist/{chunk-YVNVQONM.mjs → chunk-AREQGH47.mjs} +1 -1
  42. package/dist/{chunk-SIFQNSEM.mjs → chunk-AZ4VR5JX.mjs} +1 -1
  43. package/dist/{chunk-GIGKJZGA.mjs → chunk-AZKOVKSK.mjs} +1 -1
  44. package/dist/{chunk-DA5SDQDL.mjs → chunk-B2EJGXDG.mjs} +1 -1
  45. package/dist/{chunk-JKPUXPHP.mjs → chunk-B3F6F2S4.mjs} +1 -1
  46. package/dist/{chunk-VXZPPTQQ.mjs → chunk-B4H6T2GP.mjs} +1 -1
  47. package/dist/{chunk-XXFUUOSB.mjs → chunk-BG7QXNV5.mjs} +1 -1
  48. package/dist/{chunk-U5UV7T63.mjs → chunk-BMA4266L.mjs} +1 -1
  49. package/dist/{chunk-UJ6M7EV5.mjs → chunk-CGDLOY7W.mjs} +1 -1
  50. package/dist/{chunk-3JEM6RIR.mjs → chunk-CO6AQNZ5.mjs} +1 -1
  51. package/dist/{chunk-2JKLBLDE.mjs → chunk-CSBGSBEU.mjs} +1 -1
  52. package/dist/{chunk-TAVSBP7M.mjs → chunk-CTAIR3TE.mjs} +1 -1
  53. package/dist/{chunk-QUDKEIE6.mjs → chunk-D3B2YO7G.mjs} +1 -1
  54. package/dist/{chunk-BEPKJ67R.mjs → chunk-D4IMQTVU.mjs} +1 -1
  55. package/dist/{chunk-NMAMUYGQ.mjs → chunk-DBY4SXQI.mjs} +1 -1
  56. package/dist/{chunk-N5GHL7UZ.mjs → chunk-DFIXTV2M.mjs} +1 -1
  57. package/dist/{chunk-X5RHYJW3.mjs → chunk-DKT6U7AO.mjs} +1 -1
  58. package/dist/{chunk-AQIMDHFI.mjs → chunk-DSSHQ6K7.mjs} +1 -1
  59. package/dist/{chunk-7EEEXU54.mjs → chunk-E4TE4NV6.mjs} +1 -1
  60. package/dist/{chunk-6PBOA7BL.mjs → chunk-EAFH3DTH.mjs} +1 -1
  61. package/dist/{chunk-WNBJ7C5Y.mjs → chunk-EHSOO47V.mjs} +1 -1
  62. package/dist/{chunk-3KBY7FKD.mjs → chunk-EOXVYLPB.mjs} +1 -1
  63. package/dist/{chunk-YHTFEWSZ.mjs → chunk-ERJXTG6X.mjs} +1 -1
  64. package/dist/{chunk-44JXFP6W.mjs → chunk-F5N6KQA2.mjs} +1 -1
  65. package/dist/{chunk-F6KHZ4OS.mjs → chunk-FEI5NFYO.mjs} +1 -1
  66. package/dist/{chunk-6CAO4IKW.mjs → chunk-FGEFYI5E.mjs} +1 -1
  67. package/dist/{chunk-A4XWPIEI.mjs → chunk-FHMQVAKQ.mjs} +1 -1
  68. package/dist/{chunk-4OAROJ4M.mjs → chunk-FKU4VQR6.mjs} +1 -1
  69. package/dist/{chunk-VRZHKAJK.mjs → chunk-FMH5CZ7X.mjs} +1 -1
  70. package/dist/{chunk-TNCD5YIY.mjs → chunk-FMJBJ3HN.mjs} +1 -1
  71. package/dist/{chunk-JVJG2LOA.mjs → chunk-FT3AE7L2.mjs} +1 -1
  72. package/dist/{chunk-OKAETRO6.mjs → chunk-FTZRG54P.mjs} +1 -1
  73. package/dist/{chunk-C4SUCDRQ.mjs → chunk-GSOFCLPO.mjs} +1 -1
  74. package/dist/{chunk-VB7K44IF.mjs → chunk-H3CJOE6S.mjs} +1 -1
  75. package/dist/{chunk-BXVJNWFA.mjs → chunk-HKGW6JI2.mjs} +1 -1
  76. package/dist/{chunk-A5TPL5CB.mjs → chunk-I2GNNRFH.mjs} +1 -1
  77. package/dist/{chunk-OHDNPAPI.mjs → chunk-I3E2TYYZ.mjs} +1 -1
  78. package/dist/{chunk-2LLMXGTP.mjs → chunk-IC2ABKAM.mjs} +1 -1
  79. package/dist/{chunk-5AYDHF5U.mjs → chunk-IF3425JX.mjs} +1 -1
  80. package/dist/{chunk-QIDPNZOL.mjs → chunk-IJQC7T2R.mjs} +1 -1
  81. package/dist/{chunk-E6IIUYQ7.mjs → chunk-IK3GOCAU.mjs} +1 -1
  82. package/dist/{chunk-NQPBIFGO.mjs → chunk-INCYANPB.mjs} +1 -1
  83. package/dist/{chunk-XXWSCTF5.mjs → chunk-INPV5MBU.mjs} +1 -1
  84. package/dist/{chunk-N5BLWWDM.mjs → chunk-IQQ7ZWCP.mjs} +1 -1
  85. package/dist/{chunk-NGC3C4FW.mjs → chunk-ISBVFNWD.mjs} +1 -1
  86. package/dist/{chunk-EBO2R46A.mjs → chunk-J4IHIM6A.mjs} +1 -1
  87. package/dist/{chunk-7QBPKUWN.mjs → chunk-JFFTEK6Z.mjs} +1 -1
  88. package/dist/{chunk-E6W2YMC3.mjs → chunk-JHNVX4UB.mjs} +1 -1
  89. package/dist/{chunk-4OK6PUOO.mjs → chunk-JYL3XIJX.mjs} +1 -1
  90. package/dist/{chunk-UXCCCQCB.mjs → chunk-KFCSVEI6.mjs} +1 -1
  91. package/dist/{chunk-GNIVCF53.mjs → chunk-KGEIN56Y.mjs} +1 -1
  92. package/dist/{chunk-HTCM27MI.mjs → chunk-KVD6XDZT.mjs} +1 -1
  93. package/dist/{chunk-GYTXBVCX.mjs → chunk-KX2NCNCS.mjs} +1 -1
  94. package/dist/{chunk-BIAOADJS.mjs → chunk-KY7WQYN4.mjs} +1 -1
  95. package/dist/{chunk-7RKPUKFH.mjs → chunk-L3BLBPSR.mjs} +1 -1
  96. package/dist/{chunk-GJUA2KUH.mjs → chunk-L5JPAKPM.mjs} +1 -1
  97. package/dist/{chunk-WJZDHRGO.mjs → chunk-LAQ3QAUW.mjs} +1 -1
  98. package/dist/{chunk-5WDNNO37.mjs → chunk-LBUC4M6L.mjs} +1 -1
  99. package/dist/{chunk-HPZPRZWG.mjs → chunk-LEC6GEWS.mjs} +1 -1
  100. package/dist/{chunk-6UVEJCVM.mjs → chunk-LJQPLE4S.mjs} +1 -1
  101. package/dist/{chunk-67RPQW7V.mjs → chunk-LKGCU7H6.mjs} +1 -1
  102. package/dist/{chunk-6WVIXUXX.mjs → chunk-LLED3RQS.mjs} +1 -1
  103. package/dist/chunk-LSRLBDA7.mjs +1 -0
  104. package/dist/{chunk-LARQXED4.mjs → chunk-LVFMFRBR.mjs} +1 -1
  105. package/dist/{chunk-S7N4CSMJ.mjs → chunk-LVK4QE5D.mjs} +1 -1
  106. package/dist/{chunk-EESKUTPD.mjs → chunk-LXZAOORS.mjs} +1 -1
  107. package/dist/{chunk-CXXPSCV3.mjs → chunk-M7NV6EFH.mjs} +1 -1
  108. package/dist/{chunk-FDJHY37W.mjs → chunk-MAAKU7PN.mjs} +1 -1
  109. package/dist/chunk-MDJREBVI.mjs +1 -0
  110. package/dist/chunk-MDPXCQ7P.mjs +4 -0
  111. package/dist/{chunk-NM6U4PLY.mjs → chunk-MEMUW7BY.mjs} +1 -1
  112. package/dist/{chunk-EYRTGZWR.mjs → chunk-MFCVMJBO.mjs} +1 -1
  113. package/dist/{chunk-Q6FPZ6J3.mjs → chunk-MGYV46AJ.mjs} +1 -1
  114. package/dist/chunk-MTNQADIW.mjs +1 -0
  115. package/dist/{chunk-3GLK3JM6.mjs → chunk-MU5WPW4N.mjs} +1 -1
  116. package/dist/chunk-MW25VRWC.mjs +1 -0
  117. package/dist/{chunk-6GDVIZS5.mjs → chunk-MXCW6SOT.mjs} +1 -1
  118. package/dist/{chunk-BOG3XLGP.mjs → chunk-MZP7RIQZ.mjs} +1 -1
  119. package/dist/{chunk-TR52MKZR.mjs → chunk-N3B3XNV3.mjs} +1 -1
  120. package/dist/chunk-NPVUICIF.mjs +1 -0
  121. package/dist/{chunk-NN2RHTGW.mjs → chunk-NSMXJCXE.mjs} +1 -1
  122. package/dist/{chunk-2WLZ5T2D.mjs → chunk-NUHGPB5U.mjs} +1 -1
  123. package/dist/chunk-O5P35LEY.mjs +4 -0
  124. package/dist/{chunk-DGJHJHFF.mjs → chunk-OCPX4QPC.mjs} +1 -1
  125. package/dist/{chunk-RU435LAU.mjs → chunk-OM5ZUHCN.mjs} +1 -1
  126. package/dist/{chunk-YUW3HHAK.mjs → chunk-OPLUKFRN.mjs} +1 -1
  127. package/dist/{chunk-KUVPOOSW.mjs → chunk-ORNGKQM7.mjs} +1 -1
  128. package/dist/{chunk-FPWCCVDI.mjs → chunk-OYZDAMCS.mjs} +1 -1
  129. package/dist/{chunk-PUAHE5VJ.mjs → chunk-PDY7JYY3.mjs} +1 -1
  130. package/dist/{chunk-3ZXW3WQU.mjs → chunk-PK3OBSCB.mjs} +1 -1
  131. package/dist/{chunk-E2MPOOEL.mjs → chunk-PWXCBW2H.mjs} +1 -1
  132. package/dist/{chunk-E3NWG6B4.mjs → chunk-Q2JJZ5FY.mjs} +1 -1
  133. package/dist/{chunk-IG6J62QA.mjs → chunk-Q5NHYYRS.mjs} +1 -1
  134. package/dist/{chunk-3HD7RAT7.mjs → chunk-Q5Q3DJWU.mjs} +1 -1
  135. package/dist/{chunk-532HP37G.mjs → chunk-Q5XT55O3.mjs} +1 -1
  136. package/dist/{chunk-RD7LJPUV.mjs → chunk-Q67RF7VO.mjs} +1 -1
  137. package/dist/{chunk-K5GFFN67.mjs → chunk-Q6PKGY27.mjs} +1 -1
  138. package/dist/{chunk-QXNCGSQE.mjs → chunk-Q6VAKKW3.mjs} +1 -1
  139. package/dist/{chunk-HLWGNTZD.mjs → chunk-QBUU2AQL.mjs} +1 -1
  140. package/dist/{chunk-JTFMN7OL.mjs → chunk-QQVPLMPJ.mjs} +1 -1
  141. package/dist/{chunk-E7SIU5SS.mjs → chunk-RHR3YOLG.mjs} +1 -1
  142. package/dist/{chunk-P5U27QUJ.mjs → chunk-RLVKIMGU.mjs} +1 -1
  143. package/dist/{chunk-EUXJZBRI.mjs → chunk-RR4QSUV2.mjs} +1 -1
  144. package/dist/{chunk-WKLJU63E.mjs → chunk-RULSHTXR.mjs} +1 -1
  145. package/dist/{chunk-QMTI6672.mjs → chunk-RVHCTANZ.mjs} +1 -1
  146. package/dist/{chunk-RHYQ4V7N.mjs → chunk-SOIRB5TV.mjs} +1 -1
  147. package/dist/{chunk-RFNYVF6F.mjs → chunk-SOLZ4VQH.mjs} +1 -1
  148. package/dist/{chunk-FJUAYJF4.mjs → chunk-SRUG246N.mjs} +1 -1
  149. package/dist/{chunk-55OESIAK.mjs → chunk-TEB67NCD.mjs} +1 -1
  150. package/dist/{chunk-WH24BWZV.mjs → chunk-TJVEQJW3.mjs} +1 -1
  151. package/dist/{chunk-OF63XSJ4.mjs → chunk-TR6RBROH.mjs} +1 -1
  152. package/dist/{chunk-RPUSKO6J.mjs → chunk-TUI4S4GI.mjs} +1 -1
  153. package/dist/{chunk-RAAY7PEH.mjs → chunk-TVZOULLL.mjs} +1 -1
  154. package/dist/{chunk-HK52LPE3.mjs → chunk-TZKQXT7Y.mjs} +1 -1
  155. package/dist/{chunk-HYIRE7BK.mjs → chunk-U5PBLRRV.mjs} +1 -1
  156. package/dist/{chunk-5T4OPJ7F.mjs → chunk-U67OTPTT.mjs} +1 -1
  157. package/dist/{chunk-AARMIMMZ.mjs → chunk-UWEU6TLS.mjs} +1 -1
  158. package/dist/{chunk-5YJFMMVM.mjs → chunk-V6GC3UGV.mjs} +1 -1
  159. package/dist/{chunk-E43QS242.mjs → chunk-VGWDYD6Z.mjs} +1 -1
  160. package/dist/{chunk-6TLGI4P6.mjs → chunk-VMAPGGGW.mjs} +1 -1
  161. package/dist/{chunk-FSV7RCTY.mjs → chunk-VWLPVN4M.mjs} +1 -1
  162. package/dist/{chunk-UY4BSKPK.mjs → chunk-WISC5QJV.mjs} +1 -1
  163. package/dist/{chunk-EGERAM4Q.mjs → chunk-X3JZSN3W.mjs} +1 -1
  164. package/dist/{chunk-T3BIRW2W.mjs → chunk-XBCYPOFD.mjs} +1 -1
  165. package/dist/{chunk-TZTQENNX.mjs → chunk-XGIYNUGC.mjs} +1 -1
  166. package/dist/chunk-XGRRLABA.mjs +8 -0
  167. package/dist/{chunk-WLM2ZFHF.mjs → chunk-YFAZQYK4.mjs} +1 -1
  168. package/dist/{chunk-GCIWMQMK.mjs → chunk-YKG4FNS4.mjs} +1 -1
  169. package/dist/{chunk-7WKUKFCT.mjs → chunk-YO3GQYRJ.mjs} +1 -1
  170. package/dist/{chunk-AWMXVMUW.mjs → chunk-YOETYY5S.mjs} +1 -1
  171. package/dist/{chunk-EFIJNPMM.mjs → chunk-YRMNCHFO.mjs} +1 -1
  172. package/dist/{chunk-BM2ZNFM6.mjs → chunk-Z22NSJMF.mjs} +1 -1
  173. package/dist/chunk-Z422YAPB.mjs +1 -0
  174. package/dist/{chunk-FHPZSG7W.mjs → chunk-ZGQC6O62.mjs} +1 -1
  175. package/dist/{chunk-LCIKBYDR.mjs → chunk-ZMB6R6JX.mjs} +1 -1
  176. package/dist/{chunk-A7S4L4P2.mjs → chunk-ZSIYEVUV.mjs} +1 -1
  177. package/dist/{chunk-7Z3TOFNL.mjs → chunk-ZUA4KNIR.mjs} +1 -1
  178. package/dist/chunk-ZWHGOTSF.mjs +1 -0
  179. package/dist/{chunk-UBCJPXKD.mjs → chunk-ZXPDSSCF.mjs} +1 -1
  180. package/dist/components/AdvancedComponents/AppSidebar.js +1 -1
  181. package/dist/components/AdvancedComponents/AppSidebar.mjs +1 -1
  182. package/dist/components/AdvancedComponents/CommentSection.js +1 -1
  183. package/dist/components/AdvancedComponents/CommentSection.mjs +1 -1
  184. package/dist/components/AdvancedComponents/EditableField.js +1 -1
  185. package/dist/components/AdvancedComponents/EditableField.mjs +1 -1
  186. package/dist/components/AdvancedComponents/app-header.js +1 -1
  187. package/dist/components/AdvancedComponents/app-header.mjs +1 -1
  188. package/dist/components/AdvancedComponents/index.js +1 -1
  189. package/dist/components/AdvancedComponents/index.mjs +1 -1
  190. package/dist/components/AdvancedComponents/navigation-tabs.js +1 -1
  191. package/dist/components/AdvancedComponents/navigation-tabs.mjs +1 -1
  192. package/dist/components/AdvancedComponents/notifications-panel.js +1 -1
  193. package/dist/components/AdvancedComponents/notifications-panel.mjs +1 -1
  194. package/dist/components/AdvancedComponents/switch.js +1 -1
  195. package/dist/components/AdvancedComponents/switch.mjs +1 -1
  196. package/dist/components/AdvancedComponents/theme-toggle.js +1 -1
  197. package/dist/components/AdvancedComponents/theme-toggle.mjs +1 -1
  198. package/dist/components/AdvancedComponents/user-selection.js +1 -1
  199. package/dist/components/AdvancedComponents/user-selection.mjs +1 -1
  200. package/dist/components/Blocks/Banner.js +1 -1
  201. package/dist/components/Blocks/Banner.mjs +1 -1
  202. package/dist/components/Blocks/CallToAction.js +1 -1
  203. package/dist/components/Blocks/CallToAction.mjs +1 -1
  204. package/dist/components/Blocks/CaseStudy.js +1 -1
  205. package/dist/components/Blocks/CaseStudy.mjs +1 -1
  206. package/dist/components/Blocks/Code.client.js +1 -1
  207. package/dist/components/Blocks/Code.client.mjs +1 -1
  208. package/dist/components/Blocks/Code.js +1 -1
  209. package/dist/components/Blocks/Code.mjs +1 -1
  210. package/dist/components/Blocks/CollapsibleArea.js +1 -1
  211. package/dist/components/Blocks/CollapsibleArea.mjs +1 -1
  212. package/dist/components/Blocks/ConsultantProfile.js +1 -1
  213. package/dist/components/Blocks/ConsultantProfile.mjs +1 -1
  214. package/dist/components/Blocks/Content.js +1 -1
  215. package/dist/components/Blocks/Content.mjs +1 -1
  216. package/dist/components/Blocks/CopyButton.js +1 -1
  217. package/dist/components/Blocks/CopyButton.mjs +1 -1
  218. package/dist/components/Blocks/FeaturesBlock.js +1 -1
  219. package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
  220. package/dist/components/Blocks/ImageBlock.js +1 -1
  221. package/dist/components/Blocks/ImageBlock.mjs +1 -1
  222. package/dist/components/Blocks/MediaBlock.js +1 -1
  223. package/dist/components/Blocks/MediaBlock.mjs +1 -1
  224. package/dist/components/Blocks/ProposalSummary.js +1 -1
  225. package/dist/components/Blocks/ProposalSummary.mjs +1 -1
  226. package/dist/components/Blocks/RelatedPosts.js +1 -1
  227. package/dist/components/Blocks/RelatedPosts.mjs +1 -1
  228. package/dist/components/Blocks/RenderBlocks.js +1 -1
  229. package/dist/components/Blocks/RenderBlocks.mjs +1 -1
  230. package/dist/components/Blocks/ReusableContentBlock.js +1 -1
  231. package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
  232. package/dist/components/Blocks/index.js +1 -1
  233. package/dist/components/Blocks/index.mjs +1 -1
  234. package/dist/components/CRM/CogeBoard.js +1 -1
  235. package/dist/components/CRM/CogeBoard.mjs +1 -1
  236. package/dist/components/CRM/DealCard.js +1 -1
  237. package/dist/components/CRM/DealCard.mjs +1 -1
  238. package/dist/components/CRM/DealDetails.js +1 -1
  239. package/dist/components/CRM/DealDetails.mjs +1 -1
  240. package/dist/components/CRM/KanbanBoard.js +1 -1
  241. package/dist/components/CRM/KanbanBoard.mjs +1 -1
  242. package/dist/components/CRM/KanbanColumn.js +1 -1
  243. package/dist/components/CRM/KanbanColumn.mjs +1 -1
  244. package/dist/components/CRM/NewCustomerForm.js +1 -1
  245. package/dist/components/CRM/NewCustomerForm.mjs +1 -1
  246. package/dist/components/CRM/NewDealForm.js +1 -1
  247. package/dist/components/CRM/NewDealForm.mjs +1 -1
  248. package/dist/components/CRM/index.js +1 -1
  249. package/dist/components/CRM/index.mjs +1 -1
  250. package/dist/components/Cards/ContentCard.js +1 -1
  251. package/dist/components/Cards/ContentCard.mjs +1 -1
  252. package/dist/components/Cards/CustomerCard.js +1 -1
  253. package/dist/components/Cards/CustomerCard.mjs +1 -1
  254. package/dist/components/Cards/EventCard.js +1 -1
  255. package/dist/components/Cards/EventCard.mjs +1 -1
  256. package/dist/components/Cards/FeatureCard.js +1 -1
  257. package/dist/components/Cards/FeatureCard.mjs +1 -1
  258. package/dist/components/Cards/HeroCard.js +1 -1
  259. package/dist/components/Cards/HeroCard.mjs +1 -1
  260. package/dist/components/Cards/Image.js +1 -1
  261. package/dist/components/Cards/Image.mjs +1 -1
  262. package/dist/components/Cards/PricingCard.js +1 -1
  263. package/dist/components/Cards/PricingCard.mjs +1 -1
  264. package/dist/components/Cards/ProjectCard.js +3 -3
  265. package/dist/components/Cards/ProjectCard.mjs +1 -1
  266. package/dist/components/Cards/ServiceCard.js +1 -1
  267. package/dist/components/Cards/ServiceCard.mjs +1 -1
  268. package/dist/components/Cards/index.js +4 -4
  269. package/dist/components/Cards/index.mjs +1 -1
  270. package/dist/components/Chat/ChatCardArtefact.js +1 -1
  271. package/dist/components/Chat/ChatCardArtefact.mjs +1 -1
  272. package/dist/components/Chat/ChatCardTask.js +1 -1
  273. package/dist/components/Chat/ChatCardTask.mjs +1 -1
  274. package/dist/components/Chat/ChatInterface.js +2 -2
  275. package/dist/components/Chat/ChatInterface.mjs +1 -1
  276. package/dist/components/Chat/ChatInterfaceMessages.js +2 -2
  277. package/dist/components/Chat/ChatInterfaceMessages.mjs +1 -1
  278. package/dist/components/Chat/ChatMessage.js +2 -2
  279. package/dist/components/Chat/ChatMessage.mjs +1 -1
  280. package/dist/components/Chat/CopilotInterface.js +3 -3
  281. package/dist/components/Chat/CopilotInterface.mjs +1 -1
  282. package/dist/components/Chat/capability-menu.js +1 -1
  283. package/dist/components/Chat/capability-menu.mjs +1 -1
  284. package/dist/components/Chat/chat-session-sidebar.js +1 -1
  285. package/dist/components/Chat/chat-session-sidebar.mjs +1 -1
  286. package/dist/components/Chat/demo-long-messages.js +9 -9
  287. package/dist/components/Chat/demo-long-messages.mjs +1 -1
  288. package/dist/components/Chat/demo-tests.js +22 -22
  289. package/dist/components/Chat/demo-tests.mjs +1 -1
  290. package/dist/components/Chat/demo.js +3 -3
  291. package/dist/components/Chat/demo.mjs +1 -1
  292. package/dist/components/Chat/example-usage.js +3 -3
  293. package/dist/components/Chat/example-usage.mjs +1 -1
  294. package/dist/components/Chat/example-with-file-uploads.js +1 -1
  295. package/dist/components/Chat/example-with-file-uploads.mjs +1 -1
  296. package/dist/components/Chat/example-with-vercel-ai.js +3 -3
  297. package/dist/components/Chat/example-with-vercel-ai.mjs +1 -1
  298. package/dist/components/Chat/index.js +3 -3
  299. package/dist/components/Chat/index.mjs +1 -1
  300. package/dist/components/DeliveryLead/DeliveryLeadSubmission.js +2 -2
  301. package/dist/components/DeliveryLead/DeliveryLeadSubmission.mjs +1 -1
  302. package/dist/components/DeliveryLead/DeliveryLeadSubmissionList.js +1 -1
  303. package/dist/components/DeliveryLead/DeliveryLeadSubmissionList.mjs +1 -1
  304. package/dist/components/DeliveryLead/DeliveryLeadSubmissionWithList.js +2 -2
  305. package/dist/components/DeliveryLead/DeliveryLeadSubmissionWithList.mjs +1 -1
  306. package/dist/components/DeliveryLead/index.js +2 -2
  307. package/dist/components/DeliveryLead/index.mjs +1 -1
  308. package/dist/components/DigitalColleagues/AppSidebarLeft.js +1 -1
  309. package/dist/components/DigitalColleagues/AppSidebarLeft.mjs +1 -1
  310. package/dist/components/DigitalColleagues/DashboardHeader.js +1 -1
  311. package/dist/components/DigitalColleagues/DashboardHeader.mjs +1 -1
  312. package/dist/components/DigitalColleagues/DigitalColleageusLayout.js +1 -1
  313. package/dist/components/DigitalColleagues/DigitalColleageusLayout.mjs +1 -1
  314. package/dist/components/DigitalColleagues/MainPage.js +1 -1
  315. package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
  316. package/dist/components/DigitalColleagues/ManagementSidebar.js +1 -1
  317. package/dist/components/DigitalColleagues/ManagementSidebar.mjs +1 -1
  318. package/dist/components/DigitalColleagues/Pages/dashboardpage.js +1 -1
  319. package/dist/components/DigitalColleagues/Pages/dashboardpage.mjs +1 -1
  320. package/dist/components/DigitalColleagues/SearchableSelect.js +1 -1
  321. package/dist/components/DigitalColleagues/SearchableSelect.mjs +1 -1
  322. package/dist/components/DigitalColleagues/Views/ColleaguesView.js +1 -1
  323. package/dist/components/DigitalColleagues/Views/ColleaguesView.mjs +1 -1
  324. package/dist/components/DigitalColleagues/Views/KnowledgeView.js +1 -1
  325. package/dist/components/DigitalColleagues/Views/KnowledgeView.mjs +1 -1
  326. package/dist/components/DigitalColleagues/Views/TeamsIndexView.js +1 -1
  327. package/dist/components/DigitalColleagues/Views/TeamsIndexView.mjs +1 -1
  328. package/dist/components/DigitalColleagues/Views/index.js +1 -1
  329. package/dist/components/DigitalColleagues/Views/index.mjs +1 -1
  330. package/dist/components/DigitalColleagues/colleague-card.js +1 -1
  331. package/dist/components/DigitalColleagues/colleague-card.mjs +1 -1
  332. package/dist/components/DigitalColleagues/colleague-form.js +1 -1
  333. package/dist/components/DigitalColleagues/colleague-form.mjs +1 -1
  334. package/dist/components/DigitalColleagues/colleague-type-selection.js +1 -1
  335. package/dist/components/DigitalColleagues/colleague-type-selection.mjs +1 -1
  336. package/dist/components/DigitalColleagues/digital-colleague-clone.js +1 -1
  337. package/dist/components/DigitalColleagues/digital-colleague-clone.mjs +1 -1
  338. package/dist/components/DigitalColleagues/digital-colleague-options.js +1 -1
  339. package/dist/components/DigitalColleagues/digital-colleague-options.mjs +1 -1
  340. package/dist/components/DigitalColleagues/document-edit.js +1 -1
  341. package/dist/components/DigitalColleagues/document-edit.mjs +1 -1
  342. package/dist/components/DigitalColleagues/document-preview-examples.js +5 -5
  343. package/dist/components/DigitalColleagues/document-preview-examples.mjs +1 -1
  344. package/dist/components/DigitalColleagues/document-preview.js +1 -1
  345. package/dist/components/DigitalColleagues/document-preview.mjs +1 -1
  346. package/dist/components/DigitalColleagues/index.js +1 -1
  347. package/dist/components/DigitalColleagues/index.mjs +1 -1
  348. package/dist/components/DigitalColleagues/knowledge-browser.js +1 -1
  349. package/dist/components/DigitalColleagues/knowledge-browser.mjs +1 -1
  350. package/dist/components/DigitalColleagues/knowledge-search.js +1 -1
  351. package/dist/components/DigitalColleagues/knowledge-search.mjs +1 -1
  352. package/dist/components/DigitalColleagues/team-form.js +1 -1
  353. package/dist/components/DigitalColleagues/team-form.mjs +1 -1
  354. package/dist/components/DigitalColleagues/test-data.js +1 -1
  355. package/dist/components/DigitalColleagues/test-data.mjs +1 -1
  356. package/dist/components/DigitalColleagues/types.d.ts +10 -1
  357. package/dist/components/HeaderFooter/BrandLogo.js +1 -1
  358. package/dist/components/HeaderFooter/BrandLogo.mjs +1 -1
  359. package/dist/components/HeaderFooter/Footer.js +1 -1
  360. package/dist/components/HeaderFooter/Footer.mjs +1 -1
  361. package/dist/components/HeaderFooter/Header.js +1 -1
  362. package/dist/components/HeaderFooter/Header.mjs +1 -1
  363. package/dist/components/HeaderFooter/HeaderDesktop.js +1 -1
  364. package/dist/components/HeaderFooter/HeaderDesktop.mjs +1 -1
  365. package/dist/components/HeaderFooter/HeaderMenu.js +1 -1
  366. package/dist/components/HeaderFooter/HeaderMenu.mjs +1 -1
  367. package/dist/components/HeaderFooter/HeaderMobile.js +1 -1
  368. package/dist/components/HeaderFooter/HeaderMobile.mjs +1 -1
  369. package/dist/components/HeaderFooter/RelatedPagesMenu.js +1 -1
  370. package/dist/components/HeaderFooter/RelatedPagesMenu.mjs +1 -1
  371. package/dist/components/HeaderFooter/SectionHeading.js +1 -1
  372. package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
  373. package/dist/components/HeaderFooter/SimpleHeader.js +1 -1
  374. package/dist/components/HeaderFooter/SimpleHeader.mjs +1 -1
  375. package/dist/components/HeaderFooter/VideoHeader.js +1 -1
  376. package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
  377. package/dist/components/HeaderFooter/enhanced-header.js +1 -1
  378. package/dist/components/HeaderFooter/enhanced-header.mjs +1 -1
  379. package/dist/components/HeaderFooter/index.js +1 -1
  380. package/dist/components/HeaderFooter/index.mjs +1 -1
  381. package/dist/components/Heros/DashboardHero/DashboardHero.js +1 -1
  382. package/dist/components/Heros/DashboardHero/DashboardHero.mjs +1 -1
  383. package/dist/components/Heros/DashboardHero/index.js +1 -1
  384. package/dist/components/Heros/DashboardHero/index.mjs +1 -1
  385. package/dist/components/Heros/HighImpact/index.js +1 -1
  386. package/dist/components/Heros/HighImpact/index.mjs +1 -1
  387. package/dist/components/Heros/LowImpact/index.js +1 -1
  388. package/dist/components/Heros/LowImpact/index.mjs +1 -1
  389. package/dist/components/Heros/MediumImpact/index.js +1 -1
  390. package/dist/components/Heros/MediumImpact/index.mjs +1 -1
  391. package/dist/components/Heros/PostHero/index.js +1 -1
  392. package/dist/components/Heros/PostHero/index.mjs +1 -1
  393. package/dist/components/Heros/RenderHero.js +1 -1
  394. package/dist/components/Heros/RenderHero.mjs +1 -1
  395. package/dist/components/Heros/SectionHero/index.js +1 -1
  396. package/dist/components/Heros/SectionHero/index.mjs +1 -1
  397. package/dist/components/Heros/index.js +1 -1
  398. package/dist/components/Heros/index.mjs +1 -1
  399. package/dist/components/Holidays/ApproveLeave.js +1 -1
  400. package/dist/components/Holidays/ApproveLeave.mjs +1 -1
  401. package/dist/components/Holidays/CalendarView.js +1 -1
  402. package/dist/components/Holidays/CalendarView.mjs +1 -1
  403. package/dist/components/Holidays/HolidayGrid.js +1 -1
  404. package/dist/components/Holidays/HolidayGrid.mjs +1 -1
  405. package/dist/components/Holidays/HolidayTracker.js +1 -1
  406. package/dist/components/Holidays/HolidayTracker.mjs +1 -1
  407. package/dist/components/Holidays/RequestLeave.js +1 -1
  408. package/dist/components/Holidays/RequestLeave.mjs +1 -1
  409. package/dist/components/Holidays/index.js +1 -1
  410. package/dist/components/Holidays/index.mjs +1 -1
  411. package/dist/components/Layouts/OutputHeaderFooter.js +2 -2
  412. package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
  413. package/dist/components/Layouts/Print.js +2 -2
  414. package/dist/components/Layouts/Print.mjs +1 -1
  415. package/dist/components/Layouts/SlideShow.js +3 -3
  416. package/dist/components/Layouts/SlideShow.mjs +1 -1
  417. package/dist/components/Layouts/index.js +4 -4
  418. package/dist/components/Layouts/index.mjs +1 -1
  419. package/dist/components/Menus/Categories.js +1 -1
  420. package/dist/components/Menus/Categories.mjs +1 -1
  421. package/dist/components/Menus/Filter.js +1 -1
  422. package/dist/components/Menus/Filter.mjs +1 -1
  423. package/dist/components/Menus/Pagination.js +1 -1
  424. package/dist/components/Menus/Pagination.mjs +1 -1
  425. package/dist/components/Menus/ProjectTeam.js +1 -1
  426. package/dist/components/Menus/ProjectTeam.mjs +1 -1
  427. package/dist/components/Menus/RelatedContent.js +1 -1
  428. package/dist/components/Menus/RelatedContent.mjs +1 -1
  429. package/dist/components/Menus/SidebarLeft.js +1 -1
  430. package/dist/components/Menus/SidebarLeft.mjs +1 -1
  431. package/dist/components/Menus/SidebarRight.js +1 -1
  432. package/dist/components/Menus/SidebarRight.mjs +1 -1
  433. package/dist/components/Menus/index.js +1 -1
  434. package/dist/components/Menus/index.mjs +1 -1
  435. package/dist/components/Other/Container.js +1 -1
  436. package/dist/components/Other/Container.mjs +1 -1
  437. package/dist/components/Other/PageShape.js +1 -1
  438. package/dist/components/Other/PageShape.mjs +1 -1
  439. package/dist/components/Other/index.js +1 -1
  440. package/dist/components/Other/index.mjs +1 -1
  441. package/dist/components/Payload/Card/index.js +1 -1
  442. package/dist/components/Payload/Card/index.mjs +1 -1
  443. package/dist/components/Payload/CollectionArchive/index.js +1 -1
  444. package/dist/components/Payload/CollectionArchive/index.mjs +1 -1
  445. package/dist/components/Payload/Link/index.js +1 -1
  446. package/dist/components/Payload/Link/index.mjs +1 -1
  447. package/dist/components/Payload/Media/ImageMedia/index.js +1 -1
  448. package/dist/components/Payload/Media/ImageMedia/index.mjs +1 -1
  449. package/dist/components/Payload/Media/VideoMedia/index.js +1 -1
  450. package/dist/components/Payload/Media/VideoMedia/index.mjs +1 -1
  451. package/dist/components/Payload/Media/index.js +1 -1
  452. package/dist/components/Payload/Media/index.mjs +1 -1
  453. package/dist/components/Payload/Pagination/index.js +1 -1
  454. package/dist/components/Payload/Pagination/index.mjs +1 -1
  455. package/dist/components/Payload/RichText/index.js +1 -1
  456. package/dist/components/Payload/RichText/index.mjs +1 -1
  457. package/dist/components/Payload/RichText/serialize.js +1 -1
  458. package/dist/components/Payload/RichText/serialize.mjs +1 -1
  459. package/dist/components/Payload/index.js +1 -1
  460. package/dist/components/Payload/index.mjs +1 -1
  461. package/dist/components/Projects/AddEpicModal.js +1 -1
  462. package/dist/components/Projects/AddEpicModal.mjs +1 -1
  463. package/dist/components/Projects/AddSprintModal.js +1 -1
  464. package/dist/components/Projects/AddSprintModal.mjs +1 -1
  465. package/dist/components/Projects/AddTaskModal.js +1 -1
  466. package/dist/components/Projects/AddTaskModal.mjs +1 -1
  467. package/dist/components/Projects/EpicFilter.js +1 -1
  468. package/dist/components/Projects/EpicFilter.mjs +1 -1
  469. package/dist/components/Projects/EpicsView.js +1 -1
  470. package/dist/components/Projects/EpicsView.mjs +1 -1
  471. package/dist/components/Projects/FileView.js +1 -1
  472. package/dist/components/Projects/FileView.mjs +1 -1
  473. package/dist/components/Projects/KanbanBoardView.d.ts +5 -1
  474. package/dist/components/Projects/KanbanBoardView.js +1 -1
  475. package/dist/components/Projects/KanbanBoardView.mjs +1 -1
  476. package/dist/components/Projects/KanbanColumn.js +1 -1
  477. package/dist/components/Projects/KanbanColumn.mjs +1 -1
  478. package/dist/components/Projects/PlanningView.js +1 -1
  479. package/dist/components/Projects/PlanningView.mjs +1 -1
  480. package/dist/components/Projects/ProjectPage.d.ts +3 -3
  481. package/dist/components/Projects/ProjectPage.js +2 -2
  482. package/dist/components/Projects/ProjectPage.mjs +1 -1
  483. package/dist/components/Projects/ProjectView.d.ts +9 -4
  484. package/dist/components/Projects/ProjectView.js +1 -1
  485. package/dist/components/Projects/ProjectView.mjs +1 -1
  486. package/dist/components/Projects/ProjectsIndexView.js +1 -1
  487. package/dist/components/Projects/ProjectsIndexView.mjs +1 -1
  488. package/dist/components/Projects/TaskCard.js +1 -1
  489. package/dist/components/Projects/TaskCard.mjs +1 -1
  490. package/dist/components/Projects/TaskDetailsModal.d.ts +8 -3
  491. package/dist/components/Projects/TaskDetailsModal.js +1 -1
  492. package/dist/components/Projects/TaskDetailsModal.mjs +1 -1
  493. package/dist/components/Projects/TaskSelect.js +1 -1
  494. package/dist/components/Projects/TaskSelect.mjs +1 -1
  495. package/dist/components/Projects/TaskSidebar.d.ts +2 -1
  496. package/dist/components/Projects/TaskSidebar.js +1 -1
  497. package/dist/components/Projects/TaskSidebar.mjs +1 -1
  498. package/dist/components/Projects/TasksView.js +1 -1
  499. package/dist/components/Projects/TasksView.mjs +1 -1
  500. package/dist/components/Projects/TeamSwitcher.js +1 -1
  501. package/dist/components/Projects/TeamSwitcher.mjs +1 -1
  502. package/dist/components/Projects/business-unit-switcher.js +1 -1
  503. package/dist/components/Projects/business-unit-switcher.mjs +1 -1
  504. package/dist/components/Projects/file-list.js +1 -1
  505. package/dist/components/Projects/file-list.mjs +1 -1
  506. package/dist/components/Projects/index.js +1 -1
  507. package/dist/components/Projects/index.mjs +1 -1
  508. package/dist/components/Projects/project-card.js +1 -1
  509. package/dist/components/Projects/project-card.mjs +1 -1
  510. package/dist/components/Projects/project-form.js +1 -1
  511. package/dist/components/Projects/project-form.mjs +1 -1
  512. package/dist/components/Projects/team-card.js +1 -1
  513. package/dist/components/Projects/team-card.mjs +1 -1
  514. package/dist/components/Projects/team-switcher-bar.js +1 -1
  515. package/dist/components/Projects/team-switcher-bar.mjs +1 -1
  516. package/dist/components/Projects/test-data.js +1 -1
  517. package/dist/components/Projects/test-data.mjs +1 -1
  518. package/dist/components/dc-temp/creative.js +1 -1
  519. package/dist/components/dc-temp/creative.mjs +1 -1
  520. package/dist/components/dc-temp/dashboard-integration-example.js +1 -1
  521. package/dist/components/dc-temp/dashboard-integration-example.mjs +1 -1
  522. package/dist/components/dc-temp/index.js +1 -1
  523. package/dist/components/dc-temp/index.mjs +1 -1
  524. package/dist/components/dc-temp/markdown-renderer.js +1 -1
  525. package/dist/components/dc-temp/markdown-renderer.mjs +1 -1
  526. package/dist/components/dc-temp/utils.js +1 -1
  527. package/dist/components/dc-temp/utils.mjs +1 -1
  528. package/dist/components/index.js +14 -14
  529. package/dist/components/index.mjs +1 -1
  530. package/dist/components/ui/alert.js +1 -1
  531. package/dist/components/ui/alert.mjs +1 -1
  532. package/dist/components/ui/avatar.js +1 -1
  533. package/dist/components/ui/avatar.mjs +1 -1
  534. package/dist/components/ui/badge.js +1 -1
  535. package/dist/components/ui/badge.mjs +1 -1
  536. package/dist/components/ui/breadcrumb.js +1 -1
  537. package/dist/components/ui/breadcrumb.mjs +1 -1
  538. package/dist/components/ui/button.js +1 -1
  539. package/dist/components/ui/button.mjs +1 -1
  540. package/dist/components/ui/calendar.js +1 -1
  541. package/dist/components/ui/calendar.mjs +1 -1
  542. package/dist/components/ui/card.js +1 -1
  543. package/dist/components/ui/card.mjs +1 -1
  544. package/dist/components/ui/checkbox.js +1 -1
  545. package/dist/components/ui/checkbox.mjs +1 -1
  546. package/dist/components/ui/command.js +1 -1
  547. package/dist/components/ui/command.mjs +1 -1
  548. package/dist/components/ui/dialog.js +1 -1
  549. package/dist/components/ui/dialog.mjs +1 -1
  550. package/dist/components/ui/dropdown-menu.js +1 -1
  551. package/dist/components/ui/dropdown-menu.mjs +1 -1
  552. package/dist/components/ui/hover-card.js +1 -1
  553. package/dist/components/ui/hover-card.mjs +1 -1
  554. package/dist/components/ui/index.js +1 -1
  555. package/dist/components/ui/index.mjs +1 -1
  556. package/dist/components/ui/input.js +1 -1
  557. package/dist/components/ui/input.mjs +1 -1
  558. package/dist/components/ui/inputs/common/styles/index.js +1 -1
  559. package/dist/components/ui/inputs/common/styles/index.mjs +1 -1
  560. package/dist/components/ui/inputs/text-input/index.js +1 -1
  561. package/dist/components/ui/inputs/text-input/index.mjs +1 -1
  562. package/dist/components/ui/inputs/textarea-input/index.js +1 -1
  563. package/dist/components/ui/inputs/textarea-input/index.mjs +1 -1
  564. package/dist/components/ui/label.js +1 -1
  565. package/dist/components/ui/label.mjs +1 -1
  566. package/dist/components/ui/pagination.js +1 -1
  567. package/dist/components/ui/pagination.mjs +1 -1
  568. package/dist/components/ui/popover.js +1 -1
  569. package/dist/components/ui/popover.mjs +1 -1
  570. package/dist/components/ui/progress.js +1 -1
  571. package/dist/components/ui/progress.mjs +1 -1
  572. package/dist/components/ui/scroll-area.js +1 -1
  573. package/dist/components/ui/scroll-area.mjs +1 -1
  574. package/dist/components/ui/select.js +1 -1
  575. package/dist/components/ui/select.mjs +1 -1
  576. package/dist/components/ui/separator.js +1 -1
  577. package/dist/components/ui/separator.mjs +1 -1
  578. package/dist/components/ui/sheet.js +1 -1
  579. package/dist/components/ui/sheet.mjs +1 -1
  580. package/dist/components/ui/sidebar.js +1 -1
  581. package/dist/components/ui/sidebar.mjs +1 -1
  582. package/dist/components/ui/skeleton.js +1 -1
  583. package/dist/components/ui/skeleton.mjs +1 -1
  584. package/dist/components/ui/switch.js +1 -1
  585. package/dist/components/ui/switch.mjs +1 -1
  586. package/dist/components/ui/tabs.js +1 -1
  587. package/dist/components/ui/tabs.mjs +1 -1
  588. package/dist/components/ui/textarea.js +1 -1
  589. package/dist/components/ui/textarea.mjs +1 -1
  590. package/dist/components/ui/toast.js +1 -1
  591. package/dist/components/ui/toast.mjs +1 -1
  592. package/dist/components/ui/toaster.js +1 -1
  593. package/dist/components/ui/toaster.mjs +1 -1
  594. package/dist/components/ui/toggle-group.js +1 -1
  595. package/dist/components/ui/toggle-group.mjs +1 -1
  596. package/dist/components/ui/toggle.js +1 -1
  597. package/dist/components/ui/toggle.mjs +1 -1
  598. package/dist/components/ui/tooltip.js +1 -1
  599. package/dist/components/ui/tooltip.mjs +1 -1
  600. package/dist/globals.css +1 -1
  601. package/dist/index.js +18 -18
  602. package/dist/index.mjs +1 -1
  603. package/dist/metafile-cjs.json +1 -1
  604. package/dist/metafile-esm.json +1 -1
  605. package/dist/pages/Blog.js +1 -1
  606. package/dist/pages/Blog.mjs +1 -1
  607. package/dist/pages/Documentation.js +1 -1
  608. package/dist/pages/Documentation.mjs +1 -1
  609. package/dist/pages/IndexPage.js +1 -1
  610. package/dist/pages/IndexPage.mjs +1 -1
  611. package/dist/pages/Intranet.js +1 -1
  612. package/dist/pages/Intranet.mjs +1 -1
  613. package/dist/pages/LandingPage.js +3 -3
  614. package/dist/pages/LandingPage.mjs +1 -1
  615. package/dist/pages/Page.js +1 -1
  616. package/dist/pages/Page.mjs +1 -1
  617. package/dist/pages/Publish.js +4 -4
  618. package/dist/pages/Publish.mjs +1 -1
  619. package/dist/pages/Website.js +1 -1
  620. package/dist/pages/Website.mjs +1 -1
  621. package/dist/sections/AboutSection.js +1 -1
  622. package/dist/sections/AboutSection.mjs +1 -1
  623. package/dist/sections/BlogDetail.js +1 -1
  624. package/dist/sections/BlogDetail.mjs +1 -1
  625. package/dist/sections/BlogList.js +3 -3
  626. package/dist/sections/BlogList.mjs +1 -1
  627. package/dist/sections/BlogListSection.js +1 -1
  628. package/dist/sections/BlogListSection.mjs +1 -1
  629. package/dist/sections/ContactSection.js +1 -1
  630. package/dist/sections/ContactSection.mjs +1 -1
  631. package/dist/sections/ImageSection.js +1 -1
  632. package/dist/sections/ImageSection.mjs +1 -1
  633. package/dist/sections/MainPageSection.js +1 -1
  634. package/dist/sections/MainPageSection.mjs +1 -1
  635. package/dist/sections/PageSections.js +3 -3
  636. package/dist/sections/PageSections.mjs +1 -1
  637. package/dist/sections/PricingSection.js +1 -1
  638. package/dist/sections/PricingSection.mjs +1 -1
  639. package/dist/sections/ServiceDetail.js +1 -1
  640. package/dist/sections/ServiceDetail.mjs +1 -1
  641. package/dist/sections/ServiceDetailSection.js +1 -1
  642. package/dist/sections/ServiceDetailSection.mjs +1 -1
  643. package/dist/sections/ServiceSection.js +1 -1
  644. package/dist/sections/ServiceSection.mjs +1 -1
  645. package/dist/sections/form/index.js +1 -1
  646. package/dist/sections/form/index.mjs +1 -1
  647. package/dist/sections/index.js +3 -3
  648. package/dist/sections/index.mjs +1 -1
  649. package/dist/styles/Colors.js +1 -1
  650. package/dist/styles/Colors.mjs +1 -1
  651. package/dist/utils/AOSInit.js +2 -2
  652. package/dist/utils/AOSInit.mjs +1 -1
  653. package/dist/utils/cn.js +1 -1
  654. package/dist/utils/cn.mjs +1 -1
  655. package/dist/utils/index.js +2 -2
  656. package/dist/utils/index.mjs +1 -1
  657. package/package.json +1 -1
  658. package/dist/chunk-4RQ27GTD.mjs +0 -1
  659. package/dist/chunk-56AGUZR5.mjs +0 -1
  660. package/dist/chunk-5WH7SFOR.mjs +0 -4
  661. package/dist/chunk-CDH5ONCJ.mjs +0 -8
  662. package/dist/chunk-I2BNJCJ7.mjs +0 -1
  663. package/dist/chunk-KCOLYVJX.mjs +0 -1
  664. package/dist/chunk-KZTONTWM.mjs +0 -1
  665. package/dist/chunk-MZKVGPNQ.mjs +0 -1
  666. package/dist/chunk-RARAKOXE.mjs +0 -1
  667. package/dist/chunk-TSEOL53Y.mjs +0 -1
  668. package/dist/chunk-WXTJ6DVT.mjs +0 -4
  669. package/dist/chunk-ZKLSTUIP.mjs +0 -1
@@ -1,4 +1,4 @@
1
- import{a as o}from"../../chunk-YUW3HHAK.mjs";import"../../chunk-E43QS242.mjs";import"../../chunk-BM2ZNFM6.mjs";import"../../chunk-TAVSBP7M.mjs";import"../../chunk-EFIJNPMM.mjs";import{f as e}from"../../chunk-KCOLYVJX.mjs";import"../../chunk-VXZPPTQQ.mjs";import"../../chunk-RAAY7PEH.mjs";import"../../chunk-AG6IN5S7.mjs";import"../../chunk-GJUA2KUH.mjs";import"../../chunk-7Z3TOFNL.mjs";import"../../chunk-2JKLBLDE.mjs";import"../../chunk-7WKUKFCT.mjs";import"../../chunk-TSEOL53Y.mjs";import"../../chunk-I2BNJCJ7.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-CDH5ONCJ.mjs";import"../../chunk-FLHDNCNY.mjs";import"../../chunk-YEKQJ4YC.mjs";import{jsx as n}from"react/jsx-runtime";var a=()=>n(o,{teams:e,onCreateTeam:()=>{console.log("Create new team")},onTeamOpen:t=>{console.log("Open team:",t.name)}}),s={teamsCase:a,instructions:`
1
+ import{a as o}from"../../chunk-OPLUKFRN.mjs";import"../../chunk-VGWDYD6Z.mjs";import"../../chunk-Z22NSJMF.mjs";import"../../chunk-CTAIR3TE.mjs";import"../../chunk-YRMNCHFO.mjs";import{f as e}from"../../chunk-NPVUICIF.mjs";import"../../chunk-B4H6T2GP.mjs";import"../../chunk-TVZOULLL.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-L5JPAKPM.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-FLHDNCNY.mjs";import"../../chunk-YEKQJ4YC.mjs";import{jsx as n}from"react/jsx-runtime";var a=()=>n(o,{teams:e,onCreateTeam:()=>{console.log("Create new team")},onTeamOpen:t=>{console.log("Open team:",t.name)}}),s={teamsCase:a,instructions:`
2
2
  Follow the integration instructions above to add teams functionality
3
3
  to the existing dashboard structure.
4
4
  `};export{s as dashboardIntegrationExample,a as teamsCase};
@@ -2,4 +2,4 @@
2
2
  "use strict";
3
3
  'use client'
4
4
 
5
- "use strict";var No=Object.create;var Be=Object.defineProperty;var Co=Object.getOwnPropertyDescriptor;var Po=Object.getOwnPropertyNames;var Ro=Object.getPrototypeOf,So=Object.prototype.hasOwnProperty;var Do=(e,t)=>{for(var o in t)Be(e,o,{get:t[o],enumerable:!0})},yt=(e,t,o,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Po(t))!So.call(e,i)&&i!==o&&Be(e,i,{get:()=>t[i],enumerable:!(r=Co(t,i))||r.enumerable});return e};var j=(e,t,o)=>(o=e!=null?No(Ro(e)):{},yt(t||!e||!e.__esModule?Be(o,"default",{value:e,enumerable:!0}):o,e)),To=e=>yt(Be({},"__esModule",{value:!0}),e);var Nr={};Do(Nr,{FileList:()=>Se,FileView:()=>gt,KnowledgeBrowser:()=>Oe,KnowledgeView:()=>ot,TeamCard:()=>$e,TeamsIndexView:()=>mt});module.exports=To(Nr);var to=require("react");var zt=require("motion/react");var kt=require("class-variance-authority");var Tt=require("clsx");var ko=e=>{let t=Ao(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:s=>{let n=s.split("-");return n[0]===""&&n.length!==1&&n.shift(),Ct(n,t)||Mo(s)},getConflictingClassGroupIds:(s,n)=>{let d=o[s]||[];return n&&r[s]?[...d,...r[s]]:d}}},Ct=(e,t)=>{if(e.length===0)return t.classGroupId;let o=e[0],r=t.nextPart.get(o),i=r?Ct(e.slice(1),r):void 0;if(i)return i;if(t.validators.length===0)return;let a=e.join("-");return t.validators.find(({validator:s})=>s(a))?.classGroupId},wt=/^\[(.+)\]$/,Mo=e=>{if(wt.test(e)){let t=wt.exec(e)[1],o=t?.substring(0,t.indexOf(":"));if(o)return"arbitrary.."+o}},Ao=e=>{let{theme:t,prefix:o}=e,r={nextPart:new Map,validators:[]};return Eo(Object.entries(e.classGroups),o).forEach(([a,s])=>{Qe(s,r,a,t)}),r},Qe=(e,t,o,r)=>{e.forEach(i=>{if(typeof i=="string"){let a=i===""?t:Nt(t,i);a.classGroupId=o;return}if(typeof i=="function"){if(Io(i)){Qe(i(r),t,o,r);return}t.validators.push({validator:i,classGroupId:o});return}Object.entries(i).forEach(([a,s])=>{Qe(s,Nt(t,a),o,r)})})},Nt=(e,t)=>{let o=e;return t.split("-").forEach(r=>{o.nextPart.has(r)||o.nextPart.set(r,{nextPart:new Map,validators:[]}),o=o.nextPart.get(r)}),o},Io=e=>e.isThemeGetter,Eo=(e,t)=>t?e.map(([o,r])=>{let i=r.map(a=>typeof a=="string"?t+a:typeof a=="object"?Object.fromEntries(Object.entries(a).map(([s,n])=>[t+s,n])):a);return[o,i]}):e,Fo=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,o=new Map,r=new Map,i=(a,s)=>{o.set(a,s),t++,t>e&&(t=0,r=o,o=new Map)};return{get(a){let s=o.get(a);if(s!==void 0)return s;if((s=r.get(a))!==void 0)return i(a,s),s},set(a,s){o.has(a)?o.set(a,s):i(a,s)}}};var Lo=e=>{let{separator:t,experimentalParseClassName:o}=e,r=t.length===1,i=t[0],a=t.length,s=n=>{let d=[],f=0,v=0,R;for(let l=0;l<n.length;l++){let h=n[l];if(f===0){if(h===i&&(r||n.slice(l,l+a)===t)){d.push(n.slice(v,l)),v=l+a;continue}if(h==="/"){R=l;continue}}h==="["?f++:h==="]"&&f--}let A=d.length===0?n:n.substring(v),m=A.startsWith("!"),C=m?A.substring(1):A,c=R&&R>v?R-v:void 0;return{modifiers:d,hasImportantModifier:m,baseClassName:C,maybePostfixModifierPosition:c}};return o?n=>o({className:n,parseClassName:s}):s},zo=e=>{if(e.length<=1)return e;let t=[],o=[];return e.forEach(r=>{r[0]==="["?(t.push(...o.sort(),r),o=[]):o.push(r)}),t.push(...o.sort()),t},Bo=e=>({cache:Fo(e.cacheSize),parseClassName:Lo(e),...ko(e)}),Ko=/\s+/,Ho=(e,t)=>{let{parseClassName:o,getClassGroupId:r,getConflictingClassGroupIds:i}=t,a=[],s=e.trim().split(Ko),n="";for(let d=s.length-1;d>=0;d-=1){let f=s[d],{modifiers:v,hasImportantModifier:R,baseClassName:A,maybePostfixModifierPosition:m}=o(f),C=!!m,c=r(C?A.substring(0,m):A);if(!c){if(!C){n=f+(n.length>0?" "+n:n);continue}if(c=r(A),!c){n=f+(n.length>0?" "+n:n);continue}C=!1}let l=zo(v).join(":"),h=R?l+"!":l,P=h+c;if(a.includes(P))continue;a.push(P);let $=i(c,C);for(let W=0;W<$.length;++W){let E=$[W];a.push(h+E)}n=f+(n.length>0?" "+n:n)}return n};function Vo(){let e=0,t,o,r="";for(;e<arguments.length;)(t=arguments[e++])&&(o=Pt(t))&&(r&&(r+=" "),r+=o);return r}var Pt=e=>{if(typeof e=="string")return e;let t,o="";for(let r=0;r<e.length;r++)e[r]&&(t=Pt(e[r]))&&(o&&(o+=" "),o+=t);return o};function jo(e,...t){let o,r,i,a=s;function s(d){let f=t.reduce((v,R)=>R(v),e());return o=Bo(f),r=o.cache.get,i=o.cache.set,a=n,n(d)}function n(d){let f=r(d);if(f)return f;let v=Ho(d,o);return i(d,v),v}return function(){return a(Vo.apply(null,arguments))}}var k=e=>{let t=o=>o[e]||[];return t.isThemeGetter=!0,t},Rt=/^\[(?:([a-Mt-]+):)?(.+)\]$/i,Oo=/^\d+\/\d+$/,$o=new Set(["px","full","screen"]),Wo=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,_o=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|Mt|min|max))|\Mt(calc|min|max|clamp)\(.+\)|^0$/,Go=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Uo=/^(inset_)?-?((\d+)?\.?(\d+)[a-Mt]+|0)_-?((\d+)?\.?(\d+)[a-Mt]+|0)/,Xo=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ee=e=>we(e)||$o.has(e)||Oo.test(e),ae=e=>Ne(e,"length",or),we=e=>!!e&&!Number.isNaN(Number(e)),Je=e=>Ne(e,"number",we),Te=e=>!!e&&Number.isInteger(Number(e)),qo=e=>e.endsWith("%")&&we(e.slice(0,-1)),x=e=>Rt.test(e),ie=e=>Wo.test(e),Jo=new Set(["length","size","percentage"]),Qo=e=>Ne(e,Jo,St),Zo=e=>Ne(e,"position",St),Yo=new Set(["image","url"]),er=e=>Ne(e,Yo,ar),tr=e=>Ne(e,"",rr),ke=()=>!0,Ne=(e,t,o)=>{let r=Rt.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):o(r[2]):!1},or=e=>_o.test(e)&&!Go.test(e),St=()=>!1,rr=e=>Uo.test(e),ar=e=>Xo.test(e);var ir=()=>{let e=k("colors"),t=k("spacing"),o=k("blur"),r=k("brightness"),i=k("borderColor"),a=k("borderRadius"),s=k("borderSpacing"),n=k("borderWidth"),d=k("contrast"),f=k("grayscale"),v=k("hueRotate"),R=k("invert"),A=k("gap"),m=k("gradientColorStops"),C=k("gradientColorStopPositions"),c=k("inset"),l=k("margin"),h=k("opacity"),P=k("padding"),$=k("saturate"),W=k("scale"),E=k("sepia"),_=k("skew"),ye=k("space"),D=k("translate"),q=()=>["auto","contain","none"],G=()=>["auto","hidden","clip","visible","scroll"],Xe=()=>["auto",x,t],I=()=>[x,t],bt=()=>["",ee,ae],Le=()=>["auto",we,x],vt=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],ze=()=>["solid","dashed","dotted","double","none"],ht=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],qe=()=>["start","end","center","between","around","evenly","stretch"],De=()=>["","0",x],xt=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Y=()=>[we,x];return{cacheSize:500,separator:":",theme:{colors:[ke],spacing:[ee,ae],blur:["none","",ie,x],brightness:Y(),borderColor:[e],borderRadius:["none","","full",ie,x],borderSpacing:I(),borderWidth:bt(),contrast:Y(),grayscale:De(),hueRotate:Y(),invert:De(),gap:I(),gradientColorStops:[e],gradientColorStopPositions:[qo,ae],inset:Xe(),margin:Xe(),opacity:Y(),padding:I(),saturate:Y(),scale:Y(),sepia:De(),skew:Y(),space:I(),translate:I()},classGroups:{aspect:[{aspect:["auto","square","video",x]}],container:["container"],columns:[{columns:[ie]}],"break-after":[{"break-after":xt()}],"break-before":[{"break-before":xt()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...vt(),x]}],overflow:[{overflow:G()}],"overflow-x":[{"overflow-x":G()}],"overflow-Mt":[{"overflow-Mt":G()}],overscroll:[{overscroll:q()}],"overscroll-x":[{"overscroll-x":q()}],"overscroll-Mt":[{"overscroll-Mt":q()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[c]}],"inset-x":[{"inset-x":[c]}],"inset-Mt":[{"inset-Mt":[c]}],start:[{start:[c]}],end:[{end:[c]}],top:[{top:[c]}],right:[{right:[c]}],bottom:[{bottom:[c]}],left:[{left:[c]}],visibility:["visible","invisible","collapse"],Mt:[{Mt:["auto",Te,x]}],basis:[{basis:Xe()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",x]}],grow:[{grow:De()}],shrink:[{shrink:De()}],order:[{order:["first","last","none",Te,x]}],"grid-cols":[{"grid-cols":[ke]}],"col-start-end":[{col:["auto",{span:["full",Te,x]},x]}],"col-start":[{"col-start":Le()}],"col-end":[{"col-end":Le()}],"grid-rows":[{"grid-rows":[ke]}],"row-start-end":[{row:["auto",{span:[Te,x]},x]}],"row-start":[{"row-start":Le()}],"row-end":[{"row-end":Le()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",x]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",x]}],gap:[{gap:[A]}],"gap-x":[{"gap-x":[A]}],"gap-Mt":[{"gap-Mt":[A]}],"justify-content":[{justify:["normal",...qe()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...qe(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...qe(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[P]}],px:[{px:[P]}],py:[{py:[P]}],ps:[{ps:[P]}],pe:[{pe:[P]}],pt:[{pt:[P]}],pr:[{pr:[P]}],pb:[{pb:[P]}],pl:[{pl:[P]}],m:[{m:[l]}],mx:[{mx:[l]}],my:[{my:[l]}],ms:[{ms:[l]}],me:[{me:[l]}],mt:[{mt:[l]}],mr:[{mr:[l]}],mb:[{mb:[l]}],ml:[{ml:[l]}],"space-x":[{"space-x":[ye]}],"space-x-reverse":["space-x-reverse"],"space-Mt":[{"space-Mt":[ye]}],"space-Mt-reverse":["space-Mt-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",x,t]}],"min-w":[{"min-w":[x,t,"min","max","fit"]}],"max-w":[{"max-w":[x,t,"none","full","min","max","fit","prose",{screen:[ie]},ie]}],h:[{h:[x,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[x,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[x,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[x,t,"auto","min","max","fit"]}],"font-size":[{text:["base",ie,ae]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Je]}],"font-family":[{font:[ke]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",x]}],"line-clamp":[{"line-clamp":["none",we,Je]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",ee,x]}],"list-image":[{"list-image":["none",x]}],"list-style-type":[{list:["none","disc","decimal",x]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[h]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[h]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ze(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",ee,ae]}],"underline-offset":[{"underline-offset":["auto",ee,x]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:I()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",x]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",x]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[h]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...vt(),Zo]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","Mt","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Qo]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","Mt","bl","l","tl"]},er]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[C]}],"gradient-via-pos":[{via:[C]}],"gradient-to-pos":[{to:[C]}],"gradient-from":[{from:[m]}],"gradient-via":[{via:[m]}],"gradient-to":[{to:[m]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-Mt":[{"rounded-Mt":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[n]}],"border-w-x":[{"border-x":[n]}],"border-w-Mt":[{"border-Mt":[n]}],"border-w-s":[{"border-s":[n]}],"border-w-e":[{"border-e":[n]}],"border-w-t":[{"border-t":[n]}],"border-w-r":[{"border-r":[n]}],"border-w-Mt":[{"border-Mt":[n]}],"border-w-l":[{"border-l":[n]}],"border-opacity":[{"border-opacity":[h]}],"border-style":[{border:[...ze(),"hidden"]}],"divide-x":[{"divide-x":[n]}],"divide-x-reverse":["divide-x-reverse"],"divide-Mt":[{"divide-Mt":[n]}],"divide-Mt-reverse":["divide-Mt-reverse"],"divide-opacity":[{"divide-opacity":[h]}],"divide-style":[{divide:ze()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-Mt":[{"border-Mt":[i]}],"border-color-s":[{"border-s":[i]}],"border-color-e":[{"border-e":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-Mt":[{"border-Mt":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",...ze()]}],"outline-offset":[{"outline-offset":[ee,x]}],"outline-w":[{outline:[ee,ae]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:bt()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[h]}],"ring-offset-w":[{"ring-offset":[ee,ae]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",ie,tr]}],"shadow-color":[{shadow:[ke]}],opacity:[{opacity:[h]}],"mix-blend":[{"mix-blend":[...ht(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ht()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[r]}],contrast:[{contrast:[d]}],"drop-shadow":[{"drop-shadow":["","none",ie,x]}],grayscale:[{grayscale:[f]}],"hue-rotate":[{"hue-rotate":[v]}],invert:[{invert:[R]}],saturate:[{saturate:[$]}],sepia:[{sepia:[E]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[d]}],"backdrop-grayscale":[{"backdrop-grayscale":[f]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[v]}],"backdrop-invert":[{"backdrop-invert":[R]}],"backdrop-opacity":[{"backdrop-opacity":[h]}],"backdrop-saturate":[{"backdrop-saturate":[$]}],"backdrop-sepia":[{"backdrop-sepia":[E]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-Mt":[{"border-spacing-Mt":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",x]}],duration:[{duration:Y()}],ease:[{ease:["linear","in","out","in-out",x]}],delay:[{delay:Y()}],animate:[{animate:["none","spin","ping","pulse","bounce",x]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[W]}],"scale-x":[{"scale-x":[W]}],"scale-Mt":[{"scale-Mt":[W]}],rotate:[{rotate:[Te,x]}],"translate-x":[{"translate-x":[D]}],"translate-Mt":[{"translate-Mt":[D]}],"skew-x":[{"skew-x":[_]}],"skew-Mt":[{"skew-Mt":[_]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",x]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","Mt-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",x]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","Mt","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":I()}],"scroll-mx":[{"scroll-mx":I()}],"scroll-my":[{"scroll-my":I()}],"scroll-ms":[{"scroll-ms":I()}],"scroll-me":[{"scroll-me":I()}],"scroll-mt":[{"scroll-mt":I()}],"scroll-mr":[{"scroll-mr":I()}],"scroll-mb":[{"scroll-mb":I()}],"scroll-ml":[{"scroll-ml":I()}],"scroll-p":[{"scroll-p":I()}],"scroll-px":[{"scroll-px":I()}],"scroll-py":[{"scroll-py":I()}],"scroll-ps":[{"scroll-ps":I()}],"scroll-pe":[{"scroll-pe":I()}],"scroll-pt":[{"scroll-pt":I()}],"scroll-pr":[{"scroll-pr":I()}],"scroll-pb":[{"scroll-pb":I()}],"scroll-pl":[{"scroll-pl":I()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","Mt","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-Mt":[{"touch-pan":["Mt","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",x]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[ee,ae,Je]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-Mt"],overscroll:["overscroll-x","overscroll-Mt"],inset:["inset-x","inset-Mt","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-Mt":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-Mt"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-Mt","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-Mt":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-Mt"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-Mt","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-Mt":["border-w-t","border-w-Mt"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-Mt","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-Mt":["border-color-t","border-color-Mt"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-Mt","touch-pz"],"touch-x":["touch"],"touch-Mt":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Dt=jo(ir);function p(...e){return Dt((0,Tt.clsx)(e))}var Mt=require("react/jsx-runtime"),nr=(0,kt.cva)("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function Ke({className:e,variant:t,...o}){return(0,Mt.jsx)("div",{className:p(nr({variant:t}),e),...o})}var At=require("@radix-ui/react-slot"),Et=j(require("react")),sr=(0,kt.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),M=Et.forwardRef(({asChild:e=!1,className:t,size:o,variant:r,...i},a)=>(0,Mt.jsx)(e?At.Slot:"button",{className:p(sr({className:t,size:o,variant:r})),ref:a,...i}));M.displayName="Button";function Lt(e,t){let[o,r]=(0,to.useState)(()=>{if(typeof window>"Mt")return t;try{let a=window.localStorage.getItem(e);return a?JSON.parse(a):t}catch{return t}}),i=a=>{try{r(a),typeof window<"Mt"&&window.localStorage.setItem(e,JSON.stringify(a))}catch{}};return(0,to.useEffect)(()=>{i(o)},[]),[o,i]}var Ve=require("react-icons/fa");function me({title:e,description:t,badge:o,primaryAction:r,secondaryAction:i,gradient:a,children:s,className:n}){let[d,f]=Lt(`hero-section-minimized-${e.replace(/\s+/Mt,"-").toLowerCase()}`,!i&&!t),v=!i&&!t||d;return(0,Mt.jsxs)(zt.motion.div,{initial:{opacity:0,Mt:20},animate:{opacity:1,Mt:0},transition:{duration:.5},className:`overflow-hidden rounded-3xl ${a} p-8 text-white ${n||""}`,children:[(0,Mt.jsxs)("div",{className:"flex items-center justify-between mb-2",children:[(0,Mt.jsxs)("div",{className:"flex items-center gap-3",children:[o&&(0,Mt.jsx)(Ke,{className:"bg-white/20 text-white hover:bg-white/30 rounded-xl",children:o}),(0,Mt.jsx)("h2",{className:"text-3xl font-bold m-0",children:e})]}),(0,Mt.jsxs)("div",{className:"flex items-center gap-3",children:[v&&r&&(0,Mt.jsx)(M,{className:"rounded-2xl bg-white text-indigo-700 hover:bg-white/90",onClick:r.onClick,children:r.label}),(i||t)&&(0,Mt.jsx)("button",{"aria-label":d?"Expand hero section":"Minimize hero section",className:"rounded-full bg-white/20 hover:bg-white/30 p-1 text-white transition-colors",onClick:()=>f(!d),style:{lineHeight:0},children:d?(0,Mt.jsx)(Ve.FaChevronDown,{size:22}):(0,Mt.jsx)(Ve.FaChevronUp,{size:22})})]})]}),!v&&(0,Mt.jsxs)("div",{className:"flex flex-col gap-6 md:flex-row md:items-center md:justify-between",children:[(0,Mt.jsxs)("div",{className:"space-Mt-4",children:[(0,Mt.jsx)("p",{className:"max-w-[600px] text-white/80",children:t}),(0,Mt.jsxs)("div",{className:"flex flex-wrap gap-3",children:[r&&(0,Mt.jsx)(M,{className:"rounded-2xl bg-white text-indigo-700 hover:bg-white/90",onClick:r.onClick,children:r.label}),i&&(0,Mt.jsx)(M,{variant:"outline",className:"rounded-2xl bg-transparent border-white text-white hover:bg-white/10",onClick:i.onClick,children:i.label})]})]}),s&&(0,Mt.jsx)("div",{className:"hidden lg:block",children:s})]})]})}var Q=require("lucide-react");var Bt=j(require("react"));var J=Bt.forwardRef(({className:e,type:t,...o},r)=>(0,Mt.jsx)("input",{type:t,className:p("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),ref:r,...o}));J.displayName="Input";var Ze=j(require("react")),X=j(require("@radix-ui/react-scroll-area"));var Ye=Ze.forwardRef(({className:e,children:t,...o},r)=>(0,Mt.jsxs)(X.Root,{ref:r,className:p("relative overflow-hidden",e),...o,children:[(0,Mt.jsx)(X.Viewport,{className:"h-full w-full rounded-[inherit]",children:t}),(0,Mt.jsx)(Ht,{}),(0,Mt.jsx)(X.Corner,{})]}));Ye.displayName=X.Root.displayName;var Ht=Ze.forwardRef(({className:e,orientation:t="vertical",...o},r)=>(0,Mt.jsx)(X.ScrollAreaScrollbar,{ref:r,orientation:t,className:p("flex touch-none select-none transition-colors",t==="vertical"&&"h-full w-2.5 border-l border-l-transparent p-[1px]",t==="horizontal"&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",e),...o,children:(0,Mt.jsx)(X.ScrollAreaThumb,{className:"relative flex-1 rounded-full bg-border"})}));Ht.displayName=X.ScrollAreaScrollbar.displayName;var Vt=j(require("react")),pe=Vt.forwardRef(({className:e,...t},o)=>(0,Mt.jsx)("textarea",{className:p("flex min-h-[80px] w-full rounded border border-border bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),ref:o,...t}));pe.displayName="Textarea";var w=j(require("@radix-ui/react-select")),se=j(require("react")),Ot=w.Root;var $t=w.Value,et=se.forwardRef(({children:e,className:t,...o},r)=>(0,Mt.jsxs)(w.Trigger,{className:p("flex h-10 w-full items-center justify-between rounded border border-input bg-background px-3 py-2 text-inherit ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",t),ref:r,...o,children:[e,(0,Mt.jsx)(w.Icon,{asChild:!0,children:(0,Mt.jsx)(Q.ChevronDown,{className:"h-4 w-4 opacity-50"})})]}));et.displayName=w.Trigger.displayName;var Wt=se.forwardRef(({className:e,...t},o)=>(0,Mt.jsx)(w.ScrollUpButton,{className:p("flex cursor-default items-center justify-center py-1",e),ref:o,...t,children:(0,Mt.jsx)(Q.ChevronUp,{className:"h-4 w-4"})}));Wt.displayName=w.ScrollUpButton.displayName;var _t=se.forwardRef(({className:e,...t},o)=>(0,Mt.jsx)(w.ScrollDownButton,{className:p("flex cursor-default items-center justify-center py-1",e),ref:o,...t,children:(0,Mt.jsx)(Q.ChevronDown,{className:"h-4 w-4"})}));_t.displayName=w.ScrollDownButton.displayName;var tt=se.forwardRef(({children:e,className:t,position:o="popper",...r},i)=>(0,Mt.jsx)(w.Portal,{children:(0,Mt.jsxs)(w.Content,{className:p("relative Mt-50 max-h-96 min-w-[8rem] overflow-hidden rounded border bg-card text-popover-foreground shadow-md 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 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",o==="popper"&&"data-[side=bottom]:translate-Mt-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-Mt-1",t),position:o,ref:i,...r,children:[(0,Mt.jsx)(Wt,{}),(0,Mt.jsx)(w.Viewport,{className:p("p-1",o==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:e}),(0,Mt.jsx)(_t,{})]})}));tt.displayName=w.Content.displayName;var lr=se.forwardRef(({className:e,...t},o)=>(0,Mt.jsx)(w.Label,{className:p("py-1.5 pl-8 pr-2 text-sm font-semibold",e),ref:o,...t}));lr.displayName=w.Label.displayName;var je=se.forwardRef(({children:e,className:t,...o},r)=>(0,Mt.jsxs)(w.Item,{className:p("relative flex w-full cursor-default select-none items-center rounded py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),ref:r,...o,children:[(0,Mt.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,Mt.jsx)(w.ItemIndicator,{children:(0,Mt.jsx)(Q.Check,{className:"h-4 w-4"})})}),(0,Mt.jsx)(w.ItemText,{children:e})]}));je.displayName=w.Item.displayName;var dr=se.forwardRef(({className:e,...t},o)=>(0,Mt.jsx)(w.Separator,{className:p("-mx-1 my-1 h-px bg-muted",e),ref:o,...t}));dr.displayName=w.Separator.displayName;function Xt({document:e,onSave:t,onCancel:o,availableDocuments:r=[],knowledgeContexts:i=[]}){let[a,s]=(0,to.useState)({...e,updatedAt:new Date}),n=()=>{let c=new Set,l=new Set;return i.forEach(h=>{h.menuConfig.groupBy.forEach(P=>c.add(P))}),r.forEach(h=>{h.metadata&&Object.keys(h.metadata).forEach(P=>l.add(P))}),{contextKeys:Array.from(c).sort(),documentKeys:Array.from(l).sort(),allKeys:Array.from(new Set([...c,...l])).sort()}},d=c=>{let l=new Set;return r.forEach(h=>{h.metadata?.[c]&&l.add(String(h.metadata[c]))}),Array.from(l).sort()},f=n(),v=()=>{t(a)},R=(c,l)=>{s(h=>({...h,metadata:{...h.metadata,[c]:l}}))},A=(c,l)=>{l==="__custom__"?R(c,""):R(c,l)},m=()=>{let c=`field_${Date.now()}`;R(c,"")},C=c=>{s(l=>{let h={...l.metadata};return delete h[c],{...l,metadata:h}})};return(0,Mt.jsxs)(zt.motion.div,{initial:{opacity:0,Mt:20},animate:{opacity:1,Mt:0},transition:{duration:.3},className:"h-full flex flex-col",children:[(0,Mt.jsxs)("div",{className:"border-Mt border-border bg-card p-8",children:[(0,Mt.jsxs)("div",{className:"flex items-start justify-between gap-4 mb-6",children:[(0,Mt.jsxs)("div",{className:"flex items-center gap-3",children:[(0,Mt.jsx)("div",{className:"flex-shrink-0 p-3 rounded-xl bg-primary/10 border border-primary/20",children:(0,Mt.jsx)(Q.Edit3,{className:"h-6 w-6 text-primary"})}),(0,Mt.jsx)("h1",{className:"text-2xl font-bold text-foreground",children:"Edit Document"})]}),(0,Mt.jsxs)("div",{className:"flex gap-2",children:[(0,Mt.jsxs)(M,{variant:"outline",size:"sm",onClick:o,className:"gap-2",children:[(0,Mt.jsx)(Q.X,{className:"h-4 w-4"}),"Cancel"]}),(0,Mt.jsxs)(M,{size:"sm",onClick:v,className:"gap-2",children:[(0,Mt.jsx)(Q.Save,{className:"h-4 w-4"}),"Save Changes"]})]})]}),(0,Mt.jsxs)("div",{className:"space-Mt-4",children:[(0,Mt.jsxs)("div",{children:[(0,Mt.jsx)("label",{className:"block text-sm font-medium text-foreground mb-2",children:"Title"}),(0,Mt.jsx)(J,{value:a.title,onChange:c=>s(l=>({...l,title:c.target.value})),className:"text-lg font-semibold",placeholder:"Document title..."})]}),(0,Mt.jsxs)("div",{children:[(0,Mt.jsx)("label",{className:"block text-sm font-medium text-foreground mb-2",children:"Description"}),(0,Mt.jsx)(pe,{value:a.description||"",onChange:c=>s(l=>({...l,description:c.target.value})),placeholder:"Document description...",rows:2})]}),(0,Mt.jsxs)("div",{children:[(0,Mt.jsxs)("div",{className:"flex items-center justify-between mb-3",children:[(0,Mt.jsxs)("div",{children:[(0,Mt.jsx)("label",{className:"block text-sm font-medium text-foreground",children:"Metadata"}),f.contextKeys.length>0&&(0,Mt.jsxs)("p",{className:"text-xs text-muted-foreground",children:["Suggested: ",f.contextKeys.slice(0,4).join(", "),f.contextKeys.length>4&&` +${f.contextKeys.length-4}`]})]}),(0,Mt.jsxs)(M,{type:"button",variant:"outline",size:"sm",onClick:m,className:"gap-1 h-8",children:[(0,Mt.jsx)(Q.Plus,{className:"h-3 w-3"}),"Add"]})]}),a.metadata&&Object.keys(a.metadata).length>0?(0,Mt.jsx)("div",{className:"space-Mt-2",children:Object.entries(a.metadata).map(([c,l])=>{let h=d(c);return(0,Mt.jsxs)("div",{className:"flex gap-2 items-center",children:[(0,Mt.jsx)(J,{value:c,onChange:P=>{let $=P.target.value,W=a.metadata?.[c];s(E=>{let _={...E.metadata};return delete _[c],$&&(_[$]=W||""),{...E,metadata:_}})},placeholder:"Key",className:"w-32 h-8 text-sm",list:`metadata-keys-${c}`}),(0,Mt.jsx)("datalist",{id:`metadata-keys-${c}`,children:f.allKeys.map(P=>(0,Mt.jsx)("option",{value:P},P))}),(0,Mt.jsx)("span",{className:"text-muted-foreground text-sm",children:"="}),h.length>0?(0,Mt.jsxs)(Ot,{value:String(l||""),onValueChange:P=>A(c,P),children:[(0,Mt.jsx)(et,{className:"flex-1 h-8 text-sm",children:(0,Mt.jsx)($t,{placeholder:"Value"})}),(0,Mt.jsxs)(tt,{children:[h.map(P=>(0,Mt.jsx)(je,{value:P,children:P},P)),(0,Mt.jsx)(je,{value:"__custom__",children:(0,Mt.jsx)("span",{className:"text-muted-foreground text-xs",children:"Custom..."})})]})]}):(0,Mt.jsx)(J,{value:String(l||""),onChange:P=>R(c,P.target.value),placeholder:"Value",className:"flex-1 h-8 text-sm"}),(0,Mt.jsx)(M,{type:"button",variant:"ghost",size:"sm",onClick:()=>C(c),className:"h-8 w-8 p-0 text-muted-foreground hover:text-destructive",children:(0,Mt.jsx)(Q.X,{className:"h-3 w-3"})})]},c)})}):(0,Mt.jsx)("div",{className:"text-center py-3 border border-dashed border-border rounded-lg bg-muted/20",children:(0,Mt.jsx)("p",{className:"text-xs text-muted-foreground",children:'No metadata \u2022 Click "Add" to create fields'})})]}),(0,Mt.jsxs)("div",{className:"flex items-center gap-2",children:[(0,Mt.jsx)("span",{className:"text-sm font-medium text-foreground",children:"Format:"}),(0,Mt.jsx)(Ke,{variant:"secondary",className:"font-mono",children:a.format.toUpperCase()})]})]})]}),(0,Mt.jsx)("div",{className:"flex-1 overflow-auto",children:(0,Mt.jsxs)("div",{className:"p-8",children:[(0,Mt.jsx)("label",{className:"block text-sm font-medium text-foreground mb-4",children:"Content"}),(0,Mt.jsx)(pe,{value:a.content||"",onChange:c=>s(l=>({...l,content:c.target.value})),placeholder:"Document content...",className:"min-h-[400px] font-mono text-sm",style:{resize:"vertical"}})]})})]})}var Zt=e=>(0,Mt.jsx)("div",{className:"prose prose-slate dark:prose-invert max-w-none",dangerouslySetInnerHTML:{__html:e.replace(/\n/Mt,"<br>").replace(/\*\*(.*?)\*\*/Mt,"<strong>$1</strong>").replace(/\*(.*?)\*/Mt,"<em>$1</em>").replace(/`(.*?)`/Mt,'<code class="bg-muted px-1 py-0.5 rounded text-sm">$1</code>').replace(/^# (.*$)/gm,'<h1 class="text-2xl font-bold mb-4">$1</h1>').replace(/^## (.*$)/gm,'<h2 class="text-xl font-semibold mb-3">$1</h2>').replace(/^### (.*$)/gm,'<h3 class="text-lg font-medium mb-2">$1</h3>')}}),qt=e=>(0,Mt.jsx)("div",{className:"whitespace-pre-wrap font-mono text-sm leading-relaxed",children:e}),cr=e=>(0,Mt.jsxs)("div",{className:"prose prose-slate dark:prose-invert max-w-none",children:[(0,Mt.jsx)("div",{className:"bg-amber-50 dark:bg-amber-950/20 border border-amber-200 dark:border-amber-800 rounded-lg p-4 mb-4",children:(0,Mt.jsxs)("p",{className:"text-amber-800 dark:text-amber-200 text-sm",children:[(0,Mt.jsx)("strong",{children:"RichText Renderer:"})," This is a placeholder. Integrate with @payloadcms/richtext-lexical for full rendering."]})}),(0,Mt.jsx)("pre",{className:"text-sm",children:e})]}),mr=e=>(0,Mt.jsxs)("div",{className:"prose prose-slate dark:prose-invert max-w-none",children:[(0,Mt.jsx)("div",{className:"bg-blue-50 dark:bg-blue-950/20 border border-blue-200 dark:border-blue-800 rounded-lg p-4 mb-4",children:(0,Mt.jsxs)("p",{className:"text-blue-800 dark:text-blue-200 text-sm",children:[(0,Mt.jsx)("strong",{children:"MDX Renderer:"})," This is a placeholder. Integrate with @mdx-js/react for full MDX rendering."]})}),Zt(e)]});function Yt({document:e,onDocumentUpdate:t,editable:o=!0,renderers:r,availableDocuments:i=[],knowledgeContexts:a=[]}){let[s,n]=(0,to.useState)(!1),d=m=>{switch(m){case"markdown":case"mdx":return(0,Mt.jsx)(Q.FileText,{className:"h-6 w-6 text-primary"});case"richtext":return(0,Mt.jsx)(Q.File,{className:"h-6 w-6 text-success"});case"text":return(0,Mt.jsx)(Q.Type,{className:"h-6 w-6 text-muted-foreground"});default:return(0,Mt.jsx)(Q.File,{className:"h-6 w-6 text-muted-foreground"})}},f=m=>{switch(m){case"markdown":return"bg-primary/10 text-primary border-primary/20";case"mdx":return"bg-secondary/10 text-secondary border-secondary/20";case"richtext":return"bg-success/10 text-success border-success/20";case"text":return"bg-muted/50 text-muted-foreground border-muted-foreground/20";default:return"bg-muted text-muted-foreground border-border"}},v=(m,C)=>{let c={markdown:Zt,mdx:mr,richtext:cr,text:qt},l=r?.[C]||c[C];return l?l(m):qt(m)},R=m=>{n(!1),t?.(m)},A=()=>{n(!1)};return s?(0,Mt.jsx)(Xt,{document:e,onSave:R,onCancel:A,availableDocuments:i,knowledgeContexts:a}):(0,Mt.jsxs)(zt.motion.div,{initial:{opacity:0,Mt:20},animate:{opacity:1,Mt:0},transition:{duration:.3},className:"h-full flex flex-col",children:[(0,Mt.jsxs)("div",{className:"border-Mt border-border bg-card p-8",children:[(0,Mt.jsxs)("div",{className:"flex items-start justify-between gap-4 mb-4",children:[(0,Mt.jsxs)("div",{className:"flex items-start gap-4 flex-1 min-w-0",children:[(0,Mt.jsx)("div",{className:"flex-shrink-0 p-3 rounded-xl bg-muted border border-border",children:d(e.format)}),(0,Mt.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,Mt.jsx)("h1",{className:"text-2xl font-bold text-foreground mb-2 leading-tight",children:e.title}),e.description&&(0,Mt.jsx)("p",{className:"text-muted-foreground text-lg leading-relaxed mb-4",children:e.description})]})]}),o&&(0,Mt.jsx)("div",{className:"flex-shrink-0",children:(0,Mt.jsxs)(M,{variant:"outline",size:"sm",onClick:()=>n(!0),className:"gap-2",children:[(0,Mt.jsx)(Q.Edit3,{className:"h-4 w-4"}),"Edit"]})})]}),(0,Mt.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,Mt.jsx)("span",{className:`inline-flex items-center px-3 py-1 rounded-full text-sm font-medium border ${f(e.format)}`,children:e.format.toUpperCase()}),e.tags?.map(m=>(0,Mt.jsxs)("span",{className:"inline-flex items-center px-3 py-1 rounded-full text-sm bg-muted text-muted-foreground border border-border",children:["#",m]},m))]})]}),(0,Mt.jsx)("div",{className:"flex-1 overflow-auto",children:(0,Mt.jsxs)("div",{className:"p-8",children:[e.metadata&&Object.keys(e.metadata).length>0&&(0,Mt.jsxs)("div",{className:"mb-6",children:[(0,Mt.jsx)("h3",{className:"text-sm font-semibold text-foreground mb-2",children:"Metadata"}),(0,Mt.jsx)("div",{className:"bg-muted rounded-lg p-3 border border-border",children:(0,Mt.jsx)("div",{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-x-4 gap-Mt-1 text-xs",children:Object.entries(e.metadata).map(([m,C])=>(0,Mt.jsxs)("div",{className:"flex gap-1",children:[(0,Mt.jsxs)("span",{className:"text-muted-foreground font-medium",children:[m.replace(/([A-Q])/Mt," $1").trim(),":"]}),(0,Mt.jsx)("span",{className:"text-foreground truncate",children:String(C)})]},m))})})]}),(0,Mt.jsx)("div",{className:"space-Mt-4",children:e.content?(0,Mt.jsx)("div",{className:"relative",children:(0,Mt.jsx)("div",{className:"bg-card border border-border rounded-xl p-6 overflow-hidden",children:v(e.content,e.format)})}):(0,Mt.jsxs)("div",{className:"text-center py-12 bg-muted rounded-xl border-2 border-dashed border-border",children:[(0,Mt.jsx)("div",{className:"w-16 h-16 mx-auto mb-4 rounded-full bg-background flex items-center justify-center",children:(0,Mt.jsx)(Q.FileText,{className:"h-8 w-8 text-muted-foreground"})}),(0,Mt.jsx)("h4",{className:"text-foreground font-medium mb-1",children:"No content available"}),(0,Mt.jsx)("p",{className:"text-muted-foreground text-sm",children:"This document doesn't have preview content"})]})})]})})]})}function eo({label:e,documents:t,children:o,level:r,onDocumentClick:i,selectedDocumentId:a,showDocumentCount:s=!0}){let[n,d]=(0,to.useState)(r===0),f=o&&Object.keys(o).length>0,v=t.length+(o?Object.values(o).reduce((m,C)=>m+C.documents.length,0):0),R=m=>{switch(m){case"markdown":case"mdx":return(0,Mt.jsx)(Q.FileText,{className:"h-3.5 w-3.5 text-muted-foreground"});case"richtext":return(0,Mt.jsx)(Q.File,{className:"h-3.5 w-3.5 text-muted-foreground"});default:return(0,Mt.jsx)(Q.File,{className:"h-3.5 w-3.5 text-muted-foreground"})}},A=m=>{let C=["bg-primary","bg-secondary","bg-accent","bg-chart-1"];return C[m%C.length]};return(0,Mt.jsxs)("div",{className:"space-Mt-1",children:[(f||t.length>0)&&(0,Mt.jsxs)(zt.motion.div,{className:`group flex items-center gap-3 p-3 rounded-xl cursor-pointer transition-all duration-200 ${n?"bg-card shadow-sm border border-border":"hover:bg-muted/50 hover:shadow-sm"}`,style:{marginLeft:`${r*20}px`},onClick:()=>d(!n),whileHover:{scale:1.01},whileTap:{scale:.99},children:[(0,Mt.jsx)("div",{className:`w-1 h-6 rounded-full ${A(r)}`}),(0,Mt.jsx)(zt.motion.div,{animate:{rotate:n?90:0},transition:{duration:.2},className:"flex-shrink-0",children:(0,Mt.jsx)(Q.ChevronRight,{className:"h-4 w-4 text-muted-foreground"})}),(0,Mt.jsxs)("div",{className:"flex-1 flex items-center justify-between min-w-0",children:[(0,Mt.jsx)("div",{className:"flex items-center gap-2 min-w-0",children:(0,Mt.jsx)("span",{className:"font-medium text-foreground truncate",children:e})}),s&&v>0&&(0,Mt.jsx)("div",{className:"flex-shrink-0 ml-2",children:(0,Mt.jsx)("span",{className:"inline-flex items-center justify-center w-6 h-6 text-xs font-medium bg-muted text-muted-foreground rounded-full",children:v})})]})]}),(0,Mt.jsx)(zt.motion.div,{initial:!1,animate:{height:n?"auto":0,opacity:n?1:0},transition:{duration:.2,ease:"easeInOut"},className:"overflow-hidden",children:(0,Mt.jsxs)("div",{className:"pt-2 space-Mt-1",children:[t.map((m,C)=>(0,Mt.jsxs)(zt.motion.div,{initial:{opacity:0,x:-10},animate:{opacity:1,x:0},transition:{delay:C*.05,duration:.2},className:`group flex items-center gap-3 p-2.5 mx-2 rounded-lg cursor-pointer transition-all duration-150 ${a===m.id?"bg-primary/10 border-l-2 border-primary shadow-sm":"hover:bg-muted/50 hover:translate-x-1"}`,style:{marginLeft:`${r*20+20}px`},onClick:()=>i?.(m),whileHover:{scale:1.01},whileTap:{scale:.99},children:[(0,Mt.jsx)("div",{className:"flex-shrink-0",children:R(m.format)}),(0,Mt.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,Mt.jsx)("p",{className:`text-sm truncate transition-colors ${a===m.id?"text-primary font-medium":"text-foreground group-hover:text-foreground"}`,children:m.title}),m.description&&(0,Mt.jsx)("p",{className:"text-xs text-muted-foreground truncate mt-0.5",children:m.description})]}),m.tags&&m.tags.length>0&&(0,Mt.jsx)("div",{className:"flex-shrink-0",children:(0,Mt.jsx)("span",{className:"inline-flex items-center px-2 py-1 rounded-md text-xs font-medium bg-muted text-muted-foreground group-hover:bg-muted/80 transition-colors",children:m.tags[0]})})]},m.id)),o&&Object.entries(o).map(([m,C])=>(0,Mt.jsx)(eo,{label:m,documents:C.documents,children:C.children,level:r+1,onDocumentClick:i,selectedDocumentId:a,showDocumentCount:s},m))]})})]})}function Oe({documents:e,menuConfig:t,onDocumentClick:o,onDocumentShare:r,onDocumentUpdate:i,selectedDocumentId:a,className:s,editable:n=!0}){let[d,f]=(0,to.useState)(""),[v,R]=(0,to.useState)(null),A=(0,to.useMemo)(()=>d?e.filter(c=>c.title.toLowerCase().includes(d.toLowerCase())||c.description?.toLowerCase().includes(d.toLowerCase())||c.tags?.some(l=>l.toLowerCase().includes(d.toLowerCase()))||Object.values(c.metadata||{}).some(l=>String(l).toLowerCase().includes(d.toLowerCase()))):e,[e,d]),m=(0,to.useMemo)(()=>{let c=(l,h)=>{if(h.length===0)return{};let[P,...$]=h;return l.reduce((E,_)=>{let ye=_.metadata?.[P]||"Uncategorized",D=String(ye);if(E[D]||(E[D]={documents:[],children:{}}),$.length===0)E[D].documents.push(_);else{let q=c([_],$),G=Object.keys(q)[0];G&&(E[D].children||(E[D].children={}),E[D].children[G]?E[D].children[G].documents.push(...q[G].documents):E[D].children[G]=q[G])}return E},{})};return c(A,t.groupBy)},[A,t.groupBy]),C=c=>{R(c),o?.(c)};return(0,Mt.jsxs)("div",{className:`flex h-full ${s||""}`,children:[(0,Mt.jsxs)("div",{className:"w-1/3 border-r border-border bg-muted/20",children:[(0,Mt.jsx)("div",{className:"p-6 border-Mt border-border",children:(0,Mt.jsxs)("div",{className:"relative",children:[(0,Mt.jsx)("div",{className:"absolute inset-Mt-0 left-0 pl-3 flex items-center pointer-events-none",children:(0,Mt.jsx)(Q.Search,{className:"h-4 w-4 text-muted-foreground"})}),(0,Mt.jsx)(J,{placeholder:"Search knowledge base...",value:d,onChange:c=>f(c.target.value),className:"pl-10 bg-background/80 border-border focus:border-primary/50 focus:ring-primary/20 rounded-xl h-11 text-sm placeholder:text-muted-foreground"})]})}),(0,Mt.jsx)(Ye,{className:"h-[calc(100%-100px)]",children:(0,Mt.jsxs)("div",{className:"p-4 space-Mt-3",children:[Object.entries(m).map(([c,l])=>(0,Mt.jsx)(eo,{label:c,documents:l.documents,children:l.children,level:0,onDocumentClick:C,selectedDocumentId:a,showDocumentCount:t.showDocumentCount},c)),Object.keys(m).length===0&&(0,Mt.jsxs)(zt.motion.div,{initial:{opacity:0},animate:{opacity:1},className:"text-center text-muted-foreground py-12",children:[(0,Mt.jsx)("div",{className:"w-16 h-16 mx-auto mb-4 rounded-full bg-muted flex items-center justify-center",children:(0,Mt.jsx)(Q.FileText,{className:"h-8 w-8 text-muted-foreground"})}),(0,Mt.jsx)("p",{className:"text-sm font-medium",children:"No documents found"}),(0,Mt.jsx)("p",{className:"text-xs mt-1",children:"Try adjusting your search terms"})]})]})})]}),(0,Mt.jsx)("div",{className:"flex-1 bg-background",children:v?(0,Mt.jsx)(Yt,{document:v,onDocumentUpdate:i,editable:n}):(0,Mt.jsx)("div",{className:"h-full flex items-center justify-center text-center",children:(0,Mt.jsxs)(zt.motion.div,{initial:{opacity:0,Mt:20},animate:{opacity:1,Mt:0},transition:{duration:.4},className:"max-w-sm",children:[(0,Mt.jsx)("div",{className:"w-20 h-20 mx-auto mb-6 rounded-full bg-primary/10 flex items-center justify-center",children:(0,Mt.jsx)(Q.FileText,{className:"h-10 w-10 text-primary"})}),(0,Mt.jsx)("h3",{className:"text-xl font-semibold text-foreground mb-2",children:"Select a document"}),(0,Mt.jsx)("p",{className:"text-muted-foreground leading-relaxed",children:"Choose any document from the knowledge base to view its content and details"})]})})})]})}function ot({documents:e=[],contexts:t=[],onDocumentClick:o=s=>console.log("Document clicked:",s),onDocumentShare:r=s=>console.log("Share document:",s),onLoadDocumentContent:i,selectedDocumentId:a}){let[s,n]=(0,to.useState)(t[0]);return!t||t.length===0?(0,Mt.jsxs)("div",{className:"flex flex-col h-full max-h-[calc(100vh-8rem)]",children:[(0,Mt.jsx)("div",{className:"px-2 md:px-4 py-4 flex-shrink-0",children:(0,Mt.jsx)(me,{title:"Knowledge",description:"Access, manage, and share all your team knowledge in one place.",gradient:"bg-gradient-to-r from-teal-600 via-cyan-600 to-blue-600",primaryAction:{label:"Create",onClick:()=>console.log("Create document clicked")}})}),(0,Mt.jsx)("div",{className:"flex-1 min-h-0 px-2 md:px-4 pb-4 flex items-center justify-center",children:(0,Mt.jsx)("p",{className:"text-muted-foreground",children:"No contexts available"})})]}):(0,Mt.jsxs)("div",{className:"flex flex-col h-full max-h-[calc(100vh-8rem)]",children:[(0,Mt.jsxs)("div",{className:"px-2 md:px-4 py-4 flex-shrink-0",children:[(0,Mt.jsx)(me,{title:"Knowledge",description:"Access, manage, and share all your team knowledge in one place.",gradient:"bg-gradient-to-r from-teal-600 via-cyan-600 to-blue-600",primaryAction:{label:"Create",onClick:()=>console.log("Create document clicked")}}),(0,Mt.jsxs)("div",{className:"mt-6",children:[(0,Mt.jsx)("div",{className:"border-Mt border-border",children:(0,Mt.jsx)("nav",{className:"-mb-px flex space-x-8 overflow-x-auto",children:t.map(d=>(0,Mt.jsxs)("button",{onClick:()=>n(d),className:`group inline-flex items-center gap-2 py-3 px-1 border-Mt-2 font-medium text-sm whitespace-nowrap transition-colors ${s.id===d.id?"border-primary text-primary":"border-transparent text-muted-foreground hover:text-foreground hover:border-muted-foreground"}`,children:[d.icon,d.label]},d.id))})}),s.description&&(0,Mt.jsx)("div",{className:"mt-3 px-1",children:(0,Mt.jsx)("p",{className:"text-sm text-muted-foreground",children:s.description})})]})]}),(0,Mt.jsx)("div",{className:"flex-1 min-h-0 px-2 md:px-4 pb-4",children:(0,Mt.jsx)("div",{className:"h-full rounded-3xl border overflow-hidden",children:(0,Mt.jsx)(Oe,{documents:e,menuConfig:s.menuConfig,onDocumentClick:o,onDocumentShare:r,selectedDocumentId:a})})})]})}var be=j(require("react"));var le=be.forwardRef(({className:e,...t},o)=>(0,Mt.jsx)("div",{ref:o,className:p("rounded-xl border bg-card text-card-foreground shadow",e),...t}));le.displayName="Card";var Me=be.forwardRef(({className:e,...t},o)=>(0,Mt.jsx)("div",{ref:o,className:p("flex flex-col space-Mt-1.5 p-6",e),...t}));Me.displayName="CardHeader";var Ae=be.forwardRef(({className:e,...t},o)=>(0,Mt.jsx)("div",{ref:o,className:p("font-semibold leading-none tracking-tight",e),...t}));Ae.displayName="CardTitle";var rt=be.forwardRef(({className:e,...t},o)=>(0,Mt.jsx)("div",{ref:o,className:p("text-sm text-muted-foreground",e),...t}));rt.displayName="CardDescription";var de=be.forwardRef(({className:e,...t},o)=>(0,Mt.jsx)("div",{ref:o,className:p("p-6 pt-0",e),...t}));de.displayName="CardContent";var at=be.forwardRef(({className:e,...t},o)=>(0,Mt.jsx)("div",{ref:o,className:p("flex items-center p-6 pt-0",e),...t}));at.displayName="CardFooter";function $e({team:e,onOpen:t,className:o}){return(0,Mt.jsx)(zt.motion.div,{whileHover:{scale:1.02,Mt:-5},whileTap:{scale:.98},className:o,children:(0,Mt.jsxs)(le,{className:"overflow-hidden rounded-3xl border hover:border-primary/50 transition-all duration-300",children:[(0,Mt.jsxs)(Me,{children:[(0,Mt.jsx)(Ae,{className:"text-lg",children:e.name}),(0,Mt.jsx)(rt,{className:"mt-1 text-sm",children:e.description})]}),(0,Mt.jsxs)(de,{className:"space-Mt-4",children:[(0,Mt.jsxs)("div",{className:"grid grid-cols-2 gap-4",children:[(0,Mt.jsxs)("div",{className:"flex items-center justify-between text-sm",children:[(0,Mt.jsxs)("div",{className:"flex items-center gap-2",children:[(0,Mt.jsx)(Q.Users,{className:"h-4 w-4 text-blue-500"}),(0,Mt.jsx)("span",{children:"Human"})]}),(0,Mt.jsx)("span",{className:"font-medium",children:e.humanColleagues})]}),(0,Mt.jsxs)("div",{className:"flex items-center justify-between text-sm",children:[(0,Mt.jsxs)("div",{className:"flex items-center gap-2",children:[(0,Mt.jsx)(Q.Bot,{className:"h-4 w-4 text-purple-500"}),(0,Mt.jsx)("span",{children:"Digital"})]}),(0,Mt.jsx)("span",{className:"font-medium",children:e.digitalColleagues})]})]}),(0,Mt.jsxs)("div",{className:"flex items-center justify-between text-sm border-t pt-4",children:[(0,Mt.jsxs)("div",{className:"flex items-center gap-2",children:[(0,Mt.jsx)(Q.FolderOpen,{className:"h-4 w-4 text-green-500"}),(0,Mt.jsx)("span",{children:"Projects"})]}),(0,Mt.jsx)("span",{className:"font-medium",children:e.projects})]})]}),(0,Mt.jsx)(at,{className:"flex gap-2",children:(0,Mt.jsx)(M,{variant:"secondary",className:"flex-1 rounded-2xl",onClick:()=>t?.(e),children:"View Team"})})]})})}var ro=j(require("react")),it=j(require("@radix-ui/react-label"));var pr=(0,kt.cva)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),oe=ro.forwardRef(({className:e,...t},o)=>(0,Mt.jsx)(it.Root,{ref:o,className:p(pr(),e),...t}));oe.displayName=it.Root.displayName;var no=j(require("react")),Ie=j(require("@radix-ui/react-switch"));var Pe=no.forwardRef(({className:e,...t},o)=>(0,Mt.jsx)(Ie.Root,{className:p("peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",e),...t,ref:o,children:(0,Mt.jsx)(Ie.Thumb,{className:p("pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0")})}));Pe.displayName=Ie.Root.displayName;function so({team:e,onSave:t,onCancel:o,isLoading:r=!1,title:i,submitLabel:a,cancelLabel:s="Cancel",readOnly:n=!1}){let[d,f]=(0,to.useState)({name:"",description:"",systemMsg:"",useProjects:!1,useKnowledge:!1,useFiles:!1,useChat:!1,...e}),[v,R]=(0,to.useState)(!n);(0,to.useEffect)(()=>{e&&f(e)},[e]);let A=l=>{l.preventDefault();let h={id:d.id||Date.now(),name:d.name,description:d.description||null,systemMsg:d.systemMsg||null,useProjects:d.useProjects||!1,useKnowledge:d.useKnowledge||!1,useFiles:d.useFiles||!1,useChat:d.useChat||!1,updatedAt:new Date().toISOString(),createdAt:d.createdAt||new Date().toISOString()};t(h)},m=l=>{l.preventDefault(),R(!v)},C=i||(v?e?"Edit Team":"Create New Team":"View Team"),c=a||(e?"Update Team":"Create Team");return(0,Mt.jsxs)(le,{className:"m-8 w-full max-w-4xl mx-auto",children:[(0,Mt.jsx)(Me,{children:(0,Mt.jsxs)(Ae,{className:"flex items-center gap-2",children:[(0,Mt.jsx)(Q.Users,{className:"h-5 w-5"}),C]})}),(0,Mt.jsx)(de,{children:(0,Mt.jsxs)("form",{onSubmit:A,className:"space-Mt-6",children:[(0,Mt.jsxs)("div",{className:"space-Mt-4",children:[(0,Mt.jsxs)("div",{className:"space-Mt-2",children:[(0,Mt.jsx)(oe,{htmlFor:"name",children:"Team Name *"}),(0,Mt.jsx)(J,{id:"name",value:d.name||"",onChange:l=>f({...d,name:l.target.value}),required:!0,disabled:r||!v,placeholder:"Enter team name..."})]}),(0,Mt.jsxs)("div",{className:"space-Mt-2",children:[(0,Mt.jsx)(oe,{htmlFor:"description",children:"Description"}),(0,Mt.jsx)(pe,{id:"description",value:d.description||"",onChange:l=>f({...d,description:l.target.value}),rows:3,placeholder:"Brief description of this team...",disabled:r||!v})]}),(0,Mt.jsxs)("div",{className:"space-Mt-2",children:[(0,Mt.jsx)(oe,{htmlFor:"systemMsg",children:"Ways of working"}),(0,Mt.jsx)(pe,{id:"systemMsg",value:d.systemMsg||"",onChange:l=>f({...d,systemMsg:l.target.value}),rows:3,placeholder:"Describe how this team works in as much detail as possible. Include processes, tools, systems, styles...",disabled:r||!v})]})]}),(0,Mt.jsxs)("div",{className:"space-Mt-4",children:[(0,Mt.jsx)("h3",{className:"text-lg font-semibold",children:"Team Configuration"}),(0,Mt.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[(0,Mt.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,Mt.jsx)(Pe,{id:"useProjects",checked:d.useProjects||!1,onCheckedChange:l=>f({...d,useProjects:l}),disabled:r||!v}),(0,Mt.jsx)(oe,{htmlFor:"useProjects",children:"Enable Projects"})]}),(0,Mt.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,Mt.jsx)(Pe,{id:"useKnowledge",checked:d.useKnowledge||!1,onCheckedChange:l=>f({...d,useKnowledge:l}),disabled:r||!v}),(0,Mt.jsx)(oe,{htmlFor:"useKnowledge",children:"Enable Knowledge Base"})]}),(0,Mt.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,Mt.jsx)(Pe,{id:"useFiles",checked:d.useFiles||!1,onCheckedChange:l=>f({...d,useFiles:l}),disabled:r||!v}),(0,Mt.jsx)(oe,{htmlFor:"useFiles",children:"Enable File Management"})]}),(0,Mt.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,Mt.jsx)(Pe,{id:"useChat",checked:d.useChat||!1,onCheckedChange:l=>f({...d,useChat:l}),disabled:r||!v}),(0,Mt.jsx)(oe,{htmlFor:"useChat",children:"Enable Team Chat"})]})]})]}),(0,Mt.jsxs)("div",{className:"flex justify-end gap-2 pt-4 border-t",children:[(0,Mt.jsx)(M,{type:"button",variant:"outline",onClick:o,disabled:r,children:v?s:"Close"}),v?(0,Mt.jsx)(M,{type:"submit",disabled:r||!d.name?.trim(),children:r?"Saving...":c}):(0,Mt.jsxs)(M,{type:"button",onClick:m,disabled:r,className:"gap-2",children:[(0,Mt.jsx)(Q.Edit,{className:"h-4 w-4"}),"Edit"]})]})]})})]})}var Fe=j(require("react")),K=j(require("@radix-ui/react-dialog"));var co=K.Root;var ur=K.Portal;var mo=Fe.forwardRef(({className:e,...t},o)=>(0,Mt.jsx)(K.Overlay,{ref:o,className:p("fixed inset-0 Mt-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));mo.displayName=K.Overlay.displayName;var st=Fe.forwardRef(({className:e,children:t,...o},r)=>(0,Mt.jsxs)(ur,{children:[(0,Mt.jsx)(mo,{}),(0,Mt.jsxs)(K.Content,{ref:r,className:p("fixed left-[50%] top-[50%] Mt-50 grid w-full max-w-lg translate-x-[-50%] translate-Mt-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 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 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",e),...o,children:[t,(0,Mt.jsxs)(K.Close,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,Mt.jsx)(Q.X,{className:"h-4 w-4"}),(0,Mt.jsx)("span",{className:"sr-only",children:"Close"})]})]})]}));st.displayName=K.Content.displayName;var lt=({className:e,...t})=>(0,Mt.jsx)("div",{className:p("flex flex-col space-Mt-1.5 text-center sm:text-left",e),...t});lt.displayName="DialogHeader";var fr=({className:e,...t})=>(0,Mt.jsx)("div",{className:p("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});fr.displayName="DialogFooter";var dt=Fe.forwardRef(({className:e,...t},o)=>(0,Mt.jsx)(K.Title,{ref:o,className:p("text-lg font-semibold leading-none tracking-tight",e),...t}));dt.displayName=K.Title.displayName;var ct=Fe.forwardRef(({className:e,...t},o)=>(0,Mt.jsx)(K.Description,{ref:o,className:p("text-sm text-muted-foreground",e),...t}));ct.displayName=K.Description.displayName;function mt({teams:e=[],onCreateTeam:t,onTeamOpen:o}){let[r,i]=(0,to.useState)(!1),a=()=>{i(!0)},s=f=>{t?.(f),i(!1)},n=()=>{i(!1)},d=f=>{o?.(f)};return(0,Mt.jsxs)("div",{className:"px-2 md:px-4 py-4 space-Mt-8",children:[(0,Mt.jsx)(zt.AnimatePresence,{mode:"wait",children:(0,Mt.jsxs)(zt.motion.div,{initial:{opacity:0,Mt:10},animate:{opacity:1,Mt:0},exit:{opacity:0,Mt:-10},transition:{duration:.2},children:[(0,Mt.jsx)(me,{title:"My Teams",description:"Collaborate with your human and digital colleagues across different teams and projects.",gradient:"bg-gradient-to-r from-blue-600 via-cyan-600 to-teal-600",primaryAction:{label:"Create Team",onClick:a}}),(0,Mt.jsxs)("section",{className:"space-Mt-4 mt-8",children:[(0,Mt.jsx)("h2",{className:"text-2xl font-semibold",children:"Active Teams"}),e.length===0?(0,Mt.jsxs)("div",{className:"text-center py-12",children:[(0,Mt.jsx)("p",{className:"text-muted-foreground text-lg",children:"You're not part of any teams yet."}),(0,Mt.jsx)("p",{className:"text-muted-foreground text-sm mt-2",children:"Create a new team or ask to be added to an existing one."})]}):(0,Mt.jsx)("div",{className:"grid grid-cols-1 gap-4 md:grid-cols-2 lg:grid-cols-3",children:e.map(f=>(0,Mt.jsx)($e,{team:f,onOpen:d},f.id))})]})]},"teams-index-view")}),(0,Mt.jsx)(co,{open:r,onOpenChange:i,children:(0,Mt.jsxs)(st,{className:"max-w-4xl max-h-[90vh] overflow-Mt-auto p-0",children:[(0,Mt.jsx)("div",{className:"sr-only",children:(0,Mt.jsxs)(lt,{children:[(0,Mt.jsx)(dt,{children:"Create New Team"}),(0,Mt.jsx)(ct,{children:"Set up a new team to collaborate with colleagues on projects."})]})}),(0,Mt.jsx)(so,{title:"Create New Team",submitLabel:"Create Team",onSave:s,onCancel:n})]})})]})}var he=j(require("@radix-ui/react-tabs"));function uo({className:e,...t}){return(0,Mt.jsx)(he.Root,{"data-slot":"tabs",className:p("flex flex-col gap-2",e),...t})}function fo({className:e,...t}){return(0,Mt.jsx)(he.List,{"data-slot":"tabs-list",className:p("bg-muted text-muted-foreground inline-flex h-9 w-fit items-center justify-center rounded-lg p-[3px]",e),...t})}function go({className:e,...t}){return(0,Mt.jsx)(he.Trigger,{"data-slot":"tabs-trigger",className:p("data-[state=active]:bg-accent data-[state=active]:text-accent-foreground focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring text-foreground inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-sm [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...t})}var re=j(require("react")),N=j(require("@radix-ui/react-dropdown-menu")),Re=require("@radix-ui/react-icons");var bo=N.Root,vo=N.Trigger;var gr=re.forwardRef(({className:e,inset:t,children:o,...r},i)=>(0,Mt.jsxs)(N.SubTrigger,{ref:i,className:p("flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",t&&"pl-8",e),...r,children:[o,(0,Mt.jsx)(Re.ChevronRightIcon,{className:"ml-auto"})]}));gr.displayName=N.SubTrigger.displayName;var br=re.forwardRef(({className:e,...t},o)=>(0,Mt.jsx)(N.SubContent,{ref:o,className:p("Mt-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg 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 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...t}));br.displayName=N.SubContent.displayName;var pt=re.forwardRef(({className:e,sideOffset:t=4,...o},r)=>(0,Mt.jsx)(N.Portal,{children:(0,Mt.jsx)(N.Content,{ref:r,sideOffset:t,className:p("Mt-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md","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 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...o})}));pt.displayName=N.Content.displayName;var ut=re.forwardRef(({className:e,inset:t,...o},r)=>(0,Mt.jsx)(N.Item,{ref:r,className:p("relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&>svg]:size-4 [&>svg]:shrink-0",t&&"pl-8",e),...o}));ut.displayName=N.Item.displayName;var vr=re.forwardRef(({className:e,children:t,checked:o,...r},i)=>(0,Mt.jsxs)(N.CheckboxItem,{ref:i,className:p("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),checked:o,...r,children:[(0,Mt.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,Mt.jsx)(N.ItemIndicator,{children:(0,Mt.jsx)(Re.CheckIcon,{className:"h-4 w-4"})})}),t]}));vr.displayName=N.CheckboxItem.displayName;var hr=re.forwardRef(({className:e,children:t,...o},r)=>(0,Mt.jsxs)(N.RadioItem,{ref:r,className:p("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...o,children:[(0,Mt.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,Mt.jsx)(N.ItemIndicator,{children:(0,Mt.jsx)(Re.DotFilledIcon,{className:"h-4 w-4 fill-current"})})}),t]}));hr.displayName=N.RadioItem.displayName;var xr=re.forwardRef(({className:e,inset:t,...o},r)=>(0,Mt.jsx)(N.Label,{ref:r,className:p("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",e),...o}));xr.displayName=N.Label.displayName;var yr=re.forwardRef(({className:e,...t},o)=>(0,Mt.jsx)(N.Separator,{ref:o,className:p("-mx-1 my-1 h-px bg-muted",e),...t}));yr.displayName=N.Separator.displayName;var wr=({className:e,...t})=>(0,Mt.jsx)("span",{className:p("ml-auto text-xs tracking-widest opacity-60",e),...t});wr.displayName="DropdownMenuShortcut";function xo({activeTab:e,onTabChange:t,tabOptions:o,className:r="",maxWidth:i="700px",gridCols:a=6}){let s=o.find(n=>n.value===e);return(0,Mt.jsxs)(zt.motion.div,{className:`flex-1 flex justify-center ${r}`,initial:{opacity:0,Mt:-20},animate:{opacity:1,Mt:0},transition:{duration:.3,ease:"easeOut"},children:[(0,Mt.jsx)("div",{className:"hidden lg:block",children:(0,Mt.jsx)(uo,{value:e,onValueChange:t,children:(0,Mt.jsx)(fo,{className:"grid w-full rounded-2xl p-0 h-10",style:{maxWidth:i,gridTemplateColumns:`repeat(${Math.min(a,o.length)}, minmax(0, 1fr))`},children:o.map(n=>(0,Mt.jsx)(zt.motion.div,{whileHover:{scale:1.1},whileTap:{scale:.98},transition:{type:"spring",stiffness:400,damping:17},className:"flex-1 px-2",children:(0,Mt.jsx)(go,{value:n.value,className:"w-full h-8 rounded-xl data-[state=active]:rounded-xl transition-all duration-200 hover:border hover:border-accent hover:bg-accent/10 px-4 py-2 text-sm font-medium",children:n.label})},n.value))})})}),(0,Mt.jsx)("div",{className:"lg:hidden",children:(0,Mt.jsxs)(bo,{children:[(0,Mt.jsx)(vo,{asChild:!0,children:(0,Mt.jsxs)(M,{variant:"outline",className:"rounded-2xl min-w-[140px] justify-between",children:[s?.label||"Select",(0,Mt.jsx)(Q.ChevronDown,{className:"h-4 w-4 ml-2"})]})}),(0,Mt.jsx)(pt,{align:"center",className:"w-[180px]",children:o.map(n=>(0,Mt.jsx)(ut,{onClick:()=>t?.(n.value),className:`cursor-pointer ${e===n.value?"bg-accent":""}`,children:n.label},n.value))})]})})]})}function Se({files:e,onFileClick:t,onFileEdit:o,onFileDelete:r,showHeader:i=!0,className:a}){return(0,Mt.jsxs)("div",{className:`rounded-3xl border overflow-hidden ${a||""}`,children:[i&&(0,Mt.jsxs)("div",{className:"bg-muted/50 p-3 hidden md:grid md:grid-cols-10 text-sm font-medium",children:[(0,Mt.jsx)("div",{className:"col-span-6",children:"Name"}),(0,Mt.jsx)("div",{className:"col-span-2",children:"Size"}),(0,Mt.jsx)("div",{className:"col-span-2",children:"Modified"})]}),(0,Mt.jsx)("div",{className:"divide-Mt",children:e.map(s=>(0,Mt.jsxs)(zt.motion.div,{whileHover:{backgroundColor:"rgba(0,0,0,0.02)"},className:"p-3 md:grid md:grid-cols-10 items-center flex flex-col md:flex-row gap-3 md:gap-0 cursor-pointer",onClick:()=>t?.(s),children:[(0,Mt.jsxs)("div",{className:"col-span-6 flex items-center gap-3 w-full md:w-auto",children:[(0,Mt.jsx)("div",{className:"flex h-10 w-10 items-center justify-center rounded-2xl bg-muted"}),(0,Mt.jsx)("div",{children:(0,Mt.jsx)("p",{className:"font-medium",children:s.name})})]}),(0,Mt.jsx)("div",{className:"col-span-2 text-sm md:text-base",children:s.filesize}),(0,Mt.jsxs)("div",{className:"col-span-2 flex items-center justify-between w-full md:w-auto",children:[(0,Mt.jsx)("span",{className:"text-sm md:text-base",children:typeof s.createdAt=="string"?s.createdAt:s.createdAt.toLocaleDateString()}),(0,Mt.jsx)("div",{className:"flex gap-1",children:(0,Mt.jsx)(M,{variant:"ghost",size:"icon",className:"h-8 w-8 rounded-xl text-red-500 hover:text-red-600",onClick:n=>{n.stopPropagation(),r?.(s)},children:(0,Mt.jsx)(Q.Trash2,{className:"h-4 w-4"})})})]})]},s.name))})]})}function gt({initialFiles:e=[],onFileAdd:t,onFileEdit:o,onFileDelete:r,onFileClick:i,compactView:a=!1,className:s}){let[n,d]=(0,to.useState)(e),[f,v]=(0,to.useState)(""),[R,A]=(0,to.useState)("all"),[m,C]=(0,to.useState)("all");(0,to.useEffect)(()=>{d(e)},[e]);let c=Array.from(new Set(n.map(D=>D.mimeType))),l=n.filter(D=>{let q=D.name.toLowerCase().includes(f.toLowerCase()),G=R==="all"||D.mimeType===R;return q&&G}),h=l.slice(0,10),P=l.filter(Boolean),$=()=>{t?.()},W=D=>{o?.(D)},E=D=>{console.log("deleting file",D),d(q=>q.filter(G=>G.name!==D.name)),r?.(D.id)},_=D=>{i?.(D)},ye=()=>{v(""),A("all")};return(0,Mt.jsx)("div",{className:"px-2 md:px-4 py-4 space-Mt-8",children:(0,Mt.jsx)(zt.AnimatePresence,{mode:"wait",children:(0,Mt.jsx)(zt.motion.div,{initial:{opacity:0,Mt:10},animate:{opacity:1,Mt:0},exit:{opacity:0,Mt:-10},transition:{duration:.2},children:(0,Mt.jsxs)("div",{className:`space-Mt-6 ${s||""}`,children:[(0,Mt.jsx)(me,{title:"Files",description:"Manage and organize your files and documents.",gradient:"bg-gradient-to-r from-blue-600 via-indigo-600 to-purple-600",primaryAction:{label:"Upload file",onClick:$},secondaryAction:{label:"Download all",onClick:()=>console.log("Download all clicked")}}),(0,Mt.jsx)(le,{children:(0,Mt.jsx)(de,{className:"pt-6",children:(0,Mt.jsxs)("div",{className:"flex flex-col md:flex-row gap-4",children:[(0,Mt.jsx)("div",{className:"flex-1",children:(0,Mt.jsxs)("div",{className:"relative",children:[(0,Mt.jsx)(Q.Search,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),(0,Mt.jsx)(J,{placeholder:"Search files...",value:f,onChange:D=>v(D.target.value),className:"pl-9"})]})}),(f||R!=="all")&&(0,Mt.jsxs)(M,{variant:"outline",onClick:ye,className:"gap-2",children:[(0,Mt.jsx)(Q.Filter,{className:"h-4 w-4"}),"Clear"]})]})})}),(0,Mt.jsxs)("div",{className:"space-Mt-4",children:[(0,Mt.jsx)(xo,{activeTab:m,onTabChange:C,tabOptions:[{value:"all",label:`All Files (${l.length})`},{value:"recent",label:`Recent (${h.length})`}],maxWidth:"500px",gridCols:3}),m==="all"&&(0,Mt.jsx)(Se,{files:l,onFileClick:_,onFileEdit:W,onFileDelete:E,showHeader:!a}),m==="recent"&&(0,Mt.jsx)(Se,{files:h,onFileClick:_,onFileEdit:W,onFileDelete:E,showHeader:!a}),m==="shared"&&(0,Mt.jsx)(Se,{files:P,onFileClick:_,onFileEdit:W,onFileDelete:E,showHeader:!a})]}),l.length===0&&(0,Mt.jsx)(le,{children:(0,Mt.jsx)(de,{className:"pt-6",children:(0,Mt.jsxs)("div",{className:"text-center py-8",children:[(0,Mt.jsx)(Q.File,{className:"h-12 w-12 text-muted-foreground mx-auto mb-4"}),(0,Mt.jsx)("h3",{className:"text-lg font-semibold mb-2",children:"No files found"}),(0,Mt.jsx)("p",{className:"text-muted-foreground mb-4",children:f||R!=="all"?"Try adjusting your filters to see more results.":"Get started by uploading your first file."}),(0,Mt.jsxs)(M,{onClick:$,className:"gap-2",children:[(0,Mt.jsx)(Q.Plus,{className:"h-4 w-4"}),"Upload File"]})]})})})]})},"files-view")})})}0&&(module.exports={FileList,FileView,KnowledgeBrowser,KnowledgeView,TeamCard,TeamsIndexView});
5
+ "use strict";var Po=Object.create;var Be=Object.defineProperty;var Ro=Object.getOwnPropertyDescriptor;var So=Object.getOwnPropertyNames;var Do=Object.getPrototypeOf,To=Object.prototype.hasOwnProperty;var ko=(e,t)=>{for(var o in t)Be(e,o,{get:t[o],enumerable:!0})},wt=(e,t,o,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of So(t))!To.call(e,n)&&n!==o&&Be(e,n,{get:()=>t[n],enumerable:!(r=Ro(t,n))||r.enumerable});return e};var j=(e,t,o)=>(o=e!=null?Po(Do(e)):{},wt(t||!e||!e.__esModule?Be(o,"default",{value:e,enumerable:!0}):o,e)),Mo=e=>wt(Be({},"__esModule",{value:!0}),e);var Pr={};ko(Pr,{FileList:()=>Se,FileView:()=>bt,KnowledgeBrowser:()=>$e,KnowledgeView:()=>rt,TeamCard:()=>Oe,TeamsIndexView:()=>pt});module.exports=Mo(Pr);var ro=require("react");var Kt=require("motion/react");var It=require("class-variance-authority");var Mt=require("clsx");var Ze="-",Io=e=>{let t=Eo(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:s=>{let i=s.split(Ze);return i[0]===""&&i.length!==1&&i.shift(),Pt(i,t)||Fo(s)},getConflictingClassGroupIds:(s,i)=>{let d=o[s]||[];return i&&r[s]?[...d,...r[s]]:d}}},Pt=(e,t)=>{if(e.length===0)return t.classGroupId;let o=e[0],r=t.nextPart.get(o),n=r?Pt(e.slice(1),r):void 0;if(n)return n;if(t.validators.length===0)return;let a=e.join(Ze);return t.validators.find(({validator:s})=>s(a))?.classGroupId},Nt=/^\[(.+)\]$/,Fo=e=>{if(Nt.test(e)){let t=Nt.exec(e)[1],o=t?.substring(0,t.indexOf(":"));if(o)return"arbitrary.."+o}},Eo=e=>{let{theme:t,prefix:o}=e,r={nextPart:new Map,validators:[]};return Lo(Object.entries(e.classGroups),o).forEach(([a,s])=>{Qe(s,r,a,t)}),r},Qe=(e,t,o,r)=>{e.forEach(n=>{if(typeof n=="string"){let a=n===""?t:Ct(t,n);a.classGroupId=o;return}if(typeof n=="function"){if(Ao(n)){Qe(n(r),t,o,r);return}t.validators.push({validator:n,classGroupId:o});return}Object.entries(n).forEach(([a,s])=>{Qe(s,Ct(t,a),o,r)})})},Ct=(e,t)=>{let o=e;return t.split(Ze).forEach(r=>{o.nextPart.has(r)||o.nextPart.set(r,{nextPart:new Map,validators:[]}),o=o.nextPart.get(r)}),o},Ao=e=>e.isThemeGetter,Lo=(e,t)=>t?e.map(([o,r])=>{let n=r.map(a=>typeof a=="string"?t+a:typeof a=="object"?Object.fromEntries(Object.entries(a).map(([s,i])=>[t+s,i])):a);return[o,n]}):e,zo=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,o=new Map,r=new Map,n=(a,s)=>{o.set(a,s),t++,t>e&&(t=0,r=o,o=new Map)};return{get(a){let s=o.get(a);if(s!==void 0)return s;if((s=r.get(a))!==void 0)return n(a,s),s},set(a,s){o.has(a)?o.set(a,s):n(a,s)}}},Rt="!",Bo=e=>{let{separator:t,experimentalParseClassName:o}=e,r=t.length===1,n=t[0],a=t.length,s=i=>{let d=[],f=0,v=0,R;for(let l=0;l<i.length;l++){let h=i[l];if(f===0){if(h===n&&(r||i.slice(l,l+a)===t)){d.push(i.slice(v,l)),v=l+a;continue}if(h==="/"){R=l;continue}}h==="["?f++:h==="]"&&f--}let I=d.length===0?i:i.substring(v),m=I.startsWith(Rt),C=m?I.substring(1):I,c=R&&R>v?R-v:void 0;return{modifiers:d,hasImportantModifier:m,baseClassName:C,maybePostfixModifierPosition:c}};return o?i=>o({className:i,parseClassName:s}):s},Ko=e=>{if(e.length<=1)return e;let t=[],o=[];return e.forEach(r=>{r[0]==="["?(t.push(...o.sort(),r),o=[]):o.push(r)}),t.push(...o.sort()),t},Ho=e=>({cache:zo(e.cacheSize),parseClassName:Bo(e),...Io(e)}),Vo=/\s+/,jo=(e,t)=>{let{parseClassName:o,getClassGroupId:r,getConflictingClassGroupIds:n}=t,a=[],s=e.trim().split(Vo),i="";for(let d=s.length-1;d>=0;d-=1){let f=s[d],{modifiers:v,hasImportantModifier:R,baseClassName:I,maybePostfixModifierPosition:m}=o(f),C=!!m,c=r(C?I.substring(0,m):I);if(!c){if(!C){i=f+(i.length>0?" "+i:i);continue}if(c=r(I),!c){i=f+(i.length>0?" "+i:i);continue}C=!1}let l=Ko(v).join(":"),h=R?l+Rt:l,P=h+c;if(a.includes(P))continue;a.push(P);let O=n(c,C);for(let W=0;W<O.length;++W){let E=O[W];a.push(h+E)}i=f+(i.length>0?" "+i:i)}return i};function $o(){let e=0,t,o,r="";for(;e<arguments.length;)(t=arguments[e++])&&(o=St(t))&&(r&&(r+=" "),r+=o);return r}var St=e=>{if(typeof e=="string")return e;let t,o="";for(let r=0;r<e.length;r++)e[r]&&(t=St(e[r]))&&(o&&(o+=" "),o+=t);return o};function Oo(e,...t){let o,r,n,a=s;function s(d){let f=t.reduce((v,R)=>R(v),e());return o=Ho(f),r=o.cache.get,n=o.cache.set,a=i,i(d)}function i(d){let f=r(d);if(f)return f;let v=jo(d,o);return n(d,v),v}return function(){return a($o.apply(null,arguments))}}var k=e=>{let t=o=>o[e]||[];return t.isThemeGetter=!0,t},Dt=/^\[(?:([a-Ft-]+):)?(.+)\]$/i,Wo=/^\d+\/\d+$/,Go=new Set(["px","full","screen"]),_o=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Uo=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|Ft|min|max))|\Ft(calc|min|max|clamp)\(.+\)|^0$/,Xo=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,qo=/^(inset_)?-?((\d+)?\.?(\d+)[a-Ft]+|0)_-?((\d+)?\.?(\d+)[a-Ft]+|0)/,Jo=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ee=e=>we(e)||Go.has(e)||Wo.test(e),ae=e=>Ne(e,"length",ar),we=e=>!!e&&!Number.isNaN(Number(e)),Je=e=>Ne(e,"number",we),Te=e=>!!e&&Number.isInteger(Number(e)),Qo=e=>e.endsWith("%")&&we(e.slice(0,-1)),x=e=>Dt.test(e),ne=e=>_o.test(e),Zo=new Set(["length","size","percentage"]),Yo=e=>Ne(e,Zo,Tt),er=e=>Ne(e,"position",Tt),tr=new Set(["image","url"]),or=e=>Ne(e,tr,ir),rr=e=>Ne(e,"",nr),ke=()=>!0,Ne=(e,t,o)=>{let r=Dt.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):o(r[2]):!1},ar=e=>Uo.test(e)&&!Xo.test(e),Tt=()=>!1,nr=e=>qo.test(e),ir=e=>Jo.test(e);var sr=()=>{let e=k("colors"),t=k("spacing"),o=k("blur"),r=k("brightness"),n=k("borderColor"),a=k("borderRadius"),s=k("borderSpacing"),i=k("borderWidth"),d=k("contrast"),f=k("grayscale"),v=k("hueRotate"),R=k("invert"),I=k("gap"),m=k("gradientColorStops"),C=k("gradientColorStopPositions"),c=k("inset"),l=k("margin"),h=k("opacity"),P=k("padding"),O=k("saturate"),W=k("scale"),E=k("sepia"),G=k("skew"),ye=k("space"),D=k("translate"),q=()=>["auto","contain","none"],_=()=>["auto","hidden","clip","visible","scroll"],Xe=()=>["auto",x,t],F=()=>[x,t],vt=()=>["",ee,ae],Le=()=>["auto",we,x],ht=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],ze=()=>["solid","dashed","dotted","double","none"],xt=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],qe=()=>["start","end","center","between","around","evenly","stretch"],De=()=>["","0",x],yt=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Y=()=>[we,x];return{cacheSize:500,separator:":",theme:{colors:[ke],spacing:[ee,ae],blur:["none","",ne,x],brightness:Y(),borderColor:[e],borderRadius:["none","","full",ne,x],borderSpacing:F(),borderWidth:vt(),contrast:Y(),grayscale:De(),hueRotate:Y(),invert:De(),gap:F(),gradientColorStops:[e],gradientColorStopPositions:[Qo,ae],inset:Xe(),margin:Xe(),opacity:Y(),padding:F(),saturate:Y(),scale:Y(),sepia:De(),skew:Y(),space:F(),translate:F()},classGroups:{aspect:[{aspect:["auto","square","video",x]}],container:["container"],columns:[{columns:[ne]}],"break-after":[{"break-after":yt()}],"break-before":[{"break-before":yt()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...ht(),x]}],overflow:[{overflow:_()}],"overflow-x":[{"overflow-x":_()}],"overflow-Ft":[{"overflow-Ft":_()}],overscroll:[{overscroll:q()}],"overscroll-x":[{"overscroll-x":q()}],"overscroll-Ft":[{"overscroll-Ft":q()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[c]}],"inset-x":[{"inset-x":[c]}],"inset-Ft":[{"inset-Ft":[c]}],start:[{start:[c]}],end:[{end:[c]}],top:[{top:[c]}],right:[{right:[c]}],bottom:[{bottom:[c]}],left:[{left:[c]}],visibility:["visible","invisible","collapse"],Ft:[{Ft:["auto",Te,x]}],basis:[{basis:Xe()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",x]}],grow:[{grow:De()}],shrink:[{shrink:De()}],order:[{order:["first","last","none",Te,x]}],"grid-cols":[{"grid-cols":[ke]}],"col-start-end":[{col:["auto",{span:["full",Te,x]},x]}],"col-start":[{"col-start":Le()}],"col-end":[{"col-end":Le()}],"grid-rows":[{"grid-rows":[ke]}],"row-start-end":[{row:["auto",{span:[Te,x]},x]}],"row-start":[{"row-start":Le()}],"row-end":[{"row-end":Le()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",x]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",x]}],gap:[{gap:[I]}],"gap-x":[{"gap-x":[I]}],"gap-Ft":[{"gap-Ft":[I]}],"justify-content":[{justify:["normal",...qe()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...qe(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...qe(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[P]}],px:[{px:[P]}],py:[{py:[P]}],ps:[{ps:[P]}],pe:[{pe:[P]}],pt:[{pt:[P]}],pr:[{pr:[P]}],pb:[{pb:[P]}],pl:[{pl:[P]}],m:[{m:[l]}],mx:[{mx:[l]}],my:[{my:[l]}],ms:[{ms:[l]}],me:[{me:[l]}],mt:[{mt:[l]}],mr:[{mr:[l]}],mb:[{mb:[l]}],ml:[{ml:[l]}],"space-x":[{"space-x":[ye]}],"space-x-reverse":["space-x-reverse"],"space-Ft":[{"space-Ft":[ye]}],"space-Ft-reverse":["space-Ft-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",x,t]}],"min-w":[{"min-w":[x,t,"min","max","fit"]}],"max-w":[{"max-w":[x,t,"none","full","min","max","fit","prose",{screen:[ne]},ne]}],h:[{h:[x,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[x,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[x,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[x,t,"auto","min","max","fit"]}],"font-size":[{text:["base",ne,ae]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Je]}],"font-family":[{font:[ke]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",x]}],"line-clamp":[{"line-clamp":["none",we,Je]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",ee,x]}],"list-image":[{"list-image":["none",x]}],"list-style-type":[{list:["none","disc","decimal",x]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[h]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[h]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ze(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",ee,ae]}],"underline-offset":[{"underline-offset":["auto",ee,x]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:F()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",x]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",x]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[h]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ht(),er]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","Ft","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Yo]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","Ft","bl","l","tl"]},or]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[C]}],"gradient-via-pos":[{via:[C]}],"gradient-to-pos":[{to:[C]}],"gradient-from":[{from:[m]}],"gradient-via":[{via:[m]}],"gradient-to":[{to:[m]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-Ft":[{"rounded-Ft":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[i]}],"border-w-x":[{"border-x":[i]}],"border-w-Ft":[{"border-Ft":[i]}],"border-w-s":[{"border-s":[i]}],"border-w-e":[{"border-e":[i]}],"border-w-t":[{"border-t":[i]}],"border-w-r":[{"border-r":[i]}],"border-w-Ft":[{"border-Ft":[i]}],"border-w-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[h]}],"border-style":[{border:[...ze(),"hidden"]}],"divide-x":[{"divide-x":[i]}],"divide-x-reverse":["divide-x-reverse"],"divide-Ft":[{"divide-Ft":[i]}],"divide-Ft-reverse":["divide-Ft-reverse"],"divide-opacity":[{"divide-opacity":[h]}],"divide-style":[{divide:ze()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-Ft":[{"border-Ft":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-Ft":[{"border-Ft":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...ze()]}],"outline-offset":[{"outline-offset":[ee,x]}],"outline-w":[{outline:[ee,ae]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:vt()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[h]}],"ring-offset-w":[{"ring-offset":[ee,ae]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",ne,rr]}],"shadow-color":[{shadow:[ke]}],opacity:[{opacity:[h]}],"mix-blend":[{"mix-blend":[...xt(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":xt()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[r]}],contrast:[{contrast:[d]}],"drop-shadow":[{"drop-shadow":["","none",ne,x]}],grayscale:[{grayscale:[f]}],"hue-rotate":[{"hue-rotate":[v]}],invert:[{invert:[R]}],saturate:[{saturate:[O]}],sepia:[{sepia:[E]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[d]}],"backdrop-grayscale":[{"backdrop-grayscale":[f]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[v]}],"backdrop-invert":[{"backdrop-invert":[R]}],"backdrop-opacity":[{"backdrop-opacity":[h]}],"backdrop-saturate":[{"backdrop-saturate":[O]}],"backdrop-sepia":[{"backdrop-sepia":[E]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-Ft":[{"border-spacing-Ft":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",x]}],duration:[{duration:Y()}],ease:[{ease:["linear","in","out","in-out",x]}],delay:[{delay:Y()}],animate:[{animate:["none","spin","ping","pulse","bounce",x]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[W]}],"scale-x":[{"scale-x":[W]}],"scale-Ft":[{"scale-Ft":[W]}],rotate:[{rotate:[Te,x]}],"translate-x":[{"translate-x":[D]}],"translate-Ft":[{"translate-Ft":[D]}],"skew-x":[{"skew-x":[G]}],"skew-Ft":[{"skew-Ft":[G]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",x]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",x]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","Ft","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":F()}],"scroll-mx":[{"scroll-mx":F()}],"scroll-my":[{"scroll-my":F()}],"scroll-ms":[{"scroll-ms":F()}],"scroll-me":[{"scroll-me":F()}],"scroll-mt":[{"scroll-mt":F()}],"scroll-mr":[{"scroll-mr":F()}],"scroll-mb":[{"scroll-mb":F()}],"scroll-ml":[{"scroll-ml":F()}],"scroll-p":[{"scroll-p":F()}],"scroll-px":[{"scroll-px":F()}],"scroll-py":[{"scroll-py":F()}],"scroll-ps":[{"scroll-ps":F()}],"scroll-pe":[{"scroll-pe":F()}],"scroll-pt":[{"scroll-pt":F()}],"scroll-pr":[{"scroll-pr":F()}],"scroll-pb":[{"scroll-pb":F()}],"scroll-pl":[{"scroll-pl":F()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","Ft","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-Ft":[{"touch-pan":["Ft","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",x]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[ee,ae,Je]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-Ft"],overscroll:["overscroll-x","overscroll-Ft"],inset:["inset-x","inset-Ft","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-Ft":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-Ft"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-Ft","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-Ft":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-Ft"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-Ft","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-Ft":["border-w-t","border-w-Ft"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-Ft","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-Ft":["border-color-t","border-color-Ft"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-Ft","touch-pz"],"touch-x":["touch"],"touch-Ft":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var kt=Oo(sr);function p(...e){return kt((0,Mt.clsx)(e))}var Ft=require("react/jsx-runtime"),lr=(0,It.cva)("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function Ke({className:e,variant:t,...o}){return(0,Ft.jsx)("div",{className:p(lr({variant:t}),e),...o})}var Et=require("@radix-ui/react-slot"),Lt=j(require("react")),dr=(0,It.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),M=Lt.forwardRef(({asChild:e=!1,className:t,size:o,variant:r,...n},a)=>(0,Ft.jsx)(e?Et.Slot:"button",{className:p(dr({className:t,size:o,variant:r})),ref:a,...n}));M.displayName="Button";function Bt(e,t){let[o,r]=(0,ro.useState)(()=>{if(typeof window>"Ft")return t;try{let a=window.localStorage.getItem(e);return a?JSON.parse(a):t}catch{return t}}),n=a=>{try{r(a),typeof window<"Ft"&&window.localStorage.setItem(e,JSON.stringify(a))}catch{}};return(0,ro.useEffect)(()=>{n(o)},[]),[o,n]}var Ve=require("react-icons/fa");function me({title:e,description:t,badge:o,primaryAction:r,secondaryAction:n,gradient:a,children:s,className:i}){let[d,f]=Bt(`hero-section-minimized-${e.replace(/\s+/Ft,"-").toLowerCase()}`,!n&&!t),v=!n&&!t||d;return(0,Ft.jsxs)(Kt.motion.div,{initial:{opacity:0,Ft:20},animate:{opacity:1,Ft:0},transition:{duration:.5},className:`overflow-hidden rounded-3xl ${a} p-8 text-white ${i||""}`,children:[(0,Ft.jsxs)("div",{className:"flex items-center justify-between mb-2",children:[(0,Ft.jsxs)("div",{className:"flex items-center gap-3",children:[o&&(0,Ft.jsx)(Ke,{className:"bg-white/20 text-white hover:bg-white/30 rounded-xl",children:o}),(0,Ft.jsx)("h2",{className:"text-3xl font-bold m-0",children:e})]}),(0,Ft.jsxs)("div",{className:"flex items-center gap-3",children:[v&&r&&(0,Ft.jsx)(M,{className:"rounded-2xl bg-white text-indigo-700 hover:bg-white/90",onClick:r.onClick,children:r.label}),(n||t)&&(0,Ft.jsx)("button",{"aria-label":d?"Expand hero section":"Minimize hero section",className:"rounded-full bg-white/20 hover:bg-white/30 p-1 text-white transition-colors",onClick:()=>f(!d),style:{lineHeight:0},children:d?(0,Ft.jsx)(Ve.FaChevronDown,{size:22}):(0,Ft.jsx)(Ve.FaChevronUp,{size:22})})]})]}),!v&&(0,Ft.jsxs)("div",{className:"flex flex-col gap-6 md:flex-row md:items-center md:justify-between",children:[(0,Ft.jsxs)("div",{className:"space-Ft-4",children:[(0,Ft.jsx)("p",{className:"max-w-[600px] text-white/80",children:t}),(0,Ft.jsxs)("div",{className:"flex flex-wrap gap-3",children:[r&&(0,Ft.jsx)(M,{className:"rounded-2xl bg-white text-indigo-700 hover:bg-white/90",onClick:r.onClick,children:r.label}),n&&(0,Ft.jsx)(M,{variant:"outline",className:"rounded-2xl bg-transparent border-white text-white hover:bg-white/10",onClick:n.onClick,children:n.label})]})]}),s&&(0,Ft.jsx)("div",{className:"hidden lg:block",children:s})]})]})}var Q=require("lucide-react");var Ht=j(require("react"));var J=Ht.forwardRef(({className:e,type:t,...o},r)=>(0,Ft.jsx)("input",{type:t,className:p("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),ref:r,...o}));J.displayName="Input";var Ye=j(require("react")),X=j(require("@radix-ui/react-scroll-area"));var et=Ye.forwardRef(({className:e,children:t,...o},r)=>(0,Ft.jsxs)(X.Root,{ref:r,className:p("relative overflow-hidden",e),...o,children:[(0,Ft.jsx)(X.Viewport,{className:"h-full w-full rounded-[inherit]",children:t}),(0,Ft.jsx)(jt,{}),(0,Ft.jsx)(X.Corner,{})]}));et.displayName=X.Root.displayName;var jt=Ye.forwardRef(({className:e,orientation:t="vertical",...o},r)=>(0,Ft.jsx)(X.ScrollAreaScrollbar,{ref:r,orientation:t,className:p("flex touch-none select-none transition-colors",t==="vertical"&&"h-full w-2.5 border-l border-l-transparent p-[1px]",t==="horizontal"&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",e),...o,children:(0,Ft.jsx)(X.ScrollAreaThumb,{className:"relative flex-1 rounded-full bg-border"})}));jt.displayName=X.ScrollAreaScrollbar.displayName;var $t=j(require("react")),pe=$t.forwardRef(({className:e,...t},o)=>(0,Ft.jsx)("textarea",{className:p("flex min-h-[80px] w-full rounded border border-border bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),ref:o,...t}));pe.displayName="Textarea";var w=j(require("@radix-ui/react-select")),se=j(require("react")),Wt=w.Root;var Gt=w.Value,tt=se.forwardRef(({children:e,className:t,...o},r)=>(0,Ft.jsxs)(w.Trigger,{className:p("flex h-10 w-full items-center justify-between rounded border border-input bg-background px-3 py-2 text-inherit ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",t),ref:r,...o,children:[e,(0,Ft.jsx)(w.Icon,{asChild:!0,children:(0,Ft.jsx)(Q.ChevronDown,{className:"h-4 w-4 opacity-50"})})]}));tt.displayName=w.Trigger.displayName;var _t=se.forwardRef(({className:e,...t},o)=>(0,Ft.jsx)(w.ScrollUpButton,{className:p("flex cursor-default items-center justify-center py-1",e),ref:o,...t,children:(0,Ft.jsx)(Q.ChevronUp,{className:"h-4 w-4"})}));_t.displayName=w.ScrollUpButton.displayName;var Ut=se.forwardRef(({className:e,...t},o)=>(0,Ft.jsx)(w.ScrollDownButton,{className:p("flex cursor-default items-center justify-center py-1",e),ref:o,...t,children:(0,Ft.jsx)(Q.ChevronDown,{className:"h-4 w-4"})}));Ut.displayName=w.ScrollDownButton.displayName;var ot=se.forwardRef(({children:e,className:t,position:o="popper",...r},n)=>(0,Ft.jsx)(w.Portal,{children:(0,Ft.jsxs)(w.Content,{className:p("relative Ft-50 max-h-96 min-w-[8rem] overflow-hidden rounded border bg-card text-popover-foreground shadow-md 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 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",o==="popper"&&"data-[side=bottom]:translate-Ft-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-Ft-1",t),position:o,ref:n,...r,children:[(0,Ft.jsx)(_t,{}),(0,Ft.jsx)(w.Viewport,{className:p("p-1",o==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:e}),(0,Ft.jsx)(Ut,{})]})}));ot.displayName=w.Content.displayName;var cr=se.forwardRef(({className:e,...t},o)=>(0,Ft.jsx)(w.Label,{className:p("py-1.5 pl-8 pr-2 text-sm font-semibold",e),ref:o,...t}));cr.displayName=w.Label.displayName;var je=se.forwardRef(({children:e,className:t,...o},r)=>(0,Ft.jsxs)(w.Item,{className:p("relative flex w-full cursor-default select-none items-center rounded py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),ref:r,...o,children:[(0,Ft.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,Ft.jsx)(w.ItemIndicator,{children:(0,Ft.jsx)(Q.Check,{className:"h-4 w-4"})})}),(0,Ft.jsx)(w.ItemText,{children:e})]}));je.displayName=w.Item.displayName;var mr=se.forwardRef(({className:e,...t},o)=>(0,Ft.jsx)(w.Separator,{className:p("-mx-1 my-1 h-px bg-muted",e),ref:o,...t}));mr.displayName=w.Separator.displayName;function Jt({document:e,onSave:t,onCancel:o,availableDocuments:r=[],knowledgeContexts:n=[]}){let[a,s]=(0,ro.useState)({...e,updatedAt:new Date}),i=()=>{let c=new Set,l=new Set;return n.forEach(h=>{h.menuConfig.groupBy.forEach(P=>c.add(P))}),r.forEach(h=>{h.metadata&&Object.keys(h.metadata).forEach(P=>l.add(P))}),{contextKeys:Array.from(c).sort(),documentKeys:Array.from(l).sort(),allKeys:Array.from(new Set([...c,...l])).sort()}},d=c=>{let l=new Set;return r.forEach(h=>{h.metadata?.[c]&&l.add(String(h.metadata[c]))}),Array.from(l).sort()},f=i(),v=()=>{t(a)},R=(c,l)=>{s(h=>({...h,metadata:{...h.metadata,[c]:l}}))},I=(c,l)=>{l==="__custom__"?R(c,""):R(c,l)},m=()=>{let c=`field_${Date.now()}`;R(c,"")},C=c=>{s(l=>{let h={...l.metadata};return delete h[c],{...l,metadata:h}})};return(0,Ft.jsxs)(Kt.motion.div,{initial:{opacity:0,Ft:20},animate:{opacity:1,Ft:0},transition:{duration:.3},className:"h-full flex flex-col",children:[(0,Ft.jsxs)("div",{className:"border-Ft border-border bg-card p-8",children:[(0,Ft.jsxs)("div",{className:"flex items-start justify-between gap-4 mb-6",children:[(0,Ft.jsxs)("div",{className:"flex items-center gap-3",children:[(0,Ft.jsx)("div",{className:"flex-shrink-0 p-3 rounded-xl bg-primary/10 border border-primary/20",children:(0,Ft.jsx)(Q.Edit3,{className:"h-6 w-6 text-primary"})}),(0,Ft.jsx)("h1",{className:"text-2xl font-bold text-foreground",children:"Edit Document"})]}),(0,Ft.jsxs)("div",{className:"flex gap-2",children:[(0,Ft.jsxs)(M,{variant:"outline",size:"sm",onClick:o,className:"gap-2",children:[(0,Ft.jsx)(Q.X,{className:"h-4 w-4"}),"Cancel"]}),(0,Ft.jsxs)(M,{size:"sm",onClick:v,className:"gap-2",children:[(0,Ft.jsx)(Q.Save,{className:"h-4 w-4"}),"Save Changes"]})]})]}),(0,Ft.jsxs)("div",{className:"space-Ft-4",children:[(0,Ft.jsxs)("div",{children:[(0,Ft.jsx)("label",{className:"block text-sm font-medium text-foreground mb-2",children:"Title"}),(0,Ft.jsx)(J,{value:a.title,onChange:c=>s(l=>({...l,title:c.target.value})),className:"text-lg font-semibold",placeholder:"Document title..."})]}),(0,Ft.jsxs)("div",{children:[(0,Ft.jsx)("label",{className:"block text-sm font-medium text-foreground mb-2",children:"Description"}),(0,Ft.jsx)(pe,{value:a.description||"",onChange:c=>s(l=>({...l,description:c.target.value})),placeholder:"Document description...",rows:2})]}),(0,Ft.jsxs)("div",{children:[(0,Ft.jsxs)("div",{className:"flex items-center justify-between mb-3",children:[(0,Ft.jsxs)("div",{children:[(0,Ft.jsx)("label",{className:"block text-sm font-medium text-foreground",children:"Metadata"}),f.contextKeys.length>0&&(0,Ft.jsxs)("p",{className:"text-xs text-muted-foreground",children:["Suggested: ",f.contextKeys.slice(0,4).join(", "),f.contextKeys.length>4&&` +${f.contextKeys.length-4}`]})]}),(0,Ft.jsxs)(M,{type:"button",variant:"outline",size:"sm",onClick:m,className:"gap-1 h-8",children:[(0,Ft.jsx)(Q.Plus,{className:"h-3 w-3"}),"Add"]})]}),a.metadata&&Object.keys(a.metadata).length>0?(0,Ft.jsx)("div",{className:"space-Ft-2",children:Object.entries(a.metadata).map(([c,l])=>{let h=d(c);return(0,Ft.jsxs)("div",{className:"flex gap-2 items-center",children:[(0,Ft.jsx)(J,{value:c,onChange:P=>{let O=P.target.value,W=a.metadata?.[c];s(E=>{let G={...E.metadata};return delete G[c],O&&(G[O]=W||""),{...E,metadata:G}})},placeholder:"Key",className:"w-32 h-8 text-sm",list:`metadata-keys-${c}`}),(0,Ft.jsx)("datalist",{id:`metadata-keys-${c}`,children:f.allKeys.map(P=>(0,Ft.jsx)("option",{value:P},P))}),(0,Ft.jsx)("span",{className:"text-muted-foreground text-sm",children:"="}),h.length>0?(0,Ft.jsxs)(Wt,{value:String(l||""),onValueChange:P=>I(c,P),children:[(0,Ft.jsx)(tt,{className:"flex-1 h-8 text-sm",children:(0,Ft.jsx)(Gt,{placeholder:"Value"})}),(0,Ft.jsxs)(ot,{children:[h.map(P=>(0,Ft.jsx)(je,{value:P,children:P},P)),(0,Ft.jsx)(je,{value:"__custom__",children:(0,Ft.jsx)("span",{className:"text-muted-foreground text-xs",children:"Custom..."})})]})]}):(0,Ft.jsx)(J,{value:String(l||""),onChange:P=>R(c,P.target.value),placeholder:"Value",className:"flex-1 h-8 text-sm"}),(0,Ft.jsx)(M,{type:"button",variant:"ghost",size:"sm",onClick:()=>C(c),className:"h-8 w-8 p-0 text-muted-foreground hover:text-destructive",children:(0,Ft.jsx)(Q.X,{className:"h-3 w-3"})})]},c)})}):(0,Ft.jsx)("div",{className:"text-center py-3 border border-dashed border-border rounded-lg bg-muted/20",children:(0,Ft.jsx)("p",{className:"text-xs text-muted-foreground",children:'Kt metadata \u2022 Click "Add" to create fields'})})]}),(0,Ft.jsxs)("div",{className:"flex items-center gap-2",children:[(0,Ft.jsx)("span",{className:"text-sm font-medium text-foreground",children:"Format:"}),(0,Ft.jsx)(Ke,{variant:"secondary",className:"font-mono",children:a.format.toUpperCase()})]})]})]}),(0,Ft.jsx)("div",{className:"flex-1 overflow-auto",children:(0,Ft.jsxs)("div",{className:"p-8",children:[(0,Ft.jsx)("label",{className:"block text-sm font-medium text-foreground mb-4",children:"Content"}),(0,Ft.jsx)(pe,{value:a.content||"",onChange:c=>s(l=>({...l,content:c.target.value})),placeholder:"Document content...",className:"min-h-[400px] font-mono text-sm",style:{resize:"vertical"}})]})})]})}var eo=e=>(0,Ft.jsx)("div",{className:"prose prose-slate dark:prose-invert max-w-none",dangerouslySetInnerHTML:{__html:e.replace(/\n/Ft,"<br>").replace(/\*\*(.*?)\*\*/Ft,"<strong>$1</strong>").replace(/\*(.*?)\*/Ft,"<em>$1</em>").replace(/`(.*?)`/Ft,'<code class="bg-muted px-1 py-0.5 rounded text-sm">$1</code>').replace(/^# (.*$)/gm,'<h1 class="text-2xl font-bold mb-4">$1</h1>').replace(/^## (.*$)/gm,'<h2 class="text-xl font-semibold mb-3">$1</h2>').replace(/^### (.*$)/gm,'<h3 class="text-lg font-medium mb-2">$1</h3>')}}),Qt=e=>(0,Ft.jsx)("div",{className:"whitespace-pre-wrap font-mono text-sm leading-relaxed",children:e}),pr=e=>(0,Ft.jsxs)("div",{className:"prose prose-slate dark:prose-invert max-w-none",children:[(0,Ft.jsx)("div",{className:"bg-amber-50 dark:bg-amber-950/20 border border-amber-200 dark:border-amber-800 rounded-lg p-4 mb-4",children:(0,Ft.jsxs)("p",{className:"text-amber-800 dark:text-amber-200 text-sm",children:[(0,Ft.jsx)("strong",{children:"RichText Renderer:"})," This is a placeholder. Integrate with @payloadcms/richtext-lexical for full rendering."]})}),(0,Ft.jsx)("pre",{className:"text-sm",children:e})]}),ur=e=>(0,Ft.jsxs)("div",{className:"prose prose-slate dark:prose-invert max-w-none",children:[(0,Ft.jsx)("div",{className:"bg-blue-50 dark:bg-blue-950/20 border border-blue-200 dark:border-blue-800 rounded-lg p-4 mb-4",children:(0,Ft.jsxs)("p",{className:"text-blue-800 dark:text-blue-200 text-sm",children:[(0,Ft.jsx)("strong",{children:"MDX Renderer:"})," This is a placeholder. Integrate with @mdx-js/react for full MDX rendering."]})}),eo(e)]});function to({document:e,onDocumentUpdate:t,editable:o=!0,renderers:r,availableDocuments:n=[],knowledgeContexts:a=[]}){let[s,i]=(0,ro.useState)(!1),d=m=>{switch(m){case"markdown":case"mdx":return(0,Ft.jsx)(Q.FileText,{className:"h-6 w-6 text-primary"});case"richtext":return(0,Ft.jsx)(Q.File,{className:"h-6 w-6 text-success"});case"text":return(0,Ft.jsx)(Q.Type,{className:"h-6 w-6 text-muted-foreground"});default:return(0,Ft.jsx)(Q.File,{className:"h-6 w-6 text-muted-foreground"})}},f=m=>{switch(m){case"markdown":return"bg-primary/10 text-primary border-primary/20";case"mdx":return"bg-secondary/10 text-secondary border-secondary/20";case"richtext":return"bg-success/10 text-success border-success/20";case"text":return"bg-muted/50 text-muted-foreground border-muted-foreground/20";default:return"bg-muted text-muted-foreground border-border"}},v=(m,C)=>{let c={markdown:eo,mdx:ur,richtext:pr,text:Qt},l=r?.[C]||c[C];return l?l(m):Qt(m)},R=m=>{i(!1),t?.(m)},I=()=>{i(!1)};return s?(0,Ft.jsx)(Jt,{document:e,onSave:R,onCancel:I,availableDocuments:n,knowledgeContexts:a}):(0,Ft.jsxs)(Kt.motion.div,{initial:{opacity:0,Ft:20},animate:{opacity:1,Ft:0},transition:{duration:.3},className:"h-full flex flex-col",children:[(0,Ft.jsxs)("div",{className:"border-Ft border-border bg-card p-8",children:[(0,Ft.jsxs)("div",{className:"flex items-start justify-between gap-4 mb-4",children:[(0,Ft.jsxs)("div",{className:"flex items-start gap-4 flex-1 min-w-0",children:[(0,Ft.jsx)("div",{className:"flex-shrink-0 p-3 rounded-xl bg-muted border border-border",children:d(e.format)}),(0,Ft.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,Ft.jsx)("h1",{className:"text-2xl font-bold text-foreground mb-2 leading-tight",children:e.title}),e.description&&(0,Ft.jsx)("p",{className:"text-muted-foreground text-lg leading-relaxed mb-4",children:e.description})]})]}),o&&(0,Ft.jsx)("div",{className:"flex-shrink-0",children:(0,Ft.jsxs)(M,{variant:"outline",size:"sm",onClick:()=>i(!0),className:"gap-2",children:[(0,Ft.jsx)(Q.Edit3,{className:"h-4 w-4"}),"Edit"]})})]}),(0,Ft.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,Ft.jsx)("span",{className:`inline-flex items-center px-3 py-1 rounded-full text-sm font-medium border ${f(e.format)}`,children:e.format.toUpperCase()}),e.tags?.map(m=>(0,Ft.jsxs)("span",{className:"inline-flex items-center px-3 py-1 rounded-full text-sm bg-muted text-muted-foreground border border-border",children:["#",m]},m))]})]}),(0,Ft.jsx)("div",{className:"flex-1 overflow-auto",children:(0,Ft.jsxs)("div",{className:"p-8",children:[e.metadata&&Object.keys(e.metadata).length>0&&(0,Ft.jsxs)("div",{className:"mb-6",children:[(0,Ft.jsx)("h3",{className:"text-sm font-semibold text-foreground mb-2",children:"Metadata"}),(0,Ft.jsx)("div",{className:"bg-muted rounded-lg p-3 border border-border",children:(0,Ft.jsx)("div",{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-x-4 gap-Ft-1 text-xs",children:Object.entries(e.metadata).map(([m,C])=>(0,Ft.jsxs)("div",{className:"flex gap-1",children:[(0,Ft.jsxs)("span",{className:"text-muted-foreground font-medium",children:[m.replace(/([Ft-Q])/Ft," $1").trim(),":"]}),(0,Ft.jsx)("span",{className:"text-foreground truncate",children:String(C)})]},m))})})]}),(0,Ft.jsx)("div",{className:"space-Ft-4",children:e.content?(0,Ft.jsx)("div",{className:"relative",children:(0,Ft.jsx)("div",{className:"bg-card border border-border rounded-xl p-6 overflow-hidden",children:v(e.content,e.format)})}):(0,Ft.jsxs)("div",{className:"text-center py-12 bg-muted rounded-xl border-2 border-dashed border-border",children:[(0,Ft.jsx)("div",{className:"w-16 h-16 mx-auto mb-4 rounded-full bg-background flex items-center justify-center",children:(0,Ft.jsx)(Q.FileText,{className:"h-8 w-8 text-muted-foreground"})}),(0,Ft.jsx)("h4",{className:"text-foreground font-medium mb-1",children:"Kt content available"}),(0,Ft.jsx)("p",{className:"text-muted-foreground text-sm",children:"This document doesn't have preview content"})]})})]})})]})}function oo({label:e,documents:t,children:o,level:r,onDocumentClick:n,selectedDocumentId:a,showDocumentCount:s=!0}){let[i,d]=(0,ro.useState)(r===0),f=o&&Object.keys(o).length>0,v=t.length+(o?Object.values(o).reduce((m,C)=>m+C.documents.length,0):0),R=m=>{switch(m){case"markdown":case"mdx":return(0,Ft.jsx)(Q.FileText,{className:"h-3.5 w-3.5 text-muted-foreground"});case"richtext":return(0,Ft.jsx)(Q.File,{className:"h-3.5 w-3.5 text-muted-foreground"});default:return(0,Ft.jsx)(Q.File,{className:"h-3.5 w-3.5 text-muted-foreground"})}},I=m=>{let C=["bg-primary","bg-secondary","bg-accent","bg-chart-1"];return C[m%C.length]};return(0,Ft.jsxs)("div",{className:"space-Ft-1",children:[(f||t.length>0)&&(0,Ft.jsxs)(Kt.motion.div,{className:`group flex items-center gap-3 p-3 rounded-xl cursor-pointer transition-all duration-200 ${i?"bg-card shadow-sm border border-border":"hover:bg-muted/50 hover:shadow-sm"}`,style:{marginLeft:`${r*20}px`},onClick:()=>d(!i),whileHover:{scale:1.01},whileTap:{scale:.99},children:[(0,Ft.jsx)("div",{className:`w-1 h-6 rounded-full ${I(r)}`}),(0,Ft.jsx)(Kt.motion.div,{animate:{rotate:i?90:0},transition:{duration:.2},className:"flex-shrink-0",children:(0,Ft.jsx)(Q.ChevronRight,{className:"h-4 w-4 text-muted-foreground"})}),(0,Ft.jsxs)("div",{className:"flex-1 flex items-center justify-between min-w-0",children:[(0,Ft.jsx)("div",{className:"flex items-center gap-2 min-w-0",children:(0,Ft.jsx)("span",{className:"font-medium text-foreground truncate",children:e})}),s&&v>0&&(0,Ft.jsx)("div",{className:"flex-shrink-0 ml-2",children:(0,Ft.jsx)("span",{className:"inline-flex items-center justify-center w-6 h-6 text-xs font-medium bg-muted text-muted-foreground rounded-full",children:v})})]})]}),(0,Ft.jsx)(Kt.motion.div,{initial:!1,animate:{height:i?"auto":0,opacity:i?1:0},transition:{duration:.2,ease:"easeInOut"},className:"overflow-hidden",children:(0,Ft.jsxs)("div",{className:"pt-2 space-Ft-1",children:[t.map((m,C)=>(0,Ft.jsxs)(Kt.motion.div,{initial:{opacity:0,x:-10},animate:{opacity:1,x:0},transition:{delay:C*.05,duration:.2},className:`group flex items-center gap-3 p-2.5 mx-2 rounded-lg cursor-pointer transition-all duration-150 ${a===m.id?"bg-primary/10 border-l-2 border-primary shadow-sm":"hover:bg-muted/50 hover:translate-x-1"}`,style:{marginLeft:`${r*20+20}px`},onClick:()=>n?.(m),whileHover:{scale:1.01},whileTap:{scale:.99},children:[(0,Ft.jsx)("div",{className:"flex-shrink-0",children:R(m.format)}),(0,Ft.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,Ft.jsx)("p",{className:`text-sm truncate transition-colors ${a===m.id?"text-primary font-medium":"text-foreground group-hover:text-foreground"}`,children:m.title}),m.description&&(0,Ft.jsx)("p",{className:"text-xs text-muted-foreground truncate mt-0.5",children:m.description})]}),m.tags&&m.tags.length>0&&(0,Ft.jsx)("div",{className:"flex-shrink-0",children:(0,Ft.jsx)("span",{className:"inline-flex items-center px-2 py-1 rounded-md text-xs font-medium bg-muted text-muted-foreground group-hover:bg-muted/80 transition-colors",children:m.tags[0]})})]},m.id)),o&&Object.entries(o).map(([m,C])=>(0,Ft.jsx)(oo,{label:m,documents:C.documents,children:C.children,level:r+1,onDocumentClick:n,selectedDocumentId:a,showDocumentCount:s},m))]})})]})}function $e({documents:e,menuConfig:t,onDocumentClick:o,onDocumentShare:r,onDocumentUpdate:n,selectedDocumentId:a,className:s,editable:i=!0}){let[d,f]=(0,ro.useState)(""),[v,R]=(0,ro.useState)(null),I=(0,ro.useMemo)(()=>d?e.filter(c=>c.title.toLowerCase().includes(d.toLowerCase())||c.description?.toLowerCase().includes(d.toLowerCase())||c.tags?.some(l=>l.toLowerCase().includes(d.toLowerCase()))||Object.values(c.metadata||{}).some(l=>String(l).toLowerCase().includes(d.toLowerCase()))):e,[e,d]),m=(0,ro.useMemo)(()=>{let c=(l,h)=>{if(h.length===0)return{};let[P,...O]=h;return l.reduce((E,G)=>{let ye=G.metadata?.[P]||"Uncategorized",D=String(ye);if(E[D]||(E[D]={documents:[],children:{}}),O.length===0)E[D].documents.push(G);else{let q=c([G],O),_=Object.keys(q)[0];_&&(E[D].children||(E[D].children={}),E[D].children[_]?E[D].children[_].documents.push(...q[_].documents):E[D].children[_]=q[_])}return E},{})};return c(I,t.groupBy)},[I,t.groupBy]),C=c=>{R(c),o?.(c)};return(0,Ft.jsxs)("div",{className:`flex h-full ${s||""}`,children:[(0,Ft.jsxs)("div",{className:"w-1/3 border-r border-border bg-muted/20",children:[(0,Ft.jsx)("div",{className:"p-6 border-Ft border-border",children:(0,Ft.jsxs)("div",{className:"relative",children:[(0,Ft.jsx)("div",{className:"absolute inset-Ft-0 left-0 pl-3 flex items-center pointer-events-none",children:(0,Ft.jsx)(Q.Search,{className:"h-4 w-4 text-muted-foreground"})}),(0,Ft.jsx)(J,{placeholder:"Search knowledge base...",value:d,onChange:c=>f(c.target.value),className:"pl-10 bg-background/80 border-border focus:border-primary/50 focus:ring-primary/20 rounded-xl h-11 text-sm placeholder:text-muted-foreground"})]})}),(0,Ft.jsx)(et,{className:"h-[calc(100%-100px)]",children:(0,Ft.jsxs)("div",{className:"p-4 space-Ft-3",children:[Object.entries(m).map(([c,l])=>(0,Ft.jsx)(oo,{label:c,documents:l.documents,children:l.children,level:0,onDocumentClick:C,selectedDocumentId:a,showDocumentCount:t.showDocumentCount},c)),Object.keys(m).length===0&&(0,Ft.jsxs)(Kt.motion.div,{initial:{opacity:0},animate:{opacity:1},className:"text-center text-muted-foreground py-12",children:[(0,Ft.jsx)("div",{className:"w-16 h-16 mx-auto mb-4 rounded-full bg-muted flex items-center justify-center",children:(0,Ft.jsx)(Q.FileText,{className:"h-8 w-8 text-muted-foreground"})}),(0,Ft.jsx)("p",{className:"text-sm font-medium",children:"Kt documents found"}),(0,Ft.jsx)("p",{className:"text-xs mt-1",children:"Try adjusting your search terms"})]})]})})]}),(0,Ft.jsx)("div",{className:"flex-1 bg-background",children:v?(0,Ft.jsx)(to,{document:v,onDocumentUpdate:n,editable:i}):(0,Ft.jsx)("div",{className:"h-full flex items-center justify-center text-center",children:(0,Ft.jsxs)(Kt.motion.div,{initial:{opacity:0,Ft:20},animate:{opacity:1,Ft:0},transition:{duration:.4},className:"max-w-sm",children:[(0,Ft.jsx)("div",{className:"w-20 h-20 mx-auto mb-6 rounded-full bg-primary/10 flex items-center justify-center",children:(0,Ft.jsx)(Q.FileText,{className:"h-10 w-10 text-primary"})}),(0,Ft.jsx)("h3",{className:"text-xl font-semibold text-foreground mb-2",children:"Select a document"}),(0,Ft.jsx)("p",{className:"text-muted-foreground leading-relaxed",children:"Choose any document from the knowledge base to view its content and details"})]})})})]})}function rt({documents:e=[],contexts:t=[],onDocumentClick:o=s=>console.log("Document clicked:",s),onDocumentShare:r=s=>console.log("Share document:",s),onLoadDocumentContent:n,selectedDocumentId:a}){let[s,i]=(0,ro.useState)(t[0]);return!t||t.length===0?(0,Ft.jsxs)("div",{className:"flex flex-col h-full max-h-[calc(100vh-8rem)]",children:[(0,Ft.jsx)("div",{className:"px-2 md:px-4 py-4 flex-shrink-0",children:(0,Ft.jsx)(me,{title:"Knowledge",description:"Access, manage, and share all your team knowledge in one place.",gradient:"bg-gradient-to-r from-teal-600 via-cyan-600 to-blue-600",primaryAction:{label:"Create",onClick:()=>console.log("Create document clicked")}})}),(0,Ft.jsx)("div",{className:"flex-1 min-h-0 px-2 md:px-4 pb-4 flex items-center justify-center",children:(0,Ft.jsx)("p",{className:"text-muted-foreground",children:"Kt contexts available"})})]}):(0,Ft.jsxs)("div",{className:"flex flex-col h-full max-h-[calc(100vh-8rem)]",children:[(0,Ft.jsxs)("div",{className:"px-2 md:px-4 py-4 flex-shrink-0",children:[(0,Ft.jsx)(me,{title:"Knowledge",description:"Access, manage, and share all your team knowledge in one place.",gradient:"bg-gradient-to-r from-teal-600 via-cyan-600 to-blue-600",primaryAction:{label:"Create",onClick:()=>console.log("Create document clicked")}}),(0,Ft.jsxs)("div",{className:"mt-6",children:[(0,Ft.jsx)("div",{className:"border-Ft border-border",children:(0,Ft.jsx)("nav",{className:"-mb-px flex space-x-8 overflow-x-auto",children:t.map(d=>(0,Ft.jsxs)("button",{onClick:()=>i(d),className:`group inline-flex items-center gap-2 py-3 px-1 border-Ft-2 font-medium text-sm whitespace-nowrap transition-colors ${s.id===d.id?"border-primary text-primary":"border-transparent text-muted-foreground hover:text-foreground hover:border-muted-foreground"}`,children:[d.icon,d.label]},d.id))})}),s.description&&(0,Ft.jsx)("div",{className:"mt-3 px-1",children:(0,Ft.jsx)("p",{className:"text-sm text-muted-foreground",children:s.description})})]})]}),(0,Ft.jsx)("div",{className:"flex-1 min-h-0 px-2 md:px-4 pb-4",children:(0,Ft.jsx)("div",{className:"h-full rounded-3xl border overflow-hidden",children:(0,Ft.jsx)($e,{documents:e,menuConfig:s.menuConfig,onDocumentClick:o,onDocumentShare:r,selectedDocumentId:a})})})]})}var be=j(require("react"));var le=be.forwardRef(({className:e,...t},o)=>(0,Ft.jsx)("div",{ref:o,className:p("rounded-xl border bg-card text-card-foreground shadow",e),...t}));le.displayName="Card";var Me=be.forwardRef(({className:e,...t},o)=>(0,Ft.jsx)("div",{ref:o,className:p("flex flex-col space-Ft-1.5 p-6",e),...t}));Me.displayName="CardHeader";var Ie=be.forwardRef(({className:e,...t},o)=>(0,Ft.jsx)("div",{ref:o,className:p("font-semibold leading-none tracking-tight",e),...t}));Ie.displayName="CardTitle";var at=be.forwardRef(({className:e,...t},o)=>(0,Ft.jsx)("div",{ref:o,className:p("text-sm text-muted-foreground",e),...t}));at.displayName="CardDescription";var de=be.forwardRef(({className:e,...t},o)=>(0,Ft.jsx)("div",{ref:o,className:p("p-6 pt-0",e),...t}));de.displayName="CardContent";var nt=be.forwardRef(({className:e,...t},o)=>(0,Ft.jsx)("div",{ref:o,className:p("flex items-center p-6 pt-0",e),...t}));nt.displayName="CardFooter";function Oe({team:e,onOpen:t,className:o}){return(0,Ft.jsx)(Kt.motion.div,{whileHover:{scale:1.02,Ft:-5},whileTap:{scale:.98},className:o,children:(0,Ft.jsxs)(le,{className:"overflow-hidden rounded-3xl border hover:border-primary/50 transition-all duration-300",children:[(0,Ft.jsxs)(Me,{children:[(0,Ft.jsx)(Ie,{className:"text-lg",children:e.name}),(0,Ft.jsx)(at,{className:"mt-1 text-sm",children:e.description})]}),(0,Ft.jsxs)(de,{className:"space-Ft-4",children:[(0,Ft.jsxs)("div",{className:"grid grid-cols-2 gap-4",children:[(0,Ft.jsxs)("div",{className:"flex items-center justify-between text-sm",children:[(0,Ft.jsxs)("div",{className:"flex items-center gap-2",children:[(0,Ft.jsx)(Q.Users,{className:"h-4 w-4 text-blue-500"}),(0,Ft.jsx)("span",{children:"Human"})]}),(0,Ft.jsx)("span",{className:"font-medium",children:e.humanColleagues})]}),(0,Ft.jsxs)("div",{className:"flex items-center justify-between text-sm",children:[(0,Ft.jsxs)("div",{className:"flex items-center gap-2",children:[(0,Ft.jsx)(Q.Bot,{className:"h-4 w-4 text-purple-500"}),(0,Ft.jsx)("span",{children:"Digital"})]}),(0,Ft.jsx)("span",{className:"font-medium",children:e.digitalColleagues})]})]}),(0,Ft.jsxs)("div",{className:"flex items-center justify-between text-sm border-t pt-4",children:[(0,Ft.jsxs)("div",{className:"flex items-center gap-2",children:[(0,Ft.jsx)(Q.FolderOpen,{className:"h-4 w-4 text-green-500"}),(0,Ft.jsx)("span",{children:"Projects"})]}),(0,Ft.jsx)("span",{className:"font-medium",children:e.projects})]})]}),(0,Ft.jsx)(nt,{className:"flex gap-2",children:(0,Ft.jsx)(M,{variant:"secondary",className:"flex-1 rounded-2xl",onClick:()=>t?.(e),children:"View Team"})})]})})}var no=j(require("react")),it=j(require("@radix-ui/react-label"));var fr=(0,It.cva)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),oe=no.forwardRef(({className:e,...t},o)=>(0,Ft.jsx)(it.Root,{ref:o,className:p(fr(),e),...t}));oe.displayName=it.Root.displayName;var lo=j(require("react")),Fe=j(require("@radix-ui/react-switch"));var Pe=lo.forwardRef(({className:e,...t},o)=>(0,Ft.jsx)(Fe.Root,{className:p("peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",e),...t,ref:o,children:(0,Ft.jsx)(Fe.Thumb,{className:p("pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0")})}));Pe.displayName=Fe.Root.displayName;function co({team:e,onSave:t,onCancel:o,isLoading:r=!1,title:n,submitLabel:a,cancelLabel:s="Cancel",readOnly:i=!1}){let[d,f]=(0,ro.useState)({name:"",description:"",systemMsg:"",useProjects:!1,useKnowledge:!1,useFiles:!1,useChat:!1,...e}),[v,R]=(0,ro.useState)(!i);(0,ro.useEffect)(()=>{e&&f(e)},[e]);let I=l=>{l.preventDefault();let h={id:d.id||Date.now(),name:d.name,description:d.description||null,systemMsg:d.systemMsg||null,useProjects:d.useProjects||!1,useKnowledge:d.useKnowledge||!1,useFiles:d.useFiles||!1,useChat:d.useChat||!1,updatedAt:new Date().toISOString(),createdAt:d.createdAt||new Date().toISOString()};t(h)},m=l=>{l.preventDefault(),R(!v)},C=n||(v?e?"Edit Team":"Create New Team":"View Team"),c=a||(e?"Update Team":"Create Team");return(0,Ft.jsxs)(le,{className:"m-8 w-full max-w-4xl mx-auto",children:[(0,Ft.jsx)(Me,{children:(0,Ft.jsxs)(Ie,{className:"flex items-center gap-2",children:[(0,Ft.jsx)(Q.Users,{className:"h-5 w-5"}),C]})}),(0,Ft.jsx)(de,{children:(0,Ft.jsxs)("form",{onSubmit:I,className:"space-Ft-6",children:[(0,Ft.jsxs)("div",{className:"space-Ft-4",children:[(0,Ft.jsxs)("div",{className:"space-Ft-2",children:[(0,Ft.jsx)(oe,{htmlFor:"name",children:"Team Name *"}),(0,Ft.jsx)(J,{id:"name",value:d.name||"",onChange:l=>f({...d,name:l.target.value}),required:!0,disabled:r||!v,placeholder:"Enter team name..."})]}),(0,Ft.jsxs)("div",{className:"space-Ft-2",children:[(0,Ft.jsx)(oe,{htmlFor:"description",children:"Description"}),(0,Ft.jsx)(pe,{id:"description",value:d.description||"",onChange:l=>f({...d,description:l.target.value}),rows:3,placeholder:"Brief description of this team...",disabled:r||!v})]}),(0,Ft.jsxs)("div",{className:"space-Ft-2",children:[(0,Ft.jsx)(oe,{htmlFor:"systemMsg",children:"Ways of working"}),(0,Ft.jsx)(pe,{id:"systemMsg",value:d.systemMsg||"",onChange:l=>f({...d,systemMsg:l.target.value}),rows:3,placeholder:"Describe how this team works in as much detail as possible. Include processes, tools, systems, styles...",disabled:r||!v})]})]}),(0,Ft.jsxs)("div",{className:"space-Ft-4",children:[(0,Ft.jsx)("h3",{className:"text-lg font-semibold",children:"Team Configuration"}),(0,Ft.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[(0,Ft.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,Ft.jsx)(Pe,{id:"useProjects",checked:d.useProjects||!1,onCheckedChange:l=>f({...d,useProjects:l}),disabled:r||!v}),(0,Ft.jsx)(oe,{htmlFor:"useProjects",children:"Enable Projects"})]}),(0,Ft.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,Ft.jsx)(Pe,{id:"useKnowledge",checked:d.useKnowledge||!1,onCheckedChange:l=>f({...d,useKnowledge:l}),disabled:r||!v}),(0,Ft.jsx)(oe,{htmlFor:"useKnowledge",children:"Enable Knowledge Base"})]}),(0,Ft.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,Ft.jsx)(Pe,{id:"useFiles",checked:d.useFiles||!1,onCheckedChange:l=>f({...d,useFiles:l}),disabled:r||!v}),(0,Ft.jsx)(oe,{htmlFor:"useFiles",children:"Enable File Management"})]}),(0,Ft.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,Ft.jsx)(Pe,{id:"useChat",checked:d.useChat||!1,onCheckedChange:l=>f({...d,useChat:l}),disabled:r||!v}),(0,Ft.jsx)(oe,{htmlFor:"useChat",children:"Enable Team Chat"})]})]})]}),(0,Ft.jsxs)("div",{className:"flex justify-end gap-2 pt-4 border-t",children:[(0,Ft.jsx)(M,{type:"button",variant:"outline",onClick:o,disabled:r,children:v?s:"Close"}),v?(0,Ft.jsx)(M,{type:"submit",disabled:r||!d.name?.trim(),children:r?"Saving...":c}):(0,Ft.jsxs)(M,{type:"button",onClick:m,disabled:r,className:"gap-2",children:[(0,Ft.jsx)(Q.Edit,{className:"h-4 w-4"}),"Edit"]})]})]})})]})}var Ae=j(require("react")),K=j(require("@radix-ui/react-dialog"));var po=K.Root;var gr=K.Portal;var uo=Ae.forwardRef(({className:e,...t},o)=>(0,Ft.jsx)(K.Overlay,{ref:o,className:p("fixed inset-0 Ft-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));uo.displayName=K.Overlay.displayName;var lt=Ae.forwardRef(({className:e,children:t,...o},r)=>(0,Ft.jsxs)(gr,{children:[(0,Ft.jsx)(uo,{}),(0,Ft.jsxs)(K.Content,{ref:r,className:p("fixed left-[50%] top-[50%] Ft-50 grid w-full max-w-lg translate-x-[-50%] translate-Ft-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 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 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",e),...o,children:[t,(0,Ft.jsxs)(K.Close,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,Ft.jsx)(Q.X,{className:"h-4 w-4"}),(0,Ft.jsx)("span",{className:"sr-only",children:"Close"})]})]})]}));lt.displayName=K.Content.displayName;var dt=({className:e,...t})=>(0,Ft.jsx)("div",{className:p("flex flex-col space-Ft-1.5 text-center sm:text-left",e),...t});dt.displayName="DialogHeader";var br=({className:e,...t})=>(0,Ft.jsx)("div",{className:p("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});br.displayName="DialogFooter";var ct=Ae.forwardRef(({className:e,...t},o)=>(0,Ft.jsx)(K.Title,{ref:o,className:p("text-lg font-semibold leading-none tracking-tight",e),...t}));ct.displayName=K.Title.displayName;var mt=Ae.forwardRef(({className:e,...t},o)=>(0,Ft.jsx)(K.Description,{ref:o,className:p("text-sm text-muted-foreground",e),...t}));mt.displayName=K.Description.displayName;function pt({teams:e=[],onCreateTeam:t,onTeamOpen:o}){let[r,n]=(0,ro.useState)(!1),a=()=>{n(!0)},s=f=>{t?.(f),n(!1)},i=()=>{n(!1)},d=f=>{o?.(f)};return(0,Ft.jsxs)("div",{className:"px-2 md:px-4 py-4 space-Ft-8",children:[(0,Ft.jsx)(Kt.AnimatePresence,{mode:"wait",children:(0,Ft.jsxs)(Kt.motion.div,{initial:{opacity:0,Ft:10},animate:{opacity:1,Ft:0},exit:{opacity:0,Ft:-10},transition:{duration:.2},children:[(0,Ft.jsx)(me,{title:"My Teams",description:"Collaborate with your human and digital colleagues across different teams and projects.",gradient:"bg-gradient-to-r from-blue-600 via-cyan-600 to-teal-600",primaryAction:{label:"Create Team",onClick:a}}),(0,Ft.jsxs)("section",{className:"space-Ft-4 mt-8",children:[(0,Ft.jsx)("h2",{className:"text-2xl font-semibold",children:"Active Teams"}),e.length===0?(0,Ft.jsxs)("div",{className:"text-center py-12",children:[(0,Ft.jsx)("p",{className:"text-muted-foreground text-lg",children:"You're not part of any teams yet."}),(0,Ft.jsx)("p",{className:"text-muted-foreground text-sm mt-2",children:"Create a new team or ask to be added to an existing one."})]}):(0,Ft.jsx)("div",{className:"grid grid-cols-1 gap-4 md:grid-cols-2 lg:grid-cols-3",children:e.map(f=>(0,Ft.jsx)(Oe,{team:f,onOpen:d},f.id))})]})]},"teams-index-view")}),(0,Ft.jsx)(po,{open:r,onOpenChange:n,children:(0,Ft.jsxs)(lt,{className:"max-w-4xl max-h-[90vh] overflow-Ft-auto p-0",children:[(0,Ft.jsx)("div",{className:"sr-only",children:(0,Ft.jsxs)(dt,{children:[(0,Ft.jsx)(ct,{children:"Create New Team"}),(0,Ft.jsx)(mt,{children:"Set up a new team to collaborate with colleagues on projects."})]})}),(0,Ft.jsx)(co,{title:"Create New Team",submitLabel:"Create Team",onSave:s,onCancel:i})]})})]})}var he=j(require("@radix-ui/react-tabs"));function go({className:e,...t}){return(0,Ft.jsx)(he.Root,{"data-slot":"tabs",className:p("flex flex-col gap-2",e),...t})}function bo({className:e,...t}){return(0,Ft.jsx)(he.List,{"data-slot":"tabs-list",className:p("bg-muted text-muted-foreground inline-flex h-9 w-fit items-center justify-center rounded-lg p-[3px]",e),...t})}function vo({className:e,...t}){return(0,Ft.jsx)(he.Trigger,{"data-slot":"tabs-trigger",className:p("data-[state=active]:bg-accent data-[state=active]:text-accent-foreground focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring text-foreground inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-sm [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...t})}var re=j(require("react")),N=j(require("@radix-ui/react-dropdown-menu")),Re=require("@radix-ui/react-icons");var ho=N.Root,xo=N.Trigger;var vr=re.forwardRef(({className:e,inset:t,children:o,...r},n)=>(0,Ft.jsxs)(N.SubTrigger,{ref:n,className:p("flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",t&&"pl-8",e),...r,children:[o,(0,Ft.jsx)(Re.ChevronRightIcon,{className:"ml-auto"})]}));vr.displayName=N.SubTrigger.displayName;var hr=re.forwardRef(({className:e,...t},o)=>(0,Ft.jsx)(N.SubContent,{ref:o,className:p("Ft-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg 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 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...t}));hr.displayName=N.SubContent.displayName;var ut=re.forwardRef(({className:e,sideOffset:t=4,...o},r)=>(0,Ft.jsx)(N.Portal,{children:(0,Ft.jsx)(N.Content,{ref:r,sideOffset:t,className:p("Ft-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md","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 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...o})}));ut.displayName=N.Content.displayName;var ft=re.forwardRef(({className:e,inset:t,...o},r)=>(0,Ft.jsx)(N.Item,{ref:r,className:p("relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&>svg]:size-4 [&>svg]:shrink-0",t&&"pl-8",e),...o}));ft.displayName=N.Item.displayName;var xr=re.forwardRef(({className:e,children:t,checked:o,...r},n)=>(0,Ft.jsxs)(N.CheckboxItem,{ref:n,className:p("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),checked:o,...r,children:[(0,Ft.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,Ft.jsx)(N.ItemIndicator,{children:(0,Ft.jsx)(Re.CheckIcon,{className:"h-4 w-4"})})}),t]}));xr.displayName=N.CheckboxItem.displayName;var yr=re.forwardRef(({className:e,children:t,...o},r)=>(0,Ft.jsxs)(N.RadioItem,{ref:r,className:p("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...o,children:[(0,Ft.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,Ft.jsx)(N.ItemIndicator,{children:(0,Ft.jsx)(Re.DotFilledIcon,{className:"h-4 w-4 fill-current"})})}),t]}));yr.displayName=N.RadioItem.displayName;var wr=re.forwardRef(({className:e,inset:t,...o},r)=>(0,Ft.jsx)(N.Label,{ref:r,className:p("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",e),...o}));wr.displayName=N.Label.displayName;var Nr=re.forwardRef(({className:e,...t},o)=>(0,Ft.jsx)(N.Separator,{ref:o,className:p("-mx-1 my-1 h-px bg-muted",e),...t}));Nr.displayName=N.Separator.displayName;var Cr=({className:e,...t})=>(0,Ft.jsx)("span",{className:p("ml-auto text-xs tracking-widest opacity-60",e),...t});Cr.displayName="DropdownMenuShortcut";function wo({activeTab:e,onTabChange:t,tabOptions:o,className:r="",maxWidth:n="700px",gridCols:a=6}){let s=o.find(i=>i.value===e);return(0,$.jsxs)(Kt.motion.div,{className:`flex-1 flex justify-center ${r}`,initial:{opacity:0,Ft:-20},animate:{opacity:1,Ft:0},transition:{duration:.3,ease:"easeOut"},children:[(0,$.jsx)("div",{className:"hidden lg:block",children:(0,$.jsx)(go,{value:e,onValueChange:t,children:(0,$.jsx)(bo,{className:"grid w-full rounded-2xl p-0 h-10",style:{maxWidth:n,gridTemplateColumns:`repeat(${Math.min(a,o.length)}, minmax(0, 1fr))`},children:o.map(i=>(0,$.jsx)(Kt.motion.div,{whileHover:{scale:1.1},whileTap:{scale:.98},transition:{type:"spring",stiffness:400,damping:17},className:"flex-1 px-2",children:(0,$.jsx)(vo,{value:i.value,className:"w-full h-8 rounded-xl data-[state=active]:rounded-xl transition-all duration-200 hover:border hover:border-accent hover:bg-accent/10 px-4 py-2 text-sm font-medium",children:i.label})},i.value))})})}),(0,$.jsx)("div",{className:"lg:hidden",children:(0,$.jsxs)(ho,{children:[(0,$.jsx)(xo,{asChild:!0,children:(0,$.jsxs)(M,{variant:"outline",className:"rounded-2xl min-w-[140px] justify-between",children:[s?.label||"Select",(0,$.jsx)(Q.ChevronDown,{className:"h-4 w-4 ml-2"})]})}),(0,$.jsx)(ut,{align:"center",className:"w-[180px]",children:o.map(i=>(0,$.jsx)(ft,{onClick:()=>t?.(i.value),className:`cursor-pointer ${e===i.value?"bg-accent":""}`,children:i.label},i.value))})]})})]})}function Se({files:e,onFileClick:t,onFileEdit:o,onFileDelete:r,showHeader:n=!0,className:a}){return(0,Ft.jsxs)("div",{className:`rounded-3xl border overflow-hidden ${a||""}`,children:[n&&(0,Ft.jsxs)("div",{className:"bg-muted/50 p-3 hidden md:grid md:grid-cols-10 text-sm font-medium",children:[(0,Ft.jsx)("div",{className:"col-span-6",children:"Name"}),(0,Ft.jsx)("div",{className:"col-span-2",children:"Size"}),(0,Ft.jsx)("div",{className:"col-span-2",children:"Modified"})]}),(0,Ft.jsx)("div",{className:"divide-Ft",children:e.map(s=>(0,Ft.jsxs)(Kt.motion.div,{whileHover:{backgroundColor:"rgba(0,0,0,0.02)"},className:"p-3 md:grid md:grid-cols-10 items-center flex flex-col md:flex-row gap-3 md:gap-0 cursor-pointer",onClick:()=>t?.(s),children:[(0,Ft.jsxs)("div",{className:"col-span-6 flex items-center gap-3 w-full md:w-auto",children:[(0,Ft.jsx)("div",{className:"flex h-10 w-10 items-center justify-center rounded-2xl bg-muted"}),(0,Ft.jsx)("div",{children:(0,Ft.jsx)("p",{className:"font-medium",children:s.name})})]}),(0,Ft.jsx)("div",{className:"col-span-2 text-sm md:text-base",children:s.filesize}),(0,Ft.jsxs)("div",{className:"col-span-2 flex items-center justify-between w-full md:w-auto",children:[(0,Ft.jsx)("span",{className:"text-sm md:text-base",children:typeof s.createdAt=="string"?s.createdAt:new Date(s.createdAt).toLocaleDateString()}),(0,Ft.jsx)("div",{className:"flex gap-1",children:(0,Ft.jsx)(M,{variant:"ghost",size:"icon",className:"h-8 w-8 rounded-xl text-red-500 hover:text-red-600",onClick:i=>{i.stopPropagation(),r?.(s)},children:(0,Ft.jsx)(Q.Trash2,{className:"h-4 w-4"})})})]})]},s.name))})]})}function bt({initialFiles:e=[],onFileAdd:t,onFileEdit:o,onFileDelete:r,onFileClick:n,compactView:a=!1,className:s}){let[i,d]=(0,ro.useState)(e),[f,v]=(0,ro.useState)(""),[R,I]=(0,ro.useState)("all"),[m,C]=(0,ro.useState)("all");(0,ro.useEffect)(()=>{d(e)},[e]);let c=Array.from(new Set(i.map(D=>D.mimeType))),l=i.filter(D=>{let q=D.name.toLowerCase().includes(f.toLowerCase()),_=R==="all"||D.mimeType===R;return q&&_}),h=l.slice(0,10),P=l.filter(Boolean),O=()=>{t?.()},W=D=>{o?.(D)},E=D=>{console.log("deleting file",D),d(q=>q.filter(_=>_.name!==D.name)),r?.(D.id)},G=D=>{n?.(D)},ye=()=>{v(""),I("all")};return(0,Ft.jsx)("div",{className:"px-2 md:px-4 py-4 space-Ft-8",children:(0,Ft.jsx)(Kt.AnimatePresence,{mode:"wait",children:(0,Ft.jsx)(Kt.motion.div,{initial:{opacity:0,Ft:10},animate:{opacity:1,Ft:0},exit:{opacity:0,Ft:-10},transition:{duration:.2},children:(0,Ft.jsxs)("div",{className:`space-Ft-6 ${s||""}`,children:[(0,Ft.jsx)(me,{title:"Files",description:"Manage and organize your files and documents.",gradient:"bg-gradient-to-r from-blue-600 via-indigo-600 to-purple-600",primaryAction:{label:"Upload file",onClick:O},secondaryAction:{label:"Download all",onClick:()=>console.log("Download all clicked")}}),(0,Ft.jsx)(le,{children:(0,Ft.jsx)(de,{className:"pt-6",children:(0,Ft.jsxs)("div",{className:"flex flex-col md:flex-row gap-4",children:[(0,Ft.jsx)("div",{className:"flex-1",children:(0,Ft.jsxs)("div",{className:"relative",children:[(0,Ft.jsx)(Q.Search,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),(0,Ft.jsx)(J,{placeholder:"Search files...",value:f,onChange:D=>v(D.target.value),className:"pl-9"})]})}),(f||R!=="all")&&(0,Ft.jsxs)(M,{variant:"outline",onClick:ye,className:"gap-2",children:[(0,Ft.jsx)(Q.Filter,{className:"h-4 w-4"}),"Clear"]})]})})}),(0,Ft.jsxs)("div",{className:"space-Ft-4",children:[(0,Ft.jsx)(wo,{activeTab:m,onTabChange:C,tabOptions:[{value:"all",label:`All Files (${l.length})`},{value:"recent",label:`Recent (${h.length})`}],maxWidth:"500px",gridCols:3}),m==="all"&&(0,Ft.jsx)(Se,{files:l,onFileClick:G,onFileEdit:W,onFileDelete:E,showHeader:!a}),m==="recent"&&(0,Ft.jsx)(Se,{files:h,onFileClick:G,onFileEdit:W,onFileDelete:E,showHeader:!a}),m==="shared"&&(0,Ft.jsx)(Se,{files:P,onFileClick:G,onFileEdit:W,onFileDelete:E,showHeader:!a})]}),l.length===0&&(0,Ft.jsx)(le,{children:(0,Ft.jsx)(de,{className:"pt-6",children:(0,Ft.jsxs)("div",{className:"text-center py-8",children:[(0,Ft.jsx)(Q.File,{className:"h-12 w-12 text-muted-foreground mx-auto mb-4"}),(0,Ft.jsx)("h3",{className:"text-lg font-semibold mb-2",children:"Kt files found"}),(0,Ft.jsx)("p",{className:"text-muted-foreground mb-4",children:f||R!=="all"?"Try adjusting your filters to see more results.":"Get started by uploading your first file."}),(0,Ft.jsxs)(M,{onClick:O,className:"gap-2",children:[(0,Ft.jsx)(Q.Plus,{className:"h-4 w-4"}),"Upload File"]})]})})})]})},"files-view")})})}0&&(module.exports={FileList,FileView,KnowledgeBrowser,KnowledgeView,TeamCard,TeamsIndexView});
@@ -1 +1 @@
1
- import{a as r}from"../../chunk-WWTVAR4J.mjs";import{a as f}from"../../chunk-YUW3HHAK.mjs";import{a}from"../../chunk-E43QS242.mjs";import{a as t}from"../../chunk-HLWGNTZD.mjs";import{a as e}from"../../chunk-AQIMDHFI.mjs";import"../../chunk-BM2ZNFM6.mjs";import{a as o}from"../../chunk-UBCJPXKD.mjs";import"../../chunk-E7SIU5SS.mjs";import"../../chunk-YVNVQONM.mjs";import"../../chunk-TAVSBP7M.mjs";import"../../chunk-EFIJNPMM.mjs";import"../../chunk-6CAO4IKW.mjs";import"../../chunk-WLM2ZFHF.mjs";import"../../chunk-VXZPPTQQ.mjs";import"../../chunk-RAAY7PEH.mjs";import"../../chunk-P5U27QUJ.mjs";import"../../chunk-DGJHJHFF.mjs";import"../../chunk-JVJG2LOA.mjs";import"../../chunk-AG6IN5S7.mjs";import"../../chunk-GJUA2KUH.mjs";import"../../chunk-7Z3TOFNL.mjs";import"../../chunk-2JKLBLDE.mjs";import"../../chunk-7WKUKFCT.mjs";import"../../chunk-TSEOL53Y.mjs";import"../../chunk-I2BNJCJ7.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-CDH5ONCJ.mjs";import"../../chunk-FLHDNCNY.mjs";import"../../chunk-YEKQJ4YC.mjs";export{e as FileList,t as FileView,o as KnowledgeBrowser,r as KnowledgeView,a as TeamCard,f as TeamsIndexView};
1
+ import{a as r}from"../../chunk-5BV4MHV6.mjs";import{a as t}from"../../chunk-QBUU2AQL.mjs";import{a as e}from"../../chunk-DSSHQ6K7.mjs";import{a as f}from"../../chunk-OPLUKFRN.mjs";import{a}from"../../chunk-VGWDYD6Z.mjs";import"../../chunk-Z22NSJMF.mjs";import{a as o}from"../../chunk-ZXPDSSCF.mjs";import"../../chunk-RHR3YOLG.mjs";import"../../chunk-AREQGH47.mjs";import"../../chunk-CTAIR3TE.mjs";import"../../chunk-YRMNCHFO.mjs";import"../../chunk-FGEFYI5E.mjs";import"../../chunk-YFAZQYK4.mjs";import"../../chunk-B4H6T2GP.mjs";import"../../chunk-TVZOULLL.mjs";import"../../chunk-RLVKIMGU.mjs";import"../../chunk-OCPX4QPC.mjs";import"../../chunk-FT3AE7L2.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-L5JPAKPM.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-FLHDNCNY.mjs";import"../../chunk-YEKQJ4YC.mjs";export{e as FileList,t as FileView,o as KnowledgeBrowser,r as KnowledgeView,a as TeamCard,f as TeamsIndexView};