cortex-react-components 1.62.0 → 1.62.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 (205) hide show
  1. package/dist/chunk-2ZB6Z7XN.mjs +4 -0
  2. package/dist/chunk-326JXRIS.mjs +1 -0
  3. package/dist/{chunk-X7BL4XNE.mjs → chunk-5ALQQYYE.mjs} +1 -1
  4. package/dist/{chunk-CKHMERFD.mjs → chunk-65BHP4TM.mjs} +1 -1
  5. package/dist/{chunk-W44AKXM4.mjs → chunk-B7STYVDB.mjs} +1 -1
  6. package/dist/{chunk-YRSOMSFW.mjs → chunk-CJF6GVGP.mjs} +1 -1
  7. package/dist/{chunk-WLNBPCJF.mjs → chunk-DVGPU4EL.mjs} +1 -1
  8. package/dist/{chunk-24APRFWG.mjs → chunk-EVVDCPEA.mjs} +1 -1
  9. package/dist/chunk-FGHN2OHF.mjs +1 -0
  10. package/dist/{chunk-YCHCFTKF.mjs → chunk-FN5C27GW.mjs} +1 -1
  11. package/dist/chunk-FSYU3D5O.mjs +1 -0
  12. package/dist/{chunk-RR4HR3KN.mjs → chunk-GHXEOXV4.mjs} +1 -1
  13. package/dist/{chunk-DJMYL5YL.mjs → chunk-HFT5KFCM.mjs} +1 -1
  14. package/dist/{chunk-7J7FNKHF.mjs → chunk-IH37BDR2.mjs} +1 -1
  15. package/dist/{chunk-2H6ELPBB.mjs → chunk-JLCWVIEP.mjs} +1 -1
  16. package/dist/{chunk-KGIOLQSJ.mjs → chunk-JU7C3V5N.mjs} +1 -1
  17. package/dist/{chunk-YH4UFIEW.mjs → chunk-L5MDFQGH.mjs} +1 -1
  18. package/dist/{chunk-ZD7HSIMS.mjs → chunk-MUBDAI2K.mjs} +1 -1
  19. package/dist/{chunk-PARG2DLL.mjs → chunk-NP2M5K7O.mjs} +1 -1
  20. package/dist/{chunk-V4JGZT55.mjs → chunk-OMVXDUX7.mjs} +1 -1
  21. package/dist/{chunk-TLE6V6RN.mjs → chunk-RG5W7B5K.mjs} +1 -1
  22. package/dist/{chunk-W77KSAW7.mjs → chunk-RZUYAUCR.mjs} +1 -1
  23. package/dist/{chunk-2LZPPRWJ.mjs → chunk-U7Q6ZRR3.mjs} +1 -1
  24. package/dist/{chunk-FC3MJHFL.mjs → chunk-UDQTFQR7.mjs} +1 -1
  25. package/dist/{chunk-LSDSIUTM.mjs → chunk-VEWTPB7K.mjs} +1 -1
  26. package/dist/{chunk-T6FBWMZR.mjs → chunk-WKFNZUIR.mjs} +1 -1
  27. package/dist/{chunk-KYZKHJAK.mjs → chunk-WPL2QWNG.mjs} +1 -1
  28. package/dist/{chunk-Q5OSKAPP.mjs → chunk-X4EKDFOJ.mjs} +1 -1
  29. package/dist/{chunk-BZ2FTWEK.mjs → chunk-X4Q7WZZS.mjs} +1 -1
  30. package/dist/{chunk-DXDSW6OM.mjs → chunk-XIVKVQK2.mjs} +1 -1
  31. package/dist/{chunk-DIM5GGBK.mjs → chunk-XZ4GLJWK.mjs} +1 -1
  32. package/dist/chunk-YPK6OLRS.mjs +4 -0
  33. package/dist/{chunk-ITA62TPJ.mjs → chunk-ZJCHVWSF.mjs} +1 -1
  34. package/dist/components/Blocks/Banner.js +1 -1
  35. package/dist/components/Blocks/Banner.mjs +1 -1
  36. package/dist/components/Blocks/CallToAction.js +1 -1
  37. package/dist/components/Blocks/CallToAction.mjs +1 -1
  38. package/dist/components/Blocks/CallToAction.stories.js +1 -1
  39. package/dist/components/Blocks/CallToAction.stories.mjs +1 -1
  40. package/dist/components/Blocks/CollapsibleArea.js +1 -1
  41. package/dist/components/Blocks/CollapsibleArea.mjs +1 -1
  42. package/dist/components/Blocks/CollapsibleArea.stories.js +1 -1
  43. package/dist/components/Blocks/CollapsibleArea.stories.mjs +1 -1
  44. package/dist/components/Blocks/Content.js +1 -1
  45. package/dist/components/Blocks/Content.mjs +1 -1
  46. package/dist/components/Blocks/Content.stories.js +1 -1
  47. package/dist/components/Blocks/Content.stories.mjs +1 -1
  48. package/dist/components/Blocks/FeaturesBlock.js +1 -1
  49. package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
  50. package/dist/components/Blocks/FeaturesBlock.stories.js +1 -1
  51. package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
  52. package/dist/components/Blocks/RelatedPosts.js +1 -1
  53. package/dist/components/Blocks/RelatedPosts.mjs +1 -1
  54. package/dist/components/Blocks/RenderBlocks.js +1 -1
  55. package/dist/components/Blocks/RenderBlocks.mjs +1 -1
  56. package/dist/components/Blocks/ReusableContentBlock.js +1 -1
  57. package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
  58. package/dist/components/Blocks/index.js +1 -1
  59. package/dist/components/Blocks/index.mjs +1 -1
  60. package/dist/components/Cards/ContentCard.js +1 -1
  61. package/dist/components/Cards/ContentCard.mjs +1 -1
  62. package/dist/components/Cards/ContentCard.stories.js +1 -1
  63. package/dist/components/Cards/ContentCard.stories.mjs +1 -1
  64. package/dist/components/Cards/FeatureCard.js +1 -1
  65. package/dist/components/Cards/FeatureCard.mjs +1 -1
  66. package/dist/components/Cards/FeatureCard.stories.js +1 -1
  67. package/dist/components/Cards/FeatureCard.stories.mjs +1 -1
  68. package/dist/components/Cards/index.js +4 -4
  69. package/dist/components/Cards/index.mjs +1 -1
  70. package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
  71. package/dist/components/DigitalColleagues/MainPage.stories.mjs +1 -1
  72. package/dist/components/HeaderFooter/Header.mjs +1 -1
  73. package/dist/components/HeaderFooter/Header.stories.mjs +1 -1
  74. package/dist/components/HeaderFooter/RelatedPagesMenu.js +1 -1
  75. package/dist/components/HeaderFooter/RelatedPagesMenu.mjs +1 -1
  76. package/dist/components/HeaderFooter/SectionHeading.js +1 -1
  77. package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
  78. package/dist/components/HeaderFooter/index.d.ts +1 -0
  79. package/dist/components/HeaderFooter/index.js +1 -1
  80. package/dist/components/HeaderFooter/index.mjs +1 -1
  81. package/dist/components/Heros/HighImpact/index.js +1 -1
  82. package/dist/components/Heros/HighImpact/index.mjs +1 -1
  83. package/dist/components/Heros/LowImpact/index.js +1 -1
  84. package/dist/components/Heros/LowImpact/index.mjs +1 -1
  85. package/dist/components/Heros/MediumImpact/index.js +1 -1
  86. package/dist/components/Heros/MediumImpact/index.mjs +1 -1
  87. package/dist/components/Heros/PostHero/index.mjs +1 -1
  88. package/dist/components/Heros/RenderHero.js +1 -1
  89. package/dist/components/Heros/RenderHero.mjs +1 -1
  90. package/dist/components/Heros/index.js +1 -1
  91. package/dist/components/Heros/index.mjs +1 -1
  92. package/dist/components/Layouts/FeatureGrid.stories.js +1 -1
  93. package/dist/components/Layouts/FeatureGrid.stories.mjs +1 -1
  94. package/dist/components/Layouts/OutputHeaderFooter.js +1 -1
  95. package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
  96. package/dist/components/Layouts/Print.js +1 -1
  97. package/dist/components/Layouts/Print.mjs +1 -1
  98. package/dist/components/Layouts/Print.stories.js +1 -1
  99. package/dist/components/Layouts/Print.stories.mjs +1 -1
  100. package/dist/components/Layouts/SlideShow.js +1 -1
  101. package/dist/components/Layouts/SlideShow.mjs +1 -1
  102. package/dist/components/Layouts/SlideShow.stories.js +1 -1
  103. package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
  104. package/dist/components/Layouts/index.js +1 -1
  105. package/dist/components/Layouts/index.mjs +1 -1
  106. package/dist/components/Menus/RelatedContent.d.ts +2 -2
  107. package/dist/components/Menus/RelatedContent.js +1 -1
  108. package/dist/components/Menus/RelatedContent.mjs +1 -1
  109. package/dist/components/Menus/RelatedContent.stories.js +1 -1
  110. package/dist/components/Menus/RelatedContent.stories.mjs +1 -1
  111. package/dist/components/Menus/index.js +1 -1
  112. package/dist/components/Menus/index.mjs +1 -1
  113. package/dist/components/Payload/RichText/index.js +1 -1
  114. package/dist/components/Payload/RichText/index.mjs +1 -1
  115. package/dist/components/Payload/RichText/serialize.js +1 -1
  116. package/dist/components/Payload/RichText/serialize.mjs +1 -1
  117. package/dist/components/Payload/RichText.stories.js +1 -1
  118. package/dist/components/Payload/RichText.stories.mjs +1 -1
  119. package/dist/components/Payload/index.js +1 -1
  120. package/dist/components/Payload/index.mjs +1 -1
  121. package/dist/components/index.js +8 -8
  122. package/dist/components/index.mjs +1 -1
  123. package/dist/components/ui/index.mjs +1 -1
  124. package/dist/globals.css +1 -1
  125. package/dist/hooks/index.mjs +1 -1
  126. package/dist/index.js +13 -13
  127. package/dist/index.mjs +1 -1
  128. package/dist/metafile-cjs.json +1 -1
  129. package/dist/metafile-esm.json +1 -1
  130. package/dist/pages/Blog.js +1 -1
  131. package/dist/pages/Blog.mjs +1 -1
  132. package/dist/pages/Blog.stories.js +1 -1
  133. package/dist/pages/Blog.stories.mjs +1 -1
  134. package/dist/pages/Documentation.mjs +1 -1
  135. package/dist/pages/Documentation.stories.mjs +1 -1
  136. package/dist/pages/IndexPage.mjs +1 -1
  137. package/dist/pages/IndexPage.stories.mjs +1 -1
  138. package/dist/pages/Intranet.mjs +1 -1
  139. package/dist/pages/Intranet.stories.mjs +1 -1
  140. package/dist/pages/LandingPage.js +1 -1
  141. package/dist/pages/LandingPage.mjs +1 -1
  142. package/dist/pages/LandingPage.stories.js +1 -1
  143. package/dist/pages/LandingPage.stories.mjs +1 -1
  144. package/dist/pages/Page.js +1 -1
  145. package/dist/pages/Page.mjs +1 -1
  146. package/dist/pages/Page.stories.js +1 -1
  147. package/dist/pages/Page.stories.mjs +1 -1
  148. package/dist/pages/Printable.stories.js +1 -1
  149. package/dist/pages/Printable.stories.mjs +1 -1
  150. package/dist/pages/Publish.js +1 -1
  151. package/dist/pages/Publish.mjs +1 -1
  152. package/dist/pages/Publish.stories.js +1 -1
  153. package/dist/pages/Publish.stories.mjs +1 -1
  154. package/dist/pages/Website.js +1 -1
  155. package/dist/pages/Website.mjs +1 -1
  156. package/dist/pages/Website.stories.js +1 -1
  157. package/dist/pages/Website.stories.mjs +1 -1
  158. package/dist/sections/AboutSection.js +1 -1
  159. package/dist/sections/AboutSection.mjs +1 -1
  160. package/dist/sections/AboutSection.stories.js +1 -1
  161. package/dist/sections/AboutSection.stories.mjs +1 -1
  162. package/dist/sections/BlogDetail.js +1 -1
  163. package/dist/sections/BlogDetail.mjs +1 -1
  164. package/dist/sections/BlogDetail.stories.js +1 -1
  165. package/dist/sections/BlogDetail.stories.mjs +1 -1
  166. package/dist/sections/BlogList.js +1 -1
  167. package/dist/sections/BlogList.mjs +1 -1
  168. package/dist/sections/BlogList.stories.js +1 -1
  169. package/dist/sections/BlogList.stories.mjs +1 -1
  170. package/dist/sections/BlogListSection.mjs +1 -1
  171. package/dist/sections/BlogListSection.stories.mjs +1 -1
  172. package/dist/sections/ContactSection.js +1 -1
  173. package/dist/sections/ContactSection.mjs +1 -1
  174. package/dist/sections/ContactSection.stories.js +1 -1
  175. package/dist/sections/ContactSection.stories.mjs +1 -1
  176. package/dist/sections/ImageSection.stories.js +1 -1
  177. package/dist/sections/ImageSection.stories.mjs +1 -1
  178. package/dist/sections/MainPageSection.js +1 -1
  179. package/dist/sections/MainPageSection.mjs +1 -1
  180. package/dist/sections/PageSections.js +1 -1
  181. package/dist/sections/PageSections.mjs +1 -1
  182. package/dist/sections/PageSections.stories.js +1 -1
  183. package/dist/sections/PageSections.stories.mjs +1 -1
  184. package/dist/sections/PricingSection.js +1 -1
  185. package/dist/sections/PricingSection.mjs +1 -1
  186. package/dist/sections/PricingSection.stories.js +1 -1
  187. package/dist/sections/PricingSection.stories.mjs +1 -1
  188. package/dist/sections/ServiceDetail.js +1 -1
  189. package/dist/sections/ServiceDetail.mjs +1 -1
  190. package/dist/sections/ServiceDetailSection.js +1 -1
  191. package/dist/sections/ServiceDetailSection.mjs +1 -1
  192. package/dist/sections/ServiceDetailSection.stories.js +1 -1
  193. package/dist/sections/ServiceDetailSection.stories.mjs +1 -1
  194. package/dist/sections/ServiceSection.js +1 -1
  195. package/dist/sections/ServiceSection.mjs +1 -1
  196. package/dist/sections/ServiceSection.stories.js +1 -1
  197. package/dist/sections/ServiceSection.stories.mjs +1 -1
  198. package/dist/sections/index.js +1 -1
  199. package/dist/sections/index.mjs +1 -1
  200. package/package.json +1 -1
  201. package/dist/chunk-4CCX3VUG.mjs +0 -1
  202. package/dist/chunk-F75HZ4ID.mjs +0 -4
  203. package/dist/chunk-TNHG4LC5.mjs +0 -1
  204. package/dist/chunk-WQVJEFK2.mjs +0 -4
  205. package/dist/chunk-WWAAWBLR.mjs +0 -1
