(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7017,8925],{30867:function(e,t,n){"use strict";n.d(t,{Z:function(){return ThreadByline}});var l=n(85893),o=n(93967),i=n.n(o),a=n(45697),r=n.n(a),s=n(96184),d=n(33322),c={press:"justify-center","stand-alone":"md:justify-center",carousel:"md:justify-center",tweets:"justify-start",learn:"justify-start mb-fixed-xl"};function ThreadByline(e){var t,n,o,a,r,u,h,v,m=e.bColor,g=e.byline,f=e.hideAvatar,p=e.hideTitle,b=e.transparent,x=e.themeColor,y=e.layout,C=c[y],j=!b&&(!(null==g?void 0:null===(n=g.avatar)||void 0===n?void 0:null===(t=n.asset)||void 0===t?void 0:t.url)||f);return(0,l.jsxs)("figcaption",{className:i()(null!=m?m:null===(o=(0,d.b)(x))||void 0===o?void 0:o.bodyText,C,b?"text-center justify-center":void 0,j?"md:text-center":void 0,"flex w-full items-center gap-md"),children:[(null==g?void 0:null===(r=g.avatar)||void 0===r?void 0:null===(a=r.asset)||void 0===a?void 0:a.url)&&!f&&(0,l.jsx)(s.Z,{altText:null!==(v=null==g?void 0:null===(u=g.avatar)||void 0===u?void 0:u.altText)&&void 0!==v?v:null==g?void 0:null===(h=g.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==g?void 0:g.avatar,layout:"fixed-width",width:"64"}),(0,l.jsxs)("p",{className:"tweets"===y?"text-left":"",children:[(null==g?void 0:g.name)&&"Anon"!==g.name&&(0,l.jsx)("span",{className:i()(null!=m?m:(0,d.b)(x).bodyText,"thd-body-sm thd-bold"),children:null==g?void 0:g.name}),!p&&(null==g?void 0:g.jobTitle)&&(0,l.jsxs)("span",{className:"thd-caption block",children:[null==g?void 0:g.jobTitle,(null==g?void 0:g.company)?", ".concat(null==g?void 0:g.company):void 0]})]})]})}ThreadByline.defaultProps={hideAvatar:!1,transparent:!1,layout:"carousel"},ThreadByline.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}},19741:function(e,t,n){"use strict";n.d(t,{Z:function(){return ThreadHero}});var l=n(85893),o=n(93967),i=n.n(o),a=n(45697),r=n.n(a),s=n(99577),d=n(2291);function ThreadHero(e){var t,n,o,a,r=e.ariaLabel,c=e.bgColor,u=e.bFont,h=e.bLineLength,v=e.bMaxWidth,m=e.chipBlock,g=e.className,f=e.content,p=e.cta,b=e.ctaSize,x=e.secondaryCta,y=e.ctaGap,C=void 0===y?"mb-xl":y,j=e.eColor,T=e.eStyle,N=e.gap,L=e.header,w=e.bClassName,Z=e.hFont,_=e.hLevel,k=e.hLineLength,S=e.hLink,A=e.hAppend,M=e.nested,z=e.themeColor,E=e.themeColorMode,q=e.isBtnStateEvaluated,B=L.eyebrow;return(0,l.jsxs)("section",{className:i()(g,c,"relative",B?"pt-fluid-sm":"pt-fluid-lg"),children:[(0,l.jsxs)("div",{className:i()("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,l.jsx)(d.Z,{bClassName:w,bFont:null!=u?u:"lg",bLineLength:null!=h?h:"3xl",bMaxWidth:null!=v?v:void 0,className:i()(p||f?C:void 0,"w-full whitespace-pre-line"),eColor:j,eStyle:T,gap:void 0===N?"mb-md":N,hAlign:"center-end",hAppend:A,hFont:null!=Z?Z:"xl",hLevel:null!=_?_:"h1",hLineLength:null!=k?k:"lg",hLink:S,header:L,nested:M,themeColor:z,themeColorMode:E,vAlign:"center"}),m,(0,l.jsx)("div",{className:"justify-start flex flex-wrap gap-lg items-center md:h-[75px] lg:h-[100px]",children:(void 0===q||q)&&(0,l.jsxs)(l.Fragment,{children:[p&&(0,l.jsx)("div",{children:(0,l.jsx)(s.Z,{align:"center",ariaLabel:r,buttonType:"primary",color:"violet-dark",cta:p,icon:null!==(o=null==p?void 0:null===(t=p.iconRef)||void 0===t?void 0:t.icon)&&void 0!==o?o:void 0,size:b||"lg",themeColor:z})}),x&&(0,l.jsx)("div",{children:(0,l.jsx)(s.Z,{color:"violet-light",cta:x,icon:null!==(a=null==x?void 0:null===(n=x.iconRef)||void 0===n?void 0:n.icon)&&void 0!==a?a:void 0,size:b||"lg",themeColor:z,iconGap:"gap-[.5em]",openInNewTab:null==x?void 0:x.openInNewTab})})]})})]}),f]})}ThreadHero.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}},62166:function(e,t,n){"use strict";n.d(t,{Z:function(){return ThreadSpotAnimationContainer}});var l=n(85893);function ThreadSpotAnimationContainer(e){var t=e.children;return(0,l.jsx)("div",{className:"aspect-square h-full overflow-hidden relative thd-rounded-int translate-x-0 w-full",children:t})}},12387:function(e,t,n){"use strict";n.d(t,{Z:function(){return ThreadTestimonialCard}});var l=n(85893),o=n(93967),i=n.n(o),a=n(45697),r=n.n(a),s=n(55395);function TestimonialQuotation(e){var t=e.font,n=e.quotation,o=e.lineLength,a=e.transparent;return(0,l.jsx)("blockquote",{className:i()((0,s.h)(t).heading,a?"text-center":"md:text-center","thd-quote py-lg",o?"thd-max-".concat(o):"thd-max-2xl"),children:n})}var d=n(99577),c=n(30867),u=n(72917),h=n(33322),v=n(13608),m=n(84834);function ThreadTestimonialCard(e){var t,n,o,a,r,s,g,f,p,b=e.card,x=e.caseStudy,y=e.className,C=e.font,j=e.hideAvatar,T=e.hideLogos,N=e.themeColor,L=e.themeColorMode,w="white"===N,Z=null==b?void 0:null===(a=b.logo)||void 0===a?void 0:null===(o=a.image)||void 0===o?void 0:null===(n=o.asset)||void 0===n?void 0:null===(t=n.metadata)||void 0===t?void 0:t.dimensions,_=null==Z?void 0:Z.aspectRatio,k=(0,u.Z)(90,30,{aspectRatio:_,type:"horizontal-optimized"}),S=k.width,A=k.height,M="".concat(N,"-").concat({dark:"90",light:"10"}[L]),z="".concat(N,"-").concat({dark:"10",light:"90"}[L]);return(0,l.jsx)("figure",{className:i()(y,(0,h.b)(M).headerText,(0,h.b)(M).bg,"mx-auto thd-rounded-static",!w&&"p-fluid-sm lg:p-fluid-lg"),children:(0,l.jsxs)("div",{className:i()(w?"items-center":"md:items-center","flex flex-col justify-center md:h-full md:px-0"),style:{"--filter-color":null===(r=(0,h.b)(M))||void 0===r?void 0:r.logoFilter,"--logo-height":A?A+"px":null,"--logo-width":S?S+"px":null},children:[x&&(null==b?void 0:b.byline)&&(0,l.jsx)(c.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)&&!x&&!T&&(0,l.jsx)("img",{alt:null==b?void 0:null===(g=b.byline)||void 0===g?void 0:g.company,className:"thd-filter thd-logo w-full h-full",height:A,src:(0,v.ZP)(null==b?void 0:null===(f=b.logo)||void 0===f?void 0:f.image).url(),width:S,loading:"lazy"}),(null==b?void 0:b.quotation)&&(0,l.jsx)(TestimonialQuotation,{font:C,quotation:null==b?void 0:b.quotation,transparent:w}),!x&&(null==b?void 0:b.byline)&&(0,l.jsx)(c.Z,{byline:null==b?void 0:b.byline,hideAvatar:j,themeColor:M,transparent:w}),x&&(0,l.jsx)(d.Z,{buttonType:"secondary",color:z,cta:{link:"/customers/".concat((0,m.Z)(null==b?void 0:null===(p=b.byline)||void 0===p?void 0:p.company)),copy:"View Case Study"},size:"lg",type:"primary"})]})})}ThreadTestimonialCard.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},ThreadTestimonialCard.defaultProps={caseStudy:!1,themeColor:"violet",themeColorMode:"light",font:"xs"}},13736:function(e,t,n){"use strict";n.d(t,{Z:function(){return ThreadTestimonialCarousel}});var l=n(24043),o=n(85893),i=n(80868),a=n(45697),r=n.n(a),s=n(34297),d=n(93967),c=n.n(d),u=n(67294),h=n(12387),v=n(33322),m=n(22828),g=n.n(m);function ThreadTestimonialCarousel(e){var t,n=e.bgVar,a=e.cards,r=e.className,d=e.font,m=e.lineLength,f=e.themeColorMode,p=e.hideLogos,b=(0,l._)((0,u.useState)(1),2),x=b[0],y=b[1],C=(0,l._)((0,u.useState)(!0),2),j=C[0],T=C[1];(0,u.useEffect)(function(){(1===x||x===a.length)&&T(!0)},[x,1,a.length]);var prev=function(){x>0&&y(function(e){return e-1})},N={0:"violet",1:"blue",2:"magenta",3:"green",4:"violet",5:"blue",6:"magenta",7:"green",8:"violet",9:"blue",10:"magenta",11:"green"},L=u.cloneElement((0,o.jsx)(h.Z,{card:a[0],font:d,index:-1===x,themeColor:N[0],themeColorMode:f},"cloneFirst")),w=u.cloneElement((0,o.jsx)(h.Z,{card:a[a.length-1],font:d,index:x===a.length,prev:prev,style:{transform:"translate3d(-100%, 0, 0)"},themeColor:N[(null==a?void 0:a.length)-1],themeColorMode:f},"cloneLast")),handleTransitionEnd=function(){0===x?(T(!1),y(a.length)):x===a.length+1&&(T(!1),y(1))};return(0,o.jsx)("section",{className:c()(g().container,r,"sm:gap-fluid-sm pb-fluid-lg lg:pb-0 lg:mb-fluid-lg overflow-x-hidden"),style:{"--gradientColor":n},children:(0,o.jsxs)("div",{className:"flex relative h-full w-full",children:[(0,o.jsx)("button",{"aria-label":"Previous testimonial",className:g().left,onClick:prev,type:"button",children:(0,o.jsx)(s.Z,{icon:(0,o.jsx)(i.Z,{}),size:"1.5em"})}),(0,o.jsx)("div",{className:"flex h-full w-full overflow-hidden",children:(0,o.jsxs)("div",{className:c()(g().content),onTransitionEnd:function(){return handleTransitionEnd()},style:{"--cardCount":a.length+2,"--transformValue":x,transition:j?void 0:"none","--curtainGradient":null===(t=(0,v.b)(null!=n?n:"white"))||void 0===t?void 0:t.bgVar},children:[w,null==a?void 0:a.map(function(e,t){return(0,o.jsx)(h.Z,{hideLogos:p,card:e,font:d,index:x===t+1,lineLength:m,themeColor:N[t],themeColorMode:f},t)}),L]})}),(0,o.jsx)("button",{"aria-label":"Next testimonial",className:g().right,onClick:function(){x