(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4091],{96831:function(e,t,a){"use strict";a.d(t,{Z:function(){return ComparisonTable}});var o=a(85893),n=a(27924),l=a(86751);function ComparisonTable(e){var t=e.header,a=e.table,r=e.themeColor;return a?(0,o.jsxs)("section",{className:"px-fluid-base pb-fluid-sm max-w-screen-3xl mx-auto",children:[t&&(0,o.jsx)(n.Z,{className:"mb-2xl",hAlign:"center-end",hFont:"lg",header:t,themeColor:"grey-10",nested:!0}),(0,o.jsx)("div",{className:"md:px-fluid-base max-w-screen-xl mx-auto",children:(0,o.jsx)(l.Z,{table:a,themeColor:r,columnHighlight:!0})})]}):null}},3131:function(e,t,a){"use strict";a.d(t,{Z:function(){return ThreadByline}});var o=a(85893),n=a(93967),l=a.n(n),r=a(45697),i=a.n(r),d=a(56265),s=a(92673),u={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,a,n,r,i,c,h,m,g=e.bColor,v=e.byline,f=e.hideAvatar,b=e.hideTitle,x=e.transparent,p=e.themeColor,y=e.layout,M=u[y],C=!x&&(!(null==v?void 0:null===(a=v.avatar)||void 0===a?void 0:null===(t=a.asset)||void 0===t?void 0:t.url)||f);return(0,o.jsxs)("figcaption",{className:l()(null!=g?g:null===(n=(0,s.b)(p))||void 0===n?void 0:n.bodyText,M,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===(i=v.avatar)||void 0===i?void 0:null===(r=i.asset)||void 0===r?void 0:r.url)&&!f&&(0,o.jsx)(d.Z,{altText:null!==(m=null==v?void 0:null===(c=v.avatar)||void 0===c?void 0:c.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,o.jsxs)("p",{className:"tweets"===y?"text-left":"",children:[(null==v?void 0:v.name)&&"Anon"!==v.name&&(0,o.jsx)("span",{className:l()(null!=g?g:(0,s.b)(p).bodyText,"thd-body-sm thd-bold"),children:null==v?void 0:v.name}),!b&&(null==v?void 0:v.jobTitle)&&(0,o.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:i().oneOfType([i().string,i().object,i().func]),className:i().string,hideAvatar:i().bool,transparent:i().bool,layout:i().oneOf(Object.keys(u)).isRequired,themeColor:i().string}},51770:function(e,t,a){"use strict";a.d(t,{Z:function(){return ThreadEOP}});var o=a(85893),n=a(93967),l=a.n(n),r=a(45697),i=a.n(r),d=a(30830),s=a(92673);function ThreadEOP(e){var t,a,n=e.bgColor,r=e.className,i=e.cta,u=e.heading,c=e.hClassName,h=e.themeColor,m=e.pageBg,g=e.footerBg;return(0,o.jsx)("aside",{className:l()(r,n,"thd-gradient px-fluid-base md:px-fluid-sm lg:relative pb-fluid-lg"),style:{"--bg-direction":"180deg","--page-bg":m?(0,s.b)(m).bgVar:"white","--footer-bg":g?"var(--thd-color-".concat(g,")"):"var(--thd-color-violet-10)"},children:(0,o.jsxs)("div",{className:"thd-rounded-static shadow-thd max-w-screen-xl px-fluid-sm bg-white flex flex-col md:flex-row justify-center md:justify-between md:items-center mx-auto py-fluid-sm",children:[u&&(0,o.jsx)("p",{className:l()(c,"thd-heading-md mb-lg md:mb-0 text-center md:text-left mx-auto md:mx-0 w-full"),children:u}),i&&(0,o.jsx)(d.Z,{className:"self-center",color:"violet-dark",cta:i,icon:null!==(a=null==i?void 0:null===(t=i.iconRef)||void 0===t?void 0:t.icon)&&void 0!==a?a:void 0,size:"lg",themeColor:null!=h?h:"violet-light",type:"primary"})]})})}ThreadEOP.propTypes={className:i().string,cta:i().oneOfType([i().string,i().object,i().func]),hClassName:i().string,heading:i().string,hoverPlate:i().bool,lineLength:i().oneOf(["sm","md","lg","xl"]),lineLengthStart:i().oneOf(["sm","md","lg","xl","2xl","3xl","4xl"]),lineLengthEnd:i().oneOf(["sm","md","lg","xl","2xl","3xl","4xl"]),overlay:i().bool,pageBg:i().string,footerBg:i().string},ThreadEOP.defaultProps={hClassName:"sm:thd-max-md eop:max-w-none",heading:"Loom works wherever you do.",hoverPlate:!1,overlay:!1}},53974:function(e,t,a){"use strict";a.d(t,{Z:function(){return ThreadTestimonialCard}});var o=a(85893),n=a(93967),l=a.n(n),r=a(45697),i=a.n(r),d=a(25169);function TestimonialQuotation(e){var t=e.font,a=e.quotation,n=e.lineLength,r=e.transparent;return(0,o.jsx)("blockquote",{className:l()((0,d.h)(t).heading,r?"text-center":"md:text-center","thd-quote py-lg",n?"thd-max-".concat(n):"thd-max-2xl"),children:a})}var s=a(30830),u=a(3131),c=a(79682),h=a(92673),m=a(20434),g=a(56649);function ThreadTestimonialCard(e){var t,a,n,r,i,d,v,f,b,x=e.card,p=e.caseStudy,y=e.className,M=e.font,C=e.hideAvatar,T=e.hideLogos,j=e.themeColor,k=e.themeColorMode,w="white"===j,N=null==x?void 0:null===(r=x.logo)||void 0===r?void 0:null===(n=r.image)||void 0===n?void 0:null===(a=n.asset)||void 0===a?void 0:null===(t=a.metadata)||void 0===t?void 0:t.dimensions,z=null==N?void 0:N.aspectRatio,S=(0,c.Z)(90,30,{aspectRatio:z,type:"horizontal-optimized"}),Z=S.width,_=S.height,I="".concat(j,"-").concat({dark:"90",light:"10"}[k]),O="".concat(j,"-").concat({dark:"10",light:"90"}[k]);return(0,o.jsx)("figure",{className:l()(y,(0,h.b)(I).headerText,(0,h.b)(I).bg,"mx-auto thd-rounded-static",!w&&"p-fluid-sm lg:p-fluid-lg"),children:(0,o.jsxs)("div",{className:l()(w?"items-center":"md:items-center","flex flex-col justify-between md:h-full md:px-0"),style:{"--filter-color":null===(i=(0,h.b)(I))||void 0===i?void 0:i.logoFilter,"--logo-height":_+"px","--logo-width":Z+"px"},children:[p&&(null==x?void 0:x.byline)&&(0,o.jsx)(u.Z,{byline:null==x?void 0:x.byline,themeColor:I}),(null==x?void 0:null===(d=x.logo)||void 0===d?void 0:d.image)&&!p&&!T&&(0,o.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:_,src:(0,m.ZP)(null==x?void 0:null===(f=x.logo)||void 0===f?void 0:f.image).url(),width:Z,loading:"lazy"}),(null==x?void 0:x.quotation)&&(0,o.jsx)(TestimonialQuotation,{font:M,quotation:null==x?void 0:x.quotation,transparent:w}),!p&&(null==x?void 0:x.byline)&&(0,o.jsx)(u.Z,{byline:null==x?void 0:x.byline,hideAvatar:C,themeColor:I,transparent:w}),p&&(0,o.jsx)(s.Z,{buttonType:"secondary",color:O,cta:{link:"/customers/".concat((0,g.Z)(null==x?void 0:null===(b=x.byline)||void 0===b?void 0:b.company)),copy:"View Case Study"},size:"lg",type:"primary"})]})})}ThreadTestimonialCard.propTypes={card:i().object,caseStudy:i().bool,className:i().string,font:i().string,themeColor:i().string.isRequired,themeColorMode:i().string.isRequired},ThreadTestimonialCard.defaultProps={caseStudy:!1,themeColor:"violet",themeColorMode:"light",font:"xs"}},79195:function(e,t,a){"use strict";a.d(t,{Z:function(){return ThreadTestimonialCarousel}});var o=a(24043),n=a(85893),l=a(88780),r=a(84224),i=a(93967),d=a.n(i),s=a(67294),u=a(53974),c=a(92673),h=a(37926),m=a.n(h);function ThreadTestimonialCarousel(e){var t,a=e.bgVar,i=e.cards,h=e.className,g=e.font,v=e.lineLength,f=e.themeColorMode,b=e.hideLogos,x=(0,o._)((0,s.useState)(1),2),p=x[0],y=x[1],M=(0,o._)((0,s.useState)(!0),2),C=M[0],T=M[1];(0,s.useEffect)(function(){(1===p||p===i.length)&&T(!0)},[p,1,i.length]);var prev=function(){p>0&&y(function(e){return e-1})},j={0:"violet",1:"blue",2:"magenta",3:"green",4:"violet",5:"blue",6:"magenta",7:"green",8:"violet",9:"blue",10:"magenta",11:"green"},k=s.cloneElement((0,n.jsx)(u.Z,{card:i[0],font:g,index:-1===p,themeColor:j[0],themeColorMode:f},"cloneFirst")),w=s.cloneElement((0,n.jsx)(u.Z,{card:i[i.length-1],font:g,index:p===i.length,prev:prev,style:{transform:"translate3d(-100%, 0, 0)"},themeColor:j[(null==i?void 0:i.length)-1],themeColorMode:f},"cloneLast")),handleTransitionEnd=function(){0===p?(T(!1),y(i.length)):p===i.length+1&&(T(!1),y(1))};return(0,n.jsx)("section",{className:d()(m().container,h,"sm:gap-fluid-sm pb-fluid-lg lg:pb-0 lg:mb-fluid-lg overflow-x-hidden"),style:{"--gradientColor":a},children:(0,n.jsxs)("div",{className:"flex relative h-full w-full",children:[(0,n.jsx)("button",{"aria-label":"Previous testimonial",className:m().left,onClick:prev,type:"button",children:(0,n.jsx)(r.Z,{icon:(0,n.jsx)(l.Z,{}),size:"1.5em"})}),(0,n.jsx)("div",{className:"flex h-full w-full overflow-hidden",children:(0,n.jsxs)("div",{className:d()(m().content),onTransitionEnd:function(){return handleTransitionEnd()},style:{"--cardCount":i.length+2,"--transformValue":p,transition:C?void 0:"none","--curtainGradient":null===(t=(0,c.b)(null!=a?a:"white"))||void 0===t?void 0:t.bgVar},children:[w,null==i?void 0:i.map(function(e,t){return(0,n.jsx)(u.Z,{hideLogos:b,card:e,font:g,index:p===t+1,lineLength:v,themeColor:j[t],themeColorMode:f},t)}),k]})}),(0,n.jsx)("button",{"aria-label":"Next testimonial",className:m().right,onClick:function(){p1&&a<2:n=Math.round((o=Math.round(t))*a);break;case a>=2&&a<=5.5:o=Math.round((n=Math.round(1.25*e))/a);break;case a>5.5&&a<=8:o=Math.round((n=Math.round(1.5*e))/a);break;case a>8&&a<=10:o=Math.round(1.8*t),n=Math.round(2*e);break;case a>10:n=Math.round((o=Math.round(.75*t))*a)}return{width:n,height:o}},getHomepageCarouselImageSize=function(e,t,a){var o,n;switch(!0){case a<1:n=Math.round((o=Math.round(1.5*t))*a);break;case 1===a:n=o=1.25*t;break;case a>1&&a<=2.5:n=Math.round((o=Math.round(1.25*t))*a);break;case a>2.5&&a<=3.5:n=Math.round((o=Math.round(1.3*t))*a);break;case a>3.5&&a<=5.5:n=Math.round((o=t)*a);break;case a>5.5&&a<=8:o=Math.round((n=Math.round(1.2*e))/a);break;case a>8&&a<=8.5:case a>8.5:o=Math.round((n=Math.round(1.5*e))/a)}return{width:n,height:o}},getNormalizedImageSize=function(e,t,a){var o,n;switch(!0){case a<1:o=Math.round(t/a),n=Math.round(1.5*e);break;case 1===a:o=t,n=e;break;case a>1&&a<=4:n=Math.round((o=t)*a);break;case a>4&&a<=5.5:n=Math.round((o=Math.round(1.25*t))*a);break;case a>5.5&&a<=8:n=Math.round((o=Math.round(1.5*t))*a);break;case a>8:o=Math.round(1.8*t),n=Math.round(2*e)}return{width:n,height:o}},getNormalizedHorizImageSize=function(e,t,a){var o,n;switch(!0){case a<1:o=t/a,n=1.5*e;break;case 1===a:o=t,n=e;break;case a>1&&a<=6.5:n=Math.round((o=t)*a);break;case a>6.5&&a<=8:n=Math.round((o=Math.round(1.2*t))*a);break;case a>8&&a<=10:o=Math.round(1.8*t),n=Math.round(2*e);break;case a>10:n=Math.round((o=Math.round(1.2*t))*a)}return{width:n,height:o}},getNormalizedSquareImageSize=function(e,t,a){var o,n;switch(!0){case a<1:o=Math.round(t/a),n=Math.round(1.5*e);break;case 1===a:o=t,n=e;break;case a>1&&a<=2.5:n=Math.round((o=t)*a);break;case a>2.5&&a<=5.5:n=Math.round((o=Math.round(1.25*t))*a);break;case a>5.5&&a<=8:o=Math.round(1.5*t),n=Math.round(1.5*e);break;case a>8:o=Math.round(1.8*t),n=Math.round(2*e)}return{width:n,height:o}},getOptimizedImageSize=function(e,t,a){var o,n;switch(!0){case a<1:n=Math.round((o=Math.round(1.5*t))*a);break;case 1===a:n=o=1.25*t;break;case a>1&&a<=2.5:n=Math.round((o=Math.round(1.25*t))*a);break;case a>2.5&&a<=3.5:n=Math.round((o=Math.round(1.3*t))*a);break;case a>3.5&&a<=5.5:n=Math.round((o=t)*a);break;case a>5.5&&a<=8:o=Math.round((n=Math.round(1.2*e))/a);break;case a>8&&a<=8.5:case a>8.5:o=Math.round((n=Math.round(1.5*e))/a)}return{width:n,height:o}};function getComputedImageSize(e,t,a){switch(a.type){case"horizontal-optimized":return getHorizontalNormalizedImageSize(e,t,a.aspectRatio);case"normalized":return getNormalizedImageSize(e,t,null==a?void 0:a.aspectRatio);case"normalized-horizontal":return getNormalizedHorizImageSize(e,t,null==a?void 0:a.aspectRatio);case"homepage-carousel":return getHomepageCarouselImageSize(e,t,null==a?void 0:a.aspectRatio);case"normalized-square":return getNormalizedSquareImageSize(e,t,null==a?void 0:a.aspectRatio);default:return getOptimizedImageSize(e,t,null==a?void 0:a.aspectRatio)}}},37926:function(e){e.exports={container:"ThreadTestimonialCarousel_container__3hu57",left:"ThreadTestimonialCarousel_left__ioRt3",right:"ThreadTestimonialCarousel_right__9bhB0",content:"ThreadTestimonialCarousel_content__ODboU",avatar:"ThreadTestimonialCarousel_avatar__3d3SV"}}}]);