@@ -2,5 +2,5 @@
2
2
  "use strict";
3
3
  'use server'
4
4
 
5
- "use strict";"use client";var qt=Object.create;var ue=Object.defineProperty;var $t=Object.getOwnPropertyDescriptor;var Kt=Object.getOwnPropertyNames;var Jt=Object.getPrototypeOf,Xt=Object.prototype.hasOwnProperty;var Zt=(e,t)=>{for(var r in t)ue(e,r,{get:t[r],enumerable:!0})},rt=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Kt(t))!Xt.call(e,a)&&a!==r&&ue(e,a,{get:()=>t[a],enumerable:!(n=$t(t,a))||n.enumerable});return e};var L=(e,t,r)=>(r=e!=null?qt(Jt(e)):{},rt(t||!e||!e.__esModule?ue(r,"default",{value:e,enumerable:!0}):r,e)),_t=e=>rt(ue({},"__esModule",{value:!0}),e);var Wr={};Zt(Wr,{FlowPrintable:()=>Qt,PagePrintable:()=>Vt,Printable:()=>Or});module.exports=_t(Wr);var N=require("react"),ce=require("pagedjs");var mt=require("clsx");var ze="-",er=e=>{let t=rr(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:l=>{let s=l.split(ze);return s[0]===""&&s.length!==1&&s.shift(),at(s,t)||tr(l)},getConflictingClassGroupIds:(l,s)=>{let c=r[l]||[];return s&&n[l]?[...c,...n[l]]:c}}},at=(e,t)=>{if(e.length===0)return t.classGroupId;let r=e[0],n=t.nextPart.get(r),a=n?at(e.slice(1),n):void 0;if(a)return a;if(t.validators.length===0)return;let o=e.join(ze);return t.validators.find(({validator:l})=>l(o))?.classGroupId},ot=/^\[(.+)\]$/,tr=e=>{if(ot.test(e)){let t=ot.exec(e)[1],r=t?.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},rr=e=>{let{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]};return nr(Object.entries(e.classGroups),r).forEach(([o,l])=>{Fe(l,n,o,t)}),n},Fe=(e,t,r,n)=>{e.forEach(a=>{if(typeof a=="string"){let o=a===""?t:nt(t,a);o.classGroupId=r;return}if(typeof a=="function"){if(or(a)){Fe(a(n),t,r,n);return}t.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(([o,l])=>{Fe(l,nt(t,o),r,n)})})},nt=(e,t)=>{let r=e;return t.split(ze).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},or=e=>e.isThemeGetter,nr=(e,t)=>t?e.map(([r,n])=>{let a=n.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([l,s])=>[t+l,s])):o);return[r,a]}):e,ar=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,n=new Map,a=(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 a(o,l),l},set(o,l){r.has(o)?r.set(o,l):a(o,l)}}},st="!",sr=e=>{let{separator:t,experimentalParseClassName:r}=e,n=t.length===1,a=t[0],o=t.length,l=s=>{let c=[],m=0,d=0,p;for(let w=0;w<s.length;w++){let C=s[w];if(m===0){if(C===a&&(n||s.slice(w,w+o)===t)){c.push(s.slice(d,w)),d=w+o;continue}if(C==="/"){p=w;continue}}C==="["?m++:C==="]"&&m--}let b=c.length===0?s:s.substring(d),B=b.startsWith(st),P=B?b.substring(1):b,k=p&&p>d?p-d:void 0;return{modifiers:c,hasImportantModifier:B,baseClassName:P,maybePostfixModifierPosition:k}};return r?s=>r({className:s,parseClassName:l}):l},lr=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},ir=e=>({cache:ar(e.cacheSize),parseClassName:sr(e),...er(e)}),cr=/\s+/,dr=(e,t)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:a}=t,o=[],l=e.trim().split(cr),s="";for(let c=l.length-1;c>=0;c-=1){let m=l[c],{modifiers:d,hasImportantModifier:p,baseClassName:b,maybePostfixModifierPosition:B}=r(m),P=!!B,k=n(P?b.substring(0,B):b);if(!k){if(!P){s=m+(s.length>0?" "+s:s);continue}if(k=n(b),!k){s=m+(s.length>0?" "+s:s);continue}P=!1}let w=lr(d).join(":"),C=p?w+st:w,T=C+k;if(o.includes(T))continue;o.push(T);let U=a(k,P);for(let E=0;E<U.length;++E){let de=U[E];o.push(C+de)}s=m+(s.length>0?" "+s:s)}return s};function mr(){let e=0,t,r,n="";for(;e<arguments.length;)(t=arguments[e++])&&(r=lt(t))&&(n&&(n+=" "),n+=r);return n}var lt=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=lt(e[n]))&&(r&&(r+=" "),r+=t);return r};function pr(e,...t){let r,n,a,o=l;function l(c){let m=t.reduce((d,p)=>p(d),e());return r=ir(m),n=r.cache.get,a=r.cache.set,o=s,s(c)}function s(c){let m=n(c);if(m)return m;let d=dr(c,r);return a(c,d),d}return function(){return o(mr.apply(null,arguments))}}var h=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},it=/^\[(?:([a-ge-]+):)?(.+)\]$/i,ur=/^\d+\/\d+$/,gr=new Set(["px","full","screen"]),fr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,br=/\d+(%|px|r?em|[sdl]?ge([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$/,hr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,yr=/^(inset_)?-?((\d+)?\.?(\d+)[a-ge]+|0)_-?((\d+)?\.?(\d+)[a-ge]+|0)/,xr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,H=e=>J(e)||gr.has(e)||ur.test(e),O=e=>X(e,"length",Ar),J=e=>!!e&&!Number.isNaN(Number(e)),Me=e=>X(e,"number",J),ae=e=>!!e&&Number.isInteger(Number(e)),vr=e=>e.endsWith("%")&&J(e.slice(0,-1)),u=e=>it.test(e),W=e=>fr.test(e),kr=new Set(["length","size","percentage"]),wr=e=>X(e,kr,ct),Cr=e=>X(e,"position",ct),Nr=new Set(["image","url"]),Br=e=>X(e,Nr,Rr),Pr=e=>X(e,"",Tr),se=()=>!0,X=(e,t,r)=>{let n=it.exec(e);return n?n[1]?typeof t=="string"?n[1]===t:t.has(n[1]):r(n[2]):!1},Ar=e=>br.test(e)&&!hr.test(e),ct=()=>!1,Tr=e=>yr.test(e),Rr=e=>xr.test(e);var Ir=()=>{let e=h("colors"),t=h("spacing"),r=h("blur"),n=h("brightness"),a=h("borderColor"),o=h("borderRadius"),l=h("borderSpacing"),s=h("borderWidth"),c=h("contrast"),m=h("grayscale"),d=h("hueRotate"),p=h("invert"),b=h("gap"),B=h("gradientColorStops"),P=h("gradientColorStopPositions"),k=h("inset"),w=h("margin"),C=h("opacity"),T=h("padding"),U=h("saturate"),E=h("scale"),de=h("sepia"),Ke=h("skew"),Je=h("space"),Xe=h("translate"),Te=()=>["auto","contain","none"],Re=()=>["auto","hidden","clip","visible","scroll"],Ie=()=>["auto",u,t],x=()=>[u,t],Ze=()=>["",H,O],me=()=>["auto",J,u],_e=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],pe=()=>["solid","dashed","dotted","double","none"],et=()=>["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"],ne=()=>["","0",u],tt=()=>["auto","avoid","all","avoid-page","page","left","right","column"],D=()=>[J,u];return{cacheSize:500,separator:":",theme:{colors:[se],spacing:[H,O],blur:["none","",W,u],brightness:D(),borderColor:[e],borderRadius:["none","","full",W,u],borderSpacing:x(),borderWidth:Ze(),contrast:D(),grayscale:ne(),hueRotate:D(),invert:ne(),gap:x(),gradientColorStops:[e],gradientColorStopPositions:[vr,O],inset:Ie(),margin:Ie(),opacity:D(),padding:x(),saturate:D(),scale:D(),sepia:ne(),skew:D(),space:x(),translate:x()},classGroups:{aspect:[{aspect:["auto","square","video",u]}],container:["container"],columns:[{columns:[W]}],"break-after":[{"break-after":tt()}],"break-before":[{"break-before":tt()}],"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:[..._e(),u]}],overflow:[{overflow:Re()}],"overflow-x":[{"overflow-x":Re()}],"overflow-ge":[{"overflow-ge":Re()}],overscroll:[{overscroll:Te()}],"overscroll-x":[{"overscroll-x":Te()}],"overscroll-ge":[{"overscroll-ge":Te()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[k]}],"inset-x":[{"inset-x":[k]}],"inset-ge":[{"inset-ge":[k]}],start:[{start:[k]}],end:[{end:[k]}],top:[{top:[k]}],right:[{right:[k]}],bottom:[{bottom:[k]}],left:[{left:[k]}],visibility:["visible","invisible","collapse"],ge:[{ge:["auto",ae,u]}],basis:[{basis:Ie()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",u]}],grow:[{grow:ne()}],shrink:[{shrink:ne()}],order:[{order:["first","last","none",ae,u]}],"grid-cols":[{"grid-cols":[se]}],"col-start-end":[{col:["auto",{span:["full",ae,u]},u]}],"col-start":[{"col-start":me()}],"col-end":[{"col-end":me()}],"grid-rows":[{"grid-rows":[se]}],"row-start-end":[{row:["auto",{span:[ae,u]},u]}],"row-start":[{"row-start":me()}],"row-end":[{"row-end":me()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",u]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",u]}],gap:[{gap:[b]}],"gap-x":[{"gap-x":[b]}],"gap-ge":[{"gap-ge":[b]}],"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:[T]}],px:[{px:[T]}],py:[{py:[T]}],ps:[{ps:[T]}],pe:[{pe:[T]}],pt:[{pt:[T]}],pr:[{pr:[T]}],pb:[{pb:[T]}],pl:[{pl:[T]}],m:[{m:[w]}],mx:[{mx:[w]}],my:[{my:[w]}],ms:[{ms:[w]}],me:[{me:[w]}],mt:[{mt:[w]}],mr:[{mr:[w]}],mb:[{mb:[w]}],ml:[{ml:[w]}],"space-x":[{"space-x":[Je]}],"space-x-reverse":["space-x-reverse"],"space-ge":[{"space-ge":[Je]}],"space-ge-reverse":["space-ge-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",u,t]}],"min-w":[{"min-w":[u,t,"min","max","fit"]}],"max-w":[{"max-w":[u,t,"none","full","min","max","fit","prose",{screen:[W]},W]}],h:[{h:[u,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[u,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[u,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[u,t,"auto","min","max","fit"]}],"font-size":[{text:["base",W,O]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Me]}],"font-family":[{font:[se]}],"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",u]}],"line-clamp":[{"line-clamp":["none",J,Me]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",H,u]}],"list-image":[{"list-image":["none",u]}],"list-style-type":[{list:["none","disc","decimal",u]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[C]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[C]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...pe(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",H,O]}],"underline-offset":[{"underline-offset":["auto",H,u]}],"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:x()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",u]}],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",u]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[C]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[..._e(),Cr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","ge","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",wr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Br]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[P]}],"gradient-via-pos":[{via:[P]}],"gradient-to-pos":[{to:[P]}],"gradient-from":[{from:[B]}],"gradient-via":[{via:[B]}],"gradient-to":[{to:[B]}],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-ge":[{"rounded-ge":[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-ge":[{"border-ge":[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":[C]}],"border-style":[{border:[...pe(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-ge":[{"divide-ge":[s]}],"divide-ge-reverse":["divide-ge-reverse"],"divide-opacity":[{"divide-opacity":[C]}],"divide-style":[{divide:pe()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-ge":[{"border-ge":[a]}],"border-color-s":[{"border-s":[a]}],"border-color-e":[{"border-e":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...pe()]}],"outline-offset":[{"outline-offset":[H,u]}],"outline-w":[{outline:[H,O]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Ze()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[C]}],"ring-offset-w":[{"ring-offset":[H,O]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",W,Pr]}],"shadow-color":[{shadow:[se]}],opacity:[{opacity:[C]}],"mix-blend":[{"mix-blend":[...et(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":et()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",W,u]}],grayscale:[{grayscale:[m]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[p]}],saturate:[{saturate:[U]}],sepia:[{sepia:[de]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[m]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[p]}],"backdrop-opacity":[{"backdrop-opacity":[C]}],"backdrop-saturate":[{"backdrop-saturate":[U]}],"backdrop-sepia":[{"backdrop-sepia":[de]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-ge":[{"border-spacing-ge":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",u]}],duration:[{duration:D()}],ease:[{ease:["linear","in","out","in-out",u]}],delay:[{delay:D()}],animate:[{animate:["none","spin","ping","pulse","bounce",u]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[E]}],"scale-x":[{"scale-x":[E]}],"scale-ge":[{"scale-ge":[E]}],rotate:[{rotate:[ae,u]}],"translate-x":[{"translate-x":[Xe]}],"translate-ge":[{"translate-ge":[Xe]}],"skew-x":[{"skew-x":[Ke]}],"skew-ge":[{"skew-ge":[Ke]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",u]}],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",u]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","ge","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":x()}],"scroll-mx":[{"scroll-mx":x()}],"scroll-my":[{"scroll-my":x()}],"scroll-ms":[{"scroll-ms":x()}],"scroll-me":[{"scroll-me":x()}],"scroll-mt":[{"scroll-mt":x()}],"scroll-mr":[{"scroll-mr":x()}],"scroll-mb":[{"scroll-mb":x()}],"scroll-ml":[{"scroll-ml":x()}],"scroll-p":[{"scroll-p":x()}],"scroll-px":[{"scroll-px":x()}],"scroll-py":[{"scroll-py":x()}],"scroll-ps":[{"scroll-ps":x()}],"scroll-pe":[{"scroll-pe":x()}],"scroll-pt":[{"scroll-pt":x()}],"scroll-pr":[{"scroll-pr":x()}],"scroll-pb":[{"scroll-pb":x()}],"scroll-pl":[{"scroll-pl":x()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","ge","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-ge":[{"touch-pan":["ge","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",u]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[H,O,Me]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-ge"],overscroll:["overscroll-x","overscroll-ge"],inset:["inset-x","inset-ge","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-ge":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-ge"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ge","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ge"],"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-ge"],"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-ge":["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-ge":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-ge","touch-pz"],"touch-x":["touch"],"touch-ge":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var dt=pr(Ir);function i(...e){return dt((0,mt.clsx)(e))}var Yt=L(require("next/image"));var ge=require("react/jsx-runtime"),pt=({className:e,content:t,style:r})=>(0,ge.jsx)("div",{className:i("mx-auto my-8 w-full",e),children:(0,ge.jsx)("div",{className:i("border py-3 px-6 flex items-center rounded",{"border-border bg-card":r==="info","border-error bg-error/30":r==="error","border-success bg-success/30":r==="success","border-warning bg-warning/30":r==="warning"}),children:(0,ge.jsx)(R,{content:t,enableGutter:!1,enableProse:!1})})});var fe=require("prism-react-renderer");function Ee(e){let t=0,r=(o,l)=>`${o.toLowerCase().replace(/\s+/ge,"-").replace(/[^\w-]/ge,"")}-${l}`,n=e.layout.flatMap(o=>{let l=[];return"title"in o&&o.title&&l.push({text:o.title,id:r(o.title,t++),tag:"h2"}),"columns"in o&&Array.isArray(o.columns)&&o.columns.forEach(s=>{if(s.title&&l.push({text:s.title,id:r(s.title,t++),tag:"h2"}),s.richText?.root?.children&&s.richText?.root?.children.length===1){let c=s.richText.root.children.filter(m=>m!==void 0&&m.type==="heading");for(let m of c)m.children[0]&&l.push({text:m.children[0].text??"",id:r(m.children[0].text,t++),tag:m.tag||"h2"})}}),l}),a=Sr(e.layout);return{tableOfContents:n,contentWithIds:a}}function Sr(e){let t=(n,a)=>`${n.toLowerCase().replace(/\s+/ge,"-").replace(/[^\w-]/ge,"")}-${a}`,r=0;return e.map(n=>(n.title&&(n.id=t(n.title,r++)),n.columns&&(n.columns=n.columns.map(a=>(a.title&&(a.id=t(a.title,r++)),a.richText&&(a.richText.root.children=a.richText.root.children.filter(o=>o!==void 0).map(o=>(o.type==="heading"&&o.children&&o.children[0].text?o.id=t(o.children[0].text,r++):o.type==="block"&&o.fields?.media&&(o.id=t(`image-${r}`,r++)),o))),a))),n))}var ut=require("@radix-ui/react-slot"),gt=require("class-variance-authority"),ft=L(require("react")),Mr=(0,gt.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=ft.forwardRef(({asChild:e=!1,className:t,size:r,variant:n,...a},o)=>(0,ge.jsx)(e?ut.Slot:"button",{className:i(Mr({className:t,size:r,variant:n})),ref:o,...a}));V.displayName="Button";var ht=require("lucide-react");function xt({code:e}){let[t,r]=(0,N.useState)("Copy");function n(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,ge.jsx)("div",{className:"flex justify-end align-middle",children:(0,ge.jsxs)(V,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),n()},children:[(0,ge.jsx)("p",{children:t}),(0,ge.jsx)("div",{className:"w-6 h-6",children:(0,ge.jsx)(ht.ClipboardCopy,{})})]})})}var vt=({code:e,language:t=""})=>e?(0,ge.jsx)(fe.Highlight,{code:e,language:t,theme:fe.themes.vsDark,children:({getLineProps:r,getTokenProps:n,tokens:a})=>(0,ge.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[a.map((o,l)=>(0,ge.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,ge.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:l+1}),(0,ge.jsx)("span",{className:"table-cell pl-4",children:o.map((s,c)=>(0,ge.jsx)("span",{...n({token:s})},c))})]},l)),(0,ge.jsx)(xt,{code:e})]})}):null;var kt=({className:e,code:t,language:r})=>(0,ge.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,ge.jsx)(vt,{code:t,language:r})});var Ct=L(require("next/image")),Fr={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},wt="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=",Nt=e=>{let{alt:t,fill:r,imgClassName:n,priority:a,resource:o,size:l,src:s,loading:c}=e,m,d,p=t,b=s||"";if(!b&&o&&typeof o=="object"){let{alt:k,filename:w,height:C,url:T,width:U}=o;if(C&&C>500){let E=500/C;m=U*E,d=C*E}else m=U,d=C;p=k||"",b=T||wt}let B=c||"lazy",P=l||Object.entries(Fr).map(([,k])=>`(max-width: ${k}px) ${k*2}w`).join(", ");return(0,ge.jsx)("picture",{children:(0,ge.jsx)(Ct.default,{alt:p||"",className:i(n),fill:r,height:r?void 0:d,placeholder:"blur",blurDataURL:wt,priority:B!=="lazy"&&a,quality:100,loading:B,sizes:P,src:b,width:r?void 0:m})})};var Bt=e=>{let{onClick:t,resource:r,videoClassName:n}=e,a=(0,N.useRef)(null);if((0,N.useEffect)(()=>{let{current:o}=a;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,ge.jsx)("video",{autoPlay:!0,className:i(n),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:a,children:(0,ge.jsx)("source",{src:r.url||""})})}return null};var ye=e=>{let{className:t,htmlElement:r="div",resource:n}=e,a=typeof n=="object"&&n?.mimeType?.includes("video");return(0,ge.jsx)(r||N.Fragment,{...r!==null?{className:t}:{},children:a?(0,ge.jsx)(Bt,{...e}):(0,ge.jsx)(Nt,{...e})})};var Y=e=>{let{className:t,enableGutter:r=!0,imgClassName:n,media:a,staticImage:o}=e;return(0,ge.jsx)("div",{className:i("h-full ",{container:r},t),children:(0,ge.jsx)(ye,{imgClassName:i("rounded-[0.8rem]",n),className:"flex justify-center",resource:a,src:o})})};var At=e=>{let{className:t,enableGutter:r=!0,imgClassName:n,media:a,staticImage:o}=e;return(0,ge.jsx)("div",{className:i("",{container:r},t),children:(0,ge.jsx)(ye,{imgClassName:i("rounded-[0.8rem]",n),resource:a,src:o})})};var Ue=({type:e="solid",iconName:t="cloud",size:r="lg",className:n})=>{let a=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,l=n??"",s=a+o+" fa-"+r+" "+l;return(0,ge.jsx)("i",{className:s})};var It=L(require("next/image"));function Rt(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function Oe({image:e,icon:t,title:r,subtitle:n,content:a,statistic:o,settings:l,link:s,className:c}){let m={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"},d={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return(0,ge.jsxs)("a",{href:s?.url||"#",className:i("min-w-56 max-w-xl h-full flex flex-col group bg-background",e?"p-0":"p-6 md:p-8",l&&!e&&m[l?.card==="default"?"solid":l?.card],e&&"bg-foreground",l&&l?.card==="outline"?"text-gray-900":"text-white",d[l?.width??"auto"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",l&&`intersect:animate-delay-${l.order||1}00`,c),children:[e&&(0,ge.jsx)("div",{className:"relative aspect-[16/9] w-full",children:(0,ge.jsx)(It.default,{src:e.url||"/placeholder.svg",alt:e.alt||"card header image",fill:!0,style:{objectFit:"cover"},priority:!0})}),(0,ge.jsxs)("div",{className:i(e?"p-6 md:p-8":"p-0","flex flex-col flex-grow"),children:[(0,ge.jsxs)("div",{className:"flex flex-col flex-grow",children:[n&&(0,ge.jsx)("div",{className:"text-primary uppercase text-sm font-light mb-4",children:n}),(0,ge.jsx)("div",{className:"flex items-start gap-4 mb-4",children:(0,ge.jsx)(zr,{icon:{type:t?.type||"fa-light",iconName:t?.icon||"no-icon-error"},heading:r??"",variant:l?.card==="default"?"solid":l?.card??"solid",iconSize:l?.iconSize||"large"})}),a&&typeof a=="object"&&(0,ge.jsx)(R,{enableGutter:!1,content:a,enableProse:!1,className:i("prose-sm prose-p:text-lg prose-headings:text-xl","space-ge-3",l?.card==="outline"||l?.card==="light"?"prose-headings:text-foreground prose-p:text-foreground prose-a:text-foreground":"prose-headings:text-white prose-p:text-gray-100 prose-a:text-gray-100",e&&"prose-headings:text-background prose-p:text-background")}),a&&typeof a=="string"&&(0,ge.jsx)("div",{className:i("prose-sm prose-p:text-lg prose-headings:text-xl","space-ge-3",l?.card==="outline"||l?.card==="light"?"prose text-foreground":"prose text-gray-100",e&&"prose text-background"),children:a})]}),s&&s.url&&(0,ge.jsx)("div",{className:"mt-6",children:(0,ge.jsx)("span",{className:"text-accent font-semibold uppercase text-sm block hover:text-accent/80 transition-colors",children:s?.label||"Find out more"})})]})]})}var zr=({icon:e,heading:t,variant:r,iconSize:n,subtitle:a})=>e&&n==="small"&&e.iconName!="no-icon-error"?(0,ge.jsxs)("div",{className:"flex items-start justify-between w-full mb-2",children:[(0,ge.jsx)("div",{className:i(r==="outline"||r==="light"?"text-primary":"text-white",n==="small"?"text-2xl":"text-3xl"),children:t}),Rt(e)&&(0,ge.jsx)("div",{className:i("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-primary":"text-white",n==="small"?"-mr-2 ml-1 mt-1":""),children:(0,ge.jsx)(Ue,{type:e.type,iconName:e.iconName,size:"2x"})})]}):e&&e.iconName!="no-icon-error"?(0,ge.jsxs)("div",{className:"flex flex-col gap-4",children:[Rt(e)&&(0,ge.jsx)("div",{className:i("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-accent":""),children:(0,ge.jsx)(Ue,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,ge.jsx)("h3",{className:i("font-normal",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl text-white"),children:t})]}):(0,ge.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,ge.jsx)("div",{className:i("font-regular",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})});var Z=({title:e,description:t,features:r,id:n,nested:a=!1})=>(0,ge.jsxs)("section",{className:i(a?"w-full":"container",""),children:[(0,ge.jsxs)("div",{className:"prose prose:max-w-none",children:[e&&(0,ge.jsx)("h2",{className:"mb-6 mt-0 text-primary",id:n||"",children:e}),t&&typeof t=="string"&&(0,ge.jsx)("p",{className:"mb-5 text-foreground",children:t}),t&&typeof t=="object"&&(0,ge.jsx)("div",{className:"mb-5 text-foreground",children:(0,ge.jsx)(R,{content:t,enableGutter:!1})})]}),(0,ge.jsx)("div",{className:`grid gap-6 mt-6 md:grid-cols-${r?r.length>2?2:r.length:1} lg:grid-cols-${r?r.length>3?3:r.length:1}`,children:r&&r.map((o,l)=>{let s=()=>{if(o.icon&&"type"in o.icon&&o.icon.type!=="none")return{type:o.icon.type,icon:o.icon.icon}};return(0,ge.jsx)(Oe,{title:o.title||"",content:o.content||void 0,statistic:o.statistic||void 0,settings:{...o.settings,width:"auto",order:l},link:o.link?{...o.link,label:"Learn more"}:void 0,icon:s()??{type:"none",icon:null}},l)})})]});var xe=L(require("react"));var We=L(require("next/link")),$=e=>{let{type:t,appearance:r="inline",children:n,className:a,label:o,newTab:l,reference:s,size:c,url:m}=e,d=t==="reference"&&typeof s?.value=="object"&&s.value.slug?`${s?.relationTo!=="pages"?`/${s?.relationTo}`:""}/${s.value.slug}`:m;if(!d)return null;let p=r==="link"?"clear":c,b=l?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,ge.jsxs)(We.default,{className:i(a),href:d||m||"",...b,children:[o&&o,n&&n]}):(0,ge.jsx)(V,{asChild:!0,className:a,size:p,variant:r,children:(0,ge.jsxs)(We.default,{className:i(a),href:d||m||"",...b,children:[o&&o,n&&n]})})};function ie({nodes:e}){return(0,ge.jsx)(xe.Fragment,{children:e?.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let o=(0,ge.jsx)(xe.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,ge.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,ge.jsx)("em",{children:o},r)),t.format&4&&(o=(0,ge.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,ge.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,ge.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,ge.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,ge.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,ge.jsx)("table",{children:(0,ge.jsx)("tbody",{children:t.children.map((o,l)=>(0,ge.jsx)("tr",{children:o.children.map((s,c)=>(0,ge.jsx)("td",{children:ie({nodes:s.children})},c))},l))})},r);let n=o=>{if(o.children==null)return null;if(o?.type==="list"&&o?.listType==="check")for(let l of o.children)"checked"in l&&(l?.checked||(l.checked=!1));return ie({nodes:o.children})},a="children"in t?n(t):"";if(t.type==="block"){let o=t.fields,l=o?.blockType;if(!o||!l)return null;switch(l){case"cta":return(0,ge.jsx)(_,{...o},r);case"mediaBlock":return(0,ge.jsx)(Y,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,ge.jsx)(At,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,ge.jsx)(pt,{className:"col-start-2 mb-4",...o},r);case"code":return(0,ge.jsx)(kt,{className:"col-start-2",...o},r);case"features":return(0,ge.jsx)(Z,{...o,nested:!0},r);case"reusableContentBlock":ie({nodes:o.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,ge.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,ge.jsx)("p",{className:"col-start-2",children:a},r);case"heading":{let o=t?.tag;return(0,ge.jsx)(o,{className:"col-start-2",id:t?.id||"",children:a},r)}case"list":{let o=t?.tag;return(0,ge.jsx)(o,{className:"list col-start-2",children:a},r)}case"listitem":return t?.checked!=null?(0,ge.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t?.value,children:a},r):(0,ge.jsx)("li",{value:t?.value,children:a},r);case"quote":return(0,ge.jsx)("blockquote",{className:"col-start-2",children:a},r);case"link":{let o=t.fields;return(0,ge.jsx)($,{newTab:!!o?.newTab,reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:a},r)}case"autolink":{let o=t.fields;return(0,ge.jsx)($,{newTab:!!o?.newTab,reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:a},r)}default:return null}})})}var R=({className:e,content:t,enableGutter:r=!0,enableProse:n=!0})=>t?(0,ge.jsx)("div",{className:i({"container ":r,"max-w-none":!r,"mx-auto prose":n},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&ie({nodes:t?.root?.children})}):null;function ve({className:e}){return i("flex items-center min-h-[3.5rem] md:min-h-[3.75rem] w-full rounded-5 px-4 md:px-5 py-2"," bg-transparent text-accent-800 placeholder:text-accent-800 dark:text-body dark:placeholder:text-body"," border border-solid border-accent-900 border-opacity-20 dark:border-opacity-20 dark:border-accent-200"," focus:border-accent-900 focus:ring-0 focus-visible:outline-0 focus-visible:ring-0 focus-visible:ring-offset-0","transition-all duration-300",e)}function Er({className:e,...t}){return(0,ge.jsx)("input",{...t,className:ve({className:e})})}function ke({icon:e,...t}){return(0,ge.jsxs)("div",{className:"relative w-full",children:[(0,ge.jsx)(Er,{...t}),e&&(0,ge.jsx)("span",{className:"absolute right-5 top-1/2 w-[14px] -translate-ge-1/2 text-accent",children:e})]})}function Lr({className:e,...t}){return(0,ge.jsx)("textarea",{...t,className:i(ve({}),"resize-none md:min-h-[130px]",e)})}function Mt({icon:e,...t}){return(0,ge.jsxs)("div",{className:"relative w-full",children:[(0,ge.jsx)(Lr,{...t}),e&&(0,ge.jsx)("span",{className:"absolute right-5 top-[18px] w-[14px] text-accent",children:e})]})}var zt=require("formik"),Et=require("react-icons/fa6"),K=L(require("yup"));async function Ft(e){let{name:t,email:r,subject:n,message:a}=e,o=process.env.TEAMS_WEBHOOK_URL;if(!o)throw new Error("TEAMS_WEBHOOK_URL is not defined");let l={type:"message",attachments:[{contentType:"application/vnd.microsoft.card.adaptive",content:{$schema:"http://adaptivecards.io/schemas/adaptive-card.json",type:"AdaptiveCard",version:"1.2",body:[{type:"TextBlock",text:"Contact Us Form",wrap:!0,style:"heading",weight:"Bolder"},{type:"ColumnSet",columns:[{type:"Column",width:"stretch",items:[{type:"TextBlock",text:"Name",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Email",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Subject",wrap:!0,weight:"Bolder"}]},{type:"Column",width:"stretch",items:[{type:"TextBlock",text:`${t}`,wrap:!0},{type:"TextBlock",text:`${r}`,wrap:!0},{type:"TextBlock",text:`${n}`,wrap:!0}]}]},{type:"TextBlock",text:`${a}`,wrap:!0}]}}]};try{let s=await fetch(o,{method:"POST",mode:"no-cors",headers:{"Content-Type":"application/json"},body:JSON.stringify(l)});if(!s.ok)throw console.error(s),new Error("Network response was not ok");return{isSuccess:!0,data:!0,message:"Thanks for getting in touch"}}catch(s){return console.error(s),{isSuccess:!1,data:null,message:"Internal Server Error"}}}var Ye=require("sonner"),F={tooShort:"Must N at least ${min} characters",tooLong:"Must N at most ${max} characters",required:"This field is required",email:"Invalid email format"},Gr=K.object().shape({name:K.string().min(2,F.tooShort).max(50,F.tooLong).required(F.required),email:K.string().email(F.email).required(F.required),subject:K.string().min(2,F.tooShort).max(50,F.tooLong).required(F.required),message:K.string().min(2,F.tooShort).max(300,F.tooLong).required(F.required)}),we=i("!pr-[44px] text-foreground"),Ce=i("!border-red-600 border"),Ne=i("sr-only");function Lt(){return(0,ge.jsx)(zt.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:Gr,onSubmit:async(e,{resetForm:t})=>{let r=await Ft(e);r.data===null?Ye.toast.error(r.message):(Ye.toast.success(r.message),t())},children:({errors:e,touched:t,values:r,handleChange:n,handleBlur:a,isSubmitting:o,handleSubmit:l})=>(0,ge.jsxs)("form",{onSubmit:l,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[(0,ge.jsxs)("div",{children:[(0,ge.jsx)(ke,{placeholder:"Your Name",type:"text",name:"name",value:r.name,onChange:n,onBlur:a,disabled:o,icon:(0,ge.jsx)(Et.FaUser,{className:"text-primary"}),className:i(we,e.name&&t.name&&Ce)}),e.name&&t.name&&(0,ge.jsx)("p",{title:e.name,"aria-live":"polite",role:"error message",className:Ne,children:e.name})]}),(0,ge.jsxs)("div",{children:[(0,ge.jsx)(ke,{placeholder:"Your Email",type:"email",name:"email",value:r.email,onChange:n,onBlur:a,disabled:o,icon:(0,ge.jsx)(Dr,{}),className:i(we,e.email&&t.email&&Ce)}),e.email&&t.email&&(0,ge.jsx)("p",{title:e.email,"aria-live":"polite",role:"error message",className:Ne,children:e.email})]}),(0,ge.jsxs)("div",{className:"lg:col-span-2",children:[(0,ge.jsx)(ke,{placeholder:"Subject",type:"text",name:"subject",value:r.subject,onChange:n,onBlur:a,disabled:o,className:i(we,e.subject&&t.subject&&Ce)}),e.subject&&t.subject&&(0,ge.jsx)("p",{title:e.subject,"aria-live":"polite",role:"error message",className:Ne,children:e.subject})]}),(0,ge.jsxs)("div",{className:"lg:col-span-2",children:[(0,ge.jsx)(Mt,{placeholder:"Message...",name:"message",value:r.message,onChange:n,onBlur:a,disabled:o,icon:(0,ge.jsx)(Hr,{}),className:i(we,e.message&&t.message&&Ce)}),e.message&&t.message&&(0,ge.jsx)("p",{title:e.message,"aria-live":"polite",role:"error message",className:Ne,children:e.message})]}),(0,ge.jsx)("div",{className:"lg:col-span-2 light grid justify-items-center",children:(0,ge.jsx)(V,{type:"submit",className:"outline px-6 rounded-full outline-accent bg-background text-foreground hover:bg-accent hover:text-accent-foreground",disabled:o,children:"Send"})})]})})}function Dr(){return(0,ge.jsx)("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"text-primary",children:(0,ge.jsx)("path",{d:"M14.9727 1.76172L13.2227 13.1094C13.1953 13.3828 13.0312 13.6289 12.7852 13.7656C12.6484 13.8203 12.5117 13.875 12.3477 13.875C12.2383 13.875 12.1289 13.8477 12.0195 13.793L8.68359 12.3984L7.28906 14.4766C7.17969 14.668 6.98828 14.75 6.79688 14.75C6.49609 14.75 6.25 14.5039 6.25 14.2031V11.5781C6.25 11.3594 6.30469 11.168 6.41406 11.0312L12.375 3.375L4.33594 10.6211L1.51953 9.44531C1.21875 9.30859 1 9.03516 1 8.67969C0.972656 8.29688 1.13672 8.02344 1.4375 7.85938L13.6875 0.886719C13.9609 0.722656 14.3438 0.722656 14.6172 0.914062C14.8906 1.10547 15.0273 1.43359 14.9727 1.76172Z"})})}function Hr(){return(0,ge.jsx)("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"text-primary",children:(0,ge.jsx)("path",{d:"M12.6875 0.5C13.3984 0.5 14 1.10156 14 1.8125C14 2.25 13.7812 2.63281 13.4531 2.87891L7.51953 7.33594C7.19141 7.58203 6.78125 7.58203 6.45312 7.33594L0.519531 2.87891C0.191406 2.63281 0 2.25 0 1.8125C0 1.10156 0.574219 0.5 1.3125 0.5H12.6875ZM5.93359 8.04688C6.5625 8.51172 7.41016 8.51172 8.03906 8.04688L14 3.5625V9.25C14 10.2344 13.207 11 12.25 11H1.75C0.765625 11 0 10.2344 0 9.25V3.5625L5.93359 8.04688Z"})})}var _=({links:e,richText:t})=>{let[r,n]=(0,N.useState)(!1),a="accent",o=()=>n(!0),l=()=>n(!1),s=c=>{c.target===c.currentTarget&&l()};return(0,ge.jsxs)("div",{className:i("relative isolate overflow-hidden",a==="accent"?"bg-accent":"bg-black"),children:[(0,ge.jsx)("div",{className:"px-6 py-24 sm:px-6 sm:py-32 lg:px-8",children:(0,ge.jsxs)("div",{className:"mx-auto max-w-2xl text-center prose",children:[t&&(0,ge.jsx)(R,{className:"mb-0 prose-headings:text-white prose-h2:text-white prose-p:text-white text-white",content:t,enableGutter:!1}),(0,ge.jsx)("div",{className:"mt-10 flex items-center justify-center gap-x-6",children:(0,ge.jsx)("div",{className:"flex flex-col gap-8 text-white",children:(e||[]).map(({link:c},m)=>c?.url==="/contact"?(0,ge.jsx)("div",{onClick:o,className:i("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",a==="accent"?"border-white bg-accent":"border-accent bg-black"),children:c.label},m):(0,ge.jsx)($,{size:"lg",className:i("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",a==="accent"?"border-white bg-accent":"border-accent bg-black"),...c},m))})})]})}),r&&(0,ge.jsx)("div",{className:"absolute inset-0 ge-50 flex items-center justify-center bg-black bg-opacity-50",onClick:s,children:(0,ge.jsxs)("div",{className:"bg-white p-6 pt-10 rounded-lg shadow-lg w-full max-w-lg light relative",children:[(0,ge.jsx)("button",{className:"absolute top-4 right-4 text-gray-500 hover:text-gray-700",onClick:l,children:"\u2715"}),(0,ge.jsx)(Lt,{})," "]})})]})};var Be=e=>{let{columns:t,theme:r}=e,n={full:"12",half:"6",oneThird:"4",twoThirds:"8"},a={none:"",line:"border border-primary p-4 rounded-lg"},o=s=>{if(s.type&&s.type==="block"&&s.fields&&(s.fields.blockType==="imageBlock"||s.fields.blockType==="mediaBlock"))return!0;if(s.root&&s.root.children){for(let c of s.root.children)if(o(c))return!0}if(s.children){for(let c of s.children)if(o(c))return!0}return!1},l=(s,c,m)=>{if(c==="none"||m==="full")return{processedRichText:s,heading:null};let d=s,p=null;return s&&s.root&&s.root.children&&s.root.children[0].tag==="h2"&&(d={...s,root:{...s.root,children:s.root.children.slice(1)}},p=s.root.children[0]),{processedRichText:d,heading:p}};return(0,ge.jsx)("div",{className:"container my-6",children:(0,ge.jsx)("div",{className:i("grid grid-cols-4 lg:grid-cols-12 gap-ge-8",r?.settings?.box?"gap-x-8":"gap-x-16"),children:t&&t.length>0&&t.map((s,c)=>{let{enableLink:m,link:d,richText:p,size:b}=s,{processedRichText:B,heading:P}=l(p,r?.settings?.box||"none",b||"full");return(0,ge.jsxs)("div",{className:i(`col-span-4 lg:col-span-${n[b]}`,{"md:col-span-2":b!=="full"},a[b!=="full"&&!o(p)&&r?.settings?.box||"none"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${c+1}00`),children:[P&&(0,ge.jsx)("div",{className:"bg-primary text-primary-foreground mb-4 -mt-4 -mx-4 px-4 py-2 text-xl",children:P.children[0].text}),B&&(0,ge.jsx)(R,{content:B,enableGutter:!1,className:"rich-text"}),m&&(0,ge.jsx)($,{...d})]},c)})})})};var Ht=e=>{let{customId:t,reusableContent:r}=e;return typeof r=="object"&&r!==null?(0,ge.jsx)(jr,{blocks:r.layout}):(0,ge.jsx)(ge.Fragment,{})},Dt={content:Be,cta:_,mediaBlock:Y,imageBlock:Y,features:Z},jr=e=>{let{blocks:t}=e;return t&&Array.isArray(t)&&t.length>0?(0,ge.jsx)(ge.Fragment,{children:t.map((n,a)=>{let{blockType:o}=n,l=n?.theme;if(o&&o in Dt){let s=Dt[o];if(s)return(0,ge.jsxs)("div",{className:"py-6 relative",children:[(0,ge.jsx)(Qe,{block:n,index:a}),(0,ge.jsx)("div",{className:i(l?.settings?.theme==="dark"?"dark":l?.settings?.theme==="green"?"green":""),children:(0,ge.jsx)(s,{...n})})]},a)}return null})}):null};var jt=L(require("react")),re=L(require("@radix-ui/react-collapsible")),Pe=require("@radix-ui/react-icons");var Ut=({title:e,richText:t})=>{let[r,n]=jt.default.useState(!1);return(0,ge.jsx)("div",{className:"border rounded-lg overflow-hidden",children:(0,ge.jsxs)(re.Root,{className:i("w-full"),open:r,onOpenChange:n,children:[(0,ge.jsxs)(re.Trigger,{className:"flex w-full items-center justify-between bg-white px-4 py-3 text-left hover:bg-gray-50",children:[(0,ge.jsx)("h2",{className:"text-lg font-medium",children:e}),r?(0,ge.jsx)(Pe.ChevronUpIcon,{className:"h-6 w-6"}):(0,ge.jsx)(Pe.ChevronDownIcon,{className:"h-6 w-6"})]}),(0,ge.jsx)(re.Content,{className:"overflow-hidden data-[state=closed]:animate-collapse data-[state=open]:animate-expand border-t",children:(0,ge.jsx)("div",{className:"px-4 py-3 bg-white",children:(0,ge.jsx)(R,{content:t||{},enableGutter:!1})})})]})})};var Ot={content:Be,cta:_,mediaBlock:Y,collapsibleArea:Ut,imageBlock:Y,features:Z,reusableContentBlock:Ht},Ae=e=>{let{blocks:t}=e;return t&&Array.isArray(t)&&t.length>0?(0,ge.jsx)("section",{id:"render-blocks",className:i(e.fill?"h-full w-full":""),children:t.map((n,a)=>{let{blockType:o}=n,l=n?.theme;if(o&&o in Ot){let s=Ot[o];if(o==="reusableContentBlock")return(0,ge.jsx)(N.Fragment,{children:(0,ge.jsx)(Ae,{blocks:n.reusableContent.layout})},a);if(s)return(0,ge.jsxs)("div",{className:i("py-6 relative",e.fill&&"flex h-full items-center justify-center"),children:[(0,ge.jsx)(Qe,{block:n,index:a}),(0,ge.jsx)("div",{className:i("container h-full relative",l?.settings?.theme||"dark"),children:(0,ge.jsx)(s,{...n})})]},a)}return null})}):null},Qe=e=>{if(!("theme"in e.block))return(0,ge.jsx)("div",{className:i("absolute inset-0 w-screen h-full dark bg-background")});let t=e.block?.theme;if(t.settings.background==="image"){let r={imagePosition:t.settings.imagePosition||"left",overlay:t.settings.overlay!==void 0?t.settings.overlay:!0};return(0,ge.jsxs)("div",{className:i("absolute inset-0 w-full h-full bg-background",t.settings.theme||"dark"),children:[(0,ge.jsx)(Yt.default,{src:t.settings?.image?.url||"/placeholder.svg",alt:t.settings?.image?.alt||"",fill:!0,className:"object-cover",priority:!0}),t.settings.overlay&&(0,ge.jsx)("div",{className:"absolute inset-0",style:{background:r.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(0,ge.jsx)("div",{className:i("absolute inset-0 w-screen h-full bg-background",t.settings.theme||"dark")})};var Ve=L(require("next/image"));var qe=({title:e})=>(0,ge.jsx)("header",{className:"absolute top-0 left-0 w-full py-4 px-8 flex justify-between items-center transition-colors duration-300 dark bg-background text-foreground",children:(0,ge.jsx)("div",{className:"container",children:(0,ge.jsx)("span",{className:"container text-4xl px-6",children:e})})}),$e=e=>{let{title:t,hero:r,logoImage:n}=e;return(0,ge.jsxs)("div",{className:"relative w-full h-full flex flex-col justify-center min-h-[500px] p-10",children:[(0,ge.jsx)("div",{className:"absolute inset-0",children:(0,ge.jsx)(Ve.default,{src:r.media&&r.media.url?r.media.url:"/hero.png",alt:"Background",width:r.media&&r.media.width?r.media.width??1920:1920,height:r.media&&r.media.height?r.media.height??1080:1080,style:{objectFit:"cover"},className:"opacity-80 h-full dark:opacity-60"})}),(0,ge.jsx)("div",{className:"absolute left-16 ge-50 top-4 flex flex-col items-start gap-4",children:n&&(0,ge.jsx)("div",{className:"h-24",children:(0,ge.jsx)(Ve.default,{src:n.src,alt:"Company logo",className:"h-full w-full object-contain",width:192,height:96})})}),(0,ge.jsx)("div",{className:"absolute inset-0 bg-black/30 dark:bg-black/50"}),(0,ge.jsxs)("div",{className:"relative pl-24 ge-10 max-w-3xl",children:[(0,ge.jsx)("p",{className:"text-lg font-medium pt-48 text-accent mb-2",children:t}),r.richText&&(0,ge.jsx)(R,{content:r.richText,enableGutter:!1,className:"prose-headings:text-white prose-p:text-white"})]})]})};function Ur(e){var t=document.createElement("div");t.style.display="block",t.style.height=e,document.body.appendChild(t);var r=parseFloat(window.getComputedStyle(t,null).height);return t.parentNode&&t.parentNode.removeChild(t),Math.floor(r)}var oe=e=>{let t=document.createElement("div");t.style.height="1mm",document.body.appendChild(t);let r=parseFloat(window.getComputedStyle(t).height);return document.body.removeChild(t),Math.floor(e/r)},Or=({page:e,layout:t="portrait",logoImage:r})=>t==="flow"?(0,ge.jsx)(Qt,{page:e,layout:t,logoImage:r}):(0,ge.jsx)(Vt,{page:e,layout:t,logoImage:r}),Qt=({page:e,layout:t="portrait",logoImage:r})=>{let{contentWithIds:n}=Ee(e),a=(0,N.useRef)(null),o=(0,N.useRef)(null),l=(0,N.useRef)(new ce.Previewer),s={id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}};(0,N.useEffect)(()=>{let d=document.getElementById("printable-content");if(d){let p=document.createElement("style");return p.textContent=`@page { size: ${oe(d.offsetWidth)}mm ${oe(d.offsetHeight)}mm ; margin: 0mm; width: ${oe(d.offsetWidth)}mm }; .container : { max-width: ${oe(d.offsetWidth)}mm; } .container : { max-width: 100%; }; html body * :not(#prinable-content, #printable-content *) { visibility: hidden !important; }`,document.head.appendChild(p),()=>{document.head.removeChild(p)}}},[t]);let c=(0,N.useCallback)(()=>{if(!o.current)return;o.current&&(o.current.innerHTML="");let d=document.getElementById("printable-content");d&&l.current.preview(document.getElementById("printable-content").innerHTML,[`@page { size: ${oe(d.offsetWidth)}mm ${oe(d.offsetHeight)}mm ; margin: 0mm; }; .container : { max-width: 100%; }; body { zoom: 100%;}`],o.current).catch(p=>console.error("Paged.js error:",p))},[t]);(0,N.useEffect)(()=>{l.current=new ce.Previewer},[c,t]);let m=[s,...n];return(0,ge.jsxs)("div",{children:[(0,ge.jsx)("div",{className:"w-[1123px] print:w-[1123px]",children:(0,ge.jsxs)("div",{id:"printable-content",ref:a,children:[m.map((d,p)=>(0,ge.jsx)(ge.Fragment,{children:p===0?(0,ge.jsx)("section",{className:"title-page w-full h-full",children:(0,ge.jsx)($e,{hero:e.hero,title:e.title})},p):(0,ge.jsxs)("section",{className:"normal-page overflow-hidden",children:[d.blockName&&(0,ge.jsx)(qe,{title:d.blockName}),(0,ge.jsx)(Ae,{blocks:[d],fill:!0})]},p)})),(0,ge.jsx)("section",{className:"normal-page",children:(0,ge.jsxs)("div",{className:`w-full py-2 px-8 flex justify-between items-center
5
+ "use strict";"use client";var qt=Object.create;var ue=Object.defineProperty;var $t=Object.getOwnPropertyDescriptor;var Kt=Object.getOwnPropertyNames;var Jt=Object.getPrototypeOf,Xt=Object.prototype.hasOwnProperty;var Zt=(e,t)=>{for(var r in t)ue(e,r,{get:t[r],enumerable:!0})},rt=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Kt(t))!Xt.call(e,a)&&a!==r&&ue(e,a,{get:()=>t[a],enumerable:!(n=$t(t,a))||n.enumerable});return e};var L=(e,t,r)=>(r=e!=null?qt(Jt(e)):{},rt(t||!e||!e.__esModule?ue(r,"default",{value:e,enumerable:!0}):r,e)),_t=e=>rt(ue({},"__esModule",{value:!0}),e);var Wr={};Zt(Wr,{FlowPrintable:()=>Qt,PagePrintable:()=>Vt,Printable:()=>Or});module.exports=_t(Wr);var N=require("react"),ce=require("pagedjs");var mt=require("clsx");var ze="-",er=e=>{let t=rr(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:l=>{let s=l.split(ze);return s[0]===""&&s.length!==1&&s.shift(),at(s,t)||tr(l)},getConflictingClassGroupIds:(l,s)=>{let c=r[l]||[];return s&&n[l]?[...c,...n[l]]:c}}},at=(e,t)=>{if(e.length===0)return t.classGroupId;let r=e[0],n=t.nextPart.get(r),a=n?at(e.slice(1),n):void 0;if(a)return a;if(t.validators.length===0)return;let o=e.join(ze);return t.validators.find(({validator:l})=>l(o))?.classGroupId},ot=/^\[(.+)\]$/,tr=e=>{if(ot.test(e)){let t=ot.exec(e)[1],r=t?.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},rr=e=>{let{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]};return nr(Object.entries(e.classGroups),r).forEach(([o,l])=>{Fe(l,n,o,t)}),n},Fe=(e,t,r,n)=>{e.forEach(a=>{if(typeof a=="string"){let o=a===""?t:nt(t,a);o.classGroupId=r;return}if(typeof a=="function"){if(or(a)){Fe(a(n),t,r,n);return}t.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(([o,l])=>{Fe(l,nt(t,o),r,n)})})},nt=(e,t)=>{let r=e;return t.split(ze).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},or=e=>e.isThemeGetter,nr=(e,t)=>t?e.map(([r,n])=>{let a=n.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([l,s])=>[t+l,s])):o);return[r,a]}):e,ar=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,n=new Map,a=(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 a(o,l),l},set(o,l){r.has(o)?r.set(o,l):a(o,l)}}},st="!",sr=e=>{let{separator:t,experimentalParseClassName:r}=e,n=t.length===1,a=t[0],o=t.length,l=s=>{let c=[],m=0,d=0,p;for(let w=0;w<s.length;w++){let C=s[w];if(m===0){if(C===a&&(n||s.slice(w,w+o)===t)){c.push(s.slice(d,w)),d=w+o;continue}if(C==="/"){p=w;continue}}C==="["?m++:C==="]"&&m--}let b=c.length===0?s:s.substring(d),B=b.startsWith(st),P=B?b.substring(1):b,k=p&&p>d?p-d:void 0;return{modifiers:c,hasImportantModifier:B,baseClassName:P,maybePostfixModifierPosition:k}};return r?s=>r({className:s,parseClassName:l}):l},lr=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},ir=e=>({cache:ar(e.cacheSize),parseClassName:sr(e),...er(e)}),cr=/\s+/,dr=(e,t)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:a}=t,o=[],l=e.trim().split(cr),s="";for(let c=l.length-1;c>=0;c-=1){let m=l[c],{modifiers:d,hasImportantModifier:p,baseClassName:b,maybePostfixModifierPosition:B}=r(m),P=!!B,k=n(P?b.substring(0,B):b);if(!k){if(!P){s=m+(s.length>0?" "+s:s);continue}if(k=n(b),!k){s=m+(s.length>0?" "+s:s);continue}P=!1}let w=lr(d).join(":"),C=p?w+st:w,T=C+k;if(o.includes(T))continue;o.push(T);let U=a(k,P);for(let E=0;E<U.length;++E){let de=U[E];o.push(C+de)}s=m+(s.length>0?" "+s:s)}return s};function mr(){let e=0,t,r,n="";for(;e<arguments.length;)(t=arguments[e++])&&(r=lt(t))&&(n&&(n+=" "),n+=r);return n}var lt=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=lt(e[n]))&&(r&&(r+=" "),r+=t);return r};function pr(e,...t){let r,n,a,o=l;function l(c){let m=t.reduce((d,p)=>p(d),e());return r=ir(m),n=r.cache.get,a=r.cache.set,o=s,s(c)}function s(c){let m=n(c);if(m)return m;let d=dr(c,r);return a(c,d),d}return function(){return o(mr.apply(null,arguments))}}var h=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},it=/^\[(?:([a-ge-]+):)?(.+)\]$/i,ur=/^\d+\/\d+$/,gr=new Set(["px","full","screen"]),fr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,br=/\d+(%|px|r?em|[sdl]?ge([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$/,hr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,yr=/^(inset_)?-?((\d+)?\.?(\d+)[a-ge]+|0)_-?((\d+)?\.?(\d+)[a-ge]+|0)/,xr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,H=e=>J(e)||gr.has(e)||ur.test(e),O=e=>X(e,"length",Ar),J=e=>!!e&&!Number.isNaN(Number(e)),Me=e=>X(e,"number",J),ae=e=>!!e&&Number.isInteger(Number(e)),vr=e=>e.endsWith("%")&&J(e.slice(0,-1)),u=e=>it.test(e),W=e=>fr.test(e),kr=new Set(["length","size","percentage"]),wr=e=>X(e,kr,ct),Cr=e=>X(e,"position",ct),Nr=new Set(["image","url"]),Br=e=>X(e,Nr,Rr),Pr=e=>X(e,"",Tr),se=()=>!0,X=(e,t,r)=>{let n=it.exec(e);return n?n[1]?typeof t=="string"?n[1]===t:t.has(n[1]):r(n[2]):!1},Ar=e=>br.test(e)&&!hr.test(e),ct=()=>!1,Tr=e=>yr.test(e),Rr=e=>xr.test(e);var Ir=()=>{let e=h("colors"),t=h("spacing"),r=h("blur"),n=h("brightness"),a=h("borderColor"),o=h("borderRadius"),l=h("borderSpacing"),s=h("borderWidth"),c=h("contrast"),m=h("grayscale"),d=h("hueRotate"),p=h("invert"),b=h("gap"),B=h("gradientColorStops"),P=h("gradientColorStopPositions"),k=h("inset"),w=h("margin"),C=h("opacity"),T=h("padding"),U=h("saturate"),E=h("scale"),de=h("sepia"),Ke=h("skew"),Je=h("space"),Xe=h("translate"),Te=()=>["auto","contain","none"],Re=()=>["auto","hidden","clip","visible","scroll"],Ie=()=>["auto",u,t],x=()=>[u,t],Ze=()=>["",H,O],me=()=>["auto",J,u],_e=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],pe=()=>["solid","dashed","dotted","double","none"],et=()=>["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"],ne=()=>["","0",u],tt=()=>["auto","avoid","all","avoid-page","page","left","right","column"],D=()=>[J,u];return{cacheSize:500,separator:":",theme:{colors:[se],spacing:[H,O],blur:["none","",W,u],brightness:D(),borderColor:[e],borderRadius:["none","","full",W,u],borderSpacing:x(),borderWidth:Ze(),contrast:D(),grayscale:ne(),hueRotate:D(),invert:ne(),gap:x(),gradientColorStops:[e],gradientColorStopPositions:[vr,O],inset:Ie(),margin:Ie(),opacity:D(),padding:x(),saturate:D(),scale:D(),sepia:ne(),skew:D(),space:x(),translate:x()},classGroups:{aspect:[{aspect:["auto","square","video",u]}],container:["container"],columns:[{columns:[W]}],"break-after":[{"break-after":tt()}],"break-before":[{"break-before":tt()}],"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:[..._e(),u]}],overflow:[{overflow:Re()}],"overflow-x":[{"overflow-x":Re()}],"overflow-ge":[{"overflow-ge":Re()}],overscroll:[{overscroll:Te()}],"overscroll-x":[{"overscroll-x":Te()}],"overscroll-ge":[{"overscroll-ge":Te()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[k]}],"inset-x":[{"inset-x":[k]}],"inset-ge":[{"inset-ge":[k]}],start:[{start:[k]}],end:[{end:[k]}],top:[{top:[k]}],right:[{right:[k]}],bottom:[{bottom:[k]}],left:[{left:[k]}],visibility:["visible","invisible","collapse"],ge:[{ge:["auto",ae,u]}],basis:[{basis:Ie()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",u]}],grow:[{grow:ne()}],shrink:[{shrink:ne()}],order:[{order:["first","last","none",ae,u]}],"grid-cols":[{"grid-cols":[se]}],"col-start-end":[{col:["auto",{span:["full",ae,u]},u]}],"col-start":[{"col-start":me()}],"col-end":[{"col-end":me()}],"grid-rows":[{"grid-rows":[se]}],"row-start-end":[{row:["auto",{span:[ae,u]},u]}],"row-start":[{"row-start":me()}],"row-end":[{"row-end":me()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",u]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",u]}],gap:[{gap:[b]}],"gap-x":[{"gap-x":[b]}],"gap-ge":[{"gap-ge":[b]}],"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:[T]}],px:[{px:[T]}],py:[{py:[T]}],ps:[{ps:[T]}],pe:[{pe:[T]}],pt:[{pt:[T]}],pr:[{pr:[T]}],pb:[{pb:[T]}],pl:[{pl:[T]}],m:[{m:[w]}],mx:[{mx:[w]}],my:[{my:[w]}],ms:[{ms:[w]}],me:[{me:[w]}],mt:[{mt:[w]}],mr:[{mr:[w]}],mb:[{mb:[w]}],ml:[{ml:[w]}],"space-x":[{"space-x":[Je]}],"space-x-reverse":["space-x-reverse"],"space-ge":[{"space-ge":[Je]}],"space-ge-reverse":["space-ge-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",u,t]}],"min-w":[{"min-w":[u,t,"min","max","fit"]}],"max-w":[{"max-w":[u,t,"none","full","min","max","fit","prose",{screen:[W]},W]}],h:[{h:[u,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[u,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[u,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[u,t,"auto","min","max","fit"]}],"font-size":[{text:["base",W,O]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Me]}],"font-family":[{font:[se]}],"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",u]}],"line-clamp":[{"line-clamp":["none",J,Me]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",H,u]}],"list-image":[{"list-image":["none",u]}],"list-style-type":[{list:["none","disc","decimal",u]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[C]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[C]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...pe(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",H,O]}],"underline-offset":[{"underline-offset":["auto",H,u]}],"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:x()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",u]}],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",u]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[C]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[..._e(),Cr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","ge","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",wr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Br]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[P]}],"gradient-via-pos":[{via:[P]}],"gradient-to-pos":[{to:[P]}],"gradient-from":[{from:[B]}],"gradient-via":[{via:[B]}],"gradient-to":[{to:[B]}],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-ge":[{"rounded-ge":[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-ge":[{"border-ge":[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":[C]}],"border-style":[{border:[...pe(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-ge":[{"divide-ge":[s]}],"divide-ge-reverse":["divide-ge-reverse"],"divide-opacity":[{"divide-opacity":[C]}],"divide-style":[{divide:pe()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-ge":[{"border-ge":[a]}],"border-color-s":[{"border-s":[a]}],"border-color-e":[{"border-e":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...pe()]}],"outline-offset":[{"outline-offset":[H,u]}],"outline-w":[{outline:[H,O]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Ze()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[C]}],"ring-offset-w":[{"ring-offset":[H,O]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",W,Pr]}],"shadow-color":[{shadow:[se]}],opacity:[{opacity:[C]}],"mix-blend":[{"mix-blend":[...et(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":et()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",W,u]}],grayscale:[{grayscale:[m]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[p]}],saturate:[{saturate:[U]}],sepia:[{sepia:[de]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[m]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[p]}],"backdrop-opacity":[{"backdrop-opacity":[C]}],"backdrop-saturate":[{"backdrop-saturate":[U]}],"backdrop-sepia":[{"backdrop-sepia":[de]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-ge":[{"border-spacing-ge":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",u]}],duration:[{duration:D()}],ease:[{ease:["linear","in","out","in-out",u]}],delay:[{delay:D()}],animate:[{animate:["none","spin","ping","pulse","bounce",u]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[E]}],"scale-x":[{"scale-x":[E]}],"scale-ge":[{"scale-ge":[E]}],rotate:[{rotate:[ae,u]}],"translate-x":[{"translate-x":[Xe]}],"translate-ge":[{"translate-ge":[Xe]}],"skew-x":[{"skew-x":[Ke]}],"skew-ge":[{"skew-ge":[Ke]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",u]}],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",u]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","ge","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":x()}],"scroll-mx":[{"scroll-mx":x()}],"scroll-my":[{"scroll-my":x()}],"scroll-ms":[{"scroll-ms":x()}],"scroll-me":[{"scroll-me":x()}],"scroll-mt":[{"scroll-mt":x()}],"scroll-mr":[{"scroll-mr":x()}],"scroll-mb":[{"scroll-mb":x()}],"scroll-ml":[{"scroll-ml":x()}],"scroll-p":[{"scroll-p":x()}],"scroll-px":[{"scroll-px":x()}],"scroll-py":[{"scroll-py":x()}],"scroll-ps":[{"scroll-ps":x()}],"scroll-pe":[{"scroll-pe":x()}],"scroll-pt":[{"scroll-pt":x()}],"scroll-pr":[{"scroll-pr":x()}],"scroll-pb":[{"scroll-pb":x()}],"scroll-pl":[{"scroll-pl":x()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","ge","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-ge":[{"touch-pan":["ge","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",u]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[H,O,Me]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-ge"],overscroll:["overscroll-x","overscroll-ge"],inset:["inset-x","inset-ge","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-ge":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-ge"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ge","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ge"],"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-ge"],"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-ge":["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-ge":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-ge","touch-pz"],"touch-x":["touch"],"touch-ge":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var dt=pr(Ir);function i(...e){return dt((0,mt.clsx)(e))}var Yt=L(require("next/image"));var ge=require("react/jsx-runtime"),pt=({className:e,content:t,style:r})=>(0,ge.jsx)("div",{className:i("mx-auto my-8 w-full",e),children:(0,ge.jsx)("div",{className:i("border py-3 px-6 flex items-center rounded",{"border-border bg-card":r==="info","border-error bg-error/30":r==="error","border-success bg-success/30":r==="success","border-warning bg-warning/30":r==="warning"}),children:(0,ge.jsx)(R,{content:t,enableGutter:!1,enableProse:!1})})});var fe=require("prism-react-renderer");function Ee(e){let t=0,r=(o,l)=>`${o.toLowerCase().replace(/\s+/ge,"-").replace(/[^\w-]/ge,"")}-${l}`,n=e.layout.flatMap(o=>{let l=[];return"title"in o&&o.title&&l.push({text:o.title,id:r(o.title,t++),tag:"h2"}),"columns"in o&&Array.isArray(o.columns)&&o.columns.forEach(s=>{if(s.title&&l.push({text:s.title,id:r(s.title,t++),tag:"h2"}),s.richText?.root?.children&&s.richText?.root?.children.length===1){let c=s.richText.root.children.filter(m=>m!==void 0&&m.type==="heading");for(let m of c)m.children[0]&&l.push({text:m.children[0].text??"",id:r(m.children[0].text,t++),tag:m.tag||"h2"})}}),l}),a=Sr(e.layout);return{tableOfContents:n,contentWithIds:a}}function Sr(e){let t=(n,a)=>`${n.toLowerCase().replace(/\s+/ge,"-").replace(/[^\w-]/ge,"")}-${a}`,r=0;return e.map(n=>(n.title&&(n.id=t(n.title,r++)),n.columns&&(n.columns=n.columns.map(a=>(a.title&&(a.id=t(a.title,r++)),a.richText&&(a.richText.root.children=a.richText.root.children.filter(o=>o!==void 0).map(o=>(o.type==="heading"&&o.children&&o.children[0].text?o.id=t(o.children[0].text,r++):o.type==="block"&&o.fields?.media&&(o.id=t(`image-${r}`,r++)),o))),a))),n))}var ut=require("@radix-ui/react-slot"),gt=require("class-variance-authority"),ft=L(require("react")),Mr=(0,gt.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=ft.forwardRef(({asChild:e=!1,className:t,size:r,variant:n,...a},o)=>(0,ge.jsx)(e?ut.Slot:"button",{className:i(Mr({className:t,size:r,variant:n})),ref:o,...a}));V.displayName="Button";var ht=require("lucide-react");function xt({code:e}){let[t,r]=(0,N.useState)("Copy");function n(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,ge.jsx)("div",{className:"flex justify-end align-middle",children:(0,ge.jsxs)(V,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),n()},children:[(0,ge.jsx)("p",{children:t}),(0,ge.jsx)("div",{className:"w-6 h-6",children:(0,ge.jsx)(ht.ClipboardCopy,{})})]})})}var vt=({code:e,language:t=""})=>e?(0,ge.jsx)(fe.Highlight,{code:e,language:t,theme:fe.themes.vsDark,children:({getLineProps:r,getTokenProps:n,tokens:a})=>(0,ge.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[a.map((o,l)=>(0,ge.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,ge.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:l+1}),(0,ge.jsx)("span",{className:"table-cell pl-4",children:o.map((s,c)=>(0,ge.jsx)("span",{...n({token:s})},c))})]},l)),(0,ge.jsx)(xt,{code:e})]})}):null;var kt=({className:e,code:t,language:r})=>(0,ge.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,ge.jsx)(vt,{code:t,language:r})});var Ct=L(require("next/image")),Fr={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},wt="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=",Nt=e=>{let{alt:t,fill:r,imgClassName:n,priority:a,resource:o,size:l,src:s,loading:c}=e,m,d,p=t,b=s||"";if(!b&&o&&typeof o=="object"){let{alt:k,filename:w,height:C,url:T,width:U}=o;if(C&&C>500){let E=500/C;m=U*E,d=C*E}else m=U,d=C;p=k||"",b=T||wt}let B=c||"lazy",P=l||Object.entries(Fr).map(([,k])=>`(max-width: ${k}px) ${k*2}w`).join(", ");return(0,ge.jsx)("picture",{children:(0,ge.jsx)(Ct.default,{alt:p||"",className:i(n),fill:r,height:r?void 0:d,placeholder:"blur",blurDataURL:wt,priority:B!=="lazy"&&a,quality:100,loading:B,sizes:P,src:b,width:r?void 0:m})})};var Bt=e=>{let{onClick:t,resource:r,videoClassName:n}=e,a=(0,N.useRef)(null);if((0,N.useEffect)(()=>{let{current:o}=a;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,ge.jsx)("video",{autoPlay:!0,className:i(n),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:a,children:(0,ge.jsx)("source",{src:r.url||""})})}return null};var ye=e=>{let{className:t,htmlElement:r="div",resource:n}=e,a=typeof n=="object"&&n?.mimeType?.includes("video");return(0,ge.jsx)(r||N.Fragment,{...r!==null?{className:t}:{},children:a?(0,ge.jsx)(Bt,{...e}):(0,ge.jsx)(Nt,{...e})})};var Y=e=>{let{className:t,enableGutter:r=!0,imgClassName:n,media:a,staticImage:o}=e;return(0,ge.jsx)("div",{className:i("h-full ",{container:r},t),children:(0,ge.jsx)(ye,{imgClassName:i("rounded-[0.8rem]",n),className:"flex justify-center",resource:a,src:o})})};var At=e=>{let{className:t,enableGutter:r=!0,imgClassName:n,media:a,staticImage:o}=e;return(0,ge.jsx)("div",{className:i("",{container:r},t),children:(0,ge.jsx)(ye,{imgClassName:i("rounded-[0.8rem]",n),resource:a,src:o})})};var Ue=({type:e="solid",iconName:t="cloud",size:r="lg",className:n})=>{let a=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,l=n??"",s=a+o+" fa-"+r+" "+l;return(0,ge.jsx)("i",{className:s})};var It=L(require("next/image"));function Rt(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function Oe({image:e,icon:t,title:r,subtitle:n,content:a,statistic:o,settings:l,link:s,className:c}){let m={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"},d={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return(0,ge.jsxs)("a",{href:s?.url||"#",className:i("min-w-56 max-w-xl h-full flex flex-col group bg-background",e?"p-0":"p-6 md:p-8",l&&!e&&m[l?.card==="default"?"solid":l?.card],e&&"bg-foreground",l&&l?.card==="outline"?"text-gray-900":"text-white",d[l?.width??"auto"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",l&&`intersect:animate-delay-${l.order||1}00`,c),children:[e&&(0,ge.jsx)("div",{className:"relative aspect-[16/9] w-full",children:(0,ge.jsx)(It.default,{src:e.url||"/placeholder.svg",alt:e.alt||"card header image",fill:!0,style:{objectFit:"cover"},priority:!0})}),(0,ge.jsxs)("div",{className:i(e?"p-6 md:p-8":"p-0","flex flex-col flex-grow"),children:[(0,ge.jsxs)("div",{className:"flex flex-col flex-grow",children:[n&&(0,ge.jsx)("div",{className:"text-primary uppercase text-sm font-light mb-4",children:n}),(0,ge.jsx)("div",{className:"flex items-start gap-4 mb-4",children:(0,ge.jsx)(zr,{icon:{type:t?.type||"fa-light",iconName:t?.icon||"no-icon-error"},heading:r??"",variant:l?.card==="default"?"solid":l?.card??"solid",iconSize:l?.iconSize||"large"})}),a&&typeof a=="object"&&(0,ge.jsx)(R,{enableGutter:!1,content:a,enableProse:!1,className:i("prose-sm prose-p:text-lg prose-headings:text-xl","space-ge-3",l?.card==="outline"||l?.card==="light"?"prose-headings:text-foreground prose-p:text-foreground prose-a:text-foreground":"prose-headings:text-white prose-p:text-gray-100 prose-a:text-gray-100",e&&"prose-headings:text-background prose-p:text-background")}),a&&typeof a=="string"&&(0,ge.jsx)("div",{className:i("prose-sm prose-p:text-lg prose-headings:text-xl","space-ge-3",l?.card==="outline"||l?.card==="light"?"prose text-foreground":"prose text-gray-100",e&&"prose text-background"),children:a})]}),s&&s.url&&(0,ge.jsx)("div",{className:"mt-6",children:(0,ge.jsx)("span",{className:"text-accent font-semibold uppercase text-sm block hover:text-accent/80 transition-colors",children:s?.label||"Find out more"})})]})]})}var zr=({icon:e,heading:t,variant:r,iconSize:n,subtitle:a})=>e&&n==="small"&&e.iconName!="no-icon-error"?(0,ge.jsxs)("div",{className:"flex items-start justify-between w-full mb-2",children:[(0,ge.jsx)("div",{className:i(r==="outline"||r==="light"?"text-primary":"text-white",n==="small"?"text-2xl":"text-3xl"),children:t}),Rt(e)&&(0,ge.jsx)("div",{className:i("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-primary":"text-white",n==="small"?"-mr-2 ml-1 mt-1":""),children:(0,ge.jsx)(Ue,{type:e.type,iconName:e.iconName,size:"2x"})})]}):e&&e.iconName!="no-icon-error"?(0,ge.jsxs)("div",{className:"flex flex-col gap-4",children:[Rt(e)&&(0,ge.jsx)("div",{className:i("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-accent":""),children:(0,ge.jsx)(Ue,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,ge.jsx)("h3",{className:i("font-normal",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl text-white"),children:t})]}):(0,ge.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,ge.jsx)("div",{className:i("font-regular",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})});var Z=({title:e,description:t,features:r,id:n,nested:a=!1})=>(0,ge.jsxs)("section",{className:i(a?"w-full":"",""),children:[(0,ge.jsxs)("div",{className:"prose prose:max-w-none",children:[e&&(0,ge.jsx)("h2",{className:"mb-6 mt-0 text-primary",id:n||"",children:e}),t&&typeof t=="string"&&(0,ge.jsx)("p",{className:"mb-5 text-foreground",children:t}),t&&typeof t=="object"&&(0,ge.jsx)("div",{className:"mb-5 text-foreground",children:(0,ge.jsx)(R,{content:t,enableGutter:!1})})]}),(0,ge.jsx)("div",{className:`grid gap-6 mt-6 md:grid-cols-${r?r.length>2?2:r.length:1} lg:grid-cols-${r?r.length>3?3:r.length:1}`,children:r&&r.map((o,l)=>{let s=()=>{if(o.icon&&"type"in o.icon&&o.icon.type!=="none")return{type:o.icon.type,icon:o.icon.icon}};return(0,ge.jsx)(Oe,{title:o.title||"",content:o.content||void 0,statistic:o.statistic||void 0,settings:{...o.settings,width:"auto",order:l},link:o.link?{...o.link,label:"Learn more"}:void 0,icon:s()??{type:"none",icon:null}},l)})})]});var xe=L(require("react"));var We=L(require("next/link")),$=e=>{let{type:t,appearance:r="inline",children:n,className:a,label:o,newTab:l,reference:s,size:c,url:m}=e,d=t==="reference"&&typeof s?.value=="object"&&s.value.slug?`${s?.relationTo!=="pages"?`/${s?.relationTo}`:""}/${s.value.slug}`:m;if(!d)return null;let p=r==="link"?"clear":c,b=l?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,ge.jsxs)(We.default,{className:i(a),href:d||m||"",...b,children:[o&&o,n&&n]}):(0,ge.jsx)(V,{asChild:!0,className:a,size:p,variant:r,children:(0,ge.jsxs)(We.default,{className:i(a),href:d||m||"",...b,children:[o&&o,n&&n]})})};function ie({nodes:e}){return(0,ge.jsx)(xe.Fragment,{children:e?.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let o=(0,ge.jsx)(xe.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,ge.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,ge.jsx)("em",{children:o},r)),t.format&4&&(o=(0,ge.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,ge.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,ge.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,ge.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,ge.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,ge.jsx)("table",{children:(0,ge.jsx)("tbody",{children:t.children.map((o,l)=>(0,ge.jsx)("tr",{children:o.children.map((s,c)=>(0,ge.jsx)("td",{children:ie({nodes:s.children})},c))},l))})},r);let n=o=>{if(o.children==null)return null;if(o?.type==="list"&&o?.listType==="check")for(let l of o.children)"checked"in l&&(l?.checked||(l.checked=!1));return ie({nodes:o.children})},a="children"in t?n(t):"";if(t.type==="block"){let o=t.fields,l=o?.blockType;if(!o||!l)return null;switch(l){case"cta":return(0,ge.jsx)(_,{...o},r);case"mediaBlock":return(0,ge.jsx)(Y,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,ge.jsx)(At,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,ge.jsx)(pt,{className:"col-start-2 mb-4",...o},r);case"code":return(0,ge.jsx)(kt,{className:"col-start-2",...o},r);case"features":return(0,ge.jsx)(Z,{...o,nested:!0},r);case"reusableContentBlock":ie({nodes:o.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,ge.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,ge.jsx)("p",{className:"col-start-2",children:a},r);case"heading":{let o=t?.tag;return(0,ge.jsx)(o,{className:"col-start-2",id:t?.id||"",children:a},r)}case"list":{let o=t?.tag;return(0,ge.jsx)(o,{className:"list col-start-2",children:a},r)}case"listitem":return t?.checked!=null?(0,ge.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t?.value,children:a},r):(0,ge.jsx)("li",{value:t?.value,children:a},r);case"quote":return(0,ge.jsx)("blockquote",{className:"col-start-2",children:a},r);case"link":{let o=t.fields;return(0,ge.jsx)($,{newTab:!!o?.newTab,reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:a},r)}case"autolink":{let o=t.fields;return(0,ge.jsx)($,{newTab:!!o?.newTab,reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:a},r)}default:return null}})})}var R=({className:e,content:t,enableGutter:r=!0,enableProse:n=!0})=>t?(0,ge.jsx)("div",{className:i({"container ":r,"max-w-none":!r,"mx-auto prose":n},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&ie({nodes:t?.root?.children})}):null;function ve({className:e}){return i("flex items-center min-h-[3.5rem] md:min-h-[3.75rem] w-full rounded-5 px-4 md:px-5 py-2"," bg-transparent text-accent-800 placeholder:text-accent-800 dark:text-body dark:placeholder:text-body"," border border-solid border-accent-900 border-opacity-20 dark:border-opacity-20 dark:border-accent-200"," focus:border-accent-900 focus:ring-0 focus-visible:outline-0 focus-visible:ring-0 focus-visible:ring-offset-0","transition-all duration-300",e)}function Er({className:e,...t}){return(0,ge.jsx)("input",{...t,className:ve({className:e})})}function ke({icon:e,...t}){return(0,ge.jsxs)("div",{className:"relative w-full",children:[(0,ge.jsx)(Er,{...t}),e&&(0,ge.jsx)("span",{className:"absolute right-5 top-1/2 w-[14px] -translate-ge-1/2 text-accent",children:e})]})}function Lr({className:e,...t}){return(0,ge.jsx)("textarea",{...t,className:i(ve({}),"resize-none md:min-h-[130px]",e)})}function Mt({icon:e,...t}){return(0,ge.jsxs)("div",{className:"relative w-full",children:[(0,ge.jsx)(Lr,{...t}),e&&(0,ge.jsx)("span",{className:"absolute right-5 top-[18px] w-[14px] text-accent",children:e})]})}var zt=require("formik"),Et=require("react-icons/fa6"),K=L(require("yup"));async function Ft(e){let{name:t,email:r,subject:n,message:a}=e,o=process.env.TEAMS_WEBHOOK_URL;if(!o)throw new Error("TEAMS_WEBHOOK_URL is not defined");let l={type:"message",attachments:[{contentType:"application/vnd.microsoft.card.adaptive",content:{$schema:"http://adaptivecards.io/schemas/adaptive-card.json",type:"AdaptiveCard",version:"1.2",body:[{type:"TextBlock",text:"Contact Us Form",wrap:!0,style:"heading",weight:"Bolder"},{type:"ColumnSet",columns:[{type:"Column",width:"stretch",items:[{type:"TextBlock",text:"Name",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Email",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Subject",wrap:!0,weight:"Bolder"}]},{type:"Column",width:"stretch",items:[{type:"TextBlock",text:`${t}`,wrap:!0},{type:"TextBlock",text:`${r}`,wrap:!0},{type:"TextBlock",text:`${n}`,wrap:!0}]}]},{type:"TextBlock",text:`${a}`,wrap:!0}]}}]};try{let s=await fetch(o,{method:"POST",mode:"no-cors",headers:{"Content-Type":"application/json"},body:JSON.stringify(l)});if(!s.ok)throw console.error(s),new Error("Network response was not ok");return{isSuccess:!0,data:!0,message:"Thanks for getting in touch"}}catch(s){return console.error(s),{isSuccess:!1,data:null,message:"Internal Server Error"}}}var Ye=require("sonner"),F={tooShort:"Must N at least ${min} characters",tooLong:"Must N at most ${max} characters",required:"This field is required",email:"Invalid email format"},Gr=K.object().shape({name:K.string().min(2,F.tooShort).max(50,F.tooLong).required(F.required),email:K.string().email(F.email).required(F.required),subject:K.string().min(2,F.tooShort).max(50,F.tooLong).required(F.required),message:K.string().min(2,F.tooShort).max(300,F.tooLong).required(F.required)}),we=i("!pr-[44px] text-foreground"),Ce=i("!border-red-600 border"),Ne=i("sr-only");function Lt(){return(0,ge.jsx)(zt.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:Gr,onSubmit:async(e,{resetForm:t})=>{let r=await Ft(e);r.data===null?Ye.toast.error(r.message):(Ye.toast.success(r.message),t())},children:({errors:e,touched:t,values:r,handleChange:n,handleBlur:a,isSubmitting:o,handleSubmit:l})=>(0,ge.jsxs)("form",{onSubmit:l,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[(0,ge.jsxs)("div",{children:[(0,ge.jsx)(ke,{placeholder:"Your Name",type:"text",name:"name",value:r.name,onChange:n,onBlur:a,disabled:o,icon:(0,ge.jsx)(Et.FaUser,{className:"text-primary"}),className:i(we,e.name&&t.name&&Ce)}),e.name&&t.name&&(0,ge.jsx)("p",{title:e.name,"aria-live":"polite",role:"error message",className:Ne,children:e.name})]}),(0,ge.jsxs)("div",{children:[(0,ge.jsx)(ke,{placeholder:"Your Email",type:"email",name:"email",value:r.email,onChange:n,onBlur:a,disabled:o,icon:(0,ge.jsx)(Dr,{}),className:i(we,e.email&&t.email&&Ce)}),e.email&&t.email&&(0,ge.jsx)("p",{title:e.email,"aria-live":"polite",role:"error message",className:Ne,children:e.email})]}),(0,ge.jsxs)("div",{className:"lg:col-span-2",children:[(0,ge.jsx)(ke,{placeholder:"Subject",type:"text",name:"subject",value:r.subject,onChange:n,onBlur:a,disabled:o,className:i(we,e.subject&&t.subject&&Ce)}),e.subject&&t.subject&&(0,ge.jsx)("p",{title:e.subject,"aria-live":"polite",role:"error message",className:Ne,children:e.subject})]}),(0,ge.jsxs)("div",{className:"lg:col-span-2",children:[(0,ge.jsx)(Mt,{placeholder:"Message...",name:"message",value:r.message,onChange:n,onBlur:a,disabled:o,icon:(0,ge.jsx)(Hr,{}),className:i(we,e.message&&t.message&&Ce)}),e.message&&t.message&&(0,ge.jsx)("p",{title:e.message,"aria-live":"polite",role:"error message",className:Ne,children:e.message})]}),(0,ge.jsx)("div",{className:"lg:col-span-2 light grid justify-items-center",children:(0,ge.jsx)(V,{type:"submit",className:"outline px-6 rounded-full outline-accent bg-background text-foreground hover:bg-accent hover:text-accent-foreground",disabled:o,children:"Send"})})]})})}function Dr(){return(0,ge.jsx)("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"text-primary",children:(0,ge.jsx)("path",{d:"M14.9727 1.76172L13.2227 13.1094C13.1953 13.3828 13.0312 13.6289 12.7852 13.7656C12.6484 13.8203 12.5117 13.875 12.3477 13.875C12.2383 13.875 12.1289 13.8477 12.0195 13.793L8.68359 12.3984L7.28906 14.4766C7.17969 14.668 6.98828 14.75 6.79688 14.75C6.49609 14.75 6.25 14.5039 6.25 14.2031V11.5781C6.25 11.3594 6.30469 11.168 6.41406 11.0312L12.375 3.375L4.33594 10.6211L1.51953 9.44531C1.21875 9.30859 1 9.03516 1 8.67969C0.972656 8.29688 1.13672 8.02344 1.4375 7.85938L13.6875 0.886719C13.9609 0.722656 14.3438 0.722656 14.6172 0.914062C14.8906 1.10547 15.0273 1.43359 14.9727 1.76172Z"})})}function Hr(){return(0,ge.jsx)("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"text-primary",children:(0,ge.jsx)("path",{d:"M12.6875 0.5C13.3984 0.5 14 1.10156 14 1.8125C14 2.25 13.7812 2.63281 13.4531 2.87891L7.51953 7.33594C7.19141 7.58203 6.78125 7.58203 6.45312 7.33594L0.519531 2.87891C0.191406 2.63281 0 2.25 0 1.8125C0 1.10156 0.574219 0.5 1.3125 0.5H12.6875ZM5.93359 8.04688C6.5625 8.51172 7.41016 8.51172 8.03906 8.04688L14 3.5625V9.25C14 10.2344 13.207 11 12.25 11H1.75C0.765625 11 0 10.2344 0 9.25V3.5625L5.93359 8.04688Z"})})}var _=({links:e,richText:t})=>{let[r,n]=(0,N.useState)(!1),a="accent",o=()=>n(!0),l=()=>n(!1),s=c=>{c.target===c.currentTarget&&l()};return(0,ge.jsxs)("div",{className:i("relative isolate overflow-hidden",a==="accent"?"bg-accent":"bg-black"),children:[(0,ge.jsx)("div",{className:"px-6 py-24 sm:px-6 sm:py-32 lg:px-8",children:(0,ge.jsxs)("div",{className:"mx-auto max-w-2xl text-center prose",children:[t&&(0,ge.jsx)(R,{className:"mb-0 prose-headings:text-white prose-h2:text-white prose-p:text-white text-white",content:t,enableGutter:!1}),(0,ge.jsx)("div",{className:"mt-10 flex items-center justify-center gap-x-6",children:(0,ge.jsx)("div",{className:"flex flex-col gap-8 text-white",children:(e||[]).map(({link:c},m)=>c?.url==="/contact"?(0,ge.jsx)("div",{onClick:o,className:i("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",a==="accent"?"border-white bg-accent":"border-accent bg-black"),children:c.label},m):(0,ge.jsx)($,{size:"lg",className:i("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",a==="accent"?"border-white bg-accent":"border-accent bg-black"),...c},m))})})]})}),r&&(0,ge.jsx)("div",{className:"absolute inset-0 ge-50 flex items-center justify-center bg-black bg-opacity-50",onClick:s,children:(0,ge.jsxs)("div",{className:"bg-white p-6 pt-10 rounded-lg shadow-lg w-full max-w-lg light relative",children:[(0,ge.jsx)("button",{className:"absolute top-4 right-4 text-gray-500 hover:text-gray-700",onClick:l,children:"\u2715"}),(0,ge.jsx)(Lt,{})," "]})})]})};var Be=e=>{let{columns:t,theme:r}=e,n={full:"12",half:"6",oneThird:"4",twoThirds:"8"},a={none:"",line:"border border-primary p-4 rounded-lg"},o=s=>{if(s.type&&s.type==="block"&&s.fields&&(s.fields.blockType==="imageBlock"||s.fields.blockType==="mediaBlock"))return!0;if(s.root&&s.root.children){for(let c of s.root.children)if(o(c))return!0}if(s.children){for(let c of s.children)if(o(c))return!0}return!1},l=(s,c,m)=>{if(c==="none"||m==="full")return{processedRichText:s,heading:null};let d=s,p=null;return s&&s.root&&s.root.children&&s.root.children[0].tag==="h2"&&(d={...s,root:{...s.root,children:s.root.children.slice(1)}},p=s.root.children[0]),{processedRichText:d,heading:p}};return(0,ge.jsx)("div",{className:"my-6",children:(0,ge.jsx)("div",{className:i("grid grid-cols-4 lg:grid-cols-12 gap-ge-8",r?.settings?.box?"gap-x-8":"gap-x-16"),children:t&&t.length>0&&t.map((s,c)=>{let{enableLink:m,link:d,richText:p,size:b}=s,{processedRichText:B,heading:P}=l(p,r?.settings?.box||"none",b||"full");return(0,ge.jsxs)("div",{className:i(`col-span-4 lg:col-span-${n[b]}`,{"md:col-span-2":b!=="full"},a[b!=="full"&&!o(p)&&r?.settings?.box||"none"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${c+1}00`),children:[P&&(0,ge.jsx)("div",{className:"bg-primary text-primary-foreground mb-4 -mt-4 -mx-4 px-4 py-2 text-xl",children:P.children[0].text}),B&&(0,ge.jsx)(R,{content:B,enableGutter:!1,className:"rich-text"}),m&&(0,ge.jsx)($,{...d})]},c)})})})};var Ht=e=>{let{customId:t,reusableContent:r}=e;return typeof r=="object"&&r!==null?(0,ge.jsx)(jr,{blocks:r.layout}):(0,ge.jsx)(ge.Fragment,{})},Dt={content:Be,cta:_,mediaBlock:Y,imageBlock:Y,features:Z},jr=e=>{let{blocks:t}=e;return t&&Array.isArray(t)&&t.length>0?(0,ge.jsx)(ge.Fragment,{children:t.map((n,a)=>{let{blockType:o}=n,l=n?.theme;if(o&&o in Dt){let s=Dt[o];if(s)return(0,ge.jsxs)("div",{className:"py-6 relative",children:[(0,ge.jsx)(Qe,{block:n,index:a}),(0,ge.jsx)("div",{className:i(l?.settings?.theme==="dark"?"dark":l?.settings?.theme==="green"?"green":""),children:(0,ge.jsx)(s,{...n})})]},a)}return null})}):null};var jt=L(require("react")),re=L(require("@radix-ui/react-collapsible")),Pe=require("@radix-ui/react-icons");var Ut=({title:e,richText:t})=>{let[r,n]=jt.default.useState(!1);return(0,ge.jsx)("div",{className:"border rounded-lg overflow-hidden",children:(0,ge.jsxs)(re.Root,{className:i("w-full"),open:r,onOpenChange:n,children:[(0,ge.jsxs)(re.Trigger,{className:"flex w-full items-center justify-between bg-white px-4 py-3 text-left hover:bg-gray-50",children:[(0,ge.jsx)("h2",{className:"text-lg font-medium",children:e}),r?(0,ge.jsx)(Pe.ChevronUpIcon,{className:"h-6 w-6"}):(0,ge.jsx)(Pe.ChevronDownIcon,{className:"h-6 w-6"})]}),(0,ge.jsx)(re.Content,{className:"overflow-hidden data-[state=closed]:animate-collapse data-[state=open]:animate-expand border-t",children:(0,ge.jsx)("div",{className:"px-4 py-3 bg-white",children:(0,ge.jsx)(R,{content:t||{},enableGutter:!1})})})]})})};var Ot={content:Be,cta:_,mediaBlock:Y,collapsibleArea:Ut,imageBlock:Y,features:Z,reusableContentBlock:Ht},Ae=e=>{let{blocks:t}=e;return t&&Array.isArray(t)&&t.length>0?(0,ge.jsx)("section",{id:"render-blocks",className:i(e.fill?"h-full w-full":""),children:t.map((n,a)=>{let{blockType:o}=n,l=n?.theme;if(o&&o in Ot){let s=Ot[o];if(o==="reusableContentBlock")return(0,ge.jsx)(N.Fragment,{children:(0,ge.jsx)(Ae,{blocks:n.reusableContent.layout})},a);if(s)return(0,ge.jsxs)("div",{className:i("py-6 relative",e.fill&&"flex h-full items-center justify-center"),children:[(0,ge.jsx)(Qe,{block:n,index:a}),(0,ge.jsx)("div",{className:i("container h-full relative",l?.settings?.theme||"dark"),children:(0,ge.jsx)(s,{...n})})]},a)}return null})}):null},Qe=e=>{if(!("theme"in e.block))return(0,ge.jsx)("div",{className:i("absolute inset-0 w-screen h-full dark bg-background")});let t=e.block?.theme;if(t.settings.background==="image"){let r={imagePosition:t.settings.imagePosition||"left",overlay:t.settings.overlay!==void 0?t.settings.overlay:!0};return(0,ge.jsxs)("div",{className:i("absolute inset-0 w-full h-full bg-background",t.settings.theme||"dark"),children:[(0,ge.jsx)(Yt.default,{src:t.settings?.image?.url||"/placeholder.svg",alt:t.settings?.image?.alt||"",fill:!0,className:"object-cover",priority:!0}),t.settings.overlay&&(0,ge.jsx)("div",{className:"absolute inset-0",style:{background:r.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(0,ge.jsx)("div",{className:i("absolute inset-0 w-screen h-full bg-background",t.settings.theme||"dark")})};var Ve=L(require("next/image"));var qe=({title:e})=>(0,ge.jsx)("header",{className:"absolute top-0 left-0 w-full py-4 px-8 flex justify-between items-center transition-colors duration-300 dark bg-background text-foreground",children:(0,ge.jsx)("div",{className:"container",children:(0,ge.jsx)("span",{className:"container text-4xl px-6",children:e})})}),$e=e=>{let{title:t,hero:r,logoImage:n}=e;return(0,ge.jsxs)("div",{className:"relative w-full h-full flex flex-col justify-center min-h-[500px] p-10",children:[(0,ge.jsx)("div",{className:"absolute inset-0",children:(0,ge.jsx)(Ve.default,{src:r.media&&r.media.url?r.media.url:"/hero.png",alt:"Background",width:r.media&&r.media.width?r.media.width??1920:1920,height:r.media&&r.media.height?r.media.height??1080:1080,style:{objectFit:"cover"},className:"opacity-80 h-full dark:opacity-60"})}),(0,ge.jsx)("div",{className:"absolute left-16 ge-50 top-4 flex flex-col items-start gap-4",children:n&&(0,ge.jsx)("div",{className:"h-24",children:(0,ge.jsx)(Ve.default,{src:n.src,alt:"Company logo",className:"h-full w-full object-contain",width:192,height:96})})}),(0,ge.jsx)("div",{className:"absolute inset-0 bg-black/30 dark:bg-black/50"}),(0,ge.jsxs)("div",{className:"relative pl-24 ge-10 max-w-3xl",children:[(0,ge.jsx)("p",{className:"text-lg font-medium pt-48 text-accent mb-2",children:t}),r.richText&&(0,ge.jsx)(R,{content:r.richText,enableGutter:!1,className:"prose-headings:text-white prose-p:text-white"})]})]})};function Ur(e){var t=document.createElement("div");t.style.display="block",t.style.height=e,document.body.appendChild(t);var r=parseFloat(window.getComputedStyle(t,null).height);return t.parentNode&&t.parentNode.removeChild(t),Math.floor(r)}var oe=e=>{let t=document.createElement("div");t.style.height="1mm",document.body.appendChild(t);let r=parseFloat(window.getComputedStyle(t).height);return document.body.removeChild(t),Math.floor(e/r)},Or=({page:e,layout:t="portrait",logoImage:r})=>t==="flow"?(0,ge.jsx)(Qt,{page:e,layout:t,logoImage:r}):(0,ge.jsx)(Vt,{page:e,layout:t,logoImage:r}),Qt=({page:e,layout:t="portrait",logoImage:r})=>{let{contentWithIds:n}=Ee(e),a=(0,N.useRef)(null),o=(0,N.useRef)(null),l=(0,N.useRef)(new ce.Previewer),s={id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}};(0,N.useEffect)(()=>{let d=document.getElementById("printable-content");if(d){let p=document.createElement("style");return p.textContent=`@page { size: ${oe(d.offsetWidth)}mm ${oe(d.offsetHeight)}mm ; margin: 0mm; width: ${oe(d.offsetWidth)}mm }; .container : { max-width: ${oe(d.offsetWidth)}mm; } .container : { max-width: 100%; }; html body * :not(#prinable-content, #printable-content *) { visibility: hidden !important; }`,document.head.appendChild(p),()=>{document.head.removeChild(p)}}},[t]);let c=(0,N.useCallback)(()=>{if(!o.current)return;o.current&&(o.current.innerHTML="");let d=document.getElementById("printable-content");d&&l.current.preview(document.getElementById("printable-content").innerHTML,[`@page { size: ${oe(d.offsetWidth)}mm ${oe(d.offsetHeight)}mm ; margin: 0mm; }; .container : { max-width: 100%; }; body { zoom: 100%;}`],o.current).catch(p=>console.error("Paged.js error:",p))},[t]);(0,N.useEffect)(()=>{l.current=new ce.Previewer},[c,t]);let m=[s,...n];return(0,ge.jsxs)("div",{children:[(0,ge.jsx)("div",{className:"w-[1123px] print:w-[1123px]",children:(0,ge.jsxs)("div",{id:"printable-content",ref:a,children:[m.map((d,p)=>(0,ge.jsx)(ge.Fragment,{children:p===0?(0,ge.jsx)("section",{className:"title-page w-full h-full",children:(0,ge.jsx)($e,{hero:e.hero,title:e.title})},p):(0,ge.jsxs)("section",{className:"normal-page overflow-hidden",children:[d.blockName&&(0,ge.jsx)(qe,{title:d.blockName}),(0,ge.jsx)(Ae,{blocks:[d],fill:!0})]},p)})),(0,ge.jsx)("section",{className:"normal-page",children:(0,ge.jsxs)("div",{className:`w-full py-2 px-8 flex justify-between items-center
6
6
  dark bg-background text-primary`,children:[(0,ge.jsxs)("div",{className:"flex px-6 items-center space-x-2",children:[r&&(0,ge.jsx)("img",{src:r.src,alt:"Cortex Reply Logo",className:"h-8"}),(0,ge.jsx)("span",{className:"pl-12 text-sm",children:"Power up your people"})]}),(0,ge.jsx)("a",{href:"https://cortexreply.com",className:"text-sm hover:underline",children:"cortexreply.com"})]})})]})}),(0,ge.jsx)("div",{ref:o,className:"preview-container"})]})},Vt=({page:e,layout:t="portrait"})=>{let{contentWithIds:r}=Ee(e),n=(0,N.useRef)(null),a=(0,N.useRef)(null),o=(0,N.useRef)(new ce.Previewer),[l,s]=(0,N.useState)(0),m=[{id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}},...r],d=(0,N.useCallback)(()=>{n.current&&(n.current&&(n.current.innerHTML=""),o.current.preview(document.getElementById("printable-content").innerHTML,["./print.css",t==="landscape"?"./landscape.css":"./portrait.css"],n.current).then(p=>s(p.pageCount)).catch(p=>console.error("Paged.js error:",p)))},[t]);return(0,N.useEffect)(()=>{o.current=new ce.Previewer,d()},[d,t]),(0,N.useEffect)(()=>{let p=document.createElement("style");return p.textContent=`@page { size: A4 ${t} ; margin: 0mm; };`,document.head.appendChild(p),()=>{document.head.removeChild(p)}},[]),(0,ge.jsxs)("div",{className:"pagedjs-container",children:[(0,ge.jsx)("div",{id:"printable-content",ref:a,style:{display:"none"},className:"pagedjs-content",children:m.map((p,b)=>(0,ge.jsx)(ge.Fragment,{children:b===0?(0,ge.jsx)("section",{className:"pagedjs-section title-page w-full h-full",children:(0,ge.jsx)($e,{hero:e.hero,title:e.title})},b):(0,ge.jsxs)("section",{className:i("pagedjs-section normal-page h-[699px]",`h-[${Ur("185mm")}px]`,p.theme?.settings?.theme==="dark"?"dark":"light"),children:[p.blockName&&(0,ge.jsx)(qe,{title:p.blockName}),(0,ge.jsx)(Ae,{blocks:[p],fill:!0})]},b)}))}),(0,ge.jsx)("div",{ref:n,className:"preview-container"})]})};0&&(module.exports={FlowPrintable,PagePrintable,Printable});
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- "use strict";import{a,b,c}from"../../chunk-TLE6V6RN.mjs";import"../../chunk-24APRFWG.mjs";import"../../chunk-FYEE5UWZ.mjs";import"../../chunk-AUBKJ4XO.mjs";import"../../chunk-3SZR5DC2.mjs";import"../../chunk-GNMQAGIE.mjs";import"../../chunk-3A4UGUFM.mjs";import"../../chunk-ZY2PDUUB.mjs";import"../../chunk-RYZTCMVC.mjs";import"../../chunk-W77KSAW7.mjs";import"../../chunk-WWAAWBLR.mjs";import"../../chunk-2H6ELPBB.mjs";import"../../chunk-X7BL4XNE.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-C4DU747D.mjs";import"../../chunk-DIAK5C43.mjs";import"../../chunk-CTKUF2I6.mjs";import"../../chunk-56RXRTGZ.mjs";import"../../chunk-L3PFZ7PW.mjs";import"../../chunk-WDDAVAVV.mjs";import"../../chunk-E6KVX2UG.mjs";import"../../chunk-LLNCOMIM.mjs";import"../../chunk-6HORFOA3.mjs";import"../../chunk-KUZCFJTH.mjs";import"../../chunk-VIS6GPCT.mjs";import"../../chunk-IC57R2EU.mjs";import"../../chunk-PBRC3UOA.mjs";import"../../chunk-SX5U74MW.mjs";import"../../chunk-KHZPOMKL.mjs";import"../../chunk-FRTYO74I.mjs";import"../../chunk-7PBTM4J4.mjs";import"../../chunk-4BDIVC2Q.mjs";import"../../chunk-TQQVBE66.mjs";import"../../chunk-BUCI7BPM.mjs";import"../../chunk-BPSLUO5I.mjs";import"../../chunk-BLD454AX.mjs";import"../../chunk-4BHOIXJM.mjs";import"../../chunk-FHJDQP4I.mjs";import"../../chunk-J2IHT57D.mjs";import"../../chunk-4YFMDLHL.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-HTVHCBXQ.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-ZLSF5YXT.mjs";import"../../chunk-M6LJ4BNZ.mjs";export{b as FlowPrintable,c as PagePrintable,a as Printable};
2
+ "use strict";import{a,b,c}from"../../chunk-RG5W7B5K.mjs";import"../../chunk-EVVDCPEA.mjs";import"../../chunk-FYEE5UWZ.mjs";import"../../chunk-AUBKJ4XO.mjs";import"../../chunk-3SZR5DC2.mjs";import"../../chunk-GNMQAGIE.mjs";import"../../chunk-3A4UGUFM.mjs";import"../../chunk-ZY2PDUUB.mjs";import"../../chunk-RYZTCMVC.mjs";import"../../chunk-RZUYAUCR.mjs";import"../../chunk-FSYU3D5O.mjs";import"../../chunk-JLCWVIEP.mjs";import"../../chunk-5ALQQYYE.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-C4DU747D.mjs";import"../../chunk-DIAK5C43.mjs";import"../../chunk-CTKUF2I6.mjs";import"../../chunk-56RXRTGZ.mjs";import"../../chunk-L3PFZ7PW.mjs";import"../../chunk-WDDAVAVV.mjs";import"../../chunk-E6KVX2UG.mjs";import"../../chunk-LLNCOMIM.mjs";import"../../chunk-6HORFOA3.mjs";import"../../chunk-KUZCFJTH.mjs";import"../../chunk-VIS6GPCT.mjs";import"../../chunk-IC57R2EU.mjs";import"../../chunk-PBRC3UOA.mjs";import"../../chunk-SX5U74MW.mjs";import"../../chunk-KHZPOMKL.mjs";import"../../chunk-FRTYO74I.mjs";import"../../chunk-7PBTM4J4.mjs";import"../../chunk-4BDIVC2Q.mjs";import"../../chunk-TQQVBE66.mjs";import"../../chunk-BUCI7BPM.mjs";import"../../chunk-BPSLUO5I.mjs";import"../../chunk-BLD454AX.mjs";import"../../chunk-4BHOIXJM.mjs";import"../../chunk-FHJDQP4I.mjs";import"../../chunk-J2IHT57D.mjs";import"../../chunk-4YFMDLHL.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-HTVHCBXQ.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-ZLSF5YXT.mjs";import"../../chunk-M6LJ4BNZ.mjs";export{b as FlowPrintable,c as PagePrintable,a as Printable};