cortex-react-components 1.65.3 → 1.65.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (166) hide show
  1. package/dist/{chunk-737CTHXW.mjs → chunk-26JAUUHC.mjs} +1 -1
  2. package/dist/{chunk-BZBPA7IN.mjs → chunk-2MTAQ2YX.mjs} +1 -1
  3. package/dist/{chunk-6BDDYPGK.mjs → chunk-35SLQX5Z.mjs} +1 -1
  4. package/dist/{chunk-EDB4YGKM.mjs → chunk-3FZPSPIZ.mjs} +1 -1
  5. package/dist/{chunk-RVA4WIRX.mjs → chunk-4AT3EYCF.mjs} +1 -1
  6. package/dist/{chunk-R4QBZLWY.mjs → chunk-BFESGJZ4.mjs} +1 -1
  7. package/dist/{chunk-QUOLG5NC.mjs → chunk-BGQKHEB3.mjs} +1 -1
  8. package/dist/{chunk-XLURG5E2.mjs → chunk-CSFID44M.mjs} +1 -1
  9. package/dist/{chunk-LBOJXQGC.mjs → chunk-D6TOSZKM.mjs} +1 -1
  10. package/dist/{chunk-DV2PY5FI.mjs → chunk-DNOTHVMH.mjs} +1 -1
  11. package/dist/{chunk-FM2YMSMY.mjs → chunk-E6JYZMWA.mjs} +1 -1
  12. package/dist/{chunk-L45A6K4C.mjs → chunk-E7W2GFKO.mjs} +1 -1
  13. package/dist/{chunk-OINI2PT2.mjs → chunk-FE7YQRL2.mjs} +1 -1
  14. package/dist/{chunk-BP62X7AM.mjs → chunk-FSQNNG2C.mjs} +1 -1
  15. package/dist/{chunk-UVPODMUO.mjs → chunk-FYEE5UWZ.mjs} +1 -1
  16. package/dist/{chunk-NZKW64NF.mjs → chunk-GWBCK4SV.mjs} +1 -1
  17. package/dist/{chunk-VXGRJCCM.mjs → chunk-IC57R2EU.mjs} +1 -1
  18. package/dist/{chunk-W3ONOYB6.mjs → chunk-JPWY5ADC.mjs} +1 -1
  19. package/dist/{chunk-3RPTKOCL.mjs → chunk-JRFNBHPL.mjs} +1 -1
  20. package/dist/{chunk-MYDBD7LR.mjs → chunk-JXW2QARY.mjs} +1 -1
  21. package/dist/{chunk-MJUFOUCH.mjs → chunk-K347D5ZJ.mjs} +1 -1
  22. package/dist/{chunk-V3H2VIQR.mjs → chunk-KD7K2ENG.mjs} +1 -1
  23. package/dist/{chunk-VEVYFZEV.mjs → chunk-KFQ3L3TO.mjs} +1 -1
  24. package/dist/{chunk-7O2TMDTD.mjs → chunk-KWTCUGN5.mjs} +1 -1
  25. package/dist/{chunk-ND4NY6SK.mjs → chunk-LSVWCONK.mjs} +1 -1
  26. package/dist/{chunk-ANTK5LAD.mjs → chunk-N363IQBL.mjs} +1 -1
  27. package/dist/{chunk-MCE2INP2.mjs → chunk-N4NSSICX.mjs} +1 -1
  28. package/dist/{chunk-6JAIW45L.mjs → chunk-NLA3SBVN.mjs} +1 -1
  29. package/dist/{chunk-ZJZ5HYAW.mjs → chunk-OU3PM75Z.mjs} +1 -1
  30. package/dist/{chunk-37NBXA5G.mjs → chunk-PADGOK5C.mjs} +1 -1
  31. package/dist/{chunk-DAJNZDN6.mjs → chunk-PBRC3UOA.mjs} +1 -1
  32. package/dist/{chunk-CYVVXQ2A.mjs → chunk-PKDUSZWL.mjs} +1 -1
  33. package/dist/{chunk-22KXWTT3.mjs → chunk-PYAM4YXE.mjs} +1 -1
  34. package/dist/{chunk-5J244QX4.mjs → chunk-RGWP2OVM.mjs} +1 -1
  35. package/dist/{chunk-MO44Z74W.mjs → chunk-S7FH27PL.mjs} +1 -1
  36. package/dist/{chunk-KETV2XVN.mjs → chunk-SX5U74MW.mjs} +1 -1
  37. package/dist/{chunk-BA6HNFXB.mjs → chunk-TFP6VQ32.mjs} +1 -1
  38. package/dist/{chunk-4EQF35LM.mjs → chunk-TT4SPGZU.mjs} +1 -1
  39. package/dist/{chunk-HB4BHTNM.mjs → chunk-V5EOKY7D.mjs} +1 -1
  40. package/dist/{chunk-MRJQKF4Z.mjs → chunk-VNGK6ACI.mjs} +1 -1
  41. package/dist/chunk-WXZ3IRTS.mjs +1 -0
  42. package/dist/{chunk-666KIWPS.mjs → chunk-YRJA3PJ5.mjs} +1 -1
  43. package/dist/{chunk-PKSY2IBO.mjs → chunk-YWVLHQ3L.mjs} +1 -1
  44. package/dist/{chunk-HBE5POUB.mjs → chunk-ZKBLFPGO.mjs} +1 -1
  45. package/dist/{chunk-Z6NED523.mjs → chunk-ZY2PDUUB.mjs} +1 -1
  46. package/dist/{chunk-SUO6GOJS.mjs → chunk-ZYYWN6XG.mjs} +1 -1
  47. package/dist/components/Blocks/Banner.mjs +1 -1
  48. package/dist/components/Blocks/CallToAction.mjs +1 -1
  49. package/dist/components/Blocks/CallToAction.stories.mjs +1 -1
  50. package/dist/components/Blocks/CollapsibleArea.mjs +1 -1
  51. package/dist/components/Blocks/CollapsibleArea.stories.mjs +1 -1
  52. package/dist/components/Blocks/Content.mjs +1 -1
  53. package/dist/components/Blocks/Content.stories.mjs +1 -1
  54. package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
  55. package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
  56. package/dist/components/Blocks/ImageBlock.mjs +1 -1
  57. package/dist/components/Blocks/MediaBlock.mjs +1 -1
  58. package/dist/components/Blocks/RelatedPosts.mjs +1 -1
  59. package/dist/components/Blocks/RenderBlocks.mjs +1 -1
  60. package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
  61. package/dist/components/Blocks/index.mjs +1 -1
  62. package/dist/components/CRM/CogeBoard.js +1 -1
  63. package/dist/components/CRM/CogeBoard.mjs +1 -1
  64. package/dist/components/CRM/CogeBoard.stories.js +1 -1
  65. package/dist/components/CRM/CogeBoard.stories.mjs +1 -1
  66. package/dist/components/CRM/DealCard.js +1 -1
  67. package/dist/components/CRM/DealCard.mjs +1 -1
  68. package/dist/components/CRM/DealCard.stories.js +1 -1
  69. package/dist/components/CRM/DealCard.stories.mjs +1 -1
  70. package/dist/components/CRM/KanbanBoard.js +1 -1
  71. package/dist/components/CRM/KanbanBoard.mjs +1 -1
  72. package/dist/components/CRM/KanbanBoard.stories.js +1 -1
  73. package/dist/components/CRM/KanbanBoard.stories.mjs +1 -1
  74. package/dist/components/CRM/KanbanColumn.js +1 -1
  75. package/dist/components/CRM/KanbanColumn.mjs +1 -1
  76. package/dist/components/CRM/KanbanColumn.stories.js +1 -1
  77. package/dist/components/CRM/KanbanColumn.stories.mjs +1 -1
  78. package/dist/components/CRM/index.js +1 -1
  79. package/dist/components/CRM/index.mjs +1 -1
  80. package/dist/components/Cards/ContentCard.mjs +1 -1
  81. package/dist/components/Cards/ContentCard.stories.mjs +1 -1
  82. package/dist/components/Cards/FeatureCard.mjs +1 -1
  83. package/dist/components/Cards/FeatureCard.stories.mjs +1 -1
  84. package/dist/components/Cards/index.mjs +1 -1
  85. package/dist/components/DigitalColleagues/AppSidebarLeft.mjs +1 -1
  86. package/dist/components/DigitalColleagues/KanbanBoard.mjs +1 -1
  87. package/dist/components/DigitalColleagues/KanbanBoard.stories.mjs +1 -1
  88. package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
  89. package/dist/components/DigitalColleagues/MainPage.stories.mjs +1 -1
  90. package/dist/components/DigitalColleagues/ManagementSidebar.mjs +1 -1
  91. package/dist/components/DigitalColleagues/ManagementSidebar.stories.mjs +1 -1
  92. package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
  93. package/dist/components/Heros/HighImpact/index.mjs +1 -1
  94. package/dist/components/Heros/LowImpact/index.mjs +1 -1
  95. package/dist/components/Heros/MediumImpact/index.mjs +1 -1
  96. package/dist/components/Heros/PostHero/index.mjs +1 -1
  97. package/dist/components/Heros/RenderHero.mjs +1 -1
  98. package/dist/components/Heros/index.mjs +1 -1
  99. package/dist/components/Layouts/FeatureGrid.stories.mjs +1 -1
  100. package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
  101. package/dist/components/Layouts/Print.mjs +1 -1
  102. package/dist/components/Layouts/Print.stories.mjs +1 -1
  103. package/dist/components/Layouts/SlideShow.mjs +1 -1
  104. package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
  105. package/dist/components/Layouts/index.mjs +1 -1
  106. package/dist/components/Menus/SidebarLeft.mjs +1 -1
  107. package/dist/components/Menus/SidebarLeft.stories.mjs +1 -1
  108. package/dist/components/Menus/SidebarRight.mjs +1 -1
  109. package/dist/components/Menus/SidebarRight.stories.mjs +1 -1
  110. package/dist/components/Menus/index.mjs +1 -1
  111. package/dist/components/Payload/Card/index.mjs +1 -1
  112. package/dist/components/Payload/CollectionArchive/index.mjs +1 -1
  113. package/dist/components/Payload/Media/index.mjs +1 -1
  114. package/dist/components/Payload/RichText/index.mjs +1 -1
  115. package/dist/components/Payload/RichText/serialize.mjs +1 -1
  116. package/dist/components/Payload/RichText.stories.mjs +1 -1
  117. package/dist/components/Payload/index.mjs +1 -1
  118. package/dist/components/index.js +1 -1
  119. package/dist/components/index.mjs +1 -1
  120. package/dist/components/ui/index.mjs +1 -1
  121. package/dist/components/ui/sidebar.mjs +1 -1
  122. package/dist/globals.css +1 -1
  123. package/dist/hooks/index.mjs +1 -1
  124. package/dist/index.js +1 -1
  125. package/dist/index.mjs +1 -1
  126. package/dist/metafile-cjs.json +1 -1
  127. package/dist/metafile-esm.json +1 -1
  128. package/dist/pages/Blog.mjs +1 -1
  129. package/dist/pages/Blog.stories.mjs +1 -1
  130. package/dist/pages/Documentation.mjs +1 -1
  131. package/dist/pages/Documentation.stories.mjs +1 -1
  132. package/dist/pages/IndexPage.mjs +1 -1
  133. package/dist/pages/IndexPage.stories.mjs +1 -1
  134. package/dist/pages/LandingPage.mjs +1 -1
  135. package/dist/pages/LandingPage.stories.mjs +1 -1
  136. package/dist/pages/Page.mjs +1 -1
  137. package/dist/pages/Page.stories.mjs +1 -1
  138. package/dist/pages/Printable.stories.mjs +1 -1
  139. package/dist/pages/Publish.mjs +1 -1
  140. package/dist/pages/Publish.stories.mjs +1 -1
  141. package/dist/pages/Website.mjs +1 -1
  142. package/dist/pages/Website.stories.mjs +1 -1
  143. package/dist/sections/AboutSection.mjs +1 -1
  144. package/dist/sections/AboutSection.stories.mjs +1 -1
  145. package/dist/sections/BlogDetail.mjs +1 -1
  146. package/dist/sections/BlogDetail.stories.mjs +1 -1
  147. package/dist/sections/BlogList.mjs +1 -1
  148. package/dist/sections/BlogList.stories.mjs +1 -1
  149. package/dist/sections/BlogListSection.mjs +1 -1
  150. package/dist/sections/BlogListSection.stories.mjs +1 -1
  151. package/dist/sections/ContactSection.mjs +1 -1
  152. package/dist/sections/ContactSection.stories.mjs +1 -1
  153. package/dist/sections/ImageSection.stories.mjs +1 -1
  154. package/dist/sections/PageSections.mjs +1 -1
  155. package/dist/sections/PageSections.stories.mjs +1 -1
  156. package/dist/sections/PricingSection.mjs +1 -1
  157. package/dist/sections/PricingSection.stories.mjs +1 -1
  158. package/dist/sections/ServiceDetail.mjs +1 -1
  159. package/dist/sections/ServiceDetailSection.mjs +1 -1
  160. package/dist/sections/ServiceDetailSection.stories.mjs +1 -1
  161. package/dist/sections/ServiceSection.mjs +1 -1
  162. package/dist/sections/ServiceSection.stories.mjs +1 -1
  163. package/dist/sections/form/index.mjs +1 -1
  164. package/dist/sections/index.mjs +1 -1
  165. package/package.json +1 -1
  166. package/dist/chunk-FFESN4FM.mjs +0 -1
