cortex-react-components 2.29.0-beta.1 → 2.29.0-beta.11

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 (199) hide show
  1. package/dist/{chunk-QDK5I675.mjs → chunk-25FZW7UE.mjs} +1 -1
  2. package/dist/{chunk-5ISPA3SI.mjs → chunk-2BSRNGGH.mjs} +1 -1
  3. package/dist/{chunk-G5UB3YKZ.mjs → chunk-2KOTYRQB.mjs} +1 -1
  4. package/dist/{chunk-T46EPXCV.mjs → chunk-2PHIGOJD.mjs} +1 -1
  5. package/dist/{chunk-GFYO6B7H.mjs → chunk-2Q4Q7MT6.mjs} +1 -1
  6. package/dist/{chunk-ZKTIH47I.mjs → chunk-4745QCXP.mjs} +1 -1
  7. package/dist/{chunk-PG4VW7VP.mjs → chunk-64ATK5PU.mjs} +1 -1
  8. package/dist/chunk-6A3V5BMY.mjs +3 -0
  9. package/dist/{chunk-TGJ74O6U.mjs → chunk-6OCJ7CZ4.mjs} +1 -1
  10. package/dist/{chunk-7HIL4GBK.mjs → chunk-7GWTDITT.mjs} +1 -1
  11. package/dist/{chunk-VWHOSOCB.mjs → chunk-7YSJAVXO.mjs} +1 -1
  12. package/dist/{chunk-TCZNV2C2.mjs → chunk-A7IFELCB.mjs} +1 -1
  13. package/dist/chunk-AKQARBH3.mjs +4 -0
  14. package/dist/{chunk-M3DLWHPQ.mjs → chunk-B2BULJR5.mjs} +1 -1
  15. package/dist/{chunk-KRDGYYCK.mjs → chunk-BHCJFM6D.mjs} +1 -1
  16. package/dist/{chunk-DDYANYQB.mjs → chunk-BIIHI5MH.mjs} +1 -1
  17. package/dist/chunk-BPJODAHH.mjs +4 -0
  18. package/dist/{chunk-ZGQC6O62.mjs → chunk-C23V6PX5.mjs} +1 -1
  19. package/dist/{chunk-UG7FEEFM.mjs → chunk-CDC43MQF.mjs} +1 -1
  20. package/dist/{chunk-DZDMH6IZ.mjs → chunk-CLMGLIGH.mjs} +1 -1
  21. package/dist/{chunk-5G7LCLOY.mjs → chunk-CMEGGDTF.mjs} +1 -1
  22. package/dist/{chunk-HCHZUZUK.mjs → chunk-DHYTERFI.mjs} +1 -1
  23. package/dist/{chunk-JGKLAY6J.mjs → chunk-DP6Q6ZTN.mjs} +1 -1
  24. package/dist/{chunk-K7NFBXL3.mjs → chunk-FJ4JWNKL.mjs} +1 -1
  25. package/dist/{chunk-EDRIV2VR.mjs → chunk-G77SLUQD.mjs} +1 -1
  26. package/dist/{chunk-PAERB6R2.mjs → chunk-GXU54C5S.mjs} +1 -1
  27. package/dist/{chunk-BLOKJ7Y2.mjs → chunk-IIF5E7AJ.mjs} +1 -1
  28. package/dist/chunk-IP5TOSWC.mjs +4 -0
  29. package/dist/{chunk-2UVHBGOC.mjs → chunk-JJD5N4O6.mjs} +1 -1
  30. package/dist/{chunk-TBKC2B4Z.mjs → chunk-JMJUFHDA.mjs} +1 -1
  31. package/dist/{chunk-C6RV2I5S.mjs → chunk-JP7GHZ53.mjs} +1 -1
  32. package/dist/chunk-KXBUCX6R.mjs +6 -0
  33. package/dist/{chunk-LL7CRB4U.mjs → chunk-KZXYV2BA.mjs} +1 -1
  34. package/dist/{chunk-VR75QVWG.mjs → chunk-MIM3VFET.mjs} +1 -1
  35. package/dist/{chunk-BEUDMDIW.mjs → chunk-N4YUZD6B.mjs} +1 -1
  36. package/dist/{chunk-LMDGHBG2.mjs → chunk-NBWQTY4K.mjs} +1 -1
  37. package/dist/{chunk-T23BJQBB.mjs → chunk-O67ANXPZ.mjs} +1 -1
  38. package/dist/{chunk-FOO5RONL.mjs → chunk-OK7X567A.mjs} +1 -1
  39. package/dist/{chunk-3MK7GU65.mjs → chunk-QAHGHERG.mjs} +1 -1
  40. package/dist/{chunk-LHO4WFYP.mjs → chunk-QLKS32RD.mjs} +1 -1
  41. package/dist/{chunk-MQ7ZFZRG.mjs → chunk-R2BQ6JD2.mjs} +1 -1
  42. package/dist/{chunk-WAM7RYAU.mjs → chunk-RDXPKTPJ.mjs} +1 -1
  43. package/dist/{chunk-OAK45GQL.mjs → chunk-RJRJB6EL.mjs} +1 -1
  44. package/dist/{chunk-LPCO4T25.mjs → chunk-RK5JHVD4.mjs} +1 -1
  45. package/dist/{chunk-3PAS4AKZ.mjs → chunk-RLDPGHPX.mjs} +1 -1
  46. package/dist/{chunk-I3G2R2J2.mjs → chunk-T7SP3SIU.mjs} +1 -1
  47. package/dist/chunk-TQRP4O54.mjs +4 -0
  48. package/dist/{chunk-SRUG246N.mjs → chunk-TXVA6XJT.mjs} +1 -1
  49. package/dist/{chunk-LRNWBTXT.mjs → chunk-UUW7OPLB.mjs} +1 -1
  50. package/dist/{chunk-DLX4NQ3T.mjs → chunk-V7PGZR23.mjs} +1 -1
  51. package/dist/{chunk-2OGUZJVD.mjs → chunk-VKUF2Y5T.mjs} +1 -1
  52. package/dist/{chunk-2AZMG5X5.mjs → chunk-VYZUAY74.mjs} +1 -1
  53. package/dist/{chunk-EVQAIFAP.mjs → chunk-W6BGSZXG.mjs} +1 -1
  54. package/dist/{chunk-6A2O63AU.mjs → chunk-ZPJJOZY4.mjs} +1 -1
  55. package/dist/{chunk-2LQLKZYT.mjs → chunk-ZW24FGHA.mjs} +1 -1
  56. package/dist/{chunk-ORCATWOS.mjs → chunk-ZX3L62MN.mjs} +1 -1
  57. package/dist/components/Blocks/Banner.mjs +1 -1
  58. package/dist/components/Blocks/CallToAction.mjs +1 -1
  59. package/dist/components/Blocks/CollapsibleArea.mjs +1 -1
  60. package/dist/components/Blocks/Content.mjs +1 -1
  61. package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
  62. package/dist/components/Blocks/RelatedPosts.mjs +1 -1
  63. package/dist/components/Blocks/RenderBlocks.mjs +1 -1
  64. package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
  65. package/dist/components/Blocks/index.mjs +1 -1
  66. package/dist/components/Cards/ContentCard.mjs +1 -1
  67. package/dist/components/Cards/EventCard.js +1 -1
  68. package/dist/components/Cards/EventCard.mjs +1 -1
  69. package/dist/components/Cards/FeatureCard.mjs +1 -1
  70. package/dist/components/Cards/index.js +1 -1
  71. package/dist/components/Cards/index.mjs +1 -1
  72. package/dist/components/Chat/ChatInterface.mjs +1 -1
  73. package/dist/components/Chat/CopilotInterface.mjs +1 -1
  74. package/dist/components/Chat/PartTypes/MessageHandler.mjs +1 -1
  75. package/dist/components/Chat/PartTypes/index.mjs +1 -1
  76. package/dist/components/Chat/demo-long-messages.mjs +1 -1
  77. package/dist/components/Chat/demo-tests.mjs +1 -1
  78. package/dist/components/Chat/demo.mjs +1 -1
  79. package/dist/components/Chat/example-usage.mjs +1 -1
  80. package/dist/components/Chat/example-with-vercel-ai.mjs +1 -1
  81. package/dist/components/Chat/index.mjs +1 -1
  82. package/dist/components/DeliveryLead/DeliveryLeadSubmission.d.ts +3 -2
  83. package/dist/components/DeliveryLead/DeliveryLeadSubmission.js +3 -3
  84. package/dist/components/DeliveryLead/DeliveryLeadSubmission.mjs +1 -1
  85. package/dist/components/DeliveryLead/DeliveryLeadSubmissionList.js +1 -1
  86. package/dist/components/DeliveryLead/DeliveryLeadSubmissionList.mjs +1 -1
  87. package/dist/components/DeliveryLead/DeliveryLeadSubmissionWithList.js +3 -3
  88. package/dist/components/DeliveryLead/DeliveryLeadSubmissionWithList.mjs +1 -1
  89. package/dist/components/DeliveryLead/index.js +3 -3
  90. package/dist/components/DeliveryLead/index.mjs +1 -1
  91. package/dist/components/DeliveryLead/types.d.ts +6 -3
  92. package/dist/components/DeliveryLead/types.js +1 -1
  93. package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
  94. package/dist/components/DigitalColleagues/Pages/dashboardpage.mjs +1 -1
  95. package/dist/components/DigitalColleagues/Views/index.mjs +1 -1
  96. package/dist/components/DigitalColleagues/index.mjs +1 -1
  97. package/dist/components/Foundary/Knowledge/add-knowledge-modal.mjs +1 -1
  98. package/dist/components/Foundary/Knowledge/add-team-context.mjs +1 -1
  99. package/dist/components/Foundary/MainPage.mjs +1 -1
  100. package/dist/components/Foundary/Pages/dashboardpage.mjs +1 -1
  101. package/dist/components/Foundary/RichText/index.mjs +1 -1
  102. package/dist/components/Foundary/RichText/plugins/toolbar-plugin.mjs +1 -1
  103. package/dist/components/Foundary/Views/ColleaguesView.mjs +1 -1
  104. package/dist/components/Foundary/Views/KnowledgeView.mjs +1 -1
  105. package/dist/components/Foundary/Views/index.mjs +1 -1
  106. package/dist/components/Foundary/document-edit.mjs +1 -1
  107. package/dist/components/Foundary/document-preview-examples.mjs +1 -1
  108. package/dist/components/Foundary/document-preview.mjs +1 -1
  109. package/dist/components/Foundary/file-edit.mjs +1 -1
  110. package/dist/components/Foundary/index.mjs +1 -1
  111. package/dist/components/Foundary/knowledge-browser.mjs +1 -1
  112. package/dist/components/HeaderFooter/Header.mjs +1 -1
  113. package/dist/components/HeaderFooter/HeaderDesktop.mjs +1 -1
  114. package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
  115. package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
  116. package/dist/components/HeaderFooter/index.mjs +1 -1
  117. package/dist/components/Heros/HighImpact/index.mjs +1 -1
  118. package/dist/components/Heros/LowImpact/index.mjs +1 -1
  119. package/dist/components/Heros/MediumImpact/index.mjs +1 -1
  120. package/dist/components/Heros/PostHero/index.mjs +1 -1
  121. package/dist/components/Heros/RenderHero.mjs +1 -1
  122. package/dist/components/Heros/SectionHero/index.mjs +1 -1
  123. package/dist/components/Heros/index.mjs +1 -1
  124. package/dist/components/Holidays/HolidayTracker.js +1 -1
  125. package/dist/components/Holidays/HolidayTracker.mjs +1 -1
  126. package/dist/components/Holidays/RequestLeave.js +1 -1
  127. package/dist/components/Holidays/RequestLeave.mjs +1 -1
  128. package/dist/components/Holidays/index.js +1 -1
  129. package/dist/components/Holidays/index.mjs +1 -1
  130. package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
  131. package/dist/components/Layouts/Print.mjs +1 -1
  132. package/dist/components/Layouts/SlideShow.mjs +1 -1
  133. package/dist/components/Layouts/index.mjs +1 -1
  134. package/dist/components/Menus/SidebarLeft.js +1 -1
  135. package/dist/components/Menus/SidebarLeft.mjs +1 -1
  136. package/dist/components/Menus/SidebarLeftMulti.css +1 -0
  137. package/dist/components/Menus/SidebarLeftMulti.d.ts +42 -0
  138. package/dist/components/Menus/SidebarLeftMulti.js +4 -0
  139. package/dist/components/Menus/SidebarLeftMulti.mjs +2 -0
  140. package/dist/components/Menus/index.d.ts +1 -0
  141. package/dist/components/Menus/index.js +1 -1
  142. package/dist/components/Menus/index.mjs +1 -1
  143. package/dist/components/Other/index.mjs +1 -1
  144. package/dist/components/Payload/RichText/index.mjs +1 -1
  145. package/dist/components/Payload/RichText/serialize.mjs +1 -1
  146. package/dist/components/Payload/index.mjs +1 -1
  147. package/dist/components/Projects/EpicsView.mjs +1 -1
  148. package/dist/components/Projects/FileView.mjs +1 -1
  149. package/dist/components/Projects/KanbanBoardView.mjs +1 -1
  150. package/dist/components/Projects/ProjectPage.mjs +1 -1
  151. package/dist/components/Projects/ProjectView.mjs +1 -1
  152. package/dist/components/Projects/ProjectsIndexView.mjs +1 -1
  153. package/dist/components/Projects/TaskDetailsModal.mjs +1 -1
  154. package/dist/components/Projects/file-list.mjs +1 -1
  155. package/dist/components/Projects/index.mjs +1 -1
  156. package/dist/components/dc-temp/index.mjs +1 -1
  157. package/dist/components/index.js +30 -30
  158. package/dist/components/index.mjs +1 -1
  159. package/dist/components/ui/carousel.d.ts +1 -0
  160. package/dist/components/ui/carousel.js +1 -1
  161. package/dist/components/ui/carousel.mjs +1 -1
  162. package/dist/components/ui/index.js +1 -1
  163. package/dist/components/ui/index.mjs +1 -1
  164. package/dist/decorators/Intranet.css +1 -1
  165. package/dist/decorators/Intranet.mjs +1 -1
  166. package/dist/globals.css +1 -1
  167. package/dist/index.js +42 -42
  168. package/dist/index.mjs +1 -1
  169. package/dist/metafile-cjs.json +1 -1
  170. package/dist/metafile-esm.json +1 -1
  171. package/dist/pages/Blog.mjs +1 -1
  172. package/dist/pages/Documentation.js +1 -1
  173. package/dist/pages/Documentation.mjs +1 -1
  174. package/dist/pages/IndexPage.js +1 -1
  175. package/dist/pages/IndexPage.mjs +1 -1
  176. package/dist/pages/Intranet.js +1 -1
  177. package/dist/pages/Intranet.mjs +1 -1
  178. package/dist/pages/LandingPage.mjs +1 -1
  179. package/dist/pages/Page.mjs +1 -1
  180. package/dist/pages/Publish.mjs +1 -1
  181. package/dist/pages/Website.mjs +1 -1
  182. package/dist/sections/AboutSection.mjs +1 -1
  183. package/dist/sections/BlogDetail.mjs +1 -1
  184. package/dist/sections/BlogList.mjs +1 -1
  185. package/dist/sections/BlogListSection.mjs +1 -1
  186. package/dist/sections/ContactSection.mjs +1 -1
  187. package/dist/sections/PageSections.mjs +1 -1
  188. package/dist/sections/PricingSection.mjs +1 -1
  189. package/dist/sections/ServiceDetail.mjs +1 -1
  190. package/dist/sections/ServiceDetailSection.mjs +1 -1
  191. package/dist/sections/ServiceSection.mjs +1 -1
  192. package/dist/sections/form/index.mjs +1 -1
  193. package/dist/sections/index.mjs +1 -1
  194. package/package.json +1 -1
  195. package/dist/chunk-BVFUCOCP.mjs +0 -3
  196. package/dist/chunk-IXLFVFIK.mjs +0 -4
  197. package/dist/chunk-JION2IPC.mjs +0 -4
  198. package/dist/chunk-Q5NHYYRS.mjs +0 -4
  199. package/dist/chunk-UWEU6TLS.mjs +0 -6
