1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[17],{8047:function(e,t,a){a.r(t);var r=a(5893),l=a(3738),n=a(6010),i=a(8978),d=a(6572);let getCtaColors=(e,t)=>{switch(e){case"Mandarin":return{bg:"bg-mandarin",border:"border border-mandarin",ctaButtonVariant:"whiteOutlined",ctaLink:"text-white",description:"text-white",title:"text-white"};case"Teal":return{bg:"bg-teal",border:"border border-teal",ctaButtonVariant:t?"mandarin":"whiteOutlined",ctaLink:"text-white",description:"text-white",title:"text-white"};case"Sage":return{bg:"bg-sage",border:"border border-sage",ctaButtonVariant:t?"mandarin":"tealOutlined",ctaLink:"text-teal",description:"text-black",title:"text-teal"};case"Lyla Outlined":return{bg:"bg-transparent",border:"border border-lyla",ctaButtonVariant:t?"mandarin":"mandarinOutlined",ctaLink:"text-mandarin",description:"text-black",title:"text-teal"};case"Mandarin Outlined":return{bg:"bg-transparent",border:"border border-mandarin",ctaButtonVariant:t?"mandarin":"mandarinOutlined",ctaLink:"text-mandarin",description:"text-black",title:"text-teal"};case"Teal Outlined":return{bg:"bg-transparent",border:"border border-teal",ctaButtonVariant:t?"mandarin":"mandarinOutlined",ctaLink:"text-mandarin",description:"text-black",title:"text-teal"};case"Sage Outlined":return{bg:"bg-transparent",border:"border border-sage",ctaButtonVariant:t?"mandarin":"mandarinOutlined",ctaLink:"text-mandarin",description:"text-black",title:"text-teal"};default:return{bg:"bg-lyla",border:"border border-lyla",ctaButtonVariant:t?"mandarin":"tealOutlined",ctaLink:"text-teal",description:"text-white",title:"text-teal"}}},Cta=e=>{var t;let{item:a,isSingle:c,headingLevel:s=2}=e,o=getCtaColors(a.color,c),x=!!(null===(t=a.image)||void 0===t?void 0:t.url),g="h".concat(s);return(0,r.jsxs)("div",{className:(0,n.Z)("flex flex-col h-full",x&&c&&"lg:flex-row"),children:[x&&(0,r.jsx)("div",{className:(0,n.Z)("relative aspect-[2/1]",c&&(0,n.Z)(a.description?"lg:w-[300px] lg:h-auto":"lg:w-[200px] lg:aspect-square")),children:(0,r.jsx)(l.Z,{className:(0,n.Z)("object-cover object-center rounded-t-lg",c&&"lg:rounded-l-lg lg:rounded-tr-none"),field:a.image,fill:!0})}),(0,r.jsxs)("div",{className:(0,n.Z)(o.bg,o.border,"flex flex-col flex-grow rounded-lg gap-9 lg:gap-10 w-full",x&&"rounded-t-none",x&&c&&"lg:rounded-l-none lg:rounded-r-lg",c?"md:flex-row lg:items-center lg:justify-between p-10":"p-8"),children:[(0,r.jsxs)("div",{className:"flex flex-col gap-2.5 flex-1",children:[a.title&&(0,r.jsx)(g,{className:(0,n.Z)(o.title,"font-primary text-3xl shrink-0"),children:a.title}),a.description&&(0,r.jsx)("p",{className:(0,n.Z)(o.description,"text-lg grow"),children:a.description})]}),a.cta_link&&(0,d.bh)(a.cta_link)&&(0,r.jsx)("div",{className:(0,n.Z)("flex-shrink-0 self-start",c&&"lg:self-center"),children:"Link"===a.cta_style?(0,r.jsx)(i.fS,{className:(0,n.Z)(o.ctaLink,"underline lg:hover:opacity-80"),field:a.cta_link,children:a.cta_text}):(0,r.jsx)(i.eu,{field:a.cta_link,variant:o.ctaButtonVariant,children:a.cta_text})})]})]})};t.default=e=>{let{slice:t}=e,{ctas:a,title:l}=t.primary,n=!!l;return 0===a.length?null:(0,r.jsxs)(i.eT,{"data-slice-type":t.slice_type,"data-slice-variation":t.variation,children:[n&&(0,r.jsx)("h2",{className:"text-3xl lg:text-4xl text-teal font-primary mb-6 lg:mb-10",children:l}),(0,r.jsx)("div",{className:"flex flex-col lg:flex-row gap-5",children:a.slice(0,4).map((e,t)=>(0,r.jsx)("div",{className:"lg:flex-1",children:(0,r.jsx)(Cta,{item:e,isSingle:1===a.length,headingLevel:n?3:2})},t))})]})}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.