cortex-react-components 2.12.2 → 2.12.4

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 (684) hide show
  1. package/dist/{chunk-OU7KVCBI.mjs → chunk-22LHS2J6.mjs} +1 -1
  2. package/dist/{chunk-QXA6C5VE.mjs → chunk-2BR55L74.mjs} +1 -1
  3. package/dist/{chunk-TR52MKZR.mjs → chunk-2BRDNDUB.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-33XEFJDE.mjs +4 -0
  8. package/dist/{chunk-E6IIUYQ7.mjs → chunk-3AWUWWR4.mjs} +1 -1
  9. package/dist/{chunk-CXXPSCV3.mjs → chunk-3HNU2NYP.mjs} +1 -1
  10. package/dist/{chunk-4OAROJ4M.mjs → chunk-3NRXQBBS.mjs} +1 -1
  11. package/dist/{chunk-AG6IN5S7.mjs → chunk-3UMMMQEH.mjs} +1 -1
  12. package/dist/chunk-4A3MGS6I.mjs +1 -0
  13. package/dist/{chunk-2C3C5SQQ.mjs → chunk-4CU7D3X2.mjs} +1 -1
  14. package/dist/{chunk-ZJBZTPLD.mjs → chunk-4QRKVSTE.mjs} +1 -1
  15. package/dist/{chunk-X5RHYJW3.mjs → chunk-4RX6WI4T.mjs} +1 -1
  16. package/dist/{chunk-T3NMKARZ.mjs → chunk-4UIARERB.mjs} +1 -1
  17. package/dist/{chunk-D42KIYIO.mjs → chunk-4WA47ZQA.mjs} +1 -1
  18. package/dist/chunk-54K53IWE.mjs +4 -0
  19. package/dist/{chunk-PXAKUW3U.mjs → chunk-56X4PU43.mjs} +1 -1
  20. package/dist/{chunk-ZNV6MCYI.mjs → chunk-5AWZJAK3.mjs} +1 -1
  21. package/dist/{chunk-Z756RYIZ.mjs → chunk-5BT4EWU5.mjs} +1 -1
  22. package/dist/{chunk-WWTVAR4J.mjs → chunk-5BV4MHV6.mjs} +1 -1
  23. package/dist/{chunk-3ZXW3WQU.mjs → chunk-5MWZTJYP.mjs} +1 -1
  24. package/dist/{chunk-PMOMDGBA.mjs → chunk-5NRGSTPV.mjs} +1 -1
  25. package/dist/{chunk-EPDV35LO.mjs → chunk-5RTGHMF3.mjs} +1 -1
  26. package/dist/{chunk-H45UTXIK.mjs → chunk-5WV5ZFEP.mjs} +1 -1
  27. package/dist/{chunk-OGN7YDFB.mjs → chunk-6C4WESLL.mjs} +1 -1
  28. package/dist/{chunk-GFLX67DN.mjs → chunk-6DEY5ZDD.mjs} +1 -1
  29. package/dist/{chunk-QEFMYXHA.mjs → chunk-6HLXIE4P.mjs} +1 -1
  30. package/dist/{chunk-C4SUCDRQ.mjs → chunk-6MSM3CZ6.mjs} +1 -1
  31. package/dist/{chunk-TUTSJOO4.mjs → chunk-6SWKEZN6.mjs} +1 -1
  32. package/dist/{chunk-QAIS2C6W.mjs → chunk-6WQXZ6IE.mjs} +1 -1
  33. package/dist/{chunk-TYMRNSJ3.mjs → chunk-6XUIHSKG.mjs} +1 -1
  34. package/dist/{chunk-VFPS3FYN.mjs → chunk-75F3LJMX.mjs} +1 -1
  35. package/dist/{chunk-WJZDHRGO.mjs → chunk-75WE6ZXB.mjs} +1 -1
  36. package/dist/{chunk-LQDJWEHX.mjs → chunk-76M7JE4D.mjs} +1 -1
  37. package/dist/{chunk-F5JHHMZQ.mjs → chunk-7BXIU4ZM.mjs} +1 -1
  38. package/dist/{chunk-HH4JDBUN.mjs → chunk-7GSXNSLD.mjs} +1 -1
  39. package/dist/{chunk-6GDVIZS5.mjs → chunk-7R47MHQE.mjs} +1 -1
  40. package/dist/{chunk-52UFJIL4.mjs → chunk-7VDNUJZC.mjs} +1 -1
  41. package/dist/{chunk-ESTO675Y.mjs → chunk-7WIO2CIC.mjs} +1 -1
  42. package/dist/{chunk-CXK2IY4V.mjs → chunk-AB43AQKL.mjs} +1 -1
  43. package/dist/{chunk-6UVEJCVM.mjs → chunk-AJQHGVZ5.mjs} +1 -1
  44. package/dist/{chunk-TFPWTJ2V.mjs → chunk-AMVJPDM3.mjs} +1 -1
  45. package/dist/{chunk-FSV7RCTY.mjs → chunk-AP32JABH.mjs} +1 -1
  46. package/dist/{chunk-YVNVQONM.mjs → chunk-AREQGH47.mjs} +1 -1
  47. package/dist/{chunk-SIFQNSEM.mjs → chunk-AZ4VR5JX.mjs} +1 -1
  48. package/dist/{chunk-GIGKJZGA.mjs → chunk-AZKOVKSK.mjs} +1 -1
  49. package/dist/{chunk-DA5SDQDL.mjs → chunk-B2EJGXDG.mjs} +1 -1
  50. package/dist/{chunk-JKPUXPHP.mjs → chunk-B3F6F2S4.mjs} +1 -1
  51. package/dist/{chunk-VXZPPTQQ.mjs → chunk-B4H6T2GP.mjs} +1 -1
  52. package/dist/{chunk-XXFUUOSB.mjs → chunk-BG7QXNV5.mjs} +1 -1
  53. package/dist/{chunk-U5UV7T63.mjs → chunk-BMA4266L.mjs} +1 -1
  54. package/dist/{chunk-GCIWMQMK.mjs → chunk-C4RWEPVF.mjs} +1 -1
  55. package/dist/{chunk-UJ6M7EV5.mjs → chunk-CGDLOY7W.mjs} +1 -1
  56. package/dist/{chunk-3JEM6RIR.mjs → chunk-CO6AQNZ5.mjs} +1 -1
  57. package/dist/{chunk-2JKLBLDE.mjs → chunk-CSBGSBEU.mjs} +1 -1
  58. package/dist/{chunk-TAVSBP7M.mjs → chunk-CTAIR3TE.mjs} +1 -1
  59. package/dist/{chunk-QB63WPDB.mjs → chunk-CXOVEABI.mjs} +1 -1
  60. package/dist/{chunk-QUDKEIE6.mjs → chunk-D3B2YO7G.mjs} +1 -1
  61. package/dist/{chunk-BEPKJ67R.mjs → chunk-D4IMQTVU.mjs} +1 -1
  62. package/dist/{chunk-NMAMUYGQ.mjs → chunk-DBY4SXQI.mjs} +1 -1
  63. package/dist/{chunk-N5GHL7UZ.mjs → chunk-DFIXTV2M.mjs} +1 -1
  64. package/dist/{chunk-AQIMDHFI.mjs → chunk-DSSHQ6K7.mjs} +1 -1
  65. package/dist/{chunk-7EEEXU54.mjs → chunk-E4TE4NV6.mjs} +1 -1
  66. package/dist/{chunk-6PBOA7BL.mjs → chunk-EAFH3DTH.mjs} +1 -1
  67. package/dist/{chunk-WNBJ7C5Y.mjs → chunk-EHSOO47V.mjs} +1 -1
  68. package/dist/{chunk-BUTUPCGN.mjs → chunk-EM3T2XYC.mjs} +1 -1
  69. package/dist/{chunk-3KBY7FKD.mjs → chunk-EOXVYLPB.mjs} +1 -1
  70. package/dist/{chunk-44JXFP6W.mjs → chunk-F5N6KQA2.mjs} +1 -1
  71. package/dist/{chunk-5AYDHF5U.mjs → chunk-FE7ZGUPU.mjs} +1 -1
  72. package/dist/{chunk-6CAO4IKW.mjs → chunk-FGEFYI5E.mjs} +1 -1
  73. package/dist/{chunk-A4XWPIEI.mjs → chunk-FHMQVAKQ.mjs} +1 -1
  74. package/dist/{chunk-VRZHKAJK.mjs → chunk-FMH5CZ7X.mjs} +1 -1
  75. package/dist/{chunk-TNCD5YIY.mjs → chunk-FMJBJ3HN.mjs} +1 -1
  76. package/dist/{chunk-JVJG2LOA.mjs → chunk-FT3AE7L2.mjs} +1 -1
  77. package/dist/{chunk-VB7K44IF.mjs → chunk-GHOL5L32.mjs} +1 -1
  78. package/dist/{chunk-HTQIVWYI.mjs → chunk-GNXLNZ6A.mjs} +1 -1
  79. package/dist/{chunk-FT6JQ4AC.mjs → chunk-GTZJWMZR.mjs} +1 -1
  80. package/dist/{chunk-OHDNPAPI.mjs → chunk-I3E2TYYZ.mjs} +1 -1
  81. package/dist/{chunk-2LLMXGTP.mjs → chunk-IC2ABKAM.mjs} +1 -1
  82. package/dist/{chunk-QIDPNZOL.mjs → chunk-IJQC7T2R.mjs} +1 -1
  83. package/dist/{chunk-NQPBIFGO.mjs → chunk-INCYANPB.mjs} +1 -1
  84. package/dist/{chunk-XXWSCTF5.mjs → chunk-INPV5MBU.mjs} +1 -1
  85. package/dist/{chunk-AWMXVMUW.mjs → chunk-IPIDKLAW.mjs} +1 -1
  86. package/dist/{chunk-N5BLWWDM.mjs → chunk-IQQ7ZWCP.mjs} +1 -1
  87. package/dist/{chunk-NGC3C4FW.mjs → chunk-ISBVFNWD.mjs} +1 -1
  88. package/dist/{chunk-EBO2R46A.mjs → chunk-J4IHIM6A.mjs} +1 -1
  89. package/dist/{chunk-7QBPKUWN.mjs → chunk-JFFTEK6Z.mjs} +1 -1
  90. package/dist/{chunk-E6W2YMC3.mjs → chunk-JHNVX4UB.mjs} +1 -1
  91. package/dist/chunk-JXIKSSGH.mjs +1 -0
  92. package/dist/{chunk-4OK6PUOO.mjs → chunk-JYL3XIJX.mjs} +1 -1
  93. package/dist/{chunk-UXCCCQCB.mjs → chunk-KFCSVEI6.mjs} +1 -1
  94. package/dist/{chunk-GNIVCF53.mjs → chunk-KGEIN56Y.mjs} +1 -1
  95. package/dist/chunk-KGKGZ4H2.mjs +4 -0
  96. package/dist/{chunk-HTCM27MI.mjs → chunk-KVD6XDZT.mjs} +1 -1
  97. package/dist/chunk-KW6L6KBY.mjs +1 -0
  98. package/dist/{chunk-A5TPL5CB.mjs → chunk-KWYJ3XZI.mjs} +1 -1
  99. package/dist/{chunk-GYTXBVCX.mjs → chunk-KX2NCNCS.mjs} +1 -1
  100. package/dist/{chunk-BIAOADJS.mjs → chunk-KY7WQYN4.mjs} +1 -1
  101. package/dist/{chunk-GJUA2KUH.mjs → chunk-L5JPAKPM.mjs} +1 -1
  102. package/dist/{chunk-HPZPRZWG.mjs → chunk-LEC6GEWS.mjs} +1 -1
  103. package/dist/{chunk-67RPQW7V.mjs → chunk-LKGCU7H6.mjs} +1 -1
  104. package/dist/{chunk-6WVIXUXX.mjs → chunk-LLED3RQS.mjs} +1 -1
  105. package/dist/{chunk-LARQXED4.mjs → chunk-LVFMFRBR.mjs} +1 -1
  106. package/dist/{chunk-S7N4CSMJ.mjs → chunk-LVK4QE5D.mjs} +1 -1
  107. package/dist/{chunk-EESKUTPD.mjs → chunk-LXZAOORS.mjs} +1 -1
  108. package/dist/{chunk-OKAETRO6.mjs → chunk-M4UVNIK2.mjs} +1 -1
  109. package/dist/{chunk-FDJHY37W.mjs → chunk-MAAKU7PN.mjs} +1 -1
  110. package/dist/chunk-MBPTBEOX.mjs +1 -0
  111. package/dist/chunk-MDJREBVI.mjs +1 -0
  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-3GLK3JM6.mjs → chunk-MU5WPW4N.mjs} +1 -1
  115. package/dist/{chunk-BOG3XLGP.mjs → chunk-MZP7RIQZ.mjs} +1 -1
  116. package/dist/{chunk-BXVJNWFA.mjs → chunk-NINFDOV5.mjs} +1 -1
  117. package/dist/chunk-NKDFAFWH.mjs +1 -0
  118. package/dist/chunk-NO3FZ27F.mjs +1 -0
  119. package/dist/chunk-NPVUICIF.mjs +1 -0
  120. package/dist/{chunk-NN2RHTGW.mjs → chunk-NSMXJCXE.mjs} +1 -1
  121. package/dist/{chunk-2WLZ5T2D.mjs → chunk-NUHGPB5U.mjs} +1 -1
  122. package/dist/chunk-O5P35LEY.mjs +4 -0
  123. package/dist/{chunk-DGJHJHFF.mjs → chunk-OCPX4QPC.mjs} +1 -1
  124. package/dist/{chunk-RU435LAU.mjs → chunk-OM5ZUHCN.mjs} +1 -1
  125. package/dist/{chunk-YUW3HHAK.mjs → chunk-OPLUKFRN.mjs} +1 -1
  126. package/dist/{chunk-KUVPOOSW.mjs → chunk-ORNGKQM7.mjs} +1 -1
  127. package/dist/{chunk-F6KHZ4OS.mjs → chunk-OSXK6NGG.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-E2MPOOEL.mjs → chunk-PWXCBW2H.mjs} +1 -1
  131. package/dist/{chunk-IG6J62QA.mjs → chunk-Q5NHYYRS.mjs} +1 -1
  132. package/dist/{chunk-3HD7RAT7.mjs → chunk-Q5Q3DJWU.mjs} +1 -1
  133. package/dist/{chunk-532HP37G.mjs → chunk-Q5XT55O3.mjs} +1 -1
  134. package/dist/{chunk-RD7LJPUV.mjs → chunk-Q67RF7VO.mjs} +1 -1
  135. package/dist/{chunk-K5GFFN67.mjs → chunk-Q6PKGY27.mjs} +1 -1
  136. package/dist/{chunk-HLWGNTZD.mjs → chunk-QBUU2AQL.mjs} +1 -1
  137. package/dist/{chunk-JTFMN7OL.mjs → chunk-QQVPLMPJ.mjs} +1 -1
  138. package/dist/{chunk-DFWWQRJ2.mjs → chunk-RGOKBIQ5.mjs} +1 -1
  139. package/dist/{chunk-E7SIU5SS.mjs → chunk-RHR3YOLG.mjs} +1 -1
  140. package/dist/{chunk-EYQ4UGAJ.mjs → chunk-RJGYVDOU.mjs} +1 -1
  141. package/dist/{chunk-P5U27QUJ.mjs → chunk-RLVKIMGU.mjs} +1 -1
  142. package/dist/{chunk-EUXJZBRI.mjs → chunk-RR4QSUV2.mjs} +1 -1
  143. package/dist/{chunk-WKLJU63E.mjs → chunk-RULSHTXR.mjs} +1 -1
  144. package/dist/{chunk-QMTI6672.mjs → chunk-RVHCTANZ.mjs} +1 -1
  145. package/dist/{chunk-RHYQ4V7N.mjs → chunk-SOIRB5TV.mjs} +1 -1
  146. package/dist/{chunk-RFNYVF6F.mjs → chunk-SOLZ4VQH.mjs} +1 -1
  147. package/dist/{chunk-55OESIAK.mjs → chunk-TEB67NCD.mjs} +1 -1
  148. package/dist/{chunk-WH24BWZV.mjs → chunk-TJVEQJW3.mjs} +1 -1
  149. package/dist/{chunk-OF63XSJ4.mjs → chunk-TR6RBROH.mjs} +1 -1
  150. package/dist/{chunk-RAAY7PEH.mjs → chunk-TVZOULLL.mjs} +1 -1
  151. package/dist/{chunk-FJUAYJF4.mjs → chunk-TXVA6XJT.mjs} +1 -1
  152. package/dist/{chunk-HK52LPE3.mjs → chunk-TZKQXT7Y.mjs} +1 -1
  153. package/dist/{chunk-HYIRE7BK.mjs → chunk-U5PBLRRV.mjs} +1 -1
  154. package/dist/{chunk-5T4OPJ7F.mjs → chunk-U67OTPTT.mjs} +1 -1
  155. package/dist/{chunk-AARMIMMZ.mjs → chunk-UWEU6TLS.mjs} +1 -1
  156. package/dist/{chunk-5YJFMMVM.mjs → chunk-V6GC3UGV.mjs} +1 -1
  157. package/dist/chunk-VFUTR2R2.mjs +4 -0
  158. package/dist/{chunk-E43QS242.mjs → chunk-VGWDYD6Z.mjs} +1 -1
  159. package/dist/{chunk-6TLGI4P6.mjs → chunk-VMAPGGGW.mjs} +1 -1
  160. package/dist/chunk-WDI7JGA6.mjs +1 -0
  161. package/dist/{chunk-YHTFEWSZ.mjs → chunk-WIRQ5IRT.mjs} +1 -1
  162. package/dist/{chunk-UY4BSKPK.mjs → chunk-WISC5QJV.mjs} +1 -1
  163. package/dist/{chunk-7RKPUKFH.mjs → chunk-WUA65ZZB.mjs} +1 -1
  164. package/dist/{chunk-EGERAM4Q.mjs → chunk-X3JZSN3W.mjs} +1 -1
  165. package/dist/{chunk-T3BIRW2W.mjs → chunk-XBCYPOFD.mjs} +1 -1
  166. package/dist/{chunk-TZTQENNX.mjs → chunk-XGIYNUGC.mjs} +1 -1
  167. package/dist/chunk-XGRRLABA.mjs +8 -0
  168. package/dist/{chunk-WLM2ZFHF.mjs → chunk-YFAZQYK4.mjs} +1 -1
  169. package/dist/{chunk-7WKUKFCT.mjs → chunk-YO3GQYRJ.mjs} +1 -1
  170. package/dist/{chunk-EFIJNPMM.mjs → chunk-YRMNCHFO.mjs} +1 -1
  171. package/dist/{chunk-BM2ZNFM6.mjs → chunk-Z22NSJMF.mjs} +1 -1
  172. package/dist/{chunk-5WDNNO37.mjs → chunk-ZEALRBXW.mjs} +1 -1
  173. package/dist/{chunk-FHPZSG7W.mjs → chunk-ZGQC6O62.mjs} +1 -1
  174. package/dist/{chunk-LCIKBYDR.mjs → chunk-ZMB6R6JX.mjs} +1 -1
  175. package/dist/chunk-ZMSNHKKT.mjs +1 -0
  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.d.ts +0 -3
  317. package/dist/components/DigitalColleagues/ManagementSidebar.js +1 -1
  318. package/dist/components/DigitalColleagues/ManagementSidebar.mjs +1 -1
  319. package/dist/components/DigitalColleagues/Pages/dashboardpage.d.ts +1 -1
  320. package/dist/components/DigitalColleagues/Pages/dashboardpage.js +1 -1
  321. package/dist/components/DigitalColleagues/Pages/dashboardpage.mjs +1 -1
  322. package/dist/components/DigitalColleagues/SearchableSelect.js +1 -1
  323. package/dist/components/DigitalColleagues/SearchableSelect.mjs +1 -1
  324. package/dist/components/DigitalColleagues/Views/ColleaguesView.d.ts +1 -1
  325. package/dist/components/DigitalColleagues/Views/ColleaguesView.js +1 -1
  326. package/dist/components/DigitalColleagues/Views/ColleaguesView.mjs +1 -1
  327. package/dist/components/DigitalColleagues/Views/KnowledgeView.js +1 -1
  328. package/dist/components/DigitalColleagues/Views/KnowledgeView.mjs +1 -1
  329. package/dist/components/DigitalColleagues/Views/TeamsIndexView.js +1 -1
  330. package/dist/components/DigitalColleagues/Views/TeamsIndexView.mjs +1 -1
  331. package/dist/components/DigitalColleagues/Views/index.js +1 -1
  332. package/dist/components/DigitalColleagues/Views/index.mjs +1 -1
  333. package/dist/components/DigitalColleagues/colleague-card.d.ts +1 -1
  334. package/dist/components/DigitalColleagues/colleague-card.js +1 -2
  335. package/dist/components/DigitalColleagues/colleague-card.mjs +1 -1
  336. package/dist/components/DigitalColleagues/colleague-form.js +1 -1
  337. package/dist/components/DigitalColleagues/colleague-form.mjs +1 -1
  338. package/dist/components/DigitalColleagues/colleague-type-selection.js +1 -1
  339. package/dist/components/DigitalColleagues/colleague-type-selection.mjs +1 -1
  340. package/dist/components/DigitalColleagues/digital-colleague-clone.js +1 -1
  341. package/dist/components/DigitalColleagues/digital-colleague-clone.mjs +1 -1
  342. package/dist/components/DigitalColleagues/digital-colleague-options.js +1 -1
  343. package/dist/components/DigitalColleagues/digital-colleague-options.mjs +1 -1
  344. package/dist/components/DigitalColleagues/document-edit.js +1 -1
  345. package/dist/components/DigitalColleagues/document-edit.mjs +1 -1
  346. package/dist/components/DigitalColleagues/document-preview-examples.js +5 -5
  347. package/dist/components/DigitalColleagues/document-preview-examples.mjs +1 -1
  348. package/dist/components/DigitalColleagues/document-preview.js +1 -1
  349. package/dist/components/DigitalColleagues/document-preview.mjs +1 -1
  350. package/dist/components/DigitalColleagues/index.js +1 -1
  351. package/dist/components/DigitalColleagues/index.mjs +1 -1
  352. package/dist/components/DigitalColleagues/knowledge-browser.js +1 -1
  353. package/dist/components/DigitalColleagues/knowledge-browser.mjs +1 -1
  354. package/dist/components/DigitalColleagues/knowledge-search.js +1 -1
  355. package/dist/components/DigitalColleagues/knowledge-search.mjs +1 -1
  356. package/dist/components/DigitalColleagues/team-form.js +1 -1
  357. package/dist/components/DigitalColleagues/team-form.mjs +1 -1
  358. package/dist/components/DigitalColleagues/test-data.js +1 -1
  359. package/dist/components/DigitalColleagues/test-data.mjs +1 -1
  360. package/dist/components/DigitalColleagues/types.d.ts +10 -1
  361. package/dist/components/HeaderFooter/BrandLogo.js +1 -1
  362. package/dist/components/HeaderFooter/BrandLogo.mjs +1 -1
  363. package/dist/components/HeaderFooter/Footer.js +1 -1
  364. package/dist/components/HeaderFooter/Footer.mjs +1 -1
  365. package/dist/components/HeaderFooter/Header.js +1 -1
  366. package/dist/components/HeaderFooter/Header.mjs +1 -1
  367. package/dist/components/HeaderFooter/HeaderDesktop.js +1 -1
  368. package/dist/components/HeaderFooter/HeaderDesktop.mjs +1 -1
  369. package/dist/components/HeaderFooter/HeaderMenu.js +1 -1
  370. package/dist/components/HeaderFooter/HeaderMenu.mjs +1 -1
  371. package/dist/components/HeaderFooter/HeaderMobile.js +1 -1
  372. package/dist/components/HeaderFooter/HeaderMobile.mjs +1 -1
  373. package/dist/components/HeaderFooter/RelatedPagesMenu.js +1 -1
  374. package/dist/components/HeaderFooter/RelatedPagesMenu.mjs +1 -1
  375. package/dist/components/HeaderFooter/SectionHeading.js +1 -1
  376. package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
  377. package/dist/components/HeaderFooter/SimpleHeader.js +1 -1
  378. package/dist/components/HeaderFooter/SimpleHeader.mjs +1 -1
  379. package/dist/components/HeaderFooter/VideoHeader.js +1 -1
  380. package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
  381. package/dist/components/HeaderFooter/enhanced-header.js +1 -1
  382. package/dist/components/HeaderFooter/enhanced-header.mjs +1 -1
  383. package/dist/components/HeaderFooter/index.js +1 -1
  384. package/dist/components/HeaderFooter/index.mjs +1 -1
  385. package/dist/components/Heros/DashboardHero/DashboardHero.js +1 -1
  386. package/dist/components/Heros/DashboardHero/DashboardHero.mjs +1 -1
  387. package/dist/components/Heros/DashboardHero/index.js +1 -1
  388. package/dist/components/Heros/DashboardHero/index.mjs +1 -1
  389. package/dist/components/Heros/HighImpact/index.js +1 -1
  390. package/dist/components/Heros/HighImpact/index.mjs +1 -1
  391. package/dist/components/Heros/LowImpact/index.js +1 -1
  392. package/dist/components/Heros/LowImpact/index.mjs +1 -1
  393. package/dist/components/Heros/MediumImpact/index.js +1 -1
  394. package/dist/components/Heros/MediumImpact/index.mjs +1 -1
  395. package/dist/components/Heros/PostHero/index.js +1 -1
  396. package/dist/components/Heros/PostHero/index.mjs +1 -1
  397. package/dist/components/Heros/RenderHero.js +1 -1
  398. package/dist/components/Heros/RenderHero.mjs +1 -1
  399. package/dist/components/Heros/SectionHero/index.js +1 -1
  400. package/dist/components/Heros/SectionHero/index.mjs +1 -1
  401. package/dist/components/Heros/index.js +1 -1
  402. package/dist/components/Heros/index.mjs +1 -1
  403. package/dist/components/Holidays/ApproveLeave.js +1 -1
  404. package/dist/components/Holidays/ApproveLeave.mjs +1 -1
  405. package/dist/components/Holidays/CalendarView.js +1 -1
  406. package/dist/components/Holidays/CalendarView.mjs +1 -1
  407. package/dist/components/Holidays/HolidayGrid.js +1 -1
  408. package/dist/components/Holidays/HolidayGrid.mjs +1 -1
  409. package/dist/components/Holidays/HolidayTracker.js +1 -1
  410. package/dist/components/Holidays/HolidayTracker.mjs +1 -1
  411. package/dist/components/Holidays/RequestLeave.js +1 -1
  412. package/dist/components/Holidays/RequestLeave.mjs +1 -1
  413. package/dist/components/Holidays/index.js +1 -1
  414. package/dist/components/Holidays/index.mjs +1 -1
  415. package/dist/components/Layouts/OutputHeaderFooter.js +2 -2
  416. package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
  417. package/dist/components/Layouts/Print.js +2 -2
  418. package/dist/components/Layouts/Print.mjs +1 -1
  419. package/dist/components/Layouts/SlideShow.js +3 -3
  420. package/dist/components/Layouts/SlideShow.mjs +1 -1
  421. package/dist/components/Layouts/index.js +4 -4
  422. package/dist/components/Layouts/index.mjs +1 -1
  423. package/dist/components/Menus/Categories.js +1 -1
  424. package/dist/components/Menus/Categories.mjs +1 -1
  425. package/dist/components/Menus/Filter.js +1 -1
  426. package/dist/components/Menus/Filter.mjs +1 -1
  427. package/dist/components/Menus/Pagination.js +1 -1
  428. package/dist/components/Menus/Pagination.mjs +1 -1
  429. package/dist/components/Menus/ProjectTeam.js +1 -1
  430. package/dist/components/Menus/ProjectTeam.mjs +1 -1
  431. package/dist/components/Menus/RelatedContent.js +1 -1
  432. package/dist/components/Menus/RelatedContent.mjs +1 -1
  433. package/dist/components/Menus/SidebarLeft.js +1 -1
  434. package/dist/components/Menus/SidebarLeft.mjs +1 -1
  435. package/dist/components/Menus/SidebarRight.js +1 -1
  436. package/dist/components/Menus/SidebarRight.mjs +1 -1
  437. package/dist/components/Menus/index.js +1 -1
  438. package/dist/components/Menus/index.mjs +1 -1
  439. package/dist/components/Other/Container.js +1 -1
  440. package/dist/components/Other/Container.mjs +1 -1
  441. package/dist/components/Other/PageShape.js +1 -1
  442. package/dist/components/Other/PageShape.mjs +1 -1
  443. package/dist/components/Other/index.js +1 -1
  444. package/dist/components/Other/index.mjs +1 -1
  445. package/dist/components/Payload/Card/index.js +1 -1
  446. package/dist/components/Payload/Card/index.mjs +1 -1
  447. package/dist/components/Payload/CollectionArchive/index.js +1 -1
  448. package/dist/components/Payload/CollectionArchive/index.mjs +1 -1
  449. package/dist/components/Payload/Link/index.js +1 -1
  450. package/dist/components/Payload/Link/index.mjs +1 -1
  451. package/dist/components/Payload/Media/ImageMedia/index.js +1 -1
  452. package/dist/components/Payload/Media/ImageMedia/index.mjs +1 -1
  453. package/dist/components/Payload/Media/VideoMedia/index.js +1 -1
  454. package/dist/components/Payload/Media/VideoMedia/index.mjs +1 -1
  455. package/dist/components/Payload/Media/index.js +1 -1
  456. package/dist/components/Payload/Media/index.mjs +1 -1
  457. package/dist/components/Payload/Pagination/index.js +1 -1
  458. package/dist/components/Payload/Pagination/index.mjs +1 -1
  459. package/dist/components/Payload/RichText/index.js +1 -1
  460. package/dist/components/Payload/RichText/index.mjs +1 -1
  461. package/dist/components/Payload/RichText/serialize.js +1 -1
  462. package/dist/components/Payload/RichText/serialize.mjs +1 -1
  463. package/dist/components/Payload/index.js +1 -1
  464. package/dist/components/Payload/index.mjs +1 -1
  465. package/dist/components/Projects/AddEpicModal.js +1 -1
  466. package/dist/components/Projects/AddEpicModal.mjs +1 -1
  467. package/dist/components/Projects/AddSprintModal.js +1 -1
  468. package/dist/components/Projects/AddSprintModal.mjs +1 -1
  469. package/dist/components/Projects/AddTaskModal.js +1 -1
  470. package/dist/components/Projects/AddTaskModal.mjs +1 -1
  471. package/dist/components/Projects/EpicFilter.js +1 -1
  472. package/dist/components/Projects/EpicFilter.mjs +1 -1
  473. package/dist/components/Projects/EpicsView.js +1 -2
  474. package/dist/components/Projects/EpicsView.mjs +1 -1
  475. package/dist/components/Projects/FileView.js +1 -1
  476. package/dist/components/Projects/FileView.mjs +1 -1
  477. package/dist/components/Projects/KanbanBoardView.d.ts +4 -0
  478. package/dist/components/Projects/KanbanBoardView.js +1 -1
  479. package/dist/components/Projects/KanbanBoardView.mjs +1 -1
  480. package/dist/components/Projects/KanbanColumn.d.ts +1 -0
  481. package/dist/components/Projects/KanbanColumn.js +1 -1
  482. package/dist/components/Projects/KanbanColumn.mjs +1 -1
  483. package/dist/components/Projects/PlanningView.d.ts +2 -0
  484. package/dist/components/Projects/PlanningView.js +1 -1
  485. package/dist/components/Projects/PlanningView.mjs +1 -1
  486. package/dist/components/Projects/PlanningView_broken_backup.css +1 -0
  487. package/dist/components/Projects/PlanningView_broken_backup.d.ts +14 -0
  488. package/dist/components/Projects/PlanningView_broken_backup.js +5 -0
  489. package/dist/components/Projects/PlanningView_broken_backup.mjs +1 -0
  490. package/dist/components/Projects/ProjectPage.d.ts +3 -3
  491. package/dist/components/Projects/ProjectPage.js +2 -2
  492. package/dist/components/Projects/ProjectPage.mjs +1 -1
  493. package/dist/components/Projects/ProjectView.d.ts +9 -4
  494. package/dist/components/Projects/ProjectView.js +1 -1
  495. package/dist/components/Projects/ProjectView.mjs +1 -1
  496. package/dist/components/Projects/ProjectsIndexView.js +1 -1
  497. package/dist/components/Projects/ProjectsIndexView.mjs +1 -1
  498. package/dist/components/Projects/TaskCard.js +1 -1
  499. package/dist/components/Projects/TaskCard.mjs +1 -1
  500. package/dist/components/Projects/TaskDetailsModal.d.ts +8 -3
  501. package/dist/components/Projects/TaskDetailsModal.js +1 -1
  502. package/dist/components/Projects/TaskDetailsModal.mjs +1 -1
  503. package/dist/components/Projects/TaskSelect.js +1 -1
  504. package/dist/components/Projects/TaskSelect.mjs +1 -1
  505. package/dist/components/Projects/TaskSidebar.d.ts +2 -1
  506. package/dist/components/Projects/TaskSidebar.js +1 -1
  507. package/dist/components/Projects/TaskSidebar.mjs +1 -1
  508. package/dist/components/Projects/TasksView.js +1 -1
  509. package/dist/components/Projects/TasksView.mjs +1 -1
  510. package/dist/components/Projects/TeamSwitcher.js +1 -1
  511. package/dist/components/Projects/TeamSwitcher.mjs +1 -1
  512. package/dist/components/Projects/business-unit-switcher.js +1 -1
  513. package/dist/components/Projects/business-unit-switcher.mjs +1 -1
  514. package/dist/components/Projects/file-list.js +1 -1
  515. package/dist/components/Projects/file-list.mjs +1 -1
  516. package/dist/components/Projects/index.js +1 -1
  517. package/dist/components/Projects/index.mjs +1 -1
  518. package/dist/components/Projects/project-card.js +1 -1
  519. package/dist/components/Projects/project-card.mjs +1 -1
  520. package/dist/components/Projects/project-form.js +1 -1
  521. package/dist/components/Projects/project-form.mjs +1 -1
  522. package/dist/components/Projects/team-card.js +1 -1
  523. package/dist/components/Projects/team-card.mjs +1 -1
  524. package/dist/components/Projects/team-switcher-bar.js +1 -1
  525. package/dist/components/Projects/team-switcher-bar.mjs +1 -1
  526. package/dist/components/Projects/test-data.js +1 -1
  527. package/dist/components/Projects/test-data.mjs +1 -1
  528. package/dist/components/dc-temp/creative.js +1 -1
  529. package/dist/components/dc-temp/creative.mjs +1 -1
  530. package/dist/components/dc-temp/dashboard-integration-example.js +1 -1
  531. package/dist/components/dc-temp/dashboard-integration-example.mjs +1 -1
  532. package/dist/components/dc-temp/index.js +1 -1
  533. package/dist/components/dc-temp/index.mjs +1 -1
  534. package/dist/components/dc-temp/markdown-renderer.js +1 -1
  535. package/dist/components/dc-temp/markdown-renderer.mjs +1 -1
  536. package/dist/components/dc-temp/utils.js +1 -1
  537. package/dist/components/dc-temp/utils.mjs +1 -1
  538. package/dist/components/index.js +14 -14
  539. package/dist/components/index.mjs +1 -1
  540. package/dist/components/ui/alert.js +1 -1
  541. package/dist/components/ui/alert.mjs +1 -1
  542. package/dist/components/ui/avatar.js +1 -1
  543. package/dist/components/ui/avatar.mjs +1 -1
  544. package/dist/components/ui/badge.js +1 -1
  545. package/dist/components/ui/badge.mjs +1 -1
  546. package/dist/components/ui/breadcrumb.js +1 -1
  547. package/dist/components/ui/breadcrumb.mjs +1 -1
  548. package/dist/components/ui/button.js +1 -1
  549. package/dist/components/ui/button.mjs +1 -1
  550. package/dist/components/ui/calendar.js +1 -1
  551. package/dist/components/ui/calendar.mjs +1 -1
  552. package/dist/components/ui/card.js +1 -1
  553. package/dist/components/ui/card.mjs +1 -1
  554. package/dist/components/ui/checkbox.js +1 -1
  555. package/dist/components/ui/checkbox.mjs +1 -1
  556. package/dist/components/ui/command.js +1 -1
  557. package/dist/components/ui/command.mjs +1 -1
  558. package/dist/components/ui/dialog.js +1 -1
  559. package/dist/components/ui/dialog.mjs +1 -1
  560. package/dist/components/ui/dropdown-menu.js +1 -1
  561. package/dist/components/ui/dropdown-menu.mjs +1 -1
  562. package/dist/components/ui/hover-card.js +1 -1
  563. package/dist/components/ui/hover-card.mjs +1 -1
  564. package/dist/components/ui/index.js +1 -1
  565. package/dist/components/ui/index.mjs +1 -1
  566. package/dist/components/ui/input.js +1 -1
  567. package/dist/components/ui/input.mjs +1 -1
  568. package/dist/components/ui/inputs/common/styles/index.js +1 -1
  569. package/dist/components/ui/inputs/common/styles/index.mjs +1 -1
  570. package/dist/components/ui/inputs/text-input/index.js +1 -1
  571. package/dist/components/ui/inputs/text-input/index.mjs +1 -1
  572. package/dist/components/ui/inputs/textarea-input/index.js +1 -1
  573. package/dist/components/ui/inputs/textarea-input/index.mjs +1 -1
  574. package/dist/components/ui/label.js +1 -1
  575. package/dist/components/ui/label.mjs +1 -1
  576. package/dist/components/ui/pagination.js +1 -1
  577. package/dist/components/ui/pagination.mjs +1 -1
  578. package/dist/components/ui/popover.js +1 -1
  579. package/dist/components/ui/popover.mjs +1 -1
  580. package/dist/components/ui/progress.js +1 -1
  581. package/dist/components/ui/progress.mjs +1 -1
  582. package/dist/components/ui/scroll-area.js +1 -1
  583. package/dist/components/ui/scroll-area.mjs +1 -1
  584. package/dist/components/ui/select.js +1 -1
  585. package/dist/components/ui/select.mjs +1 -1
  586. package/dist/components/ui/separator.js +1 -1
  587. package/dist/components/ui/separator.mjs +1 -1
  588. package/dist/components/ui/sheet.js +1 -1
  589. package/dist/components/ui/sheet.mjs +1 -1
  590. package/dist/components/ui/sidebar.js +1 -1
  591. package/dist/components/ui/sidebar.mjs +1 -1
  592. package/dist/components/ui/skeleton.js +1 -1
  593. package/dist/components/ui/skeleton.mjs +1 -1
  594. package/dist/components/ui/switch.js +1 -1
  595. package/dist/components/ui/switch.mjs +1 -1
  596. package/dist/components/ui/tabs.js +1 -1
  597. package/dist/components/ui/tabs.mjs +1 -1
  598. package/dist/components/ui/textarea.js +1 -1
  599. package/dist/components/ui/textarea.mjs +1 -1
  600. package/dist/components/ui/toast.js +1 -1
  601. package/dist/components/ui/toast.mjs +1 -1
  602. package/dist/components/ui/toaster.js +1 -1
  603. package/dist/components/ui/toaster.mjs +1 -1
  604. package/dist/components/ui/toggle-group.js +1 -1
  605. package/dist/components/ui/toggle-group.mjs +1 -1
  606. package/dist/components/ui/toggle.js +1 -1
  607. package/dist/components/ui/toggle.mjs +1 -1
  608. package/dist/components/ui/tooltip.js +1 -1
  609. package/dist/components/ui/tooltip.mjs +1 -1
  610. package/dist/globals.css +1 -1
  611. package/dist/index.js +19 -19
  612. package/dist/index.mjs +1 -1
  613. package/dist/metafile-cjs.json +1 -1
  614. package/dist/metafile-esm.json +1 -1
  615. package/dist/pages/Blog.js +1 -1
  616. package/dist/pages/Blog.mjs +1 -1
  617. package/dist/pages/Documentation.js +1 -1
  618. package/dist/pages/Documentation.mjs +1 -1
  619. package/dist/pages/IndexPage.js +1 -1
  620. package/dist/pages/IndexPage.mjs +1 -1
  621. package/dist/pages/Intranet.js +1 -1
  622. package/dist/pages/Intranet.mjs +1 -1
  623. package/dist/pages/LandingPage.js +3 -3
  624. package/dist/pages/LandingPage.mjs +1 -1
  625. package/dist/pages/Page.js +1 -1
  626. package/dist/pages/Page.mjs +1 -1
  627. package/dist/pages/Publish.js +4 -4
  628. package/dist/pages/Publish.mjs +1 -1
  629. package/dist/pages/Website.js +1 -1
  630. package/dist/pages/Website.mjs +1 -1
  631. package/dist/sections/AboutSection.js +1 -1
  632. package/dist/sections/AboutSection.mjs +1 -1
  633. package/dist/sections/BlogDetail.js +1 -1
  634. package/dist/sections/BlogDetail.mjs +1 -1
  635. package/dist/sections/BlogList.js +3 -3
  636. package/dist/sections/BlogList.mjs +1 -1
  637. package/dist/sections/BlogListSection.js +1 -1
  638. package/dist/sections/BlogListSection.mjs +1 -1
  639. package/dist/sections/ContactSection.js +1 -1
  640. package/dist/sections/ContactSection.mjs +1 -1
  641. package/dist/sections/ImageSection.js +1 -1
  642. package/dist/sections/ImageSection.mjs +1 -1
  643. package/dist/sections/MainPageSection.js +1 -1
  644. package/dist/sections/MainPageSection.mjs +1 -1
  645. package/dist/sections/PageSections.js +3 -3
  646. package/dist/sections/PageSections.mjs +1 -1
  647. package/dist/sections/PricingSection.js +1 -1
  648. package/dist/sections/PricingSection.mjs +1 -1
  649. package/dist/sections/ServiceDetail.js +1 -1
  650. package/dist/sections/ServiceDetail.mjs +1 -1
  651. package/dist/sections/ServiceDetailSection.js +1 -1
  652. package/dist/sections/ServiceDetailSection.mjs +1 -1
  653. package/dist/sections/ServiceSection.js +1 -1
  654. package/dist/sections/ServiceSection.mjs +1 -1
  655. package/dist/sections/form/index.js +1 -1
  656. package/dist/sections/form/index.mjs +1 -1
  657. package/dist/sections/index.js +3 -3
  658. package/dist/sections/index.mjs +1 -1
  659. package/dist/styles/Colors.js +1 -1
  660. package/dist/styles/Colors.mjs +1 -1
  661. package/dist/utils/AOSInit.js +2 -2
  662. package/dist/utils/AOSInit.mjs +1 -1
  663. package/dist/utils/cn.js +1 -1
  664. package/dist/utils/cn.mjs +1 -1
  665. package/dist/utils/index.js +2 -2
  666. package/dist/utils/index.mjs +1 -1
  667. package/package.json +1 -1
  668. package/dist/chunk-4RQ27GTD.mjs +0 -1
  669. package/dist/chunk-56AGUZR5.mjs +0 -1
  670. package/dist/chunk-5WH7SFOR.mjs +0 -4
  671. package/dist/chunk-CDH5ONCJ.mjs +0 -8
  672. package/dist/chunk-E3NWG6B4.mjs +0 -4
  673. package/dist/chunk-GZQ7JEUL.mjs +0 -1
  674. package/dist/chunk-I2BNJCJ7.mjs +0 -1
  675. package/dist/chunk-KCOLYVJX.mjs +0 -1
  676. package/dist/chunk-KZTONTWM.mjs +0 -1
  677. package/dist/chunk-MZKVGPNQ.mjs +0 -1
  678. package/dist/chunk-NM6U4PLY.mjs +0 -1
  679. package/dist/chunk-QXNCGSQE.mjs +0 -4
  680. package/dist/chunk-RARAKOXE.mjs +0 -1
  681. package/dist/chunk-RPUSKO6J.mjs +0 -4
  682. package/dist/chunk-TSEOL53Y.mjs +0 -1
  683. package/dist/chunk-WXTJ6DVT.mjs +0 -4
  684. package/dist/chunk-ZKLSTUIP.mjs +0 -1
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a}from"./chunk-UY4BSKPK.mjs";import{a as r}from"./chunk-TSEOL53Y.mjs";import{PopoverGroup as i}from"@headlessui/react";import{Fragment as p,jsx as e}from"react/jsx-runtime";function d({menuItems:o,wide:n=!1,dark:m=!0}){return e(p,{children:e("menu",{className:r("w-full relative py-2 transition-all duration-300",m?"bg-black text-white":"light bg-background text-foreground border-b border-accent"),children:e("div",{className:"container backdrop-blur-sm",children:e("div",{className:r("flex items-center justify-between py-0",!n&&"container"),children:e(i,{className:"flex gap-x-12",children:o&&o.map(t=>e(a,{...t},t.name))})})})})})}export{d as a};
4
+ import{a}from"./chunk-WISC5QJV.mjs";import{a as r}from"./chunk-MDJREBVI.mjs";import{PopoverGroup as i}from"@headlessui/react";import{Fragment as p,jsx as e}from"react/jsx-runtime";function d({menuItems:o,wide:n=!1,dark:m=!0}){return e(p,{children:e("menu",{className:r("w-full relative py-2 transition-all duration-300",m?"bg-black text-white":"light bg-background text-foreground border-b border-accent"),children:e("div",{className:"container backdrop-blur-sm",children:e("div",{className:r("flex items-center justify-between py-0",!n&&"container"),children:e(i,{className:"flex gap-x-12",children:o&&o.map(t=>e(a,{...t},t.name))})})})})})}export{d as a};
@@ -1 +1 @@
1
- import{a as m}from"./chunk-55OESIAK.mjs";import{a as r}from"./chunk-UXCCCQCB.mjs";import{Fragment as n}from"react";import{jsx as o}from"react/jsx-runtime";var y=e=>{let{className:a,htmlElement:t="div",resource:i}=e,s=typeof i=="object"&&i?.mimeType?.includes("video");return o(t||n,{...t!==null?{className:a}:{},children:s?o(r,{...e}):o(m,{...e})})};export{y as a};
1
+ import{a as m}from"./chunk-TEB67NCD.mjs";import{a as r}from"./chunk-KFCSVEI6.mjs";import{Fragment as n}from"react";import{jsx as o}from"react/jsx-runtime";var y=e=>{let{className:a,htmlElement:t="div",resource:i}=e,s=typeof i=="object"&&i?.mimeType?.includes("video");return o(t||n,{...t!==null?{className:a}:{},children:s?o(r,{...e}):o(m,{...e})})};export{y as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{i as G,j as _,k as O,l as $,m as J,n as U,o as X}from"./chunk-O5BAW5XQ.mjs";import{a as y}from"./chunk-JULD2KZR.mjs";import{a as T}from"./chunk-FJUAYJF4.mjs";import{a as R}from"./chunk-TZTQENNX.mjs";import{a as S}from"./chunk-EGERAM4Q.mjs";import{a as I}from"./chunk-EESKUTPD.mjs";import{b as P}from"./chunk-7Z3TOFNL.mjs";import{a as b}from"./chunk-FVM5SQT2.mjs";import{a as l}from"./chunk-TSEOL53Y.mjs";import{useState as q}from"react";import{jsx as p,jsxs as v}from"react/jsx-runtime";var se=({links:r,richText:t})=>p("div",{className:"container",children:v("div",{className:"bg-card rounded border-border border p-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[p("div",{className:"max-w-[48rem] flex items-center",children:t&&p(f,{className:"mb-0",content:t,enableGutter:!1})}),p("div",{className:"flex flex-col gap-8",children:(r||[]).map(({link:e},n)=>p(y,{size:"lg",...e},n))})]})}),F=({links:r,richText:t})=>{let[e,n]=q(!1),i="accent",a=()=>n(!0),o=()=>n(!1),u=m=>{m.target===m.currentTarget&&o()};return v("div",{className:l("relative isolate overflow-hidden",i==="accent"?"bg-accent":"bg-black"),children:[p("div",{className:"px-6 py-24 sm:px-6 sm:py-32 lg:px-8",children:v("div",{className:"mx-auto max-w-2xl text-center prose",children:[t&&p(f,{className:"mb-0 prose-headings:text-white prose-h2:text-white prose-p:text-white text-white",content:t,enableGutter:!1}),p("div",{className:"mt-10 flex items-center justify-center gap-x-6",children:p("div",{className:"flex flex-col gap-8 text-white",children:(r||[]).map(({link:m},g)=>m?.url==="/contact"?p("div",{onClick:a,className:l("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",i==="accent"?"border-white bg-accent":"border-accent bg-black"),children:m.label},g):p(y,{size:"lg",className:l("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",i==="accent"?"border-white bg-accent":"border-accent bg-black"),...m},g))})})]})}),e&&p("div",{className:"absolute inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50",onClick:u,children:v("div",{className:"bg-white p-6 pt-10 rounded-lg shadow-lg w-full max-w-lg light relative",children:[p("button",{className:"absolute top-4 right-4 text-gray-500 hover:text-gray-700",onClick:o,children:"\u2715"}),p(T,{})," "]})})]})};import K from"next/image";import{jsx as d,jsxs as k}from"react/jsx-runtime";function D(r){return r&&typeof r=="object"&&"type"in r&&"iconName"in r}function w({image:r,icon:t,title:e,subtitle:n,content:i,statistic:a,settings:o,link:u,className:m}){let g={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:"bg-background"},N={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return k("a",{href:u?.url||"#",className:l("min-w-56 max-w-xl h-full flex flex-col group bg-background",r?"p-0":"p-6 md:p-8",o&&!r&&g[o?.card==="default"?"solid":o?.card],r&&"bg-foreground",o&&o?.card==="outline"?"text-gray-900":"text-white",N[o?.width??"auto"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",o&&`intersect:animate-delay-${o.order||1}00`,m),children:[r&&d("div",{className:"relative aspect-[16/9] w-full",children:d(K,{src:r.url||"/placeholder.svg",alt:r.alt||"card header image",fill:!0,style:{objectFit:"cover"},priority:!0})}),k("div",{className:l(r?"p-6 md:p-8":"p-0","flex flex-col flex-grow"),children:[k("div",{className:"flex flex-col flex-grow",children:[n&&d("div",{className:"text-primary uppercase text-sm font-light mb-4",children:n}),d("div",{className:"flex items-start gap-4 mb-4",children:d(Q,{icon:{type:t?.type||"fa-light",iconName:t?.icon||"no-icon-error"},heading:e??"",variant:o?.card==="default"?"solid":o?.card??"solid",iconSize:o?.iconSize||"large"})}),i&&typeof i=="object"&&d(f,{enableGutter:!1,content:i,enableProse:!1,className:l("prose-sm prose-p:text-lg prose-headings:text-xl","space-y-3",o?.card==="outline"||o?.card==="light"?"prose-headings:text-foreground prose-p:text-foreground prose-a:text-foreground":"prose-headings:text-white prose-p:text-gray-100 prose-a:text-gray-100",r&&"prose-headings:text-background prose-p:text-background")}),i&&typeof i=="string"&&d("div",{className:l("prose-sm prose-p:text-lg prose-headings:text-xl","space-y-3",o?.card==="outline"||o?.card==="light"?"prose text-foreground":"prose text-gray-100",r&&"prose text-background"),children:i})]}),u&&u.url&&d("div",{className:"mt-6",children:d("span",{className:"text-accent font-semibold uppercase text-sm block hover:text-accent/80 transition-colors",children:u?.label||"Find out more"})})]})]})}var Q=({icon:r,heading:t,variant:e,iconSize:n,subtitle:i})=>r&&n==="small"&&r.iconName!="no-icon-error"?k("div",{className:"flex items-start justify-between w-full mb-2",children:[d("div",{className:l(e==="outline"||e==="light"?"text-primary":"text-white",n==="small"?"text-2xl":"text-3xl"),children:t}),D(r)&&d("div",{className:l("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",e==="outline"||e==="light"?"text-primary":"text-white",n==="small"?"-mr-2 ml-1 mt-1":""),children:d(b,{type:r.type,iconName:r.iconName,size:"2x"})})]}):r&&r.iconName!="no-icon-error"?k("div",{className:"flex flex-col gap-4",children:[D(r)&&d("div",{className:l("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",e==="outline"||e==="light"?"text-accent":""),children:d(b,{type:r.type,iconName:r.iconName,size:"4x"})}),d("h3",{className:l("font-normal",e==="outline"||e==="light"?"text-2xl text-primary":"text-3xl text-white"),children:t})]}):d("div",{className:"flex items-center gap-4 mb-2",children:d("div",{className:l("font-regular",e==="outline"||e==="light"?"text-2xl text-primary":"text-3xl"),children:t})});import{jsx as c,jsxs as B}from"react/jsx-runtime";function z(r){return r&&typeof r=="object"&&"type"in r&&"iconName"in r}function ke({variant:r="outline",className:t,icon:e,iconSize:n="large",width:i="auto",order:a=0,heading:o,subheading:u,content:m,statistic:g,buttonText:N,buttonHref:E}){let H={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:""},j={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return B("div",{className:l("rounded-3xl p-8 md:p-8 min-w-56 flex flex-col group",H[r],r==="outline"?"text-gray-900":"text-white",t,j[i],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${a+1}00`),children:[c("div",{className:"flex items-center gap-4 mb-2",children:c(V,{icon:e,heading:o,variant:r,iconSize:n})}),g&&c("div",{className:"mb-6",children:c("div",{className:l("text-4xl text-wrap font-bold leading-none overflow-hidden",r==="outline"||r==="light"?"text-primary":"text-white"),children:g})}),u&&c("div",{className:"mb-4 text-xl md:text-2xl font-light",children:u}),m&&typeof m=="object"&&c("div",{className:l("space-y-6"),children:c(f,{enableGutter:!1,content:m,enableProse:!1,className:l(r==="outline"||r==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100")})}),m&&typeof m=="string"&&c("div",{className:l("space-y-6",r==="outline"||r==="light"?"text-gray-900":"text-gray-100"),children:m}),N&&c("div",{className:"mt-auto pt-6 flex items-center justify-center",children:c(P,{size:"lg",className:"text-white text-lg rounded-xl w-full mt-auto items-center justify-center",asChild:!0,children:c("a",{href:E,children:N})})}),r==="radial"&&c("div",{className:"absolute bottom-0 right-0 w-2/3 h-2/3 blur-3xl rounded-full",style:{background:"radial-gradient(circle, rgba(164,35,104,0.3) 0%, rgba(74,16,48,0) 70%)"}})]})}var V=({icon:r,heading:t,variant:e,iconSize:n})=>r&&n==="small"?B("div",{className:"flex items-start gap-4 mb-2",children:[z(r)&&c("div",{className:l("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",e==="outline"||e==="light"?"text-primary":"text-white",n==="small"?"mt-2":""),children:c(b,{type:r.type,iconName:r.iconName,size:"2x"})}),c("div",{className:l("font-semibold",e==="outline"||e==="light"?"text-primary":"text-white",n==="small"?"text-2xl":"text-3xl"),children:t})]}):r?B("div",{className:"flex flex-col gap-4",children:[z(r)&&c("div",{className:l("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",e==="outline"||e==="light"?"text-accent":""),children:c(b,{type:r.type,iconName:r.iconName,size:"4x"})}),c("h3",{className:l("font-semibold",e==="outline"||e==="light"?"text-2xl text-primary":"text-3xl"),children:t})]}):c("div",{className:"flex items-center gap-4 mb-2",children:c("div",{className:l("font-semibold",e==="outline"||e==="light"?"text-2xl text-primary":"text-3xl"),children:t})});import{jsx as x,jsxs as A}from"react/jsx-runtime";var M=({title:r,description:t,features:e,id:n,nested:i=!1})=>A("section",{className:l(i?"w-full":"",""),children:[A("div",{className:"prose prose:max-w-none",children:[r&&x("h2",{className:"mb-6 mt-0 text-primary",id:n||"",children:r}),t&&typeof t=="string"&&x("p",{className:"mb-5 text-foreground",children:t}),t&&typeof t=="object"&&x("div",{className:"mb-5 text-foreground",children:x(f,{content:t,enableGutter:!1})})]}),x("div",{className:`grid gap-6 mt-6 md:grid-cols-${e?e.length>2?2:e.length:1} lg:grid-cols-${e?e.length>3?3:e.length:1}`,children:e&&e.map((a,o)=>{let u=()=>{if(a.icon&&"type"in a.icon&&a.icon.type!=="none")return{type:a.icon.type,icon:a.icon.icon}};return x(w,{title:a.title||"",content:a.content||void 0,statistic:a.statistic||void 0,settings:{...a.settings,width:"auto",order:o},link:a.link?{...a.link,label:"Learn more"}:void 0,icon:u()??{type:"none",icon:null}},o)})})]});import W,{Fragment as Y}from"react";import{jsx as s}from"react/jsx-runtime";function h({nodes:r}){return s(Y,{children:r?.map((t,e)=>{if(t==null)return null;if(t.type==="text"&&t.text){let a=s(W.Fragment,{children:t.text},e);return t.format&1&&(a=s("strong",{children:a},e)),t.format&2&&(a=s("em",{children:a},e)),t.format&4&&(a=s("span",{style:{textDecoration:"line-through"},children:a},e)),t.format&8&&(a=s("span",{style:{textDecoration:"underline"},children:a},e)),t.format&16&&(a=s("code",{children:t.text},e)),t.format&32&&(a=s("sub",{children:a},e)),t.format&64&&(a=s("sup",{children:a},e)),a}if(t.type==="table")return s("table",{children:s("tbody",{children:t.children.map((a,o)=>s("tr",{children:a.children.map((u,m)=>s("td",{children:h({nodes:u.children})},m))},o))})},e);let n=a=>{if(a.children==null)return null;if(a?.type==="list"&&a?.listType==="check")for(let o of a.children)"checked"in o&&(o?.checked||(o.checked=!1));return h({nodes:a.children})},i="children"in t?n(t):"";if(t.type==="block"){let a=t.fields,o=a?.blockType;if(!a||!o)return null;switch(o){case"cta":return s(F,{...a},e);case"mediaBlock":return s(S,{className:"col-start-1 col-span-3",imgClassName:"m-0",...a,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},e);case"imageBlock":return s(R,{className:"col-start-1 col-span-3",imgClassName:"m-0",...a,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},e);case"banner":return s(L,{className:"col-start-2 mb-4",...a},e);case"code":return s(I,{className:"col-start-2",...a},e);case"features":return s(M,{...a,nested:!0},e);case"reusableContentBlock":h({nodes:a.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return s("br",{className:"col-start-2"},e);case"paragraph":return s("p",{className:"col-start-2",children:i},e);case"heading":{let a=t?.tag;return s(a,{className:"col-start-2",id:t?.id||"",children:i},e)}case"list":{let a=t?.tag;return s(a,{className:"list col-start-2",children:i},e)}case"listitem":return t?.checked!=null?s("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t?.value,children:i},e):s("li",{value:t?.value,children:i},e);case"quote":return s("blockquote",{className:"col-start-2",children:i},e);case"link":{let a=t.fields;return s(y,{newTab:!!a?.newTab,reference:a.doc,type:a.linkType==="internal"?"reference":"custom",url:a.url,children:i},e)}case"autolink":{let a=t.fields;return s(y,{newTab:!!a?.newTab,reference:a.doc,type:a.linkType==="internal"?"reference":"custom",url:a.url,children:i},e)}default:return null}})})}import{jsx as Z}from"react/jsx-runtime";var f=({className:r,content:t,enableGutter:e=!0,enableProse:n=!0})=>t?Z("div",{className:l({"container ":e,"max-w-none":!e,"mx-auto prose":n},r),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&h({nodes:t?.root?.children})}):null;import{jsx as C}from"react/jsx-runtime";var L=({className:r,content:t,style:e})=>C("div",{className:l("mx-auto my-8 w-full",r),children:C("div",{className:l("border py-3 px-6 flex items-center rounded",{"border-border bg-card":e==="info","border-error bg-error/30":e==="error","border-success bg-success/30":e==="success","border-warning bg-warning/30":e==="warning"}),children:C(f,{content:t,enableGutter:!1,enableProse:!1})})});export{L as a,se as b,F as c,M as d,h as e,f,w as g,ke as h};
4
+ import{i as G,j as _,k as O,l as $,m as J,n as U,o as X}from"./chunk-O5BAW5XQ.mjs";import{a as y}from"./chunk-2QZUKVBA.mjs";import{a as T}from"./chunk-TXVA6XJT.mjs";import{a as R}from"./chunk-XGIYNUGC.mjs";import{a as S}from"./chunk-X3JZSN3W.mjs";import{a as I}from"./chunk-LXZAOORS.mjs";import{b as P}from"./chunk-ZUA4KNIR.mjs";import{a as b}from"./chunk-FVM5SQT2.mjs";import{a as l}from"./chunk-MDJREBVI.mjs";import{useState as q}from"react";import{jsx as p,jsxs as v}from"react/jsx-runtime";var se=({links:r,richText:t})=>p("div",{className:"container",children:v("div",{className:"bg-card rounded border-border border p-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[p("div",{className:"max-w-[48rem] flex items-center",children:t&&p(f,{className:"mb-0",content:t,enableGutter:!1})}),p("div",{className:"flex flex-col gap-8",children:(r||[]).map(({link:e},n)=>p(y,{size:"lg",...e},n))})]})}),F=({links:r,richText:t})=>{let[e,n]=q(!1),i="accent",a=()=>n(!0),o=()=>n(!1),u=m=>{m.target===m.currentTarget&&o()};return v("div",{className:l("relative isolate overflow-hidden",i==="accent"?"bg-accent":"bg-black"),children:[p("div",{className:"px-6 py-24 sm:px-6 sm:py-32 lg:px-8",children:v("div",{className:"mx-auto max-w-2xl text-center prose",children:[t&&p(f,{className:"mb-0 prose-headings:text-white prose-h2:text-white prose-p:text-white text-white",content:t,enableGutter:!1}),p("div",{className:"mt-10 flex items-center justify-center gap-x-6",children:p("div",{className:"flex flex-col gap-8 text-white",children:(r||[]).map(({link:m},g)=>m?.url==="/contact"?p("div",{onClick:a,className:l("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",i==="accent"?"border-white bg-accent":"border-accent bg-black"),children:m.label},g):p(y,{size:"lg",className:l("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",i==="accent"?"border-white bg-accent":"border-accent bg-black"),...m},g))})})]})}),e&&p("div",{className:"absolute inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50",onClick:u,children:v("div",{className:"bg-white p-6 pt-10 rounded-lg shadow-lg w-full max-w-lg light relative",children:[p("button",{className:"absolute top-4 right-4 text-gray-500 hover:text-gray-700",onClick:o,children:"\u2715"}),p(T,{})," "]})})]})};import K from"next/image";import{jsx as d,jsxs as k}from"react/jsx-runtime";function D(r){return r&&typeof r=="object"&&"type"in r&&"iconName"in r}function w({image:r,icon:t,title:e,subtitle:n,content:i,statistic:a,settings:o,link:u,className:m}){let g={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:"bg-background"},N={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return k("a",{href:u?.url||"#",className:l("min-w-56 max-w-xl h-full flex flex-col group bg-background",r?"p-0":"p-6 md:p-8",o&&!r&&g[o?.card==="default"?"solid":o?.card],r&&"bg-foreground",o&&o?.card==="outline"?"text-gray-900":"text-white",N[o?.width??"auto"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",o&&`intersect:animate-delay-${o.order||1}00`,m),children:[r&&d("div",{className:"relative aspect-[16/9] w-full",children:d(K,{src:r.url||"/placeholder.svg",alt:r.alt||"card header image",fill:!0,style:{objectFit:"cover"},priority:!0})}),k("div",{className:l(r?"p-6 md:p-8":"p-0","flex flex-col flex-grow"),children:[k("div",{className:"flex flex-col flex-grow",children:[n&&d("div",{className:"text-primary uppercase text-sm font-light mb-4",children:n}),d("div",{className:"flex items-start gap-4 mb-4",children:d(Q,{icon:{type:t?.type||"fa-light",iconName:t?.icon||"no-icon-error"},heading:e??"",variant:o?.card==="default"?"solid":o?.card??"solid",iconSize:o?.iconSize||"large"})}),i&&typeof i=="object"&&d(f,{enableGutter:!1,content:i,enableProse:!1,className:l("prose-sm prose-p:text-lg prose-headings:text-xl","space-y-3",o?.card==="outline"||o?.card==="light"?"prose-headings:text-foreground prose-p:text-foreground prose-a:text-foreground":"prose-headings:text-white prose-p:text-gray-100 prose-a:text-gray-100",r&&"prose-headings:text-background prose-p:text-background")}),i&&typeof i=="string"&&d("div",{className:l("prose-sm prose-p:text-lg prose-headings:text-xl","space-y-3",o?.card==="outline"||o?.card==="light"?"prose text-foreground":"prose text-gray-100",r&&"prose text-background"),children:i})]}),u&&u.url&&d("div",{className:"mt-6",children:d("span",{className:"text-accent font-semibold uppercase text-sm block hover:text-accent/80 transition-colors",children:u?.label||"Find out more"})})]})]})}var Q=({icon:r,heading:t,variant:e,iconSize:n,subtitle:i})=>r&&n==="small"&&r.iconName!="no-icon-error"?k("div",{className:"flex items-start justify-between w-full mb-2",children:[d("div",{className:l(e==="outline"||e==="light"?"text-primary":"text-white",n==="small"?"text-2xl":"text-3xl"),children:t}),D(r)&&d("div",{className:l("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",e==="outline"||e==="light"?"text-primary":"text-white",n==="small"?"-mr-2 ml-1 mt-1":""),children:d(b,{type:r.type,iconName:r.iconName,size:"2x"})})]}):r&&r.iconName!="no-icon-error"?k("div",{className:"flex flex-col gap-4",children:[D(r)&&d("div",{className:l("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",e==="outline"||e==="light"?"text-accent":""),children:d(b,{type:r.type,iconName:r.iconName,size:"4x"})}),d("h3",{className:l("font-normal",e==="outline"||e==="light"?"text-2xl text-primary":"text-3xl text-white"),children:t})]}):d("div",{className:"flex items-center gap-4 mb-2",children:d("div",{className:l("font-regular",e==="outline"||e==="light"?"text-2xl text-primary":"text-3xl"),children:t})});import{jsx as c,jsxs as B}from"react/jsx-runtime";function z(r){return r&&typeof r=="object"&&"type"in r&&"iconName"in r}function ke({variant:r="outline",className:t,icon:e,iconSize:n="large",width:i="auto",order:a=0,heading:o,subheading:u,content:m,statistic:g,buttonText:N,buttonHref:E}){let H={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:""},j={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return B("div",{className:l("rounded-3xl p-8 md:p-8 min-w-56 flex flex-col group",H[r],r==="outline"?"text-gray-900":"text-white",t,j[i],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${a+1}00`),children:[c("div",{className:"flex items-center gap-4 mb-2",children:c(V,{icon:e,heading:o,variant:r,iconSize:n})}),g&&c("div",{className:"mb-6",children:c("div",{className:l("text-4xl text-wrap font-bold leading-none overflow-hidden",r==="outline"||r==="light"?"text-primary":"text-white"),children:g})}),u&&c("div",{className:"mb-4 text-xl md:text-2xl font-light",children:u}),m&&typeof m=="object"&&c("div",{className:l("space-y-6"),children:c(f,{enableGutter:!1,content:m,enableProse:!1,className:l(r==="outline"||r==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100")})}),m&&typeof m=="string"&&c("div",{className:l("space-y-6",r==="outline"||r==="light"?"text-gray-900":"text-gray-100"),children:m}),N&&c("div",{className:"mt-auto pt-6 flex items-center justify-center",children:c(P,{size:"lg",className:"text-white text-lg rounded-xl w-full mt-auto items-center justify-center",asChild:!0,children:c("a",{href:E,children:N})})}),r==="radial"&&c("div",{className:"absolute bottom-0 right-0 w-2/3 h-2/3 blur-3xl rounded-full",style:{background:"radial-gradient(circle, rgba(164,35,104,0.3) 0%, rgba(74,16,48,0) 70%)"}})]})}var V=({icon:r,heading:t,variant:e,iconSize:n})=>r&&n==="small"?B("div",{className:"flex items-start gap-4 mb-2",children:[z(r)&&c("div",{className:l("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",e==="outline"||e==="light"?"text-primary":"text-white",n==="small"?"mt-2":""),children:c(b,{type:r.type,iconName:r.iconName,size:"2x"})}),c("div",{className:l("font-semibold",e==="outline"||e==="light"?"text-primary":"text-white",n==="small"?"text-2xl":"text-3xl"),children:t})]}):r?B("div",{className:"flex flex-col gap-4",children:[z(r)&&c("div",{className:l("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",e==="outline"||e==="light"?"text-accent":""),children:c(b,{type:r.type,iconName:r.iconName,size:"4x"})}),c("h3",{className:l("font-semibold",e==="outline"||e==="light"?"text-2xl text-primary":"text-3xl"),children:t})]}):c("div",{className:"flex items-center gap-4 mb-2",children:c("div",{className:l("font-semibold",e==="outline"||e==="light"?"text-2xl text-primary":"text-3xl"),children:t})});import{jsx as x,jsxs as A}from"react/jsx-runtime";var M=({title:r,description:t,features:e,id:n,nested:i=!1})=>A("section",{className:l(i?"w-full":"",""),children:[A("div",{className:"prose prose:max-w-none",children:[r&&x("h2",{className:"mb-6 mt-0 text-primary",id:n||"",children:r}),t&&typeof t=="string"&&x("p",{className:"mb-5 text-foreground",children:t}),t&&typeof t=="object"&&x("div",{className:"mb-5 text-foreground",children:x(f,{content:t,enableGutter:!1})})]}),x("div",{className:`grid gap-6 mt-6 md:grid-cols-${e?e.length>2?2:e.length:1} lg:grid-cols-${e?e.length>3?3:e.length:1}`,children:e&&e.map((a,o)=>{let u=()=>{if(a.icon&&"type"in a.icon&&a.icon.type!=="none")return{type:a.icon.type,icon:a.icon.icon}};return x(w,{title:a.title||"",content:a.content||void 0,statistic:a.statistic||void 0,settings:{...a.settings,width:"auto",order:o},link:a.link?{...a.link,label:"Learn more"}:void 0,icon:u()??{type:"none",icon:null}},o)})})]});import W,{Fragment as Y}from"react";import{jsx as s}from"react/jsx-runtime";function h({nodes:r}){return s(Y,{children:r?.map((t,e)=>{if(t==null)return null;if(t.type==="text"&&t.text){let a=s(W.Fragment,{children:t.text},e);return t.format&1&&(a=s("strong",{children:a},e)),t.format&2&&(a=s("em",{children:a},e)),t.format&4&&(a=s("span",{style:{textDecoration:"line-through"},children:a},e)),t.format&8&&(a=s("span",{style:{textDecoration:"underline"},children:a},e)),t.format&16&&(a=s("code",{children:t.text},e)),t.format&32&&(a=s("sub",{children:a},e)),t.format&64&&(a=s("sup",{children:a},e)),a}if(t.type==="table")return s("table",{children:s("tbody",{children:t.children.map((a,o)=>s("tr",{children:a.children.map((u,m)=>s("td",{children:h({nodes:u.children})},m))},o))})},e);let n=a=>{if(a.children==null)return null;if(a?.type==="list"&&a?.listType==="check")for(let o of a.children)"checked"in o&&(o?.checked||(o.checked=!1));return h({nodes:a.children})},i="children"in t?n(t):"";if(t.type==="block"){let a=t.fields,o=a?.blockType;if(!a||!o)return null;switch(o){case"cta":return s(F,{...a},e);case"mediaBlock":return s(S,{className:"col-start-1 col-span-3",imgClassName:"m-0",...a,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},e);case"imageBlock":return s(R,{className:"col-start-1 col-span-3",imgClassName:"m-0",...a,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},e);case"banner":return s(L,{className:"col-start-2 mb-4",...a},e);case"code":return s(I,{className:"col-start-2",...a},e);case"features":return s(M,{...a,nested:!0},e);case"reusableContentBlock":h({nodes:a.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return s("br",{className:"col-start-2"},e);case"paragraph":return s("p",{className:"col-start-2",children:i},e);case"heading":{let a=t?.tag;return s(a,{className:"col-start-2",id:t?.id||"",children:i},e)}case"list":{let a=t?.tag;return s(a,{className:"list col-start-2",children:i},e)}case"listitem":return t?.checked!=null?s("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t?.value,children:i},e):s("li",{value:t?.value,children:i},e);case"quote":return s("blockquote",{className:"col-start-2",children:i},e);case"link":{let a=t.fields;return s(y,{newTab:!!a?.newTab,reference:a.doc,type:a.linkType==="internal"?"reference":"custom",url:a.url,children:i},e)}case"autolink":{let a=t.fields;return s(y,{newTab:!!a?.newTab,reference:a.doc,type:a.linkType==="internal"?"reference":"custom",url:a.url,children:i},e)}default:return null}})})}import{jsx as Z}from"react/jsx-runtime";var f=({className:r,content:t,enableGutter:e=!0,enableProse:n=!0})=>t?Z("div",{className:l({"container ":e,"max-w-none":!e,"mx-auto prose":n},r),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&h({nodes:t?.root?.children})}):null;import{jsx as C}from"react/jsx-runtime";var L=({className:r,content:t,style:e})=>C("div",{className:l("mx-auto my-8 w-full",r),children:C("div",{className:l("border py-3 px-6 flex items-center rounded",{"border-border bg-card":e==="info","border-error bg-error/30":e==="error","border-success bg-success/30":e==="success","border-warning bg-warning/30":e==="warning"}),children:C(f,{content:t,enableGutter:!1,enableProse:!1})})});export{L as a,se as b,F as c,M as d,h as e,f,w as g,ke as h};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as x}from"./chunk-Q2DPE66H.mjs";import{b as C}from"./chunk-7Z3TOFNL.mjs";import{b as h}from"./chunk-2JKLBLDE.mjs";import{a}from"./chunk-TSEOL53Y.mjs";import{useState as y,useEffect as B,useMemo as H}from"react";import{motion as m,AnimatePresence as D}from"motion/react";import{ChevronRight as N,ChevronLeft as I,Menu as L,X as M}from"lucide-react";import{jsx as t,jsxs as o}from"react/jsx-runtime";function K({capabilities:n,isOpen:u,onToggle:r,onActionSelect:e,onContextChange:d,colorScheme:l=x,className:w}){let[s,b]=y([]),[v,f]=y([]),c=s[s.length-1],k=c?.children||n,z=(i,p)=>{switch(i.type){case"category":return l.categories[p%l.categories.length];case"list":return l.lists[p%l.lists.length];case"item":return l.items[p%l.items.length];default:return l.primary}},g=H(()=>({path:s,selectedItems:v,filters:{}}),[s,v]);B(()=>{d&&d(g)},[g,d]);let P=i=>{i.type==="category"||i.type==="list"?b([...s,i]):i.type==="item"&&f([...v,i])},A=()=>{b(s.slice(0,-1))},S=i=>{b(s.slice(0,i+1))},E=()=>c?.actions?c.actions:[];return u?o("div",{className:a("w-full",w),children:[o("div",{className:"flex items-center justify-between mb-3",children:[o("div",{className:"flex items-center gap-2",children:[s.length>0&&t(m.button,{whileHover:{scale:1.1,transition:{duration:.3,ease:[.4,0,.2,1]}},whileTap:{scale:.9,transition:{duration:.15,ease:[.4,0,.2,1]}},onClick:A,className:a("group p-1 h-6 w-6 rounded-md backdrop-blur-sm","transition-all duration-300 ease-in-out","hover:bg-accent/50 hover:shadow-sm"),children:t(I,{className:a("h-3 w-3 transition-transform duration-300 ease-in-out","group-hover:-translate-x-0.5")})}),t("h4",{className:"font-medium text-sm",children:c?.name||"Capabilities"})]}),t(m.button,{whileHover:{scale:1.1,transition:{duration:.3,ease:[.4,0,.2,1]}},whileTap:{scale:.9,transition:{duration:.15,ease:[.4,0,.2,1]}},onClick:r,className:a("group p-1 h-6 w-6 rounded-md backdrop-blur-sm","transition-all duration-300 ease-in-out","hover:bg-accent/50 hover:shadow-sm"),children:t(M,{className:a("h-3 w-3 transition-transform duration-300 ease-in-out","group-hover:rotate-90")})})]}),s.length>0&&o("div",{className:"flex items-center gap-1 mb-3 text-xs text-muted-foreground",children:[t(m.button,{whileHover:{scale:1.05,transition:{duration:.3,ease:[.4,0,.2,1]}},onClick:()=>b([]),className:a("group relative transition-colors duration-300 ease-in-out hover:text-accent"),children:o("span",{className:"relative",children:["Capabilities",t("span",{className:"absolute -bottom-0.5 left-1/2 w-0 h-0.5 bg-accent transform -translate-x-1/2 transition-all duration-300 ease-in-out group-hover:w-full"})]})}),s.map((i,p)=>o("div",{className:"flex items-center gap-1",children:[t(N,{className:"h-2 w-2"}),t(m.button,{whileHover:{scale:1.05,transition:{duration:.3,ease:[.4,0,.2,1]}},onClick:()=>S(p),className:a("group relative transition-colors duration-300 ease-in-out hover:text-accent"),children:o("span",{className:"relative",children:[i.name,t("span",{className:"absolute -bottom-0.5 left-1/2 w-0 h-0.5 bg-accent transform -translate-x-1/2 transition-all duration-300 ease-in-out group-hover:w-full"})]})})]},i.id))]}),t("div",{className:"max-h-40 overflow-y-auto",children:t(D,{mode:"wait",children:t(m.div,{initial:{opacity:0,y:-4},animate:{opacity:1,y:0},exit:{opacity:0,y:4},transition:{duration:.2,ease:[.4,0,.2,1]},children:c?.type==="list"&&c.data?t(R,{data:c.data,onItemSelect:i=>f([...v,i]),colorScheme:l}):t(T,{capabilities:k,onSelect:P,colorScheme:l})},c?.id||"root")})})]}):o(C,{onClick:r,size:"sm",variant:"outline",className:"rounded-full",children:[t(L,{className:"h-4 w-4"}),t("span",{className:"ml-2",children:"Capabilities"})]})}function T({capabilities:n,onSelect:u,colorScheme:r}){return t("div",{className:"flex flex-wrap gap-2",children:n.map((e,d)=>t(G,{capability:e,onClick:()=>u(e),color:r.categories[d%r.categories.length]},e.id))})}function G({capability:n,onClick:u,selected:r,color:e}){return o(m.button,{whileHover:{scale:1.02,transition:{duration:.3,ease:[.4,0,.2,1]}},whileTap:{scale:.95,transition:{duration:.15,ease:[.4,0,.2,1]}},className:a("group relative inline-flex items-center gap-2 px-3 py-2 rounded-lg border cursor-pointer","bg-background text-left text-sm font-medium backdrop-blur-sm","transition-all duration-300 ease-in-out","hover:bg-accent/50 hover:border-accent/50 hover:shadow-sm",r&&"border-primary bg-accent scale-105"),onClick:u,children:[t("div",{className:a("w-2 h-2 rounded-full flex-shrink-0 transition-transform duration-300 ease-in-out","group-hover:scale-125",e)}),o("span",{className:"truncate relative",children:[n.name,t("span",{className:"absolute -bottom-0.5 left-1/2 w-0 h-0.5 bg-accent transform -translate-x-1/2 transition-all duration-300 ease-in-out group-hover:w-full"})]}),(n.children||n.data)&&t(N,{className:a("h-3 w-3 text-muted-foreground flex-shrink-0","transition-transform duration-300 ease-in-out group-hover:translate-x-0.5")}),n.type==="list"&&n.data&&t(h,{variant:"secondary",className:a("text-xs h-5 px-1.5 flex-shrink-0","transition-transform duration-300 ease-in-out group-hover:scale-110"),children:n.data.length})]})}function R({data:n,onItemSelect:u,colorScheme:r}){return t("div",{className:"flex flex-wrap gap-2",children:n.map((e,d)=>o(m.button,{whileHover:{scale:1.02,transition:{duration:.3,ease:[.4,0,.2,1]}},whileTap:{scale:.95,transition:{duration:.15,ease:[.4,0,.2,1]}},className:a("group relative inline-flex items-center gap-2 px-3 py-2 rounded-lg border cursor-pointer","bg-background text-left text-sm font-medium backdrop-blur-sm","transition-all duration-300 ease-in-out","hover:bg-accent/50 hover:border-accent/50 hover:shadow-sm"),onClick:()=>u(e),children:[t("div",{className:a("w-2 h-2 rounded-full flex-shrink-0 transition-transform duration-300 ease-in-out","group-hover:scale-125",r.items[d%r.items.length])}),o("div",{className:"flex-1 min-w-0",children:[o("span",{className:"truncate relative font-medium",children:[e.title,t("span",{className:"absolute -bottom-0.5 left-1/2 w-0 h-0.5 bg-accent transform -translate-x-1/2 transition-all duration-300 ease-in-out group-hover:w-full"})]}),e.subtitle&&t("div",{className:a("text-xs text-muted-foreground truncate","transition-colors duration-300 ease-in-out group-hover:text-accent/80"),children:e.subtitle})]}),e.value&&t(h,{variant:"secondary",className:a("text-xs h-5 px-1.5 flex-shrink-0 ml-2","transition-transform duration-300 ease-in-out group-hover:scale-110"),children:e.value})]},e.id))})}export{K as a};
4
+ import{a as x}from"./chunk-Q2DPE66H.mjs";import{b as C}from"./chunk-ZUA4KNIR.mjs";import{b as h}from"./chunk-CSBGSBEU.mjs";import{a}from"./chunk-MDJREBVI.mjs";import{useState as y,useEffect as B,useMemo as H}from"react";import{motion as m,AnimatePresence as D}from"motion/react";import{ChevronRight as N,ChevronLeft as I,Menu as L,X as M}from"lucide-react";import{jsx as t,jsxs as o}from"react/jsx-runtime";function K({capabilities:n,isOpen:u,onToggle:r,onActionSelect:e,onContextChange:d,colorScheme:l=x,className:w}){let[s,b]=y([]),[v,f]=y([]),c=s[s.length-1],k=c?.children||n,z=(i,p)=>{switch(i.type){case"category":return l.categories[p%l.categories.length];case"list":return l.lists[p%l.lists.length];case"item":return l.items[p%l.items.length];default:return l.primary}},g=H(()=>({path:s,selectedItems:v,filters:{}}),[s,v]);B(()=>{d&&d(g)},[g,d]);let P=i=>{i.type==="category"||i.type==="list"?b([...s,i]):i.type==="item"&&f([...v,i])},A=()=>{b(s.slice(0,-1))},S=i=>{b(s.slice(0,i+1))},E=()=>c?.actions?c.actions:[];return u?o("div",{className:a("w-full",w),children:[o("div",{className:"flex items-center justify-between mb-3",children:[o("div",{className:"flex items-center gap-2",children:[s.length>0&&t(m.button,{whileHover:{scale:1.1,transition:{duration:.3,ease:[.4,0,.2,1]}},whileTap:{scale:.9,transition:{duration:.15,ease:[.4,0,.2,1]}},onClick:A,className:a("group p-1 h-6 w-6 rounded-md backdrop-blur-sm","transition-all duration-300 ease-in-out","hover:bg-accent/50 hover:shadow-sm"),children:t(I,{className:a("h-3 w-3 transition-transform duration-300 ease-in-out","group-hover:-translate-x-0.5")})}),t("h4",{className:"font-medium text-sm",children:c?.name||"Capabilities"})]}),t(m.button,{whileHover:{scale:1.1,transition:{duration:.3,ease:[.4,0,.2,1]}},whileTap:{scale:.9,transition:{duration:.15,ease:[.4,0,.2,1]}},onClick:r,className:a("group p-1 h-6 w-6 rounded-md backdrop-blur-sm","transition-all duration-300 ease-in-out","hover:bg-accent/50 hover:shadow-sm"),children:t(M,{className:a("h-3 w-3 transition-transform duration-300 ease-in-out","group-hover:rotate-90")})})]}),s.length>0&&o("div",{className:"flex items-center gap-1 mb-3 text-xs text-muted-foreground",children:[t(m.button,{whileHover:{scale:1.05,transition:{duration:.3,ease:[.4,0,.2,1]}},onClick:()=>b([]),className:a("group relative transition-colors duration-300 ease-in-out hover:text-accent"),children:o("span",{className:"relative",children:["Capabilities",t("span",{className:"absolute -bottom-0.5 left-1/2 w-0 h-0.5 bg-accent transform -translate-x-1/2 transition-all duration-300 ease-in-out group-hover:w-full"})]})}),s.map((i,p)=>o("div",{className:"flex items-center gap-1",children:[t(N,{className:"h-2 w-2"}),t(m.button,{whileHover:{scale:1.05,transition:{duration:.3,ease:[.4,0,.2,1]}},onClick:()=>S(p),className:a("group relative transition-colors duration-300 ease-in-out hover:text-accent"),children:o("span",{className:"relative",children:[i.name,t("span",{className:"absolute -bottom-0.5 left-1/2 w-0 h-0.5 bg-accent transform -translate-x-1/2 transition-all duration-300 ease-in-out group-hover:w-full"})]})})]},i.id))]}),t("div",{className:"max-h-40 overflow-y-auto",children:t(D,{mode:"wait",children:t(m.div,{initial:{opacity:0,y:-4},animate:{opacity:1,y:0},exit:{opacity:0,y:4},transition:{duration:.2,ease:[.4,0,.2,1]},children:c?.type==="list"&&c.data?t(R,{data:c.data,onItemSelect:i=>f([...v,i]),colorScheme:l}):t(T,{capabilities:k,onSelect:P,colorScheme:l})},c?.id||"root")})})]}):o(C,{onClick:r,size:"sm",variant:"outline",className:"rounded-full",children:[t(L,{className:"h-4 w-4"}),t("span",{className:"ml-2",children:"Capabilities"})]})}function T({capabilities:n,onSelect:u,colorScheme:r}){return t("div",{className:"flex flex-wrap gap-2",children:n.map((e,d)=>t(G,{capability:e,onClick:()=>u(e),color:r.categories[d%r.categories.length]},e.id))})}function G({capability:n,onClick:u,selected:r,color:e}){return o(m.button,{whileHover:{scale:1.02,transition:{duration:.3,ease:[.4,0,.2,1]}},whileTap:{scale:.95,transition:{duration:.15,ease:[.4,0,.2,1]}},className:a("group relative inline-flex items-center gap-2 px-3 py-2 rounded-lg border cursor-pointer","bg-background text-left text-sm font-medium backdrop-blur-sm","transition-all duration-300 ease-in-out","hover:bg-accent/50 hover:border-accent/50 hover:shadow-sm",r&&"border-primary bg-accent scale-105"),onClick:u,children:[t("div",{className:a("w-2 h-2 rounded-full flex-shrink-0 transition-transform duration-300 ease-in-out","group-hover:scale-125",e)}),o("span",{className:"truncate relative",children:[n.name,t("span",{className:"absolute -bottom-0.5 left-1/2 w-0 h-0.5 bg-accent transform -translate-x-1/2 transition-all duration-300 ease-in-out group-hover:w-full"})]}),(n.children||n.data)&&t(N,{className:a("h-3 w-3 text-muted-foreground flex-shrink-0","transition-transform duration-300 ease-in-out group-hover:translate-x-0.5")}),n.type==="list"&&n.data&&t(h,{variant:"secondary",className:a("text-xs h-5 px-1.5 flex-shrink-0","transition-transform duration-300 ease-in-out group-hover:scale-110"),children:n.data.length})]})}function R({data:n,onItemSelect:u,colorScheme:r}){return t("div",{className:"flex flex-wrap gap-2",children:n.map((e,d)=>o(m.button,{whileHover:{scale:1.02,transition:{duration:.3,ease:[.4,0,.2,1]}},whileTap:{scale:.95,transition:{duration:.15,ease:[.4,0,.2,1]}},className:a("group relative inline-flex items-center gap-2 px-3 py-2 rounded-lg border cursor-pointer","bg-background text-left text-sm font-medium backdrop-blur-sm","transition-all duration-300 ease-in-out","hover:bg-accent/50 hover:border-accent/50 hover:shadow-sm"),onClick:()=>u(e),children:[t("div",{className:a("w-2 h-2 rounded-full flex-shrink-0 transition-transform duration-300 ease-in-out","group-hover:scale-125",r.items[d%r.items.length])}),o("div",{className:"flex-1 min-w-0",children:[o("span",{className:"truncate relative font-medium",children:[e.title,t("span",{className:"absolute -bottom-0.5 left-1/2 w-0 h-0.5 bg-accent transform -translate-x-1/2 transition-all duration-300 ease-in-out group-hover:w-full"})]}),e.subtitle&&t("div",{className:a("text-xs text-muted-foreground truncate","transition-colors duration-300 ease-in-out group-hover:text-accent/80"),children:e.subtitle})]}),e.value&&t(h,{variant:"secondary",className:a("text-xs h-5 px-1.5 flex-shrink-0 ml-2","transition-transform duration-300 ease-in-out group-hover:scale-110"),children:e.value})]},e.id))})}export{K as a};
@@ -1 +1 @@
1
- import{b as p}from"./chunk-7Z3TOFNL.mjs";import{a as s}from"./chunk-TSEOL53Y.mjs";import c from"next/link";import{jsx as P,jsxs as u}from"react/jsx-runtime";var v=m=>{let{type:f,appearance:t="inline",children:n,className:o,label:r,newTab:g,reference:e,size:y,url:a}=m,l=f==="reference"&&typeof e?.value=="object"&&e.value.slug?`${e?.relationTo!=="pages"?`/${e?.relationTo}`:""}/${e.value.slug}`:a;if(!l)return null;let b=t==="link"?"clear":y,i=g?{rel:"noopener noreferrer",target:"_blank"}:{};return t==="inline"?u(c,{className:s(o),href:l||a||"",...i,children:[r&&r,n&&n]}):P(p,{asChild:!0,className:o,size:b,variant:t,children:u(c,{className:s(o),href:l||a||"",...i,children:[r&&r,n&&n]})})};export{v as a};
1
+ import{b as p}from"./chunk-ZUA4KNIR.mjs";import{a as s}from"./chunk-MDJREBVI.mjs";import c from"next/link";import{jsx as P,jsxs as u}from"react/jsx-runtime";var v=m=>{let{type:f,appearance:t="inline",children:n,className:o,label:r,newTab:g,reference:e,size:y,url:a}=m,l=f==="reference"&&typeof e?.value=="object"&&e.value.slug?`${e?.relationTo!=="pages"?`/${e?.relationTo}`:""}/${e.value.slug}`:a;if(!l)return null;let b=t==="link"?"clear":y,i=g?{rel:"noopener noreferrer",target:"_blank"}:{};return t==="inline"?u(c,{className:s(o),href:l||a||"",...i,children:[r&&r,n&&n]}):P(p,{asChild:!0,className:o,size:b,variant:t,children:u(c,{className:s(o),href:l||a||"",...i,children:[r&&r,n&&n]})})};export{v as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as c}from"./chunk-EPDV35LO.mjs";import{b as s}from"./chunk-7Z3TOFNL.mjs";import{b as t}from"./chunk-2JKLBLDE.mjs";import{a as o,b as i,c as m,d,e as n,f as l}from"./chunk-7WKUKFCT.mjs";import{motion as v}from"motion/react";import{FileText as C,Share2 as N,Users as x}from"lucide-react";import{jsx as r,jsxs as e}from"react/jsx-runtime";function S({project:a,onOpen:u,onShare:f,className:p}){return r(v.div,{whileHover:{scale:1.02,y:-5},whileTap:{scale:.98},className:p,children:e(o,{className:"overflow-hidden rounded-3xl border hover:border-primary/50 transition-all duration-300",children:[e(i,{children:[e("div",{className:"flex items-center justify-between",children:[r(m,{children:a.name}),e(t,{variant:"outline",className:"rounded-xl",children:["Due ",a.dueDate]})]}),r(d,{children:a.description})]}),e(n,{className:"space-y-4",children:[e("div",{className:"space-y-2",children:[e("div",{className:"flex items-center justify-between text-sm",children:[r("span",{children:"Progress"}),e("span",{children:[a.progress,"%"]})]}),r(c,{value:a.progress,className:"h-2 rounded-xl"})]}),e("div",{className:"flex items-center justify-between text-sm text-muted-foreground",children:[e("div",{className:"flex items-center",children:[r(x,{className:"mr-1 h-4 w-4"}),a.members," members"]}),e("div",{className:"flex items-center",children:[r(C,{className:"mr-1 h-4 w-4"}),a.files," files"]})]})]}),e(l,{className:"flex gap-2",children:[r(s,{variant:"secondary",className:"flex-1 rounded-2xl",onClick:()=>u?.(a),children:"Open Project"}),r(s,{variant:"outline",size:"icon",className:"rounded-2xl",onClick:()=>f?.(a),children:r(N,{className:"h-4 w-4"})})]})]})})}export{S as a};
4
+ import{a as c}from"./chunk-5RTGHMF3.mjs";import{b as s}from"./chunk-ZUA4KNIR.mjs";import{b as t}from"./chunk-CSBGSBEU.mjs";import{a as o,b as i,c as m,d,e as n,f as l}from"./chunk-YO3GQYRJ.mjs";import{motion as v}from"motion/react";import{FileText as C,Share2 as N,Users as x}from"lucide-react";import{jsx as r,jsxs as e}from"react/jsx-runtime";function S({project:a,onOpen:u,onShare:f,className:p}){return r(v.div,{whileHover:{scale:1.02,y:-5},whileTap:{scale:.98},className:p,children:e(o,{className:"overflow-hidden rounded-3xl border hover:border-primary/50 transition-all duration-300",children:[e(i,{children:[e("div",{className:"flex items-center justify-between",children:[r(m,{children:a.name}),e(t,{variant:"outline",className:"rounded-xl",children:["Due ",a.dueDate]})]}),r(d,{children:a.description})]}),e(n,{className:"space-y-4",children:[e("div",{className:"space-y-2",children:[e("div",{className:"flex items-center justify-between text-sm",children:[r("span",{children:"Progress"}),e("span",{children:[a.progress,"%"]})]}),r(c,{value:a.progress,className:"h-2 rounded-xl"})]}),e("div",{className:"flex items-center justify-between text-sm text-muted-foreground",children:[e("div",{className:"flex items-center",children:[r(x,{className:"mr-1 h-4 w-4"}),a.members," members"]}),e("div",{className:"flex items-center",children:[r(C,{className:"mr-1 h-4 w-4"}),a.files," files"]})]})]}),e(l,{className:"flex gap-2",children:[r(s,{variant:"secondary",className:"flex-1 rounded-2xl",onClick:()=>u?.(a),children:"Open Project"}),r(s,{variant:"outline",size:"icon",className:"rounded-2xl",onClick:()=>f?.(a),children:r(N,{className:"h-4 w-4"})})]})]})})}export{S as a};
@@ -0,0 +1,4 @@
1
+ "use client";
2
+ "use strict";
3
+
4
+ import{a as v,b as c,i as h,j as d}from"./chunk-OCPX4QPC.mjs";import{b as l}from"./chunk-ZUA4KNIR.mjs";import{a as x,b as f,c as w}from"./chunk-SOLZ4VQH.mjs";import{b as o}from"./chunk-CSBGSBEU.mjs";import{a as N,b as u,e as g}from"./chunk-YO3GQYRJ.mjs";import{a as n}from"./chunk-MDJREBVI.mjs";import{useState as S}from"react";import{MoreHorizontal as T,Mail as E,Phone as $,MapPin as z,Clock as P,Settings as C,Trash2 as H,Edit as F,User as L,Bot as U}from"lucide-react";import{Fragment as y,jsx as t,jsxs as a}from"react/jsx-runtime";function X({colleague:e,onEdit:M,onDelete:D,onViewDetails:b,showActions:k=!0,compact:i=!1,className:B}){let[r,p]=S(!1),V=s=>{switch(s){case"active":return"bg-green-500";case"inactive":return"bg-gray-500";default:return"bg-gray-500"}},A=s=>{switch(s){case"active":return"Active";case"inactive":return"Inactive";default:return"Unknown"}},I=s=>{if(!s)return"Never";let m=Math.floor((new Date().getTime()-s.getTime())/(1e3*60));return m<1?"Just now":m<60?`${m}m ago`:m<1440?`${Math.floor(m/60)}h ago`:`${Math.floor(m/1440)}d ago`};return a(N,{className:n("hover:shadow-md transition-shadow",i&&"p-2",B),children:[t(u,{className:n("pb-3",i&&"pb-2"),children:a("div",{className:"flex items-start justify-between",children:[a("div",{className:"flex items-center gap-3",children:[t("div",{className:"relative",children:a(x,{className:n("h-12 w-12",i&&"h-8 w-8"),children:[t(f,{src:"/placeholder.svg",alt:e.name}),t(w,{children:e.name.split(" ").map(s=>s[0]).join("")})]})}),a("div",{className:"flex-1 min-w-0",children:[a("div",{className:"flex items-center gap-2",children:[t("h3",{className:n("font-semibold text-sm truncate",i&&"text-xs"),children:e.name}),e.type==="digital"?t(U,{className:n("h-4 w-4 text-blue-500",i&&"h-3 w-3")}):t(L,{className:n("h-4 w-4 text-green-500",i&&"h-3 w-3")})]}),t("p",{className:n("text-sm text-muted-foreground truncate",i&&"text-xs"),children:e.type==="human"?e.role:e.description}),!i&&a("div",{className:"flex items-center gap-2 mt-1",children:[e.type==="human"&&t(o,{variant:"secondary",className:"text-xs",children:e.department}),e.type==="digital"&&a(o,{variant:"secondary",className:"text-xs",children:["v",e.version]}),t(o,{variant:"outline",className:"text-xs",children:A(e.status)})]})]})]}),k&&a(v,{children:[t(c,{asChild:!0,children:t(l,{variant:"ghost",size:"icon",className:n("h-8 w-8",i&&"h-6 w-6"),children:t(T,{className:n("h-4 w-4",i&&"h-3 w-3")})})}),a(h,{align:"end",children:[e.type==="digital"&&a(y,{children:[a(d,{onClick:()=>b?.(e),children:[t(C,{className:"h-4 w-4 mr-2"}),"View Details"]}),a(d,{onClick:()=>M?.(e),children:[t(F,{className:"h-4 w-4 mr-2"}),"Edit"]})]}),a(d,{onClick:()=>D?.(e.id),className:"text-destructive focus:text-destructive",children:[t(H,{className:"h-4 w-4 mr-2"}),e.type==="digital"?"Delete":"Remove from team"]})]})]})]})}),!i&&a(g,{className:"pt-0",children:[a("div",{className:"space-y-2 text-sm",children:[e.type==="human"&&a("div",{className:"flex items-center gap-2 text-muted-foreground",children:[t(E,{className:"h-3 w-3"}),t("span",{className:"truncate",children:e.email})]}),e.type==="human"&&a(y,{children:[e.phone&&a("div",{className:"flex items-center gap-2 text-muted-foreground",children:[t($,{className:"h-3 w-3"}),t("span",{children:e.phone})]}),e.location&&a("div",{className:"flex items-center gap-2 text-muted-foreground",children:[t(z,{className:"h-3 w-3"}),t("span",{children:e.location})]})]}),e.type==="digital"&&a("div",{className:"flex items-center gap-2 text-muted-foreground",children:[t(C,{className:"h-3 w-3"}),a("span",{children:["v",e.version]})]}),a("div",{className:"flex items-center gap-2 text-muted-foreground",children:[t(P,{className:"h-3 w-3"}),a("span",{children:["Last active: ",I(e.lastActive)]})]})]}),e.type==="human"&&e.skills&&t("div",{className:"mt-3",children:a("div",{className:"flex flex-wrap gap-1",children:[e.skills.slice(0,r?e.skills.length:3).map(s=>t(o,{variant:"outline",className:"text-xs",children:s},s)),e.skills.length>3&&t(l,{variant:"ghost",size:"sm",className:"h-5 px-2 text-xs",onClick:()=>p(!r),children:r?"Show less":`+${e.skills.length-3} more`})]})}),e.type==="digital"&&t("div",{className:"mt-3",children:a("div",{className:"flex flex-wrap gap-1",children:[e.capabilities.slice(0,r?e.capabilities.length:2).map(s=>t(o,{variant:"outline",className:"text-xs",children:s},s)),e.capabilities.length>2&&t(l,{variant:"ghost",size:"sm",className:"h-5 px-2 text-xs",onClick:()=>p(!r),children:r?"Show less":`+${e.capabilities.length-2} more`})]})})]})]})}export{X as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a}from"./chunk-D42KIYIO.mjs";import{a as f}from"./chunk-RD7LJPUV.mjs";import{a as g}from"./chunk-TSEOL53Y.mjs";import{useState as l}from"react";import{User as P}from"lucide-react";import{jsx as e,jsxs as v}from"react/jsx-runtime";var b=[{id:"copilot",name:"Peronal Copilot",description:"Your personal AI assistant for all tasks",icon:e(P,{className:"h-4 w-4"}),color:"bg-orange-600",accentColor:"text-orange-600"}];function E({sidebarItems:r,children:h,title:U="Digital Colleagues",notifications:C=[],currentBusinessUnit:N=b[0],onBusinessUnitChange:B,onSearch:c,businessUnits:D=b,activeTab:x,onTabChange:T,showTabs:y=!1,onActionClick:A,actionIcon:R,actionText:S="Action",onNotificationRemove:k,onRemoveAll:w,logo:n="/headerlogo.png",appName:o="Nuvia",tagline:s="Collaboration Platform",sidebarInitiallyClosed:M=!1}){let[i,O]=l(!M),[d,t]=l(!1),[u,I]=l(N),m=p=>{I(p),B?.(p)};return v("div",{className:"flex h-full flex-col overflow-hidden rounded-xl bg-background w-[]",children:[d&&e("div",{className:"fixed inset-0 z-40 bg-black/50 md:hidden",onClick:()=>t(!1)}),e("div",{className:"md:hidden",children:e(a,{items:r,isOpen:d,isMobile:!0,onClose:()=>t(!1),currentBusinessUnit:u,onBusinessUnitChange:m,onSearch:c,logo:n,appName:o,tagline:s})}),e("div",{className:"hidden md:block",children:e(a,{items:r,isOpen:i,isMobile:!1,currentBusinessUnit:u,onBusinessUnitChange:m,onSearch:c,logo:n,appName:o,tagline:s})}),v("div",{className:g("min-h-screen fixed w-full transition-all duration-300 ease-in-out",i?"md:pl-64":"md:pl-0"),children:[e(f,{title:U,notifications:C,onToggleSidebar:()=>O(!i),onToggleMobileMenu:()=>t(!0),sidebarOpen:i,activeTab:x,onTabChange:T,showTabs:y,onActionClick:A,actionIcon:R,actionText:S,onNotificationRemove:k,onRemoveAll:w,logo:n,appName:o,tagline:s}),e("main",{className:"flex-1 p-0 flex flex-col h-[calc(100vh-4rem)] overflow-auto",children:h})]})]})}export{E as a};
4
+ import{a}from"./chunk-4WA47ZQA.mjs";import{a as f}from"./chunk-Q67RF7VO.mjs";import{a as g}from"./chunk-MDJREBVI.mjs";import{useState as l}from"react";import{User as P}from"lucide-react";import{jsx as e,jsxs as v}from"react/jsx-runtime";var b=[{id:"copilot",name:"Peronal Copilot",description:"Your personal AI assistant for all tasks",icon:e(P,{className:"h-4 w-4"}),color:"bg-orange-600",accentColor:"text-orange-600"}];function E({sidebarItems:r,children:h,title:U="Digital Colleagues",notifications:C=[],currentBusinessUnit:N=b[0],onBusinessUnitChange:B,onSearch:c,businessUnits:D=b,activeTab:x,onTabChange:T,showTabs:y=!1,onActionClick:A,actionIcon:R,actionText:S="Action",onNotificationRemove:k,onRemoveAll:w,logo:n="/headerlogo.png",appName:o="Nuvia",tagline:s="Collaboration Platform",sidebarInitiallyClosed:M=!1}){let[i,O]=l(!M),[d,t]=l(!1),[u,I]=l(N),m=p=>{I(p),B?.(p)};return v("div",{className:"flex h-full flex-col overflow-hidden rounded-xl bg-background w-[]",children:[d&&e("div",{className:"fixed inset-0 z-40 bg-black/50 md:hidden",onClick:()=>t(!1)}),e("div",{className:"md:hidden",children:e(a,{items:r,isOpen:d,isMobile:!0,onClose:()=>t(!1),currentBusinessUnit:u,onBusinessUnitChange:m,onSearch:c,logo:n,appName:o,tagline:s})}),e("div",{className:"hidden md:block",children:e(a,{items:r,isOpen:i,isMobile:!1,currentBusinessUnit:u,onBusinessUnitChange:m,onSearch:c,logo:n,appName:o,tagline:s})}),v("div",{className:g("min-h-screen fixed w-full transition-all duration-300 ease-in-out",i?"md:pl-64":"md:pl-0"),children:[e(f,{title:U,notifications:C,onToggleSidebar:()=>O(!i),onToggleMobileMenu:()=>t(!0),sidebarOpen:i,activeTab:x,onTabChange:T,showTabs:y,onActionClick:A,actionIcon:R,actionText:S,onNotificationRemove:k,onRemoveAll:w,logo:n,appName:o,tagline:s}),e("main",{className:"flex-1 p-0 flex flex-col h-[calc(100vh-4rem)] overflow-hidden",children:h})]})]})}export{E as a};
@@ -1 +1 @@
1
- import{f as r}from"./chunk-TR52MKZR.mjs";import{a as n}from"./chunk-TSEOL53Y.mjs";import{jsx as t,jsxs as c}from"react/jsx-runtime";function f({subtitle:s,title:o,description:e,alignment:a="start",hasBottomSpacing:i=!1,className:m,invert:l=!1}){let p=n(a==="start"&&"text-left",a==="center"&&"text-center",a==="end"&&"text-right",{"mb-10 md:mb-[3.75rem]":i},"prose",m);return c("div",{className:p,children:[s&&t("span",{className:"mb-[.625rem] block font-semibold uppercase text-accent md:text-md",children:s}),t("h2",{className:n("text-primary mt-0"),children:o}),typeof e=="string"?e&&t("p",{className:"mt-5 whitespace-pre-line text-foreground",children:e}):e&&t(r,{content:e,enableGutter:!1,className:"prose-headings:text-accent prose-p:text-primary"})]})}export{f as a};
1
+ import{f as r}from"./chunk-2BRDNDUB.mjs";import{a as n}from"./chunk-MDJREBVI.mjs";import{jsx as t,jsxs as c}from"react/jsx-runtime";function f({subtitle:s,title:o,description:e,alignment:a="start",hasBottomSpacing:i=!1,className:m,invert:l=!1}){let p=n(a==="start"&&"text-left",a==="center"&&"text-center",a==="end"&&"text-right",{"mb-10 md:mb-[3.75rem]":i},"prose",m);return c("div",{className:p,children:[s&&t("span",{className:"mb-[.625rem] block font-semibold uppercase text-accent md:text-md",children:s}),t("h2",{className:n("text-primary mt-0"),children:o}),typeof e=="string"?e&&t("p",{className:"mt-5 whitespace-pre-line text-foreground",children:e}):e&&t(r,{content:e,enableGutter:!1,className:"prose-headings:text-accent prose-p:text-primary"})]})}export{f as a};
@@ -1 +1 @@
1
- import{a as c}from"./chunk-CXXPSCV3.mjs";import{a as l}from"./chunk-TNCD5YIY.mjs";import{a as m}from"./chunk-TSEOL53Y.mjs";import t from"next/image";import{Fragment as p,jsx as e,jsxs as i}from"react/jsx-runtime";function u(d){let{images:a,sectionHeading:n,keyPoints:s,description:o}=d;return e(p,{children:e("section",{id:"about-section",className:m(" clip-custom-top-l sticky md:top-0 md:h-screen z-2 flex flex-col items-center justify-center section-padding-primary dark bg-background",d.className||""),children:e(l,{children:i("div",{className:"grid items-center gap-12 lg:grid-cols-[.92fr_1fr] 2xl:gap-20",children:[i("div",{className:"lg:order-2","data-aos":"fade-left","data-aos-delay":"200",children:[e(c,{...n}),s&&s.length>0&&e("div",{className:"mt-7 grid gap-5 text-accent sm:grid-cols-2 md:mt-10 md:gap-[1.875rem]",children:s.map((r,g)=>i("div",{className:"group flex min-h-[64px] items-center gap-5 rounded-5 border border-accent px-6 py-2 md:min-h-[85px] md:px-[1.875rem] md:py-3",children:[e("span",{className:"duration flex-none scale-100 transition-transform ease-linear group-hover:scale-90",children:r.icon}),e("h3",{className:"text-md font-bold leading-[1.25] md:text-lg",children:r.title})]},g))}),o&&e("p",{className:"mt-5 text-primary md:mt-[1.875rem]",children:o})]}),a&&e("div",{className:"mx-auto text-center",children:i("div",{className:"relative mx-auto grid max-w-[580px] grid-cols-2 gap-2.5 overflow-hidden",children:[e("div",{className:"relative flex justify-end overflow-hidden",children:e("div",{className:"relative z-[2] mt-auto","data-aos":"fade-up","data-aos-delay":"200",children:e("div",{className:"relative z-[4] overflow-hidden",children:e(t,{src:a.image1.src,alt:a.image1.alt,width:a.image1.width,height:a.image1.height,className:"rounded-tl-[60px] object-cover object-top"})})})}),e("div",{className:"flex overflow-hidden",children:e(t,{src:a.image2.src,alt:a.image2.alt,width:a.image2.width,height:a.image2.height,className:"rounded-[80px_10px] object-cover","data-aos":"fade-right","data-aos-delay":"300"})}),e("div",{className:"ml-auto flex max-w-[250px] justify-end overflow-hidden",children:e(t,{src:a.image3.src,alt:a.image4.alt,width:a.image3.width,height:a.image3.height,className:"rounded-[50px_10px] object-cover","data-aos":"fade-left","data-aos-delay":"350"})}),e("div",{className:"overflow-hidden",children:e(t,{src:a.image4.src,alt:a.image4.alt,width:a.image4.width,height:a.image4.height,className:"rounded-10 rounded-br-[80px] object-cover","data-aos":"fade-right","data-aos-delay":"400"})}),e("div",{className:"absolute left-1/2 top-1/2 z-[4] -translate-x-1/2 -translate-y-1/2 overflow-hidden",children:e("div",{"data-aos":"zoom-in","data-aos-delay":"450",children:e("span",{className:"grid h-[100px] w-[100px] place-items-center rounded-full border-[12px] border-white bg-accent text-[30px] text-white",children:e("svg",{width:"1em",height:"1em",viewBox:"0 0 27 27",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:e("path",{d:"M26.8125 13.8672C26.8125 14.9922 25.875 15.9297 24.8125 15.9297H15.8125V24.9297C15.8125 25.9922 14.875 26.8672 13.8125 26.8672C12.6875 26.8672 11.8125 25.9922 11.8125 24.9297V15.9297H2.8125C1.6875 15.9297 0.8125 14.9922 0.8125 13.8672C0.8125 12.8047 1.6875 11.9297 2.8125 11.9297H11.8125V2.92969C11.8125 1.80469 12.6875 0.867188 13.8125 0.867188C14.875 0.867188 15.8125 1.80469 15.8125 2.92969V11.9297H24.8125C25.875 11.8672 26.8125 12.8047 26.8125 13.8672Z"})})})})})]})})]})})})})}export{u as a};
1
+ import{a as c}from"./chunk-3HNU2NYP.mjs";import{a as l}from"./chunk-FMJBJ3HN.mjs";import{a as m}from"./chunk-MDJREBVI.mjs";import t from"next/image";import{Fragment as p,jsx as e,jsxs as i}from"react/jsx-runtime";function u(d){let{images:a,sectionHeading:n,keyPoints:s,description:o}=d;return e(p,{children:e("section",{id:"about-section",className:m(" clip-custom-top-l sticky md:top-0 md:h-screen z-2 flex flex-col items-center justify-center section-padding-primary dark bg-background",d.className||""),children:e(l,{children:i("div",{className:"grid items-center gap-12 lg:grid-cols-[.92fr_1fr] 2xl:gap-20",children:[i("div",{className:"lg:order-2","data-aos":"fade-left","data-aos-delay":"200",children:[e(c,{...n}),s&&s.length>0&&e("div",{className:"mt-7 grid gap-5 text-accent sm:grid-cols-2 md:mt-10 md:gap-[1.875rem]",children:s.map((r,g)=>i("div",{className:"group flex min-h-[64px] items-center gap-5 rounded-5 border border-accent px-6 py-2 md:min-h-[85px] md:px-[1.875rem] md:py-3",children:[e("span",{className:"duration flex-none scale-100 transition-transform ease-linear group-hover:scale-90",children:r.icon}),e("h3",{className:"text-md font-bold leading-[1.25] md:text-lg",children:r.title})]},g))}),o&&e("p",{className:"mt-5 text-primary md:mt-[1.875rem]",children:o})]}),a&&e("div",{className:"mx-auto text-center",children:i("div",{className:"relative mx-auto grid max-w-[580px] grid-cols-2 gap-2.5 overflow-hidden",children:[e("div",{className:"relative flex justify-end overflow-hidden",children:e("div",{className:"relative z-[2] mt-auto","data-aos":"fade-up","data-aos-delay":"200",children:e("div",{className:"relative z-[4] overflow-hidden",children:e(t,{src:a.image1.src,alt:a.image1.alt,width:a.image1.width,height:a.image1.height,className:"rounded-tl-[60px] object-cover object-top"})})})}),e("div",{className:"flex overflow-hidden",children:e(t,{src:a.image2.src,alt:a.image2.alt,width:a.image2.width,height:a.image2.height,className:"rounded-[80px_10px] object-cover","data-aos":"fade-right","data-aos-delay":"300"})}),e("div",{className:"ml-auto flex max-w-[250px] justify-end overflow-hidden",children:e(t,{src:a.image3.src,alt:a.image4.alt,width:a.image3.width,height:a.image3.height,className:"rounded-[50px_10px] object-cover","data-aos":"fade-left","data-aos-delay":"350"})}),e("div",{className:"overflow-hidden",children:e(t,{src:a.image4.src,alt:a.image4.alt,width:a.image4.width,height:a.image4.height,className:"rounded-10 rounded-br-[80px] object-cover","data-aos":"fade-right","data-aos-delay":"400"})}),e("div",{className:"absolute left-1/2 top-1/2 z-[4] -translate-x-1/2 -translate-y-1/2 overflow-hidden",children:e("div",{"data-aos":"zoom-in","data-aos-delay":"450",children:e("span",{className:"grid h-[100px] w-[100px] place-items-center rounded-full border-[12px] border-white bg-accent text-[30px] text-white",children:e("svg",{width:"1em",height:"1em",viewBox:"0 0 27 27",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:e("path",{d:"M26.8125 13.8672C26.8125 14.9922 25.875 15.9297 24.8125 15.9297H15.8125V24.9297C15.8125 25.9922 14.875 26.8672 13.8125 26.8672C12.6875 26.8672 11.8125 25.9922 11.8125 24.9297V15.9297H2.8125C1.6875 15.9297 0.8125 14.9922 0.8125 13.8672C0.8125 12.8047 1.6875 11.9297 2.8125 11.9297H11.8125V2.92969C11.8125 1.80469 12.6875 0.867188 13.8125 0.867188C14.875 0.867188 15.8125 1.80469 15.8125 2.92969V11.9297H24.8125C25.875 11.8672 26.8125 12.8047 26.8125 13.8672Z"})})})})})]})})]})})})})}export{u as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as l}from"./chunk-TSEOL53Y.mjs";import*as s from"react";import*as e from"@radix-ui/react-dialog";import{X as d}from"lucide-react";import{jsx as i,jsxs as r}from"react/jsx-runtime";var y=e.Root,R=e.Trigger,c=e.Portal,N=e.Close,n=s.forwardRef(({className:t,...a},o)=>i(e.Overlay,{ref:o,className:l("fixed inset-0 z-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",t),...a}));n.displayName=e.Overlay.displayName;var g=s.forwardRef(({className:t,children:a,...o},m)=>r(c,{children:[i(n,{}),r(e.Content,{ref:m,className:l("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-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",t),...o,children:[a,r(e.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:[i(d,{className:"h-4 w-4"}),i("span",{className:"sr-only",children:"Close"})]})]})]}));g.displayName=e.Content.displayName;var f=({className:t,...a})=>i("div",{className:l("flex flex-col space-y-1.5 text-center sm:text-left",t),...a});f.displayName="DialogHeader";var p=({className:t,...a})=>i("div",{className:l("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...a});p.displayName="DialogFooter";var D=s.forwardRef(({className:t,...a},o)=>i(e.Title,{ref:o,className:l("text-lg font-semibold leading-none tracking-tight",t),...a}));D.displayName=e.Title.displayName;var v=s.forwardRef(({className:t,...a},o)=>i(e.Description,{ref:o,className:l("text-sm text-muted-foreground",t),...a}));v.displayName=e.Description.displayName;export{y as a,R as b,c,N as d,n as e,g as f,f as g,p as h,D as i,v as j};
4
+ import{a as l}from"./chunk-MDJREBVI.mjs";import*as s from"react";import*as e from"@radix-ui/react-dialog";import{X as d}from"lucide-react";import{jsx as i,jsxs as r}from"react/jsx-runtime";var y=e.Root,R=e.Trigger,c=e.Portal,N=e.Close,n=s.forwardRef(({className:t,...a},o)=>i(e.Overlay,{ref:o,className:l("fixed inset-0 z-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",t),...a}));n.displayName=e.Overlay.displayName;var g=s.forwardRef(({className:t,children:a,...o},m)=>r(c,{children:[i(n,{}),r(e.Content,{ref:m,className:l("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-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",t),...o,children:[a,r(e.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:[i(d,{className:"h-4 w-4"}),i("span",{className:"sr-only",children:"Close"})]})]})]}));g.displayName=e.Content.displayName;var f=({className:t,...a})=>i("div",{className:l("flex flex-col space-y-1.5 text-center sm:text-left",t),...a});f.displayName="DialogHeader";var p=({className:t,...a})=>i("div",{className:l("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...a});p.displayName="DialogFooter";var D=s.forwardRef(({className:t,...a},o)=>i(e.Title,{ref:o,className:l("text-lg font-semibold leading-none tracking-tight",t),...a}));D.displayName=e.Title.displayName;var v=s.forwardRef(({className:t,...a},o)=>i(e.Description,{ref:o,className:l("text-sm text-muted-foreground",t),...a}));v.displayName=e.Description.displayName;export{y as a,R as b,c,N as d,n as e,g as f,f as g,p as h,D as i,v as j};
@@ -0,0 +1 @@
1
+ import{a as S,b as T}from"./chunk-E4TE4NV6.mjs";import{a as p,c as d,d as m,g,i as n}from"./chunk-YFAZQYK4.mjs";import{a as N}from"./chunk-B4H6T2GP.mjs";import{a as o}from"./chunk-TVZOULLL.mjs";import{a as h,f as k,g as f,h as I,i as C}from"./chunk-3UMMMQEH.mjs";import{a as y}from"./chunk-L5JPAKPM.mjs";import{b}from"./chunk-ZUA4KNIR.mjs";import{useState as G,useEffect as x}from"react";import{BookOpen as V,Bug as E,Zap as M,AlertCircle as P}from"lucide-react";import{jsx as t,jsxs as a}from"react/jsx-runtime";var H=[{value:"story",label:"Story",color:"bg-primary/20 text-primary",icon:V},{value:"task",label:"Task",color:"bg-secondary/20 text-secondary-foreground",icon:P},{value:"bug",label:"Bug",color:"bg-destructive/20 text-destructive",icon:E},{value:"spike",label:"Spike",color:"bg-accent/20 text-accent",icon:M}],R=[{value:"low",label:"Low",color:"bg-success/20 text-success"},{value:"medium",label:"Medium",color:"bg-warning/20 text-warning"},{value:"high",label:"High",color:"bg-destructive/20 text-destructive"}],X=({isOpen:l,onClose:u,onAddTask:D,epics:A,sprints:F,assignees:L,defaultEpicId:r})=>{let[i,c]=G({name:"",description:"",status:"todo",priority:"medium",type:"story",points:1,epicId:"",sprintId:"none",assignee:""});x(()=>{l&&r&&c(e=>({...e,epicId:r}))},[l,r]),x(()=>{l&&c({name:"",description:"",status:"todo",priority:"medium",type:"story",points:1,epicId:r||"",sprintId:"none",assignee:""})},[l]);let w=e=>{e.preventDefault(),i.name.trim()&&(D({name:i.name.trim(),description:i.description.trim(),status:"todo",priority:i.priority,type:i.type,points:i.points,epicId:i.epicId,sprintId:i.sprintId==="none"?void 0:i.sprintId,assignee:i.assignee.trim()||"Unassigned"}),c({name:"",description:"",status:"todo",priority:"medium",type:"story",points:1,epicId:r||"",sprintId:"none",assignee:""}),u())},s=(e,v)=>{c(B=>({...B,[e]:v}))};return t(h,{open:l,onOpenChange:u,children:a(k,{className:"sm:max-w-md",children:[t(f,{children:t(C,{children:"Add New Task"})}),a("form",{onSubmit:w,className:"space-y-4",children:[a("div",{className:"space-y-2",children:[t(o,{htmlFor:"name",children:"Task Title"}),t(y,{id:"name",value:i.name,onChange:e=>s("name",e.target.value),placeholder:"Enter task title",required:!0})]}),a("div",{className:"space-y-2",children:[t(o,{htmlFor:"description",children:"Description"}),t(N,{id:"description",value:i.description,onChange:e=>s("description",e.target.value),placeholder:"Enter task description",rows:3})]}),a("div",{className:"space-y-2",children:[t(o,{children:"Type"}),t(S,{type:"single",value:i.type,onValueChange:e=>e&&s("type",e),children:H.map(e=>{let v=e.icon;return a(T,{value:e.value,className:"flex items-center gap-2 data-[state=on]:bg-primary data-[state=on]:text-primary-foreground",children:[t(v,{className:"h-4 w-4"}),e.label]},e.value)})})]}),a("div",{className:"space-y-2",children:[t(o,{children:"Priority"}),t(S,{type:"single",value:i.priority,onValueChange:e=>e&&s("priority",e),children:R.map(e=>t(T,{value:e.value,className:"data-[state=on]:bg-primary data-[state=on]:text-primary-foreground",children:e.label},e.value))})]}),a("div",{className:"space-y-2",children:[t(o,{htmlFor:"points",children:"Story Points"}),t(y,{id:"points",type:"number",min:"1",max:"100",value:i.points,onChange:e=>s("points",parseInt(e.target.value)||1),placeholder:"Enter story points",required:!0})]}),!r&&a("div",{className:"space-y-2",children:[t(o,{htmlFor:"epic",children:"Epic"}),a(p,{value:i.epicId,onValueChange:e=>s("epicId",e),children:[t(m,{children:t(d,{placeholder:"Select an epic"})}),t(g,{children:A.map(e=>t(n,{value:e.id,children:a("div",{className:"flex items-center gap-2",children:[t("div",{className:`w-3 h-3 rounded-full ${e.color}`}),e.name]})},e.id))})]})]}),a("div",{className:"space-y-2",children:[t(o,{htmlFor:"sprint",children:"Sprint (Optional)"}),a(p,{value:i.sprintId,onValueChange:e=>s("sprintId",e),children:[t(m,{children:t(d,{placeholder:"Select a sprint"})}),a(g,{children:[t(n,{value:"none",children:"No Sprint"}),F.map(e=>t(n,{value:e.id,children:a("div",{className:"flex items-center gap-2",children:[e.name,e.isActive&&t("span",{className:"text-xs bg-green-100 text-green-800 px-1 rounded",children:"Active"})]})},e.id))]})]})]}),a("div",{className:"space-y-2",children:[t(o,{htmlFor:"sprint",children:"Assignee"}),a(p,{value:i.assignee,onValueChange:e=>s("assignee",e),children:[t(m,{children:t(d,{placeholder:"Select an Assignee"})}),a(g,{children:[t(n,{value:"none",children:"No Assignee"}),L.map(e=>t(n,{value:e.id,children:t("div",{className:"flex items-center gap-2",children:e.name})},e.id))]})]})]}),a(I,{children:[t(b,{type:"button",variant:"outline",onClick:u,children:"Cancel"}),t(b,{type:"submit",className:"bg-blue-600 hover:bg-blue-700",children:"Add Task"})]})]})]})})};export{X as a};
@@ -1 +1 @@
1
- import{a as n}from"./chunk-S7N4CSMJ.mjs";import{jsx as p,jsxs as r}from"react/jsx-runtime";function o({className:t,...e}){return p("input",{...e,className:n({className:t})})}function a({icon:t,...e}){return r("div",{className:"relative w-full",children:[p(o,{...e}),t&&p("span",{className:"absolute right-5 top-1/2 w-[14px] -translate-y-1/2 text-accent",children:t})]})}export{a};
1
+ import{a as n}from"./chunk-LVK4QE5D.mjs";import{jsx as p,jsxs as r}from"react/jsx-runtime";function o({className:t,...e}){return p("input",{...e,className:n({className:t})})}function a({icon:t,...e}){return r("div",{className:"relative w-full",children:[p(o,{...e}),t&&p("span",{className:"absolute right-5 top-1/2 w-[14px] -translate-y-1/2 text-accent",children:t})]})}export{a};
@@ -1 +1 @@
1
- import{a}from"./chunk-TSEOL53Y.mjs";import*as s from"react";import{cva as o}from"class-variance-authority";import{jsx as i}from"react/jsx-runtime";var n=o("relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),d=s.forwardRef(({className:e,variant:t,...r},l)=>i("div",{ref:l,role:"alert",className:a(n({variant:t}),e),...r}));d.displayName="Alert";var c=s.forwardRef(({className:e,...t},r)=>i("h5",{ref:r,className:a("mb-1 font-medium leading-none tracking-tight",e),...t}));c.displayName="AlertTitle";var m=s.forwardRef(({className:e,...t},r)=>i("div",{ref:r,className:a("text-sm [&_p]:leading-relaxed",e),...t}));m.displayName="AlertDescription";export{d as a,c as b,m as c};
1
+ import{a}from"./chunk-MDJREBVI.mjs";import*as s from"react";import{cva as o}from"class-variance-authority";import{jsx as i}from"react/jsx-runtime";var n=o("relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),d=s.forwardRef(({className:e,variant:t,...r},l)=>i("div",{ref:l,role:"alert",className:a(n({variant:t}),e),...r}));d.displayName="Alert";var c=s.forwardRef(({className:e,...t},r)=>i("h5",{ref:r,className:a("mb-1 font-medium leading-none tracking-tight",e),...t}));c.displayName="AlertTitle";var m=s.forwardRef(({className:e,...t},r)=>i("div",{ref:r,className:a("text-sm [&_p]:leading-relaxed",e),...t}));m.displayName="AlertDescription";export{d as a,c as b,m as c};
@@ -2,4 +2,4 @@
2
2
  "use strict";
3
3
  "use client"
4
4
 
5
- import{a as O}from"./chunk-QXNCGSQE.mjs";import{a as v,b as U,d as B}from"./chunk-ENRNRNPQ.mjs";import{a as D}from"./chunk-WWTVAR4J.mjs";import{a as I}from"./chunk-AQIMDHFI.mjs";import{a as S}from"./chunk-5N2D3BGH.mjs";import{a as T}from"./chunk-EPDV35LO.mjs";import{a as i}from"./chunk-BM2ZNFM6.mjs";import{a as F}from"./chunk-E6IIUYQ7.mjs";import{a as P,b as j}from"./chunk-KCOLYVJX.mjs";import{b as u}from"./chunk-7Z3TOFNL.mjs";import{b as N}from"./chunk-2JKLBLDE.mjs";import{a as C,b as x,c as y,d as w,e as A,f as k}from"./chunk-7WKUKFCT.mjs";import{useState as H}from"react";import{motion as oe,AnimatePresence as te}from"motion/react";import{Bot as ae}from"lucide-react";import{motion as Z}from"motion/react";import{Star as ee}from"lucide-react";import{jsx as s,jsxs as l}from"react/jsx-runtime";function f({app:a,onOpen:r,onFavorite:n,showProgress:c=!1,className:d}){return s(Z.div,{whileHover:{scale:1.02,y:-5},whileTap:{scale:.98},className:d,children:l(C,{className:"overflow-hidden rounded-3xl border-2 hover:border-primary/50 transition-all duration-300",children:[s(x,{className:"pb-2",children:l("div",{className:"flex items-center justify-between",children:[s("div",{className:"flex h-12 w-12 items-center justify-center rounded-2xl bg-muted",children:a.icon}),a.new?s(N,{className:"rounded-xl bg-amber-500",children:"New"}):s(u,{variant:"ghost",size:"icon",className:"h-8 w-8 rounded-2xl",onClick:()=>n?.(a),children:s(ee,{className:"h-4 w-4"})})]})}),l(A,{className:"pb-2",children:[s(y,{className:"text-lg",children:a.name}),s(w,{children:a.description}),c&&a.progress<100&&l("div",{className:"mt-2",children:[l("div",{className:"flex items-center justify-between text-sm",children:[s("span",{children:"Installation"}),l("span",{children:[a.progress,"%"]})]}),s(T,{value:a.progress,className:"h-2 mt-1 rounded-xl"})]})]}),s(k,{children:s(u,{variant:"secondary",className:"w-full rounded-2xl",onClick:()=>r?.(a),children:a.progress<100?"Continue Install":"Open"})})]})})}import{jsx as e,jsxs as t}from"react/jsx-runtime";function se({title:a="Digital Colleagues",businessUnits:r,projects:n,fileCount:c,teamMemberCount:d,onCreateProject:R,onOpenProject:L,sidebarItems:ie,initialColleagues:E,users:M,onColleagueAdd:V,onColleagueEdit:z,onColleagueDelete:G}){let[m,p]=H("home"),[g,Y]=H(r[0]),b=o=>{console.log("Opening app:",o.name)},h=o=>{console.log("Favoriting app:",o.name)},K=o=>{console.log("Opening file:",o.name)},le=o=>{console.log("Sharing file:",o.name)},W=o=>{console.log("Opening project:",o.name),L(o)},_=o=>{console.log("Sharing project:",o.name)},$=o=>{Y(o),console.log("Business unit changed to:",o.name)},q=()=>{console.log("Copilot clicked - navigating to chat"),p("chat")},J=o=>{console.log("Notification removed:",o)},Q=()=>{console.log("All notifications removed")},X=()=>{switch(m){case"home":return t("div",{className:"px-2 md:px-4 py-4 space-y-8",children:[t("section",{className:"text-center py-12",children:[t("h1",{className:"text-4xl font-bold mb-4",children:["Welcome to the ",g.name," team"]}),e("p",{className:"text-xl text-muted-foreground mb-8",children:"This is your collaborative workspace for productivity and knowledge sharing."})]}),t("section",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:[t("div",{className:"bg-card p-6 rounded-lg border",children:[e("h3",{className:"text-lg font-semibold mb-2",children:"Projects"}),e("p",{className:"text-3xl font-bold text-primary",children:n.length}),e("p",{className:"text-sm text-muted-foreground",children:"Active projects"})]}),t("div",{className:"bg-card p-6 rounded-lg border",children:[e("h3",{className:"text-lg font-semibold mb-2",children:"Team Members"}),e("p",{className:"text-3xl font-bold text-primary",children:d}),e("p",{className:"text-sm text-muted-foreground",children:"Collaborators"})]}),t("div",{className:"bg-card p-6 rounded-lg border",children:[e("h3",{className:"text-lg font-semibold mb-2",children:"Files"}),e("p",{className:"text-3xl font-bold text-primary",children:c}),e("p",{className:"text-sm text-muted-foreground",children:"Project files"})]})]}),e(i,{title:"Chat with your team",gradient:"bg-gradient-to-r from-pink-600 via-red-600 to-orange-600",primaryAction:{label:"Go",onClick:()=>p("chat")}})]});case"colleagues":return e(O,{initialColleagues:E,availableUsers:M,onColleagueAdd:V,onColleagueEdit:z,onColleagueDelete:G});case"chat":return t("div",{className:"px-2 md:px-4 py-4 space-y-8",children:[t("section",{className:"text-center py-12",children:[e("h1",{className:"text-4xl font-bold mb-4",children:"Team Chat"}),t("p",{className:"text-xl text-muted-foreground mb-8",children:["Connect with your ",g.name," team members and collaborate in real-time."]})]}),e(i,{title:"Launch Full Chat Interface",description:"Access the complete chat experience with AI assistance.",gradient:"bg-gradient-to-r from-blue-600 via-purple-600 to-pink-600",primaryAction:{label:"Open Chat",onClick:()=>console.log("Open full chat interface")}})]});case"apps":return t("div",{className:"space-y-8",children:[e(i,{title:"Creative Apps Collection",description:"Discover our full suite of professional design and creative applications.",gradient:"bg-gradient-to-r from-pink-600 via-red-600 to-orange-600",primaryAction:{label:"Install Desktop App",onClick:()=>console.log("Install desktop app clicked")}}),t("section",{className:"space-y-4",children:[e("h2",{className:"text-2xl font-semibold",children:"New Releases"}),e("div",{className:"grid grid-cols-1 gap-3 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4",children:v.filter(o=>o.new).map(o=>e(f,{app:o,showProgress:!0,onOpen:b,onFavorite:h},o.name))})]}),t("section",{className:"space-y-4",children:[e("h2",{className:"text-2xl font-semibold",children:"All Apps"}),e("div",{className:"grid grid-cols-1 gap-3 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4",children:v.map(o=>e(f,{app:o,onOpen:b,onFavorite:h},o.name))})]})]});case"knowledge":return e(D,{});case"files":return t("div",{className:"px-2 md:px-4 py-4 space-y-8",children:[e(i,{title:"Your Creative Files",description:"Access, manage, and share all your design files in one place.",gradient:"bg-gradient-to-r from-teal-600 via-cyan-600 to-blue-600",primaryAction:{label:"Upload Files",onClick:()=>console.log("Upload files clicked")}}),t("section",{className:"space-y-4",children:[e("div",{className:"flex items-center justify-between",children:e("h2",{className:"text-2xl font-semibold",children:"All Files"})}),e(I,{files:U,onFileClick:K})]})]});case"projects":return t("div",{className:"px-2 md:px-4 py-4 space-y-8",children:[e(i,{title:"Project Management",description:"Organize your creative work into projects and collaborate with your team.",gradient:"bg-gradient-to-r from-purple-600 via-violet-600 to-indigo-600",primaryAction:{label:"New Project",onClick:R}}),t("section",{className:"space-y-4",children:[e("h2",{className:"text-2xl font-semibold",children:"Active Projects"}),e("div",{className:"grid grid-cols-1 gap-3 md:grid-cols-2 lg:grid-cols-3",children:n.map(o=>e(S,{project:o,onOpen:W,onShare:_},o.name))})]})]});case"learn":return t("div",{className:"space-y-8",children:[e(i,{title:"Learn & Grow",description:"Expand your creative skills with tutorials, courses, and resources.",gradient:"bg-gradient-to-r from-green-600 via-emerald-600 to-teal-600",primaryAction:{label:"Upgrade to Pro",onClick:()=>console.log("Upgrade to pro clicked")}}),t("section",{className:"space-y-4",children:[e("h2",{className:"text-2xl font-semibold",children:"Featured Tutorials"}),e("div",{className:"grid grid-cols-1 gap-6 md:grid-cols-2 lg:grid-cols-3",children:B.slice(0,3).map(o=>t("div",{className:"rounded-3xl border p-6",children:[e("h3",{className:"font-semibold mb-2",children:o.title}),e("p",{className:"text-sm text-muted-foreground mb-4",children:o.description}),t("div",{className:"flex items-center justify-between text-sm",children:[e("span",{children:o.duration}),e("span",{children:o.level})]})]},o.title))})]})]});default:return null}};return e(F,{sidebarItems:P,title:a,notifications:j,businessUnits:r,currentBusinessUnit:g,onBusinessUnitChange:$,activeTab:m,onTabChange:p,showTabs:!0,onActionClick:q,actionIcon:e(ae,{className:"mr-2 h-4 w-4"}),actionText:"Start Chat",onNotificationRemove:J,onRemoveAll:Q,children:e(te,{mode:"wait",children:e(oe.div,{className:"flex-1 h-full",initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},children:X()},m)})})}export{se as a};
5
+ import{a as O}from"./chunk-54K53IWE.mjs";import{a as S}from"./chunk-2RGAV55J.mjs";import{a as T}from"./chunk-5RTGHMF3.mjs";import{a as D}from"./chunk-5BV4MHV6.mjs";import{a as I}from"./chunk-DSSHQ6K7.mjs";import{a as v,b as U,d as B}from"./chunk-ENRNRNPQ.mjs";import{a as i}from"./chunk-Z22NSJMF.mjs";import{a as F}from"./chunk-3AWUWWR4.mjs";import{a as P,b as j}from"./chunk-NPVUICIF.mjs";import{b as u}from"./chunk-ZUA4KNIR.mjs";import{b as N}from"./chunk-CSBGSBEU.mjs";import{a as C,b as x,c as y,d as w,e as A,f as k}from"./chunk-YO3GQYRJ.mjs";import{useState as H}from"react";import{motion as oe,AnimatePresence as te}from"motion/react";import{Bot as ae}from"lucide-react";import{motion as Z}from"motion/react";import{Star as ee}from"lucide-react";import{jsx as s,jsxs as l}from"react/jsx-runtime";function f({app:a,onOpen:r,onFavorite:n,showProgress:c=!1,className:d}){return s(Z.div,{whileHover:{scale:1.02,y:-5},whileTap:{scale:.98},className:d,children:l(C,{className:"overflow-hidden rounded-3xl border-2 hover:border-primary/50 transition-all duration-300",children:[s(x,{className:"pb-2",children:l("div",{className:"flex items-center justify-between",children:[s("div",{className:"flex h-12 w-12 items-center justify-center rounded-2xl bg-muted",children:a.icon}),a.new?s(N,{className:"rounded-xl bg-amber-500",children:"New"}):s(u,{variant:"ghost",size:"icon",className:"h-8 w-8 rounded-2xl",onClick:()=>n?.(a),children:s(ee,{className:"h-4 w-4"})})]})}),l(A,{className:"pb-2",children:[s(y,{className:"text-lg",children:a.name}),s(w,{children:a.description}),c&&a.progress<100&&l("div",{className:"mt-2",children:[l("div",{className:"flex items-center justify-between text-sm",children:[s("span",{children:"Installation"}),l("span",{children:[a.progress,"%"]})]}),s(T,{value:a.progress,className:"h-2 mt-1 rounded-xl"})]})]}),s(k,{children:s(u,{variant:"secondary",className:"w-full rounded-2xl",onClick:()=>r?.(a),children:a.progress<100?"Continue Install":"Open"})})]})})}import{jsx as e,jsxs as t}from"react/jsx-runtime";function se({title:a="Digital Colleagues",businessUnits:r,projects:n,fileCount:c,teamMemberCount:d,onCreateProject:R,onOpenProject:L,sidebarItems:ie,initialColleagues:E,users:M,onColleagueAdd:V,onColleagueEdit:z,onColleagueDelete:G}){let[m,p]=H("home"),[g,Y]=H(r[0]),b=o=>{console.log("Opening app:",o.name)},h=o=>{console.log("Favoriting app:",o.name)},K=o=>{console.log("Opening file:",o.name)},le=o=>{console.log("Sharing file:",o.name)},W=o=>{console.log("Opening project:",o.name),L(o)},_=o=>{console.log("Sharing project:",o.name)},$=o=>{Y(o),console.log("Business unit changed to:",o.name)},q=()=>{console.log("Copilot clicked - navigating to chat"),p("chat")},J=o=>{console.log("Notification removed:",o)},Q=()=>{console.log("All notifications removed")},X=()=>{switch(m){case"home":return t("div",{className:"px-2 md:px-4 py-4 space-y-8",children:[t("section",{className:"text-center py-12",children:[t("h1",{className:"text-4xl font-bold mb-4",children:["Welcome to the ",g.name," team"]}),e("p",{className:"text-xl text-muted-foreground mb-8",children:"This is your collaborative workspace for productivity and knowledge sharing."})]}),t("section",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:[t("div",{className:"bg-card p-6 rounded-lg border",children:[e("h3",{className:"text-lg font-semibold mb-2",children:"Projects"}),e("p",{className:"text-3xl font-bold text-primary",children:n.length}),e("p",{className:"text-sm text-muted-foreground",children:"Active projects"})]}),t("div",{className:"bg-card p-6 rounded-lg border",children:[e("h3",{className:"text-lg font-semibold mb-2",children:"Team Members"}),e("p",{className:"text-3xl font-bold text-primary",children:d}),e("p",{className:"text-sm text-muted-foreground",children:"Collaborators"})]}),t("div",{className:"bg-card p-6 rounded-lg border",children:[e("h3",{className:"text-lg font-semibold mb-2",children:"Files"}),e("p",{className:"text-3xl font-bold text-primary",children:c}),e("p",{className:"text-sm text-muted-foreground",children:"Project files"})]})]}),e(i,{title:"Chat with your team",gradient:"bg-gradient-to-r from-pink-600 via-red-600 to-orange-600",primaryAction:{label:"Go",onClick:()=>p("chat")}})]});case"colleagues":return e(O,{initialColleagues:E,availableUsers:M,onColleagueAdd:V,onColleagueEdit:z,onColleagueDelete:G});case"chat":return t("div",{className:"px-2 md:px-4 py-4 space-y-8",children:[t("section",{className:"text-center py-12",children:[e("h1",{className:"text-4xl font-bold mb-4",children:"Team Chat"}),t("p",{className:"text-xl text-muted-foreground mb-8",children:["Connect with your ",g.name," team members and collaborate in real-time."]})]}),e(i,{title:"Launch Full Chat Interface",description:"Access the complete chat experience with AI assistance.",gradient:"bg-gradient-to-r from-blue-600 via-purple-600 to-pink-600",primaryAction:{label:"Open Chat",onClick:()=>console.log("Open full chat interface")}})]});case"apps":return t("div",{className:"space-y-8",children:[e(i,{title:"Creative Apps Collection",description:"Discover our full suite of professional design and creative applications.",gradient:"bg-gradient-to-r from-pink-600 via-red-600 to-orange-600",primaryAction:{label:"Install Desktop App",onClick:()=>console.log("Install desktop app clicked")}}),t("section",{className:"space-y-4",children:[e("h2",{className:"text-2xl font-semibold",children:"New Releases"}),e("div",{className:"grid grid-cols-1 gap-3 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4",children:v.filter(o=>o.new).map(o=>e(f,{app:o,showProgress:!0,onOpen:b,onFavorite:h},o.name))})]}),t("section",{className:"space-y-4",children:[e("h2",{className:"text-2xl font-semibold",children:"All Apps"}),e("div",{className:"grid grid-cols-1 gap-3 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4",children:v.map(o=>e(f,{app:o,onOpen:b,onFavorite:h},o.name))})]})]});case"knowledge":return e(D,{});case"files":return t("div",{className:"px-2 md:px-4 py-4 space-y-8",children:[e(i,{title:"Your Creative Files",description:"Access, manage, and share all your design files in one place.",gradient:"bg-gradient-to-r from-teal-600 via-cyan-600 to-blue-600",primaryAction:{label:"Upload Files",onClick:()=>console.log("Upload files clicked")}}),t("section",{className:"space-y-4",children:[e("div",{className:"flex items-center justify-between",children:e("h2",{className:"text-2xl font-semibold",children:"All Files"})}),e(I,{files:U,onFileClick:K})]})]});case"projects":return t("div",{className:"px-2 md:px-4 py-4 space-y-8",children:[e(i,{title:"Project Management",description:"Organize your creative work into projects and collaborate with your team.",gradient:"bg-gradient-to-r from-purple-600 via-violet-600 to-indigo-600",primaryAction:{label:"New Project",onClick:R}}),t("section",{className:"space-y-4",children:[e("h2",{className:"text-2xl font-semibold",children:"Active Projects"}),e("div",{className:"grid grid-cols-1 gap-3 md:grid-cols-2 lg:grid-cols-3",children:n.map(o=>e(S,{project:o,onOpen:W,onShare:_},o.name))})]})]});case"learn":return t("div",{className:"space-y-8",children:[e(i,{title:"Learn & Grow",description:"Expand your creative skills with tutorials, courses, and resources.",gradient:"bg-gradient-to-r from-green-600 via-emerald-600 to-teal-600",primaryAction:{label:"Upgrade to Pro",onClick:()=>console.log("Upgrade to pro clicked")}}),t("section",{className:"space-y-4",children:[e("h2",{className:"text-2xl font-semibold",children:"Featured Tutorials"}),e("div",{className:"grid grid-cols-1 gap-6 md:grid-cols-2 lg:grid-cols-3",children:B.slice(0,3).map(o=>t("div",{className:"rounded-3xl border p-6",children:[e("h3",{className:"font-semibold mb-2",children:o.title}),e("p",{className:"text-sm text-muted-foreground mb-4",children:o.description}),t("div",{className:"flex items-center justify-between text-sm",children:[e("span",{children:o.duration}),e("span",{children:o.level})]})]},o.title))})]})]});default:return null}};return e(F,{sidebarItems:P,title:a,notifications:j,businessUnits:r,currentBusinessUnit:g,onBusinessUnitChange:$,activeTab:m,onTabChange:p,showTabs:!0,onActionClick:q,actionIcon:e(ae,{className:"mr-2 h-4 w-4"}),actionText:"Start Chat",onNotificationRemove:J,onRemoveAll:Q,children:e(te,{mode:"wait",children:e(oe.div,{className:"flex-1 h-full",initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},children:X()},m)})})}export{se as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as t}from"./chunk-TSEOL53Y.mjs";import*as e from"react";import*as o from"@radix-ui/react-separator";import{jsx as l}from"react/jsx-runtime";var f=e.forwardRef(({className:a,orientation:r="horizontal",decorative:i=!0,...p},m)=>l(o.Root,{ref:m,decorative:i,orientation:r,className:t("shrink-0 bg-border",r==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",a),...p}));f.displayName=o.Root.displayName;export{f as a};
4
+ import{a as t}from"./chunk-MDJREBVI.mjs";import*as e from"react";import*as o from"@radix-ui/react-separator";import{jsx as l}from"react/jsx-runtime";var f=e.forwardRef(({className:a,orientation:r="horizontal",decorative:i=!0,...p},m)=>l(o.Root,{ref:m,decorative:i,orientation:r,className:t("shrink-0 bg-border",r==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",a),...p}));f.displayName=o.Root.displayName;export{f as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{c as L}from"./chunk-KCOLYVJX.mjs";import{a as I}from"./chunk-NQPBIFGO.mjs";import{a as f}from"./chunk-JVJG2LOA.mjs";import{a as D,f as B,g as F,i as U}from"./chunk-AG6IN5S7.mjs";import{a as C}from"./chunk-GJUA2KUH.mjs";import{b as k}from"./chunk-7Z3TOFNL.mjs";import{b as m}from"./chunk-2JKLBLDE.mjs";import{a as o}from"./chunk-TSEOL53Y.mjs";import{a as A}from"./chunk-FLHDNCNY.mjs";import*as u from"react";import R from"next/link";import{ChevronDown as J,Search as Y,Settings as Z,X as _}from"lucide-react";import{Fragment as $,jsx as t,jsxs as n}from"react/jsx-runtime";function he({items:v,isOpen:x,isMobile:l=!1,onClose:g,currentBusinessUnit:ee=L[0],onBusinessUnitChange:E,onSearch:H,className:h,logo:P="/headerlogo.png",appName:j="Nuvia",tagline:T="Collaboration Platform"}){let[b,z]=u.useState({}),[d,K]=A("sidebar-favorites",{}),[N,y]=u.useState(null),[p,Q]=u.useState(""),q=e=>{z(a=>({...a,[e]:!a[e]}))},te=e=>{E?.(e)},M=()=>{p.trim()&&H?.(p.trim())},O=e=>{e.key==="Enter"&&(e.preventDefault(),M())},V=(e,a)=>{let s=d[e]||[],r=s.includes(a)?s.filter(i=>i!==a):s.concat(a);K({...d,[e]:r})},c=e=>{if(!e.items||!e.maxItems||e.items.length<=e.maxItems)return e.items||[];let a=d[e.id]||[],s=e.items.filter(i=>a.includes(i.id)),r=e.items.filter(i=>!a.includes(i.id));return[...s,...r].slice(0,e.maxItems)},S=e=>e.maxItems&&e.items&&e.items.length>e.maxItems,W=v,X=e=>{let a=S(e),s=c(e),r=n($,{children:[n("div",{className:"flex items-center gap-3",children:[e.icon,t("span",{children:e.title})]}),e.badge&&t(m,{variant:"outline",className:"ml-auto rounded-full px-2 py-0.5 text-xs",children:e.badge}),e.items&&t(J,{className:o("ml-2 h-4 w-4 transition-transform",b[e.title]?"rotate-180":"")})]}),i=o("flex w-full items-center justify-between rounded-2xl px-3 py-2 text-sm font-medium",e.isActive?"bg-primary/10 text-primary":"hover:bg-muted");return e.url?t(R,{href:e.url,className:i,onClick:l?g:void 0,children:r}):t("button",{className:i,onClick:()=>e.items&&q(e.title),children:r})},G=()=>{let e=v.find(s=>s.id===N);if(!e||!e.items||!e.maxItems)return null;let a=d[e.id]||[];return t(D,{open:!!N,onOpenChange:s=>!s&&y(null),children:n(B,{className:"sm:max-w-md",children:[n(F,{children:[n(U,{children:["Manage ",e.title," Favorites"]}),n("p",{className:"text-sm text-muted-foreground",children:["Select up to ",e.maxItems," items to show in ",e.title.toLowerCase(),"."]})]}),t(f,{className:"max-h-96 pr-4",children:t("div",{className:"space-y-4",children:e.items.map(s=>n("div",{className:"flex items-center space-x-2",children:[t(I,{id:s.id,checked:a.includes(s.id),onCheckedChange:()=>V(e.id,s.id),disabled:!a.includes(s.id)&&a.length>=(e.maxItems||0)}),n("label",{htmlFor:s.id,className:"flex items-center gap-2 text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70 cursor-pointer flex-1",children:[s.title,s.badge&&t(m,{variant:"outline",className:"text-xs",children:s.badge})]})]},s.id))})})]})})},w=n("div",{className:"flex h-full flex-col bg-background",children:[n("div",{className:"flex items-center justify-between p-4",children:[n("div",{className:"flex items-center gap-3",children:[t("div",{className:"flex h-14 w-14 items-center justify-center",children:t("img",{src:P,alt:"Header Logo",className:"h-14 w-14 object-contain"})}),n("div",{children:[t("h2",{className:"font-semibold",children:j}),t("p",{className:"text-xs text-muted-foreground",children:T})]})]}),l&&t(k,{variant:"ghost",size:"icon",onClick:g,children:t(_,{className:"h-5 w-5"})})]}),t("div",{className:"px-3 py-2",children:n("div",{className:"relative",children:[t(Y,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),t(C,{type:"search",placeholder:"Search...",className:"w-full rounded-2xl bg-muted pl-9 pr-4 py-2",value:p,onChange:e=>Q(e.target.value),onKeyPress:O})]})}),t(f,{className:"flex-1 px-3 py-2",children:t("div",{className:"space-y-1",children:W.map(e=>n("div",{className:"mb-1",children:[X(e),e.items&&b[e.title]&&n("div",{className:"mt-1 ml-6 space-y-1 border-l pl-3",children:[c(e).map(a=>n(R,{href:a.url,className:"flex items-center justify-between rounded-2xl px-3 py-2 text-sm hover:bg-muted",onClick:l?g:void 0,children:[a.title,a.badge&&t(m,{variant:"outline",className:"ml-auto rounded-full px-2 py-0.5 text-xs",children:a.badge})]},a.id)),S(e)&&e.items&&e.items.length>c(e).length&&n("button",{onClick:()=>y(e.id),className:"w-full px-3 py-2 text-xs text-muted-foreground hover:text-foreground hover:bg-muted rounded-2xl transition-colors text-left",children:["...",e.items.length-c(e).length," more available"]})]})]},e.id))})}),t("div",{className:"p-3",children:t("div",{className:"space-y-1",children:n("button",{className:"flex w-full items-center gap-3 rounded-2xl px-3 py-2 text-sm font-medium hover:bg-muted",children:[t(Z,{className:"h-5 w-5"}),t("span",{children:"Settings"})]})})}),t(G,{})]});return l?t("div",{className:o("fixed inset-y-0 left-0 z-50 w-64 transform bg-background transition-transform duration-300 ease-in-out",x?"translate-x-0":"-translate-x-full",h),children:w}):t("div",{className:o("fixed inset-y-0 left-0 z-30 w-64 transform bg-background transition-transform duration-300 ease-in-out",x?"translate-x-0":"-translate-x-full",h),children:w})}export{he as a};
4
+ import{c as L}from"./chunk-NPVUICIF.mjs";import{a as I}from"./chunk-INCYANPB.mjs";import{a as f}from"./chunk-FT3AE7L2.mjs";import{a as D,f as B,g as F,i as U}from"./chunk-3UMMMQEH.mjs";import{a as C}from"./chunk-L5JPAKPM.mjs";import{b as k}from"./chunk-ZUA4KNIR.mjs";import{b as m}from"./chunk-CSBGSBEU.mjs";import{a as o}from"./chunk-MDJREBVI.mjs";import{a as A}from"./chunk-FLHDNCNY.mjs";import*as u from"react";import R from"next/link";import{ChevronDown as J,Search as Y,Settings as Z,X as _}from"lucide-react";import{Fragment as $,jsx as t,jsxs as n}from"react/jsx-runtime";function he({items:v,isOpen:x,isMobile:l=!1,onClose:g,currentBusinessUnit:ee=L[0],onBusinessUnitChange:E,onSearch:H,className:h,logo:P="/headerlogo.png",appName:j="Nuvia",tagline:T="Collaboration Platform"}){let[b,z]=u.useState({}),[d,K]=A("sidebar-favorites",{}),[N,y]=u.useState(null),[p,Q]=u.useState(""),q=e=>{z(a=>({...a,[e]:!a[e]}))},te=e=>{E?.(e)},M=()=>{p.trim()&&H?.(p.trim())},O=e=>{e.key==="Enter"&&(e.preventDefault(),M())},V=(e,a)=>{let s=d[e]||[],r=s.includes(a)?s.filter(i=>i!==a):s.concat(a);K({...d,[e]:r})},c=e=>{if(!e.items||!e.maxItems||e.items.length<=e.maxItems)return e.items||[];let a=d[e.id]||[],s=e.items.filter(i=>a.includes(i.id)),r=e.items.filter(i=>!a.includes(i.id));return[...s,...r].slice(0,e.maxItems)},S=e=>e.maxItems&&e.items&&e.items.length>e.maxItems,W=v,X=e=>{let a=S(e),s=c(e),r=n($,{children:[n("div",{className:"flex items-center gap-3",children:[e.icon,t("span",{children:e.title})]}),e.badge&&t(m,{variant:"outline",className:"ml-auto rounded-full px-2 py-0.5 text-xs",children:e.badge}),e.items&&t(J,{className:o("ml-2 h-4 w-4 transition-transform",b[e.title]?"rotate-180":"")})]}),i=o("flex w-full items-center justify-between rounded-2xl px-3 py-2 text-sm font-medium",e.isActive?"bg-primary/10 text-primary":"hover:bg-muted");return e.url?t(R,{href:e.url,className:i,onClick:l?g:void 0,children:r}):t("button",{className:i,onClick:()=>e.items&&q(e.title),children:r})},G=()=>{let e=v.find(s=>s.id===N);if(!e||!e.items||!e.maxItems)return null;let a=d[e.id]||[];return t(D,{open:!!N,onOpenChange:s=>!s&&y(null),children:n(B,{className:"sm:max-w-md",children:[n(F,{children:[n(U,{children:["Manage ",e.title," Favorites"]}),n("p",{className:"text-sm text-muted-foreground",children:["Select up to ",e.maxItems," items to show in ",e.title.toLowerCase(),"."]})]}),t(f,{className:"max-h-96 pr-4",children:t("div",{className:"space-y-4",children:e.items.map(s=>n("div",{className:"flex items-center space-x-2",children:[t(I,{id:s.id,checked:a.includes(s.id),onCheckedChange:()=>V(e.id,s.id),disabled:!a.includes(s.id)&&a.length>=(e.maxItems||0)}),n("label",{htmlFor:s.id,className:"flex items-center gap-2 text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70 cursor-pointer flex-1",children:[s.title,s.badge&&t(m,{variant:"outline",className:"text-xs",children:s.badge})]})]},s.id))})})]})})},w=n("div",{className:"flex h-full flex-col bg-background",children:[n("div",{className:"flex items-center justify-between p-4",children:[n("div",{className:"flex items-center gap-3",children:[t("div",{className:"flex h-14 w-14 items-center justify-center",children:t("img",{src:P,alt:"Header Logo",className:"h-14 w-14 object-contain"})}),n("div",{children:[t("h2",{className:"font-semibold",children:j}),t("p",{className:"text-xs text-muted-foreground",children:T})]})]}),l&&t(k,{variant:"ghost",size:"icon",onClick:g,children:t(_,{className:"h-5 w-5"})})]}),t("div",{className:"px-3 py-2",children:n("div",{className:"relative",children:[t(Y,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),t(C,{type:"search",placeholder:"Search...",className:"w-full rounded-2xl bg-muted pl-9 pr-4 py-2",value:p,onChange:e=>Q(e.target.value),onKeyPress:O})]})}),t(f,{className:"flex-1 px-3 py-2",children:t("div",{className:"space-y-1",children:W.map(e=>n("div",{className:"mb-1",children:[X(e),e.items&&b[e.title]&&n("div",{className:"mt-1 ml-6 space-y-1 border-l pl-3",children:[c(e).map(a=>n(R,{href:a.url,className:"flex items-center justify-between rounded-2xl px-3 py-2 text-sm hover:bg-muted",onClick:l?g:void 0,children:[a.title,a.badge&&t(m,{variant:"outline",className:"ml-auto rounded-full px-2 py-0.5 text-xs",children:a.badge})]},a.id)),S(e)&&e.items&&e.items.length>c(e).length&&n("button",{onClick:()=>y(e.id),className:"w-full px-3 py-2 text-xs text-muted-foreground hover:text-foreground hover:bg-muted rounded-2xl transition-colors text-left",children:["...",e.items.length-c(e).length," more available"]})]})]},e.id))})}),t("div",{className:"p-3",children:t("div",{className:"space-y-1",children:n("button",{className:"flex w-full items-center gap-3 rounded-2xl px-3 py-2 text-sm font-medium hover:bg-muted",children:[t(Z,{className:"h-5 w-5"}),t("span",{children:"Settings"})]})})}),t(G,{})]});return l?t("div",{className:o("fixed inset-y-0 left-0 z-50 w-64 transform bg-background transition-transform duration-300 ease-in-out",x?"translate-x-0":"-translate-x-full",h),children:w}):t("div",{className:o("fixed inset-y-0 left-0 z-30 w-64 transform bg-background transition-transform duration-300 ease-in-out",x?"translate-x-0":"-translate-x-full",h),children:w})}export{he as a};
@@ -0,0 +1,4 @@
1
+ "use client";
2
+ "use strict";
3
+
4
+ import{a as Y}from"./chunk-Z22NSJMF.mjs";import{a as N}from"./chunk-33XEFJDE.mjs";import{a as I}from"./chunk-EAFH3DTH.mjs";import{a as _}from"./chunk-6XUIHSKG.mjs";import{a as ee}from"./chunk-6WQXZ6IE.mjs";import{a as te}from"./chunk-CO6AQNZ5.mjs";import{a as le}from"./chunk-PWXCBW2H.mjs";import{a as Z}from"./chunk-FGEFYI5E.mjs";import{a as H,c as U,d as $,g as F,i as g}from"./chunk-YFAZQYK4.mjs";import{a as X}from"./chunk-L5JPAKPM.mjs";import{b as V}from"./chunk-ZUA4KNIR.mjs";import{a as u,b as x,c as D,e as p}from"./chunk-YO3GQYRJ.mjs";import{useEffect as ve,useState as s}from"react";import{Plus as ye,Search as he,Users as ae,Bot as we,User as xe,Filter as De}from"lucide-react";import{motion as Ne,AnimatePresence as Se}from"motion/react";import{jsx as t,jsxs as a}from"react/jsx-runtime";function be({initialColleagues:S,onColleagueAdd:b,onColleagueEdit:O,onColleagueDelete:ie,compactView:d=!1,departments:oe=["Design","Engineering","Marketing","Product","Sales","Operations"],className:ne,availableUsers:L=[],existingDigitalColleagues:j=[]}){let[n,m]=s(S||[]),[r,P]=s(""),[C,B]=s("all"),[f,M]=s("all"),[h,se]=s("all"),[q,v]=s(null),[A,w]=s(null);ve(()=>{m(S||[])},[S]);let re=Array.isArray(L)?L:[],z=Array.isArray(j)?j:[],[c,i]=s("main"),y=n.filter(e=>{if(!e||!e.name)return!1;let o=e.name.toLowerCase().includes(r.toLowerCase())||e.type==="human"&&(e.email?.toLowerCase().includes(r.toLowerCase())||e.role?.toLowerCase().includes(r.toLowerCase()))||e.type==="digital"&&e.jobDescription?.toLowerCase().includes(r.toLowerCase()),l=C==="all"||e.type==="human"&&e.department===C,K=f==="all"||e.status===f;return o&&l&&K}),G=y.filter(e=>e.type==="human"),W=y.filter(e=>e.type==="digital"),J=()=>{i("typeSelection")},T=e=>{e.type==="digital"&&(v(e),i("form")),console.log("Editing colleague:",e),O?.(e)},k=e=>{e.type==="digital"&&(w(e),i("view"))},de=e=>{let o={id:`human-${Date.now()}`,type:"human",name:e.name,email:e.email,role:e.role,department:e.department,phone:e.phone,location:e.location,timezone:e.timezone,skills:e.skills||[],bio:e.bio,status:"active",joinedDate:new Date,lastActive:new Date};m(l=>[...l,o]),b?.(o),i("main")},me=e=>{if(!e||!e.id){console.error("Invalid cloned colleague provided to handleDigitalColleagueClone:",e);return}m(o=>[...o,e]),b?.(e),i("main")},ce=()=>{v(null),i("form")},Q=e=>{if(!e||!e.id){console.error("Invalid colleague provided to handleSaveColleague:",e);return}q?(m(o=>o.map(l=>l.id===e.id?e:l)),O?.(e)):(m(o=>[...o,e]),b?.(e)),i("main"),v(null)},ge=()=>{i("main"),v(null),w(null)},ue=()=>{i("main"),w(null)},Ae=()=>{A&&(v(A),w(null),i("form"))},E=e=>{ie?.(e,n.find(o=>o.id===e).type),m(o=>o.filter(l=>l.id!==e))},pe=()=>{P(""),B("all"),M("all")},R=()=>{let e=[];return z.forEach(l=>{l.knowledge&&Array.isArray(l.knowledge)&&e.push(...l.knowledge),l.coreKnowledge&&Array.isArray(l.coreKnowledge)&&e.push(...l.coreKnowledge)}),n.forEach(l=>{l.type==="digital"&&(l.knowledge&&Array.isArray(l.knowledge)&&e.push(...l.knowledge),l.coreKnowledge&&Array.isArray(l.coreKnowledge)&&e.push(...l.coreKnowledge))}),e.filter((l,K,Ce)=>K===Ce.findIndex(fe=>fe.id===l.id))};return c==="typeSelection"?t(_,{onSelectHuman:()=>i("userSelection"),onSelectDigital:()=>i("digitalOptions"),onCancel:()=>i("main")}):c==="userSelection"?t(le,{users:re,onUserSelect:de,onCancel:()=>i("typeSelection")}):c==="digitalOptions"?t(te,{onCloneExisting:()=>i("digitalClone"),onCreateNew:ce,onCancel:()=>i("typeSelection")}):c==="digitalClone"?t(ee,{digitalColleagues:z,onColleagueClone:me,onCancel:()=>i("digitalOptions")}):c==="form"?t(I,{colleague:q||void 0,onSave:Q,onCancel:ge,availableKnowledgeDocuments:R()}):c==="view"?t(I,{colleague:A||void 0,onSave:Q,onCancel:ue,readOnly:!0,availableKnowledgeDocuments:R()}):t("div",{className:"px-2 md:px-4 py-4 space-y-8",children:t(Se,{mode:"wait",children:t(Ne.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},children:a("div",{className:`space-y-6 ${ne||""}`,children:[t(Y,{title:"Colleagues",description:"Manage your team members and digital colleagues.",gradient:"bg-gradient-to-r from-green-600 via-emerald-600 to-teal-600",primaryAction:{label:"Add colleague",onClick:J}}),a("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[a(u,{children:[a(x,{className:"flex flex-row items-center justify-between space-y-0 pb-2",children:[t(D,{className:"text-sm font-medium",children:"Total Colleagues"}),t(ae,{className:"h-4 w-4 text-muted-foreground"})]}),a(p,{children:[t("div",{className:"text-2xl font-bold",children:n.length}),a("p",{className:"text-xs text-muted-foreground",children:[n.filter(e=>e.status==="active").length," active"]})]})]}),a(u,{children:[a(x,{className:"flex flex-row items-center justify-between space-y-0 pb-2",children:[t(D,{className:"text-sm font-medium",children:"Human Members"}),t(xe,{className:"h-4 w-4 text-muted-foreground"})]}),a(p,{children:[t("div",{className:"text-2xl font-bold",children:n.filter(e=>e.type==="human").length}),a("p",{className:"text-xs text-muted-foreground",children:[n.filter(e=>e.type==="human"&&e.status==="active").length," ","active"]})]})]}),a(u,{children:[a(x,{className:"flex flex-row items-center justify-between space-y-0 pb-2",children:[t(D,{className:"text-sm font-medium",children:"Digital Colleagues"}),t(we,{className:"h-4 w-4 text-muted-foreground"})]}),a(p,{children:[t("div",{className:"text-2xl font-bold",children:n.filter(e=>e.type==="digital").length}),a("p",{className:"text-xs text-muted-foreground",children:[n.filter(e=>e.type==="digital"&&e.status==="active").length," ","active"]})]})]})]}),t(u,{children:t(p,{className:"pt-6",children:a("div",{className:"flex flex-col md:flex-row gap-4",children:[t("div",{className:"flex-1",children:a("div",{className:"relative",children:[t(he,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),t(X,{placeholder:"Search colleagues...",value:r,onChange:e=>P(e.target.value),className:"pl-9"})]})}),a(H,{value:C,onValueChange:B,children:[t($,{className:"w-full md:w-[180px]",children:t(U,{placeholder:"Department"})}),a(F,{children:[t(g,{value:"all",children:"All Departments"}),oe.map(e=>t(g,{value:e,children:e},e))]})]}),a(H,{value:f,onValueChange:M,children:[t($,{className:"w-full md:w-[140px]",children:t(U,{placeholder:"Status"})}),a(F,{children:[t(g,{value:"all",children:"All Status"}),t(g,{value:"active",children:"Active"}),t(g,{value:"inactive",children:"Inactive"})]})]}),(r||C!=="all"||f!=="all")&&a(V,{variant:"outline",onClick:pe,className:"gap-2",children:[t(De,{className:"h-4 w-4"}),"Clear"]})]})})}),a("div",{className:"space-y-4",children:[t(Z,{activeTab:h,onTabChange:se,tabOptions:[{value:"all",label:`All (${y.length})`},{value:"human",label:`Human (${G.length})`},{value:"digital",label:`Digital (${W.length})`}],maxWidth:"400px",gridCols:3}),h==="all"&&t("div",{className:`grid gap-4 ${d?"grid-cols-1 md:grid-cols-2 lg:grid-cols-4":"grid-cols-1 md:grid-cols-2 lg:grid-cols-3"}`,children:y.map(e=>t(N,{colleague:e,onEdit:T,onDelete:E,onViewDetails:k,compact:d},`${e}-${e.id}`))}),h==="human"&&t("div",{className:`grid gap-4 ${d?"grid-cols-1 md:grid-cols-2 lg:grid-cols-4":"grid-cols-1 md:grid-cols-2 lg:grid-cols-3"}`,children:G.map(e=>t(N,{colleague:e,onEdit:T,onDelete:E,onViewDetails:k,compact:d},e.id))}),h==="digital"&&t("div",{className:`grid gap-4 ${d?"grid-cols-1 md:grid-cols-2 lg:grid-cols-4":"grid-cols-1 md:grid-cols-2 lg:grid-cols-3"}`,children:W.map(e=>t(N,{colleague:e,onEdit:T,onDelete:E,onViewDetails:k,compact:d},e.id))})]}),y.length===0&&t(u,{children:t(p,{className:"pt-6",children:a("div",{className:"text-center py-8",children:[t(ae,{className:"h-12 w-12 text-muted-foreground mx-auto mb-4"}),t("h3",{className:"text-lg font-semibold mb-2",children:"No colleagues found"}),t("p",{className:"text-muted-foreground mb-4",children:r||C!=="all"||f!=="all"?"Try adjusting your filters to see more results.":"Get started by adding your first colleague."}),a(V,{onClick:J,className:"gap-2",children:[t(ye,{className:"h-4 w-4"}),"Add Colleague"]})]})})})]})},"projects-index-view")})})}export{be as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as h}from"./chunk-JVJG2LOA.mjs";import{a as n,b as m,c,d as p}from"./chunk-BIAOADJS.mjs";import{b as i}from"./chunk-7Z3TOFNL.mjs";import{a as v}from"./chunk-7WKUKFCT.mjs";import{a as d}from"./chunk-TSEOL53Y.mjs";import{Clock as x,Edit3 as C,Plus as S,Trash2 as w}from"lucide-react";import{jsx as t,jsxs as s}from"react/jsx-runtime";function M({sessions:o,currentSession:g,teams:y,onNewChat:u,onSessionSelect:N,onSessionEdit:r,onSessionDelete:l,className:f}){return t(n,{children:t("div",{className:`space-y-4 h-full ${f||""}`,children:s(v,{className:"shadow-sm h-full",children:[t("div",{className:"p-4 border-b",children:s("div",{className:"flex items-center justify-between",children:[s("h3",{className:"font-semibold text-sm flex items-center gap-2",children:[t(x,{className:"h-4 w-4"}),"Recent Chats"]}),s(i,{onClick:u,size:"sm",className:"gap-1 h-7 px-2 rounded-lg shadow-sm",children:[t(S,{className:"h-3 w-3"}),"New"]})]})}),t(h,{className:"h-[600px]",children:t("div",{className:"p-2",children:o.length===0?t("div",{className:"p-4 text-center text-sm text-muted-foreground",children:"No chat sessions yet"}):o.map(e=>s(m,{children:[t(c,{asChild:!0,children:t("div",{className:d("group relative p-3 rounded-xl cursor-pointer transition-all hover:bg-muted/50 mb-2",g?.id===e.id&&"bg-muted border"),onClick:()=>N(e),children:s("div",{className:"grid grid-cols-[1fr_auto] gap-2 items-start",children:[s("div",{className:"min-w-0 overflow-hidden",children:[t("h4",{className:"font-medium text-sm truncate mb-1",children:e.title}),t("p",{className:"text-xs text-muted-foreground line-clamp-2",children:e.lastMessage})]}),s("div",{className:"flex items-start gap-1 pt-0.5",children:[r&&t(i,{variant:"ghost",size:"icon",className:"h-6 w-6 rounded opacity-30 group-hover:opacity-100 transition-opacity",onClick:a=>{a.stopPropagation(),r(e.id)},children:t(C,{className:"h-3 w-3"})}),l&&t(i,{variant:"ghost",size:"icon",className:"h-6 w-6 rounded text-destructive hover:text-destructive opacity-30 group-hover:opacity-100 transition-opacity",onClick:a=>{a.stopPropagation(),l(e.id)},children:t(w,{className:"h-3 w-3"})})]})]})})}),t(p,{side:"right",className:"max-w-xs",children:s("div",{className:"space-y-1",children:[t("p",{className:"font-medium text-sm",children:e.title}),t("p",{className:"text-xs",children:e.lastMessage})]})})]},e.id))})})]})})})}export{M as a};
4
+ import{a as h}from"./chunk-FT3AE7L2.mjs";import{a as n,b as m,c,d as p}from"./chunk-KY7WQYN4.mjs";import{b as i}from"./chunk-ZUA4KNIR.mjs";import{a as v}from"./chunk-YO3GQYRJ.mjs";import{a as d}from"./chunk-MDJREBVI.mjs";import{Clock as x,Edit3 as C,Plus as S,Trash2 as w}from"lucide-react";import{jsx as t,jsxs as s}from"react/jsx-runtime";function M({sessions:o,currentSession:g,teams:y,onNewChat:u,onSessionSelect:N,onSessionEdit:r,onSessionDelete:l,className:f}){return t(n,{children:t("div",{className:`space-y-4 h-full ${f||""}`,children:s(v,{className:"shadow-sm h-full",children:[t("div",{className:"p-4 border-b",children:s("div",{className:"flex items-center justify-between",children:[s("h3",{className:"font-semibold text-sm flex items-center gap-2",children:[t(x,{className:"h-4 w-4"}),"Recent Chats"]}),s(i,{onClick:u,size:"sm",className:"gap-1 h-7 px-2 rounded-lg shadow-sm",children:[t(S,{className:"h-3 w-3"}),"New"]})]})}),t(h,{className:"h-[600px]",children:t("div",{className:"p-2",children:o.length===0?t("div",{className:"p-4 text-center text-sm text-muted-foreground",children:"No chat sessions yet"}):o.map(e=>s(m,{children:[t(c,{asChild:!0,children:t("div",{className:d("group relative p-3 rounded-xl cursor-pointer transition-all hover:bg-muted/50 mb-2",g?.id===e.id&&"bg-muted border"),onClick:()=>N(e),children:s("div",{className:"grid grid-cols-[1fr_auto] gap-2 items-start",children:[s("div",{className:"min-w-0 overflow-hidden",children:[t("h4",{className:"font-medium text-sm truncate mb-1",children:e.title}),t("p",{className:"text-xs text-muted-foreground line-clamp-2",children:e.lastMessage})]}),s("div",{className:"flex items-start gap-1 pt-0.5",children:[r&&t(i,{variant:"ghost",size:"icon",className:"h-6 w-6 rounded opacity-30 group-hover:opacity-100 transition-opacity",onClick:a=>{a.stopPropagation(),r(e.id)},children:t(C,{className:"h-3 w-3"})}),l&&t(i,{variant:"ghost",size:"icon",className:"h-6 w-6 rounded text-destructive hover:text-destructive opacity-30 group-hover:opacity-100 transition-opacity",onClick:a=>{a.stopPropagation(),l(e.id)},children:t(w,{className:"h-3 w-3"})})]})]})})}),t(p,{side:"right",className:"max-w-xs",children:s("div",{className:"space-y-1",children:[t("p",{className:"font-medium text-sm",children:e.title}),t("p",{className:"text-xs",children:e.lastMessage})]})})]},e.id))})})]})})})}export{M as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{b as r}from"./chunk-7Z3TOFNL.mjs";import{a as i}from"./chunk-TSEOL53Y.mjs";import{useState as u}from"react";import{ChevronLeft as y,ChevronRight as b}from"lucide-react";import{jsx as t,jsxs as s}from"react/jsx-runtime";function k({currentDate:a,setCurrentDate:d,holidays:c}){let[n,x]=u(null),p=(new Date(a.getFullYear(),a.getMonth(),1).getDay()+6)%7,g=Array.from({length:42},(e,o)=>{let l=new Date(a.getFullYear(),a.getMonth(),o-p+1);return{date:l,isCurrentMonth:l.getMonth()===a.getMonth(),isToday:l.toDateString()===new Date().toDateString(),holidays:c.filter(m=>new Date(m.startDate)<=l&&new Date(m.endDate)>=l)}}),v=()=>{d(new Date(a.getFullYear(),a.getMonth()-1,1))},h=()=>{d(new Date(a.getFullYear(),a.getMonth()+1,1))},f=()=>{d(new Date)};return s("div",{className:"lg:flex lg:h-full lg:flex-col",children:[s("header",{className:"flex items-center justify-between border-b border-gray-200 px-6 py-4 lg:flex-none",children:[t("h1",{className:"text-base font-semibold text-foreground",children:t("time",{dateTime:a.toISOString(),children:a.toLocaleString("default",{month:"long",year:"numeric"})})}),t("div",{className:"flex items-center",children:s("div",{className:"relative flex items-center rounded-md gap-1 md:items-stretch",children:[s(r,{onClick:v,variant:"outline",size:"icon",className:"rounded-l-md border-accent hover:text-accent",children:[t("span",{className:"sr-only",children:"Previous month"}),t(y,{className:"h-5 w-5","aria-hidden":"true"})]}),t(r,{variant:"outline",onClick:f,className:"hidden border-l border-r border-accent px-3.5 text-sm font-semibold text-accent hover:bg-gray-50 focus:relative md:block",children:"Today"}),s(r,{onClick:h,variant:"outline",size:"icon",className:"rounded-r-md border-accent hover:text-accent",children:[t("span",{className:"sr-only",children:"Next month"}),t(b,{className:"h-5 w-5","aria-hidden":"true"})]})]})})]}),s("div",{className:"shadow ring-1 ring-black ring-opacity-5 lg:flex lg:flex-auto lg:flex-col",children:[s("div",{className:"grid grid-cols-7 gap-px border-b border-gray-300 bg-gray-200 text-center text-xs font-semibold leading-6 text-gray-700 lg:flex-none",children:[s("div",{className:"bg-white py-2",children:["M",t("span",{className:"sr-only sm:not-sr-only",children:"on"})]}),s("div",{className:"bg-white py-2",children:["T",t("span",{className:"sr-only sm:not-sr-only",children:"ue"})]}),s("div",{className:"bg-white py-2",children:["W",t("span",{className:"sr-only sm:not-sr-only",children:"ed"})]}),s("div",{className:"bg-white py-2",children:["T",t("span",{className:"sr-only sm:not-sr-only",children:"hu"})]}),s("div",{className:"bg-white py-2",children:["F",t("span",{className:"sr-only sm:not-sr-only",children:"ri"})]}),s("div",{className:"bg-white py-2",children:["S",t("span",{className:"sr-only sm:not-sr-only",children:"at"})]}),s("div",{className:"bg-white py-2",children:["S",t("span",{className:"sr-only sm:not-sr-only",children:"un"})]})]}),s("div",{className:"flex bg-gray-200 text-xs leading-6 text-gray-700 lg:flex-auto overflow-visible",children:[t("div",{className:"hidden w-full lg:grid lg:grid-cols-7 lg:grid-rows-6 lg:gap-px overflow-visible",children:g.map(e=>s("div",{className:i(e.isCurrentMonth?"bg-white":"bg-gray-50 text-gray-500","relative px-3 py-2 overflow-visible"),children:[t("time",{dateTime:e.date.toISOString(),className:i("flex h-6 w-6 items-center justify-center rounded-full",e.isToday&&"bg-indigo-600 font-semibold text-white"),children:e.date.getDate()}),e.holidays.length>0&&t("ol",{className:"mt-2 space-y-1 overflow-visible",children:e.holidays.map(o=>t("li",{className:"overflow-visible",children:t("div",{className:`text-xs px-1 py-0.5 rounded ${o.status==="approved"?"border-green-500":"border-gray-500"} border overflow-visible`,children:o.userName})},o.id))})]},e.date.toISOString()))}),t("div",{className:"isolate grid w-full grid-cols-7 grid-rows-6 gap-px lg:hidden",children:g.map(e=>s("button",{type:"button",className:i(e.isCurrentMonth?"bg-white":"bg-gray-50",(e.date===n||e.isToday)&&"font-semibold",e.date===n&&"text-white",!e.date&&e.isToday&&"text-indigo-600",e.date!==n&&e.isCurrentMonth&&!e.isToday&&"text-gray-900",e.date!==n&&!e.isCurrentMonth&&!e.isToday&&"text-gray-500","flex h-14 flex-col px-3 py-2 hover:bg-gray-100 focus:z-10"),children:[t("time",{dateTime:e.date.toISOString(),className:i("ml-auto",e.date===n&&e.isToday&&"flex h-6 w-6 items-center justify-center rounded-full bg-indigo-600",e.date===n&&!e.isToday&&"flex h-6 w-6 items-center justify-center rounded-full bg-gray-900"),children:e.date.getDate()}),s("span",{className:"sr-only",children:[e.holidays.length," holidays"]}),e.holidays.length>0&&t("span",{className:"-mx-0.5 mt-auto flex flex-wrap-reverse",children:e.holidays.map(o=>t("span",{className:`mx-0.5 mb-1 h-1.5 w-1.5 rounded-full ${o.status==="approved"?"bg-green-500":"bg-gray-500"}`},o.id))})]},e.date.toISOString()))})]})]})]})}export{k as a};
4
+ import{b as r}from"./chunk-ZUA4KNIR.mjs";import{a as i}from"./chunk-MDJREBVI.mjs";import{useState as u}from"react";import{ChevronLeft as y,ChevronRight as b}from"lucide-react";import{jsx as t,jsxs as s}from"react/jsx-runtime";function k({currentDate:a,setCurrentDate:d,holidays:c}){let[n,x]=u(null),p=(new Date(a.getFullYear(),a.getMonth(),1).getDay()+6)%7,g=Array.from({length:42},(e,o)=>{let l=new Date(a.getFullYear(),a.getMonth(),o-p+1);return{date:l,isCurrentMonth:l.getMonth()===a.getMonth(),isToday:l.toDateString()===new Date().toDateString(),holidays:c.filter(m=>new Date(m.startDate)<=l&&new Date(m.endDate)>=l)}}),v=()=>{d(new Date(a.getFullYear(),a.getMonth()-1,1))},h=()=>{d(new Date(a.getFullYear(),a.getMonth()+1,1))},f=()=>{d(new Date)};return s("div",{className:"lg:flex lg:h-full lg:flex-col",children:[s("header",{className:"flex items-center justify-between border-b border-gray-200 px-6 py-4 lg:flex-none",children:[t("h1",{className:"text-base font-semibold text-foreground",children:t("time",{dateTime:a.toISOString(),children:a.toLocaleString("default",{month:"long",year:"numeric"})})}),t("div",{className:"flex items-center",children:s("div",{className:"relative flex items-center rounded-md gap-1 md:items-stretch",children:[s(r,{onClick:v,variant:"outline",size:"icon",className:"rounded-l-md border-accent hover:text-accent",children:[t("span",{className:"sr-only",children:"Previous month"}),t(y,{className:"h-5 w-5","aria-hidden":"true"})]}),t(r,{variant:"outline",onClick:f,className:"hidden border-l border-r border-accent px-3.5 text-sm font-semibold text-accent hover:bg-gray-50 focus:relative md:block",children:"Today"}),s(r,{onClick:h,variant:"outline",size:"icon",className:"rounded-r-md border-accent hover:text-accent",children:[t("span",{className:"sr-only",children:"Next month"}),t(b,{className:"h-5 w-5","aria-hidden":"true"})]})]})})]}),s("div",{className:"shadow ring-1 ring-black ring-opacity-5 lg:flex lg:flex-auto lg:flex-col",children:[s("div",{className:"grid grid-cols-7 gap-px border-b border-gray-300 bg-gray-200 text-center text-xs font-semibold leading-6 text-gray-700 lg:flex-none",children:[s("div",{className:"bg-white py-2",children:["M",t("span",{className:"sr-only sm:not-sr-only",children:"on"})]}),s("div",{className:"bg-white py-2",children:["T",t("span",{className:"sr-only sm:not-sr-only",children:"ue"})]}),s("div",{className:"bg-white py-2",children:["W",t("span",{className:"sr-only sm:not-sr-only",children:"ed"})]}),s("div",{className:"bg-white py-2",children:["T",t("span",{className:"sr-only sm:not-sr-only",children:"hu"})]}),s("div",{className:"bg-white py-2",children:["F",t("span",{className:"sr-only sm:not-sr-only",children:"ri"})]}),s("div",{className:"bg-white py-2",children:["S",t("span",{className:"sr-only sm:not-sr-only",children:"at"})]}),s("div",{className:"bg-white py-2",children:["S",t("span",{className:"sr-only sm:not-sr-only",children:"un"})]})]}),s("div",{className:"flex bg-gray-200 text-xs leading-6 text-gray-700 lg:flex-auto overflow-visible",children:[t("div",{className:"hidden w-full lg:grid lg:grid-cols-7 lg:grid-rows-6 lg:gap-px overflow-visible",children:g.map(e=>s("div",{className:i(e.isCurrentMonth?"bg-white":"bg-gray-50 text-gray-500","relative px-3 py-2 overflow-visible"),children:[t("time",{dateTime:e.date.toISOString(),className:i("flex h-6 w-6 items-center justify-center rounded-full",e.isToday&&"bg-indigo-600 font-semibold text-white"),children:e.date.getDate()}),e.holidays.length>0&&t("ol",{className:"mt-2 space-y-1 overflow-visible",children:e.holidays.map(o=>t("li",{className:"overflow-visible",children:t("div",{className:`text-xs px-1 py-0.5 rounded ${o.status==="approved"?"border-green-500":"border-gray-500"} border overflow-visible`,children:o.userName})},o.id))})]},e.date.toISOString()))}),t("div",{className:"isolate grid w-full grid-cols-7 grid-rows-6 gap-px lg:hidden",children:g.map(e=>s("button",{type:"button",className:i(e.isCurrentMonth?"bg-white":"bg-gray-50",(e.date===n||e.isToday)&&"font-semibold",e.date===n&&"text-white",!e.date&&e.isToday&&"text-indigo-600",e.date!==n&&e.isCurrentMonth&&!e.isToday&&"text-gray-900",e.date!==n&&!e.isCurrentMonth&&!e.isToday&&"text-gray-500","flex h-14 flex-col px-3 py-2 hover:bg-gray-100 focus:z-10"),children:[t("time",{dateTime:e.date.toISOString(),className:i("ml-auto",e.date===n&&e.isToday&&"flex h-6 w-6 items-center justify-center rounded-full bg-indigo-600",e.date===n&&!e.isToday&&"flex h-6 w-6 items-center justify-center rounded-full bg-gray-900"),children:e.date.getDate()}),s("span",{className:"sr-only",children:[e.holidays.length," holidays"]}),e.holidays.length>0&&t("span",{className:"-mx-0.5 mt-auto flex flex-wrap-reverse",children:e.holidays.map(o=>t("span",{className:`mx-0.5 mb-1 h-1.5 w-1.5 rounded-full ${o.status==="approved"?"bg-green-500":"bg-gray-500"}`},o.id))})]},e.date.toISOString()))})]})]})]})}export{k as a};
@@ -1 +1 @@
1
- import{a as r}from"./chunk-7Z3TOFNL.mjs";import{a as t}from"./chunk-TSEOL53Y.mjs";import{ChevronLeft as m,ChevronRight as c,MoreHorizontal as P}from"lucide-react";import*as i from"react";import{jsx as o,jsxs as p}from"react/jsx-runtime";var g=({className:n,...a})=>o("nav",{"aria-label":"pagination",className:t("mx-auto flex w-full justify-center",n),role:"navigation",...a});g.displayName="Pagination";var f=i.forwardRef(({className:n,...a},e)=>o("ul",{className:t("flex flex-row items-center gap-1",n),ref:e,...a}));f.displayName="PaginationContent";var u=i.forwardRef(({className:n,...a},e)=>o("li",{className:t("",n),ref:e,...a}));u.displayName="PaginationItem";var s=({className:n,isActive:a,size:e="icon",...l})=>o("button",{"aria-current":a?"page":void 0,className:t(r({size:e,variant:a?"outline":"ghost"}),n),...l});s.displayName="PaginationLink";var N=({className:n,...a})=>p(s,{"aria-label":"Go to previous page",className:t("gap-1 pl-2.5",n),size:"default",...a,children:[o(m,{className:"h-4 w-4"}),o("span",{children:"Previous"})]});N.displayName="PaginationPrevious";var d=({className:n,...a})=>p(s,{"aria-label":"Go to next page",className:t("gap-1 pr-2.5",n),size:"default",...a,children:[o("span",{children:"Next"}),o(c,{className:"h-4 w-4"})]});d.displayName="PaginationNext";var y=({className:n,...a})=>p("span",{"aria-hidden":!0,className:t("flex h-9 w-9 items-center justify-center",n),...a,children:[o(P,{className:"h-4 w-4"}),o("span",{className:"sr-only",children:"More pages"})]});y.displayName="PaginationEllipsis";export{g as a,f as b,u as c,s as d,N as e,d as f,y as g};
1
+ import{a as r}from"./chunk-ZUA4KNIR.mjs";import{a as t}from"./chunk-MDJREBVI.mjs";import{ChevronLeft as m,ChevronRight as c,MoreHorizontal as P}from"lucide-react";import*as i from"react";import{jsx as o,jsxs as p}from"react/jsx-runtime";var g=({className:n,...a})=>o("nav",{"aria-label":"pagination",className:t("mx-auto flex w-full justify-center",n),role:"navigation",...a});g.displayName="Pagination";var f=i.forwardRef(({className:n,...a},e)=>o("ul",{className:t("flex flex-row items-center gap-1",n),ref:e,...a}));f.displayName="PaginationContent";var u=i.forwardRef(({className:n,...a},e)=>o("li",{className:t("",n),ref:e,...a}));u.displayName="PaginationItem";var s=({className:n,isActive:a,size:e="icon",...l})=>o("button",{"aria-current":a?"page":void 0,className:t(r({size:e,variant:a?"outline":"ghost"}),n),...l});s.displayName="PaginationLink";var N=({className:n,...a})=>p(s,{"aria-label":"Go to previous page",className:t("gap-1 pl-2.5",n),size:"default",...a,children:[o(m,{className:"h-4 w-4"}),o("span",{children:"Previous"})]});N.displayName="PaginationPrevious";var d=({className:n,...a})=>p(s,{"aria-label":"Go to next page",className:t("gap-1 pr-2.5",n),size:"default",...a,children:[o("span",{children:"Next"}),o(c,{className:"h-4 w-4"})]});d.displayName="PaginationNext";var y=({className:n,...a})=>p("span",{"aria-hidden":!0,className:t("flex h-9 w-9 items-center justify-center",n),...a,children:[o(P,{className:"h-4 w-4"}),o("span",{className:"sr-only",children:"More pages"})]});y.displayName="PaginationEllipsis";export{g as a,f as b,u as c,s as d,N as e,d as f,y as g};
@@ -1 +1 @@
1
- import{a as r}from"./chunk-BM2ZNFM6.mjs";import{a as l}from"./chunk-UBCJPXKD.mjs";import{useState as u}from"react";import{jsx as e,jsxs as t}from"react/jsx-runtime";function p({documents:a=[],contexts:d=[],onDocumentClick:i=o=>console.log("Document clicked:",o),onDocumentShare:m=o=>console.log("Share document:",o),onLoadDocumentContent:g,selectedDocumentId:c}){let[o,s]=u(d[0]);return!d||d.length===0?t("div",{className:"flex flex-col h-full max-h-[calc(100vh-8rem)]",children:[e("div",{className:"px-2 md:px-4 py-4 flex-shrink-0",children:e(r,{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")}})}),e("div",{className:"flex-1 min-h-0 px-2 md:px-4 pb-4 flex items-center justify-center",children:e("p",{className:"text-muted-foreground",children:"No contexts available"})})]}):t("div",{className:"flex flex-col h-full max-h-[calc(100vh-8rem)]",children:[t("div",{className:"px-2 md:px-4 py-4 flex-shrink-0",children:[e(r,{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")}}),t("div",{className:"mt-6",children:[e("div",{className:"border-b border-border",children:e("nav",{className:"-mb-px flex space-x-8 overflow-x-auto",children:d.map(n=>t("button",{onClick:()=>s(n),className:`group inline-flex items-center gap-2 py-3 px-1 border-b-2 font-medium text-sm whitespace-nowrap transition-colors ${o.id===n.id?"border-primary text-primary":"border-transparent text-muted-foreground hover:text-foreground hover:border-muted-foreground"}`,children:[n.icon,n.label]},n.id))})}),o.description&&e("div",{className:"mt-3 px-1",children:e("p",{className:"text-sm text-muted-foreground",children:o.description})})]})]}),e("div",{className:"flex-1 min-h-0 px-2 md:px-4 pb-4",children:e("div",{className:"h-full rounded-3xl border overflow-hidden",children:e(l,{documents:a,menuConfig:o.menuConfig,onDocumentClick:i,onDocumentShare:m,selectedDocumentId:c})})})]})}export{p as a};
1
+ import{a as r}from"./chunk-Z22NSJMF.mjs";import{a as l}from"./chunk-ZXPDSSCF.mjs";import{useState as u}from"react";import{jsx as e,jsxs as t}from"react/jsx-runtime";function p({documents:a=[],contexts:d=[],onDocumentClick:i=o=>console.log("Document clicked:",o),onDocumentShare:m=o=>console.log("Share document:",o),onLoadDocumentContent:g,selectedDocumentId:c}){let[o,s]=u(d[0]);return!d||d.length===0?t("div",{className:"flex flex-col h-full max-h-[calc(100vh-8rem)]",children:[e("div",{className:"px-2 md:px-4 py-4 flex-shrink-0",children:e(r,{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")}})}),e("div",{className:"flex-1 min-h-0 px-2 md:px-4 pb-4 flex items-center justify-center",children:e("p",{className:"text-muted-foreground",children:"No contexts available"})})]}):t("div",{className:"flex flex-col h-full max-h-[calc(100vh-8rem)]",children:[t("div",{className:"px-2 md:px-4 py-4 flex-shrink-0",children:[e(r,{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")}}),t("div",{className:"mt-6",children:[e("div",{className:"border-b border-border",children:e("nav",{className:"-mb-px flex space-x-8 overflow-x-auto",children:d.map(n=>t("button",{onClick:()=>s(n),className:`group inline-flex items-center gap-2 py-3 px-1 border-b-2 font-medium text-sm whitespace-nowrap transition-colors ${o.id===n.id?"border-primary text-primary":"border-transparent text-muted-foreground hover:text-foreground hover:border-muted-foreground"}`,children:[n.icon,n.label]},n.id))})}),o.description&&e("div",{className:"mt-3 px-1",children:e("p",{className:"text-sm text-muted-foreground",children:o.description})})]})]}),e("div",{className:"flex-1 min-h-0 px-2 md:px-4 pb-4",children:e("div",{className:"h-full rounded-3xl border overflow-hidden",children:e(l,{documents:a,menuConfig:o.menuConfig,onDocumentClick:i,onDocumentShare:m,selectedDocumentId:c})})})]})}export{p as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{f as t}from"./chunk-TR52MKZR.mjs";import{a}from"./chunk-TSEOL53Y.mjs";import n from"react";import*as l from"@radix-ui/react-collapsible";import{ChevronDownIcon as c,ChevronUpIcon as m}from"@radix-ui/react-icons";import{jsx as e,jsxs as s}from"react/jsx-runtime";var h=({title:p,richText:r})=>{let[o,i]=n.useState(!1);return e("div",{className:"border rounded-lg overflow-hidden",children:s(l.Root,{className:a("w-full"),open:o,onOpenChange:i,children:[s(l.Trigger,{className:"flex w-full items-center justify-between bg-white px-4 py-3 text-left hover:bg-gray-50",children:[e("h2",{className:"text-lg font-medium",children:p}),o?e(m,{className:"h-6 w-6"}):e(c,{className:"h-6 w-6"})]}),e(l.Content,{className:"overflow-hidden data-[state=closed]:animate-collapse data-[state=open]:animate-expand border-t",children:e("div",{className:"px-4 py-3 bg-white",children:e(t,{content:r||{},enableGutter:!1})})})]})})};export{h as a};
4
+ import{f as t}from"./chunk-2BRDNDUB.mjs";import{a}from"./chunk-MDJREBVI.mjs";import n from"react";import*as l from"@radix-ui/react-collapsible";import{ChevronDownIcon as c,ChevronUpIcon as m}from"@radix-ui/react-icons";import{jsx as e,jsxs as s}from"react/jsx-runtime";var h=({title:p,richText:r})=>{let[o,i]=n.useState(!1);return e("div",{className:"border rounded-lg overflow-hidden",children:s(l.Root,{className:a("w-full"),open:o,onOpenChange:i,children:[s(l.Trigger,{className:"flex w-full items-center justify-between bg-white px-4 py-3 text-left hover:bg-gray-50",children:[e("h2",{className:"text-lg font-medium",children:p}),o?e(m,{className:"h-6 w-6"}):e(c,{className:"h-6 w-6"})]}),e(l.Content,{className:"overflow-hidden data-[state=closed]:animate-collapse data-[state=open]:animate-expand border-t",children:e("div",{className:"px-4 py-3 bg-white",children:e(t,{content:r||{},enableGutter:!1})})})]})})};export{h as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as s}from"./chunk-TSEOL53Y.mjs";import*as r from"react";import*as t from"@radix-ui/react-toast";import{cva as p}from"class-variance-authority";import{X as d}from"lucide-react";import{jsx as a}from"react/jsx-runtime";var g=t.Provider,c=r.forwardRef(({className:e,...o},i)=>a(t.Viewport,{ref:i,className:s("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",e),...o}));c.displayName=t.Viewport.displayName;var m=p("group pointer-events-auto relative flex w-full items-center justify-between space-x-2 overflow-hidden rounded-md border p-4 pr-6 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),f=r.forwardRef(({className:e,variant:o,...i},n)=>a(t.Root,{ref:n,className:s(m({variant:o}),e),...i}));f.displayName=t.Root.displayName;var l=r.forwardRef(({className:e,...o},i)=>a(t.Action,{ref:i,className:s("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium transition-colors hover:bg-secondary focus:outline-none focus:ring-1 focus:ring-ring disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",e),...o}));l.displayName=t.Action.displayName;var u=r.forwardRef(({className:e,...o},i)=>a(t.Close,{ref:i,className:s("absolute right-1 top-1 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-1 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...o,children:a(d,{className:"h-4 w-4"})}));u.displayName=t.Close.displayName;var v=r.forwardRef(({className:e,...o},i)=>a(t.Title,{ref:i,className:s("text-sm font-semibold [&+div]:text-xs",e),...o}));v.displayName=t.Title.displayName;var R=r.forwardRef(({className:e,...o},i)=>a(t.Description,{ref:i,className:s("text-sm opacity-90",e),...o}));R.displayName=t.Description.displayName;export{g as a,c as b,f as c,l as d,u as e,v as f,R as g};
4
+ import{a as s}from"./chunk-MDJREBVI.mjs";import*as r from"react";import*as t from"@radix-ui/react-toast";import{cva as p}from"class-variance-authority";import{X as d}from"lucide-react";import{jsx as a}from"react/jsx-runtime";var g=t.Provider,c=r.forwardRef(({className:e,...o},i)=>a(t.Viewport,{ref:i,className:s("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",e),...o}));c.displayName=t.Viewport.displayName;var m=p("group pointer-events-auto relative flex w-full items-center justify-between space-x-2 overflow-hidden rounded-md border p-4 pr-6 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),f=r.forwardRef(({className:e,variant:o,...i},n)=>a(t.Root,{ref:n,className:s(m({variant:o}),e),...i}));f.displayName=t.Root.displayName;var l=r.forwardRef(({className:e,...o},i)=>a(t.Action,{ref:i,className:s("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium transition-colors hover:bg-secondary focus:outline-none focus:ring-1 focus:ring-ring disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",e),...o}));l.displayName=t.Action.displayName;var u=r.forwardRef(({className:e,...o},i)=>a(t.Close,{ref:i,className:s("absolute right-1 top-1 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-1 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...o,children:a(d,{className:"h-4 w-4"})}));u.displayName=t.Close.displayName;var v=r.forwardRef(({className:e,...o},i)=>a(t.Title,{ref:i,className:s("text-sm font-semibold [&+div]:text-xs",e),...o}));v.displayName=t.Title.displayName;var R=r.forwardRef(({className:e,...o},i)=>a(t.Description,{ref:i,className:s("text-sm opacity-90",e),...o}));R.displayName=t.Description.displayName;export{g as a,c as b,f as c,l as d,u as e,v as f,R as g};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as e}from"./chunk-TSEOL53Y.mjs";import*as t from"react";import*as r from"@radix-ui/react-progress";import{jsx as o}from"react/jsx-runtime";var m=t.forwardRef(({className:i,value:s,...a},l)=>o(r.Root,{ref:l,className:e("relative h-4 w-full overflow-hidden rounded-full bg-secondary",i),...a,children:o(r.Indicator,{className:"h-full w-full flex-1 bg-primary transition-all",style:{transform:`translateX(-${100-(s||0)}%)`}})}));m.displayName=r.Root.displayName;export{m as a};
4
+ import{a as e}from"./chunk-MDJREBVI.mjs";import*as t from"react";import*as r from"@radix-ui/react-progress";import{jsx as o}from"react/jsx-runtime";var m=t.forwardRef(({className:i,value:s,...a},l)=>o(r.Root,{ref:l,className:e("relative h-4 w-full overflow-hidden rounded-full bg-secondary",i),...a,children:o(r.Indicator,{className:"h-full w-full flex-1 bg-primary transition-all",style:{transform:`translateX(-${100-(s||0)}%)`}})}));m.displayName=r.Root.displayName;export{m as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as m,d as p,f,g as d,i as u}from"./chunk-AG6IN5S7.mjs";import w from"next/image";import a from"path";import{useState as s}from"react";import{Fragment as j,jsx as o,jsxs as c}from"react/jsx-runtime";function N(t){try{let e=new URL(t),{hostname:n}=e;return n.endsWith("sharepoint.com")}catch{return!1}}function W(t){return t.startsWith("http")}function v(t,e){let n=t;if(N(t))n=`/docs/api/content/sharepoint?url=${t}`;else if(W(t))n=t;else if(e.source==="github"){let i=t.replace("./","");if(i.startsWith("/")&&(i=i.slice(1)),e.linked){if(e.linked.path){let r=a.dirname(e.linked.path);r.startsWith(".")||(i=`${r}/${i}`)}n=`/docs/api/github/content?owner=${e.linked.owner}&repo=${e.linked.repo}&path=${i}&branch=${e.linked.branch}`}else{if(e.file){let r=a.dirname(e.file);r.startsWith(".")||(i=`${r}/${i}`)}n=`/docs/api/github/content?owner=${e.owner}&repo=${e.repo}&path=${i}&branch=${e.branch}`}}else if(t.startsWith("/"))n=t;else if(t.startsWith("./")){let i=t.replace("./","");e.file&&(i=`/${a.dirname(e.file)}/${i}`),n=i}else n="/image-not-found.png";return n}function S({src:t,alt:e}){let[n,i]=s(!1),[r,$]=s(!1),[l,y]=s({width:0,height:0}),k=()=>{r&&i(!0)},z=()=>{i(!1)},I=D=>{let{naturalWidth:h,naturalHeight:g}=D.target;y({width:h,height:g}),$(h>300||g>300)};return c(j,{children:[o("div",{className:`relative mx-auto my-4 flex justify-center items-center cursor-pointer ${l.height>300?"h-[300px]":`h-[${l.height}px]`}`,onClick:k,children:o(w,{sizes:"100vw",height:l.height,width:l.width,src:t,alt:e||"",onLoad:I,unoptimized:!0,className:"object-contain max-w-full max-h-full"})}),o(m,{open:n,onOpenChange:i,children:c(f,{className:"flex flex-col items-center justify-center",children:[c(d,{className:"flex w-full justify-end",children:[o(u,{className:"hidden",children:e}),o(p,{})]}),o("div",{className:"flex items-center justify-center",children:o(w,{height:l.height,width:l.width,src:t,alt:e||"",unoptimized:!0,className:"object-contain"})})]})})]})}function P({props:t,baseContext:e}){let{src:n}=t;return n=v(n,e),o(S,{src:n,alt:t.alt})}export{P as a};
4
+ import{a as m,d as p,f,g as d,i as u}from"./chunk-3UMMMQEH.mjs";import w from"next/image";import a from"path";import{useState as s}from"react";import{Fragment as j,jsx as o,jsxs as c}from"react/jsx-runtime";function N(t){try{let e=new URL(t),{hostname:n}=e;return n.endsWith("sharepoint.com")}catch{return!1}}function W(t){return t.startsWith("http")}function v(t,e){let n=t;if(N(t))n=`/docs/api/content/sharepoint?url=${t}`;else if(W(t))n=t;else if(e.source==="github"){let i=t.replace("./","");if(i.startsWith("/")&&(i=i.slice(1)),e.linked){if(e.linked.path){let r=a.dirname(e.linked.path);r.startsWith(".")||(i=`${r}/${i}`)}n=`/docs/api/github/content?owner=${e.linked.owner}&repo=${e.linked.repo}&path=${i}&branch=${e.linked.branch}`}else{if(e.file){let r=a.dirname(e.file);r.startsWith(".")||(i=`${r}/${i}`)}n=`/docs/api/github/content?owner=${e.owner}&repo=${e.repo}&path=${i}&branch=${e.branch}`}}else if(t.startsWith("/"))n=t;else if(t.startsWith("./")){let i=t.replace("./","");e.file&&(i=`/${a.dirname(e.file)}/${i}`),n=i}else n="/image-not-found.png";return n}function S({src:t,alt:e}){let[n,i]=s(!1),[r,$]=s(!1),[l,y]=s({width:0,height:0}),k=()=>{r&&i(!0)},z=()=>{i(!1)},I=D=>{let{naturalWidth:h,naturalHeight:g}=D.target;y({width:h,height:g}),$(h>300||g>300)};return c(j,{children:[o("div",{className:`relative mx-auto my-4 flex justify-center items-center cursor-pointer ${l.height>300?"h-[300px]":`h-[${l.height}px]`}`,onClick:k,children:o(w,{sizes:"100vw",height:l.height,width:l.width,src:t,alt:e||"",onLoad:I,unoptimized:!0,className:"object-contain max-w-full max-h-full"})}),o(m,{open:n,onOpenChange:i,children:c(f,{className:"flex flex-col items-center justify-center",children:[c(d,{className:"flex w-full justify-end",children:[o(u,{className:"hidden",children:e}),o(p,{})]}),o("div",{className:"flex items-center justify-center",children:o(w,{height:l.height,width:l.width,src:t,alt:e||"",unoptimized:!0,className:"object-contain"})})]})})]})}function P({props:t,baseContext:e}){let{src:n}=t;return n=v(n,e),o(S,{src:n,alt:t.alt})}export{P as a};