cortex-react-components 1.58.12 → 1.58.13

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 (221) hide show
  1. package/dist/{chunk-KIICLHKI.mjs → chunk-23BDC5JG.mjs} +1 -1
  2. package/dist/{chunk-RJGKFNZL.mjs → chunk-2A6JF3LE.mjs} +1 -1
  3. package/dist/{chunk-KB6PO4K4.mjs → chunk-2IKC7MAP.mjs} +1 -1
  4. package/dist/{chunk-GYUMEOL2.mjs → chunk-2SU53XDR.mjs} +1 -1
  5. package/dist/{chunk-PVANMXYC.mjs → chunk-35IEPMLE.mjs} +1 -1
  6. package/dist/{chunk-Z7P4QOKT.mjs → chunk-4TCLIMFP.mjs} +1 -1
  7. package/dist/{chunk-6DHYRATS.mjs → chunk-4YJ3HV64.mjs} +1 -1
  8. package/dist/{chunk-3GYJDXNA.mjs → chunk-6YWAX7NS.mjs} +1 -1
  9. package/dist/{chunk-43SFGWYH.mjs → chunk-7WZ2YSIQ.mjs} +1 -1
  10. package/dist/{chunk-2OZZS6Y7.mjs → chunk-AC7GSJ3J.mjs} +1 -1
  11. package/dist/{chunk-7XB4Y3U2.mjs → chunk-CSNKYRV5.mjs} +1 -1
  12. package/dist/{chunk-T4I5D4XZ.mjs → chunk-D44ZXHH4.mjs} +1 -1
  13. package/dist/{chunk-KQJLOUAU.mjs → chunk-D7A7EUEW.mjs} +1 -1
  14. package/dist/{chunk-JPFBD2KD.mjs → chunk-FCCL6W7R.mjs} +1 -1
  15. package/dist/{chunk-LOXWNWF5.mjs → chunk-H6FCIWZG.mjs} +1 -1
  16. package/dist/{chunk-MLDVH35S.mjs → chunk-HTDLKVHO.mjs} +1 -1
  17. package/dist/{chunk-Y7BGUD4H.mjs → chunk-IN7DGTUY.mjs} +1 -1
  18. package/dist/{chunk-SBAFXZVU.mjs → chunk-IO222G5L.mjs} +1 -1
  19. package/dist/{chunk-XXTN5HMN.mjs → chunk-MGS3DQ22.mjs} +1 -1
  20. package/dist/{chunk-HOSVBADM.mjs → chunk-N7X76PPD.mjs} +1 -1
  21. package/dist/{chunk-3PVAC7QH.mjs → chunk-O2PTYAQ3.mjs} +1 -1
  22. package/dist/{chunk-HVH6GVXL.mjs → chunk-O2QPO6MB.mjs} +1 -1
  23. package/dist/{chunk-52RTSWUY.mjs → chunk-PAJYEWHU.mjs} +1 -1
  24. package/dist/{chunk-OUKKI47A.mjs → chunk-PIM2JQYT.mjs} +1 -1
  25. package/dist/{chunk-EKJTOIRO.mjs → chunk-QAM3H3YJ.mjs} +1 -1
  26. package/dist/{chunk-TWRX2C4T.mjs → chunk-QGDEG5WP.mjs} +1 -1
  27. package/dist/chunk-QJ2GMZM3.mjs +4 -0
  28. package/dist/{chunk-PY53YVFX.mjs → chunk-QMFZRG7O.mjs} +1 -1
  29. package/dist/{chunk-LRCGDMVE.mjs → chunk-R7SXRY6I.mjs} +1 -1
  30. package/dist/{chunk-ZKQOEWNN.mjs → chunk-S3Y4VVPB.mjs} +1 -1
  31. package/dist/{chunk-5NIBAKPA.mjs → chunk-SG4TZDLH.mjs} +1 -1
  32. package/dist/{chunk-Y7IVNGA7.mjs → chunk-SNFV4LXV.mjs} +1 -1
  33. package/dist/{chunk-YVPT2KEF.mjs → chunk-TOFM7RFJ.mjs} +1 -1
  34. package/dist/{chunk-7IZ2X75V.mjs → chunk-TZE7RZAV.mjs} +1 -1
  35. package/dist/{chunk-BV52OTFX.mjs → chunk-UGVPEWKX.mjs} +1 -1
  36. package/dist/{chunk-MNG2TOD6.mjs → chunk-UVCMN6CZ.mjs} +1 -1
  37. package/dist/chunk-VKY5SRVF.mjs +1 -0
  38. package/dist/{chunk-KLCZHZKQ.mjs → chunk-WRPTP2UD.mjs} +1 -1
  39. package/dist/{chunk-MVM2Q5W3.mjs → chunk-WVG7BNRR.mjs} +1 -1
  40. package/dist/{chunk-ZYFDXXLB.mjs → chunk-XDQVZLNN.mjs} +1 -1
  41. package/dist/{chunk-6U7OZMGH.mjs → chunk-Y2GKVAQN.mjs} +1 -1
  42. package/dist/{chunk-LNFROMKC.mjs → chunk-YYUXMZ2B.mjs} +1 -1
  43. package/dist/{chunk-G4YPHF7Y.mjs → chunk-ZHFVEJXB.mjs} +1 -1
  44. package/dist/{chunk-HER7J6HM.mjs → chunk-ZIWHUQ4D.mjs} +1 -1
  45. package/dist/{chunk-VT6OEPW3.mjs → chunk-ZKR652D6.mjs} +1 -1
  46. package/dist/components/Blocks/Banner.js +1 -1
  47. package/dist/components/Blocks/Banner.mjs +1 -1
  48. package/dist/components/Blocks/CallToAction.js +1 -1
  49. package/dist/components/Blocks/CallToAction.mjs +1 -1
  50. package/dist/components/Blocks/CallToAction.stories.js +1 -1
  51. package/dist/components/Blocks/CallToAction.stories.mjs +1 -1
  52. package/dist/components/Blocks/CollapsibleArea.js +1 -1
  53. package/dist/components/Blocks/CollapsibleArea.mjs +1 -1
  54. package/dist/components/Blocks/CollapsibleArea.stories.js +1 -1
  55. package/dist/components/Blocks/CollapsibleArea.stories.mjs +1 -1
  56. package/dist/components/Blocks/Content.js +1 -1
  57. package/dist/components/Blocks/Content.mjs +1 -1
  58. package/dist/components/Blocks/Content.stories.js +1 -1
  59. package/dist/components/Blocks/Content.stories.mjs +1 -1
  60. package/dist/components/Blocks/FeaturesBlock.js +1 -1
  61. package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
  62. package/dist/components/Blocks/FeaturesBlock.stories.js +1 -1
  63. package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
  64. package/dist/components/Blocks/ImageBlock.mjs +1 -1
  65. package/dist/components/Blocks/MediaBlock.mjs +1 -1
  66. package/dist/components/Blocks/RelatedPosts.js +1 -1
  67. package/dist/components/Blocks/RelatedPosts.mjs +1 -1
  68. package/dist/components/Blocks/RenderBlocks.js +1 -1
  69. package/dist/components/Blocks/RenderBlocks.mjs +1 -1
  70. package/dist/components/Blocks/ReusableContentBlock.js +1 -1
  71. package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
  72. package/dist/components/Blocks/index.js +1 -1
  73. package/dist/components/Blocks/index.mjs +1 -1
  74. package/dist/components/CRM/DealDetails.mjs +1 -1
  75. package/dist/components/CRM/DealDetails.stories.mjs +1 -1
  76. package/dist/components/CRM/KanbanBoard.mjs +1 -1
  77. package/dist/components/CRM/KanbanBoard.stories.mjs +1 -1
  78. package/dist/components/CRM/KanbanColumn.mjs +1 -1
  79. package/dist/components/CRM/KanbanColumn.stories.mjs +1 -1
  80. package/dist/components/CRM/NewDealForm.mjs +1 -1
  81. package/dist/components/CRM/NewDealForm.stories.mjs +1 -1
  82. package/dist/components/CRM/index.mjs +1 -1
  83. package/dist/components/Cards/ContentCard.js +1 -1
  84. package/dist/components/Cards/ContentCard.mjs +1 -1
  85. package/dist/components/Cards/ContentCard.stories.js +1 -1
  86. package/dist/components/Cards/ContentCard.stories.mjs +1 -1
  87. package/dist/components/Cards/FeatureCard.js +1 -1
  88. package/dist/components/Cards/FeatureCard.mjs +1 -1
  89. package/dist/components/Cards/FeatureCard.stories.js +1 -1
  90. package/dist/components/Cards/FeatureCard.stories.mjs +1 -1
  91. package/dist/components/Cards/index.js +1 -1
  92. package/dist/components/Cards/index.mjs +1 -1
  93. package/dist/components/DigitalColleagues/AppSidebarLeft.mjs +1 -1
  94. package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
  95. package/dist/components/DigitalColleagues/MainPage.stories.mjs +1 -1
  96. package/dist/components/HeaderFooter/SectionHeading.js +1 -1
  97. package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
  98. package/dist/components/Heros/HighImpact/index.js +1 -1
  99. package/dist/components/Heros/HighImpact/index.mjs +1 -1
  100. package/dist/components/Heros/LowImpact/index.js +1 -1
  101. package/dist/components/Heros/LowImpact/index.mjs +1 -1
  102. package/dist/components/Heros/MediumImpact/index.js +1 -1
  103. package/dist/components/Heros/MediumImpact/index.mjs +1 -1
  104. package/dist/components/Heros/PostHero/index.mjs +1 -1
  105. package/dist/components/Heros/RenderHero.js +1 -1
  106. package/dist/components/Heros/RenderHero.mjs +1 -1
  107. package/dist/components/Heros/index.js +1 -1
  108. package/dist/components/Heros/index.mjs +1 -1
  109. package/dist/components/Holidays/HolidayTracker.mjs +1 -1
  110. package/dist/components/Holidays/HolidayTracker.stories.mjs +1 -1
  111. package/dist/components/Holidays/index.mjs +1 -1
  112. package/dist/components/Layouts/FeatureGrid.stories.js +1 -1
  113. package/dist/components/Layouts/FeatureGrid.stories.mjs +1 -1
  114. package/dist/components/Layouts/OutputHeaderFooter.js +1 -1
  115. package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
  116. package/dist/components/Layouts/Print.js +1 -1
  117. package/dist/components/Layouts/Print.mjs +1 -1
  118. package/dist/components/Layouts/Print.stories.js +1 -1
  119. package/dist/components/Layouts/Print.stories.mjs +1 -1
  120. package/dist/components/Layouts/SlideShow.js +1 -1
  121. package/dist/components/Layouts/SlideShow.mjs +1 -1
  122. package/dist/components/Layouts/SlideShow.stories.js +1 -1
  123. package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
  124. package/dist/components/Layouts/index.js +1 -1
  125. package/dist/components/Layouts/index.mjs +1 -1
  126. package/dist/components/Menus/SidebarLeft.mjs +1 -1
  127. package/dist/components/Menus/SidebarLeft.stories.mjs +1 -1
  128. package/dist/components/Menus/SidebarRight.mjs +1 -1
  129. package/dist/components/Menus/SidebarRight.stories.mjs +1 -1
  130. package/dist/components/Menus/index.mjs +1 -1
  131. package/dist/components/Payload/Card/index.mjs +1 -1
  132. package/dist/components/Payload/CollectionArchive/index.mjs +1 -1
  133. package/dist/components/Payload/Media/index.mjs +1 -1
  134. package/dist/components/Payload/RichText/index.js +1 -1
  135. package/dist/components/Payload/RichText/index.mjs +1 -1
  136. package/dist/components/Payload/RichText/serialize.js +1 -1
  137. package/dist/components/Payload/RichText/serialize.mjs +1 -1
  138. package/dist/components/Payload/RichText.stories.js +1 -1
  139. package/dist/components/Payload/RichText.stories.mjs +1 -1
  140. package/dist/components/Payload/index.js +1 -1
  141. package/dist/components/Payload/index.mjs +1 -1
  142. package/dist/components/index.js +1 -1
  143. package/dist/components/index.mjs +1 -1
  144. package/dist/components/ui/index.mjs +1 -1
  145. package/dist/components/ui/sidebar.mjs +1 -1
  146. package/dist/globals.css +1 -1
  147. package/dist/index.js +2 -2
  148. package/dist/index.mjs +1 -1
  149. package/dist/metafile-cjs.json +1 -1
  150. package/dist/metafile-esm.json +1 -1
  151. package/dist/pages/Blog.js +1 -1
  152. package/dist/pages/Blog.mjs +1 -1
  153. package/dist/pages/Blog.stories.js +1 -1
  154. package/dist/pages/Blog.stories.mjs +1 -1
  155. package/dist/pages/Documentation.mjs +1 -1
  156. package/dist/pages/Documentation.stories.mjs +1 -1
  157. package/dist/pages/IndexPage.mjs +1 -1
  158. package/dist/pages/IndexPage.stories.mjs +1 -1
  159. package/dist/pages/Intranet.mjs +1 -1
  160. package/dist/pages/Intranet.stories.mjs +1 -1
  161. package/dist/pages/LandingPage.js +1 -1
  162. package/dist/pages/LandingPage.mjs +1 -1
  163. package/dist/pages/LandingPage.stories.js +1 -1
  164. package/dist/pages/LandingPage.stories.mjs +1 -1
  165. package/dist/pages/Page.js +1 -1
  166. package/dist/pages/Page.mjs +1 -1
  167. package/dist/pages/Page.stories.js +1 -1
  168. package/dist/pages/Page.stories.mjs +1 -1
  169. package/dist/pages/Printable.stories.js +1 -1
  170. package/dist/pages/Printable.stories.mjs +1 -1
  171. package/dist/pages/Publish.js +1 -1
  172. package/dist/pages/Publish.mjs +1 -1
  173. package/dist/pages/Publish.stories.js +1 -1
  174. package/dist/pages/Publish.stories.mjs +1 -1
  175. package/dist/pages/Website.js +1 -1
  176. package/dist/pages/Website.mjs +1 -1
  177. package/dist/pages/Website.stories.js +1 -1
  178. package/dist/pages/Website.stories.mjs +1 -1
  179. package/dist/sections/AboutSection.js +1 -1
  180. package/dist/sections/AboutSection.mjs +1 -1
  181. package/dist/sections/AboutSection.stories.js +1 -1
  182. package/dist/sections/AboutSection.stories.mjs +1 -1
  183. package/dist/sections/BlogDetail.js +1 -1
  184. package/dist/sections/BlogDetail.mjs +1 -1
  185. package/dist/sections/BlogDetail.stories.js +1 -1
  186. package/dist/sections/BlogDetail.stories.mjs +1 -1
  187. package/dist/sections/BlogList.js +1 -1
  188. package/dist/sections/BlogList.mjs +1 -1
  189. package/dist/sections/BlogList.stories.js +1 -1
  190. package/dist/sections/BlogList.stories.mjs +1 -1
  191. package/dist/sections/BlogListSection.mjs +1 -1
  192. package/dist/sections/BlogListSection.stories.mjs +1 -1
  193. package/dist/sections/ContactSection.js +1 -1
  194. package/dist/sections/ContactSection.mjs +1 -1
  195. package/dist/sections/ContactSection.stories.js +1 -1
  196. package/dist/sections/ContactSection.stories.mjs +1 -1
  197. package/dist/sections/ImageSection.stories.js +1 -1
  198. package/dist/sections/ImageSection.stories.mjs +1 -1
  199. package/dist/sections/PageSections.js +2 -2
  200. package/dist/sections/PageSections.mjs +1 -1
  201. package/dist/sections/PageSections.stories.js +1 -1
  202. package/dist/sections/PageSections.stories.mjs +1 -1
  203. package/dist/sections/PricingSection.js +1 -1
  204. package/dist/sections/PricingSection.mjs +1 -1
  205. package/dist/sections/PricingSection.stories.js +1 -1
  206. package/dist/sections/PricingSection.stories.mjs +1 -1
  207. package/dist/sections/ServiceDetail.js +1 -1
  208. package/dist/sections/ServiceDetail.mjs +1 -1
  209. package/dist/sections/ServiceDetailSection.js +1 -1
  210. package/dist/sections/ServiceDetailSection.mjs +1 -1
  211. package/dist/sections/ServiceDetailSection.stories.js +1 -1
  212. package/dist/sections/ServiceDetailSection.stories.mjs +1 -1
  213. package/dist/sections/ServiceSection.js +1 -1
  214. package/dist/sections/ServiceSection.mjs +1 -1
  215. package/dist/sections/ServiceSection.stories.js +1 -1
  216. package/dist/sections/ServiceSection.stories.mjs +1 -1
  217. package/dist/sections/index.js +1 -1
  218. package/dist/sections/index.mjs +1 -1
  219. package/package.json +1 -1
  220. package/dist/chunk-HRFDJD4E.mjs +0 -1
  221. package/dist/chunk-PFPDES6P.mjs +0 -4
