1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[929],{93691:(e,a,s)=>{s.d(a,{A:()=>o});var t=s(55422),l=s(84477),n=s.n(l),r=s(44102),d=s(30970),i=s(25808),c=s(1194);function o(e){let{caseStudy:a,tone:s,reverse:l=!1,showClient:o=!0}=e,{client:m,eyebrow:u,story:x,outcomes:p=[],quote:g,author:h,role:f,headshot:j,href:b,linkLabel:N="Read the full case study",openInNewTab:y=!1}=a;return(0,t.jsxs)("article",{className:n()(l?"md:grid-cols-[1fr,1.25fr,min-content]":"md:grid-cols-[min-content,1.25fr,1fr]","grid gap-10 px-6 py-16 md:gap-12 md:px-16 md:py-20 lg:gap-16"),children:[(0,t.jsxs)("div",{className:"grid content-start gap-5 md:order-2",children:[u&&(0,t.jsx)(i.A,{color:"sand",children:u}),o&&(0,t.jsx)(r.A,{as:"h3",size:"lg",className:s.text,children:m}),"string"==typeof x?(0,t.jsx)(d.A,{size:"base",type:"longform",className:s.text,children:x}):x,p.length>0&&(0,t.jsxs)("div",{className:"mt-2 grid gap-3",children:[(0,t.jsx)(i.A,{color:"sand",children:"Outcomes"}),(0,t.jsx)("ul",{className:"grid gap-3",children:p.map(e=>(0,t.jsxs)("li",{className:"grid grid-cols-[auto,1fr] items-start gap-3",children:[(0,t.jsx)("span",{"aria-hidden":"true",className:n()(s.bullet,"mt-2 h-2 w-2 shrink-0 rounded-full")}),(0,t.jsx)(d.A,{as:"span",size:"sm",type:"longform",className:s.text,children:e})]},e))})]})]}),(0,t.jsxs)("div",{className:n()(l?"md:order-1":"md:order-3","grid content-start justify-items-start gap-6"),children:[j&&(0,t.jsx)("div",{className:"grid aspect-square w-32 rounded-full bg-sand lg:w-40",children:(0,t.jsx)("img",{src:j,alt:h?"".concat(h,", ").concat(m):m,className:"aspect-square w-[95%] place-self-center rounded-full object-cover"})}),g&&(0,t.jsxs)(d.A,{size:"base",type:"longform",className:n()(s.text,"italic"),children:["â",g,"â"]}),(h||f)&&(0,t.jsxs)("div",{className:"grid gap-0.5",children:[h&&(0,t.jsx)(d.A,{as:"span",size:"base",className:n()(s.text,"block font-medium"),children:h}),f&&(0,t.jsx)(d.A,{as:"span",size:"sm",className:n()(s.text,"block"),children:f})]}),b&&(0,t.jsxs)("a",{href:b,target:y?"_blank":void 0,rel:y?"noopener noreferrer":void 0,className:n()(s.text,"group inline-flex w-max items-center gap-2 text-sm underline underline-offset-4 lg:text-base"),children:[N,(0,t.jsx)("span",{"aria-hidden":"true",className:"transition-transform group-hover:translate-x-0.5",children:"â"})]})]}),(0,t.jsx)(c.default,{color:s.dot,dynamicOrientation:!0,dynamicSize:!0,className:n()(l?"md:order-3":"md:order-1","place-self-center max-md:py-2")})]})}},14709:(e,a,s)=>{s.d(a,{default:()=>d});var t=s(55422),l=s(24430),n=s(82860),r=s(93691);function d(e){let{items:a,tone:s}=e,[d,i]=(0,l.useState)(0);return(0,t.jsxs)("div",{children:[(0,t.jsx)(r.A,{caseStudy:a[d],tone:s}),(0,t.jsx)(n.A,{count:a.length,index:d,onSelect:i,itemLabel:"client story",labelAt:e=>"Show ".concat(a[e].client),textClass:s.text,dotClass:s.dot,className:"px-6 pb-16 md:px-16 md:pb-20"})]})}},25808:(e,a,s)=>{s.d(a,{A:()=>r});var t=s(55422),l=s(84477),n=s.n(l);function r(e){let{children:a,className:s,color:l="poppy"}=e;return(0,t.jsx)("span",{className:n()(s,"poppy"===l&&"text-poppy","sand"===l&&"text-sand","maroon"===l&&"text-maroon","blue"===l&&"text-blue","teal"===l&&"text-teal","block text-xs sm:text-sm font-medium uppercase tracking-[0.2em]"),children:a})}},80929:(e,a,s)=>{s.r(a),s.d(a,{default:()=>y});var t=s(55422),l=s(10200),n=s(45617),r=s(84477),d=s.n(r),i=s(44102),c=s(30970),o=s(46871),m=s(14709),u=s(93691);let x={teal:"bg-teal",maroon:"bg-maroon",blue:"bg-blue"};function p(e){let a="maroon"===e;return{text:"text-sand",bullet:a?"bg-sand":"bg-poppy",dot:a?"bg-sand":"bg-poppy"}}function g(e){let{mode:a="stacked",bg:s="teal",altBg:l="maroon",headingBg:n="blue",heading:r="",intro:g="",items:h=[],className:f}=e;if(0===h.length)return null;let j=e=>"none"===l||e%2==0?s:l,b=(r||g)&&(0,t.jsxs)("div",{className:d()(x[n],"grid justify-items-center gap-4 px-6 py-12 text-center md:px-16"),children:[r&&(0,t.jsx)(i.A,{as:"h2",size:"xl",className:"!font-header text-sand",children:r}),g&&(0,t.jsx)(c.A,{size:"base",className:"max-w-2xl text-sand",children:g})]});return"rotating"===a?(0,t.jsxs)("section",{className:d()(f,"relative w-full"),children:[b,(0,t.jsx)("div",{className:x[s],children:(0,t.jsx)(m.default,{items:h,tone:p(s)})}),(0,t.jsx)(o.A,{className:"w-full bottom-0"})]}):(0,t.jsxs)("section",{className:d()(f,"relative w-full"),children:[b,h.map((e,a)=>{let s=j(a);return(0,t.jsx)("div",{className:x[s],children:(0,t.jsx)(u.A,{caseStudy:e,tone
1:p(s),reverse:a%2==1})},e.client)}),(0,t.jsx)(o.A,{className:"w-full bottom-0"})]})}var h=s(34415);let f={Stacked:"stacked",Rotating:"rotating"},j={Teal:"teal",Maroon:"maroon",Blue:"blue"},b={Blue:"blue",Teal:"teal",Maroon:"maroon"},N={Maroon:"maroon",Teal:"teal",Blue:"blue",None:"none"},y=async e=>{let{slice:a}=e,{primary:s,items:r}=a,d=(0,n.U)(),i=(await Promise.all(r.map(e=>{if(l.IP(e.case_study)&&e.case_study.uid)return d.getByUID("case_study",e.case_study.uid)}))).filter(Boolean).map(e=>(0,h.H)(e,{linkToPage:!0}));return(0,t.jsx)("div",{"data-slice-type":a.slice_type,"data-slice-variation":a.variation,children:(0,t.jsx)(g,{mode:f[s.mode],bg:j[s.background],altBg:N[s.alt_background],headingBg:b[s.heading_background],heading:l.Pu(s.heading)?s.heading:"",intro:l.Pu(s.intro)?s.intro:"",items:i})})}}}]);
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.