@@ -1 +1 @@
1
- import{c as e}from"../../chunk-3TVLETYW.mjs";import{a as l}from"../../chunk-EDB4YGKM.mjs";import"../../chunk-6JAIW45L.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-C4DU747D.mjs";import"../../chunk-4EQF35LM.mjs";import"../../chunk-56RXRTGZ.mjs";import"../../chunk-CTKUF2I6.mjs";import"../../chunk-L3PFZ7PW.mjs";import"../../chunk-WDDAVAVV.mjs";import"../../chunk-VIS6GPCT.mjs";import"../../chunk-E6KVX2UG.mjs";import"../../chunk-LLNCOMIM.mjs";import"../../chunk-6HORFOA3.mjs";import"../../chunk-KUZCFJTH.mjs";import"../../chunk-VXGRJCCM.mjs";import"../../chunk-DAJNZDN6.mjs";import"../../chunk-KETV2XVN.mjs";import"../../chunk-FRTYO74I.mjs";import"../../chunk-KHZPOMKL.mjs";import"../../chunk-7PBTM4J4.mjs";import"../../chunk-4BDIVC2Q.mjs";import"../../chunk-TQQVBE66.mjs";import"../../chunk-BUCI7BPM.mjs";import"../../chunk-BPSLUO5I.mjs";import"../../chunk-FHJDQP4I.mjs";import"../../chunk-BLD454AX.mjs";import"../../chunk-4BHOIXJM.mjs";import"../../chunk-J2IHT57D.mjs";import"../../chunk-4YFMDLHL.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-HTVHCBXQ.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-ZLSF5YXT.mjs";import"../../chunk-M6LJ4BNZ.mjs";var n={title:"Reusable Blocks/ContentBlock",component:l},o=n,t={args:{...e.content.halfWithEmbeddedImage}},r={args:{...e.content.media}},s={args:{...e.content.oneThirdWithImageTheme3Collumns}},m={args:{...e.content.headerAndTheme3Collumns}},u={args:{...e.content.boxesWithThreeColumns}},g={args:{...t.args,theme:{...t.args.theme,settings:{...t.args.theme?.settings,box:"line"}}}},p={args:{...e.content.halfWithFeature}},c={args:{id:"681a4999a2fd5620877e41a0",blockName:null,columns:[{id:"681a499ca2fd5620877e41a2",size:"full",richText:{root:{type:"root",format:"",indent:0,version:1,children:[{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"image below",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0},{type:"block",fields:{id:"681a49b9a0eff783489b8eea",media:{id:1,alt:"Logo",updatedAt:"2025-05-06T17:41:52.026Z",createdAt:"2025-05-06T17:41:51.884Z",url:"/api/images/file/aWkuXsguxANsbGKAUk7Dc.png",thumbnailURL:"/api/images/file/aWkuXsguxANsbGKAUk7Dc-300x292.png",filename:"aWkuXsguxANsbGKAUk7Dc.png",mimeType:"image/png",filesize:14892,width:690,height:672,focalX:50,focalY:50,sizes:{thumbnail:{url:"/api/images/file/aWkuXsguxANsbGKAUk7Dc-300x292.png",width:300,height:292,mimeType:"image/png",filesize:7250,filename:"aWkuXsguxANsbGKAUk7Dc-300x292.png"},square:{url:"/api/images/file/aWkuXsguxANsbGKAUk7Dc-500x500.png",width:500,height:500,mimeType:"image/png",filesize:14930,filename:"aWkuXsguxANsbGKAUk7Dc-500x500.png"},small:{url:"/api/images/file/aWkuXsguxANsbGKAUk7Dc-600x584.png",width:600,height:584,mimeType:"image/png",filesize:19090,filename:"aWkuXsguxANsbGKAUk7Dc-600x584.png"},medium:{url:null,width:null,height:null,mimeType:null,filesize:null,filename:null},large:{url:null,width:null,height:null,mimeType:null,filesize:null,filename:null},xlarge:{url:null,width:null,height:null,mimeType:null,filesize:null,filename:null}}},theme:{settings:{theme:"default",background:"transparent"}},blockName:"",blockType:"imageBlock"},format:"",version:2},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"image above",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0}],direction:"ltr"}},enableLink:null,link:{type:"none",newTab:null,url:null,label:null,appearance:"default"}}],blockType:"content",theme:{settings:{theme:"default",background:"transparent",image:null,overlay:null,box:"none"}}}};export{g as BoxesWithImage,u as BoxesWithThreeColumns,t as Default,p as Features,m as HeaderAndThreeColumns,r as Media,c as Test,s as ThreeColumns,o as default};
1
+ import{c as e}from"../../chunk-3TVLETYW.mjs";import{a as l}from"../../chunk-3FZPSPIZ.mjs";import"../../chunk-NLA3SBVN.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-C4DU747D.mjs";import"../../chunk-TT4SPGZU.mjs";import"../../chunk-L3PFZ7PW.mjs";import"../../chunk-CTKUF2I6.mjs";import"../../chunk-56RXRTGZ.mjs";import"../../chunk-WDDAVAVV.mjs";import"../../chunk-VIS6GPCT.mjs";import"../../chunk-E6KVX2UG.mjs";import"../../chunk-LLNCOMIM.mjs";import"../../chunk-6HORFOA3.mjs";import"../../chunk-KUZCFJTH.mjs";import"../../chunk-IC57R2EU.mjs";import"../../chunk-PBRC3UOA.mjs";import"../../chunk-SX5U74MW.mjs";import"../../chunk-KHZPOMKL.mjs";import"../../chunk-FRTYO74I.mjs";import"../../chunk-7PBTM4J4.mjs";import"../../chunk-4BDIVC2Q.mjs";import"../../chunk-TQQVBE66.mjs";import"../../chunk-BUCI7BPM.mjs";import"../../chunk-BPSLUO5I.mjs";import"../../chunk-FHJDQP4I.mjs";import"../../chunk-BLD454AX.mjs";import"../../chunk-4BHOIXJM.mjs";import"../../chunk-J2IHT57D.mjs";import"../../chunk-4YFMDLHL.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-HTVHCBXQ.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-ZLSF5YXT.mjs";import"../../chunk-M6LJ4BNZ.mjs";var n={title:"Reusable Blocks/ContentBlock",component:l},o=n,t={args:{...e.content.halfWithEmbeddedImage}},r={args:{...e.content.media}},s={args:{...e.content.oneThirdWithImageTheme3Collumns}},m={args:{...e.content.headerAndTheme3Collumns}},u={args:{...e.content.boxesWithThreeColumns}},g={args:{...t.args,theme:{...t.args.theme,settings:{...t.args.theme?.settings,box:"line"}}}},p={args:{...e.content.halfWithFeature}},c={args:{id:"681a4999a2fd5620877e41a0",blockName:null,columns:[{id:"681a499ca2fd5620877e41a2",size:"full",richText:{root:{type:"root",format:"",indent:0,version:1,children:[{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"image below",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0},{type:"block",fields:{id:"681a49b9a0eff783489b8eea",media:{id:1,alt:"Logo",updatedAt:"2025-05-06T17:41:52.026Z",createdAt:"2025-05-06T17:41:51.884Z",url:"/api/images/file/aWkuXsguxANsbGKAUk7Dc.png",thumbnailURL:"/api/images/file/aWkuXsguxANsbGKAUk7Dc-300x292.png",filename:"aWkuXsguxANsbGKAUk7Dc.png",mimeType:"image/png",filesize:14892,width:690,height:672,focalX:50,focalY:50,sizes:{thumbnail:{url:"/api/images/file/aWkuXsguxANsbGKAUk7Dc-300x292.png",width:300,height:292,mimeType:"image/png",filesize:7250,filename:"aWkuXsguxANsbGKAUk7Dc-300x292.png"},square:{url:"/api/images/file/aWkuXsguxANsbGKAUk7Dc-500x500.png",width:500,height:500,mimeType:"image/png",filesize:14930,filename:"aWkuXsguxANsbGKAUk7Dc-500x500.png"},small:{url:"/api/images/file/aWkuXsguxANsbGKAUk7Dc-600x584.png",width:600,height:584,mimeType:"image/png",filesize:19090,filename:"aWkuXsguxANsbGKAUk7Dc-600x584.png"},medium:{url:null,width:null,height:null,mimeType:null,filesize:null,filename:null},large:{url:null,width:null,height:null,mimeType:null,filesize:null,filename:null},xlarge:{url:null,width:null,height:null,mimeType:null,filesize:null,filename:null}}},theme:{settings:{theme:"default",background:"transparent"}},blockName:"",blockType:"imageBlock"},format:"",version:2},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"image above",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0}],direction:"ltr"}},enableLink:null,link:{type:"none",newTab:null,url:null,label:null,appearance:"default"}}],blockType:"content",theme:{settings:{theme:"default",background:"transparent",image:null,overlay:null,box:"none"}}}};export{g as BoxesWithImage,u as BoxesWithThreeColumns,t as Default,p as Features,m as HeaderAndThreeColumns,r as Media,c as Test,s as ThreeColumns,o as default};
@@ -1 +1 @@
1
- import{d as a}from"../../chunk-6JAIW45L.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-C4DU747D.mjs";import"../../chunk-4EQF35LM.mjs";import"../../chunk-56RXRTGZ.mjs";import"../../chunk-CTKUF2I6.mjs";import"../../chunk-L3PFZ7PW.mjs";import"../../chunk-WDDAVAVV.mjs";import"../../chunk-VIS6GPCT.mjs";import"../../chunk-E6KVX2UG.mjs";import"../../chunk-LLNCOMIM.mjs";import"../../chunk-6HORFOA3.mjs";import"../../chunk-KUZCFJTH.mjs";import"../../chunk-VXGRJCCM.mjs";import"../../chunk-DAJNZDN6.mjs";import"../../chunk-KETV2XVN.mjs";import"../../chunk-FRTYO74I.mjs";import"../../chunk-KHZPOMKL.mjs";import"../../chunk-7PBTM4J4.mjs";import"../../chunk-4BDIVC2Q.mjs";import"../../chunk-TQQVBE66.mjs";import"../../chunk-BUCI7BPM.mjs";import"../../chunk-BPSLUO5I.mjs";import"../../chunk-FHJDQP4I.mjs";import"../../chunk-BLD454AX.mjs";import"../../chunk-4BHOIXJM.mjs";import"../../chunk-J2IHT57D.mjs";import"../../chunk-4YFMDLHL.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-HTVHCBXQ.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-ZLSF5YXT.mjs";import"../../chunk-M6LJ4BNZ.mjs";export{a as FeaturesBlock};
1
+ import{d as a}from"../../chunk-NLA3SBVN.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-C4DU747D.mjs";import"../../chunk-TT4SPGZU.mjs";import"../../chunk-L3PFZ7PW.mjs";import"../../chunk-CTKUF2I6.mjs";import"../../chunk-56RXRTGZ.mjs";import"../../chunk-WDDAVAVV.mjs";import"../../chunk-VIS6GPCT.mjs";import"../../chunk-E6KVX2UG.mjs";import"../../chunk-LLNCOMIM.mjs";import"../../chunk-6HORFOA3.mjs";import"../../chunk-KUZCFJTH.mjs";import"../../chunk-IC57R2EU.mjs";import"../../chunk-PBRC3UOA.mjs";import"../../chunk-SX5U74MW.mjs";import"../../chunk-KHZPOMKL.mjs";import"../../chunk-FRTYO74I.mjs";import"../../chunk-7PBTM4J4.mjs";import"../../chunk-4BDIVC2Q.mjs";import"../../chunk-TQQVBE66.mjs";import"../../chunk-BUCI7BPM.mjs";import"../../chunk-BPSLUO5I.mjs";import"../../chunk-FHJDQP4I.mjs";import"../../chunk-BLD454AX.mjs";import"../../chunk-4BHOIXJM.mjs";import"../../chunk-J2IHT57D.mjs";import"../../chunk-4YFMDLHL.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-HTVHCBXQ.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-ZLSF5YXT.mjs";import"../../chunk-M6LJ4BNZ.mjs";export{a as FeaturesBlock};
@@ -1 +1 @@
1
- import{b as t}from"../../chunk-3TVLETYW.mjs";import{d as e}from"../../chunk-6JAIW45L.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-C4DU747D.mjs";import"../../chunk-4EQF35LM.mjs";import"../../chunk-56RXRTGZ.mjs";import"../../chunk-CTKUF2I6.mjs";import"../../chunk-L3PFZ7PW.mjs";import"../../chunk-WDDAVAVV.mjs";import"../../chunk-VIS6GPCT.mjs";import"../../chunk-E6KVX2UG.mjs";import"../../chunk-LLNCOMIM.mjs";import"../../chunk-6HORFOA3.mjs";import"../../chunk-KUZCFJTH.mjs";import"../../chunk-VXGRJCCM.mjs";import"../../chunk-DAJNZDN6.mjs";import"../../chunk-KETV2XVN.mjs";import"../../chunk-FRTYO74I.mjs";import"../../chunk-KHZPOMKL.mjs";import"../../chunk-7PBTM4J4.mjs";import"../../chunk-4BDIVC2Q.mjs";import"../../chunk-TQQVBE66.mjs";import"../../chunk-BUCI7BPM.mjs";import"../../chunk-BPSLUO5I.mjs";import"../../chunk-FHJDQP4I.mjs";import"../../chunk-BLD454AX.mjs";import"../../chunk-4BHOIXJM.mjs";import"../../chunk-J2IHT57D.mjs";import"../../chunk-4YFMDLHL.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-HTVHCBXQ.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-ZLSF5YXT.mjs";import"../../chunk-M6LJ4BNZ.mjs";var i={title:"Reusable Blocks/FeaturesBlock",component:e,tags:["autodocs"],parameters:{layout:"padded"}},l=i,c={args:{title:"Lorem ipsum dolor sit amet",description:"Donec malesuada arcu at velit laoreet convallis. Sed at eros vel lacus varius varius nec id metus.",features:[{icon:{type:"fa-thin",icon:"robot"},title:"Sed at eros vel lacus varius varius nec id metus.",content:t.simple,settings:{card:"outline",icon:"large"}},{icon:{type:"fa-thin",icon:"lightbulb"},link:{label:"label",type:"custom",url:"#"},title:"Intelligent Insights",statistic:"80%",content:"They provide valuable insights and improve ways of working, saving time and boosting efficiency across your organisation.",settings:{card:"light"}},{icon:{type:"fa-kit",icon:"software"},title:"Collaborative Partners",statistic:"80%",content:"Digital colleagues work alongside human employees, assisting with tasks and enhancing overall performance.",settings:{card:"solid"}}]}},u={args:{features:[{icon:{type:"fa-thin",icon:"robot"},title:"Sed at eros vel lacus varius varius nec id metus.",link:{label:"label",type:"custom",url:"#"},content:t.simple,settings:{card:"outline",iconSize:"large"}},{icon:{type:"fa-thin",icon:"lightbulb"},link:{label:"label",type:"custom",url:"#"},title:"Sed at eros vel lacus varius varius nec id metus.",content:t.simple,statistic:"80%",settings:{card:"radial",iconSize:"small"}},{icon:{type:"fa-kit",icon:"software"},title:"Sed at eros vel lacus.",content:t.simple,statistic:"80%",settings:{card:"gradient",iconSize:"large"}}]}},d={args:{features:[{icon:{type:"fa-thin",icon:"robot"},title:"Sed at eros vel lacus varius varius nec id metus.",link:{label:"label",type:"custom",url:"#"},content:t.simple,settings:{card:"outline",iconSize:"small"}},{icon:{type:"fa-thin",icon:"lightbulb"},link:{label:"label",type:"custom",url:"#"},title:"Sed at eros vel lacus varius varius nec id metus.",content:t.simple,settings:{card:"light",iconSize:"small"}},{icon:{type:"fa-kit",icon:"software"},title:"Sed at eros vel lacus.",content:t.simple,statistic:"80%",settings:{card:"gradient",iconSize:"small"}}]}},m={args:{title:"What Are Digital Colleagues?",features:[{icon:{type:"fa-thin",icon:"robot"},title:"AI-Powered Assistants",content:"Digital colleagues are generative AI tools that augment your existing workforce, enhancing productivity and customer experience."},{icon:{type:"fa-thin",icon:"lightbulb"},title:"Intelligent Insights",content:"They provide valuable insights and improve ways of working, saving time and boosting efficiency across your organisation."}]}},p={args:{title:"Lorum ipsum dolor sit amet",features:[{icon:{type:"fa-thin",icon:"robot"},title:"Lorem ipsum dolor sit amet",content:"lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec malesuada arcu at velit laoreet convallis. Sed at eros vel lacus varius varius nec id metus."},{icon:{type:"fa-thin",icon:"lightbulb"},title:"Sed at eros vel lacus varius varius nec id metus",content:"Donec malesuada arcu at velit laoreet convallis. Sed at eros vel lacus varius varius nec id metus."},{icon:{type:"fa-thin",icon:"robot"},title:"Lorem ipsum dolor sit amet",content:"lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec malesuada arcu at velit laoreet convallis. Sed at eros vel lacus varius varius nec id metus."},{icon:{type:"fa-thin",icon:"lightbulb"},title:"Sed at eros vel lacus varius varius nec id metus",content:"Donec malesuada arcu at velit laoreet convallis. Sed at eros vel lacus varius varius nec id metus."},{icon:{type:"fa-thin",icon:"robot"},title:"Lorem ipsum dolor sit amet",content:"lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec malesuada arcu at velit laoreet convallis. Sed at eros vel lacus varius varius nec id metus."}]}},g={args:{title:"What Are Digital Colleagues?",features:[{icon:{type:"fa-thin",icon:"robot"},title:"AI-Powered Assistants",content:"Digital colleagues are generative AI tools that augment your existing workforce, enhancing productivity and customer experience."}]}},y={args:{title:"What Are Digital Colleagues?",features:[{title:"AI-Powered Assistants",content:"Digital colleagues are generative AI tools that augment your existing workforce, enhancing productivity and customer experience."}]}},v={args:{features:[{icon:{type:"fa-thin",icon:"robot"},title:"AI-Powered Assistants",content:"Digital colleagues are generative AI tools that augment your existing workforce, enhancing productivity and customer experience."},{icon:{type:"fa-thin",icon:"lightbulb"},title:"Intelligent Insights",content:"They provide valuable insights and improve ways of working, saving time and boosting efficiency across your organisation."},{icon:{type:"fa-kit",icon:"delivery"},title:"Collaborative Partners",content:"Digital colleagues work alongside human employees, assisting with tasks and enhancing overall performance."}]}},f={args:{title:"Test Content",features:[{id:"67a8f0ffa2a234ac414429cb",title:"Test Feature",statistic:"80%",content:{root:{type:"root",format:"",indent:0,version:1,children:[{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Some text here!",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0}],direction:"ltr"}},settings:{card:"default",contents:"statistic"},link:{type:"none",newTab:null,url:null},icon:{type:"fa-thin",icon:"cloud"}}],blockType:"features",theme:{settings:{theme:"default",background:"transparent",image:null,overlay:null}}}},h={args:{title:"Test Content",features:[{id:"67a8f0ffa2a234ac414429cb",title:"Test Feature",statistic:"80%",content:{root:{type:"root",format:"",indent:0,version:1,children:[{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Some text here!",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0}],direction:"ltr"}},settings:{card:"default",contents:"statistic"},link:{type:"none",newTab:null,url:null},icon:{type:"fa-thin",icon:"cloud"}},{id:"67a8f0ffa2a234ac414429cb",title:"Test Feature",statistic:"80%",content:{root:{type:"root",format:"",indent:0,version:1,children:[{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Some text here!",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0}],direction:"ltr"}},settings:{card:"default",contents:"statistic"},link:{type:"none",newTab:null,url:null},icon:{type:"fa-thin",icon:"cloud"}},{id:"67a8f0ffa2a234ac414429cb",title:"Test Feature",statistic:"80%",content:{root:{type:"root",format:"",indent:0,version:1,children:[{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Some text here!",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0}],direction:"ltr"}},settings:{card:"default",contents:"statistic"},link:{type:"none",newTab:null,url:null},icon:{type:"fa-thin",icon:"cloud"}}],blockType:"features",theme:{settings:{theme:"default",background:"transparent",image:null,overlay:null}}}};export{f as Cards,c as Default,p as FiveFeatures,u as MoreOptions,y as NoIcon,v as NoTitle,g as OneFeature,d as OtherOptions,h as ThreeCards,m as TwoFeatures,l as default};
1
+ import{b as t}from"../../chunk-3TVLETYW.mjs";import{d as e}from"../../chunk-NLA3SBVN.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-C4DU747D.mjs";import"../../chunk-TT4SPGZU.mjs";import"../../chunk-L3PFZ7PW.mjs";import"../../chunk-CTKUF2I6.mjs";import"../../chunk-56RXRTGZ.mjs";import"../../chunk-WDDAVAVV.mjs";import"../../chunk-VIS6GPCT.mjs";import"../../chunk-E6KVX2UG.mjs";import"../../chunk-LLNCOMIM.mjs";import"../../chunk-6HORFOA3.mjs";import"../../chunk-KUZCFJTH.mjs";import"../../chunk-IC57R2EU.mjs";import"../../chunk-PBRC3UOA.mjs";import"../../chunk-SX5U74MW.mjs";import"../../chunk-KHZPOMKL.mjs";import"../../chunk-FRTYO74I.mjs";import"../../chunk-7PBTM4J4.mjs";import"../../chunk-4BDIVC2Q.mjs";import"../../chunk-TQQVBE66.mjs";import"../../chunk-BUCI7BPM.mjs";import"../../chunk-BPSLUO5I.mjs";import"../../chunk-FHJDQP4I.mjs";import"../../chunk-BLD454AX.mjs";import"../../chunk-4BHOIXJM.mjs";import"../../chunk-J2IHT57D.mjs";import"../../chunk-4YFMDLHL.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-HTVHCBXQ.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-ZLSF5YXT.mjs";import"../../chunk-M6LJ4BNZ.mjs";var i={title:"Reusable Blocks/FeaturesBlock",component:e,tags:["autodocs"],parameters:{layout:"padded"}},l=i,c={args:{title:"Lorem ipsum dolor sit amet",description:"Donec malesuada arcu at velit laoreet convallis. Sed at eros vel lacus varius varius nec id metus.",features:[{icon:{type:"fa-thin",icon:"robot"},title:"Sed at eros vel lacus varius varius nec id metus.",content:t.simple,settings:{card:"outline",icon:"large"}},{icon:{type:"fa-thin",icon:"lightbulb"},link:{label:"label",type:"custom",url:"#"},title:"Intelligent Insights",statistic:"80%",content:"They provide valuable insights and improve ways of working, saving time and boosting efficiency across your organisation.",settings:{card:"light"}},{icon:{type:"fa-kit",icon:"software"},title:"Collaborative Partners",statistic:"80%",content:"Digital colleagues work alongside human employees, assisting with tasks and enhancing overall performance.",settings:{card:"solid"}}]}},u={args:{features:[{icon:{type:"fa-thin",icon:"robot"},title:"Sed at eros vel lacus varius varius nec id metus.",link:{label:"label",type:"custom",url:"#"},content:t.simple,settings:{card:"outline",iconSize:"large"}},{icon:{type:"fa-thin",icon:"lightbulb"},link:{label:"label",type:"custom",url:"#"},title:"Sed at eros vel lacus varius varius nec id metus.",content:t.simple,statistic:"80%",settings:{card:"radial",iconSize:"small"}},{icon:{type:"fa-kit",icon:"software"},title:"Sed at eros vel lacus.",content:t.simple,statistic:"80%",settings:{card:"gradient",iconSize:"large"}}]}},d={args:{features:[{icon:{type:"fa-thin",icon:"robot"},title:"Sed at eros vel lacus varius varius nec id metus.",link:{label:"label",type:"custom",url:"#"},content:t.simple,settings:{card:"outline",iconSize:"small"}},{icon:{type:"fa-thin",icon:"lightbulb"},link:{label:"label",type:"custom",url:"#"},title:"Sed at eros vel lacus varius varius nec id metus.",content:t.simple,settings:{card:"light",iconSize:"small"}},{icon:{type:"fa-kit",icon:"software"},title:"Sed at eros vel lacus.",content:t.simple,statistic:"80%",settings:{card:"gradient",iconSize:"small"}}]}},m={args:{title:"What Are Digital Colleagues?",features:[{icon:{type:"fa-thin",icon:"robot"},title:"AI-Powered Assistants",content:"Digital colleagues are generative AI tools that augment your existing workforce, enhancing productivity and customer experience."},{icon:{type:"fa-thin",icon:"lightbulb"},title:"Intelligent Insights",content:"They provide valuable insights and improve ways of working, saving time and boosting efficiency across your organisation."}]}},p={args:{title:"Lorum ipsum dolor sit amet",features:[{icon:{type:"fa-thin",icon:"robot"},title:"Lorem ipsum dolor sit amet",content:"lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec malesuada arcu at velit laoreet convallis. Sed at eros vel lacus varius varius nec id metus."},{icon:{type:"fa-thin",icon:"lightbulb"},title:"Sed at eros vel lacus varius varius nec id metus",content:"Donec malesuada arcu at velit laoreet convallis. Sed at eros vel lacus varius varius nec id metus."},{icon:{type:"fa-thin",icon:"robot"},title:"Lorem ipsum dolor sit amet",content:"lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec malesuada arcu at velit laoreet convallis. Sed at eros vel lacus varius varius nec id metus."},{icon:{type:"fa-thin",icon:"lightbulb"},title:"Sed at eros vel lacus varius varius nec id metus",content:"Donec malesuada arcu at velit laoreet convallis. Sed at eros vel lacus varius varius nec id metus."},{icon:{type:"fa-thin",icon:"robot"},title:"Lorem ipsum dolor sit amet",content:"lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec malesuada arcu at velit laoreet convallis. Sed at eros vel lacus varius varius nec id metus."}]}},g={args:{title:"What Are Digital Colleagues?",features:[{icon:{type:"fa-thin",icon:"robot"},title:"AI-Powered Assistants",content:"Digital colleagues are generative AI tools that augment your existing workforce, enhancing productivity and customer experience."}]}},y={args:{title:"What Are Digital Colleagues?",features:[{title:"AI-Powered Assistants",content:"Digital colleagues are generative AI tools that augment your existing workforce, enhancing productivity and customer experience."}]}},v={args:{features:[{icon:{type:"fa-thin",icon:"robot"},title:"AI-Powered Assistants",content:"Digital colleagues are generative AI tools that augment your existing workforce, enhancing productivity and customer experience."},{icon:{type:"fa-thin",icon:"lightbulb"},title:"Intelligent Insights",content:"They provide valuable insights and improve ways of working, saving time and boosting efficiency across your organisation."},{icon:{type:"fa-kit",icon:"delivery"},title:"Collaborative Partners",content:"Digital colleagues work alongside human employees, assisting with tasks and enhancing overall performance."}]}},f={args:{title:"Test Content",features:[{id:"67a8f0ffa2a234ac414429cb",title:"Test Feature",statistic:"80%",content:{root:{type:"root",format:"",indent:0,version:1,children:[{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Some text here!",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0}],direction:"ltr"}},settings:{card:"default",contents:"statistic"},link:{type:"none",newTab:null,url:null},icon:{type:"fa-thin",icon:"cloud"}}],blockType:"features",theme:{settings:{theme:"default",background:"transparent",image:null,overlay:null}}}},h={args:{title:"Test Content",features:[{id:"67a8f0ffa2a234ac414429cb",title:"Test Feature",statistic:"80%",content:{root:{type:"root",format:"",indent:0,version:1,children:[{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Some text here!",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0}],direction:"ltr"}},settings:{card:"default",contents:"statistic"},link:{type:"none",newTab:null,url:null},icon:{type:"fa-thin",icon:"cloud"}},{id:"67a8f0ffa2a234ac414429cb",title:"Test Feature",statistic:"80%",content:{root:{type:"root",format:"",indent:0,version:1,children:[{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Some text here!",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0}],direction:"ltr"}},settings:{card:"default",contents:"statistic"},link:{type:"none",newTab:null,url:null},icon:{type:"fa-thin",icon:"cloud"}},{id:"67a8f0ffa2a234ac414429cb",title:"Test Feature",statistic:"80%",content:{root:{type:"root",format:"",indent:0,version:1,children:[{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Some text here!",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0}],direction:"ltr"}},settings:{card:"default",contents:"statistic"},link:{type:"none",newTab:null,url:null},icon:{type:"fa-thin",icon:"cloud"}}],blockType:"features",theme:{settings:{theme:"default",background:"transparent",image:null,overlay:null}}}};export{f as Cards,c as Default,p as FiveFeatures,u as MoreOptions,y as NoIcon,v as NoTitle,g as OneFeature,d as OtherOptions,h as ThreeCards,m as TwoFeatures,l as default};
@@ -1 +1 @@
1
- import{a}from"../../chunk-DAJNZDN6.mjs";import"../../chunk-KETV2XVN.mjs";import"../../chunk-FRTYO74I.mjs";import"../../chunk-KHZPOMKL.mjs";import"../../chunk-HTVHCBXQ.mjs";import"../../chunk-M6LJ4BNZ.mjs";export{a as ImageBlock};
1
+ import{a}from"../../chunk-PBRC3UOA.mjs";import"../../chunk-SX5U74MW.mjs";import"../../chunk-KHZPOMKL.mjs";import"../../chunk-FRTYO74I.mjs";import"../../chunk-HTVHCBXQ.mjs";import"../../chunk-M6LJ4BNZ.mjs";export{a as ImageBlock};
@@ -1 +1 @@
1
- import{a}from"../../chunk-VXGRJCCM.mjs";import"../../chunk-KETV2XVN.mjs";import"../../chunk-FRTYO74I.mjs";import"../../chunk-KHZPOMKL.mjs";import"../../chunk-HTVHCBXQ.mjs";import"../../chunk-M6LJ4BNZ.mjs";export{a as MediaBlock};
1
+ import{a}from"../../chunk-IC57R2EU.mjs";import"../../chunk-SX5U74MW.mjs";import"../../chunk-KHZPOMKL.mjs";import"../../chunk-FRTYO74I.mjs";import"../../chunk-HTVHCBXQ.mjs";import"../../chunk-M6LJ4BNZ.mjs";export{a as MediaBlock};
@@ -1 +1 @@
1
- import{a}from"../../chunk-7O2TMDTD.mjs";import"../../chunk-Z6NED523.mjs";import"../../chunk-RYZTCMVC.mjs";import"../../chunk-6JAIW45L.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-C4DU747D.mjs";import"../../chunk-4EQF35LM.mjs";import"../../chunk-56RXRTGZ.mjs";import"../../chunk-CTKUF2I6.mjs";import"../../chunk-L3PFZ7PW.mjs";import"../../chunk-WDDAVAVV.mjs";import"../../chunk-VIS6GPCT.mjs";import"../../chunk-E6KVX2UG.mjs";import"../../chunk-LLNCOMIM.mjs";import"../../chunk-6HORFOA3.mjs";import"../../chunk-KUZCFJTH.mjs";import"../../chunk-VXGRJCCM.mjs";import"../../chunk-DAJNZDN6.mjs";import"../../chunk-KETV2XVN.mjs";import"../../chunk-FRTYO74I.mjs";import"../../chunk-KHZPOMKL.mjs";import"../../chunk-7PBTM4J4.mjs";import"../../chunk-4BDIVC2Q.mjs";import"../../chunk-TQQVBE66.mjs";import"../../chunk-BUCI7BPM.mjs";import"../../chunk-BPSLUO5I.mjs";import"../../chunk-FHJDQP4I.mjs";import"../../chunk-BLD454AX.mjs";import"../../chunk-4BHOIXJM.mjs";import"../../chunk-J2IHT57D.mjs";import"../../chunk-4YFMDLHL.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-HTVHCBXQ.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-ZLSF5YXT.mjs";import"../../chunk-M6LJ4BNZ.mjs";export{a as RelatedPosts};
1
+ import{a}from"../../chunk-KWTCUGN5.mjs";import"../../chunk-ZY2PDUUB.mjs";import"../../chunk-RYZTCMVC.mjs";import"../../chunk-NLA3SBVN.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-C4DU747D.mjs";import"../../chunk-TT4SPGZU.mjs";import"../../chunk-L3PFZ7PW.mjs";import"../../chunk-CTKUF2I6.mjs";import"../../chunk-56RXRTGZ.mjs";import"../../chunk-WDDAVAVV.mjs";import"../../chunk-VIS6GPCT.mjs";import"../../chunk-E6KVX2UG.mjs";import"../../chunk-LLNCOMIM.mjs";import"../../chunk-6HORFOA3.mjs";import"../../chunk-KUZCFJTH.mjs";import"../../chunk-IC57R2EU.mjs";import"../../chunk-PBRC3UOA.mjs";import"../../chunk-SX5U74MW.mjs";import"../../chunk-KHZPOMKL.mjs";import"../../chunk-FRTYO74I.mjs";import"../../chunk-7PBTM4J4.mjs";import"../../chunk-4BDIVC2Q.mjs";import"../../chunk-TQQVBE66.mjs";import"../../chunk-BUCI7BPM.mjs";import"../../chunk-BPSLUO5I.mjs";import"../../chunk-FHJDQP4I.mjs";import"../../chunk-BLD454AX.mjs";import"../../chunk-4BHOIXJM.mjs";import"../../chunk-J2IHT57D.mjs";import"../../chunk-4YFMDLHL.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-HTVHCBXQ.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-ZLSF5YXT.mjs";import"../../chunk-M6LJ4BNZ.mjs";export{a as RelatedPosts};
@@ -1 +1 @@
1
- import{b as a,c as b,d as c,e as d,f as e,g as f}from"../../chunk-MYDBD7LR.mjs";import"../../chunk-3RPTKOCL.mjs";import"../../chunk-EDB4YGKM.mjs";import"../../chunk-6JAIW45L.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-C4DU747D.mjs";import"../../chunk-4EQF35LM.mjs";import"../../chunk-56RXRTGZ.mjs";import"../../chunk-CTKUF2I6.mjs";import"../../chunk-L3PFZ7PW.mjs";import"../../chunk-WDDAVAVV.mjs";import"../../chunk-VIS6GPCT.mjs";import"../../chunk-E6KVX2UG.mjs";import"../../chunk-LLNCOMIM.mjs";import"../../chunk-6HORFOA3.mjs";import"../../chunk-KUZCFJTH.mjs";import"../../chunk-VXGRJCCM.mjs";import"../../chunk-DAJNZDN6.mjs";import"../../chunk-KETV2XVN.mjs";import"../../chunk-FRTYO74I.mjs";import"../../chunk-KHZPOMKL.mjs";import"../../chunk-7PBTM4J4.mjs";import"../../chunk-4BDIVC2Q.mjs";import"../../chunk-TQQVBE66.mjs";import"../../chunk-BUCI7BPM.mjs";import"../../chunk-BPSLUO5I.mjs";import"../../chunk-FHJDQP4I.mjs";import"../../chunk-BLD454AX.mjs";import"../../chunk-4BHOIXJM.mjs";import"../../chunk-J2IHT57D.mjs";import"../../chunk-4YFMDLHL.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-HTVHCBXQ.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-ZLSF5YXT.mjs";import"../../chunk-M6LJ4BNZ.mjs";export{e as DarkTop,f as LightTop,a as RenderBlocks,c as RenderBlocksWithShapes,b as Theme,d as ThemeWithShapes};
1
+ import{b as a,c as b,d as c,e as d,f as e,g as f}from"../../chunk-JXW2QARY.mjs";import"../../chunk-JRFNBHPL.mjs";import"../../chunk-3FZPSPIZ.mjs";import"../../chunk-NLA3SBVN.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-C4DU747D.mjs";import"../../chunk-TT4SPGZU.mjs";import"../../chunk-L3PFZ7PW.mjs";import"../../chunk-CTKUF2I6.mjs";import"../../chunk-56RXRTGZ.mjs";import"../../chunk-WDDAVAVV.mjs";import"../../chunk-VIS6GPCT.mjs";import"../../chunk-E6KVX2UG.mjs";import"../../chunk-LLNCOMIM.mjs";import"../../chunk-6HORFOA3.mjs";import"../../chunk-KUZCFJTH.mjs";import"../../chunk-IC57R2EU.mjs";import"../../chunk-PBRC3UOA.mjs";import"../../chunk-SX5U74MW.mjs";import"../../chunk-KHZPOMKL.mjs";import"../../chunk-FRTYO74I.mjs";import"../../chunk-7PBTM4J4.mjs";import"../../chunk-4BDIVC2Q.mjs";import"../../chunk-TQQVBE66.mjs";import"../../chunk-BUCI7BPM.mjs";import"../../chunk-BPSLUO5I.mjs";import"../../chunk-FHJDQP4I.mjs";import"../../chunk-BLD454AX.mjs";import"../../chunk-4BHOIXJM.mjs";import"../../chunk-J2IHT57D.mjs";import"../../chunk-4YFMDLHL.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-HTVHCBXQ.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-ZLSF5YXT.mjs";import"../../chunk-M6LJ4BNZ.mjs";export{e as DarkTop,f as LightTop,a as RenderBlocks,c as RenderBlocksWithShapes,b as Theme,d as ThemeWithShapes};
@@ -1 +1 @@
1
- import{a}from"../../chunk-MYDBD7LR.mjs";import"../../chunk-3RPTKOCL.mjs";import"../../chunk-EDB4YGKM.mjs";import"../../chunk-6JAIW45L.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-C4DU747D.mjs";import"../../chunk-4EQF35LM.mjs";import"../../chunk-56RXRTGZ.mjs";import"../../chunk-CTKUF2I6.mjs";import"../../chunk-L3PFZ7PW.mjs";import"../../chunk-WDDAVAVV.mjs";import"../../chunk-VIS6GPCT.mjs";import"../../chunk-E6KVX2UG.mjs";import"../../chunk-LLNCOMIM.mjs";import"../../chunk-6HORFOA3.mjs";import"../../chunk-KUZCFJTH.mjs";import"../../chunk-VXGRJCCM.mjs";import"../../chunk-DAJNZDN6.mjs";import"../../chunk-KETV2XVN.mjs";import"../../chunk-FRTYO74I.mjs";import"../../chunk-KHZPOMKL.mjs";import"../../chunk-7PBTM4J4.mjs";import"../../chunk-4BDIVC2Q.mjs";import"../../chunk-TQQVBE66.mjs";import"../../chunk-BUCI7BPM.mjs";import"../../chunk-BPSLUO5I.mjs";import"../../chunk-FHJDQP4I.mjs";import"../../chunk-BLD454AX.mjs";import"../../chunk-4BHOIXJM.mjs";import"../../chunk-J2IHT57D.mjs";import"../../chunk-4YFMDLHL.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-HTVHCBXQ.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-ZLSF5YXT.mjs";import"../../chunk-M6LJ4BNZ.mjs";export{a as ReusableContentBlock};
1
+ import{a}from"../../chunk-JXW2QARY.mjs";import"../../chunk-JRFNBHPL.mjs";import"../../chunk-3FZPSPIZ.mjs";import"../../chunk-NLA3SBVN.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-C4DU747D.mjs";import"../../chunk-TT4SPGZU.mjs";import"../../chunk-L3PFZ7PW.mjs";import"../../chunk-CTKUF2I6.mjs";import"../../chunk-56RXRTGZ.mjs";import"../../chunk-WDDAVAVV.mjs";import"../../chunk-VIS6GPCT.mjs";import"../../chunk-E6KVX2UG.mjs";import"../../chunk-LLNCOMIM.mjs";import"../../chunk-6HORFOA3.mjs";import"../../chunk-KUZCFJTH.mjs";import"../../chunk-IC57R2EU.mjs";import"../../chunk-PBRC3UOA.mjs";import"../../chunk-SX5U74MW.mjs";import"../../chunk-KHZPOMKL.mjs";import"../../chunk-FRTYO74I.mjs";import"../../chunk-7PBTM4J4.mjs";import"../../chunk-4BDIVC2Q.mjs";import"../../chunk-TQQVBE66.mjs";import"../../chunk-BUCI7BPM.mjs";import"../../chunk-BPSLUO5I.mjs";import"../../chunk-FHJDQP4I.mjs";import"../../chunk-BLD454AX.mjs";import"../../chunk-4BHOIXJM.mjs";import"../../chunk-J2IHT57D.mjs";import"../../chunk-4YFMDLHL.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-HTVHCBXQ.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-ZLSF5YXT.mjs";import"../../chunk-M6LJ4BNZ.mjs";export{a as ReusableContentBlock};
@@ -1 +1 @@
1
- import{a as x}from"../../chunk-7O2TMDTD.mjs";import"../../chunk-Z6NED523.mjs";import{a as n}from"../../chunk-EPTHSTUM.mjs";import{a as l}from"../../chunk-53QLSQCO.mjs";import{a as m}from"../../chunk-UMBMLD26.mjs";import{a as p}from"../../chunk-JCH2CCQ7.mjs";import{a as i}from"../../chunk-RVRIMD6M.mjs";import"../../chunk-UF3I2XE2.mjs";import"../../chunk-GXC2S7UQ.mjs";import"../../chunk-RYZTCMVC.mjs";import{a as q,b as r,c as s,d as t,e as u,f as v,g as w}from"../../chunk-MYDBD7LR.mjs";import"../../chunk-3RPTKOCL.mjs";import{a as o}from"../../chunk-EDB4YGKM.mjs";import{a,b,c,d as h}from"../../chunk-6JAIW45L.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-C4DU747D.mjs";import"../../chunk-4EQF35LM.mjs";import"../../chunk-56RXRTGZ.mjs";import"../../chunk-CTKUF2I6.mjs";import"../../chunk-L3PFZ7PW.mjs";import"../../chunk-WDDAVAVV.mjs";import"../../chunk-VIS6GPCT.mjs";import"../../chunk-E6KVX2UG.mjs";import"../../chunk-LLNCOMIM.mjs";import"../../chunk-6HORFOA3.mjs";import"../../chunk-KUZCFJTH.mjs";import{a as f}from"../../chunk-VXGRJCCM.mjs";import{a as g}from"../../chunk-DAJNZDN6.mjs";import"../../chunk-KETV2XVN.mjs";import"../../chunk-FRTYO74I.mjs";import"../../chunk-KHZPOMKL.mjs";import{a as e}from"../../chunk-7PBTM4J4.mjs";import"../../chunk-4BDIVC2Q.mjs";import{a as d}from"../../chunk-TQQVBE66.mjs";import"../../chunk-BUCI7BPM.mjs";import"../../chunk-BPSLUO5I.mjs";import{a as k}from"../../chunk-IQPZEEYJ.mjs";import{a as j}from"../../chunk-H7D3PZKE.mjs";import"../../chunk-FHJDQP4I.mjs";import"../../chunk-BLD454AX.mjs";import"../../chunk-4BHOIXJM.mjs";import"../../chunk-J2IHT57D.mjs";import"../../chunk-4YFMDLHL.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-HTVHCBXQ.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-ZLSF5YXT.mjs";import"../../chunk-M6LJ4BNZ.mjs";export{a as BannerBlock,c as CallToActionBlock,b as CallToActionBlockOld,e as CodeBlock,o as ContentBlock,d as CopyButton,v as DarkTop,h as FeaturesBlock,p as HeadingImage,g as ImageBlock,j as InfoTile,i as Insight,w as LightTop,k as MOTD,f as MediaBlock,l as OrgChart,m as ProposalSummary,x as RelatedPosts,r as RenderBlocks,t as RenderBlocksWithShapes,q as ReusableContentBlock,s as Theme,u as ThemeWithShapes,n as WhyUs};
1
+ import{a as x}from"../../chunk-KWTCUGN5.mjs";import"../../chunk-ZY2PDUUB.mjs";import{a as n}from"../../chunk-EPTHSTUM.mjs";import{a as l}from"../../chunk-53QLSQCO.mjs";import{a as m}from"../../chunk-UMBMLD26.mjs";import{a as p}from"../../chunk-JCH2CCQ7.mjs";import{a as i}from"../../chunk-RVRIMD6M.mjs";import"../../chunk-UF3I2XE2.mjs";import"../../chunk-GXC2S7UQ.mjs";import"../../chunk-RYZTCMVC.mjs";import{a as q,b as r,c as s,d as t,e as u,f as v,g as w}from"../../chunk-JXW2QARY.mjs";import"../../chunk-JRFNBHPL.mjs";import{a as o}from"../../chunk-3FZPSPIZ.mjs";import{a,b,c,d as h}from"../../chunk-NLA3SBVN.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-C4DU747D.mjs";import"../../chunk-TT4SPGZU.mjs";import"../../chunk-L3PFZ7PW.mjs";import"../../chunk-CTKUF2I6.mjs";import"../../chunk-56RXRTGZ.mjs";import"../../chunk-WDDAVAVV.mjs";import"../../chunk-VIS6GPCT.mjs";import"../../chunk-E6KVX2UG.mjs";import"../../chunk-LLNCOMIM.mjs";import"../../chunk-6HORFOA3.mjs";import"../../chunk-KUZCFJTH.mjs";import{a as f}from"../../chunk-IC57R2EU.mjs";import{a as g}from"../../chunk-PBRC3UOA.mjs";import"../../chunk-SX5U74MW.mjs";import"../../chunk-KHZPOMKL.mjs";import"../../chunk-FRTYO74I.mjs";import{a as e}from"../../chunk-7PBTM4J4.mjs";import"../../chunk-4BDIVC2Q.mjs";import{a as d}from"../../chunk-TQQVBE66.mjs";import"../../chunk-BUCI7BPM.mjs";import"../../chunk-BPSLUO5I.mjs";import{a as k}from"../../chunk-IQPZEEYJ.mjs";import{a as j}from"../../chunk-H7D3PZKE.mjs";import"../../chunk-FHJDQP4I.mjs";import"../../chunk-BLD454AX.mjs";import"../../chunk-4BHOIXJM.mjs";import"../../chunk-J2IHT57D.mjs";import"../../chunk-4YFMDLHL.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-HTVHCBXQ.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-ZLSF5YXT.mjs";import"../../chunk-M6LJ4BNZ.mjs";export{a as BannerBlock,c as CallToActionBlock,b as CallToActionBlockOld,e as CodeBlock,o as ContentBlock,d as CopyButton,v as DarkTop,h as FeaturesBlock,p as HeadingImage,g as ImageBlock,j as InfoTile,i as Insight,w as LightTop,k as MOTD,f as MediaBlock,l as OrgChart,m as ProposalSummary,x as RelatedPosts,r as RenderBlocks,t as RenderBlocksWithShapes,q as ReusableContentBlock,s as Theme,u as ThemeWithShapes,n as WhyUs};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- "use strict";"use client";var St=Object.create;var de=Object.defineProperty;var Pt=Object.getOwnPropertyDescriptor;var Nt=Object.getOwnPropertyNames;var Rt=Object.getPrototypeOf,Dt=Object.prototype.hasOwnProperty;var kt=(e,t)=>{for(var r in t)de(e,r,{get:t[r],enumerable:!0})},Fe=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let l of Nt(t))!Dt.call(e,l)&&l!==r&&de(e,l,{get:()=>t[l],enumerable:!(o=Pt(t,l))||o.enumerable});return e};var A=(e,t,r)=>(r=e!=null?St(Rt(e)):{},Fe(t||!e||!e.__esModule?de(r,"default",{value:e,enumerable:!0}):r,e)),Tt=e=>Fe(de({},"__esModule",{value:!0}),e);var hr={};kt(hr,{CRMCogeBoard:()=>xr});module.exports=Tt(hr);var Ce=require("react");var te=A(require("react")),D=A(require("@radix-ui/react-dialog")),Ze=require("lucide-react");var Xe=require("clsx");var Te="-",At=e=>{let t=Mt(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:c=>{let a=c.split(Te);return a[0]===""&&a.length!==1&&a.shift(),_e(a,t)||Lt(c)},getConflictingClassGroupIds:(c,a)=>{let x=r[c]||[];return a&&o[c]?[...x,...o[c]]:x}}},_e=(e,t)=>{if(e.length===0)return t.classGroupId;let r=e[0],o=t.nextPart.get(r),l=o?_e(e.slice(1),o):void 0;if(l)return l;if(t.validators.length===0)return;let n=e.join(Te);return t.validators.find(({validator:c})=>c(n))?.classGroupId},je=/^\[(.+)\]$/,Lt=e=>{if(je.test(e)){let t=je.exec(e)[1],r=t?.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Mt=e=>{let{theme:t,prefix:r}=e,o={nextPart:new Map,validators:[]};return Et(Object.entries(e.classGroups),r).forEach(([n,c])=>{ke(c,o,n,t)}),o},ke=(e,t,r,o)=>{e.forEach(l=>{if(typeof l=="string"){let n=l===""?t:Oe(t,l);n.classGroupId=r;return}if(typeof l=="function"){if(It(l)){ke(l(o),t,r,o);return}t.validators.push({validator:l,classGroupId:r});return}Object.entries(l).forEach(([n,c])=>{ke(c,Oe(t,n),r,o)})})},Oe=(e,t)=>{let r=e;return t.split(Te).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r},It=e=>e.isThemeGetter,Et=(e,t)=>t?e.map(([r,o])=>{let l=o.map(n=>typeof n=="string"?t+n:typeof n=="object"?Object.fromEntries(Object.entries(n).map(([c,a])=>[t+c,a])):n);return[r,l]}):e,zt=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map,l=(n,c)=>{r.set(n,c),t++,t>e&&(t=0,o=r,r=new Map)};return{get(n){let c=r.get(n);if(c!==void 0)return c;if((c=o.get(n))!==void 0)return l(n,c),c},set(n,c){r.has(n)?r.set(n,c):l(n,c)}}},$e="!",Bt=e=>{let{separator:t,experimentalParseClassName:r}=e,o=t.length===1,l=t[0],n=t.length,c=a=>{let x=[],u=0,d=0,C;for(let g=0;g<a.length;g++){let k=a[g];if(u===0){if(k===l&&(o||a.slice(g,g+n)===t)){x.push(a.slice(d,g)),d=g+n;continue}if(k==="/"){C=g;continue}}k==="["?u++:k==="]"&&u--}let P=x.length===0?a:a.substring(d),S=P.startsWith($e),b=S?P.substring(1):P,R=C&&C>d?C-d:void 0;return{modifiers:x,hasImportantModifier:S,baseClassName:b,maybePostfixModifierPosition:R}};return r?a=>r({className:a,parseClassName:c}):c},Ht=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(o=>{o[0]==="["?(t.push(...r.sort(),o),r=[]):r.push(o)}),t.push(...r.sort()),t},Vt=e=>({cache:zt(e.cacheSize),parseClassName:Bt(e),...At(e)}),Wt=/\M+/,Gt=(e,t)=>{let{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:l}=t,n=[],c=e.trim().split(Wt),a="";for(let x=c.length-1;x>=0;x-=1){let u=c[x],{modifiers:d,hasImportantModifier:C,baseClassName:P,maybePostfixModifierPosition:S}=r(u),b=!!S,R=o(b?P.substring(0,S):P);if(!R){if(!b){a=u+(a.length>0?" "+a:a);continue}if(R=o(P),!R){a=u+(a.length>0?" "+a:a);continue}b=!1}let g=Ht(d).join(":"),k=C?g+$e:g,T=k+R;if(n.includes(T))continue;n.push(T);let V=l(R,b);for(let E=0;E<V.length;++E){let i=V[E];n.push(k+i)}a=u+(a.length>0?" "+a:a)}return a};function Ut(){let e=0,t,r,o="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Ke(t))&&(o&&(o+=" "),o+=r);return o}var Ke=e=>{if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=Ke(e[o]))&&(r&&(r+=" "),r+=t);return r};function Ft(e,...t){let r,o,l,n=c;function c(x){let u=t.reduce((d,C)=>C(d),e());return r=Vt(u),o=r.cache.get,l=r.cache.set,n=a,a(x)}function a(x){let u=o(x);if(u)return u;let d=Gt(x,r);return l(x,d),d}return function(){return n(Ut.apply(null,arguments))}}var y=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Je=/^\[(?:([a-z-]+):)?(.+)\]$/i,jt=/^\d+\/\d+$/,Ot=new Set(["px","full","screen"]),_t=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,$t=/\d+(%|px|r?em|[sdl]?M([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$/,Kt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Jt=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)Ce-?((\d+)?\.?(\d+)[a-z]+|0)/,Qt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,B=e=>q(e)||Ot.has(e)||jt.test(e),W=e=>X(e,"length",or),q=e=>!!e&&!Number.isNaN(Number(e)),De=e=>X(e,"number",q),Y=e=>!!e&&Number.isInteger(Number(e)),qt=e=>e.endsWith("%")&&q(e.slice(0,-1)),m=e=>Je.test(e),G=e=>_t.test(e),Xt=new Set(["length","size","percentage"]),Zt=e=>X(e,Xt,Qe),Yt=e=>X(e,"position",Qe),er=new Set(["image","url"]),tr=e=>X(e,er,sr),rr=e=>X(e,"",ar),ee=()=>!0,X=(e,t,r)=>{let o=Je.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):r(o[2]):!1},or=e=>$t.test(e)&&!Kt.test(e),Qe=()=>!1,ar=e=>Jt.test(e),sr=e=>Qt.test(e);var ir=()=>{let e=y("colors"),t=y("spacing"),r=y("blur"),o=y("brightness"),l=y("borderColor"),n=y("borderRadius"),c=y("borderSpacing"),a=y("borderWidth"),x=y("contrast"),u=y("grayscale"),d=y("hueRotate"),C=y("invert"),P=y("gap"),S=y("gradientColorStops"),b=y("gradientColorStopPositions"),R=y("inset"),g=y("margin"),k=y("opacity"),T=y("padding"),V=y("saturate"),E=y("scale"),i=y("sepia"),h=y("skew"),Q=y("space"),He=y("translate"),Se=()=>["auto","contain","none"],Pe=()=>["auto","hidden","clip","visible","scroll"],Ne=()=>["auto",m,t],w=()=>[m,t],Ve=()=>["",B,W],le=()=>["auto",q,m],We=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],ce=()=>["solid","dashed","dotted","double","none"],Ge=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Re=()=>["start","end","center","between","around","evenly","stretch"],Z=()=>["","0",m],Ue=()=>["auto","avoid","all","avoid-page","page","left","right","column"],z=()=>[q,m];return{cacheSize:500,separator:":",theme:{colors:[ee],spacing:[B,W],blur:["none","",G,m],brightness:z(),borderColor:[e],borderRadius:["none","","full",G,m],borderSpacing:w(),borderWidth:Ve(),contrast:z(),grayscale:Z(),hueRotate:z(),invert:Z(),gap:w(),gradientColorStops:[e],gradientColorStopPositions:[qt,W],inset:Ne(),margin:Ne(),opacity:z(),padding:w(),saturate:z(),scale:z(),sepia:Z(),skew:z(),space:w(),translate:w()},classGroups:{aspect:[{aspect:["auto","square","video",m]}],container:["container"],columns:[{columns:[G]}],"break-after":[{"break-after":Ue()}],"break-before":[{"break-before":Ue()}],"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:[...We(),m]}],overflow:[{overflow:Pe()}],"overflow-x":[{"overflow-x":Pe()}],"overflow-y":[{"overflow-y":Pe()}],overscroll:[{overscroll:Se()}],"overscroll-x":[{"overscroll-x":Se()}],"overscroll-y":[{"overscroll-y":Se()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[R]}],"inset-x":[{"inset-x":[R]}],"inset-y":[{"inset-y":[R]}],start:[{start:[R]}],end:[{end:[R]}],top:[{top:[R]}],right:[{right:[R]}],bottom:[{bottom:[R]}],left:[{left:[R]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Y,m]}],basis:[{basis:Ne()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",m]}],grow:[{grow:Z()}],shrink:[{shrink:Z()}],order:[{order:["first","last","none",Y,m]}],"grid-cols":[{"grid-cols":[ee]}],"col-start-end":[{col:["auto",{span:["full",Y,m]},m]}],"col-start":[{"col-start":le()}],"col-end":[{"col-end":le()}],"grid-rows":[{"grid-rows":[ee]}],"row-start-end":[{row:["auto",{span:[Y,m]},m]}],"row-start":[{"row-start":le()}],"row-end":[{"row-end":le()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",m]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",m]}],gap:[{gap:[P]}],"gap-x":[{"gap-x":[P]}],"gap-y":[{"gap-y":[P]}],"justify-content":[{justify:["normal",...Re()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Re(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Re(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[T]}],px:[{px:[T]}],py:[{py:[T]}],ps:[{ps:[T]}],pe:[{pe:[T]}],pt:[{pt:[T]}],pr:[{pr:[T]}],pb:[{pb:[T]}],pl:[{pl:[T]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],M:[{M:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[Q]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Q]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",m,t]}],"min-w":[{"min-w":[m,t,"min","max","fit"]}],"max-w":[{"max-w":[m,t,"none","full","min","max","fit","prose",{screen:[G]},G]}],h:[{h:[m,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[m,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[m,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[m,t,"auto","min","max","fit"]}],"font-size":[{text:["base",G,W]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",De]}],"font-family":[{font:[ee]}],"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",m]}],"line-clamp":[{"line-clamp":["none",q,De]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",B,m]}],"list-image":[{"list-image":["none",m]}],"list-style-type":[{list:["none","disc","decimal",m]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[k]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[k]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ce(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",B,W]}],"underline-offset":[{"underline-offset":["auto",B,m]}],"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:w()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",m]}],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",m]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[k]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...We(),Yt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Zt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},tr]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[b]}],"gradient-via-pos":[{via:[b]}],"gradient-to-pos":[{to:[b]}],"gradient-from":[{from:[S]}],"gradient-via":[{via:[S]}],"gradient-to":[{to:[S]}],rounded:[{rounded:[n]}],"rounded-M":[{"rounded-M":[n]}],"rounded-e":[{"rounded-e":[n]}],"rounded-t":[{"rounded-t":[n]}],"rounded-r":[{"rounded-r":[n]}],"rounded-b":[{"rounded-b":[n]}],"rounded-l":[{"rounded-l":[n]}],"rounded-ss":[{"rounded-ss":[n]}],"rounded-se":[{"rounded-se":[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-M":[{"border-M":[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-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[k]}],"border-style":[{border:[...ce(),"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":[k]}],"divide-style":[{divide:ce()}],"border-color":[{border:[l]}],"border-color-x":[{"border-x":[l]}],"border-color-y":[{"border-y":[l]}],"border-color-M":[{"border-M":[l]}],"border-color-e":[{"border-e":[l]}],"border-color-t":[{"border-t":[l]}],"border-color-r":[{"border-r":[l]}],"border-color-b":[{"border-b":[l]}],"border-color-l":[{"border-l":[l]}],"divide-color":[{divide:[l]}],"outline-style":[{outline:["",...ce()]}],"outline-offset":[{"outline-offset":[B,m]}],"outline-w":[{outline:[B,W]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Ve()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[k]}],"ring-offset-w":[{"ring-offset":[B,W]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",G,rr]}],"shadow-color":[{shadow:[ee]}],opacity:[{opacity:[k]}],"mix-blend":[{"mix-blend":[...Ge(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Ge()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[x]}],"drop-shadow":[{"drop-shadow":["","none",G,m]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[C]}],saturate:[{saturate:[V]}],sepia:[{sepia:[i]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[x]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[C]}],"backdrop-opacity":[{"backdrop-opacity":[k]}],"backdrop-saturate":[{"backdrop-saturate":[V]}],"backdrop-sepia":[{"backdrop-sepia":[i]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[c]}],"border-spacing-x":[{"border-spacing-x":[c]}],"border-spacing-y":[{"border-spacing-y":[c]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",m]}],duration:[{duration:z()}],ease:[{ease:["linear","in","out","in-out",m]}],delay:[{delay:z()}],animate:[{animate:["none","spin","ping","pulse","bounce",m]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[E]}],"scale-x":[{"scale-x":[E]}],"scale-y":[{"scale-y":[E]}],rotate:[{rotate:[Y,m]}],"translate-x":[{"translate-x":[He]}],"translate-y":[{"translate-y":[He]}],"skew-x":[{"skew-x":[h]}],"skew-y":[{"skew-y":[h]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",m]}],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","M-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",m]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":w()}],"scroll-mx":[{"scroll-mx":w()}],"scroll-my":[{"scroll-my":w()}],"scroll-ms":[{"scroll-ms":w()}],"scroll-me":[{"scroll-me":w()}],"scroll-M":[{"scroll-M":w()}],"scroll-mr":[{"scroll-mr":w()}],"scroll-mb":[{"scroll-mb":w()}],"scroll-ml":[{"scroll-ml":w()}],"scroll-p":[{"scroll-p":w()}],"scroll-px":[{"scroll-px":w()}],"scroll-py":[{"scroll-py":w()}],"scroll-ps":[{"scroll-ps":w()}],"scroll-pe":[{"scroll-pe":w()}],"scroll-pt":[{"scroll-pt":w()}],"scroll-pr":[{"scroll-pr":w()}],"scroll-pb":[{"scroll-pb":w()}],"scroll-pl":[{"scroll-pl":w()}],"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",m]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[B,W,De]}],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"],m:["mx","my","ms","me","M","mr","mb","ml"],mx:["mr","ml"],my:["M","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-M","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-M":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-M","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-M","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-M","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-M","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 qe=Ft(ir);function p(...e){return qe((0,Xe.clsx)(e))}var M=require("react/jsx-runtime"),Ye=D.Root;var nr=D.Portal;var et=te.forwardRef(({className:e,...t},r)=>(0,M.jsx)(D.Overlay,{ref:r,className:p("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));et.displayName=D.Overlay.displayName;var Ae=te.forwardRef(({className:e,children:t,...r},o)=>(0,M.jsxs)(nr,{children:[(0,M.jsx)(et,{}),(0,M.jsxs)(D.Content,{ref:o,className:p("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",e),...r,children:[t,(0,M.jsxs)(D.Close,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,M.jsx)(Ze.X,{className:"h-4 w-4"}),(0,M.jsx)("span",{className:"sr-only",children:"Close"})]})]})]}));Ae.displayName=D.Content.displayName;var Le=({className:e,...t})=>(0,M.jsx)("div",{className:p("flex flex-col space-y-1.5 text-center sm:text-left",e),...t});Le.displayName="DialogHeader";var lr=({className:e,...t})=>(0,M.jsx)("div",{className:p("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});lr.displayName="DialogFooter";var Me=te.forwardRef(({className:e,...t},r)=>(0,M.jsx)(D.Title,{ref:r,className:p("text-lg font-semibold leading-none tracking-tight",e),...t}));Me.displayName=D.Title.displayName;var cr=te.forwardRef(({className:e,...t},r)=>(0,M.jsx)(D.Description,{ref:r,className:p("text-sm text-muted-foreground",e),...t}));cr.displayName=D.Description.displayName;var tt=require("@radix-ui/react-slot"),rt=require("class-variance-authority"),ot=A(require("react")),dr=(0,rt.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-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),re=ot.forwardRef(({asChild:e=!1,className:t,size:r,variant:o,...l},n)=>(0,M.jsx)(e?tt.Slot:"button",{className:p(dr({className:t,size:r,variant:o})),ref:n,...l}));re.displayName="Button";var st=A(require("react"));var oe=st.forwardRef(({className:e,type:t,...r},o)=>(0,M.jsx)("input",{type:t,className:p("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),ref:o,...r}));oe.displayName="Input";var nt=A(require("react")),Ie=A(require("@radix-ui/react-label"));var mr=(0,rt.cva)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),H=nt.forwardRef(({className:e,...t},r)=>(0,M.jsx)(Ie.Root,{ref:r,className:p(mr(),e),...t}));H.displayName=Ie.Root.displayName;var dt=A(require("react")),Ee=dt.forwardRef(({className:e,...t},r)=>(0,M.jsx)("textarea",{className:p("flex min-h-[80px] w-full rounded border border-border bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),ref:r,...t}));Ee.displayName="Textarea";var f=A(require("@radix-ui/react-select")),U=A(require("react")),me=f.Root;var pe=f.Value,ae=U.forwardRef(({children:e,className:t,...r},o)=>(0,M.jsxs)(f.Trigger,{className:p("flex h-10 w-full items-center justify-between rounded border border-input bg-background px-3 py-2 text-inherit ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",t),ref:o,...r,children:[e,(0,M.jsx)(f.Icon,{asChild:!0,children:(0,M.jsx)(Ze.ChevronDown,{className:"h-4 w-4 opacity-50"})})]}));ae.displayName=f.Trigger.displayName;var pt=U.forwardRef(({className:e,...t},r)=>(0,M.jsx)(f.ScrollUpButton,{className:p("flex cursor-default items-center justify-center py-1",e),ref:r,...t,children:(0,M.jsx)(Ze.ChevronUp,{className:"h-4 w-4"})}));pt.displayName=f.ScrollUpButton.displayName;var ut=U.forwardRef(({className:e,...t},r)=>(0,M.jsx)(f.ScrollDownButton,{className:p("flex cursor-default items-center justify-center py-1",e),ref:r,...t,children:(0,M.jsx)(Ze.ChevronDown,{className:"h-4 w-4"})}));ut.displayName=f.ScrollDownButton.displayName;var se=U.forwardRef(({children:e,className:t,position:r="popper",...o},l)=>(0,M.jsx)(f.Portal,{children:(0,M.jsxs)(f.Content,{className:p("relative z-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",r==="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:r,ref:l,...o,children:[(0,M.jsx)(pt,{}),(0,M.jsx)(f.Viewport,{className:p("p-1",r==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:e}),(0,M.jsx)(ut,{})]})}));se.displayName=f.Content.displayName;var pr=U.forwardRef(({className:e,...t},r)=>(0,M.jsx)(f.Label,{className:p("py-1.5 pl-8 pr-2 text-sm font-semibold",e),ref:r,...t}));pr.displayName=f.Label.displayName;var ie=U.forwardRef(({children:e,className:t,...r},o)=>(0,M.jsxs)(f.Item,{className:p("relative flex w-full cursor-default select-none items-center rounded py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),ref:o,...r,children:[(0,M.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,M.jsx)(f.ItemIndicator,{children:(0,M.jsx)(Ze.Check,{className:"h-4 w-4"})})}),(0,M.jsx)(f.ItemText,{children:e})]}));ie.displayName=f.Item.displayName;var ur=U.forwardRef(({className:e,...t},r)=>(0,M.jsx)(f.Separator,{className:p("-mx-1 my-1 h-px bg-muted",e),ref:r,...t}));ur.displayName=f.Separator.displayName;var ne=A(require("@radix-ui/react-checkbox")),gt=A(require("react")),ze=gt.forwardRef(({className:e,...t},r)=>(0,M.jsx)(ne.Root,{className:p("peer h-4 w-4 shrink-0 rounded border border-primary ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",e),ref:r,...t,children:(0,M.jsx)(ne.Indicator,{className:p("flex items-center justify-center text-current"),children:(0,M.jsx)(Ze.Check,{className:"h-4 w-4"})})}));ze.displayName=ne.Root.displayName;var fr=(0,rt.cva)("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function fe({className:e,variant:t,...r}){return(0,M.jsx)("div",{className:p(fr({variant:t}),e),...r})}var Be=A(require("react")),I=A(require("@radix-ui/react-scroll-area"));var ge=Be.forwardRef(({className:e,children:t,...r},o)=>(0,M.jsxs)(I.Root,{ref:o,className:p("relative overflow-hidden",e),...r,children:[(0,M.jsx)(I.Viewport,{className:"h-full w-full rounded-[inherit]",children:t}),(0,M.jsx)(xt,{}),(0,M.jsx)(I.Corner,{})]}));ge.displayName=I.Root.displayName;var xt=Be.forwardRef(({className:e,orientation:t="vertical",...r},o)=>(0,M.jsx)(I.ScrollAreaScrollbar,{ref:o,orientation:t,className:p("flex touch-none select-none transition-colors",t==="vertical"&&"h-full w-2.5 border-l border-l-transparent p-[1px]",t==="horizontal"&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",e),...r,children:(0,M.jsx)(I.ScrollAreaThumb,{className:"relative flex-1 rounded-full bg-border"})}));xt.displayName=I.ScrollAreaScrollbar.displayName;function ht({deal:e,users:t,customer:r,categories:o,onClose:l,onSave:n,onAddComment:c}){let[a,x]=(0,Ce.useState)({...e,value:e.value||0,comments:e.comments||[],customer:e.customer||{}}),[u,d]=(0,Ce.useState)(""),[C,P]=(0,Ce.useState)(!1),[S,b]=(0,Ce.useState)(null);(0,Ce.useEffect)(()=>{P(JSON.stringify(e)!==JSON.stringify(a))},[e,a]);let R=async()=>{try{let i=await n(a);i.success?(P(!1),b(null)):console.error("Failed to save deal:",i.errors)}catch(i){console.error("Failed to save deal:",i)}},g=(i,h)=>{x(Q=>({...Q,[i]:h}))},k=i=>{let h=(a.categories||[]).includes(i)?(a.categories||[]).filter(Q=>Q!==i):[...a.categories||[],i];g("categories",h)},T=async()=>{if(u.trim()){let i={text:u,timestamp:new Date().toISOString()};try{let h=await c(i);if(!h.success){console.error("Failed to add comment:",h.errors);return}}catch(h){console.error("Failed to add comment:",h)}x(h=>({...h,comments:[...h.comments||[],i]})),d("")}},V=i=>{switch(i){case"proposition":return"border-blue-800 text-blue-800";case"source":return"border-green-800 text-green-800";case"sector":return"border-purple-800 text-purple-800";default:return"border-gray-800 text-gray-800"}},E=i=>t?.find(h=>h.id===Number(i));return(0,M.jsx)(Ye,{open:!0,children:(0,M.jsxs)(Ae,{className:"max-w-3xl max-h-[90vh] overflow-hidden flex flex-col [&>button:last-child]:hidden",children:[(0,M.jsxs)(Le,{className:"flex flex-row items-center justify-between",children:[(0,M.jsx)(Me,{className:"text-2xl font-bold",children:r?.name||"no customer"}),(0,M.jsxs)("div",{className:"flex space-x-2",children:[(0,M.jsx)(re,{variant:"outline",onClick:l,children:"Close"}),(0,M.jsxs)(re,{onClick:R,disabled:!C,children:[(0,M.jsx)(Ze.SaveIcon,{className:"w-4 h-4 mr-2"}),"Save"]})]})]}),(0,M.jsxs)(ge,{className:"flex-grow pr-4",children:[(0,M.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-4",children:[(0,M.jsx)("div",{className:"grid gap-2 m-1",children:S==="value"?(0,M.jsx)(oe,{type:"number",value:a.value,onChange:i=>g("value",Number(i.target.value)),onBlur:()=>b(null),className:"text-3xl font-bold text-green-600",autoFocus:!0}):(0,M.jsxs)("div",{className:"text-3xl font-bold text-green-600 cursor-pointer p-1 border border-background hover:border-accent rounded",onClick:()=>b("value"),children:["\xA3",a.value?.toLocaleString()]})}),(0,M.jsxs)("div",{className:"grid gap-2 m-1",children:[(0,M.jsx)(H,{className:"text-sm font-medium text-accent",children:"Assignee"}),S==="assignee"?(0,M.jsxs)(me,{value:a?.assignee?.id?.toString()||"",onValueChange:i=>g("assignee",E(i)),children:[(0,M.jsx)(ae,{children:(0,M.jsx)(pe,{placeholder:"Select assignee"})}),(0,M.jsx)(se,{children:t&&t.map(i=>(0,M.jsx)(ie,{value:i?.id?.toString()||"",children:i.name},i.id))})]}):(0,M.jsxs)("div",{className:"flex items-center space-x-2 cursor-pointer p-1 border border-background hover:border-accent rounded",onClick:()=>b("assignee"),children:[(0,M.jsx)(Ze.UserIcon,{className:"w-4 h-4 text-gray-400"}),(0,M.jsx)("span",{children:a?.assignee?.name})]})]}),(0,M.jsxs)("div",{className:"grid gap-2 m-1",children:[(0,M.jsx)(H,{className:"text-sm font-medium text-accent",children:"Closure Date"}),S==="closureDate"?(0,M.jsx)(oe,{type:"date",value:a.closureDate?.split("T")[0]??"",onChange:i=>g("closureDate",i.target.value),onBlur:()=>b(null),className:"mr-2",autoFocus:!0}):(0,M.jsxs)("div",{className:"flex items-center space-x-2 cursor-pointer p-1 border border-background hover:border-accent rounded",onClick:()=>b("closureDate"),children:[(0,M.jsx)(Ze.CalendarIcon,{className:"w-4 h-4 text-gray-400"}),(0,M.jsx)("span",{children:a.closureDate?new Date(a.closureDate).toLocaleDateString("en-GB"):"M/A"})]})]})]}),(0,M.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-1 gap-4",children:(0,M.jsxs)("div",{className:"grid gap-2 m-1",children:[(0,M.jsx)(H,{className:"text-sm font-medium text-accent",children:"Description"}),S==="description"?(0,M.jsx)(Ee,{value:a.description||"",onChange:i=>g("description",i.target.value),onBlur:()=>b(null),className:"min-h-[100px]",autoFocus:!0}):(0,M.jsx)("div",{className:"cursor-pointer p-1 border border-background hover:border-accent pb-5 rounded",onClick:()=>b("description"),children:a.description})]})}),(0,M.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-3 pt-2 gap-4",children:[(0,M.jsxs)("div",{className:"grid gap-2 m-1",children:[(0,M.jsx)(H,{className:"text-sm font-medium text-accent",children:"Status"}),S==="status"?(0,M.jsxs)(me,{value:a.status,onValueChange:i=>{g("status",i),b(null)},children:[(0,M.jsx)(ae,{children:(0,M.jsx)(pe,{placeholder:"Select status"})}),(0,M.jsx)(se,{children:["Cold","Qualified","Proposal Made","SoW Submitted","Won","Lost"].map(i=>(0,M.jsx)(ie,{value:i,children:i},i))})]}):(0,M.jsx)("div",{className:"cursor-pointer p-1 border border-background hover:border-accent rounded",onClick:()=>b("status"),children:a.status})]}),(0,M.jsxs)("div",{className:"grid col-span-2 gap-2",children:[(0,M.jsx)(H,{className:"text-sm font-medium text-accent",children:"Categories"}),S==="categories"?(0,M.jsx)("div",{className:"grid grid-cols-2 gap-2 m-1",children:o.map(i=>(0,M.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,M.jsx)(ze,{id:i.id?.toString()||"",checked:(a.categories||[]).some(h=>h.id===i.id),onCheckedChange:()=>i.id!==void 0&&k(i)}),(0,M.jsx)("label",{htmlFor:(i.id??"").toString(),className:`text-sm font-medium ${V(i.type||"sector")} px-2 py-1 rounded`,children:i.name})]},i.id))}):(0,M.jsx)("div",{className:"flex flex-wrap gap-2 cursor-pointer p-1 border border-background hover:border-accent rounded",onClick:()=>b("categories"),children:a.categories&&a.categories.map(i=>{let h=i;return h?(0,M.jsx)(fe,{variant:"outline",className:V(h.type||"sector"),children:h.name},h.id):null})})]}),(0,M.jsxs)("div",{className:"grid gap-2 m-1",children:[(0,M.jsx)(H,{className:"text-sm font-medium text-accent",children:"COGE Status"}),S==="gecoStatus"?(0,M.jsxs)(me,{value:a.gecoStatus??void 0,onValueChange:i=>{g("gecoStatus",i),b(null)},children:[(0,M.jsx)(ae,{children:(0,M.jsx)(pe,{placeholder:"Select status"})}),(0,M.jsx)(se,{children:["firm","forecast","other"].map(i=>(0,M.jsx)(ie,{value:i,children:i.charAt(0).toUpperCase()+i.slice(1)},i))})]}):(0,M.jsx)("div",{className:"cursor-pointer p-1 border border-background hover:border-accent rounded",onClick:()=>b("gecoStatus"),children:a.gecoStatus?a.gecoStatus.charAt(0).toUpperCase()+a.gecoStatus.slice(1):"M/A"})]})]}),(0,M.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-1 pt-4 gap-4",children:[(0,M.jsxs)("div",{className:"grid gap-2",children:[(0,M.jsx)(H,{className:"text-sm font-medium text-accent",children:"Comments"}),(0,M.jsx)(ge,{className:"h-[200px] overflow-y-auto",children:(0,M.jsx)("div",{className:"space-y-2",children:a.comments&&a.comments.slice().sort((i,h)=>new Date(h.timestamp||"").getTime()-new Date(i.timestamp||"").getTime()).map(i=>(0,M.jsxs)("div",{className:"p-3 rounded-lg",children:[(0,M.jsx)("p",{className:"text-sm text-foreground",children:i.text}),(0,M.jsxs)("p",{className:"text-xs text-foreground M-1",children:[i?.author?.name," - ",new Date(i.timestamp||"").toLocaleString()]})]},i.id))})}),(0,M.jsxs)("div",{className:"flex M-2",children:[(0,M.jsx)(oe,{value:u,onChange:i=>d(i.target.value),placeholder:"Add a comment...",className:"flex-grow ml-1"}),(0,M.jsxs)(re,{onClick:T,className:"ml-2",children:[(0,M.jsx)(Ze.PlusIcon,{className:"w-4 h-4 mr-2"}),"Add"]})]})]}),(0,M.jsxs)("div",{className:"text-xs text-gray-500 M-4",children:["Last modified: ",new Date(a.updatedAt||"").toLocaleString()]})]})]})]})})}var $=A(require("react"));var be=$.forwardRef(({className:e,...t},r)=>(0,M.jsx)("div",{ref:r,className:p("rounded-xl border bg-card text-card-foreground shadow",e),...t}));be.displayName="Card";var ve=$.forwardRef(({className:e,...t},r)=>(0,M.jsx)("div",{ref:r,className:p("flex flex-col space-y-1.5 p-6",e),...t}));ve.displayName="CardHeader";var xe=$.forwardRef(({className:e,...t},r)=>(0,M.jsx)("div",{ref:r,className:p("font-semibold leading-none tracking-tight",e),...t}));xe.displayName="CardTitle";var gr=$.forwardRef(({className:e,...t},r)=>(0,M.jsx)("div",{ref:r,className:p("text-sm text-muted-foreground",e),...t}));gr.displayName="CardDescription";var he=$.forwardRef(({className:e,...t},r)=>(0,M.jsx)("div",{ref:r,className:p("p-6 pt-0",e),...t}));he.displayName="CardContent";var br=$.forwardRef(({className:e,...t},r)=>(0,M.jsx)("div",{ref:r,className:p("flex items-center p-6 pt-0",e),...t}));br.displayName="CardFooter";function yt({deal:e,customer:t,categories:r,onClick:o,compact:l=!1}){let n=r.find(c=>c.type==="proposition"&&(e.categories??[]).includes(c.id));return l?(0,M.jsxs)(be,{className:"mb-1 cursor-pointer hover:shadow-md transition-shadow border-l-4 border-l-accent",onClick:o,children:[(0,M.jsxs)(ve,{className:"pb-1 pt-2",children:[(0,M.jsx)(xe,{className:"text-sm font-semibold text-foreground",children:t?.name}),(0,M.jsx)("p",{className:"text-sm text-gray-500 M-1",children:e.description})]}),(0,M.jsx)(he,{className:"text-xs text-gray-500 pb-2",children:(0,M.jsx)("div",{className:"flex justify-between items-center mb-1",children:(0,M.jsx)("div",{className:"flex items-center text-sm font-bold text-green-600",children:(0,M.jsxs)("span",{children:["\xA3",e.value.toLocaleString()]})})})})]}):(0,M.jsxs)(be,{className:"mb-4 cursor-pointer hover:shadow-md transition-shadow border-l-4 border-l-accent",onClick:o,children:[(0,M.jsxs)(ve,{className:"pb-2",children:[(0,M.jsx)("div",{className:"flex justify-between items-center",children:(0,M.jsx)(xe,{className:"text-lg font-semibold text-foreground",children:t?.name})}),(0,M.jsx)("p",{className:"text-sm text-gray-500 M-1",children:e.description})]}),(0,M.jsxs)(he,{children:[(0,M.jsxs)("div",{className:"flex justify-between items-center mb-3",children:[(0,M.jsxs)("div",{className:"flex items-center text-sm text-accent",children:[(0,M.jsx)(Ze.UserIcon,{className:"w-4 h-4 mr-1 text-xs"}),(0,M.jsx)("span",{children:e.assignee.name})]}),(0,M.jsx)("div",{className:"flex items-center text-sm font-bold text-green-600",children:(0,M.jsxs)("span",{children:["\xA3",e.value.toLocaleString()]})})]}),(0,M.jsx)("div",{className:"flex justify-between items-left mb-3",children:(0,M.jsxs)("div",{className:"flex items-center text-xs text-gray-500",children:[(0,M.jsx)(Ze.CalendarIcon,{className:"w-3 h-3 mr-1"}),(0,M.jsx)("span",{children:new Date(e.updatedAt).toLocaleDateString()})]})}),(0,M.jsx)("div",{className:"flex justify-between items-left",children:n&&(0,M.jsx)(fe,{variant:"secondary",className:"bg-blue-100 text-blue-800 text-xs",children:n.name})})]})]})}var we=require("@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration");function wt({status:e,deals:t,users:r,customers:o,categories:l,onDealClick:n,calculateColumnValue:c,calculateWeightedValue:a,compact:x=!1}){return(0,M.jsxs)("div",{className:"flex flex-col w-80",children:[(0,M.jsxs)("h2",{className:"text-xl font-semibold mb-4",children:[" ",e.charAt(0).toUpperCase()+e.slice(1)]}),(0,M.jsx)(we.Droppable,{droppableId:e,isDropDisabled:!1,children:u=>(0,M.jsxs)("div",{ref:u.innerRef,...u.droppableProps,className:"bg-background/90 p-4 rounded-lg flex-grow min-h-[200px] shadow-inner",children:[t.map((d,C)=>(0,M.jsx)(we.Draggable,{draggableId:d.id.toString(),index:d.id,children:P=>(0,M.jsx)("div",{ref:P.innerRef,...P.draggableProps,...P.dragHandleProps,children:(0,M.jsx)(yt,{deal:d,customer:d.customer,categories:l,onClick:()=>n(d),compact:x})})},d.id.toString())),u.placeholder]})}),(0,M.jsxs)("div",{className:"M-4 text-sm p-3 rounded-lg shadow",children:[(0,M.jsxs)("p",{className:"font-semibold",children:["Total:"," ",(0,M.jsxs)("span",{className:"text-green-600",children:["\xA3",c(t).toLocaleString()]})]}),(0,M.jsxs)("p",{className:"font-semibold",children:["Weighted:"," ",(0,M.jsxs)("span",{className:"text-blue-600",children:["\xA3",a(t,e).toLocaleString()]})]})]})]})}var vr=["firm","forecast","other"];function xr({initialData:e,updateDeal:t,addComment:r}){let[o,l]=(0,Ce.useState)(null),n=u=>(e.deals??[]).filter(d=>d.gecoStatus===u).filter(d=>d.status!=="Lost").filter(d=>d.status!=="Cold"),c=u=>u.reduce((d,C)=>d+(C.value||0),0),a=(u,d)=>{let C={Cold:0,Qualified:.2,"Proposal Made":.5,"SoW Submitted":.8,Won:1,Lost:0};return u.reduce((P,S)=>P+(S.value||0)*(C[S.status]??0),0)},x=(0,Ce.useCallback)(u=>{let{source:d,destination:C}=u;if(!C||d.droppableId===C.droppableId&&d.index===C.index)return;let P=d.droppableId,S=C.droppableId,b=e.deals?.filter(g=>g.id===d.index)[0],R=[...e.deals??[]];b&&(b.gecoStatus=S,t(b))},[t]);return(0,M.jsx)(we.DragDropContext,{onDragEnd:x,children:(0,M.jsxs)("div",{className:"p-4 h-full overflow-auto",children:[(0,M.jsx)("div",{className:"flex space-x-4 pb-4",children:vr.map(u=>{let d=n(u);return(0,M.jsx)(wt,{status:u,deals:d,customers:e.customers??[],users:e.users,categories:e.categories??[],onDealClick:l,calculateColumnValue:c,calculateWeightedValue:a,compact:!0},u)})}),o&&(0,M.jsx)(ht,{deal:o,users:e.users,customer:o.customer,categories:e.categories??[],onClose:()=>l(null),onSave:t,onAddComment:u=>r(o.id.toString(),u)})]})})}0&&(module.exports={CRMCogeBoard});
4
+ "use strict";"use client";var St=Object.create;var de=Object.defineProperty;var Pt=Object.getOwnPropertyDescriptor;var Nt=Object.getOwnPropertyNames;var Rt=Object.getPrototypeOf,Dt=Object.prototype.hasOwnProperty;var kt=(e,t)=>{for(var r in t)de(e,r,{get:t[r],enumerable:!0})},Fe=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let l of Nt(t))!Dt.call(e,l)&&l!==r&&de(e,l,{get:()=>t[l],enumerable:!(o=Pt(t,l))||o.enumerable});return e};var A=(e,t,r)=>(r=e!=null?St(Rt(e)):{},Fe(t||!e||!e.__esModule?de(r,"default",{value:e,enumerable:!0}):r,e)),Tt=e=>Fe(de({},"__esModule",{value:!0}),e);var hr={};kt(hr,{CRMCogeBoard:()=>xr});module.exports=Tt(hr);var Ce=require("react");var te=A(require("react")),D=A(require("@radix-ui/react-dialog")),Ze=require("lucide-react");var Xe=require("clsx");var Te="-",At=e=>{let t=Mt(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:c=>{let a=c.split(Te);return a[0]===""&&a.length!==1&&a.shift(),_e(a,t)||Lt(c)},getConflictingClassGroupIds:(c,a)=>{let x=r[c]||[];return a&&o[c]?[...x,...o[c]]:x}}},_e=(e,t)=>{if(e.length===0)return t.classGroupId;let r=e[0],o=t.nextPart.get(r),l=o?_e(e.slice(1),o):void 0;if(l)return l;if(t.validators.length===0)return;let n=e.join(Te);return t.validators.find(({validator:c})=>c(n))?.classGroupId},je=/^\[(.+)\]$/,Lt=e=>{if(je.test(e)){let t=je.exec(e)[1],r=t?.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Mt=e=>{let{theme:t,prefix:r}=e,o={nextPart:new Map,validators:[]};return Et(Object.entries(e.classGroups),r).forEach(([n,c])=>{ke(c,o,n,t)}),o},ke=(e,t,r,o)=>{e.forEach(l=>{if(typeof l=="string"){let n=l===""?t:Oe(t,l);n.classGroupId=r;return}if(typeof l=="function"){if(It(l)){ke(l(o),t,r,o);return}t.validators.push({validator:l,classGroupId:r});return}Object.entries(l).forEach(([n,c])=>{ke(c,Oe(t,n),r,o)})})},Oe=(e,t)=>{let r=e;return t.split(Te).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r},It=e=>e.isThemeGetter,Et=(e,t)=>t?e.map(([r,o])=>{let l=o.map(n=>typeof n=="string"?t+n:typeof n=="object"?Object.fromEntries(Object.entries(n).map(([c,a])=>[t+c,a])):n);return[r,l]}):e,zt=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map,l=(n,c)=>{r.set(n,c),t++,t>e&&(t=0,o=r,r=new Map)};return{get(n){let c=r.get(n);if(c!==void 0)return c;if((c=o.get(n))!==void 0)return l(n,c),c},set(n,c){r.has(n)?r.set(n,c):l(n,c)}}},$e="!",Bt=e=>{let{separator:t,experimentalParseClassName:r}=e,o=t.length===1,l=t[0],n=t.length,c=a=>{let x=[],u=0,d=0,C;for(let g=0;g<a.length;g++){let k=a[g];if(u===0){if(k===l&&(o||a.slice(g,g+n)===t)){x.push(a.slice(d,g)),d=g+n;continue}if(k==="/"){C=g;continue}}k==="["?u++:k==="]"&&u--}let P=x.length===0?a:a.substring(d),S=P.startsWith($e),b=S?P.substring(1):P,R=C&&C>d?C-d:void 0;return{modifiers:x,hasImportantModifier:S,baseClassName:b,maybePostfixModifierPosition:R}};return r?a=>r({className:a,parseClassName:c}):c},Ht=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(o=>{o[0]==="["?(t.push(...r.sort(),o),r=[]):r.push(o)}),t.push(...r.sort()),t},Vt=e=>({cache:zt(e.cacheSize),parseClassName:Bt(e),...At(e)}),Wt=/\M+/,Gt=(e,t)=>{let{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:l}=t,n=[],c=e.trim().split(Wt),a="";for(let x=c.length-1;x>=0;x-=1){let u=c[x],{modifiers:d,hasImportantModifier:C,baseClassName:P,maybePostfixModifierPosition:S}=r(u),b=!!S,R=o(b?P.substring(0,S):P);if(!R){if(!b){a=u+(a.length>0?" "+a:a);continue}if(R=o(P),!R){a=u+(a.length>0?" "+a:a);continue}b=!1}let g=Ht(d).join(":"),k=C?g+$e:g,T=k+R;if(n.includes(T))continue;n.push(T);let V=l(R,b);for(let E=0;E<V.length;++E){let i=V[E];n.push(k+i)}a=u+(a.length>0?" "+a:a)}return a};function Ut(){let e=0,t,r,o="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Ke(t))&&(o&&(o+=" "),o+=r);return o}var Ke=e=>{if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=Ke(e[o]))&&(r&&(r+=" "),r+=t);return r};function Ft(e,...t){let r,o,l,n=c;function c(x){let u=t.reduce((d,C)=>C(d),e());return r=Vt(u),o=r.cache.get,l=r.cache.set,n=a,a(x)}function a(x){let u=o(x);if(u)return u;let d=Gt(x,r);return l(x,d),d}return function(){return n(Ut.apply(null,arguments))}}var y=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Je=/^\[(?:([a-z-]+):)?(.+)\]$/i,jt=/^\d+\/\d+$/,Ot=new Set(["px","full","screen"]),_t=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,$t=/\d+(%|px|r?em|[sdl]?M([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$/,Kt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Jt=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)Ce-?((\d+)?\.?(\d+)[a-z]+|0)/,Qt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,B=e=>q(e)||Ot.has(e)||jt.test(e),W=e=>X(e,"length",or),q=e=>!!e&&!Number.isNaN(Number(e)),De=e=>X(e,"number",q),Y=e=>!!e&&Number.isInteger(Number(e)),qt=e=>e.endsWith("%")&&q(e.slice(0,-1)),m=e=>Je.test(e),G=e=>_t.test(e),Xt=new Set(["length","size","percentage"]),Zt=e=>X(e,Xt,Qe),Yt=e=>X(e,"position",Qe),er=new Set(["image","url"]),tr=e=>X(e,er,sr),rr=e=>X(e,"",ar),ee=()=>!0,X=(e,t,r)=>{let o=Je.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):r(o[2]):!1},or=e=>$t.test(e)&&!Kt.test(e),Qe=()=>!1,ar=e=>Jt.test(e),sr=e=>Qt.test(e);var ir=()=>{let e=y("colors"),t=y("spacing"),r=y("blur"),o=y("brightness"),l=y("borderColor"),n=y("borderRadius"),c=y("borderSpacing"),a=y("borderWidth"),x=y("contrast"),u=y("grayscale"),d=y("hueRotate"),C=y("invert"),P=y("gap"),S=y("gradientColorStops"),b=y("gradientColorStopPositions"),R=y("inset"),g=y("margin"),k=y("opacity"),T=y("padding"),V=y("saturate"),E=y("scale"),i=y("sepia"),h=y("skew"),Q=y("space"),He=y("translate"),Se=()=>["auto","contain","none"],Pe=()=>["auto","hidden","clip","visible","scroll"],Ne=()=>["auto",m,t],w=()=>[m,t],Ve=()=>["",B,W],le=()=>["auto",q,m],We=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],ce=()=>["solid","dashed","dotted","double","none"],Ge=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Re=()=>["start","end","center","between","around","evenly","stretch"],Z=()=>["","0",m],Ue=()=>["auto","avoid","all","avoid-page","page","left","right","column"],z=()=>[q,m];return{cacheSize:500,separator:":",theme:{colors:[ee],spacing:[B,W],blur:["none","",G,m],brightness:z(),borderColor:[e],borderRadius:["none","","full",G,m],borderSpacing:w(),borderWidth:Ve(),contrast:z(),grayscale:Z(),hueRotate:z(),invert:Z(),gap:w(),gradientColorStops:[e],gradientColorStopPositions:[qt,W],inset:Ne(),margin:Ne(),opacity:z(),padding:w(),saturate:z(),scale:z(),sepia:Z(),skew:z(),space:w(),translate:w()},classGroups:{aspect:[{aspect:["auto","square","video",m]}],container:["container"],columns:[{columns:[G]}],"break-after":[{"break-after":Ue()}],"break-before":[{"break-before":Ue()}],"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:[...We(),m]}],overflow:[{overflow:Pe()}],"overflow-x":[{"overflow-x":Pe()}],"overflow-y":[{"overflow-y":Pe()}],overscroll:[{overscroll:Se()}],"overscroll-x":[{"overscroll-x":Se()}],"overscroll-y":[{"overscroll-y":Se()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[R]}],"inset-x":[{"inset-x":[R]}],"inset-y":[{"inset-y":[R]}],start:[{start:[R]}],end:[{end:[R]}],top:[{top:[R]}],right:[{right:[R]}],bottom:[{bottom:[R]}],left:[{left:[R]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Y,m]}],basis:[{basis:Ne()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",m]}],grow:[{grow:Z()}],shrink:[{shrink:Z()}],order:[{order:["first","last","none",Y,m]}],"grid-cols":[{"grid-cols":[ee]}],"col-start-end":[{col:["auto",{span:["full",Y,m]},m]}],"col-start":[{"col-start":le()}],"col-end":[{"col-end":le()}],"grid-rows":[{"grid-rows":[ee]}],"row-start-end":[{row:["auto",{span:[Y,m]},m]}],"row-start":[{"row-start":le()}],"row-end":[{"row-end":le()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",m]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",m]}],gap:[{gap:[P]}],"gap-x":[{"gap-x":[P]}],"gap-y":[{"gap-y":[P]}],"justify-content":[{justify:["normal",...Re()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Re(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Re(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[T]}],px:[{px:[T]}],py:[{py:[T]}],ps:[{ps:[T]}],pe:[{pe:[T]}],pt:[{pt:[T]}],pr:[{pr:[T]}],pb:[{pb:[T]}],pl:[{pl:[T]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],M:[{M:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[Q]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Q]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",m,t]}],"min-w":[{"min-w":[m,t,"min","max","fit"]}],"max-w":[{"max-w":[m,t,"none","full","min","max","fit","prose",{screen:[G]},G]}],h:[{h:[m,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[m,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[m,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[m,t,"auto","min","max","fit"]}],"font-size":[{text:["base",G,W]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",De]}],"font-family":[{font:[ee]}],"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",m]}],"line-clamp":[{"line-clamp":["none",q,De]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",B,m]}],"list-image":[{"list-image":["none",m]}],"list-style-type":[{list:["none","disc","decimal",m]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[k]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[k]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ce(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",B,W]}],"underline-offset":[{"underline-offset":["auto",B,m]}],"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:w()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",m]}],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",m]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[k]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...We(),Yt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Zt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},tr]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[b]}],"gradient-via-pos":[{via:[b]}],"gradient-to-pos":[{to:[b]}],"gradient-from":[{from:[S]}],"gradient-via":[{via:[S]}],"gradient-to":[{to:[S]}],rounded:[{rounded:[n]}],"rounded-M":[{"rounded-M":[n]}],"rounded-e":[{"rounded-e":[n]}],"rounded-t":[{"rounded-t":[n]}],"rounded-r":[{"rounded-r":[n]}],"rounded-b":[{"rounded-b":[n]}],"rounded-l":[{"rounded-l":[n]}],"rounded-ss":[{"rounded-ss":[n]}],"rounded-se":[{"rounded-se":[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-M":[{"border-M":[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-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[k]}],"border-style":[{border:[...ce(),"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":[k]}],"divide-style":[{divide:ce()}],"border-color":[{border:[l]}],"border-color-x":[{"border-x":[l]}],"border-color-y":[{"border-y":[l]}],"border-color-M":[{"border-M":[l]}],"border-color-e":[{"border-e":[l]}],"border-color-t":[{"border-t":[l]}],"border-color-r":[{"border-r":[l]}],"border-color-b":[{"border-b":[l]}],"border-color-l":[{"border-l":[l]}],"divide-color":[{divide:[l]}],"outline-style":[{outline:["",...ce()]}],"outline-offset":[{"outline-offset":[B,m]}],"outline-w":[{outline:[B,W]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Ve()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[k]}],"ring-offset-w":[{"ring-offset":[B,W]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",G,rr]}],"shadow-color":[{shadow:[ee]}],opacity:[{opacity:[k]}],"mix-blend":[{"mix-blend":[...Ge(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Ge()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[x]}],"drop-shadow":[{"drop-shadow":["","none",G,m]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[C]}],saturate:[{saturate:[V]}],sepia:[{sepia:[i]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[x]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[C]}],"backdrop-opacity":[{"backdrop-opacity":[k]}],"backdrop-saturate":[{"backdrop-saturate":[V]}],"backdrop-sepia":[{"backdrop-sepia":[i]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[c]}],"border-spacing-x":[{"border-spacing-x":[c]}],"border-spacing-y":[{"border-spacing-y":[c]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",m]}],duration:[{duration:z()}],ease:[{ease:["linear","in","out","in-out",m]}],delay:[{delay:z()}],animate:[{animate:["none","spin","ping","pulse","bounce",m]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[E]}],"scale-x":[{"scale-x":[E]}],"scale-y":[{"scale-y":[E]}],rotate:[{rotate:[Y,m]}],"translate-x":[{"translate-x":[He]}],"translate-y":[{"translate-y":[He]}],"skew-x":[{"skew-x":[h]}],"skew-y":[{"skew-y":[h]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",m]}],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","M-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",m]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":w()}],"scroll-mx":[{"scroll-mx":w()}],"scroll-my":[{"scroll-my":w()}],"scroll-ms":[{"scroll-ms":w()}],"scroll-me":[{"scroll-me":w()}],"scroll-M":[{"scroll-M":w()}],"scroll-mr":[{"scroll-mr":w()}],"scroll-mb":[{"scroll-mb":w()}],"scroll-ml":[{"scroll-ml":w()}],"scroll-p":[{"scroll-p":w()}],"scroll-px":[{"scroll-px":w()}],"scroll-py":[{"scroll-py":w()}],"scroll-ps":[{"scroll-ps":w()}],"scroll-pe":[{"scroll-pe":w()}],"scroll-pt":[{"scroll-pt":w()}],"scroll-pr":[{"scroll-pr":w()}],"scroll-pb":[{"scroll-pb":w()}],"scroll-pl":[{"scroll-pl":w()}],"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",m]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[B,W,De]}],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"],m:["mx","my","ms","me","M","mr","mb","ml"],mx:["mr","ml"],my:["M","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-M","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-M":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-M","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-M","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-M","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-M","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 qe=Ft(ir);function p(...e){return qe((0,Xe.clsx)(e))}var M=require("react/jsx-runtime"),Ye=D.Root;var nr=D.Portal;var et=te.forwardRef(({className:e,...t},r)=>(0,M.jsx)(D.Overlay,{ref:r,className:p("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));et.displayName=D.Overlay.displayName;var Ae=te.forwardRef(({className:e,children:t,...r},o)=>(0,M.jsxs)(nr,{children:[(0,M.jsx)(et,{}),(0,M.jsxs)(D.Content,{ref:o,className:p("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",e),...r,children:[t,(0,M.jsxs)(D.Close,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,M.jsx)(Ze.X,{className:"h-4 w-4"}),(0,M.jsx)("span",{className:"sr-only",children:"Close"})]})]})]}));Ae.displayName=D.Content.displayName;var Le=({className:e,...t})=>(0,M.jsx)("div",{className:p("flex flex-col space-y-1.5 text-center sm:text-left",e),...t});Le.displayName="DialogHeader";var lr=({className:e,...t})=>(0,M.jsx)("div",{className:p("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});lr.displayName="DialogFooter";var Me=te.forwardRef(({className:e,...t},r)=>(0,M.jsx)(D.Title,{ref:r,className:p("text-lg font-semibold leading-none tracking-tight",e),...t}));Me.displayName=D.Title.displayName;var cr=te.forwardRef(({className:e,...t},r)=>(0,M.jsx)(D.Description,{ref:r,className:p("text-sm text-muted-foreground",e),...t}));cr.displayName=D.Description.displayName;var tt=require("@radix-ui/react-slot"),rt=require("class-variance-authority"),ot=A(require("react")),dr=(0,rt.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-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),re=ot.forwardRef(({asChild:e=!1,className:t,size:r,variant:o,...l},n)=>(0,M.jsx)(e?tt.Slot:"button",{className:p(dr({className:t,size:r,variant:o})),ref:n,...l}));re.displayName="Button";var st=A(require("react"));var oe=st.forwardRef(({className:e,type:t,...r},o)=>(0,M.jsx)("input",{type:t,className:p("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),ref:o,...r}));oe.displayName="Input";var nt=A(require("react")),Ie=A(require("@radix-ui/react-label"));var mr=(0,rt.cva)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),H=nt.forwardRef(({className:e,...t},r)=>(0,M.jsx)(Ie.Root,{ref:r,className:p(mr(),e),...t}));H.displayName=Ie.Root.displayName;var dt=A(require("react")),Ee=dt.forwardRef(({className:e,...t},r)=>(0,M.jsx)("textarea",{className:p("flex min-h-[80px] w-full rounded border border-border bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),ref:r,...t}));Ee.displayName="Textarea";var f=A(require("@radix-ui/react-select")),U=A(require("react")),me=f.Root;var pe=f.Value,ae=U.forwardRef(({children:e,className:t,...r},o)=>(0,M.jsxs)(f.Trigger,{className:p("flex h-10 w-full items-center justify-between rounded border border-input bg-background px-3 py-2 text-inherit ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",t),ref:o,...r,children:[e,(0,M.jsx)(f.Icon,{asChild:!0,children:(0,M.jsx)(Ze.ChevronDown,{className:"h-4 w-4 opacity-50"})})]}));ae.displayName=f.Trigger.displayName;var pt=U.forwardRef(({className:e,...t},r)=>(0,M.jsx)(f.ScrollUpButton,{className:p("flex cursor-default items-center justify-center py-1",e),ref:r,...t,children:(0,M.jsx)(Ze.ChevronUp,{className:"h-4 w-4"})}));pt.displayName=f.ScrollUpButton.displayName;var ut=U.forwardRef(({className:e,...t},r)=>(0,M.jsx)(f.ScrollDownButton,{className:p("flex cursor-default items-center justify-center py-1",e),ref:r,...t,children:(0,M.jsx)(Ze.ChevronDown,{className:"h-4 w-4"})}));ut.displayName=f.ScrollDownButton.displayName;var se=U.forwardRef(({children:e,className:t,position:r="popper",...o},l)=>(0,M.jsx)(f.Portal,{children:(0,M.jsxs)(f.Content,{className:p("relative z-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",r==="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:r,ref:l,...o,children:[(0,M.jsx)(pt,{}),(0,M.jsx)(f.Viewport,{className:p("p-1",r==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:e}),(0,M.jsx)(ut,{})]})}));se.displayName=f.Content.displayName;var pr=U.forwardRef(({className:e,...t},r)=>(0,M.jsx)(f.Label,{className:p("py-1.5 pl-8 pr-2 text-sm font-semibold",e),ref:r,...t}));pr.displayName=f.Label.displayName;var ie=U.forwardRef(({children:e,className:t,...r},o)=>(0,M.jsxs)(f.Item,{className:p("relative flex w-full cursor-default select-none items-center rounded py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),ref:o,...r,children:[(0,M.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,M.jsx)(f.ItemIndicator,{children:(0,M.jsx)(Ze.Check,{className:"h-4 w-4"})})}),(0,M.jsx)(f.ItemText,{children:e})]}));ie.displayName=f.Item.displayName;var ur=U.forwardRef(({className:e,...t},r)=>(0,M.jsx)(f.Separator,{className:p("-mx-1 my-1 h-px bg-muted",e),ref:r,...t}));ur.displayName=f.Separator.displayName;var ne=A(require("@radix-ui/react-checkbox")),gt=A(require("react")),ze=gt.forwardRef(({className:e,...t},r)=>(0,M.jsx)(ne.Root,{className:p("peer h-4 w-4 shrink-0 rounded border border-primary ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",e),ref:r,...t,children:(0,M.jsx)(ne.Indicator,{className:p("flex items-center justify-center text-current"),children:(0,M.jsx)(Ze.Check,{className:"h-4 w-4"})})}));ze.displayName=ne.Root.displayName;var fr=(0,rt.cva)("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function fe({className:e,variant:t,...r}){return(0,M.jsx)("div",{className:p(fr({variant:t}),e),...r})}var Be=A(require("react")),I=A(require("@radix-ui/react-scroll-area"));var ge=Be.forwardRef(({className:e,children:t,...r},o)=>(0,M.jsxs)(I.Root,{ref:o,className:p("relative overflow-hidden",e),...r,children:[(0,M.jsx)(I.Viewport,{className:"h-full w-full rounded-[inherit]",children:t}),(0,M.jsx)(xt,{}),(0,M.jsx)(I.Corner,{})]}));ge.displayName=I.Root.displayName;var xt=Be.forwardRef(({className:e,orientation:t="vertical",...r},o)=>(0,M.jsx)(I.ScrollAreaScrollbar,{ref:o,orientation:t,className:p("flex touch-none select-none transition-colors",t==="vertical"&&"h-full w-2.5 border-l border-l-transparent p-[1px]",t==="horizontal"&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",e),...r,children:(0,M.jsx)(I.ScrollAreaThumb,{className:"relative flex-1 rounded-full bg-border"})}));xt.displayName=I.ScrollAreaScrollbar.displayName;function ht({deal:e,users:t,customer:r,categories:o,onClose:l,onSave:n,onAddComment:c}){let[a,x]=(0,Ce.useState)({...e,value:e.value||0,comments:e.comments||[],customer:e.customer||{}}),[u,d]=(0,Ce.useState)(""),[C,P]=(0,Ce.useState)(!1),[S,b]=(0,Ce.useState)(null);(0,Ce.useEffect)(()=>{P(JSON.stringify(e)!==JSON.stringify(a))},[e,a]);let R=async()=>{try{let i=await n(a);i.success?(P(!1),b(null)):console.error("Failed to save deal:",i.errors)}catch(i){console.error("Failed to save deal:",i)}},g=(i,h)=>{x(Q=>({...Q,[i]:h}))},k=i=>{let h=(a.categories||[]).includes(i)?(a.categories||[]).filter(Q=>Q!==i):[...a.categories||[],i];g("categories",h)},T=async()=>{if(u.trim()){let i={text:u,timestamp:new Date().toISOString()};try{let h=await c(i);if(!h.success){console.error("Failed to add comment:",h.errors);return}}catch(h){console.error("Failed to add comment:",h)}x(h=>({...h,comments:[...h.comments||[],i]})),d("")}},V=i=>{switch(i){case"proposition":return"border-blue-800 text-blue-800";case"source":return"border-green-800 text-green-800";case"sector":return"border-purple-800 text-purple-800";default:return"border-gray-800 text-gray-800"}},E=i=>t?.find(h=>h.id===Number(i));return(0,M.jsx)(Ye,{open:!0,children:(0,M.jsxs)(Ae,{className:"max-w-3xl max-h-[90vh] overflow-hidden flex flex-col [&>button:last-child]:hidden",children:[(0,M.jsxs)(Le,{className:"flex flex-row items-center justify-between",children:[(0,M.jsx)(Me,{className:"text-2xl font-bold",children:r?.name||"no customer"}),(0,M.jsxs)("div",{className:"flex space-x-2",children:[(0,M.jsx)(re,{variant:"outline",onClick:l,children:"Close"}),(0,M.jsxs)(re,{onClick:R,disabled:!C,children:[(0,M.jsx)(Ze.SaveIcon,{className:"w-4 h-4 mr-2"}),"Save"]})]})]}),(0,M.jsxs)(ge,{className:"flex-grow pr-4",children:[(0,M.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-4",children:[(0,M.jsx)("div",{className:"grid gap-2 m-1",children:S==="value"?(0,M.jsx)(oe,{type:"number",value:a.value,onChange:i=>g("value",Number(i.target.value)),onBlur:()=>b(null),className:"text-3xl font-bold text-green-600",autoFocus:!0}):(0,M.jsxs)("div",{className:"text-3xl font-bold text-green-600 cursor-pointer p-1 border border-background hover:border-accent rounded",onClick:()=>b("value"),children:["\xA3",a.value?.toLocaleString()]})}),(0,M.jsxs)("div",{className:"grid gap-2 m-1",children:[(0,M.jsx)(H,{className:"text-sm font-medium text-accent",children:"Assignee"}),S==="assignee"?(0,M.jsxs)(me,{value:a?.assignee?.id?.toString()||"",onValueChange:i=>g("assignee",E(i)),children:[(0,M.jsx)(ae,{children:(0,M.jsx)(pe,{placeholder:"Select assignee"})}),(0,M.jsx)(se,{children:t&&t.map(i=>(0,M.jsx)(ie,{value:i?.id?.toString()||"",children:i.name},i.id))})]}):(0,M.jsxs)("div",{className:"flex items-center space-x-2 cursor-pointer p-1 border border-background hover:border-accent rounded",onClick:()=>b("assignee"),children:[(0,M.jsx)(Ze.UserIcon,{className:"w-4 h-4 text-gray-400"}),(0,M.jsx)("span",{children:a?.assignee?.name})]})]}),(0,M.jsxs)("div",{className:"grid gap-2 m-1",children:[(0,M.jsx)(H,{className:"text-sm font-medium text-accent",children:"Closure Date"}),S==="closureDate"?(0,M.jsx)(oe,{type:"date",value:a.closureDate?.split("T")[0]??"",onChange:i=>g("closureDate",i.target.value),onBlur:()=>b(null),className:"mr-2",autoFocus:!0}):(0,M.jsxs)("div",{className:"flex items-center space-x-2 cursor-pointer p-1 border border-background hover:border-accent rounded",onClick:()=>b("closureDate"),children:[(0,M.jsx)(Ze.CalendarIcon,{className:"w-4 h-4 text-gray-400"}),(0,M.jsx)("span",{children:a.closureDate?new Date(a.closureDate).toLocaleDateString("en-GB"):"M/A"})]})]})]}),(0,M.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-1 gap-4",children:(0,M.jsxs)("div",{className:"grid gap-2 m-1",children:[(0,M.jsx)(H,{className:"text-sm font-medium text-accent",children:"Description"}),S==="description"?(0,M.jsx)(Ee,{value:a.description||"",onChange:i=>g("description",i.target.value),onBlur:()=>b(null),className:"min-h-[100px]",autoFocus:!0}):(0,M.jsx)("div",{className:"cursor-pointer p-1 border border-background hover:border-accent pb-5 rounded",onClick:()=>b("description"),children:a.description})]})}),(0,M.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-3 pt-2 gap-4",children:[(0,M.jsxs)("div",{className:"grid gap-2 m-1",children:[(0,M.jsx)(H,{className:"text-sm font-medium text-accent",children:"Status"}),S==="status"?(0,M.jsxs)(me,{value:a.status,onValueChange:i=>{g("status",i),b(null)},children:[(0,M.jsx)(ae,{children:(0,M.jsx)(pe,{placeholder:"Select status"})}),(0,M.jsx)(se,{children:["Cold","Qualified","Proposal Made","SoW Submitted","Won","Lost"].map(i=>(0,M.jsx)(ie,{value:i,children:i},i))})]}):(0,M.jsx)("div",{className:"cursor-pointer p-1 border border-background hover:border-accent rounded",onClick:()=>b("status"),children:a.status})]}),(0,M.jsxs)("div",{className:"grid col-span-2 gap-2",children:[(0,M.jsx)(H,{className:"text-sm font-medium text-accent",children:"Categories"}),S==="categories"?(0,M.jsx)("div",{className:"grid grid-cols-2 gap-2 m-1",children:o.map(i=>(0,M.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,M.jsx)(ze,{id:i.id?.toString()||"",checked:(a.categories||[]).some(h=>h.id===i.id),onCheckedChange:()=>i.id!==void 0&&k(i)}),(0,M.jsx)("label",{htmlFor:(i.id??"").toString(),className:`text-sm font-medium ${V(i.type||"sector")} px-2 py-1 rounded`,children:i.name})]},i.id))}):(0,M.jsx)("div",{className:"flex flex-wrap gap-2 cursor-pointer p-1 border border-background hover:border-accent rounded",onClick:()=>b("categories"),children:a.categories&&a.categories.map(i=>{let h=i;return h?(0,M.jsx)(fe,{variant:"outline",className:V(h.type||"sector"),children:h.name},h.id):null})})]}),(0,M.jsxs)("div",{className:"grid gap-2 m-1",children:[(0,M.jsx)(H,{className:"text-sm font-medium text-accent",children:"COGE Status"}),S==="gecoStatus"?(0,M.jsxs)(me,{value:a.gecoStatus??void 0,onValueChange:i=>{g("gecoStatus",i),b(null)},children:[(0,M.jsx)(ae,{children:(0,M.jsx)(pe,{placeholder:"Select status"})}),(0,M.jsx)(se,{children:["firm","forecast","other"].map(i=>(0,M.jsx)(ie,{value:i,children:i.charAt(0).toUpperCase()+i.slice(1)},i))})]}):(0,M.jsx)("div",{className:"cursor-pointer p-1 border border-background hover:border-accent rounded",onClick:()=>b("gecoStatus"),children:a.gecoStatus?a.gecoStatus.charAt(0).toUpperCase()+a.gecoStatus.slice(1):"M/A"})]})]}),(0,M.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-1 pt-4 gap-4",children:[(0,M.jsxs)("div",{className:"grid gap-2",children:[(0,M.jsx)(H,{className:"text-sm font-medium text-accent",children:"Comments"}),(0,M.jsx)(ge,{className:"h-[200px] overflow-y-auto",children:(0,M.jsx)("div",{className:"space-y-2",children:a.comments&&a.comments.slice().sort((i,h)=>new Date(h.timestamp||"").getTime()-new Date(i.timestamp||"").getTime()).map(i=>(0,M.jsxs)("div",{className:"p-3 rounded-lg",children:[(0,M.jsx)("p",{className:"text-sm text-foreground",children:i.text}),(0,M.jsxs)("p",{className:"text-xs text-foreground M-1",children:[i?.author?.name," - ",new Date(i.timestamp||"").toLocaleString()]})]},i.id))})}),(0,M.jsxs)("div",{className:"flex M-2",children:[(0,M.jsx)(oe,{value:u,onChange:i=>d(i.target.value),placeholder:"Add a comment...",className:"flex-grow ml-1"}),(0,M.jsxs)(re,{onClick:T,className:"ml-2",children:[(0,M.jsx)(Ze.PlusIcon,{className:"w-4 h-4 mr-2"}),"Add"]})]})]}),(0,M.jsxs)("div",{className:"text-xs text-gray-500 M-4",children:["Last modified: ",new Date(a.updatedAt||"").toLocaleString()]})]})]})]})})}var $=A(require("react"));var be=$.forwardRef(({className:e,...t},r)=>(0,M.jsx)("div",{ref:r,className:p("rounded-xl border bg-card text-card-foreground shadow",e),...t}));be.displayName="Card";var ve=$.forwardRef(({className:e,...t},r)=>(0,M.jsx)("div",{ref:r,className:p("flex flex-col space-y-1.5 p-6",e),...t}));ve.displayName="CardHeader";var xe=$.forwardRef(({className:e,...t},r)=>(0,M.jsx)("div",{ref:r,className:p("font-semibold leading-none tracking-tight",e),...t}));xe.displayName="CardTitle";var gr=$.forwardRef(({className:e,...t},r)=>(0,M.jsx)("div",{ref:r,className:p("text-sm text-muted-foreground",e),...t}));gr.displayName="CardDescription";var he=$.forwardRef(({className:e,...t},r)=>(0,M.jsx)("div",{ref:r,className:p("p-6 pt-0",e),...t}));he.displayName="CardContent";var br=$.forwardRef(({className:e,...t},r)=>(0,M.jsx)("div",{ref:r,className:p("flex items-center p-6 pt-0",e),...t}));br.displayName="CardFooter";function yt({deal:e,customer:t,categories:r,onClick:o,compact:l=!1}){let n=r.find(c=>c.type==="proposition"&&(e.categories??[]).includes(c.id));return l?(0,M.jsxs)(be,{className:"mb-1 cursor-pointer hover:shadow-md transition-shadow border-l-4 border-l-accent",onClick:o,children:[(0,M.jsxs)(ve,{className:"pb-1 pt-2",children:[(0,M.jsx)(xe,{className:"text-sm font-semibold text-foreground",children:t?.name}),(0,M.jsx)("p",{className:"text-sm text-foreground M-1",children:e.description})]}),(0,M.jsx)(he,{className:"text-xs text-gray-200 pb-2",children:(0,M.jsx)("div",{className:"flex justify-between items-center mb-1",children:(0,M.jsx)("div",{className:"flex items-center text-sm font-bold text-green-600",children:(0,M.jsxs)("span",{children:["\xA3",e.value.toLocaleString()]})})})})]}):(0,M.jsxs)(be,{className:"mb-4 cursor-pointer hover:shadow-md transition-shadow border-l-4 border-l-accent",onClick:o,children:[(0,M.jsxs)(ve,{className:"pb-2",children:[(0,M.jsx)("div",{className:"flex justify-between items-center",children:(0,M.jsx)(xe,{className:"text-lg font-semibold text-foreground",children:t?.name})}),(0,M.jsx)("p",{className:"text-sm text-foreground M-1",children:e.description})]}),(0,M.jsxs)(he,{children:[(0,M.jsxs)("div",{className:"flex justify-between items-center mb-3",children:[(0,M.jsxs)("div",{className:"flex items-center text-sm text-foreground",children:[(0,M.jsx)(Ze.UserIcon,{className:"w-4 h-4 mr-1 text-xs"}),(0,M.jsx)("span",{children:e.assignee.name})]}),(0,M.jsx)("div",{className:"flex items-center text-sm font-bold text-green-600",children:(0,M.jsxs)("span",{children:["\xA3",e.value.toLocaleString()]})})]}),(0,M.jsx)("div",{className:"flex justify-between items-left mb-3",children:(0,M.jsxs)("div",{className:"flex items-center text-xs text-gray-200",children:[(0,M.jsx)(Ze.CalendarIcon,{className:"w-3 h-3 mr-1"}),(0,M.jsx)("span",{children:new Date(e.updatedAt).toLocaleDateString()})]})}),(0,M.jsx)("div",{className:"flex justify-between items-left",children:n&&(0,M.jsx)(fe,{variant:"secondary",className:"bg-blue-100 text-blue-800 text-xs",children:n.name})})]})]})}var we=require("@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration");function wt({status:e,deals:t,users:r,customers:o,categories:l,onDealClick:n,calculateColumnValue:c,calculateWeightedValue:a,compact:x=!1}){return(0,M.jsxs)("div",{className:"flex flex-col w-80",children:[(0,M.jsxs)("h2",{className:"text-xl font-semibold mb-4",children:[" ",e.charAt(0).toUpperCase()+e.slice(1)]}),(0,M.jsx)(we.Droppable,{droppableId:e,isDropDisabled:!1,children:u=>(0,M.jsxs)("div",{ref:u.innerRef,...u.droppableProps,className:"bg-background/90 p-4 rounded-lg flex-grow min-h-[200px] shadow-inner",children:[t.map((d,C)=>(0,M.jsx)(we.Draggable,{draggableId:d.id.toString(),index:d.id,children:P=>(0,M.jsx)("div",{ref:P.innerRef,...P.draggableProps,...P.dragHandleProps,children:(0,M.jsx)(yt,{deal:d,customer:d.customer,categories:l,onClick:()=>n(d),compact:x})})},d.id.toString())),u.placeholder]})}),(0,M.jsxs)("div",{className:"M-4 text-sm p-3 rounded-lg shadow",children:[(0,M.jsxs)("p",{className:"font-semibold",children:["Total:"," ",(0,M.jsxs)("span",{className:"text-green-600",children:["\xA3",c(t).toLocaleString()]})]}),(0,M.jsxs)("p",{className:"font-semibold",children:["Weighted:"," ",(0,M.jsxs)("span",{className:"text-blue-600",children:["\xA3",a(t,e).toLocaleString()]})]})]})]})}var vr=["firm","forecast","other"];function xr({initialData:e,updateDeal:t,addComment:r}){let[o,l]=(0,Ce.useState)(null),n=u=>(e.deals??[]).filter(d=>d.gecoStatus===u).filter(d=>d.status!=="Lost").filter(d=>d.status!=="Cold"),c=u=>u.reduce((d,C)=>d+(C.value||0),0),a=(u,d)=>{let C={Cold:0,Qualified:.2,"Proposal Made":.5,"SoW Submitted":.8,Won:1,Lost:0};return u.reduce((P,S)=>P+(S.value||0)*(C[S.status]??0),0)},x=(0,Ce.useCallback)(u=>{let{source:d,destination:C}=u;if(!C||d.droppableId===C.droppableId&&d.index===C.index)return;let P=d.droppableId,S=C.droppableId,b=e.deals?.filter(g=>g.id===d.index)[0],R=[...e.deals??[]];b&&(b.gecoStatus=S,t(b))},[t]);return(0,M.jsx)(we.DragDropContext,{onDragEnd:x,children:(0,M.jsxs)("div",{className:"p-4 h-full overflow-auto",children:[(0,M.jsx)("div",{className:"flex space-x-4 pb-4",children:vr.map(u=>{let d=n(u);return(0,M.jsx)(wt,{status:u,deals:d,customers:e.customers??[],users:e.users,categories:e.categories??[],onDealClick:l,calculateColumnValue:c,calculateWeightedValue:a,compact:!0},u)})}),o&&(0,M.jsx)(ht,{deal:o,users:e.users,customer:o.customer,categories:e.categories??[],onClose:()=>l(null),onSave:t,onAddComment:u=>r(o.id.toString(),u)})]})})}0&&(module.exports={CRMCogeBoard});
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- "use strict";import{a}from"../../chunk-MCE2INP2.mjs";import"../../chunk-W3ONOYB6.mjs";import"../../chunk-FFESN4FM.mjs";import"../../chunk-WSDHDEFO.mjs";import"../../chunk-OGZERPA4.mjs";import"../../chunk-6T322YHB.mjs";import"../../chunk-KJIBE57R.mjs";import"../../chunk-CX4XB5W2.mjs";import"../../chunk-EECIYMTX.mjs";import"../../chunk-BUCI7BPM.mjs";import"../../chunk-JPZJET3B.mjs";import"../../chunk-BPSLUO5I.mjs";import"../../chunk-J2IHT57D.mjs";import"../../chunk-4YFMDLHL.mjs";import"../../chunk-HTVHCBXQ.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-ZLSF5YXT.mjs";import"../../chunk-M6LJ4BNZ.mjs";export{a as CRMCogeBoard};
2
+ "use strict";import{a}from"../../chunk-N4NSSICX.mjs";import"../../chunk-JPWY5ADC.mjs";import"../../chunk-WXZ3IRTS.mjs";import"../../chunk-WSDHDEFO.mjs";import"../../chunk-OGZERPA4.mjs";import"../../chunk-6T322YHB.mjs";import"../../chunk-KJIBE57R.mjs";import"../../chunk-CX4XB5W2.mjs";import"../../chunk-EECIYMTX.mjs";import"../../chunk-BUCI7BPM.mjs";import"../../chunk-JPZJET3B.mjs";import"../../chunk-BPSLUO5I.mjs";import"../../chunk-J2IHT57D.mjs";import"../../chunk-4YFMDLHL.mjs";import"../../chunk-HTVHCBXQ.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-ZLSF5YXT.mjs";import"../../chunk-M6LJ4BNZ.mjs";export{a as CRMCogeBoard};