cortex-react-components 1.58.7 → 1.58.9

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 (219) hide show
  1. package/dist/{chunk-KIICLHKI.mjs → chunk-23BDC5JG.mjs} +1 -1
  2. package/dist/{chunk-KB6PO4K4.mjs → chunk-2IKC7MAP.mjs} +1 -1
  3. package/dist/{chunk-RGNXTAFZ.mjs → chunk-2RVL66MW.mjs} +1 -1
  4. package/dist/{chunk-NCHGLVBP.mjs → chunk-2SU53XDR.mjs} +1 -1
  5. package/dist/{chunk-QWIPKYIZ.mjs → chunk-2U53LYZN.mjs} +1 -1
  6. package/dist/{chunk-MCSTFFZG.mjs → chunk-2W4IMTIV.mjs} +1 -1
  7. package/dist/{chunk-Z7P4QOKT.mjs → chunk-4TCLIMFP.mjs} +1 -1
  8. package/dist/{chunk-MQJD6N67.mjs → chunk-5DBGTQXM.mjs} +1 -1
  9. package/dist/{chunk-UP27Z4JX.mjs → chunk-5FTK7M24.mjs} +1 -1
  10. package/dist/{chunk-KO65QOS5.mjs → chunk-5VBW5FB7.mjs} +1 -1
  11. package/dist/{chunk-BCLUGJ2Q.mjs → chunk-67JKMTJF.mjs} +1 -1
  12. package/dist/{chunk-3GYJDXNA.mjs → chunk-6YWAX7NS.mjs} +1 -1
  13. package/dist/{chunk-ICWR76CT.mjs → chunk-7OBH6AB6.mjs} +1 -1
  14. package/dist/{chunk-CSNKYRV5.mjs → chunk-7XB4Y3U2.mjs} +1 -1
  15. package/dist/chunk-CFAC7SPP.mjs +1 -0
  16. package/dist/{chunk-T4I5D4XZ.mjs → chunk-D44ZXHH4.mjs} +1 -1
  17. package/dist/{chunk-ZQQDJGJY.mjs → chunk-DJUA7Y5M.mjs} +1 -1
  18. package/dist/{chunk-GTEZREKW.mjs → chunk-E5JYGW3N.mjs} +1 -1
  19. package/dist/{chunk-2NHLKRCX.mjs → chunk-E7435ZAX.mjs} +1 -1
  20. package/dist/chunk-G6JBMV6L.mjs +1 -0
  21. package/dist/{chunk-SBAFXZVU.mjs → chunk-IO222G5L.mjs} +1 -1
  22. package/dist/{chunk-HZM4OKZH.mjs → chunk-IXQCI4MS.mjs} +1 -1
  23. package/dist/chunk-KCNRSNZG.mjs +4 -0
  24. package/dist/{chunk-EGLMLI2W.mjs → chunk-KIRUMRMR.mjs} +1 -1
  25. package/dist/chunk-L2QAYSRV.mjs +4 -0
  26. package/dist/{chunk-36EAXL6N.mjs → chunk-MSOWUU4F.mjs} +1 -1
  27. package/dist/{chunk-QT6BO6YZ.mjs → chunk-OAPZSHCC.mjs} +1 -1
  28. package/dist/{chunk-TRQODJCW.mjs → chunk-OD73JG7G.mjs} +1 -1
  29. package/dist/{chunk-VDDWSLGQ.mjs → chunk-OH22UHIS.mjs} +1 -1
  30. package/dist/{chunk-7A4OSPVQ.mjs → chunk-OH2S6BBQ.mjs} +1 -1
  31. package/dist/{chunk-OUKKI47A.mjs → chunk-PIM2JQYT.mjs} +1 -1
  32. package/dist/{chunk-PY53YVFX.mjs → chunk-QMFZRG7O.mjs} +1 -1
  33. package/dist/{chunk-WRPTP2UD.mjs → chunk-S7I4XJS6.mjs} +1 -1
  34. package/dist/{chunk-ISHEP5MI.mjs → chunk-SKE7TSLO.mjs} +1 -1
  35. package/dist/{chunk-7IZ2X75V.mjs → chunk-SMD2U5NY.mjs} +1 -1
  36. package/dist/{chunk-Y3XN73Z4.mjs → chunk-SYL22HOJ.mjs} +1 -1
  37. package/dist/{chunk-5MMZE4EE.mjs → chunk-SZ4YPF72.mjs} +1 -1
  38. package/dist/{chunk-KQJLOUAU.mjs → chunk-T67YJGQO.mjs} +1 -1
  39. package/dist/{chunk-TEUAGEUG.mjs → chunk-X6ZPGBTM.mjs} +1 -1
  40. package/dist/{chunk-BQWQWWJI.mjs → chunk-XNAHLO24.mjs} +1 -1
  41. package/dist/{chunk-MQX2OF6Q.mjs → chunk-ZOHEYTN6.mjs} +1 -1
  42. package/dist/components/Blocks/Banner.js +1 -1
  43. package/dist/components/Blocks/Banner.mjs +1 -1
  44. package/dist/components/Blocks/CallToAction.js +1 -1
  45. package/dist/components/Blocks/CallToAction.mjs +1 -1
  46. package/dist/components/Blocks/CallToAction.stories.js +1 -1
  47. package/dist/components/Blocks/CallToAction.stories.mjs +1 -1
  48. package/dist/components/Blocks/CollapsibleArea.js +1 -1
  49. package/dist/components/Blocks/CollapsibleArea.mjs +1 -1
  50. package/dist/components/Blocks/CollapsibleArea.stories.js +1 -1
  51. package/dist/components/Blocks/CollapsibleArea.stories.mjs +1 -1
  52. package/dist/components/Blocks/Content.js +1 -1
  53. package/dist/components/Blocks/Content.mjs +1 -1
  54. package/dist/components/Blocks/Content.stories.js +1 -1
  55. package/dist/components/Blocks/Content.stories.mjs +1 -1
  56. package/dist/components/Blocks/FeaturesBlock.js +1 -1
  57. package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
  58. package/dist/components/Blocks/FeaturesBlock.stories.js +1 -1
  59. package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
  60. package/dist/components/Blocks/RelatedPosts.js +1 -1
  61. package/dist/components/Blocks/RelatedPosts.mjs +1 -1
  62. package/dist/components/Blocks/RenderBlocks.js +1 -1
  63. package/dist/components/Blocks/RenderBlocks.mjs +1 -1
  64. package/dist/components/Blocks/ReusableContentBlock.js +1 -1
  65. package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
  66. package/dist/components/Blocks/index.js +1 -1
  67. package/dist/components/Blocks/index.mjs +1 -1
  68. package/dist/components/CRM/DealDetails.mjs +1 -1
  69. package/dist/components/CRM/DealDetails.stories.mjs +1 -1
  70. package/dist/components/CRM/KanbanBoard.mjs +1 -1
  71. package/dist/components/CRM/KanbanBoard.stories.mjs +1 -1
  72. package/dist/components/CRM/KanbanColumn.mjs +1 -1
  73. package/dist/components/CRM/KanbanColumn.stories.mjs +1 -1
  74. package/dist/components/CRM/NewDealForm.mjs +1 -1
  75. package/dist/components/CRM/NewDealForm.stories.mjs +1 -1
  76. package/dist/components/CRM/index.mjs +1 -1
  77. package/dist/components/Cards/ContentCard.js +1 -1
  78. package/dist/components/Cards/ContentCard.mjs +1 -1
  79. package/dist/components/Cards/ContentCard.stories.js +1 -1
  80. package/dist/components/Cards/ContentCard.stories.mjs +1 -1
  81. package/dist/components/Cards/FeatureCard.js +1 -1
  82. package/dist/components/Cards/FeatureCard.mjs +1 -1
  83. package/dist/components/Cards/FeatureCard.stories.js +1 -1
  84. package/dist/components/Cards/FeatureCard.stories.mjs +1 -1
  85. package/dist/components/Cards/index.js +2 -2
  86. package/dist/components/Cards/index.mjs +1 -1
  87. package/dist/components/DigitalColleagues/AppSidebarLeft.mjs +1 -1
  88. package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
  89. package/dist/components/DigitalColleagues/MainPage.stories.mjs +1 -1
  90. package/dist/components/HeaderFooter/Header.stories.mjs +1 -1
  91. package/dist/components/HeaderFooter/HeaderDesktop.stories.mjs +1 -1
  92. package/dist/components/HeaderFooter/HeaderMobile.stories.mjs +1 -1
  93. package/dist/components/HeaderFooter/SectionHeading.js +1 -1
  94. package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
  95. package/dist/components/Heros/HighImpact/index.js +1 -1
  96. package/dist/components/Heros/HighImpact/index.mjs +1 -1
  97. package/dist/components/Heros/LowImpact/index.js +1 -1
  98. package/dist/components/Heros/LowImpact/index.mjs +1 -1
  99. package/dist/components/Heros/MediumImpact/index.js +1 -1
  100. package/dist/components/Heros/MediumImpact/index.mjs +1 -1
  101. package/dist/components/Heros/PostHero/index.mjs +1 -1
  102. package/dist/components/Heros/RenderHero.js +1 -1
  103. package/dist/components/Heros/RenderHero.mjs +1 -1
  104. package/dist/components/Heros/index.js +1 -1
  105. package/dist/components/Heros/index.mjs +1 -1
  106. package/dist/components/Holidays/HolidayTracker.mjs +1 -1
  107. package/dist/components/Holidays/HolidayTracker.stories.mjs +1 -1
  108. package/dist/components/Holidays/index.mjs +1 -1
  109. package/dist/components/Layouts/FeatureGrid.stories.js +1 -1
  110. package/dist/components/Layouts/FeatureGrid.stories.mjs +1 -1
  111. package/dist/components/Layouts/OutputHeaderFooter.js +1 -1
  112. package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
  113. package/dist/components/Layouts/Print.js +1 -1
  114. package/dist/components/Layouts/Print.mjs +1 -1
  115. package/dist/components/Layouts/Print.stories.js +1 -1
  116. package/dist/components/Layouts/Print.stories.mjs +1 -1
  117. package/dist/components/Layouts/SlideShow.js +1 -1
  118. package/dist/components/Layouts/SlideShow.mjs +1 -1
  119. package/dist/components/Layouts/SlideShow.stories.js +1 -1
  120. package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
  121. package/dist/components/Layouts/index.js +3 -3
  122. package/dist/components/Layouts/index.mjs +1 -1
  123. package/dist/components/Menus/SidebarLeft.mjs +1 -1
  124. package/dist/components/Menus/SidebarLeft.stories.mjs +1 -1
  125. package/dist/components/Menus/SidebarRight.mjs +1 -1
  126. package/dist/components/Menus/SidebarRight.stories.mjs +1 -1
  127. package/dist/components/Menus/index.mjs +1 -1
  128. package/dist/components/Payload/RichText/index.js +1 -1
  129. package/dist/components/Payload/RichText/index.mjs +1 -1
  130. package/dist/components/Payload/RichText/serialize.js +1 -1
  131. package/dist/components/Payload/RichText/serialize.mjs +1 -1
  132. package/dist/components/Payload/RichText.stories.js +1 -1
  133. package/dist/components/Payload/RichText.stories.mjs +1 -1
  134. package/dist/components/Payload/index.js +1 -1
  135. package/dist/components/Payload/index.mjs +1 -1
  136. package/dist/components/index.js +3 -3
  137. package/dist/components/index.mjs +1 -1
  138. package/dist/components/ui/index.mjs +1 -1
  139. package/dist/components/ui/sidebar.mjs +1 -1
  140. package/dist/globals.css +1 -1
  141. package/dist/index.js +6 -6
  142. package/dist/index.mjs +1 -1
  143. package/dist/metafile-cjs.json +1 -1
  144. package/dist/metafile-esm.json +1 -1
  145. package/dist/pages/Blog.js +1 -1
  146. package/dist/pages/Blog.mjs +1 -1
  147. package/dist/pages/Blog.stories.js +1 -1
  148. package/dist/pages/Blog.stories.mjs +1 -1
  149. package/dist/pages/Documentation.mjs +1 -1
  150. package/dist/pages/Documentation.stories.mjs +1 -1
  151. package/dist/pages/IndexPage.mjs +1 -1
  152. package/dist/pages/IndexPage.stories.mjs +1 -1
  153. package/dist/pages/Intranet.mjs +1 -1
  154. package/dist/pages/Intranet.stories.mjs +1 -1
  155. package/dist/pages/LandingPage.js +2 -2
  156. package/dist/pages/LandingPage.mjs +1 -1
  157. package/dist/pages/LandingPage.stories.js +2 -2
  158. package/dist/pages/LandingPage.stories.mjs +1 -1
  159. package/dist/pages/Page.js +1 -1
  160. package/dist/pages/Page.mjs +1 -1
  161. package/dist/pages/Page.stories.js +20 -20
  162. package/dist/pages/Page.stories.mjs +1 -1
  163. package/dist/pages/Printable.stories.js +1 -1
  164. package/dist/pages/Printable.stories.mjs +1 -1
  165. package/dist/pages/Publish.js +1 -1
  166. package/dist/pages/Publish.mjs +1 -1
  167. package/dist/pages/Publish.stories.js +1 -1
  168. package/dist/pages/Publish.stories.mjs +1 -1
  169. package/dist/pages/Website.js +1 -1
  170. package/dist/pages/Website.mjs +1 -1
  171. package/dist/pages/Website.stories.js +1 -1
  172. package/dist/pages/Website.stories.mjs +1 -1
  173. package/dist/sections/AboutSection.js +1 -1
  174. package/dist/sections/AboutSection.mjs +1 -1
  175. package/dist/sections/AboutSection.stories.js +1 -1
  176. package/dist/sections/AboutSection.stories.mjs +1 -1
  177. package/dist/sections/BlogDetail.js +1 -1
  178. package/dist/sections/BlogDetail.mjs +1 -1
  179. package/dist/sections/BlogDetail.stories.js +1 -1
  180. package/dist/sections/BlogDetail.stories.mjs +1 -1
  181. package/dist/sections/BlogList.js +2 -2
  182. package/dist/sections/BlogList.mjs +1 -1
  183. package/dist/sections/BlogList.stories.js +2 -2
  184. package/dist/sections/BlogList.stories.mjs +1 -1
  185. package/dist/sections/BlogListSection.mjs +1 -1
  186. package/dist/sections/BlogListSection.stories.mjs +1 -1
  187. package/dist/sections/ContactSection.js +1 -1
  188. package/dist/sections/ContactSection.mjs +1 -1
  189. package/dist/sections/ContactSection.stories.js +1 -1
  190. package/dist/sections/ContactSection.stories.mjs +1 -1
  191. package/dist/sections/ImageSection.stories.js +1 -1
  192. package/dist/sections/ImageSection.stories.mjs +1 -1
  193. package/dist/sections/PageSections.js +3 -3
  194. package/dist/sections/PageSections.mjs +1 -1
  195. package/dist/sections/PageSections.stories.js +3 -3
  196. package/dist/sections/PageSections.stories.mjs +1 -1
  197. package/dist/sections/PricingSection.js +1 -1
  198. package/dist/sections/PricingSection.mjs +1 -1
  199. package/dist/sections/PricingSection.stories.js +1 -1
  200. package/dist/sections/PricingSection.stories.mjs +1 -1
  201. package/dist/sections/ServiceDetail.js +1 -1
  202. package/dist/sections/ServiceDetail.mjs +1 -1
  203. package/dist/sections/ServiceDetailSection.js +1 -1
  204. package/dist/sections/ServiceDetailSection.mjs +1 -1
  205. package/dist/sections/ServiceDetailSection.stories.js +1 -1
  206. package/dist/sections/ServiceDetailSection.stories.mjs +1 -1
  207. package/dist/sections/ServiceSection.js +1 -1
  208. package/dist/sections/ServiceSection.mjs +1 -1
  209. package/dist/sections/ServiceSection.stories.js +1 -1
  210. package/dist/sections/ServiceSection.stories.mjs +1 -1
  211. package/dist/sections/form/index.js +1 -1
  212. package/dist/sections/form/index.mjs +1 -1
  213. package/dist/sections/index.js +2 -2
  214. package/dist/sections/index.mjs +1 -1
  215. package/package.json +1 -1
  216. package/dist/chunk-ACML7DJK.mjs +0 -1
  217. package/dist/chunk-DRCWKHJ3.mjs +0 -1
  218. package/dist/chunk-GHWZZAOE.mjs +0 -4
  219. package/dist/chunk-NNVCDURD.mjs +0 -4
