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