cortex-react-components 1.56.0 → 1.56.2

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 (218) hide show
  1. package/dist/{chunk-KIICLHKI.mjs → chunk-23BDC5JG.mjs} +1 -1
  2. package/dist/{chunk-BXIDYE67.mjs → chunk-2GM7CZWD.mjs} +1 -1
  3. package/dist/{chunk-KB6PO4K4.mjs → chunk-2IKC7MAP.mjs} +1 -1
  4. package/dist/{chunk-GYUMEOL2.mjs → chunk-2SU53XDR.mjs} +1 -1
  5. package/dist/{chunk-FYVORNBL.mjs → chunk-3KLULH4N.mjs} +1 -1
  6. package/dist/{chunk-GGDYYSFG.mjs → chunk-44AJHLZU.mjs} +1 -1
  7. package/dist/{chunk-Z7P4QOKT.mjs → chunk-4TCLIMFP.mjs} +1 -1
  8. package/dist/{chunk-HQOFQGRQ.mjs → chunk-4TUDI7KG.mjs} +1 -1
  9. package/dist/{chunk-WMVRW4SF.mjs → chunk-5V2ANAIN.mjs} +1 -1
  10. package/dist/{chunk-4YJ3HV64.mjs → chunk-6DHYRATS.mjs} +1 -1
  11. package/dist/{chunk-3GYJDXNA.mjs → chunk-6YWAX7NS.mjs} +1 -1
  12. package/dist/{chunk-W5IV2HHX.mjs → chunk-7CLTFO4T.mjs} +1 -1
  13. package/dist/{chunk-BWRPSU6I.mjs → chunk-7US5HSR6.mjs} +1 -1
  14. package/dist/{chunk-OXFWH45D.mjs → chunk-AWF6XNYF.mjs} +1 -1
  15. package/dist/{chunk-KVA4UPK2.mjs → chunk-AZKUFDXP.mjs} +1 -1
  16. package/dist/{chunk-7XB4Y3U2.mjs → chunk-CSNKYRV5.mjs} +1 -1
  17. package/dist/{chunk-T4I5D4XZ.mjs → chunk-D44ZXHH4.mjs} +1 -1
  18. package/dist/{chunk-KQJLOUAU.mjs → chunk-D7A7EUEW.mjs} +1 -1
  19. package/dist/{chunk-IJT4XHN7.mjs → chunk-EB5N4KMF.mjs} +1 -1
  20. package/dist/{chunk-EML6AVUM.mjs → chunk-FKXXS744.mjs} +1 -1
  21. package/dist/chunk-FP5DGSVT.mjs +1 -0
  22. package/dist/{chunk-ZIWHUQ4D.mjs → chunk-HER7J6HM.mjs} +1 -1
  23. package/dist/{chunk-JXPOV3A4.mjs → chunk-IGCJJKUY.mjs} +1 -1
  24. package/dist/{chunk-SBAFXZVU.mjs → chunk-IO222G5L.mjs} +1 -1
  25. package/dist/{chunk-KIAZOHM4.mjs → chunk-IR3E4BOR.mjs} +1 -1
  26. package/dist/{chunk-FCCL6W7R.mjs → chunk-JPFBD2KD.mjs} +1 -1
  27. package/dist/{chunk-TV6WUXSN.mjs → chunk-KFSXGAAX.mjs} +1 -1
  28. package/dist/{chunk-S66RCEAN.mjs → chunk-KLNVCVT5.mjs} +1 -1
  29. package/dist/{chunk-IS27WYEV.mjs → chunk-LXHSPBVT.mjs} +1 -1
  30. package/dist/{chunk-UUQ4YJSJ.mjs → chunk-NW5BVAKO.mjs} +1 -1
  31. package/dist/{chunk-OUKKI47A.mjs → chunk-PIM2JQYT.mjs} +1 -1
  32. package/dist/{chunk-OUF4RW7E.mjs → chunk-Q5ID5CRA.mjs} +1 -1
  33. package/dist/{chunk-PY53YVFX.mjs → chunk-QMFZRG7O.mjs} +1 -1
  34. package/dist/{chunk-MIWMERSR.mjs → chunk-QRKTZ7BP.mjs} +1 -1
  35. package/dist/{chunk-26K34DNO.mjs → chunk-R2TZLS6H.mjs} +1 -1
  36. package/dist/{chunk-2A6JF3LE.mjs → chunk-RJGKFNZL.mjs} +1 -1
  37. package/dist/{chunk-EOVMD5QE.mjs → chunk-RR4ZDHMW.mjs} +1 -1
  38. package/dist/{chunk-LLJZRF3C.mjs → chunk-S7I4XJS6.mjs} +1 -1
  39. package/dist/{chunk-C2WXWFU6.mjs → chunk-T4H7GMGO.mjs} +1 -1
  40. package/dist/{chunk-TT3GBHBO.mjs → chunk-TJXZHZ4B.mjs} +1 -1
  41. package/dist/{chunk-7IZ2X75V.mjs → chunk-TZE7RZAV.mjs} +1 -1
  42. package/dist/{chunk-S3GITHJW.mjs → chunk-VJ5BKDBD.mjs} +1 -1
  43. package/dist/{chunk-EEKDSPJW.mjs → chunk-WSR7WXCF.mjs} +1 -1
  44. package/dist/{chunk-MGS3DQ22.mjs → chunk-XXTN5HMN.mjs} +1 -1
  45. package/dist/components/Blocks/Banner.js +1 -1
  46. package/dist/components/Blocks/Banner.mjs +1 -1
  47. package/dist/components/Blocks/CallToAction.js +1 -1
  48. package/dist/components/Blocks/CallToAction.mjs +1 -1
  49. package/dist/components/Blocks/CallToAction.stories.js +1 -1
  50. package/dist/components/Blocks/CallToAction.stories.mjs +1 -1
  51. package/dist/components/Blocks/CollapsibleArea.js +1 -1
  52. package/dist/components/Blocks/CollapsibleArea.mjs +1 -1
  53. package/dist/components/Blocks/CollapsibleArea.stories.js +1 -1
  54. package/dist/components/Blocks/CollapsibleArea.stories.mjs +1 -1
  55. package/dist/components/Blocks/Content.js +1 -1
  56. package/dist/components/Blocks/Content.mjs +1 -1
  57. package/dist/components/Blocks/Content.stories.js +1 -1
  58. package/dist/components/Blocks/Content.stories.mjs +1 -1
  59. package/dist/components/Blocks/FeaturesBlock.js +1 -1
  60. package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
  61. package/dist/components/Blocks/FeaturesBlock.stories.js +1 -1
  62. package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
  63. package/dist/components/Blocks/ImageBlock.mjs +1 -1
  64. package/dist/components/Blocks/MediaBlock.mjs +1 -1
  65. package/dist/components/Blocks/RelatedPosts.js +1 -1
  66. package/dist/components/Blocks/RelatedPosts.mjs +1 -1
  67. package/dist/components/Blocks/RenderBlocks.js +1 -1
  68. package/dist/components/Blocks/RenderBlocks.mjs +1 -1
  69. package/dist/components/Blocks/ReusableContentBlock.js +1 -1
  70. package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
  71. package/dist/components/Blocks/index.js +1 -1
  72. package/dist/components/Blocks/index.mjs +1 -1
  73. package/dist/components/CRM/DealDetails.mjs +1 -1
  74. package/dist/components/CRM/DealDetails.stories.mjs +1 -1
  75. package/dist/components/CRM/KanbanBoard.mjs +1 -1
  76. package/dist/components/CRM/KanbanBoard.stories.mjs +1 -1
  77. package/dist/components/CRM/KanbanColumn.mjs +1 -1
  78. package/dist/components/CRM/KanbanColumn.stories.mjs +1 -1
  79. package/dist/components/CRM/NewDealForm.mjs +1 -1
  80. package/dist/components/CRM/NewDealForm.stories.mjs +1 -1
  81. package/dist/components/CRM/index.mjs +1 -1
  82. package/dist/components/Cards/ContentCard.js +1 -1
  83. package/dist/components/Cards/ContentCard.mjs +1 -1
  84. package/dist/components/Cards/ContentCard.stories.js +1 -1
  85. package/dist/components/Cards/ContentCard.stories.mjs +1 -1
  86. package/dist/components/Cards/FeatureCard.js +1 -1
  87. package/dist/components/Cards/FeatureCard.mjs +1 -1
  88. package/dist/components/Cards/FeatureCard.stories.js +1 -1
  89. package/dist/components/Cards/FeatureCard.stories.mjs +1 -1
  90. package/dist/components/Cards/index.js +4 -4
  91. package/dist/components/Cards/index.mjs +1 -1
  92. package/dist/components/DigitalColleagues/AppSidebarLeft.mjs +1 -1
  93. package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
  94. package/dist/components/DigitalColleagues/MainPage.stories.mjs +1 -1
  95. package/dist/components/HeaderFooter/SectionHeading.js +1 -1
  96. package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
  97. package/dist/components/Heros/HighImpact/index.js +1 -1
  98. package/dist/components/Heros/HighImpact/index.mjs +1 -1
  99. package/dist/components/Heros/LowImpact/index.js +1 -1
  100. package/dist/components/Heros/LowImpact/index.mjs +1 -1
  101. package/dist/components/Heros/MediumImpact/index.js +1 -1
  102. package/dist/components/Heros/MediumImpact/index.mjs +1 -1
  103. package/dist/components/Heros/PostHero/index.mjs +1 -1
  104. package/dist/components/Heros/RenderHero.js +1 -1
  105. package/dist/components/Heros/RenderHero.mjs +1 -1
  106. package/dist/components/Heros/index.js +1 -1
  107. package/dist/components/Heros/index.mjs +1 -1
  108. package/dist/components/Holidays/HolidayTracker.mjs +1 -1
  109. package/dist/components/Holidays/HolidayTracker.stories.mjs +1 -1
  110. package/dist/components/Holidays/index.mjs +1 -1
  111. package/dist/components/Layouts/FeatureGrid.stories.js +1 -1
  112. package/dist/components/Layouts/FeatureGrid.stories.mjs +1 -1
  113. package/dist/components/Layouts/OutputHeaderFooter.js +2 -2
  114. package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
  115. package/dist/components/Layouts/Print.js +2 -2
  116. package/dist/components/Layouts/Print.mjs +1 -1
  117. package/dist/components/Layouts/Print.stories.js +1 -1
  118. package/dist/components/Layouts/Print.stories.mjs +1 -1
  119. package/dist/components/Layouts/SlideShow.js +3 -3
  120. package/dist/components/Layouts/SlideShow.mjs +1 -1
  121. package/dist/components/Layouts/SlideShow.stories.js +3 -3
  122. package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
  123. package/dist/components/Layouts/index.js +5 -5
  124. package/dist/components/Layouts/index.mjs +1 -1
  125. package/dist/components/Menus/SidebarLeft.mjs +1 -1
  126. package/dist/components/Menus/SidebarLeft.stories.mjs +1 -1
  127. package/dist/components/Menus/SidebarRight.mjs +1 -1
  128. package/dist/components/Menus/SidebarRight.stories.mjs +1 -1
  129. package/dist/components/Menus/index.mjs +1 -1
  130. package/dist/components/Payload/Card/index.mjs +1 -1
  131. package/dist/components/Payload/CollectionArchive/index.mjs +1 -1
  132. package/dist/components/Payload/Media/index.mjs +1 -1
  133. package/dist/components/Payload/RichText/index.js +1 -1
  134. package/dist/components/Payload/RichText/index.mjs +1 -1
  135. package/dist/components/Payload/RichText/serialize.js +1 -1
  136. package/dist/components/Payload/RichText/serialize.mjs +1 -1
  137. package/dist/components/Payload/RichText.stories.js +1 -1
  138. package/dist/components/Payload/RichText.stories.mjs +1 -1
  139. package/dist/components/Payload/index.js +1 -1
  140. package/dist/components/Payload/index.mjs +1 -1
  141. package/dist/components/index.js +7 -7
  142. package/dist/components/index.mjs +1 -1
  143. package/dist/components/ui/index.mjs +1 -1
  144. package/dist/components/ui/sidebar.mjs +1 -1
  145. package/dist/index.js +11 -11
  146. package/dist/index.mjs +1 -1
  147. package/dist/metafile-cjs.json +1 -1
  148. package/dist/metafile-esm.json +1 -1
  149. package/dist/pages/Blog.js +1 -1
  150. package/dist/pages/Blog.mjs +1 -1
  151. package/dist/pages/Blog.stories.js +1 -1
  152. package/dist/pages/Blog.stories.mjs +1 -1
  153. package/dist/pages/Documentation.mjs +1 -1
  154. package/dist/pages/Documentation.stories.mjs +1 -1
  155. package/dist/pages/IndexPage.mjs +1 -1
  156. package/dist/pages/IndexPage.stories.mjs +1 -1
  157. package/dist/pages/Intranet.mjs +1 -1
  158. package/dist/pages/Intranet.stories.mjs +1 -1
  159. package/dist/pages/LandingPage.js +3 -3
  160. package/dist/pages/LandingPage.mjs +1 -1
  161. package/dist/pages/LandingPage.stories.js +3 -3
  162. package/dist/pages/LandingPage.stories.mjs +1 -1
  163. package/dist/pages/Page.js +1 -1
  164. package/dist/pages/Page.mjs +1 -1
  165. package/dist/pages/Page.stories.js +189 -189
  166. package/dist/pages/Page.stories.mjs +1 -1
  167. package/dist/pages/Printable.stories.js +4 -4
  168. package/dist/pages/Printable.stories.mjs +1 -1
  169. package/dist/pages/Publish.js +5 -5
  170. package/dist/pages/Publish.mjs +1 -1
  171. package/dist/pages/Publish.stories.js +4 -4
  172. package/dist/pages/Publish.stories.mjs +1 -1
  173. package/dist/pages/Website.js +1 -1
  174. package/dist/pages/Website.mjs +1 -1
  175. package/dist/pages/Website.stories.js +1 -1
  176. package/dist/pages/Website.stories.mjs +1 -1
  177. package/dist/sections/AboutSection.js +1 -1
  178. package/dist/sections/AboutSection.mjs +1 -1
  179. package/dist/sections/AboutSection.stories.js +1 -1
  180. package/dist/sections/AboutSection.stories.mjs +1 -1
  181. package/dist/sections/BlogDetail.js +1 -1
  182. package/dist/sections/BlogDetail.mjs +1 -1
  183. package/dist/sections/BlogDetail.stories.js +1 -1
  184. package/dist/sections/BlogDetail.stories.mjs +1 -1
  185. package/dist/sections/BlogList.js +3 -3
  186. package/dist/sections/BlogList.mjs +1 -1
  187. package/dist/sections/BlogList.stories.js +3 -3
  188. package/dist/sections/BlogList.stories.mjs +1 -1
  189. package/dist/sections/BlogListSection.mjs +1 -1
  190. package/dist/sections/BlogListSection.stories.mjs +1 -1
  191. package/dist/sections/ContactSection.js +1 -1
  192. package/dist/sections/ContactSection.mjs +1 -1
  193. package/dist/sections/ContactSection.stories.js +1 -1
  194. package/dist/sections/ContactSection.stories.mjs +1 -1
  195. package/dist/sections/ImageSection.stories.js +1 -1
  196. package/dist/sections/ImageSection.stories.mjs +1 -1
  197. package/dist/sections/PageSections.js +3 -3
  198. package/dist/sections/PageSections.mjs +1 -1
  199. package/dist/sections/PageSections.stories.js +3 -3
  200. package/dist/sections/PageSections.stories.mjs +1 -1
  201. package/dist/sections/PricingSection.js +1 -1
  202. package/dist/sections/PricingSection.mjs +1 -1
  203. package/dist/sections/PricingSection.stories.js +1 -1
  204. package/dist/sections/PricingSection.stories.mjs +1 -1
  205. package/dist/sections/ServiceDetailList.js +1 -1
  206. package/dist/sections/ServiceDetailList.mjs +1 -1
  207. package/dist/sections/ServiceDetailSection.js +1 -1
  208. package/dist/sections/ServiceDetailSection.mjs +1 -1
  209. package/dist/sections/ServiceDetailSection.stories.js +1 -1
  210. package/dist/sections/ServiceDetailSection.stories.mjs +1 -1
  211. package/dist/sections/ServiceSection.js +1 -1
  212. package/dist/sections/ServiceSection.mjs +1 -1
  213. package/dist/sections/ServiceSection.stories.js +1 -1
  214. package/dist/sections/ServiceSection.stories.mjs +1 -1
  215. package/dist/sections/index.js +3 -3
  216. package/dist/sections/index.mjs +1 -1
  217. package/package.json +1 -1
  218. package/dist/chunk-OIIEDD56.mjs +0 -1