@@ -1,4 +1,4 @@
1
- import{a as n}from"../../chunk-5G7LCLOY.mjs";import"../../chunk-XTUH2DJE.mjs";import"../../chunk-Q35D7SUU.mjs";import"../../chunk-JGKLAY6J.mjs";import"../../chunk-TIAA3ZN3.mjs";import"../../chunk-LL7CRB4U.mjs";import"../../chunk-SH5SK6V2.mjs";import"../../chunk-6OCLRAHU.mjs";import"../../chunk-5Y6FKL5W.mjs";import"../../chunk-4DESBE4R.mjs";import"../../chunk-QM5FOQHG.mjs";import"../../chunk-JQL4XGAF.mjs";import"../../chunk-G3BOVXUM.mjs";import"../../chunk-EW6KWAHS.mjs";import"../../chunk-IUVPH5LV.mjs";import"../../chunk-YRDJBAYA.mjs";import"../../chunk-MTA6RFZ7.mjs";import"../../chunk-6OT5PQXV.mjs";import"../../chunk-YPZAYXNQ.mjs";import"../../chunk-RL6365DN.mjs";import"../../chunk-LTTO57ZK.mjs";import"../../chunk-KOLP657S.mjs";import"../../chunk-NPVUICIF.mjs";import"../../chunk-S3OBSLA5.mjs";import"../../chunk-GLZEHRPY.mjs";import"../../chunk-WPH2ALD6.mjs";import"../../chunk-AZKOVKSK.mjs";import{b as s}from"../../chunk-Q2DPE66H.mjs";import"../../chunk-4QRKVSTE.mjs";import"../../chunk-INCYANPB.mjs";import"../../chunk-RLVKIMGU.mjs";import"../../chunk-OCPX4QPC.mjs";import"../../chunk-FT3AE7L2.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-YNCJATT7.mjs";import"../../chunk-L5JPAKPM.mjs";import"../../chunk-KY7WQYN4.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-QTW33JYG.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-FLHDNCNY.mjs";import"../../chunk-YEKQJ4YC.mjs";import{useState as r}from"react";import{jsx as e}from"react/jsx-runtime";function u(){let[t,a]=r([{id:"1",role:"user",parts:[{type:"text",text:"Can you help me analyze my sales data?"}]},{id:"2",role:"assistant",parts:[{type:"text",text:`I'll help you analyze your sales data. Let me fetch the latest information.
1
+ import{a as n}from"../../chunk-CMEGGDTF.mjs";import"../../chunk-XTUH2DJE.mjs";import"../../chunk-Q35D7SUU.mjs";import"../../chunk-DP6Q6ZTN.mjs";import"../../chunk-TIAA3ZN3.mjs";import"../../chunk-KZXYV2BA.mjs";import"../../chunk-MTA6RFZ7.mjs";import"../../chunk-SH5SK6V2.mjs";import"../../chunk-6OCLRAHU.mjs";import"../../chunk-5Y6FKL5W.mjs";import"../../chunk-4DESBE4R.mjs";import"../../chunk-QM5FOQHG.mjs";import"../../chunk-JQL4XGAF.mjs";import"../../chunk-G3BOVXUM.mjs";import"../../chunk-EW6KWAHS.mjs";import"../../chunk-IUVPH5LV.mjs";import"../../chunk-YRDJBAYA.mjs";import"../../chunk-6OT5PQXV.mjs";import"../../chunk-YPZAYXNQ.mjs";import"../../chunk-RL6365DN.mjs";import"../../chunk-LTTO57ZK.mjs";import"../../chunk-KOLP657S.mjs";import"../../chunk-NPVUICIF.mjs";import"../../chunk-S3OBSLA5.mjs";import"../../chunk-GLZEHRPY.mjs";import"../../chunk-WPH2ALD6.mjs";import"../../chunk-AZKOVKSK.mjs";import{b as s}from"../../chunk-Q2DPE66H.mjs";import"../../chunk-4QRKVSTE.mjs";import"../../chunk-INCYANPB.mjs";import"../../chunk-RLVKIMGU.mjs";import"../../chunk-OCPX4QPC.mjs";import"../../chunk-FT3AE7L2.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-YNCJATT7.mjs";import"../../chunk-L5JPAKPM.mjs";import"../../chunk-KY7WQYN4.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-QTW33JYG.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-FLHDNCNY.mjs";import"../../chunk-YEKQJ4YC.mjs";import{useState as r}from"react";import{jsx as e}from"react/jsx-runtime";function u(){let[t,a]=r([{id:"1",role:"user",parts:[{type:"text",text:"Can you help me analyze my sales data?"}]},{id:"2",role:"assistant",parts:[{type:"text",text:`I'll help you analyze your sales data. Let me fetch the latest information.
2
2
 
3
3
  *\u{1F527} Calling function: fetch_sales_data(period="30d", region="all")*`}]},{id:"3",role:"assistant",parts:[{type:"text",text:`Great! I've retrieved your sales data for the last 30 days. Here's what I found:
4
4
 
@@ -1 +1 @@
1
- import{a as s}from"../../chunk-5G7LCLOY.mjs";import"../../chunk-XTUH2DJE.mjs";import"../../chunk-Q35D7SUU.mjs";import"../../chunk-JGKLAY6J.mjs";import"../../chunk-TIAA3ZN3.mjs";import"../../chunk-LL7CRB4U.mjs";import"../../chunk-SH5SK6V2.mjs";import"../../chunk-6OCLRAHU.mjs";import"../../chunk-5Y6FKL5W.mjs";import"../../chunk-4DESBE4R.mjs";import"../../chunk-QM5FOQHG.mjs";import"../../chunk-JQL4XGAF.mjs";import"../../chunk-G3BOVXUM.mjs";import"../../chunk-EW6KWAHS.mjs";import"../../chunk-IUVPH5LV.mjs";import"../../chunk-YRDJBAYA.mjs";import"../../chunk-MTA6RFZ7.mjs";import"../../chunk-6OT5PQXV.mjs";import"../../chunk-YPZAYXNQ.mjs";import"../../chunk-RL6365DN.mjs";import"../../chunk-LTTO57ZK.mjs";import"../../chunk-KOLP657S.mjs";import"../../chunk-NPVUICIF.mjs";import"../../chunk-S3OBSLA5.mjs";import"../../chunk-GLZEHRPY.mjs";import"../../chunk-WPH2ALD6.mjs";import"../../chunk-AZKOVKSK.mjs";import{b as e}from"../../chunk-Q2DPE66H.mjs";import"../../chunk-4QRKVSTE.mjs";import"../../chunk-INCYANPB.mjs";import"../../chunk-RLVKIMGU.mjs";import"../../chunk-OCPX4QPC.mjs";import"../../chunk-FT3AE7L2.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-YNCJATT7.mjs";import"../../chunk-L5JPAKPM.mjs";import"../../chunk-KY7WQYN4.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-QTW33JYG.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-FLHDNCNY.mjs";import"../../chunk-YEKQJ4YC.mjs";import{useState as o}from"react";import{jsx as t}from"react/jsx-runtime";var l=[{id:"1",role:"user",parts:[{type:"text",text:"Hello! Can you help me with a task?"}]},{id:"2",role:"assistant",parts:[{type:"text",text:"Of course! I can help you with various tasks. Try uploading a file or use the capabilities menu at the bottom to see what I can do."}]}];function u(){let[a,i]=o(l);return t("div",{className:"h-screen w-full",children:t(s,{messages:a,capabilities:e,enableFileUpload:!0,maxFileSize:10,allowedFileTypes:["*"],businessUnits:[],sessions:[],notifications:[],onNewChat:()=>i([]),onSessionSelect:()=>{},onSessionDelete:()=>{},showCapabilities:!0})})}export{u as ChatDemo};
1
+ import{a as s}from"../../chunk-CMEGGDTF.mjs";import"../../chunk-XTUH2DJE.mjs";import"../../chunk-Q35D7SUU.mjs";import"../../chunk-DP6Q6ZTN.mjs";import"../../chunk-TIAA3ZN3.mjs";import"../../chunk-KZXYV2BA.mjs";import"../../chunk-MTA6RFZ7.mjs";import"../../chunk-SH5SK6V2.mjs";import"../../chunk-6OCLRAHU.mjs";import"../../chunk-5Y6FKL5W.mjs";import"../../chunk-4DESBE4R.mjs";import"../../chunk-QM5FOQHG.mjs";import"../../chunk-JQL4XGAF.mjs";import"../../chunk-G3BOVXUM.mjs";import"../../chunk-EW6KWAHS.mjs";import"../../chunk-IUVPH5LV.mjs";import"../../chunk-YRDJBAYA.mjs";import"../../chunk-6OT5PQXV.mjs";import"../../chunk-YPZAYXNQ.mjs";import"../../chunk-RL6365DN.mjs";import"../../chunk-LTTO57ZK.mjs";import"../../chunk-KOLP657S.mjs";import"../../chunk-NPVUICIF.mjs";import"../../chunk-S3OBSLA5.mjs";import"../../chunk-GLZEHRPY.mjs";import"../../chunk-WPH2ALD6.mjs";import"../../chunk-AZKOVKSK.mjs";import{b as e}from"../../chunk-Q2DPE66H.mjs";import"../../chunk-4QRKVSTE.mjs";import"../../chunk-INCYANPB.mjs";import"../../chunk-RLVKIMGU.mjs";import"../../chunk-OCPX4QPC.mjs";import"../../chunk-FT3AE7L2.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-YNCJATT7.mjs";import"../../chunk-L5JPAKPM.mjs";import"../../chunk-KY7WQYN4.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-QTW33JYG.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-FLHDNCNY.mjs";import"../../chunk-YEKQJ4YC.mjs";import{useState as o}from"react";import{jsx as t}from"react/jsx-runtime";var l=[{id:"1",role:"user",parts:[{type:"text",text:"Hello! Can you help me with a task?"}]},{id:"2",role:"assistant",parts:[{type:"text",text:"Of course! I can help you with various tasks. Try uploading a file or use the capabilities menu at the bottom to see what I can do."}]}];function u(){let[a,i]=o(l);return t("div",{className:"h-screen w-full",children:t(s,{messages:a,capabilities:e,enableFileUpload:!0,maxFileSize:10,allowedFileTypes:["*"],businessUnits:[],sessions:[],notifications:[],onNewChat:()=>i([]),onSessionSelect:()=>{},onSessionDelete:()=>{},showCapabilities:!0})})}export{u as ChatDemo};
@@ -1 +1 @@
1
- import"../../chunk-LUPNE23E.mjs";import"../../chunk-WHOWQZV6.mjs";import{a as t}from"../../chunk-5G7LCLOY.mjs";import"../../chunk-XTUH2DJE.mjs";import"../../chunk-Q35D7SUU.mjs";import"../../chunk-JGKLAY6J.mjs";import"../../chunk-TIAA3ZN3.mjs";import"../../chunk-LL7CRB4U.mjs";import"../../chunk-SH5SK6V2.mjs";import"../../chunk-6OCLRAHU.mjs";import"../../chunk-5Y6FKL5W.mjs";import"../../chunk-4DESBE4R.mjs";import"../../chunk-QM5FOQHG.mjs";import"../../chunk-JQL4XGAF.mjs";import"../../chunk-G3BOVXUM.mjs";import"../../chunk-EW6KWAHS.mjs";import"../../chunk-IUVPH5LV.mjs";import"../../chunk-YRDJBAYA.mjs";import"../../chunk-MTA6RFZ7.mjs";import"../../chunk-6OT5PQXV.mjs";import"../../chunk-YPZAYXNQ.mjs";import"../../chunk-RL6365DN.mjs";import"../../chunk-LTTO57ZK.mjs";import"../../chunk-KOLP657S.mjs";import"../../chunk-NPVUICIF.mjs";import"../../chunk-S3OBSLA5.mjs";import"../../chunk-GLZEHRPY.mjs";import"../../chunk-WPH2ALD6.mjs";import"../../chunk-AZKOVKSK.mjs";import"../../chunk-Q2DPE66H.mjs";import"../../chunk-4QRKVSTE.mjs";import"../../chunk-INCYANPB.mjs";import"../../chunk-RLVKIMGU.mjs";import"../../chunk-OCPX4QPC.mjs";import"../../chunk-FT3AE7L2.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-YNCJATT7.mjs";import"../../chunk-L5JPAKPM.mjs";import"../../chunk-KY7WQYN4.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-QTW33JYG.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-FLHDNCNY.mjs";import"../../chunk-YEKQJ4YC.mjs";import{jsx as i}from"react/jsx-runtime";var a=[{id:"1",role:"user",parts:[{type:"text",text:"Hello, can you help me with a task?"}]},{id:"2",role:"assistant",parts:[{type:"text",text:"Of course! I can help you create and manage tasks."}]},{id:"3",role:"user",parts:[{type:"text",text:"Here is a file with project requirements"},{type:"file",mimeType:"application/pdf",url:"/path/to/file.pdf"}]},{id:"4",role:"assistant",parts:[{type:"text",text:"I'll create a task based on your requirements."},{type:"tool-task",toolCallId:"call-123",state:"output-available",input:{title:"Project Requirements Review",description:"Review and analyze the uploaded requirements document"},output:{id:"task-123",title:"Project Requirements Review",description:"Review and analyze the uploaded requirements document",status:"created",assignee:"AI Assistant",priority:"high"}}]},{id:"5",role:"assistant",parts:[{type:"text",text:"Here are some relevant resources for your project:"},{type:"data-reference",data:{references:[{id:"ref-1",title:"Project Management Best Practices",url:"https://example.com/pm-best-practices",description:"Comprehensive guide to project management",type:"document"},{id:"ref-2",title:"Requirements Gathering Template",url:"https://example.com/requirements-template",description:"Template for gathering project requirements",type:"link"}]}}]},{id:"6",role:"assistant",parts:[{type:"text",text:"What would you like to do next?"},{type:"data-menu",data:{title:"Available Actions",items:[{id:"action-1",label:"Create another task",description:"Set up a new task for the project",action:()=>console.log("Create task clicked")},{id:"action-2",label:"View project timeline",description:"See the project schedule and milestones",action:()=>console.log("View timeline clicked")},{id:"action-3",label:"Assign team members",description:"Add team members to the project",action:()=>console.log("Assign team clicked")}]}}]}];function o(){return i(t,{messages:a,businessUnits:[{id:"engineering",name:"Engineering",description:"Software development team",icon:"\u2699\uFE0F",color:"bg-blue-500",accentColor:"bg-blue-600"}],capabilities:[],sessions:[],onNewChat:()=>console.log("New chat started"),onSessionSelect:e=>console.log("Session selected:",e),onSessionDelete:e=>console.log("Session deleted:",e),enableFileUpload:!0,title:"AI Assistant"})}export{o as ExampleChatInterface};
1
+ import"../../chunk-LUPNE23E.mjs";import"../../chunk-WHOWQZV6.mjs";import{a as t}from"../../chunk-CMEGGDTF.mjs";import"../../chunk-XTUH2DJE.mjs";import"../../chunk-Q35D7SUU.mjs";import"../../chunk-DP6Q6ZTN.mjs";import"../../chunk-TIAA3ZN3.mjs";import"../../chunk-KZXYV2BA.mjs";import"../../chunk-MTA6RFZ7.mjs";import"../../chunk-SH5SK6V2.mjs";import"../../chunk-6OCLRAHU.mjs";import"../../chunk-5Y6FKL5W.mjs";import"../../chunk-4DESBE4R.mjs";import"../../chunk-QM5FOQHG.mjs";import"../../chunk-JQL4XGAF.mjs";import"../../chunk-G3BOVXUM.mjs";import"../../chunk-EW6KWAHS.mjs";import"../../chunk-IUVPH5LV.mjs";import"../../chunk-YRDJBAYA.mjs";import"../../chunk-6OT5PQXV.mjs";import"../../chunk-YPZAYXNQ.mjs";import"../../chunk-RL6365DN.mjs";import"../../chunk-LTTO57ZK.mjs";import"../../chunk-KOLP657S.mjs";import"../../chunk-NPVUICIF.mjs";import"../../chunk-S3OBSLA5.mjs";import"../../chunk-GLZEHRPY.mjs";import"../../chunk-WPH2ALD6.mjs";import"../../chunk-AZKOVKSK.mjs";import"../../chunk-Q2DPE66H.mjs";import"../../chunk-4QRKVSTE.mjs";import"../../chunk-INCYANPB.mjs";import"../../chunk-RLVKIMGU.mjs";import"../../chunk-OCPX4QPC.mjs";import"../../chunk-FT3AE7L2.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-YNCJATT7.mjs";import"../../chunk-L5JPAKPM.mjs";import"../../chunk-KY7WQYN4.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-QTW33JYG.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-FLHDNCNY.mjs";import"../../chunk-YEKQJ4YC.mjs";import{jsx as i}from"react/jsx-runtime";var a=[{id:"1",role:"user",parts:[{type:"text",text:"Hello, can you help me with a task?"}]},{id:"2",role:"assistant",parts:[{type:"text",text:"Of course! I can help you create and manage tasks."}]},{id:"3",role:"user",parts:[{type:"text",text:"Here is a file with project requirements"},{type:"file",mimeType:"application/pdf",url:"/path/to/file.pdf"}]},{id:"4",role:"assistant",parts:[{type:"text",text:"I'll create a task based on your requirements."},{type:"tool-task",toolCallId:"call-123",state:"output-available",input:{title:"Project Requirements Review",description:"Review and analyze the uploaded requirements document"},output:{id:"task-123",title:"Project Requirements Review",description:"Review and analyze the uploaded requirements document",status:"created",assignee:"AI Assistant",priority:"high"}}]},{id:"5",role:"assistant",parts:[{type:"text",text:"Here are some relevant resources for your project:"},{type:"data-reference",data:{references:[{id:"ref-1",title:"Project Management Best Practices",url:"https://example.com/pm-best-practices",description:"Comprehensive guide to project management",type:"document"},{id:"ref-2",title:"Requirements Gathering Template",url:"https://example.com/requirements-template",description:"Template for gathering project requirements",type:"link"}]}}]},{id:"6",role:"assistant",parts:[{type:"text",text:"What would you like to do next?"},{type:"data-menu",data:{title:"Available Actions",items:[{id:"action-1",label:"Create another task",description:"Set up a new task for the project",action:()=>console.log("Create task clicked")},{id:"action-2",label:"View project timeline",description:"See the project schedule and milestones",action:()=>console.log("View timeline clicked")},{id:"action-3",label:"Assign team members",description:"Add team members to the project",action:()=>console.log("Assign team clicked")}]}}]}];function o(){return i(t,{messages:a,businessUnits:[{id:"engineering",name:"Engineering",description:"Software development team",icon:"\u2699\uFE0F",color:"bg-blue-500",accentColor:"bg-blue-600"}],capabilities:[],sessions:[],onNewChat:()=>console.log("New chat started"),onSessionSelect:e=>console.log("Session selected:",e),onSessionDelete:e=>console.log("Session deleted:",e),enableFileUpload:!0,title:"AI Assistant"})}export{o as ExampleChatInterface};
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- "use strict";import{a as l}from"../../chunk-5G7LCLOY.mjs";import"../../chunk-XTUH2DJE.mjs";import"../../chunk-Q35D7SUU.mjs";import"../../chunk-JGKLAY6J.mjs";import"../../chunk-TIAA3ZN3.mjs";import"../../chunk-LL7CRB4U.mjs";import"../../chunk-SH5SK6V2.mjs";import"../../chunk-6OCLRAHU.mjs";import"../../chunk-5Y6FKL5W.mjs";import"../../chunk-4DESBE4R.mjs";import"../../chunk-QM5FOQHG.mjs";import"../../chunk-JQL4XGAF.mjs";import"../../chunk-G3BOVXUM.mjs";import"../../chunk-EW6KWAHS.mjs";import"../../chunk-IUVPH5LV.mjs";import"../../chunk-YRDJBAYA.mjs";import"../../chunk-MTA6RFZ7.mjs";import"../../chunk-6OT5PQXV.mjs";import"../../chunk-YPZAYXNQ.mjs";import"../../chunk-RL6365DN.mjs";import"../../chunk-LTTO57ZK.mjs";import"../../chunk-KOLP657S.mjs";import{a as t,b as i,c as n}from"../../chunk-NPVUICIF.mjs";import"../../chunk-S3OBSLA5.mjs";import"../../chunk-GLZEHRPY.mjs";import"../../chunk-WPH2ALD6.mjs";import"../../chunk-AZKOVKSK.mjs";import{b as o}from"../../chunk-Q2DPE66H.mjs";import"../../chunk-4QRKVSTE.mjs";import"../../chunk-INCYANPB.mjs";import"../../chunk-RLVKIMGU.mjs";import"../../chunk-OCPX4QPC.mjs";import"../../chunk-FT3AE7L2.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-YNCJATT7.mjs";import"../../chunk-L5JPAKPM.mjs";import"../../chunk-KY7WQYN4.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-QTW33JYG.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-FLHDNCNY.mjs";import"../../chunk-YEKQJ4YC.mjs";import{useChat as r}from"@ai-sdk/react";import{jsx as c}from"react/jsx-runtime";var a=[{id:"1",title:"AI Assistant Chat",lastMessage:"How can I help you today?"}];function C(){return c(l,{businessUnits:n,capabilities:o,sidebarItems:t,notifications:i,sessions:a,onNewChat:()=>console.log("New chat started"),onSessionSelect:e=>console.log("Session selected:",e),onSessionDelete:e=>console.log("Session deleted:",e),title:"AI-Powered Copilot"})}function S(){return c(l,{aiConfig:{onError:e=>console.error("Chat error:",e)},businessUnits:n,capabilities:o,sidebarItems:t,notifications:i,sessions:a,onNewChat:()=>console.log("New chat started"),onSessionSelect:e=>console.log("Session selected:",e),onSessionDelete:e=>console.log("Session deleted:",e),title:"Custom AI Copilot"})}function g(){return c(l,{enableAI:!1,messages:[{id:"1",role:"assistant",parts:[{type:"text",text:"This is demo mode - no AI involved!"}]}],businessUnits:n,capabilities:o,sidebarItems:t,notifications:i,sessions:a,onNewChat:()=>console.log("New chat started"),onSessionSelect:s=>console.log("Session selected:",s),onSessionDelete:s=>console.log("Session deleted:",s),title:"Demo Copilot"})}function h(){let e=r({onError:s=>console.error("Custom chat error:",s)});return c(l,{useCustomChat:e,businessUnits:n,capabilities:o,sidebarItems:t,notifications:i,sessions:a,onNewChat:()=>{e.setMessages([]),console.log("New chat started - messages cleared")},onSessionSelect:s=>console.log("Session selected:",s),onSessionDelete:s=>console.log("Session deleted:",s),title:"Advanced AI Copilot"})}function b(){return c(l,{sidebarInitiallyClosed:!0,businessUnits:n,capabilities:o,sidebarItems:t,notifications:i,sessions:a,onNewChat:()=>console.log("New chat started"),onSessionSelect:e=>console.log("Session selected:",e),onSessionDelete:e=>console.log("Session deleted:",e),title:"Focused AI Chat"})}function f(){let e=r({onError:s=>console.error("File upload chat error:",s),onFinish:s=>console.log("Message with files completed:",s)});return c(l,{useCustomChat:e,enableAI:!0,enableFileUpload:!0,maxFileSize:10,allowedFileTypes:["image/*","text/*","application/pdf"],businessUnits:n,capabilities:o,sidebarItems:t,notifications:i,sessions:a,onNewChat:()=>{e.setMessages([]),console.log("New file upload chat started - messages cleared")},onSessionSelect:s=>console.log("Session selected:",s),onSessionDelete:s=>console.log("Session deleted:",s),title:"AI Copilot with File Uploads"})}export{h as AdvancedAICopilot,S as CustomAICopilot,g as DemoCopilot,f as FileUploadAICopilot,b as FocusedChatCopilot,C as SimpleAICopilot};
2
+ "use strict";import{a as l}from"../../chunk-CMEGGDTF.mjs";import"../../chunk-XTUH2DJE.mjs";import"../../chunk-Q35D7SUU.mjs";import"../../chunk-DP6Q6ZTN.mjs";import"../../chunk-TIAA3ZN3.mjs";import"../../chunk-KZXYV2BA.mjs";import"../../chunk-MTA6RFZ7.mjs";import"../../chunk-SH5SK6V2.mjs";import"../../chunk-6OCLRAHU.mjs";import"../../chunk-5Y6FKL5W.mjs";import"../../chunk-4DESBE4R.mjs";import"../../chunk-QM5FOQHG.mjs";import"../../chunk-JQL4XGAF.mjs";import"../../chunk-G3BOVXUM.mjs";import"../../chunk-EW6KWAHS.mjs";import"../../chunk-IUVPH5LV.mjs";import"../../chunk-YRDJBAYA.mjs";import"../../chunk-6OT5PQXV.mjs";import"../../chunk-YPZAYXNQ.mjs";import"../../chunk-RL6365DN.mjs";import"../../chunk-LTTO57ZK.mjs";import"../../chunk-KOLP657S.mjs";import{a as t,b as i,c as n}from"../../chunk-NPVUICIF.mjs";import"../../chunk-S3OBSLA5.mjs";import"../../chunk-GLZEHRPY.mjs";import"../../chunk-WPH2ALD6.mjs";import"../../chunk-AZKOVKSK.mjs";import{b as o}from"../../chunk-Q2DPE66H.mjs";import"../../chunk-4QRKVSTE.mjs";import"../../chunk-INCYANPB.mjs";import"../../chunk-RLVKIMGU.mjs";import"../../chunk-OCPX4QPC.mjs";import"../../chunk-FT3AE7L2.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-YNCJATT7.mjs";import"../../chunk-L5JPAKPM.mjs";import"../../chunk-KY7WQYN4.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-QTW33JYG.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-FLHDNCNY.mjs";import"../../chunk-YEKQJ4YC.mjs";import{useChat as r}from"@ai-sdk/react";import{jsx as c}from"react/jsx-runtime";var a=[{id:"1",title:"AI Assistant Chat",lastMessage:"How can I help you today?"}];function C(){return c(l,{businessUnits:n,capabilities:o,sidebarItems:t,notifications:i,sessions:a,onNewChat:()=>console.log("New chat started"),onSessionSelect:e=>console.log("Session selected:",e),onSessionDelete:e=>console.log("Session deleted:",e),title:"AI-Powered Copilot"})}function S(){return c(l,{aiConfig:{onError:e=>console.error("Chat error:",e)},businessUnits:n,capabilities:o,sidebarItems:t,notifications:i,sessions:a,onNewChat:()=>console.log("New chat started"),onSessionSelect:e=>console.log("Session selected:",e),onSessionDelete:e=>console.log("Session deleted:",e),title:"Custom AI Copilot"})}function g(){return c(l,{enableAI:!1,messages:[{id:"1",role:"assistant",parts:[{type:"text",text:"This is demo mode - no AI involved!"}]}],businessUnits:n,capabilities:o,sidebarItems:t,notifications:i,sessions:a,onNewChat:()=>console.log("New chat started"),onSessionSelect:s=>console.log("Session selected:",s),onSessionDelete:s=>console.log("Session deleted:",s),title:"Demo Copilot"})}function h(){let e=r({onError:s=>console.error("Custom chat error:",s)});return c(l,{useCustomChat:e,businessUnits:n,capabilities:o,sidebarItems:t,notifications:i,sessions:a,onNewChat:()=>{e.setMessages([]),console.log("New chat started - messages cleared")},onSessionSelect:s=>console.log("Session selected:",s),onSessionDelete:s=>console.log("Session deleted:",s),title:"Advanced AI Copilot"})}function b(){return c(l,{sidebarInitiallyClosed:!0,businessUnits:n,capabilities:o,sidebarItems:t,notifications:i,sessions:a,onNewChat:()=>console.log("New chat started"),onSessionSelect:e=>console.log("Session selected:",e),onSessionDelete:e=>console.log("Session deleted:",e),title:"Focused AI Chat"})}function f(){let e=r({onError:s=>console.error("File upload chat error:",s),onFinish:s=>console.log("Message with files completed:",s)});return c(l,{useCustomChat:e,enableAI:!0,enableFileUpload:!0,maxFileSize:10,allowedFileTypes:["image/*","text/*","application/pdf"],businessUnits:n,capabilities:o,sidebarItems:t,notifications:i,sessions:a,onNewChat:()=>{e.setMessages([]),console.log("New file upload chat started - messages cleared")},onSessionSelect:s=>console.log("Session selected:",s),onSessionDelete:s=>console.log("Session deleted:",s),title:"AI Copilot with File Uploads"})}export{h as AdvancedAICopilot,S as CustomAICopilot,g as DemoCopilot,f as FileUploadAICopilot,b as FocusedChatCopilot,C as SimpleAICopilot};
@@ -1 +1 @@
1
- import{a as n,b as o,c as p,d as q,e as r,f as s,g as t}from"../../chunk-LUPNE23E.mjs";import{a as m}from"../../chunk-WHOWQZV6.mjs";import{a as l}from"../../chunk-5G7LCLOY.mjs";import"../../chunk-XTUH2DJE.mjs";import"../../chunk-Q35D7SUU.mjs";import{a as k}from"../../chunk-JGKLAY6J.mjs";import"../../chunk-TIAA3ZN3.mjs";import"../../chunk-LL7CRB4U.mjs";import"../../chunk-SH5SK6V2.mjs";import"../../chunk-6OCLRAHU.mjs";import"../../chunk-5Y6FKL5W.mjs";import"../../chunk-4DESBE4R.mjs";import{a as i}from"../../chunk-QM5FOQHG.mjs";import"../../chunk-JQL4XGAF.mjs";import"../../chunk-G3BOVXUM.mjs";import"../../chunk-EW6KWAHS.mjs";import"../../chunk-IUVPH5LV.mjs";import"../../chunk-YRDJBAYA.mjs";import"../../chunk-MTA6RFZ7.mjs";import{a as j}from"../../chunk-6OT5PQXV.mjs";import{a as h}from"../../chunk-YPZAYXNQ.mjs";import{a}from"../../chunk-RL6365DN.mjs";import"../../chunk-LTTO57ZK.mjs";import"../../chunk-KOLP657S.mjs";import"../../chunk-NPVUICIF.mjs";import"../../chunk-S3OBSLA5.mjs";import"../../chunk-GLZEHRPY.mjs";import"../../chunk-WPH2ALD6.mjs";import"../../chunk-AZKOVKSK.mjs";import{a as b,b as c,c as d,d as e,e as f,f as g}from"../../chunk-Q2DPE66H.mjs";import"../../chunk-4QRKVSTE.mjs";import"../../chunk-INCYANPB.mjs";import"../../chunk-RLVKIMGU.mjs";import"../../chunk-OCPX4QPC.mjs";import"../../chunk-FT3AE7L2.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-YNCJATT7.mjs";import"../../chunk-L5JPAKPM.mjs";import"../../chunk-KY7WQYN4.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-QTW33JYG.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-FLHDNCNY.mjs";import"../../chunk-YEKQJ4YC.mjs";export{j as ApprovalRequestModal,m as CapabilityMenu,h as ChatCardArtefact,a as ChatCardTask,k as ChatInterface,l as CopilotInterface,i as OAuthModal,b as defaultColorScheme,d as findCapabilityByPath,g as getAllCapabilities,f as getCapabilityByTeam,e as getContextualActions,t as getDataPart,r as getFileParts,n as getTextContent,p as getToolPart,s as hasDataPart,q as hasFilePart,o as hasToolPart,c as testCapabilities};
1
+ import{a as n,b as o,c as p,d as q,e as r,f as s,g as t}from"../../chunk-LUPNE23E.mjs";import{a as m}from"../../chunk-WHOWQZV6.mjs";import{a as l}from"../../chunk-CMEGGDTF.mjs";import"../../chunk-XTUH2DJE.mjs";import"../../chunk-Q35D7SUU.mjs";import{a as k}from"../../chunk-DP6Q6ZTN.mjs";import"../../chunk-TIAA3ZN3.mjs";import"../../chunk-KZXYV2BA.mjs";import"../../chunk-MTA6RFZ7.mjs";import"../../chunk-SH5SK6V2.mjs";import"../../chunk-6OCLRAHU.mjs";import"../../chunk-5Y6FKL5W.mjs";import"../../chunk-4DESBE4R.mjs";import{a as i}from"../../chunk-QM5FOQHG.mjs";import"../../chunk-JQL4XGAF.mjs";import"../../chunk-G3BOVXUM.mjs";import"../../chunk-EW6KWAHS.mjs";import"../../chunk-IUVPH5LV.mjs";import"../../chunk-YRDJBAYA.mjs";import{a as j}from"../../chunk-6OT5PQXV.mjs";import{a as h}from"../../chunk-YPZAYXNQ.mjs";import{a}from"../../chunk-RL6365DN.mjs";import"../../chunk-LTTO57ZK.mjs";import"../../chunk-KOLP657S.mjs";import"../../chunk-NPVUICIF.mjs";import"../../chunk-S3OBSLA5.mjs";import"../../chunk-GLZEHRPY.mjs";import"../../chunk-WPH2ALD6.mjs";import"../../chunk-AZKOVKSK.mjs";import{a as b,b as c,c as d,d as e,e as f,f as g}from"../../chunk-Q2DPE66H.mjs";import"../../chunk-4QRKVSTE.mjs";import"../../chunk-INCYANPB.mjs";import"../../chunk-RLVKIMGU.mjs";import"../../chunk-OCPX4QPC.mjs";import"../../chunk-FT3AE7L2.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-YNCJATT7.mjs";import"../../chunk-L5JPAKPM.mjs";import"../../chunk-KY7WQYN4.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-QTW33JYG.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-FLHDNCNY.mjs";import"../../chunk-YEKQJ4YC.mjs";export{j as ApprovalRequestModal,m as CapabilityMenu,h as ChatCardArtefact,a as ChatCardTask,k as ChatInterface,l as CopilotInterface,i as OAuthModal,b as defaultColorScheme,d as findCapabilityByPath,g as getAllCapabilities,f as getCapabilityByTeam,e as getContextualActions,t as getDataPart,r as getFileParts,n as getTextContent,p as getToolPart,s as hasDataPart,q as hasFilePart,o as hasToolPart,c as testCapabilities};
@@ -1,4 +1,4 @@
1
- import { DeliveryLeadSubmissionData } from './types';
1
+ import { DeliveryLeadSubmissionData, DeliveryLeadSubmissionPrefill } from './types';
2
2
  export interface CustomerProjectPair {
3
3
  customer: {
4
4
  id: number;
@@ -15,5 +15,6 @@ export interface DeliveryLeadSubmissionProps {
15
15
  message: string;
16
16
  }>;
17
17
  customerProjectPairs?: CustomerProjectPair[];
18
+ initialData?: DeliveryLeadSubmissionPrefill;
18
19
  }
19
- export declare function DeliveryLeadSubmissionComponent({ onSubmit, customerProjectPairs }: DeliveryLeadSubmissionProps): import("react/jsx-runtime").JSX.Element;
20
+ export declare function DeliveryLeadSubmissionComponent({ onSubmit, customerProjectPairs, initialData }: DeliveryLeadSubmissionProps): import("react/jsx-runtime").JSX.Element;
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- "use strict";"use client";var Ge=Object.create;var ee=Object.defineProperty;var Be=Object.getOwnPropertyDescriptor;var Ee=Object.getOwnPropertyNames;var Ve=Object.getPrototypeOf,De=Object.prototype.hasOwnProperty;var Ue=(e,t)=>{for(var r in t)ee(e,r,{get:t[r],enumerable:!0})},be=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of Ee(t))!De.call(e,s)&&s!==r&&ee(e,s,{get:()=>t[s],enumerable:!(n=Be(t,s))||n.enumerable});return e};var K=(e,t,r)=>(r=e!=null?Ge(Ve(e)):{},be(t||!e||!e.__esModule?ee(r,"default",{value:e,enumerable:!0}):r,e)),We=e=>be(ee({},"__esModule",{value:!0}),e);var Pt={};Ue(Pt,{DeliveryLeadSubmissionComponent:()=>zt});module.exports=We(Pt);var L=require("react");var ke=require("clsx");var le="-",Oe=e=>{let t=Fe(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:c=>{let l=c.split(le);return l[0]===""&&l.length!==1&&l.shift(),he(l,t)||_e(c)},getConflictingClassGroupIds:(c,l)=>{let f=r[c]||[];return l&&n[c]?[...f,...n[c]]:f}}},he=(e,t)=>{if(e.length===0)return t.classGroupId;let r=e[0],n=t.nextPart.get(r),s=n?he(e.slice(1),n):void 0;if(s)return s;if(t.validators.length===0)return;let a=e.join(le);return t.validators.find(({validator:c})=>c(a))?.classGroupId},fe=/^\[(.+)\]$/,_e=e=>{if(fe.test(e)){let t=fe.exec(e)[1],r=t?.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Fe=e=>{let{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]};return qe(Object.entries(e.classGroups),r).forEach(([a,c])=>{se(c,n,a,t)}),n},se=(e,t,r,n)=>{e.forEach(s=>{if(typeof s=="string"){let a=s===""?t:ge(t,s);a.classGroupId=r;return}if(typeof s=="function"){if($e(s)){se(s(n),t,r,n);return}t.validators.push({validator:s,classGroupId:r});return}Object.entries(s).forEach(([a,c])=>{se(c,ge(t,a),r,n)})})},ge=(e,t)=>{let r=e;return t.split(le).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},$e=e=>e.isThemeGetter,qe=(e,t)=>t?e.map(([r,n])=>{let s=n.map(a=>typeof a=="string"?t+a:typeof a=="object"?Object.fromEntries(Object.entries(a).map(([c,l])=>[t+c,l])):a);return[r,s]}):e,He=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,n=new Map,s=(a,c)=>{r.set(a,c),t++,t>e&&(t=0,n=r,r=new Map)};return{get(a){let c=r.get(a);if(c!==void 0)return c;if((c=n.get(a))!==void 0)return s(a,c),c},set(a,c){r.has(a)?r.set(a,c):s(a,c)}}},ve="!",Je=e=>{let{separator:t,experimentalParseClassName:r}=e,n=t.length===1,s=t[0],a=t.length,c=l=>{let f=[],x=0,v=0,R;for(let b=0;b<l.length;b++){let y=l[b];if(x===0){if(y===s&&(n||l.slice(b,b+a)===t)){f.push(l.slice(v,b)),v=b+a;continue}if(y==="/"){R=b;continue}}y==="["?x++:y==="]"&&x--}let k=f.length===0?l:l.substring(v),N=k.startsWith(ve),M=N?k.substring(1):k,h=R&&R>v?R-v:void 0;return{modifiers:f,hasImportantModifier:N,baseClassName:M,maybePostfixModifierPosition:h}};return r?l=>r({className:l,parseClassName:c}):c},Ke=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(n=>{n[0]==="["?(t.push(...r.sort(),n),r=[]):r.push(n)}),t.push(...r.sort()),t},Xe=e=>({cache:He(e.cacheSize),parseClassName:Je(e),...Oe(e)}),Ze=/\s+/,Qe=(e,t)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:s}=t,a=[],c=e.trim().split(Ze),l="";for(let f=c.length-1;f>=0;f-=1){let x=c[f],{modifiers:v,hasImportantModifier:R,baseClassName:k,maybePostfixModifierPosition:N}=r(x),M=!!N,h=n(M?k.substring(0,N):k);if(!h){if(!M){l=x+(l.length>0?" "+l:l);continue}if(h=n(k),!h){l=x+(l.length>0?" "+l:l);continue}M=!1}let b=Ke(v).join(":"),y=R?b+ve:b,z=y+h;if(a.includes(z))continue;a.push(z);let D=s(h,M);for(let j=0;j<D.length;++j){let O=D[j];a.push(y+O)}l=x+(l.length>0?" "+l:l)}return l};function Ye(){let e=0,t,r,n="";for(;e<arguments.length;)(t=arguments[e++])&&(r=ye(t))&&(n&&(n+=" "),n+=r);return n}var ye=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=ye(e[n]))&&(r&&(r+=" "),r+=t);return r};function et(e,...t){let r,n,s,a=c;function c(f){let x=t.reduce((v,R)=>R(v),e());return r=Xe(x),n=r.cache.get,s=r.cache.set,a=l,l(f)}function l(f){let x=n(f);if(x)return x;let v=Qe(f,r);return s(f,v),v}return function(){return a(Ye.apply(null,arguments))}}var m=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},xe=/^\[(?:([a-z-]+):)?(.+)\]$/Re,tt=/^\d+\/\d+$/,rt=new Set(["px","full","screen"]),ot=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,nt=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|Re|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,it=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,at=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,st=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,T=e=>_(e)||rt.has(e)||tt.test(e),B=e=>F(e,"length",ft),_=e=>!!e&&!Number.isNaN(Number(e)),ae=e=>F(e,"number",_),X=e=>!!e&&Number.isInteger(Number(e)),lt=e=>e.endsWith("%")&&_(e.slice(0,-1)),d=e=>xe.test(e),E=e=>ot.test(e),ct=new Set(["length","size","percentage"]),dt=e=>F(e,ct,we),pt=e=>F(e,"position",we),ut=new Set(["image","url"]),mt=e=>F(e,ut,ht),bt=e=>F(e,"",gt),Z=()=>!0,F=(e,t,r)=>{let n=xe.exec(e);return n?n[1]?typeof t=="string"?n[1]===t:t.has(n[1]):r(n[2]):!1},ft=e=>nt.test(e)&&!it.test(e),we=()=>!1,gt=e=>at.test(e),ht=e=>st.test(e);var vt=()=>{let e=m("colors"),t=m("spacing"),r=m("blur"),n=m("brightness"),s=m("borderColor"),a=m("borderRadius"),c=m("borderSpacing"),l=m("borderWidth"),f=m("contrast"),x=m("grayscale"),v=m("hueRotate"),R=m("invert"),k=m("gap"),N=m("gradientColorStops"),M=m("gradientColorStopPositions"),h=m("inset"),b=m("margin"),y=m("opacity"),z=m("padding"),D=m("saturate"),j=m("scale"),O=m("sepia"),Q=m("skew"),Y=m("space"),U=m("translate"),$=()=>["auto","contain","none"],q=()=>["auto","hidden","clip","visible","scroll"],H=()=>["auto",d,t],o=()=>[d,t],w=()=>["",T,B],u=()=>["auto",_,d],A=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],G=()=>["solid","dashed","dotted","double","none"],ue=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ie=()=>["start","end","center","between","around","evenly","stretch"],J=()=>["","0",d],me=()=>["auto","avoid","all","avoid-page","page","left","right","column"],I=()=>[_,d];return{cacheSize:500,separator:":",theme:{colors:[Z],spacing:[T,B],blur:["none","",E,d],brightness:I(),borderColor:[e],borderRadius:["none","","full",E,d],borderSpacing:o(),borderWidth:w(),contrast:I(),grayscale:J(),hueRotate:I(),invert:J(),gap:o(),gradientColorStops:[e],gradientColorStopPositions:[lt,B],inset:H(),margin:H(),opacity:I(),padding:o(),saturate:I(),scale:I(),sepia:J(),skew:I(),space:o(),translate:o()},classGroups:{aspect:[{aspect:["auto","square","video",d]}],container:["container"],columns:[{columns:[E]}],"break-after":[{"break-after":me()}],"break-before":[{"break-before":me()}],"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:[...A(),d]}],overflow:[{overflow:q()}],"overflow-x":[{"overflow-x":q()}],"overflow-y":[{"overflow-y":q()}],overscroll:[{overscroll:$()}],"overscroll-x":[{"overscroll-x":$()}],"overscroll-y":[{"overscroll-y":$()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[h]}],"inset-x":[{"inset-x":[h]}],"inset-y":[{"inset-y":[h]}],start:[{start:[h]}],end:[{end:[h]}],top:[{top:[h]}],right:[{right:[h]}],bottom:[{bottom:[h]}],left:[{left:[h]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",X,d]}],basis:[{basis:H()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",d]}],grow:[{grow:J()}],shrink:[{shrink:J()}],order:[{order:["first","last","none",X,d]}],"grid-cols":[{"grid-cols":[Z]}],"col-start-end":[{col:["auto",{span:["full",X,d]},d]}],"col-start":[{"col-start":u()}],"col-end":[{"col-end":u()}],"grid-rows":[{"grid-rows":[Z]}],"row-start-end":[{row:["auto",{span:[X,d]},d]}],"row-start":[{"row-start":u()}],"row-end":[{"row-end":u()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",d]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",d]}],gap:[{gap:[k]}],"gap-x":[{"gap-x":[k]}],"gap-y":[{"gap-y":[k]}],"justify-content":[{justify:["normal",...ie()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ie(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ie(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[z]}],px:[{px:[z]}],py:[{py:[z]}],ps:[{ps:[z]}],pe:[{pe:[z]}],pt:[{pt:[z]}],pr:[{pr:[z]}],pb:[{pb:[z]}],pl:[{pl:[z]}],m:[{m:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],me:[{me:[b]}],mt:[{mt:[b]}],mr:[{mr:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"space-x":[{"space-x":[Y]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Y]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",d,t]}],"min-w":[{"min-w":[d,t,"min","max","fit"]}],"max-w":[{"max-w":[d,t,"none","full","min","max","fit","prose",{screen:[E]},E]}],h:[{h:[d,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[d,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[d,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[d,t,"auto","min","max","fit"]}],"font-size":[{text:["base",E,B]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ae]}],"font-family":[{font:[Z]}],"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",d]}],"line-clamp":[{"line-clamp":["none",_,ae]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",T,d]}],"list-image":[{"list-image":["none",d]}],"list-style-type":[{list:["none","disc","decimal",d]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[y]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[y]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...G(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",T,B]}],"underline-offset":[{"underline-offset":["auto",T,d]}],"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:o()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",d]}],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",d]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[y]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...A(),pt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",dt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},mt]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[M]}],"gradient-via-pos":[{via:[M]}],"gradient-to-pos":[{to:[M]}],"gradient-from":[{from:[N]}],"gradient-via":[{via:[N]}],"gradient-to":[{to:[N]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[y]}],"border-style":[{border:[...G(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[y]}],"divide-style":[{divide:G()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...G()]}],"outline-offset":[{"outline-offset":[T,d]}],"outline-w":[{outline:[T,B]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:w()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[y]}],"ring-offset-w":[{"ring-offset":[T,B]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",E,bt]}],"shadow-color":[{shadow:[Z]}],opacity:[{opacity:[y]}],"mix-blend":[{"mix-blend":[...ue(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ue()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[f]}],"drop-shadow":[{"drop-shadow":["","none",E,d]}],grayscale:[{grayscale:[x]}],"hue-rotate":[{"hue-rotate":[v]}],invert:[{invert:[R]}],saturate:[{saturate:[D]}],sepia:[{sepia:[O]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[f]}],"backdrop-grayscale":[{"backdrop-grayscale":[x]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[v]}],"backdrop-invert":[{"backdrop-invert":[R]}],"backdrop-opacity":[{"backdrop-opacity":[y]}],"backdrop-saturate":[{"backdrop-saturate":[D]}],"backdrop-sepia":[{"backdrop-sepia":[O]}],"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",d]}],duration:[{duration:I()}],ease:[{ease:["linear","in","out","in-out",d]}],delay:[{delay:I()}],animate:[{animate:["none","spin","ping","pulse","bounce",d]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[j]}],"scale-x":[{"scale-x":[j]}],"scale-y":[{"scale-y":[j]}],rotate:[{rotate:[X,d]}],"translate-x":[{"translate-x":[U]}],"translate-y":[{"translate-y":[U]}],"skew-x":[{"skew-x":[Q]}],"skew-y":[{"skew-y":[Q]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",d]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",d]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":o()}],"scroll-mx":[{"scroll-mx":o()}],"scroll-my":[{"scroll-my":o()}],"scroll-ms":[{"scroll-ms":o()}],"scroll-me":[{"scroll-me":o()}],"scroll-mt":[{"scroll-mt":o()}],"scroll-mr":[{"scroll-mr":o()}],"scroll-mb":[{"scroll-mb":o()}],"scroll-ml":[{"scroll-ml":o()}],"scroll-p":[{"scroll-p":o()}],"scroll-px":[{"scroll-px":o()}],"scroll-py":[{"scroll-py":o()}],"scroll-ps":[{"scroll-ps":o()}],"scroll-pe":[{"scroll-pe":o()}],"scroll-pt":[{"scroll-pt":o()}],"scroll-pr":[{"scroll-pr":o()}],"scroll-pb":[{"scroll-pb":o()}],"scroll-pl":[{"scroll-pl":o()}],"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",d]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[T,B,ae]}],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","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-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-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Se=et(vt);function P(...e){return Se((0,ke.clsx)(e))}var ze=require("@radix-ui/react-slot"),Pe=require("class-variance-authority"),Ce=K(require("react")),Re=require("react/jsx-runtime"),yt=(0,Pe.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),te=Ce.forwardRef(({asChild:e=!1,className:t,size:r,variant:n,...s},a)=>(0,Re.jsx)(e?ze.Slot:"button",{className:P(yt({className:t,size:r,variant:n})),ref:a,...s}));te.displayName="Button";var Ne=K(require("react")),ce=K(require("@radix-ui/react-label"));var xt=(0,Pe.cva)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),C=Ne.forwardRef(({className:e,...t},r)=>(0,Re.jsx)(ce.Root,{ref:r,className:P(xt(),e),...t}));C.displayName=ce.Root.displayName;var S=require("lucide-react");var p=K(require("@radix-ui/react-select")),V=K(require("react")),de=p.Root;var pe=p.Value,re=V.forwardRef(({children:e,className:t,...r},n)=>(0,Re.jsxs)(p.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:n,...r,children:[e,(0,Re.jsx)(p.Icon,{asChild:!0,children:(0,Re.jsx)(S.ChevronDown,{className:"h-4 w-4 opacity-50"})})]}));re.displayName=p.Trigger.displayName;var je=V.forwardRef(({className:e,...t},r)=>(0,Re.jsx)(p.ScrollUpButton,{className:P("flex cursor-default items-center justify-center py-1",e),ref:r,...t,children:(0,Re.jsx)(S.ChevronUp,{className:"h-4 w-4"})}));je.displayName=p.ScrollUpButton.displayName;var Ie=V.forwardRef(({className:e,...t},r)=>(0,Re.jsx)(p.ScrollDownButton,{className:P("flex cursor-default items-center justify-center py-1",e),ref:r,...t,children:(0,Re.jsx)(S.ChevronDown,{className:"h-4 w-4"})}));Ie.displayName=p.ScrollDownButton.displayName;var oe=V.forwardRef(({children:e,className:t,position:r="popper",...n},s)=>(0,Re.jsx)(p.Portal,{children:(0,Re.jsxs)(p.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:s,...n,children:[(0,Re.jsx)(je,{}),(0,Re.jsx)(p.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,Re.jsx)(Ie,{})]})}));oe.displayName=p.Content.displayName;var wt=V.forwardRef(({className:e,...t},r)=>(0,Re.jsx)(p.Label,{className:P("py-1.5 pl-8 pr-2 text-sm font-semibold",e),ref:r,...t}));wt.displayName=p.Label.displayName;var ne=V.forwardRef(({children:e,className:t,...r},n)=>(0,Re.jsxs)(p.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:n,...r,children:[(0,Re.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,Re.jsx)(p.ItemIndicator,{children:(0,Re.jsx)(S.Check,{className:"h-4 w-4"})})}),(0,Re.jsx)(p.ItemText,{children:e})]}));ne.displayName=p.Item.displayName;var St=V.forwardRef(({className:e,...t},r)=>(0,Re.jsx)(p.Separator,{className:P("-mx-1 my-1 h-px bg-muted",e),ref:r,...t}));St.displayName=p.Separator.displayName;var kt=[{name:"",commentary:"",dueDate:"",rag:"On-Track"}],Te=["On-Track","Off-Track","At Risk","Complete"],Ae=[{name:"Project Summary",icon:S.FileText},{name:"Milestones",icon:S.ListChecks},{name:"Project Update",icon:S.Users},{name:"Project Concerns",icon:S.AlertTriangle},{name:"Opportunities",icon:S.Briefcase},{name:"Risks",icon:S.ShieldAlert}];function zt({onSubmit:e,customerProjectPairs:t}){let[r,n]=(0,L.useState)(Ae[0].name),[s,a]=(0,L.useState)(null),[c,l]=(0,L.useState)(null),[f,x]=(0,L.useState)(""),[v,R]=(0,L.useState)(""),[k,N]=(0,L.useState)(kt),[M,h]=(0,L.useState)(""),[b,y]=(0,L.useState)(""),[z,D]=(0,L.useState)(""),[j,O]=(0,L.useState)(""),Q=Array.from(new Map((t??[]).map(o=>[o.customer.id,o.customer])).values()),Y=(t??[]).filter(o=>o.customer.id===s).map(o=>o.project),U=(o,w,u)=>{N(A=>{let G=[...A];return w==="rag"&&!Te.includes(u)?A:(G[o]={...G[o],[w]:u},G)})},$=()=>{N(o=>[...o,{name:"",commentary:"",dueDate:"",rag:"On-Track"}])},q=o=>{N(w=>w.filter((u,A)=>A!==o))},H=async o=>{o.preventDefault();let w={customer:s,project:c,projectSummary:v,milestones:k.length>0?k:null,projectUpdate:M,projectConcerns:b||null,commercialOpportunities:z||null,commercialRisks:j||null};if(e)return e(w);try{let u=await fetch("/api/delivery-lead-submission",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(w)});if(!u.ok)throw new Error("Failed to submit delivery lead");let A=await u.json();return{success:!0,message:"Delivery lead submitted successfully"}}catch(u){return console.error("Error submitting delivery lead:",u),{success:!1,message:"Failed to submit delivery lead"}}};return(0,Re.jsx)("div",{className:"container mx-auto p-4 max-w-3xl",children:(0,Re.jsxs)("div",{className:"rounded-xl shadow-lg bg-white dark:bg-zinc-900/80 border border-zinc-200 dark:border-zinc-800 p-6",children:[(0,Re.jsx)("div",{className:"mb-6 flex border-b border-zinc-200 dark:border-zinc-700 flex-wrap justify-evenly",children:Ae.map(o=>(0,Re.jsxs)("button",{className:`flex items-center gap-2 py-2 px-4 font-semibold border-b-2 transition-colors focus:outline-none focus-visible:ring-2 focus-visible:ring-accent/60
5
- ${r===o.name?"border-accent text-accent bg-accent/10 dark:bg-accent/20":"border-transparent text-gray-500 dark:text-zinc-400 hover:text-accent hover:bg-accent/5 dark:hover:bg-accent/10"}
6
- text-sm sm:text-base flex-1 basis-1/4 min-w-[180px] max-w-xs justify-center`,onClick:()=>n(o.name),type:"button",children:[(0,Re.jsx)(o.icon,{className:"w-5 h-5"}),(0,Re.jsx)("span",{children:o.name})]},o.name))}),(0,Re.jsxs)("form",{onSubmit:H,className:"space-y-8",children:[r==="Project Summary"&&(0,Re.jsxs)("div",{className:"space-y-6",children:[(0,Re.jsxs)("div",{children:[(0,Re.jsx)(C,{children:"Client Name"}),(0,Re.jsxs)(de,{value:s?.toString()??"",onValueChange:o=>a(Number(o)),children:[(0,Re.jsx)(re,{children:(0,Re.jsx)(pe,{placeholder:"Select client"})}),(0,Re.jsx)(oe,{children:Q.map(o=>(0,Re.jsx)(ne,{value:o.id.toString(),children:o.name},o.id))})]})]}),(0,Re.jsxs)("div",{children:[(0,Re.jsx)(C,{children:"Project Name"}),(0,Re.jsxs)(de,{value:c?.toString()??"",onValueChange:o=>l(Number(o)),disabled:!s,children:[(0,Re.jsx)(re,{children:(0,Re.jsx)(pe,{placeholder:s?"Select project":"Select client first"})}),(0,Re.jsx)(oe,{children:Y.map(o=>(0,Re.jsx)(ne,{value:o.id.toString(),children:o.name},o.id))})]})]}),(0,Re.jsxs)("div",{children:[(0,Re.jsx)(C,{children:"Project Summary"}),(0,Re.jsx)("textarea",{className:"w-full rounded-lg border border-zinc-300 dark:border-zinc-700 bg-zinc-50 dark:bg-zinc-800 text-zinc-900 dark:text-zinc-100 p-2 min-h-[140px] focus:ring-2 focus:ring-accent/40 focus:outline-none placeholder-zinc-400 dark:placeholder-zinc-500",value:v,onChange:o=>R(o.target.value),required:!0,placeholder:"Provide a summary of the project, objectives, and outcomes"})]})]}),r==="Milestones"&&(0,Re.jsxs)("div",{children:[(0,Re.jsxs)("div",{className:"mb-4 flex justify-between items-center",children:[(0,Re.jsxs)(C,{className:"text-lg flex items-center gap-2",children:[(0,Re.jsx)(S.ListChecks,{className:"w-5 h-5"}),"Milestones"]}),(0,Re.jsxs)(te,{type:"button",onClick:$,variant:"outline",className:"flex items-center gap-1",children:[(0,Re.jsx)(S.PlusCircle,{className:"w-5 h-5"})," Add Milestone"]})]}),(0,Re.jsx)("div",{className:"space-y-4",children:k.map((o,w)=>(0,Re.jsxs)("div",{className:"grid grid-cols-5 gap-2 items-end border border-zinc-200 dark:border-zinc-700 p-2 rounded-lg bg-zinc-50 dark:bg-zinc-800 relative group",children:[(0,Re.jsxs)("div",{className:"col-span-1",children:[(0,Re.jsx)(C,{children:"Milestone"}),(0,Re.jsx)("input",{className:"w-full rounded-lg border border-zinc-300 dark:border-zinc-700 bg-zinc-50 dark:bg-zinc-900 text-zinc-900 dark:text-zinc-100 p-1 focus:ring-2 focus:ring-accent/40 focus:outline-none placeholder-zinc-400 dark:placeholder-zinc-500",value:o.name,onChange:u=>U(w,"name",u.target.value),required:!0,placeholder:"Milestone name"})]}),(0,Re.jsxs)("div",{className:"col-span-2",children:[(0,Re.jsx)(C,{children:"Commentary"}),(0,Re.jsx)("input",{className:"w-full rounded-lg border border-zinc-300 dark:border-zinc-700 bg-zinc-50 dark:bg-zinc-900 text-zinc-900 dark:text-zinc-100 p-1 focus:ring-2 focus:ring-accent/40 focus:outline-none placeholder-zinc-400 dark:placeholder-zinc-500",value:o.commentary,onChange:u=>U(w,"commentary",u.target.value),placeholder:"Commentary"})]}),(0,Re.jsxs)("div",{className:"col-span-1",children:[(0,Re.jsx)(C,{children:"Due Date"}),(0,Re.jsx)("input",{type:"date",className:"w-full rounded-lg border border-zinc-300 dark:border-zinc-700 bg-zinc-50 dark:bg-zinc-900 text-zinc-900 dark:text-zinc-100 p-1 focus:ring-2 focus:ring-accent/40 focus:outline-none",value:o.dueDate,onChange:u=>U(w,"dueDate",u.target.value),placeholder:"Due date"})]}),(0,Re.jsxs)("div",{className:"col-span-1",children:[(0,Re.jsx)(C,{children:"RAG"}),(0,Re.jsx)("select",{className:"w-full rounded-lg border border-zinc-300 dark:border-zinc-700 bg-zinc-50 dark:bg-zinc-900 text-zinc-900 dark:text-zinc-100 p-1 focus:ring-2 focus:ring-accent/40 focus:outline-none",value:o.rag,onChange:u=>U(w,"rag",u.target.value),children:Te.map(u=>(0,Re.jsx)("option",{value:u,children:u},u))})]}),(0,Re.jsx)("button",{type:"button",className:"absolute -top-2 -right-2 bg-white dark:bg-zinc-900 rounded-full shadow p-1 border border-gray-200 dark:border-zinc-700 opacity-0 group-hover:opacity-100 transition-opacity hover:bg-red-50 dark:hover:bg-red-900",onClick:()=>q(w),"aria-label":"Remove Milestone",children:(0,Re.jsx)(S.Trash2,{className:"w-5 h-5 text-red-500"})})]},w))})]}),r==="Project Update"&&(0,Re.jsxs)("div",{children:[(0,Re.jsx)(C,{children:"Project Update & Immediate Focus"}),(0,Re.jsx)("textarea",{className:"w-full rounded-lg border border-zinc-300 dark:border-zinc-700 bg-zinc-50 dark:bg-zinc-800 text-zinc-900 dark:text-zinc-100 p-2 min-h-[140px] focus:ring-2 focus:ring-accent/40 focus:outline-none placeholder-zinc-400 dark:placeholder-zinc-500",value:M,onChange:o=>h(o.target.value),required:!0,placeholder:"[Provide a brief project update, including current progress and any immediate areas of focus or priority for the coming weeks]"})]}),r==="Project Concerns"&&(0,Re.jsxs)("div",{children:[(0,Re.jsx)(C,{children:"Project Concerns"}),(0,Re.jsx)("textarea",{className:"w-full rounded-lg border border-zinc-300 dark:border-zinc-700 bg-zinc-50 dark:bg-zinc-800 text-zinc-900 dark:text-zinc-100 p-2 min-h-[140px] focus:ring-2 focus:ring-accent/40 focus:outline-none placeholder-zinc-400 dark:placeholder-zinc-500",value:b,onChange:o=>y(o.target.value),placeholder:"\u200B\u200B[Please highlight any project concerns, that may require escalation or support from the Cortex Reply senior leadership team]"})]}),r==="Opportunities"&&(0,Re.jsxs)("div",{children:[(0,Re.jsx)(C,{children:"Commercial Opportunities"}),(0,Re.jsx)("textarea",{className:"w-full rounded-lg border border-zinc-300 dark:border-zinc-700 bg-zinc-50 dark:bg-zinc-800 text-zinc-900 dark:text-zinc-100 p-2 min-h-[140px] focus:ring-2 focus:ring-accent/40 focus:outline-none placeholder-zinc-400 dark:placeholder-zinc-500",value:z,onChange:o=>D(o.target.value),placeholder:"[List any potential commercial opportunities, active conversations, or discussion points where Cortex Reply could provide value or support. These may highlight areas for expansion or collaboration across our service offerings]"})]}),r==="Risks"&&(0,Re.jsxs)("div",{children:[(0,Re.jsx)(C,{children:"Commercial Risk/Issue Details"}),(0,Re.jsx)("textarea",{className:"w-full rounded-lg border border-zinc-300 dark:border-zinc-700 bg-zinc-50 dark:bg-zinc-800 text-zinc-900 dark:text-zinc-100 p-2 min-h-[140px] focus:ring-2 focus:ring-accent/40 focus:outline-none placeholder-zinc-400 dark:placeholder-zinc-500",value:j,onChange:o=>O(o.target.value),placeholder:"[Please highlight any risks that could impact our commercial engagement, such as reputational concerns, risks to fixed-outcome milestones, changes in key client stakeholders, or challenges with project resourcing]"})]}),(0,Re.jsx)("div",{className:"flex justify-end pt-4",children:(0,Re.jsx)(te,{type:"submit",className:"px-6",children:"Submit"})})]})]})})}0&&(module.exports={DeliveryLeadSubmissionComponent});
4
+ "use strict";"use client";var Ve=Object.create;var oe=Object.defineProperty;var Oe=Object.getOwnPropertyDescriptor;var Ue=Object.getOwnPropertyNames;var We=Object.getPrototypeOf,Fe=Object.prototype.hasOwnProperty;var _e=(e,r)=>{for(var t in r)oe(e,t,{get:r[t],enumerable:!0})},be=(e,r,t,o)=>{if(r&&typeof r=="object"||typeof r=="function")for(let a of Ue(r))!Fe.call(e,a)&&a!==t&&oe(e,a,{get:()=>r[a],enumerable:!(o=Oe(r,a))||o.enumerable});return e};var Q=(e,r,t)=>(t=e!=null?Ve(We(e)):{},be(r||!e||!e.__esModule?oe(t,"default",{value:e,enumerable:!0}):t,e)),$e=e=>be(oe({},"__esModule",{value:!0}),e);var Mt={};_e(Mt,{DeliveryLeadSubmissionComponent:()=>jt});module.exports=$e(Mt);var I=require("react");var Pe=require("clsx");var de="-",De=e=>{let r=He(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:c=>{let l=c.split(de);return l[0]===""&&l.length!==1&&l.shift(),ye(l,r)||qe(c)},getConflictingClassGroupIds:(c,l)=>{let b=t[c]||[];return l&&o[c]?[...b,...o[c]]:b}}},ye=(e,r)=>{if(e.length===0)return r.classGroupId;let t=e[0],o=r.nextPart.get(t),a=o?ye(e.slice(1),o):void 0;if(a)return a;if(r.validators.length===0)return;let s=e.join(de);return r.validators.find(({validator:c})=>c(s))?.classGroupId},ge=/^\[(.+)\]$/,qe=e=>{if(ge.test(e)){let r=ge.exec(e)[1],t=r?.substring(0,r.indexOf(":"));if(t)return"arbitrary.."+t}},He=e=>{let{theme:r,prefix:t}=e,o={nextPart:new Map,validators:[]};return Ke(Object.entries(e.classGroups),t).forEach(([s,c])=>{ce(c,o,s,r)}),o},ce=(e,r,t,o)=>{e.forEach(a=>{if(typeof a=="string"){let s=a===""?r:he(r,a);s.classGroupId=t;return}if(typeof a=="function"){if(Je(a)){ce(a(o),r,t,o);return}r.validators.push({validator:a,classGroupId:t});return}Object.entries(a).forEach(([s,c])=>{ce(c,he(r,s),t,o)})})},he=(e,r)=>{let t=e;return r.split(de).forEach(o=>{t.nextPart.has(o)||t.nextPart.set(o,{nextPart:new Map,validators:[]}),t=t.nextPart.get(o)}),t},Je=e=>e.isThemeGetter,Ke=(e,r)=>r?e.map(([t,o])=>{let a=o.map(s=>typeof s=="string"?r+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([c,l])=>[r+c,l])):s);return[t,a]}):e,Xe=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,t=new Map,o=new Map,a=(s,c)=>{t.set(s,c),r++,r>e&&(r=0,o=t,t=new Map)};return{get(s){let c=t.get(s);if(c!==void 0)return c;if((c=o.get(s))!==void 0)return a(s,c),c},set(s,c){t.has(s)?t.set(s,c):a(s,c)}}},ve="!",Ze=e=>{let{separator:r,experimentalParseClassName:t}=e,o=r.length===1,a=r[0],s=r.length,c=l=>{let b=[],v=0,w=0,C;for(let f=0;f<l.length;f++){let x=l[f];if(v===0){if(x===a&&(o||l.slice(f,f+s)===r)){b.push(l.slice(w,f)),w=f+s;continue}if(x==="/"){C=f;continue}}x==="["?v++:x==="]"&&v--}let z=b.length===0?l:l.substring(w),L=z.startsWith(ve),M=L?z.substring(1):z,y=C&&C>w?C-w:void 0;return{modifiers:b,hasImportantModifier:L,baseClassName:M,maybePostfixModifierPosition:y}};return t?l=>t({className:l,parseClassName:c}):c},Qe=e=>{if(e.length<=1)return e;let r=[],t=[];return e.forEach(o=>{o[0]==="["?(r.push(...t.sort(),o),t=[]):t.push(o)}),r.push(...t.sort()),r},Ye=e=>({cache:Xe(e.cacheSize),parseClassName:Ze(e),...De(e)}),et=/\s+/,tt=(e,r)=>{let{parseClassName:t,getClassGroupId:o,getConflictingClassGroupIds:a}=r,s=[],c=e.trim().split(et),l="";for(let b=c.length-1;b>=0;b-=1){let v=c[b],{modifiers:w,hasImportantModifier:C,baseClassName:z,maybePostfixModifierPosition:L}=t(v),M=!!L,y=o(M?z.substring(0,L):z);if(!y){if(!M){l=v+(l.length>0?" "+l:l);continue}if(y=o(z),!y){l=v+(l.length>0?" "+l:l);continue}M=!1}let f=Qe(w).join(":"),x=C?f+ve:f,R=x+y;if(s.includes(R))continue;s.push(R);let G=a(y,M);for(let T=0;T<G.length;++T){let V=G[T];s.push(x+V)}l=v+(l.length>0?" "+l:l)}return l};function rt(){let e=0,r,t,o="";for(;e<arguments.length;)(r=arguments[e++])&&(t=xe(r))&&(o&&(o+=" "),o+=t);return o}var xe=e=>{if(typeof e=="string")return e;let r,t="";for(let o=0;o<e.length;o++)e[o]&&(r=xe(e[o]))&&(t&&(t+=" "),t+=r);return t};function ot(e,...r){let t,o,a,s=c;function c(b){let v=r.reduce((w,C)=>C(w),e());return t=Ye(v),o=t.cache.get,a=t.cache.set,s=l,l(b)}function l(b){let v=o(b);if(v)return v;let w=tt(b,t);return a(b,w),w}return function(){return s(rt.apply(null,arguments))}}var m=e=>{let r=t=>t[e]||[];return r.isThemeGetter=!0,r},we=/^\[(?:([a-z-]+):)?(.+)\]$/i,nt=/^\d+\/\d+$/,st=new Set(["px","full","screen"]),it=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,at=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|Ne|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,lt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,ct=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,dt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,B=e=>K(e)||st.has(e)||nt.test(e),W=e=>X(e,"length",yt),K=e=>!!e&&!Number.isNaN(Number(e)),le=e=>X(e,"number",K),Y=e=>!!e&&Number.isInteger(Number(e)),ut=e=>e.endsWith("%")&&K(e.slice(0,-1)),d=e=>we.test(e),F=e=>it.test(e),pt=new Set(["length","size","percentage"]),mt=e=>X(e,pt,Se),ft=e=>X(e,"position",Se),bt=new Set(["image","url"]),gt=e=>X(e,bt,xt),ht=e=>X(e,"",vt),ee=()=>!0,X=(e,r,t)=>{let o=we.exec(e);return o?o[1]?typeof r=="string"?o[1]===r:r.has(o[1]):t(o[2]):!1},yt=e=>at.test(e)&&!lt.test(e),Se=()=>!1,vt=e=>ct.test(e),xt=e=>dt.test(e);var wt=()=>{let e=m("colors"),r=m("spacing"),t=m("blur"),o=m("brightness"),a=m("borderColor"),s=m("borderRadius"),c=m("borderSpacing"),l=m("borderWidth"),b=m("contrast"),v=m("grayscale"),w=m("hueRotate"),C=m("invert"),z=m("gap"),L=m("gradientColorStops"),M=m("gradientColorStopPositions"),y=m("inset"),f=m("margin"),x=m("opacity"),R=m("padding"),G=m("saturate"),T=m("scale"),V=m("sepia"),H=m("skew"),te=m("space"),O=m("translate"),D=()=>["auto","contain","none"],Z=()=>["auto","hidden","clip","visible","scroll"],U=()=>["auto",d,r],p=()=>[d,r],re=()=>["",B,W],J=()=>["auto",K,d],i=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],S=()=>["solid","dashed","dotted","double","none"],g=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],k=()=>["start","end","center","between","around","evenly","stretch"],A=()=>["","0",d],fe=()=>["auto","avoid","all","avoid-page","page","left","right","column"],E=()=>[K,d];return{cacheSize:500,separator:":",theme:{colors:[ee],spacing:[B,W],blur:["none","",F,d],brightness:E(),borderColor:[e],borderRadius:["none","","full",F,d],borderSpacing:p(),borderWidth:re(),contrast:E(),grayscale:A(),hueRotate:E(),invert:A(),gap:p(),gradientColorStops:[e],gradientColorStopPositions:[ut,W],inset:U(),margin:U(),opacity:E(),padding:p(),saturate:E(),scale:E(),sepia:A(),skew:E(),space:p(),translate:p()},classGroups:{aspect:[{aspect:["auto","square","video",d]}],container:["container"],columns:[{columns:[F]}],"break-after":[{"break-after":fe()}],"break-before":[{"break-before":fe()}],"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:[...i(),d]}],overflow:[{overflow:Z()}],"overflow-x":[{"overflow-x":Z()}],"overflow-y":[{"overflow-y":Z()}],overscroll:[{overscroll:D()}],"overscroll-x":[{"overscroll-x":D()}],"overscroll-y":[{"overscroll-y":D()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[y]}],"inset-x":[{"inset-x":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Y,d]}],basis:[{basis:U()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",d]}],grow:[{grow:A()}],shrink:[{shrink:A()}],order:[{order:["first","last","none",Y,d]}],"grid-cols":[{"grid-cols":[ee]}],"col-start-end":[{col:["auto",{span:["full",Y,d]},d]}],"col-start":[{"col-start":J()}],"col-end":[{"col-end":J()}],"grid-rows":[{"grid-rows":[ee]}],"row-start-end":[{row:["auto",{span:[Y,d]},d]}],"row-start":[{"row-start":J()}],"row-end":[{"row-end":J()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",d]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",d]}],gap:[{gap:[z]}],"gap-x":[{"gap-x":[z]}],"gap-y":[{"gap-y":[z]}],"justify-content":[{justify:["normal",...k()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...k(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...k(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[R]}],px:[{px:[R]}],py:[{py:[R]}],ps:[{ps:[R]}],pe:[{pe:[R]}],pt:[{pt:[R]}],pr:[{pr:[R]}],pb:[{pb:[R]}],pl:[{pl:[R]}],m:[{m:[f]}],mx:[{mx:[f]}],my:[{my:[f]}],ms:[{ms:[f]}],me:[{me:[f]}],mt:[{mt:[f]}],mr:[{mr:[f]}],mb:[{mb:[f]}],ml:[{ml:[f]}],"space-x":[{"space-x":[te]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[te]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",d,r]}],"min-w":[{"min-w":[d,r,"min","max","fit"]}],"max-w":[{"max-w":[d,r,"none","full","min","max","fit","prose",{screen:[F]},F]}],Ne:[{Ne:[d,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-Ne":[{"min-Ne":[d,r,"min","max","fit","svh","lvh","dvh"]}],"max-Ne":[{"max-Ne":[d,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[d,r,"auto","min","max","fit"]}],"font-size":[{text:["base",F,W]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",le]}],"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",d]}],"line-clamp":[{"line-clamp":["none",K,le]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",B,d]}],"list-image":[{"list-image":["none",d]}],"list-style-type":[{list:["none","disc","decimal",d]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[x]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[x]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...S(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",B,W]}],"underline-offset":[{"underline-offset":["auto",B,d]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:p()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",d]}],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",d]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[x]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...i(),ft]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",mt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},gt]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[M]}],"gradient-via-pos":[{via:[M]}],"gradient-to-pos":[{to:[M]}],"gradient-from":[{from:[L]}],"gradient-via":[{via:[L]}],"gradient-to":[{to:[L]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[x]}],"border-style":[{border:[...S(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[x]}],"divide-style":[{divide:S()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-s":[{"border-s":[a]}],"border-color-e":[{"border-e":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...S()]}],"outline-offset":[{"outline-offset":[B,d]}],"outline-w":[{outline:[B,W]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:re()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[x]}],"ring-offset-w":[{"ring-offset":[B,W]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",F,ht]}],"shadow-color":[{shadow:[ee]}],opacity:[{opacity:[x]}],"mix-blend":[{"mix-blend":[...g(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":g()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[o]}],contrast:[{contrast:[b]}],"drop-shadow":[{"drop-shadow":["","none",F,d]}],grayscale:[{grayscale:[v]}],"hue-rotate":[{"hue-rotate":[w]}],invert:[{invert:[C]}],saturate:[{saturate:[G]}],sepia:[{sepia:[V]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[b]}],"backdrop-grayscale":[{"backdrop-grayscale":[v]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[w]}],"backdrop-invert":[{"backdrop-invert":[C]}],"backdrop-opacity":[{"backdrop-opacity":[x]}],"backdrop-saturate":[{"backdrop-saturate":[G]}],"backdrop-sepia":[{"backdrop-sepia":[V]}],"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",d]}],duration:[{duration:E()}],ease:[{ease:["linear","in","out","in-out",d]}],delay:[{delay:E()}],animate:[{animate:["none","spin","ping","pulse","bounce",d]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[T]}],"scale-x":[{"scale-x":[T]}],"scale-y":[{"scale-y":[T]}],rotate:[{rotate:[Y,d]}],"translate-x":[{"translate-x":[O]}],"translate-y":[{"translate-y":[O]}],"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",d]}],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","Ne-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",d]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":p()}],"scroll-mx":[{"scroll-mx":p()}],"scroll-my":[{"scroll-my":p()}],"scroll-ms":[{"scroll-ms":p()}],"scroll-me":[{"scroll-me":p()}],"scroll-mt":[{"scroll-mt":p()}],"scroll-mr":[{"scroll-mr":p()}],"scroll-mb":[{"scroll-mb":p()}],"scroll-ml":[{"scroll-ml":p()}],"scroll-p":[{"scroll-p":p()}],"scroll-px":[{"scroll-px":p()}],"scroll-py":[{"scroll-py":p()}],"scroll-ps":[{"scroll-ps":p()}],"scroll-pe":[{"scroll-pe":p()}],"scroll-pt":[{"scroll-pt":p()}],"scroll-pr":[{"scroll-pr":p()}],"scroll-pb":[{"scroll-pb":p()}],"scroll-pl":[{"scroll-pl":p()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",d]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[B,W,le]}],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","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","Ne"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-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-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var ke=ot(wt);function N(...e){return ke((0,Pe.clsx)(e))}var ze=require("@radix-ui/react-slot"),Ce=require("class-variance-authority"),Re=Q(require("react")),Ne=require("react/jsx-runtime"),St=(0,Ce.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:"Ne-10 px-4 py-2",icon:"Ne-10 w-10",lg:"Ne-11 rounded px-8",sm:"Ne-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),ne=Re.forwardRef(({asChild:e=!1,className:r,size:t,variant:o,...a},s)=>(0,Ne.jsx)(e?ze.Slot:"button",{className:N(St({className:r,size:t,variant:o})),ref:s,...a}));ne.displayName="Button";var je=Q(require("react")),ue=Q(require("@radix-ui/react-label"));var kt=(0,Ce.cva)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),j=je.forwardRef(({className:e,...r},t)=>(0,Ne.jsx)(ue.Root,{ref:t,className:N(kt(),e),...r}));j.displayName=ue.Root.displayName;var P=require("lucide-react");var u=Q(require("@radix-ui/react-select")),_=Q(require("react")),pe=u.Root;var me=u.Value,se=_.forwardRef(({children:e,className:r,...t},o)=>(0,Ne.jsxs)(u.Trigger,{className:N("flex Ne-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",r),ref:o,...t,children:[e,(0,Ne.jsx)(u.Icon,{asChild:!0,children:(0,Ne.jsx)(P.ChevronDown,{className:"Ne-4 w-4 opacity-50"})})]}));se.displayName=u.Trigger.displayName;var Ie=_.forwardRef(({className:e,...r},t)=>(0,Ne.jsx)(u.ScrollUpButton,{className:N("flex cursor-default items-center justify-center py-1",e),ref:t,...r,children:(0,Ne.jsx)(P.ChevronUp,{className:"Ne-4 w-4"})}));Ie.displayName=u.ScrollUpButton.displayName;var Te=_.forwardRef(({className:e,...r},t)=>(0,Ne.jsx)(u.ScrollDownButton,{className:N("flex cursor-default items-center justify-center py-1",e),ref:t,...r,children:(0,Ne.jsx)(P.ChevronDown,{className:"Ne-4 w-4"})}));Te.displayName=u.ScrollDownButton.displayName;var ie=_.forwardRef(({children:e,className:r,position:t="popper",...o},a)=>(0,Ne.jsx)(u.Portal,{children:(0,Ne.jsxs)(u.Content,{className:N("relative z-50 max-Ne-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",t==="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",r),position:t,ref:a,...o,children:[(0,Ne.jsx)(Ie,{}),(0,Ne.jsx)(u.Viewport,{className:N("p-1",t==="popper"&&"Ne-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:e}),(0,Ne.jsx)(Te,{})]})}));ie.displayName=u.Content.displayName;var Pt=_.forwardRef(({className:e,...r},t)=>(0,Ne.jsx)(u.Label,{className:N("py-1.5 pl-8 pr-2 text-sm font-semibold",e),ref:t,...r}));Pt.displayName=u.Label.displayName;var ae=_.forwardRef(({children:e,className:r,...t},o)=>(0,Ne.jsxs)(u.Item,{className:N("relative flex w-full cursor-default select-none items-center rounded py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",r),ref:o,...t,children:[(0,Ne.jsx)("span",{className:"absolute left-2 flex Ne-3.5 w-3.5 items-center justify-center",children:(0,Ne.jsx)(u.ItemIndicator,{children:(0,Ne.jsx)(P.Check,{className:"Ne-4 w-4"})})}),(0,Ne.jsx)(u.ItemText,{children:e})]}));ae.displayName=u.Item.displayName;var zt=_.forwardRef(({className:e,...r},t)=>(0,Ne.jsx)(u.Separator,{className:N("-mx-1 my-1 Ne-px bg-muted",e),ref:t,...r}));zt.displayName=u.Separator.displayName;var Ge=()=>({name:"",commentary:"",dueDate:"",rag:"On-Track",id:null}),Ae=["On-Track","Off-Track","At Risk","Complete"],Ct=e=>{if(!e)return"";let r=new Date(e);if(!Number.isNaN(r.getTime()))return r.toISOString().slice(0,10);let[t]=e.split("T");return t??""},$=e=>{if(typeof e=="number")return e;if(e&&typeof e=="object"){let r=e.id;if(typeof r=="number")return r;if(typeof r=="string"){let t=Number(r);return Number.isNaN(t)?null:t}}return null},Rt=e=>{let r=$(e);if(r===null)return null;if(e&&typeof e=="object"){let t=e.name??`Customer ${r}`;return{id:r,name:t}}return{id:r,name:`Customer ${r}`}},Nt=(e,r)=>{let t=$(e);if(t===null)return null;if(e&&typeof e=="object"){let o=e.name??e.projectName??`Project ${t}`,a=$(e.customer)??r;return{id:t,name:o,customerId:a}}return{id:t,name:`Project ${t}`,customerId:r}},Ee=e=>!e||e.length===0?[Ge()]:e.filter(Boolean).map(r=>({name:r?.name??"",commentary:r?.commentary??"",dueDate:Ct(r?.dueDate??""),rag:r?.rag??"On-Track",id:r?.id??null})),Be=[{name:"Project Summary",icon:P.FileText},{name:"Milestones",icon:P.ListChecks},{name:"Project Update",icon:P.Users},{name:"Project Concerns",icon:P.AlertTriangle},{name:"Opportunities",icon:P.Briefcase},{name:"Risks",icon:P.ShieldAlert}];function jt({onSubmit:e,customerProjectPairs:r,initialData:t}){let[o,a]=(0,I.useState)(Be[0].name),[s,c]=(0,I.useState)(()=>$(t?.customer)),[l,b]=(0,I.useState)(()=>$(t?.project)),[v,w]=(0,I.useState)(t?.projectSummary??""),[C,z]=(0,I.useState)(()=>Ee(t?.milestones)),[L,M]=(0,I.useState)(t?.projectUpdate??""),[y,f]=(0,I.useState)(t?.projectConcerns??""),[x,R]=(0,I.useState)(t?.commercialOpportunities??""),[G,T]=(0,I.useState)(t?.commercialRisks??"");(0,I.useEffect)(()=>{c($(t?.customer)),b($(t?.project)),w(t?.projectSummary??""),M(t?.projectUpdate??""),f(t?.projectConcerns??""),R(t?.commercialOpportunities??""),T(t?.commercialRisks??""),z(Ee(t?.milestones))},[t]);let V=Rt(t?.customer),H=Array.from(new Map((r??[]).map(i=>[i.customer.id,i.customer])).values()),te=V&&!H.some(i=>i.id===V.id)?[...H,V]:H,O=Nt(t?.project,$(t?.customer)),D=(r??[]).filter(i=>i.customer.id===s).map(i=>i.project),Z=s&&O&&O.customerId===s&&!D.some(i=>i.id===O.id)?[...D,{id:O.id,name:O.name}]:D,U=(i,S,g)=>{z(k=>{let A=[...k];return S==="rag"&&!Ae.includes(g)?k:(A[i]={...A[i],[S]:g},A)})},p=()=>{z(i=>[...i,Ge()])},re=i=>{z(S=>S.filter((g,k)=>k!==i))},J=async i=>{i.preventDefault();let S=C.length>0?C.map(k=>({...k,commentary:k.commentary||null,dueDate:k.dueDate||null})):null,g={customer:s,project:l,projectSummary:v,milestones:S,projectUpdate:L,projectConcerns:y||null,commercialOpportunities:x||null,commercialRisks:G||null};if(e)return e(g);try{let k=await fetch("/api/delivery-lead-submission",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(g)});if(!k.ok)throw new Error("Failed to submit delivery lead");let A=await k.json();return{success:!0,message:"Delivery lead submitted successfully"}}catch(k){return console.error("Error submitting delivery lead:",k),{success:!1,message:"Failed to submit delivery lead"}}};return(0,Ne.jsx)("div",{className:"container mx-auto p-4 max-w-3xl",children:(0,Ne.jsxs)("div",{className:"rounded-xl shadow-lg bg-white dark:bg-zinc-900/80 border border-zinc-200 dark:border-zinc-800 p-6",children:[(0,Ne.jsx)("div",{className:"mb-6 flex border-b border-zinc-200 dark:border-zinc-700 flex-wrap justify-evenly",children:Be.map(i=>(0,Ne.jsxs)("button",{className:`flex items-center gap-2 py-2 px-4 font-semibold border-b-2 transition-colors focus:outline-none focus-visible:ring-2 focus-visible:ring-accent/60
5
+ ${o===i.name?"border-accent text-accent bg-accent/10 dark:bg-accent/20":"border-transparent text-gray-500 dark:text-zinc-400 hover:text-accent hover:bg-accent/5 dark:hover:bg-accent/10"}
6
+ text-sm sm:text-base flex-1 basis-1/4 min-w-[180px] max-w-xs justify-center`,onClick:()=>a(i.name),type:"button",children:[(0,Ne.jsx)(i.icon,{className:"w-5 Ne-5"}),(0,Ne.jsx)("span",{children:i.name})]},i.name))}),(0,Ne.jsxs)("form",{onSubmit:J,className:"space-y-8",children:[o==="Project Summary"&&(0,Ne.jsxs)("div",{className:"space-y-6",children:[(0,Ne.jsxs)("div",{children:[(0,Ne.jsx)(j,{children:"Client Name"}),(0,Ne.jsxs)(pe,{value:s?.toString()??"",onValueChange:i=>c(Number(i)),children:[(0,Ne.jsx)(se,{children:(0,Ne.jsx)(me,{placeholder:"Select client"})}),(0,Ne.jsx)(ie,{children:te.map(i=>(0,Ne.jsx)(ae,{value:i.id.toString(),children:i.name},i.id))})]})]}),(0,Ne.jsxs)("div",{children:[(0,Ne.jsx)(j,{children:"Project Name"}),(0,Ne.jsxs)(pe,{value:l?.toString()??"",onValueChange:i=>b(Number(i)),disabled:!s,children:[(0,Ne.jsx)(se,{children:(0,Ne.jsx)(me,{placeholder:s?"Select project":"Select client first"})}),(0,Ne.jsx)(ie,{children:Z.map(i=>(0,Ne.jsx)(ae,{value:i.id.toString(),children:i.name},i.id))})]})]}),(0,Ne.jsxs)("div",{children:[(0,Ne.jsx)(j,{children:"Project Summary"}),(0,Ne.jsx)("textarea",{className:"w-full rounded-lg border border-zinc-300 dark:border-zinc-700 bg-zinc-50 dark:bg-zinc-800 text-zinc-900 dark:text-zinc-100 p-2 min-Ne-[140px] focus:ring-2 focus:ring-accent/40 focus:outline-none placeholder-zinc-400 dark:placeholder-zinc-500",value:v,onChange:i=>w(i.target.value),required:!0,placeholder:"Provide a summary of the project, objectives, and outcomes"})]})]}),o==="Milestones"&&(0,Ne.jsxs)("div",{children:[(0,Ne.jsxs)("div",{className:"mb-4 flex justify-between items-center",children:[(0,Ne.jsxs)(j,{className:"text-lg flex items-center gap-2",children:[(0,Ne.jsx)(P.ListChecks,{className:"w-5 Ne-5"}),"Milestones"]}),(0,Ne.jsxs)(ne,{type:"button",onClick:p,variant:"outline",className:"flex items-center gap-1",children:[(0,Ne.jsx)(P.PlusCircle,{className:"w-5 Ne-5"})," Add Milestone"]})]}),(0,Ne.jsx)("div",{className:"space-y-4",children:C.map((i,S)=>(0,Ne.jsxs)("div",{className:"grid grid-cols-5 gap-2 items-end border border-zinc-200 dark:border-zinc-700 p-2 rounded-lg bg-zinc-50 dark:bg-zinc-800 relative group",children:[(0,Ne.jsxs)("div",{className:"col-span-1",children:[(0,Ne.jsx)(j,{children:"Milestone"}),(0,Ne.jsx)("input",{className:"w-full rounded-lg border border-zinc-300 dark:border-zinc-700 bg-zinc-50 dark:bg-zinc-900 text-zinc-900 dark:text-zinc-100 p-1 focus:ring-2 focus:ring-accent/40 focus:outline-none placeholder-zinc-400 dark:placeholder-zinc-500",value:i.name,onChange:g=>U(S,"name",g.target.value),required:!0,placeholder:"Milestone name"})]}),(0,Ne.jsxs)("div",{className:"col-span-2",children:[(0,Ne.jsx)(j,{children:"Commentary"}),(0,Ne.jsx)("input",{className:"w-full rounded-lg border border-zinc-300 dark:border-zinc-700 bg-zinc-50 dark:bg-zinc-900 text-zinc-900 dark:text-zinc-100 p-1 focus:ring-2 focus:ring-accent/40 focus:outline-none placeholder-zinc-400 dark:placeholder-zinc-500",value:i.commentary??"",onChange:g=>U(S,"commentary",g.target.value),placeholder:"Commentary"})]}),(0,Ne.jsxs)("div",{className:"col-span-1",children:[(0,Ne.jsx)(j,{children:"Due Date"}),(0,Ne.jsx)("input",{type:"date",className:"w-full rounded-lg border border-zinc-300 dark:border-zinc-700 bg-zinc-50 dark:bg-zinc-900 text-zinc-900 dark:text-zinc-100 p-1 focus:ring-2 focus:ring-accent/40 focus:outline-none",value:i.dueDate??"",onChange:g=>U(S,"dueDate",g.target.value),placeholder:"Due date"})]}),(0,Ne.jsxs)("div",{className:"col-span-1",children:[(0,Ne.jsx)(j,{children:"RAG"}),(0,Ne.jsx)("select",{className:"w-full rounded-lg border border-zinc-300 dark:border-zinc-700 bg-zinc-50 dark:bg-zinc-900 text-zinc-900 dark:text-zinc-100 p-1 focus:ring-2 focus:ring-accent/40 focus:outline-none",value:i.rag,onChange:g=>U(S,"rag",g.target.value),children:Ae.map(g=>(0,Ne.jsx)("option",{value:g,children:g},g))})]}),(0,Ne.jsx)("button",{type:"button",className:"absolute -top-2 -right-2 bg-white dark:bg-zinc-900 rounded-full shadow p-1 border border-gray-200 dark:border-zinc-700 opacity-0 group-hover:opacity-100 transition-opacity hover:bg-red-50 dark:hover:bg-red-900",onClick:()=>re(S),"aria-label":"Remove Milestone",children:(0,Ne.jsx)(P.Trash2,{className:"w-5 Ne-5 text-red-500"})})]},S))})]}),o==="Project Update"&&(0,Ne.jsxs)("div",{children:[(0,Ne.jsx)(j,{children:"Project Update & Immediate Focus"}),(0,Ne.jsx)("textarea",{className:"w-full rounded-lg border border-zinc-300 dark:border-zinc-700 bg-zinc-50 dark:bg-zinc-800 text-zinc-900 dark:text-zinc-100 p-2 min-Ne-[140px] focus:ring-2 focus:ring-accent/40 focus:outline-none placeholder-zinc-400 dark:placeholder-zinc-500",value:L,onChange:i=>M(i.target.value),required:!0,placeholder:"[Provide a brief project update, including current progress and any immediate areas of focus or priority for the coming weeks]"})]}),o==="Project Concerns"&&(0,Ne.jsxs)("div",{children:[(0,Ne.jsx)(j,{children:"Project Concerns"}),(0,Ne.jsx)("textarea",{className:"w-full rounded-lg border border-zinc-300 dark:border-zinc-700 bg-zinc-50 dark:bg-zinc-800 text-zinc-900 dark:text-zinc-100 p-2 min-Ne-[140px] focus:ring-2 focus:ring-accent/40 focus:outline-none placeholder-zinc-400 dark:placeholder-zinc-500",value:y,onChange:i=>f(i.target.value),placeholder:"\u200B\u200B[Please highlight any project concerns, that may require escalation or support from the Cortex Reply senior leadership team]"})]}),o==="Opportunities"&&(0,Ne.jsxs)("div",{children:[(0,Ne.jsx)(j,{children:"Commercial Opportunities"}),(0,Ne.jsx)("textarea",{className:"w-full rounded-lg border border-zinc-300 dark:border-zinc-700 bg-zinc-50 dark:bg-zinc-800 text-zinc-900 dark:text-zinc-100 p-2 min-Ne-[140px] focus:ring-2 focus:ring-accent/40 focus:outline-none placeholder-zinc-400 dark:placeholder-zinc-500",value:x,onChange:i=>R(i.target.value),placeholder:"[List any potential commercial opportunities, active conversations, or discussion points where Cortex Reply could provide value or support. These may highlight areas for expansion or collaboration across our service offerings]"})]}),o==="Risks"&&(0,Ne.jsxs)("div",{children:[(0,Ne.jsx)(j,{children:"Commercial Risk/Issue Details"}),(0,Ne.jsx)("textarea",{className:"w-full rounded-lg border border-zinc-300 dark:border-zinc-700 bg-zinc-50 dark:bg-zinc-800 text-zinc-900 dark:text-zinc-100 p-2 min-Ne-[140px] focus:ring-2 focus:ring-accent/40 focus:outline-none placeholder-zinc-400 dark:placeholder-zinc-500",value:G,onChange:i=>T(i.target.value),placeholder:"[Please highlight any risks that could impact our commercial engagement, such as reputational concerns, risks to fixed-outcome milestones, changes in key client stakeholders, or challenges with project resourcing]"})]}),(0,Ne.jsx)("div",{className:"flex justify-end pt-4",children:(0,Ne.jsx)(ne,{type:"submit",className:"px-6",children:"Submit"})})]})]})})}0&&(module.exports={DeliveryLeadSubmissionComponent});
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- "use strict";import{a}from"../../chunk-UWEU6TLS.mjs";import"../../chunk-YFAZQYK4.mjs";import"../../chunk-TVZOULLL.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-QTW33JYG.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-YEKQJ4YC.mjs";export{a as DeliveryLeadSubmissionComponent};
2
+ "use strict";import{a}from"../../chunk-KXBUCX6R.mjs";import"../../chunk-YFAZQYK4.mjs";import"../../chunk-TVZOULLL.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-QTW33JYG.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-YEKQJ4YC.mjs";export{a as DeliveryLeadSubmissionComponent};