cortex-react-components 1.53.18 → 1.53.20

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 (187) hide show
  1. package/dist/{chunk-TZE7RZAV.mjs → chunk-3BBZH3T3.mjs} +1 -1
  2. package/dist/{chunk-XMTEY7XQ.mjs → chunk-3RQU3OFX.mjs} +1 -1
  3. package/dist/{chunk-GFX7ISZC.mjs → chunk-3X65XSM6.mjs} +1 -1
  4. package/dist/{chunk-FK6Y5G5N.mjs → chunk-43E5KRTM.mjs} +1 -1
  5. package/dist/{chunk-65KP55SA.mjs → chunk-4PA2KTEP.mjs} +1 -1
  6. package/dist/{chunk-IQ7LAP7P.mjs → chunk-4TCLIMFP.mjs} +1 -1
  7. package/dist/{chunk-4YJ3HV64.mjs → chunk-6DHYRATS.mjs} +1 -1
  8. package/dist/{chunk-TTY5DT75.mjs → chunk-6LXFNKTC.mjs} +1 -1
  9. package/dist/{chunk-BRFSZTQJ.mjs → chunk-6YWAX7NS.mjs} +1 -1
  10. package/dist/{chunk-OGKJF5LR.mjs → chunk-7XB4Y3U2.mjs} +1 -1
  11. package/dist/{chunk-QSIJJSKA.mjs → chunk-AVVSNO6B.mjs} +1 -1
  12. package/dist/{chunk-D7A7EUEW.mjs → chunk-DFB6DJCW.mjs} +1 -1
  13. package/dist/{chunk-BRYLOPR4.mjs → chunk-DY763VJN.mjs} +1 -1
  14. package/dist/{chunk-GZLUDIN3.mjs → chunk-E6MYDQ3V.mjs} +1 -1
  15. package/dist/chunk-EIYQI6CM.mjs +5 -0
  16. package/dist/{chunk-RQ23CZK5.mjs → chunk-F55C2C5H.mjs} +1 -1
  17. package/dist/chunk-G4YQKCAV.mjs +2 -0
  18. package/dist/{chunk-NFLAGBIE.mjs → chunk-GCW3ERSQ.mjs} +1 -1
  19. package/dist/{chunk-ZIWHUQ4D.mjs → chunk-HER7J6HM.mjs} +1 -1
  20. package/dist/{chunk-XRSFJHOZ.mjs → chunk-HNGHGHZB.mjs} +1 -1
  21. package/dist/{chunk-FCCL6W7R.mjs → chunk-JPFBD2KD.mjs} +1 -1
  22. package/dist/{chunk-WV4NLWRU.mjs → chunk-K3MEPS57.mjs} +1 -1
  23. package/dist/{chunk-LLJZRF3C.mjs → chunk-KLCZHZKQ.mjs} +1 -1
  24. package/dist/{chunk-OLKBLOEH.mjs → chunk-KYKTABRE.mjs} +1 -1
  25. package/dist/chunk-L4FTRAKV.mjs +4 -0
  26. package/dist/chunk-L7NIMGWX.mjs +4 -0
  27. package/dist/{chunk-VCC562W2.mjs → chunk-LQ5FKIXP.mjs} +1 -1
  28. package/dist/chunk-NT2VI6N5.mjs +1 -0
  29. package/dist/{chunk-LCJZMDQF.mjs → chunk-NVFIPZCF.mjs} +1 -1
  30. package/dist/{chunk-4MQV5KBS.mjs → chunk-OJPHYSRN.mjs} +1 -1
  31. package/dist/chunk-PIM2JQYT.mjs +1 -0
  32. package/dist/{chunk-HDVYZQKY.mjs → chunk-QJBYKPHK.mjs} +1 -1
  33. package/dist/{chunk-2A6JF3LE.mjs → chunk-RJGKFNZL.mjs} +1 -1
  34. package/dist/{chunk-F7BI5FYX.mjs → chunk-RXCQ4PAT.mjs} +1 -1
  35. package/dist/{chunk-XDFXEM2U.mjs → chunk-TFS3B5C6.mjs} +1 -1
  36. package/dist/{chunk-ZODTQZTN.mjs → chunk-VQTWZRLF.mjs} +1 -1
  37. package/dist/chunk-WW2H6RR6.mjs +1 -0
  38. package/dist/{chunk-DHLQCOMJ.mjs → chunk-XVX24CGK.mjs} +1 -1
  39. package/dist/{chunk-MGS3DQ22.mjs → chunk-XXTN5HMN.mjs} +1 -1
  40. package/dist/{chunk-2QVJBFPH.mjs → chunk-Z5YKLEUF.mjs} +1 -1
  41. package/dist/{chunk-TATBOD3E.mjs → chunk-ZWXEDDFT.mjs} +1 -1
  42. package/dist/components/Blocks/Banner.mjs +1 -1
  43. package/dist/components/Blocks/CallToAction.mjs +1 -1
  44. package/dist/components/Blocks/CallToAction.stories.mjs +1 -1
  45. package/dist/components/Blocks/Content.mjs +1 -1
  46. package/dist/components/Blocks/Content.stories.mjs +1 -1
  47. package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
  48. package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
  49. package/dist/components/Blocks/ImageBlock.mjs +1 -1
  50. package/dist/components/Blocks/MediaBlock.mjs +1 -1
  51. package/dist/components/Blocks/RelatedPosts.mjs +1 -1
  52. package/dist/components/Blocks/RenderBlocks.mjs +1 -1
  53. package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
  54. package/dist/components/Blocks/index.mjs +1 -1
  55. package/dist/components/CRM/DealDetails.js +1 -1
  56. package/dist/components/CRM/DealDetails.mjs +1 -1
  57. package/dist/components/CRM/DealDetails.stories.js +1 -1
  58. package/dist/components/CRM/DealDetails.stories.mjs +1 -1
  59. package/dist/components/CRM/KanbanBoard.js +1 -1
  60. package/dist/components/CRM/KanbanBoard.mjs +1 -1
  61. package/dist/components/CRM/KanbanBoard.stories.js +1 -1
  62. package/dist/components/CRM/KanbanBoard.stories.mjs +1 -1
  63. package/dist/components/CRM/KanbanColumn.js +1 -1
  64. package/dist/components/CRM/KanbanColumn.mjs +1 -1
  65. package/dist/components/CRM/KanbanColumn.stories.js +1 -1
  66. package/dist/components/CRM/KanbanColumn.stories.mjs +1 -1
  67. package/dist/components/CRM/NewDealForm.js +1 -1
  68. package/dist/components/CRM/NewDealForm.mjs +1 -1
  69. package/dist/components/CRM/NewDealForm.stories.js +1 -1
  70. package/dist/components/CRM/NewDealForm.stories.mjs +1 -1
  71. package/dist/components/CRM/index.js +1 -1
  72. package/dist/components/CRM/index.mjs +1 -1
  73. package/dist/components/Cards/ContentCard.mjs +1 -1
  74. package/dist/components/Cards/ContentCard.stories.mjs +1 -1
  75. package/dist/components/Cards/FeatureCard.d.ts +1 -0
  76. package/dist/components/Cards/FeatureCard.js +1 -1
  77. package/dist/components/Cards/FeatureCard.mjs +1 -1
  78. package/dist/components/Cards/FeatureCard.stories.js +1 -1
  79. package/dist/components/Cards/FeatureCard.stories.mjs +1 -1
  80. package/dist/components/Cards/index.js +1 -1
  81. package/dist/components/Cards/index.mjs +1 -1
  82. package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
  83. package/dist/components/DigitalColleagues/MainPage.stories.mjs +1 -1
  84. package/dist/components/HeaderFooter/Footer.mjs +1 -1
  85. package/dist/components/HeaderFooter/Footer.stories.mjs +1 -1
  86. package/dist/components/HeaderFooter/Header.mjs +1 -1
  87. package/dist/components/HeaderFooter/Header.stories.mjs +1 -1
  88. package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
  89. package/dist/components/HeaderFooter/index.mjs +1 -1
  90. package/dist/components/Heros/HighImpact/index.mjs +1 -1
  91. package/dist/components/Heros/LowImpact/index.mjs +1 -1
  92. package/dist/components/Heros/MediumImpact/index.mjs +1 -1
  93. package/dist/components/Heros/RenderHero.mjs +1 -1
  94. package/dist/components/Heros/SectionHero/index.mjs +1 -1
  95. package/dist/components/Heros/index.mjs +1 -1
  96. package/dist/components/Holidays/HolidayTracker.mjs +1 -1
  97. package/dist/components/Holidays/HolidayTracker.stories.mjs +1 -1
  98. package/dist/components/Holidays/index.mjs +1 -1
  99. package/dist/components/Layouts/FeatureGrid.stories.js +1 -1
  100. package/dist/components/Layouts/FeatureGrid.stories.mjs +1 -1
  101. package/dist/components/Layouts/OutputHeaderFooter.js +1 -1
  102. package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
  103. package/dist/components/Layouts/Print.js +1 -1
  104. package/dist/components/Layouts/Print.mjs +1 -1
  105. package/dist/components/Layouts/Print.stories.js +1 -1
  106. package/dist/components/Layouts/Print.stories.mjs +1 -1
  107. package/dist/components/Layouts/SlideShow.js +1 -1
  108. package/dist/components/Layouts/SlideShow.mjs +1 -1
  109. package/dist/components/Layouts/SlideShow.stories.js +1 -1
  110. package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
  111. package/dist/components/Layouts/index.js +4 -4
  112. package/dist/components/Layouts/index.mjs +1 -1
  113. package/dist/components/Payload/Card/index.mjs +1 -1
  114. package/dist/components/Payload/CollectionArchive/index.mjs +1 -1
  115. package/dist/components/Payload/Media/index.mjs +1 -1
  116. package/dist/components/Payload/RichText/index.mjs +1 -1
  117. package/dist/components/Payload/RichText/serialize.mjs +1 -1
  118. package/dist/components/Payload/RichText.stories.mjs +1 -1
  119. package/dist/components/Payload/index.mjs +1 -1
  120. package/dist/components/index.js +5 -5
  121. package/dist/components/index.mjs +1 -1
  122. package/dist/globals.css +1 -1
  123. package/dist/index.js +7 -7
  124. package/dist/index.mjs +1 -1
  125. package/dist/metafile-cjs.json +1 -1
  126. package/dist/metafile-esm.json +1 -1
  127. package/dist/pages/Blog.mjs +1 -1
  128. package/dist/pages/Blog.stories.mjs +1 -1
  129. package/dist/pages/Documentation.mjs +1 -1
  130. package/dist/pages/Documentation.stories.mjs +1 -1
  131. package/dist/pages/IndexPage.mjs +1 -1
  132. package/dist/pages/IndexPage.stories.mjs +1 -1
  133. package/dist/pages/Intranet.mjs +1 -1
  134. package/dist/pages/Intranet.stories.mjs +1 -1
  135. package/dist/pages/LandingPage.js +1 -1
  136. package/dist/pages/LandingPage.mjs +1 -1
  137. package/dist/pages/LandingPage.stories.js +1 -1
  138. package/dist/pages/LandingPage.stories.mjs +1 -1
  139. package/dist/pages/Page.mjs +1 -1
  140. package/dist/pages/Page.stories.mjs +1 -1
  141. package/dist/pages/Printable.stories.js +4 -4
  142. package/dist/pages/Printable.stories.mjs +1 -1
  143. package/dist/pages/Publish.js +4 -4
  144. package/dist/pages/Publish.mjs +1 -1
  145. package/dist/pages/Publish.stories.js +4 -4
  146. package/dist/pages/Publish.stories.mjs +1 -1
  147. package/dist/pages/Website.js +1 -1
  148. package/dist/pages/Website.mjs +1 -1
  149. package/dist/pages/Website.stories.js +1 -1
  150. package/dist/pages/Website.stories.mjs +1 -1
  151. package/dist/sections/AboutSection.mjs +1 -1
  152. package/dist/sections/AboutSection.stories.mjs +1 -1
  153. package/dist/sections/BlogDetail.mjs +1 -1
  154. package/dist/sections/BlogDetail.stories.mjs +1 -1
  155. package/dist/sections/BlogList.js +1 -1
  156. package/dist/sections/BlogList.mjs +1 -1
  157. package/dist/sections/BlogList.stories.js +1 -1
  158. package/dist/sections/BlogList.stories.mjs +1 -1
  159. package/dist/sections/BlogListSection.mjs +1 -1
  160. package/dist/sections/BlogListSection.stories.mjs +1 -1
  161. package/dist/sections/ContactSection.mjs +1 -1
  162. package/dist/sections/ContactSection.stories.mjs +1 -1
  163. package/dist/sections/ImageSection.stories.mjs +1 -1
  164. package/dist/sections/MainPageSection.js +1 -1
  165. package/dist/sections/MainPageSection.mjs +1 -1
  166. package/dist/sections/PageSections.js +1 -1
  167. package/dist/sections/PageSections.mjs +1 -1
  168. package/dist/sections/PageSections.stories.js +3 -3
  169. package/dist/sections/PageSections.stories.mjs +1 -1
  170. package/dist/sections/PricingSection.mjs +1 -1
  171. package/dist/sections/PricingSection.stories.mjs +1 -1
  172. package/dist/sections/ServiceDetailSection.mjs +1 -1
  173. package/dist/sections/ServiceDetailSection.stories.mjs +1 -1
  174. package/dist/sections/ServiceSection.js +1 -1
  175. package/dist/sections/ServiceSection.mjs +1 -1
  176. package/dist/sections/ServiceSection.stories.js +1 -1
  177. package/dist/sections/ServiceSection.stories.mjs +1 -1
  178. package/dist/sections/index.js +1 -1
  179. package/dist/sections/index.mjs +1 -1
  180. package/package.json +1 -1
  181. package/dist/chunk-2GAB2DAK.mjs +0 -5
  182. package/dist/chunk-6ZTACGHK.mjs +0 -4
  183. package/dist/chunk-G5HD4IFA.mjs +0 -1
  184. package/dist/chunk-KDC7QCYU.mjs +0 -4
  185. package/dist/chunk-KQ3VIRWA.mjs +0 -1
  186. package/dist/chunk-ST57SBGX.mjs +0 -1
  187. package/dist/chunk-TUFJTJCO.mjs +0 -2