@@ -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 +1 @@
1
- import{e as o}from"./chunk-OIIEDD56.mjs";import n from"next/image";import{jsx as r,jsxs as m}from"react/jsx-runtime";var s=({media:e})=>{if(e&&typeof e=="object"){let{alt:t,filename:a,height:i,url:l,width:c}=e;return r(n,{className:"mix-blend-overlay opacity-50",alt:t||"",fill:!0,priority:!0,src:l||"",width:c||0,height:i||0,style:{objectFit:"cover"}})}else if(e&&typeof e=="string")return r("div",{children:r(n,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:e,style:{objectFit:"cover"}})});return null},p=({links:e,media:t,children:a,richText:i})=>m("div",{className:"relative bg-brand-one pb-12 mt-20 pt-10",children:[t&&r(s,{media:t}),r("div",{className:"mx-0 min-w-full relative z-9",children:r("div",{className:"container text-brand-one-foreground",children:a||i&&r(o,{className:"prose-headings:text-brand-one-foreground prose-p:text-brand-one-foreground",content:i,enableProse:!0,enableGutter:!1})})})]});export{p as a};
1
+ import{e as o}from"./chunk-FP5DGSVT.mjs";import n from"next/image";import{jsx as r,jsxs as m}from"react/jsx-runtime";var s=({media:e})=>{if(e&&typeof e=="object"){let{alt:t,filename:a,height:i,url:l,width:c}=e;return r(n,{className:"mix-blend-overlay opacity-50",alt:t||"",fill:!0,priority:!0,src:l||"",width:c||0,height:i||0,style:{objectFit:"cover"}})}else if(e&&typeof e=="string")return r("div",{children:r(n,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:e,style:{objectFit:"cover"}})});return null},p=({links:e,media:t,children:a,richText:i})=>m("div",{className:"relative bg-brand-one pb-12 mt-20 pt-10",children:[t&&r(s,{media:t}),r("div",{className:"mx-0 min-w-full relative z-9",children:r("div",{className:"container text-brand-one-foreground",children:a||i&&r(o,{className:"prose-headings:text-brand-one-foreground prose-p:text-brand-one-foreground",content:i,enableProse:!0,enableGutter:!1})})})]});export{p 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,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as T}from"./chunk-IJT4XHN7.mjs";import{a as F}from"./chunk-S3GITHJW.mjs";import{a as v}from"./chunk-NIQ4466A.mjs";import{a as R}from"./chunk-C5XNOZXC.mjs";import{useState as A}from"react";import G from"html2canvas";import{jsPDF as W}from"jspdf";import{Fragment as J,jsx as e,jsxs as g}from"react/jsx-runtime";function ae({type:p="slideshow",orientation:d="landscape",...i}){let h=i.page,[C,n]=A(d),{contentWithIds:s,tableOfContents:a}=R(h);if(p==="slideshow")return e("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:e(T,{blocks:s,hero:i.hero,title:i.page.title,logoImage:i.logoImage})});if(p==="print")return g(J,{children:[e(U,{layout:C,changeLayout:n}),e(F,{page:i.page,layout:C,logoImage:i.logoImage})]})}var U=({changeLayout:p,layout:d="landscape"})=>{let i=async()=>{var s;if(d==="flow"){let a=(s=document.getElementById("printable-content"))==null?void 0:s.innerHTML;if(a){var n=window.document.body.innerHTML;window.document.body.innerHTML=a,window.print(),window.document.body.innerHTML=n}}else await new Promise(a=>setTimeout(a,300)),window.print()},h=n=>{p&&p(n)},C=async n=>{let s=document.getElementById(n);if(!s)throw new Error(`Element with id ${n} not found`);let a=document.createElement("canvas"),P=window.devicePixelRatio;a.width=Math.max(s.clientWidth||0)*P,a.height=Math.max(s.clientHeight||0)*P+100;let u=a.getContext("2d");if(!u)throw new Error("Failed to get 2D context");let q=u.drawImage,z=Array.from(s.getElementsByTagName("img")).reduce((y,c)=>(y[c.src]=c,y),{});u.drawImage=function(...y){let[c,S,j,l,r,D,B,m,w]=y;if(c instanceof HTMLImageElement){let Y=z[c.src].style.objectFit||"fill",$=z[c.src].style.objectPosition||"center center";r=c.height,l=c.width;let L=l/r,b=m/w,[x,f]=$.split(" ");switch(f||(f=x),Y){case"cover":if(L>b){let t=r*b,o=(l-t)/2;x==="left"&&(o=0),x==="right"&&(o=l-t),S+=o,l=t}else{let t=l/b,o=(r-t)/2;f==="top"&&(o=0),f==="bottom"&&(o=r-t),j+=o,r=t}break;case"contain":if(L>b){let t=m/L,o=(w-t)/2;f==="top"&&(o=0),f==="bottom"&&(o=w-t),B+=o,w=t}else{let t=w*L,o=(m-t)/2;x==="left"&&(o=0),x==="right"&&(o=m-t),D+=o,m=t}break;case"fill":break}}return q.call(u,c,S,j,l,r,D,B,m,w)};let k=document.getElementById(n);if(!k)throw new Error(`Element with id ${n} not found`);var O=a.width,X=a.height;let I=(await G(k,{canvas:a,windowHeight:X,windowWidth:O,scale:window.devicePixelRatio})).toDataURL("image/png"),N=new W({}).getImageProperties(I),M=297,E=M*(N.height/N.width),H=new W({unit:"mm",format:[M,E]});H.addImage(I,"PNG",0,0,M,E),H.save("print.pdf")};return e("div",{className:v("fixed right-2 z-20 top-20 space-y-6 print:hidden"),children:e("div",{className:"flex flex-row-reverse z-20 min-w-70 gap-4",children:g("nav",{className:"z-20 flex grow-0 justify-end gap-4 border-t border-gray-200 bg-white/50 p-2.5 shadow-lg backdrop-blur-lg dark:border-slate-600/60 dark:bg-slate-800/50 min-h-[auto] min-w-[54px] flex-col rounded-lg border",children:[g("a",{onClick:i,className:"flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"currentColor",children:e("path",{d:"M96 160l-32 0 0-96C64 28.7 92.7 0 128 0L357.5 0c17 0 33.3 6.7 45.3 18.7l26.5 26.5c12 12 18.7 28.3 18.7 45.3l0 69.5-32 0 0-69.5c0-8.5-3.4-16.6-9.4-22.6L380.1 41.4c-6-6-14.1-9.4-22.6-9.4L128 32c-17.7 0-32 14.3-32 32l0 96zm352 64L64 224c-17.7 0-32 14.3-32 32l0 128 32 0 0-32c0-17.7 14.3-32 32-32l320 0c17.7 0 32 14.3 32 32l0 32 32 0 0-128c0-17.7-14.3-32-32-32zm0 192l0 64c0 17.7-14.3 32-32 32L96 512c-17.7 0-32-14.3-32-32l0-64-32 0c-17.7 0-32-14.3-32-32L0 256c0-35.3 28.7-64 64-64l384 0c35.3 0 64 28.7 64 64l0 128c0 17.7-14.3 32-32 32l-32 0zM96 352l0 128 320 0 0-128L96 352zM432 248a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"})}),e("small",{className:"text-xs font-medium",children:"Print"})]}),e("div",{className:"flex-grow border-t border-gray-200 dark:border-slate-600/60"}),g("a",{onClick:()=>h("portrait"),className:v("flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 hover:text-accent",d==="portrait"?"text-accent":"hover:text-accent"),children:[e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",fill:"currentColor",children:e("path",{d:"M352 448c0 17.7-14.3 32-32 32L64 480c-17.7 0-32-14.3-32-32L32 64c0-17.7 14.3-32 32-32l256 0c17.7 0 32 14.3 32 32l0 384zM384 64c0-35.3-28.7-64-64-64L64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-384z"})}),e("small",{className:"text-xs",children:"Portrait"})]}),g("a",{onClick:()=>h("landscape"),className:v("flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 hover:text-accent",d==="landscape"?"text-accent":"hover:text-accent"),children:[e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 512",fill:"currentColor",children:e("path",{d:"M576 96c17.7 0 32 14.3 32 32l0 256c0 17.7-14.3 32-32 32L64 416c-17.7 0-32-14.3-32-32l0-256c0-17.7 14.3-32 32-32l512 0zM64 64C28.7 64 0 92.7 0 128L0 384c0 35.3 28.7 64 64 64l512 0c35.3 0 64-28.7 64-64l0-256c0-35.3-28.7-64-64-64L64 64z"})}),e("small",{className:"text-xs",children:"Landscape"})]}),g("a",{onClick:()=>h("flow"),className:v("flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 hover:text-accent",d==="flow"?"text-accent":"hover:text-accent"),children:[e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",fill:"currentColor",children:e("path",{d:"M266.2 4.7C273 1.6 280.5 0 288 0s15 1.6 21.8 4.7l217.4 97.5c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 251.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 153.9C38.6 149.3 32 139.2 32 128s6.6-21.3 16.8-25.9L266.2 4.7zM288 32c-3 0-6 .6-8.8 1.9L69.3 128l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-210-94.1C294 32.6 291 32 288 32zM48.8 358.1l45.9-20.6 39.1 17.5L69.3 384l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-64.5-28.9 39.1-17.5 45.9 20.6c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 507.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 409.9C38.6 405.3 32 395.2 32 384s6.6-21.3 16.8-25.9zM94.7 209.5l39.1 17.5L69.3 256l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-64.5-28.9 39.1-17.5 45.9 20.6c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 379.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 281.9C38.6 277.3 32 267.2 32 256s6.6-21.3 16.8-25.9l45.9-20.6z"})}),e("small",{className:"text-xs",children:"Continuous"})]})]})})})};export{ae as a};
4
+ import{a as T}from"./chunk-EB5N4KMF.mjs";import{a as F}from"./chunk-VJ5BKDBD.mjs";import{a as v}from"./chunk-NIQ4466A.mjs";import{a as R}from"./chunk-C5XNOZXC.mjs";import{useState as A}from"react";import G from"html2canvas";import{jsPDF as W}from"jspdf";import{Fragment as J,jsx as e,jsxs as g}from"react/jsx-runtime";function ae({type:p="slideshow",orientation:d="landscape",...i}){let h=i.page,[C,n]=A(d),{contentWithIds:s,tableOfContents:a}=R(h);if(p==="slideshow")return e("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:e(T,{blocks:s,hero:i.hero,title:i.page.title,logoImage:i.logoImage})});if(p==="print")return g(J,{children:[e(U,{layout:C,changeLayout:n}),e(F,{page:i.page,layout:C,logoImage:i.logoImage})]})}var U=({changeLayout:p,layout:d="landscape"})=>{let i=async()=>{var s;if(d==="flow"){let a=(s=document.getElementById("printable-content"))==null?void 0:s.innerHTML;if(a){var n=window.document.body.innerHTML;window.document.body.innerHTML=a,window.print(),window.document.body.innerHTML=n}}else await new Promise(a=>setTimeout(a,300)),window.print()},h=n=>{p&&p(n)},C=async n=>{let s=document.getElementById(n);if(!s)throw new Error(`Element with id ${n} not found`);let a=document.createElement("canvas"),P=window.devicePixelRatio;a.width=Math.max(s.clientWidth||0)*P,a.height=Math.max(s.clientHeight||0)*P+100;let u=a.getContext("2d");if(!u)throw new Error("Failed to get 2D context");let q=u.drawImage,z=Array.from(s.getElementsByTagName("img")).reduce((y,c)=>(y[c.src]=c,y),{});u.drawImage=function(...y){let[c,S,j,l,r,D,B,m,w]=y;if(c instanceof HTMLImageElement){let Y=z[c.src].style.objectFit||"fill",$=z[c.src].style.objectPosition||"center center";r=c.height,l=c.width;let L=l/r,b=m/w,[x,f]=$.split(" ");switch(f||(f=x),Y){case"cover":if(L>b){let t=r*b,o=(l-t)/2;x==="left"&&(o=0),x==="right"&&(o=l-t),S+=o,l=t}else{let t=l/b,o=(r-t)/2;f==="top"&&(o=0),f==="bottom"&&(o=r-t),j+=o,r=t}break;case"contain":if(L>b){let t=m/L,o=(w-t)/2;f==="top"&&(o=0),f==="bottom"&&(o=w-t),B+=o,w=t}else{let t=w*L,o=(m-t)/2;x==="left"&&(o=0),x==="right"&&(o=m-t),D+=o,m=t}break;case"fill":break}}return q.call(u,c,S,j,l,r,D,B,m,w)};let k=document.getElementById(n);if(!k)throw new Error(`Element with id ${n} not found`);var O=a.width,X=a.height;let I=(await G(k,{canvas:a,windowHeight:X,windowWidth:O,scale:window.devicePixelRatio})).toDataURL("image/png"),N=new W({}).getImageProperties(I),M=297,E=M*(N.height/N.width),H=new W({unit:"mm",format:[M,E]});H.addImage(I,"PNG",0,0,M,E),H.save("print.pdf")};return e("div",{className:v("fixed right-2 z-20 top-20 space-y-6 print:hidden"),children:e("div",{className:"flex flex-row-reverse z-20 min-w-70 gap-4",children:g("nav",{className:"z-20 flex grow-0 justify-end gap-4 border-t border-gray-200 bg-white/50 p-2.5 shadow-lg backdrop-blur-lg dark:border-slate-600/60 dark:bg-slate-800/50 min-h-[auto] min-w-[54px] flex-col rounded-lg border",children:[g("a",{onClick:i,className:"flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"currentColor",children:e("path",{d:"M96 160l-32 0 0-96C64 28.7 92.7 0 128 0L357.5 0c17 0 33.3 6.7 45.3 18.7l26.5 26.5c12 12 18.7 28.3 18.7 45.3l0 69.5-32 0 0-69.5c0-8.5-3.4-16.6-9.4-22.6L380.1 41.4c-6-6-14.1-9.4-22.6-9.4L128 32c-17.7 0-32 14.3-32 32l0 96zm352 64L64 224c-17.7 0-32 14.3-32 32l0 128 32 0 0-32c0-17.7 14.3-32 32-32l320 0c17.7 0 32 14.3 32 32l0 32 32 0 0-128c0-17.7-14.3-32-32-32zm0 192l0 64c0 17.7-14.3 32-32 32L96 512c-17.7 0-32-14.3-32-32l0-64-32 0c-17.7 0-32-14.3-32-32L0 256c0-35.3 28.7-64 64-64l384 0c35.3 0 64 28.7 64 64l0 128c0 17.7-14.3 32-32 32l-32 0zM96 352l0 128 320 0 0-128L96 352zM432 248a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"})}),e("small",{className:"text-xs font-medium",children:"Print"})]}),e("div",{className:"flex-grow border-t border-gray-200 dark:border-slate-600/60"}),g("a",{onClick:()=>h("portrait"),className:v("flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 hover:text-accent",d==="portrait"?"text-accent":"hover:text-accent"),children:[e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",fill:"currentColor",children:e("path",{d:"M352 448c0 17.7-14.3 32-32 32L64 480c-17.7 0-32-14.3-32-32L32 64c0-17.7 14.3-32 32-32l256 0c17.7 0 32 14.3 32 32l0 384zM384 64c0-35.3-28.7-64-64-64L64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-384z"})}),e("small",{className:"text-xs",children:"Portrait"})]}),g("a",{onClick:()=>h("landscape"),className:v("flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 hover:text-accent",d==="landscape"?"text-accent":"hover:text-accent"),children:[e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 512",fill:"currentColor",children:e("path",{d:"M576 96c17.7 0 32 14.3 32 32l0 256c0 17.7-14.3 32-32 32L64 416c-17.7 0-32-14.3-32-32l0-256c0-17.7 14.3-32 32-32l512 0zM64 64C28.7 64 0 92.7 0 128L0 384c0 35.3 28.7 64 64 64l512 0c35.3 0 64-28.7 64-64l0-256c0-35.3-28.7-64-64-64L64 64z"})}),e("small",{className:"text-xs",children:"Landscape"})]}),g("a",{onClick:()=>h("flow"),className:v("flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 hover:text-accent",d==="flow"?"text-accent":"hover:text-accent"),children:[e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",fill:"currentColor",children:e("path",{d:"M266.2 4.7C273 1.6 280.5 0 288 0s15 1.6 21.8 4.7l217.4 97.5c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 251.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 153.9C38.6 149.3 32 139.2 32 128s6.6-21.3 16.8-25.9L266.2 4.7zM288 32c-3 0-6 .6-8.8 1.9L69.3 128l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-210-94.1C294 32.6 291 32 288 32zM48.8 358.1l45.9-20.6 39.1 17.5L69.3 384l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-64.5-28.9 39.1-17.5 45.9 20.6c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 507.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 409.9C38.6 405.3 32 395.2 32 384s6.6-21.3 16.8-25.9zM94.7 209.5l39.1 17.5L69.3 256l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-64.5-28.9 39.1-17.5 45.9 20.6c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 379.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 281.9C38.6 277.3 32 267.2 32 256s6.6-21.3 16.8-25.9l45.9-20.6z"})}),e("small",{className:"text-xs",children:"Continuous"})]})]})})})};export{ae as a};
@@ -1 +1 @@
1
- import{a as k}from"./chunk-FYVORNBL.mjs";import{a as b}from"./chunk-OXFWH45D.mjs";import{b as f,c as d}from"./chunk-OIIEDD56.mjs";import{a as m}from"./chunk-2A6JF3LE.mjs";import{a as l}from"./chunk-NIQ4466A.mjs";import{Fragment as F}from"react";import N from"next/image";import{jsx as s,jsxs as v}from"react/jsx-runtime";var C={content:k,cta:f,mediaBlock:m,collapsibleArea:b,imageBlock:m,features:d,reusableContentBlock:B},P=a=>{let{blocks:e}=a;return e&&Array.isArray(e)&&e.length>0?s("section",{id:"render-blocks",className:l(a.fill?"h-full w-full":""),children:e.map((t,r)=>{var c;console.log("block",t);let{blockType:n}=t,o=t==null?void 0:t.theme;if(n&&n in C){let g=C[n];if(n==="reusableContentBlock")return s(F,{children:s(P,{blocks:t.reusableContent.layout})},r);if(g)return v("div",{className:l("py-6 relative",a.fill&&"flex h-full items-center justify-center"),children:[s(p,{block:t,index:r}),s("div",{className:l("container h-full relative",((c=o==null?void 0:o.settings)==null?void 0:c.theme)||"dark"),children:s(g,{...t})})]},r)}return null})}):null},p=a=>{var i,t,r,n,o;if(!("theme"in a.block))return s("div",{className:l("absolute inset-0 w-screen h-full dark bg-background")});let e=(i=a.block)==null?void 0:i.theme;if(e.settings.background==="image"){let c={imagePosition:e.settings.imagePosition||"left",overlay:e.settings.overlay!==void 0?e.settings.overlay:!0};return v("div",{className:l("absolute inset-0 w-full h-full bg-background",e.settings.theme||"dark"),children:[s(N,{src:((r=(t=e.settings)==null?void 0:t.image)==null?void 0:r.url)||"/placeholder.svg",alt:((o=(n=e.settings)==null?void 0:n.image)==null?void 0:o.alt)||"",fill:!0,className:"object-cover",priority:!0}),e.settings.overlay&&s("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 s("div",{className:l("absolute inset-0 w-screen h-full bg-background",e.settings.theme||"dark")})};import{Fragment as R,jsx as u,jsxs as A}from"react/jsx-runtime";var B=a=>{let{customId:e,reusableContent:i}=a;return typeof i=="object"&&i!==null?u(T,{blocks:i.layout}):u(R,{})},h={content:k,cta:f,mediaBlock:m,imageBlock:m,features:d},T=a=>{let{blocks:e}=a;return e&&Array.isArray(e)&&e.length>0?u(R,{children:e.map((t,r)=>{var c,g;let{blockType:n}=t,o=t==null?void 0:t.theme;if(n&&n in h){let y=h[n];if(y)return A("div",{className:"py-6 relative",children:[u(p,{block:t,index:r}),u("div",{className:l(((c=o==null?void 0:o.settings)==null?void 0:c.theme)==="dark"?"dark":((g=o==null?void 0:o.settings)==null?void 0:g.theme)==="green"?"green":""),children:u(y,{...t})})]},r)}return null})}):null};export{B as a,P as b,p as c};
1
+ import{a as b}from"./chunk-AWF6XNYF.mjs";import{a as k}from"./chunk-3KLULH4N.mjs";import{b as f,c as d}from"./chunk-FP5DGSVT.mjs";import{a as m}from"./chunk-RJGKFNZL.mjs";import{a as l}from"./chunk-NIQ4466A.mjs";import{Fragment as F}from"react";import N from"next/image";import{jsx as s,jsxs as v}from"react/jsx-runtime";var C={content:k,cta:f,mediaBlock:m,collapsibleArea:b,imageBlock:m,features:d,reusableContentBlock:B},P=a=>{let{blocks:e}=a;return e&&Array.isArray(e)&&e.length>0?s("section",{id:"render-blocks",className:l(a.fill?"h-full w-full":""),children:e.map((t,r)=>{var c;console.log("block",t);let{blockType:n}=t,o=t==null?void 0:t.theme;if(n&&n in C){let g=C[n];if(n==="reusableContentBlock")return s(F,{children:s(P,{blocks:t.reusableContent.layout})},r);if(g)return v("div",{className:l("py-6 relative",a.fill&&"flex h-full items-center justify-center"),children:[s(p,{block:t,index:r}),s("div",{className:l("container h-full relative",((c=o==null?void 0:o.settings)==null?void 0:c.theme)||"dark"),children:s(g,{...t})})]},r)}return null})}):null},p=a=>{var i,t,r,n,o;if(!("theme"in a.block))return s("div",{className:l("absolute inset-0 w-screen h-full dark bg-background")});let e=(i=a.block)==null?void 0:i.theme;if(e.settings.background==="image"){let c={imagePosition:e.settings.imagePosition||"left",overlay:e.settings.overlay!==void 0?e.settings.overlay:!0};return v("div",{className:l("absolute inset-0 w-full h-full bg-background",e.settings.theme||"dark"),children:[s(N,{src:((r=(t=e.settings)==null?void 0:t.image)==null?void 0:r.url)||"/placeholder.svg",alt:((o=(n=e.settings)==null?void 0:n.image)==null?void 0:o.alt)||"",fill:!0,className:"object-cover",priority:!0}),e.settings.overlay&&s("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 s("div",{className:l("absolute inset-0 w-screen h-full bg-background",e.settings.theme||"dark")})};import{Fragment as R,jsx as u,jsxs as A}from"react/jsx-runtime";var B=a=>{let{customId:e,reusableContent:i}=a;return typeof i=="object"&&i!==null?u(T,{blocks:i.layout}):u(R,{})},h={content:k,cta:f,mediaBlock:m,imageBlock:m,features:d},T=a=>{let{blocks:e}=a;return e&&Array.isArray(e)&&e.length>0?u(R,{children:e.map((t,r)=>{var c,g;let{blockType:n}=t,o=t==null?void 0:t.theme;if(n&&n in h){let y=h[n];if(y)return A("div",{className:"py-6 relative",children:[u(p,{block:t,index:r}),u("div",{className:l(((c=o==null?void 0:o.settings)==null?void 0:c.theme)==="dark"?"dark":((g=o==null?void 0:o.settings)==null?void 0:g.theme)==="green"?"green":""),children:u(y,{...t})})]},r)}return null})}):null};export{B as a,P as b,p as c};
@@ -1 +1 @@
1
- import{a}from"./chunk-FCCL6W7R.mjs";import{a as e}from"./chunk-NIQ4466A.mjs";import{jsx as r}from"react/jsx-runtime";var d=o=>{let{className:t,enableGutter:s=!0,imgClassName:m,media:i,staticImage:l}=o;return r("div",{className:e("h-full ",{container:s},t),children:r(a,{imgClassName:e("rounded-[0.8rem]",m),className:"flex justify-center",resource:i,src:l})})};export{d as a};
1
+ import{a}from"./chunk-JPFBD2KD.mjs";import{a as e}from"./chunk-NIQ4466A.mjs";import{jsx as r}from"react/jsx-runtime";var d=o=>{let{className:t,enableGutter:s=!0,imgClassName:m,media:i,staticImage:l}=o;return r("div",{className:e("h-full ",{container:s},t),children:r(a,{imgClassName:e("rounded-[0.8rem]",m),className:"flex justify-center",resource:i,src:l})})};export{d as a};
@@ -1 +1 @@
1
- import{a as n}from"./chunk-S5VKLW23.mjs";import{a as l}from"./chunk-UUQ4YJSJ.mjs";import{a as m}from"./chunk-OUF4RW7E.mjs";import{a as i}from"./chunk-C2WXWFU6.mjs";import{ChevronRightIcon as c,HomeIcon as f}from"@heroicons/react/20/solid";import{Fragment as h,jsx as e,jsxs as a}from"react/jsx-runtime";var d={highImpact:i,lowImpact:l,mediumImpact:m,sectionHero:n},H=t=>{let{type:o}=t||{};if(!o||o==="none")return null;let r=d[o];return r?e(r,{...t}):null};function N({breadcrumbItems:t}){if(t&&t.length>0){let o=t.filter(r=>r.label.toLowerCase()!=="home");return e("nav",{"aria-label":"Breadcrumb",className:"flex",children:a("ol",{role:"list",className:"flex items-center space-x-4",children:[e("li",{children:e("div",{children:a("a",{href:"/",className:"text-foreground hover:text-accent",children:[e(f,{"aria-hidden":"true",className:"size-5 shrink-0"}),e("span",{className:"sr-only",children:"Home"})]})})}),o.map((r,s)=>e("li",{children:a("div",{className:"flex items-center",children:[e(c,{"aria-hidden":"true",className:"size-5 shrink-0 text-gray-400"}),r.href?e("a",{href:r.href,className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:r.label}):e("div",{className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:r.label})]})},s))]})})}return e(h,{})}export{H as a,N as b};
1
+ import{a as n}from"./chunk-S5VKLW23.mjs";import{a as i}from"./chunk-T4H7GMGO.mjs";import{a as m}from"./chunk-Q5ID5CRA.mjs";import{a as l}from"./chunk-NW5BVAKO.mjs";import{ChevronRightIcon as c,HomeIcon as f}from"@heroicons/react/20/solid";import{Fragment as h,jsx as e,jsxs as a}from"react/jsx-runtime";var d={highImpact:i,lowImpact:l,mediumImpact:m,sectionHero:n},H=t=>{let{type:o}=t||{};if(!o||o==="none")return null;let r=d[o];return r?e(r,{...t}):null};function N({breadcrumbItems:t}){if(t&&t.length>0){let o=t.filter(r=>r.label.toLowerCase()!=="home");return e("nav",{"aria-label":"Breadcrumb",className:"flex",children:a("ol",{role:"list",className:"flex items-center space-x-4",children:[e("li",{children:e("div",{children:a("a",{href:"/",className:"text-foreground hover:text-accent",children:[e(f,{"aria-hidden":"true",className:"size-5 shrink-0"}),e("span",{className:"sr-only",children:"Home"})]})})}),o.map((r,s)=>e("li",{children:a("div",{className:"flex items-center",children:[e(c,{"aria-hidden":"true",className:"size-5 shrink-0 text-gray-400"}),r.href?e("a",{href:r.href,className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:r.label}):e("div",{className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:r.label})]})},s))]})})}return e(h,{})}export{H as a,N as b};
@@ -1 +1 @@
1
- import{a}from"./chunk-H7D3PZKE.mjs";import{a as m}from"./chunk-IQPZEEYJ.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
+ 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,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{e as m}from"./chunk-OIIEDD56.mjs";import{a as o}from"./chunk-44VMK4FL.mjs";import{a as s}from"./chunk-FCCL6W7R.mjs";import{a as c}from"./chunk-LCJIXE22.mjs";import h from"next/image";import{jsx as e,jsxs as i}from"react/jsx-runtime";var x=({links:r,media:t,children:l,richText:a})=>e("div",{children:i("div",{className:"sticky top-0 h-[70vh] min-h-[600px]",children:[i("div",{className:"fixed inset-0 container mt-24 mb-8 z-10 flex items-start justify-center",children:[l||a&&e(m,{className:"max-w-none mb-6 ml-0 prose prose-h1:text-5xl prose-headings:text-foreground prose-p:text-foreground",content:a,enableGutter:!0}),Array.isArray(r)&&r.length>0&&e("ul",{className:"flex justify-center gap-4",children:r.map(({link:n},p)=>e("li",{children:e(o,{...n})},p))})]}),i("div",{className:"fixed inset-0 h-[70vh] min-h-[600px] select-none",children:[t&&typeof t=="object"&&e(s,{fill:!0,imgClassName:"z-5 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&e("div",{children:e(h,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),e("span",{className:"absolute inset-0 bg-gradient-to-b from-white dark:from-black"})]}),e(c,{className:"text-black z-10",position:"header"})]})});export{x as a};
4
+ import{e as m}from"./chunk-FP5DGSVT.mjs";import{a as o}from"./chunk-44VMK4FL.mjs";import{a as s}from"./chunk-JPFBD2KD.mjs";import{a as c}from"./chunk-LCJIXE22.mjs";import h from"next/image";import{jsx as e,jsxs as i}from"react/jsx-runtime";var x=({links:r,media:t,children:l,richText:a})=>e("div",{children:i("div",{className:"sticky top-0 h-[70vh] min-h-[600px]",children:[i("div",{className:"fixed inset-0 container mt-24 mb-8 z-10 flex items-start justify-center",children:[l||a&&e(m,{className:"max-w-none mb-6 ml-0 prose prose-h1:text-5xl prose-headings:text-foreground prose-p:text-foreground",content:a,enableGutter:!0}),Array.isArray(r)&&r.length>0&&e("ul",{className:"flex justify-center gap-4",children:r.map(({link:n},p)=>e("li",{children:e(o,{...n})},p))})]}),i("div",{className:"fixed inset-0 h-[70vh] min-h-[600px] select-none",children:[t&&typeof t=="object"&&e(s,{fill:!0,imgClassName:"z-5 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&e("div",{children:e(h,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),e("span",{className:"absolute inset-0 bg-gradient-to-b from-white dark:from-black"})]}),e(c,{className:"text-black z-10",position:"header"})]})});export{x as a};
@@ -1 +1 @@
1
- import{a as c}from"./chunk-IS27WYEV.mjs";import{a as l}from"./chunk-UESKYRNK.mjs";import{a as m}from"./chunk-NIQ4466A.mjs";import t from"next/image";import{Fragment as p,jsx as e,jsxs as i}from"react/jsx-runtime";function u(d){let{images:a,sectionHeading:n,keyPoints:s,description:o}=d;return e(p,{children:e("section",{id:"about-section",className:m(" clip-custom-top-l sticky md:top-0 md:h-screen z-2 flex flex-col items-center justify-center section-padding-primary dark bg-background",d.className||""),children:e(l,{children:i("div",{className:"grid items-center gap-12 lg:grid-cols-[.92fr_1fr] 2xl:gap-20",children:[i("div",{className:"lg:order-2","data-aos":"fade-left","data-aos-delay":"200",children:[e(c,{...n}),s&&s.length>0&&e("div",{className:"mt-7 grid gap-5 text-accent sm:grid-cols-2 md:mt-10 md:gap-[1.875rem]",children:s.map((r,g)=>i("div",{className:"group flex min-h-[64px] items-center gap-5 rounded-5 border border-accent px-6 py-2 md:min-h-[85px] md:px-[1.875rem] md:py-3",children:[e("span",{className:"duration flex-none scale-100 transition-transform ease-linear group-hover:scale-90",children:r.icon}),e("h3",{className:"text-md font-bold leading-[1.25] md:text-lg",children:r.title})]},g))}),o&&e("p",{className:"mt-5 text-primary md:mt-[1.875rem]",children:o})]}),a&&e("div",{className:"mx-auto text-center",children:i("div",{className:"relative mx-auto grid max-w-[580px] grid-cols-2 gap-2.5 overflow-hidden",children:[e("div",{className:"relative flex justify-end overflow-hidden",children:e("div",{className:"relative z-[2] mt-auto","data-aos":"fade-up","data-aos-delay":"200",children:e("div",{className:"relative z-[4] overflow-hidden",children:e(t,{src:a.image1.src,alt:a.image1.alt,width:a.image1.width,height:a.image1.height,className:"rounded-tl-[60px] object-cover object-top"})})})}),e("div",{className:"flex overflow-hidden",children:e(t,{src:a.image2.src,alt:a.image2.alt,width:a.image2.width,height:a.image2.height,className:"rounded-[80px_10px] object-cover","data-aos":"fade-right","data-aos-delay":"300"})}),e("div",{className:"ml-auto flex max-w-[250px] justify-end overflow-hidden",children:e(t,{src:a.image3.src,alt:a.image4.alt,width:a.image3.width,height:a.image3.height,className:"rounded-[50px_10px] object-cover","data-aos":"fade-left","data-aos-delay":"350"})}),e("div",{className:"overflow-hidden",children:e(t,{src:a.image4.src,alt:a.image4.alt,width:a.image4.width,height:a.image4.height,className:"rounded-10 rounded-br-[80px] object-cover","data-aos":"fade-right","data-aos-delay":"400"})}),e("div",{className:"absolute left-1/2 top-1/2 z-[4] -translate-x-1/2 -translate-y-1/2 overflow-hidden",children:e("div",{"data-aos":"zoom-in","data-aos-delay":"450",children:e("span",{className:"grid h-[100px] w-[100px] place-items-center rounded-full border-[12px] border-white bg-accent text-[30px] text-white",children:e("svg",{width:"1em",height:"1em",viewBox:"0 0 27 27",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:e("path",{d:"M26.8125 13.8672C26.8125 14.9922 25.875 15.9297 24.8125 15.9297H15.8125V24.9297C15.8125 25.9922 14.875 26.8672 13.8125 26.8672C12.6875 26.8672 11.8125 25.9922 11.8125 24.9297V15.9297H2.8125C1.6875 15.9297 0.8125 14.9922 0.8125 13.8672C0.8125 12.8047 1.6875 11.9297 2.8125 11.9297H11.8125V2.92969C11.8125 1.80469 12.6875 0.867188 13.8125 0.867188C14.875 0.867188 15.8125 1.80469 15.8125 2.92969V11.9297H24.8125C25.875 11.8672 26.8125 12.8047 26.8125 13.8672Z"})})})})})]})})]})})})})}export{u as a};
1
+ import{a as c}from"./chunk-LXHSPBVT.mjs";import{a as l}from"./chunk-UESKYRNK.mjs";import{a as m}from"./chunk-NIQ4466A.mjs";import t from"next/image";import{Fragment as p,jsx as e,jsxs as i}from"react/jsx-runtime";function u(d){let{images:a,sectionHeading:n,keyPoints:s,description:o}=d;return e(p,{children:e("section",{id:"about-section",className:m(" clip-custom-top-l sticky md:top-0 md:h-screen z-2 flex flex-col items-center justify-center section-padding-primary dark bg-background",d.className||""),children:e(l,{children:i("div",{className:"grid items-center gap-12 lg:grid-cols-[.92fr_1fr] 2xl:gap-20",children:[i("div",{className:"lg:order-2","data-aos":"fade-left","data-aos-delay":"200",children:[e(c,{...n}),s&&s.length>0&&e("div",{className:"mt-7 grid gap-5 text-accent sm:grid-cols-2 md:mt-10 md:gap-[1.875rem]",children:s.map((r,g)=>i("div",{className:"group flex min-h-[64px] items-center gap-5 rounded-5 border border-accent px-6 py-2 md:min-h-[85px] md:px-[1.875rem] md:py-3",children:[e("span",{className:"duration flex-none scale-100 transition-transform ease-linear group-hover:scale-90",children:r.icon}),e("h3",{className:"text-md font-bold leading-[1.25] md:text-lg",children:r.title})]},g))}),o&&e("p",{className:"mt-5 text-primary md:mt-[1.875rem]",children:o})]}),a&&e("div",{className:"mx-auto text-center",children:i("div",{className:"relative mx-auto grid max-w-[580px] grid-cols-2 gap-2.5 overflow-hidden",children:[e("div",{className:"relative flex justify-end overflow-hidden",children:e("div",{className:"relative z-[2] mt-auto","data-aos":"fade-up","data-aos-delay":"200",children:e("div",{className:"relative z-[4] overflow-hidden",children:e(t,{src:a.image1.src,alt:a.image1.alt,width:a.image1.width,height:a.image1.height,className:"rounded-tl-[60px] object-cover object-top"})})})}),e("div",{className:"flex overflow-hidden",children:e(t,{src:a.image2.src,alt:a.image2.alt,width:a.image2.width,height:a.image2.height,className:"rounded-[80px_10px] object-cover","data-aos":"fade-right","data-aos-delay":"300"})}),e("div",{className:"ml-auto flex max-w-[250px] justify-end overflow-hidden",children:e(t,{src:a.image3.src,alt:a.image4.alt,width:a.image3.width,height:a.image3.height,className:"rounded-[50px_10px] object-cover","data-aos":"fade-left","data-aos-delay":"350"})}),e("div",{className:"overflow-hidden",children:e(t,{src:a.image4.src,alt:a.image4.alt,width:a.image4.width,height:a.image4.height,className:"rounded-10 rounded-br-[80px] object-cover","data-aos":"fade-right","data-aos-delay":"400"})}),e("div",{className:"absolute left-1/2 top-1/2 z-[4] -translate-x-1/2 -translate-y-1/2 overflow-hidden",children:e("div",{"data-aos":"zoom-in","data-aos-delay":"450",children:e("span",{className:"grid h-[100px] w-[100px] place-items-center rounded-full border-[12px] border-white bg-accent text-[30px] text-white",children:e("svg",{width:"1em",height:"1em",viewBox:"0 0 27 27",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:e("path",{d:"M26.8125 13.8672C26.8125 14.9922 25.875 15.9297 24.8125 15.9297H15.8125V24.9297C15.8125 25.9922 14.875 26.8672 13.8125 26.8672C12.6875 26.8672 11.8125 25.9922 11.8125 24.9297V15.9297H2.8125C1.6875 15.9297 0.8125 14.9922 0.8125 13.8672C0.8125 12.8047 1.6875 11.9297 2.8125 11.9297H11.8125V2.92969C11.8125 1.80469 12.6875 0.867188 13.8125 0.867188C14.875 0.867188 15.8125 1.80469 15.8125 2.92969V11.9297H24.8125C25.875 11.8672 26.8125 12.8047 26.8125 13.8672Z"})})})})})]})})]})})})})}export{u as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as h}from"./chunk-WU3JMLSC.mjs";import{a as g}from"./chunk-BZAYEKYC.mjs";import{a as S}from"./chunk-SBAFXZVU.mjs";import{a as o,b as d,c as i,d as t,e as m,f as l}from"./chunk-AWFQEK7A.mjs";import{a as p}from"./chunk-PY53YVFX.mjs";import{a as c}from"./chunk-3YZN4MJB.mjs";import{b as s,d as b,f as u}from"./chunk-KB6PO4K4.mjs";import{a as n}from"./chunk-Y5VTKEKS.mjs";import{a as f}from"./chunk-RQ23CZK5.mjs";import{jsx as e,jsxs as r}from"react/jsx-runtime";function v({...a}){return r("div",{className:"bg-sidebar",children:[e(f,{isMenuOpen:!0,logoLight:g,logoDark:h,...a.header,wide:!0,className:"bg-sidebar"}),r(s,{className:"top-24 mb-4 h-full max-h-[calc(100vh-3.5rem)] flex-1 flex-row overflow-y-clip",children:[e(p,{...a.sidebarLeft,className:"flex-none top-24"}),r(u,{className:"grow overflow-hidden",children:[e("header",{className:"flex h-16 shrink-0 items-center gap-2",children:r("div",{className:"flex items-center gap-2 px-4",children:[e(b,{className:"-ml-1"}),e(n,{orientation:"vertical",className:"mr-2 h-4"}),e(o,{children:r(d,{children:[e(i,{className:"hidden md:block",children:e(t,{href:"#",children:"Building Your Application"})}),e(l,{className:"hidden md:block"}),e(i,{children:e(m,{children:"Data Fetching"})})]})})]})}),r("div",{className:"flex flex-1 flex-col gap-4 p-4 pt-0",children:[r("div",{className:"grid auto-rows-min gap-4 md:grid-cols-3",children:[e("div",{className:"aspect-video rounded-xl bg-muted/50"}),e("div",{className:"aspect-video rounded-xl bg-muted/50"}),e("div",{className:"aspect-video rounded-xl bg-muted/50"})]}),e("div",{className:"flex-1 rounded-xl bg-muted/50 md:min-h-min"})]})]}),e(S,{...a.sidebarRight,className:"flex-none top-24"})]}),e(c,{})]})}export{v as a};
4
+ import{a as h}from"./chunk-WU3JMLSC.mjs";import{a as g}from"./chunk-BZAYEKYC.mjs";import{a as S}from"./chunk-IO222G5L.mjs";import{a as o,b as d,c as i,d as t,e as m,f as l}from"./chunk-AWFQEK7A.mjs";import{a as p}from"./chunk-QMFZRG7O.mjs";import{a as c}from"./chunk-3YZN4MJB.mjs";import{b as s,d as b,f as u}from"./chunk-2IKC7MAP.mjs";import{a as n}from"./chunk-Y5VTKEKS.mjs";import{a as f}from"./chunk-RQ23CZK5.mjs";import{jsx as e,jsxs as r}from"react/jsx-runtime";function v({...a}){return r("div",{className:"bg-sidebar",children:[e(f,{isMenuOpen:!0,logoLight:g,logoDark:h,...a.header,wide:!0,className:"bg-sidebar"}),r(s,{className:"top-24 mb-4 h-full max-h-[calc(100vh-3.5rem)] flex-1 flex-row overflow-y-clip",children:[e(p,{...a.sidebarLeft,className:"flex-none top-24"}),r(u,{className:"grow overflow-hidden",children:[e("header",{className:"flex h-16 shrink-0 items-center gap-2",children:r("div",{className:"flex items-center gap-2 px-4",children:[e(b,{className:"-ml-1"}),e(n,{orientation:"vertical",className:"mr-2 h-4"}),e(o,{children:r(d,{children:[e(i,{className:"hidden md:block",children:e(t,{href:"#",children:"Building Your Application"})}),e(l,{className:"hidden md:block"}),e(i,{children:e(m,{children:"Data Fetching"})})]})})]})}),r("div",{className:"flex flex-1 flex-col gap-4 p-4 pt-0",children:[r("div",{className:"grid auto-rows-min gap-4 md:grid-cols-3",children:[e("div",{className:"aspect-video rounded-xl bg-muted/50"}),e("div",{className:"aspect-video rounded-xl bg-muted/50"}),e("div",{className:"aspect-video rounded-xl bg-muted/50"})]}),e("div",{className:"flex-1 rounded-xl bg-muted/50 md:min-h-min"})]})]}),e(S,{...a.sidebarRight,className:"flex-none top-24"})]}),e(c,{})]})}export{v as a};
@@ -1,5 +1,5 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{b as w,c as C}from"./chunk-EML6AVUM.mjs";import{b as y}from"./chunk-26K34DNO.mjs";import{a as N}from"./chunk-NIQ4466A.mjs";import{a as b}from"./chunk-C5XNOZXC.mjs";import{useEffect as d,useRef as s,useState as E,useCallback as H}from"react";import{Previewer as p}from"pagedjs";import{Fragment as T,jsx as n,jsxs as l}from"react/jsx-runtime";function B(r){var e=document.createElement("div");e.style.display="block",e.style.height=r,document.body.appendChild(e);var i=parseFloat(window.getComputedStyle(e,null).height);return e.parentNode&&e.parentNode.removeChild(e),Math.floor(i)}var m=r=>{let e=document.createElement("div");e.style.height="1mm",document.body.appendChild(e);let i=parseFloat(window.getComputedStyle(e).height);return document.body.removeChild(e),Math.floor(r/i)},z=({page:r,layout:e="portrait",logoImage:i})=>e==="flow"?n(I,{page:r,layout:e,logoImage:i}):n(M,{page:r,layout:e,logoImage:i}),I=({page:r,layout:e="portrait",logoImage:i})=>{let{contentWithIds:c}=b(r),u=s(null),a=s(null),h=s(new p),f={id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}};d(()=>{let o=document.getElementById("printable-content");if(o){let t=document.createElement("style");return t.textContent=`@page { size: ${m(o.offsetWidth)}mm ${m(o.offsetHeight)}mm ; margin: 0mm; width: ${m(o.offsetWidth)}mm }; .container : { max-width: ${m(o.offsetWidth)}mm; } .container : { max-width: 100%; }; html body * :not(#prinable-content, #printable-content *) { visibility: hidden !important; }`,document.head.appendChild(t),()=>{document.head.removeChild(t)}}},[e]);let k=H(()=>{if(!a.current)return;a.current&&(a.current.innerHTML="");let o=document.getElementById("printable-content");o&&h.current.preview(document.getElementById("printable-content").innerHTML,[`@page { size: ${m(o.offsetWidth)}mm ${m(o.offsetHeight)}mm ; margin: 0mm; }; .container : { max-width: 100%; }; body { zoom: 100%;}`],a.current).catch(t=>console.error("Paged.js error:",t))},[e]);d(()=>{h.current=new p},[k,e]);let g=[f,...c];return l("div",{children:[n("div",{className:"w-[1123px] print:w-[1123px]",children:l("div",{id:"printable-content",ref:u,children:[g.map((o,t)=>n(T,{children:t===0?n("section",{className:"title-page w-full h-full",children:n(C,{hero:r.hero,title:r.title})},t):l("section",{className:"normal-page overflow-hidden",children:[o.blockName&&n(w,{title:o.blockName}),n(y,{blocks:[o],fill:!0})]},t)})),n("section",{className:"normal-page",children:l("div",{className:`w-full py-2 px-8 flex justify-between items-center
4
+ import{b as w,c as C}from"./chunk-FKXXS744.mjs";import{b as y}from"./chunk-R2TZLS6H.mjs";import{a as N}from"./chunk-NIQ4466A.mjs";import{a as b}from"./chunk-C5XNOZXC.mjs";import{useEffect as d,useRef as s,useState as E,useCallback as H}from"react";import{Previewer as p}from"pagedjs";import{Fragment as T,jsx as n,jsxs as l}from"react/jsx-runtime";function B(r){var e=document.createElement("div");e.style.display="block",e.style.height=r,document.body.appendChild(e);var i=parseFloat(window.getComputedStyle(e,null).height);return e.parentNode&&e.parentNode.removeChild(e),Math.floor(i)}var m=r=>{let e=document.createElement("div");e.style.height="1mm",document.body.appendChild(e);let i=parseFloat(window.getComputedStyle(e).height);return document.body.removeChild(e),Math.floor(r/i)},z=({page:r,layout:e="portrait",logoImage:i})=>e==="flow"?n(I,{page:r,layout:e,logoImage:i}):n(M,{page:r,layout:e,logoImage:i}),I=({page:r,layout:e="portrait",logoImage:i})=>{let{contentWithIds:c}=b(r),u=s(null),a=s(null),h=s(new p),f={id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}};d(()=>{let o=document.getElementById("printable-content");if(o){let t=document.createElement("style");return t.textContent=`@page { size: ${m(o.offsetWidth)}mm ${m(o.offsetHeight)}mm ; margin: 0mm; width: ${m(o.offsetWidth)}mm }; .container : { max-width: ${m(o.offsetWidth)}mm; } .container : { max-width: 100%; }; html body * :not(#prinable-content, #printable-content *) { visibility: hidden !important; }`,document.head.appendChild(t),()=>{document.head.removeChild(t)}}},[e]);let k=H(()=>{if(!a.current)return;a.current&&(a.current.innerHTML="");let o=document.getElementById("printable-content");o&&h.current.preview(document.getElementById("printable-content").innerHTML,[`@page { size: ${m(o.offsetWidth)}mm ${m(o.offsetHeight)}mm ; margin: 0mm; }; .container : { max-width: 100%; }; body { zoom: 100%;}`],a.current).catch(t=>console.error("Paged.js error:",t))},[e]);d(()=>{h.current=new p},[k,e]);let g=[f,...c];return l("div",{children:[n("div",{className:"w-[1123px] print:w-[1123px]",children:l("div",{id:"printable-content",ref:u,children:[g.map((o,t)=>n(T,{children:t===0?n("section",{className:"title-page w-full h-full",children:n(C,{hero:r.hero,title:r.title})},t):l("section",{className:"normal-page overflow-hidden",children:[o.blockName&&n(w,{title:o.blockName}),n(y,{blocks:[o],fill:!0})]},t)})),n("section",{className:"normal-page",children:l("div",{className:`w-full py-2 px-8 flex justify-between items-center
5
5
  dark bg-background text-primary`,children:[l("div",{className:"flex px-6 items-center space-x-2",children:[i&&n("img",{src:i.src,alt:"Cortex Reply Logo",className:"h-8"}),n("span",{className:"pl-12 text-sm",children:"Power up your people"})]}),n("a",{href:"https://cortexreply.com",className:"text-sm hover:underline",children:"cortexreply.com"})]})})]})}),n("div",{ref:a,className:"preview-container"})]})},M=({page:r,layout:e="portrait"})=>{let{contentWithIds:i}=b(r),c=s(null),u=s(null),a=s(new p),[h,f]=E(0),g=[{id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}},...i],o=H(()=>{c.current&&(c.current&&(c.current.innerHTML=""),a.current.preview(document.getElementById("printable-content").innerHTML,["./print.css",e==="landscape"?"./landscape.css":"./portrait.css"],c.current).then(t=>f(t.pageCount)).catch(t=>console.error("Paged.js error:",t)))},[e]);return d(()=>{a.current=new p,o()},[o,e]),d(()=>{let t=document.createElement("style");return t.textContent=`@page { size: A4 ${e} ; margin: 0mm; };`,document.head.appendChild(t),()=>{document.head.removeChild(t)}},[]),l("div",{className:"pagedjs-container",children:[n("div",{id:"printable-content",ref:u,style:{display:"none"},className:"pagedjs-content",children:g.map((t,v)=>{var P,x;return n(T,{children:v===0?n("section",{className:"pagedjs-section title-page w-full h-full",children:n(C,{hero:r.hero,title:r.title})},v):l("section",{className:N("pagedjs-section normal-page h-[699px]",`h-[${B("185mm")}px]`,((x=(P=t.theme)==null?void 0:P.settings)==null?void 0:x.theme)==="dark"?"dark":"light"),children:[t.blockName&&n(w,{title:t.blockName}),n(y,{blocks:[t],fill:!0})]},v)})})}),n("div",{ref:c,className:"preview-container"})]})};export{z as a,I as b,M as c};
@@ -1 +1 @@
1
- import{a as x}from"./chunk-KML6U7IE.mjs";import{a as N}from"./chunk-TXXFXCXB.mjs";import{e as h}from"./chunk-OIIEDD56.mjs";import{b as v}from"./chunk-BDX257W2.mjs";import{a as c,b as C,c as b,e as p}from"./chunk-D76EO57Z.mjs";import{a as k}from"./chunk-UESKYRNK.mjs";import{a as P}from"./chunk-WISCWNL2.mjs";import L from"next/image";import{notFound as M}from"next/navigation";import I from"next/link";import{jsx as t,jsxs as o}from"react/jsx-runtime";function T({image:a,name:r,about:m,socialLinks:n}){return!a||!a.src||a.src.length<3||!r?null:t("div",{className:"mt-1 z-10 px-0 pt-0 lg:px-10",children:t(c,{children:o(p,{children:[a&&a.src&&t(L,{src:a.src,alt:a.alt||"",width:127,height:127,placeholder:"blur",blurDataURL:x,className:"mx-auto mt-6 rounded-full object-cover"}),t("h3",{className:"font-secondary text-center py-2 text-lg leading-[1.25] text-accent md:text-xl",children:r}),t("p",{children:m}),n&&n.length>0&&t("nav",{"aria-label":"social links",children:t("ul",{className:"inline-flex items-center divide-x divide-accent/50 text-accent dark:divide-accent/50 dark:text-white",children:n.map((e,s)=>t("li",{children:t(P,{href:e.href,openNewTab:!0,className:"block px-4 text-base/[1.75] transition-transform duration-350 hover:-translate-y-1 hover:text-accents",children:t("span",{children:e.icon})})},s))})})]})})})}function j({page:a,categoryList:r,edit:m=!1,path:n="/admin/collections/posts/"}){var g;if(!a)return M();let{meta:e,populatedAuthors:s,authors:d,categories:y,content:U,title:w}=a,z={image:{src:e&&e.image&&e.image.url||void 0,alt:e&&e.image&&e.image.alt||void 0},authorName:((g=s==null?void 0:s[0])==null?void 0:g.name)||"",category:y,commentCount:0,title:w,description:(e==null?void 0:e.description)||""},u=d==null?void 0:d.map(i=>{var l,f;return{name:i.name||"",about:"",image:{src:i.profilePicture&&((f=(l=i.profilePicture.sizes)==null?void 0:l.square)==null?void 0:f.url)||"",alt:i.name||"blog author"},socialLinks:[]}});return t(k,{children:o("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[t("div",{children:o("div",{className:"[&_p+P]:mt-4",children:[t("div",{className:"my-4 h-px bg-body/30 lg:my-5"}),t(h,{content:U,enableGutter:!1})]})}),o("div",{className:"grid gap-30px self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:[m&&t("div",{className:"mt-4 lg:-mt-10 z-10 px-0 pt-0 lg:px-10",children:o(c,{children:[t(C,{children:t(b,{className:"text-accent",children:"Content Actions"})}),o(p,{children:[t("p",{className:"mb-4 text-sm text-muted-foreground",children:"Edit this page in the CMS"}),t(I,{href:`${n}${a.id}`,children:t(v,{variant:"outline",className:"w-full text-accent hover:text-foreground",children:"Edit"})})]})]})}),u&&u.map((i,l)=>t(T,{...i},l)),r&&r.links&&t("div",{className:"mt-4 px-0 pt-0 lg:px-10",children:t(N,{links:r.links,title:r.title})})]})]})})}export{j as a};
1
+ import{a as x}from"./chunk-KML6U7IE.mjs";import{a as N}from"./chunk-TXXFXCXB.mjs";import{e as h}from"./chunk-FP5DGSVT.mjs";import{b as v}from"./chunk-BDX257W2.mjs";import{a as c,b as C,c as b,e as p}from"./chunk-D76EO57Z.mjs";import{a as k}from"./chunk-UESKYRNK.mjs";import{a as P}from"./chunk-WISCWNL2.mjs";import L from"next/image";import{notFound as M}from"next/navigation";import I from"next/link";import{jsx as t,jsxs as o}from"react/jsx-runtime";function T({image:a,name:r,about:m,socialLinks:n}){return!a||!a.src||a.src.length<3||!r?null:t("div",{className:"mt-1 z-10 px-0 pt-0 lg:px-10",children:t(c,{children:o(p,{children:[a&&a.src&&t(L,{src:a.src,alt:a.alt||"",width:127,height:127,placeholder:"blur",blurDataURL:x,className:"mx-auto mt-6 rounded-full object-cover"}),t("h3",{className:"font-secondary text-center py-2 text-lg leading-[1.25] text-accent md:text-xl",children:r}),t("p",{children:m}),n&&n.length>0&&t("nav",{"aria-label":"social links",children:t("ul",{className:"inline-flex items-center divide-x divide-accent/50 text-accent dark:divide-accent/50 dark:text-white",children:n.map((e,s)=>t("li",{children:t(P,{href:e.href,openNewTab:!0,className:"block px-4 text-base/[1.75] transition-transform duration-350 hover:-translate-y-1 hover:text-accents",children:t("span",{children:e.icon})})},s))})})]})})})}function j({page:a,categoryList:r,edit:m=!1,path:n="/admin/collections/posts/"}){var g;if(!a)return M();let{meta:e,populatedAuthors:s,authors:d,categories:y,content:U,title:w}=a,z={image:{src:e&&e.image&&e.image.url||void 0,alt:e&&e.image&&e.image.alt||void 0},authorName:((g=s==null?void 0:s[0])==null?void 0:g.name)||"",category:y,commentCount:0,title:w,description:(e==null?void 0:e.description)||""},u=d==null?void 0:d.map(i=>{var l,f;return{name:i.name||"",about:"",image:{src:i.profilePicture&&((f=(l=i.profilePicture.sizes)==null?void 0:l.square)==null?void 0:f.url)||"",alt:i.name||"blog author"},socialLinks:[]}});return t(k,{children:o("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[t("div",{children:o("div",{className:"[&_p+P]:mt-4",children:[t("div",{className:"my-4 h-px bg-body/30 lg:my-5"}),t(h,{content:U,enableGutter:!1})]})}),o("div",{className:"grid gap-30px self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:[m&&t("div",{className:"mt-4 lg:-mt-10 z-10 px-0 pt-0 lg:px-10",children:o(c,{children:[t(C,{children:t(b,{className:"text-accent",children:"Content Actions"})}),o(p,{children:[t("p",{className:"mb-4 text-sm text-muted-foreground",children:"Edit this page in the CMS"}),t(I,{href:`${n}${a.id}`,children:t(v,{variant:"outline",className:"w-full text-accent hover:text-foreground",children:"Edit"})})]})]})}),u&&u.map((i,l)=>t(T,{...i},l)),r&&r.links&&t("div",{className:"mt-4 px-0 pt-0 lg:px-10",children:t(N,{links:r.links,title:r.title})})]})]})})}export{j as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as p}from"./chunk-6P7CY367.mjs";import{a as d}from"./chunk-FCCL6W7R.mjs";import{a as m}from"./chunk-NIQ4466A.mjs";import A from"next/link";import{Fragment as g}from"react";import{jsx as e,jsxs as s}from"react/jsx-runtime";var j=v=>{let{card:f,link:h}=p({}),{className:u,doc:N,relationTo:y,showCategories:a,title:b}=v,{slug:C,categories:t,meta:F,title:k}=N||{},{description:r,image:o}=F||{},i=t&&Array.isArray(t)&&t.length>0,l=b||k,w=r==null?void 0:r.replace(/\s/g," "),T=`/${y}/${C}`;return s("article",{className:m("border border-border rounded-lg overflow-hidden bg-card hover:cursor-pointer",u),ref:f.ref,children:[s("div",{className:"relative w-full ",children:[!o&&e("div",{className:"",children:"No image"}),o&&typeof o!="string"&&e(d,{resource:o,size:"33vw"})]}),s("div",{className:"p-4",children:[a&&i&&e("div",{className:"uppercase text-sm mb-4",children:a&&i&&e("div",{children:t==null?void 0:t.map((n,c)=>{if(typeof n=="object"){let{title:L}=n,P=L||"Untitled category",z=c===t.length-1;return s(g,{children:[P,!z&&e(g,{children:", \xA0"})]},c)}return null})})}),l&&e("div",{className:"prose",children:e("h3",{children:e(A,{className:"not-prose",href:T,ref:h.ref,children:l})})}),r&&e("div",{className:"mt-2",children:r&&e("p",{children:w})})]})]})};export{j as a};
4
+ import{a as p}from"./chunk-6P7CY367.mjs";import{a as d}from"./chunk-JPFBD2KD.mjs";import{a as m}from"./chunk-NIQ4466A.mjs";import A from"next/link";import{Fragment as g}from"react";import{jsx as e,jsxs as s}from"react/jsx-runtime";var j=v=>{let{card:f,link:h}=p({}),{className:u,doc:N,relationTo:y,showCategories:a,title:b}=v,{slug:C,categories:t,meta:F,title:k}=N||{},{description:r,image:o}=F||{},i=t&&Array.isArray(t)&&t.length>0,l=b||k,w=r==null?void 0:r.replace(/\s/g," "),T=`/${y}/${C}`;return s("article",{className:m("border border-border rounded-lg overflow-hidden bg-card hover:cursor-pointer",u),ref:f.ref,children:[s("div",{className:"relative w-full ",children:[!o&&e("div",{className:"",children:"No image"}),o&&typeof o!="string"&&e(d,{resource:o,size:"33vw"})]}),s("div",{className:"p-4",children:[a&&i&&e("div",{className:"uppercase text-sm mb-4",children:a&&i&&e("div",{children:t==null?void 0:t.map((n,c)=>{if(typeof n=="object"){let{title:L}=n,P=L||"Untitled category",z=c===t.length-1;return s(g,{children:[P,!z&&e(g,{children:", \xA0"})]},c)}return null})})}),l&&e("div",{className:"prose",children:e("h3",{children:e(A,{className:"not-prose",href:T,ref:h.ref,children:l})})}),r&&e("div",{className:"mt-2",children:r&&e("p",{children:w})})]})]})};export{j as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- "use strict";var nt=Object.create;var Y=Object.defineProperty;var st=Object.getOwnPropertyDescriptor;var at=Object.getOwnPropertyNames;var lt=Object.getPrototypeOf,it=Object.prototype.hasOwnProperty;var ct=(e,t)=>{for(var r in t)Y(e,r,{get:t[r],enumerable:!0})},Ae=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of at(t))!it.call(e,s)&&s!==r&&Y(e,s,{get:()=>t[s],enumerable:!(n=st(t,s))||n.enumerable});return e};var X=(e,t,r)=>(r=e!=null?nt(lt(e)):{},Ae(t||!e||!e.__esModule?Y(r,"default",{value:e,enumerable:!0}):r,e)),dt=e=>Ae(Y({},"__esModule",{value:!0}),e);var Jt={};ct(Jt,{BannerBlock:()=>be});module.exports=dt(Jt);var ze=require("clsx");var ie="-",pt=e=>{let t=mt(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:l=>{let a=l.split(ie);return a[0]===""&&a.length!==1&&a.shift(),Be(a,t)||ut(l)},getConflictingClassGroupIds:(l,a)=>{let c=r[l]||[];return a&&n[l]?[...c,...n[l]]:c}}},Be=(e,t)=>{var l;if(e.length===0)return t.classGroupId;let r=e[0],n=t.nextPart.get(r),s=n?Be(e.slice(1),n):void 0;if(s)return s;if(t.validators.length===0)return;let o=e.join(ie);return(l=t.validators.find(({validator:a})=>a(o)))==null?void 0:l.classGroupId},Ne=/^\[(.+)\]$/,ut=e=>{if(Ne.test(e)){let t=Ne.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},mt=e=>{let{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]};return ft(Object.entries(e.classGroups),r).forEach(([o,l])=>{le(l,n,o,t)}),n},le=(e,t,r,n)=>{e.forEach(s=>{if(typeof s=="string"){let o=s===""?t:Pe(t,s);o.classGroupId=r;return}if(typeof s=="function"){if(gt(s)){le(s(n),t,r,n);return}t.validators.push({validator:s,classGroupId:r});return}Object.entries(s).forEach(([o,l])=>{le(l,Pe(t,o),r,n)})})},Pe=(e,t)=>{let r=e;return t.split(ie).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},gt=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(([l,a])=>[t+l,a])):o);return[r,s]}):e,bt=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,n=new Map,s=(o,l)=>{r.set(o,l),t++,t>e&&(t=0,n=r,r=new Map)};return{get(o){let l=r.get(o);if(l!==void 0)return l;if((l=n.get(o))!==void 0)return s(o,l),l},set(o,l){r.has(o)?r.set(o,l):s(o,l)}}},Re="!",yt=e=>{let{separator:t,experimentalParseClassName:r}=e,n=t.length===1,s=t[0],o=t.length,l=a=>{let c=[],p=0,u=0,v;for(let x=0;x<a.length;x++){let w=a[x];if(p===0){if(w===s&&(n||a.slice(x,x+o)===t)){c.push(a.slice(u,x)),u=x+o;continue}if(w==="/"){v=x;continue}}w==="["?p++:w==="]"&&p--}let y=c.length===0?a:a.substring(u),k=y.startsWith(Re),A=k?y.substring(1):y,h=v&&v>u?v-u:void 0;return{modifiers:c,hasImportantModifier:k,baseClassName:A,maybePostfixModifierPosition:h}};return r?a=>r({className:a,parseClassName:l}):l},ht=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},xt=e=>({cache:bt(e.cacheSize),parseClassName:yt(e),...pt(e)}),wt=/\s+/,vt=(e,t)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:s}=t,o=[],l=e.trim().split(wt),a="";for(let c=l.length-1;c>=0;c-=1){let p=l[c],{modifiers:u,hasImportantModifier:v,baseClassName:y,maybePostfixModifierPosition:k}=r(p),A=!!k,h=n(A?y.substring(0,k):y);if(!h){if(!A){a=p+(a.length>0?" "+a:a);continue}if(h=n(y),!h){a=p+(a.length>0?" "+a:a);continue}A=!1}let x=ht(u).join(":"),w=v?x+Re:x,C=w+h;if(o.includes(C))continue;o.push(C);let T=s(h,A);for(let N=0;N<T.length;++N){let J=T[N];o.push(w+J)}a=p+(a.length>0?" "+a:a)}return a};function kt(){let e=0,t,r,n="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Ie(t))&&(n&&(n+=" "),n+=r);return n}var Ie=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=Ie(e[n]))&&(r&&(r+=" "),r+=t);return r};function Ct(e,...t){let r,n,s,o=l;function l(c){let p=t.reduce((u,v)=>v(u),e());return r=xt(p),n=r.cache.get,s=r.cache.set,o=a,a(c)}function a(c){let p=n(c);if(p)return p;let u=vt(c,r);return s(c,u),u}return function(){return o(kt.apply(null,arguments))}}var g=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Te=/^\[(?:([a-Le-]+):)?(.+)\]$/i,At=/^\d+\/\d+$/,Nt=new Set(["px","full","screen"]),Pt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Bt=/\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$/,Rt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,It=/^(inset_)?-?((\d+)?\.?(\d+)[a-Le]+|0)_-?((\d+)?\.?(\d+)[a-Le]+|0)/,Tt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,B=e=>L(e)||Nt.has(e)||At.test(e),S=e=>D(e,"length",Dt),L=e=>!!e&&!Number.isNaN(Number(e)),ae=e=>D(e,"number",L),H=e=>!!e&&Number.isInteger(Number(e)),St=e=>e.endsWith("%")&&L(e.slice(0,-1)),i=e=>Te.test(e),M=e=>Pt.test(e),Mt=new Set(["length","size","percentage"]),zt=e=>D(e,Mt,Se),Et=e=>D(e,"position",Se),Ft=new Set(["image","url"]),Gt=e=>D(e,Ft,Ht),Lt=e=>D(e,"",Ut),V=()=>!0,D=(e,t,r)=>{let n=Te.exec(e);return n?n[1]?typeof t=="string"?n[1]===t:t.has(n[1]):r(n[2]):!1},Dt=e=>Bt.test(e)&&!Rt.test(e),Se=()=>!1,Ut=e=>It.test(e),Ht=e=>Tt.test(e);var Vt=()=>{let e=g("colors"),t=g("spacing"),r=g("blur"),n=g("brightness"),s=g("borderColor"),o=g("borderRadius"),l=g("borderSpacing"),a=g("borderWidth"),c=g("contrast"),p=g("grayscale"),u=g("hueRotate"),v=g("invert"),y=g("gap"),k=g("gradientColorStops"),A=g("gradientColorStopPositions"),h=g("inset"),x=g("margin"),w=g("opacity"),C=g("padding"),T=g("saturate"),N=g("scale"),J=g("sepia"),ye=g("skew"),he=g("space"),xe=g("translate"),re=()=>["auto","contain","none"],oe=()=>["auto","hidden","clip","visible","scroll"],ne=()=>["auto",i,t],b=()=>[i,t],we=()=>["",B,S],_=()=>["auto",L,i],ve=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],K=()=>["solid","dashed","dotted","double","none"],ke=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],se=()=>["start","end","center","between","around","evenly","stretch"],U=()=>["","0",i],Ce=()=>["auto","avoid","all","avoid-page","page","left","right","column"],P=()=>[L,i];return{cacheSize:500,separator:":",theme:{colors:[V],spacing:[B,S],blur:["none","",M,i],brightness:P(),borderColor:[e],borderRadius:["none","","full",M,i],borderSpacing:b(),borderWidth:we(),contrast:P(),grayscale:U(),hueRotate:P(),invert:U(),gap:b(),gradientColorStops:[e],gradientColorStopPositions:[St,S],inset:ne(),margin:ne(),opacity:P(),padding:b(),saturate:P(),scale:P(),sepia:U(),skew:P(),space:b(),translate:b()},classGroups:{aspect:[{aspect:["auto","square","video",i]}],container:["container"],columns:[{columns:[M]}],"break-after":[{"break-after":Ce()}],"break-before":[{"break-before":Ce()}],"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:[...ve(),i]}],overflow:[{overflow:oe()}],"overflow-x":[{"overflow-x":oe()}],"overflow-y":[{"overflow-y":oe()}],overscroll:[{overscroll:re()}],"overscroll-x":[{"overscroll-x":re()}],"overscroll-y":[{"overscroll-y":re()}],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"],Le:[{Le:["auto",H,i]}],basis:[{basis:ne()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",i]}],grow:[{grow:U()}],shrink:[{shrink:U()}],order:[{order:["first","last","none",H,i]}],"grid-cols":[{"grid-cols":[V]}],"col-start-end":[{col:["auto",{span:["full",H,i]},i]}],"col-start":[{"col-start":_()}],"col-end":[{"col-end":_()}],"grid-rows":[{"grid-rows":[V]}],"row-start-end":[{row:["auto",{span:[H,i]},i]}],"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",i]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",i]}],gap:[{gap:[y]}],"gap-x":[{"gap-x":[y]}],"gap-y":[{"gap-y":[y]}],"justify-content":[{justify:["normal",...se()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...se(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...se(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[C]}],px:[{px:[C]}],py:[{py:[C]}],ps:[{ps:[C]}],Le:[{Le:[C]}],pt:[{pt:[C]}],pr:[{pr:[C]}],pb:[{pb:[C]}],pl:[{pl:[C]}],Le:[{Le:[x]}],mx:[{mx:[x]}],my:[{my:[x]}],ms:[{ms:[x]}],Le:[{Le:[x]}],mt:[{mt:[x]}],mr:[{mr:[x]}],mb:[{mb:[x]}],ml:[{ml:[x]}],"space-x":[{"space-x":[he]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[he]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",i,t]}],"min-w":[{"min-w":[i,t,"min","max","fit"]}],"max-w":[{"max-w":[i,t,"none","full","min","max","fit","prose",{screen:[M]},M]}],h:[{h:[i,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[i,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[i,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[i,t,"auto","min","max","fit"]}],"font-size":[{text:["base",M,S]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ae]}],"font-family":[{font:[V]}],"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",i]}],"line-clamp":[{"line-clamp":["none",L,ae]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",B,i]}],"list-image":[{"list-image":["none",i]}],"list-style-type":[{list:["none","disc","decimal",i]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[w]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[w]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...K(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",B,S]}],"underline-offset":[{"underline-offset":["auto",B,i]}],"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:b()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",i]}],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",i]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[w]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ve(),Et]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",zt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Gt]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[A]}],"gradient-via-pos":[{via:[A]}],"gradient-to-pos":[{to:[A]}],"gradient-from":[{from:[k]}],"gradient-via":[{via:[k]}],"gradient-to":[{to:[k]}],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:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[w]}],"border-style":[{border:[...K(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[w]}],"divide-style":[{divide:K()}],"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:["",...K()]}],"outline-offset":[{"outline-offset":[B,i]}],"outline-w":[{outline:[B,S]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:we()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[w]}],"ring-offset-w":[{"ring-offset":[B,S]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",M,Lt]}],"shadow-color":[{shadow:[V]}],opacity:[{opacity:[w]}],"mix-blend":[{"mix-blend":[...ke(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ke()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",M,i]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[v]}],saturate:[{saturate:[T]}],sepia:[{sepia:[J]}],"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":[u]}],"backdrop-invert":[{"backdrop-invert":[v]}],"backdrop-opacity":[{"backdrop-opacity":[w]}],"backdrop-saturate":[{"backdrop-saturate":[T]}],"backdrop-sepia":[{"backdrop-sepia":[J]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",i]}],duration:[{duration:P()}],ease:[{ease:["linear","in","out","in-out",i]}],delay:[{delay:P()}],animate:[{animate:["none","spin","ping","pulse","bounce",i]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[N]}],"scale-x":[{"scale-x":[N]}],"scale-y":[{"scale-y":[N]}],rotate:[{rotate:[H,i]}],"translate-x":[{"translate-x":[xe]}],"translate-y":[{"translate-y":[xe]}],"skew-x":[{"skew-x":[ye]}],"skew-y":[{"skew-y":[ye]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",i]}],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",i]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-Le":[{"scroll-Le":b()}],"scroll-mx":[{"scroll-mx":b()}],"scroll-my":[{"scroll-my":b()}],"scroll-ms":[{"scroll-ms":b()}],"scroll-Le":[{"scroll-Le":b()}],"scroll-mt":[{"scroll-mt":b()}],"scroll-mr":[{"scroll-mr":b()}],"scroll-mb":[{"scroll-mb":b()}],"scroll-ml":[{"scroll-ml":b()}],"scroll-p":[{"scroll-p":b()}],"scroll-px":[{"scroll-px":b()}],"scroll-py":[{"scroll-py":b()}],"scroll-ps":[{"scroll-ps":b()}],"scroll-Le":[{"scroll-Le":b()}],"scroll-pt":[{"scroll-pt":b()}],"scroll-pr":[{"scroll-pr":b()}],"scroll-pb":[{"scroll-pb":b()}],"scroll-pl":[{"scroll-pl":b()}],"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",i]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[B,S,ae]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","Le","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],Le:["mx","my","ms","Le","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-Le":["scroll-mx","scroll-my","scroll-ms","scroll-Le","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-Le","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 Me=Ct(Vt);function d(...e){return Me((0,ze.clsx)(e))}var Ee=require("@radix-ui/react-slot"),Fe=require("class-variance-authority"),Ge=X(require("react")),Le=require("react/jsx-runtime"),jt=(0,Fe.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"}}}),F=Ge.forwardRef(({asChild:e=!1,className:t,size:r,variant:n,...s},o)=>(0,Le.jsx)(e?Ee.Slot:"button",{className:d(jt({className:t,size:r,variant:n})),ref:o,...s}));F.displayName="Button";var ce=X(require("next/link")),Q=e=>{let{type:t,appearance:r="inline",children:n,className:s,label:o,newTab:l,reference:a,size:c,url:p}=e,u=t==="reference"&&typeof(a==null?void 0:a.value)=="object"&&a.value.slug?`${(a==null?void 0:a.relationTo)!=="pages"?`/${a==null?void 0:a.relationTo}`:""}/${a.value.slug}`:p;if(!u)return null;let v=r==="link"?"clear":c,y=l?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,Le.jsxs)(ce.default,{className:d(s),href:u||p||"",...y,children:[o&&o,n&&n]}):(0,Le.jsx)(F,{asChild:!0,className:s,size:v,variant:r,children:(0,Le.jsxs)(ce.default,{className:d(s),href:u||p||"",...y,children:[o&&o,n&&n]})})};var De=({links:e,richText:t})=>(0,Le.jsx)("div",{className:"container",children:(0,Le.jsxs)("div",{className:"bg-card rounded border-border border p-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,Le.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,Le.jsx)(E,{className:"mb-0",content:t,enableGutter:!1})}),(0,Le.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},n)=>(0,Le.jsx)(Q,{size:"lg",...r},n))})]})});var q=require("prism-react-renderer");var Ue=require("lucide-react"),He=require("react");function Ve({code:e}){let[t,r]=(0,He.useState)("Copy");function n(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,Le.jsx)("div",{className:"flex justify-end align-middle",children:(0,Le.jsxs)(F,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),n()},children:[(0,Le.jsx)("p",{children:t}),(0,Le.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,Le.jsx)(Ue.ClipboardCopy,{})})]})})}var je=({code:e,language:t=""})=>e?(0,Le.jsx)(q.Highlight,{code:e,language:t,theme:q.themes.vsDark,children:({getLineProps:r,getTokenProps:n,tokens:s})=>(0,Le.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[s.map((o,l)=>(0,Le.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,Le.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:l+1}),(0,Le.jsx)("span",{className:"table-cell pl-4",children:o.map((a,c)=>(0,Le.jsx)("span",{...n({token:a})},c))})]},l)),(0,Le.jsx)(Ve,{code:e})]})}):null;var Qe=({className:e,code:t,language:r})=>(0,Le.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,Le.jsx)(je,{code:t,language:r})});var Je=X(require("next/image")),Qt={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},Oe="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=",_e=e=>{let{alt:t,fill:r,imgClassName:n,priority:s,resource:o,size:l,src:a,loading:c}=e,p,u,v=t,y=a||"";if(!y&&o&&typeof o=="object"){let{alt:h,filename:x,height:w,url:C,width:T}=o;if(w&&w>500){let N=500/w;p=T*N,u=w*N}else p=T,u=w;v=h||"",y=C||Oe}let k=c||"lazy",A=l||Object.entries(Qt).map(([,h])=>`(max-width: ${h}px) ${h*2}w`).join(", ");return(0,Le.jsx)("picture",{children:(0,Le.jsx)(Je.default,{alt:v||"",className:d(n),fill:r,height:r?void 0:u,placeholder:"blur",blurDataURL:Oe,priority:k!=="lazy"&&s,quality:100,loading:k,sizes:A,src:y,width:r?void 0:p})})};var Ke=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var Ye=()=>{if(Ke){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 Xe=e=>{let{onClick:t,resource:r,videoClassName:n}=e,s=(0,He.useRef)(null);if((0,He.useEffect)(()=>{let{current:o}=s;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,Le.jsx)("video",{autoPlay:!0,className:d(n),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:s,children:(0,Le.jsx)("source",{src:`${Ye()}/media/${o}`})})}return null};var $=e=>{var l;let{className:t,htmlElement:r="div",resource:n}=e,s=typeof n=="object"&&((l=n==null?void 0:n.mimeType)==null?void 0:l.includes("video"));return(0,Le.jsx)(r||He.Fragment,{...r!==null?{className:t}:{},children:s?(0,Le.jsx)(Xe,{...e}):(0,Le.jsx)(_e,{...e})})};var We=e=>{let{className:t,enableGutter:r=!0,imgClassName:n,media:s,staticImage:o}=e;return(0,Le.jsx)("div",{className:d("h-full ",{container:r},t),children:(0,Le.jsx)($,{imgClassName:d("rounded-[0.8rem]",n),className:"flex justify-center",resource:s,src:o})})};var Ze=e=>{let{className:t,enableGutter:r=!0,imgClassName:n,media:s,staticImage:o}=e;return(0,Le.jsx)("div",{className:d("",{container:r},t),children:(0,Le.jsx)($,{imgClassName:d("rounded-[0.8rem]",n),resource:s,src:o})})};var fe=({type:e="solid",iconName:t="cloud",size:r="lg",className:n})=>{let s=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,l=n!=null?n:"",a=s+o+" fa-"+r+" "+l;return(0,$e.jsx)("i",{className:a})};function et(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function tt({variant:e="outline",className:t,icon:r,iconSize:n="large",width:s="auto",order:o=0,heading:l,subheading:a,content:c,statistic:p,buttonText:u,buttonHref:v}){let y={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:""},k={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return(0,Le.jsxs)("div",{className:d("rounded-3xl p-8 md:p-8 min-w-56 flex flex-col group",y[e],e==="outline"?"text-gray-900":"text-white",t,k[s],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${o+1}00`),children:[(0,Le.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,Le.jsx)(Ot,{icon:r,heading:l,variant:e,iconSize:n})}),p&&(0,Le.jsx)("div",{className:"mb-6",children:(0,Le.jsx)("div",{className:d("text-4xl text-wrap font-bold leading-none overflow-hidden",e==="outline"||e==="light"?"text-primary":"text-white"),children:p})}),a&&(0,Le.jsx)("div",{className:"mb-4 text-xl md:text-2xl font-light",children:a}),c&&typeof c=="object"&&(0,Le.jsx)("div",{className:d("space-y-6"),children:(0,Le.jsx)(E,{enableGutter:!1,content:c,enableProse:!1,className:d(e==="outline"||e==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100")})}),c&&typeof c=="string"&&(0,Le.jsx)("div",{className:d("space-y-6",e==="outline"||e==="light"?"text-gray-900":"text-gray-100"),children:c}),u&&(0,Le.jsx)("div",{className:"mt-auto pt-6 flex items-center justify-center",children:(0,Le.jsx)(F,{size:"lg",className:"text-white text-lg rounded-xl w-full mt-auto items-center justify-center",asChild:!0,children:(0,Le.jsx)("a",{href:v,children:u})})}),e==="radial"&&(0,Le.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 Ot=({icon:e,heading:t,variant:r,iconSize:n})=>e&&n==="small"?(0,Le.jsxs)("div",{className:"flex items-start gap-4 mb-2",children:[et(e)&&(0,Le.jsx)("div",{className:d("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-primary":"text-white",n==="small"?"mt-2":""),children:(0,Le.jsx)(fe,{type:e.type,iconName:e.iconName,size:"2x"})}),(0,Le.jsx)("div",{className:d("font-semibold",r==="outline"||r==="light"?"text-primary":"text-white",n==="small"?"text-2xl":"text-3xl"),children:t})]}):e?(0,Le.jsxs)("div",{className:"flex flex-col gap-4",children:[et(e)&&(0,Le.jsx)("div",{className:d("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-accent":""),children:(0,Le.jsx)(fe,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,Le.jsx)("h3",{className:d("font-semibold",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})]}):(0,Le.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,Le.jsx)("div",{className:d("font-semibold",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})});var rt=({title:e,description:t,features:r,id:n,nested:s=!1})=>(0,Le.jsxs)("section",{className:d(!s&&"container","w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,Le.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl text-primary",id:n||"",children:e}),t&&typeof t=="string"&&(0,Le.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:t}),t&&typeof t=="object"&&(0,Le.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:(0,Le.jsx)(E,{content:t,enableGutter:!1})}),(0,Le.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((o,l)=>{var c,p,u,v,y;let a=()=>{if(o.icon&&"type"in o.icon&&o.icon.type!=="none")return{type:o.icon.type,iconName:o.icon.icon}};return(0,Le.jsx)(tt,{variant:((c=o.settings)==null?void 0:c.card)==="default"?"light":((p=o.settings)==null?void 0:p.card)||"outline",icon:a()||void 0,iconSize:((u=o.settings)==null?void 0:u.iconSize)||"large",width:"auto",order:l,heading:o.title||"",content:o.content||void 0,statistic:o.statistic||void 0,buttonText:(v=o.link)!=null&&v.url?"Find out more":void 0,buttonHref:((y=o.link)==null?void 0:y.url)||void 0},l)})})]});var ee=X(require("react"));function O({nodes:e}){return(0,Le.jsx)(ee.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let o=(0,Le.jsx)(ee.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,Le.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,Le.jsx)("em",{children:o},r)),t.format&4&&(o=(0,Le.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,Le.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,Le.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,Le.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,Le.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,Le.jsx)("table",{children:(0,Le.jsx)("tbody",{children:t.children.map((o,l)=>(0,Le.jsx)("tr",{children:o.children.map((a,c)=>(0,Le.jsx)("td",{children:O({nodes:a.children})},c))},l))})},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 l of o.children)"checked"in l&&(l!=null&&l.checked||(l.checked=!1));return O({nodes:o.children})},s="children"in t?n(t):"";if(t.type==="block"){let o=t.fields,l=o==null?void 0:o.blockType;if(!o||!l)return null;switch(l){case"cta":return(0,Le.jsx)(De,{...o},r);case"mediaBlock":return(0,Le.jsx)(We,{className:"col-start-1 col-span-3",imgClassName:"Le-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,Le.jsx)(Ze,{className:"col-start-1 col-span-3",imgClassName:"Le-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,Le.jsx)(be,{className:"col-start-2 mb-4",...o},r);case"code":return(0,Le.jsx)(Qe,{className:"col-start-2",...o},r);case"features":return(0,Le.jsx)(rt,{...o,nested:!0},r);case"reusableContentBlock":O({nodes:o.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,Le.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,Le.jsx)("p",{className:"col-start-2",children:s},r);case"heading":{let o=t==null?void 0:t.tag;return(0,Le.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,Le.jsx)(o,{className:"list col-start-2",children:s},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,Le.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,Le.jsx)("li",{value:t==null?void 0:t.value,children:s},r);case"quote":return(0,Le.jsx)("blockquote",{className:"col-start-2",children:s},r);case"link":{let o=t.fields;return(0,Le.jsx)(Q,{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,Le.jsx)(Q,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},r)}default:return null}})})}var E=({className:e,content:t,enableGutter:r=!0,enableProse:n=!0})=>{var s;return t?(0,Le.jsx)("div",{className:d({"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&&O({nodes:(s=t==null?void 0:t.root)==null?void 0:s.children})}):null};var be=({className:e,content:t,style:r})=>(0,Le.jsx)("div",{className:d("mx-auto my-8 w-full",e),children:(0,Le.jsx)("div",{className:d("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,Le.jsx)(E,{content:t,enableGutter:!1,enableProse:!1})})});0&&(module.exports={BannerBlock});
4
+ "use strict";var nr=Object.create;var X=Object.defineProperty;var lr=Object.getOwnPropertyDescriptor;var sr=Object.getOwnPropertyNames;var ir=Object.getPrototypeOf,cr=Object.prototype.hasOwnProperty;var dr=(e,r)=>{for(var t in r)X(e,t,{get:r[t],enumerable:!0})},Ne=(e,r,t,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let l of sr(r))!cr.call(e,l)&&l!==t&&X(e,l,{get:()=>r[l],enumerable:!(n=lr(r,l))||n.enumerable});return e};var U=(e,r,t)=>(t=e!=null?nr(ir(e)):{},Ne(r||!e||!e.__esModule?X(t,"default",{value:e,enumerable:!0}):t,e)),pr=e=>Ne(X({},"__esModule",{value:!0}),e);var _r={};dr(_r,{BannerBlock:()=>ye});module.exports=pr(_r);var Fe=require("clsx");var ie="-",ur=e=>{let r=fr(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:a=>{let s=a.split(ie);return s[0]===""&&s.length!==1&&s.shift(),Re(s,r)||mr(a)},getConflictingClassGroupIds:(a,s)=>{let d=t[a]||[];return s&&n[a]?[...d,...n[a]]:d}}},Re=(e,r)=>{var a;if(e.length===0)return r.classGroupId;let t=e[0],n=r.nextPart.get(t),l=n?Re(e.slice(1),n):void 0;if(l)return l;if(r.validators.length===0)return;let o=e.join(ie);return(a=r.validators.find(({validator:s})=>s(o)))==null?void 0:a.classGroupId},Pe=/^\[(.+)\]$/,mr=e=>{if(Pe.test(e)){let r=Pe.exec(e)[1],t=r==null?void 0:r.substring(0,r.indexOf(":"));if(t)return"arbitrary.."+t}},fr=e=>{let{theme:r,prefix:t}=e,n={nextPart:new Map,validators:[]};return gr(Object.entries(e.classGroups),t).forEach(([o,a])=>{se(a,n,o,r)}),n},se=(e,r,t,n)=>{e.forEach(l=>{if(typeof l=="string"){let o=l===""?r:Be(r,l);o.classGroupId=t;return}if(typeof l=="function"){if(br(l)){se(l(n),r,t,n);return}r.validators.push({validator:l,classGroupId:t});return}Object.entries(l).forEach(([o,a])=>{se(a,Be(r,o),t,n)})})},Be=(e,r)=>{let t=e;return r.split(ie).forEach(n=>{t.nextPart.has(n)||t.nextPart.set(n,{nextPart:new Map,validators:[]}),t=t.nextPart.get(n)}),t},br=e=>e.isThemeGetter,gr=(e,r)=>r?e.map(([t,n])=>{let l=n.map(o=>typeof o=="string"?r+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([a,s])=>[r+a,s])):o);return[t,l]}):e,yr=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,t=new Map,n=new Map,l=(o,a)=>{t.set(o,a),r++,r>e&&(r=0,n=t,t=new Map)};return{get(o){let a=t.get(o);if(a!==void 0)return a;if((a=n.get(o))!==void 0)return l(o,a),a},set(o,a){t.has(o)?t.set(o,a):l(o,a)}}},Ie="!",hr=e=>{let{separator:r,experimentalParseClassName:t}=e,n=r.length===1,l=r[0],o=r.length,a=s=>{let d=[],u=0,f=0,w;for(let h=0;h<s.length;h++){let x=s[h];if(u===0){if(x===l&&(n||s.slice(h,h+o)===r)){d.push(s.slice(f,h)),f=h+o;continue}if(x==="/"){w=h;continue}}x==="["?u++:x==="]"&&u--}let v=d.length===0?s:s.substring(f),C=v.startsWith(Ie),A=C?v.substring(1):v,y=w&&w>f?w-f:void 0;return{modifiers:d,hasImportantModifier:C,baseClassName:A,maybePostfixModifierPosition:y}};return t?s=>t({className:s,parseClassName:a}):a},xr=e=>{if(e.length<=1)return e;let r=[],t=[];return e.forEach(n=>{n[0]==="["?(r.push(...t.sort(),n),t=[]):t.push(n)}),r.push(...t.sort()),r},vr=e=>({cache:yr(e.cacheSize),parseClassName:hr(e),...ur(e)}),wr=/\s+/,kr=(e,r)=>{let{parseClassName:t,getClassGroupId:n,getConflictingClassGroupIds:l}=r,o=[],a=e.trim().split(wr),s="";for(let d=a.length-1;d>=0;d-=1){let u=a[d],{modifiers:f,hasImportantModifier:w,baseClassName:v,maybePostfixModifierPosition:C}=t(u),A=!!C,y=n(A?v.substring(0,C):v);if(!y){if(!A){s=u+(s.length>0?" "+s:s);continue}if(y=n(v),!y){s=u+(s.length>0?" "+s:s);continue}A=!1}let h=xr(f).join(":"),x=w?h+Ie:h,k=x+y;if(o.includes(k))continue;o.push(k);let T=l(y,A);for(let N=0;N<T.length;++N){let _=T[N];o.push(x+_)}s=u+(s.length>0?" "+s:s)}return s};function Cr(){let e=0,r,t,n="";for(;e<arguments.length;)(r=arguments[e++])&&(t=Te(r))&&(n&&(n+=" "),n+=t);return n}var Te=e=>{if(typeof e=="string")return e;let r,t="";for(let n=0;n<e.length;n++)e[n]&&(r=Te(e[n]))&&(t&&(t+=" "),t+=r);return t};function Ar(e,...r){let t,n,l,o=a;function a(d){let u=r.reduce((f,w)=>w(f),e());return t=vr(u),n=t.cache.get,l=t.cache.set,o=s,s(d)}function s(d){let u=n(d);if(u)return u;let f=kr(d,t);return l(d,f),f}return function(){return o(Cr.apply(null,arguments))}}var b=e=>{let r=t=>t[e]||[];return r.isThemeGetter=!0,r},Se=/^\[(?:([a-De-]+):)?(.+)\]$/i,Nr=/^\d+\/\d+$/,Pr=new Set(["px","full","screen"]),Br=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Rr=/\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$/,Ir=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Tr=/^(inset_)?-?((\d+)?\.?(\d+)[a-De]+|0)_-?((\d+)?\.?(\d+)[a-De]+|0)/,Sr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,B=e=>G(e)||Pr.has(e)||Nr.test(e),S=e=>L(e,"length",Ur),G=e=>!!e&&!Number.isNaN(Number(e)),le=e=>L(e,"number",G),H=e=>!!e&&Number.isInteger(Number(e)),Mr=e=>e.endsWith("%")&&G(e.slice(0,-1)),i=e=>Se.test(e),M=e=>Br.test(e),zr=new Set(["length","size","percentage"]),Fr=e=>L(e,zr,Me),Er=e=>L(e,"position",Me),Gr=new Set(["image","url"]),Lr=e=>L(e,Gr,jr),Dr=e=>L(e,"",Hr),j=()=>!0,L=(e,r,t)=>{let n=Se.exec(e);return n?n[1]?typeof r=="string"?n[1]===r:r.has(n[1]):t(n[2]):!1},Ur=e=>Rr.test(e)&&!Ir.test(e),Me=()=>!1,Hr=e=>Tr.test(e),jr=e=>Sr.test(e);var Vr=()=>{let e=b("colors"),r=b("spacing"),t=b("blur"),n=b("brightness"),l=b("borderColor"),o=b("borderRadius"),a=b("borderSpacing"),s=b("borderWidth"),d=b("contrast"),u=b("grayscale"),f=b("hueRotate"),w=b("invert"),v=b("gap"),C=b("gradientColorStops"),A=b("gradientColorStopPositions"),y=b("inset"),h=b("margin"),x=b("opacity"),k=b("padding"),T=b("saturate"),N=b("scale"),_=b("sepia"),he=b("skew"),xe=b("space"),ve=b("translate"),te=()=>["auto","contain","none"],oe=()=>["auto","hidden","clip","visible","scroll"],ae=()=>["auto",i,r],g=()=>[i,r],we=()=>["",B,S],K=()=>["auto",G,i],ke=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Y=()=>["solid","dashed","dotted","double","none"],Ce=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ne=()=>["start","end","center","between","around","evenly","stretch"],D=()=>["","0",i],Ae=()=>["auto","avoid","all","avoid-page","page","left","right","column"],P=()=>[G,i];return{cacheSize:500,separator:":",theme:{colors:[j],spacing:[B,S],blur:["none","",M,i],brightness:P(),borderColor:[e],borderRadius:["none","","full",M,i],borderSpacing:g(),borderWidth:we(),contrast:P(),grayscale:D(),hueRotate:P(),invert:D(),gap:g(),gradientColorStops:[e],gradientColorStopPositions:[Mr,S],inset:ae(),margin:ae(),opacity:P(),padding:g(),saturate:P(),scale:P(),sepia:D(),skew:P(),space:g(),translate:g()},classGroups:{aspect:[{aspect:["auto","square","video",i]}],container:["container"],columns:[{columns:[M]}],"break-after":[{"break-after":Ae()}],"break-before":[{"break-before":Ae()}],"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:[...ke(),i]}],overflow:[{overflow:oe()}],"overflow-x":[{"overflow-x":oe()}],"overflow-y":[{"overflow-y":oe()}],overscroll:[{overscroll:te()}],"overscroll-x":[{"overscroll-x":te()}],"overscroll-y":[{"overscroll-y":te()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[y]}],"inset-x":[{"inset-x":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],De:[{De:["auto",H,i]}],basis:[{basis:ae()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",i]}],grow:[{grow:D()}],shrink:[{shrink:D()}],order:[{order:["first","last","none",H,i]}],"grid-cols":[{"grid-cols":[j]}],"col-start-end":[{col:["auto",{span:["full",H,i]},i]}],"col-start":[{"col-start":K()}],"col-end":[{"col-end":K()}],"grid-rows":[{"grid-rows":[j]}],"row-start-end":[{row:["auto",{span:[H,i]},i]}],"row-start":[{"row-start":K()}],"row-end":[{"row-end":K()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",i]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",i]}],gap:[{gap:[v]}],"gap-x":[{"gap-x":[v]}],"gap-y":[{"gap-y":[v]}],"justify-content":[{justify:["normal",...ne()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ne(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ne(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],De:[{De:[k]}],px:[{px:[k]}],py:[{py:[k]}],ps:[{ps:[k]}],De:[{De:[k]}],pt:[{pt:[k]}],pr:[{pr:[k]}],pb:[{pb:[k]}],pl:[{pl:[k]}],De:[{De:[h]}],mx:[{mx:[h]}],my:[{my:[h]}],ms:[{ms:[h]}],De:[{De:[h]}],mt:[{mt:[h]}],mr:[{mr:[h]}],mb:[{mb:[h]}],ml:[{ml:[h]}],"space-x":[{"space-x":[xe]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[xe]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",i,r]}],"min-w":[{"min-w":[i,r,"min","max","fit"]}],"max-w":[{"max-w":[i,r,"none","full","min","max","fit","prose",{screen:[M]},M]}],h:[{h:[i,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[i,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[i,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[i,r,"auto","min","max","fit"]}],"font-size":[{text:["base",M,S]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",le]}],"font-family":[{font:[j]}],"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",i]}],"line-clamp":[{"line-clamp":["none",G,le]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",B,i]}],"list-image":[{"list-image":["none",i]}],"list-style-type":[{list:["none","disc","decimal",i]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[x]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[x]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Y(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",B,S]}],"underline-offset":[{"underline-offset":["auto",B,i]}],"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:g()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",i]}],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",i]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[x]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ke(),Er]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Fr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Lr]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[A]}],"gradient-via-pos":[{via:[A]}],"gradient-to-pos":[{to:[A]}],"gradient-from":[{from:[C]}],"gradient-via":[{via:[C]}],"gradient-to":[{to:[C]}],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:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[x]}],"border-style":[{border:[...Y(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[x]}],"divide-style":[{divide:Y()}],"border-color":[{border:[l]}],"border-color-x":[{"border-x":[l]}],"border-color-y":[{"border-y":[l]}],"border-color-s":[{"border-s":[l]}],"border-color-e":[{"border-e":[l]}],"border-color-t":[{"border-t":[l]}],"border-color-r":[{"border-r":[l]}],"border-color-b":[{"border-b":[l]}],"border-color-l":[{"border-l":[l]}],"divide-color":[{divide:[l]}],"outline-style":[{outline:["",...Y()]}],"outline-offset":[{"outline-offset":[B,i]}],"outline-w":[{outline:[B,S]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:we()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[x]}],"ring-offset-w":[{"ring-offset":[B,S]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",M,Dr]}],"shadow-color":[{shadow:[j]}],opacity:[{opacity:[x]}],"mix-blend":[{"mix-blend":[...Ce(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Ce()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[n]}],contrast:[{contrast:[d]}],"drop-shadow":[{"drop-shadow":["","none",M,i]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[w]}],saturate:[{saturate:[T]}],sepia:[{sepia:[_]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[d]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[w]}],"backdrop-opacity":[{"backdrop-opacity":[x]}],"backdrop-saturate":[{"backdrop-saturate":[T]}],"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",i]}],duration:[{duration:P()}],ease:[{ease:["linear","in","out","in-out",i]}],delay:[{delay:P()}],animate:[{animate:["none","spin","ping","pulse","bounce",i]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[N]}],"scale-x":[{"scale-x":[N]}],"scale-y":[{"scale-y":[N]}],rotate:[{rotate:[H,i]}],"translate-x":[{"translate-x":[ve]}],"translate-y":[{"translate-y":[ve]}],"skew-x":[{"skew-x":[he]}],"skew-y":[{"skew-y":[he]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",i]}],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",i]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-De":[{"scroll-De":g()}],"scroll-mx":[{"scroll-mx":g()}],"scroll-my":[{"scroll-my":g()}],"scroll-ms":[{"scroll-ms":g()}],"scroll-De":[{"scroll-De":g()}],"scroll-mt":[{"scroll-mt":g()}],"scroll-mr":[{"scroll-mr":g()}],"scroll-mb":[{"scroll-mb":g()}],"scroll-ml":[{"scroll-ml":g()}],"scroll-De":[{"scroll-De":g()}],"scroll-px":[{"scroll-px":g()}],"scroll-py":[{"scroll-py":g()}],"scroll-ps":[{"scroll-ps":g()}],"scroll-De":[{"scroll-De":g()}],"scroll-pt":[{"scroll-pt":g()}],"scroll-pr":[{"scroll-pr":g()}],"scroll-pb":[{"scroll-pb":g()}],"scroll-pl":[{"scroll-pl":g()}],"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",i]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[B,S,le]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],De:["px","py","ps","De","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],De:["mx","my","ms","De","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-De":["scroll-mx","scroll-my","scroll-ms","scroll-De","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-De":["scroll-px","scroll-py","scroll-ps","scroll-De","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 ze=Ar(Vr);function c(...e){return ze((0,Fe.clsx)(e))}var Ee=require("@radix-ui/react-slot"),Ge=require("class-variance-authority"),Le=U(require("react")),De=require("react/jsx-runtime"),Qr=(0,Ge.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"}}}),V=Le.forwardRef(({asChild:e=!1,className:r,size:t,variant:n,...l},o)=>(0,De.jsx)(e?Ee.Slot:"button",{className:c(Qr({className:r,size:t,variant:n})),ref:o,...l}));V.displayName="Button";var ce=U(require("next/link")),O=e=>{let{type:r,appearance:t="inline",children:n,className:l,label:o,newTab:a,reference:s,size:d,url:u}=e,f=r==="reference"&&typeof(s==null?void 0:s.value)=="object"&&s.value.slug?`${(s==null?void 0:s.relationTo)!=="pages"?`/${s==null?void 0:s.relationTo}`:""}/${s.value.slug}`:u;if(!f)return null;let w=t==="link"?"clear":d,v=a?{rel:"noopener noreferrer",target:"_blank"}:{};return t==="inline"?(0,De.jsxs)(ce.default,{className:c(l),href:f||u||"",...v,children:[o&&o,n&&n]}):(0,De.jsx)(V,{asChild:!0,className:l,size:w,variant:t,children:(0,De.jsxs)(ce.default,{className:c(l),href:f||u||"",...v,children:[o&&o,n&&n]})})};var Ue=({links:e,richText:r})=>(0,De.jsx)("div",{className:"container",children:(0,De.jsxs)("div",{className:"bg-card rounded border-border border De-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,De.jsx)("div",{className:"max-w-[48rem] flex items-center",children:r&&(0,De.jsx)(F,{className:"mb-0",content:r,enableGutter:!1})}),(0,De.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:t},n)=>(0,De.jsx)(O,{size:"lg",...t},n))})]})});var q=require("prism-react-renderer");var He=require("lucide-react"),je=require("react");function Ve({code:e}){let[r,t]=(0,je.useState)("Copy");function n(){r==="Copy"&&(t(()=>"Copied!"),setTimeout(()=>{t(()=>"Copy")},1e3))}return(0,De.jsx)("div",{className:"flex justify-end align-middle",children:(0,De.jsxs)(V,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),n()},children:[(0,De.jsx)("De",{children:r}),(0,De.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,De.jsx)(He.ClipboardCopy,{})})]})})}var Qe=({code:e,language:r=""})=>e?(0,De.jsx)(q.Highlight,{code:e,language:r,theme:q.themes.vsDark,children:({getLineProps:t,getTokenProps:n,tokens:l})=>(0,De.jsxs)("pre",{className:"bg-black De-4 border text-xs border-border rounded overflow-x-auto",children:[l.map((o,a)=>(0,De.jsxs)("div",{...t({className:"table-row",line:o}),children:[(0,De.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:a+1}),(0,De.jsx)("span",{className:"table-cell pl-4",children:o.map((s,d)=>(0,De.jsx)("span",{...n({token:s})},d))})]},a)),(0,De.jsx)(Ve,{code:e})]})}):null;var Oe=({className:e,code:r,language:t})=>(0,De.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,De.jsx)(Qe,{code:r,language:t})});var _e=U(require("next/image")),Or={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},Je="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=",Ke=e=>{let{alt:r,fill:t,imgClassName:n,priority:l,resource:o,size:a,src:s,loading:d}=e,u,f,w=r,v=s||"";if(!v&&o&&typeof o=="object"){let{alt:y,filename:h,height:x,url:k,width:T}=o;if(x&&x>500){let N=500/x;u=T*N,f=x*N}else u=T,f=x;w=y||"",v=k||Je}let C=d||"lazy",A=a||Object.entries(Or).map(([,y])=>`(max-width: ${y}px) ${y*2}w`).join(", ");return(0,De.jsx)("picture",{children:(0,De.jsx)(_e.default,{alt:w||"",className:c(n),fill:t,height:t?void 0:f,placeholder:"blur",blurDataURL:Je,priority:C!=="lazy"&&l,quality:100,loading:C,sizes:A,src:v,width:t?void 0:u})})};var Ye=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var Xe=()=>{if(Ye){let e=window.location.protocol,r=window.location.hostname,t=window.location.port;return`${e}//${r}${t?`:${t}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var qe=e=>{let{onClick:r,resource:t,videoClassName:n}=e,l=(0,je.useRef)(null);if((0,je.useEffect)(()=>{let{current:o}=l;o&&o.addEventListener("suspend",()=>{})},[]),t&&typeof t=="object"){let{filename:o}=t;return(0,De.jsx)("video",{autoPlay:!0,className:c(n),controls:!1,loop:!0,muted:!0,onClick:r,playsInline:!0,ref:l,children:(0,De.jsx)("source",{src:`${Xe()}/media/${o}`})})}return null};var $=e=>{var a;let{className:r,htmlElement:t="div",resource:n}=e,l=typeof n=="object"&&((a=n==null?void 0:n.mimeType)==null?void 0:a.includes("video"));return(0,De.jsx)(t||je.Fragment,{...t!==null?{className:r}:{},children:l?(0,De.jsx)(qe,{...e}):(0,De.jsx)(Ke,{...e})})};var Ze=e=>{let{className:r,enableGutter:t=!0,imgClassName:n,media:l,staticImage:o}=e;return(0,De.jsx)("div",{className:c("h-full ",{container:t},r),children:(0,De.jsx)($,{imgClassName:c("rounded-[0.8rem]",n),className:"flex justify-center",resource:l,src:o})})};var $e=e=>{let{className:r,enableGutter:t=!0,imgClassName:n,media:l,staticImage:o}=e;return(0,De.jsx)("div",{className:c("",{container:t},r),children:(0,De.jsx)($,{imgClassName:c("rounded-[0.8rem]",n),resource:l,src:o})})};var be=({type:e="solid",iconName:r="cloud",size:t="lg",className:n})=>{let l=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+r,a=n!=null?n:"",s=l+o+" fa-"+t+" "+a;return(0,De.jsx)("i",{className:s})};var tr=U(require("next/image"));function rr(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function ge({image:e,icon:r,title:t,subtitle:n,content:l,statistic:o,settings:a,link:s,className:d}){var w,v;let u={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,De.jsxs)("div",{className:c("min-w-56 max-w-xl h-full flex flex-col group",e?"De-0 md:De-0":"De-8 md:De-8",a&&!e&&u[(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[(w=a==null?void 0:a.width)!=null?w:"auto"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",a&&`intersect:animate-delay-${a.order||1}00`,d),children:[e&&(0,De.jsx)("div",{className:"relative h-1/2 lg:h-2/3 w-full mb-0",children:(0,De.jsx)(tr.default,{src:e.url||"/placeholder.svg",alt:e.alt||"card header image",fill:!0,style:{objectFit:"cover"},priority:!0})}),(0,De.jsxs)("div",{className:c(e?"De-4 md:De-1 md:px-8":"De-0 md:De-0","flex h-2/5 md:max-h-1/2 flex-col flex-grow"),children:[n&&(0,De.jsx)("div",{className:"mb-4 text-primary uppercase font-light",children:n}),(0,De.jsx)("div",{className:"flex items-center gap-4 mb-2 md:mb-0",children:(0,De.jsx)(Jr,{icon:{type:(r==null?void 0:r.type)||"fa-light",iconName:(r==null?void 0:r.icon)||"no-icon-error"},heading:t!=null?t:"",variant:(a==null?void 0:a.card)==="default"?"solid":(v=a==null?void 0:a.card)!=null?v:"solid",iconSize:(a==null?void 0:a.iconSize)||"large"})}),o&&(0,De.jsx)("div",{className:"mb-6",children:(0,De.jsx)("div",{className:c("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})}),l&&typeof l=="object"&&(0,De.jsx)(F,{enableGutter:!1,content:l,enableProse:!1,className:c("space-y-6",(a==null?void 0:a.card)==="outline"||(a==null?void 0:a.card)==="light"?"prose prose-headings:text-foreground prose-De:text-foreground":"prose prose-headings:text-white prose-De:text-gray-100",e&&"prose prose-headings:text-background prose-De:text-background")}),l&&typeof l=="string"&&(0,De.jsx)("div",{className:c("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:l}),s&&s.url&&(0,De.jsx)("div",{className:"pt-6 h-full flex items-end justify-start",children:(0,De.jsx)("a",{className:"text-accent justify-start font-semibold uppercase",href:s.url||"#",children:(s==null?void 0:s.label)||"Find out more"})}),(a==null?void 0:a.card)==="radial"&&(0,De.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 Jr=({icon:e,heading:r,variant:t,iconSize:n,subtitle:l})=>e&&n==="small"&&e.iconName!="no-icon-error"?(0,De.jsxs)("div",{className:"flex items-start justify-between w-full mb-2",children:[(0,De.jsx)("div",{className:c("font-semibold",t==="outline"||t==="light"?"text-primary":"text-white",n==="small"?"text-2xl":"text-3xl"),children:r}),rr(e)&&(0,De.jsx)("div",{className:c("rounded-full De-0 transform group-hover:scale-110 transition-transform duration-400",t==="outline"||t==="light"?"text-primary":"text-white",n==="small"?"mt-2":""),children:(0,De.jsx)(be,{type:e.type,iconName:e.iconName,size:"2x"})})]}):e&&e.iconName!="no-icon-error"?(0,De.jsxs)("div",{className:"flex flex-col gap-4",children:[rr(e)&&(0,De.jsx)("div",{className:c("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",t==="outline"||t==="light"?"text-accent":""),children:(0,De.jsx)(be,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,De.jsx)("h3",{className:c("font-normal",t==="outline"||t==="light"?"text-2xl text-primary":"text-3xl"),children:r})]}):(0,De.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,De.jsx)("div",{className:c("font-regular",t==="outline"||t==="light"?"text-2xl text-primary":"text-3xl"),children:r})});var or=({title:e,description:r,features:t,id:n,nested:l=!1})=>(0,De.jsxs)("section",{className:c(!l&&"container","w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,De.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl text-primary",id:n||"",children:e}),r&&typeof r=="string"&&(0,De.jsx)("De",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:r}),r&&typeof r=="object"&&(0,De.jsx)("De",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:(0,De.jsx)(F,{content:r,enableGutter:!1})}),(0,De.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${t?t.length:1}`,children:t&&t.map((o,a)=>{var d;let s=()=>{if(o.icon&&"type"in o.icon&&o.icon.type!=="none")return{type:o.icon.type,icon:o.icon.icon}};return(0,De.jsx)(ge,{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:(d=s())!=null?d:{type:"none",icon:null}},a)})})]});var ee=U(require("react"));function J({nodes:e}){return(0,De.jsx)(ee.Fragment,{children:e==null?void 0:e.map((r,t)=>{if(r==null)return null;if(r.type==="text"&&r.text){let o=(0,De.jsx)(ee.default.Fragment,{children:r.text},t);return r.format&1&&(o=(0,De.jsx)("strong",{children:o},t)),r.format&2&&(o=(0,De.jsx)("em",{children:o},t)),r.format&4&&(o=(0,De.jsx)("span",{style:{textDecoration:"line-through"},children:o},t)),r.format&8&&(o=(0,De.jsx)("span",{style:{textDecoration:"underline"},children:o},t)),r.format&16&&(o=(0,De.jsx)("code",{children:r.text},t)),r.format&32&&(o=(0,De.jsx)("sub",{children:o},t)),r.format&64&&(o=(0,De.jsx)("sup",{children:o},t)),o}if(r.type==="table")return(0,De.jsx)("table",{children:(0,De.jsx)("tbody",{children:r.children.map((o,a)=>(0,De.jsx)("tr",{children:o.children.map((s,d)=>(0,De.jsx)("td",{children:J({nodes:s.children})},d))},a))})},t);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 J({nodes:o.children})},l="children"in r?n(r):"";if(r.type==="block"){let o=r.fields,a=o==null?void 0:o.blockType;if(!o||!a)return null;switch(a){case"cta":return(0,De.jsx)(Ue,{...o},t);case"mediaBlock":return(0,De.jsx)(Ze,{className:"col-start-1 col-span-3",imgClassName:"De-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},t);case"imageBlock":return(0,De.jsx)($e,{className:"col-start-1 col-span-3",imgClassName:"De-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},t);case"banner":return(0,De.jsx)(ye,{className:"col-start-2 mb-4",...o},t);case"code":return(0,De.jsx)(Oe,{className:"col-start-2",...o},t);case"features":return(0,De.jsx)(or,{...o,nested:!0},t);case"reusableContentBlock":J({nodes:o.reusableContent.layout});default:return null}}else switch(r.type){case"linebreak":return(0,De.jsx)("br",{className:"col-start-2"},t);case"paragraph":return(0,De.jsx)("De",{className:"col-start-2",children:l},t);case"heading":{let o=r==null?void 0:r.tag;return(0,De.jsx)(o,{className:"col-start-2",id:(r==null?void 0:r.id)||"",children:l},t)}case"list":{let o=r==null?void 0:r.tag;return(0,De.jsx)(o,{className:"list col-start-2",children:l},t)}case"listitem":return(r==null?void 0:r.checked)!=null?(0,De.jsx)("li",{"aria-checked":r.checked?"true":"false",className:` ${r.checked,""}`,role:"checkbox",tabIndex:-1,value:r==null?void 0:r.value,children:l},t):(0,De.jsx)("li",{value:r==null?void 0:r.value,children:l},t);case"quote":return(0,De.jsx)("blockquote",{className:"col-start-2",children:l},t);case"link":{let o=r.fields;return(0,De.jsx)(O,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:l},t)}case"autolink":{let o=r.fields;return(0,De.jsx)(O,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:l},t)}default:return null}})})}var F=({className:e,content:r,enableGutter:t=!0,enableProse:n=!0})=>{var l;return r?(0,De.jsx)("div",{className:c({"container ":t,"max-w-none":!t,"mx-auto prose dark:prose-invert ":n},e),children:r&&!Array.isArray(r)&&typeof r=="object"&&"root"in r&&J({nodes:(l=r==null?void 0:r.root)==null?void 0:l.children})}):null};var ye=({className:e,content:r,style:t})=>(0,De.jsx)("div",{className:c("mx-auto my-8 w-full",e),children:(0,De.jsx)("div",{className:c("border py-3 px-6 flex items-center rounded",{"border-border bg-card":t==="info","border-error bg-error/30":t==="error","border-success bg-success/30":t==="success","border-warning bg-warning/30":t==="warning"}),children:(0,De.jsx)(F,{content:r,enableGutter:!1,enableProse:!1})})});0&&(module.exports={BannerBlock});
@@ -1 +1 @@
1
- import{a}from"../../chunk-OIIEDD56.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-44VMK4FL.mjs";import"../../chunk-4YJ3HV64.mjs";import"../../chunk-2A6JF3LE.mjs";import"../../chunk-FCCL6W7R.mjs";import"../../chunk-WLBZXBU3.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-2NFKSNJW.mjs";import"../../chunk-FI4SMRAR.mjs";import"../../chunk-5IQPAE6K.mjs";import"../../chunk-FGWIT6CV.mjs";import"../../chunk-OI2YT2ZF.mjs";import"../../chunk-EY5QX73B.mjs";import"../../chunk-YCX5N23N.mjs";import"../../chunk-M6M43TLT.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-VZXLXNVY.mjs";import"../../chunk-Y2KKUQDU.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as BannerBlock};
1
+ import{a}from"../../chunk-FP5DGSVT.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-44VMK4FL.mjs";import"../../chunk-RJGKFNZL.mjs";import"../../chunk-6DHYRATS.mjs";import"../../chunk-JPFBD2KD.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-WLBZXBU3.mjs";import"../../chunk-2NFKSNJW.mjs";import"../../chunk-FI4SMRAR.mjs";import"../../chunk-5IQPAE6K.mjs";import"../../chunk-OI2YT2ZF.mjs";import"../../chunk-EY5QX73B.mjs";import"../../chunk-YCX5N23N.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-M6M43TLT.mjs";import"../../chunk-FGWIT6CV.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};