cortex-react-components 1.53.12 → 1.53.13
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-RJGKFNZL.mjs → chunk-2A6JF3LE.mjs} +1 -1
- package/dist/{chunk-MGGXJ6E5.mjs → chunk-2GAB2DAK.mjs} +1 -1
- package/dist/{chunk-RMSUXBP2.mjs → chunk-2QVJBFPH.mjs} +1 -1
- package/dist/{chunk-EOJQ2KKP.mjs → chunk-4MQV5KBS.mjs} +1 -1
- package/dist/{chunk-6DHYRATS.mjs → chunk-4YJ3HV64.mjs} +1 -1
- package/dist/{chunk-ZARUYNTS.mjs → chunk-65KP55SA.mjs} +1 -1
- package/dist/{chunk-FGGYIUGW.mjs → chunk-6JB2YPEG.mjs} +1 -1
- package/dist/{chunk-UOXUFOIU.mjs → chunk-6ZTACGHK.mjs} +1 -1
- package/dist/{chunk-3ILIKZIF.mjs → chunk-AUBX64ZD.mjs} +1 -1
- package/dist/{chunk-7H5RA3LZ.mjs → chunk-DHLQCOMJ.mjs} +1 -1
- package/dist/chunk-DPZBRGJ3.mjs +1 -0
- package/dist/{chunk-JPFBD2KD.mjs → chunk-FCCL6W7R.mjs} +1 -1
- package/dist/chunk-G3XMLLE4.mjs +1 -0
- package/dist/{chunk-UELQEYEC.mjs → chunk-GFX7ISZC.mjs} +1 -1
- package/dist/{chunk-TCIVDDHE.mjs → chunk-GRBCNB4W.mjs} +1 -1
- package/dist/{chunk-Q3MPLEUO.mjs → chunk-HDVYZQKY.mjs} +1 -1
- package/dist/{chunk-WZLEEZ5C.mjs → chunk-IT7DSLCX.mjs} +1 -1
- package/dist/{chunk-LI37GQGD.mjs → chunk-KWHF45RW.mjs} +1 -1
- package/dist/{chunk-S7I4XJS6.mjs → chunk-LLJZRF3C.mjs} +1 -1
- package/dist/{chunk-XXTN5HMN.mjs → chunk-MGS3DQ22.mjs} +1 -1
- package/dist/{chunk-SQTEG7N4.mjs → chunk-NFLAGBIE.mjs} +1 -1
- package/dist/{chunk-ZMTWB7GE.mjs → chunk-PJSJJVIS.mjs} +1 -1
- package/dist/{chunk-UBPBLCZE.mjs → chunk-QQXJS6KW.mjs} +1 -1
- package/dist/{chunk-LCBC4XAC.mjs → chunk-QSIJJSKA.mjs} +1 -1
- package/dist/{chunk-Y2SNB25S.mjs → chunk-S24Q6P5C.mjs} +1 -1
- package/dist/{chunk-NMVLT3F5.mjs → chunk-ST57SBGX.mjs} +1 -1
- package/dist/{chunk-R7CSR27B.mjs → chunk-TATBOD3E.mjs} +1 -1
- package/dist/{chunk-T5H436I7.mjs → chunk-TUFJTJCO.mjs} +1 -1
- package/dist/chunk-TXB5Y6PG.mjs +4 -0
- package/dist/{chunk-CF7XDPTT.mjs → chunk-VCC562W2.mjs} +1 -1
- package/dist/{chunk-GSKQEJUW.mjs → chunk-VSNDROOR.mjs} +1 -1
- package/dist/{chunk-JGFNFHZM.mjs → chunk-WV4NLWRU.mjs} +1 -1
- package/dist/{chunk-5AAERLK4.mjs → chunk-XDFXEM2U.mjs} +1 -1
- package/dist/{chunk-WP5GREDV.mjs → chunk-XRSFJHOZ.mjs} +1 -1
- package/dist/{chunk-F572VPA4.mjs → chunk-YEPCYWNC.mjs} +1 -1
- package/dist/{chunk-HER7J6HM.mjs → chunk-ZIWHUQ4D.mjs} +1 -1
- package/dist/{chunk-SYRLP2F4.mjs → chunk-ZODTQZTN.mjs} +1 -1
- 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/ImageBlock.mjs +1 -1
- package/dist/components/Blocks/MediaBlock.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/KanbanBoard.mjs +1 -1
- package/dist/components/CRM/KanbanBoard.stories.mjs +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.mjs +1 -1
- package/dist/components/Cards/FeatureCard.stories.mjs +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/SectionHeading.mjs +1 -1
- package/dist/components/HeaderFooter/VideoHeader.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/RenderHero.mjs +1 -1
- package/dist/components/Heros/SectionHero/index.mjs +1 -1
- package/dist/components/Heros/index.mjs +1 -1
- package/dist/components/Layouts/FeatureGrid.stories.mjs +1 -1
- package/dist/components/Layouts/NewsList.js +1 -1
- package/dist/components/Layouts/NewsList.mjs +1 -1
- package/dist/components/Layouts/NewsList.stories.js +1 -1
- package/dist/components/Layouts/NewsList.stories.mjs +1 -1
- package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
- package/dist/components/Layouts/Print.mjs +1 -1
- package/dist/components/Layouts/Print.stories.mjs +1 -1
- package/dist/components/Layouts/SlideShow.mjs +1 -1
- package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
- package/dist/components/Layouts/index.mjs +1 -1
- package/dist/components/Menus/Filter.js +1 -1
- package/dist/components/Menus/Filter.mjs +1 -1
- package/dist/components/Menus/Filter.stories.js +1 -1
- package/dist/components/Menus/Filter.stories.mjs +1 -1
- package/dist/components/Menus/Pagination.js +1 -1
- package/dist/components/Menus/Pagination.mjs +1 -1
- package/dist/components/Menus/Pagination.stories.js +1 -1
- package/dist/components/Menus/Pagination.stories.mjs +1 -1
- package/dist/components/Menus/index.js +1 -1
- package/dist/components/Menus/index.mjs +1 -1
- package/dist/components/Other/index.mjs +1 -1
- package/dist/components/Payload/Card/index.mjs +1 -1
- package/dist/components/Payload/CollectionArchive/index.mjs +1 -1
- package/dist/components/Payload/Media/index.mjs +1 -1
- package/dist/components/Payload/RichText/index.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 +1 -1
- package/dist/components/index.mjs +1 -1
- package/dist/index.js +8 -8
- 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.mjs +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.mjs +1 -1
- package/dist/pages/Publish.mjs +1 -1
- package/dist/pages/Publish.stories.mjs +1 -1
- package/dist/pages/Website.mjs +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.mjs +1 -1
- package/dist/sections/BlogList.stories.mjs +1 -1
- package/dist/sections/BlogListSection.js +1 -1
- package/dist/sections/BlogListSection.mjs +1 -1
- package/dist/sections/BlogListSection.stories.js +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/PageSections.mjs +1 -1
- 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.mjs +1 -1
- package/dist/sections/ServiceSection.stories.mjs +1 -1
- package/dist/sections/form/index.mjs +1 -1
- package/dist/sections/index.js +3 -3
- package/dist/sections/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-KJ2C7CBU.mjs +0 -4
- package/dist/chunk-VV7TUGRV.mjs +0 -1
- package/dist/chunk-XYLYPBZO.mjs +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./chunk-
|
|
1
|
+
import{a}from"./chunk-FCCL6W7R.mjs";import{a as e}from"./chunk-NIQ4466A.mjs";import{jsx as r}from"react/jsx-runtime";var d=o=>{let{className:t,enableGutter:s=!0,imgClassName:m,media:i,staticImage:l}=o;return r("div",{className:e("h-full ",{container:s},t),children:r(a,{imgClassName:e("rounded-[0.8rem]",m),className:"flex justify-center",resource:i,src:l})})};export{d as a};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{b as w,c as C}from"./chunk-
|
|
4
|
+
import{b as w,c as C}from"./chunk-TUFJTJCO.mjs";import{b as y}from"./chunk-VCC562W2.mjs";import{a as N}from"./chunk-NIQ4466A.mjs";import{a as b}from"./chunk-C5XNOZXC.mjs";import{useEffect as d,useRef as s,useState as E,useCallback as H}from"react";import{Previewer as p}from"pagedjs";import{Fragment as T,jsx as o,jsxs as c}from"react/jsx-runtime";function B(r){var e=document.createElement("div");e.style.display="block",e.style.height=r,document.body.appendChild(e);var i=parseFloat(window.getComputedStyle(e,null).height);return e.parentNode&&e.parentNode.removeChild(e),Math.floor(i)}var l=r=>{let e=document.createElement("div");e.style.height="1mm",document.body.appendChild(e);let i=parseFloat(window.getComputedStyle(e).height);return document.body.removeChild(e),Math.floor(r/i)},z=({page:r,layout:e="portrait",logoImage:i})=>e==="flow"?o(I,{page:r,layout:e,logoImage:i}):o(W,{page:r,layout:e,logoImage:i}),I=({page:r,layout:e="portrait",logoImage:i})=>{let{contentWithIds:m}=b(r),u=s(null),a=s(null),h=s(new p),f={id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}};d(()=>{let n=document.getElementById("printable-content");if(n){console.log("Width: "+n.offsetWidth+"px"),console.log("Width in mm: "+l(n.offsetWidth)+"mm"),console.log("Height: "+n.offsetHeight+"px"),console.log("Height in mm: "+l(n.offsetHeight)+"mm");let t=document.createElement("style");return t.textContent=`@page { size: ${l(n.offsetWidth)}mm ${l(n.offsetHeight)}mm ; margin: 0mm; width: ${l(n.offsetWidth)}mm }; .container : { max-width: ${l(n.offsetWidth)}mm; } .container : { max-width: 100%; }; html body * :not(#prinable-content, #printable-content *) { visibility: hidden !important; }`,document.head.appendChild(t),()=>{document.head.removeChild(t)}}},[e]);let k=H(()=>{if(!a.current)return;a.current&&(a.current.innerHTML="");let n=document.getElementById("printable-content");n&&h.current.preview(document.getElementById("printable-content").innerHTML,[`@page { size: ${l(n.offsetWidth)}mm ${l(n.offsetHeight)}mm ; margin: 0mm; }; .container : { max-width: 100%; }; body { zoom: 100%;}`],a.current).catch(t=>console.error("Paged.js error:",t))},[e]);d(()=>{h.current=new p},[k,e]);let g=[f,...m];return c("div",{children:[o("div",{className:"w-[1123px] print:w-[1123px]",children:c("div",{id:"printable-content",ref:u,children:[g.map((n,t)=>o(T,{children:t===0?o("section",{className:"title-page w-full h-full",children:o(C,{hero:r.hero,title:r.title})},t):c("section",{className:"normal-page overflow-hidden",children:[n.blockName&&o(w,{title:n.blockName}),o(y,{blocks:[n],fill:!0})]},t)})),o("section",{className:"normal-page",children:c("div",{className:`w-full py-2 px-8 flex justify-between items-center
|
|
5
5
|
dark bg-background text-primary`,children:[c("div",{className:"flex px-6 items-center space-x-2",children:[i&&o("img",{src:i.src,alt:"Cortex Reply Logo",className:"h-8"}),o("span",{className:"pl-12 text-sm",children:"Power up your people"})]}),o("a",{href:"https://cortexreply.com",className:"text-sm hover:underline",children:"cortexreply.com"})]})})]})}),o("div",{ref:a,className:"preview-container"})]})},W=({page:r,layout:e="portrait"})=>{let{contentWithIds:i}=b(r),m=s(null),u=s(null),a=s(new p),[h,f]=E(0),g=[{id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}},...i],n=H(()=>{m.current&&(m.current&&(m.current.innerHTML=""),a.current.preview(document.getElementById("printable-content").innerHTML,["./print.css",e==="landscape"?"./landscape.css":"./portrait.css"],m.current).then(t=>f(t.pageCount)).catch(t=>console.error("Paged.js error:",t)))},[e]);return d(()=>{a.current=new p,n()},[n,e]),d(()=>{let t=document.createElement("style");return t.textContent=`@page { size: A4 ${e} ; margin: 0mm; };`,document.head.appendChild(t),()=>{document.head.removeChild(t)}},[]),c("div",{className:"pagedjs-container",children:[o("div",{id:"printable-content",ref:u,style:{display:"none"},className:"pagedjs-content",children:g.map((t,v)=>{var x,P;return o(T,{children:v===0?o("section",{className:"pagedjs-section title-page w-full h-full",children:o(C,{hero:r.hero,title:r.title})},v):c("section",{className:N("pagedjs-section normal-page h-[699px]",`h-[${B("185mm")}px]`,((P=(x=t.theme)==null?void 0:x.settings)==null?void 0:P.theme)==="dark"?"dark":"light"),children:[t.blockName&&o(w,{title:t.blockName}),o(y,{blocks:[t],fill:!0})]},v)})})}),o("div",{ref:m,className:"preview-container"})]})};export{z as a,I as b,W as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{e as r}from"./chunk-
|
|
1
|
+
import{e as r}from"./chunk-ST57SBGX.mjs";import{jsx as e}from"react/jsx-runtime";var c=({children:o,richText:t})=>e("div",{className:"min-w-full py-10 bg-muted mt-24",children:e("div",{className:"container",children:o||t&&e(r,{content:t,enableGutter:!1})})});export{c as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as
|
|
4
|
+
import{a as D}from"./chunk-IQ7LAP7P.mjs";import{a as C}from"./chunk-BRFSZTQJ.mjs";import{useState as x,useCallback as w}from"react";import{DragDropContext as W}from"@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration";import{jsx as l,jsxs as h}from"react/jsx-runtime";var y=["Cold","Qualified","Proposal Made","SoW Submitted","Won","Lost"];function V({initialData:s,addNewDeal:g,updateDeal:n,addComment:b,addNewCustomer:f}){var i;let[r,c]=x(null),S=e=>{var o;return((o=s.deals)!=null?o:[]).filter(t=>t.status===e)},R=e=>e.reduce((o,t)=>o+(t.value||0),0),P=(e,o)=>{let t={Cold:.2,Qualified:.4,"Proposal Made":.6,"SoW Submitted":.7,Won:1,Lost:0};return e.reduce((a,d)=>a+(d.value||0)*t[o],0)},M=w(e=>{var m,p;let{source:o,destination:t}=e;if(!t||o.droppableId===t.droppableId&&o.index===t.index)return;let a=o.droppableId,d=t.droppableId,u=(m=s.deals)==null?void 0:m.filter(v=>v.id===o.index)[0],B=[...(p=s.deals)!=null?p:[]];u&&(u.status=d,n(u))},[n]);return l(W,{onDragEnd:M,children:h("div",{className:"p-4 max-h-[90vh] overflow-auto",children:[l("div",{className:"flex space-x-4 pb-4",children:y.filter(e=>e!=="Won"&&e!=="Lost").map(e=>{var t,a;let o=S(e);return l(D,{status:e,deals:o,customers:(t=s.customers)!=null?t:[],users:s.users,categories:(a=s.categories)!=null?a:[],onDealClick:c,calculateColumnValue:R,calculateWeightedValue:P,addNewDeal:e==="Cold"?g:void 0,onAddCustomer:f},e)})}),r&&l(C,{deal:r,users:s.users,customer:r.customer,categories:(i=s.categories)!=null?i:[],onClose:()=>c(null),onSave:n,onAddComment:e=>b(r.id.toString(),e)})]})})}export{V as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e}from"./chunk-
|
|
1
|
+
import{a as e}from"./chunk-FCCL6W7R.mjs";import{a}from"./chunk-NIQ4466A.mjs";import{jsx as o}from"react/jsx-runtime";var g=r=>{let{className:t,enableGutter:m=!0,imgClassName:s,media:i,staticImage:n}=r;return o("div",{className:a("",{container:m},t),children:o(e,{imgClassName:a("rounded-[0.8rem]",s),resource:i,src:n})})};export{g as a};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as g,b as h,c as b}from"./chunk-
|
|
4
|
+
import{a as g,b as h,c as b}from"./chunk-TUFJTJCO.mjs";import{b as y}from"./chunk-VCC562W2.mjs";import{a as l}from"./chunk-NIQ4466A.mjs";import{useState as C,useEffect as D,useCallback as A}from"react";import{AnimatePresence as k,motion as v}from"framer-motion";import"pagedjs";import{Fragment as I,jsx as t,jsxs as w}from"react/jsx-runtime";var K=c=>{let[s,i]=C(0),{blocks:a,hero:x,logoImage:m}=c,N=a&&Array.isArray(a)&&a.length>0,n=[{id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}},...a],S=e=>{i(e)},r=()=>{i(e=>(e+1)%n.length)},d=()=>{i(e=>(e-1+n.length)%n.length)},u=A(((e,o)=>{let f;return(...T)=>{clearTimeout(f),f=setTimeout(()=>e(...T),o)}})(e=>{e.deltaY>0?r():d()},300),[]),p=e=>{e.key==="ArrowDown"?r():e.key==="ArrowUp"&&d()};return D(()=>(window.addEventListener("wheel",u),window.addEventListener("keydown",p),()=>{window.removeEventListener("wheel",u),window.removeEventListener("keydown",p)}),[]),w("div",{className:"flex flex-col min-h-screen relative overflow-hidden",children:[t("div",{className:"fixed left-0 top-0 flex h-screen w-9 z-10 flex-col items-center justify-center bg-gray-900",children:N&&n.map((e,o)=>t("button",{className:`group relative flex items-center justify-center my-2 h-16 w-4 rounded-full transition-all hover:bg-accent duration-300 ${s===o?"bg-accent":"bg-gray-600"}`,onClick:()=>S(o),children:t("span",{className:"absolute ml-7 left-full text-left transform -translate-y-1/2 translate-x-0 rotate-90 origin-left whitespace-nowrap opacity-0 group-hover:opacity-100 group-hover:translate-x-2 transition-all duration-300",children:e.blockName})},e.id))}),t(k,{children:n.map((e,o)=>t("div",{id:`slide-${o}`,className:"print-section",children:t("div",{className:`absolute flex items-center justify-center transition-opacity duration-1000
|
|
5
5
|
${o===s?"opacity-100":"opacity-0"}
|
|
6
6
|
w-full h-full bg-cover bg-center`,children:o===0?t(b,{hero:x,title:c.title,logoImage:m}):w(I,{children:[e.blockName&&t(h,{title:e.blockName}),t(y,{blocks:[e],fill:!0}),t(g,{logoImage:m})]})})},o))}),t("button",{className:"absolute bottom-4 left-1 z-20 text-3xl text-primary transition-all duration-300 hover:scale-110",onClick:r,children:t(E,{})})]})},E=()=>t(k,{children:t(v.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.7,ease:[.76,0,.24,1]},className:l("w-fit min-h-[50px] min-w-[20px] p-1 border-2 rounded-full","border-accent"),children:t(v.div,{initial:{y:0},animate:{y:[0,25],opacity:[1,0]},transition:{duration:1,ease:"easeOut",repeat:1/0,repeatDelay:1},className:l("w-[12px] h-[12px] rounded-full","bg-accent")})})});export{K as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as m}from"./chunk-
|
|
1
|
+
import{a as m}from"./chunk-NFLAGBIE.mjs";import{a as p}from"./chunk-2QVJBFPH.mjs";import{a as d}from"./chunk-XDFXEM2U.mjs";import{a as l}from"./chunk-FC4BLPWZ.mjs";import{a as c}from"./chunk-UESKYRNK.mjs";import n from"next/image";import{ChevronRightIcon as x,HomeIcon as u}from"@heroicons/react/20/solid";import{Fragment as g,jsx as o,jsxs as s}from"react/jsx-runtime";var b={highImpact:m,lowImpact:p,mediumImpact:d,sectionHero:f},S=a=>{let{type:e}=a||{};if(!e||e==="none")return null;let r=b[e];return r?o(r,{...a}):null};function v({breadcrumbItems:a}){if(a&&a.length>0){let e=a.filter(r=>r.label.toLowerCase()!=="home");return o("nav",{"aria-label":"Breadcrumb",className:"flex",children:s("ol",{role:"list",className:"flex items-center space-x-4",children:[o("li",{children:o("div",{children:s("a",{href:"/",className:"text-foreground hover:text-accent",children:[o(u,{"aria-hidden":"true",className:"size-5 shrink-0"}),o("span",{className:"sr-only",children:"Home"})]})})}),e.map((r,h)=>o("li",{children:s("div",{className:"flex items-center",children:[o(x,{"aria-hidden":"true",className:"size-5 shrink-0 text-gray-400"}),r.href?o("a",{href:r.href,className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:r.label}):o("div",{className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:r.label})]})},h))]})})}return o(g,{})}import{jsx as t,jsxs as i}from"react/jsx-runtime";var f=({title:a,image:e})=>t("div",{children:i("div",{className:"sticky top-0 h-[50vh] min-h-[400px]",children:[t("div",{className:"fixed inset-0 container mt-24 mb-8 z-10 flex items-start justify-start",children:t("h1",{className:"text-5xl md:text-6xl",children:a})}),i("div",{className:"fixed inset-0 h-[50vh] min-h-[400px] select-none",children:[e&&typeof e=="object"&&t(n,{priority:!0,src:e.src,alt:`${process.env.NEXT_PUBLIC_SITE_NAME}`,layout:"fill",style:{objectFit:"cover"},sizes:"100vw",className:"pointer-events-none object-cover"}),e&&typeof e=="string"&&t("div",{children:t(n,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:e})}),t("span",{className:"absolute inset-0 bg-gradient-to-b from-white dark:from-black"})]}),t(l,{className:"text-black z-10",position:"header"})]})});function E({title:a,breadcrumbItems:e,image:r}){return i("section",{className:"-z-10 relative flex min-h-[250px] pt-auto items-end",children:[t("div",{className:"absolute inset-0 z-0",children:r&&t(n,{priority:!0,src:r.src,alt:`${process.env.NEXT_PUBLIC_SITE_NAME}`,layout:"fill",style:{objectFit:"cover"},sizes:"100vw",className:"pointer-events-none object-cover"})}),t("span",{className:"absolute inset-0 bg-gradient-1 from-background/0 to-background dark:from-background/0 dark:to-background"}),t(c,{children:i("div",{className:"relative z-10 flex flex-wrap items-center justify-between gap-x-20 gap-y-8 text-accent-900 dark:text-white lg:pt-[40px] pb-5",children:[t("h1",{className:"font-secondary text-5xl font-bold lg:w-1/2",children:a}),e&&e.length>0&&t(v,{breadcrumbItems:e})]})})]})}export{f as a,E as b,S as c,v as d};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as F}from"./chunk-
|
|
4
|
+
import{a as F}from"./chunk-2GAB2DAK.mjs";import{a as T}from"./chunk-65KP55SA.mjs";import{a as v}from"./chunk-NIQ4466A.mjs";import{a as R}from"./chunk-C5XNOZXC.mjs";import{useState as A}from"react";import G from"html2canvas";import{jsPDF as W}from"jspdf";import{Fragment as J,jsx as e,jsxs as f}from"react/jsx-runtime";function ae({type:p="slideshow",orientation:d="landscape",...s}){let h=s.page,[C,n]=A(d);console.log("args",s);let{contentWithIds:c,tableOfContents:a}=R(h);if(p==="slideshow")return e("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:e(T,{blocks:c,hero:s.hero,title:s.page.title,logoImage:s.logoImage})});if(p==="print")return f(J,{children:[e(U,{layout:C,changeLayout:n}),e(F,{page:s.page,layout:C,logoImage:s.logoImage})]})}var U=({changeLayout:p,layout:d="landscape"})=>{let s=async()=>{var c;if(d==="flow"){console.log("printing");let a=(c=document.getElementById("printable-content"))==null?void 0:c.innerHTML;if(a){var n=window.document.body.innerHTML;window.document.body.innerHTML=a,window.print(),window.document.body.innerHTML=n}}else await new Promise(a=>setTimeout(a,300)),window.print()},h=n=>{p&&p(n)},C=async n=>{console.log("elementToPrintId",n);let c=document.getElementById(n);if(!c)throw new Error(`Element with id ${n} not found`);let a=document.createElement("canvas"),P=window.devicePixelRatio;a.width=Math.max(c.clientWidth||0)*P,a.height=Math.max(c.clientHeight||0)*P+100;let u=a.getContext("2d");if(!u)throw new Error("Failed to get 2D context");let q=u.drawImage,z=Array.from(c.getElementsByTagName("img")).reduce((y,l)=>(y[l.src]=l,y),{});u.drawImage=function(...y){let[l,S,j,i,r,D,B,m,g]=y;if(l instanceof HTMLImageElement){let Y=z[l.src].style.objectFit||"fill",$=z[l.src].style.objectPosition||"center center";r=l.height,i=l.width;let L=i/r,b=m/g,[x,w]=$.split(" ");switch(w||(w=x),Y){case"cover":if(L>b){let t=r*b,o=(i-t)/2;x==="left"&&(o=0),x==="right"&&(o=i-t),S+=o,i=t}else{let t=i/b,o=(r-t)/2;w==="top"&&(o=0),w==="bottom"&&(o=r-t),j+=o,r=t}break;case"contain":if(L>b){let t=m/L,o=(g-t)/2;w==="top"&&(o=0),w==="bottom"&&(o=g-t),B+=o,g=t}else{let t=g*L,o=(m-t)/2;x==="left"&&(o=0),x==="right"&&(o=m-t),D+=o,m=t}break;case"fill":break}}return q.call(u,l,S,j,i,r,D,B,m,g)};let k=document.getElementById(n);if(!k)throw new Error(`Element with id ${n} not found`);var O=a.width,X=a.height;let I=(await G(k,{canvas:a,windowHeight:X,windowWidth:O,scale:window.devicePixelRatio})).toDataURL("image/png"),N=new W({}).getImageProperties(I),M=297,E=M*(N.height/N.width),H=new W({unit:"mm",format:[M,E]});H.addImage(I,"PNG",0,0,M,E),H.save("print.pdf")};return e("div",{className:v("fixed right-2 z-20 top-20 space-y-6 print:hidden"),children:e("div",{className:"flex flex-row-reverse z-20 min-w-70 gap-4",children:f("nav",{className:"z-20 flex grow-0 justify-end gap-4 border-t border-gray-200 bg-white/50 p-2.5 shadow-lg backdrop-blur-lg dark:border-slate-600/60 dark:bg-slate-800/50 min-h-[auto] min-w-[54px] flex-col rounded-lg border",children:[f("a",{onClick:s,className:"flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"currentColor",children:e("path",{d:"M96 160l-32 0 0-96C64 28.7 92.7 0 128 0L357.5 0c17 0 33.3 6.7 45.3 18.7l26.5 26.5c12 12 18.7 28.3 18.7 45.3l0 69.5-32 0 0-69.5c0-8.5-3.4-16.6-9.4-22.6L380.1 41.4c-6-6-14.1-9.4-22.6-9.4L128 32c-17.7 0-32 14.3-32 32l0 96zm352 64L64 224c-17.7 0-32 14.3-32 32l0 128 32 0 0-32c0-17.7 14.3-32 32-32l320 0c17.7 0 32 14.3 32 32l0 32 32 0 0-128c0-17.7-14.3-32-32-32zm0 192l0 64c0 17.7-14.3 32-32 32L96 512c-17.7 0-32-14.3-32-32l0-64-32 0c-17.7 0-32-14.3-32-32L0 256c0-35.3 28.7-64 64-64l384 0c35.3 0 64 28.7 64 64l0 128c0 17.7-14.3 32-32 32l-32 0zM96 352l0 128 320 0 0-128L96 352zM432 248a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"})}),e("small",{className:"text-xs font-medium",children:"Print"})]}),e("div",{className:"flex-grow border-t border-gray-200 dark:border-slate-600/60"}),f("a",{onClick:()=>h("portrait"),className:v("flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 hover:text-accent",d==="portrait"?"text-accent":"hover:text-accent"),children:[e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",fill:"currentColor",children:e("path",{d:"M352 448c0 17.7-14.3 32-32 32L64 480c-17.7 0-32-14.3-32-32L32 64c0-17.7 14.3-32 32-32l256 0c17.7 0 32 14.3 32 32l0 384zM384 64c0-35.3-28.7-64-64-64L64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-384z"})}),e("small",{className:"text-xs",children:"Portrait"})]}),f("a",{onClick:()=>h("landscape"),className:v("flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 hover:text-accent",d==="landscape"?"text-accent":"hover:text-accent"),children:[e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 512",fill:"currentColor",children:e("path",{d:"M576 96c17.7 0 32 14.3 32 32l0 256c0 17.7-14.3 32-32 32L64 416c-17.7 0-32-14.3-32-32l0-256c0-17.7 14.3-32 32-32l512 0zM64 64C28.7 64 0 92.7 0 128L0 384c0 35.3 28.7 64 64 64l512 0c35.3 0 64-28.7 64-64l0-256c0-35.3-28.7-64-64-64L64 64z"})}),e("small",{className:"text-xs",children:"Landscape"})]}),f("a",{onClick:()=>h("flow"),className:v("flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 hover:text-accent",d==="flow"?"text-accent":"hover:text-accent"),children:[e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",fill:"currentColor",children:e("path",{d:"M266.2 4.7C273 1.6 280.5 0 288 0s15 1.6 21.8 4.7l217.4 97.5c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 251.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 153.9C38.6 149.3 32 139.2 32 128s6.6-21.3 16.8-25.9L266.2 4.7zM288 32c-3 0-6 .6-8.8 1.9L69.3 128l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-210-94.1C294 32.6 291 32 288 32zM48.8 358.1l45.9-20.6 39.1 17.5L69.3 384l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-64.5-28.9 39.1-17.5 45.9 20.6c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 507.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 409.9C38.6 405.3 32 395.2 32 384s6.6-21.3 16.8-25.9zM94.7 209.5l39.1 17.5L69.3 256l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-64.5-28.9 39.1-17.5 45.9 20.6c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 379.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 281.9C38.6 277.3 32 267.2 32 256s6.6-21.3 16.8-25.9l45.9-20.6z"})}),e("small",{className:"text-xs",children:"Continuous"})]})]})})})};export{ae as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as p}from"./chunk-SV7NMNDI.mjs";import{e as s,f as m}from"./chunk-
|
|
1
|
+
import{a as p}from"./chunk-SV7NMNDI.mjs";import{e as s,f as m}from"./chunk-ST57SBGX.mjs";import{a as n}from"./chunk-UESKYRNK.mjs";import{a as r}from"./chunk-NIQ4466A.mjs";import{jsx as e,jsxs as f}from"react/jsx-runtime";function N({services:a,className:d,title:o,content:l}){let c={settings:{width:"full",card:"light"}};return f(n,{className:"py-8 h-1/2",children:[f("div",{className:r("w-full text-left"),children:[o&&e("h2",{className:"text-3xl md:text-5xl text-primary",children:o}),e("p",{className:"mt-4 text-gray-700 text-lg",children:l&&e(s,{enableGutter:!1,content:l,enableProse:!1,className:r("prose prose-headings:text-foreground prose-p:text-foreground")})})]}),a&&a.length>0&&e("div",{className:"-mx-4 flex h-[32rem] flex-wrap justify-between pt-6 gap-y-4",children:a.map((t,i)=>e("div",{"data-aos":"fade-up","data-aos-delay":p([200,400,600],i),className:"w-full h-full md:px-4 md:w-1/2 lg:w-1/3",children:e(m,{...c,icon:{type:"none"},title:t.title,image:t.image,content:t.content,link:t.link})},i))})]})}export{N as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{e as b}from"./chunk-
|
|
1
|
+
import{e as b}from"./chunk-ST57SBGX.mjs";import{a as y}from"./chunk-44VMK4FL.mjs";import{a as d}from"./chunk-NIQ4466A.mjs";import{jsx as s,jsxs as h}from"react/jsx-runtime";var H=k=>{var p;let{columns:i,theme:n}=k,T={full:"12",half:"6",oneThird:"4",twoThirds:"8"},R={none:"",line:"border border-primary p-4 rounded-lg"},c=o=>{if(o.type&&o.type==="block"&&o.fields&&(o.fields.blockType==="imageBlock"||o.fields.blockType==="mediaBlock"))return!0;if(o.root&&o.root.children){for(let e of o.root.children)if(c(e))return!0}if(o.children){for(let e of o.children)if(c(e))return!0}return!1},v=(o,e,r)=>{if(e==="none"||r==="full")return{processedRichText:o,heading:null};let t=o,l=null;return o&&o.root&&o.root.children&&o.root.children[0].tag==="h2"&&(t={...o,root:{...o.root,children:o.root.children.slice(1)}},l=o.root.children[0]),{processedRichText:t,heading:l}};return s("div",{className:"container my-6",children:s("div",{className:d("grid grid-cols-4 lg:grid-cols-12 gap-y-8",(p=n==null?void 0:n.settings)!=null&&p.box?"gap-x-8":"gap-x-16"),children:i&&i.length>0&&i.map((o,e)=>{var m,g;let{enableLink:r,link:t,richText:l,size:a}=o,{processedRichText:f,heading:u}=v(l,((m=n==null?void 0:n.settings)==null?void 0:m.box)||"none",a||"full");return h("div",{className:d(`col-span-4 lg:col-span-${T[a]}`,{"md:col-span-2":a!=="full"},R[a!=="full"&&!c(l)&&((g=n==null?void 0:n.settings)==null?void 0:g.box)||"none"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${e+1}00`),children:[u&&s("div",{className:"bg-primary text-primary-foreground mb-4 -mt-4 -mx-4 px-4 py-2 text-xl",children:u.children[0].text}),f&&s(b,{content:f,enableGutter:!1,className:"rich-text"}),r&&s(y,{...t})]},e)})})})};export{H as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{c as v}from"./chunk-YNNW2C2U.mjs";import f from"next/image";import{jsx as e,jsxs as t}from"react/jsx-runtime";function w({blogs:a,base:i}){return e("div",{children:a&&a.length>0&&e("div",{className:"grid gap-10 lg:gap-10 md:grid-cols-2",children:a.map((l,g)=>e(x,{post:l,id:g,base:i},g))})})}var x=({post:a,id:i,base:l})=>{var d,n,c,p;let{slug:g,meta:r,authors:m,categories:b,title:h,publishedAt:N}=a;return t("article",{className:"relative isolate flex flex-col gap-8 lg:flex-row",children:[t("div",{className:"relative aspect-video sm:aspect-[2/1] lg:aspect-square lg:w-64 lg:shrink-0",children:[e(f,{src:((d=r==null?void 0:r.image)==null?void 0:d.url)||"/assets/images/brand/cortex-reply-gradient.png",alt:((n=r==null?void 0:r.image)==null?void 0:n.alt)||"Post image",width:850,height:575,sizes:"100vw",className:"absolute inset-0 size-full rounded-2xl bg-gray-50 object-cover"}),e("div",{className:"absolute inset-0 rounded-2xl ring-1 ring-inset ring-gray-900/10"})]}),t("div",{children:[t("div",{className:"flex items-center gap-x-4 text-xs",children:[e("time",{dateTime:(c=a.publishedAt)!=null?c:void 0,className:"text-foreground",children:v((p=a.publishedAt)!=null?p:"")}),a.categories&&a.categories.map((s,o)=>e("a",{href:`#${s}`,className:"relative z-10 rounded-full bg-gray-50 px-3 py-1.5 font-medium text-gray-600 hover:bg-gray-100",children:s.title},o))]}),e("div",{className:"group relative max-w-xl",children:e("h3",{className:"mt-3 text-lg/6 font-semibold text-accent group-hover:text-xl/6",children:t("a",{href:`/${l}/${a.slug}`||"#",children:[e("span",{className:"absolute inset-0"}),a.title]})})}),e("div",{className:"mt-6 flex flex-wrap lg:border-t gap-y-2 border-gray-200 dark:border-gray-700 pt-6",children:m&&m.map((s,o)=>{var u;return t("div",{className:"relative flex items-center gap-x-4",children:[s.profilePicture?e("img",{alt:s.name||"Author",src:((u=s.profilePicture)==null?void 0:u.url)||"/assets/images/placeholder.jpg",className:"size-10 rounded-full bg-gray-50"}):e("div",{className:"size-10 rounded-full bg-gray-50"})," ",e("div",{className:"text-sm/6",children:t("p",{className:"text-foreground pr-6",children:[e("span",{className:"absolute inset-0"}),s.name]})})]},o)})})]})]},i)};export{w as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a
|
|
1
|
+
import{a}from"./chunk-WLBZXBU3.mjs";import{a as n}from"./chunk-TFWGOEV7.mjs";import{Fragment as c}from"react";import{jsx as o}from"react/jsx-runtime";var T=t=>{var m;let{className:s,htmlElement:i="div",resource:e}=t,r=typeof e=="object"&&((m=e==null?void 0:e.mimeType)==null?void 0:m.includes("video"));return o(i||c,{...i!==null?{className:s}:{},children:r?o(n,{...t}):o(a,{...t})})};export{T as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as s}from"./chunk-DPZBRGJ3.mjs";import{a as r}from"./chunk-IT7DSLCX.mjs";import{a as e}from"./chunk-TXB5Y6PG.mjs";import{a as o}from"./chunk-UESKYRNK.mjs";import{jsx as t,jsxs as m}from"react/jsx-runtime";function c({blogs:n,pages:g,categories:p,types:i,base:a}){return t("section",{children:t(o,{children:t("div",{className:"grid",children:m("div",{children:[i&&t(e,{types:i}),t(s,{blogs:n,base:a}),t(r,{pages:g})]})})})})}export{c as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as c}from"./chunk-
|
|
1
|
+
import{a as c}from"./chunk-TATBOD3E.mjs";import{a as l}from"./chunk-UESKYRNK.mjs";import{a as m}from"./chunk-NIQ4466A.mjs";import t from"next/image";import{Fragment as p,jsx as e,jsxs as i}from"react/jsx-runtime";function u(d){let{images:a,sectionHeading:n,keyPoints:s,description:o}=d;return e(p,{children:e("section",{id:"about-section",className:m(" clip-custom-top-l sticky md:top-0 md:h-screen z-2 flex flex-col items-center justify-center section-padding-primary dark bg-background",d.className||""),children:e(l,{children:i("div",{className:"grid items-center gap-12 lg:grid-cols-[.92fr_1fr] 2xl:gap-20",children:[i("div",{className:"lg:order-2","data-aos":"fade-left","data-aos-delay":"200",children:[e(c,{...n}),s&&s.length>0&&e("div",{className:"mt-7 grid gap-5 text-accent sm:grid-cols-2 md:mt-10 md:gap-[1.875rem]",children:s.map((r,g)=>i("div",{className:"group flex min-h-[64px] items-center gap-5 rounded-5 border border-accent px-6 py-2 md:min-h-[85px] md:px-[1.875rem] md:py-3",children:[e("span",{className:"duration flex-none scale-100 transition-transform ease-linear group-hover:scale-90",children:r.icon}),e("h3",{className:"text-md font-bold leading-[1.25] md:text-lg",children:r.title})]},g))}),o&&e("p",{className:"mt-5 text-primary md:mt-[1.875rem]",children:o})]}),a&&e("div",{className:"mx-auto text-center",children:i("div",{className:"relative mx-auto grid max-w-[580px] grid-cols-2 gap-2.5 overflow-hidden",children:[e("div",{className:"relative flex justify-end overflow-hidden",children:e("div",{className:"relative z-[2] mt-auto","data-aos":"fade-up","data-aos-delay":"200",children:e("div",{className:"relative z-[4] overflow-hidden",children:e(t,{src:a.image1.src,alt:a.image1.alt,width:a.image1.width,height:a.image1.height,className:"rounded-tl-[60px] object-cover object-top"})})})}),e("div",{className:"flex overflow-hidden",children:e(t,{src:a.image2.src,alt:a.image2.alt,width:a.image2.width,height:a.image2.height,className:"rounded-[80px_10px] object-cover","data-aos":"fade-right","data-aos-delay":"300"})}),e("div",{className:"ml-auto flex max-w-[250px] justify-end overflow-hidden",children:e(t,{src:a.image3.src,alt:a.image4.alt,width:a.image3.width,height:a.image3.height,className:"rounded-[50px_10px] object-cover","data-aos":"fade-left","data-aos-delay":"350"})}),e("div",{className:"overflow-hidden",children:e(t,{src:a.image4.src,alt:a.image4.alt,width:a.image4.width,height:a.image4.height,className:"rounded-10 rounded-br-[80px] object-cover","data-aos":"fade-right","data-aos-delay":"400"})}),e("div",{className:"absolute left-1/2 top-1/2 z-[4] -translate-x-1/2 -translate-y-1/2 overflow-hidden",children:e("div",{"data-aos":"zoom-in","data-aos-delay":"450",children:e("span",{className:"grid h-[100px] w-[100px] place-items-center rounded-full border-[12px] border-white bg-accent text-[30px] text-white",children:e("svg",{width:"1em",height:"1em",viewBox:"0 0 27 27",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:e("path",{d:"M26.8125 13.8672C26.8125 14.9922 25.875 15.9297 24.8125 15.9297H15.8125V24.9297C15.8125 25.9922 14.875 26.8672 13.8125 26.8672C12.6875 26.8672 11.8125 25.9922 11.8125 24.9297V15.9297H2.8125C1.6875 15.9297 0.8125 14.9922 0.8125 13.8672C0.8125 12.8047 1.6875 11.9297 2.8125 11.9297H11.8125V2.92969C11.8125 1.80469 12.6875 0.867188 13.8125 0.867188C14.875 0.867188 15.8125 1.80469 15.8125 2.92969V11.9297H24.8125C25.875 11.8672 26.8125 12.8047 26.8125 13.8672Z"})})})})})]})})]})})})})}export{u as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as f}from"./chunk-WU3JMLSC.mjs";import{a as h}from"./chunk-BZAYEKYC.mjs";import{a as l}from"./chunk-
|
|
4
|
+
import{a as f}from"./chunk-WU3JMLSC.mjs";import{a as h}from"./chunk-BZAYEKYC.mjs";import{a as l}from"./chunk-NFLAGBIE.mjs";import{a as u}from"./chunk-2QVJBFPH.mjs";import{a as p}from"./chunk-XDFXEM2U.mjs";import{a as c}from"./chunk-5G43IH3C.mjs";import{b as n}from"./chunk-BDX257W2.mjs";import{a as o,b as a,c as i,e as m}from"./chunk-D76EO57Z.mjs";import{a as s}from"./chunk-F55C2C5H.mjs";import{ExternalLink as d}from"lucide-react";import{jsx as e,jsxs as t}from"react/jsx-runtime";function b({...r}){return t("div",{children:[e(s,{isMenuOpen:!0,logoLight:h,logoDark:f,...r.header}),r.hero&&r.hero.type==="lowImpact"&&e(u,{...r.hero}),r.hero&&r.hero.type==="mediumImpact"&&e(p,{...r.hero}),r.hero&&r.hero.type==="highImpact"&&e(l,{...r.hero}),r.hero&&r.hero.type==="postHero"&&e(c,{...r.hero}),e("div",{className:"container py-8",children:t("div",{className:"grid grid-cols-1 gap-8 lg:grid-cols-3",children:[e("div",{className:"lg:col-span-2",children:r.children}),t("div",{className:"space-y-6",children:[t(o,{children:[e(a,{children:e(i,{children:"Quick Actions"})}),t(m,{children:[e("p",{className:"mb-4 text-sm text-muted-foreground",children:"Get started with your first action in just a few clicks."}),e(n,{className:"w-full",children:"Create New"})]})]}),t(o,{children:[e(a,{children:e(i,{children:"Resources"})}),e(m,{children:t("nav",{className:"flex flex-col space-y-2",children:[t("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["User Guide",e(d,{className:"ml-1 h-3 w-3"})]}),t("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["API Documentation",e(d,{className:"ml-1 h-3 w-3"})]}),t("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["View Pricing Details",e(d,{className:"ml-1 h-3 w-3"})]})]})})]})]})]})})]})}export{b as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./chunk-
|
|
1
|
+
import{a}from"./chunk-MGS3DQ22.mjs";import{e as r}from"./chunk-ST57SBGX.mjs";import m from"clsx";import{jsx as o,jsxs as l}from"react/jsx-runtime";var g=i=>{let{className:n,docs:t,introContent:e}=i;return l("div",{className:m("container",n),children:[e&&o(r,{content:e,enableGutter:!1}),o("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 md:gap-8 items-stretch",children:t==null?void 0:t.map((s,p)=>typeof s=="string"?null:o(a,{doc:s,relationTo:"posts",showCategories:!0},p))})]})};export{g as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as n}from"./chunk-NIQ4466A.mjs";import{useSearchParams as h,usePathname as P,useRouter as x}from"next/navigation";import{FaArrowRight as N,FaArrowLeft as S}from"react-icons/fa6";import{useState as v}from"react";import{jsx as a,jsxs as w}from"react/jsx-runtime";var s=n("grid h-[45px] w-[45px] place-items-center border border-[#3b3b3b] font-secondary text-base text-foreground rounded-full transition-colors duration-300 hover:bg-accent hover:border-accent hover:text-accent-foreground");function $({pages:u}){let b=h(),
|
|
4
|
+
import{a as n}from"./chunk-NIQ4466A.mjs";import{useSearchParams as h,usePathname as P,useRouter as x}from"next/navigation";import{FaArrowRight as N,FaArrowLeft as S}from"react-icons/fa6";import{useState as v}from"react";import{jsx as a,jsxs as w}from"react/jsx-runtime";var s=n("grid h-[45px] w-[45px] place-items-center border border-[#3b3b3b] font-secondary text-base text-foreground rounded-full transition-colors duration-300 hover:bg-accent hover:border-accent hover:text-accent-foreground");function $({pages:u}){let b=h(),d=P(),{replace:m}=x(),{totalPages:l,page:o}=u,[r,c]=v({start:o>3?o-3:1,end:o+2}),i=e=>{e==="left"&&r.start>1?c(t=>({start:t.start-1,end:t.end-1})):e==="right"&&r.end<l&&c(t=>({start:t.start+1,end:t.end+1}))};function f(e){let t=new URLSearchParams(b);e?t.set("page",e):t.delete("page"),m(`${d}?${t.toString()}`)}if(l<=1)return null;let g=[];for(let e=r.start;e<=r.end;e++)g.push(e);return a("div",{className:"mt-12",children:w("ul",{className:"flex flex-wrap items-center justify-center gap-3 md:gap-5","aria-label":"pagination",children:[r.start>1&&a("li",{children:a("button",{className:n(s,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll left",onClick:()=>i("left"),children:a(S,{})})}),g.map((e,t)=>a("li",{children:a("a",{className:n(s,e===o?"border-accent bg-accent text-accent-foreground":"border-accent"),href:"#","aria-label":`pagination button ${e}`,role:"button",onClick:p=>{p.preventDefault(),f(e.toString())},children:e})},t)),r.end<l&&a("li",{children:a("button",{className:n(s,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll right",onClick:()=>i("right"),children:a(N,{})})})]})})}export{$ as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as i}from"./chunk-
|
|
1
|
+
import{a as i}from"./chunk-ZODTQZTN.mjs";import{a as m}from"./chunk-WU3JMLSC.mjs";import{a}from"./chunk-BZAYEKYC.mjs";import{a as o}from"./chunk-5G43IH3C.mjs";import{a as t}from"./chunk-F55C2C5H.mjs";import{jsx as r,jsxs as n}from"react/jsx-runtime";function d({...e}){return n("div",{children:[r(t,{isMenuOpen:!0,logoLight:a,logoDark:m}),r(o,{...e.hero}),r(i,{className:"!pb-0",...e.blog})]})}export{d as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a
|
|
1
|
+
import{a}from"./chunk-H7D3PZKE.mjs";import{a as m}from"./chunk-IQPZEEYJ.mjs";import{a as o}from"./chunk-VZXLXNVY.mjs";import{a as s}from"./chunk-Y2KKUQDU.mjs";import{a as d}from"./chunk-54Y2MUCQ.mjs";import{Fragment as p,jsx as e,jsxs as l}from"react/jsx-runtime";function x({...t}){return e(p,{children:l("div",{className:"flex min-h-full flex-col",children:[e("div",{className:"relative isolate"}),e(d,{...t.header}),e(m,{...t.motd}),l("div",{className:"mx-auto w-full max-w-screen-2xl grow lg:flex xl:px-2",children:[l("div",{className:"flex-1 xl:flex",children:[e("div",{className:"border-b border-gray-200 px-4 py-6 sm:px-6 lg:pl-8 xl:w-64 xl:shrink-0 xl:border-b-0 xl:border-r xl:pl-6",children:t.customers.map((r,i)=>e("div",{className:"py-2 w-full flex justify-center",children:e(o,{...r})},i))}),l("div",{className:"px-4 py-4 sm:px-6 lg:pl-8 xl:flex-1 xl:pl-6",children:[l("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:[e(a,{mainImage:"/placeholder/ai.png",title:"AI Enablement",color:"primary"}),e(a,{mainImage:"/placeholder/finops.png",title:"FinOps",color:"primary2"}),e(a,{mainImage:"/placeholder/metahuman.png",title:"Metahumans",color:"primary3"})]}),e("h1",{className:"text-balance text-3xl m-5 font-semibold tracking-tight text-primary sm:text-5xl",children:"News & Updates"})]})]}),l("div",{className:"shrink-0 border-t border-gray-200 px-4 py-4 sm:px-4 lg:w-96 lg:border-l lg:border-t-0 lg:pr-8 xl:pr-6",children:[e("div",{className:"mx-auto max-w-7xl",children:l("div",{className:"relative isolate overflow-hidden bg-gradient-to-br from-gray-900 via-brand-one to-brand-two px-2 py-4 text-center shadow-2xl sm:rounded-xl sm:px-2",children:[e("h2",{className:"text-balance text-xl font-semibold tracking-tight text-white sm:text-2xl",children:"Ways of working"}),e("p",{className:"mx-3 mt-4 max-w-xl text-pretty text-lg/8 text-gray-300",children:"Guides, Templates and Tools to help you work smarter."}),e("div",{className:"mt-4 flex items-center justify-center gap-x-6",children:e("a",{href:"#",className:"rounded-md bg-white px-3.5 py-2.5 text-sm font-semibold text-gray-900 shadow-sm hover:bg-accent focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-white",children:"Get started"})})]})}),e("div",{className:"mx-auto max-w-7xl flex flex-col items-center",children:t.events.map((r,i)=>e("div",{className:"py-2 w-full flex justify-center",children:e(s,{...r})},i))})]})]})]})})}export{x as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as p}from"./chunk-6P7CY367.mjs";import{a as d}from"./chunk-
|
|
4
|
+
import{a as p}from"./chunk-6P7CY367.mjs";import{a as d}from"./chunk-FCCL6W7R.mjs";import{a as m}from"./chunk-NIQ4466A.mjs";import A from"next/link";import{Fragment as g}from"react";import{jsx as e,jsxs as s}from"react/jsx-runtime";var j=v=>{let{card:f,link:h}=p({}),{className:u,doc:N,relationTo:y,showCategories:a,title:b}=v,{slug:C,categories:t,meta:F,title:k}=N||{},{description:r,image:o}=F||{},i=t&&Array.isArray(t)&&t.length>0,l=b||k,w=r==null?void 0:r.replace(/\s/g," "),T=`/${y}/${C}`;return s("article",{className:m("border border-border rounded-lg overflow-hidden bg-card hover:cursor-pointer",u),ref:f.ref,children:[s("div",{className:"relative w-full ",children:[!o&&e("div",{className:"",children:"No image"}),o&&typeof o!="string"&&e(d,{resource:o,size:"33vw"})]}),s("div",{className:"p-4",children:[a&&i&&e("div",{className:"uppercase text-sm mb-4",children:a&&i&&e("div",{children:t==null?void 0:t.map((n,c)=>{if(typeof n=="object"){let{title:L}=n,P=L||"Untitled category",z=c===t.length-1;return s(g,{children:[P,!z&&e(g,{children:", \xA0"})]},c)}return null})})}),l&&e("div",{className:"prose",children:e("h3",{children:e(A,{className:"not-prose",href:T,ref:h.ref,children:l})})}),r&&e("div",{className:"mt-2",children:r&&e("p",{children:w})})]})]})};export{j as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{e as m}from"./chunk-
|
|
4
|
+
import{e as m}from"./chunk-ST57SBGX.mjs";import{a as o}from"./chunk-44VMK4FL.mjs";import{a as s}from"./chunk-FCCL6W7R.mjs";import{a as c}from"./chunk-FC4BLPWZ.mjs";import h from"next/image";import{jsx as e,jsxs as i}from"react/jsx-runtime";var x=({links:r,media:t,children:l,richText:a})=>e("div",{children:i("div",{className:"sticky top-0 h-[70vh] min-h-[600px]",children:[i("div",{className:"fixed inset-0 container mt-24 mb-8 z-10 flex items-start justify-center",children:[l||a&&e(m,{className:"max-w-none mb-6 ml-0 prose prose-h1:text-5xl prose-headings:text-foreground prose-p:text-foreground",content:a,enableGutter:!0}),Array.isArray(r)&&r.length>0&&e("ul",{className:"flex justify-center gap-4",children:r.map(({link:n},p)=>e("li",{children:e(o,{...n})},p))})]}),i("div",{className:"fixed inset-0 h-[70vh] min-h-[600px] select-none",children:[t&&typeof t=="object"&&e(s,{fill:!0,imgClassName:"z-5 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&e("div",{children:e(h,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),e("span",{className:"absolute inset-0 bg-gradient-to-b from-white dark:from-black"})]}),e(c,{className:"text-black z-10",position:"header"})]})});export{x as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as l}from"./chunk-KDC7QCYU.mjs";import{a as c}from"./chunk-WU3JMLSC.mjs";import{a as f}from"./chunk-BZAYEKYC.mjs";import{c as a}from"./chunk-
|
|
1
|
+
import{a as l}from"./chunk-KDC7QCYU.mjs";import{a as c}from"./chunk-WU3JMLSC.mjs";import{a as f}from"./chunk-BZAYEKYC.mjs";import{c as a}from"./chunk-6JB2YPEG.mjs";import{b as i}from"./chunk-VCC562W2.mjs";import{a as s}from"./chunk-F55C2C5H.mjs";import{a as r}from"./chunk-C5XNOZXC.mjs";import{Observer as p}from"tailwindcss-intersect";import{useEffect as g}from"react";import{jsx as t,jsxs as b}from"react/jsx-runtime";function d({...e}){let o=e.page;console.log("page",o.layout);let{contentWithIds:n,tableOfContents:m}=r(o);return console.log("contentWithIds",n),g(()=>{p.start()},[]),b("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:[t(s,{isMenuOpen:!0,logoLight:f,logoDark:c}),t(a,{...e.hero}),t(l,{edit:e.edit,pageId:e.page.id,tableOfContents:m,relatedContent:e.relatedContent,children:t(i,{blocks:n})})]})}export{d as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as x}from"./chunk-SV7NMNDI.mjs";import{a as v}from"./chunk-
|
|
1
|
+
import{a as x}from"./chunk-SV7NMNDI.mjs";import{a as v}from"./chunk-TATBOD3E.mjs";import{c as u}from"./chunk-YNNW2C2U.mjs";import{a as f}from"./chunk-UESKYRNK.mjs";import{a as n}from"./chunk-WISCWNL2.mjs";import{a as r}from"./chunk-NIQ4466A.mjs";import h from"next/image";import{FaArrowRight as w}from"react-icons/fa6";import{jsx as e,jsxs as i}from"react/jsx-runtime";function $({blogs:o,sectionHeading:t,base:l="insights"}){return console.log(o),i(f,{children:[e("div",{className:"",children:t&&e("div",{"data-aos":"fade-up","data-aos-delay":"100",children:e(v,{...t,alignment:"start",hasBottomSpacing:!0})})}),o&&o.length>0&&e("div",{className:"-mx-4 flex flex-wrap justify-start gap-y-4",children:o.map((s,a)=>e("div",{"data-aos":"fade-up","data-aos-delay":x([200,400,600],a),className:"w-full h-full md:w-1/2 md:px-4 lg:w-1/3",children:e(y,{...s,base:l})},a))})]})}var b=r("inline-flex items-center gap-2 text-white"),j=r("text-sm text-white");function y({slug:o,meta:t,authors:l,title:s,publishedAt:a,categories:N,base:g}){var p,c,d,m;return i("article",{className:"group/blog relative z-1 flex h-full min-h-[452px] flex-col overflow-hidden rounded-5 p-0",children:[e("span",{className:"absolute inset-0 z-[2] "}),e(h,{src:((p=t==null?void 0:t.image)==null?void 0:p.url)||"/assets/images/brand/cortex-reply-gradient.png",alt:((c=t==null?void 0:t.image)==null?void 0:c.alt)||"Blog image",fill:!0,sizes:`
|
|
2
2
|
(min-width:768px) 50vw,
|
|
3
3
|
(min-width:1024px) 33vw,
|
|
4
4
|
100vw
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as n}from"./chunk-
|
|
1
|
+
import{a as n}from"./chunk-VSNDROOR.mjs";import{a as m}from"./chunk-TATBOD3E.mjs";import{a as r}from"./chunk-KML6U7IE.mjs";import{a as l}from"./chunk-UESKYRNK.mjs";import c from"next/image";import{FaEnvelope as g,FaPhoneFlip as v}from"react-icons/fa6";import{jsx as e,jsxs as i}from"react/jsx-runtime";function y(a){let{sectionHeading:t,image:s}=a;return i("div",{className:"relative w-full py-[60px]",children:[e("div",{className:"absolute left-0 top-0 z-1 h-full w-full overflow-hidden md:w-[56%] md:rounded-r-5",children:e(c,{src:s.src,alt:s.alt,fill:!0,className:"object-cover",sizes:"(min-width: 768px) 60vw, 100vw",placeholder:"blur",blurDataURL:r})}),e(l,{children:e("div",{className:"ml-auto md:w-1/2",children:i("div",{className:"relative z-[2] rounded-5 bg-white p-10 shadow-1 dark:bg-accent-700 lg:p-[60px]",children:[e("div",{className:"mb-30px",children:e(m,{...t,invert:!0})}),e(n,{})]})})})]})}function S(a){return e("div",{className:"",children:e("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:e("div",{className:"mx-auto max-w-2xl space-y-16 divide-y divide-gray-100 lg:mx-0 lg:max-w-none",children:i("div",{className:"grid grid-cols-1 gap-10 pt-16 lg:grid-cols-3",children:[i("div",{children:[e("h2",{className:"text-pretty text-4xl text-primary",children:"Locations"}),e("p",{className:"mt-4 text-base/7 text-foreground",children:"We have multiple locations across the UK."})]}),e("div",{className:"grid grid-cols-1 gap-6 sm:grid-cols-2 lg:col-span-2 lg:gap-8",children:a.locations&&a.locations.map((t,s)=>{var o;return i("div",{className:"rounded-2xl p-10 border",children:[e("h3",{className:"text-base/7 text-primary",children:t.title}),i("address",{className:"mt-3 space-y-1 text-sm/6 not-italic text-foreground",children:[(o=t.location.split(","))==null?void 0:o.map((d,p)=>e("p",{children:d},p))," ",t.mails&&i("p",{className:"flex items-center space-x-2",children:[e(g,{className:"pr-2 text-primary size-auto"}),e("span",{children:t.mails[0]})]}),t.phoneNumbers&&t.phoneNumbers.length>0&&i("p",{className:"flex items-center space-x-2",children:[e(v,{className:"pr-2 text-primary size-auto"}),t.phoneNumbers[0]]})]})]},s)})})]})})})})}export{y as a,S as b};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as l}from"./chunk-4DJ6HKHR.mjs";import{a as m}from"./chunk-
|
|
4
|
+
import{a as l}from"./chunk-4DJ6HKHR.mjs";import{a as m}from"./chunk-WV4NLWRU.mjs";import{a}from"./chunk-AUBX64ZD.mjs";import{a as n}from"./chunk-QSIJJSKA.mjs";import{a as d}from"./chunk-QQXJS6KW.mjs";import{a as u}from"./chunk-WU3JMLSC.mjs";import{a as S}from"./chunk-BZAYEKYC.mjs";import{a as t}from"./chunk-GQ2G2FNR.mjs";import{a as i}from"./chunk-E6MYDQ3V.mjs";import{Fragment as s,jsx as e,jsxs as f}from"react/jsx-runtime";function c({...r}){return f("div",{className:"relative overflow-y-none scroll-smooth snap-y snap-mandatory",children:[e("div",{className:"h-screen relative overflow-hidden snap-start",children:e(t,{...r.header,logoVideo:l,logoLight:S,logoDark:u})}),e(a,{...r.service}),e(p,{...r.service}),e(n,{...r.contact}),e(d,{...r.blog}),e(i,{...r.footer})]})}function p({services:r}){return e(s,{children:r.map((b,o)=>e(m,{...b,theme:o%2===0?"dark":"light"},o))})}export{c as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as H,j,k as E,l as G,m as _,n as $,o as J}from"./chunk-O5BAW5XQ.mjs";import{a as N}from"./chunk-44VMK4FL.mjs";import{a as I}from"./chunk-RJGKFNZL.mjs";import{a as S}from"./chunk-6DHYRATS.mjs";import{a as T}from"./chunk-2NFKSNJW.mjs";import{b as P}from"./chunk-BDX257W2.mjs";import{a as g}from"./chunk-SFLOMJ2U.mjs";import{a as l}from"./chunk-NIQ4466A.mjs";import{jsx as k,jsxs as U}from"react/jsx-runtime";var R=({links:a,richText:e})=>k("div",{className:"container",children:U("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:[k("div",{className:"max-w-[48rem] flex items-center",children:e&&k(u,{className:"mb-0",content:e,enableGutter:!1})}),k("div",{className:"flex flex-col gap-8",children:(a||[]).map(({link:t},s)=>k(N,{size:"lg",...t},s))})]})});import X from"next/image";import{jsx as n,jsxs as w}from"react/jsx-runtime";function F(a){return a&&typeof a=="object"&&"type"in a&&"iconName"in a}function q({image:a,icon:e,title:t,subtitle:s,content:c,statistic:r,settings:o,link:p,className:d}){var b,x;let f={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:"bg-background"},y={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return console.log("image",a),w("div",{className:l("min-w-56 max-w-xl h-full flex flex-col group",a?"p-0 md:p-0":"p-8 md:p-8",o&&!a&&f[(o==null?void 0:o.card)==="default"?"solid":o==null?void 0:o.card],a&&"bg-foreground",o&&(o==null?void 0:o.card)==="outline"?"text-gray-900":"text-white",y[(b=o==null?void 0:o.width)!=null?b:"auto"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",o&&`intersect:animate-delay-${o.order||1}00`,d),children:[a&&n("div",{className:"relative h-64 w-full mb-0",children:n(X,{src:a.url||"/placeholder.svg",alt:a.alt||"card header image",fill:!0,style:{objectFit:"cover"},priority:!0})}),w("div",{className:l(a?"p-4 pb-8 md:px-12":"p-0 md:p-0","flex flex-col flex-grow"),children:[s&&n("div",{className:"mb-4 text-primary uppercase font-light",children:s}),n("div",{className:"flex items-center gap-4 mb-2",children:n(O,{icon:{type:(e==null?void 0:e.type)||"fa-light",iconName:(e==null?void 0:e.icon)||"no-icon-error"},heading:t!=null?t:"",variant:(o==null?void 0:o.card)==="default"?"solid":(x=o==null?void 0:o.card)!=null?x:"solid",iconSize:(o==null?void 0:o.iconSize)||"large"})}),r&&n("div",{className:"mb-6",children:n("div",{className:l("text-4xl text-wrap font-bold leading-none overflow-hidden",(o==null?void 0:o.card)==="outline"||(o==null?void 0:o.card)==="light"?"text-brand-green":"text-white"),children:r})}),c&&typeof c=="object"&&n(u,{enableGutter:!1,content:c,enableProse:!1,className:l("space-y-6",(o==null?void 0:o.card)==="outline"||(o==null?void 0:o.card)==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100",a&&"prose prose-headings:text-background prose-p:text-background")}),c&&typeof c=="string"&&n("div",{className:l("space-y-6",(o==null?void 0:o.card)==="outline"||(o==null?void 0:o.card)==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100",a&&"prose prose-headings:text-background prose-p:text-background"),children:c}),p&&p.url&&n("div",{className:"pt-6 h-full flex items-end justify-start",children:n("a",{className:"text-accent justify-start font-semibold uppercase",href:p.url||"#",children:(p==null?void 0:p.label)||"Find out more"})}),(o==null?void 0:o.card)==="radial"&&n("div",{className:"absolute bottom-0 right-0 w-2/3 h-2/3 blur-3xl rounded-full",style:{background:"radial-gradient(circle, rgba(164,35,104,0.3) 0%, rgba(74,16,48,0) 70%)"}})]})]})}var O=({icon:a,heading:e,variant:t,iconSize:s,subtitle:c})=>a&&s==="small"&&a.iconName!="no-icon-error"?w("div",{className:"flex items-start justify-between w-full mb-2",children:[n("div",{className:l("font-semibold",t==="outline"||t==="light"?"text-primary":"text-white",s==="small"?"text-2xl":"text-3xl"),children:e}),F(a)&&n("div",{className:l("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",t==="outline"||t==="light"?"text-primary":"text-white",s==="small"?"mt-2":""),children:n(g,{type:a.type,iconName:a.iconName,size:"2x"})})]}):a&&a.iconName!="no-icon-error"?w("div",{className:"flex flex-col gap-4",children:[F(a)&&n("div",{className:l("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",t==="outline"||t==="light"?"text-accent":""),children:n(g,{type:a.type,iconName:a.iconName,size:"4x"})}),n("h3",{className:l("font-normal",t==="outline"||t==="light"?"text-2xl text-primary":"text-3xl"),children:e})]}):n("div",{className:"flex items-center gap-4 mb-2",children:n("div",{className:l("font-regular",t==="outline"||t==="light"?"text-2xl text-primary":"text-3xl"),children:e})});import{jsx as m,jsxs as B}from"react/jsx-runtime";function D(a){return a&&typeof a=="object"&&"type"in a&&"iconName"in a}function z({variant:a="outline",className:e,icon:t,iconSize:s="large",width:c="auto",order:r=0,heading:o,subheading:p,content:d,statistic:f,buttonText:y,buttonHref:b}){let x={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:""},M={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return B("div",{className:l("rounded-3xl p-8 md:p-8 min-w-56 flex flex-col group",x[a],a==="outline"?"text-gray-900":"text-white",e,M[c],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${r+1}00`),children:[m("div",{className:"flex items-center gap-4 mb-2",children:m(K,{icon:t,heading:o,variant:a,iconSize:s})}),f&&m("div",{className:"mb-6",children:m("div",{className:l("text-4xl text-wrap font-bold leading-none overflow-hidden",a==="outline"||a==="light"?"text-primary":"text-white"),children:f})}),p&&m("div",{className:"mb-4 text-xl md:text-2xl font-light",children:p}),d&&typeof d=="object"&&m("div",{className:l("space-y-6"),children:m(u,{enableGutter:!1,content:d,enableProse:!1,className:l(a==="outline"||a==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100")})}),d&&typeof d=="string"&&m("div",{className:l("space-y-6",a==="outline"||a==="light"?"text-gray-900":"text-gray-100"),children:d}),y&&m("div",{className:"mt-auto pt-6 flex items-center justify-center",children:m(P,{size:"lg",className:"text-white text-lg rounded-xl w-full mt-auto items-center justify-center",asChild:!0,children:m("a",{href:b,children:y})})}),a==="radial"&&m("div",{className:"absolute bottom-0 right-0 w-2/3 h-2/3 blur-3xl rounded-full",style:{background:"radial-gradient(circle, rgba(164,35,104,0.3) 0%, rgba(74,16,48,0) 70%)"}})]})}var K=({icon:a,heading:e,variant:t,iconSize:s})=>a&&s==="small"?B("div",{className:"flex items-start gap-4 mb-2",children:[D(a)&&m("div",{className:l("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",t==="outline"||t==="light"?"text-primary":"text-white",s==="small"?"mt-2":""),children:m(g,{type:a.type,iconName:a.iconName,size:"2x"})}),m("div",{className:l("font-semibold",t==="outline"||t==="light"?"text-primary":"text-white",s==="small"?"text-2xl":"text-3xl"),children:e})]}):a?B("div",{className:"flex flex-col gap-4",children:[D(a)&&m("div",{className:l("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",t==="outline"||t==="light"?"text-accent":""),children:m(g,{type:a.type,iconName:a.iconName,size:"4x"})}),m("h3",{className:l("font-semibold",t==="outline"||t==="light"?"text-2xl text-primary":"text-3xl"),children:e})]}):m("div",{className:"flex items-center gap-4 mb-2",children:m("div",{className:l("font-semibold",t==="outline"||t==="light"?"text-2xl text-primary":"text-3xl"),children:e})});import{jsx as h,jsxs as Q}from"react/jsx-runtime";var A=({title:a,description:e,features:t,id:s,nested:c=!1})=>Q("section",{className:l(!c&&"container","w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[a&&h("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl text-primary",id:s||"",children:a}),e&&typeof e=="string"&&h("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:e}),e&&typeof e=="object"&&h("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:h(u,{content:e,enableGutter:!1})}),h("div",{className:`grid gap-8 mt-10 md:grid-cols-${t?t.length:1}`,children:t&&t.map((r,o)=>{var d,f,y,b,x;let p=()=>{if(r.icon&&"type"in r.icon&&r.icon.type!=="none")return{type:r.icon.type,iconName:r.icon.icon}};return h(z,{variant:((d=r.settings)==null?void 0:d.card)==="default"?"light":((f=r.settings)==null?void 0:f.card)||"outline",icon:p()||void 0,iconSize:((y=r.settings)==null?void 0:y.iconSize)||"large",width:"auto",order:o,heading:r.title||"",content:r.content||void 0,statistic:r.statistic||void 0,buttonText:(b=r.link)!=null&&b.url?"Find out more":void 0,buttonHref:((x=r.link)==null?void 0:x.url)||void 0},o)})})]});import V,{Fragment as W}from"react";import{jsx as i}from"react/jsx-runtime";function v({nodes:a}){return i(W,{children:a==null?void 0:a.map((e,t)=>{if(e==null)return null;if(e.type==="text"&&e.text){let r=i(V.Fragment,{children:e.text},t);return e.format&1&&(r=i("strong",{children:r},t)),e.format&2&&(r=i("em",{children:r},t)),e.format&4&&(r=i("span",{style:{textDecoration:"line-through"},children:r},t)),e.format&8&&(r=i("span",{style:{textDecoration:"underline"},children:r},t)),e.format&16&&(r=i("code",{children:e.text},t)),e.format&32&&(r=i("sub",{children:r},t)),e.format&64&&(r=i("sup",{children:r},t)),r}if(e.type==="table")return i("table",{children:i("tbody",{children:e.children.map((r,o)=>i("tr",{children:r.children.map((p,d)=>i("td",{children:v({nodes:p.children})},d))},o))})},t);let s=r=>{if(r.children==null)return null;if((r==null?void 0:r.type)==="list"&&(r==null?void 0:r.listType)==="check")for(let o of r.children)"checked"in o&&(o!=null&&o.checked||(o.checked=!1));return v({nodes:r.children})},c="children"in e?s(e):"";if(e.type==="block"){let r=e.fields,o=r==null?void 0:r.blockType;if(!r||!o)return null;switch(o){case"cta":return i(R,{...r},t);case"mediaBlock":return i(I,{className:"col-start-1 col-span-3",imgClassName:"m-0",...r,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},t);case"imageBlock":return i(S,{className:"col-start-1 col-span-3",imgClassName:"m-0",...r,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},t);case"banner":return i(L,{className:"col-start-2 mb-4",...r},t);case"code":return i(T,{className:"col-start-2",...r},t);case"features":return i(A,{...r,nested:!0},t);case"reusableContentBlock":v({nodes:r.reusableContent.layout});default:return null}}else switch(e.type){case"linebreak":return i("br",{className:"col-start-2"},t);case"paragraph":return i("p",{className:"col-start-2",children:c},t);case"heading":{let r=e==null?void 0:e.tag;return i(r,{className:"col-start-2",id:(e==null?void 0:e.id)||"",children:c},t)}case"list":{let r=e==null?void 0:e.tag;return i(r,{className:"list col-start-2",children:c},t)}case"listitem":return(e==null?void 0:e.checked)!=null?i("li",{"aria-checked":e.checked?"true":"false",className:` ${e.checked,""}`,role:"checkbox",tabIndex:-1,value:e==null?void 0:e.value,children:c},t):i("li",{value:e==null?void 0:e.value,children:c},t);case"quote":return i("blockquote",{className:"col-start-2",children:c},t);case"link":{let r=e.fields;return i(N,{newTab:!!(r!=null&&r.newTab),reference:r.doc,type:r.linkType==="internal"?"reference":"custom",url:r.url,children:c},t)}case"autolink":{let r=e.fields;return i(N,{newTab:!!(r!=null&&r.newTab),reference:r.doc,type:r.linkType==="internal"?"reference":"custom",url:r.url,children:c},t)}default:return null}})})}import{jsx as Y}from"react/jsx-runtime";var u=({className:a,content:e,enableGutter:t=!0,enableProse:s=!0})=>{var c;return e?Y("div",{className:l({"container ":t,"max-w-none":!t,"mx-auto prose dark:prose-invert ":s},a),children:e&&!Array.isArray(e)&&typeof e=="object"&&"root"in e&&v({nodes:(c=e==null?void 0:e.root)==null?void 0:c.children})}):null};import{jsx as C}from"react/jsx-runtime";var L=({className:a,content:e,style:t})=>C("div",{className:l("mx-auto my-8 w-full",a),children:C("div",{className:l("border py-3 px-6 flex items-center rounded",{"border-border bg-card":t==="info","border-error bg-error/30":t==="error","border-success bg-success/30":t==="success","border-warning bg-warning/30":t==="warning"}),children:C(u,{content:e,enableGutter:!1,enableProse:!1})})});export{L as a,R as b,A as c,v as d,u as e,q as f,z as g};
|
|
1
|
+
import{i as H,j,k as E,l as G,m as _,n as $,o as J}from"./chunk-O5BAW5XQ.mjs";import{a as N}from"./chunk-44VMK4FL.mjs";import{a as S}from"./chunk-4YJ3HV64.mjs";import{a as I}from"./chunk-2A6JF3LE.mjs";import{a as T}from"./chunk-2NFKSNJW.mjs";import{b as P}from"./chunk-BDX257W2.mjs";import{a as g}from"./chunk-SFLOMJ2U.mjs";import{a as l}from"./chunk-NIQ4466A.mjs";import{jsx as k,jsxs as U}from"react/jsx-runtime";var R=({links:a,richText:e})=>k("div",{className:"container",children:U("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:[k("div",{className:"max-w-[48rem] flex items-center",children:e&&k(u,{className:"mb-0",content:e,enableGutter:!1})}),k("div",{className:"flex flex-col gap-8",children:(a||[]).map(({link:t},s)=>k(N,{size:"lg",...t},s))})]})});import X from"next/image";import{jsx as n,jsxs as w}from"react/jsx-runtime";function F(a){return a&&typeof a=="object"&&"type"in a&&"iconName"in a}function q({image:a,icon:e,title:t,subtitle:s,content:c,statistic:r,settings:o,link:p,className:d}){var b,x;let f={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:"bg-background"},y={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return console.log("image",a),w("div",{className:l("min-w-56 max-w-xl h-full flex flex-col group",a?"p-0 md:p-0":"p-8 md:p-8",o&&!a&&f[(o==null?void 0:o.card)==="default"?"solid":o==null?void 0:o.card],a&&"bg-foreground",o&&(o==null?void 0:o.card)==="outline"?"text-gray-900":"text-white",y[(b=o==null?void 0:o.width)!=null?b:"auto"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",o&&`intersect:animate-delay-${o.order||1}00`,d),children:[a&&n("div",{className:"relative h-64 w-full mb-0",children:n(X,{src:a.url||"/placeholder.svg",alt:a.alt||"card header image",fill:!0,style:{objectFit:"cover"},priority:!0})}),w("div",{className:l(a?"p-4 pb-8 md:px-12":"p-0 md:p-0","flex flex-col flex-grow"),children:[s&&n("div",{className:"mb-4 text-primary uppercase font-light",children:s}),n("div",{className:"flex items-center gap-4 mb-2",children:n(O,{icon:{type:(e==null?void 0:e.type)||"fa-light",iconName:(e==null?void 0:e.icon)||"no-icon-error"},heading:t!=null?t:"",variant:(o==null?void 0:o.card)==="default"?"solid":(x=o==null?void 0:o.card)!=null?x:"solid",iconSize:(o==null?void 0:o.iconSize)||"large"})}),r&&n("div",{className:"mb-6",children:n("div",{className:l("text-4xl text-wrap font-bold leading-none overflow-hidden",(o==null?void 0:o.card)==="outline"||(o==null?void 0:o.card)==="light"?"text-brand-green":"text-white"),children:r})}),c&&typeof c=="object"&&n(u,{enableGutter:!1,content:c,enableProse:!1,className:l("space-y-6",(o==null?void 0:o.card)==="outline"||(o==null?void 0:o.card)==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100",a&&"prose prose-headings:text-background prose-p:text-background")}),c&&typeof c=="string"&&n("div",{className:l("space-y-6",(o==null?void 0:o.card)==="outline"||(o==null?void 0:o.card)==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100",a&&"prose prose-headings:text-background prose-p:text-background"),children:c}),p&&p.url&&n("div",{className:"pt-6 h-full flex items-end justify-start",children:n("a",{className:"text-accent justify-start font-semibold uppercase",href:p.url||"#",children:(p==null?void 0:p.label)||"Find out more"})}),(o==null?void 0:o.card)==="radial"&&n("div",{className:"absolute bottom-0 right-0 w-2/3 h-2/3 blur-3xl rounded-full",style:{background:"radial-gradient(circle, rgba(164,35,104,0.3) 0%, rgba(74,16,48,0) 70%)"}})]})]})}var O=({icon:a,heading:e,variant:t,iconSize:s,subtitle:c})=>a&&s==="small"&&a.iconName!="no-icon-error"?w("div",{className:"flex items-start justify-between w-full mb-2",children:[n("div",{className:l("font-semibold",t==="outline"||t==="light"?"text-primary":"text-white",s==="small"?"text-2xl":"text-3xl"),children:e}),F(a)&&n("div",{className:l("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",t==="outline"||t==="light"?"text-primary":"text-white",s==="small"?"mt-2":""),children:n(g,{type:a.type,iconName:a.iconName,size:"2x"})})]}):a&&a.iconName!="no-icon-error"?w("div",{className:"flex flex-col gap-4",children:[F(a)&&n("div",{className:l("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",t==="outline"||t==="light"?"text-accent":""),children:n(g,{type:a.type,iconName:a.iconName,size:"4x"})}),n("h3",{className:l("font-normal",t==="outline"||t==="light"?"text-2xl text-primary":"text-3xl"),children:e})]}):n("div",{className:"flex items-center gap-4 mb-2",children:n("div",{className:l("font-regular",t==="outline"||t==="light"?"text-2xl text-primary":"text-3xl"),children:e})});import{jsx as m,jsxs as B}from"react/jsx-runtime";function D(a){return a&&typeof a=="object"&&"type"in a&&"iconName"in a}function z({variant:a="outline",className:e,icon:t,iconSize:s="large",width:c="auto",order:r=0,heading:o,subheading:p,content:d,statistic:f,buttonText:y,buttonHref:b}){let x={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:""},M={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return B("div",{className:l("rounded-3xl p-8 md:p-8 min-w-56 flex flex-col group",x[a],a==="outline"?"text-gray-900":"text-white",e,M[c],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${r+1}00`),children:[m("div",{className:"flex items-center gap-4 mb-2",children:m(K,{icon:t,heading:o,variant:a,iconSize:s})}),f&&m("div",{className:"mb-6",children:m("div",{className:l("text-4xl text-wrap font-bold leading-none overflow-hidden",a==="outline"||a==="light"?"text-primary":"text-white"),children:f})}),p&&m("div",{className:"mb-4 text-xl md:text-2xl font-light",children:p}),d&&typeof d=="object"&&m("div",{className:l("space-y-6"),children:m(u,{enableGutter:!1,content:d,enableProse:!1,className:l(a==="outline"||a==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100")})}),d&&typeof d=="string"&&m("div",{className:l("space-y-6",a==="outline"||a==="light"?"text-gray-900":"text-gray-100"),children:d}),y&&m("div",{className:"mt-auto pt-6 flex items-center justify-center",children:m(P,{size:"lg",className:"text-white text-lg rounded-xl w-full mt-auto items-center justify-center",asChild:!0,children:m("a",{href:b,children:y})})}),a==="radial"&&m("div",{className:"absolute bottom-0 right-0 w-2/3 h-2/3 blur-3xl rounded-full",style:{background:"radial-gradient(circle, rgba(164,35,104,0.3) 0%, rgba(74,16,48,0) 70%)"}})]})}var K=({icon:a,heading:e,variant:t,iconSize:s})=>a&&s==="small"?B("div",{className:"flex items-start gap-4 mb-2",children:[D(a)&&m("div",{className:l("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",t==="outline"||t==="light"?"text-primary":"text-white",s==="small"?"mt-2":""),children:m(g,{type:a.type,iconName:a.iconName,size:"2x"})}),m("div",{className:l("font-semibold",t==="outline"||t==="light"?"text-primary":"text-white",s==="small"?"text-2xl":"text-3xl"),children:e})]}):a?B("div",{className:"flex flex-col gap-4",children:[D(a)&&m("div",{className:l("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",t==="outline"||t==="light"?"text-accent":""),children:m(g,{type:a.type,iconName:a.iconName,size:"4x"})}),m("h3",{className:l("font-semibold",t==="outline"||t==="light"?"text-2xl text-primary":"text-3xl"),children:e})]}):m("div",{className:"flex items-center gap-4 mb-2",children:m("div",{className:l("font-semibold",t==="outline"||t==="light"?"text-2xl text-primary":"text-3xl"),children:e})});import{jsx as h,jsxs as Q}from"react/jsx-runtime";var A=({title:a,description:e,features:t,id:s,nested:c=!1})=>Q("section",{className:l(!c&&"container","w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[a&&h("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl text-primary",id:s||"",children:a}),e&&typeof e=="string"&&h("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:e}),e&&typeof e=="object"&&h("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:h(u,{content:e,enableGutter:!1})}),h("div",{className:`grid gap-8 mt-10 md:grid-cols-${t?t.length:1}`,children:t&&t.map((r,o)=>{var d,f,y,b,x;let p=()=>{if(r.icon&&"type"in r.icon&&r.icon.type!=="none")return{type:r.icon.type,iconName:r.icon.icon}};return h(z,{variant:((d=r.settings)==null?void 0:d.card)==="default"?"light":((f=r.settings)==null?void 0:f.card)||"outline",icon:p()||void 0,iconSize:((y=r.settings)==null?void 0:y.iconSize)||"large",width:"auto",order:o,heading:r.title||"",content:r.content||void 0,statistic:r.statistic||void 0,buttonText:(b=r.link)!=null&&b.url?"Find out more":void 0,buttonHref:((x=r.link)==null?void 0:x.url)||void 0},o)})})]});import V,{Fragment as W}from"react";import{jsx as i}from"react/jsx-runtime";function v({nodes:a}){return i(W,{children:a==null?void 0:a.map((e,t)=>{if(e==null)return null;if(e.type==="text"&&e.text){let r=i(V.Fragment,{children:e.text},t);return e.format&1&&(r=i("strong",{children:r},t)),e.format&2&&(r=i("em",{children:r},t)),e.format&4&&(r=i("span",{style:{textDecoration:"line-through"},children:r},t)),e.format&8&&(r=i("span",{style:{textDecoration:"underline"},children:r},t)),e.format&16&&(r=i("code",{children:e.text},t)),e.format&32&&(r=i("sub",{children:r},t)),e.format&64&&(r=i("sup",{children:r},t)),r}if(e.type==="table")return i("table",{children:i("tbody",{children:e.children.map((r,o)=>i("tr",{children:r.children.map((p,d)=>i("td",{children:v({nodes:p.children})},d))},o))})},t);let s=r=>{if(r.children==null)return null;if((r==null?void 0:r.type)==="list"&&(r==null?void 0:r.listType)==="check")for(let o of r.children)"checked"in o&&(o!=null&&o.checked||(o.checked=!1));return v({nodes:r.children})},c="children"in e?s(e):"";if(e.type==="block"){let r=e.fields,o=r==null?void 0:r.blockType;if(!r||!o)return null;switch(o){case"cta":return i(R,{...r},t);case"mediaBlock":return i(I,{className:"col-start-1 col-span-3",imgClassName:"m-0",...r,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},t);case"imageBlock":return i(S,{className:"col-start-1 col-span-3",imgClassName:"m-0",...r,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},t);case"banner":return i(L,{className:"col-start-2 mb-4",...r},t);case"code":return i(T,{className:"col-start-2",...r},t);case"features":return i(A,{...r,nested:!0},t);case"reusableContentBlock":v({nodes:r.reusableContent.layout});default:return null}}else switch(e.type){case"linebreak":return i("br",{className:"col-start-2"},t);case"paragraph":return i("p",{className:"col-start-2",children:c},t);case"heading":{let r=e==null?void 0:e.tag;return i(r,{className:"col-start-2",id:(e==null?void 0:e.id)||"",children:c},t)}case"list":{let r=e==null?void 0:e.tag;return i(r,{className:"list col-start-2",children:c},t)}case"listitem":return(e==null?void 0:e.checked)!=null?i("li",{"aria-checked":e.checked?"true":"false",className:` ${e.checked,""}`,role:"checkbox",tabIndex:-1,value:e==null?void 0:e.value,children:c},t):i("li",{value:e==null?void 0:e.value,children:c},t);case"quote":return i("blockquote",{className:"col-start-2",children:c},t);case"link":{let r=e.fields;return i(N,{newTab:!!(r!=null&&r.newTab),reference:r.doc,type:r.linkType==="internal"?"reference":"custom",url:r.url,children:c},t)}case"autolink":{let r=e.fields;return i(N,{newTab:!!(r!=null&&r.newTab),reference:r.doc,type:r.linkType==="internal"?"reference":"custom",url:r.url,children:c},t)}default:return null}})})}import{jsx as Y}from"react/jsx-runtime";var u=({className:a,content:e,enableGutter:t=!0,enableProse:s=!0})=>{var c;return e?Y("div",{className:l({"container ":t,"max-w-none":!t,"mx-auto prose dark:prose-invert ":s},a),children:e&&!Array.isArray(e)&&typeof e=="object"&&"root"in e&&v({nodes:(c=e==null?void 0:e.root)==null?void 0:c.children})}):null};import{jsx as C}from"react/jsx-runtime";var L=({className:a,content:e,style:t})=>C("div",{className:l("mx-auto my-8 w-full",a),children:C("div",{className:l("border py-3 px-6 flex items-center rounded",{"border-border bg-card":t==="info","border-error bg-error/30":t==="error","border-success bg-success/30":t==="success","border-warning bg-warning/30":t==="warning"}),children:C(u,{content:e,enableGutter:!1,enableProse:!1})})});export{L as a,R as b,A as c,v as d,u as e,q as f,z as g};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{e as r}from"./chunk-
|
|
1
|
+
import{e as r}from"./chunk-ST57SBGX.mjs";import{a as n}from"./chunk-NIQ4466A.mjs";import{jsx as t,jsxs as p}from"react/jsx-runtime";function d({subtitle:s,title:o,description:e,alignment:a="start",hasBottomSpacing:i=!1,className:m,invert:c=!1}){let l=n(a==="start"&&"text-left",a==="center"&&"text-center",a==="end"&&"text-right",{"mb-10 md:mb-[3.75rem]":i},m);return p("div",{className:l,children:[s&&t("span",{className:"mb-[.625rem] block text-semibold uppercase text-accent md:text-md",children:s}),t("h2",{className:n("text-primary text-2xl md:text-4xl"),children:o}),typeof e=="string"?e&&t("p",{className:"mt-5 whitespace-pre-line text-foreground",children:e}):e&&t(r,{content:e,enableGutter:!1,className:"prose-headings:text-accent prose-p:text-primary"})]})}export{d as a};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{e as r}from"./chunk-
|
|
1
|
+
import{e as r}from"./chunk-ST57SBGX.mjs";import c from"next/image";import{jsx as e,jsxs as i}from"react/jsx-runtime";var h=({logoImage:a})=>i("footer",{className:`absolute bottom-0 left-0 w-full py-2 px-8 flex justify-between items-center transition-colors duration-300
|
|
2
2
|
dark bg-background text-primary`,children:[i("div",{className:"flex px-6 items-center space-x-2",children:[a&&e("img",{src:a.src,alt:"Cortex Reply Logo",className:"h-8"}),e("span",{className:"pl-12 text-sm",children:"Power up your people"})]}),e("a",{href:"https://cortexreply.com",className:"text-sm hover:underline",children:"cortexreply.com"})]}),x=({title:a})=>e("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:e("div",{className:"container",children:e("span",{className:"container text-4xl px-6",children:a})})}),g=a=>{var l,o;let{title:d,hero:t,logoImage:s}=a;return console.log("TitleSlide",t),i("div",{className:"relative w-full h-full flex flex-col justify-center min-h-[500px] p-10",children:[e("div",{className:"absolute inset-0",children:e(c,{src:t.media&&t.media.url?t.media.url:"/hero.png",alt:"Background",width:t.media&&t.media.width&&(l=t.media.width)!=null?l:1920,height:t.media&&t.media.height&&(o=t.media.height)!=null?o:1080,style:{objectFit:"cover"},className:"opacity-80 h-full dark:opacity-60"})}),e("div",{className:"absolute left-16 z-50 top-4 flex flex-col items-start gap-4",children:s&&e("div",{className:"h-24",children:e(c,{src:s.src,alt:"Company logo",className:"h-full w-full object-contain",width:192,height:96})})}),e("div",{className:"absolute inset-0 bg-black/30 dark:bg-black/50"}),i("div",{className:"relative pl-24 z-10 max-w-3xl",children:[e("p",{className:"text-lg font-medium pt-48 text-accent mb-2",children:d}),t.richText&&e(r,{content:t.richText,enableGutter:!1,className:"prose-headings:text-white prose-p:text-white"})]})]})};export{h as a,x as b,g as c};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{b as a}from"./chunk-BDX257W2.mjs";import{a as n}from"./chunk-NIQ4466A.mjs";import{useState as u}from"react";import{useSearchParams as h,usePathname as l,useRouter as d}from"next/navigation";import{jsx as s}from"react/jsx-runtime";function w({types:r}){let[o,c]=u(r&&r[0].href),f=h(),m=l(),{replace:p}=d();function i(e){let t=new URLSearchParams(f);e?t.set("type",e):t.delete("type"),c(e),p(`${m}?${t.toString()}`)}return s("div",{className:"flex gap-2 flex-wrap items-center justify-center overflow-x-auto pb-4 mb-6",children:r&&r.map((e,t)=>s(a,{variant:e.href===o?"default":"ghost",className:n("rounded-full whitespace-nowrap text-foreground border border-accent hover:bg-accent hover:text-accent-foreground",e.href===o&&"bg-accent text-accent-foreground"),onClick:()=>i(e.href),children:e.label},t))})}export{w as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as y}from"./chunk-
|
|
1
|
+
import{a as y}from"./chunk-DHLQCOMJ.mjs";import{b as f,c as d}from"./chunk-ST57SBGX.mjs";import{a as m}from"./chunk-2A6JF3LE.mjs";import{a as l}from"./chunk-NIQ4466A.mjs";import{Fragment as R}from"react";import F from"next/image";import{jsx as a,jsxs as v}from"react/jsx-runtime";var b={content:y,cta:f,mediaBlock:m,imageBlock:m,features:d,reusableContentBlock:C},N=s=>{let{blocks:e}=s;return e&&Array.isArray(e)&&e.length>0?a("section",{id:"render-blocks",className:l(s.fill?"h-full w-full":""),children:e.map((t,r)=>{var c;console.log("block",t);let{blockType:n}=t,o=t==null?void 0:t.theme;if(n&&n in b){let g=b[n];if(n==="reusableContentBlock")return a(R,{children:a(N,{blocks:t.reusableContent.layout})},r);if(g)return v("div",{className:l("py-6 relative",s.fill&&"flex h-full items-center justify-center"),children:[a(k,{block:t,index:r}),a("div",{className:l("container h-full relative",((c=o==null?void 0:o.settings)==null?void 0:c.theme)||"dark"),children:a(g,{...t})})]},r)}return null})}):null},k=s=>{var i,t,r,n,o;if(!("theme"in s.block))return a("div",{className:l("absolute inset-0 w-screen h-full dark bg-background")});let e=(i=s.block)==null?void 0:i.theme;if(e.settings.background==="image"){let c={imagePosition:e.settings.imagePosition||"left",overlay:e.settings.overlay!==void 0?e.settings.overlay:!0};return v("div",{className:l("absolute inset-0 w-full h-full bg-background",e.settings.theme||"dark"),children:[a(F,{src:((r=(t=e.settings)==null?void 0:t.image)==null?void 0:r.url)||"/placeholder.svg",alt:((o=(n=e.settings)==null?void 0:n.image)==null?void 0:o.alt)||"",fill:!0,className:"object-cover",priority:!0}),e.settings.overlay&&a("div",{className:"absolute inset-0",style:{background:c.imagePosition==="left"?"linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)":"linear-gradient(-90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)"}})]})}return a("div",{className:l("absolute inset-0 w-screen h-full bg-background",e.settings.theme||"dark")})};import{Fragment as h,jsx as u,jsxs as T}from"react/jsx-runtime";var C=s=>{let{customId:e,reusableContent:i}=s;return typeof i=="object"&&i!==null?u(P,{blocks:i.layout}):u(h,{})},B={content:y,cta:f,mediaBlock:m,imageBlock:m,features:d},P=s=>{let{blocks:e}=s;return e&&Array.isArray(e)&&e.length>0?u(h,{children:e.map((t,r)=>{var c,g;let{blockType:n}=t,o=t==null?void 0:t.theme;if(n&&n in B){let p=B[n];if(p)return T("div",{className:"py-6 relative",children:[u(k,{block:t,index:r}),u("div",{className:l(((c=o==null?void 0:o.settings)==null?void 0:c.theme)==="dark"?"dark":((g=o==null?void 0:o.settings)==null?void 0:g.theme)==="green"?"green":""),children:u(p,{...t})})]},r)}return null})}):null};export{C as a,N as b,k as c};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as
|
|
4
|
+
import{a as C}from"./chunk-EG6XIOOJ.mjs";import{a as f}from"./chunk-CTKUF2I6.mjs";import{a as p}from"./chunk-NOEITQK2.mjs";import{b as v}from"./chunk-BDX257W2.mjs";import{a as i}from"./chunk-NIQ4466A.mjs";import{Formik as h}from"formik";import{FaUser as N}from"react-icons/fa6";import*as m from"yup";import{toast as b}from"sonner";import{jsx as e,jsxs as r}from"react/jsx-runtime";var s={tooShort:"Must be at least ${min} characters",tooLong:"Must be at most ${max} characters",required:"This field is required",email:"Invalid email format"},L=m.object().shape({name:m.string().min(2,s.tooShort).max(50,s.tooLong).required(s.required),email:m.string().email(s.email).required(s.required),subject:m.string().min(2,s.tooShort).max(50,s.tooLong).required(s.required),message:m.string().min(2,s.tooShort).max(300,s.tooLong).required(s.required)}),u=i("!pr-[44px]"),g=i("!border-red-600 border"),d=i("sr-only");function T(){return e(h,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:L,onSubmit:async(a,{resetForm:t})=>{let o=await f(a);o.data===null?b.error(o.message):(b.success(o.message),t())},children:({errors:a,touched:t,values:o,handleChange:n,handleBlur:c,isSubmitting:l,handleSubmit:x})=>r("form",{onSubmit:x,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[r("div",{children:[e(p,{placeholder:"Your Name",type:"text",name:"name",value:o.name,onChange:n,onBlur:c,disabled:l,icon:e(N,{className:"text-primary"}),className:i(u,a.name&&t.name&&g)}),a.name&&t.name&&e("p",{title:a.name,"aria-live":"polite",role:"error message",className:d,children:a.name})]}),r("div",{children:[e(p,{placeholder:"Your Email",type:"email",name:"email",value:o.email,onChange:n,onBlur:c,disabled:l,icon:e(w,{}),className:i(u,a.email&&t.email&&g)}),a.email&&t.email&&e("p",{title:a.email,"aria-live":"polite",role:"error message",className:d,children:a.email})]}),r("div",{className:"lg:col-span-2",children:[e(p,{placeholder:"Subject",type:"text",name:"subject",value:o.subject,onChange:n,onBlur:c,disabled:l,className:i(u,a.subject&&t.subject&&g)}),a.subject&&t.subject&&e("p",{title:a.subject,"aria-live":"polite",role:"error message",className:d,children:a.subject})]}),r("div",{className:"lg:col-span-2",children:[e(C,{placeholder:"Write Message...",name:"message",value:o.message,onChange:n,onBlur:c,disabled:l,icon:e(y,{}),className:i(u,a.message&&t.message&&g)}),a.message&&t.message&&e("p",{title:a.message,"aria-live":"polite",role:"error message",className:d,children:a.message})]}),e("div",{className:"lg:col-span-2 light",children:e(v,{type:"submit",className:"w-full outline rounded-full outline-accent bg-background text-foreground hover:bg-accent hover:text-accent-foreground",disabled:l,children:e("span",{children:"Send"})})})]})})}function w(){return e("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"text-primary",children:e("path",{d:"M14.9727 1.76172L13.2227 13.1094C13.1953 13.3828 13.0312 13.6289 12.7852 13.7656C12.6484 13.8203 12.5117 13.875 12.3477 13.875C12.2383 13.875 12.1289 13.8477 12.0195 13.793L8.68359 12.3984L7.28906 14.4766C7.17969 14.668 6.98828 14.75 6.79688 14.75C6.49609 14.75 6.25 14.5039 6.25 14.2031V11.5781C6.25 11.3594 6.30469 11.168 6.41406 11.0312L12.375 3.375L4.33594 10.6211L1.51953 9.44531C1.21875 9.30859 1 9.03516 1 8.67969C0.972656 8.29688 1.13672 8.02344 1.4375 7.85938L13.6875 0.886719C13.9609 0.722656 14.3438 0.722656 14.6172 0.914062C14.8906 1.10547 15.0273 1.43359 14.9727 1.76172Z"})})}function y(){return e("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"text-primary",children:e("path",{d:"M12.6875 0.5C13.3984 0.5 14 1.10156 14 1.8125C14 2.25 13.7812 2.63281 13.4531 2.87891L7.51953 7.33594C7.19141 7.58203 6.78125 7.58203 6.45312 7.33594L0.519531 2.87891C0.191406 2.63281 0 2.25 0 1.8125C0 1.10156 0.574219 0.5 1.3125 0.5H12.6875ZM5.93359 8.04688C6.5625 8.51172 7.41016 8.51172 8.03906 8.04688L14 3.5625V9.25C14 10.2344 13.207 11 12.25 11H1.75C0.765625 11 0 10.2344 0 9.25V3.5625L5.93359 8.04688Z"})})}export{T as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{e as c}from"./chunk-
|
|
1
|
+
import{e as c}from"./chunk-ST57SBGX.mjs";import{a}from"./chunk-NIQ4466A.mjs";import n from"next/image";import{jsx as e,jsxs as o}from"react/jsx-runtime";function x({image:t,title:l,content:i,link:s,theme:r}){return console.log("ServiceDetailSectionProps",t,l,i,s,r),o("section",{className:"container relative",children:[e("div",{className:a("absolute mt-[50%] w-full h-full",r==="dark"?"bg-white":"bg-black")}),e("div",{className:a("flex flex-col md:flex-row items-center justify-between gap-12 px-6 md:px-16 py-16 bg-background",r,r==="dark"&&"bg-black clip-custom-top-r"),children:o("div",{className:"w-full flex flex-row items-center justify-center",children:[o("div",{className:a("w-full md:w-1/2 max-w-lg text-left",r==="dark"&&"mt-48"),children:[e("h2",{className:"text-3xl md:text-5xl text-primary",children:l}),e("p",{className:"mt-4 text-gray-700 text-lg",children:i&&e(c,{enableGutter:!1,content:i,enableProse:!1,className:a("prose prose-headings:text-gray-700 prose-p:text-gray-700")})}),e("button",{className:"mt-6 px-6 py-3 border border-1 border-accent text-foreground rounded-full text-base hover:bg-accent hover:text-white transition",children:e("a",{href:s.url||"#",children:s.label||"Learn more"})})]}),e("div",{className:"w-full md:w-1/2 flex justify-center",children:t&&t.url&&e(n,{src:t.url,alt:t.alt||`Image of ${l}`,width:400,height:400,className:"max-w-full"})})]})})]})}export{x as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{e as o}from"./chunk-
|
|
1
|
+
import{e as o}from"./chunk-ST57SBGX.mjs";import n from"next/image";import{jsx as r,jsxs as m}from"react/jsx-runtime";var s=({media:e})=>{if(e&&typeof e=="object"){let{alt:t,filename:a,height:i,url:l,width:c}=e;return r(n,{className:"mix-blend-overlay opacity-50",alt:t||"",fill:!0,priority:!0,src:l||"",width:c||0,height:i||0,style:{objectFit:"cover"}})}else if(e&&typeof e=="string")return r("div",{children:r(n,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:e,style:{objectFit:"cover"}})});return null},p=({links:e,media:t,children:a,richText:i})=>m("div",{className:"relative bg-brand-one pb-12 mt-20 pt-10",children:[t&&r(s,{media:t}),r("div",{className:"mx-0 min-w-full relative z-9",children:r("div",{className:"container text-brand-one-foreground",children:a||i&&r(o,{className:"prose-headings:text-brand-one-foreground prose-p:text-brand-one-foreground",content:i,enableProse:!0,enableGutter:!1})})})]});export{p as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as n}from"./chunk-SV7NMNDI.mjs";import{a as r}from"./chunk-
|
|
1
|
+
import{a as n}from"./chunk-SV7NMNDI.mjs";import{a as r}from"./chunk-TATBOD3E.mjs";import{a as o}from"./chunk-M6M43TLT.mjs";import{a as e}from"./chunk-UESKYRNK.mjs";import{jsx as i,jsxs as c}from"react/jsx-runtime";function S({sectionHeading:p,cards:a}){return i("section",{className:"section-padding-primary !pt-0",children:c(e,{children:[i("div",{className:"mx-auto max-w-[630px]","data-aos":"fade-up","data-aos-delay":"100",children:i(r,{...p,alignment:"center",hasBottomSpacing:!0})}),a&&a.length>0&&i("div",{className:"grid gap-30px",children:a.map((d,t)=>i("div",{"data-aos":"fade-up","data-aos-delay":n([200,400,600],t),className:"py-2",children:i(o,{...d})},t))})]})})}export{S as a};
|