@@ -1 +1 @@
1
- import{a as F}from"./chunk-36EAXL6N.mjs";import{a as w}from"./chunk-ZQQDJGJY.mjs";import{c as B,d as x}from"./chunk-NNVCDURD.mjs";import{a as b}from"./chunk-2A6JF3LE.mjs";import{a as i}from"./chunk-NIQ4466A.mjs";import{Fragment as M}from"react";import j from"next/image";import{jsx as t,jsxs as g}from"react/jsx-runtime";var N={content:w,cta:B,mediaBlock:b,collapsibleArea:F,imageBlock:b,features:x,reusableContentBlock:I},z=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 c;let{blockType:s}=a,o=a==null?void 0:a.theme;if(s&&s in N){let u=N[s];if(s==="reusableContentBlock")return t(M,{children:t(z,{blocks:a.reusableContent.layout})},r);if(u)return g("div",{className:i("py-6 relative",e.fill&&"flex h-full items-center justify-center"),children:[t(C,{block:a,index:r}),t("div",{className:i("container h-full relative",((c=o==null?void 0:o.settings)==null?void 0:c.theme)||"dark"),children:t(u,{...a})})]},r)}return null})}):null},C=e=>{var d,a,r,s,o;if(!("theme"in e.block))return t("div",{className:i("absolute inset-0 w-screen h-full dark bg-background")});let l=(d=e.block)==null?void 0:d.theme;if(l.settings.background==="image"){let c={imagePosition:l.settings.imagePosition||"left",overlay:l.settings.overlay!==void 0?l.settings.overlay:!0};return g("div",{className:i("absolute inset-0 w-full h-full bg-background",l.settings.theme||"dark"),children:[t(j,{src:((r=(a=l.settings)==null?void 0:a.image)==null?void 0:r.url)||"/placeholder.svg",alt:((o=(s=l.settings)==null?void 0:s.image)==null?void 0:o.alt)||"",fill:!0,className:"object-cover",priority:!0}),l.settings.overlay&&t("div",{className:"absolute inset-0",style:{background:c.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")})},V=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:s}=a,o=a==null?void 0:a.theme;if(s&&s in N){let c=N[s];if(s==="reusableContentBlock")return t(M,{children:t(z,{blocks:a.reusableContent.layout})},r);if(c)return t(_,{block:a,allBlocks:l,index:r,children:t(c,{...a})})}return null})}):null},_=e=>{var u,y,R,P,T;if(e.index===0)return g("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",d=({index:n,allBlocks:m})=>n===1?t(A,{position:"left"}):r(n,m)==="dark"&&o(n,m)==="light"?t(S,{position:"left"}):r(n,m)==="light"&&o(n,m)==="dark"?t(A,{position:"left"}):null,a=({index:n,allBlocks:m})=>(console.log("BlockBottom index:",n,s(n,m),o(n,m)),s(n,m)==="light"&&o(n,m)==="dark"?(console.log("BlockBottom index:",n,"returning dark bottom"),t(S,{position:"left"})):null),r=(n,m)=>{var f,h;if(n===1)return"light";let k=m[n-1];return"theme"in k&&((h=(f=k.theme)==null?void 0:f.settings)==null?void 0:h.theme)==="light"?"light":"dark"},s=(n,m)=>{var f,h;if(n===m.length-1)return console.log("nextBlockTheme index:",n,"returning dark"),"dark";if(n===0)return"light";let k=m[n+1];return"theme"in k&&((h=(f=k.theme)==null?void 0:f.settings)==null?void 0:h.theme)==="light"?"light":"dark"},o=(n,m)=>{var f,h;if(n===m.length-1)return"dark";let k=m[n];return k.theme&&((h=(f=k.theme)==null?void 0:f.settings)==null?void 0:h.theme)==="light"?"light":"dark"};if(console.log("theme",e.block.theme,e.index),!e.block.theme||!e.block.theme.settings)return r(e.index,e.allBlocks)==="dark"?(console.log("no theme... index:",e.index,"continue as dark"),g("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})]})):(console.log("no theme... index:",e.index,"new dark section"),g("section",{id:e.block.name||"content-block-start",className:"relative flex flex-col w-full",children:[t(d,{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)){console.log("contiune theme. index:",e.index),console.log("prevBlockTheme:",e.index,r(e.index,e.allBlocks)),console.log("currentBlockTheme:",e.index,o(e.index,e.allBlocks)),console.log("nextBlockTheme:",e.index,s(e.index,e.allBlocks));let n=o(e.index,e.allBlocks);return g("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)){console.log("new theme. index:",e.index,"theme:",o(e.index,e.allBlocks)),console.log("prevBlockTheme:",e.index,r(e.index,e.allBlocks)),console.log("currentBlockTheme:",e.index,o(e.index,e.allBlocks)),console.log("nextBlockTheme:",e.index,s(e.index,e.allBlocks)),console.log(e.index,"content: ",e.block);let n=o(e.index,e.allBlocks);return g("section",{id:e.block.blockName||"content-block-continue",className:"relative flex flex-col w-full",children:[t(d,{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 g("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 c=(u=e.block)==null?void 0:u.theme;if(c.settings.background==="image"){let n={imagePosition:c.settings.imagePosition||"left",overlay:c.settings.overlay!==void 0?c.settings.overlay:!0};return g("div",{className:i("absolute inset-0 w-full h-full bg-background",c.settings.theme||"dark"),children:[t(j,{src:((R=(y=c.settings)==null?void 0:y.image)==null?void 0:R.url)||"/placeholder.svg",alt:((T=(P=c.settings)==null?void 0:P.image)==null?void 0:T.alt)||"",fill:!0,className:"object-cover",priority:!0}),c.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",c.settings.theme||"dark")})},A=({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"})})}),S=({position:e})=>t("div",{className:"w-full relative z-20 aspect-[1920/332] overflow-hidden ",children:g("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:g("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 W,jsx as v,jsxs as X}from"react/jsx-runtime";var I=e=>{let{customId:l,reusableContent:d}=e;return typeof d=="object"&&d!==null?v(D,{blocks:d.layout}):v(W,{})},L={content:w,cta:B,mediaBlock:b,imageBlock:b,features:x},D=e=>{let{blocks:l}=e;return l&&Array.isArray(l)&&l.length>0?v(W,{children:l.map((a,r)=>{var c,u;let{blockType:s}=a,o=a==null?void 0:a.theme;if(s&&s in L){let y=L[s];if(y)return X("div",{className:"py-6 relative",children:[v(C,{block:a,index:r}),v("div",{className:i(((c=o==null?void 0:o.settings)==null?void 0:c.theme)==="dark"?"dark":((u=o==null?void 0:o.settings)==null?void 0:u.theme)==="green"?"green":""),children:v(y,{...a})})]},r)}return null})}):null};export{I as a,z as b,C as c,V as d,_ as e,A as f,S as g};
1
+ import{a as F}from"./chunk-MSOWUU4F.mjs";import{a as w}from"./chunk-DJUA7Y5M.mjs";import{c as B,d as x}from"./chunk-KCNRSNZG.mjs";import{a as b}from"./chunk-2A6JF3LE.mjs";import{a as i}from"./chunk-NIQ4466A.mjs";import{Fragment as M}from"react";import j from"next/image";import{jsx as t,jsxs as g}from"react/jsx-runtime";var N={content:w,cta:B,mediaBlock:b,collapsibleArea:F,imageBlock:b,features:x,reusableContentBlock:I},z=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 c;let{blockType:s}=a,o=a==null?void 0:a.theme;if(s&&s in N){let u=N[s];if(s==="reusableContentBlock")return t(M,{children:t(z,{blocks:a.reusableContent.layout})},r);if(u)return g("div",{className:i("py-6 relative",e.fill&&"flex h-full items-center justify-center"),children:[t(C,{block:a,index:r}),t("div",{className:i("container h-full relative",((c=o==null?void 0:o.settings)==null?void 0:c.theme)||"dark"),children:t(u,{...a})})]},r)}return null})}):null},C=e=>{var d,a,r,s,o;if(!("theme"in e.block))return t("div",{className:i("absolute inset-0 w-screen h-full dark bg-background")});let l=(d=e.block)==null?void 0:d.theme;if(l.settings.background==="image"){let c={imagePosition:l.settings.imagePosition||"left",overlay:l.settings.overlay!==void 0?l.settings.overlay:!0};return g("div",{className:i("absolute inset-0 w-full h-full bg-background",l.settings.theme||"dark"),children:[t(j,{src:((r=(a=l.settings)==null?void 0:a.image)==null?void 0:r.url)||"/placeholder.svg",alt:((o=(s=l.settings)==null?void 0:s.image)==null?void 0:o.alt)||"",fill:!0,className:"object-cover",priority:!0}),l.settings.overlay&&t("div",{className:"absolute inset-0",style:{background:c.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")})},V=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:s}=a,o=a==null?void 0:a.theme;if(s&&s in N){let c=N[s];if(s==="reusableContentBlock")return t(M,{children:t(z,{blocks:a.reusableContent.layout})},r);if(c)return t(_,{block:a,allBlocks:l,index:r,children:t(c,{...a})})}return null})}):null},_=e=>{var u,y,R,P,T;if(e.index===0)return g("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",d=({index:n,allBlocks:m})=>n===1?t(A,{position:"left"}):r(n,m)==="dark"&&o(n,m)==="light"?t(S,{position:"left"}):r(n,m)==="light"&&o(n,m)==="dark"?t(A,{position:"left"}):null,a=({index:n,allBlocks:m})=>(console.log("BlockBottom index:",n,s(n,m),o(n,m)),s(n,m)==="light"&&o(n,m)==="dark"?(console.log("BlockBottom index:",n,"returning dark bottom"),t(S,{position:"left"})):null),r=(n,m)=>{var f,h;if(n===1)return"light";let k=m[n-1];return"theme"in k&&((h=(f=k.theme)==null?void 0:f.settings)==null?void 0:h.theme)==="light"?"light":"dark"},s=(n,m)=>{var f,h;if(n===m.length-1)return console.log("nextBlockTheme index:",n,"returning dark"),"dark";if(n===0)return"light";let k=m[n+1];return"theme"in k&&((h=(f=k.theme)==null?void 0:f.settings)==null?void 0:h.theme)==="light"?"light":"dark"},o=(n,m)=>{var f,h;if(n===m.length-1)return"dark";let k=m[n];return k.theme&&((h=(f=k.theme)==null?void 0:f.settings)==null?void 0:h.theme)==="light"?"light":"dark"};if(console.log("theme",e.block.theme,e.index),!e.block.theme||!e.block.theme.settings)return r(e.index,e.allBlocks)==="dark"?(console.log("no theme... index:",e.index,"continue as dark"),g("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})]})):(console.log("no theme... index:",e.index,"new dark section"),g("section",{id:e.block.name||"content-block-start",className:"relative flex flex-col w-full",children:[t(d,{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)){console.log("contiune theme. index:",e.index),console.log("prevBlockTheme:",e.index,r(e.index,e.allBlocks)),console.log("currentBlockTheme:",e.index,o(e.index,e.allBlocks)),console.log("nextBlockTheme:",e.index,s(e.index,e.allBlocks));let n=o(e.index,e.allBlocks);return g("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)){console.log("new theme. index:",e.index,"theme:",o(e.index,e.allBlocks)),console.log("prevBlockTheme:",e.index,r(e.index,e.allBlocks)),console.log("currentBlockTheme:",e.index,o(e.index,e.allBlocks)),console.log("nextBlockTheme:",e.index,s(e.index,e.allBlocks)),console.log(e.index,"content: ",e.block);let n=o(e.index,e.allBlocks);return g("section",{id:e.block.blockName||"content-block-continue",className:"relative flex flex-col w-full",children:[t(d,{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 g("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 c=(u=e.block)==null?void 0:u.theme;if(c.settings.background==="image"){let n={imagePosition:c.settings.imagePosition||"left",overlay:c.settings.overlay!==void 0?c.settings.overlay:!0};return g("div",{className:i("absolute inset-0 w-full h-full bg-background",c.settings.theme||"dark"),children:[t(j,{src:((R=(y=c.settings)==null?void 0:y.image)==null?void 0:R.url)||"/placeholder.svg",alt:((T=(P=c.settings)==null?void 0:P.image)==null?void 0:T.alt)||"",fill:!0,className:"object-cover",priority:!0}),c.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",c.settings.theme||"dark")})},A=({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"})})}),S=({position:e})=>t("div",{className:"w-full relative z-20 aspect-[1920/332] overflow-hidden ",children:g("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:g("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 W,jsx as v,jsxs as X}from"react/jsx-runtime";var I=e=>{let{customId:l,reusableContent:d}=e;return typeof d=="object"&&d!==null?v(D,{blocks:d.layout}):v(W,{})},L={content:w,cta:B,mediaBlock:b,imageBlock:b,features:x},D=e=>{let{blocks:l}=e;return l&&Array.isArray(l)&&l.length>0?v(W,{children:l.map((a,r)=>{var c,u;let{blockType:s}=a,o=a==null?void 0:a.theme;if(s&&s in L){let y=L[s];if(y)return X("div",{className:"py-6 relative",children:[v(C,{block:a,index:r}),v("div",{className:i(((c=o==null?void 0:o.settings)==null?void 0:c.theme)==="dark"?"dark":((u=o==null?void 0:o.settings)==null?void 0:u.theme)==="green"?"green":""),children:v(y,{...a})})]},r)}return null})}):null};export{I as a,z as b,C as c,V as d,_ as e,A as f,S as g};
@@ -1 +1 @@
1
- import{a as U}from"./chunk-OWBJTXZL.mjs";import{a as C,c as h,d as D,g as b,i as N}from"./chunk-4JC2TJML.mjs";import{a as k}from"./chunk-4NKKWJ2X.mjs";import{a as T}from"./chunk-A5EYIB3V.mjs";import{a as l}from"./chunk-DWRQHV42.mjs";import{a as L}from"./chunk-Y5ZFXDW5.mjs";import{a as A,f as I,g as E,i as P}from"./chunk-JWDVKGZL.mjs";import{a as v}from"./chunk-QOIH63J3.mjs";import{b as f}from"./chunk-BDX257W2.mjs";import{useState as S,useEffect as J}from"react";import{PlusIcon as K}from"lucide-react";import{Fragment as Q,jsx as t,jsxs as r}from"react/jsx-runtime";function oe({customers:m,users:n,categories:B,onSubmit:O,initialDeal:d,onAddCustomer:V,onClose:p}){var y,x,w,F;let[s,i]=S(d||{customer:void 0,value:0,assignee:void 0,status:"Cold",categories:[],dateLogged:new Date().toISOString().split("T")[0],closureDate:"",comments:[],description:""}),[q,g]=S(!1),[o,c]=S({});J(()=>{d&&i(d)},[d]);let R=()=>{let e={};return s.customer||(e.customer="Customer is required"),s.value||(e.value="Value is required"),s.assignee||(e.assignee="Assignee is required"),s.closureDate||(e.closureDate="Closure Date is required"),c(e),Object.keys(e).length===0},H=async e=>{e.preventDefault(),c({});try{if(R()){let a=await O({...s});a.success?(i({customer:void 0,value:0,assignee:void 0,description:"",status:"Cold",closureDate:""}),p==null||p()):c(a.errors||{})}}catch{c({submit:"An error occurred while submitting the form."})}},M=e=>{i(a=>({...a,categories:(a.categories||[]).includes(e.id)?(a.categories||[]).filter(u=>u!==e.id):[...a.categories||[],e.id]}))},z=async e=>{i({...s,customer:e});try{let a=await V(e);a.success?g(!1):c(a.errors||{})}catch{c({submit:"An error occurred while submitting the form."})}},j=e=>n==null?void 0:n.find(a=>a.id===Number(e)),G=e=>m==null?void 0:m.find(a=>a.id===Number(e));return r(Q,{children:[r("form",{onSubmit:H,className:"space-y-6",children:[t(k,{className:"h-[60vh] pr-4",children:r("div",{className:"space-y-6 px-4",children:[r("div",{className:"space-y-2 space-x-2",children:[t(l,{htmlFor:"customer",children:"Customer"}),r("div",{className:"flex items-center space-x-2",children:[r(C,{value:(x=(y=s.customer)==null?void 0:y.id)==null?void 0:x.toString(),onValueChange:e=>i({...s,customer:G(e)}),children:[t(D,{children:t(h,{placeholder:"Select customer"})}),t(b,{children:m.map(e=>{var a;return t(N,{value:((a=e.id)==null?void 0:a.toString())||"",children:e.name},e.id)})})]}),t(f,{variant:"outline",size:"icon",onClick:()=>g(!0),children:t(K,{className:"w-5 h-5"})})]}),o.customerId&&t("p",{className:"text-red-500 text-sm",children:o.customerId})]}),r("div",{className:"space-y-2 space-x-2",children:[t(l,{htmlFor:"value",children:"Value"}),t(v,{id:"value",type:"number",value:s.value||"",onChange:e=>i({...s,value:Number.parseFloat(e.target.value)}),placeholder:"Enter deal value"}),o.value&&t("p",{className:"text-red-500 text-sm",children:o.value})]}),r("div",{className:"space-y-2 space-x-2",children:[t(l,{htmlFor:"assignee",children:"Assignee"}),r(C,{value:(F=(w=s.assignee)==null?void 0:w.id)==null?void 0:F.toString(),onValueChange:e=>i({...s,assignee:j(e)}),children:[t(D,{children:t(h,{placeholder:"Select assignee"})}),t(b,{children:n&&n.map(e=>{var a;return t(N,{value:((a=e.id)==null?void 0:a.toString())||"",children:e.name},e.id)})})]}),o.assignee&&t("p",{className:"text-red-500 text-sm",children:o.assignee})]}),r("div",{className:"space-y-2 space-x-2",children:[t(l,{htmlFor:"description",children:"Description"}),t(T,{id:"description",value:s.description||"",onChange:e=>i({...s,description:e.target.value}),placeholder:"Enter deal description"})]}),r("div",{className:"space-y-2 space-x-2",children:[t(l,{children:"Categories"}),t("div",{className:"space-y-4",children:["proposition","source","sector"].map(e=>r("div",{className:"space-y-2",children:[t("h4",{className:"text-sm font-medium",children:e.charAt(0).toUpperCase()+e.slice(1)}),t("div",{className:"grid grid-cols-2 gap-2",children:B.filter(a=>a.type===e).map(a=>{var u;return r("div",{className:"flex items-center space-x-2",children:[t(L,{id:a.id.toString(),checked:(u=s.categories)==null?void 0:u.includes(a.id),onCheckedChange:()=>M(a)}),t("label",{htmlFor:a.id.toString(),className:"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",children:a.name})]},a.id)})})]},e))})]}),r("div",{className:"space-y-2 space-x-2",children:[t(l,{htmlFor:"closureDate",children:"Closure Date"}),t(v,{id:"closureDate",type:"date",value:s.closureDate||"",onChange:e=>i({...s,closureDate:e.target.value})}),o.closureDate&&t("p",{className:"text-red-500 text-sm",children:o.closureDate})]})]})}),t(f,{type:"submit",className:"w-full",children:d?"Update Deal":"Add Deal"})]}),t(A,{open:q,onOpenChange:g,children:r(I,{children:[t(E,{children:t(P,{children:"Add New Customer"})}),t(U,{onSubmit:z})]})})]})}export{oe as a};
1
+ import{a as U}from"./chunk-OWBJTXZL.mjs";import{a as k}from"./chunk-4NKKWJ2X.mjs";import{a as C,c as h,d as D,g as b,i as N}from"./chunk-4JC2TJML.mjs";import{a as T}from"./chunk-A5EYIB3V.mjs";import{a as l}from"./chunk-DWRQHV42.mjs";import{a as L}from"./chunk-Y5ZFXDW5.mjs";import{a as A,f as I,g as E,i as P}from"./chunk-JWDVKGZL.mjs";import{a as v}from"./chunk-QOIH63J3.mjs";import{b as f}from"./chunk-BDX257W2.mjs";import{useState as S,useEffect as J}from"react";import{PlusIcon as K}from"lucide-react";import{Fragment as Q,jsx as t,jsxs as r}from"react/jsx-runtime";function oe({customers:m,users:n,categories:B,onSubmit:O,initialDeal:d,onAddCustomer:V,onClose:p}){var y,x,w,F;let[s,i]=S(d||{customer:void 0,value:0,assignee:void 0,status:"Cold",categories:[],dateLogged:new Date().toISOString().split("T")[0],closureDate:"",comments:[],description:""}),[q,g]=S(!1),[o,c]=S({});J(()=>{d&&i(d)},[d]);let R=()=>{let e={};return s.customer||(e.customer="Customer is required"),s.value||(e.value="Value is required"),s.assignee||(e.assignee="Assignee is required"),s.closureDate||(e.closureDate="Closure Date is required"),c(e),Object.keys(e).length===0},H=async e=>{e.preventDefault(),c({});try{if(R()){let a=await O({...s});a.success?(i({customer:void 0,value:0,assignee:void 0,description:"",status:"Cold",closureDate:""}),p==null||p()):c(a.errors||{})}}catch{c({submit:"An error occurred while submitting the form."})}},M=e=>{i(a=>({...a,categories:(a.categories||[]).includes(e.id)?(a.categories||[]).filter(u=>u!==e.id):[...a.categories||[],e.id]}))},z=async e=>{i({...s,customer:e});try{let a=await V(e);a.success?g(!1):c(a.errors||{})}catch{c({submit:"An error occurred while submitting the form."})}},j=e=>n==null?void 0:n.find(a=>a.id===Number(e)),G=e=>m==null?void 0:m.find(a=>a.id===Number(e));return r(Q,{children:[r("form",{onSubmit:H,className:"space-y-6",children:[t(k,{className:"h-[60vh] pr-4",children:r("div",{className:"space-y-6 px-4",children:[r("div",{className:"space-y-2 space-x-2",children:[t(l,{htmlFor:"customer",children:"Customer"}),r("div",{className:"flex items-center space-x-2",children:[r(C,{value:(x=(y=s.customer)==null?void 0:y.id)==null?void 0:x.toString(),onValueChange:e=>i({...s,customer:G(e)}),children:[t(D,{children:t(h,{placeholder:"Select customer"})}),t(b,{children:m.map(e=>{var a;return t(N,{value:((a=e.id)==null?void 0:a.toString())||"",children:e.name},e.id)})})]}),t(f,{variant:"outline",size:"icon",onClick:()=>g(!0),children:t(K,{className:"w-5 h-5"})})]}),o.customerId&&t("p",{className:"text-red-500 text-sm",children:o.customerId})]}),r("div",{className:"space-y-2 space-x-2",children:[t(l,{htmlFor:"value",children:"Value"}),t(v,{id:"value",type:"number",value:s.value||"",onChange:e=>i({...s,value:Number.parseFloat(e.target.value)}),placeholder:"Enter deal value"}),o.value&&t("p",{className:"text-red-500 text-sm",children:o.value})]}),r("div",{className:"space-y-2 space-x-2",children:[t(l,{htmlFor:"assignee",children:"Assignee"}),r(C,{value:(F=(w=s.assignee)==null?void 0:w.id)==null?void 0:F.toString(),onValueChange:e=>i({...s,assignee:j(e)}),children:[t(D,{children:t(h,{placeholder:"Select assignee"})}),t(b,{children:n&&n.map(e=>{var a;return t(N,{value:((a=e.id)==null?void 0:a.toString())||"",children:e.name},e.id)})})]}),o.assignee&&t("p",{className:"text-red-500 text-sm",children:o.assignee})]}),r("div",{className:"space-y-2 space-x-2",children:[t(l,{htmlFor:"description",children:"Description"}),t(T,{id:"description",value:s.description||"",onChange:e=>i({...s,description:e.target.value}),placeholder:"Enter deal description"})]}),r("div",{className:"space-y-2 space-x-2",children:[t(l,{children:"Categories"}),t("div",{className:"space-y-4",children:["proposition","source","sector"].map(e=>r("div",{className:"space-y-2",children:[t("h4",{className:"text-sm font-medium",children:e.charAt(0).toUpperCase()+e.slice(1)}),t("div",{className:"grid grid-cols-2 gap-2",children:B.filter(a=>a.type===e).map(a=>{var u;return r("div",{className:"flex items-center space-x-2",children:[t(L,{id:a.id.toString(),checked:(u=s.categories)==null?void 0:u.includes(a.id),onCheckedChange:()=>M(a)}),t("label",{htmlFor:a.id.toString(),className:"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",children:a.name})]},a.id)})})]},e))})]}),r("div",{className:"space-y-2 space-x-2",children:[t(l,{htmlFor:"closureDate",children:"Closure Date"}),t(v,{id:"closureDate",type:"date",value:s.closureDate||"",onChange:e=>i({...s,closureDate:e.target.value})}),o.closureDate&&t("p",{className:"text-red-500 text-sm",children:o.closureDate})]})]})}),t(f,{type:"submit",className:"w-full",children:d?"Update Deal":"Add Deal"})]}),t(A,{open:q,onOpenChange:g,children:r(I,{children:[t(E,{children:t(P,{children:"Add New Customer"})}),t(U,{onSubmit:z})]})})]})}export{oe as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{c as k,h as R,i as v,k as S,l as f,o as x,p as u,q as c,r as y,s as w,v as P,w as B,x as L}from"./chunk-KB6PO4K4.mjs";import{a as n}from"./chunk-BSQVKZCW.mjs";import{a as g,b as N,c as M}from"./chunk-YNCJATT7.mjs";import{ChevronRight as A}from"lucide-react";import T from"clsx";import{Fragment as H,jsx as e,jsxs as i}from"react/jsx-runtime";function J({mainNav:o,secondaryNav:l,title:b,subTitle:a,pathName:p,menuHeading:d,onNavClick:s,loading:r=!1,LinkComponent:h,...F}){let C=h?t=>e(h,{...t}):s?({href:t,children:m,...I})=>e("button",{onClick:()=>s&&s(t),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...I,children:m}):t=>e("a",{...t});return i(k,{...F,variant:"inset",children:[e(R,{children:e(u,{children:e(c,{children:r?i("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[e(n,{className:"bg-gray-200 my-2 w-full h-7"}),e(n,{className:"bg-gray-200 w-3/4 my-2 h-5"})]}):i("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[e("span",{className:"truncate font-semibold",children:b}),a&&e("span",{className:"truncate text-sm",children:a})]})})})}),r&&i(S,{children:[e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"})]}),i(S,{children:[o&&!r&&o.map((t,m)=>e(G,{subNav:t,pathName:p,Link:C},m)),e(f,{className:"mt-auto",children:e(x,{children:e(u,{children:l&&!r&&l.map(t=>e(c,{children:e(y,{asChild:!0,size:"sm",children:i(C,{href:t.url||"",children:[t.icon&&e(t.icon,{}),e("span",{children:t.label})]})})},t.label))})})})]}),e(v,{})]})}function G({subNav:o,pathName:l,Link:b}){var d,s;let a=o,p=!1;return a.links&&a.links.map(r=>{r.url===l&&(p=!0)}),e(g,{defaultOpen:!0,className:"group/collapsible",children:e(f,{className:"py-0",children:e(u,{children:e(g,{asChild:!0,defaultOpen:a.isActive,children:i(c,{children:[e(y,{asChild:!0,tooltip:a.label,className:T(p&&"font-bold text-accent"),children:i(b,{href:a.url,children:[a.icon&&e(a.icon,{}),e("span",{children:a.label})]})}),(d=a.links)!=null&&d.length?i(H,{children:[e(N,{asChild:!0,children:i(w,{className:"data-[state=open]:rotate-90",children:[e(A,{}),e("span",{className:"sr-only",children:"Toggle"})]})}),e(M,{children:e(P,{children:(s=a.links)==null?void 0:s.map(r=>e(B,{children:e(L,{asChild:!0,className:T(r.url===l&&"font-bold text-accent"),children:e(b,{href:r.url,children:e("span",{children:r.label})})})},r.label))})})]}):null]})},a.label)})})})}export{J as a};
4
+ import{c as k,h as R,i as v,k as S,l as f,o as x,p as u,q as c,r as y,s as w,v as P,w as B,x as L}from"./chunk-2IKC7MAP.mjs";import{a as n}from"./chunk-BSQVKZCW.mjs";import{a as g,b as N,c as M}from"./chunk-YNCJATT7.mjs";import{ChevronRight as A}from"lucide-react";import T from"clsx";import{Fragment as H,jsx as e,jsxs as i}from"react/jsx-runtime";function J({mainNav:o,secondaryNav:l,title:b,subTitle:a,pathName:p,menuHeading:d,onNavClick:s,loading:r=!1,LinkComponent:h,...F}){let C=h?t=>e(h,{...t}):s?({href:t,children:m,...I})=>e("button",{onClick:()=>s&&s(t),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...I,children:m}):t=>e("a",{...t});return i(k,{...F,variant:"inset",children:[e(R,{children:e(u,{children:e(c,{children:r?i("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[e(n,{className:"bg-gray-200 my-2 w-full h-7"}),e(n,{className:"bg-gray-200 w-3/4 my-2 h-5"})]}):i("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[e("span",{className:"truncate font-semibold",children:b}),a&&e("span",{className:"truncate text-sm",children:a})]})})})}),r&&i(S,{children:[e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"})]}),i(S,{children:[o&&!r&&o.map((t,m)=>e(G,{subNav:t,pathName:p,Link:C},m)),e(f,{className:"mt-auto",children:e(x,{children:e(u,{children:l&&!r&&l.map(t=>e(c,{children:e(y,{asChild:!0,size:"sm",children:i(C,{href:t.url||"",children:[t.icon&&e(t.icon,{}),e("span",{children:t.label})]})})},t.label))})})})]}),e(v,{})]})}function G({subNav:o,pathName:l,Link:b}){var d,s;let a=o,p=!1;return a.links&&a.links.map(r=>{r.url===l&&(p=!0)}),e(g,{defaultOpen:!0,className:"group/collapsible",children:e(f,{className:"py-0",children:e(u,{children:e(g,{asChild:!0,defaultOpen:a.isActive,children:i(c,{children:[e(y,{asChild:!0,tooltip:a.label,className:T(p&&"font-bold text-accent"),children:i(b,{href:a.url,children:[a.icon&&e(a.icon,{}),e("span",{children:a.label})]})}),(d=a.links)!=null&&d.length?i(H,{children:[e(N,{asChild:!0,children:i(w,{className:"data-[state=open]:rotate-90",children:[e(A,{}),e("span",{className:"sr-only",children:"Toggle"})]})}),e(M,{children:e(P,{children:(s=a.links)==null?void 0:s.map(r=>e(B,{children:e(L,{asChild:!0,className:T(r.url===l&&"font-bold text-accent"),children:e(b,{href:r.url,children:e("span",{children:r.label})})})},r.label))})})]}):null]})},a.label)})})})}export{J as a};
@@ -1 +1 @@
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
+ import{a as m}from"./chunk-IQPZEEYJ.mjs";import{a}from"./chunk-H7D3PZKE.mjs";import{a as o}from"./chunk-VZXLXNVY.mjs";import{a as s}from"./chunk-Y2KKUQDU.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,6 +1,6 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as g,b as h,c as b}from"./chunk-TRQODJCW.mjs";import{b as y}from"./chunk-7A4OSPVQ.mjs";import{a as l}from"./chunk-NIQ4466A.mjs";import{useState as C,useEffect as D,useCallback as A}from"react";import{AnimatePresence as k,motion as v}from"framer-motion";import"pagedjs";import{Fragment as I,jsx as t,jsxs as w}from"react/jsx-runtime";var K=c=>{let[s,i]=C(0),{blocks:a,hero:x,logoImage:m}=c,N=a&&Array.isArray(a)&&a.length>0,n=[{id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}},...a],S=e=>{i(e)},r=()=>{i(e=>(e+1)%n.length)},d=()=>{i(e=>(e-1+n.length)%n.length)},u=A(((e,o)=>{let f;return(...T)=>{clearTimeout(f),f=setTimeout(()=>e(...T),o)}})(e=>{e.deltaY>0?r():d()},300),[]),p=e=>{e.key==="ArrowDown"?r():e.key==="ArrowUp"&&d()};return D(()=>(window.addEventListener("wheel",u),window.addEventListener("keydown",p),()=>{window.removeEventListener("wheel",u),window.removeEventListener("keydown",p)}),[]),w("div",{className:"flex flex-col min-h-screen relative overflow-hidden",children:[t("div",{className:"fixed left-0 top-0 flex h-screen w-9 z-10 flex-col items-center justify-center bg-gray-900",children:N&&n.map((e,o)=>t("button",{className:`group relative flex items-center justify-center my-2 h-16 w-4 rounded-full transition-all hover:bg-accent duration-300 ${s===o?"bg-accent":"bg-gray-600"}`,onClick:()=>S(o),children:t("span",{className:"absolute ml-7 left-full text-left transform -translate-y-1/2 translate-x-0 rotate-90 origin-left whitespace-nowrap opacity-0 group-hover:opacity-100 group-hover:translate-x-2 transition-all duration-300",children:e.blockName})},e.id))}),t(k,{children:n.map((e,o)=>t("div",{id:`slide-${o}`,className:"print-section",children:t("div",{className:`absolute flex items-center justify-center transition-opacity duration-1000
4
+ import{a as g,b as h,c as b}from"./chunk-OD73JG7G.mjs";import{b as y}from"./chunk-OH2S6BBQ.mjs";import{a as l}from"./chunk-NIQ4466A.mjs";import{useState as C,useEffect as D,useCallback as A}from"react";import{AnimatePresence as k,motion as v}from"framer-motion";import"pagedjs";import{Fragment as I,jsx as t,jsxs as w}from"react/jsx-runtime";var K=c=>{let[s,i]=C(0),{blocks:a,hero:x,logoImage:m}=c,N=a&&Array.isArray(a)&&a.length>0,n=[{id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}},...a],S=e=>{i(e)},r=()=>{i(e=>(e+1)%n.length)},d=()=>{i(e=>(e-1+n.length)%n.length)},u=A(((e,o)=>{let f;return(...T)=>{clearTimeout(f),f=setTimeout(()=>e(...T),o)}})(e=>{e.deltaY>0?r():d()},300),[]),p=e=>{e.key==="ArrowDown"?r():e.key==="ArrowUp"&&d()};return D(()=>(window.addEventListener("wheel",u),window.addEventListener("keydown",p),()=>{window.removeEventListener("wheel",u),window.removeEventListener("keydown",p)}),[]),w("div",{className:"flex flex-col min-h-screen relative overflow-hidden",children:[t("div",{className:"fixed left-0 top-0 flex h-screen w-9 z-10 flex-col items-center justify-center bg-gray-900",children:N&&n.map((e,o)=>t("button",{className:`group relative flex items-center justify-center my-2 h-16 w-4 rounded-full transition-all hover:bg-accent duration-300 ${s===o?"bg-accent":"bg-gray-600"}`,onClick:()=>S(o),children:t("span",{className:"absolute ml-7 left-full text-left transform -translate-y-1/2 translate-x-0 rotate-90 origin-left whitespace-nowrap opacity-0 group-hover:opacity-100 group-hover:translate-x-2 transition-all duration-300",children:e.blockName})},e.id))}),t(k,{children:n.map((e,o)=>t("div",{id:`slide-${o}`,className:"print-section",children:t("div",{className:`absolute flex items-center justify-center transition-opacity duration-1000
5
5
  ${o===s?"opacity-100":"opacity-0"}
6
6
  w-full h-full bg-cover bg-center`,children:o===0?t(b,{hero:x,title:c.title,logoImage:m}):w(I,{children:[e.blockName&&t(h,{title:e.blockName}),t(y,{blocks:[e],fill:!0}),t(g,{logoImage:m})]})})},o))}),t("button",{className:"absolute bottom-4 left-1 z-20 text-3xl text-primary transition-all duration-300 hover:scale-110",onClick:r,children:t(E,{})})]})},E=()=>t(k,{children:t(v.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.7,ease:[.76,0,.24,1]},className:l("w-fit min-h-[50px] min-w-[20px] p-1 border-2 rounded-full","border-accent"),children:t(v.div,{initial:{y:0},animate:{y:[0,25],opacity:[1,0]},transition:{duration:1,ease:"easeOut",repeat:1/0,repeatDelay:1},className:l("w-[12px] h-[12px] rounded-full","bg-accent")})})});export{K 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 g}from"./chunk-BZAYEKYC.mjs";import{a as h}from"./chunk-WU3JMLSC.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 +1 @@
1
- import{a}from"./chunk-MGS3DQ22.mjs";import{f as r}from"./chunk-NNVCDURD.mjs";import m from"clsx";import{jsx as o,jsxs as l}from"react/jsx-runtime";var g=i=>{let{className:n,docs:t,introContent:e}=i;return l("div",{className:m("container",n),children:[e&&o(r,{content:e,enableGutter:!1}),o("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 md:gap-8 items-stretch",children:t==null?void 0:t.map((s,p)=>typeof s=="string"?null:o(a,{doc:s,relationTo:"posts",showCategories:!0},p))})]})};export{g as a};
1
+ import{a}from"./chunk-MGS3DQ22.mjs";import{f as r}from"./chunk-KCNRSNZG.mjs";import m from"clsx";import{jsx as o,jsxs as l}from"react/jsx-runtime";var g=i=>{let{className:n,docs:t,introContent:e}=i;return l("div",{className:m("container",n),children:[e&&o(r,{content:e,enableGutter:!1}),o("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 md:gap-8 items-stretch",children:t==null?void 0:t.map((s,p)=>typeof s=="string"?null:o(a,{doc:s,relationTo:"posts",showCategories:!0},p))})]})};export{g as a};
@@ -1 +1 @@
1
- import{a as i}from"./chunk-ICWR76CT.mjs";import{a as m}from"./chunk-WU3JMLSC.mjs";import{a}from"./chunk-BZAYEKYC.mjs";import{a as o}from"./chunk-A7563CVR.mjs";import{a as t}from"./chunk-RQ23CZK5.mjs";import{jsx as r,jsxs as n}from"react/jsx-runtime";function d({...e}){return n("div",{children:[r(t,{isMenuOpen:!0,logoLight:a,logoDark:m}),r(o,{...e.hero}),r(i,{className:"!pb-0",...e.blog})]})}export{d as a};
1
+ import{a as i}from"./chunk-7OBH6AB6.mjs";import{a}from"./chunk-BZAYEKYC.mjs";import{a as m}from"./chunk-WU3JMLSC.mjs";import{a as o}from"./chunk-A7563CVR.mjs";import{a as t}from"./chunk-RQ23CZK5.mjs";import{jsx as r,jsxs as n}from"react/jsx-runtime";function d({...e}){return n("div",{children:[r(t,{isMenuOpen:!0,logoLight:a,logoDark:m}),r(o,{...e.hero}),r(i,{className:"!pb-0",...e.blog})]})}export{d as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as g}from"./chunk-KIICLHKI.mjs";import{a as f}from"./chunk-WU3JMLSC.mjs";import{a as S}from"./chunk-BZAYEKYC.mjs";import{a as d,b as o,c as a,d as m,e as t,f as l}from"./chunk-AWFQEK7A.mjs";import{a as u}from"./chunk-3YZN4MJB.mjs";import{b as n,d as b,f as c}from"./chunk-KB6PO4K4.mjs";import{a as s}from"./chunk-Y5VTKEKS.mjs";import{a as p}from"./chunk-RQ23CZK5.mjs";import{jsx as e,jsxs as r}from"react/jsx-runtime";function h({...i}){return r("div",{className:"bg-sidebar",children:[e(p,{isMenuOpen:!0,logoLight:S,logoDark:f,...i.header,className:"bg-sidebar"}),r(n,{className:"top-24 mb-4 h-full max-h-[calc(100vh-3.5rem)] flex-1 flex-row overflow-y-clip",children:[e(g,{...i.sidebarLeft,className:"flex-none top-24"}),r(c,{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(s,{orientation:"vertical",className:"mr-2 h-4"}),e(d,{children:r(o,{children:[e(a,{className:"hidden md:block",children:e(m,{href:"#",children:"Building Your Application"})}),e(l,{className:"hidden md:block"}),e(a,{children:e(t,{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(u,{})]})}export{h as a};
4
+ import{a as g}from"./chunk-23BDC5JG.mjs";import{a as S}from"./chunk-BZAYEKYC.mjs";import{a as f}from"./chunk-WU3JMLSC.mjs";import{a as d,b as o,c as a,d as m,e as t,f as l}from"./chunk-AWFQEK7A.mjs";import{a as u}from"./chunk-3YZN4MJB.mjs";import{b as n,d as b,f as c}from"./chunk-2IKC7MAP.mjs";import{a as s}from"./chunk-Y5VTKEKS.mjs";import{a as p}from"./chunk-RQ23CZK5.mjs";import{jsx as e,jsxs as r}from"react/jsx-runtime";function h({...i}){return r("div",{className:"bg-sidebar",children:[e(p,{isMenuOpen:!0,logoLight:S,logoDark:f,...i.header,className:"bg-sidebar"}),r(n,{className:"top-24 mb-4 h-full max-h-[calc(100vh-3.5rem)] flex-1 flex-row overflow-y-clip",children:[e(g,{...i.sidebarLeft,className:"flex-none top-24"}),r(c,{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(s,{orientation:"vertical",className:"mr-2 h-4"}),e(d,{children:r(o,{children:[e(a,{className:"hidden md:block",children:e(m,{href:"#",children:"Building Your Application"})}),e(l,{className:"hidden md:block"}),e(a,{children:e(t,{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(u,{})]})}export{h 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 p}from"./chunk-EGLMLI2W.mjs";import{a as u}from"./chunk-MQJD6N67.mjs";import{a as l}from"./chunk-2NHLKRCX.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 h}from"./chunk-BZAYEKYC.mjs";import{a as f}from"./chunk-WU3JMLSC.mjs";import{a as p}from"./chunk-KIRUMRMR.mjs";import{a as l}from"./chunk-E7435ZAX.mjs";import{a as u}from"./chunk-5DBGTQXM.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,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as y}from"./chunk-VDDWSLGQ.mjs";import{a as b,b as k}from"./chunk-ACML7DJK.mjs";import{a as S}from"./chunk-GTEZREKW.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 v}from"./chunk-EGLMLI2W.mjs";import{a as h}from"./chunk-MQJD6N67.mjs";import{a as f}from"./chunk-2NHLKRCX.mjs";import{c as m,f as p}from"./chunk-NNVCDURD.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};
4
+ import{a as y}from"./chunk-OH22UHIS.mjs";import{a as b,b as k}from"./chunk-G6JBMV6L.mjs";import{a as S}from"./chunk-E5JYGW3N.mjs";import{a as w}from"./chunk-BZAYEKYC.mjs";import{a as C}from"./chunk-WU3JMLSC.mjs";import{a as g}from"./chunk-B67CUKBL.mjs";import{a as v}from"./chunk-KIRUMRMR.mjs";import{a as f}from"./chunk-E7435ZAX.mjs";import{a as h}from"./chunk-5DBGTQXM.mjs";import{c as m,f as p}from"./chunk-KCNRSNZG.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 +1 @@
1
- import{f as c}from"./chunk-NNVCDURD.mjs";import{a as t}from"./chunk-NIQ4466A.mjs";import n from"next/image";import{jsx as e,jsxs as l}from"react/jsx-runtime";function g({image:a,title:i,content:s,link:o,theme:r}){return l("section",{className:"container relative",children:[e("div",{className:t("absolute mt-[50%] w-full h-full",r==="dark"?"bg-white":"bg-black")}),e("div",{className:t("flex flex-col md:flex-row items-center justify-between gap-12 px-6 md:px-16 py-16 bg-background",r,r==="dark"&&"bg-black clip-custom-top-r"),children:l("div",{className:"w-full flex flex-row items-center justify-center",children:[l("div",{className:t("w-full md:w-1/2 max-w-lg text-left",r==="dark"&&"mt-48"),children:[e("h2",{className:"text-3xl md:text-5xl text-primary",children:i}),e("p",{className:"mt-4 text-gray-700 text-lg",children:s&&e(c,{enableGutter:!1,content:s,enableProse:!1,className:t("prose prose-headings:text-gray-700 prose-p:text-gray-700")})}),e("button",{className:"mt-6 px-6 py-3 border border-1 border-accent text-foreground bg-background rounded-full text-base hover:bg-accent hover:text-white transition",children:e("a",{href:o.url||"#",children:o.label||"Learn more"})})]}),e("div",{className:"w-full md:w-1/2 flex justify-center",children:a&&a.url&&e(n,{src:a.url,alt:a.alt||`Image of ${i}`,width:400,height:400,className:"max-w-full"})})]})})]})}export{g as a};
1
+ import{f as c}from"./chunk-KCNRSNZG.mjs";import{a as t}from"./chunk-NIQ4466A.mjs";import n from"next/image";import{jsx as e,jsxs as l}from"react/jsx-runtime";function g({image:a,title:i,content:s,link:o,theme:r}){return l("section",{className:"container relative",children:[e("div",{className:t("absolute mt-[50%] w-full h-full",r==="dark"?"bg-white":"bg-black")}),e("div",{className:t("flex flex-col md:flex-row items-center justify-between gap-12 px-6 md:px-16 py-16 bg-background",r,r==="dark"&&"bg-black clip-custom-top-r"),children:l("div",{className:"w-full flex flex-row items-center justify-center",children:[l("div",{className:t("w-full md:w-1/2 max-w-lg text-left",r==="dark"&&"mt-48"),children:[e("h2",{className:"text-3xl md:text-5xl text-primary",children:i}),e("p",{className:"mt-4 text-gray-700 text-lg",children:s&&e(c,{enableGutter:!1,content:s,enableProse:!1,className:t("prose prose-headings:text-gray-700 prose-p:text-gray-700")})}),e("button",{className:"mt-6 px-6 py-3 border border-1 border-accent text-foreground bg-background rounded-full text-base hover:bg-accent hover:text-white transition",children:e("a",{href:o.url||"#",children:o.label||"Learn more"})})]}),e("div",{className:"w-full md:w-1/2 flex justify-center",children:a&&a.url&&e(n,{src:a.url,alt:a.alt||`Image of ${i}`,width:400,height:400,className:"max-w-full"})})]})})]})}export{g 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,g=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(g,x)),g=x+o;continue}if(v==="/"){C=x;continue}}v==="["?p++:v==="]"&&p--}let w=c.length===0?l:l.substring(g),A=w.startsWith(je),P=A?w.substring(1):w,h=C&&C>g?C-g: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:g,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(g).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 W=F[T];o.push(v+W)}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((g,C)=>C(g),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 g=Dt(c,r);return s(c,g),g}return function(){return o(jt.apply(null,arguments))}}var b=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|b|min|max))|\b(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"]),Wt=e=>O(e,Xt,Ve),$t=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=b("colors"),t=b("spacing"),r=b("blur"),n=b("brightness"),s=b("borderColor"),o=b("borderRadius"),a=b("borderSpacing"),l=b("borderWidth"),c=b("contrast"),p=b("grayscale"),g=b("hueRotate"),C=b("invert"),w=b("gap"),A=b("gradientColorStops"),P=b("gradientColorStopPositions"),h=b("inset"),x=b("margin"),v=b("opacity"),k=b("padding"),F=b("saturate"),T=b("scale"),W=b("sepia"),Ie=b("skew"),Se=b("space"),Re=b("translate"),me=()=>["auto","contain","none"],ue=()=>["auto","hidden","clip","visible","scroll"],fe=()=>["auto",d,t],y=()=>[d,t],Me=()=>["",R,z],$=()=>["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":$()}],"col-end":[{"col-end":$()}],"grid-rows":[{"grid-rows":[q]}],"row-start-end":[{row:["auto",{span:[Q,d]},d]}],"row-start":[{"row-start":$()}],"row-end":[{"row-end":$()}],"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(),$t]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Wt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","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-b":[{"rounded-b":[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-b":[{"border-b":[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-b":[{"border-b":[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":[g]}],invert:[{invert:[C]}],saturate:[{saturate:[F]}],sepia:[{sepia:[W]}],"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":[g]}],"backdrop-invert":[{"backdrop-invert":[C]}],"backdrop-opacity":[{"backdrop-opacity":[v]}],"backdrop-saturate":[{"backdrop-saturate":[F]}],"backdrop-sepia":[{"backdrop-sepia":[W]}],"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-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-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,g=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(!g)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:g||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:g||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 $e=require("formik"),Ze=require("react-icons/fa6"),U=j(require("yup"));async function We(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)($e.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:cr,onSubmit:async(e,{resetForm:t})=>{let r=await We(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:"Write 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",children:(0,Ke.jsx)(G,{type:"submit",className:"w-full outline rounded-full outline-accent bg-background text-foreground hover:bg-accent hover:text-accent-foreground",disabled:o,children:(0,Ke.jsx)("span",{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 dark:invert",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,g,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,g=v*T}else p=F,g=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:g,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"},g={"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 md:p-0":"p-8 md: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",g[(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 prose-headings:text-white prose-p: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 dark:prose-invert ":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 dark:invert",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 prose-headings:text-white prose-p: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 dark:prose-invert ":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});
@@ -1 +1 @@
1
- import{a}from"../../chunk-NNVCDURD.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-44VMK4FL.mjs";import"../../chunk-GHWZZAOE.mjs";import"../../chunk-NOEITQK2.mjs";import"../../chunk-EG6XIOOJ.mjs";import"../../chunk-MMBUMBDU.mjs";import"../../chunk-CTKUF2I6.mjs";import"../../chunk-M6M43TLT.mjs";import"../../chunk-FGWIT6CV.mjs";import"../../chunk-OI2YT2ZF.mjs";import"../../chunk-EY5QX73B.mjs";import"../../chunk-YCX5N23N.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-2A6JF3LE.mjs";import"../../chunk-4YJ3HV64.mjs";import"../../chunk-FCCL6W7R.mjs";import"../../chunk-WLBZXBU3.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-2NFKSNJW.mjs";import"../../chunk-FI4SMRAR.mjs";import"../../chunk-5IQPAE6K.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-Y2KKUQDU.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-VZXLXNVY.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as BannerBlock};
1
+ import{a}from"../../chunk-KCNRSNZG.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-44VMK4FL.mjs";import"../../chunk-L2QAYSRV.mjs";import"../../chunk-NOEITQK2.mjs";import"../../chunk-EG6XIOOJ.mjs";import"../../chunk-MMBUMBDU.mjs";import"../../chunk-CTKUF2I6.mjs";import"../../chunk-YCX5N23N.mjs";import"../../chunk-M6M43TLT.mjs";import"../../chunk-FGWIT6CV.mjs";import"../../chunk-OI2YT2ZF.mjs";import"../../chunk-EY5QX73B.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-2A6JF3LE.mjs";import"../../chunk-4YJ3HV64.mjs";import"../../chunk-FCCL6W7R.mjs";import"../../chunk-WLBZXBU3.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-2NFKSNJW.mjs";import"../../chunk-FI4SMRAR.mjs";import"../../chunk-5IQPAE6K.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-VZXLXNVY.mjs";import"../../chunk-Y2KKUQDU.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as BannerBlock};