cortex-react-components 2.17.3 → 2.17.5

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 (166) hide show
  1. package/dist/{chunk-P7S6XFU4.mjs → chunk-23XORW7A.mjs} +1 -1
  2. package/dist/{chunk-2OOJ4ZFB.mjs → chunk-2GZQYAN3.mjs} +1 -1
  3. package/dist/{chunk-PNUBVBSR.mjs → chunk-4NHQXOKZ.mjs} +1 -1
  4. package/dist/{chunk-KUFXQZI5.mjs → chunk-57HKHEQN.mjs} +1 -1
  5. package/dist/{chunk-GETYSIZV.mjs → chunk-5KS3DITB.mjs} +1 -1
  6. package/dist/{chunk-PTZT4QJW.mjs → chunk-66ODXUVL.mjs} +1 -1
  7. package/dist/{chunk-LAQ3QAUW.mjs → chunk-75WE6ZXB.mjs} +1 -1
  8. package/dist/{chunk-5NIEZE7A.mjs → chunk-AGWQ5S2Z.mjs} +1 -1
  9. package/dist/{chunk-2GM2LPLB.mjs → chunk-BDNY6OKE.mjs} +1 -1
  10. package/dist/{chunk-FYQBRCQM.mjs → chunk-BGADMIWV.mjs} +1 -1
  11. package/dist/{chunk-HKMNAXLM.mjs → chunk-BN747TQM.mjs} +1 -1
  12. package/dist/{chunk-AQQCH7Z2.mjs → chunk-CNCT3JZV.mjs} +1 -1
  13. package/dist/{chunk-3GROWGZ5.mjs → chunk-CQAMS7RZ.mjs} +1 -1
  14. package/dist/{chunk-JCWFPKF3.mjs → chunk-CYWA6TR2.mjs} +1 -1
  15. package/dist/{chunk-UCPJ4KXN.mjs → chunk-DA2BPW6D.mjs} +1 -1
  16. package/dist/{chunk-LHO4WFYP.mjs → chunk-ERHNVIOZ.mjs} +1 -1
  17. package/dist/{chunk-O24GFE6Q.mjs → chunk-GIL2SMPM.mjs} +1 -1
  18. package/dist/{chunk-GQEGZKN6.mjs → chunk-I6OBIS4J.mjs} +1 -1
  19. package/dist/{chunk-GAZHKHGB.mjs → chunk-JLUX7EHB.mjs} +1 -1
  20. package/dist/{chunk-MO4HRQEL.mjs → chunk-JT65KF7C.mjs} +1 -1
  21. package/dist/{chunk-R6AYIVIR.mjs → chunk-JUFFNFV6.mjs} +1 -1
  22. package/dist/{chunk-FEWOSBUJ.mjs → chunk-KRLNPNMZ.mjs} +1 -1
  23. package/dist/{chunk-RQLUMNJE.mjs → chunk-L5NPH5RX.mjs} +1 -1
  24. package/dist/{chunk-HDKHF3EA.mjs → chunk-M74BIPBM.mjs} +1 -1
  25. package/dist/{chunk-4SRUEQTP.mjs → chunk-NXG2Y4N4.mjs} +1 -1
  26. package/dist/chunk-ONNK2NEI.mjs +4 -0
  27. package/dist/{chunk-RS4VD3ML.mjs → chunk-PMYLKWPE.mjs} +1 -1
  28. package/dist/{chunk-7OMPPFGG.mjs → chunk-PRK2XFAZ.mjs} +1 -1
  29. package/dist/{chunk-ZFUP5NVF.mjs → chunk-PXLSH6S2.mjs} +1 -1
  30. package/dist/{chunk-P6OSMPUQ.mjs → chunk-PZZTGPEO.mjs} +1 -1
  31. package/dist/chunk-RBJOTC2X.mjs +4 -0
  32. package/dist/chunk-RZELSUQT.mjs +4 -0
  33. package/dist/{chunk-KVLUT4U2.mjs → chunk-S3P6OGB7.mjs} +1 -1
  34. package/dist/chunk-SK2QJG6J.mjs +4 -0
  35. package/dist/{chunk-F64CA5CH.mjs → chunk-T36QUKC6.mjs} +1 -1
  36. package/dist/{chunk-HSQAHQNP.mjs → chunk-TKCFCYEQ.mjs} +1 -1
  37. package/dist/{chunk-AGDKFAMN.mjs → chunk-UECG3SCG.mjs} +1 -1
  38. package/dist/{chunk-KG3MNGT6.mjs → chunk-UENQZNU3.mjs} +1 -1
  39. package/dist/{chunk-3ANJOET7.mjs → chunk-UX5OJ3WS.mjs} +1 -1
  40. package/dist/{chunk-BQQ4V4PX.mjs → chunk-WDZOGIT2.mjs} +1 -1
  41. package/dist/{chunk-L3BLBPSR.mjs → chunk-WUA65ZZB.mjs} +1 -1
  42. package/dist/{chunk-NSWNM3O5.mjs → chunk-X5UJBRSB.mjs} +1 -1
  43. package/dist/{chunk-U3FYDDE2.mjs → chunk-Y62OBV2E.mjs} +1 -1
  44. package/dist/{chunk-RFRNTKO7.mjs → chunk-ZAAHG2J7.mjs} +1 -1
  45. package/dist/chunk-ZCBUDRT7.mjs +4 -0
  46. package/dist/chunk-ZNSW443Y.mjs +4 -0
  47. package/dist/components/Blocks/Banner.mjs +1 -1
  48. package/dist/components/Blocks/CallToAction.mjs +1 -1
  49. package/dist/components/Blocks/CollapsibleArea.mjs +1 -1
  50. package/dist/components/Blocks/Content.mjs +1 -1
  51. package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
  52. package/dist/components/Blocks/RelatedPosts.mjs +1 -1
  53. package/dist/components/Blocks/RenderBlocks.mjs +1 -1
  54. package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
  55. package/dist/components/Blocks/index.mjs +1 -1
  56. package/dist/components/Cards/ContentCard.mjs +1 -1
  57. package/dist/components/Cards/FeatureCard.mjs +1 -1
  58. package/dist/components/Cards/index.mjs +1 -1
  59. package/dist/components/Chat/example-usage.mjs +1 -1
  60. package/dist/components/Chat/index.mjs +1 -1
  61. package/dist/components/DigitalColleagues/AppSidebarLeft.mjs +1 -1
  62. package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
  63. package/dist/components/DigitalColleagues/Pages/dashboardpage.js +1 -1
  64. package/dist/components/DigitalColleagues/Pages/dashboardpage.mjs +1 -1
  65. package/dist/components/DigitalColleagues/Views/KnowledgeView.js +1 -1
  66. package/dist/components/DigitalColleagues/Views/KnowledgeView.mjs +1 -1
  67. package/dist/components/DigitalColleagues/Views/index.js +1 -1
  68. package/dist/components/DigitalColleagues/Views/index.mjs +1 -1
  69. package/dist/components/DigitalColleagues/document-edit.js +1 -1
  70. package/dist/components/DigitalColleagues/document-edit.mjs +1 -1
  71. package/dist/components/DigitalColleagues/document-preview-examples.js +5 -5
  72. package/dist/components/DigitalColleagues/document-preview-examples.mjs +1 -1
  73. package/dist/components/DigitalColleagues/document-preview.js +1 -1
  74. package/dist/components/DigitalColleagues/document-preview.mjs +1 -1
  75. package/dist/components/DigitalColleagues/index.js +1 -1
  76. package/dist/components/DigitalColleagues/index.mjs +1 -1
  77. package/dist/components/DigitalColleagues/knowledge-browser.js +1 -1
  78. package/dist/components/DigitalColleagues/knowledge-browser.mjs +1 -1
  79. package/dist/components/Foundary/AppSidebarLeft.mjs +1 -1
  80. package/dist/components/Foundary/Knowledge/add-knowledge-modal.mjs +1 -1
  81. package/dist/components/Foundary/Knowledge/add-team-context.mjs +1 -1
  82. package/dist/components/Foundary/MainPage.mjs +1 -1
  83. package/dist/components/Foundary/Pages/dashboardpage.js +1 -1
  84. package/dist/components/Foundary/Pages/dashboardpage.mjs +1 -1
  85. package/dist/components/Foundary/RichText/index.js +1 -1
  86. package/dist/components/Foundary/RichText/index.mjs +1 -1
  87. package/dist/components/Foundary/RichText/plugins/toolbar-plugin.mjs +1 -1
  88. package/dist/components/Foundary/Views/KnowledgeView.js +2 -2
  89. package/dist/components/Foundary/Views/KnowledgeView.mjs +2 -1
  90. package/dist/components/Foundary/Views/index.js +1 -1
  91. package/dist/components/Foundary/Views/index.mjs +1 -1
  92. package/dist/components/Foundary/document-edit.js +1 -1
  93. package/dist/components/Foundary/document-edit.mjs +1 -1
  94. package/dist/components/Foundary/document-preview-examples.js +3 -3
  95. package/dist/components/Foundary/document-preview-examples.mjs +1 -1
  96. package/dist/components/Foundary/document-preview.js +1 -1
  97. package/dist/components/Foundary/document-preview.mjs +1 -1
  98. package/dist/components/Foundary/index.js +1 -1
  99. package/dist/components/Foundary/index.mjs +1 -1
  100. package/dist/components/Foundary/knowledge-browser.js +1 -1
  101. package/dist/components/Foundary/knowledge-browser.mjs +1 -1
  102. package/dist/components/HeaderFooter/Header.mjs +1 -1
  103. package/dist/components/HeaderFooter/HeaderDesktop.mjs +1 -1
  104. package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
  105. package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
  106. package/dist/components/HeaderFooter/index.mjs +1 -1
  107. package/dist/components/Heros/HighImpact/index.mjs +1 -1
  108. package/dist/components/Heros/LowImpact/index.mjs +1 -1
  109. package/dist/components/Heros/MediumImpact/index.mjs +1 -1
  110. package/dist/components/Heros/PostHero/index.mjs +1 -1
  111. package/dist/components/Heros/RenderHero.mjs +1 -1
  112. package/dist/components/Heros/SectionHero/index.mjs +1 -1
  113. package/dist/components/Heros/index.mjs +1 -1
  114. package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
  115. package/dist/components/Layouts/Print.mjs +1 -1
  116. package/dist/components/Layouts/SlideShow.mjs +1 -1
  117. package/dist/components/Layouts/index.mjs +1 -1
  118. package/dist/components/Menus/SidebarLeft.mjs +1 -1
  119. package/dist/components/Menus/SidebarRight.mjs +1 -1
  120. package/dist/components/Menus/index.mjs +1 -1
  121. package/dist/components/Other/index.mjs +1 -1
  122. package/dist/components/Payload/RichText/index.mjs +1 -1
  123. package/dist/components/Payload/RichText/serialize.mjs +1 -1
  124. package/dist/components/Payload/index.mjs +1 -1
  125. package/dist/components/Projects/KanbanBoardView.mjs +1 -1
  126. package/dist/components/Projects/ProjectPage.mjs +1 -1
  127. package/dist/components/Projects/ProjectView.mjs +1 -1
  128. package/dist/components/Projects/ProjectsIndexView.mjs +1 -1
  129. package/dist/components/Projects/index.mjs +1 -1
  130. package/dist/components/dc-temp/index.js +1 -1
  131. package/dist/components/dc-temp/index.mjs +1 -1
  132. package/dist/components/index.js +17 -17
  133. package/dist/components/index.mjs +1 -1
  134. package/dist/components/ui/index.mjs +1 -1
  135. package/dist/components/ui/sidebar.mjs +1 -1
  136. package/dist/globals.css +1 -1
  137. package/dist/index.js +14 -14
  138. package/dist/index.mjs +1 -1
  139. package/dist/metafile-cjs.json +1 -1
  140. package/dist/metafile-esm.json +1 -1
  141. package/dist/pages/Blog.mjs +1 -1
  142. package/dist/pages/Documentation.mjs +1 -1
  143. package/dist/pages/IndexPage.mjs +1 -1
  144. package/dist/pages/Intranet.mjs +1 -1
  145. package/dist/pages/LandingPage.mjs +1 -1
  146. package/dist/pages/Page.mjs +1 -1
  147. package/dist/pages/Publish.mjs +1 -1
  148. package/dist/pages/Website.mjs +1 -1
  149. package/dist/sections/AboutSection.mjs +1 -1
  150. package/dist/sections/BlogDetail.mjs +1 -1
  151. package/dist/sections/BlogList.mjs +1 -1
  152. package/dist/sections/BlogListSection.mjs +1 -1
  153. package/dist/sections/ContactSection.mjs +1 -1
  154. package/dist/sections/PageSections.mjs +1 -1
  155. package/dist/sections/PricingSection.mjs +1 -1
  156. package/dist/sections/ServiceDetail.mjs +1 -1
  157. package/dist/sections/ServiceDetailSection.mjs +1 -1
  158. package/dist/sections/ServiceSection.mjs +1 -1
  159. package/dist/sections/index.mjs +1 -1
  160. package/package.json +1 -1
  161. package/dist/chunk-AREQGH47.mjs +0 -4
  162. package/dist/chunk-RHR3YOLG.mjs +0 -4
  163. package/dist/chunk-SX456QYL.mjs +0 -4
  164. package/dist/chunk-TNQS3NVB.mjs +0 -1
  165. package/dist/chunk-UK7PR73C.mjs +0 -4
  166. package/dist/chunk-ZXPDSSCF.mjs +0 -4
