cortex-react-components 1.53.18 → 1.53.19
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-TZE7RZAV.mjs → chunk-3BBZH3T3.mjs} +1 -1
- package/dist/{chunk-ZODTQZTN.mjs → chunk-3PTHLA3K.mjs} +1 -1
- package/dist/{chunk-IQ7LAP7P.mjs → chunk-4TCLIMFP.mjs} +1 -1
- package/dist/{chunk-F7BI5FYX.mjs → chunk-5J5WPYIM.mjs} +1 -1
- package/dist/chunk-5TMU7KTC.mjs +2 -0
- package/dist/{chunk-BRFSZTQJ.mjs → chunk-6YWAX7NS.mjs} +1 -1
- package/dist/{chunk-LCJZMDQF.mjs → chunk-7WSF7CDA.mjs} +1 -1
- package/dist/{chunk-XMTEY7XQ.mjs → chunk-ANAWSXMS.mjs} +1 -1
- package/dist/{chunk-NFLAGBIE.mjs → chunk-CM5OUS2S.mjs} +1 -1
- package/dist/{chunk-OGKJF5LR.mjs → chunk-CSNKYRV5.mjs} +1 -1
- package/dist/{chunk-D7A7EUEW.mjs → chunk-DFB6DJCW.mjs} +1 -1
- package/dist/{chunk-GZLUDIN3.mjs → chunk-E6MYDQ3V.mjs} +1 -1
- package/dist/{chunk-RQ23CZK5.mjs → chunk-F55C2C5H.mjs} +1 -1
- package/dist/chunk-FUJT4M2J.mjs +5 -0
- package/dist/{chunk-FK6Y5G5N.mjs → chunk-GF62H2LB.mjs} +1 -1
- package/dist/{chunk-VCC562W2.mjs → chunk-HFN2NHXV.mjs} +1 -1
- package/dist/{chunk-OLKBLOEH.mjs → chunk-I6OTINHS.mjs} +1 -1
- package/dist/{chunk-WV4NLWRU.mjs → chunk-ICM6QD7O.mjs} +1 -1
- package/dist/{chunk-LLJZRF3C.mjs → chunk-KLCZHZKQ.mjs} +1 -1
- package/dist/{chunk-65KP55SA.mjs → chunk-KXGA6R7U.mjs} +1 -1
- package/dist/chunk-L4FTRAKV.mjs +4 -0
- package/dist/{chunk-GFX7ISZC.mjs → chunk-LY5LYSJP.mjs} +1 -1
- package/dist/{chunk-XRSFJHOZ.mjs → chunk-NO4A4H5A.mjs} +1 -1
- package/dist/{chunk-XDFXEM2U.mjs → chunk-O6CPA4ET.mjs} +1 -1
- package/dist/{chunk-4MQV5KBS.mjs → chunk-OJPHYSRN.mjs} +1 -1
- package/dist/chunk-PIM2JQYT.mjs +1 -0
- package/dist/{chunk-TATBOD3E.mjs → chunk-PYOE47AG.mjs} +1 -1
- package/dist/{chunk-2QVJBFPH.mjs → chunk-QFWNMI4Q.mjs} +1 -1
- package/dist/chunk-RHGDR5Z3.mjs +1 -0
- package/dist/{chunk-QSIJJSKA.mjs → chunk-S3LKALPI.mjs} +1 -1
- package/dist/{chunk-HDVYZQKY.mjs → chunk-SWROLJQ7.mjs} +1 -1
- package/dist/{chunk-TTY5DT75.mjs → chunk-TOO2CCBL.mjs} +1 -1
- package/dist/chunk-VP6NKH2R.mjs +1 -0
- package/dist/{chunk-BRYLOPR4.mjs → chunk-WXN6BK2F.mjs} +1 -1
- package/dist/{chunk-DHLQCOMJ.mjs → chunk-YJMQPBXM.mjs} +1 -1
- package/dist/chunk-ZL6WMZEV.mjs +4 -0
- package/dist/components/Blocks/Banner.mjs +1 -1
- package/dist/components/Blocks/CallToAction.mjs +1 -1
- package/dist/components/Blocks/CallToAction.stories.mjs +1 -1
- package/dist/components/Blocks/Content.mjs +1 -1
- package/dist/components/Blocks/Content.stories.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
- package/dist/components/Blocks/RelatedPosts.mjs +1 -1
- package/dist/components/Blocks/RenderBlocks.mjs +1 -1
- package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/CRM/DealDetails.js +1 -1
- package/dist/components/CRM/DealDetails.mjs +1 -1
- package/dist/components/CRM/DealDetails.stories.js +1 -1
- package/dist/components/CRM/DealDetails.stories.mjs +1 -1
- package/dist/components/CRM/KanbanBoard.js +1 -1
- package/dist/components/CRM/KanbanBoard.mjs +1 -1
- package/dist/components/CRM/KanbanBoard.stories.js +1 -1
- package/dist/components/CRM/KanbanBoard.stories.mjs +1 -1
- package/dist/components/CRM/KanbanColumn.js +1 -1
- package/dist/components/CRM/KanbanColumn.mjs +1 -1
- package/dist/components/CRM/KanbanColumn.stories.js +1 -1
- package/dist/components/CRM/KanbanColumn.stories.mjs +1 -1
- package/dist/components/CRM/NewDealForm.js +1 -1
- package/dist/components/CRM/NewDealForm.mjs +1 -1
- package/dist/components/CRM/NewDealForm.stories.js +1 -1
- package/dist/components/CRM/NewDealForm.stories.mjs +1 -1
- package/dist/components/CRM/index.js +1 -1
- package/dist/components/CRM/index.mjs +1 -1
- package/dist/components/Cards/ContentCard.mjs +1 -1
- package/dist/components/Cards/ContentCard.stories.mjs +1 -1
- package/dist/components/Cards/FeatureCard.js +1 -1
- package/dist/components/Cards/FeatureCard.mjs +1 -1
- package/dist/components/Cards/FeatureCard.stories.js +1 -1
- package/dist/components/Cards/FeatureCard.stories.mjs +1 -1
- package/dist/components/Cards/index.js +1 -1
- 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/Header.mjs +1 -1
- package/dist/components/HeaderFooter/Header.stories.mjs +1 -1
- package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
- package/dist/components/HeaderFooter/index.mjs +1 -1
- package/dist/components/Heros/HighImpact/index.mjs +1 -1
- package/dist/components/Heros/LowImpact/index.mjs +1 -1
- package/dist/components/Heros/MediumImpact/index.mjs +1 -1
- package/dist/components/Heros/PostHero/index.mjs +1 -1
- package/dist/components/Heros/RenderHero.mjs +1 -1
- package/dist/components/Heros/SectionHero/index.mjs +1 -1
- package/dist/components/Heros/index.mjs +1 -1
- package/dist/components/Holidays/HolidayTracker.mjs +1 -1
- package/dist/components/Holidays/HolidayTracker.stories.mjs +1 -1
- package/dist/components/Holidays/index.mjs +1 -1
- package/dist/components/Layouts/FeatureGrid.stories.js +1 -1
- package/dist/components/Layouts/FeatureGrid.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 +1 -1
- 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 +1 -1
- package/dist/components/Layouts/SlideShow.mjs +1 -1
- package/dist/components/Layouts/SlideShow.stories.js +1 -1
- package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
- package/dist/components/Layouts/index.js +4 -4
- package/dist/components/Layouts/index.mjs +1 -1
- package/dist/components/Payload/RichText/index.mjs +1 -1
- package/dist/components/Payload/RichText/serialize.mjs +1 -1
- package/dist/components/Payload/RichText.stories.mjs +1 -1
- package/dist/components/Payload/index.mjs +1 -1
- package/dist/components/index.js +5 -5
- package/dist/components/index.mjs +1 -1
- package/dist/components/ui/index.mjs +1 -1
- package/dist/globals.css +1 -1
- package/dist/hooks/index.mjs +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.mjs +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.js +1 -1
- package/dist/pages/LandingPage.mjs +1 -1
- package/dist/pages/LandingPage.stories.js +1 -1
- package/dist/pages/LandingPage.stories.mjs +1 -1
- package/dist/pages/Page.mjs +1 -1
- package/dist/pages/Page.stories.mjs +1 -1
- package/dist/pages/Printable.stories.js +4 -4
- package/dist/pages/Printable.stories.mjs +1 -1
- package/dist/pages/Publish.js +4 -4
- package/dist/pages/Publish.mjs +1 -1
- package/dist/pages/Publish.stories.js +4 -4
- 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 -1
- package/dist/pages/Website.stories.mjs +1 -1
- package/dist/sections/AboutSection.mjs +1 -1
- package/dist/sections/AboutSection.stories.mjs +1 -1
- package/dist/sections/BlogDetail.mjs +1 -1
- package/dist/sections/BlogDetail.stories.mjs +1 -1
- package/dist/sections/BlogList.js +1 -1
- package/dist/sections/BlogList.mjs +1 -1
- package/dist/sections/BlogList.stories.js +1 -1
- package/dist/sections/BlogList.stories.mjs +1 -1
- package/dist/sections/BlogListSection.mjs +1 -1
- package/dist/sections/BlogListSection.stories.mjs +1 -1
- package/dist/sections/ContactSection.mjs +1 -1
- package/dist/sections/ContactSection.stories.mjs +1 -1
- package/dist/sections/ImageSection.stories.mjs +1 -1
- package/dist/sections/MainPageSection.js +1 -1
- package/dist/sections/MainPageSection.mjs +1 -1
- package/dist/sections/PageSections.js +1 -1
- package/dist/sections/PageSections.mjs +1 -1
- package/dist/sections/PageSections.stories.js +3 -3
- package/dist/sections/PageSections.stories.mjs +1 -1
- package/dist/sections/PricingSection.mjs +1 -1
- package/dist/sections/PricingSection.stories.mjs +1 -1
- package/dist/sections/ServiceDetailSection.mjs +1 -1
- package/dist/sections/ServiceDetailSection.stories.mjs +1 -1
- package/dist/sections/ServiceSection.js +1 -1
- package/dist/sections/ServiceSection.mjs +1 -1
- package/dist/sections/ServiceSection.stories.js +1 -1
- package/dist/sections/ServiceSection.stories.mjs +1 -1
- package/dist/sections/index.js +1 -1
- package/dist/sections/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-2GAB2DAK.mjs +0 -5
- package/dist/chunk-6ZTACGHK.mjs +0 -4
- package/dist/chunk-G5HD4IFA.mjs +0 -1
- package/dist/chunk-KDC7QCYU.mjs +0 -4
- package/dist/chunk-KQ3VIRWA.mjs +0 -1
- package/dist/chunk-ST57SBGX.mjs +0 -1
- package/dist/chunk-TUFJTJCO.mjs +0 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
"use client";import{a as o}from"../../chunk-
|
|
4
|
+
"use client";import{a as o}from"../../chunk-KXGA6R7U.mjs";import"../../chunk-5TMU7KTC.mjs";import"../../chunk-NRL4U42W.mjs";import"../../chunk-AUBKJ4XO.mjs";import"../../chunk-ZIWHUQ4D.mjs";import"../../chunk-6YV7RK6Q.mjs";import"../../chunk-6LKCK2EH.mjs";import"../../chunk-6HFYLEVF.mjs";import"../../chunk-SWROLJQ7.mjs";import"../../chunk-MGS3DQ22.mjs";import"../../chunk-EPTHSTUM.mjs";import"../../chunk-UZ2XYB7D.mjs";import"../../chunk-53QLSQCO.mjs";import"../../chunk-JCH2CCQ7.mjs";import"../../chunk-2LJVMEWU.mjs";import"../../chunk-KPIWBWE2.mjs";import"../../chunk-6P7CY367.mjs";import"../../chunk-HFN2NHXV.mjs";import"../../chunk-YJMQPBXM.mjs";import"../../chunk-VP6NKH2R.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-44VMK4FL.mjs";import"../../chunk-M6M43TLT.mjs";import"../../chunk-FGWIT6CV.mjs";import"../../chunk-OI2YT2ZF.mjs";import"../../chunk-EY5QX73B.mjs";import"../../chunk-YCX5N23N.mjs";import"../../chunk-2A6JF3LE.mjs";import"../../chunk-4YJ3HV64.mjs";import"../../chunk-FCCL6W7R.mjs";import"../../chunk-WLBZXBU3.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-2NFKSNJW.mjs";import"../../chunk-FI4SMRAR.mjs";import"../../chunk-5IQPAE6K.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-H7D3PZKE.mjs";import"../../chunk-IQPZEEYJ.mjs";import"../../chunk-Y2KKUQDU.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-VZXLXNVY.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-S7OK7D5I.mjs";var t={title:"Layouts/SlideShow",component:o,tags:["autodocs"],argTypes:{}},i=t,r={args:{sections:[{id:"section1",title:"Section 1",color:"bg-red-500"},{id:"section2",title:"Section 2",color:"bg-blue-500"},{id:"section3",title:"Section 3",color:"bg-green-500"},{id:"section4",title:"Section 4",color:"bg-yellow-500"}]}};export{r as Primary,i as default};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
"use strict";var Ht=Object.create;var ya=Object.defineProperty;var Ut=Object.getOwnPropertyDescriptor;var jt=Object.getOwnPropertyNames;var Wt=Object.getPrototypeOf,Ot=Object.prototype.hasOwnProperty;var $t=(t,a)=>{for(var o in a)ya(t,o,{get:a[o],enumerable:!0})},Va=(t,a,o,s)=>{if(a&&typeof a=="object"||typeof a=="function")for(let r of jt(a))!Ot.call(t,r)&&r!==o&&ya(t,r,{get:()=>a[r],enumerable:!(s=Ut(a,r))||s.enumerable});return t};var U=(t,a,o)=>(o=t!=null?Ht(Wt(t)):{},Va(a||!t||!t.__esModule?ya(o,"default",{value:t,enumerable:!0}):o,t)),qt=t=>Va(ya({},"__esModule",{value:!0}),t);var zo={};$t(zo,{FeatureGrid:()=>Qa,FlowPrintable:()=>Lt,NewsGrid:()=>Ft,PagePrintable:()=>Gt,Printable:()=>So,SlideShow:()=>zt,TextAndImages:()=>Dt});module.exports=qt(zo);var Ya=require("react/jsx-runtime"),Qa=({children:t,cardsPerRow:a=3})=>{let o=`repeat(${a}, minmax(0, 1fr))`;return(0,Ya.jsx)("div",{className:"grid gap-6",style:{gridTemplateColumns:o},children:t})};var oa=require("react");var Pa=({type:t="solid",iconName:a="cloud",size:o="lg",className:s})=>{let r=t.includes("fa-")?t+" ":"fa-"+t+" ",e="fa-"+a,n=s!=null?s:"",d=r+e+" fa-"+o+" "+n;return(0,Ya.jsx)("i",{className:d})};var st=require("clsx");var Ta="-",Vt=t=>{let a=Yt(t),{conflictingClassGroups:o,conflictingClassGroupModifiers:s}=t;return{getClassGroupId:n=>{let d=n.split(Ta);return d[0]===""&&d.length!==1&&d.shift(),Xa(d,a)||Qt(n)},getConflictingClassGroupIds:(n,d)=>{let i=o[n]||[];return d&&s[n]?[...i,...s[n]]:i}}},Xa=(t,a)=>{var n;if(t.length===0)return a.classGroupId;let o=t[0],s=a.nextPart.get(o),r=s?Xa(t.slice(1),s):void 0;if(r)return r;if(a.validators.length===0)return;let e=t.join(Ta);return(n=a.validators.find(({validator:d})=>d(e)))==null?void 0:n.classGroupId},_a=/^\[(.+)\]$/,Qt=t=>{if(_a.test(t)){let a=_a.exec(t)[1],o=a==null?void 0:a.substring(0,a.indexOf(":"));if(o)return"arbitrary.."+o}},Yt=t=>{let{theme:a,prefix:o}=t,s={nextPart:new Map,validators:[]};return _t(Object.entries(t.classGroups),o).forEach(([e,n])=>{Ra(n,s,e,a)}),s},Ra=(t,a,o,s)=>{t.forEach(r=>{if(typeof r=="string"){let e=r===""?a:Ka(a,r);e.classGroupId=o;return}if(typeof r=="function"){if(Jt(r)){Ra(r(s),a,o,s);return}a.validators.push({validator:r,classGroupId:o});return}Object.entries(r).forEach(([e,n])=>{Ra(n,Ka(a,e),o,s)})})},Ka=(t,a)=>{let o=t;return a.split(Ta).forEach(s=>{o.nextPart.has(s)||o.nextPart.set(s,{nextPart:new Map,validators:[]}),o=o.nextPart.get(s)}),o},Jt=t=>t.isThemeGetter,_t=(t,a)=>a?t.map(([o,s])=>{let r=s.map(e=>typeof e=="string"?a+e:typeof e=="object"?Object.fromEntries(Object.entries(e).map(([n,d])=>[a+n,d])):e);return[o,r]}):t,Kt=t=>{if(t<1)return{get:()=>{},set:()=>{}};let a=0,o=new Map,s=new Map,r=(e,n)=>{o.set(e,n),a++,a>t&&(a=0,s=o,o=new Map)};return{get(e){let n=o.get(e);if(n!==void 0)return n;if((n=s.get(e))!==void 0)return r(e,n),n},set(e,n){o.has(e)?o.set(e,n):r(e,n)}}},Za="!",Xt=t=>{let{separator:a,experimentalParseClassName:o}=t,s=a.length===1,r=a[0],e=a.length,n=d=>{let i=[],m=0,l=0,c;for(let f=0;f<d.length;f++){let w=d[f];if(m===0){if(w===r&&(s||d.slice(f,f+e)===a)){i.push(d.slice(l,f)),l=f+e;continue}if(w==="/"){c=f;continue}}w==="["?m++:w==="]"&&m--}let g=i.length===0?d:d.substring(l),k=g.startsWith(Za),x=k?g.substring(1):g,p=c&&c>l?c-l:void 0;return{modifiers:i,hasImportantModifier:k,baseClassName:x,maybePostfixModifierPosition:p}};return o?d=>o({className:d,parseClassName:n}):n},Zt=t=>{if(t.length<=1)return t;let a=[],o=[];return t.forEach(s=>{s[0]==="["?(a.push(...o.sort(),s),o=[]):o.push(s)}),a.push(...o.sort()),a},ao=t=>({cache:Kt(t.cacheSize),parseClassName:Xt(t),...Vt(t)}),to=/\s+/,oo=(t,a)=>{let{parseClassName:o,getClassGroupId:s,getConflictingClassGroupIds:r}=a,e=[],n=t.trim().split(to),d="";for(let i=n.length-1;i>=0;i-=1){let m=n[i],{modifiers:l,hasImportantModifier:c,baseClassName:g,maybePostfixModifierPosition:k}=o(m),x=!!k,p=s(x?g.substring(0,k):g);if(!p){if(!x){d=m+(d.length>0?" "+d:d);continue}if(p=s(g),!p){d=m+(d.length>0?" "+d:d);continue}x=!1}let f=Zt(l).join(":"),w=c?f+Za:f,T=w+p;if(e.includes(T))continue;e.push(T);let H=r(p,x);for(let M=0;M<H.length;++M){let ma=H[M];e.push(w+ma)}d=m+(d.length>0?" "+d:d)}return d};function eo(){let t=0,a,o,s="";for(;t<arguments.length;)(a=arguments[t++])&&(o=at(a))&&(s&&(s+=" "),s+=o);return s}var at=t=>{if(typeof t=="string")return t;let a,o="";for(let s=0;s<t.length;s++)t[s]&&(a=at(t[s]))&&(o&&(o+=" "),o+=a);return o};function so(t,...a){let o,s,r,e=n;function n(i){let m=a.reduce((l,c)=>c(l),t());return o=ao(m),s=o.cache.get,r=o.cache.set,e=d,d(i)}function d(i){let m=s(i);if(m)return m;let l=oo(i,o);return r(i,l),l}return function(){return e(eo.apply(null,arguments))}}var C=t=>{let a=o=>o[t]||[];return a.isThemeGetter=!0,a},tt=/^\[(?:([a-Ya-]+):)?(.+)\]$/i,ro=/^\d+\/\d+$/,no=new Set(["px","full","screen"]),io=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,lo=/\d+(%|px|r?em|[sdl]?Ya([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|Ya|i|Ya|min|max))|\Ya(calc|min|max|clamp)\(.+\)|^0$/,co=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,mo=/^(inset_)?-?((\d+)?\.?(\d+)[a-Ya]+|0)_-?((\d+)?\.?(\d+)[a-Ya]+|0)/,uo=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,D=t=>_(t)||no.has(t)||ro.test(t),j=t=>K(t,"length",vo),_=t=>!!t&&!Number.isNaN(Number(t)),Ba=t=>K(t,"number",_),sa=t=>!!t&&Number.isInteger(Number(t)),po=t=>t.endsWith("%")&&_(t.slice(0,-1)),y=t=>tt.test(t),W=t=>io.test(t),yo=new Set(["length","size","percentage"]),go=t=>K(t,yo,ot),fo=t=>K(t,"position",ot),bo=new Set(["image","url"]),ho=t=>K(t,bo,ko),xo=t=>K(t,"",wo),ra=()=>!0,K=(t,a,o)=>{let s=tt.exec(t);return s?s[1]?typeof a=="string"?s[1]===a:a.has(s[1]):o(s[2]):!1},vo=t=>lo.test(t)&&!co.test(t),ot=()=>!1,wo=t=>mo.test(t),ko=t=>uo.test(t);var Co=()=>{let t=C("colors"),a=C("spacing"),o=C("blur"),s=C("brightness"),r=C("borderColor"),e=C("borderRadius"),n=C("borderSpacing"),d=C("borderWidth"),i=C("contrast"),m=C("grayscale"),l=C("hueRotate"),c=C("invert"),g=C("gap"),k=C("gradientColorStops"),x=C("gradientColorStopPositions"),p=C("inset"),f=C("margin"),w=C("opacity"),T=C("padding"),H=C("saturate"),M=C("scale"),ma=C("sepia"),Ha=C("skew"),Ua=C("space"),ja=C("translate"),ka=()=>["auto","contain","none"],Ca=()=>["auto","hidden","clip","visible","scroll"],Na=()=>["auto",y,a],A=()=>[y,a],Wa=()=>["",D,j],ua=()=>["auto",_,y],Oa=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],pa=()=>["solid","dashed","dotted","double","none"],$a=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Aa=()=>["start","end","center","between","around","evenly","stretch"],ea=()=>["","0",y],qa=()=>["auto","avoid","all","avoid-page","page","left","right","column"],F=()=>[_,y];return{cacheSize:500,separator:":",theme:{colors:[ra],spacing:[D,j],blur:["none","",W,y],brightness:F(),borderColor:[t],borderRadius:["none","","full",W,y],borderSpacing:A(),borderWidth:Wa(),contrast:F(),grayscale:ea(),hueRotate:F(),invert:ea(),gap:A(),gradientColorStops:[t],gradientColorStopPositions:[po,j],inset:Na(),margin:Na(),opacity:F(),padding:A(),saturate:F(),scale:F(),sepia:ea(),skew:F(),space:A(),translate:A()},classGroups:{aspect:[{aspect:["auto","square","video",y]}],container:["container"],columns:[{columns:[W]}],"break-after":[{"break-after":qa()}],"break-before":[{"break-before":qa()}],"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:[...Oa(),y]}],overflow:[{overflow:Ca()}],"overflow-x":[{"overflow-x":Ca()}],"overflow-y":[{"overflow-y":Ca()}],overscroll:[{overscroll:ka()}],"overscroll-x":[{"overscroll-x":ka()}],"overscroll-y":[{"overscroll-y":ka()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[p]}],"inset-x":[{"inset-x":[p]}],"inset-y":[{"inset-y":[p]}],start:[{start:[p]}],end:[{end:[p]}],top:[{top:[p]}],right:[{right:[p]}],bottom:[{bottom:[p]}],left:[{left:[p]}],visibility:["visible","invisible","collapse"],Ya:[{Ya:["auto",sa,y]}],basis:[{basis:Na()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",y]}],grow:[{grow:ea()}],shrink:[{shrink:ea()}],order:[{order:["first","last","none",sa,y]}],"grid-cols":[{"grid-cols":[ra]}],"col-start-end":[{col:["auto",{span:["full",sa,y]},y]}],"col-start":[{"col-start":ua()}],"col-end":[{"col-end":ua()}],"grid-rows":[{"grid-rows":[ra]}],"row-start-end":[{row:["auto",{span:[sa,y]},y]}],"row-start":[{"row-start":ua()}],"row-end":[{"row-end":ua()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",y]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",y]}],gap:[{gap:[g]}],"gap-x":[{"gap-x":[g]}],"gap-y":[{"gap-y":[g]}],"justify-content":[{justify:["normal",...Aa()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Aa(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Aa(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[T]}],px:[{px:[T]}],py:[{py:[T]}],ps:[{ps:[T]}],pe:[{pe:[T]}],pt:[{pt:[T]}],pr:[{pr:[T]}],pb:[{pb:[T]}],pl:[{pl:[T]}],m:[{m:[f]}],mx:[{mx:[f]}],my:[{my:[f]}],ms:[{ms:[f]}],me:[{me:[f]}],oa:[{oa:[f]}],mr:[{mr:[f]}],mb:[{mb:[f]}],ml:[{ml:[f]}],"space-x":[{"space-x":[Ua]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Ua]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",y,a]}],"min-w":[{"min-w":[y,a,"min","max","fit"]}],"max-w":[{"max-w":[y,a,"none","full","min","max","fit","prose",{screen:[W]},W]}],Ya:[{Ya:[y,a,"auto","min","max","fit","svh","lvh","dvh"]}],"min-Ya":[{"min-Ya":[y,a,"min","max","fit","svh","lvh","dvh"]}],"max-Ya":[{"max-Ya":[y,a,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[y,a,"auto","min","max","fit"]}],"font-size":[{text:["base",W,j]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Ba]}],"font-family":[{font:[ra]}],"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",y]}],"line-clamp":[{"line-clamp":["none",_,Ba]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",D,y]}],"list-image":[{"list-image":["none",y]}],"list-style-type":[{list:["none","disc","decimal",y]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[w]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[w]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...pa(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",D,j]}],"underline-offset":[{"underline-offset":["auto",D,y]}],"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:A()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",y]}],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",y]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[w]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Oa(),fo]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",go]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","Ya","bl","l","tl"]},ho]}],"bg-color":[{bg:[t]}],"gradient-from-pos":[{from:[x]}],"gradient-via-pos":[{via:[x]}],"gradient-to-pos":[{to:[x]}],"gradient-from":[{from:[k]}],"gradient-via":[{via:[k]}],"gradient-to":[{to:[k]}],rounded:[{rounded:[e]}],"rounded-s":[{"rounded-s":[e]}],"rounded-e":[{"rounded-e":[e]}],"rounded-t":[{"rounded-t":[e]}],"rounded-r":[{"rounded-r":[e]}],"rounded-Ya":[{"rounded-Ya":[e]}],"rounded-l":[{"rounded-l":[e]}],"rounded-ss":[{"rounded-ss":[e]}],"rounded-se":[{"rounded-se":[e]}],"rounded-ee":[{"rounded-ee":[e]}],"rounded-es":[{"rounded-es":[e]}],"rounded-tl":[{"rounded-tl":[e]}],"rounded-tr":[{"rounded-tr":[e]}],"rounded-br":[{"rounded-br":[e]}],"rounded-bl":[{"rounded-bl":[e]}],"border-w":[{border:[d]}],"border-w-x":[{"border-x":[d]}],"border-w-y":[{"border-y":[d]}],"border-w-s":[{"border-s":[d]}],"border-w-e":[{"border-e":[d]}],"border-w-t":[{"border-t":[d]}],"border-w-r":[{"border-r":[d]}],"border-w-Ya":[{"border-Ya":[d]}],"border-w-l":[{"border-l":[d]}],"border-opacity":[{"border-opacity":[w]}],"border-style":[{border:[...pa(),"hidden"]}],"divide-x":[{"divide-x":[d]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[d]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[w]}],"divide-style":[{divide:pa()}],"border-color":[{border:[r]}],"border-color-x":[{"border-x":[r]}],"border-color-y":[{"border-y":[r]}],"border-color-s":[{"border-s":[r]}],"border-color-e":[{"border-e":[r]}],"border-color-t":[{"border-t":[r]}],"border-color-r":[{"border-r":[r]}],"border-color-Ya":[{"border-Ya":[r]}],"border-color-l":[{"border-l":[r]}],"divide-color":[{divide:[r]}],"outline-style":[{outline:["",...pa()]}],"outline-offset":[{"outline-offset":[D,y]}],"outline-w":[{outline:[D,j]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:Wa()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[w]}],"ring-offset-w":[{"ring-offset":[D,j]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",W,xo]}],"shadow-color":[{shadow:[ra]}],opacity:[{opacity:[w]}],"mix-blend":[{"mix-blend":[...$a(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":$a()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[s]}],contrast:[{contrast:[i]}],"drop-shadow":[{"drop-shadow":["","none",W,y]}],grayscale:[{grayscale:[m]}],"hue-rotate":[{"hue-rotate":[l]}],invert:[{invert:[c]}],saturate:[{saturate:[H]}],sepia:[{sepia:[ma]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[s]}],"backdrop-contrast":[{"backdrop-contrast":[i]}],"backdrop-grayscale":[{"backdrop-grayscale":[m]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[l]}],"backdrop-invert":[{"backdrop-invert":[c]}],"backdrop-opacity":[{"backdrop-opacity":[w]}],"backdrop-saturate":[{"backdrop-saturate":[H]}],"backdrop-sepia":[{"backdrop-sepia":[ma]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[n]}],"border-spacing-x":[{"border-spacing-x":[n]}],"border-spacing-y":[{"border-spacing-y":[n]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",y]}],duration:[{duration:F()}],ease:[{ease:["linear","in","out","in-out",y]}],delay:[{delay:F()}],animate:[{animate:["none","spin","ping","pulse","bounce",y]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[M]}],"scale-x":[{"scale-x":[M]}],"scale-y":[{"scale-y":[M]}],rotate:[{rotate:[sa,y]}],"translate-x":[{"translate-x":[ja]}],"translate-y":[{"translate-y":[ja]}],"skew-x":[{"skew-x":[Ha]}],"skew-y":[{"skew-y":[Ha]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",y]}],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",y]}],"caret-color":[{caret:[t]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":A()}],"scroll-mx":[{"scroll-mx":A()}],"scroll-my":[{"scroll-my":A()}],"scroll-ms":[{"scroll-ms":A()}],"scroll-me":[{"scroll-me":A()}],"scroll-oa":[{"scroll-oa":A()}],"scroll-mr":[{"scroll-mr":A()}],"scroll-mb":[{"scroll-mb":A()}],"scroll-ml":[{"scroll-ml":A()}],"scroll-p":[{"scroll-p":A()}],"scroll-px":[{"scroll-px":A()}],"scroll-py":[{"scroll-py":A()}],"scroll-ps":[{"scroll-ps":A()}],"scroll-pe":[{"scroll-pe":A()}],"scroll-pt":[{"scroll-pt":A()}],"scroll-pr":[{"scroll-pr":A()}],"scroll-pb":[{"scroll-pb":A()}],"scroll-pl":[{"scroll-pl":A()}],"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",y]}],fill:[{fill:[t,"none"]}],"stroke-w":[{stroke:[D,j,Ba]}],stroke:[{stroke:[t,"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"],m:["mx","my","ms","me","oa","mr","mb","ml"],mx:["mr","ml"],my:["oa","mb"],size:["w","Ya"],"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-Ya","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-Ya":["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-Ya","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-Ya"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-Ya","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-Ya"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-oa","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-oa","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 et=so(Co);function u(...t){return et((0,st.clsx)(t))}function Ia(t){let a=0,o=(e,n)=>`${e.toLowerCase().replace(/\s+/g,"-").replace(/[^\w-]/g,"")}-${n}`,s=t.layout.flatMap(e=>{let n=[];return"title"in e&&e.title&&n.push({text:e.title,id:o(e.title,a++),tag:"h2"}),"columns"in e&&Array.isArray(e.columns)&&e.columns.forEach(d=>{var i,m,l,c,g;if(d.title&&n.push({text:d.title,id:o(d.title,a++),tag:"h2"}),(m=(i=d.richText)==null?void 0:i.root)!=null&&m.children&&((c=(l=d.richText)==null?void 0:l.root)==null?void 0:c.children.length)===1){let k=d.richText.root.children.filter(x=>x!==void 0&&x.type==="heading");for(let x of k)x.children[0]&&n.push({text:(g=x.children[0].text)!=null?g:"",id:o(x.children[0].text,a++),tag:x.tag||"h2"})}}),n}),r=No(t.layout);return{tableOfContents:s,contentWithIds:r}}function No(t){let a=(s,r)=>`${s.toLowerCase().replace(/\s+/g,"-").replace(/[^\w-]/g,"")}-${r}`,o=0;return t.map(s=>(s.title&&(s.id=a(s.title,o++)),s.columns&&(s.columns=s.columns.map(r=>(r.title&&(r.id=a(r.title,o++)),r.richText&&(r.richText.root.children=r.richText.root.children.filter(e=>e!==void 0).filter(e=>e.children!==void 0&&e.children.length>0).map(e=>(e.type==="heading"&&e.children[0].text&&(e.id=a(e.children[0].text,o++)),e))),r))),s))}var rt=({className:t,content:a,style:o})=>(0,Ya.jsx)("div",{className:u("mx-auto my-8 w-full",t),children:(0,Ya.jsx)("div",{className:u("border py-3 px-6 flex items-center rounded",{"border-border bg-card":o==="info","border-error bg-error/30":o==="error","border-success bg-success/30":o==="success","border-warning bg-warning/30":o==="warning"}),children:(0,Ya.jsx)(S,{content:a,enableGutter:!1,enableProse:!1})})});var nt=require("@radix-ui/react-slot"),dt=require("class-variance-authority"),it=U(require("react")),Ao=(0,dt.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:"Ya-10 px-4 py-2",icon:"Ya-10 w-10",lg:"Ya-11 rounded px-8",sm:"Ya-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"}}}),Q=it.forwardRef(({asChild:t=!1,className:a,size:o,variant:s,...r},e)=>(0,Ya.jsx)(t?nt.Slot:"button",{className:u(Ao({className:a,size:o,variant:s})),ref:e,...r}));Q.displayName="Button";var Sa=U(require("next/link")),Y=t=>{let{type:a,appearance:o="inline",children:s,className:r,label:e,newTab:n,reference:d,size:i,url:m}=t,l=a==="reference"&&typeof(d==null?void 0:d.value)=="object"&&d.value.slug?`${(d==null?void 0:d.relationTo)!=="pages"?`/${d==null?void 0:d.relationTo}`:""}/${d.value.slug}`:m;if(!l)return null;let c=o==="link"?"clear":i,g=n?{rel:"noopener noreferrer",target:"_blank"}:{};return o==="inline"?(0,Ya.jsxs)(Sa.default,{className:u(r),href:l||m||"",...g,children:[e&&e,s&&s]}):(0,Ya.jsx)(Q,{asChild:!0,className:r,size:c,variant:o,children:(0,Ya.jsxs)(Sa.default,{className:u(r),href:l||m||"",...g,children:[e&&e,s&&s]})})};var X=({links:t,richText:a})=>(0,Ya.jsx)("div",{className:"container",children:(0,Ya.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,Ya.jsx)("div",{className:"max-w-[48rem] flex items-center",children:a&&(0,Ya.jsx)(S,{className:"mb-0",content:a,enableGutter:!1})}),(0,Ya.jsx)("div",{className:"flex flex-col gap-8",children:(t||[]).map(({link:o},s)=>(0,Ya.jsx)(Y,{size:"lg",...o},s))})]})});var fa=require("prism-react-renderer");var ct=require("lucide-react");function ut({code:t}){let[a,o]=(0,oa.useState)("Copy");function s(){a==="Copy"&&(o(()=>"Copied!"),setTimeout(()=>{o(()=>"Copy")},1e3))}return(0,Ya.jsx)("div",{className:"flex justify-end align-middle",children:(0,Ya.jsxs)(Q,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(t),s()},children:[(0,Ya.jsx)("p",{children:a}),(0,Ya.jsx)("div",{className:"w-6 Ya-6 dark:invert",children:(0,Ya.jsx)(ct.ClipboardCopy,{})})]})})}var pt=({code:t,language:a=""})=>t?(0,Ya.jsx)(fa.Highlight,{code:t,language:a,theme:fa.themes.vsDark,children:({getLineProps:o,getTokenProps:s,tokens:r})=>(0,Ya.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[r.map((e,n)=>(0,Ya.jsxs)("div",{...o({className:"table-row",line:e}),children:[(0,Ya.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:n+1}),(0,Ya.jsx)("span",{className:"table-cell pl-4",children:e.map((d,i)=>(0,Ya.jsx)("span",{...s({token:d})},i))})]},n)),(0,Ya.jsx)(ut,{code:t})]})}):null;var yt=({className:t,code:a,language:o})=>(0,Ya.jsx)("div",{className:[t,"not-prose"].filter(Boolean).join(" "),children:(0,Ya.jsx)(pt,{code:a,language:o})});var ft=U(require("next/image")),Po={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},gt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAABchJREFUWEdtlwtTG0kMhHtGM7N+AAdcDsjj///EBLzenbtuadbLJaZUTlHB+tRqSesETB3IABqQG1KbUFqDlQorBSmboqeEBcC1d8zrCixXYGZcgMsFmH8B+AngHdurAmXKOE8nHOoBrU6opcGswPi5KSP9CcBaQ9kACJH/ALAA1xm4zMD8AczvQCcAQeJVAZsy7nYApTSUzwCHUKACeUJi9TsFci7AHmDtuHYqQIC9AgQYKnSwNAig4NyOOwXq/xU47gDYggarjIpsRSEA3Fqw7AGkwgW4fgALAdiC2btKgNZwbgdMbEFpqFR2UyCR8xwAhf8bUHIGk1ckMyB5C1YkeWAdAPQBAeiD6wVYPoD1HUgXwFagZAGc6oSpTmilopoD5GzISQD3odcNIFca0BUQQM5YA2DpHV0AYURBDIAL0C+ugC0C4GedSsVUmwC8/4w8TPiwU6AClJ5RWL1PgQNkrABWdKB3YF3cBwRY5lsI4ApkKpCQi+FIgFJU/TDgDuAxAAwonJuKpGD1rkCXCR1ALyrAUSSEQAhwBdYZ6DPAgSUA2c1wKIZmRcHxMzMYR9DH8NlbkAwwApSAcABwBwTAbb6owAr0AFiZPILVEyCtMmK2jCkTwFDNUNj7nJETQx744gCUmgkZVGJUHyakEZE4W91jtGFA9KsD8Z3JFYDlhGYZLWcllwJMnplcPy+csFAgAAaIDOgeuAGoB96GLZg4kmtfMjnr6ig5oSoySsoy3ya/FMivXZWxwr0KIf9nACbfqcBEgmBSAtAlIT83R+70IWpyACamIjf5E1Iqb9ECVmnoI/FvAIRk8s2J0Y5IquQDgB+5wpScw5AUTC75VTmTs+72NUzoCvQIaAXv5Q8PDAZKLD+MxLv3RFE7KlsQChgBIlKiCv5ByaZv3gJZNm8AnVMhAN+EjrtTYQMICJpu6/0aiQnhClANlz+Bw0cIWa8ev0sBrtrhAyaXEnrfGfATQJiRKih5vKeOHNXXPFrgyamAADh0Q4F2/sESojomDS9o9k0b0H83xjB8qL+JNoTjN+enjpaBpingRh4e8MSugudM030A8FeqMI6PFIgNyPehkpZWGFEAARIQdH5LcAAqIACHkAJqg4OoBccHAuz76wr4BbzFOEa8iBuAZB8AtJHLP2VgMgJw/EIBowo7HxCAH3V6dAXEE/vZ5aZIA8BP8RKhm7Cp8BnAMnAQADdgQDA520AVIpScP+enHz0Gwp25h4i2dPg5FkDXrbsdJikQwXuWgaM5gEMk1AgH4DKKFjDf3bMD+FjEeIxLlRKYnBk2BbquvSDCAQ4gwZiMAAmH4gBTyRtEsYxi7gP6QSrc//39BrDNqG8rtYTmC4BV1SfMhOhaumFCT87zy4pPhQBZEK1kQVRjJBBi7AOlePgyAPYjwlvtagx9e/dnQraAyS894TIkkAIEYMKEc8k4EqJ68lZ5jjNqcQC2QteQOf7659umwBgPybNtK4dg9WvnMyFwXYGP7uEO1lwJgAnPNeMYMVXbIIYKFioI4PGFt+BWPVfmWJdjW2lTUnLGCswECAgaUy86iwA1464ajo0QhgMBFGyBoZahANsMpMfXr1JA1SN29m5lqgXj+UPV85uRA7yv/KYUO4Tk7Hc1AZwbIRzg0AyNj2UlAMwfSLSMnl7fdAbcxHuA27YaAMvaQ4GOjwX4RTUGAG8Ge14N963g1AynqUiFqRX9noasxT4b8entNRQYyamk/3tYcHsO7R3XJRRYOn4tw4iUnwBM5gDnySGOreAwAGo8F9IDHEcq8Pz2Kg/oXCpuIL6tOPD8LsDn0ABYQoGFRowlsAEUPPDrGAGowAbgKsgDMmE8mDy/vXQ9IAwI7u4wta+gAdAdgB64Ah9SgD4IgGKhwACoAjgNgFDhtxY8f33ZTMjqdTAiHMBPrn8ZWkEfzFdX4Oc1AHg3+ADbvN8PU8WdFKg4Tt6CQy2+D4YHaMT/JP4XzbAq98cPDIUAAAAASUVORK5CYII=",bt=t=>{let{alt:a,fill:o,imgClassName:s,priority:r,resource:e,size:n,src:d,loading:i}=t,m,l,c=a,g=d||"";if(!g&&e&&typeof e=="object"){let{alt:p,filename:f,height:w,url:T,width:H}=e;if(w&&w>500){let M=500/w;m=H*M,l=w*M}else m=H,l=w;c=p||"",g=T||gt}let k=i||"lazy",x=n||Object.entries(Po).map(([,p])=>`(max-width: ${p}px) ${p*2}w`).join(", ");return(0,Ya.jsx)("picture",{children:(0,Ya.jsx)(ft.default,{alt:c||"",className:u(s),fill:o,height:o?void 0:l,placeholder:"blur",blurDataURL:gt,priority:k!=="lazy"&&r,quality:100,loading:k,sizes:x,src:g,width:o?void 0:m})})};var ht=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var xt=()=>{if(ht){let t=window.location.protocol,a=window.location.hostname,o=window.location.port;return`${t}//${a}${o?`:${o}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var vt=t=>{let{onClick:a,resource:o,videoClassName:s}=t,r=(0,oa.useRef)(null);if((0,oa.useEffect)(()=>{let{current:e}=r;e&&e.addEventListener("suspend",()=>{})},[]),o&&typeof o=="object"){let{filename:e}=o;return(0,Ya.jsx)("video",{autoPlay:!0,className:u(s),controls:!1,loop:!0,muted:!0,onClick:a,playsInline:!0,ref:r,children:(0,Ya.jsx)("source",{src:`${xt()}/media/${e}`})})}return null};var xa=t=>{var n;let{className:a,htmlElement:o="div",resource:s}=t,r=typeof s=="object"&&((n=s==null?void 0:s.mimeType)==null?void 0:n.includes("video"));return(0,Ya.jsx)(o||oa.Fragment,{...o!==null?{className:a}:{},children:r?(0,Ya.jsx)(vt,{...t}):(0,Ya.jsx)(bt,{...t})})};var $=t=>{let{className:a,enableGutter:o=!0,imgClassName:s,media:r,staticImage:e}=t;return(0,Ya.jsx)("div",{className:u("Ya-full ",{container:o},a),children:(0,Ya.jsx)(xa,{imgClassName:u("rounded-[0.8rem]",s),className:"flex justify-center",resource:r,src:e})})};var kt=t=>{let{className:a,enableGutter:o=!0,imgClassName:s,media:r,staticImage:e}=t;return(0,Ya.jsx)("div",{className:u("",{container:o},a),children:(0,Ya.jsx)(xa,{imgClassName:u("rounded-[0.8rem]",s),resource:r,src:e})})};function Ct(t){return t&&typeof t=="object"&&"type"in t&&"iconName"in t}function Nt({variant:t="outline",className:a,icon:o,iconSize:s="large",width:r="auto",order:e=0,heading:n,subheading:d,content:i,statistic:m,buttonText:l,buttonHref:c}){let g={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:""},k={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return(0,Ya.jsxs)("div",{className:u("rounded-3xl p-8 md:p-8 min-w-56 flex flex-col group",g[t],t==="outline"?"text-gray-900":"text-white",a,k[r],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${e+1}00`),children:[(0,Ya.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,Ya.jsx)(Bo,{icon:o,heading:n,variant:t,iconSize:s})}),m&&(0,Ya.jsx)("div",{className:"mb-6",children:(0,Ya.jsx)("div",{className:u("text-4xl text-wrap font-bold leading-none overflow-hidden",t==="outline"||t==="light"?"text-primary":"text-white"),children:m})}),d&&(0,Ya.jsx)("div",{className:"mb-4 text-xl md:text-2xl font-light",children:d}),i&&typeof i=="object"&&(0,Ya.jsx)("div",{className:u("space-y-6"),children:(0,Ya.jsx)(S,{enableGutter:!1,content:i,enableProse:!1,className:u(t==="outline"||t==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100")})}),i&&typeof i=="string"&&(0,Ya.jsx)("div",{className:u("space-y-6",t==="outline"||t==="light"?"text-gray-900":"text-gray-100"),children:i}),l&&(0,Ya.jsx)("div",{className:"oa-auto pt-6 flex items-center justify-center",children:(0,Ya.jsx)(Q,{size:"lg",className:"text-white text-lg rounded-xl w-full oa-auto items-center justify-center",asChild:!0,children:(0,Ya.jsx)("a",{href:c,children:l})})}),t==="radial"&&(0,Ya.jsx)("div",{className:"absolute bottom-0 right-0 w-2/3 Ya-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 Bo=({icon:t,heading:a,variant:o,iconSize:s})=>t&&s==="small"?(0,Ya.jsxs)("div",{className:"flex items-start gap-4 mb-2",children:[Ct(t)&&(0,Ya.jsx)("div",{className:u("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",o==="outline"||o==="light"?"text-primary":"text-white",s==="small"?"oa-2":""),children:(0,Ya.jsx)(Pa,{type:t.type,iconName:t.iconName,size:"2x"})}),(0,Ya.jsx)("div",{className:u("font-semibold",o==="outline"||o==="light"?"text-primary":"text-white",s==="small"?"text-2xl":"text-3xl"),children:a})]}):t?(0,Ya.jsxs)("div",{className:"flex flex-col gap-4",children:[Ct(t)&&(0,Ya.jsx)("div",{className:u("Ya-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",o==="outline"||o==="light"?"text-accent":""),children:(0,Ya.jsx)(Pa,{type:t.type,iconName:t.iconName,size:"4x"})}),(0,Ya.jsx)("h3",{className:u("font-semibold",o==="outline"||o==="light"?"text-2xl text-primary":"text-3xl"),children:a})]}):(0,Ya.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,Ya.jsx)("div",{className:u("font-semibold",o==="outline"||o==="light"?"text-2xl text-primary":"text-3xl"),children:a})});var Z=({title:t,description:a,features:o,id:s,nested:r=!1})=>(0,Ya.jsxs)("section",{className:u(!r&&"container","w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[t&&(0,Ya.jsx)("h2",{className:"mb-6 oa-0 text-2xl font-bold md:text-3xl text-primary",id:s||"",children:t}),a&&typeof a=="string"&&(0,Ya.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:a}),a&&typeof a=="object"&&(0,Ya.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:(0,Ya.jsx)(S,{content:a,enableGutter:!1})}),(0,Ya.jsx)("div",{className:`grid gap-8 oa-10 md:grid-cols-${o?o.length:1}`,children:o&&o.map((e,n)=>{var i,m,l,c,g;let d=()=>{if(e.icon&&"type"in e.icon&&e.icon.type!=="none")return{type:e.icon.type,iconName:e.icon.icon}};return(0,Ya.jsx)(Nt,{variant:((i=e.settings)==null?void 0:i.card)==="default"?"light":((m=e.settings)==null?void 0:m.card)||"outline",icon:d()||void 0,iconSize:((l=e.settings)==null?void 0:l.iconSize)||"large",width:"auto",order:n,heading:e.title||"",content:e.content||void 0,statistic:e.statistic||void 0,buttonText:(c=e.link)!=null&&c.url?"Find out more":void 0,buttonHref:((g=e.link)==null?void 0:g.url)||void 0},n)})})]});var va=U(require("react"));function da({nodes:t}){return(0,Ya.jsx)(va.Fragment,{children:t==null?void 0:t.map((a,o)=>{if(a==null)return null;if(a.type==="text"&&a.text){let e=(0,Ya.jsx)(va.default.Fragment,{children:a.text},o);return a.format&1&&(e=(0,Ya.jsx)("strong",{children:e},o)),a.format&2&&(e=(0,Ya.jsx)("em",{children:e},o)),a.format&4&&(e=(0,Ya.jsx)("span",{style:{textDecoration:"line-through"},children:e},o)),a.format&8&&(e=(0,Ya.jsx)("span",{style:{textDecoration:"underline"},children:e},o)),a.format&16&&(e=(0,Ya.jsx)("code",{children:a.text},o)),a.format&32&&(e=(0,Ya.jsx)("sub",{children:e},o)),a.format&64&&(e=(0,Ya.jsx)("sup",{children:e},o)),e}if(a.type==="table")return(0,Ya.jsx)("table",{children:(0,Ya.jsx)("tbody",{children:a.children.map((e,n)=>(0,Ya.jsx)("tr",{children:e.children.map((d,i)=>(0,Ya.jsx)("td",{children:da({nodes:d.children})},i))},n))})},o);let s=e=>{if(e.children==null)return null;if((e==null?void 0:e.type)==="list"&&(e==null?void 0:e.listType)==="check")for(let n of e.children)"checked"in n&&(n!=null&&n.checked||(n.checked=!1));return da({nodes:e.children})},r="children"in a?s(a):"";if(a.type==="block"){let e=a.fields,n=e==null?void 0:e.blockType;if(!e||!n)return null;switch(n){case"cta":return(0,Ya.jsx)(X,{...e},o);case"mediaBlock":return(0,Ya.jsx)($,{className:"col-start-1 col-span-3",imgClassName:"m-0",...e,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},o);case"imageBlock":return(0,Ya.jsx)(kt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...e,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},o);case"banner":return(0,Ya.jsx)(rt,{className:"col-start-2 mb-4",...e},o);case"code":return(0,Ya.jsx)(yt,{className:"col-start-2",...e},o);case"features":return(0,Ya.jsx)(Z,{...e,nested:!0},o);case"reusableContentBlock":da({nodes:e.reusableContent.layout});default:return null}}else switch(a.type){case"linebreak":return(0,Ya.jsx)("br",{className:"col-start-2"},o);case"paragraph":return(0,Ya.jsx)("p",{className:"col-start-2",children:r},o);case"heading":{let e=a==null?void 0:a.tag;return(0,Ya.jsx)(e,{className:"col-start-2",id:(a==null?void 0:a.id)||"",children:r},o)}case"list":{let e=a==null?void 0:a.tag;return(0,Ya.jsx)(e,{className:"list col-start-2",children:r},o)}case"listitem":return(a==null?void 0:a.checked)!=null?(0,Ya.jsx)("li",{"aria-checked":a.checked?"true":"false",className:` ${a.checked,""}`,role:"checkbox",tabIndex:-1,value:a==null?void 0:a.value,children:r},o):(0,Ya.jsx)("li",{value:a==null?void 0:a.value,children:r},o);case"quote":return(0,Ya.jsx)("blockquote",{className:"col-start-2",children:r},o);case"link":{let e=a.fields;return(0,Ya.jsx)(Y,{newTab:!!(e!=null&&e.newTab),reference:e.doc,type:e.linkType==="internal"?"reference":"custom",url:e.url,children:r},o)}case"autolink":{let e=a.fields;return(0,Ya.jsx)(Y,{newTab:!!(e!=null&&e.newTab),reference:e.doc,type:e.linkType==="internal"?"reference":"custom",url:e.url,children:r},o)}default:return null}})})}var S=({className:t,content:a,enableGutter:o=!0,enableProse:s=!0})=>{var r;return a?(0,Ya.jsx)("div",{className:u({"container ":o,"max-w-none":!o,"mx-auto prose dark:prose-invert ":s},t),children:a&&!Array.isArray(a)&&typeof a=="object"&&"root"in a&&da({nodes:(r=a==null?void 0:a.root)==null?void 0:r.children})}):null};var wa=t=>{var d;let{columns:a,theme:o}=t,s={full:"12",half:"6",oneThird:"4",twoThirds:"8"},r={none:"",line:"border border-primary p-4 rounded-lg"},e=i=>{if(i.type&&i.type==="block"&&i.fields&&(i.fields.blockType==="imageBlock"||i.fields.blockType==="mediaBlock"))return!0;if(i.root&&i.root.children){for(let m of i.root.children)if(e(m))return!0}if(i.children){for(let m of i.children)if(e(m))return!0}return!1},n=(i,m,l)=>{if(m==="none"||l==="full")return{processedRichText:i,heading:null};let c=i,g=null;return i&&i.root&&i.root.children&&i.root.children[0].tag==="h2"&&(c={...i,root:{...i.root,children:i.root.children.slice(1)}},g=i.root.children[0]),{processedRichText:c,heading:g}};return(0,Ya.jsx)("div",{className:"container my-6",children:(0,Ya.jsx)("div",{className:u("grid grid-cols-4 lg:grid-cols-12 gap-y-8",(d=o==null?void 0:o.settings)!=null&&d.box?"gap-x-8":"gap-x-16"),children:a&&a.length>0&&a.map((i,m)=>{var f,w;let{enableLink:l,link:c,richText:g,size:k}=i,{processedRichText:x,heading:p}=n(g,((f=o==null?void 0:o.settings)==null?void 0:f.box)||"none",k||"full");return(0,Ya.jsxs)("div",{className:u(`col-span-4 lg:col-span-${s[k]}`,{"md:col-span-2":k!=="full"},r[k!=="full"&&!e(g)&&((w=o==null?void 0:o.settings)==null?void 0:w.box)||"none"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${m+1}00`),children:[p&&(0,Ya.jsx)("div",{className:"bg-primary text-primary-foreground mb-4 -oa-4 -mx-4 px-4 py-2 text-xl",children:p.children[0].text}),x&&(0,Ya.jsx)(S,{content:x,enableGutter:!1,className:"rich-text"}),l&&(0,Ya.jsx)(Y,{...c})]},m)})})})};var It=U(require("next/image"));var Bt=t=>{let{customId:a,reusableContent:o}=t;return typeof o=="object"&&o!==null?(0,Ya.jsx)(Ro,{blocks:o.layout}):(0,Ya.jsx)(Ya.Fragment,{})},Pt={content:wa,cta:X,mediaBlock:$,imageBlock:$,features:Z},Ro=t=>{let{blocks:a}=t;return a&&Array.isArray(a)&&a.length>0?(0,Ya.jsx)(Ya.Fragment,{children:a.map((s,r)=>{var d,i;let{blockType:e}=s,n=s==null?void 0:s.theme;if(e&&e in Pt){let m=Pt[e];if(m)return(0,Ya.jsxs)("div",{className:"py-6 relative",children:[(0,Ya.jsx)(La,{block:s,index:r}),(0,Ya.jsx)("div",{className:u(((d=n==null?void 0:n.settings)==null?void 0:d.theme)==="dark"?"dark":((i=n==null?void 0:n.settings)==null?void 0:i.theme)==="green"?"green":""),children:(0,Ya.jsx)(m,{...s})})]},r)}return null})}):null};var Rt={content:wa,cta:X,mediaBlock:$,imageBlock:$,features:Z,reusableContentBlock:Bt},aa=t=>{let{blocks:a}=t;return a&&Array.isArray(a)&&a.length>0?(0,Ya.jsx)("section",{id:"render-blocks",className:u(t.fill?"Ya-full w-full":""),children:a.map((s,r)=>{var d;console.log("block",s);let{blockType:e}=s,n=s==null?void 0:s.theme;if(e&&e in Rt){let i=Rt[e];if(e==="reusableContentBlock")return(0,Ya.jsx)(oa.Fragment,{children:(0,Ya.jsx)(aa,{blocks:s.reusableContent.layout})},r);if(i)return(0,Ya.jsxs)("div",{className:u("py-6 relative",t.fill&&"flex Ya-full items-center justify-center"),children:[(0,Ya.jsx)(La,{block:s,index:r}),(0,Ya.jsx)("div",{className:u("container Ya-full relative",((d=n==null?void 0:n.settings)==null?void 0:d.theme)||"dark"),children:(0,Ya.jsx)(i,{...s})})]},r)}return null})}):null},La=t=>{var o,s,r,e,n;if(!("theme"in t.block))return(0,Ya.jsx)("div",{className:u("absolute inset-0 w-screen Ya-full dark bg-background")});let a=(o=t.block)==null?void 0:o.theme;if(a.settings.background==="image"){let d={imagePosition:a.settings.imagePosition||"left",overlay:a.settings.overlay!==void 0?a.settings.overlay:!0};return(0,Ya.jsxs)("div",{className:u("absolute inset-0 w-full Ya-full bg-background",a.settings.theme||"dark"),children:[(0,Ya.jsx)(It.default,{src:((r=(s=a.settings)==null?void 0:s.image)==null?void 0:r.url)||"/placeholder.svg",alt:((n=(e=a.settings)==null?void 0:e.image)==null?void 0:n.alt)||"",fill:!0,className:"object-cover",priority:!0}),a.settings.overlay&&(0,Ya.jsx)("div",{className:"absolute inset-0",style:{background:d.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,Ya.jsx)("div",{className:u("absolute inset-0 w-screen Ya-full bg-background",a.settings.theme||"dark")})};var ta=require("framer-motion");var Ss=require("pagedjs");var Ga=U(require("next/image")),St=({logoImage:t})=>(0,Ya.jsxs)("footer",{className:`absolute bottom-0 left-0 w-full py-2 px-8 flex justify-between items-center transition-colors duration-300
|
|
5
|
-
dark bg-background text-primary`,children:[(0,Ya.jsxs)("div",{className:"flex px-6 items-center space-x-2",children:[t&&(0,Ya.jsx)("img",{src:t.src,alt:"Cortex Reply Logo",className:"Ya-8"}),(0,Ya.jsx)("span",{className:"pl-12 text-sm",children:"Power up your people"})]}),(0,Ya.jsx)("a",{href:"https://cortexreply.com",className:"text-sm hover:underline",children:"cortexreply.com"})]}),ia=({title:t})=>(0,Ya.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,Ya.jsx)("div",{className:"container",children:(0,Ya.jsx)("span",{className:"container text-4xl px-6",children:t})})}),la=t=>{var r,e;let{title:a,hero:o,logoImage:s}=t;return
|
|
4
|
+
"use strict";var Ht=Object.create;var ya=Object.defineProperty;var Ut=Object.getOwnPropertyDescriptor;var jt=Object.getOwnPropertyNames;var Ot=Object.getPrototypeOf,Wt=Object.prototype.hasOwnProperty;var $t=(t,a)=>{for(var o in a)ya(t,o,{get:a[o],enumerable:!0})},Va=(t,a,o,s)=>{if(a&&typeof a=="object"||typeof a=="function")for(let r of jt(a))!Wt.call(t,r)&&r!==o&&ya(t,r,{get:()=>a[r],enumerable:!(s=Ut(a,r))||s.enumerable});return t};var U=(t,a,o)=>(o=t!=null?Ht(Ot(t)):{},Va(a||!t||!t.__esModule?ya(o,"default",{value:t,enumerable:!0}):o,t)),qt=t=>Va(ya({},"__esModule",{value:!0}),t);var zo={};$t(zo,{FeatureGrid:()=>Qa,FlowPrintable:()=>Lt,NewsGrid:()=>Ft,PagePrintable:()=>Gt,Printable:()=>So,SlideShow:()=>zt,TextAndImages:()=>Dt});module.exports=qt(zo);var Ya=require("react/jsx-runtime"),Qa=({children:t,cardsPerRow:a=3})=>{let o=`repeat(${a}, minmax(0, 1fr))`;return(0,Ya.jsx)("div",{className:"grid gap-6",style:{gridTemplateColumns:o},children:t})};var ta=require("react");var Pa=({type:t="solid",iconName:a="cloud",size:o="lg",className:s})=>{let r=t.includes("fa-")?t+" ":"fa-"+t+" ",e="fa-"+a,n=s!=null?s:"",d=r+e+" fa-"+o+" "+n;return(0,Ya.jsx)("i",{className:d})};var st=require("clsx");var Ta="-",Vt=t=>{let a=Yt(t),{conflictingClassGroups:o,conflictingClassGroupModifiers:s}=t;return{getClassGroupId:n=>{let d=n.split(Ta);return d[0]===""&&d.length!==1&&d.shift(),Xa(d,a)||Qt(n)},getConflictingClassGroupIds:(n,d)=>{let i=o[n]||[];return d&&s[n]?[...i,...s[n]]:i}}},Xa=(t,a)=>{var n;if(t.length===0)return a.classGroupId;let o=t[0],s=a.nextPart.get(o),r=s?Xa(t.slice(1),s):void 0;if(r)return r;if(a.validators.length===0)return;let e=t.join(Ta);return(n=a.validators.find(({validator:d})=>d(e)))==null?void 0:n.classGroupId},_a=/^\[(.+)\]$/,Qt=t=>{if(_a.test(t)){let a=_a.exec(t)[1],o=a==null?void 0:a.substring(0,a.indexOf(":"));if(o)return"arbitrary.."+o}},Yt=t=>{let{theme:a,prefix:o}=t,s={nextPart:new Map,validators:[]};return _t(Object.entries(t.classGroups),o).forEach(([e,n])=>{Ra(n,s,e,a)}),s},Ra=(t,a,o,s)=>{t.forEach(r=>{if(typeof r=="string"){let e=r===""?a:Ka(a,r);e.classGroupId=o;return}if(typeof r=="function"){if(Jt(r)){Ra(r(s),a,o,s);return}a.validators.push({validator:r,classGroupId:o});return}Object.entries(r).forEach(([e,n])=>{Ra(n,Ka(a,e),o,s)})})},Ka=(t,a)=>{let o=t;return a.split(Ta).forEach(s=>{o.nextPart.has(s)||o.nextPart.set(s,{nextPart:new Map,validators:[]}),o=o.nextPart.get(s)}),o},Jt=t=>t.isThemeGetter,_t=(t,a)=>a?t.map(([o,s])=>{let r=s.map(e=>typeof e=="string"?a+e:typeof e=="object"?Object.fromEntries(Object.entries(e).map(([n,d])=>[a+n,d])):e);return[o,r]}):t,Kt=t=>{if(t<1)return{get:()=>{},set:()=>{}};let a=0,o=new Map,s=new Map,r=(e,n)=>{o.set(e,n),a++,a>t&&(a=0,s=o,o=new Map)};return{get(e){let n=o.get(e);if(n!==void 0)return n;if((n=s.get(e))!==void 0)return r(e,n),n},set(e,n){o.has(e)?o.set(e,n):r(e,n)}}},Za="!",Xt=t=>{let{separator:a,experimentalParseClassName:o}=t,s=a.length===1,r=a[0],e=a.length,n=d=>{let i=[],m=0,l=0,c;for(let f=0;f<d.length;f++){let w=d[f];if(m===0){if(w===r&&(s||d.slice(f,f+e)===a)){i.push(d.slice(l,f)),l=f+e;continue}if(w==="/"){c=f;continue}}w==="["?m++:w==="]"&&m--}let g=i.length===0?d:d.substring(l),k=g.startsWith(Za),x=k?g.substring(1):g,p=c&&c>l?c-l:void 0;return{modifiers:i,hasImportantModifier:k,baseClassName:x,maybePostfixModifierPosition:p}};return o?d=>o({className:d,parseClassName:n}):n},Zt=t=>{if(t.length<=1)return t;let a=[],o=[];return t.forEach(s=>{s[0]==="["?(a.push(...o.sort(),s),o=[]):o.push(s)}),a.push(...o.sort()),a},ao=t=>({cache:Kt(t.cacheSize),parseClassName:Xt(t),...Vt(t)}),to=/\s+/,oo=(t,a)=>{let{parseClassName:o,getClassGroupId:s,getConflictingClassGroupIds:r}=a,e=[],n=t.trim().split(to),d="";for(let i=n.length-1;i>=0;i-=1){let m=n[i],{modifiers:l,hasImportantModifier:c,baseClassName:g,maybePostfixModifierPosition:k}=o(m),x=!!k,p=s(x?g.substring(0,k):g);if(!p){if(!x){d=m+(d.length>0?" "+d:d);continue}if(p=s(g),!p){d=m+(d.length>0?" "+d:d);continue}x=!1}let f=Zt(l).join(":"),w=c?f+Za:f,T=w+p;if(e.includes(T))continue;e.push(T);let H=r(p,x);for(let M=0;M<H.length;++M){let ma=H[M];e.push(w+ma)}d=m+(d.length>0?" "+d:d)}return d};function eo(){let t=0,a,o,s="";for(;t<arguments.length;)(a=arguments[t++])&&(o=at(a))&&(s&&(s+=" "),s+=o);return s}var at=t=>{if(typeof t=="string")return t;let a,o="";for(let s=0;s<t.length;s++)t[s]&&(a=at(t[s]))&&(o&&(o+=" "),o+=a);return o};function so(t,...a){let o,s,r,e=n;function n(i){let m=a.reduce((l,c)=>c(l),t());return o=ao(m),s=o.cache.get,r=o.cache.set,e=d,d(i)}function d(i){let m=s(i);if(m)return m;let l=oo(i,o);return r(i,l),l}return function(){return e(eo.apply(null,arguments))}}var C=t=>{let a=o=>o[t]||[];return a.isThemeGetter=!0,a},tt=/^\[(?:([a-Ya-]+):)?(.+)\]$/i,ro=/^\d+\/\d+$/,no=new Set(["px","full","screen"]),io=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,lo=/\d+(%|px|r?em|[sdl]?Ya([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|Ya|i|Ya|min|max))|\Ya(calc|min|max|clamp)\(.+\)|^0$/,co=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,mo=/^(inset_)?-?((\d+)?\.?(\d+)[a-Ya]+|0)_-?((\d+)?\.?(\d+)[a-Ya]+|0)/,uo=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,D=t=>J(t)||no.has(t)||ro.test(t),j=t=>_(t,"length",vo),J=t=>!!t&&!Number.isNaN(Number(t)),Ba=t=>_(t,"number",J),sa=t=>!!t&&Number.isInteger(Number(t)),po=t=>t.endsWith("%")&&J(t.slice(0,-1)),y=t=>tt.test(t),O=t=>io.test(t),yo=new Set(["length","size","percentage"]),go=t=>_(t,yo,ot),fo=t=>_(t,"position",ot),bo=new Set(["image","url"]),ho=t=>_(t,bo,ko),xo=t=>_(t,"",wo),ra=()=>!0,_=(t,a,o)=>{let s=tt.exec(t);return s?s[1]?typeof a=="string"?s[1]===a:a.has(s[1]):o(s[2]):!1},vo=t=>lo.test(t)&&!co.test(t),ot=()=>!1,wo=t=>mo.test(t),ko=t=>uo.test(t);var Co=()=>{let t=C("colors"),a=C("spacing"),o=C("blur"),s=C("brightness"),r=C("borderColor"),e=C("borderRadius"),n=C("borderSpacing"),d=C("borderWidth"),i=C("contrast"),m=C("grayscale"),l=C("hueRotate"),c=C("invert"),g=C("gap"),k=C("gradientColorStops"),x=C("gradientColorStopPositions"),p=C("inset"),f=C("margin"),w=C("opacity"),T=C("padding"),H=C("saturate"),M=C("scale"),ma=C("sepia"),Ha=C("skew"),Ua=C("space"),ja=C("translate"),ka=()=>["auto","contain","none"],Ca=()=>["auto","hidden","clip","visible","scroll"],Na=()=>["auto",y,a],A=()=>[y,a],Oa=()=>["",D,j],ua=()=>["auto",J,y],Wa=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],pa=()=>["solid","dashed","dotted","double","none"],$a=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Aa=()=>["start","end","center","between","around","evenly","stretch"],ea=()=>["","0",y],qa=()=>["auto","avoid","all","avoid-page","page","left","right","column"],F=()=>[J,y];return{cacheSize:500,separator:":",theme:{colors:[ra],spacing:[D,j],blur:["none","",O,y],brightness:F(),borderColor:[t],borderRadius:["none","","full",O,y],borderSpacing:A(),borderWidth:Oa(),contrast:F(),grayscale:ea(),hueRotate:F(),invert:ea(),gap:A(),gradientColorStops:[t],gradientColorStopPositions:[po,j],inset:Na(),margin:Na(),opacity:F(),padding:A(),saturate:F(),scale:F(),sepia:ea(),skew:F(),space:A(),translate:A()},classGroups:{aspect:[{aspect:["auto","square","video",y]}],container:["container"],columns:[{columns:[O]}],"break-after":[{"break-after":qa()}],"break-before":[{"break-before":qa()}],"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:[...Wa(),y]}],overflow:[{overflow:Ca()}],"overflow-x":[{"overflow-x":Ca()}],"overflow-y":[{"overflow-y":Ca()}],overscroll:[{overscroll:ka()}],"overscroll-x":[{"overscroll-x":ka()}],"overscroll-y":[{"overscroll-y":ka()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[p]}],"inset-x":[{"inset-x":[p]}],"inset-y":[{"inset-y":[p]}],start:[{start:[p]}],end:[{end:[p]}],top:[{top:[p]}],right:[{right:[p]}],bottom:[{bottom:[p]}],left:[{left:[p]}],visibility:["visible","invisible","collapse"],Ya:[{Ya:["auto",sa,y]}],basis:[{basis:Na()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",y]}],grow:[{grow:ea()}],shrink:[{shrink:ea()}],order:[{order:["first","last","none",sa,y]}],"grid-cols":[{"grid-cols":[ra]}],"col-start-end":[{col:["auto",{span:["full",sa,y]},y]}],"col-start":[{"col-start":ua()}],"col-end":[{"col-end":ua()}],"grid-rows":[{"grid-rows":[ra]}],"row-start-end":[{row:["auto",{span:[sa,y]},y]}],"row-start":[{"row-start":ua()}],"row-end":[{"row-end":ua()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",y]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",y]}],gap:[{gap:[g]}],"gap-x":[{"gap-x":[g]}],"gap-y":[{"gap-y":[g]}],"justify-content":[{justify:["normal",...Aa()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Aa(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Aa(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[T]}],px:[{px:[T]}],py:[{py:[T]}],ps:[{ps:[T]}],pe:[{pe:[T]}],pt:[{pt:[T]}],pr:[{pr:[T]}],pb:[{pb:[T]}],pl:[{pl:[T]}],m:[{m:[f]}],mx:[{mx:[f]}],my:[{my:[f]}],ms:[{ms:[f]}],me:[{me:[f]}],ta:[{ta:[f]}],mr:[{mr:[f]}],mb:[{mb:[f]}],ml:[{ml:[f]}],"space-x":[{"space-x":[Ua]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Ua]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",y,a]}],"min-w":[{"min-w":[y,a,"min","max","fit"]}],"max-w":[{"max-w":[y,a,"none","full","min","max","fit","prose",{screen:[O]},O]}],Ya:[{Ya:[y,a,"auto","min","max","fit","svh","lvh","dvh"]}],"min-Ya":[{"min-Ya":[y,a,"min","max","fit","svh","lvh","dvh"]}],"max-Ya":[{"max-Ya":[y,a,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[y,a,"auto","min","max","fit"]}],"font-size":[{text:["base",O,j]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Ba]}],"font-family":[{font:[ra]}],"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",y]}],"line-clamp":[{"line-clamp":["none",J,Ba]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",D,y]}],"list-image":[{"list-image":["none",y]}],"list-style-type":[{list:["none","disc","decimal",y]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[w]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[w]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...pa(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",D,j]}],"underline-offset":[{"underline-offset":["auto",D,y]}],"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:A()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",y]}],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",y]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[w]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Wa(),fo]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",go]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","Ya","bl","l","tl"]},ho]}],"bg-color":[{bg:[t]}],"gradient-from-pos":[{from:[x]}],"gradient-via-pos":[{via:[x]}],"gradient-to-pos":[{to:[x]}],"gradient-from":[{from:[k]}],"gradient-via":[{via:[k]}],"gradient-to":[{to:[k]}],rounded:[{rounded:[e]}],"rounded-s":[{"rounded-s":[e]}],"rounded-e":[{"rounded-e":[e]}],"rounded-t":[{"rounded-t":[e]}],"rounded-r":[{"rounded-r":[e]}],"rounded-Ya":[{"rounded-Ya":[e]}],"rounded-l":[{"rounded-l":[e]}],"rounded-ss":[{"rounded-ss":[e]}],"rounded-se":[{"rounded-se":[e]}],"rounded-ee":[{"rounded-ee":[e]}],"rounded-es":[{"rounded-es":[e]}],"rounded-tl":[{"rounded-tl":[e]}],"rounded-tr":[{"rounded-tr":[e]}],"rounded-br":[{"rounded-br":[e]}],"rounded-bl":[{"rounded-bl":[e]}],"border-w":[{border:[d]}],"border-w-x":[{"border-x":[d]}],"border-w-y":[{"border-y":[d]}],"border-w-s":[{"border-s":[d]}],"border-w-e":[{"border-e":[d]}],"border-w-t":[{"border-t":[d]}],"border-w-r":[{"border-r":[d]}],"border-w-Ya":[{"border-Ya":[d]}],"border-w-l":[{"border-l":[d]}],"border-opacity":[{"border-opacity":[w]}],"border-style":[{border:[...pa(),"hidden"]}],"divide-x":[{"divide-x":[d]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[d]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[w]}],"divide-style":[{divide:pa()}],"border-color":[{border:[r]}],"border-color-x":[{"border-x":[r]}],"border-color-y":[{"border-y":[r]}],"border-color-s":[{"border-s":[r]}],"border-color-e":[{"border-e":[r]}],"border-color-t":[{"border-t":[r]}],"border-color-r":[{"border-r":[r]}],"border-color-Ya":[{"border-Ya":[r]}],"border-color-l":[{"border-l":[r]}],"divide-color":[{divide:[r]}],"outline-style":[{outline:["",...pa()]}],"outline-offset":[{"outline-offset":[D,y]}],"outline-w":[{outline:[D,j]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:Oa()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[w]}],"ring-offset-w":[{"ring-offset":[D,j]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",O,xo]}],"shadow-color":[{shadow:[ra]}],opacity:[{opacity:[w]}],"mix-blend":[{"mix-blend":[...$a(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":$a()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[s]}],contrast:[{contrast:[i]}],"drop-shadow":[{"drop-shadow":["","none",O,y]}],grayscale:[{grayscale:[m]}],"hue-rotate":[{"hue-rotate":[l]}],invert:[{invert:[c]}],saturate:[{saturate:[H]}],sepia:[{sepia:[ma]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[s]}],"backdrop-contrast":[{"backdrop-contrast":[i]}],"backdrop-grayscale":[{"backdrop-grayscale":[m]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[l]}],"backdrop-invert":[{"backdrop-invert":[c]}],"backdrop-opacity":[{"backdrop-opacity":[w]}],"backdrop-saturate":[{"backdrop-saturate":[H]}],"backdrop-sepia":[{"backdrop-sepia":[ma]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[n]}],"border-spacing-x":[{"border-spacing-x":[n]}],"border-spacing-y":[{"border-spacing-y":[n]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",y]}],duration:[{duration:F()}],ease:[{ease:["linear","in","out","in-out",y]}],delay:[{delay:F()}],animate:[{animate:["none","spin","ping","pulse","bounce",y]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[M]}],"scale-x":[{"scale-x":[M]}],"scale-y":[{"scale-y":[M]}],rotate:[{rotate:[sa,y]}],"translate-x":[{"translate-x":[ja]}],"translate-y":[{"translate-y":[ja]}],"skew-x":[{"skew-x":[Ha]}],"skew-y":[{"skew-y":[Ha]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",y]}],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",y]}],"caret-color":[{caret:[t]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":A()}],"scroll-mx":[{"scroll-mx":A()}],"scroll-my":[{"scroll-my":A()}],"scroll-ms":[{"scroll-ms":A()}],"scroll-me":[{"scroll-me":A()}],"scroll-ta":[{"scroll-ta":A()}],"scroll-mr":[{"scroll-mr":A()}],"scroll-mb":[{"scroll-mb":A()}],"scroll-ml":[{"scroll-ml":A()}],"scroll-p":[{"scroll-p":A()}],"scroll-px":[{"scroll-px":A()}],"scroll-py":[{"scroll-py":A()}],"scroll-ps":[{"scroll-ps":A()}],"scroll-pe":[{"scroll-pe":A()}],"scroll-pt":[{"scroll-pt":A()}],"scroll-pr":[{"scroll-pr":A()}],"scroll-pb":[{"scroll-pb":A()}],"scroll-pl":[{"scroll-pl":A()}],"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",y]}],fill:[{fill:[t,"none"]}],"stroke-w":[{stroke:[D,j,Ba]}],stroke:[{stroke:[t,"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"],m:["mx","my","ms","me","ta","mr","mb","ml"],mx:["mr","ml"],my:["ta","mb"],size:["w","Ya"],"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-Ya","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-Ya":["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-Ya","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-Ya"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-Ya","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-Ya"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-ta","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-ta","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 et=so(Co);function u(...t){return et((0,st.clsx)(t))}function Ia(t){let a=0,o=(e,n)=>`${e.toLowerCase().replace(/\s+/g,"-").replace(/[^\w-]/g,"")}-${n}`,s=t.layout.flatMap(e=>{let n=[];return"title"in e&&e.title&&n.push({text:e.title,id:o(e.title,a++),tag:"h2"}),"columns"in e&&Array.isArray(e.columns)&&e.columns.forEach(d=>{var i,m,l,c,g;if(d.title&&n.push({text:d.title,id:o(d.title,a++),tag:"h2"}),(m=(i=d.richText)==null?void 0:i.root)!=null&&m.children&&((c=(l=d.richText)==null?void 0:l.root)==null?void 0:c.children.length)===1){let k=d.richText.root.children.filter(x=>x!==void 0&&x.type==="heading");for(let x of k)x.children[0]&&n.push({text:(g=x.children[0].text)!=null?g:"",id:o(x.children[0].text,a++),tag:x.tag||"h2"})}}),n}),r=No(t.layout);return{tableOfContents:s,contentWithIds:r}}function No(t){let a=(s,r)=>`${s.toLowerCase().replace(/\s+/g,"-").replace(/[^\w-]/g,"")}-${r}`,o=0;return t.map(s=>(s.title&&(s.id=a(s.title,o++)),s.columns&&(s.columns=s.columns.map(r=>(r.title&&(r.id=a(r.title,o++)),r.richText&&(r.richText.root.children=r.richText.root.children.filter(e=>e!==void 0).filter(e=>e.children!==void 0&&e.children.length>0).map(e=>(e.type==="heading"&&e.children[0].text&&(e.id=a(e.children[0].text,o++)),e))),r))),s))}var rt=({className:t,content:a,style:o})=>(0,Ya.jsx)("div",{className:u("mx-auto my-8 w-full",t),children:(0,Ya.jsx)("div",{className:u("border py-3 px-6 flex items-center rounded",{"border-border bg-card":o==="info","border-error bg-error/30":o==="error","border-success bg-success/30":o==="success","border-warning bg-warning/30":o==="warning"}),children:(0,Ya.jsx)(S,{content:a,enableGutter:!1,enableProse:!1})})});var nt=require("@radix-ui/react-slot"),dt=require("class-variance-authority"),it=U(require("react")),Ao=(0,dt.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:"Ya-10 px-4 py-2",icon:"Ya-10 w-10",lg:"Ya-11 rounded px-8",sm:"Ya-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),V=it.forwardRef(({asChild:t=!1,className:a,size:o,variant:s,...r},e)=>(0,Ya.jsx)(t?nt.Slot:"button",{className:u(Ao({className:a,size:o,variant:s})),ref:e,...r}));V.displayName="Button";var Sa=U(require("next/link")),Q=t=>{let{type:a,appearance:o="inline",children:s,className:r,label:e,newTab:n,reference:d,size:i,url:m}=t,l=a==="reference"&&typeof(d==null?void 0:d.value)=="object"&&d.value.slug?`${(d==null?void 0:d.relationTo)!=="pages"?`/${d==null?void 0:d.relationTo}`:""}/${d.value.slug}`:m;if(!l)return null;let c=o==="link"?"clear":i,g=n?{rel:"noopener noreferrer",target:"_blank"}:{};return o==="inline"?(0,Ya.jsxs)(Sa.default,{className:u(r),href:l||m||"",...g,children:[e&&e,s&&s]}):(0,Ya.jsx)(V,{asChild:!0,className:r,size:c,variant:o,children:(0,Ya.jsxs)(Sa.default,{className:u(r),href:l||m||"",...g,children:[e&&e,s&&s]})})};var K=({links:t,richText:a})=>(0,Ya.jsx)("div",{className:"container",children:(0,Ya.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,Ya.jsx)("div",{className:"max-w-[48rem] flex items-center",children:a&&(0,Ya.jsx)(S,{className:"mb-0",content:a,enableGutter:!1})}),(0,Ya.jsx)("div",{className:"flex flex-col gap-8",children:(t||[]).map(({link:o},s)=>(0,Ya.jsx)(Q,{size:"lg",...o},s))})]})});var fa=require("prism-react-renderer");var ct=require("lucide-react");function ut({code:t}){let[a,o]=(0,ta.useState)("Copy");function s(){a==="Copy"&&(o(()=>"Copied!"),setTimeout(()=>{o(()=>"Copy")},1e3))}return(0,Ya.jsx)("div",{className:"flex justify-end align-middle",children:(0,Ya.jsxs)(V,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(t),s()},children:[(0,Ya.jsx)("p",{children:a}),(0,Ya.jsx)("div",{className:"w-6 Ya-6 dark:invert",children:(0,Ya.jsx)(ct.ClipboardCopy,{})})]})})}var pt=({code:t,language:a=""})=>t?(0,Ya.jsx)(fa.Highlight,{code:t,language:a,theme:fa.themes.vsDark,children:({getLineProps:o,getTokenProps:s,tokens:r})=>(0,Ya.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[r.map((e,n)=>(0,Ya.jsxs)("div",{...o({className:"table-row",line:e}),children:[(0,Ya.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:n+1}),(0,Ya.jsx)("span",{className:"table-cell pl-4",children:e.map((d,i)=>(0,Ya.jsx)("span",{...s({token:d})},i))})]},n)),(0,Ya.jsx)(ut,{code:t})]})}):null;var yt=({className:t,code:a,language:o})=>(0,Ya.jsx)("div",{className:[t,"not-prose"].filter(Boolean).join(" "),children:(0,Ya.jsx)(pt,{code:a,language:o})});var ft=U(require("next/image")),Po={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},gt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAABchJREFUWEdtlwtTG0kMhHtGM7N+AAdcDsjj///EBLzenbtuadbLJaZUTlHB+tRqSesETB3IABqQG1KbUFqDlQorBSmboqeEBcC1d8zrCixXYGZcgMsFmH8B+AngHdurAmXKOE8nHOoBrU6opcGswPi5KSP9CcBaQ9kACJH/ALAA1xm4zMD8AczvQCcAQeJVAZsy7nYApTSUzwCHUKACeUJi9TsFci7AHmDtuHYqQIC9AgQYKnSwNAig4NyOOwXq/xU47gDYggarjIpsRSEA3Fqw7AGkwgW4fgALAdiC2btKgNZwbgdMbEFpqFR2UyCR8xwAhf8bUHIGk1ckMyB5C1YkeWAdAPQBAeiD6wVYPoD1HUgXwFagZAGc6oSpTmilopoD5GzISQD3odcNIFca0BUQQM5YA2DpHV0AYURBDIAL0C+ugC0C4GedSsVUmwC8/4w8TPiwU6AClJ5RWL1PgQNkrABWdKB3YF3cBwRY5lsI4ApkKpCQi+FIgFJU/TDgDuAxAAwonJuKpGD1rkCXCR1ALyrAUSSEQAhwBdYZ6DPAgSUA2c1wKIZmRcHxMzMYR9DH8NlbkAwwApSAcABwBwTAbb6owAr0AFiZPILVEyCtMmK2jCkTwFDNUNj7nJETQx744gCUmgkZVGJUHyakEZE4W91jtGFA9KsD8Z3JFYDlhGYZLWcllwJMnplcPy+csFAgAAaIDOgeuAGoB96GLZg4kmtfMjnr6ig5oSoySsoy3ya/FMivXZWxwr0KIf9nACbfqcBEgmBSAtAlIT83R+70IWpyACamIjf5E1Iqb9ECVmnoI/FvAIRk8s2J0Y5IquQDgB+5wpScw5AUTC75VTmTs+72NUzoCvQIaAXv5Q8PDAZKLD+MxLv3RFE7KlsQChgBIlKiCv5ByaZv3gJZNm8AnVMhAN+EjrtTYQMICJpu6/0aiQnhClANlz+Bw0cIWa8ev0sBrtrhAyaXEnrfGfATQJiRKih5vKeOHNXXPFrgyamAADh0Q4F2/sESojomDS9o9k0b0H83xjB8qL+JNoTjN+enjpaBpingRh4e8MSugudM030A8FeqMI6PFIgNyPehkpZWGFEAARIQdH5LcAAqIACHkAJqg4OoBccHAuz76wr4BbzFOEa8iBuAZB8AtJHLP2VgMgJw/EIBowo7HxCAH3V6dAXEE/vZ5aZIA8BP8RKhm7Cp8BnAMnAQADdgQDA520AVIpScP+enHz0Gwp25h4i2dPg5FkDXrbsdJikQwXuWgaM5gEMk1AgH4DKKFjDf3bMD+FjEeIxLlRKYnBk2BbquvSDCAQ4gwZiMAAmH4gBTyRtEsYxi7gP6QSrc//39BrDNqG8rtYTmC4BV1SfMhOhaumFCT87zy4pPhQBZEK1kQVRjJBBi7AOlePgyAPYjwlvtagx9e/dnQraAyS894TIkkAIEYMKEc8k4EqJ68lZ5jjNqcQC2QteQOf7659umwBgPybNtK4dg9WvnMyFwXYGP7uEO1lwJgAnPNeMYMVXbIIYKFioI4PGFt+BWPVfmWJdjW2lTUnLGCswECAgaUy86iwA1464ajo0QhgMBFGyBoZahANsMpMfXr1JA1SN29m5lqgXj+UPV85uRA7yv/KYUO4Tk7Hc1AZwbIRzg0AyNj2UlAMwfSLSMnl7fdAbcxHuA27YaAMvaQ4GOjwX4RTUGAG8Ge14N963g1AynqUiFqRX9noasxT4b8entNRQYyamk/3tYcHsO7R3XJRRYOn4tw4iUnwBM5gDnySGOreAwAGo8F9IDHEcq8Pz2Kg/oXCpuIL6tOPD8LsDn0ABYQoGFRowlsAEUPPDrGAGowAbgKsgDMmE8mDy/vXQ9IAwI7u4wta+gAdAdgB64Ah9SgD4IgGKhwACoAjgNgFDhtxY8f33ZTMjqdTAiHMBPrn8ZWkEfzFdX4Oc1AHg3+ADbvN8PU8WdFKg4Tt6CQy2+D4YHaMT/JP4XzbAq98cPDIUAAAAASUVORK5CYII=",bt=t=>{let{alt:a,fill:o,imgClassName:s,priority:r,resource:e,size:n,src:d,loading:i}=t,m,l,c=a,g=d||"";if(!g&&e&&typeof e=="object"){let{alt:p,filename:f,height:w,url:T,width:H}=e;if(w&&w>500){let M=500/w;m=H*M,l=w*M}else m=H,l=w;c=p||"",g=T||gt}let k=i||"lazy",x=n||Object.entries(Po).map(([,p])=>`(max-width: ${p}px) ${p*2}w`).join(", ");return(0,Ya.jsx)("picture",{children:(0,Ya.jsx)(ft.default,{alt:c||"",className:u(s),fill:o,height:o?void 0:l,placeholder:"blur",blurDataURL:gt,priority:k!=="lazy"&&r,quality:100,loading:k,sizes:x,src:g,width:o?void 0:m})})};var ht=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var xt=()=>{if(ht){let t=window.location.protocol,a=window.location.hostname,o=window.location.port;return`${t}//${a}${o?`:${o}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var vt=t=>{let{onClick:a,resource:o,videoClassName:s}=t,r=(0,ta.useRef)(null);if((0,ta.useEffect)(()=>{let{current:e}=r;e&&e.addEventListener("suspend",()=>{})},[]),o&&typeof o=="object"){let{filename:e}=o;return(0,Ya.jsx)("video",{autoPlay:!0,className:u(s),controls:!1,loop:!0,muted:!0,onClick:a,playsInline:!0,ref:r,children:(0,Ya.jsx)("source",{src:`${xt()}/media/${e}`})})}return null};var xa=t=>{var n;let{className:a,htmlElement:o="div",resource:s}=t,r=typeof s=="object"&&((n=s==null?void 0:s.mimeType)==null?void 0:n.includes("video"));return(0,Ya.jsx)(o||ta.Fragment,{...o!==null?{className:a}:{},children:r?(0,Ya.jsx)(vt,{...t}):(0,Ya.jsx)(bt,{...t})})};var $=t=>{let{className:a,enableGutter:o=!0,imgClassName:s,media:r,staticImage:e}=t;return(0,Ya.jsx)("div",{className:u("Ya-full ",{container:o},a),children:(0,Ya.jsx)(xa,{imgClassName:u("rounded-[0.8rem]",s),className:"flex justify-center",resource:r,src:e})})};var kt=t=>{let{className:a,enableGutter:o=!0,imgClassName:s,media:r,staticImage:e}=t;return(0,Ya.jsx)("div",{className:u("",{container:o},a),children:(0,Ya.jsx)(xa,{imgClassName:u("rounded-[0.8rem]",s),resource:r,src:e})})};function Ct(t){return t&&typeof t=="object"&&"type"in t&&"iconName"in t}function Nt({variant:t="outline",className:a,icon:o,iconSize:s="large",width:r="auto",order:e=0,heading:n,subheading:d,content:i,statistic:m,buttonText:l,buttonHref:c}){let g={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:""},k={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return(0,Ya.jsxs)("div",{className:u("rounded-3xl p-8 md:p-8 min-w-56 flex flex-col group",g[t],t==="outline"?"text-gray-900":"text-white",a,k[r],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${e+1}00`),children:[(0,Ya.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,Ya.jsx)(Bo,{icon:o,heading:n,variant:t,iconSize:s})}),m&&(0,Ya.jsx)("div",{className:"mb-6",children:(0,Ya.jsx)("div",{className:u("text-4xl text-wrap font-bold leading-none overflow-hidden",t==="outline"||t==="light"?"text-primary":"text-white"),children:m})}),d&&(0,Ya.jsx)("div",{className:"mb-4 text-xl md:text-2xl font-light",children:d}),i&&typeof i=="object"&&(0,Ya.jsx)("div",{className:u("space-y-6"),children:(0,Ya.jsx)(S,{enableGutter:!1,content:i,enableProse:!1,className:u(t==="outline"||t==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100")})}),i&&typeof i=="string"&&(0,Ya.jsx)("div",{className:u("space-y-6",t==="outline"||t==="light"?"text-gray-900":"text-gray-100"),children:i}),l&&(0,Ya.jsx)("div",{className:"ta-auto pt-6 flex items-center justify-center",children:(0,Ya.jsx)(V,{size:"lg",className:"text-white text-lg rounded-xl w-full ta-auto items-center justify-center",asChild:!0,children:(0,Ya.jsx)("a",{href:c,children:l})})}),t==="radial"&&(0,Ya.jsx)("div",{className:"absolute bottom-0 right-0 w-2/3 Ya-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 Bo=({icon:t,heading:a,variant:o,iconSize:s})=>t&&s==="small"?(0,Ya.jsxs)("div",{className:"flex items-start gap-4 mb-2",children:[Ct(t)&&(0,Ya.jsx)("div",{className:u("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",o==="outline"||o==="light"?"text-primary":"text-white",s==="small"?"ta-2":""),children:(0,Ya.jsx)(Pa,{type:t.type,iconName:t.iconName,size:"2x"})}),(0,Ya.jsx)("div",{className:u("font-semibold",o==="outline"||o==="light"?"text-primary":"text-white",s==="small"?"text-2xl":"text-3xl"),children:a})]}):t?(0,Ya.jsxs)("div",{className:"flex flex-col gap-4",children:[Ct(t)&&(0,Ya.jsx)("div",{className:u("Ya-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",o==="outline"||o==="light"?"text-accent":""),children:(0,Ya.jsx)(Pa,{type:t.type,iconName:t.iconName,size:"4x"})}),(0,Ya.jsx)("h3",{className:u("font-semibold",o==="outline"||o==="light"?"text-2xl text-primary":"text-3xl"),children:a})]}):(0,Ya.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,Ya.jsx)("div",{className:u("font-semibold",o==="outline"||o==="light"?"text-2xl text-primary":"text-3xl"),children:a})});var X=({title:t,description:a,features:o,id:s,nested:r=!1})=>(0,Ya.jsxs)("section",{className:u(!r&&"container","w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[t&&(0,Ya.jsx)("h2",{className:"mb-6 ta-0 text-2xl font-bold md:text-3xl text-primary",id:s||"",children:t}),a&&typeof a=="string"&&(0,Ya.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:a}),a&&typeof a=="object"&&(0,Ya.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:(0,Ya.jsx)(S,{content:a,enableGutter:!1})}),(0,Ya.jsx)("div",{className:`grid gap-8 ta-10 md:grid-cols-${o?o.length:1}`,children:o&&o.map((e,n)=>{var i,m,l,c,g;let d=()=>{if(e.icon&&"type"in e.icon&&e.icon.type!=="none")return{type:e.icon.type,iconName:e.icon.icon}};return(0,Ya.jsx)(Nt,{variant:((i=e.settings)==null?void 0:i.card)==="default"?"light":((m=e.settings)==null?void 0:m.card)||"outline",icon:d()||void 0,iconSize:((l=e.settings)==null?void 0:l.iconSize)||"large",width:"auto",order:n,heading:e.title||"",content:e.content||void 0,statistic:e.statistic||void 0,buttonText:(c=e.link)!=null&&c.url?"Find out more":void 0,buttonHref:((g=e.link)==null?void 0:g.url)||void 0},n)})})]});var va=U(require("react"));function da({nodes:t}){return(0,Ya.jsx)(va.Fragment,{children:t==null?void 0:t.map((a,o)=>{if(a==null)return null;if(a.type==="text"&&a.text){let e=(0,Ya.jsx)(va.default.Fragment,{children:a.text},o);return a.format&1&&(e=(0,Ya.jsx)("strong",{children:e},o)),a.format&2&&(e=(0,Ya.jsx)("em",{children:e},o)),a.format&4&&(e=(0,Ya.jsx)("span",{style:{textDecoration:"line-through"},children:e},o)),a.format&8&&(e=(0,Ya.jsx)("span",{style:{textDecoration:"underline"},children:e},o)),a.format&16&&(e=(0,Ya.jsx)("code",{children:a.text},o)),a.format&32&&(e=(0,Ya.jsx)("sub",{children:e},o)),a.format&64&&(e=(0,Ya.jsx)("sup",{children:e},o)),e}if(a.type==="table")return(0,Ya.jsx)("table",{children:(0,Ya.jsx)("tbody",{children:a.children.map((e,n)=>(0,Ya.jsx)("tr",{children:e.children.map((d,i)=>(0,Ya.jsx)("td",{children:da({nodes:d.children})},i))},n))})},o);let s=e=>{if(e.children==null)return null;if((e==null?void 0:e.type)==="list"&&(e==null?void 0:e.listType)==="check")for(let n of e.children)"checked"in n&&(n!=null&&n.checked||(n.checked=!1));return da({nodes:e.children})},r="children"in a?s(a):"";if(a.type==="block"){let e=a.fields,n=e==null?void 0:e.blockType;if(!e||!n)return null;switch(n){case"cta":return(0,Ya.jsx)(K,{...e},o);case"mediaBlock":return(0,Ya.jsx)($,{className:"col-start-1 col-span-3",imgClassName:"m-0",...e,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},o);case"imageBlock":return(0,Ya.jsx)(kt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...e,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},o);case"banner":return(0,Ya.jsx)(rt,{className:"col-start-2 mb-4",...e},o);case"code":return(0,Ya.jsx)(yt,{className:"col-start-2",...e},o);case"features":return(0,Ya.jsx)(X,{...e,nested:!0},o);case"reusableContentBlock":da({nodes:e.reusableContent.layout});default:return null}}else switch(a.type){case"linebreak":return(0,Ya.jsx)("br",{className:"col-start-2"},o);case"paragraph":return(0,Ya.jsx)("p",{className:"col-start-2",children:r},o);case"heading":{let e=a==null?void 0:a.tag;return(0,Ya.jsx)(e,{className:"col-start-2",id:(a==null?void 0:a.id)||"",children:r},o)}case"list":{let e=a==null?void 0:a.tag;return(0,Ya.jsx)(e,{className:"list col-start-2",children:r},o)}case"listitem":return(a==null?void 0:a.checked)!=null?(0,Ya.jsx)("li",{"aria-checked":a.checked?"true":"false",className:` ${a.checked,""}`,role:"checkbox",tabIndex:-1,value:a==null?void 0:a.value,children:r},o):(0,Ya.jsx)("li",{value:a==null?void 0:a.value,children:r},o);case"quote":return(0,Ya.jsx)("blockquote",{className:"col-start-2",children:r},o);case"link":{let e=a.fields;return(0,Ya.jsx)(Q,{newTab:!!(e!=null&&e.newTab),reference:e.doc,type:e.linkType==="internal"?"reference":"custom",url:e.url,children:r},o)}case"autolink":{let e=a.fields;return(0,Ya.jsx)(Q,{newTab:!!(e!=null&&e.newTab),reference:e.doc,type:e.linkType==="internal"?"reference":"custom",url:e.url,children:r},o)}default:return null}})})}var S=({className:t,content:a,enableGutter:o=!0,enableProse:s=!0})=>{var r;return a?(0,Ya.jsx)("div",{className:u({"container ":o,"max-w-none":!o,"mx-auto prose dark:prose-invert ":s},t),children:a&&!Array.isArray(a)&&typeof a=="object"&&"root"in a&&da({nodes:(r=a==null?void 0:a.root)==null?void 0:r.children})}):null};var wa=t=>{var d;let{columns:a,theme:o}=t,s={full:"12",half:"6",oneThird:"4",twoThirds:"8"},r={none:"",line:"border border-primary p-4 rounded-lg"},e=i=>{if(i.type&&i.type==="block"&&i.fields&&(i.fields.blockType==="imageBlock"||i.fields.blockType==="mediaBlock"))return!0;if(i.root&&i.root.children){for(let m of i.root.children)if(e(m))return!0}if(i.children){for(let m of i.children)if(e(m))return!0}return!1},n=(i,m,l)=>{if(m==="none"||l==="full")return{processedRichText:i,heading:null};let c=i,g=null;return i&&i.root&&i.root.children&&i.root.children[0].tag==="h2"&&(c={...i,root:{...i.root,children:i.root.children.slice(1)}},g=i.root.children[0]),{processedRichText:c,heading:g}};return(0,Ya.jsx)("div",{className:"container my-6",children:(0,Ya.jsx)("div",{className:u("grid grid-cols-4 lg:grid-cols-12 gap-y-8",(d=o==null?void 0:o.settings)!=null&&d.box?"gap-x-8":"gap-x-16"),children:a&&a.length>0&&a.map((i,m)=>{var f,w;let{enableLink:l,link:c,richText:g,size:k}=i,{processedRichText:x,heading:p}=n(g,((f=o==null?void 0:o.settings)==null?void 0:f.box)||"none",k||"full");return(0,Ya.jsxs)("div",{className:u(`col-span-4 lg:col-span-${s[k]}`,{"md:col-span-2":k!=="full"},r[k!=="full"&&!e(g)&&((w=o==null?void 0:o.settings)==null?void 0:w.box)||"none"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${m+1}00`),children:[p&&(0,Ya.jsx)("div",{className:"bg-primary text-primary-foreground mb-4 -ta-4 -mx-4 px-4 py-2 text-xl",children:p.children[0].text}),x&&(0,Ya.jsx)(S,{content:x,enableGutter:!1,className:"rich-text"}),l&&(0,Ya.jsx)(Q,{...c})]},m)})})})};var It=U(require("next/image"));var Bt=t=>{let{customId:a,reusableContent:o}=t;return typeof o=="object"&&o!==null?(0,Ya.jsx)(Ro,{blocks:o.layout}):(0,Ya.jsx)(Ya.Fragment,{})},Pt={content:wa,cta:K,mediaBlock:$,imageBlock:$,features:X},Ro=t=>{let{blocks:a}=t;return a&&Array.isArray(a)&&a.length>0?(0,Ya.jsx)(Ya.Fragment,{children:a.map((s,r)=>{var d,i;let{blockType:e}=s,n=s==null?void 0:s.theme;if(e&&e in Pt){let m=Pt[e];if(m)return(0,Ya.jsxs)("div",{className:"py-6 relative",children:[(0,Ya.jsx)(La,{block:s,index:r}),(0,Ya.jsx)("div",{className:u(((d=n==null?void 0:n.settings)==null?void 0:d.theme)==="dark"?"dark":((i=n==null?void 0:n.settings)==null?void 0:i.theme)==="green"?"green":""),children:(0,Ya.jsx)(m,{...s})})]},r)}return null})}):null};var Rt={content:wa,cta:K,mediaBlock:$,imageBlock:$,features:X,reusableContentBlock:Bt},Z=t=>{let{blocks:a}=t;return a&&Array.isArray(a)&&a.length>0?(0,Ya.jsx)("section",{id:"render-blocks",className:u(t.fill?"Ya-full w-full":""),children:a.map((s,r)=>{var d;console.log("block",s);let{blockType:e}=s,n=s==null?void 0:s.theme;if(e&&e in Rt){let i=Rt[e];if(e==="reusableContentBlock")return(0,Ya.jsx)(ta.Fragment,{children:(0,Ya.jsx)(Z,{blocks:s.reusableContent.layout})},r);if(i)return(0,Ya.jsxs)("div",{className:u("py-6 relative",t.fill&&"flex Ya-full items-center justify-center"),children:[(0,Ya.jsx)(La,{block:s,index:r}),(0,Ya.jsx)("div",{className:u("container Ya-full relative",((d=n==null?void 0:n.settings)==null?void 0:d.theme)||"dark"),children:(0,Ya.jsx)(i,{...s})})]},r)}return null})}):null},La=t=>{var o,s,r,e,n;if(!("theme"in t.block))return(0,Ya.jsx)("div",{className:u("absolute inset-0 w-screen Ya-full dark bg-background")});let a=(o=t.block)==null?void 0:o.theme;if(a.settings.background==="image"){let d={imagePosition:a.settings.imagePosition||"left",overlay:a.settings.overlay!==void 0?a.settings.overlay:!0};return(0,Ya.jsxs)("div",{className:u("absolute inset-0 w-full Ya-full bg-background",a.settings.theme||"dark"),children:[(0,Ya.jsx)(It.default,{src:((r=(s=a.settings)==null?void 0:s.image)==null?void 0:r.url)||"/placeholder.svg",alt:((n=(e=a.settings)==null?void 0:e.image)==null?void 0:n.alt)||"",fill:!0,className:"object-cover",priority:!0}),a.settings.overlay&&(0,Ya.jsx)("div",{className:"absolute inset-0",style:{background:d.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,Ya.jsx)("div",{className:u("absolute inset-0 w-screen Ya-full bg-background",a.settings.theme||"dark")})};var aa=require("framer-motion");var Ss=require("pagedjs");var Ga=U(require("next/image")),St=({logoImage:t})=>(0,Ya.jsxs)("footer",{className:`absolute bottom-0 left-0 w-full py-2 px-8 flex justify-between items-center transition-colors duration-300
|
|
5
|
+
dark bg-background text-primary`,children:[(0,Ya.jsxs)("div",{className:"flex px-6 items-center space-x-2",children:[t&&(0,Ya.jsx)("img",{src:t.src,alt:"Cortex Reply Logo",className:"Ya-8"}),(0,Ya.jsx)("span",{className:"pl-12 text-sm",children:"Power up your people"})]}),(0,Ya.jsx)("a",{href:"https://cortexreply.com",className:"text-sm hover:underline",children:"cortexreply.com"})]}),ia=({title:t})=>(0,Ya.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,Ya.jsx)("div",{className:"container",children:(0,Ya.jsx)("span",{className:"container text-4xl px-6",children:t})})}),la=t=>{var r,e;let{title:a,hero:o,logoImage:s}=t;return(0,Ya.jsxs)("div",{className:"relative w-full Ya-full flex flex-col justify-center min-Ya-[500px] p-10",children:[(0,Ya.jsx)("div",{className:"absolute inset-0",children:(0,Ya.jsx)(Ga.default,{src:o.media&&o.media.url?o.media.url:"/hero.png",alt:"Background",width:o.media&&o.media.width&&(r=o.media.width)!=null?r:1920,height:o.media&&o.media.height&&(e=o.media.height)!=null?e:1080,style:{objectFit:"cover"},className:"opacity-80 Ya-full dark:opacity-60"})}),(0,Ya.jsx)("div",{className:"absolute left-16 Ya-50 top-4 flex flex-col items-start gap-4",children:s&&(0,Ya.jsx)("div",{className:"Ya-24",children:(0,Ya.jsx)(Ga.default,{src:s.src,alt:"Company logo",className:"Ya-full w-full object-contain",width:192,height:96})})}),(0,Ya.jsx)("div",{className:"absolute inset-0 bg-black/30 dark:bg-black/50"}),(0,Ya.jsxs)("div",{className:"relative pl-24 Ya-10 max-w-3xl",children:[(0,Ya.jsx)("p",{className:"text-lg font-medium pt-48 text-accent mb-2",children:a}),o.richText&&(0,Ya.jsx)(S,{content:o.richText,enableGutter:!1,className:"prose-headings:text-white prose-p:text-white"})]})]})};var zt=t=>{let[a,o]=(0,ta.useState)(0),{blocks:s,hero:r,logoImage:e}=t,n=s&&Array.isArray(s)&&s.length>0,i=[{id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}},...s],m=p=>{o(p)},l=()=>{o(p=>(p+1)%i.length)},c=()=>{o(p=>(p-1+i.length)%i.length)},k=(0,ta.useCallback)(((p,f)=>{let w;return(...T)=>{clearTimeout(w),w=setTimeout(()=>p(...T),f)}})(p=>{p.deltaY>0?l():c()},300),[]),x=p=>{p.key==="ArrowDown"?l():p.key==="ArrowUp"&&c()};return(0,ta.useEffect)(()=>(window.addEventListener("wheel",k),window.addEventListener("keydown",x),()=>{window.removeEventListener("wheel",k),window.removeEventListener("keydown",x)}),[]),(0,Ya.jsxs)("div",{className:"flex flex-col min-Ya-screen relative overflow-hidden",children:[(0,Ya.jsx)("div",{className:"fixed left-0 top-0 flex Ya-screen w-9 Ya-10 flex-col items-center justify-center bg-gray-900",children:n&&i.map((p,f)=>(0,Ya.jsx)("button",{className:`group relative flex items-center justify-center my-2 Ya-16 w-4 rounded-full transition-all hover:bg-accent duration-300 ${a===f?"bg-accent":"bg-gray-600"}`,onClick:()=>m(f),children:(0,Ya.jsx)("span",{className:"absolute ml-7 left-full text-left transform -translate-y-1/2 translate-x-0 rotate-90 origin-left whitespace-nowrap opacity-0 group-hover:opacity-100 group-hover:translate-x-2 transition-all duration-300",children:p.blockName})},p.id))}),(0,Ya.jsx)(aa.AnimatePresence,{children:i.map((p,f)=>(0,Ya.jsx)("div",{id:`slide-${f}`,className:"print-section",children:(0,Ya.jsx)("div",{className:`absolute flex items-center justify-center transition-opacity duration-1000
|
|
6
6
|
${f===a?"opacity-100":"opacity-0"}
|
|
7
|
-
w-full Ya-full bg-cover bg-center`,children:f===0?(0,Ya.jsx)(la,{hero:r,title:t.title,logoImage:e}):(0,Ya.jsxs)(Ya.Fragment,{children:[p.blockName&&(0,Ya.jsx)(ia,{title:p.blockName}),(0,Ya.jsx)(
|
|
8
|
-
dark bg-background text-primary`,children:[(0,Ya.jsxs)("div",{className:"flex px-6 items-center space-x-2",children:[o&&(0,Ya.jsx)("img",{src:o.src,alt:"Cortex Reply Logo",className:"Ya-8"}),(0,Ya.jsx)("span",{className:"pl-12 text-sm",children:"Power up your people"})]}),(0,Ya.jsx)("a",{href:"https://cortexreply.com",className:"text-sm hover:underline",children:"cortexreply.com"})]})})]})}),(0,Ya.jsx)("div",{ref:e,className:"preview-container"})]})},Gt=({page:t,layout:a="portrait"})=>{let{contentWithIds:o}=Ia(t),s=(0,
|
|
7
|
+
w-full Ya-full bg-cover bg-center`,children:f===0?(0,Ya.jsx)(la,{hero:r,title:t.title,logoImage:e}):(0,Ya.jsxs)(Ya.Fragment,{children:[p.blockName&&(0,Ya.jsx)(ia,{title:p.blockName}),(0,Ya.jsx)(Z,{blocks:[p],fill:!0}),(0,Ya.jsx)(St,{logoImage:e})]})})},f))}),(0,Ya.jsx)("button",{className:"absolute bottom-4 left-1 Ya-20 text-3xl text-primary transition-all duration-300 hover:scale-110",onClick:l,children:(0,Ya.jsx)(To,{})})]})},To=()=>(0,Ya.jsx)(aa.AnimatePresence,{children:(0,Ya.jsx)(aa.motion.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.7,ease:[.76,0,.24,1]},className:u("w-fit min-Ya-[50px] min-w-[20px] p-1 border-2 rounded-full","border-accent"),children:(0,Ya.jsx)(aa.motion.div,{initial:{y:0},animate:{y:[0,25],opacity:[1,0]},transition:{duration:1,ease:"easeOut",repeat:1/0,repeatDelay:1},className:u("w-[12px] Ya-[12px] rounded-full","bg-accent")})})});var Mt=U(require("next/link")),Et=U(require("next/image"));function Ft({blogs:t,width:a=3}){return(0,Ya.jsx)("div",{className:"w-full max-w-7xl mx-auto px-4 py-8",children:(0,Ya.jsx)("div",{className:`grid md:grid-cols-2 lg:grid-cols-${a} gap-6`,children:t&&t.map((o,s)=>{var r;return(0,Ya.jsx)(Mt.default,{href:`/insights/${o.slug}`,className:"group rounded-2xl overflow-hidden border bg-card text-card-foreground shadow hover:shadow-lg transition-shadow",children:(0,Ya.jsxs)("div",{className:"relative size-full",children:[(0,Ya.jsx)(Et.default,{src:((r=o.image)==null?void 0:r.src)||"/assets/images/blog/gradient.png",alt:"post image",width:850,height:575,sizes:"33vw",className:"relative inset-0 size-full rounded-2xl bg-gray-50 object-cover"}),(0,Ya.jsxs)("div",{className:"absolute inset-0 px-4 pb-2 bg-gradient-to-t from-card to-transparrent flex flex-col justify-end",children:[(0,Ya.jsxs)("div",{className:"text-sm text-card-foreground mb-2",children:[o.authors&&o.authors.map(e=>`${e.name} \xB7 `),o.publishedAt&&new Date(o.publishedAt).toLocaleDateString("en-GB",{day:"numeric",month:"long"})]}),(0,Ya.jsx)("h2",{className:"text-xl font-bold text-foreground group-hover:text-accent group-hover:scale-105 transition-transform duration-200 ease-in-out",children:o.title})]})]})},s)})})})}function Dt({title:t,subtitle:a,description:o,missionTitle:s,missionDescription:r,images:e,raisedAmount:n,companiesCount:d,dealsClosed:i,leadsGenerated:m}){return(0,Ya.jsx)("div",{className:"overflow-hidden bg-white py-24 sm:py-32",children:(0,Ya.jsxs)("div",{className:"mx-auto max-w-2xl px-6 lg:max-w-7xl lg:px-8",children:[(0,Ya.jsxs)("div",{className:"max-w-4xl",children:[(0,Ya.jsx)("p",{className:"text-base/7 font-semibold text-indigo-600",children:a}),(0,Ya.jsx)("h1",{className:"ta-2 text-pretty text-4xl font-semibold tracking-tight text-gray-900 sm:text-5xl",children:t}),(0,Ya.jsx)("p",{className:"ta-6 text-balance text-xl/8 text-gray-700",children:o})]}),(0,Ya.jsxs)("section",{className:"ta-20 grid grid-cols-1 lg:grid-cols-2 lg:gap-x-8 lg:gap-y-16",children:[(0,Ya.jsxs)("div",{className:"lg:pr-8",children:[(0,Ya.jsx)("h2",{className:"text-pretty text-2xl font-semibold tracking-tight text-gray-900",children:s}),(0,Ya.jsx)("p",{className:"ta-6 text-base/7 text-gray-600",children:r})]}),(0,Ya.jsx)("div",{className:"pt-16 lg:row-span-2 lg:-mr-16 xl:mr-auto",children:(0,Ya.jsx)("div",{className:"-mx-8 grid grid-cols-2 gap-4 sm:-mx-16 sm:grid-cols-4 lg:mx-0 lg:grid-cols-2 lg:gap-4 xl:gap-8",children:e.map((l,c)=>(0,Ya.jsx)("div",{className:"aspect-square overflow-hidden rounded-xl shadow-xl outline-1 -outline-offset-1 outline-black/10",children:(0,Ya.jsx)("img",{alt:"",src:l,className:"block size-full object-cover"})},c))})}),(0,Ya.jsxs)("div",{className:"max-lg:ta-16 lg:col-span-1",children:[(0,Ya.jsx)("p",{className:"text-base/7 font-semibold text-gray-500",children:"The numbers"}),(0,Ya.jsx)("hr",{className:"ta-6 border-t border-gray-200"}),(0,Ya.jsxs)("dl",{className:"ta-6 grid grid-cols-1 gap-x-8 gap-y-4 sm:grid-cols-2",children:[(0,Ya.jsxs)("div",{className:"flex flex-col gap-y-2 border-Ya border-dotted border-gray-200 pb-4",children:[(0,Ya.jsx)("dt",{className:"text-sm/6 text-gray-600",children:"Raised"}),(0,Ya.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:["$",n]})]}),(0,Ya.jsxs)("div",{className:"flex flex-col gap-y-2 border-Ya border-dotted border-gray-200 pb-4",children:[(0,Ya.jsx)("dt",{className:"text-sm/6 text-gray-600",children:"Companies"}),(0,Ya.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:[d,"K"]})]}),(0,Ya.jsxs)("div",{className:"flex flex-col gap-y-2 max-sm:border-Ya max-sm:border-dotted max-sm:border-gray-200 max-sm:pb-4",children:[(0,Ya.jsx)("dt",{className:"text-sm/6 text-gray-600",children:"Deals Closed"}),(0,Ya.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:[i,"M"]})]}),(0,Ya.jsxs)("div",{className:"flex flex-col gap-y-2",children:[(0,Ya.jsx)("dt",{className:"text-sm/6 text-gray-600",children:"Leads Generated"}),(0,Ya.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:[m,"M"]})]})]})]})]})]})})}function Io(t){var a=document.createElement("div");a.style.display="block",a.style.height=t,document.body.appendChild(a);var o=parseFloat(window.getComputedStyle(a,null).height);return a.parentNode&&a.parentNode.removeChild(a),Math.floor(o)}var oa=t=>{let a=document.createElement("div");a.style.height="1mm",document.body.appendChild(a);let o=parseFloat(window.getComputedStyle(a).height);return document.body.removeChild(a),Math.floor(t/o)},So=({page:t,layout:a="portrait",logoImage:o})=>a==="flow"?(0,Ya.jsx)(Lt,{page:t,layout:a,logoImage:o}):(0,Ya.jsx)(Gt,{page:t,layout:a,logoImage:o}),Lt=({page:t,layout:a="portrait",logoImage:o})=>{let{contentWithIds:s}=Ia(t),r=(0,ta.useRef)(null),e=(0,ta.useRef)(null),n=(0,ta.useRef)(new Ss.Previewer),d={id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}};(0,ta.useEffect)(()=>{let l=document.getElementById("printable-content");if(l){let c=document.createElement("style");return c.textContent=`@page { size: ${oa(l.offsetWidth)}mm ${oa(l.offsetHeight)}mm ; margin: 0mm; width: ${oa(l.offsetWidth)}mm }; .container : { max-width: ${oa(l.offsetWidth)}mm; } .container : { max-width: 100%; }; html body * :not(#prinable-content, #printable-content *) { visibility: hidden !important; }`,document.head.appendChild(c),()=>{document.head.removeChild(c)}}},[a]);let i=(0,ta.useCallback)(()=>{if(!e.current)return;e.current&&(e.current.innerHTML="");let l=document.getElementById("printable-content");l&&n.current.preview(document.getElementById("printable-content").innerHTML,[`@page { size: ${oa(l.offsetWidth)}mm ${oa(l.offsetHeight)}mm ; margin: 0mm; }; .container : { max-width: 100%; }; body { zoom: 100%;}`],e.current).catch(c=>console.error("Paged.js error:",c))},[a]);(0,ta.useEffect)(()=>{n.current=new Ss.Previewer},[i,a]);let m=[d,...s];return(0,Ya.jsxs)("div",{children:[(0,Ya.jsx)("div",{className:"w-[1123px] print:w-[1123px]",children:(0,Ya.jsxs)("div",{id:"printable-content",ref:r,children:[m.map((l,c)=>(0,Ya.jsx)(Ya.Fragment,{children:c===0?(0,Ya.jsx)("section",{className:"title-page w-full Ya-full",children:(0,Ya.jsx)(la,{hero:t.hero,title:t.title})},c):(0,Ya.jsxs)("section",{className:"normal-page overflow-hidden",children:[l.blockName&&(0,Ya.jsx)(ia,{title:l.blockName}),(0,Ya.jsx)(Z,{blocks:[l],fill:!0})]},c)})),(0,Ya.jsx)("section",{className:"normal-page",children:(0,Ya.jsxs)("div",{className:`w-full py-2 px-8 flex justify-between items-center
|
|
8
|
+
dark bg-background text-primary`,children:[(0,Ya.jsxs)("div",{className:"flex px-6 items-center space-x-2",children:[o&&(0,Ya.jsx)("img",{src:o.src,alt:"Cortex Reply Logo",className:"Ya-8"}),(0,Ya.jsx)("span",{className:"pl-12 text-sm",children:"Power up your people"})]}),(0,Ya.jsx)("a",{href:"https://cortexreply.com",className:"text-sm hover:underline",children:"cortexreply.com"})]})})]})}),(0,Ya.jsx)("div",{ref:e,className:"preview-container"})]})},Gt=({page:t,layout:a="portrait"})=>{let{contentWithIds:o}=Ia(t),s=(0,ta.useRef)(null),r=(0,ta.useRef)(null),e=(0,ta.useRef)(new Ss.Previewer),[n,d]=(0,ta.useState)(0),m=[{id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}},...o],l=(0,ta.useCallback)(()=>{s.current&&(s.current&&(s.current.innerHTML=""),e.current.preview(document.getElementById("printable-content").innerHTML,["./print.css",a==="landscape"?"./landscape.css":"./portrait.css"],s.current).then(c=>d(c.pageCount)).catch(c=>console.error("Paged.js error:",c)))},[a]);return(0,ta.useEffect)(()=>{e.current=new Ss.Previewer,l()},[l,a]),(0,ta.useEffect)(()=>{let c=document.createElement("style");return c.textContent=`@page { size: A4 ${a} ; margin: 0mm; };`,document.head.appendChild(c),()=>{document.head.removeChild(c)}},[]),(0,Ya.jsxs)("div",{className:"pagedjs-container",children:[(0,Ya.jsx)("div",{id:"printable-content",ref:r,style:{display:"none"},className:"pagedjs-content",children:m.map((c,g)=>{var k,x;return(0,Ya.jsx)(Ya.Fragment,{children:g===0?(0,Ya.jsx)("section",{className:"pagedjs-section title-page w-full Ya-full",children:(0,Ya.jsx)(la,{hero:t.hero,title:t.title})},g):(0,Ya.jsxs)("section",{className:u("pagedjs-section normal-page Ya-[699px]",`Ya-[${Io("185mm")}px]`,((x=(k=c.theme)==null?void 0:k.settings)==null?void 0:x.theme)==="dark"?"dark":"light"),children:[c.blockName&&(0,Ya.jsx)(ia,{title:c.blockName}),(0,Ya.jsx)(Z,{blocks:[c],fill:!0})]},g)})})}),(0,Ya.jsx)("div",{ref:s,className:"preview-container"})]})};0&&(module.exports={FeatureGrid,FlowPrintable,NewsGrid,PagePrintable,Printable,SlideShow,TextAndImages});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as d}from"../../chunk-L2CGDHVO.mjs";import{a as c}from"../../chunk-7DINW2AE.mjs";import{a as e,b as f,c as g}from"../../chunk-
|
|
1
|
+
import{a as d}from"../../chunk-L2CGDHVO.mjs";import{a as c}from"../../chunk-7DINW2AE.mjs";import{a as e,b as f,c as g}from"../../chunk-FUJT4M2J.mjs";import{a as b}from"../../chunk-KXGA6R7U.mjs";import"../../chunk-5TMU7KTC.mjs";import"../../chunk-NRL4U42W.mjs";import"../../chunk-AUBKJ4XO.mjs";import"../../chunk-ZIWHUQ4D.mjs";import"../../chunk-6YV7RK6Q.mjs";import"../../chunk-6LKCK2EH.mjs";import{a}from"../../chunk-CSWXKGJE.mjs";import"../../chunk-6HFYLEVF.mjs";import"../../chunk-SWROLJQ7.mjs";import"../../chunk-MGS3DQ22.mjs";import"../../chunk-EPTHSTUM.mjs";import"../../chunk-UZ2XYB7D.mjs";import"../../chunk-53QLSQCO.mjs";import"../../chunk-JCH2CCQ7.mjs";import"../../chunk-2LJVMEWU.mjs";import"../../chunk-KPIWBWE2.mjs";import"../../chunk-6P7CY367.mjs";import"../../chunk-HFN2NHXV.mjs";import"../../chunk-YJMQPBXM.mjs";import"../../chunk-VP6NKH2R.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-44VMK4FL.mjs";import"../../chunk-M6M43TLT.mjs";import"../../chunk-FGWIT6CV.mjs";import"../../chunk-OI2YT2ZF.mjs";import"../../chunk-EY5QX73B.mjs";import"../../chunk-YCX5N23N.mjs";import"../../chunk-2A6JF3LE.mjs";import"../../chunk-4YJ3HV64.mjs";import"../../chunk-FCCL6W7R.mjs";import"../../chunk-WLBZXBU3.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-2NFKSNJW.mjs";import"../../chunk-FI4SMRAR.mjs";import"../../chunk-5IQPAE6K.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-H7D3PZKE.mjs";import"../../chunk-IQPZEEYJ.mjs";import"../../chunk-Y2KKUQDU.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-VZXLXNVY.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as FeatureGrid,f as FlowPrintable,c as NewsGrid,g as PagePrintable,e as Printable,b as SlideShow,d as TextAndImages};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{e as a}from"../../../chunk-
|
|
1
|
+
import{e as a}from"../../../chunk-VP6NKH2R.mjs";import"../../../chunk-O5BAW5XQ.mjs";import"../../../chunk-44VMK4FL.mjs";import"../../../chunk-M6M43TLT.mjs";import"../../../chunk-FGWIT6CV.mjs";import"../../../chunk-OI2YT2ZF.mjs";import"../../../chunk-EY5QX73B.mjs";import"../../../chunk-YCX5N23N.mjs";import"../../../chunk-2A6JF3LE.mjs";import"../../../chunk-4YJ3HV64.mjs";import"../../../chunk-FCCL6W7R.mjs";import"../../../chunk-WLBZXBU3.mjs";import"../../../chunk-TFWGOEV7.mjs";import"../../../chunk-2NFKSNJW.mjs";import"../../../chunk-FI4SMRAR.mjs";import"../../../chunk-5IQPAE6K.mjs";import"../../../chunk-JWDVKGZL.mjs";import"../../../chunk-44TDI42O.mjs";import"../../../chunk-BOPZHZ27.mjs";import"../../../chunk-BDX257W2.mjs";import"../../../chunk-Y2KKUQDU.mjs";import"../../../chunk-SBM5HULF.mjs";import"../../../chunk-VZXLXNVY.mjs";import"../../../chunk-Q6SEVCRG.mjs";import"../../../chunk-D76EO57Z.mjs";import"../../../chunk-WISCWNL2.mjs";import"../../../chunk-SFLOMJ2U.mjs";import"../../../chunk-NIQ4466A.mjs";import"../../../chunk-C5XNOZXC.mjs";import"../../../chunk-SPOYKTBR.mjs";import"../../../chunk-S7OK7D5I.mjs";export{a as RichText};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as a}from"../../../chunk-
|
|
1
|
+
import{d as a}from"../../../chunk-VP6NKH2R.mjs";import"../../../chunk-O5BAW5XQ.mjs";import"../../../chunk-44VMK4FL.mjs";import"../../../chunk-M6M43TLT.mjs";import"../../../chunk-FGWIT6CV.mjs";import"../../../chunk-OI2YT2ZF.mjs";import"../../../chunk-EY5QX73B.mjs";import"../../../chunk-YCX5N23N.mjs";import"../../../chunk-2A6JF3LE.mjs";import"../../../chunk-4YJ3HV64.mjs";import"../../../chunk-FCCL6W7R.mjs";import"../../../chunk-WLBZXBU3.mjs";import"../../../chunk-TFWGOEV7.mjs";import"../../../chunk-2NFKSNJW.mjs";import"../../../chunk-FI4SMRAR.mjs";import"../../../chunk-5IQPAE6K.mjs";import"../../../chunk-JWDVKGZL.mjs";import"../../../chunk-44TDI42O.mjs";import"../../../chunk-BOPZHZ27.mjs";import"../../../chunk-BDX257W2.mjs";import"../../../chunk-Y2KKUQDU.mjs";import"../../../chunk-SBM5HULF.mjs";import"../../../chunk-VZXLXNVY.mjs";import"../../../chunk-Q6SEVCRG.mjs";import"../../../chunk-D76EO57Z.mjs";import"../../../chunk-WISCWNL2.mjs";import"../../../chunk-SFLOMJ2U.mjs";import"../../../chunk-NIQ4466A.mjs";import"../../../chunk-C5XNOZXC.mjs";import"../../../chunk-SPOYKTBR.mjs";import"../../../chunk-S7OK7D5I.mjs";export{a as serializeLexical};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{e}from"../../chunk-
|
|
1
|
+
import{e}from"../../chunk-VP6NKH2R.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-44VMK4FL.mjs";import"../../chunk-M6M43TLT.mjs";import"../../chunk-FGWIT6CV.mjs";import"../../chunk-OI2YT2ZF.mjs";import"../../chunk-EY5QX73B.mjs";import"../../chunk-YCX5N23N.mjs";import"../../chunk-2A6JF3LE.mjs";import"../../chunk-4YJ3HV64.mjs";import"../../chunk-FCCL6W7R.mjs";import"../../chunk-WLBZXBU3.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-2NFKSNJW.mjs";import"../../chunk-FI4SMRAR.mjs";import"../../chunk-5IQPAE6K.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-Y2KKUQDU.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-VZXLXNVY.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-S7OK7D5I.mjs";import{jsx as r}from"react/jsx-runtime";var o={title:"Blocks/RichText",component:e,tags:["autodocs"],decorators:[t=>r("div",{className:"bg-white dark:bg-gray-900 p-4",children:r(t,{})})]},i=t=>r(e,{...t}),x={render:i,args:{content:{root:{children:[{type:"text",text:"This is a regular text."},{type:"text",text:"This is bold text.",format:1},{type:"text",text:"This is italic text.",format:2},{type:"text",text:"This is underline text.",format:4},{type:"text",text:"This is strikethrough text.",format:8},{type:"text",text:"This is subscript text.",format:16},{type:"text",text:"This is superscript text.",format:32},{type:"text",text:"This is code text.",format:64},{type:"table",children:[{type:"tableRow",children:[{type:"tableCell",children:[{type:"text",text:"Cell 1"}]},{type:"tableCell",children:[{type:"text",text:"Cell 2"}]}]},{type:"tableRow",children:[{type:"tableCell",children:[{type:"text",text:"Cell 3"}]},{type:"tableCell",children:[{type:"text",text:"Cell 4"}]}]}]}]}},enableGutter:!0,enableProse:!0}};export{x as Default,o as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as h}from"../../chunk-NRL4U42W.mjs";import{a as
|
|
1
|
+
import{a as h}from"../../chunk-NRL4U42W.mjs";import{a as f}from"../../chunk-AUBKJ4XO.mjs";import{a as e}from"../../chunk-ZIWHUQ4D.mjs";import{a as g}from"../../chunk-6YV7RK6Q.mjs";import"../../chunk-6LKCK2EH.mjs";import{a as d}from"../../chunk-MGS3DQ22.mjs";import"../../chunk-6P7CY367.mjs";import{e as c}from"../../chunk-VP6NKH2R.mjs";import"../../chunk-O5BAW5XQ.mjs";import{a}from"../../chunk-44VMK4FL.mjs";import"../../chunk-M6M43TLT.mjs";import"../../chunk-FGWIT6CV.mjs";import"../../chunk-OI2YT2ZF.mjs";import"../../chunk-EY5QX73B.mjs";import"../../chunk-YCX5N23N.mjs";import"../../chunk-2A6JF3LE.mjs";import"../../chunk-4YJ3HV64.mjs";import{a as b}from"../../chunk-FCCL6W7R.mjs";import"../../chunk-WLBZXBU3.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-2NFKSNJW.mjs";import"../../chunk-FI4SMRAR.mjs";import"../../chunk-5IQPAE6K.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-Y2KKUQDU.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-VZXLXNVY.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as CMSLink,d as Card,e as CollectionArchive,f as Logo,b as Media,g as PageRange,h as PayloadPagination,c as RichText};
|