cortex-react-components 1.51.2 → 1.51.3
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.
- package/dist/{chunk-Z4CK655R.mjs → chunk-23L5ZJ2U.mjs} +1 -1
- package/dist/{chunk-KKSMDJRP.mjs → chunk-2JGEXP2O.mjs} +1 -1
- package/dist/{chunk-23EQTK7B.mjs → chunk-423OEU3K.mjs} +1 -1
- package/dist/chunk-4Y4IPE52.mjs +1 -0
- package/dist/{chunk-65OD4DLE.mjs → chunk-5WS3LL7J.mjs} +1 -1
- package/dist/{chunk-PFWQLNIT.mjs → chunk-6DLX67SZ.mjs} +1 -1
- package/dist/{chunk-LT2AK4G5.mjs → chunk-7OUNEQNT.mjs} +1 -1
- package/dist/{chunk-GL6F4PKJ.mjs → chunk-ALTFHQW6.mjs} +1 -1
- package/dist/{chunk-JKXEWZ7M.mjs → chunk-DSUL2K64.mjs} +1 -1
- package/dist/{chunk-OI7AIO33.mjs → chunk-EVKYY4AE.mjs} +1 -1
- package/dist/{chunk-DCEF2LYO.mjs → chunk-EZ3I4MMX.mjs} +1 -1
- package/dist/{chunk-55GJBCU5.mjs → chunk-FR7LDOVB.mjs} +1 -1
- package/dist/chunk-HFU6TQLF.mjs +1 -0
- package/dist/{chunk-RWDDYYDT.mjs → chunk-HPIXBZWF.mjs} +1 -1
- package/dist/{chunk-RHPFEIP4.mjs → chunk-IBV34MLI.mjs} +1 -1
- package/dist/{chunk-NGK3IDFP.mjs → chunk-ICTOXY7D.mjs} +1 -1
- package/dist/{chunk-XHNZFKKI.mjs → chunk-LEO3X5GA.mjs} +1 -1
- package/dist/{chunk-FM7CBLYK.mjs → chunk-LLGYRD34.mjs} +1 -1
- package/dist/{chunk-UD7JYMRU.mjs → chunk-MANZDSTF.mjs} +1 -1
- package/dist/{chunk-QO2Z7WXW.mjs → chunk-MTMQVLB3.mjs} +1 -1
- package/dist/{chunk-LVHQ5ZSP.mjs → chunk-ODHS7GXR.mjs} +1 -1
- package/dist/{chunk-IYERYBWZ.mjs → chunk-P5KTTDP2.mjs} +1 -1
- package/dist/{chunk-F6Q7HP23.mjs → chunk-PCCBWQD7.mjs} +1 -1
- package/dist/chunk-PPWX73XF.mjs +1 -0
- package/dist/{chunk-2GFBBWC2.mjs → chunk-PT5NTB4Y.mjs} +1 -1
- package/dist/chunk-UXX4Q6IQ.mjs +1 -0
- package/dist/{chunk-ATONX5RA.mjs → chunk-VLUAFB54.mjs} +1 -1
- package/dist/{chunk-4VPOPPLA.mjs → chunk-WRX5GLJV.mjs} +1 -1
- package/dist/{chunk-MJLCSHUM.mjs → chunk-X6UKMJDE.mjs} +1 -1
- package/dist/{chunk-CTMMLDMU.mjs → chunk-XXPOYQ7J.mjs} +1 -1
- package/dist/{chunk-ZGX3P2RY.mjs → chunk-YPDFTCBL.mjs} +1 -1
- package/dist/components/Blocks/Banner.js +1 -1
- package/dist/components/Blocks/Banner.mjs +1 -1
- package/dist/components/Blocks/CallToAction.js +1 -1
- package/dist/components/Blocks/CallToAction.mjs +1 -1
- package/dist/components/Blocks/CallToAction.stories.js +1 -1
- package/dist/components/Blocks/CallToAction.stories.mjs +1 -1
- package/dist/components/Blocks/Content.js +1 -1
- package/dist/components/Blocks/Content.mjs +1 -1
- package/dist/components/Blocks/Content.stories.js +1 -1
- package/dist/components/Blocks/Content.stories.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.d.ts +1 -0
- package/dist/components/Blocks/FeaturesBlock.js +1 -1
- package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.stories.js +1 -1
- package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
- package/dist/components/Blocks/ImageBlock.mjs +1 -1
- package/dist/components/Blocks/MediaBlock.mjs +1 -1
- package/dist/components/Blocks/RelatedPosts.js +1 -1
- package/dist/components/Blocks/RelatedPosts.mjs +1 -1
- package/dist/components/Blocks/RenderBlocks.js +1 -1
- package/dist/components/Blocks/RenderBlocks.mjs +1 -1
- package/dist/components/Blocks/ReusableContentBlock.js +1 -1
- package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
- package/dist/components/Blocks/index.js +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/Cards/ContentCard.js +1 -1
- package/dist/components/Cards/ContentCard.mjs +1 -1
- package/dist/components/Cards/ContentCard.stories.js +1 -1
- package/dist/components/Cards/ContentCard.stories.mjs +1 -1
- package/dist/components/Cards/index.js +2 -2
- package/dist/components/Cards/index.mjs +1 -1
- package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
- package/dist/components/DigitalColleagues/MainPage.stories.mjs +1 -1
- package/dist/components/HeaderFooter/Footer.mjs +1 -1
- package/dist/components/HeaderFooter/Footer.stories.mjs +1 -1
- package/dist/components/HeaderFooter/SectionHeading.js +1 -1
- package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
- package/dist/components/HeaderFooter/index.mjs +1 -1
- package/dist/components/Heros/HighImpact/index.js +1 -1
- package/dist/components/Heros/HighImpact/index.mjs +1 -1
- package/dist/components/Heros/LowImpact/index.js +1 -1
- package/dist/components/Heros/LowImpact/index.mjs +1 -1
- package/dist/components/Heros/MediumImpact/index.js +1 -1
- package/dist/components/Heros/MediumImpact/index.mjs +1 -1
- package/dist/components/Heros/RenderHero.js +1 -1
- package/dist/components/Heros/RenderHero.mjs +1 -1
- package/dist/components/Heros/SectionHero/index.mjs +1 -1
- package/dist/components/Heros/index.js +1 -1
- package/dist/components/Heros/index.mjs +1 -1
- package/dist/components/Layouts/BlogList.js +1 -1
- package/dist/components/Layouts/BlogList.mjs +1 -1
- package/dist/components/Layouts/BlogList.stories.js +1 -1
- package/dist/components/Layouts/BlogList.stories.mjs +1 -1
- package/dist/components/Layouts/OutputHeaderFooter.js +1 -1
- package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
- package/dist/components/Layouts/Print.js +2 -2
- package/dist/components/Layouts/Print.mjs +1 -1
- package/dist/components/Layouts/Print.stories.js +1 -1
- package/dist/components/Layouts/Print.stories.mjs +1 -1
- package/dist/components/Layouts/SlideShow.js +4 -4
- package/dist/components/Layouts/SlideShow.mjs +1 -1
- package/dist/components/Layouts/SlideShow.stories.js +4 -4
- package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
- package/dist/components/Layouts/index.js +6 -6
- package/dist/components/Layouts/index.mjs +1 -1
- package/dist/components/Payload/Card/index.mjs +1 -1
- package/dist/components/Payload/CollectionArchive/index.mjs +1 -1
- package/dist/components/Payload/Media/index.mjs +1 -1
- package/dist/components/Payload/RichText/index.js +1 -1
- package/dist/components/Payload/RichText/index.mjs +1 -1
- package/dist/components/Payload/RichText/serialize.js +1 -1
- package/dist/components/Payload/RichText/serialize.mjs +1 -1
- package/dist/components/Payload/RichText.stories.js +1 -1
- package/dist/components/Payload/RichText.stories.mjs +1 -1
- package/dist/components/Payload/index.js +1 -1
- package/dist/components/Payload/index.mjs +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index.mjs +1 -1
- package/dist/globals.css +1 -1
- package/dist/index.js +7 -7
- package/dist/index.mjs +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/pages/Blog.js +1 -1
- package/dist/pages/Blog.mjs +1 -1
- package/dist/pages/Blog.stories.js +1 -1
- package/dist/pages/Blog.stories.mjs +1 -1
- package/dist/pages/Documentation.mjs +1 -1
- package/dist/pages/Documentation.stories.mjs +1 -1
- package/dist/pages/IndexPage.mjs +1 -1
- package/dist/pages/IndexPage.stories.mjs +1 -1
- package/dist/pages/Intranet.mjs +1 -1
- package/dist/pages/Intranet.stories.mjs +1 -1
- package/dist/pages/LandingPage.mjs +1 -1
- package/dist/pages/LandingPage.stories.mjs +1 -1
- package/dist/pages/Page.js +1 -1
- package/dist/pages/Page.mjs +1 -1
- package/dist/pages/Page.stories.js +1 -1
- package/dist/pages/Page.stories.mjs +1 -1
- package/dist/pages/Printable.stories.js +5 -5
- package/dist/pages/Printable.stories.mjs +1 -1
- package/dist/pages/Publish.js +5 -5
- package/dist/pages/Publish.mjs +1 -1
- package/dist/pages/Publish.stories.js +5 -5
- package/dist/pages/Publish.stories.mjs +1 -1
- package/dist/pages/Website.js +1 -1
- package/dist/pages/Website.mjs +1 -1
- package/dist/pages/Website.stories.js +1 -5
- package/dist/pages/Website.stories.mjs +1 -1
- package/dist/sections/AboutSection.js +1 -1
- package/dist/sections/AboutSection.mjs +1 -1
- package/dist/sections/AboutSection.stories.js +1 -1
- package/dist/sections/AboutSection.stories.mjs +1 -1
- package/dist/sections/BlogDetail.js +1 -1
- package/dist/sections/BlogDetail.mjs +1 -1
- package/dist/sections/BlogDetail.stories.js +1 -1
- package/dist/sections/BlogDetail.stories.mjs +1 -1
- package/dist/sections/ContactSection.js +1 -1
- package/dist/sections/ContactSection.mjs +1 -1
- package/dist/sections/ContactSection.stories.js +1 -1
- package/dist/sections/ContactSection.stories.mjs +1 -1
- package/dist/sections/ImageSection.stories.js +1 -1
- package/dist/sections/ImageSection.stories.mjs +1 -1
- package/dist/sections/PricingSection.js +1 -1
- package/dist/sections/PricingSection.mjs +1 -1
- package/dist/sections/PricingSection.stories.js +1 -1
- package/dist/sections/PricingSection.stories.mjs +1 -1
- package/dist/sections/form/index.mjs +1 -1
- package/dist/sections/index.js +1 -1
- package/dist/sections/index.mjs +1 -1
- package/dist/tests/payload.d.ts +705 -0
- package/dist/tests/payload.js +1 -1
- package/dist/tests/payload.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-IE5KIWR5.mjs +0 -1
- package/dist/chunk-IKD535M2.mjs +0 -1
- package/dist/chunk-MHVWWZUW.mjs +0 -1
- package/dist/chunk-X5FDSTRM.mjs +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
"use strict";var it=Object.create;var Z=Object.defineProperty;var ct=Object.getOwnPropertyDescriptor;var dt=Object.getOwnPropertyNames;var pt=Object.getPrototypeOf,mt=Object.prototype.hasOwnProperty;var ut=(e,t)=>{for(var r in t)Z(e,r,{get:t[r],enumerable:!0})},Pe=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of dt(t))!mt.call(e,a)&&a!==r&&Z(e,a,{get:()=>t[a],enumerable:!(n=ct(t,a))||n.enumerable});return e};var O=(e,t,r)=>(r=e!=null?it(pt(e)):{},Pe(t||!e||!e.__esModule?Z(r,"default",{value:e,enumerable:!0}):r,e)),gt=e=>Pe(Z({},"__esModule",{value:!0}),e);var er={};ut(er,{Footer:()=>Kt,HeaderTop:()=>Xt,TitleSlide:()=>$t});module.exports=gt(er);var Fe=require("clsx");var de="-",ft=e=>{let t=yt(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:l=>{let s=l.split(de);return s[0]===""&&s.length!==1&&s.shift(),Se(s,t)||bt(l)},getConflictingClassGroupIds:(l,s)=>{let c=r[l]||[];return s&&n[l]?[...c,...n[l]]:c}}},Se=(e,t)=>{var l;if(e.length===0)return t.classGroupId;let r=e[0],n=t.nextPart.get(r),a=n?Se(e.slice(1),n):void 0;if(a)return a;if(t.validators.length===0)return;let o=e.join(de);return(l=t.validators.find(({validator:s})=>s(o)))==null?void 0:l.classGroupId},Be=/^\[(.+)\]$/,bt=e=>{if(Be.test(e)){let t=Be.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},yt=e=>{let{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]};return xt(Object.entries(e.classGroups),r).forEach(([o,l])=>{ce(l,n,o,t)}),n},ce=(e,t,r,n)=>{e.forEach(a=>{if(typeof a=="string"){let o=a===""?t:Re(t,a);o.classGroupId=r;return}if(typeof a=="function"){if(ht(a)){ce(a(n),t,r,n);return}t.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(([o,l])=>{ce(l,Re(t,o),r,n)})})},Re=(e,t)=>{let r=e;return t.split(de).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},ht=e=>e.isThemeGetter,xt=(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,wt=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)}}},Te="!",vt=e=>{let{separator:t,experimentalParseClassName:r}=e,n=t.length===1,a=t[0],o=t.length,l=s=>{let c=[],p=0,u=0,x;for(let h=0;h<s.length;h++){let k=s[h];if(p===0){if(k===a&&(n||s.slice(h,h+o)===t)){c.push(s.slice(u,h)),u=h+o;continue}if(k==="/"){x=h;continue}}k==="["?p++:k==="]"&&p--}let w=c.length===0?s:s.substring(u),C=w.startsWith(Te),A=C?w.substring(1):w,y=x&&x>u?x-u:void 0;return{modifiers:c,hasImportantModifier:C,baseClassName:A,maybePostfixModifierPosition:y}};return r?s=>r({className:s,parseClassName:l}):l},kt=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},Ct=e=>({cache:wt(e.cacheSize),parseClassName:vt(e),...ft(e)}),Nt=/\s+/,At=(e,t)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:a}=t,o=[],l=e.trim().split(Nt),s="";for(let c=l.length-1;c>=0;c-=1){let p=l[c],{modifiers:u,hasImportantModifier:x,baseClassName:w,maybePostfixModifierPosition:C}=r(p),A=!!C,y=n(A?w.substring(0,C):w);if(!y){if(!A){s=p+(s.length>0?" "+s:s);continue}if(y=n(w),!y){s=p+(s.length>0?" "+s:s);continue}A=!1}let h=kt(u).join(":"),k=x?h+Te:h,N=k+y;if(o.includes(N))continue;o.push(N);let M=a(y,A);for(let F=0;F<M.length;++F){let q=M[F];o.push(k+q)}s=p+(s.length>0?" "+s:s)}return s};function Pt(){let e=0,t,r,n="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Ie(t))&&(n&&(n+=" "),n+=r);return n}var Ie=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=Ie(e[n]))&&(r&&(r+=" "),r+=t);return r};function Bt(e,...t){let r,n,a,o=l;function l(c){let p=t.reduce((u,x)=>x(u),e());return r=Ct(p),n=r.cache.get,a=r.cache.set,o=s,s(c)}function s(c){let p=n(c);if(p)return p;let u=At(c,r);return a(c,u),u}return function(){return o(Pt.apply(null,arguments))}}var g=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},ze=/^\[(?:([a-z-]+):)?(.+)\]$/i,Rt=/^\d+\/\d+$/,St=new Set(["px","full","screen"]),Tt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,It=/\d+(%|px|r?em|[sdl]?pe([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$/,zt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Et=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Mt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,R=e=>j(e)||St.has(e)||Rt.test(e),I=e=>U(e,"length",Jt),j=e=>!!e&&!Number.isNaN(Number(e)),ie=e=>U(e,"number",j),J=e=>!!e&&Number.isInteger(Number(e)),Ft=e=>e.endsWith("%")&&j(e.slice(0,-1)),i=e=>ze.test(e),z=e=>Tt.test(e),Gt=new Set(["length","size","percentage"]),Dt=e=>U(e,Gt,Ee),jt=e=>U(e,"position",Ee),Ut=new Set(["image","url"]),_t=e=>U(e,Ut,Wt),Ot=e=>U(e,"",Lt),L=()=>!0,U=(e,t,r)=>{let n=ze.exec(e);return n?n[1]?typeof t=="string"?n[1]===t:t.has(n[1]):r(n[2]):!1},Jt=e=>It.test(e)&&!zt.test(e),Ee=()=>!1,Lt=e=>Et.test(e),Wt=e=>Mt.test(e);var Vt=()=>{let e=g("colors"),t=g("spacing"),r=g("blur"),n=g("brightness"),a=g("borderColor"),o=g("borderRadius"),l=g("borderSpacing"),s=g("borderWidth"),c=g("contrast"),p=g("grayscale"),u=g("hueRotate"),x=g("invert"),w=g("gap"),C=g("gradientColorStops"),A=g("gradientColorStopPositions"),y=g("inset"),h=g("margin"),k=g("opacity"),N=g("padding"),M=g("saturate"),F=g("scale"),q=g("sepia"),xe=g("skew"),we=g("space"),ve=g("translate"),ne=()=>["auto","contain","none"],ae=()=>["auto","hidden","clip","visible","scroll"],se=()=>["auto",i,t],b=()=>[i,t],ke=()=>["",R,I],H=()=>["auto",j,i],Ce=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Y=()=>["solid","dashed","dotted","double","none"],Ne=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],le=()=>["start","end","center","between","around","evenly","stretch"],_=()=>["","0",i],Ae=()=>["auto","avoid","all","avoid-page","page","left","right","column"],B=()=>[j,i];return{cacheSize:500,separator:":",theme:{colors:[L],spacing:[R,I],blur:["none","",z,i],brightness:B(),borderColor:[e],borderRadius:["none","","full",z,i],borderSpacing:b(),borderWidth:ke(),contrast:B(),grayscale:_(),hueRotate:B(),invert:_(),gap:b(),gradientColorStops:[e],gradientColorStopPositions:[Ft,I],inset:se(),margin:se(),opacity:B(),padding:b(),saturate:B(),scale:B(),sepia:_(),skew:B(),space:b(),translate:b()},classGroups:{aspect:[{aspect:["auto","square","video",i]}],container:["container"],columns:[{columns:[z]}],"break-after":[{"break-after":Ae()}],"break-before":[{"break-before":Ae()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...Ce(),i]}],overflow:[{overflow:ae()}],"overflow-x":[{"overflow-x":ae()}],"overflow-y":[{"overflow-y":ae()}],overscroll:[{overscroll:ne()}],"overscroll-x":[{"overscroll-x":ne()}],"overscroll-y":[{"overscroll-y":ne()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[y]}],"inset-x":[{"inset-x":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",J,i]}],basis:[{basis:se()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",i]}],grow:[{grow:_()}],shrink:[{shrink:_()}],order:[{order:["first","last","none",J,i]}],"grid-cols":[{"grid-cols":[L]}],"col-start-end":[{col:["auto",{span:["full",J,i]},i]}],"col-start":[{"col-start":H()}],"col-end":[{"col-end":H()}],"grid-rows":[{"grid-rows":[L]}],"row-start-end":[{row:["auto",{span:[J,i]},i]}],"row-start":[{"row-start":H()}],"row-end":[{"row-end":H()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",i]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",i]}],gap:[{gap:[w]}],"gap-x":[{"gap-x":[w]}],"gap-y":[{"gap-y":[w]}],"justify-content":[{justify:["normal",...le()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...le(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...le(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[N]}],px:[{px:[N]}],py:[{py:[N]}],ps:[{ps:[N]}],pe:[{pe:[N]}],pt:[{pt:[N]}],pr:[{pr:[N]}],pb:[{pb:[N]}],pl:[{pl:[N]}],pe:[{pe:[h]}],mx:[{mx:[h]}],my:[{my:[h]}],ms:[{ms:[h]}],pe:[{pe:[h]}],mt:[{mt:[h]}],mr:[{mr:[h]}],mb:[{mb:[h]}],ml:[{ml:[h]}],"space-x":[{"space-x":[we]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[we]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",i,t]}],"min-w":[{"min-w":[i,t,"min","max","fit"]}],"max-w":[{"max-w":[i,t,"none","full","min","max","fit","prose",{screen:[z]},z]}],h:[{h:[i,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[i,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[i,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[i,t,"auto","min","max","fit"]}],"font-size":[{text:["base",z,I]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ie]}],"font-family":[{font:[L]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",i]}],"line-clamp":[{"line-clamp":["none",j,ie]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",R,i]}],"list-image":[{"list-image":["none",i]}],"list-style-type":[{list:["none","disc","decimal",i]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[k]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[k]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Y(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",R,I]}],"underline-offset":[{"underline-offset":["auto",R,i]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:b()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",i]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",i]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[k]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Ce(),jt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Dt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},_t]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[A]}],"gradient-via-pos":[{via:[A]}],"gradient-to-pos":[{to:[A]}],"gradient-from":[{from:[C]}],"gradient-via":[{via:[C]}],"gradient-to":[{to:[C]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-pe":[{"rounded-pe":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[k]}],"border-style":[{border:[...Y(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[k]}],"divide-style":[{divide:Y()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[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:["",...Y()]}],"outline-offset":[{"outline-offset":[R,i]}],"outline-w":[{outline:[R,I]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:ke()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[k]}],"ring-offset-w":[{"ring-offset":[R,I]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",z,Ot]}],"shadow-color":[{shadow:[L]}],opacity:[{opacity:[k]}],"mix-blend":[{"mix-blend":[...Ne(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Ne()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",z,i]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[x]}],saturate:[{saturate:[M]}],sepia:[{sepia:[q]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[x]}],"backdrop-opacity":[{"backdrop-opacity":[k]}],"backdrop-saturate":[{"backdrop-saturate":[M]}],"backdrop-sepia":[{"backdrop-sepia":[q]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",i]}],duration:[{duration:B()}],ease:[{ease:["linear","in","out","in-out",i]}],delay:[{delay:B()}],animate:[{animate:["none","spin","ping","pulse","bounce",i]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[F]}],"scale-x":[{"scale-x":[F]}],"scale-y":[{"scale-y":[F]}],rotate:[{rotate:[J,i]}],"translate-x":[{"translate-x":[ve]}],"translate-y":[{"translate-y":[ve]}],"skew-x":[{"skew-x":[xe]}],"skew-y":[{"skew-y":[xe]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",i]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",i]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-pe":[{"scroll-pe":b()}],"scroll-mx":[{"scroll-mx":b()}],"scroll-my":[{"scroll-my":b()}],"scroll-ms":[{"scroll-ms":b()}],"scroll-pe":[{"scroll-pe":b()}],"scroll-mt":[{"scroll-mt":b()}],"scroll-mr":[{"scroll-mr":b()}],"scroll-mb":[{"scroll-mb":b()}],"scroll-ml":[{"scroll-ml":b()}],"scroll-p":[{"scroll-p":b()}],"scroll-px":[{"scroll-px":b()}],"scroll-py":[{"scroll-py":b()}],"scroll-ps":[{"scroll-ps":b()}],"scroll-pe":[{"scroll-pe":b()}],"scroll-pt":[{"scroll-pt":b()}],"scroll-pr":[{"scroll-pr":b()}],"scroll-pb":[{"scroll-pb":b()}],"scroll-pl":[{"scroll-pl":b()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",i]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[R,I,ie]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],pe:["mx","my","ms","pe","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-pe","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-pe"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-pe":["scroll-mx","scroll-my","scroll-ms","scroll-pe","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-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Me=Bt(Vt);function d(...e){return Me((0,Fe.clsx)(e))}var Je=require("react");var De=O(require("next/image")),pe=require("react/jsx-runtime"),Qt={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},Ge="data:image/png;base64,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",je=e=>{let{alt:t,fill:r,imgClassName:n,priority:a,resource:o,size:l,src:s,loading:c}=e,p,u,x=t,w=s||"";if(!w&&o&&typeof o=="object"){let{alt:y,filename:h,height:k,url:N,width:M}=o;p=M,u=k,x=y||"",w=N||Ge}let C=c||"lazy",A=l||Object.entries(Qt).map(([,y])=>`(max-width: ${y}px) ${y*2}w`).join(", ");return(0,pe.jsx)("picture",{children:(0,pe.jsx)(De.default,{alt:x||"",className:d(n),fill:r,height:r?void 0:u,placeholder:"blur",blurDataURL:Ge,priority:C!=="lazy"&&a,quality:100,loading:C,sizes:A,src:w,width:r?void 0:p})})};var Ue=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var _e=()=>{if(Ue){let e=window.location.protocol,t=window.location.hostname,r=window.location.port;return`${e}//${t}${r?`:${r}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var Oe=e=>{let{onClick:t,resource:r,videoClassName:n}=e,a=(0,Je.useRef)(null);if((0,Je.useEffect)(()=>{let{current:o}=a;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,pe.jsx)("video",{autoPlay:!0,className:d(n),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:a,children:(0,pe.jsx)("source",{src:`${_e()}/media/${o}`})})}return null};var $=e=>{var l;let{className:t,htmlElement:r="div",resource:n}=e,a=typeof n=="object"&&((l=n==null?void 0:n.mimeType)==null?void 0:l.includes("video"));return(0,pe.jsx)(r||Je.Fragment,{...r!==null?{className:t}:{},children:a?(0,pe.jsx)(Oe,{...e}):(0,pe.jsx)(je,{...e})})};var Le=require("@radix-ui/react-slot"),We=require("class-variance-authority"),Ve=O(require("react")),qt=(0,We.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),G=Ve.forwardRef(({asChild:e=!1,className:t,size:r,variant:n,...a},o)=>(0,pe.jsx)(e?Le.Slot:"button",{className:d(qt({className:t,size:r,variant:n})),ref:o,...a}));G.displayName="Button";var ue=O(require("next/link")),V=e=>{let{type:t,appearance:r="inline",children:n,className:a,label:o,newTab:l,reference:s,size:c,url:p}=e,u=t==="reference"&&typeof(s==null?void 0:s.value)=="object"&&s.value.slug?`${(s==null?void 0:s.relationTo)!=="pages"?`/${s==null?void 0:s.relationTo}`:""}/${s.value.slug}`:p;if(!u)return null;let x=r==="link"?"clear":c,w=l?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,pe.jsxs)(ue.default,{className:d(a),href:u||p||"",...w,children:[o&&o,n&&n]}):(0,pe.jsx)(G,{asChild:!0,className:a,size:x,variant:r,children:(0,pe.jsxs)(ue.default,{className:d(a),href:u||p||"",...w,children:[o&&o,n&&n]})})};var qe=({className:e,content:t,style:r})=>(0,pe.jsx)("div",{className:d("mx-auto my-8 w-full",e),children:(0,pe.jsx)("div",{className:d("border py-3 px-6 flex items-center rounded",{"border-border bg-card":r==="info","border-error bg-error/30":r==="error","border-success bg-success/30":r==="success","border-warning bg-warning/30":r==="warning"}),children:(0,pe.jsx)(P,{content:t,enableGutter:!1,enableProse:!1})})});var He=({links:e,richText:t})=>(0,pe.jsx)("div",{className:"container",children:(0,pe.jsxs)("div",{className:"bg-card rounded border-border border p-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,pe.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,pe.jsx)(P,{className:"mb-0",content:t,enableGutter:!1})}),(0,pe.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},n)=>(0,pe.jsx)(V,{size:"lg",...r},n))})]})});var te=require("prism-react-renderer");var Ye=require("lucide-react");function Ke({code:e}){let[t,r]=(0,Je.useState)("Copy");function n(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,pe.jsx)("div",{className:"flex justify-end align-middle",children:(0,pe.jsxs)(G,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),n()},children:[(0,pe.jsx)("p",{children:t}),(0,pe.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,pe.jsx)(Ye.ClipboardCopy,{})})]})})}var Xe=({code:e,language:t=""})=>e?(0,pe.jsx)(te.Highlight,{code:e,language:t,theme:te.themes.vsDark,children:({getLineProps:r,getTokenProps:n,tokens:a})=>(0,pe.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[a.map((o,l)=>(0,pe.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,pe.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:l+1}),(0,pe.jsx)("span",{className:"table-cell pl-4",children:o.map((s,c)=>(0,pe.jsx)("span",{...n({token:s})},c))})]},l)),(0,pe.jsx)(Ke,{code:e})]})}):null;var $e=({className:e,code:t,language:r})=>(0,pe.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,pe.jsx)(Xe,{code:t,language:r})});var et=e=>{let{className:t,enableGutter:r=!0,imgClassName:n,media:a,staticImage:o}=e;return(0,pe.jsx)("div",{className:d("h-full",{container:r},t),children:(0,pe.jsx)($,{imgClassName:d("rounded-[0.8rem] max-h-full",n),className:"h-full",resource:a,src:o})})};var tt=e=>{let{className:t,enableGutter:r=!0,imgClassName:n,media:a,staticImage:o}=e;return(0,pe.jsx)("div",{className:d("",{container:r},t),children:(0,pe.jsx)($,{imgClassName:d("rounded-[0.8rem]",n),resource:a,src:o})})};var ye=({type:e="solid",iconName:t="cloud",size:r="lg",className:n})=>{let a=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,l=n!=null?n:"",s=a+o+" fa-"+r+" "+l;return(0,pe.jsx)("i",{className:s})};function ot(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function nt({variant:e="outline",className:t,icon:r,iconSize:n="large",width:a="auto",order:o=0,heading:l,subheading:s,content:c,statistic:p,buttonText:u,buttonHref:x}){let w={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:""},C={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return(0,pe.jsxs)("div",{className:d("rounded-3xl p-8 md:p-8 min-w-56 flex flex-col group",w[e],e==="outline"?"text-gray-900":"text-white",t,C[a],"intersect intersect-full animate-flip-up",o===0?"":`animate-delay-${o}00`),children:[(0,pe.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,pe.jsx)(Ht,{icon:r,heading:l,variant:e,iconSize:n})}),p&&(0,pe.jsx)("div",{className:"mb-6",children:(0,pe.jsx)("div",{className:d("text-4xl text-wrap font-bold leading-none overflow-hidden",e==="outline"||e==="light"?"text-primary":"text-white"),children:p})}),s&&(0,pe.jsx)("div",{className:"mb-4 text-xl md:text-2xl font-light",children:s}),c&&typeof c=="object"&&(0,pe.jsx)("div",{className:d("space-y-6"),children:(0,pe.jsx)(P,{enableGutter:!1,content:c,enableProse:!1,className:d(e==="outline"||e==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100")})}),c&&typeof c=="string"&&(0,pe.jsx)("div",{className:d("space-y-6",e==="outline"||e==="light"?"text-gray-900":"text-gray-100"),children:c}),u&&(0,pe.jsx)("div",{className:"mt-auto pt-6 flex items-center justify-center",children:(0,pe.jsx)(G,{size:"lg",className:"text-white text-lg rounded-xl w-full mt-auto items-center justify-center",asChild:!0,children:(0,pe.jsx)("a",{href:x,children:u})})}),e==="radial"&&(0,pe.jsx)("div",{className:"absolute bottom-0 right-0 w-2/3 h-2/3 blur-3xl rounded-full",style:{background:"radial-gradient(circle, rgba(164,35,104,0.3) 0%, rgba(74,16,48,0) 70%)"}})]})}var Ht=({icon:e,heading:t,variant:r,iconSize:n})=>e&&n==="small"?(0,pe.jsxs)("div",{className:"flex items-start gap-4 mb-2",children:[ot(e)&&(0,pe.jsx)("div",{className:d("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-primary":"text-white",n==="small"?"mt-2":""),children:(0,pe.jsx)(ye,{type:e.type,iconName:e.iconName,size:"2x"})}),(0,pe.jsx)("div",{className:d("font-semibold",r==="outline"||r==="light"?"text-primary":"text-white",n==="small"?"text-2xl":"text-3xl"),children:t})]}):e?(0,pe.jsxs)("div",{className:"flex flex-col gap-4",children:[ot(e)&&(0,pe.jsx)("div",{className:d("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-accent":""),children:(0,pe.jsx)(ye,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,pe.jsx)("h3",{className:d("font-semibold",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})]}):(0,pe.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,pe.jsx)("div",{className:d("font-semibold",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})});var at=({title:e,description:t,features:r,id:n})=>(0,pe.jsxs)("section",{className:d("container w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,pe.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl text-primary",id:n||"",children:e}),t&&typeof t=="string"&&(0,pe.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:t}),t&&typeof t=="object"&&(0,pe.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:(0,pe.jsx)(P,{content:t,enableGutter:!1})}),(0,pe.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((a,o)=>{var s,c,p,u,x;let l=()=>{if(a.icon&&"type"in a.icon&&a.icon.type!=="none")return{type:a.icon.type,iconName:a.icon.icon}};return(0,pe.jsx)(nt,{variant:((s=a.settings)==null?void 0:s.card)==="default"?"light":((c=a.settings)==null?void 0:c.card)||"outline",icon:l()||void 0,iconSize:((p=a.settings)==null?void 0:p.iconSize)||"large",width:"auto",order:o,heading:a.title||"",content:a.content||void 0,statistic:a.statistic||void 0,buttonText:(u=a.link)!=null&&u.url?"Find out more":void 0,buttonHref:((x=a.link)==null?void 0:x.url)||void 0},o)})})]});var re=O(require("react"));function Q({nodes:e}){return(0,pe.jsx)(re.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let o=(0,pe.jsx)(re.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,pe.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,pe.jsx)("em",{children:o},r)),t.format&4&&(o=(0,pe.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,pe.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,pe.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,pe.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,pe.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,pe.jsx)("table",{children:(0,pe.jsx)("tbody",{children:t.children.map((o,l)=>(0,pe.jsx)("tr",{children:o.children.map((s,c)=>(0,pe.jsx)("td",{children:Q({nodes:s.children})},c))},l))})},r);let n=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let l of o.children)"checked"in l&&(l!=null&&l.checked||(l.checked=!1));return Q({nodes:o.children})},a="children"in t?n(t):"";if(t.type==="block"){let o=t.fields,l=o==null?void 0:o.blockType;if(!o||!l)return null;switch(l){case"cta":return(0,pe.jsx)(He,{...o},r);case"mediaBlock":return(0,pe.jsx)(et,{className:"col-start-1 col-span-3",imgClassName:"pe-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,pe.jsx)(tt,{className:"col-start-1 col-span-3",imgClassName:"pe-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,pe.jsx)(qe,{className:"col-start-2 mb-4",...o},r);case"code":return(0,pe.jsx)($e,{className:"col-start-2",...o},r);case"features":return(0,pe.jsx)(at,{...o},r);case"reusableContentBlock":Q({nodes:o.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,pe.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,pe.jsx)("p",{className:"col-start-2",children:a},r);case"heading":{let o=t==null?void 0:t.tag;return(0,pe.jsx)(o,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:a},r)}case"list":{let o=t==null?void 0:t.tag;return(0,pe.jsx)(o,{className:"list col-start-2",children:a},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,pe.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:a},r):(0,pe.jsx)("li",{value:t==null?void 0:t.value,children:a},r);case"quote":return(0,pe.jsx)("blockquote",{className:"col-start-2",children:a},r);case"link":{let o=t.fields;return(0,pe.jsx)(V,{newTab:!!(o!=null&&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,pe.jsx)(V,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:a},r)}default:return null}})})}var P=({className:e,content:t,enableGutter:r=!0,enableProse:n=!0})=>{var a;return t?(0,pe.jsx)("div",{className:d({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":n},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&Q({nodes:(a=t==null?void 0:t.root)==null?void 0:a.children})}):null};var lt="../../hero-3-N2CBGEV6.jpg";var he=O(require("next/image"));var oe="../../cortex-reply-dark-XPAJJJYY.png";var Kt=()=>(0,pe.jsxs)("footer",{className:`absolute bottom-0 left-0 w-full py-2 px-8 flex justify-between items-center transition-colors duration-300
|
|
4
|
+
"use strict";var it=Object.create;var Z=Object.defineProperty;var ct=Object.getOwnPropertyDescriptor;var dt=Object.getOwnPropertyNames;var pt=Object.getPrototypeOf,mt=Object.prototype.hasOwnProperty;var ut=(e,t)=>{for(var r in t)Z(e,r,{get:t[r],enumerable:!0})},Pe=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of dt(t))!mt.call(e,a)&&a!==r&&Z(e,a,{get:()=>t[a],enumerable:!(n=ct(t,a))||n.enumerable});return e};var O=(e,t,r)=>(r=e!=null?it(pt(e)):{},Pe(t||!e||!e.__esModule?Z(r,"default",{value:e,enumerable:!0}):r,e)),gt=e=>Pe(Z({},"__esModule",{value:!0}),e);var er={};ut(er,{Footer:()=>Kt,HeaderTop:()=>Xt,TitleSlide:()=>$t});module.exports=gt(er);var Fe=require("clsx");var de="-",ft=e=>{let t=yt(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:l=>{let s=l.split(de);return s[0]===""&&s.length!==1&&s.shift(),Se(s,t)||bt(l)},getConflictingClassGroupIds:(l,s)=>{let c=r[l]||[];return s&&n[l]?[...c,...n[l]]:c}}},Se=(e,t)=>{var l;if(e.length===0)return t.classGroupId;let r=e[0],n=t.nextPart.get(r),a=n?Se(e.slice(1),n):void 0;if(a)return a;if(t.validators.length===0)return;let o=e.join(de);return(l=t.validators.find(({validator:s})=>s(o)))==null?void 0:l.classGroupId},Be=/^\[(.+)\]$/,bt=e=>{if(Be.test(e)){let t=Be.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},yt=e=>{let{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]};return xt(Object.entries(e.classGroups),r).forEach(([o,l])=>{ce(l,n,o,t)}),n},ce=(e,t,r,n)=>{e.forEach(a=>{if(typeof a=="string"){let o=a===""?t:Re(t,a);o.classGroupId=r;return}if(typeof a=="function"){if(ht(a)){ce(a(n),t,r,n);return}t.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(([o,l])=>{ce(l,Re(t,o),r,n)})})},Re=(e,t)=>{let r=e;return t.split(de).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},ht=e=>e.isThemeGetter,xt=(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,wt=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)}}},Te="!",vt=e=>{let{separator:t,experimentalParseClassName:r}=e,n=t.length===1,a=t[0],o=t.length,l=s=>{let c=[],p=0,u=0,w;for(let x=0;x<s.length;x++){let k=s[x];if(p===0){if(k===a&&(n||s.slice(x,x+o)===t)){c.push(s.slice(u,x)),u=x+o;continue}if(k==="/"){w=x;continue}}k==="["?p++:k==="]"&&p--}let y=c.length===0?s:s.substring(u),C=y.startsWith(Te),A=C?y.substring(1):y,h=w&&w>u?w-u:void 0;return{modifiers:c,hasImportantModifier:C,baseClassName:A,maybePostfixModifierPosition:h}};return r?s=>r({className:s,parseClassName:l}):l},kt=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},Ct=e=>({cache:wt(e.cacheSize),parseClassName:vt(e),...ft(e)}),Nt=/\s+/,At=(e,t)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:a}=t,o=[],l=e.trim().split(Nt),s="";for(let c=l.length-1;c>=0;c-=1){let p=l[c],{modifiers:u,hasImportantModifier:w,baseClassName:y,maybePostfixModifierPosition:C}=r(p),A=!!C,h=n(A?y.substring(0,C):y);if(!h){if(!A){s=p+(s.length>0?" "+s:s);continue}if(h=n(y),!h){s=p+(s.length>0?" "+s:s);continue}A=!1}let x=kt(u).join(":"),k=w?x+Te:x,N=k+h;if(o.includes(N))continue;o.push(N);let M=a(h,A);for(let F=0;F<M.length;++F){let q=M[F];o.push(k+q)}s=p+(s.length>0?" "+s:s)}return s};function Pt(){let e=0,t,r,n="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Ie(t))&&(n&&(n+=" "),n+=r);return n}var Ie=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=Ie(e[n]))&&(r&&(r+=" "),r+=t);return r};function Bt(e,...t){let r,n,a,o=l;function l(c){let p=t.reduce((u,w)=>w(u),e());return r=Ct(p),n=r.cache.get,a=r.cache.set,o=s,s(c)}function s(c){let p=n(c);if(p)return p;let u=At(c,r);return a(c,u),u}return function(){return o(Pt.apply(null,arguments))}}var g=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},ze=/^\[(?:([a-z-]+):)?(.+)\]$/i,Rt=/^\d+\/\d+$/,St=new Set(["px","full","screen"]),Tt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,It=/\d+(%|px|r?em|[sdl]?pe([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$/,zt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Et=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Mt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,R=e=>j(e)||St.has(e)||Rt.test(e),I=e=>U(e,"length",Jt),j=e=>!!e&&!Number.isNaN(Number(e)),ie=e=>U(e,"number",j),J=e=>!!e&&Number.isInteger(Number(e)),Ft=e=>e.endsWith("%")&&j(e.slice(0,-1)),i=e=>ze.test(e),z=e=>Tt.test(e),Gt=new Set(["length","size","percentage"]),Dt=e=>U(e,Gt,Ee),jt=e=>U(e,"position",Ee),Ut=new Set(["image","url"]),_t=e=>U(e,Ut,Wt),Ot=e=>U(e,"",Lt),L=()=>!0,U=(e,t,r)=>{let n=ze.exec(e);return n?n[1]?typeof t=="string"?n[1]===t:t.has(n[1]):r(n[2]):!1},Jt=e=>It.test(e)&&!zt.test(e),Ee=()=>!1,Lt=e=>Et.test(e),Wt=e=>Mt.test(e);var Vt=()=>{let e=g("colors"),t=g("spacing"),r=g("blur"),n=g("brightness"),a=g("borderColor"),o=g("borderRadius"),l=g("borderSpacing"),s=g("borderWidth"),c=g("contrast"),p=g("grayscale"),u=g("hueRotate"),w=g("invert"),y=g("gap"),C=g("gradientColorStops"),A=g("gradientColorStopPositions"),h=g("inset"),x=g("margin"),k=g("opacity"),N=g("padding"),M=g("saturate"),F=g("scale"),q=g("sepia"),xe=g("skew"),we=g("space"),ve=g("translate"),ne=()=>["auto","contain","none"],ae=()=>["auto","hidden","clip","visible","scroll"],se=()=>["auto",i,t],b=()=>[i,t],ke=()=>["",R,I],H=()=>["auto",j,i],Ce=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Y=()=>["solid","dashed","dotted","double","none"],Ne=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],le=()=>["start","end","center","between","around","evenly","stretch"],_=()=>["","0",i],Ae=()=>["auto","avoid","all","avoid-page","page","left","right","column"],B=()=>[j,i];return{cacheSize:500,separator:":",theme:{colors:[L],spacing:[R,I],blur:["none","",z,i],brightness:B(),borderColor:[e],borderRadius:["none","","full",z,i],borderSpacing:b(),borderWidth:ke(),contrast:B(),grayscale:_(),hueRotate:B(),invert:_(),gap:b(),gradientColorStops:[e],gradientColorStopPositions:[Ft,I],inset:se(),margin:se(),opacity:B(),padding:b(),saturate:B(),scale:B(),sepia:_(),skew:B(),space:b(),translate:b()},classGroups:{aspect:[{aspect:["auto","square","video",i]}],container:["container"],columns:[{columns:[z]}],"break-after":[{"break-after":Ae()}],"break-before":[{"break-before":Ae()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...Ce(),i]}],overflow:[{overflow:ae()}],"overflow-x":[{"overflow-x":ae()}],"overflow-y":[{"overflow-y":ae()}],overscroll:[{overscroll:ne()}],"overscroll-x":[{"overscroll-x":ne()}],"overscroll-y":[{"overscroll-y":ne()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[h]}],"inset-x":[{"inset-x":[h]}],"inset-y":[{"inset-y":[h]}],start:[{start:[h]}],end:[{end:[h]}],top:[{top:[h]}],right:[{right:[h]}],bottom:[{bottom:[h]}],left:[{left:[h]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",J,i]}],basis:[{basis:se()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",i]}],grow:[{grow:_()}],shrink:[{shrink:_()}],order:[{order:["first","last","none",J,i]}],"grid-cols":[{"grid-cols":[L]}],"col-start-end":[{col:["auto",{span:["full",J,i]},i]}],"col-start":[{"col-start":H()}],"col-end":[{"col-end":H()}],"grid-rows":[{"grid-rows":[L]}],"row-start-end":[{row:["auto",{span:[J,i]},i]}],"row-start":[{"row-start":H()}],"row-end":[{"row-end":H()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",i]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",i]}],gap:[{gap:[y]}],"gap-x":[{"gap-x":[y]}],"gap-y":[{"gap-y":[y]}],"justify-content":[{justify:["normal",...le()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...le(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...le(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[N]}],px:[{px:[N]}],py:[{py:[N]}],ps:[{ps:[N]}],pe:[{pe:[N]}],pt:[{pt:[N]}],pr:[{pr:[N]}],pb:[{pb:[N]}],pl:[{pl:[N]}],pe:[{pe:[x]}],mx:[{mx:[x]}],my:[{my:[x]}],ms:[{ms:[x]}],pe:[{pe:[x]}],mt:[{mt:[x]}],mr:[{mr:[x]}],mb:[{mb:[x]}],ml:[{ml:[x]}],"space-x":[{"space-x":[we]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[we]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",i,t]}],"min-w":[{"min-w":[i,t,"min","max","fit"]}],"max-w":[{"max-w":[i,t,"none","full","min","max","fit","prose",{screen:[z]},z]}],h:[{h:[i,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[i,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[i,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[i,t,"auto","min","max","fit"]}],"font-size":[{text:["base",z,I]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ie]}],"font-family":[{font:[L]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",i]}],"line-clamp":[{"line-clamp":["none",j,ie]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",R,i]}],"list-image":[{"list-image":["none",i]}],"list-style-type":[{list:["none","disc","decimal",i]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[k]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[k]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Y(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",R,I]}],"underline-offset":[{"underline-offset":["auto",R,i]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:b()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",i]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",i]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[k]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Ce(),jt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Dt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},_t]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[A]}],"gradient-via-pos":[{via:[A]}],"gradient-to-pos":[{to:[A]}],"gradient-from":[{from:[C]}],"gradient-via":[{via:[C]}],"gradient-to":[{to:[C]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-pe":[{"rounded-pe":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[k]}],"border-style":[{border:[...Y(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[k]}],"divide-style":[{divide:Y()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[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:["",...Y()]}],"outline-offset":[{"outline-offset":[R,i]}],"outline-w":[{outline:[R,I]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:ke()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[k]}],"ring-offset-w":[{"ring-offset":[R,I]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",z,Ot]}],"shadow-color":[{shadow:[L]}],opacity:[{opacity:[k]}],"mix-blend":[{"mix-blend":[...Ne(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Ne()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",z,i]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[w]}],saturate:[{saturate:[M]}],sepia:[{sepia:[q]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[w]}],"backdrop-opacity":[{"backdrop-opacity":[k]}],"backdrop-saturate":[{"backdrop-saturate":[M]}],"backdrop-sepia":[{"backdrop-sepia":[q]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",i]}],duration:[{duration:B()}],ease:[{ease:["linear","in","out","in-out",i]}],delay:[{delay:B()}],animate:[{animate:["none","spin","ping","pulse","bounce",i]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[F]}],"scale-x":[{"scale-x":[F]}],"scale-y":[{"scale-y":[F]}],rotate:[{rotate:[J,i]}],"translate-x":[{"translate-x":[ve]}],"translate-y":[{"translate-y":[ve]}],"skew-x":[{"skew-x":[xe]}],"skew-y":[{"skew-y":[xe]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",i]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",i]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-pe":[{"scroll-pe":b()}],"scroll-mx":[{"scroll-mx":b()}],"scroll-my":[{"scroll-my":b()}],"scroll-ms":[{"scroll-ms":b()}],"scroll-pe":[{"scroll-pe":b()}],"scroll-mt":[{"scroll-mt":b()}],"scroll-mr":[{"scroll-mr":b()}],"scroll-mb":[{"scroll-mb":b()}],"scroll-ml":[{"scroll-ml":b()}],"scroll-p":[{"scroll-p":b()}],"scroll-px":[{"scroll-px":b()}],"scroll-py":[{"scroll-py":b()}],"scroll-ps":[{"scroll-ps":b()}],"scroll-pe":[{"scroll-pe":b()}],"scroll-pt":[{"scroll-pt":b()}],"scroll-pr":[{"scroll-pr":b()}],"scroll-pb":[{"scroll-pb":b()}],"scroll-pl":[{"scroll-pl":b()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",i]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[R,I,ie]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],pe:["mx","my","ms","pe","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-pe","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-pe"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-pe":["scroll-mx","scroll-my","scroll-ms","scroll-pe","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-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Me=Bt(Vt);function d(...e){return Me((0,Fe.clsx)(e))}var Je=require("react");var De=O(require("next/image")),pe=require("react/jsx-runtime"),Qt={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},Ge="data:image/png;base64,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",je=e=>{let{alt:t,fill:r,imgClassName:n,priority:a,resource:o,size:l,src:s,loading:c}=e,p,u,w=t,y=s||"";if(!y&&o&&typeof o=="object"){let{alt:h,filename:x,height:k,url:N,width:M}=o;p=M,u=k,w=h||"",y=N||Ge}let C=c||"lazy",A=l||Object.entries(Qt).map(([,h])=>`(max-width: ${h}px) ${h*2}w`).join(", ");return(0,pe.jsx)("picture",{children:(0,pe.jsx)(De.default,{alt:w||"",className:d(n),fill:r,height:r?void 0:u,placeholder:"blur",blurDataURL:Ge,priority:C!=="lazy"&&a,quality:100,loading:C,sizes:A,src:y,width:r?void 0:p})})};var Ue=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var _e=()=>{if(Ue){let e=window.location.protocol,t=window.location.hostname,r=window.location.port;return`${e}//${t}${r?`:${r}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var Oe=e=>{let{onClick:t,resource:r,videoClassName:n}=e,a=(0,Je.useRef)(null);if((0,Je.useEffect)(()=>{let{current:o}=a;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,pe.jsx)("video",{autoPlay:!0,className:d(n),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:a,children:(0,pe.jsx)("source",{src:`${_e()}/media/${o}`})})}return null};var $=e=>{var l;let{className:t,htmlElement:r="div",resource:n}=e,a=typeof n=="object"&&((l=n==null?void 0:n.mimeType)==null?void 0:l.includes("video"));return(0,pe.jsx)(r||Je.Fragment,{...r!==null?{className:t}:{},children:a?(0,pe.jsx)(Oe,{...e}):(0,pe.jsx)(je,{...e})})};var Le=require("@radix-ui/react-slot"),We=require("class-variance-authority"),Ve=O(require("react")),qt=(0,We.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),G=Ve.forwardRef(({asChild:e=!1,className:t,size:r,variant:n,...a},o)=>(0,pe.jsx)(e?Le.Slot:"button",{className:d(qt({className:t,size:r,variant:n})),ref:o,...a}));G.displayName="Button";var ue=O(require("next/link")),V=e=>{let{type:t,appearance:r="inline",children:n,className:a,label:o,newTab:l,reference:s,size:c,url:p}=e,u=t==="reference"&&typeof(s==null?void 0:s.value)=="object"&&s.value.slug?`${(s==null?void 0:s.relationTo)!=="pages"?`/${s==null?void 0:s.relationTo}`:""}/${s.value.slug}`:p;if(!u)return null;let w=r==="link"?"clear":c,y=l?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,pe.jsxs)(ue.default,{className:d(a),href:u||p||"",...y,children:[o&&o,n&&n]}):(0,pe.jsx)(G,{asChild:!0,className:a,size:w,variant:r,children:(0,pe.jsxs)(ue.default,{className:d(a),href:u||p||"",...y,children:[o&&o,n&&n]})})};var qe=({className:e,content:t,style:r})=>(0,pe.jsx)("div",{className:d("mx-auto my-8 w-full",e),children:(0,pe.jsx)("div",{className:d("border py-3 px-6 flex items-center rounded",{"border-border bg-card":r==="info","border-error bg-error/30":r==="error","border-success bg-success/30":r==="success","border-warning bg-warning/30":r==="warning"}),children:(0,pe.jsx)(P,{content:t,enableGutter:!1,enableProse:!1})})});var He=({links:e,richText:t})=>(0,pe.jsx)("div",{className:"container",children:(0,pe.jsxs)("div",{className:"bg-card rounded border-border border p-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,pe.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,pe.jsx)(P,{className:"mb-0",content:t,enableGutter:!1})}),(0,pe.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},n)=>(0,pe.jsx)(V,{size:"lg",...r},n))})]})});var te=require("prism-react-renderer");var Ye=require("lucide-react");function Ke({code:e}){let[t,r]=(0,Je.useState)("Copy");function n(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,pe.jsx)("div",{className:"flex justify-end align-middle",children:(0,pe.jsxs)(G,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),n()},children:[(0,pe.jsx)("p",{children:t}),(0,pe.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,pe.jsx)(Ye.ClipboardCopy,{})})]})})}var Xe=({code:e,language:t=""})=>e?(0,pe.jsx)(te.Highlight,{code:e,language:t,theme:te.themes.vsDark,children:({getLineProps:r,getTokenProps:n,tokens:a})=>(0,pe.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[a.map((o,l)=>(0,pe.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,pe.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:l+1}),(0,pe.jsx)("span",{className:"table-cell pl-4",children:o.map((s,c)=>(0,pe.jsx)("span",{...n({token:s})},c))})]},l)),(0,pe.jsx)(Ke,{code:e})]})}):null;var $e=({className:e,code:t,language:r})=>(0,pe.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,pe.jsx)(Xe,{code:t,language:r})});var et=e=>{let{className:t,enableGutter:r=!0,imgClassName:n,media:a,staticImage:o}=e;return(0,pe.jsx)("div",{className:d("h-full",{container:r},t),children:(0,pe.jsx)($,{imgClassName:d("rounded-[0.8rem] max-h-full",n),className:"h-full",resource:a,src:o})})};var tt=e=>{let{className:t,enableGutter:r=!0,imgClassName:n,media:a,staticImage:o}=e;return(0,pe.jsx)("div",{className:d("",{container:r},t),children:(0,pe.jsx)($,{imgClassName:d("rounded-[0.8rem]",n),resource:a,src:o})})};var ye=({type:e="solid",iconName:t="cloud",size:r="lg",className:n})=>{let a=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,l=n!=null?n:"",s=a+o+" fa-"+r+" "+l;return(0,pe.jsx)("i",{className:s})};function ot(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function nt({variant:e="outline",className:t,icon:r,iconSize:n="large",width:a="auto",order:o=0,heading:l,subheading:s,content:c,statistic:p,buttonText:u,buttonHref:w}){let y={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:""},C={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return(0,pe.jsxs)("div",{className:d("rounded-3xl p-8 md:p-8 min-w-56 flex flex-col group",y[e],e==="outline"?"text-gray-900":"text-white",t,C[a],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${o+1}00`),children:[(0,pe.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,pe.jsx)(Ht,{icon:r,heading:l,variant:e,iconSize:n})}),p&&(0,pe.jsx)("div",{className:"mb-6",children:(0,pe.jsx)("div",{className:d("text-4xl text-wrap font-bold leading-none overflow-hidden",e==="outline"||e==="light"?"text-primary":"text-white"),children:p})}),s&&(0,pe.jsx)("div",{className:"mb-4 text-xl md:text-2xl font-light",children:s}),c&&typeof c=="object"&&(0,pe.jsx)("div",{className:d("space-y-6"),children:(0,pe.jsx)(P,{enableGutter:!1,content:c,enableProse:!1,className:d(e==="outline"||e==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100")})}),c&&typeof c=="string"&&(0,pe.jsx)("div",{className:d("space-y-6",e==="outline"||e==="light"?"text-gray-900":"text-gray-100"),children:c}),u&&(0,pe.jsx)("div",{className:"mt-auto pt-6 flex items-center justify-center",children:(0,pe.jsx)(G,{size:"lg",className:"text-white text-lg rounded-xl w-full mt-auto items-center justify-center",asChild:!0,children:(0,pe.jsx)("a",{href:w,children:u})})}),e==="radial"&&(0,pe.jsx)("div",{className:"absolute bottom-0 right-0 w-2/3 h-2/3 blur-3xl rounded-full",style:{background:"radial-gradient(circle, rgba(164,35,104,0.3) 0%, rgba(74,16,48,0) 70%)"}})]})}var Ht=({icon:e,heading:t,variant:r,iconSize:n})=>e&&n==="small"?(0,pe.jsxs)("div",{className:"flex items-start gap-4 mb-2",children:[ot(e)&&(0,pe.jsx)("div",{className:d("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-primary":"text-white",n==="small"?"mt-2":""),children:(0,pe.jsx)(ye,{type:e.type,iconName:e.iconName,size:"2x"})}),(0,pe.jsx)("div",{className:d("font-semibold",r==="outline"||r==="light"?"text-primary":"text-white",n==="small"?"text-2xl":"text-3xl"),children:t})]}):e?(0,pe.jsxs)("div",{className:"flex flex-col gap-4",children:[ot(e)&&(0,pe.jsx)("div",{className:d("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-accent":""),children:(0,pe.jsx)(ye,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,pe.jsx)("h3",{className:d("font-semibold",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})]}):(0,pe.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,pe.jsx)("div",{className:d("font-semibold",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})});var at=({title:e,description:t,features:r,id:n,nested:a=!1})=>(0,pe.jsxs)("section",{className:d(!a&&"container","w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,pe.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl text-primary",id:n||"",children:e}),t&&typeof t=="string"&&(0,pe.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:t}),t&&typeof t=="object"&&(0,pe.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:(0,pe.jsx)(P,{content:t,enableGutter:!1})}),(0,pe.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((o,l)=>{var c,p,u,w,y;let s=()=>{if(o.icon&&"type"in o.icon&&o.icon.type!=="none")return{type:o.icon.type,iconName:o.icon.icon}};return(0,pe.jsx)(nt,{variant:((c=o.settings)==null?void 0:c.card)==="default"?"light":((p=o.settings)==null?void 0:p.card)||"outline",icon:s()||void 0,iconSize:((u=o.settings)==null?void 0:u.iconSize)||"large",width:"auto",order:l,heading:o.title||"",content:o.content||void 0,statistic:o.statistic||void 0,buttonText:(w=o.link)!=null&&w.url?"Find out more":void 0,buttonHref:((y=o.link)==null?void 0:y.url)||void 0},l)})})]});var re=O(require("react"));function Q({nodes:e}){return(0,pe.jsx)(re.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let o=(0,pe.jsx)(re.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,pe.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,pe.jsx)("em",{children:o},r)),t.format&4&&(o=(0,pe.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,pe.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,pe.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,pe.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,pe.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,pe.jsx)("table",{children:(0,pe.jsx)("tbody",{children:t.children.map((o,l)=>(0,pe.jsx)("tr",{children:o.children.map((s,c)=>(0,pe.jsx)("td",{children:Q({nodes:s.children})},c))},l))})},r);let n=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let l of o.children)"checked"in l&&(l!=null&&l.checked||(l.checked=!1));return Q({nodes:o.children})},a="children"in t?n(t):"";if(t.type==="block"){let o=t.fields,l=o==null?void 0:o.blockType;if(!o||!l)return null;switch(l){case"cta":return(0,pe.jsx)(He,{...o},r);case"mediaBlock":return(0,pe.jsx)(et,{className:"col-start-1 col-span-3",imgClassName:"pe-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,pe.jsx)(tt,{className:"col-start-1 col-span-3",imgClassName:"pe-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,pe.jsx)(qe,{className:"col-start-2 mb-4",...o},r);case"code":return(0,pe.jsx)($e,{className:"col-start-2",...o},r);case"features":return(0,pe.jsx)(at,{...o,nested:!0},r);case"reusableContentBlock":Q({nodes:o.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,pe.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,pe.jsx)("p",{className:"col-start-2",children:a},r);case"heading":{let o=t==null?void 0:t.tag;return(0,pe.jsx)(o,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:a},r)}case"list":{let o=t==null?void 0:t.tag;return(0,pe.jsx)(o,{className:"list col-start-2",children:a},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,pe.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:a},r):(0,pe.jsx)("li",{value:t==null?void 0:t.value,children:a},r);case"quote":return(0,pe.jsx)("blockquote",{className:"col-start-2",children:a},r);case"link":{let o=t.fields;return(0,pe.jsx)(V,{newTab:!!(o!=null&&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,pe.jsx)(V,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:a},r)}default:return null}})})}var P=({className:e,content:t,enableGutter:r=!0,enableProse:n=!0})=>{var a;return t?(0,pe.jsx)("div",{className:d({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":n},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&Q({nodes:(a=t==null?void 0:t.root)==null?void 0:a.children})}):null};var lt="../../hero-3-N2CBGEV6.jpg";var he=O(require("next/image"));var oe="../../cortex-reply-dark-XPAJJJYY.png";var Kt=()=>(0,pe.jsxs)("footer",{className:`absolute bottom-0 left-0 w-full py-2 px-8 flex justify-between items-center transition-colors duration-300
|
|
5
5
|
dark bg-background text-primary`,children:[(0,pe.jsxs)("div",{className:"flex px-6 items-center space-x-2",children:[(0,pe.jsx)("img",{src:oe.src,alt:"Cortex Reply Logo",className:"h-8"}),(0,pe.jsx)("span",{className:"pl-12 text-sm",children:"Power up your people"})]}),(0,pe.jsx)("a",{href:"https://cortexreply.com",className:"text-sm hover:underline",children:"cortexreply.com"})]}),Xt=({title:e})=>(0,pe.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,pe.jsx)("div",{className:"container",children:(0,pe.jsx)("span",{className:"container text-4xl px-6",children:e})})}),$t=e=>{var n,a;let{title:t,hero:r}=e;return(0,pe.jsxs)("div",{className:"relative w-full h-full flex flex-col justify-center min-h-[500px] p-10",children:[(0,pe.jsx)("div",{className:"absolute inset-0",children:(0,pe.jsx)(he.default,{src:r.media?r.media.url:lt,alt:"Background",width:r.media&&r.media.width&&(n=r.media.width)!=null?n:1920,height:r.media&&r.media.height&&(a=r.media.height)!=null?a:1080,style:{objectFit:"cover"},className:"opacity-80 h-full dark:opacity-60"})}),(0,pe.jsx)("div",{className:"absolute left-16 z-50 top-4 flex flex-col items-start gap-4",children:oe&&(0,pe.jsx)("div",{className:"h-24",children:(0,pe.jsx)(he.default,{src:oe,alt:"Company logo",className:"h-full w-full object-contain",width:192,height:96})})}),(0,pe.jsx)("div",{className:"absolute inset-0 bg-black/30 dark:bg-black/50"}),(0,pe.jsxs)("div",{className:"relative pl-24 z-10 max-w-3xl",children:[(0,pe.jsx)("p",{className:"text-lg font-medium text-accent mb-2",children:t}),r.richText&&(0,pe.jsx)(P,{content:r.richText,enableGutter:!1,className:"prose-headings:text-white prose-p:text-white"})]})]})};0&&(module.exports={Footer,HeaderTop,TitleSlide});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b,c}from"../../chunk-
|
|
1
|
+
import{a,b,c}from"../../chunk-2JGEXP2O.mjs";import"../../chunk-X6QN5C6U.mjs";import"../../chunk-AUBKJ4XO.mjs";import"../../chunk-6YV7RK6Q.mjs";import"../../chunk-NRL4U42W.mjs";import"../../chunk-MANZDSTF.mjs";import"../../chunk-6LKCK2EH.mjs";import"../../chunk-423OEU3K.mjs";import"../../chunk-6P7CY367.mjs";import"../../chunk-4Y4IPE52.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-44VMK4FL.mjs";import"../../chunk-YCX5N23N.mjs";import"../../chunk-M6M43TLT.mjs";import"../../chunk-FGWIT6CV.mjs";import"../../chunk-ZWKWU7U4.mjs";import"../../chunk-EY5QX73B.mjs";import"../../chunk-ALTFHQW6.mjs";import"../../chunk-IBV34MLI.mjs";import"../../chunk-ICTOXY7D.mjs";import"../../chunk-YNDKGRL6.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-2NFKSNJW.mjs";import"../../chunk-FI4SMRAR.mjs";import"../../chunk-5IQPAE6K.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-KDGEXDC5.mjs";import"../../chunk-VZXLXNVY.mjs";import"../../chunk-Y2KKUQDU.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-22FHCZJD.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-WU3JMLSC.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as Footer,b as HeaderTop,c as TitleSlide};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
"use strict";"use client";var St=Object.create;var we=Object.defineProperty;var Et=Object.getOwnPropertyDescriptor;var zt=Object.getOwnPropertyNames;var Ft=Object.getPrototypeOf,Mt=Object.prototype.hasOwnProperty;var Gt=(t,e)=>{for(var r in e)we(t,r,{get:e[r],enumerable:!0})},Je=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of zt(e))!Mt.call(t,s)&&s!==r&&we(t,s,{get:()=>e[s],enumerable:!(n=Et(e,s))||n.enumerable});return t};var ee=(t,e,r)=>(r=t!=null?St(Ft(t)):{},Je(e||!t||!t.__esModule?we(r,"default",{value:t,enumerable:!0}):r,t)),Dt=t=>Je(we({},"__esModule",{value:!0}),t);var Pr={};Gt(Pr,{FlowPrintable:()=>Tt,PagePrintable:()=>It,Printable:()=>Nr});module.exports=Dt(Pr);var D=require("react"),We=require("pagedjs");var et=require("clsx");var Ie="-",jt=t=>{let e=Lt(t),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=t;return{getClassGroupId:i=>{let a=i.split(Ie);return a[0]===""&&a.length!==1&&a.shift(),qe(a,e)||Ut(i)},getConflictingClassGroupIds:(i,a)=>{let l=r[i]||[];return a&&n[i]?[...l,...n[i]]:l}}},qe=(t,e)=>{var i;if(t.length===0)return e.classGroupId;let r=t[0],n=e.nextPart.get(r),s=n?qe(t.slice(1),n):void 0;if(s)return s;if(e.validators.length===0)return;let o=t.join(Ie);return(i=e.validators.find(({validator:a})=>a(o)))==null?void 0:i.classGroupId},Ve=/^\[(.+)\]$/,Ut=t=>{if(Ve.test(t)){let e=Ve.exec(t)[1],r=e==null?void 0:e.substring(0,e.indexOf(":"));if(r)return"arbitrary.."+r}},Lt=t=>{let{theme:e,prefix:r}=t,n={nextPart:new Map,validators:[]};return Ot(Object.entries(t.classGroups),r).forEach(([o,i])=>{Te(i,n,o,e)}),n},Te=(t,e,r,n)=>{t.forEach(s=>{if(typeof s=="string"){let o=s===""?e:Qe(e,s);o.classGroupId=r;return}if(typeof s=="function"){if(Ht(s)){Te(s(n),e,r,n);return}e.validators.push({validator:s,classGroupId:r});return}Object.entries(s).forEach(([o,i])=>{Te(i,Qe(e,o),r,n)})})},Qe=(t,e)=>{let r=t;return e.split(Ie).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},Ht=t=>t.isThemeGetter,Ot=(t,e)=>e?t.map(([r,n])=>{let s=n.map(o=>typeof o=="string"?e+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([i,a])=>[e+i,a])):o);return[r,s]}):t,Wt=t=>{if(t<1)return{get:()=>{},set:()=>{}};let e=0,r=new Map,n=new Map,s=(o,i)=>{r.set(o,i),e++,e>t&&(e=0,n=r,r=new Map)};return{get(o){let i=r.get(o);if(i!==void 0)return i;if((i=n.get(o))!==void 0)return s(o,i),i},set(o,i){r.has(o)?r.set(o,i):s(o,i)}}},Ye="!",_t=t=>{let{separator:e,experimentalParseClassName:r}=t,n=e.length===1,s=e[0],o=e.length,i=a=>{let l=[],c=0,p=0,g;for(let v=0;v<a.length;v++){let N=a[v];if(c===0){if(N===s&&(n||a.slice(v,v+o)===e)){l.push(a.slice(p,v)),p=v+o;continue}if(N==="/"){g=v;continue}}N==="["?c++:N==="]"&&c--}let m=l.length===0?a:a.substring(p),w=m.startsWith(Ye),y=w?m.substring(1):m,h=g&&g>p?g-p:void 0;return{modifiers:l,hasImportantModifier:w,baseClassName:y,maybePostfixModifierPosition:h}};return r?a=>r({className:a,parseClassName:i}):i},Jt=t=>{if(t.length<=1)return t;let e=[],r=[];return t.forEach(n=>{n[0]==="["?(e.push(...r.sort(),n),r=[]):r.push(n)}),e.push(...r.sort()),e},Vt=t=>({cache:Wt(t.cacheSize),parseClassName:_t(t),...jt(t)}),Qt=/\s+/,qt=(t,e)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:s}=e,o=[],i=t.trim().split(Qt),a="";for(let l=i.length-1;l>=0;l-=1){let c=i[l],{modifiers:p,hasImportantModifier:g,baseClassName:m,maybePostfixModifierPosition:w}=r(c),y=!!w,h=n(y?m.substring(0,w):m);if(!h){if(!y){a=c+(a.length>0?" "+a:a);continue}if(h=n(m),!h){a=c+(a.length>0?" "+a:a);continue}y=!1}let v=Jt(p).join(":"),N=g?v+Ye:v,P=N+h;if(o.includes(P))continue;o.push(P);let W=s(h,y);for(let F=0;F<W.length;++F){let _=W[F];o.push(N+_)}a=c+(a.length>0?" "+a:a)}return a};function Yt(){let t=0,e,r,n="";for(;t<arguments.length;)(e=arguments[t++])&&(r=Xe(e))&&(n&&(n+=" "),n+=r);return n}var Xe=t=>{if(typeof t=="string")return t;let e,r="";for(let n=0;n<t.length;n++)t[n]&&(e=Xe(t[n]))&&(r&&(r+=" "),r+=e);return r};function Xt(t,...e){let r,n,s,o=i;function i(l){let c=e.reduce((p,g)=>g(p),t());return r=Vt(c),n=r.cache.get,s=r.cache.set,o=a,a(l)}function a(l){let c=n(l);if(c)return c;let p=qt(l,r);return s(l,p),p}return function(){return o(Yt.apply(null,arguments))}}var k=t=>{let e=r=>r[t]||[];return e.isThemeGetter=!0,e},Ze=/^\[(?:([a-nt-]+):)?(.+)\]$/i,Zt=/^\d+\/\d+$/,Kt=new Set(["px","full","screen"]),$t=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,er=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,tr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,rr=/^(inset_)?-?((\d+)?\.?(\d+)[a-nt]+|0)_-?((\d+)?\.?(\d+)[a-nt]+|0)/,or=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,U=t=>ae(t)||Kt.has(t)||Zt.test(t),J=t=>ie(t,"length",pr),ae=t=>!!t&&!Number.isNaN(Number(t)),Ae=t=>ie(t,"number",ae),fe=t=>!!t&&Number.isInteger(Number(t)),nr=t=>t.endsWith("%")&&ae(t.slice(0,-1)),u=t=>Ze.test(t),V=t=>$t.test(t),sr=new Set(["length","size","percentage"]),ar=t=>ie(t,sr,Ke),ir=t=>ie(t,"position",Ke),lr=new Set(["image","url"]),cr=t=>ie(t,lr,ur),dr=t=>ie(t,"",mr),be=()=>!0,ie=(t,e,r)=>{let n=Ze.exec(t);return n?n[1]?typeof e=="string"?n[1]===e:e.has(n[1]):r(n[2]):!1},pr=t=>er.test(t)&&!tr.test(t),Ke=()=>!1,mr=t=>rr.test(t),ur=t=>or.test(t);var gr=()=>{let t=k("colors"),e=k("spacing"),r=k("blur"),n=k("brightness"),s=k("borderColor"),o=k("borderRadius"),i=k("borderSpacing"),a=k("borderWidth"),l=k("contrast"),c=k("grayscale"),p=k("hueRotate"),g=k("invert"),m=k("gap"),w=k("gradientColorStops"),y=k("gradientColorStopPositions"),h=k("inset"),v=k("margin"),N=k("opacity"),P=k("padding"),W=k("saturate"),F=k("scale"),_=k("sepia"),de=k("skew"),pe=k("space"),X=k("translate"),I=()=>["auto","contain","none"],oe=()=>["auto","hidden","clip","visible","scroll"],ne=()=>["auto",u,e],b=()=>[u,e],M=()=>["",U,J],Z=()=>["auto",ae,u],me=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],E=()=>["solid","dashed","dotted","double","none"],j=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ue=()=>["start","end","center","between","around","evenly","stretch"],K=()=>["","0",u],$=()=>["auto","avoid","all","avoid-page","page","left","right","column"],T=()=>[ae,u];return{cacheSize:500,separator:":",theme:{colors:[be],spacing:[U,J],blur:["none","",V,u],brightness:T(),borderColor:[t],borderRadius:["none","","full",V,u],borderSpacing:b(),borderWidth:M(),contrast:T(),grayscale:K(),hueRotate:T(),invert:K(),gap:b(),gradientColorStops:[t],gradientColorStopPositions:[nr,J],inset:ne(),margin:ne(),opacity:T(),padding:b(),saturate:T(),scale:T(),sepia:K(),skew:T(),space:b(),translate:b()},classGroups:{aspect:[{aspect:["auto","square","video",u]}],container:["container"],columns:[{columns:[V]}],"break-after":[{"break-after":$()}],"break-before":[{"break-before":$()}],"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:[...me(),u]}],overflow:[{overflow:oe()}],"overflow-nt":[{"overflow-nt":oe()}],"overflow-y":[{"overflow-y":oe()}],overscroll:[{overscroll:I()}],"overscroll-nt":[{"overscroll-nt":I()}],"overscroll-y":[{"overscroll-y":I()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[h]}],"inset-nt":[{"inset-nt":[h]}],"inset-y":[{"inset-y":[h]}],start:[{start:[h]}],end:[{end:[h]}],top:[{top:[h]}],right:[{right:[h]}],bottom:[{bottom:[h]}],left:[{left:[h]}],visibility:["visible","invisible","collapse"],nt:[{nt:["auto",fe,u]}],basis:[{basis:ne()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",u]}],grow:[{grow:K()}],shrink:[{shrink:K()}],order:[{order:["first","last","none",fe,u]}],"grid-cols":[{"grid-cols":[be]}],"col-start-end":[{col:["auto",{span:["full",fe,u]},u]}],"col-start":[{"col-start":Z()}],"col-end":[{"col-end":Z()}],"grid-rows":[{"grid-rows":[be]}],"row-start-end":[{row:["auto",{span:[fe,u]},u]}],"row-start":[{"row-start":Z()}],"row-end":[{"row-end":Z()}],"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:[m]}],"gap-nt":[{"gap-nt":[m]}],"gap-y":[{"gap-y":[m]}],"justify-content":[{justify:["normal",...ue()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ue(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ue(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[P]}],px:[{px:[P]}],py:[{py:[P]}],ps:[{ps:[P]}],pe:[{pe:[P]}],pt:[{pt:[P]}],pr:[{pr:[P]}],pb:[{pb:[P]}],pl:[{pl:[P]}],m:[{m:[v]}],mx:[{mx:[v]}],my:[{my:[v]}],ms:[{ms:[v]}],me:[{me:[v]}],mt:[{mt:[v]}],mr:[{mr:[v]}],mb:[{mb:[v]}],ml:[{ml:[v]}],"space-nt":[{"space-nt":[pe]}],"space-nt-reverse":["space-nt-reverse"],"space-y":[{"space-y":[pe]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",u,e]}],"min-w":[{"min-w":[u,e,"min","max","fit"]}],"max-w":[{"max-w":[u,e,"none","full","min","max","fit","prose",{screen:[V]},V]}],h:[{h:[u,e,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[u,e,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[u,e,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[u,e,"auto","min","max","fit"]}],"font-size":[{text:["base",V,J]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Ae]}],"font-family":[{font:[be]}],"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",ae,Ae]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",U,u]}],"list-image":[{"list-image":["none",u]}],"list-style-type":[{list:["none","disc","decimal",u]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[N]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[N]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...E(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",U,J]}],"underline-offset":[{"underline-offset":["auto",U,u]}],"text-decoration-color":[{decoration:[t]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:b()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",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":[N]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...me(),ir]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","nt","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",ar]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},cr]}],"bg-color":[{bg:[t]}],"gradient-from-pos":[{from:[y]}],"gradient-via-pos":[{via:[y]}],"gradient-to-pos":[{to:[y]}],"gradient-from":[{from:[w]}],"gradient-via":[{via:[w]}],"gradient-to":[{to:[w]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[a]}],"border-w-nt":[{"border-nt":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[N]}],"border-style":[{border:[...E(),"hidden"]}],"divide-nt":[{"divide-nt":[a]}],"divide-nt-reverse":["divide-nt-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[N]}],"divide-style":[{divide:E()}],"border-color":[{border:[s]}],"border-color-nt":[{"border-nt":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...E()]}],"outline-offset":[{"outline-offset":[U,u]}],"outline-w":[{outline:[U,J]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:M()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[N]}],"ring-offset-w":[{"ring-offset":[U,J]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",V,dr]}],"shadow-color":[{shadow:[be]}],opacity:[{opacity:[N]}],"mix-blend":[{"mix-blend":[...j(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":j()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",V,u]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[p]}],invert:[{invert:[g]}],saturate:[{saturate:[W]}],sepia:[{sepia:[_]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[p]}],"backdrop-invert":[{"backdrop-invert":[g]}],"backdrop-opacity":[{"backdrop-opacity":[N]}],"backdrop-saturate":[{"backdrop-saturate":[W]}],"backdrop-sepia":[{"backdrop-sepia":[_]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-nt":[{"border-spacing-nt":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",u]}],duration:[{duration:T()}],ease:[{ease:["linear","in","out","in-out",u]}],delay:[{delay:T()}],animate:[{animate:["none","spin","ping","pulse","bounce",u]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[F]}],"scale-nt":[{"scale-nt":[F]}],"scale-y":[{"scale-y":[F]}],rotate:[{rotate:[fe,u]}],"translate-nt":[{"translate-nt":[X]}],"translate-y":[{"translate-y":[X]}],"skew-nt":[{"skew-nt":[de]}],"skew-y":[{"skew-y":[de]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",u]}],accent:[{accent:["auto",t]}],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:[t]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","nt",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":b()}],"scroll-mx":[{"scroll-mx":b()}],"scroll-my":[{"scroll-my":b()}],"scroll-ms":[{"scroll-ms":b()}],"scroll-me":[{"scroll-me":b()}],"scroll-mt":[{"scroll-mt":b()}],"scroll-mr":[{"scroll-mr":b()}],"scroll-mb":[{"scroll-mb":b()}],"scroll-ml":[{"scroll-ml":b()}],"scroll-p":[{"scroll-p":b()}],"scroll-px":[{"scroll-px":b()}],"scroll-py":[{"scroll-py":b()}],"scroll-ps":[{"scroll-ps":b()}],"scroll-pe":[{"scroll-pe":b()}],"scroll-pt":[{"scroll-pt":b()}],"scroll-pr":[{"scroll-pr":b()}],"scroll-pb":[{"scroll-pb":b()}],"scroll-pl":[{"scroll-pl":b()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","nt","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-nt":[{"touch-pan":["nt","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",u]}],fill:[{fill:[t,"none"]}],"stroke-w":[{stroke:[U,J,Ae]}],stroke:[{stroke:[t,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-nt","overflow-y"],overscroll:["overscroll-nt","overscroll-y"],inset:["inset-nt","inset-y","start","end","top","right","bottom","left"],"inset-nt":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-nt","gap-y"],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-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-nt","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-nt":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-nt":["border-color-r","border-color-l"],"border-color-y":["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-nt","touch-y","touch-pz"],"touch-nt":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var $e=Xt(gr);function d(...t){return $e((0,et.clsx)(t))}function Se(t){let e=0,r=(o,i)=>`${o.toLowerCase().replace(/\s+/g,"-").replace(/[^\w-]/g,"")}-${i}`,n=t.layout.flatMap(o=>{let i=[];return"title"in o&&o.title&&i.push({text:o.title,id:r(o.title,e++),tag:"h2"}),"columns"in o&&Array.isArray(o.columns)&&o.columns.forEach(a=>{var l,c,p,g,m;if(a.title&&i.push({text:a.title,id:r(a.title,e++),tag:"h2"}),(c=(l=a.richText)==null?void 0:l.root)!=null&&c.children&&((g=(p=a.richText)==null?void 0:p.root)==null?void 0:g.children.length)===1){let w=a.richText.root.children.filter(y=>y!==void 0&&y.type==="heading");for(let y of w)y.children[0]&&i.push({text:(m=y.children[0].text)!=null?m:"",id:r(y.children[0].text,e++),tag:y.tag||"h2"})}}),i}),s=fr(t.layout);return{tableOfContents:n,contentWithIds:s}}function fr(t){let e=(n,s)=>`${n.toLowerCase().replace(/\s+/g,"-").replace(/[^\w-]/g,"")}-${s}`,r=0;return t.map(n=>(n.title&&(n.id=e(n.title,r++)),n.columns&&(n.columns=n.columns.map(s=>(s.title&&(s.id=e(s.title,r++)),s.richText&&(s.richText.root.children=s.richText.root.children.filter(o=>o!==void 0).filter(o=>o.children!==void 0&&o.children.length>0).map(o=>(o.type==="heading"&&o.children[0].text&&(o.id=e(o.children[0].text,r++)),o))),s))),n))}var tt=require("@radix-ui/react-slot"),rt=require("class-variance-authority"),ot=ee(require("react")),nt=require("react/jsx-runtime"),br=(0,rt.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),G=ot.forwardRef(({asChild:t=!1,className:e,size:r,variant:n,...s},o)=>(0,nt.jsx)(t?tt.Slot:"button",{className:d(br({className:e,size:r,variant:n})),ref:o,...s}));G.displayName="Button";var he="../../cortex-reply-dark-XPAJJJYY.png";var Bt=ee(require("next/image"));var st=({className:t,content:e,style:r})=>(0,nt.jsx)("div",{className:d("mx-auto my-8 w-full",t),children:(0,nt.jsx)("div",{className:d("border py-3 px-6 flex items-center rounded",{"border-border bg-card":r==="info","border-error bg-error/30":r==="error","border-success bg-success/30":r==="success","border-warning bg-warning/30":r==="warning"}),children:(0,nt.jsx)(S,{content:e,enableGutter:!1,enableProse:!1})})});var ke=require("prism-react-renderer");var at=require("lucide-react");function lt({code:t}){let[e,r]=(0,D.useState)("Copy");function n(){e==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,nt.jsx)("div",{className:"flex justify-end align-middle",children:(0,nt.jsxs)(G,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(t),n()},children:[(0,nt.jsx)("p",{children:e}),(0,nt.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,nt.jsx)(at.ClipboardCopy,{})})]})})}var ct=({code:t,language:e=""})=>t?(0,nt.jsx)(ke.Highlight,{code:t,language:e,theme:ke.themes.vsDark,children:({getLineProps:r,getTokenProps:n,tokens:s})=>(0,nt.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-nt-auto",children:[s.map((o,i)=>(0,nt.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,nt.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:i+1}),(0,nt.jsx)("span",{className:"table-cell pl-4",children:o.map((a,l)=>(0,nt.jsx)("span",{...n({token:a})},l))})]},i)),(0,nt.jsx)(lt,{code:t})]})}):null;var dt=({className:t,code:e,language:r})=>(0,nt.jsx)("div",{className:[t,"not-prose"].filter(Boolean).join(" "),children:(0,nt.jsx)(ct,{code:e,language:r})});var mt=ee(require("next/image")),yr={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},pt="data:image/png;base64,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",ut=t=>{let{alt:e,fill:r,imgClassName:n,priority:s,resource:o,size:i,src:a,loading:l}=t,c,p,g=e,m=a||"";if(!m&&o&&typeof o=="object"){let{alt:h,filename:v,height:N,url:P,width:W}=o;c=W,p=N,g=h||"",m=P||pt}let w=l||"lazy",y=i||Object.entries(yr).map(([,h])=>`(max-width: ${h}px) ${h*2}w`).join(", ");return(0,nt.jsx)("picture",{children:(0,nt.jsx)(mt.default,{alt:g||"",className:d(n),fill:r,height:r?void 0:p,placeholder:"blur",blurDataURL:pt,priority:w!=="lazy"&&s,quality:100,loading:w,sizes:y,src:m,width:r?void 0:c})})};var gt=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var ft=()=>{if(gt){let t=window.location.protocol,e=window.location.hostname,r=window.location.port;return`${t}//${e}${r?`:${r}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var bt=t=>{let{onClick:e,resource:r,videoClassName:n}=t,s=(0,D.useRef)(null);if((0,D.useEffect)(()=>{let{current:o}=s;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,nt.jsx)("video",{autoPlay:!0,className:d(n),controls:!1,loop:!0,muted:!0,onClick:e,playsInline:!0,ref:s,children:(0,nt.jsx)("source",{src:`${ft()}/media/${o}`})})}return null};var Pe=t=>{var i;let{className:e,htmlElement:r="div",resource:n}=t,s=typeof n=="object"&&((i=n==null?void 0:n.mimeType)==null?void 0:i.includes("video"));return(0,nt.jsx)(r||D.Fragment,{...r!==null?{className:e}:{},children:s?(0,nt.jsx)(bt,{...t}):(0,nt.jsx)(ut,{...t})})};var Q=t=>{let{className:e,enableGutter:r=!0,imgClassName:n,media:s,staticImage:o}=t;return(0,nt.jsx)("div",{className:d("h-full",{container:r},e),children:(0,nt.jsx)(Pe,{imgClassName:d("rounded-[0.8rem] max-h-full",n),className:"h-full",resource:s,src:o})})};var yt=t=>{let{className:e,enableGutter:r=!0,imgClassName:n,media:s,staticImage:o}=t;return(0,nt.jsx)("div",{className:d("",{container:r},e),children:(0,nt.jsx)(Pe,{imgClassName:d("rounded-[0.8rem]",n),resource:s,src:o})})};var De=({type:t="solid",iconName:e="cloud",size:r="lg",className:n})=>{let s=t.includes("fa-")?t+" ":"fa-"+t+" ",o="fa-"+e,i=n!=null?n:"",a=s+o+" fa-"+r+" "+i;return(0,nt.jsx)("i",{className:a})};function wt(t){return t&&typeof t=="object"&&"type"in t&&"iconName"in t}function vt({variant:t="outline",className:e,icon:r,iconSize:n="large",width:s="auto",order:o=0,heading:i,subheading:a,content:l,statistic:c,buttonText:p,buttonHref:g}){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:""},w={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return(0,nt.jsxs)("div",{className:d("rounded-3xl p-8 md:p-8 min-w-56 flex flex-col group",m[t],t==="outline"?"text-gray-900":"text-white",e,w[s],"intersect intersect-full animate-flip-up",o===0?"":`animate-delay-${o}00`),children:[(0,nt.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,nt.jsx)(xr,{icon:r,heading:i,variant:t,iconSize:n})}),c&&(0,nt.jsx)("div",{className:"mb-6",children:(0,nt.jsx)("div",{className:d("text-4xl text-wrap font-bold leading-none overflow-hidden",t==="outline"||t==="light"?"text-primary":"text-white"),children:c})}),a&&(0,nt.jsx)("div",{className:"mb-4 text-xl md:text-2xl font-light",children:a}),l&&typeof l=="object"&&(0,nt.jsx)("div",{className:d("space-y-6"),children:(0,nt.jsx)(S,{enableGutter:!1,content:l,enableProse:!1,className:d(t==="outline"||t==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100")})}),l&&typeof l=="string"&&(0,nt.jsx)("div",{className:d("space-y-6",t==="outline"||t==="light"?"text-gray-900":"text-gray-100"),children:l}),p&&(0,nt.jsx)("div",{className:"mt-auto pt-6 flex items-center justify-center",children:(0,nt.jsx)(G,{size:"lg",className:"text-white text-lg rounded-xl w-full mt-auto items-center justify-center",asChild:!0,children:(0,nt.jsx)("a",{href:g,children:p})})}),t==="radial"&&(0,nt.jsx)("div",{className:"absolute bottom-0 right-0 w-2/3 h-2/3 blur-3xl rounded-full",style:{background:"radial-gradient(circle, rgba(164,35,104,0.3) 0%, rgba(74,16,48,0) 70%)"}})]})}var xr=({icon:t,heading:e,variant:r,iconSize:n})=>t&&n==="small"?(0,nt.jsxs)("div",{className:"flex items-start gap-4 mb-2",children:[wt(t)&&(0,nt.jsx)("div",{className:d("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-primary":"text-white",n==="small"?"mt-2":""),children:(0,nt.jsx)(De,{type:t.type,iconName:t.iconName,size:"2x"})}),(0,nt.jsx)("div",{className:d("font-semibold",r==="outline"||r==="light"?"text-primary":"text-white",n==="small"?"text-2xl":"text-3xl"),children:e})]}):t?(0,nt.jsxs)("div",{className:"flex flex-col gap-4",children:[wt(t)&&(0,nt.jsx)("div",{className:d("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-accent":""),children:(0,nt.jsx)(De,{type:t.type,iconName:t.iconName,size:"4x"})}),(0,nt.jsx)("h3",{className:d("font-semibold",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:e})]}):(0,nt.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,nt.jsx)("div",{className:d("font-semibold",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:e})});var le=({title:t,description:e,features:r,id:n})=>(0,nt.jsxs)("section",{className:d("container w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[t&&(0,nt.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl text-primary",id:n||"",children:t}),e&&typeof e=="string"&&(0,nt.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:e}),e&&typeof e=="object"&&(0,nt.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:(0,nt.jsx)(S,{content:e,enableGutter:!1})}),(0,nt.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((s,o)=>{var a,l,c,p,g;let i=()=>{if(s.icon&&"type"in s.icon&&s.icon.type!=="none")return{type:s.icon.type,iconName:s.icon.icon}};return(0,nt.jsx)(vt,{variant:((a=s.settings)==null?void 0:a.card)==="default"?"light":((l=s.settings)==null?void 0:l.card)||"outline",icon:i()||void 0,iconSize:((c=s.settings)==null?void 0:c.iconSize)||"large",width:"auto",order:o,heading:s.title||"",content:s.content||void 0,statistic:s.statistic||void 0,buttonText:(p=s.link)!=null&&p.url?"Find out more":void 0,buttonHref:((g=s.link)==null?void 0:g.url)||void 0},o)})})]});var Be=ee(require("react"));var je=ee(require("next/link")),re=t=>{let{type:e,appearance:r="inline",children:n,className:s,label:o,newTab:i,reference:a,size:l,url:c}=t,p=e==="reference"&&typeof(a==null?void 0:a.value)=="object"&&a.value.slug?`${(a==null?void 0:a.relationTo)!=="pages"?`/${a==null?void 0:a.relationTo}`:""}/${a.value.slug}`:c;if(!p)return null;let g=r==="link"?"clear":l,m=i?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,nt.jsxs)(je.default,{className:d(s),href:p||c||"",...m,children:[o&&o,n&&n]}):(0,nt.jsx)(G,{asChild:!0,className:s,size:g,variant:r,children:(0,nt.jsxs)(je.default,{className:d(s),href:p||c||"",...m,children:[o&&o,n&&n]})})};function xe({nodes:t}){return(0,nt.jsx)(Be.Fragment,{children:t==null?void 0:t.map((e,r)=>{if(e==null)return null;if(e.type==="text"&&e.text){let o=(0,nt.jsx)(Be.default.Fragment,{children:e.text},r);return e.format&1&&(o=(0,nt.jsx)("strong",{children:o},r)),e.format&2&&(o=(0,nt.jsx)("em",{children:o},r)),e.format&4&&(o=(0,nt.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),e.format&8&&(o=(0,nt.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),e.format&16&&(o=(0,nt.jsx)("code",{children:e.text},r)),e.format&32&&(o=(0,nt.jsx)("sub",{children:o},r)),e.format&64&&(o=(0,nt.jsx)("sup",{children:o},r)),o}if(e.type==="table")return(0,nt.jsx)("table",{children:(0,nt.jsx)("tbody",{children:e.children.map((o,i)=>(0,nt.jsx)("tr",{children:o.children.map((a,l)=>(0,nt.jsx)("td",{children:xe({nodes:a.children})},l))},i))})},r);let n=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let i of o.children)"checked"in i&&(i!=null&&i.checked||(i.checked=!1));return xe({nodes:o.children})},s="children"in e?n(e):"";if(e.type==="block"){let o=e.fields,i=o==null?void 0:o.blockType;if(!o||!i)return null;switch(i){case"cta":return(0,nt.jsx)(ce,{...o},r);case"mediaBlock":return(0,nt.jsx)(Q,{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,nt.jsx)(yt,{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,nt.jsx)(st,{className:"col-start-2 mb-4",...o},r);case"code":return(0,nt.jsx)(dt,{className:"col-start-2",...o},r);case"features":return(0,nt.jsx)(le,{...o},r);case"reusableContentBlock":xe({nodes:o.reusableContent.layout});default:return null}}else switch(e.type){case"linebreak":return(0,nt.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,nt.jsx)("p",{className:"col-start-2",children:s},r);case"heading":{let o=e==null?void 0:e.tag;return(0,nt.jsx)(o,{className:"col-start-2",id:(e==null?void 0:e.id)||"",children:s},r)}case"list":{let o=e==null?void 0:e.tag;return(0,nt.jsx)(o,{className:"list col-start-2",children:s},r)}case"listitem":return(e==null?void 0:e.checked)!=null?(0,nt.jsx)("li",{"aria-checked":e.checked?"true":"false",className:` ${e.checked,""}`,role:"checkbox",tabIndex:-1,value:e==null?void 0:e.value,children:s},r):(0,nt.jsx)("li",{value:e==null?void 0:e.value,children:s},r);case"quote":return(0,nt.jsx)("blockquote",{className:"col-start-2",children:s},r);case"link":{let o=e.fields;return(0,nt.jsx)(re,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},r)}case"autolink":{let o=e.fields;return(0,nt.jsx)(re,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},r)}default:return null}})})}var S=({className:t,content:e,enableGutter:r=!0,enableProse:n=!0})=>{var s;return e?(0,nt.jsx)("div",{className:d({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":n},t),children:e&&!Array.isArray(e)&&typeof e=="object"&&"root"in e&&xe({nodes:(s=e==null?void 0:e.root)==null?void 0:s.children})}):null};var ce=({links:t,richText:e})=>(0,nt.jsx)("div",{className:"container",children:(0,nt.jsxs)("div",{className:"bg-card rounded border-border border p-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,nt.jsx)("div",{className:"max-w-[48rem] flex items-center",children:e&&(0,nt.jsx)(S,{className:"mb-0",content:e,enableGutter:!1})}),(0,nt.jsx)("div",{className:"flex flex-col gap-8",children:(t||[]).map(({link:r},n)=>(0,nt.jsx)(re,{size:"lg",...r},n))})]})});var Re=t=>{var a;let{columns:e,theme:r}=t,n={full:"12",half:"6",oneThird:"4",twoThirds:"8"},s={none:"",line:"border border-primary p-4 rounded-lg"},o=l=>{if(l.type&&l.type==="block"&&l.fields&&(l.fields.blockType==="imageBlock"||l.fields.blockType==="mediaBlock"))return!0;if(l.root&&l.root.children){for(let c of l.root.children)if(o(c))return!0}if(l.children){for(let c of l.children)if(o(c))return!0}return!1},i=(l,c,p)=>{if(c==="none"||p==="full")return{processedRichText:l,heading:null};let g=l,m=null;return l&&l.root&&l.root.children&&l.root.children[0].tag==="h2"&&(g={...l,root:{...l.root,children:l.root.children.slice(1)}},m=l.root.children[0]),{processedRichText:g,heading:m}};return(0,nt.jsx)("div",{className:"container my-6",children:(0,nt.jsx)("div",{className:d("grid grid-cols-4 lg:grid-cols-12 gap-y-8",(a=r==null?void 0:r.settings)!=null&&a.box?"gap-nt-8":"gap-nt-16"),children:e&&e.length>0&&e.map((l,c)=>{var v,N;let{enableLink:p,link:g,richText:m,size:w}=l,{processedRichText:y,heading:h}=i(m,((v=r==null?void 0:r.settings)==null?void 0:v.box)||"none",w||"full");return(0,nt.jsxs)("div",{className:d(`col-span-4 lg:col-span-${n[w]}`,{"md:col-span-2":w!=="full"},s[w!=="full"&&!o(m)&&((N=r==null?void 0:r.settings)==null?void 0:N.box)||"none"],"intersect intersect-full animate-flip-up",c===0?"":`animate-delay-${c}00`),children:[h&&(0,nt.jsx)("div",{className:"bg-primary text-primary-foreground mb-4 -mt-4 -mx-4 px-4 py-2 text-xl",children:h.children[0].text}),y&&(0,nt.jsx)(S,{content:y,enableGutter:!1,className:"rich-text"}),p&&(0,nt.jsx)(re,{...g})]},c)})})})};var Nt=t=>{let{customId:e,reusableContent:r}=t;return typeof r=="object"&&r!==null?(0,nt.jsx)(wr,{blocks:r.layout}):(0,nt.jsx)(nt.Fragment,{})},Ct={content:Re,cta:ce,mediaBlock:Q,imageBlock:Q,features:le},wr=t=>{let{blocks:e}=t;return e&&Array.isArray(e)&&e.length>0?(0,nt.jsx)("section",{id:"render-blocks",children:e.map((n,s)=>{var a,l;let{blockType:o}=n,i=n==null?void 0:n.theme;if(o&&o in Ct){let c=Ct[o];if(c)return(0,nt.jsx)("div",{className:"py-6 relative",children:(0,nt.jsx)("div",{className:d(((a=i==null?void 0:i.settings)==null?void 0:a.theme)==="dark"?"dark":((l=i==null?void 0:i.settings)==null?void 0:l.theme)==="green"?"green":""),children:(0,nt.jsx)(c,{...n})})},s)}return null})}):null};var Pt={content:Re,cta:ce,mediaBlock:Q,imageBlock:Q,features:le,reusableContentBlock:Nt},Ue=t=>{let{blocks:e}=t;return e&&Array.isArray(e)&&e.length>0?(0,nt.jsx)("section",{id:"render-blocks",className:d(t.fill?"h-full w-full":""),children:e.map((n,s)=>{var a,l;let{blockType:o}=n,i=n==null?void 0:n.theme;if(o&&o in Pt){let c=Pt[o];if(c)return(0,nt.jsxs)("div",{className:d("py-6 relative",t.fill&&"flex h-full items-center justify-center"),children:[(0,nt.jsx)(vr,{block:n,index:s}),(0,nt.jsx)("div",{className:d("container h-full",((a=i==null?void 0:i.settings)==null?void 0:a.theme)==="dark"?"dark":((l=i==null?void 0:i.settings)==null?void 0:l.theme)==="green"?"green":""),children:(0,nt.jsx)(c,{...n})})]},s)}return null})}):null},vr=t=>{var r,n,s,o,i;if(!("theme"in t.block))return null;let e=(r=t.block)==null?void 0:r.theme;if(e.settings.background==="image"){let a={imagePosition:e.settings.imagePosition||"left",overlay:e.settings.overlay!==void 0?e.settings.overlay:!0};return(0,nt.jsxs)("div",{className:d("absolute inset-0 w-full h-full -nt-10",e.settings.theme==="dark"?"dark bg-background":e.settings.theme==="green"?"green bg-background":""),children:[(0,nt.jsx)(Bt.default,{src:((s=(n=e.settings)==null?void 0:n.image)==null?void 0:s.url)||"/placeholder.svg",alt:((i=(o=e.settings)==null?void 0:o.image)==null?void 0:i.alt)||"",fill:!0,className:"object-cover",priority:!0}),e.settings.overlay&&(0,nt.jsx)("div",{className:"absolute inset-0",style:{background:a.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,nt.jsx)("div",{className:d("absolute inset-0 -nt-10 w-screen h-full",e.settings.theme==="dark"?"dark bg-background":e.settings.theme==="green"?"green bg-background":"")})};var Rt="../../hero-3-N2CBGEV6.jpg";var Le=ee(require("next/image"));var He=({title:t})=>(0,nt.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,nt.jsx)("div",{className:"container",children:(0,nt.jsx)("span",{className:"container text-4xl px-6",children:t})})}),Oe=t=>{var n,s;let{title:e,hero:r}=t;return(0,nt.jsxs)("div",{className:"relative w-full h-full flex flex-col justify-center min-h-[500px] p-10",children:[(0,nt.jsx)("div",{className:"absolute inset-0",children:(0,nt.jsx)(Le.default,{src:r.media?r.media.url:Rt,alt:"Background",width:r.media&&r.media.width&&(n=r.media.width)!=null?n:1920,height:r.media&&r.media.height&&(s=r.media.height)!=null?s:1080,style:{objectFit:"cover"},className:"opacity-80 h-full dark:opacity-60"})}),(0,nt.jsx)("div",{className:"absolute left-16 nt-50 top-4 flex flex-col items-start gap-4",children:he&&(0,nt.jsx)("div",{className:"h-24",children:(0,nt.jsx)(Le.default,{src:he,alt:"Company logo",className:"h-full w-full object-contain",width:192,height:96})})}),(0,nt.jsx)("div",{className:"absolute inset-0 bg-black/30 dark:bg-black/50"}),(0,nt.jsxs)("div",{className:"relative pl-24 nt-10 max-w-3xl",children:[(0,nt.jsx)("p",{className:"text-lg font-medium text-accent mb-2",children:e}),r.richText&&(0,nt.jsx)(S,{content:r.richText,enableGutter:!1,className:"prose-headings:text-white prose-p:text-white"})]})]})};var At=ee(require("html2canvas")),_e=require("jspdf");function Cr(t){var e=document.createElement("div");e.style.display="block",e.style.height=t,document.body.appendChild(e);var r=parseFloat(window.getComputedStyle(e,null).height);return e.parentNode&&e.parentNode.removeChild(e),Math.floor(r)}var Nr=({page:t,layout:e="portrait"})=>e==="flow"?(0,nt.jsx)(Tt,{page:t,layout:e}):(0,nt.jsx)(It,{page:t,layout:e}),Tt=({page:t,layout:e="portrait"})=>{let{contentWithIds:r}=Se(t),n={id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}},s=async()=>{o("printable-content")},o=async a=>{let l=document.getElementById(a);if(!l)throw new Error(`Element with id ${a} not found`);let c=document.createElement("canvas"),p=window.devicePixelRatio;c.width=Math.max(l.clientWidth||0)*p,c.height=Math.max(l.clientHeight||0)*p+100;let g=c.getContext("2d");if(!g)throw new Error("Failed to get 2D context");let m=g.drawImage,w=Array.from(l.getElementsByTagName("img")).reduce((X,I)=>(X[I.src]=I,X),{});g.drawImage=function(...X){let[I,oe,ne,b,M,Z,me,E,j]=X;if(I instanceof HTMLImageElement){let ue=w[I.src].style.objectFit||"fill",K=w[I.src].style.objectPosition||"center center";M=I.height,b=I.width;let $=b/M,T=E/j,[ge,se]=K.split(" ");switch(se||(se=ge),ue){case"cover":if($>T){let B=M*T,R=(b-B)/2;ge==="left"&&(R=0),ge==="right"&&(R=b-B),oe+=R,b=B}else{let B=b/T,R=(M-B)/2;se==="top"&&(R=0),se==="bottom"&&(R=M-B),ne+=R,M=B}break;case"contain":if($>T){let B=E/$,R=(j-B)/2;se==="top"&&(R=0),se==="bottom"&&(R=j-B),me+=R,j=B}else{let B=j*$,R=(E-B)/2;ge==="left"&&(R=0),ge==="right"&&(R=E-B),Z+=R,E=B}break;case"fill":break}}return m.call(g,I,oe,ne,b,M,Z,me,E,j)};let y=document.getElementById(a);if(!y)throw new Error(`Element with id ${a} not found`);var h=c.width,v=c.height;let P=(await(0,At.default)(y,{canvas:c,windowHeight:v,windowWidth:h,scale:window.devicePixelRatio})).toDataURL("image/png"),F=new _e.jsPDF({}).getImageProperties(P),_=297,de=_*(F.height/F.width),pe=new _e.jsPDF({unit:"mm",format:[_,de]});pe.addImage(P,"PNG",0,0,_,de),pe.save("print.pdf")},i=[n,...r];return(0,nt.jsxs)("div",{className:"w-[297mm]",children:[(0,nt.jsx)("div",{className:"fixed top-20 right-4 nt-[1000] print:hidden",children:(0,nt.jsx)(G,{onClick:s,variant:"outline",className:"px-5 py-2 text-sm font-semibold",children:"Print to PDF"})}),(0,nt.jsxs)("div",{id:"printable-content",children:[i.map((a,l)=>(0,nt.jsx)(nt.Fragment,{children:l===0?(0,nt.jsx)("section",{className:"title-page w-full h-full",children:(0,nt.jsx)(Oe,{hero:t.hero,title:t.title})},l):(0,nt.jsxs)("section",{className:"normal-page",children:[a.blockName&&(0,nt.jsx)(He,{title:a.blockName}),(0,nt.jsx)(Ue,{blocks:[a],fill:!0})]},l)})),(0,nt.jsx)("section",{className:"normal-page",children:(0,nt.jsxs)("div",{className:`w-full py-2 px-8 flex justify-between items-center
|
|
5
|
-
dark bg-background text-primary`,children:[(0,nt.jsxs)("div",{className:"flex px-6 items-center space-nt-2",children:[(0,nt.jsx)("img",{src:
|
|
4
|
+
"use strict";"use client";var St=Object.create;var we=Object.defineProperty;var Et=Object.getOwnPropertyDescriptor;var zt=Object.getOwnPropertyNames;var Ft=Object.getPrototypeOf,Mt=Object.prototype.hasOwnProperty;var Gt=(t,e)=>{for(var r in e)we(t,r,{get:e[r],enumerable:!0})},Je=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of zt(e))!Mt.call(t,a)&&a!==r&&we(t,a,{get:()=>e[a],enumerable:!(n=Et(e,a))||n.enumerable});return t};var ee=(t,e,r)=>(r=t!=null?St(Ft(t)):{},Je(e||!t||!t.__esModule?we(r,"default",{value:t,enumerable:!0}):r,t)),Dt=t=>Je(we({},"__esModule",{value:!0}),t);var Pr={};Gt(Pr,{FlowPrintable:()=>Tt,PagePrintable:()=>It,Printable:()=>Nr});module.exports=Dt(Pr);var D=require("react"),We=require("pagedjs");var et=require("clsx");var Ie="-",jt=t=>{let e=Lt(t),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=t;return{getClassGroupId:i=>{let s=i.split(Ie);return s[0]===""&&s.length!==1&&s.shift(),qe(s,e)||Ut(i)},getConflictingClassGroupIds:(i,s)=>{let l=r[i]||[];return s&&n[i]?[...l,...n[i]]:l}}},qe=(t,e)=>{var i;if(t.length===0)return e.classGroupId;let r=t[0],n=e.nextPart.get(r),a=n?qe(t.slice(1),n):void 0;if(a)return a;if(e.validators.length===0)return;let o=t.join(Ie);return(i=e.validators.find(({validator:s})=>s(o)))==null?void 0:i.classGroupId},Ve=/^\[(.+)\]$/,Ut=t=>{if(Ve.test(t)){let e=Ve.exec(t)[1],r=e==null?void 0:e.substring(0,e.indexOf(":"));if(r)return"arbitrary.."+r}},Lt=t=>{let{theme:e,prefix:r}=t,n={nextPart:new Map,validators:[]};return Ot(Object.entries(t.classGroups),r).forEach(([o,i])=>{Te(i,n,o,e)}),n},Te=(t,e,r,n)=>{t.forEach(a=>{if(typeof a=="string"){let o=a===""?e:Qe(e,a);o.classGroupId=r;return}if(typeof a=="function"){if(Ht(a)){Te(a(n),e,r,n);return}e.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(([o,i])=>{Te(i,Qe(e,o),r,n)})})},Qe=(t,e)=>{let r=t;return e.split(Ie).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},Ht=t=>t.isThemeGetter,Ot=(t,e)=>e?t.map(([r,n])=>{let a=n.map(o=>typeof o=="string"?e+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([i,s])=>[e+i,s])):o);return[r,a]}):t,Wt=t=>{if(t<1)return{get:()=>{},set:()=>{}};let e=0,r=new Map,n=new Map,a=(o,i)=>{r.set(o,i),e++,e>t&&(e=0,n=r,r=new Map)};return{get(o){let i=r.get(o);if(i!==void 0)return i;if((i=n.get(o))!==void 0)return a(o,i),i},set(o,i){r.has(o)?r.set(o,i):a(o,i)}}},Ye="!",_t=t=>{let{separator:e,experimentalParseClassName:r}=t,n=e.length===1,a=e[0],o=e.length,i=s=>{let l=[],c=0,m=0,g;for(let v=0;v<s.length;v++){let N=s[v];if(c===0){if(N===a&&(n||s.slice(v,v+o)===e)){l.push(s.slice(m,v)),m=v+o;continue}if(N==="/"){g=v;continue}}N==="["?c++:N==="]"&&c--}let p=l.length===0?s:s.substring(m),w=p.startsWith(Ye),h=w?p.substring(1):p,y=g&&g>m?g-m:void 0;return{modifiers:l,hasImportantModifier:w,baseClassName:h,maybePostfixModifierPosition:y}};return r?s=>r({className:s,parseClassName:i}):i},Jt=t=>{if(t.length<=1)return t;let e=[],r=[];return t.forEach(n=>{n[0]==="["?(e.push(...r.sort(),n),r=[]):r.push(n)}),e.push(...r.sort()),e},Vt=t=>({cache:Wt(t.cacheSize),parseClassName:_t(t),...jt(t)}),Qt=/\s+/,qt=(t,e)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:a}=e,o=[],i=t.trim().split(Qt),s="";for(let l=i.length-1;l>=0;l-=1){let c=i[l],{modifiers:m,hasImportantModifier:g,baseClassName:p,maybePostfixModifierPosition:w}=r(c),h=!!w,y=n(h?p.substring(0,w):p);if(!y){if(!h){s=c+(s.length>0?" "+s:s);continue}if(y=n(p),!y){s=c+(s.length>0?" "+s:s);continue}h=!1}let v=Jt(m).join(":"),N=g?v+Ye:v,P=N+y;if(o.includes(P))continue;o.push(P);let W=a(y,h);for(let F=0;F<W.length;++F){let _=W[F];o.push(N+_)}s=c+(s.length>0?" "+s:s)}return s};function Yt(){let t=0,e,r,n="";for(;t<arguments.length;)(e=arguments[t++])&&(r=Xe(e))&&(n&&(n+=" "),n+=r);return n}var Xe=t=>{if(typeof t=="string")return t;let e,r="";for(let n=0;n<t.length;n++)t[n]&&(e=Xe(t[n]))&&(r&&(r+=" "),r+=e);return r};function Xt(t,...e){let r,n,a,o=i;function i(l){let c=e.reduce((m,g)=>g(m),t());return r=Vt(c),n=r.cache.get,a=r.cache.set,o=s,s(l)}function s(l){let c=n(l);if(c)return c;let m=qt(l,r);return a(l,m),m}return function(){return o(Yt.apply(null,arguments))}}var k=t=>{let e=r=>r[t]||[];return e.isThemeGetter=!0,e},Ze=/^\[(?:([a-nt-]+):)?(.+)\]$/i,Zt=/^\d+\/\d+$/,Kt=new Set(["px","full","screen"]),$t=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,er=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,tr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,rr=/^(inset_)?-?((\d+)?\.?(\d+)[a-nt]+|0)_-?((\d+)?\.?(\d+)[a-nt]+|0)/,or=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,U=t=>se(t)||Kt.has(t)||Zt.test(t),J=t=>ie(t,"length",pr),se=t=>!!t&&!Number.isNaN(Number(t)),Ae=t=>ie(t,"number",se),fe=t=>!!t&&Number.isInteger(Number(t)),nr=t=>t.endsWith("%")&&se(t.slice(0,-1)),u=t=>Ze.test(t),V=t=>$t.test(t),ar=new Set(["length","size","percentage"]),sr=t=>ie(t,ar,Ke),ir=t=>ie(t,"position",Ke),lr=new Set(["image","url"]),cr=t=>ie(t,lr,ur),dr=t=>ie(t,"",mr),be=()=>!0,ie=(t,e,r)=>{let n=Ze.exec(t);return n?n[1]?typeof e=="string"?n[1]===e:e.has(n[1]):r(n[2]):!1},pr=t=>er.test(t)&&!tr.test(t),Ke=()=>!1,mr=t=>rr.test(t),ur=t=>or.test(t);var gr=()=>{let t=k("colors"),e=k("spacing"),r=k("blur"),n=k("brightness"),a=k("borderColor"),o=k("borderRadius"),i=k("borderSpacing"),s=k("borderWidth"),l=k("contrast"),c=k("grayscale"),m=k("hueRotate"),g=k("invert"),p=k("gap"),w=k("gradientColorStops"),h=k("gradientColorStopPositions"),y=k("inset"),v=k("margin"),N=k("opacity"),P=k("padding"),W=k("saturate"),F=k("scale"),_=k("sepia"),de=k("skew"),pe=k("space"),X=k("translate"),I=()=>["auto","contain","none"],oe=()=>["auto","hidden","clip","visible","scroll"],ne=()=>["auto",u,e],b=()=>[u,e],M=()=>["",U,J],Z=()=>["auto",se,u],me=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],E=()=>["solid","dashed","dotted","double","none"],j=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ue=()=>["start","end","center","between","around","evenly","stretch"],K=()=>["","0",u],$=()=>["auto","avoid","all","avoid-page","page","left","right","column"],T=()=>[se,u];return{cacheSize:500,separator:":",theme:{colors:[be],spacing:[U,J],blur:["none","",V,u],brightness:T(),borderColor:[t],borderRadius:["none","","full",V,u],borderSpacing:b(),borderWidth:M(),contrast:T(),grayscale:K(),hueRotate:T(),invert:K(),gap:b(),gradientColorStops:[t],gradientColorStopPositions:[nr,J],inset:ne(),margin:ne(),opacity:T(),padding:b(),saturate:T(),scale:T(),sepia:K(),skew:T(),space:b(),translate:b()},classGroups:{aspect:[{aspect:["auto","square","video",u]}],container:["container"],columns:[{columns:[V]}],"break-after":[{"break-after":$()}],"break-before":[{"break-before":$()}],"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:[...me(),u]}],overflow:[{overflow:oe()}],"overflow-nt":[{"overflow-nt":oe()}],"overflow-y":[{"overflow-y":oe()}],overscroll:[{overscroll:I()}],"overscroll-nt":[{"overscroll-nt":I()}],"overscroll-y":[{"overscroll-y":I()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[y]}],"inset-nt":[{"inset-nt":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],nt:[{nt:["auto",fe,u]}],basis:[{basis:ne()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",u]}],grow:[{grow:K()}],shrink:[{shrink:K()}],order:[{order:["first","last","none",fe,u]}],"grid-cols":[{"grid-cols":[be]}],"col-start-end":[{col:["auto",{span:["full",fe,u]},u]}],"col-start":[{"col-start":Z()}],"col-end":[{"col-end":Z()}],"grid-rows":[{"grid-rows":[be]}],"row-start-end":[{row:["auto",{span:[fe,u]},u]}],"row-start":[{"row-start":Z()}],"row-end":[{"row-end":Z()}],"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:[p]}],"gap-nt":[{"gap-nt":[p]}],"gap-y":[{"gap-y":[p]}],"justify-content":[{justify:["normal",...ue()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ue(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ue(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[P]}],px:[{px:[P]}],py:[{py:[P]}],ps:[{ps:[P]}],pe:[{pe:[P]}],pt:[{pt:[P]}],pr:[{pr:[P]}],pb:[{pb:[P]}],pl:[{pl:[P]}],m:[{m:[v]}],mx:[{mx:[v]}],my:[{my:[v]}],ms:[{ms:[v]}],me:[{me:[v]}],mt:[{mt:[v]}],mr:[{mr:[v]}],mb:[{mb:[v]}],ml:[{ml:[v]}],"space-nt":[{"space-nt":[pe]}],"space-nt-reverse":["space-nt-reverse"],"space-y":[{"space-y":[pe]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",u,e]}],"min-w":[{"min-w":[u,e,"min","max","fit"]}],"max-w":[{"max-w":[u,e,"none","full","min","max","fit","prose",{screen:[V]},V]}],h:[{h:[u,e,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[u,e,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[u,e,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[u,e,"auto","min","max","fit"]}],"font-size":[{text:["base",V,J]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Ae]}],"font-family":[{font:[be]}],"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",se,Ae]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",U,u]}],"list-image":[{"list-image":["none",u]}],"list-style-type":[{list:["none","disc","decimal",u]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[N]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[N]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...E(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",U,J]}],"underline-offset":[{"underline-offset":["auto",U,u]}],"text-decoration-color":[{decoration:[t]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:b()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",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":[N]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...me(),ir]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","nt","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",sr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},cr]}],"bg-color":[{bg:[t]}],"gradient-from-pos":[{from:[h]}],"gradient-via-pos":[{via:[h]}],"gradient-to-pos":[{to:[h]}],"gradient-from":[{from:[w]}],"gradient-via":[{via:[w]}],"gradient-to":[{to:[w]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[s]}],"border-w-nt":[{"border-nt":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[N]}],"border-style":[{border:[...E(),"hidden"]}],"divide-nt":[{"divide-nt":[s]}],"divide-nt-reverse":["divide-nt-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[N]}],"divide-style":[{divide:E()}],"border-color":[{border:[a]}],"border-color-nt":[{"border-nt":[a]}],"border-color-y":[{"border-y":[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:["",...E()]}],"outline-offset":[{"outline-offset":[U,u]}],"outline-w":[{outline:[U,J]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:M()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[N]}],"ring-offset-w":[{"ring-offset":[U,J]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",V,dr]}],"shadow-color":[{shadow:[be]}],opacity:[{opacity:[N]}],"mix-blend":[{"mix-blend":[...j(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":j()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",V,u]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[m]}],invert:[{invert:[g]}],saturate:[{saturate:[W]}],sepia:[{sepia:[_]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[m]}],"backdrop-invert":[{"backdrop-invert":[g]}],"backdrop-opacity":[{"backdrop-opacity":[N]}],"backdrop-saturate":[{"backdrop-saturate":[W]}],"backdrop-sepia":[{"backdrop-sepia":[_]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-nt":[{"border-spacing-nt":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",u]}],duration:[{duration:T()}],ease:[{ease:["linear","in","out","in-out",u]}],delay:[{delay:T()}],animate:[{animate:["none","spin","ping","pulse","bounce",u]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[F]}],"scale-nt":[{"scale-nt":[F]}],"scale-y":[{"scale-y":[F]}],rotate:[{rotate:[fe,u]}],"translate-nt":[{"translate-nt":[X]}],"translate-y":[{"translate-y":[X]}],"skew-nt":[{"skew-nt":[de]}],"skew-y":[{"skew-y":[de]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",u]}],accent:[{accent:["auto",t]}],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:[t]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","nt",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":b()}],"scroll-mx":[{"scroll-mx":b()}],"scroll-my":[{"scroll-my":b()}],"scroll-ms":[{"scroll-ms":b()}],"scroll-me":[{"scroll-me":b()}],"scroll-mt":[{"scroll-mt":b()}],"scroll-mr":[{"scroll-mr":b()}],"scroll-mb":[{"scroll-mb":b()}],"scroll-ml":[{"scroll-ml":b()}],"scroll-p":[{"scroll-p":b()}],"scroll-px":[{"scroll-px":b()}],"scroll-py":[{"scroll-py":b()}],"scroll-ps":[{"scroll-ps":b()}],"scroll-pe":[{"scroll-pe":b()}],"scroll-pt":[{"scroll-pt":b()}],"scroll-pr":[{"scroll-pr":b()}],"scroll-pb":[{"scroll-pb":b()}],"scroll-pl":[{"scroll-pl":b()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","nt","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-nt":[{"touch-pan":["nt","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",u]}],fill:[{fill:[t,"none"]}],"stroke-w":[{stroke:[U,J,Ae]}],stroke:[{stroke:[t,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-nt","overflow-y"],overscroll:["overscroll-nt","overscroll-y"],inset:["inset-nt","inset-y","start","end","top","right","bottom","left"],"inset-nt":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-nt","gap-y"],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-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-nt","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-nt":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-nt":["border-color-r","border-color-l"],"border-color-y":["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-nt","touch-y","touch-pz"],"touch-nt":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var $e=Xt(gr);function d(...t){return $e((0,et.clsx)(t))}function Se(t){let e=0,r=(o,i)=>`${o.toLowerCase().replace(/\s+/g,"-").replace(/[^\w-]/g,"")}-${i}`,n=t.layout.flatMap(o=>{let i=[];return"title"in o&&o.title&&i.push({text:o.title,id:r(o.title,e++),tag:"h2"}),"columns"in o&&Array.isArray(o.columns)&&o.columns.forEach(s=>{var l,c,m,g,p;if(s.title&&i.push({text:s.title,id:r(s.title,e++),tag:"h2"}),(c=(l=s.richText)==null?void 0:l.root)!=null&&c.children&&((g=(m=s.richText)==null?void 0:m.root)==null?void 0:g.children.length)===1){let w=s.richText.root.children.filter(h=>h!==void 0&&h.type==="heading");for(let h of w)h.children[0]&&i.push({text:(p=h.children[0].text)!=null?p:"",id:r(h.children[0].text,e++),tag:h.tag||"h2"})}}),i}),a=fr(t.layout);return{tableOfContents:n,contentWithIds:a}}function fr(t){let e=(n,a)=>`${n.toLowerCase().replace(/\s+/g,"-").replace(/[^\w-]/g,"")}-${a}`,r=0;return t.map(n=>(n.title&&(n.id=e(n.title,r++)),n.columns&&(n.columns=n.columns.map(a=>(a.title&&(a.id=e(a.title,r++)),a.richText&&(a.richText.root.children=a.richText.root.children.filter(o=>o!==void 0).filter(o=>o.children!==void 0&&o.children.length>0).map(o=>(o.type==="heading"&&o.children[0].text&&(o.id=e(o.children[0].text,r++)),o))),a))),n))}var tt=require("@radix-ui/react-slot"),rt=require("class-variance-authority"),ot=ee(require("react")),nt=require("react/jsx-runtime"),br=(0,rt.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),G=ot.forwardRef(({asChild:t=!1,className:e,size:r,variant:n,...a},o)=>(0,nt.jsx)(t?tt.Slot:"button",{className:d(br({className:e,size:r,variant:n})),ref:o,...a}));G.displayName="Button";var ye="../../cortex-reply-dark-XPAJJJYY.png";var Bt=ee(require("next/image"));var at=({className:t,content:e,style:r})=>(0,nt.jsx)("div",{className:d("mx-auto my-8 w-full",t),children:(0,nt.jsx)("div",{className:d("border py-3 px-6 flex items-center rounded",{"border-border bg-card":r==="info","border-error bg-error/30":r==="error","border-success bg-success/30":r==="success","border-warning bg-warning/30":r==="warning"}),children:(0,nt.jsx)(S,{content:e,enableGutter:!1,enableProse:!1})})});var ke=require("prism-react-renderer");var st=require("lucide-react");function lt({code:t}){let[e,r]=(0,D.useState)("Copy");function n(){e==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,nt.jsx)("div",{className:"flex justify-end align-middle",children:(0,nt.jsxs)(G,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(t),n()},children:[(0,nt.jsx)("p",{children:e}),(0,nt.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,nt.jsx)(st.ClipboardCopy,{})})]})})}var ct=({code:t,language:e=""})=>t?(0,nt.jsx)(ke.Highlight,{code:t,language:e,theme:ke.themes.vsDark,children:({getLineProps:r,getTokenProps:n,tokens:a})=>(0,nt.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-nt-auto",children:[a.map((o,i)=>(0,nt.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,nt.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:i+1}),(0,nt.jsx)("span",{className:"table-cell pl-4",children:o.map((s,l)=>(0,nt.jsx)("span",{...n({token:s})},l))})]},i)),(0,nt.jsx)(lt,{code:t})]})}):null;var dt=({className:t,code:e,language:r})=>(0,nt.jsx)("div",{className:[t,"not-prose"].filter(Boolean).join(" "),children:(0,nt.jsx)(ct,{code:e,language:r})});var mt=ee(require("next/image")),hr={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},pt="data:image/png;base64,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",ut=t=>{let{alt:e,fill:r,imgClassName:n,priority:a,resource:o,size:i,src:s,loading:l}=t,c,m,g=e,p=s||"";if(!p&&o&&typeof o=="object"){let{alt:y,filename:v,height:N,url:P,width:W}=o;c=W,m=N,g=y||"",p=P||pt}let w=l||"lazy",h=i||Object.entries(hr).map(([,y])=>`(max-width: ${y}px) ${y*2}w`).join(", ");return(0,nt.jsx)("picture",{children:(0,nt.jsx)(mt.default,{alt:g||"",className:d(n),fill:r,height:r?void 0:m,placeholder:"blur",blurDataURL:pt,priority:w!=="lazy"&&a,quality:100,loading:w,sizes:h,src:p,width:r?void 0:c})})};var gt=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var ft=()=>{if(gt){let t=window.location.protocol,e=window.location.hostname,r=window.location.port;return`${t}//${e}${r?`:${r}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var bt=t=>{let{onClick:e,resource:r,videoClassName:n}=t,a=(0,D.useRef)(null);if((0,D.useEffect)(()=>{let{current:o}=a;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,nt.jsx)("video",{autoPlay:!0,className:d(n),controls:!1,loop:!0,muted:!0,onClick:e,playsInline:!0,ref:a,children:(0,nt.jsx)("source",{src:`${ft()}/media/${o}`})})}return null};var Pe=t=>{var i;let{className:e,htmlElement:r="div",resource:n}=t,a=typeof n=="object"&&((i=n==null?void 0:n.mimeType)==null?void 0:i.includes("video"));return(0,nt.jsx)(r||D.Fragment,{...r!==null?{className:e}:{},children:a?(0,nt.jsx)(bt,{...t}):(0,nt.jsx)(ut,{...t})})};var Q=t=>{let{className:e,enableGutter:r=!0,imgClassName:n,media:a,staticImage:o}=t;return(0,nt.jsx)("div",{className:d("h-full",{container:r},e),children:(0,nt.jsx)(Pe,{imgClassName:d("rounded-[0.8rem] max-h-full",n),className:"h-full",resource:a,src:o})})};var ht=t=>{let{className:e,enableGutter:r=!0,imgClassName:n,media:a,staticImage:o}=t;return(0,nt.jsx)("div",{className:d("",{container:r},e),children:(0,nt.jsx)(Pe,{imgClassName:d("rounded-[0.8rem]",n),resource:a,src:o})})};var De=({type:t="solid",iconName:e="cloud",size:r="lg",className:n})=>{let a=t.includes("fa-")?t+" ":"fa-"+t+" ",o="fa-"+e,i=n!=null?n:"",s=a+o+" fa-"+r+" "+i;return(0,nt.jsx)("i",{className:s})};function wt(t){return t&&typeof t=="object"&&"type"in t&&"iconName"in t}function vt({variant:t="outline",className:e,icon:r,iconSize:n="large",width:a="auto",order:o=0,heading:i,subheading:s,content:l,statistic:c,buttonText:m,buttonHref:g}){let p={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:""},w={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return(0,nt.jsxs)("div",{className:d("rounded-3xl p-8 md:p-8 min-w-56 flex flex-col group",p[t],t==="outline"?"text-gray-900":"text-white",e,w[a],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${o+1}00`),children:[(0,nt.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,nt.jsx)(xr,{icon:r,heading:i,variant:t,iconSize:n})}),c&&(0,nt.jsx)("div",{className:"mb-6",children:(0,nt.jsx)("div",{className:d("text-4xl text-wrap font-bold leading-none overflow-hidden",t==="outline"||t==="light"?"text-primary":"text-white"),children:c})}),s&&(0,nt.jsx)("div",{className:"mb-4 text-xl md:text-2xl font-light",children:s}),l&&typeof l=="object"&&(0,nt.jsx)("div",{className:d("space-y-6"),children:(0,nt.jsx)(S,{enableGutter:!1,content:l,enableProse:!1,className:d(t==="outline"||t==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100")})}),l&&typeof l=="string"&&(0,nt.jsx)("div",{className:d("space-y-6",t==="outline"||t==="light"?"text-gray-900":"text-gray-100"),children:l}),m&&(0,nt.jsx)("div",{className:"mt-auto pt-6 flex items-center justify-center",children:(0,nt.jsx)(G,{size:"lg",className:"text-white text-lg rounded-xl w-full mt-auto items-center justify-center",asChild:!0,children:(0,nt.jsx)("a",{href:g,children:m})})}),t==="radial"&&(0,nt.jsx)("div",{className:"absolute bottom-0 right-0 w-2/3 h-2/3 blur-3xl rounded-full",style:{background:"radial-gradient(circle, rgba(164,35,104,0.3) 0%, rgba(74,16,48,0) 70%)"}})]})}var xr=({icon:t,heading:e,variant:r,iconSize:n})=>t&&n==="small"?(0,nt.jsxs)("div",{className:"flex items-start gap-4 mb-2",children:[wt(t)&&(0,nt.jsx)("div",{className:d("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-primary":"text-white",n==="small"?"mt-2":""),children:(0,nt.jsx)(De,{type:t.type,iconName:t.iconName,size:"2x"})}),(0,nt.jsx)("div",{className:d("font-semibold",r==="outline"||r==="light"?"text-primary":"text-white",n==="small"?"text-2xl":"text-3xl"),children:e})]}):t?(0,nt.jsxs)("div",{className:"flex flex-col gap-4",children:[wt(t)&&(0,nt.jsx)("div",{className:d("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-accent":""),children:(0,nt.jsx)(De,{type:t.type,iconName:t.iconName,size:"4x"})}),(0,nt.jsx)("h3",{className:d("font-semibold",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:e})]}):(0,nt.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,nt.jsx)("div",{className:d("font-semibold",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:e})});var le=({title:t,description:e,features:r,id:n,nested:a=!1})=>(0,nt.jsxs)("section",{className:d(!a&&"container","w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[t&&(0,nt.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl text-primary",id:n||"",children:t}),e&&typeof e=="string"&&(0,nt.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:e}),e&&typeof e=="object"&&(0,nt.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:(0,nt.jsx)(S,{content:e,enableGutter:!1})}),(0,nt.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((o,i)=>{var l,c,m,g,p;let s=()=>{if(o.icon&&"type"in o.icon&&o.icon.type!=="none")return{type:o.icon.type,iconName:o.icon.icon}};return(0,nt.jsx)(vt,{variant:((l=o.settings)==null?void 0:l.card)==="default"?"light":((c=o.settings)==null?void 0:c.card)||"outline",icon:s()||void 0,iconSize:((m=o.settings)==null?void 0:m.iconSize)||"large",width:"auto",order:i,heading:o.title||"",content:o.content||void 0,statistic:o.statistic||void 0,buttonText:(g=o.link)!=null&&g.url?"Find out more":void 0,buttonHref:((p=o.link)==null?void 0:p.url)||void 0},i)})})]});var Be=ee(require("react"));var je=ee(require("next/link")),re=t=>{let{type:e,appearance:r="inline",children:n,className:a,label:o,newTab:i,reference:s,size:l,url:c}=t,m=e==="reference"&&typeof(s==null?void 0:s.value)=="object"&&s.value.slug?`${(s==null?void 0:s.relationTo)!=="pages"?`/${s==null?void 0:s.relationTo}`:""}/${s.value.slug}`:c;if(!m)return null;let g=r==="link"?"clear":l,p=i?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,nt.jsxs)(je.default,{className:d(a),href:m||c||"",...p,children:[o&&o,n&&n]}):(0,nt.jsx)(G,{asChild:!0,className:a,size:g,variant:r,children:(0,nt.jsxs)(je.default,{className:d(a),href:m||c||"",...p,children:[o&&o,n&&n]})})};function xe({nodes:t}){return(0,nt.jsx)(Be.Fragment,{children:t==null?void 0:t.map((e,r)=>{if(e==null)return null;if(e.type==="text"&&e.text){let o=(0,nt.jsx)(Be.default.Fragment,{children:e.text},r);return e.format&1&&(o=(0,nt.jsx)("strong",{children:o},r)),e.format&2&&(o=(0,nt.jsx)("em",{children:o},r)),e.format&4&&(o=(0,nt.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),e.format&8&&(o=(0,nt.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),e.format&16&&(o=(0,nt.jsx)("code",{children:e.text},r)),e.format&32&&(o=(0,nt.jsx)("sub",{children:o},r)),e.format&64&&(o=(0,nt.jsx)("sup",{children:o},r)),o}if(e.type==="table")return(0,nt.jsx)("table",{children:(0,nt.jsx)("tbody",{children:e.children.map((o,i)=>(0,nt.jsx)("tr",{children:o.children.map((s,l)=>(0,nt.jsx)("td",{children:xe({nodes:s.children})},l))},i))})},r);let n=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let i of o.children)"checked"in i&&(i!=null&&i.checked||(i.checked=!1));return xe({nodes:o.children})},a="children"in e?n(e):"";if(e.type==="block"){let o=e.fields,i=o==null?void 0:o.blockType;if(!o||!i)return null;switch(i){case"cta":return(0,nt.jsx)(ce,{...o},r);case"mediaBlock":return(0,nt.jsx)(Q,{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,nt.jsx)(ht,{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,nt.jsx)(at,{className:"col-start-2 mb-4",...o},r);case"code":return(0,nt.jsx)(dt,{className:"col-start-2",...o},r);case"features":return(0,nt.jsx)(le,{...o,nested:!0},r);case"reusableContentBlock":xe({nodes:o.reusableContent.layout});default:return null}}else switch(e.type){case"linebreak":return(0,nt.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,nt.jsx)("p",{className:"col-start-2",children:a},r);case"heading":{let o=e==null?void 0:e.tag;return(0,nt.jsx)(o,{className:"col-start-2",id:(e==null?void 0:e.id)||"",children:a},r)}case"list":{let o=e==null?void 0:e.tag;return(0,nt.jsx)(o,{className:"list col-start-2",children:a},r)}case"listitem":return(e==null?void 0:e.checked)!=null?(0,nt.jsx)("li",{"aria-checked":e.checked?"true":"false",className:` ${e.checked,""}`,role:"checkbox",tabIndex:-1,value:e==null?void 0:e.value,children:a},r):(0,nt.jsx)("li",{value:e==null?void 0:e.value,children:a},r);case"quote":return(0,nt.jsx)("blockquote",{className:"col-start-2",children:a},r);case"link":{let o=e.fields;return(0,nt.jsx)(re,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:a},r)}case"autolink":{let o=e.fields;return(0,nt.jsx)(re,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:a},r)}default:return null}})})}var S=({className:t,content:e,enableGutter:r=!0,enableProse:n=!0})=>{var a;return e?(0,nt.jsx)("div",{className:d({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":n},t),children:e&&!Array.isArray(e)&&typeof e=="object"&&"root"in e&&xe({nodes:(a=e==null?void 0:e.root)==null?void 0:a.children})}):null};var ce=({links:t,richText:e})=>(0,nt.jsx)("div",{className:"container",children:(0,nt.jsxs)("div",{className:"bg-card rounded border-border border p-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,nt.jsx)("div",{className:"max-w-[48rem] flex items-center",children:e&&(0,nt.jsx)(S,{className:"mb-0",content:e,enableGutter:!1})}),(0,nt.jsx)("div",{className:"flex flex-col gap-8",children:(t||[]).map(({link:r},n)=>(0,nt.jsx)(re,{size:"lg",...r},n))})]})});var Re=t=>{var s;let{columns:e,theme:r}=t,n={full:"12",half:"6",oneThird:"4",twoThirds:"8"},a={none:"",line:"border border-primary p-4 rounded-lg"},o=l=>{if(l.type&&l.type==="block"&&l.fields&&(l.fields.blockType==="imageBlock"||l.fields.blockType==="mediaBlock"))return!0;if(l.root&&l.root.children){for(let c of l.root.children)if(o(c))return!0}if(l.children){for(let c of l.children)if(o(c))return!0}return!1},i=(l,c,m)=>{if(c==="none"||m==="full")return{processedRichText:l,heading:null};let g=l,p=null;return l&&l.root&&l.root.children&&l.root.children[0].tag==="h2"&&(g={...l,root:{...l.root,children:l.root.children.slice(1)}},p=l.root.children[0]),{processedRichText:g,heading:p}};return(0,nt.jsx)("div",{className:"container my-6",children:(0,nt.jsx)("div",{className:d("grid grid-cols-4 lg:grid-cols-12 gap-y-8",(s=r==null?void 0:r.settings)!=null&&s.box?"gap-nt-8":"gap-nt-16"),children:e&&e.length>0&&e.map((l,c)=>{var v,N;let{enableLink:m,link:g,richText:p,size:w}=l,{processedRichText:h,heading:y}=i(p,((v=r==null?void 0:r.settings)==null?void 0:v.box)||"none",w||"full");return(0,nt.jsxs)("div",{className:d(`col-span-4 lg:col-span-${n[w]}`,{"md:col-span-2":w!=="full"},a[w!=="full"&&!o(p)&&((N=r==null?void 0:r.settings)==null?void 0:N.box)||"none"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${c+1}00`),children:[y&&(0,nt.jsx)("div",{className:"bg-primary text-primary-foreground mb-4 -mt-4 -mx-4 px-4 py-2 text-xl",children:y.children[0].text}),h&&(0,nt.jsx)(S,{content:h,enableGutter:!1,className:"rich-text"}),m&&(0,nt.jsx)(re,{...g})]},c)})})})};var Nt=t=>{let{customId:e,reusableContent:r}=t;return typeof r=="object"&&r!==null?(0,nt.jsx)(wr,{blocks:r.layout}):(0,nt.jsx)(nt.Fragment,{})},Ct={content:Re,cta:ce,mediaBlock:Q,imageBlock:Q,features:le},wr=t=>{let{blocks:e}=t;return e&&Array.isArray(e)&&e.length>0?(0,nt.jsx)("section",{id:"render-blocks",children:e.map((n,a)=>{var s,l;let{blockType:o}=n,i=n==null?void 0:n.theme;if(o&&o in Ct){let c=Ct[o];if(c)return(0,nt.jsx)("div",{className:"py-6 relative",children:(0,nt.jsx)("div",{className:d(((s=i==null?void 0:i.settings)==null?void 0:s.theme)==="dark"?"dark":((l=i==null?void 0:i.settings)==null?void 0:l.theme)==="green"?"green":""),children:(0,nt.jsx)(c,{...n})})},a)}return null})}):null};var Pt={content:Re,cta:ce,mediaBlock:Q,imageBlock:Q,features:le,reusableContentBlock:Nt},Ue=t=>{let{blocks:e}=t;return e&&Array.isArray(e)&&e.length>0?(0,nt.jsx)("section",{id:"render-blocks",className:d(t.fill?"h-full w-full":""),children:e.map((n,a)=>{var s,l;let{blockType:o}=n,i=n==null?void 0:n.theme;if(o&&o in Pt){let c=Pt[o];if(c)return(0,nt.jsxs)("div",{className:d("py-6 relative",t.fill&&"flex h-full items-center justify-center"),children:[(0,nt.jsx)(vr,{block:n,index:a}),(0,nt.jsx)("div",{className:d("container h-full",((s=i==null?void 0:i.settings)==null?void 0:s.theme)==="dark"?"dark":((l=i==null?void 0:i.settings)==null?void 0:l.theme)==="green"?"green":""),children:(0,nt.jsx)(c,{...n})})]},a)}return null})}):null},vr=t=>{var r,n,a,o,i;if(!("theme"in t.block))return null;let e=(r=t.block)==null?void 0:r.theme;if(e.settings.background==="image"){let s={imagePosition:e.settings.imagePosition||"left",overlay:e.settings.overlay!==void 0?e.settings.overlay:!0};return(0,nt.jsxs)("div",{className:d("absolute inset-0 w-full h-full -nt-10",e.settings.theme==="dark"?"dark bg-background":e.settings.theme==="green"?"green bg-background":""),children:[(0,nt.jsx)(Bt.default,{src:((a=(n=e.settings)==null?void 0:n.image)==null?void 0:a.url)||"/placeholder.svg",alt:((i=(o=e.settings)==null?void 0:o.image)==null?void 0:i.alt)||"",fill:!0,className:"object-cover",priority:!0}),e.settings.overlay&&(0,nt.jsx)("div",{className:"absolute inset-0",style:{background:s.imagePosition==="left"?"linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)":"linear-gradient(-90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)"}})]})}return(0,nt.jsx)("div",{className:d("absolute inset-0 -nt-10 w-screen h-full",e.settings.theme==="dark"?"dark bg-background":e.settings.theme==="green"?"green bg-background":"")})};var Rt="../../hero-3-N2CBGEV6.jpg";var Le=ee(require("next/image"));var He=({title:t})=>(0,nt.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,nt.jsx)("div",{className:"container",children:(0,nt.jsx)("span",{className:"container text-4xl px-6",children:t})})}),Oe=t=>{var n,a;let{title:e,hero:r}=t;return(0,nt.jsxs)("div",{className:"relative w-full h-full flex flex-col justify-center min-h-[500px] p-10",children:[(0,nt.jsx)("div",{className:"absolute inset-0",children:(0,nt.jsx)(Le.default,{src:r.media?r.media.url:Rt,alt:"Background",width:r.media&&r.media.width&&(n=r.media.width)!=null?n:1920,height:r.media&&r.media.height&&(a=r.media.height)!=null?a:1080,style:{objectFit:"cover"},className:"opacity-80 h-full dark:opacity-60"})}),(0,nt.jsx)("div",{className:"absolute left-16 nt-50 top-4 flex flex-col items-start gap-4",children:ye&&(0,nt.jsx)("div",{className:"h-24",children:(0,nt.jsx)(Le.default,{src:ye,alt:"Company logo",className:"h-full w-full object-contain",width:192,height:96})})}),(0,nt.jsx)("div",{className:"absolute inset-0 bg-black/30 dark:bg-black/50"}),(0,nt.jsxs)("div",{className:"relative pl-24 nt-10 max-w-3xl",children:[(0,nt.jsx)("p",{className:"text-lg font-medium text-accent mb-2",children:e}),r.richText&&(0,nt.jsx)(S,{content:r.richText,enableGutter:!1,className:"prose-headings:text-white prose-p:text-white"})]})]})};var At=ee(require("html2canvas")),_e=require("jspdf");function Cr(t){var e=document.createElement("div");e.style.display="block",e.style.height=t,document.body.appendChild(e);var r=parseFloat(window.getComputedStyle(e,null).height);return e.parentNode&&e.parentNode.removeChild(e),Math.floor(r)}var Nr=({page:t,layout:e="portrait"})=>e==="flow"?(0,nt.jsx)(Tt,{page:t,layout:e}):(0,nt.jsx)(It,{page:t,layout:e}),Tt=({page:t,layout:e="portrait"})=>{let{contentWithIds:r}=Se(t),n={id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}},a=async()=>{o("printable-content")},o=async s=>{let l=document.getElementById(s);if(!l)throw new Error(`Element with id ${s} not found`);let c=document.createElement("canvas"),m=window.devicePixelRatio;c.width=Math.max(l.clientWidth||0)*m,c.height=Math.max(l.clientHeight||0)*m+100;let g=c.getContext("2d");if(!g)throw new Error("Failed to get 2D context");let p=g.drawImage,w=Array.from(l.getElementsByTagName("img")).reduce((X,I)=>(X[I.src]=I,X),{});g.drawImage=function(...X){let[I,oe,ne,b,M,Z,me,E,j]=X;if(I instanceof HTMLImageElement){let ue=w[I.src].style.objectFit||"fill",K=w[I.src].style.objectPosition||"center center";M=I.height,b=I.width;let $=b/M,T=E/j,[ge,ae]=K.split(" ");switch(ae||(ae=ge),ue){case"cover":if($>T){let B=M*T,R=(b-B)/2;ge==="left"&&(R=0),ge==="right"&&(R=b-B),oe+=R,b=B}else{let B=b/T,R=(M-B)/2;ae==="top"&&(R=0),ae==="bottom"&&(R=M-B),ne+=R,M=B}break;case"contain":if($>T){let B=E/$,R=(j-B)/2;ae==="top"&&(R=0),ae==="bottom"&&(R=j-B),me+=R,j=B}else{let B=j*$,R=(E-B)/2;ge==="left"&&(R=0),ge==="right"&&(R=E-B),Z+=R,E=B}break;case"fill":break}}return p.call(g,I,oe,ne,b,M,Z,me,E,j)};let h=document.getElementById(s);if(!h)throw new Error(`Element with id ${s} not found`);var y=c.width,v=c.height;let P=(await(0,At.default)(h,{canvas:c,windowHeight:v,windowWidth:y,scale:window.devicePixelRatio})).toDataURL("image/png"),F=new _e.jsPDF({}).getImageProperties(P),_=297,de=_*(F.height/F.width),pe=new _e.jsPDF({unit:"mm",format:[_,de]});pe.addImage(P,"PNG",0,0,_,de),pe.save("print.pdf")},i=[n,...r];return(0,nt.jsxs)("div",{className:"w-[297mm]",children:[(0,nt.jsx)("div",{className:"fixed top-20 right-4 nt-[1000] print:hidden",children:(0,nt.jsx)(G,{onClick:a,variant:"outline",className:"px-5 py-2 text-sm font-semibold",children:"Print to PDF"})}),(0,nt.jsxs)("div",{id:"printable-content",children:[i.map((s,l)=>(0,nt.jsx)(nt.Fragment,{children:l===0?(0,nt.jsx)("section",{className:"title-page w-full h-full",children:(0,nt.jsx)(Oe,{hero:t.hero,title:t.title})},l):(0,nt.jsxs)("section",{className:"normal-page",children:[s.blockName&&(0,nt.jsx)(He,{title:s.blockName}),(0,nt.jsx)(Ue,{blocks:[s],fill:!0})]},l)})),(0,nt.jsx)("section",{className:"normal-page",children:(0,nt.jsxs)("div",{className:`w-full py-2 px-8 flex justify-between items-center
|
|
5
|
+
dark bg-background text-primary`,children:[(0,nt.jsxs)("div",{className:"flex px-6 items-center space-nt-2",children:[(0,nt.jsx)("img",{src:ye.src,alt:"Cortex Reply Logo",className:"h-8"}),(0,nt.jsx)("span",{className:"pl-12 text-sm",children:"Power up your people"})]}),(0,nt.jsx)("a",{href:"https://cortexreply.com",className:"text-sm hover:underline",children:"cortexreply.com"})]})})]})]})},It=({page:t,layout:e="portrait"})=>{let{contentWithIds:r}=Se(t),n=(0,D.useRef)(null),a=(0,D.useRef)(null),o=(0,D.useRef)(new We.Previewer),[i,s]=(0,D.useState)(0),c=[{id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}},...r],m=(0,D.useCallback)(()=>{n.current&&(n.current&&(n.current.innerHTML=""),o.current.preview(document.getElementById("printable-content").innerHTML,["./print.css",e==="landscape"?"./landscape.css":"./portrait.css"],n.current).then(p=>s(p.pageCount)).catch(p=>console.error("Paged.js error:",p)))},[]);return(0,D.useEffect)(()=>{o.current=new We.Previewer,m()},[m]),(0,nt.jsxs)("div",{className:"pagedjs-container",children:[(0,nt.jsx)("div",{className:"fixed top-20 right-4 nt-[1000] print:hidden",children:(0,nt.jsx)(G,{onClick:async()=>{await new Promise(p=>setTimeout(p,300)),window.print()},variant:"outline",className:"px-5 py-2 text-sm font-semibold",children:"Print to PDF"})}),(0,nt.jsx)("div",{id:"printable-content",ref:a,style:{display:"block"},className:"pagedjs-content",children:c.map((p,w)=>{var h,y;return(0,nt.jsx)(nt.Fragment,{children:w===0?(0,nt.jsx)("section",{className:"pagedjs-section title-page w-full h-full",children:(0,nt.jsx)(Oe,{hero:t.hero,title:t.title})},w):(0,nt.jsxs)("section",{className:d("pagedjs-section normal-page h-[699px]",`h-[${Cr("185mm")}px]`,((y=(h=p.theme)==null?void 0:h.settings)==null?void 0:y.theme)==="dark"?"dark":"light"),children:[p.blockName&&(0,nt.jsx)(He,{title:p.blockName}),(0,nt.jsx)(Ue,{blocks:[p],fill:!0})]},w)})})}),(0,nt.jsx)("div",{ref:n,className:"preview-container"})]})};0&&(module.exports={FlowPrintable,PagePrintable,Printable});
|