(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1154],{48249:function(e,o,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/connect/[slug]",function(){return t(21110)}])},64173:function(e,o,t){"use strict";var a=t(85893),n=t(93967),r=t.n(n),l=t(67967),i=t.n(l),d=t(71691),s=t.n(d);o.Z=function(e){var o,t,n,l=e.data,d=e.onFormSubmitted,u=e.className;return(0,a.jsx)("div",{className:r()(s().hubspotForm,u,"min-h-[800px]"),children:(0,a.jsx)(i(),{formId:null==l?void 0:l.formId,id:"hubspot-form",locale:null!==(o=null==l?void 0:l.locale)&&void 0!==o?o:"en",onFormSubmitted:d,portalId:null!==(t=null==l?void 0:l.portalId)&&void 0!==t?t:"6555299",region:null!==(n=null==l?void 0:l.region)&&void 0!==n?n:"na1",sfdcCampaignId:null==l?void 0:l.sfdcCampaignId})})}},74558:function(e,o,t){"use strict";t.d(o,{Z:function(){return StaticSocialProof}});var a=t(85893),n=t(93967),r=t.n(n),l=t(45697),i=t.n(l),d=t(72917),s=t(33322),u=t(13608);function StaticSocialProof(e){var o,t,n,l=e.bgColor,i=e.className,c=e.data,m=e.heading,h=e.iClassName,v=e.maxLogoHeight,p=e.maxLogoWidth,f=e.themeColor,g=e.type;return(0,a.jsxs)("section",{className:r()(i,l),children:[(null==c?void 0:c.heading)&&(0,a.jsx)("h2",{className:"thd-heading-sm thd-max-lg mb-lg",children:null!==(n=c.heading)&&void 0!==n?n:m}),(0,a.jsx)("ul",{className:h,style:{"--filter-color":null===(o=(0,s.b)(f))||void 0===o?void 0:o.logoFilter},children:null==c?void 0:null===(t=c.logos)||void 0===t?void 0:t.map(function(e){var o,t,n,r,l,i=null==e?void 0:null===(r=e.image)||void 0===r?void 0:null===(n=r.asset)||void 0===n?void 0:null===(t=n.metadata)||void 0===t?void 0:null===(o=t.dimensions)||void 0===o?void 0:o.aspectRatio,s=(0,d.Z)(null!=p?p:90,null!=v?v:26,{aspectRatio:i,type:null!=g?g:"normalized"}),c=s.width,m=s.height;return(0,a.jsx)("li",{style:{"--logo-height":m+"px","--logo-width":c+"px"},children:(0,a.jsx)("img",{alt:null==e?void 0:e.name,className:"thd-filter relative thd-logo mx-auto",decoding:"async",height:m,loading:"lazy",src:null===(l=(0,u.ZP)(null==e?void 0:e.image))||void 0===l?void 0:l.url(),width:c})},e._id)})})]})}StaticSocialProof.propTypes={bgColor:i().string,className:i().string,data:i().object,heading:i().string,iClassName:i().string,maxLogoHeight:i().oneOfType([i().string,i().number]),maxLogoWidth:i().oneOfType([i().string,i().number]),themeColor:i().string,type:i().string},StaticSocialProof.defaultProps={heading:"More than 21 million people across 200,000 companies choose Loom"}},30867:function(e,o,t){"use strict";t.d(o,{Z:function(){return ThreadByline}});var a=t(85893),n=t(93967),r=t.n(n),l=t(45697),i=t.n(l),d=t(96184),s=t(33322),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 o,t,n,l,i,c,m,h,v=e.bColor,p=e.byline,f=e.hideAvatar,g=e.hideTitle,b=e.transparent,y=e.themeColor,x=e.layout,w=u[x],k=!b&&(!(null==p?void 0:null===(t=p.avatar)||void 0===t?void 0:null===(o=t.asset)||void 0===o?void 0:o.url)||f);return(0,a.jsxs)("figcaption",{className:r()(null!=v?v:null===(n=(0,s.b)(y))||void 0===n?void 0:n.bodyText,w,b?"text-center justify-center":void 0,k?"md:text-center":void 0,"flex w-full items-center gap-md"),children:[(null==p?void 0:null===(i=p.avatar)||void 0===i?void 0:null===(l=i.asset)||void 0===l?void 0:l.url)&&!f&&(0,a.jsx)(d.Z,{altText:null!==(h=null==p?void 0:null===(c=p.avatar)||void 0===c?void 0:c.altText)&&void 0!==h?h:null==p?void 0:null===(m=p.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==p?void 0:p.avatar,layout:"fixed-width",width:"64"}),(0,a.jsxs)("p",{className:"tweets"===x?"text-left":"",children:[(null==p?void 0:p.name)&&"Anon"!==p.name&&(0,a.jsx)("span",{className:r()(null!=v?v:(0,s.b)(y).bodyText,"thd-body-sm thd-bold"),children:null==p?void 0:p.name}),!g&&(null==p?void 0:p.jobTitle)&&(0,a.jsxs)("span",{className:"thd-caption block",children:[null==p?void 0:p.jobTitle,(null==p?void 0:p.company)?", ".concat(null==p?void 0:p.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}},12387:function(e,o,t){"use strict";t.d(o,{Z:function(){return ThreadTestimonialCard}});var a=t(85893),n=t(93967),r=t.n(n),l=t(45697),i=t.n(l),d=t(55395);function TestimonialQuotation(e){var o=e.font,t=e.quotation,n=e.lineLength,l=e.transparent;return(0,a.jsx)("blockquote",{className:r()((0,d.h)(o).heading,l?"text-center":"md:text-center","thd-quote py-lg",n?"thd-max-".concat(n):"thd-max-2xl"),children:t})}var s=t(99577),u=t(30867),c=t(72917),m=t(33322),h=t(13608),v=t(84834);function ThreadTestimonialCard(e){var o,t,n,l,i,d,p,f,g,b=e.card,y=e.caseStudy,x=e.className,w=e.font,k=e.hideAvatar,_=e.hideLogos,F=e.themeColor,S=e.themeColorMode,M="white"===F,j=null==b?void 0:null===(l=b.logo)||void 0===l?void 0:null===(n=l.image)||void 0===n?void 0:null===(t=n.asset)||void 0===t?void 0:null===(o=t.metadata)||void 0===o?void 0:o.dimensions,N=null==j?void 0:j.aspectRatio,C=(0,c.Z)(90,30,{aspectRatio:N,type:"horizontal-optimized"}),T=C.width,z=C.height,I="".concat(F,"-").concat({dark:"90",light:"10"}[S]),P="".concat(F,"-").concat({dark:"10",light:"90"}[S]);return(0,a.jsx)("figure",{className:r()(x,(0,m.b)(I).headerText,(0,m.b)(I).bg,"mx-auto thd-rounded-static",!M&&"p-fluid-sm lg:p-fluid-lg"),children:(0,a.jsxs)("div",{className:r()(M?"items-center":"md:items-center","flex flex-col justify-center md:h-full md:px-0"),style:{"--filter-color":null===(i=(0,m.b)(I))||void 0===i?void 0:i.logoFilter,"--logo-height":z?z+"px":null,"--logo-width":T?T+"px":null},children:[y&&(null==b?void 0:b.byline)&&(0,a.jsx)(u.Z,{byline:null==b?void 0:b.byline,themeColor:I}),(null==b?void 0:null===(d=b.logo)||void 0===d?void 0:d.image)&&!y&&!_&&(0,a.jsx)("img",{alt:null==b?void 0:null===(p=b.byline)||void 0===p?void 0:p.company,className:"thd-filter thd-logo w-full h-full",height:z,src:(0,h.ZP)(null==b?void 0:null===(f=b.logo)||void 0===f?void 0:f.image).url(),width:T,loading:"lazy"}),(null==b?void 0:b.quotation)&&(0,a.jsx)(TestimonialQuotation,{font:w,quotation:null==b?void 0:b.quotation,transparent:M}),!y&&(null==b?void 0:b.byline)&&(0,a.jsx)(u.Z,{byline:null==b?void 0:b.byline,hideAvatar:k,themeColor:I,transparent:M}),y&&(0,a.jsx)(s.Z,{buttonType:"secondary",color:P,cta:{link:"/customers/".concat((0,v.Z)(null==b?void 0:null===(g=b.byline)||void 0===g?void 0:g.company)),copy:"View Case Study"},size:"lg",type:"primary"})]})})}ThreadTestimonialCard.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},ThreadTestimonialCard.defaultProps={caseStudy:!1,themeColor:"violet",themeColorMode:"light",font:"xs"}},72917:function(e,o,t){"use strict";t.d(o,{Z:function(){return getComputedImageSize}});var getHorizontalNormalizedImageSize=function(e,o,t){var a,n;switch(!0){case t<1:a=o/t,n=1.5*e;break;case 1===t:a=o,n=o;break;case t>1&&t<2:n=Math.round((a=Math.round(o))*t);break;case t>=2&&t<=5.5:a=Math.round((n=Math.round(1.25*e))/t);break;case t>5.5&&t<=8:a=Math.round((n=Math.round(1.5*e))/t);break;case t>8&&t<=10:a=Math.round(1.8*o),n=Math.round(2*e);break;case t>10:n=Math.round((a=Math.round(.75*o))*t)}return{width:n,height:a}},getHomepageCarouselImageSize=function(e,o,t){var a,n;switch(!0){case t<1:n=Math.round((a=Math.round(1.5*o))*t);break;case 1===t:n=a=1.25*o;break;case t>1&&t<=2.5:n=Math.round((a=Math.round(1.25*o))*t);break;case t>2.5&&t<=3.5:n=Math.round((a=Math.round(1.3*o))*t);break;case t>3.5&&t<=5.5:n=Math.round((a=o)*t);break;case t>5.5&&t<=8:a=Math.round((n=Math.round(1.2*e))/t);break;case t>8&&t<=8.5:case t>8.5:a=Math.round((n=Math.round(1.5*e))/t)}return{width:n,height:a}},getNormalizedImageSize=function(e,o,t){var a,n;switch(!0){case t<1:a=Math.round(o/t),n=Math.round(1.5*e);break;case 1===t:a=o,n=e;break;case t>1&&t<=4:n=Math.round((a=o)*t);break;case t>4&&t<=5.5:n=Math.round((a=Math.round(1.25*o))*t);break;case t>5.5&&t<=8:n=Math.round((a=Math.round(1.5*o))*t);break;case t>8:a=Math.round(1.8*o),n=Math.round(2*e)}return{width:n,height:a}},getNormalizedHorizImageSize=function(e,o,t){var a,n;switch(!0){case t<1:a=o/t,n=1.5*e;break;case 1===t:a=o,n=e;break;case t>1&&t<=6.5:n=Math.round((a=o)*t);break;case t>6.5&&t<=8:n=Math.round((a=Math.round(1.2*o))*t);break;case t>8&&t<=10:a=Math.round(1.8*o),n=Math.round(2*e);break;case t>10:n=Math.round((a=Math.round(1.2*o))*t)}return{width:n,height:a}},getNormalizedSquareImageSize=function(e,o,t){var a,n;switch(!0){case t<1:a=Math.round(o/t),n=Math.round(1.5*e);break;case 1===t:a=o,n=e;break;case t>1&&t<=2.5:n=Math.round((a=o)*t);break;case t>2.5&&t<=5.5:n=Math.round((a=Math.round(1.25*o))*t);break;case t>5.5&&t<=8:a=Math.round(1.5*o),n=Math.round(1.5*e);break;case t>8:a=Math.round(1.8*o),n=Math.round(2*e)}return{width:n,height:a}},getOptimizedImageSize=function(e,o,t){var a,n;switch(!0){case t<1:n=Math.round((a=Math.round(1.5*o))*t);break;case 1===t:n=a=1.25*o;break;case t>1&&t<=2.5:n=Math.round((a=Math.round(1.25*o))*t);break;case t>2.5&&t<=3.5:n=Math.round((a=Math.round(1.3*o))*t);break;case t>3.5&&t<=5.5:n=Math.round((a=o)*t);break;case t>5.5&&t<=8:a=Math.round((n=Math.round(1.2*e))/t);break;case t>8&&t<=8.5:case t>8.5:a=Math.round((n=Math.round(1.5*e))/t)}return{width:n,height:a}};function getComputedImageSize(e,o,t){switch(t.type){case"horizontal-optimized":return getHorizontalNormalizedImageSize(e,o,t.aspectRatio);case"normalized":return getNormalizedImageSize(e,o,null==t?void 0:t.aspectRatio);case"normalized-horizontal":return getNormalizedHorizImageSize(e,o,null==t?void 0:t.aspectRatio);case"homepage-carousel":return getHomepageCarouselImageSize(e,o,null==t?void 0:t.aspectRatio);case"normalized-square":return getNormalizedSquareImageSize(e,o,null==t?void 0:t.aspectRatio);default:return getOptimizedImageSize(e,o,null==t?void 0:t.aspectRatio)}}},21110:function(e,o,t){"use strict";t.r(o),t.d(o,{__N_SSG:function(){return N},default:function(){return GenericFormTemplate}});var a=t(24043),n=t(85893),r=t(93967),l=t.n(r),i=t(67294),d=t(11163),s=t(30627),u=t(27837),c=t(1670),m=t(64173),h=t(80189),v=t(74558),p=t(2291),f=t(12387),g=t(23561),b=t.n(g),y=t(63554),x=t(86274),w="pages.eml.atlassian.com",use_marketo=function(e){var o=e.formId,t=(0,a._)((0,i.useState)(!1),2),n=t[0],r=t[1],l=(0,a._)((0,i.useState)(!1),2),d=l[0],s=l[1];(0,i.useEffect)(function(){if(n)d||(window.MktoForms2.loadForm("//".concat(w),y.mX,o,function(e){return function(e){(function(e){e.onValidate(function(){var o=e.getFormElem().find("#Email"),t=o.val(),a=t.toLowerCase().substring(t.indexOf("@")+1),n=a.split(".");0===k.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+".",o))})})(e);for(var o=e.getFormElem()[0],t=o.getElementsByClassName("mktoField"),a=0;a