@@ -1 +1 @@
1
- import{a as c}from"./chunk-MLDVH35S.mjs";import{a as l}from"./chunk-UESKYRNK.mjs";import{a as m}from"./chunk-NIQ4466A.mjs";import t from"next/image";import{Fragment as p,jsx as e,jsxs as i}from"react/jsx-runtime";function u(d){let{images:a,sectionHeading:n,keyPoints:s,description:o}=d;return e(p,{children:e("section",{id:"about-section",className:m(" clip-custom-top-l sticky md:top-0 md:h-screen z-2 flex flex-col items-center justify-center section-padding-primary dark bg-background",d.className||""),children:e(l,{children:i("div",{className:"grid items-center gap-12 lg:grid-cols-[.92fr_1fr] 2xl:gap-20",children:[i("div",{className:"lg:order-2","data-aos":"fade-left","data-aos-delay":"200",children:[e(c,{...n}),s&&s.length>0&&e("div",{className:"mt-7 grid gap-5 text-accent sm:grid-cols-2 md:mt-10 md:gap-[1.875rem]",children:s.map((r,g)=>i("div",{className:"group flex min-h-[64px] items-center gap-5 rounded-5 border border-accent px-6 py-2 md:min-h-[85px] md:px-[1.875rem] md:py-3",children:[e("span",{className:"duration flex-none scale-100 transition-transform ease-linear group-hover:scale-90",children:r.icon}),e("h3",{className:"text-md font-bold leading-[1.25] md:text-lg",children:r.title})]},g))}),o&&e("p",{className:"mt-5 text-primary md:mt-[1.875rem]",children:o})]}),a&&e("div",{className:"mx-auto text-center",children:i("div",{className:"relative mx-auto grid max-w-[580px] grid-cols-2 gap-2.5 overflow-hidden",children:[e("div",{className:"relative flex justify-end overflow-hidden",children:e("div",{className:"relative z-[2] mt-auto","data-aos":"fade-up","data-aos-delay":"200",children:e("div",{className:"relative z-[4] overflow-hidden",children:e(t,{src:a.image1.src,alt:a.image1.alt,width:a.image1.width,height:a.image1.height,className:"rounded-tl-[60px] object-cover object-top"})})})}),e("div",{className:"flex overflow-hidden",children:e(t,{src:a.image2.src,alt:a.image2.alt,width:a.image2.width,height:a.image2.height,className:"rounded-[80px_10px] object-cover","data-aos":"fade-right","data-aos-delay":"300"})}),e("div",{className:"ml-auto flex max-w-[250px] justify-end overflow-hidden",children:e(t,{src:a.image3.src,alt:a.image4.alt,width:a.image3.width,height:a.image3.height,className:"rounded-[50px_10px] object-cover","data-aos":"fade-left","data-aos-delay":"350"})}),e("div",{className:"overflow-hidden",children:e(t,{src:a.image4.src,alt:a.image4.alt,width:a.image4.width,height:a.image4.height,className:"rounded-10 rounded-br-[80px] object-cover","data-aos":"fade-right","data-aos-delay":"400"})}),e("div",{className:"absolute left-1/2 top-1/2 z-[4] -translate-x-1/2 -translate-y-1/2 overflow-hidden",children:e("div",{"data-aos":"zoom-in","data-aos-delay":"450",children:e("span",{className:"grid h-[100px] w-[100px] place-items-center rounded-full border-[12px] border-white bg-accent text-[30px] text-white",children:e("svg",{width:"1em",height:"1em",viewBox:"0 0 27 27",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:e("path",{d:"M26.8125 13.8672C26.8125 14.9922 25.875 15.9297 24.8125 15.9297H15.8125V24.9297C15.8125 25.9922 14.875 26.8672 13.8125 26.8672C12.6875 26.8672 11.8125 25.9922 11.8125 24.9297V15.9297H2.8125C1.6875 15.9297 0.8125 14.9922 0.8125 13.8672C0.8125 12.8047 1.6875 11.9297 2.8125 11.9297H11.8125V2.92969C11.8125 1.80469 12.6875 0.867188 13.8125 0.867188C14.875 0.867188 15.8125 1.80469 15.8125 2.92969V11.9297H24.8125C25.875 11.8672 26.8125 12.8047 26.8125 13.8672Z"})})})})})]})})]})})})})}export{u as a};
1
+ import{a as c}from"./chunk-HTDLKVHO.mjs";import{a as l}from"./chunk-UESKYRNK.mjs";import{a as m}from"./chunk-NIQ4466A.mjs";import t from"next/image";import{Fragment as p,jsx as e,jsxs as i}from"react/jsx-runtime";function u(d){let{images:a,sectionHeading:n,keyPoints:s,description:o}=d;return e(p,{children:e("section",{id:"about-section",className:m(" clip-custom-top-l sticky md:top-0 md:h-screen z-2 flex flex-col items-center justify-center section-padding-primary dark bg-background",d.className||""),children:e(l,{children:i("div",{className:"grid items-center gap-12 lg:grid-cols-[.92fr_1fr] 2xl:gap-20",children:[i("div",{className:"lg:order-2","data-aos":"fade-left","data-aos-delay":"200",children:[e(c,{...n}),s&&s.length>0&&e("div",{className:"mt-7 grid gap-5 text-accent sm:grid-cols-2 md:mt-10 md:gap-[1.875rem]",children:s.map((r,g)=>i("div",{className:"group flex min-h-[64px] items-center gap-5 rounded-5 border border-accent px-6 py-2 md:min-h-[85px] md:px-[1.875rem] md:py-3",children:[e("span",{className:"duration flex-none scale-100 transition-transform ease-linear group-hover:scale-90",children:r.icon}),e("h3",{className:"text-md font-bold leading-[1.25] md:text-lg",children:r.title})]},g))}),o&&e("p",{className:"mt-5 text-primary md:mt-[1.875rem]",children:o})]}),a&&e("div",{className:"mx-auto text-center",children:i("div",{className:"relative mx-auto grid max-w-[580px] grid-cols-2 gap-2.5 overflow-hidden",children:[e("div",{className:"relative flex justify-end overflow-hidden",children:e("div",{className:"relative z-[2] mt-auto","data-aos":"fade-up","data-aos-delay":"200",children:e("div",{className:"relative z-[4] overflow-hidden",children:e(t,{src:a.image1.src,alt:a.image1.alt,width:a.image1.width,height:a.image1.height,className:"rounded-tl-[60px] object-cover object-top"})})})}),e("div",{className:"flex overflow-hidden",children:e(t,{src:a.image2.src,alt:a.image2.alt,width:a.image2.width,height:a.image2.height,className:"rounded-[80px_10px] object-cover","data-aos":"fade-right","data-aos-delay":"300"})}),e("div",{className:"ml-auto flex max-w-[250px] justify-end overflow-hidden",children:e(t,{src:a.image3.src,alt:a.image4.alt,width:a.image3.width,height:a.image3.height,className:"rounded-[50px_10px] object-cover","data-aos":"fade-left","data-aos-delay":"350"})}),e("div",{className:"overflow-hidden",children:e(t,{src:a.image4.src,alt:a.image4.alt,width:a.image4.width,height:a.image4.height,className:"rounded-10 rounded-br-[80px] object-cover","data-aos":"fade-right","data-aos-delay":"400"})}),e("div",{className:"absolute left-1/2 top-1/2 z-[4] -translate-x-1/2 -translate-y-1/2 overflow-hidden",children:e("div",{"data-aos":"zoom-in","data-aos-delay":"450",children:e("span",{className:"grid h-[100px] w-[100px] place-items-center rounded-full border-[12px] border-white bg-accent text-[30px] text-white",children:e("svg",{width:"1em",height:"1em",viewBox:"0 0 27 27",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:e("path",{d:"M26.8125 13.8672C26.8125 14.9922 25.875 15.9297 24.8125 15.9297H15.8125V24.9297C15.8125 25.9922 14.875 26.8672 13.8125 26.8672C12.6875 26.8672 11.8125 25.9922 11.8125 24.9297V15.9297H2.8125C1.6875 15.9297 0.8125 14.9922 0.8125 13.8672C0.8125 12.8047 1.6875 11.9297 2.8125 11.9297H11.8125V2.92969C11.8125 1.80469 12.6875 0.867188 13.8125 0.867188C14.875 0.867188 15.8125 1.80469 15.8125 2.92969V11.9297H24.8125C25.875 11.8672 26.8125 12.8047 26.8125 13.8672Z"})})})})})]})})]})})})})}export{u as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as h}from"./chunk-WU3JMLSC.mjs";import{a as g}from"./chunk-BZAYEKYC.mjs";import{a as S}from"./chunk-SBAFXZVU.mjs";import{a as o,b as d,c as i,d as t,e as m,f as l}from"./chunk-AWFQEK7A.mjs";import{a as p}from"./chunk-PY53YVFX.mjs";import{a as c}from"./chunk-3YZN4MJB.mjs";import{b as s,d as b,f as u}from"./chunk-KB6PO4K4.mjs";import{a as n}from"./chunk-Y5VTKEKS.mjs";import{a as f}from"./chunk-RQ23CZK5.mjs";import{jsx as e,jsxs as r}from"react/jsx-runtime";function v({...a}){return r("div",{className:"bg-sidebar",children:[e(f,{isMenuOpen:!0,logoLight:g,logoDark:h,...a.header,wide:!0,className:"bg-sidebar"}),r(s,{className:"top-24 mb-4 h-full max-h-[calc(100vh-3.5rem)] flex-1 flex-row overflow-y-clip",children:[e(p,{...a.sidebarLeft,className:"flex-none top-24"}),r(u,{className:"grow overflow-hidden",children:[e("header",{className:"flex h-16 shrink-0 items-center gap-2",children:r("div",{className:"flex items-center gap-2 px-4",children:[e(b,{className:"-ml-1"}),e(n,{orientation:"vertical",className:"mr-2 h-4"}),e(o,{children:r(d,{children:[e(i,{className:"hidden md:block",children:e(t,{href:"#",children:"Building Your Application"})}),e(l,{className:"hidden md:block"}),e(i,{children:e(m,{children:"Data Fetching"})})]})})]})}),r("div",{className:"flex flex-1 flex-col gap-4 p-4 pt-0",children:[r("div",{className:"grid auto-rows-min gap-4 md:grid-cols-3",children:[e("div",{className:"aspect-video rounded-xl bg-muted/50"}),e("div",{className:"aspect-video rounded-xl bg-muted/50"}),e("div",{className:"aspect-video rounded-xl bg-muted/50"})]}),e("div",{className:"flex-1 rounded-xl bg-muted/50 md:min-h-min"})]})]}),e(S,{...a.sidebarRight,className:"flex-none top-24"})]}),e(c,{})]})}export{v as a};
4
+ import{a as h}from"./chunk-WU3JMLSC.mjs";import{a as g}from"./chunk-BZAYEKYC.mjs";import{a as S}from"./chunk-IO222G5L.mjs";import{a as o,b as d,c as i,d as t,e as m,f as l}from"./chunk-AWFQEK7A.mjs";import{a as p}from"./chunk-QMFZRG7O.mjs";import{a as c}from"./chunk-3YZN4MJB.mjs";import{b as s,d as b,f as u}from"./chunk-2IKC7MAP.mjs";import{a as n}from"./chunk-Y5VTKEKS.mjs";import{a as f}from"./chunk-RQ23CZK5.mjs";import{jsx as e,jsxs as r}from"react/jsx-runtime";function v({...a}){return r("div",{className:"bg-sidebar",children:[e(f,{isMenuOpen:!0,logoLight:g,logoDark:h,...a.header,wide:!0,className:"bg-sidebar"}),r(s,{className:"top-24 mb-4 h-full max-h-[calc(100vh-3.5rem)] flex-1 flex-row overflow-y-clip",children:[e(p,{...a.sidebarLeft,className:"flex-none top-24"}),r(u,{className:"grow overflow-hidden",children:[e("header",{className:"flex h-16 shrink-0 items-center gap-2",children:r("div",{className:"flex items-center gap-2 px-4",children:[e(b,{className:"-ml-1"}),e(n,{orientation:"vertical",className:"mr-2 h-4"}),e(o,{children:r(d,{children:[e(i,{className:"hidden md:block",children:e(t,{href:"#",children:"Building Your Application"})}),e(l,{className:"hidden md:block"}),e(i,{children:e(m,{children:"Data Fetching"})})]})})]})}),r("div",{className:"flex flex-1 flex-col gap-4 p-4 pt-0",children:[r("div",{className:"grid auto-rows-min gap-4 md:grid-cols-3",children:[e("div",{className:"aspect-video rounded-xl bg-muted/50"}),e("div",{className:"aspect-video rounded-xl bg-muted/50"}),e("div",{className:"aspect-video rounded-xl bg-muted/50"})]}),e("div",{className:"flex-1 rounded-xl bg-muted/50 md:min-h-min"})]})]}),e(S,{...a.sidebarRight,className:"flex-none top-24"})]}),e(c,{})]})}export{v as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as y}from"./chunk-52RTSWUY.mjs";import{a as b,b as k}from"./chunk-HRFDJD4E.mjs";import{a as S}from"./chunk-PVANMXYC.mjs";import{a as C}from"./chunk-WU3JMLSC.mjs";import{a as w}from"./chunk-BZAYEKYC.mjs";import{a as g}from"./chunk-B67CUKBL.mjs";import{a as f}from"./chunk-LRCGDMVE.mjs";import{a as h}from"./chunk-3PVAC7QH.mjs";import{a as v}from"./chunk-Y7IVNGA7.mjs";import{c as m,f as p}from"./chunk-PFPDES6P.mjs";import{a as d}from"./chunk-JPFBD2KD.mjs";import{a as N}from"./chunk-RQ23CZK5.mjs";import{a as s}from"./chunk-4YUYG6QU.mjs";import{a as x}from"./chunk-JFR3WUHP.mjs";import{a as u}from"./chunk-UESKYRNK.mjs";import{a as n}from"./chunk-NIQ4466A.mjs";import z from"next/image";import{jsx as e,jsxs as o}from"react/jsx-runtime";var H=t=>({root:{type:"root",format:"",indent:0,version:1,children:[{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:t,type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0}],direction:"ltr"}}),T=({children:t})=>e("div",{children:o("div",{className:"sticky top-0 h-screen",children:[t,e(s,{className:"text-black z-10",position:"header"})]})}),R=()=>o(T,{children:[o("video",{className:"fixed inset-0 object-cover w-full h-full z-0",autoPlay:!0,loop:!0,muted:!0,playsInline:!0,children:[e("source",{src:"assets/videos/background2.mp4",type:"video/mp4"}),"Your browser does not support the video tag."]}),e("div",{className:"fixed inset-0 h-full z-10 flex flex-col items-start justify-center text-white px-4",children:e(u,{children:o("div",{className:"flex flex-col items-start md:w-1/2 mb-10 z-0 md:mb-0",children:[e("h1",{className:"text-5xl md:text-7xl mb-6",children:"Lorum ipsum."}),e("div",{className:"text-lg md:text-2xl text-gray-300 mb-8 max-w-lg",children:"Lorum ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec dui ac odio."})]})})})]}),L={highImpact:f,lowImpact:h,mediumImpact:v,sectionHero:g,dummy:R};function P({...t}){let i=t.style;return o("div",{className:"relative overflow-y-none scroll-smooth snap-y snap-mandatory",children:[e(N,{isMenuOpen:!0,logoLight:w,logoDark:C,...t.header}),e(I,{...t.hero}),e(c,{theme:"light",style:i,children:e(y,{...t.service})}),e(c,{theme:"dark",style:i,image:t.service.services[0].image,children:e(j,{})}),e(c,{theme:"light",style:i,children:e(j,{})}),e(c,{theme:"dark",style:i,children:e(b,{...t.contact})}),e(c,{theme:"light",style:i,children:e(k,{...t.contact})}),e(c,{theme:"last",style:i,children:e(S,{...t.blog})}),e(m,{...t.cta}),e(x,{...t.footer})]})}var I=t=>{let{type:i}=t||{};if(!i||i==="none")return null;let l=L[i];return l?e(l,{...t}):null},j=()=>{let t={blurDataURL:"/assets/props/Cortex-Handshake-BG.jpg",height:1315,url:"/assets/props/Cortex-Handshake-BG.jpg",width:1920};return e("div",{className:"container",children:o("div",{className:"w-full grid grid-cols-1 md:grid-cols-2 gap-1 items-center justify-center",children:[o("div",{className:n("w-full text-left"),children:[e("h2",{className:"text-3xl md:text-5xl text-primary",children:"Lorum ipsum..."}),e("p",{className:"mt-4 text-gray-700 text-lg",children:e(p,{enableGutter:!1,content:H("Lorum ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec dui ac odio. Nulla facilisi. Nullam nec nisi nec odio ultricies ultricies. Nullam nec nisi nec odio ultricies ultricies. Nullam nec nisi nec odio ultricies ultricies. Lorum ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec dui ac odio. Nulla facilisi. Nullam nec nisi nec odio ultricies ultricies. Nullam nec nisi nec odio ultricies ultricies. Nullam nec nisi nec odio ultricies ultricies."),enableProse:!1,className:n("prose prose-headings:text-foreground prose-p:text-foreground")})}),e("button",{className:"mt-6 px-6 py-3 border border-1 border-accent text-foreground rounded-full text-base hover:bg-accent hover:text-accent-foreground transition",children:"Click here"})]}),e("div",{className:"w-full h-full min-h-96 p-6 md:p-6 flex justify-center",children:e(z,{src:t.url,alt:"image",width:t.width,height:t.height,className:"max-w-full"})})]})})},c=({children:t,theme:i,style:l,neighbours:M,shape:D,image:B,id:r,continueTheme:F})=>{let G=a=>o("div",{className:"select-none",children:[a&&typeof a=="object"&&e(d,{fill:!0,imgClassName:"z-5 object-cover",priority:!1,loading:"lazy",resource:a}),a&&typeof a=="string"&&e("div",{children:e(z,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:a})})]});if(i==="dark"&&l==="slide")return e("section",{id:r||"next-section",className:"sticky md:top-0 h-screen",children:o("div",{className:"dark pt-0 min-h-[80vh]",children:[e(s,{className:"z-10",position:"dark-top"}),o("div",{className:"relative",children:[e("div",{className:"flex items-center bg-black justify-center pt-12",children:e("div",{className:"container",children:t})}),e(s,{className:"z-10",position:"dark-bottom"})]})]})});if(i==="light"&&l==="slide")return e("section",{id:r||"next-section",className:"sticky top-0 light pt-0 h-screen",children:o("div",{className:"sticky top-0 light pt-0 h-screen",children:[e(s,{className:"z-10",position:"light-top"}),o("div",{className:"relative bg-white",children:[e("div",{className:"flex items-center bg-white justify-center pt-12",children:e("div",{className:"container",children:t})}),e("div",{className:"h-[200px] bg-white"})]})]})});if(i==="first")return e("section",{id:r||"next-section",className:"",children:e("div",{className:"sticky top-0 light bg-background pt-6 min-h-[80vh]",children:o("div",{className:"relative",children:[e("div",{className:"flex items-center justify-center pt-12",children:e("div",{className:"container",children:t})}),e(s,{className:"text-black z-10",position:"bottom-right"})]})})});if(i==="light")return e("section",{id:r||"next-section",className:"",children:e("div",{className:n("sticky top-0 light bg-background min-h-[50vh]","pb-10"),children:e("div",{className:"flex items-center pt-8 justify-center",children:e("div",{className:"container",children:t})})})});if(i==="dark")return e("section",{id:r||"next-section",className:"",children:o("div",{className:"sticky -top-[1px] dark min-h-[80vh] bg-white",children:[e(s,{className:"text-black z-10",position:"bottom-right"}),e("div",{className:"flex items-center justify-center pt-12 bg-black",children:e("div",{className:"container",children:t})}),e(s,{className:"text-accent z-10",position:"top"})]})});if(i==="last")return e("section",{id:r||"next-section",className:"",children:o("div",{className:"sticky -top-[1px] dark min-h-[80vh] bg-white",children:[e(s,{className:"text-black z-10",position:"bottom-right"}),e("div",{className:"flex items-center justify-center pb-12 bg-black min-h-[80vh]",children:e("div",{className:"container",children:t})})]})})};export{P as a,c as b};
4
+ import{a as y}from"./chunk-PAJYEWHU.mjs";import{a as b,b as k}from"./chunk-VKY5SRVF.mjs";import{a as S}from"./chunk-35IEPMLE.mjs";import{a as C}from"./chunk-WU3JMLSC.mjs";import{a as w}from"./chunk-BZAYEKYC.mjs";import{a as g}from"./chunk-B67CUKBL.mjs";import{a as h}from"./chunk-O2PTYAQ3.mjs";import{a as v}from"./chunk-SNFV4LXV.mjs";import{a as f}from"./chunk-R7SXRY6I.mjs";import{c as m,f as p}from"./chunk-QJ2GMZM3.mjs";import{a as d}from"./chunk-FCCL6W7R.mjs";import{a as N}from"./chunk-RQ23CZK5.mjs";import{a as s}from"./chunk-4YUYG6QU.mjs";import{a as x}from"./chunk-JFR3WUHP.mjs";import{a as u}from"./chunk-UESKYRNK.mjs";import{a as n}from"./chunk-NIQ4466A.mjs";import z from"next/image";import{jsx as e,jsxs as o}from"react/jsx-runtime";var H=t=>({root:{type:"root",format:"",indent:0,version:1,children:[{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:t,type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0}],direction:"ltr"}}),T=({children:t})=>e("div",{children:o("div",{className:"sticky top-0 h-screen",children:[t,e(s,{className:"text-black z-10",position:"header"})]})}),R=()=>o(T,{children:[o("video",{className:"fixed inset-0 object-cover w-full h-full z-0",autoPlay:!0,loop:!0,muted:!0,playsInline:!0,children:[e("source",{src:"assets/videos/background2.mp4",type:"video/mp4"}),"Your browser does not support the video tag."]}),e("div",{className:"fixed inset-0 h-full z-10 flex flex-col items-start justify-center text-white px-4",children:e(u,{children:o("div",{className:"flex flex-col items-start md:w-1/2 mb-10 z-0 md:mb-0",children:[e("h1",{className:"text-5xl md:text-7xl mb-6",children:"Lorum ipsum."}),e("div",{className:"text-lg md:text-2xl text-gray-300 mb-8 max-w-lg",children:"Lorum ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec dui ac odio."})]})})})]}),L={highImpact:f,lowImpact:h,mediumImpact:v,sectionHero:g,dummy:R};function P({...t}){let i=t.style;return o("div",{className:"relative overflow-y-none scroll-smooth snap-y snap-mandatory",children:[e(N,{isMenuOpen:!0,logoLight:w,logoDark:C,...t.header}),e(I,{...t.hero}),e(c,{theme:"light",style:i,children:e(y,{...t.service})}),e(c,{theme:"dark",style:i,image:t.service.services[0].image,children:e(j,{})}),e(c,{theme:"light",style:i,children:e(j,{})}),e(c,{theme:"dark",style:i,children:e(b,{...t.contact})}),e(c,{theme:"light",style:i,children:e(k,{...t.contact})}),e(c,{theme:"last",style:i,children:e(S,{...t.blog})}),e(m,{...t.cta}),e(x,{...t.footer})]})}var I=t=>{let{type:i}=t||{};if(!i||i==="none")return null;let l=L[i];return l?e(l,{...t}):null},j=()=>{let t={blurDataURL:"/assets/props/Cortex-Handshake-BG.jpg",height:1315,url:"/assets/props/Cortex-Handshake-BG.jpg",width:1920};return e("div",{className:"container",children:o("div",{className:"w-full grid grid-cols-1 md:grid-cols-2 gap-1 items-center justify-center",children:[o("div",{className:n("w-full text-left"),children:[e("h2",{className:"text-3xl md:text-5xl text-primary",children:"Lorum ipsum..."}),e("p",{className:"mt-4 text-gray-700 text-lg",children:e(p,{enableGutter:!1,content:H("Lorum ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec dui ac odio. Nulla facilisi. Nullam nec nisi nec odio ultricies ultricies. Nullam nec nisi nec odio ultricies ultricies. Nullam nec nisi nec odio ultricies ultricies. Lorum ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec dui ac odio. Nulla facilisi. Nullam nec nisi nec odio ultricies ultricies. Nullam nec nisi nec odio ultricies ultricies. Nullam nec nisi nec odio ultricies ultricies."),enableProse:!1,className:n("prose prose-headings:text-foreground prose-p:text-foreground")})}),e("button",{className:"mt-6 px-6 py-3 border border-1 border-accent text-foreground rounded-full text-base hover:bg-accent hover:text-accent-foreground transition",children:"Click here"})]}),e("div",{className:"w-full h-full min-h-96 p-6 md:p-6 flex justify-center",children:e(z,{src:t.url,alt:"image",width:t.width,height:t.height,className:"max-w-full"})})]})})},c=({children:t,theme:i,style:l,neighbours:M,shape:D,image:B,id:r,continueTheme:F})=>{let G=a=>o("div",{className:"select-none",children:[a&&typeof a=="object"&&e(d,{fill:!0,imgClassName:"z-5 object-cover",priority:!1,loading:"lazy",resource:a}),a&&typeof a=="string"&&e("div",{children:e(z,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:a})})]});if(i==="dark"&&l==="slide")return e("section",{id:r||"next-section",className:"sticky md:top-0 h-screen",children:o("div",{className:"dark pt-0 min-h-[80vh]",children:[e(s,{className:"z-10",position:"dark-top"}),o("div",{className:"relative",children:[e("div",{className:"flex items-center bg-black justify-center pt-12",children:e("div",{className:"container",children:t})}),e(s,{className:"z-10",position:"dark-bottom"})]})]})});if(i==="light"&&l==="slide")return e("section",{id:r||"next-section",className:"sticky top-0 light pt-0 h-screen",children:o("div",{className:"sticky top-0 light pt-0 h-screen",children:[e(s,{className:"z-10",position:"light-top"}),o("div",{className:"relative bg-white",children:[e("div",{className:"flex items-center bg-white justify-center pt-12",children:e("div",{className:"container",children:t})}),e("div",{className:"h-[200px] bg-white"})]})]})});if(i==="first")return e("section",{id:r||"next-section",className:"",children:e("div",{className:"sticky top-0 light bg-background pt-6 min-h-[80vh]",children:o("div",{className:"relative",children:[e("div",{className:"flex items-center justify-center pt-12",children:e("div",{className:"container",children:t})}),e(s,{className:"text-black z-10",position:"bottom-right"})]})})});if(i==="light")return e("section",{id:r||"next-section",className:"",children:e("div",{className:n("sticky top-0 light bg-background min-h-[50vh]","pb-10"),children:e("div",{className:"flex items-center pt-8 justify-center",children:e("div",{className:"container",children:t})})})});if(i==="dark")return e("section",{id:r||"next-section",className:"",children:o("div",{className:"sticky -top-[1px] dark min-h-[80vh] bg-white",children:[e(s,{className:"text-black z-10",position:"bottom-right"}),e("div",{className:"flex items-center justify-center pt-12 bg-black",children:e("div",{className:"container",children:t})}),e(s,{className:"text-accent z-10",position:"top"})]})});if(i==="last")return e("section",{id:r||"next-section",className:"",children:o("div",{className:"sticky -top-[1px] dark min-h-[80vh] bg-white",children:[e(s,{className:"text-black z-10",position:"bottom-right"}),e("div",{className:"flex items-center justify-center pb-12 bg-black min-h-[80vh]",children:e("div",{className:"container",children:t})})]})})};export{P as a,c as b};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as l}from"./chunk-4DJ6HKHR.mjs";import{a as m}from"./chunk-5NIBAKPA.mjs";import{a}from"./chunk-52RTSWUY.mjs";import{a as n}from"./chunk-HRFDJD4E.mjs";import{a as d}from"./chunk-PVANMXYC.mjs";import{a as u}from"./chunk-WU3JMLSC.mjs";import{a as S}from"./chunk-BZAYEKYC.mjs";import{a as t}from"./chunk-TEORJDWG.mjs";import{a as i}from"./chunk-JFR3WUHP.mjs";import{Fragment as s,jsx as e,jsxs as f}from"react/jsx-runtime";function c({...r}){return f("div",{className:"relative overflow-y-none scroll-smooth snap-y snap-mandatory",children:[e("div",{className:"h-screen relative overflow-hidden snap-start",children:e(t,{...r.header,logoVideo:l,logoLight:S,logoDark:u})}),e(a,{...r.service}),e(p,{...r.service}),e(n,{...r.contact}),e(d,{...r.blog}),e(i,{...r.footer})]})}function p({services:r}){return e(s,{children:r.map((b,o)=>e(m,{...b,theme:o%2===0?"dark":"light"},o))})}export{c as a};
4
+ import{a as l}from"./chunk-4DJ6HKHR.mjs";import{a as m}from"./chunk-SG4TZDLH.mjs";import{a}from"./chunk-PAJYEWHU.mjs";import{a as n}from"./chunk-VKY5SRVF.mjs";import{a as d}from"./chunk-35IEPMLE.mjs";import{a as u}from"./chunk-WU3JMLSC.mjs";import{a as S}from"./chunk-BZAYEKYC.mjs";import{a as t}from"./chunk-TEORJDWG.mjs";import{a as i}from"./chunk-JFR3WUHP.mjs";import{Fragment as s,jsx as e,jsxs as f}from"react/jsx-runtime";function c({...r}){return f("div",{className:"relative overflow-y-none scroll-smooth snap-y snap-mandatory",children:[e("div",{className:"h-screen relative overflow-hidden snap-start",children:e(t,{...r.header,logoVideo:l,logoLight:S,logoDark:u})}),e(a,{...r.service}),e(p,{...r.service}),e(n,{...r.contact}),e(d,{...r.blog}),e(i,{...r.footer})]})}function p({services:r}){return e(s,{children:r.map((b,o)=>e(m,{...b,theme:o%2===0?"dark":"light"},o))})}export{c as a};
@@ -0,0 +1 @@
1
+ import{a as m}from"./chunk-HTDLKVHO.mjs";import{a as o}from"./chunk-KML6U7IE.mjs";import{a as l}from"./chunk-L2QAYSRV.mjs";import c from"next/image";import{FaEnvelope as d,FaPhoneFlip as g}from"react-icons/fa6";import{jsx as e,jsxs as t}from"react/jsx-runtime";function y(s){let{sectionHeading:i,image:a}=s;return e("div",{className:"relative w-full light py-[60px]",children:t("div",{className:"w-full grid grid-cols-1 md:grid-cols-2 gap-1 items-center justify-center",children:[e("div",{className:"relative h-full w-full",children:e(c,{src:a.src,alt:a.alt,fill:!0,objectFit:"contain",sizes:"(min-width: 768px) 30vw, 50vw",placeholder:"blur",blurDataURL:o})}),e("div",{className:"w-full h-full",children:t("div",{className:"bg-white p-10",children:[e("div",{className:"mb-30px",children:e(m,{...i,invert:!0})}),e(l,{})]})})]})})}function w(s){return e("div",{className:"",children:e("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:e("div",{className:"mx-auto max-w-2xl space-y-16 divide-y divide-gray-100 lg:mx-0 lg:max-w-none",children:t("div",{className:"grid grid-cols-1 gap-10 pt-16 lg:grid-cols-3",children:[t("div",{children:[e("h2",{className:"text-pretty text-4xl text-primary",children:"Locations"}),e("p",{className:"mt-4 text-base/7 text-foreground",children:"We have multiple locations across the UK."})]}),e("div",{className:"grid grid-cols-1 gap-6 sm:grid-cols-2 lg:col-span-2 lg:gap-8",children:s.locations&&s.locations.map((i,a)=>{var r;return t("div",{className:"rounded-2xl p-10 border",children:[e("h3",{className:"text-base/7 text-primary",children:i.title}),t("address",{className:"mt-3 space-y-1 text-sm/6 not-italic text-foreground",children:[(r=i.location.split(","))==null?void 0:r.map((n,p)=>e("p",{children:n},p))," ",i.mails&&t("p",{className:"flex items-center space-x-2",children:[e(d,{className:"pr-2 text-primary size-auto"}),e("span",{children:i.mails[0]})]}),i.phoneNumbers&&i.phoneNumbers.length>0&&t("p",{className:"flex items-center space-x-2",children:[e(g,{className:"pr-2 text-primary size-auto"}),i.phoneNumbers[0]]})]})]},a)})})]})})})})}export{y as a,w as b};
@@ -1 +1 @@
1
- import{a}from"./chunk-H7D3PZKE.mjs";import{a as m}from"./chunk-IQPZEEYJ.mjs";import{a as s}from"./chunk-Y2KKUQDU.mjs";import{a as o}from"./chunk-VZXLXNVY.mjs";import{a as d}from"./chunk-54Y2MUCQ.mjs";import{Fragment as p,jsx as e,jsxs as l}from"react/jsx-runtime";function x({...t}){return e(p,{children:l("div",{className:"flex min-h-full flex-col",children:[e("div",{className:"relative isolate"}),e(d,{...t.header}),e(m,{...t.motd}),l("div",{className:"mx-auto w-full max-w-screen-2xl grow lg:flex xl:px-2",children:[l("div",{className:"flex-1 xl:flex",children:[e("div",{className:"border-b border-gray-200 px-4 py-6 sm:px-6 lg:pl-8 xl:w-64 xl:shrink-0 xl:border-b-0 xl:border-r xl:pl-6",children:t.customers.map((r,i)=>e("div",{className:"py-2 w-full flex justify-center",children:e(o,{...r})},i))}),l("div",{className:"px-4 py-4 sm:px-6 lg:pl-8 xl:flex-1 xl:pl-6",children:[l("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:[e(a,{mainImage:"/placeholder/ai.png",title:"AI Enablement",color:"primary"}),e(a,{mainImage:"/placeholder/finops.png",title:"FinOps",color:"primary2"}),e(a,{mainImage:"/placeholder/metahuman.png",title:"Metahumans",color:"primary3"})]}),e("h1",{className:"text-balance text-3xl m-5 font-semibold tracking-tight text-primary sm:text-5xl",children:"News & Updates"})]})]}),l("div",{className:"shrink-0 border-t border-gray-200 px-4 py-4 sm:px-4 lg:w-96 lg:border-l lg:border-t-0 lg:pr-8 xl:pr-6",children:[e("div",{className:"mx-auto max-w-7xl",children:l("div",{className:"relative isolate overflow-hidden bg-gradient-to-br from-gray-900 via-brand-one to-brand-two px-2 py-4 text-center shadow-2xl sm:rounded-xl sm:px-2",children:[e("h2",{className:"text-balance text-xl font-semibold tracking-tight text-white sm:text-2xl",children:"Ways of working"}),e("p",{className:"mx-3 mt-4 max-w-xl text-pretty text-lg/8 text-gray-300",children:"Guides, Templates and Tools to help you work smarter."}),e("div",{className:"mt-4 flex items-center justify-center gap-x-6",children:e("a",{href:"#",className:"rounded-md bg-white px-3.5 py-2.5 text-sm font-semibold text-gray-900 shadow-sm hover:bg-accent focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-white",children:"Get started"})})]})}),e("div",{className:"mx-auto max-w-7xl flex flex-col items-center",children:t.events.map((r,i)=>e("div",{className:"py-2 w-full flex justify-center",children:e(s,{...r})},i))})]})]})]})})}export{x as a};
1
+ import{a as m}from"./chunk-IQPZEEYJ.mjs";import{a}from"./chunk-H7D3PZKE.mjs";import{a as s}from"./chunk-Y2KKUQDU.mjs";import{a as o}from"./chunk-VZXLXNVY.mjs";import{a as d}from"./chunk-54Y2MUCQ.mjs";import{Fragment as p,jsx as e,jsxs as l}from"react/jsx-runtime";function x({...t}){return e(p,{children:l("div",{className:"flex min-h-full flex-col",children:[e("div",{className:"relative isolate"}),e(d,{...t.header}),e(m,{...t.motd}),l("div",{className:"mx-auto w-full max-w-screen-2xl grow lg:flex xl:px-2",children:[l("div",{className:"flex-1 xl:flex",children:[e("div",{className:"border-b border-gray-200 px-4 py-6 sm:px-6 lg:pl-8 xl:w-64 xl:shrink-0 xl:border-b-0 xl:border-r xl:pl-6",children:t.customers.map((r,i)=>e("div",{className:"py-2 w-full flex justify-center",children:e(o,{...r})},i))}),l("div",{className:"px-4 py-4 sm:px-6 lg:pl-8 xl:flex-1 xl:pl-6",children:[l("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:[e(a,{mainImage:"/placeholder/ai.png",title:"AI Enablement",color:"primary"}),e(a,{mainImage:"/placeholder/finops.png",title:"FinOps",color:"primary2"}),e(a,{mainImage:"/placeholder/metahuman.png",title:"Metahumans",color:"primary3"})]}),e("h1",{className:"text-balance text-3xl m-5 font-semibold tracking-tight text-primary sm:text-5xl",children:"News & Updates"})]})]}),l("div",{className:"shrink-0 border-t border-gray-200 px-4 py-4 sm:px-4 lg:w-96 lg:border-l lg:border-t-0 lg:pr-8 xl:pr-6",children:[e("div",{className:"mx-auto max-w-7xl",children:l("div",{className:"relative isolate overflow-hidden bg-gradient-to-br from-gray-900 via-brand-one to-brand-two px-2 py-4 text-center shadow-2xl sm:rounded-xl sm:px-2",children:[e("h2",{className:"text-balance text-xl font-semibold tracking-tight text-white sm:text-2xl",children:"Ways of working"}),e("p",{className:"mx-3 mt-4 max-w-xl text-pretty text-lg/8 text-gray-300",children:"Guides, Templates and Tools to help you work smarter."}),e("div",{className:"mt-4 flex items-center justify-center gap-x-6",children:e("a",{href:"#",className:"rounded-md bg-white px-3.5 py-2.5 text-sm font-semibold text-gray-900 shadow-sm hover:bg-accent focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-white",children:"Get started"})})]})}),e("div",{className:"mx-auto max-w-7xl flex flex-col items-center",children:t.events.map((r,i)=>e("div",{className:"py-2 w-full flex justify-center",children:e(s,{...r})},i))})]})]})]})})}export{x as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as f}from"./chunk-WU3JMLSC.mjs";import{a as h}from"./chunk-BZAYEKYC.mjs";import{a as l}from"./chunk-LRCGDMVE.mjs";import{a as u}from"./chunk-3PVAC7QH.mjs";import{a as p}from"./chunk-Y7IVNGA7.mjs";import{a as c}from"./chunk-A7563CVR.mjs";import{b as n}from"./chunk-BDX257W2.mjs";import{a as o,b as a,c as i,e as m}from"./chunk-D76EO57Z.mjs";import{a as s}from"./chunk-RQ23CZK5.mjs";import{ExternalLink as d}from"lucide-react";import{jsx as e,jsxs as t}from"react/jsx-runtime";function b({...r}){return t("div",{children:[e(s,{isMenuOpen:!0,logoLight:h,logoDark:f,...r.header}),r.hero&&r.hero.type==="lowImpact"&&e(u,{...r.hero}),r.hero&&r.hero.type==="mediumImpact"&&e(p,{...r.hero}),r.hero&&r.hero.type==="highImpact"&&e(l,{...r.hero}),r.hero&&r.hero.type==="postHero"&&e(c,{...r.hero}),e("div",{className:"container py-8",children:t("div",{className:"grid grid-cols-1 gap-8 lg:grid-cols-3",children:[e("div",{className:"lg:col-span-2",children:r.children}),t("div",{className:"space-y-6",children:[t(o,{children:[e(a,{children:e(i,{children:"Quick Actions"})}),t(m,{children:[e("p",{className:"mb-4 text-sm text-muted-foreground",children:"Get started with your first action in just a few clicks."}),e(n,{className:"w-full",children:"Create New"})]})]}),t(o,{children:[e(a,{children:e(i,{children:"Resources"})}),e(m,{children:t("nav",{className:"flex flex-col space-y-2",children:[t("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["User Guide",e(d,{className:"ml-1 h-3 w-3"})]}),t("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["API Documentation",e(d,{className:"ml-1 h-3 w-3"})]}),t("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["View Pricing Details",e(d,{className:"ml-1 h-3 w-3"})]})]})})]})]})]})})]})}export{b as a};
4
+ import{a as f}from"./chunk-WU3JMLSC.mjs";import{a as h}from"./chunk-BZAYEKYC.mjs";import{a as u}from"./chunk-O2PTYAQ3.mjs";import{a as p}from"./chunk-SNFV4LXV.mjs";import{a as l}from"./chunk-R7SXRY6I.mjs";import{a as c}from"./chunk-A7563CVR.mjs";import{b as n}from"./chunk-BDX257W2.mjs";import{a as o,b as a,c as i,e as m}from"./chunk-D76EO57Z.mjs";import{a as s}from"./chunk-RQ23CZK5.mjs";import{ExternalLink as d}from"lucide-react";import{jsx as e,jsxs as t}from"react/jsx-runtime";function b({...r}){return t("div",{children:[e(s,{isMenuOpen:!0,logoLight:h,logoDark:f,...r.header}),r.hero&&r.hero.type==="lowImpact"&&e(u,{...r.hero}),r.hero&&r.hero.type==="mediumImpact"&&e(p,{...r.hero}),r.hero&&r.hero.type==="highImpact"&&e(l,{...r.hero}),r.hero&&r.hero.type==="postHero"&&e(c,{...r.hero}),e("div",{className:"container py-8",children:t("div",{className:"grid grid-cols-1 gap-8 lg:grid-cols-3",children:[e("div",{className:"lg:col-span-2",children:r.children}),t("div",{className:"space-y-6",children:[t(o,{children:[e(a,{children:e(i,{children:"Quick Actions"})}),t(m,{children:[e("p",{className:"mb-4 text-sm text-muted-foreground",children:"Get started with your first action in just a few clicks."}),e(n,{className:"w-full",children:"Create New"})]})]}),t(o,{children:[e(a,{children:e(i,{children:"Resources"})}),e(m,{children:t("nav",{className:"flex flex-col space-y-2",children:[t("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["User Guide",e(d,{className:"ml-1 h-3 w-3"})]}),t("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["API Documentation",e(d,{className:"ml-1 h-3 w-3"})]}),t("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["View Pricing Details",e(d,{className:"ml-1 h-3 w-3"})]})]})})]})]})]})})]})}export{b as a};
@@ -1 +1 @@
1
- import{a as x}from"./chunk-KML6U7IE.mjs";import{a as N}from"./chunk-TXXFXCXB.mjs";import{f as h}from"./chunk-PFPDES6P.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{f as h}from"./chunk-QJ2GMZM3.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,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as F}from"./chunk-G4YPHF7Y.mjs";import{a as T}from"./chunk-43SFGWYH.mjs";import{a as v}from"./chunk-NIQ4466A.mjs";import{a as R}from"./chunk-C5XNOZXC.mjs";import{useState as A}from"react";import G from"html2canvas";import{jsPDF as W}from"jspdf";import{Fragment as J,jsx as e,jsxs as g}from"react/jsx-runtime";function ae({type:p="slideshow",orientation:d="landscape",...i}){let h=i.page,[C,n]=A(d),{contentWithIds:s,tableOfContents:a}=R(h);if(p==="slideshow")return e("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:e(T,{blocks:s,hero:i.hero,title:i.page.title,logoImage:i.logoImage})});if(p==="print")return g(J,{children:[e(U,{layout:C,changeLayout:n}),e(F,{page:i.page,layout:C,logoImage:i.logoImage})]})}var U=({changeLayout:p,layout:d="landscape"})=>{let i=async()=>{var s;if(d==="flow"){let a=(s=document.getElementById("printable-content"))==null?void 0:s.innerHTML;if(a){var n=window.document.body.innerHTML;window.document.body.innerHTML=a,window.print(),window.document.body.innerHTML=n}}else await new Promise(a=>setTimeout(a,300)),window.print()},h=n=>{p&&p(n)},C=async n=>{let s=document.getElementById(n);if(!s)throw new Error(`Element with id ${n} not found`);let a=document.createElement("canvas"),P=window.devicePixelRatio;a.width=Math.max(s.clientWidth||0)*P,a.height=Math.max(s.clientHeight||0)*P+100;let u=a.getContext("2d");if(!u)throw new Error("Failed to get 2D context");let q=u.drawImage,z=Array.from(s.getElementsByTagName("img")).reduce((y,c)=>(y[c.src]=c,y),{});u.drawImage=function(...y){let[c,S,j,l,r,D,B,m,w]=y;if(c instanceof HTMLImageElement){let Y=z[c.src].style.objectFit||"fill",$=z[c.src].style.objectPosition||"center center";r=c.height,l=c.width;let L=l/r,b=m/w,[x,f]=$.split(" ");switch(f||(f=x),Y){case"cover":if(L>b){let t=r*b,o=(l-t)/2;x==="left"&&(o=0),x==="right"&&(o=l-t),S+=o,l=t}else{let t=l/b,o=(r-t)/2;f==="top"&&(o=0),f==="bottom"&&(o=r-t),j+=o,r=t}break;case"contain":if(L>b){let t=m/L,o=(w-t)/2;f==="top"&&(o=0),f==="bottom"&&(o=w-t),B+=o,w=t}else{let t=w*L,o=(m-t)/2;x==="left"&&(o=0),x==="right"&&(o=m-t),D+=o,m=t}break;case"fill":break}}return q.call(u,c,S,j,l,r,D,B,m,w)};let k=document.getElementById(n);if(!k)throw new Error(`Element with id ${n} not found`);var O=a.width,X=a.height;let I=(await G(k,{canvas:a,windowHeight:X,windowWidth:O,scale:window.devicePixelRatio})).toDataURL("image/png"),N=new W({}).getImageProperties(I),M=297,E=M*(N.height/N.width),H=new W({unit:"mm",format:[M,E]});H.addImage(I,"PNG",0,0,M,E),H.save("print.pdf")};return e("div",{className:v("fixed right-2 z-20 top-20 space-y-6 print:hidden"),children:e("div",{className:"flex flex-row-reverse z-20 min-w-70 gap-4",children:g("nav",{className:"z-20 flex grow-0 justify-end gap-4 border-t border-gray-200 bg-white/50 p-2.5 shadow-lg backdrop-blur-lg dark:border-slate-600/60 dark:bg-slate-800/50 min-h-[auto] min-w-[54px] flex-col rounded-lg border",children:[g("a",{onClick:i,className:"flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"currentColor",children:e("path",{d:"M96 160l-32 0 0-96C64 28.7 92.7 0 128 0L357.5 0c17 0 33.3 6.7 45.3 18.7l26.5 26.5c12 12 18.7 28.3 18.7 45.3l0 69.5-32 0 0-69.5c0-8.5-3.4-16.6-9.4-22.6L380.1 41.4c-6-6-14.1-9.4-22.6-9.4L128 32c-17.7 0-32 14.3-32 32l0 96zm352 64L64 224c-17.7 0-32 14.3-32 32l0 128 32 0 0-32c0-17.7 14.3-32 32-32l320 0c17.7 0 32 14.3 32 32l0 32 32 0 0-128c0-17.7-14.3-32-32-32zm0 192l0 64c0 17.7-14.3 32-32 32L96 512c-17.7 0-32-14.3-32-32l0-64-32 0c-17.7 0-32-14.3-32-32L0 256c0-35.3 28.7-64 64-64l384 0c35.3 0 64 28.7 64 64l0 128c0 17.7-14.3 32-32 32l-32 0zM96 352l0 128 320 0 0-128L96 352zM432 248a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"})}),e("small",{className:"text-xs font-medium",children:"Print"})]}),e("div",{className:"flex-grow border-t border-gray-200 dark:border-slate-600/60"}),g("a",{onClick:()=>h("portrait"),className:v("flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 hover:text-accent",d==="portrait"?"text-accent":"hover:text-accent"),children:[e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",fill:"currentColor",children:e("path",{d:"M352 448c0 17.7-14.3 32-32 32L64 480c-17.7 0-32-14.3-32-32L32 64c0-17.7 14.3-32 32-32l256 0c17.7 0 32 14.3 32 32l0 384zM384 64c0-35.3-28.7-64-64-64L64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-384z"})}),e("small",{className:"text-xs",children:"Portrait"})]}),g("a",{onClick:()=>h("landscape"),className:v("flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 hover:text-accent",d==="landscape"?"text-accent":"hover:text-accent"),children:[e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 512",fill:"currentColor",children:e("path",{d:"M576 96c17.7 0 32 14.3 32 32l0 256c0 17.7-14.3 32-32 32L64 416c-17.7 0-32-14.3-32-32l0-256c0-17.7 14.3-32 32-32l512 0zM64 64C28.7 64 0 92.7 0 128L0 384c0 35.3 28.7 64 64 64l512 0c35.3 0 64-28.7 64-64l0-256c0-35.3-28.7-64-64-64L64 64z"})}),e("small",{className:"text-xs",children:"Landscape"})]}),g("a",{onClick:()=>h("flow"),className:v("flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 hover:text-accent",d==="flow"?"text-accent":"hover:text-accent"),children:[e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",fill:"currentColor",children:e("path",{d:"M266.2 4.7C273 1.6 280.5 0 288 0s15 1.6 21.8 4.7l217.4 97.5c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 251.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 153.9C38.6 149.3 32 139.2 32 128s6.6-21.3 16.8-25.9L266.2 4.7zM288 32c-3 0-6 .6-8.8 1.9L69.3 128l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-210-94.1C294 32.6 291 32 288 32zM48.8 358.1l45.9-20.6 39.1 17.5L69.3 384l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-64.5-28.9 39.1-17.5 45.9 20.6c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 507.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 409.9C38.6 405.3 32 395.2 32 384s6.6-21.3 16.8-25.9zM94.7 209.5l39.1 17.5L69.3 256l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-64.5-28.9 39.1-17.5 45.9 20.6c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 379.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 281.9C38.6 277.3 32 267.2 32 256s6.6-21.3 16.8-25.9l45.9-20.6z"})}),e("small",{className:"text-xs",children:"Continuous"})]})]})})})};export{ae as a};
4
+ import{a as F}from"./chunk-ZHFVEJXB.mjs";import{a as T}from"./chunk-7WZ2YSIQ.mjs";import{a as v}from"./chunk-NIQ4466A.mjs";import{a as R}from"./chunk-C5XNOZXC.mjs";import{useState as A}from"react";import G from"html2canvas";import{jsPDF as W}from"jspdf";import{Fragment as J,jsx as e,jsxs as g}from"react/jsx-runtime";function ae({type:p="slideshow",orientation:d="landscape",...i}){let h=i.page,[C,n]=A(d),{contentWithIds:s,tableOfContents:a}=R(h);if(p==="slideshow")return e("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:e(T,{blocks:s,hero:i.hero,title:i.page.title,logoImage:i.logoImage})});if(p==="print")return g(J,{children:[e(U,{layout:C,changeLayout:n}),e(F,{page:i.page,layout:C,logoImage:i.logoImage})]})}var U=({changeLayout:p,layout:d="landscape"})=>{let i=async()=>{var s;if(d==="flow"){let a=(s=document.getElementById("printable-content"))==null?void 0:s.innerHTML;if(a){var n=window.document.body.innerHTML;window.document.body.innerHTML=a,window.print(),window.document.body.innerHTML=n}}else await new Promise(a=>setTimeout(a,300)),window.print()},h=n=>{p&&p(n)},C=async n=>{let s=document.getElementById(n);if(!s)throw new Error(`Element with id ${n} not found`);let a=document.createElement("canvas"),P=window.devicePixelRatio;a.width=Math.max(s.clientWidth||0)*P,a.height=Math.max(s.clientHeight||0)*P+100;let u=a.getContext("2d");if(!u)throw new Error("Failed to get 2D context");let q=u.drawImage,z=Array.from(s.getElementsByTagName("img")).reduce((y,c)=>(y[c.src]=c,y),{});u.drawImage=function(...y){let[c,S,j,l,r,D,B,m,w]=y;if(c instanceof HTMLImageElement){let Y=z[c.src].style.objectFit||"fill",$=z[c.src].style.objectPosition||"center center";r=c.height,l=c.width;let L=l/r,b=m/w,[x,f]=$.split(" ");switch(f||(f=x),Y){case"cover":if(L>b){let t=r*b,o=(l-t)/2;x==="left"&&(o=0),x==="right"&&(o=l-t),S+=o,l=t}else{let t=l/b,o=(r-t)/2;f==="top"&&(o=0),f==="bottom"&&(o=r-t),j+=o,r=t}break;case"contain":if(L>b){let t=m/L,o=(w-t)/2;f==="top"&&(o=0),f==="bottom"&&(o=w-t),B+=o,w=t}else{let t=w*L,o=(m-t)/2;x==="left"&&(o=0),x==="right"&&(o=m-t),D+=o,m=t}break;case"fill":break}}return q.call(u,c,S,j,l,r,D,B,m,w)};let k=document.getElementById(n);if(!k)throw new Error(`Element with id ${n} not found`);var O=a.width,X=a.height;let I=(await G(k,{canvas:a,windowHeight:X,windowWidth:O,scale:window.devicePixelRatio})).toDataURL("image/png"),N=new W({}).getImageProperties(I),M=297,E=M*(N.height/N.width),H=new W({unit:"mm",format:[M,E]});H.addImage(I,"PNG",0,0,M,E),H.save("print.pdf")};return e("div",{className:v("fixed right-2 z-20 top-20 space-y-6 print:hidden"),children:e("div",{className:"flex flex-row-reverse z-20 min-w-70 gap-4",children:g("nav",{className:"z-20 flex grow-0 justify-end gap-4 border-t border-gray-200 bg-white/50 p-2.5 shadow-lg backdrop-blur-lg dark:border-slate-600/60 dark:bg-slate-800/50 min-h-[auto] min-w-[54px] flex-col rounded-lg border",children:[g("a",{onClick:i,className:"flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"currentColor",children:e("path",{d:"M96 160l-32 0 0-96C64 28.7 92.7 0 128 0L357.5 0c17 0 33.3 6.7 45.3 18.7l26.5 26.5c12 12 18.7 28.3 18.7 45.3l0 69.5-32 0 0-69.5c0-8.5-3.4-16.6-9.4-22.6L380.1 41.4c-6-6-14.1-9.4-22.6-9.4L128 32c-17.7 0-32 14.3-32 32l0 96zm352 64L64 224c-17.7 0-32 14.3-32 32l0 128 32 0 0-32c0-17.7 14.3-32 32-32l320 0c17.7 0 32 14.3 32 32l0 32 32 0 0-128c0-17.7-14.3-32-32-32zm0 192l0 64c0 17.7-14.3 32-32 32L96 512c-17.7 0-32-14.3-32-32l0-64-32 0c-17.7 0-32-14.3-32-32L0 256c0-35.3 28.7-64 64-64l384 0c35.3 0 64 28.7 64 64l0 128c0 17.7-14.3 32-32 32l-32 0zM96 352l0 128 320 0 0-128L96 352zM432 248a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"})}),e("small",{className:"text-xs font-medium",children:"Print"})]}),e("div",{className:"flex-grow border-t border-gray-200 dark:border-slate-600/60"}),g("a",{onClick:()=>h("portrait"),className:v("flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 hover:text-accent",d==="portrait"?"text-accent":"hover:text-accent"),children:[e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",fill:"currentColor",children:e("path",{d:"M352 448c0 17.7-14.3 32-32 32L64 480c-17.7 0-32-14.3-32-32L32 64c0-17.7 14.3-32 32-32l256 0c17.7 0 32 14.3 32 32l0 384zM384 64c0-35.3-28.7-64-64-64L64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-384z"})}),e("small",{className:"text-xs",children:"Portrait"})]}),g("a",{onClick:()=>h("landscape"),className:v("flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 hover:text-accent",d==="landscape"?"text-accent":"hover:text-accent"),children:[e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 512",fill:"currentColor",children:e("path",{d:"M576 96c17.7 0 32 14.3 32 32l0 256c0 17.7-14.3 32-32 32L64 416c-17.7 0-32-14.3-32-32l0-256c0-17.7 14.3-32 32-32l512 0zM64 64C28.7 64 0 92.7 0 128L0 384c0 35.3 28.7 64 64 64l512 0c35.3 0 64-28.7 64-64l0-256c0-35.3-28.7-64-64-64L64 64z"})}),e("small",{className:"text-xs",children:"Landscape"})]}),g("a",{onClick:()=>h("flow"),className:v("flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 hover:text-accent",d==="flow"?"text-accent":"hover:text-accent"),children:[e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",fill:"currentColor",children:e("path",{d:"M266.2 4.7C273 1.6 280.5 0 288 0s15 1.6 21.8 4.7l217.4 97.5c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 251.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 153.9C38.6 149.3 32 139.2 32 128s6.6-21.3 16.8-25.9L266.2 4.7zM288 32c-3 0-6 .6-8.8 1.9L69.3 128l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-210-94.1C294 32.6 291 32 288 32zM48.8 358.1l45.9-20.6 39.1 17.5L69.3 384l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-64.5-28.9 39.1-17.5 45.9 20.6c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 507.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 409.9C38.6 405.3 32 395.2 32 384s6.6-21.3 16.8-25.9zM94.7 209.5l39.1 17.5L69.3 256l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-64.5-28.9 39.1-17.5 45.9 20.6c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 379.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 281.9C38.6 277.3 32 267.2 32 256s6.6-21.3 16.8-25.9l45.9-20.6z"})}),e("small",{className:"text-xs",children:"Continuous"})]})]})})})};export{ae as a};
@@ -1 +1 @@
1
- import{a as w}from"./chunk-HVH6GVXL.mjs";import{a as F}from"./chunk-HOSVBADM.mjs";import{c as B,d as N}from"./chunk-PFPDES6P.mjs";import{a as h}from"./chunk-RJGKFNZL.mjs";import{a as i}from"./chunk-NIQ4466A.mjs";import{Fragment as I}from"react";import M from"next/image";import{jsx as t,jsxs as u}from"react/jsx-runtime";var C={content:w,cta:B,mediaBlock:h,collapsibleArea:F,imageBlock:h,features:N,reusableContentBlock:S},j=e=>{let{blocks:l}=e;return l&&Array.isArray(l)&&l.length>0?t("section",{id:"render-blocks",className:i(e.fill?"h-full w-full":""),children:l.map((a,r)=>{var s;let{blockType:c}=a,o=a==null?void 0:a.theme;if(c&&c in C){let d=C[c];if(c==="reusableContentBlock")return t(I,{children:t(j,{blocks:a.reusableContent.layout})},r);if(d)return u("div",{className:i("py-6 relative",e.fill&&"flex h-full items-center justify-center"),children:[t(p,{block:a,index:r}),t("div",{className:i("container h-full relative",((s=o==null?void 0:o.settings)==null?void 0:s.theme)||"dark"),children:t(d,{...a})})]},r)}return null})}):null},p=e=>{var g,a,r,c,o;if(!("theme"in e.block))return t("div",{className:i("absolute inset-0 w-screen h-full dark bg-background")});let l=(g=e.block)==null?void 0:g.theme;if(l.settings.background==="image"){let s={imagePosition:l.settings.imagePosition||"left",overlay:l.settings.overlay!==void 0?l.settings.overlay:!0};return u("div",{className:i("absolute inset-0 w-full h-full bg-background",l.settings.theme||"dark"),children:[t(M,{src:((r=(a=l.settings)==null?void 0:a.image)==null?void 0:r.url)||"/placeholder.svg",alt:((o=(c=l.settings)==null?void 0:c.image)==null?void 0:o.alt)||"",fill:!0,className:"object-cover",priority:!0}),l.settings.overlay&&t("div",{className:"absolute inset-0",style:{background:s.imagePosition==="left"?"linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)":"linear-gradient(-90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)"}})]})}return t("div",{className:i("absolute inset-0 w-screen h-full bg-background",l.settings.theme||"dark")})},U=e=>{let{blocks:l}=e;return l&&Array.isArray(l)&&l.length>0?t("main",{id:"content-blocks",className:i(e.fill?"h-full w-full":""),children:l.map((a,r)=>{let{blockType:c}=a,o=a==null?void 0:a.theme;if(c&&c in C){let s=C[c];if(c==="reusableContentBlock")return t(I,{children:t(j,{blocks:a.reusableContent.layout})},r);if(s)return t(W,{block:a,allBlocks:l,index:r,children:t(s,{...a})})}return null})}):null},W=e=>{var d,y,x,R,P;if(e.index===0)return u("section",{className:"relative flex w-full",children:[t("div",{className:i("absolute inset-0 w-screen h-full light bg-background")}),t("div",{className:i("container h-full relative pt-6 pb-12 min-h-[22em] content-center light bg-background"),children:e.children})]});let l=n=>n%2===0?"light":"dark",g=({index:n,allBlocks:m})=>n===1?t(T,{position:"left"}):r(n,m)==="dark"&&o(n,m)==="light"?t(A,{position:"left"}):r(n,m)==="light"&&o(n,m)==="dark"?t(T,{position:"left"}):null,a=({index:n,allBlocks:m})=>c(n,m)==="light"&&o(n,m)==="dark"?t(A,{position:"left"}):null,r=(n,m)=>{var k,b;if(n===1)return"light";let f=m[n-1];return"theme"in f&&((b=(k=f.theme)==null?void 0:k.settings)==null?void 0:b.theme)==="light"?"light":"dark"},c=(n,m)=>{var k,b;if(n===m.length-1)return"dark";if(n===0)return"light";let f=m[n+1];return"theme"in f&&((b=(k=f.theme)==null?void 0:k.settings)==null?void 0:b.theme)==="light"?"light":"dark"},o=(n,m)=>{var k,b;if(n===m.length-1)return"dark";let f=m[n];return f.theme&&((b=(k=f.theme)==null?void 0:k.settings)==null?void 0:b.theme)==="light"?"light":"dark"};if(!e.block.theme||!e.block.theme.settings)return r(e.index,e.allBlocks)==="dark"?u("section",{id:e.block.name||"content-block",className:"relative flex flex-col w-full pt-12",children:[t("div",{className:i("absolute inset-0 w-screen dark bg-background")}),t("div",{className:i("container relative","dark bg-background"),children:e.children})]}):u("section",{id:e.block.name||"content-block-start",className:"relative flex flex-col w-full",children:[t(g,{index:e.index,allBlocks:e.allBlocks}),t("div",{className:i("absolute inset-0 w-screen")}),t("div",{className:"bg-black",children:t("div",{className:i("container relative","dark bg-background"),children:e.children})})]});if(!("theme"in e.block)||r(e.index,e.allBlocks)===o(e.index,e.allBlocks)){let n=o(e.index,e.allBlocks);return u("section",{id:e.block.name||"content-block-continue",className:" relative flex flex-col w-full pt-20",children:[t("div",{className:i("absolute inset-0 w-screen bg-background",n)}),t("div",{className:i("container relative bg-background",n,n==="light"&&"p-12"),children:e.children})]})}if(r(e.index,e.allBlocks)!==o(e.index,e.allBlocks)){let n=o(e.index,e.allBlocks);return u("section",{id:e.block.blockName||"content-block-continue",className:"relative flex flex-col w-full",children:[t(g,{index:e.index,allBlocks:e.allBlocks}),t("div",{className:i("absolute inset-0 w-screen bg-background",n)}),t("div",{className:i("container relative bg-background min-h-[22em] content-center",n,n==="light"&&"p-12"),children:e.children})]})}if(!("theme"in e.block))return u("div",{className:i("container h-full relative","dark"),children:[t("div",{className:i("absolute inset-0 w-screen h-full dark bg-background")}),e.children]});let s=(d=e.block)==null?void 0:d.theme;if(s.settings.background==="image"){let n={imagePosition:s.settings.imagePosition||"left",overlay:s.settings.overlay!==void 0?s.settings.overlay:!0};return u("div",{className:i("absolute inset-0 w-full h-full bg-background",s.settings.theme||"dark"),children:[t(M,{src:((x=(y=s.settings)==null?void 0:y.image)==null?void 0:x.url)||"/placeholder.svg",alt:((P=(R=s.settings)==null?void 0:R.image)==null?void 0:P.alt)||"",fill:!0,className:"object-cover",priority:!0}),s.settings.overlay&&t("div",{className:"absolute inset-0",style:{background:n.imagePosition==="left"?"linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)":"linear-gradient(-90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)"}})]})}return t("div",{className:i("absolute inset-0 w-screen h-full bg-background",s.settings.theme||"dark")})},T=({position:e})=>t("div",{className:"w-full aspect-[1920/332] z-20 relative bg-white",children:t("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 334",preserveAspectRatio:"none",style:{fontSize:0,float:"left",alignContent:"flex-end",objectFit:"contain",transform:"rotateX(180deg)",bottom:"-2px",position:"absolute"},className:i("w-full block overflow-hidden"),children:t("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})}),A=({position:e})=>t("div",{className:"w-full relative z-20 aspect-[1920/332] overflow-hidden ",children:u("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",className:i("absolute "),style:{fontSize:0,float:"left",alignContent:"flex-end"},children:[t("defs",{children:u("mask",{id:"mask",children:[t("rect",{width:"100%",height:"100%",fill:"white"}),t("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0"})]})}),t("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0",fill:"black"})]})});import{Fragment as L,jsx as v,jsxs as D}from"react/jsx-runtime";var S=e=>{let{customId:l,reusableContent:g}=e;return typeof g=="object"&&g!==null?v(_,{blocks:g.layout}):v(L,{})},z={content:w,cta:B,mediaBlock:h,imageBlock:h,features:N},_=e=>{let{blocks:l}=e;return l&&Array.isArray(l)&&l.length>0?v(L,{children:l.map((a,r)=>{var s,d;let{blockType:c}=a,o=a==null?void 0:a.theme;if(c&&c in z){let y=z[c];if(y)return D("div",{className:"py-6 relative",children:[v(p,{block:a,index:r}),v("div",{className:i(((s=o==null?void 0:o.settings)==null?void 0:s.theme)==="dark"?"dark":((d=o==null?void 0:o.settings)==null?void 0:d.theme)==="green"?"green":""),children:v(y,{...a})})]},r)}return null})}):null};export{S as a,j as b,p as c,U as d,W as e,T as f,A as g};
1
+ import{a as F}from"./chunk-N7X76PPD.mjs";import{a as w}from"./chunk-O2QPO6MB.mjs";import{c as B,d as N}from"./chunk-QJ2GMZM3.mjs";import{a as h}from"./chunk-2A6JF3LE.mjs";import{a as i}from"./chunk-NIQ4466A.mjs";import{Fragment as I}from"react";import M from"next/image";import{jsx as t,jsxs as u}from"react/jsx-runtime";var C={content:w,cta:B,mediaBlock:h,collapsibleArea:F,imageBlock:h,features:N,reusableContentBlock:S},j=e=>{let{blocks:l}=e;return l&&Array.isArray(l)&&l.length>0?t("section",{id:"render-blocks",className:i(e.fill?"h-full w-full":""),children:l.map((a,r)=>{var s;let{blockType:c}=a,o=a==null?void 0:a.theme;if(c&&c in C){let d=C[c];if(c==="reusableContentBlock")return t(I,{children:t(j,{blocks:a.reusableContent.layout})},r);if(d)return u("div",{className:i("py-6 relative",e.fill&&"flex h-full items-center justify-center"),children:[t(p,{block:a,index:r}),t("div",{className:i("container h-full relative",((s=o==null?void 0:o.settings)==null?void 0:s.theme)||"dark"),children:t(d,{...a})})]},r)}return null})}):null},p=e=>{var g,a,r,c,o;if(!("theme"in e.block))return t("div",{className:i("absolute inset-0 w-screen h-full dark bg-background")});let l=(g=e.block)==null?void 0:g.theme;if(l.settings.background==="image"){let s={imagePosition:l.settings.imagePosition||"left",overlay:l.settings.overlay!==void 0?l.settings.overlay:!0};return u("div",{className:i("absolute inset-0 w-full h-full bg-background",l.settings.theme||"dark"),children:[t(M,{src:((r=(a=l.settings)==null?void 0:a.image)==null?void 0:r.url)||"/placeholder.svg",alt:((o=(c=l.settings)==null?void 0:c.image)==null?void 0:o.alt)||"",fill:!0,className:"object-cover",priority:!0}),l.settings.overlay&&t("div",{className:"absolute inset-0",style:{background:s.imagePosition==="left"?"linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)":"linear-gradient(-90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)"}})]})}return t("div",{className:i("absolute inset-0 w-screen h-full bg-background",l.settings.theme||"dark")})},U=e=>{let{blocks:l}=e;return l&&Array.isArray(l)&&l.length>0?t("main",{id:"content-blocks",className:i(e.fill?"h-full w-full":""),children:l.map((a,r)=>{let{blockType:c}=a,o=a==null?void 0:a.theme;if(c&&c in C){let s=C[c];if(c==="reusableContentBlock")return t(I,{children:t(j,{blocks:a.reusableContent.layout})},r);if(s)return t(W,{block:a,allBlocks:l,index:r,children:t(s,{...a})})}return null})}):null},W=e=>{var d,y,x,R,P;if(e.index===0)return u("section",{className:"relative flex w-full",children:[t("div",{className:i("absolute inset-0 w-screen h-full light bg-background")}),t("div",{className:i("container h-full relative pt-6 pb-12 min-h-[22em] content-center light bg-background"),children:e.children})]});let l=n=>n%2===0?"light":"dark",g=({index:n,allBlocks:m})=>n===1?t(T,{position:"left"}):r(n,m)==="dark"&&o(n,m)==="light"?t(A,{position:"left"}):r(n,m)==="light"&&o(n,m)==="dark"?t(T,{position:"left"}):null,a=({index:n,allBlocks:m})=>c(n,m)==="light"&&o(n,m)==="dark"?t(A,{position:"left"}):null,r=(n,m)=>{var k,b;if(n===1)return"light";let f=m[n-1];return"theme"in f&&((b=(k=f.theme)==null?void 0:k.settings)==null?void 0:b.theme)==="light"?"light":"dark"},c=(n,m)=>{var k,b;if(n===m.length-1)return"dark";if(n===0)return"light";let f=m[n+1];return"theme"in f&&((b=(k=f.theme)==null?void 0:k.settings)==null?void 0:b.theme)==="light"?"light":"dark"},o=(n,m)=>{var k,b;if(n===m.length-1)return"dark";let f=m[n];return f.theme&&((b=(k=f.theme)==null?void 0:k.settings)==null?void 0:b.theme)==="light"?"light":"dark"};if(!e.block.theme||!e.block.theme.settings)return r(e.index,e.allBlocks)==="dark"?u("section",{id:e.block.name||"content-block",className:"relative flex flex-col w-full pt-12",children:[t("div",{className:i("absolute inset-0 w-screen dark bg-background")}),t("div",{className:i("container relative","dark bg-background"),children:e.children})]}):u("section",{id:e.block.name||"content-block-start",className:"relative flex flex-col w-full",children:[t(g,{index:e.index,allBlocks:e.allBlocks}),t("div",{className:i("absolute inset-0 w-screen")}),t("div",{className:"bg-black",children:t("div",{className:i("container relative","dark bg-background"),children:e.children})})]});if(!("theme"in e.block)||r(e.index,e.allBlocks)===o(e.index,e.allBlocks)){let n=o(e.index,e.allBlocks);return u("section",{id:e.block.name||"content-block-continue",className:" relative flex flex-col w-full pt-20",children:[t("div",{className:i("absolute inset-0 w-screen bg-background",n)}),t("div",{className:i("container relative bg-background",n,n==="light"&&"p-12"),children:e.children})]})}if(r(e.index,e.allBlocks)!==o(e.index,e.allBlocks)){let n=o(e.index,e.allBlocks);return u("section",{id:e.block.blockName||"content-block-continue",className:"relative flex flex-col w-full",children:[t(g,{index:e.index,allBlocks:e.allBlocks}),t("div",{className:i("absolute inset-0 w-screen bg-background",n)}),t("div",{className:i("container relative bg-background min-h-[22em] content-center",n,n==="light"&&"p-12"),children:e.children})]})}if(!("theme"in e.block))return u("div",{className:i("container h-full relative","dark"),children:[t("div",{className:i("absolute inset-0 w-screen h-full dark bg-background")}),e.children]});let s=(d=e.block)==null?void 0:d.theme;if(s.settings.background==="image"){let n={imagePosition:s.settings.imagePosition||"left",overlay:s.settings.overlay!==void 0?s.settings.overlay:!0};return u("div",{className:i("absolute inset-0 w-full h-full bg-background",s.settings.theme||"dark"),children:[t(M,{src:((x=(y=s.settings)==null?void 0:y.image)==null?void 0:x.url)||"/placeholder.svg",alt:((P=(R=s.settings)==null?void 0:R.image)==null?void 0:P.alt)||"",fill:!0,className:"object-cover",priority:!0}),s.settings.overlay&&t("div",{className:"absolute inset-0",style:{background:n.imagePosition==="left"?"linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)":"linear-gradient(-90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)"}})]})}return t("div",{className:i("absolute inset-0 w-screen h-full bg-background",s.settings.theme||"dark")})},T=({position:e})=>t("div",{className:"w-full aspect-[1920/332] z-20 relative bg-white",children:t("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 334",preserveAspectRatio:"none",style:{fontSize:0,float:"left",alignContent:"flex-end",objectFit:"contain",transform:"rotateX(180deg)",bottom:"-2px",position:"absolute"},className:i("w-full block overflow-hidden"),children:t("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})}),A=({position:e})=>t("div",{className:"w-full relative z-20 aspect-[1920/332] overflow-hidden ",children:u("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",className:i("absolute "),style:{fontSize:0,float:"left",alignContent:"flex-end"},children:[t("defs",{children:u("mask",{id:"mask",children:[t("rect",{width:"100%",height:"100%",fill:"white"}),t("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0"})]})}),t("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0",fill:"black"})]})});import{Fragment as L,jsx as v,jsxs as D}from"react/jsx-runtime";var S=e=>{let{customId:l,reusableContent:g}=e;return typeof g=="object"&&g!==null?v(_,{blocks:g.layout}):v(L,{})},z={content:w,cta:B,mediaBlock:h,imageBlock:h,features:N},_=e=>{let{blocks:l}=e;return l&&Array.isArray(l)&&l.length>0?v(L,{children:l.map((a,r)=>{var s,d;let{blockType:c}=a,o=a==null?void 0:a.theme;if(c&&c in z){let y=z[c];if(y)return D("div",{className:"py-6 relative",children:[v(p,{block:a,index:r}),v("div",{className:i(((s=o==null?void 0:o.settings)==null?void 0:s.theme)==="dark"?"dark":((d=o==null?void 0:o.settings)==null?void 0:d.theme)==="green"?"green":""),children:v(y,{...a})})]},r)}return null})}):null};export{S as a,j as b,p as c,U as d,W as e,T as f,A as g};
@@ -1,5 +1,5 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{b as w,c as C}from"./chunk-LOXWNWF5.mjs";import{b as y}from"./chunk-LNFROMKC.mjs";import{a as N}from"./chunk-NIQ4466A.mjs";import{a as b}from"./chunk-C5XNOZXC.mjs";import{useEffect as d,useRef as s,useState as E,useCallback as H}from"react";import{Previewer as p}from"pagedjs";import{Fragment as T,jsx as n,jsxs as l}from"react/jsx-runtime";function B(r){var e=document.createElement("div");e.style.display="block",e.style.height=r,document.body.appendChild(e);var i=parseFloat(window.getComputedStyle(e,null).height);return e.parentNode&&e.parentNode.removeChild(e),Math.floor(i)}var m=r=>{let e=document.createElement("div");e.style.height="1mm",document.body.appendChild(e);let i=parseFloat(window.getComputedStyle(e).height);return document.body.removeChild(e),Math.floor(r/i)},z=({page:r,layout:e="portrait",logoImage:i})=>e==="flow"?n(I,{page:r,layout:e,logoImage:i}):n(M,{page:r,layout:e,logoImage:i}),I=({page:r,layout:e="portrait",logoImage:i})=>{let{contentWithIds:c}=b(r),u=s(null),a=s(null),h=s(new p),f={id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}};d(()=>{let o=document.getElementById("printable-content");if(o){let t=document.createElement("style");return t.textContent=`@page { size: ${m(o.offsetWidth)}mm ${m(o.offsetHeight)}mm ; margin: 0mm; width: ${m(o.offsetWidth)}mm }; .container : { max-width: ${m(o.offsetWidth)}mm; } .container : { max-width: 100%; }; html body * :not(#prinable-content, #printable-content *) { visibility: hidden !important; }`,document.head.appendChild(t),()=>{document.head.removeChild(t)}}},[e]);let k=H(()=>{if(!a.current)return;a.current&&(a.current.innerHTML="");let o=document.getElementById("printable-content");o&&h.current.preview(document.getElementById("printable-content").innerHTML,[`@page { size: ${m(o.offsetWidth)}mm ${m(o.offsetHeight)}mm ; margin: 0mm; }; .container : { max-width: 100%; }; body { zoom: 100%;}`],a.current).catch(t=>console.error("Paged.js error:",t))},[e]);d(()=>{h.current=new p},[k,e]);let g=[f,...c];return l("div",{children:[n("div",{className:"w-[1123px] print:w-[1123px]",children:l("div",{id:"printable-content",ref:u,children:[g.map((o,t)=>n(T,{children:t===0?n("section",{className:"title-page w-full h-full",children:n(C,{hero:r.hero,title:r.title})},t):l("section",{className:"normal-page overflow-hidden",children:[o.blockName&&n(w,{title:o.blockName}),n(y,{blocks:[o],fill:!0})]},t)})),n("section",{className:"normal-page",children:l("div",{className:`w-full py-2 px-8 flex justify-between items-center
4
+ import{b as w,c as C}from"./chunk-H6FCIWZG.mjs";import{b as y}from"./chunk-YYUXMZ2B.mjs";import{a as N}from"./chunk-NIQ4466A.mjs";import{a as b}from"./chunk-C5XNOZXC.mjs";import{useEffect as d,useRef as s,useState as E,useCallback as H}from"react";import{Previewer as p}from"pagedjs";import{Fragment as T,jsx as n,jsxs as l}from"react/jsx-runtime";function B(r){var e=document.createElement("div");e.style.display="block",e.style.height=r,document.body.appendChild(e);var i=parseFloat(window.getComputedStyle(e,null).height);return e.parentNode&&e.parentNode.removeChild(e),Math.floor(i)}var m=r=>{let e=document.createElement("div");e.style.height="1mm",document.body.appendChild(e);let i=parseFloat(window.getComputedStyle(e).height);return document.body.removeChild(e),Math.floor(r/i)},z=({page:r,layout:e="portrait",logoImage:i})=>e==="flow"?n(I,{page:r,layout:e,logoImage:i}):n(M,{page:r,layout:e,logoImage:i}),I=({page:r,layout:e="portrait",logoImage:i})=>{let{contentWithIds:c}=b(r),u=s(null),a=s(null),h=s(new p),f={id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}};d(()=>{let o=document.getElementById("printable-content");if(o){let t=document.createElement("style");return t.textContent=`@page { size: ${m(o.offsetWidth)}mm ${m(o.offsetHeight)}mm ; margin: 0mm; width: ${m(o.offsetWidth)}mm }; .container : { max-width: ${m(o.offsetWidth)}mm; } .container : { max-width: 100%; }; html body * :not(#prinable-content, #printable-content *) { visibility: hidden !important; }`,document.head.appendChild(t),()=>{document.head.removeChild(t)}}},[e]);let k=H(()=>{if(!a.current)return;a.current&&(a.current.innerHTML="");let o=document.getElementById("printable-content");o&&h.current.preview(document.getElementById("printable-content").innerHTML,[`@page { size: ${m(o.offsetWidth)}mm ${m(o.offsetHeight)}mm ; margin: 0mm; }; .container : { max-width: 100%; }; body { zoom: 100%;}`],a.current).catch(t=>console.error("Paged.js error:",t))},[e]);d(()=>{h.current=new p},[k,e]);let g=[f,...c];return l("div",{children:[n("div",{className:"w-[1123px] print:w-[1123px]",children:l("div",{id:"printable-content",ref:u,children:[g.map((o,t)=>n(T,{children:t===0?n("section",{className:"title-page w-full h-full",children:n(C,{hero:r.hero,title:r.title})},t):l("section",{className:"normal-page overflow-hidden",children:[o.blockName&&n(w,{title:o.blockName}),n(y,{blocks:[o],fill:!0})]},t)})),n("section",{className:"normal-page",children:l("div",{className:`w-full py-2 px-8 flex justify-between items-center
5
5
  dark bg-background text-primary`,children:[l("div",{className:"flex px-6 items-center space-x-2",children:[i&&n("img",{src:i.src,alt:"Cortex Reply Logo",className:"h-8"}),n("span",{className:"pl-12 text-sm",children:"Power up your people"})]}),n("a",{href:"https://cortexreply.com",className:"text-sm hover:underline",children:"cortexreply.com"})]})})]})}),n("div",{ref:a,className:"preview-container"})]})},M=({page:r,layout:e="portrait"})=>{let{contentWithIds:i}=b(r),c=s(null),u=s(null),a=s(new p),[h,f]=E(0),g=[{id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}},...i],o=H(()=>{c.current&&(c.current&&(c.current.innerHTML=""),a.current.preview(document.getElementById("printable-content").innerHTML,["./print.css",e==="landscape"?"./landscape.css":"./portrait.css"],c.current).then(t=>f(t.pageCount)).catch(t=>console.error("Paged.js error:",t)))},[e]);return d(()=>{a.current=new p,o()},[o,e]),d(()=>{let t=document.createElement("style");return t.textContent=`@page { size: A4 ${e} ; margin: 0mm; };`,document.head.appendChild(t),()=>{document.head.removeChild(t)}},[]),l("div",{className:"pagedjs-container",children:[n("div",{id:"printable-content",ref:u,style:{display:"none"},className:"pagedjs-content",children:g.map((t,v)=>{var P,x;return n(T,{children:v===0?n("section",{className:"pagedjs-section title-page w-full h-full",children:n(C,{hero:r.hero,title:r.title})},v):l("section",{className:N("pagedjs-section normal-page h-[699px]",`h-[${B("185mm")}px]`,((x=(P=t.theme)==null?void 0:P.settings)==null?void 0:x.theme)==="dark"?"dark":"light"),children:[t.blockName&&n(w,{title:t.blockName}),n(y,{blocks:[t],fill:!0})]},v)})})}),n("div",{ref:c,className:"preview-container"})]})};export{z as a,I as b,M as c};
@@ -1 +1 @@
1
- import{a as p}from"./chunk-XXTN5HMN.mjs";import{a as i}from"./chunk-NIQ4466A.mjs";import{jsx as o}from"react/jsx-runtime";var c=s=>{let{posts:r}=s;return o("div",{className:i("container"),children:o("div",{children:o("div",{className:"grid grid-cols-4 sm:grid-cols-8 lg:grid-cols-12 gap-y-4 gap-x-4 lg:gap-y-8 lg:gap-x-8 xl:gap-x-8",children:r==null?void 0:r.map((a,t)=>typeof a=="object"&&a!==null?o("div",{className:"col-span-4",children:o(p,{className:"h-full",doc:a,relationTo:"posts",showCategories:!0})},t):null)})})})};export{c as a};
1
+ import{a as p}from"./chunk-MGS3DQ22.mjs";import{a as i}from"./chunk-NIQ4466A.mjs";import{jsx as o}from"react/jsx-runtime";var c=s=>{let{posts:r}=s;return o("div",{className:i("container"),children:o("div",{children:o("div",{className:"grid grid-cols-4 sm:grid-cols-8 lg:grid-cols-12 gap-y-4 gap-x-4 lg:gap-y-8 lg:gap-x-8 xl:gap-x-8",children:r==null?void 0:r.map((a,t)=>typeof a=="object"&&a!==null?o("div",{className:"col-span-4",children:o(p,{className:"h-full",doc:a,relationTo:"posts",showCategories:!0})},t):null)})})})};export{c as a};
@@ -1 +1 @@
1
- import{a as n}from"./chunk-SV7NMNDI.mjs";import{a as r}from"./chunk-MLDVH35S.mjs";import{a as o}from"./chunk-M6M43TLT.mjs";import{a as e}from"./chunk-UESKYRNK.mjs";import{jsx as i,jsxs as c}from"react/jsx-runtime";function S({sectionHeading:p,cards:a}){return i("section",{className:"section-padding-primary !pt-0",children:c(e,{children:[i("div",{className:"mx-auto max-w-[630px]","data-aos":"fade-up","data-aos-delay":"100",children:i(r,{...p,alignment:"center",hasBottomSpacing:!0})}),a&&a.length>0&&i("div",{className:"grid gap-30px",children:a.map((d,t)=>i("div",{"data-aos":"fade-up","data-aos-delay":n([200,400,600],t),className:"py-2",children:i(o,{...d})},t))})]})})}export{S as a};
1
+ import{a as n}from"./chunk-SV7NMNDI.mjs";import{a as r}from"./chunk-HTDLKVHO.mjs";import{a as o}from"./chunk-M6M43TLT.mjs";import{a as e}from"./chunk-UESKYRNK.mjs";import{jsx as i,jsxs as c}from"react/jsx-runtime";function S({sectionHeading:p,cards:a}){return i("section",{className:"section-padding-primary !pt-0",children:c(e,{children:[i("div",{className:"mx-auto max-w-[630px]","data-aos":"fade-up","data-aos-delay":"100",children:i(r,{...p,alignment:"center",hasBottomSpacing:!0})}),a&&a.length>0&&i("div",{className:"grid gap-30px",children:a.map((d,t)=>i("div",{"data-aos":"fade-up","data-aos-delay":n([200,400,600],t),className:"py-2",children:i(o,{...d})},t))})]})})}export{S as a};
@@ -2,4 +2,4 @@
2
2
  "use strict";
3
3
  'use server'
4
4
 
5
- "use strict";var Ct=Object.create;var ee=Object.defineProperty;var kt=Object.getOwnPropertyDescriptor;var Nt=Object.getOwnPropertyNames;var At=Object.getPrototypeOf,Pt=Object.prototype.hasOwnProperty;var Bt=(e,t)=>{for(var r in t)ee(e,r,{get:t[r],enumerable:!0})},Le=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of Nt(t))!Pt.call(e,s)&&s!==r&&ee(e,s,{get:()=>t[s],enumerable:!(n=kt(t,s))||n.enumerable});return e};var j=(e,t,r)=>(r=e!=null?Ct(At(e)):{},Le(t||!e||!e.__esModule?ee(r,"default",{value:e,enumerable:!0}):r,e)),Tt=e=>Le(ee({},"__esModule",{value:!0}),e);var fr={};Bt(fr,{BannerBlock:()=>Te});module.exports=Tt(fr);var _e=require("clsx");var he="-",It=e=>{let t=Rt(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:a=>{let l=a.split(he);return l[0]===""&&l.length!==1&&l.shift(),De(l,t)||St(a)},getConflictingClassGroupIds:(a,l)=>{let c=r[a]||[];return l&&n[a]?[...c,...n[a]]:c}}},De=(e,t)=>{var a;if(e.length===0)return t.classGroupId;let r=e[0],n=t.nextPart.get(r),s=n?De(e.slice(1),n):void 0;if(s)return s;if(t.validators.length===0)return;let o=e.join(he);return(a=t.validators.find(({validator:l})=>l(o)))==null?void 0:a.classGroupId},Ge=/^\[(.+)\]$/,St=e=>{if(Ge.test(e)){let t=Ge.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Rt=e=>{let{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]};return Ft(Object.entries(e.classGroups),r).forEach(([o,a])=>{ye(a,n,o,t)}),n},ye=(e,t,r,n)=>{e.forEach(s=>{if(typeof s=="string"){let o=s===""?t:Ue(t,s);o.classGroupId=r;return}if(typeof s=="function"){if(Mt(s)){ye(s(n),t,r,n);return}t.validators.push({validator:s,classGroupId:r});return}Object.entries(s).forEach(([o,a])=>{ye(a,Ue(t,o),r,n)})})},Ue=(e,t)=>{let r=e;return t.split(he).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},Mt=e=>e.isThemeGetter,Ft=(e,t)=>t?e.map(([r,n])=>{let s=n.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([a,l])=>[t+a,l])):o);return[r,s]}):e,zt=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,n=new Map,s=(o,a)=>{r.set(o,a),t++,t>e&&(t=0,n=r,r=new Map)};return{get(o){let a=r.get(o);if(a!==void 0)return a;if((a=n.get(o))!==void 0)return s(o,a),a},set(o,a){r.has(o)?r.set(o,a):s(o,a)}}},je="!",Et=e=>{let{separator:t,experimentalParseClassName:r}=e,n=t.length===1,s=t[0],o=t.length,a=l=>{let c=[],p=0,f=0,C;for(let x=0;x<l.length;x++){let v=l[x];if(p===0){if(v===s&&(n||l.slice(x,x+o)===t)){c.push(l.slice(f,x)),f=x+o;continue}if(v==="/"){C=x;continue}}v==="["?p++:v==="]"&&p--}let w=c.length===0?l:l.substring(f),A=w.startsWith(je),P=A?w.substring(1):w,h=C&&C>f?C-f:void 0;return{modifiers:c,hasImportantModifier:A,baseClassName:P,maybePostfixModifierPosition:h}};return r?l=>r({className:l,parseClassName:a}):a},Lt=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(n=>{n[0]==="["?(t.push(...r.sort(),n),r=[]):r.push(n)}),t.push(...r.sort()),t},Gt=e=>({cache:zt(e.cacheSize),parseClassName:Et(e),...It(e)}),Ut=/\s+/,Dt=(e,t)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:s}=t,o=[],a=e.trim().split(Ut),l="";for(let c=a.length-1;c>=0;c-=1){let p=a[c],{modifiers:f,hasImportantModifier:C,baseClassName:w,maybePostfixModifierPosition:A}=r(p),P=!!A,h=n(P?w.substring(0,A):w);if(!h){if(!P){l=p+(l.length>0?" "+l:l);continue}if(h=n(w),!h){l=p+(l.length>0?" "+l:l);continue}P=!1}let x=Lt(f).join(":"),v=C?x+je:x,k=v+h;if(o.includes(k))continue;o.push(k);let F=s(h,P);for(let T=0;T<F.length;++T){let $=F[T];o.push(v+$)}l=p+(l.length>0?" "+l:l)}return l};function jt(){let e=0,t,r,n="";for(;e<arguments.length;)(t=arguments[e++])&&(r=He(t))&&(n&&(n+=" "),n+=r);return n}var He=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=He(e[n]))&&(r&&(r+=" "),r+=t);return r};function Ht(e,...t){let r,n,s,o=a;function a(c){let p=t.reduce((f,C)=>C(f),e());return r=Gt(p),n=r.cache.get,s=r.cache.set,o=l,l(c)}function l(c){let p=n(c);if(p)return p;let f=Dt(c,r);return s(c,f),f}return function(){return o(jt.apply(null,arguments))}}var g=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Oe=/^\[(?:([a-z-]+):)?(.+)\]$/i,Ot=/^\d+\/\d+$/,Vt=new Set(["px","full","screen"]),Yt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,_t=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|Ke|min|max))|\Ke(calc|min|max|clamp)\(.+\)|^0$/,Qt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,qt=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Jt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,R=e=>H(e)||Vt.has(e)||Ot.test(e),z=e=>O(e,"length",rr),H=e=>!!e&&!Number.isNaN(Number(e)),be=e=>O(e,"number",H),Q=e=>!!e&&Number.isInteger(Number(e)),Kt=e=>e.endsWith("%")&&H(e.slice(0,-1)),d=e=>Oe.test(e),E=e=>Yt.test(e),Xt=new Set(["length","size","percentage"]),$t=e=>O(e,Xt,Ve),Wt=e=>O(e,"position",Ve),Zt=new Set(["image","url"]),er=e=>O(e,Zt,ar),tr=e=>O(e,"",or),q=()=>!0,O=(e,t,r)=>{let n=Oe.exec(e);return n?n[1]?typeof t=="string"?n[1]===t:t.has(n[1]):r(n[2]):!1},rr=e=>_t.test(e)&&!Qt.test(e),Ve=()=>!1,or=e=>qt.test(e),ar=e=>Jt.test(e);var nr=()=>{let e=g("colors"),t=g("spacing"),r=g("blur"),n=g("brightness"),s=g("borderColor"),o=g("borderRadius"),a=g("borderSpacing"),l=g("borderWidth"),c=g("contrast"),p=g("grayscale"),f=g("hueRotate"),C=g("invert"),w=g("gap"),A=g("gradientColorStops"),P=g("gradientColorStopPositions"),h=g("inset"),x=g("margin"),v=g("opacity"),k=g("padding"),F=g("saturate"),T=g("scale"),$=g("sepia"),Ie=g("skew"),Se=g("space"),Re=g("translate"),me=()=>["auto","contain","none"],ue=()=>["auto","hidden","clip","visible","scroll"],fe=()=>["auto",d,t],y=()=>[d,t],Me=()=>["",R,z],W=()=>["auto",H,d],Fe=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Z=()=>["solid","dashed","dotted","double","none"],ze=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ge=()=>["start","end","center","between","around","evenly","stretch"],_=()=>["","0",d],Ee=()=>["auto","avoid","all","avoid-page","page","left","right","column"],S=()=>[H,d];return{cacheSize:500,separator:":",theme:{colors:[q],spacing:[R,z],blur:["none","",E,d],brightness:S(),borderColor:[e],borderRadius:["none","","full",E,d],borderSpacing:y(),borderWidth:Me(),contrast:S(),grayscale:_(),hueRotate:S(),invert:_(),gap:y(),gradientColorStops:[e],gradientColorStopPositions:[Kt,z],inset:fe(),margin:fe(),opacity:S(),padding:y(),saturate:S(),scale:S(),sepia:_(),skew:S(),space:y(),translate:y()},classGroups:{aspect:[{aspect:["auto","square","video",d]}],container:["container"],columns:[{columns:[E]}],"break-after":[{"break-after":Ee()}],"break-before":[{"break-before":Ee()}],"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:[...Fe(),d]}],overflow:[{overflow:ue()}],"overflow-x":[{"overflow-x":ue()}],"overflow-y":[{"overflow-y":ue()}],overscroll:[{overscroll:me()}],"overscroll-x":[{"overscroll-x":me()}],"overscroll-y":[{"overscroll-y":me()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[h]}],"inset-x":[{"inset-x":[h]}],"inset-y":[{"inset-y":[h]}],start:[{start:[h]}],end:[{end:[h]}],top:[{top:[h]}],right:[{right:[h]}],bottom:[{bottom:[h]}],left:[{left:[h]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Q,d]}],basis:[{basis:fe()}],"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:_()}],shrink:[{shrink:_()}],order:[{order:["first","last","none",Q,d]}],"grid-cols":[{"grid-cols":[q]}],"col-start-end":[{col:["auto",{span:["full",Q,d]},d]}],"col-start":[{"col-start":W()}],"col-end":[{"col-end":W()}],"grid-rows":[{"grid-rows":[q]}],"row-start-end":[{row:["auto",{span:[Q,d]},d]}],"row-start":[{"row-start":W()}],"row-end":[{"row-end":W()}],"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:[w]}],"gap-x":[{"gap-x":[w]}],"gap-y":[{"gap-y":[w]}],"justify-content":[{justify:["normal",...ge()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ge(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ge(),"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]}],Ke:[{Ke:[k]}],pt:[{pt:[k]}],pr:[{pr:[k]}],pb:[{pb:[k]}],pl:[{pl:[k]}],Ke:[{Ke:[x]}],mx:[{mx:[x]}],my:[{my:[x]}],ms:[{ms:[x]}],me:[{me:[x]}],mt:[{mt:[x]}],mr:[{mr:[x]}],mb:[{mb:[x]}],ml:[{ml:[x]}],"space-x":[{"space-x":[Se]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Se]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",d,t]}],"min-w":[{"min-w":[d,t,"min","max","fit"]}],"max-w":[{"max-w":[d,t,"none","full","min","max","fit","prose",{screen:[E]},E]}],h:[{h:[d,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[d,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[d,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[d,t,"auto","min","max","fit"]}],"font-size":[{text:["base",E,z]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",be]}],"font-family":[{font:[q]}],"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",H,be]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",R,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":[v]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[v]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Z(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",R,z]}],"underline-offset":[{"underline-offset":["auto",R,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:y()}],"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":[v]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Fe(),Wt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",$t]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","Ke","bl","l","tl"]},er]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[P]}],"gradient-via-pos":[{via:[P]}],"gradient-to-pos":[{to:[P]}],"gradient-from":[{from:[A]}],"gradient-via":[{via:[A]}],"gradient-to":[{to:[A]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-Ke":[{"rounded-Ke":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-Ke":[{"border-Ke":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[v]}],"border-style":[{border:[...Z(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[v]}],"divide-style":[{divide:Z()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-Ke":[{"border-Ke":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...Z()]}],"outline-offset":[{"outline-offset":[R,d]}],"outline-w":[{outline:[R,z]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Me()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-w":[{"ring-offset":[R,z]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",E,tr]}],"shadow-color":[{shadow:[q]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":[...ze(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ze()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",E,d]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[C]}],saturate:[{saturate:[F]}],sepia:[{sepia:[$]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[C]}],"backdrop-opacity":[{"backdrop-opacity":[v]}],"backdrop-saturate":[{"backdrop-saturate":[F]}],"backdrop-sepia":[{"backdrop-sepia":[$]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",d]}],duration:[{duration:S()}],ease:[{ease:["linear","in","out","in-out",d]}],delay:[{delay:S()}],animate:[{animate:["none","spin","ping","pulse","bounce",d]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[T]}],"scale-x":[{"scale-x":[T]}],"scale-y":[{"scale-y":[T]}],rotate:[{rotate:[Q,d]}],"translate-x":[{"translate-x":[Re]}],"translate-y":[{"translate-y":[Re]}],"skew-x":[{"skew-x":[Ie]}],"skew-y":[{"skew-y":[Ie]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",d]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",d]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-Ke":[{"scroll-Ke":y()}],"scroll-mx":[{"scroll-mx":y()}],"scroll-my":[{"scroll-my":y()}],"scroll-ms":[{"scroll-ms":y()}],"scroll-me":[{"scroll-me":y()}],"scroll-mt":[{"scroll-mt":y()}],"scroll-mr":[{"scroll-mr":y()}],"scroll-mb":[{"scroll-mb":y()}],"scroll-ml":[{"scroll-ml":y()}],"scroll-p":[{"scroll-p":y()}],"scroll-px":[{"scroll-px":y()}],"scroll-py":[{"scroll-py":y()}],"scroll-ps":[{"scroll-ps":y()}],"scroll-Ke":[{"scroll-Ke":y()}],"scroll-pt":[{"scroll-pt":y()}],"scroll-pr":[{"scroll-pr":y()}],"scroll-pb":[{"scroll-pb":y()}],"scroll-pl":[{"scroll-pl":y()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",d]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[R,z,be]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","Ke","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],Ke:["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-Ke","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-Ke":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-Ke","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-Ke"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-Ke","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-Ke"],"scroll-Ke":["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-Ke","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Ye=Ht(nr);function i(...e){return Ye((0,_e.clsx)(e))}var tt=require("react");var Qe=require("@radix-ui/react-slot"),qe=require("class-variance-authority"),Je=j(require("react")),Ke=require("react/jsx-runtime"),sr=(0,qe.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"}}}),G=Je.forwardRef(({asChild:e=!1,className:t,size:r,variant:n,...s},o)=>(0,Ke.jsx)(e?Qe.Slot:"button",{className:i(sr({className:t,size:r,variant:n})),ref:o,...s}));G.displayName="Button";var xe=j(require("next/link")),K=e=>{let{type:t,appearance:r="inline",children:n,className:s,label:o,newTab:a,reference:l,size:c,url:p}=e,f=t==="reference"&&typeof(l==null?void 0:l.value)=="object"&&l.value.slug?`${(l==null?void 0:l.relationTo)!=="pages"?`/${l==null?void 0:l.relationTo}`:""}/${l.value.slug}`:p;if(!f)return null;let C=r==="link"?"clear":c,w=a?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,Ke.jsxs)(xe.default,{className:i(s),href:f||p||"",...w,children:[o&&o,n&&n]}):(0,Ke.jsx)(G,{asChild:!0,className:s,size:C,variant:r,children:(0,Ke.jsxs)(xe.default,{className:i(s),href:f||p||"",...w,children:[o&&o,n&&n]})})};function te({className:e}){return i("flex items-center min-h-[3.5rem] md:min-h-[3.75rem] w-full rounded-5 px-4 md:px-5 py-2"," bg-transparent text-accent-800 placeholder:text-accent-800 dark:text-body dark:placeholder:text-body"," border border-solid border-accent-900 border-opacity-20 dark:border-opacity-20 dark:border-accent-200"," focus:border-accent-900 focus:ring-0 focus-visible:outline-0 focus-visible:ring-0 focus-visible:ring-offset-0","transition-all duration-300",e)}function lr({className:e,...t}){return(0,Ke.jsx)("input",{...t,className:te({className:e})})}function re({icon:e,...t}){return(0,Ke.jsxs)("div",{className:"relative w-full",children:[(0,Ke.jsx)(lr,{...t}),e&&(0,Ke.jsx)("span",{className:"absolute right-5 top-1/2 w-[14px] -translate-y-1/2 text-accent",children:e})]})}function ir({className:e,...t}){return(0,Ke.jsx)("textarea",{...t,className:i(te({}),"resize-none md:min-h-[130px]",e)})}function Xe({icon:e,...t}){return(0,Ke.jsxs)("div",{className:"relative w-full",children:[(0,Ke.jsx)(ir,{...t}),e&&(0,Ke.jsx)("span",{className:"absolute right-5 top-[18px] w-[14px] text-accent",children:e})]})}var We=require("formik"),Ze=require("react-icons/fa6"),U=j(require("yup"));async function $e(e){let{name:t,email:r,subject:n,message:s}=e,o=process.env.TEAMS_WEBHOOK_URL;if(!o)throw new Error("TEAMS_WEBHOOK_URL is not defined");let a={type:"message",attachments:[{contentType:"application/vnd.microsoft.card.adaptive",content:{$schema:"http://adaptivecards.io/schemas/adaptive-card.json",type:"AdaptiveCard",version:"1.2",body:[{type:"TextBlock",text:"Contact Us Form",wrap:!0,style:"heading",weight:"Bolder"},{type:"ColumnSet",columns:[{type:"Column",width:"stretch",items:[{type:"TextBlock",text:"Name",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Email",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Subject",wrap:!0,weight:"Bolder"}]},{type:"Column",width:"stretch",items:[{type:"TextBlock",text:`${t}`,wrap:!0},{type:"TextBlock",text:`${r}`,wrap:!0},{type:"TextBlock",text:`${n}`,wrap:!0}]}]},{type:"TextBlock",text:`${s}`,wrap:!0}]}}]};try{let l=await fetch(o,{method:"POST",mode:"no-cors",headers:{"Content-Type":"application/json"},body:JSON.stringify(a)});if(!l.ok)throw console.error(l),new Error("Network response was not ok");return{isSuccess:!0,data:!0,message:"Thanks for getting in touch"}}catch(l){return console.error(l),{isSuccess:!1,data:null,message:"Internal Server Error"}}}var ve=require("sonner"),B={tooShort:"Must be tt least ${min} characters",tooLong:"Must be tt most ${max} characters",required:"This field is required",email:"Invalid email format"},cr=U.object().shape({name:U.string().min(2,B.tooShort).max(50,B.tooLong).required(B.required),email:U.string().email(B.email).required(B.required),subject:U.string().min(2,B.tooShort).max(50,B.tooLong).required(B.required),message:U.string().min(2,B.tooShort).max(300,B.tooLong).required(B.required)}),oe=i("!pr-[44px] text-foreground"),ae=i("!border-red-600 border"),ne=i("sr-only");function et(){return(0,Ke.jsx)(We.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:cr,onSubmit:async(e,{resetForm:t})=>{let r=await $e(e);r.data===null?ve.toast.error(r.message):(ve.toast.success(r.message),t())},children:({errors:e,touched:t,values:r,handleChange:n,handleBlur:s,isSubmitting:o,handleSubmit:a})=>(0,Ke.jsxs)("form",{onSubmit:a,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[(0,Ke.jsxs)("div",{children:[(0,Ke.jsx)(re,{placeholder:"Your Name",type:"text",name:"name",value:r.name,onChange:n,onBlur:s,disabled:o,icon:(0,Ke.jsx)(Ze.FaUser,{className:"text-primary"}),className:i(oe,e.name&&t.name&&ae)}),e.name&&t.name&&(0,Ke.jsx)("p",{title:e.name,"aria-live":"polite",role:"error message",className:ne,children:e.name})]}),(0,Ke.jsxs)("div",{children:[(0,Ke.jsx)(re,{placeholder:"Your Email",type:"email",name:"email",value:r.email,onChange:n,onBlur:s,disabled:o,icon:(0,Ke.jsx)(dr,{}),className:i(oe,e.email&&t.email&&ae)}),e.email&&t.email&&(0,Ke.jsx)("p",{title:e.email,"aria-live":"polite",role:"error message",className:ne,children:e.email})]}),(0,Ke.jsxs)("div",{className:"lg:col-span-2",children:[(0,Ke.jsx)(re,{placeholder:"Subject",type:"text",name:"subject",value:r.subject,onChange:n,onBlur:s,disabled:o,className:i(oe,e.subject&&t.subject&&ae)}),e.subject&&t.subject&&(0,Ke.jsx)("p",{title:e.subject,"aria-live":"polite",role:"error message",className:ne,children:e.subject})]}),(0,Ke.jsxs)("div",{className:"lg:col-span-2",children:[(0,Ke.jsx)(Xe,{placeholder:"Message...",name:"message",value:r.message,onChange:n,onBlur:s,disabled:o,icon:(0,Ke.jsx)(pr,{}),className:i(oe,e.message&&t.message&&ae)}),e.message&&t.message&&(0,Ke.jsx)("p",{title:e.message,"aria-live":"polite",role:"error message",className:ne,children:e.message})]}),(0,Ke.jsx)("div",{className:"lg:col-span-2 light grid justify-items-center",children:(0,Ke.jsx)(G,{type:"submit",className:"outline px-6 rounded-full outline-accent bg-background text-foreground hover:bg-accent hover:text-accent-foreground",disabled:o,children:"Send"})})]})})}function dr(){return(0,Ke.jsx)("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"text-primary",children:(0,Ke.jsx)("path",{d:"M14.9727 1.76172L13.2227 13.1094C13.1953 13.3828 13.0312 13.6289 12.7852 13.7656C12.6484 13.8203 12.5117 13.875 12.3477 13.875C12.2383 13.875 12.1289 13.8477 12.0195 13.793L8.68359 12.3984L7.28906 14.4766C7.17969 14.668 6.98828 14.75 6.79688 14.75C6.49609 14.75 6.25 14.5039 6.25 14.2031V11.5781C6.25 11.3594 6.30469 11.168 6.41406 11.0312L12.375 3.375L4.33594 10.6211L1.51953 9.44531C1.21875 9.30859 1 9.03516 1 8.67969C0.972656 8.29688 1.13672 8.02344 1.4375 7.85938L13.6875 0.886719C13.9609 0.722656 14.3438 0.722656 14.6172 0.914062C14.8906 1.10547 15.0273 1.43359 14.9727 1.76172Z"})})}function pr(){return(0,Ke.jsx)("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"text-primary",children:(0,Ke.jsx)("path",{d:"M12.6875 0.5C13.3984 0.5 14 1.10156 14 1.8125C14 2.25 13.7812 2.63281 13.4531 2.87891L7.51953 7.33594C7.19141 7.58203 6.78125 7.58203 6.45312 7.33594L0.519531 2.87891C0.191406 2.63281 0 2.25 0 1.8125C0 1.10156 0.574219 0.5 1.3125 0.5H12.6875ZM5.93359 8.04688C6.5625 8.51172 7.41016 8.51172 8.03906 8.04688L14 3.5625V9.25C14 10.2344 13.207 11 12.25 11H1.75C0.765625 11 0 10.2344 0 9.25V3.5625L5.93359 8.04688Z"})})}var rt=({links:e,richText:t})=>{let[r,n]=(0,tt.useState)(!1),s="accent",o=()=>n(!0),a=()=>n(!1),l=c=>{c.target===c.currentTarget&&a()};return(0,Ke.jsxs)("div",{className:i("relative isolate overflow-hidden",s==="accent"?"bg-accent":"bg-black"),children:[(0,Ke.jsx)("div",{className:"px-6 py-24 sm:px-6 sm:py-32 lg:px-8",children:(0,Ke.jsxs)("div",{className:"mx-auto max-w-2xl text-center prose",children:[t&&(0,Ke.jsx)(L,{className:"mb-0 prose-headings:text-white prose-h2:text-white prose-p:text-white text-white",content:t,enableGutter:!1}),(0,Ke.jsx)("div",{className:"mt-10 flex items-center justify-center gap-x-6",children:(0,Ke.jsx)("div",{className:"flex flex-col gap-8 text-white",children:(e||[]).map(({link:c},p)=>(c==null?void 0:c.url)==="/contact"?(0,Ke.jsx)("div",{onClick:o,className:i("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",s==="accent"?"border-white bg-accent":"border-accent bg-black"),children:c.label},p):(0,Ke.jsx)(K,{size:"lg",className:i("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",s==="accent"?"border-white bg-accent":"border-accent bg-black"),...c},p))})})]})}),r&&(0,Ke.jsx)("div",{className:"absolute inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50",onClick:l,children:(0,Ke.jsxs)("div",{className:"bg-white p-6 pt-10 rounded-lg shadow-lg w-full max-w-lg relative",children:[(0,Ke.jsx)("button",{className:"absolute top-4 right-4 text-gray-500 hover:text-gray-700",onClick:a,children:"\u2715"}),(0,Ke.jsx)(et,{})," "]})})]})};var se=require("prism-react-renderer");var ot=require("lucide-react");function nt({code:e}){let[t,r]=(0,tt.useState)("Copy");function n(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,Ke.jsx)("div",{className:"flex justify-end align-middle",children:(0,Ke.jsxs)(G,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),n()},children:[(0,Ke.jsx)("p",{children:t}),(0,Ke.jsx)("div",{className:"w-6 h-6",children:(0,Ke.jsx)(ot.ClipboardCopy,{})})]})})}var st=({code:e,language:t=""})=>e?(0,Ke.jsx)(se.Highlight,{code:e,language:t,theme:se.themes.vsDark,children:({getLineProps:r,getTokenProps:n,tokens:s})=>(0,Ke.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[s.map((o,a)=>(0,Ke.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,Ke.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:a+1}),(0,Ke.jsx)("span",{className:"table-cell pl-4",children:o.map((l,c)=>(0,Ke.jsx)("span",{...n({token:l})},c))})]},a)),(0,Ke.jsx)(nt,{code:e})]})}):null;var lt=({className:e,code:t,language:r})=>(0,Ke.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,Ke.jsx)(st,{code:t,language:r})});var ct=j(require("next/image")),mr={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},it="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAABchJREFUWEdtlwtTG0kMhHtGM7N+AAdcDsjj///EBLzenbtuadbLJaZUTlHB+tRqSesETB3IABqQG1KbUFqDlQorBSmboqeEBcC1d8zrCixXYGZcgMsFmH8B+AngHdurAmXKOE8nHOoBrU6opcGswPi5KSP9CcBaQ9kACJH/ALAA1xm4zMD8AczvQCcAQeJVAZsy7nYApTSUzwCHUKACeUJi9TsFci7AHmDtuHYqQIC9AgQYKnSwNAig4NyOOwXq/xU47gDYggarjIpsRSEA3Fqw7AGkwgW4fgALAdiC2btKgNZwbgdMbEFpqFR2UyCR8xwAhf8bUHIGk1ckMyB5C1YkeWAdAPQBAeiD6wVYPoD1HUgXwFagZAGc6oSpTmilopoD5GzISQD3odcNIFca0BUQQM5YA2DpHV0AYURBDIAL0C+ugC0C4GedSsVUmwC8/4w8TPiwU6AClJ5RWL1PgQNkrABWdKB3YF3cBwRY5lsI4ApkKpCQi+FIgFJU/TDgDuAxAAwonJuKpGD1rkCXCR1ALyrAUSSEQAhwBdYZ6DPAgSUA2c1wKIZmRcHxMzMYR9DH8NlbkAwwApSAcABwBwTAbb6owAr0AFiZPILVEyCtMmK2jCkTwFDNUNj7nJETQx744gCUmgkZVGJUHyakEZE4W91jtGFA9KsD8Z3JFYDlhGYZLWcllwJMnplcPy+csFAgAAaIDOgeuAGoB96GLZg4kmtfMjnr6ig5oSoySsoy3ya/FMivXZWxwr0KIf9nACbfqcBEgmBSAtAlIT83R+70IWpyACamIjf5E1Iqb9ECVmnoI/FvAIRk8s2J0Y5IquQDgB+5wpScw5AUTC75VTmTs+72NUzoCvQIaAXv5Q8PDAZKLD+MxLv3RFE7KlsQChgBIlKiCv5ByaZv3gJZNm8AnVMhAN+EjrtTYQMICJpu6/0aiQnhClANlz+Bw0cIWa8ev0sBrtrhAyaXEnrfGfATQJiRKih5vKeOHNXXPFrgyamAADh0Q4F2/sESojomDS9o9k0b0H83xjB8qL+JNoTjN+enjpaBpingRh4e8MSugudM030A8FeqMI6PFIgNyPehkpZWGFEAARIQdH5LcAAqIACHkAJqg4OoBccHAuz76wr4BbzFOEa8iBuAZB8AtJHLP2VgMgJw/EIBowo7HxCAH3V6dAXEE/vZ5aZIA8BP8RKhm7Cp8BnAMnAQADdgQDA520AVIpScP+enHz0Gwp25h4i2dPg5FkDXrbsdJikQwXuWgaM5gEMk1AgH4DKKFjDf3bMD+FjEeIxLlRKYnBk2BbquvSDCAQ4gwZiMAAmH4gBTyRtEsYxi7gP6QSrc//39BrDNqG8rtYTmC4BV1SfMhOhaumFCT87zy4pPhQBZEK1kQVRjJBBi7AOlePgyAPYjwlvtagx9e/dnQraAyS894TIkkAIEYMKEc8k4EqJ68lZ5jjNqcQC2QteQOf7659umwBgPybNtK4dg9WvnMyFwXYGP7uEO1lwJgAnPNeMYMVXbIIYKFioI4PGFt+BWPVfmWJdjW2lTUnLGCswECAgaUy86iwA1464ajo0QhgMBFGyBoZahANsMpMfXr1JA1SN29m5lqgXj+UPV85uRA7yv/KYUO4Tk7Hc1AZwbIRzg0AyNj2UlAMwfSLSMnl7fdAbcxHuA27YaAMvaQ4GOjwX4RTUGAG8Ge14N963g1AynqUiFqRX9noasxT4b8entNRQYyamk/3tYcHsO7R3XJRRYOn4tw4iUnwBM5gDnySGOreAwAGo8F9IDHEcq8Pz2Kg/oXCpuIL6tOPD8LsDn0ABYQoGFRowlsAEUPPDrGAGowAbgKsgDMmE8mDy/vXQ9IAwI7u4wta+gAdAdgB64Ah9SgD4IgGKhwACoAjgNgFDhtxY8f33ZTMjqdTAiHMBPrn8ZWkEfzFdX4Oc1AHg3+ADbvN8PU8WdFKg4Tt6CQy2+D4YHaMT/JP4XzbAq98cPDIUAAAAASUVORK5CYII=",dt=e=>{let{alt:t,fill:r,imgClassName:n,priority:s,resource:o,size:a,src:l,loading:c}=e,p,f,C=t,w=l||"";if(!w&&o&&typeof o=="object"){let{alt:h,filename:x,height:v,url:k,width:F}=o;if(v&&v>500){let T=500/v;p=F*T,f=v*T}else p=F,f=v;C=h||"",w=k||it}let A=c||"lazy",P=a||Object.entries(mr).map(([,h])=>`(max-width: ${h}px) ${h*2}w`).join(", ");return(0,Ke.jsx)("picture",{children:(0,Ke.jsx)(ct.default,{alt:C||"",className:i(n),fill:r,height:r?void 0:f,placeholder:"blur",blurDataURL:it,priority:A!=="lazy"&&s,quality:100,loading:A,sizes:P,src:w,width:r?void 0:p})})};var pt=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var mt=()=>{if(pt){let e=window.location.protocol,t=window.location.hostname,r=window.location.port;return`${e}//${t}${r?`:${r}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var ut=e=>{let{onClick:t,resource:r,videoClassName:n}=e,s=(0,tt.useRef)(null);if((0,tt.useEffect)(()=>{let{current:o}=s;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,Ke.jsx)("video",{autoPlay:!0,className:i(n),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:s,children:(0,Ke.jsx)("source",{src:`${mt()}/media/${o}`})})}return null};var ce=e=>{var a;let{className:t,htmlElement:r="div",resource:n}=e,s=typeof n=="object"&&((a=n==null?void 0:n.mimeType)==null?void 0:a.includes("video"));return(0,Ke.jsx)(r||tt.Fragment,{...r!==null?{className:t}:{},children:s?(0,Ke.jsx)(ut,{...e}):(0,Ke.jsx)(dt,{...e})})};var gt=e=>{let{className:t,enableGutter:r=!0,imgClassName:n,media:s,staticImage:o}=e;return(0,Ke.jsx)("div",{className:i("h-full ",{container:r},t),children:(0,Ke.jsx)(ce,{imgClassName:i("rounded-[0.8rem]",n),className:"flex justify-center",resource:s,src:o})})};var bt=e=>{let{className:t,enableGutter:r=!0,imgClassName:n,media:s,staticImage:o}=e;return(0,Ke.jsx)("div",{className:i("",{container:r},t),children:(0,Ke.jsx)(ce,{imgClassName:i("rounded-[0.8rem]",n),resource:s,src:o})})};var Pe=({type:e="solid",iconName:t="cloud",size:r="lg",className:n})=>{let s=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,a=n!=null?n:"",l=s+o+" fa-"+r+" "+a;return(0,Ke.jsx)("i",{className:l})};var xt=j(require("next/image"));function ht(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function Be({image:e,icon:t,title:r,subtitle:n,content:s,statistic:o,settings:a,link:l,className:c}){var C,w;let p={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"},f={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return(0,Ke.jsxs)("div",{className:i("min-w-56 max-w-xl h-full flex flex-col group",e?"p-0 pb-4":"p-8",a&&!e&&p[(a==null?void 0:a.card)==="default"?"solid":a==null?void 0:a.card],e&&"bg-foreground",a&&(a==null?void 0:a.card)==="outline"?"text-gray-900":"text-white",f[(C=a==null?void 0:a.width)!=null?C:"auto"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",a&&`intersect:animate-delay-${a.order||1}00`,c),children:[e&&(0,Ke.jsx)("div",{className:"relative h-1/2 lg:h-2/3 w-full mb-0",children:(0,Ke.jsx)(xt.default,{src:e.url||"/placeholder.svg",alt:e.alt||"card header image",fill:!0,style:{objectFit:"cover"},priority:!0})}),(0,Ke.jsxs)("div",{className:i(e?"p-4 md:p-1 md:px-8":"p-0 md:p-0","flex h-2/5 md:max-h-1/2 flex-col flex-grow"),children:[n&&(0,Ke.jsx)("div",{className:"mb-4 text-primary uppercase font-light",children:n}),(0,Ke.jsx)("div",{className:"flex items-center gap-4 mb-2 md:mb-0",children:(0,Ke.jsx)(ur,{icon:{type:(t==null?void 0:t.type)||"fa-light",iconName:(t==null?void 0:t.icon)||"no-icon-error"},heading:r!=null?r:"",variant:(a==null?void 0:a.card)==="default"?"solid":(w=a==null?void 0:a.card)!=null?w:"solid",iconSize:(a==null?void 0:a.iconSize)||"large"})}),o&&(0,Ke.jsx)("div",{className:"mb-6",children:(0,Ke.jsx)("div",{className:i("text-4xl text-wrap font-bold leading-none overflow-hidden",(a==null?void 0:a.card)==="outline"||(a==null?void 0:a.card)==="light"?"text-brand-green":"text-white"),children:o})}),s&&typeof s=="object"&&(0,Ke.jsx)(L,{enableGutter:!1,content:s,enableProse:!1,className:i("space-y-6",(a==null?void 0:a.card)==="outline"||(a==null?void 0:a.card)==="light"?"prose prose-headings:text-foreground prose-p:text-foreground prose-a:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100 prose-a:text-gray-100",e&&"prose prose-headings:text-background prose-p:text-background")}),s&&typeof s=="string"&&(0,Ke.jsx)("div",{className:i("space-y-6",(a==null?void 0:a.card)==="outline"||(a==null?void 0:a.card)==="light"?"prose text-foreground":"prose text-gray-100",e&&"prose text-background"),children:s}),l&&l.url&&(0,Ke.jsx)("div",{className:"pt-6 h-full flex items-end justify-start",children:(0,Ke.jsx)("a",{className:"text-accent justify-start font-semibold uppercase",href:l.url||"#",children:(l==null?void 0:l.label)||"Find out more"})}),(a==null?void 0:a.card)==="radial"&&(0,Ke.jsx)("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 ur=({icon:e,heading:t,variant:r,iconSize:n,subtitle:s})=>e&&n==="small"&&e.iconName!="no-icon-error"?(0,Ke.jsxs)("div",{className:"flex items-start justify-between w-full mb-2",children:[(0,Ke.jsx)("div",{className:i(r==="outline"||r==="light"?"text-primary":"text-white",n==="small"?"text-2xl":"text-3xl"),children:t}),ht(e)&&(0,Ke.jsx)("div",{className:i("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-primary":"text-white",n==="small"?"-mr-2 ml-1 mt-1":""),children:(0,Ke.jsx)(Pe,{type:e.type,iconName:e.iconName,size:"2x"})})]}):e&&e.iconName!="no-icon-error"?(0,Ke.jsxs)("div",{className:"flex flex-col gap-4",children:[ht(e)&&(0,Ke.jsx)("div",{className:i("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-accent":""),children:(0,Ke.jsx)(Pe,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,Ke.jsx)("h3",{className:i("font-normal",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl text-white"),children:t})]}):(0,Ke.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,Ke.jsx)("div",{className:i("font-regular",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})});var vt=({title:e,description:t,features:r,id:n,nested:s=!1})=>(0,Ke.jsxs)("section",{className:i(s?"w-full":"container",""),children:[(0,Ke.jsxs)("div",{className:"prose prose:max-w-none",children:[e&&(0,Ke.jsx)("h2",{className:"mb-6 mt-0 text-primary",id:n||"",children:e}),t&&typeof t=="string"&&(0,Ke.jsx)("p",{className:"mb-5 text-foreground",children:t}),t&&typeof t=="object"&&(0,Ke.jsx)("div",{className:"mb-5 text-foreground",children:(0,Ke.jsx)(L,{content:t,enableGutter:!1})})]}),(0,Ke.jsx)("div",{className:`grid gap-6 mt-6 md:grid-cols-${r?r.length>2?2:r.length:1} lg:grid-cols-${r?r.length>3?3:r.length:1}`,children:r&&r.map((o,a)=>{var c;let l=()=>{if(o.icon&&"type"in o.icon&&o.icon.type!=="none")return{type:o.icon.type,icon:o.icon.icon}};return(0,Ke.jsx)(Be,{title:o.title||"",content:o.content||void 0,statistic:o.statistic||void 0,settings:{...o.settings,width:"auto",order:a},link:o.link?{...o.link,label:"Learn more"}:void 0,icon:(c=l())!=null?c:{type:"none",icon:null}},a)})})]});var de=j(require("react"));function X({nodes:e}){return(0,Ke.jsx)(de.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let o=(0,Ke.jsx)(de.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,Ke.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,Ke.jsx)("em",{children:o},r)),t.format&4&&(o=(0,Ke.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,Ke.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,Ke.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,Ke.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,Ke.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,Ke.jsx)("table",{children:(0,Ke.jsx)("tbody",{children:t.children.map((o,a)=>(0,Ke.jsx)("tr",{children:o.children.map((l,c)=>(0,Ke.jsx)("td",{children:X({nodes:l.children})},c))},a))})},r);let n=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let a of o.children)"checked"in a&&(a!=null&&a.checked||(a.checked=!1));return X({nodes:o.children})},s="children"in t?n(t):"";if(t.type==="block"){let o=t.fields,a=o==null?void 0:o.blockType;if(!o||!a)return null;switch(a){case"cta":return(0,Ke.jsx)(rt,{...o},r);case"mediaBlock":return(0,Ke.jsx)(gt,{className:"col-start-1 col-span-3",imgClassName:"Ke-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,Ke.jsx)(bt,{className:"col-start-1 col-span-3",imgClassName:"Ke-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,Ke.jsx)(Te,{className:"col-start-2 mb-4",...o},r);case"code":return(0,Ke.jsx)(lt,{className:"col-start-2",...o},r);case"features":return(0,Ke.jsx)(vt,{...o,nested:!0},r);case"reusableContentBlock":X({nodes:o.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,Ke.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,Ke.jsx)("p",{className:"col-start-2",children:s},r);case"heading":{let o=t==null?void 0:t.tag;return(0,Ke.jsx)(o,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:s},r)}case"list":{let o=t==null?void 0:t.tag;return(0,Ke.jsx)(o,{className:"list col-start-2",children:s},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,Ke.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:s},r):(0,Ke.jsx)("li",{value:t==null?void 0:t.value,children:s},r);case"quote":return(0,Ke.jsx)("blockquote",{className:"col-start-2",children:s},r);case"link":{let o=t.fields;return(0,Ke.jsx)(K,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},r)}case"autolink":{let o=t.fields;return(0,Ke.jsx)(K,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},r)}default:return null}})})}var L=({className:e,content:t,enableGutter:r=!0,enableProse:n=!0})=>{var s;return t?(0,Ke.jsx)("div",{className:i({"container ":r,"max-w-none":!r,"mx-auto prose":n},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&X({nodes:(s=t==null?void 0:t.root)==null?void 0:s.children})}):null};var Te=({className:e,content:t,style:r})=>(0,Ke.jsx)("div",{className:i("mx-auto my-8 w-full",e),children:(0,Ke.jsx)("div",{className:i("border py-3 px-6 flex items-center rounded",{"border-border bg-card":r==="info","border-error bg-error/30":r==="error","border-success bg-success/30":r==="success","border-warning bg-warning/30":r==="warning"}),children:(0,Ke.jsx)(L,{content:t,enableGutter:!1,enableProse:!1})})});0&&(module.exports={BannerBlock});
5
+ "use strict";var Ct=Object.create;var ee=Object.defineProperty;var kt=Object.getOwnPropertyDescriptor;var Nt=Object.getOwnPropertyNames;var At=Object.getPrototypeOf,Pt=Object.prototype.hasOwnProperty;var Bt=(e,t)=>{for(var r in t)ee(e,r,{get:t[r],enumerable:!0})},Le=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of Nt(t))!Pt.call(e,s)&&s!==r&&ee(e,s,{get:()=>t[s],enumerable:!(n=kt(t,s))||n.enumerable});return e};var j=(e,t,r)=>(r=e!=null?Ct(At(e)):{},Le(t||!e||!e.__esModule?ee(r,"default",{value:e,enumerable:!0}):r,e)),Tt=e=>Le(ee({},"__esModule",{value:!0}),e);var fr={};Bt(fr,{BannerBlock:()=>Te});module.exports=Tt(fr);var _e=require("clsx");var he="-",It=e=>{let t=Rt(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:a=>{let l=a.split(he);return l[0]===""&&l.length!==1&&l.shift(),De(l,t)||St(a)},getConflictingClassGroupIds:(a,l)=>{let c=r[a]||[];return l&&n[a]?[...c,...n[a]]:c}}},De=(e,t)=>{var a;if(e.length===0)return t.classGroupId;let r=e[0],n=t.nextPart.get(r),s=n?De(e.slice(1),n):void 0;if(s)return s;if(t.validators.length===0)return;let o=e.join(he);return(a=t.validators.find(({validator:l})=>l(o)))==null?void 0:a.classGroupId},Ge=/^\[(.+)\]$/,St=e=>{if(Ge.test(e)){let t=Ge.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Rt=e=>{let{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]};return Ft(Object.entries(e.classGroups),r).forEach(([o,a])=>{ye(a,n,o,t)}),n},ye=(e,t,r,n)=>{e.forEach(s=>{if(typeof s=="string"){let o=s===""?t:Ue(t,s);o.classGroupId=r;return}if(typeof s=="function"){if(Mt(s)){ye(s(n),t,r,n);return}t.validators.push({validator:s,classGroupId:r});return}Object.entries(s).forEach(([o,a])=>{ye(a,Ue(t,o),r,n)})})},Ue=(e,t)=>{let r=e;return t.split(he).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},Mt=e=>e.isThemeGetter,Ft=(e,t)=>t?e.map(([r,n])=>{let s=n.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([a,l])=>[t+a,l])):o);return[r,s]}):e,zt=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,n=new Map,s=(o,a)=>{r.set(o,a),t++,t>e&&(t=0,n=r,r=new Map)};return{get(o){let a=r.get(o);if(a!==void 0)return a;if((a=n.get(o))!==void 0)return s(o,a),a},set(o,a){r.has(o)?r.set(o,a):s(o,a)}}},je="!",Et=e=>{let{separator:t,experimentalParseClassName:r}=e,n=t.length===1,s=t[0],o=t.length,a=l=>{let c=[],p=0,f=0,C;for(let x=0;x<l.length;x++){let v=l[x];if(p===0){if(v===s&&(n||l.slice(x,x+o)===t)){c.push(l.slice(f,x)),f=x+o;continue}if(v==="/"){C=x;continue}}v==="["?p++:v==="]"&&p--}let w=c.length===0?l:l.substring(f),A=w.startsWith(je),P=A?w.substring(1):w,h=C&&C>f?C-f:void 0;return{modifiers:c,hasImportantModifier:A,baseClassName:P,maybePostfixModifierPosition:h}};return r?l=>r({className:l,parseClassName:a}):a},Lt=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(n=>{n[0]==="["?(t.push(...r.sort(),n),r=[]):r.push(n)}),t.push(...r.sort()),t},Gt=e=>({cache:zt(e.cacheSize),parseClassName:Et(e),...It(e)}),Ut=/\s+/,Dt=(e,t)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:s}=t,o=[],a=e.trim().split(Ut),l="";for(let c=a.length-1;c>=0;c-=1){let p=a[c],{modifiers:f,hasImportantModifier:C,baseClassName:w,maybePostfixModifierPosition:A}=r(p),P=!!A,h=n(P?w.substring(0,A):w);if(!h){if(!P){l=p+(l.length>0?" "+l:l);continue}if(h=n(w),!h){l=p+(l.length>0?" "+l:l);continue}P=!1}let x=Lt(f).join(":"),v=C?x+je:x,k=v+h;if(o.includes(k))continue;o.push(k);let F=s(h,P);for(let T=0;T<F.length;++T){let $=F[T];o.push(v+$)}l=p+(l.length>0?" "+l:l)}return l};function jt(){let e=0,t,r,n="";for(;e<arguments.length;)(t=arguments[e++])&&(r=He(t))&&(n&&(n+=" "),n+=r);return n}var He=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=He(e[n]))&&(r&&(r+=" "),r+=t);return r};function Ht(e,...t){let r,n,s,o=a;function a(c){let p=t.reduce((f,C)=>C(f),e());return r=Gt(p),n=r.cache.get,s=r.cache.set,o=l,l(c)}function l(c){let p=n(c);if(p)return p;let f=Dt(c,r);return s(c,f),f}return function(){return o(jt.apply(null,arguments))}}var g=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Oe=/^\[(?:([a-z-]+):)?(.+)\]$/i,Ot=/^\d+\/\d+$/,Vt=new Set(["px","full","screen"]),Yt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,_t=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|Ke|min|max))|\Ke(calc|min|max|clamp)\(.+\)|^0$/,Qt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,qt=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Jt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,R=e=>H(e)||Vt.has(e)||Ot.test(e),z=e=>O(e,"length",rr),H=e=>!!e&&!Number.isNaN(Number(e)),be=e=>O(e,"number",H),Q=e=>!!e&&Number.isInteger(Number(e)),Kt=e=>e.endsWith("%")&&H(e.slice(0,-1)),d=e=>Oe.test(e),E=e=>Yt.test(e),Xt=new Set(["length","size","percentage"]),$t=e=>O(e,Xt,Ve),Wt=e=>O(e,"position",Ve),Zt=new Set(["image","url"]),er=e=>O(e,Zt,ar),tr=e=>O(e,"",or),q=()=>!0,O=(e,t,r)=>{let n=Oe.exec(e);return n?n[1]?typeof t=="string"?n[1]===t:t.has(n[1]):r(n[2]):!1},rr=e=>_t.test(e)&&!Qt.test(e),Ve=()=>!1,or=e=>qt.test(e),ar=e=>Jt.test(e);var nr=()=>{let e=g("colors"),t=g("spacing"),r=g("blur"),n=g("brightness"),s=g("borderColor"),o=g("borderRadius"),a=g("borderSpacing"),l=g("borderWidth"),c=g("contrast"),p=g("grayscale"),f=g("hueRotate"),C=g("invert"),w=g("gap"),A=g("gradientColorStops"),P=g("gradientColorStopPositions"),h=g("inset"),x=g("margin"),v=g("opacity"),k=g("padding"),F=g("saturate"),T=g("scale"),$=g("sepia"),Ie=g("skew"),Se=g("space"),Re=g("translate"),me=()=>["auto","contain","none"],ue=()=>["auto","hidden","clip","visible","scroll"],fe=()=>["auto",d,t],y=()=>[d,t],Me=()=>["",R,z],W=()=>["auto",H,d],Fe=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Z=()=>["solid","dashed","dotted","double","none"],ze=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ge=()=>["start","end","center","between","around","evenly","stretch"],_=()=>["","0",d],Ee=()=>["auto","avoid","all","avoid-page","page","left","right","column"],S=()=>[H,d];return{cacheSize:500,separator:":",theme:{colors:[q],spacing:[R,z],blur:["none","",E,d],brightness:S(),borderColor:[e],borderRadius:["none","","full",E,d],borderSpacing:y(),borderWidth:Me(),contrast:S(),grayscale:_(),hueRotate:S(),invert:_(),gap:y(),gradientColorStops:[e],gradientColorStopPositions:[Kt,z],inset:fe(),margin:fe(),opacity:S(),padding:y(),saturate:S(),scale:S(),sepia:_(),skew:S(),space:y(),translate:y()},classGroups:{aspect:[{aspect:["auto","square","video",d]}],container:["container"],columns:[{columns:[E]}],"break-after":[{"break-after":Ee()}],"break-before":[{"break-before":Ee()}],"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:[...Fe(),d]}],overflow:[{overflow:ue()}],"overflow-x":[{"overflow-x":ue()}],"overflow-y":[{"overflow-y":ue()}],overscroll:[{overscroll:me()}],"overscroll-x":[{"overscroll-x":me()}],"overscroll-y":[{"overscroll-y":me()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[h]}],"inset-x":[{"inset-x":[h]}],"inset-y":[{"inset-y":[h]}],start:[{start:[h]}],end:[{end:[h]}],top:[{top:[h]}],right:[{right:[h]}],bottom:[{bottom:[h]}],left:[{left:[h]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Q,d]}],basis:[{basis:fe()}],"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:_()}],shrink:[{shrink:_()}],order:[{order:["first","last","none",Q,d]}],"grid-cols":[{"grid-cols":[q]}],"col-start-end":[{col:["auto",{span:["full",Q,d]},d]}],"col-start":[{"col-start":W()}],"col-end":[{"col-end":W()}],"grid-rows":[{"grid-rows":[q]}],"row-start-end":[{row:["auto",{span:[Q,d]},d]}],"row-start":[{"row-start":W()}],"row-end":[{"row-end":W()}],"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:[w]}],"gap-x":[{"gap-x":[w]}],"gap-y":[{"gap-y":[w]}],"justify-content":[{justify:["normal",...ge()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ge(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ge(),"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]}],Ke:[{Ke:[k]}],pt:[{pt:[k]}],pr:[{pr:[k]}],pb:[{pb:[k]}],pl:[{pl:[k]}],Ke:[{Ke:[x]}],mx:[{mx:[x]}],my:[{my:[x]}],ms:[{ms:[x]}],me:[{me:[x]}],mt:[{mt:[x]}],mr:[{mr:[x]}],mb:[{mb:[x]}],ml:[{ml:[x]}],"space-x":[{"space-x":[Se]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Se]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",d,t]}],"min-w":[{"min-w":[d,t,"min","max","fit"]}],"max-w":[{"max-w":[d,t,"none","full","min","max","fit","prose",{screen:[E]},E]}],h:[{h:[d,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[d,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[d,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[d,t,"auto","min","max","fit"]}],"font-size":[{text:["base",E,z]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",be]}],"font-family":[{font:[q]}],"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",H,be]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",R,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":[v]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[v]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Z(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",R,z]}],"underline-offset":[{"underline-offset":["auto",R,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:y()}],"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":[v]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Fe(),Wt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",$t]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","Ke","bl","l","tl"]},er]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[P]}],"gradient-via-pos":[{via:[P]}],"gradient-to-pos":[{to:[P]}],"gradient-from":[{from:[A]}],"gradient-via":[{via:[A]}],"gradient-to":[{to:[A]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-Ke":[{"rounded-Ke":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-Ke":[{"border-Ke":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[v]}],"border-style":[{border:[...Z(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[v]}],"divide-style":[{divide:Z()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-Ke":[{"border-Ke":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...Z()]}],"outline-offset":[{"outline-offset":[R,d]}],"outline-w":[{outline:[R,z]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Me()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-w":[{"ring-offset":[R,z]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",E,tr]}],"shadow-color":[{shadow:[q]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":[...ze(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ze()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",E,d]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[C]}],saturate:[{saturate:[F]}],sepia:[{sepia:[$]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[C]}],"backdrop-opacity":[{"backdrop-opacity":[v]}],"backdrop-saturate":[{"backdrop-saturate":[F]}],"backdrop-sepia":[{"backdrop-sepia":[$]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",d]}],duration:[{duration:S()}],ease:[{ease:["linear","in","out","in-out",d]}],delay:[{delay:S()}],animate:[{animate:["none","spin","ping","pulse","bounce",d]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[T]}],"scale-x":[{"scale-x":[T]}],"scale-y":[{"scale-y":[T]}],rotate:[{rotate:[Q,d]}],"translate-x":[{"translate-x":[Re]}],"translate-y":[{"translate-y":[Re]}],"skew-x":[{"skew-x":[Ie]}],"skew-y":[{"skew-y":[Ie]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",d]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",d]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-Ke":[{"scroll-Ke":y()}],"scroll-mx":[{"scroll-mx":y()}],"scroll-my":[{"scroll-my":y()}],"scroll-ms":[{"scroll-ms":y()}],"scroll-me":[{"scroll-me":y()}],"scroll-mt":[{"scroll-mt":y()}],"scroll-mr":[{"scroll-mr":y()}],"scroll-mb":[{"scroll-mb":y()}],"scroll-ml":[{"scroll-ml":y()}],"scroll-p":[{"scroll-p":y()}],"scroll-px":[{"scroll-px":y()}],"scroll-py":[{"scroll-py":y()}],"scroll-ps":[{"scroll-ps":y()}],"scroll-Ke":[{"scroll-Ke":y()}],"scroll-pt":[{"scroll-pt":y()}],"scroll-pr":[{"scroll-pr":y()}],"scroll-pb":[{"scroll-pb":y()}],"scroll-pl":[{"scroll-pl":y()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",d]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[R,z,be]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","Ke","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],Ke:["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-Ke","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-Ke":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-Ke","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-Ke"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-Ke","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-Ke"],"scroll-Ke":["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-Ke","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Ye=Ht(nr);function i(...e){return Ye((0,_e.clsx)(e))}var tt=require("react");var Qe=require("@radix-ui/react-slot"),qe=require("class-variance-authority"),Je=j(require("react")),Ke=require("react/jsx-runtime"),sr=(0,qe.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"}}}),G=Je.forwardRef(({asChild:e=!1,className:t,size:r,variant:n,...s},o)=>(0,Ke.jsx)(e?Qe.Slot:"button",{className:i(sr({className:t,size:r,variant:n})),ref:o,...s}));G.displayName="Button";var xe=j(require("next/link")),K=e=>{let{type:t,appearance:r="inline",children:n,className:s,label:o,newTab:a,reference:l,size:c,url:p}=e,f=t==="reference"&&typeof(l==null?void 0:l.value)=="object"&&l.value.slug?`${(l==null?void 0:l.relationTo)!=="pages"?`/${l==null?void 0:l.relationTo}`:""}/${l.value.slug}`:p;if(!f)return null;let C=r==="link"?"clear":c,w=a?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,Ke.jsxs)(xe.default,{className:i(s),href:f||p||"",...w,children:[o&&o,n&&n]}):(0,Ke.jsx)(G,{asChild:!0,className:s,size:C,variant:r,children:(0,Ke.jsxs)(xe.default,{className:i(s),href:f||p||"",...w,children:[o&&o,n&&n]})})};function te({className:e}){return i("flex items-center min-h-[3.5rem] md:min-h-[3.75rem] w-full rounded-5 px-4 md:px-5 py-2"," bg-transparent text-accent-800 placeholder:text-accent-800 dark:text-body dark:placeholder:text-body"," border border-solid border-accent-900 border-opacity-20 dark:border-opacity-20 dark:border-accent-200"," focus:border-accent-900 focus:ring-0 focus-visible:outline-0 focus-visible:ring-0 focus-visible:ring-offset-0","transition-all duration-300",e)}function lr({className:e,...t}){return(0,Ke.jsx)("input",{...t,className:te({className:e})})}function re({icon:e,...t}){return(0,Ke.jsxs)("div",{className:"relative w-full",children:[(0,Ke.jsx)(lr,{...t}),e&&(0,Ke.jsx)("span",{className:"absolute right-5 top-1/2 w-[14px] -translate-y-1/2 text-accent",children:e})]})}function ir({className:e,...t}){return(0,Ke.jsx)("textarea",{...t,className:i(te({}),"resize-none md:min-h-[130px]",e)})}function Xe({icon:e,...t}){return(0,Ke.jsxs)("div",{className:"relative w-full",children:[(0,Ke.jsx)(ir,{...t}),e&&(0,Ke.jsx)("span",{className:"absolute right-5 top-[18px] w-[14px] text-accent",children:e})]})}var We=require("formik"),Ze=require("react-icons/fa6"),U=j(require("yup"));async function $e(e){let{name:t,email:r,subject:n,message:s}=e,o=process.env.TEAMS_WEBHOOK_URL;if(!o)throw new Error("TEAMS_WEBHOOK_URL is not defined");let a={type:"message",attachments:[{contentType:"application/vnd.microsoft.card.adaptive",content:{$schema:"http://adaptivecards.io/schemas/adaptive-card.json",type:"AdaptiveCard",version:"1.2",body:[{type:"TextBlock",text:"Contact Us Form",wrap:!0,style:"heading",weight:"Bolder"},{type:"ColumnSet",columns:[{type:"Column",width:"stretch",items:[{type:"TextBlock",text:"Name",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Email",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Subject",wrap:!0,weight:"Bolder"}]},{type:"Column",width:"stretch",items:[{type:"TextBlock",text:`${t}`,wrap:!0},{type:"TextBlock",text:`${r}`,wrap:!0},{type:"TextBlock",text:`${n}`,wrap:!0}]}]},{type:"TextBlock",text:`${s}`,wrap:!0}]}}]};try{let l=await fetch(o,{method:"POST",mode:"no-cors",headers:{"Content-Type":"application/json"},body:JSON.stringify(a)});if(!l.ok)throw console.error(l),new Error("Network response was not ok");return{isSuccess:!0,data:!0,message:"Thanks for getting in touch"}}catch(l){return console.error(l),{isSuccess:!1,data:null,message:"Internal Server Error"}}}var ve=require("sonner"),B={tooShort:"Must be tt least ${min} characters",tooLong:"Must be tt most ${max} characters",required:"This field is required",email:"Invalid email format"},cr=U.object().shape({name:U.string().min(2,B.tooShort).max(50,B.tooLong).required(B.required),email:U.string().email(B.email).required(B.required),subject:U.string().min(2,B.tooShort).max(50,B.tooLong).required(B.required),message:U.string().min(2,B.tooShort).max(300,B.tooLong).required(B.required)}),oe=i("!pr-[44px] text-foreground"),ae=i("!border-red-600 border"),ne=i("sr-only");function et(){return(0,Ke.jsx)(We.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:cr,onSubmit:async(e,{resetForm:t})=>{let r=await $e(e);r.data===null?ve.toast.error(r.message):(ve.toast.success(r.message),t())},children:({errors:e,touched:t,values:r,handleChange:n,handleBlur:s,isSubmitting:o,handleSubmit:a})=>(0,Ke.jsxs)("form",{onSubmit:a,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[(0,Ke.jsxs)("div",{children:[(0,Ke.jsx)(re,{placeholder:"Your Name",type:"text",name:"name",value:r.name,onChange:n,onBlur:s,disabled:o,icon:(0,Ke.jsx)(Ze.FaUser,{className:"text-primary"}),className:i(oe,e.name&&t.name&&ae)}),e.name&&t.name&&(0,Ke.jsx)("p",{title:e.name,"aria-live":"polite",role:"error message",className:ne,children:e.name})]}),(0,Ke.jsxs)("div",{children:[(0,Ke.jsx)(re,{placeholder:"Your Email",type:"email",name:"email",value:r.email,onChange:n,onBlur:s,disabled:o,icon:(0,Ke.jsx)(dr,{}),className:i(oe,e.email&&t.email&&ae)}),e.email&&t.email&&(0,Ke.jsx)("p",{title:e.email,"aria-live":"polite",role:"error message",className:ne,children:e.email})]}),(0,Ke.jsxs)("div",{className:"lg:col-span-2",children:[(0,Ke.jsx)(re,{placeholder:"Subject",type:"text",name:"subject",value:r.subject,onChange:n,onBlur:s,disabled:o,className:i(oe,e.subject&&t.subject&&ae)}),e.subject&&t.subject&&(0,Ke.jsx)("p",{title:e.subject,"aria-live":"polite",role:"error message",className:ne,children:e.subject})]}),(0,Ke.jsxs)("div",{className:"lg:col-span-2",children:[(0,Ke.jsx)(Xe,{placeholder:"Message...",name:"message",value:r.message,onChange:n,onBlur:s,disabled:o,icon:(0,Ke.jsx)(pr,{}),className:i(oe,e.message&&t.message&&ae)}),e.message&&t.message&&(0,Ke.jsx)("p",{title:e.message,"aria-live":"polite",role:"error message",className:ne,children:e.message})]}),(0,Ke.jsx)("div",{className:"lg:col-span-2 light grid justify-items-center",children:(0,Ke.jsx)(G,{type:"submit",className:"outline px-6 rounded-full outline-accent bg-background text-foreground hover:bg-accent hover:text-accent-foreground",disabled:o,children:"Send"})})]})})}function dr(){return(0,Ke.jsx)("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"text-primary",children:(0,Ke.jsx)("path",{d:"M14.9727 1.76172L13.2227 13.1094C13.1953 13.3828 13.0312 13.6289 12.7852 13.7656C12.6484 13.8203 12.5117 13.875 12.3477 13.875C12.2383 13.875 12.1289 13.8477 12.0195 13.793L8.68359 12.3984L7.28906 14.4766C7.17969 14.668 6.98828 14.75 6.79688 14.75C6.49609 14.75 6.25 14.5039 6.25 14.2031V11.5781C6.25 11.3594 6.30469 11.168 6.41406 11.0312L12.375 3.375L4.33594 10.6211L1.51953 9.44531C1.21875 9.30859 1 9.03516 1 8.67969C0.972656 8.29688 1.13672 8.02344 1.4375 7.85938L13.6875 0.886719C13.9609 0.722656 14.3438 0.722656 14.6172 0.914062C14.8906 1.10547 15.0273 1.43359 14.9727 1.76172Z"})})}function pr(){return(0,Ke.jsx)("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"text-primary",children:(0,Ke.jsx)("path",{d:"M12.6875 0.5C13.3984 0.5 14 1.10156 14 1.8125C14 2.25 13.7812 2.63281 13.4531 2.87891L7.51953 7.33594C7.19141 7.58203 6.78125 7.58203 6.45312 7.33594L0.519531 2.87891C0.191406 2.63281 0 2.25 0 1.8125C0 1.10156 0.574219 0.5 1.3125 0.5H12.6875ZM5.93359 8.04688C6.5625 8.51172 7.41016 8.51172 8.03906 8.04688L14 3.5625V9.25C14 10.2344 13.207 11 12.25 11H1.75C0.765625 11 0 10.2344 0 9.25V3.5625L5.93359 8.04688Z"})})}var rt=({links:e,richText:t})=>{let[r,n]=(0,tt.useState)(!1),s="accent",o=()=>n(!0),a=()=>n(!1),l=c=>{c.target===c.currentTarget&&a()};return(0,Ke.jsxs)("div",{className:i("relative isolate overflow-hidden",s==="accent"?"bg-accent":"bg-black"),children:[(0,Ke.jsx)("div",{className:"px-6 py-24 sm:px-6 sm:py-32 lg:px-8",children:(0,Ke.jsxs)("div",{className:"mx-auto max-w-2xl text-center prose",children:[t&&(0,Ke.jsx)(L,{className:"mb-0 prose-headings:text-white prose-h2:text-white prose-p:text-white text-white",content:t,enableGutter:!1}),(0,Ke.jsx)("div",{className:"mt-10 flex items-center justify-center gap-x-6",children:(0,Ke.jsx)("div",{className:"flex flex-col gap-8 text-white",children:(e||[]).map(({link:c},p)=>(c==null?void 0:c.url)==="/contact"?(0,Ke.jsx)("div",{onClick:o,className:i("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",s==="accent"?"border-white bg-accent":"border-accent bg-black"),children:c.label},p):(0,Ke.jsx)(K,{size:"lg",className:i("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",s==="accent"?"border-white bg-accent":"border-accent bg-black"),...c},p))})})]})}),r&&(0,Ke.jsx)("div",{className:"absolute inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50",onClick:l,children:(0,Ke.jsxs)("div",{className:"bg-white p-6 pt-10 rounded-lg shadow-lg w-full max-w-lg relative",children:[(0,Ke.jsx)("button",{className:"absolute top-4 right-4 text-gray-500 hover:text-gray-700",onClick:a,children:"\u2715"}),(0,Ke.jsx)(et,{})," "]})})]})};var se=require("prism-react-renderer");var ot=require("lucide-react");function nt({code:e}){let[t,r]=(0,tt.useState)("Copy");function n(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,Ke.jsx)("div",{className:"flex justify-end align-middle",children:(0,Ke.jsxs)(G,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),n()},children:[(0,Ke.jsx)("p",{children:t}),(0,Ke.jsx)("div",{className:"w-6 h-6",children:(0,Ke.jsx)(ot.ClipboardCopy,{})})]})})}var st=({code:e,language:t=""})=>e?(0,Ke.jsx)(se.Highlight,{code:e,language:t,theme:se.themes.vsDark,children:({getLineProps:r,getTokenProps:n,tokens:s})=>(0,Ke.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[s.map((o,a)=>(0,Ke.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,Ke.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:a+1}),(0,Ke.jsx)("span",{className:"table-cell pl-4",children:o.map((l,c)=>(0,Ke.jsx)("span",{...n({token:l})},c))})]},a)),(0,Ke.jsx)(nt,{code:e})]})}):null;var lt=({className:e,code:t,language:r})=>(0,Ke.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,Ke.jsx)(st,{code:t,language:r})});var ct=j(require("next/image")),mr={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},it="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAABchJREFUWEdtlwtTG0kMhHtGM7N+AAdcDsjj///EBLzenbtuadbLJaZUTlHB+tRqSesETB3IABqQG1KbUFqDlQorBSmboqeEBcC1d8zrCixXYGZcgMsFmH8B+AngHdurAmXKOE8nHOoBrU6opcGswPi5KSP9CcBaQ9kACJH/ALAA1xm4zMD8AczvQCcAQeJVAZsy7nYApTSUzwCHUKACeUJi9TsFci7AHmDtuHYqQIC9AgQYKnSwNAig4NyOOwXq/xU47gDYggarjIpsRSEA3Fqw7AGkwgW4fgALAdiC2btKgNZwbgdMbEFpqFR2UyCR8xwAhf8bUHIGk1ckMyB5C1YkeWAdAPQBAeiD6wVYPoD1HUgXwFagZAGc6oSpTmilopoD5GzISQD3odcNIFca0BUQQM5YA2DpHV0AYURBDIAL0C+ugC0C4GedSsVUmwC8/4w8TPiwU6AClJ5RWL1PgQNkrABWdKB3YF3cBwRY5lsI4ApkKpCQi+FIgFJU/TDgDuAxAAwonJuKpGD1rkCXCR1ALyrAUSSEQAhwBdYZ6DPAgSUA2c1wKIZmRcHxMzMYR9DH8NlbkAwwApSAcABwBwTAbb6owAr0AFiZPILVEyCtMmK2jCkTwFDNUNj7nJETQx744gCUmgkZVGJUHyakEZE4W91jtGFA9KsD8Z3JFYDlhGYZLWcllwJMnplcPy+csFAgAAaIDOgeuAGoB96GLZg4kmtfMjnr6ig5oSoySsoy3ya/FMivXZWxwr0KIf9nACbfqcBEgmBSAtAlIT83R+70IWpyACamIjf5E1Iqb9ECVmnoI/FvAIRk8s2J0Y5IquQDgB+5wpScw5AUTC75VTmTs+72NUzoCvQIaAXv5Q8PDAZKLD+MxLv3RFE7KlsQChgBIlKiCv5ByaZv3gJZNm8AnVMhAN+EjrtTYQMICJpu6/0aiQnhClANlz+Bw0cIWa8ev0sBrtrhAyaXEnrfGfATQJiRKih5vKeOHNXXPFrgyamAADh0Q4F2/sESojomDS9o9k0b0H83xjB8qL+JNoTjN+enjpaBpingRh4e8MSugudM030A8FeqMI6PFIgNyPehkpZWGFEAARIQdH5LcAAqIACHkAJqg4OoBccHAuz76wr4BbzFOEa8iBuAZB8AtJHLP2VgMgJw/EIBowo7HxCAH3V6dAXEE/vZ5aZIA8BP8RKhm7Cp8BnAMnAQADdgQDA520AVIpScP+enHz0Gwp25h4i2dPg5FkDXrbsdJikQwXuWgaM5gEMk1AgH4DKKFjDf3bMD+FjEeIxLlRKYnBk2BbquvSDCAQ4gwZiMAAmH4gBTyRtEsYxi7gP6QSrc//39BrDNqG8rtYTmC4BV1SfMhOhaumFCT87zy4pPhQBZEK1kQVRjJBBi7AOlePgyAPYjwlvtagx9e/dnQraAyS894TIkkAIEYMKEc8k4EqJ68lZ5jjNqcQC2QteQOf7659umwBgPybNtK4dg9WvnMyFwXYGP7uEO1lwJgAnPNeMYMVXbIIYKFioI4PGFt+BWPVfmWJdjW2lTUnLGCswECAgaUy86iwA1464ajo0QhgMBFGyBoZahANsMpMfXr1JA1SN29m5lqgXj+UPV85uRA7yv/KYUO4Tk7Hc1AZwbIRzg0AyNj2UlAMwfSLSMnl7fdAbcxHuA27YaAMvaQ4GOjwX4RTUGAG8Ge14N963g1AynqUiFqRX9noasxT4b8entNRQYyamk/3tYcHsO7R3XJRRYOn4tw4iUnwBM5gDnySGOreAwAGo8F9IDHEcq8Pz2Kg/oXCpuIL6tOPD8LsDn0ABYQoGFRowlsAEUPPDrGAGowAbgKsgDMmE8mDy/vXQ9IAwI7u4wta+gAdAdgB64Ah9SgD4IgGKhwACoAjgNgFDhtxY8f33ZTMjqdTAiHMBPrn8ZWkEfzFdX4Oc1AHg3+ADbvN8PU8WdFKg4Tt6CQy2+D4YHaMT/JP4XzbAq98cPDIUAAAAASUVORK5CYII=",dt=e=>{let{alt:t,fill:r,imgClassName:n,priority:s,resource:o,size:a,src:l,loading:c}=e,p,f,C=t,w=l||"";if(!w&&o&&typeof o=="object"){let{alt:h,filename:x,height:v,url:k,width:F}=o;if(v&&v>500){let T=500/v;p=F*T,f=v*T}else p=F,f=v;C=h||"",w=k||it}let A=c||"lazy",P=a||Object.entries(mr).map(([,h])=>`(max-width: ${h}px) ${h*2}w`).join(", ");return(0,Ke.jsx)("picture",{children:(0,Ke.jsx)(ct.default,{alt:C||"",className:i(n),fill:r,height:r?void 0:f,placeholder:"blur",blurDataURL:it,priority:A!=="lazy"&&s,quality:100,loading:A,sizes:P,src:w,width:r?void 0:p})})};var pt=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var mt=()=>{if(pt){let e=window.location.protocol,t=window.location.hostname,r=window.location.port;return`${e}//${t}${r?`:${r}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var ut=e=>{let{onClick:t,resource:r,videoClassName:n}=e,s=(0,tt.useRef)(null);if((0,tt.useEffect)(()=>{let{current:o}=s;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,Ke.jsx)("video",{autoPlay:!0,className:i(n),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:s,children:(0,Ke.jsx)("source",{src:`${mt()}/media/${o}`})})}return null};var ce=e=>{var a;let{className:t,htmlElement:r="div",resource:n}=e,s=typeof n=="object"&&((a=n==null?void 0:n.mimeType)==null?void 0:a.includes("video"));return(0,Ke.jsx)(r||tt.Fragment,{...r!==null?{className:t}:{},children:s?(0,Ke.jsx)(ut,{...e}):(0,Ke.jsx)(dt,{...e})})};var gt=e=>{let{className:t,enableGutter:r=!0,imgClassName:n,media:s,staticImage:o}=e;return(0,Ke.jsx)("div",{className:i("h-full ",{container:r},t),children:(0,Ke.jsx)(ce,{imgClassName:i("rounded-[0.8rem]",n),className:"flex justify-center",resource:s,src:o})})};var bt=e=>{let{className:t,enableGutter:r=!0,imgClassName:n,media:s,staticImage:o}=e;return(0,Ke.jsx)("div",{className:i("",{container:r},t),children:(0,Ke.jsx)(ce,{imgClassName:i("rounded-[0.8rem]",n),resource:s,src:o})})};var Pe=({type:e="solid",iconName:t="cloud",size:r="lg",className:n})=>{let s=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,a=n!=null?n:"",l=s+o+" fa-"+r+" "+a;return(0,Ke.jsx)("i",{className:l})};var xt=j(require("next/image"));function ht(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function Be({image:e,icon:t,title:r,subtitle:n,content:s,statistic:o,settings:a,link:l,className:c}){var C,w;let p={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"},f={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return(0,Ke.jsxs)("div",{className:i("min-w-56 max-w-xl h-full flex flex-col group",e?"p-0 pb-4":"p-8",a&&!e&&p[(a==null?void 0:a.card)==="default"?"solid":a==null?void 0:a.card],e&&"bg-foreground",a&&(a==null?void 0:a.card)==="outline"?"text-gray-900":"text-white",f[(C=a==null?void 0:a.width)!=null?C:"auto"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",a&&`intersect:animate-delay-${a.order||1}00`,c),children:[e&&(0,Ke.jsx)("div",{className:"relative h-1/2 lg:h-2/3 w-full mb-0 pt-2",children:(0,Ke.jsx)(xt.default,{src:e.url||"/placeholder.svg",alt:e.alt||"card header image",fill:!0,style:{objectFit:"cover"},priority:!0})}),(0,Ke.jsxs)("div",{className:i(e?"p-4 md:p-1 md:px-8":"p-0 md:p-0","flex h-2/5 md:max-h-1/2 flex-col flex-grow"),children:[n&&(0,Ke.jsx)("div",{className:"mb-4 text-primary uppercase font-light",children:n}),(0,Ke.jsx)("div",{className:"flex items-center gap-4 mb-2 md:mb-0",children:(0,Ke.jsx)(ur,{icon:{type:(t==null?void 0:t.type)||"fa-light",iconName:(t==null?void 0:t.icon)||"no-icon-error"},heading:r!=null?r:"",variant:(a==null?void 0:a.card)==="default"?"solid":(w=a==null?void 0:a.card)!=null?w:"solid",iconSize:(a==null?void 0:a.iconSize)||"large"})}),o&&(0,Ke.jsx)("div",{className:"mb-6",children:(0,Ke.jsx)("div",{className:i("text-4xl text-wrap font-bold leading-none overflow-hidden",(a==null?void 0:a.card)==="outline"||(a==null?void 0:a.card)==="light"?"text-brand-green":"text-white"),children:o})}),s&&typeof s=="object"&&(0,Ke.jsx)(L,{enableGutter:!1,content:s,enableProse:!1,className:i("space-y-6",(a==null?void 0:a.card)==="outline"||(a==null?void 0:a.card)==="light"?"prose prose-headings:text-foreground prose-p:text-foreground prose-a:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100 prose-a:text-gray-100",e&&"prose prose-headings:text-background prose-p:text-background")}),s&&typeof s=="string"&&(0,Ke.jsx)("div",{className:i("space-y-6",(a==null?void 0:a.card)==="outline"||(a==null?void 0:a.card)==="light"?"prose text-foreground":"prose text-gray-100",e&&"prose text-background"),children:s}),l&&l.url&&(0,Ke.jsx)("div",{className:"pt-6 h-full flex items-end justify-start",children:(0,Ke.jsx)("a",{className:"text-accent justify-start font-semibold uppercase",href:l.url||"#",children:(l==null?void 0:l.label)||"Find out more"})}),(a==null?void 0:a.card)==="radial"&&(0,Ke.jsx)("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 ur=({icon:e,heading:t,variant:r,iconSize:n,subtitle:s})=>e&&n==="small"&&e.iconName!="no-icon-error"?(0,Ke.jsxs)("div",{className:"flex items-start justify-between w-full mb-2",children:[(0,Ke.jsx)("div",{className:i(r==="outline"||r==="light"?"text-primary":"text-white",n==="small"?"text-2xl":"text-3xl"),children:t}),ht(e)&&(0,Ke.jsx)("div",{className:i("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-primary":"text-white",n==="small"?"-mr-2 ml-1 mt-1":""),children:(0,Ke.jsx)(Pe,{type:e.type,iconName:e.iconName,size:"2x"})})]}):e&&e.iconName!="no-icon-error"?(0,Ke.jsxs)("div",{className:"flex flex-col gap-4",children:[ht(e)&&(0,Ke.jsx)("div",{className:i("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-accent":""),children:(0,Ke.jsx)(Pe,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,Ke.jsx)("h3",{className:i("font-normal",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl text-white"),children:t})]}):(0,Ke.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,Ke.jsx)("div",{className:i("font-regular",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})});var vt=({title:e,description:t,features:r,id:n,nested:s=!1})=>(0,Ke.jsxs)("section",{className:i(s?"w-full":"container",""),children:[(0,Ke.jsxs)("div",{className:"prose prose:max-w-none",children:[e&&(0,Ke.jsx)("h2",{className:"mb-6 mt-0 text-primary",id:n||"",children:e}),t&&typeof t=="string"&&(0,Ke.jsx)("p",{className:"mb-5 text-foreground",children:t}),t&&typeof t=="object"&&(0,Ke.jsx)("div",{className:"mb-5 text-foreground",children:(0,Ke.jsx)(L,{content:t,enableGutter:!1})})]}),(0,Ke.jsx)("div",{className:`grid gap-6 mt-6 md:grid-cols-${r?r.length>2?2:r.length:1} lg:grid-cols-${r?r.length>3?3:r.length:1}`,children:r&&r.map((o,a)=>{var c;let l=()=>{if(o.icon&&"type"in o.icon&&o.icon.type!=="none")return{type:o.icon.type,icon:o.icon.icon}};return(0,Ke.jsx)(Be,{title:o.title||"",content:o.content||void 0,statistic:o.statistic||void 0,settings:{...o.settings,width:"auto",order:a},link:o.link?{...o.link,label:"Learn more"}:void 0,icon:(c=l())!=null?c:{type:"none",icon:null}},a)})})]});var de=j(require("react"));function X({nodes:e}){return(0,Ke.jsx)(de.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let o=(0,Ke.jsx)(de.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,Ke.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,Ke.jsx)("em",{children:o},r)),t.format&4&&(o=(0,Ke.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,Ke.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,Ke.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,Ke.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,Ke.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,Ke.jsx)("table",{children:(0,Ke.jsx)("tbody",{children:t.children.map((o,a)=>(0,Ke.jsx)("tr",{children:o.children.map((l,c)=>(0,Ke.jsx)("td",{children:X({nodes:l.children})},c))},a))})},r);let n=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let a of o.children)"checked"in a&&(a!=null&&a.checked||(a.checked=!1));return X({nodes:o.children})},s="children"in t?n(t):"";if(t.type==="block"){let o=t.fields,a=o==null?void 0:o.blockType;if(!o||!a)return null;switch(a){case"cta":return(0,Ke.jsx)(rt,{...o},r);case"mediaBlock":return(0,Ke.jsx)(gt,{className:"col-start-1 col-span-3",imgClassName:"Ke-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,Ke.jsx)(bt,{className:"col-start-1 col-span-3",imgClassName:"Ke-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,Ke.jsx)(Te,{className:"col-start-2 mb-4",...o},r);case"code":return(0,Ke.jsx)(lt,{className:"col-start-2",...o},r);case"features":return(0,Ke.jsx)(vt,{...o,nested:!0},r);case"reusableContentBlock":X({nodes:o.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,Ke.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,Ke.jsx)("p",{className:"col-start-2",children:s},r);case"heading":{let o=t==null?void 0:t.tag;return(0,Ke.jsx)(o,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:s},r)}case"list":{let o=t==null?void 0:t.tag;return(0,Ke.jsx)(o,{className:"list col-start-2",children:s},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,Ke.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:s},r):(0,Ke.jsx)("li",{value:t==null?void 0:t.value,children:s},r);case"quote":return(0,Ke.jsx)("blockquote",{className:"col-start-2",children:s},r);case"link":{let o=t.fields;return(0,Ke.jsx)(K,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},r)}case"autolink":{let o=t.fields;return(0,Ke.jsx)(K,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},r)}default:return null}})})}var L=({className:e,content:t,enableGutter:r=!0,enableProse:n=!0})=>{var s;return t?(0,Ke.jsx)("div",{className:i({"container ":r,"max-w-none":!r,"mx-auto prose":n},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&X({nodes:(s=t==null?void 0:t.root)==null?void 0:s.children})}):null};var Te=({className:e,content:t,style:r})=>(0,Ke.jsx)("div",{className:i("mx-auto my-8 w-full",e),children:(0,Ke.jsx)("div",{className:i("border py-3 px-6 flex items-center rounded",{"border-border bg-card":r==="info","border-error bg-error/30":r==="error","border-success bg-success/30":r==="success","border-warning bg-warning/30":r==="warning"}),children:(0,Ke.jsx)(L,{content:t,enableGutter:!1,enableProse:!1})})});0&&(module.exports={BannerBlock});