(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[825],{37404:function(e,o,l){(window.__NEXT_P=window.__NEXT_P||[]).push(["/community/[slug]",function(){return l(29522)}])},1670:function(e,o,l){"use strict";l.d(o,{Z:function(){return MetaHead}});var t=l(85893),n=l(9008),i=l.n(n);function MetaHead(e){var o,l,n,a=e.customTitle,r=e.isCustomRobots,d=e.customDescription,s=e.customOgImage,c=e.data,u=e.url,m=e.children,v=null!=s?s:null==c?void 0:null===(l=c.seoImage)||void 0===l?void 0:null===(o=l.asset)||void 0===o?void 0:o.url,h=r?(null==c?void 0:c.robots)||r:"index, follow, max-image-preview:large",g=null!=a?a:null==c?void 0:c.seoTitle;g+=" | Loom";var x=null!=d?d:null==c?void 0:c.seoDescription;return(0,t.jsxs)(i(),{children:[(0,t.jsx)("title",{children:g}),(0,t.jsx)("meta",{content:g,property:"og:title"}),(0,t.jsx)("meta",{content:g,property:"twitter:title"}),x&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("meta",{content:x,name:"description"}),(0,t.jsx)("meta",{content:x,property:"og:description"}),(0,t.jsx)("meta",{content:x,property:"twitter:description"})]}),v&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("meta",{content:v,property:"og:image"}),(0,t.jsx)("meta",{content:v,name:"twitter:image"}),x&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("meta",{name:"twitter:image:alt",content:x}),(0,t.jsx)("meta",{property:"og:image:alt",content:x})]})]}),(0,t.jsx)("meta",{name:"twitter:site",content:"@loom"}),(0,t.jsx)("meta",{content:"summary_large_image",name:"twitter:card"}),(0,t.jsx)("meta",{content:u,property:"og:url"}),(0,t.jsx)("meta",{content:u,property:"twitter:url"}),(0,t.jsx)("meta",{content:h,name:"robots"}),(0,t.jsx)("link",{href:null!==(n=null==c?void 0:c.canonicalUrl)&&void 0!==n?n:u,rel:"canonical"}),(0,t.jsx)("meta",{property:"twitter:domain",content:"www.loom.com"}),m]})}},56967:function(e,o,l){"use strict";l.d(o,{Z:function(){return ThreadBreadcrumb}});var t=l(85893),n=l(45697),i=l.n(n),a=l(51882),r=l(67329);function ThreadBreadcrumb(e){var o=e.heading;return(0,t.jsx)("div",{className:"w-full",children:(0,t.jsx)(r.Z,{href:"/community",children:(0,t.jsx)(a.Z,{background:!0,className:"mb-fixed-xl",iconBg:"white",iconSize:"sm",item:{heading:o,icon:"arrow-left"},scaleIcons:"inline",themeColor:"grey-20"})})})}ThreadBreadcrumb.defaultProps={heading:"Learn to Loom"},ThreadBreadcrumb.propTypes={heading:i().string}},30867:function(e,o,l){"use strict";l.d(o,{Z:function(){return ThreadByline}});var t=l(85893),n=l(93967),i=l.n(n),a=l(45697),r=l.n(a),d=l(96184),s=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 o,l,n,a,r,u,m,v,h=e.bColor,g=e.byline,x=e.hideAvatar,f=e.hideTitle,p=e.transparent,b=e.themeColor,j=e.layout,y=c[j],T=!p&&(!(null==g?void 0:null===(l=g.avatar)||void 0===l?void 0:null===(o=l.asset)||void 0===o?void 0:o.url)||x);return(0,t.jsxs)("figcaption",{className:i()(null!=h?h:null===(n=(0,s.b)(b))||void 0===n?void 0:n.bodyText,y,p?"text-center justify-center":void 0,T?"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)&&!x&&(0,t.jsx)(d.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===(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,t.jsxs)("p",{className:"tweets"===j?"text-left":"",children:[(null==g?void 0:g.name)&&"Anon"!==g.name&&(0,t.jsx)("span",{className:i()(null!=h?h:(0,s.b)(b).bodyText,"thd-body-sm thd-bold"),children:null==g?void 0:g.name}),!f&&(null==g?void 0:g.jobTitle)&&(0,t.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}},12387:function(e,o,l){"use strict";l.d(o,{Z:function(){return ThreadTestimonialCard}});var t=l(85893),n=l(93967),i=l.n(n),a=l(45697),r=l.n(a),d=l(55395);function TestimonialQuotation(e){var o=e.font,l=e.quotation,n=e.lineLength,a=e.transparent;return(0,t.jsx)("blockquote",{className:i()((0,d.h)(o).heading,a?"text-center":"md:text-center","thd-quote py-lg",n?"thd-max-".concat(n):"thd-max-2xl"),children:l})}var s=l(99577),c=l(30867),u=l(72917),m=l(33322),v=l(13608),h=l(84834);function ThreadTestimonialCard(e){var o,l,n,a,r,d,g,x,f,p=e.card,b=e.caseStudy,j=e.className,y=e.font,T=e.hideAvatar,w=e.hideLogos,N=e.themeColor,C=e.themeColorMode,Z="white"===N,_=null==p?void 0:null===(a=p.logo)||void 0===a?void 0:null===(n=a.image)||void 0===n?void 0:null===(l=n.asset)||void 0===l?void 0:null===(o=l.metadata)||void 0===o?void 0:o.dimensions,k=null==_?void 0:_.aspectRatio,L=(0,u.Z)(90,30,{aspectRatio:k,type:"horizontal-optimized"}),S=L.width,z=L.height,A="".concat(N,"-").concat({dark:"90",light:"10"}[C]),D="".concat(N,"-").concat({dark:"10",light:"90"}[C]);return(0,t.jsx)("figure",{className:i()(j,(0,m.b)(A).headerText,(0,m.b)(A).bg,"mx-auto thd-rounded-static",!Z&&"p-fluid-sm lg:p-fluid-lg"),children:(0,t.jsxs)("div",{className:i()(Z?"items-center":"md:items-center","flex flex-col justify-center md:h-full md:px-0"),style:{"--filter-color":null===(r=(0,m.b)(A))||void 0===r?void 0:r.logoFilter,"--logo-height":z?z+"px":null,"--logo-width":S?S+"px":null},children:[b&&(null==p?void 0:p.byline)&&(0,t.jsx)(c.Z,{byline:null==p?void 0:p.byline,themeColor:A}),(null==p?void 0:null===(d=p.logo)||void 0===d?void 0:d.image)&&!b&&!w&&(0,t.jsx)("img",{alt:null==p?void 0:null===(g=p.byline)||void 0===g?void 0:g.company,className:"thd-filter thd-logo w-full h-full",height:z,src:(0,v.ZP)(null==p?void 0:null===(x=p.logo)||void 0===x?void 0:x.image).url(),width:S,loading:"lazy"}),(null==p?void 0:p.quotation)&&(0,t.jsx)(TestimonialQuotation,{font:y,quotation:null==p?void 0:p.quotation,transparent:Z}),!b&&(null==p?void 0:p.byline)&&(0,t.jsx)(c.Z,{byline:null==p?void 0:p.byline,hideAvatar:T,themeColor:A,transparent:Z}),b&&(0,t.jsx)(s.Z,{buttonType:"secondary",color:D,cta:{link:"/customers/".concat((0,h.Z)(null==p?void 0:null===(f=p.byline)||void 0===f?void 0:f.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,o,l){"use strict";l.d(o,{Z:function(){return ThreadTestimonialCarousel}});var t=l(24043),n=l(85893),i=l(80868),a=l(45697),r=l.n(a),d=l(34297),s=l(93967),c=l.n(s),u=l(67294),m=l(12387),v=l(33322),h=l(22828),g=l.n(h);function ThreadTestimonialCarousel(e){var o,l=e.bgVar,a=e.cards,r=e.className,s=e.font,h=e.lineLength,x=e.themeColorMode,f=e.hideLogos,p=(0,t._)((0,u.useState)(1),2),b=p[0],j=p[1],y=(0,t._)((0,u.useState)(!0),2),T=y[0],w=y[1];(0,u.useEffect)(function(){(1===b||b===a.length)&&w(!0)},[b,1,a.length]);var prev=function(){b>0&&j(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"},C=u.cloneElement((0,n.jsx)(m.Z,{card:a[0],font:s,index:-1===b,themeColor:N[0],themeColorMode:x},"cloneFirst")),Z=u.cloneElement((0,n.jsx)(m.Z,{card:a[a.length-1],font:s,index:b===a.length,prev:prev,style:{transform:"translate3d(-100%, 0, 0)"},themeColor:N[(null==a?void 0:a.length)-1],themeColorMode:x},"cloneLast")),handleTransitionEnd=function(){0===b?(w(!1),j(a.length)):b===a.length+1&&(w(!1),j(1))};return(0,n.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":l},children:(0,n.jsxs)("div",{className:"flex relative h-full w-full",children:[(0,n.jsx)("button",{"aria-label":"Previous testimonial",className:g().left,onClick:prev,type:"button",children:(0,n.jsx)(d.Z,{icon:(0,n.jsx)(i.Z,{}),size:"1.5em"})}),(0,n.jsx)("div",{className:"flex h-full w-full overflow-hidden",children:(0,n.jsxs)("div",{className:c()(g().content),onTransitionEnd:function(){return handleTransitionEnd()},style:{"--cardCount":a.length+2,"--transformValue":b,transition:T?void 0:"none","--curtainGradient":null===(o=(0,v.b)(null!=l?l:"white"))||void 0===o?void 0:o.bgVar},children:[Z,null==a?void 0:a.map(function(e,o){return(0,n.jsx)(m.Z,{hideLogos:f,card:e,font:s,index:b===o+1,lineLength:h,themeColor:N[o],themeColorMode:x},o)}),C]})}),(0,n.jsx)("button",{"aria-label":"Next testimonial",className:g().right,onClick:function(){b0&&(0,t.jsx)("div",{className:"flex flex-wrap gap-fixed-md mb-fixed-xl",children:null==eh?void 0:null===(X=eh.loom)||void 0===X?void 0:null===(Q=X.categories)||void 0===Q?void 0:Q.map(function(e){var o;return(0,t.jsx)(b.Z,{href:"/community/collections/".concat(null==e?void 0:null===(o=e.slug)||void 0===o?void 0:o.current),children:(0,t.jsx)(f.Z,{cStyle:"categories",tag:null==e?void 0:e.title,themeColor:"violet-10"})},null==e?void 0:e._id)})})]}),(null==eh?void 0:null===(K=eh.loom)||void 0===K?void 0:null===(J=K.loom)||void 0===J?void 0:J.caption)&&(0,t.jsx)("p",{children:null==eh?void 0:null===(Y=eh.loom)||void 0===Y?void 0:null===(W=Y.loom)||void 0===W?void 0:W.caption}),(null==eh?void 0:null===($=eh.loom)||void 0===$?void 0:$.description)&&(0,t.jsx)("p",{className:"thd-body-lg whitespace-pre-wrap break-words",children:ey}),eb&&(null==eh?void 0:null===(eo=eh.loom)||void 0===eo?void 0:null===(ee=eo.loom)||void 0===ee?void 0:ee.url)&&(0,t.jsx)(x.Z,{align:"stretch",buttonType:"primary",className:"mt-fixed-xl lg:hidden text-center",color:"violet-dark",cta:{link:"".concat(eh.loom.loom.url,"#comments"),copy:"View Comments and Reply"},size:"lg"}),(null==eh?void 0:null===(el=eh.loom)||void 0===el?void 0:el.transcript)&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("h2",{className:"sr-only thd-bold mb-fixed-sm",children:"Transcript"}),(0,t.jsx)(ThreadTranscriptToggle,{className:"mt-fixed-xl lg:hidden",item:null==eh?void 0:null===(et=eh.loom)||void 0===et?void 0:et.transcript,themeColor:"violet-10"})]})]}),(0,t.jsxs)("div",{className:i()(ej?"lg:order-none":"xl:order-none","w-full xl:col-span-2 order-first"),children:[(0,t.jsx)("div",{className:"relative thd-aspect-widescreen-outer mb-fixed-3xl",children:(0,t.jsx)(m.Z,{className:"thd-aspect-inner",loom:null==eh?void 0:null===(en=eh.loom)||void 0===en?void 0:en.loom})}),eb&&(null==eh?void 0:null===(ea=eh.loom)||void 0===ea?void 0:null===(ei=ea.loom)||void 0===ei?void 0:ei.url)&&(0,t.jsx)(x.Z,{align:"stretch",buttonType:"primary",className:"hidden lg:block mb-fixed-3xl text-center",color:"violet-dark",cta:{link:"".concat(eh.loom.loom.url,"#comments"),copy:"View Comments and Reply"},size:"lg"}),(null==eh?void 0:null===(er=eh.loom)||void 0===er?void 0:er.transcript)&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("h2",{className:"sr-only thd-bold mb-fixed-sm",children:"Transcript"}),(0,t.jsx)(ThreadTranscriptToggle,{className:"hidden lg:block",item:null==eh?void 0:null===(ed=eh.loom)||void 0===ed?void 0:ed.transcript,themeColor:"violet-10"})]})]})]})]}),eg&&(0,t.jsx)(h.Z,{data:eg,gradient:!0,lineLength:"xl",themeColor:"grey-10"}),ef&&(0,t.jsx)(j.Z,{cards:null==ef?void 0:ef.list,className:"mb-fluid-lg",themeColorMode:"light"}),(null==em?void 0:em.cta)?(0,t.jsx)(p.Z,{cta:null==em?void 0:em.cta,heading:null==em?void 0:em.heading}):(0,t.jsx)("div",{className:"h-fluid-lg thd-prefooter",style:{"--footer-bg":"var(--thd-color-violet-10)"}})]})}},22828:function(e){e.exports={container:"ThreadTestimonialCarousel_container__3hu57",left:"ThreadTestimonialCarousel_left__ioRt3",right:"ThreadTestimonialCarousel_right__9bhB0",content:"ThreadTestimonialCarousel_content__ODboU",avatar:"ThreadTestimonialCarousel_avatar__3d3SV"}}},function(e){e.O(0,[3662,4526,2842,476,4762,3003,1866,174,7837,6671,2361,327,9774,2888,179],function(){return e(e.s=37404)}),_N_E=e.O()}]);