(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1154],{48249:function(e,t,o){(window.__NEXT_P=window.__NEXT_P||[]).push(["/connect/[slug]",function(){return o(81302)}])},67061:function(e,t,o){"use strict";o.d(t,{Z:function(){return c}});var a=o(85893),n=o(93967),l=o.n(n),r=o(45697),i=o.n(r),d=o(10992),s=o(53608),u={press:"justify-center","stand-alone":"md:justify-center",carousel:"md:justify-center",tweets:"justify-start",learn:"justify-start mb-fixed-xl"};function c(e){var t,o,n,r,i,c,m,h,v=e.bColor,g=e.byline,f=e.hideAvatar,p=e.hideTitle,y=e.transparent,b=e.themeColor,x=e.layout,k=u[x],w=!y&&(!(null==g?void 0:null===(o=g.avatar)||void 0===o?void 0:null===(t=o.asset)||void 0===t?void 0:t.url)||f);return(0,a.jsxs)("figcaption",{className:l()(null!=v?v:null===(n=(0,s.b)(b))||void 0===n?void 0:n.bodyText,k,y?"text-center justify-center":void 0,w?"md:text-center":void 0,"flex w-full items-center gap-md"),children:[(null==g?void 0:null===(i=g.avatar)||void 0===i?void 0:null===(r=i.asset)||void 0===r?void 0:r.url)&&!f&&(0,a.jsx)(d.Z,{altText:null!==(h=null==g?void 0:null===(c=g.avatar)||void 0===c?void 0:c.altText)&&void 0!==h?h:null==g?void 0:null===(m=g.avatar)||void 0===m?void 0:m.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,a.jsxs)("p",{className:"tweets"===x?"text-left":"",children:[(null==g?void 0:g.name)&&"Anon"!==g.name&&(0,a.jsx)("span",{className:l()(null!=v?v:(0,s.b)(b).bodyText,"thd-body-sm thd-bold"),children:null==g?void 0:g.name}),!p&&(null==g?void 0:g.jobTitle)&&(0,a.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]})]})]})}c.defaultProps={hideAvatar:!1,transparent:!1,layout:"carousel"},c.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}},84046:function(e,t,o){"use strict";o.d(t,{Z:function(){return f}});var a=o(85893),n=o(93967),l=o.n(n),r=o(45697),i=o.n(r),d=o(74876);function s(e){var t=e.font,o=e.quotation,n=e.lineLength,r=e.transparent;return(0,a.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:o})}var u=o(83741),c=o(67061),m=o(76466),h=o(53608),v=o(55118),g=o(40205);function f(e){var t,o,n,r,i,d,f,p,y,b=e.card,x=e.caseStudy,k=e.className,w=e.font,M=e.hideAvatar,S=e.hideLogos,_=e.themeColor,j=e.themeColorMode,C="white"===_,N=null==b?void 0:null===(r=b.logo)||void 0===r?void 0:null===(n=r.image)||void 0===n?void 0:null===(o=n.asset)||void 0===o?void 0:null===(t=o.metadata)||void 0===t?void 0:t.dimensions,A=null==N?void 0:N.aspectRatio,F=(0,m.Z)(90,30,{aspectRatio:A,type:"horizontal-optimized"}),q=F.width,T=F.height,P="".concat(_,"-").concat({dark:"90",light:"10"}[j]);return"".concat(_,"-").concat({dark:"10",light:"90"}[j]),(0,a.jsx)("figure",{className:l()(k,(0,h.b)(P).headerText,(0,h.b)(P).bg,"mx-auto thd-rounded-static",!C&&"p-fluid-sm lg:p-fluid-lg"),children:(0,a.jsxs)("div",{className:l()(C?"items-center":"md:items-center","flex flex-col justify-center md:h-full md:px-0"),style:{"--filter-color":null===(i=(0,h.b)(P))||void 0===i?void 0:i.logoFilter,"--logo-height":T?T+"px":null,"--logo-width":q?q+"px":null},children:[x&&(null==b?void 0:b.byline)&&(0,a.jsx)(c.Z,{byline:null==b?void 0:b.byline,themeColor:P}),(null==b?void 0:null===(d=b.logo)||void 0===d?void 0:d.image)&&!x&&!S&&(0,a.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:T,src:(0,v.ZP)(null==b?void 0:null===(p=b.logo)||void 0===p?void 0:p.image).url(),width:q,loading:"lazy"}),(null==b?void 0:b.quotation)&&(0,a.jsx)(s,{font:w,quotation:null==b?void 0:b.quotation,transparent:C}),!x&&(null==b?void 0:b.byline)&&(0,a.jsx)(c.Z,{byline:null==b?void 0:b.byline,hideAvatar:M,themeColor:P,transparent:C}),x&&(0,a.jsx)(u.Z,{buttonType:"secondary",color:"primary-light",cta:{link:"/customers/".concat((0,g.Z)(null==b?void 0:null===(y=b.byline)||void 0===y?void 0:y.company)),copy:"View Case Study"},size:"lg",type:"primary"})]})})}f.propTypes={card:i().object.isRequired,caseStudy:i().bool,className:i().string,font:i().string,hideAvatar:i().bool,hideLogos:i().bool,themeColor:i().string,themeColorMode:i().string},f.defaultProps={caseStudy:!1,themeColor:"violet",themeColorMode:"light",font:"xs"}},76466:function(e,t,o){"use strict";o.d(t,{Z:function(){return s}});var a=function(e,t,o){var a,n;switch(!0){case o<1:a=t/o,n=1.5*e;break;case 1===o:a=t,n=t;break;case o>1&&o<2:n=Math.round((a=Math.round(t))*o);break;case o>=2&&o<=5.5:a=Math.round((n=Math.round(1.25*e))/o);break;case o>5.5&&o<=8:a=Math.round((n=Math.round(1.5*e))/o);break;case o>8&&o<=10:a=Math.round(1.8*t),n=Math.round(2*e);break;case o>10:n=Math.round((a=Math.round(.75*t))*o)}return{width:n,height:a}},n=function(e,t,o){var a,n;switch(!0){case o<1:n=Math.round((a=Math.round(1.5*t))*o);break;case 1===o:n=a=1.25*t;break;case o>1&&o<=2.5:n=Math.round((a=Math.round(1.25*t))*o);break;case o>2.5&&o<=3.5:n=Math.round((a=Math.round(1.3*t))*o);break;case o>3.5&&o<=5.5:n=Math.round((a=t)*o);break;case o>5.5&&o<=8:a=Math.round((n=Math.round(1.2*e))/o);break;case o>8&&o<=8.5:case o>8.5:a=Math.round((n=Math.round(1.5*e))/o)}return{width:n,height:a}},l=function(e,t,o){var a,n;switch(!0){case o<1:a=Math.round(t/o),n=Math.round(1.5*e);break;case 1===o:a=t,n=e;break;case o>1&&o<=4:n=Math.round((a=t)*o);break;case o>4&&o<=5.5:n=Math.round((a=Math.round(1.25*t))*o);break;case o>5.5&&o<=8:n=Math.round((a=Math.round(1.5*t))*o);break;case o>8:a=Math.round(1.8*t),n=Math.round(2*e)}return{width:n,height:a}},r=function(e,t,o){var a,n;switch(!0){case o<1:a=t/o,n=1.5*e;break;case 1===o:a=t,n=e;break;case o>1&&o<=6.5:n=Math.round((a=t)*o);break;case o>6.5&&o<=8:n=Math.round((a=Math.round(1.2*t))*o);break;case o>8&&o<=10:a=Math.round(1.8*t),n=Math.round(2*e);break;case o>10:n=Math.round((a=Math.round(1.2*t))*o)}return{width:n,height:a}},i=function(e,t,o){var a,n;switch(!0){case o<1:a=Math.round(t/o),n=Math.round(1.5*e);break;case 1===o:a=t,n=e;break;case o>1&&o<=2.5:n=Math.round((a=t)*o);break;case o>2.5&&o<=5.5:n=Math.round((a=Math.round(1.25*t))*o);break;case o>5.5&&o<=8:a=Math.round(1.5*t),n=Math.round(1.5*e);break;case o>8:a=Math.round(1.8*t),n=Math.round(2*e)}return{width:n,height:a}},d=function(e,t,o){var a,n;switch(!0){case o<1:n=Math.round((a=Math.round(1.5*t))*o);break;case 1===o:n=a=1.25*t;break;case o>1&&o<=2.5:n=Math.round((a=Math.round(1.25*t))*o);break;case o>2.5&&o<=3.5:n=Math.round((a=Math.round(1.3*t))*o);break;case o>3.5&&o<=5.5:n=Math.round((a=t)*o);break;case o>5.5&&o<=8:a=Math.round((n=Math.round(1.2*e))/o);break;case o>8&&o<=8.5:case o>8.5:a=Math.round((n=Math.round(1.5*e))/o)}return{width:n,height:a}};function s(e,t,o){switch(o.type){case"horizontal-optimized":return a(e,t,o.aspectRatio);case"normalized":return l(e,t,null==o?void 0:o.aspectRatio);case"normalized-horizontal":return r(e,t,null==o?void 0:o.aspectRatio);case"homepage-carousel":return n(e,t,null==o?void 0:o.aspectRatio);case"normalized-square":return i(e,t,null==o?void 0:o.aspectRatio);default:return d(e,t,null==o?void 0:o.aspectRatio)}}},81302:function(e,t,o){"use strict";o.r(t),o.d(t,{__N_SSG:function(){return R},default:function(){return Z}});var a=o(24043),n=o(85893),l=o(93967),r=o.n(l),i=o(67294),d=o(11163),s=o(29572),u=o(7979),c=o(18751),m=o(16423),h=o(45697),v=o.n(h),g=o(76466),f=o(53608),p=o(55118);function y(e){var t,o,a,l=e.bgColor,i=e.className,d=e.data,s=e.heading,u=e.iClassName,c=e.maxLogoHeight,m=e.maxLogoWidth,h=e.themeColor,v=e.type;return(0,n.jsxs)("section",{className:r()(i,l),children:[(null==d?void 0:d.heading)&&(0,n.jsx)("h2",{className:"thd-heading-sm thd-max-lg mb-lg",children:null!==(a=d.heading)&&void 0!==a?a:s}),(0,n.jsx)("ul",{className:u,style:{"--filter-color":null===(t=(0,f.b)(h))||void 0===t?void 0:t.logoFilter},children:null==d?void 0:null===(o=d.logos)||void 0===o?void 0:o.map(function(e){var t,o,a,l,r,i=null==e?void 0:null===(l=e.image)||void 0===l?void 0:null===(a=l.asset)||void 0===a?void 0:null===(o=a.metadata)||void 0===o?void 0:null===(t=o.dimensions)||void 0===t?void 0:t.aspectRatio,d=(0,g.Z)(null!=m?m:90,null!=c?c:26,{aspectRatio:i,type:null!=v?v:"normalized"}),s=d.width,u=d.height;return(0,n.jsx)("li",{style:{"--logo-height":u+"px","--logo-width":s+"px"},children:(0,n.jsx)("img",{alt:null==e?void 0:e.name,className:"thd-filter relative thd-logo mx-auto",decoding:"async",height:u,loading:"lazy",src:null===(r=(0,p.ZP)(null==e?void 0:e.image))||void 0===r?void 0:r.url(),width:s})},e._id)})})]})}y.propTypes={bgColor:v().string,className:v().string,data:v().object,heading:v().string,iClassName:v().string,maxLogoHeight:v().oneOfType([v().string,v().number]),maxLogoWidth:v().oneOfType([v().string,v().number]),themeColor:v().string,type:v().string},y.defaultProps={heading:"More than 21 million people across 200,000 companies choose Loom"};var b=o(89615),x=o(84046),k=o(45430),w=o.n(k),M=o(9301),S=o(60150),_="pages.eml.atlassian.com",j=function(e){var t=e.formId,o=(0,a._)((0,i.useState)(!1),2),n=o[0],l=o[1],r=(0,a._)((0,i.useState)(!1),2),d=r[0],s=r[1];(0,i.useEffect)(function(){if(n)d||(window.MktoForms2.loadForm("//".concat(_),M.mX,t,function(e){return function(e){(function(e){e.onValidate(function(){var t=e.getFormElem().find("#Email"),o=t.val(),a=o.toLowerCase().substring(o.indexOf("@")+1),n=a.split(".");0===C.filter(function(e){return -1!==n.indexOf(e)}).length?e.submitable(!0):(e.submitable(!1),e.showErrorMessage("Please enter your business email address. This form does not accept addresses from "+a+".",t))})})(e);for(var t=e.getFormElem()[0],o=t.getElementsByClassName("mktoField"),a=0;a