(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[290],{67061:function(e,l,t){"use strict";t.d(l,{Z:function(){return u}});var n=t(85893),i=t(93967),o=t.n(i),a=t(45697),r=t.n(a),s=t(10992),d=t(53608),c={press:"justify-center","stand-alone":"md:justify-center",carousel:"md:justify-center",tweets:"justify-start",learn:"justify-start mb-fixed-xl"};function u(e){var l,t,i,a,r,u,h,m,g=e.bColor,v=e.byline,f=e.hideAvatar,p=e.hideTitle,x=e.transparent,b=e.themeColor,y=e.layout,j=c[y],C=!x&&(!(null==v?void 0:null===(t=v.avatar)||void 0===t?void 0:null===(l=t.asset)||void 0===l?void 0:l.url)||f);return(0,n.jsxs)("figcaption",{className:o()(null!=g?g:null===(i=(0,d.b)(b))||void 0===i?void 0:i.bodyText,j,x?"text-center justify-center":void 0,C?"md:text-center":void 0,"flex w-full items-center gap-md"),children:[(null==v?void 0:null===(r=v.avatar)||void 0===r?void 0:null===(a=r.asset)||void 0===a?void 0:a.url)&&!f&&(0,n.jsx)(s.Z,{altText:null!==(m=null==v?void 0:null===(u=v.avatar)||void 0===u?void 0:u.altText)&&void 0!==m?m:null==v?void 0:null===(h=v.avatar)||void 0===h?void 0:h.name,className:"h-[44px] w-[44px] shrink-0 overflow-hidden rounded-full object-cover lg:h-64 lg:w-64",height:"64",image:null==v?void 0:v.avatar,layout:"fixed-width",width:"64"}),(0,n.jsxs)("p",{className:"tweets"===y?"text-left":"",children:[(null==v?void 0:v.name)&&"Anon"!==v.name&&(0,n.jsx)("span",{className:o()(null!=g?g:(0,d.b)(b).bodyText,"thd-body-sm thd-bold"),children:null==v?void 0:v.name}),!p&&(null==v?void 0:v.jobTitle)&&(0,n.jsxs)("span",{className:"thd-caption block",children:[null==v?void 0:v.jobTitle,(null==v?void 0:v.company)?", ".concat(null==v?void 0:v.company):void 0]})]})]})}u.defaultProps={hideAvatar:!1,transparent:!1,layout:"carousel"},u.propTypes={byline:r().oneOfType([r().string,r().object,r().func]),className:r().string,hideAvatar:r().bool,transparent:r().bool,layout:r().oneOf(Object.keys(c)).isRequired,themeColor:r().string}},2438:function(e,l,t){"use strict";t.d(l,{Z:function(){return c}});var n=t(85893),i=t(93967),o=t.n(i),a=t(45697),r=t.n(a),s=t(83741),d=t(89615);function c(e){var l,t,i,a,r=e.ariaLabel,c=e.bgColor,u=e.bFont,h=e.bLineLength,m=e.bMaxWidth,g=e.chipBlock,v=e.className,f=e.content,p=e.cta,x=e.ctaSize,b=e.secondaryCta,y=e.ctaGap,j=e.eColor,C=e.eStyle,N=e.gap,w=e.header,T=e.bClassName,L=e.hFont,k=e.hLevel,_=e.hLineLength,Z=e.hLink,A=e.hAppend,S=e.nested,z=e.themeColor,M=e.themeColorMode,B=e.isBtnStateEvaluated,q=w.eyebrow;return(0,n.jsxs)("section",{className:o()(v,c,"relative",q?"pt-fluid-sm":"pt-fluid-lg"),children:[(0,n.jsxs)("div",{className:o()("max-w-screen-3xl mx-auto flex flex-col h-full justify-center items-start md:items-center lg:text-center px-fluid-base relative z-10",f?"mb-fluid-sm":void 0),children:[(0,n.jsx)(d.Z,{bClassName:T,bFont:null!=u?u:"lg",bLineLength:null!=h?h:"3xl",bMaxWidth:null!=m?m:void 0,className:o()(p||f?void 0===y?"mb-xl":y:void 0,"w-full whitespace-pre-line"),eColor:j,eStyle:C,gap:void 0===N?"mb-md":N,hAlign:"center-end",hAppend:A,hFont:null!=L?L:"xl",hLevel:null!=k?k:"h1",hLineLength:null!=_?_:"lg",hLink:Z,header:w,nested:S,themeColor:z,themeColorMode:M,vAlign:"center"}),g,(0,n.jsx)("div",{className:"justify-start flex flex-wrap gap-lg items-center md:h-[75px] lg:h-[100px]",children:(void 0===B||B)&&(0,n.jsxs)(n.Fragment,{children:[p&&(0,n.jsx)("div",{children:(0,n.jsx)(s.Z,{align:"center",ariaLabel:r,buttonType:"primary",color:"primary-dark",cta:p,icon:null!==(i=null==p?void 0:null===(l=p.iconRef)||void 0===l?void 0:l.icon)&&void 0!==i?i:void 0,size:x||"lg",themeColor:z})}),b&&(0,n.jsx)("div",{children:(0,n.jsx)(s.Z,{color:"primary-light",cta:b,icon:null!==(a=null==b?void 0:null===(t=b.iconRef)||void 0===t?void 0:t.icon)&&void 0!==a?a:void 0,size:x||"lg",themeColor:z,iconGap:"gap-[.5em]",openInNewTab:null==b?void 0:b.targetBlank})})]})})]}),f]})}c.propTypes={ariaLabel:r().string,bgColor:r().string,bFont:r().string,bLineLength:r().string,bMaxWidth:r().string,chipBlock:r().object,className:r().string,content:r().oneOfType([r().object,r().func]),cta:r().object,ctaSize:r().string,secondaryCta:r().object,ctaGap:r().string,eColor:r().string,eStyle:r().string,gap:r().string,header:r().object,bClassName:r().string,hFont:r().string,hLevel:r().string,hLineLength:r().string,hLink:r().string,hAppend:r().string,nested:r().bool,themeColor:r().string,themeColorMode:r().string,isBtnStateEvaluated:r().bool}},10953:function(e,l,t){"use strict";t.d(l,{Z:function(){return d}});var n=t(85893),i=t(93967),o=t.n(i),a=t(45697),r=t.n(a),s=t(30587);function d(e){var l=e.className,t=e.contentBlock,i=e.contentAlign,a=e.mediaBlock,r=e.headerBlock,d=e.layout,c="top"===i,u="right"===i,h=(0,s.ZP)("(min-width: 768px)"),m={right:t?"lg:p-fluid-sm flex flex-col mx-auto lg:mx-0 gap-fixed-lg":null,left:t?"lg:p-fluid-sm flex flex-col mx-auto lg:mx-0 gap-fixed-lg":null}[i],g={right:a?"grid lg:grid-cols-2 items-center mx-auto gap-fluid-sm":null,left:a?"grid lg:grid-cols-2 items-center mx-auto gap-fluid-sm ":null,top:a?"grid w-full mx-auto gap-fluid-sm":null}[i],v={right:a?"grid lg:grid-cols-2 items-center justify-stretch gap-fluid-sm":null,left:a?"grid lg:grid-cols-2 items-center justify-stretch gap-fluid-sm":null}[i],f=(0,n.jsxs)("div",{className:o()(l,{top:"grid gap-fluid-sm",right:"grid gap-fluid-sm items-center",left:"grid gap-fluid-sm items-center"}[i]),children:[(0,n.jsxs)("div",{className:g,children:[(u||c)&&r,a,"left"===i&&!c&&r]}),t]}),p=(0,n.jsxs)("div",{className:o()(l,v),children:[!u&&h&&a,(0,n.jsxs)("div",{className:m,children:[r,t]}),(u||!h)&&a]});return(0,n.jsx)(n.Fragment,{children:"horizontal"===d?f:p})}d.defaultProps={contentAlign:"left",layout:"vertical"},d.propTypes={className:r().string,contentAlign:r().string,contentBlock:r().node,headerBlock:r().node,layout:r().oneOf(["horizontal","vertical"]),mediaBlock:r().node}},88101:function(e,l,t){"use strict";t.d(l,{Z:function(){return i}});var n=t(85893);function i(e){var l=e.children;return(0,n.jsx)("div",{className:"aspect-square h-full overflow-hidden relative thd-rounded-int translate-x-0 w-full",children:l})}},84046:function(e,l,t){"use strict";t.d(l,{Z:function(){return f}});var n=t(85893),i=t(93967),o=t.n(i),a=t(45697),r=t.n(a),s=t(74876);function d(e){var l=e.font,t=e.quotation,i=e.lineLength,a=e.transparent;return(0,n.jsx)("blockquote",{className:o()((0,s.h)(l).heading,a?"text-center":"md:text-center","thd-quote py-lg",i?"thd-max-".concat(i):"thd-max-2xl"),children:t})}var c=t(83741),u=t(67061),h=t(76466),m=t(53608),g=t(55118),v=t(40205);function f(e){var l,t,i,a,r,s,f,p,x,b=e.card,y=e.caseStudy,j=e.className,C=e.font,N=e.hideAvatar,w=e.hideLogos,T=e.themeColor,L=e.themeColorMode,k="white"===T,_=null==b?void 0:null===(a=b.logo)||void 0===a?void 0:null===(i=a.image)||void 0===i?void 0:null===(t=i.asset)||void 0===t?void 0:null===(l=t.metadata)||void 0===l?void 0:l.dimensions,Z=null==_?void 0:_.aspectRatio,A=(0,h.Z)(90,30,{aspectRatio:Z,type:"horizontal-optimized"}),S=A.width,z=A.height,M="".concat(T,"-").concat({dark:"90",light:"10"}[L]);return(0,n.jsx)("figure",{className:o()(j,(0,m.b)(M).headerText,(0,m.b)(M).bg,"mx-auto thd-rounded-static",!k&&"p-fluid-sm lg:p-fluid-lg"),children:(0,n.jsxs)("div",{className:o()(k?"items-center":"md:items-center","flex flex-col justify-center md:h-full md:px-0"),style:{"--filter-color":null===(r=(0,m.b)(M))||void 0===r?void 0:r.logoFilter,"--logo-height":z?z+"px":null,"--logo-width":S?S+"px":null},children:[y&&(null==b?void 0:b.byline)&&(0,n.jsx)(u.Z,{byline:null==b?void 0:b.byline,themeColor:M}),(null==b?void 0:null===(s=b.logo)||void 0===s?void 0:s.image)&&!y&&!w&&(0,n.jsx)("img",{alt:null==b?void 0:null===(f=b.byline)||void 0===f?void 0:f.company,className:"thd-filter thd-logo w-full h-full",height:z,src:(0,g.ZP)(null==b?void 0:null===(p=b.logo)||void 0===p?void 0:p.image).url(),width:S,loading:"lazy"}),(null==b?void 0:b.quotation)&&(0,n.jsx)(d,{font:C,quotation:null==b?void 0:b.quotation,transparent:k}),!y&&(null==b?void 0:b.byline)&&(0,n.jsx)(u.Z,{byline:null==b?void 0:b.byline,hideAvatar:N,themeColor:M,transparent:k}),y&&(0,n.jsx)(c.Z,{buttonType:"secondary",color:"primary-light",cta:{link:"/customers/".concat((0,v.Z)(null==b?void 0:null===(x=b.byline)||void 0===x?void 0:x.company)),copy:"View Case Study"},size:"lg",type:"primary"})]})})}f.propTypes={card:r().object.isRequired,caseStudy:r().bool,className:r().string,font:r().string,hideAvatar:r().bool,hideLogos:r().bool,themeColor:r().string,themeColorMode:r().string},f.defaultProps={caseStudy:!1,themeColor:"violet",themeColorMode:"light",font:"xs"}},15381:function(e,l,t){"use strict";t.d(l,{Z:function(){return g}});var n=t(24043),i=t(85893),o=t(48243),a=t(68545),r=t(93967),s=t.n(r),d=t(67294),c=t(84046),u=t(53608),h=t(69524),m=t.n(h);function g(e){var l,t=e.bgVar,r=e.cards,h=e.className,g=e.font,v=e.themeColorMode,f=e.hideLogos,p="blue",x=(0,n._)((0,d.useState)(1),2),b=x[0],y=x[1],j=(0,n._)((0,d.useState)(!0),2),C=j[0],N=j[1];(0,d.useEffect)(function(){(1===b||b===r.length)&&N(!0)},[b,1,r.length]);var w=d.cloneElement((0,i.jsx)(c.Z,{card:r[0],font:g,themeColor:p,themeColorMode:v})),T=d.cloneElement((0,i.jsx)(c.Z,{card:r[r.length-1],font:g,themeColor:p,themeColorMode:v})),L=function(){0===b?(N(!1),y(r.length)):b===r.length+1&&(N(!1),y(1))};return(0,i.jsx)("section",{className:s()(m().container,h,"sm:gap-fluid-sm pb-fluid-lg lg:pb-0 lg:mb-fluid-lg overflow-x-hidden"),style:{"--gradientColor":t},children:(0,i.jsxs)("div",{className:"flex relative h-full w-full",children:[(0,i.jsx)("button",{"aria-label":"Previous testimonial",className:m().left,onClick:function(){b>0&&y(function(e){return e-1})},type:"button",children:(0,i.jsx)(a.JO$,{icon:(0,i.jsx)(o.q,{}),size:"1.5em"})}),(0,i.jsx)("div",{className:"flex h-full w-full overflow-hidden",children:(0,i.jsxs)("div",{className:s()(m().content),onTransitionEnd:function(){return L()},style:{"--cardCount":r.length+2,"--transformValue":b,transition:C?void 0:"none","--curtainGradient":null===(l=(0,u.b)(null!=t?t:"white"))||void 0===l?void 0:l.bgVar},children:[T,null==r?void 0:r.map(function(e,l){return(0,i.jsx)(c.Z,{hideLogos:f,card:e,font:g,themeColor:p,themeColorMode:v},l)}),w]})}),(0,i.jsx)("button",{"aria-label":"Next testimonial",className:m().right,onClick:function(){b