@@ -1 +1 @@
1
- import{a as x}from"../../chunk-2UNIT7NC.mjs";import{a as s}from"../../chunk-NSWNM3O5.mjs";import{a as n}from"../../chunk-72BE5VJT.mjs";import{a as r}from"../../chunk-TNQS3NVB.mjs";import"../../chunk-3F6AUCZF.mjs";import"../../chunk-U2OXF7PJ.mjs";import{a as k}from"../../chunk-NDZ26EG6.mjs";import{a as c}from"../../chunk-CRAFZGCI.mjs";import{a as l}from"../../chunk-M2REXGQW.mjs";import{a as q}from"../../chunk-UK7PR73C.mjs";import{a as m}from"../../chunk-CJ6APTVT.mjs";import"../../chunk-I4GYQZGM.mjs";import{a as g}from"../../chunk-ATBKMJU6.mjs";import{a as i}from"../../chunk-H3RVI2OI.mjs";import{a as h}from"../../chunk-5HT2KC5I.mjs";import{a as j}from"../../chunk-FSCDCSVK.mjs";import{a as p}from"../../chunk-UCPJ4KXN.mjs";import{a as o}from"../../chunk-RFRNTKO7.mjs";import"../../chunk-SX456QYL.mjs";import"../../chunk-EUMMM454.mjs";import"../../chunk-IPRG56MW.mjs";import"../../chunk-HFEN3KJC.mjs";import"../../chunk-L2UJOICL.mjs";import"../../chunk-T3F3RQIC.mjs";import"../../chunk-UP67R64J.mjs";import"../../chunk-6QERRKM4.mjs";import"../../chunk-VSU7LYXZ.mjs";import{a as b}from"../../chunk-JDMIQLAZ.mjs";import{a as d}from"../../chunk-RS4VD3ML.mjs";import{a}from"../../chunk-5NIEZE7A.mjs";import{a as e}from"../../chunk-J4QINTHR.mjs";import"../../chunk-R4SE63GR.mjs";import"../../chunk-DXRAJQMA.mjs";import"../../chunk-VGWDYD6Z.mjs";import{a as v}from"../../chunk-AGDKFAMN.mjs";import"../../chunk-QOZ2O3FG.mjs";import"../../chunk-6PS55VJZ.mjs";import{a as t}from"../../chunk-NAGBKKTZ.mjs";import"../../chunk-JXQRVEQB.mjs";import"../../chunk-RQLUMNJE.mjs";import"../../chunk-UM57PWI7.mjs";import"../../chunk-ZHBYZ4HE.mjs";import"../../chunk-AB43AQKL.mjs";import"../../chunk-KG7HG2VO.mjs";import"../../chunk-KZCIHFTM.mjs";import{a as u}from"../../chunk-2R3MJSQ7.mjs";import{a as w}from"../../chunk-HSQAHQNP.mjs";import"../../chunk-KPTGYVDM.mjs";import"../../chunk-5RTGHMF3.mjs";import"../../chunk-CDVRH3MC.mjs";import"../../chunk-L3V5YDPH.mjs";import"../../chunk-DCOFQFVJ.mjs";import"../../chunk-NGX2VCHS.mjs";import"../../chunk-QC2UWZWL.mjs";import"../../chunk-Z22NSJMF.mjs";import{a as f}from"../../chunk-EZC3YWSQ.mjs";import"../../chunk-YRMNCHFO.mjs";import"../../chunk-EOR2BAI2.mjs";import"../../chunk-Y7H3EUBR.mjs";import"../../chunk-4WA47ZQA.mjs";import"../../chunk-NPVUICIF.mjs";import"../../chunk-6SWKEZN6.mjs";import"../../chunk-DFIXTV2M.mjs";import"../../chunk-VDN4LQSS.mjs";import"../../chunk-FGEFYI5E.mjs";import"../../chunk-MU5WPW4N.mjs";import"../../chunk-AZKOVKSK.mjs";import"../../chunk-UVHMI3PU.mjs";import"../../chunk-Q5Q3DJWU.mjs";import"../../chunk-U5PBLRRV.mjs";import"../../chunk-4QRKVSTE.mjs";import"../../chunk-E4TE4NV6.mjs";import"../../chunk-JFFTEK6Z.mjs";import"../../chunk-JHNVX4UB.mjs";import"../../chunk-7BXIU4ZM.mjs";import"../../chunk-YFAZQYK4.mjs";import"../../chunk-INCYANPB.mjs";import"../../chunk-B4H6T2GP.mjs";import"../../chunk-TVZOULLL.mjs";import"../../chunk-RLVKIMGU.mjs";import"../../chunk-OCPX4QPC.mjs";import"../../chunk-FT3AE7L2.mjs";import"../../chunk-76M7JE4D.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-OYZDAMCS.mjs";import"../../chunk-5NRGSTPV.mjs";import"../../chunk-ZFUP5NVF.mjs";import"../../chunk-4UIARERB.mjs";import"../../chunk-D4IMQTVU.mjs";import"../../chunk-7GSXNSLD.mjs";import"../../chunk-YNCJATT7.mjs";import"../../chunk-L5JPAKPM.mjs";import"../../chunk-KY7WQYN4.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-22LHS2J6.mjs";import"../../chunk-IC2ABKAM.mjs";import"../../chunk-FHMQVAKQ.mjs";import"../../chunk-X5KZKO2V.mjs";import"../../chunk-7WIO2CIC.mjs";import"../../chunk-55EX54R7.mjs";import"../../chunk-6C4WESLL.mjs";import"../../chunk-LAQ3QAUW.mjs";import"../../chunk-PDY7JYY3.mjs";import"../../chunk-L3BLBPSR.mjs";import"../../chunk-Q5XT55O3.mjs";import"../../chunk-WISC5QJV.mjs";import"../../chunk-ZDPQXVTF.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FMJBJ3HN.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-EGEO3FNE.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-FLHDNCNY.mjs";import"../../chunk-WU3JMLSC.mjs";import"../../chunk-BZAYEKYC.mjs";import"../../chunk-FRWX5YES.mjs";import"../../chunk-CV7PH2KH.mjs";import"../../chunk-YEKQJ4YC.mjs";export{a as AppSidebarLeft,g as ColleagueCard,i as ColleagueForm,j as ColleagueTypeSelection,n as ColleaguesView,b as DashboardHeader,s as DashboardPage,k as DigitalColleagueClone,l as DigitalColleagueOptions,o as DocumentEdit,p as DocumentPreview,t as FileView,c as FoundaryLayout,q as KnowledgeBrowser,h as KnowledgeSearch,r as KnowledgeView,d as MainPage,e as ManagementSidebar,u as PlanningView,v as ProjectView,w as ProjectsIndexView,f as SearchableSelect,m as TeamForm,x as TeamsIndexView};
1
+ import{a as x}from"../../chunk-2UNIT7NC.mjs";import{a as s}from"../../chunk-X5UJBRSB.mjs";import{a as n}from"../../chunk-72BE5VJT.mjs";import{a as r}from"../../chunk-SK2QJG6J.mjs";import"../../chunk-3F6AUCZF.mjs";import"../../chunk-U2OXF7PJ.mjs";import{a as k}from"../../chunk-NDZ26EG6.mjs";import{a as c}from"../../chunk-CRAFZGCI.mjs";import{a as l}from"../../chunk-M2REXGQW.mjs";import{a as q}from"../../chunk-ZCBUDRT7.mjs";import{a as m}from"../../chunk-CJ6APTVT.mjs";import"../../chunk-I4GYQZGM.mjs";import{a as g}from"../../chunk-ATBKMJU6.mjs";import{a as i}from"../../chunk-H3RVI2OI.mjs";import{a as h}from"../../chunk-5HT2KC5I.mjs";import{a as j}from"../../chunk-FSCDCSVK.mjs";import{a as p}from"../../chunk-DA2BPW6D.mjs";import{a as o}from"../../chunk-ZAAHG2J7.mjs";import"../../chunk-RBJOTC2X.mjs";import"../../chunk-EUMMM454.mjs";import"../../chunk-IPRG56MW.mjs";import"../../chunk-HFEN3KJC.mjs";import"../../chunk-L2UJOICL.mjs";import"../../chunk-T3F3RQIC.mjs";import"../../chunk-UP67R64J.mjs";import"../../chunk-6QERRKM4.mjs";import"../../chunk-VSU7LYXZ.mjs";import{a as b}from"../../chunk-JDMIQLAZ.mjs";import{a as d}from"../../chunk-PMYLKWPE.mjs";import{a}from"../../chunk-AGWQ5S2Z.mjs";import{a as e}from"../../chunk-J4QINTHR.mjs";import"../../chunk-R4SE63GR.mjs";import{a as v}from"../../chunk-UECG3SCG.mjs";import"../../chunk-QOZ2O3FG.mjs";import"../../chunk-L5NPH5RX.mjs";import"../../chunk-KZCIHFTM.mjs";import{a as u}from"../../chunk-2R3MJSQ7.mjs";import{a as w}from"../../chunk-TKCFCYEQ.mjs";import"../../chunk-CDVRH3MC.mjs";import"../../chunk-KPTGYVDM.mjs";import"../../chunk-UM57PWI7.mjs";import"../../chunk-ZHBYZ4HE.mjs";import"../../chunk-AB43AQKL.mjs";import"../../chunk-NGX2VCHS.mjs";import"../../chunk-6PS55VJZ.mjs";import"../../chunk-KG7HG2VO.mjs";import"../../chunk-L3V5YDPH.mjs";import"../../chunk-QC2UWZWL.mjs";import"../../chunk-5RTGHMF3.mjs";import{a as t}from"../../chunk-NAGBKKTZ.mjs";import"../../chunk-JXQRVEQB.mjs";import"../../chunk-DCOFQFVJ.mjs";import"../../chunk-VGWDYD6Z.mjs";import"../../chunk-DXRAJQMA.mjs";import"../../chunk-Z22NSJMF.mjs";import{a as f}from"../../chunk-EZC3YWSQ.mjs";import"../../chunk-YRMNCHFO.mjs";import"../../chunk-EOR2BAI2.mjs";import"../../chunk-Y7H3EUBR.mjs";import"../../chunk-4WA47ZQA.mjs";import"../../chunk-NPVUICIF.mjs";import"../../chunk-6SWKEZN6.mjs";import"../../chunk-DFIXTV2M.mjs";import"../../chunk-VDN4LQSS.mjs";import"../../chunk-FGEFYI5E.mjs";import"../../chunk-MU5WPW4N.mjs";import"../../chunk-AZKOVKSK.mjs";import"../../chunk-UVHMI3PU.mjs";import"../../chunk-U5PBLRRV.mjs";import"../../chunk-Q5Q3DJWU.mjs";import"../../chunk-4QRKVSTE.mjs";import"../../chunk-E4TE4NV6.mjs";import"../../chunk-JFFTEK6Z.mjs";import"../../chunk-JHNVX4UB.mjs";import"../../chunk-7BXIU4ZM.mjs";import"../../chunk-YFAZQYK4.mjs";import"../../chunk-INCYANPB.mjs";import"../../chunk-B4H6T2GP.mjs";import"../../chunk-TVZOULLL.mjs";import"../../chunk-RLVKIMGU.mjs";import"../../chunk-OCPX4QPC.mjs";import"../../chunk-FT3AE7L2.mjs";import"../../chunk-76M7JE4D.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-OYZDAMCS.mjs";import"../../chunk-5NRGSTPV.mjs";import"../../chunk-PXLSH6S2.mjs";import"../../chunk-D4IMQTVU.mjs";import"../../chunk-7GSXNSLD.mjs";import"../../chunk-4UIARERB.mjs";import"../../chunk-YNCJATT7.mjs";import"../../chunk-L5JPAKPM.mjs";import"../../chunk-KY7WQYN4.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-ZDPQXVTF.mjs";import"../../chunk-22LHS2J6.mjs";import"../../chunk-IC2ABKAM.mjs";import"../../chunk-FHMQVAKQ.mjs";import"../../chunk-X5KZKO2V.mjs";import"../../chunk-7WIO2CIC.mjs";import"../../chunk-55EX54R7.mjs";import"../../chunk-6C4WESLL.mjs";import"../../chunk-75WE6ZXB.mjs";import"../../chunk-PDY7JYY3.mjs";import"../../chunk-WUA65ZZB.mjs";import"../../chunk-WISC5QJV.mjs";import"../../chunk-Q5XT55O3.mjs";import"../../chunk-FMJBJ3HN.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-EGEO3FNE.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-FLHDNCNY.mjs";import"../../chunk-WU3JMLSC.mjs";import"../../chunk-BZAYEKYC.mjs";import"../../chunk-FRWX5YES.mjs";import"../../chunk-CV7PH2KH.mjs";import"../../chunk-YEKQJ4YC.mjs";export{a as AppSidebarLeft,g as ColleagueCard,i as ColleagueForm,j as ColleagueTypeSelection,n as ColleaguesView,b as DashboardHeader,s as DashboardPage,k as DigitalColleagueClone,l as DigitalColleagueOptions,o as DocumentEdit,p as DocumentPreview,t as FileView,c as FoundaryLayout,q as KnowledgeBrowser,h as KnowledgeSearch,r as KnowledgeView,d as MainPage,e as ManagementSidebar,u as PlanningView,v as ProjectView,w as ProjectsIndexView,f as SearchableSelect,m as TeamForm,x as TeamsIndexView};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- "use strict";"use client";var po=Object.create;var ke=Object.defineProperty;var fo=Object.getOwnPropertyDescriptor;var go=Object.getOwnPropertyNames;var bo=Object.getPrototypeOf,ho=Object.prototype.hasOwnProperty;var vo=(e,t)=>{for(var o in t)ke(e,o,{get:t[o],enumerable:!0})},rt=(e,t,o,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of go(t))!ho.call(e,i)&&i!==o&&ke(e,i,{get:()=>t[i],enumerable:!(r=fo(t,i))||r.enumerable});return e};var j=(e,t,o)=>(o=e!=null?po(bo(e)):{},rt(t||!e||!e.__esModule?ke(o,"default",{value:e,enumerable:!0}):o,e)),xo=e=>rt(ke({},"__esModule",{value:!0}),e);var ur={};vo(ur,{KnowledgeBrowser:()=>mr});module.exports=xo(ur);var pe=require("motion/react"),J=require("lucide-react"),ee=require("react");var pt=j(require("react"));var ut=require("clsx");var Oe="-",wo=e=>{let t=Co(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:s=>{let a=s.split(Oe);return a[0]===""&&a.length!==1&&a.shift(),it(a,t)||yo(s)},getConflictingClassGroupIds:(s,a)=>{let v=o[s]||[];return a&&r[s]?[...v,...r[s]]:v}}},it=(e,t)=>{if(e.length===0)return t.classGroupId;let o=e[0],r=t.nextPart.get(o),i=r?it(e.slice(1),r):void 0;if(i)return i;if(t.validators.length===0)return;let n=e.join(Oe);return t.validators.find(({validator:s})=>s(n))?.classGroupId},nt=/^\[(.+)\]$/,yo=e=>{if(nt.test(e)){let t=nt.exec(e)[1],o=t?.substring(0,t.indexOf(":"));if(o)return"arbitrary.."+o}},Co=e=>{let{theme:t,prefix:o}=e,r={nextPart:new Map,validators:[]};return So(Object.entries(e.classGroups),o).forEach(([n,s])=>{Ke(s,r,n,t)}),r},Ke=(e,t,o,r)=>{e.forEach(i=>{if(typeof i=="string"){let n=i===""?t:at(t,i);n.classGroupId=o;return}if(typeof i=="function"){if(No(i)){Ke(i(r),t,o,r);return}t.validators.push({validator:i,classGroupId:o});return}Object.entries(i).forEach(([n,s])=>{Ke(s,at(t,n),o,r)})})},at=(e,t)=>{let o=e;return t.split(Oe).forEach(r=>{o.nextPart.has(r)||o.nextPart.set(r,{nextPart:new Map,validators:[]}),o=o.nextPart.get(r)}),o},No=e=>e.isThemeGetter,So=(e,t)=>t?e.map(([o,r])=>{let i=r.map(n=>typeof n=="string"?t+n:typeof n=="object"?Object.fromEntries(Object.entries(n).map(([s,a])=>[t+s,a])):n);return[o,i]}):e,Ro=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,o=new Map,r=new Map,i=(n,s)=>{o.set(n,s),t++,t>e&&(t=0,r=o,o=new Map)};return{get(n){let s=o.get(n);if(s!==void 0)return s;if((s=r.get(n))!==void 0)return i(n,s),s},set(n,s){o.has(n)?o.set(n,s):i(n,s)}}},st="!",Po=e=>{let{separator:t,experimentalParseClassName:o}=e,r=t.length===1,i=t[0],n=t.length,s=a=>{let v=[],f=0,M=0,H;for(let p=0;p<a.length;p++){let g=a[p];if(f===0){if(g===i&&(r||a.slice(p,p+n)===t)){v.push(a.slice(M,p)),M=p+n;continue}if(g==="/"){H=p;continue}}g==="["?f++:g==="]"&&f--}let D=v.length===0?a:a.substring(M),w=D.startsWith(st),R=w?D.substring(1):D,T=H&&H>M?H-M:void 0;return{modifiers:v,hasImportantModifier:w,baseClassName:R,maybePostfixModifierPosition:T}};return o?a=>o({className:a,parseClassName:s}):s},Mo=e=>{if(e.length<=1)return e;let t=[],o=[];return e.forEach(r=>{r[0]==="["?(t.push(...o.sort(),r),o=[]):o.push(r)}),t.push(...o.sort()),t},ko=e=>({cache:Ro(e.cacheSize),parseClassName:Po(e),...wo(e)}),Do=/\s+/,To=(e,t)=>{let{parseClassName:o,getClassGroupId:r,getConflictingClassGroupIds:i}=t,n=[],s=e.trim().split(Do),a="";for(let v=s.length-1;v>=0;v-=1){let f=s[v],{modifiers:M,hasImportantModifier:H,baseClassName:D,maybePostfixModifierPosition:w}=o(f),R=!!w,T=r(R?D.substring(0,w):D);if(!T){if(!R){a=f+(a.length>0?" "+a:a);continue}if(T=r(D),!T){a=f+(a.length>0?" "+a:a);continue}R=!1}let p=Mo(M).join(":"),g=H?p+st:p,c=g+T;if(n.includes(c))continue;n.push(c);let x=i(T,R);for(let k=0;k<x.length;++k){let $=x[k];n.push(g+$)}a=f+(a.length>0?" "+a:a)}return a};function Io(){let e=0,t,o,r="";for(;e<arguments.length;)(t=arguments[e++])&&(o=lt(t))&&(r&&(r+=" "),r+=o);return r}var lt=e=>{if(typeof e=="string")return e;let t,o="";for(let r=0;r<e.length;r++)e[r]&&(t=lt(e[r]))&&(o&&(o+=" "),o+=t);return o};function Ho(e,...t){let o,r,i,n=s;function s(v){let f=t.reduce((M,H)=>H(M),e());return o=ko(f),r=o.cache.get,i=o.cache.set,n=a,a(v)}function a(v){let f=r(v);if(f)return f;let M=To(v,o);return i(v,M),M}return function(){return n(Io.apply(null,arguments))}}var I=e=>{let t=o=>o[e]||[];return t.isThemeGetter=!0,t},dt=/^\[(?:([a-ft-]+):)?(.+)\]$/i,Ao=/^\ft+\/\ft+$/,Lo=new Set(["px","full","screen"]),Eo=/^(\ft+(\.\ft+)?)?(xs|sm|md|lg|xl)$/,Vo=/\ft+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,zo=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Bo=/^(inset_)?-?((\ft+)?\.?(\ft+)[a-ft]+|0)_-?((\ft+)?\.?(\ft+)[a-ft]+|0)/,Ko=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,oe=e=>ge(e)||Lo.has(e)||Ao.test(e),ae=e=>be(e,"length",Wo),ge=e=>!!e&&!Number.isNaN(Number(e)),Be=e=>be(e,"number",ge),we=e=>!!e&&Number.isInteger(Number(e)),Oo=e=>e.endsWith("%")&&ge(e.slice(0,-1)),h=e=>dt.test(e),ie=e=>Eo.test(e),_o=new Set(["length","size","percentage"]),Go=e=>be(e,_o,ct),$o=e=>be(e,"position",ct),Fo=new Set(["image","url"]),jo=e=>be(e,Fo,qo),Uo=e=>be(e,"",Zo),ye=()=>!0,be=(e,t,o)=>{let r=dt.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):o(r[2]):!1},Wo=e=>Vo.test(e)&&!zo.test(e),ct=()=>!1,Zo=e=>Bo.test(e),qo=e=>Ko.test(e);var Xo=()=>{let e=I("colors"),t=I("spacing"),o=I("blur"),r=I("brightness"),i=I("borderColor"),n=I("borderRadius"),s=I("borderSpacing"),a=I("borderWidth"),v=I("contrast"),f=I("grayscale"),M=I("hueRotate"),H=I("invert"),D=I("gap"),w=I("gradientColorStops"),R=I("gradientColorStopPositions"),T=I("inset"),p=I("margin"),g=I("opacity"),c=I("padding"),x=I("saturate"),k=I("scale"),$=I("sepia"),V=I("skew"),O=I("space"),F=I("translate"),U=()=>["auto","contain","none"],B=()=>["auto","hidden","clip","visible","scroll"],Z=()=>["auto",h,t],P=()=>[h,t],fe=()=>["",oe,ae],xe=()=>["auto",ge,h],b=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],K=()=>["solid","dashed","dotted","double","none"],_=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ce=()=>["start","end","center","between","around","evenly","stretch"],Q=()=>["","0",h],ot=()=>["auto","avoid","all","avoid-page","page","left","right","column"],te=()=>[ge,h];return{cacheSize:500,separator:":",theme:{colors:[ye],spacing:[oe,ae],blur:["none","",ie,h],brightness:te(),borderColor:[e],borderRadius:["none","","full",ie,h],borderSpacing:P(),borderWidth:fe(),contrast:te(),grayscale:Q(),hueRotate:te(),invert:Q(),gap:P(),gradientColorStops:[e],gradientColorStopPositions:[Oo,ae],inset:Z(),margin:Z(),opacity:te(),padding:P(),saturate:te(),scale:te(),sepia:Q(),skew:te(),space:P(),translate:P()},classGroups:{aspect:[{aspect:["auto","square","video",h]}],container:["container"],columns:[{columns:[ie]}],"break-after":[{"break-after":ot()}],"break-before":[{"break-before":ot()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...b(),h]}],overflow:[{overflow:B()}],"overflow-x":[{"overflow-x":B()}],"overflow-y":[{"overflow-y":B()}],overscroll:[{overscroll:U()}],"overscroll-x":[{"overscroll-x":U()}],"overscroll-y":[{"overscroll-y":U()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[T]}],"inset-x":[{"inset-x":[T]}],"inset-y":[{"inset-y":[T]}],start:[{start:[T]}],end:[{end:[T]}],top:[{top:[T]}],right:[{right:[T]}],bottom:[{bottom:[T]}],left:[{left:[T]}],visibility:["visible","invisible","collapse"],ft:[{ft:["auto",we,h]}],basis:[{basis:Z()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",h]}],grow:[{grow:Q()}],shrink:[{shrink:Q()}],order:[{order:["first","last","none",we,h]}],"grid-cols":[{"grid-cols":[ye]}],"col-start-end":[{col:["auto",{span:["full",we,h]},h]}],"col-start":[{"col-start":xe()}],"col-end":[{"col-end":xe()}],"grid-rows":[{"grid-rows":[ye]}],"row-start-end":[{row:["auto",{span:[we,h]},h]}],"row-start":[{"row-start":xe()}],"row-end":[{"row-end":xe()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",h]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",h]}],gap:[{gap:[D]}],"gap-x":[{"gap-x":[D]}],"gap-y":[{"gap-y":[D]}],"justify-content":[{justify:["normal",...ce()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ce(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ce(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[c]}],px:[{px:[c]}],py:[{py:[c]}],ps:[{ps:[c]}],pe:[{pe:[c]}],pt:[{pt:[c]}],pr:[{pr:[c]}],pb:[{pb:[c]}],pl:[{pl:[c]}],ft:[{ft:[p]}],mx:[{mx:[p]}],my:[{my:[p]}],ms:[{ms:[p]}],me:[{me:[p]}],mt:[{mt:[p]}],mr:[{mr:[p]}],mb:[{mb:[p]}],ml:[{ml:[p]}],"space-x":[{"space-x":[O]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[O]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",h,t]}],"min-w":[{"min-w":[h,t,"min","max","fit"]}],"max-w":[{"max-w":[h,t,"none","full","min","max","fit","prose",{screen:[ie]},ie]}],h:[{h:[h,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[h,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[h,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[h,t,"auto","min","max","fit"]}],"font-size":[{text:["base",ie,ae]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Be]}],"font-family":[{font:[ye]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",h]}],"line-clamp":[{"line-clamp":["none",ge,Be]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",oe,h]}],"list-image":[{"list-image":["none",h]}],"list-style-type":[{list:["none","disc","decimal",h]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[g]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[g]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...K(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",oe,ae]}],"underline-offset":[{"underline-offset":["auto",oe,h]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:P()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",h]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",h]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[g]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...b(),$o]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Go]}],"bg-image":[{bg:["none",{"gradient-ee":["t","tr","r","br","b","bl","ft","tl"]},jo]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[R]}],"gradient-via-pos":[{via:[R]}],"gradient-ee-pos":[{ee:[R]}],"gradient-from":[{from:[w]}],"gradient-via":[{via:[w]}],"gradient-ee":[{ee:[w]}],rounded:[{rounded:[n]}],"rounded-s":[{"rounded-s":[n]}],"rounded-e":[{"rounded-e":[n]}],"rounded-t":[{"rounded-t":[n]}],"rounded-r":[{"rounded-r":[n]}],"rounded-b":[{"rounded-b":[n]}],"rounded-ft":[{"rounded-ft":[n]}],"rounded-ss":[{"rounded-ss":[n]}],"rounded-ft":[{"rounded-ft":[n]}],"rounded-ee":[{"rounded-ee":[n]}],"rounded-es":[{"rounded-es":[n]}],"rounded-tl":[{"rounded-tl":[n]}],"rounded-tr":[{"rounded-tr":[n]}],"rounded-br":[{"rounded-br":[n]}],"rounded-bl":[{"rounded-bl":[n]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-ft":[{"border-ft":[a]}],"border-opacity":[{"border-opacity":[g]}],"border-style":[{border:[...K(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[g]}],"divide-style":[{divide:K()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-s":[{"border-s":[i]}],"border-color-e":[{"border-e":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-ft":[{"border-ft":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",...K()]}],"outline-offset":[{"outline-offset":[oe,h]}],"outline-w":[{outline:[oe,ae]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:fe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[g]}],"ring-offset-w":[{"ring-offset":[oe,ae]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",ie,Uo]}],"shadow-color":[{shadow:[ye]}],opacity:[{opacity:[g]}],"mix-blend":[{"mix-blend":[..._(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":_()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[r]}],contrast:[{contrast:[v]}],"drop-shadow":[{"drop-shadow":["","none",ie,h]}],grayscale:[{grayscale:[f]}],"hue-rotate":[{"hue-rotate":[M]}],invert:[{invert:[H]}],saturate:[{saturate:[x]}],sepia:[{sepia:[$]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[v]}],"backdrop-grayscale":[{"backdrop-grayscale":[f]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[M]}],"backdrop-invert":[{"backdrop-invert":[H]}],"backdrop-opacity":[{"backdrop-opacity":[g]}],"backdrop-saturate":[{"backdrop-saturate":[x]}],"backdrop-sepia":[{"backdrop-sepia":[$]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",h]}],duration:[{duration:te()}],ease:[{ease:["linear","in","out","in-out",h]}],delay:[{delay:te()}],animate:[{animate:["none","spin","ping","pulse","bounce",h]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[k]}],"scale-x":[{"scale-x":[k]}],"scale-y":[{"scale-y":[k]}],rotate:[{rotate:[we,h]}],"translate-x":[{"translate-x":[F]}],"translate-y":[{"translate-y":[F]}],"skew-x":[{"skew-x":[V]}],"skew-y":[{"skew-y":[V]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",h]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","J-resize","nw-resize","ft-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",h]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-ft":[{"scroll-ft":P()}],"scroll-mx":[{"scroll-mx":P()}],"scroll-my":[{"scroll-my":P()}],"scroll-ms":[{"scroll-ms":P()}],"scroll-me":[{"scroll-me":P()}],"scroll-mt":[{"scroll-mt":P()}],"scroll-mr":[{"scroll-mr":P()}],"scroll-mb":[{"scroll-mb":P()}],"scroll-ml":[{"scroll-ml":P()}],"scroll-p":[{"scroll-p":P()}],"scroll-px":[{"scroll-px":P()}],"scroll-py":[{"scroll-py":P()}],"scroll-ps":[{"scroll-ps":P()}],"scroll-pe":[{"scroll-pe":P()}],"scroll-pt":[{"scroll-pt":P()}],"scroll-pr":[{"scroll-pr":P()}],"scroll-pb":[{"scroll-pb":P()}],"scroll-pl":[{"scroll-pl":P()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",h]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[oe,ae,Be]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],ft:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-ft","rounded-ss","rounded-ft","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-ft","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-ft":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-ft"],"border-w-x":["border-w-r","border-w-ft"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-ft"],"border-color-x":["border-color-r","border-color-ft"],"border-color-y":["border-color-t","border-color-b"],"scroll-ft":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var mt=Ho(Xo);function N(...e){return mt((0,ut.clsx)(e))}var ft=require("react/jsx-runtime"),me=pt.forwardRef(({className:e,type:t,...o},r)=>(0,ft.jsx)("input",{type:t,className:N("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),ref:r,...o}));me.displayName="Input";var _e=j(require("react")),W=j(require("@radix-ui/react-scroll-area"));var Ge=_e.forwardRef(({className:e,children:t,...o},r)=>(0,ft.jsxs)(W.Root,{ref:r,className:N("relative overflow-hidden",e),...o,children:[(0,ft.jsx)(W.Viewport,{className:"h-full w-full rounded-[inherit]",children:t}),(0,ft.jsx)(gt,{}),(0,ft.jsx)(W.Corner,{})]}));Ge.displayName=W.Root.displayName;var gt=_e.forwardRef(({className:e,orientation:t="vertical",...o},r)=>(0,ft.jsx)(W.ScrollAreaScrollbar,{ref:r,orientation:t,className:N("flex touch-none select-none transition-colors",t==="vertical"&&"h-full w-2.5 border-ft border-ft-transparent p-[1px]",t==="horizontal"&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",e),...o,children:(0,ft.jsx)(W.ScrollAreaThumb,{className:"relative flex-1 rounded-full bg-border"})}));gt.displayName=W.ScrollAreaScrollbar.displayName;var bt=require("@radix-ui/react-slot"),ht=require("class-variance-authority"),vt=j(require("react")),Jo=(0,ht.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),le=vt.forwardRef(({asChild:e=!1,className:t,size:o,variant:r,...i},n)=>(0,ft.jsx)(e?bt.Slot:"button",{className:N(Jo({className:t,size:o,variant:r})),ref:n,...i}));le.displayName="Button";var wt=j(require("react")),De=wt.forwardRef(({className:e,...t},o)=>(0,ft.jsx)("textarea",{className:N("flex min-h-[80px] w-full rounded border border-border bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),ref:o,...t}));De.displayName="Textarea";var y=j(require("@radix-ui/react-select")),de=j(require("react")),$e=y.Root;var Fe=y.Value,Te=de.forwardRef(({children:e,className:t,...o},r)=>(0,ft.jsxs)(y.Trigger,{className:N("flex h-10 w-full items-center justify-between rounded border border-input bg-background px-3 py-2 text-inherit ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",t),ref:r,...o,children:[e,(0,ft.jsx)(y.Icon,{asChild:!0,children:(0,ft.jsx)(J.ChevronDown,{className:"h-4 w-4 opacity-50"})})]}));Te.displayName=y.Trigger.displayName;var Ct=de.forwardRef(({className:e,...t},o)=>(0,ft.jsx)(y.ScrollUpButton,{className:N("flex cursor-default items-center justify-center py-1",e),ref:o,...t,children:(0,ft.jsx)(J.ChevronUp,{className:"h-4 w-4"})}));Ct.displayName=y.ScrollUpButton.displayName;var Nt=de.forwardRef(({className:e,...t},o)=>(0,ft.jsx)(y.ScrollDownButton,{className:N("flex cursor-default items-center justify-center py-1",e),ref:o,...t,children:(0,ft.jsx)(J.ChevronDown,{className:"h-4 w-4"})}));Nt.displayName=y.ScrollDownButton.displayName;var Ie=de.forwardRef(({children:e,className:t,position:o="popper",...r},i)=>(0,ft.jsx)(y.Portal,{children:(0,ft.jsxs)(y.Content,{className:N("relative ft-50 max-h-96 min-w-[8rem] overflow-hidden rounded border bg-card text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",o==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",t),position:o,ref:i,...r,children:[(0,ft.jsx)(Ct,{}),(0,ft.jsx)(y.Viewport,{className:N("p-1",o==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:e}),(0,ft.jsx)(Nt,{})]})}));Ie.displayName=y.Content.displayName;var Qo=de.forwardRef(({className:e,...t},o)=>(0,ft.jsx)(y.Label,{className:N("py-1.5 pl-8 pr-2 text-sm font-semibold",e),ref:o,...t}));Qo.displayName=y.Label.displayName;var he=de.forwardRef(({children:e,className:t,...o},r)=>(0,ft.jsxs)(y.Item,{className:N("relative flex w-full cursor-default select-none items-center rounded py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),ref:r,...o,children:[(0,ft.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,ft.jsx)(y.ItemIndicator,{children:(0,ft.jsx)(J.Check,{className:"h-4 w-4"})})}),(0,ft.jsx)(y.ItemText,{children:e})]}));he.displayName=y.Item.displayName;var Yo=de.forwardRef(({className:e,...t},o)=>(0,ft.jsx)(y.Separator,{className:N("-mx-1 my-1 h-px bg-muted",e),ref:o,...t}));Yo.displayName=y.Separator.displayName;var Ut=require("@payloadcms/richtext-lexical/lexical/react/LexicalAutoFocusPlugin"),Wt=require("@payloadcms/richtext-lexical/lexical/react/LexicalComposer"),Zt=require("@payloadcms/richtext-lexical/lexical/react/LexicalContentEditable"),qt=require("@payloadcms/richtext-lexical/lexical/react/LexicalErrorBoundary"),Xt=require("@payloadcms/richtext-lexical/lexical/react/LexicalHistoryPlugin"),Jt=require("@payloadcms/richtext-lexical/lexical/react/LexicalRichTextPlugin"),Qt=require("@payloadcms/richtext-lexical/lexical/react/LexicalListPlugin"),Ve=require("@payloadcms/richtext-lexical/lexical/list"),Yt=require("@payloadcms/richtext-lexical/lexical/rich-text"),eo=require("@payloadcms/richtext-lexical/lexical/react/LexicalOnChangePlugin");var $t=require("@payloadcms/richtext-lexical/lexical/react/LexicalComposerContext"),Ft=require("@payloadcms/richtext-lexical/lexical/utils"),S=require("@payloadcms/richtext-lexical/lexical"),et=require("@payloadcms/richtext-lexical/lexical/selection");var er=()=>(0,ft.jsx)("svg",{"aria-hidden":"true",className:"icon",fill:"currentColor",focusable:"false",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:(0,ft.jsx)("path",{ft:"M10.6772 15H6.27017V5.718H10.4172C12.6792 5.718 13.8492 6.602 13.8492 8.292C13.8492 9.098 13.1992 9.982 12.4712 10.216C13.3812 10.476 14.1742 11.256 14.1742 12.322C14.1742 14.09 12.9002 15 10.6772 15ZM8.46717 9.501H10.3262C11.3012 9.501 11.7042 9.046 11.7042 8.409C11.7042 7.72 11.2362 7.317 10.3392 7.317H8.46717V9.501ZM8.46717 11.061V13.401H10.4822C11.4702 13.401 11.9642 12.959 11.9642 12.218C11.9642 11.49 11.4702 11.061 10.4822 11.061H8.46717Z",fill:"currentColor"})}),St=er;var tr=()=>(0,ft.jsx)("svg",{"aria-hidden":"true",className:"",fill:"currentColor",focusable:"false",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:(0,ft.jsx)("path",{ft:"M11.311 14.2969L11.0327 15H6.18408L6.4624 14.2969C7.54639 14.2969 7.70752 14.209 7.83936 13.8721L10.8423 6.45996C10.8716 6.38672 10.8862 6.32812 10.8862 6.26953C10.8862 6.09375 10.6519 6.03516 9.80225 6.03516L10.0952 5.33203H14.9438L14.6509 6.03516C13.5669 6.03516 13.4204 6.12305 13.2886 6.45996L10.2856 13.8721C10.2563 13.9453 10.2271 14.0039 10.2271 14.0625C10.2271 14.2383 10.4614 14.2969 11.311 14.2969Z",fill:"currentColor"})}),Rt=tr;var or=()=>(0,ft.jsxs)("svg",{"aria-hidden":"true",className:"icon",fill:"currentColor",focusable:"false",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[(0,ft.jsx)("path",{ft:"M13.9656 11.256C13.9656 13.791 12.5096 15.156 10.0006 15.156C7.50461 15.156 6.03561 13.791 6.03561 11.23V5.718H7.76461V11.243C7.76461 12.868 8.50561 13.778 10.0006 13.778C11.4956 13.778 12.2496 12.868 12.2496 11.243V5.718H13.9656V11.256Z",fill:"currentColor"}),(0,ft.jsx)("path",{ft:"M5.09961 16.3H14.9016V16.95H5.09961V16.3Z",fill:"currentColor"})]}),Pt=or;var rr=()=>(0,ft.jsxs)("svg",{"aria-hidden":"true",className:"",fill:"currentColor",focusable:"false",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[(0,ft.jsx)("path",{ft:"M5.50756 12.76H7.42756C7.56256 14.215 8.82256 14.71 10.1576 14.71C11.4326 14.71 12.4226 14.14 12.4226 13.06C12.4226 12.28 11.9576 11.845 10.6676 11.605L8.70256 11.245C7.12756 10.96 5.85256 10.21 5.85256 8.335C5.85256 6.43 7.53256 5.11 9.87256 5.11C12.4226 5.11 13.9526 6.22 14.1626 8.23H12.2876C12.1526 7.18 11.2226 6.595 9.88756 6.595C8.59756 6.595 7.78756 7.27 7.78756 8.215C7.78756 9.1 8.34256 9.385 9.49756 9.61L11.5676 10.015C13.3226 10.345 14.3726 11.215 14.3726 12.94C14.3726 14.89 12.5876 16.18 10.2176 16.18C7.66756 16.18 5.70256 15.115 5.50756 12.76Z",fill:"currentColor"}),(0,ft.jsx)("path",{ft:"M4.99756 11.44H15.0026V12.19H4.99756V11.44Z",fill:"currentColor"})]}),Mt=rr;var nr=()=>(0,ft.jsx)("svg",{"aria-hidden":"true",className:"icon",fill:"currentColor",focusable:"false",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:(0,ft.jsx)("path",{ft:"M10.167 15L7.45002 11.36L4.73302 15H2.91302L6.55302 10.177L3.23802 5.718H5.20102L7.54102 8.89L9.89402 5.718H11.714L8.43802 10.06L12.13 15H10.167ZM16.7768 13.258C16.7768 14.155 16.1398 14.532 15.2038 15C14.5538 15.325 14.2808 15.546 14.2418 15.78H16.7898V16.82H12.7208V16.339C12.7208 15.286 13.5918 14.675 14.3588 14.233C15.0868 13.83 15.4378 13.635 15.4378 13.232C15.4378 12.894 15.2038 12.686 14.8268 12.686C14.3848 12.686 14.1248 13.024 14.1118 13.427H12.7468C12.8248 12.426 13.5528 11.633 14.8398 11.633C15.9448 11.633 16.7768 12.257 16.7768 13.258Z",fill:"currentColor"})}),kt=nr;var ar=()=>(0,ft.jsx)("svg",{"aria-hidden":"true",className:"icon",fill:"currentColor",focusable:"false",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:(0,ft.jsx)("path",{ft:"M10.167 15L7.45002 11.36L4.73302 15H2.91302L6.55302 10.177L3.23802 5.718H5.20102L7.54102 8.89L9.89402 5.718H11.714L8.43802 10.06L12.13 15H10.167ZM16.7768 7.252C16.7768 8.149 16.1398 8.526 15.2038 8.994C14.5538 9.319 14.2808 9.54 14.2418 9.774H16.7898V10.814H12.7208V10.333C12.7208 9.28 13.5918 8.669 14.3588 8.227C15.0868 7.824 15.4378 7.629 15.4378 7.226C15.4378 6.888 15.2038 6.68 14.8268 6.68C14.3848 6.68 14.1248 7.018 14.1118 7.421H12.7468C12.8248 6.42 13.5528 5.627 14.8398 5.627C15.9448 5.627 16.7768 6.251 16.7768 7.252Z",fill:"currentColor"})}),Dt=ar;var Tt=()=>(0,ft.jsx)("svg",{"aria-hidden":"true",className:"w-5 size-5",fill:"currentColor",focusable:"false",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:(0,ft.jsx)("path",{ft:"M11.708 14.5H7.79785V13.9414H8.01367C9.00391 13.9414 9.15625 13.9033 9.15625 13.6113V6.70508H8.07715C6.82031 6.70508 6.73145 7.08594 6.28711 8.67285H5.80469L5.91895 6.12109H13.5869L13.7012 8.67285H13.2188C12.7744 7.08594 12.6855 6.70508 11.4287 6.70508H10.3496V13.6113C10.3496 13.9033 10.502 13.9414 11.4922 13.9414H11.708V14.5Z",fill:"currentColor"})}),It=()=>(0,ft.jsx)("svg",{"aria-hidden":"true",className:"w-5 size-5",fill:"none",focusable:"false",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:(0,ft.jsx)("path",{ft:"M4.639 13.5V7.074H6.196V9.648H9.076V7.074H10.642V13.5H9.076V10.836H6.196V13.5H4.639ZM11.5656 9.045V8.019C12.6636 8.019 13.1316 7.731 13.2846 7.065H14.4006V13.5H12.8436V9.045H11.5656Z",fill:"currentColor"})}),Ht=()=>(0,ft.jsx)("svg",{"aria-hidden":"true",className:"w-5 size-5",fill:"none",focusable:"false",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:(0,ft.jsx)("path",{ft:"M4.139 13.5V7.074H5.696V9.648H8.576V7.074H10.142V13.5H8.576V10.836H5.696V13.5H4.139ZM15.9796 8.973C15.9796 10.116 15.1696 10.656 14.0356 11.232C13.2256 11.646 12.8206 11.943 12.7846 12.294H15.9886V13.5H11.0566V12.951C11.0566 11.601 12.1636 10.845 13.1176 10.287C14.0356 9.756 14.5126 9.486 14.5126 8.946C14.5126 8.46 14.2156 8.145 13.6306 8.145C13.0186 8.145 12.6586 8.613 12.6226 9.198H11.1196C11.2186 7.947 12.1006 6.966 13.6396 6.966C15.0346 6.966 15.9796 7.785 15.9796 8.973Z",fill:"currentColor"})}),At=()=>(0,ft.jsx)("svg",{"aria-hidden":"true",className:"w-5 size-5",fill:"none",focusable:"false",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:(0,ft.jsx)("path",{ft:"M4.139 13.5V7.074H5.696V9.648H8.576V7.074H10.142V13.5H8.576V10.836H5.696V13.5H4.139ZM16.1146 11.745C16.1146 12.744 15.2236 13.608 13.6126 13.608C12.0736 13.608 11.0926 12.762 10.9846 11.547H12.4696C12.5146 12.114 13.0006 12.456 13.6126 12.456C14.2876 12.456 14.6746 12.132 14.6746 11.619C14.6746 11.061 14.2426 10.836 13.6216 10.836H12.9826V9.738H13.6036C14.1526 9.738 14.5486 9.486 14.5486 8.937C14.5486 8.46 14.2156 8.127 13.6486 8.127C13.0366 8.127 12.6586 8.514 12.6226 9.045H11.1916C11.2726 7.929 12.1276 6.966 13.6666 6.966C15.1876 6.966 15.9706 7.848 15.9706 8.865C15.9706 9.603 15.5026 10.143 14.8186 10.269C15.6196 10.404 16.1146 10.971 16.1146 11.745Z",fill:"currentColor"})}),Lt=()=>(0,ft.jsx)("svg",{"aria-hidden":"true",className:"w-5 size-5",fill:"none",focusable:"false",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:(0,ft.jsx)("path",{ft:"M3.639 13.5V7.074H5.196V9.648H8.076V7.074H9.642V13.5H8.076V10.836H5.196V13.5H3.639ZM15.1736 7.074V10.854H16.3706V12.033H15.1736V13.5H13.6796V12.033H10.5116V10.845L13.4996 7.074H15.1736ZM13.6796 8.46L11.8256 10.854H13.6796V8.46Z",fill:"currentColor"})});var re=j(require("react")),C=j(require("@radix-ui/react-dropdown-menu")),ve=require("@radix-ui/react-icons");var He=C.Root,Ae=C.Trigger;var Et=re.forwardRef(({className:e,inset:t,children:o,...r},i)=>(0,ft.jsxs)(C.SubTrigger,{ref:i,className:N("flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",t&&"pl-8",e),...r,children:[o,(0,ft.jsx)(ve.ChevronRightIcon,{className:"ml-auto"})]}));Et.displayName=C.SubTrigger.displayName;var Vt=re.forwardRef(({className:e,...t},o)=>(0,ft.jsx)(C.SubContent,{ref:o,className:N("ft-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...t}));Vt.displayName=C.SubContent.displayName;var Se=re.forwardRef(({className:e,sideOffset:t=4,...o},r)=>(0,ft.jsx)(C.Portal,{children:(0,ft.jsx)(C.Content,{ref:r,sideOffset:t,className:N("ft-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...o})}));Se.displayName=C.Content.displayName;var Re=re.forwardRef(({className:e,inset:t,...o},r)=>(0,ft.jsx)(C.Item,{ref:r,className:N("relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&>svg]:size-4 [&>svg]:shrink-0",t&&"pl-8",e),...o}));Re.displayName=C.Item.displayName;var zt=re.forwardRef(({className:e,children:t,checked:o,...r},i)=>(0,ft.jsxs)(C.CheckboxItem,{ref:i,className:N("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),checked:o,...r,children:[(0,ft.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,ft.jsx)(C.ItemIndicator,{children:(0,ft.jsx)(ve.CheckIcon,{className:"h-4 w-4"})})}),t]}));zt.displayName=C.CheckboxItem.displayName;var Bt=re.forwardRef(({className:e,children:t,...o},r)=>(0,ft.jsxs)(C.RadioItem,{ref:r,className:N("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...o,children:[(0,ft.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,ft.jsx)(C.ItemIndicator,{children:(0,ft.jsx)(ve.DotFilledIcon,{className:"h-4 w-4 fill-current"})})}),t]}));Bt.displayName=C.RadioItem.displayName;var Kt=re.forwardRef(({className:e,inset:t,...o},r)=>(0,ft.jsx)(C.Label,{ref:r,className:N("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",e),...o}));Kt.displayName=C.Label.displayName;var Ot=re.forwardRef(({className:e,...t},o)=>(0,ft.jsx)(C.Separator,{ref:o,className:N("-mx-1 my-1 h-px bg-muted",e),...t}));Ot.displayName=C.Separator.displayName;var _t=({className:e,...t})=>(0,ft.jsx)("span",{className:N("ml-auto text-xs tracking-widest opacity-60",e),...t});_t.displayName="DropdownMenuShortcut";var Gt=j(require("react")),X=j(require("@radix-ui/react-tooltip"));var Xe=X.Provider,Je=X.Root,Qe=X.Trigger,Le=Gt.forwardRef(({className:e,sideOffset:t=4,...o},r)=>(0,ft.jsx)(X.Portal,{children:(0,ft.jsx)(X.Content,{ref:r,sideOffset:t,className:N("ft-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...o})}));Le.displayName=X.Content.displayName;var Ye=1;function ir(){return(0,ft.jsx)("span",{className:"border border-[#222222]"})}function tt(){let[e]=(0,$t.useLexicalComposerContext)(),t=(0,ee.useRef)(null),[o,r]=(0,ee.useState)(!1),[i,n]=(0,ee.useState)(!1),[s,a]=(0,ee.useState)(!1),[v,f]=(0,ee.useState)(!1),[M,H]=(0,ee.useState)(!1),[D,w]=(0,ee.useState)(!1),[R,T]=(0,ee.useState)(!1),[p,g]=(0,ee.useState)(!1),[c,x]=(0,ee.useState)(!1),[k,$]=(0,ee.useState)("left"),[V,O]=(0,ee.useState)("p"),F=b=>{e.update(()=>{let K=(0,S.$getSelection)();(0,S.$isRangeSelection)(K)&&(b==="p"?(0,et.$setBlocksType)(K,()=>(0,S.$createParagraphNode)()):(0,et.$setBlocksType)(K,()=>(0,Yt.$createHeadingNode)(b)))})},U=(0,ee.useCallback)(()=>{let b=(0,S.$getSelection)();if((0,S.$isRangeSelection)(b)){a(b.hasFormat("bold")),f(b.hasFormat("italic")),H(b.hasFormat("underline")),w(b.hasFormat("strikethrough")),T(b.hasFormat("subscript")),g(b.hasFormat("superscript"));let K=b.anchor.getNode(),_=K;for(;_&&!(0,S.$isParagraphNode)(_)&&_!==(0,S.$getRoot)();){let Q=_.getParent();Q&&(_=Q)}if(_){let Q=_.getFormatType();$(Q||"left")}let ce=K.getTopLevelElement()?.__tag;O(ce||"p")}},[]);(0,ee.useEffect)(()=>(0,Ft.mergeRegister)(e.registerUpdateListener(({editorState:b})=>{b.read(()=>{U()})}),e.registerCommand(S.SELECTION_CHANGE_COMMAND,(b,K)=>(U(),!1),Ye),e.registerCommand(S.CAN_UNDO_COMMAND,b=>(r(b),!1),Ye),e.registerCommand(S.CAN_REDO_COMMAND,b=>(n(b),!1),Ye)),[e,U]);let B=[[{label:"Undo",icon:(0,ft.jsx)(J.RotateCcw,{width:15,height:15}),onClick:()=>{e.dispatchCommand(S.UNDO_COMMAND,void 0)},disabled:!o},{label:"Redo",icon:(0,ft.jsx)(J.RotateCw,{width:15,height:15}),onClick:()=>{e.dispatchCommand(S.UNDO_COMMAND,void 0)},disabled:!i}],[{label:"Bold",icon:(0,ft.jsx)(St,{}),onClick:()=>{e.dispatchCommand(S.FORMAT_TEXT_COMMAND,"bold")},value:"bold",active:s},{label:"Italic",icon:(0,ft.jsx)(Rt,{}),onClick:()=>{e.dispatchCommand(S.FORMAT_TEXT_COMMAND,"italic")},value:"italic",active:v},{label:"Underline",icon:(0,ft.jsx)(Pt,{}),onClick:()=>{e.dispatchCommand(S.FORMAT_TEXT_COMMAND,"underline")},value:"underline",active:M},{label:"Strikethrough",icon:(0,ft.jsx)(Mt,{}),onClick:()=>{e.dispatchCommand(S.FORMAT_TEXT_COMMAND,"strikethrough")},value:"strikethrough",active:D},{label:"Subscript",icon:(0,ft.jsx)(kt,{}),onClick:()=>{e.dispatchCommand(S.FORMAT_TEXT_COMMAND,"subscript")},value:"subscript",active:R},{label:"Superscript",icon:(0,ft.jsx)(Dt,{}),onClick:()=>{e.dispatchCommand(S.FORMAT_TEXT_COMMAND,"superscript")},value:"superscript",active:p}]],Z=[{label:"Left Align",direction:"left",icon:(0,ft.jsx)(J.AlignLeft,{width:15,height:15}),onClick:()=>{e.dispatchCommand(S.FORMAT_ELEMENT_COMMAND,"left")}},{label:"Center Align",direction:"center",icon:(0,ft.jsx)(J.AlignCenter,{width:15,height:15}),onClick:()=>{e.dispatchCommand(S.FORMAT_ELEMENT_COMMAND,"center")}},{label:"Right Align",direction:"right",icon:(0,ft.jsx)(J.AlignRight,{width:15,height:15}),onClick:()=>{e.dispatchCommand(S.FORMAT_ELEMENT_COMMAND,"right")}},{label:"Justify Align",direction:"justify",icon:(0,ft.jsx)(J.AlignJustify,{width:15,height:15}),onClick:()=>{e.dispatchCommand(S.FORMAT_ELEMENT_COMMAND,"justify")}}],fe=[{label:"Normal Text",value:"p",icon:(0,ft.jsx)(Tt,{}),onClick:()=>F("p")},{label:"Heading 1",value:"h1",icon:(0,ft.jsx)(It,{}),onClick:()=>F("h1")},{label:"Heading 2",value:"h2",icon:(0,ft.jsx)(Ht,{}),onClick:()=>F("h2")},{label:"Heading 3",value:"h3",icon:(0,ft.jsx)(At,{}),onClick:()=>F("h3")},{label:"Heading 4",value:"h4",icon:(0,ft.jsx)(Lt,{}),onClick:()=>F("h4")},...[{label:"Unordered List",value:"ul",icon:(0,ft.jsx)(J.List,{width:15,height:15}),onClick:()=>{e.dispatchCommand(Ve.INSERT_UNORDERED_LIST_COMMAND,void 0)}},{label:"Ordered List",value:"ol",icon:(0,ft.jsx)(J.ListOrdered,{width:15,height:15}),onClick:()=>{e.dispatchCommand(Ve.INSERT_ORDERED_LIST_COMMAND,void 0)}}]],xe=[{label:"Insert Image",icon:(0,ft.jsx)(J.ImageUp,{width:15,height:15}),onClick:()=>{x(!0)},disabled:!1}];return(0,ft.jsx)("div",{className:"flex justify-between border border-[#222222] py-2 px-2",children:(0,ft.jsxs)("div",{className:"flex gap-2 ",ref:t,children:[B.map((b,K)=>(0,ft.jsxs)(ee.Fragment,{children:[(0,ft.jsx)("div",{className:"flex items-center gap-2",children:b.map((_,ce)=>(0,ft.jsx)("div",{role:"button","aria-disabled":_.disabled||!1,onClick:_.onClick,className:N("p-1 transition-all flex items-center justify-center rounded hover:bg-[#3c3c3c] focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-[#3a3a3a] focus:ring-[#3c3c3c]",_.active&&"bg-[#3c3c3c]"),"aria-label":_.label,children:(0,ft.jsx)(Xe,{children:(0,ft.jsxs)(Je,{children:[(0,ft.jsx)(Qe,{className:"text-[#b5b5b5]",children:_.icon}),(0,ft.jsx)(Le,{children:(0,ft.jsx)("p",{children:_.label})})]})})},ce))}),(0,ft.jsx)(ir,{})]},`toolbar-option-${b.length}-${K}`)),(0,ft.jsxs)(He,{children:[(0,ft.jsxs)(Ae,{className:"flex items-center justify-center gap-2 px-2 py-1 rounded hover:bg-[#3c3c3c] focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-[#3a3a3a] focus:ring-[#3c3c3c] text-[#b5b5b5] text-xs",children:[Z.find(b=>b.direction===k)?.icon,Z.find(b=>b.direction===k)?.label,(0,ft.jsx)(J.ChevronDown,{width:15,height:15})]}),(0,ft.jsx)(Se,{className:"bg-black hover:bg-black",children:Z.map((b,K)=>(0,ft.jsxs)(Re,{onClick:b.onClick,className:"flex items-center gap-2 text-xs text-[#b5b5b5] hover:bg-[#3c3c3c] focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-[#3a3a3a] focus:ring-[#3c3c3c]",children:[(0,ft.jsx)("span",{children:b.icon}),(0,ft.jsx)("span",{children:b.label})]},`${b.label}-${K}`))})]}),(0,ft.jsxs)(He,{children:[(0,ft.jsxs)(Ae,{className:"flex items-center justify-center gap-2 px-2 py-1 rounded hover:bg-[#3c3c3c] focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-[#3a3a3a] focus:ring-[#3c3c3c] text-[#b5b5b5] text-xs",children:[fe.find(b=>b.value===V)?.icon,fe.find(b=>b.value===V)?.label,(0,ft.jsx)(J.ChevronDown,{width:15,height:15})]}),(0,ft.jsx)(Se,{className:"bg-black hover:bg-black",children:fe.map((b,K)=>(0,ft.jsxs)(Re,{onClick:b.onClick,className:"flex items-center gap-2 text-xs text-[#b5b5b5] hover:bg-[#3c3c3c] focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-[#3a3a3a] focus:ring-[#3c3c3c]",children:[(0,ft.jsx)("span",{children:b.icon}),(0,ft.jsx)("span",{children:b.label})]},`heading-option-${b.label}-${K}`))})]})]})})}var sr=({setValue:e,value:t,name:o,editable:r=!0})=>{let[i]=(0,$t.useLexicalComposerContext)(),n=s=>{s.read(()=>{let a=s.toJSON();e?.(()=>a)})};return(0,ee.useEffect)(()=>{t&&i.update(()=>{i.setEditorState(i.parseEditorState(t))})},[]),(0,ft.jsx)("div",{className:"w-full px-10",children:(0,ft.jsxs)("div",{className:" ",children:[r&&(0,ft.jsx)(tt,{}),(0,ft.jsxs)("div",{className:"px-4 my-4 border-ft border-[#222222]",children:[(0,ft.jsx)(Jt.RichTextPlugin,{contentEditable:(0,ft.jsx)(Zt.ContentEditable,{name:o,className:"focus:outline-none focus:ring-0 focus-visible:outline-none min-h-40"}),ErrorBoundary:qt.LexicalErrorBoundary}),r&&(0,ft.jsxs)(ft.Fragment,{children:[(0,ft.jsx)(Xt.HistoryPlugin,{}),(0,ft.jsx)(Ut.AutoFocusPlugin,{}),(0,ft.jsx)(Qt.ListPlugin,{}),(0,ft.jsx)(eo.OnChangePlugin,{onChange:n})]})]})]})})},lr=({setValue:e,value:t,name:o,editable:r=!0})=>(0,ft.jsx)(Wt.LexicalComposer,{initialConfig:{namespace:"Lexical editor",nodes:[Ve.ListNode,Ve.ListItemNode,Yt.HeadingNode],onError(n){throw console.error("Lexical error:",n),n},theme:{code:"editor-code",heading:{h1:"text-4xl",h2:"text-3xl",h3:"text-2xl",h4:"text-lg",h5:"text-sm"},image:"editor-image",link:"editor-link",list:{listitem:"editor-listitem",nested:{listitem:"editor-nested-listitem"},ol:"list-decimal",ul:"list-disc"},ltr:"ltr",paragraph:"editor-paragraph",placeholder:"editor-placeholder",quote:"editor-quote",rtl:"rtl",text:{bold:"editor-text-bold font-bold",code:"editor-text-code",hashtag:"editor-text-hashtag",italic:"editor-text-italic italic",overflowed:"editor-text-overflowed",strikethrough:"editor-text-strikethrough line-through",underline:"editor-text-underline underline",underlineStrikethrough:"underline line-through"}}},children:(0,ft.jsx)(sr,{value:t,setValue:e,name:o,editable:r})}),ze=lr;function no({document:e,onSave:t,mode:o="edit",onCancel:r,availableDocuments:i=[],knowledgeContexts:n=[]}){let[s,a]=(0,ee.useState)({...e,updatedAt:new Date}),[v,f]=(0,ee.useState)(s.richTextContent);(0,ee.useEffect)(()=>{a(e)},[e]);let M=()=>{let c=new Set,x=new Set;return n.forEach(k=>{k.menuConfig.groupBy.forEach($=>c.add($))}),i.forEach(k=>{k.metadata&&Object.keys(k.metadata).forEach($=>x.add($))}),{contextKeys:Array.from(c).sort(),documentKeys:Array.from(x).sort(),allKeys:Array.from(new Set([...c,...x])).sort()}},H=c=>{let x=new Set;return i.forEach(k=>{k.metadata?.[c]&&x.add(String(k.metadata[c]))}),Array.from(x).sort()},D=M(),w=()=>{t({...s,richTextContent:v})},R=(c,x)=>{a(k=>({...k,metadata:{...k.metadata,[c]:x}}))},T=(c,x)=>{x==="__custom__"?R(c,""):R(c,x)},p=()=>{R("","")},g=c=>{a(x=>{let k={...x.metadata};return delete k[c],{...x,metadata:k}})};return(0,ft.jsxs)(pe.motion.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.3},className:"h-full flex flex-col",children:[(0,ft.jsxs)("div",{className:"border-b border-border bg-card p-8",children:[(0,ft.jsxs)("div",{className:"flex items-start justify-between gap-4 mb-6",children:[(0,ft.jsxs)("div",{className:"flex items-center gap-3",children:[(0,ft.jsx)("div",{className:"flex-shrink-0 p-3 rounded-xl bg-primary/10 border border-primary/20",children:(0,ft.jsx)(J.Edit3,{className:"h-6 w-6 text-primary"})}),(0,ft.jsx)("h1",{className:"text-2xl font-bold text-foreground",children:o==="edit"?"Edit Document":"Create Document"})]}),(0,ft.jsxs)("div",{className:"flex gap-2",children:[(0,ft.jsxs)(le,{variant:"outline",size:"sm",onClick:r,className:"gap-2",children:[(0,ft.jsx)(J.X,{className:"h-4 w-4"}),"Cancel"]}),(0,ft.jsxs)(le,{size:"sm",onClick:w,className:"gap-2",children:[(0,ft.jsx)(J.Save,{className:"h-4 w-4"}),"Save Changes"]})]})]}),(0,ft.jsxs)("div",{className:"space-y-4",children:[(0,ft.jsxs)("div",{children:[(0,ft.jsx)("label",{className:"block text-sm font-medium text-foreground mb-2",children:"Title"}),(0,ft.jsx)(me,{value:s.title,onChange:c=>a(x=>({...x,title:c.target.value})),className:"text-lg font-semibold",placeholder:"Document title..."})]}),(0,ft.jsxs)("div",{children:[(0,ft.jsx)("label",{className:"block text-sm font-medium text-foreground mb-2",children:"Description"}),(0,ft.jsx)(De,{value:s.description||"",onChange:c=>a(x=>({...x,description:c.target.value})),placeholder:"Document description...",rows:2})]}),(0,ft.jsxs)("div",{children:[(0,ft.jsxs)("div",{className:"flex items-center justify-between mb-3",children:[(0,ft.jsxs)("div",{children:[(0,ft.jsx)("label",{className:"block text-sm font-medium text-foreground",children:"Metadata"}),D.contextKeys.length>0&&(0,ft.jsxs)("p",{className:"text-xs text-muted-foreground",children:["Suggested: ",D.contextKeys.slice(0,4).join(", "),D.contextKeys.length>4&&` +${D.contextKeys.length-4}`]})]}),(0,ft.jsxs)(le,{type:"button",variant:"outline",size:"sm",onClick:p,className:"gap-1 h-8",children:[(0,ft.jsx)(J.Plus,{className:"h-3 w-3"}),"Add"]})]}),s.metadata&&Object.keys(s.metadata).length>0?(0,ft.jsx)("div",{className:"space-y-2",children:Object.entries(s.metadata).map(([c,x],k)=>{let $=H(c);return(0,ft.jsxs)("div",{className:"flex gap-2 items-center",children:[(0,ft.jsx)(me,{value:c,onChange:V=>{let O=V.target.value||"",F=s.metadata?.[c];a(U=>{let B={...U.metadata};return delete B[c],O&&(B[O]=F||""),{...U,metadata:B}})},placeholder:"Key",className:"w-32 h-8 text-sm",list:`metadata-keys-${c}`}),(0,ft.jsx)("datalist",{id:`metadata-keys-${c}`,children:D.allKeys.map(V=>(0,ft.jsx)("option",{value:V},V))}),(0,ft.jsx)("span",{className:"text-muted-foreground text-sm",children:"="}),$.length>0?(0,ft.jsxs)($e,{value:String(x||""),onValueChange:V=>T(c,V),children:[(0,ft.jsx)(Te,{className:"flex-1 h-8 text-sm",children:(0,ft.jsx)(Fe,{placeholder:"Value"})}),(0,ft.jsxs)(Ie,{children:[$.map(V=>(0,ft.jsx)(he,{value:V,children:V},V)),(0,ft.jsx)(he,{value:"__custom__",children:(0,ft.jsx)("span",{className:"text-muted-foreground text-xs",children:"Custom..."})})]})]}):(0,ft.jsx)(me,{value:String(x||""),onChange:V=>R(c,V.target.value),placeholder:"Value",className:"flex-1 h-8 text-sm"}),(0,ft.jsx)(le,{type:"button",variant:"ghost",size:"sm",onClick:()=>g(c),className:"h-8 w-8 p-0 text-muted-foreground hover:text-destructive",children:(0,ft.jsx)(J.X,{className:"h-3 w-3"})})]},`metadata-key-${k}`)})}):(0,ft.jsx)("div",{className:"text-center py-3 border border-dashed border-border rounded-lg bg-muted/20",children:(0,ft.jsx)("p",{className:"text-xs text-muted-foreground",children:'No metadata \u2022 Click "Add" ee create fields'})})]}),(0,ft.jsxs)("div",{className:"flex items-center gap-2",children:[(0,ft.jsx)("span",{className:"text-sm font-medium text-foreground",children:"Format"}),(0,ft.jsxs)($e,{value:s.format,onValueChange:c=>a(x=>({...x,format:c})),children:[(0,ft.jsx)(Te,{className:"flex-1 h-8 text-sm",children:(0,ft.jsx)(Fe,{placeholder:"Format"})}),(0,ft.jsxs)(Ie,{children:[(0,ft.jsx)(he,{value:"markdown",children:"Markdown"}),(0,ft.jsx)(he,{value:"richText",children:"Rich Text"})]})]})]})]})]}),(0,ft.jsx)("div",{className:"flex-1 overflow-auto",children:(0,ft.jsxs)("div",{className:"p-8",children:[(0,ft.jsx)("label",{className:"block text-sm font-medium text-foreground mb-4",children:"Content"}),s.format==="richText"?(0,ft.jsx)(ze,{setValue:f,value:v,name:"richTextContent"}):(0,ft.jsx)(De,{value:s.content||"",onChange:c=>a(x=>({...x,content:c.target.value})),placeholder:"Document content...",className:"min-h-[400px] font-mono text-sm",style:{resize:"vertical"}})]})})]})}var so=j(require("react-markdown")),lo=j(require("remark-gfm"));var co=e=>(0,ft.jsx)(so.default,{remarkPlugins:[lo.default],components:{h1:({children:t})=>(0,ft.jsx)("h1",{className:"text-2xl font-bold",children:t}),h2:({children:t})=>(0,ft.jsx)("h2",{className:"text-xl font-bold",children:t}),h3:({children:t})=>(0,ft.jsx)("h3",{className:"text-lg font-bold",children:t}),h4:({children:t})=>(0,ft.jsx)("h4",{className:"text-base font-bold",children:t}),ol:({children:t})=>(0,ft.jsx)("ol",{className:"list-decimal",children:t}),ul:({children:t})=>(0,ft.jsx)("ul",{className:"list-disc",children:t}),li:({children:t})=>(0,ft.jsx)("li",{className:"ml-4",children:t}),p:({children:t})=>(0,ft.jsx)("p",{className:"mb-4",children:t}),a:({children:t,href:o})=>(0,ft.jsx)("a",{href:o,className:"text-blue-500",children:t}),img:({src:t,alt:o})=>(0,ft.jsx)("img",{src:t,alt:o,className:"mb-4"}),blockquote:({children:t})=>(0,ft.jsx)("blockquote",{className:"border-ft-4 border-gray-300 pl-4 mb-4",children:t})},children:e}),ao=e=>(0,ft.jsx)("div",{className:"whitespace-pre-wrap font-mono text-sm leading-relaxed",children:e}),dr=e=>(0,ft.jsx)("div",{className:"prose prose-slate dark:prose-invert max-w-none",children:e&&(0,ft.jsx)(ze,{value:JSON.stringify(e),editable:!1,name:"richTextContent"})}),cr=e=>(0,ft.jsxs)("div",{className:"prose prose-slate dark:prose-invert max-w-none",children:[(0,ft.jsx)("div",{className:"bg-blue-50 dark:bg-blue-950/20 border border-blue-200 dark:border-blue-800 rounded-lg p-4 mb-4",children:(0,ft.jsxs)("p",{className:"text-blue-800 dark:text-blue-200 text-sm",children:[(0,ft.jsx)("strong",{children:"MDX Renderer:"})," This is a placeholder. Integrate with @mdx-js/react for full MDX rendering."]})}),co(e)]});function mo({document:e,onDocumentUpdate:t,editable:o=!0,mode:r="view",renderers:i,availableDocuments:n=[],knowledgeContexts:s=[]}){let[a,v]=(0,ee.useState)(!1),[f,M]=(0,ee.useState)(e);(0,ee.useEffect)(()=>{M(e)},[e]);let H=p=>{switch(p){case"markdown":case"mdx":return(0,ft.jsx)(J.FileText,{className:"h-6 w-6 text-primary"});case"richText":return(0,ft.jsx)(J.File,{className:"h-6 w-6 text-success"});case"text":return(0,ft.jsx)(J.Type,{className:"h-6 w-6 text-muted-foreground"});default:return(0,ft.jsx)(J.File,{className:"h-6 w-6 text-muted-foreground"})}},D=p=>{switch(p){case"markdown":return"bg-primary/10 text-primary border-primary/20";case"mdx":return"bg-secondary/10 text-secondary border-secondary/20";case"richText":return"bg-success/10 text-success border-success/20";case"text":return"bg-muted/50 text-muted-foreground border-muted-foreground/20";default:return"bg-muted text-muted-foreground border-border"}},w=(p,g)=>{let c={markdown:co,mdx:cr,text:ao},x=i?.[g]||c[g];if(g==="richText"&&typeof p=="object")return dr(p);if(x&&typeof p=="string")return x(p);if(typeof p=="string")return ao(p)},R=p=>{v(!1),t?.(p),M(p)},T=()=>{v(!1)};return a||r==="create"?(0,ft.jsx)(no,{mode:r==="create"?"create":"edit",document:f,onSave:R,onCancel:T,availableDocuments:n,knowledgeContexts:s}):(0,ft.jsxs)(pe.motion.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.3},className:"h-full flex flex-col",children:[(0,ft.jsxs)("div",{className:"border-b border-border bg-card p-8",children:[(0,ft.jsxs)("div",{className:"flex items-start justify-between gap-4 mb-4",children:[(0,ft.jsxs)("div",{className:"flex items-start gap-4 flex-1 min-w-0",children:[(0,ft.jsx)("div",{className:"flex-shrink-0 p-3 rounded-xl bg-muted border border-border",children:H(f.format)}),(0,ft.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,ft.jsx)("h1",{className:"text-2xl font-bold text-foreground mb-2 leading-tight",children:f.title}),f.description&&(0,ft.jsx)("p",{className:"text-muted-foreground text-lg leading-relaxed mb-4",children:f.description})]})]}),o&&(0,ft.jsx)("div",{className:"flex-shrink-0",children:(0,ft.jsxs)(le,{variant:"outline",size:"sm",onClick:()=>v(!0),className:"gap-2",children:[(0,ft.jsx)(J.Edit3,{className:"h-4 w-4"}),"Edit"]})})]}),(0,ft.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,ft.jsx)("span",{className:`inline-flex items-center px-3 py-1 rounded-full text-sm font-medium border ${D(f.format)}`,children:f.format.toUpperCase()}),f.tags?.map(p=>(0,ft.jsxs)("span",{className:"inline-flex items-center px-3 py-1 rounded-full text-sm bg-muted text-muted-foreground border border-border",children:["#",p]},p))]})]}),(0,ft.jsx)("div",{className:"flex-1 overflow-auto",children:(0,ft.jsxs)("div",{className:"p-8",children:[f.metadata&&Object.keys(f.metadata).length>0&&(0,ft.jsxs)("div",{className:"mb-6",children:[(0,ft.jsx)("h3",{className:"text-sm font-semibold text-foreground mb-2",children:"Metadata"}),(0,ft.jsx)("div",{className:"bg-muted rounded-lg p-3 border border-border",children:(0,ft.jsx)("div",{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-x-4 gap-y-1 text-xs",children:Object.entries(f.metadata).map(([p,g])=>(0,ft.jsxs)("div",{className:"flex gap-1",children:[(0,ft.jsxs)("span",{className:"text-muted-foreground font-medium",children:[p.replace(/([ft-Z])/g," $1").trim(),":"]}),(0,ft.jsx)("span",{className:"text-foreground truncate",children:String(g)})]},p))})})]}),(0,ft.jsx)("div",{className:"space-y-4",children:f.content||f.richTextContent?(0,ft.jsx)("div",{className:"relative",children:(0,ft.jsx)("div",{className:"bg-card border border-border rounded-xl p-6 overflow-hidden",children:w(f.format==="richText"?f.richTextContent:f.content,f.format)})}):(0,ft.jsxs)("div",{className:"text-center py-12 bg-muted rounded-xl border-2 border-dashed border-border",children:[(0,ft.jsx)("div",{className:"w-16 h-16 mx-auto mb-4 rounded-full bg-background flex items-center justify-center",children:(0,ft.jsx)(J.FileText,{className:"h-8 w-8 text-muted-foreground"})}),(0,ft.jsx)("h4",{className:"text-foreground font-medium mb-1",children:"No content available"}),(0,ft.jsx)("p",{className:"text-muted-foreground text-sm",children:"This document doesn't have preview content"})]})})]})})]})}function uo({label:e,documents:t,children:o,level:r,onDocumentClick:i,selectedDocumentId:n,showDocumentCount:s=!0}){let[a,v]=(0,ee.useState)(r===0),f=o&&Object.keys(o).length>0,M=t.length+(o?Object.values(o).reduce((w,R)=>w+R.documents.length,0):0),H=w=>{switch(w){case"markdown":case"mdx":return(0,ft.jsx)(J.FileText,{className:"h-3.5 w-3.5 text-muted-foreground"});case"richText":return(0,ft.jsx)(J.File,{className:"h-3.5 w-3.5 text-muted-foreground"});default:return(0,ft.jsx)(J.File,{className:"h-3.5 w-3.5 text-muted-foreground"})}},D=w=>{let R=["bg-primary","bg-secondary","bg-accent","bg-chart-1"];return R[w%R.length]};return(0,ft.jsxs)("div",{className:"space-y-1",children:[(f||t.length>0)&&(0,ft.jsxs)(pe.motion.div,{className:`group flex items-center gap-3 p-3 rounded-xl cursor-pointer transition-all duration-200 ${a?"bg-card shadow-sm border border-border":"hover:bg-muted/50 hover:shadow-sm"}`,style:{marginLeft:`${r*20}px`},onClick:()=>v(!a),whileHover:{scale:1.01},whileTap:{scale:.99},children:[(0,ft.jsx)("div",{className:`w-1 h-6 rounded-full ${D(r)}`}),(0,ft.jsx)(pe.motion.div,{animate:{rotate:a?90:0},transition:{duration:.2},className:"flex-shrink-0",children:(0,ft.jsx)(J.ChevronRight,{className:"h-4 w-4 text-muted-foreground"})}),(0,ft.jsxs)("div",{className:"flex-1 flex items-center justify-between min-w-0",children:[(0,ft.jsx)("div",{className:"flex items-center gap-2 min-w-0",children:(0,ft.jsx)("span",{className:"font-medium text-foreground truncate",children:e})}),s&&M>0&&(0,ft.jsx)("div",{className:"flex-shrink-0 ml-2",children:(0,ft.jsx)("span",{className:"inline-flex items-center justify-center w-6 h-6 text-xs font-medium bg-muted text-muted-foreground rounded-full",children:M})})]})]}),(0,ft.jsx)(pe.motion.div,{initial:!1,animate:{height:a?"auto":0,opacity:a?1:0},transition:{duration:.2,ease:"easeInOut"},className:"overflow-hidden",children:(0,ft.jsxs)("div",{className:"pt-2 space-y-1",children:[t.map((w,R)=>(0,ft.jsxs)(pe.motion.div,{initial:{opacity:0,x:-10},animate:{opacity:1,x:0},transition:{delay:R*.05,duration:.2},className:`group flex items-center gap-3 p-2.5 mx-2 rounded-lg cursor-pointer transition-all duration-150 ${n===w.id?"bg-primary/10 border-ft-2 border-primary shadow-sm":"hover:bg-muted/50 hover:translate-x-1"}`,style:{marginLeft:`${r*20+20}px`},onClick:()=>i?.(w),whileHover:{scale:1.01},whileTap:{scale:.99},children:[(0,ft.jsx)("div",{className:"flex-shrink-0",children:H(w.format)}),(0,ft.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,ft.jsx)("p",{className:`text-sm truncate transition-colors ${n===w.id?"text-primary font-medium":"text-foreground group-hover:text-foreground"}`,children:w.title}),w.description&&(0,ft.jsx)("p",{className:"text-xs text-muted-foreground truncate mt-0.5",children:w.description})]}),w.tags&&w.tags.length>0&&(0,ft.jsx)("div",{className:"flex-shrink-0",children:(0,ft.jsx)("span",{className:"inline-flex items-center px-2 py-1 rounded-md text-xs font-medium bg-muted text-muted-foreground group-hover:bg-muted/80 transition-colors",children:w.tags[0]})})]},w.id)),o&&Object.entries(o).map(([w,R])=>(0,ft.jsx)(uo,{label:w,documents:R.documents,children:R.children,level:r+1,onDocumentClick:i,selectedDocumentId:n,showDocumentCount:s},w))]})})]})}function mr({documents:e,menuConfig:t,onDocumentClick:o,onDocumentShare:r,onDocumentUpdate:i,selectedDocumentId:n,className:s,editable:a=!0}){let[v,f]=(0,ee.useState)(""),[M,H]=(0,ee.useState)(null),[D,w]=(0,ee.useState)(e);(0,ee.useEffect)(()=>{w(e)},[e]);let R=(0,ee.useMemo)(()=>v?D.filter(g=>g.title.toLowerCase().includes(v.toLowerCase())||g.description?.toLowerCase().includes(v.toLowerCase())||g.tags?.some(c=>c.toLowerCase().includes(v.toLowerCase()))||Object.values(g.metadata||{}).some(c=>String(c).toLowerCase().includes(v.toLowerCase()))):D,[D,v]),T=(0,ee.useMemo)(()=>{let g=(c,x)=>{if(x.length===0)return{};let[k,...$]=x;return c.reduce((O,F)=>{let U=F.metadata?.[k]||"Uncategorized",B=String(U);if(O[B]||(O[B]={documents:[],children:{}}),$.length===0)O[B].documents.push(F);else{let Z=g([F],$),P=Object.keys(Z)[0];P&&(O[B].children||(O[B].children={}),O[B].children[P]?O[B].children[P].documents.push(...Z[P].documents):O[B].children[P]=Z[P])}return O},{})};return g(R,t.groupBy)},[R,t.groupBy]),p=g=>{H(g),o?.(g)};return(0,ft.jsxs)("div",{className:`flex h-full ${s||""}`,children:[(0,ft.jsxs)("div",{className:"w-1/3 border-r border-border bg-muted/20",children:[(0,ft.jsx)("div",{className:"p-6 border-b border-border",children:(0,ft.jsxs)("div",{className:"relative",children:[(0,ft.jsx)("div",{className:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none",children:(0,ft.jsx)(J.Search,{className:"h-4 w-4 text-muted-foreground"})}),(0,ft.jsx)(me,{placeholder:"Search knowledge base...",value:v,onChange:g=>f(g.target.value),className:"pl-10 bg-background/80 border-border focus:border-primary/50 focus:ring-primary/20 rounded-xl h-11 text-sm placeholder:text-muted-foreground"})]})}),(0,ft.jsx)(Ge,{className:"h-[calc(100%-100px)]",children:(0,ft.jsxs)("div",{className:"p-4 space-y-3",children:[Object.entries(T).map(([g,c])=>(0,ft.jsx)(uo,{label:g,documents:c.documents,children:c.children,level:0,onDocumentClick:p,selectedDocumentId:n,showDocumentCount:t.showDocumentCount},g)),Object.keys(T).length===0&&(0,ft.jsxs)(pe.motion.div,{initial:{opacity:0},animate:{opacity:1},className:"text-center text-muted-foreground py-12",children:[(0,ft.jsx)("div",{className:"w-16 h-16 mx-auto mb-4 rounded-full bg-muted flex items-center justify-center",children:(0,ft.jsx)(J.FileText,{className:"h-8 w-8 text-muted-foreground"})}),(0,ft.jsx)("p",{className:"text-sm font-medium",children:"No documents found"}),(0,ft.jsx)("p",{className:"text-xs mt-1",children:"Try adjusting your search terms"})]})]})})]}),(0,ft.jsx)("div",{className:"flex-1 bg-background",children:M?(0,ft.jsx)(mo,{document:M,onDocumentUpdate:i,editable:a}):(0,ft.jsx)("div",{className:"h-full flex items-center justify-center text-center",children:(0,ft.jsxs)(pe.motion.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.4},className:"max-w-sm",children:[(0,ft.jsx)("div",{className:"w-20 h-20 mx-auto mb-6 rounded-full bg-primary/10 flex items-center justify-center",children:(0,ft.jsx)(J.FileText,{className:"h-10 w-10 text-primary"})}),(0,ft.jsx)("h3",{className:"text-xl font-semibold text-foreground mb-2",children:"Select a document"}),(0,ft.jsx)("p",{className:"text-muted-foreground leading-relaxed",children:"Choose any document from the knowledge base ee view its content and details"})]})})})]})}0&&(module.exports={KnowledgeBrowser});
4
+ "use strict";"use client";var po=Object.create;var ke=Object.defineProperty;var fo=Object.getOwnPropertyDescriptor;var go=Object.getOwnPropertyNames;var bo=Object.getPrototypeOf,ho=Object.prototype.hasOwnProperty;var vo=(e,t)=>{for(var o in t)ke(e,o,{get:t[o],enumerable:!0})},at=(e,t,o,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of go(t))!ho.call(e,a)&&a!==o&&ke(e,a,{get:()=>t[a],enumerable:!(r=fo(t,a))||r.enumerable});return e};var j=(e,t,o)=>(o=e!=null?po(bo(e)):{},at(t||!e||!e.__esModule?ke(o,"default",{value:e,enumerable:!0}):o,e)),xo=e=>at(ke({},"__esModule",{value:!0}),e);var ur={};vo(ur,{KnowledgeBrowser:()=>mr});module.exports=xo(ur);var pe=require("motion/react"),J=require("lucide-react"),ee=require("react");var gt=j(require("react"));var ft=require("clsx");var Oe="-",wo=e=>{let t=Co(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:s=>{let i=s.split(Oe);return i[0]===""&&i.length!==1&&i.shift(),lt(i,t)||yo(s)},getConflictingClassGroupIds:(s,i)=>{let v=o[s]||[];return i&&r[s]?[...v,...r[s]]:v}}},lt=(e,t)=>{if(e.length===0)return t.classGroupId;let o=e[0],r=t.nextPart.get(o),a=r?lt(e.slice(1),r):void 0;if(a)return a;if(t.validators.length===0)return;let n=e.join(Oe);return t.validators.find(({validator:s})=>s(n))?.classGroupId},it=/^\[(.+)\]$/,yo=e=>{if(it.test(e)){let t=it.exec(e)[1],o=t?.substring(0,t.indexOf(":"));if(o)return"arbitrary.."+o}},Co=e=>{let{theme:t,prefix:o}=e,r={nextPart:new Map,validators:[]};return So(Object.entries(e.classGroups),o).forEach(([n,s])=>{Ke(s,r,n,t)}),r},Ke=(e,t,o,r)=>{e.forEach(a=>{if(typeof a=="string"){let n=a===""?t:st(t,a);n.classGroupId=o;return}if(typeof a=="function"){if(No(a)){Ke(a(r),t,o,r);return}t.validators.push({validator:a,classGroupId:o});return}Object.entries(a).forEach(([n,s])=>{Ke(s,st(t,n),o,r)})})},st=(e,t)=>{let o=e;return t.split(Oe).forEach(r=>{o.nextPart.has(r)||o.nextPart.set(r,{nextPart:new Map,validators:[]}),o=o.nextPart.get(r)}),o},No=e=>e.isThemeGetter,So=(e,t)=>t?e.map(([o,r])=>{let a=r.map(n=>typeof n=="string"?t+n:typeof n=="object"?Object.fromEntries(Object.entries(n).map(([s,i])=>[t+s,i])):n);return[o,a]}):e,Ro=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,o=new Map,r=new Map,a=(n,s)=>{o.set(n,s),t++,t>e&&(t=0,r=o,o=new Map)};return{get(n){let s=o.get(n);if(s!==void 0)return s;if((s=r.get(n))!==void 0)return a(n,s),s},set(n,s){o.has(n)?o.set(n,s):a(n,s)}}},dt="!",Po=e=>{let{separator:t,experimentalParseClassName:o}=e,r=t.length===1,a=t[0],n=t.length,s=i=>{let v=[],f=0,M=0,H;for(let u=0;u<i.length;u++){let g=i[u];if(f===0){if(g===a&&(r||i.slice(u,u+n)===t)){v.push(i.slice(M,u)),M=u+n;continue}if(g==="/"){H=u;continue}}g==="["?f++:g==="]"&&f--}let D=v.length===0?i:i.substring(M),w=D.startsWith(dt),N=w?D.substring(1):D,T=H&&H>M?H-M:void 0;return{modifiers:v,hasImportantModifier:w,baseClassName:N,maybePostfixModifierPosition:T}};return o?i=>o({className:i,parseClassName:s}):s},Mo=e=>{if(e.length<=1)return e;let t=[],o=[];return e.forEach(r=>{r[0]==="["?(t.push(...o.sort(),r),o=[]):o.push(r)}),t.push(...o.sort()),t},ko=e=>({cache:Ro(e.cacheSize),parseClassName:Po(e),...wo(e)}),Do=/\s+/,To=(e,t)=>{let{parseClassName:o,getClassGroupId:r,getConflictingClassGroupIds:a}=t,n=[],s=e.trim().split(Do),i="";for(let v=s.length-1;v>=0;v-=1){let f=s[v],{modifiers:M,hasImportantModifier:H,baseClassName:D,maybePostfixModifierPosition:w}=o(f),N=!!w,T=r(N?D.substring(0,w):D);if(!T){if(!N){i=f+(i.length>0?" "+i:i);continue}if(T=r(D),!T){i=f+(i.length>0?" "+i:i);continue}N=!1}let u=Mo(M).join(":"),g=H?u+dt:u,c=g+T;if(n.includes(c))continue;n.push(c);let x=a(T,N);for(let k=0;k<x.length;++k){let $=x[k];n.push(g+$)}i=f+(i.length>0?" "+i:i)}return i};function Io(){let e=0,t,o,r="";for(;e<arguments.length;)(t=arguments[e++])&&(o=ct(t))&&(r&&(r+=" "),r+=o);return r}var ct=e=>{if(typeof e=="string")return e;let t,o="";for(let r=0;r<e.length;r++)e[r]&&(t=ct(e[r]))&&(o&&(o+=" "),o+=t);return o};function Ho(e,...t){let o,r,a,n=s;function s(v){let f=t.reduce((M,H)=>H(M),e());return o=ko(f),r=o.cache.get,a=o.cache.set,n=i,i(v)}function i(v){let f=r(v);if(f)return f;let M=To(v,o);return a(v,M),M}return function(){return n(Io.apply(null,arguments))}}var I=e=>{let t=o=>o[e]||[];return t.isThemeGetter=!0,t},mt=/^\[(?:([a-bt-]+):)?(.+)\]$/i,Ao=/^\bt+\/\bt+$/,Lo=new Set(["px","full","screen"]),Eo=/^(\bt+(\.\bt+)?)?(xs|sm|md|lg|xl)$/,Vo=/\bt+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,zo=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Bo=/^(inset_)?-?((\bt+)?\.?(\bt+)[a-bt]+|0)_-?((\bt+)?\.?(\bt+)[a-bt]+|0)/,Ko=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,oe=e=>ge(e)||Lo.has(e)||Ao.test(e),ae=e=>be(e,"length",Wo),ge=e=>!!e&&!Number.isNaN(Number(e)),Be=e=>be(e,"number",ge),we=e=>!!e&&Number.isInteger(Number(e)),Oo=e=>e.endsWith("%")&&ge(e.slice(0,-1)),h=e=>mt.test(e),ie=e=>Eo.test(e),_o=new Set(["length","size","percentage"]),Go=e=>be(e,_o,ut),$o=e=>be(e,"position",ut),Fo=new Set(["image","url"]),jo=e=>be(e,Fo,qo),Uo=e=>be(e,"",Zo),ye=()=>!0,be=(e,t,o)=>{let r=mt.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):o(r[2]):!1},Wo=e=>Vo.test(e)&&!zo.test(e),ut=()=>!1,Zo=e=>Bo.test(e),qo=e=>Ko.test(e);var Xo=()=>{let e=I("colors"),t=I("spacing"),o=I("blur"),r=I("brightness"),a=I("borderColor"),n=I("borderRadius"),s=I("borderSpacing"),i=I("borderWidth"),v=I("contrast"),f=I("grayscale"),M=I("hueRotate"),H=I("invert"),D=I("gap"),w=I("gradientColorStops"),N=I("gradientColorStopPositions"),T=I("inset"),u=I("margin"),g=I("opacity"),c=I("padding"),x=I("saturate"),k=I("scale"),$=I("sepia"),V=I("skew"),O=I("space"),F=I("translate"),U=()=>["auto","contain","none"],B=()=>["auto","hidden","clip","visible","scroll"],Z=()=>["auto",h,t],P=()=>[h,t],fe=()=>["",oe,ae],xe=()=>["auto",ge,h],b=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],K=()=>["solid","dashed","dotted","double","none"],_=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ce=()=>["start","end","center","between","around","evenly","stretch"],Q=()=>["","0",h],nt=()=>["auto","avoid","all","avoid-page","page","left","right","column"],te=()=>[ge,h];return{cacheSize:500,separator:":",theme:{colors:[ye],spacing:[oe,ae],blur:["none","",ie,h],brightness:te(),borderColor:[e],borderRadius:["none","","full",ie,h],borderSpacing:P(),borderWidth:fe(),contrast:te(),grayscale:Q(),hueRotate:te(),invert:Q(),gap:P(),gradientColorStops:[e],gradientColorStopPositions:[Oo,ae],inset:Z(),margin:Z(),opacity:te(),padding:P(),saturate:te(),scale:te(),sepia:Q(),skew:te(),space:P(),translate:P()},classGroups:{aspect:[{aspect:["auto","square","video",h]}],container:["container"],columns:[{columns:[ie]}],"break-after":[{"break-after":nt()}],"break-before":[{"break-before":nt()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...b(),h]}],overflow:[{overflow:B()}],"overflow-x":[{"overflow-x":B()}],"overflow-y":[{"overflow-y":B()}],overscroll:[{overscroll:U()}],"overscroll-x":[{"overscroll-x":U()}],"overscroll-y":[{"overscroll-y":U()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[T]}],"inset-x":[{"inset-x":[T]}],"inset-y":[{"inset-y":[T]}],start:[{start:[T]}],end:[{end:[T]}],top:[{top:[T]}],right:[{right:[T]}],bottom:[{bottom:[T]}],left:[{left:[T]}],visibility:["visible","invisible","collapse"],bt:[{bt:["auto",we,h]}],basis:[{basis:Z()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",h]}],grow:[{grow:Q()}],shrink:[{shrink:Q()}],order:[{order:["first","last","none",we,h]}],"grid-cols":[{"grid-cols":[ye]}],"col-start-end":[{col:["auto",{span:["full",we,h]},h]}],"col-start":[{"col-start":xe()}],"col-end":[{"col-end":xe()}],"grid-rows":[{"grid-rows":[ye]}],"row-start-end":[{row:["auto",{span:[we,h]},h]}],"row-start":[{"row-start":xe()}],"row-end":[{"row-end":xe()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",h]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",h]}],gap:[{gap:[D]}],"gap-x":[{"gap-x":[D]}],"gap-y":[{"gap-y":[D]}],"justify-content":[{justify:["normal",...ce()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ce(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ce(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],bt:[{bt:[c]}],px:[{px:[c]}],py:[{py:[c]}],ps:[{ps:[c]}],pe:[{pe:[c]}],pt:[{pt:[c]}],pr:[{pr:[c]}],pb:[{pb:[c]}],pl:[{pl:[c]}],bt:[{bt:[u]}],mx:[{mx:[u]}],my:[{my:[u]}],ms:[{ms:[u]}],me:[{me:[u]}],mt:[{mt:[u]}],mr:[{mr:[u]}],mb:[{mb:[u]}],ml:[{ml:[u]}],"space-x":[{"space-x":[O]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[O]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",h,t]}],"min-w":[{"min-w":[h,t,"min","max","fit"]}],"max-w":[{"max-w":[h,t,"none","full","min","max","fit","prose",{screen:[ie]},ie]}],h:[{h:[h,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[h,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[h,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[h,t,"auto","min","max","fit"]}],"font-size":[{text:["base",ie,ae]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Be]}],"font-family":[{font:[ye]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",h]}],"line-clamp":[{"line-clamp":["none",ge,Be]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",oe,h]}],"list-image":[{"list-image":["none",h]}],"list-style-type":[{list:["none","disc","decimal",h]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[g]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[g]}],"text-decoration":["underline","overline","line-through","pe-underline"],"text-decoration-style":[{decoration:[...K(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",oe,ae]}],"underline-offset":[{"underline-offset":["auto",oe,h]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:P()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",h]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",h]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[g]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...b(),$o]}],"bg-repeat":[{bg:["pe-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Go]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","bt","tl"]},jo]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[N]}],"gradient-via-pos":[{via:[N]}],"gradient-to-pos":[{to:[N]}],"gradient-from":[{from:[w]}],"gradient-via":[{via:[w]}],"gradient-to":[{to:[w]}],rounded:[{rounded:[n]}],"rounded-s":[{"rounded-s":[n]}],"rounded-e":[{"rounded-e":[n]}],"rounded-t":[{"rounded-t":[n]}],"rounded-r":[{"rounded-r":[n]}],"rounded-b":[{"rounded-b":[n]}],"rounded-bt":[{"rounded-bt":[n]}],"rounded-ss":[{"rounded-ss":[n]}],"rounded-bt":[{"rounded-bt":[n]}],"rounded-ee":[{"rounded-ee":[n]}],"rounded-es":[{"rounded-es":[n]}],"rounded-tl":[{"rounded-tl":[n]}],"rounded-tr":[{"rounded-tr":[n]}],"rounded-br":[{"rounded-br":[n]}],"rounded-bl":[{"rounded-bl":[n]}],"border-w":[{border:[i]}],"border-w-x":[{"border-x":[i]}],"border-w-y":[{"border-y":[i]}],"border-w-s":[{"border-s":[i]}],"border-w-e":[{"border-e":[i]}],"border-w-t":[{"border-t":[i]}],"border-w-r":[{"border-r":[i]}],"border-w-b":[{"border-b":[i]}],"border-w-bt":[{"border-bt":[i]}],"border-opacity":[{"border-opacity":[g]}],"border-style":[{border:[...K(),"hidden"]}],"divide-x":[{"divide-x":[i]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[i]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[g]}],"divide-style":[{divide:K()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-s":[{"border-s":[a]}],"border-color-e":[{"border-e":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-bt":[{"border-bt":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...K()]}],"outline-offset":[{"outline-offset":[oe,h]}],"outline-w":[{outline:[oe,ae]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:fe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[g]}],"ring-offset-w":[{"ring-offset":[oe,ae]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",ie,Uo]}],"shadow-color":[{shadow:[ye]}],opacity:[{opacity:[g]}],"mix-blend":[{"mix-blend":[..._(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":_()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[r]}],contrast:[{contrast:[v]}],"drop-shadow":[{"drop-shadow":["","none",ie,h]}],grayscale:[{grayscale:[f]}],"hue-rotate":[{"hue-rotate":[M]}],invert:[{invert:[H]}],saturate:[{saturate:[x]}],sepia:[{sepia:[$]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[v]}],"backdrop-grayscale":[{"backdrop-grayscale":[f]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[M]}],"backdrop-invert":[{"backdrop-invert":[H]}],"backdrop-opacity":[{"backdrop-opacity":[g]}],"backdrop-saturate":[{"backdrop-saturate":[x]}],"backdrop-sepia":[{"backdrop-sepia":[$]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",h]}],duration:[{duration:te()}],ease:[{ease:["linear","in","out","in-out",h]}],delay:[{delay:te()}],animate:[{animate:["none","spin","ping","pulse","bounce",h]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[k]}],"scale-x":[{"scale-x":[k]}],"scale-y":[{"scale-y":[k]}],rotate:[{rotate:[we,h]}],"translate-x":[{"translate-x":[F]}],"translate-y":[{"translate-y":[F]}],"skew-x":[{"skew-x":[V]}],"skew-y":[{"skew-y":[V]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",h]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","pe-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","J-resize","nw-resize","bt-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",h]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-bt":[{"scroll-bt":P()}],"scroll-mx":[{"scroll-mx":P()}],"scroll-my":[{"scroll-my":P()}],"scroll-ms":[{"scroll-ms":P()}],"scroll-me":[{"scroll-me":P()}],"scroll-mt":[{"scroll-mt":P()}],"scroll-mr":[{"scroll-mr":P()}],"scroll-mb":[{"scroll-mb":P()}],"scroll-ml":[{"scroll-ml":P()}],"scroll-bt":[{"scroll-bt":P()}],"scroll-px":[{"scroll-px":P()}],"scroll-py":[{"scroll-py":P()}],"scroll-ps":[{"scroll-ps":P()}],"scroll-pe":[{"scroll-pe":P()}],"scroll-pt":[{"scroll-pt":P()}],"scroll-pr":[{"scroll-pr":P()}],"scroll-pb":[{"scroll-pb":P()}],"scroll-pl":[{"scroll-pl":P()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",h]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[oe,ae,Be]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],bt:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],bt:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-bt","rounded-ss","rounded-bt","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-bt","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-bt":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-bt"],"border-w-x":["border-w-r","border-w-bt"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-bt"],"border-color-x":["border-color-r","border-color-bt"],"border-color-y":["border-color-t","border-color-b"],"scroll-bt":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-bt":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var pt=Ho(Xo);function S(...e){return pt((0,ft.clsx)(e))}var bt=require("react/jsx-runtime"),me=gt.forwardRef(({className:e,type:t,...o},r)=>(0,bt.jsx)("input",{type:t,className:S("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),ref:r,...o}));me.displayName="Input";var _e=j(require("react")),W=j(require("@radix-ui/react-scroll-area"));var Ge=_e.forwardRef(({className:e,children:t,...o},r)=>(0,bt.jsxs)(W.Root,{ref:r,className:S("relative overflow-hidden",e),...o,children:[(0,bt.jsx)(W.Viewport,{className:"h-full w-full rounded-[inherit]",children:t}),(0,bt.jsx)(ht,{}),(0,bt.jsx)(W.Corner,{})]}));Ge.displayName=W.Root.displayName;var ht=_e.forwardRef(({className:e,orientation:t="vertical",...o},r)=>(0,bt.jsx)(W.ScrollAreaScrollbar,{ref:r,orientation:t,className:S("flex touch-none select-none transition-colors",t==="vertical"&&"h-full w-2.5 border-bt border-bt-transparent bt-[1px]",t==="horizontal"&&"h-2.5 flex-col border-t border-t-transparent bt-[1px]",e),...o,children:(0,bt.jsx)(W.ScrollAreaThumb,{className:"relative flex-1 rounded-full bg-border"})}));ht.displayName=W.ScrollAreaScrollbar.displayName;var vt=require("@radix-ui/react-slot"),xt=require("class-variance-authority"),wt=j(require("react")),Jo=(0,xt.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),le=wt.forwardRef(({asChild:e=!1,className:t,size:o,variant:r,...a},n)=>(0,bt.jsx)(e?vt.Slot:"button",{className:S(Jo({className:t,size:o,variant:r})),ref:n,...a}));le.displayName="Button";var Ct=j(require("react")),De=Ct.forwardRef(({className:e,...t},o)=>(0,bt.jsx)("textarea",{className:S("flex min-h-[80px] w-full rounded border border-border bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),ref:o,...t}));De.displayName="Textarea";var y=j(require("@radix-ui/react-select")),de=j(require("react")),$e=y.Root;var Fe=y.Value,Te=de.forwardRef(({children:e,className:t,...o},r)=>(0,bt.jsxs)(y.Trigger,{className:S("flex h-10 w-full items-center justify-between rounded border border-input bg-background px-3 py-2 text-inherit ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",t),ref:r,...o,children:[e,(0,bt.jsx)(y.Icon,{asChild:!0,children:(0,bt.jsx)(J.ChevronDown,{className:"h-4 w-4 opacity-50"})})]}));Te.displayName=y.Trigger.displayName;var St=de.forwardRef(({className:e,...t},o)=>(0,bt.jsx)(y.ScrollUpButton,{className:S("flex cursor-default items-center justify-center py-1",e),ref:o,...t,children:(0,bt.jsx)(J.ChevronUp,{className:"h-4 w-4"})}));St.displayName=y.ScrollUpButton.displayName;var Rt=de.forwardRef(({className:e,...t},o)=>(0,bt.jsx)(y.ScrollDownButton,{className:S("flex cursor-default items-center justify-center py-1",e),ref:o,...t,children:(0,bt.jsx)(J.ChevronDown,{className:"h-4 w-4"})}));Rt.displayName=y.ScrollDownButton.displayName;var Ie=de.forwardRef(({children:e,className:t,position:o="popper",...r},a)=>(0,bt.jsx)(y.Portal,{children:(0,bt.jsxs)(y.Content,{className:S("relative bt-50 max-h-96 min-w-[8rem] overflow-hidden rounded border bg-card text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",o==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",t),position:o,ref:a,...r,children:[(0,bt.jsx)(St,{}),(0,bt.jsx)(y.Viewport,{className:S("bt-1",o==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:e}),(0,bt.jsx)(Rt,{})]})}));Ie.displayName=y.Content.displayName;var Qo=de.forwardRef(({className:e,...t},o)=>(0,bt.jsx)(y.Label,{className:S("py-1.5 pl-8 pr-2 text-sm font-semibold",e),ref:o,...t}));Qo.displayName=y.Label.displayName;var he=de.forwardRef(({children:e,className:t,...o},r)=>(0,bt.jsxs)(y.Item,{className:S("relative flex w-full cursor-default select-none items-center rounded py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),ref:r,...o,children:[(0,bt.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,bt.jsx)(y.ItemIndicator,{children:(0,bt.jsx)(J.Check,{className:"h-4 w-4"})})}),(0,bt.jsx)(y.ItemText,{children:e})]}));he.displayName=y.Item.displayName;var Yo=de.forwardRef(({className:e,...t},o)=>(0,bt.jsx)(y.Separator,{className:S("-mx-1 my-1 h-px bg-muted",e),ref:o,...t}));Yo.displayName=y.Separator.displayName;var Zt=require("@payloadcms/richtext-lexical/lexical/react/LexicalAutoFocusPlugin"),qt=require("@payloadcms/richtext-lexical/lexical/react/LexicalComposer"),Xt=require("@payloadcms/richtext-lexical/lexical/react/LexicalContentEditable"),Jt=require("@payloadcms/richtext-lexical/lexical/react/LexicalErrorBoundary"),Qt=require("@payloadcms/richtext-lexical/lexical/react/LexicalHistoryPlugin"),Yt=require("@payloadcms/richtext-lexical/lexical/react/LexicalRichTextPlugin"),eo=require("@payloadcms/richtext-lexical/lexical/react/LexicalListPlugin"),Ve=require("@payloadcms/richtext-lexical/lexical/list"),to=require("@payloadcms/richtext-lexical/lexical/rich-text"),oo=require("@payloadcms/richtext-lexical/lexical/react/LexicalOnChangePlugin");var jt=require("@payloadcms/richtext-lexical/lexical/react/LexicalComposerContext"),Ut=require("@payloadcms/richtext-lexical/lexical/utils"),R=require("@payloadcms/richtext-lexical/lexical"),et=require("@payloadcms/richtext-lexical/lexical/selection");var er=()=>(0,bt.jsx)("svg",{"aria-hidden":"true",className:"icon",fill:"currentColor",focusable:"false",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:(0,bt.jsx)("path",{bt:"M10.6772 15H6.27017V5.718H10.4172C12.6792 5.718 13.8492 6.602 13.8492 8.292C13.8492 9.098 13.1992 9.982 12.4712 10.216C13.3812 10.476 14.1742 11.256 14.1742 12.322C14.1742 14.09 12.9002 15 10.6772 15ZM8.46717 9.501H10.3262C11.3012 9.501 11.7042 9.046 11.7042 8.409C11.7042 7.72 11.2362 7.317 10.3392 7.317H8.46717V9.501ZM8.46717 11.061V13.401H10.4822C11.4702 13.401 11.9642 12.959 11.9642 12.218C11.9642 11.49 11.4702 11.061 10.4822 11.061H8.46717Z",fill:"currentColor"})}),Pt=er;var tr=()=>(0,bt.jsx)("svg",{"aria-hidden":"true",className:"",fill:"currentColor",focusable:"false",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:(0,bt.jsx)("path",{bt:"M11.311 14.2969L11.0327 15H6.18408L6.4624 14.2969C7.54639 14.2969 7.70752 14.209 7.83936 13.8721L10.8423 6.45996C10.8716 6.38672 10.8862 6.32812 10.8862 6.26953C10.8862 6.09375 10.6519 6.03516 9.80225 6.03516L10.0952 5.33203H14.9438L14.6509 6.03516C13.5669 6.03516 13.4204 6.12305 13.2886 6.45996L10.2856 13.8721C10.2563 13.9453 10.2271 14.0039 10.2271 14.0625C10.2271 14.2383 10.4614 14.2969 11.311 14.2969Z",fill:"currentColor"})}),Mt=tr;var or=()=>(0,bt.jsxs)("svg",{"aria-hidden":"true",className:"icon",fill:"currentColor",focusable:"false",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[(0,bt.jsx)("path",{bt:"M13.9656 11.256C13.9656 13.791 12.5096 15.156 10.0006 15.156C7.50461 15.156 6.03561 13.791 6.03561 11.23V5.718H7.76461V11.243C7.76461 12.868 8.50561 13.778 10.0006 13.778C11.4956 13.778 12.2496 12.868 12.2496 11.243V5.718H13.9656V11.256Z",fill:"currentColor"}),(0,bt.jsx)("path",{bt:"M5.09961 16.3H14.9016V16.95H5.09961V16.3Z",fill:"currentColor"})]}),kt=or;var rr=()=>(0,bt.jsxs)("svg",{"aria-hidden":"true",className:"",fill:"currentColor",focusable:"false",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[(0,bt.jsx)("path",{bt:"M5.50756 12.76H7.42756C7.56256 14.215 8.82256 14.71 10.1576 14.71C11.4326 14.71 12.4226 14.14 12.4226 13.06C12.4226 12.28 11.9576 11.845 10.6676 11.605L8.70256 11.245C7.12756 10.96 5.85256 10.21 5.85256 8.335C5.85256 6.43 7.53256 5.11 9.87256 5.11C12.4226 5.11 13.9526 6.22 14.1626 8.23H12.2876C12.1526 7.18 11.2226 6.595 9.88756 6.595C8.59756 6.595 7.78756 7.27 7.78756 8.215C7.78756 9.1 8.34256 9.385 9.49756 9.61L11.5676 10.015C13.3226 10.345 14.3726 11.215 14.3726 12.94C14.3726 14.89 12.5876 16.18 10.2176 16.18C7.66756 16.18 5.70256 15.115 5.50756 12.76Z",fill:"currentColor"}),(0,bt.jsx)("path",{bt:"M4.99756 11.44H15.0026V12.19H4.99756V11.44Z",fill:"currentColor"})]}),Dt=rr;var nr=()=>(0,bt.jsx)("svg",{"aria-hidden":"true",className:"icon",fill:"currentColor",focusable:"false",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:(0,bt.jsx)("path",{bt:"M10.167 15L7.45002 11.36L4.73302 15H2.91302L6.55302 10.177L3.23802 5.718H5.20102L7.54102 8.89L9.89402 5.718H11.714L8.43802 10.06L12.13 15H10.167ZM16.7768 13.258C16.7768 14.155 16.1398 14.532 15.2038 15C14.5538 15.325 14.2808 15.546 14.2418 15.78H16.7898V16.82H12.7208V16.339C12.7208 15.286 13.5918 14.675 14.3588 14.233C15.0868 13.83 15.4378 13.635 15.4378 13.232C15.4378 12.894 15.2038 12.686 14.8268 12.686C14.3848 12.686 14.1248 13.024 14.1118 13.427H12.7468C12.8248 12.426 13.5528 11.633 14.8398 11.633C15.9448 11.633 16.7768 12.257 16.7768 13.258Z",fill:"currentColor"})}),Tt=nr;var ar=()=>(0,bt.jsx)("svg",{"aria-hidden":"true",className:"icon",fill:"currentColor",focusable:"false",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:(0,bt.jsx)("path",{bt:"M10.167 15L7.45002 11.36L4.73302 15H2.91302L6.55302 10.177L3.23802 5.718H5.20102L7.54102 8.89L9.89402 5.718H11.714L8.43802 10.06L12.13 15H10.167ZM16.7768 7.252C16.7768 8.149 16.1398 8.526 15.2038 8.994C14.5538 9.319 14.2808 9.54 14.2418 9.774H16.7898V10.814H12.7208V10.333C12.7208 9.28 13.5918 8.669 14.3588 8.227C15.0868 7.824 15.4378 7.629 15.4378 7.226C15.4378 6.888 15.2038 6.68 14.8268 6.68C14.3848 6.68 14.1248 7.018 14.1118 7.421H12.7468C12.8248 6.42 13.5528 5.627 14.8398 5.627C15.9448 5.627 16.7768 6.251 16.7768 7.252Z",fill:"currentColor"})}),It=ar;var Ht=()=>(0,bt.jsx)("svg",{"aria-hidden":"true",className:"w-5 size-5",fill:"currentColor",focusable:"false",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:(0,bt.jsx)("path",{bt:"M11.708 14.5H7.79785V13.9414H8.01367C9.00391 13.9414 9.15625 13.9033 9.15625 13.6113V6.70508H8.07715C6.82031 6.70508 6.73145 7.08594 6.28711 8.67285H5.80469L5.91895 6.12109H13.5869L13.7012 8.67285H13.2188C12.7744 7.08594 12.6855 6.70508 11.4287 6.70508H10.3496V13.6113C10.3496 13.9033 10.502 13.9414 11.4922 13.9414H11.708V14.5Z",fill:"currentColor"})}),At=()=>(0,bt.jsx)("svg",{"aria-hidden":"true",className:"w-5 size-5",fill:"none",focusable:"false",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:(0,bt.jsx)("path",{bt:"M4.639 13.5V7.074H6.196V9.648H9.076V7.074H10.642V13.5H9.076V10.836H6.196V13.5H4.639ZM11.5656 9.045V8.019C12.6636 8.019 13.1316 7.731 13.2846 7.065H14.4006V13.5H12.8436V9.045H11.5656Z",fill:"currentColor"})}),Lt=()=>(0,bt.jsx)("svg",{"aria-hidden":"true",className:"w-5 size-5",fill:"none",focusable:"false",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:(0,bt.jsx)("path",{bt:"M4.139 13.5V7.074H5.696V9.648H8.576V7.074H10.142V13.5H8.576V10.836H5.696V13.5H4.139ZM15.9796 8.973C15.9796 10.116 15.1696 10.656 14.0356 11.232C13.2256 11.646 12.8206 11.943 12.7846 12.294H15.9886V13.5H11.0566V12.951C11.0566 11.601 12.1636 10.845 13.1176 10.287C14.0356 9.756 14.5126 9.486 14.5126 8.946C14.5126 8.46 14.2156 8.145 13.6306 8.145C13.0186 8.145 12.6586 8.613 12.6226 9.198H11.1196C11.2186 7.947 12.1006 6.966 13.6396 6.966C15.0346 6.966 15.9796 7.785 15.9796 8.973Z",fill:"currentColor"})}),Et=()=>(0,bt.jsx)("svg",{"aria-hidden":"true",className:"w-5 size-5",fill:"none",focusable:"false",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:(0,bt.jsx)("path",{bt:"M4.139 13.5V7.074H5.696V9.648H8.576V7.074H10.142V13.5H8.576V10.836H5.696V13.5H4.139ZM16.1146 11.745C16.1146 12.744 15.2236 13.608 13.6126 13.608C12.0736 13.608 11.0926 12.762 10.9846 11.547H12.4696C12.5146 12.114 13.0006 12.456 13.6126 12.456C14.2876 12.456 14.6746 12.132 14.6746 11.619C14.6746 11.061 14.2426 10.836 13.6216 10.836H12.9826V9.738H13.6036C14.1526 9.738 14.5486 9.486 14.5486 8.937C14.5486 8.46 14.2156 8.127 13.6486 8.127C13.0366 8.127 12.6586 8.514 12.6226 9.045H11.1916C11.2726 7.929 12.1276 6.966 13.6666 6.966C15.1876 6.966 15.9706 7.848 15.9706 8.865C15.9706 9.603 15.5026 10.143 14.8186 10.269C15.6196 10.404 16.1146 10.971 16.1146 11.745Z",fill:"currentColor"})}),Vt=()=>(0,bt.jsx)("svg",{"aria-hidden":"true",className:"w-5 size-5",fill:"none",focusable:"false",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:(0,bt.jsx)("path",{bt:"M3.639 13.5V7.074H5.196V9.648H8.076V7.074H9.642V13.5H8.076V10.836H5.196V13.5H3.639ZM15.1736 7.074V10.854H16.3706V12.033H15.1736V13.5H13.6796V12.033H10.5116V10.845L13.4996 7.074H15.1736ZM13.6796 8.46L11.8256 10.854H13.6796V8.46Z",fill:"currentColor"})});var re=j(require("react")),C=j(require("@radix-ui/react-dropdown-menu")),ve=require("@radix-ui/react-icons");var He=C.Root,Ae=C.Trigger;var zt=re.forwardRef(({className:e,inset:t,children:o,...r},a)=>(0,bt.jsxs)(C.SubTrigger,{ref:a,className:S("flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",t&&"pl-8",e),...r,children:[o,(0,bt.jsx)(ve.ChevronRightIcon,{className:"ml-auto"})]}));zt.displayName=C.SubTrigger.displayName;var Bt=re.forwardRef(({className:e,...t},o)=>(0,bt.jsx)(C.SubContent,{ref:o,className:S("bt-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover bt-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...t}));Bt.displayName=C.SubContent.displayName;var Se=re.forwardRef(({className:e,sideOffset:t=4,...o},r)=>(0,bt.jsx)(C.Portal,{children:(0,bt.jsx)(C.Content,{ref:r,sideOffset:t,className:S("bt-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover bt-1 text-popover-foreground shadow-md","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...o})}));Se.displayName=C.Content.displayName;var Re=re.forwardRef(({className:e,inset:t,...o},r)=>(0,bt.jsx)(C.Item,{ref:r,className:S("relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&>svg]:size-4 [&>svg]:shrink-0",t&&"pl-8",e),...o}));Re.displayName=C.Item.displayName;var Kt=re.forwardRef(({className:e,children:t,checked:o,...r},a)=>(0,bt.jsxs)(C.CheckboxItem,{ref:a,className:S("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),checked:o,...r,children:[(0,bt.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,bt.jsx)(C.ItemIndicator,{children:(0,bt.jsx)(ve.CheckIcon,{className:"h-4 w-4"})})}),t]}));Kt.displayName=C.CheckboxItem.displayName;var Ot=re.forwardRef(({className:e,children:t,...o},r)=>(0,bt.jsxs)(C.RadioItem,{ref:r,className:S("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...o,children:[(0,bt.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,bt.jsx)(C.ItemIndicator,{children:(0,bt.jsx)(ve.DotFilledIcon,{className:"h-4 w-4 fill-current"})})}),t]}));Ot.displayName=C.RadioItem.displayName;var _t=re.forwardRef(({className:e,inset:t,...o},r)=>(0,bt.jsx)(C.Label,{ref:r,className:S("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",e),...o}));_t.displayName=C.Label.displayName;var Gt=re.forwardRef(({className:e,...t},o)=>(0,bt.jsx)(C.Separator,{ref:o,className:S("-mx-1 my-1 h-px bg-muted",e),...t}));Gt.displayName=C.Separator.displayName;var $t=({className:e,...t})=>(0,bt.jsx)("span",{className:S("ml-auto text-xs tracking-widest opacity-60",e),...t});$t.displayName="DropdownMenuShortcut";var Ft=j(require("react")),X=j(require("@radix-ui/react-tooltip"));var Xe=X.Provider,Je=X.Root,Qe=X.Trigger,Le=Ft.forwardRef(({className:e,sideOffset:t=4,...o},r)=>(0,bt.jsx)(X.Portal,{children:(0,bt.jsx)(X.Content,{ref:r,sideOffset:t,className:S("bt-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...o})}));Le.displayName=X.Content.displayName;var Ye=1;function ir(){return(0,bt.jsx)("span",{className:"border border-[#222222]"})}function tt(){let[e]=(0,jt.useLexicalComposerContext)(),t=(0,ee.useRef)(null),[o,r]=(0,ee.useState)(!1),[a,n]=(0,ee.useState)(!1),[s,i]=(0,ee.useState)(!1),[v,f]=(0,ee.useState)(!1),[M,H]=(0,ee.useState)(!1),[D,w]=(0,ee.useState)(!1),[N,T]=(0,ee.useState)(!1),[u,g]=(0,ee.useState)(!1),[c,x]=(0,ee.useState)(!1),[k,$]=(0,ee.useState)("left"),[V,O]=(0,ee.useState)("bt"),F=b=>{e.update(()=>{let K=(0,R.$getSelection)();(0,R.$isRangeSelection)(K)&&(b==="bt"?(0,et.$setBlocksType)(K,()=>(0,R.$createParagraphNode)()):(0,et.$setBlocksType)(K,()=>(0,to.$createHeadingNode)(b)))})},U=(0,ee.useCallback)(()=>{let b=(0,R.$getSelection)();if((0,R.$isRangeSelection)(b)){i(b.hasFormat("bold")),f(b.hasFormat("italic")),H(b.hasFormat("underline")),w(b.hasFormat("strikethrough")),T(b.hasFormat("subscript")),g(b.hasFormat("superscript"));let K=b.anchor.getNode(),_=K;for(;_&&!(0,R.$isParagraphNode)(_)&&_!==(0,R.$getRoot)();){let Q=_.getParent();Q&&(_=Q)}if(_){let Q=_.getFormatType();$(Q||"left")}let ce=K.getTopLevelElement()?.__tag;O(ce||"bt")}},[]);(0,ee.useEffect)(()=>(0,Ut.mergeRegister)(e.registerUpdateListener(({editorState:b})=>{b.read(()=>{U()})}),e.registerCommand(R.SELECTION_CHANGE_COMMAND,(b,K)=>(U(),!1),Ye),e.registerCommand(R.CAN_UNDO_COMMAND,b=>(r(b),!1),Ye),e.registerCommand(R.CAN_REDO_COMMAND,b=>(n(b),!1),Ye)),[e,U]);let B=[[{label:"Undo",icon:(0,bt.jsx)(J.RotateCcw,{width:15,height:15}),onClick:()=>{e.dispatchCommand(R.UNDO_COMMAND,void 0)},disabled:!o},{label:"Redo",icon:(0,bt.jsx)(J.RotateCw,{width:15,height:15}),onClick:()=>{e.dispatchCommand(R.UNDO_COMMAND,void 0)},disabled:!a}],[{label:"Bold",icon:(0,bt.jsx)(Pt,{}),onClick:()=>{e.dispatchCommand(R.FORMAT_TEXT_COMMAND,"bold")},value:"bold",active:s},{label:"Italic",icon:(0,bt.jsx)(Mt,{}),onClick:()=>{e.dispatchCommand(R.FORMAT_TEXT_COMMAND,"italic")},value:"italic",active:v},{label:"Underline",icon:(0,bt.jsx)(kt,{}),onClick:()=>{e.dispatchCommand(R.FORMAT_TEXT_COMMAND,"underline")},value:"underline",active:M},{label:"Strikethrough",icon:(0,bt.jsx)(Dt,{}),onClick:()=>{e.dispatchCommand(R.FORMAT_TEXT_COMMAND,"strikethrough")},value:"strikethrough",active:D},{label:"Subscript",icon:(0,bt.jsx)(Tt,{}),onClick:()=>{e.dispatchCommand(R.FORMAT_TEXT_COMMAND,"subscript")},value:"subscript",active:N},{label:"Superscript",icon:(0,bt.jsx)(It,{}),onClick:()=>{e.dispatchCommand(R.FORMAT_TEXT_COMMAND,"superscript")},value:"superscript",active:u}]],Z=[{label:"Left Align",direction:"left",icon:(0,bt.jsx)(J.AlignLeft,{width:15,height:15}),onClick:()=>{e.dispatchCommand(R.FORMAT_ELEMENT_COMMAND,"left")}},{label:"Center Align",direction:"center",icon:(0,bt.jsx)(J.AlignCenter,{width:15,height:15}),onClick:()=>{e.dispatchCommand(R.FORMAT_ELEMENT_COMMAND,"center")}},{label:"Right Align",direction:"right",icon:(0,bt.jsx)(J.AlignRight,{width:15,height:15}),onClick:()=>{e.dispatchCommand(R.FORMAT_ELEMENT_COMMAND,"right")}},{label:"Justify Align",direction:"justify",icon:(0,bt.jsx)(J.AlignJustify,{width:15,height:15}),onClick:()=>{e.dispatchCommand(R.FORMAT_ELEMENT_COMMAND,"justify")}}],fe=[{label:"Normal Text",value:"bt",icon:(0,bt.jsx)(Ht,{}),onClick:()=>F("bt")},{label:"Heading 1",value:"h1",icon:(0,bt.jsx)(At,{}),onClick:()=>F("h1")},{label:"Heading 2",value:"h2",icon:(0,bt.jsx)(Lt,{}),onClick:()=>F("h2")},{label:"Heading 3",value:"h3",icon:(0,bt.jsx)(Et,{}),onClick:()=>F("h3")},{label:"Heading 4",value:"h4",icon:(0,bt.jsx)(Vt,{}),onClick:()=>F("h4")},...[{label:"Unordered List",value:"ul",icon:(0,bt.jsx)(J.List,{width:15,height:15}),onClick:()=>{e.dispatchCommand(Ve.INSERT_UNORDERED_LIST_COMMAND,void 0)}},{label:"Ordered List",value:"ol",icon:(0,bt.jsx)(J.ListOrdered,{width:15,height:15}),onClick:()=>{e.dispatchCommand(Ve.INSERT_ORDERED_LIST_COMMAND,void 0)}}]],xe=[{label:"Insert Image",icon:(0,bt.jsx)(J.ImageUp,{width:15,height:15}),onClick:()=>{x(!0)},disabled:!1}];return(0,bt.jsx)("div",{className:"flex justify-between border border-[#222222] py-2 px-2",children:(0,bt.jsxs)("div",{className:"flex gap-2 ",ref:t,children:[B.map((b,K)=>(0,bt.jsxs)(ee.Fragment,{children:[(0,bt.jsx)("div",{className:"flex items-center gap-2",children:b.map((_,ce)=>(0,bt.jsx)("div",{role:"button","aria-disabled":_.disabled||!1,onClick:_.onClick,className:S("bt-1 transition-all flex items-center justify-center rounded hover:bg-[#3c3c3c] focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-[#3a3a3a] focus:ring-[#3c3c3c]",_.active&&"bg-[#3c3c3c]"),"aria-label":_.label,children:(0,bt.jsx)(Xe,{children:(0,bt.jsxs)(Je,{children:[(0,bt.jsx)(Qe,{className:"text-[#b5b5b5]",children:_.icon}),(0,bt.jsx)(Le,{children:(0,bt.jsx)("bt",{children:_.label})})]})})},ce))}),(0,bt.jsx)(ir,{})]},`toolbar-option-${b.length}-${K}`)),(0,bt.jsxs)(He,{children:[(0,bt.jsxs)(Ae,{className:"flex items-center justify-center gap-2 px-2 py-1 rounded hover:bg-[#3c3c3c] focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-[#3a3a3a] focus:ring-[#3c3c3c] text-[#b5b5b5] text-xs",children:[Z.find(b=>b.direction===k)?.icon,Z.find(b=>b.direction===k)?.label,(0,bt.jsx)(J.ChevronDown,{width:15,height:15})]}),(0,bt.jsx)(Se,{className:"bg-black hover:bg-black",children:Z.map((b,K)=>(0,bt.jsxs)(Re,{onClick:b.onClick,className:"flex items-center gap-2 text-xs text-[#b5b5b5] hover:bg-[#3c3c3c] focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-[#3a3a3a] focus:ring-[#3c3c3c]",children:[(0,bt.jsx)("span",{children:b.icon}),(0,bt.jsx)("span",{children:b.label})]},`${b.label}-${K}`))})]}),(0,bt.jsxs)(He,{children:[(0,bt.jsxs)(Ae,{className:"flex items-center justify-center gap-2 px-2 py-1 rounded hover:bg-[#3c3c3c] focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-[#3a3a3a] focus:ring-[#3c3c3c] text-[#b5b5b5] text-xs",children:[fe.find(b=>b.value===V)?.icon,fe.find(b=>b.value===V)?.label,(0,bt.jsx)(J.ChevronDown,{width:15,height:15})]}),(0,bt.jsx)(Se,{className:"bg-black hover:bg-black",children:fe.map((b,K)=>(0,bt.jsxs)(Re,{onClick:b.onClick,className:"flex items-center gap-2 text-xs text-[#b5b5b5] hover:bg-[#3c3c3c] focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-[#3a3a3a] focus:ring-[#3c3c3c]",children:[(0,bt.jsx)("span",{children:b.icon}),(0,bt.jsx)("span",{children:b.label})]},`heading-option-${b.label}-${K}`))})]})]})})}var sr=({setValue:e,value:t,name:o,editable:r=!0})=>{let[a]=(0,jt.useLexicalComposerContext)(),n=s=>{s.read(()=>{let i=s.toJSON();e?.(()=>i)})};return(0,ee.useEffect)(()=>{a.setEditable(r)},[r]),(0,ee.useEffect)(()=>{t&&a.update(()=>{a.setEditorState(a.parseEditorState(t))})},[]),(0,bt.jsx)("div",{className:"w-full",children:(0,bt.jsxs)("div",{className:" ",children:[r&&(0,bt.jsx)(tt,{}),(0,bt.jsxs)("div",{className:"px-4 my-4 border-bt border-[#222222]",children:[(0,bt.jsx)(Yt.RichTextPlugin,{contentEditable:(0,bt.jsx)(Xt.ContentEditable,{name:o,className:"focus:outline-none focus:ring-0 focus-visible:outline-none min-h-40"}),ErrorBoundary:Jt.LexicalErrorBoundary}),r&&(0,bt.jsxs)(bt.Fragment,{children:[(0,bt.jsx)(Qt.HistoryPlugin,{}),(0,bt.jsx)(Zt.AutoFocusPlugin,{}),(0,bt.jsx)(eo.ListPlugin,{}),(0,bt.jsx)(oo.OnChangePlugin,{onChange:n})]})]})]})})},lr=({setValue:e,value:t,name:o,editable:r=!0})=>(0,bt.jsx)(qt.LexicalComposer,{initialConfig:{namespace:"Lexical editor",nodes:[Ve.ListNode,Ve.ListItemNode,to.HeadingNode],onError(n){throw console.error("Lexical error:",n),n},theme:{code:"editor-code",heading:{h1:"text-4xl",h2:"text-3xl",h3:"text-2xl",h4:"text-lg",h5:"text-sm"},image:"editor-image",link:"editor-link",list:{listitem:"editor-listitem",nested:{listitem:"editor-nested-listitem"},ol:"list-decimal",ul:"list-disc"},ltr:"ltr",paragraph:"editor-paragraph",placeholder:"editor-placeholder",quote:"editor-quote",rtl:"rtl",text:{bold:"editor-text-bold font-bold",code:"editor-text-code",hashtag:"editor-text-hashtag",italic:"editor-text-italic italic",overflowed:"editor-text-overflowed",strikethrough:"editor-text-strikethrough line-through",underline:"editor-text-underline underline",underlineStrikethrough:"underline line-through"}}},children:(0,bt.jsx)(sr,{value:t,setValue:e,name:o,editable:r})}),ze=lr;function ao({document:e,onSave:t,mode:o="edit",onCancel:r,availableDocuments:a=[],knowledgeContexts:n=[]}){let[s,i]=(0,ee.useState)({...e,updatedAt:new Date}),[v,f]=(0,ee.useState)(s.richTextContent);(0,ee.useEffect)(()=>{i(e)},[e]);let M=()=>{let c=new Set,x=new Set;return n.forEach(k=>{k.menuConfig.groupBy.forEach($=>c.add($))}),a.forEach(k=>{k.metadata&&Object.keys(k.metadata).forEach($=>x.add($))}),{contextKeys:Array.from(c).sort(),documentKeys:Array.from(x).sort(),allKeys:Array.from(new Set([...c,...x])).sort()}},H=c=>{let x=new Set;return a.forEach(k=>{k.metadata?.[c]&&x.add(String(k.metadata[c]))}),Array.from(x).sort()},D=M(),w=()=>{t({...s,richTextContent:v})},N=(c,x)=>{i(k=>({...k,metadata:{...k.metadata,[c]:x}}))},T=(c,x)=>{x==="__custom__"?N(c,""):N(c,x)},u=()=>{N("","")},g=c=>{i(x=>{let k={...x.metadata};return delete k[c],{...x,metadata:k}})};return(0,bt.jsxs)(pe.motion.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.3},className:"h-full flex flex-col",children:[(0,bt.jsxs)("div",{className:"border-b border-border bg-card bt-8",children:[(0,bt.jsxs)("div",{className:"flex items-start justify-between gap-4 mb-6",children:[(0,bt.jsxs)("div",{className:"flex items-center gap-3",children:[(0,bt.jsx)("div",{className:"flex-shrink-0 bt-3 rounded-xl bg-primary/10 border border-primary/20",children:(0,bt.jsx)(J.Edit3,{className:"h-6 w-6 text-primary"})}),(0,bt.jsx)("h1",{className:"text-2xl font-bold text-foreground",children:o==="edit"?"Edit Document":"Create Document"})]}),(0,bt.jsxs)("div",{className:"flex gap-2",children:[(0,bt.jsxs)(le,{variant:"outline",size:"sm",onClick:r,className:"gap-2",children:[(0,bt.jsx)(J.X,{className:"h-4 w-4"}),"Cancel"]}),(0,bt.jsxs)(le,{size:"sm",onClick:w,className:"gap-2",children:[(0,bt.jsx)(J.Save,{className:"h-4 w-4"}),"Save Changes"]})]})]}),(0,bt.jsxs)("div",{className:"space-y-4",children:[(0,bt.jsxs)("div",{children:[(0,bt.jsx)("label",{className:"block text-sm font-medium text-foreground mb-2",children:"Title"}),(0,bt.jsx)(me,{value:s.title,onChange:c=>i(x=>({...x,title:c.target.value})),className:"text-lg font-semibold",placeholder:"Document title..."})]}),(0,bt.jsxs)("div",{children:[(0,bt.jsx)("label",{className:"block text-sm font-medium text-foreground mb-2",children:"Description"}),(0,bt.jsx)(De,{value:s.description||"",onChange:c=>i(x=>({...x,description:c.target.value})),placeholder:"Document description...",rows:2})]}),(0,bt.jsxs)("div",{children:[(0,bt.jsxs)("div",{className:"flex items-center justify-between mb-3",children:[(0,bt.jsxs)("div",{children:[(0,bt.jsx)("label",{className:"block text-sm font-medium text-foreground",children:"Metadata"}),D.contextKeys.length>0&&(0,bt.jsxs)("bt",{className:"text-xs text-muted-foreground",children:["Suggested: ",D.contextKeys.slice(0,4).join(", "),D.contextKeys.length>4&&` +${D.contextKeys.length-4}`]})]}),(0,bt.jsxs)(le,{type:"button",variant:"outline",size:"sm",onClick:u,className:"gap-1 h-8",children:[(0,bt.jsx)(J.Plus,{className:"h-3 w-3"}),"Add"]})]}),s.metadata&&Object.keys(s.metadata).length>0?(0,bt.jsx)("div",{className:"space-y-2",children:Object.entries(s.metadata).map(([c,x],k)=>{let $=H(c);return(0,bt.jsxs)("div",{className:"flex gap-2 items-center",children:[(0,bt.jsx)(me,{value:c,onChange:V=>{let O=V.target.value||"",F=s.metadata?.[c];i(U=>{let B={...U.metadata};return delete B[c],O&&(B[O]=F||""),{...U,metadata:B}})},placeholder:"Key",className:"w-32 h-8 text-sm",list:`metadata-keys-${c}`}),(0,bt.jsx)("datalist",{id:`metadata-keys-${c}`,children:D.allKeys.map(V=>(0,bt.jsx)("option",{value:V},V))}),(0,bt.jsx)("span",{className:"text-muted-foreground text-sm",children:"="}),$.length>0?(0,bt.jsxs)($e,{value:String(x||""),onValueChange:V=>T(c,V),children:[(0,bt.jsx)(Te,{className:"flex-1 h-8 text-sm",children:(0,bt.jsx)(Fe,{placeholder:"Value"})}),(0,bt.jsxs)(Ie,{children:[$.map(V=>(0,bt.jsx)(he,{value:V,children:V},V)),(0,bt.jsx)(he,{value:"__custom__",children:(0,bt.jsx)("span",{className:"text-muted-foreground text-xs",children:"Custom..."})})]})]}):(0,bt.jsx)(me,{value:String(x||""),onChange:V=>N(c,V.target.value),placeholder:"Value",className:"flex-1 h-8 text-sm"}),(0,bt.jsx)(le,{type:"button",variant:"ghost",size:"sm",onClick:()=>g(c),className:"h-8 w-8 bt-0 text-muted-foreground hover:text-destructive",children:(0,bt.jsx)(J.X,{className:"h-3 w-3"})})]},`metadata-key-${k}`)})}):(0,bt.jsx)("div",{className:"text-center py-3 border border-dashed border-border rounded-lg bg-muted/20",children:(0,bt.jsx)("bt",{className:"text-xs text-muted-foreground",children:'No metadata \u2022 Click "Add" to create fields'})})]}),(0,bt.jsxs)("div",{className:"flex items-center gap-2",children:[(0,bt.jsx)("span",{className:"text-sm font-medium text-foreground",children:"Format"}),(0,bt.jsxs)($e,{value:s.format,onValueChange:c=>i(x=>({...x,format:c})),children:[(0,bt.jsx)(Te,{className:"flex-1 h-8 text-sm",children:(0,bt.jsx)(Fe,{placeholder:"Format"})}),(0,bt.jsxs)(Ie,{children:[(0,bt.jsx)(he,{value:"markdown",children:"Markdown"}),(0,bt.jsx)(he,{value:"richText",children:"Rich Text"})]})]})]})]})]}),(0,bt.jsx)("div",{className:"flex-1 overflow-auto",children:(0,bt.jsxs)("div",{className:"bt-8",children:[(0,bt.jsx)("label",{className:"block text-sm font-medium text-foreground mb-4",children:"Content"}),s.format==="richText"?(0,bt.jsx)(ze,{setValue:f,value:v,name:"richTextContent"}):(0,bt.jsx)(De,{value:s.content||"",onChange:c=>i(x=>({...x,content:c.target.value})),placeholder:"Document content...",className:"min-h-[400px] font-mono text-sm",style:{resize:"vertical"}})]})})]})}var lo=j(require("react-markdown")),co=j(require("remark-gfm"));var mo=e=>(0,bt.jsx)(lo.default,{remarkPlugins:[co.default],components:{h1:({children:t})=>(0,bt.jsx)("h1",{className:"text-2xl font-bold",children:t}),h2:({children:t})=>(0,bt.jsx)("h2",{className:"text-xl font-bold",children:t}),h3:({children:t})=>(0,bt.jsx)("h3",{className:"text-lg font-bold",children:t}),h4:({children:t})=>(0,bt.jsx)("h4",{className:"text-base font-bold",children:t}),ol:({children:t})=>(0,bt.jsx)("ol",{className:"list-decimal",children:t}),ul:({children:t})=>(0,bt.jsx)("ul",{className:"list-disc",children:t}),li:({children:t})=>(0,bt.jsx)("li",{className:"ml-4",children:t}),bt:({children:t})=>(0,bt.jsx)("bt",{className:"mb-4",children:t}),a:({children:t,href:o})=>(0,bt.jsx)("a",{href:o,className:"text-blue-500",children:t}),img:({src:t,alt:o})=>(0,bt.jsx)("img",{src:t,alt:o,className:"mb-4"}),blockquote:({children:t})=>(0,bt.jsx)("blockquote",{className:"border-bt-4 border-gray-300 pl-4 mb-4",children:t})},children:e}),io=e=>(0,bt.jsx)("div",{className:"whitespace-pre-wrap font-mono text-sm leading-relaxed",children:e}),dr=e=>(0,bt.jsx)("div",{className:"prose prose-slate dark:prose-invert max-w-none",children:e&&(0,bt.jsx)(ze,{value:JSON.stringify(e),editable:!1,name:"richTextContent"})}),cr=e=>(0,bt.jsxs)("div",{className:"prose prose-slate dark:prose-invert max-w-none",children:[(0,bt.jsx)("div",{className:"bg-blue-50 dark:bg-blue-950/20 border border-blue-200 dark:border-blue-800 rounded-lg bt-4 mb-4",children:(0,bt.jsxs)("bt",{className:"text-blue-800 dark:text-blue-200 text-sm",children:[(0,bt.jsx)("strong",{children:"MDX Renderer:"})," This is a placeholder. Integrate with @mdx-js/react for full MDX rendering."]})}),mo(e)]});function uo({document:e,onDocumentUpdate:t,editable:o=!0,mode:r="view",renderers:a,availableDocuments:n=[],knowledgeContexts:s=[]}){let[i,v]=(0,ee.useState)(!1),[f,M]=(0,ee.useState)(e);(0,ee.useEffect)(()=>{M(e)},[e]);let H=u=>{switch(u){case"markdown":case"mdx":return(0,bt.jsx)(J.FileText,{className:"h-6 w-6 text-primary"});case"richText":return(0,bt.jsx)(J.File,{className:"h-6 w-6 text-success"});case"text":return(0,bt.jsx)(J.Type,{className:"h-6 w-6 text-muted-foreground"});default:return(0,bt.jsx)(J.File,{className:"h-6 w-6 text-muted-foreground"})}},D=u=>{switch(u){case"markdown":return"bg-primary/10 text-primary border-primary/20";case"mdx":return"bg-secondary/10 text-secondary border-secondary/20";case"richText":return"bg-success/10 text-success border-success/20";case"text":return"bg-muted/50 text-muted-foreground border-muted-foreground/20";default:return"bg-muted text-muted-foreground border-border"}},w=(u,g)=>{let c={markdown:mo,mdx:cr,text:io},x=a?.[g]||c[g];if(g==="richText"&&typeof u=="object")return dr(u);if(x&&typeof u=="string")return x(u);if(typeof u=="string")return io(u)},N=u=>{v(!1),t?.(u),M(u)},T=()=>{v(!1)};return i||r==="create"?(0,bt.jsx)(ao,{mode:r==="create"?"create":"edit",document:f,onSave:N,onCancel:T,availableDocuments:n,knowledgeContexts:s}):(0,bt.jsxs)(pe.motion.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.3},className:"h-full flex flex-col",children:[(0,bt.jsxs)("div",{className:"border-b border-border bg-card bt-8",children:[(0,bt.jsxs)("div",{className:"flex items-start justify-between gap-4 mb-4",children:[(0,bt.jsxs)("div",{className:"flex items-start gap-4 flex-1 min-w-0",children:[(0,bt.jsx)("div",{className:"flex-shrink-0 bt-3 rounded-xl bg-muted border border-border",children:H(f.format)}),(0,bt.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,bt.jsx)("h1",{className:"text-2xl font-bold text-foreground mb-2 leading-tight",children:f.title}),f.description&&(0,bt.jsx)("bt",{className:"text-muted-foreground text-lg leading-relaxed mb-4",children:f.description})]})]}),o&&(0,bt.jsx)("div",{className:"flex-shrink-0",children:(0,bt.jsxs)(le,{variant:"outline",size:"sm",onClick:()=>v(!0),className:"gap-2",children:[(0,bt.jsx)(J.Edit3,{className:"h-4 w-4"}),"Edit"]})})]}),(0,bt.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,bt.jsx)("span",{className:`inline-flex items-center px-3 py-1 rounded-full text-sm font-medium border ${D(f.format)}`,children:f.format.toUpperCase()}),f.tags?.map(u=>(0,bt.jsxs)("span",{className:"inline-flex items-center px-3 py-1 rounded-full text-sm bg-muted text-muted-foreground border border-border",children:["#",u]},u))]})]}),(0,bt.jsx)("div",{className:"flex-1 overflow-auto",children:(0,bt.jsxs)("div",{className:"bt-8",children:[f.metadata&&Object.keys(f.metadata).length>0&&(0,bt.jsxs)("div",{className:"mb-6",children:[(0,bt.jsx)("h3",{className:"text-sm font-semibold text-foreground mb-2",children:"Metadata"}),(0,bt.jsx)("div",{className:"bg-muted rounded-lg bt-3 border border-border",children:(0,bt.jsx)("div",{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-x-4 gap-y-1 text-xs",children:Object.entries(f.metadata).map(([u,g])=>(0,bt.jsxs)("div",{className:"flex gap-1",children:[(0,bt.jsxs)("span",{className:"text-muted-foreground font-medium",children:[u.replace(/([bt-Z])/g," $1").trim(),":"]}),(0,bt.jsx)("span",{className:"text-foreground truncate",children:String(g)})]},u))})})]}),(0,bt.jsx)("div",{className:"space-y-4",children:f.content||f.richTextContent?(0,bt.jsx)("div",{className:"relative",children:(0,bt.jsx)("div",{className:"bg-card border border-border rounded-xl bt-6 overflow-hidden",children:w(f.format==="richText"?f.richTextContent:f.content,f.format)})}):(0,bt.jsxs)("div",{className:"text-center py-12 bg-muted rounded-xl border-2 border-dashed border-border",children:[(0,bt.jsx)("div",{className:"w-16 h-16 mx-auto mb-4 rounded-full bg-background flex items-center justify-center",children:(0,bt.jsx)(J.FileText,{className:"h-8 w-8 text-muted-foreground"})}),(0,bt.jsx)("h4",{className:"text-foreground font-medium mb-1",children:"No content available"}),(0,bt.jsx)("bt",{className:"text-muted-foreground text-sm",children:"This document doesn't have preview content"})]})})]})})]})}function rt({label:e,documents:t,children:o,level:r,onDocumentClick:a,selectedDocumentId:n,showDocumentCount:s=!0}){let[i,v]=(0,ee.useState)(r===0),f=o&&Object.keys(o).length>0,M=t.length+(o?Object.values(o).reduce((w,N)=>w+N.documents.length,0):0),H=w=>{switch(w){case"markdown":case"mdx":return(0,bt.jsx)(J.FileText,{className:"h-3.5 w-3.5 text-muted-foreground"});case"richText":return(0,bt.jsx)(J.File,{className:"h-3.5 w-3.5 text-muted-foreground"});default:return(0,bt.jsx)(J.File,{className:"h-3.5 w-3.5 text-muted-foreground"})}},D=w=>{let N=["bg-primary","bg-secondary","bg-accent","bg-chart-1"];return N[w%N.length]};return(0,bt.jsxs)("div",{className:"space-y-1",children:[(f||t.length>0)&&(0,bt.jsxs)(pe.motion.div,{className:`group flex items-center gap-3 bt-3 rounded-xl cursor-pointer transition-all duration-200 ${i?"bg-card shadow-sm border border-border":"hover:bg-muted/50 hover:shadow-sm"}`,style:{marginLeft:`${r*20}px`},onClick:()=>v(!i),whileHover:{scale:1.01},whileTap:{scale:.99},children:[(0,bt.jsx)("div",{className:`w-1 h-6 rounded-full ${D(r)}`}),(0,bt.jsx)(pe.motion.div,{animate:{rotate:i?90:0},transition:{duration:.2},className:"flex-shrink-0",children:(0,bt.jsx)(J.ChevronRight,{className:"h-4 w-4 text-muted-foreground"})}),(0,bt.jsxs)("div",{className:"flex-1 flex items-center justify-between min-w-0",children:[(0,bt.jsx)("div",{className:"flex items-center gap-2 min-w-0",children:(0,bt.jsx)("span",{className:"font-medium text-foreground truncate",children:e})}),s&&M>0&&(0,bt.jsx)("div",{className:"flex-shrink-0 ml-2",children:(0,bt.jsx)("span",{className:"inline-flex items-center justify-center w-6 h-6 text-xs font-medium bg-muted text-muted-foreground rounded-full",children:M})})]})]}),(0,bt.jsx)(pe.motion.div,{initial:!1,animate:{height:i?"auto":0,opacity:i?1:0},transition:{duration:.2,ease:"easeInOut"},className:"overflow-hidden",children:(0,bt.jsxs)("div",{className:"pt-2 space-y-1",children:[t.map((w,N)=>(0,bt.jsxs)(pe.motion.div,{initial:{opacity:0,x:-10},animate:{opacity:1,x:0},transition:{delay:N*.05,duration:.2},className:`group flex items-center gap-3 bt-2.5 mx-2 rounded-lg cursor-pointer transition-all duration-150 ${n===w.id?"bg-primary/10 border-bt-2 border-primary shadow-sm":"hover:bg-muted/50 hover:translate-x-1"}`,style:{marginLeft:`${r*20+20}px`},onClick:()=>a?.(w),whileHover:{scale:1.01},whileTap:{scale:.99},children:[(0,bt.jsx)("div",{className:"flex-shrink-0",children:H(w.format)}),(0,bt.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,bt.jsx)("bt",{className:`text-sm truncate transition-colors ${n===w.id?"text-primary font-medium":"text-foreground group-hover:text-foreground"}`,children:w.title}),w.description&&(0,bt.jsx)("bt",{className:"text-xs text-muted-foreground truncate mt-0.5",children:w.description})]}),w.tags&&w.tags.length>0&&(0,bt.jsx)("div",{className:"flex-shrink-0",children:(0,bt.jsx)("span",{className:"inline-flex items-center px-2 py-1 rounded-md text-xs font-medium bg-muted text-muted-foreground group-hover:bg-muted/80 transition-colors",children:w.tags[0]})})]},w.id)),o&&Object.entries(o).map(([w,N])=>(0,bt.jsx)(rt,{label:w,documents:N.documents,children:N.children,level:r+1,onDocumentClick:a,selectedDocumentId:n,showDocumentCount:s},w))]})})]})}function mr({documents:e,menuConfig:t,onDocumentClick:o,onDocumentShare:r,onDocumentUpdate:a,selectedDocumentId:n,className:s,editable:i=!0}){let[v,f]=(0,ee.useState)(""),[M,H]=(0,ee.useState)(null),[D,w]=(0,ee.useState)(e);(0,ee.useEffect)(()=>{w(e)},[e]);let N=(0,ee.useMemo)(()=>v?D.filter(g=>g.title.toLowerCase().includes(v.toLowerCase())||g.description?.toLowerCase().includes(v.toLowerCase())||g.tags?.some(c=>c.toLowerCase().includes(v.toLowerCase()))||Object.values(g.metadata||{}).some(c=>String(c).toLowerCase().includes(v.toLowerCase()))):D,[D,v]),T=(0,ee.useMemo)(()=>{let g=(c,x)=>{if(x.length===0)return{};let[k,...$]=x;return c.reduce((O,F)=>{let U=F.metadata?.[k]||"Uncategorized",B=String(U);if(O[B]||(O[B]={documents:[],children:{}}),$.length===0)O[B].documents.push(F);else{let Z=g([F],$),P=Object.keys(Z)[0];P&&(O[B].children||(O[B].children={}),O[B].children[P]?O[B].children[P].documents.push(...Z[P].documents):O[B].children[P]=Z[P])}return O},{})};return g(N,t.groupBy)},[N,t.groupBy]),u=g=>{H(g),o?.(g)};return(0,bt.jsxs)("div",{className:`flex h-full ${s||""}`,children:[(0,bt.jsxs)("div",{className:"w-1/3 border-r border-border bg-muted/20",children:[(0,bt.jsx)("div",{className:"bt-6 border-b border-border",children:(0,bt.jsxs)("div",{className:"relative",children:[(0,bt.jsx)("div",{className:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none",children:(0,bt.jsx)(J.Search,{className:"h-4 w-4 text-muted-foreground"})}),(0,bt.jsx)(me,{placeholder:"Search knowledge base...",value:v,onChange:g=>f(g.target.value),className:"pl-10 bg-background/80 border-border focus:border-primary/50 focus:ring-primary/20 rounded-xl h-11 text-sm placeholder:text-muted-foreground"})]})}),(0,bt.jsx)(Ge,{className:"h-[calc(100%-100px)]",children:(0,bt.jsx)("div",{className:"bt-4 space-y-3",children:t.groupBy.length===0?(0,bt.jsx)(bt.Fragment,{children:(0,bt.jsx)(rt,{label:"Document",documents:N,level:0,onDocumentClick:u,selectedDocumentId:n,showDocumentCount:t.showDocumentCount},"Document")}):(0,bt.jsxs)(bt.Fragment,{children:[Object.entries(T).map(([g,c])=>(0,bt.jsx)(rt,{label:g,documents:c.documents,children:c.children,level:0,onDocumentClick:u,selectedDocumentId:n,showDocumentCount:t.showDocumentCount},g)),Object.keys(T).length===0&&(0,bt.jsxs)(pe.motion.div,{initial:{opacity:0},animate:{opacity:1},className:"text-center text-muted-foreground py-12",children:[(0,bt.jsx)("div",{className:"w-16 h-16 mx-auto mb-4 rounded-full bg-muted flex items-center justify-center",children:(0,bt.jsx)(J.FileText,{className:"h-8 w-8 text-muted-foreground"})}),(0,bt.jsx)("bt",{className:"text-sm font-medium",children:"No documents found"}),(0,bt.jsx)("bt",{className:"text-xs mt-1",children:"Try adjusting your search terms"})]})]})})})]}),(0,bt.jsx)("div",{className:"flex-1 bg-background",children:M?(0,bt.jsx)(uo,{document:M,onDocumentUpdate:a,editable:i}):(0,bt.jsx)("div",{className:"h-full flex items-center justify-center text-center",children:(0,bt.jsxs)(pe.motion.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.4},className:"max-w-sm",children:[(0,bt.jsx)("div",{className:"w-20 h-20 mx-auto mb-6 rounded-full bg-primary/10 flex items-center justify-center",children:(0,bt.jsx)(J.FileText,{className:"h-10 w-10 text-primary"})}),(0,bt.jsx)("h3",{className:"text-xl font-semibold text-foreground mb-2",children:"Select a document"}),(0,bt.jsx)("bt",{className:"text-muted-foreground leading-relaxed",children:"Choose any document from the knowledge base to view its content and details"})]})})})]})}0&&(module.exports={KnowledgeBrowser});
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- "use strict";import{a}from"../../chunk-UK7PR73C.mjs";import"../../chunk-UCPJ4KXN.mjs";import"../../chunk-RFRNTKO7.mjs";import"../../chunk-SX456QYL.mjs";import"../../chunk-EUMMM454.mjs";import"../../chunk-IPRG56MW.mjs";import"../../chunk-HFEN3KJC.mjs";import"../../chunk-L2UJOICL.mjs";import"../../chunk-T3F3RQIC.mjs";import"../../chunk-UP67R64J.mjs";import"../../chunk-6QERRKM4.mjs";import"../../chunk-VSU7LYXZ.mjs";import"../../chunk-Q5Q3DJWU.mjs";import"../../chunk-U5PBLRRV.mjs";import"../../chunk-4QRKVSTE.mjs";import"../../chunk-E4TE4NV6.mjs";import"../../chunk-JFFTEK6Z.mjs";import"../../chunk-JHNVX4UB.mjs";import"../../chunk-7BXIU4ZM.mjs";import"../../chunk-YFAZQYK4.mjs";import"../../chunk-INCYANPB.mjs";import"../../chunk-B4H6T2GP.mjs";import"../../chunk-TVZOULLL.mjs";import"../../chunk-RLVKIMGU.mjs";import"../../chunk-OCPX4QPC.mjs";import"../../chunk-FT3AE7L2.mjs";import"../../chunk-76M7JE4D.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-OYZDAMCS.mjs";import"../../chunk-5NRGSTPV.mjs";import"../../chunk-ZFUP5NVF.mjs";import"../../chunk-4UIARERB.mjs";import"../../chunk-D4IMQTVU.mjs";import"../../chunk-7GSXNSLD.mjs";import"../../chunk-YNCJATT7.mjs";import"../../chunk-L5JPAKPM.mjs";import"../../chunk-KY7WQYN4.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-EGEO3FNE.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-FRWX5YES.mjs";import"../../chunk-CV7PH2KH.mjs";import"../../chunk-YEKQJ4YC.mjs";export{a as KnowledgeBrowser};
2
+ "use strict";import{a}from"../../chunk-ZCBUDRT7.mjs";import"../../chunk-DA2BPW6D.mjs";import"../../chunk-ZAAHG2J7.mjs";import"../../chunk-RBJOTC2X.mjs";import"../../chunk-EUMMM454.mjs";import"../../chunk-IPRG56MW.mjs";import"../../chunk-HFEN3KJC.mjs";import"../../chunk-L2UJOICL.mjs";import"../../chunk-T3F3RQIC.mjs";import"../../chunk-UP67R64J.mjs";import"../../chunk-6QERRKM4.mjs";import"../../chunk-VSU7LYXZ.mjs";import"../../chunk-U5PBLRRV.mjs";import"../../chunk-Q5Q3DJWU.mjs";import"../../chunk-4QRKVSTE.mjs";import"../../chunk-E4TE4NV6.mjs";import"../../chunk-JFFTEK6Z.mjs";import"../../chunk-JHNVX4UB.mjs";import"../../chunk-7BXIU4ZM.mjs";import"../../chunk-YFAZQYK4.mjs";import"../../chunk-INCYANPB.mjs";import"../../chunk-B4H6T2GP.mjs";import"../../chunk-TVZOULLL.mjs";import"../../chunk-RLVKIMGU.mjs";import"../../chunk-OCPX4QPC.mjs";import"../../chunk-FT3AE7L2.mjs";import"../../chunk-76M7JE4D.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-OYZDAMCS.mjs";import"../../chunk-5NRGSTPV.mjs";import"../../chunk-PXLSH6S2.mjs";import"../../chunk-D4IMQTVU.mjs";import"../../chunk-7GSXNSLD.mjs";import"../../chunk-4UIARERB.mjs";import"../../chunk-YNCJATT7.mjs";import"../../chunk-L5JPAKPM.mjs";import"../../chunk-KY7WQYN4.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-EGEO3FNE.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-FRWX5YES.mjs";import"../../chunk-CV7PH2KH.mjs";import"../../chunk-YEKQJ4YC.mjs";export{a as KnowledgeBrowser};
@@ -1 +1 @@
1
- import{a}from"../../chunk-LAQ3QAUW.mjs";import"../../chunk-PDY7JYY3.mjs";import"../../chunk-L3BLBPSR.mjs";import"../../chunk-Q5XT55O3.mjs";import"../../chunk-WISC5QJV.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-EGEO3FNE.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-YEKQJ4YC.mjs";export{a as Header};
1
+ import{a}from"../../chunk-75WE6ZXB.mjs";import"../../chunk-PDY7JYY3.mjs";import"../../chunk-WUA65ZZB.mjs";import"../../chunk-WISC5QJV.mjs";import"../../chunk-Q5XT55O3.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-EGEO3FNE.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-YEKQJ4YC.mjs";export{a as Header};
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- "use strict";import{a}from"../../chunk-L3BLBPSR.mjs";import"../../chunk-Q5XT55O3.mjs";import"../../chunk-WISC5QJV.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-EGEO3FNE.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-YEKQJ4YC.mjs";export{a as HeaderDesktop};
2
+ "use strict";import{a}from"../../chunk-WUA65ZZB.mjs";import"../../chunk-WISC5QJV.mjs";import"../../chunk-Q5XT55O3.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-EGEO3FNE.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-YEKQJ4YC.mjs";export{a as HeaderDesktop};
@@ -1 +1 @@
1
- import{a}from"../../chunk-2OOJ4ZFB.mjs";import"../../chunk-FYQBRCQM.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-2QZUKVBA.mjs";import"../../chunk-SRUG246N.mjs";import"../../chunk-4CU7D3X2.mjs";import"../../chunk-JYL3XIJX.mjs";import"../../chunk-LVK4QE5D.mjs";import"../../chunk-NSMXJCXE.mjs";import"../../chunk-LKGCU7H6.mjs";import"../../chunk-5WV5ZFEP.mjs";import"../../chunk-KX2NCNCS.mjs";import"../../chunk-LEC6GEWS.mjs";import"../../chunk-VNYUNZ3M.mjs";import"../../chunk-UZSBX5GO.mjs";import"../../chunk-VRE6VCHX.mjs";import"../../chunk-KFCSVEI6.mjs";import"../../chunk-TEB67NCD.mjs";import"../../chunk-LXZAOORS.mjs";import"../../chunk-MGYV46AJ.mjs";import"../../chunk-CGDLOY7W.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-BG7QXNV5.mjs";import"../../chunk-BVFUCOCP.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-EGEO3FNE.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-YEKQJ4YC.mjs";export{a as SectionHeading};
1
+ import{a}from"../../chunk-2GZQYAN3.mjs";import"../../chunk-BGADMIWV.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-2QZUKVBA.mjs";import"../../chunk-SRUG246N.mjs";import"../../chunk-4CU7D3X2.mjs";import"../../chunk-JYL3XIJX.mjs";import"../../chunk-LVK4QE5D.mjs";import"../../chunk-NSMXJCXE.mjs";import"../../chunk-LKGCU7H6.mjs";import"../../chunk-5WV5ZFEP.mjs";import"../../chunk-KX2NCNCS.mjs";import"../../chunk-LEC6GEWS.mjs";import"../../chunk-UZSBX5GO.mjs";import"../../chunk-VNYUNZ3M.mjs";import"../../chunk-VRE6VCHX.mjs";import"../../chunk-KFCSVEI6.mjs";import"../../chunk-TEB67NCD.mjs";import"../../chunk-LXZAOORS.mjs";import"../../chunk-MGYV46AJ.mjs";import"../../chunk-CGDLOY7W.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-BG7QXNV5.mjs";import"../../chunk-BVFUCOCP.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-EGEO3FNE.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-YEKQJ4YC.mjs";export{a as SectionHeading};
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- "use strict";import{a}from"../../chunk-FHMQVAKQ.mjs";import"../../chunk-X5KZKO2V.mjs";import"../../chunk-7WIO2CIC.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FMJBJ3HN.mjs";import"../../chunk-EGEO3FNE.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-YEKQJ4YC.mjs";export{a as VideoHeader};
2
+ "use strict";import{a}from"../../chunk-FHMQVAKQ.mjs";import"../../chunk-X5KZKO2V.mjs";import"../../chunk-7WIO2CIC.mjs";import"../../chunk-FMJBJ3HN.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-EGEO3FNE.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-YEKQJ4YC.mjs";export{a as VideoHeader};
@@ -1 +1 @@
1
- import{a as h}from"../../chunk-22LHS2J6.mjs";import{a}from"../../chunk-IC2ABKAM.mjs";import{a as b}from"../../chunk-FHMQVAKQ.mjs";import"../../chunk-X5KZKO2V.mjs";import"../../chunk-7WIO2CIC.mjs";import"../../chunk-55EX54R7.mjs";import{a as f}from"../../chunk-6C4WESLL.mjs";import{a as g}from"../../chunk-LAQ3QAUW.mjs";import{a as e}from"../../chunk-PDY7JYY3.mjs";import{a as d}from"../../chunk-L3BLBPSR.mjs";import{a as c}from"../../chunk-Q5XT55O3.mjs";import"../../chunk-WISC5QJV.mjs";import"../../chunk-ZDPQXVTF.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FMJBJ3HN.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-EGEO3FNE.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-YEKQJ4YC.mjs";export{c as BrandLogo,f as Footer,g as Header,d as HeaderDesktop,e as HeaderMobile,h as RelatedPagesMenu,a as SimpleHeader,b as VideoHeader};
1
+ import"../../chunk-ZDPQXVTF.mjs";import{a as h}from"../../chunk-22LHS2J6.mjs";import{a}from"../../chunk-IC2ABKAM.mjs";import{a as b}from"../../chunk-FHMQVAKQ.mjs";import"../../chunk-X5KZKO2V.mjs";import"../../chunk-7WIO2CIC.mjs";import"../../chunk-55EX54R7.mjs";import{a as f}from"../../chunk-6C4WESLL.mjs";import{a as g}from"../../chunk-75WE6ZXB.mjs";import{a as e}from"../../chunk-PDY7JYY3.mjs";import{a as d}from"../../chunk-WUA65ZZB.mjs";import"../../chunk-WISC5QJV.mjs";import{a as c}from"../../chunk-Q5XT55O3.mjs";import"../../chunk-FMJBJ3HN.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-EGEO3FNE.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-YEKQJ4YC.mjs";export{c as BrandLogo,f as Footer,g as Header,d as HeaderDesktop,e as HeaderMobile,h as RelatedPagesMenu,a as SimpleHeader,b as VideoHeader};
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- "use strict";import{a}from"../../../chunk-GETYSIZV.mjs";import"../../../chunk-FYQBRCQM.mjs";import"../../../chunk-O5BAW5XQ.mjs";import"../../../chunk-2QZUKVBA.mjs";import"../../../chunk-SRUG246N.mjs";import"../../../chunk-4CU7D3X2.mjs";import"../../../chunk-JYL3XIJX.mjs";import"../../../chunk-LVK4QE5D.mjs";import"../../../chunk-NSMXJCXE.mjs";import"../../../chunk-LKGCU7H6.mjs";import"../../../chunk-5WV5ZFEP.mjs";import"../../../chunk-KX2NCNCS.mjs";import"../../../chunk-LEC6GEWS.mjs";import"../../../chunk-VNYUNZ3M.mjs";import"../../../chunk-UZSBX5GO.mjs";import"../../../chunk-VRE6VCHX.mjs";import"../../../chunk-KFCSVEI6.mjs";import"../../../chunk-TEB67NCD.mjs";import"../../../chunk-LXZAOORS.mjs";import"../../../chunk-MGYV46AJ.mjs";import"../../../chunk-CGDLOY7W.mjs";import"../../../chunk-3UMMMQEH.mjs";import"../../../chunk-ZUA4KNIR.mjs";import"../../../chunk-BG7QXNV5.mjs";import"../../../chunk-BVFUCOCP.mjs";import"../../../chunk-SOLZ4VQH.mjs";import"../../../chunk-CSBGSBEU.mjs";import"../../../chunk-YO3GQYRJ.mjs";import"../../../chunk-WISCWNL2.mjs";import"../../../chunk-FVM5SQT2.mjs";import"../../../chunk-EGEO3FNE.mjs";import"../../../chunk-MDJREBVI.mjs";import"../../../chunk-ZWHGOTSF.mjs";import"../../../chunk-Q3G5UAAD.mjs";import"../../../chunk-XGRRLABA.mjs";import"../../../chunk-YEKQJ4YC.mjs";export{a as HighImpactHero};
2
+ "use strict";import{a}from"../../../chunk-5KS3DITB.mjs";import"../../../chunk-BGADMIWV.mjs";import"../../../chunk-O5BAW5XQ.mjs";import"../../../chunk-2QZUKVBA.mjs";import"../../../chunk-SRUG246N.mjs";import"../../../chunk-4CU7D3X2.mjs";import"../../../chunk-JYL3XIJX.mjs";import"../../../chunk-LVK4QE5D.mjs";import"../../../chunk-NSMXJCXE.mjs";import"../../../chunk-LKGCU7H6.mjs";import"../../../chunk-5WV5ZFEP.mjs";import"../../../chunk-KX2NCNCS.mjs";import"../../../chunk-LEC6GEWS.mjs";import"../../../chunk-UZSBX5GO.mjs";import"../../../chunk-VNYUNZ3M.mjs";import"../../../chunk-VRE6VCHX.mjs";import"../../../chunk-KFCSVEI6.mjs";import"../../../chunk-TEB67NCD.mjs";import"../../../chunk-LXZAOORS.mjs";import"../../../chunk-MGYV46AJ.mjs";import"../../../chunk-CGDLOY7W.mjs";import"../../../chunk-3UMMMQEH.mjs";import"../../../chunk-ZUA4KNIR.mjs";import"../../../chunk-BG7QXNV5.mjs";import"../../../chunk-BVFUCOCP.mjs";import"../../../chunk-SOLZ4VQH.mjs";import"../../../chunk-CSBGSBEU.mjs";import"../../../chunk-YO3GQYRJ.mjs";import"../../../chunk-WISCWNL2.mjs";import"../../../chunk-FVM5SQT2.mjs";import"../../../chunk-EGEO3FNE.mjs";import"../../../chunk-MDJREBVI.mjs";import"../../../chunk-ZWHGOTSF.mjs";import"../../../chunk-Q3G5UAAD.mjs";import"../../../chunk-XGRRLABA.mjs";import"../../../chunk-YEKQJ4YC.mjs";export{a as HighImpactHero};
@@ -1 +1 @@
1
- import{a}from"../../../chunk-U3FYDDE2.mjs";import"../../../chunk-FYQBRCQM.mjs";import"../../../chunk-O5BAW5XQ.mjs";import"../../../chunk-2QZUKVBA.mjs";import"../../../chunk-SRUG246N.mjs";import"../../../chunk-4CU7D3X2.mjs";import"../../../chunk-JYL3XIJX.mjs";import"../../../chunk-LVK4QE5D.mjs";import"../../../chunk-NSMXJCXE.mjs";import"../../../chunk-LKGCU7H6.mjs";import"../../../chunk-5WV5ZFEP.mjs";import"../../../chunk-KX2NCNCS.mjs";import"../../../chunk-LEC6GEWS.mjs";import"../../../chunk-VNYUNZ3M.mjs";import"../../../chunk-UZSBX5GO.mjs";import"../../../chunk-VRE6VCHX.mjs";import"../../../chunk-KFCSVEI6.mjs";import"../../../chunk-TEB67NCD.mjs";import"../../../chunk-LXZAOORS.mjs";import"../../../chunk-MGYV46AJ.mjs";import"../../../chunk-CGDLOY7W.mjs";import"../../../chunk-3UMMMQEH.mjs";import"../../../chunk-ZUA4KNIR.mjs";import"../../../chunk-BG7QXNV5.mjs";import"../../../chunk-BVFUCOCP.mjs";import"../../../chunk-SOLZ4VQH.mjs";import"../../../chunk-CSBGSBEU.mjs";import"../../../chunk-YO3GQYRJ.mjs";import"../../../chunk-WISCWNL2.mjs";import"../../../chunk-FVM5SQT2.mjs";import"../../../chunk-EGEO3FNE.mjs";import"../../../chunk-MDJREBVI.mjs";import"../../../chunk-ZWHGOTSF.mjs";import"../../../chunk-Q3G5UAAD.mjs";import"../../../chunk-XGRRLABA.mjs";import"../../../chunk-YEKQJ4YC.mjs";export{a as LowImpactHero};
1
+ import{a}from"../../../chunk-Y62OBV2E.mjs";import"../../../chunk-BGADMIWV.mjs";import"../../../chunk-O5BAW5XQ.mjs";import"../../../chunk-2QZUKVBA.mjs";import"../../../chunk-SRUG246N.mjs";import"../../../chunk-4CU7D3X2.mjs";import"../../../chunk-JYL3XIJX.mjs";import"../../../chunk-LVK4QE5D.mjs";import"../../../chunk-NSMXJCXE.mjs";import"../../../chunk-LKGCU7H6.mjs";import"../../../chunk-5WV5ZFEP.mjs";import"../../../chunk-KX2NCNCS.mjs";import"../../../chunk-LEC6GEWS.mjs";import"../../../chunk-UZSBX5GO.mjs";import"../../../chunk-VNYUNZ3M.mjs";import"../../../chunk-VRE6VCHX.mjs";import"../../../chunk-KFCSVEI6.mjs";import"../../../chunk-TEB67NCD.mjs";import"../../../chunk-LXZAOORS.mjs";import"../../../chunk-MGYV46AJ.mjs";import"../../../chunk-CGDLOY7W.mjs";import"../../../chunk-3UMMMQEH.mjs";import"../../../chunk-ZUA4KNIR.mjs";import"../../../chunk-BG7QXNV5.mjs";import"../../../chunk-BVFUCOCP.mjs";import"../../../chunk-SOLZ4VQH.mjs";import"../../../chunk-CSBGSBEU.mjs";import"../../../chunk-YO3GQYRJ.mjs";import"../../../chunk-WISCWNL2.mjs";import"../../../chunk-FVM5SQT2.mjs";import"../../../chunk-EGEO3FNE.mjs";import"../../../chunk-MDJREBVI.mjs";import"../../../chunk-ZWHGOTSF.mjs";import"../../../chunk-Q3G5UAAD.mjs";import"../../../chunk-XGRRLABA.mjs";import"../../../chunk-YEKQJ4YC.mjs";export{a as LowImpactHero};
@@ -1 +1 @@
1
- import{a}from"../../../chunk-HKMNAXLM.mjs";import"../../../chunk-FYQBRCQM.mjs";import"../../../chunk-O5BAW5XQ.mjs";import"../../../chunk-2QZUKVBA.mjs";import"../../../chunk-SRUG246N.mjs";import"../../../chunk-4CU7D3X2.mjs";import"../../../chunk-JYL3XIJX.mjs";import"../../../chunk-LVK4QE5D.mjs";import"../../../chunk-NSMXJCXE.mjs";import"../../../chunk-LKGCU7H6.mjs";import"../../../chunk-5WV5ZFEP.mjs";import"../../../chunk-KX2NCNCS.mjs";import"../../../chunk-LEC6GEWS.mjs";import"../../../chunk-VNYUNZ3M.mjs";import"../../../chunk-UZSBX5GO.mjs";import"../../../chunk-VRE6VCHX.mjs";import"../../../chunk-KFCSVEI6.mjs";import"../../../chunk-TEB67NCD.mjs";import"../../../chunk-LXZAOORS.mjs";import"../../../chunk-MGYV46AJ.mjs";import"../../../chunk-CGDLOY7W.mjs";import"../../../chunk-3UMMMQEH.mjs";import"../../../chunk-ZUA4KNIR.mjs";import"../../../chunk-BG7QXNV5.mjs";import"../../../chunk-BVFUCOCP.mjs";import"../../../chunk-SOLZ4VQH.mjs";import"../../../chunk-CSBGSBEU.mjs";import"../../../chunk-YO3GQYRJ.mjs";import"../../../chunk-WISCWNL2.mjs";import"../../../chunk-FVM5SQT2.mjs";import"../../../chunk-EGEO3FNE.mjs";import"../../../chunk-MDJREBVI.mjs";import"../../../chunk-ZWHGOTSF.mjs";import"../../../chunk-Q3G5UAAD.mjs";import"../../../chunk-XGRRLABA.mjs";import"../../../chunk-YEKQJ4YC.mjs";export{a as MediumImpactHero};
1
+ import{a}from"../../../chunk-BN747TQM.mjs";import"../../../chunk-BGADMIWV.mjs";import"../../../chunk-O5BAW5XQ.mjs";import"../../../chunk-2QZUKVBA.mjs";import"../../../chunk-SRUG246N.mjs";import"../../../chunk-4CU7D3X2.mjs";import"../../../chunk-JYL3XIJX.mjs";import"../../../chunk-LVK4QE5D.mjs";import"../../../chunk-NSMXJCXE.mjs";import"../../../chunk-LKGCU7H6.mjs";import"../../../chunk-5WV5ZFEP.mjs";import"../../../chunk-KX2NCNCS.mjs";import"../../../chunk-LEC6GEWS.mjs";import"../../../chunk-UZSBX5GO.mjs";import"../../../chunk-VNYUNZ3M.mjs";import"../../../chunk-VRE6VCHX.mjs";import"../../../chunk-KFCSVEI6.mjs";import"../../../chunk-TEB67NCD.mjs";import"../../../chunk-LXZAOORS.mjs";import"../../../chunk-MGYV46AJ.mjs";import"../../../chunk-CGDLOY7W.mjs";import"../../../chunk-3UMMMQEH.mjs";import"../../../chunk-ZUA4KNIR.mjs";import"../../../chunk-BG7QXNV5.mjs";import"../../../chunk-BVFUCOCP.mjs";import"../../../chunk-SOLZ4VQH.mjs";import"../../../chunk-CSBGSBEU.mjs";import"../../../chunk-YO3GQYRJ.mjs";import"../../../chunk-WISCWNL2.mjs";import"../../../chunk-FVM5SQT2.mjs";import"../../../chunk-EGEO3FNE.mjs";import"../../../chunk-MDJREBVI.mjs";import"../../../chunk-ZWHGOTSF.mjs";import"../../../chunk-Q3G5UAAD.mjs";import"../../../chunk-XGRRLABA.mjs";import"../../../chunk-YEKQJ4YC.mjs";export{a as MediumImpactHero};
@@ -1 +1 @@
1
- import{a}from"../../../chunk-F5N6KQA2.mjs";import"../../../chunk-Q5Q3DJWU.mjs";import"../../../chunk-U5PBLRRV.mjs";import"../../../chunk-4QRKVSTE.mjs";import"../../../chunk-E4TE4NV6.mjs";import"../../../chunk-JFFTEK6Z.mjs";import"../../../chunk-JHNVX4UB.mjs";import"../../../chunk-7BXIU4ZM.mjs";import"../../../chunk-YFAZQYK4.mjs";import"../../../chunk-INCYANPB.mjs";import"../../../chunk-B4H6T2GP.mjs";import"../../../chunk-TVZOULLL.mjs";import"../../../chunk-RLVKIMGU.mjs";import"../../../chunk-OCPX4QPC.mjs";import"../../../chunk-FT3AE7L2.mjs";import"../../../chunk-YNNW2C2U.mjs";import"../../../chunk-76M7JE4D.mjs";import"../../../chunk-3UMMMQEH.mjs";import"../../../chunk-OYZDAMCS.mjs";import"../../../chunk-5NRGSTPV.mjs";import"../../../chunk-ZFUP5NVF.mjs";import"../../../chunk-4UIARERB.mjs";import"../../../chunk-D4IMQTVU.mjs";import"../../../chunk-7GSXNSLD.mjs";import"../../../chunk-YNCJATT7.mjs";import"../../../chunk-L5JPAKPM.mjs";import"../../../chunk-KY7WQYN4.mjs";import"../../../chunk-ZUA4KNIR.mjs";import"../../../chunk-SOLZ4VQH.mjs";import"../../../chunk-CSBGSBEU.mjs";import"../../../chunk-YO3GQYRJ.mjs";import"../../../chunk-EGEO3FNE.mjs";import"../../../chunk-MDJREBVI.mjs";import"../../../chunk-ZWHGOTSF.mjs";import"../../../chunk-Q3G5UAAD.mjs";import"../../../chunk-XGRRLABA.mjs";import"../../../chunk-FRWX5YES.mjs";import"../../../chunk-CV7PH2KH.mjs";import"../../../chunk-YEKQJ4YC.mjs";export{a as PostHero};
1
+ import{a}from"../../../chunk-F5N6KQA2.mjs";import"../../../chunk-U5PBLRRV.mjs";import"../../../chunk-Q5Q3DJWU.mjs";import"../../../chunk-4QRKVSTE.mjs";import"../../../chunk-E4TE4NV6.mjs";import"../../../chunk-JFFTEK6Z.mjs";import"../../../chunk-JHNVX4UB.mjs";import"../../../chunk-7BXIU4ZM.mjs";import"../../../chunk-YFAZQYK4.mjs";import"../../../chunk-INCYANPB.mjs";import"../../../chunk-B4H6T2GP.mjs";import"../../../chunk-TVZOULLL.mjs";import"../../../chunk-RLVKIMGU.mjs";import"../../../chunk-OCPX4QPC.mjs";import"../../../chunk-FT3AE7L2.mjs";import"../../../chunk-YNNW2C2U.mjs";import"../../../chunk-76M7JE4D.mjs";import"../../../chunk-3UMMMQEH.mjs";import"../../../chunk-OYZDAMCS.mjs";import"../../../chunk-5NRGSTPV.mjs";import"../../../chunk-PXLSH6S2.mjs";import"../../../chunk-D4IMQTVU.mjs";import"../../../chunk-7GSXNSLD.mjs";import"../../../chunk-4UIARERB.mjs";import"../../../chunk-YNCJATT7.mjs";import"../../../chunk-L5JPAKPM.mjs";import"../../../chunk-KY7WQYN4.mjs";import"../../../chunk-ZUA4KNIR.mjs";import"../../../chunk-SOLZ4VQH.mjs";import"../../../chunk-CSBGSBEU.mjs";import"../../../chunk-YO3GQYRJ.mjs";import"../../../chunk-EGEO3FNE.mjs";import"../../../chunk-MDJREBVI.mjs";import"../../../chunk-ZWHGOTSF.mjs";import"../../../chunk-Q3G5UAAD.mjs";import"../../../chunk-XGRRLABA.mjs";import"../../../chunk-FRWX5YES.mjs";import"../../../chunk-CV7PH2KH.mjs";import"../../../chunk-YEKQJ4YC.mjs";export{a as PostHero};
@@ -1 +1 @@
1
- import{a,b}from"../../chunk-GQEGZKN6.mjs";import"../../chunk-MZP7RIQZ.mjs";import"../../chunk-U3FYDDE2.mjs";import"../../chunk-HKMNAXLM.mjs";import"../../chunk-GETYSIZV.mjs";import"../../chunk-FYQBRCQM.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-2QZUKVBA.mjs";import"../../chunk-SRUG246N.mjs";import"../../chunk-4CU7D3X2.mjs";import"../../chunk-JYL3XIJX.mjs";import"../../chunk-LVK4QE5D.mjs";import"../../chunk-NSMXJCXE.mjs";import"../../chunk-LKGCU7H6.mjs";import"../../chunk-5WV5ZFEP.mjs";import"../../chunk-KX2NCNCS.mjs";import"../../chunk-LEC6GEWS.mjs";import"../../chunk-VNYUNZ3M.mjs";import"../../chunk-UZSBX5GO.mjs";import"../../chunk-VRE6VCHX.mjs";import"../../chunk-KFCSVEI6.mjs";import"../../chunk-TEB67NCD.mjs";import"../../chunk-LXZAOORS.mjs";import"../../chunk-MGYV46AJ.mjs";import"../../chunk-CGDLOY7W.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-BG7QXNV5.mjs";import"../../chunk-BVFUCOCP.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-X5KZKO2V.mjs";import"../../chunk-7WIO2CIC.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FMJBJ3HN.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-EGEO3FNE.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-YEKQJ4YC.mjs";export{b as Breadcrumbs,a as RenderHero};
1
+ import{a,b}from"../../chunk-I6OBIS4J.mjs";import"../../chunk-MZP7RIQZ.mjs";import"../../chunk-BN747TQM.mjs";import"../../chunk-5KS3DITB.mjs";import"../../chunk-Y62OBV2E.mjs";import"../../chunk-BGADMIWV.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-2QZUKVBA.mjs";import"../../chunk-SRUG246N.mjs";import"../../chunk-4CU7D3X2.mjs";import"../../chunk-JYL3XIJX.mjs";import"../../chunk-LVK4QE5D.mjs";import"../../chunk-NSMXJCXE.mjs";import"../../chunk-LKGCU7H6.mjs";import"../../chunk-5WV5ZFEP.mjs";import"../../chunk-KX2NCNCS.mjs";import"../../chunk-LEC6GEWS.mjs";import"../../chunk-UZSBX5GO.mjs";import"../../chunk-VNYUNZ3M.mjs";import"../../chunk-VRE6VCHX.mjs";import"../../chunk-KFCSVEI6.mjs";import"../../chunk-TEB67NCD.mjs";import"../../chunk-LXZAOORS.mjs";import"../../chunk-MGYV46AJ.mjs";import"../../chunk-CGDLOY7W.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-BG7QXNV5.mjs";import"../../chunk-BVFUCOCP.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-X5KZKO2V.mjs";import"../../chunk-7WIO2CIC.mjs";import"../../chunk-FMJBJ3HN.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-EGEO3FNE.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-YEKQJ4YC.mjs";export{b as Breadcrumbs,a as RenderHero};
@@ -1 +1 @@
1
- import{a}from"../../../chunk-MZP7RIQZ.mjs";import"../../../chunk-X5KZKO2V.mjs";import"../../../chunk-7WIO2CIC.mjs";import"../../../chunk-WISCWNL2.mjs";import"../../../chunk-FMJBJ3HN.mjs";import"../../../chunk-EGEO3FNE.mjs";import"../../../chunk-MDJREBVI.mjs";import"../../../chunk-ZWHGOTSF.mjs";import"../../../chunk-Q3G5UAAD.mjs";import"../../../chunk-XGRRLABA.mjs";import"../../../chunk-YEKQJ4YC.mjs";export{a as SectionHero};
1
+ import{a}from"../../../chunk-MZP7RIQZ.mjs";import"../../../chunk-X5KZKO2V.mjs";import"../../../chunk-7WIO2CIC.mjs";import"../../../chunk-FMJBJ3HN.mjs";import"../../../chunk-WISCWNL2.mjs";import"../../../chunk-EGEO3FNE.mjs";import"../../../chunk-MDJREBVI.mjs";import"../../../chunk-ZWHGOTSF.mjs";import"../../../chunk-Q3G5UAAD.mjs";import"../../../chunk-XGRRLABA.mjs";import"../../../chunk-YEKQJ4YC.mjs";export{a as SectionHero};