@@ -1 +1 @@
1
- import{a as x}from"./chunk-KML6U7IE.mjs";import{a as N}from"./chunk-TXXFXCXB.mjs";import{e as h}from"./chunk-ST57SBGX.mjs";import{b as v}from"./chunk-BDX257W2.mjs";import{a as c,b as C,c as b,e as p}from"./chunk-D76EO57Z.mjs";import{a as k}from"./chunk-UESKYRNK.mjs";import{a as P}from"./chunk-WISCWNL2.mjs";import L from"next/image";import{notFound as M}from"next/navigation";import I from"next/link";import{jsx as t,jsxs as o}from"react/jsx-runtime";function T({image:a,name:r,about:m,socialLinks:n}){return!a||!a.src||a.src.length<3||!r?null:t("div",{className:"mt-1 z-10 px-0 pt-0 lg:px-10",children:t(c,{children:o(p,{children:[a&&a.src&&t(L,{src:a.src,alt:a.alt||"",width:127,height:127,placeholder:"blur",blurDataURL:x,className:"mx-auto mt-6 rounded-full object-cover"}),t("h3",{className:"font-secondary text-center py-2 text-lg leading-[1.25] text-accent md:text-xl",children:r}),t("p",{children:m}),n&&n.length>0&&t("nav",{"aria-label":"social links",children:t("ul",{className:"inline-flex items-center divide-x divide-accent/50 text-accent dark:divide-accent/50 dark:text-white",children:n.map((e,s)=>t("li",{children:t(P,{href:e.href,openNewTab:!0,className:"block px-4 text-base/[1.75] transition-transform duration-350 hover:-translate-y-1 hover:text-accents",children:t("span",{children:e.icon})})},s))})})]})})})}function j({page:a,categoryList:r,edit:m=!1,path:n="/admin/collections/posts/"}){var g;if(!a)return M();let{meta:e,populatedAuthors:s,authors:d,categories:y,content:U,title:w}=a,z={image:{src:e&&e.image&&e.image.url||void 0,alt:e&&e.image&&e.image.alt||void 0},authorName:((g=s==null?void 0:s[0])==null?void 0:g.name)||"",category:y,commentCount:0,title:w,description:(e==null?void 0:e.description)||""},u=d==null?void 0:d.map(i=>{var l,f;return{name:i.name||"",about:"",image:{src:i.profilePicture&&((f=(l=i.profilePicture.sizes)==null?void 0:l.square)==null?void 0:f.url)||"",alt:i.name||"blog author"},socialLinks:[]}});return t(k,{children:o("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[t("div",{children:o("div",{className:"[&_p+P]:mt-4",children:[t("div",{className:"my-4 h-px bg-body/30 lg:my-5"}),t(h,{content:U,enableGutter:!1})]})}),o("div",{className:"grid gap-30px self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:[m&&t("div",{className:"mt-4 lg:-mt-10 z-10 px-0 pt-0 lg:px-10",children:o(c,{children:[t(C,{children:t(b,{className:"text-accent",children:"Content Actions"})}),o(p,{children:[t("p",{className:"mb-4 text-sm text-muted-foreground",children:"Edit this page in the CMS"}),t(I,{href:`${n}${a.id}`,children:t(v,{variant:"outline",className:"w-full text-accent hover:text-foreground",children:"Edit"})})]})]})}),u&&u.map((i,l)=>t(T,{...i},l)),r&&r.links&&t("div",{className:"mt-4 px-0 pt-0 lg:px-10",children:t(N,{links:r.links,title:r.title})})]})]})})}export{j as a};
1
+ import{a as x}from"./chunk-KML6U7IE.mjs";import{a as N}from"./chunk-TXXFXCXB.mjs";import{e as h}from"./chunk-WW2H6RR6.mjs";import{b as v}from"./chunk-BDX257W2.mjs";import{a as c,b as C,c as b,e as p}from"./chunk-D76EO57Z.mjs";import{a as k}from"./chunk-UESKYRNK.mjs";import{a as P}from"./chunk-WISCWNL2.mjs";import L from"next/image";import{notFound as M}from"next/navigation";import I from"next/link";import{jsx as t,jsxs as o}from"react/jsx-runtime";function T({image:a,name:r,about:m,socialLinks:n}){return!a||!a.src||a.src.length<3||!r?null:t("div",{className:"mt-1 z-10 px-0 pt-0 lg:px-10",children:t(c,{children:o(p,{children:[a&&a.src&&t(L,{src:a.src,alt:a.alt||"",width:127,height:127,placeholder:"blur",blurDataURL:x,className:"mx-auto mt-6 rounded-full object-cover"}),t("h3",{className:"font-secondary text-center py-2 text-lg leading-[1.25] text-accent md:text-xl",children:r}),t("p",{children:m}),n&&n.length>0&&t("nav",{"aria-label":"social links",children:t("ul",{className:"inline-flex items-center divide-x divide-accent/50 text-accent dark:divide-accent/50 dark:text-white",children:n.map((e,s)=>t("li",{children:t(P,{href:e.href,openNewTab:!0,className:"block px-4 text-base/[1.75] transition-transform duration-350 hover:-translate-y-1 hover:text-accents",children:t("span",{children:e.icon})})},s))})})]})})})}function j({page:a,categoryList:r,edit:m=!1,path:n="/admin/collections/posts/"}){var g;if(!a)return M();let{meta:e,populatedAuthors:s,authors:d,categories:y,content:U,title:w}=a,z={image:{src:e&&e.image&&e.image.url||void 0,alt:e&&e.image&&e.image.alt||void 0},authorName:((g=s==null?void 0:s[0])==null?void 0:g.name)||"",category:y,commentCount:0,title:w,description:(e==null?void 0:e.description)||""},u=d==null?void 0:d.map(i=>{var l,f;return{name:i.name||"",about:"",image:{src:i.profilePicture&&((f=(l=i.profilePicture.sizes)==null?void 0:l.square)==null?void 0:f.url)||"",alt:i.name||"blog author"},socialLinks:[]}});return t(k,{children:o("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[t("div",{children:o("div",{className:"[&_p+P]:mt-4",children:[t("div",{className:"my-4 h-px bg-body/30 lg:my-5"}),t(h,{content:U,enableGutter:!1})]})}),o("div",{className:"grid gap-30px self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:[m&&t("div",{className:"mt-4 lg:-mt-10 z-10 px-0 pt-0 lg:px-10",children:o(c,{children:[t(C,{children:t(b,{className:"text-accent",children:"Content Actions"})}),o(p,{children:[t("p",{className:"mb-4 text-sm text-muted-foreground",children:"Edit this page in the CMS"}),t(I,{href:`${n}${a.id}`,children:t(v,{variant:"outline",className:"w-full text-accent hover:text-foreground",children:"Edit"})})]})]})}),u&&u.map((i,l)=>t(T,{...i},l)),r&&r.links&&t("div",{className:"mt-4 px-0 pt-0 lg:px-10",children:t(N,{links:r.links,title:r.title})})]})]})})}export{j as a};
@@ -0,0 +1 @@
1
+ import{i as H,j,k as E,l as G,m as _,n as $,o as J}from"./chunk-O5BAW5XQ.mjs";import{a as h}from"./chunk-44VMK4FL.mjs";import{a as I}from"./chunk-RJGKFNZL.mjs";import{a as S}from"./chunk-6DHYRATS.mjs";import{a as T}from"./chunk-2NFKSNJW.mjs";import{b as P}from"./chunk-BDX257W2.mjs";import{a as g}from"./chunk-SFLOMJ2U.mjs";import{a as l}from"./chunk-NIQ4466A.mjs";import{jsx as k,jsxs as U}from"react/jsx-runtime";var R=({links:a,richText:e})=>k("div",{className:"container",children:U("div",{className:"bg-card rounded border-border border p-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[k("div",{className:"max-w-[48rem] flex items-center",children:e&&k(u,{className:"mb-0",content:e,enableGutter:!1})}),k("div",{className:"flex flex-col gap-8",children:(a||[]).map(({link:t},s)=>k(h,{size:"lg",...t},s))})]})});import X from"next/image";import{jsx as n,jsxs as w}from"react/jsx-runtime";function F(a){return a&&typeof a=="object"&&"type"in a&&"iconName"in a}function q({image:a,icon:e,title:t,subtitle:s,content:c,statistic:r,settings:o,link:p,className:d}){var b,x;let f={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:"bg-background"},y={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return w("div",{className:l("min-w-56 max-w-xl h-full flex flex-col group",a?"p-0 md:p-0":"p-8 md:p-8",o&&!a&&f[(o==null?void 0:o.card)==="default"?"solid":o==null?void 0:o.card],a&&"bg-foreground",o&&(o==null?void 0:o.card)==="outline"?"text-gray-900":"text-white",y[(b=o==null?void 0:o.width)!=null?b:"auto"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",o&&`intersect:animate-delay-${o.order||1}00`,d),children:[a&&n("div",{className:"relative h-64 w-full mb-0",children:n(X,{src:a.url||"/placeholder.svg",alt:a.alt||"card header image",fill:!0,style:{objectFit:"cover"},priority:!0})}),w("div",{className:l(a?"p-4 pb-8 md:px-12":"p-0 md:p-0","flex flex-col flex-grow"),children:[s&&n("div",{className:"mb-4 text-primary uppercase font-light",children:s}),n("div",{className:"flex items-center gap-4 mb-2",children:n(O,{icon:{type:(e==null?void 0:e.type)||"fa-light",iconName:(e==null?void 0:e.icon)||"no-icon-error"},heading:t!=null?t:"",variant:(o==null?void 0:o.card)==="default"?"solid":(x=o==null?void 0:o.card)!=null?x:"solid",iconSize:(o==null?void 0:o.iconSize)||"large"})}),r&&n("div",{className:"mb-6",children:n("div",{className:l("text-4xl text-wrap font-bold leading-none overflow-hidden",(o==null?void 0:o.card)==="outline"||(o==null?void 0:o.card)==="light"?"text-brand-green":"text-white"),children:r})}),c&&typeof c=="object"&&n(u,{enableGutter:!1,content:c,enableProse:!1,className:l("space-y-6",(o==null?void 0:o.card)==="outline"||(o==null?void 0:o.card)==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100",a&&"prose prose-headings:text-background prose-p:text-background")}),c&&typeof c=="string"&&n("div",{className:l("space-y-6",(o==null?void 0:o.card)==="outline"||(o==null?void 0:o.card)==="light"?"prose text-foreground":"prose text-gray-100",a&&"prose text-background"),children:c}),p&&p.url&&n("div",{className:"pt-6 h-full flex items-end justify-start",children:n("a",{className:"text-accent justify-start font-semibold uppercase",href:p.url||"#",children:(p==null?void 0:p.label)||"Find out more"})}),(o==null?void 0:o.card)==="radial"&&n("div",{className:"absolute bottom-0 right-0 w-2/3 h-2/3 blur-3xl rounded-full",style:{background:"radial-gradient(circle, rgba(164,35,104,0.3) 0%, rgba(74,16,48,0) 70%)"}})]})]})}var O=({icon:a,heading:e,variant:t,iconSize:s,subtitle:c})=>a&&s==="small"&&a.iconName!="no-icon-error"?w("div",{className:"flex items-start justify-between w-full mb-2",children:[n("div",{className:l("font-semibold",t==="outline"||t==="light"?"text-primary":"text-white",s==="small"?"text-2xl":"text-3xl"),children:e}),F(a)&&n("div",{className:l("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",t==="outline"||t==="light"?"text-primary":"text-white",s==="small"?"mt-2":""),children:n(g,{type:a.type,iconName:a.iconName,size:"2x"})})]}):a&&a.iconName!="no-icon-error"?w("div",{className:"flex flex-col gap-4",children:[F(a)&&n("div",{className:l("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",t==="outline"||t==="light"?"text-accent":""),children:n(g,{type:a.type,iconName:a.iconName,size:"4x"})}),n("h3",{className:l("font-normal",t==="outline"||t==="light"?"text-2xl text-primary":"text-3xl"),children:e})]}):n("div",{className:"flex items-center gap-4 mb-2",children:n("div",{className:l("font-regular",t==="outline"||t==="light"?"text-2xl text-primary":"text-3xl"),children:e})});import{jsx as m,jsxs as B}from"react/jsx-runtime";function D(a){return a&&typeof a=="object"&&"type"in a&&"iconName"in a}function z({variant:a="outline",className:e,icon:t,iconSize:s="large",width:c="auto",order:r=0,heading:o,subheading:p,content:d,statistic:f,buttonText:y,buttonHref:b}){let x={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:""},M={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return B("div",{className:l("rounded-3xl p-8 md:p-8 min-w-56 flex flex-col group",x[a],a==="outline"?"text-gray-900":"text-white",e,M[c],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${r+1}00`),children:[m("div",{className:"flex items-center gap-4 mb-2",children:m(K,{icon:t,heading:o,variant:a,iconSize:s})}),f&&m("div",{className:"mb-6",children:m("div",{className:l("text-4xl text-wrap font-bold leading-none overflow-hidden",a==="outline"||a==="light"?"text-primary":"text-white"),children:f})}),p&&m("div",{className:"mb-4 text-xl md:text-2xl font-light",children:p}),d&&typeof d=="object"&&m("div",{className:l("space-y-6"),children:m(u,{enableGutter:!1,content:d,enableProse:!1,className:l(a==="outline"||a==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100")})}),d&&typeof d=="string"&&m("div",{className:l("space-y-6",a==="outline"||a==="light"?"text-gray-900":"text-gray-100"),children:d}),y&&m("div",{className:"mt-auto pt-6 flex items-center justify-center",children:m(P,{size:"lg",className:"text-white text-lg rounded-xl w-full mt-auto items-center justify-center",asChild:!0,children:m("a",{href:b,children:y})})}),a==="radial"&&m("div",{className:"absolute bottom-0 right-0 w-2/3 h-2/3 blur-3xl rounded-full",style:{background:"radial-gradient(circle, rgba(164,35,104,0.3) 0%, rgba(74,16,48,0) 70%)"}})]})}var K=({icon:a,heading:e,variant:t,iconSize:s})=>a&&s==="small"?B("div",{className:"flex items-start gap-4 mb-2",children:[D(a)&&m("div",{className:l("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",t==="outline"||t==="light"?"text-primary":"text-white",s==="small"?"mt-2":""),children:m(g,{type:a.type,iconName:a.iconName,size:"2x"})}),m("div",{className:l("font-semibold",t==="outline"||t==="light"?"text-primary":"text-white",s==="small"?"text-2xl":"text-3xl"),children:e})]}):a?B("div",{className:"flex flex-col gap-4",children:[D(a)&&m("div",{className:l("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",t==="outline"||t==="light"?"text-accent":""),children:m(g,{type:a.type,iconName:a.iconName,size:"4x"})}),m("h3",{className:l("font-semibold",t==="outline"||t==="light"?"text-2xl text-primary":"text-3xl"),children:e})]}):m("div",{className:"flex items-center gap-4 mb-2",children:m("div",{className:l("font-semibold",t==="outline"||t==="light"?"text-2xl text-primary":"text-3xl"),children:e})});import{jsx as N,jsxs as Q}from"react/jsx-runtime";var A=({title:a,description:e,features:t,id:s,nested:c=!1})=>Q("section",{className:l(!c&&"container","w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[a&&N("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl text-primary",id:s||"",children:a}),e&&typeof e=="string"&&N("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:e}),e&&typeof e=="object"&&N("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:N(u,{content:e,enableGutter:!1})}),N("div",{className:`grid gap-8 mt-10 md:grid-cols-${t?t.length:1}`,children:t&&t.map((r,o)=>{var d,f,y,b,x;let p=()=>{if(r.icon&&"type"in r.icon&&r.icon.type!=="none")return{type:r.icon.type,iconName:r.icon.icon}};return N(z,{variant:((d=r.settings)==null?void 0:d.card)==="default"?"light":((f=r.settings)==null?void 0:f.card)||"outline",icon:p()||void 0,iconSize:((y=r.settings)==null?void 0:y.iconSize)||"large",width:"auto",order:o,heading:r.title||"",content:r.content||void 0,statistic:r.statistic||void 0,buttonText:(b=r.link)!=null&&b.url?"Find out more":void 0,buttonHref:((x=r.link)==null?void 0:x.url)||void 0},o)})})]});import V,{Fragment as W}from"react";import{jsx as i}from"react/jsx-runtime";function v({nodes:a}){return i(W,{children:a==null?void 0:a.map((e,t)=>{if(e==null)return null;if(e.type==="text"&&e.text){let r=i(V.Fragment,{children:e.text},t);return e.format&1&&(r=i("strong",{children:r},t)),e.format&2&&(r=i("em",{children:r},t)),e.format&4&&(r=i("span",{style:{textDecoration:"line-through"},children:r},t)),e.format&8&&(r=i("span",{style:{textDecoration:"underline"},children:r},t)),e.format&16&&(r=i("code",{children:e.text},t)),e.format&32&&(r=i("sub",{children:r},t)),e.format&64&&(r=i("sup",{children:r},t)),r}if(e.type==="table")return i("table",{children:i("tbody",{children:e.children.map((r,o)=>i("tr",{children:r.children.map((p,d)=>i("td",{children:v({nodes:p.children})},d))},o))})},t);let s=r=>{if(r.children==null)return null;if((r==null?void 0:r.type)==="list"&&(r==null?void 0:r.listType)==="check")for(let o of r.children)"checked"in o&&(o!=null&&o.checked||(o.checked=!1));return v({nodes:r.children})},c="children"in e?s(e):"";if(e.type==="block"){let r=e.fields,o=r==null?void 0:r.blockType;if(!r||!o)return null;switch(o){case"cta":return i(R,{...r},t);case"mediaBlock":return i(I,{className:"col-start-1 col-span-3",imgClassName:"m-0",...r,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},t);case"imageBlock":return i(S,{className:"col-start-1 col-span-3",imgClassName:"m-0",...r,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},t);case"banner":return i(L,{className:"col-start-2 mb-4",...r},t);case"code":return i(T,{className:"col-start-2",...r},t);case"features":return i(A,{...r,nested:!0},t);case"reusableContentBlock":v({nodes:r.reusableContent.layout});default:return null}}else switch(e.type){case"linebreak":return i("br",{className:"col-start-2"},t);case"paragraph":return i("p",{className:"col-start-2",children:c},t);case"heading":{let r=e==null?void 0:e.tag;return i(r,{className:"col-start-2",id:(e==null?void 0:e.id)||"",children:c},t)}case"list":{let r=e==null?void 0:e.tag;return i(r,{className:"list col-start-2",children:c},t)}case"listitem":return(e==null?void 0:e.checked)!=null?i("li",{"aria-checked":e.checked?"true":"false",className:` ${e.checked,""}`,role:"checkbox",tabIndex:-1,value:e==null?void 0:e.value,children:c},t):i("li",{value:e==null?void 0:e.value,children:c},t);case"quote":return i("blockquote",{className:"col-start-2",children:c},t);case"link":{let r=e.fields;return i(h,{newTab:!!(r!=null&&r.newTab),reference:r.doc,type:r.linkType==="internal"?"reference":"custom",url:r.url,children:c},t)}case"autolink":{let r=e.fields;return i(h,{newTab:!!(r!=null&&r.newTab),reference:r.doc,type:r.linkType==="internal"?"reference":"custom",url:r.url,children:c},t)}default:return null}})})}import{jsx as Y}from"react/jsx-runtime";var u=({className:a,content:e,enableGutter:t=!0,enableProse:s=!0})=>{var c;return e?Y("div",{className:l({"container ":t,"max-w-none":!t,"mx-auto prose dark:prose-invert ":s},a),children:e&&!Array.isArray(e)&&typeof e=="object"&&"root"in e&&v({nodes:(c=e==null?void 0:e.root)==null?void 0:c.children})}):null};import{jsx as C}from"react/jsx-runtime";var L=({className:a,content:e,style:t})=>C("div",{className:l("mx-auto my-8 w-full",a),children:C("div",{className:l("border py-3 px-6 flex items-center rounded",{"border-border bg-card":t==="info","border-error bg-error/30":t==="error","border-success bg-success/30":t==="success","border-warning bg-warning/30":t==="warning"}),children:C(u,{content:e,enableGutter:!1,enableProse:!1})})});export{L as a,R as b,A as c,v as d,u as e,q as f,z as g};
@@ -1 +1 @@
1
- import{e as b}from"./chunk-ST57SBGX.mjs";import{a as y}from"./chunk-44VMK4FL.mjs";import{a as d}from"./chunk-NIQ4466A.mjs";import{jsx as s,jsxs as h}from"react/jsx-runtime";var H=k=>{var p;let{columns:i,theme:n}=k,T={full:"12",half:"6",oneThird:"4",twoThirds:"8"},R={none:"",line:"border border-primary p-4 rounded-lg"},c=o=>{if(o.type&&o.type==="block"&&o.fields&&(o.fields.blockType==="imageBlock"||o.fields.blockType==="mediaBlock"))return!0;if(o.root&&o.root.children){for(let e of o.root.children)if(c(e))return!0}if(o.children){for(let e of o.children)if(c(e))return!0}return!1},v=(o,e,r)=>{if(e==="none"||r==="full")return{processedRichText:o,heading:null};let t=o,l=null;return o&&o.root&&o.root.children&&o.root.children[0].tag==="h2"&&(t={...o,root:{...o.root,children:o.root.children.slice(1)}},l=o.root.children[0]),{processedRichText:t,heading:l}};return s("div",{className:"container my-6",children:s("div",{className:d("grid grid-cols-4 lg:grid-cols-12 gap-y-8",(p=n==null?void 0:n.settings)!=null&&p.box?"gap-x-8":"gap-x-16"),children:i&&i.length>0&&i.map((o,e)=>{var m,g;let{enableLink:r,link:t,richText:l,size:a}=o,{processedRichText:f,heading:u}=v(l,((m=n==null?void 0:n.settings)==null?void 0:m.box)||"none",a||"full");return h("div",{className:d(`col-span-4 lg:col-span-${T[a]}`,{"md:col-span-2":a!=="full"},R[a!=="full"&&!c(l)&&((g=n==null?void 0:n.settings)==null?void 0:g.box)||"none"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${e+1}00`),children:[u&&s("div",{className:"bg-primary text-primary-foreground mb-4 -mt-4 -mx-4 px-4 py-2 text-xl",children:u.children[0].text}),f&&s(b,{content:f,enableGutter:!1,className:"rich-text"}),r&&s(y,{...t})]},e)})})})};export{H as a};
1
+ import{e as b}from"./chunk-WW2H6RR6.mjs";import{a as y}from"./chunk-44VMK4FL.mjs";import{a as d}from"./chunk-NIQ4466A.mjs";import{jsx as s,jsxs as h}from"react/jsx-runtime";var H=k=>{var p;let{columns:i,theme:n}=k,T={full:"12",half:"6",oneThird:"4",twoThirds:"8"},R={none:"",line:"border border-primary p-4 rounded-lg"},c=o=>{if(o.type&&o.type==="block"&&o.fields&&(o.fields.blockType==="imageBlock"||o.fields.blockType==="mediaBlock"))return!0;if(o.root&&o.root.children){for(let e of o.root.children)if(c(e))return!0}if(o.children){for(let e of o.children)if(c(e))return!0}return!1},v=(o,e,r)=>{if(e==="none"||r==="full")return{processedRichText:o,heading:null};let t=o,l=null;return o&&o.root&&o.root.children&&o.root.children[0].tag==="h2"&&(t={...o,root:{...o.root,children:o.root.children.slice(1)}},l=o.root.children[0]),{processedRichText:t,heading:l}};return s("div",{className:"container my-6",children:s("div",{className:d("grid grid-cols-4 lg:grid-cols-12 gap-y-8",(p=n==null?void 0:n.settings)!=null&&p.box?"gap-x-8":"gap-x-16"),children:i&&i.length>0&&i.map((o,e)=>{var m,g;let{enableLink:r,link:t,richText:l,size:a}=o,{processedRichText:f,heading:u}=v(l,((m=n==null?void 0:n.settings)==null?void 0:m.box)||"none",a||"full");return h("div",{className:d(`col-span-4 lg:col-span-${T[a]}`,{"md:col-span-2":a!=="full"},R[a!=="full"&&!c(l)&&((g=n==null?void 0:n.settings)==null?void 0:g.box)||"none"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${e+1}00`),children:[u&&s("div",{className:"bg-primary text-primary-foreground mb-4 -mt-4 -mx-4 px-4 py-2 text-xl",children:u.children[0].text}),f&&s(b,{content:f,enableGutter:!1,className:"rich-text"}),r&&s(y,{...t})]},e)})})})};export{H as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as p}from"./chunk-6P7CY367.mjs";import{a as d}from"./chunk-FCCL6W7R.mjs";import{a as m}from"./chunk-NIQ4466A.mjs";import A from"next/link";import{Fragment as g}from"react";import{jsx as e,jsxs as s}from"react/jsx-runtime";var j=v=>{let{card:f,link:h}=p({}),{className:u,doc:N,relationTo:y,showCategories:a,title:b}=v,{slug:C,categories:t,meta:F,title:k}=N||{},{description:r,image:o}=F||{},i=t&&Array.isArray(t)&&t.length>0,l=b||k,w=r==null?void 0:r.replace(/\s/g," "),T=`/${y}/${C}`;return s("article",{className:m("border border-border rounded-lg overflow-hidden bg-card hover:cursor-pointer",u),ref:f.ref,children:[s("div",{className:"relative w-full ",children:[!o&&e("div",{className:"",children:"No image"}),o&&typeof o!="string"&&e(d,{resource:o,size:"33vw"})]}),s("div",{className:"p-4",children:[a&&i&&e("div",{className:"uppercase text-sm mb-4",children:a&&i&&e("div",{children:t==null?void 0:t.map((n,c)=>{if(typeof n=="object"){let{title:L}=n,P=L||"Untitled category",z=c===t.length-1;return s(g,{children:[P,!z&&e(g,{children:", \xA0"})]},c)}return null})})}),l&&e("div",{className:"prose",children:e("h3",{children:e(A,{className:"not-prose",href:T,ref:h.ref,children:l})})}),r&&e("div",{className:"mt-2",children:r&&e("p",{children:w})})]})]})};export{j as a};
4
+ import{a as p}from"./chunk-6P7CY367.mjs";import{a as d}from"./chunk-JPFBD2KD.mjs";import{a as m}from"./chunk-NIQ4466A.mjs";import A from"next/link";import{Fragment as g}from"react";import{jsx as e,jsxs as s}from"react/jsx-runtime";var j=v=>{let{card:f,link:h}=p({}),{className:u,doc:N,relationTo:y,showCategories:a,title:b}=v,{slug:C,categories:t,meta:F,title:k}=N||{},{description:r,image:o}=F||{},i=t&&Array.isArray(t)&&t.length>0,l=b||k,w=r==null?void 0:r.replace(/\s/g," "),T=`/${y}/${C}`;return s("article",{className:m("border border-border rounded-lg overflow-hidden bg-card hover:cursor-pointer",u),ref:f.ref,children:[s("div",{className:"relative w-full ",children:[!o&&e("div",{className:"",children:"No image"}),o&&typeof o!="string"&&e(d,{resource:o,size:"33vw"})]}),s("div",{className:"p-4",children:[a&&i&&e("div",{className:"uppercase text-sm mb-4",children:a&&i&&e("div",{children:t==null?void 0:t.map((n,c)=>{if(typeof n=="object"){let{title:L}=n,P=L||"Untitled category",z=c===t.length-1;return s(g,{children:[P,!z&&e(g,{children:", \xA0"})]},c)}return null})})}),l&&e("div",{className:"prose",children:e("h3",{children:e(A,{className:"not-prose",href:T,ref:h.ref,children:l})})}),r&&e("div",{className:"mt-2",children:r&&e("p",{children:w})})]})]})};export{j as a};
@@ -1 +1 @@
1
- import{e as r}from"./chunk-ST57SBGX.mjs";import{jsx as e}from"react/jsx-runtime";var c=({children:o,richText:t})=>e("div",{className:"min-w-full py-10 bg-muted mt-24",children:e("div",{className:"container",children:o||t&&e(r,{content:t,enableGutter:!1})})});export{c as a};
1
+ import{e as r}from"./chunk-WW2H6RR6.mjs";import{jsx as e}from"react/jsx-runtime";var c=({children:o,richText:t})=>e("div",{className:"min-w-full py-10 bg-muted mt-24",children:e("div",{className:"container",children:o||t&&e(r,{content:t,enableGutter:!1})})});export{c as a};
@@ -1 +1 @@
1
- import{e as r}from"./chunk-ST57SBGX.mjs";import{a as n}from"./chunk-NIQ4466A.mjs";import{jsx as t,jsxs as p}from"react/jsx-runtime";function d({subtitle:s,title:o,description:e,alignment:a="start",hasBottomSpacing:i=!1,className:m,invert:c=!1}){let l=n(a==="start"&&"text-left",a==="center"&&"text-center",a==="end"&&"text-right",{"mb-10 md:mb-[3.75rem]":i},m);return p("div",{className:l,children:[s&&t("span",{className:"mb-[.625rem] block text-semibold uppercase text-accent md:text-md",children:s}),t("h2",{className:n("text-primary text-2xl md:text-4xl"),children:o}),typeof e=="string"?e&&t("p",{className:"mt-5 whitespace-pre-line text-foreground",children:e}):e&&t(r,{content:e,enableGutter:!1,className:"prose-headings:text-accent prose-p:text-primary"})]})}export{d as a};
1
+ import{e as r}from"./chunk-WW2H6RR6.mjs";import{a as n}from"./chunk-NIQ4466A.mjs";import{jsx as t,jsxs as p}from"react/jsx-runtime";function d({subtitle:s,title:o,description:e,alignment:a="start",hasBottomSpacing:i=!1,className:m,invert:c=!1}){let l=n(a==="start"&&"text-left",a==="center"&&"text-center",a==="end"&&"text-right",{"mb-10 md:mb-[3.75rem]":i},m);return p("div",{className:l,children:[s&&t("span",{className:"mb-[.625rem] block text-semibold uppercase text-accent md:text-md",children:s}),t("h2",{className:n("text-primary text-2xl md:text-4xl"),children:o}),typeof e=="string"?e&&t("p",{className:"mt-5 whitespace-pre-line text-foreground",children:e}):e&&t(r,{content:e,enableGutter:!1,className:"prose-headings:text-accent prose-p:text-primary"})]})}export{d as a};
@@ -1 +1 @@
1
- import{a}from"../../chunk-ST57SBGX.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-44VMK4FL.mjs";import"../../chunk-OI2YT2ZF.mjs";import"../../chunk-EY5QX73B.mjs";import"../../chunk-YCX5N23N.mjs";import"../../chunk-M6M43TLT.mjs";import"../../chunk-FGWIT6CV.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-4YJ3HV64.mjs";import"../../chunk-2A6JF3LE.mjs";import"../../chunk-FCCL6W7R.mjs";import"../../chunk-WLBZXBU3.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-2NFKSNJW.mjs";import"../../chunk-FI4SMRAR.mjs";import"../../chunk-5IQPAE6K.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-VZXLXNVY.mjs";import"../../chunk-Y2KKUQDU.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as BannerBlock};
1
+ import{a}from"../../chunk-WW2H6RR6.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-44VMK4FL.mjs";import"../../chunk-M6M43TLT.mjs";import"../../chunk-FGWIT6CV.mjs";import"../../chunk-OI2YT2ZF.mjs";import"../../chunk-EY5QX73B.mjs";import"../../chunk-YCX5N23N.mjs";import"../../chunk-RJGKFNZL.mjs";import"../../chunk-6DHYRATS.mjs";import"../../chunk-JPFBD2KD.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-WLBZXBU3.mjs";import"../../chunk-2NFKSNJW.mjs";import"../../chunk-FI4SMRAR.mjs";import"../../chunk-5IQPAE6K.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-Y2KKUQDU.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-VZXLXNVY.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as BannerBlock};
@@ -1 +1 @@
1
- import{b as a}from"../../chunk-ST57SBGX.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-44VMK4FL.mjs";import"../../chunk-OI2YT2ZF.mjs";import"../../chunk-EY5QX73B.mjs";import"../../chunk-YCX5N23N.mjs";import"../../chunk-M6M43TLT.mjs";import"../../chunk-FGWIT6CV.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-4YJ3HV64.mjs";import"../../chunk-2A6JF3LE.mjs";import"../../chunk-FCCL6W7R.mjs";import"../../chunk-WLBZXBU3.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-2NFKSNJW.mjs";import"../../chunk-FI4SMRAR.mjs";import"../../chunk-5IQPAE6K.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-VZXLXNVY.mjs";import"../../chunk-Y2KKUQDU.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as CallToActionBlock};
1
+ import{b as a}from"../../chunk-WW2H6RR6.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-44VMK4FL.mjs";import"../../chunk-M6M43TLT.mjs";import"../../chunk-FGWIT6CV.mjs";import"../../chunk-OI2YT2ZF.mjs";import"../../chunk-EY5QX73B.mjs";import"../../chunk-YCX5N23N.mjs";import"../../chunk-RJGKFNZL.mjs";import"../../chunk-6DHYRATS.mjs";import"../../chunk-JPFBD2KD.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-WLBZXBU3.mjs";import"../../chunk-2NFKSNJW.mjs";import"../../chunk-FI4SMRAR.mjs";import"../../chunk-5IQPAE6K.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-Y2KKUQDU.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-VZXLXNVY.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as CallToActionBlock};
@@ -1 +1 @@
1
- import{b as t}from"../../chunk-ST57SBGX.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-44VMK4FL.mjs";import"../../chunk-OI2YT2ZF.mjs";import"../../chunk-EY5QX73B.mjs";import"../../chunk-YCX5N23N.mjs";import"../../chunk-M6M43TLT.mjs";import"../../chunk-FGWIT6CV.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-4YJ3HV64.mjs";import"../../chunk-2A6JF3LE.mjs";import"../../chunk-FCCL6W7R.mjs";import"../../chunk-WLBZXBU3.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-2NFKSNJW.mjs";import"../../chunk-FI4SMRAR.mjs";import"../../chunk-5IQPAE6K.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-VZXLXNVY.mjs";import"../../chunk-Y2KKUQDU.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-S7OK7D5I.mjs";import{jsx as i}from"react/jsx-runtime";var r={title:"Reusable Blocks/CallToAction",component:t},c=r,o=l=>i(t,{...l}),e=o.bind({});e.args={richText:{root:{children:[{type:"text",text:"This is a regular text."},{type:"text",text:"This is bold text.",format:1}]}},links:[{link:{type:"custom",label:"Learn More",url:"#"}},{link:{type:"custom",label:"Get Started",url:"#"}}]};var a=o.bind({});a.args={...e.args,links:[{link:{type:"custom",label:"Learn More",url:"#"}}]};export{e as Default,a as SingleLink,c as default};
1
+ import{b as t}from"../../chunk-WW2H6RR6.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-44VMK4FL.mjs";import"../../chunk-M6M43TLT.mjs";import"../../chunk-FGWIT6CV.mjs";import"../../chunk-OI2YT2ZF.mjs";import"../../chunk-EY5QX73B.mjs";import"../../chunk-YCX5N23N.mjs";import"../../chunk-RJGKFNZL.mjs";import"../../chunk-6DHYRATS.mjs";import"../../chunk-JPFBD2KD.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-WLBZXBU3.mjs";import"../../chunk-2NFKSNJW.mjs";import"../../chunk-FI4SMRAR.mjs";import"../../chunk-5IQPAE6K.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-Y2KKUQDU.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-VZXLXNVY.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-S7OK7D5I.mjs";import{jsx as i}from"react/jsx-runtime";var r={title:"Reusable Blocks/CallToAction",component:t},c=r,o=l=>i(t,{...l}),e=o.bind({});e.args={richText:{root:{children:[{type:"text",text:"This is a regular text."},{type:"text",text:"This is bold text.",format:1}]}},links:[{link:{type:"custom",label:"Learn More",url:"#"}},{link:{type:"custom",label:"Get Started",url:"#"}}]};var a=o.bind({});a.args={...e.args,links:[{link:{type:"custom",label:"Learn More",url:"#"}}]};export{e as Default,a as SingleLink,c as default};
@@ -1 +1 @@
1
- import{a}from"../../chunk-DHLQCOMJ.mjs";import"../../chunk-ST57SBGX.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-44VMK4FL.mjs";import"../../chunk-OI2YT2ZF.mjs";import"../../chunk-EY5QX73B.mjs";import"../../chunk-YCX5N23N.mjs";import"../../chunk-M6M43TLT.mjs";import"../../chunk-FGWIT6CV.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-4YJ3HV64.mjs";import"../../chunk-2A6JF3LE.mjs";import"../../chunk-FCCL6W7R.mjs";import"../../chunk-WLBZXBU3.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-2NFKSNJW.mjs";import"../../chunk-FI4SMRAR.mjs";import"../../chunk-5IQPAE6K.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-VZXLXNVY.mjs";import"../../chunk-Y2KKUQDU.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as ContentBlock};
1
+ import{a}from"../../chunk-XVX24CGK.mjs";import"../../chunk-WW2H6RR6.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-44VMK4FL.mjs";import"../../chunk-M6M43TLT.mjs";import"../../chunk-FGWIT6CV.mjs";import"../../chunk-OI2YT2ZF.mjs";import"../../chunk-EY5QX73B.mjs";import"../../chunk-YCX5N23N.mjs";import"../../chunk-RJGKFNZL.mjs";import"../../chunk-6DHYRATS.mjs";import"../../chunk-JPFBD2KD.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-WLBZXBU3.mjs";import"../../chunk-2NFKSNJW.mjs";import"../../chunk-FI4SMRAR.mjs";import"../../chunk-5IQPAE6K.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-Y2KKUQDU.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-VZXLXNVY.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as ContentBlock};
@@ -1 +1 @@
1
- import{c as t}from"../../chunk-3TVLETYW.mjs";import{a as o}from"../../chunk-DHLQCOMJ.mjs";import"../../chunk-ST57SBGX.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-44VMK4FL.mjs";import"../../chunk-OI2YT2ZF.mjs";import"../../chunk-EY5QX73B.mjs";import"../../chunk-YCX5N23N.mjs";import"../../chunk-M6M43TLT.mjs";import"../../chunk-FGWIT6CV.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-4YJ3HV64.mjs";import"../../chunk-2A6JF3LE.mjs";import"../../chunk-FCCL6W7R.mjs";import"../../chunk-WLBZXBU3.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-2NFKSNJW.mjs";import"../../chunk-FI4SMRAR.mjs";import"../../chunk-5IQPAE6K.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-VZXLXNVY.mjs";import"../../chunk-Y2KKUQDU.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-S7OK7D5I.mjs";var n={title:"Reusable Blocks/ContentBlock",component:o},m=n,e={args:{...t.content.halfWithEmbeddedImage}},c={args:{...t.content.media}},l={args:{...t.content.oneThirdWithImageTheme3Collumns}},h={args:{...t.content.headerAndTheme3Collumns}},i={args:{...t.content.boxesWithThreeColumns}},r,p={args:{...e.args,theme:{...e.args.theme,settings:{...(r=e.args.theme)==null?void 0:r.settings,box:"line"}}}},g={args:{...t.content.halfWithFeature}};export{p as BoxesWithImage,i as BoxesWithThreeColumns,e as Default,g as Features,h as HeaderAndThreeColumns,c as Media,l as ThreeColumns,m as default};
1
+ import{c as t}from"../../chunk-3TVLETYW.mjs";import{a as o}from"../../chunk-XVX24CGK.mjs";import"../../chunk-WW2H6RR6.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-44VMK4FL.mjs";import"../../chunk-M6M43TLT.mjs";import"../../chunk-FGWIT6CV.mjs";import"../../chunk-OI2YT2ZF.mjs";import"../../chunk-EY5QX73B.mjs";import"../../chunk-YCX5N23N.mjs";import"../../chunk-RJGKFNZL.mjs";import"../../chunk-6DHYRATS.mjs";import"../../chunk-JPFBD2KD.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-WLBZXBU3.mjs";import"../../chunk-2NFKSNJW.mjs";import"../../chunk-FI4SMRAR.mjs";import"../../chunk-5IQPAE6K.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-Y2KKUQDU.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-VZXLXNVY.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-S7OK7D5I.mjs";var n={title:"Reusable Blocks/ContentBlock",component:o},m=n,e={args:{...t.content.halfWithEmbeddedImage}},c={args:{...t.content.media}},l={args:{...t.content.oneThirdWithImageTheme3Collumns}},h={args:{...t.content.headerAndTheme3Collumns}},i={args:{...t.content.boxesWithThreeColumns}},r,p={args:{...e.args,theme:{...e.args.theme,settings:{...(r=e.args.theme)==null?void 0:r.settings,box:"line"}}}},g={args:{...t.content.halfWithFeature}};export{p as BoxesWithImage,i as BoxesWithThreeColumns,e as Default,g as Features,h as HeaderAndThreeColumns,c as Media,l as ThreeColumns,m as default};
@@ -1 +1 @@
1
- import{c as a}from"../../chunk-ST57SBGX.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-44VMK4FL.mjs";import"../../chunk-OI2YT2ZF.mjs";import"../../chunk-EY5QX73B.mjs";import"../../chunk-YCX5N23N.mjs";import"../../chunk-M6M43TLT.mjs";import"../../chunk-FGWIT6CV.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-4YJ3HV64.mjs";import"../../chunk-2A6JF3LE.mjs";import"../../chunk-FCCL6W7R.mjs";import"../../chunk-WLBZXBU3.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-2NFKSNJW.mjs";import"../../chunk-FI4SMRAR.mjs";import"../../chunk-5IQPAE6K.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-VZXLXNVY.mjs";import"../../chunk-Y2KKUQDU.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as FeaturesBlock};
1
+ import{c as a}from"../../chunk-WW2H6RR6.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-44VMK4FL.mjs";import"../../chunk-M6M43TLT.mjs";import"../../chunk-FGWIT6CV.mjs";import"../../chunk-OI2YT2ZF.mjs";import"../../chunk-EY5QX73B.mjs";import"../../chunk-YCX5N23N.mjs";import"../../chunk-RJGKFNZL.mjs";import"../../chunk-6DHYRATS.mjs";import"../../chunk-JPFBD2KD.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-WLBZXBU3.mjs";import"../../chunk-2NFKSNJW.mjs";import"../../chunk-FI4SMRAR.mjs";import"../../chunk-5IQPAE6K.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-Y2KKUQDU.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-VZXLXNVY.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as FeaturesBlock};
@@ -1 +1 @@
1
- import{b as t}from"../../chunk-3TVLETYW.mjs";import{c as e}from"../../chunk-ST57SBGX.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-44VMK4FL.mjs";import"../../chunk-OI2YT2ZF.mjs";import"../../chunk-EY5QX73B.mjs";import"../../chunk-YCX5N23N.mjs";import"../../chunk-M6M43TLT.mjs";import"../../chunk-FGWIT6CV.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-4YJ3HV64.mjs";import"../../chunk-2A6JF3LE.mjs";import"../../chunk-FCCL6W7R.mjs";import"../../chunk-WLBZXBU3.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-2NFKSNJW.mjs";import"../../chunk-FI4SMRAR.mjs";import"../../chunk-5IQPAE6K.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-VZXLXNVY.mjs";import"../../chunk-Y2KKUQDU.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-S7OK7D5I.mjs";var i={title:"Reusable Blocks/FeaturesBlock",component:e,tags:["autodocs"],parameters:{layout:"padded"}},l=i,c={args:{title:"Lorem ipsum dolor sit amet",description:"Donec malesuada arcu at velit laoreet convallis. Sed at eros vel lacus varius varius nec id metus.",features:[{icon:{type:"fa-thin",icon:"robot"},title:"Sed at eros vel lacus varius varius nec id metus.",content:t.simple,settings:{card:"outline",icon:"large"}},{icon:{type:"fa-thin",icon:"lightbulb"},link:{label:"label",type:"custom",url:"#"},title:"Intelligent Insights",statistic:"80%",content:"They provide valuable insights and improve ways of working, saving time and boosting efficiency across your organisation.",settings:{card:"light"}},{icon:{type:"fa-kit",icon:"software"},title:"Collaborative Partners",statistic:"80%",content:"Digital colleagues work alongside human employees, assisting with tasks and enhancing overall performance.",settings:{card:"solid"}}]}},u={args:{features:[{icon:{type:"fa-thin",icon:"robot"},title:"Sed at eros vel lacus varius varius nec id metus.",link:{label:"label",type:"custom",url:"#"},content:t.simple,settings:{card:"outline",iconSize:"large"}},{icon:{type:"fa-thin",icon:"lightbulb"},link:{label:"label",type:"custom",url:"#"},title:"Sed at eros vel lacus varius varius nec id metus.",content:t.simple,statistic:"80%",settings:{card:"radial",iconSize:"small"}},{icon:{type:"fa-kit",icon:"software"},title:"Sed at eros vel lacus.",content:t.simple,statistic:"80%",settings:{card:"gradient",iconSize:"large"}}]}},d={args:{features:[{icon:{type:"fa-thin",icon:"robot"},title:"Sed at eros vel lacus varius varius nec id metus.",link:{label:"label",type:"custom",url:"#"},content:t.simple,settings:{card:"outline",iconSize:"small"}},{icon:{type:"fa-thin",icon:"lightbulb"},link:{label:"label",type:"custom",url:"#"},title:"Sed at eros vel lacus varius varius nec id metus.",content:t.simple,settings:{card:"light",iconSize:"small"}},{icon:{type:"fa-kit",icon:"software"},title:"Sed at eros vel lacus.",content:t.simple,statistic:"80%",settings:{card:"gradient",iconSize:"small"}}]}},g={args:{title:"What Are Digital Colleagues?",features:[{icon:{type:"fa-thin",icon:"robot"},title:"AI-Powered Assistants",content:"Digital colleagues are generative AI tools that augment your existing workforce, enhancing productivity and customer experience."},{icon:{type:"fa-thin",icon:"lightbulb"},title:"Intelligent Insights",content:"They provide valuable insights and improve ways of working, saving time and boosting efficiency across your organisation."}]}},p={args:{title:"What Are Digital Colleagues?",features:[{icon:{type:"fa-thin",icon:"robot"},title:"AI-Powered Assistants",content:"Digital colleagues are generative AI tools that augment your existing workforce, enhancing productivity and customer experience."}]}},y={args:{title:"What Are Digital Colleagues?",features:[{title:"AI-Powered Assistants",content:"Digital colleagues are generative AI tools that augment your existing workforce, enhancing productivity and customer experience."}]}},m={args:{features:[{icon:{type:"fa-thin",icon:"robot"},title:"AI-Powered Assistants",content:"Digital colleagues are generative AI tools that augment your existing workforce, enhancing productivity and customer experience."},{icon:{type:"fa-thin",icon:"lightbulb"},title:"Intelligent Insights",content:"They provide valuable insights and improve ways of working, saving time and boosting efficiency across your organisation."},{icon:{type:"fa-kit",icon:"delivery"},title:"Collaborative Partners",content:"Digital colleagues work alongside human employees, assisting with tasks and enhancing overall performance."}]}},f={args:{title:"Test Content",features:[{id:"67a8f0ffa2a234ac414429cb",title:"Test Feature",statistic:"80%",content:{root:{type:"root",format:"",indent:0,version:1,children:[{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Some text here!",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0}],direction:"ltr"}},settings:{card:"default",contents:"statistic"},link:{type:"none",newTab:null,url:null},icon:{type:"fa-thin",icon:"cloud"}}],blockType:"features",theme:{settings:{theme:"default",background:"transparent",image:null,overlay:null}}}},h={args:{title:"Test Content",features:[{id:"67a8f0ffa2a234ac414429cb",title:"Test Feature",statistic:"80%",content:{root:{type:"root",format:"",indent:0,version:1,children:[{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Some text here!",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0}],direction:"ltr"}},settings:{card:"default",contents:"statistic"},link:{type:"none",newTab:null,url:null},icon:{type:"fa-thin",icon:"cloud"}},{id:"67a8f0ffa2a234ac414429cb",title:"Test Feature",statistic:"80%",content:{root:{type:"root",format:"",indent:0,version:1,children:[{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Some text here!",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0}],direction:"ltr"}},settings:{card:"default",contents:"statistic"},link:{type:"none",newTab:null,url:null},icon:{type:"fa-thin",icon:"cloud"}},{id:"67a8f0ffa2a234ac414429cb",title:"Test Feature",statistic:"80%",content:{root:{type:"root",format:"",indent:0,version:1,children:[{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Some text here!",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0}],direction:"ltr"}},settings:{card:"default",contents:"statistic"},link:{type:"none",newTab:null,url:null},icon:{type:"fa-thin",icon:"cloud"}}],blockType:"features",theme:{settings:{theme:"default",background:"transparent",image:null,overlay:null}}}};export{f as Cards,c as Default,u as MoreOptions,y as NoIcon,m as NoTitle,p as OneFeature,d as OtherOptions,h as ThreeCards,g as TwoFeatures,l as default};
1
+ import{b as t}from"../../chunk-3TVLETYW.mjs";import{c as e}from"../../chunk-WW2H6RR6.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-44VMK4FL.mjs";import"../../chunk-M6M43TLT.mjs";import"../../chunk-FGWIT6CV.mjs";import"../../chunk-OI2YT2ZF.mjs";import"../../chunk-EY5QX73B.mjs";import"../../chunk-YCX5N23N.mjs";import"../../chunk-RJGKFNZL.mjs";import"../../chunk-6DHYRATS.mjs";import"../../chunk-JPFBD2KD.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-WLBZXBU3.mjs";import"../../chunk-2NFKSNJW.mjs";import"../../chunk-FI4SMRAR.mjs";import"../../chunk-5IQPAE6K.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-Y2KKUQDU.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-VZXLXNVY.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-S7OK7D5I.mjs";var i={title:"Reusable Blocks/FeaturesBlock",component:e,tags:["autodocs"],parameters:{layout:"padded"}},l=i,c={args:{title:"Lorem ipsum dolor sit amet",description:"Donec malesuada arcu at velit laoreet convallis. Sed at eros vel lacus varius varius nec id metus.",features:[{icon:{type:"fa-thin",icon:"robot"},title:"Sed at eros vel lacus varius varius nec id metus.",content:t.simple,settings:{card:"outline",icon:"large"}},{icon:{type:"fa-thin",icon:"lightbulb"},link:{label:"label",type:"custom",url:"#"},title:"Intelligent Insights",statistic:"80%",content:"They provide valuable insights and improve ways of working, saving time and boosting efficiency across your organisation.",settings:{card:"light"}},{icon:{type:"fa-kit",icon:"software"},title:"Collaborative Partners",statistic:"80%",content:"Digital colleagues work alongside human employees, assisting with tasks and enhancing overall performance.",settings:{card:"solid"}}]}},u={args:{features:[{icon:{type:"fa-thin",icon:"robot"},title:"Sed at eros vel lacus varius varius nec id metus.",link:{label:"label",type:"custom",url:"#"},content:t.simple,settings:{card:"outline",iconSize:"large"}},{icon:{type:"fa-thin",icon:"lightbulb"},link:{label:"label",type:"custom",url:"#"},title:"Sed at eros vel lacus varius varius nec id metus.",content:t.simple,statistic:"80%",settings:{card:"radial",iconSize:"small"}},{icon:{type:"fa-kit",icon:"software"},title:"Sed at eros vel lacus.",content:t.simple,statistic:"80%",settings:{card:"gradient",iconSize:"large"}}]}},d={args:{features:[{icon:{type:"fa-thin",icon:"robot"},title:"Sed at eros vel lacus varius varius nec id metus.",link:{label:"label",type:"custom",url:"#"},content:t.simple,settings:{card:"outline",iconSize:"small"}},{icon:{type:"fa-thin",icon:"lightbulb"},link:{label:"label",type:"custom",url:"#"},title:"Sed at eros vel lacus varius varius nec id metus.",content:t.simple,settings:{card:"light",iconSize:"small"}},{icon:{type:"fa-kit",icon:"software"},title:"Sed at eros vel lacus.",content:t.simple,statistic:"80%",settings:{card:"gradient",iconSize:"small"}}]}},g={args:{title:"What Are Digital Colleagues?",features:[{icon:{type:"fa-thin",icon:"robot"},title:"AI-Powered Assistants",content:"Digital colleagues are generative AI tools that augment your existing workforce, enhancing productivity and customer experience."},{icon:{type:"fa-thin",icon:"lightbulb"},title:"Intelligent Insights",content:"They provide valuable insights and improve ways of working, saving time and boosting efficiency across your organisation."}]}},p={args:{title:"What Are Digital Colleagues?",features:[{icon:{type:"fa-thin",icon:"robot"},title:"AI-Powered Assistants",content:"Digital colleagues are generative AI tools that augment your existing workforce, enhancing productivity and customer experience."}]}},y={args:{title:"What Are Digital Colleagues?",features:[{title:"AI-Powered Assistants",content:"Digital colleagues are generative AI tools that augment your existing workforce, enhancing productivity and customer experience."}]}},m={args:{features:[{icon:{type:"fa-thin",icon:"robot"},title:"AI-Powered Assistants",content:"Digital colleagues are generative AI tools that augment your existing workforce, enhancing productivity and customer experience."},{icon:{type:"fa-thin",icon:"lightbulb"},title:"Intelligent Insights",content:"They provide valuable insights and improve ways of working, saving time and boosting efficiency across your organisation."},{icon:{type:"fa-kit",icon:"delivery"},title:"Collaborative Partners",content:"Digital colleagues work alongside human employees, assisting with tasks and enhancing overall performance."}]}},f={args:{title:"Test Content",features:[{id:"67a8f0ffa2a234ac414429cb",title:"Test Feature",statistic:"80%",content:{root:{type:"root",format:"",indent:0,version:1,children:[{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Some text here!",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0}],direction:"ltr"}},settings:{card:"default",contents:"statistic"},link:{type:"none",newTab:null,url:null},icon:{type:"fa-thin",icon:"cloud"}}],blockType:"features",theme:{settings:{theme:"default",background:"transparent",image:null,overlay:null}}}},h={args:{title:"Test Content",features:[{id:"67a8f0ffa2a234ac414429cb",title:"Test Feature",statistic:"80%",content:{root:{type:"root",format:"",indent:0,version:1,children:[{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Some text here!",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0}],direction:"ltr"}},settings:{card:"default",contents:"statistic"},link:{type:"none",newTab:null,url:null},icon:{type:"fa-thin",icon:"cloud"}},{id:"67a8f0ffa2a234ac414429cb",title:"Test Feature",statistic:"80%",content:{root:{type:"root",format:"",indent:0,version:1,children:[{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Some text here!",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0}],direction:"ltr"}},settings:{card:"default",contents:"statistic"},link:{type:"none",newTab:null,url:null},icon:{type:"fa-thin",icon:"cloud"}},{id:"67a8f0ffa2a234ac414429cb",title:"Test Feature",statistic:"80%",content:{root:{type:"root",format:"",indent:0,version:1,children:[{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Some text here!",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0}],direction:"ltr"}},settings:{card:"default",contents:"statistic"},link:{type:"none",newTab:null,url:null},icon:{type:"fa-thin",icon:"cloud"}}],blockType:"features",theme:{settings:{theme:"default",background:"transparent",image:null,overlay:null}}}};export{f as Cards,c as Default,u as MoreOptions,y as NoIcon,m as NoTitle,p as OneFeature,d as OtherOptions,h as ThreeCards,g as TwoFeatures,l as default};
@@ -1 +1 @@
1
- import{a}from"../../chunk-4YJ3HV64.mjs";import"../../chunk-FCCL6W7R.mjs";import"../../chunk-WLBZXBU3.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as ImageBlock};
1
+ import{a}from"../../chunk-6DHYRATS.mjs";import"../../chunk-JPFBD2KD.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-WLBZXBU3.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as ImageBlock};
@@ -1 +1 @@
1
- import{a}from"../../chunk-2A6JF3LE.mjs";import"../../chunk-FCCL6W7R.mjs";import"../../chunk-WLBZXBU3.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as MediaBlock};
1
+ import{a}from"../../chunk-RJGKFNZL.mjs";import"../../chunk-JPFBD2KD.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-WLBZXBU3.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as MediaBlock};
@@ -1 +1 @@
1
- import{a}from"../../chunk-HDVYZQKY.mjs";import"../../chunk-MGS3DQ22.mjs";import"../../chunk-6P7CY367.mjs";import"../../chunk-ST57SBGX.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-44VMK4FL.mjs";import"../../chunk-OI2YT2ZF.mjs";import"../../chunk-EY5QX73B.mjs";import"../../chunk-YCX5N23N.mjs";import"../../chunk-M6M43TLT.mjs";import"../../chunk-FGWIT6CV.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-4YJ3HV64.mjs";import"../../chunk-2A6JF3LE.mjs";import"../../chunk-FCCL6W7R.mjs";import"../../chunk-WLBZXBU3.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-2NFKSNJW.mjs";import"../../chunk-FI4SMRAR.mjs";import"../../chunk-5IQPAE6K.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-VZXLXNVY.mjs";import"../../chunk-Y2KKUQDU.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as RelatedPosts};
1
+ import{a}from"../../chunk-QJBYKPHK.mjs";import"../../chunk-XXTN5HMN.mjs";import"../../chunk-6P7CY367.mjs";import"../../chunk-WW2H6RR6.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-44VMK4FL.mjs";import"../../chunk-M6M43TLT.mjs";import"../../chunk-FGWIT6CV.mjs";import"../../chunk-OI2YT2ZF.mjs";import"../../chunk-EY5QX73B.mjs";import"../../chunk-YCX5N23N.mjs";import"../../chunk-RJGKFNZL.mjs";import"../../chunk-6DHYRATS.mjs";import"../../chunk-JPFBD2KD.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-WLBZXBU3.mjs";import"../../chunk-2NFKSNJW.mjs";import"../../chunk-FI4SMRAR.mjs";import"../../chunk-5IQPAE6K.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-Y2KKUQDU.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-VZXLXNVY.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as RelatedPosts};
@@ -1 +1 @@
1
- import{b as a,c as b}from"../../chunk-VCC562W2.mjs";import"../../chunk-DHLQCOMJ.mjs";import"../../chunk-ST57SBGX.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-44VMK4FL.mjs";import"../../chunk-OI2YT2ZF.mjs";import"../../chunk-EY5QX73B.mjs";import"../../chunk-YCX5N23N.mjs";import"../../chunk-M6M43TLT.mjs";import"../../chunk-FGWIT6CV.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-4YJ3HV64.mjs";import"../../chunk-2A6JF3LE.mjs";import"../../chunk-FCCL6W7R.mjs";import"../../chunk-WLBZXBU3.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-2NFKSNJW.mjs";import"../../chunk-FI4SMRAR.mjs";import"../../chunk-5IQPAE6K.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-VZXLXNVY.mjs";import"../../chunk-Y2KKUQDU.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as RenderBlocks,b as Theme};
1
+ import{b as a,c as b}from"../../chunk-LQ5FKIXP.mjs";import"../../chunk-XVX24CGK.mjs";import"../../chunk-WW2H6RR6.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-44VMK4FL.mjs";import"../../chunk-M6M43TLT.mjs";import"../../chunk-FGWIT6CV.mjs";import"../../chunk-OI2YT2ZF.mjs";import"../../chunk-EY5QX73B.mjs";import"../../chunk-YCX5N23N.mjs";import"../../chunk-RJGKFNZL.mjs";import"../../chunk-6DHYRATS.mjs";import"../../chunk-JPFBD2KD.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-WLBZXBU3.mjs";import"../../chunk-2NFKSNJW.mjs";import"../../chunk-FI4SMRAR.mjs";import"../../chunk-5IQPAE6K.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-Y2KKUQDU.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-VZXLXNVY.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as RenderBlocks,b as Theme};
@@ -1 +1 @@
1
- import{a}from"../../chunk-VCC562W2.mjs";import"../../chunk-DHLQCOMJ.mjs";import"../../chunk-ST57SBGX.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-44VMK4FL.mjs";import"../../chunk-OI2YT2ZF.mjs";import"../../chunk-EY5QX73B.mjs";import"../../chunk-YCX5N23N.mjs";import"../../chunk-M6M43TLT.mjs";import"../../chunk-FGWIT6CV.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-4YJ3HV64.mjs";import"../../chunk-2A6JF3LE.mjs";import"../../chunk-FCCL6W7R.mjs";import"../../chunk-WLBZXBU3.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-2NFKSNJW.mjs";import"../../chunk-FI4SMRAR.mjs";import"../../chunk-5IQPAE6K.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-VZXLXNVY.mjs";import"../../chunk-Y2KKUQDU.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as ReusableContentBlock};
1
+ import{a}from"../../chunk-LQ5FKIXP.mjs";import"../../chunk-XVX24CGK.mjs";import"../../chunk-WW2H6RR6.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-44VMK4FL.mjs";import"../../chunk-M6M43TLT.mjs";import"../../chunk-FGWIT6CV.mjs";import"../../chunk-OI2YT2ZF.mjs";import"../../chunk-EY5QX73B.mjs";import"../../chunk-YCX5N23N.mjs";import"../../chunk-RJGKFNZL.mjs";import"../../chunk-6DHYRATS.mjs";import"../../chunk-JPFBD2KD.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-WLBZXBU3.mjs";import"../../chunk-2NFKSNJW.mjs";import"../../chunk-FI4SMRAR.mjs";import"../../chunk-5IQPAE6K.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-Y2KKUQDU.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-VZXLXNVY.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as ReusableContentBlock};
@@ -1 +1 @@
1
- import{a as k}from"../../chunk-53QLSQCO.mjs";import{a as l}from"../../chunk-6HFYLEVF.mjs";import{a as s}from"../../chunk-HDVYZQKY.mjs";import"../../chunk-MGS3DQ22.mjs";import{a as m}from"../../chunk-EPTHSTUM.mjs";import{a as h}from"../../chunk-UZ2XYB7D.mjs";import{a as o}from"../../chunk-JCH2CCQ7.mjs";import"../../chunk-2LJVMEWU.mjs";import"../../chunk-KPIWBWE2.mjs";import"../../chunk-6P7CY367.mjs";import{a as p,b as q,c as r}from"../../chunk-VCC562W2.mjs";import{a as n}from"../../chunk-DHLQCOMJ.mjs";import{a,b,c as g}from"../../chunk-ST57SBGX.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-44VMK4FL.mjs";import"../../chunk-OI2YT2ZF.mjs";import"../../chunk-EY5QX73B.mjs";import"../../chunk-YCX5N23N.mjs";import"../../chunk-M6M43TLT.mjs";import"../../chunk-FGWIT6CV.mjs";import"../../chunk-JWDVKGZL.mjs";import{a as f}from"../../chunk-4YJ3HV64.mjs";import{a as e}from"../../chunk-2A6JF3LE.mjs";import"../../chunk-FCCL6W7R.mjs";import"../../chunk-WLBZXBU3.mjs";import"../../chunk-TFWGOEV7.mjs";import{a as d}from"../../chunk-2NFKSNJW.mjs";import"../../chunk-FI4SMRAR.mjs";import{a as c}from"../../chunk-5IQPAE6K.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-BDX257W2.mjs";import{a as i}from"../../chunk-H7D3PZKE.mjs";import{a as j}from"../../chunk-IQPZEEYJ.mjs";import"../../chunk-VZXLXNVY.mjs";import"../../chunk-Y2KKUQDU.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as BannerBlock,b as CallToActionBlock,d as CodeBlock,n as ContentBlock,c as CopyButton,g as FeaturesBlock,o as HeadingImage,f as ImageBlock,i as InfoTile,h as Insight,j as MOTD,e as MediaBlock,k as OrgChart,l as ProposalSummary,s as RelatedPosts,q as RenderBlocks,p as ReusableContentBlock,r as Theme,m as WhyUs};
1
+ import{a as l}from"../../chunk-6HFYLEVF.mjs";import{a as s}from"../../chunk-QJBYKPHK.mjs";import"../../chunk-XXTN5HMN.mjs";import{a as m}from"../../chunk-EPTHSTUM.mjs";import{a as h}from"../../chunk-UZ2XYB7D.mjs";import{a as k}from"../../chunk-53QLSQCO.mjs";import{a as o}from"../../chunk-JCH2CCQ7.mjs";import"../../chunk-2LJVMEWU.mjs";import"../../chunk-KPIWBWE2.mjs";import"../../chunk-6P7CY367.mjs";import{a as p,b as q,c as r}from"../../chunk-LQ5FKIXP.mjs";import{a as n}from"../../chunk-XVX24CGK.mjs";import{a,b,c as g}from"../../chunk-WW2H6RR6.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-44VMK4FL.mjs";import"../../chunk-M6M43TLT.mjs";import"../../chunk-FGWIT6CV.mjs";import"../../chunk-OI2YT2ZF.mjs";import"../../chunk-EY5QX73B.mjs";import"../../chunk-YCX5N23N.mjs";import{a as e}from"../../chunk-RJGKFNZL.mjs";import{a as f}from"../../chunk-6DHYRATS.mjs";import"../../chunk-JPFBD2KD.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-WLBZXBU3.mjs";import{a as d}from"../../chunk-2NFKSNJW.mjs";import"../../chunk-FI4SMRAR.mjs";import{a as c}from"../../chunk-5IQPAE6K.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-BDX257W2.mjs";import{a as i}from"../../chunk-H7D3PZKE.mjs";import{a as j}from"../../chunk-IQPZEEYJ.mjs";import"../../chunk-Y2KKUQDU.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-VZXLXNVY.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as BannerBlock,b as CallToActionBlock,d as CodeBlock,n as ContentBlock,c as CopyButton,g as FeaturesBlock,o as HeadingImage,f as ImageBlock,i as InfoTile,h as Insight,j as MOTD,e as MediaBlock,k as OrgChart,l as ProposalSummary,s as RelatedPosts,q as RenderBlocks,p as ReusableContentBlock,r as Theme,m as WhyUs};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- "use strict";var st=Object.create;var se=Object.defineProperty;var lt=Object.getOwnPropertyDescriptor;var ct=Object.getOwnPropertyNames;var dt=Object.getPrototypeOf,pt=Object.prototype.hasOwnProperty;var mt=(e,t)=>{for(var r in t)se(e,r,{get:t[r],enumerable:!0})},Ae=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let l of ct(t))!pt.call(e,l)&&l!==r&&se(e,l,{get:()=>t[l],enumerable:!(a=lt(t,l))||a.enumerable});return e};var A=(e,t,r)=>(r=e!=null?st(dt(e)):{},Ae(t||!e||!e.__esModule?se(r,"default",{value:e,enumerable:!0}):r,e)),ut=e=>Ae(se({},"__esModule",{value:!0}),e);var er={};mt(er,{DealDetails:()=>Yt});module.exports=ut(er);var O=require("react");var ee=A(require("react")),P=A(require("@radix-ui/react-dialog")),We=require("lucide-react");var Ge=require("clsx");var be="-",ft=e=>{let t=bt(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:c=>{let o=c.split(be);return o[0]===""&&o.length!==1&&o.shift(),Ie(o,t)||gt(c)},getConflictingClassGroupIds:(c,o)=>{let v=r[c]||[];return o&&a[c]?[...v,...a[c]]:v}}},Ie=(e,t)=>{var c;if(e.length===0)return t.classGroupId;let r=e[0],a=t.nextPart.get(r),l=a?Ie(e.slice(1),a):void 0;if(l)return l;if(t.validators.length===0)return;let s=e.join(be);return(c=t.validators.find(({validator:o})=>o(s)))==null?void 0:c.classGroupId},Te=/^\[(.+)\]$/,gt=e=>{if(Te.test(e)){let t=Te.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},bt=e=>{let{theme:t,prefix:r}=e,a={nextPart:new Map,validators:[]};return ht(Object.entries(e.classGroups),r).forEach(([s,c])=>{ge(c,a,s,t)}),a},ge=(e,t,r,a)=>{e.forEach(l=>{if(typeof l=="string"){let s=l===""?t:ze(t,l);s.classGroupId=r;return}if(typeof l=="function"){if(vt(l)){ge(l(a),t,r,a);return}t.validators.push({validator:l,classGroupId:r});return}Object.entries(l).forEach(([s,c])=>{ge(c,ze(t,s),r,a)})})},ze=(e,t)=>{let r=e;return t.split(be).forEach(a=>{r.nextPart.has(a)||r.nextPart.set(a,{nextPart:new Map,validators:[]}),r=r.nextPart.get(a)}),r},vt=e=>e.isThemeGetter,ht=(e,t)=>t?e.map(([r,a])=>{let l=a.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([c,o])=>[t+c,o])):s);return[r,l]}):e,yt=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,a=new Map,l=(s,c)=>{r.set(s,c),t++,t>e&&(t=0,a=r,r=new Map)};return{get(s){let c=r.get(s);if(c!==void 0)return c;if((c=a.get(s))!==void 0)return l(s,c),c},set(s,c){r.has(s)?r.set(s,c):l(s,c)}}},Le="!",xt=e=>{let{separator:t,experimentalParseClassName:r}=e,a=t.length===1,l=t[0],s=t.length,c=o=>{let v=[],x=0,S=0,D;for(let g=0;g<o.length;g++){let C=o[g];if(x===0){if(C===l&&(a||o.slice(g,g+s)===t)){v.push(o.slice(S,g)),S=g+s;continue}if(C==="/"){D=g;continue}}C==="["?x++:C==="]"&&x--}let N=v.length===0?o:o.substring(S),R=N.startsWith(Le),h=R?N.substring(1):N,w=D&&D>S?D-S:void 0;return{modifiers:v,hasImportantModifier:R,baseClassName:h,maybePostfixModifierPosition:w}};return r?o=>r({className:o,parseClassName:c}):c},wt=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(a=>{a[0]==="["?(t.push(...r.sort(),a),r=[]):r.push(a)}),t.push(...r.sort()),t},Pt=e=>({cache:yt(e.cacheSize),parseClassName:xt(e),...ft(e)}),St=/\s+/,Ct=(e,t)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:l}=t,s=[],c=e.trim().split(St),o="";for(let v=c.length-1;v>=0;v-=1){let x=c[v],{modifiers:S,hasImportantModifier:D,baseClassName:N,maybePostfixModifierPosition:R}=r(x),h=!!R,w=a(h?N.substring(0,R):N);if(!w){if(!h){o=x+(o.length>0?" "+o:o);continue}if(w=a(N),!w){o=x+(o.length>0?" "+o:o);continue}h=!1}let g=wt(S).join(":"),C=D?g+Le:g,k=C+w;if(s.includes(k))continue;s.push(k);let E=l(w,h);for(let I=0;I<E.length;++I){let F=E[I];s.push(C+F)}o=x+(o.length>0?" "+o:o)}return o};function Rt(){let e=0,t,r,a="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Me(t))&&(a&&(a+=" "),a+=r);return a}var Me=e=>{if(typeof e=="string")return e;let t,r="";for(let a=0;a<e.length;a++)e[a]&&(t=Me(e[a]))&&(r&&(r+=" "),r+=t);return r};function Nt(e,...t){let r,a,l,s=c;function c(v){let x=t.reduce((S,D)=>D(S),e());return r=Pt(x),a=r.cache.get,l=r.cache.set,s=o,o(v)}function o(v){let x=a(v);if(x)return x;let S=Ct(v,r);return l(v,S),S}return function(){return s(Rt.apply(null,arguments))}}var b=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Ee=/^\[(?:([a-z-]+):)?(.+)\]$/T,kt=/^\d+\/\d+$/,Dt=new Set(["px","full","screen"]),At=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Tt=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|T|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,zt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,It=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Lt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,M=e=>$(e)||Dt.has(e)||kt.test(e),B=e=>J(e,"length",Ut),$=e=>!!e&&!Number.isNaN(Number(e)),fe=e=>J(e,"number",$),Z=e=>!!e&&Number.isInteger(Number(e)),Mt=e=>e.endsWith("%")&&$(e.slice(0,-1)),d=e=>Ee.test(e),V=e=>At.test(e),Et=new Set(["length","size","percentage"]),Bt=e=>J(e,Et,Be),Vt=e=>J(e,"position",Be),Gt=new Set(["image","url"]),Wt=e=>J(e,Gt,jt),Ht=e=>J(e,"",Ft),Y=()=>!0,J=(e,t,r)=>{let a=Ee.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):r(a[2]):!1},Ut=e=>Tt.test(e)&&!zt.test(e),Be=()=>!1,Ft=e=>It.test(e),jt=e=>Lt.test(e);var Ot=()=>{let e=b("colors"),t=b("spacing"),r=b("blur"),a=b("brightness"),l=b("borderColor"),s=b("borderRadius"),c=b("borderSpacing"),o=b("borderWidth"),v=b("contrast"),x=b("grayscale"),S=b("hueRotate"),D=b("invert"),N=b("gap"),R=b("gradientColorStops"),h=b("gradientColorStopPositions"),w=b("inset"),g=b("margin"),C=b("opacity"),k=b("padding"),E=b("saturate"),I=b("scale"),F=b("sepia"),q=b("skew"),X=b("space"),K=b("translate"),_=()=>["auto","contain","none"],n=()=>["auto","hidden","clip","visible","scroll"],m=()=>["auto",d,t],f=()=>[d,t],ae=()=>["",M,B],ie=()=>["auto",$,d],Ne=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],ne=()=>["solid","dashed","dotted","double","none"],ke=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ue=()=>["start","end","center","between","around","evenly","stretch"],Q=()=>["","0",d],De=()=>["auto","avoid","all","avoid-page","page","left","right","column"],L=()=>[$,d];return{cacheSize:500,separator:":",theme:{colors:[Y],spacing:[M,B],blur:["none","",V,d],brightness:L(),borderColor:[e],borderRadius:["none","","full",V,d],borderSpacing:f(),borderWidth:ae(),contrast:L(),grayscale:Q(),hueRotate:L(),invert:Q(),gap:f(),gradientColorStops:[e],gradientColorStopPositions:[Mt,B],inset:m(),margin:m(),opacity:L(),padding:f(),saturate:L(),scale:L(),sepia:Q(),skew:L(),space:f(),translate:f()},classGroups:{aspect:[{aspect:["auto","square","video",d]}],container:["container"],columns:[{columns:[V]}],"break-after":[{"break-after":De()}],"break-before":[{"break-before":De()}],"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:[...Ne(),d]}],overflow:[{overflow:n()}],"overflow-x":[{"overflow-x":n()}],"overflow-T":[{"overflow-T":n()}],overscroll:[{overscroll:_()}],"overscroll-x":[{"overscroll-x":_()}],"overscroll-T":[{"overscroll-T":_()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[w]}],"inset-x":[{"inset-x":[w]}],"inset-T":[{"inset-T":[w]}],start:[{start:[w]}],end:[{end:[w]}],top:[{top:[w]}],right:[{right:[w]}],bottom:[{bottom:[w]}],left:[{left:[w]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Z,d]}],basis:[{basis:m()}],"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:Q()}],shrink:[{shrink:Q()}],order:[{order:["first","last","none",Z,d]}],"grid-cols":[{"grid-cols":[Y]}],"col-start-end":[{col:["auto",{span:["full",Z,d]},d]}],"col-start":[{"col-start":ie()}],"col-end":[{"col-end":ie()}],"grid-rows":[{"grid-rows":[Y]}],"row-start-end":[{row:["auto",{span:[Z,d]},d]}],"row-start":[{"row-start":ie()}],"row-end":[{"row-end":ie()}],"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:[N]}],"gap-x":[{"gap-x":[N]}],"gap-T":[{"gap-T":[N]}],"justify-content":[{justify:["normal",...ue()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ue(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ue(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[k]}],px:[{px:[k]}],py:[{py:[k]}],ps:[{ps:[k]}],T:[{T:[k]}],pt:[{pt:[k]}],pr:[{pr:[k]}],pb:[{pb:[k]}],pl:[{pl:[k]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[X]}],"space-x-reverse":["space-x-reverse"],"space-T":[{"space-T":[X]}],"space-T-reverse":["space-T-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:[V]},V]}],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",V,B]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",fe]}],"font-family":[{font:[Y]}],"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",$,fe]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",M,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":[C]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[C]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ne(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",M,B]}],"underline-offset":[{"underline-offset":["auto",M,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:f()}],"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":[C]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Ne(),Vt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","T","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Bt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Wt]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[h]}],"gradient-via-pos":[{via:[h]}],"gradient-to-pos":[{to:[h]}],"gradient-from":[{from:[R]}],"gradient-via":[{via:[R]}],"gradient-to":[{to:[R]}],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:[o]}],"border-w-x":[{"border-x":[o]}],"border-w-T":[{"border-T":[o]}],"border-w-s":[{"border-s":[o]}],"border-w-e":[{"border-e":[o]}],"border-w-t":[{"border-t":[o]}],"border-w-r":[{"border-r":[o]}],"border-w-b":[{"border-b":[o]}],"border-w-l":[{"border-l":[o]}],"border-opacity":[{"border-opacity":[C]}],"border-style":[{border:[...ne(),"hidden"]}],"divide-x":[{"divide-x":[o]}],"divide-x-reverse":["divide-x-reverse"],"divide-T":[{"divide-T":[o]}],"divide-T-reverse":["divide-T-reverse"],"divide-opacity":[{"divide-opacity":[C]}],"divide-style":[{divide:ne()}],"border-color":[{border:[l]}],"border-color-x":[{"border-x":[l]}],"border-color-T":[{"border-T":[l]}],"border-color-s":[{"border-s":[l]}],"border-color-e":[{"border-e":[l]}],"border-color-t":[{"border-t":[l]}],"border-color-r":[{"border-r":[l]}],"border-color-b":[{"border-b":[l]}],"border-color-l":[{"border-l":[l]}],"divide-color":[{divide:[l]}],"outline-style":[{outline:["",...ne()]}],"outline-offset":[{"outline-offset":[M,d]}],"outline-w":[{outline:[M,B]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:ae()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[C]}],"ring-offset-w":[{"ring-offset":[M,B]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",V,Ht]}],"shadow-color":[{shadow:[Y]}],opacity:[{opacity:[C]}],"mix-blend":[{"mix-blend":[...ke(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ke()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[v]}],"drop-shadow":[{"drop-shadow":["","none",V,d]}],grayscale:[{grayscale:[x]}],"hue-rotate":[{"hue-rotate":[S]}],invert:[{invert:[D]}],saturate:[{saturate:[E]}],sepia:[{sepia:[F]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[v]}],"backdrop-grayscale":[{"backdrop-grayscale":[x]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[S]}],"backdrop-invert":[{"backdrop-invert":[D]}],"backdrop-opacity":[{"backdrop-opacity":[C]}],"backdrop-saturate":[{"backdrop-saturate":[E]}],"backdrop-sepia":[{"backdrop-sepia":[F]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[c]}],"border-spacing-x":[{"border-spacing-x":[c]}],"border-spacing-T":[{"border-spacing-T":[c]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",d]}],duration:[{duration:L()}],ease:[{ease:["linear","in","out","in-out",d]}],delay:[{delay:L()}],animate:[{animate:["none","spin","ping","pulse","bounce",d]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[I]}],"scale-x":[{"scale-x":[I]}],"scale-T":[{"scale-T":[I]}],rotate:[{rotate:[Z,d]}],"translate-x":[{"translate-x":[K]}],"translate-T":[{"translate-T":[K]}],"skew-x":[{"skew-x":[q]}],"skew-T":[{"skew-T":[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","T","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":f()}],"scroll-mx":[{"scroll-mx":f()}],"scroll-my":[{"scroll-my":f()}],"scroll-ms":[{"scroll-ms":f()}],"scroll-me":[{"scroll-me":f()}],"scroll-mt":[{"scroll-mt":f()}],"scroll-mr":[{"scroll-mr":f()}],"scroll-mb":[{"scroll-mb":f()}],"scroll-ml":[{"scroll-ml":f()}],"scroll-p":[{"scroll-p":f()}],"scroll-px":[{"scroll-px":f()}],"scroll-py":[{"scroll-py":f()}],"scroll-ps":[{"scroll-ps":f()}],"scroll-T":[{"scroll-T":f()}],"scroll-pt":[{"scroll-pt":f()}],"scroll-pr":[{"scroll-pr":f()}],"scroll-pb":[{"scroll-pb":f()}],"scroll-pl":[{"scroll-pl":f()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","T","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-T":[{"touch-pan":["T","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:[M,B,fe]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-T"],overscroll:["overscroll-x","overscroll-T"],inset:["inset-x","inset-T","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-T":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-T"],p:["px","py","ps","T","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-T"],"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-T":["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-T":["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-T","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-T","touch-pz"],"touch-x":["touch"],"touch-T":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Ve=Nt(Ot);function u(...e){return Ve((0,Ge.clsx)(e))}var T=require("react/jsx-runtime"),He=P.Root;var _t=P.Portal;var Ue=ee.forwardRef(({className:e,...t},r)=>(0,T.jsx)(P.Overlay,{ref:r,className:u("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));Ue.displayName=P.Overlay.displayName;var ve=ee.forwardRef(({className:e,children:t,...r},a)=>(0,T.jsxs)(_t,{children:[(0,T.jsx)(Ue,{}),(0,T.jsxs)(P.Content,{ref:a,className:u("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-T-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",e),...r,children:[t,(0,T.jsxs)(P.Close,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,T.jsx)(We.X,{className:"h-4 w-4"}),(0,T.jsx)("span",{className:"sr-only",children:"Close"})]})]})]}));ve.displayName=P.Content.displayName;var he=({className:e,...t})=>(0,T.jsx)("div",{className:u("flex flex-col space-T-1.5 text-center sm:text-left",e),...t});he.displayName="DialogHeader";var $t=({className:e,...t})=>(0,T.jsx)("div",{className:u("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});$t.displayName="DialogFooter";var ye=ee.forwardRef(({className:e,...t},r)=>(0,T.jsx)(P.Title,{ref:r,className:u("text-lg font-semibold leading-none tracking-tight",e),...t}));ye.displayName=P.Title.displayName;var Jt=ee.forwardRef(({className:e,...t},r)=>(0,T.jsx)(P.Description,{ref:r,className:u("text-sm text-muted-foreground",e),...t}));Jt.displayName=P.Description.displayName;var Fe=require("@radix-ui/react-slot"),je=require("class-variance-authority"),Oe=A(require("react")),qt=(0,je.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),te=Oe.forwardRef(({asChild:e=!1,className:t,size:r,variant:a,...l},s)=>(0,T.jsx)(e?Fe.Slot:"button",{className:u(qt({className:t,size:r,variant:a})),ref:s,...l}));te.displayName="Button";var $e=A(require("react"));var re=$e.forwardRef(({className:e,type:t,...r},a)=>(0,T.jsx)("input",{type:t,className:u("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),ref:a,...r}));re.displayName="Input";var qe=A(require("react")),xe=A(require("@radix-ui/react-label"));var Xt=(0,je.cva)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),G=qe.forwardRef(({className:e,...t},r)=>(0,T.jsx)(xe.Root,{ref:r,className:u(Xt(),e),...t}));G.displayName=xe.Root.displayName;var Qe=A(require("react")),we=Qe.forwardRef(({className:e,...t},r)=>(0,T.jsx)("textarea",{className:u("flex min-h-[80px] w-full rounded border border-border bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),ref:r,...t}));we.displayName="Textarea";var p=A(require("@radix-ui/react-select")),W=A(require("react")),Pe=p.Root;var Se=p.Value,le=W.forwardRef(({children:e,className:t,...r},a)=>(0,T.jsxs)(p.Trigger,{className:u("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:a,...r,children:[e,(0,T.jsx)(p.Icon,{asChild:!0,children:(0,T.jsx)(We.ChevronDown,{className:"h-4 w-4 opacity-50"})})]}));le.displayName=p.Trigger.displayName;var Ye=W.forwardRef(({className:e,...t},r)=>(0,T.jsx)(p.ScrollUpButton,{className:u("flex cursor-default items-center justify-center py-1",e),ref:r,...t,children:(0,T.jsx)(We.ChevronUp,{className:"h-4 w-4"})}));Ye.displayName=p.ScrollUpButton.displayName;var et=W.forwardRef(({className:e,...t},r)=>(0,T.jsx)(p.ScrollDownButton,{className:u("flex cursor-default items-center justify-center py-1",e),ref:r,...t,children:(0,T.jsx)(We.ChevronDown,{className:"h-4 w-4"})}));et.displayName=p.ScrollDownButton.displayName;var ce=W.forwardRef(({children:e,className:t,position:r="popper",...a},l)=>(0,T.jsx)(p.Portal,{children:(0,T.jsxs)(p.Content,{className:u("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-T-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-T-1",t),position:r,ref:l,...a,children:[(0,T.jsx)(Ye,{}),(0,T.jsx)(p.Viewport,{className:u("p-1",r==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:e}),(0,T.jsx)(et,{})]})}));ce.displayName=p.Content.displayName;var Kt=W.forwardRef(({className:e,...t},r)=>(0,T.jsx)(p.Label,{className:u("py-1.5 pl-8 pr-2 text-sm font-semibold",e),ref:r,...t}));Kt.displayName=p.Label.displayName;var de=W.forwardRef(({children:e,className:t,...r},a)=>(0,T.jsxs)(p.Item,{className:u("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:a,...r,children:[(0,T.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,T.jsx)(p.ItemIndicator,{children:(0,T.jsx)(We.Check,{className:"h-4 w-4"})})}),(0,T.jsx)(p.ItemText,{children:e})]}));de.displayName=p.Item.displayName;var Qt=W.forwardRef(({className:e,...t},r)=>(0,T.jsx)(p.Separator,{className:u("-mx-1 my-1 h-px bg-muted",e),ref:r,...t}));Qt.displayName=p.Separator.displayName;var oe=A(require("@radix-ui/react-checkbox")),rt=A(require("react")),Ce=rt.forwardRef(({className:e,...t},r)=>(0,T.jsx)(oe.Root,{className:u("peer h-4 w-4 shrink-0 rounded border border-primary ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",e),ref:r,...t,children:(0,T.jsx)(oe.Indicator,{className:u("flex items-center justify-center text-current"),children:(0,T.jsx)(We.Check,{className:"h-4 w-4"})})}));Ce.displayName=oe.Root.displayName;var Zt=(0,je.cva)("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function at({className:e,variant:t,...r}){return(0,T.jsx)("div",{className:u(Zt({variant:t}),e),...r})}var Re=A(require("react")),z=A(require("@radix-ui/react-scroll-area"));var me=Re.forwardRef(({className:e,children:t,...r},a)=>(0,T.jsxs)(z.Root,{ref:a,className:u("relative overflow-hidden",e),...r,children:[(0,T.jsx)(z.Viewport,{className:"h-full w-full rounded-[inherit]",children:t}),(0,T.jsx)(nt,{}),(0,T.jsx)(z.Corner,{})]}));me.displayName=z.Root.displayName;var nt=Re.forwardRef(({className:e,orientation:t="vertical",...r},a)=>(0,T.jsx)(z.ScrollAreaScrollbar,{ref:a,orientation:t,className:u("flex touch-none select-none transition-colors",t==="vertical"&&"h-full w-2.5 border-l border-l-transparent p-[1px]",t==="horizontal"&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",e),...r,children:(0,T.jsx)(z.ScrollAreaThumb,{className:"relative flex-1 rounded-full bg-border"})}));nt.displayName=z.ScrollAreaScrollbar.displayName;function Yt({deal:e,users:t,customer:r,categories:a,onClose:l,onSave:s,onAddComment:c}){var F,q,X,K,_;let[o,v]=(0,O.useState)({...e,value:e.value||0,comments:e.comments||[],customer:e.customer||{}}),[x,S]=(0,O.useState)(""),[D,N]=(0,O.useState)(!1),[R,h]=(0,O.useState)(null);(0,O.useEffect)(()=>{N(JSON.stringify(e)!==JSON.stringify(o))},[e,o]);let w=async()=>{try{let n=await s(o);n.success?(N(!1),h(null)):console.error("Failed to save deal:",n.errors)}catch(n){console.error("Failed to save deal:",n)}},g=(n,m)=>{v(f=>({...f,[n]:m}))},C=n=>{let m=(o.categories||[]).includes(n)?(o.categories||[]).filter(f=>f!==n):[...o.categories||[],n];g("categories",m)},k=async()=>{if(x.trim()){let n={text:x,timestamp:new Date().toISOString()};try{let m=await c(n);if(!m.success){console.error("Failed to add comment:",m.errors);return}}catch(m){console.error("Failed to add comment:",m)}v(m=>({...m,comments:[...m.comments||[],n]})),S("")}},E=n=>{switch(n){case"proposition":return"bg-blue-100 text-blue-800";case"source":return"bg-green-100 text-green-800";case"sector":return"bg-purple-100 text-purple-800";default:return"bg-gray-100 text-gray-800"}},I=n=>t==null?void 0:t.find(m=>m.id===Number(n));return(0,T.jsx)(He,{open:!0,children:(0,T.jsxs)(ve,{className:"max-w-3xl max-h-[90vh] overflow-hidden flex flex-col [&>button:last-child]:hidden",children:[(0,T.jsxs)(he,{className:"flex flex-row items-center justify-between",children:[(0,T.jsx)(ye,{className:"text-2xl font-bold",children:r==null?void 0:r.name}),(0,T.jsxs)("div",{className:"flex space-x-2",children:[(0,T.jsx)(te,{variant:"outline",onClick:l,children:"Close"}),(0,T.jsxs)(te,{onClick:w,disabled:!D,children:[(0,T.jsx)(We.SaveIcon,{className:"w-4 h-4 mr-2"}),"Save"]})]})]}),(0,T.jsxs)(me,{className:"flex-grow pr-4",children:[(0,T.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-4",children:[(0,T.jsx)("div",{className:"grid gap-2",children:R==="value"?(0,T.jsx)(re,{type:"number",value:o.value,onChange:n=>g("value",Number(n.target.value)),onBlur:()=>h(null),className:"text-3xl font-bold text-green-600",autoFocus:!0}):(0,T.jsxs)("div",{className:"text-3xl font-bold text-green-600 cursor-pointer hover:bg-gray-100 p-0 rounded",onClick:()=>h("value"),children:["\xA3",(F=o.value)==null?void 0:F.toLocaleString()]})}),(0,T.jsxs)("div",{className:"grid gap-2",children:[(0,T.jsx)(G,{className:"text-sm font-medium text-gray-500",children:"Assignee"}),R==="assignee"?(0,T.jsxs)(Pe,{value:((X=(q=o==null?void 0:o.assignee)==null?void 0:q.id)==null?void 0:X.toString())||"",onValueChange:n=>g("assignee",I(n)),children:[(0,T.jsx)(le,{children:(0,T.jsx)(Se,{placeholder:"Select assignee"})}),(0,T.jsx)(ce,{children:t&&t.map(n=>{var m;return(0,T.jsx)(de,{value:((m=n==null?void 0:n.id)==null?void 0:m.toString())||"",children:n.name},n.id)})})]}):(0,T.jsxs)("div",{className:"flex items-center space-x-2 cursor-pointer hover:bg-gray-100 p-0 rounded",onClick:()=>h("assignee"),children:[(0,T.jsx)(We.UserIcon,{className:"w-4 h-4 text-gray-400"}),(0,T.jsx)("span",{children:o.assignee.name})]})]}),(0,T.jsxs)("div",{className:"grid gap-2",children:[(0,T.jsx)(G,{className:"text-sm font-medium text-gray-500",children:"Closure Date"}),R==="closureDate"?(0,T.jsx)(re,{type:"date",value:(_=(K=o.closureDate)==null?void 0:K.split("T")[0])!=null?_:"",onChange:n=>g("closureDate",n.target.value),onBlur:()=>h(null),autoFocus:!0}):(0,T.jsxs)("div",{className:"flex items-center space-x-2 cursor-pointer hover:bg-gray-100 p-0 rounded",onClick:()=>h("closureDate"),children:[(0,T.jsx)(We.CalendarIcon,{className:"w-4 h-4 text-gray-400"}),(0,T.jsx)("span",{children:o.closureDate?new Date(o.closureDate).toLocaleDateString("en-GB"):"N/A"})]})]})]}),(0,T.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-1 gap-4",children:(0,T.jsxs)("div",{className:"grid gap-2",children:[(0,T.jsx)(G,{className:"text-sm font-medium text-gray-500",children:"Description"}),R==="description"?(0,T.jsx)(we,{value:o.description||"",onChange:n=>g("description",n.target.value),onBlur:()=>h(null),className:"min-h-[100px]",autoFocus:!0}):(0,T.jsx)("div",{className:"cursor-pointer hover:bg-gray-100 pb-5 rounded",onClick:()=>h("description"),children:o.description})]})}),(0,T.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-3 pt-2 gap-4",children:[(0,T.jsxs)("div",{className:"grid gap-2",children:[(0,T.jsx)(G,{className:"text-sm font-medium text-gray-500",children:"Status"}),R==="status"?(0,T.jsxs)(Pe,{value:o.status,onValueChange:n=>{g("status",n),h(null)},children:[(0,T.jsx)(le,{children:(0,T.jsx)(Se,{placeholder:"Select status"})}),(0,T.jsx)(ce,{children:["Cold","Qualified","Proposal Made","Won","Lost"].map(n=>(0,T.jsx)(de,{value:n,children:n},n))})]}):(0,T.jsx)("div",{className:"cursor-pointer hover:bg-gray-100 p-0 rounded",onClick:()=>h("status"),children:o.status})]}),(0,T.jsxs)("div",{className:"grid col-span-2 gap-2",children:[(0,T.jsx)(G,{className:"text-sm font-medium text-gray-500",children:"Categories"}),R==="categories"?(0,T.jsx)("div",{className:"grid grid-cols-2 gap-2",children:a.map(n=>{var m,f;return(0,T.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,T.jsx)(Ce,{id:((m=n.id)==null?void 0:m.toString())||"",checked:(o.categories||[]).some(ae=>ae.id===n.id),onCheckedChange:()=>n.id!==void 0&&C(n)}),(0,T.jsx)("label",{htmlFor:((f=n.id)!=null?f:"").toString(),className:`text-sm font-medium ${E(n.type||"sector")} px-2 py-1 rounded`,children:n.name})]},n.id)})}):(0,T.jsx)("div",{className:"flex flex-wrap gap-2 cursor-pointer hover:bg-gray-100 p-0 rounded",onClick:()=>h("categories"),children:o.categories&&o.categories.map(n=>{console.log("cat",n);let m=n;return m?(0,T.jsx)(at,{variant:"secondary",className:E(m.type||"sector"),children:m.name},m.id):null})})]})]}),(0,T.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-1 pt-4 gap-4",children:[(0,T.jsxs)("div",{className:"grid gap-2",children:[(0,T.jsx)(G,{className:"text-sm font-medium text-gray-500",children:"Comments"}),(0,T.jsx)(me,{className:"h-[200px] overflow-T-auto",children:(0,T.jsx)("div",{className:"space-T-2",children:o.comments&&o.comments.slice().sort((n,m)=>new Date(m.timestamp||"").getTime()-new Date(n.timestamp||"").getTime()).map(n=>{var m;return(0,T.jsxs)("div",{className:"bg-gray-50 p-3 rounded-lg",children:[(0,T.jsx)("p",{className:"text-sm text-gray-700",children:n.text}),(0,T.jsxs)("p",{className:"text-xs text-gray-500 mt-1",children:[(m=n==null?void 0:n.author)==null?void 0:m.name," - ",new Date(n.timestamp||"").toLocaleString()]})]},n.id)})})}),(0,T.jsxs)("div",{className:"flex mt-2",children:[(0,T.jsx)(re,{value:x,onChange:n=>S(n.target.value),placeholder:"Add a comment...",className:"flex-grow"}),(0,T.jsxs)(te,{onClick:k,className:"ml-2",children:[(0,T.jsx)(We.PlusIcon,{className:"w-4 h-4 mr-2"}),"Add"]})]})]}),(0,T.jsxs)("div",{className:"text-xs text-gray-500 mt-4",children:["Last modified: ",new Date(o.updatedAt||"").toLocaleString()]})]})]})]})})}0&&(module.exports={DealDetails});
4
+ "use strict";var st=Object.create;var se=Object.defineProperty;var lt=Object.getOwnPropertyDescriptor;var ct=Object.getOwnPropertyNames;var dt=Object.getPrototypeOf,pt=Object.prototype.hasOwnProperty;var mt=(e,t)=>{for(var r in t)se(e,r,{get:t[r],enumerable:!0})},Ae=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let l of ct(t))!pt.call(e,l)&&l!==r&&se(e,l,{get:()=>t[l],enumerable:!(a=lt(t,l))||a.enumerable});return e};var A=(e,t,r)=>(r=e!=null?st(dt(e)):{},Ae(t||!e||!e.__esModule?se(r,"default",{value:e,enumerable:!0}):r,e)),ut=e=>Ae(se({},"__esModule",{value:!0}),e);var er={};mt(er,{DealDetails:()=>Yt});module.exports=ut(er);var O=require("react");var ee=A(require("react")),P=A(require("@radix-ui/react-dialog")),We=require("lucide-react");var Ge=require("clsx");var be="-",ft=e=>{let t=bt(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:c=>{let o=c.split(be);return o[0]===""&&o.length!==1&&o.shift(),Ie(o,t)||gt(c)},getConflictingClassGroupIds:(c,o)=>{let v=r[c]||[];return o&&a[c]?[...v,...a[c]]:v}}},Ie=(e,t)=>{var c;if(e.length===0)return t.classGroupId;let r=e[0],a=t.nextPart.get(r),l=a?Ie(e.slice(1),a):void 0;if(l)return l;if(t.validators.length===0)return;let s=e.join(be);return(c=t.validators.find(({validator:o})=>o(s)))==null?void 0:c.classGroupId},Te=/^\[(.+)\]$/,gt=e=>{if(Te.test(e)){let t=Te.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},bt=e=>{let{theme:t,prefix:r}=e,a={nextPart:new Map,validators:[]};return ht(Object.entries(e.classGroups),r).forEach(([s,c])=>{ge(c,a,s,t)}),a},ge=(e,t,r,a)=>{e.forEach(l=>{if(typeof l=="string"){let s=l===""?t:ze(t,l);s.classGroupId=r;return}if(typeof l=="function"){if(vt(l)){ge(l(a),t,r,a);return}t.validators.push({validator:l,classGroupId:r});return}Object.entries(l).forEach(([s,c])=>{ge(c,ze(t,s),r,a)})})},ze=(e,t)=>{let r=e;return t.split(be).forEach(a=>{r.nextPart.has(a)||r.nextPart.set(a,{nextPart:new Map,validators:[]}),r=r.nextPart.get(a)}),r},vt=e=>e.isThemeGetter,ht=(e,t)=>t?e.map(([r,a])=>{let l=a.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([c,o])=>[t+c,o])):s);return[r,l]}):e,yt=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,a=new Map,l=(s,c)=>{r.set(s,c),t++,t>e&&(t=0,a=r,r=new Map)};return{get(s){let c=r.get(s);if(c!==void 0)return c;if((c=a.get(s))!==void 0)return l(s,c),c},set(s,c){r.has(s)?r.set(s,c):l(s,c)}}},Le="!",xt=e=>{let{separator:t,experimentalParseClassName:r}=e,a=t.length===1,l=t[0],s=t.length,c=o=>{let v=[],x=0,S=0,D;for(let g=0;g<o.length;g++){let C=o[g];if(x===0){if(C===l&&(a||o.slice(g,g+s)===t)){v.push(o.slice(S,g)),S=g+s;continue}if(C==="/"){D=g;continue}}C==="["?x++:C==="]"&&x--}let N=v.length===0?o:o.substring(S),R=N.startsWith(Le),h=R?N.substring(1):N,w=D&&D>S?D-S:void 0;return{modifiers:v,hasImportantModifier:R,baseClassName:h,maybePostfixModifierPosition:w}};return r?o=>r({className:o,parseClassName:c}):c},wt=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(a=>{a[0]==="["?(t.push(...r.sort(),a),r=[]):r.push(a)}),t.push(...r.sort()),t},Pt=e=>({cache:yt(e.cacheSize),parseClassName:xt(e),...ft(e)}),St=/\s+/,Ct=(e,t)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:l}=t,s=[],c=e.trim().split(St),o="";for(let v=c.length-1;v>=0;v-=1){let x=c[v],{modifiers:S,hasImportantModifier:D,baseClassName:N,maybePostfixModifierPosition:R}=r(x),h=!!R,w=a(h?N.substring(0,R):N);if(!w){if(!h){o=x+(o.length>0?" "+o:o);continue}if(w=a(N),!w){o=x+(o.length>0?" "+o:o);continue}h=!1}let g=wt(S).join(":"),C=D?g+Le:g,k=C+w;if(s.includes(k))continue;s.push(k);let E=l(w,h);for(let I=0;I<E.length;++I){let F=E[I];s.push(C+F)}o=x+(o.length>0?" "+o:o)}return o};function Rt(){let e=0,t,r,a="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Me(t))&&(a&&(a+=" "),a+=r);return a}var Me=e=>{if(typeof e=="string")return e;let t,r="";for(let a=0;a<e.length;a++)e[a]&&(t=Me(e[a]))&&(r&&(r+=" "),r+=t);return r};function Nt(e,...t){let r,a,l,s=c;function c(v){let x=t.reduce((S,D)=>D(S),e());return r=Pt(x),a=r.cache.get,l=r.cache.set,s=o,o(v)}function o(v){let x=a(v);if(x)return x;let S=Ct(v,r);return l(v,S),S}return function(){return s(Rt.apply(null,arguments))}}var b=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Ee=/^\[(?:([a-z-]+):)?(.+)\]$/T,kt=/^\d+\/\d+$/,Dt=new Set(["px","full","screen"]),At=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Tt=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|T|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,zt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,It=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Lt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,M=e=>$(e)||Dt.has(e)||kt.test(e),B=e=>J(e,"length",Ut),$=e=>!!e&&!Number.isNaN(Number(e)),fe=e=>J(e,"number",$),Z=e=>!!e&&Number.isInteger(Number(e)),Mt=e=>e.endsWith("%")&&$(e.slice(0,-1)),d=e=>Ee.test(e),V=e=>At.test(e),Et=new Set(["length","size","percentage"]),Bt=e=>J(e,Et,Be),Vt=e=>J(e,"position",Be),Gt=new Set(["image","url"]),Wt=e=>J(e,Gt,jt),Ht=e=>J(e,"",Ft),Y=()=>!0,J=(e,t,r)=>{let a=Ee.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):r(a[2]):!1},Ut=e=>Tt.test(e)&&!zt.test(e),Be=()=>!1,Ft=e=>It.test(e),jt=e=>Lt.test(e);var Ot=()=>{let e=b("colors"),t=b("spacing"),r=b("blur"),a=b("brightness"),l=b("borderColor"),s=b("borderRadius"),c=b("borderSpacing"),o=b("borderWidth"),v=b("contrast"),x=b("grayscale"),S=b("hueRotate"),D=b("invert"),N=b("gap"),R=b("gradientColorStops"),h=b("gradientColorStopPositions"),w=b("inset"),g=b("margin"),C=b("opacity"),k=b("padding"),E=b("saturate"),I=b("scale"),F=b("sepia"),q=b("skew"),X=b("space"),K=b("translate"),_=()=>["auto","contain","none"],n=()=>["auto","hidden","clip","visible","scroll"],m=()=>["auto",d,t],f=()=>[d,t],ae=()=>["",M,B],ie=()=>["auto",$,d],Ne=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],ne=()=>["solid","dashed","dotted","double","none"],ke=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ue=()=>["start","end","center","between","around","evenly","stretch"],Q=()=>["","0",d],De=()=>["auto","avoid","all","avoid-page","page","left","right","column"],L=()=>[$,d];return{cacheSize:500,separator:":",theme:{colors:[Y],spacing:[M,B],blur:["none","",V,d],brightness:L(),borderColor:[e],borderRadius:["none","","full",V,d],borderSpacing:f(),borderWidth:ae(),contrast:L(),grayscale:Q(),hueRotate:L(),invert:Q(),gap:f(),gradientColorStops:[e],gradientColorStopPositions:[Mt,B],inset:m(),margin:m(),opacity:L(),padding:f(),saturate:L(),scale:L(),sepia:Q(),skew:L(),space:f(),translate:f()},classGroups:{aspect:[{aspect:["auto","square","video",d]}],container:["container"],columns:[{columns:[V]}],"break-after":[{"break-after":De()}],"break-before":[{"break-before":De()}],"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:[...Ne(),d]}],overflow:[{overflow:n()}],"overflow-x":[{"overflow-x":n()}],"overflow-T":[{"overflow-T":n()}],overscroll:[{overscroll:_()}],"overscroll-x":[{"overscroll-x":_()}],"overscroll-T":[{"overscroll-T":_()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[w]}],"inset-x":[{"inset-x":[w]}],"inset-T":[{"inset-T":[w]}],start:[{start:[w]}],end:[{end:[w]}],top:[{top:[w]}],right:[{right:[w]}],bottom:[{bottom:[w]}],left:[{left:[w]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Z,d]}],basis:[{basis:m()}],"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:Q()}],shrink:[{shrink:Q()}],order:[{order:["first","last","none",Z,d]}],"grid-cols":[{"grid-cols":[Y]}],"col-start-end":[{col:["auto",{span:["full",Z,d]},d]}],"col-start":[{"col-start":ie()}],"col-end":[{"col-end":ie()}],"grid-rows":[{"grid-rows":[Y]}],"row-start-end":[{row:["auto",{span:[Z,d]},d]}],"row-start":[{"row-start":ie()}],"row-end":[{"row-end":ie()}],"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:[N]}],"gap-x":[{"gap-x":[N]}],"gap-T":[{"gap-T":[N]}],"justify-content":[{justify:["normal",...ue()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ue(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ue(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[k]}],px:[{px:[k]}],py:[{py:[k]}],ps:[{ps:[k]}],T:[{T:[k]}],pt:[{pt:[k]}],pr:[{pr:[k]}],pb:[{pb:[k]}],pl:[{pl:[k]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[X]}],"space-x-reverse":["space-x-reverse"],"space-T":[{"space-T":[X]}],"space-T-reverse":["space-T-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:[V]},V]}],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",V,B]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",fe]}],"font-family":[{font:[Y]}],"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",$,fe]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",M,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":[C]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[C]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ne(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",M,B]}],"underline-offset":[{"underline-offset":["auto",M,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:f()}],"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":[C]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Ne(),Vt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","T","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Bt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Wt]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[h]}],"gradient-via-pos":[{via:[h]}],"gradient-to-pos":[{to:[h]}],"gradient-from":[{from:[R]}],"gradient-via":[{via:[R]}],"gradient-to":[{to:[R]}],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:[o]}],"border-w-x":[{"border-x":[o]}],"border-w-T":[{"border-T":[o]}],"border-w-s":[{"border-s":[o]}],"border-w-e":[{"border-e":[o]}],"border-w-t":[{"border-t":[o]}],"border-w-r":[{"border-r":[o]}],"border-w-b":[{"border-b":[o]}],"border-w-l":[{"border-l":[o]}],"border-opacity":[{"border-opacity":[C]}],"border-style":[{border:[...ne(),"hidden"]}],"divide-x":[{"divide-x":[o]}],"divide-x-reverse":["divide-x-reverse"],"divide-T":[{"divide-T":[o]}],"divide-T-reverse":["divide-T-reverse"],"divide-opacity":[{"divide-opacity":[C]}],"divide-style":[{divide:ne()}],"border-color":[{border:[l]}],"border-color-x":[{"border-x":[l]}],"border-color-T":[{"border-T":[l]}],"border-color-s":[{"border-s":[l]}],"border-color-e":[{"border-e":[l]}],"border-color-t":[{"border-t":[l]}],"border-color-r":[{"border-r":[l]}],"border-color-b":[{"border-b":[l]}],"border-color-l":[{"border-l":[l]}],"divide-color":[{divide:[l]}],"outline-style":[{outline:["",...ne()]}],"outline-offset":[{"outline-offset":[M,d]}],"outline-w":[{outline:[M,B]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:ae()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[C]}],"ring-offset-w":[{"ring-offset":[M,B]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",V,Ht]}],"shadow-color":[{shadow:[Y]}],opacity:[{opacity:[C]}],"mix-blend":[{"mix-blend":[...ke(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ke()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[v]}],"drop-shadow":[{"drop-shadow":["","none",V,d]}],grayscale:[{grayscale:[x]}],"hue-rotate":[{"hue-rotate":[S]}],invert:[{invert:[D]}],saturate:[{saturate:[E]}],sepia:[{sepia:[F]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[v]}],"backdrop-grayscale":[{"backdrop-grayscale":[x]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[S]}],"backdrop-invert":[{"backdrop-invert":[D]}],"backdrop-opacity":[{"backdrop-opacity":[C]}],"backdrop-saturate":[{"backdrop-saturate":[E]}],"backdrop-sepia":[{"backdrop-sepia":[F]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[c]}],"border-spacing-x":[{"border-spacing-x":[c]}],"border-spacing-T":[{"border-spacing-T":[c]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",d]}],duration:[{duration:L()}],ease:[{ease:["linear","in","out","in-out",d]}],delay:[{delay:L()}],animate:[{animate:["none","spin","ping","pulse","bounce",d]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[I]}],"scale-x":[{"scale-x":[I]}],"scale-T":[{"scale-T":[I]}],rotate:[{rotate:[Z,d]}],"translate-x":[{"translate-x":[K]}],"translate-T":[{"translate-T":[K]}],"skew-x":[{"skew-x":[q]}],"skew-T":[{"skew-T":[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","T","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":f()}],"scroll-mx":[{"scroll-mx":f()}],"scroll-my":[{"scroll-my":f()}],"scroll-ms":[{"scroll-ms":f()}],"scroll-me":[{"scroll-me":f()}],"scroll-mt":[{"scroll-mt":f()}],"scroll-mr":[{"scroll-mr":f()}],"scroll-mb":[{"scroll-mb":f()}],"scroll-ml":[{"scroll-ml":f()}],"scroll-p":[{"scroll-p":f()}],"scroll-px":[{"scroll-px":f()}],"scroll-py":[{"scroll-py":f()}],"scroll-ps":[{"scroll-ps":f()}],"scroll-T":[{"scroll-T":f()}],"scroll-pt":[{"scroll-pt":f()}],"scroll-pr":[{"scroll-pr":f()}],"scroll-pb":[{"scroll-pb":f()}],"scroll-pl":[{"scroll-pl":f()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","T","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-T":[{"touch-pan":["T","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:[M,B,fe]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-T"],overscroll:["overscroll-x","overscroll-T"],inset:["inset-x","inset-T","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-T":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-T"],p:["px","py","ps","T","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-T"],"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-T":["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-T":["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-T","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-T","touch-pz"],"touch-x":["touch"],"touch-T":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Ve=Nt(Ot);function u(...e){return Ve((0,Ge.clsx)(e))}var T=require("react/jsx-runtime"),He=P.Root;var _t=P.Portal;var Ue=ee.forwardRef(({className:e,...t},r)=>(0,T.jsx)(P.Overlay,{ref:r,className:u("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));Ue.displayName=P.Overlay.displayName;var ve=ee.forwardRef(({className:e,children:t,...r},a)=>(0,T.jsxs)(_t,{children:[(0,T.jsx)(Ue,{}),(0,T.jsxs)(P.Content,{ref:a,className:u("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-T-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",e),...r,children:[t,(0,T.jsxs)(P.Close,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,T.jsx)(We.X,{className:"h-4 w-4"}),(0,T.jsx)("span",{className:"sr-only",children:"Close"})]})]})]}));ve.displayName=P.Content.displayName;var he=({className:e,...t})=>(0,T.jsx)("div",{className:u("flex flex-col space-T-1.5 text-center sm:text-left",e),...t});he.displayName="DialogHeader";var $t=({className:e,...t})=>(0,T.jsx)("div",{className:u("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});$t.displayName="DialogFooter";var ye=ee.forwardRef(({className:e,...t},r)=>(0,T.jsx)(P.Title,{ref:r,className:u("text-lg font-semibold leading-none tracking-tight",e),...t}));ye.displayName=P.Title.displayName;var Jt=ee.forwardRef(({className:e,...t},r)=>(0,T.jsx)(P.Description,{ref:r,className:u("text-sm text-muted-foreground",e),...t}));Jt.displayName=P.Description.displayName;var Fe=require("@radix-ui/react-slot"),je=require("class-variance-authority"),Oe=A(require("react")),qt=(0,je.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),te=Oe.forwardRef(({asChild:e=!1,className:t,size:r,variant:a,...l},s)=>(0,T.jsx)(e?Fe.Slot:"button",{className:u(qt({className:t,size:r,variant:a})),ref:s,...l}));te.displayName="Button";var $e=A(require("react"));var re=$e.forwardRef(({className:e,type:t,...r},a)=>(0,T.jsx)("input",{type:t,className:u("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),ref:a,...r}));re.displayName="Input";var qe=A(require("react")),xe=A(require("@radix-ui/react-label"));var Xt=(0,je.cva)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),G=qe.forwardRef(({className:e,...t},r)=>(0,T.jsx)(xe.Root,{ref:r,className:u(Xt(),e),...t}));G.displayName=xe.Root.displayName;var Qe=A(require("react")),we=Qe.forwardRef(({className:e,...t},r)=>(0,T.jsx)("textarea",{className:u("flex min-h-[80px] w-full rounded border border-border bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),ref:r,...t}));we.displayName="Textarea";var p=A(require("@radix-ui/react-select")),W=A(require("react")),Pe=p.Root;var Se=p.Value,le=W.forwardRef(({children:e,className:t,...r},a)=>(0,T.jsxs)(p.Trigger,{className:u("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:a,...r,children:[e,(0,T.jsx)(p.Icon,{asChild:!0,children:(0,T.jsx)(We.ChevronDown,{className:"h-4 w-4 opacity-50"})})]}));le.displayName=p.Trigger.displayName;var Ye=W.forwardRef(({className:e,...t},r)=>(0,T.jsx)(p.ScrollUpButton,{className:u("flex cursor-default items-center justify-center py-1",e),ref:r,...t,children:(0,T.jsx)(We.ChevronUp,{className:"h-4 w-4"})}));Ye.displayName=p.ScrollUpButton.displayName;var et=W.forwardRef(({className:e,...t},r)=>(0,T.jsx)(p.ScrollDownButton,{className:u("flex cursor-default items-center justify-center py-1",e),ref:r,...t,children:(0,T.jsx)(We.ChevronDown,{className:"h-4 w-4"})}));et.displayName=p.ScrollDownButton.displayName;var ce=W.forwardRef(({children:e,className:t,position:r="popper",...a},l)=>(0,T.jsx)(p.Portal,{children:(0,T.jsxs)(p.Content,{className:u("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-T-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-T-1",t),position:r,ref:l,...a,children:[(0,T.jsx)(Ye,{}),(0,T.jsx)(p.Viewport,{className:u("p-1",r==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:e}),(0,T.jsx)(et,{})]})}));ce.displayName=p.Content.displayName;var Kt=W.forwardRef(({className:e,...t},r)=>(0,T.jsx)(p.Label,{className:u("py-1.5 pl-8 pr-2 text-sm font-semibold",e),ref:r,...t}));Kt.displayName=p.Label.displayName;var de=W.forwardRef(({children:e,className:t,...r},a)=>(0,T.jsxs)(p.Item,{className:u("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:a,...r,children:[(0,T.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,T.jsx)(p.ItemIndicator,{children:(0,T.jsx)(We.Check,{className:"h-4 w-4"})})}),(0,T.jsx)(p.ItemText,{children:e})]}));de.displayName=p.Item.displayName;var Qt=W.forwardRef(({className:e,...t},r)=>(0,T.jsx)(p.Separator,{className:u("-mx-1 my-1 h-px bg-muted",e),ref:r,...t}));Qt.displayName=p.Separator.displayName;var oe=A(require("@radix-ui/react-checkbox")),rt=A(require("react")),Ce=rt.forwardRef(({className:e,...t},r)=>(0,T.jsx)(oe.Root,{className:u("peer h-4 w-4 shrink-0 rounded border border-primary ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",e),ref:r,...t,children:(0,T.jsx)(oe.Indicator,{className:u("flex items-center justify-center text-current"),children:(0,T.jsx)(We.Check,{className:"h-4 w-4"})})}));Ce.displayName=oe.Root.displayName;var Zt=(0,je.cva)("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function at({className:e,variant:t,...r}){return(0,T.jsx)("div",{className:u(Zt({variant:t}),e),...r})}var Re=A(require("react")),z=A(require("@radix-ui/react-scroll-area"));var me=Re.forwardRef(({className:e,children:t,...r},a)=>(0,T.jsxs)(z.Root,{ref:a,className:u("relative overflow-hidden",e),...r,children:[(0,T.jsx)(z.Viewport,{className:"h-full w-full rounded-[inherit]",children:t}),(0,T.jsx)(nt,{}),(0,T.jsx)(z.Corner,{})]}));me.displayName=z.Root.displayName;var nt=Re.forwardRef(({className:e,orientation:t="vertical",...r},a)=>(0,T.jsx)(z.ScrollAreaScrollbar,{ref:a,orientation:t,className:u("flex touch-none select-none transition-colors",t==="vertical"&&"h-full w-2.5 border-l border-l-transparent p-[1px]",t==="horizontal"&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",e),...r,children:(0,T.jsx)(z.ScrollAreaThumb,{className:"relative flex-1 rounded-full bg-border"})}));nt.displayName=z.ScrollAreaScrollbar.displayName;function Yt({deal:e,users:t,customer:r,categories:a,onClose:l,onSave:s,onAddComment:c}){var F,q,X,K,_;let[o,v]=(0,O.useState)({...e,value:e.value||0,comments:e.comments||[],customer:e.customer||{}}),[x,S]=(0,O.useState)(""),[D,N]=(0,O.useState)(!1),[R,h]=(0,O.useState)(null);(0,O.useEffect)(()=>{N(JSON.stringify(e)!==JSON.stringify(o))},[e,o]);let w=async()=>{try{let n=await s(o);n.success?(N(!1),h(null)):console.error("Failed to save deal:",n.errors)}catch(n){console.error("Failed to save deal:",n)}},g=(n,m)=>{v(f=>({...f,[n]:m}))},C=n=>{let m=(o.categories||[]).includes(n)?(o.categories||[]).filter(f=>f!==n):[...o.categories||[],n];g("categories",m)},k=async()=>{if(x.trim()){let n={text:x,timestamp:new Date().toISOString()};try{let m=await c(n);if(!m.success){console.error("Failed to add comment:",m.errors);return}}catch(m){console.error("Failed to add comment:",m)}v(m=>({...m,comments:[...m.comments||[],n]})),S("")}},E=n=>{switch(n){case"proposition":return"bg-blue-100 text-blue-800";case"source":return"bg-green-100 text-green-800";case"sector":return"bg-purple-100 text-purple-800";default:return"bg-gray-100 text-gray-800"}},I=n=>t==null?void 0:t.find(m=>m.id===Number(n));return(0,T.jsx)(He,{open:!0,children:(0,T.jsxs)(ve,{className:"max-w-3xl max-h-[90vh] overflow-hidden flex flex-col [&>button:last-child]:hidden",children:[(0,T.jsxs)(he,{className:"flex flex-row items-center justify-between",children:[(0,T.jsx)(ye,{className:"text-2xl font-bold",children:r==null?void 0:r.name}),(0,T.jsxs)("div",{className:"flex space-x-2",children:[(0,T.jsx)(te,{variant:"outline",onClick:l,children:"Close"}),(0,T.jsxs)(te,{onClick:w,disabled:!D,children:[(0,T.jsx)(We.SaveIcon,{className:"w-4 h-4 mr-2"}),"Save"]})]})]}),(0,T.jsxs)(me,{className:"flex-grow pr-4",children:[(0,T.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-4",children:[(0,T.jsx)("div",{className:"grid gap-2",children:R==="value"?(0,T.jsx)(re,{type:"number",value:o.value,onChange:n=>g("value",Number(n.target.value)),onBlur:()=>h(null),className:"text-3xl font-bold text-green-600",autoFocus:!0}):(0,T.jsxs)("div",{className:"text-3xl font-bold text-green-600 cursor-pointer hover:bg-gray-100 p-0 rounded",onClick:()=>h("value"),children:["\xA3",(F=o.value)==null?void 0:F.toLocaleString()]})}),(0,T.jsxs)("div",{className:"grid gap-2",children:[(0,T.jsx)(G,{className:"text-sm font-medium text-gray-500",children:"Assignee"}),R==="assignee"?(0,T.jsxs)(Pe,{value:((X=(q=o==null?void 0:o.assignee)==null?void 0:q.id)==null?void 0:X.toString())||"",onValueChange:n=>g("assignee",I(n)),children:[(0,T.jsx)(le,{children:(0,T.jsx)(Se,{placeholder:"Select assignee"})}),(0,T.jsx)(ce,{children:t&&t.map(n=>{var m;return(0,T.jsx)(de,{value:((m=n==null?void 0:n.id)==null?void 0:m.toString())||"",children:n.name},n.id)})})]}):(0,T.jsxs)("div",{className:"flex items-center space-x-2 cursor-pointer hover:bg-gray-100 p-0 rounded",onClick:()=>h("assignee"),children:[(0,T.jsx)(We.UserIcon,{className:"w-4 h-4 text-gray-400"}),(0,T.jsx)("span",{children:o.assignee.name})]})]}),(0,T.jsxs)("div",{className:"grid gap-2",children:[(0,T.jsx)(G,{className:"text-sm font-medium text-gray-500",children:"Closure Date"}),R==="closureDate"?(0,T.jsx)(re,{type:"date",value:(_=(K=o.closureDate)==null?void 0:K.split("T")[0])!=null?_:"",onChange:n=>g("closureDate",n.target.value),onBlur:()=>h(null),autoFocus:!0}):(0,T.jsxs)("div",{className:"flex items-center space-x-2 cursor-pointer hover:bg-gray-100 p-0 rounded",onClick:()=>h("closureDate"),children:[(0,T.jsx)(We.CalendarIcon,{className:"w-4 h-4 text-gray-400"}),(0,T.jsx)("span",{children:o.closureDate?new Date(o.closureDate).toLocaleDateString("en-GB"):"N/A"})]})]})]}),(0,T.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-1 gap-4",children:(0,T.jsxs)("div",{className:"grid gap-2",children:[(0,T.jsx)(G,{className:"text-sm font-medium text-gray-500",children:"Description"}),R==="description"?(0,T.jsx)(we,{value:o.description||"",onChange:n=>g("description",n.target.value),onBlur:()=>h(null),className:"min-h-[100px]",autoFocus:!0}):(0,T.jsx)("div",{className:"cursor-pointer hover:bg-gray-100 pb-5 rounded",onClick:()=>h("description"),children:o.description})]})}),(0,T.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-3 pt-2 gap-4",children:[(0,T.jsxs)("div",{className:"grid gap-2",children:[(0,T.jsx)(G,{className:"text-sm font-medium text-gray-500",children:"Status"}),R==="status"?(0,T.jsxs)(Pe,{value:o.status,onValueChange:n=>{g("status",n),h(null)},children:[(0,T.jsx)(le,{children:(0,T.jsx)(Se,{placeholder:"Select status"})}),(0,T.jsx)(ce,{children:["Cold","Qualified","Proposal Made","Won","Lost"].map(n=>(0,T.jsx)(de,{value:n,children:n},n))})]}):(0,T.jsx)("div",{className:"cursor-pointer hover:bg-gray-100 p-0 rounded",onClick:()=>h("status"),children:o.status})]}),(0,T.jsxs)("div",{className:"grid col-span-2 gap-2",children:[(0,T.jsx)(G,{className:"text-sm font-medium text-gray-500",children:"Categories"}),R==="categories"?(0,T.jsx)("div",{className:"grid grid-cols-2 gap-2",children:a.map(n=>{var m,f;return(0,T.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,T.jsx)(Ce,{id:((m=n.id)==null?void 0:m.toString())||"",checked:(o.categories||[]).some(ae=>ae.id===n.id),onCheckedChange:()=>n.id!==void 0&&C(n)}),(0,T.jsx)("label",{htmlFor:((f=n.id)!=null?f:"").toString(),className:`text-sm font-medium ${E(n.type||"sector")} px-2 py-1 rounded`,children:n.name})]},n.id)})}):(0,T.jsx)("div",{className:"flex flex-wrap gap-2 cursor-pointer hover:bg-gray-100 p-0 rounded",onClick:()=>h("categories"),children:o.categories&&o.categories.map(n=>{let m=n;return m?(0,T.jsx)(at,{variant:"secondary",className:E(m.type||"sector"),children:m.name},m.id):null})})]})]}),(0,T.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-1 pt-4 gap-4",children:[(0,T.jsxs)("div",{className:"grid gap-2",children:[(0,T.jsx)(G,{className:"text-sm font-medium text-gray-500",children:"Comments"}),(0,T.jsx)(me,{className:"h-[200px] overflow-T-auto",children:(0,T.jsx)("div",{className:"space-T-2",children:o.comments&&o.comments.slice().sort((n,m)=>new Date(m.timestamp||"").getTime()-new Date(n.timestamp||"").getTime()).map(n=>{var m;return(0,T.jsxs)("div",{className:"bg-gray-50 p-3 rounded-lg",children:[(0,T.jsx)("p",{className:"text-sm text-gray-700",children:n.text}),(0,T.jsxs)("p",{className:"text-xs text-gray-500 mt-1",children:[(m=n==null?void 0:n.author)==null?void 0:m.name," - ",new Date(n.timestamp||"").toLocaleString()]})]},n.id)})})}),(0,T.jsxs)("div",{className:"flex mt-2",children:[(0,T.jsx)(re,{value:x,onChange:n=>S(n.target.value),placeholder:"Add a comment...",className:"flex-grow"}),(0,T.jsxs)(te,{onClick:k,className:"ml-2",children:[(0,T.jsx)(We.PlusIcon,{className:"w-4 h-4 mr-2"}),"Add"]})]})]}),(0,T.jsxs)("div",{className:"text-xs text-gray-500 mt-4",children:["Last modified: ",new Date(o.updatedAt||"").toLocaleString()]})]})]})]})})}0&&(module.exports={DealDetails});
@@ -1 +1 @@
1
- import{a}from"../../chunk-BRFSZTQJ.mjs";import"../../chunk-4NKKWJ2X.mjs";import"../../chunk-4JC2TJML.mjs";import"../../chunk-A5EYIB3V.mjs";import"../../chunk-DWRQHV42.mjs";import"../../chunk-Y5ZFXDW5.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-QOIH63J3.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as DealDetails};
1
+ import{a}from"../../chunk-6YWAX7NS.mjs";import"../../chunk-4NKKWJ2X.mjs";import"../../chunk-4JC2TJML.mjs";import"../../chunk-A5EYIB3V.mjs";import"../../chunk-DWRQHV42.mjs";import"../../chunk-Y5ZFXDW5.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-QOIH63J3.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as DealDetails};